@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.1 → 44.0.0-alpha.3
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 _0x19edbc=_0x239f;function _0x3ebe(){var _0x53482b=['1863684NHOOsC','decompress','8yVQpeh','6726177JhbSuA','types','5176805OdizHt','shift','6eelLBf','6516192ROeWKs','_operationName','297893qPIlnl','2003646HxgIQk','7967729uNReEE','compress','push','_id'];_0x3ebe=function(){return _0x53482b;};return _0x3ebe();}function _0x239f(_0xdae3ac,_0x51aba1){var _0x3ebe24=_0x3ebe();return _0x239f=function(_0x239fdd,_0x3f87c2){_0x239fdd=_0x239fdd-0x1e8;var _0x257577=_0x3ebe24[_0x239fdd];return _0x257577;},_0x239f(_0xdae3ac,_0x51aba1);}(function(_0x27d88f,_0x3a8d97){var _0x3d6d1e=_0x239f,_0x3b4897=_0x27d88f();while(!![]){try{var _0x501e3b=-parseInt(_0x3d6d1e(0x1f0))/0x1*(-parseInt(_0x3d6d1e(0x1e8))/0x2)+parseInt(_0x3d6d1e(0x1f1))/0x3+parseInt(_0x3d6d1e(0x1f6))/0x4+-parseInt(_0x3d6d1e(0x1eb))/0x5+-parseInt(_0x3d6d1e(0x1ed))/0x6*(-parseInt(_0x3d6d1e(0x1f2))/0x7)+-parseInt(_0x3d6d1e(0x1ee))/0x8+-parseInt(_0x3d6d1e(0x1e9))/0x9;if(_0x501e3b===_0x3a8d97)break;else _0x3b4897['push'](_0x3b4897['shift']());}catch(_0x5723a3){_0x3b4897['push'](_0x3b4897['shift']());}}}(_0x3ebe,0xd3850));import _0x1e8524 from'./operationcompressor.js';export default class p extends _0x1e8524{[_0x19edbc(0x1f3)](_0x178d8f,_0x161d98){var _0x1faa79=_0x19edbc;return _0x161d98[_0x1faa79(0x1ec)](),_0x178d8f[_0x1faa79(0x1ea)][_0x1faa79(0x1f4)](this[_0x1faa79(0x1f5)]),!0x0;}[_0x19edbc(0x1f7)](_0x3cd7fd,_0x24305b){var _0x1c5f1f=_0x19edbc;_0x24305b[_0x1c5f1f(0x1ea)][_0x1c5f1f(0x1ec)](),_0x3cd7fd[_0x1c5f1f(0x1f4)]({'__className':this[_0x1c5f1f(0x1ef)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1caa8c=_0x4796;(function(_0x4cb3d7,_0xe88fec){const _0x57d1b2=_0x4796,_0x12b06e=_0x4cb3d7();while(!![]){try{const _0x4f5379=-parseInt(_0x57d1b2(0x199))/0x1+-parseInt(_0x57d1b2(0x18a))/0x2*(-parseInt(_0x57d1b2(0x18b))/0x3)+parseInt(_0x57d1b2(0x18d))/0x4*(parseInt(_0x57d1b2(0x195))/0x5)+-parseInt(_0x57d1b2(0x190))/0x6+-parseInt(_0x57d1b2(0x193))/0x7+parseInt(_0x57d1b2(0x189))/0x8*(parseInt(_0x57d1b2(0x18c))/0x9)+parseInt(_0x57d1b2(0x187))/0xa;if(_0x4f5379===_0xe88fec)break;else _0x12b06e['push'](_0x12b06e['shift']());}catch(_0x2cf26a){_0x12b06e['push'](_0x12b06e['shift']());}}}(_0x1a45,0x94d32));import{parsePositionBeforeCompression as _0x4c013a,parsePositionAfterCompression as _0x3350a8}from'../utils.js';function _0x4796(_0x2d0cfe,_0x2cac51){const _0x1a457a=_0x1a45();return _0x4796=function(_0x479602,_0xc8d517){_0x479602=_0x479602-0x187;let _0x368eac=_0x1a457a[_0x479602];return _0x368eac;},_0x4796(_0x2d0cfe,_0x2cac51);}export default class e{constructor(_0x5c1c5b,_0x4b066b,_0x24e684){const _0x2360e0=_0x4796;this[_0x2360e0(0x188)]=_0x5c1c5b,this[_0x2360e0(0x194)]=_0x4b066b,this[_0x2360e0(0x196)]=_0x24e684;}[_0x1caa8c(0x18e)](_0x2040b6,_0x787a14){const _0x2ddaf1=_0x1caa8c,_0x576b7c=_0x787a14[_0x2ddaf1(0x197)]();return _0x4c013a(_0x576b7c),_0x2040b6[_0x2ddaf1(0x18f)][_0x2ddaf1(0x19a)](this[_0x2ddaf1(0x196)][_0x2ddaf1(0x18e)](_0x576b7c)),_0x2040b6[_0x2ddaf1(0x191)][_0x2ddaf1(0x19a)](this[_0x2ddaf1(0x188)]),!0x0;}[_0x1caa8c(0x192)](_0x35ee20,_0x4abded){const _0xcf0a01=_0x1caa8c;_0x4abded[_0xcf0a01(0x191)][_0xcf0a01(0x197)]();const _0x108d65=this[_0xcf0a01(0x196)][_0xcf0a01(0x192)](_0x4abded[_0xcf0a01(0x18f)][_0xcf0a01(0x197)]());_0x3350a8(_0x108d65),_0x108d65[_0xcf0a01(0x198)]=this[_0xcf0a01(0x194)],_0x35ee20[_0xcf0a01(0x19a)](_0x108d65);}}function _0x1a45(){const _0x296ecc=['compress','buffers','3520176zwDdOH','types','decompress','3721480nrNnme','_operationName','8075PoTVCy','_protobufDescriptor','shift','__className','1057962jgkXpy','push','15397000HoZzmx','_id','152BQUBpu','108716ShVjQb','21XgFOhc','355743EDeElp','284ejWPak'];_0x1a45=function(){return _0x296ecc;};return _0x1a45();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d3b5b=_0x89f3;function _0x2d0d(){const _0x21f2a2=['_protobuf','getDescriptor','308REGvBr','1904658foBOWa','640690IiYmQb','verify','237411vCGJcH','135khcmQt','_protobufRoot','compress','949698ykssdn','2866182LWWXsL','create','encode','199608VmRbBG','decode','toObject','finish','2325CdGtir','decompress'];_0x2d0d=function(){return _0x21f2a2;};return _0x2d0d();}(function(_0x24fa22,_0x4ead67){const _0x85a882=_0x89f3,_0x186f76=_0x24fa22();while(!![]){try{const _0x3cc759=-parseInt(_0x85a882(0x1c1))/0x1+parseInt(_0x85a882(0x1bf))/0x2+-parseInt(_0x85a882(0x1c5))/0x3+parseInt(_0x85a882(0x1bd))/0x4*(parseInt(_0x85a882(0x1cd))/0x5)+parseInt(_0x85a882(0x1c6))/0x6+-parseInt(_0x85a882(0x1be))/0x7+parseInt(_0x85a882(0x1c9))/0x8*(parseInt(_0x85a882(0x1c2))/0x9);if(_0x3cc759===_0x4ead67)break;else _0x186f76['push'](_0x186f76['shift']());}catch(_0x286c70){_0x186f76['push'](_0x186f76['shift']());}}}(_0x2d0d,0x5d459));function _0x89f3(_0x4426b7,_0x4857f8){const _0x2d0dbd=_0x2d0d();return _0x89f3=function(_0x89f317,_0x54ed0a){_0x89f317=_0x89f317-0x1bb;let _0x176f6c=_0x2d0dbd[_0x89f317];return _0x176f6c;},_0x89f3(_0x4426b7,_0x4857f8);}import{messages as _0x53f28f}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x782775=_0x89f3;this[_0x782775(0x1c3)]=_0x53f28f;}[_0x5d3b5b(0x1bc)](_0x1bb124){const _0x50b352=_0x5d3b5b;return new ProtobufDescriptor(this[_0x50b352(0x1c3)][_0x1bb124]);}}export class ProtobufDescriptor{constructor(_0x415772){const _0xf0dbdd=_0x5d3b5b;this[_0xf0dbdd(0x1bb)]=_0x415772;}[_0x5d3b5b(0x1c4)](_0x3c7ba6){const _0x5c1b0b=_0x5d3b5b,_0x52d318=this[_0x5c1b0b(0x1bb)][_0x5c1b0b(0x1c0)](_0x3c7ba6);if(_0x52d318)throw Error(_0x52d318);return this[_0x5c1b0b(0x1bb)][_0x5c1b0b(0x1c8)](this[_0x5c1b0b(0x1bb)][_0x5c1b0b(0x1c7)](_0x3c7ba6))[_0x5c1b0b(0x1cc)]();}[_0x5d3b5b(0x1ce)](_0x118989){const _0x489327=_0x5d3b5b;return this[_0x489327(0x1bb)][_0x489327(0x1cb)](this[_0x489327(0x1bb)][_0x489327(0x1ca)](_0x118989),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x213d(_0x17e8cb,_0x1cb890){const _0x1452ec=_0x1452();return _0x213d=function(_0x213d32,_0x2ec760){_0x213d32=_0x213d32-0xf5;let _0x252d11=_0x1452ec[_0x213d32];return _0x252d11;},_0x213d(_0x17e8cb,_0x1cb890);}function _0x1452(){const _0x204b41=['length','rootGraveyard','rootMain','7436742RbiofY','root','main','9mFesTA','968506bXmnnM','path','7970pZjQnO','12837rKkFcg','1288312ulpBCC','707228iERRoj','1182914OoDnAi','6HUhZeU','$graveyard','1GzTAEV','4600930pawEaj','nodes'];_0x1452=function(){return _0x204b41;};return _0x1452();}(function(_0x468f43,_0x24039b){const _0xb00452=_0x213d,_0x2938ca=_0x468f43();while(!![]){try{const _0xb1452b=-parseInt(_0xb00452(0x105))/0x1*(-parseInt(_0xb00452(0x102))/0x2)+parseInt(_0xb00452(0x103))/0x3*(parseInt(_0xb00452(0x101))/0x4)+-parseInt(_0xb00452(0x106))/0x5+parseInt(_0xb00452(0xf8))/0x6+parseInt(_0xb00452(0xfc))/0x7+parseInt(_0xb00452(0x100))/0x8*(parseInt(_0xb00452(0xfb))/0x9)+parseInt(_0xb00452(0xfe))/0xa*(-parseInt(_0xb00452(0xff))/0xb);if(_0xb1452b===_0x24039b)break;else _0x2938ca['push'](_0x2938ca['shift']());}catch(_0x77e11d){_0x2938ca['push'](_0x2938ca['shift']());}}}(_0x1452,0x9ab28));import{cloneDeep as _0x10b5c7,isEqual as _0x1c1c0c,isObject as _0x599d6a}from'lodash-es';export function getPositionShiftedBy(_0x585dfe,_0x3597a7){const _0x5073f7=_0x213d,_0x3d7ae9=_0x10b5c7(_0x585dfe);return _0x3d7ae9[_0x5073f7(0xfd)][_0x3d7ae9[_0x5073f7(0xfd)][_0x5073f7(0xf5)]-0x1]+=_0x3597a7,_0x3d7ae9;}export function arePositionsEqual(_0x5cf1bb,_0x4e75af){const _0x1ae9b9=_0x213d;return _0x5cf1bb[_0x1ae9b9(0xf9)]===_0x4e75af[_0x1ae9b9(0xf9)]&&_0x1c1c0c(_0x5cf1bb[_0x1ae9b9(0xfd)],_0x4e75af[_0x1ae9b9(0xfd)]);}export function parsePositionBeforeCompression(_0x255b1a){const _0x5455e8=_0x213d;P(_0x255b1a,_0x18f1c5=>(_0x5455e8(0xfa)==_0x18f1c5[_0x5455e8(0xf9)]?(_0x18f1c5[_0x5455e8(0xf7)]=!0x0,delete _0x18f1c5[_0x5455e8(0xf9)]):_0x5455e8(0x104)==_0x18f1c5[_0x5455e8(0xf9)]&&(_0x18f1c5[_0x5455e8(0xf6)]=!0x0,delete _0x18f1c5[_0x5455e8(0xf9)]),_0x18f1c5));}export function parsePositionAfterCompression(_0x55deaf){const _0x3531c6=_0x213d;P(_0x55deaf,_0xa3d2e6=>(_0xa3d2e6[_0x3531c6(0xf7)]?(_0xa3d2e6[_0x3531c6(0xf9)]=_0x3531c6(0xfa),delete _0xa3d2e6[_0x3531c6(0xf7)]):_0xa3d2e6[_0x3531c6(0xf6)]&&(_0xa3d2e6[_0x3531c6(0xf9)]=_0x3531c6(0x104),delete _0xa3d2e6[_0x3531c6(0xf6)]),_0xa3d2e6));}function P(_0x40cd1a,_0x19376b){const _0x526655=_0x213d;for(const _0x283f51 in _0x40cd1a){const _0x518549=_0x40cd1a[_0x283f51];_0x526655(0x107)!==_0x283f51&&_0x599d6a(_0x518549)&&(_0x518549[_0x526655(0xfd)]&&(_0x518549[_0x526655(0xf9)]||_0x518549[_0x526655(0xf7)]||_0x518549[_0x526655(0xf6)])?_0x40cd1a[_0x283f51]=_0x19376b(_0x518549):P(_0x518549,_0x19376b));}return _0x40cd1a;}
|