@ckeditor/ckeditor5-operations-compressor 42.0.2-alpha.2 → 43.0.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/CHANGELOG.md +1 -89
- 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
|
+
var _0x5d2d46=_0x3739;function _0x3739(_0x2e0590,_0x1e6ce3){var _0x2d036a=_0x2d03();return _0x3739=function(_0x37390b,_0x4c6773){_0x37390b=_0x37390b-0x1bf;var _0x59fd59=_0x2d036a[_0x37390b];return _0x59fd59;},_0x3739(_0x2e0590,_0x1e6ce3);}(function(_0x8894d8,_0x5dbfdf){var _0x46d4f6=_0x3739,_0x5f1f3b=_0x8894d8();while(!![]){try{var _0x4f437e=parseInt(_0x46d4f6(0x1c0))/0x1*(parseInt(_0x46d4f6(0x1cb))/0x2)+-parseInt(_0x46d4f6(0x1bf))/0x3*(-parseInt(_0x46d4f6(0x1cd))/0x4)+parseInt(_0x46d4f6(0x1d0))/0x5*(parseInt(_0x46d4f6(0x1c5))/0x6)+-parseInt(_0x46d4f6(0x1c9))/0x7*(-parseInt(_0x46d4f6(0x1c3))/0x8)+-parseInt(_0x46d4f6(0x1c7))/0x9+-parseInt(_0x46d4f6(0x1ce))/0xa*(parseInt(_0x46d4f6(0x1d1))/0xb)+-parseInt(_0x46d4f6(0x1cf))/0xc;if(_0x4f437e===_0x5dbfdf)break;else _0x5f1f3b['push'](_0x5f1f3b['shift']());}catch(_0x33893c){_0x5f1f3b['push'](_0x5f1f3b['shift']());}}}(_0x2d03,0x2e768));import _0xc5b3c5 from'./operationcompressor.js';function _0x2d03(){var _0x1196e2=['716304tHBAzN','_id','2516535McPBjf','shift','7CkAnhE','decompress','185508nazYYT','compress','4foEylB','13040qlOWdc','4547388rOkjVX','10YUgeEN','88XyJaGy','69063yhvIDO','3ZwRPYL','_operationName','push','2554056dNlrVE','types'];_0x2d03=function(){return _0x1196e2;};return _0x2d03();}export default class p extends _0xc5b3c5{[_0x5d2d46(0x1cc)](_0x1abe26,_0x4cc124){var _0x5b5110=_0x5d2d46;return _0x4cc124[_0x5b5110(0x1c8)](),_0x1abe26[_0x5b5110(0x1c4)][_0x5b5110(0x1c2)](this[_0x5b5110(0x1c6)]),!0x0;}[_0x5d2d46(0x1ca)](_0x560f76,_0x5d958b){var _0x4d4461=_0x5d2d46;_0x5d958b[_0x4d4461(0x1c4)][_0x4d4461(0x1c8)](),_0x560f76[_0x4d4461(0x1c2)]({'__className':this[_0x4d4461(0x1c1)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1d4313=_0x525c;(function(_0x34ee72,_0x1dab90){const _0x4129e4=_0x525c,_0x40743e=_0x34ee72();while(!![]){try{const _0x49f9d5=parseInt(_0x4129e4(0xc0))/0x1+parseInt(_0x4129e4(0xc3))/0x2*(parseInt(_0x4129e4(0xc7))/0x3)+-parseInt(_0x4129e4(0xca))/0x4+-parseInt(_0x4129e4(0xd1))/0x5*(-parseInt(_0x4129e4(0xc1))/0x6)+-parseInt(_0x4129e4(0xc4))/0x7+-parseInt(_0x4129e4(0xcb))/0x8+parseInt(_0x4129e4(0xbf))/0x9;if(_0x49f9d5===_0x1dab90)break;else _0x40743e['push'](_0x40743e['shift']());}catch(_0x3709b7){_0x40743e['push'](_0x40743e['shift']());}}}(_0x5734,0x61a1f));function _0x525c(_0x5b3ab8,_0x77bc8){const _0x5734bf=_0x5734();return _0x525c=function(_0x525c6b,_0x4efacd){_0x525c6b=_0x525c6b-0xbf;let _0x267459=_0x5734bf[_0x525c6b];return _0x267459;},_0x525c(_0x5b3ab8,_0x77bc8);}import{parsePositionBeforeCompression as _0x218d2b,parsePositionAfterCompression as _0x278f11}from'../utils.js';function _0x5734(){const _0x30ab54=['_operationName','__className','types','688290nRzzoa','9322020jmzfnN','769528HUDzMK','6DOQxdN','_protobufDescriptor','4SxLmka','4746686ePevTP','push','decompress','733506dsLAzu','shift','_id','2552980muAMoN','5725792SfWvFK','compress','buffers'];_0x5734=function(){return _0x30ab54;};return _0x5734();}export default class e{constructor(_0x5e7ae9,_0x80394a,_0x4493de){const _0x309fdc=_0x525c;this[_0x309fdc(0xc9)]=_0x5e7ae9,this[_0x309fdc(0xce)]=_0x80394a,this[_0x309fdc(0xc2)]=_0x4493de;}[_0x1d4313(0xcc)](_0x181d35,_0x1e9c82){const _0xf05788=_0x1d4313,_0x1f384b=_0x1e9c82[_0xf05788(0xc8)]();return _0x218d2b(_0x1f384b),_0x181d35[_0xf05788(0xcd)][_0xf05788(0xc5)](this[_0xf05788(0xc2)][_0xf05788(0xcc)](_0x1f384b)),_0x181d35[_0xf05788(0xd0)][_0xf05788(0xc5)](this[_0xf05788(0xc9)]),!0x0;}[_0x1d4313(0xc6)](_0x6efd7d,_0xe0da90){const _0x441e8e=_0x1d4313;_0xe0da90[_0x441e8e(0xd0)][_0x441e8e(0xc8)]();const _0x5b16b8=this[_0x441e8e(0xc2)][_0x441e8e(0xc6)](_0xe0da90[_0x441e8e(0xcd)][_0x441e8e(0xc8)]());_0x278f11(_0x5b16b8),_0x5b16b8[_0x441e8e(0xcf)]=this[_0x441e8e(0xce)],_0x6efd7d[_0x441e8e(0xc5)](_0x5b16b8);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1d8a(){const _0x225447=['9XFVIoL','compress','10FqsEdX','4170sMLhyR','_protobuf','9byhTQi','360479UYNUyD','decode','836702VyqCDQ','verify','884209ZbAvwi','encode','37532gglUbw','toObject','801524PpHoPg','getDescriptor','_protobufRoot','finish','3865128Tqphkv','54HRqzhe','28260048vSODvr','decompress','create'];_0x1d8a=function(){return _0x225447;};return _0x1d8a();}function _0x2e4d(_0x367b2c,_0x572711){const _0x1d8abf=_0x1d8a();return _0x2e4d=function(_0x2e4da1,_0x2ced8d){_0x2e4da1=_0x2e4da1-0x1ed;let _0x58932e=_0x1d8abf[_0x2e4da1];return _0x58932e;},_0x2e4d(_0x367b2c,_0x572711);}const _0x44b918=_0x2e4d;(function(_0x4d4f18,_0x47e501){const _0x6cf41c=_0x2e4d,_0x5bfdbe=_0x4d4f18();while(!![]){try{const _0x4103ef=parseInt(_0x6cf41c(0x1ed))/0x1+parseInt(_0x6cf41c(0x202))/0x2*(-parseInt(_0x6cf41c(0x1ff))/0x3)+parseInt(_0x6cf41c(0x1f1))/0x4*(parseInt(_0x6cf41c(0x1fc))/0x5)+-parseInt(_0x6cf41c(0x1f6))/0x6*(-parseInt(_0x6cf41c(0x200))/0x7)+-parseInt(_0x6cf41c(0x1f5))/0x8*(parseInt(_0x6cf41c(0x1fa))/0x9)+-parseInt(_0x6cf41c(0x1fd))/0xa*(parseInt(_0x6cf41c(0x1ef))/0xb)+parseInt(_0x6cf41c(0x1f7))/0xc;if(_0x4103ef===_0x47e501)break;else _0x5bfdbe['push'](_0x5bfdbe['shift']());}catch(_0x456f85){_0x5bfdbe['push'](_0x5bfdbe['shift']());}}}(_0x1d8a,0xe6172));import{messages as _0x1a432c}from'./lib/compiledmessages.js';export default class r{constructor(){const _0xae4014=_0x2e4d;this[_0xae4014(0x1f3)]=_0x1a432c;}[_0x44b918(0x1f2)](_0x438753){const _0x45133f=_0x44b918;return new ProtobufDescriptor(this[_0x45133f(0x1f3)][_0x438753]);}}export class ProtobufDescriptor{constructor(_0x196963){const _0x374e3d=_0x44b918;this[_0x374e3d(0x1fe)]=_0x196963;}[_0x44b918(0x1fb)](_0xcb6764){const _0x4b1662=_0x44b918,_0x4f1376=this[_0x4b1662(0x1fe)][_0x4b1662(0x203)](_0xcb6764);if(_0x4f1376)throw Error(_0x4f1376);return this[_0x4b1662(0x1fe)][_0x4b1662(0x1ee)](this[_0x4b1662(0x1fe)][_0x4b1662(0x1f9)](_0xcb6764))[_0x4b1662(0x1f4)]();}[_0x44b918(0x1f8)](_0x2e58ad){const _0x4e5956=_0x44b918;return this[_0x4e5956(0x1fe)][_0x4e5956(0x1f0)](this[_0x4e5956(0x1fe)][_0x4e5956(0x201)](_0x2e58ad),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c81f3,_0x2237da){const _0x2cd4ad=_0x29fc,_0x1a5d03=_0x5c81f3();while(!![]){try{const _0x30aaab=parseInt(_0x2cd4ad(0x1ef))/0x1+-parseInt(_0x2cd4ad(0x1fc))/0x2+-parseInt(_0x2cd4ad(0x1f7))/0x3+parseInt(_0x2cd4ad(0x1f8))/0x4+parseInt(_0x2cd4ad(0x1f3))/0x5*(parseInt(_0x2cd4ad(0x1f4))/0x6)+parseInt(_0x2cd4ad(0x1fd))/0x7+parseInt(_0x2cd4ad(0x1ed))/0x8*(parseInt(_0x2cd4ad(0x1fa))/0x9);if(_0x30aaab===_0x2237da)break;else _0x1a5d03['push'](_0x1a5d03['shift']());}catch(_0x5d1ee2){_0x1a5d03['push'](_0x1a5d03['shift']());}}}(_0x5849,0x8a22f));function _0x5849(){const _0xfccf60=['502364NClMCZ','$graveyard','nodes','root','68290MVTyHn','24AgxcYL','length','rootGraveyard','2393973cteKeH','222260HJwxky','path','81MaCUAw','main','2234416idXdjd','2783907STHsLC','1307328DSceAR','rootMain'];_0x5849=function(){return _0xfccf60;};return _0x5849();}function _0x29fc(_0xe7bc1a,_0x401f0f){const _0x58492d=_0x5849();return _0x29fc=function(_0x29fcce,_0xa28406){_0x29fcce=_0x29fcce-0x1ed;let _0x2955f1=_0x58492d[_0x29fcce];return _0x2955f1;},_0x29fc(_0xe7bc1a,_0x401f0f);}import{cloneDeep as _0x57f9d1,isEqual as _0x4605ec,isObject as _0x387182}from'lodash-es';export function getPositionShiftedBy(_0x2f5df5,_0x3d857b){const _0x2bd95b=_0x29fc,_0x164e90=_0x57f9d1(_0x2f5df5);return _0x164e90[_0x2bd95b(0x1f9)][_0x164e90[_0x2bd95b(0x1f9)][_0x2bd95b(0x1f5)]-0x1]+=_0x3d857b,_0x164e90;}export function arePositionsEqual(_0x22389b,_0x56ceb0){const _0xa6e035=_0x29fc;return _0x22389b[_0xa6e035(0x1f2)]===_0x56ceb0[_0xa6e035(0x1f2)]&&_0x4605ec(_0x22389b[_0xa6e035(0x1f9)],_0x56ceb0[_0xa6e035(0x1f9)]);}export function parsePositionBeforeCompression(_0x2a3a20){const _0x1173de=_0x29fc;P(_0x2a3a20,_0xfcb51d=>(_0x1173de(0x1fb)==_0xfcb51d[_0x1173de(0x1f2)]?(_0xfcb51d[_0x1173de(0x1ee)]=!0x0,delete _0xfcb51d[_0x1173de(0x1f2)]):_0x1173de(0x1f0)==_0xfcb51d[_0x1173de(0x1f2)]&&(_0xfcb51d[_0x1173de(0x1f6)]=!0x0,delete _0xfcb51d[_0x1173de(0x1f2)]),_0xfcb51d));}export function parsePositionAfterCompression(_0x24154c){const _0x287228=_0x29fc;P(_0x24154c,_0x828ca9=>(_0x828ca9[_0x287228(0x1ee)]?(_0x828ca9[_0x287228(0x1f2)]=_0x287228(0x1fb),delete _0x828ca9[_0x287228(0x1ee)]):_0x828ca9[_0x287228(0x1f6)]&&(_0x828ca9[_0x287228(0x1f2)]=_0x287228(0x1f0),delete _0x828ca9[_0x287228(0x1f6)]),_0x828ca9));}function P(_0x2b11b1,_0x497f05){const _0x1511b2=_0x29fc;for(const _0x42c903 in _0x2b11b1){const _0x2794a9=_0x2b11b1[_0x42c903];_0x1511b2(0x1f1)!==_0x42c903&&_0x387182(_0x2794a9)&&(_0x2794a9[_0x1511b2(0x1f9)]&&(_0x2794a9[_0x1511b2(0x1f2)]||_0x2794a9[_0x1511b2(0x1ee)]||_0x2794a9[_0x1511b2(0x1f6)])?_0x2b11b1[_0x42c903]=_0x497f05(_0x2794a9):P(_0x2794a9,_0x497f05));}return _0x2b11b1;}
|