@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.0 → 43.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
|
-
var
|
|
23
|
+
var _0x309293=_0x5d79;(function(_0x37b0da,_0x2ba223){var _0x3e6361=_0x5d79,_0x38bf91=_0x37b0da();while(!![]){try{var _0x4bcfc1=-parseInt(_0x3e6361(0x196))/0x1*(-parseInt(_0x3e6361(0x18f))/0x2)+parseInt(_0x3e6361(0x18e))/0x3+-parseInt(_0x3e6361(0x18d))/0x4+-parseInt(_0x3e6361(0x18c))/0x5*(-parseInt(_0x3e6361(0x197))/0x6)+-parseInt(_0x3e6361(0x199))/0x7*(-parseInt(_0x3e6361(0x194))/0x8)+-parseInt(_0x3e6361(0x192))/0x9+-parseInt(_0x3e6361(0x195))/0xa;if(_0x4bcfc1===_0x2ba223)break;else _0x38bf91['push'](_0x38bf91['shift']());}catch(_0x2abb5d){_0x38bf91['push'](_0x38bf91['shift']());}}}(_0x46c3,0x84025));import _0x4d79e1 from'./operationcompressor.js';function _0x5d79(_0x32ce1a,_0x25f5c5){var _0x46c3ce=_0x46c3();return _0x5d79=function(_0x5d79a2,_0x57f08e){_0x5d79a2=_0x5d79a2-0x18a;var _0x3d1f18=_0x46c3ce[_0x5d79a2];return _0x3d1f18;},_0x5d79(_0x32ce1a,_0x25f5c5);}function _0x46c3(){var _0x453ea7=['decompress','_operationName','3983103TwPpFc','types','232PHZzqq','3883540rfOCIA','10587SxhQFa','150rRoMUO','push','213871UTCAWP','shift','compress','_id','27955obcxFT','3511504fyjgqj','558504GAwOxx','196PEhaKY'];_0x46c3=function(){return _0x453ea7;};return _0x46c3();}export default class p extends _0x4d79e1{[_0x309293(0x18a)](_0x2b6ef9,_0x1bad1a){var _0x3d7ce7=_0x309293;return _0x1bad1a[_0x3d7ce7(0x19a)](),_0x2b6ef9[_0x3d7ce7(0x193)][_0x3d7ce7(0x198)](this[_0x3d7ce7(0x18b)]),!0x0;}[_0x309293(0x190)](_0x1f854d,_0x5f2614){var _0x1a6836=_0x309293;_0x5f2614[_0x1a6836(0x193)][_0x1a6836(0x19a)](),_0x1f854d[_0x1a6836(0x198)]({'__className':this[_0x1a6836(0x191)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c819f=_0x23ea;(function(_0x86134c,_0x5ef9ab){const _0x5e3898=_0x23ea,_0x11c31d=_0x86134c();while(!![]){try{const _0x5cb9c9=-parseInt(_0x5e3898(0x95))/0x1+-parseInt(_0x5e3898(0x87))/0x2*(parseInt(_0x5e3898(0x8b))/0x3)+-parseInt(_0x5e3898(0x99))/0x4*(parseInt(_0x5e3898(0x97))/0x5)+parseInt(_0x5e3898(0x88))/0x6*(-parseInt(_0x5e3898(0x86))/0x7)+-parseInt(_0x5e3898(0x8c))/0x8+parseInt(_0x5e3898(0x93))/0x9*(-parseInt(_0x5e3898(0x98))/0xa)+parseInt(_0x5e3898(0x91))/0xb;if(_0x5cb9c9===_0x5ef9ab)break;else _0x11c31d['push'](_0x11c31d['shift']());}catch(_0x242b07){_0x11c31d['push'](_0x11c31d['shift']());}}}(_0x3d81,0x54f81));import{parsePositionBeforeCompression as _0x400027,parsePositionAfterCompression as _0x132b2b}from'../utils.js';function _0x3d81(){const _0x1b720a=['decompress','__className','_protobufDescriptor','shift','24748119jyFlLg','buffers','439299YnFQbY','_id','637616BPYUMg','push','10mLJJzj','50JaTLEi','279164NBWNKW','types','7jhojyy','10mTwirq','3765210qgcONt','compress','_operationName','39570EspnMJ','1496464HRmjvO'];_0x3d81=function(){return _0x1b720a;};return _0x3d81();}function _0x23ea(_0x5a4718,_0x5b872a){const _0x3d8108=_0x3d81();return _0x23ea=function(_0x23eaf2,_0xaed7cd){_0x23eaf2=_0x23eaf2-0x85;let _0xa0fb4f=_0x3d8108[_0x23eaf2];return _0xa0fb4f;},_0x23ea(_0x5a4718,_0x5b872a);}export default class e{constructor(_0x2aec13,_0xf3f8f,_0x8c3fd7){const _0x229b98=_0x23ea;this[_0x229b98(0x94)]=_0x2aec13,this[_0x229b98(0x8a)]=_0xf3f8f,this[_0x229b98(0x8f)]=_0x8c3fd7;}[_0x3c819f(0x89)](_0xa9ee90,_0x3ad746){const _0x37222f=_0x3c819f,_0x200f77=_0x3ad746[_0x37222f(0x90)]();return _0x400027(_0x200f77),_0xa9ee90[_0x37222f(0x92)][_0x37222f(0x96)](this[_0x37222f(0x8f)][_0x37222f(0x89)](_0x200f77)),_0xa9ee90[_0x37222f(0x85)][_0x37222f(0x96)](this[_0x37222f(0x94)]),!0x0;}[_0x3c819f(0x8d)](_0x388ad1,_0x59d642){const _0x4439a4=_0x3c819f;_0x59d642[_0x4439a4(0x85)][_0x4439a4(0x90)]();const _0x58b1a5=this[_0x4439a4(0x8f)][_0x4439a4(0x8d)](_0x59d642[_0x4439a4(0x92)][_0x4439a4(0x90)]());_0x132b2b(_0x58b1a5),_0x58b1a5[_0x4439a4(0x8e)]=this[_0x4439a4(0x8a)],_0x388ad1[_0x4439a4(0x96)](_0x58b1a5);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1baa(){const _0x20f9b5=['verify','getDescriptor','225720EMUknI','decompress','finish','toObject','encode','736452WYLxLb','decode','_protobufRoot','826296szfnfU','2PzyUet','compress','688624VwreWZ','32261mGqTNI','726348khvLMj','90516wnOANu','_protobuf','create'];_0x1baa=function(){return _0x20f9b5;};return _0x1baa();}const _0x1d6ab9=_0x2242;function _0x2242(_0x137589,_0xf70017){const _0x1baa2f=_0x1baa();return _0x2242=function(_0x224234,_0x903cb0){_0x224234=_0x224234-0x65;let _0x553fcb=_0x1baa2f[_0x224234];return _0x553fcb;},_0x2242(_0x137589,_0xf70017);}(function(_0x16104a,_0x2e6dc4){const _0x31242f=_0x2242,_0x21549f=_0x16104a();while(!![]){try{const _0x4728b0=parseInt(_0x31242f(0x6b))/0x1+parseInt(_0x31242f(0x68))/0x2*(parseInt(_0x31242f(0x6d))/0x3)+parseInt(_0x31242f(0x77))/0x4+-parseInt(_0x31242f(0x72))/0x5+parseInt(_0x31242f(0x67))/0x6+-parseInt(_0x31242f(0x6c))/0x7+-parseInt(_0x31242f(0x6a))/0x8;if(_0x4728b0===_0x2e6dc4)break;else _0x21549f['push'](_0x21549f['shift']());}catch(_0x39bbd5){_0x21549f['push'](_0x21549f['shift']());}}}(_0x1baa,0x2471c));import{messages as _0x44875d}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x20ce31=_0x2242;this[_0x20ce31(0x66)]=_0x44875d;}[_0x1d6ab9(0x71)](_0x5bd61a){const _0x401944=_0x1d6ab9;return new ProtobufDescriptor(this[_0x401944(0x66)][_0x5bd61a]);}}export class ProtobufDescriptor{constructor(_0x1c1453){const _0x5adda6=_0x1d6ab9;this[_0x5adda6(0x6e)]=_0x1c1453;}[_0x1d6ab9(0x69)](_0x16896a){const _0x5acf2d=_0x1d6ab9,_0x24a087=this[_0x5acf2d(0x6e)][_0x5acf2d(0x70)](_0x16896a);if(_0x24a087)throw Error(_0x24a087);return this[_0x5acf2d(0x6e)][_0x5acf2d(0x76)](this[_0x5acf2d(0x6e)][_0x5acf2d(0x6f)](_0x16896a))[_0x5acf2d(0x74)]();}[_0x1d6ab9(0x73)](_0xfe92bc){const _0xc14ff7=_0x1d6ab9;return this[_0xc14ff7(0x6e)][_0xc14ff7(0x75)](this[_0xc14ff7(0x6e)][_0xc14ff7(0x65)](_0xfe92bc),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xee596e,_0x484f06){const _0xcaab06=_0x2a56,_0x2fc1e4=_0xee596e();while(!![]){try{const _0x5682ca=parseInt(_0xcaab06(0x1be))/0x1*(parseInt(_0xcaab06(0x1aa))/0x2)+-parseInt(_0xcaab06(0x1b9))/0x3+-parseInt(_0xcaab06(0x1ab))/0x4*(-parseInt(_0xcaab06(0x1af))/0x5)+parseInt(_0xcaab06(0x1b3))/0x6*(-parseInt(_0xcaab06(0x1b4))/0x7)+-parseInt(_0xcaab06(0x1b5))/0x8*(parseInt(_0xcaab06(0x1b1))/0x9)+-parseInt(_0xcaab06(0x1bd))/0xa*(-parseInt(_0xcaab06(0x1bc))/0xb)+-parseInt(_0xcaab06(0x1b6))/0xc*(-parseInt(_0xcaab06(0x1b8))/0xd);if(_0x5682ca===_0x484f06)break;else _0x2fc1e4['push'](_0x2fc1e4['shift']());}catch(_0x13437d){_0x2fc1e4['push'](_0x2fc1e4['shift']());}}}(_0x491f,0xabaef));function _0x491f(){const _0x3ce451=['1340uSmVMf','main','$graveyard','nodes','18805zLeCql','rootGraveyard','387VKKnlL','length','556302VaoWhX','7tGZlAR','181848Mltzvz','9450924BsWpDU','root','13gMlQRR','3473001THzBRk','rootMain','path','22253DvApJO','560hLKkXF','1608coIJCR','958FbvVFt'];_0x491f=function(){return _0x3ce451;};return _0x491f();}function _0x2a56(_0x251ca7,_0x57e181){const _0x491f66=_0x491f();return _0x2a56=function(_0x2a565b,_0x332e97){_0x2a565b=_0x2a565b-0x1aa;let _0x44f8a7=_0x491f66[_0x2a565b];return _0x44f8a7;},_0x2a56(_0x251ca7,_0x57e181);}import{cloneDeep as _0x34a6c3,isEqual as _0x4045ed,isObject as _0x1035e7}from'lodash-es';export function getPositionShiftedBy(_0x34e674,_0x181e14){const _0x549ac8=_0x2a56,_0x2ad1b7=_0x34a6c3(_0x34e674);return _0x2ad1b7[_0x549ac8(0x1bb)][_0x2ad1b7[_0x549ac8(0x1bb)][_0x549ac8(0x1b2)]-0x1]+=_0x181e14,_0x2ad1b7;}export function arePositionsEqual(_0x41d71f,_0x36675e){const _0x410331=_0x2a56;return _0x41d71f[_0x410331(0x1b7)]===_0x36675e[_0x410331(0x1b7)]&&_0x4045ed(_0x41d71f[_0x410331(0x1bb)],_0x36675e[_0x410331(0x1bb)]);}export function parsePositionBeforeCompression(_0x401f0d){const _0x516524=_0x2a56;P(_0x401f0d,_0x243780=>(_0x516524(0x1ac)==_0x243780[_0x516524(0x1b7)]?(_0x243780[_0x516524(0x1ba)]=!0x0,delete _0x243780[_0x516524(0x1b7)]):_0x516524(0x1ad)==_0x243780[_0x516524(0x1b7)]&&(_0x243780[_0x516524(0x1b0)]=!0x0,delete _0x243780[_0x516524(0x1b7)]),_0x243780));}export function parsePositionAfterCompression(_0x407dfc){const _0x11662f=_0x2a56;P(_0x407dfc,_0x2e6c6c=>(_0x2e6c6c[_0x11662f(0x1ba)]?(_0x2e6c6c[_0x11662f(0x1b7)]=_0x11662f(0x1ac),delete _0x2e6c6c[_0x11662f(0x1ba)]):_0x2e6c6c[_0x11662f(0x1b0)]&&(_0x2e6c6c[_0x11662f(0x1b7)]=_0x11662f(0x1ad),delete _0x2e6c6c[_0x11662f(0x1b0)]),_0x2e6c6c));}function P(_0x1264d0,_0x387732){const _0x4dc1c6=_0x2a56;for(const _0x377079 in _0x1264d0){const _0x2eb2e4=_0x1264d0[_0x377079];_0x4dc1c6(0x1ae)!==_0x377079&&_0x1035e7(_0x2eb2e4)&&(_0x2eb2e4[_0x4dc1c6(0x1bb)]&&(_0x2eb2e4[_0x4dc1c6(0x1b7)]||_0x2eb2e4[_0x4dc1c6(0x1ba)]||_0x2eb2e4[_0x4dc1c6(0x1b0)])?_0x1264d0[_0x377079]=_0x387732(_0x2eb2e4):P(_0x2eb2e4,_0x387732));}return _0x1264d0;}
|