@ckeditor/ckeditor5-operations-compressor 45.0.0-alpha.0 → 45.0.0-alpha.1
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
|
-
const
|
|
23
|
+
function _0x541a(){const _0x20cb83=['3xVBPcT','7YwBMTQ','445797pbucwS','4056BzNuVd','20bqLItb','decompress','426452pqfIac','oldRange','32kqPusH','33839kITyHr','length','3086814VTXbWk','10740AaOSBD','631374pBvZMu','3120QvxSdD','newRange','4350280OqZcxu'];_0x541a=function(){return _0x20cb83;};return _0x541a();}function _0x1691(_0x4e0c16,_0x202059){const _0x541a41=_0x541a();return _0x1691=function(_0x16914d,_0x3590fe){_0x16914d=_0x16914d-0x188;let _0x151e10=_0x541a41[_0x16914d];return _0x151e10;},_0x1691(_0x4e0c16,_0x202059);}const _0x514743=_0x1691;(function(_0xb6f3e2,_0x2befa0){const _0x2f886b=_0x1691,_0x2c7a3c=_0xb6f3e2();while(!![]){try{const _0x3b2204=-parseInt(_0x2f886b(0x191))/0x1+parseInt(_0x2f886b(0x198))/0x2*(parseInt(_0x2f886b(0x18b))/0x3)+parseInt(_0x2f886b(0x18e))/0x4*(-parseInt(_0x2f886b(0x188))/0x5)+-parseInt(_0x2f886b(0x196))/0x6*(parseInt(_0x2f886b(0x18c))/0x7)+parseInt(_0x2f886b(0x193))/0x8*(parseInt(_0x2f886b(0x18d))/0x9)+-parseInt(_0x2f886b(0x18f))/0xa*(parseInt(_0x2f886b(0x18a))/0xb)+parseInt(_0x2f886b(0x197))/0xc*(parseInt(_0x2f886b(0x194))/0xd);if(_0x3b2204===_0x2befa0)break;else _0x2c7a3c['push'](_0x2c7a3c['shift']());}catch(_0x1b8a26){_0x2c7a3c['push'](_0x2c7a3c['shift']());}}}(_0x541a,0x74ea7));import _0x23c247 from'./operationcompressor.js';export default class n extends _0x23c247{[_0x514743(0x190)](_0x29da17,_0x3cfbf2){const _0x4b9789=_0x514743;super[_0x4b9789(0x190)](_0x29da17,_0x3cfbf2);const _0x2a7544=_0x29da17[_0x29da17[_0x4b9789(0x195)]-0x1];_0x2a7544[_0x4b9789(0x192)]||(_0x2a7544[_0x4b9789(0x192)]=null),_0x2a7544[_0x4b9789(0x189)]||(_0x2a7544[_0x4b9789(0x189)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4eafc7=_0x4cf8;(function(_0x2eac3a,_0x11afc8){var _0xa4eb21=_0x4cf8,_0x1b8f3c=_0x2eac3a();while(!![]){try{var _0x25290a=-parseInt(_0xa4eb21(0xd4))/0x1+-parseInt(_0xa4eb21(0xd7))/0x2+-parseInt(_0xa4eb21(0xcd))/0x3+-parseInt(_0xa4eb21(0xd8))/0x4*(-parseInt(_0xa4eb21(0xda))/0x5)+-parseInt(_0xa4eb21(0xd3))/0x6+parseInt(_0xa4eb21(0xdb))/0x7*(-parseInt(_0xa4eb21(0xcc))/0x8)+-parseInt(_0xa4eb21(0xcf))/0x9*(-parseInt(_0xa4eb21(0xdc))/0xa);if(_0x25290a===_0x11afc8)break;else _0x1b8f3c['push'](_0x1b8f3c['shift']());}catch(_0x5480a0){_0x1b8f3c['push'](_0x1b8f3c['shift']());}}}(_0x1da1,0x313f7));function _0x4cf8(_0x4b16fc,_0x405a3b){var _0x1da134=_0x1da1();return _0x4cf8=function(_0x4cf88b,_0x18505b){_0x4cf88b=_0x4cf88b-0xcc;var _0x4511e5=_0x1da134[_0x4cf88b];return _0x4511e5;},_0x4cf8(_0x4b16fc,_0x405a3b);}import _0x3f1bb5 from'./operationcompressor.js';function _0x1da1(){var _0x55e01a=['types','637712sYeXUA','70052PcwAlN','_id','110uGSLvn','49lyeyvV','958510OiEVHr','421168WigMwL','1189524cfxPUP','_operationName','99cOoWuM','shift','push','decompress','782016ImpzFx','23706OoFrrk','compress'];_0x1da1=function(){return _0x55e01a;};return _0x1da1();}export default class p extends _0x3f1bb5{[_0x4eafc7(0xd5)](_0x1bdbea,_0x1a82c4){var _0x36d42b=_0x4eafc7;return _0x1a82c4[_0x36d42b(0xd0)](),_0x1bdbea[_0x36d42b(0xd6)][_0x36d42b(0xd1)](this[_0x36d42b(0xd9)]),!0x0;}[_0x4eafc7(0xd2)](_0x3b1154,_0x3d6f25){var _0x459fac=_0x4eafc7;_0x3d6f25[_0x459fac(0xd6)][_0x459fac(0xd0)](),_0x3b1154[_0x459fac(0xd1)]({'__className':this[_0x459fac(0xce)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4da4(){const _0x571563=['_id','8446707pZcdKR','__className','push','55NHBROn','4kXOcvh','decompress','8292470YzKQlF','6BAFIgr','compress','shift','types','2744BeETbb','1172EjdkHC','1240670WmjDsS','buffers','1753113QIaUMK','4270BZykOH','2026wFwswX','_protobufDescriptor','_operationName','4597188Qplvkk'];_0x4da4=function(){return _0x571563;};return _0x4da4();}const _0x40d4d1=_0x3137;function _0x3137(_0x4df56d,_0x266472){const _0x4da494=_0x4da4();return _0x3137=function(_0x313762,_0x4153f9){_0x313762=_0x313762-0x7f;let _0x4bcdc1=_0x4da494[_0x313762];return _0x4bcdc1;},_0x3137(_0x4df56d,_0x266472);}(function(_0x1fc053,_0x2e1cba){const _0x15795f=_0x3137,_0x5b8e4a=_0x1fc053();while(!![]){try{const _0x392b0=-parseInt(_0x15795f(0x80))/0x1*(-parseInt(_0x15795f(0x91))/0x2)+-parseInt(_0x15795f(0x94))/0x3*(parseInt(_0x15795f(0x89))/0x4)+-parseInt(_0x15795f(0x92))/0x5*(-parseInt(_0x15795f(0x8c))/0x6)+-parseInt(_0x15795f(0x7f))/0x7*(parseInt(_0x15795f(0x90))/0x8)+-parseInt(_0x15795f(0x85))/0x9+-parseInt(_0x15795f(0x8b))/0xa+parseInt(_0x15795f(0x88))/0xb*(parseInt(_0x15795f(0x83))/0xc);if(_0x392b0===_0x2e1cba)break;else _0x5b8e4a['push'](_0x5b8e4a['shift']());}catch(_0x40a8cf){_0x5b8e4a['push'](_0x5b8e4a['shift']());}}}(_0x4da4,0xc0bf6));import{parsePositionBeforeCompression as _0x457683,parsePositionAfterCompression as _0x3f8781}from'../utils.js';export default class e{[_0x40d4d1(0x84)];[_0x40d4d1(0x82)];[_0x40d4d1(0x81)];constructor(_0x2bde6b,_0x3e1ba3,_0x21543f){const _0x14da9e=_0x40d4d1;this[_0x14da9e(0x84)]=_0x2bde6b,this[_0x14da9e(0x82)]=_0x3e1ba3,this[_0x14da9e(0x81)]=_0x21543f;}[_0x40d4d1(0x8d)](_0x3eb9ea,_0x560fce){const _0x4dddb4=_0x40d4d1,_0x3a8e10=_0x560fce[_0x4dddb4(0x8e)]();return _0x457683(_0x3a8e10),_0x3eb9ea[_0x4dddb4(0x93)][_0x4dddb4(0x87)](this[_0x4dddb4(0x81)][_0x4dddb4(0x8d)](_0x3a8e10)),_0x3eb9ea[_0x4dddb4(0x8f)][_0x4dddb4(0x87)](this[_0x4dddb4(0x84)]),!0x0;}[_0x40d4d1(0x8a)](_0x25b471,_0x31a026){const _0x2f7679=_0x40d4d1;_0x31a026[_0x2f7679(0x8f)][_0x2f7679(0x8e)]();const _0x2cbf63=this[_0x2f7679(0x81)][_0x2f7679(0x8a)](_0x31a026[_0x2f7679(0x93)][_0x2f7679(0x8e)]());_0x3f8781(_0x2cbf63),_0x2cbf63[_0x2f7679(0x86)]=this[_0x2f7679(0x82)],_0x25b471[_0x2f7679(0x87)](_0x2cbf63);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x315772=_0x50f4;function _0x50f4(_0x27f98f,_0xd4e4b9){const _0x125895=_0x1258();return _0x50f4=function(_0x50f46d,_0x54cddc){_0x50f46d=_0x50f46d-0x180;let _0x3e0a3b=_0x125895[_0x50f46d];return _0x3e0a3b;},_0x50f4(_0x27f98f,_0xd4e4b9);}(function(_0x4396d8,_0x415341){const _0x138101=_0x50f4,_0x1eba46=_0x4396d8();while(!![]){try{const _0x58c795=-parseInt(_0x138101(0x191))/0x1*(parseInt(_0x138101(0x181))/0x2)+-parseInt(_0x138101(0x187))/0x3+-parseInt(_0x138101(0x18c))/0x4*(-parseInt(_0x138101(0x194))/0x5)+parseInt(_0x138101(0x190))/0x6*(-parseInt(_0x138101(0x192))/0x7)+parseInt(_0x138101(0x184))/0x8+parseInt(_0x138101(0x182))/0x9+parseInt(_0x138101(0x18e))/0xa*(parseInt(_0x138101(0x186))/0xb);if(_0x58c795===_0x415341)break;else _0x1eba46['push'](_0x1eba46['shift']());}catch(_0xb7d4f3){_0x1eba46['push'](_0x1eba46['shift']());}}}(_0x1258,0xb48ef));import{messages as _0x5c0941}from'./lib/compiledmessages.js';function _0x1258(){const _0x1fcee2=['114iLOkiL','478476JWnsws','toObject','2466952jXSoUr','finish','8078004OHkcIV','993669YGkUBQ','decode','getDescriptor','verify','_protobufRoot','48fwmAyg','compress','30ikUMBr','decompress','692136SXWApF','19963CojtvX','28aHbLzV','encode','43950oSJhvD','create','_protobuf'];_0x1258=function(){return _0x1fcee2;};return _0x1258();}export default class r{[_0x315772(0x18b)];constructor(){const _0x1e91d1=_0x315772;this[_0x1e91d1(0x18b)]=_0x5c0941;}[_0x315772(0x189)](_0x4ce0c7){const _0x376415=_0x315772;return new ProtobufDescriptor(this[_0x376415(0x18b)][_0x4ce0c7]);}}export class ProtobufDescriptor{[_0x315772(0x180)];constructor(_0x42584a){const _0x4bec06=_0x315772;this[_0x4bec06(0x180)]=_0x42584a;}[_0x315772(0x18d)](_0x5bf2c1){const _0x2733c7=_0x315772,_0x268154=this[_0x2733c7(0x180)][_0x2733c7(0x18a)](_0x5bf2c1);if(_0x268154)throw Error(_0x268154);return this[_0x2733c7(0x180)][_0x2733c7(0x193)](this[_0x2733c7(0x180)][_0x2733c7(0x195)](_0x5bf2c1))[_0x2733c7(0x185)]();}[_0x315772(0x18f)](_0x26252b){const _0x3dda76=_0x315772;return this[_0x3dda76(0x180)][_0x3dda76(0x183)](this[_0x3dda76(0x180)][_0x3dda76(0x188)](_0x26252b),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4df0aa,_0x2eb7ef){const _0x43f553=_0x15c0,_0x205df6=_0x4df0aa();while(!![]){try{const _0x541ac7=-parseInt(_0x43f553(0x131))/0x1*(-parseInt(_0x43f553(0x12d))/0x2)+-parseInt(_0x43f553(0x139))/0x3+-parseInt(_0x43f553(0x136))/0x4+-parseInt(_0x43f553(0x12e))/0x5+-parseInt(_0x43f553(0x13b))/0x6*(-parseInt(_0x43f553(0x137))/0x7)+-parseInt(_0x43f553(0x138))/0x8*(-parseInt(_0x43f553(0x13e))/0x9)+parseInt(_0x43f553(0x13d))/0xa;if(_0x541ac7===_0x2eb7ef)break;else _0x205df6['push'](_0x205df6['shift']());}catch(_0x31c0c6){_0x205df6['push'](_0x205df6['shift']());}}}(_0xc81d,0x6504e));import{cloneDeep as _0xe7ced5,isEqual as _0x5e69c8,isObject as _0x464cb8}from'es-toolkit/compat';function _0x15c0(_0x296c2d,_0x39b484){const _0xc81d5=_0xc81d();return _0x15c0=function(_0x15c06a,_0x348e41){_0x15c06a=_0x15c06a-0x12d;let _0x499454=_0xc81d5[_0x15c06a];return _0x499454;},_0x15c0(_0x296c2d,_0x39b484);}export function getPositionShiftedBy(_0x43bf37,_0x4f459f){const _0x5621dc=_0x15c0,_0x4a37b4=_0xe7ced5(_0x43bf37);return _0x4a37b4[_0x5621dc(0x130)][_0x4a37b4[_0x5621dc(0x130)][_0x5621dc(0x13a)]-0x1]+=_0x4f459f,_0x4a37b4;}export function arePositionsEqual(_0x327a8c,_0x2d8142){const _0x5d0f8f=_0x15c0;return _0x327a8c[_0x5d0f8f(0x13c)]===_0x2d8142[_0x5d0f8f(0x13c)]&&_0x5e69c8(_0x327a8c[_0x5d0f8f(0x130)],_0x2d8142[_0x5d0f8f(0x130)]);}function _0xc81d(){const _0x1eb00a=['421462JSbGhs','3577050PCFdOn','rootGraveyard','path','1zcdegY','$graveyard','rootMain','nodes','main','3134680cXBZcj','253666mZklSz','2438488ffcEpT','1399431kwSPJA','length','42XbejWs','root','13053120zmriUX','18ZmhdRS'];_0xc81d=function(){return _0x1eb00a;};return _0xc81d();}export function parsePositionBeforeCompression(_0x1c3e83){const _0x5b0390=_0x15c0;P(_0x1c3e83,_0x28d3db=>(_0x5b0390(0x135)==_0x28d3db[_0x5b0390(0x13c)]?(_0x28d3db[_0x5b0390(0x133)]=!0x0,delete _0x28d3db[_0x5b0390(0x13c)]):_0x5b0390(0x132)==_0x28d3db[_0x5b0390(0x13c)]&&(_0x28d3db[_0x5b0390(0x12f)]=!0x0,delete _0x28d3db[_0x5b0390(0x13c)]),_0x28d3db));}export function parsePositionAfterCompression(_0x2d20c8){const _0x53f58c=_0x15c0;P(_0x2d20c8,_0x4c825e=>(_0x4c825e[_0x53f58c(0x133)]?(_0x4c825e[_0x53f58c(0x13c)]=_0x53f58c(0x135),delete _0x4c825e[_0x53f58c(0x133)]):_0x4c825e[_0x53f58c(0x12f)]&&(_0x4c825e[_0x53f58c(0x13c)]=_0x53f58c(0x132),delete _0x4c825e[_0x53f58c(0x12f)]),_0x4c825e));}function P(_0x141f60,_0x1cb409){const _0x221acb=_0x15c0;for(const _0xb279 in _0x141f60){const _0x43f95f=_0x141f60[_0xb279];_0x221acb(0x134)!==_0xb279&&_0x464cb8(_0x43f95f)&&(_0x43f95f[_0x221acb(0x130)]&&(_0x43f95f[_0x221acb(0x13c)]||_0x43f95f[_0x221acb(0x133)]||_0x43f95f[_0x221acb(0x12f)])?_0x141f60[_0xb279]=_0x1cb409(_0x43f95f):P(_0x43f95f,_0x1cb409));}return _0x141f60;}
|