@ckeditor/ckeditor5-operations-compressor 44.3.0-alpha.0 → 44.3.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
|
+
function _0xb50f(_0x51bb99,_0x4c83a7){var _0x1d266e=_0x1d26();return _0xb50f=function(_0xb50f14,_0x682fa3){_0xb50f14=_0xb50f14-0x1a1;var _0xe6c36e=_0x1d266e[_0xb50f14];return _0xe6c36e;},_0xb50f(_0x51bb99,_0x4c83a7);}var _0xc47236=_0xb50f;(function(_0x2ed064,_0x4739a9){var _0x2491c4=_0xb50f,_0x128ab9=_0x2ed064();while(!![]){try{var _0x48fe41=parseInt(_0x2491c4(0x1a8))/0x1+parseInt(_0x2491c4(0x1b0))/0x2+parseInt(_0x2491c4(0x1a5))/0x3*(-parseInt(_0x2491c4(0x1ac))/0x4)+-parseInt(_0x2491c4(0x1a6))/0x5*(parseInt(_0x2491c4(0x1af))/0x6)+-parseInt(_0x2491c4(0x1b1))/0x7+-parseInt(_0x2491c4(0x1ab))/0x8+parseInt(_0x2491c4(0x1ae))/0x9*(parseInt(_0x2491c4(0x1a3))/0xa);if(_0x48fe41===_0x4739a9)break;else _0x128ab9['push'](_0x128ab9['shift']());}catch(_0x51e0d7){_0x128ab9['push'](_0x128ab9['shift']());}}}(_0x1d26,0xcc804));import _0xfcacd6 from'./operationcompressor.js';function _0x1d26(){var _0x58dd98=['124446kwtFAv','366460UbLQSi','7085008xsvzbh','decompress','_operationName','20nRQMRO','shift','5136PqLtNC','10uSMNcT','types','39252nWpfkm','push','_id','22864fZNfHe','2092rJHlPm','compress','11551563OnXIVT'];_0x1d26=function(){return _0x58dd98;};return _0x1d26();}export default class p extends _0xfcacd6{[_0xc47236(0x1ad)](_0x2ed93e,_0x189c2e){var _0x4040ec=_0xc47236;return _0x189c2e[_0x4040ec(0x1a4)](),_0x2ed93e[_0x4040ec(0x1a7)][_0x4040ec(0x1a9)](this[_0x4040ec(0x1aa)]),!0x0;}[_0xc47236(0x1a1)](_0x4ba31d,_0x4bb233){var _0x3ad7a4=_0xc47236;_0x4bb233[_0x3ad7a4(0x1a7)][_0x3ad7a4(0x1a4)](),_0x4ba31d[_0x3ad7a4(0x1a9)]({'__className':this[_0x3ad7a4(0x1a2)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x163fcf=_0x476f;(function(_0x4abb84,_0x558da4){const _0x2109a9=_0x476f,_0x1b36c6=_0x4abb84();while(!![]){try{const _0x1217cd=parseInt(_0x2109a9(0xd7))/0x1+-parseInt(_0x2109a9(0xe1))/0x2+parseInt(_0x2109a9(0xe4))/0x3*(parseInt(_0x2109a9(0xde))/0x4)+-parseInt(_0x2109a9(0xda))/0x5*(parseInt(_0x2109a9(0xe3))/0x6)+-parseInt(_0x2109a9(0xd8))/0x7+parseInt(_0x2109a9(0xd5))/0x8*(-parseInt(_0x2109a9(0xd6))/0x9)+-parseInt(_0x2109a9(0xd1))/0xa*(-parseInt(_0x2109a9(0xd4))/0xb);if(_0x1217cd===_0x558da4)break;else _0x1b36c6['push'](_0x1b36c6['shift']());}catch(_0x87848f){_0x1b36c6['push'](_0x1b36c6['shift']());}}}(_0x3369,0xd2e0c));function _0x3369(){const _0x447df4=['buffers','5628648KspzGM','3qQJCrt','_protobufDescriptor','4152290fTqpKY','_operationName','__className','77zwtlTz','8UKskhF','326637jyXeDG','408636ibJGzD','6890289GupHbT','shift','5NsjIWy','_id','push','types','4035660QavJuj','compress','decompress','3003340AUQQGA'];_0x3369=function(){return _0x447df4;};return _0x3369();}import{parsePositionBeforeCompression as _0x88f5e2,parsePositionAfterCompression as _0x323131}from'../utils.js';function _0x476f(_0x33ec3e,_0x4801e4){const _0x336930=_0x3369();return _0x476f=function(_0x476f67,_0x2847a1){_0x476f67=_0x476f67-0xd0;let _0x57b652=_0x336930[_0x476f67];return _0x57b652;},_0x476f(_0x33ec3e,_0x4801e4);}export default class e{constructor(_0x7216a3,_0xd5aaca,_0xf4779d){const _0x48aafe=_0x476f;this[_0x48aafe(0xdb)]=_0x7216a3,this[_0x48aafe(0xd2)]=_0xd5aaca,this[_0x48aafe(0xd0)]=_0xf4779d;}[_0x163fcf(0xdf)](_0x156c49,_0x343135){const _0x5bc73b=_0x163fcf,_0x3840b5=_0x343135[_0x5bc73b(0xd9)]();return _0x88f5e2(_0x3840b5),_0x156c49[_0x5bc73b(0xe2)][_0x5bc73b(0xdc)](this[_0x5bc73b(0xd0)][_0x5bc73b(0xdf)](_0x3840b5)),_0x156c49[_0x5bc73b(0xdd)][_0x5bc73b(0xdc)](this[_0x5bc73b(0xdb)]),!0x0;}[_0x163fcf(0xe0)](_0x142f4b,_0x19a0bb){const _0x520330=_0x163fcf;_0x19a0bb[_0x520330(0xdd)][_0x520330(0xd9)]();const _0xac2ec6=this[_0x520330(0xd0)][_0x520330(0xe0)](_0x19a0bb[_0x520330(0xe2)][_0x520330(0xd9)]());_0x323131(_0xac2ec6),_0xac2ec6[_0x520330(0xd3)]=this[_0x520330(0xd2)],_0x142f4b[_0x520330(0xdc)](_0xac2ec6);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x326d3d=_0x48bb;(function(_0x57c3d8,_0x27a366){const _0x346ecf=_0x48bb,_0x523bce=_0x57c3d8();while(!![]){try{const _0x438da7=parseInt(_0x346ecf(0xbc))/0x1+-parseInt(_0x346ecf(0xc3))/0x2+parseInt(_0x346ecf(0xc0))/0x3+-parseInt(_0x346ecf(0xb2))/0x4+parseInt(_0x346ecf(0xb7))/0x5*(parseInt(_0x346ecf(0xbe))/0x6)+-parseInt(_0x346ecf(0xba))/0x7+parseInt(_0x346ecf(0xb0))/0x8*(parseInt(_0x346ecf(0xc2))/0x9);if(_0x438da7===_0x27a366)break;else _0x523bce['push'](_0x523bce['shift']());}catch(_0x1fe687){_0x523bce['push'](_0x523bce['shift']());}}}(_0x2663,0x6a04e));import{messages as _0x21eeba}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x54ab97=_0x48bb;this[_0x54ab97(0xc1)]=_0x21eeba;}[_0x326d3d(0xb5)](_0x50720c){const _0x344efa=_0x326d3d;return new ProtobufDescriptor(this[_0x344efa(0xc1)][_0x50720c]);}}function _0x48bb(_0x502e1d,_0x462e64){const _0x26634f=_0x2663();return _0x48bb=function(_0x48bb8c,_0x2f7242){_0x48bb8c=_0x48bb8c-0xb0;let _0x478025=_0x26634f[_0x48bb8c];return _0x478025;},_0x48bb(_0x502e1d,_0x462e64);}function _0x2663(){const _0x35bf46=['decode','2595664VDGsMM','verify','decompress','getDescriptor','toObject','2455BaTTKo','encode','finish','5372892aqBGZE','compress','787537TvLGmm','create','3570ZhZXof','_protobuf','1338411SLGfpT','_protobufRoot','383148SgASGs','797634tZqNkp','136FbjIsL'];_0x2663=function(){return _0x35bf46;};return _0x2663();}export class ProtobufDescriptor{constructor(_0xa66137){const _0x462255=_0x326d3d;this[_0x462255(0xbf)]=_0xa66137;}[_0x326d3d(0xbb)](_0x111633){const _0x506f8a=_0x326d3d,_0x922ac5=this[_0x506f8a(0xbf)][_0x506f8a(0xb3)](_0x111633);if(_0x922ac5)throw Error(_0x922ac5);return this[_0x506f8a(0xbf)][_0x506f8a(0xb8)](this[_0x506f8a(0xbf)][_0x506f8a(0xbd)](_0x111633))[_0x506f8a(0xb9)]();}[_0x326d3d(0xb4)](_0x187442){const _0x3719ba=_0x326d3d;return this[_0x3719ba(0xbf)][_0x3719ba(0xb6)](this[_0x3719ba(0xbf)][_0x3719ba(0xb1)](_0x187442),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54d10c,_0x22ccd){const _0x496448=_0x438e,_0x3ff68d=_0x54d10c();while(!![]){try{const _0x36a56e=parseInt(_0x496448(0x17e))/0x1*(-parseInt(_0x496448(0x16f))/0x2)+-parseInt(_0x496448(0x172))/0x3*(parseInt(_0x496448(0x16d))/0x4)+parseInt(_0x496448(0x17b))/0x5*(-parseInt(_0x496448(0x177))/0x6)+-parseInt(_0x496448(0x176))/0x7*(parseInt(_0x496448(0x173))/0x8)+parseInt(_0x496448(0x174))/0x9+parseInt(_0x496448(0x171))/0xa+parseInt(_0x496448(0x17a))/0xb;if(_0x36a56e===_0x22ccd)break;else _0x3ff68d['push'](_0x3ff68d['shift']());}catch(_0x529c48){_0x3ff68d['push'](_0x3ff68d['shift']());}}}(_0x499a,0x6d4c1));function _0x499a(){const _0x1ce888=['23141228vNcoJr','55RGWbcW','main','rootMain','3uUDAXU','root','72JjVBpO','path','301456cEmjCu','length','8519860PbmokE','114651pUxeAv','168312Bpzjyq','279207mhSxhH','$graveyard','259AhqeTs','338478KEbUpt','rootGraveyard','nodes'];_0x499a=function(){return _0x1ce888;};return _0x499a();}import{cloneDeep as _0x393f48,isEqual as _0x21346c,isObject as _0x2ed4b2}from'lodash-es';export function getPositionShiftedBy(_0x219271,_0xc3413e){const _0x4d623a=_0x438e,_0x5393b2=_0x393f48(_0x219271);return _0x5393b2[_0x4d623a(0x16e)][_0x5393b2[_0x4d623a(0x16e)][_0x4d623a(0x170)]-0x1]+=_0xc3413e,_0x5393b2;}export function arePositionsEqual(_0x3e294a,_0x212bcd){const _0x3c3675=_0x438e;return _0x3e294a[_0x3c3675(0x16c)]===_0x212bcd[_0x3c3675(0x16c)]&&_0x21346c(_0x3e294a[_0x3c3675(0x16e)],_0x212bcd[_0x3c3675(0x16e)]);}export function parsePositionBeforeCompression(_0x49f743){const _0x300c94=_0x438e;P(_0x49f743,_0x5bd903=>(_0x300c94(0x17c)==_0x5bd903[_0x300c94(0x16c)]?(_0x5bd903[_0x300c94(0x17d)]=!0x0,delete _0x5bd903[_0x300c94(0x16c)]):_0x300c94(0x175)==_0x5bd903[_0x300c94(0x16c)]&&(_0x5bd903[_0x300c94(0x178)]=!0x0,delete _0x5bd903[_0x300c94(0x16c)]),_0x5bd903));}export function parsePositionAfterCompression(_0x351744){const _0x3f3ead=_0x438e;P(_0x351744,_0x570c2f=>(_0x570c2f[_0x3f3ead(0x17d)]?(_0x570c2f[_0x3f3ead(0x16c)]=_0x3f3ead(0x17c),delete _0x570c2f[_0x3f3ead(0x17d)]):_0x570c2f[_0x3f3ead(0x178)]&&(_0x570c2f[_0x3f3ead(0x16c)]=_0x3f3ead(0x175),delete _0x570c2f[_0x3f3ead(0x178)]),_0x570c2f));}function _0x438e(_0x546c19,_0x5017fa){const _0x499a47=_0x499a();return _0x438e=function(_0x438e05,_0x1bfad6){_0x438e05=_0x438e05-0x16c;let _0x5a4a5f=_0x499a47[_0x438e05];return _0x5a4a5f;},_0x438e(_0x546c19,_0x5017fa);}function P(_0x23461e,_0x39c9aa){const _0x181671=_0x438e;for(const _0x45caef in _0x23461e){const _0x33e265=_0x23461e[_0x45caef];_0x181671(0x179)!==_0x45caef&&_0x2ed4b2(_0x33e265)&&(_0x33e265[_0x181671(0x16e)]&&(_0x33e265[_0x181671(0x16c)]||_0x33e265[_0x181671(0x17d)]||_0x33e265[_0x181671(0x178)])?_0x23461e[_0x45caef]=_0x39c9aa(_0x33e265):P(_0x33e265,_0x39c9aa));}return _0x23461e;}
|