@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.7 → 47.0.0-alpha.8

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 _0x2063c3=_0x8462;(function(_0x5bfc91,_0x3de0c0){const _0x5a3c94=_0x8462,_0x4215d4=_0x5bfc91();while(!![]){try{const _0x478832=-parseInt(_0x5a3c94(0x11e))/0x1+-parseInt(_0x5a3c94(0x121))/0x2+-parseInt(_0x5a3c94(0x10e))/0x3*(-parseInt(_0x5a3c94(0x124))/0x4)+-parseInt(_0x5a3c94(0x120))/0x5+parseInt(_0x5a3c94(0x112))/0x6+parseInt(_0x5a3c94(0x119))/0x7*(parseInt(_0x5a3c94(0x118))/0x8)+parseInt(_0x5a3c94(0x11d))/0x9;if(_0x478832===_0x3de0c0)break;else _0x4215d4['push'](_0x4215d4['shift']());}catch(_0x396415){_0x4215d4['push'](_0x4215d4['shift']());}}}(_0x2214,0x8d470));import{ActionCompressor as _0x1a15ee}from'./actioncompressor.js';import{arePositionsEqual as _0xb2610b,getPositionShiftedBy as _0x5e63d7}from'../utils.js';import{cloneDeep as _0xcfcfc5}from'es-toolkit/compat';function _0x2214(){const _0x8a3cab=['_context','compress','_compareOperations','8lJbxhS','2140943MiTKZl','buffers','sourcePosition','howMany','16649325pQbety','839264mjoVxm','decompress','4167330AxtDEt','2042806KCPszh','MoveOperation','targetPosition','4pfTolv','root','_checkOperation','$graveyard','wasUndone','_getCompressorByName','2991162AmGhft','_compressSingleOperation','_combineNext','_decompressSingleOperation','719862zNBJdQ','_splitCurrent','__className'];_0x2214=function(){return _0x8a3cab;};return _0x2214();}function _0x8462(_0x5ab949,_0x3f9dff){const _0x2214f5=_0x2214();return _0x8462=function(_0x8462de,_0x24a4a6){_0x8462de=_0x8462de-0x10a;let _0xd40ec4=_0x2214f5[_0x8462de];return _0xd40ec4;},_0x8462(_0x5ab949,_0x3f9dff);}export class DeletingActionCompressor extends _0x1a15ee{[_0x2063c3(0x110)](_0x9f4f1,_0x51e05e){const _0x7cf3c0=_0x2063c3;return _0x51e05e[_0x7cf3c0(0x11c)]++,_0x51e05e[_0x7cf3c0(0x11b)]=_0xcfcfc5(_0x9f4f1[_0x7cf3c0(0x11b)]),_0x51e05e;}[_0x2063c3(0x113)](_0x4a4b){const _0x29f45d=_0x2063c3,_0x1724bb=_0xcfcfc5(_0x4a4b);return _0x4a4b[_0x29f45d(0x11c)]--,_0x1724bb[_0x29f45d(0x11c)]=0x1,_0x1724bb[_0x29f45d(0x11b)]=_0x5e63d7(_0x1724bb[_0x29f45d(0x11b)],_0x4a4b[_0x29f45d(0x11c)]),_0x1724bb;}[_0x2063c3(0x117)](_0x2a65fc,_0x4e4be6){const _0xbe6eeb=_0x2063c3;return!(!this[_0xbe6eeb(0x10a)](_0x2a65fc)||!this[_0xbe6eeb(0x10a)](_0x4e4be6))&&(_0xb2610b(_0x5e63d7(_0x2a65fc[_0xbe6eeb(0x11b)],-0x1),_0x4e4be6[_0xbe6eeb(0x11b)])&&_0xb2610b(_0x2a65fc[_0xbe6eeb(0x123)],_0x4e4be6[_0xbe6eeb(0x123)]));}[_0x2063c3(0x10f)](_0x437064){const _0x8293b2=_0x2063c3,_0x29fae2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8293b2(0x115)][_0x8293b2(0x10d)](_0x8293b2(0x122))[_0x8293b2(0x116)](_0x29fae2,[_0x437064]),_0x29fae2[_0x8293b2(0x11a)][0x0];}[_0x2063c3(0x111)](_0x409441){const _0x5ab152=_0x2063c3,_0x13d753=[];return this[_0x5ab152(0x115)][_0x5ab152(0x10d)](_0x5ab152(0x122))[_0x5ab152(0x11f)](_0x13d753,_0x409441),_0x13d753[0x0];}[_0x2063c3(0x10a)](_0x34c571){const _0x28a1e8=_0x2063c3;return _0x28a1e8(0x122)==_0x34c571[_0x28a1e8(0x114)]&&_0x28a1e8(0x10b)==_0x34c571[_0x28a1e8(0x123)][_0x28a1e8(0x125)]&&0x1==_0x34c571[_0x28a1e8(0x11c)]&&!_0x34c571[_0x28a1e8(0x10c)];}}
23
+ const _0x292634=_0x4377;(function(_0x59b564,_0x52f7d0){const _0x31d392=_0x4377,_0xc5c416=_0x59b564();while(!![]){try{const _0x768418=-parseInt(_0x31d392(0x149))/0x1*(parseInt(_0x31d392(0x148))/0x2)+-parseInt(_0x31d392(0x145))/0x3*(parseInt(_0x31d392(0x153))/0x4)+parseInt(_0x31d392(0x15a))/0x5+parseInt(_0x31d392(0x156))/0x6+-parseInt(_0x31d392(0x150))/0x7+parseInt(_0x31d392(0x15e))/0x8+-parseInt(_0x31d392(0x14e))/0x9*(-parseInt(_0x31d392(0x14a))/0xa);if(_0x768418===_0x52f7d0)break;else _0xc5c416['push'](_0xc5c416['shift']());}catch(_0x46cd44){_0xc5c416['push'](_0xc5c416['shift']());}}}(_0x4ed9,0x94f25));import{ActionCompressor as _0x465a50}from'./actioncompressor.js';import{arePositionsEqual as _0x57f7b7,getPositionShiftedBy as _0x9cc5c4}from'../utils.js';import{cloneDeep as _0x13e10f}from'es-toolkit/compat';function _0x4377(_0x576211,_0x1ac7e8){const _0x4ed9a0=_0x4ed9();return _0x4377=function(_0x43771c,_0x39ff20){_0x43771c=_0x43771c-0x142;let _0x326918=_0x4ed9a0[_0x43771c];return _0x326918;},_0x4377(_0x576211,_0x1ac7e8);}export class DeletingActionCompressor extends _0x465a50{[_0x292634(0x151)](_0x401793,_0x2d3987){const _0x4e00ff=_0x292634;return _0x2d3987[_0x4e00ff(0x14f)]++,_0x2d3987[_0x4e00ff(0x14c)]=_0x13e10f(_0x401793[_0x4e00ff(0x14c)]),_0x2d3987;}[_0x292634(0x154)](_0xfe858a){const _0x27d144=_0x292634,_0x4c1b38=_0x13e10f(_0xfe858a);return _0xfe858a[_0x27d144(0x14f)]--,_0x4c1b38[_0x27d144(0x14f)]=0x1,_0x4c1b38[_0x27d144(0x14c)]=_0x9cc5c4(_0x4c1b38[_0x27d144(0x14c)],_0xfe858a[_0x27d144(0x14f)]),_0x4c1b38;}[_0x292634(0x158)](_0x16e6f3,_0x58b933){const _0x5cc6c9=_0x292634;return!(!this[_0x5cc6c9(0x143)](_0x16e6f3)||!this[_0x5cc6c9(0x143)](_0x58b933))&&(_0x57f7b7(_0x9cc5c4(_0x16e6f3[_0x5cc6c9(0x14c)],-0x1),_0x58b933[_0x5cc6c9(0x14c)])&&_0x57f7b7(_0x16e6f3[_0x5cc6c9(0x152)],_0x58b933[_0x5cc6c9(0x152)]));}[_0x292634(0x142)](_0x2e890d){const _0x3b6524=_0x292634,_0x4604fb={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3b6524(0x157)][_0x3b6524(0x155)](_0x3b6524(0x14b))[_0x3b6524(0x147)](_0x4604fb,[_0x2e890d]),_0x4604fb[_0x3b6524(0x144)][0x0];}[_0x292634(0x15b)](_0x3ecb0d){const _0x1f501e=_0x292634,_0x170745=[];return this[_0x1f501e(0x157)][_0x1f501e(0x155)](_0x1f501e(0x14b))[_0x1f501e(0x14d)](_0x170745,_0x3ecb0d),_0x170745[0x0];}[_0x292634(0x143)](_0x5736c3){const _0x44b673=_0x292634;return _0x44b673(0x14b)==_0x5736c3[_0x44b673(0x15c)]&&_0x44b673(0x15d)==_0x5736c3[_0x44b673(0x152)][_0x44b673(0x146)]&&0x1==_0x5736c3[_0x44b673(0x14f)]&&!_0x5736c3[_0x44b673(0x159)];}}function _0x4ed9(){const _0x3b7ab7=['compress','1384WWqatH','269AFtbEI','50XZPFgd','MoveOperation','sourcePosition','decompress','1636947xQNAiI','howMany','7696458dmEtXo','_combineNext','targetPosition','4MJBwKB','_splitCurrent','_getCompressorByName','560190dxDQdS','_context','_compareOperations','wasUndone','1364445uklCkr','_decompressSingleOperation','__className','$graveyard','7194600aVDhyK','_compressSingleOperation','_checkOperation','buffers','837801riQrdP','root'];_0x4ed9=function(){return _0x3b7ab7;};return _0x4ed9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x108cc6=_0x4380;(function(_0x413a6d,_0x1cd518){const _0x14e52f=_0x4380,_0x397591=_0x413a6d();while(!![]){try{const _0x12b506=parseInt(_0x14e52f(0x132))/0x1*(parseInt(_0x14e52f(0x118))/0x2)+parseInt(_0x14e52f(0x11b))/0x3+-parseInt(_0x14e52f(0x124))/0x4+parseInt(_0x14e52f(0x129))/0x5+parseInt(_0x14e52f(0x120))/0x6*(parseInt(_0x14e52f(0x131))/0x7)+-parseInt(_0x14e52f(0x119))/0x8*(parseInt(_0x14e52f(0x128))/0x9)+-parseInt(_0x14e52f(0x122))/0xa*(parseInt(_0x14e52f(0x123))/0xb);if(_0x12b506===_0x1cd518)break;else _0x397591['push'](_0x397591['shift']());}catch(_0x5630fe){_0x397591['push'](_0x397591['shift']());}}}(_0x46f2,0x7e357));import{ActionCompressor as _0x325e64}from'./actioncompressor.js';function _0x4380(_0x2af865,_0x3c2892){const _0x46f25d=_0x46f2();return _0x4380=function(_0x4380e7,_0xe3a104){_0x4380e7=_0x4380e7-0x117;let _0x7743c4=_0x46f25d[_0x4380e7];return _0x7743c4;},_0x4380(_0x2af865,_0x3c2892);}function _0x46f2(){const _0x21b267=['$graveyard','targetPosition','1262808jmLrJA','1893105kajIgA','decompress','_checkOperation','howMany','root','_compareOperations','wasUndone','compress','3502317libQeM','306190ywWwie','buffers','sourcePosition','_compressSingleOperation','4QcZhVn','8mpSEHG','_splitCurrent','619104ZYrYqp','_decompressSingleOperation','_getCompressorByName','_combineNext','_context','6THsxin','__className','2313730mfxtlW','11gIRVwJ','3236256hzrnlM','MoveOperation'];_0x46f2=function(){return _0x21b267;};return _0x46f2();}import{arePositionsEqual as _0x1ebbd5}from'../utils.js';import{cloneDeep as _0x35f8aa}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x325e64{[_0x108cc6(0x11e)](_0x5a6baa,_0x13fce4){const _0x192ed3=_0x108cc6;return _0x13fce4[_0x192ed3(0x12c)]++,_0x13fce4;}[_0x108cc6(0x11a)](_0xee59ea){const _0x5da102=_0x108cc6,_0x4ef3aa=_0x35f8aa(_0xee59ea);return _0x4ef3aa[_0x5da102(0x12c)]=0x1,_0xee59ea[_0x5da102(0x12c)]--,_0x4ef3aa;}[_0x108cc6(0x12e)](_0x4ed57b,_0x289d07){const _0x5e9447=_0x108cc6;return!(!this[_0x5e9447(0x12b)](_0x4ed57b)||!this[_0x5e9447(0x12b)](_0x289d07))&&(_0x1ebbd5(_0x4ed57b[_0x5e9447(0x134)],_0x289d07[_0x5e9447(0x134)])&&_0x1ebbd5(_0x4ed57b[_0x5e9447(0x127)],_0x289d07[_0x5e9447(0x127)]));}[_0x108cc6(0x117)](_0x381b48){const _0x203426=_0x108cc6,_0x293954={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x203426(0x11f)][_0x203426(0x11d)](_0x203426(0x125))[_0x203426(0x130)](_0x293954,[_0x381b48]),_0x293954[_0x203426(0x133)][0x0];}[_0x108cc6(0x11c)](_0xd4af5){const _0x46a214=_0x108cc6,_0x3978f1=[];return this[_0x46a214(0x11f)][_0x46a214(0x11d)](_0x46a214(0x125))[_0x46a214(0x12a)](_0x3978f1,_0xd4af5),_0x3978f1[0x0];}[_0x108cc6(0x12b)](_0x594448){const _0x5efe4a=_0x108cc6;return _0x5efe4a(0x125)==_0x594448[_0x5efe4a(0x121)]&&_0x5efe4a(0x126)==_0x594448[_0x5efe4a(0x127)][_0x5efe4a(0x12d)]&&0x1==_0x594448[_0x5efe4a(0x12c)]&&!_0x594448[_0x5efe4a(0x12f)];}}
23
+ const _0x5ac98d=_0x4e83;function _0x14c9(){const _0x5d9a9f=['11XPbtZQ','14010039GamygI','howMany','11709552qPhinD','buffers','MoveOperation','$graveyard','97645hpkCkQ','_compareOperations','150xJxHbl','_context','_checkOperation','_combineNext','_compressSingleOperation','decompress','wasUndone','_decompressSingleOperation','1hsCXqG','targetPosition','_getCompressorByName','2469686iluMcu','26RktHdO','sourcePosition','1109556YVJROM','6rijUEW','compress','__className','1963520JTzqQk','_splitCurrent','1416552aOGRFn','8eQJbAe','root'];_0x14c9=function(){return _0x5d9a9f;};return _0x14c9();}(function(_0x145730,_0x2f4472){const _0x456510=_0x4e83,_0x24a650=_0x145730();while(!![]){try{const _0x4e3029=-parseInt(_0x456510(0x106))/0x1*(-parseInt(_0x456510(0x109))/0x2)+-parseInt(_0x456510(0x10d))/0x3*(parseInt(_0x456510(0x112))/0x4)+-parseInt(_0x456510(0x11c))/0x5*(parseInt(_0x456510(0x11e))/0x6)+parseInt(_0x456510(0x10c))/0x7+-parseInt(_0x456510(0x113))/0x8*(parseInt(_0x456510(0x116))/0x9)+-parseInt(_0x456510(0x110))/0xa*(-parseInt(_0x456510(0x115))/0xb)+-parseInt(_0x456510(0x118))/0xc*(-parseInt(_0x456510(0x10a))/0xd);if(_0x4e3029===_0x2f4472)break;else _0x24a650['push'](_0x24a650['shift']());}catch(_0x1f72ef){_0x24a650['push'](_0x24a650['shift']());}}}(_0x14c9,0xc069b));function _0x4e83(_0x5eb4dd,_0x3e48cf){const _0x14c99f=_0x14c9();return _0x4e83=function(_0x4e83de,_0x5f33c7){_0x4e83de=_0x4e83de-0x103;let _0x2d5057=_0x14c99f[_0x4e83de];return _0x2d5057;},_0x4e83(_0x5eb4dd,_0x3e48cf);}import{ActionCompressor as _0x2f1cff}from'./actioncompressor.js';import{arePositionsEqual as _0x1e3e2e}from'../utils.js';import{cloneDeep as _0x124696}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x2f1cff{[_0x5ac98d(0x121)](_0x557200,_0x3ae79a){const _0x3a0b9c=_0x5ac98d;return _0x3ae79a[_0x3a0b9c(0x117)]++,_0x3ae79a;}[_0x5ac98d(0x111)](_0x12b989){const _0x2911ed=_0x5ac98d,_0x4e198d=_0x124696(_0x12b989);return _0x4e198d[_0x2911ed(0x117)]=0x1,_0x12b989[_0x2911ed(0x117)]--,_0x4e198d;}[_0x5ac98d(0x11d)](_0x21c04e,_0x5d45b5){const _0x4faeb5=_0x5ac98d;return!(!this[_0x4faeb5(0x120)](_0x21c04e)||!this[_0x4faeb5(0x120)](_0x5d45b5))&&(_0x1e3e2e(_0x21c04e[_0x4faeb5(0x10b)],_0x5d45b5[_0x4faeb5(0x10b)])&&_0x1e3e2e(_0x21c04e[_0x4faeb5(0x107)],_0x5d45b5[_0x4faeb5(0x107)]));}[_0x5ac98d(0x122)](_0x2d668b){const _0x19a044=_0x5ac98d,_0xf56bfd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x19a044(0x11f)][_0x19a044(0x108)](_0x19a044(0x11a))[_0x19a044(0x10e)](_0xf56bfd,[_0x2d668b]),_0xf56bfd[_0x19a044(0x119)][0x0];}[_0x5ac98d(0x105)](_0xfabb79){const _0x2d5883=_0x5ac98d,_0x374bc0=[];return this[_0x2d5883(0x11f)][_0x2d5883(0x108)](_0x2d5883(0x11a))[_0x2d5883(0x103)](_0x374bc0,_0xfabb79),_0x374bc0[0x0];}[_0x5ac98d(0x120)](_0x34779e){const _0x2273cb=_0x5ac98d;return _0x2273cb(0x11a)==_0x34779e[_0x2273cb(0x10f)]&&_0x2273cb(0x11b)==_0x34779e[_0x2273cb(0x107)][_0x2273cb(0x114)]&&0x1==_0x34779e[_0x2273cb(0x117)]&&!_0x34779e[_0x2273cb(0x104)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34bdd2=_0x4409;(function(_0x59b334,_0x106ed3){const _0x7bb486=_0x4409,_0x80f982=_0x59b334();while(!![]){try{const _0x339c77=-parseInt(_0x7bb486(0x7d))/0x1+parseInt(_0x7bb486(0x79))/0x2*(parseInt(_0x7bb486(0x87))/0x3)+parseInt(_0x7bb486(0x80))/0x4*(-parseInt(_0x7bb486(0x95))/0x5)+-parseInt(_0x7bb486(0x90))/0x6*(-parseInt(_0x7bb486(0x9a))/0x7)+-parseInt(_0x7bb486(0x84))/0x8+parseInt(_0x7bb486(0x7b))/0x9*(-parseInt(_0x7bb486(0x94))/0xa)+-parseInt(_0x7bb486(0x99))/0xb*(-parseInt(_0x7bb486(0x82))/0xc);if(_0x339c77===_0x106ed3)break;else _0x80f982['push'](_0x80f982['shift']());}catch(_0x406639){_0x80f982['push'](_0x80f982['shift']());}}}(_0x2635,0xc34eb));import{ActionCompressor as _0x15df81}from'./actioncompressor.js';import{arePositionsEqual as _0x4bd7d8,getPositionShiftedBy as _0x3931d9}from'../utils.js';function _0x2635(){const _0x5f2611=['buffers','218736RhTwsY','nodes','1139943ucPqNo','_compareOperations','_getCompressorByName','24212JKClZT','_checkOperation','72IBhbhM','every','9425520vrPvWc','from','iterator','6hEwvAv','_decompressSingleOperation','keys','_splitCurrent','_compareAttributes','value','wasUndone','position','data','21906jTqWyf','compress','_compressSingleOperation','_context','560sIzGrP','865BdMJwM','decompress','__className','_combineNext','4668785NLeiXq','2807qjRksl','next','length','InsertOperation','substr','attributes','1515644AWsXpm'];_0x2635=function(){return _0x5f2611;};return _0x2635();}function _0x4409(_0x54bac0,_0x5731ef){const _0x263586=_0x2635();return _0x4409=function(_0x44092b,_0x211aeb){_0x44092b=_0x44092b-0x75;let _0xa0cd3a=_0x263586[_0x44092b];return _0xa0cd3a;},_0x4409(_0x54bac0,_0x5731ef);}import{cloneDeep as _0x134cb0}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15df81{[_0x34bdd2(0x98)](_0x2465b1,_0x2c8672){const _0x43d6e8=_0x34bdd2;return _0x2c8672[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)]+=_0x2465b1[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)],_0x2c8672;}[_0x34bdd2(0x8a)](_0x26fa0a){const _0xcb171f=_0x34bdd2,_0x320750=_0x134cb0(_0x26fa0a),_0x2197ed=_0x320750[_0xcb171f(0x7c)][0x0],_0x41be1f=_0x26fa0a[_0xcb171f(0x7c)][0x0],_0x24c07e=_0x41be1f[_0xcb171f(0x8f)][Symbol[_0xcb171f(0x86)]]()[_0xcb171f(0x9b)]()[_0xcb171f(0x8c)],_0x649439=_0x24c07e[_0xcb171f(0x75)];return _0x2197ed[_0xcb171f(0x8f)]=_0x24c07e,_0x41be1f[_0xcb171f(0x8f)]=_0x41be1f[_0xcb171f(0x8f)][_0xcb171f(0x77)](_0x649439),_0x26fa0a[_0xcb171f(0x8e)]=_0x3931d9(_0x26fa0a[_0xcb171f(0x8e)],_0x649439),_0x320750;}[_0x34bdd2(0x7e)](_0x50b9e2,_0x5aabb){const _0x4c3d69=_0x34bdd2;if(this[_0x4c3d69(0x81)](_0x50b9e2)&&this[_0x4c3d69(0x81)](_0x5aabb)){const _0x1c543d=_0x50b9e2[_0x4c3d69(0x7c)][0x0][_0x4c3d69(0x8f)][_0x4c3d69(0x75)],_0x15cb08=_0x4bd7d8(_0x3931d9(_0x50b9e2[_0x4c3d69(0x8e)],_0x1c543d),_0x5aabb[_0x4c3d69(0x8e)]),_0x1285be=_0x50b9e2[_0x4c3d69(0x7c)][0x0],_0x5296f8=_0x5aabb[_0x4c3d69(0x7c)][0x0];return _0x15cb08&&this[_0x4c3d69(0x8b)](_0x1285be,_0x5296f8);}return!0x1;}[_0x34bdd2(0x92)](_0x1ff074){const _0x2280bc=_0x34bdd2,_0x2809b9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2280bc(0x93)][_0x2280bc(0x7f)](_0x2280bc(0x76))[_0x2280bc(0x91)](_0x2809b9,[_0x1ff074]),_0x2809b9[_0x2280bc(0x7a)][0x0];}[_0x34bdd2(0x88)](_0xea459f){const _0x2028e8=_0x34bdd2,_0x2cef0d=[];return this[_0x2028e8(0x93)][_0x2028e8(0x7f)](_0x2028e8(0x76))[_0x2028e8(0x96)](_0x2cef0d,_0xea459f),_0x2cef0d[0x0];}[_0x34bdd2(0x81)](_0xfe0b28){const _0x562a3b=_0x34bdd2;return _0x562a3b(0x76)==_0xfe0b28[_0x562a3b(0x97)]&&0x1==_0xfe0b28[_0x562a3b(0x7c)][_0x562a3b(0x75)]&&_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)]&&!_0xfe0b28[_0x562a3b(0x8d)]&&0x1==Array[_0x562a3b(0x85)](_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)])[_0x562a3b(0x75)];}[_0x34bdd2(0x8b)](_0x52090b,_0x4b80b0){const _0x5b87e2=_0x34bdd2,_0x5ef5d4=Object[_0x5b87e2(0x89)](_0x52090b[_0x5b87e2(0x78)]||{}),_0x559c3c=Object[_0x5b87e2(0x89)](_0x4b80b0[_0x5b87e2(0x78)]||{});return _0x5ef5d4[_0x5b87e2(0x75)]===_0x559c3c[_0x5b87e2(0x75)]&&_0x5ef5d4[_0x5b87e2(0x83)](_0x559eac=>_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]&&_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]===_0x52090b[_0x5b87e2(0x78)][_0x559eac]);}}
23
+ const _0x27a34b=_0x5562;(function(_0x448b11,_0x8a4922){const _0x8a0f77=_0x5562,_0x44aef0=_0x448b11();while(!![]){try{const _0x249621=-parseInt(_0x8a0f77(0xf2))/0x1*(-parseInt(_0x8a0f77(0xe9))/0x2)+-parseInt(_0x8a0f77(0xe6))/0x3+-parseInt(_0x8a0f77(0xda))/0x4*(-parseInt(_0x8a0f77(0xee))/0x5)+-parseInt(_0x8a0f77(0x100))/0x6*(-parseInt(_0x8a0f77(0xfd))/0x7)+parseInt(_0x8a0f77(0xdc))/0x8*(-parseInt(_0x8a0f77(0xf9))/0x9)+-parseInt(_0x8a0f77(0xde))/0xa*(-parseInt(_0x8a0f77(0xe0))/0xb)+parseInt(_0x8a0f77(0xfe))/0xc*(-parseInt(_0x8a0f77(0xf4))/0xd);if(_0x249621===_0x8a4922)break;else _0x44aef0['push'](_0x44aef0['shift']());}catch(_0x46c451){_0x44aef0['push'](_0x44aef0['shift']());}}}(_0x3c0b,0x623d9));import{ActionCompressor as _0x177044}from'./actioncompressor.js';import{arePositionsEqual as _0x2e778f,getPositionShiftedBy as _0x1336f7}from'../utils.js';function _0x5562(_0x5afa09,_0x1dfdfe){const _0x3c0bf0=_0x3c0b();return _0x5562=function(_0x55628f,_0x706f0e){_0x55628f=_0x55628f-0xda;let _0x2e72ab=_0x3c0bf0[_0x55628f];return _0x2e72ab;},_0x5562(_0x5afa09,_0x1dfdfe);}import{cloneDeep as _0x164856}from'es-toolkit/compat';export class TypingActionCompressor extends _0x177044{[_0x27a34b(0xe7)](_0x254bbb,_0x42f090){const _0x5bc367=_0x27a34b;return _0x42f090[_0x5bc367(0xf5)][0x0][_0x5bc367(0xfa)]+=_0x254bbb[_0x5bc367(0xf5)][0x0][_0x5bc367(0xfa)],_0x42f090;}[_0x27a34b(0xe1)](_0x648628){const _0x1637b7=_0x27a34b,_0x4c4cb2=_0x164856(_0x648628),_0x44f13e=_0x4c4cb2[_0x1637b7(0xf5)][0x0],_0x547441=_0x648628[_0x1637b7(0xf5)][0x0],_0xa493d7=_0x547441[_0x1637b7(0xfa)][Symbol[_0x1637b7(0xf8)]]()[_0x1637b7(0xff)]()[_0x1637b7(0xe8)],_0x391f98=_0xa493d7[_0x1637b7(0xf0)];return _0x44f13e[_0x1637b7(0xfa)]=_0xa493d7,_0x547441[_0x1637b7(0xfa)]=_0x547441[_0x1637b7(0xfa)][_0x1637b7(0xfc)](_0x391f98),_0x648628[_0x1637b7(0xef)]=_0x1336f7(_0x648628[_0x1637b7(0xef)],_0x391f98),_0x4c4cb2;}[_0x27a34b(0xf6)](_0x157950,_0x41064f){const _0x44a249=_0x27a34b;if(this[_0x44a249(0xfb)](_0x157950)&&this[_0x44a249(0xfb)](_0x41064f)){const _0x31da65=_0x157950[_0x44a249(0xf5)][0x0][_0x44a249(0xfa)][_0x44a249(0xf0)],_0x209787=_0x2e778f(_0x1336f7(_0x157950[_0x44a249(0xef)],_0x31da65),_0x41064f[_0x44a249(0xef)]),_0x4f94f1=_0x157950[_0x44a249(0xf5)][0x0],_0x33b8c6=_0x41064f[_0x44a249(0xf5)][0x0];return _0x209787&&this[_0x44a249(0xf7)](_0x4f94f1,_0x33b8c6);}return!0x1;}[_0x27a34b(0xdf)](_0x5a6d3a){const _0x3d55bd=_0x27a34b,_0x2cadc1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3d55bd(0xe2)][_0x3d55bd(0xf3)](_0x3d55bd(0xeb))[_0x3d55bd(0xe3)](_0x2cadc1,[_0x5a6d3a]),_0x2cadc1[_0x3d55bd(0xec)][0x0];}[_0x27a34b(0xea)](_0x423a0f){const _0x365531=_0x27a34b,_0x9a4a0d=[];return this[_0x365531(0xe2)][_0x365531(0xf3)](_0x365531(0xeb))[_0x365531(0xe5)](_0x9a4a0d,_0x423a0f),_0x9a4a0d[0x0];}[_0x27a34b(0xfb)](_0x297d26){const _0x4a2dce=_0x27a34b;return _0x4a2dce(0xeb)==_0x297d26[_0x4a2dce(0xdd)]&&0x1==_0x297d26[_0x4a2dce(0xf5)][_0x4a2dce(0xf0)]&&_0x297d26[_0x4a2dce(0xf5)][0x0][_0x4a2dce(0xfa)]&&!_0x297d26[_0x4a2dce(0xdb)]&&0x1==Array[_0x4a2dce(0xed)](_0x297d26[_0x4a2dce(0xf5)][0x0][_0x4a2dce(0xfa)])[_0x4a2dce(0xf0)];}[_0x27a34b(0xf7)](_0x36ac3a,_0x52c4f0){const _0x3250b8=_0x27a34b,_0x1e2129=Object[_0x3250b8(0xe4)](_0x36ac3a[_0x3250b8(0x101)]||{}),_0x10268f=Object[_0x3250b8(0xe4)](_0x52c4f0[_0x3250b8(0x101)]||{});return _0x1e2129[_0x3250b8(0xf0)]===_0x10268f[_0x3250b8(0xf0)]&&_0x1e2129[_0x3250b8(0xf1)](_0x2a6584=>_0x52c4f0[_0x3250b8(0x101)][_0x2a6584]&&_0x52c4f0[_0x3250b8(0x101)][_0x2a6584]===_0x36ac3a[_0x3250b8(0x101)][_0x2a6584]);}}function _0x3c0b(){const _0x2004dd=['1716252mNliit','_combineNext','value','8LPctAr','_decompressSingleOperation','InsertOperation','buffers','from','735920cfPdmJ','position','length','every','24927lrjUsP','_getCompressorByName','130767TxhSVd','nodes','_compareOperations','_compareAttributes','iterator','3357qGmUrw','data','_checkOperation','substr','26306IOsuRt','84muJoxk','next','1074PDAfEc','attributes','8yttuVS','wasUndone','3448mkcAbs','__className','10vNHZzQ','_compressSingleOperation','1527845UiAsem','_splitCurrent','_context','compress','keys','decompress'];_0x3c0b=function(){return _0x2004dd;};return _0x3c0b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f4c31=_0x1e80;(function(_0x2fa59c,_0x293f14){const _0x1bfb9e=_0x1e80,_0x378fc9=_0x2fa59c();while(!![]){try{const _0x5a6ff9=parseInt(_0x1bfb9e(0x206))/0x1+parseInt(_0x1bfb9e(0x208))/0x2*(-parseInt(_0x1bfb9e(0x20a))/0x3)+parseInt(_0x1bfb9e(0x1fa))/0x4+parseInt(_0x1bfb9e(0x209))/0x5+-parseInt(_0x1bfb9e(0x20b))/0x6+-parseInt(_0x1bfb9e(0x205))/0x7+-parseInt(_0x1bfb9e(0x207))/0x8*(-parseInt(_0x1bfb9e(0x211))/0x9);if(_0x5a6ff9===_0x293f14)break;else _0x378fc9['push'](_0x378fc9['shift']());}catch(_0x5e62b8){_0x378fc9['push'](_0x378fc9['shift']());}}}(_0x28b3,0xdd08c));import{ActionCompressor as _0x534299}from'./actioncompressor.js';function _0x1e80(_0x124d06,_0x3a8b90){const _0x28b3d3=_0x28b3();return _0x1e80=function(_0x1e80fc,_0xd772a5){_0x1e80fc=_0x1e80fc-0x1f1;let _0x48346b=_0x28b3d3[_0x1e80fc];return _0x48346b;},_0x1e80(_0x124d06,_0x3a8b90);}import{arePositionsEqual as _0x3c5ff7}from'../utils.js';import{cloneDeep as _0x15253a}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x534299{[_0x2f4c31(0x203)](_0x1af327,_0x35b66c){const _0x42ce98=_0x2f4c31;if(!this[_0x42ce98(0x1fe)](_0x35b66c[0x0],_0x35b66c[0x1]))return!0x1;const _0x387eeb=_0x35b66c[_0x42ce98(0x1f8)]();return _0x387eeb[_0x42ce98(0x20f)]=null,_0x387eeb[_0x42ce98(0x1f5)]&&_0x3c5ff7(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1f4)],_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)])&&(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)]=null),_0x35b66c[_0x42ce98(0x1f8)](),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](this[_0x42ce98(0x1f9)]),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](0x0),_0x1af327[_0x42ce98(0x1f3)][_0x42ce98(0x202)](this[_0x42ce98(0x20c)](_0x387eeb)),!0x0;}[_0x2f4c31(0x1fd)](_0x4828d3,_0x2a97d8){const _0xe4cd15=_0x2f4c31,_0x18d947=this[_0xe4cd15(0x204)](_0x2a97d8);_0x18d947[_0xe4cd15(0x1f5)]&&!_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]&&(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)]));const _0x416313=_0x15253a(_0x18d947);_0x416313[_0xe4cd15(0x1f5)]&&(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)][_0xe4cd15(0x20d)]=_0xe4cd15(0x1fb),_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)])),_0x416313[_0xe4cd15(0x1f7)]=_0xe4cd15(0x210)+_0x416313[_0xe4cd15(0x1f7)][_0xe4cd15(0x20e)](':')[0x2],_0x2a97d8[_0xe4cd15(0x212)][_0xe4cd15(0x1f8)](),_0x4828d3[_0xe4cd15(0x202)](_0x18d947),_0x4828d3[_0xe4cd15(0x202)](_0x416313);}[_0x2f4c31(0x20c)](_0x1c3605){const _0x42356f=_0x2f4c31,_0x20ec2f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x42356f(0x1f1)][_0x42356f(0x1fc)](_0x42356f(0x1f6))[_0x42356f(0x203)](_0x20ec2f,[_0x1c3605]),_0x20ec2f[_0x42356f(0x1f3)][0x0];}[_0x2f4c31(0x204)](_0xe8c678){const _0x10c9f5=_0x2f4c31,_0x5510e7=[];return this[_0x10c9f5(0x1f1)][_0x10c9f5(0x1fc)](_0x10c9f5(0x1f6))[_0x10c9f5(0x1fd)](_0x5510e7,_0xe8c678),_0x5510e7[0x0];}[_0x2f4c31(0x1fe)](_0x191159,_0x15af92){const _0x5ebcde=_0x2f4c31;return!(!_0x191159||!_0x15af92)&&(_0x5ebcde(0x1f6)==_0x191159[_0x5ebcde(0x200)]&&_0x5ebcde(0x1f6)==_0x15af92[_0x5ebcde(0x200)]&&!(!_0x191159[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||!_0x15af92[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||_0x191159[_0x5ebcde(0x1f7)]==_0x15af92[_0x5ebcde(0x1f7)]));}}function _0x28b3(){const _0x5edc31=['2290509uriNXn','types','_context','user:','buffers','start','newRange','MarkerOperation','name','shift','_id','7121640BmWUAp','toNone','_getCompressorByName','decompress','_compareOperations','end','__className','startsWith','push','compress','_decompressSingleOperation','11680207NfwPIT','701277cDKZOF','40lQgtBL','2jFPPFX','2048035aBYVMb','4380405UVvdcf','778242BzicGz','_compressSingleOperation','stickiness','split','oldRange','user:position:'];_0x28b3=function(){return _0x5edc31;};return _0x28b3();}
23
+ const _0x364acc=_0xeaa9;function _0xeaa9(_0x23fac1,_0x5b4803){const _0x414f0b=_0x414f();return _0xeaa9=function(_0xeaa9aa,_0x4410a9){_0xeaa9aa=_0xeaa9aa-0x1a2;let _0x514412=_0x414f0b[_0xeaa9aa];return _0x514412;},_0xeaa9(_0x23fac1,_0x5b4803);}(function(_0x2ff694,_0x30de2b){const _0x5129ce=_0xeaa9,_0x2a738f=_0x2ff694();while(!![]){try{const _0x4378df=parseInt(_0x5129ce(0x1b4))/0x1+-parseInt(_0x5129ce(0x1b2))/0x2*(-parseInt(_0x5129ce(0x1a8))/0x3)+-parseInt(_0x5129ce(0x1a4))/0x4+-parseInt(_0x5129ce(0x1c0))/0x5*(-parseInt(_0x5129ce(0x1a6))/0x6)+parseInt(_0x5129ce(0x1a2))/0x7*(-parseInt(_0x5129ce(0x1a9))/0x8)+-parseInt(_0x5129ce(0x1be))/0x9+-parseInt(_0x5129ce(0x1af))/0xa*(parseInt(_0x5129ce(0x1b7))/0xb);if(_0x4378df===_0x30de2b)break;else _0x2a738f['push'](_0x2a738f['shift']());}catch(_0xc2a1e3){_0x2a738f['push'](_0x2a738f['shift']());}}}(_0x414f,0xa94e9));import{ActionCompressor as _0x55eae2}from'./actioncompressor.js';function _0x414f(){const _0x242d1d=['buffers','_decompressSingleOperation','name','compress','7595415Oigghb','_compressSingleOperation','5GEtLII','MarkerOperation','decompress','_context','startsWith','__className','574wAsxvI','newRange','3494004LoMLNw','toNone','4233462NmMRze','split','226788bGVazs','23016eJSHGH','_compareOperations','types','_id','user:','shift','870rQHJTg','_getCompressorByName','user:position:','22IFTnYS','oldRange','1140931UMAryo','push','end','3949lJQacn','stickiness','start'];_0x414f=function(){return _0x242d1d;};return _0x414f();}import{arePositionsEqual as _0x5b13b6}from'../utils.js';import{cloneDeep as _0x39d9a8}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x55eae2{[_0x364acc(0x1bd)](_0x20c310,_0x5cac18){const _0x329cda=_0x364acc;if(!this[_0x329cda(0x1aa)](_0x5cac18[0x0],_0x5cac18[0x1]))return!0x1;const _0x184157=_0x5cac18[_0x329cda(0x1ae)]();return _0x184157[_0x329cda(0x1b3)]=null,_0x184157[_0x329cda(0x1a3)]&&_0x5b13b6(_0x184157[_0x329cda(0x1a3)][_0x329cda(0x1b9)],_0x184157[_0x329cda(0x1a3)][_0x329cda(0x1b6)])&&(_0x184157[_0x329cda(0x1a3)][_0x329cda(0x1b6)]=null),_0x5cac18[_0x329cda(0x1ae)](),_0x20c310[_0x329cda(0x1ab)][_0x329cda(0x1b5)](this[_0x329cda(0x1ac)]),_0x20c310[_0x329cda(0x1ab)][_0x329cda(0x1b5)](0x0),_0x20c310[_0x329cda(0x1ba)][_0x329cda(0x1b5)](this[_0x329cda(0x1bf)](_0x184157)),!0x0;}[_0x364acc(0x1c2)](_0x171677,_0x147077){const _0x31dcc7=_0x364acc,_0x46a9ce=this[_0x31dcc7(0x1bb)](_0x147077);_0x46a9ce[_0x31dcc7(0x1a3)]&&!_0x46a9ce[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b6)]&&(_0x46a9ce[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b6)]=_0x39d9a8(_0x46a9ce[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b9)]));const _0x532d1b=_0x39d9a8(_0x46a9ce);_0x532d1b[_0x31dcc7(0x1a3)]&&(_0x532d1b[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b9)][_0x31dcc7(0x1b8)]=_0x31dcc7(0x1a5),_0x532d1b[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b6)]=_0x39d9a8(_0x532d1b[_0x31dcc7(0x1a3)][_0x31dcc7(0x1b9)])),_0x532d1b[_0x31dcc7(0x1bc)]=_0x31dcc7(0x1b1)+_0x532d1b[_0x31dcc7(0x1bc)][_0x31dcc7(0x1a7)](':')[0x2],_0x147077[_0x31dcc7(0x1ab)][_0x31dcc7(0x1ae)](),_0x171677[_0x31dcc7(0x1b5)](_0x46a9ce),_0x171677[_0x31dcc7(0x1b5)](_0x532d1b);}[_0x364acc(0x1bf)](_0x2685f1){const _0xd2b9af=_0x364acc,_0x2c6937={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xd2b9af(0x1c3)][_0xd2b9af(0x1b0)](_0xd2b9af(0x1c1))[_0xd2b9af(0x1bd)](_0x2c6937,[_0x2685f1]),_0x2c6937[_0xd2b9af(0x1ba)][0x0];}[_0x364acc(0x1bb)](_0x1f852f){const _0x399bd0=_0x364acc,_0x1a2c16=[];return this[_0x399bd0(0x1c3)][_0x399bd0(0x1b0)](_0x399bd0(0x1c1))[_0x399bd0(0x1c2)](_0x1a2c16,_0x1f852f),_0x1a2c16[0x0];}[_0x364acc(0x1aa)](_0x3eb690,_0x1b3582){const _0x351b85=_0x364acc;return!(!_0x3eb690||!_0x1b3582)&&(_0x351b85(0x1c1)==_0x3eb690[_0x351b85(0x1c5)]&&_0x351b85(0x1c1)==_0x1b3582[_0x351b85(0x1c5)]&&!(!_0x3eb690[_0x351b85(0x1bc)][_0x351b85(0x1c4)](_0x351b85(0x1ad))||!_0x1b3582[_0x351b85(0x1bc)][_0x351b85(0x1c4)](_0x351b85(0x1ad))||_0x3eb690[_0x351b85(0x1bc)]==_0x1b3582[_0x351b85(0x1bc)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21dd29=_0x3353;(function(_0x557a71,_0x16258c){const _0x2bf6a5=_0x3353,_0x5be28d=_0x557a71();while(!![]){try{const _0x5b4c1b=parseInt(_0x2bf6a5(0x11e))/0x1*(parseInt(_0x2bf6a5(0x110))/0x2)+-parseInt(_0x2bf6a5(0x129))/0x3*(parseInt(_0x2bf6a5(0x139))/0x4)+-parseInt(_0x2bf6a5(0x124))/0x5+parseInt(_0x2bf6a5(0x114))/0x6+parseInt(_0x2bf6a5(0x112))/0x7*(-parseInt(_0x2bf6a5(0x12c))/0x8)+parseInt(_0x2bf6a5(0x10b))/0x9+-parseInt(_0x2bf6a5(0x128))/0xa;if(_0x5b4c1b===_0x16258c)break;else _0x5be28d['push'](_0x5be28d['shift']());}catch(_0x49ffe6){_0x5be28d['push'](_0x5be28d['shift']());}}}(_0x3843,0xaebfc));import{CKEditorError as _0x4159ea}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x176347}from'./protobuffactory.js';import{OperationCompressor as _0x1c7a2c}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x229280}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x27c084}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x3295aa}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x33502c}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x28e276}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x3353(_0x16b973,_0x713f18){const _0x3843a8=_0x3843();return _0x3353=function(_0x335343,_0x35fd2a){_0x335343=_0x335343-0x10b;let _0x3877a1=_0x3843a8[_0x335343];return _0x3877a1;},_0x3353(_0x16b973,_0x713f18);}import{TypingActionCompressor as _0x325995}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xb15979}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x3e59a8}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x3843(){const _0x1bdce1=['4265pQRaUB','no-operations-provided','forEach','TypingAction','_getCompressorByName','DeletingAction','2749180HbgNmY','_registerCompressor','decompress','decompress-compressor-not-found','203900kUTTIt','3zGzHOu','UserSelectionAction','MarkerOperation','9088784dVyckf','_compressorByName','RenameOperation','NoOperation','set','MergeOperation','AttributeOperation','InsertOperation','_registerActionCompressor','_registerOperationCompressor','ForwardDeletingAction','_protobufFactory','comment','5300268fNTznC','12790791kUvJjq','CommentMarkerOperation','get','suggestion','RootOperation','668VomFzk','SuggestionMarkerOperation','7DrYaIg','RootAttributeOperation','5408724FXpmrm','length','__className','_compressorById','MoveOperation','getDescriptor','compress','types','SplitOperation','baseVersion'];_0x3843=function(){return _0x1bdce1;};return _0x3843();}import{UserSelectionActionCompressor as _0x3b209c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x21dd29(0x117)];[_0x21dd29(0x12d)];[_0x21dd29(0x137)];constructor(){const _0x178bf6=_0x21dd29;this[_0x178bf6(0x117)]=new Map(),this[_0x178bf6(0x12d)]=new Map(),this[_0x178bf6(0x137)]=new _0x176347();const _0x3ceaae=this[_0x178bf6(0x137)][_0x178bf6(0x119)](_0x178bf6(0x12b));this[_0x178bf6(0x125)](0x1,_0x178bf6(0x12f),new _0x33502c(0x1,_0x178bf6(0x12f),void 0x0)),this[_0x178bf6(0x135)](0xa,_0x178bf6(0x132),_0x229280),this[_0x178bf6(0x135)](0xb,_0x178bf6(0x133),_0x27c084),this[_0x178bf6(0x135)](0xc,_0x178bf6(0x12b),_0x3295aa),this[_0x178bf6(0x135)](0xd,_0x178bf6(0x131),_0x1c7a2c),this[_0x178bf6(0x135)](0xe,_0x178bf6(0x118),_0x1c7a2c),this[_0x178bf6(0x135)](0xf,_0x178bf6(0x12e),_0x1c7a2c),this[_0x178bf6(0x135)](0x10,_0x178bf6(0x113),_0x229280),this[_0x178bf6(0x135)](0x11,_0x178bf6(0x11c),_0x1c7a2c),this[_0x178bf6(0x125)](0x12,_0x178bf6(0x10c),new _0x28e276(0x12,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x138))),this[_0x178bf6(0x125)](0x13,_0x178bf6(0x111),new _0x28e276(0x13,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x10e))),this[_0x178bf6(0x135)](0x14,_0x178bf6(0x10f),_0x1c7a2c),this[_0x178bf6(0x134)](0x64,_0x178bf6(0x121),_0x325995),this[_0x178bf6(0x134)](0x65,_0x178bf6(0x123),_0xb15979),this[_0x178bf6(0x134)](0x66,_0x178bf6(0x136),_0x3e59a8),this[_0x178bf6(0x134)](0x67,_0x178bf6(0x12a),_0x3b209c);}[_0x21dd29(0x11a)](_0x233219){const _0x169036=_0x21dd29;if(!_0x233219||!_0x233219[0x0])throw new _0x4159ea(_0x169036(0x11f),this);const _0x2d9754={'types':[],'buffers':[],'baseVersion':_0x233219[0x0][_0x169036(0x11d)]};for(;_0x233219[_0x169036(0x115)];)this[_0x169036(0x122)](_0x169036(0x12a))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x121))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x123))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x136))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x10c))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x111))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x233219[0x0][_0x169036(0x116)])[_0x169036(0x11a)](_0x2d9754,_0x233219);return _0x2d9754;}[_0x21dd29(0x126)](_0x4f3b9e){const _0x352f21=_0x21dd29,_0x148fac=[];for(;_0x4f3b9e[_0x352f21(0x11b)][_0x352f21(0x115)];){const _0x3b8541=this[_0x352f21(0x117)][_0x352f21(0x10d)](_0x4f3b9e[_0x352f21(0x11b)][0x0]);if(!_0x3b8541)throw new _0x4159ea(_0x352f21(0x127),this,{'type':_0x4f3b9e[_0x352f21(0x11b)][0x0]});_0x3b8541[_0x352f21(0x126)](_0x148fac,_0x4f3b9e);}return _0x148fac[_0x352f21(0x120)]((_0x474615,_0x1e3301)=>_0x474615[_0x352f21(0x11d)]=_0x4f3b9e[_0x352f21(0x11d)]+_0x1e3301),_0x148fac;}[_0x21dd29(0x122)](_0x56c618){const _0x137adb=_0x21dd29;return this[_0x137adb(0x12d)][_0x137adb(0x10d)](_0x56c618);}[_0x21dd29(0x135)](_0x29c529,_0x136d23,_0x3f7d5e){const _0x1ad9c1=_0x21dd29,_0x576391=new _0x3f7d5e(_0x29c529,_0x136d23,this[_0x1ad9c1(0x137)][_0x1ad9c1(0x119)](_0x136d23));this[_0x1ad9c1(0x125)](_0x29c529,_0x136d23,_0x576391);}[_0x21dd29(0x134)](_0x1bb8d1,_0x3f4252,_0x2b9f16){const _0x4fac7b=_0x21dd29,_0xd49da0=new _0x2b9f16(_0x1bb8d1,this);this[_0x4fac7b(0x125)](_0x1bb8d1,_0x3f4252,_0xd49da0);}[_0x21dd29(0x125)](_0x4e8103,_0x17f95e,_0x500a22){const _0x35976d=_0x21dd29;this[_0x35976d(0x117)][_0x35976d(0x130)](_0x4e8103,_0x500a22),this[_0x35976d(0x12d)][_0x35976d(0x130)](_0x17f95e,_0x500a22);}}
23
+ const _0x1fdf24=_0x53f9;function _0x53f9(_0x3308c6,_0x4e14c2){const _0x251a58=_0x251a();return _0x53f9=function(_0x53f975,_0x5acac5){_0x53f975=_0x53f975-0xcb;let _0x387895=_0x251a58[_0x53f975];return _0x387895;},_0x53f9(_0x3308c6,_0x4e14c2);}(function(_0x1e4365,_0x128ef7){const _0x200f6d=_0x53f9,_0x5ea021=_0x1e4365();while(!![]){try{const _0x5acb44=-parseInt(_0x200f6d(0xcd))/0x1+-parseInt(_0x200f6d(0xe9))/0x2*(parseInt(_0x200f6d(0xef))/0x3)+parseInt(_0x200f6d(0xd0))/0x4*(parseInt(_0x200f6d(0xe6))/0x5)+parseInt(_0x200f6d(0xd8))/0x6+parseInt(_0x200f6d(0xf7))/0x7*(parseInt(_0x200f6d(0xd4))/0x8)+parseInt(_0x200f6d(0xf9))/0x9+parseInt(_0x200f6d(0xed))/0xa*(parseInt(_0x200f6d(0xdd))/0xb);if(_0x5acb44===_0x128ef7)break;else _0x5ea021['push'](_0x5ea021['shift']());}catch(_0x52b343){_0x5ea021['push'](_0x5ea021['shift']());}}}(_0x251a,0xb7b8f));function _0x251a(){const _0x59fa02=['_registerCompressor','_getCompressorByName','_compressorById','590ufVQGu','MarkerOperation','92010wsvAEz','baseVersion','get','_protobufFactory','DeletingAction','MergeOperation','InsertOperation','SplitOperation','189nwOaPB','CommentMarkerOperation','6748227wShYyv','AttributeOperation','_registerOperationCompressor','types','1301974vzCTuQ','_compressorByName','comment','13388RKzzlq','length','TypingAction','decompress-compressor-not-found','114960weDyuF','RootAttributeOperation','__className','RenameOperation','3035316WivWyl','NoOperation','set','SuggestionMarkerOperation','UserSelectionAction','79816KtDvqg','forEach','_registerActionCompressor','getDescriptor','compress','ForwardDeletingAction','MoveOperation','no-operations-provided','decompress','20BNIvkL','RootOperation','suggestion','2YzeqNX'];_0x251a=function(){return _0x59fa02;};return _0x251a();}import{CKEditorError as _0x4770ab}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x2ec679}from'./protobuffactory.js';import{OperationCompressor as _0x16ab49}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3ff63b}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x1eaa1d}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x55cdcb}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x6c5605}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x2627c0}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x393268}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x208b56}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x464692}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x18178c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1fdf24(0xec)];[_0x1fdf24(0xce)];[_0x1fdf24(0xf2)];constructor(){const _0x5764fe=_0x1fdf24;this[_0x5764fe(0xec)]=new Map(),this[_0x5764fe(0xce)]=new Map(),this[_0x5764fe(0xf2)]=new _0x2ec679();const _0x107e35=this[_0x5764fe(0xf2)][_0x5764fe(0xe0)](_0x5764fe(0xee));this[_0x5764fe(0xea)](0x1,_0x5764fe(0xd9),new _0x6c5605(0x1,_0x5764fe(0xd9),void 0x0)),this[_0x5764fe(0xcb)](0xa,_0x5764fe(0xfa),_0x3ff63b),this[_0x5764fe(0xcb)](0xb,_0x5764fe(0xf5),_0x1eaa1d),this[_0x5764fe(0xcb)](0xc,_0x5764fe(0xee),_0x55cdcb),this[_0x5764fe(0xcb)](0xd,_0x5764fe(0xf4),_0x16ab49),this[_0x5764fe(0xcb)](0xe,_0x5764fe(0xe3),_0x16ab49),this[_0x5764fe(0xcb)](0xf,_0x5764fe(0xd7),_0x16ab49),this[_0x5764fe(0xcb)](0x10,_0x5764fe(0xd5),_0x3ff63b),this[_0x5764fe(0xcb)](0x11,_0x5764fe(0xf6),_0x16ab49),this[_0x5764fe(0xea)](0x12,_0x5764fe(0xf8),new _0x2627c0(0x12,_0x5764fe(0xee),_0x107e35,_0x5764fe(0xcf))),this[_0x5764fe(0xea)](0x13,_0x5764fe(0xdb),new _0x2627c0(0x13,_0x5764fe(0xee),_0x107e35,_0x5764fe(0xe8))),this[_0x5764fe(0xcb)](0x14,_0x5764fe(0xe7),_0x16ab49),this[_0x5764fe(0xdf)](0x64,_0x5764fe(0xd2),_0x393268),this[_0x5764fe(0xdf)](0x65,_0x5764fe(0xf3),_0x208b56),this[_0x5764fe(0xdf)](0x66,_0x5764fe(0xe2),_0x464692),this[_0x5764fe(0xdf)](0x67,_0x5764fe(0xdc),_0x18178c);}[_0x1fdf24(0xe1)](_0x5bc9c0){const _0xccf2a3=_0x1fdf24;if(!_0x5bc9c0||!_0x5bc9c0[0x0])throw new _0x4770ab(_0xccf2a3(0xe4),this);const _0x5ce134={'types':[],'buffers':[],'baseVersion':_0x5bc9c0[0x0][_0xccf2a3(0xf0)]};for(;_0x5bc9c0[_0xccf2a3(0xd1)];)this[_0xccf2a3(0xeb)](_0xccf2a3(0xdc))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0xccf2a3(0xd2))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0xccf2a3(0xf3))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0xccf2a3(0xe2))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0xccf2a3(0xf8))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0xccf2a3(0xdb))[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0)||this[_0xccf2a3(0xeb)](_0x5bc9c0[0x0][_0xccf2a3(0xd6)])[_0xccf2a3(0xe1)](_0x5ce134,_0x5bc9c0);return _0x5ce134;}[_0x1fdf24(0xe5)](_0x2fe452){const _0x219df7=_0x1fdf24,_0x5435cd=[];for(;_0x2fe452[_0x219df7(0xcc)][_0x219df7(0xd1)];){const _0x3912e2=this[_0x219df7(0xec)][_0x219df7(0xf1)](_0x2fe452[_0x219df7(0xcc)][0x0]);if(!_0x3912e2)throw new _0x4770ab(_0x219df7(0xd3),this,{'type':_0x2fe452[_0x219df7(0xcc)][0x0]});_0x3912e2[_0x219df7(0xe5)](_0x5435cd,_0x2fe452);}return _0x5435cd[_0x219df7(0xde)]((_0x548875,_0x47a1db)=>_0x548875[_0x219df7(0xf0)]=_0x2fe452[_0x219df7(0xf0)]+_0x47a1db),_0x5435cd;}[_0x1fdf24(0xeb)](_0x5f1840){const _0x1abcee=_0x1fdf24;return this[_0x1abcee(0xce)][_0x1abcee(0xf1)](_0x5f1840);}[_0x1fdf24(0xcb)](_0x287ec0,_0x5cbe7f,_0x24ee19){const _0x5e191a=_0x1fdf24,_0x19fb4c=new _0x24ee19(_0x287ec0,_0x5cbe7f,this[_0x5e191a(0xf2)][_0x5e191a(0xe0)](_0x5cbe7f));this[_0x5e191a(0xea)](_0x287ec0,_0x5cbe7f,_0x19fb4c);}[_0x1fdf24(0xdf)](_0x54e05e,_0x5f2c96,_0x17c5c7){const _0x4912fb=_0x1fdf24,_0x281eb8=new _0x17c5c7(_0x54e05e,this);this[_0x4912fb(0xea)](_0x54e05e,_0x5f2c96,_0x281eb8);}[_0x1fdf24(0xea)](_0x2e17a7,_0x82edd,_0x126a96){const _0x10ac79=_0x1fdf24;this[_0x10ac79(0xec)][_0x10ac79(0xda)](_0x2e17a7,_0x126a96),this[_0x10ac79(0xce)][_0x10ac79(0xda)](_0x82edd,_0x126a96);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x341d(_0x277775,_0x319372){var _0x25f874=_0x25f8();return _0x341d=function(_0x341dfd,_0x4741e1){_0x341dfd=_0x341dfd-0xa3;var _0x277215=_0x25f874[_0x341dfd];return _0x277215;},_0x341d(_0x277775,_0x319372);}(function(_0x1d0f61,_0x91648d){var _0x1023a4=_0x341d,_0x420012=_0x1d0f61();while(!![]){try{var _0x2a198f=-parseInt(_0x1023a4(0xa6))/0x1+-parseInt(_0x1023a4(0xa5))/0x2+parseInt(_0x1023a4(0xac))/0x3+-parseInt(_0x1023a4(0xaa))/0x4*(-parseInt(_0x1023a4(0xa4))/0x5)+-parseInt(_0x1023a4(0xad))/0x6*(parseInt(_0x1023a4(0xa8))/0x7)+parseInt(_0x1023a4(0xa7))/0x8*(-parseInt(_0x1023a4(0xa9))/0x9)+parseInt(_0x1023a4(0xab))/0xa*(parseInt(_0x1023a4(0xa3))/0xb);if(_0x2a198f===_0x91648d)break;else _0x420012['push'](_0x420012['shift']());}catch(_0x57eaee){_0x420012['push'](_0x420012['shift']());}}}(_0x25f8,0x21769));export{Compressor}from'./compressor.js';function _0x25f8(){var _0x359ef9=['78xqxSxn','11qLPLxh','5345AzydPJ','349930noqIxu','135903sjheCJ','1844120saiqco','133756HbFKxN','9egCdtK','692RmfMTD','7098580prhJDc','96171EKhABc'];_0x25f8=function(){return _0x359ef9;};return _0x25f8();}
23
+ function _0x3cec(){var _0x705811=['9KEAxkt','20060yNbsFg','45394Rcgrhu','1792362QsNAif','3SFXDrR','1830yddhWu','926764aQbQOg','12585852hBslhD','13Eorbhm','11249VlAGVO','6094450MhQGWw','3816lIxNRp'];_0x3cec=function(){return _0x705811;};return _0x3cec();}function _0x59fb(_0x3eb3cb,_0x55b264){var _0x3cecb0=_0x3cec();return _0x59fb=function(_0x59fb41,_0x36f82a){_0x59fb41=_0x59fb41-0xe5;var _0x5e2671=_0x3cecb0[_0x59fb41];return _0x5e2671;},_0x59fb(_0x3eb3cb,_0x55b264);}(function(_0x616545,_0x566857){var _0x1de4e8=_0x59fb,_0x261d2b=_0x616545();while(!![]){try{var _0x316ae5=parseInt(_0x1de4e8(0xe6))/0x1*(parseInt(_0x1de4e8(0xec))/0x2)+parseInt(_0x1de4e8(0xee))/0x3*(parseInt(_0x1de4e8(0xf0))/0x4)+-parseInt(_0x1de4e8(0xeb))/0x5*(-parseInt(_0x1de4e8(0xef))/0x6)+parseInt(_0x1de4e8(0xe7))/0x7*(-parseInt(_0x1de4e8(0xe9))/0x8)+parseInt(_0x1de4e8(0xea))/0x9*(parseInt(_0x1de4e8(0xe8))/0xa)+parseInt(_0x1de4e8(0xed))/0xb+-parseInt(_0x1de4e8(0xe5))/0xc;if(_0x316ae5===_0x566857)break;else _0x261d2b['push'](_0x261d2b['shift']());}catch(_0x5a8ed9){_0x261d2b['push'](_0x261d2b['shift']());}}}(_0x3cec,0xacb6f));export{Compressor}from'./compressor.js';