@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.1 → 44.0.0-alpha.11
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/LICENSE.md +8 -8
- package/README.md +9 -7
- 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 _0x1449(_0x4d1ce8,_0x273b0a){const _0x1d0bf1=_0x1d0b();return _0x1449=function(_0x144943,_0x46e434){_0x144943=_0x144943-0xa2;let _0x4cd4a8=_0x1d0bf1[_0x144943];return _0x4cd4a8;},_0x1449(_0x4d1ce8,_0x273b0a);}const _0x4de31a=_0x1449;(function(_0x4234d2,_0x32d37b){const _0x272cd6=_0x1449,_0x15dcea=_0x4234d2();while(!![]){try{const _0x58c580=-parseInt(_0x272cd6(0xaa))/0x1*(-parseInt(_0x272cd6(0xab))/0x2)+-parseInt(_0x272cd6(0xb4))/0x3*(parseInt(_0x272cd6(0xac))/0x4)+parseInt(_0x272cd6(0xb2))/0x5*(-parseInt(_0x272cd6(0xbc))/0x6)+-parseInt(_0x272cd6(0xa4))/0x7*(parseInt(_0x272cd6(0xbe))/0x8)+-parseInt(_0x272cd6(0xb7))/0x9*(parseInt(_0x272cd6(0xa3))/0xa)+-parseInt(_0x272cd6(0xb3))/0xb+parseInt(_0x272cd6(0xbf))/0xc*(parseInt(_0x272cd6(0xa5))/0xd);if(_0x58c580===_0x32d37b)break;else _0x15dcea['push'](_0x15dcea['shift']());}catch(_0x2a1af6){_0x15dcea['push'](_0x15dcea['shift']());}}}(_0x1d0b,0x99ef9));import _0x3b49a7 from'./actioncompressor.js';import{arePositionsEqual as _0x26de67,getPositionShiftedBy as _0x3ea050}from'../utils.js';function _0x1d0b(){const _0x30cea9=['378790QbxDFO','50281UUeurl','39pKVtgy','_combineNext','_splitCurrent','MoveOperation','wasUndone','21XTirdo','55204QkMyis','20cVNfmX','_getCompressorByName','__className','targetPosition','$graveyard','_compareOperations','10XHZOnA','3027882oZAlAT','441798hYHScm','sourcePosition','buffers','297RRJNlu','howMany','_decompressSingleOperation','_checkOperation','root','1411002KFfojS','decompress','24Oygeep','11217444ckdxHb','_context','compress','_compressSingleOperation'];_0x1d0b=function(){return _0x30cea9;};return _0x1d0b();}import{cloneDeep as _0x40c20b}from'lodash-es';export default class c extends _0x3b49a7{[_0x4de31a(0xa6)](_0x91cbe0,_0x367231){const _0x37865b=_0x4de31a;return _0x367231[_0x37865b(0xb8)]++,_0x367231[_0x37865b(0xb5)]=_0x40c20b(_0x91cbe0[_0x37865b(0xb5)]),_0x367231;}[_0x4de31a(0xa7)](_0x486031){const _0x2c4075=_0x4de31a,_0x22643f=_0x40c20b(_0x486031);return _0x486031[_0x2c4075(0xb8)]--,_0x22643f[_0x2c4075(0xb8)]=0x1,_0x22643f[_0x2c4075(0xb5)]=_0x3ea050(_0x22643f[_0x2c4075(0xb5)],_0x486031[_0x2c4075(0xb8)]),_0x22643f;}[_0x4de31a(0xb1)](_0x27c8b5,_0xf1076a){const _0x20c1d=_0x4de31a;return!(!this[_0x20c1d(0xba)](_0x27c8b5)||!this[_0x20c1d(0xba)](_0xf1076a))&&(_0x26de67(_0x3ea050(_0x27c8b5[_0x20c1d(0xb5)],-0x1),_0xf1076a[_0x20c1d(0xb5)])&&_0x26de67(_0x27c8b5[_0x20c1d(0xaf)],_0xf1076a[_0x20c1d(0xaf)]));}[_0x4de31a(0xa2)](_0x58074f){const _0x52fecd=_0x4de31a,_0xf3ca9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x52fecd(0xc0)][_0x52fecd(0xad)](_0x52fecd(0xa8))[_0x52fecd(0xc1)](_0xf3ca9,[_0x58074f]),_0xf3ca9[_0x52fecd(0xb6)][0x0];}[_0x4de31a(0xb9)](_0x46daa4){const _0x447525=_0x4de31a,_0x4faf24=[];return this[_0x447525(0xc0)][_0x447525(0xad)](_0x447525(0xa8))[_0x447525(0xbd)](_0x4faf24,_0x46daa4),_0x4faf24[0x0];}[_0x4de31a(0xba)](_0x9273f){const _0x6c78d1=_0x4de31a;return _0x6c78d1(0xa8)==_0x9273f[_0x6c78d1(0xae)]&&_0x6c78d1(0xb0)==_0x9273f[_0x6c78d1(0xaf)][_0x6c78d1(0xbb)]&&0x1==_0x9273f[_0x6c78d1(0xb8)]&&!_0x9273f[_0x6c78d1(0xa9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d1b(_0x4a8240,_0x5870a9){const _0x314be4=_0x314b();return _0x2d1b=function(_0x2d1b01,_0x2c0d95){_0x2d1b01=_0x2d1b01-0xd9;let _0x473ab4=_0x314be4[_0x2d1b01];return _0x473ab4;},_0x2d1b(_0x4a8240,_0x5870a9);}const _0x5ca158=_0x2d1b;(function(_0x5f1f67,_0x4c8014){const _0x365df1=_0x2d1b,_0x4065f8=_0x5f1f67();while(!![]){try{const _0x3d132d=-parseInt(_0x365df1(0xec))/0x1*(parseInt(_0x365df1(0xf1))/0x2)+parseInt(_0x365df1(0xe2))/0x3+parseInt(_0x365df1(0xf4))/0x4+parseInt(_0x365df1(0xef))/0x5*(-parseInt(_0x365df1(0xe4))/0x6)+parseInt(_0x365df1(0xdb))/0x7+-parseInt(_0x365df1(0xd9))/0x8*(parseInt(_0x365df1(0xe0))/0x9)+parseInt(_0x365df1(0xde))/0xa;if(_0x3d132d===_0x4c8014)break;else _0x4065f8['push'](_0x4065f8['shift']());}catch(_0x292de9){_0x4065f8['push'](_0x4065f8['shift']());}}}(_0x314b,0x9a754));import _0x2e3860 from'./actioncompressor.js';import{arePositionsEqual as _0xcd2635}from'../utils.js';import{cloneDeep as _0x17dc93}from'lodash-es';function _0x314b(){const _0x374469=['root','decompress','415281YDLfVl','__className','$graveyard','530XYKuqS','_decompressSingleOperation','6PScFsW','_combineNext','targetPosition','3756092KJMGRn','_splitCurrent','342280ZavIzB','_context','8176945cLXYgg','_checkOperation','MoveOperation','1659810KoHngQ','sourcePosition','135PIALUg','buffers','1071819Zmdazv','howMany','6234DTQfeP','_getCompressorByName','wasUndone','_compressSingleOperation','_compareOperations','compress'];_0x314b=function(){return _0x374469;};return _0x314b();}export default class h extends _0x2e3860{[_0x5ca158(0xf2)](_0x23fdf0,_0x394481){const _0x45a110=_0x5ca158;return _0x394481[_0x45a110(0xe3)]++,_0x394481;}[_0x5ca158(0xf5)](_0x1ed00d){const _0x36311e=_0x5ca158,_0x3af734=_0x17dc93(_0x1ed00d);return _0x3af734[_0x36311e(0xe3)]=0x1,_0x1ed00d[_0x36311e(0xe3)]--,_0x3af734;}[_0x5ca158(0xe8)](_0x1fb424,_0x4edbbf){const _0x505ee2=_0x5ca158;return!(!this[_0x505ee2(0xdc)](_0x1fb424)||!this[_0x505ee2(0xdc)](_0x4edbbf))&&(_0xcd2635(_0x1fb424[_0x505ee2(0xdf)],_0x4edbbf[_0x505ee2(0xdf)])&&_0xcd2635(_0x1fb424[_0x505ee2(0xf3)],_0x4edbbf[_0x505ee2(0xf3)]));}[_0x5ca158(0xe7)](_0x53d678){const _0x17b3bc=_0x5ca158,_0x56cf4e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x17b3bc(0xda)][_0x17b3bc(0xe5)](_0x17b3bc(0xdd))[_0x17b3bc(0xe9)](_0x56cf4e,[_0x53d678]),_0x56cf4e[_0x17b3bc(0xe1)][0x0];}[_0x5ca158(0xf0)](_0x501a64){const _0x45ddf3=_0x5ca158,_0x3af1db=[];return this[_0x45ddf3(0xda)][_0x45ddf3(0xe5)](_0x45ddf3(0xdd))[_0x45ddf3(0xeb)](_0x3af1db,_0x501a64),_0x3af1db[0x0];}[_0x5ca158(0xdc)](_0x5cca83){const _0x368b3d=_0x5ca158;return _0x368b3d(0xdd)==_0x5cca83[_0x368b3d(0xed)]&&_0x368b3d(0xee)==_0x5cca83[_0x368b3d(0xf3)][_0x368b3d(0xea)]&&0x1==_0x5cca83[_0x368b3d(0xe3)]&&!_0x5cca83[_0x368b3d(0xe6)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x540def=_0x547e;(function(_0x2e2314,_0x2c6d24){const _0x269a1b=_0x547e,_0x58922c=_0x2e2314();while(!![]){try{const _0x5040e9=parseInt(_0x269a1b(0x18b))/0x1*(-parseInt(_0x269a1b(0x195))/0x2)+parseInt(_0x269a1b(0x18d))/0x3*(-parseInt(_0x269a1b(0x18f))/0x4)+-parseInt(_0x269a1b(0x1a4))/0x5+-parseInt(_0x269a1b(0x187))/0x6*(-parseInt(_0x269a1b(0x186))/0x7)+parseInt(_0x269a1b(0x19a))/0x8+-parseInt(_0x269a1b(0x188))/0x9*(-parseInt(_0x269a1b(0x197))/0xa)+parseInt(_0x269a1b(0x191))/0xb*(parseInt(_0x269a1b(0x192))/0xc);if(_0x5040e9===_0x2c6d24)break;else _0x58922c['push'](_0x58922c['shift']());}catch(_0x665f6a){_0x58922c['push'](_0x58922c['shift']());}}}(_0x17d3,0x5811e));import _0x140736 from'./actioncompressor.js';function _0x17d3(){const _0x4b283e=['wasUndone','1997963CqnqzL','12HICXFg','compress','value','353180AXOqZR','nodes','76160NTAKSN','attributes','every','5332656ENNFMF','InsertOperation','_checkOperation','_compressSingleOperation','data','substr','buffers','_combineNext','_splitCurrent','length','2116785jicWdX','from','_getCompressorByName','next','_context','_compareOperations','iterator','_compareAttributes','_decompressSingleOperation','3938718inJyTC','6Hehcre','207ZlGDtD','decompress','keys','1dVNgxO','__className','96syRvci','position','78172iWmmEo'];_0x17d3=function(){return _0x4b283e;};return _0x17d3();}import{arePositionsEqual as _0x5c43e3,getPositionShiftedBy as _0x5d006e}from'../utils.js';function _0x547e(_0x30bc19,_0x2b12ba){const _0x17d369=_0x17d3();return _0x547e=function(_0x547e0e,_0xb33ca7){_0x547e0e=_0x547e0e-0x183;let _0x2a45b1=_0x17d369[_0x547e0e];return _0x2a45b1;},_0x547e(_0x30bc19,_0x2b12ba);}import{cloneDeep as _0x1e4f1f}from'lodash-es';export default class m extends _0x140736{[_0x540def(0x1a1)](_0x493593,_0x578272){const _0x524d4f=_0x540def;return _0x578272[_0x524d4f(0x196)][0x0][_0x524d4f(0x19e)]+=_0x493593[_0x524d4f(0x196)][0x0][_0x524d4f(0x19e)],_0x578272;}[_0x540def(0x1a2)](_0x3e8994){const _0x5d42db=_0x540def,_0x7939e1=_0x1e4f1f(_0x3e8994),_0x53acbf=_0x7939e1[_0x5d42db(0x196)][0x0],_0x5767b6=_0x3e8994[_0x5d42db(0x196)][0x0],_0x140d03=_0x5767b6[_0x5d42db(0x19e)][Symbol[_0x5d42db(0x183)]]()[_0x5d42db(0x1a7)]()[_0x5d42db(0x194)],_0x1cfa08=_0x140d03[_0x5d42db(0x1a3)];return _0x53acbf[_0x5d42db(0x19e)]=_0x140d03,_0x5767b6[_0x5d42db(0x19e)]=_0x5767b6[_0x5d42db(0x19e)][_0x5d42db(0x19f)](_0x1cfa08),_0x3e8994[_0x5d42db(0x18e)]=_0x5d006e(_0x3e8994[_0x5d42db(0x18e)],_0x1cfa08),_0x7939e1;}[_0x540def(0x1a9)](_0x1cd1ae,_0x201f91){const _0x46dbf9=_0x540def;if(this[_0x46dbf9(0x19c)](_0x1cd1ae)&&this[_0x46dbf9(0x19c)](_0x201f91)){const _0x350afe=_0x1cd1ae[_0x46dbf9(0x196)][0x0][_0x46dbf9(0x19e)][_0x46dbf9(0x1a3)],_0x3598ee=_0x5c43e3(_0x5d006e(_0x1cd1ae[_0x46dbf9(0x18e)],_0x350afe),_0x201f91[_0x46dbf9(0x18e)]),_0x40decd=_0x1cd1ae[_0x46dbf9(0x196)][0x0],_0x5cfa7f=_0x201f91[_0x46dbf9(0x196)][0x0];return _0x3598ee&&this[_0x46dbf9(0x184)](_0x40decd,_0x5cfa7f);}return!0x1;}[_0x540def(0x19d)](_0xa7d9de){const _0x50b669=_0x540def,_0xd48a0c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x50b669(0x1a8)][_0x50b669(0x1a6)](_0x50b669(0x19b))[_0x50b669(0x193)](_0xd48a0c,[_0xa7d9de]),_0xd48a0c[_0x50b669(0x1a0)][0x0];}[_0x540def(0x185)](_0xc30f7c){const _0x1f1768=_0x540def,_0x49fe23=[];return this[_0x1f1768(0x1a8)][_0x1f1768(0x1a6)](_0x1f1768(0x19b))[_0x1f1768(0x189)](_0x49fe23,_0xc30f7c),_0x49fe23[0x0];}[_0x540def(0x19c)](_0x350fed){const _0x23d66e=_0x540def;return _0x23d66e(0x19b)==_0x350fed[_0x23d66e(0x18c)]&&0x1==_0x350fed[_0x23d66e(0x196)][_0x23d66e(0x1a3)]&&_0x350fed[_0x23d66e(0x196)][0x0][_0x23d66e(0x19e)]&&!_0x350fed[_0x23d66e(0x190)]&&0x1==Array[_0x23d66e(0x1a5)](_0x350fed[_0x23d66e(0x196)][0x0][_0x23d66e(0x19e)])[_0x23d66e(0x1a3)];}[_0x540def(0x184)](_0x4a5275,_0x3cc1a8){const _0x32fa49=_0x540def,_0x30e8e3=Object[_0x32fa49(0x18a)](_0x4a5275[_0x32fa49(0x198)]||{}),_0x3a345b=Object[_0x32fa49(0x18a)](_0x3cc1a8[_0x32fa49(0x198)]||{});return _0x30e8e3[_0x32fa49(0x1a3)]===_0x3a345b[_0x32fa49(0x1a3)]&&_0x30e8e3[_0x32fa49(0x199)](_0x5ed760=>_0x3cc1a8[_0x32fa49(0x198)][_0x5ed760]&&_0x3cc1a8[_0x32fa49(0x198)][_0x5ed760]===_0x4a5275[_0x32fa49(0x198)][_0x5ed760]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3509c4=_0x1cbb;(function(_0x14b4e2,_0x49a2b4){const _0x32f875=_0x1cbb,_0x496998=_0x14b4e2();while(!![]){try{const _0x96950e=parseInt(_0x32f875(0x201))/0x1+-parseInt(_0x32f875(0x20a))/0x2*(parseInt(_0x32f875(0x1f7))/0x3)+parseInt(_0x32f875(0x203))/0x4*(parseInt(_0x32f875(0x204))/0x5)+-parseInt(_0x32f875(0x20f))/0x6*(parseInt(_0x32f875(0x205))/0x7)+-parseInt(_0x32f875(0x20d))/0x8*(-parseInt(_0x32f875(0x210))/0x9)+-parseInt(_0x32f875(0x200))/0xa*(parseInt(_0x32f875(0x20c))/0xb)+-parseInt(_0x32f875(0x202))/0xc;if(_0x96950e===_0x49a2b4)break;else _0x496998['push'](_0x496998['shift']());}catch(_0x1e8cd8){_0x496998['push'](_0x496998['shift']());}}}(_0x3535,0x24684));import _0x418d87 from'./actioncompressor.js';function _0x1cbb(_0x5e80cf,_0x26293a){const _0x3535b9=_0x3535();return _0x1cbb=function(_0x1cbb6a,_0x2d559a){_0x1cbb6a=_0x1cbb6a-0x1ed;let _0x42017c=_0x3535b9[_0x1cbb6a];return _0x42017c;},_0x1cbb(_0x5e80cf,_0x26293a);}import{arePositionsEqual as _0x5cf5d6}from'../utils.js';function _0x3535(){const _0x324f5f=['_compareOperations','_context','MarkerOperation','startsWith','start','user:position:','30DITRNF','285366oTElVc','872832AjKvAL','1576janEjP','920VvLgte','7QiimLc','decompress','push','split','buffers','2jlkvCL','compress','520971GrLLuh','50216ChdIun','__className','455598nhRCMh','351COvbTA','shift','_id','user:','newRange','stickiness','oldRange','name','end','types','_decompressSingleOperation','_compressSingleOperation','488367Cjgjdy','_getCompressorByName','toNone'];_0x3535=function(){return _0x324f5f;};return _0x3535();}import{cloneDeep as _0x4a6702}from'lodash-es';export default class f extends _0x418d87{[_0x3509c4(0x20b)](_0x306422,_0x32be05){const _0x5bd349=_0x3509c4;if(!this[_0x5bd349(0x1fa)](_0x32be05[0x0],_0x32be05[0x1]))return!0x1;const _0x2c7a62=_0x32be05[_0x5bd349(0x211)]();return _0x2c7a62[_0x5bd349(0x1f1)]=null,_0x2c7a62[_0x5bd349(0x1ef)]&&_0x5cf5d6(_0x2c7a62[_0x5bd349(0x1ef)][_0x5bd349(0x1fe)],_0x2c7a62[_0x5bd349(0x1ef)][_0x5bd349(0x1f3)])&&(_0x2c7a62[_0x5bd349(0x1ef)][_0x5bd349(0x1f3)]=null),_0x32be05[_0x5bd349(0x211)](),_0x306422[_0x5bd349(0x1f4)][_0x5bd349(0x207)](this[_0x5bd349(0x1ed)]),_0x306422[_0x5bd349(0x1f4)][_0x5bd349(0x207)](0x0),_0x306422[_0x5bd349(0x209)][_0x5bd349(0x207)](this[_0x5bd349(0x1f6)](_0x2c7a62)),!0x0;}[_0x3509c4(0x206)](_0x54c340,_0x2b1261){const _0x1e87e2=_0x3509c4,_0x384a61=this[_0x1e87e2(0x1f5)](_0x2b1261);_0x384a61[_0x1e87e2(0x1ef)]&&!_0x384a61[_0x1e87e2(0x1ef)][_0x1e87e2(0x1f3)]&&(_0x384a61[_0x1e87e2(0x1ef)][_0x1e87e2(0x1f3)]=_0x4a6702(_0x384a61[_0x1e87e2(0x1ef)][_0x1e87e2(0x1fe)]));const _0x85713d=_0x4a6702(_0x384a61);_0x85713d[_0x1e87e2(0x1ef)]&&(_0x85713d[_0x1e87e2(0x1ef)][_0x1e87e2(0x1fe)][_0x1e87e2(0x1f0)]=_0x1e87e2(0x1f9),_0x85713d[_0x1e87e2(0x1ef)][_0x1e87e2(0x1f3)]=_0x4a6702(_0x85713d[_0x1e87e2(0x1ef)][_0x1e87e2(0x1fe)])),_0x85713d[_0x1e87e2(0x1f2)]=_0x1e87e2(0x1ff)+_0x85713d[_0x1e87e2(0x1f2)][_0x1e87e2(0x208)](':')[0x2],_0x2b1261[_0x1e87e2(0x1f4)][_0x1e87e2(0x211)](),_0x54c340[_0x1e87e2(0x207)](_0x384a61),_0x54c340[_0x1e87e2(0x207)](_0x85713d);}[_0x3509c4(0x1f6)](_0xeb6dc5){const _0x26a356=_0x3509c4,_0x572cda={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x26a356(0x1fb)][_0x26a356(0x1f8)](_0x26a356(0x1fc))[_0x26a356(0x20b)](_0x572cda,[_0xeb6dc5]),_0x572cda[_0x26a356(0x209)][0x0];}[_0x3509c4(0x1f5)](_0x4c6617){const _0x51aa13=_0x3509c4,_0x31cb12=[];return this[_0x51aa13(0x1fb)][_0x51aa13(0x1f8)](_0x51aa13(0x1fc))[_0x51aa13(0x206)](_0x31cb12,_0x4c6617),_0x31cb12[0x0];}[_0x3509c4(0x1fa)](_0x403c25,_0x2de082){const _0x1c253f=_0x3509c4;return!(!_0x403c25||!_0x2de082)&&(_0x1c253f(0x1fc)==_0x403c25[_0x1c253f(0x20e)]&&_0x1c253f(0x1fc)==_0x2de082[_0x1c253f(0x20e)]&&!(!_0x403c25[_0x1c253f(0x1f2)][_0x1c253f(0x1fd)](_0x1c253f(0x1ee))||!_0x2de082[_0x1c253f(0x1f2)][_0x1c253f(0x1fd)](_0x1c253f(0x1ee))||_0x403c25[_0x1c253f(0x1f2)]==_0x2de082[_0x1c253f(0x1f2)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x117fdf=_0x5617;function _0x5617(_0x3a5892,_0x1c92e9){const _0x3e4b2a=_0x3e4b();return _0x5617=function(_0x5617d4,_0x4873d2){_0x5617d4=_0x5617d4-0xda;let _0x19aed7=_0x3e4b2a[_0x5617d4];return _0x19aed7;},_0x5617(_0x3a5892,_0x1c92e9);}(function(_0x96b624,_0x2777a6){const _0x6075b1=_0x5617,_0x2f8d57=_0x96b624();while(!![]){try{const _0x46bb05=-parseInt(_0x6075b1(0xe9))/0x1+-parseInt(_0x6075b1(0xf7))/0x2*(-parseInt(_0x6075b1(0xf0))/0x3)+parseInt(_0x6075b1(0xdb))/0x4*(-parseInt(_0x6075b1(0x107))/0x5)+-parseInt(_0x6075b1(0xe3))/0x6+-parseInt(_0x6075b1(0x105))/0x7*(parseInt(_0x6075b1(0x108))/0x8)+-parseInt(_0x6075b1(0xeb))/0x9*(-parseInt(_0x6075b1(0xda))/0xa)+parseInt(_0x6075b1(0xf6))/0xb;if(_0x46bb05===_0x2777a6)break;else _0x2f8d57['push'](_0x2f8d57['shift']());}catch(_0x3d550e){_0x2f8d57['push'](_0x2f8d57['shift']());}}}(_0x3e4b,0x582e4));import{CKEditorError as _0x2bf616}from'ckeditor5/src/utils.js';import _0xb643a7 from'./protobuffactory.js';import _0x23c882 from'./operationcompressor/operationcompressor.js';import _0x4bd638 from'./operationcompressor/attributeoperationcompressor.js';import _0x2da9c4 from'./operationcompressor/insertoperationcompressor.js';import _0x14ee0d from'./operationcompressor/markeroperationcompressor.js';import _0x4091dd from'./operationcompressor/nooperationcompressor.js';import _0x541e0f from'./operationcompressor/annotationmarkeroperationcompressor.js';import _0x3d4b4d from'./actioncompressor/typingactioncompressor.js';import _0x50b047 from'./actioncompressor/deletingactioncompressor.js';import _0x52f64f from'./actioncompressor/forwarddeletingactioncompressor.js';import _0xc3c91e from'./actioncompressor/userselectionactioncompressor.js';function _0x3e4b(){const _0xe2bdc0=['284566DiEfQY','NoOperation','9PoWAEa','TypingAction','InsertOperation','__className','get','1504038WgxqKm','length','_registerCompressor','SuggestionMarkerOperation','SplitOperation','_compressorById','9255862nzowCX','2dBpHYq','MoveOperation','suggestion','comment','_compressorByName','_registerOperationCompressor','_getCompressorByName','compress','forEach','no-operations-provided','_protobufFactory','AttributeOperation','decompress','MergeOperation','680351tRJVuY','RootAttributeOperation','945730fQdQVE','8XDpOuQ','988930fdbhHI','8NSenDo','_registerActionCompressor','types','UserSelectionAction','baseVersion','ForwardDeletingAction','RootOperation','getDescriptor','1922652lTXUos','MarkerOperation','CommentMarkerOperation','set','RenameOperation','DeletingAction'];_0x3e4b=function(){return _0xe2bdc0;};return _0x3e4b();}export default class g{constructor(){const _0x59b76c=_0x5617;this[_0x59b76c(0xf5)]=new Map(),this[_0x59b76c(0xfb)]=new Map(),this[_0x59b76c(0x101)]=new _0xb643a7();const _0x2628c4=this[_0x59b76c(0x101)][_0x59b76c(0xe2)](_0x59b76c(0xe4));this[_0x59b76c(0xf2)](0x1,_0x59b76c(0xea),new _0x4091dd(0x1,_0x59b76c(0xea),void 0x0)),this[_0x59b76c(0xfc)](0xa,_0x59b76c(0x102),_0x4bd638),this[_0x59b76c(0xfc)](0xb,_0x59b76c(0xed),_0x2da9c4),this[_0x59b76c(0xfc)](0xc,_0x59b76c(0xe4),_0x14ee0d),this[_0x59b76c(0xfc)](0xd,_0x59b76c(0x104),_0x23c882),this[_0x59b76c(0xfc)](0xe,_0x59b76c(0xf8),_0x23c882),this[_0x59b76c(0xfc)](0xf,_0x59b76c(0xe7),_0x23c882),this[_0x59b76c(0xfc)](0x10,_0x59b76c(0x106),_0x4bd638),this[_0x59b76c(0xfc)](0x11,_0x59b76c(0xf4),_0x23c882),this[_0x59b76c(0xf2)](0x12,_0x59b76c(0xe5),new _0x541e0f(0x12,_0x59b76c(0xe4),_0x2628c4,_0x59b76c(0xfa))),this[_0x59b76c(0xf2)](0x13,_0x59b76c(0xf3),new _0x541e0f(0x13,_0x59b76c(0xe4),_0x2628c4,_0x59b76c(0xf9))),this[_0x59b76c(0xfc)](0x14,_0x59b76c(0xe1),_0x23c882),this[_0x59b76c(0xdc)](0x64,_0x59b76c(0xec),_0x3d4b4d),this[_0x59b76c(0xdc)](0x65,_0x59b76c(0xe8),_0x50b047),this[_0x59b76c(0xdc)](0x66,_0x59b76c(0xe0),_0x52f64f),this[_0x59b76c(0xdc)](0x67,_0x59b76c(0xde),_0xc3c91e);}[_0x117fdf(0xfe)](_0x423b29){const _0xf06f0a=_0x117fdf;if(!_0x423b29||!_0x423b29[0x0])throw new _0x2bf616(_0xf06f0a(0x100),this);const _0x1cb176={'types':[],'buffers':[],'baseVersion':_0x423b29[0x0][_0xf06f0a(0xdf)]};for(;_0x423b29[_0xf06f0a(0xf1)];)this[_0xf06f0a(0xfd)](_0xf06f0a(0xde))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0xf06f0a(0xec))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0xf06f0a(0xe8))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0xf06f0a(0xe0))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0xf06f0a(0xe5))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0xf06f0a(0xf3))[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29)||this[_0xf06f0a(0xfd)](_0x423b29[0x0][_0xf06f0a(0xee)])[_0xf06f0a(0xfe)](_0x1cb176,_0x423b29);return _0x1cb176;}[_0x117fdf(0x103)](_0x516d49){const _0x24c5c8=_0x117fdf,_0x5f18a5=[];for(;_0x516d49[_0x24c5c8(0xdd)][_0x24c5c8(0xf1)];){this[_0x24c5c8(0xf5)][_0x24c5c8(0xef)](_0x516d49[_0x24c5c8(0xdd)][0x0])[_0x24c5c8(0x103)](_0x5f18a5,_0x516d49);}return _0x5f18a5[_0x24c5c8(0xff)]((_0x1c0ca4,_0x327efa)=>_0x1c0ca4[_0x24c5c8(0xdf)]=_0x516d49[_0x24c5c8(0xdf)]+_0x327efa),_0x5f18a5;}[_0x117fdf(0xfd)](_0x52509f){const _0x4aaf05=_0x117fdf;return this[_0x4aaf05(0xfb)][_0x4aaf05(0xef)](_0x52509f);}[_0x117fdf(0xfc)](_0x1733ff,_0x2ab40e,_0x399e15){const _0x2adb06=_0x117fdf,_0x286c2c=new _0x399e15(_0x1733ff,_0x2ab40e,this[_0x2adb06(0x101)][_0x2adb06(0xe2)](_0x2ab40e));this[_0x2adb06(0xf2)](_0x1733ff,_0x2ab40e,_0x286c2c);}[_0x117fdf(0xdc)](_0x5016a9,_0x3e11b7,_0x27106e){const _0x11bdd8=_0x117fdf,_0x40bf45=new _0x27106e(_0x5016a9,this);this[_0x11bdd8(0xf2)](_0x5016a9,_0x3e11b7,_0x40bf45);}[_0x117fdf(0xf2)](_0x2bd4e1,_0x588915,_0x234446){const _0x45e4b9=_0x117fdf;this[_0x45e4b9(0xf5)][_0x45e4b9(0xe6)](_0x2bd4e1,_0x234446),this[_0x45e4b9(0xfb)][_0x45e4b9(0xe6)](_0x588915,_0x234446);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x43fa67,_0x82666b){var _0x572a3d=_0x426e,_0x560c76=_0x43fa67();while(!![]){try{var _0x447db5=-parseInt(_0x572a3d(0xd3))/0x1+-parseInt(_0x572a3d(0xd0))/0x2*(parseInt(_0x572a3d(0xcd))/0x3)+-parseInt(_0x572a3d(0xd2))/0x4*(-parseInt(_0x572a3d(0xcf))/0x5)+parseInt(_0x572a3d(0xd7))/0x6*(-parseInt(_0x572a3d(0xd5))/0x7)+-parseInt(_0x572a3d(0xd6))/0x8*(parseInt(_0x572a3d(0xce))/0x9)+parseInt(_0x572a3d(0xd1))/0xa+parseInt(_0x572a3d(0xd4))/0xb;if(_0x447db5===_0x82666b)break;else _0x560c76['push'](_0x560c76['shift']());}catch(_0x543d7a){_0x560c76['push'](_0x560c76['shift']());}}}(_0x2e24,0x4e5ef));function _0x426e(_0x737be7,_0x53b294){var _0x2e24b8=_0x2e24();return _0x426e=function(_0x426e00,_0x1d9346){_0x426e00=_0x426e00-0xcd;var _0x29744b=_0x2e24b8[_0x426e00];return _0x29744b;},_0x426e(_0x737be7,_0x53b294);}function _0x2e24(){var _0x3b4aeb=['6FSjDyR','337023juRqwQ','9paOZAh','965zqFgDZ','10SYvtTB','4877990cwYUJk','3772ezqNnY','625576UMfIkH','11582461utXrhn','141386avNHsj','1554104iYLKGN'];_0x2e24=function(){return _0x3b4aeb;};return _0x2e24();}export{default as Compressor}from'./compressor.js';
|