@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.5 → 46.0.1-alpha.6
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
|
-
|
|
23
|
+
const _0x1aa457=_0x40f9;(function(_0x121c91,_0x22942f){const _0x1a7449=_0x40f9,_0x138f94=_0x121c91();while(!![]){try{const _0x281491=-parseInt(_0x1a7449(0xae))/0x1*(-parseInt(_0x1a7449(0xa3))/0x2)+-parseInt(_0x1a7449(0xab))/0x3*(parseInt(_0x1a7449(0xa4))/0x4)+parseInt(_0x1a7449(0x9f))/0x5*(parseInt(_0x1a7449(0xa1))/0x6)+-parseInt(_0x1a7449(0xa0))/0x7*(-parseInt(_0x1a7449(0xa6))/0x8)+parseInt(_0x1a7449(0xad))/0x9*(parseInt(_0x1a7449(0xa8))/0xa)+-parseInt(_0x1a7449(0xa2))/0xb+-parseInt(_0x1a7449(0xaa))/0xc;if(_0x281491===_0x22942f)break;else _0x138f94['push'](_0x138f94['shift']());}catch(_0x4a4010){_0x138f94['push'](_0x138f94['shift']());}}}(_0xca34,0x5455c));function _0x40f9(_0x1a8ac0,_0x24c7c1){const _0xca34e7=_0xca34();return _0x40f9=function(_0x40f9a2,_0x26fcb7){_0x40f9a2=_0x40f9a2-0x9f;let _0x5be7bc=_0xca34e7[_0x40f9a2];return _0x5be7bc;},_0x40f9(_0x1a8ac0,_0x24c7c1);}import{OperationCompressor as _0x31a44f}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x31a44f{[_0x1aa457(0xa7)](_0x4d9802,_0x5615d0){const _0x4883ba=_0x1aa457;super[_0x4883ba(0xa7)](_0x4d9802,_0x5615d0);const _0x3b87ad=_0x4d9802[_0x4d9802[_0x4883ba(0xa5)]-0x1];_0x3b87ad[_0x4883ba(0xac)]||(_0x3b87ad[_0x4883ba(0xac)]=null),_0x3b87ad[_0x4883ba(0xa9)]||(_0x3b87ad[_0x4883ba(0xa9)]=null);}}function _0xca34(){const _0xdfe80b=['1623796nzrHKU','length','8JsXjrE','decompress','10zwwuob','newRange','16504812bejWTI','3VDdJSQ','oldRange','3562569snIzyX','623030avhZBg','65LxRElI','4361147JfRWbf','244482tvIraj','492987DHIpFF','2knJmKj'];_0xca34=function(){return _0xdfe80b;};return _0xca34();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x47dcd2=_0x4572;function _0x3d3c(){var _0x2a931f=['_id','1onCdwV','5511RYRLYi','3423StxZag','1676395FffhIX','5054808RQfKyw','types','4408550jOVKOU','_operationName','618XaPdhs','21114HBNwuH','22yRXgmb','decompress','268nZXAHh','push','1414862JvbrhJ','shift','2360GdNFtN','compress'];_0x3d3c=function(){return _0x2a931f;};return _0x3d3c();}(function(_0x32b77b,_0x31c790){var _0xf77028=_0x4572,_0x3a4586=_0x32b77b();while(!![]){try{var _0x19eba8=parseInt(_0xf77028(0x1cc))/0x1*(parseInt(_0xf77028(0x1c7))/0x2)+-parseInt(_0xf77028(0x1cd))/0x3*(parseInt(_0xf77028(0x1c5))/0x4)+parseInt(_0xf77028(0x1cf))/0x5+parseInt(_0xf77028(0x1c1))/0x6*(parseInt(_0xf77028(0x1ce))/0x7)+parseInt(_0xf77028(0x1c9))/0x8*(parseInt(_0xf77028(0x1c2))/0x9)+-parseInt(_0xf77028(0x1bf))/0xa+-parseInt(_0xf77028(0x1c3))/0xb*(parseInt(_0xf77028(0x1d0))/0xc);if(_0x19eba8===_0x31c790)break;else _0x3a4586['push'](_0x3a4586['shift']());}catch(_0xf9c080){_0x3a4586['push'](_0x3a4586['shift']());}}}(_0x3d3c,0x5c779));function _0x4572(_0x48f585,_0x2d2df2){var _0x3d3c24=_0x3d3c();return _0x4572=function(_0x4572a9,_0x3059a1){_0x4572a9=_0x4572a9-0x1bf;var _0x58c32d=_0x3d3c24[_0x4572a9];return _0x58c32d;},_0x4572(_0x48f585,_0x2d2df2);}import{OperationCompressor as _0x2b3367}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2b3367{[_0x47dcd2(0x1ca)](_0x18f0dd,_0x1cbcfd){var _0x45ec78=_0x47dcd2;return _0x1cbcfd[_0x45ec78(0x1c8)](),_0x18f0dd[_0x45ec78(0x1d1)][_0x45ec78(0x1c6)](this[_0x45ec78(0x1cb)]),!0x0;}[_0x47dcd2(0x1c4)](_0x548bc7,_0x35238f){var _0x43d0e2=_0x47dcd2;_0x35238f[_0x43d0e2(0x1d1)][_0x43d0e2(0x1c8)](),_0x548bc7[_0x43d0e2(0x1c6)]({'__className':this[_0x43d0e2(0x1c0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d5d3c=_0x17a2;function _0x17a2(_0x48be60,_0x1d443e){const _0x4a9d64=_0x4a9d();return _0x17a2=function(_0x17a2d1,_0x1b06db){_0x17a2d1=_0x17a2d1-0xc9;let _0x53eca2=_0x4a9d64[_0x17a2d1];return _0x53eca2;},_0x17a2(_0x48be60,_0x1d443e);}(function(_0x3b039a,_0x700b3b){const _0x5cee33=_0x17a2,_0xa0defc=_0x3b039a();while(!![]){try{const _0x5ae11f=-parseInt(_0x5cee33(0xd7))/0x1*(-parseInt(_0x5cee33(0xcd))/0x2)+-parseInt(_0x5cee33(0xdb))/0x3+parseInt(_0x5cee33(0xd6))/0x4+parseInt(_0x5cee33(0xc9))/0x5*(parseInt(_0x5cee33(0xdc))/0x6)+parseInt(_0x5cee33(0xd4))/0x7+-parseInt(_0x5cee33(0xcb))/0x8+-parseInt(_0x5cee33(0xd9))/0x9*(-parseInt(_0x5cee33(0xd3))/0xa);if(_0x5ae11f===_0x700b3b)break;else _0xa0defc['push'](_0xa0defc['shift']());}catch(_0x10d3f1){_0xa0defc['push'](_0xa0defc['shift']());}}}(_0x4a9d,0x71b1c));function _0x4a9d(){const _0x4bcbda=['_protobufDescriptor','88170TWozhf','562856MstrVD','decompress','2966508cINeoU','37drmilt','_id','108FIEsPQ','_operationName','469014kDOQIW','858BVvlSZ','4030gZXSkJ','__className','5836288UpdypP','shift','16674cOqUWK','buffers','types','push','compress'];_0x4a9d=function(){return _0x4bcbda;};return _0x4a9d();}import{parsePositionBeforeCompression as _0x113879,parsePositionAfterCompression as _0x594f5f}from'../utils.js';export class OperationCompressor{[_0x2d5d3c(0xd8)];[_0x2d5d3c(0xda)];[_0x2d5d3c(0xd2)];constructor(_0x1da644,_0x241454,_0x17d2a8){const _0x461c91=_0x2d5d3c;this[_0x461c91(0xd8)]=_0x1da644,this[_0x461c91(0xda)]=_0x241454,this[_0x461c91(0xd2)]=_0x17d2a8;}[_0x2d5d3c(0xd1)](_0x1afe20,_0x2edd48){const _0x985880=_0x2d5d3c,_0x45a399=_0x2edd48[_0x985880(0xcc)]();return _0x113879(_0x45a399),_0x1afe20[_0x985880(0xce)][_0x985880(0xd0)](this[_0x985880(0xd2)][_0x985880(0xd1)](_0x45a399)),_0x1afe20[_0x985880(0xcf)][_0x985880(0xd0)](this[_0x985880(0xd8)]),!0x0;}[_0x2d5d3c(0xd5)](_0xb528d6,_0x839959){const _0x551041=_0x2d5d3c;_0x839959[_0x551041(0xcf)][_0x551041(0xcc)]();const _0x44b483=this[_0x551041(0xd2)][_0x551041(0xd5)](_0x839959[_0x551041(0xce)][_0x551041(0xcc)]());_0x594f5f(_0x44b483),_0x44b483[_0x551041(0xca)]=this[_0x551041(0xda)],_0xb528d6[_0x551041(0xd0)](_0x44b483);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e49a1=_0x54bc;(function(_0x569bfa,_0x4bab27){const _0x1b739a=_0x54bc,_0x5305c9=_0x569bfa();while(!![]){try{const _0x150583=-parseInt(_0x1b739a(0x78))/0x1*(-parseInt(_0x1b739a(0x82))/0x2)+-parseInt(_0x1b739a(0x7a))/0x3*(parseInt(_0x1b739a(0x80))/0x4)+parseInt(_0x1b739a(0x7f))/0x5*(-parseInt(_0x1b739a(0x7e))/0x6)+-parseInt(_0x1b739a(0x8d))/0x7+-parseInt(_0x1b739a(0x89))/0x8*(parseInt(_0x1b739a(0x8b))/0x9)+parseInt(_0x1b739a(0x8a))/0xa*(-parseInt(_0x1b739a(0x7d))/0xb)+parseInt(_0x1b739a(0x7b))/0xc;if(_0x150583===_0x4bab27)break;else _0x5305c9['push'](_0x5305c9['shift']());}catch(_0x18dff){_0x5305c9['push'](_0x5305c9['shift']());}}}(_0x1e43,0x9a3ec));import{messages as _0xe6e105}from'./lib/compiledmessages.js';function _0x54bc(_0x3db7dd,_0xcb886f){const _0x1e4306=_0x1e43();return _0x54bc=function(_0x54bc8b,_0x3ef7e6){_0x54bc8b=_0x54bc8b-0x77;let _0x1b3700=_0x1e4306[_0x54bc8b];return _0x1b3700;},_0x54bc(_0x3db7dd,_0xcb886f);}export class ProtobufFactory{[_0x4e49a1(0x84)];constructor(){const _0x2cfe40=_0x4e49a1;this[_0x2cfe40(0x84)]=_0xe6e105;}[_0x4e49a1(0x79)](_0x181e11){const _0x42141c=_0x4e49a1;return new ProtobufDescriptor(this[_0x42141c(0x84)][_0x181e11]);}}export class ProtobufDescriptor{[_0x4e49a1(0x7c)];constructor(_0x940cf3){const _0x41c785=_0x4e49a1;this[_0x41c785(0x7c)]=_0x940cf3;}[_0x4e49a1(0x86)](_0xdac735){const _0x4de4be=_0x4e49a1,_0x2b9b21=this[_0x4de4be(0x7c)][_0x4de4be(0x8c)](_0xdac735);if(_0x2b9b21)throw Error(_0x2b9b21);return this[_0x4de4be(0x7c)][_0x4de4be(0x83)](this[_0x4de4be(0x7c)][_0x4de4be(0x87)](_0xdac735))[_0x4de4be(0x77)]();}[_0x4e49a1(0x88)](_0x491620){const _0x12984d=_0x4e49a1;return this[_0x12984d(0x7c)][_0x12984d(0x85)](this[_0x12984d(0x7c)][_0x12984d(0x81)](_0x491620),{'oneofs':!0x0});}}function _0x1e43(){const _0x1098a2=['1917363uEqxUW','finish','36007PWgDep','getDescriptor','14775jnIyMF','43011288FXCulZ','_protobuf','760397YnUulh','18vkNhmU','1650120Bcanxh','976kndNCa','decode','62adknPT','encode','_protobufRoot','toObject','compress','create','decompress','1016cpCiQz','170sWXjJO','30321YEJzgr','verify'];_0x1e43=function(){return _0x1098a2;};return _0x1e43();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x259a(){const _0x30844f=['16AKeCuL','nodes','main','2633968JWTwIL','root','22864EIacud','$graveyard','rootGraveyard','1121615aITpiA','length','219JwywyM','path','rootMain','5108310lCqDWx','1807652LyohYF','965585icsLFk','3839256KDTQXP'];_0x259a=function(){return _0x30844f;};return _0x259a();}(function(_0x38be5d,_0x1a3e6c){const _0xf54497=_0x5db1,_0x2454e6=_0x38be5d();while(!![]){try{const _0x15fe6f=parseInt(_0xf54497(0x9b))/0x1+-parseInt(_0xf54497(0xa2))/0x2*(parseInt(_0xf54497(0x96))/0x3)+-parseInt(_0xf54497(0x9d))/0x4*(-parseInt(_0xf54497(0xa5))/0x5)+parseInt(_0xf54497(0x9c))/0x6+-parseInt(_0xf54497(0x9a))/0x7+-parseInt(_0xf54497(0xa0))/0x8+-parseInt(_0xf54497(0x99))/0x9;if(_0x15fe6f===_0x1a3e6c)break;else _0x2454e6['push'](_0x2454e6['shift']());}catch(_0x9f65d2){_0x2454e6['push'](_0x2454e6['shift']());}}}(_0x259a,0x7d479));import{cloneDeep as _0x33f375,isEqual as _0x2afcb9,isObject as _0x579f19}from'es-toolkit/compat';function _0x5db1(_0x25d38a,_0x5c11d2){const _0x259a83=_0x259a();return _0x5db1=function(_0x5db1ce,_0x364df4){_0x5db1ce=_0x5db1ce-0x95;let _0x52b8ad=_0x259a83[_0x5db1ce];return _0x52b8ad;},_0x5db1(_0x25d38a,_0x5c11d2);}export function getPositionShiftedBy(_0x569fdb,_0x5b5798){const _0x46c917=_0x5db1,_0x4fdb26=_0x33f375(_0x569fdb);return _0x4fdb26[_0x46c917(0x97)][_0x4fdb26[_0x46c917(0x97)][_0x46c917(0x95)]-0x1]+=_0x5b5798,_0x4fdb26;}export function arePositionsEqual(_0x1e005f,_0x244d3c){const _0x2142b0=_0x5db1;return _0x1e005f[_0x2142b0(0xa1)]===_0x244d3c[_0x2142b0(0xa1)]&&_0x2afcb9(_0x1e005f[_0x2142b0(0x97)],_0x244d3c[_0x2142b0(0x97)]);}export function parsePositionBeforeCompression(_0x5f17ff){const _0x2b53c0=_0x5db1;P(_0x5f17ff,_0x447175=>(_0x2b53c0(0x9f)==_0x447175[_0x2b53c0(0xa1)]?(_0x447175[_0x2b53c0(0x98)]=!0x0,delete _0x447175[_0x2b53c0(0xa1)]):_0x2b53c0(0xa3)==_0x447175[_0x2b53c0(0xa1)]&&(_0x447175[_0x2b53c0(0xa4)]=!0x0,delete _0x447175[_0x2b53c0(0xa1)]),_0x447175));}export function parsePositionAfterCompression(_0x9d5344){const _0x58c382=_0x5db1;P(_0x9d5344,_0x403c01=>(_0x403c01[_0x58c382(0x98)]?(_0x403c01[_0x58c382(0xa1)]=_0x58c382(0x9f),delete _0x403c01[_0x58c382(0x98)]):_0x403c01[_0x58c382(0xa4)]&&(_0x403c01[_0x58c382(0xa1)]=_0x58c382(0xa3),delete _0x403c01[_0x58c382(0xa4)]),_0x403c01));}function P(_0x5a3f04,_0x5ea1a1){const _0x276791=_0x5db1;for(const _0x127c4c in _0x5a3f04){const _0x29e7fa=_0x5a3f04[_0x127c4c];_0x276791(0x9e)!==_0x127c4c&&_0x579f19(_0x29e7fa)&&(_0x29e7fa[_0x276791(0x97)]&&(_0x29e7fa[_0x276791(0xa1)]||_0x29e7fa[_0x276791(0x98)]||_0x29e7fa[_0x276791(0xa4)])?_0x5a3f04[_0x127c4c]=_0x5ea1a1(_0x29e7fa):P(_0x29e7fa,_0x5ea1a1));}return _0x5a3f04;}
|