@ckeditor/ckeditor5-operations-compressor 44.3.0-alpha.6 → 44.3.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
|
-
var
|
|
23
|
+
var _0x109223=_0x44f0;(function(_0x4b5428,_0x417445){var _0x5a2e90=_0x44f0,_0x27bb12=_0x4b5428();while(!![]){try{var _0x546f8f=-parseInt(_0x5a2e90(0x178))/0x1*(parseInt(_0x5a2e90(0x17c))/0x2)+parseInt(_0x5a2e90(0x16f))/0x3+-parseInt(_0x5a2e90(0x173))/0x4*(-parseInt(_0x5a2e90(0x176))/0x5)+-parseInt(_0x5a2e90(0x179))/0x6*(-parseInt(_0x5a2e90(0x171))/0x7)+parseInt(_0x5a2e90(0x175))/0x8+parseInt(_0x5a2e90(0x17e))/0x9*(-parseInt(_0x5a2e90(0x17b))/0xa)+parseInt(_0x5a2e90(0x17f))/0xb;if(_0x546f8f===_0x417445)break;else _0x27bb12['push'](_0x27bb12['shift']());}catch(_0x1cbec9){_0x27bb12['push'](_0x27bb12['shift']());}}}(_0x43b9,0x5bbd2));function _0x44f0(_0x3a6f9f,_0x4abe10){var _0x43b9ac=_0x43b9();return _0x44f0=function(_0x44f0f8,_0x473d82){_0x44f0f8=_0x44f0f8-0x16f;var _0x454e05=_0x43b9ac[_0x44f0f8];return _0x454e05;},_0x44f0(_0x3a6f9f,_0x4abe10);}import _0x107b71 from'./operationcompressor.js';function _0x43b9(){var _0x17ceb9=['push','994EescbF','decompress','28xoPuxu','_id','545376ffkEKm','196030VckYMv','compress','2cBGRfA','11946poJgQX','types','130Bmfuhd','279374NsqCaS','_operationName','457956YKhIEL','6383168WJurWy','shift','333012MxPHfU'];_0x43b9=function(){return _0x17ceb9;};return _0x43b9();}export default class p extends _0x107b71{[_0x109223(0x177)](_0x176423,_0xd78e06){var _0x7d4c5=_0x109223;return _0xd78e06[_0x7d4c5(0x180)](),_0x176423[_0x7d4c5(0x17a)][_0x7d4c5(0x170)](this[_0x7d4c5(0x174)]),!0x0;}[_0x109223(0x172)](_0x29daa5,_0x307fae){var _0x58acac=_0x109223;_0x307fae[_0x58acac(0x17a)][_0x58acac(0x180)](),_0x29daa5[_0x58acac(0x170)]({'__className':this[_0x58acac(0x17d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x34de(_0x1aed20,_0x437f19){const _0x1d3ecd=_0x1d3e();return _0x34de=function(_0x34de95,_0x4498ed){_0x34de95=_0x34de95-0xd6;let _0x154051=_0x1d3ecd[_0x34de95];return _0x154051;},_0x34de(_0x1aed20,_0x437f19);}const _0x38f411=_0x34de;(function(_0x238608,_0xa9d977){const _0x7fe60e=_0x34de,_0x27e40f=_0x238608();while(!![]){try{const _0x5bebf6=parseInt(_0x7fe60e(0xdc))/0x1+-parseInt(_0x7fe60e(0xe8))/0x2+parseInt(_0x7fe60e(0xea))/0x3*(-parseInt(_0x7fe60e(0xde))/0x4)+parseInt(_0x7fe60e(0xe1))/0x5*(-parseInt(_0x7fe60e(0xe4))/0x6)+parseInt(_0x7fe60e(0xd7))/0x7*(-parseInt(_0x7fe60e(0xdf))/0x8)+-parseInt(_0x7fe60e(0xda))/0x9+parseInt(_0x7fe60e(0xe7))/0xa*(parseInt(_0x7fe60e(0xe9))/0xb);if(_0x5bebf6===_0xa9d977)break;else _0x27e40f['push'](_0x27e40f['shift']());}catch(_0x1ae9d6){_0x27e40f['push'](_0x27e40f['shift']());}}}(_0x1d3e,0x4d20b));function _0x1d3e(){const _0x673b31=['11301LtHLoU','decompress','7NbZdiw','compress','types','4473450XliMNl','_id','420505zMDyZZ','shift','100pgMzju','602024XLpxzw','buffers','55wRiAbF','_operationName','push','104268ESqIcT','_protobufDescriptor','__className','407090kZnMOW','366522TLrkFA','253ZDzvox'];_0x1d3e=function(){return _0x673b31;};return _0x1d3e();}import{parsePositionBeforeCompression as _0x26dd5e,parsePositionAfterCompression as _0x28eaf9}from'../utils.js';export default class e{constructor(_0x52c473,_0x5cd3e3,_0x3fc282){const _0x40fdbe=_0x34de;this[_0x40fdbe(0xdb)]=_0x52c473,this[_0x40fdbe(0xe2)]=_0x5cd3e3,this[_0x40fdbe(0xe5)]=_0x3fc282;}[_0x38f411(0xd8)](_0x30bc52,_0x507c00){const _0x180dcb=_0x38f411,_0x7695a2=_0x507c00[_0x180dcb(0xdd)]();return _0x26dd5e(_0x7695a2),_0x30bc52[_0x180dcb(0xe0)][_0x180dcb(0xe3)](this[_0x180dcb(0xe5)][_0x180dcb(0xd8)](_0x7695a2)),_0x30bc52[_0x180dcb(0xd9)][_0x180dcb(0xe3)](this[_0x180dcb(0xdb)]),!0x0;}[_0x38f411(0xd6)](_0x14292c,_0x377314){const _0x39174d=_0x38f411;_0x377314[_0x39174d(0xd9)][_0x39174d(0xdd)]();const _0x3dfd26=this[_0x39174d(0xe5)][_0x39174d(0xd6)](_0x377314[_0x39174d(0xe0)][_0x39174d(0xdd)]());_0x28eaf9(_0x3dfd26),_0x3dfd26[_0x39174d(0xe6)]=this[_0x39174d(0xe2)],_0x14292c[_0x39174d(0xe3)](_0x3dfd26);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48cb9d=_0x4401;(function(_0x596910,_0x12fc83){const _0x275d65=_0x4401,_0x1974e4=_0x596910();while(!![]){try{const _0x12b734=parseInt(_0x275d65(0x14b))/0x1*(-parseInt(_0x275d65(0x155))/0x2)+-parseInt(_0x275d65(0x151))/0x3+-parseInt(_0x275d65(0x150))/0x4*(-parseInt(_0x275d65(0x148))/0x5)+parseInt(_0x275d65(0x143))/0x6+parseInt(_0x275d65(0x144))/0x7+-parseInt(_0x275d65(0x145))/0x8+-parseInt(_0x275d65(0x142))/0x9*(-parseInt(_0x275d65(0x14a))/0xa);if(_0x12b734===_0x12fc83)break;else _0x1974e4['push'](_0x1974e4['shift']());}catch(_0x5a2e69){_0x1974e4['push'](_0x1974e4['shift']());}}}(_0x47a7,0x6f7f2));import{messages as _0x2f44a8}from'./lib/compiledmessages.js';function _0x47a7(){const _0x3ef6ba=['decompress','decode','10KvaOmt','_protobufRoot','131860nqMfqz','20551QaJKZJ','_protobuf','create','getDescriptor','compress','1715280bLuYwe','1296054FcUkkf','finish','toObject','encode','18BYsDID','verify','36OqFuWx','850554cZvjPI','5876451CmjWwM','6543752JdufiN'];_0x47a7=function(){return _0x3ef6ba;};return _0x47a7();}function _0x4401(_0x51c238,_0x2479fb){const _0x47a7f1=_0x47a7();return _0x4401=function(_0x44015c,_0x4c1a21){_0x44015c=_0x44015c-0x142;let _0x272669=_0x47a7f1[_0x44015c];return _0x272669;},_0x4401(_0x51c238,_0x2479fb);}export default class r{constructor(){const _0x285ee2=_0x4401;this[_0x285ee2(0x149)]=_0x2f44a8;}[_0x48cb9d(0x14e)](_0x4abeff){const _0x35f7db=_0x48cb9d;return new ProtobufDescriptor(this[_0x35f7db(0x149)][_0x4abeff]);}}export class ProtobufDescriptor{constructor(_0x948d31){const _0x300ba6=_0x48cb9d;this[_0x300ba6(0x14c)]=_0x948d31;}[_0x48cb9d(0x14f)](_0x12a66c){const _0x560fc1=_0x48cb9d,_0x33ac6f=this[_0x560fc1(0x14c)][_0x560fc1(0x156)](_0x12a66c);if(_0x33ac6f)throw Error(_0x33ac6f);return this[_0x560fc1(0x14c)][_0x560fc1(0x154)](this[_0x560fc1(0x14c)][_0x560fc1(0x14d)](_0x12a66c))[_0x560fc1(0x152)]();}[_0x48cb9d(0x146)](_0x1c7923){const _0x1ad938=_0x48cb9d;return this[_0x1ad938(0x14c)][_0x1ad938(0x153)](this[_0x1ad938(0x14c)][_0x1ad938(0x147)](_0x1c7923),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa10384,_0x206cbc){const _0x59e432=_0x5f14,_0x34ffbf=_0xa10384();while(!![]){try{const _0x4a8ce7=-parseInt(_0x59e432(0x1d3))/0x1*(parseInt(_0x59e432(0x1c8))/0x2)+-parseInt(_0x59e432(0x1d7))/0x3+-parseInt(_0x59e432(0x1d8))/0x4+-parseInt(_0x59e432(0x1d1))/0x5*(-parseInt(_0x59e432(0x1d6))/0x6)+-parseInt(_0x59e432(0x1c7))/0x7*(-parseInt(_0x59e432(0x1cd))/0x8)+-parseInt(_0x59e432(0x1c9))/0x9+-parseInt(_0x59e432(0x1d0))/0xa*(-parseInt(_0x59e432(0x1c6))/0xb);if(_0x4a8ce7===_0x206cbc)break;else _0x34ffbf['push'](_0x34ffbf['shift']());}catch(_0x20396){_0x34ffbf['push'](_0x34ffbf['shift']());}}}(_0x4ea7,0x77553));import{cloneDeep as _0x23eb00,isEqual as _0x55b90b,isObject as _0x2598a1}from'lodash-es';export function getPositionShiftedBy(_0x9ca3e8,_0x38f1b8){const _0x492211=_0x5f14,_0xa5829d=_0x23eb00(_0x9ca3e8);return _0xa5829d[_0x492211(0x1cc)][_0xa5829d[_0x492211(0x1cc)][_0x492211(0x1d2)]-0x1]+=_0x38f1b8,_0xa5829d;}function _0x4ea7(){const _0x1404ab=['11800lxvaJu','length','53724JUKAgG','root','rootMain','852WDVNgx','696177euyegT','1629924rJrhMY','18310336pJIfXM','322WrWhVK','8WvReai','7361811kOgagR','nodes','$graveyard','path','28088uCECqM','rootGraveyard','main','10bbjMUh'];_0x4ea7=function(){return _0x1404ab;};return _0x4ea7();}function _0x5f14(_0x67f1a4,_0x57fcae){const _0x4ea738=_0x4ea7();return _0x5f14=function(_0x5f14bd,_0x502252){_0x5f14bd=_0x5f14bd-0x1c6;let _0x374b58=_0x4ea738[_0x5f14bd];return _0x374b58;},_0x5f14(_0x67f1a4,_0x57fcae);}export function arePositionsEqual(_0x2eebcd,_0x43b1d7){const _0x41ef02=_0x5f14;return _0x2eebcd[_0x41ef02(0x1d4)]===_0x43b1d7[_0x41ef02(0x1d4)]&&_0x55b90b(_0x2eebcd[_0x41ef02(0x1cc)],_0x43b1d7[_0x41ef02(0x1cc)]);}export function parsePositionBeforeCompression(_0x4b3a1a){const _0x57d170=_0x5f14;P(_0x4b3a1a,_0x10aea0=>(_0x57d170(0x1cf)==_0x10aea0[_0x57d170(0x1d4)]?(_0x10aea0[_0x57d170(0x1d5)]=!0x0,delete _0x10aea0[_0x57d170(0x1d4)]):_0x57d170(0x1cb)==_0x10aea0[_0x57d170(0x1d4)]&&(_0x10aea0[_0x57d170(0x1ce)]=!0x0,delete _0x10aea0[_0x57d170(0x1d4)]),_0x10aea0));}export function parsePositionAfterCompression(_0x1b1060){const _0x18ed24=_0x5f14;P(_0x1b1060,_0x5a906c=>(_0x5a906c[_0x18ed24(0x1d5)]?(_0x5a906c[_0x18ed24(0x1d4)]=_0x18ed24(0x1cf),delete _0x5a906c[_0x18ed24(0x1d5)]):_0x5a906c[_0x18ed24(0x1ce)]&&(_0x5a906c[_0x18ed24(0x1d4)]=_0x18ed24(0x1cb),delete _0x5a906c[_0x18ed24(0x1ce)]),_0x5a906c));}function P(_0x5b0b5a,_0x1fc237){const _0x3075f9=_0x5f14;for(const _0x450a71 in _0x5b0b5a){const _0x380f33=_0x5b0b5a[_0x450a71];_0x3075f9(0x1ca)!==_0x450a71&&_0x2598a1(_0x380f33)&&(_0x380f33[_0x3075f9(0x1cc)]&&(_0x380f33[_0x3075f9(0x1d4)]||_0x380f33[_0x3075f9(0x1d5)]||_0x380f33[_0x3075f9(0x1ce)])?_0x5b0b5a[_0x450a71]=_0x1fc237(_0x380f33):P(_0x380f33,_0x1fc237));}return _0x5b0b5a;}
|