@ckeditor/ckeditor5-operations-compressor 46.1.0-alpha.0 → 46.1.0-alpha.2

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
- function _0x2ecc(){const _0x1d2da1=['howMany','$graveyard','_compareOperations','MoveOperation','sourcePosition','657696kRRQqT','_context','targetPosition','_splitCurrent','379093EfFhGI','2tmECXr','compress','root','6Bwwriv','_decompressSingleOperation','wasUndone','1556443NUSvfn','decompress','1286151AKinUw','_combineNext','427352PcjPgn','1336750pNWxWZ','2481445QLMFaO','_checkOperation','_getCompressorByName','buffers','_compressSingleOperation','__className','36WXVCdo'];_0x2ecc=function(){return _0x1d2da1;};return _0x2ecc();}const _0x49bff9=_0x94a6;function _0x94a6(_0x2ad263,_0x22d02b){const _0x2ecc5a=_0x2ecc();return _0x94a6=function(_0x94a6c6,_0x3d8068){_0x94a6c6=_0x94a6c6-0xe6;let _0x5039a0=_0x2ecc5a[_0x94a6c6];return _0x5039a0;},_0x94a6(_0x2ad263,_0x22d02b);}(function(_0x196113,_0x5512fd){const _0x27b01b=_0x94a6,_0x2c0b94=_0x196113();while(!![]){try{const _0x58a82c=parseInt(_0x27b01b(0xfa))/0x1+-parseInt(_0x27b01b(0xfb))/0x2*(parseInt(_0x27b01b(0xe6))/0x3)+parseInt(_0x27b01b(0xf6))/0x4+-parseInt(_0x27b01b(0xea))/0x5*(-parseInt(_0x27b01b(0xfe))/0x6)+-parseInt(_0x27b01b(0x101))/0x7+-parseInt(_0x27b01b(0xe8))/0x8*(parseInt(_0x27b01b(0xf0))/0x9)+parseInt(_0x27b01b(0xe9))/0xa;if(_0x58a82c===_0x5512fd)break;else _0x2c0b94['push'](_0x2c0b94['shift']());}catch(_0x1c90c1){_0x2c0b94['push'](_0x2c0b94['shift']());}}}(_0x2ecc,0x4b603));import{ActionCompressor as _0x1c0e48}from'./actioncompressor.js';import{arePositionsEqual as _0x4ab2f4,getPositionShiftedBy as _0x4e60d3}from'../utils.js';import{cloneDeep as _0x59929a}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1c0e48{[_0x49bff9(0xe7)](_0x5297e0,_0x69e1f2){const _0xf4bd36=_0x49bff9;return _0x69e1f2[_0xf4bd36(0xf1)]++,_0x69e1f2[_0xf4bd36(0xf5)]=_0x59929a(_0x5297e0[_0xf4bd36(0xf5)]),_0x69e1f2;}[_0x49bff9(0xf9)](_0x235310){const _0x5bb179=_0x49bff9,_0x4b5f65=_0x59929a(_0x235310);return _0x235310[_0x5bb179(0xf1)]--,_0x4b5f65[_0x5bb179(0xf1)]=0x1,_0x4b5f65[_0x5bb179(0xf5)]=_0x4e60d3(_0x4b5f65[_0x5bb179(0xf5)],_0x235310[_0x5bb179(0xf1)]),_0x4b5f65;}[_0x49bff9(0xf3)](_0x1bbc4e,_0x9ae5fc){const _0x5f0b31=_0x49bff9;return!(!this[_0x5f0b31(0xeb)](_0x1bbc4e)||!this[_0x5f0b31(0xeb)](_0x9ae5fc))&&(_0x4ab2f4(_0x4e60d3(_0x1bbc4e[_0x5f0b31(0xf5)],-0x1),_0x9ae5fc[_0x5f0b31(0xf5)])&&_0x4ab2f4(_0x1bbc4e[_0x5f0b31(0xf8)],_0x9ae5fc[_0x5f0b31(0xf8)]));}[_0x49bff9(0xee)](_0x482074){const _0x3d1824=_0x49bff9,_0x7993cf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3d1824(0xf7)][_0x3d1824(0xec)](_0x3d1824(0xf4))[_0x3d1824(0xfc)](_0x7993cf,[_0x482074]),_0x7993cf[_0x3d1824(0xed)][0x0];}[_0x49bff9(0xff)](_0x56e599){const _0x16957d=_0x49bff9,_0x28fe08=[];return this[_0x16957d(0xf7)][_0x16957d(0xec)](_0x16957d(0xf4))[_0x16957d(0x102)](_0x28fe08,_0x56e599),_0x28fe08[0x0];}[_0x49bff9(0xeb)](_0x1ab3d8){const _0x496344=_0x49bff9;return _0x496344(0xf4)==_0x1ab3d8[_0x496344(0xef)]&&_0x496344(0xf2)==_0x1ab3d8[_0x496344(0xf8)][_0x496344(0xfd)]&&0x1==_0x1ab3d8[_0x496344(0xf1)]&&!_0x1ab3d8[_0x496344(0x100)];}}
23
+ function _0x2d11(){const _0x2451d9=['_compressSingleOperation','_compareOperations','targetPosition','736880YBwsZu','MoveOperation','_context','11pKvDQo','_decompressSingleOperation','_getCompressorByName','2803120JxEVoC','1008792qverPj','_combineNext','$graveyard','sourcePosition','1625454RpWiiz','499860MQnCXd','root','wasUndone','_checkOperation','buffers','5301821LIpzIm','compress','312rdUDaV','27794CVTobM','decompress','howMany','_splitCurrent','__className'];_0x2d11=function(){return _0x2451d9;};return _0x2d11();}const _0x3a49f5=_0x486d;(function(_0x3d8687,_0x5c0360){const _0x22d553=_0x486d,_0x1ffd0d=_0x3d8687();while(!![]){try{const _0x33e576=-parseInt(_0x22d553(0xcf))/0x1*(-parseInt(_0x22d553(0xc4))/0x2)+-parseInt(_0x22d553(0xd3))/0x3+-parseInt(_0x22d553(0xd2))/0x4+parseInt(_0x22d553(0xcc))/0x5+-parseInt(_0x22d553(0xd7))/0x6+-parseInt(_0x22d553(0xc1))/0x7+-parseInt(_0x22d553(0xc3))/0x8*(-parseInt(_0x22d553(0xd8))/0x9);if(_0x33e576===_0x5c0360)break;else _0x1ffd0d['push'](_0x1ffd0d['shift']());}catch(_0x380db8){_0x1ffd0d['push'](_0x1ffd0d['shift']());}}}(_0x2d11,0x61e33));import{ActionCompressor as _0x2449d7}from'./actioncompressor.js';import{arePositionsEqual as _0xdd2b15,getPositionShiftedBy as _0x215953}from'../utils.js';import{cloneDeep as _0x5dbf83}from'es-toolkit/compat';function _0x486d(_0x5dd5ad,_0x95ef31){const _0x2d111b=_0x2d11();return _0x486d=function(_0x486d2d,_0x1a76ba){_0x486d2d=_0x486d2d-0xc1;let _0x891718=_0x2d111b[_0x486d2d];return _0x891718;},_0x486d(_0x5dd5ad,_0x95ef31);}export class DeletingActionCompressor extends _0x2449d7{[_0x3a49f5(0xd4)](_0x73e793,_0x223f18){const _0x39f7fa=_0x3a49f5;return _0x223f18[_0x39f7fa(0xc6)]++,_0x223f18[_0x39f7fa(0xd6)]=_0x5dbf83(_0x73e793[_0x39f7fa(0xd6)]),_0x223f18;}[_0x3a49f5(0xc7)](_0x13ea13){const _0x437528=_0x3a49f5,_0x4e46f0=_0x5dbf83(_0x13ea13);return _0x13ea13[_0x437528(0xc6)]--,_0x4e46f0[_0x437528(0xc6)]=0x1,_0x4e46f0[_0x437528(0xd6)]=_0x215953(_0x4e46f0[_0x437528(0xd6)],_0x13ea13[_0x437528(0xc6)]),_0x4e46f0;}[_0x3a49f5(0xca)](_0x39947b,_0x7c62a0){const _0x5d9429=_0x3a49f5;return!(!this[_0x5d9429(0xdb)](_0x39947b)||!this[_0x5d9429(0xdb)](_0x7c62a0))&&(_0xdd2b15(_0x215953(_0x39947b[_0x5d9429(0xd6)],-0x1),_0x7c62a0[_0x5d9429(0xd6)])&&_0xdd2b15(_0x39947b[_0x5d9429(0xcb)],_0x7c62a0[_0x5d9429(0xcb)]));}[_0x3a49f5(0xc9)](_0x23e59a){const _0x22569b=_0x3a49f5,_0x4657bd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x22569b(0xce)][_0x22569b(0xd1)](_0x22569b(0xcd))[_0x22569b(0xc2)](_0x4657bd,[_0x23e59a]),_0x4657bd[_0x22569b(0xdc)][0x0];}[_0x3a49f5(0xd0)](_0x2f7037){const _0x594d5a=_0x3a49f5,_0x133416=[];return this[_0x594d5a(0xce)][_0x594d5a(0xd1)](_0x594d5a(0xcd))[_0x594d5a(0xc5)](_0x133416,_0x2f7037),_0x133416[0x0];}[_0x3a49f5(0xdb)](_0x10e0b0){const _0x30a712=_0x3a49f5;return _0x30a712(0xcd)==_0x10e0b0[_0x30a712(0xc8)]&&_0x30a712(0xd5)==_0x10e0b0[_0x30a712(0xcb)][_0x30a712(0xd9)]&&0x1==_0x10e0b0[_0x30a712(0xc6)]&&!_0x10e0b0[_0x30a712(0xda)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ab1(){const _0x225338=['561218aSExnL','MoveOperation','_compressSingleOperation','3121668nNAsrW','_combineNext','1235924EwtmzG','8539764RokdLq','369sWZvBD','buffers','_decompressSingleOperation','$graveyard','_compareOperations','sourcePosition','_checkOperation','_splitCurrent','_getCompressorByName','3947696PTfGkn','howMany','2261475wCmzXW','targetPosition','5KDSlyI','compress','wasUndone','_context','decompress','root','__className','40bsEMGN','1048810PLUifV'];_0x3ab1=function(){return _0x225338;};return _0x3ab1();}const _0x9d9d88=_0x93fb;(function(_0x238384,_0xd76fe4){const _0x625be1=_0x93fb,_0x4df55c=_0x238384();while(!![]){try{const _0x15918d=-parseInt(_0x625be1(0x104))/0x1+-parseInt(_0x625be1(0x102))/0x2+-parseInt(_0x625be1(0xf4))/0x3+parseInt(_0x625be1(0xf2))/0x4*(-parseInt(_0x625be1(0xf6))/0x5)+parseInt(_0x625be1(0x105))/0x6+parseInt(_0x625be1(0xff))/0x7*(-parseInt(_0x625be1(0xfd))/0x8)+parseInt(_0x625be1(0xe9))/0x9*(parseInt(_0x625be1(0xfe))/0xa);if(_0x15918d===_0xd76fe4)break;else _0x4df55c['push'](_0x4df55c['shift']());}catch(_0x21e8f1){_0x4df55c['push'](_0x4df55c['shift']());}}}(_0x3ab1,0xbfa8e));function _0x93fb(_0x41ebe1,_0x434681){const _0x3ab16b=_0x3ab1();return _0x93fb=function(_0x93fb19,_0x4b5e9c){_0x93fb19=_0x93fb19-0xe9;let _0x330f09=_0x3ab16b[_0x93fb19];return _0x330f09;},_0x93fb(_0x41ebe1,_0x434681);}import{ActionCompressor as _0x4be207}from'./actioncompressor.js';import{arePositionsEqual as _0x2a048f}from'../utils.js';import{cloneDeep as _0x3f3ba6}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x4be207{[_0x9d9d88(0x103)](_0xc0f219,_0x2b5052){const _0x560fb9=_0x9d9d88;return _0x2b5052[_0x560fb9(0xf3)]++,_0x2b5052;}[_0x9d9d88(0xf0)](_0x5c8e1c){const _0xb67264=_0x9d9d88,_0x409874=_0x3f3ba6(_0x5c8e1c);return _0x409874[_0xb67264(0xf3)]=0x1,_0x5c8e1c[_0xb67264(0xf3)]--,_0x409874;}[_0x9d9d88(0xed)](_0x3048db,_0x41f3c1){const _0x51d3c3=_0x9d9d88;return!(!this[_0x51d3c3(0xef)](_0x3048db)||!this[_0x51d3c3(0xef)](_0x41f3c1))&&(_0x2a048f(_0x3048db[_0x51d3c3(0xee)],_0x41f3c1[_0x51d3c3(0xee)])&&_0x2a048f(_0x3048db[_0x51d3c3(0xf5)],_0x41f3c1[_0x51d3c3(0xf5)]));}[_0x9d9d88(0x101)](_0x7c5c72){const _0x2d843f=_0x9d9d88,_0x242efd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2d843f(0xf9)][_0x2d843f(0xf1)](_0x2d843f(0x100))[_0x2d843f(0xf7)](_0x242efd,[_0x7c5c72]),_0x242efd[_0x2d843f(0xea)][0x0];}[_0x9d9d88(0xeb)](_0x438e8d){const _0x4322e=_0x9d9d88,_0x48e562=[];return this[_0x4322e(0xf9)][_0x4322e(0xf1)](_0x4322e(0x100))[_0x4322e(0xfa)](_0x48e562,_0x438e8d),_0x48e562[0x0];}[_0x9d9d88(0xef)](_0x2db500){const _0x56a947=_0x9d9d88;return _0x56a947(0x100)==_0x2db500[_0x56a947(0xfc)]&&_0x56a947(0xec)==_0x2db500[_0x56a947(0xf5)][_0x56a947(0xfb)]&&0x1==_0x2db500[_0x56a947(0xf3)]&&!_0x2db500[_0x56a947(0xf8)];}}
23
+ const _0x59373e=_0x49f9;function _0x49f9(_0x1b6af8,_0xf116e0){const _0xc587fc=_0xc587();return _0x49f9=function(_0x49f915,_0xe53a64){_0x49f915=_0x49f915-0x69;let _0x4a41b6=_0xc587fc[_0x49f915];return _0x4a41b6;},_0x49f9(_0x1b6af8,_0xf116e0);}(function(_0x4c4c5e,_0x46d390){const _0x4fcafd=_0x49f9,_0x3d4a6f=_0x4c4c5e();while(!![]){try{const _0x36b36f=parseInt(_0x4fcafd(0x85))/0x1*(parseInt(_0x4fcafd(0x6b))/0x2)+-parseInt(_0x4fcafd(0x7a))/0x3+-parseInt(_0x4fcafd(0x6f))/0x4+parseInt(_0x4fcafd(0x6d))/0x5+-parseInt(_0x4fcafd(0x74))/0x6*(parseInt(_0x4fcafd(0x78))/0x7)+parseInt(_0x4fcafd(0x7b))/0x8*(parseInt(_0x4fcafd(0x7f))/0x9)+-parseInt(_0x4fcafd(0x69))/0xa;if(_0x36b36f===_0x46d390)break;else _0x3d4a6f['push'](_0x3d4a6f['shift']());}catch(_0x25e668){_0x3d4a6f['push'](_0x3d4a6f['shift']());}}}(_0xc587,0xc332c));import{ActionCompressor as _0x60a739}from'./actioncompressor.js';function _0xc587(){const _0x184027=['3573210pizmpi','_splitCurrent','5258712HmbuSj','$graveyard','targetPosition','buffers','__className','210VzptYg','sourcePosition','_compressSingleOperation','_context','62489SGiywj','_combineNext','79485tHaIFy','112IKJqiY','_compareOperations','compress','howMany','641754rfJnyw','wasUndone','_decompressSingleOperation','MoveOperation','root','decompress','311eShQgP','4904030qBryYg','_getCompressorByName','7914YPkOdI','_checkOperation'];_0xc587=function(){return _0x184027;};return _0xc587();}import{arePositionsEqual as _0x4c7784}from'../utils.js';import{cloneDeep as _0xb8b6b4}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x60a739{[_0x59373e(0x79)](_0x450b19,_0x396668){const _0x4668a8=_0x59373e;return _0x396668[_0x4668a8(0x7e)]++,_0x396668;}[_0x59373e(0x6e)](_0x3a5383){const _0x1fc243=_0x59373e,_0x100230=_0xb8b6b4(_0x3a5383);return _0x100230[_0x1fc243(0x7e)]=0x1,_0x3a5383[_0x1fc243(0x7e)]--,_0x100230;}[_0x59373e(0x7c)](_0x10d4b5,_0x25a65){const _0x32fe98=_0x59373e;return!(!this[_0x32fe98(0x6c)](_0x10d4b5)||!this[_0x32fe98(0x6c)](_0x25a65))&&(_0x4c7784(_0x10d4b5[_0x32fe98(0x75)],_0x25a65[_0x32fe98(0x75)])&&_0x4c7784(_0x10d4b5[_0x32fe98(0x71)],_0x25a65[_0x32fe98(0x71)]));}[_0x59373e(0x76)](_0x33eb35){const _0x1643bc=_0x59373e,_0x1329fb={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1643bc(0x77)][_0x1643bc(0x6a)](_0x1643bc(0x82))[_0x1643bc(0x7d)](_0x1329fb,[_0x33eb35]),_0x1329fb[_0x1643bc(0x72)][0x0];}[_0x59373e(0x81)](_0x29b5c1){const _0x59fe84=_0x59373e,_0x223bab=[];return this[_0x59fe84(0x77)][_0x59fe84(0x6a)](_0x59fe84(0x82))[_0x59fe84(0x84)](_0x223bab,_0x29b5c1),_0x223bab[0x0];}[_0x59373e(0x6c)](_0x2df5ab){const _0x3af24d=_0x59373e;return _0x3af24d(0x82)==_0x2df5ab[_0x3af24d(0x73)]&&_0x3af24d(0x70)==_0x2df5ab[_0x3af24d(0x71)][_0x3af24d(0x83)]&&0x1==_0x2df5ab[_0x3af24d(0x7e)]&&!_0x2df5ab[_0x3af24d(0x80)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xfda4(_0x2d98d7,_0x21f338){const _0x10b0a1=_0x10b0();return _0xfda4=function(_0xfda479,_0x1b4744){_0xfda479=_0xfda479-0x1d2;let _0x42fc3f=_0x10b0a1[_0xfda479];return _0x42fc3f;},_0xfda4(_0x2d98d7,_0x21f338);}const _0x270d0e=_0xfda4;(function(_0x701be9,_0x71ecb7){const _0x43d9db=_0xfda4,_0x37c509=_0x701be9();while(!![]){try{const _0x4e899b=-parseInt(_0x43d9db(0x1e5))/0x1+parseInt(_0x43d9db(0x1de))/0x2+-parseInt(_0x43d9db(0x1dd))/0x3*(parseInt(_0x43d9db(0x1ee))/0x4)+parseInt(_0x43d9db(0x1ec))/0x5+parseInt(_0x43d9db(0x1db))/0x6*(parseInt(_0x43d9db(0x1e0))/0x7)+parseInt(_0x43d9db(0x1d5))/0x8*(-parseInt(_0x43d9db(0x1d3))/0x9)+parseInt(_0x43d9db(0x1e3))/0xa*(parseInt(_0x43d9db(0x1dc))/0xb);if(_0x4e899b===_0x71ecb7)break;else _0x37c509['push'](_0x37c509['shift']());}catch(_0x3bb5b1){_0x37c509['push'](_0x37c509['shift']());}}}(_0x10b0,0x23965));function _0x10b0(){const _0xafd5b9=['length','792DdBQYq','next','position','wasUndone','data','_decompressSingleOperation','90xPxiCB','33kGePOc','55899NKOmyh','444748PpDcTe','__className','75397sQHMiw','buffers','compress','692840lrmigf','every','159712DyjVHD','_getCompressorByName','nodes','_compareAttributes','decompress','keys','_splitCurrent','36210ePkvIk','_compressSingleOperation','4QlfCXl','_combineNext','_context','_compareOperations','attributes','InsertOperation','value','substr','from','_checkOperation','iterator','24993OBIfWA'];_0x10b0=function(){return _0xafd5b9;};return _0x10b0();}import{ActionCompressor as _0x22b2c7}from'./actioncompressor.js';import{arePositionsEqual as _0x58c010,getPositionShiftedBy as _0x58a7ec}from'../utils.js';import{cloneDeep as _0x43862d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x22b2c7{[_0x270d0e(0x1ef)](_0x29bb55,_0x2c6fd8){const _0xa45fae=_0x270d0e;return _0x2c6fd8[_0xa45fae(0x1e7)][0x0][_0xa45fae(0x1d9)]+=_0x29bb55[_0xa45fae(0x1e7)][0x0][_0xa45fae(0x1d9)],_0x2c6fd8;}[_0x270d0e(0x1eb)](_0x3a6c3e){const _0x56171f=_0x270d0e,_0x588607=_0x43862d(_0x3a6c3e),_0x4d7787=_0x588607[_0x56171f(0x1e7)][0x0],_0x46b1cb=_0x3a6c3e[_0x56171f(0x1e7)][0x0],_0x4e0677=_0x46b1cb[_0x56171f(0x1d9)][Symbol[_0x56171f(0x1d2)]]()[_0x56171f(0x1d6)]()[_0x56171f(0x1f4)],_0x387fe3=_0x4e0677[_0x56171f(0x1d4)];return _0x4d7787[_0x56171f(0x1d9)]=_0x4e0677,_0x46b1cb[_0x56171f(0x1d9)]=_0x46b1cb[_0x56171f(0x1d9)][_0x56171f(0x1f5)](_0x387fe3),_0x3a6c3e[_0x56171f(0x1d7)]=_0x58a7ec(_0x3a6c3e[_0x56171f(0x1d7)],_0x387fe3),_0x588607;}[_0x270d0e(0x1f1)](_0x19ea89,_0x286872){const _0x540156=_0x270d0e;if(this[_0x540156(0x1f7)](_0x19ea89)&&this[_0x540156(0x1f7)](_0x286872)){const _0x275986=_0x19ea89[_0x540156(0x1e7)][0x0][_0x540156(0x1d9)][_0x540156(0x1d4)],_0x4e4d22=_0x58c010(_0x58a7ec(_0x19ea89[_0x540156(0x1d7)],_0x275986),_0x286872[_0x540156(0x1d7)]),_0x1dcc59=_0x19ea89[_0x540156(0x1e7)][0x0],_0x48d77b=_0x286872[_0x540156(0x1e7)][0x0];return _0x4e4d22&&this[_0x540156(0x1e8)](_0x1dcc59,_0x48d77b);}return!0x1;}[_0x270d0e(0x1ed)](_0x2ec4e6){const _0x1647eb=_0x270d0e,_0x5c9543={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1647eb(0x1f0)][_0x1647eb(0x1e6)](_0x1647eb(0x1f3))[_0x1647eb(0x1e2)](_0x5c9543,[_0x2ec4e6]),_0x5c9543[_0x1647eb(0x1e1)][0x0];}[_0x270d0e(0x1da)](_0x5cdbc1){const _0x5ec46f=_0x270d0e,_0x150f0b=[];return this[_0x5ec46f(0x1f0)][_0x5ec46f(0x1e6)](_0x5ec46f(0x1f3))[_0x5ec46f(0x1e9)](_0x150f0b,_0x5cdbc1),_0x150f0b[0x0];}[_0x270d0e(0x1f7)](_0xb24325){const _0x3bba8e=_0x270d0e;return _0x3bba8e(0x1f3)==_0xb24325[_0x3bba8e(0x1df)]&&0x1==_0xb24325[_0x3bba8e(0x1e7)][_0x3bba8e(0x1d4)]&&_0xb24325[_0x3bba8e(0x1e7)][0x0][_0x3bba8e(0x1d9)]&&!_0xb24325[_0x3bba8e(0x1d8)]&&0x1==Array[_0x3bba8e(0x1f6)](_0xb24325[_0x3bba8e(0x1e7)][0x0][_0x3bba8e(0x1d9)])[_0x3bba8e(0x1d4)];}[_0x270d0e(0x1e8)](_0x470ec1,_0x3e933f){const _0x4b827d=_0x270d0e,_0x1e01f6=Object[_0x4b827d(0x1ea)](_0x470ec1[_0x4b827d(0x1f2)]||{}),_0x589391=Object[_0x4b827d(0x1ea)](_0x3e933f[_0x4b827d(0x1f2)]||{});return _0x1e01f6[_0x4b827d(0x1d4)]===_0x589391[_0x4b827d(0x1d4)]&&_0x1e01f6[_0x4b827d(0x1e4)](_0x537d1e=>_0x3e933f[_0x4b827d(0x1f2)][_0x537d1e]&&_0x3e933f[_0x4b827d(0x1f2)][_0x537d1e]===_0x470ec1[_0x4b827d(0x1f2)][_0x537d1e]);}}
23
+ function _0x3f0c(){const _0x22db7f=['_combineNext','decompress','165ZUYRef','2850743phnGsU','substr','912wpZppL','position','_compressSingleOperation','data','next','_getCompressorByName','_compareAttributes','from','50SLuXsK','keys','iterator','13210FLUweL','compress','length','attributes','buffers','408631OPgbfc','_context','_compareOperations','value','2IEDSgj','310752ptFxtk','_checkOperation','15390xfOuDN','_splitCurrent','1524912OHAeQT','every','wasUndone','InsertOperation','112404wocrSq','33FnHXVW','_decompressSingleOperation','nodes','__className'];_0x3f0c=function(){return _0x22db7f;};return _0x3f0c();}const _0x604362=_0x4307;(function(_0x2fa6d8,_0x128b96){const _0x389ae9=_0x4307,_0x27b383=_0x2fa6d8();while(!![]){try{const _0x17d0dc=parseInt(_0x389ae9(0xf4))/0x1*(-parseInt(_0x389ae9(0xf8))/0x2)+parseInt(_0x389ae9(0x102))/0x3*(-parseInt(_0x389ae9(0x101))/0x4)+-parseInt(_0x389ae9(0x113))/0x5*(-parseInt(_0x389ae9(0xf9))/0x6)+parseInt(_0x389ae9(0x109))/0x7+-parseInt(_0x389ae9(0x10b))/0x8*(-parseInt(_0x389ae9(0xfb))/0x9)+parseInt(_0x389ae9(0x116))/0xa*(parseInt(_0x389ae9(0x108))/0xb)+-parseInt(_0x389ae9(0xfd))/0xc;if(_0x17d0dc===_0x128b96)break;else _0x27b383['push'](_0x27b383['shift']());}catch(_0x2b2bda){_0x27b383['push'](_0x27b383['shift']());}}}(_0x3f0c,0x480c2));function _0x4307(_0x2b31ff,_0x321e5f){const _0x3f0ce2=_0x3f0c();return _0x4307=function(_0x430709,_0x17fbe5){_0x430709=_0x430709-0xf4;let _0x4ba4f1=_0x3f0ce2[_0x430709];return _0x4ba4f1;},_0x4307(_0x2b31ff,_0x321e5f);}import{ActionCompressor as _0x57107a}from'./actioncompressor.js';import{arePositionsEqual as _0x3dae77,getPositionShiftedBy as _0x41f067}from'../utils.js';import{cloneDeep as _0x29dcf7}from'es-toolkit/compat';export class TypingActionCompressor extends _0x57107a{[_0x604362(0x106)](_0x13d4eb,_0x1d5cf8){const _0x4f57c0=_0x604362;return _0x1d5cf8[_0x4f57c0(0x104)][0x0][_0x4f57c0(0x10e)]+=_0x13d4eb[_0x4f57c0(0x104)][0x0][_0x4f57c0(0x10e)],_0x1d5cf8;}[_0x604362(0xfc)](_0x41e614){const _0x4b2ea9=_0x604362,_0x475110=_0x29dcf7(_0x41e614),_0x3f2e5f=_0x475110[_0x4b2ea9(0x104)][0x0],_0x2930e3=_0x41e614[_0x4b2ea9(0x104)][0x0],_0x2b2c3f=_0x2930e3[_0x4b2ea9(0x10e)][Symbol[_0x4b2ea9(0x115)]]()[_0x4b2ea9(0x10f)]()[_0x4b2ea9(0xf7)],_0x31fae2=_0x2b2c3f[_0x4b2ea9(0x118)];return _0x3f2e5f[_0x4b2ea9(0x10e)]=_0x2b2c3f,_0x2930e3[_0x4b2ea9(0x10e)]=_0x2930e3[_0x4b2ea9(0x10e)][_0x4b2ea9(0x10a)](_0x31fae2),_0x41e614[_0x4b2ea9(0x10c)]=_0x41f067(_0x41e614[_0x4b2ea9(0x10c)],_0x31fae2),_0x475110;}[_0x604362(0xf6)](_0x5a20b9,_0x14574e){const _0x12e453=_0x604362;if(this[_0x12e453(0xfa)](_0x5a20b9)&&this[_0x12e453(0xfa)](_0x14574e)){const _0x271b6d=_0x5a20b9[_0x12e453(0x104)][0x0][_0x12e453(0x10e)][_0x12e453(0x118)],_0x554fd3=_0x3dae77(_0x41f067(_0x5a20b9[_0x12e453(0x10c)],_0x271b6d),_0x14574e[_0x12e453(0x10c)]),_0x16378c=_0x5a20b9[_0x12e453(0x104)][0x0],_0x5d63d9=_0x14574e[_0x12e453(0x104)][0x0];return _0x554fd3&&this[_0x12e453(0x111)](_0x16378c,_0x5d63d9);}return!0x1;}[_0x604362(0x10d)](_0x579350){const _0x59aa4f=_0x604362,_0x250197={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x59aa4f(0xf5)][_0x59aa4f(0x110)](_0x59aa4f(0x100))[_0x59aa4f(0x117)](_0x250197,[_0x579350]),_0x250197[_0x59aa4f(0x11a)][0x0];}[_0x604362(0x103)](_0x34586b){const _0x20e57b=_0x604362,_0x2e6dcf=[];return this[_0x20e57b(0xf5)][_0x20e57b(0x110)](_0x20e57b(0x100))[_0x20e57b(0x107)](_0x2e6dcf,_0x34586b),_0x2e6dcf[0x0];}[_0x604362(0xfa)](_0x2ccd92){const _0x554c7e=_0x604362;return _0x554c7e(0x100)==_0x2ccd92[_0x554c7e(0x105)]&&0x1==_0x2ccd92[_0x554c7e(0x104)][_0x554c7e(0x118)]&&_0x2ccd92[_0x554c7e(0x104)][0x0][_0x554c7e(0x10e)]&&!_0x2ccd92[_0x554c7e(0xff)]&&0x1==Array[_0x554c7e(0x112)](_0x2ccd92[_0x554c7e(0x104)][0x0][_0x554c7e(0x10e)])[_0x554c7e(0x118)];}[_0x604362(0x111)](_0x4dfc8c,_0x5e4721){const _0x50e326=_0x604362,_0x1b69d9=Object[_0x50e326(0x114)](_0x4dfc8c[_0x50e326(0x119)]||{}),_0x52a797=Object[_0x50e326(0x114)](_0x5e4721[_0x50e326(0x119)]||{});return _0x1b69d9[_0x50e326(0x118)]===_0x52a797[_0x50e326(0x118)]&&_0x1b69d9[_0x50e326(0xfe)](_0x26ce9a=>_0x5e4721[_0x50e326(0x119)][_0x26ce9a]&&_0x5e4721[_0x50e326(0x119)][_0x26ce9a]===_0x4dfc8c[_0x50e326(0x119)][_0x26ce9a]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x697779=_0x1300;(function(_0x19d364,_0xa0dacf){const _0x574612=_0x1300,_0x157c2a=_0x19d364();while(!![]){try{const _0xaa2f00=-parseInt(_0x574612(0x1c0))/0x1*(-parseInt(_0x574612(0x1cf))/0x2)+parseInt(_0x574612(0x1b2))/0x3*(parseInt(_0x574612(0x1b6))/0x4)+-parseInt(_0x574612(0x1be))/0x5+-parseInt(_0x574612(0x1c4))/0x6+-parseInt(_0x574612(0x1c1))/0x7*(-parseInt(_0x574612(0x1ba))/0x8)+parseInt(_0x574612(0x1c2))/0x9*(-parseInt(_0x574612(0x1d1))/0xa)+parseInt(_0x574612(0x1b7))/0xb;if(_0xaa2f00===_0xa0dacf)break;else _0x157c2a['push'](_0x157c2a['shift']());}catch(_0x338ca8){_0x157c2a['push'](_0x157c2a['shift']());}}}(_0x169b,0x3e22e));import{ActionCompressor as _0x33402e}from'./actioncompressor.js';import{arePositionsEqual as _0x31fd15}from'../utils.js';function _0x169b(){const _0x4ac445=['shift','buffers','toNone','push','__className','20tIgKmz','split','80JYtltY','types','startsWith','name','_compressSingleOperation','6HSQgYr','compress','user:position:','stickiness','311932POkkBK','2683604MREVks','_compareOperations','decompress','1439848EAjHnc','MarkerOperation','end','user:','2176090xsCiaj','_id','32090FAaytl','7oIgVjC','227745HVYrXp','_getCompressorByName','51858KkZtZt','_decompressSingleOperation','oldRange','start','_context','newRange'];_0x169b=function(){return _0x4ac445;};return _0x169b();}function _0x1300(_0x5bed45,_0x2eb527){const _0x169ba8=_0x169b();return _0x1300=function(_0x1300ae,_0x33fb35){_0x1300ae=_0x1300ae-0x1ae;let _0x1f1f28=_0x169ba8[_0x1300ae];return _0x1f1f28;},_0x1300(_0x5bed45,_0x2eb527);}import{cloneDeep as _0x634e63}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x33402e{[_0x697779(0x1b3)](_0x2ece04,_0xd84ef){const _0x34a899=_0x697779;if(!this[_0x34a899(0x1b8)](_0xd84ef[0x0],_0xd84ef[0x1]))return!0x1;const _0x16cbc5=_0xd84ef[_0x34a899(0x1ca)]();return _0x16cbc5[_0x34a899(0x1c6)]=null,_0x16cbc5[_0x34a899(0x1c9)]&&_0x31fd15(_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1c7)],_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1bc)])&&(_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1bc)]=null),_0xd84ef[_0x34a899(0x1ca)](),_0x2ece04[_0x34a899(0x1ae)][_0x34a899(0x1cd)](this[_0x34a899(0x1bf)]),_0x2ece04[_0x34a899(0x1ae)][_0x34a899(0x1cd)](0x0),_0x2ece04[_0x34a899(0x1cb)][_0x34a899(0x1cd)](this[_0x34a899(0x1b1)](_0x16cbc5)),!0x0;}[_0x697779(0x1b9)](_0x53159f,_0xef5d86){const _0x188c57=_0x697779,_0x465183=this[_0x188c57(0x1c5)](_0xef5d86);_0x465183[_0x188c57(0x1c9)]&&!_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1bc)]&&(_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1bc)]=_0x634e63(_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1c7)]));const _0x331987=_0x634e63(_0x465183);_0x331987[_0x188c57(0x1c9)]&&(_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1c7)][_0x188c57(0x1b5)]=_0x188c57(0x1cc),_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1bc)]=_0x634e63(_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1c7)])),_0x331987[_0x188c57(0x1b0)]=_0x188c57(0x1b4)+_0x331987[_0x188c57(0x1b0)][_0x188c57(0x1d0)](':')[0x2],_0xef5d86[_0x188c57(0x1ae)][_0x188c57(0x1ca)](),_0x53159f[_0x188c57(0x1cd)](_0x465183),_0x53159f[_0x188c57(0x1cd)](_0x331987);}[_0x697779(0x1b1)](_0xef78a){const _0x5b198a=_0x697779,_0x55560d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5b198a(0x1c8)][_0x5b198a(0x1c3)](_0x5b198a(0x1bb))[_0x5b198a(0x1b3)](_0x55560d,[_0xef78a]),_0x55560d[_0x5b198a(0x1cb)][0x0];}[_0x697779(0x1c5)](_0x11e5f4){const _0x58342d=_0x697779,_0x2b5ea6=[];return this[_0x58342d(0x1c8)][_0x58342d(0x1c3)](_0x58342d(0x1bb))[_0x58342d(0x1b9)](_0x2b5ea6,_0x11e5f4),_0x2b5ea6[0x0];}[_0x697779(0x1b8)](_0x2a4100,_0xd1a220){const _0x3718fd=_0x697779;return!(!_0x2a4100||!_0xd1a220)&&(_0x3718fd(0x1bb)==_0x2a4100[_0x3718fd(0x1ce)]&&_0x3718fd(0x1bb)==_0xd1a220[_0x3718fd(0x1ce)]&&!(!_0x2a4100[_0x3718fd(0x1b0)][_0x3718fd(0x1af)](_0x3718fd(0x1bd))||!_0xd1a220[_0x3718fd(0x1b0)][_0x3718fd(0x1af)](_0x3718fd(0x1bd))||_0x2a4100[_0x3718fd(0x1b0)]==_0xd1a220[_0x3718fd(0x1b0)]));}}
23
+ const _0x58ee7c=_0x6036;(function(_0x5398b4,_0x2a7943){const _0x473db9=_0x6036,_0x4619cc=_0x5398b4();while(!![]){try{const _0x39c452=parseInt(_0x473db9(0xcc))/0x1*(-parseInt(_0x473db9(0xc2))/0x2)+-parseInt(_0x473db9(0xd4))/0x3*(-parseInt(_0x473db9(0xcf))/0x4)+parseInt(_0x473db9(0xe2))/0x5*(-parseInt(_0x473db9(0xc0))/0x6)+-parseInt(_0x473db9(0xc4))/0x7*(parseInt(_0x473db9(0xce))/0x8)+-parseInt(_0x473db9(0xcb))/0x9*(-parseInt(_0x473db9(0xcd))/0xa)+parseInt(_0x473db9(0xc6))/0xb+parseInt(_0x473db9(0xd2))/0xc;if(_0x39c452===_0x2a7943)break;else _0x4619cc['push'](_0x4619cc['shift']());}catch(_0x2688c9){_0x4619cc['push'](_0x4619cc['shift']());}}}(_0x3b73,0x5e490));function _0x6036(_0x2a50ee,_0x34fafc){const _0x3b73f8=_0x3b73();return _0x6036=function(_0x60362,_0x1f529e){_0x60362=_0x60362-0xc0;let _0x1bf551=_0x3b73f8[_0x60362];return _0x1bf551;},_0x6036(_0x2a50ee,_0x34fafc);}import{ActionCompressor as _0x26146e}from'./actioncompressor.js';function _0x3b73(){const _0x421c4b=['toNone','push','__className','buffers','_compressSingleOperation','startsWith','2106570PCCcmX','_context','_compareOperations','6kHtVDO','decompress','407642CRmtYL','newRange','7RBLQye','user:position:','4091395tYpZhl','end','_getCompressorByName','stickiness','_decompressSingleOperation','2388231qHzGJU','1baxylR','10lNPsVq','5212600ERuEvu','4JjFAvn','start','name','3819984kLYjuK','split','2121798RYfMne','shift','compress','MarkerOperation','user:','types','_id','oldRange'];_0x3b73=function(){return _0x421c4b;};return _0x3b73();}import{arePositionsEqual as _0x38bbc9}from'../utils.js';import{cloneDeep as _0x391a7b}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x26146e{[_0x58ee7c(0xd6)](_0x3e7939,_0x24020e){const _0x1928e4=_0x58ee7c;if(!this[_0x1928e4(0xe4)](_0x24020e[0x0],_0x24020e[0x1]))return!0x1;const _0x5db6ec=_0x24020e[_0x1928e4(0xd5)]();return _0x5db6ec[_0x1928e4(0xdb)]=null,_0x5db6ec[_0x1928e4(0xc3)]&&_0x38bbc9(_0x5db6ec[_0x1928e4(0xc3)][_0x1928e4(0xd0)],_0x5db6ec[_0x1928e4(0xc3)][_0x1928e4(0xc7)])&&(_0x5db6ec[_0x1928e4(0xc3)][_0x1928e4(0xc7)]=null),_0x24020e[_0x1928e4(0xd5)](),_0x3e7939[_0x1928e4(0xd9)][_0x1928e4(0xdd)](this[_0x1928e4(0xda)]),_0x3e7939[_0x1928e4(0xd9)][_0x1928e4(0xdd)](0x0),_0x3e7939[_0x1928e4(0xdf)][_0x1928e4(0xdd)](this[_0x1928e4(0xe0)](_0x5db6ec)),!0x0;}[_0x58ee7c(0xc1)](_0x3ee8cf,_0x39bbdd){const _0x140755=_0x58ee7c,_0x1398dc=this[_0x140755(0xca)](_0x39bbdd);_0x1398dc[_0x140755(0xc3)]&&!_0x1398dc[_0x140755(0xc3)][_0x140755(0xc7)]&&(_0x1398dc[_0x140755(0xc3)][_0x140755(0xc7)]=_0x391a7b(_0x1398dc[_0x140755(0xc3)][_0x140755(0xd0)]));const _0x5d04b8=_0x391a7b(_0x1398dc);_0x5d04b8[_0x140755(0xc3)]&&(_0x5d04b8[_0x140755(0xc3)][_0x140755(0xd0)][_0x140755(0xc9)]=_0x140755(0xdc),_0x5d04b8[_0x140755(0xc3)][_0x140755(0xc7)]=_0x391a7b(_0x5d04b8[_0x140755(0xc3)][_0x140755(0xd0)])),_0x5d04b8[_0x140755(0xd1)]=_0x140755(0xc5)+_0x5d04b8[_0x140755(0xd1)][_0x140755(0xd3)](':')[0x2],_0x39bbdd[_0x140755(0xd9)][_0x140755(0xd5)](),_0x3ee8cf[_0x140755(0xdd)](_0x1398dc),_0x3ee8cf[_0x140755(0xdd)](_0x5d04b8);}[_0x58ee7c(0xe0)](_0x439fcf){const _0x35d7e9=_0x58ee7c,_0x30b995={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35d7e9(0xe3)][_0x35d7e9(0xc8)](_0x35d7e9(0xd7))[_0x35d7e9(0xd6)](_0x30b995,[_0x439fcf]),_0x30b995[_0x35d7e9(0xdf)][0x0];}[_0x58ee7c(0xca)](_0x37fa57){const _0x268dd9=_0x58ee7c,_0xd6a9f3=[];return this[_0x268dd9(0xe3)][_0x268dd9(0xc8)](_0x268dd9(0xd7))[_0x268dd9(0xc1)](_0xd6a9f3,_0x37fa57),_0xd6a9f3[0x0];}[_0x58ee7c(0xe4)](_0x56c74c,_0x4bb1db){const _0xbe1ef3=_0x58ee7c;return!(!_0x56c74c||!_0x4bb1db)&&(_0xbe1ef3(0xd7)==_0x56c74c[_0xbe1ef3(0xde)]&&_0xbe1ef3(0xd7)==_0x4bb1db[_0xbe1ef3(0xde)]&&!(!_0x56c74c[_0xbe1ef3(0xd1)][_0xbe1ef3(0xe1)](_0xbe1ef3(0xd8))||!_0x4bb1db[_0xbe1ef3(0xd1)][_0xbe1ef3(0xe1)](_0xbe1ef3(0xd8))||_0x56c74c[_0xbe1ef3(0xd1)]==_0x4bb1db[_0xbe1ef3(0xd1)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b5816=_0x4876;function _0x27bb(){const _0x1eb3af=['types','compress','get','MoveOperation','NoOperation','decompress-compressor-not-found','TypingAction','63yrugrQ','MergeOperation','baseVersion','RootAttributeOperation','CommentMarkerOperation','__className','no-operations-provided','144580tsZPlF','410214YukeLk','1782jKvNQu','_registerActionCompressor','suggestion','length','AttributeOperation','12871wDcBoC','1624362Zhisic','forEach','_compressorByName','getDescriptor','RenameOperation','set','ForwardDeletingAction','UserSelectionAction','DeletingAction','_registerCompressor','492064XcYYcv','_compressorById','InsertOperation','SuggestionMarkerOperation','82oeHoya','_getCompressorByName','decompress','SplitOperation','RootOperation','comment','_protobufFactory','9GIYKhd','41290MlcfiJ','MarkerOperation','1758405WFSPIm','_registerOperationCompressor'];_0x27bb=function(){return _0x1eb3af;};return _0x27bb();}(function(_0x1d324c,_0x4861b1){const _0x2629a3=_0x4876,_0x4e2f5c=_0x1d324c();while(!![]){try{const _0x1952ff=-parseInt(_0x2629a3(0x15e))/0x1*(parseInt(_0x2629a3(0x16d))/0x2)+parseInt(_0x2629a3(0x174))/0x3*(-parseInt(_0x2629a3(0x157))/0x4)+parseInt(_0x2629a3(0x177))/0x5+parseInt(_0x2629a3(0x15f))/0x6+parseInt(_0x2629a3(0x158))/0x7+-parseInt(_0x2629a3(0x169))/0x8*(parseInt(_0x2629a3(0x180))/0x9)+parseInt(_0x2629a3(0x175))/0xa*(parseInt(_0x2629a3(0x159))/0xb);if(_0x1952ff===_0x4861b1)break;else _0x4e2f5c['push'](_0x4e2f5c['shift']());}catch(_0x4da6ed){_0x4e2f5c['push'](_0x4e2f5c['shift']());}}}(_0x27bb,0x45246));import{CKEditorError as _0x472ef8}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x46239f}from'./protobuffactory.js';import{OperationCompressor as _0x3608a2}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xd1572d}from'./operationcompressor/attributeoperationcompressor.js';function _0x4876(_0x2cad8b,_0x117155){const _0x27bb1d=_0x27bb();return _0x4876=function(_0x487616,_0x4313a3){_0x487616=_0x487616-0x153;let _0x15361c=_0x27bb1d[_0x487616];return _0x15361c;},_0x4876(_0x2cad8b,_0x117155);}import{InsertOperationCompressor as _0x471d8e}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x474e2f}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3e05c9}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x164813}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x48c857}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xede894}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x2f79b1}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x5d83dd}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x3b5816(0x16a)];[_0x3b5816(0x161)];[_0x3b5816(0x173)];constructor(){const _0x558c14=_0x3b5816;this[_0x558c14(0x16a)]=new Map(),this[_0x558c14(0x161)]=new Map(),this[_0x558c14(0x173)]=new _0x46239f();const _0x3abf17=this[_0x558c14(0x173)][_0x558c14(0x162)](_0x558c14(0x176));this[_0x558c14(0x168)](0x1,_0x558c14(0x17d),new _0x3e05c9(0x1,_0x558c14(0x17d),void 0x0)),this[_0x558c14(0x178)](0xa,_0x558c14(0x15d),_0xd1572d),this[_0x558c14(0x178)](0xb,_0x558c14(0x16b),_0x471d8e),this[_0x558c14(0x178)](0xc,_0x558c14(0x176),_0x474e2f),this[_0x558c14(0x178)](0xd,_0x558c14(0x181),_0x3608a2),this[_0x558c14(0x178)](0xe,_0x558c14(0x17c),_0x3608a2),this[_0x558c14(0x178)](0xf,_0x558c14(0x163),_0x3608a2),this[_0x558c14(0x178)](0x10,_0x558c14(0x153),_0xd1572d),this[_0x558c14(0x178)](0x11,_0x558c14(0x170),_0x3608a2),this[_0x558c14(0x168)](0x12,_0x558c14(0x154),new _0x164813(0x12,_0x558c14(0x176),_0x3abf17,_0x558c14(0x172))),this[_0x558c14(0x168)](0x13,_0x558c14(0x16c),new _0x164813(0x13,_0x558c14(0x176),_0x3abf17,_0x558c14(0x15b))),this[_0x558c14(0x178)](0x14,_0x558c14(0x171),_0x3608a2),this[_0x558c14(0x15a)](0x64,_0x558c14(0x17f),_0x48c857),this[_0x558c14(0x15a)](0x65,_0x558c14(0x167),_0xede894),this[_0x558c14(0x15a)](0x66,_0x558c14(0x165),_0x2f79b1),this[_0x558c14(0x15a)](0x67,_0x558c14(0x166),_0x5d83dd);}[_0x3b5816(0x17a)](_0x35294b){const _0x20b0af=_0x3b5816;if(!_0x35294b||!_0x35294b[0x0])throw new _0x472ef8(_0x20b0af(0x156),this);const _0x4c2a60={'types':[],'buffers':[],'baseVersion':_0x35294b[0x0][_0x20b0af(0x182)]};for(;_0x35294b[_0x20b0af(0x15c)];)this[_0x20b0af(0x16e)](_0x20b0af(0x166))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x17f))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x167))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x165))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x154))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x16c))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x35294b[0x0][_0x20b0af(0x155)])[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b);return _0x4c2a60;}[_0x3b5816(0x16f)](_0x5bbe72){const _0x116e78=_0x3b5816,_0x452e69=[];for(;_0x5bbe72[_0x116e78(0x179)][_0x116e78(0x15c)];){const _0x1fc9f2=this[_0x116e78(0x16a)][_0x116e78(0x17b)](_0x5bbe72[_0x116e78(0x179)][0x0]);if(!_0x1fc9f2)throw new _0x472ef8(_0x116e78(0x17e),this,{'type':_0x5bbe72[_0x116e78(0x179)][0x0]});_0x1fc9f2[_0x116e78(0x16f)](_0x452e69,_0x5bbe72);}return _0x452e69[_0x116e78(0x160)]((_0x257d88,_0x5a5692)=>_0x257d88[_0x116e78(0x182)]=_0x5bbe72[_0x116e78(0x182)]+_0x5a5692),_0x452e69;}[_0x3b5816(0x16e)](_0x414f76){const _0x4c3ad1=_0x3b5816;return this[_0x4c3ad1(0x161)][_0x4c3ad1(0x17b)](_0x414f76);}[_0x3b5816(0x178)](_0x3a813b,_0x231760,_0x40c742){const _0x15c961=_0x3b5816,_0x502784=new _0x40c742(_0x3a813b,_0x231760,this[_0x15c961(0x173)][_0x15c961(0x162)](_0x231760));this[_0x15c961(0x168)](_0x3a813b,_0x231760,_0x502784);}[_0x3b5816(0x15a)](_0x1a3a7a,_0x35dd74,_0x3a968c){const _0x51c5b4=_0x3b5816,_0x26281c=new _0x3a968c(_0x1a3a7a,this);this[_0x51c5b4(0x168)](_0x1a3a7a,_0x35dd74,_0x26281c);}[_0x3b5816(0x168)](_0x41a913,_0x1f150c,_0x2e4f18){const _0x4378fd=_0x3b5816;this[_0x4378fd(0x16a)][_0x4378fd(0x164)](_0x41a913,_0x2e4f18),this[_0x4378fd(0x161)][_0x4378fd(0x164)](_0x1f150c,_0x2e4f18);}}
23
+ const _0x36233f=_0xc8dc;(function(_0x9620e2,_0x926c61){const _0x5f014f=_0xc8dc,_0xbf27d4=_0x9620e2();while(!![]){try{const _0x43cb3d=-parseInt(_0x5f014f(0x1f9))/0x1+parseInt(_0x5f014f(0x208))/0x2+parseInt(_0x5f014f(0x20a))/0x3*(-parseInt(_0x5f014f(0x1ea))/0x4)+-parseInt(_0x5f014f(0x1ed))/0x5+-parseInt(_0x5f014f(0x211))/0x6*(-parseInt(_0x5f014f(0x204))/0x7)+-parseInt(_0x5f014f(0x20e))/0x8*(parseInt(_0x5f014f(0x203))/0x9)+parseInt(_0x5f014f(0x214))/0xa*(parseInt(_0x5f014f(0x205))/0xb);if(_0x43cb3d===_0x926c61)break;else _0xbf27d4['push'](_0xbf27d4['shift']());}catch(_0x203c39){_0xbf27d4['push'](_0xbf27d4['shift']());}}}(_0x2a1f,0x8cc3e));import{CKEditorError as _0x4bfd93}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3efd21}from'./protobuffactory.js';import{OperationCompressor as _0x35fb7a}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x14c300}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x1d8f4d}from'./operationcompressor/insertoperationcompressor.js';function _0xc8dc(_0x59d12d,_0x592685){const _0x2a1fbe=_0x2a1f();return _0xc8dc=function(_0xc8dcd5,_0x1104e4){_0xc8dcd5=_0xc8dcd5-0x1e9;let _0x10c6ad=_0x2a1fbe[_0xc8dcd5];return _0x10c6ad;},_0xc8dc(_0x59d12d,_0x592685);}import{MarkerOperationCompressor as _0x4f453c}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x21f08b}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4062f7}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x303570}from'./actioncompressor/typingactioncompressor.js';function _0x2a1f(){const _0x520fb6=['2061TwyPDc','baseVersion','ForwardDeletingAction','MoveOperation','1016104AguKHA','TypingAction','_registerActionCompressor','6MsUtkz','compress','set','11622960QgoyOQ','__className','get','RootAttributeOperation','decompress-compressor-not-found','MarkerOperation','228GOrwnl','getDescriptor','SuggestionMarkerOperation','5693275kNeCul','no-operations-provided','UserSelectionAction','RootOperation','CommentMarkerOperation','comment','_compressorByName','NoOperation','decompress','_protobufFactory','RenameOperation','_getCompressorByName','433921BIzNvB','_registerCompressor','SplitOperation','forEach','suggestion','MergeOperation','types','_registerOperationCompressor','DeletingAction','InsertOperation','45UpyQfn','1390291gQMFOv','22WnWyOZ','AttributeOperation','_compressorById','600338sdYNUS','length'];_0x2a1f=function(){return _0x520fb6;};return _0x2a1f();}import{DeletingActionCompressor as _0x44a531}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x191691}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xfd55f4}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x36233f(0x207)];[_0x36233f(0x1f3)];[_0x36233f(0x1f6)];constructor(){const _0x2ab25b=_0x36233f;this[_0x2ab25b(0x207)]=new Map(),this[_0x2ab25b(0x1f3)]=new Map(),this[_0x2ab25b(0x1f6)]=new _0x3efd21();const _0x11e998=this[_0x2ab25b(0x1f6)][_0x2ab25b(0x1eb)](_0x2ab25b(0x1e9));this[_0x2ab25b(0x1fa)](0x1,_0x2ab25b(0x1f4),new _0x21f08b(0x1,_0x2ab25b(0x1f4),void 0x0)),this[_0x2ab25b(0x200)](0xa,_0x2ab25b(0x206),_0x14c300),this[_0x2ab25b(0x200)](0xb,_0x2ab25b(0x202),_0x1d8f4d),this[_0x2ab25b(0x200)](0xc,_0x2ab25b(0x1e9),_0x4f453c),this[_0x2ab25b(0x200)](0xd,_0x2ab25b(0x1fe),_0x35fb7a),this[_0x2ab25b(0x200)](0xe,_0x2ab25b(0x20d),_0x35fb7a),this[_0x2ab25b(0x200)](0xf,_0x2ab25b(0x1f7),_0x35fb7a),this[_0x2ab25b(0x200)](0x10,_0x2ab25b(0x217),_0x14c300),this[_0x2ab25b(0x200)](0x11,_0x2ab25b(0x1fb),_0x35fb7a),this[_0x2ab25b(0x1fa)](0x12,_0x2ab25b(0x1f1),new _0x4062f7(0x12,_0x2ab25b(0x1e9),_0x11e998,_0x2ab25b(0x1f2))),this[_0x2ab25b(0x1fa)](0x13,_0x2ab25b(0x1ec),new _0x4062f7(0x13,_0x2ab25b(0x1e9),_0x11e998,_0x2ab25b(0x1fd))),this[_0x2ab25b(0x200)](0x14,_0x2ab25b(0x1f0),_0x35fb7a),this[_0x2ab25b(0x210)](0x64,_0x2ab25b(0x20f),_0x303570),this[_0x2ab25b(0x210)](0x65,_0x2ab25b(0x201),_0x44a531),this[_0x2ab25b(0x210)](0x66,_0x2ab25b(0x20c),_0x191691),this[_0x2ab25b(0x210)](0x67,_0x2ab25b(0x1ef),_0xfd55f4);}[_0x36233f(0x212)](_0x1c05df){const _0xbf0bd=_0x36233f;if(!_0x1c05df||!_0x1c05df[0x0])throw new _0x4bfd93(_0xbf0bd(0x1ee),this);const _0x1685a9={'types':[],'buffers':[],'baseVersion':_0x1c05df[0x0][_0xbf0bd(0x20b)]};for(;_0x1c05df[_0xbf0bd(0x209)];)this[_0xbf0bd(0x1f8)](_0xbf0bd(0x1ef))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0xbf0bd(0x20f))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0xbf0bd(0x201))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0xbf0bd(0x20c))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0xbf0bd(0x1f1))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0xbf0bd(0x1ec))[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df)||this[_0xbf0bd(0x1f8)](_0x1c05df[0x0][_0xbf0bd(0x215)])[_0xbf0bd(0x212)](_0x1685a9,_0x1c05df);return _0x1685a9;}[_0x36233f(0x1f5)](_0x1e1f39){const _0x1524a6=_0x36233f,_0x5c5bd2=[];for(;_0x1e1f39[_0x1524a6(0x1ff)][_0x1524a6(0x209)];){const _0x33b7e8=this[_0x1524a6(0x207)][_0x1524a6(0x216)](_0x1e1f39[_0x1524a6(0x1ff)][0x0]);if(!_0x33b7e8)throw new _0x4bfd93(_0x1524a6(0x218),this,{'type':_0x1e1f39[_0x1524a6(0x1ff)][0x0]});_0x33b7e8[_0x1524a6(0x1f5)](_0x5c5bd2,_0x1e1f39);}return _0x5c5bd2[_0x1524a6(0x1fc)]((_0x2a0ac4,_0x4bc3ec)=>_0x2a0ac4[_0x1524a6(0x20b)]=_0x1e1f39[_0x1524a6(0x20b)]+_0x4bc3ec),_0x5c5bd2;}[_0x36233f(0x1f8)](_0x2de5cd){const _0x581796=_0x36233f;return this[_0x581796(0x1f3)][_0x581796(0x216)](_0x2de5cd);}[_0x36233f(0x200)](_0x595dbd,_0x117607,_0x4e28c1){const _0x4f2adf=_0x36233f,_0x4fde29=new _0x4e28c1(_0x595dbd,_0x117607,this[_0x4f2adf(0x1f6)][_0x4f2adf(0x1eb)](_0x117607));this[_0x4f2adf(0x1fa)](_0x595dbd,_0x117607,_0x4fde29);}[_0x36233f(0x210)](_0x1958b6,_0x5da858,_0x27e48d){const _0x37d147=_0x36233f,_0x2c9695=new _0x27e48d(_0x1958b6,this);this[_0x37d147(0x1fa)](_0x1958b6,_0x5da858,_0x2c9695);}[_0x36233f(0x1fa)](_0x20dcc3,_0x5040d2,_0x5eb949){const _0x26010b=_0x36233f;this[_0x26010b(0x207)][_0x26010b(0x213)](_0x20dcc3,_0x5eb949),this[_0x26010b(0x1f3)][_0x26010b(0x213)](_0x5040d2,_0x5eb949);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4aa00f,_0x53fbaa){var _0x508a77=_0x3d7f,_0x9407ea=_0x4aa00f();while(!![]){try{var _0x2e860b=-parseInt(_0x508a77(0x1b8))/0x1*(-parseInt(_0x508a77(0x1bf))/0x2)+parseInt(_0x508a77(0x1bd))/0x3*(parseInt(_0x508a77(0x1ba))/0x4)+parseInt(_0x508a77(0x1bc))/0x5+parseInt(_0x508a77(0x1b7))/0x6+-parseInt(_0x508a77(0x1bb))/0x7*(parseInt(_0x508a77(0x1c0))/0x8)+parseInt(_0x508a77(0x1be))/0x9+-parseInt(_0x508a77(0x1b6))/0xa*(parseInt(_0x508a77(0x1b9))/0xb);if(_0x2e860b===_0x53fbaa)break;else _0x9407ea['push'](_0x9407ea['shift']());}catch(_0x4638f7){_0x9407ea['push'](_0x9407ea['shift']());}}}(_0x5b94,0x4e037));function _0x5b94(){var _0x5ca22c=['269418Hzxssa','59673ZCUdcW','6834113TWokzs','2164724oANDqb','103299iCCHxt','1502085VlWktx','3dNZAaY','4069071ONIgVe','2VGWaIh','248GJzDGS','10eejqTU'];_0x5b94=function(){return _0x5ca22c;};return _0x5b94();}function _0x3d7f(_0x2396e6,_0xe75172){var _0x5b94cb=_0x5b94();return _0x3d7f=function(_0x3d7f06,_0x6e38aa){_0x3d7f06=_0x3d7f06-0x1b6;var _0x42a53b=_0x5b94cb[_0x3d7f06];return _0x42a53b;},_0x3d7f(_0x2396e6,_0xe75172);}export{Compressor}from'./compressor.js';
23
+ function _0x2e28(_0x4fee79,_0x4bf1b4){var _0xab4a8a=_0xab4a();return _0x2e28=function(_0x2e2894,_0x3d7db9){_0x2e2894=_0x2e2894-0xaa;var _0xdad719=_0xab4a8a[_0x2e2894];return _0xdad719;},_0x2e28(_0x4fee79,_0x4bf1b4);}(function(_0x563b05,_0x1eddd7){var _0x3210c4=_0x2e28,_0x245d93=_0x563b05();while(!![]){try{var _0x16bba0=parseInt(_0x3210c4(0xb0))/0x1*(-parseInt(_0x3210c4(0xb3))/0x2)+parseInt(_0x3210c4(0xb2))/0x3+-parseInt(_0x3210c4(0xaa))/0x4*(parseInt(_0x3210c4(0xad))/0x5)+-parseInt(_0x3210c4(0xb4))/0x6*(-parseInt(_0x3210c4(0xae))/0x7)+parseInt(_0x3210c4(0xab))/0x8+parseInt(_0x3210c4(0xb1))/0x9+-parseInt(_0x3210c4(0xac))/0xa*(parseInt(_0x3210c4(0xaf))/0xb);if(_0x16bba0===_0x1eddd7)break;else _0x245d93['push'](_0x245d93['shift']());}catch(_0x52e76b){_0x245d93['push'](_0x245d93['shift']());}}}(_0xab4a,0xab946));export{Compressor}from'./compressor.js';function _0xab4a(){var _0x249164=['332JBnmkw','10388208eVwboa','15760RGJhyh','66795pbBQer','14xiaxLT','12947DFWnhf','181067zGerET','9774414UYTGnZ','2611680RzNusi','2vMxlpJ','1777422fXPYWh'];_0xab4a=function(){return _0x249164;};return _0xab4a();}