@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.4 → 47.0.0-alpha.5
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 _0x4d8f(){var _0x34a761=['175lXyned','1640676mskGPU','shift','compress','push','972834CXAlDf','_operationName','17638UeiWlJ','163578vUmKeV','_id','types','69eisEYm','5JNuwRV','decompress','417159iyiQCQ','11UutyMD','200776HnLxYS','15274030zGQreT'];_0x4d8f=function(){return _0x34a761;};return _0x4d8f();}function _0x57a6(_0x5d6ef4,_0x5ce02d){var _0x4d8fb4=_0x4d8f();return _0x57a6=function(_0x57a698,_0x2fa1b8){_0x57a698=_0x57a698-0xdb;var _0x5a1f78=_0x4d8fb4[_0x57a698];return _0x5a1f78;},_0x57a6(_0x5d6ef4,_0x5ce02d);}var _0x237c37=_0x57a6;(function(_0x2256a1,_0x4da0b4){var _0x680a5a=_0x57a6,_0x4c2b70=_0x2256a1();while(!![]){try{var _0x33c540=-parseInt(_0x680a5a(0xe6))/0x1+-parseInt(_0x680a5a(0xe8))/0x2*(-parseInt(_0x680a5a(0xec))/0x3)+parseInt(_0x680a5a(0xe2))/0x4+parseInt(_0x680a5a(0xdb))/0x5*(parseInt(_0x680a5a(0xe9))/0x6)+-parseInt(_0x680a5a(0xe1))/0x7*(parseInt(_0x680a5a(0xdf))/0x8)+parseInt(_0x680a5a(0xdd))/0x9+parseInt(_0x680a5a(0xe0))/0xa*(parseInt(_0x680a5a(0xde))/0xb);if(_0x33c540===_0x4da0b4)break;else _0x4c2b70['push'](_0x4c2b70['shift']());}catch(_0x24270c){_0x4c2b70['push'](_0x4c2b70['shift']());}}}(_0x4d8f,0x95d84));import{OperationCompressor as _0x2c3b76}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2c3b76{[_0x237c37(0xe4)](_0x219108,_0x5170f6){var _0x46a6a3=_0x237c37;return _0x5170f6[_0x46a6a3(0xe3)](),_0x219108[_0x46a6a3(0xeb)][_0x46a6a3(0xe5)](this[_0x46a6a3(0xea)]),!0x0;}[_0x237c37(0xdc)](_0x4b237d,_0x5e6757){var _0x41c518=_0x237c37;_0x5e6757[_0x41c518(0xeb)][_0x41c518(0xe3)](),_0x4b237d[_0x41c518(0xe5)]({'__className':this[_0x41c518(0xe7)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3f0a0d=_0x2ceb;(function(_0x2550fd,_0xd7b960){const _0x3a2fc1=_0x2ceb,_0x1c5946=_0x2550fd();while(!![]){try{const _0x425a6f=-parseInt(_0x3a2fc1(0x107))/0x1*(-parseInt(_0x3a2fc1(0x10b))/0x2)+parseInt(_0x3a2fc1(0x109))/0x3+parseInt(_0x3a2fc1(0x108))/0x4*(parseInt(_0x3a2fc1(0xfc))/0x5)+-parseInt(_0x3a2fc1(0x106))/0x6*(parseInt(_0x3a2fc1(0x103))/0x7)+parseInt(_0x3a2fc1(0x101))/0x8+parseInt(_0x3a2fc1(0xfb))/0x9+-parseInt(_0x3a2fc1(0xfd))/0xa;if(_0x425a6f===_0xd7b960)break;else _0x1c5946['push'](_0x1c5946['shift']());}catch(_0x5ebee5){_0x1c5946['push'](_0x1c5946['shift']());}}}(_0x4014,0x98b0d));import{parsePositionBeforeCompression as _0x46897a,parsePositionAfterCompression as _0x498f20}from'../utils.js';function _0x2ceb(_0x28ec05,_0x483e1b){const _0x40145a=_0x4014();return _0x2ceb=function(_0x2cebf0,_0x1c84c5){_0x2cebf0=_0x2cebf0-0xf9;let _0xdd2eb0=_0x40145a[_0x2cebf0];return _0xdd2eb0;},_0x2ceb(_0x28ec05,_0x483e1b);}export class OperationCompressor{[_0x3f0a0d(0xff)];[_0x3f0a0d(0xf9)];[_0x3f0a0d(0xfa)];constructor(_0x4fee7a,_0x2d2b0d,_0x251a51){const _0x5c2f35=_0x3f0a0d;this[_0x5c2f35(0xff)]=_0x4fee7a,this[_0x5c2f35(0xf9)]=_0x2d2b0d,this[_0x5c2f35(0xfa)]=_0x251a51;}[_0x3f0a0d(0xfe)](_0x24233e,_0x352c42){const _0x1e295c=_0x3f0a0d,_0x36bbd9=_0x352c42[_0x1e295c(0x10a)]();return _0x46897a(_0x36bbd9),_0x24233e[_0x1e295c(0x10c)][_0x1e295c(0x102)](this[_0x1e295c(0xfa)][_0x1e295c(0xfe)](_0x36bbd9)),_0x24233e[_0x1e295c(0x100)][_0x1e295c(0x102)](this[_0x1e295c(0xff)]),!0x0;}[_0x3f0a0d(0x105)](_0xdb0aec,_0x3e0a71){const _0x1ff781=_0x3f0a0d;_0x3e0a71[_0x1ff781(0x100)][_0x1ff781(0x10a)]();const _0x49ab4c=this[_0x1ff781(0xfa)][_0x1ff781(0x105)](_0x3e0a71[_0x1ff781(0x10c)][_0x1ff781(0x10a)]());_0x498f20(_0x49ab4c),_0x49ab4c[_0x1ff781(0x104)]=this[_0x1ff781(0xf9)],_0xdb0aec[_0x1ff781(0x102)](_0x49ab4c);}}function _0x4014(){const _0x3c3a3e=['_operationName','_protobufDescriptor','2581704vjgGuH','95KUWkCV','1595490ODmflA','compress','_id','types','1290864WgCDIt','push','292159twTzLe','__className','decompress','138ZvnrcK','7691znkMrh','120388NTZOlF','490263udjliD','shift','146BCjwSH','buffers'];_0x4014=function(){return _0x3c3a3e;};return _0x4014();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x269a(){const _0x23544c=['getDescriptor','1HkJIAn','30hWgTve','_protobufRoot','24OBAYRQ','finish','1647534dBIUxX','decompress','decode','create','encode','toObject','1376343teYAap','762124uKmWPJ','2720285LPpicm','verify','2061978qHBywg','819147NwEEoU','compress','4804921BDXiie','_protobuf','4NfGIUp'];_0x269a=function(){return _0x23544c;};return _0x269a();}const _0x180d6e=_0x7538;(function(_0x3f9e61,_0x53fb7a){const _0xe99058=_0x7538,_0xebec00=_0x3f9e61();while(!![]){try{const _0x57ace1=-parseInt(_0xe99058(0x188))/0x1*(-parseInt(_0xe99058(0x17e))/0x2)+parseInt(_0xe99058(0x182))/0x3*(-parseInt(_0xe99058(0x186))/0x4)+-parseInt(_0xe99058(0x17f))/0x5+-parseInt(_0xe99058(0x181))/0x6+parseInt(_0xe99058(0x18d))/0x7+-parseInt(_0xe99058(0x18b))/0x8*(parseInt(_0xe99058(0x17d))/0x9)+-parseInt(_0xe99058(0x189))/0xa*(-parseInt(_0xe99058(0x184))/0xb);if(_0x57ace1===_0x53fb7a)break;else _0xebec00['push'](_0xebec00['shift']());}catch(_0x17e540){_0xebec00['push'](_0xebec00['shift']());}}}(_0x269a,0x4b06b));function _0x7538(_0x14202c,_0x3abd3b){const _0x269a5e=_0x269a();return _0x7538=function(_0x7538de,_0x257e87){_0x7538de=_0x7538de-0x17a;let _0xc4368f=_0x269a5e[_0x7538de];return _0xc4368f;},_0x7538(_0x14202c,_0x3abd3b);}import{messages as _0x14a245}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x180d6e(0x18a)];constructor(){const _0x33d002=_0x180d6e;this[_0x33d002(0x18a)]=_0x14a245;}[_0x180d6e(0x187)](_0xa70b57){const _0xa2f899=_0x180d6e;return new ProtobufDescriptor(this[_0xa2f899(0x18a)][_0xa70b57]);}}export class ProtobufDescriptor{[_0x180d6e(0x185)];constructor(_0x4a576c){const _0x37d21b=_0x180d6e;this[_0x37d21b(0x185)]=_0x4a576c;}[_0x180d6e(0x183)](_0x3b4ba5){const _0x475e96=_0x180d6e,_0x564ed6=this[_0x475e96(0x185)][_0x475e96(0x180)](_0x3b4ba5);if(_0x564ed6)throw Error(_0x564ed6);return this[_0x475e96(0x185)][_0x475e96(0x17b)](this[_0x475e96(0x185)][_0x475e96(0x17a)](_0x3b4ba5))[_0x475e96(0x18c)]();}[_0x180d6e(0x18e)](_0x1bf69b){const _0x1f208b=_0x180d6e;return this[_0x1f208b(0x185)][_0x1f208b(0x17c)](this[_0x1f208b(0x185)][_0x1f208b(0x18f)](_0x1bf69b),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c0845,_0x4bb045){const _0x17173d=_0x5949,_0x24faef=_0x3c0845();while(!![]){try{const _0x909b8=parseInt(_0x17173d(0x11a))/0x1*(parseInt(_0x17173d(0x118))/0x2)+-parseInt(_0x17173d(0x119))/0x3*(-parseInt(_0x17173d(0x121))/0x4)+-parseInt(_0x17173d(0x115))/0x5*(parseInt(_0x17173d(0x11b))/0x6)+-parseInt(_0x17173d(0x125))/0x7*(parseInt(_0x17173d(0x124))/0x8)+parseInt(_0x17173d(0x114))/0x9*(parseInt(_0x17173d(0x120))/0xa)+parseInt(_0x17173d(0x113))/0xb*(parseInt(_0x17173d(0x11e))/0xc)+-parseInt(_0x17173d(0x112))/0xd*(parseInt(_0x17173d(0x127))/0xe);if(_0x909b8===_0x4bb045)break;else _0x24faef['push'](_0x24faef['shift']());}catch(_0x5d5221){_0x24faef['push'](_0x24faef['shift']());}}}(_0x4c86,0xa9619));function _0x4c86(){const _0x17b2c8=['nodes','rootMain','894tIVovj','898743QDmPHW','1929oEEMbv','42qqgDQE','length','root','24kJZxXS','rootGraveyard','18470ZPkLIE','12fWGLqG','path','$graveyard','258968BkeXQy','287nFDxtS','main','2590knZQYl','75751UQLMZk','5325342snrGLL','5094nUjONb','482615DtvRXU'];_0x4c86=function(){return _0x17b2c8;};return _0x4c86();}import{cloneDeep as _0x4d882,isEqual as _0x2c8821,isObject as _0x49d98f}from'es-toolkit/compat';export function getPositionShiftedBy(_0x23a790,_0x5e044d){const _0x26bf28=_0x5949,_0x25ac2d=_0x4d882(_0x23a790);return _0x25ac2d[_0x26bf28(0x122)][_0x25ac2d[_0x26bf28(0x122)][_0x26bf28(0x11c)]-0x1]+=_0x5e044d,_0x25ac2d;}export function arePositionsEqual(_0xd4e0b3,_0x2e4a84){const _0x496aa3=_0x5949;return _0xd4e0b3[_0x496aa3(0x11d)]===_0x2e4a84[_0x496aa3(0x11d)]&&_0x2c8821(_0xd4e0b3[_0x496aa3(0x122)],_0x2e4a84[_0x496aa3(0x122)]);}function _0x5949(_0x293fcb,_0x40c5d1){const _0x4c865f=_0x4c86();return _0x5949=function(_0x59493a,_0x43d4c7){_0x59493a=_0x59493a-0x112;let _0x194190=_0x4c865f[_0x59493a];return _0x194190;},_0x5949(_0x293fcb,_0x40c5d1);}export function parsePositionBeforeCompression(_0x2d9492){const _0x1ca3b2=_0x5949;P(_0x2d9492,_0x440952=>(_0x1ca3b2(0x126)==_0x440952[_0x1ca3b2(0x11d)]?(_0x440952[_0x1ca3b2(0x117)]=!0x0,delete _0x440952[_0x1ca3b2(0x11d)]):_0x1ca3b2(0x123)==_0x440952[_0x1ca3b2(0x11d)]&&(_0x440952[_0x1ca3b2(0x11f)]=!0x0,delete _0x440952[_0x1ca3b2(0x11d)]),_0x440952));}export function parsePositionAfterCompression(_0x22602a){const _0x1003bb=_0x5949;P(_0x22602a,_0x3ab0f9=>(_0x3ab0f9[_0x1003bb(0x117)]?(_0x3ab0f9[_0x1003bb(0x11d)]=_0x1003bb(0x126),delete _0x3ab0f9[_0x1003bb(0x117)]):_0x3ab0f9[_0x1003bb(0x11f)]&&(_0x3ab0f9[_0x1003bb(0x11d)]=_0x1003bb(0x123),delete _0x3ab0f9[_0x1003bb(0x11f)]),_0x3ab0f9));}function P(_0x501b32,_0x5dcc57){const _0x1f3b9c=_0x5949;for(const _0x5c3d18 in _0x501b32){const _0x5464ab=_0x501b32[_0x5c3d18];_0x1f3b9c(0x116)!==_0x5c3d18&&_0x49d98f(_0x5464ab)&&(_0x5464ab[_0x1f3b9c(0x122)]&&(_0x5464ab[_0x1f3b9c(0x11d)]||_0x5464ab[_0x1f3b9c(0x117)]||_0x5464ab[_0x1f3b9c(0x11f)])?_0x501b32[_0x5c3d18]=_0x5dcc57(_0x5464ab):P(_0x5464ab,_0x5dcc57));}return _0x501b32;}
|