@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.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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();}
|