@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.16 → 44.2.0-alpha.2
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
|
+
var _0xa48dba=_0x1b26;(function(_0x2c7bdf,_0x44801b){var _0xec59a8=_0x1b26,_0x28e85f=_0x2c7bdf();while(!![]){try{var _0x4b3fe5=-parseInt(_0xec59a8(0xc8))/0x1*(parseInt(_0xec59a8(0xc6))/0x2)+parseInt(_0xec59a8(0xbc))/0x3+-parseInt(_0xec59a8(0xc7))/0x4*(parseInt(_0xec59a8(0xbf))/0x5)+-parseInt(_0xec59a8(0xc4))/0x6*(parseInt(_0xec59a8(0xbd))/0x7)+parseInt(_0xec59a8(0xbb))/0x8+-parseInt(_0xec59a8(0xc9))/0x9*(-parseInt(_0xec59a8(0xc0))/0xa)+parseInt(_0xec59a8(0xba))/0xb;if(_0x4b3fe5===_0x44801b)break;else _0x28e85f['push'](_0x28e85f['shift']());}catch(_0x4faf08){_0x28e85f['push'](_0x28e85f['shift']());}}}(_0x387d,0x6ff8b));function _0x1b26(_0x4f9282,_0x59f8c4){var _0x387d8f=_0x387d();return _0x1b26=function(_0x1b26f8,_0x4e5284){_0x1b26f8=_0x1b26f8-0xba;var _0x455e2a=_0x387d8f[_0x1b26f8];return _0x455e2a;},_0x1b26(_0x4f9282,_0x59f8c4);}function _0x387d(){var _0xc02ae8=['14644IrWyZF','23512PiiRdw','59lnPnCt','18pxEnIi','push','types','3662351QqohcR','5749040hjkrqm','997770xDwcmX','295575DvndbC','_operationName','340sEirvs','1219880ocfptP','decompress','_id','compress','48SeqGbB','shift'];_0x387d=function(){return _0xc02ae8;};return _0x387d();}import _0x5b8bb0 from'./operationcompressor.js';export default class p extends _0x5b8bb0{[_0xa48dba(0xc3)](_0xc71a20,_0x41deab){var _0x20cb8c=_0xa48dba;return _0x41deab[_0x20cb8c(0xc5)](),_0xc71a20[_0x20cb8c(0xcb)][_0x20cb8c(0xca)](this[_0x20cb8c(0xc2)]),!0x0;}[_0xa48dba(0xc1)](_0x4a3e74,_0x1538d8){var _0x53049e=_0xa48dba;_0x1538d8[_0x53049e(0xcb)][_0x53049e(0xc5)](),_0x4a3e74[_0x53049e(0xca)]({'__className':this[_0x53049e(0xbe)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b2b38=_0x3a21;function _0x3b85(){const _0x3366ec=['compress','119754kMPzcu','__className','1163084oHWYJu','_id','70HYPVHy','push','1140520dbWOkx','_protobufDescriptor','2617363YFYHUW','5Xftpgt','30387jFZZiP','shift','buffers','_operationName','16IiokWB','2016984Pvqrrl','types','396887tQRgXJ','decompress'];_0x3b85=function(){return _0x3366ec;};return _0x3b85();}function _0x3a21(_0x3b0138,_0x2ffe08){const _0x3b854e=_0x3b85();return _0x3a21=function(_0x3a2101,_0xa49d1d){_0x3a2101=_0x3a2101-0x1dc;let _0x2c62b0=_0x3b854e[_0x3a2101];return _0x2c62b0;},_0x3a21(_0x3b0138,_0x2ffe08);}(function(_0x47ae36,_0x26c72a){const _0x5b13e1=_0x3a21,_0x275202=_0x47ae36();while(!![]){try{const _0x4d5438=parseInt(_0x5b13e1(0x1ed))/0x1+-parseInt(_0x5b13e1(0x1e0))/0x2*(parseInt(_0x5b13e1(0x1e6))/0x3)+parseInt(_0x5b13e1(0x1de))/0x4*(parseInt(_0x5b13e1(0x1e5))/0x5)+parseInt(_0x5b13e1(0x1eb))/0x6+-parseInt(_0x5b13e1(0x1e4))/0x7+parseInt(_0x5b13e1(0x1ea))/0x8*(parseInt(_0x5b13e1(0x1dc))/0x9)+-parseInt(_0x5b13e1(0x1e2))/0xa;if(_0x4d5438===_0x26c72a)break;else _0x275202['push'](_0x275202['shift']());}catch(_0x423987){_0x275202['push'](_0x275202['shift']());}}}(_0x3b85,0x32c56));import{parsePositionBeforeCompression as _0x3d8945,parsePositionAfterCompression as _0x4dcd4e}from'../utils.js';export default class e{constructor(_0x52ece6,_0x17c17f,_0x1b59b6){const _0x50bd61=_0x3a21;this[_0x50bd61(0x1df)]=_0x52ece6,this[_0x50bd61(0x1e9)]=_0x17c17f,this[_0x50bd61(0x1e3)]=_0x1b59b6;}[_0x4b2b38(0x1ef)](_0x3b9b61,_0x2baabc){const _0x28f50e=_0x4b2b38,_0x19e7c8=_0x2baabc[_0x28f50e(0x1e7)]();return _0x3d8945(_0x19e7c8),_0x3b9b61[_0x28f50e(0x1e8)][_0x28f50e(0x1e1)](this[_0x28f50e(0x1e3)][_0x28f50e(0x1ef)](_0x19e7c8)),_0x3b9b61[_0x28f50e(0x1ec)][_0x28f50e(0x1e1)](this[_0x28f50e(0x1df)]),!0x0;}[_0x4b2b38(0x1ee)](_0x374c36,_0x2b7d76){const _0x3260e2=_0x4b2b38;_0x2b7d76[_0x3260e2(0x1ec)][_0x3260e2(0x1e7)]();const _0x3767ed=this[_0x3260e2(0x1e3)][_0x3260e2(0x1ee)](_0x2b7d76[_0x3260e2(0x1e8)][_0x3260e2(0x1e7)]());_0x4dcd4e(_0x3767ed),_0x3767ed[_0x3260e2(0x1dd)]=this[_0x3260e2(0x1e9)],_0x374c36[_0x3260e2(0x1e1)](_0x3767ed);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38f317=_0xbf77;function _0xbf77(_0x207716,_0x3b4b72){const _0x57f7f2=_0x57f7();return _0xbf77=function(_0xbf772d,_0x1902b5){_0xbf772d=_0xbf772d-0x104;let _0x2da13d=_0x57f7f2[_0xbf772d];return _0x2da13d;},_0xbf77(_0x207716,_0x3b4b72);}(function(_0x3443d5,_0x4f0518){const _0x499da5=_0xbf77,_0x3d317a=_0x3443d5();while(!![]){try{const _0x5667f9=-parseInt(_0x499da5(0x11a))/0x1+parseInt(_0x499da5(0x114))/0x2+parseInt(_0x499da5(0x10c))/0x3*(-parseInt(_0x499da5(0x118))/0x4)+-parseInt(_0x499da5(0x108))/0x5*(parseInt(_0x499da5(0x10a))/0x6)+parseInt(_0x499da5(0x10f))/0x7*(parseInt(_0x499da5(0x119))/0x8)+parseInt(_0x499da5(0x111))/0x9*(-parseInt(_0x499da5(0x105))/0xa)+parseInt(_0x499da5(0x110))/0xb*(parseInt(_0x499da5(0x104))/0xc);if(_0x5667f9===_0x4f0518)break;else _0x3d317a['push'](_0x3d317a['shift']());}catch(_0x514ba0){_0x3d317a['push'](_0x3d317a['shift']());}}}(_0x57f7,0xe5f34));function _0x57f7(){const _0x4854b7=['4pRsrer','2335808oGpanX','806678EkFHaR','977412zgiojo','15620agWUfJ','decompress','finish','5bYORaY','decode','7195728ZepnrG','compress','3308229elCEhO','create','_protobuf','42GVcOUz','407wXrDMJ','5157rMkhFU','getDescriptor','_protobufRoot','360136TYcrmI','encode','toObject','verify'];_0x57f7=function(){return _0x4854b7;};return _0x57f7();}import{messages as _0x296b9a}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x4a24a5=_0xbf77;this[_0x4a24a5(0x113)]=_0x296b9a;}[_0x38f317(0x112)](_0x5beccc){const _0x3046ad=_0x38f317;return new ProtobufDescriptor(this[_0x3046ad(0x113)][_0x5beccc]);}}export class ProtobufDescriptor{constructor(_0x5cff6f){const _0x17a735=_0x38f317;this[_0x17a735(0x10e)]=_0x5cff6f;}[_0x38f317(0x10b)](_0x509f49){const _0x4ad4da=_0x38f317,_0x12508a=this[_0x4ad4da(0x10e)][_0x4ad4da(0x117)](_0x509f49);if(_0x12508a)throw Error(_0x12508a);return this[_0x4ad4da(0x10e)][_0x4ad4da(0x115)](this[_0x4ad4da(0x10e)][_0x4ad4da(0x10d)](_0x509f49))[_0x4ad4da(0x107)]();}[_0x38f317(0x106)](_0x2643f5){const _0x3b346f=_0x38f317;return this[_0x3b346f(0x10e)][_0x3b346f(0x116)](this[_0x3b346f(0x10e)][_0x3b346f(0x109)](_0x2643f5),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1723ad,_0x18777c){const _0x4d9124=_0x19d0,_0x7abd9f=_0x1723ad();while(!![]){try{const _0x423dbc=parseInt(_0x4d9124(0x1f3))/0x1*(-parseInt(_0x4d9124(0x1fb))/0x2)+parseInt(_0x4d9124(0x1ec))/0x3+parseInt(_0x4d9124(0x1fc))/0x4*(-parseInt(_0x4d9124(0x1fd))/0x5)+-parseInt(_0x4d9124(0x1f9))/0x6+parseInt(_0x4d9124(0x1f6))/0x7*(-parseInt(_0x4d9124(0x1f5))/0x8)+parseInt(_0x4d9124(0x1f8))/0x9*(parseInt(_0x4d9124(0x1ee))/0xa)+-parseInt(_0x4d9124(0x1ef))/0xb*(-parseInt(_0x4d9124(0x1ed))/0xc);if(_0x423dbc===_0x18777c)break;else _0x7abd9f['push'](_0x7abd9f['shift']());}catch(_0xf2f550){_0x7abd9f['push'](_0x7abd9f['shift']());}}}(_0x201d,0x71027));function _0x201d(){const _0x36a9a8=['3953820mDRvgM','$graveyard','194ryrrjB','264616MpyNyH','5lQxaKn','length','rootGraveyard','364017VJEdAA','157788pxPFek','13980MyFtdX','759qUHlQT','main','nodes','rootMain','6233sneOgs','root','4688dPtmUY','1428MOeEMI','path','5688ivgGXW'];_0x201d=function(){return _0x36a9a8;};return _0x201d();}import{cloneDeep as _0xb318fa,isEqual as _0x2f654e,isObject as _0x20c28c}from'lodash-es';function _0x19d0(_0x49d912,_0x4455a3){const _0x201da5=_0x201d();return _0x19d0=function(_0x19d096,_0x5e0e3b){_0x19d096=_0x19d096-0x1ea;let _0x533361=_0x201da5[_0x19d096];return _0x533361;},_0x19d0(_0x49d912,_0x4455a3);}export function getPositionShiftedBy(_0x24c9da,_0x12d280){const _0x98ee1a=_0x19d0,_0xbaec24=_0xb318fa(_0x24c9da);return _0xbaec24[_0x98ee1a(0x1f7)][_0xbaec24[_0x98ee1a(0x1f7)][_0x98ee1a(0x1ea)]-0x1]+=_0x12d280,_0xbaec24;}export function arePositionsEqual(_0x5bd920,_0x557bec){const _0x24400c=_0x19d0;return _0x5bd920[_0x24400c(0x1f4)]===_0x557bec[_0x24400c(0x1f4)]&&_0x2f654e(_0x5bd920[_0x24400c(0x1f7)],_0x557bec[_0x24400c(0x1f7)]);}export function parsePositionBeforeCompression(_0x69c43b){const _0x241c47=_0x19d0;P(_0x69c43b,_0x18c99f=>(_0x241c47(0x1f0)==_0x18c99f[_0x241c47(0x1f4)]?(_0x18c99f[_0x241c47(0x1f2)]=!0x0,delete _0x18c99f[_0x241c47(0x1f4)]):_0x241c47(0x1fa)==_0x18c99f[_0x241c47(0x1f4)]&&(_0x18c99f[_0x241c47(0x1eb)]=!0x0,delete _0x18c99f[_0x241c47(0x1f4)]),_0x18c99f));}export function parsePositionAfterCompression(_0x1f49ba){const _0x2e6ad9=_0x19d0;P(_0x1f49ba,_0xf16f28=>(_0xf16f28[_0x2e6ad9(0x1f2)]?(_0xf16f28[_0x2e6ad9(0x1f4)]=_0x2e6ad9(0x1f0),delete _0xf16f28[_0x2e6ad9(0x1f2)]):_0xf16f28[_0x2e6ad9(0x1eb)]&&(_0xf16f28[_0x2e6ad9(0x1f4)]=_0x2e6ad9(0x1fa),delete _0xf16f28[_0x2e6ad9(0x1eb)]),_0xf16f28));}function P(_0x5e9806,_0x756483){const _0x46a365=_0x19d0;for(const _0x45bf55 in _0x5e9806){const _0x38a032=_0x5e9806[_0x45bf55];_0x46a365(0x1f1)!==_0x45bf55&&_0x20c28c(_0x38a032)&&(_0x38a032[_0x46a365(0x1f7)]&&(_0x38a032[_0x46a365(0x1f4)]||_0x38a032[_0x46a365(0x1f2)]||_0x38a032[_0x46a365(0x1eb)])?_0x5e9806[_0x45bf55]=_0x756483(_0x38a032):P(_0x38a032,_0x756483));}return _0x5e9806;}
|