@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.6 → 47.3.0-alpha.7
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
|
+
var _0x2adcb9=_0x4433;function _0x4433(_0x17f59a,_0x17111e){var _0xbcbaf3=_0xbcba();return _0x4433=function(_0x4433d7,_0x44dd9c){_0x4433d7=_0x4433d7-0x11f;var _0x59a3bb=_0xbcbaf3[_0x4433d7];return _0x59a3bb;},_0x4433(_0x17f59a,_0x17111e);}(function(_0x1d2c63,_0x524a9c){var _0x4ca1fd=_0x4433,_0x2113be=_0x1d2c63();while(!![]){try{var _0x3930a8=parseInt(_0x4ca1fd(0x121))/0x1*(-parseInt(_0x4ca1fd(0x12e))/0x2)+-parseInt(_0x4ca1fd(0x129))/0x3*(parseInt(_0x4ca1fd(0x123))/0x4)+parseInt(_0x4ca1fd(0x12c))/0x5+parseInt(_0x4ca1fd(0x126))/0x6*(-parseInt(_0x4ca1fd(0x128))/0x7)+parseInt(_0x4ca1fd(0x130))/0x8*(-parseInt(_0x4ca1fd(0x124))/0x9)+parseInt(_0x4ca1fd(0x12d))/0xa+parseInt(_0x4ca1fd(0x12f))/0xb;if(_0x3930a8===_0x524a9c)break;else _0x2113be['push'](_0x2113be['shift']());}catch(_0x16a604){_0x2113be['push'](_0x2113be['shift']());}}}(_0xbcba,0x9cb79));import{OperationCompressor as _0x40b709}from'./operationcompressor.js';export class NoOperationCompressor extends _0x40b709{[_0x2adcb9(0x120)](_0x1f8b3e,_0x3ef6ad){var _0x471e30=_0x2adcb9;return _0x3ef6ad[_0x471e30(0x125)](),_0x1f8b3e[_0x471e30(0x12b)][_0x471e30(0x122)](this[_0x471e30(0x11f)]),!0x0;}[_0x2adcb9(0x127)](_0x173e1f,_0xc0dc7c){var _0x3d6e5c=_0x2adcb9;_0xc0dc7c[_0x3d6e5c(0x12b)][_0x3d6e5c(0x125)](),_0x173e1f[_0x3d6e5c(0x122)]({'__className':this[_0x3d6e5c(0x12a)]});}}function _0xbcba(){var _0x9ad210=['2961JvkDky','21PPFMUD','_operationName','types','347255ZqjJsW','15460gyVsIJ','6PEDrSP','28007111FRuZDQ','1169104bsvijZ','_id','compress','206783NCpIdN','push','273244kLchoO','9rdJavS','shift','10362YZtfqM','decompress'];_0xbcba=function(){return _0x9ad210;};return _0xbcba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x364b(_0x26d8c2,_0x736978){const _0x5afe3b=_0x5afe();return _0x364b=function(_0x364b71,_0x3ff8a2){_0x364b71=_0x364b71-0x133;let _0x394562=_0x5afe3b[_0x364b71];return _0x394562;},_0x364b(_0x26d8c2,_0x736978);}const _0x14e381=_0x364b;(function(_0x1cd6ff,_0x5358b3){const _0x2c8520=_0x364b,_0x454709=_0x1cd6ff();while(!![]){try{const _0x1a2ba3=parseInt(_0x2c8520(0x141))/0x1+parseInt(_0x2c8520(0x13f))/0x2*(-parseInt(_0x2c8520(0x133))/0x3)+parseInt(_0x2c8520(0x142))/0x4*(-parseInt(_0x2c8520(0x144))/0x5)+parseInt(_0x2c8520(0x13a))/0x6+-parseInt(_0x2c8520(0x140))/0x7*(parseInt(_0x2c8520(0x13e))/0x8)+parseInt(_0x2c8520(0x13d))/0x9+parseInt(_0x2c8520(0x143))/0xa*(-parseInt(_0x2c8520(0x13c))/0xb);if(_0x1a2ba3===_0x5358b3)break;else _0x454709['push'](_0x454709['shift']());}catch(_0x4ffd19){_0x454709['push'](_0x454709['shift']());}}}(_0x5afe,0x5650d));import{parsePositionBeforeCompression as _0x17df6a,parsePositionAfterCompression as _0x56e80a}from'../utils.js';export class OperationCompressor{[_0x14e381(0x147)];[_0x14e381(0x134)];[_0x14e381(0x138)];constructor(_0x59f423,_0x1a5aa8,_0x36d943){const _0x3ebd9e=_0x14e381;this[_0x3ebd9e(0x147)]=_0x59f423,this[_0x3ebd9e(0x134)]=_0x1a5aa8,this[_0x3ebd9e(0x138)]=_0x36d943;}[_0x14e381(0x145)](_0x2688ce,_0x156b14){const _0x82456c=_0x14e381,_0x1c39a5=_0x156b14[_0x82456c(0x139)]();return _0x17df6a(_0x1c39a5),_0x2688ce[_0x82456c(0x13b)][_0x82456c(0x137)](this[_0x82456c(0x138)][_0x82456c(0x145)](_0x1c39a5)),_0x2688ce[_0x82456c(0x136)][_0x82456c(0x137)](this[_0x82456c(0x147)]),!0x0;}[_0x14e381(0x135)](_0x5892f5,_0x2e778f){const _0x36ef14=_0x14e381;_0x2e778f[_0x36ef14(0x136)][_0x36ef14(0x139)]();const _0x39a739=this[_0x36ef14(0x138)][_0x36ef14(0x135)](_0x2e778f[_0x36ef14(0x13b)][_0x36ef14(0x139)]());_0x56e80a(_0x39a739),_0x39a739[_0x36ef14(0x146)]=this[_0x36ef14(0x134)],_0x5892f5[_0x36ef14(0x137)](_0x39a739);}}function _0x5afe(){const _0x925535=['10KjkiGz','55KNCOOg','compress','__className','_id','69sKkBCG','_operationName','decompress','types','push','_protobufDescriptor','shift','2623560neAaTI','buffers','1098493PwqwKg','1293858mKZqXF','8WVxAVl','7538fMTxHR','1546090wyKCbe','266319hUOfFG','31408vVjfMZ'];_0x5afe=function(){return _0x925535;};return _0x5afe();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a2271=_0x51be;function _0x2092(){const _0x3cbe15=['encode','compress','finish','verify','4578910OTETbE','decompress','4678866MxenTt','decode','_protobuf','1164663AZacGY','18022712iawCmC','getDescriptor','3277594lWnxLQ','7008885IWgvwm','2392344HROgJV','toObject','_protobufRoot','6ArRAqC','create'];_0x2092=function(){return _0x3cbe15;};return _0x2092();}(function(_0x704364,_0x341eee){const _0x5cad26=_0x51be,_0x5960c4=_0x704364();while(!![]){try{const _0xa49675=-parseInt(_0x5cad26(0x9e))/0x1+-parseInt(_0x5cad26(0xa1))/0x2+parseInt(_0x5cad26(0x9b))/0x3+parseInt(_0x5cad26(0xa3))/0x4+-parseInt(_0x5cad26(0xa2))/0x5*(parseInt(_0x5cad26(0xa6))/0x6)+parseInt(_0x5cad26(0xac))/0x7+parseInt(_0x5cad26(0x9f))/0x8;if(_0xa49675===_0x341eee)break;else _0x5960c4['push'](_0x5960c4['shift']());}catch(_0xda1fcf){_0x5960c4['push'](_0x5960c4['shift']());}}}(_0x2092,0xd1d30));import{messages as _0x48ca88}from'./lib/compiledmessages.js';function _0x51be(_0x4f5033,_0x543c51){const _0x209234=_0x2092();return _0x51be=function(_0x51befc,_0x45ba93){_0x51befc=_0x51befc-0x9a;let _0x2d12ce=_0x209234[_0x51befc];return _0x2d12ce;},_0x51be(_0x4f5033,_0x543c51);}export class ProtobufFactory{[_0x3a2271(0xa5)];constructor(){const _0xcc350c=_0x3a2271;this[_0xcc350c(0xa5)]=_0x48ca88;}[_0x3a2271(0xa0)](_0x116dce){const _0x3f2d9c=_0x3a2271;return new ProtobufDescriptor(this[_0x3f2d9c(0xa5)][_0x116dce]);}}export class ProtobufDescriptor{[_0x3a2271(0x9d)];constructor(_0x2acca2){const _0xbd91e2=_0x3a2271;this[_0xbd91e2(0x9d)]=_0x2acca2;}[_0x3a2271(0xa9)](_0x37d923){const _0x168d1a=_0x3a2271,_0x183ef0=this[_0x168d1a(0x9d)][_0x168d1a(0xab)](_0x37d923);if(_0x183ef0)throw Error(_0x183ef0);return this[_0x168d1a(0x9d)][_0x168d1a(0xa8)](this[_0x168d1a(0x9d)][_0x168d1a(0xa7)](_0x37d923))[_0x168d1a(0xaa)]();}[_0x3a2271(0x9a)](_0x33d6ec){const _0x29582a=_0x3a2271;return this[_0x29582a(0x9d)][_0x29582a(0xa4)](this[_0x29582a(0x9d)][_0x29582a(0x9c)](_0x33d6ec),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1ea78a,_0x1d7f43){const _0xe9a29d=_0x2aff,_0x564b50=_0x1ea78a();while(!![]){try{const _0x3da27b=parseInt(_0xe9a29d(0x184))/0x1+parseInt(_0xe9a29d(0x188))/0x2+-parseInt(_0xe9a29d(0x185))/0x3+parseInt(_0xe9a29d(0x186))/0x4+parseInt(_0xe9a29d(0x191))/0x5+parseInt(_0xe9a29d(0x182))/0x6*(-parseInt(_0xe9a29d(0x18c))/0x7)+parseInt(_0xe9a29d(0x189))/0x8*(parseInt(_0xe9a29d(0x18f))/0x9);if(_0x3da27b===_0x1d7f43)break;else _0x564b50['push'](_0x564b50['shift']());}catch(_0x2cb5a4){_0x564b50['push'](_0x564b50['shift']());}}}(_0x593f,0x81725));import{cloneDeep as _0x1ba99a,isEqual as _0x4bb023,isObject as _0x12c583}from'es-toolkit/compat';function _0x593f(){const _0x529f4c=['$graveyard','302385fwOsuu','main','3798HjdEgS','path','888077bcPnAO','1718598pwloaz','1455144YNlEkg','rootMain','44164zMgMDE','8BTQJEM','root','nodes','4613tbfsNs','rootGraveyard','length','1672236uSzYlL'];_0x593f=function(){return _0x529f4c;};return _0x593f();}export function getPositionShiftedBy(_0x518c3a,_0x53961a){const _0x5980b6=_0x2aff,_0x5e62f4=_0x1ba99a(_0x518c3a);return _0x5e62f4[_0x5980b6(0x183)][_0x5e62f4[_0x5980b6(0x183)][_0x5980b6(0x18e)]-0x1]+=_0x53961a,_0x5e62f4;}function _0x2aff(_0x2d9916,_0x379ed5){const _0x593f8b=_0x593f();return _0x2aff=function(_0x2aff40,_0x32c085){_0x2aff40=_0x2aff40-0x182;let _0x85ac32=_0x593f8b[_0x2aff40];return _0x85ac32;},_0x2aff(_0x2d9916,_0x379ed5);}export function arePositionsEqual(_0x223dcd,_0x4c1b99){const _0x9cecf3=_0x2aff;return _0x223dcd[_0x9cecf3(0x18a)]===_0x4c1b99[_0x9cecf3(0x18a)]&&_0x4bb023(_0x223dcd[_0x9cecf3(0x183)],_0x4c1b99[_0x9cecf3(0x183)]);}export function parsePositionBeforeCompression(_0x13da94){const _0x227425=_0x2aff;P(_0x13da94,_0x541a4b=>(_0x227425(0x192)==_0x541a4b[_0x227425(0x18a)]?(_0x541a4b[_0x227425(0x187)]=!0x0,delete _0x541a4b[_0x227425(0x18a)]):_0x227425(0x190)==_0x541a4b[_0x227425(0x18a)]&&(_0x541a4b[_0x227425(0x18d)]=!0x0,delete _0x541a4b[_0x227425(0x18a)]),_0x541a4b));}export function parsePositionAfterCompression(_0x3e8f76){const _0x3ef12f=_0x2aff;P(_0x3e8f76,_0x13f4bb=>(_0x13f4bb[_0x3ef12f(0x187)]?(_0x13f4bb[_0x3ef12f(0x18a)]=_0x3ef12f(0x192),delete _0x13f4bb[_0x3ef12f(0x187)]):_0x13f4bb[_0x3ef12f(0x18d)]&&(_0x13f4bb[_0x3ef12f(0x18a)]=_0x3ef12f(0x190),delete _0x13f4bb[_0x3ef12f(0x18d)]),_0x13f4bb));}function P(_0x364e54,_0x415893){const _0x50e2be=_0x2aff;for(const _0x340034 in _0x364e54){const _0x191239=_0x364e54[_0x340034];_0x50e2be(0x18b)!==_0x340034&&_0x12c583(_0x191239)&&(_0x191239[_0x50e2be(0x183)]&&(_0x191239[_0x50e2be(0x18a)]||_0x191239[_0x50e2be(0x187)]||_0x191239[_0x50e2be(0x18d)])?_0x364e54[_0x340034]=_0x415893(_0x191239):P(_0x191239,_0x415893));}return _0x364e54;}
|