@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.7 → 46.0.0
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
|
-
function
|
|
23
|
+
const _0x26b3d3=_0x4ff9;function _0x2419(){const _0x3d0875=['_compressSingleOperation','root','decompress','_compareOperations','_decompressSingleOperation','443091iMCxwf','_context','buffers','_getCompressorByName','1575292TRuIoj','wasUndone','MoveOperation','_combineNext','1684739aBwtxr','2077092SSJgyz','targetPosition','howMany','65215KtDAlv','27BTbqfg','_splitCurrent','$graveyard','665720fWLliI','__className','5038GulJRA','_checkOperation','sourcePosition','compress','1nxIQwi'];_0x2419=function(){return _0x3d0875;};return _0x2419();}(function(_0x3772ee,_0x274b1e){const _0x4f805c=_0x4ff9,_0x533b33=_0x3772ee();while(!![]){try{const _0x10a2b5=-parseInt(_0x4f805c(0x7c))/0x1*(-parseInt(_0x4f805c(0x78))/0x2)+parseInt(_0x4f805c(0x82))/0x3+parseInt(_0x4f805c(0x6a))/0x4+parseInt(_0x4f805c(0x72))/0x5+-parseInt(_0x4f805c(0x6f))/0x6+-parseInt(_0x4f805c(0x6e))/0x7+-parseInt(_0x4f805c(0x76))/0x8*(-parseInt(_0x4f805c(0x73))/0x9);if(_0x10a2b5===_0x274b1e)break;else _0x533b33['push'](_0x533b33['shift']());}catch(_0xa3440e){_0x533b33['push'](_0x533b33['shift']());}}}(_0x2419,0x35adc));function _0x4ff9(_0x2fe24f,_0x26add2){const _0x24193a=_0x2419();return _0x4ff9=function(_0x4ff927,_0x541562){_0x4ff927=_0x4ff927-0x6a;let _0x335df8=_0x24193a[_0x4ff927];return _0x335df8;},_0x4ff9(_0x2fe24f,_0x26add2);}import{ActionCompressor as _0x32b187}from'./actioncompressor.js';import{arePositionsEqual as _0x4fdc9f,getPositionShiftedBy as _0x290864}from'../utils.js';import{cloneDeep as _0x4cff0c}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x32b187{[_0x26b3d3(0x6d)](_0x412903,_0xd0da3f){const _0x2465db=_0x26b3d3;return _0xd0da3f[_0x2465db(0x71)]++,_0xd0da3f[_0x2465db(0x7a)]=_0x4cff0c(_0x412903[_0x2465db(0x7a)]),_0xd0da3f;}[_0x26b3d3(0x74)](_0xeb16da){const _0x2991e1=_0x26b3d3,_0x15e322=_0x4cff0c(_0xeb16da);return _0xeb16da[_0x2991e1(0x71)]--,_0x15e322[_0x2991e1(0x71)]=0x1,_0x15e322[_0x2991e1(0x7a)]=_0x290864(_0x15e322[_0x2991e1(0x7a)],_0xeb16da[_0x2991e1(0x71)]),_0x15e322;}[_0x26b3d3(0x80)](_0x1378fc,_0x4fd34b){const _0x388684=_0x26b3d3;return!(!this[_0x388684(0x79)](_0x1378fc)||!this[_0x388684(0x79)](_0x4fd34b))&&(_0x4fdc9f(_0x290864(_0x1378fc[_0x388684(0x7a)],-0x1),_0x4fd34b[_0x388684(0x7a)])&&_0x4fdc9f(_0x1378fc[_0x388684(0x70)],_0x4fd34b[_0x388684(0x70)]));}[_0x26b3d3(0x7d)](_0x2cdfa7){const _0x35c1fd=_0x26b3d3,_0x3fdc8b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35c1fd(0x83)][_0x35c1fd(0x85)](_0x35c1fd(0x6c))[_0x35c1fd(0x7b)](_0x3fdc8b,[_0x2cdfa7]),_0x3fdc8b[_0x35c1fd(0x84)][0x0];}[_0x26b3d3(0x81)](_0x34f2d9){const _0x306041=_0x26b3d3,_0x3b4e92=[];return this[_0x306041(0x83)][_0x306041(0x85)](_0x306041(0x6c))[_0x306041(0x7f)](_0x3b4e92,_0x34f2d9),_0x3b4e92[0x0];}[_0x26b3d3(0x79)](_0x583b04){const _0x4e6961=_0x26b3d3;return _0x4e6961(0x6c)==_0x583b04[_0x4e6961(0x77)]&&_0x4e6961(0x75)==_0x583b04[_0x4e6961(0x70)][_0x4e6961(0x7e)]&&0x1==_0x583b04[_0x4e6961(0x71)]&&!_0x583b04[_0x4e6961(0x6b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x192072=_0x2e7f;(function(_0x5d36cd,_0x49dc97){const _0x11a6ec=_0x2e7f,_0x193b25=_0x5d36cd();while(!![]){try{const _0x42c324=-parseInt(_0x11a6ec(0x139))/0x1+parseInt(_0x11a6ec(0x13b))/0x2+-parseInt(_0x11a6ec(0x129))/0x3*(-parseInt(_0x11a6ec(0x13e))/0x4)+parseInt(_0x11a6ec(0x128))/0x5*(parseInt(_0x11a6ec(0x12f))/0x6)+-parseInt(_0x11a6ec(0x134))/0x7+-parseInt(_0x11a6ec(0x13c))/0x8*(parseInt(_0x11a6ec(0x144))/0x9)+parseInt(_0x11a6ec(0x12e))/0xa;if(_0x42c324===_0x49dc97)break;else _0x193b25['push'](_0x193b25['shift']());}catch(_0x417a47){_0x193b25['push'](_0x193b25['shift']());}}}(_0x3a7b,0xea8b2));function _0x2e7f(_0x18b455,_0x4babc7){const _0x3a7b41=_0x3a7b();return _0x2e7f=function(_0x2e7fb1,_0x6a5bf6){_0x2e7fb1=_0x2e7fb1-0x128;let _0xa354f0=_0x3a7b41[_0x2e7fb1];return _0xa354f0;},_0x2e7f(_0x18b455,_0x4babc7);}function _0x3a7b(){const _0xf0ae72=['10460135QdKRUD','_compressSingleOperation','$graveyard','decompress','targetPosition','480912JdQgGu','_combineNext','526408OcpgeO','8rvxnek','_checkOperation','36CijBXX','compress','wasUndone','_context','_decompressSingleOperation','MoveOperation','6509754NpYCQN','1055550MPNVwi','13281guylOM','_getCompressorByName','_compareOperations','buffers','__className','29339460cRYdzQ','12SHysCs','_splitCurrent','root','sourcePosition','howMany'];_0x3a7b=function(){return _0xf0ae72;};return _0x3a7b();}import{ActionCompressor as _0x45c9b2}from'./actioncompressor.js';import{arePositionsEqual as _0x274958}from'../utils.js';import{cloneDeep as _0x23ef04}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x45c9b2{[_0x192072(0x13a)](_0x5db761,_0x4348a5){const _0x28f9b6=_0x192072;return _0x4348a5[_0x28f9b6(0x133)]++,_0x4348a5;}[_0x192072(0x130)](_0x2a742f){const _0x407f26=_0x192072,_0x53ca40=_0x23ef04(_0x2a742f);return _0x53ca40[_0x407f26(0x133)]=0x1,_0x2a742f[_0x407f26(0x133)]--,_0x53ca40;}[_0x192072(0x12b)](_0x571467,_0x3c3f7c){const _0x195f75=_0x192072;return!(!this[_0x195f75(0x13d)](_0x571467)||!this[_0x195f75(0x13d)](_0x3c3f7c))&&(_0x274958(_0x571467[_0x195f75(0x132)],_0x3c3f7c[_0x195f75(0x132)])&&_0x274958(_0x571467[_0x195f75(0x138)],_0x3c3f7c[_0x195f75(0x138)]));}[_0x192072(0x135)](_0x12de9b){const _0x45421e=_0x192072,_0x26d26c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x45421e(0x141)][_0x45421e(0x12a)](_0x45421e(0x143))[_0x45421e(0x13f)](_0x26d26c,[_0x12de9b]),_0x26d26c[_0x45421e(0x12c)][0x0];}[_0x192072(0x142)](_0x2c297b){const _0x44a554=_0x192072,_0x5e74b0=[];return this[_0x44a554(0x141)][_0x44a554(0x12a)](_0x44a554(0x143))[_0x44a554(0x137)](_0x5e74b0,_0x2c297b),_0x5e74b0[0x0];}[_0x192072(0x13d)](_0x1859ac){const _0x3fd5ab=_0x192072;return _0x3fd5ab(0x143)==_0x1859ac[_0x3fd5ab(0x12d)]&&_0x3fd5ab(0x136)==_0x1859ac[_0x3fd5ab(0x138)][_0x3fd5ab(0x131)]&&0x1==_0x1859ac[_0x3fd5ab(0x133)]&&!_0x1859ac[_0x3fd5ab(0x140)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2779(_0x27a1db,_0x1a49ef){const _0x5e6b28=_0x5e6b();return _0x2779=function(_0x2779b0,_0x5caba7){_0x2779b0=_0x2779b0-0x1ea;let _0x522751=_0x5e6b28[_0x2779b0];return _0x522751;},_0x2779(_0x27a1db,_0x1a49ef);}const _0x240937=_0x2779;(function(_0x3b3ac4,_0x54f018){const _0x25a51c=_0x2779,_0x4edee6=_0x3b3ac4();while(!![]){try{const _0x2761c6=parseInt(_0x25a51c(0x1f2))/0x1*(parseInt(_0x25a51c(0x209))/0x2)+parseInt(_0x25a51c(0x20c))/0x3+-parseInt(_0x25a51c(0x1fa))/0x4*(parseInt(_0x25a51c(0x1f0))/0x5)+-parseInt(_0x25a51c(0x208))/0x6*(parseInt(_0x25a51c(0x20b))/0x7)+-parseInt(_0x25a51c(0x211))/0x8*(parseInt(_0x25a51c(0x1ed))/0x9)+-parseInt(_0x25a51c(0x202))/0xa*(-parseInt(_0x25a51c(0x20e))/0xb)+parseInt(_0x25a51c(0x1f4))/0xc*(-parseInt(_0x25a51c(0x1fd))/0xd);if(_0x2761c6===_0x54f018)break;else _0x4edee6['push'](_0x4edee6['shift']());}catch(_0x490e40){_0x4edee6['push'](_0x4edee6['shift']());}}}(_0x5e6b,0xf0718));import{ActionCompressor as _0x4c5c4f}from'./actioncompressor.js';import{arePositionsEqual as _0x386b0d,getPositionShiftedBy as _0x5ac028}from'../utils.js';function _0x5e6b(){const _0x41ea96=['115YbSaly','InsertOperation','1863583FzsVko','_context','8484540vVIyzh','nodes','next','_decompressSingleOperation','compress','length','98816wwqFzM','position','_compareAttributes','13bpWWmS','_splitCurrent','substr','_compareOperations','_checkOperation','20AxHEVS','decompress','_compressSingleOperation','keys','__className','wasUndone','4146lAPGfW','2CPBEQL','value','8414uXQfOK','1749723hSjBIu','_getCompressorByName','10064351LWFsVT','attributes','from','1355464oyLcMj','every','iterator','buffers','63yodeyE','data','_combineNext'];_0x5e6b=function(){return _0x41ea96;};return _0x5e6b();}import{cloneDeep as _0x2d6e08}from'es-toolkit/compat';export class TypingActionCompressor extends _0x4c5c4f{[_0x240937(0x1ef)](_0x55c1a0,_0x429d62){const _0x1cf986=_0x240937;return _0x429d62[_0x1cf986(0x1f5)][0x0][_0x1cf986(0x1ee)]+=_0x55c1a0[_0x1cf986(0x1f5)][0x0][_0x1cf986(0x1ee)],_0x429d62;}[_0x240937(0x1fe)](_0x4cb918){const _0xc1b427=_0x240937,_0x278b94=_0x2d6e08(_0x4cb918),_0x13ccaa=_0x278b94[_0xc1b427(0x1f5)][0x0],_0x490695=_0x4cb918[_0xc1b427(0x1f5)][0x0],_0x470dbd=_0x490695[_0xc1b427(0x1ee)][Symbol[_0xc1b427(0x1eb)]]()[_0xc1b427(0x1f6)]()[_0xc1b427(0x20a)],_0x343c0a=_0x470dbd[_0xc1b427(0x1f9)];return _0x13ccaa[_0xc1b427(0x1ee)]=_0x470dbd,_0x490695[_0xc1b427(0x1ee)]=_0x490695[_0xc1b427(0x1ee)][_0xc1b427(0x1ff)](_0x343c0a),_0x4cb918[_0xc1b427(0x1fb)]=_0x5ac028(_0x4cb918[_0xc1b427(0x1fb)],_0x343c0a),_0x278b94;}[_0x240937(0x200)](_0xe145e2,_0x456a81){const _0x1e21d2=_0x240937;if(this[_0x1e21d2(0x201)](_0xe145e2)&&this[_0x1e21d2(0x201)](_0x456a81)){const _0x2f2344=_0xe145e2[_0x1e21d2(0x1f5)][0x0][_0x1e21d2(0x1ee)][_0x1e21d2(0x1f9)],_0xae5a88=_0x386b0d(_0x5ac028(_0xe145e2[_0x1e21d2(0x1fb)],_0x2f2344),_0x456a81[_0x1e21d2(0x1fb)]),_0x4b0947=_0xe145e2[_0x1e21d2(0x1f5)][0x0],_0x112e4b=_0x456a81[_0x1e21d2(0x1f5)][0x0];return _0xae5a88&&this[_0x1e21d2(0x1fc)](_0x4b0947,_0x112e4b);}return!0x1;}[_0x240937(0x204)](_0x4477aa){const _0x52f469=_0x240937,_0xe36e2a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x52f469(0x1f3)][_0x52f469(0x20d)](_0x52f469(0x1f1))[_0x52f469(0x1f8)](_0xe36e2a,[_0x4477aa]),_0xe36e2a[_0x52f469(0x1ec)][0x0];}[_0x240937(0x1f7)](_0x259774){const _0x289704=_0x240937,_0x349c7e=[];return this[_0x289704(0x1f3)][_0x289704(0x20d)](_0x289704(0x1f1))[_0x289704(0x203)](_0x349c7e,_0x259774),_0x349c7e[0x0];}[_0x240937(0x201)](_0x4f8c48){const _0x1fa45c=_0x240937;return _0x1fa45c(0x1f1)==_0x4f8c48[_0x1fa45c(0x206)]&&0x1==_0x4f8c48[_0x1fa45c(0x1f5)][_0x1fa45c(0x1f9)]&&_0x4f8c48[_0x1fa45c(0x1f5)][0x0][_0x1fa45c(0x1ee)]&&!_0x4f8c48[_0x1fa45c(0x207)]&&0x1==Array[_0x1fa45c(0x210)](_0x4f8c48[_0x1fa45c(0x1f5)][0x0][_0x1fa45c(0x1ee)])[_0x1fa45c(0x1f9)];}[_0x240937(0x1fc)](_0x54fb7e,_0x182c94){const _0x3704d6=_0x240937,_0x3ed67=Object[_0x3704d6(0x205)](_0x54fb7e[_0x3704d6(0x20f)]||{}),_0x201e9f=Object[_0x3704d6(0x205)](_0x182c94[_0x3704d6(0x20f)]||{});return _0x3ed67[_0x3704d6(0x1f9)]===_0x201e9f[_0x3704d6(0x1f9)]&&_0x3ed67[_0x3704d6(0x1ea)](_0x33aef4=>_0x182c94[_0x3704d6(0x20f)][_0x33aef4]&&_0x182c94[_0x3704d6(0x20f)][_0x33aef4]===_0x54fb7e[_0x3704d6(0x20f)][_0x33aef4]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3729(_0x39d57e,_0x367433){const _0x29e481=_0x29e4();return _0x3729=function(_0x372961,_0x1f05f9){_0x372961=_0x372961-0x6a;let _0x3ac942=_0x29e481[_0x372961];return _0x3ac942;},_0x3729(_0x39d57e,_0x367433);}const _0x53dc19=_0x3729;(function(_0x1e0fd5,_0x1a7377){const _0x1e9d76=_0x3729,_0xf366e1=_0x1e0fd5();while(!![]){try{const _0x3b1efc=-parseInt(_0x1e9d76(0x85))/0x1*(-parseInt(_0x1e9d76(0x6b))/0x2)+parseInt(_0x1e9d76(0x7c))/0x3+-parseInt(_0x1e9d76(0x6c))/0x4*(-parseInt(_0x1e9d76(0x84))/0x5)+parseInt(_0x1e9d76(0x87))/0x6+-parseInt(_0x1e9d76(0x8b))/0x7+parseInt(_0x1e9d76(0x8a))/0x8*(parseInt(_0x1e9d76(0x6a))/0x9)+-parseInt(_0x1e9d76(0x6f))/0xa;if(_0x3b1efc===_0x1a7377)break;else _0xf366e1['push'](_0xf366e1['shift']());}catch(_0xfc16e5){_0xf366e1['push'](_0xf366e1['shift']());}}}(_0x29e4,0x949f6));import{ActionCompressor as _0x4632c9}from'./actioncompressor.js';import{arePositionsEqual as _0x16f979}from'../utils.js';function _0x29e4(){const _0x1420bb=['12524330cEDjiZ','end','shift','MarkerOperation','types','oldRange','user:','_decompressSingleOperation','user:position:','_context','_getCompressorByName','split','_compareOperations','3281541FKOdak','stickiness','newRange','name','_compressSingleOperation','compress','start','__className','5dNChRt','31951zWKVUh','buffers','594420PVStKd','decompress','startsWith','664dJJxGc','5728457UBlwjt','push','90990wrjzCW','22DvOqMI','1184136XMogrO','_id','toNone'];_0x29e4=function(){return _0x1420bb;};return _0x29e4();}import{cloneDeep as _0x2c64a9}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x4632c9{[_0x53dc19(0x81)](_0xcebb75,_0xbfaccc){const _0x38a2cb=_0x53dc19;if(!this[_0x38a2cb(0x7b)](_0xbfaccc[0x0],_0xbfaccc[0x1]))return!0x1;const _0x4c605e=_0xbfaccc[_0x38a2cb(0x71)]();return _0x4c605e[_0x38a2cb(0x74)]=null,_0x4c605e[_0x38a2cb(0x7e)]&&_0x16f979(_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x82)],_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x70)])&&(_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x70)]=null),_0xbfaccc[_0x38a2cb(0x71)](),_0xcebb75[_0x38a2cb(0x73)][_0x38a2cb(0x8c)](this[_0x38a2cb(0x6d)]),_0xcebb75[_0x38a2cb(0x73)][_0x38a2cb(0x8c)](0x0),_0xcebb75[_0x38a2cb(0x86)][_0x38a2cb(0x8c)](this[_0x38a2cb(0x80)](_0x4c605e)),!0x0;}[_0x53dc19(0x88)](_0x46a891,_0x5f2036){const _0x2af285=_0x53dc19,_0x2d3633=this[_0x2af285(0x76)](_0x5f2036);_0x2d3633[_0x2af285(0x7e)]&&!_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x70)]&&(_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x70)]=_0x2c64a9(_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x82)]));const _0x1b4575=_0x2c64a9(_0x2d3633);_0x1b4575[_0x2af285(0x7e)]&&(_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x82)][_0x2af285(0x7d)]=_0x2af285(0x6e),_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x70)]=_0x2c64a9(_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x82)])),_0x1b4575[_0x2af285(0x7f)]=_0x2af285(0x77)+_0x1b4575[_0x2af285(0x7f)][_0x2af285(0x7a)](':')[0x2],_0x5f2036[_0x2af285(0x73)][_0x2af285(0x71)](),_0x46a891[_0x2af285(0x8c)](_0x2d3633),_0x46a891[_0x2af285(0x8c)](_0x1b4575);}[_0x53dc19(0x80)](_0x4226e4){const _0x2ce984=_0x53dc19,_0x200b30={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2ce984(0x78)][_0x2ce984(0x79)](_0x2ce984(0x72))[_0x2ce984(0x81)](_0x200b30,[_0x4226e4]),_0x200b30[_0x2ce984(0x86)][0x0];}[_0x53dc19(0x76)](_0xd3a66f){const _0x36e38a=_0x53dc19,_0x45c2e=[];return this[_0x36e38a(0x78)][_0x36e38a(0x79)](_0x36e38a(0x72))[_0x36e38a(0x88)](_0x45c2e,_0xd3a66f),_0x45c2e[0x0];}[_0x53dc19(0x7b)](_0x3478ab,_0x2a0f66){const _0x559eea=_0x53dc19;return!(!_0x3478ab||!_0x2a0f66)&&(_0x559eea(0x72)==_0x3478ab[_0x559eea(0x83)]&&_0x559eea(0x72)==_0x2a0f66[_0x559eea(0x83)]&&!(!_0x3478ab[_0x559eea(0x7f)][_0x559eea(0x89)](_0x559eea(0x75))||!_0x2a0f66[_0x559eea(0x7f)][_0x559eea(0x89)](_0x559eea(0x75))||_0x3478ab[_0x559eea(0x7f)]==_0x2a0f66[_0x559eea(0x7f)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53bbb2=_0x5647;(function(_0x264bf9,_0x380d8c){const _0xee5169=_0x5647,_0x193f22=_0x264bf9();while(!![]){try{const _0x9868a3=parseInt(_0xee5169(0x180))/0x1+parseInt(_0xee5169(0x16c))/0x2+parseInt(_0xee5169(0x185))/0x3+-parseInt(_0xee5169(0x168))/0x4+-parseInt(_0xee5169(0x171))/0x5*(parseInt(_0xee5169(0x174))/0x6)+parseInt(_0xee5169(0x15a))/0x7*(-parseInt(_0xee5169(0x167))/0x8)+parseInt(_0xee5169(0x164))/0x9;if(_0x9868a3===_0x380d8c)break;else _0x193f22['push'](_0x193f22['shift']());}catch(_0xae79f9){_0x193f22['push'](_0x193f22['shift']());}}}(_0x6500,0xbdeb5));import{CKEditorError as _0x121949}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x191804}from'./protobuffactory.js';import{OperationCompressor as _0x1b68cb}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x432039}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x3fae02}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x395319}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x559729}from'./operationcompressor/nooperationcompressor.js';function _0x5647(_0x55b7b9,_0x22f299){const _0x65007d=_0x6500();return _0x5647=function(_0x56479d,_0x1a26d6){_0x56479d=_0x56479d-0x15a;let _0x248f1d=_0x65007d[_0x56479d];return _0x248f1d;},_0x5647(_0x55b7b9,_0x22f299);}function _0x6500(){const _0x41471e=['length','NoOperation','comment','1066685iiDFji','_registerOperationCompressor','no-operations-provided','6XEnuPp','_registerCompressor','InsertOperation','UserSelectionAction','_registerActionCompressor','__className','RootAttributeOperation','_compressorById','RootOperation','_protobufFactory','AttributeOperation','MoveOperation','343939ThFYWf','TypingAction','MarkerOperation','CommentMarkerOperation','suggestion','986307GKJvoL','_compressorByName','MergeOperation','1945699VeMMJI','get','ForwardDeletingAction','DeletingAction','_getCompressorByName','decompress','decompress-compressor-not-found','SuggestionMarkerOperation','forEach','RenameOperation','22747653GheejM','getDescriptor','baseVersion','32LGOmJJ','5640388RxtgVO','set','types','compress','625892waXROs','SplitOperation'];_0x6500=function(){return _0x41471e;};return _0x6500();}import{AnnotationMarkerOperationCompressor as _0x2927c5}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x47e3bf}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2c1535}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xb5344b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xed1b73}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x53bbb2(0x17b)];[_0x53bbb2(0x186)];[_0x53bbb2(0x17d)];constructor(){const _0x179fa4=_0x53bbb2;this[_0x179fa4(0x17b)]=new Map(),this[_0x179fa4(0x186)]=new Map(),this[_0x179fa4(0x17d)]=new _0x191804();const _0x55d5c6=this[_0x179fa4(0x17d)][_0x179fa4(0x165)](_0x179fa4(0x182));this[_0x179fa4(0x175)](0x1,_0x179fa4(0x16f),new _0x559729(0x1,_0x179fa4(0x16f),void 0x0)),this[_0x179fa4(0x172)](0xa,_0x179fa4(0x17e),_0x432039),this[_0x179fa4(0x172)](0xb,_0x179fa4(0x176),_0x3fae02),this[_0x179fa4(0x172)](0xc,_0x179fa4(0x182),_0x395319),this[_0x179fa4(0x172)](0xd,_0x179fa4(0x187),_0x1b68cb),this[_0x179fa4(0x172)](0xe,_0x179fa4(0x17f),_0x1b68cb),this[_0x179fa4(0x172)](0xf,_0x179fa4(0x163),_0x1b68cb),this[_0x179fa4(0x172)](0x10,_0x179fa4(0x17a),_0x432039),this[_0x179fa4(0x172)](0x11,_0x179fa4(0x16d),_0x1b68cb),this[_0x179fa4(0x175)](0x12,_0x179fa4(0x183),new _0x2927c5(0x12,_0x179fa4(0x182),_0x55d5c6,_0x179fa4(0x170))),this[_0x179fa4(0x175)](0x13,_0x179fa4(0x161),new _0x2927c5(0x13,_0x179fa4(0x182),_0x55d5c6,_0x179fa4(0x184))),this[_0x179fa4(0x172)](0x14,_0x179fa4(0x17c),_0x1b68cb),this[_0x179fa4(0x178)](0x64,_0x179fa4(0x181),_0x47e3bf),this[_0x179fa4(0x178)](0x65,_0x179fa4(0x15d),_0x2c1535),this[_0x179fa4(0x178)](0x66,_0x179fa4(0x15c),_0xb5344b),this[_0x179fa4(0x178)](0x67,_0x179fa4(0x177),_0xed1b73);}[_0x53bbb2(0x16b)](_0x3601f6){const _0x186795=_0x53bbb2;if(!_0x3601f6||!_0x3601f6[0x0])throw new _0x121949(_0x186795(0x173),this);const _0x340bc1={'types':[],'buffers':[],'baseVersion':_0x3601f6[0x0][_0x186795(0x166)]};for(;_0x3601f6[_0x186795(0x16e)];)this[_0x186795(0x15e)](_0x186795(0x177))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x181))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x15d))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x15c))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x183))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x161))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x3601f6[0x0][_0x186795(0x179)])[_0x186795(0x16b)](_0x340bc1,_0x3601f6);return _0x340bc1;}[_0x53bbb2(0x15f)](_0x41d0b3){const _0x36fb26=_0x53bbb2,_0x5f361a=[];for(;_0x41d0b3[_0x36fb26(0x16a)][_0x36fb26(0x16e)];){const _0x1a7f16=this[_0x36fb26(0x17b)][_0x36fb26(0x15b)](_0x41d0b3[_0x36fb26(0x16a)][0x0]);if(!_0x1a7f16)throw new _0x121949(_0x36fb26(0x160),this,{'type':_0x41d0b3[_0x36fb26(0x16a)][0x0]});_0x1a7f16[_0x36fb26(0x15f)](_0x5f361a,_0x41d0b3);}return _0x5f361a[_0x36fb26(0x162)]((_0xa5271b,_0x33220d)=>_0xa5271b[_0x36fb26(0x166)]=_0x41d0b3[_0x36fb26(0x166)]+_0x33220d),_0x5f361a;}[_0x53bbb2(0x15e)](_0x3404f3){const _0x180bb6=_0x53bbb2;return this[_0x180bb6(0x186)][_0x180bb6(0x15b)](_0x3404f3);}[_0x53bbb2(0x172)](_0x5b12fc,_0x32f8a8,_0x2f0df6){const _0xd23dc9=_0x53bbb2,_0x1a9e69=new _0x2f0df6(_0x5b12fc,_0x32f8a8,this[_0xd23dc9(0x17d)][_0xd23dc9(0x165)](_0x32f8a8));this[_0xd23dc9(0x175)](_0x5b12fc,_0x32f8a8,_0x1a9e69);}[_0x53bbb2(0x178)](_0x203a19,_0x294119,_0x2be8a7){const _0x6c1bc4=_0x53bbb2,_0x4f8def=new _0x2be8a7(_0x203a19,this);this[_0x6c1bc4(0x175)](_0x203a19,_0x294119,_0x4f8def);}[_0x53bbb2(0x175)](_0x30cf89,_0x5770df,_0x47aaa2){const _0x4ee0ae=_0x53bbb2;this[_0x4ee0ae(0x17b)][_0x4ee0ae(0x169)](_0x30cf89,_0x47aaa2),this[_0x4ee0ae(0x186)][_0x4ee0ae(0x169)](_0x5770df,_0x47aaa2);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ed27a,_0x587bc2){var _0x27fff6=_0x25b1,_0x38f648=_0x4ed27a();while(!![]){try{var _0x259577=-parseInt(_0x27fff6(0x1bc))/0x1+-parseInt(_0x27fff6(0x1b8))/0x2+-parseInt(_0x27fff6(0x1b6))/0x3*(-parseInt(_0x27fff6(0x1ba))/0x4)+-parseInt(_0x27fff6(0x1bd))/0x5*(-parseInt(_0x27fff6(0x1bf))/0x6)+-parseInt(_0x27fff6(0x1b5))/0x7*(parseInt(_0x27fff6(0x1bb))/0x8)+-parseInt(_0x27fff6(0x1be))/0x9*(parseInt(_0x27fff6(0x1b7))/0xa)+parseInt(_0x27fff6(0x1b9))/0xb;if(_0x259577===_0x587bc2)break;else _0x38f648['push'](_0x38f648['shift']());}catch(_0x415ed8){_0x38f648['push'](_0x38f648['shift']());}}}(_0x24c1,0x7ee76));export{Compressor}from'./compressor.js';function _0x25b1(_0x48dcd9,_0x571c42){var _0x24c16e=_0x24c1();return _0x25b1=function(_0x25b110,_0x102d18){_0x25b110=_0x25b110-0x1b5;var _0x2b475e=_0x24c16e[_0x25b110];return _0x2b475e;},_0x25b1(_0x48dcd9,_0x571c42);}function _0x24c1(){var _0x5ba4da=['3029392MocekV','500840qItqzi','2493155xfqEQn','431307xOthhf','6txHFOs','7hVHPuA','385914ifLtdc','20bFomNd','2046652uIcQUg','16558311qcuiLq','16yBsTrI'];_0x24c1=function(){return _0x5ba4da;};return _0x24c1();}
|