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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fc0bb=_0x4094;function _0x4985(){const _0x1d9af1=['root','_checkOperation','53502POyxhr','72uCwuvV','115ulUXKt','984290hamqjF','33712lsdUPg','__className','sourcePosition','4824017zBBdRq','wasUndone','compress','targetPosition','_compareOperations','_compressSingleOperation','2917840nkdwhc','325cceXEi','2344329EAMrWj','_splitCurrent','_decompressSingleOperation','_context','608agWLQF','buffers','_combineNext','448vyuRdm','_getCompressorByName','howMany','$graveyard','decompress','MoveOperation'];_0x4985=function(){return _0x1d9af1;};return _0x4985();}(function(_0x341f21,_0x5e7d9a){const _0x58631=_0x4094,_0x2843c9=_0x341f21();while(!![]){try{const _0x4b7425=-parseInt(_0x58631(0x1a8))/0x1*(parseInt(_0x58631(0x1ad))/0x2)+-parseInt(_0x58631(0x1a9))/0x3+parseInt(_0x58631(0x1a7))/0x4+-parseInt(_0x58631(0x19c))/0x5*(parseInt(_0x58631(0x19a))/0x6)+parseInt(_0x58631(0x1b0))/0x7*(-parseInt(_0x58631(0x19e))/0x8)+-parseInt(_0x58631(0x19b))/0x9*(-parseInt(_0x58631(0x19d))/0xa)+parseInt(_0x58631(0x1a1))/0xb;if(_0x4b7425===_0x5e7d9a)break;else _0x2843c9['push'](_0x2843c9['shift']());}catch(_0x5339be){_0x2843c9['push'](_0x2843c9['shift']());}}}(_0x4985,0x92959));import{ActionCompressor as _0x1df11a}from'./actioncompressor.js';import{arePositionsEqual as _0x116dd3,getPositionShiftedBy as _0x10941d}from'../utils.js';function _0x4094(_0x1b268a,_0x210ea8){const _0x498537=_0x4985();return _0x4094=function(_0x4094f2,_0xd784f5){_0x4094f2=_0x4094f2-0x197;let _0x34319e=_0x498537[_0x4094f2];return _0x34319e;},_0x4094(_0x1b268a,_0x210ea8);}import{cloneDeep as _0xa18122}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1df11a{[_0x2fc0bb(0x1af)](_0x2e1622,_0x2e78df){const _0x1c2529=_0x2fc0bb;return _0x2e78df[_0x1c2529(0x1b2)]++,_0x2e78df[_0x1c2529(0x1a0)]=_0xa18122(_0x2e1622[_0x1c2529(0x1a0)]),_0x2e78df;}[_0x2fc0bb(0x1aa)](_0x2a0f25){const _0x1e1508=_0x2fc0bb,_0x1075d9=_0xa18122(_0x2a0f25);return _0x2a0f25[_0x1e1508(0x1b2)]--,_0x1075d9[_0x1e1508(0x1b2)]=0x1,_0x1075d9[_0x1e1508(0x1a0)]=_0x10941d(_0x1075d9[_0x1e1508(0x1a0)],_0x2a0f25[_0x1e1508(0x1b2)]),_0x1075d9;}[_0x2fc0bb(0x1a5)](_0x2efad5,_0x3f4968){const _0x1b4a82=_0x2fc0bb;return!(!this[_0x1b4a82(0x199)](_0x2efad5)||!this[_0x1b4a82(0x199)](_0x3f4968))&&(_0x116dd3(_0x10941d(_0x2efad5[_0x1b4a82(0x1a0)],-0x1),_0x3f4968[_0x1b4a82(0x1a0)])&&_0x116dd3(_0x2efad5[_0x1b4a82(0x1a4)],_0x3f4968[_0x1b4a82(0x1a4)]));}[_0x2fc0bb(0x1a6)](_0x856a18){const _0x112a5e=_0x2fc0bb,_0x11df18={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x112a5e(0x1ac)][_0x112a5e(0x1b1)](_0x112a5e(0x197))[_0x112a5e(0x1a3)](_0x11df18,[_0x856a18]),_0x11df18[_0x112a5e(0x1ae)][0x0];}[_0x2fc0bb(0x1ab)](_0x5c1b8f){const _0x34771d=_0x2fc0bb,_0xa93487=[];return this[_0x34771d(0x1ac)][_0x34771d(0x1b1)](_0x34771d(0x197))[_0x34771d(0x1b4)](_0xa93487,_0x5c1b8f),_0xa93487[0x0];}[_0x2fc0bb(0x199)](_0x284009){const _0x5f1526=_0x2fc0bb;return _0x5f1526(0x197)==_0x284009[_0x5f1526(0x19f)]&&_0x5f1526(0x1b3)==_0x284009[_0x5f1526(0x1a4)][_0x5f1526(0x198)]&&0x1==_0x284009[_0x5f1526(0x1b2)]&&!_0x284009[_0x5f1526(0x1a2)];}}
23
+ const _0x39841b=_0x24f5;function _0x24f5(_0x310cc9,_0x2ba953){const _0xe431e0=_0xe431();return _0x24f5=function(_0x24f572,_0x2fbcbc){_0x24f572=_0x24f572-0x6a;let _0x192faa=_0xe431e0[_0x24f572];return _0x192faa;},_0x24f5(_0x310cc9,_0x2ba953);}(function(_0x505703,_0x487cd6){const _0x232933=_0x24f5,_0x7f91ca=_0x505703();while(!![]){try{const _0x4dc76a=-parseInt(_0x232933(0x7e))/0x1+parseInt(_0x232933(0x72))/0x2+parseInt(_0x232933(0x7c))/0x3*(parseInt(_0x232933(0x7f))/0x4)+parseInt(_0x232933(0x79))/0x5+-parseInt(_0x232933(0x6d))/0x6+parseInt(_0x232933(0x74))/0x7+-parseInt(_0x232933(0x73))/0x8*(parseInt(_0x232933(0x7b))/0x9);if(_0x4dc76a===_0x487cd6)break;else _0x7f91ca['push'](_0x7f91ca['shift']());}catch(_0x30067e){_0x7f91ca['push'](_0x7f91ca['shift']());}}}(_0xe431,0x825ed));import{ActionCompressor as _0x1555a5}from'./actioncompressor.js';import{arePositionsEqual as _0x234a43,getPositionShiftedBy as _0x527eb9}from'../utils.js';import{cloneDeep as _0x5a902a}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1555a5{[_0x39841b(0x77)](_0x2e312a,_0xf74e91){const _0x65518a=_0x39841b;return _0xf74e91[_0x65518a(0x6f)]++,_0xf74e91[_0x65518a(0x7a)]=_0x5a902a(_0x2e312a[_0x65518a(0x7a)]),_0xf74e91;}[_0x39841b(0x83)](_0x5e6b69){const _0x2551ab=_0x39841b,_0x3fa4f5=_0x5a902a(_0x5e6b69);return _0x5e6b69[_0x2551ab(0x6f)]--,_0x3fa4f5[_0x2551ab(0x6f)]=0x1,_0x3fa4f5[_0x2551ab(0x7a)]=_0x527eb9(_0x3fa4f5[_0x2551ab(0x7a)],_0x5e6b69[_0x2551ab(0x6f)]),_0x3fa4f5;}[_0x39841b(0x6b)](_0x1520cf,_0x3ccd4b){const _0x1cd4fc=_0x39841b;return!(!this[_0x1cd4fc(0x70)](_0x1520cf)||!this[_0x1cd4fc(0x70)](_0x3ccd4b))&&(_0x234a43(_0x527eb9(_0x1520cf[_0x1cd4fc(0x7a)],-0x1),_0x3ccd4b[_0x1cd4fc(0x7a)])&&_0x234a43(_0x1520cf[_0x1cd4fc(0x6c)],_0x3ccd4b[_0x1cd4fc(0x6c)]));}[_0x39841b(0x7d)](_0x99d45a){const _0x520f46=_0x39841b,_0x3f24f0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x520f46(0x76)][_0x520f46(0x6a)](_0x520f46(0x82))[_0x520f46(0x81)](_0x3f24f0,[_0x99d45a]),_0x3f24f0[_0x520f46(0x84)][0x0];}[_0x39841b(0x6e)](_0x565188){const _0x2033c3=_0x39841b,_0x535192=[];return this[_0x2033c3(0x76)][_0x2033c3(0x6a)](_0x2033c3(0x82))[_0x2033c3(0x85)](_0x535192,_0x565188),_0x535192[0x0];}[_0x39841b(0x70)](_0x15167a){const _0x5581da=_0x39841b;return _0x5581da(0x82)==_0x15167a[_0x5581da(0x71)]&&_0x5581da(0x80)==_0x15167a[_0x5581da(0x6c)][_0x5581da(0x78)]&&0x1==_0x15167a[_0x5581da(0x6f)]&&!_0x15167a[_0x5581da(0x75)];}}function _0xe431(){const _0x50e131=['howMany','_checkOperation','__className','1052844xjgjvr','288VKYOUy','6240360zreRXm','wasUndone','_context','_combineNext','root','4394550GhXDUE','sourcePosition','215955SsmAnc','15bQgait','_compressSingleOperation','881266LsFtTl','554476zQqvdZ','$graveyard','compress','MoveOperation','_splitCurrent','buffers','decompress','_getCompressorByName','_compareOperations','targetPosition','4264944gGwJzT','_decompressSingleOperation'];_0xe431=function(){return _0x50e131;};return _0xe431();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7fc7ae=_0x4ccf;function _0x4ccf(_0xe597e6,_0x5cd6f6){const _0x1af7ea=_0x1af7();return _0x4ccf=function(_0x4ccf8c,_0x5a3af6){_0x4ccf8c=_0x4ccf8c-0x67;let _0x12bd02=_0x1af7ea[_0x4ccf8c];return _0x12bd02;},_0x4ccf(_0xe597e6,_0x5cd6f6);}(function(_0x4e958e,_0x12e21e){const _0xc51a96=_0x4ccf,_0x1aaf73=_0x4e958e();while(!![]){try{const _0x1b4217=parseInt(_0xc51a96(0x79))/0x1+-parseInt(_0xc51a96(0x7e))/0x2+parseInt(_0xc51a96(0x6a))/0x3+-parseInt(_0xc51a96(0x78))/0x4+-parseInt(_0xc51a96(0x7c))/0x5+-parseInt(_0xc51a96(0x76))/0x6*(parseInt(_0xc51a96(0x6c))/0x7)+parseInt(_0xc51a96(0x70))/0x8;if(_0x1b4217===_0x12e21e)break;else _0x1aaf73['push'](_0x1aaf73['shift']());}catch(_0x810d73){_0x1aaf73['push'](_0x1aaf73['shift']());}}}(_0x1af7,0xdb9f4));function _0x1af7(){const _0xcc1c01=['MoveOperation','245tITOmO','_getCompressorByName','wasUndone','$graveyard','18287424hfBINe','_combineNext','sourcePosition','howMany','_splitCurrent','_context','195654INICQR','_compareOperations','2739136DwbmFy','496155AdySGv','_checkOperation','__className','1013640IYsPRw','buffers','1173948WwBRui','_decompressSingleOperation','root','decompress','targetPosition','_compressSingleOperation','compress','2199870SFpWQO'];_0x1af7=function(){return _0xcc1c01;};return _0x1af7();}import{ActionCompressor as _0x37cea3}from'./actioncompressor.js';import{arePositionsEqual as _0x2ddd89}from'../utils.js';import{cloneDeep as _0x27fd11}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x37cea3{[_0x7fc7ae(0x71)](_0x21820d,_0xf8d727){const _0x1f79af=_0x7fc7ae;return _0xf8d727[_0x1f79af(0x73)]++,_0xf8d727;}[_0x7fc7ae(0x74)](_0x3f5664){const _0x390f98=_0x7fc7ae,_0x16c9ed=_0x27fd11(_0x3f5664);return _0x16c9ed[_0x390f98(0x73)]=0x1,_0x3f5664[_0x390f98(0x73)]--,_0x16c9ed;}[_0x7fc7ae(0x77)](_0x2e3612,_0x455180){const _0x230a42=_0x7fc7ae;return!(!this[_0x230a42(0x7a)](_0x2e3612)||!this[_0x230a42(0x7a)](_0x455180))&&(_0x2ddd89(_0x2e3612[_0x230a42(0x72)],_0x455180[_0x230a42(0x72)])&&_0x2ddd89(_0x2e3612[_0x230a42(0x67)],_0x455180[_0x230a42(0x67)]));}[_0x7fc7ae(0x68)](_0x3e5bbd){const _0x10fa51=_0x7fc7ae,_0x5a91fe={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x10fa51(0x75)][_0x10fa51(0x6d)](_0x10fa51(0x6b))[_0x10fa51(0x69)](_0x5a91fe,[_0x3e5bbd]),_0x5a91fe[_0x10fa51(0x7d)][0x0];}[_0x7fc7ae(0x7f)](_0x103709){const _0x19079b=_0x7fc7ae,_0x24bc60=[];return this[_0x19079b(0x75)][_0x19079b(0x6d)](_0x19079b(0x6b))[_0x19079b(0x81)](_0x24bc60,_0x103709),_0x24bc60[0x0];}[_0x7fc7ae(0x7a)](_0x547fab){const _0x1c3c12=_0x7fc7ae;return _0x1c3c12(0x6b)==_0x547fab[_0x1c3c12(0x7b)]&&_0x1c3c12(0x6f)==_0x547fab[_0x1c3c12(0x67)][_0x1c3c12(0x80)]&&0x1==_0x547fab[_0x1c3c12(0x73)]&&!_0x547fab[_0x1c3c12(0x6e)];}}
23
+ const _0x8f16c9=_0x4ea7;function _0x4ea7(_0x33c508,_0x51b136){const _0x528071=_0x5280();return _0x4ea7=function(_0x4ea756,_0x40dead){_0x4ea756=_0x4ea756-0xad;let _0x395c6b=_0x528071[_0x4ea756];return _0x395c6b;},_0x4ea7(_0x33c508,_0x51b136);}(function(_0x5b1a40,_0xbb2471){const _0x130148=_0x4ea7,_0x4c5b8a=_0x5b1a40();while(!![]){try{const _0x251d11=parseInt(_0x130148(0xca))/0x1+-parseInt(_0x130148(0xbd))/0x2*(parseInt(_0x130148(0xb6))/0x3)+parseInt(_0x130148(0xc6))/0x4+-parseInt(_0x130148(0xb3))/0x5*(parseInt(_0x130148(0xad))/0x6)+-parseInt(_0x130148(0xc2))/0x7*(parseInt(_0x130148(0xbb))/0x8)+parseInt(_0x130148(0xc8))/0x9*(-parseInt(_0x130148(0xc3))/0xa)+parseInt(_0x130148(0xaf))/0xb;if(_0x251d11===_0xbb2471)break;else _0x4c5b8a['push'](_0x4c5b8a['shift']());}catch(_0x2b08d1){_0x4c5b8a['push'](_0x4c5b8a['shift']());}}}(_0x5280,0xd3146));function _0x5280(){const _0x45cd5e=['_combineNext','_checkOperation','_decompressSingleOperation','1549090XWUUQr','_splitCurrent','MoveOperation','111897mofMoY','_context','sourcePosition','_compareOperations','root','24nFiWKL','compress','56lIGHnk','__className','_compressSingleOperation','targetPosition','_getCompressorByName','409234fbHfZS','2500jvMXlT','wasUndone','$graveyard','1898396hAoNUX','buffers','21195zyNhhU','howMany','380824rQjotw','24lzkHGv','decompress','33626329ApEVUs'];_0x5280=function(){return _0x45cd5e;};return _0x5280();}import{ActionCompressor as _0x2e8527}from'./actioncompressor.js';import{arePositionsEqual as _0x47e674}from'../utils.js';import{cloneDeep as _0x43556d}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x2e8527{[_0x8f16c9(0xb0)](_0xf9c8f4,_0x30e4f0){const _0x26d9b6=_0x8f16c9;return _0x30e4f0[_0x26d9b6(0xc9)]++,_0x30e4f0;}[_0x8f16c9(0xb4)](_0x1e945f){const _0x3bbbf8=_0x8f16c9,_0x6667ab=_0x43556d(_0x1e945f);return _0x6667ab[_0x3bbbf8(0xc9)]=0x1,_0x1e945f[_0x3bbbf8(0xc9)]--,_0x6667ab;}[_0x8f16c9(0xb9)](_0x1257a3,_0x1c9e1f){const _0x4165af=_0x8f16c9;return!(!this[_0x4165af(0xb1)](_0x1257a3)||!this[_0x4165af(0xb1)](_0x1c9e1f))&&(_0x47e674(_0x1257a3[_0x4165af(0xb8)],_0x1c9e1f[_0x4165af(0xb8)])&&_0x47e674(_0x1257a3[_0x4165af(0xc0)],_0x1c9e1f[_0x4165af(0xc0)]));}[_0x8f16c9(0xbf)](_0x481a01){const _0x303a7f=_0x8f16c9,_0xb94547={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x303a7f(0xb7)][_0x303a7f(0xc1)](_0x303a7f(0xb5))[_0x303a7f(0xbc)](_0xb94547,[_0x481a01]),_0xb94547[_0x303a7f(0xc7)][0x0];}[_0x8f16c9(0xb2)](_0xd0616f){const _0x2984ae=_0x8f16c9,_0x380707=[];return this[_0x2984ae(0xb7)][_0x2984ae(0xc1)](_0x2984ae(0xb5))[_0x2984ae(0xae)](_0x380707,_0xd0616f),_0x380707[0x0];}[_0x8f16c9(0xb1)](_0x7dff5f){const _0x350fb3=_0x8f16c9;return _0x350fb3(0xb5)==_0x7dff5f[_0x350fb3(0xbe)]&&_0x350fb3(0xc5)==_0x7dff5f[_0x350fb3(0xc0)][_0x350fb3(0xba)]&&0x1==_0x7dff5f[_0x350fb3(0xc9)]&&!_0x7dff5f[_0x350fb3(0xc4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a6df0=_0x56e1;function _0x2b03(){const _0x4659c8=['75cCbYbL','data','7BmWOWN','239492GyoFjv','_compressSingleOperation','478044dZXNMR','12MPnURg','_combineNext','buffers','_context','86739rscPTx','length','nodes','_getCompressorByName','iterator','_decompressSingleOperation','attributes','from','8082kmVrZE','every','next','2422570qpFBHT','159852arISwB','value','InsertOperation','_checkOperation','2246072VnxZFB','__className','_compareAttributes','decompress','7OzJbBK','_splitCurrent','position','compress','_compareOperations','wasUndone','substr','keys'];_0x2b03=function(){return _0x4659c8;};return _0x2b03();}(function(_0x3faccb,_0x4486ba){const _0x38e394=_0x56e1,_0x403fa7=_0x3faccb();while(!![]){try{const _0x5a073d=-parseInt(_0x38e394(0x1ee))/0x1*(parseInt(_0x38e394(0x1e2))/0x2)+parseInt(_0x38e394(0x1da))/0x3*(-parseInt(_0x38e394(0x1d6))/0x4)+parseInt(_0x38e394(0x1f6))/0x5*(parseInt(_0x38e394(0x1e6))/0x6)+parseInt(_0x38e394(0x1f8))/0x7*(parseInt(_0x38e394(0x1ea))/0x8)+-parseInt(_0x38e394(0x1d5))/0x9+-parseInt(_0x38e394(0x1e5))/0xa+-parseInt(_0x38e394(0x1f9))/0xb;if(_0x5a073d===_0x4486ba)break;else _0x403fa7['push'](_0x403fa7['shift']());}catch(_0x2f749c){_0x403fa7['push'](_0x403fa7['shift']());}}}(_0x2b03,0x3c99a));import{ActionCompressor as _0x373688}from'./actioncompressor.js';import{arePositionsEqual as _0x2ef8c2,getPositionShiftedBy as _0x3e5879}from'../utils.js';import{cloneDeep as _0x12ca13}from'es-toolkit/compat';function _0x56e1(_0x210b6c,_0x2783aa){const _0x2b034c=_0x2b03();return _0x56e1=function(_0x56e1be,_0x270e8b){_0x56e1be=_0x56e1be-0x1d5;let _0x7aed0c=_0x2b034c[_0x56e1be];return _0x7aed0c;},_0x56e1(_0x210b6c,_0x2783aa);}export class TypingActionCompressor extends _0x373688{[_0x4a6df0(0x1d7)](_0x2e935d,_0x38c8de){const _0x3dcc11=_0x4a6df0;return _0x38c8de[_0x3dcc11(0x1dc)][0x0][_0x3dcc11(0x1f7)]+=_0x2e935d[_0x3dcc11(0x1dc)][0x0][_0x3dcc11(0x1f7)],_0x38c8de;}[_0x4a6df0(0x1ef)](_0x1524fb){const _0x3bfd3b=_0x4a6df0,_0x2e2ab0=_0x12ca13(_0x1524fb),_0x508b8a=_0x2e2ab0[_0x3bfd3b(0x1dc)][0x0],_0x5619cb=_0x1524fb[_0x3bfd3b(0x1dc)][0x0],_0x3cd96a=_0x5619cb[_0x3bfd3b(0x1f7)][Symbol[_0x3bfd3b(0x1de)]]()[_0x3bfd3b(0x1e4)]()[_0x3bfd3b(0x1e7)],_0x44b3ec=_0x3cd96a[_0x3bfd3b(0x1db)];return _0x508b8a[_0x3bfd3b(0x1f7)]=_0x3cd96a,_0x5619cb[_0x3bfd3b(0x1f7)]=_0x5619cb[_0x3bfd3b(0x1f7)][_0x3bfd3b(0x1f4)](_0x44b3ec),_0x1524fb[_0x3bfd3b(0x1f0)]=_0x3e5879(_0x1524fb[_0x3bfd3b(0x1f0)],_0x44b3ec),_0x2e2ab0;}[_0x4a6df0(0x1f2)](_0x4d36fe,_0x50f579){const _0x515a30=_0x4a6df0;if(this[_0x515a30(0x1e9)](_0x4d36fe)&&this[_0x515a30(0x1e9)](_0x50f579)){const _0x5ddd82=_0x4d36fe[_0x515a30(0x1dc)][0x0][_0x515a30(0x1f7)][_0x515a30(0x1db)],_0x30406a=_0x2ef8c2(_0x3e5879(_0x4d36fe[_0x515a30(0x1f0)],_0x5ddd82),_0x50f579[_0x515a30(0x1f0)]),_0x3abbd9=_0x4d36fe[_0x515a30(0x1dc)][0x0],_0x4350e2=_0x50f579[_0x515a30(0x1dc)][0x0];return _0x30406a&&this[_0x515a30(0x1ec)](_0x3abbd9,_0x4350e2);}return!0x1;}[_0x4a6df0(0x1fa)](_0x7e1c54){const _0x573b80=_0x4a6df0,_0xa936ff={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x573b80(0x1d9)][_0x573b80(0x1dd)](_0x573b80(0x1e8))[_0x573b80(0x1f1)](_0xa936ff,[_0x7e1c54]),_0xa936ff[_0x573b80(0x1d8)][0x0];}[_0x4a6df0(0x1df)](_0x59d82f){const _0x55fff8=_0x4a6df0,_0x481666=[];return this[_0x55fff8(0x1d9)][_0x55fff8(0x1dd)](_0x55fff8(0x1e8))[_0x55fff8(0x1ed)](_0x481666,_0x59d82f),_0x481666[0x0];}[_0x4a6df0(0x1e9)](_0x254ed2){const _0x400384=_0x4a6df0;return _0x400384(0x1e8)==_0x254ed2[_0x400384(0x1eb)]&&0x1==_0x254ed2[_0x400384(0x1dc)][_0x400384(0x1db)]&&_0x254ed2[_0x400384(0x1dc)][0x0][_0x400384(0x1f7)]&&!_0x254ed2[_0x400384(0x1f3)]&&0x1==Array[_0x400384(0x1e1)](_0x254ed2[_0x400384(0x1dc)][0x0][_0x400384(0x1f7)])[_0x400384(0x1db)];}[_0x4a6df0(0x1ec)](_0x311daf,_0x12dacd){const _0x120b1a=_0x4a6df0,_0x2d78e3=Object[_0x120b1a(0x1f5)](_0x311daf[_0x120b1a(0x1e0)]||{}),_0x5e3411=Object[_0x120b1a(0x1f5)](_0x12dacd[_0x120b1a(0x1e0)]||{});return _0x2d78e3[_0x120b1a(0x1db)]===_0x5e3411[_0x120b1a(0x1db)]&&_0x2d78e3[_0x120b1a(0x1e3)](_0x1ecafc=>_0x12dacd[_0x120b1a(0x1e0)][_0x1ecafc]&&_0x12dacd[_0x120b1a(0x1e0)][_0x1ecafc]===_0x311daf[_0x120b1a(0x1e0)][_0x1ecafc]);}}
23
+ const _0x48556f=_0x480b;(function(_0x246db4,_0x5e3ad5){const _0x3e37b9=_0x480b,_0x585507=_0x246db4();while(!![]){try{const _0x28ddf1=-parseInt(_0x3e37b9(0x1e6))/0x1+parseInt(_0x3e37b9(0x1f6))/0x2*(parseInt(_0x3e37b9(0x1e8))/0x3)+-parseInt(_0x3e37b9(0x1e4))/0x4*(-parseInt(_0x3e37b9(0x1db))/0x5)+-parseInt(_0x3e37b9(0x1e0))/0x6+-parseInt(_0x3e37b9(0x1d7))/0x7+-parseInt(_0x3e37b9(0x1eb))/0x8+parseInt(_0x3e37b9(0x1d6))/0x9;if(_0x28ddf1===_0x5e3ad5)break;else _0x585507['push'](_0x585507['shift']());}catch(_0x16b5ec){_0x585507['push'](_0x585507['shift']());}}}(_0x4bf8,0x4094a));function _0x4bf8(){const _0x15680e=['substr','__className','_splitCurrent','25NLsTRF','_decompressSingleOperation','nodes','_getCompressorByName','keys','1085508AApTFp','attributes','next','_combineNext','402756bczNLE','wasUndone','97470KvsVhZ','InsertOperation','18075YYMpcH','_checkOperation','buffers','3422672jYixWL','data','decompress','_context','position','length','_compareOperations','compress','_compressSingleOperation','iterator','from','114ZBgTjM','_compareAttributes','value','every','4361778tDiaMx','2525376CycYrq'];_0x4bf8=function(){return _0x15680e;};return _0x4bf8();}function _0x480b(_0x3618ff,_0x483a47){const _0x4bf8a1=_0x4bf8();return _0x480b=function(_0x480bee,_0x36cac0){_0x480bee=_0x480bee-0x1d5;let _0x20bdd7=_0x4bf8a1[_0x480bee];return _0x20bdd7;},_0x480b(_0x3618ff,_0x483a47);}import{ActionCompressor as _0x239191}from'./actioncompressor.js';import{arePositionsEqual as _0x131ea2,getPositionShiftedBy as _0x5ac265}from'../utils.js';import{cloneDeep as _0x4d5fb2}from'es-toolkit/compat';export class TypingActionCompressor extends _0x239191{[_0x48556f(0x1e3)](_0x21aa9a,_0x38a65d){const _0x53941f=_0x48556f;return _0x38a65d[_0x53941f(0x1dd)][0x0][_0x53941f(0x1ec)]+=_0x21aa9a[_0x53941f(0x1dd)][0x0][_0x53941f(0x1ec)],_0x38a65d;}[_0x48556f(0x1da)](_0x4e3ff2){const _0x181186=_0x48556f,_0x3e7be9=_0x4d5fb2(_0x4e3ff2),_0x2b5523=_0x3e7be9[_0x181186(0x1dd)][0x0],_0xc59855=_0x4e3ff2[_0x181186(0x1dd)][0x0],_0x19ce45=_0xc59855[_0x181186(0x1ec)][Symbol[_0x181186(0x1f4)]]()[_0x181186(0x1e2)]()[_0x181186(0x1f8)],_0x587d01=_0x19ce45[_0x181186(0x1f0)];return _0x2b5523[_0x181186(0x1ec)]=_0x19ce45,_0xc59855[_0x181186(0x1ec)]=_0xc59855[_0x181186(0x1ec)][_0x181186(0x1d8)](_0x587d01),_0x4e3ff2[_0x181186(0x1ef)]=_0x5ac265(_0x4e3ff2[_0x181186(0x1ef)],_0x587d01),_0x3e7be9;}[_0x48556f(0x1f1)](_0x45b76f,_0x4f9ea4){const _0x105e47=_0x48556f;if(this[_0x105e47(0x1e9)](_0x45b76f)&&this[_0x105e47(0x1e9)](_0x4f9ea4)){const _0x2cecbf=_0x45b76f[_0x105e47(0x1dd)][0x0][_0x105e47(0x1ec)][_0x105e47(0x1f0)],_0x41fdf2=_0x131ea2(_0x5ac265(_0x45b76f[_0x105e47(0x1ef)],_0x2cecbf),_0x4f9ea4[_0x105e47(0x1ef)]),_0x304191=_0x45b76f[_0x105e47(0x1dd)][0x0],_0x46490b=_0x4f9ea4[_0x105e47(0x1dd)][0x0];return _0x41fdf2&&this[_0x105e47(0x1f7)](_0x304191,_0x46490b);}return!0x1;}[_0x48556f(0x1f3)](_0x57a6fb){const _0x21ee89=_0x48556f,_0x56f657={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x21ee89(0x1ee)][_0x21ee89(0x1de)](_0x21ee89(0x1e7))[_0x21ee89(0x1f2)](_0x56f657,[_0x57a6fb]),_0x56f657[_0x21ee89(0x1ea)][0x0];}[_0x48556f(0x1dc)](_0x28d58b){const _0x3d0a0c=_0x48556f,_0x12c579=[];return this[_0x3d0a0c(0x1ee)][_0x3d0a0c(0x1de)](_0x3d0a0c(0x1e7))[_0x3d0a0c(0x1ed)](_0x12c579,_0x28d58b),_0x12c579[0x0];}[_0x48556f(0x1e9)](_0x1946b8){const _0x1c026b=_0x48556f;return _0x1c026b(0x1e7)==_0x1946b8[_0x1c026b(0x1d9)]&&0x1==_0x1946b8[_0x1c026b(0x1dd)][_0x1c026b(0x1f0)]&&_0x1946b8[_0x1c026b(0x1dd)][0x0][_0x1c026b(0x1ec)]&&!_0x1946b8[_0x1c026b(0x1e5)]&&0x1==Array[_0x1c026b(0x1f5)](_0x1946b8[_0x1c026b(0x1dd)][0x0][_0x1c026b(0x1ec)])[_0x1c026b(0x1f0)];}[_0x48556f(0x1f7)](_0x60c68e,_0x5e5704){const _0x3d9086=_0x48556f,_0x363b1d=Object[_0x3d9086(0x1df)](_0x60c68e[_0x3d9086(0x1e1)]||{}),_0x4472bd=Object[_0x3d9086(0x1df)](_0x5e5704[_0x3d9086(0x1e1)]||{});return _0x363b1d[_0x3d9086(0x1f0)]===_0x4472bd[_0x3d9086(0x1f0)]&&_0x363b1d[_0x3d9086(0x1d5)](_0x429d06=>_0x5e5704[_0x3d9086(0x1e1)][_0x429d06]&&_0x5e5704[_0x3d9086(0x1e1)][_0x429d06]===_0x60c68e[_0x3d9086(0x1e1)][_0x429d06]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67cd63=_0xf0fa;function _0xf0fa(_0x20f66f,_0x39970){const _0x286c84=_0x286c();return _0xf0fa=function(_0xf0fa88,_0x519c6d){_0xf0fa88=_0xf0fa88-0x144;let _0x1b4865=_0x286c84[_0xf0fa88];return _0x1b4865;},_0xf0fa(_0x20f66f,_0x39970);}(function(_0x9e275c,_0x583211){const _0x46228e=_0xf0fa,_0x5429fb=_0x9e275c();while(!![]){try{const _0x3ef6ed=-parseInt(_0x46228e(0x14b))/0x1+parseInt(_0x46228e(0x152))/0x2*(-parseInt(_0x46228e(0x14e))/0x3)+parseInt(_0x46228e(0x155))/0x4*(parseInt(_0x46228e(0x148))/0x5)+-parseInt(_0x46228e(0x165))/0x6*(parseInt(_0x46228e(0x15b))/0x7)+parseInt(_0x46228e(0x156))/0x8+-parseInt(_0x46228e(0x154))/0x9+parseInt(_0x46228e(0x15c))/0xa;if(_0x3ef6ed===_0x583211)break;else _0x5429fb['push'](_0x5429fb['shift']());}catch(_0x5fbd1c){_0x5429fb['push'](_0x5429fb['shift']());}}}(_0x286c,0x3585b));import{ActionCompressor as _0x293297}from'./actioncompressor.js';import{arePositionsEqual as _0x2d9e9b}from'../utils.js';import{cloneDeep as _0x88ccb9}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x293297{[_0x67cd63(0x146)](_0x5bda33,_0x1fd79d){const _0x22d106=_0x67cd63;if(!this[_0x22d106(0x150)](_0x1fd79d[0x0],_0x1fd79d[0x1]))return!0x1;const _0x5999f6=_0x1fd79d[_0x22d106(0x147)]();return _0x5999f6[_0x22d106(0x163)]=null,_0x5999f6[_0x22d106(0x151)]&&_0x2d9e9b(_0x5999f6[_0x22d106(0x151)][_0x22d106(0x14c)],_0x5999f6[_0x22d106(0x151)][_0x22d106(0x161)])&&(_0x5999f6[_0x22d106(0x151)][_0x22d106(0x161)]=null),_0x1fd79d[_0x22d106(0x147)](),_0x5bda33[_0x22d106(0x15f)][_0x22d106(0x14f)](this[_0x22d106(0x157)]),_0x5bda33[_0x22d106(0x15f)][_0x22d106(0x14f)](0x0),_0x5bda33[_0x22d106(0x160)][_0x22d106(0x14f)](this[_0x22d106(0x14d)](_0x5999f6)),!0x0;}[_0x67cd63(0x166)](_0x117084,_0x41dbac){const _0x4fa454=_0x67cd63,_0x20cf6e=this[_0x4fa454(0x158)](_0x41dbac);_0x20cf6e[_0x4fa454(0x151)]&&!_0x20cf6e[_0x4fa454(0x151)][_0x4fa454(0x161)]&&(_0x20cf6e[_0x4fa454(0x151)][_0x4fa454(0x161)]=_0x88ccb9(_0x20cf6e[_0x4fa454(0x151)][_0x4fa454(0x14c)]));const _0xb0baf7=_0x88ccb9(_0x20cf6e);_0xb0baf7[_0x4fa454(0x151)]&&(_0xb0baf7[_0x4fa454(0x151)][_0x4fa454(0x14c)][_0x4fa454(0x15a)]=_0x4fa454(0x159),_0xb0baf7[_0x4fa454(0x151)][_0x4fa454(0x161)]=_0x88ccb9(_0xb0baf7[_0x4fa454(0x151)][_0x4fa454(0x14c)])),_0xb0baf7[_0x4fa454(0x149)]=_0x4fa454(0x15e)+_0xb0baf7[_0x4fa454(0x149)][_0x4fa454(0x153)](':')[0x2],_0x41dbac[_0x4fa454(0x15f)][_0x4fa454(0x147)](),_0x117084[_0x4fa454(0x14f)](_0x20cf6e),_0x117084[_0x4fa454(0x14f)](_0xb0baf7);}[_0x67cd63(0x14d)](_0x12773e){const _0x16acff=_0x67cd63,_0xeb5b0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x16acff(0x164)][_0x16acff(0x15d)](_0x16acff(0x145))[_0x16acff(0x146)](_0xeb5b0,[_0x12773e]),_0xeb5b0[_0x16acff(0x160)][0x0];}[_0x67cd63(0x158)](_0x4e2be9){const _0x250359=_0x67cd63,_0x24fbeb=[];return this[_0x250359(0x164)][_0x250359(0x15d)](_0x250359(0x145))[_0x250359(0x166)](_0x24fbeb,_0x4e2be9),_0x24fbeb[0x0];}[_0x67cd63(0x150)](_0x1c9781,_0x5d5261){const _0x42bc80=_0x67cd63;return!(!_0x1c9781||!_0x5d5261)&&(_0x42bc80(0x145)==_0x1c9781[_0x42bc80(0x14a)]&&_0x42bc80(0x145)==_0x5d5261[_0x42bc80(0x14a)]&&!(!_0x1c9781[_0x42bc80(0x149)][_0x42bc80(0x144)](_0x42bc80(0x162))||!_0x5d5261[_0x42bc80(0x149)][_0x42bc80(0x144)](_0x42bc80(0x162))||_0x1c9781[_0x42bc80(0x149)]==_0x5d5261[_0x42bc80(0x149)]));}}function _0x286c(){const _0x14b386=['8441010qSMcpV','_getCompressorByName','user:position:','types','buffers','end','user:','oldRange','_context','1749324ReuQTc','decompress','startsWith','MarkerOperation','compress','shift','40OddEWm','name','__className','220987pzhDJP','start','_compressSingleOperation','6MHLfmd','push','_compareOperations','newRange','324906pJqBUE','split','788715vFMamF','18644MIHUIs','2103360VezHIV','_id','_decompressSingleOperation','toNone','stickiness','7XRphPw'];_0x286c=function(){return _0x14b386;};return _0x286c();}
23
+ const _0x22f33e=_0x337a;function _0x551a(){const _0x5879f1=['866195VlAGeN','3RlxKnE','_context','buffers','577502OqmHcp','types','1826376mnfEKE','__className','1424412JMzYCZ','toNone','oldRange','user:','startsWith','user:position:','decompress','stickiness','20QsRkBc','205700mwudvU','_compareOperations','compress','end','start','shift','296115ZYldLr','_decompressSingleOperation','_id','split','newRange','MarkerOperation','7xaeCPT','_getCompressorByName','2358657pYAZTb','_compressSingleOperation','push','name'];_0x551a=function(){return _0x5879f1;};return _0x551a();}(function(_0x4c17da,_0x34db22){const _0x3aed5b=_0x337a,_0xe5b912=_0x4c17da();while(!![]){try{const _0x23f1d2=-parseInt(_0x3aed5b(0x1e5))/0x1+parseInt(_0x3aed5b(0x1d2))/0x2*(-parseInt(_0x3aed5b(0x1cf))/0x3)+-parseInt(_0x3aed5b(0x1df))/0x4+-parseInt(_0x3aed5b(0x1ce))/0x5+parseInt(_0x3aed5b(0x1d6))/0x6+-parseInt(_0x3aed5b(0x1eb))/0x7*(-parseInt(_0x3aed5b(0x1d4))/0x8)+-parseInt(_0x3aed5b(0x1ca))/0x9*(-parseInt(_0x3aed5b(0x1de))/0xa);if(_0x23f1d2===_0x34db22)break;else _0xe5b912['push'](_0xe5b912['shift']());}catch(_0x5f3303){_0xe5b912['push'](_0xe5b912['shift']());}}}(_0x551a,0x2c05b));import{ActionCompressor as _0xde06d7}from'./actioncompressor.js';import{arePositionsEqual as _0x305f26}from'../utils.js';function _0x337a(_0x2d720b,_0x26fee7){const _0x551a67=_0x551a();return _0x337a=function(_0x337ac6,_0x20e04f){_0x337ac6=_0x337ac6-0x1ca;let _0x50868c=_0x551a67[_0x337ac6];return _0x50868c;},_0x337a(_0x2d720b,_0x26fee7);}import{cloneDeep as _0x11c662}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xde06d7{[_0x22f33e(0x1e1)](_0x351fb3,_0x9d110d){const _0x46edbe=_0x22f33e;if(!this[_0x46edbe(0x1e0)](_0x9d110d[0x0],_0x9d110d[0x1]))return!0x1;const _0x39f514=_0x9d110d[_0x46edbe(0x1e4)]();return _0x39f514[_0x46edbe(0x1d8)]=null,_0x39f514[_0x46edbe(0x1e9)]&&_0x305f26(_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e3)],_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e2)])&&(_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e2)]=null),_0x9d110d[_0x46edbe(0x1e4)](),_0x351fb3[_0x46edbe(0x1d3)][_0x46edbe(0x1cc)](this[_0x46edbe(0x1e7)]),_0x351fb3[_0x46edbe(0x1d3)][_0x46edbe(0x1cc)](0x0),_0x351fb3[_0x46edbe(0x1d1)][_0x46edbe(0x1cc)](this[_0x46edbe(0x1cb)](_0x39f514)),!0x0;}[_0x22f33e(0x1dc)](_0xf03042,_0x1b5419){const _0x1e9e49=_0x22f33e,_0x25df9e=this[_0x1e9e49(0x1e6)](_0x1b5419);_0x25df9e[_0x1e9e49(0x1e9)]&&!_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]&&(_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]=_0x11c662(_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)]));const _0x4779c1=_0x11c662(_0x25df9e);_0x4779c1[_0x1e9e49(0x1e9)]&&(_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)][_0x1e9e49(0x1dd)]=_0x1e9e49(0x1d7),_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]=_0x11c662(_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)])),_0x4779c1[_0x1e9e49(0x1cd)]=_0x1e9e49(0x1db)+_0x4779c1[_0x1e9e49(0x1cd)][_0x1e9e49(0x1e8)](':')[0x2],_0x1b5419[_0x1e9e49(0x1d3)][_0x1e9e49(0x1e4)](),_0xf03042[_0x1e9e49(0x1cc)](_0x25df9e),_0xf03042[_0x1e9e49(0x1cc)](_0x4779c1);}[_0x22f33e(0x1cb)](_0x53ae59){const _0x498e70=_0x22f33e,_0xa4b30={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x498e70(0x1d0)][_0x498e70(0x1ec)](_0x498e70(0x1ea))[_0x498e70(0x1e1)](_0xa4b30,[_0x53ae59]),_0xa4b30[_0x498e70(0x1d1)][0x0];}[_0x22f33e(0x1e6)](_0x6baf2){const _0x374245=_0x22f33e,_0x50bf92=[];return this[_0x374245(0x1d0)][_0x374245(0x1ec)](_0x374245(0x1ea))[_0x374245(0x1dc)](_0x50bf92,_0x6baf2),_0x50bf92[0x0];}[_0x22f33e(0x1e0)](_0x475a3c,_0x49c32f){const _0x2d139b=_0x22f33e;return!(!_0x475a3c||!_0x49c32f)&&(_0x2d139b(0x1ea)==_0x475a3c[_0x2d139b(0x1d5)]&&_0x2d139b(0x1ea)==_0x49c32f[_0x2d139b(0x1d5)]&&!(!_0x475a3c[_0x2d139b(0x1cd)][_0x2d139b(0x1da)](_0x2d139b(0x1d9))||!_0x49c32f[_0x2d139b(0x1cd)][_0x2d139b(0x1da)](_0x2d139b(0x1d9))||_0x475a3c[_0x2d139b(0x1cd)]==_0x49c32f[_0x2d139b(0x1cd)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b7ba0=_0x51ce;(function(_0x482b84,_0x5fede4){const _0x1aa466=_0x51ce,_0x36db28=_0x482b84();while(!![]){try{const _0x2c8a57=parseInt(_0x1aa466(0x197))/0x1+parseInt(_0x1aa466(0x18e))/0x2*(parseInt(_0x1aa466(0x19c))/0x3)+-parseInt(_0x1aa466(0x198))/0x4+-parseInt(_0x1aa466(0x1aa))/0x5+-parseInt(_0x1aa466(0x18a))/0x6*(-parseInt(_0x1aa466(0x1a4))/0x7)+-parseInt(_0x1aa466(0x1b4))/0x8+parseInt(_0x1aa466(0x188))/0x9*(parseInt(_0x1aa466(0x19a))/0xa);if(_0x2c8a57===_0x5fede4)break;else _0x36db28['push'](_0x36db28['shift']());}catch(_0x57769f){_0x36db28['push'](_0x36db28['shift']());}}}(_0x44ad,0x40869));import{CKEditorError as _0x2008c8}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4afdb0}from'./protobuffactory.js';import{OperationCompressor as _0x10a26d}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x12f862}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x4fa740}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2cfe08}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x41d3dd}from'./operationcompressor/nooperationcompressor.js';function _0x51ce(_0x1018a5,_0xc97623){const _0x44ad08=_0x44ad();return _0x51ce=function(_0x51cea6,_0x14a247){_0x51cea6=_0x51cea6-0x188;let _0xc8b310=_0x44ad08[_0x51cea6];return _0xc8b310;},_0x51ce(_0x1018a5,_0xc97623);}import{AnnotationMarkerOperationCompressor as _0x19dea2}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5f3ebc}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x35f53d}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x2c4008}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x44ad(){const _0x30d460=['forEach','RenameOperation','AttributeOperation','SplitOperation','getDescriptor','decompress','65137FLHetf','433600rhoYxV','_compressorByName','20HDhgBI','MarkerOperation','6vilPTk','TypingAction','baseVersion','ForwardDeletingAction','types','DeletingAction','_registerActionCompressor','comment','864871DGBclM','_compressorById','get','decompress-compressor-not-found','MoveOperation','RootOperation','1167025Paezuy','MergeOperation','compress','_registerOperationCompressor','CommentMarkerOperation','RootAttributeOperation','UserSelectionAction','_registerCompressor','_getCompressorByName','__className','4195800UtiIqQ','NoOperation','SuggestionMarkerOperation','1918305OMkxMK','no-operations-provided','12bveKyX','length','set','_protobufFactory','392044rXXGjl','InsertOperation','suggestion'];_0x44ad=function(){return _0x30d460;};return _0x44ad();}import{UserSelectionActionCompressor as _0x3ada76}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2b7ba0(0x1a5)];[_0x2b7ba0(0x199)];[_0x2b7ba0(0x18d)];constructor(){const _0xf791b5=_0x2b7ba0;this[_0xf791b5(0x1a5)]=new Map(),this[_0xf791b5(0x199)]=new Map(),this[_0xf791b5(0x18d)]=new _0x4afdb0();const _0x24df3d=this[_0xf791b5(0x18d)][_0xf791b5(0x195)](_0xf791b5(0x19b));this[_0xf791b5(0x1b1)](0x1,_0xf791b5(0x1b5),new _0x41d3dd(0x1,_0xf791b5(0x1b5),void 0x0)),this[_0xf791b5(0x1ad)](0xa,_0xf791b5(0x193),_0x12f862),this[_0xf791b5(0x1ad)](0xb,_0xf791b5(0x18f),_0x4fa740),this[_0xf791b5(0x1ad)](0xc,_0xf791b5(0x19b),_0x2cfe08),this[_0xf791b5(0x1ad)](0xd,_0xf791b5(0x1ab),_0x10a26d),this[_0xf791b5(0x1ad)](0xe,_0xf791b5(0x1a8),_0x10a26d),this[_0xf791b5(0x1ad)](0xf,_0xf791b5(0x192),_0x10a26d),this[_0xf791b5(0x1ad)](0x10,_0xf791b5(0x1af),_0x12f862),this[_0xf791b5(0x1ad)](0x11,_0xf791b5(0x194),_0x10a26d),this[_0xf791b5(0x1b1)](0x12,_0xf791b5(0x1ae),new _0x19dea2(0x12,_0xf791b5(0x19b),_0x24df3d,_0xf791b5(0x1a3))),this[_0xf791b5(0x1b1)](0x13,_0xf791b5(0x1b6),new _0x19dea2(0x13,_0xf791b5(0x19b),_0x24df3d,_0xf791b5(0x190))),this[_0xf791b5(0x1ad)](0x14,_0xf791b5(0x1a9),_0x10a26d),this[_0xf791b5(0x1a2)](0x64,_0xf791b5(0x19d),_0x5f3ebc),this[_0xf791b5(0x1a2)](0x65,_0xf791b5(0x1a1),_0x35f53d),this[_0xf791b5(0x1a2)](0x66,_0xf791b5(0x19f),_0x2c4008),this[_0xf791b5(0x1a2)](0x67,_0xf791b5(0x1b0),_0x3ada76);}[_0x2b7ba0(0x1ac)](_0x38c2c0){const _0x5242a=_0x2b7ba0;if(!_0x38c2c0||!_0x38c2c0[0x0])throw new _0x2008c8(_0x5242a(0x189),this);const _0x47de66={'types':[],'buffers':[],'baseVersion':_0x38c2c0[0x0][_0x5242a(0x19e)]};for(;_0x38c2c0[_0x5242a(0x18b)];)this[_0x5242a(0x1b2)](_0x5242a(0x1b0))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x5242a(0x19d))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x5242a(0x1a1))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x5242a(0x19f))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x5242a(0x1ae))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x5242a(0x1b6))[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0)||this[_0x5242a(0x1b2)](_0x38c2c0[0x0][_0x5242a(0x1b3)])[_0x5242a(0x1ac)](_0x47de66,_0x38c2c0);return _0x47de66;}[_0x2b7ba0(0x196)](_0x3bd64c){const _0x50aa16=_0x2b7ba0,_0x39f0bf=[];for(;_0x3bd64c[_0x50aa16(0x1a0)][_0x50aa16(0x18b)];){const _0x581222=this[_0x50aa16(0x1a5)][_0x50aa16(0x1a6)](_0x3bd64c[_0x50aa16(0x1a0)][0x0]);if(!_0x581222)throw new _0x2008c8(_0x50aa16(0x1a7),this,{'type':_0x3bd64c[_0x50aa16(0x1a0)][0x0]});_0x581222[_0x50aa16(0x196)](_0x39f0bf,_0x3bd64c);}return _0x39f0bf[_0x50aa16(0x191)]((_0x17e491,_0x9b6e73)=>_0x17e491[_0x50aa16(0x19e)]=_0x3bd64c[_0x50aa16(0x19e)]+_0x9b6e73),_0x39f0bf;}[_0x2b7ba0(0x1b2)](_0x95ab31){const _0x57e684=_0x2b7ba0;return this[_0x57e684(0x199)][_0x57e684(0x1a6)](_0x95ab31);}[_0x2b7ba0(0x1ad)](_0x2f58c5,_0x35018b,_0x36080b){const _0x93db34=_0x2b7ba0,_0x32a8de=new _0x36080b(_0x2f58c5,_0x35018b,this[_0x93db34(0x18d)][_0x93db34(0x195)](_0x35018b));this[_0x93db34(0x1b1)](_0x2f58c5,_0x35018b,_0x32a8de);}[_0x2b7ba0(0x1a2)](_0x418723,_0x472c82,_0x56f535){const _0x58d17f=_0x2b7ba0,_0x2a5715=new _0x56f535(_0x418723,this);this[_0x58d17f(0x1b1)](_0x418723,_0x472c82,_0x2a5715);}[_0x2b7ba0(0x1b1)](_0x19ab53,_0x11bc3b,_0x498140){const _0x3c09ef=_0x2b7ba0;this[_0x3c09ef(0x1a5)][_0x3c09ef(0x18c)](_0x19ab53,_0x498140),this[_0x3c09ef(0x199)][_0x3c09ef(0x18c)](_0x11bc3b,_0x498140);}}
23
+ const _0xc84df4=_0x4c37;(function(_0x5379f5,_0x4caba3){const _0x1a271e=_0x4c37,_0x978439=_0x5379f5();while(!![]){try{const _0x48ee72=-parseInt(_0x1a271e(0x177))/0x1+-parseInt(_0x1a271e(0x16c))/0x2*(parseInt(_0x1a271e(0x18a))/0x3)+-parseInt(_0x1a271e(0x160))/0x4+-parseInt(_0x1a271e(0x168))/0x5*(-parseInt(_0x1a271e(0x170))/0x6)+parseInt(_0x1a271e(0x171))/0x7+parseInt(_0x1a271e(0x162))/0x8+parseInt(_0x1a271e(0x186))/0x9;if(_0x48ee72===_0x4caba3)break;else _0x978439['push'](_0x978439['shift']());}catch(_0x2d7741){_0x978439['push'](_0x978439['shift']());}}}(_0x29b0,0xdf683));import{CKEditorError as _0x4b75dc}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0xa7e18d}from'./protobuffactory.js';import{OperationCompressor as _0x24d83e}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xc06ea4}from'./operationcompressor/attributeoperationcompressor.js';function _0x4c37(_0x8ae843,_0xe9766e){const _0x29b0c5=_0x29b0();return _0x4c37=function(_0x4c37d0,_0x3088f3){_0x4c37d0=_0x4c37d0-0x15d;let _0xdff373=_0x29b0c5[_0x4c37d0];return _0xdff373;},_0x4c37(_0x8ae843,_0xe9766e);}import{InsertOperationCompressor as _0xbfda38}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x1a1ce5}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4c1324}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x442ae8}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x57b237}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x16cdcd}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x1e3d2b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x2bff8b}from'./actioncompressor/userselectionactioncompressor.js';function _0x29b0(){const _0x10b080=['_registerCompressor','CommentMarkerOperation','set','4OqAKlZ','comment','_getCompressorByName','NoOperation','356046ZaTabH','8056748RfYRzZ','getDescriptor','no-operations-provided','decompress-compressor-not-found','MergeOperation','DeletingAction','1765929alCwyp','__className','RootOperation','_registerActionCompressor','length','AttributeOperation','UserSelectionAction','_compressorById','get','decompress','TypingAction','forEach','SuggestionMarkerOperation','SplitOperation','_protobufFactory','9211320ANoBOw','baseVersion','MoveOperation','suggestion','2134533YaQJzj','_registerOperationCompressor','RootAttributeOperation','InsertOperation','565500aJfhyN','MarkerOperation','14194016gmEmeJ','types','ForwardDeletingAction','_compressorByName','compress','RenameOperation','25zfZEfs'];_0x29b0=function(){return _0x10b080;};return _0x29b0();}export class Compressor{[_0xc84df4(0x17e)];[_0xc84df4(0x165)];[_0xc84df4(0x185)];constructor(){const _0x20b056=_0xc84df4;this[_0x20b056(0x17e)]=new Map(),this[_0x20b056(0x165)]=new Map(),this[_0x20b056(0x185)]=new _0xa7e18d();const _0x3fd1ef=this[_0x20b056(0x185)][_0x20b056(0x172)](_0x20b056(0x161));this[_0x20b056(0x169)](0x1,_0x20b056(0x16f),new _0x4c1324(0x1,_0x20b056(0x16f),void 0x0)),this[_0x20b056(0x15d)](0xa,_0x20b056(0x17c),_0xc06ea4),this[_0x20b056(0x15d)](0xb,_0x20b056(0x15f),_0xbfda38),this[_0x20b056(0x15d)](0xc,_0x20b056(0x161),_0x1a1ce5),this[_0x20b056(0x15d)](0xd,_0x20b056(0x175),_0x24d83e),this[_0x20b056(0x15d)](0xe,_0x20b056(0x188),_0x24d83e),this[_0x20b056(0x15d)](0xf,_0x20b056(0x167),_0x24d83e),this[_0x20b056(0x15d)](0x10,_0x20b056(0x15e),_0xc06ea4),this[_0x20b056(0x15d)](0x11,_0x20b056(0x184),_0x24d83e),this[_0x20b056(0x169)](0x12,_0x20b056(0x16a),new _0x442ae8(0x12,_0x20b056(0x161),_0x3fd1ef,_0x20b056(0x16d))),this[_0x20b056(0x169)](0x13,_0x20b056(0x183),new _0x442ae8(0x13,_0x20b056(0x161),_0x3fd1ef,_0x20b056(0x189))),this[_0x20b056(0x15d)](0x14,_0x20b056(0x179),_0x24d83e),this[_0x20b056(0x17a)](0x64,_0x20b056(0x181),_0x57b237),this[_0x20b056(0x17a)](0x65,_0x20b056(0x176),_0x16cdcd),this[_0x20b056(0x17a)](0x66,_0x20b056(0x164),_0x1e3d2b),this[_0x20b056(0x17a)](0x67,_0x20b056(0x17d),_0x2bff8b);}[_0xc84df4(0x166)](_0x25a496){const _0x214ef5=_0xc84df4;if(!_0x25a496||!_0x25a496[0x0])throw new _0x4b75dc(_0x214ef5(0x173),this);const _0x302255={'types':[],'buffers':[],'baseVersion':_0x25a496[0x0][_0x214ef5(0x187)]};for(;_0x25a496[_0x214ef5(0x17b)];)this[_0x214ef5(0x16e)](_0x214ef5(0x17d))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x181))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x176))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x164))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x16a))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x183))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x25a496[0x0][_0x214ef5(0x178)])[_0x214ef5(0x166)](_0x302255,_0x25a496);return _0x302255;}[_0xc84df4(0x180)](_0x51ee6b){const _0x117e16=_0xc84df4,_0x2a7162=[];for(;_0x51ee6b[_0x117e16(0x163)][_0x117e16(0x17b)];){const _0x5b252f=this[_0x117e16(0x17e)][_0x117e16(0x17f)](_0x51ee6b[_0x117e16(0x163)][0x0]);if(!_0x5b252f)throw new _0x4b75dc(_0x117e16(0x174),this,{'type':_0x51ee6b[_0x117e16(0x163)][0x0]});_0x5b252f[_0x117e16(0x180)](_0x2a7162,_0x51ee6b);}return _0x2a7162[_0x117e16(0x182)]((_0x152926,_0x460ebe)=>_0x152926[_0x117e16(0x187)]=_0x51ee6b[_0x117e16(0x187)]+_0x460ebe),_0x2a7162;}[_0xc84df4(0x16e)](_0x54c50e){const _0x5ed863=_0xc84df4;return this[_0x5ed863(0x165)][_0x5ed863(0x17f)](_0x54c50e);}[_0xc84df4(0x15d)](_0x30e1eb,_0x41b5d9,_0x1b0223){const _0x4633d5=_0xc84df4,_0x3c4801=new _0x1b0223(_0x30e1eb,_0x41b5d9,this[_0x4633d5(0x185)][_0x4633d5(0x172)](_0x41b5d9));this[_0x4633d5(0x169)](_0x30e1eb,_0x41b5d9,_0x3c4801);}[_0xc84df4(0x17a)](_0xbec8af,_0x50c2cb,_0x27156){const _0x3acaca=_0xc84df4,_0x599fa7=new _0x27156(_0xbec8af,this);this[_0x3acaca(0x169)](_0xbec8af,_0x50c2cb,_0x599fa7);}[_0xc84df4(0x169)](_0x47a359,_0x2c563a,_0x200318){const _0x140c63=_0xc84df4;this[_0x140c63(0x17e)][_0x140c63(0x16b)](_0x47a359,_0x200318),this[_0x140c63(0x165)][_0x140c63(0x16b)](_0x2c563a,_0x200318);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ae8(){var _0x2ee3e2=['23029190uguYpX','805147tWLFLF','20656cIqQOJ','1309AkMWUd','894312jUboQD','6dYyfyJ','16041EKeLan','366dejYrv','4561092DXpMvw','5692255cRZvJe'];_0x5ae8=function(){return _0x2ee3e2;};return _0x5ae8();}(function(_0x925707,_0x207b56){var _0x471f0f=_0x12a5,_0x4abffa=_0x925707();while(!![]){try{var _0x22212a=-parseInt(_0x471f0f(0xa2))/0x1+parseInt(_0x471f0f(0x9e))/0x2*(parseInt(_0x471f0f(0x9d))/0x3)+parseInt(_0x471f0f(0x9b))/0x4+-parseInt(_0x471f0f(0xa0))/0x5*(parseInt(_0x471f0f(0x9c))/0x6)+-parseInt(_0x471f0f(0x9a))/0x7*(parseInt(_0x471f0f(0x99))/0x8)+-parseInt(_0x471f0f(0x9f))/0x9+parseInt(_0x471f0f(0xa1))/0xa;if(_0x22212a===_0x207b56)break;else _0x4abffa['push'](_0x4abffa['shift']());}catch(_0x1874be){_0x4abffa['push'](_0x4abffa['shift']());}}}(_0x5ae8,0x8b982));function _0x12a5(_0x4d8143,_0x563160){var _0x5ae822=_0x5ae8();return _0x12a5=function(_0x12a571,_0x385337){_0x12a571=_0x12a571-0x99;var _0x3c75c1=_0x5ae822[_0x12a571];return _0x3c75c1;},_0x12a5(_0x4d8143,_0x563160);}export{Compressor}from'./compressor.js';
23
+ (function(_0xad0fef,_0x29867e){var _0xa2c40f=_0x56b3,_0x4124f6=_0xad0fef();while(!![]){try{var _0x443e8f=parseInt(_0xa2c40f(0x143))/0x1+-parseInt(_0xa2c40f(0x141))/0x2*(parseInt(_0xa2c40f(0x149))/0x3)+parseInt(_0xa2c40f(0x140))/0x4*(-parseInt(_0xa2c40f(0x14b))/0x5)+-parseInt(_0xa2c40f(0x145))/0x6*(-parseInt(_0xa2c40f(0x146))/0x7)+-parseInt(_0xa2c40f(0x14a))/0x8+parseInt(_0xa2c40f(0x142))/0x9*(-parseInt(_0xa2c40f(0x148))/0xa)+parseInt(_0xa2c40f(0x144))/0xb*(parseInt(_0xa2c40f(0x147))/0xc);if(_0x443e8f===_0x29867e)break;else _0x4124f6['push'](_0x4124f6['shift']());}catch(_0x132e05){_0x4124f6['push'](_0x4124f6['shift']());}}}(_0x59ac,0xe1983));export{Compressor}from'./compressor.js';function _0x56b3(_0x325f4e,_0x4e4d0e){var _0x59aca2=_0x59ac();return _0x56b3=function(_0x56b3dc,_0x4ab4fd){_0x56b3dc=_0x56b3dc-0x140;var _0x1ea1e9=_0x59aca2[_0x56b3dc];return _0x1ea1e9;},_0x56b3(_0x325f4e,_0x4e4d0e);}function _0x59ac(){var _0x14f4ca=['5034BwTWrl','10668MaeKfc','12qwLBJu','1010ZySgAP','62637oyOehi','5037768Gfztga','645DxjKoW','42260TlbCmV','8ghuPXq','90693cyqnJo','1735467mMrOrl','11042141JAeUfE'];_0x59ac=function(){return _0x14f4ca;};return _0x59ac();}