@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.0 → 47.0.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
|
-
function
|
|
23
|
+
var _0x2c2d93=_0x26ab;function _0x26ab(_0x5af962,_0x2831f7){var _0x2eaa1f=_0x2eaa();return _0x26ab=function(_0x26abdb,_0x1c8148){_0x26abdb=_0x26abdb-0xd1;var _0x266362=_0x2eaa1f[_0x26abdb];return _0x266362;},_0x26ab(_0x5af962,_0x2831f7);}(function(_0x3743bf,_0x2c6349){var _0xf25033=_0x26ab,_0x144256=_0x3743bf();while(!![]){try{var _0x2a289b=parseInt(_0xf25033(0xd6))/0x1*(parseInt(_0xf25033(0xd9))/0x2)+parseInt(_0xf25033(0xdd))/0x3*(parseInt(_0xf25033(0xd8))/0x4)+parseInt(_0xf25033(0xd7))/0x5+parseInt(_0xf25033(0xd4))/0x6+-parseInt(_0xf25033(0xe1))/0x7*(parseInt(_0xf25033(0xdb))/0x8)+parseInt(_0xf25033(0xdf))/0x9+-parseInt(_0xf25033(0xd5))/0xa;if(_0x2a289b===_0x2c6349)break;else _0x144256['push'](_0x144256['shift']());}catch(_0x4650ef){_0x144256['push'](_0x144256['shift']());}}}(_0x2eaa,0x27187));import{OperationCompressor as _0x10354f}from'./operationcompressor.js';export class NoOperationCompressor extends _0x10354f{[_0x2c2d93(0xe0)](_0x462fc0,_0x5ef7c9){var _0x88d6c1=_0x2c2d93;return _0x5ef7c9[_0x88d6c1(0xda)](),_0x462fc0[_0x88d6c1(0xd3)][_0x88d6c1(0xd2)](this[_0x88d6c1(0xdc)]),!0x0;}[_0x2c2d93(0xd1)](_0x30daee,_0x3ec0f0){var _0x569623=_0x2c2d93;_0x3ec0f0[_0x569623(0xd3)][_0x569623(0xda)](),_0x30daee[_0x569623(0xd2)]({'__className':this[_0x569623(0xde)]});}}function _0x2eaa(){var _0x4d1b16=['1089oEcJzU','_operationName','1157490OjQzbq','compress','895391gtDNLh','decompress','push','types','425370SNeZMq','2342850ztoajw','2zTqoZK','653495cewRno','1124VnIgxL','90126ZmCbWx','shift','8sHQLPx','_id'];_0x2eaa=function(){return _0x4d1b16;};return _0x2eaa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x346a(_0x213ca2,_0x90532a){const _0x7b8dc4=_0x7b8d();return _0x346a=function(_0x346a98,_0x19ab71){_0x346a98=_0x346a98-0x129;let _0x2f1362=_0x7b8dc4[_0x346a98];return _0x2f1362;},_0x346a(_0x213ca2,_0x90532a);}const _0x2e8bf3=_0x346a;function _0x7b8d(){const _0x3eb001=['231PreTeH','push','197714jsSGoU','398384sQElMx','buffers','_operationName','__className','decompress','types','_protobufDescriptor','_id','1013196BNPzrQ','compress','54RIywhZ','7373000OgnqQX','23448CKRVxf','286119qBItrx','shift','7308XkGHsW','1100UiZtsM','1566hqtMva'];_0x7b8d=function(){return _0x3eb001;};return _0x7b8d();}(function(_0x1ea026,_0x308b16){const _0x17351f=_0x346a,_0x24621d=_0x1ea026();while(!![]){try{const _0x1b9cd6=parseInt(_0x17351f(0x130))/0x1+parseInt(_0x17351f(0x12b))/0x2+parseInt(_0x17351f(0x135))/0x3*(parseInt(_0x17351f(0x12f))/0x4)+parseInt(_0x17351f(0x12e))/0x5+-parseInt(_0x17351f(0x134))/0x6*(parseInt(_0x17351f(0x132))/0x7)+parseInt(_0x17351f(0x138))/0x8*(parseInt(_0x17351f(0x12d))/0x9)+-parseInt(_0x17351f(0x133))/0xa*(parseInt(_0x17351f(0x137))/0xb);if(_0x1b9cd6===_0x308b16)break;else _0x24621d['push'](_0x24621d['shift']());}catch(_0xcf048){_0x24621d['push'](_0x24621d['shift']());}}}(_0x7b8d,0xbb76f));import{parsePositionBeforeCompression as _0x3a95c9,parsePositionAfterCompression as _0x29d554}from'../utils.js';export class OperationCompressor{[_0x2e8bf3(0x12a)];[_0x2e8bf3(0x13a)];[_0x2e8bf3(0x129)];constructor(_0x707e43,_0x4541f8,_0x5974a7){const _0x4d404f=_0x2e8bf3;this[_0x4d404f(0x12a)]=_0x707e43,this[_0x4d404f(0x13a)]=_0x4541f8,this[_0x4d404f(0x129)]=_0x5974a7;}[_0x2e8bf3(0x12c)](_0x17e438,_0x4d1876){const _0x7fa358=_0x2e8bf3,_0x307a73=_0x4d1876[_0x7fa358(0x131)]();return _0x3a95c9(_0x307a73),_0x17e438[_0x7fa358(0x139)][_0x7fa358(0x136)](this[_0x7fa358(0x129)][_0x7fa358(0x12c)](_0x307a73)),_0x17e438[_0x7fa358(0x13d)][_0x7fa358(0x136)](this[_0x7fa358(0x12a)]),!0x0;}[_0x2e8bf3(0x13c)](_0x2f0303,_0x543b06){const _0xc5743b=_0x2e8bf3;_0x543b06[_0xc5743b(0x13d)][_0xc5743b(0x131)]();const _0x37de08=this[_0xc5743b(0x129)][_0xc5743b(0x13c)](_0x543b06[_0xc5743b(0x139)][_0xc5743b(0x131)]());_0x29d554(_0x37de08),_0x37de08[_0xc5743b(0x13b)]=this[_0xc5743b(0x13a)],_0x2f0303[_0xc5743b(0x136)](_0x37de08);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2fe1(_0x36ef0d,_0x4df7f4){const _0x2f6e72=_0x2f6e();return _0x2fe1=function(_0x2fe17f,_0x33ec79){_0x2fe17f=_0x2fe17f-0x111;let _0x2c445c=_0x2f6e72[_0x2fe17f];return _0x2c445c;},_0x2fe1(_0x36ef0d,_0x4df7f4);}const _0x24f5b7=_0x2fe1;(function(_0x4395d2,_0x1c71cf){const _0xf333ab=_0x2fe1,_0x4ab0b0=_0x4395d2();while(!![]){try{const _0x596678=-parseInt(_0xf333ab(0x111))/0x1*(parseInt(_0xf333ab(0x125))/0x2)+-parseInt(_0xf333ab(0x116))/0x3*(-parseInt(_0xf333ab(0x119))/0x4)+parseInt(_0xf333ab(0x11b))/0x5*(parseInt(_0xf333ab(0x11a))/0x6)+-parseInt(_0xf333ab(0x11c))/0x7+parseInt(_0xf333ab(0x11f))/0x8+parseInt(_0xf333ab(0x117))/0x9+-parseInt(_0xf333ab(0x123))/0xa;if(_0x596678===_0x1c71cf)break;else _0x4ab0b0['push'](_0x4ab0b0['shift']());}catch(_0x17c9bf){_0x4ab0b0['push'](_0x4ab0b0['shift']());}}}(_0x2f6e,0x3560c));import{messages as _0x4c2c3d}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x24f5b7(0x113)];constructor(){const _0x3e0e5e=_0x24f5b7;this[_0x3e0e5e(0x113)]=_0x4c2c3d;}[_0x24f5b7(0x11d)](_0x4b301c){const _0x15bf2f=_0x24f5b7;return new ProtobufDescriptor(this[_0x15bf2f(0x113)][_0x4b301c]);}}export class ProtobufDescriptor{[_0x24f5b7(0x112)];constructor(_0x419dd4){const _0x5bb6b8=_0x24f5b7;this[_0x5bb6b8(0x112)]=_0x419dd4;}[_0x24f5b7(0x115)](_0x20387e){const _0x27f0a6=_0x24f5b7,_0x358ab6=this[_0x27f0a6(0x112)][_0x27f0a6(0x124)](_0x20387e);if(_0x358ab6)throw Error(_0x358ab6);return this[_0x27f0a6(0x112)][_0x27f0a6(0x118)](this[_0x27f0a6(0x112)][_0x27f0a6(0x114)](_0x20387e))[_0x27f0a6(0x11e)]();}[_0x24f5b7(0x120)](_0x5b83d0){const _0x57561f=_0x24f5b7;return this[_0x57561f(0x112)][_0x57561f(0x121)](this[_0x57561f(0x112)][_0x57561f(0x122)](_0x5b83d0),{'oneofs':!0x0});}}function _0x2f6e(){const _0x499eeb=['decode','3352910VLhonC','verify','95696QunkAe','5iQanxh','_protobuf','_protobufRoot','create','compress','3ZXycDU','1808199IYfYmw','encode','1688708ikGDYj','66DatlRn','154180zFwKJY','1871793kYgEmE','getDescriptor','finish','786256tTFPkb','decompress','toObject'];_0x2f6e=function(){return _0x499eeb;};return _0x2f6e();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f83a0,_0x802f7c){const _0x3c1733=_0x3c25,_0x20ce5f=_0x2f83a0();while(!![]){try{const _0x5e3fbc=-parseInt(_0x3c1733(0x134))/0x1*(-parseInt(_0x3c1733(0x123))/0x2)+parseInt(_0x3c1733(0x12d))/0x3*(-parseInt(_0x3c1733(0x135))/0x4)+-parseInt(_0x3c1733(0x130))/0x5*(parseInt(_0x3c1733(0x127))/0x6)+parseInt(_0x3c1733(0x132))/0x7+-parseInt(_0x3c1733(0x12a))/0x8*(parseInt(_0x3c1733(0x136))/0x9)+parseInt(_0x3c1733(0x12b))/0xa*(-parseInt(_0x3c1733(0x128))/0xb)+-parseInt(_0x3c1733(0x133))/0xc*(-parseInt(_0x3c1733(0x131))/0xd);if(_0x5e3fbc===_0x802f7c)break;else _0x20ce5f['push'](_0x20ce5f['shift']());}catch(_0x2b6b11){_0x20ce5f['push'](_0x20ce5f['shift']());}}}(_0x4e3b,0xa5bad));import{cloneDeep as _0x5dd6e1,isEqual as _0x2dc1d5,isObject as _0x3c4feb}from'es-toolkit/compat';function _0x3c25(_0x189e48,_0x2c3ac1){const _0x4e3bf3=_0x4e3b();return _0x3c25=function(_0x3c256e,_0x1db029){_0x3c256e=_0x3c256e-0x122;let _0x8d6499=_0x4e3bf3[_0x3c256e];return _0x8d6499;},_0x3c25(_0x189e48,_0x2c3ac1);}function _0x4e3b(){const _0x7cc06a=['33RfhlyM','root','8zvFhaz','2420970qvFkFk','length','22062rVWGGN','rootMain','nodes','355030jaSdGl','247nIAvkH','8725094yKRAMH','116952HzDsZj','833597ICbEmk','152AjTWJc','2030499LqrIkz','$graveyard','2FIGDwo','main','path','rootGraveyard','30pplysn'];_0x4e3b=function(){return _0x7cc06a;};return _0x4e3b();}export function getPositionShiftedBy(_0x59e00a,_0x2a3c7c){const _0x5290ba=_0x3c25,_0x53cc0a=_0x5dd6e1(_0x59e00a);return _0x53cc0a[_0x5290ba(0x125)][_0x53cc0a[_0x5290ba(0x125)][_0x5290ba(0x12c)]-0x1]+=_0x2a3c7c,_0x53cc0a;}export function arePositionsEqual(_0x4158e8,_0x1d9902){const _0x19f6a6=_0x3c25;return _0x4158e8[_0x19f6a6(0x129)]===_0x1d9902[_0x19f6a6(0x129)]&&_0x2dc1d5(_0x4158e8[_0x19f6a6(0x125)],_0x1d9902[_0x19f6a6(0x125)]);}export function parsePositionBeforeCompression(_0x49f0eb){const _0x11944e=_0x3c25;P(_0x49f0eb,_0x1c8bd9=>(_0x11944e(0x124)==_0x1c8bd9[_0x11944e(0x129)]?(_0x1c8bd9[_0x11944e(0x12e)]=!0x0,delete _0x1c8bd9[_0x11944e(0x129)]):_0x11944e(0x122)==_0x1c8bd9[_0x11944e(0x129)]&&(_0x1c8bd9[_0x11944e(0x126)]=!0x0,delete _0x1c8bd9[_0x11944e(0x129)]),_0x1c8bd9));}export function parsePositionAfterCompression(_0x551ba6){const _0x822093=_0x3c25;P(_0x551ba6,_0x239195=>(_0x239195[_0x822093(0x12e)]?(_0x239195[_0x822093(0x129)]=_0x822093(0x124),delete _0x239195[_0x822093(0x12e)]):_0x239195[_0x822093(0x126)]&&(_0x239195[_0x822093(0x129)]=_0x822093(0x122),delete _0x239195[_0x822093(0x126)]),_0x239195));}function P(_0x358d0c,_0x1e995f){const _0x1c72f1=_0x3c25;for(const _0x544089 in _0x358d0c){const _0x2fa862=_0x358d0c[_0x544089];_0x1c72f1(0x12f)!==_0x544089&&_0x3c4feb(_0x2fa862)&&(_0x2fa862[_0x1c72f1(0x125)]&&(_0x2fa862[_0x1c72f1(0x129)]||_0x2fa862[_0x1c72f1(0x12e)]||_0x2fa862[_0x1c72f1(0x126)])?_0x358d0c[_0x544089]=_0x1e995f(_0x2fa862):P(_0x2fa862,_0x1e995f));}return _0x358d0c;}
|