@ckeditor/ckeditor5-operations-compressor 47.2.0 → 47.3.0-alpha.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/LICENSE.md +7 -7
- 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
|
-
function
|
|
23
|
+
var _0x41085b=_0x30c4;function _0x30c4(_0x5eb01f,_0x1e858a){var _0x3a8442=_0x3a84();return _0x30c4=function(_0x30c487,_0xd5b26a){_0x30c487=_0x30c487-0x77;var _0x10700f=_0x3a8442[_0x30c487];return _0x10700f;},_0x30c4(_0x5eb01f,_0x1e858a);}function _0x3a84(){var _0x160403=['_id','compress','450EKkFUX','1405JdDbtj','decompress','30856MdftkQ','_operationName','types','988149hkrekN','shift','315124GmUkPq','200612IKdcOE','31734khpKjB','push','6673012aOGooi','6883135tmPtLO'];_0x3a84=function(){return _0x160403;};return _0x3a84();}(function(_0x4993e9,_0x2754e4){var _0x5dc37d=_0x30c4,_0x1a9014=_0x4993e9();while(!![]){try{var _0x159f5d=-parseInt(_0x5dc37d(0x83))/0x1+-parseInt(_0x5dc37d(0x82))/0x2+parseInt(_0x5dc37d(0x80))/0x3+-parseInt(_0x5dc37d(0x86))/0x4+parseInt(_0x5dc37d(0x7b))/0x5*(parseInt(_0x5dc37d(0x84))/0x6)+parseInt(_0x5dc37d(0x77))/0x7+-parseInt(_0x5dc37d(0x7d))/0x8*(-parseInt(_0x5dc37d(0x7a))/0x9);if(_0x159f5d===_0x2754e4)break;else _0x1a9014['push'](_0x1a9014['shift']());}catch(_0x52c512){_0x1a9014['push'](_0x1a9014['shift']());}}}(_0x3a84,0xebac8));import{OperationCompressor as _0x5d38e1}from'./operationcompressor.js';export class NoOperationCompressor extends _0x5d38e1{[_0x41085b(0x79)](_0x2916f7,_0x294416){var _0x522d0b=_0x41085b;return _0x294416[_0x522d0b(0x81)](),_0x2916f7[_0x522d0b(0x7f)][_0x522d0b(0x85)](this[_0x522d0b(0x78)]),!0x0;}[_0x41085b(0x7c)](_0x52e30e,_0x22aa6d){var _0x348943=_0x41085b;_0x22aa6d[_0x348943(0x7f)][_0x348943(0x81)](),_0x52e30e[_0x348943(0x85)]({'__className':this[_0x348943(0x7e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39a6b3=_0x508b;function _0x508b(_0x409796,_0x2d030b){const _0x1c01e5=_0x1c01();return _0x508b=function(_0x508baf,_0x460fac){_0x508baf=_0x508baf-0x16e;let _0x11f6c1=_0x1c01e5[_0x508baf];return _0x11f6c1;},_0x508b(_0x409796,_0x2d030b);}(function(_0x3304fa,_0x593ff8){const _0x4476e0=_0x508b,_0x51304a=_0x3304fa();while(!![]){try{const _0x2be0ad=-parseInt(_0x4476e0(0x17a))/0x1+-parseInt(_0x4476e0(0x178))/0x2+-parseInt(_0x4476e0(0x17f))/0x3+parseInt(_0x4476e0(0x17c))/0x4+-parseInt(_0x4476e0(0x16e))/0x5*(parseInt(_0x4476e0(0x175))/0x6)+parseInt(_0x4476e0(0x180))/0x7*(parseInt(_0x4476e0(0x174))/0x8)+parseInt(_0x4476e0(0x171))/0x9;if(_0x2be0ad===_0x593ff8)break;else _0x51304a['push'](_0x51304a['shift']());}catch(_0x3857b4){_0x51304a['push'](_0x51304a['shift']());}}}(_0x1c01,0xc7cbf));import{parsePositionBeforeCompression as _0x591eff,parsePositionAfterCompression as _0x5ceafd}from'../utils.js';export class OperationCompressor{[_0x39a6b3(0x17e)];[_0x39a6b3(0x173)];[_0x39a6b3(0x17d)];constructor(_0xf4f558,_0x5763f8,_0x3dfcb7){const _0x205d6c=_0x39a6b3;this[_0x205d6c(0x17e)]=_0xf4f558,this[_0x205d6c(0x173)]=_0x5763f8,this[_0x205d6c(0x17d)]=_0x3dfcb7;}[_0x39a6b3(0x17b)](_0x35b3c4,_0x30c3ec){const _0x180c25=_0x39a6b3,_0x290d4f=_0x30c3ec[_0x180c25(0x179)]();return _0x591eff(_0x290d4f),_0x35b3c4[_0x180c25(0x170)][_0x180c25(0x16f)](this[_0x180c25(0x17d)][_0x180c25(0x17b)](_0x290d4f)),_0x35b3c4[_0x180c25(0x177)][_0x180c25(0x16f)](this[_0x180c25(0x17e)]),!0x0;}[_0x39a6b3(0x176)](_0x172f98,_0x4f0b21){const _0x2b0eaf=_0x39a6b3;_0x4f0b21[_0x2b0eaf(0x177)][_0x2b0eaf(0x179)]();const _0x9f0213=this[_0x2b0eaf(0x17d)][_0x2b0eaf(0x176)](_0x4f0b21[_0x2b0eaf(0x170)][_0x2b0eaf(0x179)]());_0x5ceafd(_0x9f0213),_0x9f0213[_0x2b0eaf(0x172)]=this[_0x2b0eaf(0x173)],_0x172f98[_0x2b0eaf(0x16f)](_0x9f0213);}}function _0x1c01(){const _0x1e3c88=['1279304gAroCp','210kndfAJ','decompress','types','1818740qGFpKy','shift','1489535WVGVxs','compress','6459876lxJDAx','_protobufDescriptor','_id','429840trUaJX','49OlnzUm','156105QvZdqF','push','buffers','15470343nGMxvf','__className','_operationName'];_0x1c01=function(){return _0x1e3c88;};return _0x1c01();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4cd6(_0x3c743f,_0x2c0b4c){const _0x910591=_0x9105();return _0x4cd6=function(_0x4cd676,_0x1d28d2){_0x4cd676=_0x4cd676-0x104;let _0x14385c=_0x910591[_0x4cd676];return _0x14385c;},_0x4cd6(_0x3c743f,_0x2c0b4c);}function _0x9105(){const _0x13cbd9=['454068tHrmCT','decode','create','3766728RTszaT','_protobuf','182XoBnnm','70842EloxwZ','50FhmHVe','45DzTenx','93822LrhbpI','verify','28urFMgO','_protobufRoot','decompress','getDescriptor','1771264UanssO','encode','finish','toObject','136720bJrqXN','638597hPnNpq','compress'];_0x9105=function(){return _0x13cbd9;};return _0x9105();}const _0x529e2e=_0x4cd6;(function(_0x58075d,_0x136ebc){const _0x1f4b06=_0x4cd6,_0x4cffa8=_0x58075d();while(!![]){try{const _0x2ebaa8=parseInt(_0x1f4b06(0x110))/0x1+parseInt(_0x1f4b06(0x107))/0x2*(parseInt(_0x1f4b06(0x105))/0x3)+-parseInt(_0x1f4b06(0x10f))/0x4*(parseInt(_0x1f4b06(0x104))/0x5)+-parseInt(_0x1f4b06(0x118))/0x6*(parseInt(_0x1f4b06(0x117))/0x7)+-parseInt(_0x1f4b06(0x115))/0x8+parseInt(_0x1f4b06(0x112))/0x9*(parseInt(_0x1f4b06(0x119))/0xa)+parseInt(_0x1f4b06(0x10b))/0xb;if(_0x2ebaa8===_0x136ebc)break;else _0x4cffa8['push'](_0x4cffa8['shift']());}catch(_0xbb1f12){_0x4cffa8['push'](_0x4cffa8['shift']());}}}(_0x9105,0x62b32));import{messages as _0x2af40f}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x529e2e(0x108)];constructor(){const _0x18efa0=_0x529e2e;this[_0x18efa0(0x108)]=_0x2af40f;}[_0x529e2e(0x10a)](_0x1c5509){const _0xcca1c4=_0x529e2e;return new ProtobufDescriptor(this[_0xcca1c4(0x108)][_0x1c5509]);}}export class ProtobufDescriptor{[_0x529e2e(0x116)];constructor(_0x23c943){const _0x3488ee=_0x529e2e;this[_0x3488ee(0x116)]=_0x23c943;}[_0x529e2e(0x111)](_0xe1d43c){const _0x460b1f=_0x529e2e,_0x3c10aa=this[_0x460b1f(0x116)][_0x460b1f(0x106)](_0xe1d43c);if(_0x3c10aa)throw Error(_0x3c10aa);return this[_0x460b1f(0x116)][_0x460b1f(0x10c)](this[_0x460b1f(0x116)][_0x460b1f(0x114)](_0xe1d43c))[_0x460b1f(0x10d)]();}[_0x529e2e(0x109)](_0x2f5bc0){const _0x113546=_0x529e2e;return this[_0x113546(0x116)][_0x113546(0x10e)](this[_0x113546(0x116)][_0x113546(0x113)](_0x2f5bc0),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3bec(_0x8d622,_0x9deaea){const _0x495d30=_0x495d();return _0x3bec=function(_0x3bec82,_0x5d2d75){_0x3bec82=_0x3bec82-0xf8;let _0x31026a=_0x495d30[_0x3bec82];return _0x31026a;},_0x3bec(_0x8d622,_0x9deaea);}(function(_0x229eb9,_0x2c87bb){const _0x3564ce=_0x3bec,_0x4d2616=_0x229eb9();while(!![]){try{const _0x46c4bd=-parseInt(_0x3564ce(0xf9))/0x1+parseInt(_0x3564ce(0x109))/0x2*(-parseInt(_0x3564ce(0x107))/0x3)+parseInt(_0x3564ce(0x101))/0x4*(-parseInt(_0x3564ce(0x108))/0x5)+-parseInt(_0x3564ce(0x106))/0x6+-parseInt(_0x3564ce(0xfb))/0x7*(-parseInt(_0x3564ce(0x10a))/0x8)+-parseInt(_0x3564ce(0xfc))/0x9*(-parseInt(_0x3564ce(0x105))/0xa)+-parseInt(_0x3564ce(0xff))/0xb*(-parseInt(_0x3564ce(0xfa))/0xc);if(_0x46c4bd===_0x2c87bb)break;else _0x4d2616['push'](_0x4d2616['shift']());}catch(_0x347696){_0x4d2616['push'](_0x4d2616['shift']());}}}(_0x495d,0xccf49));import{cloneDeep as _0x2a5b3e,isEqual as _0x21829f,isObject as _0x9dca25}from'es-toolkit/compat';export function getPositionShiftedBy(_0x292fdf,_0x3296c9){const _0x44682b=_0x3bec,_0x57685f=_0x2a5b3e(_0x292fdf);return _0x57685f[_0x44682b(0xfe)][_0x57685f[_0x44682b(0xfe)][_0x44682b(0x103)]-0x1]+=_0x3296c9,_0x57685f;}export function arePositionsEqual(_0x311fd8,_0x211dcd){const _0x2704d1=_0x3bec;return _0x311fd8[_0x2704d1(0x102)]===_0x211dcd[_0x2704d1(0x102)]&&_0x21829f(_0x311fd8[_0x2704d1(0xfe)],_0x211dcd[_0x2704d1(0xfe)]);}export function parsePositionBeforeCompression(_0x23fa4a){const _0x3a8b90=_0x3bec;P(_0x23fa4a,_0x2ca398=>(_0x3a8b90(0x104)==_0x2ca398[_0x3a8b90(0x102)]?(_0x2ca398[_0x3a8b90(0x10b)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]):_0x3a8b90(0xfd)==_0x2ca398[_0x3a8b90(0x102)]&&(_0x2ca398[_0x3a8b90(0xf8)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]),_0x2ca398));}function _0x495d(){const _0x191a17=['length','main','3079670rdiUsy','5373174QRBCKo','834189TtSZqx','5515QAdDpi','12IErVzZ','8xuzJnM','rootMain','rootGraveyard','409971SVXANo','11472VMyXyo','9557639wMNaSM','18vcjMNE','$graveyard','path','21131zfdepD','nodes','16nhZYcv','root'];_0x495d=function(){return _0x191a17;};return _0x495d();}export function parsePositionAfterCompression(_0x20993a){const _0x360720=_0x3bec;P(_0x20993a,_0x384a2d=>(_0x384a2d[_0x360720(0x10b)]?(_0x384a2d[_0x360720(0x102)]=_0x360720(0x104),delete _0x384a2d[_0x360720(0x10b)]):_0x384a2d[_0x360720(0xf8)]&&(_0x384a2d[_0x360720(0x102)]=_0x360720(0xfd),delete _0x384a2d[_0x360720(0xf8)]),_0x384a2d));}function P(_0x31dec4,_0x677b77){const _0x38e990=_0x3bec;for(const _0xdc653b in _0x31dec4){const _0x308395=_0x31dec4[_0xdc653b];_0x38e990(0x100)!==_0xdc653b&&_0x9dca25(_0x308395)&&(_0x308395[_0x38e990(0xfe)]&&(_0x308395[_0x38e990(0x102)]||_0x308395[_0x38e990(0x10b)]||_0x308395[_0x38e990(0xf8)])?_0x31dec4[_0xdc653b]=_0x677b77(_0x308395):P(_0x308395,_0x677b77));}return _0x31dec4;}
|