@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.6 → 47.3.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
|
+
const _0x582a86=_0x2b9e;function _0x2b9e(_0x310c01,_0x179c7f){const _0x163f1e=_0x163f();return _0x2b9e=function(_0x2b9e20,_0x4205c3){_0x2b9e20=_0x2b9e20-0xa5;let _0x52d8b4=_0x163f1e[_0x2b9e20];return _0x52d8b4;},_0x2b9e(_0x310c01,_0x179c7f);}(function(_0x526485,_0x77b72){const _0x4e57d3=_0x2b9e,_0x2755df=_0x526485();while(!![]){try{const _0x3bdaec=-parseInt(_0x4e57d3(0xa8))/0x1*(-parseInt(_0x4e57d3(0xb6))/0x2)+-parseInt(_0x4e57d3(0xa6))/0x3*(parseInt(_0x4e57d3(0xbc))/0x4)+parseInt(_0x4e57d3(0xa7))/0x5+-parseInt(_0x4e57d3(0xb2))/0x6+parseInt(_0x4e57d3(0xac))/0x7*(-parseInt(_0x4e57d3(0xc3))/0x8)+-parseInt(_0x4e57d3(0xc2))/0x9*(parseInt(_0x4e57d3(0xa5))/0xa)+-parseInt(_0x4e57d3(0xbe))/0xb*(-parseInt(_0x4e57d3(0xaf))/0xc);if(_0x3bdaec===_0x77b72)break;else _0x2755df['push'](_0x2755df['shift']());}catch(_0x56d8a6){_0x2755df['push'](_0x2755df['shift']());}}}(_0x163f,0xd98c7));import{ActionCompressor as _0x405b08}from'./actioncompressor.js';import{arePositionsEqual as _0x411b19,getPositionShiftedBy as _0x44994e}from'../utils.js';import{cloneDeep as _0x306535}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x405b08{[_0x582a86(0xb0)](_0x5d56cc,_0x3a7d1f){const _0x15f735=_0x582a86;return _0x3a7d1f[_0x15f735(0xae)]++,_0x3a7d1f[_0x15f735(0xba)]=_0x306535(_0x5d56cc[_0x15f735(0xba)]),_0x3a7d1f;}[_0x582a86(0xad)](_0x59d3b3){const _0x3cee95=_0x582a86,_0x19c76a=_0x306535(_0x59d3b3);return _0x59d3b3[_0x3cee95(0xae)]--,_0x19c76a[_0x3cee95(0xae)]=0x1,_0x19c76a[_0x3cee95(0xba)]=_0x44994e(_0x19c76a[_0x3cee95(0xba)],_0x59d3b3[_0x3cee95(0xae)]),_0x19c76a;}[_0x582a86(0xb1)](_0x2190eb,_0x518b3c){const _0x5b1e37=_0x582a86;return!(!this[_0x5b1e37(0xab)](_0x2190eb)||!this[_0x5b1e37(0xab)](_0x518b3c))&&(_0x411b19(_0x44994e(_0x2190eb[_0x5b1e37(0xba)],-0x1),_0x518b3c[_0x5b1e37(0xba)])&&_0x411b19(_0x2190eb[_0x5b1e37(0xb7)],_0x518b3c[_0x5b1e37(0xb7)]));}[_0x582a86(0xb8)](_0x195a21){const _0x16b1b8=_0x582a86,_0x5c3edf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x16b1b8(0xb5)][_0x16b1b8(0xb9)](_0x16b1b8(0xbd))[_0x16b1b8(0xc0)](_0x5c3edf,[_0x195a21]),_0x5c3edf[_0x16b1b8(0xbb)][0x0];}[_0x582a86(0xc1)](_0x1ed058){const _0xb68999=_0x582a86,_0x141b24=[];return this[_0xb68999(0xb5)][_0xb68999(0xb9)](_0xb68999(0xbd))[_0xb68999(0xb4)](_0x141b24,_0x1ed058),_0x141b24[0x0];}[_0x582a86(0xab)](_0x47ace2){const _0x548a5b=_0x582a86;return _0x548a5b(0xbd)==_0x47ace2[_0x548a5b(0xa9)]&&_0x548a5b(0xb3)==_0x47ace2[_0x548a5b(0xb7)][_0x548a5b(0xaa)]&&0x1==_0x47ace2[_0x548a5b(0xae)]&&!_0x47ace2[_0x548a5b(0xbf)];}}function _0x163f(){const _0x5d3976=['root','_checkOperation','924497mvJLxR','_splitCurrent','howMany','12dZGKLg','_combineNext','_compareOperations','2860236weEWCx','$graveyard','decompress','_context','41708xXCMDp','targetPosition','_compressSingleOperation','_getCompressorByName','sourcePosition','buffers','4BJzOSb','MoveOperation','8525858XMuKqQ','wasUndone','compress','_decompressSingleOperation','9448623LhYxRX','8FRRxrr','10hfgnTs','672153KkKKXr','1964590CueJXG','77ffPXui','__className'];_0x163f=function(){return _0x5d3976;};return _0x163f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x214cda=_0x791f;function _0x791f(_0x54fdcb,_0x2aa4a4){const _0x181687=_0x1816();return _0x791f=function(_0x791f9c,_0x44711e){_0x791f9c=_0x791f9c-0x1c4;let _0x3e4a8c=_0x181687[_0x791f9c];return _0x3e4a8c;},_0x791f(_0x54fdcb,_0x2aa4a4);}(function(_0x53cc42,_0x80a39c){const _0x1439dc=_0x791f,_0x2c1eaf=_0x53cc42();while(!![]){try{const _0x3d0644=-parseInt(_0x1439dc(0x1df))/0x1+parseInt(_0x1439dc(0x1d8))/0x2*(parseInt(_0x1439dc(0x1d9))/0x3)+parseInt(_0x1439dc(0x1ce))/0x4+-parseInt(_0x1439dc(0x1d0))/0x5+-parseInt(_0x1439dc(0x1dd))/0x6+-parseInt(_0x1439dc(0x1c7))/0x7+parseInt(_0x1439dc(0x1d4))/0x8*(parseInt(_0x1439dc(0x1d2))/0x9);if(_0x3d0644===_0x80a39c)break;else _0x2c1eaf['push'](_0x2c1eaf['shift']());}catch(_0x31de99){_0x2c1eaf['push'](_0x2c1eaf['shift']());}}}(_0x1816,0xc9dd2));import{ActionCompressor as _0x43d047}from'./actioncompressor.js';function _0x1816(){const _0xde8cc2=['4528484IoCEaK','compress','5186010bAZjoQ','_getCompressorByName','121752WZIknr','howMany','1112LSLEBh','root','wasUndone','targetPosition','129630xYXNZY','75oXsZhT','_combineNext','buffers','_decompressSingleOperation','4851102rNNOCA','$graveyard','560286hinmrP','decompress','sourcePosition','_compareOperations','9800343eAJOkz','__className','_checkOperation','MoveOperation','_context','_splitCurrent','_compressSingleOperation'];_0x1816=function(){return _0xde8cc2;};return _0x1816();}import{arePositionsEqual as _0x3dceb9}from'../utils.js';import{cloneDeep as _0x12e92a}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x43d047{[_0x214cda(0x1da)](_0x30f791,_0x231be2){const _0x574f2a=_0x214cda;return _0x231be2[_0x574f2a(0x1d3)]++,_0x231be2;}[_0x214cda(0x1cc)](_0x4adf73){const _0xdc54a3=_0x214cda,_0x504ada=_0x12e92a(_0x4adf73);return _0x504ada[_0xdc54a3(0x1d3)]=0x1,_0x4adf73[_0xdc54a3(0x1d3)]--,_0x504ada;}[_0x214cda(0x1c6)](_0x9079d3,_0x494915){const _0x12b6bc=_0x214cda;return!(!this[_0x12b6bc(0x1c9)](_0x9079d3)||!this[_0x12b6bc(0x1c9)](_0x494915))&&(_0x3dceb9(_0x9079d3[_0x12b6bc(0x1c5)],_0x494915[_0x12b6bc(0x1c5)])&&_0x3dceb9(_0x9079d3[_0x12b6bc(0x1d7)],_0x494915[_0x12b6bc(0x1d7)]));}[_0x214cda(0x1cd)](_0x1692ea){const _0x40f7a7=_0x214cda,_0x2e56b3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40f7a7(0x1cb)][_0x40f7a7(0x1d1)](_0x40f7a7(0x1ca))[_0x40f7a7(0x1cf)](_0x2e56b3,[_0x1692ea]),_0x2e56b3[_0x40f7a7(0x1db)][0x0];}[_0x214cda(0x1dc)](_0x24a1b5){const _0x332c64=_0x214cda,_0x2c2ad6=[];return this[_0x332c64(0x1cb)][_0x332c64(0x1d1)](_0x332c64(0x1ca))[_0x332c64(0x1c4)](_0x2c2ad6,_0x24a1b5),_0x2c2ad6[0x0];}[_0x214cda(0x1c9)](_0xde9c9b){const _0x21410b=_0x214cda;return _0x21410b(0x1ca)==_0xde9c9b[_0x21410b(0x1c8)]&&_0x21410b(0x1de)==_0xde9c9b[_0x21410b(0x1d7)][_0x21410b(0x1d5)]&&0x1==_0xde9c9b[_0x21410b(0x1d3)]&&!_0xde9c9b[_0x21410b(0x1d6)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x250d98=_0x268f;(function(_0x428aaf,_0xbe733f){const _0x1910c7=_0x268f,_0x386b36=_0x428aaf();while(!![]){try{const _0xc37b62=-parseInt(_0x1910c7(0x181))/0x1+-parseInt(_0x1910c7(0x18a))/0x2*(-parseInt(_0x1910c7(0x189))/0x3)+-parseInt(_0x1910c7(0x18e))/0x4+parseInt(_0x1910c7(0x175))/0x5+-parseInt(_0x1910c7(0x182))/0x6+parseInt(_0x1910c7(0x192))/0x7*(parseInt(_0x1910c7(0x18f))/0x8)+parseInt(_0x1910c7(0x177))/0x9;if(_0xc37b62===_0xbe733f)break;else _0x386b36['push'](_0x386b36['shift']());}catch(_0x18186c){_0x386b36['push'](_0x386b36['shift']());}}}(_0x38af,0x9a49c));import{ActionCompressor as _0x36f2fe}from'./actioncompressor.js';import{arePositionsEqual as _0x10d976,getPositionShiftedBy as _0x32d18b}from'../utils.js';function _0x268f(_0x22123d,_0x28e45b){const _0x38afae=_0x38af();return _0x268f=function(_0x268fe6,_0x4c5108){_0x268fe6=_0x268fe6-0x16f;let _0x17c4a9=_0x38afae[_0x268fe6];return _0x17c4a9;},_0x268f(_0x22123d,_0x28e45b);}import{cloneDeep as _0x108908}from'es-toolkit/compat';function _0x38af(){const _0x56b92e=['data','__className','value','wasUndone','position','nodes','1601403AikTdh','2ucdhVv','every','from','iterator','3275172iTBtlY','649464uuKzQg','_compressSingleOperation','buffers','14PZiNVQ','keys','_context','_compareAttributes','_getCompressorByName','next','_decompressSingleOperation','1065175upzxxP','length','19689480TRoxmJ','compress','_compareOperations','decompress','attributes','substr','_combineNext','InsertOperation','_checkOperation','_splitCurrent','1068806ebSIxo','3464154VuDWQz'];_0x38af=function(){return _0x56b92e;};return _0x38af();}export class TypingActionCompressor extends _0x36f2fe{[_0x250d98(0x17d)](_0x1533dd,_0x49f00e){const _0x3d4eba=_0x250d98;return _0x49f00e[_0x3d4eba(0x188)][0x0][_0x3d4eba(0x183)]+=_0x1533dd[_0x3d4eba(0x188)][0x0][_0x3d4eba(0x183)],_0x49f00e;}[_0x250d98(0x180)](_0x52e68c){const _0x3f315e=_0x250d98,_0x1b0a09=_0x108908(_0x52e68c),_0x4e16aa=_0x1b0a09[_0x3f315e(0x188)][0x0],_0x3b4a0b=_0x52e68c[_0x3f315e(0x188)][0x0],_0x16e7b9=_0x3b4a0b[_0x3f315e(0x183)][Symbol[_0x3f315e(0x18d)]]()[_0x3f315e(0x173)]()[_0x3f315e(0x185)],_0x3ce9d2=_0x16e7b9[_0x3f315e(0x176)];return _0x4e16aa[_0x3f315e(0x183)]=_0x16e7b9,_0x3b4a0b[_0x3f315e(0x183)]=_0x3b4a0b[_0x3f315e(0x183)][_0x3f315e(0x17c)](_0x3ce9d2),_0x52e68c[_0x3f315e(0x187)]=_0x32d18b(_0x52e68c[_0x3f315e(0x187)],_0x3ce9d2),_0x1b0a09;}[_0x250d98(0x179)](_0xa2114a,_0x1daccd){const _0x2ea4d9=_0x250d98;if(this[_0x2ea4d9(0x17f)](_0xa2114a)&&this[_0x2ea4d9(0x17f)](_0x1daccd)){const _0x22964f=_0xa2114a[_0x2ea4d9(0x188)][0x0][_0x2ea4d9(0x183)][_0x2ea4d9(0x176)],_0x260a0b=_0x10d976(_0x32d18b(_0xa2114a[_0x2ea4d9(0x187)],_0x22964f),_0x1daccd[_0x2ea4d9(0x187)]),_0x243c64=_0xa2114a[_0x2ea4d9(0x188)][0x0],_0x35975d=_0x1daccd[_0x2ea4d9(0x188)][0x0];return _0x260a0b&&this[_0x2ea4d9(0x171)](_0x243c64,_0x35975d);}return!0x1;}[_0x250d98(0x190)](_0x523316){const _0x59b76f=_0x250d98,_0xd9cece={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x59b76f(0x170)][_0x59b76f(0x172)](_0x59b76f(0x17e))[_0x59b76f(0x178)](_0xd9cece,[_0x523316]),_0xd9cece[_0x59b76f(0x191)][0x0];}[_0x250d98(0x174)](_0x3737dc){const _0x50267f=_0x250d98,_0x3dff5b=[];return this[_0x50267f(0x170)][_0x50267f(0x172)](_0x50267f(0x17e))[_0x50267f(0x17a)](_0x3dff5b,_0x3737dc),_0x3dff5b[0x0];}[_0x250d98(0x17f)](_0x2f3ba8){const _0xc1c7ab=_0x250d98;return _0xc1c7ab(0x17e)==_0x2f3ba8[_0xc1c7ab(0x184)]&&0x1==_0x2f3ba8[_0xc1c7ab(0x188)][_0xc1c7ab(0x176)]&&_0x2f3ba8[_0xc1c7ab(0x188)][0x0][_0xc1c7ab(0x183)]&&!_0x2f3ba8[_0xc1c7ab(0x186)]&&0x1==Array[_0xc1c7ab(0x18c)](_0x2f3ba8[_0xc1c7ab(0x188)][0x0][_0xc1c7ab(0x183)])[_0xc1c7ab(0x176)];}[_0x250d98(0x171)](_0x3574cb,_0x132ba5){const _0x36f133=_0x250d98,_0x74a63d=Object[_0x36f133(0x16f)](_0x3574cb[_0x36f133(0x17b)]||{}),_0xc8fe66=Object[_0x36f133(0x16f)](_0x132ba5[_0x36f133(0x17b)]||{});return _0x74a63d[_0x36f133(0x176)]===_0xc8fe66[_0x36f133(0x176)]&&_0x74a63d[_0x36f133(0x18b)](_0x15b243=>_0x132ba5[_0x36f133(0x17b)][_0x15b243]&&_0x132ba5[_0x36f133(0x17b)][_0x15b243]===_0x3574cb[_0x36f133(0x17b)][_0x15b243]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x36c2a7=_0x1fb3;(function(_0x2e9902,_0x482c17){const _0x564afc=_0x1fb3,_0x1854af=_0x2e9902();while(!![]){try{const _0xacbdab=-parseInt(_0x564afc(0x1b8))/0x1+parseInt(_0x564afc(0x1a8))/0x2*(parseInt(_0x564afc(0x1ba))/0x3)+-parseInt(_0x564afc(0x1b4))/0x4+-parseInt(_0x564afc(0x1a2))/0x5*(parseInt(_0x564afc(0x1b6))/0x6)+-parseInt(_0x564afc(0x1af))/0x7*(parseInt(_0x564afc(0x1bd))/0x8)+-parseInt(_0x564afc(0x1be))/0x9*(parseInt(_0x564afc(0x1a0))/0xa)+parseInt(_0x564afc(0x1aa))/0xb;if(_0xacbdab===_0x482c17)break;else _0x1854af['push'](_0x1854af['shift']());}catch(_0x3c2494){_0x1854af['push'](_0x1854af['shift']());}}}(_0x28b1,0x4bb07));function _0x28b1(){const _0x57993e=['1047600xzZkiQ','user:','12nlxAUy','_compareOperations','320968Ppvlhv','MarkerOperation','45eTkySR','start','_context','8vNNVwg','51867RQWUPY','stickiness','compress','shift','user:position:','end','370saaYuK','startsWith','1097015oArSQb','decompress','_decompressSingleOperation','toNone','split','newRange','44654sYcMIX','push','18772974KhHhGV','buffers','name','__className','_compressSingleOperation','3476277VQjVdD','_getCompressorByName','_id','types','oldRange'];_0x28b1=function(){return _0x57993e;};return _0x28b1();}import{ActionCompressor as _0x3f4773}from'./actioncompressor.js';import{arePositionsEqual as _0x408635}from'../utils.js';import{cloneDeep as _0x448b2b}from'es-toolkit/compat';function _0x1fb3(_0x433c22,_0x4a9257){const _0x28b190=_0x28b1();return _0x1fb3=function(_0x1fb356,_0x37da25){_0x1fb356=_0x1fb356-0x19f;let _0x252ee5=_0x28b190[_0x1fb356];return _0x252ee5;},_0x1fb3(_0x433c22,_0x4a9257);}export class UserSelectionActionCompressor extends _0x3f4773{[_0x36c2a7(0x1c0)](_0x2ada9a,_0x559530){const _0x29c27b=_0x36c2a7;if(!this[_0x29c27b(0x1b7)](_0x559530[0x0],_0x559530[0x1]))return!0x1;const _0x171da9=_0x559530[_0x29c27b(0x1c1)]();return _0x171da9[_0x29c27b(0x1b3)]=null,_0x171da9[_0x29c27b(0x1a7)]&&_0x408635(_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x1bb)],_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x19f)])&&(_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x19f)]=null),_0x559530[_0x29c27b(0x1c1)](),_0x2ada9a[_0x29c27b(0x1b2)][_0x29c27b(0x1a9)](this[_0x29c27b(0x1b1)]),_0x2ada9a[_0x29c27b(0x1b2)][_0x29c27b(0x1a9)](0x0),_0x2ada9a[_0x29c27b(0x1ab)][_0x29c27b(0x1a9)](this[_0x29c27b(0x1ae)](_0x171da9)),!0x0;}[_0x36c2a7(0x1a3)](_0x119708,_0x199712){const _0x5ba971=_0x36c2a7,_0x39acbe=this[_0x5ba971(0x1a4)](_0x199712);_0x39acbe[_0x5ba971(0x1a7)]&&!_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]&&(_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]=_0x448b2b(_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)]));const _0x31d727=_0x448b2b(_0x39acbe);_0x31d727[_0x5ba971(0x1a7)]&&(_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)][_0x5ba971(0x1bf)]=_0x5ba971(0x1a5),_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]=_0x448b2b(_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)])),_0x31d727[_0x5ba971(0x1ac)]=_0x5ba971(0x1c2)+_0x31d727[_0x5ba971(0x1ac)][_0x5ba971(0x1a6)](':')[0x2],_0x199712[_0x5ba971(0x1b2)][_0x5ba971(0x1c1)](),_0x119708[_0x5ba971(0x1a9)](_0x39acbe),_0x119708[_0x5ba971(0x1a9)](_0x31d727);}[_0x36c2a7(0x1ae)](_0x2f9638){const _0x34e2ad=_0x36c2a7,_0x37300f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x34e2ad(0x1bc)][_0x34e2ad(0x1b0)](_0x34e2ad(0x1b9))[_0x34e2ad(0x1c0)](_0x37300f,[_0x2f9638]),_0x37300f[_0x34e2ad(0x1ab)][0x0];}[_0x36c2a7(0x1a4)](_0x41f28d){const _0x120552=_0x36c2a7,_0x1b82c5=[];return this[_0x120552(0x1bc)][_0x120552(0x1b0)](_0x120552(0x1b9))[_0x120552(0x1a3)](_0x1b82c5,_0x41f28d),_0x1b82c5[0x0];}[_0x36c2a7(0x1b7)](_0x1a2cb4,_0x4f6899){const _0x1ad28c=_0x36c2a7;return!(!_0x1a2cb4||!_0x4f6899)&&(_0x1ad28c(0x1b9)==_0x1a2cb4[_0x1ad28c(0x1ad)]&&_0x1ad28c(0x1b9)==_0x4f6899[_0x1ad28c(0x1ad)]&&!(!_0x1a2cb4[_0x1ad28c(0x1ac)][_0x1ad28c(0x1a1)](_0x1ad28c(0x1b5))||!_0x4f6899[_0x1ad28c(0x1ac)][_0x1ad28c(0x1a1)](_0x1ad28c(0x1b5))||_0x1a2cb4[_0x1ad28c(0x1ac)]==_0x4f6899[_0x1ad28c(0x1ac)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ed520=_0x3560;(function(_0x39efae,_0x36efa7){const _0x2120cf=_0x3560,_0x41a423=_0x39efae();while(!![]){try{const _0x5a82b8=parseInt(_0x2120cf(0x181))/0x1*(parseInt(_0x2120cf(0x19f))/0x2)+-parseInt(_0x2120cf(0x17e))/0x3+-parseInt(_0x2120cf(0x184))/0x4*(-parseInt(_0x2120cf(0x18e))/0x5)+parseInt(_0x2120cf(0x17c))/0x6+parseInt(_0x2120cf(0x189))/0x7*(parseInt(_0x2120cf(0x174))/0x8)+parseInt(_0x2120cf(0x191))/0x9+-parseInt(_0x2120cf(0x195))/0xa;if(_0x5a82b8===_0x36efa7)break;else _0x41a423['push'](_0x41a423['shift']());}catch(_0x153886){_0x41a423['push'](_0x41a423['shift']());}}}(_0x81d4,0x9a80a));import{CKEditorError as _0x4bf369}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x30835a}from'./protobuffactory.js';import{OperationCompressor as _0x36489c}from'./operationcompressor/operationcompressor.js';function _0x3560(_0x2f6d83,_0x6a9f41){const _0x81d4eb=_0x81d4();return _0x3560=function(_0x356072,_0x193adc){_0x356072=_0x356072-0x174;let _0x2fab3d=_0x81d4eb[_0x356072];return _0x2fab3d;},_0x3560(_0x2f6d83,_0x6a9f41);}import{AttributeOperationCompressor as _0x51d4e5}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x1b808d}from'./operationcompressor/insertoperationcompressor.js';function _0x81d4(){const _0x1c5bcd=['compress','320864ptdGgk','getDescriptor','RootAttributeOperation','UserSelectionAction','types','ForwardDeletingAction','no-operations-provided','decompress-compressor-not-found','6987762eZtltY','decompress','3702777eAwNVj','MoveOperation','RootOperation','1OIjYvn','comment','AttributeOperation','484gDJnqx','_registerOperationCompressor','_registerActionCompressor','CommentMarkerOperation','TypingAction','210nYFrmZ','SuggestionMarkerOperation','set','forEach','_registerCompressor','4705hmxPTa','MarkerOperation','__className','8230473SvwEEW','_compressorByName','DeletingAction','length','22798570GjzxEo','_compressorById','_getCompressorByName','_protobufFactory','get','RenameOperation','NoOperation','suggestion','SplitOperation','MergeOperation','1501466GiXnaP','InsertOperation','baseVersion'];_0x81d4=function(){return _0x1c5bcd;};return _0x81d4();}import{MarkerOperationCompressor as _0xbbe307}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4f3947}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4338e1}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x50da88}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x28ba1f}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x17a460}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x710d7f}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1ed520(0x196)];[_0x1ed520(0x192)];[_0x1ed520(0x198)];constructor(){const _0x33fa31=_0x1ed520;this[_0x33fa31(0x196)]=new Map(),this[_0x33fa31(0x192)]=new Map(),this[_0x33fa31(0x198)]=new _0x30835a();const _0x4ef2f0=this[_0x33fa31(0x198)][_0x33fa31(0x175)](_0x33fa31(0x18f));this[_0x33fa31(0x18d)](0x1,_0x33fa31(0x19b),new _0x4f3947(0x1,_0x33fa31(0x19b),void 0x0)),this[_0x33fa31(0x185)](0xa,_0x33fa31(0x183),_0x51d4e5),this[_0x33fa31(0x185)](0xb,_0x33fa31(0x1a0),_0x1b808d),this[_0x33fa31(0x185)](0xc,_0x33fa31(0x18f),_0xbbe307),this[_0x33fa31(0x185)](0xd,_0x33fa31(0x19e),_0x36489c),this[_0x33fa31(0x185)](0xe,_0x33fa31(0x17f),_0x36489c),this[_0x33fa31(0x185)](0xf,_0x33fa31(0x19a),_0x36489c),this[_0x33fa31(0x185)](0x10,_0x33fa31(0x176),_0x51d4e5),this[_0x33fa31(0x185)](0x11,_0x33fa31(0x19d),_0x36489c),this[_0x33fa31(0x18d)](0x12,_0x33fa31(0x187),new _0x4338e1(0x12,_0x33fa31(0x18f),_0x4ef2f0,_0x33fa31(0x182))),this[_0x33fa31(0x18d)](0x13,_0x33fa31(0x18a),new _0x4338e1(0x13,_0x33fa31(0x18f),_0x4ef2f0,_0x33fa31(0x19c))),this[_0x33fa31(0x185)](0x14,_0x33fa31(0x180),_0x36489c),this[_0x33fa31(0x186)](0x64,_0x33fa31(0x188),_0x50da88),this[_0x33fa31(0x186)](0x65,_0x33fa31(0x193),_0x28ba1f),this[_0x33fa31(0x186)](0x66,_0x33fa31(0x179),_0x17a460),this[_0x33fa31(0x186)](0x67,_0x33fa31(0x177),_0x710d7f);}[_0x1ed520(0x1a2)](_0x255bed){const _0xc44930=_0x1ed520;if(!_0x255bed||!_0x255bed[0x0])throw new _0x4bf369(_0xc44930(0x17a),this);const _0x519cd6={'types':[],'buffers':[],'baseVersion':_0x255bed[0x0][_0xc44930(0x1a1)]};for(;_0x255bed[_0xc44930(0x194)];)this[_0xc44930(0x197)](_0xc44930(0x177))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x188))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x193))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x179))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x187))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x18a))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0x255bed[0x0][_0xc44930(0x190)])[_0xc44930(0x1a2)](_0x519cd6,_0x255bed);return _0x519cd6;}[_0x1ed520(0x17d)](_0x2505f6){const _0x328a69=_0x1ed520,_0x5ab376=[];for(;_0x2505f6[_0x328a69(0x178)][_0x328a69(0x194)];){const _0x55160e=this[_0x328a69(0x196)][_0x328a69(0x199)](_0x2505f6[_0x328a69(0x178)][0x0]);if(!_0x55160e)throw new _0x4bf369(_0x328a69(0x17b),this,{'type':_0x2505f6[_0x328a69(0x178)][0x0]});_0x55160e[_0x328a69(0x17d)](_0x5ab376,_0x2505f6);}return _0x5ab376[_0x328a69(0x18c)]((_0x5a5036,_0x129a17)=>_0x5a5036[_0x328a69(0x1a1)]=_0x2505f6[_0x328a69(0x1a1)]+_0x129a17),_0x5ab376;}[_0x1ed520(0x197)](_0x282d96){const _0x254d6=_0x1ed520;return this[_0x254d6(0x192)][_0x254d6(0x199)](_0x282d96);}[_0x1ed520(0x185)](_0x1855fa,_0x1780b8,_0x22c54c){const _0xfb7e4e=_0x1ed520,_0x47f6ca=new _0x22c54c(_0x1855fa,_0x1780b8,this[_0xfb7e4e(0x198)][_0xfb7e4e(0x175)](_0x1780b8));this[_0xfb7e4e(0x18d)](_0x1855fa,_0x1780b8,_0x47f6ca);}[_0x1ed520(0x186)](_0x56b4b1,_0x45b0db,_0xb6f918){const _0x171591=_0x1ed520,_0x30fc5a=new _0xb6f918(_0x56b4b1,this);this[_0x171591(0x18d)](_0x56b4b1,_0x45b0db,_0x30fc5a);}[_0x1ed520(0x18d)](_0x25e324,_0x956e92,_0x41ff94){const _0x309077=_0x1ed520;this[_0x309077(0x196)][_0x309077(0x18b)](_0x25e324,_0x41ff94),this[_0x309077(0x192)][_0x309077(0x18b)](_0x956e92,_0x41ff94);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d1356,_0x1dd275){var _0x411748=_0x2314,_0x673e1a=_0x1d1356();while(!![]){try{var _0x345742=parseInt(_0x411748(0xec))/0x1*(-parseInt(_0x411748(0xf3))/0x2)+-parseInt(_0x411748(0xf5))/0x3+parseInt(_0x411748(0xea))/0x4*(parseInt(_0x411748(0xf1))/0x5)+-parseInt(_0x411748(0xeb))/0x6+-parseInt(_0x411748(0xed))/0x7*(parseInt(_0x411748(0xee))/0x8)+-parseInt(_0x411748(0xf4))/0x9*(-parseInt(_0x411748(0xf0))/0xa)+parseInt(_0x411748(0xef))/0xb*(parseInt(_0x411748(0xf2))/0xc);if(_0x345742===_0x1dd275)break;else _0x673e1a['push'](_0x673e1a['shift']());}catch(_0xf9520f){_0x673e1a['push'](_0x673e1a['shift']());}}}(_0x51a5,0x86879));export{Compressor}from'./compressor.js';function _0x2314(_0x28fe38,_0x1dbb53){var _0x51a58d=_0x51a5();return _0x2314=function(_0x231431,_0x5d3f6e){_0x231431=_0x231431-0xea;var _0x5e08c0=_0x51a58d[_0x231431];return _0x5e08c0;},_0x2314(_0x28fe38,_0x1dbb53);}function _0x51a5(){var _0xa47b87=['9526715MoAvwJ','11340ZHfGMQ','3055Mmbimp','12znogKP','355778PwrNbQ','1476UWnIFE','2340903AuWEfc','6500zCsJni','1687668mEKRDf','1SMZZRX','105haaJHC','135688bHgdPV'];_0x51a5=function(){return _0xa47b87;};return _0x51a5();}
|