@ckeditor/ckeditor5-operations-compressor 47.6.0-alpha.9 → 47.6.1-alpha.0
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/errors.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 _0xd22ecb=_0x11ba;(function(_0x17f284,_0x43fd9e){const _0x2005c1=_0x11ba,_0x469935=_0x17f284();while(!![]){try{const _0x9a9a9b=-parseInt(_0x2005c1(0xb7))/0x1*(-parseInt(_0x2005c1(0xa3))/0x2)+-parseInt(_0x2005c1(0xac))/0x3*(-parseInt(_0x2005c1(0xa8))/0x4)+parseInt(_0x2005c1(0xa9))/0x5+parseInt(_0x2005c1(0xb3))/0x6+-parseInt(_0x2005c1(0xa0))/0x7*(-parseInt(_0x2005c1(0xad))/0x8)+parseInt(_0x2005c1(0xaf))/0x9*(-parseInt(_0x2005c1(0xaa))/0xa)+-parseInt(_0x2005c1(0xb6))/0xb;if(_0x9a9a9b===_0x43fd9e)break;else _0x469935['push'](_0x469935['shift']());}catch(_0x363d8c){_0x469935['push'](_0x469935['shift']());}}}(_0x50f9,0x7b2bb));function _0x11ba(_0x593cdd,_0xa4dd57){const _0x50f9a4=_0x50f9();return _0x11ba=function(_0x11ba21,_0xbb1130){_0x11ba21=_0x11ba21-0x9f;let _0x528c7c=_0x50f9a4[_0x11ba21];return _0x528c7c;},_0x11ba(_0x593cdd,_0xa4dd57);}import{cloneDeep as _0x23e4a0}from'es-toolkit/compat';export class ActionCompressor{[_0xd22ecb(0xb8)];[_0xd22ecb(0xa6)];constructor(_0x12476c,_0x231f74){const _0x5aa57a=_0xd22ecb;this[_0x5aa57a(0xb8)]=_0x12476c,this[_0x5aa57a(0xa6)]=_0x231f74;}[_0xd22ecb(0xb4)](_0xf45435,_0x4d1906){const _0x361b73=_0xd22ecb;let _0x414aaa,_0x1bedbb=_0x4d1906[_0x361b73(0xa7)][_0x4d1906[_0x361b73(0x9f)]],_0x130775=_0x4d1906[_0x361b73(0xa7)][_0x4d1906[_0x361b73(0x9f)]+0x1];for(;_0x130775&&this[_0x361b73(0xb5)](_0x1bedbb,_0x130775);)_0x414aaa?(_0x414aaa=this[_0x361b73(0xa4)](_0x1bedbb,_0x414aaa),_0xf45435[_0x361b73(0xae)][_0x361b73(0xa1)](0x0)):(_0x414aaa=_0x23e4a0(_0x1bedbb),_0xf45435[_0x361b73(0xae)][_0x361b73(0xa1)](this[_0x361b73(0xb8)])),_0x4d1906[_0x361b73(0x9f)]++,_0x1bedbb=_0x4d1906[_0x361b73(0xa7)][_0x4d1906[_0x361b73(0x9f)]],_0x130775=_0x4d1906[_0x361b73(0xa7)][_0x4d1906[_0x361b73(0x9f)]+0x1];return!!_0x414aaa&&(_0x414aaa=this[_0x361b73(0xa4)](_0x4d1906[_0x361b73(0xa7)][_0x4d1906[_0x361b73(0x9f)]++],_0x414aaa),_0xf45435[_0x361b73(0xae)][_0x361b73(0xa1)](0x0),_0xf45435[_0x361b73(0xa5)][_0x361b73(0xa1)](this[_0x361b73(0xab)](_0x414aaa)),!0x0);}[_0xd22ecb(0xb0)](_0x57ad56,_0xcb500d){const _0x248039=_0xd22ecb,_0x3a99b3=this[_0x248039(0xb1)](_0xcb500d);for(;0x0==_0xcb500d[_0x248039(0xae)][_0xcb500d[_0x248039(0xb2)]];)_0xcb500d[_0x248039(0xb2)]++,_0x57ad56[_0x248039(0xa1)](this[_0x248039(0xa2)](_0x3a99b3));_0x57ad56[_0x248039(0xa1)](_0x3a99b3);}}function _0x50f9(){const _0x27414d=['push','_splitCurrent','10VsCwzK','_combineNext','buffers','_context','operations','40CQLCGp','1807825CoGEWq','64340kcNFFL','_compressSingleOperation','76944RkJTPr','409992lQEJNc','types','666eTEBDK','decompress','_decompressSingleOperation','typeIndex','1820196dfcCbm','compress','_compareOperations','13851376Mayylg','89439PBJsvq','_id','index','119fpdisL'];_0x50f9=function(){return _0x27414d;};return _0x50f9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1d1c(){const _0xf573c9=['_combineNext','14124ZJFMzt','wasUndone','_context','__className','_compareOperations','_getCompressorByName','633878yYlPmS','133UoOMJg','targetPosition','$graveyard','1ylGraF','decompress','95960MHwTXK','_compressSingleOperation','9wPRbmw','1770665HVHQyp','34248oJcUEw','13129850mSwvbX','1355WEhJtw','compress','120ytlWzw','sourcePosition','buffers','root','7169437FvACRd','howMany','_decompressSingleOperation','_splitCurrent','_checkOperation','188YzJTMj','MoveOperation'];_0x1d1c=function(){return _0xf573c9;};return _0x1d1c();}function _0xc274(_0x4704ed,_0x4e6fef){const _0x1d1cf5=_0x1d1c();return _0xc274=function(_0xc274c7,_0x353e94){_0xc274c7=_0xc274c7-0x14c;let _0x46a7c8=_0x1d1cf5[_0xc274c7];return _0x46a7c8;},_0xc274(_0x4704ed,_0x4e6fef);}const _0x41b0e6=_0xc274;(function(_0x5435a4,_0x59beed){const _0x4746e3=_0xc274,_0x4aa756=_0x5435a4();while(!![]){try{const _0x35484b=-parseInt(_0x4746e3(0x166))/0x1*(-parseInt(_0x4746e3(0x162))/0x2)+parseInt(_0x4746e3(0x14c))/0x3*(parseInt(_0x4746e3(0x159))/0x4)+parseInt(_0x4746e3(0x14e))/0x5*(-parseInt(_0x4746e3(0x15c))/0x6)+parseInt(_0x4746e3(0x163))/0x7*(-parseInt(_0x4746e3(0x168))/0x8)+-parseInt(_0x4746e3(0x16a))/0x9*(parseInt(_0x4746e3(0x14d))/0xa)+parseInt(_0x4746e3(0x154))/0xb+parseInt(_0x4746e3(0x150))/0xc*(parseInt(_0x4746e3(0x16b))/0xd);if(_0x35484b===_0x59beed)break;else _0x4aa756['push'](_0x4aa756['shift']());}catch(_0x2a00b1){_0x4aa756['push'](_0x4aa756['shift']());}}}(_0x1d1c,0xa8164));import{ActionCompressor as _0x34c35c}from'./actioncompressor.js';import{arePositionsEqual as _0x5d642b,getPositionShiftedBy as _0x4b9712}from'../utils.js';import{cloneDeep as _0x5bd149}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x34c35c{[_0x41b0e6(0x15b)](_0x27f853,_0xfb08ed){const _0x2f580e=_0x41b0e6;return _0xfb08ed[_0x2f580e(0x155)]++,_0xfb08ed[_0x2f580e(0x151)]=_0x5bd149(_0x27f853[_0x2f580e(0x151)]),_0xfb08ed;}[_0x41b0e6(0x157)](_0x339da6){const _0x1f6f18=_0x41b0e6,_0x3de142=_0x5bd149(_0x339da6);return _0x339da6[_0x1f6f18(0x155)]--,_0x3de142[_0x1f6f18(0x155)]=0x1,_0x3de142[_0x1f6f18(0x151)]=_0x4b9712(_0x3de142[_0x1f6f18(0x151)],_0x339da6[_0x1f6f18(0x155)]),_0x3de142;}[_0x41b0e6(0x160)](_0x270e2f,_0xffee6a){const _0x37ee73=_0x41b0e6;return!(!this[_0x37ee73(0x158)](_0x270e2f)||!this[_0x37ee73(0x158)](_0xffee6a))&&(_0x5d642b(_0x4b9712(_0x270e2f[_0x37ee73(0x151)],-0x1),_0xffee6a[_0x37ee73(0x151)])&&_0x5d642b(_0x270e2f[_0x37ee73(0x164)],_0xffee6a[_0x37ee73(0x164)]));}[_0x41b0e6(0x169)](_0x549b23){const _0x343260=_0x41b0e6,_0x3e02b6={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x343260(0x15e)][_0x343260(0x161)](_0x343260(0x15a))[_0x343260(0x14f)](_0x3e02b6,{'operations':[_0x549b23],'index':0x0}),_0x3e02b6[_0x343260(0x152)][0x0];}[_0x41b0e6(0x156)](_0x306b6b){const _0x2fd129=_0x41b0e6,_0x347978=[];return this[_0x2fd129(0x15e)][_0x2fd129(0x161)](_0x2fd129(0x15a))[_0x2fd129(0x167)](_0x347978,_0x306b6b),_0x347978[0x0];}[_0x41b0e6(0x158)](_0x3e7ed8){const _0x113efe=_0x41b0e6;return _0x113efe(0x15a)==_0x3e7ed8[_0x113efe(0x15f)]&&_0x113efe(0x165)==_0x3e7ed8[_0x113efe(0x164)][_0x113efe(0x153)]&&0x1==_0x3e7ed8[_0x113efe(0x155)]&&!_0x3e7ed8[_0x113efe(0x15d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a6a(){const _0x17caf6=['1064054OTOmIY','root','howMany','1842672QLGOwe','__className','sourcePosition','51255JlJWLk','wasUndone','_context','_decompressSingleOperation','407337XkcNOR','_getCompressorByName','_compressSingleOperation','5150YWUjMR','946477PGlKxb','decompress','18RgLeVl','_splitCurrent','_compareOperations','buffers','60mxMOPd','$graveyard','_checkOperation','compress','5072552bgtUvE','targetPosition','_combineNext','MoveOperation','5804370voScCz'];_0x5a6a=function(){return _0x17caf6;};return _0x5a6a();}const _0x22ab75=_0x4b61;(function(_0x1f7e1d,_0x1e1b2b){const _0x4fa3e7=_0x4b61,_0x2155fa=_0x1f7e1d();while(!![]){try{const _0x559b42=-parseInt(_0x4fa3e7(0x1fb))/0x1+parseInt(_0x4fa3e7(0x1ee))/0x2*(parseInt(_0x4fa3e7(0x1e8))/0x3)+parseInt(_0x4fa3e7(0x1f6))/0x4+parseInt(_0x4fa3e7(0x1fa))/0x5+-parseInt(_0x4fa3e7(0x1f2))/0x6*(-parseInt(_0x4fa3e7(0x1ec))/0x7)+-parseInt(_0x4fa3e7(0x1fe))/0x8+-parseInt(_0x4fa3e7(0x1e4))/0x9*(parseInt(_0x4fa3e7(0x1eb))/0xa);if(_0x559b42===_0x1e1b2b)break;else _0x2155fa['push'](_0x2155fa['shift']());}catch(_0x10bcf9){_0x2155fa['push'](_0x2155fa['shift']());}}}(_0x5a6a,0xbd68c));import{ActionCompressor as _0x182296}from'./actioncompressor.js';import{arePositionsEqual as _0x410e40}from'../utils.js';import{cloneDeep as _0x4e3d9d}from'es-toolkit/compat';function _0x4b61(_0x1bb8c7,_0x2bbb34){const _0x5a6ae7=_0x5a6a();return _0x4b61=function(_0x4b6197,_0x47b7b0){_0x4b6197=_0x4b6197-0x1e4;let _0x54a1fd=_0x5a6ae7[_0x4b6197];return _0x54a1fd;},_0x4b61(_0x1bb8c7,_0x2bbb34);}export class ForwardDeletingActionCompressor extends _0x182296{[_0x22ab75(0x1f8)](_0x402c49,_0x2ad167){const _0xb77c7b=_0x22ab75;return _0x2ad167[_0xb77c7b(0x1fd)]++,_0x2ad167;}[_0x22ab75(0x1ef)](_0x3e10b5){const _0x38622b=_0x22ab75,_0x38f0e1=_0x4e3d9d(_0x3e10b5);return _0x38f0e1[_0x38622b(0x1fd)]=0x1,_0x3e10b5[_0x38622b(0x1fd)]--,_0x38f0e1;}[_0x22ab75(0x1f0)](_0xca9d11,_0x488056){const _0x9b3da2=_0x22ab75;return!(!this[_0x9b3da2(0x1f4)](_0xca9d11)||!this[_0x9b3da2(0x1f4)](_0x488056))&&(_0x410e40(_0xca9d11[_0x9b3da2(0x200)],_0x488056[_0x9b3da2(0x200)])&&_0x410e40(_0xca9d11[_0x9b3da2(0x1f7)],_0x488056[_0x9b3da2(0x1f7)]));}[_0x22ab75(0x1ea)](_0x4e6694){const _0x1809a8=_0x22ab75,_0x1ebbea={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1809a8(0x1e6)][_0x1809a8(0x1e9)](_0x1809a8(0x1f9))[_0x1809a8(0x1f5)](_0x1ebbea,{'operations':[_0x4e6694],'index':0x0}),_0x1ebbea[_0x1809a8(0x1f1)][0x0];}[_0x22ab75(0x1e7)](_0x3e00ed){const _0x2ab193=_0x22ab75,_0x28f3fc=[];return this[_0x2ab193(0x1e6)][_0x2ab193(0x1e9)](_0x2ab193(0x1f9))[_0x2ab193(0x1ed)](_0x28f3fc,_0x3e00ed),_0x28f3fc[0x0];}[_0x22ab75(0x1f4)](_0x19b715){const _0x531b37=_0x22ab75;return _0x531b37(0x1f9)==_0x19b715[_0x531b37(0x1ff)]&&_0x531b37(0x1f3)==_0x19b715[_0x531b37(0x1f7)][_0x531b37(0x1fc)]&&0x1==_0x19b715[_0x531b37(0x1fd)]&&!_0x19b715[_0x531b37(0x1e5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f680=_0x1f4c;(function(_0x27c4b9,_0xd47ff4){const _0x41d854=_0x1f4c,_0x426122=_0x27c4b9();while(!![]){try{const _0x4e680e=-parseInt(_0x41d854(0x115))/0x1*(parseInt(_0x41d854(0x11d))/0x2)+-parseInt(_0x41d854(0x116))/0x3+-parseInt(_0x41d854(0x131))/0x4+-parseInt(_0x41d854(0x134))/0x5+parseInt(_0x41d854(0x12a))/0x6+-parseInt(_0x41d854(0x12c))/0x7+parseInt(_0x41d854(0x118))/0x8*(parseInt(_0x41d854(0x11e))/0x9);if(_0x4e680e===_0xd47ff4)break;else _0x426122['push'](_0x426122['shift']());}catch(_0x2fc9b2){_0x426122['push'](_0x426122['shift']());}}}(_0x2d46,0xb0f78));import{ActionCompressor as _0x3b5ac8}from'./actioncompressor.js';function _0x2d46(){const _0x5844de=['_context','value','_checkOperation','attributes','next','989922bKhWVw','decompress','9477734eeJODa','keys','every','substr','iterator','86428AwOhrp','__className','_splitCurrent','2267970HIsKie','InsertOperation','_decompressSingleOperation','buffers','_compareOperations','1729fbrueL','4091904uupIJn','_compressSingleOperation','216SmOtuE','data','_combineNext','_compareAttributes','wasUndone','486QgQFHX','1391049YXjxRk','compress','from','nodes','length','_getCompressorByName','position'];_0x2d46=function(){return _0x5844de;};return _0x2d46();}import{arePositionsEqual as _0x2257c2,getPositionShiftedBy as _0x3476c5}from'../utils.js';function _0x1f4c(_0x80d0ff,_0x2f0c43){const _0x2d46f8=_0x2d46();return _0x1f4c=function(_0x1f4c18,_0x26b08c){_0x1f4c18=_0x1f4c18-0x114;let _0x5679e2=_0x2d46f8[_0x1f4c18];return _0x5679e2;},_0x1f4c(_0x80d0ff,_0x2f0c43);}import{cloneDeep as _0x5ed667}from'es-toolkit/compat';export class TypingActionCompressor extends _0x3b5ac8{[_0x24f680(0x11a)](_0x10d3e0,_0x51061d){const _0x38a596=_0x24f680;return _0x51061d[_0x38a596(0x121)][0x0][_0x38a596(0x119)]+=_0x10d3e0[_0x38a596(0x121)][0x0][_0x38a596(0x119)],_0x51061d;}[_0x24f680(0x133)](_0x2f6610){const _0x31d0b2=_0x24f680,_0x4bad7f=_0x5ed667(_0x2f6610),_0x7a3002=_0x4bad7f[_0x31d0b2(0x121)][0x0],_0x4165b8=_0x2f6610[_0x31d0b2(0x121)][0x0],_0x428738=_0x4165b8[_0x31d0b2(0x119)][Symbol[_0x31d0b2(0x130)]]()[_0x31d0b2(0x129)]()[_0x31d0b2(0x126)],_0x3ea3b0=_0x428738[_0x31d0b2(0x122)];return _0x7a3002[_0x31d0b2(0x119)]=_0x428738,_0x4165b8[_0x31d0b2(0x119)]=_0x4165b8[_0x31d0b2(0x119)][_0x31d0b2(0x12f)](_0x3ea3b0),_0x2f6610[_0x31d0b2(0x124)]=_0x3476c5(_0x2f6610[_0x31d0b2(0x124)],_0x3ea3b0),_0x4bad7f;}[_0x24f680(0x114)](_0x5cf642,_0x15ba81){const _0x43b0f2=_0x24f680;if(this[_0x43b0f2(0x127)](_0x5cf642)&&this[_0x43b0f2(0x127)](_0x15ba81)){const _0x540624=_0x5cf642[_0x43b0f2(0x121)][0x0][_0x43b0f2(0x119)][_0x43b0f2(0x122)],_0x24a3ad=_0x2257c2(_0x3476c5(_0x5cf642[_0x43b0f2(0x124)],_0x540624),_0x15ba81[_0x43b0f2(0x124)]),_0x3caf2a=_0x5cf642[_0x43b0f2(0x121)][0x0],_0x2b6b5d=_0x15ba81[_0x43b0f2(0x121)][0x0];return _0x24a3ad&&this[_0x43b0f2(0x11b)](_0x3caf2a,_0x2b6b5d);}return!0x1;}[_0x24f680(0x117)](_0x3c89c7){const _0x549bdf=_0x24f680,_0x4798b5={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x549bdf(0x125)][_0x549bdf(0x123)](_0x549bdf(0x135))[_0x549bdf(0x11f)](_0x4798b5,{'operations':[_0x3c89c7],'index':0x0}),_0x4798b5[_0x549bdf(0x137)][0x0];}[_0x24f680(0x136)](_0xeaa039){const _0x3b821d=_0x24f680,_0x1f6a8a=[];return this[_0x3b821d(0x125)][_0x3b821d(0x123)](_0x3b821d(0x135))[_0x3b821d(0x12b)](_0x1f6a8a,_0xeaa039),_0x1f6a8a[0x0];}[_0x24f680(0x127)](_0x4faf85){const _0x45e9f2=_0x24f680;return _0x45e9f2(0x135)==_0x4faf85[_0x45e9f2(0x132)]&&0x1==_0x4faf85[_0x45e9f2(0x121)][_0x45e9f2(0x122)]&&_0x4faf85[_0x45e9f2(0x121)][0x0][_0x45e9f2(0x119)]&&!_0x4faf85[_0x45e9f2(0x11c)]&&0x1==Array[_0x45e9f2(0x120)](_0x4faf85[_0x45e9f2(0x121)][0x0][_0x45e9f2(0x119)])[_0x45e9f2(0x122)];}[_0x24f680(0x11b)](_0x4ee2b1,_0x4a9f83){const _0x29b3c3=_0x24f680,_0x2d3e6c=Object[_0x29b3c3(0x12d)](_0x4ee2b1[_0x29b3c3(0x128)]||{}),_0x48852a=Object[_0x29b3c3(0x12d)](_0x4a9f83[_0x29b3c3(0x128)]||{});return _0x2d3e6c[_0x29b3c3(0x122)]===_0x48852a[_0x29b3c3(0x122)]&&_0x2d3e6c[_0x29b3c3(0x12e)](_0x14e48b=>_0x4a9f83[_0x29b3c3(0x128)][_0x14e48b]&&_0x4a9f83[_0x29b3c3(0x128)][_0x14e48b]===_0x4ee2b1[_0x29b3c3(0x128)][_0x14e48b]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f5374=_0x1200;(function(_0x1fb07f,_0x40f7c9){const _0x3d3464=_0x1200,_0x2d1716=_0x1fb07f();while(!![]){try{const _0x1f4b45=-parseInt(_0x3d3464(0xb2))/0x1+parseInt(_0x3d3464(0xa1))/0x2*(-parseInt(_0x3d3464(0xae))/0x3)+-parseInt(_0x3d3464(0xac))/0x4+parseInt(_0x3d3464(0xb9))/0x5*(-parseInt(_0x3d3464(0xa3))/0x6)+parseInt(_0x3d3464(0x97))/0x7*(parseInt(_0x3d3464(0xb4))/0x8)+parseInt(_0x3d3464(0xa9))/0x9*(parseInt(_0x3d3464(0xad))/0xa)+parseInt(_0x3d3464(0xb8))/0xb*(parseInt(_0x3d3464(0xb1))/0xc);if(_0x1f4b45===_0x40f7c9)break;else _0x2d1716['push'](_0x2d1716['shift']());}catch(_0x37edbc){_0x2d1716['push'](_0x2d1716['shift']());}}}(_0x24eb,0xcc779));import{ActionCompressor as _0x2c71f6}from'./actioncompressor.js';import{arePositionsEqual as _0x2fe949}from'../utils.js';function _0x1200(_0x757d71,_0x1b5d07){const _0x24eb0f=_0x24eb();return _0x1200=function(_0x12000c,_0x54a72d){_0x12000c=_0x12000c-0x97;let _0x1ad8bb=_0x24eb0f[_0x12000c];return _0x1ad8bb;},_0x1200(_0x757d71,_0x1b5d07);}function _0x24eb(){const _0x46c65f=['1813004lfVYVr','12083030hvwxkG','3ZJWooi','types','_compressSingleOperation','23449512iIrNJe','167747eGiugF','user:position:','65624ZGSbQH','newRange','startsWith','oldRange','11oxZHtK','5yipQEY','toNone','_id','buffers','_context','28GNAZnU','compress','_compareOperations','index','operations','typeIndex','MarkerOperation','__className','user:','split','285610zotIpO','decompress','9563646YuLsTG','end','stickiness','_getCompressorByName','start','push','9iIGxPE','_decompressSingleOperation','name'];_0x24eb=function(){return _0x46c65f;};return _0x24eb();}import{cloneDeep as _0xdc90c9}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x2c71f6{[_0x3f5374(0x98)](_0x1e865e,_0x13e623){const _0x179949=_0x3f5374;if(!this[_0x179949(0x99)](_0x13e623[_0x179949(0x9b)][_0x13e623[_0x179949(0x9a)]],_0x13e623[_0x179949(0x9b)][_0x13e623[_0x179949(0x9a)]+0x1]))return!0x1;const _0x504154=_0x13e623[_0x179949(0x9b)][_0x13e623[_0x179949(0x9a)]++];return _0x504154[_0x179949(0xb7)]=null,_0x504154[_0x179949(0xb5)]&&_0x2fe949(_0x504154[_0x179949(0xb5)][_0x179949(0xa7)],_0x504154[_0x179949(0xb5)][_0x179949(0xa4)])&&(_0x504154[_0x179949(0xb5)][_0x179949(0xa4)]=null),_0x13e623[_0x179949(0x9a)]++,_0x1e865e[_0x179949(0xaf)][_0x179949(0xa8)](this[_0x179949(0xbb)]),_0x1e865e[_0x179949(0xaf)][_0x179949(0xa8)](0x0),_0x1e865e[_0x179949(0xbc)][_0x179949(0xa8)](this[_0x179949(0xb0)](_0x504154)),!0x0;}[_0x3f5374(0xa2)](_0x35e4de,_0x2b37e7){const _0x33a53f=_0x3f5374,_0x2a12a5=this[_0x33a53f(0xaa)](_0x2b37e7);_0x2a12a5[_0x33a53f(0xb5)]&&!_0x2a12a5[_0x33a53f(0xb5)][_0x33a53f(0xa4)]&&(_0x2a12a5[_0x33a53f(0xb5)][_0x33a53f(0xa4)]=_0xdc90c9(_0x2a12a5[_0x33a53f(0xb5)][_0x33a53f(0xa7)]));const _0x1b60b6=_0xdc90c9(_0x2a12a5);_0x1b60b6[_0x33a53f(0xb5)]&&(_0x1b60b6[_0x33a53f(0xb5)][_0x33a53f(0xa7)][_0x33a53f(0xa5)]=_0x33a53f(0xba),_0x1b60b6[_0x33a53f(0xb5)][_0x33a53f(0xa4)]=_0xdc90c9(_0x1b60b6[_0x33a53f(0xb5)][_0x33a53f(0xa7)])),_0x1b60b6[_0x33a53f(0xab)]=_0x33a53f(0xb3)+_0x1b60b6[_0x33a53f(0xab)][_0x33a53f(0xa0)](':')[0x2],_0x2b37e7[_0x33a53f(0x9c)]++,_0x35e4de[_0x33a53f(0xa8)](_0x2a12a5),_0x35e4de[_0x33a53f(0xa8)](_0x1b60b6);}[_0x3f5374(0xb0)](_0x22570a){const _0x894d19=_0x3f5374,_0x354b69={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x894d19(0xbd)][_0x894d19(0xa6)](_0x894d19(0x9d))[_0x894d19(0x98)](_0x354b69,{'operations':[_0x22570a],'index':0x0}),_0x354b69[_0x894d19(0xbc)][0x0];}[_0x3f5374(0xaa)](_0x49f205){const _0x399cbb=_0x3f5374,_0x1eb720=[];return this[_0x399cbb(0xbd)][_0x399cbb(0xa6)](_0x399cbb(0x9d))[_0x399cbb(0xa2)](_0x1eb720,_0x49f205),_0x1eb720[0x0];}[_0x3f5374(0x99)](_0x3f15f5,_0x4f3fcb){const _0x135fa4=_0x3f5374;return!(!_0x3f15f5||!_0x4f3fcb)&&(_0x135fa4(0x9d)==_0x3f15f5[_0x135fa4(0x9e)]&&_0x135fa4(0x9d)==_0x4f3fcb[_0x135fa4(0x9e)]&&!(!_0x3f15f5[_0x135fa4(0xab)][_0x135fa4(0xb6)](_0x135fa4(0x9f))||!_0x4f3fcb[_0x135fa4(0xab)][_0x135fa4(0xb6)](_0x135fa4(0x9f))||_0x3f15f5[_0x135fa4(0xab)]==_0x4f3fcb[_0x135fa4(0xab)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3637c6=_0x3b06;(function(_0x471d13,_0x580dae){const _0x10e238=_0x3b06,_0x40c4be=_0x471d13();while(!![]){try{const _0x27edad=-parseInt(_0x10e238(0x1e5))/0x1*(parseInt(_0x10e238(0x1e1))/0x2)+parseInt(_0x10e238(0x1ee))/0x3+-parseInt(_0x10e238(0x1ca))/0x4+-parseInt(_0x10e238(0x1dc))/0x5*(parseInt(_0x10e238(0x1cb))/0x6)+parseInt(_0x10e238(0x1d2))/0x7+-parseInt(_0x10e238(0x1df))/0x8+parseInt(_0x10e238(0x1e2))/0x9;if(_0x27edad===_0x580dae)break;else _0x40c4be['push'](_0x40c4be['shift']());}catch(_0xe49c86){_0x40c4be['push'](_0x40c4be['shift']());}}}(_0x5185,0xde6b3));import{CKEditorError as _0x4c7804}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x2301e4}from'./protobuffactory.js';import{OperationCompressor as _0x110266}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x598681}from'./operationcompressor/attributeoperationcompressor.js';function _0x3b06(_0x537da1,_0x281e46){const _0x5185db=_0x5185();return _0x3b06=function(_0x3b065e,_0x3305b6){_0x3b065e=_0x3b065e-0x1c7;let _0x29e393=_0x5185db[_0x3b065e];return _0x29e393;},_0x3b06(_0x537da1,_0x281e46);}import{InsertOperationCompressor as _0x27d352}from'./operationcompressor/insertoperationcompressor.js';function _0x5185(){const _0x142302=['AttributeOperation','__className','length','compress','ForwardDeletingAction','SuggestionMarkerOperation','getDescriptor','_registerActionCompressor','8210LNbreu','index','DeletingAction','12478856UWrJXB','RootOperation','244gPrlAF','15177123NGTvbL','comment','_getCompressorByName','5482wguddO','typeIndex','MergeOperation','MarkerOperation','decompress-compressor-not-found','no-operations-provided','types','NoOperation','UserSelectionAction','3224733bvRwzZ','MoveOperation','InsertOperation','TypingAction','get','operations','decompress','_registerCompressor','set','RootAttributeOperation','forEach','SplitOperation','RenameOperation','_compressorByName','4915036bdNHrk','678oGLJNE','suggestion','baseVersion','CommentMarkerOperation','buffers','_protobufFactory','_registerOperationCompressor','12549145jLdGtN','_compressorById'];_0x5185=function(){return _0x142302;};return _0x5185();}import{MarkerOperationCompressor as _0xa1ab21}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x9c52c3}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4b41d5}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x110f13}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1a6c41}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x764838}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3def1d}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x3637c6(0x1d3)];[_0x3637c6(0x1c9)];[_0x3637c6(0x1d0)];constructor(){const _0x226478=_0x3637c6;this[_0x226478(0x1d3)]=new Map(),this[_0x226478(0x1c9)]=new Map(),this[_0x226478(0x1d0)]=new _0x2301e4();const _0x52fd2e=this[_0x226478(0x1d0)][_0x226478(0x1da)](_0x226478(0x1e8));this[_0x226478(0x1f5)](0x1,_0x226478(0x1ec),new _0x9c52c3(0x1,_0x226478(0x1ec),void 0x0)),this[_0x226478(0x1d1)](0xa,_0x226478(0x1d4),_0x598681),this[_0x226478(0x1d1)](0xb,_0x226478(0x1f0),_0x27d352),this[_0x226478(0x1d1)](0xc,_0x226478(0x1e8),_0xa1ab21),this[_0x226478(0x1d1)](0xd,_0x226478(0x1e7),_0x110266),this[_0x226478(0x1d1)](0xe,_0x226478(0x1ef),_0x110266),this[_0x226478(0x1d1)](0xf,_0x226478(0x1c8),_0x110266),this[_0x226478(0x1d1)](0x10,_0x226478(0x1f7),_0x598681),this[_0x226478(0x1d1)](0x11,_0x226478(0x1c7),_0x110266),this[_0x226478(0x1f5)](0x12,_0x226478(0x1ce),new _0x4b41d5(0x12,_0x226478(0x1e8),_0x52fd2e,_0x226478(0x1e3))),this[_0x226478(0x1f5)](0x13,_0x226478(0x1d9),new _0x4b41d5(0x13,_0x226478(0x1e8),_0x52fd2e,_0x226478(0x1cc))),this[_0x226478(0x1d1)](0x14,_0x226478(0x1e0),_0x110266),this[_0x226478(0x1db)](0x64,_0x226478(0x1f1),_0x110f13),this[_0x226478(0x1db)](0x65,_0x226478(0x1de),_0x1a6c41),this[_0x226478(0x1db)](0x66,_0x226478(0x1d8),_0x764838),this[_0x226478(0x1db)](0x67,_0x226478(0x1ed),_0x3def1d);}[_0x3637c6(0x1d7)](_0x295822){const _0x134658=_0x3637c6;if(!_0x295822||!_0x295822[0x0])throw new _0x4c7804(_0x134658(0x1ea),this);const _0x11a097={'operations':_0x295822,'index':0x0},_0x1f6986={'types':[],'buffers':[],'baseVersion':_0x295822[0x0][_0x134658(0x1cd)]};for(;_0x11a097[_0x134658(0x1dd)]<_0x11a097[_0x134658(0x1f3)][_0x134658(0x1d6)];){if(this[_0x134658(0x1e4)](_0x134658(0x1ed))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;if(this[_0x134658(0x1e4)](_0x134658(0x1f1))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;if(this[_0x134658(0x1e4)](_0x134658(0x1de))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;if(this[_0x134658(0x1e4)](_0x134658(0x1d8))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;if(this[_0x134658(0x1e4)](_0x134658(0x1ce))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;if(this[_0x134658(0x1e4)](_0x134658(0x1d9))[_0x134658(0x1d7)](_0x1f6986,_0x11a097))continue;const _0x1b699e=_0x11a097[_0x134658(0x1f3)][_0x11a097[_0x134658(0x1dd)]][_0x134658(0x1d5)];this[_0x134658(0x1e4)](_0x1b699e)[_0x134658(0x1d7)](_0x1f6986,_0x11a097);}return _0x1f6986;}[_0x3637c6(0x1f4)](_0xfb9565){const _0x365b56=_0x3637c6,_0x17f8df=[],_0xb4203c={'types':_0xfb9565[_0x365b56(0x1eb)],'buffers':_0xfb9565[_0x365b56(0x1cf)],'baseVersion':_0xfb9565[_0x365b56(0x1cd)],'typeIndex':0x0,'bufferIndex':0x0};for(;_0xb4203c[_0x365b56(0x1e6)]<_0xb4203c[_0x365b56(0x1eb)][_0x365b56(0x1d6)];){const _0x38063e=_0xb4203c[_0x365b56(0x1eb)][_0xb4203c[_0x365b56(0x1e6)]],_0x476b07=this[_0x365b56(0x1d3)][_0x365b56(0x1f2)](_0x38063e);if(!_0x476b07)throw new _0x4c7804(_0x365b56(0x1e9),this,{'type':_0x38063e});_0x476b07[_0x365b56(0x1f4)](_0x17f8df,_0xb4203c);}return _0x17f8df[_0x365b56(0x1f8)]((_0x3fbcc7,_0x1fa51c)=>_0x3fbcc7[_0x365b56(0x1cd)]=_0xfb9565[_0x365b56(0x1cd)]+_0x1fa51c),_0x17f8df;}[_0x3637c6(0x1e4)](_0x5573c9){const _0x1f25b3=_0x3637c6;return this[_0x1f25b3(0x1c9)][_0x1f25b3(0x1f2)](_0x5573c9);}[_0x3637c6(0x1d1)](_0x3e0015,_0x5e8cca,_0x34ed73){const _0x1592e6=_0x3637c6,_0x2d8acf=new _0x34ed73(_0x3e0015,_0x5e8cca,this[_0x1592e6(0x1d0)][_0x1592e6(0x1da)](_0x5e8cca));this[_0x1592e6(0x1f5)](_0x3e0015,_0x5e8cca,_0x2d8acf);}[_0x3637c6(0x1db)](_0x5b00dc,_0x38bb3e,_0x4cd969){const _0x23dc95=_0x3637c6,_0x3b8ea3=new _0x4cd969(_0x5b00dc,this);this[_0x23dc95(0x1f5)](_0x5b00dc,_0x38bb3e,_0x3b8ea3);}[_0x3637c6(0x1f5)](_0x1d823d,_0x5b6606,_0x483a8d){const _0x2f6b98=_0x3637c6;this[_0x2f6b98(0x1d3)][_0x2f6b98(0x1f6)](_0x1d823d,_0x483a8d),this[_0x2f6b98(0x1c9)][_0x2f6b98(0x1f6)](_0x5b6606,_0x483a8d);}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xdcf0(_0x418223,_0x96bbea){var _0x385a83=_0x385a();return _0xdcf0=function(_0xdcf07e,_0x9a7d2f){_0xdcf07e=_0xdcf07e-0xcb;var _0x399b4f=_0x385a83[_0xdcf07e];return _0x399b4f;},_0xdcf0(_0x418223,_0x96bbea);}function _0x385a(){var _0x251dde=['1877132AFEwZl','2969832quVmrC','196bubFOY','117469UohdQG','384703RPbGRP','5vjncPu','528714WPpDtQ','2CUOULb','50cdzouq','19914nZkDVU','24WIehQr','1386741IzJflq'];_0x385a=function(){return _0x251dde;};return _0x385a();}(function(_0x16b238,_0x3e4fc8){var _0x2a8252=_0xdcf0,_0x35db9e=_0x16b238();while(!![]){try{var _0x125695=-parseInt(_0x2a8252(0xcd))/0x1*(parseInt(_0x2a8252(0xd0))/0x2)+parseInt(_0x2a8252(0xd4))/0x3+-parseInt(_0x2a8252(0xd5))/0x4*(parseInt(_0x2a8252(0xce))/0x5)+-parseInt(_0x2a8252(0xd2))/0x6*(-parseInt(_0x2a8252(0xcb))/0x7)+parseInt(_0x2a8252(0xd6))/0x8+parseInt(_0x2a8252(0xcf))/0x9*(parseInt(_0x2a8252(0xd1))/0xa)+parseInt(_0x2a8252(0xcc))/0xb*(-parseInt(_0x2a8252(0xd3))/0xc);if(_0x125695===_0x3e4fc8)break;else _0x35db9e['push'](_0x35db9e['shift']());}catch(_0x3e81ff){_0x35db9e['push'](_0x35db9e['shift']());}}}(_0x385a,0x542da));import{CKEditorError as _0x300db6}from'ckeditor5/src/utils.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3443(){var _0x3051a4=['5668630vyWWCN','729956JDLrXZ','93jzpDzU','6377544uPuYJW','97517WyYIqd','71433UojsJl','1291704swqijh','20jdRPZc','48282saDNre','40qxqkTr'];_0x3443=function(){return _0x3051a4;};return _0x3443();}(function(_0x273966,_0x293e2a){var _0x490505=_0x48cd,_0x193e2e=_0x273966();while(!![]){try{var _0x5b4b77=parseInt(_0x490505(0xf1))/0x1+-parseInt(_0x490505(0xf3))/0x2*(-parseInt(_0x490505(0xed))/0x3)+-parseInt(_0x490505(0xec))/0x4*(parseInt(_0x490505(0xf2))/0x5)+-parseInt(_0x490505(0xee))/0x6+parseInt(_0x490505(0xef))/0x7*(-parseInt(_0x490505(0xf4))/0x8)+parseInt(_0x490505(0xf0))/0x9+parseInt(_0x490505(0xf5))/0xa;if(_0x5b4b77===_0x293e2a)break;else _0x193e2e['push'](_0x193e2e['shift']());}catch(_0x4ee556){_0x193e2e['push'](_0x193e2e['shift']());}}}(_0x3443,0xb7ad4));function _0x48cd(_0x335261,_0x4cae80){var _0x34436f=_0x3443();return _0x48cd=function(_0x48cd07,_0x4356ef){_0x48cd07=_0x48cd07-0xec;var _0x38010d=_0x34436f[_0x48cd07];return _0x38010d;},_0x48cd(_0x335261,_0x4cae80);}export{Compressor}from'./compressor.js';
|