@ckeditor/ckeditor5-operations-compressor 47.2.0 → 47.3.0-alpha.1
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/LICENSE.md +7 -7
- 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 _0x254b90=_0x3c75;(function(_0x4f400b,_0x1be3a8){var _0x4779ec=_0x3c75,_0x4f1e7d=_0x4f400b();while(!![]){try{var _0x109525=-parseInt(_0x4779ec(0x1de))/0x1+parseInt(_0x4779ec(0x1d8))/0x2*(-parseInt(_0x4779ec(0x1da))/0x3)+-parseInt(_0x4779ec(0x1e0))/0x4*(parseInt(_0x4779ec(0x1e1))/0x5)+-parseInt(_0x4779ec(0x1e4))/0x6+parseInt(_0x4779ec(0x1e5))/0x7+-parseInt(_0x4779ec(0x1db))/0x8*(-parseInt(_0x4779ec(0x1e2))/0x9)+parseInt(_0x4779ec(0x1d9))/0xa*(parseInt(_0x4779ec(0x1d7))/0xb);if(_0x109525===_0x1be3a8)break;else _0x4f1e7d['push'](_0x4f1e7d['shift']());}catch(_0x50f518){_0x4f1e7d['push'](_0x4f1e7d['shift']());}}}(_0x208e,0x2d7ff));import{OperationCompressor as _0x11578b}from'./operationcompressor.js';function _0x208e(){var _0x4e0cdc=['shift','compress','173408Gywgqr','push','72HtbUtX','38945caOwzx','827451vcACNB','types','44664JBWchI','1279635PoaAmD','_operationName','_id','decompress','11VvamtO','72NjmQtj','509230WzmbdS','177dyyJyy','24acYgjz'];_0x208e=function(){return _0x4e0cdc;};return _0x208e();}function _0x3c75(_0x4e420b,_0x482804){var _0x208edd=_0x208e();return _0x3c75=function(_0x3c7547,_0x2fc39d){_0x3c7547=_0x3c7547-0x1d4;var _0x312ed5=_0x208edd[_0x3c7547];return _0x312ed5;},_0x3c75(_0x4e420b,_0x482804);}export class NoOperationCompressor extends _0x11578b{[_0x254b90(0x1dd)](_0x256bf2,_0x592f59){var _0x468914=_0x254b90;return _0x592f59[_0x468914(0x1dc)](),_0x256bf2[_0x468914(0x1e3)][_0x468914(0x1df)](this[_0x468914(0x1d5)]),!0x0;}[_0x254b90(0x1d6)](_0x441e41,_0x54fd00){var _0x51ac63=_0x254b90;_0x54fd00[_0x51ac63(0x1e3)][_0x51ac63(0x1dc)](),_0x441e41[_0x51ac63(0x1df)]({'__className':this[_0x51ac63(0x1d4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b9c78=_0x33c7;function _0x5263(){const _0x46f191=['__className','_protobufDescriptor','compress','buffers','40qXLrwu','decompress','6835653loKcCb','78803Jdpnjg','types','4ReJrov','594549Dxxauy','_id','10lBEwQY','push','761446djNyMS','1315719SGcAgZ','1101300eZRVuU','395710mELRUq','_operationName','shift','6qBGkjb'];_0x5263=function(){return _0x46f191;};return _0x5263();}function _0x33c7(_0x29af13,_0x1e4997){const _0x52638c=_0x5263();return _0x33c7=function(_0x33c73f,_0x1b90d8){_0x33c73f=_0x33c73f-0x124;let _0x48ed40=_0x52638c[_0x33c73f];return _0x48ed40;},_0x33c7(_0x29af13,_0x1e4997);}(function(_0x35d18a,_0x308c93){const _0x2b6710=_0x33c7,_0x2b5e7c=_0x35d18a();while(!![]){try{const _0x599697=-parseInt(_0x2b6710(0x134))/0x1*(parseInt(_0x2b6710(0x136))/0x2)+parseInt(_0x2b6710(0x127))/0x3+-parseInt(_0x2b6710(0x128))/0x4+parseInt(_0x2b6710(0x129))/0x5+-parseInt(_0x2b6710(0x12c))/0x6*(parseInt(_0x2b6710(0x126))/0x7)+-parseInt(_0x2b6710(0x131))/0x8*(parseInt(_0x2b6710(0x137))/0x9)+parseInt(_0x2b6710(0x124))/0xa*(parseInt(_0x2b6710(0x133))/0xb);if(_0x599697===_0x308c93)break;else _0x2b5e7c['push'](_0x2b5e7c['shift']());}catch(_0x411fe8){_0x2b5e7c['push'](_0x2b5e7c['shift']());}}}(_0x5263,0x41374));import{parsePositionBeforeCompression as _0x3229b7,parsePositionAfterCompression as _0x15817d}from'../utils.js';export class OperationCompressor{[_0x1b9c78(0x138)];[_0x1b9c78(0x12a)];[_0x1b9c78(0x12e)];constructor(_0xab2d85,_0x297da9,_0x5ea6bc){const _0xf815c0=_0x1b9c78;this[_0xf815c0(0x138)]=_0xab2d85,this[_0xf815c0(0x12a)]=_0x297da9,this[_0xf815c0(0x12e)]=_0x5ea6bc;}[_0x1b9c78(0x12f)](_0xe9ec2,_0x1fde4a){const _0x15c192=_0x1b9c78,_0x5a8510=_0x1fde4a[_0x15c192(0x12b)]();return _0x3229b7(_0x5a8510),_0xe9ec2[_0x15c192(0x130)][_0x15c192(0x125)](this[_0x15c192(0x12e)][_0x15c192(0x12f)](_0x5a8510)),_0xe9ec2[_0x15c192(0x135)][_0x15c192(0x125)](this[_0x15c192(0x138)]),!0x0;}[_0x1b9c78(0x132)](_0x516c13,_0x2d3535){const _0x146094=_0x1b9c78;_0x2d3535[_0x146094(0x135)][_0x146094(0x12b)]();const _0x377382=this[_0x146094(0x12e)][_0x146094(0x132)](_0x2d3535[_0x146094(0x130)][_0x146094(0x12b)]());_0x15817d(_0x377382),_0x377382[_0x146094(0x12d)]=this[_0x146094(0x12a)],_0x516c13[_0x146094(0x125)](_0x377382);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cfd11=_0x4ed0;(function(_0xd08c4b,_0x73bc3e){const _0x5a7ad9=_0x4ed0,_0x24fbf8=_0xd08c4b();while(!![]){try{const _0x262a0e=parseInt(_0x5a7ad9(0xd3))/0x1*(parseInt(_0x5a7ad9(0xdc))/0x2)+parseInt(_0x5a7ad9(0xd8))/0x3+-parseInt(_0x5a7ad9(0xdd))/0x4+parseInt(_0x5a7ad9(0xda))/0x5+-parseInt(_0x5a7ad9(0xdf))/0x6+-parseInt(_0x5a7ad9(0xd7))/0x7*(parseInt(_0x5a7ad9(0xe2))/0x8)+parseInt(_0x5a7ad9(0xd4))/0x9*(parseInt(_0x5a7ad9(0xde))/0xa);if(_0x262a0e===_0x73bc3e)break;else _0x24fbf8['push'](_0x24fbf8['shift']());}catch(_0x27f14b){_0x24fbf8['push'](_0x24fbf8['shift']());}}}(_0x55e7,0x20fe6));function _0x4ed0(_0x3c4018,_0x27fc1e){const _0x55e702=_0x55e7();return _0x4ed0=function(_0x4ed0bf,_0x272aa1){_0x4ed0bf=_0x4ed0bf-0xd2;let _0x3788fe=_0x55e702[_0x4ed0bf];return _0x3788fe;},_0x4ed0(_0x3c4018,_0x27fc1e);}function _0x55e7(){const _0x5cc45f=['verify','toObject','543PNQySM','93591PTXZeq','create','getDescriptor','7mVwRZm','49791QCaVRb','encode','680205TgvzvU','_protobufRoot','562oMCBwn','191744fvvhot','130MakIcl','1463118HYqVfr','finish','decode','107816tzboYp','_protobuf','decompress','compress'];_0x55e7=function(){return _0x5cc45f;};return _0x55e7();}import{messages as _0x1316cc}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4cfd11(0xdb)];constructor(){const _0x10f8db=_0x4cfd11;this[_0x10f8db(0xdb)]=_0x1316cc;}[_0x4cfd11(0xd6)](_0x5c52eb){const _0x1d61b0=_0x4cfd11;return new ProtobufDescriptor(this[_0x1d61b0(0xdb)][_0x5c52eb]);}}export class ProtobufDescriptor{[_0x4cfd11(0xe3)];constructor(_0x49256b){const _0x687429=_0x4cfd11;this[_0x687429(0xe3)]=_0x49256b;}[_0x4cfd11(0xe5)](_0x1037fd){const _0x33086e=_0x4cfd11,_0x41c113=this[_0x33086e(0xe3)][_0x33086e(0xe6)](_0x1037fd);if(_0x41c113)throw Error(_0x41c113);return this[_0x33086e(0xe3)][_0x33086e(0xd9)](this[_0x33086e(0xe3)][_0x33086e(0xd5)](_0x1037fd))[_0x33086e(0xe0)]();}[_0x4cfd11(0xe4)](_0x11ef0b){const _0x2d6df3=_0x4cfd11;return this[_0x2d6df3(0xe3)][_0x2d6df3(0xd2)](this[_0x2d6df3(0xe3)][_0x2d6df3(0xe1)](_0x11ef0b),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x23f300,_0x24483f){const _0x351695=_0x5beb,_0x1b938e=_0x23f300();while(!![]){try{const _0x317427=parseInt(_0x351695(0x173))/0x1*(-parseInt(_0x351695(0x16e))/0x2)+-parseInt(_0x351695(0x172))/0x3*(-parseInt(_0x351695(0x16a))/0x4)+-parseInt(_0x351695(0x16b))/0x5+parseInt(_0x351695(0x167))/0x6+-parseInt(_0x351695(0x169))/0x7+parseInt(_0x351695(0x171))/0x8*(-parseInt(_0x351695(0x164))/0x9)+-parseInt(_0x351695(0x16c))/0xa*(-parseInt(_0x351695(0x175))/0xb);if(_0x317427===_0x24483f)break;else _0x1b938e['push'](_0x1b938e['shift']());}catch(_0xe12829){_0x1b938e['push'](_0x1b938e['shift']());}}}(_0x53ed,0xc4ecc));import{cloneDeep as _0x150f5b,isEqual as _0x459dc0,isObject as _0x398a5c}from'es-toolkit/compat';function _0x53ed(){const _0x2610c7=['24NffidM','2007215SHleXz','10KQIKGl','path','310zdllSh','main','rootGraveyard','103352QGhRUo','564099OQgvtH','1949OOuSOs','nodes','30536099ZYLvLw','$graveyard','774uiBlrk','length','root','1270836HJhQHO','rootMain','10463859KFKVFw'];_0x53ed=function(){return _0x2610c7;};return _0x53ed();}export function getPositionShiftedBy(_0x1102e9,_0x2777de){const _0x41d427=_0x5beb,_0x4f8dea=_0x150f5b(_0x1102e9);return _0x4f8dea[_0x41d427(0x16d)][_0x4f8dea[_0x41d427(0x16d)][_0x41d427(0x165)]-0x1]+=_0x2777de,_0x4f8dea;}export function arePositionsEqual(_0xd68120,_0x3eadb8){const _0x2737b0=_0x5beb;return _0xd68120[_0x2737b0(0x166)]===_0x3eadb8[_0x2737b0(0x166)]&&_0x459dc0(_0xd68120[_0x2737b0(0x16d)],_0x3eadb8[_0x2737b0(0x16d)]);}function _0x5beb(_0x49bfca,_0x4e3d6a){const _0x53ed05=_0x53ed();return _0x5beb=function(_0x5bebd9,_0xa58412){_0x5bebd9=_0x5bebd9-0x163;let _0x1f5125=_0x53ed05[_0x5bebd9];return _0x1f5125;},_0x5beb(_0x49bfca,_0x4e3d6a);}export function parsePositionBeforeCompression(_0x3321af){const _0x35c748=_0x5beb;P(_0x3321af,_0x5ceec4=>(_0x35c748(0x16f)==_0x5ceec4[_0x35c748(0x166)]?(_0x5ceec4[_0x35c748(0x168)]=!0x0,delete _0x5ceec4[_0x35c748(0x166)]):_0x35c748(0x163)==_0x5ceec4[_0x35c748(0x166)]&&(_0x5ceec4[_0x35c748(0x170)]=!0x0,delete _0x5ceec4[_0x35c748(0x166)]),_0x5ceec4));}export function parsePositionAfterCompression(_0x493c10){const _0x5c06d4=_0x5beb;P(_0x493c10,_0x31946c=>(_0x31946c[_0x5c06d4(0x168)]?(_0x31946c[_0x5c06d4(0x166)]=_0x5c06d4(0x16f),delete _0x31946c[_0x5c06d4(0x168)]):_0x31946c[_0x5c06d4(0x170)]&&(_0x31946c[_0x5c06d4(0x166)]=_0x5c06d4(0x163),delete _0x31946c[_0x5c06d4(0x170)]),_0x31946c));}function P(_0x52098d,_0x40e3e7){const _0x116c2e=_0x5beb;for(const _0xb21629 in _0x52098d){const _0x5cc1a4=_0x52098d[_0xb21629];_0x116c2e(0x174)!==_0xb21629&&_0x398a5c(_0x5cc1a4)&&(_0x5cc1a4[_0x116c2e(0x16d)]&&(_0x5cc1a4[_0x116c2e(0x166)]||_0x5cc1a4[_0x116c2e(0x168)]||_0x5cc1a4[_0x116c2e(0x170)])?_0x52098d[_0xb21629]=_0x40e3e7(_0x5cc1a4):P(_0x5cc1a4,_0x40e3e7));}return _0x52098d;}
|