@ckeditor/ckeditor5-operations-compressor 43.1.0 → 43.2.0-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
|
+
const _0x5b1ea4=_0x590b;function _0xdf7c(){const _0x5dbe0b=['oldRange','364887hTJPMu','6JnVuxt','210795ixvccd','newRange','304160avesMd','length','3582618ZLwqpV','248ctNJGD','361815dfBvTw','1486450oZUwGQ','decompress','372071caxObq'];_0xdf7c=function(){return _0x5dbe0b;};return _0xdf7c();}(function(_0xc39937,_0x3da285){const _0xd573d8=_0x590b,_0x1862ea=_0xc39937();while(!![]){try{const _0x488beb=-parseInt(_0xd573d8(0x187))/0x1+parseInt(_0xd573d8(0x186))/0x2*(-parseInt(_0xd573d8(0x18d))/0x3)+parseInt(_0xd573d8(0x189))/0x4+parseInt(_0xd573d8(0x18e))/0x5+-parseInt(_0xd573d8(0x18b))/0x6+-parseInt(_0xd573d8(0x183))/0x7+parseInt(_0xd573d8(0x18c))/0x8*(parseInt(_0xd573d8(0x185))/0x9);if(_0x488beb===_0x3da285)break;else _0x1862ea['push'](_0x1862ea['shift']());}catch(_0x203749){_0x1862ea['push'](_0x1862ea['shift']());}}}(_0xdf7c,0x63701));function _0x590b(_0x4b6017,_0x3be324){const _0xdf7c8f=_0xdf7c();return _0x590b=function(_0x590bda,_0x233b2c){_0x590bda=_0x590bda-0x183;let _0x41e58d=_0xdf7c8f[_0x590bda];return _0x41e58d;},_0x590b(_0x4b6017,_0x3be324);}import _0x847e5b from'./operationcompressor.js';export default class n extends _0x847e5b{[_0x5b1ea4(0x18f)](_0x5972f5,_0x2a7d78){const _0x4a1521=_0x5b1ea4;super[_0x4a1521(0x18f)](_0x5972f5,_0x2a7d78);const _0x558a13=_0x5972f5[_0x5972f5[_0x4a1521(0x18a)]-0x1];_0x558a13[_0x4a1521(0x184)]||(_0x558a13[_0x4a1521(0x184)]=null),_0x558a13[_0x4a1521(0x188)]||(_0x558a13[_0x4a1521(0x188)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31629e=_0x5f3c;function _0x5f3c(_0x41cd93,_0x481fab){var _0x9bd877=_0x9bd8();return _0x5f3c=function(_0x5f3cd2,_0x5374af){_0x5f3cd2=_0x5f3cd2-0x1cd;var _0x4e19af=_0x9bd877[_0x5f3cd2];return _0x4e19af;},_0x5f3c(_0x41cd93,_0x481fab);}function _0x9bd8(){var _0x549ba8=['shift','5815285lVcVpg','push','5230578MrPuYq','_id','6PPcakI','4415170pRtcfz','types','17058880dyQdMk','642147XSrpbA','decompress','6981596fbWxlf','198309DODiwE','_operationName','compress'];_0x9bd8=function(){return _0x549ba8;};return _0x9bd8();}(function(_0xed628a,_0x4b0aa7){var _0xd6fc5b=_0x5f3c,_0x659578=_0xed628a();while(!![]){try{var _0x58b849=-parseInt(_0xd6fc5b(0x1d5))/0x1*(parseInt(_0xd6fc5b(0x1ce))/0x2)+parseInt(_0xd6fc5b(0x1d2))/0x3+-parseInt(_0xd6fc5b(0x1d4))/0x4+parseInt(_0xd6fc5b(0x1cf))/0x5+parseInt(_0xd6fc5b(0x1db))/0x6+-parseInt(_0xd6fc5b(0x1d9))/0x7+parseInt(_0xd6fc5b(0x1d1))/0x8;if(_0x58b849===_0x4b0aa7)break;else _0x659578['push'](_0x659578['shift']());}catch(_0x1ca2ed){_0x659578['push'](_0x659578['shift']());}}}(_0x9bd8,0xe314d));import _0x37fd96 from'./operationcompressor.js';export default class p extends _0x37fd96{[_0x31629e(0x1d7)](_0x4e543e,_0x38b686){var _0x200553=_0x31629e;return _0x38b686[_0x200553(0x1d8)](),_0x4e543e[_0x200553(0x1d0)][_0x200553(0x1da)](this[_0x200553(0x1cd)]),!0x0;}[_0x31629e(0x1d3)](_0x5e4645,_0x1079ea){var _0x3d145c=_0x31629e;_0x1079ea[_0x3d145c(0x1d0)][_0x3d145c(0x1d8)](),_0x5e4645[_0x3d145c(0x1da)]({'__className':this[_0x3d145c(0x1d6)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x194dd3=_0x8468;function _0x8468(_0x51cb7c,_0x475616){const _0x11d759=_0x11d7();return _0x8468=function(_0x846810,_0x49ecef){_0x846810=_0x846810-0x8b;let _0x371335=_0x11d759[_0x846810];return _0x371335;},_0x8468(_0x51cb7c,_0x475616);}(function(_0x175c8b,_0x268ebc){const _0x112636=_0x8468,_0x3b7121=_0x175c8b();while(!![]){try{const _0x534c93=parseInt(_0x112636(0x8f))/0x1+-parseInt(_0x112636(0x9c))/0x2*(-parseInt(_0x112636(0x93))/0x3)+-parseInt(_0x112636(0x92))/0x4+-parseInt(_0x112636(0x95))/0x5*(parseInt(_0x112636(0x8c))/0x6)+-parseInt(_0x112636(0x9e))/0x7+parseInt(_0x112636(0x90))/0x8+-parseInt(_0x112636(0x9a))/0x9*(parseInt(_0x112636(0x9b))/0xa);if(_0x534c93===_0x268ebc)break;else _0x3b7121['push'](_0x3b7121['shift']());}catch(_0x15524a){_0x3b7121['push'](_0x3b7121['shift']());}}}(_0x11d7,0xd8e31));import{parsePositionBeforeCompression as _0x11cb06,parsePositionAfterCompression as _0x91b221}from'../utils.js';function _0x11d7(){const _0x1733b6=['buffers','754187SsgrKx','types','1434BUtKYr','shift','_protobufDescriptor','640317hSlMvx','13084608zDLqgj','decompress','2333500PjwXHB','327qEaQdz','_id','265JgadNQ','compress','push','_operationName','__className','243VfqziC','796340LCqAYU','26906VjZZhE'];_0x11d7=function(){return _0x1733b6;};return _0x11d7();}export default class e{constructor(_0x34e723,_0x561323,_0x3fff78){const _0x4fca5b=_0x8468;this[_0x4fca5b(0x94)]=_0x34e723,this[_0x4fca5b(0x98)]=_0x561323,this[_0x4fca5b(0x8e)]=_0x3fff78;}[_0x194dd3(0x96)](_0x1d862f,_0x2a55d2){const _0x79d55d=_0x194dd3,_0x18b224=_0x2a55d2[_0x79d55d(0x8d)]();return _0x11cb06(_0x18b224),_0x1d862f[_0x79d55d(0x9d)][_0x79d55d(0x97)](this[_0x79d55d(0x8e)][_0x79d55d(0x96)](_0x18b224)),_0x1d862f[_0x79d55d(0x8b)][_0x79d55d(0x97)](this[_0x79d55d(0x94)]),!0x0;}[_0x194dd3(0x91)](_0x4387cb,_0x1d6e35){const _0x1053be=_0x194dd3;_0x1d6e35[_0x1053be(0x8b)][_0x1053be(0x8d)]();const _0x4480f1=this[_0x1053be(0x8e)][_0x1053be(0x91)](_0x1d6e35[_0x1053be(0x9d)][_0x1053be(0x8d)]());_0x91b221(_0x4480f1),_0x4480f1[_0x1053be(0x99)]=this[_0x1053be(0x98)],_0x4387cb[_0x1053be(0x97)](_0x4480f1);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x15bc79=_0x5a67;(function(_0x521468,_0x122d6e){const _0x5cef56=_0x5a67,_0x3d332a=_0x521468();while(!![]){try{const _0x48f7f9=-parseInt(_0x5cef56(0x1e1))/0x1*(parseInt(_0x5cef56(0x1df))/0x2)+parseInt(_0x5cef56(0x1db))/0x3+parseInt(_0x5cef56(0x1e4))/0x4+parseInt(_0x5cef56(0x1e0))/0x5+parseInt(_0x5cef56(0x1dc))/0x6+parseInt(_0x5cef56(0x1e9))/0x7+-parseInt(_0x5cef56(0x1ea))/0x8;if(_0x48f7f9===_0x122d6e)break;else _0x3d332a['push'](_0x3d332a['shift']());}catch(_0xf5d7b4){_0x3d332a['push'](_0x3d332a['shift']());}}}(_0x36a9,0xe8fdb));function _0x36a9(){const _0x59e1dc=['decompress','decode','3895936lgxNlN','_protobufRoot','encode','create','compress','4624340QeKvIt','12707000dpZcSj','toObject','finish','getDescriptor','1633680aDkDpT','7447932ZfxECz','_protobuf','verify','2696492byrTxy','2352330nUpOHB','1tpGUAT'];_0x36a9=function(){return _0x59e1dc;};return _0x36a9();}function _0x5a67(_0x4243ca,_0x1d6c55){const _0x36a913=_0x36a9();return _0x5a67=function(_0x5a67cd,_0x3cd353){_0x5a67cd=_0x5a67cd-0x1d8;let _0x1de01a=_0x36a913[_0x5a67cd];return _0x1de01a;},_0x5a67(_0x4243ca,_0x1d6c55);}import{messages as _0x35ee2f}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x33493f=_0x5a67;this[_0x33493f(0x1e5)]=_0x35ee2f;}[_0x15bc79(0x1da)](_0x454a62){const _0x1cb9ce=_0x15bc79;return new ProtobufDescriptor(this[_0x1cb9ce(0x1e5)][_0x454a62]);}}export class ProtobufDescriptor{constructor(_0x428a80){const _0x474d58=_0x15bc79;this[_0x474d58(0x1dd)]=_0x428a80;}[_0x15bc79(0x1e8)](_0x7a981f){const _0x12c26a=_0x15bc79,_0x498bc6=this[_0x12c26a(0x1dd)][_0x12c26a(0x1de)](_0x7a981f);if(_0x498bc6)throw Error(_0x498bc6);return this[_0x12c26a(0x1dd)][_0x12c26a(0x1e6)](this[_0x12c26a(0x1dd)][_0x12c26a(0x1e7)](_0x7a981f))[_0x12c26a(0x1d9)]();}[_0x15bc79(0x1e2)](_0x5b5a33){const _0x1f6134=_0x15bc79;return this[_0x1f6134(0x1dd)][_0x1f6134(0x1d8)](this[_0x1f6134(0x1dd)][_0x1f6134(0x1e3)](_0x5b5a33),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x35e4(){const _0x383ff2=['315iOwTqZ','rootMain','110910XcnYTU','3107cixPsW','main','32585mAlaIA','123468WXyUuA','rootGraveyard','$graveyard','463625jDvTHb','2ohHvCg','4kFArwk','154fCkVSQ','10216TmlvNW','1147161FqBkGF','length','root','path','549XylBYT','37772hyTWFB','318KinxYz','nodes'];_0x35e4=function(){return _0x383ff2;};return _0x35e4();}function _0xa28b(_0x5472eb,_0x5f468f){const _0x35e4d1=_0x35e4();return _0xa28b=function(_0xa28b6c,_0x561ed7){_0xa28b6c=_0xa28b6c-0x185;let _0x47f622=_0x35e4d1[_0xa28b6c];return _0x47f622;},_0xa28b(_0x5472eb,_0x5f468f);}(function(_0x3b29a8,_0x10ee8f){const _0x52f46c=_0xa28b,_0x2defdb=_0x3b29a8();while(!![]){try{const _0x28fe18=-parseInt(_0x52f46c(0x190))/0x1*(-parseInt(_0x52f46c(0x191))/0x2)+parseInt(_0x52f46c(0x195))/0x3*(parseInt(_0x52f46c(0x192))/0x4)+parseInt(_0x52f46c(0x18c))/0x5*(-parseInt(_0x52f46c(0x185))/0x6)+parseInt(_0x52f46c(0x187))/0x7*(parseInt(_0x52f46c(0x194))/0x8)+parseInt(_0x52f46c(0x199))/0x9*(-parseInt(_0x52f46c(0x189))/0xa)+parseInt(_0x52f46c(0x193))/0xb*(-parseInt(_0x52f46c(0x18d))/0xc)+-parseInt(_0x52f46c(0x18a))/0xd*(-parseInt(_0x52f46c(0x19a))/0xe);if(_0x28fe18===_0x10ee8f)break;else _0x2defdb['push'](_0x2defdb['shift']());}catch(_0x598059){_0x2defdb['push'](_0x2defdb['shift']());}}}(_0x35e4,0x5d55d));import{cloneDeep as _0x49c781,isEqual as _0x4141b3,isObject as _0x56d7b6}from'lodash-es';export function getPositionShiftedBy(_0x5068ec,_0x47954a){const _0x9c49cc=_0xa28b,_0x5f1acb=_0x49c781(_0x5068ec);return _0x5f1acb[_0x9c49cc(0x198)][_0x5f1acb[_0x9c49cc(0x198)][_0x9c49cc(0x196)]-0x1]+=_0x47954a,_0x5f1acb;}export function arePositionsEqual(_0x30a3b8,_0x48082f){const _0x1408f2=_0xa28b;return _0x30a3b8[_0x1408f2(0x197)]===_0x48082f[_0x1408f2(0x197)]&&_0x4141b3(_0x30a3b8[_0x1408f2(0x198)],_0x48082f[_0x1408f2(0x198)]);}export function parsePositionBeforeCompression(_0x321171){const _0x2cefe0=_0xa28b;P(_0x321171,_0x41cf53=>(_0x2cefe0(0x18b)==_0x41cf53[_0x2cefe0(0x197)]?(_0x41cf53[_0x2cefe0(0x188)]=!0x0,delete _0x41cf53[_0x2cefe0(0x197)]):_0x2cefe0(0x18f)==_0x41cf53[_0x2cefe0(0x197)]&&(_0x41cf53[_0x2cefe0(0x18e)]=!0x0,delete _0x41cf53[_0x2cefe0(0x197)]),_0x41cf53));}export function parsePositionAfterCompression(_0x261127){const _0x3437e9=_0xa28b;P(_0x261127,_0x3caad3=>(_0x3caad3[_0x3437e9(0x188)]?(_0x3caad3[_0x3437e9(0x197)]=_0x3437e9(0x18b),delete _0x3caad3[_0x3437e9(0x188)]):_0x3caad3[_0x3437e9(0x18e)]&&(_0x3caad3[_0x3437e9(0x197)]=_0x3437e9(0x18f),delete _0x3caad3[_0x3437e9(0x18e)]),_0x3caad3));}function P(_0x5912fc,_0x45fcd2){const _0x50e3d8=_0xa28b;for(const _0x4e3848 in _0x5912fc){const _0x540ade=_0x5912fc[_0x4e3848];_0x50e3d8(0x186)!==_0x4e3848&&_0x56d7b6(_0x540ade)&&(_0x540ade[_0x50e3d8(0x198)]&&(_0x540ade[_0x50e3d8(0x197)]||_0x540ade[_0x50e3d8(0x188)]||_0x540ade[_0x50e3d8(0x18e)])?_0x5912fc[_0x4e3848]=_0x45fcd2(_0x540ade):P(_0x540ade,_0x45fcd2));}return _0x5912fc;}
|