@ckeditor/ckeditor5-operations-compressor 46.1.0-alpha.0 → 46.1.0-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
|
-
var
|
|
23
|
+
function _0x2fce(){var _0x130ee1=['_id','27JrtRzZ','push','8609208SbsVAM','1082787dSxuaC','7bBplip','shift','_operationName','compress','33832TceULR','types','3367550pwmZhP','decompress','637378HVcTrq','470mEfZRw','426510NNeRsa','5825214JgWxrf'];_0x2fce=function(){return _0x130ee1;};return _0x2fce();}var _0x32b665=_0x4a5e;function _0x4a5e(_0x2371d9,_0x33e985){var _0x2fcee5=_0x2fce();return _0x4a5e=function(_0x4a5e04,_0x459155){_0x4a5e04=_0x4a5e04-0x1ca;var _0x111240=_0x2fcee5[_0x4a5e04];return _0x111240;},_0x4a5e(_0x2371d9,_0x33e985);}(function(_0x252eeb,_0xa0a76f){var _0x383117=_0x4a5e,_0x52ba8d=_0x252eeb();while(!![]){try{var _0x9d79e2=-parseInt(_0x383117(0x1d4))/0x1+parseInt(_0x383117(0x1d2))/0x2+parseInt(_0x383117(0x1da))/0x3+-parseInt(_0x383117(0x1ce))/0x4*(parseInt(_0x383117(0x1d3))/0x5)+-parseInt(_0x383117(0x1d5))/0x6+parseInt(_0x383117(0x1ca))/0x7*(parseInt(_0x383117(0x1d9))/0x8)+-parseInt(_0x383117(0x1d7))/0x9*(-parseInt(_0x383117(0x1d0))/0xa);if(_0x9d79e2===_0xa0a76f)break;else _0x52ba8d['push'](_0x52ba8d['shift']());}catch(_0x3c2a68){_0x52ba8d['push'](_0x52ba8d['shift']());}}}(_0x2fce,0x8c0a3));import{OperationCompressor as _0x500485}from'./operationcompressor.js';export class NoOperationCompressor extends _0x500485{[_0x32b665(0x1cd)](_0x8082eb,_0x4b60c6){var _0x29c64e=_0x32b665;return _0x4b60c6[_0x29c64e(0x1cb)](),_0x8082eb[_0x29c64e(0x1cf)][_0x29c64e(0x1d8)](this[_0x29c64e(0x1d6)]),!0x0;}[_0x32b665(0x1d1)](_0x3fa357,_0x3b86da){var _0xa10bfd=_0x32b665;_0x3b86da[_0xa10bfd(0x1cf)][_0xa10bfd(0x1cb)](),_0x3fa357[_0xa10bfd(0x1d8)]({'__className':this[_0xa10bfd(0x1cc)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1039(_0x3eddcb,_0x309af9){const _0x2a747e=_0x2a74();return _0x1039=function(_0x10390f,_0x377541){_0x10390f=_0x10390f-0xa4;let _0x4f92ce=_0x2a747e[_0x10390f];return _0x4f92ce;},_0x1039(_0x3eddcb,_0x309af9);}const _0x4a8fa3=_0x1039;(function(_0x2ab254,_0x2b61bd){const _0x179984=_0x1039,_0x36677d=_0x2ab254();while(!![]){try{const _0x544605=-parseInt(_0x179984(0xa5))/0x1*(-parseInt(_0x179984(0xb5))/0x2)+-parseInt(_0x179984(0xac))/0x3*(-parseInt(_0x179984(0xa4))/0x4)+parseInt(_0x179984(0xb0))/0x5*(parseInt(_0x179984(0xb1))/0x6)+-parseInt(_0x179984(0xb6))/0x7+-parseInt(_0x179984(0xab))/0x8*(-parseInt(_0x179984(0xa7))/0x9)+-parseInt(_0x179984(0xa9))/0xa+-parseInt(_0x179984(0xb4))/0xb*(parseInt(_0x179984(0xae))/0xc);if(_0x544605===_0x2b61bd)break;else _0x36677d['push'](_0x36677d['shift']());}catch(_0x5dfeeb){_0x36677d['push'](_0x36677d['shift']());}}}(_0x2a74,0x6c337));import{parsePositionBeforeCompression as _0x3fbff3,parsePositionAfterCompression as _0x478c3d}from'../utils.js';function _0x2a74(){const _0x394577=['push','274300jeCViU','compress','24eExwkn','12KfgWrH','_id','36HBhHpB','_operationName','315loMGju','38898wiEfJv','decompress','buffers','811701kODzrf','429972dajItB','3693879APdsgj','_protobufDescriptor','shift','__className','230276wkHpSw','2lPbGDR','types','453042kPpGER'];_0x2a74=function(){return _0x394577;};return _0x2a74();}export class OperationCompressor{[_0x4a8fa3(0xad)];[_0x4a8fa3(0xaf)];[_0x4a8fa3(0xb7)];constructor(_0x4c7b4b,_0x8135b3,_0x5605f3){const _0x2813a4=_0x4a8fa3;this[_0x2813a4(0xad)]=_0x4c7b4b,this[_0x2813a4(0xaf)]=_0x8135b3,this[_0x2813a4(0xb7)]=_0x5605f3;}[_0x4a8fa3(0xaa)](_0x575902,_0x804969){const _0x186a91=_0x4a8fa3,_0x541bda=_0x804969[_0x186a91(0xb8)]();return _0x3fbff3(_0x541bda),_0x575902[_0x186a91(0xb3)][_0x186a91(0xa8)](this[_0x186a91(0xb7)][_0x186a91(0xaa)](_0x541bda)),_0x575902[_0x186a91(0xa6)][_0x186a91(0xa8)](this[_0x186a91(0xad)]),!0x0;}[_0x4a8fa3(0xb2)](_0x103b76,_0x5005a1){const _0x405b6b=_0x4a8fa3;_0x5005a1[_0x405b6b(0xa6)][_0x405b6b(0xb8)]();const _0x155492=this[_0x405b6b(0xb7)][_0x405b6b(0xb2)](_0x5005a1[_0x405b6b(0xb3)][_0x405b6b(0xb8)]());_0x478c3d(_0x155492),_0x155492[_0x405b6b(0xb9)]=this[_0x405b6b(0xaf)],_0x103b76[_0x405b6b(0xa8)](_0x155492);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x16af(_0x3048b2,_0x80cc4){const _0x52dc61=_0x52dc();return _0x16af=function(_0x16af45,_0xc74143){_0x16af45=_0x16af45-0x88;let _0x1a5e26=_0x52dc61[_0x16af45];return _0x1a5e26;},_0x16af(_0x3048b2,_0x80cc4);}const _0x27461b=_0x16af;(function(_0x3e35ed,_0x2e6ada){const _0x39f2d0=_0x16af,_0x5125f1=_0x3e35ed();while(!![]){try{const _0x332c66=-parseInt(_0x39f2d0(0x8d))/0x1+parseInt(_0x39f2d0(0x97))/0x2*(parseInt(_0x39f2d0(0x93))/0x3)+-parseInt(_0x39f2d0(0x94))/0x4+-parseInt(_0x39f2d0(0x88))/0x5+-parseInt(_0x39f2d0(0x9b))/0x6*(-parseInt(_0x39f2d0(0x99))/0x7)+-parseInt(_0x39f2d0(0x96))/0x8+-parseInt(_0x39f2d0(0x8e))/0x9*(-parseInt(_0x39f2d0(0x98))/0xa);if(_0x332c66===_0x2e6ada)break;else _0x5125f1['push'](_0x5125f1['shift']());}catch(_0x124079){_0x5125f1['push'](_0x5125f1['shift']());}}}(_0x52dc,0x41736));import{messages as _0x53d757}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x27461b(0x8f)];constructor(){const _0x1792a2=_0x27461b;this[_0x1792a2(0x8f)]=_0x53d757;}[_0x27461b(0x91)](_0x2964af){const _0x144d15=_0x27461b;return new ProtobufDescriptor(this[_0x144d15(0x8f)][_0x2964af]);}}export class ProtobufDescriptor{[_0x27461b(0x9c)];constructor(_0x52ca93){const _0x1a02a3=_0x27461b;this[_0x1a02a3(0x9c)]=_0x52ca93;}[_0x27461b(0x8b)](_0x3276d8){const _0x1d7063=_0x27461b,_0x39486b=this[_0x1d7063(0x9c)][_0x1d7063(0x8c)](_0x3276d8);if(_0x39486b)throw Error(_0x39486b);return this[_0x1d7063(0x9c)][_0x1d7063(0x8a)](this[_0x1d7063(0x9c)][_0x1d7063(0x92)](_0x3276d8))[_0x1d7063(0x95)]();}[_0x27461b(0x90)](_0x4b65c1){const _0xa7f64b=_0x27461b;return this[_0xa7f64b(0x9c)][_0xa7f64b(0x9a)](this[_0xa7f64b(0x9c)][_0xa7f64b(0x89)](_0x4b65c1),{'oneofs':!0x0});}}function _0x52dc(){const _0x39c4ee=['decompress','getDescriptor','create','150obbGak','392596kvnzeq','finish','2959624VwXpFU','15226LHWiWg','10nfMrZQ','7uFXmFY','toObject','530994ncRUte','_protobuf','2548855puXIYk','decode','encode','compress','verify','398735HhfWBi','10579905xozWqV','_protobufRoot'];_0x52dc=function(){return _0x39c4ee;};return _0x52dc();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2b3129,_0x11cc9b){const _0x5c7709=_0x18a2,_0x479762=_0x2b3129();while(!![]){try{const _0x5e59f3=parseInt(_0x5c7709(0x107))/0x1+parseInt(_0x5c7709(0x112))/0x2*(-parseInt(_0x5c7709(0x105))/0x3)+parseInt(_0x5c7709(0x10d))/0x4+-parseInt(_0x5c7709(0x108))/0x5*(parseInt(_0x5c7709(0x10e))/0x6)+-parseInt(_0x5c7709(0x111))/0x7*(parseInt(_0x5c7709(0x103))/0x8)+-parseInt(_0x5c7709(0x10b))/0x9*(-parseInt(_0x5c7709(0x102))/0xa)+parseInt(_0x5c7709(0x114))/0xb;if(_0x5e59f3===_0x11cc9b)break;else _0x479762['push'](_0x479762['shift']());}catch(_0x5e2db4){_0x479762['push'](_0x479762['shift']());}}}(_0x36cc,0xe1079));import{cloneDeep as _0x61c314,isEqual as _0x286e9a,isObject as _0x14db36}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1eb6ad,_0x3ecd2b){const _0x2c1136=_0x18a2,_0x306d34=_0x61c314(_0x1eb6ad);return _0x306d34[_0x2c1136(0x10a)][_0x306d34[_0x2c1136(0x10a)][_0x2c1136(0x109)]-0x1]+=_0x3ecd2b,_0x306d34;}function _0x36cc(){const _0x3f65df=['19090TuVrtE','368saFtAc','$graveyard','174063nXeriY','rootGraveyard','411797EhCNGY','6220465jSsrhb','length','path','8145URonkH','root','4161612BcHlSF','6mEBGWR','main','rootMain','973iqCOIt','46INLiOK','nodes','3595306pdfXIw'];_0x36cc=function(){return _0x3f65df;};return _0x36cc();}export function arePositionsEqual(_0x4116ed,_0x15ec63){const _0x3af96e=_0x18a2;return _0x4116ed[_0x3af96e(0x10c)]===_0x15ec63[_0x3af96e(0x10c)]&&_0x286e9a(_0x4116ed[_0x3af96e(0x10a)],_0x15ec63[_0x3af96e(0x10a)]);}function _0x18a2(_0x46c8c4,_0x399bf0){const _0x36cc8d=_0x36cc();return _0x18a2=function(_0x18a2ad,_0x5c3b28){_0x18a2ad=_0x18a2ad-0x102;let _0x6d870d=_0x36cc8d[_0x18a2ad];return _0x6d870d;},_0x18a2(_0x46c8c4,_0x399bf0);}export function parsePositionBeforeCompression(_0x1fadd4){const _0x15ab82=_0x18a2;P(_0x1fadd4,_0x220b14=>(_0x15ab82(0x10f)==_0x220b14[_0x15ab82(0x10c)]?(_0x220b14[_0x15ab82(0x110)]=!0x0,delete _0x220b14[_0x15ab82(0x10c)]):_0x15ab82(0x104)==_0x220b14[_0x15ab82(0x10c)]&&(_0x220b14[_0x15ab82(0x106)]=!0x0,delete _0x220b14[_0x15ab82(0x10c)]),_0x220b14));}export function parsePositionAfterCompression(_0x8ecaf8){const _0x44090d=_0x18a2;P(_0x8ecaf8,_0x58e8e2=>(_0x58e8e2[_0x44090d(0x110)]?(_0x58e8e2[_0x44090d(0x10c)]=_0x44090d(0x10f),delete _0x58e8e2[_0x44090d(0x110)]):_0x58e8e2[_0x44090d(0x106)]&&(_0x58e8e2[_0x44090d(0x10c)]=_0x44090d(0x104),delete _0x58e8e2[_0x44090d(0x106)]),_0x58e8e2));}function P(_0x1be8ab,_0xdbf311){const _0x43c620=_0x18a2;for(const _0x520a7b in _0x1be8ab){const _0x488871=_0x1be8ab[_0x520a7b];_0x43c620(0x113)!==_0x520a7b&&_0x14db36(_0x488871)&&(_0x488871[_0x43c620(0x10a)]&&(_0x488871[_0x43c620(0x10c)]||_0x488871[_0x43c620(0x110)]||_0x488871[_0x43c620(0x106)])?_0x1be8ab[_0x520a7b]=_0xdbf311(_0x488871):P(_0x488871,_0xdbf311));}return _0x1be8ab;}
|