@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.5 → 46.0.0-alpha.7
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
|
-
function
|
|
23
|
+
function _0x76a8(_0x3a8a6e,_0x51883f){var _0x105936=_0x1059();return _0x76a8=function(_0x76a830,_0x527b77){_0x76a830=_0x76a830-0x141;var _0x162351=_0x105936[_0x76a830];return _0x162351;},_0x76a8(_0x3a8a6e,_0x51883f);}var _0xe5f7c5=_0x76a8;(function(_0x127108,_0x2821){var _0x2fec82=_0x76a8,_0x47ff94=_0x127108();while(!![]){try{var _0x33c3fe=-parseInt(_0x2fec82(0x147))/0x1*(parseInt(_0x2fec82(0x141))/0x2)+-parseInt(_0x2fec82(0x14e))/0x3+parseInt(_0x2fec82(0x14a))/0x4+-parseInt(_0x2fec82(0x143))/0x5*(-parseInt(_0x2fec82(0x149))/0x6)+-parseInt(_0x2fec82(0x144))/0x7+-parseInt(_0x2fec82(0x145))/0x8+parseInt(_0x2fec82(0x14d))/0x9;if(_0x33c3fe===_0x2821)break;else _0x47ff94['push'](_0x47ff94['shift']());}catch(_0x475dca){_0x47ff94['push'](_0x47ff94['shift']());}}}(_0x1059,0xdb0fe));import{OperationCompressor as _0x2edc1a}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2edc1a{[_0xe5f7c5(0x14c)](_0x3bd9b5,_0x1cc102){var _0x42c89c=_0xe5f7c5;return _0x1cc102[_0x42c89c(0x148)](),_0x3bd9b5[_0x42c89c(0x142)][_0x42c89c(0x146)](this[_0x42c89c(0x14f)]),!0x0;}[_0xe5f7c5(0x14b)](_0x28e8f7,_0x7ba1c3){var _0x4469b1=_0xe5f7c5;_0x7ba1c3[_0x4469b1(0x142)][_0x4469b1(0x148)](),_0x28e8f7[_0x4469b1(0x146)]({'__className':this[_0x4469b1(0x150)]});}}function _0x1059(){var _0x10533c=['shift','6546TBNhGN','1522420kbJHgo','decompress','compress','15870042ucVSbH','1538748nRWjPY','_id','_operationName','906sFKIlI','types','7590wTtVGC','10152023xjYBoo','5621432blIsTl','push','523cutlmU'];_0x1059=function(){return _0x10533c;};return _0x1059();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1804(){const _0x3fb17e=['6pQvdMt','15465550PwOAWW','511760OXdIxu','shift','201912QbYOkr','push','9eokXRk','2486645iOddHD','decompress','7lQylII','_operationName','1933UACZLj','buffers','types','1601256QtfELV','742uYLrwL','__className','compress','935pAUAij','_id','_protobufDescriptor','5846148vpNkxU'];_0x1804=function(){return _0x3fb17e;};return _0x1804();}const _0xb2ed1e=_0x1076;(function(_0x451327,_0x4cedd5){const _0x588f49=_0x1076,_0x5083bc=_0x451327();while(!![]){try{const _0x175223=-parseInt(_0x588f49(0x1b3))/0x1*(parseInt(_0x588f49(0x1b7))/0x2)+-parseInt(_0x588f49(0x1a8))/0x3*(parseInt(_0x588f49(0x1aa))/0x4)+parseInt(_0x588f49(0x1af))/0x5+parseInt(_0x588f49(0x1a7))/0x6+-parseInt(_0x588f49(0x1b1))/0x7*(-parseInt(_0x588f49(0x1b6))/0x8)+-parseInt(_0x588f49(0x1ae))/0x9*(-parseInt(_0x588f49(0x1a9))/0xa)+-parseInt(_0x588f49(0x1a4))/0xb*(parseInt(_0x588f49(0x1ac))/0xc);if(_0x175223===_0x4cedd5)break;else _0x5083bc['push'](_0x5083bc['shift']());}catch(_0x3b76dd){_0x5083bc['push'](_0x5083bc['shift']());}}}(_0x1804,0xc703e));function _0x1076(_0x1adb21,_0x2ecbf3){const _0x180483=_0x1804();return _0x1076=function(_0x1076c2,_0x2e8528){_0x1076c2=_0x1076c2-0x1a3;let _0x27d344=_0x180483[_0x1076c2];return _0x27d344;},_0x1076(_0x1adb21,_0x2ecbf3);}import{parsePositionBeforeCompression as _0x57d913,parsePositionAfterCompression as _0x15ae6d}from'../utils.js';export class OperationCompressor{[_0xb2ed1e(0x1a5)];[_0xb2ed1e(0x1b2)];[_0xb2ed1e(0x1a6)];constructor(_0x20731e,_0x24d708,_0x873bef){const _0x2e6cdc=_0xb2ed1e;this[_0x2e6cdc(0x1a5)]=_0x20731e,this[_0x2e6cdc(0x1b2)]=_0x24d708,this[_0x2e6cdc(0x1a6)]=_0x873bef;}[_0xb2ed1e(0x1a3)](_0x183536,_0x1c6ddc){const _0x33a970=_0xb2ed1e,_0x7dec3e=_0x1c6ddc[_0x33a970(0x1ab)]();return _0x57d913(_0x7dec3e),_0x183536[_0x33a970(0x1b4)][_0x33a970(0x1ad)](this[_0x33a970(0x1a6)][_0x33a970(0x1a3)](_0x7dec3e)),_0x183536[_0x33a970(0x1b5)][_0x33a970(0x1ad)](this[_0x33a970(0x1a5)]),!0x0;}[_0xb2ed1e(0x1b0)](_0x4b6273,_0x241beb){const _0x31f1b5=_0xb2ed1e;_0x241beb[_0x31f1b5(0x1b5)][_0x31f1b5(0x1ab)]();const _0x43d37b=this[_0x31f1b5(0x1a6)][_0x31f1b5(0x1b0)](_0x241beb[_0x31f1b5(0x1b4)][_0x31f1b5(0x1ab)]());_0x15ae6d(_0x43d37b),_0x43d37b[_0x31f1b5(0x1b8)]=this[_0x31f1b5(0x1b2)],_0x4b6273[_0x31f1b5(0x1ad)](_0x43d37b);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x40c0(){const _0x2cabf4=['_protobuf','finish','1043zuvDjF','compress','599840AxjUqv','439763zSRMiK','_protobufRoot','encode','4387575lhLqjg','getDescriptor','4eHRdTx','verify','create','decode','4205144IDBLrJ','decompress','10510188ETjqxY','2648Aobphf','35290035sVtauy','toObject'];_0x40c0=function(){return _0x2cabf4;};return _0x40c0();}function _0x306d(_0x50a6fe,_0x12ea10){const _0x40c0c6=_0x40c0();return _0x306d=function(_0x306d3f,_0x3dda18){_0x306d3f=_0x306d3f-0x134;let _0x43d4bf=_0x40c0c6[_0x306d3f];return _0x43d4bf;},_0x306d(_0x50a6fe,_0x12ea10);}const _0x49accc=_0x306d;(function(_0xcd45c6,_0x4d8859){const _0x3cdfd7=_0x306d,_0xb36353=_0xcd45c6();while(!![]){try{const _0x106cb5=parseInt(_0x3cdfd7(0x13e))/0x1*(-parseInt(_0x3cdfd7(0x143))/0x2)+-parseInt(_0x3cdfd7(0x141))/0x3+parseInt(_0x3cdfd7(0x147))/0x4+parseInt(_0x3cdfd7(0x13d))/0x5+-parseInt(_0x3cdfd7(0x135))/0x6+-parseInt(_0x3cdfd7(0x13b))/0x7*(parseInt(_0x3cdfd7(0x136))/0x8)+parseInt(_0x3cdfd7(0x137))/0x9;if(_0x106cb5===_0x4d8859)break;else _0xb36353['push'](_0xb36353['shift']());}catch(_0x1ca2e2){_0xb36353['push'](_0xb36353['shift']());}}}(_0x40c0,0xe7c35));import{messages as _0x21430b}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x49accc(0x13f)];constructor(){const _0x413c86=_0x49accc;this[_0x413c86(0x13f)]=_0x21430b;}[_0x49accc(0x142)](_0x452dde){const _0x641e56=_0x49accc;return new ProtobufDescriptor(this[_0x641e56(0x13f)][_0x452dde]);}}export class ProtobufDescriptor{[_0x49accc(0x139)];constructor(_0x46330f){const _0xe5369f=_0x49accc;this[_0xe5369f(0x139)]=_0x46330f;}[_0x49accc(0x13c)](_0x7e4a6a){const _0x3974e5=_0x49accc,_0x2688d8=this[_0x3974e5(0x139)][_0x3974e5(0x144)](_0x7e4a6a);if(_0x2688d8)throw Error(_0x2688d8);return this[_0x3974e5(0x139)][_0x3974e5(0x140)](this[_0x3974e5(0x139)][_0x3974e5(0x145)](_0x7e4a6a))[_0x3974e5(0x13a)]();}[_0x49accc(0x134)](_0x472962){const _0x49937e=_0x49accc;return this[_0x49937e(0x139)][_0x49937e(0x138)](this[_0x49937e(0x139)][_0x49937e(0x146)](_0x472962),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x475ee3,_0x262789){const _0x5006ba=_0x3bff,_0x1de2d0=_0x475ee3();while(!![]){try{const _0x419067=-parseInt(_0x5006ba(0x122))/0x1*(-parseInt(_0x5006ba(0x12b))/0x2)+-parseInt(_0x5006ba(0x12a))/0x3+-parseInt(_0x5006ba(0x129))/0x4*(parseInt(_0x5006ba(0x12c))/0x5)+parseInt(_0x5006ba(0x126))/0x6*(parseInt(_0x5006ba(0x131))/0x7)+-parseInt(_0x5006ba(0x121))/0x8*(parseInt(_0x5006ba(0x128))/0x9)+parseInt(_0x5006ba(0x12d))/0xa+-parseInt(_0x5006ba(0x12e))/0xb;if(_0x419067===_0x262789)break;else _0x1de2d0['push'](_0x1de2d0['shift']());}catch(_0x28fcfe){_0x1de2d0['push'](_0x1de2d0['shift']());}}}(_0x4375,0xc3f53));import{cloneDeep as _0x44805a,isEqual as _0x3a497b,isObject as _0x18be8f}from'es-toolkit/compat';function _0x3bff(_0x1c3fc5,_0x1bcde5){const _0x43757e=_0x4375();return _0x3bff=function(_0x3bff21,_0x187939){_0x3bff21=_0x3bff21-0x120;let _0x26aaaa=_0x43757e[_0x3bff21];return _0x26aaaa;},_0x3bff(_0x1c3fc5,_0x1bcde5);}export function getPositionShiftedBy(_0x11a91a,_0x2945eb){const _0x11f305=_0x3bff,_0x583c52=_0x44805a(_0x11a91a);return _0x583c52[_0x11f305(0x125)][_0x583c52[_0x11f305(0x125)][_0x11f305(0x127)]-0x1]+=_0x2945eb,_0x583c52;}export function arePositionsEqual(_0x5da4ae,_0x3f8365){const _0x12c4fe=_0x3bff;return _0x5da4ae[_0x12c4fe(0x12f)]===_0x3f8365[_0x12c4fe(0x12f)]&&_0x3a497b(_0x5da4ae[_0x12c4fe(0x125)],_0x3f8365[_0x12c4fe(0x125)]);}export function parsePositionBeforeCompression(_0x1c7750){const _0x3b264e=_0x3bff;P(_0x1c7750,_0xac228d=>(_0x3b264e(0x124)==_0xac228d[_0x3b264e(0x12f)]?(_0xac228d[_0x3b264e(0x123)]=!0x0,delete _0xac228d[_0x3b264e(0x12f)]):_0x3b264e(0x120)==_0xac228d[_0x3b264e(0x12f)]&&(_0xac228d[_0x3b264e(0x130)]=!0x0,delete _0xac228d[_0x3b264e(0x12f)]),_0xac228d));}export function parsePositionAfterCompression(_0x28914a){const _0x2eebbe=_0x3bff;P(_0x28914a,_0x396fff=>(_0x396fff[_0x2eebbe(0x123)]?(_0x396fff[_0x2eebbe(0x12f)]=_0x2eebbe(0x124),delete _0x396fff[_0x2eebbe(0x123)]):_0x396fff[_0x2eebbe(0x130)]&&(_0x396fff[_0x2eebbe(0x12f)]=_0x2eebbe(0x120),delete _0x396fff[_0x2eebbe(0x130)]),_0x396fff));}function _0x4375(){const _0x1a98e1=['main','path','6sEZmjS','length','19152QXspNt','172QZTUfn','2764683jVIrfY','4JZVZre','28770UYwzvq','358490ETlNVH','528935PCBcIt','root','rootGraveyard','7387604UuJHXP','nodes','$graveyard','1928QdMAZG','720669tLVwAM','rootMain'];_0x4375=function(){return _0x1a98e1;};return _0x4375();}function P(_0x5cd482,_0x4056af){const _0x2fcb98=_0x3bff;for(const _0x18ecd5 in _0x5cd482){const _0x3a3b3c=_0x5cd482[_0x18ecd5];_0x2fcb98(0x132)!==_0x18ecd5&&_0x18be8f(_0x3a3b3c)&&(_0x3a3b3c[_0x2fcb98(0x125)]&&(_0x3a3b3c[_0x2fcb98(0x12f)]||_0x3a3b3c[_0x2fcb98(0x123)]||_0x3a3b3c[_0x2fcb98(0x130)])?_0x5cd482[_0x18ecd5]=_0x4056af(_0x3a3b3c):P(_0x3a3b3c,_0x4056af));}return _0x5cd482;}
|