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

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 _0x481b(){const _0x459c23=['116370mTXIbx','101272qlZvlw','decompress','417Hhejvg','_context','_checkOperation','_compressSingleOperation','compress','__className','90wutNoF','howMany','3974468XIvKVl','$graveyard','sourcePosition','_decompressSingleOperation','targetPosition','_combineNext','675894ougqgR','15178010UTbyWL','917rFUusw','wasUndone','MoveOperation','6649848KeyclF','buffers','24312WOFjqu','_splitCurrent','_getCompressorByName','_compareOperations','root'];_0x481b=function(){return _0x459c23;};return _0x481b();}function _0x36de(_0x55d3d2,_0x575345){const _0x481bad=_0x481b();return _0x36de=function(_0x36de44,_0xfe6f99){_0x36de44=_0x36de44-0xcd;let _0x1a67e1=_0x481bad[_0x36de44];return _0x1a67e1;},_0x36de(_0x55d3d2,_0x575345);}const _0x2c9169=_0x36de;(function(_0x2ba5c9,_0x3461f0){const _0x3cdbd1=_0x36de,_0x1bc94e=_0x2ba5c9();while(!![]){try{const _0x4989a4=-parseInt(_0x3cdbd1(0xd4))/0x1+-parseInt(_0x3cdbd1(0xdb))/0x2*(-parseInt(_0x3cdbd1(0xe3))/0x3)+-parseInt(_0x3cdbd1(0xce))/0x4+parseInt(_0x3cdbd1(0xe9))/0x5*(parseInt(_0x3cdbd1(0xe0))/0x6)+-parseInt(_0x3cdbd1(0xd6))/0x7*(parseInt(_0x3cdbd1(0xe1))/0x8)+parseInt(_0x3cdbd1(0xd9))/0x9+parseInt(_0x3cdbd1(0xd5))/0xa;if(_0x4989a4===_0x3461f0)break;else _0x1bc94e['push'](_0x1bc94e['shift']());}catch(_0x4f8bfa){_0x1bc94e['push'](_0x1bc94e['shift']());}}}(_0x481b,0xec3cb));import{ActionCompressor as _0xac9245}from'./actioncompressor.js';import{arePositionsEqual as _0x32d43c,getPositionShiftedBy as _0x2ab919}from'../utils.js';import{cloneDeep as _0x19f02a}from'es-toolkit/compat';export class DeletingActionCompressor extends _0xac9245{[_0x2c9169(0xd3)](_0x5d1e67,_0x5b22eb){const _0x4d03d9=_0x2c9169;return _0x5b22eb[_0x4d03d9(0xcd)]++,_0x5b22eb[_0x4d03d9(0xd0)]=_0x19f02a(_0x5d1e67[_0x4d03d9(0xd0)]),_0x5b22eb;}[_0x2c9169(0xdc)](_0x3c9566){const _0x3195fc=_0x2c9169,_0x579507=_0x19f02a(_0x3c9566);return _0x3c9566[_0x3195fc(0xcd)]--,_0x579507[_0x3195fc(0xcd)]=0x1,_0x579507[_0x3195fc(0xd0)]=_0x2ab919(_0x579507[_0x3195fc(0xd0)],_0x3c9566[_0x3195fc(0xcd)]),_0x579507;}[_0x2c9169(0xde)](_0x3b935f,_0x2c3f5d){const _0x5389dd=_0x2c9169;return!(!this[_0x5389dd(0xe5)](_0x3b935f)||!this[_0x5389dd(0xe5)](_0x2c3f5d))&&(_0x32d43c(_0x2ab919(_0x3b935f[_0x5389dd(0xd0)],-0x1),_0x2c3f5d[_0x5389dd(0xd0)])&&_0x32d43c(_0x3b935f[_0x5389dd(0xd2)],_0x2c3f5d[_0x5389dd(0xd2)]));}[_0x2c9169(0xe6)](_0x466aa1){const _0x186539=_0x2c9169,_0xfbd81a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x186539(0xe4)][_0x186539(0xdd)](_0x186539(0xd8))[_0x186539(0xe7)](_0xfbd81a,[_0x466aa1]),_0xfbd81a[_0x186539(0xda)][0x0];}[_0x2c9169(0xd1)](_0x3fe5ee){const _0x540d0d=_0x2c9169,_0x9b405=[];return this[_0x540d0d(0xe4)][_0x540d0d(0xdd)](_0x540d0d(0xd8))[_0x540d0d(0xe2)](_0x9b405,_0x3fe5ee),_0x9b405[0x0];}[_0x2c9169(0xe5)](_0x19617c){const _0x140519=_0x2c9169;return _0x140519(0xd8)==_0x19617c[_0x140519(0xe8)]&&_0x140519(0xcf)==_0x19617c[_0x140519(0xd2)][_0x140519(0xdf)]&&0x1==_0x19617c[_0x140519(0xcd)]&&!_0x19617c[_0x140519(0xd7)];}}
23
+ const _0x41ca80=_0x3aa0;(function(_0x217868,_0xee2234){const _0x1bee30=_0x3aa0,_0x4d9c3b=_0x217868();while(!![]){try{const _0x37232b=parseInt(_0x1bee30(0xe1))/0x1+-parseInt(_0x1bee30(0xd3))/0x2*(parseInt(_0x1bee30(0xef))/0x3)+-parseInt(_0x1bee30(0xd5))/0x4*(-parseInt(_0x1bee30(0xdf))/0x5)+parseInt(_0x1bee30(0xdb))/0x6+-parseInt(_0x1bee30(0xe7))/0x7*(parseInt(_0x1bee30(0xda))/0x8)+-parseInt(_0x1bee30(0xe5))/0x9*(-parseInt(_0x1bee30(0xe9))/0xa)+parseInt(_0x1bee30(0xd9))/0xb*(-parseInt(_0x1bee30(0xdc))/0xc);if(_0x37232b===_0xee2234)break;else _0x4d9c3b['push'](_0x4d9c3b['shift']());}catch(_0x51d981){_0x4d9c3b['push'](_0x4d9c3b['shift']());}}}(_0x3f06,0x97b8e));import{ActionCompressor as _0x1a0623}from'./actioncompressor.js';import{arePositionsEqual as _0x156a9e,getPositionShiftedBy as _0x1f7e40}from'../utils.js';import{cloneDeep as _0x54f960}from'es-toolkit/compat';function _0x3f06(){const _0x1b17f7=['1061341PJqFHr','_checkOperation','decompress','__className','337563WgbppE','buffers','343OadEQO','sourcePosition','160uuxgQA','_compareOperations','compress','_decompressSingleOperation','_getCompressorByName','_combineNext','9nzvzQd','$graveyard','targetPosition','654668uozmhR','root','1135248WNRjdt','howMany','_context','_splitCurrent','44YVxjSm','142408EMWeKa','4313496lGAIFl','3119736bJTfuH','_compressSingleOperation','wasUndone','20yUeHOg','MoveOperation'];_0x3f06=function(){return _0x1b17f7;};return _0x3f06();}function _0x3aa0(_0x4e2864,_0x4775fd){const _0x3f06cf=_0x3f06();return _0x3aa0=function(_0x3aa08a,_0x485ea4){_0x3aa08a=_0x3aa08a-0xd1;let _0x21fec2=_0x3f06cf[_0x3aa08a];return _0x21fec2;},_0x3aa0(_0x4e2864,_0x4775fd);}export class DeletingActionCompressor extends _0x1a0623{[_0x41ca80(0xee)](_0x40bc8a,_0x5157f8){const _0x4cce6f=_0x41ca80;return _0x5157f8[_0x4cce6f(0xd6)]++,_0x5157f8[_0x4cce6f(0xe8)]=_0x54f960(_0x40bc8a[_0x4cce6f(0xe8)]),_0x5157f8;}[_0x41ca80(0xd8)](_0x2bcfd6){const _0x1277f6=_0x41ca80,_0x1d99c8=_0x54f960(_0x2bcfd6);return _0x2bcfd6[_0x1277f6(0xd6)]--,_0x1d99c8[_0x1277f6(0xd6)]=0x1,_0x1d99c8[_0x1277f6(0xe8)]=_0x1f7e40(_0x1d99c8[_0x1277f6(0xe8)],_0x2bcfd6[_0x1277f6(0xd6)]),_0x1d99c8;}[_0x41ca80(0xea)](_0x156125,_0x4204b1){const _0x342ec9=_0x41ca80;return!(!this[_0x342ec9(0xe2)](_0x156125)||!this[_0x342ec9(0xe2)](_0x4204b1))&&(_0x156a9e(_0x1f7e40(_0x156125[_0x342ec9(0xe8)],-0x1),_0x4204b1[_0x342ec9(0xe8)])&&_0x156a9e(_0x156125[_0x342ec9(0xd2)],_0x4204b1[_0x342ec9(0xd2)]));}[_0x41ca80(0xdd)](_0x121e79){const _0x452307=_0x41ca80,_0x49412a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x452307(0xd7)][_0x452307(0xed)](_0x452307(0xe0))[_0x452307(0xeb)](_0x49412a,[_0x121e79]),_0x49412a[_0x452307(0xe6)][0x0];}[_0x41ca80(0xec)](_0x3dda27){const _0x2ec681=_0x41ca80,_0x3a5bb0=[];return this[_0x2ec681(0xd7)][_0x2ec681(0xed)](_0x2ec681(0xe0))[_0x2ec681(0xe3)](_0x3a5bb0,_0x3dda27),_0x3a5bb0[0x0];}[_0x41ca80(0xe2)](_0x57debc){const _0xee4e4f=_0x41ca80;return _0xee4e4f(0xe0)==_0x57debc[_0xee4e4f(0xe4)]&&_0xee4e4f(0xd1)==_0x57debc[_0xee4e4f(0xd2)][_0xee4e4f(0xd4)]&&0x1==_0x57debc[_0xee4e4f(0xd6)]&&!_0x57debc[_0xee4e4f(0xde)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55af(_0x368217,_0x398b35){const _0xf3f82d=_0xf3f8();return _0x55af=function(_0x55af0b,_0x285185){_0x55af0b=_0x55af0b-0x129;let _0x5c391c=_0xf3f82d[_0x55af0b];return _0x5c391c;},_0x55af(_0x368217,_0x398b35);}const _0x48775a=_0x55af;(function(_0x141843,_0x5b29a4){const _0x1ce6bb=_0x55af,_0x54e243=_0x141843();while(!![]){try{const _0x3bdbcd=-parseInt(_0x1ce6bb(0x136))/0x1*(parseInt(_0x1ce6bb(0x12a))/0x2)+parseInt(_0x1ce6bb(0x132))/0x3*(-parseInt(_0x1ce6bb(0x142))/0x4)+parseInt(_0x1ce6bb(0x13a))/0x5+-parseInt(_0x1ce6bb(0x129))/0x6*(parseInt(_0x1ce6bb(0x133))/0x7)+parseInt(_0x1ce6bb(0x146))/0x8*(-parseInt(_0x1ce6bb(0x13d))/0x9)+-parseInt(_0x1ce6bb(0x145))/0xa+parseInt(_0x1ce6bb(0x137))/0xb;if(_0x3bdbcd===_0x5b29a4)break;else _0x54e243['push'](_0x54e243['shift']());}catch(_0x23358a){_0x54e243['push'](_0x54e243['shift']());}}}(_0xf3f8,0x443ad));import{ActionCompressor as _0x1e4642}from'./actioncompressor.js';function _0xf3f8(){const _0xc71956=['2716930ZhWopE','2936DgXjJe','27726iXqqgK','132whFHiS','_compressSingleOperation','compress','targetPosition','_context','decompress','_splitCurrent','_decompressSingleOperation','195mdvTmg','42omUDUH','_checkOperation','__className','7429zImiYz','13390740AZxRaM','_compareOperations','_getCompressorByName','1402830zwMqWy','root','_combineNext','3168txFpej','wasUndone','sourcePosition','$graveyard','buffers','18432bAKHvN','MoveOperation','howMany'];_0xf3f8=function(){return _0xc71956;};return _0xf3f8();}import{arePositionsEqual as _0x208a07}from'../utils.js';import{cloneDeep as _0x23fef3}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1e4642{[_0x48775a(0x13c)](_0x24a7f6,_0x5df492){const _0x5aa610=_0x48775a;return _0x5df492[_0x5aa610(0x144)]++,_0x5df492;}[_0x48775a(0x130)](_0x15face){const _0x224d78=_0x48775a,_0x31f27b=_0x23fef3(_0x15face);return _0x31f27b[_0x224d78(0x144)]=0x1,_0x15face[_0x224d78(0x144)]--,_0x31f27b;}[_0x48775a(0x138)](_0x3a839b,_0x455ea6){const _0x5b6635=_0x48775a;return!(!this[_0x5b6635(0x134)](_0x3a839b)||!this[_0x5b6635(0x134)](_0x455ea6))&&(_0x208a07(_0x3a839b[_0x5b6635(0x13f)],_0x455ea6[_0x5b6635(0x13f)])&&_0x208a07(_0x3a839b[_0x5b6635(0x12d)],_0x455ea6[_0x5b6635(0x12d)]));}[_0x48775a(0x12b)](_0x2ac8ed){const _0x1f63c1=_0x48775a,_0xea87b3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1f63c1(0x12e)][_0x1f63c1(0x139)](_0x1f63c1(0x143))[_0x1f63c1(0x12c)](_0xea87b3,[_0x2ac8ed]),_0xea87b3[_0x1f63c1(0x141)][0x0];}[_0x48775a(0x131)](_0x161979){const _0x37472a=_0x48775a,_0x3b2933=[];return this[_0x37472a(0x12e)][_0x37472a(0x139)](_0x37472a(0x143))[_0x37472a(0x12f)](_0x3b2933,_0x161979),_0x3b2933[0x0];}[_0x48775a(0x134)](_0x595336){const _0x48aba2=_0x48775a;return _0x48aba2(0x143)==_0x595336[_0x48aba2(0x135)]&&_0x48aba2(0x140)==_0x595336[_0x48aba2(0x12d)][_0x48aba2(0x13b)]&&0x1==_0x595336[_0x48aba2(0x144)]&&!_0x595336[_0x48aba2(0x13e)];}}
23
+ const _0x154579=_0x970f;(function(_0x5b85d6,_0x334fc9){const _0x206572=_0x970f,_0x5edf99=_0x5b85d6();while(!![]){try{const _0x4f8535=-parseInt(_0x206572(0x162))/0x1*(-parseInt(_0x206572(0x15d))/0x2)+parseInt(_0x206572(0x15c))/0x3+-parseInt(_0x206572(0x161))/0x4*(parseInt(_0x206572(0x16f))/0x5)+-parseInt(_0x206572(0x16c))/0x6*(parseInt(_0x206572(0x165))/0x7)+-parseInt(_0x206572(0x15a))/0x8+-parseInt(_0x206572(0x16e))/0x9+parseInt(_0x206572(0x16a))/0xa;if(_0x4f8535===_0x334fc9)break;else _0x5edf99['push'](_0x5edf99['shift']());}catch(_0x6e9480){_0x5edf99['push'](_0x5edf99['shift']());}}}(_0x7b70,0xcc89b));import{ActionCompressor as _0x230990}from'./actioncompressor.js';function _0x7b70(){const _0x10a222=['sourcePosition','$graveyard','25107190nDZrPf','buffers','618uWgULC','decompress','13011309AEiAxG','10hYHncQ','wasUndone','_checkOperation','__className','_combineNext','_compressSingleOperation','compress','MoveOperation','4748008pluWOj','_decompressSingleOperation','2861337UCBPKO','4rvOkgZ','_context','_splitCurrent','howMany','908216rlCbdT','475543kjYnaD','_getCompressorByName','root','73703FQltMU','targetPosition','_compareOperations'];_0x7b70=function(){return _0x10a222;};return _0x7b70();}import{arePositionsEqual as _0x3586bc}from'../utils.js';import{cloneDeep as _0x47215}from'es-toolkit/compat';function _0x970f(_0x49caab,_0x2f3bbb){const _0x7b708b=_0x7b70();return _0x970f=function(_0x970f37,_0x3ff4fb){_0x970f37=_0x970f37-0x155;let _0x245df7=_0x7b708b[_0x970f37];return _0x245df7;},_0x970f(_0x49caab,_0x2f3bbb);}export class ForwardDeletingActionCompressor extends _0x230990{[_0x154579(0x156)](_0x35d54f,_0x3177b8){const _0x209116=_0x154579;return _0x3177b8[_0x209116(0x160)]++,_0x3177b8;}[_0x154579(0x15f)](_0x27f641){const _0x4e4603=_0x154579,_0x2dedeb=_0x47215(_0x27f641);return _0x2dedeb[_0x4e4603(0x160)]=0x1,_0x27f641[_0x4e4603(0x160)]--,_0x2dedeb;}[_0x154579(0x167)](_0x43b2c8,_0x10713b){const _0x49d00=_0x154579;return!(!this[_0x49d00(0x171)](_0x43b2c8)||!this[_0x49d00(0x171)](_0x10713b))&&(_0x3586bc(_0x43b2c8[_0x49d00(0x168)],_0x10713b[_0x49d00(0x168)])&&_0x3586bc(_0x43b2c8[_0x49d00(0x166)],_0x10713b[_0x49d00(0x166)]));}[_0x154579(0x157)](_0x32ebe9){const _0x290411=_0x154579,_0x2f18b7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x290411(0x15e)][_0x290411(0x163)](_0x290411(0x159))[_0x290411(0x158)](_0x2f18b7,[_0x32ebe9]),_0x2f18b7[_0x290411(0x16b)][0x0];}[_0x154579(0x15b)](_0x505f55){const _0x45cecf=_0x154579,_0x22661e=[];return this[_0x45cecf(0x15e)][_0x45cecf(0x163)](_0x45cecf(0x159))[_0x45cecf(0x16d)](_0x22661e,_0x505f55),_0x22661e[0x0];}[_0x154579(0x171)](_0x45e7fd){const _0x2dc81e=_0x154579;return _0x2dc81e(0x159)==_0x45e7fd[_0x2dc81e(0x155)]&&_0x2dc81e(0x169)==_0x45e7fd[_0x2dc81e(0x166)][_0x2dc81e(0x164)]&&0x1==_0x45e7fd[_0x2dc81e(0x160)]&&!_0x45e7fd[_0x2dc81e(0x170)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21a5(_0x45d48d,_0x447555){const _0x284719=_0x2847();return _0x21a5=function(_0x21a515,_0x33d89f){_0x21a515=_0x21a515-0xb3;let _0x5258e4=_0x284719[_0x21a515];return _0x5258e4;},_0x21a5(_0x45d48d,_0x447555);}const _0x48295e=_0x21a5;(function(_0x480ac2,_0x26fdf3){const _0x222bc4=_0x21a5,_0x4ee9c0=_0x480ac2();while(!![]){try{const _0x8512b9=-parseInt(_0x222bc4(0xb9))/0x1+-parseInt(_0x222bc4(0xbd))/0x2+parseInt(_0x222bc4(0xd4))/0x3+-parseInt(_0x222bc4(0xbc))/0x4+-parseInt(_0x222bc4(0xc7))/0x5+parseInt(_0x222bc4(0xc3))/0x6+parseInt(_0x222bc4(0xb3))/0x7;if(_0x8512b9===_0x26fdf3)break;else _0x4ee9c0['push'](_0x4ee9c0['shift']());}catch(_0x1e18ad){_0x4ee9c0['push'](_0x4ee9c0['shift']());}}}(_0x2847,0xb9d23));import{ActionCompressor as _0x3cdff0}from'./actioncompressor.js';import{arePositionsEqual as _0x74bea0,getPositionShiftedBy as _0x1edd0b}from'../utils.js';function _0x2847(){const _0x1b45af=['_compressSingleOperation','substr','position','length','_compareAttributes','nodes','value','4130295EjQoPb','3171217YIJGXy','wasUndone','_getCompressorByName','from','every','InsertOperation','57662zVyZuN','_splitCurrent','_decompressSingleOperation','515100lDXAaD','275508zTcgQD','buffers','keys','_checkOperation','next','decompress','1413084YqzQDv','_context','iterator','_combineNext','4899980srqQyJ','__className','_compareOperations','attributes','compress','data'];_0x2847=function(){return _0x1b45af;};return _0x2847();}import{cloneDeep as _0x4aa9dd}from'es-toolkit/compat';export class TypingActionCompressor extends _0x3cdff0{[_0x48295e(0xc6)](_0x58320e,_0x4eeb08){const _0x8b4b9=_0x48295e;return _0x4eeb08[_0x8b4b9(0xd2)][0x0][_0x8b4b9(0xcc)]+=_0x58320e[_0x8b4b9(0xd2)][0x0][_0x8b4b9(0xcc)],_0x4eeb08;}[_0x48295e(0xba)](_0x5e8968){const _0x1a35bd=_0x48295e,_0x45452b=_0x4aa9dd(_0x5e8968),_0x1e93d6=_0x45452b[_0x1a35bd(0xd2)][0x0],_0xaa2e39=_0x5e8968[_0x1a35bd(0xd2)][0x0],_0x411be5=_0xaa2e39[_0x1a35bd(0xcc)][Symbol[_0x1a35bd(0xc5)]]()[_0x1a35bd(0xc1)]()[_0x1a35bd(0xd3)],_0x184f81=_0x411be5[_0x1a35bd(0xd0)];return _0x1e93d6[_0x1a35bd(0xcc)]=_0x411be5,_0xaa2e39[_0x1a35bd(0xcc)]=_0xaa2e39[_0x1a35bd(0xcc)][_0x1a35bd(0xce)](_0x184f81),_0x5e8968[_0x1a35bd(0xcf)]=_0x1edd0b(_0x5e8968[_0x1a35bd(0xcf)],_0x184f81),_0x45452b;}[_0x48295e(0xc9)](_0x4e4002,_0xea5dd7){const _0x1b0d8f=_0x48295e;if(this[_0x1b0d8f(0xc0)](_0x4e4002)&&this[_0x1b0d8f(0xc0)](_0xea5dd7)){const _0x27547f=_0x4e4002[_0x1b0d8f(0xd2)][0x0][_0x1b0d8f(0xcc)][_0x1b0d8f(0xd0)],_0x1ca244=_0x74bea0(_0x1edd0b(_0x4e4002[_0x1b0d8f(0xcf)],_0x27547f),_0xea5dd7[_0x1b0d8f(0xcf)]),_0x19e107=_0x4e4002[_0x1b0d8f(0xd2)][0x0],_0x3318dd=_0xea5dd7[_0x1b0d8f(0xd2)][0x0];return _0x1ca244&&this[_0x1b0d8f(0xd1)](_0x19e107,_0x3318dd);}return!0x1;}[_0x48295e(0xcd)](_0x4845b9){const _0x50d9e4=_0x48295e,_0x4281d7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x50d9e4(0xc4)][_0x50d9e4(0xb5)](_0x50d9e4(0xb8))[_0x50d9e4(0xcb)](_0x4281d7,[_0x4845b9]),_0x4281d7[_0x50d9e4(0xbe)][0x0];}[_0x48295e(0xbb)](_0x39ee07){const _0x39e25a=_0x48295e,_0x50ef75=[];return this[_0x39e25a(0xc4)][_0x39e25a(0xb5)](_0x39e25a(0xb8))[_0x39e25a(0xc2)](_0x50ef75,_0x39ee07),_0x50ef75[0x0];}[_0x48295e(0xc0)](_0x1c97e0){const _0x1e8454=_0x48295e;return _0x1e8454(0xb8)==_0x1c97e0[_0x1e8454(0xc8)]&&0x1==_0x1c97e0[_0x1e8454(0xd2)][_0x1e8454(0xd0)]&&_0x1c97e0[_0x1e8454(0xd2)][0x0][_0x1e8454(0xcc)]&&!_0x1c97e0[_0x1e8454(0xb4)]&&0x1==Array[_0x1e8454(0xb6)](_0x1c97e0[_0x1e8454(0xd2)][0x0][_0x1e8454(0xcc)])[_0x1e8454(0xd0)];}[_0x48295e(0xd1)](_0x20ed3b,_0x1c60aa){const _0x1a938f=_0x48295e,_0x40b8bb=Object[_0x1a938f(0xbf)](_0x20ed3b[_0x1a938f(0xca)]||{}),_0xf8f5d1=Object[_0x1a938f(0xbf)](_0x1c60aa[_0x1a938f(0xca)]||{});return _0x40b8bb[_0x1a938f(0xd0)]===_0xf8f5d1[_0x1a938f(0xd0)]&&_0x40b8bb[_0x1a938f(0xb7)](_0x2095fd=>_0x1c60aa[_0x1a938f(0xca)][_0x2095fd]&&_0x1c60aa[_0x1a938f(0xca)][_0x2095fd]===_0x20ed3b[_0x1a938f(0xca)][_0x2095fd]);}}
23
+ const _0x44e13c=_0x81aa;function _0x1f4e(){const _0x2c5d05=['keys','InsertOperation','590022nweTwD','_getCompressorByName','iterator','data','from','decompress','11819990AnPWBp','5115eGRmtS','12CXLOrz','_compareOperations','_checkOperation','substr','length','_combineNext','__className','next','42530279aBOraU','49wWcbGc','value','_decompressSingleOperation','2629740dxBbVW','127oraujY','_compareAttributes','6514jAIVuU','position','9KbVpYv','buffers','wasUndone','_splitCurrent','_context','every','1772eivohj','attributes','nodes','compress','_compressSingleOperation','9706072gZsXMI'];_0x1f4e=function(){return _0x2c5d05;};return _0x1f4e();}(function(_0x9b4349,_0x44f2f){const _0x1f8fc4=_0x81aa,_0x25648d=_0x9b4349();while(!![]){try{const _0x813d7c=parseInt(_0x1f8fc4(0x9f))/0x1*(parseInt(_0x1f8fc4(0xa1))/0x2)+-parseInt(_0x1f8fc4(0x9e))/0x3+parseInt(_0x1f8fc4(0xa9))/0x4*(parseInt(_0x1f8fc4(0x91))/0x5)+-parseInt(_0x1f8fc4(0xb1))/0x6*(parseInt(_0x1f8fc4(0x9b))/0x7)+-parseInt(_0x1f8fc4(0xae))/0x8*(parseInt(_0x1f8fc4(0xa3))/0x9)+-parseInt(_0x1f8fc4(0x90))/0xa+parseInt(_0x1f8fc4(0x9a))/0xb*(parseInt(_0x1f8fc4(0x92))/0xc);if(_0x813d7c===_0x44f2f)break;else _0x25648d['push'](_0x25648d['shift']());}catch(_0x3cb41e){_0x25648d['push'](_0x25648d['shift']());}}}(_0x1f4e,0xbcb9c));function _0x81aa(_0x36f34c,_0x54449f){const _0x1f4e45=_0x1f4e();return _0x81aa=function(_0x81aaff,_0x59a65e){_0x81aaff=_0x81aaff-0x8b;let _0x2bff0a=_0x1f4e45[_0x81aaff];return _0x2bff0a;},_0x81aa(_0x36f34c,_0x54449f);}import{ActionCompressor as _0x15952c}from'./actioncompressor.js';import{arePositionsEqual as _0x1c0f36,getPositionShiftedBy as _0x4bb7a7}from'../utils.js';import{cloneDeep as _0x49ad8d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15952c{[_0x44e13c(0x97)](_0x1deac7,_0x495f5b){const _0x15c1fe=_0x44e13c;return _0x495f5b[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)]+=_0x1deac7[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)],_0x495f5b;}[_0x44e13c(0xa6)](_0x5291d3){const _0x2cc5cf=_0x44e13c,_0x41694d=_0x49ad8d(_0x5291d3),_0x429adb=_0x41694d[_0x2cc5cf(0xab)][0x0],_0x209a01=_0x5291d3[_0x2cc5cf(0xab)][0x0],_0x4ae4a7=_0x209a01[_0x2cc5cf(0x8d)][Symbol[_0x2cc5cf(0x8c)]]()[_0x2cc5cf(0x99)]()[_0x2cc5cf(0x9c)],_0x5be8ae=_0x4ae4a7[_0x2cc5cf(0x96)];return _0x429adb[_0x2cc5cf(0x8d)]=_0x4ae4a7,_0x209a01[_0x2cc5cf(0x8d)]=_0x209a01[_0x2cc5cf(0x8d)][_0x2cc5cf(0x95)](_0x5be8ae),_0x5291d3[_0x2cc5cf(0xa2)]=_0x4bb7a7(_0x5291d3[_0x2cc5cf(0xa2)],_0x5be8ae),_0x41694d;}[_0x44e13c(0x93)](_0x2b0749,_0x36c584){const _0x174dac=_0x44e13c;if(this[_0x174dac(0x94)](_0x2b0749)&&this[_0x174dac(0x94)](_0x36c584)){const _0xe70f35=_0x2b0749[_0x174dac(0xab)][0x0][_0x174dac(0x8d)][_0x174dac(0x96)],_0x76d00c=_0x1c0f36(_0x4bb7a7(_0x2b0749[_0x174dac(0xa2)],_0xe70f35),_0x36c584[_0x174dac(0xa2)]),_0x13d83e=_0x2b0749[_0x174dac(0xab)][0x0],_0x424c5c=_0x36c584[_0x174dac(0xab)][0x0];return _0x76d00c&&this[_0x174dac(0xa0)](_0x13d83e,_0x424c5c);}return!0x1;}[_0x44e13c(0xad)](_0x2e5698){const _0x398ffd=_0x44e13c,_0x5112c7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x398ffd(0xa7)][_0x398ffd(0x8b)](_0x398ffd(0xb0))[_0x398ffd(0xac)](_0x5112c7,[_0x2e5698]),_0x5112c7[_0x398ffd(0xa4)][0x0];}[_0x44e13c(0x9d)](_0x34c3ee){const _0x5f0a3f=_0x44e13c,_0x197bb3=[];return this[_0x5f0a3f(0xa7)][_0x5f0a3f(0x8b)](_0x5f0a3f(0xb0))[_0x5f0a3f(0x8f)](_0x197bb3,_0x34c3ee),_0x197bb3[0x0];}[_0x44e13c(0x94)](_0x2d38a6){const _0x30c89f=_0x44e13c;return _0x30c89f(0xb0)==_0x2d38a6[_0x30c89f(0x98)]&&0x1==_0x2d38a6[_0x30c89f(0xab)][_0x30c89f(0x96)]&&_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)]&&!_0x2d38a6[_0x30c89f(0xa5)]&&0x1==Array[_0x30c89f(0x8e)](_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)])[_0x30c89f(0x96)];}[_0x44e13c(0xa0)](_0x39ae54,_0x4a24b4){const _0x167053=_0x44e13c,_0x20eb09=Object[_0x167053(0xaf)](_0x39ae54[_0x167053(0xaa)]||{}),_0xe756a6=Object[_0x167053(0xaf)](_0x4a24b4[_0x167053(0xaa)]||{});return _0x20eb09[_0x167053(0x96)]===_0xe756a6[_0x167053(0x96)]&&_0x20eb09[_0x167053(0xa8)](_0x3379f7=>_0x4a24b4[_0x167053(0xaa)][_0x3379f7]&&_0x4a24b4[_0x167053(0xaa)][_0x3379f7]===_0x39ae54[_0x167053(0xaa)][_0x3379f7]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2caa44=_0x412f;function _0x412f(_0x17066f,_0x16bfbd){const _0x55dce7=_0x55dc();return _0x412f=function(_0x412f8c,_0x202e02){_0x412f8c=_0x412f8c-0x1d0;let _0x588be7=_0x55dce7[_0x412f8c];return _0x588be7;},_0x412f(_0x17066f,_0x16bfbd);}(function(_0x5d57a7,_0x20324a){const _0x4b0901=_0x412f,_0x2f7fd9=_0x5d57a7();while(!![]){try{const _0x3f56a0=parseInt(_0x4b0901(0x1db))/0x1+parseInt(_0x4b0901(0x1dc))/0x2+parseInt(_0x4b0901(0x1e1))/0x3+-parseInt(_0x4b0901(0x1d9))/0x4+parseInt(_0x4b0901(0x1da))/0x5+parseInt(_0x4b0901(0x1e3))/0x6*(parseInt(_0x4b0901(0x1d4))/0x7)+-parseInt(_0x4b0901(0x1d8))/0x8;if(_0x3f56a0===_0x20324a)break;else _0x2f7fd9['push'](_0x2f7fd9['shift']());}catch(_0xbf16d3){_0x2f7fd9['push'](_0x2f7fd9['shift']());}}}(_0x55dc,0x1d5e2));import{ActionCompressor as _0x5b0ef7}from'./actioncompressor.js';import{arePositionsEqual as _0x5c90bf}from'../utils.js';function _0x55dc(){const _0x38100c=['split','_compareOperations','user:','__className','decompress','MarkerOperation','start','_context','end','name','push','toNone','162848lpbxDi','startsWith','user:position:','_decompressSingleOperation','3771152qhSvKk','605260rjMKqW','381640ARnbUd','172604cEpPwL','460584fCHdfi','stickiness','types','newRange','_compressSingleOperation','93405JYgyPX','_id','60SVrUJH','oldRange','compress','buffers','_getCompressorByName','shift'];_0x55dc=function(){return _0x38100c;};return _0x55dc();}import{cloneDeep as _0x5c49ff}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x5b0ef7{[_0x2caa44(0x1e5)](_0x13c194,_0x35f7ac){const _0x59bde0=_0x2caa44;if(!this[_0x59bde0(0x1ea)](_0x35f7ac[0x0],_0x35f7ac[0x1]))return!0x1;const _0x4daa22=_0x35f7ac[_0x59bde0(0x1e8)]();return _0x4daa22[_0x59bde0(0x1e4)]=null,_0x4daa22[_0x59bde0(0x1df)]&&_0x5c90bf(_0x4daa22[_0x59bde0(0x1df)][_0x59bde0(0x1ef)],_0x4daa22[_0x59bde0(0x1df)][_0x59bde0(0x1d0)])&&(_0x4daa22[_0x59bde0(0x1df)][_0x59bde0(0x1d0)]=null),_0x35f7ac[_0x59bde0(0x1e8)](),_0x13c194[_0x59bde0(0x1de)][_0x59bde0(0x1d2)](this[_0x59bde0(0x1e2)]),_0x13c194[_0x59bde0(0x1de)][_0x59bde0(0x1d2)](0x0),_0x13c194[_0x59bde0(0x1e6)][_0x59bde0(0x1d2)](this[_0x59bde0(0x1e0)](_0x4daa22)),!0x0;}[_0x2caa44(0x1ed)](_0x20e5bc,_0x42a6b6){const _0x2940c8=_0x2caa44,_0x190969=this[_0x2940c8(0x1d7)](_0x42a6b6);_0x190969[_0x2940c8(0x1df)]&&!_0x190969[_0x2940c8(0x1df)][_0x2940c8(0x1d0)]&&(_0x190969[_0x2940c8(0x1df)][_0x2940c8(0x1d0)]=_0x5c49ff(_0x190969[_0x2940c8(0x1df)][_0x2940c8(0x1ef)]));const _0x2b4680=_0x5c49ff(_0x190969);_0x2b4680[_0x2940c8(0x1df)]&&(_0x2b4680[_0x2940c8(0x1df)][_0x2940c8(0x1ef)][_0x2940c8(0x1dd)]=_0x2940c8(0x1d3),_0x2b4680[_0x2940c8(0x1df)][_0x2940c8(0x1d0)]=_0x5c49ff(_0x2b4680[_0x2940c8(0x1df)][_0x2940c8(0x1ef)])),_0x2b4680[_0x2940c8(0x1d1)]=_0x2940c8(0x1d6)+_0x2b4680[_0x2940c8(0x1d1)][_0x2940c8(0x1e9)](':')[0x2],_0x42a6b6[_0x2940c8(0x1de)][_0x2940c8(0x1e8)](),_0x20e5bc[_0x2940c8(0x1d2)](_0x190969),_0x20e5bc[_0x2940c8(0x1d2)](_0x2b4680);}[_0x2caa44(0x1e0)](_0x3e884e){const _0x2f88fa=_0x2caa44,_0x36c5bc={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2f88fa(0x1f0)][_0x2f88fa(0x1e7)](_0x2f88fa(0x1ee))[_0x2f88fa(0x1e5)](_0x36c5bc,[_0x3e884e]),_0x36c5bc[_0x2f88fa(0x1e6)][0x0];}[_0x2caa44(0x1d7)](_0x256ff9){const _0x6062a=_0x2caa44,_0x2b23b0=[];return this[_0x6062a(0x1f0)][_0x6062a(0x1e7)](_0x6062a(0x1ee))[_0x6062a(0x1ed)](_0x2b23b0,_0x256ff9),_0x2b23b0[0x0];}[_0x2caa44(0x1ea)](_0x43bf65,_0x468911){const _0x1ee87e=_0x2caa44;return!(!_0x43bf65||!_0x468911)&&(_0x1ee87e(0x1ee)==_0x43bf65[_0x1ee87e(0x1ec)]&&_0x1ee87e(0x1ee)==_0x468911[_0x1ee87e(0x1ec)]&&!(!_0x43bf65[_0x1ee87e(0x1d1)][_0x1ee87e(0x1d5)](_0x1ee87e(0x1eb))||!_0x468911[_0x1ee87e(0x1d1)][_0x1ee87e(0x1d5)](_0x1ee87e(0x1eb))||_0x43bf65[_0x1ee87e(0x1d1)]==_0x468911[_0x1ee87e(0x1d1)]));}}
23
+ function _0x15d7(){const _0x4a1bd2=['compress','__className','oldRange','_compareOperations','buffers','_decompressSingleOperation','push','user:position:','startsWith','split','stickiness','decompress','388378rCdyjA','MarkerOperation','10gwRIEv','newRange','5548854sZUfZJ','287255lfGqpl','_id','user:','_getCompressorByName','_context','types','2450583eJofNZ','_compressSingleOperation','6NSvJAf','toNone','9578000XUDmrn','shift','name','start','end','7ExZltj','4444AJxfHt','42384CykQQY','4pGHeYV','1840188JQudBQ'];_0x15d7=function(){return _0x4a1bd2;};return _0x15d7();}const _0x3d35a3=_0x3b6d;(function(_0x174fbf,_0x5bc734){const _0x28fd5f=_0x3b6d,_0x39b279=_0x174fbf();while(!![]){try{const _0x161a47=-parseInt(_0x28fd5f(0xea))/0x1*(parseInt(_0x28fd5f(0xdd))/0x2)+parseInt(_0x28fd5f(0xf5))/0x3+parseInt(_0x28fd5f(0xf4))/0x4*(-parseInt(_0x28fd5f(0xe2))/0x5)+-parseInt(_0x28fd5f(0xe1))/0x6*(parseInt(_0x28fd5f(0xf1))/0x7)+parseInt(_0x28fd5f(0xec))/0x8+-parseInt(_0x28fd5f(0xe8))/0x9*(parseInt(_0x28fd5f(0xdf))/0xa)+parseInt(_0x28fd5f(0xf2))/0xb*(parseInt(_0x28fd5f(0xf3))/0xc);if(_0x161a47===_0x5bc734)break;else _0x39b279['push'](_0x39b279['shift']());}catch(_0x188e77){_0x39b279['push'](_0x39b279['shift']());}}}(_0x15d7,0xc7ae5));import{ActionCompressor as _0x16366b}from'./actioncompressor.js';import{arePositionsEqual as _0x443211}from'../utils.js';function _0x3b6d(_0x578df2,_0x49d95c){const _0x15d7e3=_0x15d7();return _0x3b6d=function(_0x3b6de9,_0x67d24a){_0x3b6de9=_0x3b6de9-0xd2;let _0x3b6309=_0x15d7e3[_0x3b6de9];return _0x3b6309;},_0x3b6d(_0x578df2,_0x49d95c);}import{cloneDeep as _0x42f419}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x16366b{[_0x3d35a3(0xf6)](_0x304cb5,_0x4022a5){const _0x2bc2fd=_0x3d35a3;if(!this[_0x2bc2fd(0xd4)](_0x4022a5[0x0],_0x4022a5[0x1]))return!0x1;const _0x20c277=_0x4022a5[_0x2bc2fd(0xed)]();return _0x20c277[_0x2bc2fd(0xd3)]=null,_0x20c277[_0x2bc2fd(0xe0)]&&_0x443211(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xef)],_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)])&&(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)]=null),_0x4022a5[_0x2bc2fd(0xed)](),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe3)]),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](0x0),_0x304cb5[_0x2bc2fd(0xd5)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe9)](_0x20c277)),!0x0;}[_0x3d35a3(0xdc)](_0x3a6f7e,_0xb17051){const _0x42b783=_0x3d35a3,_0x585e20=this[_0x42b783(0xd6)](_0xb17051);_0x585e20[_0x42b783(0xe0)]&&!_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]&&(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xef)]));const _0x374c25=_0x42f419(_0x585e20);_0x374c25[_0x42b783(0xe0)]&&(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)][_0x42b783(0xdb)]=_0x42b783(0xeb),_0x374c25[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)])),_0x374c25[_0x42b783(0xee)]=_0x42b783(0xd8)+_0x374c25[_0x42b783(0xee)][_0x42b783(0xda)](':')[0x2],_0xb17051[_0x42b783(0xe7)][_0x42b783(0xed)](),_0x3a6f7e[_0x42b783(0xd7)](_0x585e20),_0x3a6f7e[_0x42b783(0xd7)](_0x374c25);}[_0x3d35a3(0xe9)](_0xc99325){const _0x242e3c=_0x3d35a3,_0x3113be={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x242e3c(0xe6)][_0x242e3c(0xe5)](_0x242e3c(0xde))[_0x242e3c(0xf6)](_0x3113be,[_0xc99325]),_0x3113be[_0x242e3c(0xd5)][0x0];}[_0x3d35a3(0xd6)](_0x34dcc8){const _0xc863b4=_0x3d35a3,_0x534d7b=[];return this[_0xc863b4(0xe6)][_0xc863b4(0xe5)](_0xc863b4(0xde))[_0xc863b4(0xdc)](_0x534d7b,_0x34dcc8),_0x534d7b[0x0];}[_0x3d35a3(0xd4)](_0x1963d5,_0x32f715){const _0x57dfb6=_0x3d35a3;return!(!_0x1963d5||!_0x32f715)&&(_0x57dfb6(0xde)==_0x1963d5[_0x57dfb6(0xd2)]&&_0x57dfb6(0xde)==_0x32f715[_0x57dfb6(0xd2)]&&!(!_0x1963d5[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||!_0x32f715[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||_0x1963d5[_0x57dfb6(0xee)]==_0x32f715[_0x57dfb6(0xee)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dc128=_0x404c;(function(_0x134921,_0x36b23a){const _0x17c82c=_0x404c,_0x4a057e=_0x134921();while(!![]){try{const _0x143768=-parseInt(_0x17c82c(0x1e4))/0x1+-parseInt(_0x17c82c(0x1c8))/0x2*(parseInt(_0x17c82c(0x1ee))/0x3)+parseInt(_0x17c82c(0x1ed))/0x4*(parseInt(_0x17c82c(0x1d4))/0x5)+parseInt(_0x17c82c(0x1e8))/0x6*(-parseInt(_0x17c82c(0x1ea))/0x7)+parseInt(_0x17c82c(0x1e7))/0x8*(parseInt(_0x17c82c(0x1d3))/0x9)+parseInt(_0x17c82c(0x1d8))/0xa+parseInt(_0x17c82c(0x1e6))/0xb;if(_0x143768===_0x36b23a)break;else _0x4a057e['push'](_0x4a057e['shift']());}catch(_0x5adff8){_0x4a057e['push'](_0x4a057e['shift']());}}}(_0x2066,0x90348));import{CKEditorError as _0x5d4670}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4c8166}from'./protobuffactory.js';import{OperationCompressor as _0x5b5440}from'./operationcompressor/operationcompressor.js';function _0x404c(_0x57d347,_0x703f91){const _0x20663d=_0x2066();return _0x404c=function(_0x404c52,_0x370c1a){_0x404c52=_0x404c52-0x1c1;let _0x4bdb86=_0x20663d[_0x404c52];return _0x4bdb86;},_0x404c(_0x57d347,_0x703f91);}import{AttributeOperationCompressor as _0x3451a2}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xa23f75}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x36761f}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x1284f6}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x50ceaf}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5f3768}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5c331e}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x331e26}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3e27ee}from'./actioncompressor/userselectionactioncompressor.js';function _0x2066(){const _0x1fa100=['decompress-compressor-not-found','types','forEach','InsertOperation','no-operations-provided','NoOperation','getDescriptor','AttributeOperation','988170lsWfTa','baseVersion','20410665sMMSig','2118408PPVgbz','247980VEOelq','CommentMarkerOperation','105ppkqIt','RootAttributeOperation','suggestion','25292IxZHzT','3bELHtE','decompress','SplitOperation','_registerCompressor','_getCompressorByName','MarkerOperation','_registerActionCompressor','_registerOperationCompressor','SuggestionMarkerOperation','TypingAction','2134948fcPVft','set','comment','UserSelectionAction','length','MoveOperation','_compressorById','DeletingAction','RootOperation','__className','_compressorByName','9HVTUkO','895OlSoUT','RenameOperation','compress','get','141250XZHMyh','MergeOperation','ForwardDeletingAction','_protobufFactory'];_0x2066=function(){return _0x1fa100;};return _0x2066();}export class Compressor{[_0x4dc128(0x1ce)];[_0x4dc128(0x1d2)];[_0x4dc128(0x1db)];constructor(){const _0x174766=_0x4dc128;this[_0x174766(0x1ce)]=new Map(),this[_0x174766(0x1d2)]=new Map(),this[_0x174766(0x1db)]=new _0x4c8166();const _0x12853c=this[_0x174766(0x1db)][_0x174766(0x1e2)](_0x174766(0x1c3));this[_0x174766(0x1c1)](0x1,_0x174766(0x1e1),new _0x1284f6(0x1,_0x174766(0x1e1),void 0x0)),this[_0x174766(0x1c5)](0xa,_0x174766(0x1e3),_0x3451a2),this[_0x174766(0x1c5)](0xb,_0x174766(0x1df),_0xa23f75),this[_0x174766(0x1c5)](0xc,_0x174766(0x1c3),_0x36761f),this[_0x174766(0x1c5)](0xd,_0x174766(0x1d9),_0x5b5440),this[_0x174766(0x1c5)](0xe,_0x174766(0x1cd),_0x5b5440),this[_0x174766(0x1c5)](0xf,_0x174766(0x1d5),_0x5b5440),this[_0x174766(0x1c5)](0x10,_0x174766(0x1eb),_0x3451a2),this[_0x174766(0x1c5)](0x11,_0x174766(0x1f0),_0x5b5440),this[_0x174766(0x1c1)](0x12,_0x174766(0x1e9),new _0x50ceaf(0x12,_0x174766(0x1c3),_0x12853c,_0x174766(0x1ca))),this[_0x174766(0x1c1)](0x13,_0x174766(0x1c6),new _0x50ceaf(0x13,_0x174766(0x1c3),_0x12853c,_0x174766(0x1ec))),this[_0x174766(0x1c5)](0x14,_0x174766(0x1d0),_0x5b5440),this[_0x174766(0x1c4)](0x64,_0x174766(0x1c7),_0x5f3768),this[_0x174766(0x1c4)](0x65,_0x174766(0x1cf),_0x5c331e),this[_0x174766(0x1c4)](0x66,_0x174766(0x1da),_0x331e26),this[_0x174766(0x1c4)](0x67,_0x174766(0x1cb),_0x3e27ee);}[_0x4dc128(0x1d6)](_0x3a422e){const _0x5ba0ab=_0x4dc128;if(!_0x3a422e||!_0x3a422e[0x0])throw new _0x5d4670(_0x5ba0ab(0x1e0),this);const _0x5e22ba={'types':[],'buffers':[],'baseVersion':_0x3a422e[0x0][_0x5ba0ab(0x1e5)]};for(;_0x3a422e[_0x5ba0ab(0x1cc)];)this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1cb))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1c7))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1cf))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1da))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1e9))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x5ba0ab(0x1c6))[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e)||this[_0x5ba0ab(0x1c2)](_0x3a422e[0x0][_0x5ba0ab(0x1d1)])[_0x5ba0ab(0x1d6)](_0x5e22ba,_0x3a422e);return _0x5e22ba;}[_0x4dc128(0x1ef)](_0x3185ee){const _0x25f60a=_0x4dc128,_0xf7b44f=[];for(;_0x3185ee[_0x25f60a(0x1dd)][_0x25f60a(0x1cc)];){const _0x4a3c42=this[_0x25f60a(0x1ce)][_0x25f60a(0x1d7)](_0x3185ee[_0x25f60a(0x1dd)][0x0]);if(!_0x4a3c42)throw new _0x5d4670(_0x25f60a(0x1dc),this,{'type':_0x3185ee[_0x25f60a(0x1dd)][0x0]});_0x4a3c42[_0x25f60a(0x1ef)](_0xf7b44f,_0x3185ee);}return _0xf7b44f[_0x25f60a(0x1de)]((_0x389c62,_0x5b6b50)=>_0x389c62[_0x25f60a(0x1e5)]=_0x3185ee[_0x25f60a(0x1e5)]+_0x5b6b50),_0xf7b44f;}[_0x4dc128(0x1c2)](_0xbe0f50){const _0x129a6d=_0x4dc128;return this[_0x129a6d(0x1d2)][_0x129a6d(0x1d7)](_0xbe0f50);}[_0x4dc128(0x1c5)](_0x291504,_0x314f9c,_0x4a659e){const _0x461768=_0x4dc128,_0x3336ea=new _0x4a659e(_0x291504,_0x314f9c,this[_0x461768(0x1db)][_0x461768(0x1e2)](_0x314f9c));this[_0x461768(0x1c1)](_0x291504,_0x314f9c,_0x3336ea);}[_0x4dc128(0x1c4)](_0x1b6c72,_0xa34785,_0x2deb57){const _0x59b305=_0x4dc128,_0x44b7ec=new _0x2deb57(_0x1b6c72,this);this[_0x59b305(0x1c1)](_0x1b6c72,_0xa34785,_0x44b7ec);}[_0x4dc128(0x1c1)](_0x24e424,_0x525ebf,_0x3daa22){const _0x21289f=_0x4dc128;this[_0x21289f(0x1ce)][_0x21289f(0x1c9)](_0x24e424,_0x3daa22),this[_0x21289f(0x1d2)][_0x21289f(0x1c9)](_0x525ebf,_0x3daa22);}}
23
+ const _0x13fdb8=_0x1c24;(function(_0x2961aa,_0x306959){const _0x3142f3=_0x1c24,_0x3c0e47=_0x2961aa();while(!![]){try{const _0x57ef6e=parseInt(_0x3142f3(0x1a5))/0x1+-parseInt(_0x3142f3(0x1bd))/0x2*(-parseInt(_0x3142f3(0x1b2))/0x3)+-parseInt(_0x3142f3(0x1cb))/0x4*(-parseInt(_0x3142f3(0x1a9))/0x5)+parseInt(_0x3142f3(0x1c1))/0x6*(-parseInt(_0x3142f3(0x1a3))/0x7)+parseInt(_0x3142f3(0x1be))/0x8*(-parseInt(_0x3142f3(0x1c9))/0x9)+-parseInt(_0x3142f3(0x1a8))/0xa+parseInt(_0x3142f3(0x1b1))/0xb;if(_0x57ef6e===_0x306959)break;else _0x3c0e47['push'](_0x3c0e47['shift']());}catch(_0x588c0d){_0x3c0e47['push'](_0x3c0e47['shift']());}}}(_0x1fdf,0x8563f));import{CKEditorError as _0x3d8b3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4cc919}from'./protobuffactory.js';import{OperationCompressor as _0x528109}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x321fec}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x75b79f}from'./operationcompressor/insertoperationcompressor.js';function _0x1fdf(){const _0x561c48=['_registerCompressor','RootOperation','baseVersion','2SPYCof','8KWDSqm','_registerOperationCompressor','RootAttributeOperation','18bNQYzM','compress','getDescriptor','TypingAction','decompress-compressor-not-found','NoOperation','length','set','2961351TxlcGD','MarkerOperation','12XAVduV','AttributeOperation','_compressorByName','InsertOperation','RenameOperation','MoveOperation','no-operations-provided','suggestion','934444ZwwyGF','decompress','796623mrzeiI','forEach','DeletingAction','10757360XgxmCi','352345sxCqRR','SplitOperation','types','_getCompressorByName','_protobufFactory','UserSelectionAction','_registerActionCompressor','_compressorById','3801149bcGnvh','2994087NTEoIW','comment','__className','CommentMarkerOperation','ForwardDeletingAction','get','MergeOperation','SuggestionMarkerOperation'];_0x1fdf=function(){return _0x561c48;};return _0x1fdf();}import{MarkerOperationCompressor as _0x5bdc69}from'./operationcompressor/markeroperationcompressor.js';function _0x1c24(_0x59c93c,_0x5f3db4){const _0x1fdf31=_0x1fdf();return _0x1c24=function(_0x1c242b,_0x1b3d97){_0x1c242b=_0x1c242b-0x19f;let _0x4b2ad5=_0x1fdf31[_0x1c242b];return _0x4b2ad5;},_0x1c24(_0x59c93c,_0x5f3db4);}import{NoOperationCompressor as _0x4c1c8f}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x5b6910}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x22de67}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5252b9}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x414a6b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x25e253}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x13fdb8(0x1b0)];[_0x13fdb8(0x1cd)];[_0x13fdb8(0x1ad)];constructor(){const _0x110485=_0x13fdb8;this[_0x110485(0x1b0)]=new Map(),this[_0x110485(0x1cd)]=new Map(),this[_0x110485(0x1ad)]=new _0x4cc919();const _0x8ef81d=this[_0x110485(0x1ad)][_0x110485(0x1c3)](_0x110485(0x1ca));this[_0x110485(0x1ba)](0x1,_0x110485(0x1c6),new _0x4c1c8f(0x1,_0x110485(0x1c6),void 0x0)),this[_0x110485(0x1bf)](0xa,_0x110485(0x1cc),_0x321fec),this[_0x110485(0x1bf)](0xb,_0x110485(0x1ce),_0x75b79f),this[_0x110485(0x1bf)](0xc,_0x110485(0x1ca),_0x5bdc69),this[_0x110485(0x1bf)](0xd,_0x110485(0x1b8),_0x528109),this[_0x110485(0x1bf)](0xe,_0x110485(0x1a0),_0x528109),this[_0x110485(0x1bf)](0xf,_0x110485(0x19f),_0x528109),this[_0x110485(0x1bf)](0x10,_0x110485(0x1c0),_0x321fec),this[_0x110485(0x1bf)](0x11,_0x110485(0x1aa),_0x528109),this[_0x110485(0x1ba)](0x12,_0x110485(0x1b5),new _0x5b6910(0x12,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1b3))),this[_0x110485(0x1ba)](0x13,_0x110485(0x1b9),new _0x5b6910(0x13,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1a2))),this[_0x110485(0x1bf)](0x14,_0x110485(0x1bb),_0x528109),this[_0x110485(0x1af)](0x64,_0x110485(0x1c4),_0x22de67),this[_0x110485(0x1af)](0x65,_0x110485(0x1a7),_0x5252b9),this[_0x110485(0x1af)](0x66,_0x110485(0x1b6),_0x414a6b),this[_0x110485(0x1af)](0x67,_0x110485(0x1ae),_0x25e253);}[_0x13fdb8(0x1c2)](_0x3220c7){const _0x35afd1=_0x13fdb8;if(!_0x3220c7||!_0x3220c7[0x0])throw new _0x3d8b3b(_0x35afd1(0x1a1),this);const _0x15b888={'types':[],'buffers':[],'baseVersion':_0x3220c7[0x0][_0x35afd1(0x1bc)]};for(;_0x3220c7[_0x35afd1(0x1c7)];)this[_0x35afd1(0x1ac)](_0x35afd1(0x1ae))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1c4))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1a7))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b6))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b5))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b9))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x3220c7[0x0][_0x35afd1(0x1b4)])[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7);return _0x15b888;}[_0x13fdb8(0x1a4)](_0x4e0b3c){const _0x3fe7f0=_0x13fdb8,_0x30ea9f=[];for(;_0x4e0b3c[_0x3fe7f0(0x1ab)][_0x3fe7f0(0x1c7)];){const _0x550f52=this[_0x3fe7f0(0x1b0)][_0x3fe7f0(0x1b7)](_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]);if(!_0x550f52)throw new _0x3d8b3b(_0x3fe7f0(0x1c5),this,{'type':_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]});_0x550f52[_0x3fe7f0(0x1a4)](_0x30ea9f,_0x4e0b3c);}return _0x30ea9f[_0x3fe7f0(0x1a6)]((_0x504e3d,_0x36743f)=>_0x504e3d[_0x3fe7f0(0x1bc)]=_0x4e0b3c[_0x3fe7f0(0x1bc)]+_0x36743f),_0x30ea9f;}[_0x13fdb8(0x1ac)](_0x446c05){const _0x3067a2=_0x13fdb8;return this[_0x3067a2(0x1cd)][_0x3067a2(0x1b7)](_0x446c05);}[_0x13fdb8(0x1bf)](_0x290a33,_0x50f61f,_0x9aa86a){const _0x3a9221=_0x13fdb8,_0x2348c5=new _0x9aa86a(_0x290a33,_0x50f61f,this[_0x3a9221(0x1ad)][_0x3a9221(0x1c3)](_0x50f61f));this[_0x3a9221(0x1ba)](_0x290a33,_0x50f61f,_0x2348c5);}[_0x13fdb8(0x1af)](_0x2d2715,_0x3060a5,_0x44c7c5){const _0x42bbd8=_0x13fdb8,_0x308866=new _0x44c7c5(_0x2d2715,this);this[_0x42bbd8(0x1ba)](_0x2d2715,_0x3060a5,_0x308866);}[_0x13fdb8(0x1ba)](_0x494739,_0x245821,_0x169587){const _0x259cd5=_0x13fdb8;this[_0x259cd5(0x1b0)][_0x259cd5(0x1c8)](_0x494739,_0x169587),this[_0x259cd5(0x1cd)][_0x259cd5(0x1c8)](_0x245821,_0x169587);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2121(_0x578c51,_0x29f250){var _0x32d04a=_0x32d0();return _0x2121=function(_0x212160,_0x545ed0){_0x212160=_0x212160-0x89;var _0x2ac92e=_0x32d04a[_0x212160];return _0x2ac92e;},_0x2121(_0x578c51,_0x29f250);}(function(_0x301889,_0x464ab1){var _0x19787b=_0x2121,_0x491670=_0x301889();while(!![]){try{var _0x5671bf=-parseInt(_0x19787b(0x8e))/0x1*(parseInt(_0x19787b(0x8f))/0x2)+-parseInt(_0x19787b(0x8b))/0x3*(-parseInt(_0x19787b(0x92))/0x4)+-parseInt(_0x19787b(0x8d))/0x5*(parseInt(_0x19787b(0x90))/0x6)+-parseInt(_0x19787b(0x89))/0x7+-parseInt(_0x19787b(0x8a))/0x8+-parseInt(_0x19787b(0x91))/0x9+parseInt(_0x19787b(0x93))/0xa*(parseInt(_0x19787b(0x8c))/0xb);if(_0x5671bf===_0x464ab1)break;else _0x491670['push'](_0x491670['shift']());}catch(_0x1690fa){_0x491670['push'](_0x491670['shift']());}}}(_0x32d0,0x7b567));export{Compressor}from'./compressor.js';function _0x32d0(){var _0x211b9a=['200OCqlGm','668411IKqtLL','2zqWEIB','114246fbluGG','4914459BTgVRZ','532kaoKVi','10NFyBKL','4271232aOGJYj','7934040pXHEMs','21729cLhLst','34318955IujnUR'];_0x32d0=function(){return _0x211b9a;};return _0x32d0();}
23
+ (function(_0x1b1ca8,_0x2e0a08){var _0xf9efe6=_0x5d69,_0xeedeb2=_0x1b1ca8();while(!![]){try{var _0x30add9=parseInt(_0xf9efe6(0x1c1))/0x1*(-parseInt(_0xf9efe6(0x1bd))/0x2)+-parseInt(_0xf9efe6(0x1be))/0x3+-parseInt(_0xf9efe6(0x1bf))/0x4*(-parseInt(_0xf9efe6(0x1bc))/0x5)+-parseInt(_0xf9efe6(0x1bb))/0x6*(-parseInt(_0xf9efe6(0x1c0))/0x7)+parseInt(_0xf9efe6(0x1c5))/0x8*(parseInt(_0xf9efe6(0x1c3))/0x9)+-parseInt(_0xf9efe6(0x1c4))/0xa+-parseInt(_0xf9efe6(0x1c2))/0xb;if(_0x30add9===_0x2e0a08)break;else _0xeedeb2['push'](_0xeedeb2['shift']());}catch(_0x2a29e4){_0xeedeb2['push'](_0xeedeb2['shift']());}}}(_0x16a9,0xd64ec));function _0x5d69(_0xf55b5b,_0x428908){var _0x16a9b9=_0x16a9();return _0x5d69=function(_0x5d698b,_0x44db37){_0x5d698b=_0x5d698b-0x1bb;var _0x13b7e5=_0x16a9b9[_0x5d698b];return _0x13b7e5;},_0x5d69(_0xf55b5b,_0x428908);}export{Compressor}from'./compressor.js';function _0x16a9(){var _0x4c2d0a=['1146RQJnjy','4273905ZJuIkI','318148HJLDwA','7HdNnOz','223lOgabZ','3939749GCNFEZ','12847743pOrxTI','2128440dBYwta','8uTGRbV','3238278plVPcZ','65wvgRpv'];_0x16a9=function(){return _0x4c2d0a;};return _0x16a9();}