@ckeditor/ckeditor5-operations-compressor 47.2.0-alpha.1 → 47.2.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
|
-
const
|
|
23
|
+
const _0x4d1ccd=_0x1057;function _0x1057(_0x4a24f4,_0x506060){const _0x30b5d6=_0x30b5();return _0x1057=function(_0x105771,_0x1329c1){_0x105771=_0x105771-0x1bd;let _0x3b0287=_0x30b5d6[_0x105771];return _0x3b0287;},_0x1057(_0x4a24f4,_0x506060);}(function(_0x3e0a2f,_0x2074ad){const _0x1d271b=_0x1057,_0x4232e5=_0x3e0a2f();while(!![]){try{const _0x44ae64=parseInt(_0x1d271b(0x1c5))/0x1*(parseInt(_0x1d271b(0x1ca))/0x2)+-parseInt(_0x1d271b(0x1c9))/0x3+-parseInt(_0x1d271b(0x1c6))/0x4*(parseInt(_0x1d271b(0x1c8))/0x5)+-parseInt(_0x1d271b(0x1bd))/0x6+-parseInt(_0x1d271b(0x1c3))/0x7*(parseInt(_0x1d271b(0x1c4))/0x8)+parseInt(_0x1d271b(0x1bf))/0x9*(-parseInt(_0x1d271b(0x1c1))/0xa)+parseInt(_0x1d271b(0x1be))/0xb;if(_0x44ae64===_0x2074ad)break;else _0x4232e5['push'](_0x4232e5['shift']());}catch(_0x4c7d6c){_0x4232e5['push'](_0x4232e5['shift']());}}}(_0x30b5,0x8fbaf));function _0x30b5(){const _0x4fd939=['newRange','30kiqUYf','3222459cYdrBY','676816MNFJMp','decompress','6540390EurPyd','47453186HqDSJo','2784024oJfBAe','length','30qWDOMx','oldRange','963249rLkzLX','8gtEiMx','2TocReh','781460RLdHlW'];_0x30b5=function(){return _0x4fd939;};return _0x30b5();}import{OperationCompressor as _0x120b4c}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x120b4c{[_0x4d1ccd(0x1cb)](_0x13945c,_0x5e8607){const _0x3a516e=_0x4d1ccd;super[_0x3a516e(0x1cb)](_0x13945c,_0x5e8607);const _0x149e3e=_0x13945c[_0x13945c[_0x3a516e(0x1c0)]-0x1];_0x149e3e[_0x3a516e(0x1c2)]||(_0x149e3e[_0x3a516e(0x1c2)]=null),_0x149e3e[_0x3a516e(0x1c7)]||(_0x149e3e[_0x3a516e(0x1c7)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8ebc(_0x9f6206,_0x5c80fd){var _0x2d76e9=_0x2d76();return _0x8ebc=function(_0x8ebcfe,_0x356214){_0x8ebcfe=_0x8ebcfe-0x122;var _0x5776ef=_0x2d76e9[_0x8ebcfe];return _0x5776ef;},_0x8ebc(_0x9f6206,_0x5c80fd);}var _0x1795c3=_0x8ebc;(function(_0x41dcb1,_0x144199){var _0x27a012=_0x8ebc,_0x1d29a2=_0x41dcb1();while(!![]){try{var _0x193d36=-parseInt(_0x27a012(0x132))/0x1+parseInt(_0x27a012(0x131))/0x2*(-parseInt(_0x27a012(0x12c))/0x3)+parseInt(_0x27a012(0x12f))/0x4*(-parseInt(_0x27a012(0x12a))/0x5)+-parseInt(_0x27a012(0x129))/0x6+-parseInt(_0x27a012(0x12d))/0x7*(-parseInt(_0x27a012(0x124))/0x8)+-parseInt(_0x27a012(0x12b))/0x9+parseInt(_0x27a012(0x133))/0xa*(parseInt(_0x27a012(0x125))/0xb);if(_0x193d36===_0x144199)break;else _0x1d29a2['push'](_0x1d29a2['shift']());}catch(_0x568868){_0x1d29a2['push'](_0x1d29a2['shift']());}}}(_0x2d76,0x51bd4));import{OperationCompressor as _0x25caf7}from'./operationcompressor.js';function _0x2d76(){var _0x54c5b8=['compress','2392428ccywcE','35hvqLzl','600795XWngIi','6753eqSLuW','91ooeeWR','decompress','119420assdnp','_operationName','470ExnWFN','598490eZIoBY','2830guODas','_id','types','296824sQUpTP','64306rqSJPE','shift','push'];_0x2d76=function(){return _0x54c5b8;};return _0x2d76();}export class NoOperationCompressor extends _0x25caf7{[_0x1795c3(0x128)](_0x17b80f,_0x19b5a8){var _0x5d49f1=_0x1795c3;return _0x19b5a8[_0x5d49f1(0x126)](),_0x17b80f[_0x5d49f1(0x123)][_0x5d49f1(0x127)](this[_0x5d49f1(0x122)]),!0x0;}[_0x1795c3(0x12e)](_0x59d0d8,_0x5ac48b){var _0x4af608=_0x1795c3;_0x5ac48b[_0x4af608(0x123)][_0x4af608(0x126)](),_0x59d0d8[_0x4af608(0x127)]({'__className':this[_0x4af608(0x130)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x545e96=_0x1dff;function _0x1dff(_0x321b57,_0x27c60a){const _0x2c79e6=_0x2c79();return _0x1dff=function(_0x1dff45,_0x287590){_0x1dff45=_0x1dff45-0xe6;let _0x3e7495=_0x2c79e6[_0x1dff45];return _0x3e7495;},_0x1dff(_0x321b57,_0x27c60a);}(function(_0x49eb2c,_0x2b8f1c){const _0x220b5=_0x1dff,_0x307c0a=_0x49eb2c();while(!![]){try{const _0x3a4f90=parseInt(_0x220b5(0xee))/0x1*(-parseInt(_0x220b5(0xf9))/0x2)+parseInt(_0x220b5(0xe9))/0x3+-parseInt(_0x220b5(0xed))/0x4+-parseInt(_0x220b5(0xf0))/0x5+-parseInt(_0x220b5(0xf1))/0x6+parseInt(_0x220b5(0xeb))/0x7*(-parseInt(_0x220b5(0xe6))/0x8)+parseInt(_0x220b5(0xe7))/0x9*(parseInt(_0x220b5(0xf3))/0xa);if(_0x3a4f90===_0x2b8f1c)break;else _0x307c0a['push'](_0x307c0a['shift']());}catch(_0x4a23cc){_0x307c0a['push'](_0x307c0a['shift']());}}}(_0x2c79,0xcc539));import{parsePositionBeforeCompression as _0x5222e7,parsePositionAfterCompression as _0x19010d}from'../utils.js';function _0x2c79(){const _0xbea2df=['_operationName','7MQuXDE','buffers','3080928wmKJSz','90sxTeUv','__className','1522785TGFZOv','3582246ZWKZQu','_id','50XiCFAf','shift','compress','decompress','_protobufDescriptor','types','9330MjfihT','11528456bGMyIO','6951627LhAqUY','push','1522929ELcoHc'];_0x2c79=function(){return _0xbea2df;};return _0x2c79();}export class OperationCompressor{[_0x545e96(0xf2)];[_0x545e96(0xea)];[_0x545e96(0xf7)];constructor(_0x449d49,_0x2f17d7,_0x16d254){const _0x35302c=_0x545e96;this[_0x35302c(0xf2)]=_0x449d49,this[_0x35302c(0xea)]=_0x2f17d7,this[_0x35302c(0xf7)]=_0x16d254;}[_0x545e96(0xf5)](_0x462397,_0x2ab59f){const _0x40026e=_0x545e96,_0x5b412a=_0x2ab59f[_0x40026e(0xf4)]();return _0x5222e7(_0x5b412a),_0x462397[_0x40026e(0xec)][_0x40026e(0xe8)](this[_0x40026e(0xf7)][_0x40026e(0xf5)](_0x5b412a)),_0x462397[_0x40026e(0xf8)][_0x40026e(0xe8)](this[_0x40026e(0xf2)]),!0x0;}[_0x545e96(0xf6)](_0x21f593,_0x162998){const _0x427b29=_0x545e96;_0x162998[_0x427b29(0xf8)][_0x427b29(0xf4)]();const _0x29cbb8=this[_0x427b29(0xf7)][_0x427b29(0xf6)](_0x162998[_0x427b29(0xec)][_0x427b29(0xf4)]());_0x19010d(_0x29cbb8),_0x29cbb8[_0x427b29(0xef)]=this[_0x427b29(0xea)],_0x21f593[_0x427b29(0xe8)](_0x29cbb8);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3c80fe=_0xd6b7;function _0xd6b7(_0xefcec1,_0x43cc0d){const _0xd6ec6=_0xd6ec();return _0xd6b7=function(_0xd6b785,_0x8f7957){_0xd6b785=_0xd6b785-0xe8;let _0x194712=_0xd6ec6[_0xd6b785];return _0x194712;},_0xd6b7(_0xefcec1,_0x43cc0d);}(function(_0x2bbaae,_0x47b972){const _0x299120=_0xd6b7,_0x35df2d=_0x2bbaae();while(!![]){try{const _0x148cc7=parseInt(_0x299120(0xf9))/0x1*(-parseInt(_0x299120(0xf7))/0x2)+parseInt(_0x299120(0xee))/0x3*(-parseInt(_0x299120(0xfa))/0x4)+-parseInt(_0x299120(0xf4))/0x5*(parseInt(_0x299120(0xe9))/0x6)+parseInt(_0x299120(0xf6))/0x7*(-parseInt(_0x299120(0xfc))/0x8)+-parseInt(_0x299120(0xf8))/0x9+parseInt(_0x299120(0xea))/0xa*(-parseInt(_0x299120(0xf5))/0xb)+parseInt(_0x299120(0xff))/0xc*(parseInt(_0x299120(0xeb))/0xd);if(_0x148cc7===_0x47b972)break;else _0x35df2d['push'](_0x35df2d['shift']());}catch(_0x339746){_0x35df2d['push'](_0x35df2d['shift']());}}}(_0xd6ec,0x25c0c));import{messages as _0x57f0ba}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x3c80fe(0xf3)];constructor(){const _0x45edb3=_0x3c80fe;this[_0x45edb3(0xf3)]=_0x57f0ba;}[_0x3c80fe(0xe8)](_0x544568){const _0x5c40cf=_0x3c80fe;return new ProtobufDescriptor(this[_0x5c40cf(0xf3)][_0x544568]);}}export class ProtobufDescriptor{[_0x3c80fe(0xfd)];constructor(_0x2e0efd){const _0x15a1f1=_0x3c80fe;this[_0x15a1f1(0xfd)]=_0x2e0efd;}[_0x3c80fe(0xf0)](_0x8785cc){const _0x37ee7a=_0x3c80fe,_0x538a43=this[_0x37ee7a(0xfd)][_0x37ee7a(0xf1)](_0x8785cc);if(_0x538a43)throw Error(_0x538a43);return this[_0x37ee7a(0xfd)][_0x37ee7a(0xec)](this[_0x37ee7a(0xfd)][_0x37ee7a(0xf2)](_0x8785cc))[_0x37ee7a(0xfb)]();}[_0x3c80fe(0xed)](_0x307771){const _0x384326=_0x3c80fe;return this[_0x384326(0xfd)][_0x384326(0xef)](this[_0x384326(0xfd)][_0x384326(0xfe)](_0x307771),{'oneofs':!0x0});}}function _0xd6ec(){const _0x277b23=['4ESJFCh','2490831lptUYg','116706mEWCXY','1105004qAfxSv','finish','88SnSORZ','_protobuf','decode','7788wtmrze','getDescriptor','6ZVEhAf','3075690czERvc','29159adzMEd','encode','decompress','3vnnTJo','toObject','compress','verify','create','_protobufRoot','655845BWjaBm','11akBUVD','48307XVzPPP'];_0xd6ec=function(){return _0x277b23;};return _0xd6ec();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1dc2(_0x169cec,_0x2dd098){const _0x41f854=_0x41f8();return _0x1dc2=function(_0x1dc2a2,_0x363224){_0x1dc2a2=_0x1dc2a2-0x9e;let _0x26e19f=_0x41f854[_0x1dc2a2];return _0x26e19f;},_0x1dc2(_0x169cec,_0x2dd098);}(function(_0x201386,_0x181459){const _0x3a7886=_0x1dc2,_0x147dee=_0x201386();while(!![]){try{const _0x47c2ce=parseInt(_0x3a7886(0xb1))/0x1*(-parseInt(_0x3a7886(0x9e))/0x2)+parseInt(_0x3a7886(0xad))/0x3*(parseInt(_0x3a7886(0xa9))/0x4)+parseInt(_0x3a7886(0xa7))/0x5*(-parseInt(_0x3a7886(0x9f))/0x6)+parseInt(_0x3a7886(0xa5))/0x7*(-parseInt(_0x3a7886(0xa1))/0x8)+-parseInt(_0x3a7886(0xa4))/0x9*(parseInt(_0x3a7886(0xa2))/0xa)+parseInt(_0x3a7886(0xab))/0xb+parseInt(_0x3a7886(0xa0))/0xc;if(_0x47c2ce===_0x181459)break;else _0x147dee['push'](_0x147dee['shift']());}catch(_0x27ab90){_0x147dee['push'](_0x147dee['shift']());}}}(_0x41f8,0xd3dfe));import{cloneDeep as _0xb26174,isEqual as _0x3aad69,isObject as _0x5e7820}from'es-toolkit/compat';export function getPositionShiftedBy(_0x2e5bc0,_0x28b7fa){const _0x66a71=_0x1dc2,_0x1a6351=_0xb26174(_0x2e5bc0);return _0x1a6351[_0x66a71(0xae)][_0x1a6351[_0x66a71(0xae)][_0x66a71(0xb0)]-0x1]+=_0x28b7fa,_0x1a6351;}export function arePositionsEqual(_0x1a6b82,_0x54b329){const _0x4f47b5=_0x1dc2;return _0x1a6b82[_0x4f47b5(0xa6)]===_0x54b329[_0x4f47b5(0xa6)]&&_0x3aad69(_0x1a6b82[_0x4f47b5(0xae)],_0x54b329[_0x4f47b5(0xae)]);}export function parsePositionBeforeCompression(_0x5b34d8){const _0x18fc17=_0x1dc2;P(_0x5b34d8,_0x40353b=>(_0x18fc17(0xaf)==_0x40353b[_0x18fc17(0xa6)]?(_0x40353b[_0x18fc17(0xac)]=!0x0,delete _0x40353b[_0x18fc17(0xa6)]):_0x18fc17(0xa8)==_0x40353b[_0x18fc17(0xa6)]&&(_0x40353b[_0x18fc17(0xaa)]=!0x0,delete _0x40353b[_0x18fc17(0xa6)]),_0x40353b));}export function parsePositionAfterCompression(_0x595f2b){const _0x2f58aa=_0x1dc2;P(_0x595f2b,_0x5e1886=>(_0x5e1886[_0x2f58aa(0xac)]?(_0x5e1886[_0x2f58aa(0xa6)]=_0x2f58aa(0xaf),delete _0x5e1886[_0x2f58aa(0xac)]):_0x5e1886[_0x2f58aa(0xaa)]&&(_0x5e1886[_0x2f58aa(0xa6)]=_0x2f58aa(0xa8),delete _0x5e1886[_0x2f58aa(0xaa)]),_0x5e1886));}function P(_0xad2223,_0x332138){const _0x44c825=_0x1dc2;for(const _0x291ed4 in _0xad2223){const _0xc285eb=_0xad2223[_0x291ed4];_0x44c825(0xa3)!==_0x291ed4&&_0x5e7820(_0xc285eb)&&(_0xc285eb[_0x44c825(0xae)]&&(_0xc285eb[_0x44c825(0xa6)]||_0xc285eb[_0x44c825(0xac)]||_0xc285eb[_0x44c825(0xaa)])?_0xad2223[_0x291ed4]=_0x332138(_0xc285eb):P(_0xc285eb,_0x332138));}return _0xad2223;}function _0x41f8(){const _0x35046f=['length','280073UTyVwF','2zOmPjf','7426710bpxGxw','26440764aNwjDR','16ICDWBv','4265480JIsdBb','nodes','36ykOtrF','3504935vgroac','root','5YVhQBQ','$graveyard','4hwfTdn','rootGraveyard','16505324RvaruY','rootMain','4168251XpkEwb','path','main'];_0x41f8=function(){return _0x35046f;};return _0x41f8();}
|