@ckeditor/ckeditor5-operations-compressor 42.0.0 → 42.0.1-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 +2 -2
- 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
|
+
var _0x4808c2=_0x3076;function _0x1f93(){var _0xcf7141=['compress','types','407477AeAskm','99729NSNcOP','_id','_operationName','10421360nCHKYs','shift','7210889TrSTrS','932766VnjRZJ','push','316915qqeLUx','28oaMjrX','1497684bJljtg','decompress'];_0x1f93=function(){return _0xcf7141;};return _0x1f93();}function _0x3076(_0x5b23ac,_0xe3f2a8){var _0x1f93b4=_0x1f93();return _0x3076=function(_0x30767e,_0x3b30f5){_0x30767e=_0x30767e-0x1c3;var _0x3586cb=_0x1f93b4[_0x30767e];return _0x3586cb;},_0x3076(_0x5b23ac,_0xe3f2a8);}(function(_0x49b8b5,_0x325b67){var _0x5a4752=_0x3076,_0x433699=_0x49b8b5();while(!![]){try{var _0x51a086=parseInt(_0x5a4752(0x1c4))/0x1+parseInt(_0x5a4752(0x1cb))/0x2+parseInt(_0x5a4752(0x1c5))/0x3*(parseInt(_0x5a4752(0x1ce))/0x4)+-parseInt(_0x5a4752(0x1cd))/0x5+-parseInt(_0x5a4752(0x1cf))/0x6+parseInt(_0x5a4752(0x1ca))/0x7+-parseInt(_0x5a4752(0x1c8))/0x8;if(_0x51a086===_0x325b67)break;else _0x433699['push'](_0x433699['shift']());}catch(_0x3fc155){_0x433699['push'](_0x433699['shift']());}}}(_0x1f93,0x7f33d));import _0x5cc523 from'./operationcompressor.js';export default class p extends _0x5cc523{[_0x4808c2(0x1d1)](_0x1d0465,_0x5e4175){var _0x4903d7=_0x4808c2;return _0x5e4175[_0x4903d7(0x1c9)](),_0x1d0465[_0x4903d7(0x1c3)][_0x4903d7(0x1cc)](this[_0x4903d7(0x1c6)]),!0x0;}[_0x4808c2(0x1d0)](_0x3965aa,_0x3860cd){var _0x5d2b9a=_0x4808c2;_0x3860cd[_0x5d2b9a(0x1c3)][_0x5d2b9a(0x1c9)](),_0x3965aa[_0x5d2b9a(0x1cc)]({'__className':this[_0x5d2b9a(0x1c7)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1fa9(_0x37050f,_0x593ede){const _0x3ea3a8=_0x3ea3();return _0x1fa9=function(_0x1fa986,_0x207ec6){_0x1fa986=_0x1fa986-0xb7;let _0x5050f6=_0x3ea3a8[_0x1fa986];return _0x5050f6;},_0x1fa9(_0x37050f,_0x593ede);}const _0x385812=_0x1fa9;(function(_0x24c00a,_0xeccef){const _0x2d4ae9=_0x1fa9,_0x57279e=_0x24c00a();while(!![]){try{const _0x2b1f98=parseInt(_0x2d4ae9(0xbc))/0x1*(parseInt(_0x2d4ae9(0xb8))/0x2)+-parseInt(_0x2d4ae9(0xc6))/0x3+-parseInt(_0x2d4ae9(0xc0))/0x4*(-parseInt(_0x2d4ae9(0xc7))/0x5)+-parseInt(_0x2d4ae9(0xc4))/0x6*(-parseInt(_0x2d4ae9(0xc2))/0x7)+-parseInt(_0x2d4ae9(0xc8))/0x8*(parseInt(_0x2d4ae9(0xb7))/0x9)+parseInt(_0x2d4ae9(0xbb))/0xa*(parseInt(_0x2d4ae9(0xc5))/0xb)+-parseInt(_0x2d4ae9(0xbd))/0xc;if(_0x2b1f98===_0xeccef)break;else _0x57279e['push'](_0x57279e['shift']());}catch(_0x446c77){_0x57279e['push'](_0x57279e['shift']());}}}(_0x3ea3,0x6ee9f));import{parsePositionBeforeCompression as _0x2fe79b,parsePositionAfterCompression as _0x2bf705}from'../utils.js';function _0x3ea3(){const _0x3bc7cb=['6746688sHFECX','types','__className','4sJWewE','_id','2673881mHHlNK','_protobufDescriptor','6aXhCXV','11xZRqJv','93570InzxRn','2658715yrvGij','400KCtIIU','shift','push','decompress','compress','109602NiLUEe','98dbNCrZ','_operationName','buffers','4068980GmRhfI','6857SBRYKm'];_0x3ea3=function(){return _0x3bc7cb;};return _0x3ea3();}export default class e{constructor(_0x4cb19a,_0x13fa2b,_0x11c7cb){const _0x2d944a=_0x1fa9;this[_0x2d944a(0xc1)]=_0x4cb19a,this[_0x2d944a(0xb9)]=_0x13fa2b,this[_0x2d944a(0xc3)]=_0x11c7cb;}[_0x385812(0xcc)](_0x48402f,_0x1d98a4){const _0x522b10=_0x385812,_0x4b1033=_0x1d98a4[_0x522b10(0xc9)]();return _0x2fe79b(_0x4b1033),_0x48402f[_0x522b10(0xba)][_0x522b10(0xca)](this[_0x522b10(0xc3)][_0x522b10(0xcc)](_0x4b1033)),_0x48402f[_0x522b10(0xbe)][_0x522b10(0xca)](this[_0x522b10(0xc1)]),!0x0;}[_0x385812(0xcb)](_0x520633,_0x13544a){const _0x19fce4=_0x385812;_0x13544a[_0x19fce4(0xbe)][_0x19fce4(0xc9)]();const _0x2ed279=this[_0x19fce4(0xc3)][_0x19fce4(0xcb)](_0x13544a[_0x19fce4(0xba)][_0x19fce4(0xc9)]());_0x2bf705(_0x2ed279),_0x2ed279[_0x19fce4(0xbf)]=this[_0x19fce4(0xb9)],_0x520633[_0x19fce4(0xca)](_0x2ed279);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3af760=_0x430d;function _0x4805(){const _0xa9a2bc=['14KSmCox','2276nhaiyg','_protobufRoot','4813560uovOKa','toObject','15311608ylxyfL','92779ahObxb','verify','11oAZxcj','create','_protobuf','36enJYBA','534hXETYg','36omBIsh','encode','2024872ouqBVA','35zAcrnT','decode','compress','1473096cDBNDT','finish','4184370bIUoZb','decompress','getDescriptor'];_0x4805=function(){return _0xa9a2bc;};return _0x4805();}function _0x430d(_0x41cec8,_0x29f4ed){const _0x48054c=_0x4805();return _0x430d=function(_0x430dbd,_0x3e101c){_0x430dbd=_0x430dbd-0xf3;let _0x86e73e=_0x48054c[_0x430dbd];return _0x86e73e;},_0x430d(_0x41cec8,_0x29f4ed);}(function(_0x3e6db2,_0x3560af){const _0x19f2fc=_0x430d,_0x140b74=_0x3e6db2();while(!![]){try{const _0x1805ba=-parseInt(_0x19f2fc(0xf6))/0x1*(-parseInt(_0x19f2fc(0x108))/0x2)+-parseInt(_0x19f2fc(0xfc))/0x3*(-parseInt(_0x19f2fc(0x109))/0x4)+parseInt(_0x19f2fc(0x105))/0x5+parseInt(_0x19f2fc(0x103))/0x6*(parseInt(_0x19f2fc(0x100))/0x7)+parseInt(_0x19f2fc(0xff))/0x8*(parseInt(_0x19f2fc(0xfd))/0x9)+-parseInt(_0x19f2fc(0xf3))/0xa*(-parseInt(_0x19f2fc(0xf8))/0xb)+parseInt(_0x19f2fc(0xfb))/0xc*(-parseInt(_0x19f2fc(0xf5))/0xd);if(_0x1805ba===_0x3560af)break;else _0x140b74['push'](_0x140b74['shift']());}catch(_0x26bea2){_0x140b74['push'](_0x140b74['shift']());}}}(_0x4805,0xbd56d));import{messages as _0x284b72}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x393d09=_0x430d;this[_0x393d09(0x10a)]=_0x284b72;}[_0x3af760(0x107)](_0xdf2994){const _0x4c2aeb=_0x3af760;return new ProtobufDescriptor(this[_0x4c2aeb(0x10a)][_0xdf2994]);}}export class ProtobufDescriptor{constructor(_0x302d07){const _0x4ffc77=_0x3af760;this[_0x4ffc77(0xfa)]=_0x302d07;}[_0x3af760(0x102)](_0x3c155a){const _0x30697f=_0x3af760,_0x27e62e=this[_0x30697f(0xfa)][_0x30697f(0xf7)](_0x3c155a);if(_0x27e62e)throw Error(_0x27e62e);return this[_0x30697f(0xfa)][_0x30697f(0xfe)](this[_0x30697f(0xfa)][_0x30697f(0xf9)](_0x3c155a))[_0x30697f(0x104)]();}[_0x3af760(0x106)](_0x57fb4e){const _0x498f2f=_0x3af760;return this[_0x498f2f(0xfa)][_0x498f2f(0xf4)](this[_0x498f2f(0xfa)][_0x498f2f(0x101)](_0x57fb4e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3954(){const _0x3149c2=['733689XUfRGO','rootMain','rootGraveyard','root','nodes','27gZCXIF','1045168cZWvpU','$graveyard','16843LSoMGh','185432eOvTec','path','141659QiDfsq','532990xxFaWk','2uKUITI','main','length','126015gPwAak','90HEIhTx'];_0x3954=function(){return _0x3149c2;};return _0x3954();}(function(_0x55ebe9,_0x2a7cb4){const _0x342cd1=_0x181c,_0x40ca59=_0x55ebe9();while(!![]){try{const _0x122cea=parseInt(_0x342cd1(0x1c9))/0x1*(parseInt(_0x342cd1(0x1ce))/0x2)+parseInt(_0x342cd1(0x1d3))/0x3+-parseInt(_0x342cd1(0x1ca))/0x4+parseInt(_0x342cd1(0x1d1))/0x5+parseInt(_0x342cd1(0x1d2))/0x6*(parseInt(_0x342cd1(0x1cc))/0x7)+-parseInt(_0x342cd1(0x1c7))/0x8+parseInt(_0x342cd1(0x1c6))/0x9*(-parseInt(_0x342cd1(0x1cd))/0xa);if(_0x122cea===_0x2a7cb4)break;else _0x40ca59['push'](_0x40ca59['shift']());}catch(_0x5b62fe){_0x40ca59['push'](_0x40ca59['shift']());}}}(_0x3954,0x3dd4f));import{cloneDeep as _0x1a352f,isEqual as _0x2564df,isObject as _0x8ec8be}from'lodash-es';export function getPositionShiftedBy(_0x2b5946,_0x467d9d){const _0x2afc9c=_0x181c,_0x12beb7=_0x1a352f(_0x2b5946);return _0x12beb7[_0x2afc9c(0x1cb)][_0x12beb7[_0x2afc9c(0x1cb)][_0x2afc9c(0x1d0)]-0x1]+=_0x467d9d,_0x12beb7;}export function arePositionsEqual(_0x2feb03,_0x19b6b5){const _0x37d94a=_0x181c;return _0x2feb03[_0x37d94a(0x1c4)]===_0x19b6b5[_0x37d94a(0x1c4)]&&_0x2564df(_0x2feb03[_0x37d94a(0x1cb)],_0x19b6b5[_0x37d94a(0x1cb)]);}export function parsePositionBeforeCompression(_0x4d22e2){const _0x5c17e6=_0x181c;P(_0x4d22e2,_0xa321c3=>(_0x5c17e6(0x1cf)==_0xa321c3[_0x5c17e6(0x1c4)]?(_0xa321c3[_0x5c17e6(0x1c2)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]):_0x5c17e6(0x1c8)==_0xa321c3[_0x5c17e6(0x1c4)]&&(_0xa321c3[_0x5c17e6(0x1c3)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]),_0xa321c3));}function _0x181c(_0x59c937,_0x7154cd){const _0x3954bb=_0x3954();return _0x181c=function(_0x181ccd,_0x291de9){_0x181ccd=_0x181ccd-0x1c2;let _0x3c6e94=_0x3954bb[_0x181ccd];return _0x3c6e94;},_0x181c(_0x59c937,_0x7154cd);}export function parsePositionAfterCompression(_0x6a4228){const _0x286835=_0x181c;P(_0x6a4228,_0x4619ed=>(_0x4619ed[_0x286835(0x1c2)]?(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1cf),delete _0x4619ed[_0x286835(0x1c2)]):_0x4619ed[_0x286835(0x1c3)]&&(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1c8),delete _0x4619ed[_0x286835(0x1c3)]),_0x4619ed));}function P(_0x1638fe,_0x3a269b){const _0x5496f7=_0x181c;for(const _0x3acc5d in _0x1638fe){const _0x1c48ad=_0x1638fe[_0x3acc5d];_0x5496f7(0x1c5)!==_0x3acc5d&&_0x8ec8be(_0x1c48ad)&&(_0x1c48ad[_0x5496f7(0x1cb)]&&(_0x1c48ad[_0x5496f7(0x1c4)]||_0x1c48ad[_0x5496f7(0x1c2)]||_0x1c48ad[_0x5496f7(0x1c3)])?_0x1638fe[_0x3acc5d]=_0x3a269b(_0x1c48ad):P(_0x1c48ad,_0x3a269b));}return _0x1638fe;}
|