@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.3 → 43.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
|
-
var
|
|
23
|
+
var _0x4fd125=_0x2a40;function _0x263e(){var _0x2fb78b=['1585IFwLQn','_id','9kqGtmr','1TUnYVg','types','_operationName','452607ashzrE','2676Empkrh','85928QqPDLl','774966PquLoJ','compress','11SzCeoq','2365630RiKicC','147Bqmwtx','2061138kzuAqz','push','shift','decompress','2749668JzuHEG'];_0x263e=function(){return _0x2fb78b;};return _0x263e();}function _0x2a40(_0x3fe7af,_0x5e1e3a){var _0x263e3d=_0x263e();return _0x2a40=function(_0x2a404a,_0x4946ba){_0x2a404a=_0x2a404a-0x124;var _0x280878=_0x263e3d[_0x2a404a];return _0x280878;},_0x2a40(_0x3fe7af,_0x5e1e3a);}(function(_0x49ea20,_0x26b491){var _0x1af79d=_0x2a40,_0x389523=_0x49ea20();while(!![]){try{var _0x35148f=parseInt(_0x1af79d(0x130))/0x1*(parseInt(_0x1af79d(0x136))/0x2)+parseInt(_0x1af79d(0x133))/0x3+-parseInt(_0x1af79d(0x134))/0x4*(parseInt(_0x1af79d(0x12d))/0x5)+-parseInt(_0x1af79d(0x128))/0x6+-parseInt(_0x1af79d(0x127))/0x7*(-parseInt(_0x1af79d(0x135))/0x8)+-parseInt(_0x1af79d(0x12f))/0x9*(parseInt(_0x1af79d(0x126))/0xa)+-parseInt(_0x1af79d(0x125))/0xb*(-parseInt(_0x1af79d(0x12c))/0xc);if(_0x35148f===_0x26b491)break;else _0x389523['push'](_0x389523['shift']());}catch(_0x429652){_0x389523['push'](_0x389523['shift']());}}}(_0x263e,0x310bd));import _0x3878ca from'./operationcompressor.js';export default class p extends _0x3878ca{[_0x4fd125(0x124)](_0xfe2e8a,_0x26b3e1){var _0xde8e3e=_0x4fd125;return _0x26b3e1[_0xde8e3e(0x12a)](),_0xfe2e8a[_0xde8e3e(0x131)][_0xde8e3e(0x129)](this[_0xde8e3e(0x12e)]),!0x0;}[_0x4fd125(0x12b)](_0x2ea475,_0x3a58d0){var _0x1e9970=_0x4fd125;_0x3a58d0[_0x1e9970(0x131)][_0x1e9970(0x12a)](),_0x2ea475[_0x1e9970(0x129)]({'__className':this[_0x1e9970(0x132)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b1e7=_0x71e4;(function(_0x3183db,_0x53634b){const _0x1665ad=_0x71e4,_0x350a7c=_0x3183db();while(!![]){try{const _0x3cfa50=-parseInt(_0x1665ad(0x1b8))/0x1+-parseInt(_0x1665ad(0x1b4))/0x2*(-parseInt(_0x1665ad(0x1b9))/0x3)+parseInt(_0x1665ad(0x1c2))/0x4*(parseInt(_0x1665ad(0x1c1))/0x5)+-parseInt(_0x1665ad(0x1bc))/0x6+-parseInt(_0x1665ad(0x1b5))/0x7+-parseInt(_0x1665ad(0x1b6))/0x8+parseInt(_0x1665ad(0x1c3))/0x9;if(_0x3cfa50===_0x53634b)break;else _0x350a7c['push'](_0x350a7c['shift']());}catch(_0x98ad0a){_0x350a7c['push'](_0x350a7c['shift']());}}}(_0x204a,0xccf7d));import{parsePositionBeforeCompression as _0x33e8a0,parsePositionAfterCompression as _0x41a8bd}from'../utils.js';function _0x71e4(_0x103bf4,_0xc798e){const _0x204a40=_0x204a();return _0x71e4=function(_0x71e4ab,_0x4deb90){_0x71e4ab=_0x71e4ab-0x1b3;let _0x287133=_0x204a40[_0x71e4ab];return _0x287133;},_0x71e4(_0x103bf4,_0xc798e);}export default class e{constructor(_0x2ce39c,_0x159dbf,_0x2c17e2){const _0x4b8d37=_0x71e4;this[_0x4b8d37(0x1c0)]=_0x2ce39c,this[_0x4b8d37(0x1be)]=_0x159dbf,this[_0x4b8d37(0x1bb)]=_0x2c17e2;}[_0x12b1e7(0x1b7)](_0x4c84d8,_0x5dabbe){const _0xe3b6c5=_0x12b1e7,_0x310b6a=_0x5dabbe[_0xe3b6c5(0x1b3)]();return _0x33e8a0(_0x310b6a),_0x4c84d8[_0xe3b6c5(0x1ba)][_0xe3b6c5(0x1c5)](this[_0xe3b6c5(0x1bb)][_0xe3b6c5(0x1b7)](_0x310b6a)),_0x4c84d8[_0xe3b6c5(0x1c4)][_0xe3b6c5(0x1c5)](this[_0xe3b6c5(0x1c0)]),!0x0;}[_0x12b1e7(0x1bf)](_0x30141c,_0x3d18a3){const _0x15fe4c=_0x12b1e7;_0x3d18a3[_0x15fe4c(0x1c4)][_0x15fe4c(0x1b3)]();const _0x2cae4d=this[_0x15fe4c(0x1bb)][_0x15fe4c(0x1bf)](_0x3d18a3[_0x15fe4c(0x1ba)][_0x15fe4c(0x1b3)]());_0x41a8bd(_0x2cae4d),_0x2cae4d[_0x15fe4c(0x1bd)]=this[_0x15fe4c(0x1be)],_0x30141c[_0x15fe4c(0x1c5)](_0x2cae4d);}}function _0x204a(){const _0xa3222f=['2330348gFvnrC','28570383RnQfJJ','types','push','shift','350JgoQXQ','9724680kXYPVf','10460056lfCRVF','compress','858295WmZkLe','25986BjLZad','buffers','_protobufDescriptor','8765520uIyjaa','__className','_operationName','decompress','_id','10tUYbHg'];_0x204a=function(){return _0xa3222f;};return _0x204a();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x381462=_0x6b2b;(function(_0x11c3a4,_0x25fb75){const _0x411c8a=_0x6b2b,_0x4c32ed=_0x11c3a4();while(!![]){try{const _0x5b8c07=-parseInt(_0x411c8a(0x137))/0x1+-parseInt(_0x411c8a(0x136))/0x2*(-parseInt(_0x411c8a(0x138))/0x3)+parseInt(_0x411c8a(0x148))/0x4+-parseInt(_0x411c8a(0x140))/0x5+-parseInt(_0x411c8a(0x13d))/0x6+-parseInt(_0x411c8a(0x146))/0x7*(parseInt(_0x411c8a(0x135))/0x8)+parseInt(_0x411c8a(0x13a))/0x9*(parseInt(_0x411c8a(0x134))/0xa);if(_0x5b8c07===_0x25fb75)break;else _0x4c32ed['push'](_0x4c32ed['shift']());}catch(_0x468b21){_0x4c32ed['push'](_0x4c32ed['shift']());}}}(_0x5c70,0xa7e39));import{messages as _0x241822}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x3534ec=_0x6b2b;this[_0x3534ec(0x13c)]=_0x241822;}[_0x381462(0x13b)](_0x52a9e0){const _0x445cf4=_0x381462;return new ProtobufDescriptor(this[_0x445cf4(0x13c)][_0x52a9e0]);}}function _0x6b2b(_0x1b94ab,_0x32e952){const _0x5c709e=_0x5c70();return _0x6b2b=function(_0x6b2b10,_0x3d0376){_0x6b2b10=_0x6b2b10-0x134;let _0x39ea53=_0x5c709e[_0x6b2b10];return _0x39ea53;},_0x6b2b(_0x1b94ab,_0x32e952);}function _0x5c70(){const _0x3d9525=['decode','encode','1736740GNcgzE','create','finish','_protobuf','decompress','toObject','7qEjqzA','verify','31180pvcvmy','4095190zLwyhK','4625464CkZnHz','2FioBtB','13593RFXCrH','1080042NZGajU','compress','45WEaWsQ','getDescriptor','_protobufRoot','4731642njtJgt'];_0x5c70=function(){return _0x3d9525;};return _0x5c70();}export class ProtobufDescriptor{constructor(_0x5be493){const _0x233b68=_0x381462;this[_0x233b68(0x143)]=_0x5be493;}[_0x381462(0x139)](_0x1ff963){const _0x5b430d=_0x381462,_0x5179c0=this[_0x5b430d(0x143)][_0x5b430d(0x147)](_0x1ff963);if(_0x5179c0)throw Error(_0x5179c0);return this[_0x5b430d(0x143)][_0x5b430d(0x13f)](this[_0x5b430d(0x143)][_0x5b430d(0x141)](_0x1ff963))[_0x5b430d(0x142)]();}[_0x381462(0x144)](_0x2973dd){const _0x27da49=_0x381462;return this[_0x27da49(0x143)][_0x27da49(0x145)](this[_0x27da49(0x143)][_0x27da49(0x13e)](_0x2973dd),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5cd658,_0x446d55){const _0x3715e5=_0xfc54,_0x30e667=_0x5cd658();while(!![]){try{const _0x17b306=-parseInt(_0x3715e5(0x1a6))/0x1+parseInt(_0x3715e5(0x1b2))/0x2+-parseInt(_0x3715e5(0x1b0))/0x3*(-parseInt(_0x3715e5(0x1a4))/0x4)+parseInt(_0x3715e5(0x1a0))/0x5+-parseInt(_0x3715e5(0x1a9))/0x6*(-parseInt(_0x3715e5(0x1b1))/0x7)+parseInt(_0x3715e5(0x1a3))/0x8*(parseInt(_0x3715e5(0x1a7))/0x9)+parseInt(_0x3715e5(0x1a8))/0xa*(-parseInt(_0x3715e5(0x1ab))/0xb);if(_0x17b306===_0x446d55)break;else _0x30e667['push'](_0x30e667['shift']());}catch(_0x12a5d3){_0x30e667['push'](_0x30e667['shift']());}}}(_0x761e,0x5298a));import{cloneDeep as _0x5825e3,isEqual as _0x4fd1e7,isObject as _0x383d44}from'lodash-es';function _0x761e(){const _0x2f6b17=['root','270bQXIpd','51058mayBUo','479956sgZGSP','664685hGvJGm','length','nodes','3187736wNTZyk','19100OwesXc','rootMain','667531FXlIww','9WaWNLM','2536390lxlcGK','48RXCZBg','rootGraveyard','11WpOAxQ','main','$graveyard','path'];_0x761e=function(){return _0x2f6b17;};return _0x761e();}export function getPositionShiftedBy(_0x39c766,_0x3a706c){const _0x4e125=_0xfc54,_0x1bba98=_0x5825e3(_0x39c766);return _0x1bba98[_0x4e125(0x1ae)][_0x1bba98[_0x4e125(0x1ae)][_0x4e125(0x1a1)]-0x1]+=_0x3a706c,_0x1bba98;}export function arePositionsEqual(_0x1d97f8,_0x15da0d){const _0x3caa4d=_0xfc54;return _0x1d97f8[_0x3caa4d(0x1af)]===_0x15da0d[_0x3caa4d(0x1af)]&&_0x4fd1e7(_0x1d97f8[_0x3caa4d(0x1ae)],_0x15da0d[_0x3caa4d(0x1ae)]);}export function parsePositionBeforeCompression(_0x55d2a3){const _0x5e1329=_0xfc54;P(_0x55d2a3,_0x48b482=>(_0x5e1329(0x1ac)==_0x48b482[_0x5e1329(0x1af)]?(_0x48b482[_0x5e1329(0x1a5)]=!0x0,delete _0x48b482[_0x5e1329(0x1af)]):_0x5e1329(0x1ad)==_0x48b482[_0x5e1329(0x1af)]&&(_0x48b482[_0x5e1329(0x1aa)]=!0x0,delete _0x48b482[_0x5e1329(0x1af)]),_0x48b482));}function _0xfc54(_0x1ef153,_0x4050fe){const _0x761e86=_0x761e();return _0xfc54=function(_0xfc54f5,_0x4c6f74){_0xfc54f5=_0xfc54f5-0x1a0;let _0x415d3f=_0x761e86[_0xfc54f5];return _0x415d3f;},_0xfc54(_0x1ef153,_0x4050fe);}export function parsePositionAfterCompression(_0x19ed5e){const _0x816d09=_0xfc54;P(_0x19ed5e,_0x2a75f4=>(_0x2a75f4[_0x816d09(0x1a5)]?(_0x2a75f4[_0x816d09(0x1af)]=_0x816d09(0x1ac),delete _0x2a75f4[_0x816d09(0x1a5)]):_0x2a75f4[_0x816d09(0x1aa)]&&(_0x2a75f4[_0x816d09(0x1af)]=_0x816d09(0x1ad),delete _0x2a75f4[_0x816d09(0x1aa)]),_0x2a75f4));}function P(_0x1b101a,_0x295600){const _0x1ef800=_0xfc54;for(const _0x3f200a in _0x1b101a){const _0x5e483d=_0x1b101a[_0x3f200a];_0x1ef800(0x1a2)!==_0x3f200a&&_0x383d44(_0x5e483d)&&(_0x5e483d[_0x1ef800(0x1ae)]&&(_0x5e483d[_0x1ef800(0x1af)]||_0x5e483d[_0x1ef800(0x1a5)]||_0x5e483d[_0x1ef800(0x1aa)])?_0x1b101a[_0x3f200a]=_0x295600(_0x5e483d):P(_0x5e483d,_0x295600));}return _0x1b101a;}
|