@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.4 → 46.0.1-alpha.6

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 _0x41ca80=_0x3aa0;(function(_0x217868,_0xee2234){const _0x1bee30=_0x3aa0,_0x4d9c3b=_0x217868();while(!![]){try{const _0x37232b=parseInt(_0x1bee30(0xe1))/0x1+-parseInt(_0x1bee30(0xd3))/0x2*(parseInt(_0x1bee30(0xef))/0x3)+-parseInt(_0x1bee30(0xd5))/0x4*(-parseInt(_0x1bee30(0xdf))/0x5)+parseInt(_0x1bee30(0xdb))/0x6+-parseInt(_0x1bee30(0xe7))/0x7*(parseInt(_0x1bee30(0xda))/0x8)+-parseInt(_0x1bee30(0xe5))/0x9*(-parseInt(_0x1bee30(0xe9))/0xa)+parseInt(_0x1bee30(0xd9))/0xb*(-parseInt(_0x1bee30(0xdc))/0xc);if(_0x37232b===_0xee2234)break;else _0x4d9c3b['push'](_0x4d9c3b['shift']());}catch(_0x51d981){_0x4d9c3b['push'](_0x4d9c3b['shift']());}}}(_0x3f06,0x97b8e));import{ActionCompressor as _0x1a0623}from'./actioncompressor.js';import{arePositionsEqual as _0x156a9e,getPositionShiftedBy as _0x1f7e40}from'../utils.js';import{cloneDeep as _0x54f960}from'es-toolkit/compat';function _0x3f06(){const _0x1b17f7=['1061341PJqFHr','_checkOperation','decompress','__className','337563WgbppE','buffers','343OadEQO','sourcePosition','160uuxgQA','_compareOperations','compress','_decompressSingleOperation','_getCompressorByName','_combineNext','9nzvzQd','$graveyard','targetPosition','654668uozmhR','root','1135248WNRjdt','howMany','_context','_splitCurrent','44YVxjSm','142408EMWeKa','4313496lGAIFl','3119736bJTfuH','_compressSingleOperation','wasUndone','20yUeHOg','MoveOperation'];_0x3f06=function(){return _0x1b17f7;};return _0x3f06();}function _0x3aa0(_0x4e2864,_0x4775fd){const _0x3f06cf=_0x3f06();return _0x3aa0=function(_0x3aa08a,_0x485ea4){_0x3aa08a=_0x3aa08a-0xd1;let _0x21fec2=_0x3f06cf[_0x3aa08a];return _0x21fec2;},_0x3aa0(_0x4e2864,_0x4775fd);}export class DeletingActionCompressor extends _0x1a0623{[_0x41ca80(0xee)](_0x40bc8a,_0x5157f8){const _0x4cce6f=_0x41ca80;return _0x5157f8[_0x4cce6f(0xd6)]++,_0x5157f8[_0x4cce6f(0xe8)]=_0x54f960(_0x40bc8a[_0x4cce6f(0xe8)]),_0x5157f8;}[_0x41ca80(0xd8)](_0x2bcfd6){const _0x1277f6=_0x41ca80,_0x1d99c8=_0x54f960(_0x2bcfd6);return _0x2bcfd6[_0x1277f6(0xd6)]--,_0x1d99c8[_0x1277f6(0xd6)]=0x1,_0x1d99c8[_0x1277f6(0xe8)]=_0x1f7e40(_0x1d99c8[_0x1277f6(0xe8)],_0x2bcfd6[_0x1277f6(0xd6)]),_0x1d99c8;}[_0x41ca80(0xea)](_0x156125,_0x4204b1){const _0x342ec9=_0x41ca80;return!(!this[_0x342ec9(0xe2)](_0x156125)||!this[_0x342ec9(0xe2)](_0x4204b1))&&(_0x156a9e(_0x1f7e40(_0x156125[_0x342ec9(0xe8)],-0x1),_0x4204b1[_0x342ec9(0xe8)])&&_0x156a9e(_0x156125[_0x342ec9(0xd2)],_0x4204b1[_0x342ec9(0xd2)]));}[_0x41ca80(0xdd)](_0x121e79){const _0x452307=_0x41ca80,_0x49412a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x452307(0xd7)][_0x452307(0xed)](_0x452307(0xe0))[_0x452307(0xeb)](_0x49412a,[_0x121e79]),_0x49412a[_0x452307(0xe6)][0x0];}[_0x41ca80(0xec)](_0x3dda27){const _0x2ec681=_0x41ca80,_0x3a5bb0=[];return this[_0x2ec681(0xd7)][_0x2ec681(0xed)](_0x2ec681(0xe0))[_0x2ec681(0xe3)](_0x3a5bb0,_0x3dda27),_0x3a5bb0[0x0];}[_0x41ca80(0xe2)](_0x57debc){const _0xee4e4f=_0x41ca80;return _0xee4e4f(0xe0)==_0x57debc[_0xee4e4f(0xe4)]&&_0xee4e4f(0xd1)==_0x57debc[_0xee4e4f(0xd2)][_0xee4e4f(0xd4)]&&0x1==_0x57debc[_0xee4e4f(0xd6)]&&!_0x57debc[_0xee4e4f(0xde)];}}
23
+ function _0x144e(_0x34143e,_0x2d1a7c){const _0x123a62=_0x123a();return _0x144e=function(_0x144e75,_0x2b36dc){_0x144e75=_0x144e75-0x1ee;let _0x59e642=_0x123a62[_0x144e75];return _0x59e642;},_0x144e(_0x34143e,_0x2d1a7c);}const _0x2b134c=_0x144e;(function(_0x44cef6,_0x5352bc){const _0x13123d=_0x144e,_0x29ada0=_0x44cef6();while(!![]){try{const _0x566218=-parseInt(_0x13123d(0x1ef))/0x1*(-parseInt(_0x13123d(0x208))/0x2)+parseInt(_0x13123d(0x20c))/0x3*(-parseInt(_0x13123d(0x1fe))/0x4)+parseInt(_0x13123d(0x204))/0x5*(-parseInt(_0x13123d(0x1ee))/0x6)+parseInt(_0x13123d(0x1f8))/0x7*(parseInt(_0x13123d(0x1f4))/0x8)+parseInt(_0x13123d(0x1f0))/0x9+-parseInt(_0x13123d(0x205))/0xa*(parseInt(_0x13123d(0x1f5))/0xb)+parseInt(_0x13123d(0x1f1))/0xc;if(_0x566218===_0x5352bc)break;else _0x29ada0['push'](_0x29ada0['shift']());}catch(_0x23d123){_0x29ada0['push'](_0x29ada0['shift']());}}}(_0x123a,0x2c73d));import{ActionCompressor as _0x36a13d}from'./actioncompressor.js';import{arePositionsEqual as _0x493d8d,getPositionShiftedBy as _0x379ff6}from'../utils.js';import{cloneDeep as _0x169722}from'es-toolkit/compat';function _0x123a(){const _0x18e0d2=['targetPosition','9TdGYQQ','13158maNyrr','1693YrRdNQ','957717wpIdLb','3367860IFNwHw','buffers','MoveOperation','1164056sVuDIc','913IGskzo','_compressSingleOperation','sourcePosition','14nGsDAw','_splitCurrent','compress','root','__className','_decompressSingleOperation','427888QJnRCU','_checkOperation','_context','_getCompressorByName','howMany','$graveyard','775vWOXdK','9310QusPPy','wasUndone','decompress','286iMKuqk','_combineNext','_compareOperations'];_0x123a=function(){return _0x18e0d2;};return _0x123a();}export class DeletingActionCompressor extends _0x36a13d{[_0x2b134c(0x209)](_0x164f5f,_0x48f988){const _0x3a74bc=_0x2b134c;return _0x48f988[_0x3a74bc(0x202)]++,_0x48f988[_0x3a74bc(0x1f7)]=_0x169722(_0x164f5f[_0x3a74bc(0x1f7)]),_0x48f988;}[_0x2b134c(0x1f9)](_0x1b7858){const _0x410a61=_0x2b134c,_0x126c0d=_0x169722(_0x1b7858);return _0x1b7858[_0x410a61(0x202)]--,_0x126c0d[_0x410a61(0x202)]=0x1,_0x126c0d[_0x410a61(0x1f7)]=_0x379ff6(_0x126c0d[_0x410a61(0x1f7)],_0x1b7858[_0x410a61(0x202)]),_0x126c0d;}[_0x2b134c(0x20a)](_0x4a06c0,_0x4dc529){const _0x3a2088=_0x2b134c;return!(!this[_0x3a2088(0x1ff)](_0x4a06c0)||!this[_0x3a2088(0x1ff)](_0x4dc529))&&(_0x493d8d(_0x379ff6(_0x4a06c0[_0x3a2088(0x1f7)],-0x1),_0x4dc529[_0x3a2088(0x1f7)])&&_0x493d8d(_0x4a06c0[_0x3a2088(0x20b)],_0x4dc529[_0x3a2088(0x20b)]));}[_0x2b134c(0x1f6)](_0x1eada2){const _0x14f1ec=_0x2b134c,_0x470a49={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x14f1ec(0x200)][_0x14f1ec(0x201)](_0x14f1ec(0x1f3))[_0x14f1ec(0x1fa)](_0x470a49,[_0x1eada2]),_0x470a49[_0x14f1ec(0x1f2)][0x0];}[_0x2b134c(0x1fd)](_0x42c27c){const _0x4e6825=_0x2b134c,_0x430d9e=[];return this[_0x4e6825(0x200)][_0x4e6825(0x201)](_0x4e6825(0x1f3))[_0x4e6825(0x207)](_0x430d9e,_0x42c27c),_0x430d9e[0x0];}[_0x2b134c(0x1ff)](_0xa2c35){const _0xccf987=_0x2b134c;return _0xccf987(0x1f3)==_0xa2c35[_0xccf987(0x1fc)]&&_0xccf987(0x203)==_0xa2c35[_0xccf987(0x20b)][_0xccf987(0x1fb)]&&0x1==_0xa2c35[_0xccf987(0x202)]&&!_0xa2c35[_0xccf987(0x206)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154579=_0x970f;(function(_0x5b85d6,_0x334fc9){const _0x206572=_0x970f,_0x5edf99=_0x5b85d6();while(!![]){try{const _0x4f8535=-parseInt(_0x206572(0x162))/0x1*(-parseInt(_0x206572(0x15d))/0x2)+parseInt(_0x206572(0x15c))/0x3+-parseInt(_0x206572(0x161))/0x4*(parseInt(_0x206572(0x16f))/0x5)+-parseInt(_0x206572(0x16c))/0x6*(parseInt(_0x206572(0x165))/0x7)+-parseInt(_0x206572(0x15a))/0x8+-parseInt(_0x206572(0x16e))/0x9+parseInt(_0x206572(0x16a))/0xa;if(_0x4f8535===_0x334fc9)break;else _0x5edf99['push'](_0x5edf99['shift']());}catch(_0x6e9480){_0x5edf99['push'](_0x5edf99['shift']());}}}(_0x7b70,0xcc89b));import{ActionCompressor as _0x230990}from'./actioncompressor.js';function _0x7b70(){const _0x10a222=['sourcePosition','$graveyard','25107190nDZrPf','buffers','618uWgULC','decompress','13011309AEiAxG','10hYHncQ','wasUndone','_checkOperation','__className','_combineNext','_compressSingleOperation','compress','MoveOperation','4748008pluWOj','_decompressSingleOperation','2861337UCBPKO','4rvOkgZ','_context','_splitCurrent','howMany','908216rlCbdT','475543kjYnaD','_getCompressorByName','root','73703FQltMU','targetPosition','_compareOperations'];_0x7b70=function(){return _0x10a222;};return _0x7b70();}import{arePositionsEqual as _0x3586bc}from'../utils.js';import{cloneDeep as _0x47215}from'es-toolkit/compat';function _0x970f(_0x49caab,_0x2f3bbb){const _0x7b708b=_0x7b70();return _0x970f=function(_0x970f37,_0x3ff4fb){_0x970f37=_0x970f37-0x155;let _0x245df7=_0x7b708b[_0x970f37];return _0x245df7;},_0x970f(_0x49caab,_0x2f3bbb);}export class ForwardDeletingActionCompressor extends _0x230990{[_0x154579(0x156)](_0x35d54f,_0x3177b8){const _0x209116=_0x154579;return _0x3177b8[_0x209116(0x160)]++,_0x3177b8;}[_0x154579(0x15f)](_0x27f641){const _0x4e4603=_0x154579,_0x2dedeb=_0x47215(_0x27f641);return _0x2dedeb[_0x4e4603(0x160)]=0x1,_0x27f641[_0x4e4603(0x160)]--,_0x2dedeb;}[_0x154579(0x167)](_0x43b2c8,_0x10713b){const _0x49d00=_0x154579;return!(!this[_0x49d00(0x171)](_0x43b2c8)||!this[_0x49d00(0x171)](_0x10713b))&&(_0x3586bc(_0x43b2c8[_0x49d00(0x168)],_0x10713b[_0x49d00(0x168)])&&_0x3586bc(_0x43b2c8[_0x49d00(0x166)],_0x10713b[_0x49d00(0x166)]));}[_0x154579(0x157)](_0x32ebe9){const _0x290411=_0x154579,_0x2f18b7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x290411(0x15e)][_0x290411(0x163)](_0x290411(0x159))[_0x290411(0x158)](_0x2f18b7,[_0x32ebe9]),_0x2f18b7[_0x290411(0x16b)][0x0];}[_0x154579(0x15b)](_0x505f55){const _0x45cecf=_0x154579,_0x22661e=[];return this[_0x45cecf(0x15e)][_0x45cecf(0x163)](_0x45cecf(0x159))[_0x45cecf(0x16d)](_0x22661e,_0x505f55),_0x22661e[0x0];}[_0x154579(0x171)](_0x45e7fd){const _0x2dc81e=_0x154579;return _0x2dc81e(0x159)==_0x45e7fd[_0x2dc81e(0x155)]&&_0x2dc81e(0x169)==_0x45e7fd[_0x2dc81e(0x166)][_0x2dc81e(0x164)]&&0x1==_0x45e7fd[_0x2dc81e(0x160)]&&!_0x45e7fd[_0x2dc81e(0x170)];}}
23
+ function _0x465a(_0x23f042,_0x2e203e){const _0xd30599=_0xd305();return _0x465a=function(_0x465a3f,_0x29c62c){_0x465a3f=_0x465a3f-0xf0;let _0x517ca4=_0xd30599[_0x465a3f];return _0x517ca4;},_0x465a(_0x23f042,_0x2e203e);}const _0x56e571=_0x465a;function _0xd305(){const _0x2aa48b=['_getCompressorByName','588776aJXPfX','MoveOperation','howMany','buffers','173820MLirzq','$graveyard','decompress','5FUBpRU','_decompressSingleOperation','_checkOperation','_combineNext','_compareOperations','sourcePosition','_context','8797644SaWyCR','wasUndone','1729836LNrJgG','_splitCurrent','__className','554066JJbsbd','416904AYfdPy','compress','targetPosition','326205QLxVwv','_compressSingleOperation','root','91dvILDE'];_0xd305=function(){return _0x2aa48b;};return _0xd305();}(function(_0x29070b,_0x3baeef){const _0x3c8709=_0x465a,_0x56e316=_0x29070b();while(!![]){try{const _0x1d7c8e=-parseInt(_0x3c8709(0xff))/0x1+parseInt(_0x3c8709(0xfb))/0x2+parseInt(_0x3c8709(0xf8))/0x3+parseInt(_0x3c8709(0x108))/0x4+parseInt(_0x3c8709(0x10b))/0x5*(-parseInt(_0x3c8709(0xfc))/0x6)+parseInt(_0x3c8709(0x102))/0x7*(parseInt(_0x3c8709(0x104))/0x8)+-parseInt(_0x3c8709(0xf6))/0x9;if(_0x1d7c8e===_0x3baeef)break;else _0x56e316['push'](_0x56e316['shift']());}catch(_0x373837){_0x56e316['push'](_0x56e316['shift']());}}}(_0xd305,0x75590));import{ActionCompressor as _0x1def9a}from'./actioncompressor.js';import{arePositionsEqual as _0x53933d}from'../utils.js';import{cloneDeep as _0xd60cda}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1def9a{[_0x56e571(0xf2)](_0x1b9ac5,_0x37285f){const _0x4b7c32=_0x56e571;return _0x37285f[_0x4b7c32(0x106)]++,_0x37285f;}[_0x56e571(0xf9)](_0x4dc0aa){const _0x1335bf=_0x56e571,_0x2c717e=_0xd60cda(_0x4dc0aa);return _0x2c717e[_0x1335bf(0x106)]=0x1,_0x4dc0aa[_0x1335bf(0x106)]--,_0x2c717e;}[_0x56e571(0xf3)](_0x386ad3,_0x505bbf){const _0x5649f2=_0x56e571;return!(!this[_0x5649f2(0xf1)](_0x386ad3)||!this[_0x5649f2(0xf1)](_0x505bbf))&&(_0x53933d(_0x386ad3[_0x5649f2(0xf4)],_0x505bbf[_0x5649f2(0xf4)])&&_0x53933d(_0x386ad3[_0x5649f2(0xfe)],_0x505bbf[_0x5649f2(0xfe)]));}[_0x56e571(0x100)](_0x704237){const _0x408ef8=_0x56e571,_0x2d53d8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x408ef8(0xf5)][_0x408ef8(0x103)](_0x408ef8(0x105))[_0x408ef8(0xfd)](_0x2d53d8,[_0x704237]),_0x2d53d8[_0x408ef8(0x107)][0x0];}[_0x56e571(0xf0)](_0xa909e5){const _0x1e5f74=_0x56e571,_0x3686a6=[];return this[_0x1e5f74(0xf5)][_0x1e5f74(0x103)](_0x1e5f74(0x105))[_0x1e5f74(0x10a)](_0x3686a6,_0xa909e5),_0x3686a6[0x0];}[_0x56e571(0xf1)](_0x4a1b67){const _0x4454ba=_0x56e571;return _0x4454ba(0x105)==_0x4a1b67[_0x4454ba(0xfa)]&&_0x4454ba(0x109)==_0x4a1b67[_0x4454ba(0xfe)][_0x4454ba(0x101)]&&0x1==_0x4a1b67[_0x4454ba(0x106)]&&!_0x4a1b67[_0x4454ba(0xf7)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44e13c=_0x81aa;function _0x1f4e(){const _0x2c5d05=['keys','InsertOperation','590022nweTwD','_getCompressorByName','iterator','data','from','decompress','11819990AnPWBp','5115eGRmtS','12CXLOrz','_compareOperations','_checkOperation','substr','length','_combineNext','__className','next','42530279aBOraU','49wWcbGc','value','_decompressSingleOperation','2629740dxBbVW','127oraujY','_compareAttributes','6514jAIVuU','position','9KbVpYv','buffers','wasUndone','_splitCurrent','_context','every','1772eivohj','attributes','nodes','compress','_compressSingleOperation','9706072gZsXMI'];_0x1f4e=function(){return _0x2c5d05;};return _0x1f4e();}(function(_0x9b4349,_0x44f2f){const _0x1f8fc4=_0x81aa,_0x25648d=_0x9b4349();while(!![]){try{const _0x813d7c=parseInt(_0x1f8fc4(0x9f))/0x1*(parseInt(_0x1f8fc4(0xa1))/0x2)+-parseInt(_0x1f8fc4(0x9e))/0x3+parseInt(_0x1f8fc4(0xa9))/0x4*(parseInt(_0x1f8fc4(0x91))/0x5)+-parseInt(_0x1f8fc4(0xb1))/0x6*(parseInt(_0x1f8fc4(0x9b))/0x7)+-parseInt(_0x1f8fc4(0xae))/0x8*(parseInt(_0x1f8fc4(0xa3))/0x9)+-parseInt(_0x1f8fc4(0x90))/0xa+parseInt(_0x1f8fc4(0x9a))/0xb*(parseInt(_0x1f8fc4(0x92))/0xc);if(_0x813d7c===_0x44f2f)break;else _0x25648d['push'](_0x25648d['shift']());}catch(_0x3cb41e){_0x25648d['push'](_0x25648d['shift']());}}}(_0x1f4e,0xbcb9c));function _0x81aa(_0x36f34c,_0x54449f){const _0x1f4e45=_0x1f4e();return _0x81aa=function(_0x81aaff,_0x59a65e){_0x81aaff=_0x81aaff-0x8b;let _0x2bff0a=_0x1f4e45[_0x81aaff];return _0x2bff0a;},_0x81aa(_0x36f34c,_0x54449f);}import{ActionCompressor as _0x15952c}from'./actioncompressor.js';import{arePositionsEqual as _0x1c0f36,getPositionShiftedBy as _0x4bb7a7}from'../utils.js';import{cloneDeep as _0x49ad8d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15952c{[_0x44e13c(0x97)](_0x1deac7,_0x495f5b){const _0x15c1fe=_0x44e13c;return _0x495f5b[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)]+=_0x1deac7[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)],_0x495f5b;}[_0x44e13c(0xa6)](_0x5291d3){const _0x2cc5cf=_0x44e13c,_0x41694d=_0x49ad8d(_0x5291d3),_0x429adb=_0x41694d[_0x2cc5cf(0xab)][0x0],_0x209a01=_0x5291d3[_0x2cc5cf(0xab)][0x0],_0x4ae4a7=_0x209a01[_0x2cc5cf(0x8d)][Symbol[_0x2cc5cf(0x8c)]]()[_0x2cc5cf(0x99)]()[_0x2cc5cf(0x9c)],_0x5be8ae=_0x4ae4a7[_0x2cc5cf(0x96)];return _0x429adb[_0x2cc5cf(0x8d)]=_0x4ae4a7,_0x209a01[_0x2cc5cf(0x8d)]=_0x209a01[_0x2cc5cf(0x8d)][_0x2cc5cf(0x95)](_0x5be8ae),_0x5291d3[_0x2cc5cf(0xa2)]=_0x4bb7a7(_0x5291d3[_0x2cc5cf(0xa2)],_0x5be8ae),_0x41694d;}[_0x44e13c(0x93)](_0x2b0749,_0x36c584){const _0x174dac=_0x44e13c;if(this[_0x174dac(0x94)](_0x2b0749)&&this[_0x174dac(0x94)](_0x36c584)){const _0xe70f35=_0x2b0749[_0x174dac(0xab)][0x0][_0x174dac(0x8d)][_0x174dac(0x96)],_0x76d00c=_0x1c0f36(_0x4bb7a7(_0x2b0749[_0x174dac(0xa2)],_0xe70f35),_0x36c584[_0x174dac(0xa2)]),_0x13d83e=_0x2b0749[_0x174dac(0xab)][0x0],_0x424c5c=_0x36c584[_0x174dac(0xab)][0x0];return _0x76d00c&&this[_0x174dac(0xa0)](_0x13d83e,_0x424c5c);}return!0x1;}[_0x44e13c(0xad)](_0x2e5698){const _0x398ffd=_0x44e13c,_0x5112c7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x398ffd(0xa7)][_0x398ffd(0x8b)](_0x398ffd(0xb0))[_0x398ffd(0xac)](_0x5112c7,[_0x2e5698]),_0x5112c7[_0x398ffd(0xa4)][0x0];}[_0x44e13c(0x9d)](_0x34c3ee){const _0x5f0a3f=_0x44e13c,_0x197bb3=[];return this[_0x5f0a3f(0xa7)][_0x5f0a3f(0x8b)](_0x5f0a3f(0xb0))[_0x5f0a3f(0x8f)](_0x197bb3,_0x34c3ee),_0x197bb3[0x0];}[_0x44e13c(0x94)](_0x2d38a6){const _0x30c89f=_0x44e13c;return _0x30c89f(0xb0)==_0x2d38a6[_0x30c89f(0x98)]&&0x1==_0x2d38a6[_0x30c89f(0xab)][_0x30c89f(0x96)]&&_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)]&&!_0x2d38a6[_0x30c89f(0xa5)]&&0x1==Array[_0x30c89f(0x8e)](_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)])[_0x30c89f(0x96)];}[_0x44e13c(0xa0)](_0x39ae54,_0x4a24b4){const _0x167053=_0x44e13c,_0x20eb09=Object[_0x167053(0xaf)](_0x39ae54[_0x167053(0xaa)]||{}),_0xe756a6=Object[_0x167053(0xaf)](_0x4a24b4[_0x167053(0xaa)]||{});return _0x20eb09[_0x167053(0x96)]===_0xe756a6[_0x167053(0x96)]&&_0x20eb09[_0x167053(0xa8)](_0x3379f7=>_0x4a24b4[_0x167053(0xaa)][_0x3379f7]&&_0x4a24b4[_0x167053(0xaa)][_0x3379f7]===_0x39ae54[_0x167053(0xaa)][_0x3379f7]);}}
23
+ const _0x26d518=_0x2f94;(function(_0x231679,_0x49f2a6){const _0x349bb2=_0x2f94,_0x1eb9b0=_0x231679();while(!![]){try{const _0x171c4f=parseInt(_0x349bb2(0x17c))/0x1*(-parseInt(_0x349bb2(0x178))/0x2)+-parseInt(_0x349bb2(0x17e))/0x3+-parseInt(_0x349bb2(0x16f))/0x4+-parseInt(_0x349bb2(0x163))/0x5+-parseInt(_0x349bb2(0x182))/0x6+parseInt(_0x349bb2(0x16c))/0x7+-parseInt(_0x349bb2(0x164))/0x8*(-parseInt(_0x349bb2(0x17a))/0x9);if(_0x171c4f===_0x49f2a6)break;else _0x1eb9b0['push'](_0x1eb9b0['shift']());}catch(_0x292ca3){_0x1eb9b0['push'](_0x1eb9b0['shift']());}}}(_0x3d10,0x3ca8c));function _0x2f94(_0x57e6d5,_0x341c9c){const _0x3d1091=_0x3d10();return _0x2f94=function(_0x2f9446,_0x8d8056){_0x2f9446=_0x2f9446-0x161;let _0x1bbdbb=_0x3d1091[_0x2f9446];return _0x1bbdbb;},_0x2f94(_0x57e6d5,_0x341c9c);}import{ActionCompressor as _0x15b47c}from'./actioncompressor.js';function _0x3d10(){const _0xcd228=['9nweeMq','every','18133lNuUCg','_splitCurrent','1287276YfLFsH','next','InsertOperation','_decompressSingleOperation','1138566qmCYZy','__className','length','_getCompressorByName','decompress','493980ExdTjy','7851224ynjwtp','_combineNext','value','keys','_compressSingleOperation','iterator','_compareOperations','compress','2782017ACyPqz','_context','_checkOperation','1288240ZFwXfc','substr','_compareAttributes','wasUndone','attributes','data','position','buffers','from','10rzZXVB','nodes'];_0x3d10=function(){return _0xcd228;};return _0x3d10();}import{arePositionsEqual as _0x43c5a7,getPositionShiftedBy as _0x3a206f}from'../utils.js';import{cloneDeep as _0x4805f7}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15b47c{[_0x26d518(0x165)](_0x12e23f,_0x4c66e9){const _0x2a1fba=_0x26d518;return _0x4c66e9[_0x2a1fba(0x179)][0x0][_0x2a1fba(0x174)]+=_0x12e23f[_0x2a1fba(0x179)][0x0][_0x2a1fba(0x174)],_0x4c66e9;}[_0x26d518(0x17d)](_0x4e90da){const _0x4c9c8b=_0x26d518,_0x28deaf=_0x4805f7(_0x4e90da),_0x4b923f=_0x28deaf[_0x4c9c8b(0x179)][0x0],_0x1b5125=_0x4e90da[_0x4c9c8b(0x179)][0x0],_0x969ed9=_0x1b5125[_0x4c9c8b(0x174)][Symbol[_0x4c9c8b(0x169)]]()[_0x4c9c8b(0x17f)]()[_0x4c9c8b(0x166)],_0xf2c65d=_0x969ed9[_0x4c9c8b(0x184)];return _0x4b923f[_0x4c9c8b(0x174)]=_0x969ed9,_0x1b5125[_0x4c9c8b(0x174)]=_0x1b5125[_0x4c9c8b(0x174)][_0x4c9c8b(0x170)](_0xf2c65d),_0x4e90da[_0x4c9c8b(0x175)]=_0x3a206f(_0x4e90da[_0x4c9c8b(0x175)],_0xf2c65d),_0x28deaf;}[_0x26d518(0x16a)](_0x1b3832,_0x5b70b5){const _0x594111=_0x26d518;if(this[_0x594111(0x16e)](_0x1b3832)&&this[_0x594111(0x16e)](_0x5b70b5)){const _0x112285=_0x1b3832[_0x594111(0x179)][0x0][_0x594111(0x174)][_0x594111(0x184)],_0x9159bf=_0x43c5a7(_0x3a206f(_0x1b3832[_0x594111(0x175)],_0x112285),_0x5b70b5[_0x594111(0x175)]),_0x2f75b5=_0x1b3832[_0x594111(0x179)][0x0],_0x4ca8d3=_0x5b70b5[_0x594111(0x179)][0x0];return _0x9159bf&&this[_0x594111(0x171)](_0x2f75b5,_0x4ca8d3);}return!0x1;}[_0x26d518(0x168)](_0x5699fa){const _0xfcc9a1=_0x26d518,_0x382e94={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xfcc9a1(0x16d)][_0xfcc9a1(0x161)](_0xfcc9a1(0x180))[_0xfcc9a1(0x16b)](_0x382e94,[_0x5699fa]),_0x382e94[_0xfcc9a1(0x176)][0x0];}[_0x26d518(0x181)](_0x4b513d){const _0x5c4cac=_0x26d518,_0x36d348=[];return this[_0x5c4cac(0x16d)][_0x5c4cac(0x161)](_0x5c4cac(0x180))[_0x5c4cac(0x162)](_0x36d348,_0x4b513d),_0x36d348[0x0];}[_0x26d518(0x16e)](_0x3ad69b){const _0x1d777a=_0x26d518;return _0x1d777a(0x180)==_0x3ad69b[_0x1d777a(0x183)]&&0x1==_0x3ad69b[_0x1d777a(0x179)][_0x1d777a(0x184)]&&_0x3ad69b[_0x1d777a(0x179)][0x0][_0x1d777a(0x174)]&&!_0x3ad69b[_0x1d777a(0x172)]&&0x1==Array[_0x1d777a(0x177)](_0x3ad69b[_0x1d777a(0x179)][0x0][_0x1d777a(0x174)])[_0x1d777a(0x184)];}[_0x26d518(0x171)](_0x55166b,_0x5ab531){const _0x45316a=_0x26d518,_0xb40d05=Object[_0x45316a(0x167)](_0x55166b[_0x45316a(0x173)]||{}),_0x5731ca=Object[_0x45316a(0x167)](_0x5ab531[_0x45316a(0x173)]||{});return _0xb40d05[_0x45316a(0x184)]===_0x5731ca[_0x45316a(0x184)]&&_0xb40d05[_0x45316a(0x17b)](_0x148786=>_0x5ab531[_0x45316a(0x173)][_0x148786]&&_0x5ab531[_0x45316a(0x173)][_0x148786]===_0x55166b[_0x45316a(0x173)][_0x148786]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x15d7(){const _0x4a1bd2=['compress','__className','oldRange','_compareOperations','buffers','_decompressSingleOperation','push','user:position:','startsWith','split','stickiness','decompress','388378rCdyjA','MarkerOperation','10gwRIEv','newRange','5548854sZUfZJ','287255lfGqpl','_id','user:','_getCompressorByName','_context','types','2450583eJofNZ','_compressSingleOperation','6NSvJAf','toNone','9578000XUDmrn','shift','name','start','end','7ExZltj','4444AJxfHt','42384CykQQY','4pGHeYV','1840188JQudBQ'];_0x15d7=function(){return _0x4a1bd2;};return _0x15d7();}const _0x3d35a3=_0x3b6d;(function(_0x174fbf,_0x5bc734){const _0x28fd5f=_0x3b6d,_0x39b279=_0x174fbf();while(!![]){try{const _0x161a47=-parseInt(_0x28fd5f(0xea))/0x1*(parseInt(_0x28fd5f(0xdd))/0x2)+parseInt(_0x28fd5f(0xf5))/0x3+parseInt(_0x28fd5f(0xf4))/0x4*(-parseInt(_0x28fd5f(0xe2))/0x5)+-parseInt(_0x28fd5f(0xe1))/0x6*(parseInt(_0x28fd5f(0xf1))/0x7)+parseInt(_0x28fd5f(0xec))/0x8+-parseInt(_0x28fd5f(0xe8))/0x9*(parseInt(_0x28fd5f(0xdf))/0xa)+parseInt(_0x28fd5f(0xf2))/0xb*(parseInt(_0x28fd5f(0xf3))/0xc);if(_0x161a47===_0x5bc734)break;else _0x39b279['push'](_0x39b279['shift']());}catch(_0x188e77){_0x39b279['push'](_0x39b279['shift']());}}}(_0x15d7,0xc7ae5));import{ActionCompressor as _0x16366b}from'./actioncompressor.js';import{arePositionsEqual as _0x443211}from'../utils.js';function _0x3b6d(_0x578df2,_0x49d95c){const _0x15d7e3=_0x15d7();return _0x3b6d=function(_0x3b6de9,_0x67d24a){_0x3b6de9=_0x3b6de9-0xd2;let _0x3b6309=_0x15d7e3[_0x3b6de9];return _0x3b6309;},_0x3b6d(_0x578df2,_0x49d95c);}import{cloneDeep as _0x42f419}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x16366b{[_0x3d35a3(0xf6)](_0x304cb5,_0x4022a5){const _0x2bc2fd=_0x3d35a3;if(!this[_0x2bc2fd(0xd4)](_0x4022a5[0x0],_0x4022a5[0x1]))return!0x1;const _0x20c277=_0x4022a5[_0x2bc2fd(0xed)]();return _0x20c277[_0x2bc2fd(0xd3)]=null,_0x20c277[_0x2bc2fd(0xe0)]&&_0x443211(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xef)],_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)])&&(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)]=null),_0x4022a5[_0x2bc2fd(0xed)](),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe3)]),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](0x0),_0x304cb5[_0x2bc2fd(0xd5)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe9)](_0x20c277)),!0x0;}[_0x3d35a3(0xdc)](_0x3a6f7e,_0xb17051){const _0x42b783=_0x3d35a3,_0x585e20=this[_0x42b783(0xd6)](_0xb17051);_0x585e20[_0x42b783(0xe0)]&&!_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]&&(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xef)]));const _0x374c25=_0x42f419(_0x585e20);_0x374c25[_0x42b783(0xe0)]&&(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)][_0x42b783(0xdb)]=_0x42b783(0xeb),_0x374c25[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)])),_0x374c25[_0x42b783(0xee)]=_0x42b783(0xd8)+_0x374c25[_0x42b783(0xee)][_0x42b783(0xda)](':')[0x2],_0xb17051[_0x42b783(0xe7)][_0x42b783(0xed)](),_0x3a6f7e[_0x42b783(0xd7)](_0x585e20),_0x3a6f7e[_0x42b783(0xd7)](_0x374c25);}[_0x3d35a3(0xe9)](_0xc99325){const _0x242e3c=_0x3d35a3,_0x3113be={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x242e3c(0xe6)][_0x242e3c(0xe5)](_0x242e3c(0xde))[_0x242e3c(0xf6)](_0x3113be,[_0xc99325]),_0x3113be[_0x242e3c(0xd5)][0x0];}[_0x3d35a3(0xd6)](_0x34dcc8){const _0xc863b4=_0x3d35a3,_0x534d7b=[];return this[_0xc863b4(0xe6)][_0xc863b4(0xe5)](_0xc863b4(0xde))[_0xc863b4(0xdc)](_0x534d7b,_0x34dcc8),_0x534d7b[0x0];}[_0x3d35a3(0xd4)](_0x1963d5,_0x32f715){const _0x57dfb6=_0x3d35a3;return!(!_0x1963d5||!_0x32f715)&&(_0x57dfb6(0xde)==_0x1963d5[_0x57dfb6(0xd2)]&&_0x57dfb6(0xde)==_0x32f715[_0x57dfb6(0xd2)]&&!(!_0x1963d5[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||!_0x32f715[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||_0x1963d5[_0x57dfb6(0xee)]==_0x32f715[_0x57dfb6(0xee)]));}}
23
+ const _0x5527dd=_0x1aa1;function _0x5075(){const _0x993cff=['end','toNone','3622797PjdTbP','compress','2504368MsFIMs','32fryATo','1520272vmqByQ','startsWith','push','user:position:','oldRange','split','decompress','MarkerOperation','1614570pSyyjQ','__className','start','name','newRange','buffers','5KdYXcD','types','_context','_decompressSingleOperation','_getCompressorByName','shift','157041BhplIi','3641890DZDcDu','_id','user:','_compressSingleOperation','stickiness','694408KeewNg','_compareOperations'];_0x5075=function(){return _0x993cff;};return _0x5075();}(function(_0x240252,_0x2668ae){const _0x532178=_0x1aa1,_0x5d288d=_0x240252();while(!![]){try{const _0x1e5102=parseInt(_0x532178(0x1dd))/0x1+parseInt(_0x532178(0x1e4))/0x2*(parseInt(_0x532178(0x1d7))/0x3)+-parseInt(_0x532178(0x1e3))/0x4+parseInt(_0x532178(0x1d1))/0x5*(parseInt(_0x532178(0x1cb))/0x6)+-parseInt(_0x532178(0x1d8))/0x7+parseInt(_0x532178(0x1e5))/0x8+-parseInt(_0x532178(0x1e1))/0x9;if(_0x1e5102===_0x2668ae)break;else _0x5d288d['push'](_0x5d288d['shift']());}catch(_0x5c9966){_0x5d288d['push'](_0x5d288d['shift']());}}}(_0x5075,0x6bf52));import{ActionCompressor as _0x181cfa}from'./actioncompressor.js';import{arePositionsEqual as _0x1eca71}from'../utils.js';function _0x1aa1(_0x10199e,_0x5ed217){const _0x50758e=_0x5075();return _0x1aa1=function(_0x1aa122,_0x37c92c){_0x1aa122=_0x1aa122-0x1c8;let _0x1d195e=_0x50758e[_0x1aa122];return _0x1d195e;},_0x1aa1(_0x10199e,_0x5ed217);}import{cloneDeep as _0x8256ae}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x181cfa{[_0x5527dd(0x1e2)](_0x474d4b,_0x58a91d){const _0x4ac961=_0x5527dd;if(!this[_0x4ac961(0x1de)](_0x58a91d[0x0],_0x58a91d[0x1]))return!0x1;const _0x2ba15f=_0x58a91d[_0x4ac961(0x1d6)]();return _0x2ba15f[_0x4ac961(0x1e9)]=null,_0x2ba15f[_0x4ac961(0x1cf)]&&_0x1eca71(_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1cd)],_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1df)])&&(_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1df)]=null),_0x58a91d[_0x4ac961(0x1d6)](),_0x474d4b[_0x4ac961(0x1d2)][_0x4ac961(0x1e7)](this[_0x4ac961(0x1d9)]),_0x474d4b[_0x4ac961(0x1d2)][_0x4ac961(0x1e7)](0x0),_0x474d4b[_0x4ac961(0x1d0)][_0x4ac961(0x1e7)](this[_0x4ac961(0x1db)](_0x2ba15f)),!0x0;}[_0x5527dd(0x1c9)](_0x492e6f,_0x2c4bbf){const _0x3a44a7=_0x5527dd,_0x544b5c=this[_0x3a44a7(0x1d4)](_0x2c4bbf);_0x544b5c[_0x3a44a7(0x1cf)]&&!_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]&&(_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]=_0x8256ae(_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)]));const _0x2e354a=_0x8256ae(_0x544b5c);_0x2e354a[_0x3a44a7(0x1cf)]&&(_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)][_0x3a44a7(0x1dc)]=_0x3a44a7(0x1e0),_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]=_0x8256ae(_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)])),_0x2e354a[_0x3a44a7(0x1ce)]=_0x3a44a7(0x1e8)+_0x2e354a[_0x3a44a7(0x1ce)][_0x3a44a7(0x1c8)](':')[0x2],_0x2c4bbf[_0x3a44a7(0x1d2)][_0x3a44a7(0x1d6)](),_0x492e6f[_0x3a44a7(0x1e7)](_0x544b5c),_0x492e6f[_0x3a44a7(0x1e7)](_0x2e354a);}[_0x5527dd(0x1db)](_0x4ab526){const _0x5cd355=_0x5527dd,_0x2bef6a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5cd355(0x1d3)][_0x5cd355(0x1d5)](_0x5cd355(0x1ca))[_0x5cd355(0x1e2)](_0x2bef6a,[_0x4ab526]),_0x2bef6a[_0x5cd355(0x1d0)][0x0];}[_0x5527dd(0x1d4)](_0x2d832c){const _0xac4c18=_0x5527dd,_0x49b975=[];return this[_0xac4c18(0x1d3)][_0xac4c18(0x1d5)](_0xac4c18(0x1ca))[_0xac4c18(0x1c9)](_0x49b975,_0x2d832c),_0x49b975[0x0];}[_0x5527dd(0x1de)](_0x5546fa,_0x444cd3){const _0xedc920=_0x5527dd;return!(!_0x5546fa||!_0x444cd3)&&(_0xedc920(0x1ca)==_0x5546fa[_0xedc920(0x1cc)]&&_0xedc920(0x1ca)==_0x444cd3[_0xedc920(0x1cc)]&&!(!_0x5546fa[_0xedc920(0x1ce)][_0xedc920(0x1e6)](_0xedc920(0x1da))||!_0x444cd3[_0xedc920(0x1ce)][_0xedc920(0x1e6)](_0xedc920(0x1da))||_0x5546fa[_0xedc920(0x1ce)]==_0x444cd3[_0xedc920(0x1ce)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13fdb8=_0x1c24;(function(_0x2961aa,_0x306959){const _0x3142f3=_0x1c24,_0x3c0e47=_0x2961aa();while(!![]){try{const _0x57ef6e=parseInt(_0x3142f3(0x1a5))/0x1+-parseInt(_0x3142f3(0x1bd))/0x2*(-parseInt(_0x3142f3(0x1b2))/0x3)+-parseInt(_0x3142f3(0x1cb))/0x4*(-parseInt(_0x3142f3(0x1a9))/0x5)+parseInt(_0x3142f3(0x1c1))/0x6*(-parseInt(_0x3142f3(0x1a3))/0x7)+parseInt(_0x3142f3(0x1be))/0x8*(-parseInt(_0x3142f3(0x1c9))/0x9)+-parseInt(_0x3142f3(0x1a8))/0xa+parseInt(_0x3142f3(0x1b1))/0xb;if(_0x57ef6e===_0x306959)break;else _0x3c0e47['push'](_0x3c0e47['shift']());}catch(_0x588c0d){_0x3c0e47['push'](_0x3c0e47['shift']());}}}(_0x1fdf,0x8563f));import{CKEditorError as _0x3d8b3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4cc919}from'./protobuffactory.js';import{OperationCompressor as _0x528109}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x321fec}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x75b79f}from'./operationcompressor/insertoperationcompressor.js';function _0x1fdf(){const _0x561c48=['_registerCompressor','RootOperation','baseVersion','2SPYCof','8KWDSqm','_registerOperationCompressor','RootAttributeOperation','18bNQYzM','compress','getDescriptor','TypingAction','decompress-compressor-not-found','NoOperation','length','set','2961351TxlcGD','MarkerOperation','12XAVduV','AttributeOperation','_compressorByName','InsertOperation','RenameOperation','MoveOperation','no-operations-provided','suggestion','934444ZwwyGF','decompress','796623mrzeiI','forEach','DeletingAction','10757360XgxmCi','352345sxCqRR','SplitOperation','types','_getCompressorByName','_protobufFactory','UserSelectionAction','_registerActionCompressor','_compressorById','3801149bcGnvh','2994087NTEoIW','comment','__className','CommentMarkerOperation','ForwardDeletingAction','get','MergeOperation','SuggestionMarkerOperation'];_0x1fdf=function(){return _0x561c48;};return _0x1fdf();}import{MarkerOperationCompressor as _0x5bdc69}from'./operationcompressor/markeroperationcompressor.js';function _0x1c24(_0x59c93c,_0x5f3db4){const _0x1fdf31=_0x1fdf();return _0x1c24=function(_0x1c242b,_0x1b3d97){_0x1c242b=_0x1c242b-0x19f;let _0x4b2ad5=_0x1fdf31[_0x1c242b];return _0x4b2ad5;},_0x1c24(_0x59c93c,_0x5f3db4);}import{NoOperationCompressor as _0x4c1c8f}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x5b6910}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x22de67}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5252b9}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x414a6b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x25e253}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x13fdb8(0x1b0)];[_0x13fdb8(0x1cd)];[_0x13fdb8(0x1ad)];constructor(){const _0x110485=_0x13fdb8;this[_0x110485(0x1b0)]=new Map(),this[_0x110485(0x1cd)]=new Map(),this[_0x110485(0x1ad)]=new _0x4cc919();const _0x8ef81d=this[_0x110485(0x1ad)][_0x110485(0x1c3)](_0x110485(0x1ca));this[_0x110485(0x1ba)](0x1,_0x110485(0x1c6),new _0x4c1c8f(0x1,_0x110485(0x1c6),void 0x0)),this[_0x110485(0x1bf)](0xa,_0x110485(0x1cc),_0x321fec),this[_0x110485(0x1bf)](0xb,_0x110485(0x1ce),_0x75b79f),this[_0x110485(0x1bf)](0xc,_0x110485(0x1ca),_0x5bdc69),this[_0x110485(0x1bf)](0xd,_0x110485(0x1b8),_0x528109),this[_0x110485(0x1bf)](0xe,_0x110485(0x1a0),_0x528109),this[_0x110485(0x1bf)](0xf,_0x110485(0x19f),_0x528109),this[_0x110485(0x1bf)](0x10,_0x110485(0x1c0),_0x321fec),this[_0x110485(0x1bf)](0x11,_0x110485(0x1aa),_0x528109),this[_0x110485(0x1ba)](0x12,_0x110485(0x1b5),new _0x5b6910(0x12,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1b3))),this[_0x110485(0x1ba)](0x13,_0x110485(0x1b9),new _0x5b6910(0x13,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1a2))),this[_0x110485(0x1bf)](0x14,_0x110485(0x1bb),_0x528109),this[_0x110485(0x1af)](0x64,_0x110485(0x1c4),_0x22de67),this[_0x110485(0x1af)](0x65,_0x110485(0x1a7),_0x5252b9),this[_0x110485(0x1af)](0x66,_0x110485(0x1b6),_0x414a6b),this[_0x110485(0x1af)](0x67,_0x110485(0x1ae),_0x25e253);}[_0x13fdb8(0x1c2)](_0x3220c7){const _0x35afd1=_0x13fdb8;if(!_0x3220c7||!_0x3220c7[0x0])throw new _0x3d8b3b(_0x35afd1(0x1a1),this);const _0x15b888={'types':[],'buffers':[],'baseVersion':_0x3220c7[0x0][_0x35afd1(0x1bc)]};for(;_0x3220c7[_0x35afd1(0x1c7)];)this[_0x35afd1(0x1ac)](_0x35afd1(0x1ae))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1c4))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1a7))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b6))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b5))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b9))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x3220c7[0x0][_0x35afd1(0x1b4)])[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7);return _0x15b888;}[_0x13fdb8(0x1a4)](_0x4e0b3c){const _0x3fe7f0=_0x13fdb8,_0x30ea9f=[];for(;_0x4e0b3c[_0x3fe7f0(0x1ab)][_0x3fe7f0(0x1c7)];){const _0x550f52=this[_0x3fe7f0(0x1b0)][_0x3fe7f0(0x1b7)](_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]);if(!_0x550f52)throw new _0x3d8b3b(_0x3fe7f0(0x1c5),this,{'type':_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]});_0x550f52[_0x3fe7f0(0x1a4)](_0x30ea9f,_0x4e0b3c);}return _0x30ea9f[_0x3fe7f0(0x1a6)]((_0x504e3d,_0x36743f)=>_0x504e3d[_0x3fe7f0(0x1bc)]=_0x4e0b3c[_0x3fe7f0(0x1bc)]+_0x36743f),_0x30ea9f;}[_0x13fdb8(0x1ac)](_0x446c05){const _0x3067a2=_0x13fdb8;return this[_0x3067a2(0x1cd)][_0x3067a2(0x1b7)](_0x446c05);}[_0x13fdb8(0x1bf)](_0x290a33,_0x50f61f,_0x9aa86a){const _0x3a9221=_0x13fdb8,_0x2348c5=new _0x9aa86a(_0x290a33,_0x50f61f,this[_0x3a9221(0x1ad)][_0x3a9221(0x1c3)](_0x50f61f));this[_0x3a9221(0x1ba)](_0x290a33,_0x50f61f,_0x2348c5);}[_0x13fdb8(0x1af)](_0x2d2715,_0x3060a5,_0x44c7c5){const _0x42bbd8=_0x13fdb8,_0x308866=new _0x44c7c5(_0x2d2715,this);this[_0x42bbd8(0x1ba)](_0x2d2715,_0x3060a5,_0x308866);}[_0x13fdb8(0x1ba)](_0x494739,_0x245821,_0x169587){const _0x259cd5=_0x13fdb8;this[_0x259cd5(0x1b0)][_0x259cd5(0x1c8)](_0x494739,_0x169587),this[_0x259cd5(0x1cd)][_0x259cd5(0x1c8)](_0x245821,_0x169587);}}
23
+ const _0x1936c7=_0x433e;(function(_0x505b30,_0x2c8cc8){const _0x1ac5cf=_0x433e,_0x28c351=_0x505b30();while(!![]){try{const _0x27d434=parseInt(_0x1ac5cf(0xa0))/0x1*(-parseInt(_0x1ac5cf(0xb7))/0x2)+-parseInt(_0x1ac5cf(0xa9))/0x3*(-parseInt(_0x1ac5cf(0xa5))/0x4)+-parseInt(_0x1ac5cf(0xad))/0x5*(parseInt(_0x1ac5cf(0xae))/0x6)+parseInt(_0x1ac5cf(0xa2))/0x7*(parseInt(_0x1ac5cf(0x97))/0x8)+parseInt(_0x1ac5cf(0xa4))/0x9*(parseInt(_0x1ac5cf(0xaf))/0xa)+parseInt(_0x1ac5cf(0x9f))/0xb+-parseInt(_0x1ac5cf(0x9a))/0xc*(parseInt(_0x1ac5cf(0xb0))/0xd);if(_0x27d434===_0x2c8cc8)break;else _0x28c351['push'](_0x28c351['shift']());}catch(_0x225bd0){_0x28c351['push'](_0x28c351['shift']());}}}(_0x38b6,0xb9036));import{CKEditorError as _0x24b07c}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x10d0c8}from'./protobuffactory.js';import{OperationCompressor as _0x305152}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x384a98}from'./operationcompressor/attributeoperationcompressor.js';function _0x433e(_0x5ca652,_0x40580e){const _0x38b60e=_0x38b6();return _0x433e=function(_0x433e89,_0xba640f){_0x433e89=_0x433e89-0x92;let _0x290379=_0x38b60e[_0x433e89];return _0x290379;},_0x433e(_0x5ca652,_0x40580e);}function _0x38b6(){const _0x9b6c67=['AttributeOperation','_registerActionCompressor','MarkerOperation','MoveOperation','CommentMarkerOperation','RootAttributeOperation','forEach','_registerCompressor','no-operations-provided','length','DeletingAction','_compressorById','209240lRZLTW','decompress-compressor-not-found','baseVersion','84LxASFk','RenameOperation','_compressorByName','ForwardDeletingAction','types','15077744DSOXMD','42eLxXzS','InsertOperation','63pwlONE','_registerOperationCompressor','18tAMZIG','3220804wvngME','NoOperation','decompress','comment','3oQupIO','getDescriptor','_protobufFactory','set','545995SDvSyF','6tiZoIA','1690940MrlCWm','3193151PGKMYL','RootOperation','TypingAction','compress','MergeOperation','__className','suggestion','7766CQmlyB','_getCompressorByName','UserSelectionAction','get','SuggestionMarkerOperation','SplitOperation'];_0x38b6=function(){return _0x9b6c67;};return _0x38b6();}import{InsertOperationCompressor as _0x3d005b}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x574379}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x5d88ed}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x12f998}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x81ceb9}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x360e58}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x38bbd}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x54f221}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1936c7(0x96)];[_0x1936c7(0x9c)];[_0x1936c7(0xab)];constructor(){const _0x30e534=_0x1936c7;this[_0x30e534(0x96)]=new Map(),this[_0x30e534(0x9c)]=new Map(),this[_0x30e534(0xab)]=new _0x10d0c8();const _0x2053b9=this[_0x30e534(0xab)][_0x30e534(0xaa)](_0x30e534(0xbf));this[_0x30e534(0x92)](0x1,_0x30e534(0xa6),new _0x5d88ed(0x1,_0x30e534(0xa6),void 0x0)),this[_0x30e534(0xa3)](0xa,_0x30e534(0xbd),_0x384a98),this[_0x30e534(0xa3)](0xb,_0x30e534(0xa1),_0x3d005b),this[_0x30e534(0xa3)](0xc,_0x30e534(0xbf),_0x574379),this[_0x30e534(0xa3)](0xd,_0x30e534(0xb4),_0x305152),this[_0x30e534(0xa3)](0xe,_0x30e534(0xc0),_0x305152),this[_0x30e534(0xa3)](0xf,_0x30e534(0x9b),_0x305152),this[_0x30e534(0xa3)](0x10,_0x30e534(0xc2),_0x384a98),this[_0x30e534(0xa3)](0x11,_0x30e534(0xbc),_0x305152),this[_0x30e534(0x92)](0x12,_0x30e534(0xc1),new _0x12f998(0x12,_0x30e534(0xbf),_0x2053b9,_0x30e534(0xa8))),this[_0x30e534(0x92)](0x13,_0x30e534(0xbb),new _0x12f998(0x13,_0x30e534(0xbf),_0x2053b9,_0x30e534(0xb6))),this[_0x30e534(0xa3)](0x14,_0x30e534(0xb1),_0x305152),this[_0x30e534(0xbe)](0x64,_0x30e534(0xb2),_0x81ceb9),this[_0x30e534(0xbe)](0x65,_0x30e534(0x95),_0x360e58),this[_0x30e534(0xbe)](0x66,_0x30e534(0x9d),_0x38bbd),this[_0x30e534(0xbe)](0x67,_0x30e534(0xb9),_0x54f221);}[_0x1936c7(0xb3)](_0x463809){const _0x27d43e=_0x1936c7;if(!_0x463809||!_0x463809[0x0])throw new _0x24b07c(_0x27d43e(0x93),this);const _0x320961={'types':[],'buffers':[],'baseVersion':_0x463809[0x0][_0x27d43e(0x99)]};for(;_0x463809[_0x27d43e(0x94)];)this[_0x27d43e(0xb8)](_0x27d43e(0xb9))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xb2))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0x95))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0x9d))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xc1))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xbb))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x463809[0x0][_0x27d43e(0xb5)])[_0x27d43e(0xb3)](_0x320961,_0x463809);return _0x320961;}[_0x1936c7(0xa7)](_0x1065f4){const _0x2c8613=_0x1936c7,_0x2fe0eb=[];for(;_0x1065f4[_0x2c8613(0x9e)][_0x2c8613(0x94)];){const _0x4b5dfc=this[_0x2c8613(0x96)][_0x2c8613(0xba)](_0x1065f4[_0x2c8613(0x9e)][0x0]);if(!_0x4b5dfc)throw new _0x24b07c(_0x2c8613(0x98),this,{'type':_0x1065f4[_0x2c8613(0x9e)][0x0]});_0x4b5dfc[_0x2c8613(0xa7)](_0x2fe0eb,_0x1065f4);}return _0x2fe0eb[_0x2c8613(0xc3)]((_0x1ab694,_0x543726)=>_0x1ab694[_0x2c8613(0x99)]=_0x1065f4[_0x2c8613(0x99)]+_0x543726),_0x2fe0eb;}[_0x1936c7(0xb8)](_0x7a9a3a){const _0x533677=_0x1936c7;return this[_0x533677(0x9c)][_0x533677(0xba)](_0x7a9a3a);}[_0x1936c7(0xa3)](_0x801a70,_0x2df668,_0x3fa874){const _0xc535b5=_0x1936c7,_0x47e5f2=new _0x3fa874(_0x801a70,_0x2df668,this[_0xc535b5(0xab)][_0xc535b5(0xaa)](_0x2df668));this[_0xc535b5(0x92)](_0x801a70,_0x2df668,_0x47e5f2);}[_0x1936c7(0xbe)](_0x169192,_0x65ea81,_0x2bc980){const _0x1adb48=_0x1936c7,_0x83cdd0=new _0x2bc980(_0x169192,this);this[_0x1adb48(0x92)](_0x169192,_0x65ea81,_0x83cdd0);}[_0x1936c7(0x92)](_0x5667cf,_0x50e79e,_0x1be76){const _0x5d2a84=_0x1936c7;this[_0x5d2a84(0x96)][_0x5d2a84(0xac)](_0x5667cf,_0x1be76),this[_0x5d2a84(0x9c)][_0x5d2a84(0xac)](_0x50e79e,_0x1be76);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1b1ca8,_0x2e0a08){var _0xf9efe6=_0x5d69,_0xeedeb2=_0x1b1ca8();while(!![]){try{var _0x30add9=parseInt(_0xf9efe6(0x1c1))/0x1*(-parseInt(_0xf9efe6(0x1bd))/0x2)+-parseInt(_0xf9efe6(0x1be))/0x3+-parseInt(_0xf9efe6(0x1bf))/0x4*(-parseInt(_0xf9efe6(0x1bc))/0x5)+-parseInt(_0xf9efe6(0x1bb))/0x6*(-parseInt(_0xf9efe6(0x1c0))/0x7)+parseInt(_0xf9efe6(0x1c5))/0x8*(parseInt(_0xf9efe6(0x1c3))/0x9)+-parseInt(_0xf9efe6(0x1c4))/0xa+-parseInt(_0xf9efe6(0x1c2))/0xb;if(_0x30add9===_0x2e0a08)break;else _0xeedeb2['push'](_0xeedeb2['shift']());}catch(_0x2a29e4){_0xeedeb2['push'](_0xeedeb2['shift']());}}}(_0x16a9,0xd64ec));function _0x5d69(_0xf55b5b,_0x428908){var _0x16a9b9=_0x16a9();return _0x5d69=function(_0x5d698b,_0x44db37){_0x5d698b=_0x5d698b-0x1bb;var _0x13b7e5=_0x16a9b9[_0x5d698b];return _0x13b7e5;},_0x5d69(_0xf55b5b,_0x428908);}export{Compressor}from'./compressor.js';function _0x16a9(){var _0x4c2d0a=['1146RQJnjy','4273905ZJuIkI','318148HJLDwA','7HdNnOz','223lOgabZ','3939749GCNFEZ','12847743pOrxTI','2128440dBYwta','8uTGRbV','3238278plVPcZ','65wvgRpv'];_0x16a9=function(){return _0x4c2d0a;};return _0x16a9();}
23
+ (function(_0x37936c,_0x4dc6cd){var _0x34e514=_0x55d0,_0x84ca02=_0x37936c();while(!![]){try{var _0xa75e0=parseInt(_0x34e514(0xb2))/0x1*(-parseInt(_0x34e514(0xba))/0x2)+parseInt(_0x34e514(0xb8))/0x3+-parseInt(_0x34e514(0xb6))/0x4+parseInt(_0x34e514(0xb0))/0x5*(-parseInt(_0x34e514(0xb1))/0x6)+parseInt(_0x34e514(0xb7))/0x7*(-parseInt(_0x34e514(0xb3))/0x8)+parseInt(_0x34e514(0xb9))/0x9*(-parseInt(_0x34e514(0xb5))/0xa)+parseInt(_0x34e514(0xb4))/0xb;if(_0xa75e0===_0x4dc6cd)break;else _0x84ca02['push'](_0x84ca02['shift']());}catch(_0xf71e9e){_0x84ca02['push'](_0x84ca02['shift']());}}}(_0x4ecb,0x6fbc1));function _0x4ecb(){var _0x5a2bd9=['1279925AOAQno','6JzopJL','7870TCdjpq','2459672kWaGjX','24828837RcNimt','20aMOaoC','2196416aYHjhI','7UVHHwV','726108QuwzGs','2551365kCmpoy','92bZMmRs'];_0x4ecb=function(){return _0x5a2bd9;};return _0x4ecb();}function _0x55d0(_0x185e18,_0x1d4a5b){var _0x4ecbde=_0x4ecb();return _0x55d0=function(_0x55d0d3,_0x28957){_0x55d0d3=_0x55d0d3-0xb0;var _0x3d40de=_0x4ecbde[_0x55d0d3];return _0x3d40de;},_0x55d0(_0x185e18,_0x1d4a5b);}export{Compressor}from'./compressor.js';