@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.0 → 47.3.0-alpha.1
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
|
-
const
|
|
23
|
+
const _0x32133a=_0x2790;(function(_0x3737c8,_0x408282){const _0x9bab83=_0x2790,_0x13aaa8=_0x3737c8();while(!![]){try{const _0x2739a7=parseInt(_0x9bab83(0xc7))/0x1*(parseInt(_0x9bab83(0xd1))/0x2)+parseInt(_0x9bab83(0xcd))/0x3*(-parseInt(_0x9bab83(0xd3))/0x4)+-parseInt(_0x9bab83(0xcb))/0x5+parseInt(_0x9bab83(0xbc))/0x6+-parseInt(_0x9bab83(0xbd))/0x7*(parseInt(_0x9bab83(0xc8))/0x8)+parseInt(_0x9bab83(0xc6))/0x9+-parseInt(_0x9bab83(0xca))/0xa*(-parseInt(_0x9bab83(0xc5))/0xb);if(_0x2739a7===_0x408282)break;else _0x13aaa8['push'](_0x13aaa8['shift']());}catch(_0x5ed2d0){_0x13aaa8['push'](_0x13aaa8['shift']());}}}(_0x4576,0x7110b));import{ActionCompressor as _0x4e4005}from'./actioncompressor.js';import{arePositionsEqual as _0x29df2d,getPositionShiftedBy as _0x12b07b}from'../utils.js';function _0x4576(){const _0x4d93c0=['941952wdGpjp','49oyuRLh','_compareOperations','targetPosition','_splitCurrent','root','decompress','_getCompressorByName','wasUndone','1348127uYvsSU','2097315raAfkM','415DlVKfQ','380816pwHLWb','_context','30NzmbVT','3399365KlqqXT','howMany','166413EhYbOq','sourcePosition','$graveyard','MoveOperation','3730WKoJYa','buffers','4eziOqd','_checkOperation','_combineNext','compress','_compressSingleOperation','_decompressSingleOperation','__className'];_0x4576=function(){return _0x4d93c0;};return _0x4576();}function _0x2790(_0x26f4e0,_0x175fd1){const _0x457608=_0x4576();return _0x2790=function(_0x27902b,_0x44aa4c){_0x27902b=_0x27902b-0xbb;let _0x290c4b=_0x457608[_0x27902b];return _0x290c4b;},_0x2790(_0x26f4e0,_0x175fd1);}import{cloneDeep as _0x2a94a7}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x4e4005{[_0x32133a(0xd5)](_0x3eed28,_0xcfeba2){const _0x302b9b=_0x32133a;return _0xcfeba2[_0x302b9b(0xcc)]++,_0xcfeba2[_0x302b9b(0xce)]=_0x2a94a7(_0x3eed28[_0x302b9b(0xce)]),_0xcfeba2;}[_0x32133a(0xc0)](_0x560481){const _0x20e513=_0x32133a,_0x32453e=_0x2a94a7(_0x560481);return _0x560481[_0x20e513(0xcc)]--,_0x32453e[_0x20e513(0xcc)]=0x1,_0x32453e[_0x20e513(0xce)]=_0x12b07b(_0x32453e[_0x20e513(0xce)],_0x560481[_0x20e513(0xcc)]),_0x32453e;}[_0x32133a(0xbe)](_0x58f552,_0x208525){const _0x312440=_0x32133a;return!(!this[_0x312440(0xd4)](_0x58f552)||!this[_0x312440(0xd4)](_0x208525))&&(_0x29df2d(_0x12b07b(_0x58f552[_0x312440(0xce)],-0x1),_0x208525[_0x312440(0xce)])&&_0x29df2d(_0x58f552[_0x312440(0xbf)],_0x208525[_0x312440(0xbf)]));}[_0x32133a(0xd7)](_0x97b96){const _0x49933f=_0x32133a,_0x3a125b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x49933f(0xc9)][_0x49933f(0xc3)](_0x49933f(0xd0))[_0x49933f(0xd6)](_0x3a125b,[_0x97b96]),_0x3a125b[_0x49933f(0xd2)][0x0];}[_0x32133a(0xd8)](_0x3ad52e){const _0x235550=_0x32133a,_0x37b5b4=[];return this[_0x235550(0xc9)][_0x235550(0xc3)](_0x235550(0xd0))[_0x235550(0xc2)](_0x37b5b4,_0x3ad52e),_0x37b5b4[0x0];}[_0x32133a(0xd4)](_0x37d4f4){const _0x52400e=_0x32133a;return _0x52400e(0xd0)==_0x37d4f4[_0x52400e(0xbb)]&&_0x52400e(0xcf)==_0x37d4f4[_0x52400e(0xbf)][_0x52400e(0xc1)]&&0x1==_0x37d4f4[_0x52400e(0xcc)]&&!_0x37d4f4[_0x52400e(0xc4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1de2(_0x24e494,_0x486204){const _0x32cfcb=_0x32cf();return _0x1de2=function(_0x1de276,_0x921fc6){_0x1de276=_0x1de276-0x122;let _0x37ad94=_0x32cfcb[_0x1de276];return _0x37ad94;},_0x1de2(_0x24e494,_0x486204);}const _0x14eebd=_0x1de2;(function(_0x16c8c2,_0x433779){const _0x547643=_0x1de2,_0xab1d0d=_0x16c8c2();while(!![]){try{const _0xa9c04f=parseInt(_0x547643(0x124))/0x1*(-parseInt(_0x547643(0x139))/0x2)+parseInt(_0x547643(0x126))/0x3+parseInt(_0x547643(0x133))/0x4+-parseInt(_0x547643(0x122))/0x5+-parseInt(_0x547643(0x13b))/0x6+-parseInt(_0x547643(0x12d))/0x7*(parseInt(_0x547643(0x128))/0x8)+-parseInt(_0x547643(0x135))/0x9*(-parseInt(_0x547643(0x13e))/0xa);if(_0xa9c04f===_0x433779)break;else _0xab1d0d['push'](_0xab1d0d['shift']());}catch(_0x1c6cc0){_0xab1d0d['push'](_0xab1d0d['shift']());}}}(_0x32cf,0x4f069));import{ActionCompressor as _0x13abca}from'./actioncompressor.js';import{arePositionsEqual as _0x19fe64}from'../utils.js';function _0x32cf(){const _0x335abe=['7sgqmnO','buffers','$graveyard','_compressSingleOperation','decompress','_context','2251556PtCIbD','sourcePosition','45BjftZa','root','compress','_getCompressorByName','10EWXGkA','_decompressSingleOperation','2181306CsaTqO','_splitCurrent','MoveOperation','2042190tZIudb','1358350kHogzw','_checkOperation','115937BuPUhi','_compareOperations','951048XycpXZ','howMany','2899240rsjzdZ','_combineNext','__className','wasUndone','targetPosition'];_0x32cf=function(){return _0x335abe;};return _0x32cf();}import{cloneDeep as _0x27df22}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x13abca{[_0x14eebd(0x129)](_0x53614c,_0x526452){const _0x50f825=_0x14eebd;return _0x526452[_0x50f825(0x127)]++,_0x526452;}[_0x14eebd(0x13c)](_0x3400ad){const _0xcc3460=_0x14eebd,_0x4b5628=_0x27df22(_0x3400ad);return _0x4b5628[_0xcc3460(0x127)]=0x1,_0x3400ad[_0xcc3460(0x127)]--,_0x4b5628;}[_0x14eebd(0x125)](_0x4bff21,_0x1686cd){const _0x12f44a=_0x14eebd;return!(!this[_0x12f44a(0x123)](_0x4bff21)||!this[_0x12f44a(0x123)](_0x1686cd))&&(_0x19fe64(_0x4bff21[_0x12f44a(0x134)],_0x1686cd[_0x12f44a(0x134)])&&_0x19fe64(_0x4bff21[_0x12f44a(0x12c)],_0x1686cd[_0x12f44a(0x12c)]));}[_0x14eebd(0x130)](_0x5b406a){const _0x44902a=_0x14eebd,_0x18cc03={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x44902a(0x132)][_0x44902a(0x138)](_0x44902a(0x13d))[_0x44902a(0x137)](_0x18cc03,[_0x5b406a]),_0x18cc03[_0x44902a(0x12e)][0x0];}[_0x14eebd(0x13a)](_0x2634ea){const _0x22f9b9=_0x14eebd,_0x26549b=[];return this[_0x22f9b9(0x132)][_0x22f9b9(0x138)](_0x22f9b9(0x13d))[_0x22f9b9(0x131)](_0x26549b,_0x2634ea),_0x26549b[0x0];}[_0x14eebd(0x123)](_0x5d469b){const _0x2d2ea6=_0x14eebd;return _0x2d2ea6(0x13d)==_0x5d469b[_0x2d2ea6(0x12a)]&&_0x2d2ea6(0x12f)==_0x5d469b[_0x2d2ea6(0x12c)][_0x2d2ea6(0x136)]&&0x1==_0x5d469b[_0x2d2ea6(0x127)]&&!_0x5d469b[_0x2d2ea6(0x12b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xce7b9e=_0x18c8;(function(_0x558b0b,_0x2880ad){const _0x5b603f=_0x18c8,_0xc41b0c=_0x558b0b();while(!![]){try{const _0x28a71f=parseInt(_0x5b603f(0x160))/0x1+-parseInt(_0x5b603f(0x150))/0x2+parseInt(_0x5b603f(0x15d))/0x3+parseInt(_0x5b603f(0x159))/0x4*(parseInt(_0x5b603f(0x15a))/0x5)+parseInt(_0x5b603f(0x169))/0x6+parseInt(_0x5b603f(0x16a))/0x7*(-parseInt(_0x5b603f(0x16b))/0x8)+-parseInt(_0x5b603f(0x16d))/0x9;if(_0x28a71f===_0x2880ad)break;else _0xc41b0c['push'](_0xc41b0c['shift']());}catch(_0x3eab88){_0xc41b0c['push'](_0xc41b0c['shift']());}}}(_0x5d0b,0x5de03));import{ActionCompressor as _0x21a95b}from'./actioncompressor.js';import{arePositionsEqual as _0x4c0d0a,getPositionShiftedBy as _0x1f5b1f}from'../utils.js';import{cloneDeep as _0xf38fb6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x21a95b{[_0xce7b9e(0x15e)](_0x2133ad,_0xd3cd9b){const _0x4f1b3c=_0xce7b9e;return _0xd3cd9b[_0x4f1b3c(0x164)][0x0][_0x4f1b3c(0x15f)]+=_0x2133ad[_0x4f1b3c(0x164)][0x0][_0x4f1b3c(0x15f)],_0xd3cd9b;}[_0xce7b9e(0x162)](_0xd6ce1a){const _0x2343cc=_0xce7b9e,_0x4cf771=_0xf38fb6(_0xd6ce1a),_0x22b87e=_0x4cf771[_0x2343cc(0x164)][0x0],_0x282641=_0xd6ce1a[_0x2343cc(0x164)][0x0],_0x3e8e75=_0x282641[_0x2343cc(0x15f)][Symbol[_0x2343cc(0x16e)]]()[_0x2343cc(0x157)]()[_0x2343cc(0x154)],_0x496aa6=_0x3e8e75[_0x2343cc(0x152)];return _0x22b87e[_0x2343cc(0x15f)]=_0x3e8e75,_0x282641[_0x2343cc(0x15f)]=_0x282641[_0x2343cc(0x15f)][_0x2343cc(0x168)](_0x496aa6),_0xd6ce1a[_0x2343cc(0x161)]=_0x1f5b1f(_0xd6ce1a[_0x2343cc(0x161)],_0x496aa6),_0x4cf771;}[_0xce7b9e(0x167)](_0x4fc604,_0x374043){const _0x1f2eef=_0xce7b9e;if(this[_0x1f2eef(0x15b)](_0x4fc604)&&this[_0x1f2eef(0x15b)](_0x374043)){const _0x5c9b85=_0x4fc604[_0x1f2eef(0x164)][0x0][_0x1f2eef(0x15f)][_0x1f2eef(0x152)],_0x4b2fee=_0x4c0d0a(_0x1f5b1f(_0x4fc604[_0x1f2eef(0x161)],_0x5c9b85),_0x374043[_0x1f2eef(0x161)]),_0x12f237=_0x4fc604[_0x1f2eef(0x164)][0x0],_0x5f2fc5=_0x374043[_0x1f2eef(0x164)][0x0];return _0x4b2fee&&this[_0x1f2eef(0x14d)](_0x12f237,_0x5f2fc5);}return!0x1;}[_0xce7b9e(0x158)](_0x1d8853){const _0x25378f=_0xce7b9e,_0xdc9734={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x25378f(0x15c)][_0x25378f(0x153)](_0x25378f(0x163))[_0x25378f(0x14b)](_0xdc9734,[_0x1d8853]),_0xdc9734[_0x25378f(0x16c)][0x0];}[_0xce7b9e(0x14e)](_0x5a22db){const _0x1720b4=_0xce7b9e,_0x38af98=[];return this[_0x1720b4(0x15c)][_0x1720b4(0x153)](_0x1720b4(0x163))[_0x1720b4(0x165)](_0x38af98,_0x5a22db),_0x38af98[0x0];}[_0xce7b9e(0x15b)](_0x3fc30c){const _0x4c5f84=_0xce7b9e;return _0x4c5f84(0x163)==_0x3fc30c[_0x4c5f84(0x14c)]&&0x1==_0x3fc30c[_0x4c5f84(0x164)][_0x4c5f84(0x152)]&&_0x3fc30c[_0x4c5f84(0x164)][0x0][_0x4c5f84(0x15f)]&&!_0x3fc30c[_0x4c5f84(0x155)]&&0x1==Array[_0x4c5f84(0x14f)](_0x3fc30c[_0x4c5f84(0x164)][0x0][_0x4c5f84(0x15f)])[_0x4c5f84(0x152)];}[_0xce7b9e(0x14d)](_0x29e3a7,_0x24adb9){const _0x4caff7=_0xce7b9e,_0x375638=Object[_0x4caff7(0x151)](_0x29e3a7[_0x4caff7(0x166)]||{}),_0x1e84b1=Object[_0x4caff7(0x151)](_0x24adb9[_0x4caff7(0x166)]||{});return _0x375638[_0x4caff7(0x152)]===_0x1e84b1[_0x4caff7(0x152)]&&_0x375638[_0x4caff7(0x156)](_0x1b95fe=>_0x24adb9[_0x4caff7(0x166)][_0x1b95fe]&&_0x24adb9[_0x4caff7(0x166)][_0x1b95fe]===_0x29e3a7[_0x4caff7(0x166)][_0x1b95fe]);}}function _0x18c8(_0x39a1d8,_0xd51c23){const _0x5d0b3b=_0x5d0b();return _0x18c8=function(_0x18c81f,_0x140f0c){_0x18c81f=_0x18c81f-0x14b;let _0x4f5e30=_0x5d0b3b[_0x18c81f];return _0x4f5e30;},_0x18c8(_0x39a1d8,_0xd51c23);}function _0x5d0b(){const _0x3fe01a=['every','next','_compressSingleOperation','648260YpTMvT','10HXDTXq','_checkOperation','_context','2137413moQuDo','_combineNext','data','523718wpvBbg','position','_splitCurrent','InsertOperation','nodes','decompress','attributes','_compareOperations','substr','1186026nXJhnt','76783eutAqh','176rtcdtB','buffers','7778547XYfKmX','iterator','compress','__className','_compareAttributes','_decompressSingleOperation','from','535748VcslcS','keys','length','_getCompressorByName','value','wasUndone'];_0x5d0b=function(){return _0x3fe01a;};return _0x5d0b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x38ef(_0x19a41f,_0x34b29b){const _0x323f5b=_0x323f();return _0x38ef=function(_0x38ef22,_0xe04e61){_0x38ef22=_0x38ef22-0x1f1;let _0x4784ed=_0x323f5b[_0x38ef22];return _0x4784ed;},_0x38ef(_0x19a41f,_0x34b29b);}function _0x323f(){const _0x14ec9f=['stickiness','_getCompressorByName','start','914534WZEqDB','_compareOperations','2610320ftevId','compress','MarkerOperation','7696388FmBary','end','split','types','newRange','4fzqLZo','shift','decompress','push','toNone','buffers','_compressSingleOperation','5486952xffFeM','_id','startsWith','__className','name','oldRange','user:','_context','2078499cGEhVf','user:position:','665122zRfZnv','3815605StJMse','_decompressSingleOperation'];_0x323f=function(){return _0x14ec9f;};return _0x323f();}const _0x1e035d=_0x38ef;(function(_0x983702,_0x4392c7){const _0x8a3887=_0x38ef,_0x4ab30c=_0x983702();while(!![]){try{const _0x164d2f=-parseInt(_0x8a3887(0x1f4))/0x1+-parseInt(_0x8a3887(0x20f))/0x2+parseInt(_0x8a3887(0x20d))/0x3+-parseInt(_0x8a3887(0x1fe))/0x4*(-parseInt(_0x8a3887(0x210))/0x5)+-parseInt(_0x8a3887(0x205))/0x6+parseInt(_0x8a3887(0x1f9))/0x7+parseInt(_0x8a3887(0x1f6))/0x8;if(_0x164d2f===_0x4392c7)break;else _0x4ab30c['push'](_0x4ab30c['shift']());}catch(_0x52bd0e){_0x4ab30c['push'](_0x4ab30c['shift']());}}}(_0x323f,0xafd0d));import{ActionCompressor as _0x1aa728}from'./actioncompressor.js';import{arePositionsEqual as _0x36ce8d}from'../utils.js';import{cloneDeep as _0x328fee}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x1aa728{[_0x1e035d(0x1f7)](_0x1688a4,_0x4fd095){const _0x57644c=_0x1e035d;if(!this[_0x57644c(0x1f5)](_0x4fd095[0x0],_0x4fd095[0x1]))return!0x1;const _0x4af4b6=_0x4fd095[_0x57644c(0x1ff)]();return _0x4af4b6[_0x57644c(0x20a)]=null,_0x4af4b6[_0x57644c(0x1fd)]&&_0x36ce8d(_0x4af4b6[_0x57644c(0x1fd)][_0x57644c(0x1f3)],_0x4af4b6[_0x57644c(0x1fd)][_0x57644c(0x1fa)])&&(_0x4af4b6[_0x57644c(0x1fd)][_0x57644c(0x1fa)]=null),_0x4fd095[_0x57644c(0x1ff)](),_0x1688a4[_0x57644c(0x1fc)][_0x57644c(0x201)](this[_0x57644c(0x206)]),_0x1688a4[_0x57644c(0x1fc)][_0x57644c(0x201)](0x0),_0x1688a4[_0x57644c(0x203)][_0x57644c(0x201)](this[_0x57644c(0x204)](_0x4af4b6)),!0x0;}[_0x1e035d(0x200)](_0x332eaa,_0x599c8b){const _0x19a81c=_0x1e035d,_0x3b5e50=this[_0x19a81c(0x211)](_0x599c8b);_0x3b5e50[_0x19a81c(0x1fd)]&&!_0x3b5e50[_0x19a81c(0x1fd)][_0x19a81c(0x1fa)]&&(_0x3b5e50[_0x19a81c(0x1fd)][_0x19a81c(0x1fa)]=_0x328fee(_0x3b5e50[_0x19a81c(0x1fd)][_0x19a81c(0x1f3)]));const _0x2c7327=_0x328fee(_0x3b5e50);_0x2c7327[_0x19a81c(0x1fd)]&&(_0x2c7327[_0x19a81c(0x1fd)][_0x19a81c(0x1f3)][_0x19a81c(0x1f1)]=_0x19a81c(0x202),_0x2c7327[_0x19a81c(0x1fd)][_0x19a81c(0x1fa)]=_0x328fee(_0x2c7327[_0x19a81c(0x1fd)][_0x19a81c(0x1f3)])),_0x2c7327[_0x19a81c(0x209)]=_0x19a81c(0x20e)+_0x2c7327[_0x19a81c(0x209)][_0x19a81c(0x1fb)](':')[0x2],_0x599c8b[_0x19a81c(0x1fc)][_0x19a81c(0x1ff)](),_0x332eaa[_0x19a81c(0x201)](_0x3b5e50),_0x332eaa[_0x19a81c(0x201)](_0x2c7327);}[_0x1e035d(0x204)](_0x359d1d){const _0x2da6b6=_0x1e035d,_0x2435c3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2da6b6(0x20c)][_0x2da6b6(0x1f2)](_0x2da6b6(0x1f8))[_0x2da6b6(0x1f7)](_0x2435c3,[_0x359d1d]),_0x2435c3[_0x2da6b6(0x203)][0x0];}[_0x1e035d(0x211)](_0x6b6ed8){const _0x56a497=_0x1e035d,_0x16ba66=[];return this[_0x56a497(0x20c)][_0x56a497(0x1f2)](_0x56a497(0x1f8))[_0x56a497(0x200)](_0x16ba66,_0x6b6ed8),_0x16ba66[0x0];}[_0x1e035d(0x1f5)](_0x400abf,_0x56feb8){const _0x242dfc=_0x1e035d;return!(!_0x400abf||!_0x56feb8)&&(_0x242dfc(0x1f8)==_0x400abf[_0x242dfc(0x208)]&&_0x242dfc(0x1f8)==_0x56feb8[_0x242dfc(0x208)]&&!(!_0x400abf[_0x242dfc(0x209)][_0x242dfc(0x207)](_0x242dfc(0x20b))||!_0x56feb8[_0x242dfc(0x209)][_0x242dfc(0x207)](_0x242dfc(0x20b))||_0x400abf[_0x242dfc(0x209)]==_0x56feb8[_0x242dfc(0x209)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11cf06=_0x3621;(function(_0x335b27,_0x5dc79f){const _0x805998=_0x3621,_0x30e1dc=_0x335b27();while(!![]){try{const _0x3120ce=-parseInt(_0x805998(0x12b))/0x1*(-parseInt(_0x805998(0x11b))/0x2)+parseInt(_0x805998(0x13e))/0x3+-parseInt(_0x805998(0x137))/0x4*(-parseInt(_0x805998(0x13b))/0x5)+parseInt(_0x805998(0x125))/0x6+parseInt(_0x805998(0x13a))/0x7*(-parseInt(_0x805998(0x11d))/0x8)+-parseInt(_0x805998(0x135))/0x9+-parseInt(_0x805998(0x142))/0xa*(-parseInt(_0x805998(0x136))/0xb);if(_0x3120ce===_0x5dc79f)break;else _0x30e1dc['push'](_0x30e1dc['shift']());}catch(_0x33f1ae){_0x30e1dc['push'](_0x30e1dc['shift']());}}}(_0xea85,0xaef94));import{CKEditorError as _0x5a09f7}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3dfeb5}from'./protobuffactory.js';import{OperationCompressor as _0x8f17ab}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x203e3b}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x5ae771}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x4ee1df}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x5959d2}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x1f0887}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0xcfc7da}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xa63a93}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x296020}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x3621(_0x221aae,_0x396ca6){const _0xea858d=_0xea85();return _0x3621=function(_0x36211d,_0x3280e1){_0x36211d=_0x36211d-0x113;let _0x2be02c=_0xea858d[_0x36211d];return _0x2be02c;},_0x3621(_0x221aae,_0x396ca6);}import{UserSelectionActionCompressor as _0x510ea3}from'./actioncompressor/userselectionactioncompressor.js';function _0xea85(){const _0x24ea9d=['getDescriptor','no-operations-provided','DeletingAction','__className','get','RootOperation','1554142dyekVZ','set','24CZwqlf','_registerActionCompressor','_registerCompressor','SuggestionMarkerOperation','TypingAction','comment','CommentMarkerOperation','AttributeOperation','3602910aTUdey','UserSelectionAction','decompress-compressor-not-found','InsertOperation','suggestion','MarkerOperation','1PWSfNm','baseVersion','MergeOperation','_compressorByName','_getCompressorByName','_protobufFactory','_compressorById','ForwardDeletingAction','_registerOperationCompressor','decompress','6997140ebkxou','11PbohLf','404bZpsgS','compress','length','2233357CTOmhl','12590OjepeY','forEach','RootAttributeOperation','2081352SGCYfN','SplitOperation','types','MoveOperation','1256470JwFWGp','NoOperation','RenameOperation'];_0xea85=function(){return _0x24ea9d;};return _0xea85();}export class Compressor{[_0x11cf06(0x131)];[_0x11cf06(0x12e)];[_0x11cf06(0x130)];constructor(){const _0x2c49f8=_0x11cf06;this[_0x2c49f8(0x131)]=new Map(),this[_0x2c49f8(0x12e)]=new Map(),this[_0x2c49f8(0x130)]=new _0x3dfeb5();const _0x58f389=this[_0x2c49f8(0x130)][_0x2c49f8(0x115)](_0x2c49f8(0x12a));this[_0x2c49f8(0x11f)](0x1,_0x2c49f8(0x113),new _0x5959d2(0x1,_0x2c49f8(0x113),void 0x0)),this[_0x2c49f8(0x133)](0xa,_0x2c49f8(0x124),_0x203e3b),this[_0x2c49f8(0x133)](0xb,_0x2c49f8(0x128),_0x5ae771),this[_0x2c49f8(0x133)](0xc,_0x2c49f8(0x12a),_0x4ee1df),this[_0x2c49f8(0x133)](0xd,_0x2c49f8(0x12d),_0x8f17ab),this[_0x2c49f8(0x133)](0xe,_0x2c49f8(0x141),_0x8f17ab),this[_0x2c49f8(0x133)](0xf,_0x2c49f8(0x114),_0x8f17ab),this[_0x2c49f8(0x133)](0x10,_0x2c49f8(0x13d),_0x203e3b),this[_0x2c49f8(0x133)](0x11,_0x2c49f8(0x13f),_0x8f17ab),this[_0x2c49f8(0x11f)](0x12,_0x2c49f8(0x123),new _0x1f0887(0x12,_0x2c49f8(0x12a),_0x58f389,_0x2c49f8(0x122))),this[_0x2c49f8(0x11f)](0x13,_0x2c49f8(0x120),new _0x1f0887(0x13,_0x2c49f8(0x12a),_0x58f389,_0x2c49f8(0x129))),this[_0x2c49f8(0x133)](0x14,_0x2c49f8(0x11a),_0x8f17ab),this[_0x2c49f8(0x11e)](0x64,_0x2c49f8(0x121),_0xcfc7da),this[_0x2c49f8(0x11e)](0x65,_0x2c49f8(0x117),_0xa63a93),this[_0x2c49f8(0x11e)](0x66,_0x2c49f8(0x132),_0x296020),this[_0x2c49f8(0x11e)](0x67,_0x2c49f8(0x126),_0x510ea3);}[_0x11cf06(0x138)](_0x4cc139){const _0xd60038=_0x11cf06;if(!_0x4cc139||!_0x4cc139[0x0])throw new _0x5a09f7(_0xd60038(0x116),this);const _0x45b807={'types':[],'buffers':[],'baseVersion':_0x4cc139[0x0][_0xd60038(0x12c)]};for(;_0x4cc139[_0xd60038(0x139)];)this[_0xd60038(0x12f)](_0xd60038(0x126))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0xd60038(0x121))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0xd60038(0x117))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0xd60038(0x132))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0xd60038(0x123))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0xd60038(0x120))[_0xd60038(0x138)](_0x45b807,_0x4cc139)||this[_0xd60038(0x12f)](_0x4cc139[0x0][_0xd60038(0x118)])[_0xd60038(0x138)](_0x45b807,_0x4cc139);return _0x45b807;}[_0x11cf06(0x134)](_0x56f391){const _0x4f6ba2=_0x11cf06,_0x2dcb9e=[];for(;_0x56f391[_0x4f6ba2(0x140)][_0x4f6ba2(0x139)];){const _0xef2c85=this[_0x4f6ba2(0x131)][_0x4f6ba2(0x119)](_0x56f391[_0x4f6ba2(0x140)][0x0]);if(!_0xef2c85)throw new _0x5a09f7(_0x4f6ba2(0x127),this,{'type':_0x56f391[_0x4f6ba2(0x140)][0x0]});_0xef2c85[_0x4f6ba2(0x134)](_0x2dcb9e,_0x56f391);}return _0x2dcb9e[_0x4f6ba2(0x13c)]((_0x9e31a4,_0x48f95a)=>_0x9e31a4[_0x4f6ba2(0x12c)]=_0x56f391[_0x4f6ba2(0x12c)]+_0x48f95a),_0x2dcb9e;}[_0x11cf06(0x12f)](_0x3eb07a){const _0x484865=_0x11cf06;return this[_0x484865(0x12e)][_0x484865(0x119)](_0x3eb07a);}[_0x11cf06(0x133)](_0x5eceae,_0x3aeafc,_0x2f3e58){const _0x292798=_0x11cf06,_0x4d26d1=new _0x2f3e58(_0x5eceae,_0x3aeafc,this[_0x292798(0x130)][_0x292798(0x115)](_0x3aeafc));this[_0x292798(0x11f)](_0x5eceae,_0x3aeafc,_0x4d26d1);}[_0x11cf06(0x11e)](_0xf25cf6,_0x51a58c,_0x2afbb7){const _0x1e413c=_0x11cf06,_0x3f1236=new _0x2afbb7(_0xf25cf6,this);this[_0x1e413c(0x11f)](_0xf25cf6,_0x51a58c,_0x3f1236);}[_0x11cf06(0x11f)](_0x5e81fc,_0x7cc0b2,_0x309f5d){const _0x1ff660=_0x11cf06;this[_0x1ff660(0x131)][_0x1ff660(0x11c)](_0x5e81fc,_0x309f5d),this[_0x1ff660(0x12e)][_0x1ff660(0x11c)](_0x7cc0b2,_0x309f5d);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x867e72,_0x5013e8){var _0x13fab3=_0x3784,_0x41ab6f=_0x867e72();while(!![]){try{var _0x5d25fd=-parseInt(_0x13fab3(0x1b4))/0x1*(parseInt(_0x13fab3(0x1ad))/0x2)+parseInt(_0x13fab3(0x1ab))/0x3+-parseInt(_0x13fab3(0x1b1))/0x4*(-parseInt(_0x13fab3(0x1af))/0x5)+parseInt(_0x13fab3(0x1ac))/0x6+parseInt(_0x13fab3(0x1b6))/0x7*(-parseInt(_0x13fab3(0x1b0))/0x8)+parseInt(_0x13fab3(0x1b5))/0x9*(parseInt(_0x13fab3(0x1b3))/0xa)+parseInt(_0x13fab3(0x1b2))/0xb*(-parseInt(_0x13fab3(0x1ae))/0xc);if(_0x5d25fd===_0x5013e8)break;else _0x41ab6f['push'](_0x41ab6f['shift']());}catch(_0x57cc37){_0x41ab6f['push'](_0x41ab6f['shift']());}}}(_0x36cf,0x4e18e));export{Compressor}from'./compressor.js';function _0x3784(_0x128571,_0x1cfcff){var _0x36cf38=_0x36cf();return _0x3784=function(_0x37847c,_0x33630b){_0x37847c=_0x37847c-0x1ab;var _0x460d49=_0x36cf38[_0x37847c];return _0x460d49;},_0x3784(_0x128571,_0x1cfcff);}function _0x36cf(){var _0x5da16f=['161uRnXkG','1354206kTbzFv','1568082elKDkO','326vTnZEX','444tQozMy','1383055dBoSUd','1040hirBXY','4dyeqyY','105831tJsnNf','480fPBNoQ','3337ZUZuFX','43767YSdhbK'];_0x36cf=function(){return _0x5da16f;};return _0x36cf();}
|