@ckeditor/ckeditor5-operations-compressor 46.1.1 → 47.0.0-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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f1779=_0x5989;(function(_0x2a57ed,_0x532c7c){const _0x3ff212=_0x5989,_0x4e2dc4=_0x2a57ed();while(!![]){try{const _0x571277=parseInt(_0x3ff212(0x17b))/0x1*(parseInt(_0x3ff212(0x172))/0x2)+-parseInt(_0x3ff212(0x163))/0x3*(-parseInt(_0x3ff212(0x16f))/0x4)+-parseInt(_0x3ff212(0x161))/0x5+-parseInt(_0x3ff212(0x166))/0x6+-parseInt(_0x3ff212(0x167))/0x7+-parseInt(_0x3ff212(0x178))/0x8+-parseInt(_0x3ff212(0x171))/0x9*(-parseInt(_0x3ff212(0x16c))/0xa);if(_0x571277===_0x532c7c)break;else _0x4e2dc4['push'](_0x4e2dc4['shift']());}catch(_0x6c41c1){_0x4e2dc4['push'](_0x4e2dc4['shift']());}}}(_0x31fd,0x7b932));import{ActionCompressor as _0x9deb65}from'./actioncompressor.js';function _0x5989(_0x2dd944,_0x128a13){const _0x31fd32=_0x31fd();return _0x5989=function(_0x59898c,_0x15f7f8){_0x59898c=_0x59898c-0x160;let _0x576376=_0x31fd32[_0x59898c];return _0x576376;},_0x5989(_0x2dd944,_0x128a13);}function _0x31fd(){const _0x474a91=['869544pQNkuj','22kqNHfZ','_compareOperations','_decompressSingleOperation','buffers','_splitCurrent','__className','7463880ROBeKx','decompress','howMany','30365AZahRU','targetPosition','$graveyard','2743680gQUYfZ','_getCompressorByName','381vKDlUZ','sourcePosition','root','2114724UpJmYW','5008899dYKPge','_combineNext','MoveOperation','_compressSingleOperation','_context','200KHNxWt','wasUndone','_checkOperation','24868BGcWvD','compress'];_0x31fd=function(){return _0x474a91;};return _0x31fd();}import{arePositionsEqual as _0x428256,getPositionShiftedBy as _0x563b87}from'../utils.js';import{cloneDeep as _0x76e7bb}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x9deb65{[_0x4f1779(0x168)](_0x197a87,_0x1c2f4e){const _0xe8e9ae=_0x4f1779;return _0x1c2f4e[_0xe8e9ae(0x17a)]++,_0x1c2f4e[_0xe8e9ae(0x164)]=_0x76e7bb(_0x197a87[_0xe8e9ae(0x164)]),_0x1c2f4e;}[_0x4f1779(0x176)](_0x1d1412){const _0x2d371c=_0x4f1779,_0x4054b9=_0x76e7bb(_0x1d1412);return _0x1d1412[_0x2d371c(0x17a)]--,_0x4054b9[_0x2d371c(0x17a)]=0x1,_0x4054b9[_0x2d371c(0x164)]=_0x563b87(_0x4054b9[_0x2d371c(0x164)],_0x1d1412[_0x2d371c(0x17a)]),_0x4054b9;}[_0x4f1779(0x173)](_0x228d72,_0x5c377c){const _0x15bc5c=_0x4f1779;return!(!this[_0x15bc5c(0x16e)](_0x228d72)||!this[_0x15bc5c(0x16e)](_0x5c377c))&&(_0x428256(_0x563b87(_0x228d72[_0x15bc5c(0x164)],-0x1),_0x5c377c[_0x15bc5c(0x164)])&&_0x428256(_0x228d72[_0x15bc5c(0x17c)],_0x5c377c[_0x15bc5c(0x17c)]));}[_0x4f1779(0x16a)](_0x3f34fa){const _0x733393=_0x4f1779,_0xe60b46={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x733393(0x16b)][_0x733393(0x162)](_0x733393(0x169))[_0x733393(0x170)](_0xe60b46,[_0x3f34fa]),_0xe60b46[_0x733393(0x175)][0x0];}[_0x4f1779(0x174)](_0x4c0a87){const _0x377f64=_0x4f1779,_0x4f032f=[];return this[_0x377f64(0x16b)][_0x377f64(0x162)](_0x377f64(0x169))[_0x377f64(0x179)](_0x4f032f,_0x4c0a87),_0x4f032f[0x0];}[_0x4f1779(0x16e)](_0x5a89b8){const _0x560c24=_0x4f1779;return _0x560c24(0x169)==_0x5a89b8[_0x560c24(0x177)]&&_0x560c24(0x160)==_0x5a89b8[_0x560c24(0x17c)][_0x560c24(0x165)]&&0x1==_0x5a89b8[_0x560c24(0x17a)]&&!_0x5a89b8[_0x560c24(0x16d)];}}
23
+ const _0x9e3445=_0x4064;(function(_0x5e41e1,_0x3ba07f){const _0x359221=_0x4064,_0x382049=_0x5e41e1();while(!![]){try{const _0xfd6063=parseInt(_0x359221(0x190))/0x1*(parseInt(_0x359221(0x18b))/0x2)+parseInt(_0x359221(0x191))/0x3*(-parseInt(_0x359221(0x195))/0x4)+parseInt(_0x359221(0x1a4))/0x5+-parseInt(_0x359221(0x19e))/0x6+parseInt(_0x359221(0x192))/0x7+parseInt(_0x359221(0x1a1))/0x8*(parseInt(_0x359221(0x1a3))/0x9)+-parseInt(_0x359221(0x1a2))/0xa;if(_0xfd6063===_0x3ba07f)break;else _0x382049['push'](_0x382049['shift']());}catch(_0x50769f){_0x382049['push'](_0x382049['shift']());}}}(_0x3b37,0x3b97c));function _0x4064(_0x24dcbe,_0x50e387){const _0x3b37fa=_0x3b37();return _0x4064=function(_0x406453,_0x327a3e){_0x406453=_0x406453-0x188;let _0x478648=_0x3b37fa[_0x406453];return _0x478648;},_0x4064(_0x24dcbe,_0x50e387);}import{ActionCompressor as _0x440742}from'./actioncompressor.js';import{arePositionsEqual as _0x582767,getPositionShiftedBy as _0x4c1170}from'../utils.js';import{cloneDeep as _0x68d13d}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x440742{[_0x9e3445(0x19d)](_0x53cc3d,_0x26cf76){const _0x175196=_0x9e3445;return _0x26cf76[_0x175196(0x189)]++,_0x26cf76[_0x175196(0x19f)]=_0x68d13d(_0x53cc3d[_0x175196(0x19f)]),_0x26cf76;}[_0x9e3445(0x194)](_0x201dc7){const _0x41ca2e=_0x9e3445,_0x2966e4=_0x68d13d(_0x201dc7);return _0x201dc7[_0x41ca2e(0x189)]--,_0x2966e4[_0x41ca2e(0x189)]=0x1,_0x2966e4[_0x41ca2e(0x19f)]=_0x4c1170(_0x2966e4[_0x41ca2e(0x19f)],_0x201dc7[_0x41ca2e(0x189)]),_0x2966e4;}[_0x9e3445(0x188)](_0x276384,_0x5e72e7){const _0xfe6c72=_0x9e3445;return!(!this[_0xfe6c72(0x193)](_0x276384)||!this[_0xfe6c72(0x193)](_0x5e72e7))&&(_0x582767(_0x4c1170(_0x276384[_0xfe6c72(0x19f)],-0x1),_0x5e72e7[_0xfe6c72(0x19f)])&&_0x582767(_0x276384[_0xfe6c72(0x197)],_0x5e72e7[_0xfe6c72(0x197)]));}[_0x9e3445(0x18a)](_0x4155a6){const _0x50a4d9=_0x9e3445,_0x11dd50={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x50a4d9(0x1a0)][_0x50a4d9(0x18e)](_0x50a4d9(0x19a))[_0x50a4d9(0x19c)](_0x11dd50,[_0x4155a6]),_0x11dd50[_0x50a4d9(0x196)][0x0];}[_0x9e3445(0x199)](_0x4dbfff){const _0x179b78=_0x9e3445,_0x441096=[];return this[_0x179b78(0x1a0)][_0x179b78(0x18e)](_0x179b78(0x19a))[_0x179b78(0x18f)](_0x441096,_0x4dbfff),_0x441096[0x0];}[_0x9e3445(0x193)](_0x2664dd){const _0x54699f=_0x9e3445;return _0x54699f(0x19a)==_0x2664dd[_0x54699f(0x18d)]&&_0x54699f(0x18c)==_0x2664dd[_0x54699f(0x197)][_0x54699f(0x198)]&&0x1==_0x2664dd[_0x54699f(0x189)]&&!_0x2664dd[_0x54699f(0x19b)];}}function _0x3b37(){const _0x48e1e9=['2259680ZsyTwE','234yogpsC','823990eZwTay','_compareOperations','howMany','_compressSingleOperation','2bWNYEI','$graveyard','__className','_getCompressorByName','decompress','281195cypvhl','859881WTyEqj','1439648tESjHg','_checkOperation','_splitCurrent','4wTfHOd','buffers','targetPosition','root','_decompressSingleOperation','MoveOperation','wasUndone','compress','_combineNext','520476dBATPO','sourcePosition','_context','59008PDeJXw'];_0x3b37=function(){return _0x48e1e9;};return _0x3b37();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4be0(_0x59911d,_0x3d2243){const _0x87291e=_0x8729();return _0x4be0=function(_0x4be0a7,_0x2db338){_0x4be0a7=_0x4be0a7-0x10b;let _0x1bf7ee=_0x87291e[_0x4be0a7];return _0x1bf7ee;},_0x4be0(_0x59911d,_0x3d2243);}function _0x8729(){const _0x17c960=['190FLdYMR','_decompressSingleOperation','8aDgmwl','sourcePosition','decompress','__className','_context','targetPosition','_getCompressorByName','48429pAgMmv','MoveOperation','buffers','3023235UYXiFx','wasUndone','root','_combineNext','compress','_splitCurrent','796833uZRorP','$graveyard','13003qocrRd','3529008bNkCtx','_checkOperation','howMany','68SFjQDb','1402566dLtiiQ','_compressSingleOperation','_compareOperations','80416Rcklvk'];_0x8729=function(){return _0x17c960;};return _0x8729();}const _0x24b136=_0x4be0;(function(_0x331146,_0x58fb35){const _0x62f51=_0x4be0,_0x14934b=_0x331146();while(!![]){try{const _0x4f15d9=parseInt(_0x62f51(0x127))/0x1*(-parseInt(_0x62f51(0x10e))/0x2)+-parseInt(_0x62f51(0x125))/0x3*(-parseInt(_0x62f51(0x115))/0x4)+-parseInt(_0x62f51(0x11f))/0x5+parseInt(_0x62f51(0x10f))/0x6+parseInt(_0x62f51(0x10b))/0x7+-parseInt(_0x62f51(0x112))/0x8+-parseInt(_0x62f51(0x11c))/0x9*(-parseInt(_0x62f51(0x113))/0xa);if(_0x4f15d9===_0x58fb35)break;else _0x14934b['push'](_0x14934b['shift']());}catch(_0x4e97a4){_0x14934b['push'](_0x14934b['shift']());}}}(_0x8729,0x4ccc5));import{ActionCompressor as _0x28fccd}from'./actioncompressor.js';import{arePositionsEqual as _0x92f840}from'../utils.js';import{cloneDeep as _0xbdb249}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x28fccd{[_0x24b136(0x122)](_0x1054a6,_0x81734a){const _0x408b9d=_0x24b136;return _0x81734a[_0x408b9d(0x10d)]++,_0x81734a;}[_0x24b136(0x124)](_0x3e3838){const _0x2d3f93=_0x24b136,_0x37aeda=_0xbdb249(_0x3e3838);return _0x37aeda[_0x2d3f93(0x10d)]=0x1,_0x3e3838[_0x2d3f93(0x10d)]--,_0x37aeda;}[_0x24b136(0x111)](_0x28bfe3,_0x29b80b){const _0x577554=_0x24b136;return!(!this[_0x577554(0x10c)](_0x28bfe3)||!this[_0x577554(0x10c)](_0x29b80b))&&(_0x92f840(_0x28bfe3[_0x577554(0x116)],_0x29b80b[_0x577554(0x116)])&&_0x92f840(_0x28bfe3[_0x577554(0x11a)],_0x29b80b[_0x577554(0x11a)]));}[_0x24b136(0x110)](_0x173d25){const _0x391067=_0x24b136,_0x3be40a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x391067(0x119)][_0x391067(0x11b)](_0x391067(0x11d))[_0x391067(0x123)](_0x3be40a,[_0x173d25]),_0x3be40a[_0x391067(0x11e)][0x0];}[_0x24b136(0x114)](_0x2a9455){const _0x3cf225=_0x24b136,_0x3f40f0=[];return this[_0x3cf225(0x119)][_0x3cf225(0x11b)](_0x3cf225(0x11d))[_0x3cf225(0x117)](_0x3f40f0,_0x2a9455),_0x3f40f0[0x0];}[_0x24b136(0x10c)](_0x46cf82){const _0x3aeda1=_0x24b136;return _0x3aeda1(0x11d)==_0x46cf82[_0x3aeda1(0x118)]&&_0x3aeda1(0x126)==_0x46cf82[_0x3aeda1(0x11a)][_0x3aeda1(0x121)]&&0x1==_0x46cf82[_0x3aeda1(0x10d)]&&!_0x46cf82[_0x3aeda1(0x120)];}}
23
+ const _0x29fbf3=_0x1be7;(function(_0x41f942,_0x4511d2){const _0x46318a=_0x1be7,_0x5b585f=_0x41f942();while(!![]){try{const _0x45677c=-parseInt(_0x46318a(0x11d))/0x1*(-parseInt(_0x46318a(0x109))/0x2)+parseInt(_0x46318a(0x122))/0x3*(parseInt(_0x46318a(0x123))/0x4)+parseInt(_0x46318a(0x121))/0x5+parseInt(_0x46318a(0x10b))/0x6+-parseInt(_0x46318a(0x11a))/0x7*(-parseInt(_0x46318a(0x11e))/0x8)+parseInt(_0x46318a(0x10a))/0x9*(parseInt(_0x46318a(0x10d))/0xa)+-parseInt(_0x46318a(0x11c))/0xb;if(_0x45677c===_0x4511d2)break;else _0x5b585f['push'](_0x5b585f['shift']());}catch(_0x3338c1){_0x5b585f['push'](_0x5b585f['shift']());}}}(_0x2924,0x8740f));import{ActionCompressor as _0x50c2d7}from'./actioncompressor.js';function _0x1be7(_0x2bdb60,_0x518db1){const _0x29246d=_0x2924();return _0x1be7=function(_0x1be7fe,_0x1801fc){_0x1be7fe=_0x1be7fe-0x108;let _0x2d3b4b=_0x29246d[_0x1be7fe];return _0x2d3b4b;},_0x1be7(_0x2bdb60,_0x518db1);}import{arePositionsEqual as _0x11503f}from'../utils.js';import{cloneDeep as _0x43af25}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x50c2d7{[_0x29fbf3(0x11f)](_0x11f9e4,_0x5d61e7){const _0x2005c3=_0x29fbf3;return _0x5d61e7[_0x2005c3(0x115)]++,_0x5d61e7;}[_0x29fbf3(0x120)](_0x5d04c4){const _0x3d2850=_0x29fbf3,_0x396ddc=_0x43af25(_0x5d04c4);return _0x396ddc[_0x3d2850(0x115)]=0x1,_0x5d04c4[_0x3d2850(0x115)]--,_0x396ddc;}[_0x29fbf3(0x10e)](_0x10bbfa,_0x4c8c05){const _0x2b7711=_0x29fbf3;return!(!this[_0x2b7711(0x114)](_0x10bbfa)||!this[_0x2b7711(0x114)](_0x4c8c05))&&(_0x11503f(_0x10bbfa[_0x2b7711(0x11b)],_0x4c8c05[_0x2b7711(0x11b)])&&_0x11503f(_0x10bbfa[_0x2b7711(0x117)],_0x4c8c05[_0x2b7711(0x117)]));}[_0x29fbf3(0x116)](_0x369552){const _0x47e14c=_0x29fbf3,_0x40ca9c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x47e14c(0x113)][_0x47e14c(0x108)](_0x47e14c(0x110))[_0x47e14c(0x124)](_0x40ca9c,[_0x369552]),_0x40ca9c[_0x47e14c(0x119)][0x0];}[_0x29fbf3(0x112)](_0x36f4aa){const _0x3d3480=_0x29fbf3,_0x20458d=[];return this[_0x3d3480(0x113)][_0x3d3480(0x108)](_0x3d3480(0x110))[_0x3d3480(0x111)](_0x20458d,_0x36f4aa),_0x20458d[0x0];}[_0x29fbf3(0x114)](_0x4ec94e){const _0x423b5f=_0x29fbf3;return _0x423b5f(0x110)==_0x4ec94e[_0x423b5f(0x10c)]&&_0x423b5f(0x125)==_0x4ec94e[_0x423b5f(0x117)][_0x423b5f(0x118)]&&0x1==_0x4ec94e[_0x423b5f(0x115)]&&!_0x4ec94e[_0x423b5f(0x10f)];}}function _0x2924(){const _0x38cd5b=['_compressSingleOperation','targetPosition','root','buffers','14YnWQve','sourcePosition','25491554ZjKyoA','536057dvQWFh','900136GVtgKn','_combineNext','_splitCurrent','4219770eGSmeP','466191TxDDhE','4CGQrAv','compress','$graveyard','_getCompressorByName','2WLLIBA','101781jrPhqc','6326556jYTiNe','__className','50NVMUTh','_compareOperations','wasUndone','MoveOperation','decompress','_decompressSingleOperation','_context','_checkOperation','howMany'];_0x2924=function(){return _0x38cd5b;};return _0x2924();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2227ea=_0x4d62;(function(_0x2b9a18,_0x26325a){const _0x3871d8=_0x4d62,_0x1aceb4=_0x2b9a18();while(!![]){try{const _0x42c8d9=-parseInt(_0x3871d8(0x9b))/0x1*(parseInt(_0x3871d8(0xa8))/0x2)+parseInt(_0x3871d8(0x89))/0x3+-parseInt(_0x3871d8(0x93))/0x4+parseInt(_0x3871d8(0xac))/0x5+-parseInt(_0x3871d8(0xa0))/0x6*(parseInt(_0x3871d8(0x97))/0x7)+-parseInt(_0x3871d8(0x96))/0x8*(parseInt(_0x3871d8(0xa3))/0x9)+parseInt(_0x3871d8(0xa9))/0xa*(parseInt(_0x3871d8(0xaa))/0xb);if(_0x42c8d9===_0x26325a)break;else _0x1aceb4['push'](_0x1aceb4['shift']());}catch(_0x2f5982){_0x1aceb4['push'](_0x1aceb4['shift']());}}}(_0x3f44,0xe2b0f));function _0x3f44(){const _0x5cebdb=['value','attributes','every','2956484RPCVMx','_checkOperation','buffers','56tATdHy','1148nxpDSy','_compareOperations','nodes','_context','2601LLRmut','compress','__className','wasUndone','decompress','46962fsZIBw','_compressSingleOperation','_combineNext','583218ZKiqEi','_decompressSingleOperation','substr','from','InsertOperation','1126lmIUTo','21255190UsZflN','11PyNUcG','_splitCurrent','4460330nngAaG','position','keys','5555004XKgsJE','data','_getCompressorByName','next','_compareAttributes','length','iterator'];_0x3f44=function(){return _0x5cebdb;};return _0x3f44();}function _0x4d62(_0x4f5b08,_0x109ac9){const _0x3f4421=_0x3f44();return _0x4d62=function(_0x4d62f7,_0x3ec5db){_0x4d62f7=_0x4d62f7-0x89;let _0x303582=_0x3f4421[_0x4d62f7];return _0x303582;},_0x4d62(_0x4f5b08,_0x109ac9);}import{ActionCompressor as _0x5740be}from'./actioncompressor.js';import{arePositionsEqual as _0x2f6ebf,getPositionShiftedBy as _0x2a4059}from'../utils.js';import{cloneDeep as _0x2e8ebf}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5740be{[_0x2227ea(0xa2)](_0x4762be,_0x13294b){const _0x2080fd=_0x2227ea;return _0x13294b[_0x2080fd(0x99)][0x0][_0x2080fd(0x8a)]+=_0x4762be[_0x2080fd(0x99)][0x0][_0x2080fd(0x8a)],_0x13294b;}[_0x2227ea(0xab)](_0x5d5250){const _0x455a8c=_0x2227ea,_0x257f68=_0x2e8ebf(_0x5d5250),_0x1c22a1=_0x257f68[_0x455a8c(0x99)][0x0],_0x37f70b=_0x5d5250[_0x455a8c(0x99)][0x0],_0x247720=_0x37f70b[_0x455a8c(0x8a)][Symbol[_0x455a8c(0x8f)]]()[_0x455a8c(0x8c)]()[_0x455a8c(0x90)],_0x11e270=_0x247720[_0x455a8c(0x8e)];return _0x1c22a1[_0x455a8c(0x8a)]=_0x247720,_0x37f70b[_0x455a8c(0x8a)]=_0x37f70b[_0x455a8c(0x8a)][_0x455a8c(0xa5)](_0x11e270),_0x5d5250[_0x455a8c(0xad)]=_0x2a4059(_0x5d5250[_0x455a8c(0xad)],_0x11e270),_0x257f68;}[_0x2227ea(0x98)](_0x43c29d,_0x525402){const _0x3a619c=_0x2227ea;if(this[_0x3a619c(0x94)](_0x43c29d)&&this[_0x3a619c(0x94)](_0x525402)){const _0x1c04ec=_0x43c29d[_0x3a619c(0x99)][0x0][_0x3a619c(0x8a)][_0x3a619c(0x8e)],_0x4edadf=_0x2f6ebf(_0x2a4059(_0x43c29d[_0x3a619c(0xad)],_0x1c04ec),_0x525402[_0x3a619c(0xad)]),_0x3ba279=_0x43c29d[_0x3a619c(0x99)][0x0],_0x597d7d=_0x525402[_0x3a619c(0x99)][0x0];return _0x4edadf&&this[_0x3a619c(0x8d)](_0x3ba279,_0x597d7d);}return!0x1;}[_0x2227ea(0xa1)](_0x3e522a){const _0x350505=_0x2227ea,_0x53998e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x350505(0x9a)][_0x350505(0x8b)](_0x350505(0xa7))[_0x350505(0x9c)](_0x53998e,[_0x3e522a]),_0x53998e[_0x350505(0x95)][0x0];}[_0x2227ea(0xa4)](_0x20b314){const _0x2ef8db=_0x2227ea,_0x40a054=[];return this[_0x2ef8db(0x9a)][_0x2ef8db(0x8b)](_0x2ef8db(0xa7))[_0x2ef8db(0x9f)](_0x40a054,_0x20b314),_0x40a054[0x0];}[_0x2227ea(0x94)](_0x5ec79e){const _0xf3e71e=_0x2227ea;return _0xf3e71e(0xa7)==_0x5ec79e[_0xf3e71e(0x9d)]&&0x1==_0x5ec79e[_0xf3e71e(0x99)][_0xf3e71e(0x8e)]&&_0x5ec79e[_0xf3e71e(0x99)][0x0][_0xf3e71e(0x8a)]&&!_0x5ec79e[_0xf3e71e(0x9e)]&&0x1==Array[_0xf3e71e(0xa6)](_0x5ec79e[_0xf3e71e(0x99)][0x0][_0xf3e71e(0x8a)])[_0xf3e71e(0x8e)];}[_0x2227ea(0x8d)](_0x105a14,_0x3d4fec){const _0xab63f0=_0x2227ea,_0x7a4f63=Object[_0xab63f0(0xae)](_0x105a14[_0xab63f0(0x91)]||{}),_0x1f4077=Object[_0xab63f0(0xae)](_0x3d4fec[_0xab63f0(0x91)]||{});return _0x7a4f63[_0xab63f0(0x8e)]===_0x1f4077[_0xab63f0(0x8e)]&&_0x7a4f63[_0xab63f0(0x92)](_0x2c9d71=>_0x3d4fec[_0xab63f0(0x91)][_0x2c9d71]&&_0x3d4fec[_0xab63f0(0x91)][_0x2c9d71]===_0x105a14[_0xab63f0(0x91)][_0x2c9d71]);}}
23
+ const _0x21fd7b=_0x308b;(function(_0x2fd85c,_0x103ac8){const _0x4b083a=_0x308b,_0x49c3f6=_0x2fd85c();while(!![]){try{const _0x429632=parseInt(_0x4b083a(0xf7))/0x1*(parseInt(_0x4b083a(0x101))/0x2)+-parseInt(_0x4b083a(0xf2))/0x3+parseInt(_0x4b083a(0xf3))/0x4+-parseInt(_0x4b083a(0xe7))/0x5+-parseInt(_0x4b083a(0xfc))/0x6+-parseInt(_0x4b083a(0xe0))/0x7+-parseInt(_0x4b083a(0xf4))/0x8*(-parseInt(_0x4b083a(0xe9))/0x9);if(_0x429632===_0x103ac8)break;else _0x49c3f6['push'](_0x49c3f6['shift']());}catch(_0x171f78){_0x49c3f6['push'](_0x49c3f6['shift']());}}}(_0x9052,0xb3b86));import{ActionCompressor as _0x28bd19}from'./actioncompressor.js';import{arePositionsEqual as _0x2d1c9c,getPositionShiftedBy as _0x203771}from'../utils.js';function _0x9052(){const _0x44578d=['next','substr','248970ekjiuT','attributes','_compareOperations','decompress','_compareAttributes','1027286XMEgLz','nodes','data','3301298izVXIh','_decompressSingleOperation','_combineNext','_getCompressorByName','wasUndone','iterator','from','467815UQwwNH','InsertOperation','720AJicyQ','value','every','length','_checkOperation','compress','position','_context','__className','1912773xngaVC','3350684UvPuMW','11544uPwAqP','keys','_compressSingleOperation','2QdpQzb','buffers','_splitCurrent'];_0x9052=function(){return _0x44578d;};return _0x9052();}import{cloneDeep as _0x25ada7}from'es-toolkit/compat';function _0x308b(_0x412d41,_0x25f3c5){const _0x9052ae=_0x9052();return _0x308b=function(_0x308b44,_0x139b40){_0x308b44=_0x308b44-0xdf;let _0xb03380=_0x9052ae[_0x308b44];return _0xb03380;},_0x308b(_0x412d41,_0x25f3c5);}export class TypingActionCompressor extends _0x28bd19{[_0x21fd7b(0xe2)](_0x38a839,_0x35d550){const _0x4d3bd1=_0x21fd7b;return _0x35d550[_0x4d3bd1(0x102)][0x0][_0x4d3bd1(0xdf)]+=_0x38a839[_0x4d3bd1(0x102)][0x0][_0x4d3bd1(0xdf)],_0x35d550;}[_0x21fd7b(0xf9)](_0x5c419a){const _0x20b83d=_0x21fd7b,_0x305c8c=_0x25ada7(_0x5c419a),_0x1d0b39=_0x305c8c[_0x20b83d(0x102)][0x0],_0x87f3d2=_0x5c419a[_0x20b83d(0x102)][0x0],_0x8ea56c=_0x87f3d2[_0x20b83d(0xdf)][Symbol[_0x20b83d(0xe5)]]()[_0x20b83d(0xfa)]()[_0x20b83d(0xea)],_0x1dd58f=_0x8ea56c[_0x20b83d(0xec)];return _0x1d0b39[_0x20b83d(0xdf)]=_0x8ea56c,_0x87f3d2[_0x20b83d(0xdf)]=_0x87f3d2[_0x20b83d(0xdf)][_0x20b83d(0xfb)](_0x1dd58f),_0x5c419a[_0x20b83d(0xef)]=_0x203771(_0x5c419a[_0x20b83d(0xef)],_0x1dd58f),_0x305c8c;}[_0x21fd7b(0xfe)](_0x33125f,_0x2b472e){const _0x52eda7=_0x21fd7b;if(this[_0x52eda7(0xed)](_0x33125f)&&this[_0x52eda7(0xed)](_0x2b472e)){const _0x34357d=_0x33125f[_0x52eda7(0x102)][0x0][_0x52eda7(0xdf)][_0x52eda7(0xec)],_0x460fef=_0x2d1c9c(_0x203771(_0x33125f[_0x52eda7(0xef)],_0x34357d),_0x2b472e[_0x52eda7(0xef)]),_0x2322d1=_0x33125f[_0x52eda7(0x102)][0x0],_0x403354=_0x2b472e[_0x52eda7(0x102)][0x0];return _0x460fef&&this[_0x52eda7(0x100)](_0x2322d1,_0x403354);}return!0x1;}[_0x21fd7b(0xf6)](_0x55cc28){const _0x38a1d8=_0x21fd7b,_0x1873bf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x38a1d8(0xf0)][_0x38a1d8(0xe3)](_0x38a1d8(0xe8))[_0x38a1d8(0xee)](_0x1873bf,[_0x55cc28]),_0x1873bf[_0x38a1d8(0xf8)][0x0];}[_0x21fd7b(0xe1)](_0x423044){const _0x528fbd=_0x21fd7b,_0x458145=[];return this[_0x528fbd(0xf0)][_0x528fbd(0xe3)](_0x528fbd(0xe8))[_0x528fbd(0xff)](_0x458145,_0x423044),_0x458145[0x0];}[_0x21fd7b(0xed)](_0x1c3e05){const _0x13c237=_0x21fd7b;return _0x13c237(0xe8)==_0x1c3e05[_0x13c237(0xf1)]&&0x1==_0x1c3e05[_0x13c237(0x102)][_0x13c237(0xec)]&&_0x1c3e05[_0x13c237(0x102)][0x0][_0x13c237(0xdf)]&&!_0x1c3e05[_0x13c237(0xe4)]&&0x1==Array[_0x13c237(0xe6)](_0x1c3e05[_0x13c237(0x102)][0x0][_0x13c237(0xdf)])[_0x13c237(0xec)];}[_0x21fd7b(0x100)](_0x1d94a8,_0x68e2db){const _0x1a0e7f=_0x21fd7b,_0x9afe86=Object[_0x1a0e7f(0xf5)](_0x1d94a8[_0x1a0e7f(0xfd)]||{}),_0x2cce79=Object[_0x1a0e7f(0xf5)](_0x68e2db[_0x1a0e7f(0xfd)]||{});return _0x9afe86[_0x1a0e7f(0xec)]===_0x2cce79[_0x1a0e7f(0xec)]&&_0x9afe86[_0x1a0e7f(0xeb)](_0x22d06a=>_0x68e2db[_0x1a0e7f(0xfd)][_0x22d06a]&&_0x68e2db[_0x1a0e7f(0xfd)][_0x22d06a]===_0x1d94a8[_0x1a0e7f(0xfd)][_0x22d06a]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2dd7(_0x5f5c9f,_0x110f18){const _0x37f3d6=_0x37f3();return _0x2dd7=function(_0x2dd7b1,_0xad4cbf){_0x2dd7b1=_0x2dd7b1-0x1b2;let _0x54d850=_0x37f3d6[_0x2dd7b1];return _0x54d850;},_0x2dd7(_0x5f5c9f,_0x110f18);}const _0x371881=_0x2dd7;(function(_0x463603,_0x5ba1c9){const _0x45e51b=_0x2dd7,_0x1f3b40=_0x463603();while(!![]){try{const _0x365a31=-parseInt(_0x45e51b(0x1bf))/0x1+-parseInt(_0x45e51b(0x1cb))/0x2*(parseInt(_0x45e51b(0x1b6))/0x3)+-parseInt(_0x45e51b(0x1d0))/0x4+parseInt(_0x45e51b(0x1b5))/0x5+-parseInt(_0x45e51b(0x1bc))/0x6+parseInt(_0x45e51b(0x1be))/0x7+parseInt(_0x45e51b(0x1b7))/0x8*(parseInt(_0x45e51b(0x1d1))/0x9);if(_0x365a31===_0x5ba1c9)break;else _0x1f3b40['push'](_0x1f3b40['shift']());}catch(_0x26eecf){_0x1f3b40['push'](_0x1f3b40['shift']());}}}(_0x37f3,0x190b1));import{ActionCompressor as _0x34d0f2}from'./actioncompressor.js';import{arePositionsEqual as _0x572e5f}from'../utils.js';import{cloneDeep as _0x576dc5}from'es-toolkit/compat';function _0x37f3(){const _0x37d2ef=['56646eTLXlA','68360HwQhwx','types','split','_getCompressorByName','__className','1030104dpcbTW','user:','429282XsPdFG','33895kzEEHs','oldRange','name','stickiness','shift','_context','_id','startsWith','MarkerOperation','decompress','compress','user:position:','14vBVZdl','toNone','push','_compareOperations','buffers','646788DXHlyg','477xOcpHT','_compressSingleOperation','newRange','end','start','_decompressSingleOperation','439080QkjhLw'];_0x37f3=function(){return _0x37d2ef;};return _0x37f3();}export class UserSelectionActionCompressor extends _0x34d0f2{[_0x371881(0x1c9)](_0x6fe93f,_0x176fe8){const _0x578012=_0x371881;if(!this[_0x578012(0x1ce)](_0x176fe8[0x0],_0x176fe8[0x1]))return!0x1;const _0x1c968b=_0x176fe8[_0x578012(0x1c3)]();return _0x1c968b[_0x578012(0x1c0)]=null,_0x1c968b[_0x578012(0x1d3)]&&_0x572e5f(_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b3)],_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b2)])&&(_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b2)]=null),_0x176fe8[_0x578012(0x1c3)](),_0x6fe93f[_0x578012(0x1b8)][_0x578012(0x1cd)](this[_0x578012(0x1c5)]),_0x6fe93f[_0x578012(0x1b8)][_0x578012(0x1cd)](0x0),_0x6fe93f[_0x578012(0x1cf)][_0x578012(0x1cd)](this[_0x578012(0x1d2)](_0x1c968b)),!0x0;}[_0x371881(0x1c8)](_0x12ae4d,_0x5bd4ff){const _0x3f99a0=_0x371881,_0x288c99=this[_0x3f99a0(0x1b4)](_0x5bd4ff);_0x288c99[_0x3f99a0(0x1d3)]&&!_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]&&(_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]=_0x576dc5(_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)]));const _0x1ac74d=_0x576dc5(_0x288c99);_0x1ac74d[_0x3f99a0(0x1d3)]&&(_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)][_0x3f99a0(0x1c2)]=_0x3f99a0(0x1cc),_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]=_0x576dc5(_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)])),_0x1ac74d[_0x3f99a0(0x1c1)]=_0x3f99a0(0x1ca)+_0x1ac74d[_0x3f99a0(0x1c1)][_0x3f99a0(0x1b9)](':')[0x2],_0x5bd4ff[_0x3f99a0(0x1b8)][_0x3f99a0(0x1c3)](),_0x12ae4d[_0x3f99a0(0x1cd)](_0x288c99),_0x12ae4d[_0x3f99a0(0x1cd)](_0x1ac74d);}[_0x371881(0x1d2)](_0x349522){const _0x2ca2c0=_0x371881,_0x496426={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2ca2c0(0x1c4)][_0x2ca2c0(0x1ba)](_0x2ca2c0(0x1c7))[_0x2ca2c0(0x1c9)](_0x496426,[_0x349522]),_0x496426[_0x2ca2c0(0x1cf)][0x0];}[_0x371881(0x1b4)](_0x130050){const _0x27a028=_0x371881,_0x44b296=[];return this[_0x27a028(0x1c4)][_0x27a028(0x1ba)](_0x27a028(0x1c7))[_0x27a028(0x1c8)](_0x44b296,_0x130050),_0x44b296[0x0];}[_0x371881(0x1ce)](_0x58e762,_0x2e9910){const _0x156bc2=_0x371881;return!(!_0x58e762||!_0x2e9910)&&(_0x156bc2(0x1c7)==_0x58e762[_0x156bc2(0x1bb)]&&_0x156bc2(0x1c7)==_0x2e9910[_0x156bc2(0x1bb)]&&!(!_0x58e762[_0x156bc2(0x1c1)][_0x156bc2(0x1c6)](_0x156bc2(0x1bd))||!_0x2e9910[_0x156bc2(0x1c1)][_0x156bc2(0x1c6)](_0x156bc2(0x1bd))||_0x58e762[_0x156bc2(0x1c1)]==_0x2e9910[_0x156bc2(0x1c1)]));}}
23
+ const _0xe0a7ef=_0x5c81;(function(_0x51c679,_0x120be7){const _0x4fb65c=_0x5c81,_0x1192dc=_0x51c679();while(!![]){try{const _0x14e08e=-parseInt(_0x4fb65c(0x137))/0x1+parseInt(_0x4fb65c(0x134))/0x2+-parseInt(_0x4fb65c(0x128))/0x3*(-parseInt(_0x4fb65c(0x13d))/0x4)+parseInt(_0x4fb65c(0x136))/0x5*(-parseInt(_0x4fb65c(0x141))/0x6)+-parseInt(_0x4fb65c(0x143))/0x7+parseInt(_0x4fb65c(0x132))/0x8*(parseInt(_0x4fb65c(0x13f))/0x9)+parseInt(_0x4fb65c(0x138))/0xa*(parseInt(_0x4fb65c(0x12e))/0xb);if(_0x14e08e===_0x120be7)break;else _0x1192dc['push'](_0x1192dc['shift']());}catch(_0x481bb8){_0x1192dc['push'](_0x1192dc['shift']());}}}(_0x348d,0x1d160));function _0x5c81(_0x6cc87e,_0x231532){const _0x348d97=_0x348d();return _0x5c81=function(_0x5c8106,_0x1e227c){_0x5c8106=_0x5c8106-0x120;let _0x2629c7=_0x348d97[_0x5c8106];return _0x2629c7;},_0x5c81(_0x6cc87e,_0x231532);}import{ActionCompressor as _0x4824b9}from'./actioncompressor.js';function _0x348d(){const _0x14ce8f=['user:','decompress','push','_id','split','565377ahnDsL','_compressSingleOperation','toNone','buffers','__className','types','965789XMvfkc','_context','MarkerOperation','end','106360TElNTt','stickiness','314802iKxvUV','shift','35lXGrrC','198373BOKPmy','10nXfcSc','_getCompressorByName','_decompressSingleOperation','start','name','4yJiiMH','oldRange','81sasLME','_compareOperations','92244bEPvtl','user:position:','897309yAeFjh','startsWith','newRange','compress'];_0x348d=function(){return _0x14ce8f;};return _0x348d();}import{arePositionsEqual as _0x2a6459}from'../utils.js';import{cloneDeep as _0x2b4cd6}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x4824b9{[_0xe0a7ef(0x122)](_0x9464fb,_0x984c5b){const _0x3f3957=_0xe0a7ef;if(!this[_0x3f3957(0x140)](_0x984c5b[0x0],_0x984c5b[0x1]))return!0x1;const _0x2f8ff3=_0x984c5b[_0x3f3957(0x135)]();return _0x2f8ff3[_0x3f3957(0x13e)]=null,_0x2f8ff3[_0x3f3957(0x121)]&&_0x2a6459(_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x13b)],_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x131)])&&(_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x131)]=null),_0x984c5b[_0x3f3957(0x135)](),_0x9464fb[_0x3f3957(0x12d)][_0x3f3957(0x125)](this[_0x3f3957(0x126)]),_0x9464fb[_0x3f3957(0x12d)][_0x3f3957(0x125)](0x0),_0x9464fb[_0x3f3957(0x12b)][_0x3f3957(0x125)](this[_0x3f3957(0x129)](_0x2f8ff3)),!0x0;}[_0xe0a7ef(0x124)](_0x1501fa,_0x57b569){const _0x5e3da8=_0xe0a7ef,_0x4b1e3a=this[_0x5e3da8(0x13a)](_0x57b569);_0x4b1e3a[_0x5e3da8(0x121)]&&!_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x131)]&&(_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x131)]=_0x2b4cd6(_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x13b)]));const _0x3f3008=_0x2b4cd6(_0x4b1e3a);_0x3f3008[_0x5e3da8(0x121)]&&(_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x13b)][_0x5e3da8(0x133)]=_0x5e3da8(0x12a),_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x131)]=_0x2b4cd6(_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x13b)])),_0x3f3008[_0x5e3da8(0x13c)]=_0x5e3da8(0x142)+_0x3f3008[_0x5e3da8(0x13c)][_0x5e3da8(0x127)](':')[0x2],_0x57b569[_0x5e3da8(0x12d)][_0x5e3da8(0x135)](),_0x1501fa[_0x5e3da8(0x125)](_0x4b1e3a),_0x1501fa[_0x5e3da8(0x125)](_0x3f3008);}[_0xe0a7ef(0x129)](_0x554835){const _0x40b7e7=_0xe0a7ef,_0x4b57d9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40b7e7(0x12f)][_0x40b7e7(0x139)](_0x40b7e7(0x130))[_0x40b7e7(0x122)](_0x4b57d9,[_0x554835]),_0x4b57d9[_0x40b7e7(0x12b)][0x0];}[_0xe0a7ef(0x13a)](_0x46da0b){const _0x26a116=_0xe0a7ef,_0x48a171=[];return this[_0x26a116(0x12f)][_0x26a116(0x139)](_0x26a116(0x130))[_0x26a116(0x124)](_0x48a171,_0x46da0b),_0x48a171[0x0];}[_0xe0a7ef(0x140)](_0x5d6b40,_0x2e2207){const _0x1dd3dd=_0xe0a7ef;return!(!_0x5d6b40||!_0x2e2207)&&(_0x1dd3dd(0x130)==_0x5d6b40[_0x1dd3dd(0x12c)]&&_0x1dd3dd(0x130)==_0x2e2207[_0x1dd3dd(0x12c)]&&!(!_0x5d6b40[_0x1dd3dd(0x13c)][_0x1dd3dd(0x120)](_0x1dd3dd(0x123))||!_0x2e2207[_0x1dd3dd(0x13c)][_0x1dd3dd(0x120)](_0x1dd3dd(0x123))||_0x5d6b40[_0x1dd3dd(0x13c)]==_0x2e2207[_0x1dd3dd(0x13c)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0dcf=_0x1656;(function(_0x804407,_0x303d89){const _0x2244e7=_0x1656,_0x394e7d=_0x804407();while(!![]){try{const _0x30f44d=-parseInt(_0x2244e7(0xc0))/0x1+parseInt(_0x2244e7(0xca))/0x2*(-parseInt(_0x2244e7(0xc2))/0x3)+-parseInt(_0x2244e7(0xdc))/0x4*(parseInt(_0x2244e7(0xbf))/0x5)+-parseInt(_0x2244e7(0xc6))/0x6+-parseInt(_0x2244e7(0xb7))/0x7+parseInt(_0x2244e7(0xd7))/0x8*(-parseInt(_0x2244e7(0xc1))/0x9)+parseInt(_0x2244e7(0xe4))/0xa*(parseInt(_0x2244e7(0xd8))/0xb);if(_0x30f44d===_0x303d89)break;else _0x394e7d['push'](_0x394e7d['shift']());}catch(_0x2027ec){_0x394e7d['push'](_0x394e7d['shift']());}}}(_0xa92f,0xceae6));import{CKEditorError as _0xf50e37}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x564cba}from'./protobuffactory.js';import{OperationCompressor as _0x32c182}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3e3a5c}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xb9fd23}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x343216}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x37469c}from'./operationcompressor/nooperationcompressor.js';function _0xa92f(){const _0xf2e88f=['InsertOperation','SplitOperation','__className','_registerCompressor','AttributeOperation','_getCompressorByName','suggestion','CommentMarkerOperation','RenameOperation','NoOperation','types','8477448XOxukY','99bCRXAB','length','decompress','RootOperation','1386396cHyVjN','SuggestionMarkerOperation','MergeOperation','no-operations-provided','DeletingAction','forEach','UserSelectionAction','ForwardDeletingAction','7186890ROFKCo','baseVersion','MoveOperation','1231951hpxmJQ','_protobufFactory','_registerOperationCompressor','decompress-compressor-not-found','comment','get','_compressorByName','RootAttributeOperation','20KGdUZE','1260694PXUaST','9RBORVP','75HtMqIK','_registerActionCompressor','TypingAction','MarkerOperation','7371876OxckDg','set','compress','getDescriptor','40818oQrUtj','_compressorById'];_0xa92f=function(){return _0xf2e88f;};return _0xa92f();}import{AnnotationMarkerOperationCompressor as _0x3b777d}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x1656(_0x5f4bf6,_0x4b78ff){const _0xa92fb2=_0xa92f();return _0x1656=function(_0x16563e,_0x4161e2){_0x16563e=_0x16563e-0xb7;let _0x58300d=_0xa92fb2[_0x16563e];return _0x58300d;},_0x1656(_0x5f4bf6,_0x4b78ff);}import{TypingActionCompressor as _0x1c3193}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x59c611}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x5765bd}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x983b94}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2a0dcf(0xcb)];[_0x2a0dcf(0xbd)];[_0x2a0dcf(0xb8)];constructor(){const _0x27c80b=_0x2a0dcf;this[_0x27c80b(0xcb)]=new Map(),this[_0x27c80b(0xbd)]=new Map(),this[_0x27c80b(0xb8)]=new _0x564cba();const _0x42e8ee=this[_0x27c80b(0xb8)][_0x27c80b(0xc9)](_0x27c80b(0xc5));this[_0x27c80b(0xcf)](0x1,_0x27c80b(0xd5),new _0x37469c(0x1,_0x27c80b(0xd5),void 0x0)),this[_0x27c80b(0xb9)](0xa,_0x27c80b(0xd0),_0x3e3a5c),this[_0x27c80b(0xb9)](0xb,_0x27c80b(0xcc),_0xb9fd23),this[_0x27c80b(0xb9)](0xc,_0x27c80b(0xc5),_0x343216),this[_0x27c80b(0xb9)](0xd,_0x27c80b(0xde),_0x32c182),this[_0x27c80b(0xb9)](0xe,_0x27c80b(0xe6),_0x32c182),this[_0x27c80b(0xb9)](0xf,_0x27c80b(0xd4),_0x32c182),this[_0x27c80b(0xb9)](0x10,_0x27c80b(0xbe),_0x3e3a5c),this[_0x27c80b(0xb9)](0x11,_0x27c80b(0xcd),_0x32c182),this[_0x27c80b(0xcf)](0x12,_0x27c80b(0xd3),new _0x3b777d(0x12,_0x27c80b(0xc5),_0x42e8ee,_0x27c80b(0xbb))),this[_0x27c80b(0xcf)](0x13,_0x27c80b(0xdd),new _0x3b777d(0x13,_0x27c80b(0xc5),_0x42e8ee,_0x27c80b(0xd2))),this[_0x27c80b(0xb9)](0x14,_0x27c80b(0xdb),_0x32c182),this[_0x27c80b(0xc3)](0x64,_0x27c80b(0xc4),_0x1c3193),this[_0x27c80b(0xc3)](0x65,_0x27c80b(0xe0),_0x59c611),this[_0x27c80b(0xc3)](0x66,_0x27c80b(0xe3),_0x5765bd),this[_0x27c80b(0xc3)](0x67,_0x27c80b(0xe2),_0x983b94);}[_0x2a0dcf(0xc8)](_0x1b79c6){const _0x32776f=_0x2a0dcf;if(!_0x1b79c6||!_0x1b79c6[0x0])throw new _0xf50e37(_0x32776f(0xdf),this);const _0x54f5bd={'types':[],'buffers':[],'baseVersion':_0x1b79c6[0x0][_0x32776f(0xe5)]};for(;_0x1b79c6[_0x32776f(0xd9)];)this[_0x32776f(0xd1)](_0x32776f(0xe2))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xc4))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xe0))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xe3))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xd3))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xdd))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x1b79c6[0x0][_0x32776f(0xce)])[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6);return _0x54f5bd;}[_0x2a0dcf(0xda)](_0x5bc6e8){const _0x13128c=_0x2a0dcf,_0x1bebdf=[];for(;_0x5bc6e8[_0x13128c(0xd6)][_0x13128c(0xd9)];){const _0x4110a8=this[_0x13128c(0xcb)][_0x13128c(0xbc)](_0x5bc6e8[_0x13128c(0xd6)][0x0]);if(!_0x4110a8)throw new _0xf50e37(_0x13128c(0xba),this,{'type':_0x5bc6e8[_0x13128c(0xd6)][0x0]});_0x4110a8[_0x13128c(0xda)](_0x1bebdf,_0x5bc6e8);}return _0x1bebdf[_0x13128c(0xe1)]((_0x1c84e4,_0x18e602)=>_0x1c84e4[_0x13128c(0xe5)]=_0x5bc6e8[_0x13128c(0xe5)]+_0x18e602),_0x1bebdf;}[_0x2a0dcf(0xd1)](_0x5c8702){const _0x45d57f=_0x2a0dcf;return this[_0x45d57f(0xbd)][_0x45d57f(0xbc)](_0x5c8702);}[_0x2a0dcf(0xb9)](_0x431f0f,_0x1c6f05,_0x478513){const _0x3739c6=_0x2a0dcf,_0x27e07d=new _0x478513(_0x431f0f,_0x1c6f05,this[_0x3739c6(0xb8)][_0x3739c6(0xc9)](_0x1c6f05));this[_0x3739c6(0xcf)](_0x431f0f,_0x1c6f05,_0x27e07d);}[_0x2a0dcf(0xc3)](_0x58e1f8,_0x33af6e,_0x2807dd){const _0x16e757=_0x2a0dcf,_0x368fb7=new _0x2807dd(_0x58e1f8,this);this[_0x16e757(0xcf)](_0x58e1f8,_0x33af6e,_0x368fb7);}[_0x2a0dcf(0xcf)](_0x1ddbdc,_0x5a8278,_0xe1793d){const _0x42e6ab=_0x2a0dcf;this[_0x42e6ab(0xcb)][_0x42e6ab(0xc7)](_0x1ddbdc,_0xe1793d),this[_0x42e6ab(0xbd)][_0x42e6ab(0xc7)](_0x5a8278,_0xe1793d);}}
23
+ const _0x1c2eef=_0x1fd0;(function(_0x338cdd,_0x5ced9e){const _0x2592bf=_0x1fd0,_0x519553=_0x338cdd();while(!![]){try{const _0xffb125=-parseInt(_0x2592bf(0x1c8))/0x1*(parseInt(_0x2592bf(0x1a8))/0x2)+parseInt(_0x2592bf(0x1a9))/0x3+parseInt(_0x2592bf(0x1bc))/0x4+parseInt(_0x2592bf(0x1b1))/0x5+-parseInt(_0x2592bf(0x1c9))/0x6+-parseInt(_0x2592bf(0x1ab))/0x7*(-parseInt(_0x2592bf(0x1b4))/0x8)+parseInt(_0x2592bf(0x1a1))/0x9*(-parseInt(_0x2592bf(0x1ad))/0xa);if(_0xffb125===_0x5ced9e)break;else _0x519553['push'](_0x519553['shift']());}catch(_0x16b9ce){_0x519553['push'](_0x519553['shift']());}}}(_0x4bc7,0x8b2e0));import{CKEditorError as _0x199a6e}from'ckeditor5/src/utils.js';function _0x4bc7(){const _0x2f472f=['_getCompressorByName','3265024xOODFp','getDescriptor','AttributeOperation','RenameOperation','RootAttributeOperation','NoOperation','decompress-compressor-not-found','MergeOperation','decompress','compress','_registerOperationCompressor','get','49ILOHiI','604464OmYVSx','_registerActionCompressor','SplitOperation','no-operations-provided','MoveOperation','MarkerOperation','TypingAction','41697uoWpzP','set','suggestion','comment','UserSelectionAction','forEach','__className','26360uPKlQx','610782AguXmd','baseVersion','3842461KRpBke','_compressorByName','730RYYEEY','InsertOperation','CommentMarkerOperation','DeletingAction','430400NREBzA','SuggestionMarkerOperation','_compressorById','8FymHFc','_registerCompressor','RootOperation','ForwardDeletingAction','_protobufFactory','length','types'];_0x4bc7=function(){return _0x2f472f;};return _0x4bc7();}import{ProtobufFactory as _0x241d09}from'./protobuffactory.js';import{OperationCompressor as _0x339e84}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x27eb55}from'./operationcompressor/attributeoperationcompressor.js';function _0x1fd0(_0x1a8fa5,_0x184574){const _0x4bc742=_0x4bc7();return _0x1fd0=function(_0x1fd0b5,_0x46480f){_0x1fd0b5=_0x1fd0b5-0x19e;let _0x39b32f=_0x4bc742[_0x1fd0b5];return _0x39b32f;},_0x1fd0(_0x1a8fa5,_0x184574);}import{InsertOperationCompressor as _0x52d229}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2f628a}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x2d764f}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x349930}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3325be}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1da6c8}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x264f9c}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3581dd}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1c2eef(0x1b3)];[_0x1c2eef(0x1ac)];[_0x1c2eef(0x1b8)];constructor(){const _0x8f3960=_0x1c2eef;this[_0x8f3960(0x1b3)]=new Map(),this[_0x8f3960(0x1ac)]=new Map(),this[_0x8f3960(0x1b8)]=new _0x241d09();const _0x13b4f9=this[_0x8f3960(0x1b8)][_0x8f3960(0x1bd)](_0x8f3960(0x19f));this[_0x8f3960(0x1b5)](0x1,_0x8f3960(0x1c1),new _0x2d764f(0x1,_0x8f3960(0x1c1),void 0x0)),this[_0x8f3960(0x1c6)](0xa,_0x8f3960(0x1be),_0x27eb55),this[_0x8f3960(0x1c6)](0xb,_0x8f3960(0x1ae),_0x52d229),this[_0x8f3960(0x1c6)](0xc,_0x8f3960(0x19f),_0x2f628a),this[_0x8f3960(0x1c6)](0xd,_0x8f3960(0x1c3),_0x339e84),this[_0x8f3960(0x1c6)](0xe,_0x8f3960(0x19e),_0x339e84),this[_0x8f3960(0x1c6)](0xf,_0x8f3960(0x1bf),_0x339e84),this[_0x8f3960(0x1c6)](0x10,_0x8f3960(0x1c0),_0x27eb55),this[_0x8f3960(0x1c6)](0x11,_0x8f3960(0x1cb),_0x339e84),this[_0x8f3960(0x1b5)](0x12,_0x8f3960(0x1af),new _0x349930(0x12,_0x8f3960(0x19f),_0x13b4f9,_0x8f3960(0x1a4))),this[_0x8f3960(0x1b5)](0x13,_0x8f3960(0x1b2),new _0x349930(0x13,_0x8f3960(0x19f),_0x13b4f9,_0x8f3960(0x1a3))),this[_0x8f3960(0x1c6)](0x14,_0x8f3960(0x1b6),_0x339e84),this[_0x8f3960(0x1ca)](0x64,_0x8f3960(0x1a0),_0x3325be),this[_0x8f3960(0x1ca)](0x65,_0x8f3960(0x1b0),_0x1da6c8),this[_0x8f3960(0x1ca)](0x66,_0x8f3960(0x1b7),_0x264f9c),this[_0x8f3960(0x1ca)](0x67,_0x8f3960(0x1a5),_0x3581dd);}[_0x1c2eef(0x1c5)](_0x469306){const _0x25b71a=_0x1c2eef;if(!_0x469306||!_0x469306[0x0])throw new _0x199a6e(_0x25b71a(0x1cc),this);const _0x49360f={'types':[],'buffers':[],'baseVersion':_0x469306[0x0][_0x25b71a(0x1aa)]};for(;_0x469306[_0x25b71a(0x1b9)];)this[_0x25b71a(0x1bb)](_0x25b71a(0x1a5))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1a0))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b0))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b7))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1af))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b2))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x469306[0x0][_0x25b71a(0x1a7)])[_0x25b71a(0x1c5)](_0x49360f,_0x469306);return _0x49360f;}[_0x1c2eef(0x1c4)](_0x186384){const _0x23899a=_0x1c2eef,_0x3e5ac5=[];for(;_0x186384[_0x23899a(0x1ba)][_0x23899a(0x1b9)];){const _0x23000c=this[_0x23899a(0x1b3)][_0x23899a(0x1c7)](_0x186384[_0x23899a(0x1ba)][0x0]);if(!_0x23000c)throw new _0x199a6e(_0x23899a(0x1c2),this,{'type':_0x186384[_0x23899a(0x1ba)][0x0]});_0x23000c[_0x23899a(0x1c4)](_0x3e5ac5,_0x186384);}return _0x3e5ac5[_0x23899a(0x1a6)]((_0x596389,_0x15bc84)=>_0x596389[_0x23899a(0x1aa)]=_0x186384[_0x23899a(0x1aa)]+_0x15bc84),_0x3e5ac5;}[_0x1c2eef(0x1bb)](_0xda0063){const _0x3b99d0=_0x1c2eef;return this[_0x3b99d0(0x1ac)][_0x3b99d0(0x1c7)](_0xda0063);}[_0x1c2eef(0x1c6)](_0x52f772,_0x5f2ce7,_0x3d4685){const _0x36ab69=_0x1c2eef,_0x46dec0=new _0x3d4685(_0x52f772,_0x5f2ce7,this[_0x36ab69(0x1b8)][_0x36ab69(0x1bd)](_0x5f2ce7));this[_0x36ab69(0x1b5)](_0x52f772,_0x5f2ce7,_0x46dec0);}[_0x1c2eef(0x1ca)](_0x595fd6,_0x2650e8,_0x4ad220){const _0x5eeb39=_0x1c2eef,_0x1da32e=new _0x4ad220(_0x595fd6,this);this[_0x5eeb39(0x1b5)](_0x595fd6,_0x2650e8,_0x1da32e);}[_0x1c2eef(0x1b5)](_0x2dec76,_0x501643,_0x4d59a6){const _0x4f64ce=_0x1c2eef;this[_0x4f64ce(0x1b3)][_0x4f64ce(0x1a2)](_0x2dec76,_0x4d59a6),this[_0x4f64ce(0x1ac)][_0x4f64ce(0x1a2)](_0x501643,_0x4d59a6);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4439cd,_0x3eefc8){var _0x5311e1=_0x6ee9,_0x5b3a7a=_0x4439cd();while(!![]){try{var _0x3d56ec=parseInt(_0x5311e1(0x108))/0x1+-parseInt(_0x5311e1(0x109))/0x2*(-parseInt(_0x5311e1(0x10d))/0x3)+-parseInt(_0x5311e1(0x10f))/0x4*(-parseInt(_0x5311e1(0x107))/0x5)+parseInt(_0x5311e1(0x10e))/0x6*(-parseInt(_0x5311e1(0x10b))/0x7)+parseInt(_0x5311e1(0x10a))/0x8+-parseInt(_0x5311e1(0x10c))/0x9*(parseInt(_0x5311e1(0x106))/0xa)+-parseInt(_0x5311e1(0x105))/0xb;if(_0x3d56ec===_0x3eefc8)break;else _0x5b3a7a['push'](_0x5b3a7a['shift']());}catch(_0x4b085d){_0x5b3a7a['push'](_0x5b3a7a['shift']());}}}(_0x5877,0x89d4c));function _0x6ee9(_0x34681c,_0x4f013b){var _0x5877b7=_0x5877();return _0x6ee9=function(_0x6ee975,_0x82712b){_0x6ee975=_0x6ee975-0x105;var _0x585ded=_0x5877b7[_0x6ee975];return _0x585ded;},_0x6ee9(_0x34681c,_0x4f013b);}function _0x5877(){var _0x3803f3=['74211TzaBmj','6RRxpnN','93892hIwqYI','14885189oWiFoj','10cmzSBG','30znZizu','833450WnLBno','52rtmktF','5850952CiiEIz','35679XLAPes','3833703BxTBNj'];_0x5877=function(){return _0x3803f3;};return _0x5877();}export{Compressor}from'./compressor.js';
23
+ function _0x480c(){var _0x195d18=['9yBYvbW','270598DhlODE','3tMKZvQ','587988gwGoVX','1637400lqrOQB','587848qOapOD','1726344ZNuMxh','1289988VrMucD','360873ADizZj'];_0x480c=function(){return _0x195d18;};return _0x480c();}function _0x3deb(_0x238165,_0x2bc2e7){var _0x480c16=_0x480c();return _0x3deb=function(_0x3deb61,_0x4a3d77){_0x3deb61=_0x3deb61-0x71;var _0x447d44=_0x480c16[_0x3deb61];return _0x447d44;},_0x3deb(_0x238165,_0x2bc2e7);}(function(_0x12ff6c,_0x3f82b0){var _0x5badc4=_0x3deb,_0x26ec66=_0x12ff6c();while(!![]){try{var _0x459441=parseInt(_0x5badc4(0x73))/0x1*(parseInt(_0x5badc4(0x72))/0x2)+-parseInt(_0x5badc4(0x79))/0x3+parseInt(_0x5badc4(0x74))/0x4+parseInt(_0x5badc4(0x75))/0x5+-parseInt(_0x5badc4(0x77))/0x6+-parseInt(_0x5badc4(0x78))/0x7+parseInt(_0x5badc4(0x76))/0x8*(-parseInt(_0x5badc4(0x71))/0x9);if(_0x459441===_0x3f82b0)break;else _0x26ec66['push'](_0x26ec66['shift']());}catch(_0x5d191e){_0x26ec66['push'](_0x26ec66['shift']());}}}(_0x480c,0x34642));export{Compressor}from'./compressor.js';