@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.3 → 47.0.0-alpha.5
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
|
+
function _0x7643(){const _0x4db18a=['_decompressSingleOperation','383365hxceZa','6uVVIki','howMany','14YNXJGj','_checkOperation','_compareOperations','_combineNext','_splitCurrent','13436478MXElGW','wasUndone','706449llsBIw','decompress','targetPosition','268708IOCFyK','compress','MoveOperation','__className','3509430mqzoFJ','1269184ZtoKyo','_compressSingleOperation','20CWbuNU','sourcePosition','buffers','root','_context','_getCompressorByName','$graveyard','5084940sSqOWb'];_0x7643=function(){return _0x4db18a;};return _0x7643();}const _0x5c51c9=_0xe1bb;(function(_0x347ad1,_0x1f3eb0){const _0x343ad4=_0xe1bb,_0x250aaf=_0x347ad1();while(!![]){try{const _0x5c5caf=-parseInt(_0x343ad4(0x1a4))/0x1+parseInt(_0x343ad4(0x198))/0x2*(-parseInt(_0x343ad4(0x1a1))/0x3)+parseInt(_0x343ad4(0x18e))/0x4*(-parseInt(_0x343ad4(0x197))/0x5)+parseInt(_0x343ad4(0x1a8))/0x6*(parseInt(_0x343ad4(0x19a))/0x7)+parseInt(_0x343ad4(0x18c))/0x8+parseInt(_0x343ad4(0x19f))/0x9+-parseInt(_0x343ad4(0x195))/0xa;if(_0x5c5caf===_0x1f3eb0)break;else _0x250aaf['push'](_0x250aaf['shift']());}catch(_0x5d3593){_0x250aaf['push'](_0x250aaf['shift']());}}}(_0x7643,0xe9010));import{ActionCompressor as _0x501822}from'./actioncompressor.js';function _0xe1bb(_0x5dfda8,_0xbcc3e7){const _0x764317=_0x7643();return _0xe1bb=function(_0xe1bbbb,_0x16e907){_0xe1bbbb=_0xe1bbbb-0x18c;let _0x3443d0=_0x764317[_0xe1bbbb];return _0x3443d0;},_0xe1bb(_0x5dfda8,_0xbcc3e7);}import{arePositionsEqual as _0x398bf1,getPositionShiftedBy as _0x58cd08}from'../utils.js';import{cloneDeep as _0x3cea1b}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x501822{[_0x5c51c9(0x19d)](_0x37c843,_0x202229){const _0x5f4c9f=_0x5c51c9;return _0x202229[_0x5f4c9f(0x199)]++,_0x202229[_0x5f4c9f(0x18f)]=_0x3cea1b(_0x37c843[_0x5f4c9f(0x18f)]),_0x202229;}[_0x5c51c9(0x19e)](_0x2dd50e){const _0x40ef7c=_0x5c51c9,_0x2ce544=_0x3cea1b(_0x2dd50e);return _0x2dd50e[_0x40ef7c(0x199)]--,_0x2ce544[_0x40ef7c(0x199)]=0x1,_0x2ce544[_0x40ef7c(0x18f)]=_0x58cd08(_0x2ce544[_0x40ef7c(0x18f)],_0x2dd50e[_0x40ef7c(0x199)]),_0x2ce544;}[_0x5c51c9(0x19c)](_0x1efd90,_0x3e6a81){const _0xe4ed17=_0x5c51c9;return!(!this[_0xe4ed17(0x19b)](_0x1efd90)||!this[_0xe4ed17(0x19b)](_0x3e6a81))&&(_0x398bf1(_0x58cd08(_0x1efd90[_0xe4ed17(0x18f)],-0x1),_0x3e6a81[_0xe4ed17(0x18f)])&&_0x398bf1(_0x1efd90[_0xe4ed17(0x1a3)],_0x3e6a81[_0xe4ed17(0x1a3)]));}[_0x5c51c9(0x18d)](_0x539bf2){const _0x246b0b=_0x5c51c9,_0x28597f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x246b0b(0x192)][_0x246b0b(0x193)](_0x246b0b(0x1a6))[_0x246b0b(0x1a5)](_0x28597f,[_0x539bf2]),_0x28597f[_0x246b0b(0x190)][0x0];}[_0x5c51c9(0x196)](_0x5d3767){const _0x5c5cda=_0x5c51c9,_0x6502bd=[];return this[_0x5c5cda(0x192)][_0x5c5cda(0x193)](_0x5c5cda(0x1a6))[_0x5c5cda(0x1a2)](_0x6502bd,_0x5d3767),_0x6502bd[0x0];}[_0x5c51c9(0x19b)](_0x3772e3){const _0x4e2c45=_0x5c51c9;return _0x4e2c45(0x1a6)==_0x3772e3[_0x4e2c45(0x1a7)]&&_0x4e2c45(0x194)==_0x3772e3[_0x4e2c45(0x1a3)][_0x4e2c45(0x191)]&&0x1==_0x3772e3[_0x4e2c45(0x199)]&&!_0x3772e3[_0x4e2c45(0x1a0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46840a=_0x22d7;(function(_0x2e0306,_0xe8a3ab){const _0x286475=_0x22d7,_0x32a0cd=_0x2e0306();while(!![]){try{const _0x40a115=parseInt(_0x286475(0xc5))/0x1+-parseInt(_0x286475(0xaf))/0x2*(parseInt(_0x286475(0xb5))/0x3)+-parseInt(_0x286475(0xb2))/0x4+parseInt(_0x286475(0xb4))/0x5+-parseInt(_0x286475(0xbc))/0x6+parseInt(_0x286475(0xc3))/0x7+parseInt(_0x286475(0xb3))/0x8;if(_0x40a115===_0xe8a3ab)break;else _0x32a0cd['push'](_0x32a0cd['shift']());}catch(_0x232a59){_0x32a0cd['push'](_0x32a0cd['shift']());}}}(_0x55ab,0x5e3dd));function _0x22d7(_0x2043bc,_0x410cae){const _0x55abb5=_0x55ab();return _0x22d7=function(_0x22d7d6,_0x4db440){_0x22d7d6=_0x22d7d6-0xaf;let _0x448041=_0x55abb5[_0x22d7d6];return _0x448041;},_0x22d7(_0x2043bc,_0x410cae);}import{ActionCompressor as _0x35b753}from'./actioncompressor.js';import{arePositionsEqual as _0x506d8d}from'../utils.js';import{cloneDeep as _0x10ef57}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x35b753{[_0x46840a(0xc0)](_0x145cc3,_0x22de2d){const _0x544b2e=_0x46840a;return _0x22de2d[_0x544b2e(0xc7)]++,_0x22de2d;}[_0x46840a(0xb8)](_0x3ae1d0){const _0x3231b4=_0x46840a,_0x88ef88=_0x10ef57(_0x3ae1d0);return _0x88ef88[_0x3231b4(0xc7)]=0x1,_0x3ae1d0[_0x3231b4(0xc7)]--,_0x88ef88;}[_0x46840a(0xbf)](_0xb2570a,_0x4ea0e6){const _0x1e8525=_0x46840a;return!(!this[_0x1e8525(0xbe)](_0xb2570a)||!this[_0x1e8525(0xbe)](_0x4ea0e6))&&(_0x506d8d(_0xb2570a[_0x1e8525(0xb1)],_0x4ea0e6[_0x1e8525(0xb1)])&&_0x506d8d(_0xb2570a[_0x1e8525(0xc1)],_0x4ea0e6[_0x1e8525(0xc1)]));}[_0x46840a(0xb9)](_0x473e35){const _0xbcefad=_0x46840a,_0x47d984={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xbcefad(0xbb)][_0xbcefad(0xb0)](_0xbcefad(0xc2))[_0xbcefad(0xbd)](_0x47d984,[_0x473e35]),_0x47d984[_0xbcefad(0xb7)][0x0];}[_0x46840a(0xb6)](_0x2ac5e3){const _0x16b19a=_0x46840a,_0x47e623=[];return this[_0x16b19a(0xbb)][_0x16b19a(0xb0)](_0x16b19a(0xc2))[_0x16b19a(0xc6)](_0x47e623,_0x2ac5e3),_0x47e623[0x0];}[_0x46840a(0xbe)](_0x31143f){const _0x10a2e1=_0x46840a;return _0x10a2e1(0xc2)==_0x31143f[_0x10a2e1(0xc9)]&&_0x10a2e1(0xba)==_0x31143f[_0x10a2e1(0xc1)][_0x10a2e1(0xc8)]&&0x1==_0x31143f[_0x10a2e1(0xc7)]&&!_0x31143f[_0x10a2e1(0xc4)];}}function _0x55ab(){const _0x36da1c=['_compareOperations','_combineNext','targetPosition','MoveOperation','13496zkHwTy','wasUndone','730217XXOaLa','decompress','howMany','root','__className','70632NfeSpS','_getCompressorByName','sourcePosition','489504ygaWCb','6655728ptrkqt','1213850DUpcgd','48ODPDan','_decompressSingleOperation','buffers','_splitCurrent','_compressSingleOperation','$graveyard','_context','4400616WtXlJn','compress','_checkOperation'];_0x55ab=function(){return _0x36da1c;};return _0x55ab();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1e1825=_0x3acc;function _0x3acc(_0x4efd41,_0x1f969a){const _0x2fda4c=_0x2fda();return _0x3acc=function(_0x3accfb,_0x81fd68){_0x3accfb=_0x3accfb-0x133;let _0x1b4517=_0x2fda4c[_0x3accfb];return _0x1b4517;},_0x3acc(_0x4efd41,_0x1f969a);}(function(_0x1ee702,_0x16eae9){const _0x4e1ba1=_0x3acc,_0x197289=_0x1ee702();while(!![]){try{const _0x3ad964=-parseInt(_0x4e1ba1(0x156))/0x1*(-parseInt(_0x4e1ba1(0x138))/0x2)+parseInt(_0x4e1ba1(0x154))/0x3*(-parseInt(_0x4e1ba1(0x139))/0x4)+parseInt(_0x4e1ba1(0x13e))/0x5+parseInt(_0x4e1ba1(0x159))/0x6*(-parseInt(_0x4e1ba1(0x140))/0x7)+parseInt(_0x4e1ba1(0x13f))/0x8*(parseInt(_0x4e1ba1(0x149))/0x9)+-parseInt(_0x4e1ba1(0x13d))/0xa*(-parseInt(_0x4e1ba1(0x152))/0xb)+-parseInt(_0x4e1ba1(0x134))/0xc;if(_0x3ad964===_0x16eae9)break;else _0x197289['push'](_0x197289['shift']());}catch(_0x19c7f2){_0x197289['push'](_0x197289['shift']());}}}(_0x2fda,0x3ee8a));import{ActionCompressor as _0x3e5ec9}from'./actioncompressor.js';import{arePositionsEqual as _0x2df4b2,getPositionShiftedBy as _0x11ac53}from'../utils.js';function _0x2fda(){const _0x501d45=['nodes','_checkOperation','length','_combineNext','compress','data','iterator','__className','3177PNToXc','every','_compareAttributes','buffers','_splitCurrent','value','_getCompressorByName','position','wasUndone','22CsjYhr','_decompressSingleOperation','15uMfxCP','substr','2dOjQTf','next','decompress','6SwgEWp','from','2758356xLwAjO','InsertOperation','attributes','_context','329126yGPlFB','25588zuZPzC','_compressSingleOperation','keys','_compareOperations','1194100mCkAQK','33245GFBKqU','4264SAhFWE','1702554EwpXcT'];_0x2fda=function(){return _0x501d45;};return _0x2fda();}import{cloneDeep as _0x1b4cc6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x3e5ec9{[_0x1e1825(0x144)](_0x16d325,_0x11ae5b){const _0x255226=_0x1e1825;return _0x11ae5b[_0x255226(0x141)][0x0][_0x255226(0x146)]+=_0x16d325[_0x255226(0x141)][0x0][_0x255226(0x146)],_0x11ae5b;}[_0x1e1825(0x14d)](_0x5970fc){const _0x43107e=_0x1e1825,_0x50bf11=_0x1b4cc6(_0x5970fc),_0x1be22e=_0x50bf11[_0x43107e(0x141)][0x0],_0x44b706=_0x5970fc[_0x43107e(0x141)][0x0],_0x98b495=_0x44b706[_0x43107e(0x146)][Symbol[_0x43107e(0x147)]]()[_0x43107e(0x157)]()[_0x43107e(0x14e)],_0x47a62c=_0x98b495[_0x43107e(0x143)];return _0x1be22e[_0x43107e(0x146)]=_0x98b495,_0x44b706[_0x43107e(0x146)]=_0x44b706[_0x43107e(0x146)][_0x43107e(0x155)](_0x47a62c),_0x5970fc[_0x43107e(0x150)]=_0x11ac53(_0x5970fc[_0x43107e(0x150)],_0x47a62c),_0x50bf11;}[_0x1e1825(0x13c)](_0x31c4e7,_0x5cd834){const _0x467184=_0x1e1825;if(this[_0x467184(0x142)](_0x31c4e7)&&this[_0x467184(0x142)](_0x5cd834)){const _0x1d7cd1=_0x31c4e7[_0x467184(0x141)][0x0][_0x467184(0x146)][_0x467184(0x143)],_0x9b660a=_0x2df4b2(_0x11ac53(_0x31c4e7[_0x467184(0x150)],_0x1d7cd1),_0x5cd834[_0x467184(0x150)]),_0x57f6f0=_0x31c4e7[_0x467184(0x141)][0x0],_0x10ac38=_0x5cd834[_0x467184(0x141)][0x0];return _0x9b660a&&this[_0x467184(0x14b)](_0x57f6f0,_0x10ac38);}return!0x1;}[_0x1e1825(0x13a)](_0x355f1f){const _0x3e5095=_0x1e1825,_0x23005c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3e5095(0x137)][_0x3e5095(0x14f)](_0x3e5095(0x135))[_0x3e5095(0x145)](_0x23005c,[_0x355f1f]),_0x23005c[_0x3e5095(0x14c)][0x0];}[_0x1e1825(0x153)](_0xf3b601){const _0x39b7c0=_0x1e1825,_0x57f463=[];return this[_0x39b7c0(0x137)][_0x39b7c0(0x14f)](_0x39b7c0(0x135))[_0x39b7c0(0x158)](_0x57f463,_0xf3b601),_0x57f463[0x0];}[_0x1e1825(0x142)](_0x5a2c24){const _0x2c9817=_0x1e1825;return _0x2c9817(0x135)==_0x5a2c24[_0x2c9817(0x148)]&&0x1==_0x5a2c24[_0x2c9817(0x141)][_0x2c9817(0x143)]&&_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)]&&!_0x5a2c24[_0x2c9817(0x151)]&&0x1==Array[_0x2c9817(0x133)](_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)])[_0x2c9817(0x143)];}[_0x1e1825(0x14b)](_0x334ffb,_0x3d3b81){const _0x5d6129=_0x1e1825,_0x61134d=Object[_0x5d6129(0x13b)](_0x334ffb[_0x5d6129(0x136)]||{}),_0x368991=Object[_0x5d6129(0x13b)](_0x3d3b81[_0x5d6129(0x136)]||{});return _0x61134d[_0x5d6129(0x143)]===_0x368991[_0x5d6129(0x143)]&&_0x61134d[_0x5d6129(0x14a)](_0x27da5f=>_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]&&_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]===_0x334ffb[_0x5d6129(0x136)][_0x27da5f]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fe430=_0x555b;(function(_0x40fa47,_0x6e601a){const _0x1a8f9a=_0x555b,_0xe3233e=_0x40fa47();while(!![]){try{const _0x4f6168=parseInt(_0x1a8f9a(0x1e7))/0x1+-parseInt(_0x1a8f9a(0x1f3))/0x2*(parseInt(_0x1a8f9a(0x1f0))/0x3)+-parseInt(_0x1a8f9a(0x1ed))/0x4+parseInt(_0x1a8f9a(0x1e8))/0x5+parseInt(_0x1a8f9a(0x1eb))/0x6*(parseInt(_0x1a8f9a(0x1de))/0x7)+-parseInt(_0x1a8f9a(0x1dc))/0x8+parseInt(_0x1a8f9a(0x1e5))/0x9*(parseInt(_0x1a8f9a(0x1df))/0xa);if(_0x4f6168===_0x6e601a)break;else _0xe3233e['push'](_0xe3233e['shift']());}catch(_0x517077){_0xe3233e['push'](_0xe3233e['shift']());}}}(_0x19c9,0xd1d52));function _0x555b(_0x3b881b,_0x46bdb9){const _0x19c9e7=_0x19c9();return _0x555b=function(_0x555b32,_0x10f6b9){_0x555b32=_0x555b32-0x1d5;let _0x25283e=_0x19c9e7[_0x555b32];return _0x25283e;},_0x555b(_0x3b881b,_0x46bdb9);}import{ActionCompressor as _0xaa3334}from'./actioncompressor.js';import{arePositionsEqual as _0x4094db}from'../utils.js';import{cloneDeep as _0x58e85e}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xaa3334{[_0x2fe430(0x1f2)](_0x10f069,_0x10bb20){const _0x3a1abf=_0x2fe430;if(!this[_0x3a1abf(0x1e0)](_0x10bb20[0x0],_0x10bb20[0x1]))return!0x1;const _0x460fee=_0x10bb20[_0x3a1abf(0x1ee)]();return _0x460fee[_0x3a1abf(0x1f4)]=null,_0x460fee[_0x3a1abf(0x1ea)]&&_0x4094db(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e2)],_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)])&&(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)]=null),_0x10bb20[_0x3a1abf(0x1ee)](),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1e9)]),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](0x0),_0x10f069[_0x3a1abf(0x1ec)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1f6)](_0x460fee)),!0x0;}[_0x2fe430(0x1db)](_0x4252ae,_0x47e3f8){const _0x5522ad=_0x2fe430,_0x211e10=this[_0x5522ad(0x1da)](_0x47e3f8);_0x211e10[_0x5522ad(0x1ea)]&&!_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]&&(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)]));const _0x3ad568=_0x58e85e(_0x211e10);_0x3ad568[_0x5522ad(0x1ea)]&&(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)][_0x5522ad(0x1d8)]=_0x5522ad(0x1e1),_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)])),_0x3ad568[_0x5522ad(0x1d7)]=_0x5522ad(0x1dd)+_0x3ad568[_0x5522ad(0x1d7)][_0x5522ad(0x1e3)](':')[0x2],_0x47e3f8[_0x5522ad(0x1d5)][_0x5522ad(0x1ee)](),_0x4252ae[_0x5522ad(0x1f5)](_0x211e10),_0x4252ae[_0x5522ad(0x1f5)](_0x3ad568);}[_0x2fe430(0x1f6)](_0x4dd654){const _0x48ac74=_0x2fe430,_0x46c2f1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48ac74(0x1f1)][_0x48ac74(0x1ef)](_0x48ac74(0x1f7))[_0x48ac74(0x1f2)](_0x46c2f1,[_0x4dd654]),_0x46c2f1[_0x48ac74(0x1ec)][0x0];}[_0x2fe430(0x1da)](_0x33ec05){const _0x29a9dc=_0x2fe430,_0x958a5a=[];return this[_0x29a9dc(0x1f1)][_0x29a9dc(0x1ef)](_0x29a9dc(0x1f7))[_0x29a9dc(0x1db)](_0x958a5a,_0x33ec05),_0x958a5a[0x0];}[_0x2fe430(0x1e0)](_0x25e304,_0x4a1f7b){const _0x19a2ea=_0x2fe430;return!(!_0x25e304||!_0x4a1f7b)&&(_0x19a2ea(0x1f7)==_0x25e304[_0x19a2ea(0x1d9)]&&_0x19a2ea(0x1f7)==_0x4a1f7b[_0x19a2ea(0x1d9)]&&!(!_0x25e304[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||!_0x4a1f7b[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||_0x25e304[_0x19a2ea(0x1d7)]==_0x4a1f7b[_0x19a2ea(0x1d7)]));}}function _0x19c9(){const _0x56e205=['MarkerOperation','types','user:','name','stickiness','__className','_decompressSingleOperation','decompress','10802272Wgmmmt','user:position:','35GnHHpu','60toBaJH','_compareOperations','toNone','start','split','end','133191PWtOAq','startsWith','1344921ferWkX','7852380iOUgAH','_id','newRange','426366rkEHRO','buffers','4497564UjMhcr','shift','_getCompressorByName','10863ifOIct','_context','compress','14aRfMew','oldRange','push','_compressSingleOperation'];_0x19c9=function(){return _0x56e205;};return _0x19c9();}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4a68(){const _0x571c36=['SplitOperation','MoveOperation','ForwardDeletingAction','_registerCompressor','set','MarkerOperation','7997958jjqlFC','baseVersion','RootAttributeOperation','decompress-compressor-not-found','6273cBLuzP','UserSelectionAction','10218GqQmHo','getDescriptor','4486146WmdZnl','_protobufFactory','RootOperation','suggestion','AttributeOperation','NoOperation','_compressorById','1135974UVPJBR','length','no-operations-provided','forEach','_getCompressorByName','_registerActionCompressor','CommentMarkerOperation','types','RenameOperation','SuggestionMarkerOperation','695PIfCWe','InsertOperation','_registerOperationCompressor','__className','decompress','1518744vJNrCb','DeletingAction','MergeOperation','TypingAction','get','compress','3618008FBpsfg','_compressorByName','246AFqRjF','comment'];_0x4a68=function(){return _0x571c36;};return _0x4a68();}const _0x42cd51=_0x3a9a;(function(_0x1aabd0,_0x4764cc){const _0x5bc917=_0x3a9a,_0x8a2f04=_0x1aabd0();while(!![]){try{const _0x198f14=-parseInt(_0x5bc917(0xd3))/0x1*(parseInt(_0x5bc917(0xc7))/0x2)+parseInt(_0x5bc917(0xde))/0x3+parseInt(_0x5bc917(0xbf))/0x4+parseInt(_0x5bc917(0xba))/0x5*(-parseInt(_0x5bc917(0xd5))/0x6)+-parseInt(_0x5bc917(0xd7))/0x7+parseInt(_0x5bc917(0xc5))/0x8+parseInt(_0x5bc917(0xcf))/0x9;if(_0x198f14===_0x4764cc)break;else _0x8a2f04['push'](_0x8a2f04['shift']());}catch(_0x1e04fc){_0x8a2f04['push'](_0x8a2f04['shift']());}}}(_0x4a68,0x6de23));function _0x3a9a(_0x272b08,_0x26e361){const _0x4a685a=_0x4a68();return _0x3a9a=function(_0x3a9af1,_0x4a578a){_0x3a9af1=_0x3a9af1-0xb2;let _0x24d6e0=_0x4a685a[_0x3a9af1];return _0x24d6e0;},_0x3a9a(_0x272b08,_0x26e361);}import{CKEditorError as _0x210c3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4e7c69}from'./protobuffactory.js';import{OperationCompressor as _0x45392b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xeee69c}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x412144}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x412544}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x41b965}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x1a28a4}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3a05e1}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1a52a7}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x26778a}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xc3d8c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x42cd51(0xdd)];[_0x42cd51(0xc6)];[_0x42cd51(0xd8)];constructor(){const _0x3dcee7=_0x42cd51;this[_0x3dcee7(0xdd)]=new Map(),this[_0x3dcee7(0xc6)]=new Map(),this[_0x3dcee7(0xd8)]=new _0x4e7c69();const _0x139242=this[_0x3dcee7(0xd8)][_0x3dcee7(0xd6)](_0x3dcee7(0xce));this[_0x3dcee7(0xcc)](0x1,_0x3dcee7(0xdc),new _0x41b965(0x1,_0x3dcee7(0xdc),void 0x0)),this[_0x3dcee7(0xbc)](0xa,_0x3dcee7(0xdb),_0xeee69c),this[_0x3dcee7(0xbc)](0xb,_0x3dcee7(0xbb),_0x412144),this[_0x3dcee7(0xbc)](0xc,_0x3dcee7(0xce),_0x412544),this[_0x3dcee7(0xbc)](0xd,_0x3dcee7(0xc1),_0x45392b),this[_0x3dcee7(0xbc)](0xe,_0x3dcee7(0xca),_0x45392b),this[_0x3dcee7(0xbc)](0xf,_0x3dcee7(0xb8),_0x45392b),this[_0x3dcee7(0xbc)](0x10,_0x3dcee7(0xd1),_0xeee69c),this[_0x3dcee7(0xbc)](0x11,_0x3dcee7(0xc9),_0x45392b),this[_0x3dcee7(0xcc)](0x12,_0x3dcee7(0xb6),new _0x1a28a4(0x12,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xc8))),this[_0x3dcee7(0xcc)](0x13,_0x3dcee7(0xb9),new _0x1a28a4(0x13,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xda))),this[_0x3dcee7(0xbc)](0x14,_0x3dcee7(0xd9),_0x45392b),this[_0x3dcee7(0xb5)](0x64,_0x3dcee7(0xc2),_0x3a05e1),this[_0x3dcee7(0xb5)](0x65,_0x3dcee7(0xc0),_0x1a52a7),this[_0x3dcee7(0xb5)](0x66,_0x3dcee7(0xcb),_0x26778a),this[_0x3dcee7(0xb5)](0x67,_0x3dcee7(0xd4),_0xc3d8c);}[_0x42cd51(0xc4)](_0x4719e3){const _0x5e17d6=_0x42cd51;if(!_0x4719e3||!_0x4719e3[0x0])throw new _0x210c3b(_0x5e17d6(0xb2),this);const _0x16252e={'types':[],'buffers':[],'baseVersion':_0x4719e3[0x0][_0x5e17d6(0xd0)]};for(;_0x4719e3[_0x5e17d6(0xdf)];)this[_0x5e17d6(0xb4)](_0x5e17d6(0xd4))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc2))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc0))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xcb))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb6))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb9))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x4719e3[0x0][_0x5e17d6(0xbd)])[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3);return _0x16252e;}[_0x42cd51(0xbe)](_0x5e6d7b){const _0x55cd69=_0x42cd51,_0x19bbb8=[];for(;_0x5e6d7b[_0x55cd69(0xb7)][_0x55cd69(0xdf)];){const _0x1b05db=this[_0x55cd69(0xdd)][_0x55cd69(0xc3)](_0x5e6d7b[_0x55cd69(0xb7)][0x0]);if(!_0x1b05db)throw new _0x210c3b(_0x55cd69(0xd2),this,{'type':_0x5e6d7b[_0x55cd69(0xb7)][0x0]});_0x1b05db[_0x55cd69(0xbe)](_0x19bbb8,_0x5e6d7b);}return _0x19bbb8[_0x55cd69(0xb3)]((_0x2e9dc4,_0x2e32b7)=>_0x2e9dc4[_0x55cd69(0xd0)]=_0x5e6d7b[_0x55cd69(0xd0)]+_0x2e32b7),_0x19bbb8;}[_0x42cd51(0xb4)](_0x4b25bc){const _0x37fdb1=_0x42cd51;return this[_0x37fdb1(0xc6)][_0x37fdb1(0xc3)](_0x4b25bc);}[_0x42cd51(0xbc)](_0x16910a,_0x3b585b,_0x3cae10){const _0x69e1a4=_0x42cd51,_0x37ab7b=new _0x3cae10(_0x16910a,_0x3b585b,this[_0x69e1a4(0xd8)][_0x69e1a4(0xd6)](_0x3b585b));this[_0x69e1a4(0xcc)](_0x16910a,_0x3b585b,_0x37ab7b);}[_0x42cd51(0xb5)](_0x2ec112,_0x3e22aa,_0x2daab5){const _0x1b498b=_0x42cd51,_0x447d99=new _0x2daab5(_0x2ec112,this);this[_0x1b498b(0xcc)](_0x2ec112,_0x3e22aa,_0x447d99);}[_0x42cd51(0xcc)](_0x420778,_0x3ccc01,_0x1a5349){const _0x81c53b=_0x42cd51;this[_0x81c53b(0xdd)][_0x81c53b(0xcd)](_0x420778,_0x1a5349),this[_0x81c53b(0xc6)][_0x81c53b(0xcd)](_0x3ccc01,_0x1a5349);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1801(_0x241c7f,_0x1a1e92){var _0x515ed9=_0x515e();return _0x1801=function(_0x1801d5,_0x3a4ff8){_0x1801d5=_0x1801d5-0x1ba;var _0x54ce27=_0x515ed9[_0x1801d5];return _0x54ce27;},_0x1801(_0x241c7f,_0x1a1e92);}(function(_0x32fe2b,_0x9a2e3d){var _0xc83cc8=_0x1801,_0x451cfc=_0x32fe2b();while(!![]){try{var _0x29e143=parseInt(_0xc83cc8(0x1bf))/0x1*(-parseInt(_0xc83cc8(0x1be))/0x2)+parseInt(_0xc83cc8(0x1ba))/0x3*(-parseInt(_0xc83cc8(0x1bb))/0x4)+parseInt(_0xc83cc8(0x1bc))/0x5+-parseInt(_0xc83cc8(0x1c2))/0x6+parseInt(_0xc83cc8(0x1c3))/0x7+parseInt(_0xc83cc8(0x1bd))/0x8+-parseInt(_0xc83cc8(0x1c1))/0x9*(-parseInt(_0xc83cc8(0x1c0))/0xa);if(_0x29e143===_0x9a2e3d)break;else _0x451cfc['push'](_0x451cfc['shift']());}catch(_0x14e0e9){_0x451cfc['push'](_0x451cfc['shift']());}}}(_0x515e,0xd838f));export{Compressor}from'./compressor.js';function _0x515e(){var _0x537f65=['2167638sDJKIR','10050012uJowBC','12UZFOCB','1229596GiyCrv','6089250ZhfKcS','2507728MHndvG','641180efiwGu','5LjwdZi','2980dOduOS','33597wcsDNU'];_0x515e=function(){return _0x537f65;};return _0x515e();}
|