@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.9 → 44.2.1-alpha.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
|
+
function _0x1936(){var _0x3e5bd1=['1061728VlrevW','2171690eGUNqs','4184JPshCI','6810391ReNjLX','20673PqpNLl','_operationName','decompress','1auYbHb','8DFgCfa','push','types','9964670PKJZIi','compress','shift','_id','12OOzvmG','595773JQepsO','51107067njnWFM'];_0x1936=function(){return _0x3e5bd1;};return _0x1936();}var _0xa5fcd5=_0x26e7;(function(_0x25c0ae,_0x47e392){var _0x53f9ee=_0x26e7,_0x3df939=_0x25c0ae();while(!![]){try{var _0x4ae9ca=parseInt(_0x53f9ee(0x1db))/0x1*(parseInt(_0x53f9ee(0x1d4))/0x2)+parseInt(_0x53f9ee(0x1d2))/0x3*(parseInt(_0x53f9ee(0x1dc))/0x4)+-parseInt(_0x53f9ee(0x1d5))/0x5+parseInt(_0x53f9ee(0x1d1))/0x6*(-parseInt(_0x53f9ee(0x1d7))/0x7)+-parseInt(_0x53f9ee(0x1d6))/0x8*(parseInt(_0x53f9ee(0x1d8))/0x9)+-parseInt(_0x53f9ee(0x1df))/0xa+parseInt(_0x53f9ee(0x1d3))/0xb;if(_0x4ae9ca===_0x47e392)break;else _0x3df939['push'](_0x3df939['shift']());}catch(_0x5492a8){_0x3df939['push'](_0x3df939['shift']());}}}(_0x1936,0xf3355));import _0x1b79b4 from'./operationcompressor.js';function _0x26e7(_0x49d389,_0x5193b9){var _0x1936c0=_0x1936();return _0x26e7=function(_0x26e76f,_0x29cac1){_0x26e76f=_0x26e76f-0x1cf;var _0x28ea68=_0x1936c0[_0x26e76f];return _0x28ea68;},_0x26e7(_0x49d389,_0x5193b9);}export default class p extends _0x1b79b4{[_0xa5fcd5(0x1e0)](_0x5ec85d,_0x31cbe8){var _0x64a2e9=_0xa5fcd5;return _0x31cbe8[_0x64a2e9(0x1cf)](),_0x5ec85d[_0x64a2e9(0x1de)][_0x64a2e9(0x1dd)](this[_0x64a2e9(0x1d0)]),!0x0;}[_0xa5fcd5(0x1da)](_0x454998,_0x49ba60){var _0x5e32d4=_0xa5fcd5;_0x49ba60[_0x5e32d4(0x1de)][_0x5e32d4(0x1cf)](),_0x454998[_0x5e32d4(0x1dd)]({'__className':this[_0x5e32d4(0x1d9)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x29bc(_0xa116eb,_0x2cf1bf){const _0x409f25=_0x409f();return _0x29bc=function(_0x29bc45,_0x1db470){_0x29bc45=_0x29bc45-0x143;let _0xad90ff=_0x409f25[_0x29bc45];return _0xad90ff;},_0x29bc(_0xa116eb,_0x2cf1bf);}const _0x405bbf=_0x29bc;function _0x409f(){const _0x25bfbc=['_id','_protobufDescriptor','7WGcvYA','14500ajDhwT','decompress','120436bHcEev','38018790UYHEVG','__className','shift','compress','push','_operationName','954134nPMaVH','2820myOEOd','types','30EHGRcL','buffers','3934088FDStvH','865116uMMhlk','8196872islCqp'];_0x409f=function(){return _0x25bfbc;};return _0x409f();}(function(_0x3d210e,_0x3ddf8e){const _0x21f59e=_0x29bc,_0x740e14=_0x3d210e();while(!![]){try{const _0x313f73=-parseInt(_0x21f59e(0x154))/0x1+-parseInt(_0x21f59e(0x14d))/0x2*(parseInt(_0x21f59e(0x143))/0x3)+parseInt(_0x21f59e(0x145))/0x4+-parseInt(_0x21f59e(0x14b))/0x5*(parseInt(_0x21f59e(0x155))/0x6)+parseInt(_0x21f59e(0x14a))/0x7*(-parseInt(_0x21f59e(0x147))/0x8)+-parseInt(_0x21f59e(0x146))/0x9+parseInt(_0x21f59e(0x14e))/0xa;if(_0x313f73===_0x3ddf8e)break;else _0x740e14['push'](_0x740e14['shift']());}catch(_0x202080){_0x740e14['push'](_0x740e14['shift']());}}}(_0x409f,0xb5f8a));import{parsePositionBeforeCompression as _0x56a456,parsePositionAfterCompression as _0x557069}from'../utils.js';export default class e{constructor(_0x193edc,_0x2454db,_0x36dc58){const _0x3a1345=_0x29bc;this[_0x3a1345(0x148)]=_0x193edc,this[_0x3a1345(0x153)]=_0x2454db,this[_0x3a1345(0x149)]=_0x36dc58;}[_0x405bbf(0x151)](_0x965fbb,_0x487705){const _0x6e86fc=_0x405bbf,_0x216de5=_0x487705[_0x6e86fc(0x150)]();return _0x56a456(_0x216de5),_0x965fbb[_0x6e86fc(0x144)][_0x6e86fc(0x152)](this[_0x6e86fc(0x149)][_0x6e86fc(0x151)](_0x216de5)),_0x965fbb[_0x6e86fc(0x156)][_0x6e86fc(0x152)](this[_0x6e86fc(0x148)]),!0x0;}[_0x405bbf(0x14c)](_0x542fd2,_0x16fdb9){const _0x3a3e2d=_0x405bbf;_0x16fdb9[_0x3a3e2d(0x156)][_0x3a3e2d(0x150)]();const _0x39d00c=this[_0x3a3e2d(0x149)][_0x3a3e2d(0x14c)](_0x16fdb9[_0x3a3e2d(0x144)][_0x3a3e2d(0x150)]());_0x557069(_0x39d00c),_0x39d00c[_0x3a3e2d(0x14f)]=this[_0x3a3e2d(0x153)],_0x542fd2[_0x3a3e2d(0x152)](_0x39d00c);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3bf0a3=_0x4b5f;function _0x1e32(){const _0x50dbc1=['decompress','9053zpAUQe','11319882yZebfJ','encode','compress','9wYhNlF','decode','toObject','6576918VmfUkk','getDescriptor','_protobuf','1100bSaGtd','239469xxMUYr','_protobufRoot','18645mroGaa','15220SZFCHH','42muSejq','verify','3432248YaGHAP','create','600062BNCGwy','finish'];_0x1e32=function(){return _0x50dbc1;};return _0x1e32();}(function(_0x5821f3,_0x55359c){const _0x1a9b13=_0x4b5f,_0x5bf880=_0x5821f3();while(!![]){try{const _0x2ebebe=-parseInt(_0x1a9b13(0xd0))/0x1+parseInt(_0x1a9b13(0xcc))/0x2*(parseInt(_0x1a9b13(0xc8))/0x3)+parseInt(_0x1a9b13(0xc7))/0x4*(parseInt(_0x1a9b13(0xca))/0x5)+-parseInt(_0x1a9b13(0xc4))/0x6+parseInt(_0x1a9b13(0xd4))/0x7+parseInt(_0x1a9b13(0xce))/0x8*(-parseInt(_0x1a9b13(0xd7))/0x9)+parseInt(_0x1a9b13(0xcb))/0xa*(-parseInt(_0x1a9b13(0xd3))/0xb);if(_0x2ebebe===_0x55359c)break;else _0x5bf880['push'](_0x5bf880['shift']());}catch(_0xc7d85e){_0x5bf880['push'](_0x5bf880['shift']());}}}(_0x1e32,0xe5be8));function _0x4b5f(_0x101362,_0xf0d71a){const _0x1e32f8=_0x1e32();return _0x4b5f=function(_0x4b5f4b,_0x27aa25){_0x4b5f4b=_0x4b5f4b-0xc2;let _0x274628=_0x1e32f8[_0x4b5f4b];return _0x274628;},_0x4b5f(_0x101362,_0xf0d71a);}import{messages as _0xa627d9}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x473628=_0x4b5f;this[_0x473628(0xc9)]=_0xa627d9;}[_0x3bf0a3(0xc5)](_0x2ec0fe){const _0x113d8f=_0x3bf0a3;return new ProtobufDescriptor(this[_0x113d8f(0xc9)][_0x2ec0fe]);}}export class ProtobufDescriptor{constructor(_0x1a9b9e){const _0x49f99f=_0x3bf0a3;this[_0x49f99f(0xc6)]=_0x1a9b9e;}[_0x3bf0a3(0xd6)](_0x1e7dde){const _0x208291=_0x3bf0a3,_0x204bb9=this[_0x208291(0xc6)][_0x208291(0xcd)](_0x1e7dde);if(_0x204bb9)throw Error(_0x204bb9);return this[_0x208291(0xc6)][_0x208291(0xd5)](this[_0x208291(0xc6)][_0x208291(0xcf)](_0x1e7dde))[_0x208291(0xd1)]();}[_0x3bf0a3(0xd2)](_0x2418e3){const _0x59d045=_0x3bf0a3;return this[_0x59d045(0xc6)][_0x59d045(0xc3)](this[_0x59d045(0xc6)][_0x59d045(0xc2)](_0x2418e3),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28a280,_0x4411bd){const _0x4533d6=_0x22d8,_0x55f600=_0x28a280();while(!![]){try{const _0x4fc906=parseInt(_0x4533d6(0x10f))/0x1+parseInt(_0x4533d6(0x111))/0x2+-parseInt(_0x4533d6(0x115))/0x3+-parseInt(_0x4533d6(0x117))/0x4*(-parseInt(_0x4533d6(0x112))/0x5)+-parseInt(_0x4533d6(0x116))/0x6+parseInt(_0x4533d6(0x11b))/0x7+-parseInt(_0x4533d6(0x10e))/0x8;if(_0x4fc906===_0x4411bd)break;else _0x55f600['push'](_0x55f600['shift']());}catch(_0x782fef){_0x55f600['push'](_0x55f600['shift']());}}}(_0x5b19,0xb8ebc));function _0x22d8(_0x14392d,_0x53ca0e){const _0x5b197e=_0x5b19();return _0x22d8=function(_0x22d8dc,_0x557afe){_0x22d8dc=_0x22d8dc-0x10e;let _0x63ccc0=_0x5b197e[_0x22d8dc];return _0x63ccc0;},_0x22d8(_0x14392d,_0x53ca0e);}import{cloneDeep as _0x3118f0,isEqual as _0x34bd95,isObject as _0xa45642}from'lodash-es';export function getPositionShiftedBy(_0xec1ba,_0x2bb24e){const _0x180f3f=_0x22d8,_0x133594=_0x3118f0(_0xec1ba);return _0x133594[_0x180f3f(0x11c)][_0x133594[_0x180f3f(0x11c)][_0x180f3f(0x113)]-0x1]+=_0x2bb24e,_0x133594;}function _0x5b19(){const _0x26dc03=['nodes','3051222mXTySe','3116820ScXRNX','4621948ckzkqM','root','rootMain','main','7980532FnuaxE','path','$graveyard','5986848afbeZO','510768gVOePE','rootGraveyard','472010NCeTNi','5FLDamo','length'];_0x5b19=function(){return _0x26dc03;};return _0x5b19();}export function arePositionsEqual(_0x18017f,_0x5c36f6){const _0x2fc677=_0x22d8;return _0x18017f[_0x2fc677(0x118)]===_0x5c36f6[_0x2fc677(0x118)]&&_0x34bd95(_0x18017f[_0x2fc677(0x11c)],_0x5c36f6[_0x2fc677(0x11c)]);}export function parsePositionBeforeCompression(_0x2d36cd){const _0x24d913=_0x22d8;P(_0x2d36cd,_0xd0eb42=>(_0x24d913(0x11a)==_0xd0eb42[_0x24d913(0x118)]?(_0xd0eb42[_0x24d913(0x119)]=!0x0,delete _0xd0eb42[_0x24d913(0x118)]):_0x24d913(0x11d)==_0xd0eb42[_0x24d913(0x118)]&&(_0xd0eb42[_0x24d913(0x110)]=!0x0,delete _0xd0eb42[_0x24d913(0x118)]),_0xd0eb42));}export function parsePositionAfterCompression(_0x178e19){const _0x48ad88=_0x22d8;P(_0x178e19,_0x5a7688=>(_0x5a7688[_0x48ad88(0x119)]?(_0x5a7688[_0x48ad88(0x118)]=_0x48ad88(0x11a),delete _0x5a7688[_0x48ad88(0x119)]):_0x5a7688[_0x48ad88(0x110)]&&(_0x5a7688[_0x48ad88(0x118)]=_0x48ad88(0x11d),delete _0x5a7688[_0x48ad88(0x110)]),_0x5a7688));}function P(_0x3bd64a,_0x38c654){const _0x2eaedf=_0x22d8;for(const _0x3c0bc0 in _0x3bd64a){const _0x3bf7c5=_0x3bd64a[_0x3c0bc0];_0x2eaedf(0x114)!==_0x3c0bc0&&_0xa45642(_0x3bf7c5)&&(_0x3bf7c5[_0x2eaedf(0x11c)]&&(_0x3bf7c5[_0x2eaedf(0x118)]||_0x3bf7c5[_0x2eaedf(0x119)]||_0x3bf7c5[_0x2eaedf(0x110)])?_0x3bd64a[_0x3c0bc0]=_0x38c654(_0x3bf7c5):P(_0x3bf7c5,_0x38c654));}return _0x3bd64a;}
|