@ckeditor/ckeditor5-operations-compressor 47.5.0-alpha.7 → 47.5.0
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/errors.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 _0x3d2b13=_0x1e5f;(function(_0x13967d,_0x4c58f7){var _0x404b8d=_0x1e5f,_0x16e967=_0x13967d();while(!![]){try{var _0x5b22e0=parseInt(_0x404b8d(0x119))/0x1*(-parseInt(_0x404b8d(0x117))/0x2)+-parseInt(_0x404b8d(0x11f))/0x3+parseInt(_0x404b8d(0x116))/0x4*(-parseInt(_0x404b8d(0x11a))/0x5)+-parseInt(_0x404b8d(0x128))/0x6+-parseInt(_0x404b8d(0x124))/0x7+parseInt(_0x404b8d(0x120))/0x8*(parseInt(_0x404b8d(0x123))/0x9)+-parseInt(_0x404b8d(0x11b))/0xa*(-parseInt(_0x404b8d(0x126))/0xb);if(_0x5b22e0===_0x4c58f7)break;else _0x16e967['push'](_0x16e967['shift']());}catch(_0x30a72c){_0x16e967['push'](_0x16e967['shift']());}}}(_0x3004,0xe64ba));function _0x1e5f(_0x34ef8b,_0x578b43){var _0x30042d=_0x3004();return _0x1e5f=function(_0x1e5f01,_0x2abdd5){_0x1e5f01=_0x1e5f01-0x116;var _0x240a34=_0x30042d[_0x1e5f01];return _0x240a34;},_0x1e5f(_0x34ef8b,_0x578b43);}import{OperationCompressor as _0x27da51}from'./operationcompressor.js';export class NoOperationCompressor extends _0x27da51{[_0x3d2b13(0x127)](_0x570560,_0x2ca938){var _0x5da5a8=_0x3d2b13;return _0x2ca938[_0x5da5a8(0x11c)]++,_0x570560[_0x5da5a8(0x11d)][_0x5da5a8(0x11e)](this[_0x5da5a8(0x122)]),!0x0;}[_0x3d2b13(0x121)](_0x6ebce6,_0x26fe55){var _0x5ed5e6=_0x3d2b13;_0x26fe55[_0x5ed5e6(0x118)]++,_0x6ebce6[_0x5ed5e6(0x11e)]({'__className':this[_0x5ed5e6(0x125)]});}}function _0x3004(){var _0x2042d0=['156kXAWVH','1478Ksrssu','typeIndex','1372FLBewT','196285fOIPlx','610TNanmR','index','types','push','3109905HPmdxI','130904DRiYyx','decompress','_id','198EIVVgA','1115436SwJbPx','_operationName','837793MBfjAz','compress','1930350LDSIie'];_0x3004=function(){return _0x2042d0;};return _0x3004();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4669(_0x4afea7,_0x2faa52){const _0x1fd260=_0x1fd2();return _0x4669=function(_0x466965,_0x28d5fc){_0x466965=_0x466965-0x120;let _0x396266=_0x1fd260[_0x466965];return _0x396266;},_0x4669(_0x4afea7,_0x2faa52);}const _0x14cb16=_0x4669;function _0x1fd2(){const _0x5d6803=['1105690pGJIIE','compress','43263VWIDyt','24325245WgqQau','decompress','_id','push','_protobufDescriptor','333392oRWAmA','119VMjOcl','buffers','bufferIndex','2DOoAew','operations','__className','7978122QQJLyu','274808UGJBPq','6460830lUFSJg','types','index','_operationName','typeIndex'];_0x1fd2=function(){return _0x5d6803;};return _0x1fd2();}(function(_0x2abed1,_0x8b1f89){const _0x1df2f0=_0x4669,_0x1901ec=_0x2abed1();while(!![]){try{const _0x4bcb2d=parseInt(_0x1df2f0(0x132))/0x1+parseInt(_0x1df2f0(0x128))/0x2*(parseInt(_0x1df2f0(0x134))/0x3)+parseInt(_0x1df2f0(0x124))/0x4+-parseInt(_0x1df2f0(0x12d))/0x5+-parseInt(_0x1df2f0(0x12b))/0x6+parseInt(_0x1df2f0(0x125))/0x7*(-parseInt(_0x1df2f0(0x12c))/0x8)+parseInt(_0x1df2f0(0x135))/0x9;if(_0x4bcb2d===_0x8b1f89)break;else _0x1901ec['push'](_0x1901ec['shift']());}catch(_0x45a62a){_0x1901ec['push'](_0x1901ec['shift']());}}}(_0x1fd2,0xab01c));import{parsePositionBeforeCompression as _0xdf2afe,parsePositionAfterCompression as _0x5a4abd}from'../utils.js';export class OperationCompressor{[_0x14cb16(0x121)];[_0x14cb16(0x130)];[_0x14cb16(0x123)];constructor(_0x585ae0,_0x21ee25,_0x2f3fd7){const _0x44d432=_0x14cb16;this[_0x44d432(0x121)]=_0x585ae0,this[_0x44d432(0x130)]=_0x21ee25,this[_0x44d432(0x123)]=_0x2f3fd7;}[_0x14cb16(0x133)](_0x4b2fb0,_0x54867f){const _0x7448e9=_0x14cb16,_0x54087a=_0x54867f[_0x7448e9(0x129)][_0x54867f[_0x7448e9(0x12f)]++];return _0xdf2afe(_0x54087a),_0x4b2fb0[_0x7448e9(0x126)][_0x7448e9(0x122)](this[_0x7448e9(0x123)][_0x7448e9(0x133)](_0x54087a)),_0x4b2fb0[_0x7448e9(0x12e)][_0x7448e9(0x122)](this[_0x7448e9(0x121)]),!0x0;}[_0x14cb16(0x120)](_0x161746,_0x17b759){const _0x51e9c5=_0x14cb16;_0x17b759[_0x51e9c5(0x131)]++;const _0x325318=_0x17b759[_0x51e9c5(0x126)][_0x17b759[_0x51e9c5(0x127)]++],_0x13b091=this[_0x51e9c5(0x123)][_0x51e9c5(0x120)](_0x325318);_0x5a4abd(_0x13b091),_0x13b091[_0x51e9c5(0x12a)]=this[_0x51e9c5(0x130)],_0x161746[_0x51e9c5(0x122)](_0x13b091);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5644b9=_0x5d7a;(function(_0x389e82,_0x501684){const _0x29773b=_0x5d7a,_0xb81417=_0x389e82();while(!![]){try{const _0x2d725a=parseInt(_0x29773b(0x17a))/0x1*(parseInt(_0x29773b(0x17f))/0x2)+-parseInt(_0x29773b(0x185))/0x3+-parseInt(_0x29773b(0x173))/0x4+parseInt(_0x29773b(0x174))/0x5+-parseInt(_0x29773b(0x181))/0x6+parseInt(_0x29773b(0x184))/0x7*(-parseInt(_0x29773b(0x17c))/0x8)+-parseInt(_0x29773b(0x17d))/0x9*(-parseInt(_0x29773b(0x187))/0xa);if(_0x2d725a===_0x501684)break;else _0xb81417['push'](_0xb81417['shift']());}catch(_0x248f23){_0xb81417['push'](_0xb81417['shift']());}}}(_0x5e0c,0x55c4c));function _0x5d7a(_0xbb9e62,_0xec5482){const _0x5e0cdc=_0x5e0c();return _0x5d7a=function(_0x5d7ad2,_0xbfda2){_0x5d7ad2=_0x5d7ad2-0x173;let _0x23bca1=_0x5e0cdc[_0x5d7ad2];return _0x23bca1;},_0x5d7a(_0xbb9e62,_0xec5482);}import{messages as _0x34b453}from'./lib/compiledmessages.js';function _0x5e0c(){const _0x1bf4dc=['1790112bKUlhl','decompress','12696920DLLDhH','1458448orfxKe','2118235FyOHym','_protobufRoot','finish','compress','toObject','_protobuf','1qkxUJZ','create','632EPlxBf','9Wvjtfu','verify','283706pdaQtg','decode','754506exXkFd','encode','getDescriptor','35161NRDzbE'];_0x5e0c=function(){return _0x1bf4dc;};return _0x5e0c();}export class ProtobufFactory{[_0x5644b9(0x175)];constructor(){const _0x56a193=_0x5644b9;this[_0x56a193(0x175)]=_0x34b453;}[_0x5644b9(0x183)](_0x1e2a37){const _0x296182=_0x5644b9;return new ProtobufDescriptor(this[_0x296182(0x175)][_0x1e2a37]);}}export class ProtobufDescriptor{[_0x5644b9(0x179)];constructor(_0x5538e3){const _0x40351c=_0x5644b9;this[_0x40351c(0x179)]=_0x5538e3;}[_0x5644b9(0x177)](_0x41a85d){const _0x44a1b7=_0x5644b9,_0x2284a3=this[_0x44a1b7(0x179)][_0x44a1b7(0x17e)](_0x41a85d);if(_0x2284a3)throw Error(_0x2284a3);return this[_0x44a1b7(0x179)][_0x44a1b7(0x182)](this[_0x44a1b7(0x179)][_0x44a1b7(0x17b)](_0x41a85d))[_0x44a1b7(0x176)]();}[_0x5644b9(0x186)](_0x3b0672){const _0x138b0e=_0x5644b9;return this[_0x138b0e(0x179)][_0x138b0e(0x178)](this[_0x138b0e(0x179)][_0x138b0e(0x180)](_0x3b0672),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x608429,_0x1b4cc0){const _0x206e55=_0x392c,_0x397c44=_0x608429();while(!![]){try{const _0x2f15be=-parseInt(_0x206e55(0x111))/0x1*(parseInt(_0x206e55(0x121))/0x2)+-parseInt(_0x206e55(0x11b))/0x3*(-parseInt(_0x206e55(0x11f))/0x4)+parseInt(_0x206e55(0x112))/0x5*(-parseInt(_0x206e55(0x114))/0x6)+-parseInt(_0x206e55(0x11a))/0x7*(-parseInt(_0x206e55(0x119))/0x8)+parseInt(_0x206e55(0x120))/0x9+parseInt(_0x206e55(0x122))/0xa*(parseInt(_0x206e55(0x113))/0xb)+-parseInt(_0x206e55(0x118))/0xc;if(_0x2f15be===_0x1b4cc0)break;else _0x397c44['push'](_0x397c44['shift']());}catch(_0x3ff35d){_0x397c44['push'](_0x397c44['shift']());}}}(_0x1832,0x85e26));function _0x1832(){const _0xc92000=['994234ddFNWp','85070TGUIOr','rootGraveyard','path','1TbnzMN','5ngZRPg','671tHGOab','2200098PbnQkk','rootMain','length','root','19359324HgMOgA','40SYEiLn','850437xRVpnE','1656Tcuqtk','nodes','$graveyard','main','7888gIiEJW','7294869OTzFsY'];_0x1832=function(){return _0xc92000;};return _0x1832();}import{cloneDeep as _0x4b8df8,isEqual as _0x445be8,isObject as _0x5dc8c7}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1bc05f,_0x103463){const _0x20eef2=_0x392c,_0x2e6933=_0x4b8df8(_0x1bc05f);return _0x2e6933[_0x20eef2(0x110)][_0x2e6933[_0x20eef2(0x110)][_0x20eef2(0x116)]-0x1]+=_0x103463,_0x2e6933;}export function arePositionsEqual(_0x1e624c,_0x40421b){const _0x4ed943=_0x392c;return _0x1e624c[_0x4ed943(0x117)]===_0x40421b[_0x4ed943(0x117)]&&_0x445be8(_0x1e624c[_0x4ed943(0x110)],_0x40421b[_0x4ed943(0x110)]);}export function parsePositionBeforeCompression(_0x295608){const _0x3505b9=_0x392c;P(_0x295608,_0x538a16=>(_0x3505b9(0x11e)==_0x538a16[_0x3505b9(0x117)]?(_0x538a16[_0x3505b9(0x115)]=!0x0,delete _0x538a16[_0x3505b9(0x117)]):_0x3505b9(0x11d)==_0x538a16[_0x3505b9(0x117)]&&(_0x538a16[_0x3505b9(0x10f)]=!0x0,delete _0x538a16[_0x3505b9(0x117)]),_0x538a16));}function _0x392c(_0x307f58,_0x3615ea){const _0x183283=_0x1832();return _0x392c=function(_0x392c32,_0x3613b5){_0x392c32=_0x392c32-0x10f;let _0x1e3156=_0x183283[_0x392c32];return _0x1e3156;},_0x392c(_0x307f58,_0x3615ea);}export function parsePositionAfterCompression(_0xde2206){const _0x3f233e=_0x392c;P(_0xde2206,_0x2fb844=>(_0x2fb844[_0x3f233e(0x115)]?(_0x2fb844[_0x3f233e(0x117)]=_0x3f233e(0x11e),delete _0x2fb844[_0x3f233e(0x115)]):_0x2fb844[_0x3f233e(0x10f)]&&(_0x2fb844[_0x3f233e(0x117)]=_0x3f233e(0x11d),delete _0x2fb844[_0x3f233e(0x10f)]),_0x2fb844));}function P(_0x24f9ef,_0x49da6){const _0x2601e5=_0x392c;for(const _0x1361c1 in _0x24f9ef){const _0x593c27=_0x24f9ef[_0x1361c1];_0x2601e5(0x11c)!==_0x1361c1&&_0x5dc8c7(_0x593c27)&&(_0x593c27[_0x2601e5(0x110)]&&(_0x593c27[_0x2601e5(0x117)]||_0x593c27[_0x2601e5(0x115)]||_0x593c27[_0x2601e5(0x10f)])?_0x24f9ef[_0x1361c1]=_0x49da6(_0x593c27):P(_0x593c27,_0x49da6));}return _0x24f9ef;}
|