@ckeditor/ckeditor5-operations-compressor 47.4.0-alpha.0 → 47.4.0-alpha.2

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
- function _0x4ddc(){const _0x5180ad=['sourcePosition','buffers','24vTROVi','howMany','_decompressSingleOperation','_context','decompress','root','_combineNext','1cakxhK','wasUndone','3924152rFwPZw','5543468iJABvX','370KJkvji','1521WQFnGV','2782209SjGEue','44300kIkcsX','compress','_getCompressorByName','MoveOperation','_compressSingleOperation','45906YAZqCE','$graveyard','__className','4nkyNXW','targetPosition','13767853rVzvkE','_checkOperation','10274giTTQn','_splitCurrent','_compareOperations'];_0x4ddc=function(){return _0x5180ad;};return _0x4ddc();}const _0x557f82=_0x1c47;(function(_0x7f8b6b,_0x5f7c17){const _0x585164=_0x1c47,_0x4c743c=_0x7f8b6b();while(!![]){try{const _0x4f4a6f=-parseInt(_0x585164(0xbd))/0x1*(parseInt(_0x585164(0xb1))/0x2)+parseInt(_0x585164(0xc3))/0x3*(-parseInt(_0x585164(0xcc))/0x4)+parseInt(_0x585164(0xc1))/0x5*(-parseInt(_0x585164(0xc9))/0x6)+-parseInt(_0x585164(0xc0))/0x7+-parseInt(_0x585164(0xbf))/0x8+-parseInt(_0x585164(0xc2))/0x9*(-parseInt(_0x585164(0xc4))/0xa)+parseInt(_0x585164(0xce))/0xb*(parseInt(_0x585164(0xb6))/0xc);if(_0x4f4a6f===_0x5f7c17)break;else _0x4c743c['push'](_0x4c743c['shift']());}catch(_0xf8a4a6){_0x4c743c['push'](_0x4c743c['shift']());}}}(_0x4ddc,0x72ee7));import{ActionCompressor as _0x2d1971}from'./actioncompressor.js';import{arePositionsEqual as _0x42de9e,getPositionShiftedBy as _0x201bcc}from'../utils.js';function _0x1c47(_0x2bae41,_0x62b2dc){const _0x4ddc4b=_0x4ddc();return _0x1c47=function(_0x1c4738,_0x4d151a){_0x1c4738=_0x1c4738-0xb1;let _0x2a343b=_0x4ddc4b[_0x1c4738];return _0x2a343b;},_0x1c47(_0x2bae41,_0x62b2dc);}import{cloneDeep as _0x553b11}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2d1971{[_0x557f82(0xbc)](_0x288121,_0x8929b0){const _0x44f67f=_0x557f82;return _0x8929b0[_0x44f67f(0xb7)]++,_0x8929b0[_0x44f67f(0xb4)]=_0x553b11(_0x288121[_0x44f67f(0xb4)]),_0x8929b0;}[_0x557f82(0xb2)](_0xd06fb8){const _0x538491=_0x557f82,_0x39adce=_0x553b11(_0xd06fb8);return _0xd06fb8[_0x538491(0xb7)]--,_0x39adce[_0x538491(0xb7)]=0x1,_0x39adce[_0x538491(0xb4)]=_0x201bcc(_0x39adce[_0x538491(0xb4)],_0xd06fb8[_0x538491(0xb7)]),_0x39adce;}[_0x557f82(0xb3)](_0x31bca7,_0x14c9e8){const _0x5a5229=_0x557f82;return!(!this[_0x5a5229(0xcf)](_0x31bca7)||!this[_0x5a5229(0xcf)](_0x14c9e8))&&(_0x42de9e(_0x201bcc(_0x31bca7[_0x5a5229(0xb4)],-0x1),_0x14c9e8[_0x5a5229(0xb4)])&&_0x42de9e(_0x31bca7[_0x5a5229(0xcd)],_0x14c9e8[_0x5a5229(0xcd)]));}[_0x557f82(0xc8)](_0x227cfb){const _0x2966c3=_0x557f82,_0x2213d0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2966c3(0xb9)][_0x2966c3(0xc6)](_0x2966c3(0xc7))[_0x2966c3(0xc5)](_0x2213d0,[_0x227cfb]),_0x2213d0[_0x2966c3(0xb5)][0x0];}[_0x557f82(0xb8)](_0x2ed976){const _0x4e977a=_0x557f82,_0x27ff52=[];return this[_0x4e977a(0xb9)][_0x4e977a(0xc6)](_0x4e977a(0xc7))[_0x4e977a(0xba)](_0x27ff52,_0x2ed976),_0x27ff52[0x0];}[_0x557f82(0xcf)](_0x1932e6){const _0x340559=_0x557f82;return _0x340559(0xc7)==_0x1932e6[_0x340559(0xcb)]&&_0x340559(0xca)==_0x1932e6[_0x340559(0xcd)][_0x340559(0xbb)]&&0x1==_0x1932e6[_0x340559(0xb7)]&&!_0x1932e6[_0x340559(0xbe)];}}
23
+ function _0xe6bd(){const _0x2ac000=['_getCompressorByName','$graveyard','506569hhDOoq','_context','1650264reLgmz','MoveOperation','root','27356sIDDxc','howMany','1960510SUVswy','_compressSingleOperation','929766ycNcMZ','_checkOperation','_splitCurrent','70VLMnVI','9KRLlqG','__className','9756bsBXoM','65UbBhtG','sourcePosition','decompress','_compareOperations','targetPosition','compress','10757428lqLqsQ','buffers','_combineNext','_decompressSingleOperation','wasUndone','8UJFNlE'];_0xe6bd=function(){return _0x2ac000;};return _0xe6bd();}const _0x37d036=_0x2e0e;(function(_0x48938f,_0x20f25c){const _0x2576bb=_0x2e0e,_0x467e75=_0x48938f();while(!![]){try{const _0x11a785=parseInt(_0x2576bb(0xca))/0x1*(-parseInt(_0x2576bb(0xcd))/0x2)+-parseInt(_0x2576bb(0xc7))/0x3+parseInt(_0x2576bb(0xc3))/0x4*(-parseInt(_0x2576bb(0xce))/0x5)+-parseInt(_0x2576bb(0xde))/0x6+-parseInt(_0x2576bb(0xdc))/0x7*(-parseInt(_0x2576bb(0xd9))/0x8)+-parseInt(_0x2576bb(0xcb))/0x9*(-parseInt(_0x2576bb(0xc5))/0xa)+parseInt(_0x2576bb(0xd4))/0xb;if(_0x11a785===_0x20f25c)break;else _0x467e75['push'](_0x467e75['shift']());}catch(_0x45df14){_0x467e75['push'](_0x467e75['shift']());}}}(_0xe6bd,0x38679));import{ActionCompressor as _0x334499}from'./actioncompressor.js';import{arePositionsEqual as _0xb12a03,getPositionShiftedBy as _0x52287e}from'../utils.js';import{cloneDeep as _0x3ef7cc}from'es-toolkit/compat';function _0x2e0e(_0x362cc7,_0x3f96df){const _0xe6bd3d=_0xe6bd();return _0x2e0e=function(_0x2e0e8a,_0x37e92b){_0x2e0e8a=_0x2e0e8a-0xc2;let _0x5481d9=_0xe6bd3d[_0x2e0e8a];return _0x5481d9;},_0x2e0e(_0x362cc7,_0x3f96df);}export class DeletingActionCompressor extends _0x334499{[_0x37d036(0xd6)](_0x51ad72,_0x263ad3){const _0x3bb337=_0x37d036;return _0x263ad3[_0x3bb337(0xc4)]++,_0x263ad3[_0x3bb337(0xcf)]=_0x3ef7cc(_0x51ad72[_0x3bb337(0xcf)]),_0x263ad3;}[_0x37d036(0xc9)](_0x1b4462){const _0x3c2c39=_0x37d036,_0x40872f=_0x3ef7cc(_0x1b4462);return _0x1b4462[_0x3c2c39(0xc4)]--,_0x40872f[_0x3c2c39(0xc4)]=0x1,_0x40872f[_0x3c2c39(0xcf)]=_0x52287e(_0x40872f[_0x3c2c39(0xcf)],_0x1b4462[_0x3c2c39(0xc4)]),_0x40872f;}[_0x37d036(0xd1)](_0x206b77,_0x431161){const _0x58bb6f=_0x37d036;return!(!this[_0x58bb6f(0xc8)](_0x206b77)||!this[_0x58bb6f(0xc8)](_0x431161))&&(_0xb12a03(_0x52287e(_0x206b77[_0x58bb6f(0xcf)],-0x1),_0x431161[_0x58bb6f(0xcf)])&&_0xb12a03(_0x206b77[_0x58bb6f(0xd2)],_0x431161[_0x58bb6f(0xd2)]));}[_0x37d036(0xc6)](_0x34e9d0){const _0x200c49=_0x37d036,_0x3f1646={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x200c49(0xdd)][_0x200c49(0xda)](_0x200c49(0xdf))[_0x200c49(0xd3)](_0x3f1646,[_0x34e9d0]),_0x3f1646[_0x200c49(0xd5)][0x0];}[_0x37d036(0xd7)](_0x408cf1){const _0x55dc34=_0x37d036,_0xec99ee=[];return this[_0x55dc34(0xdd)][_0x55dc34(0xda)](_0x55dc34(0xdf))[_0x55dc34(0xd0)](_0xec99ee,_0x408cf1),_0xec99ee[0x0];}[_0x37d036(0xc8)](_0xfd5380){const _0x216078=_0x37d036;return _0x216078(0xdf)==_0xfd5380[_0x216078(0xcc)]&&_0x216078(0xdb)==_0xfd5380[_0x216078(0xd2)][_0x216078(0xc2)]&&0x1==_0xfd5380[_0x216078(0xc4)]&&!_0xfd5380[_0x216078(0xd8)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe71bd=_0x2194;(function(_0x5288e1,_0x50f3cc){const _0x5c0d42=_0x2194,_0x51da0d=_0x5288e1();while(!![]){try{const _0x4013ca=-parseInt(_0x5c0d42(0x151))/0x1*(-parseInt(_0x5c0d42(0x140))/0x2)+parseInt(_0x5c0d42(0x152))/0x3+-parseInt(_0x5c0d42(0x154))/0x4*(-parseInt(_0x5c0d42(0x148))/0x5)+parseInt(_0x5c0d42(0x13f))/0x6*(parseInt(_0x5c0d42(0x14f))/0x7)+-parseInt(_0x5c0d42(0x14e))/0x8*(parseInt(_0x5c0d42(0x158))/0x9)+-parseInt(_0x5c0d42(0x143))/0xa+-parseInt(_0x5c0d42(0x14c))/0xb;if(_0x4013ca===_0x50f3cc)break;else _0x51da0d['push'](_0x51da0d['shift']());}catch(_0x3e99f4){_0x51da0d['push'](_0x51da0d['shift']());}}}(_0x72f8,0x55a26));import{ActionCompressor as _0x705076}from'./actioncompressor.js';import{arePositionsEqual as _0x33a4d2}from'../utils.js';function _0x72f8(){const _0x3753a3=['_combineNext','compress','3437990FdOfZf','$graveyard','howMany','root','_getCompressorByName','30QLVdBT','__className','decompress','_compressSingleOperation','2032657fhbWsW','_splitCurrent','96FRmixs','14EqzECp','_compareOperations','2302AcvgQB','1367808eBKRUQ','wasUndone','432464LnsPXo','_context','MoveOperation','targetPosition','416322Unznyb','_decompressSingleOperation','sourcePosition','buffers','_checkOperation','982518IJctPz','2VNENug'];_0x72f8=function(){return _0x3753a3;};return _0x72f8();}function _0x2194(_0x3aa96c,_0x139cd4){const _0x72f80e=_0x72f8();return _0x2194=function(_0x219466,_0x232c6a){_0x219466=_0x219466-0x13c;let _0x80dd9a=_0x72f80e[_0x219466];return _0x80dd9a;},_0x2194(_0x3aa96c,_0x139cd4);}import{cloneDeep as _0x29a7f1}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x705076{[_0xe71bd(0x141)](_0x5366de,_0x52e869){const _0x3a256c=_0xe71bd;return _0x52e869[_0x3a256c(0x145)]++,_0x52e869;}[_0xe71bd(0x14d)](_0x47d891){const _0x257fd7=_0xe71bd,_0x48a6a8=_0x29a7f1(_0x47d891);return _0x48a6a8[_0x257fd7(0x145)]=0x1,_0x47d891[_0x257fd7(0x145)]--,_0x48a6a8;}[_0xe71bd(0x150)](_0x170341,_0x2fb35c){const _0x34de3d=_0xe71bd;return!(!this[_0x34de3d(0x13e)](_0x170341)||!this[_0x34de3d(0x13e)](_0x2fb35c))&&(_0x33a4d2(_0x170341[_0x34de3d(0x13c)],_0x2fb35c[_0x34de3d(0x13c)])&&_0x33a4d2(_0x170341[_0x34de3d(0x157)],_0x2fb35c[_0x34de3d(0x157)]));}[_0xe71bd(0x14b)](_0x31c370){const _0x723fe4=_0xe71bd,_0x598aa8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x723fe4(0x155)][_0x723fe4(0x147)](_0x723fe4(0x156))[_0x723fe4(0x142)](_0x598aa8,[_0x31c370]),_0x598aa8[_0x723fe4(0x13d)][0x0];}[_0xe71bd(0x159)](_0x5e9fb5){const _0x3c623a=_0xe71bd,_0x2c26c4=[];return this[_0x3c623a(0x155)][_0x3c623a(0x147)](_0x3c623a(0x156))[_0x3c623a(0x14a)](_0x2c26c4,_0x5e9fb5),_0x2c26c4[0x0];}[_0xe71bd(0x13e)](_0x1d4a41){const _0x408b35=_0xe71bd;return _0x408b35(0x156)==_0x1d4a41[_0x408b35(0x149)]&&_0x408b35(0x144)==_0x1d4a41[_0x408b35(0x157)][_0x408b35(0x146)]&&0x1==_0x1d4a41[_0x408b35(0x145)]&&!_0x1d4a41[_0x408b35(0x153)];}}
23
+ function _0x2c46(){const _0x52c61d=['__className','8108AxaRQg','buffers','_checkOperation','1615045AAuNPg','_compressSingleOperation','wasUndone','_getCompressorByName','MoveOperation','1185800WVGkSy','targetPosition','$graveyard','9JFIEmI','351926COcAhS','_context','3pILKlu','_compareOperations','_combineNext','4702856zsBdkR','howMany','_decompressSingleOperation','root','6hUElZP','compress','5778970DFwUPo','3287914eipXrq','sourcePosition','_splitCurrent','decompress'];_0x2c46=function(){return _0x52c61d;};return _0x2c46();}const _0x38b277=_0x49f6;(function(_0x33607a,_0x3fc148){const _0x1a1e1d=_0x49f6,_0xe6daa=_0x33607a();while(!![]){try{const _0x223333=-parseInt(_0x1a1e1d(0x125))/0x1+parseInt(_0x1a1e1d(0x119))/0x2*(-parseInt(_0x1a1e1d(0x127))/0x3)+parseInt(_0x1a1e1d(0x121))/0x4+-parseInt(_0x1a1e1d(0x11c))/0x5+parseInt(_0x1a1e1d(0x12e))/0x6*(-parseInt(_0x1a1e1d(0x131))/0x7)+parseInt(_0x1a1e1d(0x12a))/0x8+parseInt(_0x1a1e1d(0x124))/0x9*(parseInt(_0x1a1e1d(0x130))/0xa);if(_0x223333===_0x3fc148)break;else _0xe6daa['push'](_0xe6daa['shift']());}catch(_0x5903e6){_0xe6daa['push'](_0xe6daa['shift']());}}}(_0x2c46,0x4c8a9));import{ActionCompressor as _0x398ea5}from'./actioncompressor.js';function _0x49f6(_0x51bf29,_0x350e0e){const _0x2c46f4=_0x2c46();return _0x49f6=function(_0x49f65c,_0x1a97b0){_0x49f65c=_0x49f65c-0x118;let _0x480f53=_0x2c46f4[_0x49f65c];return _0x480f53;},_0x49f6(_0x51bf29,_0x350e0e);}import{arePositionsEqual as _0x2dc200}from'../utils.js';import{cloneDeep as _0x3c11db}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x398ea5{[_0x38b277(0x129)](_0x261d3c,_0x1f1139){const _0x15f56e=_0x38b277;return _0x1f1139[_0x15f56e(0x12b)]++,_0x1f1139;}[_0x38b277(0x133)](_0x36054c){const _0x267fe2=_0x38b277,_0x10b6a4=_0x3c11db(_0x36054c);return _0x10b6a4[_0x267fe2(0x12b)]=0x1,_0x36054c[_0x267fe2(0x12b)]--,_0x10b6a4;}[_0x38b277(0x128)](_0x154cf5,_0x13ddbe){const _0x319507=_0x38b277;return!(!this[_0x319507(0x11b)](_0x154cf5)||!this[_0x319507(0x11b)](_0x13ddbe))&&(_0x2dc200(_0x154cf5[_0x319507(0x132)],_0x13ddbe[_0x319507(0x132)])&&_0x2dc200(_0x154cf5[_0x319507(0x122)],_0x13ddbe[_0x319507(0x122)]));}[_0x38b277(0x11d)](_0x43ea57){const _0x5bf0a5=_0x38b277,_0x336cfc={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5bf0a5(0x126)][_0x5bf0a5(0x11f)](_0x5bf0a5(0x120))[_0x5bf0a5(0x12f)](_0x336cfc,[_0x43ea57]),_0x336cfc[_0x5bf0a5(0x11a)][0x0];}[_0x38b277(0x12c)](_0x57c856){const _0x183ecf=_0x38b277,_0x269801=[];return this[_0x183ecf(0x126)][_0x183ecf(0x11f)](_0x183ecf(0x120))[_0x183ecf(0x134)](_0x269801,_0x57c856),_0x269801[0x0];}[_0x38b277(0x11b)](_0x3683d5){const _0x40e8fd=_0x38b277;return _0x40e8fd(0x120)==_0x3683d5[_0x40e8fd(0x118)]&&_0x40e8fd(0x123)==_0x3683d5[_0x40e8fd(0x122)][_0x40e8fd(0x12d)]&&0x1==_0x3683d5[_0x40e8fd(0x12b)]&&!_0x3683d5[_0x40e8fd(0x11e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28c3f7=_0x4346;(function(_0x275736,_0x2d3870){const _0x3c358a=_0x4346,_0x1beb9c=_0x275736();while(!![]){try{const _0x570f25=-parseInt(_0x3c358a(0xee))/0x1*(-parseInt(_0x3c358a(0xe0))/0x2)+parseInt(_0x3c358a(0xfc))/0x3+-parseInt(_0x3c358a(0xf7))/0x4+parseInt(_0x3c358a(0xe1))/0x5*(parseInt(_0x3c358a(0x104))/0x6)+parseInt(_0x3c358a(0xf4))/0x7*(-parseInt(_0x3c358a(0xe4))/0x8)+-parseInt(_0x3c358a(0xed))/0x9+parseInt(_0x3c358a(0xf3))/0xa*(parseInt(_0x3c358a(0xfb))/0xb);if(_0x570f25===_0x2d3870)break;else _0x1beb9c['push'](_0x1beb9c['shift']());}catch(_0x2b8f25){_0x1beb9c['push'](_0x1beb9c['shift']());}}}(_0x570d,0x1a51e));import{ActionCompressor as _0x562a7e}from'./actioncompressor.js';import{arePositionsEqual as _0x10bfa5,getPositionShiftedBy as _0x21432f}from'../utils.js';import{cloneDeep as _0x2334a6}from'es-toolkit/compat';function _0x570d(){const _0x1b039a=['from','_compareOperations','24ZhCoCd','value','102URajkH','36885TLHKkn','__className','substr','1208wndRbh','_context','length','keys','next','_compressSingleOperation','attributes','wasUndone','nodes','578826efFrOe','905OshaMC','data','_splitCurrent','iterator','_compareAttributes','290Bqpnzo','2065YVgFfJ','_getCompressorByName','every','121444lvfuKF','compress','InsertOperation','_combineNext','8107IgsPYB','449970DEoRwy','_checkOperation','decompress','_decompressSingleOperation','position','buffers'];_0x570d=function(){return _0x1b039a;};return _0x570d();}function _0x4346(_0x3ac844,_0x45c281){const _0x570ddf=_0x570d();return _0x4346=function(_0x4346ad,_0xf539e7){_0x4346ad=_0x4346ad-0xdf;let _0x3776ae=_0x570ddf[_0x4346ad];return _0x3776ae;},_0x4346(_0x3ac844,_0x45c281);}export class TypingActionCompressor extends _0x562a7e{[_0x28c3f7(0xfa)](_0x5c810d,_0xe8bfa6){const _0x24b10d=_0x28c3f7;return _0xe8bfa6[_0x24b10d(0xec)][0x0][_0x24b10d(0xef)]+=_0x5c810d[_0x24b10d(0xec)][0x0][_0x24b10d(0xef)],_0xe8bfa6;}[_0x28c3f7(0xf0)](_0x28e3e7){const _0x3f6202=_0x28c3f7,_0x1dfe2b=_0x2334a6(_0x28e3e7),_0x254d3a=_0x1dfe2b[_0x3f6202(0xec)][0x0],_0x689b5=_0x28e3e7[_0x3f6202(0xec)][0x0],_0x5eef27=_0x689b5[_0x3f6202(0xef)][Symbol[_0x3f6202(0xf1)]]()[_0x3f6202(0xe8)]()[_0x3f6202(0xdf)],_0x4a2c2d=_0x5eef27[_0x3f6202(0xe6)];return _0x254d3a[_0x3f6202(0xef)]=_0x5eef27,_0x689b5[_0x3f6202(0xef)]=_0x689b5[_0x3f6202(0xef)][_0x3f6202(0xe3)](_0x4a2c2d),_0x28e3e7[_0x3f6202(0x100)]=_0x21432f(_0x28e3e7[_0x3f6202(0x100)],_0x4a2c2d),_0x1dfe2b;}[_0x28c3f7(0x103)](_0x310c0b,_0xebd0ad){const _0xd26f3c=_0x28c3f7;if(this[_0xd26f3c(0xfd)](_0x310c0b)&&this[_0xd26f3c(0xfd)](_0xebd0ad)){const _0x196b2b=_0x310c0b[_0xd26f3c(0xec)][0x0][_0xd26f3c(0xef)][_0xd26f3c(0xe6)],_0x40faaf=_0x10bfa5(_0x21432f(_0x310c0b[_0xd26f3c(0x100)],_0x196b2b),_0xebd0ad[_0xd26f3c(0x100)]),_0x3ede8c=_0x310c0b[_0xd26f3c(0xec)][0x0],_0x127e3d=_0xebd0ad[_0xd26f3c(0xec)][0x0];return _0x40faaf&&this[_0xd26f3c(0xf2)](_0x3ede8c,_0x127e3d);}return!0x1;}[_0x28c3f7(0xe9)](_0x42c43b){const _0xbaaf4b=_0x28c3f7,_0x11e745={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xbaaf4b(0xe5)][_0xbaaf4b(0xf5)](_0xbaaf4b(0xf9))[_0xbaaf4b(0xf8)](_0x11e745,[_0x42c43b]),_0x11e745[_0xbaaf4b(0x101)][0x0];}[_0x28c3f7(0xff)](_0x1f601a){const _0x1677de=_0x28c3f7,_0x5c5795=[];return this[_0x1677de(0xe5)][_0x1677de(0xf5)](_0x1677de(0xf9))[_0x1677de(0xfe)](_0x5c5795,_0x1f601a),_0x5c5795[0x0];}[_0x28c3f7(0xfd)](_0x89971d){const _0x3e2a50=_0x28c3f7;return _0x3e2a50(0xf9)==_0x89971d[_0x3e2a50(0xe2)]&&0x1==_0x89971d[_0x3e2a50(0xec)][_0x3e2a50(0xe6)]&&_0x89971d[_0x3e2a50(0xec)][0x0][_0x3e2a50(0xef)]&&!_0x89971d[_0x3e2a50(0xeb)]&&0x1==Array[_0x3e2a50(0x102)](_0x89971d[_0x3e2a50(0xec)][0x0][_0x3e2a50(0xef)])[_0x3e2a50(0xe6)];}[_0x28c3f7(0xf2)](_0x264f00,_0x587e32){const _0x43fd67=_0x28c3f7,_0x386908=Object[_0x43fd67(0xe7)](_0x264f00[_0x43fd67(0xea)]||{}),_0x7bdaa3=Object[_0x43fd67(0xe7)](_0x587e32[_0x43fd67(0xea)]||{});return _0x386908[_0x43fd67(0xe6)]===_0x7bdaa3[_0x43fd67(0xe6)]&&_0x386908[_0x43fd67(0xf6)](_0x546d50=>_0x587e32[_0x43fd67(0xea)][_0x546d50]&&_0x587e32[_0x43fd67(0xea)][_0x546d50]===_0x264f00[_0x43fd67(0xea)][_0x546d50]);}}
23
+ const _0x319f12=_0x7a9e;(function(_0xcaa616,_0x2d9103){const _0x2602f2=_0x7a9e,_0x1feab2=_0xcaa616();while(!![]){try{const _0x57375e=parseInt(_0x2602f2(0x19a))/0x1*(parseInt(_0x2602f2(0x197))/0x2)+parseInt(_0x2602f2(0x18b))/0x3*(-parseInt(_0x2602f2(0x191))/0x4)+-parseInt(_0x2602f2(0x189))/0x5*(parseInt(_0x2602f2(0x19d))/0x6)+parseInt(_0x2602f2(0x199))/0x7*(parseInt(_0x2602f2(0x18d))/0x8)+-parseInt(_0x2602f2(0x179))/0x9*(parseInt(_0x2602f2(0x186))/0xa)+-parseInt(_0x2602f2(0x17c))/0xb+parseInt(_0x2602f2(0x19c))/0xc;if(_0x57375e===_0x2d9103)break;else _0x1feab2['push'](_0x1feab2['shift']());}catch(_0x3a513e){_0x1feab2['push'](_0x1feab2['shift']());}}}(_0x8346,0x4c690));import{ActionCompressor as _0x5786e5}from'./actioncompressor.js';import{arePositionsEqual as _0x1613b2,getPositionShiftedBy as _0x90b8d4}from'../utils.js';function _0x7a9e(_0x446cd3,_0x31c4c1){const _0x834618=_0x8346();return _0x7a9e=function(_0x7a9ecf,_0x209a91){_0x7a9ecf=_0x7a9ecf-0x178;let _0x2e78cb=_0x834618[_0x7a9ecf];return _0x2e78cb;},_0x7a9e(_0x446cd3,_0x31c4c1);}function _0x8346(){const _0x25afd1=['value','data','_decompressSingleOperation','_combineNext','compress','next','_compressSingleOperation','nodes','attributes','20yyQLgd','position','InsertOperation','122505hjBBvg','_splitCurrent','185307KZpMIS','keys','16WKqjlS','_context','every','length','12feOgnE','buffers','_compareOperations','__className','wasUndone','_compareAttributes','62hnBgNJ','from','716849uKuGXC','2747xhTAli','_checkOperation','15509664KXMgRV','102TAHzHj','iterator','_getCompressorByName','321444xjvYQf','substr','decompress','6558321LuWlFc'];_0x8346=function(){return _0x25afd1;};return _0x8346();}import{cloneDeep as _0x1645f3}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5786e5{[_0x319f12(0x180)](_0xe9af21,_0x37a246){const _0x76aa83=_0x319f12;return _0x37a246[_0x76aa83(0x184)][0x0][_0x76aa83(0x17e)]+=_0xe9af21[_0x76aa83(0x184)][0x0][_0x76aa83(0x17e)],_0x37a246;}[_0x319f12(0x18a)](_0x310d6d){const _0x3e8f6d=_0x319f12,_0x28eb1a=_0x1645f3(_0x310d6d),_0x43eb5f=_0x28eb1a[_0x3e8f6d(0x184)][0x0],_0x195fef=_0x310d6d[_0x3e8f6d(0x184)][0x0],_0x1bf895=_0x195fef[_0x3e8f6d(0x17e)][Symbol[_0x3e8f6d(0x19e)]]()[_0x3e8f6d(0x182)]()[_0x3e8f6d(0x17d)],_0x10acf2=_0x1bf895[_0x3e8f6d(0x190)];return _0x43eb5f[_0x3e8f6d(0x17e)]=_0x1bf895,_0x195fef[_0x3e8f6d(0x17e)]=_0x195fef[_0x3e8f6d(0x17e)][_0x3e8f6d(0x17a)](_0x10acf2),_0x310d6d[_0x3e8f6d(0x187)]=_0x90b8d4(_0x310d6d[_0x3e8f6d(0x187)],_0x10acf2),_0x28eb1a;}[_0x319f12(0x193)](_0x2af29a,_0x518fe6){const _0x54f6c8=_0x319f12;if(this[_0x54f6c8(0x19b)](_0x2af29a)&&this[_0x54f6c8(0x19b)](_0x518fe6)){const _0xd7a130=_0x2af29a[_0x54f6c8(0x184)][0x0][_0x54f6c8(0x17e)][_0x54f6c8(0x190)],_0x1a94eb=_0x1613b2(_0x90b8d4(_0x2af29a[_0x54f6c8(0x187)],_0xd7a130),_0x518fe6[_0x54f6c8(0x187)]),_0x3d6227=_0x2af29a[_0x54f6c8(0x184)][0x0],_0x306865=_0x518fe6[_0x54f6c8(0x184)][0x0];return _0x1a94eb&&this[_0x54f6c8(0x196)](_0x3d6227,_0x306865);}return!0x1;}[_0x319f12(0x183)](_0x2ea171){const _0x1a4333=_0x319f12,_0x12d23c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1a4333(0x18e)][_0x1a4333(0x178)](_0x1a4333(0x188))[_0x1a4333(0x181)](_0x12d23c,[_0x2ea171]),_0x12d23c[_0x1a4333(0x192)][0x0];}[_0x319f12(0x17f)](_0xcef05d){const _0x3d9655=_0x319f12,_0x47970d=[];return this[_0x3d9655(0x18e)][_0x3d9655(0x178)](_0x3d9655(0x188))[_0x3d9655(0x17b)](_0x47970d,_0xcef05d),_0x47970d[0x0];}[_0x319f12(0x19b)](_0x88418d){const _0x2b8478=_0x319f12;return _0x2b8478(0x188)==_0x88418d[_0x2b8478(0x194)]&&0x1==_0x88418d[_0x2b8478(0x184)][_0x2b8478(0x190)]&&_0x88418d[_0x2b8478(0x184)][0x0][_0x2b8478(0x17e)]&&!_0x88418d[_0x2b8478(0x195)]&&0x1==Array[_0x2b8478(0x198)](_0x88418d[_0x2b8478(0x184)][0x0][_0x2b8478(0x17e)])[_0x2b8478(0x190)];}[_0x319f12(0x196)](_0x9457ef,_0x4e6329){const _0x38fb4c=_0x319f12,_0x1c00c7=Object[_0x38fb4c(0x18c)](_0x9457ef[_0x38fb4c(0x185)]||{}),_0x5b66bd=Object[_0x38fb4c(0x18c)](_0x4e6329[_0x38fb4c(0x185)]||{});return _0x1c00c7[_0x38fb4c(0x190)]===_0x5b66bd[_0x38fb4c(0x190)]&&_0x1c00c7[_0x38fb4c(0x18f)](_0x20d60a=>_0x4e6329[_0x38fb4c(0x185)][_0x20d60a]&&_0x4e6329[_0x38fb4c(0x185)][_0x20d60a]===_0x9457ef[_0x38fb4c(0x185)][_0x20d60a]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8fac14=_0x24cf;(function(_0x372ca0,_0x1df3ad){const _0x2993ad=_0x24cf,_0x35d4c2=_0x372ca0();while(!![]){try{const _0x33f14e=-parseInt(_0x2993ad(0x1e3))/0x1+parseInt(_0x2993ad(0x1d3))/0x2+parseInt(_0x2993ad(0x1dc))/0x3+-parseInt(_0x2993ad(0x1d4))/0x4+parseInt(_0x2993ad(0x1e8))/0x5*(parseInt(_0x2993ad(0x1cd))/0x6)+-parseInt(_0x2993ad(0x1d5))/0x7*(parseInt(_0x2993ad(0x1e5))/0x8)+-parseInt(_0x2993ad(0x1e6))/0x9;if(_0x33f14e===_0x1df3ad)break;else _0x35d4c2['push'](_0x35d4c2['shift']());}catch(_0x146b00){_0x35d4c2['push'](_0x35d4c2['shift']());}}}(_0x5843,0xeff8f));import{ActionCompressor as _0x230e7c}from'./actioncompressor.js';function _0x24cf(_0xde8336,_0x43a8ba){const _0x584301=_0x5843();return _0x24cf=function(_0x24cf03,_0x439c93){_0x24cf03=_0x24cf03-0x1cd;let _0x20e4bc=_0x584301[_0x24cf03];return _0x20e4bc;},_0x24cf(_0xde8336,_0x43a8ba);}import{arePositionsEqual as _0x2e3cb3}from'../utils.js';function _0x5843(){const _0x2ece2b=['user:','3258872chEjQv','5416404kHKznN','21LIvaVf','compress','decompress','oldRange','shift','_id','user:position:','3838509jjpdQK','types','start','push','buffers','_decompressSingleOperation','toNone','494728bbRNuq','_context','119704maxIrz','17773056TRKIIO','newRange','971245ZJfcJE','_compareOperations','_compressSingleOperation','_getCompressorByName','end','__className','name','60nszUUt','split','MarkerOperation','stickiness','startsWith'];_0x5843=function(){return _0x2ece2b;};return _0x5843();}import{cloneDeep as _0x33ac2f}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x230e7c{[_0x8fac14(0x1d6)](_0x2baab7,_0x54a406){const _0xa37360=_0x8fac14;if(!this[_0xa37360(0x1e9)](_0x54a406[0x0],_0x54a406[0x1]))return!0x1;const _0x2e68c2=_0x54a406[_0xa37360(0x1d9)]();return _0x2e68c2[_0xa37360(0x1d8)]=null,_0x2e68c2[_0xa37360(0x1e7)]&&_0x2e3cb3(_0x2e68c2[_0xa37360(0x1e7)][_0xa37360(0x1de)],_0x2e68c2[_0xa37360(0x1e7)][_0xa37360(0x1ec)])&&(_0x2e68c2[_0xa37360(0x1e7)][_0xa37360(0x1ec)]=null),_0x54a406[_0xa37360(0x1d9)](),_0x2baab7[_0xa37360(0x1dd)][_0xa37360(0x1df)](this[_0xa37360(0x1da)]),_0x2baab7[_0xa37360(0x1dd)][_0xa37360(0x1df)](0x0),_0x2baab7[_0xa37360(0x1e0)][_0xa37360(0x1df)](this[_0xa37360(0x1ea)](_0x2e68c2)),!0x0;}[_0x8fac14(0x1d7)](_0xd8a3fa,_0x3ee577){const _0x538e6d=_0x8fac14,_0x1a005e=this[_0x538e6d(0x1e1)](_0x3ee577);_0x1a005e[_0x538e6d(0x1e7)]&&!_0x1a005e[_0x538e6d(0x1e7)][_0x538e6d(0x1ec)]&&(_0x1a005e[_0x538e6d(0x1e7)][_0x538e6d(0x1ec)]=_0x33ac2f(_0x1a005e[_0x538e6d(0x1e7)][_0x538e6d(0x1de)]));const _0x35d45b=_0x33ac2f(_0x1a005e);_0x35d45b[_0x538e6d(0x1e7)]&&(_0x35d45b[_0x538e6d(0x1e7)][_0x538e6d(0x1de)][_0x538e6d(0x1d0)]=_0x538e6d(0x1e2),_0x35d45b[_0x538e6d(0x1e7)][_0x538e6d(0x1ec)]=_0x33ac2f(_0x35d45b[_0x538e6d(0x1e7)][_0x538e6d(0x1de)])),_0x35d45b[_0x538e6d(0x1ee)]=_0x538e6d(0x1db)+_0x35d45b[_0x538e6d(0x1ee)][_0x538e6d(0x1ce)](':')[0x2],_0x3ee577[_0x538e6d(0x1dd)][_0x538e6d(0x1d9)](),_0xd8a3fa[_0x538e6d(0x1df)](_0x1a005e),_0xd8a3fa[_0x538e6d(0x1df)](_0x35d45b);}[_0x8fac14(0x1ea)](_0x4d18b5){const _0x3b4356=_0x8fac14,_0xdea0f3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3b4356(0x1e4)][_0x3b4356(0x1eb)](_0x3b4356(0x1cf))[_0x3b4356(0x1d6)](_0xdea0f3,[_0x4d18b5]),_0xdea0f3[_0x3b4356(0x1e0)][0x0];}[_0x8fac14(0x1e1)](_0x47b403){const _0x503f72=_0x8fac14,_0x5e4013=[];return this[_0x503f72(0x1e4)][_0x503f72(0x1eb)](_0x503f72(0x1cf))[_0x503f72(0x1d7)](_0x5e4013,_0x47b403),_0x5e4013[0x0];}[_0x8fac14(0x1e9)](_0x4babf4,_0x53004c){const _0x15a01e=_0x8fac14;return!(!_0x4babf4||!_0x53004c)&&(_0x15a01e(0x1cf)==_0x4babf4[_0x15a01e(0x1ed)]&&_0x15a01e(0x1cf)==_0x53004c[_0x15a01e(0x1ed)]&&!(!_0x4babf4[_0x15a01e(0x1ee)][_0x15a01e(0x1d1)](_0x15a01e(0x1d2))||!_0x53004c[_0x15a01e(0x1ee)][_0x15a01e(0x1d1)](_0x15a01e(0x1d2))||_0x4babf4[_0x15a01e(0x1ee)]==_0x53004c[_0x15a01e(0x1ee)]));}}
23
+ const _0x2021a7=_0x5cd3;(function(_0x26d219,_0xa23187){const _0x4a055d=_0x5cd3,_0x7f1bc6=_0x26d219();while(!![]){try{const _0x49b432=parseInt(_0x4a055d(0x132))/0x1*(-parseInt(_0x4a055d(0x134))/0x2)+parseInt(_0x4a055d(0x123))/0x3+-parseInt(_0x4a055d(0x12f))/0x4*(-parseInt(_0x4a055d(0x124))/0x5)+-parseInt(_0x4a055d(0x12e))/0x6*(-parseInt(_0x4a055d(0x11f))/0x7)+-parseInt(_0x4a055d(0x127))/0x8*(parseInt(_0x4a055d(0x143))/0x9)+parseInt(_0x4a055d(0x121))/0xa*(-parseInt(_0x4a055d(0x130))/0xb)+parseInt(_0x4a055d(0x122))/0xc*(-parseInt(_0x4a055d(0x133))/0xd);if(_0x49b432===_0xa23187)break;else _0x7f1bc6['push'](_0x7f1bc6['shift']());}catch(_0x129472){_0x7f1bc6['push'](_0x7f1bc6['shift']());}}}(_0x3454,0xbd87a));import{ActionCompressor as _0x1b68c1}from'./actioncompressor.js';import{arePositionsEqual as _0x52bada}from'../utils.js';import{cloneDeep as _0x3becd0}from'es-toolkit/compat';function _0x5cd3(_0x4bfe2,_0x28cd6f){const _0x345446=_0x3454();return _0x5cd3=function(_0x5cd3d9,_0x50cee5){_0x5cd3d9=_0x5cd3d9-0x11e;let _0x491c6d=_0x345446[_0x5cd3d9];return _0x491c6d;},_0x5cd3(_0x4bfe2,_0x28cd6f);}function _0x3454(){const _0x2d3b94=['end','toNone','decompress','_id','_context','63mGZKqw','oldRange','7778183zDTmpW','start','11510FPTnGp','37884JsqnNQ','4602387JTZoUO','354035WhPDGn','buffers','__className','403688ySMKwa','types','stickiness','name','startsWith','split','compress','6NeyAlx','80nRuliX','9493cxaxZX','_compressSingleOperation','10zxiJuO','5356OylBPO','127580ARoufo','newRange','MarkerOperation','user:','push','_decompressSingleOperation','_getCompressorByName','shift','_compareOperations','user:position:'];_0x3454=function(){return _0x2d3b94;};return _0x3454();}export class UserSelectionActionCompressor extends _0x1b68c1{[_0x2021a7(0x12d)](_0x3b37c6,_0x2646db){const _0x22aab8=_0x2021a7;if(!this[_0x22aab8(0x13c)](_0x2646db[0x0],_0x2646db[0x1]))return!0x1;const _0x2b9fdb=_0x2646db[_0x22aab8(0x13b)]();return _0x2b9fdb[_0x22aab8(0x11e)]=null,_0x2b9fdb[_0x22aab8(0x135)]&&_0x52bada(_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x120)],_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x13e)])&&(_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x13e)]=null),_0x2646db[_0x22aab8(0x13b)](),_0x3b37c6[_0x22aab8(0x128)][_0x22aab8(0x138)](this[_0x22aab8(0x141)]),_0x3b37c6[_0x22aab8(0x128)][_0x22aab8(0x138)](0x0),_0x3b37c6[_0x22aab8(0x125)][_0x22aab8(0x138)](this[_0x22aab8(0x131)](_0x2b9fdb)),!0x0;}[_0x2021a7(0x140)](_0x54ea9e,_0x2846c5){const _0x53f135=_0x2021a7,_0x345975=this[_0x53f135(0x139)](_0x2846c5);_0x345975[_0x53f135(0x135)]&&!_0x345975[_0x53f135(0x135)][_0x53f135(0x13e)]&&(_0x345975[_0x53f135(0x135)][_0x53f135(0x13e)]=_0x3becd0(_0x345975[_0x53f135(0x135)][_0x53f135(0x120)]));const _0x46fd38=_0x3becd0(_0x345975);_0x46fd38[_0x53f135(0x135)]&&(_0x46fd38[_0x53f135(0x135)][_0x53f135(0x120)][_0x53f135(0x129)]=_0x53f135(0x13f),_0x46fd38[_0x53f135(0x135)][_0x53f135(0x13e)]=_0x3becd0(_0x46fd38[_0x53f135(0x135)][_0x53f135(0x120)])),_0x46fd38[_0x53f135(0x12a)]=_0x53f135(0x13d)+_0x46fd38[_0x53f135(0x12a)][_0x53f135(0x12c)](':')[0x2],_0x2846c5[_0x53f135(0x128)][_0x53f135(0x13b)](),_0x54ea9e[_0x53f135(0x138)](_0x345975),_0x54ea9e[_0x53f135(0x138)](_0x46fd38);}[_0x2021a7(0x131)](_0x199950){const _0x587aaa=_0x2021a7,_0x4640c1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x587aaa(0x142)][_0x587aaa(0x13a)](_0x587aaa(0x136))[_0x587aaa(0x12d)](_0x4640c1,[_0x199950]),_0x4640c1[_0x587aaa(0x125)][0x0];}[_0x2021a7(0x139)](_0x5d1d18){const _0x51f321=_0x2021a7,_0x296e5e=[];return this[_0x51f321(0x142)][_0x51f321(0x13a)](_0x51f321(0x136))[_0x51f321(0x140)](_0x296e5e,_0x5d1d18),_0x296e5e[0x0];}[_0x2021a7(0x13c)](_0x1a8abd,_0x2ec579){const _0x39fd32=_0x2021a7;return!(!_0x1a8abd||!_0x2ec579)&&(_0x39fd32(0x136)==_0x1a8abd[_0x39fd32(0x126)]&&_0x39fd32(0x136)==_0x2ec579[_0x39fd32(0x126)]&&!(!_0x1a8abd[_0x39fd32(0x12a)][_0x39fd32(0x12b)](_0x39fd32(0x137))||!_0x2ec579[_0x39fd32(0x12a)][_0x39fd32(0x12b)](_0x39fd32(0x137))||_0x1a8abd[_0x39fd32(0x12a)]==_0x2ec579[_0x39fd32(0x12a)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5934dd=_0x2682;function _0x325c(){const _0x3e77e3=['_compressorById','_registerOperationCompressor','5225898wvRFcB','2171871jznPsE','1718210CRviGu','_compressorByName','decompress','UserSelectionAction','RenameOperation','DeletingAction','MoveOperation','SuggestionMarkerOperation','4795350VeCbdw','43132056vEadba','22psUTsD','getDescriptor','no-operations-provided','NoOperation','TypingAction','forEach','set','85283hixjkG','InsertOperation','suggestion','length','2Plqpvf','159xIpoeL','_protobufFactory','__className','16kfnENS','decompress-compressor-not-found','_registerActionCompressor','baseVersion','comment','ForwardDeletingAction','compress','RootOperation','MergeOperation','get','7xTriJm','MarkerOperation','_getCompressorByName','AttributeOperation','CommentMarkerOperation','66872ywkDRc','SplitOperation','_registerCompressor','types','RootAttributeOperation'];_0x325c=function(){return _0x3e77e3;};return _0x325c();}(function(_0x4b74dc,_0x481234){const _0xe7170e=_0x2682,_0x3cdf08=_0x4b74dc();while(!![]){try{const _0x1511dd=parseInt(_0xe7170e(0x10a))/0x1*(-parseInt(_0xe7170e(0x10e))/0x2)+parseInt(_0xe7170e(0x10f))/0x3*(-parseInt(_0xe7170e(0x121))/0x4)+parseInt(_0xe7170e(0x12a))/0x5+-parseInt(_0xe7170e(0x128))/0x6*(parseInt(_0xe7170e(0x11c))/0x7)+parseInt(_0xe7170e(0x112))/0x8*(-parseInt(_0xe7170e(0x129))/0x9)+parseInt(_0xe7170e(0x101))/0xa*(-parseInt(_0xe7170e(0x103))/0xb)+parseInt(_0xe7170e(0x102))/0xc;if(_0x1511dd===_0x481234)break;else _0x3cdf08['push'](_0x3cdf08['shift']());}catch(_0xc87c38){_0x3cdf08['push'](_0x3cdf08['shift']());}}}(_0x325c,0x9fa80));import{CKEditorError as _0x57854c}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4f71a4}from'./protobuffactory.js';import{OperationCompressor as _0x1c43cd}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x28dd17}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x3bdb11}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2020d3}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x53468d}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x32cc45}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3d3a2f}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x51b624}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x505f18}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x16ee48}from'./actioncompressor/userselectionactioncompressor.js';function _0x2682(_0x1d103a,_0x4ba88a){const _0x325cd0=_0x325c();return _0x2682=function(_0x268256,_0x1f9242){_0x268256=_0x268256-0xff;let _0x340cb4=_0x325cd0[_0x268256];return _0x340cb4;},_0x2682(_0x1d103a,_0x4ba88a);}export class Compressor{[_0x5934dd(0x126)];[_0x5934dd(0x12b)];[_0x5934dd(0x110)];constructor(){const _0x5777b7=_0x5934dd;this[_0x5777b7(0x126)]=new Map(),this[_0x5777b7(0x12b)]=new Map(),this[_0x5777b7(0x110)]=new _0x4f71a4();const _0x56fb3b=this[_0x5777b7(0x110)][_0x5777b7(0x104)](_0x5777b7(0x11d));this[_0x5777b7(0x123)](0x1,_0x5777b7(0x106),new _0x53468d(0x1,_0x5777b7(0x106),void 0x0)),this[_0x5777b7(0x127)](0xa,_0x5777b7(0x11f),_0x28dd17),this[_0x5777b7(0x127)](0xb,_0x5777b7(0x10b),_0x3bdb11),this[_0x5777b7(0x127)](0xc,_0x5777b7(0x11d),_0x2020d3),this[_0x5777b7(0x127)](0xd,_0x5777b7(0x11a),_0x1c43cd),this[_0x5777b7(0x127)](0xe,_0x5777b7(0xff),_0x1c43cd),this[_0x5777b7(0x127)](0xf,_0x5777b7(0x12e),_0x1c43cd),this[_0x5777b7(0x127)](0x10,_0x5777b7(0x125),_0x28dd17),this[_0x5777b7(0x127)](0x11,_0x5777b7(0x122),_0x1c43cd),this[_0x5777b7(0x123)](0x12,_0x5777b7(0x120),new _0x32cc45(0x12,_0x5777b7(0x11d),_0x56fb3b,_0x5777b7(0x116))),this[_0x5777b7(0x123)](0x13,_0x5777b7(0x100),new _0x32cc45(0x13,_0x5777b7(0x11d),_0x56fb3b,_0x5777b7(0x10c))),this[_0x5777b7(0x127)](0x14,_0x5777b7(0x119),_0x1c43cd),this[_0x5777b7(0x114)](0x64,_0x5777b7(0x107),_0x3d3a2f),this[_0x5777b7(0x114)](0x65,_0x5777b7(0x12f),_0x51b624),this[_0x5777b7(0x114)](0x66,_0x5777b7(0x117),_0x505f18),this[_0x5777b7(0x114)](0x67,_0x5777b7(0x12d),_0x16ee48);}[_0x5934dd(0x118)](_0xdbfd98){const _0x4baaae=_0x5934dd;if(!_0xdbfd98||!_0xdbfd98[0x0])throw new _0x57854c(_0x4baaae(0x105),this);const _0x5cb41d={'types':[],'buffers':[],'baseVersion':_0xdbfd98[0x0][_0x4baaae(0x115)]};for(;_0xdbfd98[_0x4baaae(0x10d)];)this[_0x4baaae(0x11e)](_0x4baaae(0x12d))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0x4baaae(0x107))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0x4baaae(0x12f))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0x4baaae(0x117))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0x4baaae(0x120))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0x4baaae(0x100))[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98)||this[_0x4baaae(0x11e)](_0xdbfd98[0x0][_0x4baaae(0x111)])[_0x4baaae(0x118)](_0x5cb41d,_0xdbfd98);return _0x5cb41d;}[_0x5934dd(0x12c)](_0x53812a){const _0x43e079=_0x5934dd,_0x329240=[];for(;_0x53812a[_0x43e079(0x124)][_0x43e079(0x10d)];){const _0x491bd1=this[_0x43e079(0x126)][_0x43e079(0x11b)](_0x53812a[_0x43e079(0x124)][0x0]);if(!_0x491bd1)throw new _0x57854c(_0x43e079(0x113),this,{'type':_0x53812a[_0x43e079(0x124)][0x0]});_0x491bd1[_0x43e079(0x12c)](_0x329240,_0x53812a);}return _0x329240[_0x43e079(0x108)]((_0x2df938,_0x5cf783)=>_0x2df938[_0x43e079(0x115)]=_0x53812a[_0x43e079(0x115)]+_0x5cf783),_0x329240;}[_0x5934dd(0x11e)](_0x5bf432){const _0x48386c=_0x5934dd;return this[_0x48386c(0x12b)][_0x48386c(0x11b)](_0x5bf432);}[_0x5934dd(0x127)](_0x5cbf5b,_0x130a0c,_0x4594ff){const _0x42b84a=_0x5934dd,_0x4946ef=new _0x4594ff(_0x5cbf5b,_0x130a0c,this[_0x42b84a(0x110)][_0x42b84a(0x104)](_0x130a0c));this[_0x42b84a(0x123)](_0x5cbf5b,_0x130a0c,_0x4946ef);}[_0x5934dd(0x114)](_0x127ca9,_0x2414b9,_0x5c16b5){const _0x4b1224=_0x5934dd,_0x2eab48=new _0x5c16b5(_0x127ca9,this);this[_0x4b1224(0x123)](_0x127ca9,_0x2414b9,_0x2eab48);}[_0x5934dd(0x123)](_0x32340d,_0x26e98c,_0x46e1b7){const _0x430fe0=_0x5934dd;this[_0x430fe0(0x126)][_0x430fe0(0x109)](_0x32340d,_0x46e1b7),this[_0x430fe0(0x12b)][_0x430fe0(0x109)](_0x26e98c,_0x46e1b7);}}
23
+ const _0x5a07de=_0x3324;(function(_0xc2af58,_0x35a979){const _0x437072=_0x3324,_0x4fd352=_0xc2af58();while(!![]){try{const _0x56f2f5=-parseInt(_0x437072(0x146))/0x1+-parseInt(_0x437072(0x138))/0x2*(parseInt(_0x437072(0x143))/0x3)+parseInt(_0x437072(0x13a))/0x4+parseInt(_0x437072(0x142))/0x5*(parseInt(_0x437072(0x14b))/0x6)+-parseInt(_0x437072(0x137))/0x7*(-parseInt(_0x437072(0x140))/0x8)+parseInt(_0x437072(0x128))/0x9*(parseInt(_0x437072(0x144))/0xa)+-parseInt(_0x437072(0x12d))/0xb;if(_0x56f2f5===_0x35a979)break;else _0x4fd352['push'](_0x4fd352['shift']());}catch(_0x363176){_0x4fd352['push'](_0x4fd352['shift']());}}}(_0x4687,0xee3de));import{CKEditorError as _0x4f1f5a}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3d235f}from'./protobuffactory.js';import{OperationCompressor as _0x1b0959}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x1ab2b2}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x165fc6}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x8cc9b}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x525023}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x2db105}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x395f21}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5c8ddf}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x423984}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x14682e}from'./actioncompressor/userselectionactioncompressor.js';function _0x3324(_0x3a8808,_0x50ab61){const _0x4687c1=_0x4687();return _0x3324=function(_0x3324c2,_0x30ccce){_0x3324c2=_0x3324c2-0x128;let _0x1efe48=_0x4687c1[_0x3324c2];return _0x1efe48;},_0x3324(_0x3a8808,_0x50ab61);}function _0x4687(){const _0x4f26df=['SplitOperation','comment','NoOperation','RenameOperation','_registerOperationCompressor','33752cNmARg','length','8375yMEYAr','1077gBLJVg','50XWtHwr','_registerCompressor','778054cSHGIZ','get','SuggestionMarkerOperation','MoveOperation','_compressorById','1920zzHwQM','_registerActionCompressor','ForwardDeletingAction','UserSelectionAction','MarkerOperation','__className','DeletingAction','MergeOperation','forEach','compress','no-operations-provided','AttributeOperation','RootOperation','431901LrNVMG','getDescriptor','decompress-compressor-not-found','set','_protobufFactory','10944241FWToPH','CommentMarkerOperation','decompress','RootAttributeOperation','suggestion','baseVersion','_compressorByName','TypingAction','types','_getCompressorByName','686YuaCDf','1254nvLxcr','InsertOperation','7138036vQAjEY'];_0x4687=function(){return _0x4f26df;};return _0x4687();}export class Compressor{[_0x5a07de(0x14a)];[_0x5a07de(0x133)];[_0x5a07de(0x12c)];constructor(){const _0x59495f=_0x5a07de;this[_0x59495f(0x14a)]=new Map(),this[_0x59495f(0x133)]=new Map(),this[_0x59495f(0x12c)]=new _0x3d235f();const _0x1c71ec=this[_0x59495f(0x12c)][_0x59495f(0x129)](_0x59495f(0x14f));this[_0x59495f(0x145)](0x1,_0x59495f(0x13d),new _0x525023(0x1,_0x59495f(0x13d),void 0x0)),this[_0x59495f(0x13f)](0xa,_0x59495f(0x156),_0x1ab2b2),this[_0x59495f(0x13f)](0xb,_0x59495f(0x139),_0x165fc6),this[_0x59495f(0x13f)](0xc,_0x59495f(0x14f),_0x8cc9b),this[_0x59495f(0x13f)](0xd,_0x59495f(0x152),_0x1b0959),this[_0x59495f(0x13f)](0xe,_0x59495f(0x149),_0x1b0959),this[_0x59495f(0x13f)](0xf,_0x59495f(0x13e),_0x1b0959),this[_0x59495f(0x13f)](0x10,_0x59495f(0x130),_0x1ab2b2),this[_0x59495f(0x13f)](0x11,_0x59495f(0x13b),_0x1b0959),this[_0x59495f(0x145)](0x12,_0x59495f(0x12e),new _0x2db105(0x12,_0x59495f(0x14f),_0x1c71ec,_0x59495f(0x13c))),this[_0x59495f(0x145)](0x13,_0x59495f(0x148),new _0x2db105(0x13,_0x59495f(0x14f),_0x1c71ec,_0x59495f(0x131))),this[_0x59495f(0x13f)](0x14,_0x59495f(0x157),_0x1b0959),this[_0x59495f(0x14c)](0x64,_0x59495f(0x134),_0x395f21),this[_0x59495f(0x14c)](0x65,_0x59495f(0x151),_0x5c8ddf),this[_0x59495f(0x14c)](0x66,_0x59495f(0x14d),_0x423984),this[_0x59495f(0x14c)](0x67,_0x59495f(0x14e),_0x14682e);}[_0x5a07de(0x154)](_0x37a133){const _0x493b8e=_0x5a07de;if(!_0x37a133||!_0x37a133[0x0])throw new _0x4f1f5a(_0x493b8e(0x155),this);const _0x591291={'types':[],'buffers':[],'baseVersion':_0x37a133[0x0][_0x493b8e(0x132)]};for(;_0x37a133[_0x493b8e(0x141)];)this[_0x493b8e(0x136)](_0x493b8e(0x14e))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x134))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x151))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x14d))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x12e))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x148))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x37a133[0x0][_0x493b8e(0x150)])[_0x493b8e(0x154)](_0x591291,_0x37a133);return _0x591291;}[_0x5a07de(0x12f)](_0x4a6213){const _0x4dc38f=_0x5a07de,_0x3da41c=[];for(;_0x4a6213[_0x4dc38f(0x135)][_0x4dc38f(0x141)];){const _0x1b91df=this[_0x4dc38f(0x14a)][_0x4dc38f(0x147)](_0x4a6213[_0x4dc38f(0x135)][0x0]);if(!_0x1b91df)throw new _0x4f1f5a(_0x4dc38f(0x12a),this,{'type':_0x4a6213[_0x4dc38f(0x135)][0x0]});_0x1b91df[_0x4dc38f(0x12f)](_0x3da41c,_0x4a6213);}return _0x3da41c[_0x4dc38f(0x153)]((_0x18cf0d,_0x544f7f)=>_0x18cf0d[_0x4dc38f(0x132)]=_0x4a6213[_0x4dc38f(0x132)]+_0x544f7f),_0x3da41c;}[_0x5a07de(0x136)](_0x1decf8){const _0x1d21d0=_0x5a07de;return this[_0x1d21d0(0x133)][_0x1d21d0(0x147)](_0x1decf8);}[_0x5a07de(0x13f)](_0x5f226c,_0x423358,_0x100237){const _0x185d45=_0x5a07de,_0x2eca8b=new _0x100237(_0x5f226c,_0x423358,this[_0x185d45(0x12c)][_0x185d45(0x129)](_0x423358));this[_0x185d45(0x145)](_0x5f226c,_0x423358,_0x2eca8b);}[_0x5a07de(0x14c)](_0x1cd047,_0x2e0df1,_0x3848b7){const _0x91ea99=_0x5a07de,_0x264082=new _0x3848b7(_0x1cd047,this);this[_0x91ea99(0x145)](_0x1cd047,_0x2e0df1,_0x264082);}[_0x5a07de(0x145)](_0x29e716,_0x96d48b,_0xec69a1){const _0x3816c6=_0x5a07de;this[_0x3816c6(0x14a)][_0x3816c6(0x12b)](_0x29e716,_0xec69a1),this[_0x3816c6(0x133)][_0x3816c6(0x12b)](_0x96d48b,_0xec69a1);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4de2(){var _0x370db9=['856JJkZeW','1397024dWSrtu','200egbjSR','5436306XKTLNi','14029719FFkBHV','2331HpFthq','8CFKAkx','190272OEOdRi','3097749GynAmr','5jfUuaY','371736hdIkph'];_0x4de2=function(){return _0x370db9;};return _0x4de2();}function _0x5bd1(_0x9a05b,_0x235255){var _0x4de253=_0x4de2();return _0x5bd1=function(_0x5bd1ff,_0x15e06c){_0x5bd1ff=_0x5bd1ff-0x8e;var _0x433b34=_0x4de253[_0x5bd1ff];return _0x433b34;},_0x5bd1(_0x9a05b,_0x235255);}(function(_0x4b59b4,_0x1bc24c){var _0x25e6d5=_0x5bd1,_0x366f79=_0x4b59b4();while(!![]){try{var _0x53212f=-parseInt(_0x25e6d5(0x91))/0x1*(-parseInt(_0x25e6d5(0x90))/0x2)+-parseInt(_0x25e6d5(0x92))/0x3+parseInt(_0x25e6d5(0x96))/0x4+-parseInt(_0x25e6d5(0x93))/0x5*(-parseInt(_0x25e6d5(0x98))/0x6)+parseInt(_0x25e6d5(0x8f))/0x7*(parseInt(_0x25e6d5(0x95))/0x8)+parseInt(_0x25e6d5(0x94))/0x9*(parseInt(_0x25e6d5(0x97))/0xa)+-parseInt(_0x25e6d5(0x8e))/0xb;if(_0x53212f===_0x1bc24c)break;else _0x366f79['push'](_0x366f79['shift']());}catch(_0x8a956f){_0x366f79['push'](_0x366f79['shift']());}}}(_0x4de2,0x8b2ee));export{Compressor}from'./compressor.js';
23
+ function _0x30c1(_0x340b8b,_0x2a5ab2){var _0x515dd5=_0x515d();return _0x30c1=function(_0x30c130,_0x303d18){_0x30c130=_0x30c130-0xf9;var _0x3b4e66=_0x515dd5[_0x30c130];return _0x3b4e66;},_0x30c1(_0x340b8b,_0x2a5ab2);}function _0x515d(){var _0x39f3d8=['279NNFpzS','30664lufVRE','90kizFsK','106130JMxxRN','1834021tKSGrD','328543UlrCPM','2709736HzlBIN','7296174EeMUeF','1306803SvcXyS','2nGKXfd'];_0x515d=function(){return _0x39f3d8;};return _0x515d();}(function(_0x4171f9,_0x28e767){var _0x44804f=_0x30c1,_0x1e794b=_0x4171f9();while(!![]){try{var _0x43b0e3=parseInt(_0x44804f(0x101))/0x1*(parseInt(_0x44804f(0xfb))/0x2)+-parseInt(_0x44804f(0xfa))/0x3+parseInt(_0x44804f(0xfd))/0x4*(-parseInt(_0x44804f(0xfe))/0x5)+parseInt(_0x44804f(0xf9))/0x6+-parseInt(_0x44804f(0x100))/0x7+parseInt(_0x44804f(0x102))/0x8+parseInt(_0x44804f(0xfc))/0x9*(-parseInt(_0x44804f(0xff))/0xa);if(_0x43b0e3===_0x28e767)break;else _0x1e794b['push'](_0x1e794b['shift']());}catch(_0x58fbc7){_0x1e794b['push'](_0x1e794b['shift']());}}}(_0x515d,0xaf766));export{Compressor}from'./compressor.js';