@ckeditor/ckeditor5-operations-compressor 45.2.0-alpha.7 → 45.2.1-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/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 _0x1480f1=_0x5d2e;function _0x5538(){const _0x557177=['3041529qqZQyJ','4814585UpzBQz','92944zbmnIX','oldRange','2916592Klrgcj','2980mlGbss','length','1919004KlVhPa','4QwkdFT','decompress','newRange','312584Ajylne','6hNrMhd','57438HpzWcF'];_0x5538=function(){return _0x557177;};return _0x5538();}(function(_0x3b0843,_0x309aee){const _0x58cdc9=_0x5d2e,_0x2847ef=_0x3b0843();while(!![]){try{const _0x3e1708=parseInt(_0x58cdc9(0x8c))/0x1+parseInt(_0x58cdc9(0x91))/0x2+parseInt(_0x58cdc9(0x98))/0x3*(-parseInt(_0x58cdc9(0x92))/0x4)+-parseInt(_0x58cdc9(0x99))/0x5+-parseInt(_0x58cdc9(0x96))/0x6*(parseInt(_0x58cdc9(0x8e))/0x7)+-parseInt(_0x58cdc9(0x95))/0x8+parseInt(_0x58cdc9(0x97))/0x9*(parseInt(_0x58cdc9(0x8f))/0xa);if(_0x3e1708===_0x309aee)break;else _0x2847ef['push'](_0x2847ef['shift']());}catch(_0x295a6f){_0x2847ef['push'](_0x2847ef['shift']());}}}(_0x5538,0x7f641));function _0x5d2e(_0x3e35b0,_0x5e33b5){const _0x55383d=_0x5538();return _0x5d2e=function(_0x5d2e35,_0x511d84){_0x5d2e35=_0x5d2e35-0x8c;let _0x92d616=_0x55383d[_0x5d2e35];return _0x92d616;},_0x5d2e(_0x3e35b0,_0x5e33b5);}import _0x3d8b8a from'./operationcompressor.js';export default class n extends _0x3d8b8a{[_0x1480f1(0x93)](_0x1ad360,_0x92e7c7){const _0x2ccb30=_0x1480f1;super[_0x2ccb30(0x93)](_0x1ad360,_0x92e7c7);const _0x2330fd=_0x1ad360[_0x1ad360[_0x2ccb30(0x90)]-0x1];_0x2330fd[_0x2ccb30(0x8d)]||(_0x2330fd[_0x2ccb30(0x8d)]=null),_0x2330fd[_0x2ccb30(0x94)]||(_0x2330fd[_0x2ccb30(0x94)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ddccd=_0x6927;(function(_0x1fd0ef,_0x5b1460){var _0x1e0704=_0x6927,_0x44fe6b=_0x1fd0ef();while(!![]){try{var _0x55e465=-parseInt(_0x1e0704(0x7b))/0x1*(-parseInt(_0x1e0704(0x80))/0x2)+parseInt(_0x1e0704(0x8a))/0x3*(parseInt(_0x1e0704(0x7f))/0x4)+parseInt(_0x1e0704(0x7e))/0x5*(parseInt(_0x1e0704(0x88))/0x6)+-parseInt(_0x1e0704(0x89))/0x7+parseInt(_0x1e0704(0x8c))/0x8+parseInt(_0x1e0704(0x84))/0x9+parseInt(_0x1e0704(0x83))/0xa*(-parseInt(_0x1e0704(0x7d))/0xb);if(_0x55e465===_0x5b1460)break;else _0x44fe6b['push'](_0x44fe6b['shift']());}catch(_0xd3acd6){_0x44fe6b['push'](_0x44fe6b['shift']());}}}(_0x516d,0x77071));import _0x34423a from'./operationcompressor.js';export default class p extends _0x34423a{[_0x2ddccd(0x87)](_0x5d4079,_0x246251){var _0x4729fd=_0x2ddccd;return _0x246251[_0x4729fd(0x8b)](),_0x5d4079[_0x4729fd(0x7c)][_0x4729fd(0x86)](this[_0x4729fd(0x81)]),!0x0;}[_0x2ddccd(0x82)](_0x1cad75,_0x5cd4c8){var _0x1d41d8=_0x2ddccd;_0x5cd4c8[_0x1d41d8(0x7c)][_0x1d41d8(0x8b)](),_0x1cad75[_0x1d41d8(0x86)]({'__className':this[_0x1d41d8(0x85)]});}}function _0x6927(_0x48de52,_0x4c6b9c){var _0x516d51=_0x516d();return _0x6927=function(_0x69272d,_0x53a0ee){_0x69272d=_0x69272d-0x7b;var _0x223063=_0x516d51[_0x69272d];return _0x223063;},_0x6927(_0x48de52,_0x4c6b9c);}function _0x516d(){var _0x4dff2f=['2570frNumR','183249lbEsWe','_operationName','push','compress','42Dlrvcv','4409937vdmhJX','1623PDTwjZ','shift','5410248CBZzNP','4zAHwwJ','types','51073lleezM','143035uAPLfy','3296cwHmiI','484052FgJuWI','_id','decompress'];_0x516d=function(){return _0x4dff2f;};return _0x516d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x16ff(_0x1809af,_0x592b6a){const _0x345a33=_0x345a();return _0x16ff=function(_0x16ff65,_0x40ccef){_0x16ff65=_0x16ff65-0x165;let _0x154849=_0x345a33[_0x16ff65];return _0x154849;},_0x16ff(_0x1809af,_0x592b6a);}const _0x2b59c9=_0x16ff;(function(_0xc0818e,_0x41e87a){const _0x48f6c3=_0x16ff,_0x5b6e03=_0xc0818e();while(!![]){try{const _0x384737=-parseInt(_0x48f6c3(0x16e))/0x1+parseInt(_0x48f6c3(0x176))/0x2+parseInt(_0x48f6c3(0x16b))/0x3*(-parseInt(_0x48f6c3(0x16a))/0x4)+parseInt(_0x48f6c3(0x16c))/0x5+-parseInt(_0x48f6c3(0x169))/0x6+parseInt(_0x48f6c3(0x16f))/0x7*(-parseInt(_0x48f6c3(0x167))/0x8)+parseInt(_0x48f6c3(0x174))/0x9*(parseInt(_0x48f6c3(0x178))/0xa);if(_0x384737===_0x41e87a)break;else _0x5b6e03['push'](_0x5b6e03['shift']());}catch(_0x779225){_0x5b6e03['push'](_0x5b6e03['shift']());}}}(_0x345a,0xe3e71));import{parsePositionBeforeCompression as _0x240e48,parsePositionAfterCompression as _0x2e3859}from'../utils.js';function _0x345a(){const _0x4193a9=['6805300ryrzue','_operationName','227263JyhzWT','413FZOUUo','compress','types','__className','buffers','72936YuCeqV','shift','1992028kRppPN','_protobufDescriptor','2450buuvaV','push','_id','174408LLWRpb','decompress','3211008xGkbUJ','500UXzvAe','32649onlHFA'];_0x345a=function(){return _0x4193a9;};return _0x345a();}export default class e{[_0x2b59c9(0x166)];[_0x2b59c9(0x16d)];[_0x2b59c9(0x177)];constructor(_0x2e5304,_0x5cee79,_0x5d6ad5){const _0x5dac08=_0x2b59c9;this[_0x5dac08(0x166)]=_0x2e5304,this[_0x5dac08(0x16d)]=_0x5cee79,this[_0x5dac08(0x177)]=_0x5d6ad5;}[_0x2b59c9(0x170)](_0x4c85d3,_0x2f2150){const _0x433ded=_0x2b59c9,_0x3837fa=_0x2f2150[_0x433ded(0x175)]();return _0x240e48(_0x3837fa),_0x4c85d3[_0x433ded(0x173)][_0x433ded(0x165)](this[_0x433ded(0x177)][_0x433ded(0x170)](_0x3837fa)),_0x4c85d3[_0x433ded(0x171)][_0x433ded(0x165)](this[_0x433ded(0x166)]),!0x0;}[_0x2b59c9(0x168)](_0x4d156b,_0x557a68){const _0x4da6d6=_0x2b59c9;_0x557a68[_0x4da6d6(0x171)][_0x4da6d6(0x175)]();const _0x101740=this[_0x4da6d6(0x177)][_0x4da6d6(0x168)](_0x557a68[_0x4da6d6(0x173)][_0x4da6d6(0x175)]());_0x2e3859(_0x101740),_0x101740[_0x4da6d6(0x172)]=this[_0x4da6d6(0x16d)],_0x4d156b[_0x4da6d6(0x165)](_0x101740);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12fe8c=_0xc4c7;(function(_0x507dc0,_0x33b58e){const _0x488596=_0xc4c7,_0x187e47=_0x507dc0();while(!![]){try{const _0x4cf8c9=parseInt(_0x488596(0x16c))/0x1*(parseInt(_0x488596(0x178))/0x2)+parseInt(_0x488596(0x16b))/0x3+parseInt(_0x488596(0x17c))/0x4+parseInt(_0x488596(0x17b))/0x5+-parseInt(_0x488596(0x16e))/0x6+parseInt(_0x488596(0x16f))/0x7+-parseInt(_0x488596(0x170))/0x8*(parseInt(_0x488596(0x17a))/0x9);if(_0x4cf8c9===_0x33b58e)break;else _0x187e47['push'](_0x187e47['shift']());}catch(_0x44a367){_0x187e47['push'](_0x187e47['shift']());}}}(_0x208d,0x1d2c6));import{messages as _0x23a0ac}from'./lib/compiledmessages.js';export default class r{[_0x12fe8c(0x179)];constructor(){const _0x3cc5fc=_0x12fe8c;this[_0x3cc5fc(0x179)]=_0x23a0ac;}[_0x12fe8c(0x16d)](_0xad19b5){const _0x53e755=_0x12fe8c;return new ProtobufDescriptor(this[_0x53e755(0x179)][_0xad19b5]);}}function _0x208d(){const _0x1e6864=['encode','finish','433154WjjJwp','_protobufRoot','207GcKmHp','798975bNGlpT','449532UnEmMU','decode','decompress','327336KakTPO','1hyVYMu','getDescriptor','406584ftqBYo','1164100KkUaCO','200664DIeTIk','toObject','create','compress','verify','_protobuf'];_0x208d=function(){return _0x1e6864;};return _0x208d();}function _0xc4c7(_0x150854,_0x41a7b7){const _0x208d4a=_0x208d();return _0xc4c7=function(_0xc4c7dc,_0x493abf){_0xc4c7dc=_0xc4c7dc-0x16a;let _0x376549=_0x208d4a[_0xc4c7dc];return _0x376549;},_0xc4c7(_0x150854,_0x41a7b7);}export class ProtobufDescriptor{[_0x12fe8c(0x175)];constructor(_0x4fa19d){const _0x245758=_0x12fe8c;this[_0x245758(0x175)]=_0x4fa19d;}[_0x12fe8c(0x173)](_0xbe94a4){const _0x440365=_0x12fe8c,_0x36ea82=this[_0x440365(0x175)][_0x440365(0x174)](_0xbe94a4);if(_0x36ea82)throw Error(_0x36ea82);return this[_0x440365(0x175)][_0x440365(0x176)](this[_0x440365(0x175)][_0x440365(0x172)](_0xbe94a4))[_0x440365(0x177)]();}[_0x12fe8c(0x16a)](_0x25fc1a){const _0x42dcce=_0x12fe8c;return this[_0x42dcce(0x175)][_0x42dcce(0x171)](this[_0x42dcce(0x175)][_0x42dcce(0x17d)](_0x25fc1a),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5f38b3,_0x2d98b1){const _0x3ee52f=_0x6628,_0x10b7b1=_0x5f38b3();while(!![]){try{const _0xcacd48=-parseInt(_0x3ee52f(0x1fd))/0x1+parseInt(_0x3ee52f(0x204))/0x2*(-parseInt(_0x3ee52f(0x1ff))/0x3)+-parseInt(_0x3ee52f(0x1fc))/0x4+parseInt(_0x3ee52f(0x1f5))/0x5+parseInt(_0x3ee52f(0x1f9))/0x6*(parseInt(_0x3ee52f(0x202))/0x7)+-parseInt(_0x3ee52f(0x200))/0x8*(parseInt(_0x3ee52f(0x1fe))/0x9)+parseInt(_0x3ee52f(0x203))/0xa*(parseInt(_0x3ee52f(0x201))/0xb);if(_0xcacd48===_0x2d98b1)break;else _0x10b7b1['push'](_0x10b7b1['shift']());}catch(_0x15f5e2){_0x10b7b1['push'](_0x10b7b1['shift']());}}}(_0xb434,0x584f7));import{cloneDeep as _0x2a67b7,isEqual as _0x465db7,isObject as _0x29c8b2}from'es-toolkit/compat';export function getPositionShiftedBy(_0x43d55a,_0x2d140b){const _0x59bf69=_0x6628,_0x77cb51=_0x2a67b7(_0x43d55a);return _0x77cb51[_0x59bf69(0x1f6)][_0x77cb51[_0x59bf69(0x1f6)][_0x59bf69(0x1f8)]-0x1]+=_0x2d140b,_0x77cb51;}export function arePositionsEqual(_0x17e710,_0x2ecec0){const _0x3fb0b6=_0x6628;return _0x17e710[_0x3fb0b6(0x1fa)]===_0x2ecec0[_0x3fb0b6(0x1fa)]&&_0x465db7(_0x17e710[_0x3fb0b6(0x1f6)],_0x2ecec0[_0x3fb0b6(0x1f6)]);}function _0xb434(){const _0x32288b=['936095RobccR','path','main','length','10242nsOnFH','root','rootMain','704412dtCrfw','586642NWGcOh','863883nghojr','707775rlCHex','24APvDcI','258687pzmImJ','2044aQockm','610pvOydd','6POGbIe','nodes','rootGraveyard','$graveyard'];_0xb434=function(){return _0x32288b;};return _0xb434();}function _0x6628(_0x220369,_0x2b24d9){const _0xb434d0=_0xb434();return _0x6628=function(_0x662861,_0x347622){_0x662861=_0x662861-0x1f3;let _0x48ed1e=_0xb434d0[_0x662861];return _0x48ed1e;},_0x6628(_0x220369,_0x2b24d9);}export function parsePositionBeforeCompression(_0x5a952a){const _0x4fe88d=_0x6628;P(_0x5a952a,_0x36f7af=>(_0x4fe88d(0x1f7)==_0x36f7af[_0x4fe88d(0x1fa)]?(_0x36f7af[_0x4fe88d(0x1fb)]=!0x0,delete _0x36f7af[_0x4fe88d(0x1fa)]):_0x4fe88d(0x1f4)==_0x36f7af[_0x4fe88d(0x1fa)]&&(_0x36f7af[_0x4fe88d(0x1f3)]=!0x0,delete _0x36f7af[_0x4fe88d(0x1fa)]),_0x36f7af));}export function parsePositionAfterCompression(_0x4026dd){const _0x5e5240=_0x6628;P(_0x4026dd,_0xc78763=>(_0xc78763[_0x5e5240(0x1fb)]?(_0xc78763[_0x5e5240(0x1fa)]=_0x5e5240(0x1f7),delete _0xc78763[_0x5e5240(0x1fb)]):_0xc78763[_0x5e5240(0x1f3)]&&(_0xc78763[_0x5e5240(0x1fa)]=_0x5e5240(0x1f4),delete _0xc78763[_0x5e5240(0x1f3)]),_0xc78763));}function P(_0x57f2f9,_0xd6862){const _0x536700=_0x6628;for(const _0x1f38fd in _0x57f2f9){const _0x10b6d2=_0x57f2f9[_0x1f38fd];_0x536700(0x205)!==_0x1f38fd&&_0x29c8b2(_0x10b6d2)&&(_0x10b6d2[_0x536700(0x1f6)]&&(_0x10b6d2[_0x536700(0x1fa)]||_0x10b6d2[_0x536700(0x1fb)]||_0x10b6d2[_0x536700(0x1f3)])?_0x57f2f9[_0x1f38fd]=_0xd6862(_0x10b6d2):P(_0x10b6d2,_0xd6862));}return _0x57f2f9;}
|