@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.1 → 43.1.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
|
-
|
|
23
|
+
var _0x34de81=_0x51c4;(function(_0x128571,_0x1132ef){var _0x2c8f48=_0x51c4,_0x55d1cb=_0x128571();while(!![]){try{var _0x2d90a8=parseInt(_0x2c8f48(0xff))/0x1*(-parseInt(_0x2c8f48(0xf1))/0x2)+parseInt(_0x2c8f48(0xfd))/0x3+-parseInt(_0x2c8f48(0xf2))/0x4*(-parseInt(_0x2c8f48(0x102))/0x5)+parseInt(_0x2c8f48(0xf4))/0x6*(parseInt(_0x2c8f48(0x101))/0x7)+parseInt(_0x2c8f48(0xf5))/0x8+-parseInt(_0x2c8f48(0xfc))/0x9*(-parseInt(_0x2c8f48(0xfb))/0xa)+-parseInt(_0x2c8f48(0xf3))/0xb;if(_0x2d90a8===_0x1132ef)break;else _0x55d1cb['push'](_0x55d1cb['shift']());}catch(_0x583dc5){_0x55d1cb['push'](_0x55d1cb['shift']());}}}(_0x3c08,0xc6537));function _0x3c08(){var _0x58c152=['decompress','shift','_id','push','types','11700090izWqvM','9hKRXAv','4387431wxfHlz','_operationName','5LCADyo','compress','770KOTxMm','4855qMRBMF','633836EpVrYu','2924LoLogR','39020608uAGmxG','69540ekyCHE','10616592nRitVa'];_0x3c08=function(){return _0x58c152;};return _0x3c08();}function _0x51c4(_0x23c5ed,_0x54a497){var _0x3c0860=_0x3c08();return _0x51c4=function(_0x51c4b5,_0x21a011){_0x51c4b5=_0x51c4b5-0xf1;var _0x2e850d=_0x3c0860[_0x51c4b5];return _0x2e850d;},_0x51c4(_0x23c5ed,_0x54a497);}import _0x41004c from'./operationcompressor.js';export default class p extends _0x41004c{[_0x34de81(0x100)](_0x38fa10,_0x1a3885){var _0x579b3f=_0x34de81;return _0x1a3885[_0x579b3f(0xf7)](),_0x38fa10[_0x579b3f(0xfa)][_0x579b3f(0xf9)](this[_0x579b3f(0xf8)]),!0x0;}[_0x34de81(0xf6)](_0x115303,_0x2bc205){var _0x15c66e=_0x34de81;_0x2bc205[_0x15c66e(0xfa)][_0x15c66e(0xf7)](),_0x115303[_0x15c66e(0xf9)]({'__className':this[_0x15c66e(0xfe)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55f6b7=_0x1222;(function(_0x4cbd6a,_0x29123f){const _0x2cd4fe=_0x1222,_0x2252b7=_0x4cbd6a();while(!![]){try{const _0x31ee97=-parseInt(_0x2cd4fe(0x1a6))/0x1+-parseInt(_0x2cd4fe(0x1a7))/0x2+-parseInt(_0x2cd4fe(0x1a5))/0x3*(parseInt(_0x2cd4fe(0x1a8))/0x4)+-parseInt(_0x2cd4fe(0x1aa))/0x5*(-parseInt(_0x2cd4fe(0x1a9))/0x6)+-parseInt(_0x2cd4fe(0x19e))/0x7+-parseInt(_0x2cd4fe(0x1a0))/0x8*(-parseInt(_0x2cd4fe(0x19b))/0x9)+parseInt(_0x2cd4fe(0x1a1))/0xa*(parseInt(_0x2cd4fe(0x1a4))/0xb);if(_0x31ee97===_0x29123f)break;else _0x2252b7['push'](_0x2252b7['shift']());}catch(_0x4cb245){_0x2252b7['push'](_0x2252b7['shift']());}}}(_0x3748,0xc4d37));function _0x3748(){const _0x3b6e12=['1314412vkKgLO','135mzxUoh','761430kHNVAj','2316710bjBJNg','116824alOMZU','4509942nlyhhD','10nJbbSH','_operationName','types','_protobufDescriptor','push','_id','90945PFLopP','shift','decompress','4733442gskWlg','buffers','368pfxvmq','230lOKcEN','compress','__className'];_0x3748=function(){return _0x3b6e12;};return _0x3748();}import{parsePositionBeforeCompression as _0x3b93a3,parsePositionAfterCompression as _0x2570fc}from'../utils.js';function _0x1222(_0x43b51d,_0x16fa1d){const _0x3748a0=_0x3748();return _0x1222=function(_0x1222f4,_0x7ad24f){_0x1222f4=_0x1222f4-0x19a;let _0x599542=_0x3748a0[_0x1222f4];return _0x599542;},_0x1222(_0x43b51d,_0x16fa1d);}export default class e{constructor(_0x502f37,_0x3f61ce,_0x40fc8b){const _0x448945=_0x1222;this[_0x448945(0x19a)]=_0x502f37,this[_0x448945(0x1ab)]=_0x3f61ce,this[_0x448945(0x1ad)]=_0x40fc8b;}[_0x55f6b7(0x1a2)](_0xef2f73,_0x65c725){const _0x90fccc=_0x55f6b7,_0x448533=_0x65c725[_0x90fccc(0x19c)]();return _0x3b93a3(_0x448533),_0xef2f73[_0x90fccc(0x19f)][_0x90fccc(0x1ae)](this[_0x90fccc(0x1ad)][_0x90fccc(0x1a2)](_0x448533)),_0xef2f73[_0x90fccc(0x1ac)][_0x90fccc(0x1ae)](this[_0x90fccc(0x19a)]),!0x0;}[_0x55f6b7(0x19d)](_0x4283b0,_0x4ccc5f){const _0x44f5b4=_0x55f6b7;_0x4ccc5f[_0x44f5b4(0x1ac)][_0x44f5b4(0x19c)]();const _0xddc5a2=this[_0x44f5b4(0x1ad)][_0x44f5b4(0x19d)](_0x4ccc5f[_0x44f5b4(0x19f)][_0x44f5b4(0x19c)]());_0x2570fc(_0xddc5a2),_0xddc5a2[_0x44f5b4(0x1a3)]=this[_0x44f5b4(0x1ab)],_0x4283b0[_0x44f5b4(0x1ae)](_0xddc5a2);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5052(_0x4ed48f,_0x3e8174){const _0x44f6ee=_0x44f6();return _0x5052=function(_0x505256,_0x32ab94){_0x505256=_0x505256-0x13c;let _0x126430=_0x44f6ee[_0x505256];return _0x126430;},_0x5052(_0x4ed48f,_0x3e8174);}function _0x44f6(){const _0x4f4434=['7GzQpSW','decode','compress','6444138uirFth','1MhItei','encode','getDescriptor','verify','_protobuf','decompress','_protobufRoot','2048988CbtZyC','create','7484244wdOAuj','8Qrbgme','125807ZDPyWL','970ScwsQq','toObject','finish','2820488pdxerK','2796678FqvAJo','65mtRoeQ','16241463ZBBRYh','5NVDtuq'];_0x44f6=function(){return _0x4f4434;};return _0x44f6();}const _0xa0b676=_0x5052;(function(_0x571e8e,_0x626e45){const _0x36dbf7=_0x5052,_0x9bb334=_0x571e8e();while(!![]){try{const _0x547a4b=-parseInt(_0x36dbf7(0x145))/0x1*(parseInt(_0x36dbf7(0x13c))/0x2)+-parseInt(_0x36dbf7(0x13d))/0x3+parseInt(_0x36dbf7(0x14c))/0x4*(parseInt(_0x36dbf7(0x140))/0x5)+-parseInt(_0x36dbf7(0x144))/0x6*(parseInt(_0x36dbf7(0x141))/0x7)+-parseInt(_0x36dbf7(0x14f))/0x8*(-parseInt(_0x36dbf7(0x13f))/0x9)+-parseInt(_0x36dbf7(0x151))/0xa*(parseInt(_0x36dbf7(0x150))/0xb)+parseInt(_0x36dbf7(0x14e))/0xc*(parseInt(_0x36dbf7(0x13e))/0xd);if(_0x547a4b===_0x626e45)break;else _0x9bb334['push'](_0x9bb334['shift']());}catch(_0x1fd4d7){_0x9bb334['push'](_0x9bb334['shift']());}}}(_0x44f6,0xde05f));import{messages as _0x9992a6}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x33e032=_0x5052;this[_0x33e032(0x14b)]=_0x9992a6;}[_0xa0b676(0x147)](_0x298626){const _0x357460=_0xa0b676;return new ProtobufDescriptor(this[_0x357460(0x14b)][_0x298626]);}}export class ProtobufDescriptor{constructor(_0x1b1cc4){const _0x2d68ba=_0xa0b676;this[_0x2d68ba(0x149)]=_0x1b1cc4;}[_0xa0b676(0x143)](_0x31a9fc){const _0x49c3d4=_0xa0b676,_0x53ef76=this[_0x49c3d4(0x149)][_0x49c3d4(0x148)](_0x31a9fc);if(_0x53ef76)throw Error(_0x53ef76);return this[_0x49c3d4(0x149)][_0x49c3d4(0x146)](this[_0x49c3d4(0x149)][_0x49c3d4(0x14d)](_0x31a9fc))[_0x49c3d4(0x153)]();}[_0xa0b676(0x14a)](_0x8c84){const _0x1de26c=_0xa0b676;return this[_0x1de26c(0x149)][_0x1de26c(0x152)](this[_0x1de26c(0x149)][_0x1de26c(0x142)](_0x8c84),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x431f(_0x5be76d,_0xb1465b){const _0x5b5984=_0x5b59();return _0x431f=function(_0x431f92,_0x194ef9){_0x431f92=_0x431f92-0xd1;let _0x4acf97=_0x5b5984[_0x431f92];return _0x4acf97;},_0x431f(_0x5be76d,_0xb1465b);}(function(_0x1129cc,_0x466f84){const _0xf6f856=_0x431f,_0x24a0cd=_0x1129cc();while(!![]){try{const _0x2076b4=-parseInt(_0xf6f856(0xd7))/0x1+-parseInt(_0xf6f856(0xd1))/0x2*(-parseInt(_0xf6f856(0xdc))/0x3)+-parseInt(_0xf6f856(0xe1))/0x4*(parseInt(_0xf6f856(0xd2))/0x5)+-parseInt(_0xf6f856(0xe2))/0x6*(parseInt(_0xf6f856(0xd8))/0x7)+parseInt(_0xf6f856(0xd9))/0x8+-parseInt(_0xf6f856(0xe0))/0x9*(-parseInt(_0xf6f856(0xe3))/0xa)+-parseInt(_0xf6f856(0xda))/0xb*(-parseInt(_0xf6f856(0xd3))/0xc);if(_0x2076b4===_0x466f84)break;else _0x24a0cd['push'](_0x24a0cd['shift']());}catch(_0x93500c){_0x24a0cd['push'](_0x24a0cd['shift']());}}}(_0x5b59,0x2929e));import{cloneDeep as _0x28139f,isEqual as _0x564c3a,isObject as _0x395bf7}from'lodash-es';export function getPositionShiftedBy(_0x2576f0,_0x47098b){const _0x46d3f8=_0x431f,_0x4de75b=_0x28139f(_0x2576f0);return _0x4de75b[_0x46d3f8(0xe4)][_0x4de75b[_0x46d3f8(0xe4)][_0x46d3f8(0xd6)]-0x1]+=_0x47098b,_0x4de75b;}export function arePositionsEqual(_0x370a0f,_0x131a93){const _0x29ec3b=_0x431f;return _0x370a0f[_0x29ec3b(0xd5)]===_0x131a93[_0x29ec3b(0xd5)]&&_0x564c3a(_0x370a0f[_0x29ec3b(0xe4)],_0x131a93[_0x29ec3b(0xe4)]);}export function parsePositionBeforeCompression(_0x31d08d){const _0x3265a0=_0x431f;P(_0x31d08d,_0x1cb23a=>(_0x3265a0(0xdd)==_0x1cb23a[_0x3265a0(0xd5)]?(_0x1cb23a[_0x3265a0(0xdb)]=!0x0,delete _0x1cb23a[_0x3265a0(0xd5)]):_0x3265a0(0xdf)==_0x1cb23a[_0x3265a0(0xd5)]&&(_0x1cb23a[_0x3265a0(0xd4)]=!0x0,delete _0x1cb23a[_0x3265a0(0xd5)]),_0x1cb23a));}function _0x5b59(){const _0x4c4b48=['291834zQtqtK','70uRarJY','path','226PTiCXR','1880OFFzNt','12STyAgE','rootGraveyard','root','length','218036QITLrS','42xvLGnQ','718768aabLdq','5635289GzKGFn','rootMain','3732tlSBSH','main','nodes','$graveyard','25209BbxNzE','892vkuqdc'];_0x5b59=function(){return _0x4c4b48;};return _0x5b59();}export function parsePositionAfterCompression(_0x2caf39){const _0x776cc3=_0x431f;P(_0x2caf39,_0x52c3b8=>(_0x52c3b8[_0x776cc3(0xdb)]?(_0x52c3b8[_0x776cc3(0xd5)]=_0x776cc3(0xdd),delete _0x52c3b8[_0x776cc3(0xdb)]):_0x52c3b8[_0x776cc3(0xd4)]&&(_0x52c3b8[_0x776cc3(0xd5)]=_0x776cc3(0xdf),delete _0x52c3b8[_0x776cc3(0xd4)]),_0x52c3b8));}function P(_0x4344c6,_0x27792d){const _0x34cb17=_0x431f;for(const _0x27100c in _0x4344c6){const _0x3a4b0a=_0x4344c6[_0x27100c];_0x34cb17(0xde)!==_0x27100c&&_0x395bf7(_0x3a4b0a)&&(_0x3a4b0a[_0x34cb17(0xe4)]&&(_0x3a4b0a[_0x34cb17(0xd5)]||_0x3a4b0a[_0x34cb17(0xdb)]||_0x3a4b0a[_0x34cb17(0xd4)])?_0x4344c6[_0x27100c]=_0x27792d(_0x3a4b0a):P(_0x3a4b0a,_0x27792d));}return _0x4344c6;}
|