@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.1 → 44.2.0-alpha.10
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 _0x4d82(){var _0x766ac8=['compress','347127EwUaFh','16HieMKc','101408LunKxu','_id','8700020eaoiDI','decompress','515048marokN','708ZZANoA','95112CWXIGA','153ZCzFpg','shift','21580GnJqmu','3326403kmgWIM','399oPgxvx','types','_operationName','push'];_0x4d82=function(){return _0x766ac8;};return _0x4d82();}var _0x50eaa7=_0x3296;(function(_0x164b64,_0x45f094){var _0x16008e=_0x3296,_0x9f2e58=_0x164b64();while(!![]){try{var _0xfef347=-parseInt(_0x16008e(0xb9))/0x1*(parseInt(_0x16008e(0xb8))/0x2)+parseInt(_0x16008e(0xc3))/0x3+parseInt(_0x16008e(0xbe))/0x4*(-parseInt(_0x16008e(0xc2))/0x5)+parseInt(_0x16008e(0xbf))/0x6*(parseInt(_0x16008e(0xb2))/0x7)+parseInt(_0x16008e(0xbd))/0x8*(parseInt(_0x16008e(0xc0))/0x9)+-parseInt(_0x16008e(0xbb))/0xa+-parseInt(_0x16008e(0xb7))/0xb;if(_0xfef347===_0x45f094)break;else _0x9f2e58['push'](_0x9f2e58['shift']());}catch(_0x205fe9){_0x9f2e58['push'](_0x9f2e58['shift']());}}}(_0x4d82,0x99d47));import _0x2f5973 from'./operationcompressor.js';function _0x3296(_0x4e6e3d,_0x33749a){var _0x4d82a5=_0x4d82();return _0x3296=function(_0x3296f2,_0x15a3ea){_0x3296f2=_0x3296f2-0xb2;var _0x18c460=_0x4d82a5[_0x3296f2];return _0x18c460;},_0x3296(_0x4e6e3d,_0x33749a);}export default class p extends _0x2f5973{[_0x50eaa7(0xb6)](_0x524fac,_0x512563){var _0x3bffc1=_0x50eaa7;return _0x512563[_0x3bffc1(0xc1)](),_0x524fac[_0x3bffc1(0xb3)][_0x3bffc1(0xb5)](this[_0x3bffc1(0xba)]),!0x0;}[_0x50eaa7(0xbc)](_0x50f0f6,_0x56a3a8){var _0x48c4ad=_0x50eaa7;_0x56a3a8[_0x48c4ad(0xb3)][_0x48c4ad(0xc1)](),_0x50f0f6[_0x48c4ad(0xb5)]({'__className':this[_0x48c4ad(0xb4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30d9(){const _0x48dfd6=['shift','7AQbQEi','10216IiJcRR','_operationName','10390886exouta','12ezjnzz','1DyRMUf','push','957078CzIQYF','buffers','__className','2699937vLAVhv','2601264gMoSAY','_protobufDescriptor','1315645gsqytB','_id','decompress','types','compress','27ITzEVr','228630vwLwMT','10xuQlqI'];_0x30d9=function(){return _0x48dfd6;};return _0x30d9();}const _0x473eaf=_0x43b0;(function(_0x26f510,_0x42e376){const _0x13b222=_0x43b0,_0x19585c=_0x26f510();while(!![]){try{const _0x2dab37=parseInt(_0x13b222(0x11b))/0x1*(parseInt(_0x13b222(0x113))/0x2)+-parseInt(_0x13b222(0x112))/0x3*(parseInt(_0x13b222(0x117))/0x4)+-parseInt(_0x13b222(0x10d))/0x5+-parseInt(_0x13b222(0x11d))/0x6*(-parseInt(_0x13b222(0x116))/0x7)+-parseInt(_0x13b222(0x121))/0x8+-parseInt(_0x13b222(0x120))/0x9*(parseInt(_0x13b222(0x114))/0xa)+parseInt(_0x13b222(0x119))/0xb*(parseInt(_0x13b222(0x11a))/0xc);if(_0x2dab37===_0x42e376)break;else _0x19585c['push'](_0x19585c['shift']());}catch(_0x56dcd0){_0x19585c['push'](_0x19585c['shift']());}}}(_0x30d9,0x4aff4));function _0x43b0(_0x3f7ea7,_0x191c57){const _0x30d954=_0x30d9();return _0x43b0=function(_0x43b013,_0x2efe69){_0x43b013=_0x43b013-0x10c;let _0x2743fd=_0x30d954[_0x43b013];return _0x2743fd;},_0x43b0(_0x3f7ea7,_0x191c57);}import{parsePositionBeforeCompression as _0x14d8bb,parsePositionAfterCompression as _0x2cffa2}from'../utils.js';export default class e{constructor(_0x19022a,_0x1ffec9,_0x561bee){const _0x4c2a14=_0x43b0;this[_0x4c2a14(0x10e)]=_0x19022a,this[_0x4c2a14(0x118)]=_0x1ffec9,this[_0x4c2a14(0x10c)]=_0x561bee;}[_0x473eaf(0x111)](_0x435de1,_0x317a47){const _0x49694a=_0x473eaf,_0x272aee=_0x317a47[_0x49694a(0x115)]();return _0x14d8bb(_0x272aee),_0x435de1[_0x49694a(0x11e)][_0x49694a(0x11c)](this[_0x49694a(0x10c)][_0x49694a(0x111)](_0x272aee)),_0x435de1[_0x49694a(0x110)][_0x49694a(0x11c)](this[_0x49694a(0x10e)]),!0x0;}[_0x473eaf(0x10f)](_0xaa21a7,_0x59856a){const _0x3f8af7=_0x473eaf;_0x59856a[_0x3f8af7(0x110)][_0x3f8af7(0x115)]();const _0x36cbc4=this[_0x3f8af7(0x10c)][_0x3f8af7(0x10f)](_0x59856a[_0x3f8af7(0x11e)][_0x3f8af7(0x115)]());_0x2cffa2(_0x36cbc4),_0x36cbc4[_0x3f8af7(0x11f)]=this[_0x3f8af7(0x118)],_0xaa21a7[_0x3f8af7(0x11c)](_0x36cbc4);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2429(){const _0x4826db=['finish','_protobufRoot','712701qRnfov','compress','64nXeJHG','22286IywHiM','create','35109KjMBIi','44UJuotB','70rgbEVj','getDescriptor','encode','toObject','decompress','558837dKfqVS','58667WlFCoE','decode','_protobuf','4928136iDJjKW','145vZjpBr','26pgfKnD','24blrBjC','verify','32142wGrCdM'];_0x2429=function(){return _0x4826db;};return _0x2429();}const _0x47177a=_0x2979;(function(_0xb19bb5,_0x10d433){const _0x1d3f7a=_0x2979,_0x2540a7=_0xb19bb5();while(!![]){try{const _0x41a8a0=-parseInt(_0x1d3f7a(0xd9))/0x1*(parseInt(_0x1d3f7a(0xc4))/0x2)+parseInt(_0x1d3f7a(0xdb))/0x3*(parseInt(_0x1d3f7a(0xd8))/0x4)+-parseInt(_0x1d3f7a(0xcf))/0x5*(-parseInt(_0x1d3f7a(0xd3))/0x6)+-parseInt(_0x1d3f7a(0xcb))/0x7*(parseInt(_0x1d3f7a(0xd1))/0x8)+parseInt(_0x1d3f7a(0xca))/0x9+-parseInt(_0x1d3f7a(0xc5))/0xa*(parseInt(_0x1d3f7a(0xd6))/0xb)+parseInt(_0x1d3f7a(0xce))/0xc*(parseInt(_0x1d3f7a(0xd0))/0xd);if(_0x41a8a0===_0x10d433)break;else _0x2540a7['push'](_0x2540a7['shift']());}catch(_0x4c3145){_0x2540a7['push'](_0x2540a7['shift']());}}}(_0x2429,0x3ec36));import{messages as _0x2a8e1e}from'./lib/compiledmessages.js';export default class r{constructor(){const _0xc212a0=_0x2979;this[_0xc212a0(0xd5)]=_0x2a8e1e;}[_0x47177a(0xc6)](_0x1258de){const _0x5a589d=_0x47177a;return new ProtobufDescriptor(this[_0x5a589d(0xd5)][_0x1258de]);}}function _0x2979(_0xaaf6e4,_0x33d6dc){const _0x24296b=_0x2429();return _0x2979=function(_0x297928,_0x1085aa){_0x297928=_0x297928-0xc4;let _0x5b713e=_0x24296b[_0x297928];return _0x5b713e;},_0x2979(_0xaaf6e4,_0x33d6dc);}export class ProtobufDescriptor{constructor(_0x2f4600){const _0x3f3745=_0x47177a;this[_0x3f3745(0xcd)]=_0x2f4600;}[_0x47177a(0xd7)](_0x2da9f9){const _0xa3e333=_0x47177a,_0x27bb69=this[_0xa3e333(0xcd)][_0xa3e333(0xd2)](_0x2da9f9);if(_0x27bb69)throw Error(_0x27bb69);return this[_0xa3e333(0xcd)][_0xa3e333(0xc7)](this[_0xa3e333(0xcd)][_0xa3e333(0xda)](_0x2da9f9))[_0xa3e333(0xd4)]();}[_0x47177a(0xc9)](_0x19a982){const _0x62ece8=_0x47177a;return this[_0x62ece8(0xcd)][_0x62ece8(0xc8)](this[_0x62ece8(0xcd)][_0x62ece8(0xcc)](_0x19a982),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e528d,_0x4d8563){const _0x2a0a04=_0x5939,_0x15a3a6=_0x4e528d();while(!![]){try{const _0xd099b2=-parseInt(_0x2a0a04(0x133))/0x1+parseInt(_0x2a0a04(0x128))/0x2*(-parseInt(_0x2a0a04(0x137))/0x3)+parseInt(_0x2a0a04(0x12a))/0x4*(parseInt(_0x2a0a04(0x138))/0x5)+-parseInt(_0x2a0a04(0x135))/0x6+-parseInt(_0x2a0a04(0x12e))/0x7+parseInt(_0x2a0a04(0x12b))/0x8*(parseInt(_0x2a0a04(0x130))/0x9)+parseInt(_0x2a0a04(0x12c))/0xa;if(_0xd099b2===_0x4d8563)break;else _0x15a3a6['push'](_0x15a3a6['shift']());}catch(_0x129364){_0x15a3a6['push'](_0x15a3a6['shift']());}}}(_0x454c,0xa98be));import{cloneDeep as _0x35fe65,isEqual as _0x3780bf,isObject as _0x162cc0}from'lodash-es';function _0x454c(){const _0x4895bb=['12710790TSZGPH','path','5895435vZVlcu','length','8721ChIYsP','$graveyard','rootMain','286632kBwqPd','rootGraveyard','1380738vKRXeh','main','237taUqyB','3860085Nfszyj','root','4326drfURu','nodes','4xupXPM','1496JaEGJI'];_0x454c=function(){return _0x4895bb;};return _0x454c();}export function getPositionShiftedBy(_0xd5e638,_0x3349b8){const _0x4dc8f4=_0x5939,_0x20f486=_0x35fe65(_0xd5e638);return _0x20f486[_0x4dc8f4(0x12d)][_0x20f486[_0x4dc8f4(0x12d)][_0x4dc8f4(0x12f)]-0x1]+=_0x3349b8,_0x20f486;}export function arePositionsEqual(_0x5a46dd,_0x565be0){const _0x12cf79=_0x5939;return _0x5a46dd[_0x12cf79(0x127)]===_0x565be0[_0x12cf79(0x127)]&&_0x3780bf(_0x5a46dd[_0x12cf79(0x12d)],_0x565be0[_0x12cf79(0x12d)]);}export function parsePositionBeforeCompression(_0x3bcaf6){const _0x5cd975=_0x5939;P(_0x3bcaf6,_0x1a42e8=>(_0x5cd975(0x136)==_0x1a42e8[_0x5cd975(0x127)]?(_0x1a42e8[_0x5cd975(0x132)]=!0x0,delete _0x1a42e8[_0x5cd975(0x127)]):_0x5cd975(0x131)==_0x1a42e8[_0x5cd975(0x127)]&&(_0x1a42e8[_0x5cd975(0x134)]=!0x0,delete _0x1a42e8[_0x5cd975(0x127)]),_0x1a42e8));}function _0x5939(_0x398b4e,_0xd41d57){const _0x454cb6=_0x454c();return _0x5939=function(_0x59391d,_0x561159){_0x59391d=_0x59391d-0x127;let _0x2a05c1=_0x454cb6[_0x59391d];return _0x2a05c1;},_0x5939(_0x398b4e,_0xd41d57);}export function parsePositionAfterCompression(_0x18f4d7){const _0x2e5dba=_0x5939;P(_0x18f4d7,_0x4f1dfa=>(_0x4f1dfa[_0x2e5dba(0x132)]?(_0x4f1dfa[_0x2e5dba(0x127)]=_0x2e5dba(0x136),delete _0x4f1dfa[_0x2e5dba(0x132)]):_0x4f1dfa[_0x2e5dba(0x134)]&&(_0x4f1dfa[_0x2e5dba(0x127)]=_0x2e5dba(0x131),delete _0x4f1dfa[_0x2e5dba(0x134)]),_0x4f1dfa));}function P(_0x4faa41,_0x586903){const _0x3e3f0b=_0x5939;for(const _0x290256 in _0x4faa41){const _0x28c762=_0x4faa41[_0x290256];_0x3e3f0b(0x129)!==_0x290256&&_0x162cc0(_0x28c762)&&(_0x28c762[_0x3e3f0b(0x12d)]&&(_0x28c762[_0x3e3f0b(0x127)]||_0x28c762[_0x3e3f0b(0x132)]||_0x28c762[_0x3e3f0b(0x134)])?_0x4faa41[_0x290256]=_0x586903(_0x28c762):P(_0x28c762,_0x586903));}return _0x4faa41;}
|