@ckeditor/ckeditor5-operations-compressor 45.1.0-alpha.0 → 45.1.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
|
-
var
|
|
23
|
+
var _0x1ace7c=_0xced7;(function(_0x44e6ee,_0x4eee10){var _0x3b2184=_0xced7,_0x2ddd23=_0x44e6ee();while(!![]){try{var _0x2cbb97=-parseInt(_0x3b2184(0x9f))/0x1+parseInt(_0x3b2184(0xac))/0x2*(parseInt(_0x3b2184(0xa2))/0x3)+parseInt(_0x3b2184(0xa9))/0x4*(-parseInt(_0x3b2184(0xad))/0x5)+-parseInt(_0x3b2184(0xaa))/0x6*(parseInt(_0x3b2184(0x9e))/0x7)+parseInt(_0x3b2184(0xa1))/0x8+-parseInt(_0x3b2184(0xa7))/0x9*(-parseInt(_0x3b2184(0xa4))/0xa)+parseInt(_0x3b2184(0xa5))/0xb*(parseInt(_0x3b2184(0xa6))/0xc);if(_0x2cbb97===_0x4eee10)break;else _0x2ddd23['push'](_0x2ddd23['shift']());}catch(_0x60e6a3){_0x2ddd23['push'](_0x2ddd23['shift']());}}}(_0x592d,0xbb73f));function _0x592d(){var _0x3c99ae=['2965912nHenpF','99fTABJs','compress','11650mHEDOq','22782078kQTHde','12kpyGBN','11295vxxXGv','types','5238444sBufGX','6306kTDVWM','_operationName','746BtVWNf','5KKRgvO','push','_id','shift','3143CmQURd','1366904KDJiXh','decompress'];_0x592d=function(){return _0x3c99ae;};return _0x592d();}import _0x5f299a from'./operationcompressor.js';function _0xced7(_0x466084,_0x29f04b){var _0x592d5a=_0x592d();return _0xced7=function(_0xced73a,_0x462e28){_0xced73a=_0xced73a-0x9c;var _0x51d015=_0x592d5a[_0xced73a];return _0x51d015;},_0xced7(_0x466084,_0x29f04b);}export default class p extends _0x5f299a{[_0x1ace7c(0xa3)](_0x3990c1,_0x5c960e){var _0x479173=_0x1ace7c;return _0x5c960e[_0x479173(0x9d)](),_0x3990c1[_0x479173(0xa8)][_0x479173(0xae)](this[_0x479173(0x9c)]),!0x0;}[_0x1ace7c(0xa0)](_0x2ed571,_0x1dc5fa){var _0x2e231b=_0x1ace7c;_0x1dc5fa[_0x2e231b(0xa8)][_0x2e231b(0x9d)](),_0x2ed571[_0x2e231b(0xae)]({'__className':this[_0x2e231b(0xab)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x519f35=_0xc703;function _0xc703(_0x3ddc9f,_0x248b6b){const _0x283dfe=_0x283d();return _0xc703=function(_0xc703bb,_0x229ab3){_0xc703bb=_0xc703bb-0x16c;let _0xb66f05=_0x283dfe[_0xc703bb];return _0xb66f05;},_0xc703(_0x3ddc9f,_0x248b6b);}(function(_0x3d1dc8,_0x41575f){const _0x1fe29f=_0xc703,_0x2ebe81=_0x3d1dc8();while(!![]){try{const _0x8fa122=parseInt(_0x1fe29f(0x17d))/0x1+-parseInt(_0x1fe29f(0x16f))/0x2+parseInt(_0x1fe29f(0x170))/0x3*(parseInt(_0x1fe29f(0x174))/0x4)+-parseInt(_0x1fe29f(0x16d))/0x5*(parseInt(_0x1fe29f(0x173))/0x6)+-parseInt(_0x1fe29f(0x16c))/0x7*(-parseInt(_0x1fe29f(0x17b))/0x8)+parseInt(_0x1fe29f(0x17c))/0x9+-parseInt(_0x1fe29f(0x17a))/0xa;if(_0x8fa122===_0x41575f)break;else _0x2ebe81['push'](_0x2ebe81['shift']());}catch(_0xbfb2c9){_0x2ebe81['push'](_0x2ebe81['shift']());}}}(_0x283d,0x5c2d2));import{parsePositionBeforeCompression as _0x2c0704,parsePositionAfterCompression as _0x1b7729}from'../utils.js';export default class e{[_0x519f35(0x172)];[_0x519f35(0x175)];[_0x519f35(0x17e)];constructor(_0x1a1b40,_0x55b805,_0x377c62){const _0x5f4458=_0x519f35;this[_0x5f4458(0x172)]=_0x1a1b40,this[_0x5f4458(0x175)]=_0x55b805,this[_0x5f4458(0x17e)]=_0x377c62;}[_0x519f35(0x17f)](_0x969407,_0x3fa963){const _0x321250=_0x519f35,_0x3380d9=_0x3fa963[_0x321250(0x177)]();return _0x2c0704(_0x3380d9),_0x969407[_0x321250(0x179)][_0x321250(0x178)](this[_0x321250(0x17e)][_0x321250(0x17f)](_0x3380d9)),_0x969407[_0x321250(0x176)][_0x321250(0x178)](this[_0x321250(0x172)]),!0x0;}[_0x519f35(0x171)](_0xbf5081,_0x4ce395){const _0x5b84b5=_0x519f35;_0x4ce395[_0x5b84b5(0x176)][_0x5b84b5(0x177)]();const _0x555581=this[_0x5b84b5(0x17e)][_0x5b84b5(0x171)](_0x4ce395[_0x5b84b5(0x179)][_0x5b84b5(0x177)]());_0x1b7729(_0x555581),_0x555581[_0x5b84b5(0x16e)]=this[_0x5b84b5(0x175)],_0xbf5081[_0x5b84b5(0x178)](_0x555581);}}function _0x283d(){const _0x3b712c=['shift','push','buffers','3817750vpaAIG','5052744sedyVD','5684589oxoPNp','399441jvPSFA','_protobufDescriptor','compress','7SaIhKd','70360oiLeht','__className','483546OjpJID','24051YrJSqh','decompress','_id','306VCnqVq','28PtFdTK','_operationName','types'];_0x283d=function(){return _0x3b712c;};return _0x283d();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3c8070=_0x2c1d;(function(_0x1b4b7c,_0x1dc1f4){const _0x56ed76=_0x2c1d,_0x53fcae=_0x1b4b7c();while(!![]){try{const _0xc6b9dd=-parseInt(_0x56ed76(0x1d6))/0x1*(parseInt(_0x56ed76(0x1d9))/0x2)+parseInt(_0x56ed76(0x1e2))/0x3*(parseInt(_0x56ed76(0x1e3))/0x4)+parseInt(_0x56ed76(0x1db))/0x5+parseInt(_0x56ed76(0x1e9))/0x6+-parseInt(_0x56ed76(0x1d4))/0x7*(-parseInt(_0x56ed76(0x1de))/0x8)+-parseInt(_0x56ed76(0x1e5))/0x9*(-parseInt(_0x56ed76(0x1d8))/0xa)+parseInt(_0x56ed76(0x1d5))/0xb*(-parseInt(_0x56ed76(0x1da))/0xc);if(_0xc6b9dd===_0x1dc1f4)break;else _0x53fcae['push'](_0x53fcae['shift']());}catch(_0x38cd96){_0x53fcae['push'](_0x53fcae['shift']());}}}(_0x4b0e,0xe2d94));import{messages as _0x36a265}from'./lib/compiledmessages.js';function _0x4b0e(){const _0x28ede8=['7097988xYlpOq','1633785LxnOvD','getDescriptor','finish','14051224rczoBI','create','_protobufRoot','compress','18RCAkir','8264cdfhGn','verify','729GZsDvL','encode','decompress','decode','1410546VfuGrs','toObject','7qMIDKJ','33OSOied','11SHOfGq','_protobuf','167230FfdzYQ','178462szwMcO'];_0x4b0e=function(){return _0x28ede8;};return _0x4b0e();}export default class r{[_0x3c8070(0x1e0)];constructor(){const _0x2f077d=_0x3c8070;this[_0x2f077d(0x1e0)]=_0x36a265;}[_0x3c8070(0x1dc)](_0x3da231){const _0x155d68=_0x3c8070;return new ProtobufDescriptor(this[_0x155d68(0x1e0)][_0x3da231]);}}function _0x2c1d(_0x466fcb,_0x880e88){const _0x4b0e3f=_0x4b0e();return _0x2c1d=function(_0x2c1d83,_0x3ebdac){_0x2c1d83=_0x2c1d83-0x1d4;let _0x4ea3ba=_0x4b0e3f[_0x2c1d83];return _0x4ea3ba;},_0x2c1d(_0x466fcb,_0x880e88);}export class ProtobufDescriptor{[_0x3c8070(0x1d7)];constructor(_0xcb9709){const _0x2e0f95=_0x3c8070;this[_0x2e0f95(0x1d7)]=_0xcb9709;}[_0x3c8070(0x1e1)](_0x259a6a){const _0x17a393=_0x3c8070,_0x3d1010=this[_0x17a393(0x1d7)][_0x17a393(0x1e4)](_0x259a6a);if(_0x3d1010)throw Error(_0x3d1010);return this[_0x17a393(0x1d7)][_0x17a393(0x1e6)](this[_0x17a393(0x1d7)][_0x17a393(0x1df)](_0x259a6a))[_0x17a393(0x1dd)]();}[_0x3c8070(0x1e7)](_0x528df1){const _0x4efe41=_0x3c8070;return this[_0x4efe41(0x1d7)][_0x4efe41(0x1ea)](this[_0x4efe41(0x1d7)][_0x4efe41(0x1e8)](_0x528df1),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x471cb6,_0x4c58c5){const _0x31441f=_0x464c,_0x36bf6e=_0x471cb6();while(!![]){try{const _0x4166db=-parseInt(_0x31441f(0x10e))/0x1*(-parseInt(_0x31441f(0x114))/0x2)+-parseInt(_0x31441f(0x10f))/0x3+-parseInt(_0x31441f(0x115))/0x4*(-parseInt(_0x31441f(0x109))/0x5)+-parseInt(_0x31441f(0x110))/0x6+-parseInt(_0x31441f(0x10c))/0x7+parseInt(_0x31441f(0x10b))/0x8*(parseInt(_0x31441f(0x117))/0x9)+parseInt(_0x31441f(0x108))/0xa;if(_0x4166db===_0x4c58c5)break;else _0x36bf6e['push'](_0x36bf6e['shift']());}catch(_0x464c00){_0x36bf6e['push'](_0x36bf6e['shift']());}}}(_0x232a,0xc773d));import{cloneDeep as _0x420930,isEqual as _0xe6ea97,isObject as _0x16aa56}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1273d8,_0x252835){const _0x40c507=_0x464c,_0x2de850=_0x420930(_0x1273d8);return _0x2de850[_0x40c507(0x10a)][_0x2de850[_0x40c507(0x10a)][_0x40c507(0x113)]-0x1]+=_0x252835,_0x2de850;}export function arePositionsEqual(_0xa92985,_0xbf9373){const _0x17b6b3=_0x464c;return _0xa92985[_0x17b6b3(0x111)]===_0xbf9373[_0x17b6b3(0x111)]&&_0xe6ea97(_0xa92985[_0x17b6b3(0x10a)],_0xbf9373[_0x17b6b3(0x10a)]);}export function parsePositionBeforeCompression(_0x4126e7){const _0x1178dc=_0x464c;P(_0x4126e7,_0x5c0120=>(_0x1178dc(0x118)==_0x5c0120[_0x1178dc(0x111)]?(_0x5c0120[_0x1178dc(0x10d)]=!0x0,delete _0x5c0120[_0x1178dc(0x111)]):_0x1178dc(0x112)==_0x5c0120[_0x1178dc(0x111)]&&(_0x5c0120[_0x1178dc(0x119)]=!0x0,delete _0x5c0120[_0x1178dc(0x111)]),_0x5c0120));}export function parsePositionAfterCompression(_0x10d4c4){const _0x5b64de=_0x464c;P(_0x10d4c4,_0x4ea5ec=>(_0x4ea5ec[_0x5b64de(0x10d)]?(_0x4ea5ec[_0x5b64de(0x111)]=_0x5b64de(0x118),delete _0x4ea5ec[_0x5b64de(0x10d)]):_0x4ea5ec[_0x5b64de(0x119)]&&(_0x4ea5ec[_0x5b64de(0x111)]=_0x5b64de(0x112),delete _0x4ea5ec[_0x5b64de(0x119)]),_0x4ea5ec));}function _0x232a(){const _0x38c6a4=['$graveyard','length','2KQgHAO','77444oDCGqv','nodes','9tFMoQX','main','rootGraveyard','18559090JpDxAe','145NaArwy','path','802024ZUoEGy','1041369blfEks','rootMain','923711qUZQJZ','2651172RxGWqE','9551364csXsFe','root'];_0x232a=function(){return _0x38c6a4;};return _0x232a();}function _0x464c(_0x2b75d3,_0x430b71){const _0x232a2e=_0x232a();return _0x464c=function(_0x464cb5,_0x5f7a34){_0x464cb5=_0x464cb5-0x108;let _0x51e43c=_0x232a2e[_0x464cb5];return _0x51e43c;},_0x464c(_0x2b75d3,_0x430b71);}function P(_0x512c7e,_0x4a05e0){const _0x391676=_0x464c;for(const _0x2da11b in _0x512c7e){const _0x19d115=_0x512c7e[_0x2da11b];_0x391676(0x116)!==_0x2da11b&&_0x16aa56(_0x19d115)&&(_0x19d115[_0x391676(0x10a)]&&(_0x19d115[_0x391676(0x111)]||_0x19d115[_0x391676(0x10d)]||_0x19d115[_0x391676(0x119)])?_0x512c7e[_0x2da11b]=_0x4a05e0(_0x19d115):P(_0x19d115,_0x4a05e0));}return _0x512c7e;}
|