@ckeditor/ckeditor5-operations-compressor 47.4.0-alpha.0 → 47.4.0-alpha.2
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 _0xe6bd(){const _0x2ac000=['_getCompressorByName','$graveyard','506569hhDOoq','_context','1650264reLgmz','MoveOperation','root','27356sIDDxc','howMany','1960510SUVswy','_compressSingleOperation','929766ycNcMZ','_checkOperation','_splitCurrent','70VLMnVI','9KRLlqG','__className','9756bsBXoM','65UbBhtG','sourcePosition','decompress','_compareOperations','targetPosition','compress','10757428lqLqsQ','buffers','_combineNext','_decompressSingleOperation','wasUndone','8UJFNlE'];_0xe6bd=function(){return _0x2ac000;};return _0xe6bd();}const _0x37d036=_0x2e0e;(function(_0x48938f,_0x20f25c){const _0x2576bb=_0x2e0e,_0x467e75=_0x48938f();while(!![]){try{const _0x11a785=parseInt(_0x2576bb(0xca))/0x1*(-parseInt(_0x2576bb(0xcd))/0x2)+-parseInt(_0x2576bb(0xc7))/0x3+parseInt(_0x2576bb(0xc3))/0x4*(-parseInt(_0x2576bb(0xce))/0x5)+-parseInt(_0x2576bb(0xde))/0x6+-parseInt(_0x2576bb(0xdc))/0x7*(-parseInt(_0x2576bb(0xd9))/0x8)+-parseInt(_0x2576bb(0xcb))/0x9*(-parseInt(_0x2576bb(0xc5))/0xa)+parseInt(_0x2576bb(0xd4))/0xb;if(_0x11a785===_0x20f25c)break;else _0x467e75['push'](_0x467e75['shift']());}catch(_0x45df14){_0x467e75['push'](_0x467e75['shift']());}}}(_0xe6bd,0x38679));import{ActionCompressor as _0x334499}from'./actioncompressor.js';import{arePositionsEqual as _0xb12a03,getPositionShiftedBy as _0x52287e}from'../utils.js';import{cloneDeep as _0x3ef7cc}from'es-toolkit/compat';function _0x2e0e(_0x362cc7,_0x3f96df){const _0xe6bd3d=_0xe6bd();return _0x2e0e=function(_0x2e0e8a,_0x37e92b){_0x2e0e8a=_0x2e0e8a-0xc2;let _0x5481d9=_0xe6bd3d[_0x2e0e8a];return _0x5481d9;},_0x2e0e(_0x362cc7,_0x3f96df);}export class DeletingActionCompressor extends _0x334499{[_0x37d036(0xd6)](_0x51ad72,_0x263ad3){const _0x3bb337=_0x37d036;return _0x263ad3[_0x3bb337(0xc4)]++,_0x263ad3[_0x3bb337(0xcf)]=_0x3ef7cc(_0x51ad72[_0x3bb337(0xcf)]),_0x263ad3;}[_0x37d036(0xc9)](_0x1b4462){const _0x3c2c39=_0x37d036,_0x40872f=_0x3ef7cc(_0x1b4462);return _0x1b4462[_0x3c2c39(0xc4)]--,_0x40872f[_0x3c2c39(0xc4)]=0x1,_0x40872f[_0x3c2c39(0xcf)]=_0x52287e(_0x40872f[_0x3c2c39(0xcf)],_0x1b4462[_0x3c2c39(0xc4)]),_0x40872f;}[_0x37d036(0xd1)](_0x206b77,_0x431161){const _0x58bb6f=_0x37d036;return!(!this[_0x58bb6f(0xc8)](_0x206b77)||!this[_0x58bb6f(0xc8)](_0x431161))&&(_0xb12a03(_0x52287e(_0x206b77[_0x58bb6f(0xcf)],-0x1),_0x431161[_0x58bb6f(0xcf)])&&_0xb12a03(_0x206b77[_0x58bb6f(0xd2)],_0x431161[_0x58bb6f(0xd2)]));}[_0x37d036(0xc6)](_0x34e9d0){const _0x200c49=_0x37d036,_0x3f1646={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x200c49(0xdd)][_0x200c49(0xda)](_0x200c49(0xdf))[_0x200c49(0xd3)](_0x3f1646,[_0x34e9d0]),_0x3f1646[_0x200c49(0xd5)][0x0];}[_0x37d036(0xd7)](_0x408cf1){const _0x55dc34=_0x37d036,_0xec99ee=[];return this[_0x55dc34(0xdd)][_0x55dc34(0xda)](_0x55dc34(0xdf))[_0x55dc34(0xd0)](_0xec99ee,_0x408cf1),_0xec99ee[0x0];}[_0x37d036(0xc8)](_0xfd5380){const _0x216078=_0x37d036;return _0x216078(0xdf)==_0xfd5380[_0x216078(0xcc)]&&_0x216078(0xdb)==_0xfd5380[_0x216078(0xd2)][_0x216078(0xc2)]&&0x1==_0xfd5380[_0x216078(0xc4)]&&!_0xfd5380[_0x216078(0xd8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c46(){const _0x52c61d=['__className','8108AxaRQg','buffers','_checkOperation','1615045AAuNPg','_compressSingleOperation','wasUndone','_getCompressorByName','MoveOperation','1185800WVGkSy','targetPosition','$graveyard','9JFIEmI','351926COcAhS','_context','3pILKlu','_compareOperations','_combineNext','4702856zsBdkR','howMany','_decompressSingleOperation','root','6hUElZP','compress','5778970DFwUPo','3287914eipXrq','sourcePosition','_splitCurrent','decompress'];_0x2c46=function(){return _0x52c61d;};return _0x2c46();}const _0x38b277=_0x49f6;(function(_0x33607a,_0x3fc148){const _0x1a1e1d=_0x49f6,_0xe6daa=_0x33607a();while(!![]){try{const _0x223333=-parseInt(_0x1a1e1d(0x125))/0x1+parseInt(_0x1a1e1d(0x119))/0x2*(-parseInt(_0x1a1e1d(0x127))/0x3)+parseInt(_0x1a1e1d(0x121))/0x4+-parseInt(_0x1a1e1d(0x11c))/0x5+parseInt(_0x1a1e1d(0x12e))/0x6*(-parseInt(_0x1a1e1d(0x131))/0x7)+parseInt(_0x1a1e1d(0x12a))/0x8+parseInt(_0x1a1e1d(0x124))/0x9*(parseInt(_0x1a1e1d(0x130))/0xa);if(_0x223333===_0x3fc148)break;else _0xe6daa['push'](_0xe6daa['shift']());}catch(_0x5903e6){_0xe6daa['push'](_0xe6daa['shift']());}}}(_0x2c46,0x4c8a9));import{ActionCompressor as _0x398ea5}from'./actioncompressor.js';function _0x49f6(_0x51bf29,_0x350e0e){const _0x2c46f4=_0x2c46();return _0x49f6=function(_0x49f65c,_0x1a97b0){_0x49f65c=_0x49f65c-0x118;let _0x480f53=_0x2c46f4[_0x49f65c];return _0x480f53;},_0x49f6(_0x51bf29,_0x350e0e);}import{arePositionsEqual as _0x2dc200}from'../utils.js';import{cloneDeep as _0x3c11db}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x398ea5{[_0x38b277(0x129)](_0x261d3c,_0x1f1139){const _0x15f56e=_0x38b277;return _0x1f1139[_0x15f56e(0x12b)]++,_0x1f1139;}[_0x38b277(0x133)](_0x36054c){const _0x267fe2=_0x38b277,_0x10b6a4=_0x3c11db(_0x36054c);return _0x10b6a4[_0x267fe2(0x12b)]=0x1,_0x36054c[_0x267fe2(0x12b)]--,_0x10b6a4;}[_0x38b277(0x128)](_0x154cf5,_0x13ddbe){const _0x319507=_0x38b277;return!(!this[_0x319507(0x11b)](_0x154cf5)||!this[_0x319507(0x11b)](_0x13ddbe))&&(_0x2dc200(_0x154cf5[_0x319507(0x132)],_0x13ddbe[_0x319507(0x132)])&&_0x2dc200(_0x154cf5[_0x319507(0x122)],_0x13ddbe[_0x319507(0x122)]));}[_0x38b277(0x11d)](_0x43ea57){const _0x5bf0a5=_0x38b277,_0x336cfc={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5bf0a5(0x126)][_0x5bf0a5(0x11f)](_0x5bf0a5(0x120))[_0x5bf0a5(0x12f)](_0x336cfc,[_0x43ea57]),_0x336cfc[_0x5bf0a5(0x11a)][0x0];}[_0x38b277(0x12c)](_0x57c856){const _0x183ecf=_0x38b277,_0x269801=[];return this[_0x183ecf(0x126)][_0x183ecf(0x11f)](_0x183ecf(0x120))[_0x183ecf(0x134)](_0x269801,_0x57c856),_0x269801[0x0];}[_0x38b277(0x11b)](_0x3683d5){const _0x40e8fd=_0x38b277;return _0x40e8fd(0x120)==_0x3683d5[_0x40e8fd(0x118)]&&_0x40e8fd(0x123)==_0x3683d5[_0x40e8fd(0x122)][_0x40e8fd(0x12d)]&&0x1==_0x3683d5[_0x40e8fd(0x12b)]&&!_0x3683d5[_0x40e8fd(0x11e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x319f12=_0x7a9e;(function(_0xcaa616,_0x2d9103){const _0x2602f2=_0x7a9e,_0x1feab2=_0xcaa616();while(!![]){try{const _0x57375e=parseInt(_0x2602f2(0x19a))/0x1*(parseInt(_0x2602f2(0x197))/0x2)+parseInt(_0x2602f2(0x18b))/0x3*(-parseInt(_0x2602f2(0x191))/0x4)+-parseInt(_0x2602f2(0x189))/0x5*(parseInt(_0x2602f2(0x19d))/0x6)+parseInt(_0x2602f2(0x199))/0x7*(parseInt(_0x2602f2(0x18d))/0x8)+-parseInt(_0x2602f2(0x179))/0x9*(parseInt(_0x2602f2(0x186))/0xa)+-parseInt(_0x2602f2(0x17c))/0xb+parseInt(_0x2602f2(0x19c))/0xc;if(_0x57375e===_0x2d9103)break;else _0x1feab2['push'](_0x1feab2['shift']());}catch(_0x3a513e){_0x1feab2['push'](_0x1feab2['shift']());}}}(_0x8346,0x4c690));import{ActionCompressor as _0x5786e5}from'./actioncompressor.js';import{arePositionsEqual as _0x1613b2,getPositionShiftedBy as _0x90b8d4}from'../utils.js';function _0x7a9e(_0x446cd3,_0x31c4c1){const _0x834618=_0x8346();return _0x7a9e=function(_0x7a9ecf,_0x209a91){_0x7a9ecf=_0x7a9ecf-0x178;let _0x2e78cb=_0x834618[_0x7a9ecf];return _0x2e78cb;},_0x7a9e(_0x446cd3,_0x31c4c1);}function _0x8346(){const _0x25afd1=['value','data','_decompressSingleOperation','_combineNext','compress','next','_compressSingleOperation','nodes','attributes','20yyQLgd','position','InsertOperation','122505hjBBvg','_splitCurrent','185307KZpMIS','keys','16WKqjlS','_context','every','length','12feOgnE','buffers','_compareOperations','__className','wasUndone','_compareAttributes','62hnBgNJ','from','716849uKuGXC','2747xhTAli','_checkOperation','15509664KXMgRV','102TAHzHj','iterator','_getCompressorByName','321444xjvYQf','substr','decompress','6558321LuWlFc'];_0x8346=function(){return _0x25afd1;};return _0x8346();}import{cloneDeep as _0x1645f3}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5786e5{[_0x319f12(0x180)](_0xe9af21,_0x37a246){const _0x76aa83=_0x319f12;return _0x37a246[_0x76aa83(0x184)][0x0][_0x76aa83(0x17e)]+=_0xe9af21[_0x76aa83(0x184)][0x0][_0x76aa83(0x17e)],_0x37a246;}[_0x319f12(0x18a)](_0x310d6d){const _0x3e8f6d=_0x319f12,_0x28eb1a=_0x1645f3(_0x310d6d),_0x43eb5f=_0x28eb1a[_0x3e8f6d(0x184)][0x0],_0x195fef=_0x310d6d[_0x3e8f6d(0x184)][0x0],_0x1bf895=_0x195fef[_0x3e8f6d(0x17e)][Symbol[_0x3e8f6d(0x19e)]]()[_0x3e8f6d(0x182)]()[_0x3e8f6d(0x17d)],_0x10acf2=_0x1bf895[_0x3e8f6d(0x190)];return _0x43eb5f[_0x3e8f6d(0x17e)]=_0x1bf895,_0x195fef[_0x3e8f6d(0x17e)]=_0x195fef[_0x3e8f6d(0x17e)][_0x3e8f6d(0x17a)](_0x10acf2),_0x310d6d[_0x3e8f6d(0x187)]=_0x90b8d4(_0x310d6d[_0x3e8f6d(0x187)],_0x10acf2),_0x28eb1a;}[_0x319f12(0x193)](_0x2af29a,_0x518fe6){const _0x54f6c8=_0x319f12;if(this[_0x54f6c8(0x19b)](_0x2af29a)&&this[_0x54f6c8(0x19b)](_0x518fe6)){const _0xd7a130=_0x2af29a[_0x54f6c8(0x184)][0x0][_0x54f6c8(0x17e)][_0x54f6c8(0x190)],_0x1a94eb=_0x1613b2(_0x90b8d4(_0x2af29a[_0x54f6c8(0x187)],_0xd7a130),_0x518fe6[_0x54f6c8(0x187)]),_0x3d6227=_0x2af29a[_0x54f6c8(0x184)][0x0],_0x306865=_0x518fe6[_0x54f6c8(0x184)][0x0];return _0x1a94eb&&this[_0x54f6c8(0x196)](_0x3d6227,_0x306865);}return!0x1;}[_0x319f12(0x183)](_0x2ea171){const _0x1a4333=_0x319f12,_0x12d23c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1a4333(0x18e)][_0x1a4333(0x178)](_0x1a4333(0x188))[_0x1a4333(0x181)](_0x12d23c,[_0x2ea171]),_0x12d23c[_0x1a4333(0x192)][0x0];}[_0x319f12(0x17f)](_0xcef05d){const _0x3d9655=_0x319f12,_0x47970d=[];return this[_0x3d9655(0x18e)][_0x3d9655(0x178)](_0x3d9655(0x188))[_0x3d9655(0x17b)](_0x47970d,_0xcef05d),_0x47970d[0x0];}[_0x319f12(0x19b)](_0x88418d){const _0x2b8478=_0x319f12;return _0x2b8478(0x188)==_0x88418d[_0x2b8478(0x194)]&&0x1==_0x88418d[_0x2b8478(0x184)][_0x2b8478(0x190)]&&_0x88418d[_0x2b8478(0x184)][0x0][_0x2b8478(0x17e)]&&!_0x88418d[_0x2b8478(0x195)]&&0x1==Array[_0x2b8478(0x198)](_0x88418d[_0x2b8478(0x184)][0x0][_0x2b8478(0x17e)])[_0x2b8478(0x190)];}[_0x319f12(0x196)](_0x9457ef,_0x4e6329){const _0x38fb4c=_0x319f12,_0x1c00c7=Object[_0x38fb4c(0x18c)](_0x9457ef[_0x38fb4c(0x185)]||{}),_0x5b66bd=Object[_0x38fb4c(0x18c)](_0x4e6329[_0x38fb4c(0x185)]||{});return _0x1c00c7[_0x38fb4c(0x190)]===_0x5b66bd[_0x38fb4c(0x190)]&&_0x1c00c7[_0x38fb4c(0x18f)](_0x20d60a=>_0x4e6329[_0x38fb4c(0x185)][_0x20d60a]&&_0x4e6329[_0x38fb4c(0x185)][_0x20d60a]===_0x9457ef[_0x38fb4c(0x185)][_0x20d60a]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2021a7=_0x5cd3;(function(_0x26d219,_0xa23187){const _0x4a055d=_0x5cd3,_0x7f1bc6=_0x26d219();while(!![]){try{const _0x49b432=parseInt(_0x4a055d(0x132))/0x1*(-parseInt(_0x4a055d(0x134))/0x2)+parseInt(_0x4a055d(0x123))/0x3+-parseInt(_0x4a055d(0x12f))/0x4*(-parseInt(_0x4a055d(0x124))/0x5)+-parseInt(_0x4a055d(0x12e))/0x6*(-parseInt(_0x4a055d(0x11f))/0x7)+-parseInt(_0x4a055d(0x127))/0x8*(parseInt(_0x4a055d(0x143))/0x9)+parseInt(_0x4a055d(0x121))/0xa*(-parseInt(_0x4a055d(0x130))/0xb)+parseInt(_0x4a055d(0x122))/0xc*(-parseInt(_0x4a055d(0x133))/0xd);if(_0x49b432===_0xa23187)break;else _0x7f1bc6['push'](_0x7f1bc6['shift']());}catch(_0x129472){_0x7f1bc6['push'](_0x7f1bc6['shift']());}}}(_0x3454,0xbd87a));import{ActionCompressor as _0x1b68c1}from'./actioncompressor.js';import{arePositionsEqual as _0x52bada}from'../utils.js';import{cloneDeep as _0x3becd0}from'es-toolkit/compat';function _0x5cd3(_0x4bfe2,_0x28cd6f){const _0x345446=_0x3454();return _0x5cd3=function(_0x5cd3d9,_0x50cee5){_0x5cd3d9=_0x5cd3d9-0x11e;let _0x491c6d=_0x345446[_0x5cd3d9];return _0x491c6d;},_0x5cd3(_0x4bfe2,_0x28cd6f);}function _0x3454(){const _0x2d3b94=['end','toNone','decompress','_id','_context','63mGZKqw','oldRange','7778183zDTmpW','start','11510FPTnGp','37884JsqnNQ','4602387JTZoUO','354035WhPDGn','buffers','__className','403688ySMKwa','types','stickiness','name','startsWith','split','compress','6NeyAlx','80nRuliX','9493cxaxZX','_compressSingleOperation','10zxiJuO','5356OylBPO','127580ARoufo','newRange','MarkerOperation','user:','push','_decompressSingleOperation','_getCompressorByName','shift','_compareOperations','user:position:'];_0x3454=function(){return _0x2d3b94;};return _0x3454();}export class UserSelectionActionCompressor extends _0x1b68c1{[_0x2021a7(0x12d)](_0x3b37c6,_0x2646db){const _0x22aab8=_0x2021a7;if(!this[_0x22aab8(0x13c)](_0x2646db[0x0],_0x2646db[0x1]))return!0x1;const _0x2b9fdb=_0x2646db[_0x22aab8(0x13b)]();return _0x2b9fdb[_0x22aab8(0x11e)]=null,_0x2b9fdb[_0x22aab8(0x135)]&&_0x52bada(_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x120)],_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x13e)])&&(_0x2b9fdb[_0x22aab8(0x135)][_0x22aab8(0x13e)]=null),_0x2646db[_0x22aab8(0x13b)](),_0x3b37c6[_0x22aab8(0x128)][_0x22aab8(0x138)](this[_0x22aab8(0x141)]),_0x3b37c6[_0x22aab8(0x128)][_0x22aab8(0x138)](0x0),_0x3b37c6[_0x22aab8(0x125)][_0x22aab8(0x138)](this[_0x22aab8(0x131)](_0x2b9fdb)),!0x0;}[_0x2021a7(0x140)](_0x54ea9e,_0x2846c5){const _0x53f135=_0x2021a7,_0x345975=this[_0x53f135(0x139)](_0x2846c5);_0x345975[_0x53f135(0x135)]&&!_0x345975[_0x53f135(0x135)][_0x53f135(0x13e)]&&(_0x345975[_0x53f135(0x135)][_0x53f135(0x13e)]=_0x3becd0(_0x345975[_0x53f135(0x135)][_0x53f135(0x120)]));const _0x46fd38=_0x3becd0(_0x345975);_0x46fd38[_0x53f135(0x135)]&&(_0x46fd38[_0x53f135(0x135)][_0x53f135(0x120)][_0x53f135(0x129)]=_0x53f135(0x13f),_0x46fd38[_0x53f135(0x135)][_0x53f135(0x13e)]=_0x3becd0(_0x46fd38[_0x53f135(0x135)][_0x53f135(0x120)])),_0x46fd38[_0x53f135(0x12a)]=_0x53f135(0x13d)+_0x46fd38[_0x53f135(0x12a)][_0x53f135(0x12c)](':')[0x2],_0x2846c5[_0x53f135(0x128)][_0x53f135(0x13b)](),_0x54ea9e[_0x53f135(0x138)](_0x345975),_0x54ea9e[_0x53f135(0x138)](_0x46fd38);}[_0x2021a7(0x131)](_0x199950){const _0x587aaa=_0x2021a7,_0x4640c1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x587aaa(0x142)][_0x587aaa(0x13a)](_0x587aaa(0x136))[_0x587aaa(0x12d)](_0x4640c1,[_0x199950]),_0x4640c1[_0x587aaa(0x125)][0x0];}[_0x2021a7(0x139)](_0x5d1d18){const _0x51f321=_0x2021a7,_0x296e5e=[];return this[_0x51f321(0x142)][_0x51f321(0x13a)](_0x51f321(0x136))[_0x51f321(0x140)](_0x296e5e,_0x5d1d18),_0x296e5e[0x0];}[_0x2021a7(0x13c)](_0x1a8abd,_0x2ec579){const _0x39fd32=_0x2021a7;return!(!_0x1a8abd||!_0x2ec579)&&(_0x39fd32(0x136)==_0x1a8abd[_0x39fd32(0x126)]&&_0x39fd32(0x136)==_0x2ec579[_0x39fd32(0x126)]&&!(!_0x1a8abd[_0x39fd32(0x12a)][_0x39fd32(0x12b)](_0x39fd32(0x137))||!_0x2ec579[_0x39fd32(0x12a)][_0x39fd32(0x12b)](_0x39fd32(0x137))||_0x1a8abd[_0x39fd32(0x12a)]==_0x2ec579[_0x39fd32(0x12a)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a07de=_0x3324;(function(_0xc2af58,_0x35a979){const _0x437072=_0x3324,_0x4fd352=_0xc2af58();while(!![]){try{const _0x56f2f5=-parseInt(_0x437072(0x146))/0x1+-parseInt(_0x437072(0x138))/0x2*(parseInt(_0x437072(0x143))/0x3)+parseInt(_0x437072(0x13a))/0x4+parseInt(_0x437072(0x142))/0x5*(parseInt(_0x437072(0x14b))/0x6)+-parseInt(_0x437072(0x137))/0x7*(-parseInt(_0x437072(0x140))/0x8)+parseInt(_0x437072(0x128))/0x9*(parseInt(_0x437072(0x144))/0xa)+-parseInt(_0x437072(0x12d))/0xb;if(_0x56f2f5===_0x35a979)break;else _0x4fd352['push'](_0x4fd352['shift']());}catch(_0x363176){_0x4fd352['push'](_0x4fd352['shift']());}}}(_0x4687,0xee3de));import{CKEditorError as _0x4f1f5a}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3d235f}from'./protobuffactory.js';import{OperationCompressor as _0x1b0959}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x1ab2b2}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x165fc6}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x8cc9b}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x525023}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x2db105}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x395f21}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5c8ddf}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x423984}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x14682e}from'./actioncompressor/userselectionactioncompressor.js';function _0x3324(_0x3a8808,_0x50ab61){const _0x4687c1=_0x4687();return _0x3324=function(_0x3324c2,_0x30ccce){_0x3324c2=_0x3324c2-0x128;let _0x1efe48=_0x4687c1[_0x3324c2];return _0x1efe48;},_0x3324(_0x3a8808,_0x50ab61);}function _0x4687(){const _0x4f26df=['SplitOperation','comment','NoOperation','RenameOperation','_registerOperationCompressor','33752cNmARg','length','8375yMEYAr','1077gBLJVg','50XWtHwr','_registerCompressor','778054cSHGIZ','get','SuggestionMarkerOperation','MoveOperation','_compressorById','1920zzHwQM','_registerActionCompressor','ForwardDeletingAction','UserSelectionAction','MarkerOperation','__className','DeletingAction','MergeOperation','forEach','compress','no-operations-provided','AttributeOperation','RootOperation','431901LrNVMG','getDescriptor','decompress-compressor-not-found','set','_protobufFactory','10944241FWToPH','CommentMarkerOperation','decompress','RootAttributeOperation','suggestion','baseVersion','_compressorByName','TypingAction','types','_getCompressorByName','686YuaCDf','1254nvLxcr','InsertOperation','7138036vQAjEY'];_0x4687=function(){return _0x4f26df;};return _0x4687();}export class Compressor{[_0x5a07de(0x14a)];[_0x5a07de(0x133)];[_0x5a07de(0x12c)];constructor(){const _0x59495f=_0x5a07de;this[_0x59495f(0x14a)]=new Map(),this[_0x59495f(0x133)]=new Map(),this[_0x59495f(0x12c)]=new _0x3d235f();const _0x1c71ec=this[_0x59495f(0x12c)][_0x59495f(0x129)](_0x59495f(0x14f));this[_0x59495f(0x145)](0x1,_0x59495f(0x13d),new _0x525023(0x1,_0x59495f(0x13d),void 0x0)),this[_0x59495f(0x13f)](0xa,_0x59495f(0x156),_0x1ab2b2),this[_0x59495f(0x13f)](0xb,_0x59495f(0x139),_0x165fc6),this[_0x59495f(0x13f)](0xc,_0x59495f(0x14f),_0x8cc9b),this[_0x59495f(0x13f)](0xd,_0x59495f(0x152),_0x1b0959),this[_0x59495f(0x13f)](0xe,_0x59495f(0x149),_0x1b0959),this[_0x59495f(0x13f)](0xf,_0x59495f(0x13e),_0x1b0959),this[_0x59495f(0x13f)](0x10,_0x59495f(0x130),_0x1ab2b2),this[_0x59495f(0x13f)](0x11,_0x59495f(0x13b),_0x1b0959),this[_0x59495f(0x145)](0x12,_0x59495f(0x12e),new _0x2db105(0x12,_0x59495f(0x14f),_0x1c71ec,_0x59495f(0x13c))),this[_0x59495f(0x145)](0x13,_0x59495f(0x148),new _0x2db105(0x13,_0x59495f(0x14f),_0x1c71ec,_0x59495f(0x131))),this[_0x59495f(0x13f)](0x14,_0x59495f(0x157),_0x1b0959),this[_0x59495f(0x14c)](0x64,_0x59495f(0x134),_0x395f21),this[_0x59495f(0x14c)](0x65,_0x59495f(0x151),_0x5c8ddf),this[_0x59495f(0x14c)](0x66,_0x59495f(0x14d),_0x423984),this[_0x59495f(0x14c)](0x67,_0x59495f(0x14e),_0x14682e);}[_0x5a07de(0x154)](_0x37a133){const _0x493b8e=_0x5a07de;if(!_0x37a133||!_0x37a133[0x0])throw new _0x4f1f5a(_0x493b8e(0x155),this);const _0x591291={'types':[],'buffers':[],'baseVersion':_0x37a133[0x0][_0x493b8e(0x132)]};for(;_0x37a133[_0x493b8e(0x141)];)this[_0x493b8e(0x136)](_0x493b8e(0x14e))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x134))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x151))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x14d))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x12e))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x493b8e(0x148))[_0x493b8e(0x154)](_0x591291,_0x37a133)||this[_0x493b8e(0x136)](_0x37a133[0x0][_0x493b8e(0x150)])[_0x493b8e(0x154)](_0x591291,_0x37a133);return _0x591291;}[_0x5a07de(0x12f)](_0x4a6213){const _0x4dc38f=_0x5a07de,_0x3da41c=[];for(;_0x4a6213[_0x4dc38f(0x135)][_0x4dc38f(0x141)];){const _0x1b91df=this[_0x4dc38f(0x14a)][_0x4dc38f(0x147)](_0x4a6213[_0x4dc38f(0x135)][0x0]);if(!_0x1b91df)throw new _0x4f1f5a(_0x4dc38f(0x12a),this,{'type':_0x4a6213[_0x4dc38f(0x135)][0x0]});_0x1b91df[_0x4dc38f(0x12f)](_0x3da41c,_0x4a6213);}return _0x3da41c[_0x4dc38f(0x153)]((_0x18cf0d,_0x544f7f)=>_0x18cf0d[_0x4dc38f(0x132)]=_0x4a6213[_0x4dc38f(0x132)]+_0x544f7f),_0x3da41c;}[_0x5a07de(0x136)](_0x1decf8){const _0x1d21d0=_0x5a07de;return this[_0x1d21d0(0x133)][_0x1d21d0(0x147)](_0x1decf8);}[_0x5a07de(0x13f)](_0x5f226c,_0x423358,_0x100237){const _0x185d45=_0x5a07de,_0x2eca8b=new _0x100237(_0x5f226c,_0x423358,this[_0x185d45(0x12c)][_0x185d45(0x129)](_0x423358));this[_0x185d45(0x145)](_0x5f226c,_0x423358,_0x2eca8b);}[_0x5a07de(0x14c)](_0x1cd047,_0x2e0df1,_0x3848b7){const _0x91ea99=_0x5a07de,_0x264082=new _0x3848b7(_0x1cd047,this);this[_0x91ea99(0x145)](_0x1cd047,_0x2e0df1,_0x264082);}[_0x5a07de(0x145)](_0x29e716,_0x96d48b,_0xec69a1){const _0x3816c6=_0x5a07de;this[_0x3816c6(0x14a)][_0x3816c6(0x12b)](_0x29e716,_0xec69a1),this[_0x3816c6(0x133)][_0x3816c6(0x12b)](_0x96d48b,_0xec69a1);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30c1(_0x340b8b,_0x2a5ab2){var _0x515dd5=_0x515d();return _0x30c1=function(_0x30c130,_0x303d18){_0x30c130=_0x30c130-0xf9;var _0x3b4e66=_0x515dd5[_0x30c130];return _0x3b4e66;},_0x30c1(_0x340b8b,_0x2a5ab2);}function _0x515d(){var _0x39f3d8=['279NNFpzS','30664lufVRE','90kizFsK','106130JMxxRN','1834021tKSGrD','328543UlrCPM','2709736HzlBIN','7296174EeMUeF','1306803SvcXyS','2nGKXfd'];_0x515d=function(){return _0x39f3d8;};return _0x515d();}(function(_0x4171f9,_0x28e767){var _0x44804f=_0x30c1,_0x1e794b=_0x4171f9();while(!![]){try{var _0x43b0e3=parseInt(_0x44804f(0x101))/0x1*(parseInt(_0x44804f(0xfb))/0x2)+-parseInt(_0x44804f(0xfa))/0x3+parseInt(_0x44804f(0xfd))/0x4*(-parseInt(_0x44804f(0xfe))/0x5)+parseInt(_0x44804f(0xf9))/0x6+-parseInt(_0x44804f(0x100))/0x7+parseInt(_0x44804f(0x102))/0x8+parseInt(_0x44804f(0xfc))/0x9*(-parseInt(_0x44804f(0xff))/0xa);if(_0x43b0e3===_0x28e767)break;else _0x1e794b['push'](_0x1e794b['shift']());}catch(_0x58fbc7){_0x1e794b['push'](_0x1e794b['shift']());}}}(_0x515d,0xaf766));export{Compressor}from'./compressor.js';
|