@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.1 → 47.3.0-alpha.3

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ const _0x4a21c8=_0x5ec4;(function(_0x397b9b,_0x3e21f5){const _0x2162f4=_0x5ec4,_0x33584e=_0x397b9b();while(!![]){try{const _0x5d3071=-parseInt(_0x2162f4(0x85))/0x1+parseInt(_0x2162f4(0x76))/0x2+parseInt(_0x2162f4(0x79))/0x3*(-parseInt(_0x2162f4(0x7d))/0x4)+-parseInt(_0x2162f4(0x78))/0x5+-parseInt(_0x2162f4(0x6f))/0x6*(-parseInt(_0x2162f4(0x81))/0x7)+parseInt(_0x2162f4(0x87))/0x8+parseInt(_0x2162f4(0x80))/0x9;if(_0x5d3071===_0x3e21f5)break;else _0x33584e['push'](_0x33584e['shift']());}catch(_0x3c2f2a){_0x33584e['push'](_0x33584e['shift']());}}}(_0x49ba,0xeed88));function _0x5ec4(_0x171894,_0x1874ef){const _0x49ba57=_0x49ba();return _0x5ec4=function(_0x5ec40e,_0x54c6a2){_0x5ec40e=_0x5ec40e-0x6c;let _0x32fda7=_0x49ba57[_0x5ec40e];return _0x32fda7;},_0x5ec4(_0x171894,_0x1874ef);}import{ActionCompressor as _0x3491ef}from'./actioncompressor.js';import{arePositionsEqual as _0x1d5fa8,getPositionShiftedBy as _0x5db2bf}from'../utils.js';import{cloneDeep as _0x38f6cf}from'es-toolkit/compat';function _0x49ba(){const _0x2b24ca=['_checkOperation','_compareOperations','_splitCurrent','1813676sWbgkC','sourcePosition','decompress','1125684CWaQSq','4649106gxevgx','root','_combineNext','$graveyard','981666lblwMV','buffers','15358448RjgMlO','_context','MoveOperation','wasUndone','6qnXLBG','_decompressSingleOperation','howMany','__className','targetPosition','_getCompressorByName','compress','3109710fuuBQb','_compressSingleOperation','6985395llKTRC','6yhJoqa'];_0x49ba=function(){return _0x2b24ca;};return _0x49ba();}export class DeletingActionCompressor extends _0x3491ef{[_0x4a21c8(0x83)](_0x4e5190,_0x52f6d4){const _0x33312c=_0x4a21c8;return _0x52f6d4[_0x33312c(0x71)]++,_0x52f6d4[_0x33312c(0x7e)]=_0x38f6cf(_0x4e5190[_0x33312c(0x7e)]),_0x52f6d4;}[_0x4a21c8(0x7c)](_0x3ef536){const _0x21ea99=_0x4a21c8,_0x28a0e7=_0x38f6cf(_0x3ef536);return _0x3ef536[_0x21ea99(0x71)]--,_0x28a0e7[_0x21ea99(0x71)]=0x1,_0x28a0e7[_0x21ea99(0x7e)]=_0x5db2bf(_0x28a0e7[_0x21ea99(0x7e)],_0x3ef536[_0x21ea99(0x71)]),_0x28a0e7;}[_0x4a21c8(0x7b)](_0x3231f5,_0xd5e6d4){const _0x4fcd05=_0x4a21c8;return!(!this[_0x4fcd05(0x7a)](_0x3231f5)||!this[_0x4fcd05(0x7a)](_0xd5e6d4))&&(_0x1d5fa8(_0x5db2bf(_0x3231f5[_0x4fcd05(0x7e)],-0x1),_0xd5e6d4[_0x4fcd05(0x7e)])&&_0x1d5fa8(_0x3231f5[_0x4fcd05(0x73)],_0xd5e6d4[_0x4fcd05(0x73)]));}[_0x4a21c8(0x77)](_0x2adc2f){const _0x291e05=_0x4a21c8,_0x2081fb={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x291e05(0x6c)][_0x291e05(0x74)](_0x291e05(0x6d))[_0x291e05(0x75)](_0x2081fb,[_0x2adc2f]),_0x2081fb[_0x291e05(0x86)][0x0];}[_0x4a21c8(0x70)](_0x217066){const _0x5d356d=_0x4a21c8,_0x5d1763=[];return this[_0x5d356d(0x6c)][_0x5d356d(0x74)](_0x5d356d(0x6d))[_0x5d356d(0x7f)](_0x5d1763,_0x217066),_0x5d1763[0x0];}[_0x4a21c8(0x7a)](_0x5c2b39){const _0x27142d=_0x4a21c8;return _0x27142d(0x6d)==_0x5c2b39[_0x27142d(0x72)]&&_0x27142d(0x84)==_0x5c2b39[_0x27142d(0x73)][_0x27142d(0x82)]&&0x1==_0x5c2b39[_0x27142d(0x71)]&&!_0x5c2b39[_0x27142d(0x6e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ function _0x2114(){const _0x50a453=['862jEUCml','howMany','_combineNext','4674LGlKFP','_compressSingleOperation','_compareOperations','sourcePosition','$graveyard','__className','_context','_decompressSingleOperation','compress','10571166WSuWtO','_checkOperation','_getCompressorByName','5568732mDGDPp','targetPosition','root','MoveOperation','5DqRlSb','762041UfGGEq','buffers','_splitCurrent','4025792JCWvVq','wasUndone','205743rBKDIr','1639276DdcqVf','decompress'];_0x2114=function(){return _0x50a453;};return _0x2114();}const _0x58d720=_0x37e8;(function(_0x1364db,_0x55f0f5){const _0x2302d7=_0x37e8,_0x7d53da=_0x1364db();while(!![]){try{const _0x11f3ed=-parseInt(_0x2302d7(0x6d))/0x1+-parseInt(_0x2302d7(0x70))/0x2*(-parseInt(_0x2302d7(0x73))/0x3)+parseInt(_0x2302d7(0x6e))/0x4+-parseInt(_0x2302d7(0x83))/0x5*(parseInt(_0x2302d7(0x7f))/0x6)+-parseInt(_0x2302d7(0x84))/0x7+-parseInt(_0x2302d7(0x6b))/0x8+parseInt(_0x2302d7(0x7c))/0x9;if(_0x11f3ed===_0x55f0f5)break;else _0x7d53da['push'](_0x7d53da['shift']());}catch(_0x34c8e4){_0x7d53da['push'](_0x7d53da['shift']());}}}(_0x2114,0x7c7f3));import{ActionCompressor as _0x535ea8}from'./actioncompressor.js';import{arePositionsEqual as _0x1f910a}from'../utils.js';import{cloneDeep as _0x2ddc53}from'es-toolkit/compat';function _0x37e8(_0x4840f1,_0x480732){const _0x2114ff=_0x2114();return _0x37e8=function(_0x37e82c,_0x4c0e78){_0x37e82c=_0x37e82c-0x6a;let _0x4761fe=_0x2114ff[_0x37e82c];return _0x4761fe;},_0x37e8(_0x4840f1,_0x480732);}export class ForwardDeletingActionCompressor extends _0x535ea8{[_0x58d720(0x72)](_0x137456,_0xb5f6b5){const _0x138bb2=_0x58d720;return _0xb5f6b5[_0x138bb2(0x71)]++,_0xb5f6b5;}[_0x58d720(0x6a)](_0x1b48bb){const _0x4b1b09=_0x58d720,_0x2ed6a5=_0x2ddc53(_0x1b48bb);return _0x2ed6a5[_0x4b1b09(0x71)]=0x1,_0x1b48bb[_0x4b1b09(0x71)]--,_0x2ed6a5;}[_0x58d720(0x75)](_0x28f99b,_0x54ef3a){const _0x4d3fbb=_0x58d720;return!(!this[_0x4d3fbb(0x7d)](_0x28f99b)||!this[_0x4d3fbb(0x7d)](_0x54ef3a))&&(_0x1f910a(_0x28f99b[_0x4d3fbb(0x76)],_0x54ef3a[_0x4d3fbb(0x76)])&&_0x1f910a(_0x28f99b[_0x4d3fbb(0x80)],_0x54ef3a[_0x4d3fbb(0x80)]));}[_0x58d720(0x74)](_0x3f276e){const _0x45d3fb=_0x58d720,_0x17281a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x45d3fb(0x79)][_0x45d3fb(0x7e)](_0x45d3fb(0x82))[_0x45d3fb(0x7b)](_0x17281a,[_0x3f276e]),_0x17281a[_0x45d3fb(0x85)][0x0];}[_0x58d720(0x7a)](_0x2e7a4a){const _0x2fda18=_0x58d720,_0x3d755d=[];return this[_0x2fda18(0x79)][_0x2fda18(0x7e)](_0x2fda18(0x82))[_0x2fda18(0x6f)](_0x3d755d,_0x2e7a4a),_0x3d755d[0x0];}[_0x58d720(0x7d)](_0x1c538c){const _0x1ad176=_0x58d720;return _0x1ad176(0x82)==_0x1c538c[_0x1ad176(0x78)]&&_0x1ad176(0x77)==_0x1c538c[_0x1ad176(0x80)][_0x1ad176(0x81)]&&0x1==_0x1c538c[_0x1ad176(0x71)]&&!_0x1c538c[_0x1ad176(0x6c)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x22e0(){const _0x57c709=['substr','decompress','next','iterator','826QWkzXT','_decompressSingleOperation','_getCompressorByName','353128MbrDfG','_compareAttributes','nodes','buffers','from','position','keys','data','8866525IWUunA','18DcKzyD','51chYmEQ','__className','_context','length','47166xGohAy','7034872RJFQWC','_compareOperations','value','attributes','12169330wUxDJW','17678UAqcKD','InsertOperation','197043yKFfDo','every','compress','_combineNext','_compressSingleOperation','_checkOperation','wasUndone','_splitCurrent'];_0x22e0=function(){return _0x57c709;};return _0x22e0();}function _0x2f83(_0x275434,_0x11a7c6){const _0x22e0e6=_0x22e0();return _0x2f83=function(_0x2f83c1,_0x898fdf){_0x2f83c1=_0x2f83c1-0x1be;let _0x3065bf=_0x22e0e6[_0x2f83c1];return _0x3065bf;},_0x2f83(_0x275434,_0x11a7c6);}const _0x47759f=_0x2f83;(function(_0x4734d9,_0x4605a3){const _0x2e4dff=_0x2f83,_0x54d6cd=_0x4734d9();while(!![]){try{const _0x2435d0=-parseInt(_0x2e4dff(0x1be))/0x1+parseInt(_0x2e4dff(0x1e1))/0x2*(-parseInt(_0x2e4dff(0x1d7))/0x3)+parseInt(_0x2e4dff(0x1dc))/0x4+parseInt(_0x2e4dff(0x1d5))/0x5+-parseInt(_0x2e4dff(0x1db))/0x6*(parseInt(_0x2e4dff(0x1ca))/0x7)+parseInt(_0x2e4dff(0x1cd))/0x8*(-parseInt(_0x2e4dff(0x1d6))/0x9)+-parseInt(_0x2e4dff(0x1e0))/0xa;if(_0x2435d0===_0x4605a3)break;else _0x54d6cd['push'](_0x54d6cd['shift']());}catch(_0x21d55b){_0x54d6cd['push'](_0x54d6cd['shift']());}}}(_0x22e0,0xe8660));import{ActionCompressor as _0xe6a720}from'./actioncompressor.js';import{arePositionsEqual as _0x49045a,getPositionShiftedBy as _0x5204b8}from'../utils.js';import{cloneDeep as _0x2ad767}from'es-toolkit/compat';export class TypingActionCompressor extends _0xe6a720{[_0x47759f(0x1c1)](_0x4588ff,_0x1b5db8){const _0x1a1524=_0x47759f;return _0x1b5db8[_0x1a1524(0x1cf)][0x0][_0x1a1524(0x1d4)]+=_0x4588ff[_0x1a1524(0x1cf)][0x0][_0x1a1524(0x1d4)],_0x1b5db8;}[_0x47759f(0x1c5)](_0x4039cd){const _0x1ad680=_0x47759f,_0x3d7187=_0x2ad767(_0x4039cd),_0x32c284=_0x3d7187[_0x1ad680(0x1cf)][0x0],_0x4eecee=_0x4039cd[_0x1ad680(0x1cf)][0x0],_0x34b42b=_0x4eecee[_0x1ad680(0x1d4)][Symbol[_0x1ad680(0x1c9)]]()[_0x1ad680(0x1c8)]()[_0x1ad680(0x1de)],_0x5a8422=_0x34b42b[_0x1ad680(0x1da)];return _0x32c284[_0x1ad680(0x1d4)]=_0x34b42b,_0x4eecee[_0x1ad680(0x1d4)]=_0x4eecee[_0x1ad680(0x1d4)][_0x1ad680(0x1c6)](_0x5a8422),_0x4039cd[_0x1ad680(0x1d2)]=_0x5204b8(_0x4039cd[_0x1ad680(0x1d2)],_0x5a8422),_0x3d7187;}[_0x47759f(0x1dd)](_0x134627,_0x2031aa){const _0x379a63=_0x47759f;if(this[_0x379a63(0x1c3)](_0x134627)&&this[_0x379a63(0x1c3)](_0x2031aa)){const _0x71d976=_0x134627[_0x379a63(0x1cf)][0x0][_0x379a63(0x1d4)][_0x379a63(0x1da)],_0x432d16=_0x49045a(_0x5204b8(_0x134627[_0x379a63(0x1d2)],_0x71d976),_0x2031aa[_0x379a63(0x1d2)]),_0x5cbfeb=_0x134627[_0x379a63(0x1cf)][0x0],_0x7941bb=_0x2031aa[_0x379a63(0x1cf)][0x0];return _0x432d16&&this[_0x379a63(0x1ce)](_0x5cbfeb,_0x7941bb);}return!0x1;}[_0x47759f(0x1c2)](_0x3d8ff7){const _0xd8df27=_0x47759f,_0x59051e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xd8df27(0x1d9)][_0xd8df27(0x1cc)](_0xd8df27(0x1e2))[_0xd8df27(0x1c0)](_0x59051e,[_0x3d8ff7]),_0x59051e[_0xd8df27(0x1d0)][0x0];}[_0x47759f(0x1cb)](_0x11bcbc){const _0x3254f2=_0x47759f,_0x129a58=[];return this[_0x3254f2(0x1d9)][_0x3254f2(0x1cc)](_0x3254f2(0x1e2))[_0x3254f2(0x1c7)](_0x129a58,_0x11bcbc),_0x129a58[0x0];}[_0x47759f(0x1c3)](_0x2a3531){const _0x4284ef=_0x47759f;return _0x4284ef(0x1e2)==_0x2a3531[_0x4284ef(0x1d8)]&&0x1==_0x2a3531[_0x4284ef(0x1cf)][_0x4284ef(0x1da)]&&_0x2a3531[_0x4284ef(0x1cf)][0x0][_0x4284ef(0x1d4)]&&!_0x2a3531[_0x4284ef(0x1c4)]&&0x1==Array[_0x4284ef(0x1d1)](_0x2a3531[_0x4284ef(0x1cf)][0x0][_0x4284ef(0x1d4)])[_0x4284ef(0x1da)];}[_0x47759f(0x1ce)](_0x7e126a,_0x30802b){const _0x55244b=_0x47759f,_0x231cd5=Object[_0x55244b(0x1d3)](_0x7e126a[_0x55244b(0x1df)]||{}),_0x514814=Object[_0x55244b(0x1d3)](_0x30802b[_0x55244b(0x1df)]||{});return _0x231cd5[_0x55244b(0x1da)]===_0x514814[_0x55244b(0x1da)]&&_0x231cd5[_0x55244b(0x1bf)](_0xf97f91=>_0x30802b[_0x55244b(0x1df)][_0xf97f91]&&_0x30802b[_0x55244b(0x1df)][_0xf97f91]===_0x7e126a[_0x55244b(0x1df)][_0xf97f91]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]));}}
23
+ function _0x114f(){const _0xf66d=['shift','split','toNone','416406JhRnMK','613119FXSPJz','9180BkvGgf','1NpHSkC','11082519KPIprp','_compressSingleOperation','push','157293miBNVz','1010NbrrBm','MarkerOperation','user:position:','buffers','_compareOperations','name','125pDFjpd','__className','compress','user:','8xGjcqJ','234FfPfsR','end','_context','startsWith','newRange','32DTCksa','types','_decompressSingleOperation','oldRange','start','3224564qgtIjp','_id','_getCompressorByName','decompress','440xSUfli','stickiness','79672jeRTpv'];_0x114f=function(){return _0xf66d;};return _0x114f();}const _0x100c7a=_0x2f0d;function _0x2f0d(_0x532cf0,_0x179802){const _0x114f25=_0x114f();return _0x2f0d=function(_0x2f0d6e,_0x1f18e6){_0x2f0d6e=_0x2f0d6e-0x139;let _0x108ccb=_0x114f25[_0x2f0d6e];return _0x108ccb;},_0x2f0d(_0x532cf0,_0x179802);}(function(_0x1fce98,_0x1dfde9){const _0x4998cb=_0x2f0d,_0x3c4771=_0x1fce98();while(!![]){try{const _0x3dca78=parseInt(_0x4998cb(0x158))/0x1*(-parseInt(_0x4998cb(0x151))/0x2)+-parseInt(_0x4998cb(0x156))/0x3*(parseInt(_0x4998cb(0x146))/0x4)+parseInt(_0x4998cb(0x13c))/0x5*(parseInt(_0x4998cb(0x155))/0x6)+-parseInt(_0x4998cb(0x159))/0x7*(parseInt(_0x4998cb(0x140))/0x8)+parseInt(_0x4998cb(0x15c))/0x9*(-parseInt(_0x4998cb(0x15d))/0xa)+-parseInt(_0x4998cb(0x14f))/0xb*(-parseInt(_0x4998cb(0x157))/0xc)+-parseInt(_0x4998cb(0x141))/0xd*(-parseInt(_0x4998cb(0x14b))/0xe);if(_0x3dca78===_0x1dfde9)break;else _0x3c4771['push'](_0x3c4771['shift']());}catch(_0x574b1d){_0x3c4771['push'](_0x3c4771['shift']());}}}(_0x114f,0xd8dd7));import{ActionCompressor as _0x330ff1}from'./actioncompressor.js';import{arePositionsEqual as _0x3744cb}from'../utils.js';import{cloneDeep as _0x1eb0dc}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x330ff1{[_0x100c7a(0x13e)](_0xe9d841,_0x2050db){const _0x38e59f=_0x100c7a;if(!this[_0x38e59f(0x13a)](_0x2050db[0x0],_0x2050db[0x1]))return!0x1;const _0x542494=_0x2050db[_0x38e59f(0x152)]();return _0x542494[_0x38e59f(0x149)]=null,_0x542494[_0x38e59f(0x145)]&&_0x3744cb(_0x542494[_0x38e59f(0x145)][_0x38e59f(0x14a)],_0x542494[_0x38e59f(0x145)][_0x38e59f(0x142)])&&(_0x542494[_0x38e59f(0x145)][_0x38e59f(0x142)]=null),_0x2050db[_0x38e59f(0x152)](),_0xe9d841[_0x38e59f(0x147)][_0x38e59f(0x15b)](this[_0x38e59f(0x14c)]),_0xe9d841[_0x38e59f(0x147)][_0x38e59f(0x15b)](0x0),_0xe9d841[_0x38e59f(0x139)][_0x38e59f(0x15b)](this[_0x38e59f(0x15a)](_0x542494)),!0x0;}[_0x100c7a(0x14e)](_0x7edfde,_0x49c1c1){const _0x3acda2=_0x100c7a,_0x283657=this[_0x3acda2(0x148)](_0x49c1c1);_0x283657[_0x3acda2(0x145)]&&!_0x283657[_0x3acda2(0x145)][_0x3acda2(0x142)]&&(_0x283657[_0x3acda2(0x145)][_0x3acda2(0x142)]=_0x1eb0dc(_0x283657[_0x3acda2(0x145)][_0x3acda2(0x14a)]));const _0x2af197=_0x1eb0dc(_0x283657);_0x2af197[_0x3acda2(0x145)]&&(_0x2af197[_0x3acda2(0x145)][_0x3acda2(0x14a)][_0x3acda2(0x150)]=_0x3acda2(0x154),_0x2af197[_0x3acda2(0x145)][_0x3acda2(0x142)]=_0x1eb0dc(_0x2af197[_0x3acda2(0x145)][_0x3acda2(0x14a)])),_0x2af197[_0x3acda2(0x13b)]=_0x3acda2(0x15f)+_0x2af197[_0x3acda2(0x13b)][_0x3acda2(0x153)](':')[0x2],_0x49c1c1[_0x3acda2(0x147)][_0x3acda2(0x152)](),_0x7edfde[_0x3acda2(0x15b)](_0x283657),_0x7edfde[_0x3acda2(0x15b)](_0x2af197);}[_0x100c7a(0x15a)](_0x30cd9c){const _0x544e3a=_0x100c7a,_0x1493b4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x544e3a(0x143)][_0x544e3a(0x14d)](_0x544e3a(0x15e))[_0x544e3a(0x13e)](_0x1493b4,[_0x30cd9c]),_0x1493b4[_0x544e3a(0x139)][0x0];}[_0x100c7a(0x148)](_0x199e5a){const _0x5f5b1e=_0x100c7a,_0x5cdfa9=[];return this[_0x5f5b1e(0x143)][_0x5f5b1e(0x14d)](_0x5f5b1e(0x15e))[_0x5f5b1e(0x14e)](_0x5cdfa9,_0x199e5a),_0x5cdfa9[0x0];}[_0x100c7a(0x13a)](_0x463adc,_0x5c956b){const _0xb34509=_0x100c7a;return!(!_0x463adc||!_0x5c956b)&&(_0xb34509(0x15e)==_0x463adc[_0xb34509(0x13d)]&&_0xb34509(0x15e)==_0x5c956b[_0xb34509(0x13d)]&&!(!_0x463adc[_0xb34509(0x13b)][_0xb34509(0x144)](_0xb34509(0x13f))||!_0x5c956b[_0xb34509(0x13b)][_0xb34509(0x144)](_0xb34509(0x13f))||_0x463adc[_0xb34509(0x13b)]==_0x5c956b[_0xb34509(0x13b)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ function _0x5a37(){const _0x797d3e=['90WUORem','1384982DltIxc','__className','get','NoOperation','types','RootOperation','MarkerOperation','AttributeOperation','ForwardDeletingAction','baseVersion','suggestion','3nTXiXB','SuggestionMarkerOperation','RenameOperation','_compressorByName','_protobufFactory','UserSelectionAction','InsertOperation','decompress-compressor-not-found','DeletingAction','_registerCompressor','12268JuiPxP','no-operations-provided','compress','MoveOperation','141113cPpXtj','4488616EJwYZk','getDescriptor','1018593bABlNY','TypingAction','234381Nmcdpv','length','CommentMarkerOperation','_getCompressorByName','set','815cbjwEr','1178060jFbiBc','comment','forEach','SplitOperation','MergeOperation','decompress','RootAttributeOperation','_registerActionCompressor','48WyLEZO','_registerOperationCompressor','_compressorById'];_0x5a37=function(){return _0x797d3e;};return _0x5a37();}const _0x6b0ccb=_0xed83;(function(_0x100c0c,_0x4df0dc){const _0x4c7bde=_0xed83,_0x31f970=_0x100c0c();while(!![]){try{const _0x1728d1=-parseInt(_0x4c7bde(0x138))/0x1+parseInt(_0x4c7bde(0x14f))/0x2*(parseInt(_0x4c7bde(0x15a))/0x3)+parseInt(_0x4c7bde(0x134))/0x4*(-parseInt(_0x4c7bde(0x142))/0x5)+-parseInt(_0x4c7bde(0x14e))/0x6*(-parseInt(_0x4c7bde(0x13d))/0x7)+parseInt(_0x4c7bde(0x14b))/0x8*(-parseInt(_0x4c7bde(0x13b))/0x9)+parseInt(_0x4c7bde(0x143))/0xa+parseInt(_0x4c7bde(0x139))/0xb;if(_0x1728d1===_0x4df0dc)break;else _0x31f970['push'](_0x31f970['shift']());}catch(_0x16f145){_0x31f970['push'](_0x31f970['shift']());}}}(_0x5a37,0x61c76));import{CKEditorError as _0x3e7dad}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x18eaef}from'./protobuffactory.js';import{OperationCompressor as _0x22617b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x1a17a6}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x13cd0e}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x146d3b}from'./operationcompressor/markeroperationcompressor.js';function _0xed83(_0x14f3e4,_0x42c6d4){const _0x5a372c=_0x5a37();return _0xed83=function(_0xed8384,_0x2322c6){_0xed8384=_0xed8384-0x134;let _0x5b77f8=_0x5a372c[_0xed8384];return _0x5b77f8;},_0xed83(_0x14f3e4,_0x42c6d4);}import{NoOperationCompressor as _0xb1ace2}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x5c21e1}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x9168f4}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x33ccd3}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x53f7af}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x36eb9b}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x6b0ccb(0x14d)];[_0x6b0ccb(0x15d)];[_0x6b0ccb(0x15e)];constructor(){const _0x2d8474=_0x6b0ccb;this[_0x2d8474(0x14d)]=new Map(),this[_0x2d8474(0x15d)]=new Map(),this[_0x2d8474(0x15e)]=new _0x18eaef();const _0x517bba=this[_0x2d8474(0x15e)][_0x2d8474(0x13a)](_0x2d8474(0x155));this[_0x2d8474(0x163)](0x1,_0x2d8474(0x152),new _0xb1ace2(0x1,_0x2d8474(0x152),void 0x0)),this[_0x2d8474(0x14c)](0xa,_0x2d8474(0x156),_0x1a17a6),this[_0x2d8474(0x14c)](0xb,_0x2d8474(0x160),_0x13cd0e),this[_0x2d8474(0x14c)](0xc,_0x2d8474(0x155),_0x146d3b),this[_0x2d8474(0x14c)](0xd,_0x2d8474(0x147),_0x22617b),this[_0x2d8474(0x14c)](0xe,_0x2d8474(0x137),_0x22617b),this[_0x2d8474(0x14c)](0xf,_0x2d8474(0x15c),_0x22617b),this[_0x2d8474(0x14c)](0x10,_0x2d8474(0x149),_0x1a17a6),this[_0x2d8474(0x14c)](0x11,_0x2d8474(0x146),_0x22617b),this[_0x2d8474(0x163)](0x12,_0x2d8474(0x13f),new _0x5c21e1(0x12,_0x2d8474(0x155),_0x517bba,_0x2d8474(0x144))),this[_0x2d8474(0x163)](0x13,_0x2d8474(0x15b),new _0x5c21e1(0x13,_0x2d8474(0x155),_0x517bba,_0x2d8474(0x159))),this[_0x2d8474(0x14c)](0x14,_0x2d8474(0x154),_0x22617b),this[_0x2d8474(0x14a)](0x64,_0x2d8474(0x13c),_0x9168f4),this[_0x2d8474(0x14a)](0x65,_0x2d8474(0x162),_0x33ccd3),this[_0x2d8474(0x14a)](0x66,_0x2d8474(0x157),_0x53f7af),this[_0x2d8474(0x14a)](0x67,_0x2d8474(0x15f),_0x36eb9b);}[_0x6b0ccb(0x136)](_0x1ef42d){const _0x15da12=_0x6b0ccb;if(!_0x1ef42d||!_0x1ef42d[0x0])throw new _0x3e7dad(_0x15da12(0x135),this);const _0x4cb015={'types':[],'buffers':[],'baseVersion':_0x1ef42d[0x0][_0x15da12(0x158)]};for(;_0x1ef42d[_0x15da12(0x13e)];)this[_0x15da12(0x140)](_0x15da12(0x15f))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x15da12(0x13c))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x15da12(0x162))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x15da12(0x157))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x15da12(0x13f))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x15da12(0x15b))[_0x15da12(0x136)](_0x4cb015,_0x1ef42d)||this[_0x15da12(0x140)](_0x1ef42d[0x0][_0x15da12(0x150)])[_0x15da12(0x136)](_0x4cb015,_0x1ef42d);return _0x4cb015;}[_0x6b0ccb(0x148)](_0x56eb3e){const _0x3da06a=_0x6b0ccb,_0x14162c=[];for(;_0x56eb3e[_0x3da06a(0x153)][_0x3da06a(0x13e)];){const _0x3abea2=this[_0x3da06a(0x14d)][_0x3da06a(0x151)](_0x56eb3e[_0x3da06a(0x153)][0x0]);if(!_0x3abea2)throw new _0x3e7dad(_0x3da06a(0x161),this,{'type':_0x56eb3e[_0x3da06a(0x153)][0x0]});_0x3abea2[_0x3da06a(0x148)](_0x14162c,_0x56eb3e);}return _0x14162c[_0x3da06a(0x145)]((_0x1ab2be,_0x350aa5)=>_0x1ab2be[_0x3da06a(0x158)]=_0x56eb3e[_0x3da06a(0x158)]+_0x350aa5),_0x14162c;}[_0x6b0ccb(0x140)](_0x3c7c78){const _0x5b6d04=_0x6b0ccb;return this[_0x5b6d04(0x15d)][_0x5b6d04(0x151)](_0x3c7c78);}[_0x6b0ccb(0x14c)](_0x544863,_0x2bfe83,_0x55b266){const _0x5987f4=_0x6b0ccb,_0x2cfe04=new _0x55b266(_0x544863,_0x2bfe83,this[_0x5987f4(0x15e)][_0x5987f4(0x13a)](_0x2bfe83));this[_0x5987f4(0x163)](_0x544863,_0x2bfe83,_0x2cfe04);}[_0x6b0ccb(0x14a)](_0x8202b,_0x4aa157,_0xc95b96){const _0x37fcfa=_0x6b0ccb,_0x1260ea=new _0xc95b96(_0x8202b,this);this[_0x37fcfa(0x163)](_0x8202b,_0x4aa157,_0x1260ea);}[_0x6b0ccb(0x163)](_0x5ccd63,_0x38642b,_0x559b74){const _0x498481=_0x6b0ccb;this[_0x498481(0x14d)][_0x498481(0x141)](_0x5ccd63,_0x559b74),this[_0x498481(0x15d)][_0x498481(0x141)](_0x38642b,_0x559b74);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x3761(_0x41cb5d,_0x4cc41f){var _0xd6138a=_0xd613();return _0x3761=function(_0x37615d,_0xba9654){_0x37615d=_0x37615d-0x1be;var _0x4a6f82=_0xd6138a[_0x37615d];return _0x4a6f82;},_0x3761(_0x41cb5d,_0x4cc41f);}(function(_0x29a4d0,_0xea32a8){var _0x1f2284=_0x3761,_0xdefc97=_0x29a4d0();while(!![]){try{var _0x257e44=parseInt(_0x1f2284(0x1c4))/0x1+parseInt(_0x1f2284(0x1c3))/0x2*(parseInt(_0x1f2284(0x1c8))/0x3)+parseInt(_0x1f2284(0x1bf))/0x4*(parseInt(_0x1f2284(0x1c6))/0x5)+parseInt(_0x1f2284(0x1c2))/0x6+-parseInt(_0x1f2284(0x1be))/0x7*(parseInt(_0x1f2284(0x1c7))/0x8)+-parseInt(_0x1f2284(0x1c0))/0x9+-parseInt(_0x1f2284(0x1c1))/0xa*(parseInt(_0x1f2284(0x1c5))/0xb);if(_0x257e44===_0xea32a8)break;else _0xdefc97['push'](_0xdefc97['shift']());}catch(_0x478810){_0xdefc97['push'](_0xdefc97['shift']());}}}(_0xd613,0xeb3d8));export{Compressor}from'./compressor.js';function _0xd613(){var _0x36e035=['60fsoZiY','11453460UmmYut','1412388JEYego','135114dBrrxE','614405vBIyyC','155Ykdili','8120sWhNiT','3FLHmXL','10850LzGXQs','151756vfHMIM','9489627BohfGX'];_0xd613=function(){return _0x36e035;};return _0xd613();}