@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.5 → 47.0.0-alpha.7
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
|
-
|
|
23
|
+
var _0x5150b8=_0x27af;(function(_0x5ad49b,_0x1a6ab0){var _0x45795b=_0x27af,_0x5e3fd6=_0x5ad49b();while(!![]){try{var _0x3d046d=parseInt(_0x45795b(0x18c))/0x1+parseInt(_0x45795b(0x191))/0x2*(-parseInt(_0x45795b(0x18b))/0x3)+parseInt(_0x45795b(0x190))/0x4*(parseInt(_0x45795b(0x18f))/0x5)+-parseInt(_0x45795b(0x197))/0x6+-parseInt(_0x45795b(0x194))/0x7+parseInt(_0x45795b(0x18e))/0x8*(-parseInt(_0x45795b(0x196))/0x9)+parseInt(_0x45795b(0x192))/0xa*(parseInt(_0x45795b(0x19c))/0xb);if(_0x3d046d===_0x1a6ab0)break;else _0x5e3fd6['push'](_0x5e3fd6['shift']());}catch(_0x5962bf){_0x5e3fd6['push'](_0x5e3fd6['shift']());}}}(_0x540b,0x97558));import{OperationCompressor as _0x21deb9}from'./operationcompressor.js';export class NoOperationCompressor extends _0x21deb9{[_0x5150b8(0x198)](_0xbb6798,_0x13f712){var _0x4d004f=_0x5150b8;return _0x13f712[_0x4d004f(0x18d)](),_0xbb6798[_0x4d004f(0x19b)][_0x4d004f(0x19a)](this[_0x4d004f(0x199)]),!0x0;}[_0x5150b8(0x195)](_0x5f4ed3,_0x8c46b7){var _0x52463d=_0x5150b8;_0x8c46b7[_0x52463d(0x19b)][_0x52463d(0x18d)](),_0x5f4ed3[_0x52463d(0x19a)]({'__className':this[_0x52463d(0x193)]});}}function _0x27af(_0x535e42,_0x678ae1){var _0x540b83=_0x540b();return _0x27af=function(_0x27af44,_0x571b0e){_0x27af44=_0x27af44-0x18b;var _0x41819e=_0x540b83[_0x27af44];return _0x41819e;},_0x27af(_0x535e42,_0x678ae1);}function _0x540b(){var _0xd01a3a=['3511508PPFvqa','decompress','9876924NgrbIr','3080790xiOUWK','compress','_id','push','types','528xADqVu','3508923YczCOV','1207710afPVlv','shift','8EPJILR','1871780ADZkFs','4qtgJoR','2frGswi','483330raGFbF','_operationName'];_0x540b=function(){return _0xd01a3a;};return _0x540b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38fc87=_0x2bfb;(function(_0x251399,_0x332e94){const _0x186d9f=_0x2bfb,_0x3a01d5=_0x251399();while(!![]){try{const _0x20bb50=parseInt(_0x186d9f(0xcc))/0x1*(parseInt(_0x186d9f(0xc1))/0x2)+parseInt(_0x186d9f(0xc8))/0x3+parseInt(_0x186d9f(0xc7))/0x4+-parseInt(_0x186d9f(0xca))/0x5+parseInt(_0x186d9f(0xbd))/0x6+parseInt(_0x186d9f(0xcd))/0x7+-parseInt(_0x186d9f(0xc9))/0x8;if(_0x20bb50===_0x332e94)break;else _0x3a01d5['push'](_0x3a01d5['shift']());}catch(_0xf2c9fa){_0x3a01d5['push'](_0x3a01d5['shift']());}}}(_0x190b,0xc12e5));function _0x2bfb(_0x53a01d,_0x11ecfa){const _0x190b20=_0x190b();return _0x2bfb=function(_0x2bfb56,_0x352334){_0x2bfb56=_0x2bfb56-0xbd;let _0x5d18a1=_0x190b20[_0x2bfb56];return _0x5d18a1;},_0x2bfb(_0x53a01d,_0x11ecfa);}import{parsePositionBeforeCompression as _0xb90bff,parsePositionAfterCompression as _0x53134d}from'../utils.js';function _0x190b(){const _0x295c21=['1717947AdHqFQ','20672848SXdkQU','6423600rpYSGO','shift','235973IBxLjj','3023531ExAMJE','__className','7625370CoxoPx','_protobufDescriptor','_id','buffers','10amWcBQ','decompress','push','_operationName','compress','types','4819012zBQotg'];_0x190b=function(){return _0x295c21;};return _0x190b();}export class OperationCompressor{[_0x38fc87(0xbf)];[_0x38fc87(0xc4)];[_0x38fc87(0xbe)];constructor(_0x4ed4ab,_0x140fa7,_0x3da2ac){const _0x7622b9=_0x38fc87;this[_0x7622b9(0xbf)]=_0x4ed4ab,this[_0x7622b9(0xc4)]=_0x140fa7,this[_0x7622b9(0xbe)]=_0x3da2ac;}[_0x38fc87(0xc5)](_0x92584f,_0x5192d1){const _0x278467=_0x38fc87,_0xc6266=_0x5192d1[_0x278467(0xcb)]();return _0xb90bff(_0xc6266),_0x92584f[_0x278467(0xc0)][_0x278467(0xc3)](this[_0x278467(0xbe)][_0x278467(0xc5)](_0xc6266)),_0x92584f[_0x278467(0xc6)][_0x278467(0xc3)](this[_0x278467(0xbf)]),!0x0;}[_0x38fc87(0xc2)](_0x131b19,_0x5bba09){const _0x1ac140=_0x38fc87;_0x5bba09[_0x1ac140(0xc6)][_0x1ac140(0xcb)]();const _0x1b0e3e=this[_0x1ac140(0xbe)][_0x1ac140(0xc2)](_0x5bba09[_0x1ac140(0xc0)][_0x1ac140(0xcb)]());_0x53134d(_0x1b0e3e),_0x1b0e3e[_0x1ac140(0xce)]=this[_0x1ac140(0xc4)],_0x131b19[_0x1ac140(0xc3)](_0x1b0e3e);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2be2(_0x3ada5c,_0x416790){const _0x17d950=_0x17d9();return _0x2be2=function(_0x2be23e,_0x124f2e){_0x2be23e=_0x2be23e-0x167;let _0x104dd9=_0x17d950[_0x2be23e];return _0x104dd9;},_0x2be2(_0x3ada5c,_0x416790);}const _0xe8a7f8=_0x2be2;(function(_0x552527,_0x356c2d){const _0xa08e0d=_0x2be2,_0x28c575=_0x552527();while(!![]){try{const _0x278541=parseInt(_0xa08e0d(0x167))/0x1+parseInt(_0xa08e0d(0x171))/0x2*(-parseInt(_0xa08e0d(0x179))/0x3)+parseInt(_0xa08e0d(0x16e))/0x4+parseInt(_0xa08e0d(0x172))/0x5+parseInt(_0xa08e0d(0x178))/0x6+-parseInt(_0xa08e0d(0x168))/0x7+parseInt(_0xa08e0d(0x16c))/0x8;if(_0x278541===_0x356c2d)break;else _0x28c575['push'](_0x28c575['shift']());}catch(_0xf9b689){_0x28c575['push'](_0x28c575['shift']());}}}(_0x17d9,0x50bc1));function _0x17d9(){const _0x3c7bcc=['2742234oroBYa','3TdyIti','230723CAzgPn','1399062VVTzQE','decompress','encode','_protobufRoot','857672ijErhS','finish','183356ErqpQg','compress','verify','893886vZtkoN','683440RUFUvn','toObject','_protobuf','create','getDescriptor','decode'];_0x17d9=function(){return _0x3c7bcc;};return _0x17d9();}import{messages as _0x62f435}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0xe8a7f8(0x16b)];constructor(){const _0x3d3ef5=_0xe8a7f8;this[_0x3d3ef5(0x16b)]=_0x62f435;}[_0xe8a7f8(0x176)](_0x3b75f6){const _0x26b123=_0xe8a7f8;return new ProtobufDescriptor(this[_0x26b123(0x16b)][_0x3b75f6]);}}export class ProtobufDescriptor{[_0xe8a7f8(0x174)];constructor(_0x239a9d){const _0x4883a6=_0xe8a7f8;this[_0x4883a6(0x174)]=_0x239a9d;}[_0xe8a7f8(0x16f)](_0x56afb7){const _0x13ed3e=_0xe8a7f8,_0x18f318=this[_0x13ed3e(0x174)][_0x13ed3e(0x170)](_0x56afb7);if(_0x18f318)throw Error(_0x18f318);return this[_0x13ed3e(0x174)][_0x13ed3e(0x16a)](this[_0x13ed3e(0x174)][_0x13ed3e(0x175)](_0x56afb7))[_0x13ed3e(0x16d)]();}[_0xe8a7f8(0x169)](_0x505beb){const _0x1712d8=_0xe8a7f8;return this[_0x1712d8(0x174)][_0x1712d8(0x173)](this[_0x1712d8(0x174)][_0x1712d8(0x177)](_0x505beb),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1568a5,_0x1c91a2){const _0x4518a3=_0x3820,_0x546831=_0x1568a5();while(!![]){try{const _0x57a50b=-parseInt(_0x4518a3(0x9f))/0x1+parseInt(_0x4518a3(0xa0))/0x2+-parseInt(_0x4518a3(0x93))/0x3*(parseInt(_0x4518a3(0x90))/0x4)+-parseInt(_0x4518a3(0x9b))/0x5+parseInt(_0x4518a3(0x99))/0x6*(-parseInt(_0x4518a3(0x8f))/0x7)+parseInt(_0x4518a3(0x9d))/0x8*(-parseInt(_0x4518a3(0x9c))/0x9)+parseInt(_0x4518a3(0x94))/0xa;if(_0x57a50b===_0x1c91a2)break;else _0x546831['push'](_0x546831['shift']());}catch(_0x4f60b7){_0x546831['push'](_0x546831['shift']());}}}(_0x19f6,0x85695));function _0x19f6(){const _0x234220=['4ZTJDqG','main','nodes','629571SWJxoZ','13955710LEqqOk','$graveyard','path','rootMain','rootGraveyard','1615056BtTbhu','length','4851310MKsRGj','405lSCYyM','19440bdiEqE','root','54058qzefdG','2065522DrgcOv','14pCCYwK'];_0x19f6=function(){return _0x234220;};return _0x19f6();}import{cloneDeep as _0x3838e7,isEqual as _0x24636b,isObject as _0x928e8a}from'es-toolkit/compat';export function getPositionShiftedBy(_0x9d6b66,_0x17ded4){const _0x356b63=_0x3820,_0x130502=_0x3838e7(_0x9d6b66);return _0x130502[_0x356b63(0x96)][_0x130502[_0x356b63(0x96)][_0x356b63(0x9a)]-0x1]+=_0x17ded4,_0x130502;}function _0x3820(_0x466801,_0x374abb){const _0x19f68c=_0x19f6();return _0x3820=function(_0x382001,_0x47b5de){_0x382001=_0x382001-0x8f;let _0x578307=_0x19f68c[_0x382001];return _0x578307;},_0x3820(_0x466801,_0x374abb);}export function arePositionsEqual(_0x4f62d0,_0x8bf7f4){const _0x276d64=_0x3820;return _0x4f62d0[_0x276d64(0x9e)]===_0x8bf7f4[_0x276d64(0x9e)]&&_0x24636b(_0x4f62d0[_0x276d64(0x96)],_0x8bf7f4[_0x276d64(0x96)]);}export function parsePositionBeforeCompression(_0x116ec4){const _0x2c4812=_0x3820;P(_0x116ec4,_0x5d8a2b=>(_0x2c4812(0x91)==_0x5d8a2b[_0x2c4812(0x9e)]?(_0x5d8a2b[_0x2c4812(0x97)]=!0x0,delete _0x5d8a2b[_0x2c4812(0x9e)]):_0x2c4812(0x95)==_0x5d8a2b[_0x2c4812(0x9e)]&&(_0x5d8a2b[_0x2c4812(0x98)]=!0x0,delete _0x5d8a2b[_0x2c4812(0x9e)]),_0x5d8a2b));}export function parsePositionAfterCompression(_0x298eb7){const _0xb06208=_0x3820;P(_0x298eb7,_0x5e6584=>(_0x5e6584[_0xb06208(0x97)]?(_0x5e6584[_0xb06208(0x9e)]=_0xb06208(0x91),delete _0x5e6584[_0xb06208(0x97)]):_0x5e6584[_0xb06208(0x98)]&&(_0x5e6584[_0xb06208(0x9e)]=_0xb06208(0x95),delete _0x5e6584[_0xb06208(0x98)]),_0x5e6584));}function P(_0x1e19e2,_0x3c16da){const _0x576b3e=_0x3820;for(const _0x2b1459 in _0x1e19e2){const _0x292204=_0x1e19e2[_0x2b1459];_0x576b3e(0x92)!==_0x2b1459&&_0x928e8a(_0x292204)&&(_0x292204[_0x576b3e(0x96)]&&(_0x292204[_0x576b3e(0x9e)]||_0x292204[_0x576b3e(0x97)]||_0x292204[_0x576b3e(0x98)])?_0x1e19e2[_0x2b1459]=_0x3c16da(_0x292204):P(_0x292204,_0x3c16da));}return _0x1e19e2;}
|