@ckeditor/ckeditor5-operations-compressor 46.1.0 → 46.1.1-alpha.1

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 _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)];}}
23
+ const _0xccd0f5=_0x3ffc;(function(_0x34d4eb,_0x3124eb){const _0x426884=_0x3ffc,_0x42a8db=_0x34d4eb();while(!![]){try{const _0x1a4f07=parseInt(_0x426884(0x122))/0x1*(parseInt(_0x426884(0x114))/0x2)+-parseInt(_0x426884(0x120))/0x3+parseInt(_0x426884(0x11d))/0x4*(-parseInt(_0x426884(0x115))/0x5)+parseInt(_0x426884(0x112))/0x6*(parseInt(_0x426884(0x11e))/0x7)+-parseInt(_0x426884(0x12b))/0x8*(-parseInt(_0x426884(0x12a))/0x9)+-parseInt(_0x426884(0x12c))/0xa+-parseInt(_0x426884(0x12e))/0xb;if(_0x1a4f07===_0x3124eb)break;else _0x42a8db['push'](_0x42a8db['shift']());}catch(_0x4c128a){_0x42a8db['push'](_0x42a8db['shift']());}}}(_0x44af,0x2b2c6));import{ActionCompressor as _0x3ff0e3}from'./actioncompressor.js';function _0x3ffc(_0x5995fc,_0x553134){const _0x44afdc=_0x44af();return _0x3ffc=function(_0x3ffc52,_0x529f93){_0x3ffc52=_0x3ffc52-0x112;let _0x5bdc69=_0x44afdc[_0x3ffc52];return _0x5bdc69;},_0x3ffc(_0x5995fc,_0x553134);}import{arePositionsEqual as _0x5a4475,getPositionShiftedBy as _0x9562f1}from'../utils.js';import{cloneDeep as _0x23be15}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x3ff0e3{[_0xccd0f5(0x121)](_0x76648,_0x570d5b){const _0x5cac57=_0xccd0f5;return _0x570d5b[_0x5cac57(0x119)]++,_0x570d5b[_0x5cac57(0x123)]=_0x23be15(_0x76648[_0x5cac57(0x123)]),_0x570d5b;}[_0xccd0f5(0x11f)](_0x2b7821){const _0x53146b=_0xccd0f5,_0x5a673f=_0x23be15(_0x2b7821);return _0x2b7821[_0x53146b(0x119)]--,_0x5a673f[_0x53146b(0x119)]=0x1,_0x5a673f[_0x53146b(0x123)]=_0x9562f1(_0x5a673f[_0x53146b(0x123)],_0x2b7821[_0x53146b(0x119)]),_0x5a673f;}[_0xccd0f5(0x129)](_0x2cd32e,_0x27c4b1){const _0x31098a=_0xccd0f5;return!(!this[_0x31098a(0x12f)](_0x2cd32e)||!this[_0x31098a(0x12f)](_0x27c4b1))&&(_0x5a4475(_0x9562f1(_0x2cd32e[_0x31098a(0x123)],-0x1),_0x27c4b1[_0x31098a(0x123)])&&_0x5a4475(_0x2cd32e[_0x31098a(0x127)],_0x27c4b1[_0x31098a(0x127)]));}[_0xccd0f5(0x118)](_0x44d498){const _0x506df5=_0xccd0f5,_0x6068c4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x506df5(0x128)][_0x506df5(0x11b)](_0x506df5(0x12d))[_0x506df5(0x125)](_0x6068c4,[_0x44d498]),_0x6068c4[_0x506df5(0x11c)][0x0];}[_0xccd0f5(0x126)](_0x570275){const _0x1e8cd9=_0xccd0f5,_0x3841ab=[];return this[_0x1e8cd9(0x128)][_0x1e8cd9(0x11b)](_0x1e8cd9(0x12d))[_0x1e8cd9(0x117)](_0x3841ab,_0x570275),_0x3841ab[0x0];}[_0xccd0f5(0x12f)](_0x4a5ebd){const _0x209f4a=_0xccd0f5;return _0x209f4a(0x12d)==_0x4a5ebd[_0x209f4a(0x116)]&&_0x209f4a(0x124)==_0x4a5ebd[_0x209f4a(0x127)][_0x209f4a(0x11a)]&&0x1==_0x4a5ebd[_0x209f4a(0x119)]&&!_0x4a5ebd[_0x209f4a(0x113)];}}function _0x44af(){const _0x4c4a40=['_getCompressorByName','buffers','12808RuykOw','2168467ZkiQhR','_splitCurrent','238374tZkxIG','_combineNext','1lbvGHl','sourcePosition','$graveyard','compress','_decompressSingleOperation','targetPosition','_context','_compareOperations','18tVDlNE','912480CUBfRH','601780NHrkGM','MoveOperation','2805341AJDOfR','_checkOperation','6BIVHYN','wasUndone','105632ZOzxMp','30thdcDb','__className','decompress','_compressSingleOperation','howMany','root'];_0x44af=function(){return _0x4c4a40;};return _0x44af();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ const _0x81633a=_0x9a5c;(function(_0x5ce968,_0x56b94a){const _0x3396cb=_0x9a5c,_0x51b0fe=_0x5ce968();while(!![]){try{const _0x4b3b65=-parseInt(_0x3396cb(0x1d5))/0x1*(parseInt(_0x3396cb(0x1ef))/0x2)+parseInt(_0x3396cb(0x1ec))/0x3*(-parseInt(_0x3396cb(0x1d9))/0x4)+parseInt(_0x3396cb(0x1df))/0x5+parseInt(_0x3396cb(0x1ea))/0x6+-parseInt(_0x3396cb(0x1e7))/0x7+-parseInt(_0x3396cb(0x1e2))/0x8*(-parseInt(_0x3396cb(0x1e8))/0x9)+parseInt(_0x3396cb(0x1d7))/0xa;if(_0x4b3b65===_0x56b94a)break;else _0x51b0fe['push'](_0x51b0fe['shift']());}catch(_0x410cb6){_0x51b0fe['push'](_0x51b0fe['shift']());}}}(_0x5187,0xabc62));import{ActionCompressor as _0x5f25e8}from'./actioncompressor.js';function _0x9a5c(_0x3d110d,_0xa41619){const _0x5187b6=_0x5187();return _0x9a5c=function(_0x9a5c0e,_0x18a954){_0x9a5c0e=_0x9a5c0e-0x1d5;let _0x348b12=_0x5187b6[_0x9a5c0e];return _0x348b12;},_0x9a5c(_0x3d110d,_0xa41619);}function _0x5187(){const _0xe00028=['1359DaIPnb','root','2567592Ymxboc','_compareOperations','315VXpbpN','buffers','$graveyard','199878muAftL','howMany','_splitCurrent','1nWcBev','MoveOperation','1741680BJExRU','_checkOperation','36252udFctt','_combineNext','_decompressSingleOperation','_context','_getCompressorByName','targetPosition','30065bSdIQE','decompress','wasUndone','72112JtFzkv','sourcePosition','__className','_compressSingleOperation','compress','1498609PzeKWD'];_0x5187=function(){return _0xe00028;};return _0x5187();}import{arePositionsEqual as _0x12e32e}from'../utils.js';import{cloneDeep as _0x2e73f9}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x5f25e8{[_0x81633a(0x1da)](_0x5e2bb1,_0x28f093){const _0x192670=_0x81633a;return _0x28f093[_0x192670(0x1f0)]++,_0x28f093;}[_0x81633a(0x1f1)](_0x39166f){const _0x196aaf=_0x81633a,_0x455ff0=_0x2e73f9(_0x39166f);return _0x455ff0[_0x196aaf(0x1f0)]=0x1,_0x39166f[_0x196aaf(0x1f0)]--,_0x455ff0;}[_0x81633a(0x1eb)](_0x1989b4,_0x33f6f0){const _0x4a46c4=_0x81633a;return!(!this[_0x4a46c4(0x1d8)](_0x1989b4)||!this[_0x4a46c4(0x1d8)](_0x33f6f0))&&(_0x12e32e(_0x1989b4[_0x4a46c4(0x1e3)],_0x33f6f0[_0x4a46c4(0x1e3)])&&_0x12e32e(_0x1989b4[_0x4a46c4(0x1de)],_0x33f6f0[_0x4a46c4(0x1de)]));}[_0x81633a(0x1e5)](_0xd04e6b){const _0xf94b27=_0x81633a,_0xd92a0e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xf94b27(0x1dc)][_0xf94b27(0x1dd)](_0xf94b27(0x1d6))[_0xf94b27(0x1e6)](_0xd92a0e,[_0xd04e6b]),_0xd92a0e[_0xf94b27(0x1ed)][0x0];}[_0x81633a(0x1db)](_0x464b3b){const _0x203eac=_0x81633a,_0x2eedaa=[];return this[_0x203eac(0x1dc)][_0x203eac(0x1dd)](_0x203eac(0x1d6))[_0x203eac(0x1e0)](_0x2eedaa,_0x464b3b),_0x2eedaa[0x0];}[_0x81633a(0x1d8)](_0x26ed55){const _0x2d8c04=_0x81633a;return _0x2d8c04(0x1d6)==_0x26ed55[_0x2d8c04(0x1e4)]&&_0x2d8c04(0x1ee)==_0x26ed55[_0x2d8c04(0x1de)][_0x2d8c04(0x1e9)]&&0x1==_0x26ed55[_0x2d8c04(0x1f0)]&&!_0x26ed55[_0x2d8c04(0x1e1)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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]);}}
23
+ const _0xc904e3=_0x2922;(function(_0x42dd25,_0x1e78e1){const _0x5372e9=_0x2922,_0x214e0b=_0x42dd25();while(!![]){try{const _0x3d857e=-parseInt(_0x5372e9(0xb4))/0x1+parseInt(_0x5372e9(0xb0))/0x2*(-parseInt(_0x5372e9(0xb9))/0x3)+parseInt(_0x5372e9(0xba))/0x4*(parseInt(_0x5372e9(0xbb))/0x5)+-parseInt(_0x5372e9(0xbe))/0x6*(-parseInt(_0x5372e9(0xa7))/0x7)+parseInt(_0x5372e9(0xb5))/0x8+parseInt(_0x5372e9(0xb3))/0x9+-parseInt(_0x5372e9(0xa6))/0xa;if(_0x3d857e===_0x1e78e1)break;else _0x214e0b['push'](_0x214e0b['shift']());}catch(_0x394938){_0x214e0b['push'](_0x214e0b['shift']());}}}(_0x4737,0x6ef81));function _0x4737(){const _0x3b00ca=['_compareAttributes','_getCompressorByName','length','from','compress','_splitCurrent','_context','80OAcBpw','nodes','_decompressSingleOperation','1306908tXoBVD','348180nlKOGm','5015352DpRXas','_compressSingleOperation','value','every','49656apwRty','70744QAdZue','230sErjhN','__className','data','6lGoSle','keys','wasUndone','attributes','next','position','buffers','InsertOperation','iterator','_combineNext','substr','decompress','_compareOperations','9697110KDzFlm','5941691UIWIBv','_checkOperation'];_0x4737=function(){return _0x3b00ca;};return _0x4737();}import{ActionCompressor as _0x4732f6}from'./actioncompressor.js';import{arePositionsEqual as _0x154b1f,getPositionShiftedBy as _0x2bf678}from'../utils.js';function _0x2922(_0x2cd0a1,_0xb6e0b0){const _0x473713=_0x4737();return _0x2922=function(_0x29224e,_0x48011d){_0x29224e=_0x29224e-0x9a;let _0x317b8e=_0x473713[_0x29224e];return _0x317b8e;},_0x2922(_0x2cd0a1,_0xb6e0b0);}import{cloneDeep as _0x428dc6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x4732f6{[_0xc904e3(0xa2)](_0x5709cb,_0x16d254){const _0x5034fe=_0xc904e3;return _0x16d254[_0x5034fe(0xb1)][0x0][_0x5034fe(0xbd)]+=_0x5709cb[_0x5034fe(0xb1)][0x0][_0x5034fe(0xbd)],_0x16d254;}[_0xc904e3(0xae)](_0x3eba8a){const _0x4154a8=_0xc904e3,_0x2775ab=_0x428dc6(_0x3eba8a),_0x2121c4=_0x2775ab[_0x4154a8(0xb1)][0x0],_0x49b096=_0x3eba8a[_0x4154a8(0xb1)][0x0],_0x3f49b3=_0x49b096[_0x4154a8(0xbd)][Symbol[_0x4154a8(0xa1)]]()[_0x4154a8(0x9d)]()[_0x4154a8(0xb7)],_0xdfbc4e=_0x3f49b3[_0x4154a8(0xab)];return _0x2121c4[_0x4154a8(0xbd)]=_0x3f49b3,_0x49b096[_0x4154a8(0xbd)]=_0x49b096[_0x4154a8(0xbd)][_0x4154a8(0xa3)](_0xdfbc4e),_0x3eba8a[_0x4154a8(0x9e)]=_0x2bf678(_0x3eba8a[_0x4154a8(0x9e)],_0xdfbc4e),_0x2775ab;}[_0xc904e3(0xa5)](_0x35804a,_0x139246){const _0x1bb285=_0xc904e3;if(this[_0x1bb285(0xa8)](_0x35804a)&&this[_0x1bb285(0xa8)](_0x139246)){const _0x4460f6=_0x35804a[_0x1bb285(0xb1)][0x0][_0x1bb285(0xbd)][_0x1bb285(0xab)],_0x2b5c5e=_0x154b1f(_0x2bf678(_0x35804a[_0x1bb285(0x9e)],_0x4460f6),_0x139246[_0x1bb285(0x9e)]),_0x1625a8=_0x35804a[_0x1bb285(0xb1)][0x0],_0x54593e=_0x139246[_0x1bb285(0xb1)][0x0];return _0x2b5c5e&&this[_0x1bb285(0xa9)](_0x1625a8,_0x54593e);}return!0x1;}[_0xc904e3(0xb6)](_0x7fb942){const _0x173191=_0xc904e3,_0x1af161={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x173191(0xaf)][_0x173191(0xaa)](_0x173191(0xa0))[_0x173191(0xad)](_0x1af161,[_0x7fb942]),_0x1af161[_0x173191(0x9f)][0x0];}[_0xc904e3(0xb2)](_0x942d31){const _0x36adcd=_0xc904e3,_0x49b265=[];return this[_0x36adcd(0xaf)][_0x36adcd(0xaa)](_0x36adcd(0xa0))[_0x36adcd(0xa4)](_0x49b265,_0x942d31),_0x49b265[0x0];}[_0xc904e3(0xa8)](_0x3b1ee7){const _0x58e0d2=_0xc904e3;return _0x58e0d2(0xa0)==_0x3b1ee7[_0x58e0d2(0xbc)]&&0x1==_0x3b1ee7[_0x58e0d2(0xb1)][_0x58e0d2(0xab)]&&_0x3b1ee7[_0x58e0d2(0xb1)][0x0][_0x58e0d2(0xbd)]&&!_0x3b1ee7[_0x58e0d2(0x9b)]&&0x1==Array[_0x58e0d2(0xac)](_0x3b1ee7[_0x58e0d2(0xb1)][0x0][_0x58e0d2(0xbd)])[_0x58e0d2(0xab)];}[_0xc904e3(0xa9)](_0x2a0132,_0x320e1b){const _0x34c015=_0xc904e3,_0x4069ec=Object[_0x34c015(0x9a)](_0x2a0132[_0x34c015(0x9c)]||{}),_0x1f1d36=Object[_0x34c015(0x9a)](_0x320e1b[_0x34c015(0x9c)]||{});return _0x4069ec[_0x34c015(0xab)]===_0x1f1d36[_0x34c015(0xab)]&&_0x4069ec[_0x34c015(0xb8)](_0x18dff1=>_0x320e1b[_0x34c015(0x9c)][_0x18dff1]&&_0x320e1b[_0x34c015(0x9c)][_0x18dff1]===_0x2a0132[_0x34c015(0x9c)][_0x18dff1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]));}}
23
+ const _0x5e0971=_0x36b3;(function(_0x57c34d,_0x26515f){const _0xead98f=_0x36b3,_0x56ad57=_0x57c34d();while(!![]){try{const _0x44df2f=parseInt(_0xead98f(0x109))/0x1+-parseInt(_0xead98f(0x10b))/0x2+parseInt(_0xead98f(0x104))/0x3+parseInt(_0xead98f(0x111))/0x4*(-parseInt(_0xead98f(0xfe))/0x5)+parseInt(_0xead98f(0x105))/0x6*(-parseInt(_0xead98f(0xfa))/0x7)+-parseInt(_0xead98f(0xf4))/0x8*(parseInt(_0xead98f(0x103))/0x9)+parseInt(_0xead98f(0xf3))/0xa;if(_0x44df2f===_0x26515f)break;else _0x56ad57['push'](_0x56ad57['shift']());}catch(_0x14f9fc){_0x56ad57['push'](_0x56ad57['shift']());}}}(_0x54f9,0x7ddfb));function _0x36b3(_0x5dc05a,_0x4c93d1){const _0x54f984=_0x54f9();return _0x36b3=function(_0x36b328,_0x24efc0){_0x36b328=_0x36b328-0xef;let _0x45188d=_0x54f984[_0x36b328];return _0x45188d;},_0x36b3(_0x5dc05a,_0x4c93d1);}import{ActionCompressor as _0xe6ba64}from'./actioncompressor.js';import{arePositionsEqual as _0xb5771a}from'../utils.js';function _0x54f9(){const _0x2199c3=['start','oldRange','split','5424280ycuufx','286024XABlQA','shift','_decompressSingleOperation','_id','user:','push','7bKIECr','name','startsWith','types','5pKjsPQ','compress','toNone','_compressSingleOperation','newRange','45ruvqfD','2311638VQJsjb','2934972lXRvRv','end','stickiness','_context','725171oVAeik','buffers','898632mZWFLI','_getCompressorByName','decompress','_compareOperations','user:position:','MarkerOperation','1621292kxGuSq','__className'];_0x54f9=function(){return _0x2199c3;};return _0x54f9();}import{cloneDeep as _0x1dd0ee}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xe6ba64{[_0x5e0971(0xff)](_0x3e13f4,_0x4231c1){const _0x598dda=_0x5e0971;if(!this[_0x598dda(0x10e)](_0x4231c1[0x0],_0x4231c1[0x1]))return!0x1;const _0x3c99f4=_0x4231c1[_0x598dda(0xf5)]();return _0x3c99f4[_0x598dda(0xf1)]=null,_0x3c99f4[_0x598dda(0x102)]&&_0xb5771a(_0x3c99f4[_0x598dda(0x102)][_0x598dda(0xf0)],_0x3c99f4[_0x598dda(0x102)][_0x598dda(0x106)])&&(_0x3c99f4[_0x598dda(0x102)][_0x598dda(0x106)]=null),_0x4231c1[_0x598dda(0xf5)](),_0x3e13f4[_0x598dda(0xfd)][_0x598dda(0xf9)](this[_0x598dda(0xf7)]),_0x3e13f4[_0x598dda(0xfd)][_0x598dda(0xf9)](0x0),_0x3e13f4[_0x598dda(0x10a)][_0x598dda(0xf9)](this[_0x598dda(0x101)](_0x3c99f4)),!0x0;}[_0x5e0971(0x10d)](_0x10b77f,_0x57f4a1){const _0x1d1c8d=_0x5e0971,_0x8c1655=this[_0x1d1c8d(0xf6)](_0x57f4a1);_0x8c1655[_0x1d1c8d(0x102)]&&!_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]&&(_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]=_0x1dd0ee(_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)]));const _0x40c0d0=_0x1dd0ee(_0x8c1655);_0x40c0d0[_0x1d1c8d(0x102)]&&(_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)][_0x1d1c8d(0x107)]=_0x1d1c8d(0x100),_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]=_0x1dd0ee(_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)])),_0x40c0d0[_0x1d1c8d(0xfb)]=_0x1d1c8d(0x10f)+_0x40c0d0[_0x1d1c8d(0xfb)][_0x1d1c8d(0xf2)](':')[0x2],_0x57f4a1[_0x1d1c8d(0xfd)][_0x1d1c8d(0xf5)](),_0x10b77f[_0x1d1c8d(0xf9)](_0x8c1655),_0x10b77f[_0x1d1c8d(0xf9)](_0x40c0d0);}[_0x5e0971(0x101)](_0x10bf88){const _0x3aff00=_0x5e0971,_0x5e50dd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3aff00(0x108)][_0x3aff00(0x10c)](_0x3aff00(0x110))[_0x3aff00(0xff)](_0x5e50dd,[_0x10bf88]),_0x5e50dd[_0x3aff00(0x10a)][0x0];}[_0x5e0971(0xf6)](_0x31e045){const _0x4fe45d=_0x5e0971,_0x456a63=[];return this[_0x4fe45d(0x108)][_0x4fe45d(0x10c)](_0x4fe45d(0x110))[_0x4fe45d(0x10d)](_0x456a63,_0x31e045),_0x456a63[0x0];}[_0x5e0971(0x10e)](_0x1c7538,_0x5eb7ac){const _0x4ca128=_0x5e0971;return!(!_0x1c7538||!_0x5eb7ac)&&(_0x4ca128(0x110)==_0x1c7538[_0x4ca128(0xef)]&&_0x4ca128(0x110)==_0x5eb7ac[_0x4ca128(0xef)]&&!(!_0x1c7538[_0x4ca128(0xfb)][_0x4ca128(0xfc)](_0x4ca128(0xf8))||!_0x5eb7ac[_0x4ca128(0xfb)][_0x4ca128(0xfc)](_0x4ca128(0xf8))||_0x1c7538[_0x4ca128(0xfb)]==_0x5eb7ac[_0x4ca128(0xfb)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ const _0x2e2df8=_0x3472;(function(_0x1a8dd3,_0x374194){const _0x13c085=_0x3472,_0x5635eb=_0x1a8dd3();while(!![]){try{const _0x30a811=parseInt(_0x13c085(0xcb))/0x1*(-parseInt(_0x13c085(0xa8))/0x2)+-parseInt(_0x13c085(0xbb))/0x3+-parseInt(_0x13c085(0xb7))/0x4+-parseInt(_0x13c085(0xcf))/0x5*(parseInt(_0x13c085(0xc6))/0x6)+parseInt(_0x13c085(0xad))/0x7*(-parseInt(_0x13c085(0xc9))/0x8)+-parseInt(_0x13c085(0xa7))/0x9*(-parseInt(_0x13c085(0xd4))/0xa)+parseInt(_0x13c085(0xc4))/0xb;if(_0x30a811===_0x374194)break;else _0x5635eb['push'](_0x5635eb['shift']());}catch(_0x219eb2){_0x5635eb['push'](_0x5635eb['shift']());}}}(_0x5eae,0x3d95d));import{CKEditorError as _0x45cf90}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x1e8cb9}from'./protobuffactory.js';import{OperationCompressor as _0x35ca0c}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x352e19}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xce5bf}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x474b3a}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x27a985}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x190926}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x2f2af5}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2d9aa8}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x23ee28}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x30e39e}from'./actioncompressor/userselectionactioncompressor.js';function _0x3472(_0x2ba4b6,_0xa484b0){const _0x5eae2f=_0x5eae();return _0x3472=function(_0x347235,_0xc3632e){_0x347235=_0x347235-0xa7;let _0x2fa849=_0x5eae2f[_0x347235];return _0x2fa849;},_0x3472(_0x2ba4b6,_0xa484b0);}function _0x5eae(){const _0x3fb7f0=['_compressorById','decompress','RootOperation','_registerActionCompressor','__className','decompress-compressor-not-found','449336mUvGCp','suggestion','types','TypingAction','1302882qxwaKR','InsertOperation','baseVersion','ForwardDeletingAction','getDescriptor','RootAttributeOperation','CommentMarkerOperation','RenameOperation','no-operations-provided','13542298dJSUVc','_protobufFactory','12BRrVWh','_getCompressorByName','set','3848fSOgdi','AttributeOperation','87382EuLAqg','SplitOperation','UserSelectionAction','DeletingAction','824765mEPDVR','_registerOperationCompressor','MarkerOperation','length','compress','10940pLiZCd','get','_compressorByName','63IysiYo','2LBcqpJ','forEach','NoOperation','comment','MoveOperation','329hLvlBS','SuggestionMarkerOperation','_registerCompressor','MergeOperation'];_0x5eae=function(){return _0x3fb7f0;};return _0x5eae();}export class Compressor{[_0x2e2df8(0xb1)];[_0x2e2df8(0xd6)];[_0x2e2df8(0xc5)];constructor(){const _0xfa0ce6=_0x2e2df8;this[_0xfa0ce6(0xb1)]=new Map(),this[_0xfa0ce6(0xd6)]=new Map(),this[_0xfa0ce6(0xc5)]=new _0x1e8cb9();const _0x4eb97d=this[_0xfa0ce6(0xc5)][_0xfa0ce6(0xbf)](_0xfa0ce6(0xd1));this[_0xfa0ce6(0xaf)](0x1,_0xfa0ce6(0xaa),new _0x27a985(0x1,_0xfa0ce6(0xaa),void 0x0)),this[_0xfa0ce6(0xd0)](0xa,_0xfa0ce6(0xca),_0x352e19),this[_0xfa0ce6(0xd0)](0xb,_0xfa0ce6(0xbc),_0xce5bf),this[_0xfa0ce6(0xd0)](0xc,_0xfa0ce6(0xd1),_0x474b3a),this[_0xfa0ce6(0xd0)](0xd,_0xfa0ce6(0xb0),_0x35ca0c),this[_0xfa0ce6(0xd0)](0xe,_0xfa0ce6(0xac),_0x35ca0c),this[_0xfa0ce6(0xd0)](0xf,_0xfa0ce6(0xc2),_0x35ca0c),this[_0xfa0ce6(0xd0)](0x10,_0xfa0ce6(0xc0),_0x352e19),this[_0xfa0ce6(0xd0)](0x11,_0xfa0ce6(0xcc),_0x35ca0c),this[_0xfa0ce6(0xaf)](0x12,_0xfa0ce6(0xc1),new _0x190926(0x12,_0xfa0ce6(0xd1),_0x4eb97d,_0xfa0ce6(0xab))),this[_0xfa0ce6(0xaf)](0x13,_0xfa0ce6(0xae),new _0x190926(0x13,_0xfa0ce6(0xd1),_0x4eb97d,_0xfa0ce6(0xb8))),this[_0xfa0ce6(0xd0)](0x14,_0xfa0ce6(0xb3),_0x35ca0c),this[_0xfa0ce6(0xb4)](0x64,_0xfa0ce6(0xba),_0x2f2af5),this[_0xfa0ce6(0xb4)](0x65,_0xfa0ce6(0xce),_0x2d9aa8),this[_0xfa0ce6(0xb4)](0x66,_0xfa0ce6(0xbe),_0x23ee28),this[_0xfa0ce6(0xb4)](0x67,_0xfa0ce6(0xcd),_0x30e39e);}[_0x2e2df8(0xd3)](_0x5dfe88){const _0x53e626=_0x2e2df8;if(!_0x5dfe88||!_0x5dfe88[0x0])throw new _0x45cf90(_0x53e626(0xc3),this);const _0x473b5a={'types':[],'buffers':[],'baseVersion':_0x5dfe88[0x0][_0x53e626(0xbd)]};for(;_0x5dfe88[_0x53e626(0xd2)];)this[_0x53e626(0xc7)](_0x53e626(0xcd))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xba))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xce))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xbe))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xc1))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xae))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x5dfe88[0x0][_0x53e626(0xb5)])[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88);return _0x473b5a;}[_0x2e2df8(0xb2)](_0x3bea34){const _0x2e1add=_0x2e2df8,_0x47a2d5=[];for(;_0x3bea34[_0x2e1add(0xb9)][_0x2e1add(0xd2)];){const _0x3e2d55=this[_0x2e1add(0xb1)][_0x2e1add(0xd5)](_0x3bea34[_0x2e1add(0xb9)][0x0]);if(!_0x3e2d55)throw new _0x45cf90(_0x2e1add(0xb6),this,{'type':_0x3bea34[_0x2e1add(0xb9)][0x0]});_0x3e2d55[_0x2e1add(0xb2)](_0x47a2d5,_0x3bea34);}return _0x47a2d5[_0x2e1add(0xa9)]((_0xd2a464,_0x2ce322)=>_0xd2a464[_0x2e1add(0xbd)]=_0x3bea34[_0x2e1add(0xbd)]+_0x2ce322),_0x47a2d5;}[_0x2e2df8(0xc7)](_0x19593e){const _0x434de1=_0x2e2df8;return this[_0x434de1(0xd6)][_0x434de1(0xd5)](_0x19593e);}[_0x2e2df8(0xd0)](_0x3532b3,_0x1de98d,_0x2f21d4){const _0x288a21=_0x2e2df8,_0x48a940=new _0x2f21d4(_0x3532b3,_0x1de98d,this[_0x288a21(0xc5)][_0x288a21(0xbf)](_0x1de98d));this[_0x288a21(0xaf)](_0x3532b3,_0x1de98d,_0x48a940);}[_0x2e2df8(0xb4)](_0x592f74,_0x59d092,_0x4044be){const _0x4cfe2a=_0x2e2df8,_0x3d921a=new _0x4044be(_0x592f74,this);this[_0x4cfe2a(0xaf)](_0x592f74,_0x59d092,_0x3d921a);}[_0x2e2df8(0xaf)](_0x248ad6,_0x5d89ca,_0x489d12){const _0x10863a=_0x2e2df8;this[_0x10863a(0xb1)][_0x10863a(0xc8)](_0x248ad6,_0x489d12),this[_0x10863a(0xd6)][_0x10863a(0xc8)](_0x5d89ca,_0x489d12);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x2156(_0x25e112,_0x4c0468){var _0x22d426=_0x22d4();return _0x2156=function(_0x215624,_0x4788af){_0x215624=_0x215624-0x87;var _0x373fd9=_0x22d426[_0x215624];return _0x373fd9;},_0x2156(_0x25e112,_0x4c0468);}function _0x22d4(){var _0x1757c6=['216897KtkMJl','1314kvgGTi','825632ZPUFfU','33429BUSHEN','3jxnwEl','122316YWTuHh','35NZQyPn','312572Qfdfso','5MWqPvd','70ICxCPQ','26owIbWs','1336092nWNmsE','4184wtIkJW'];_0x22d4=function(){return _0x1757c6;};return _0x22d4();}(function(_0xe734fe,_0x2c2c1b){var _0x426bcf=_0x2156,_0x29fec1=_0xe734fe();while(!![]){try{var _0x2bf547=parseInt(_0x426bcf(0x90))/0x1+parseInt(_0x426bcf(0x8a))/0x2*(parseInt(_0x426bcf(0x87))/0x3)+parseInt(_0x426bcf(0x92))/0x4*(-parseInt(_0x426bcf(0x8b))/0x5)+parseInt(_0x426bcf(0x88))/0x6*(parseInt(_0x426bcf(0x89))/0x7)+-parseInt(_0x426bcf(0x8f))/0x8*(-parseInt(_0x426bcf(0x91))/0x9)+parseInt(_0x426bcf(0x8c))/0xa*(parseInt(_0x426bcf(0x93))/0xb)+-parseInt(_0x426bcf(0x8e))/0xc*(parseInt(_0x426bcf(0x8d))/0xd);if(_0x2bf547===_0x2c2c1b)break;else _0x29fec1['push'](_0x29fec1['shift']());}catch(_0x1231cb){_0x29fec1['push'](_0x29fec1['shift']());}}}(_0x22d4,0x23126));export{Compressor}from'./compressor.js';