@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.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.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d71=['trim','toLowerCase','*Reset\x20font\x20background\x20color*','fontColor','fontColor.colors','markInlineFormat','editor','document','title','isCollapsed','format','_enableCommand','find','has','label','commandName','FontSizeEditing','get','from','plugins','commandParams','selection','getRanges','fontBackgroundColor.colors','fontSize','normalizeSizeOptions','_descriptionFactory','*Set\x20font\x20color:*\x20%0','change','model','fontFamily','TrackChangesEditing','fontBackgroundColor','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','*Reset\x20font\x20family*','afterInit','FontSize','value','FontBackgroundColorEditing','*Set\x20font\x20background\x20color:*\x20%0','config'];(function(_0x5e05a5,_0x5d71f4){const _0x3de0ff=function(_0x44a60d){while(--_0x44a60d){_0x5e05a5['push'](_0x5e05a5['shift']());}};_0x3de0ff(++_0x5d71f4);}(_0x5d71,0x1ef));const _0x3de0=function(_0x5e05a5,_0x5d71f4){_0x5e05a5=_0x5e05a5-0x0;let _0x3de0ff=_0x5d71[_0x5e05a5];return _0x3de0ff;};import{Plugin as _0x52c4d0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x53fcce}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x120593}from'./utils';import{getTranslation as _0x481ac5}from'../utils/common-translations';const Zt=[{'pluginName':_0x3de0('0x19'),'commandName':_0x3de0('0x21')},{'pluginName':'FontFamilyEditing','commandName':_0x3de0('0x27')},{'pluginName':'FontColorEditing','commandName':_0x3de0('0xc')},{'pluginName':_0x3de0('0x6'),'commandName':_0x3de0('0x29')}];export default class H extends _0x52c4d0{[_0x3de0('0x3')](){const _0x1a52c3=this['editor']['locale'];for(const {pluginName:_0x126d05,commandName:_0x550a48}of Zt)this['editor'][_0x3de0('0x1c')][_0x3de0('0x16')](_0x126d05)&&this[_0x3de0('0x14')](_0x550a48);this[_0x3de0('0xf')][_0x3de0('0x1c')][_0x3de0('0x1a')](_0x3de0('0x28'))[_0x3de0('0x23')][_0x3de0('0x0')](_0x322a49=>{const _0x3177f6=_0x1a52c3['t'],{data:_0x565e53}=_0x322a49;if(null!=_0x565e53){if('fontSize'==_0x565e53[_0x3de0('0x18')]){const _0x41167b=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x41167b){const _0x141be9=_0x3177f6(this[_0x3de0('0xf')][_0x3de0('0x1c')]['get'](_0x3de0('0x4'))[_0x3de0('0x22')](this[_0x3de0('0xf')][_0x3de0('0x8')][_0x3de0('0x1a')]('fontSize.options'))[_0x3de0('0x15')](_0x25165c=>_0x25165c['model']==_0x41167b)[_0x3de0('0x11')])[_0x3de0('0xa')]();return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Set\x20font\x20size:*\x20%0',_0x141be9)};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20size*')};}if(_0x3de0('0x27')==_0x565e53[_0x3de0('0x18')]){const _0x203851=_0x565e53['commandParams'][0x0][_0x3de0('0x5')];return _0x203851?{'type':'format','content':_0x481ac5(_0x1a52c3,_0x3de0('0x1'),_0x203851)}:{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x2'))};}if('fontColor'==_0x565e53[_0x3de0('0x18')]){const _0x4f850e=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4f850e){const _0x17341a=_0x53fcce(this[_0x3de0('0xf')][_0x3de0('0x8')]['get'](_0x3de0('0xd')))[_0x3de0('0x15')](_0x5b4587=>_0x5b4587[_0x3de0('0x26')]==_0x4f850e);let _0x2539b5=_0x4f850e,_0x55c313='';return _0x17341a&&(_0x2539b5=_0x17341a['label'],_0x55c313=_0x3177f6(_0x2539b5)['toLowerCase']()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x24'),_0x55c313)[_0x3de0('0x9')](),'color':{'value':_0x4f850e,'title':_0x55c313||_0x2539b5}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x565e53[_0x3de0('0x18')]){const _0x4cb4ee=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4cb4ee){const _0x1818cb=_0x53fcce(this['editor'][_0x3de0('0x8')][_0x3de0('0x1a')](_0x3de0('0x20')))[_0x3de0('0x15')](_0x406ba0=>_0x406ba0[_0x3de0('0x26')]==_0x4cb4ee);let _0x410052=_0x4cb4ee,_0xc74528='';return _0x1818cb&&(_0x410052=_0x1818cb[_0x3de0('0x17')],_0xc74528=_0x3177f6(_0x410052)[_0x3de0('0xa')]()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x7'),_0xc74528)[_0x3de0('0x9')](),'color':{'value':_0x4cb4ee,'title':_0xc74528||_0x410052}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0xb'))};}}});}[_0x3de0('0x14')](_0x500ba4){const _0x318655=this['editor'];_0x318655[_0x3de0('0x1c')]['get']('TrackChangesEditing')['enableCommand'](_0x500ba4,(_0x3d783d,_0x1af597={})=>{const _0x3e585a=_0x318655[_0x3de0('0x26')][_0x3de0('0x10')][_0x3de0('0x1e')],_0xb6c12=_0x1af597[_0x3de0('0x5')];_0x3e585a[_0x3de0('0x12')]?_0x3d783d(_0x1af597):_0x318655[_0x3de0('0x26')][_0x3de0('0x25')](()=>{const _0x165a36=Array[_0x3de0('0x1b')](_0x3e585a[_0x3de0('0x1f')]());for(const _0x1371f4 of _0x165a36){const _0x767b7c=_0xb6c12?[_0x1371f4]:_0x120593(_0x500ba4,_0x1371f4,_0x318655[_0x3de0('0x26')]);for(const _0x3d5b87 of _0x767b7c)_0x318655['plugins']['get'](_0x3de0('0x28'))[_0x3de0('0xe')](_0x3d5b87,{'commandName':_0x500ba4,'commandParams':[{'value':_0xb6c12}]});}});});}}
23
+ const _0xd2bd=['document','fontSize','isCollapsed','markInlineFormat','*Set\x20font\x20size:*\x20%0','commandName','afterInit','trim','editor','*Reset\x20font\x20size*','*Reset\x20font\x20color*','enableCommand','FontColorEditing','normalizeSizeOptions','FontSizeEditing','*Set\x20font\x20background\x20color:*\x20%0','from','selection','has','locale','commandParams','*Set\x20font\x20family:*\x20%0','toLowerCase','fontColor.colors','get','config','fontBackgroundColor.colors','title','fontFamily','format','plugins','getRanges','fontColor','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','FontBackgroundColorEditing','model','_enableCommand','value','label','fontBackgroundColor','find'];(function(_0x44718a,_0xd2bd40){const _0x2fd91e=function(_0x1b2af2){while(--_0x1b2af2){_0x44718a['push'](_0x44718a['shift']());}};_0x2fd91e(++_0xd2bd40);}(_0xd2bd,0x183));const _0x2fd9=function(_0x44718a,_0xd2bd40){_0x44718a=_0x44718a-0x0;let _0x2fd91e=_0xd2bd[_0x44718a];return _0x2fd91e;};import{Plugin as _0x1ded07}from'ckeditor5/src/core';import{normalizeColorOptions as _0xa6acb5}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5b4981}from'./utils';import{getTranslation as _0x4842b8}from'../utils/common-translations';const Zt=[{'pluginName':_0x2fd9('0x5'),'commandName':_0x2fd9('0x22')},{'pluginName':'FontFamilyEditing','commandName':_0x2fd9('0x13')},{'pluginName':_0x2fd9('0x3'),'commandName':_0x2fd9('0x17')},{'pluginName':_0x2fd9('0x1a'),'commandName':_0x2fd9('0x1f')}];export default class H extends _0x1ded07{[_0x2fd9('0x27')](){const _0x3a423e=this[_0x2fd9('0x29')][_0x2fd9('0xa')];for(const {pluginName:_0x5a72cb,commandName:_0x49a996}of Zt)this[_0x2fd9('0x29')][_0x2fd9('0x15')][_0x2fd9('0x9')](_0x5a72cb)&&this['_enableCommand'](_0x49a996);this['editor'][_0x2fd9('0x15')][_0x2fd9('0xf')](_0x2fd9('0x18'))['_descriptionFactory']['registerDescriptionCallback'](_0x58746f=>{const _0x446589=_0x3a423e['t'],{data:_0x19155d}=_0x58746f;if(null!=_0x19155d){if(_0x2fd9('0x22')==_0x19155d[_0x2fd9('0x26')]){const _0x106769=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x106769){const _0x55f3cf=_0x446589(this[_0x2fd9('0x29')][_0x2fd9('0x15')][_0x2fd9('0xf')]('FontSize')[_0x2fd9('0x4')](this[_0x2fd9('0x29')][_0x2fd9('0x10')][_0x2fd9('0xf')]('fontSize.options'))[_0x2fd9('0x20')](_0x176d31=>_0x176d31['model']==_0x106769)[_0x2fd9('0x12')])[_0x2fd9('0xd')]();return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x25'),_0x55f3cf)};}return{'type':'format','content':_0x4842b8(_0x3a423e,_0x2fd9('0x0'))};}if('fontFamily'==_0x19155d[_0x2fd9('0x26')]){const _0x4a7c8d=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];return _0x4a7c8d?{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0xc'),_0x4a7c8d)}:{'type':'format','content':_0x4842b8(_0x3a423e,'*Reset\x20font\x20family*')};}if(_0x2fd9('0x17')==_0x19155d[_0x2fd9('0x26')]){const _0x4e2b3c=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x4e2b3c){const _0x46be2b=_0xa6acb5(this[_0x2fd9('0x29')][_0x2fd9('0x10')][_0x2fd9('0xf')](_0x2fd9('0xe')))[_0x2fd9('0x20')](_0x5f51fc=>_0x5f51fc[_0x2fd9('0x1b')]==_0x4e2b3c);let _0x6c2003=_0x4e2b3c,_0xabcafd='';return _0x46be2b&&(_0x6c2003=_0x46be2b['label'],_0xabcafd=_0x446589(_0x6c2003)['toLowerCase']()),{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x19'),_0xabcafd)[_0x2fd9('0x28')](),'color':{'value':_0x4e2b3c,'title':_0xabcafd||_0x6c2003}};}return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x1'))};}if(_0x2fd9('0x1f')==_0x19155d[_0x2fd9('0x26')]){const _0x10d51f=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x10d51f){const _0x46d076=_0xa6acb5(this[_0x2fd9('0x29')][_0x2fd9('0x10')]['get'](_0x2fd9('0x11')))['find'](_0x999585=>_0x999585[_0x2fd9('0x1b')]==_0x10d51f);let _0x245ac9=_0x10d51f,_0x22223d='';return _0x46d076&&(_0x245ac9=_0x46d076[_0x2fd9('0x1e')],_0x22223d=_0x446589(_0x245ac9)[_0x2fd9('0xd')]()),{'type':'format','content':_0x4842b8(_0x3a423e,_0x2fd9('0x6'),_0x22223d)[_0x2fd9('0x28')](),'color':{'value':_0x10d51f,'title':_0x22223d||_0x245ac9}};}return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,'*Reset\x20font\x20background\x20color*')};}}});}[_0x2fd9('0x1c')](_0x804ec5){const _0x305e87=this['editor'];_0x305e87[_0x2fd9('0x15')]['get'](_0x2fd9('0x18'))[_0x2fd9('0x2')](_0x804ec5,(_0x1ee969,_0xb7425c={})=>{const _0x4169b6=_0x305e87[_0x2fd9('0x1b')][_0x2fd9('0x21')][_0x2fd9('0x8')],_0x118489=_0xb7425c[_0x2fd9('0x1d')];_0x4169b6[_0x2fd9('0x23')]?_0x1ee969(_0xb7425c):_0x305e87['model']['change'](()=>{const _0x35e65d=Array[_0x2fd9('0x7')](_0x4169b6[_0x2fd9('0x16')]());for(const _0x389add of _0x35e65d){const _0x4535e6=_0x118489?[_0x389add]:_0x5b4981(_0x804ec5,_0x389add,_0x305e87[_0x2fd9('0x1b')]);for(const _0x3b51a4 of _0x4535e6)_0x305e87[_0x2fd9('0x15')][_0x2fd9('0xf')](_0x2fd9('0x18'))[_0x2fd9('0x24')](_0x3b51a4,{'commandName':_0x804ec5,'commandParams':[{'value':_0x118489}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54c3=['copyFormat','format','getSelectedBlocks','from','_descriptionFactory','config','length','enableCommand','FontSize','createRange','*Set\x20format\x20to:*\x20%0','model','fontSize','plugins','isFormatting','get','getRanges','commands','*Remove\x20all\x20formatting*','backward','commandName','commandParams','selection','find','join','TrackChangesEditing','split','toUpperCase','fontColor','document','getLastPosition','schema','title','entries','push','modifySelection','toLowerCase','getAttributes','normalizeSizeOptions','keys','forward','pasteFormat','word','isCollapsed','getItems','isBlock','afterInit','editor','getAttributeProperties','fontBackgroundColor','label','fontSize.options'];(function(_0x5e87b4,_0x54c30d){const _0x17f19b=function(_0xf0b424){while(--_0xf0b424){_0x5e87b4['push'](_0x5e87b4['shift']());}};_0x17f19b(++_0x54c30d);}(_0x54c3,0x1f1));const _0x17f1=function(_0x5e87b4,_0x54c30d){_0x5e87b4=_0x5e87b4-0x0;let _0x17f19b=_0x54c3[_0x5e87b4];return _0x17f19b;};import{Plugin as _0x40a02c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x27d6ca}from'ckeditor5/src/ui';import{first as _0x527e65}from'ckeditor5/src/utils';import{getTranslation as _0x34926e}from'../utils/common-translations';export default class W extends _0x40a02c{[_0x17f1('0x11')](){const _0x30f9b0=this[_0x17f1('0x12')],_0xdd25bf=_0x30f9b0[_0x17f1('0x22')],_0x3650fb=_0xdd25bf[_0x17f1('0x0')][_0x17f1('0x2d')],_0x1f2659=_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30')),_0x2b6c47=_0x30f9b0['locale'],_0x2cd079=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')]('copyFormat'),_0x2a9d52=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')](_0x17f1('0xc'));_0x2cd079&&_0x2a9d52&&(_0x1f2659[_0x17f1('0x1e')](_0x17f1('0xc'),(_0x170aaf,_0x5cadc4={})=>{const _0x3d2b4e=_0x5cadc4;_0xdd25bf['change'](()=>{const _0xe64833=Array[_0x17f1('0x1a')](_0x3650fb[_0x17f1('0x27')]()),_0x525189=_0x3650fb[_0x17f1('0xe')]?[ro(_0xdd25bf,_0x3650fb)]:_0xe64833,_0x226a7b=!!_0x527e65(function*(_0x56c4ee,_0x44e1a4){const _0x1282bf=_0x122fb6=>!!_0x527e65(function*(_0xb611a0,_0x64bb41){for(const [_0x442a62]of _0xb611a0[_0x17f1('0x8')]()){const _0x2b1d44=_0x64bb41[_0x17f1('0x13')](_0x442a62);_0x2b1d44&&_0x2b1d44[_0x17f1('0x25')]&&(yield _0x442a62);}}(_0x122fb6,_0x44e1a4));for(const _0x383640 of _0x56c4ee[_0x17f1('0x27')]())for(const _0x54fd90 of _0x383640[_0x17f1('0xf')]())!_0x44e1a4[_0x17f1('0x10')](_0x54fd90)&&_0x1282bf(_0x54fd90)&&(yield _0x54fd90);for(const _0x365d8a of _0x56c4ee[_0x17f1('0x19')]())_0x1282bf(_0x365d8a)&&(yield _0x365d8a);_0x1282bf(_0x56c4ee)&&(yield _0x56c4ee);}(_0x3650fb,_0xdd25bf[_0x17f1('0x2')]));if(_0x226a7b||0x0!==Object[_0x17f1('0xa')](_0x3d2b4e)[_0x17f1('0x1d')])for(const _0x45b444 of _0x525189)_0x1f2659['markInlineFormat'](_0x45b444,{'commandName':_0x17f1('0xc'),'commandParams':[_0x3d2b4e]});});}),_0x1f2659[_0x17f1('0x1b')]['registerDescriptionCallback'](_0x3f5d1e=>{const {data:_0x42785a}=_0x3f5d1e;if(_0x42785a&&_0x17f1('0xc')===_0x42785a[_0x17f1('0x2b')]){const _0x28e49b=[],_0x254edf=_0x42785a[_0x17f1('0x2c')][0x0];for(const [_0x3c921d,_0x58a57e]of Object[_0x17f1('0x4')](_0x254edf))_0x28e49b[_0x17f1('0x5')](no(_0x30f9b0,_0x3c921d,_0x58a57e));return _0x28e49b[_0x17f1('0x1d')]?{'type':'format','content':_0x34926e(_0x2b6c47,_0x17f1('0x21'),_0x28e49b[_0x17f1('0x2f')](',\x20'))}:{'type':_0x17f1('0x18'),'content':_0x34926e(_0x2b6c47,_0x17f1('0x29'))};}}),_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30'))[_0x17f1('0x1e')](_0x17f1('0x17')));}}function ro(_0x4290f9,_0x380196){const _0x5b0fc7=_0x4290f9['createSelection'](_0x380196);_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':'word','direction':_0x17f1('0x2a')});const _0x30523f=_0x5b0fc7['getFirstPosition']();_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':_0x17f1('0xd'),'direction':_0x17f1('0xb')});const _0x3db5db=_0x5b0fc7[_0x17f1('0x1')]();return _0x4290f9[_0x17f1('0x20')](_0x30523f,_0x3db5db);}function no(_0x59b53c,_0x17ebee,_0x2355a3){const _0x3c633e=_0x59b53c['locale']['t'],_0x247b16=_0x17ebee[_0x17f1('0x31')](/(?=[A-Z])/)['join']('\x20'),_0x22c7fc=_0x3c633e(_0x247b16['charAt'](0x0)[_0x17f1('0x32')]()+_0x247b16['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2355a3)return _0x22c7fc;if(_0x17f1('0x33')===_0x17ebee||_0x17f1('0x14')===_0x17ebee){const _0x299a0c=_0x27d6ca(_0x59b53c[_0x17f1('0x1c')][_0x17f1('0x26')]('fontColor.colors'))[_0x17f1('0x2e')](_0x4971aa=>_0x4971aa['model']==_0x2355a3);return _0x22c7fc+'\x20('+(_0x299a0c?_0x3c633e(_0x299a0c[_0x17f1('0x15')])[_0x17f1('0x7')]():_0x2355a3)+')';}if(_0x17f1('0x23')===_0x17ebee&&isNaN(parseFloat(_0x2355a3))){const _0x48040c=_0x59b53c[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x1f'))[_0x17f1('0x9')](_0x59b53c['config'][_0x17f1('0x26')](_0x17f1('0x16')))[_0x17f1('0x2e')](_0x15685c=>_0x15685c[_0x17f1('0x22')]==_0x2355a3);return _0x22c7fc+'\x20('+(_0x48040c?_0x3c633e(_0x48040c[_0x17f1('0x3')])[_0x17f1('0x7')]():_0x2355a3)+')';}return _0x22c7fc+'\x20('+_0x2355a3+')';}
23
+ const _0x1ced=['getAttributes','TrackChangesEditing','format','from','keys','isCollapsed','createRange','*Set\x20format\x20to:*\x20%0','get','toUpperCase','isFormatting','locale','commandName','plugins','backward','commands','modifySelection','find','markInlineFormat','length','slice','change','isBlock','getFirstPosition','selection','split','fontSize.options','pasteFormat','editor','fontBackgroundColor','fontSize','model','title','FontSize','schema','getRanges','getItems','fontColor','fontColor.colors','join','getLastPosition','config','getSelectedBlocks','_descriptionFactory','afterInit','forward','*Remove\x20all\x20formatting*','toLowerCase','commandParams','copyFormat','enableCommand','registerDescriptionCallback','getAttributeProperties','entries'];(function(_0x150575,_0x1cede0){const _0x45f82c=function(_0x32e555){while(--_0x32e555){_0x150575['push'](_0x150575['shift']());}};_0x45f82c(++_0x1cede0);}(_0x1ced,0xbc));const _0x45f8=function(_0x150575,_0x1cede0){_0x150575=_0x150575-0x0;let _0x45f82c=_0x1ced[_0x150575];return _0x45f82c;};import{Plugin as _0x364147}from'ckeditor5/src/core';import{normalizeColorOptions as _0x468e23}from'ckeditor5/src/ui';import{first as _0x3ede4e}from'ckeditor5/src/utils';import{getTranslation as _0x18c161}from'../utils/common-translations';export default class W extends _0x364147{[_0x45f8('0x12')](){const _0x38abfb=this[_0x45f8('0x2')],_0xa05271=_0x38abfb[_0x45f8('0x5')],_0x33f722=_0xa05271['document'][_0x45f8('0x34')],_0x158362=_0x38abfb[_0x45f8('0x29')][_0x45f8('0x24')](_0x45f8('0x1d')),_0x3694a9=_0x38abfb['locale'],_0x414659=_0x38abfb[_0x45f8('0x2b')][_0x45f8('0x24')](_0x45f8('0x17')),_0x44f1f3=_0x38abfb[_0x45f8('0x2b')][_0x45f8('0x24')]('pasteFormat');_0x414659&&_0x44f1f3&&(_0x158362[_0x45f8('0x18')](_0x45f8('0x1'),(_0x5b2bc1,_0x52ef37={})=>{const _0x248036=_0x52ef37;_0xa05271[_0x45f8('0x31')](()=>{const _0x6abcea=Array[_0x45f8('0x1f')](_0x33f722[_0x45f8('0x9')]()),_0x50d7cb=_0x33f722[_0x45f8('0x21')]?[no(_0xa05271,_0x33f722)]:_0x6abcea,_0x2099c3=!!_0x3ede4e(function*(_0x367cbd,_0x2b175c){const _0x586c41=_0x20d919=>!!_0x3ede4e(function*(_0x9c45ae,_0x70e881){for(const [_0x11886b]of _0x9c45ae[_0x45f8('0x1c')]()){const _0x258a65=_0x70e881[_0x45f8('0x1a')](_0x11886b);_0x258a65&&_0x258a65[_0x45f8('0x26')]&&(yield _0x11886b);}}(_0x20d919,_0x2b175c));for(const _0x2c5de9 of _0x367cbd['getRanges']())for(const _0xa6f5d2 of _0x2c5de9[_0x45f8('0xa')]())!_0x2b175c[_0x45f8('0x32')](_0xa6f5d2)&&_0x586c41(_0xa6f5d2)&&(yield _0xa6f5d2);for(const _0x3079fd of _0x367cbd[_0x45f8('0x10')]())_0x586c41(_0x3079fd)&&(yield _0x3079fd);_0x586c41(_0x367cbd)&&(yield _0x367cbd);}(_0x33f722,_0xa05271[_0x45f8('0x8')]));if(_0x2099c3||0x0!==Object[_0x45f8('0x20')](_0x248036)[_0x45f8('0x2f')])for(const _0x1f3d0f of _0x50d7cb)_0x158362[_0x45f8('0x2e')](_0x1f3d0f,{'commandName':_0x45f8('0x1'),'commandParams':[_0x248036]});});}),_0x158362[_0x45f8('0x11')][_0x45f8('0x19')](_0x4281be=>{const {data:_0x905f08}=_0x4281be;if(_0x905f08&&_0x45f8('0x1')===_0x905f08[_0x45f8('0x28')]){const _0x4520a2=[],_0x2d55ed=_0x905f08[_0x45f8('0x16')][0x0];for(const [_0x599153,_0x176f2d]of Object[_0x45f8('0x1b')](_0x2d55ed))_0x4520a2['push'](co(_0x38abfb,_0x599153,_0x176f2d));return _0x4520a2['length']?{'type':_0x45f8('0x1e'),'content':_0x18c161(_0x3694a9,_0x45f8('0x23'),_0x4520a2[_0x45f8('0xd')](',\x20'))}:{'type':_0x45f8('0x1e'),'content':_0x18c161(_0x3694a9,_0x45f8('0x14'))};}}),_0x38abfb[_0x45f8('0x29')][_0x45f8('0x24')]('TrackChangesEditing')[_0x45f8('0x18')](_0x45f8('0x17')));}}function no(_0x394878,_0x24ff96){const _0x4de61c=_0x394878['createSelection'](_0x24ff96);_0x394878[_0x45f8('0x2c')](_0x4de61c,{'unit':'word','direction':_0x45f8('0x2a')});const _0x3979de=_0x4de61c[_0x45f8('0x33')]();_0x394878[_0x45f8('0x2c')](_0x4de61c,{'unit':'word','direction':_0x45f8('0x13')});const _0x24b57b=_0x4de61c[_0x45f8('0xe')]();return _0x394878[_0x45f8('0x22')](_0x3979de,_0x24b57b);}function co(_0x515dee,_0x2d3ea9,_0x5844f5){const _0x58f4f2=_0x515dee[_0x45f8('0x27')]['t'],_0x42d22b=_0x2d3ea9[_0x45f8('0x35')](/(?=[A-Z])/)[_0x45f8('0xd')]('\x20'),_0x258491=_0x58f4f2(_0x42d22b['charAt'](0x0)[_0x45f8('0x25')]()+_0x42d22b[_0x45f8('0x30')](0x1))[_0x45f8('0x15')]();if('boolean'==typeof _0x5844f5)return _0x258491;if(_0x45f8('0xb')===_0x2d3ea9||_0x45f8('0x3')===_0x2d3ea9){const _0x202fa8=_0x468e23(_0x515dee[_0x45f8('0xf')][_0x45f8('0x24')](_0x45f8('0xc')))[_0x45f8('0x2d')](_0x4acfce=>_0x4acfce[_0x45f8('0x5')]==_0x5844f5);return _0x258491+'\x20('+(_0x202fa8?_0x58f4f2(_0x202fa8['label'])['toLowerCase']():_0x5844f5)+')';}if(_0x45f8('0x4')===_0x2d3ea9&&isNaN(parseFloat(_0x5844f5))){const _0xfe7d9e=_0x515dee['plugins'][_0x45f8('0x24')](_0x45f8('0x7'))['normalizeSizeOptions'](_0x515dee['config'][_0x45f8('0x24')](_0x45f8('0x0')))[_0x45f8('0x2d')](_0x42acc0=>_0x42acc0[_0x45f8('0x5')]==_0x5844f5);return _0x258491+'\x20('+(_0xfe7d9e?_0x58f4f2(_0xfe7d9e[_0x45f8('0x6')])[_0x45f8('0x15')]():_0x5844f5)+')';}return _0x258491+'\x20('+_0x5844f5+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159d=['heading.options','getSelectedBlocks','commandName','format','document','ELEMENT_HEADING_CUSTOM','registerDescriptionCallback','model','selection','plugins','*Change\x20to:*\x20%0','name','get','heading','blockName','schema','match','filter','formatBlock','value','HeadingEditing','_descriptionFactory','from','config','ELEMENT_HEADING','afterInit','isObject','TrackChangesEditing','title'];(function(_0x48a097,_0x159ddd){const _0x1a7eaa=function(_0x1f383a){while(--_0x1f383a){_0x48a097['push'](_0x48a097['shift']());}};_0x1a7eaa(++_0x159ddd);}(_0x159d,0x195));const _0x1a7e=function(_0x48a097,_0x159ddd){_0x48a097=_0x48a097-0x0;let _0x1a7eaa=_0x159d[_0x48a097];return _0x1a7eaa;};import{Plugin as _0x4e272a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4e8db5}from'./utils';import{getTranslation as _0x583614}from'../utils/common-translations';export default class J extends _0x4e272a{[_0x1a7e('0x1a')](){const _0x4ff8de=this['editor'],_0x3d7e35=_0x4ff8de['locale'],_0x3b0e63=_0x4ff8de[_0x1a7e('0x18')][_0x1a7e('0xd')](_0x1a7e('0x1'));if(!_0x4ff8de[_0x1a7e('0xa')]['has'](_0x1a7e('0x15')))return;const _0x4fa839=_0x4ff8de['plugins'][_0x1a7e('0xd')](_0x1a7e('0x1c'));_0x4fa839['enableCommand'](_0x1a7e('0xe'),(_0x22b3f5,_0x563c34)=>{const _0x57e402=_0x563c34[_0x1a7e('0x14')],_0x4ed968=Array[_0x1a7e('0x17')](this['editor']['model'][_0x1a7e('0x5')][_0x1a7e('0x9')][_0x1a7e('0x2')]())[_0x1a7e('0x12')](_0x2c10c9=>function(_0x40f6f2,_0x39128a,_0xca5337){return _0xca5337['checkChild'](_0x40f6f2['parent'],_0x39128a)&&!_0xca5337[_0x1a7e('0x1b')](_0x40f6f2)&&_0x40f6f2[_0x1a7e('0xc')]!=_0x39128a;}(_0x2c10c9,_0x57e402,this['editor'][_0x1a7e('0x8')][_0x1a7e('0x10')]));_0x4ff8de[_0x1a7e('0x8')]['change'](()=>{for(const _0x4b6f35 of _0x4ed968)_0x4fa839['markBlockFormat'](_0x4b6f35,{'commandName':_0x1a7e('0xe'),'commandParams':[_0x563c34],'formatGroupId':_0x1a7e('0xf')},_0x4e8db5(_0x4b6f35));});});for(const _0x53d172 of _0x3b0e63)'paragraph'!=_0x53d172[_0x1a7e('0x8')]&&_0x4fa839[_0x1a7e('0x16')]['registerElementLabel'](_0x53d172[_0x1a7e('0x8')],_0x1929b0=>{const _0x5696bf=nn(_0x53d172[_0x1a7e('0x8')]);return null!==_0x5696bf?_0x172dd4(_0x1929b0,_0x5696bf):_0x540c1a(_0x1929b0,_0x53d172[_0x1a7e('0x0')]);});function _0x172dd4(_0x24342f,_0x57090f){return _0x583614(_0x3d7e35,_0x1a7e('0x19'),[_0x24342f,_0x57090f]);}function _0x540c1a(_0x2dc3bb,_0x37525b){return _0x583614(_0x3d7e35,_0x1a7e('0x6'),[_0x2dc3bb,_0x37525b]);}_0x4fa839[_0x1a7e('0x16')][_0x1a7e('0x7')](_0x5057b4=>{const {type:_0x348990,data:_0x2bb031}=_0x5057b4;if(_0x1a7e('0x13')==_0x348990&&_0x2bb031&&_0x1a7e('0xe')==_0x2bb031[_0x1a7e('0x3')]){const _0x3f581d=_0x2bb031['commandParams'][0x0]['value'],_0x6f642f=nn(_0x3f581d);if(null!==_0x6f642f)return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x172dd4(0x1,_0x6f642f))};const _0x3f08de=_0x3b0e63['find'](_0x9c06a=>_0x9c06a[_0x1a7e('0x8')]===_0x3f581d)[_0x1a7e('0x0')];return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x540c1a(0x1,_0x3f08de))};}});}}function nn(_0x1843bb){const _0x476818=_0x1843bb[_0x1a7e('0x11')](/^heading(\d+)$/);return _0x476818?_0x476818[0x1]:null;}
23
+ const _0x15b4=['format','name','match','find','heading','config','plugins','isObject','selection','TrackChangesEditing','document','heading.options','change','blockName','filter','formatBlock','value','HeadingEditing','markBlockFormat','*Change\x20to:*\x20%0','has','get','registerElementLabel','commandParams','getSelectedBlocks','model','title','_descriptionFactory','editor','paragraph','ELEMENT_HEADING'];(function(_0x609739,_0x15b47a){const _0x1db2b0=function(_0x4fe04){while(--_0x4fe04){_0x609739['push'](_0x609739['shift']());}};_0x1db2b0(++_0x15b47a);}(_0x15b4,0x7d));const _0x1db2=function(_0x609739,_0x15b47a){_0x609739=_0x609739-0x0;let _0x1db2b0=_0x15b4[_0x609739];return _0x1db2b0;};import{Plugin as _0x57c331}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xb5964b}from'./utils';import{getTranslation as _0x4fe08f}from'../utils/common-translations';export default class J extends _0x57c331{['afterInit'](){const _0x586b0d=this[_0x1db2('0x1b')],_0x210aea=_0x586b0d['locale'],_0x490721=_0x586b0d[_0x1db2('0x4')][_0x1db2('0x14')](_0x1db2('0xa'));if(!_0x586b0d['plugins'][_0x1db2('0x13')](_0x1db2('0x10')))return;const _0x59603b=_0x586b0d[_0x1db2('0x5')][_0x1db2('0x14')](_0x1db2('0x8'));_0x59603b['enableCommand'](_0x1db2('0x3'),(_0xa9acb,_0x5131c4)=>{const _0x5a9a15=_0x5131c4[_0x1db2('0xf')],_0x567ab7=Array['from'](this[_0x1db2('0x1b')][_0x1db2('0x18')][_0x1db2('0x9')][_0x1db2('0x7')][_0x1db2('0x17')]())[_0x1db2('0xd')](_0x17cb49=>function(_0x4990c6,_0x32fd8c,_0x5c2735){return _0x5c2735['checkChild'](_0x4990c6['parent'],_0x32fd8c)&&!_0x5c2735[_0x1db2('0x6')](_0x4990c6)&&_0x4990c6[_0x1db2('0x0')]!=_0x32fd8c;}(_0x17cb49,_0x5a9a15,this[_0x1db2('0x1b')][_0x1db2('0x18')]['schema']));_0x586b0d[_0x1db2('0x18')][_0x1db2('0xb')](()=>{for(const _0x3b702c of _0x567ab7)_0x59603b[_0x1db2('0x11')](_0x3b702c,{'commandName':_0x1db2('0x3'),'commandParams':[_0x5131c4],'formatGroupId':_0x1db2('0xc')},_0xb5964b(_0x3b702c));});});for(const _0x302064 of _0x490721)_0x1db2('0x1c')!=_0x302064[_0x1db2('0x18')]&&_0x59603b[_0x1db2('0x1a')][_0x1db2('0x15')](_0x302064[_0x1db2('0x18')],_0x56eefc=>{const _0x63bd07=nn(_0x302064['model']);return null!==_0x63bd07?_0x129f47(_0x56eefc,_0x63bd07):_0x3346b1(_0x56eefc,_0x302064[_0x1db2('0x19')]);});function _0x129f47(_0x281df8,_0x190390){return _0x4fe08f(_0x210aea,_0x1db2('0x1d'),[_0x281df8,_0x190390]);}function _0x3346b1(_0x43371d,_0x55ce4c){return _0x4fe08f(_0x210aea,'ELEMENT_HEADING_CUSTOM',[_0x43371d,_0x55ce4c]);}_0x59603b[_0x1db2('0x1a')]['registerDescriptionCallback'](_0x4debcf=>{const {type:_0x2f9a97,data:_0x4892d1}=_0x4debcf;if(_0x1db2('0xe')==_0x2f9a97&&_0x4892d1&&_0x1db2('0x3')==_0x4892d1['commandName']){const _0x286e8e=_0x4892d1[_0x1db2('0x16')][0x0][_0x1db2('0xf')],_0x3bd4a4=nn(_0x286e8e);if(null!==_0x3bd4a4)return{'type':_0x1db2('0x1e'),'content':_0x4fe08f(_0x210aea,_0x1db2('0x12'),_0x129f47(0x1,_0x3bd4a4))};const _0x599e29=_0x490721[_0x1db2('0x2')](_0x4a49c2=>_0x4a49c2[_0x1db2('0x18')]===_0x286e8e)[_0x1db2('0x19')];return{'type':'format','content':_0x4fe08f(_0x210aea,_0x1db2('0x12'),_0x3346b1(0x1,_0x599e29))};}});}}function nn(_0x472ed9){const _0x3a6781=_0x472ed9[_0x1db2('0x1')](/^heading(\d+)$/);return _0x3a6781?_0x3a6781[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5050=['value','enableCommand','highlight','getAttribute','config','format','_descriptionFactory','model','selection','getFirstPosition','plugins','formatInline','toLowerCase','has','*Remove\x20highlight*','commandName','item','getRanges','*Set\x20highlight:*\x20%0','backward','TrackChangesEditing','push','get','createRange','isCollapsed','commandParams','color','hasAttribute','afterInit','document','find'];(function(_0x4845e8,_0x5050c4){const _0x116a24=function(_0x491cc9){while(--_0x491cc9){_0x4845e8['push'](_0x4845e8['shift']());}};_0x116a24(++_0x5050c4);}(_0x5050,0x193));const _0x116a=function(_0x4845e8,_0x5050c4){_0x4845e8=_0x4845e8-0x0;let _0x116a24=_0x5050[_0x4845e8];return _0x116a24;};import{Plugin as _0x34c879}from'ckeditor5/src/core';import{getTranslation as _0x282ecf}from'../utils/common-translations';import{getRangesWithAttribute as _0x52ef01}from'./utils';export default class K extends _0x34c879{[_0x116a('0x1c')](){const _0x4c3ef8=this['editor'];if(!_0x4c3ef8[_0x116a('0xa')][_0x116a('0xd')]('HighlightEditing'))return;const _0x413d5b=_0x4c3ef8[_0x116a('0xa')][_0x116a('0x16')](_0x116a('0x14'));_0x413d5b[_0x116a('0x1')](_0x116a('0x2'),(_0x169015,_0x4d7774={})=>{const _0x726bc9=_0x4c3ef8['model'][_0x116a('0x1d')][_0x116a('0x8')],_0x1bdd13=_0x726bc9[_0x116a('0x3')]('highlight');let _0x4918bc=_0x4d7774[_0x116a('0x0')],_0x98c8a5=[];if(_0x726bc9[_0x116a('0x18')]){const _0x159f44=_0x726bc9[_0x116a('0x9')]();if(!_0x726bc9[_0x116a('0x1b')](_0x116a('0x2')))return void _0x169015(_0x4d7774);{const _0x203d32=_0x5a8c2f=>_0x5a8c2f[_0x116a('0x10')]['getAttribute'](_0x116a('0x2'))===_0x1bdd13,_0x51f1ca=_0x159f44['getLastMatchingPosition'](_0x203d32,{'direction':_0x116a('0x13')}),_0x33af67=_0x159f44['getLastMatchingPosition'](_0x203d32);_0x98c8a5=[_0x4c3ef8[_0x116a('0x7')][_0x116a('0x17')](_0x51f1ca,_0x33af67)],_0x4918bc==_0x1bdd13&&(_0x4918bc=null);}}else for(const _0x493645 of _0x726bc9[_0x116a('0x11')]())_0x4918bc?_0x98c8a5['push'](_0x493645):_0x98c8a5[_0x116a('0x15')](..._0x52ef01(_0x116a('0x2'),_0x493645,_0x4c3ef8['model']));_0x4c3ef8[_0x116a('0x7')]['change'](()=>{for(const _0x10409d of _0x98c8a5)_0x413d5b['markInlineFormat'](_0x10409d,{'commandName':'highlight','commandParams':[{'value':_0x4918bc}]});});});const _0x3f099a=_0x4c3ef8['locale'];_0x413d5b[_0x116a('0x6')]['registerDescriptionCallback'](_0x3d71f8=>{const {type:_0x4b05e4,data:_0x4e1ad0}=_0x3d71f8;if(_0x116a('0xb')==_0x4b05e4&&_0x4e1ad0&&_0x116a('0x2')==_0x4e1ad0[_0x116a('0xf')]){const _0x145d46=_0x3f099a['t'],_0x5a2bdd=_0x4e1ad0[_0x116a('0x19')][0x0][_0x116a('0x0')];if(_0x5a2bdd){const _0x59ad56=_0x4c3ef8[_0x116a('0x4')][_0x116a('0x16')]('highlight.options')[_0x116a('0x1e')](_0xdb9e8b=>_0xdb9e8b['model']==_0x5a2bdd),_0x51ac69=_0x145d46(_0x59ad56['title'])[_0x116a('0xc')]();return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0x12'),_0x51ac69),'color':{'value':_0x59ad56[_0x116a('0x1a')],'title':_0x59ad56['title']}};}return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0xe'),_0x282ecf(_0x3f099a,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x50ac=['push','toLowerCase','value','has','formatInline','registerDescriptionCallback','createRange','format','hasAttribute','afterInit','enableCommand','commandParams','*Set\x20highlight:*\x20%0','change','getAttribute','editor','backward','config','commandName','document','getFirstPosition','FORMAT_HIGHLIGHT','isCollapsed','highlight','_descriptionFactory','plugins','model','find','get','color','getRanges','title','highlight.options','item','markInlineFormat','HighlightEditing'];(function(_0x1c2022,_0x50ac62){const _0x59c06a=function(_0x16045e){while(--_0x16045e){_0x1c2022['push'](_0x1c2022['shift']());}};_0x59c06a(++_0x50ac62);}(_0x50ac,0xda));const _0x59c0=function(_0x1c2022,_0x50ac62){_0x1c2022=_0x1c2022-0x0;let _0x59c06a=_0x50ac[_0x1c2022];return _0x59c06a;};import{Plugin as _0x565edb}from'ckeditor5/src/core';import{getTranslation as _0x4c4fd8}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ebfc8}from'./utils';export default class K extends _0x565edb{[_0x59c0('0x7')](){const _0x430bea=this[_0x59c0('0xd')];if(!_0x430bea[_0x59c0('0x17')][_0x59c0('0x1')](_0x59c0('0x21')))return;const _0x4c971b=_0x430bea[_0x59c0('0x17')]['get']('TrackChangesEditing');_0x4c971b[_0x59c0('0x8')](_0x59c0('0x15'),(_0x2b65c7,_0x283098={})=>{const _0x16aca4=_0x430bea[_0x59c0('0x18')][_0x59c0('0x11')]['selection'],_0x4fa42f=_0x16aca4[_0x59c0('0xc')]('highlight');let _0x5f0c09=_0x283098[_0x59c0('0x0')],_0x250e10=[];if(_0x16aca4[_0x59c0('0x14')]){const _0x467c1f=_0x16aca4[_0x59c0('0x12')]();if(!_0x16aca4[_0x59c0('0x6')](_0x59c0('0x15')))return void _0x2b65c7(_0x283098);{const _0x1a9ed8=_0x20b90e=>_0x20b90e[_0x59c0('0x1f')][_0x59c0('0xc')](_0x59c0('0x15'))===_0x4fa42f,_0x1d54c6=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8,{'direction':_0x59c0('0xe')}),_0x582625=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8);_0x250e10=[_0x430bea[_0x59c0('0x18')][_0x59c0('0x4')](_0x1d54c6,_0x582625)],_0x5f0c09==_0x4fa42f&&(_0x5f0c09=null);}}else for(const _0x3fa6a7 of _0x16aca4[_0x59c0('0x1c')]())_0x5f0c09?_0x250e10['push'](_0x3fa6a7):_0x250e10[_0x59c0('0x22')](..._0x5ebfc8(_0x59c0('0x15'),_0x3fa6a7,_0x430bea[_0x59c0('0x18')]));_0x430bea[_0x59c0('0x18')][_0x59c0('0xb')](()=>{for(const _0x1e154a of _0x250e10)_0x4c971b[_0x59c0('0x20')](_0x1e154a,{'commandName':_0x59c0('0x15'),'commandParams':[{'value':_0x5f0c09}]});});});const _0x40fd21=_0x430bea['locale'];_0x4c971b[_0x59c0('0x16')][_0x59c0('0x3')](_0x2a0c5f=>{const {type:_0x2598fa,data:_0x1e9053}=_0x2a0c5f;if(_0x59c0('0x2')==_0x2598fa&&_0x1e9053&&_0x59c0('0x15')==_0x1e9053[_0x59c0('0x10')]){const _0x440e3e=_0x40fd21['t'],_0x2da8a2=_0x1e9053[_0x59c0('0x9')][0x0]['value'];if(_0x2da8a2){const _0x564c23=_0x430bea[_0x59c0('0xf')][_0x59c0('0x1a')](_0x59c0('0x1e'))[_0x59c0('0x19')](_0x495878=>_0x495878[_0x59c0('0x18')]==_0x2da8a2),_0x428c89=_0x440e3e(_0x564c23[_0x59c0('0x1d')])[_0x59c0('0x23')]();return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,_0x59c0('0xa'),_0x428c89),'color':{'value':_0x564c23[_0x59c0('0x1b')],'title':_0x564c23[_0x59c0('0x1d')]}};}return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,'*Remove\x20highlight*',_0x4c4fd8(_0x40fd21,_0x59c0('0x13')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x330d=['enableCommand','createPositionAt','insert','dataDowncast','ELEMENT_HORIZONTAL_LINE','has','afterInit','showSuggestionHighlights','conversion','elementToStructure','plugins','addClass','_descriptionFactory','get','ck-horizontal-line','createEmptyElement','for','editor','horizontalLine','registerElementLabel','high','TrackChangesEditing','locale','createContainerElement'];(function(_0x112e15,_0x330dda){const _0x44c31d=function(_0x4e2492){while(--_0x4e2492){_0x112e15['push'](_0x112e15['shift']());}};_0x44c31d(++_0x330dda);}(_0x330d,0xac));const _0x44c3=function(_0x112e15,_0x330dda){_0x112e15=_0x112e15-0x0;let _0x44c31d=_0x330d[_0x112e15];return _0x44c31d;};import{Plugin as _0x4d48a7}from'ckeditor5/src/core';import{getTranslation as _0x2113ce}from'../utils/common-translations';export default class Q extends _0x4d48a7{[_0x44c3('0x2')](){const _0x2bc187=this[_0x44c3('0xd')];if(!_0x2bc187[_0x44c3('0x6')][_0x44c3('0x1')]('HorizontalLineEditing'))return;_0x2bc187[_0x44c3('0x6')][_0x44c3('0x9')](_0x44c3('0x11'))[_0x44c3('0x14')](_0x44c3('0xe'));const _0x3480a7=_0x2bc187[_0x44c3('0x6')]['get']('TrackChangesEditing'),_0x2040d9=_0x2bc187[_0x44c3('0x12')];_0x3480a7[_0x44c3('0x8')][_0x44c3('0xf')](_0x44c3('0xe'),_0x56bc42=>_0x2113ce(_0x2040d9,_0x44c3('0x0'),_0x56bc42)),_0x2bc187[_0x44c3('0x4')][_0x44c3('0xc')](_0x44c3('0x17'))[_0x44c3('0x5')]({'model':_0x44c3('0xe'),'view':(_0x527254,{writer:_0x58fe26,options:_0x22838e})=>{if(!_0x22838e[_0x44c3('0x3')])return null;const _0x6ef35a=_0x58fe26[_0x44c3('0x13')]('div'),_0xe08fdc=_0x58fe26[_0x44c3('0xb')]('hr');return _0x58fe26[_0x44c3('0x7')](_0x44c3('0xa'),_0x6ef35a),_0x58fe26[_0x44c3('0x16')](_0x58fe26[_0x44c3('0x15')](_0x6ef35a,0x0),_0xe08fdc),_0x6ef35a;},'converterPriority':_0x44c3('0x10')});}}
23
+ const _0x38d7=['dataDowncast','enableCommand','locale','createPositionAt','plugins','conversion','editor','elementToStructure','insert','get','addClass','createEmptyElement','registerElementLabel','afterInit','high','for','ELEMENT_HORIZONTAL_LINE','has','horizontalLine','TrackChangesEditing','div','ck-horizontal-line','createContainerElement'];(function(_0x3673df,_0x38d73d){const _0xb28a4=function(_0x254a72){while(--_0x254a72){_0x3673df['push'](_0x3673df['shift']());}};_0xb28a4(++_0x38d73d);}(_0x38d7,0x148));const _0xb28a=function(_0x3673df,_0x38d73d){_0x3673df=_0x3673df-0x0;let _0xb28a4=_0x38d7[_0x3673df];return _0xb28a4;};import{Plugin as _0x26eeea}from'ckeditor5/src/core';import{getTranslation as _0xd3dbfa}from'../utils/common-translations';export default class Q extends _0x26eeea{[_0xb28a('0x7')](){const _0x167584=this[_0xb28a('0x0')];if(!_0x167584['plugins'][_0xb28a('0xb')]('HorizontalLineEditing'))return;_0x167584[_0xb28a('0x15')][_0xb28a('0x3')](_0xb28a('0xd'))[_0xb28a('0x12')](_0xb28a('0xc'));const _0x8d3299=_0x167584[_0xb28a('0x15')][_0xb28a('0x3')]('TrackChangesEditing'),_0x5968cd=_0x167584[_0xb28a('0x13')];_0x8d3299['_descriptionFactory'][_0xb28a('0x6')](_0xb28a('0xc'),_0x191267=>_0xd3dbfa(_0x5968cd,_0xb28a('0xa'),_0x191267)),_0x167584[_0xb28a('0x16')][_0xb28a('0x9')](_0xb28a('0x11'))[_0xb28a('0x1')]({'model':'horizontalLine','view':(_0x5425fb,{writer:_0x598677,options:_0x36f0a5})=>{if(!_0x36f0a5['showSuggestionHighlights'])return null;const _0x1cc7b3=_0x598677[_0xb28a('0x10')](_0xb28a('0xe')),_0x4ebf68=_0x598677[_0xb28a('0x5')]('hr');return _0x598677[_0xb28a('0x4')](_0xb28a('0xf'),_0x1cc7b3),_0x598677[_0xb28a('0x2')](_0x598677[_0xb28a('0x14')](_0x1cc7b3,0x0),_0x4ebf68),_0x1cc7b3;},'converterPriority':_0xb28a('0x8')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48b7=['model','change','registerDescriptionCallback','cancel','enableCommand','document','*Change\x20%0\x20content*','locale','afterInit','element','selection','editing','ELEMENT_HTML_EMBED','markBlockFormat','rawHtml','view','editor','commandName','format','TrackChangesEditing','_descriptionFactory','has','get','getAttribute','htmlEmbed','plugins','getSelectedElement','getCustomProperty'];(function(_0x553313,_0x48b7be){const _0x2d623a=function(_0x3478c5){while(--_0x3478c5){_0x553313['push'](_0x553313['shift']());}};_0x2d623a(++_0x48b7be);}(_0x48b7,0x1ca));const _0x2d62=function(_0x553313,_0x48b7be){_0x553313=_0x553313-0x0;let _0x2d623a=_0x48b7[_0x553313];return _0x2d623a;};import{Plugin as _0x31fb9f}from'ckeditor5/src/core';import{getTranslation as _0x34c6c9}from'../utils/common-translations';export default class V extends _0x31fb9f{[_0x2d62('0x1a')](){const _0x1d6c9b=this[_0x2d62('0x6')];if(!_0x1d6c9b[_0x2d62('0xf')][_0x2d62('0xb')]('HtmlEmbed'))return;const _0x2f11cf=_0x1d6c9b[_0x2d62('0xf')][_0x2d62('0xc')](_0x2d62('0x9')),_0x1ebf0a=_0x1d6c9b[_0x2d62('0x19')],_0x4d9544=_0x1d6c9b[_0x2d62('0x1')][_0x2d62('0x5')]['document'][_0x2d62('0x0')];_0x2f11cf[_0x2d62('0xa')]['registerElementLabel']('rawHtml',_0x26f389=>_0x34c6c9(_0x1ebf0a,'ELEMENT_HTML_EMBED',_0x26f389)),_0x1d6c9b['plugins'][_0x2d62('0xc')](_0x2d62('0x9'))[_0x2d62('0x16')](_0x2d62('0xe'),(_0x2ac8fe,_0x4f6e85)=>{const _0x1ff019=_0x1d6c9b[_0x2d62('0x12')],_0x226beb=_0x1ff019[_0x2d62('0x17')]['selection'];_0x1ff019[_0x2d62('0x13')](()=>{const _0x495756=function(_0x4e92d9){const _0x11ddd2=_0x4e92d9['getSelectedElement']();if(_0x11ddd2&&_0x11ddd2['is'](_0x2d62('0x1b'),_0x2d62('0x4')))return _0x4e92d9[_0x2d62('0x10')]();return null;}(_0x226beb);if(!_0x495756)return void _0x2ac8fe(null);const _0x2ff1bf=_0x495756[_0x2d62('0xd')]('value')||'';if(void 0x0===_0x4f6e85)return;if(_0x4f6e85===_0x2ff1bf)return;_0x2f11cf[_0x2d62('0x3')](_0x495756,{'commandName':'htmlEmbed','commandParams':[_0x4f6e85]}),_0x4d9544[_0x2d62('0x10')]()[_0x2d62('0x11')]('rawHtmlApi')[_0x2d62('0x15')]();});}),_0x2f11cf[_0x2d62('0xa')][_0x2d62('0x14')](_0x590905=>{const {data:_0x354bbc}=_0x590905;if(_0x354bbc&&'htmlEmbed'==_0x354bbc[_0x2d62('0x7')]){const _0x4f2b86=_0x34c6c9(_0x1ebf0a,_0x2d62('0x2'));return{'type':_0x2d62('0x8'),'content':_0x34c6c9(_0x1ebf0a,_0x2d62('0x18'),_0x4f2b86)};}});}}
23
+ const _0x4871=['locale','selection','htmlEmbed','getSelectedElement','plugins','cancel','*Change\x20%0\x20content*','get','editing','document','ELEMENT_HTML_EMBED','format','element','getAttribute','rawHtml','_descriptionFactory','editor','registerElementLabel','change','TrackChangesEditing','commandName','HtmlEmbed','model','view','enableCommand'];(function(_0xf35c9a,_0x48719e){const _0x22ba63=function(_0x405867){while(--_0x405867){_0xf35c9a['push'](_0xf35c9a['shift']());}};_0x22ba63(++_0x48719e);}(_0x4871,0xa3));const _0x22ba=function(_0xf35c9a,_0x48719e){_0xf35c9a=_0xf35c9a-0x0;let _0x22ba63=_0x4871[_0xf35c9a];return _0x22ba63;};import{Plugin as _0xb0bdbc}from'ckeditor5/src/core';import{getTranslation as _0x787388}from'../utils/common-translations';export default class V extends _0xb0bdbc{['afterInit'](){const _0x9fd71=this[_0x22ba('0x3')];if(!_0x9fd71[_0x22ba('0x10')]['has'](_0x22ba('0x8')))return;const _0x91728c=_0x9fd71['plugins'][_0x22ba('0x13')](_0x22ba('0x6')),_0x1fa8e9=_0x9fd71[_0x22ba('0xc')],_0x433505=_0x9fd71[_0x22ba('0x14')][_0x22ba('0xa')][_0x22ba('0x15')][_0x22ba('0xd')];_0x91728c[_0x22ba('0x2')][_0x22ba('0x4')](_0x22ba('0x1'),_0x4a195=>_0x787388(_0x1fa8e9,_0x22ba('0x16'),_0x4a195)),_0x9fd71[_0x22ba('0x10')][_0x22ba('0x13')]('TrackChangesEditing')[_0x22ba('0xb')]('htmlEmbed',(_0x3aaa5e,_0x30ed94)=>{const _0x2f9e4d=_0x9fd71[_0x22ba('0x9')],_0x55ffad=_0x2f9e4d[_0x22ba('0x15')][_0x22ba('0xd')];_0x2f9e4d[_0x22ba('0x5')](()=>{const _0x1132e9=function(_0x33f114){const _0x1d3d36=_0x33f114['getSelectedElement']();if(_0x1d3d36&&_0x1d3d36['is'](_0x22ba('0x18'),_0x22ba('0x1')))return _0x33f114['getSelectedElement']();return null;}(_0x55ffad);if(!_0x1132e9)return void _0x3aaa5e(null);const _0xfe6cd3=_0x1132e9[_0x22ba('0x0')]('value')||'';if(void 0x0===_0x30ed94)return;if(_0x30ed94===_0xfe6cd3)return;_0x91728c['markBlockFormat'](_0x1132e9,{'commandName':_0x22ba('0xe'),'commandParams':[_0x30ed94]}),_0x433505[_0x22ba('0xf')]()['getCustomProperty']('rawHtmlApi')[_0x22ba('0x11')]();});}),_0x91728c['_descriptionFactory']['registerDescriptionCallback'](_0x34fe40=>{const {data:_0x1c4b22}=_0x34fe40;if(_0x1c4b22&&'htmlEmbed'==_0x1c4b22[_0x22ba('0x7')]){const _0x5d1d10=_0x787388(_0x1fa8e9,_0x22ba('0x16'));return{'type':_0x22ba('0x17'),'content':_0x787388(_0x1fa8e9,_0x22ba('0x12'),_0x5d1d10)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1329=['ImageBlockEditing','isInContent','accept','isInlineImage','fromPosition','commandParams','isEqual','getChangedMarkers','get','shouldConvertImageType','join','ImageStyleEditing','_descriptionFactory','length','markBlockFormat','ImageTextAlternativeEditing','getSuggestionCallback','getAttribute','_findSuggestions','forceDefaultExecution','createRange','imageStyle','_splitMarkerName','format','editor','getClosestSelectedImageElement','createRangeOn','toNext','uploadImage','start','convertInlineImageToBlock','head','find','insertImage','formatBlock','discardSuggestion','FORMAT_SIDE_IMAGE','filter','from','next','ELEMENT_CAPTION','isOwn','end','insertion','getContainedElement','imageCaption','removeObject','commands','refresh','ImageUtils','discard','differ','getSuggestion','registerPostFixer','chain','imageBlock','isCollapsed','markInlineFormat','locale','getCaptionFromImageModelElement','detach','nodeAfter','enableCommand','registerDescriptionCallback','markDeletion','isIntersecting','previous','nodeBefore','imageStylePreApply','commandName','toggleImageCaption','subType','_suggestionFactory','Users','model','backward','*Set\x20image\x20text\x20alternative:*\x20%0','getNearestSelectionRange','selection','ImageResize','isBefore','change','ImageInlineEditing','ImageCaptionEditing','registerCustomCallback','has','alt','name','value','newValue','type','newRange','findIndex','TrackChangesEditing','document','caption','width','getFirstRange','ImageUploadEditing','forEach','convertBlockImageToInline','registerElementLabel','plugins','imageTextAlternative','imageTypeInline','forward','hasAttribute','isBlockImage','*Reset\x20image\x20width*','Inline\x20image\x20to\x20block\x20image','title','imageStylePostApply','ImageEditing','toPrevious','imageTypeBlock','resizeImage','commandReversedParams','markInsertion','schema','deletion','formatInline'];(function(_0x2764cd,_0x13290b){const _0x47e429=function(_0x36983c){while(--_0x36983c){_0x2764cd['push'](_0x2764cd['shift']());}};_0x47e429(++_0x13290b);}(_0x1329,0x109));const _0x47e4=function(_0x2764cd,_0x13290b){_0x2764cd=_0x2764cd-0x0;let _0x47e429=_0x1329[_0x2764cd];return _0x47e429;};import{Plugin as _0x10774f}from'ckeditor5/src/core';import{LivePosition as _0x2fc7c7}from'ckeditor5/src/engine';import{uid as _0xb511d0}from'ckeditor5/src/utils';import{getTranslation as _0x2f98da}from'../utils/common-translations';export default class X extends _0x10774f{['afterInit'](){const _0x20bc1d=this[_0x47e4('0x1')];if(!_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x59')))return;const _0x26a978=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')](_0x47e4('0x46')),_0x56a0e5=_0x20bc1d['plugins'][_0x47e4('0x6a')](_0x47e4('0x1a')),_0x247065={},_0x2064d1=_0x20bc1d[_0x47e4('0x23')];if(_0x26a978[_0x47e4('0x27')](_0x47e4('0xa')),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x4e')](_0x47e4('0x20'),_0x61c6e2=>_0x2f98da(_0x2064d1,'ELEMENT_IMAGE',_0x61c6e2)),_0x26a978['_descriptionFactory']['registerElementLabel']('imageInline',_0x3830ac=>_0x2f98da(_0x2064d1,'ELEMENT_INLINE_IMAGE',_0x3830ac)),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x4e')](_0x47e4('0x48'),()=>_0x2f98da(_0x2064d1,_0x47e4('0x11'))),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x4b'))&&_0x26a978['enableCommand'](_0x47e4('0x5')),_0x20bc1d['plugins'][_0x47e4('0x3e')](_0x47e4('0x62'))&&_0x20bc1d['plugins']['has'](_0x47e4('0x3b'))&&(_0x26a978[_0x47e4('0x27')]('imageTypeInline',(_0xf82b9a,_0x41bba0)=>{const _0x41e72a=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]);_0x20bc1d['model'][_0x47e4('0x3a')](()=>{_0x26a978['markBlockFormat'](_0x41e72a,{'commandName':_0x47e4('0x51'),'commandParams':[_0x41bba0]},[],_0x47e4('0x4d'));});}),_0x26a978['enableCommand'](_0x47e4('0x5b'),(_0x2b830a,_0x4e23a0)=>{_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](_0x4f0d76=>{let _0x4a56ca=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]),_0x432e81=_0x4f0d76[_0x47e4('0x3')](_0x4a56ca);const _0x1170d9=_0x2fc7c7[_0x47e4('0x66')](_0x432e81[_0x47e4('0x6')],_0x47e4('0x5a')),_0x23a671=_0x2fc7c7['fromPosition'](_0x432e81[_0x47e4('0x13')],_0x47e4('0x4'));_0x26a978[_0x47e4('0x75')](()=>_0x2b830a(_0x4e23a0)),_0x4a56ca=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x432e81=_0x4f0d76[_0x47e4('0x3')](_0x4a56ca);const _0x3969ae=_0x4f0d76[_0x47e4('0x76')](_0x1170d9,_0x23a671);_0x1170d9['detach'](),_0x23a671[_0x47e4('0x25')](),_0x26a978[_0x47e4('0x70')](_0x4a56ca,{'commandName':_0x47e4('0x51'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x3969ae[_0x47e4('0x6')][_0x47e4('0x39')](_0x432e81[_0x47e4('0x6')])&&_0x26a978['markInsertion'](_0x4f0d76[_0x47e4('0x76')](_0x3969ae[_0x47e4('0x6')],_0x432e81[_0x47e4('0x6')]),_0x47e4('0x7')),_0x432e81[_0x47e4('0x13')][_0x47e4('0x39')](_0x3969ae[_0x47e4('0x13')])&&_0x26a978[_0x47e4('0x5e')](_0x4f0d76[_0x47e4('0x76')](_0x432e81[_0x47e4('0x13')],_0x3969ae['end']),'convertInlineImageToBlock');});}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),'convertInlineImageToBlock',_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x7'),_0x47e4('0x64'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('formatBlock','convertInlineImageToBlock','discard',_0x26a978[_0x47e4('0x31')][_0x47e4('0x72')]('formatBlock','',_0x47e4('0x64'))),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x14'),_0x47e4('0x7'),'join',()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x14'),_0x47e4('0x7'),_0x47e4('0x1b'),([_0xe72aaa])=>{const _0x4fc33d=_0x26a978[_0x47e4('0x31')][_0x47e4('0x72')](_0x47e4('0x14'),'',_0x47e4('0x1b'));let _0x1ddc6d=_0xe72aaa[_0x47e4('0x6')],_0x468694=_0xe72aaa['end'];const _0x45c8da=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x5f')]['getNearestSelectionRange'](_0x1ddc6d,_0x47e4('0x34')),_0x1c9f6e=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x5f')][_0x47e4('0x36')](_0x468694,_0x47e4('0x52'));_0x45c8da[_0x47e4('0x21')]&&(_0x1ddc6d=_0x45c8da[_0x47e4('0x6')]),_0x1c9f6e['isCollapsed']&&(_0x468694=_0x1c9f6e[_0x47e4('0x13')]),_0x4fc33d([_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x76')](_0x1ddc6d,_0x468694)]);}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('formatBlock',_0x47e4('0x7'),_0x47e4('0x1f'),_0x3bcbb8),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('insertion','convertInlineImageToBlock',_0x47e4('0x1f'),_0x3bcbb8)),_0x20bc1d['plugins'][_0x47e4('0x3e')](_0x47e4('0x3c'))&&(_0x26a978['enableCommand'](_0x47e4('0x2f'),(_0x420cf2,_0x22afff)=>{const _0x3aa95e=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')]('ImageCaptionUtils');let _0x79a594=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]),_0x3b874a=_0x3aa95e[_0x47e4('0x24')](_0x79a594);_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{if(_0x3b874a)return void _0x26a978[_0x47e4('0x29')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x3b874a));const _0x575c11=_0x56a0e5[_0x47e4('0x54')](_0x79a594);_0x420cf2(_0x22afff),_0x79a594=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')]['document'][_0x47e4('0x37')]),_0x3b874a=_0x3aa95e[_0x47e4('0x24')](_0x79a594),_0x26a978[_0x47e4('0x5e')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x3b874a),_0x575c11?null:_0x47e4('0x16'));});}),_0x26a978[_0x47e4('0x31')]['registerCustomCallback'](_0x47e4('0x14'),'imageCaption',_0x47e4('0x1f'),_0x3bcbb8)),_0x20bc1d[_0x47e4('0x4f')]['has'](_0x47e4('0x6d'))){_0x26a978[_0x47e4('0x27')](_0x47e4('0x77'),(_0x4bfc61,_0x55f5f4)=>{const _0x2b3f6a=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')](_0x47e4('0x32'))['me'],_0x4eae08=_0x20bc1d[_0x47e4('0x18')][_0x47e4('0x6a')](_0x47e4('0x77'));let _0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x470413=_0x20bc1d['model'][_0x47e4('0x3')](_0x2684c3),_0x464480=_0x4eae08['value'];if(_0x464480==_0x55f5f4[_0x47e4('0x41')])return;const _0x155f3b={'commandName':'imageStyle','commandParams':[_0x55f5f4],'formatGroupId':_0xb511d0()};_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{if(_0x26a978['getSuggestions']()[_0x47e4('0xe')](_0x4cd7a5=>_0x4cd7a5[_0x47e4('0x63')]&&_0x2b3f6a==_0x4cd7a5['author']&&(_0x47e4('0xb')==_0x4cd7a5['type']||_0x47e4('0x61')==_0x4cd7a5[_0x47e4('0x43')])&&(_0x47e4('0x2d')==_0x4cd7a5[_0x47e4('0x30')]||'imageStylePostApply'==_0x4cd7a5[_0x47e4('0x30')])&&_0x4cd7a5[_0x47e4('0x4a')]()[_0x47e4('0x68')](_0x470413))[_0x47e4('0x4c')](_0x4c8742=>_0x26a978['discardSuggestion'](_0x4c8742[_0x47e4('0x8')])),_0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x470413=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x2684c3),_0x4eae08[_0x47e4('0x19')](),_0x20bc1d[_0x47e4('0x18')][_0x47e4('0x6a')](_0x47e4('0x51'))[_0x47e4('0x19')](),_0x20bc1d['commands'][_0x47e4('0x6a')](_0x47e4('0x5b'))[_0x47e4('0x19')](),_0x464480=_0x4eae08['value'],_0x464480!=_0x55f5f4[_0x47e4('0x41')])return _0x56a0e5[_0x47e4('0x65')](_0x2684c3)&&_0x4eae08[_0x47e4('0x6b')](_0x55f5f4[_0x47e4('0x41')],_0x2684c3)?(_0x4bfc61(_0x55f5f4),_0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),void _0x26a978['markBlockFormat'](_0x2684c3,{..._0x155f3b,'commandReversedParams':[{'value':_0x464480||null}]},[],_0x47e4('0x2d'))):void(_0x56a0e5[_0x47e4('0x54')](_0x2684c3)?_0x26a978[_0x47e4('0x70')](_0x2684c3,_0x155f3b,[],_0x47e4('0x58')):_0x26a978[_0x47e4('0x22')](_0x470413,_0x155f3b,_0x47e4('0x58')));});});for(const _0x29dc0b of _0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')]('ImageStyleEditing')['normalizedStyles'])_0x247065[_0x29dc0b[_0x47e4('0x40')]]=_0x29dc0b[_0x47e4('0x57')]['toLowerCase']();_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x58'),_0x47e4('0x6c'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x61'),_0x47e4('0x58'),_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),'imageStylePreApply',_0x47e4('0x64'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x1b'),(_0x577b27,_0x25a4f8)=>{_0x26a978[_0x47e4('0x31')]['getSuggestionCallback'](_0x47e4('0xb'),'',_0x47e4('0x64'))(_0x577b27,{'commandName':_0x25a4f8['commandName'],'commandParams':_0x25a4f8[_0x47e4('0x5d')]});}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x1f'),_0x3bcbb8);}const _0x1ddc98=[{'type':_0x47e4('0xb'),'subType':_0x47e4('0x2d')},{'type':_0x47e4('0x14'),'subType':_0x47e4('0x16')},{'type':_0x47e4('0xb'),'subType':'convertInlineImageToBlock'},{'type':_0x47e4('0x14'),'subType':'convertInlineImageToBlock'}];function _0x3f5eb8(_0x4158dc,_0x383b56){const _0x12336a=_0x1ddc98[_0x47e4('0x45')](({type:_0x3e200e,subType:_0x1496d4})=>_0x4158dc[_0x47e4('0x43')]==_0x3e200e&&_0x4158dc[_0x47e4('0x30')]==_0x1496d4),_0x5f065b=_0x1ddc98[_0x47e4('0x45')](({type:_0x2fbdc2,subType:_0x638628})=>_0x383b56[_0x47e4('0x43')]==_0x2fbdc2&&_0x383b56['subType']==_0x638628);if(_0x12336a<0x0||_0x5f065b<0x0)return!0x1;const _0x5bd65a=_0x4158dc['getFirstRange'](),_0x33c763=_0x383b56[_0x47e4('0x4a')]();if((0x0==_0x12336a||0x1==_0x12336a)&&0x2==_0x5f065b&&_0x5bd65a[_0x47e4('0x2a')](_0x33c763))return!0x0;if(0x2==_0x12336a&&0x3==_0x5f065b){const _0x550bbf=_0x26a978[_0x47e4('0x74')](_0x5bd65a,_0x47e4('0x14'))[_0x47e4('0xe')](({suggestion:_0x57c19a,meta:_0x326134})=>_0x326134[_0x47e4('0x12')]&&_0x47e4('0x7')==_0x57c19a[_0x47e4('0x30')]);if(_0x550bbf[_0x47e4('0x6f')]>0x1&&_0x33c763[_0x47e4('0x13')]['isEqual'](_0x5bd65a[_0x47e4('0x6')]))return!0x0;if(0x1==_0x550bbf[_0x47e4('0x6f')]&&(_0x5bd65a[_0x47e4('0x6')][_0x47e4('0x68')](_0x33c763[_0x47e4('0x13')])||_0x5bd65a[_0x47e4('0x13')][_0x47e4('0x68')](_0x33c763[_0x47e4('0x6')])))return!0x0;}if(0x3==_0x12336a&&0x3==_0x5f065b&&_0x5bd65a[_0x47e4('0x6')][_0x47e4('0x39')](_0x33c763[_0x47e4('0x6')])){const _0x1397e9=_0x5bd65a[_0x47e4('0x13')][_0x47e4('0x26')],_0xf774d9=_0x33c763[_0x47e4('0x6')][_0x47e4('0x2c')];return _0x56a0e5[_0x47e4('0x54')](_0x1397e9)&&_0x1397e9===_0xf774d9;}return!0x1;}function _0x3bcbb8(_0x4dc3c5,_0x284995){return _0x3f5eb8(_0x4dc3c5,_0x284995)?[_0x4dc3c5,_0x284995]:_0x3f5eb8(_0x284995,_0x4dc3c5)?[_0x284995,_0x4dc3c5]:null;}_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x1e')](()=>{let _0x16a646=!0x1;const _0x4958c2=Array[_0x47e4('0xf')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x1c')][_0x47e4('0x69')]());for(const {name:_0x1e6919,data:_0x4ea86d}of _0x4958c2){const {group:_0x2bf60c,type:_0x31715e,subType:_0x271f85,id:_0x50bc3b}=_0x26a978[_0x47e4('0x78')](_0x1e6919);if('suggestion'==_0x2bf60c&&_0x26a978['hasSuggestion'](_0x50bc3b)){if(_0x47e4('0xb')==_0x31715e&&('imageStylePreApply'==_0x271f85||'imageStylePostApply'==_0x271f85)){const _0x30dca4=_0x26a978[_0x47e4('0x1d')](_0x50bc3b);if(_0x4ea86d['newRange']){const _0xe13c95=_0x30dca4[_0x47e4('0x4a')]()[_0x47e4('0x15')]();if(_0x56a0e5[_0x47e4('0x54')](_0xe13c95))continue;_0x26a978['discardSuggestion'](_0x30dca4),_0x16a646=!0x0;}}if(_0x47e4('0x14')==_0x31715e&&'imageCaption'==_0x271f85&&!_0x4ea86d[_0x47e4('0x44')]){const _0xaaac51=_0x26a978[_0x47e4('0x1d')](_0x50bc3b);_0xaaac51['next']&&_0xaaac51[_0x47e4('0x10')][_0x47e4('0x63')]&&(_0x26a978[_0x47e4('0xc')](_0xaaac51[_0x47e4('0x10')]),_0x16a646=!0x0);}}}return _0x16a646;}),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x38'))&&_0x26a978[_0x47e4('0x27')](_0x47e4('0x5c'),(_0x1820a4,_0x2fa6d5)=>{const _0x15c3b4=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d[_0x47e4('0x33')]['document'][_0x47e4('0x37')]);_0x15c3b4[_0x47e4('0x73')](_0x47e4('0x49'))!=_0x2fa6d5[_0x47e4('0x49')]&&_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{_0x26a978['markBlockFormat'](_0x15c3b4,{'commandName':'resizeImage','commandParams':[_0x2fa6d5]});});}),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x71'))&&_0x26a978[_0x47e4('0x27')](_0x47e4('0x50'),(_0x1f1102,_0x3498a6)=>{const _0x400716=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]);(_0x400716[_0x47e4('0x53')](_0x47e4('0x3f'))?_0x400716[_0x47e4('0x73')](_0x47e4('0x3f')):'')!=_0x3498a6['newValue']&&_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{_0x26a978[_0x47e4('0x70')](_0x400716,{'commandName':'imageTextAlternative','commandParams':[_0x3498a6]});});}),_0x26a978[_0x47e4('0x6e')]['registerDescriptionCallback'](_0x5208a5=>{if(!!_0x1ddc98[_0x47e4('0x9')](({type:_0x4f860f,subType:_0x3c4429})=>_0x5208a5[_0x47e4('0x43')]==_0x4f860f&&_0x5208a5['subType']==_0x3c4429))return _0x5208a5[_0x47e4('0x2b')]?{}:void 0x0;}),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x28')](_0x3851ea=>{if(_0x47e4('0x14')==_0x3851ea['type']||_0x47e4('0x60')==_0x3851ea[_0x47e4('0x43')]){const _0x3dba8c=_0x3851ea['getContainedElement']();if(_0x3dba8c&&_0x3dba8c['is']('element','caption'))return{'type':_0x47e4('0x14')==_0x3851ea[_0x47e4('0x43')]?'addObject':_0x47e4('0x17'),'element':_0x3dba8c,'quantity':0x1};}}),_0x26a978[_0x47e4('0x6e')]['registerDescriptionCallback'](_0x3b06f8=>_0x47e4('0xb')==_0x3b06f8[_0x47e4('0x43')]&&'convertInlineImageToBlock'==_0x3b06f8[_0x47e4('0x30')]?{'type':_0x47e4('0x0'),'content':_0x47e4('0x56')}:_0x47e4('0xb')==_0x3b06f8[_0x47e4('0x43')]&&_0x47e4('0x4d')==_0x3b06f8[_0x47e4('0x30')]?{'type':_0x47e4('0x0'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x28')](_0x30bfa1=>{const {data:_0x1c910a}=_0x30bfa1;if(_0x1c910a){if('imageStyle'==_0x1c910a[_0x47e4('0x2e')]){const _0x2cda3f=_0x1c910a[_0x47e4('0x67')][0x0]['value'];return _0x4315fb('side'===_0x2cda3f?_0x2f98da(_0x2064d1,_0x47e4('0xd')):_0x247065[_0x2cda3f]||_0x2cda3f);}if(_0x47e4('0x50')==_0x1c910a[_0x47e4('0x2e')]){const _0x542073=_0x1c910a[_0x47e4('0x67')][0x0][_0x47e4('0x42')];return _0x542073?{'type':'format','content':_0x2f98da(_0x2064d1,_0x47e4('0x35'),'\x22'+_0x542073+'\x22')}:{'type':_0x47e4('0x0'),'content':_0x2f98da(_0x2064d1,'*Remove\x20image\x20text\x20alternative*')};}if(_0x47e4('0x5c')==_0x1c910a['commandName']){const _0x2fc4ae=_0x1c910a[_0x47e4('0x67')][0x0][_0x47e4('0x49')];return _0x2fc4ae?{'type':_0x47e4('0x0'),'content':_0x2f98da(_0x2064d1,'*Set\x20image\x20width:*\x20%0',_0x2fc4ae)}:{'type':'format','content':_0x2f98da(_0x2064d1,_0x47e4('0x55'))};}}function _0x4315fb(_0x4565fb){return{'type':'format','content':_0x2f98da(_0x2064d1,'*Format:*\x20%0',_0x4565fb)};}});}}
23
+ const _0x41a5=['discard','caption','*Remove\x20image\x20text\x20alternative*','model','getAttribute','markDeletion','deletion','imageStyle','toNext','insertion','createRangeOn','getSuggestion','ImageEditing','end','width','convertInlineImageToBlock','accept','afterInit','getContainedElement','registerPostFixer','ImageUploadEditing','imageStylePostApply','isCollapsed','toPrevious','isBefore','isIntersecting','*Set\x20image\x20text\x20alternative:*\x20%0','type','discardSuggestion','resizeImage','_splitMarkerName','*Set\x20image\x20width:*\x20%0','fromPosition','document','getSuggestionCallback','commandParams','refresh','from','plugins','nodeAfter','findIndex','normalizedStyles','get','head','length','selection','subType','insertImage','title','enableCommand','_suggestionFactory','imageTextAlternative','locale','value','getClosestSelectedImageElement','format','getCaptionFromImageModelElement','imageBlock','ImageStyleEditing','newValue','ImageUtils','commandName','markBlockFormat','removeObject','_findSuggestions','element','imageCaption','getSuggestions','previous','next','join','ImageCaptionEditing','toggleImageCaption','FORMAT_SIDE_IMAGE','convertBlockImageToInline','suggestion','differ','commands','isInlineImage','ELEMENT_INLINE_IMAGE','name','forward','registerElementLabel','chain','ImageResize','getNearestSelectionRange','ELEMENT_IMAGE','hasSuggestion','schema','has','isBlockImage','forceDefaultExecution','alt','detach','registerCustomCallback','shouldConvertImageType','formatBlock','forEach','toLowerCase','newRange','ImageBlockEditing','side','author','createRange','filter','imageStylePreApply','_descriptionFactory','getFirstRange','ImageTextAlternativeEditing','registerDescriptionCallback','ImageInlineEditing','start','TrackChangesEditing','change','addObject','formatInline','ELEMENT_CAPTION','backward','isEqual','imageTypeInline','imageTypeBlock','find','isInContent','markInsertion'];(function(_0x3b890e,_0x41a5bd){const _0x1989ac=function(_0x41a236){while(--_0x41a236){_0x3b890e['push'](_0x3b890e['shift']());}};_0x1989ac(++_0x41a5bd);}(_0x41a5,0x15e));const _0x1989=function(_0x3b890e,_0x41a5bd){_0x3b890e=_0x3b890e-0x0;let _0x1989ac=_0x41a5[_0x3b890e];return _0x1989ac;};import{Plugin as _0x1b149d}from'ckeditor5/src/core';import{LivePosition as _0x55ab23}from'ckeditor5/src/engine';import{uid as _0x5170e0}from'ckeditor5/src/utils';import{getTranslation as _0x45eb9e}from'../utils/common-translations';export default class X extends _0x1b149d{[_0x1989('0x27')](){const _0x519371=this['editor'];if(!_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x22')))return;const _0x140b7f=_0x519371[_0x1989('0x3c')]['get'](_0x1989('0xa')),_0xe9a30f=_0x519371['plugins'][_0x1989('0x40')](_0x1989('0x52')),_0x1a4ce2={},_0x515592=_0x519371[_0x1989('0x4a')];if(_0x140b7f[_0x1989('0x47')](_0x1989('0x45')),_0x140b7f[_0x1989('0x4')]['registerElementLabel'](_0x1989('0x4f'),_0x19b3b3=>_0x45eb9e(_0x515592,_0x1989('0x6c'),_0x19b3b3)),_0x140b7f[_0x1989('0x4')]['registerElementLabel']('imageInline',_0x14f08a=>_0x45eb9e(_0x515592,_0x1989('0x65'),_0x14f08a)),_0x140b7f['_descriptionFactory'][_0x1989('0x68')]('caption',()=>_0x45eb9e(_0x515592,_0x1989('0xe'))),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x2a'))&&_0x140b7f[_0x1989('0x47')]('uploadImage'),_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x7a'))&&_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x8'))&&(_0x140b7f[_0x1989('0x47')](_0x1989('0x11'),(_0x120aa2,_0x2a68b9)=>{const _0x3c193f=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]);_0x519371['model'][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x3c193f,{'commandName':_0x1989('0x11'),'commandParams':[_0x2a68b9]},[],'convertBlockImageToInline');});}),_0x140b7f[_0x1989('0x47')](_0x1989('0x12'),(_0x58e8c7,_0x3ff749)=>{_0x519371[_0x1989('0x19')][_0x1989('0xb')](_0x5e19c2=>{let _0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x4314be=_0x55ab23['fromPosition'](_0x1cb5ac[_0x1989('0x9')],_0x1989('0x2d')),_0x3f5a8b=_0x55ab23[_0x1989('0x36')](_0x1cb5ac[_0x1989('0x23')],_0x1989('0x1e'));_0x140b7f[_0x1989('0x71')](()=>_0x58e8c7(_0x3ff749)),_0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x133fd8=_0x5e19c2[_0x1989('0x1')](_0x4314be,_0x3f5a8b);_0x4314be[_0x1989('0x73')](),_0x3f5a8b[_0x1989('0x73')](),_0x140b7f[_0x1989('0x54')](_0xc24ce0,{'commandName':'imageTypeInline','commandParams':[]},[],_0x1989('0x25')),_0x133fd8[_0x1989('0x9')][_0x1989('0x2e')](_0x1cb5ac['start'])&&_0x140b7f[_0x1989('0x15')](_0x5e19c2[_0x1989('0x1')](_0x133fd8['start'],_0x1cb5ac[_0x1989('0x9')]),_0x1989('0x25')),_0x1cb5ac[_0x1989('0x23')]['isBefore'](_0x133fd8['end'])&&_0x140b7f['markInsertion'](_0x5e19c2[_0x1989('0x1')](_0x1cb5ac[_0x1989('0x23')],_0x133fd8['end']),_0x1989('0x25'));});}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock',_0x1989('0x26'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock','discard',_0x140b7f[_0x1989('0x48')]['getSuggestionCallback'](_0x1989('0x76'),'',_0x1989('0x26'))),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion','convertInlineImageToBlock','join',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),_0x1989('0x25'),'discard',([_0x3666ac])=>{const _0x889e7a=_0x140b7f['_suggestionFactory']['getSuggestionCallback'](_0x1989('0x1f'),'',_0x1989('0x16'));let _0xb8dad1=_0x3666ac[_0x1989('0x9')],_0x52ebcc=_0x3666ac[_0x1989('0x23')];const _0x2eb2cf=_0x519371[_0x1989('0x19')][_0x1989('0x6e')][_0x1989('0x6b')](_0xb8dad1,_0x1989('0xf')),_0x387d37=_0x519371[_0x1989('0x19')]['schema'][_0x1989('0x6b')](_0x52ebcc,_0x1989('0x67'));_0x2eb2cf['isCollapsed']&&(_0xb8dad1=_0x2eb2cf['start']),_0x387d37[_0x1989('0x2c')]&&(_0x52ebcc=_0x387d37['end']),_0x889e7a([_0x519371['model'][_0x1989('0x1')](_0xb8dad1,_0x52ebcc)]);}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),'chain',_0x1bdb5d),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),'convertInlineImageToBlock',_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x5d'))&&(_0x140b7f['enableCommand'](_0x1989('0x5e'),(_0x5b794d,_0x413a6f)=>{const _0x3baa06=_0x519371[_0x1989('0x3c')]['get']('ImageCaptionUtils');let _0x460295=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295);_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x5e3bab)return void _0x140b7f[_0x1989('0x1b')](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab));const _0x9e141b=_0xe9a30f[_0x1989('0x70')](_0x460295);_0x5b794d(_0x413a6f),_0x460295=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295),_0x140b7f['markInsertion'](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab),_0x9e141b?null:_0x1989('0x58'));});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion',_0x1989('0x58'),_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')]['has']('ImageStyleEditing')){_0x140b7f[_0x1989('0x47')]('imageStyle',(_0x7e6504,_0x16276d)=>{const _0x31f24e=_0x519371[_0x1989('0x3c')][_0x1989('0x40')]('Users')['me'],_0x53088d=_0x519371[_0x1989('0x63')]['get']('imageStyle');let _0xaf23ca=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')]['document']['selection']),_0x1e6df5=_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0xaf23ca),_0x214871=_0x53088d[_0x1989('0x4b')];if(_0x214871==_0x16276d[_0x1989('0x4b')])return;const _0x34e0a1={'commandName':_0x1989('0x1d'),'commandParams':[_0x16276d],'formatGroupId':_0x5170e0()};_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x140b7f[_0x1989('0x59')]()['filter'](_0x470d65=>_0x470d65[_0x1989('0x14')]&&_0x31f24e==_0x470d65[_0x1989('0x0')]&&(_0x1989('0x76')==_0x470d65['type']||_0x1989('0xd')==_0x470d65[_0x1989('0x31')])&&(_0x1989('0x3')==_0x470d65[_0x1989('0x44')]||'imageStylePostApply'==_0x470d65[_0x1989('0x44')])&&_0x470d65[_0x1989('0x5')]()['isEqual'](_0x1e6df5))[_0x1989('0x77')](_0x428b4d=>_0x140b7f[_0x1989('0x32')](_0x428b4d[_0x1989('0x41')])),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x1e6df5=_0x519371['model']['createRangeOn'](_0xaf23ca),_0x53088d[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')](_0x1989('0x11'))[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')]('imageTypeBlock')[_0x1989('0x3a')](),_0x214871=_0x53088d[_0x1989('0x4b')],_0x214871!=_0x16276d[_0x1989('0x4b')])return _0xe9a30f[_0x1989('0x64')](_0xaf23ca)&&_0x53088d[_0x1989('0x75')](_0x16276d[_0x1989('0x4b')],_0xaf23ca)?(_0x7e6504(_0x16276d),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),void _0x140b7f[_0x1989('0x54')](_0xaf23ca,{..._0x34e0a1,'commandReversedParams':[{'value':_0x214871||null}]},[],_0x1989('0x3'))):void(_0xe9a30f[_0x1989('0x70')](_0xaf23ca)?_0x140b7f[_0x1989('0x54')](_0xaf23ca,_0x34e0a1,[],'imageStylePostApply'):_0x140b7f['markInlineFormat'](_0x1e6df5,_0x34e0a1,_0x1989('0x2b')));});});for(const _0x3c21bb of _0x519371['plugins'][_0x1989('0x40')](_0x1989('0x50'))[_0x1989('0x3f')])_0x1a4ce2[_0x3c21bb[_0x1989('0x66')]]=_0x3c21bb[_0x1989('0x46')][_0x1989('0x78')]();_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x2b'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0xd'),_0x1989('0x2b'),'join',()=>{}),_0x140b7f['_suggestionFactory']['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x3'),'accept',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),'discard',(_0x480b93,_0x36dd5b)=>{_0x140b7f[_0x1989('0x48')][_0x1989('0x38')](_0x1989('0x76'),'',_0x1989('0x26'))(_0x480b93,{'commandName':_0x36dd5b[_0x1989('0x53')],'commandParams':_0x36dd5b['commandReversedParams']});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'imageStylePreApply',_0x1989('0x69'),_0x1bdb5d);}const _0x522e51=[{'type':_0x1989('0x76'),'subType':_0x1989('0x3')},{'type':_0x1989('0x1f'),'subType':_0x1989('0x58')},{'type':_0x1989('0x76'),'subType':_0x1989('0x25')},{'type':'insertion','subType':_0x1989('0x25')}];function _0x845d14(_0x45424b,_0x367c0c){const _0x8c6dbe=_0x522e51['findIndex'](({type:_0x518089,subType:_0x803e92})=>_0x45424b[_0x1989('0x31')]==_0x518089&&_0x45424b[_0x1989('0x44')]==_0x803e92),_0x49ce2d=_0x522e51[_0x1989('0x3e')](({type:_0x4d9cd2,subType:_0x26eb2f})=>_0x367c0c['type']==_0x4d9cd2&&_0x367c0c['subType']==_0x26eb2f);if(_0x8c6dbe<0x0||_0x49ce2d<0x0)return!0x1;const _0x239971=_0x45424b[_0x1989('0x5')](),_0x56ea54=_0x367c0c[_0x1989('0x5')]();if((0x0==_0x8c6dbe||0x1==_0x8c6dbe)&&0x2==_0x49ce2d&&_0x239971[_0x1989('0x2f')](_0x56ea54))return!0x0;if(0x2==_0x8c6dbe&&0x3==_0x49ce2d){const _0x5c99e0=_0x140b7f[_0x1989('0x56')](_0x239971,_0x1989('0x1f'))[_0x1989('0x2')](({suggestion:_0x457950,meta:_0x34295b})=>_0x34295b['isOwn']&&_0x1989('0x25')==_0x457950[_0x1989('0x44')]);if(_0x5c99e0[_0x1989('0x42')]>0x1&&_0x56ea54[_0x1989('0x23')][_0x1989('0x10')](_0x239971[_0x1989('0x9')]))return!0x0;if(0x1==_0x5c99e0['length']&&(_0x239971['start'][_0x1989('0x10')](_0x56ea54[_0x1989('0x23')])||_0x239971['end'][_0x1989('0x10')](_0x56ea54['start'])))return!0x0;}if(0x3==_0x8c6dbe&&0x3==_0x49ce2d&&_0x239971[_0x1989('0x9')][_0x1989('0x2e')](_0x56ea54[_0x1989('0x9')])){const _0x1e206b=_0x239971[_0x1989('0x23')][_0x1989('0x3d')],_0x5b0748=_0x56ea54['start']['nodeBefore'];return _0xe9a30f[_0x1989('0x70')](_0x1e206b)&&_0x1e206b===_0x5b0748;}return!0x1;}function _0x1bdb5d(_0x17f308,_0x467e6f){return _0x845d14(_0x17f308,_0x467e6f)?[_0x17f308,_0x467e6f]:_0x845d14(_0x467e6f,_0x17f308)?[_0x467e6f,_0x17f308]:null;}_0x519371[_0x1989('0x19')]['document'][_0x1989('0x29')](()=>{let _0x1e1db4=!0x1;const _0x530e97=Array[_0x1989('0x3b')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x62')]['getChangedMarkers']());for(const {name:_0x1f878c,data:_0x2348f7}of _0x530e97){const {group:_0x50f9e2,type:_0x2853e4,subType:_0x1af356,id:_0x5daedc}=_0x140b7f[_0x1989('0x34')](_0x1f878c);if(_0x1989('0x61')==_0x50f9e2&&_0x140b7f[_0x1989('0x6d')](_0x5daedc)){if(_0x1989('0x76')==_0x2853e4&&(_0x1989('0x3')==_0x1af356||_0x1989('0x2b')==_0x1af356)){const _0x5e0ffa=_0x140b7f['getSuggestion'](_0x5daedc);if(_0x2348f7['newRange']){const _0xeafd0f=_0x5e0ffa[_0x1989('0x5')]()[_0x1989('0x28')]();if(_0xe9a30f[_0x1989('0x70')](_0xeafd0f))continue;_0x140b7f['discardSuggestion'](_0x5e0ffa),_0x1e1db4=!0x0;}}if(_0x1989('0x1f')==_0x2853e4&&_0x1989('0x58')==_0x1af356&&!_0x2348f7[_0x1989('0x79')]){const _0x5b2905=_0x140b7f[_0x1989('0x21')](_0x5daedc);_0x5b2905[_0x1989('0x5b')]&&_0x5b2905[_0x1989('0x5b')][_0x1989('0x14')]&&(_0x140b7f[_0x1989('0x32')](_0x5b2905[_0x1989('0x5b')]),_0x1e1db4=!0x0);}}}return _0x1e1db4;}),_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x6a'))&&_0x140b7f[_0x1989('0x47')]('resizeImage',(_0x4d07b5,_0x45eb1d)=>{const _0x546db3=_0xe9a30f['getClosestSelectedImageElement'](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]);_0x546db3[_0x1989('0x1a')]('width')!=_0x45eb1d['width']&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x546db3,{'commandName':_0x1989('0x33'),'commandParams':[_0x45eb1d]});});}),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x6'))&&_0x140b7f[_0x1989('0x47')](_0x1989('0x49'),(_0x2bef86,_0x83ce54)=>{const _0x29fc21=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')]['selection']);(_0x29fc21['hasAttribute']('alt')?_0x29fc21[_0x1989('0x1a')](_0x1989('0x72')):'')!=_0x83ce54[_0x1989('0x51')]&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x29fc21,{'commandName':_0x1989('0x49'),'commandParams':[_0x83ce54]});});}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x2c5b67=>{if(!!_0x522e51[_0x1989('0x13')](({type:_0x5a1f43,subType:_0x57b540})=>_0x2c5b67[_0x1989('0x31')]==_0x5a1f43&&_0x2c5b67[_0x1989('0x44')]==_0x57b540))return _0x2c5b67[_0x1989('0x5a')]?{}:void 0x0;}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x4dc5a8=>{if(_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]||_0x1989('0x1c')==_0x4dc5a8[_0x1989('0x31')]){const _0x44f200=_0x4dc5a8[_0x1989('0x28')]();if(_0x44f200&&_0x44f200['is'](_0x1989('0x57'),_0x1989('0x17')))return{'type':_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]?_0x1989('0xc'):_0x1989('0x55'),'element':_0x44f200,'quantity':0x1};}}),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x2d2cdf=>_0x1989('0x76')==_0x2d2cdf[_0x1989('0x31')]&&'convertInlineImageToBlock'==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x2d2cdf[_0x1989('0x31')]&&_0x1989('0x60')==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x4d2523=>{const {data:_0x4f4676}=_0x4d2523;if(_0x4f4676){if(_0x1989('0x1d')==_0x4f4676[_0x1989('0x53')]){const _0x35afb8=_0x4f4676[_0x1989('0x39')][0x0]['value'];return _0x4de1cc(_0x1989('0x7b')===_0x35afb8?_0x45eb9e(_0x515592,_0x1989('0x5f')):_0x1a4ce2[_0x35afb8]||_0x35afb8);}if(_0x1989('0x49')==_0x4f4676['commandName']){const _0x4e248b=_0x4f4676[_0x1989('0x39')][0x0][_0x1989('0x51')];return _0x4e248b?{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x30'),'\x22'+_0x4e248b+'\x22')}:{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x18'))};}if(_0x1989('0x33')==_0x4f4676['commandName']){const _0x361f1e=_0x4f4676['commandParams'][0x0][_0x1989('0x24')];return _0x361f1e?{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,_0x1989('0x35'),_0x361f1e)}:{'type':'format','content':_0x45eb9e(_0x515592,'*Reset\x20image\x20width*')};}}function _0x4de1cc(_0x11312e){return{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,'*Format:*\x20%0',_0x11312e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2152=['selection','model','discard','document','data','commandName','*Format:*\x20replace\x20image\x20URL','editor','formatBlock','replaceImageSource','accept','enableCommand','handleSuggestionDescription','getAttribute','subType','getContainedElement','markBlockFormat','TrackChangesEditing','_suggestionFactory','change','format','_descriptionFactory','commandParams','registerCustomCallback','get','handleReplaceImageCommand','plugins','has','locale','getSuggestionCallback'];(function(_0xb4bb47,_0x21526f){const _0x132ea7=function(_0x1be2bb){while(--_0x1be2bb){_0xb4bb47['push'](_0xb4bb47['shift']());}};_0x132ea7(++_0x21526f);}(_0x2152,0x93));const _0x132e=function(_0xb4bb47,_0x21526f){_0xb4bb47=_0xb4bb47-0x0;let _0x132ea7=_0x2152[_0xb4bb47];return _0x132ea7;};import{Plugin as _0x5382e2}from'ckeditor5/src/core';import{getTranslation as _0x2776b0}from'../utils/common-translations';export default class Y extends _0x5382e2{['afterInit'](){if(!this[_0x132e('0xa')][_0x132e('0x1d')][_0x132e('0x0')]('ImageEditing'))return;const _0x229ba1=this[_0x132e('0xa')][_0x132e('0x1d')][_0x132e('0x1b')](_0x132e('0x14'));_0x229ba1[_0x132e('0xe')]('replaceImageSource',(_0x2fbc19,_0x1c474f)=>this[_0x132e('0x1c')](_0x2fbc19,_0x1c474f)),_0x229ba1[_0x132e('0x15')][_0x132e('0x1a')](_0x132e('0xb'),'replaceImageSource','accept',_0x229ba1[_0x132e('0x15')][_0x132e('0x2')](_0x132e('0xb'),null,_0x132e('0x5'))),_0x229ba1['_suggestionFactory'][_0x132e('0x1a')](_0x132e('0xb'),_0x132e('0xc'),'discard',_0x229ba1[_0x132e('0x15')][_0x132e('0x2')](_0x132e('0xb'),null,_0x132e('0xd'))),_0x229ba1[_0x132e('0x18')]['registerDescriptionCallback'](_0x1f5207=>this[_0x132e('0xf')](_0x1f5207));}['handleReplaceImageCommand'](_0x2abf21,_0x3ef8b3){const _0x256f0a=this[_0x132e('0xa')]['plugins'][_0x132e('0x1b')]('TrackChangesEditing'),_0x407f3c=this[_0x132e('0xa')]['model'][_0x132e('0x6')][_0x132e('0x3')]['getSelectedElement']();this[_0x132e('0xa')][_0x132e('0x4')][_0x132e('0x16')](()=>{let _0x489ec1=_0x407f3c[_0x132e('0x10')]('src');const _0x1408b3=this[_0x132e('0xa')]['plugins']['get']('Users')['me'];for(const _0x58518a of _0x256f0a['getSuggestions']({'skipNotAttached':!0x0})){const _0x24d406=_0x58518a[_0x132e('0x12')]();if(_0x132e('0xc')===_0x58518a[_0x132e('0x11')]&&_0x24d406===_0x407f3c){_0x58518a['author']!==_0x1408b3&&_0x58518a[_0x132e('0x5')](),_0x489ec1=_0x58518a[_0x132e('0x7')][_0x132e('0x19')][0x0]['source'];break;}}_0x2abf21(_0x3ef8b3),_0x256f0a[_0x132e('0x13')](_0x407f3c,{'commandName':'replaceImageSource','commandParams':[{'source':_0x489ec1}]},[],'replaceImageSource');});}[_0x132e('0xf')](_0x12cf91){const {data:_0x3ce818}=_0x12cf91;if(_0x3ce818&&_0x132e('0xc')===_0x3ce818[_0x132e('0x8')]){const _0x4b076d=_0x132e('0x9');return{'type':_0x132e('0x17'),'content':_0x2776b0(this[_0x132e('0xa')][_0x132e('0x1')],_0x4b076d)};}}}
23
+ const _0x5eb6=['format','plugins','getSuggestionCallback','_descriptionFactory','TrackChangesEditing','author','discard','formatBlock','handleReplaceImageCommand','*Format:*\x20replace\x20image\x20URL','source','editor','getSelectedElement','get','commandName','subType','accept','src','registerCustomCallback','getSuggestions','getContainedElement','commandParams','data','replaceImageSource','has','change','afterInit','locale','enableCommand','_suggestionFactory','handleSuggestionDescription','model'];(function(_0xe3b3f1,_0x5eb63d){const _0x4269ff=function(_0x439620){while(--_0x439620){_0xe3b3f1['push'](_0xe3b3f1['shift']());}};_0x4269ff(++_0x5eb63d);}(_0x5eb6,0x9f));const _0x4269=function(_0xe3b3f1,_0x5eb63d){_0xe3b3f1=_0xe3b3f1-0x0;let _0x4269ff=_0x5eb6[_0xe3b3f1];return _0x4269ff;};import{Plugin as _0x16477d}from'ckeditor5/src/core';import{getTranslation as _0x1d7968}from'../utils/common-translations';export default class Y extends _0x16477d{[_0x4269('0x1b')](){if(!this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0x19')]('ImageEditing'))return;const _0x43867e=this[_0x4269('0xc')]['plugins'][_0x4269('0xe')]('TrackChangesEditing');_0x43867e[_0x4269('0x1d')](_0x4269('0x18'),(_0x538ead,_0x4c05b2)=>this[_0x4269('0x9')](_0x538ead,_0x4c05b2)),_0x43867e[_0x4269('0x1e')][_0x4269('0x13')](_0x4269('0x8'),'replaceImageSource',_0x4269('0x11'),_0x43867e['_suggestionFactory'][_0x4269('0x3')](_0x4269('0x8'),null,'discard')),_0x43867e[_0x4269('0x1e')][_0x4269('0x13')](_0x4269('0x8'),_0x4269('0x18'),_0x4269('0x7'),_0x43867e['_suggestionFactory'][_0x4269('0x3')](_0x4269('0x8'),null,_0x4269('0x11'))),_0x43867e[_0x4269('0x4')]['registerDescriptionCallback'](_0x447b10=>this[_0x4269('0x1f')](_0x447b10));}[_0x4269('0x9')](_0x306176,_0x16f712){const _0x310bf5=this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0xe')](_0x4269('0x5')),_0x46ea08=this['editor'][_0x4269('0x0')]['document']['selection'][_0x4269('0xd')]();this[_0x4269('0xc')][_0x4269('0x0')][_0x4269('0x1a')](()=>{let _0x3bdeb8=_0x46ea08['getAttribute'](_0x4269('0x12'));const _0x57fee0=this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0xe')]('Users')['me'];for(const _0x526cb5 of _0x310bf5[_0x4269('0x14')]({'skipNotAttached':!0x0})){const _0x1b91f1=_0x526cb5[_0x4269('0x15')]();if('replaceImageSource'===_0x526cb5[_0x4269('0x10')]&&_0x1b91f1===_0x46ea08){_0x526cb5[_0x4269('0x6')]!==_0x57fee0&&_0x526cb5[_0x4269('0x7')](),_0x3bdeb8=_0x526cb5[_0x4269('0x17')][_0x4269('0x16')][0x0][_0x4269('0xb')];break;}}_0x306176(_0x16f712),_0x310bf5['markBlockFormat'](_0x46ea08,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3bdeb8}]},[],_0x4269('0x18'));});}[_0x4269('0x1f')](_0x354dc9){const {data:_0x9b5a5}=_0x354dc9;if(_0x9b5a5&&_0x4269('0x18')===_0x9b5a5[_0x4269('0xf')]){const _0x237b52=_0x4269('0xa');return{'type':_0x4269('0x1'),'content':_0x1d7968(this[_0x4269('0xc')][_0x4269('0x1c')],_0x237b52)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1481=['get','commands','execute','plugins','dataInsert','track_changes','TrackChangesEditing','importWord','_trackChangesExecuted','_setSuggestionData','_handleImportedData','lowest','high','listenTo','afterInit','_trackChangesValueDuringImport','editor','trackChanges','value'];(function(_0x3172ef,_0x148136){const _0x4bfed8=function(_0x2b627c){while(--_0x2b627c){_0x3172ef['push'](_0x3172ef['shift']());}};_0x4bfed8(++_0x148136);}(_0x1481,0x133));const _0x4bfe=function(_0x3172ef,_0x148136){_0x3172ef=_0x3172ef-0x0;let _0x4bfed8=_0x1481[_0x3172ef];return _0x4bfed8;};import{Plugin as _0x470fee}from'ckeditor5/src/core';export default class Z extends _0x470fee{constructor(_0xd27ade){super(_0xd27ade),this['_trackChangesValueDuringImport']=!0x1,this[_0x4bfe('0x5')]=!0x1;}[_0x4bfe('0xb')](){const _0x1999ac=this['editor'],_0xd2df56=_0x1999ac[_0x4bfe('0x11')][_0x4bfe('0x10')]('importWord'),_0x27d9fc=_0x1999ac[_0x4bfe('0x11')][_0x4bfe('0x10')](_0x4bfe('0xe'));_0xd2df56&&(_0xd2df56['on']('execute',(_0x5f1e04,[,_0x1be8f2])=>{this[_0x4bfe('0xc')]=_0x27d9fc[_0x4bfe('0xf')],_0x1be8f2['collaboration_features'][_0x4bfe('0x2')]=!this[_0x4bfe('0xc')];},{'priority':_0x4bfe('0x9')}),this[_0x4bfe('0xa')](_0xd2df56,'dataInsert',this[_0x4bfe('0x7')]['bind'](this)),this[_0x4bfe('0xa')](_0xd2df56,_0x4bfe('0x1'),()=>{this[_0x4bfe('0x5')]&&(_0x27d9fc['execute'](),this[_0x4bfe('0x5')]=!0x1);},{'priority':_0x4bfe('0x8')}),_0x1999ac[_0x4bfe('0x0')][_0x4bfe('0x10')](_0x4bfe('0x3'))['enableCommand'](_0x4bfe('0x4')));}['_handleImportedData'](_0x3c49b7,_0x2cbab4){const {suggestions:_0x257158}=_0x2cbab4,_0x1173e7=this[_0x4bfe('0xd')][_0x4bfe('0x11')]['get'](_0x4bfe('0xe')),_0x320616=_0x1173e7[_0x4bfe('0xf')];this[_0x4bfe('0xc')]!==_0x320616&&(_0x1173e7[_0x4bfe('0x12')](),this[_0x4bfe('0x5')]=!0x0),_0x257158&&_0x257158['forEach'](({id:_0x5f46ba,type:_0xe3b9ec,author:_0x321649,created_at:_0x3ef5cf})=>{const _0x9d91b2={'id':_0x5f46ba,'type':_0xe3b9ec,'authorId':this[_0x4bfe('0xd')][_0x4bfe('0x0')][_0x4bfe('0x10')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x321649,'createdAt':_0x3ef5cf?new Date(_0x3ef5cf):new Date(),'source':_0x4bfe('0x4')}}};this[_0x4bfe('0xd')][_0x4bfe('0x0')]['get'](_0x4bfe('0x3'))[_0x4bfe('0x6')](_0x9d91b2);});}}
23
+ const _0x4070=['execute','value','TrackChangesEditing','_trackChangesValueDuringImport','_setSuggestionData','bind','dataInsert','collaboration_features','commands','_handleImportedData','afterInit','trackChanges','editor','listenTo','track_changes','_trackChangesExecuted','get','Users','enableCommand','plugins','forEach','lowest','importWord'];(function(_0x31605c,_0x4070a2){const _0x2a4c47=function(_0x24a390){while(--_0x24a390){_0x31605c['push'](_0x31605c['shift']());}};_0x2a4c47(++_0x4070a2);}(_0x4070,0x133));const _0x2a4c=function(_0x31605c,_0x4070a2){_0x31605c=_0x31605c-0x0;let _0x2a4c47=_0x4070[_0x31605c];return _0x2a4c47;};import{Plugin as _0x124ea5}from'ckeditor5/src/core';export default class Z extends _0x124ea5{constructor(_0x522da3){super(_0x522da3),this[_0x2a4c('0x12')]=!0x1,this[_0x2a4c('0x7')]=!0x1;}[_0x2a4c('0x2')](){const _0x324bab=this['editor'],_0x2105b0=_0x324bab['commands']['get'](_0x2a4c('0xe')),_0x1bda94=_0x324bab['commands'][_0x2a4c('0x8')]('trackChanges');_0x2105b0&&(_0x2105b0['on'](_0x2a4c('0xf'),(_0x446b7d,[,_0x21186e])=>{this[_0x2a4c('0x12')]=_0x1bda94[_0x2a4c('0x10')],_0x21186e[_0x2a4c('0x16')][_0x2a4c('0x6')]=!this[_0x2a4c('0x12')];},{'priority':'high'}),this[_0x2a4c('0x5')](_0x2105b0,_0x2a4c('0x15'),this['_handleImportedData'][_0x2a4c('0x14')](this)),this[_0x2a4c('0x5')](_0x2105b0,_0x2a4c('0x15'),()=>{this[_0x2a4c('0x7')]&&(_0x1bda94[_0x2a4c('0xf')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2a4c('0xd')}),_0x324bab[_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x11'))[_0x2a4c('0xa')](_0x2a4c('0xe')));}[_0x2a4c('0x1')](_0x508f48,_0x534377){const {suggestions:_0x14f8f2}=_0x534377,_0x44d81d=this[_0x2a4c('0x4')][_0x2a4c('0x0')][_0x2a4c('0x8')](_0x2a4c('0x3')),_0xe3b8b1=_0x44d81d[_0x2a4c('0x10')];this[_0x2a4c('0x12')]!==_0xe3b8b1&&(_0x44d81d['execute'](),this[_0x2a4c('0x7')]=!0x0),_0x14f8f2&&_0x14f8f2[_0x2a4c('0xc')](({id:_0x341282,type:_0x51ee25,author:_0x27c37e,created_at:_0x1cdc5e})=>{const _0x462b4b={'id':_0x341282,'type':_0x51ee25,'authorId':this[_0x2a4c('0x4')][_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x9'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x27c37e,'createdAt':_0x1cdc5e?new Date(_0x1cdc5e):new Date(),'source':_0x2a4c('0xe')}}};this[_0x2a4c('0x4')][_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x11'))[_0x2a4c('0x13')](_0x462b4b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45c8=['model','schema','outdent','IndentEditing','enableCommand','getItemLabel','indent','locale','change','TrackChangesEditing','selection','from','getItems','*Indent:*\x20%0','blockIndent','editor','commandName','markBlockFormat','_descriptionFactory','IndentBlock','*Outdent:*\x20%0','outdentBlock','document','get','filter','format','plugins','has','indentBlock'];(function(_0x4e278e,_0x45c8c6){const _0x2373fb=function(_0x407d04){while(--_0x407d04){_0x4e278e['push'](_0x4e278e['shift']());}};_0x2373fb(++_0x45c8c6);}(_0x45c8,0x1ac));const _0x2373=function(_0x4e278e,_0x45c8c6){_0x4e278e=_0x4e278e-0x0;let _0x2373fb=_0x45c8[_0x4e278e];return _0x2373fb;};import{Plugin as _0x243f2e}from'ckeditor5/src/core';import{getTranslation as _0x426615}from'../utils/common-translations';export default class tt extends _0x243f2e{['afterInit'](){const _0x29fff2=this[_0x2373('0x16')],_0x40e5db=_0x29fff2['plugins'][_0x2373('0x1')](_0x2373('0x10'));_0x29fff2['plugins']['has'](_0x2373('0xa'))&&(_0x40e5db[_0x2373('0xb')](_0x2373('0xd')),_0x40e5db[_0x2373('0xb')](_0x2373('0x9')));const _0x541ca2=_0x29fff2[_0x2373('0xe')];if(_0x29fff2[_0x2373('0x4')][_0x2373('0x5')](_0x2373('0x1a'))){for(const _0x1cb849 of[_0x2373('0x6'),_0x2373('0x1c')])_0x40e5db[_0x2373('0xb')](_0x1cb849,()=>{const _0x4e988b=Array[_0x2373('0x12')](this[_0x2373('0x16')][_0x2373('0x7')][_0x2373('0x0')][_0x2373('0x11')]['getSelectedBlocks']())[_0x2373('0x2')](_0x419e25=>this[_0x2373('0x16')][_0x2373('0x7')][_0x2373('0x8')]['checkAttribute'](_0x419e25,_0x2373('0x15')));_0x29fff2[_0x2373('0x7')][_0x2373('0xf')](()=>{for(const _0x169aaa of _0x4e988b)_0x40e5db[_0x2373('0x18')](_0x169aaa,{'commandName':_0x1cb849,'commandParams':[{'value':''}],'formatGroupId':_0x2373('0x6')});});});_0x40e5db['_descriptionFactory']['registerDescriptionCallback'](_0x1d1ece=>{const {data:_0x4ed002}=_0x1d1ece;if(!_0x4ed002)return;if(_0x2373('0x6')!=_0x4ed002['commandName']&&'outdentBlock'!=_0x4ed002['commandName'])return;const _0x24277f=_0x1d1ece[_0x2373('0x13')]()[0x0],_0x131a84=_0x40e5db[_0x2373('0x19')][_0x2373('0xc')](_0x24277f);return _0x2373('0x6')==_0x4ed002[_0x2373('0x17')]?{'type':_0x2373('0x3'),'content':_0x426615(_0x541ca2,_0x2373('0x14'),_0x131a84)}:_0x2373('0x1c')==_0x4ed002[_0x2373('0x17')]?{'type':_0x2373('0x3'),'content':_0x426615(_0x541ca2,_0x2373('0x1b'),_0x131a84)}:void 0x0;});}}}
23
+ const _0x1d72=['checkAttribute','indentBlock','get','markBlockFormat','model','TrackChangesEditing','has','outdentBlock','editor','afterInit','schema','getItemLabel','plugins','getItems','document','commandName','format','*Indent:*\x20%0','filter','indent','enableCommand','IndentBlock','_descriptionFactory','selection','locale','*Outdent:*\x20%0','registerDescriptionCallback','blockIndent','from'];(function(_0x281418,_0x1d72e2){const _0x29d4ce=function(_0x183907){while(--_0x183907){_0x281418['push'](_0x281418['shift']());}};_0x29d4ce(++_0x1d72e2);}(_0x1d72,0x10c));const _0x29d4=function(_0x281418,_0x1d72e2){_0x281418=_0x281418-0x0;let _0x29d4ce=_0x1d72[_0x281418];return _0x29d4ce;};import{Plugin as _0x341b37}from'ckeditor5/src/core';import{getTranslation as _0xf6c91}from'../utils/common-translations';export default class tt extends _0x341b37{[_0x29d4('0x2')](){const _0x45d27e=this[_0x29d4('0x1')],_0x3ce52d=_0x45d27e['plugins'][_0x29d4('0x18')](_0x29d4('0x1b'));_0x45d27e[_0x29d4('0x5')]['has']('IndentEditing')&&(_0x3ce52d[_0x29d4('0xd')](_0x29d4('0xc')),_0x3ce52d['enableCommand']('outdent'));const _0xd8af6e=_0x45d27e[_0x29d4('0x11')];if(_0x45d27e[_0x29d4('0x5')][_0x29d4('0x1c')](_0x29d4('0xe'))){for(const _0x1af25c of[_0x29d4('0x17'),_0x29d4('0x0')])_0x3ce52d['enableCommand'](_0x1af25c,()=>{const _0x572cce=Array[_0x29d4('0x15')](this[_0x29d4('0x1')]['model'][_0x29d4('0x7')][_0x29d4('0x10')]['getSelectedBlocks']())[_0x29d4('0xb')](_0x5e248b=>this[_0x29d4('0x1')][_0x29d4('0x1a')][_0x29d4('0x3')][_0x29d4('0x16')](_0x5e248b,_0x29d4('0x14')));_0x45d27e[_0x29d4('0x1a')]['change'](()=>{for(const _0x8d7840 of _0x572cce)_0x3ce52d[_0x29d4('0x19')](_0x8d7840,{'commandName':_0x1af25c,'commandParams':[{'value':''}],'formatGroupId':_0x29d4('0x17')});});});_0x3ce52d[_0x29d4('0xf')][_0x29d4('0x13')](_0x3a0a0f=>{const {data:_0x195cd6}=_0x3a0a0f;if(!_0x195cd6)return;if(_0x29d4('0x17')!=_0x195cd6[_0x29d4('0x8')]&&_0x29d4('0x0')!=_0x195cd6[_0x29d4('0x8')])return;const _0xc5407e=_0x3a0a0f[_0x29d4('0x6')]()[0x0],_0xfd5d55=_0x3ce52d[_0x29d4('0xf')][_0x29d4('0x4')](_0xc5407e);return'indentBlock'==_0x195cd6['commandName']?{'type':_0x29d4('0x9'),'content':_0xf6c91(_0xd8af6e,_0x29d4('0xa'),_0xfd5d55)}:'outdentBlock'==_0x195cd6['commandName']?{'type':_0x29d4('0x9'),'content':_0xf6c91(_0xd8af6e,_0x29d4('0x12'),_0xfd5d55)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3566=['TrackChangesEditing','init','plugins','get','editor','requires','input'];(function(_0x591e14,_0x35665b){var _0x358bab=function(_0x27d327){while(--_0x27d327){_0x591e14['push'](_0x591e14['shift']());}};_0x358bab(++_0x35665b);}(_0x3566,0x1da));var _0x358b=function(_0x591e14,_0x35665b){_0x591e14=_0x591e14-0x0;var _0x358bab=_0x3566[_0x591e14];return _0x358bab;};import{Plugin as _0x9a7fa2}from'ckeditor5/src/core';import{Input as _0x55068e}from'ckeditor5/src/typing';export default class it extends _0x9a7fa2{static get[_0x358b('0x0')](){return[_0x55068e];}[_0x358b('0x3')](){this[_0x358b('0x6')][_0x358b('0x4')][_0x358b('0x5')](_0x358b('0x2'))['enableCommand'](_0x358b('0x1'));}}
23
+ var _0x237a=['init','get','editor','input','plugins','TrackChangesEditing'];(function(_0x6f8dd8,_0x237aff){var _0x1171bc=function(_0x5731d5){while(--_0x5731d5){_0x6f8dd8['push'](_0x6f8dd8['shift']());}};_0x1171bc(++_0x237aff);}(_0x237a,0x81));var _0x1171=function(_0x6f8dd8,_0x237aff){_0x6f8dd8=_0x6f8dd8-0x0;var _0x1171bc=_0x237a[_0x6f8dd8];return _0x1171bc;};import{Plugin as _0x3de623}from'ckeditor5/src/core';import{Input as _0xa67c86}from'ckeditor5/src/typing';export default class it extends _0x3de623{static get['requires'](){return[_0xa67c86];}[_0x1171('0x3')](){this[_0x1171('0x5')][_0x1171('0x1')][_0x1171('0x4')](_0x1171('0x2'))['enableCommand'](_0x1171('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e3e=['getRanges','selection','model','link','editor','linkHref','TrackChangesEditing','getAttribute','enableCommand','from','LinkEditing','*Set\x20link:*\x20%0','markInlineFormat','locale','document','getFirstRange','has','format','*Remove\x20link*','get','afterInit','_descriptionFactory','registerDescriptionCallback','commandParams','plugins','unlink','hasAttribute'];(function(_0x326921,_0x1e3eeb){const _0x49e24f=function(_0x2d5b67){while(--_0x2d5b67){_0x326921['push'](_0x326921['shift']());}};_0x49e24f(++_0x1e3eeb);}(_0x1e3e,0x137));const _0x49e2=function(_0x326921,_0x1e3eeb){_0x326921=_0x326921-0x0;let _0x49e24f=_0x1e3e[_0x326921];return _0x49e24f;};import{Plugin as _0x493c40}from'ckeditor5/src/core';import{findAttributeRange as _0x31ad9a}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3c7af6}from'./utils';import{getTranslation as _0x1aa905}from'../utils/common-translations';export default class et extends _0x493c40{[_0x49e2('0x6')](){const _0x5b7e3e=this[_0x49e2('0x11')];if(!_0x5b7e3e[_0x49e2('0xa')][_0x49e2('0x2')](_0x49e2('0x17')))return;const _0x3fac09=_0x5b7e3e[_0x49e2('0xa')][_0x49e2('0x5')](_0x49e2('0x13'));_0x3fac09[_0x49e2('0x15')](_0x49e2('0x10'),(_0x354525,_0x4fd626)=>{const _0xadb70d=_0x5b7e3e[_0x49e2('0xf')][_0x49e2('0x0')][_0x49e2('0xe')];let _0xf0b765=[];if(_0xadb70d['isCollapsed']){if(!_0xadb70d[_0x49e2('0xc')](_0x49e2('0x12')))return void _0x354525(_0x4fd626);{const _0x35fb10=_0x31ad9a(_0xadb70d['getFirstPosition'](),'linkHref',_0xadb70d['getAttribute'](_0x49e2('0x12')),_0x5b7e3e['model']);_0xf0b765=[_0x35fb10];}}else _0xf0b765=Array[_0x49e2('0x16')](_0xadb70d[_0x49e2('0xd')]());_0x5b7e3e['model']['change'](()=>{for(const _0x8fecf5 of _0xf0b765)_0x3fac09[_0x49e2('0x19')](_0x8fecf5,{'commandName':_0x49e2('0x10'),'commandParams':[_0x4fd626]});});}),_0x3fac09[_0x49e2('0x15')]('unlink',()=>{const _0x474477=this[_0x49e2('0x11')][_0x49e2('0xf')],_0x2eba19=_0x474477[_0x49e2('0x0')][_0x49e2('0xe')];_0x474477['change'](()=>{let _0x24e4d7=[];if(_0x2eba19['isCollapsed'])_0x24e4d7=[_0x31ad9a(_0x2eba19['getFirstPosition'](),_0x49e2('0x12'),_0x2eba19[_0x49e2('0x14')]('linkHref'),_0x5b7e3e['model'])];else _0x24e4d7=_0x3c7af6(_0x49e2('0x12'),_0x2eba19[_0x49e2('0x1')](),_0x5b7e3e[_0x49e2('0xf')]);for(const _0x3000c1 of _0x24e4d7)_0x3fac09[_0x49e2('0x19')](_0x3000c1,{'commandName':_0x49e2('0xb'),'commandParams':[]});});}),_0x3fac09[_0x49e2('0x7')][_0x49e2('0x8')](_0x1b9b0d=>{const {data:_0x1039e5}=_0x1b9b0d,_0x4d5d3b=_0x5b7e3e[_0x49e2('0x1a')];if(_0x1039e5){if(_0x49e2('0x10')==_0x1039e5['commandName']){const _0x20590d=_0x1039e5[_0x49e2('0x9')][0x0];return{'type':_0x49e2('0x3'),'content':_0x1aa905(_0x4d5d3b,_0x49e2('0x18'),'\x22'+_0x20590d+'\x22')};}return _0x49e2('0xb')==_0x1039e5['commandName']?{'type':_0x49e2('0x3'),'content':_0x1aa905(_0x4d5d3b,_0x49e2('0x4'))}:void 0x0;}});}}
23
+ const _0x559d=['from','commandParams','getFirstPosition','*Remove\x20link*','_descriptionFactory','selection','document','format','change','model','hasAttribute','isCollapsed','registerDescriptionCallback','getFirstRange','plugins','enableCommand','get','link','commandName','markInlineFormat','getRanges','getAttribute','has','editor','*Set\x20link:*\x20%0','unlink','linkHref','LinkEditing'];(function(_0x3f6949,_0x559dc4){const _0x5ded4a=function(_0x325bdc){while(--_0x325bdc){_0x3f6949['push'](_0x3f6949['shift']());}};_0x5ded4a(++_0x559dc4);}(_0x559d,0x16e));const _0x5ded=function(_0x3f6949,_0x559dc4){_0x3f6949=_0x3f6949-0x0;let _0x5ded4a=_0x559d[_0x3f6949];return _0x5ded4a;};import{Plugin as _0x2db016}from'ckeditor5/src/core';import{findAttributeRange as _0x2dfb7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1714dc}from'./utils';import{getTranslation as _0x38ba4b}from'../utils/common-translations';export default class et extends _0x2db016{['afterInit'](){const _0x17d2be=this[_0x5ded('0x15')];if(!_0x17d2be[_0x5ded('0xc')][_0x5ded('0x14')](_0x5ded('0x19')))return;const _0x1d4487=_0x17d2be[_0x5ded('0xc')][_0x5ded('0xe')]('TrackChangesEditing');_0x1d4487[_0x5ded('0xd')]('link',(_0x2a9ff0,_0x13cf21)=>{const _0x5d9418=_0x17d2be['model'][_0x5ded('0x4')][_0x5ded('0x3')];let _0x24d1f3=[];if(_0x5d9418[_0x5ded('0x9')]){if(!_0x5d9418[_0x5ded('0x8')](_0x5ded('0x18')))return void _0x2a9ff0(_0x13cf21);{const _0x52caf4=_0x2dfb7(_0x5d9418[_0x5ded('0x0')](),_0x5ded('0x18'),_0x5d9418[_0x5ded('0x13')](_0x5ded('0x18')),_0x17d2be[_0x5ded('0x7')]);_0x24d1f3=[_0x52caf4];}}else _0x24d1f3=Array[_0x5ded('0x1a')](_0x5d9418[_0x5ded('0x12')]());_0x17d2be[_0x5ded('0x7')][_0x5ded('0x6')](()=>{for(const _0x53a030 of _0x24d1f3)_0x1d4487[_0x5ded('0x11')](_0x53a030,{'commandName':_0x5ded('0xf'),'commandParams':[_0x13cf21]});});}),_0x1d4487[_0x5ded('0xd')](_0x5ded('0x17'),()=>{const _0x419067=this[_0x5ded('0x15')][_0x5ded('0x7')],_0x361cae=_0x419067[_0x5ded('0x4')]['selection'];_0x419067[_0x5ded('0x6')](()=>{let _0x1e22a3=[];if(_0x361cae['isCollapsed'])_0x1e22a3=[_0x2dfb7(_0x361cae[_0x5ded('0x0')](),'linkHref',_0x361cae['getAttribute'](_0x5ded('0x18')),_0x17d2be['model'])];else _0x1e22a3=_0x1714dc(_0x5ded('0x18'),_0x361cae[_0x5ded('0xb')](),_0x17d2be[_0x5ded('0x7')]);for(const _0x5608b5 of _0x1e22a3)_0x1d4487[_0x5ded('0x11')](_0x5608b5,{'commandName':_0x5ded('0x17'),'commandParams':[]});});}),_0x1d4487[_0x5ded('0x2')][_0x5ded('0xa')](_0x464f3f=>{const {data:_0x56b2ee}=_0x464f3f,_0x26bdcd=_0x17d2be['locale'];if(_0x56b2ee){if(_0x5ded('0xf')==_0x56b2ee[_0x5ded('0x10')]){const _0x2e6825=_0x56b2ee[_0x5ded('0x1b')][0x0];return{'type':_0x5ded('0x5'),'content':_0x38ba4b(_0x26bdcd,_0x5ded('0x16'),'\x22'+_0x2e6825+'\x22')};}return _0x5ded('0x17')==_0x56b2ee[_0x5ded('0x10')]?{'type':_0x5ded('0x5'),'content':_0x38ba4b(_0x26bdcd,_0x5ded('0x1'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2abc=['todo','markBlockFormat','*Change\x20to:*\x20%0','slice','end','from','has','enableCommand','listIndent','locale','model','parent','*Outdent:*\x20%0','document','checkChild','commandParams','findIndex','previousSibling','*Check\x20item*','ELEMENT_TODO_LIST','isObject','value','commandName','registerElementLabel','indentList','push','_descriptionFactory','selection','ListEditing','outdentList','bulleted','before','replace','element','*Uncheck\x20item*','name','plugins','change','get','getSelectedBlocks','registerDescriptionCallback','format','nextSibling','schema','ELEMENT_NUMBERED_LIST','ELEMENT_BULLETED_LIST','todoList','listItem','numberedList','todoListChecked','filter','bulletedList','commands','List','checkTodoList','_selectedElements','forceValue','ELEMENT_LIST_ITEM','*Indent:*\x20%0','TodoListEditing','getAttribute'];(function(_0x3e78b3,_0x2abceb){const _0x52d3ca=function(_0x27cf58){while(--_0x27cf58){_0x3e78b3['push'](_0x3e78b3['shift']());}};_0x52d3ca(++_0x2abceb);}(_0x2abc,0x16a));const _0x52d3=function(_0x3e78b3,_0x2abceb){_0x3e78b3=_0x3e78b3-0x0;let _0x52d3ca=_0x2abc[_0x3e78b3];return _0x52d3ca;};import{Plugin as _0x17f141}from'ckeditor5/src/core';import{getTranslation as _0x1f8dfc}from'../utils/common-translations';export default class st extends _0x17f141{['afterInit'](){const _0x294292=this['editor'],_0x1fd44e=_0x294292[_0x52d3('0xd')];if(!_0x294292[_0x52d3('0x28')][_0x52d3('0xa')](_0x52d3('0x20')))return;const _0x231345=_0x294292[_0x52d3('0x28')][_0x52d3('0x2a')]('TrackChangesEditing'),_0x29ac9a=_0x294292[_0x52d3('0x28')][_0x52d3('0xa')](_0x52d3('0x2'));function _0x337d2e(_0x38320e){return()=>{const _0x249f43=_0x294292['model'][_0x52d3('0x11')][_0x52d3('0x1f')],_0x44006e=_0x294292[_0x52d3('0x38')][_0x52d3('0x2a')](_0x38320e);if(_0x44006e[_0x52d3('0x19')])return void _0x294292['execute']('paragraph',{});const _0x3b49c6=_0x38320e[_0x52d3('0x7')](0x0,-0x4),_0x300e08=function(_0x147cb4,_0x4ea0f2,_0x2238a8){let _0x1b3311=Array[_0x52d3('0x9')](_0x147cb4)[_0x52d3('0x36')](_0x276292=>function(_0x3a86c1,_0x6a30df){return _0x6a30df[_0x52d3('0x12')](_0x3a86c1[_0x52d3('0xf')],_0x52d3('0x33'))&&!_0x6a30df[_0x52d3('0x18')](_0x3a86c1);}(_0x276292,_0x2238a8));_0x1b3311=_0x1b3311['filter'](_0x510ef2=>!_0x510ef2['is'](_0x52d3('0x25'),_0x52d3('0x33'))||_0x510ef2['getAttribute']('listType')!=_0x4ea0f2);const _0x3f5415=new Set();for(const _0x5812c9 of _0x1b3311)_0x5812c9['is']('element',_0x52d3('0x33'))?_0x3f5415['add'](ne(_0x5812c9)):_0x3f5415['add'](_0x5812c9);return Array[_0x52d3('0x9')](_0x3f5415);}(_0x249f43[_0x52d3('0x2b')](),_0x3b49c6,_0x294292[_0x52d3('0xe')][_0x52d3('0x2f')]);_0x294292['model']['change'](()=>{for(const _0x123e07 of _0x300e08)_0x231345['markBlockFormat'](_0x123e07,{'commandName':_0x38320e,'commandParams':[{'forceValue':!_0x44006e[_0x52d3('0x19')]}],'formatGroupId':'blockName'},oe(_0x123e07));});};}function _0x168051(_0x5888dd){return()=>{const _0x5050da=function(_0x18f5ee){let _0x13fc24=Array[_0x52d3('0x9')](_0x18f5ee);const _0x15d521=_0x13fc24[_0x52d3('0x14')](_0x32e9ae=>_0x52d3('0x33')!=_0x32e9ae[_0x52d3('0x27')]);return _0x15d521>-0x1&&(_0x13fc24=_0x13fc24[_0x52d3('0x7')](0x0,_0x15d521)),_0x13fc24;}(_0x294292[_0x52d3('0xe')][_0x52d3('0x11')][_0x52d3('0x1f')][_0x52d3('0x2b')]()),_0x288045=_0x294292[_0x52d3('0xe')]['createRange'](_0x294292[_0x52d3('0xe')]['createPositionAt'](_0x5050da[0x0],_0x52d3('0x23')),_0x294292['model']['createPositionAt'](_0x5050da[_0x5050da['length']-0x1],_0x52d3('0x8')));_0x294292[_0x52d3('0xe')][_0x52d3('0x29')](()=>{_0x231345[_0x52d3('0x5')](_0x288045,{'commandName':_0x5888dd,'commandParams':[],'formatGroupId':_0x52d3('0xc')},function(_0x5f1b49){const _0x20a128=new Set();for(const _0x487cf0 of _0x5f1b49){let _0x5a9d6f=_0x487cf0[_0x52d3('0x2e')];for(;_0x5a9d6f&&_0x5a9d6f[_0x52d3('0x3')](_0x52d3('0xc'))>_0x487cf0[_0x52d3('0x3')](_0x52d3('0xc'));)_0x20a128['add'](_0x5a9d6f),_0x5a9d6f=_0x5a9d6f[_0x52d3('0x2e')];}return Array['from'](_0x20a128);}(_0x5050da));});};}_0x231345['enableCommand'](_0x52d3('0x34'),_0x337d2e('numberedList')),_0x231345[_0x52d3('0xb')](_0x52d3('0x37'),_0x337d2e('bulletedList')),_0x29ac9a&&_0x231345[_0x52d3('0xb')]('todoList',_0x337d2e(_0x52d3('0x32'))),_0x231345[_0x52d3('0xb')](_0x52d3('0x1c'),_0x168051(_0x52d3('0x1c'))),_0x231345[_0x52d3('0xb')](_0x52d3('0x21'),_0x168051(_0x52d3('0x21'))),_0x29ac9a&&_0x231345[_0x52d3('0xb')]('checkTodoList',()=>{const _0x168cf5=_0x294292[_0x52d3('0x38')][_0x52d3('0x2a')](_0x52d3('0x3a')),_0x4c1393=Array[_0x52d3('0x9')](_0x168cf5[_0x52d3('0x3b')]);_0x4c1393[_0x52d3('0x36')](_0x427f94=>_0x427f94['getAttribute'](_0x52d3('0x35'))!=_0x168cf5[_0x52d3('0x19')]),_0x294292['model'][_0x52d3('0x29')](()=>{for(const _0x6a9e4c of _0x4c1393)_0x231345[_0x52d3('0x5')](_0x6a9e4c,{'commandName':_0x52d3('0x3a'),'commandParams':[{'forceValue':!_0x168cf5[_0x52d3('0x19')]}]});});}),_0x231345[_0x52d3('0x1e')][_0x52d3('0x1b')]('listItem',_0x159359=>_0x1f8dfc(_0x1fd44e,_0x52d3('0x0'),_0x159359)),_0x231345[_0x52d3('0x1e')][_0x52d3('0x2c')](_0x80c2b1=>{const {data:_0x8e9ab1}=_0x80c2b1;if(_0x8e9ab1){if(_0x52d3('0x34')==_0x8e9ab1['commandName']||_0x52d3('0x37')==_0x8e9ab1[_0x52d3('0x1a')]||_0x52d3('0x32')==_0x8e9ab1[_0x52d3('0x1a')])switch(_0x8e9ab1[_0x52d3('0x1a')][_0x52d3('0x24')](_0x52d3('0x39'),'')){case _0x52d3('0x22'):return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x31')));case'numbered':return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x30')));case _0x52d3('0x4'):return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x17')));}if('indentList'==_0x8e9ab1['commandName'])return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x1'),_0x1f8dfc(_0x1fd44e,_0x52d3('0x0')))};if(_0x52d3('0x21')==_0x8e9ab1[_0x52d3('0x1a')])return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x10'),_0x1f8dfc(_0x1fd44e,_0x52d3('0x0')))};if('checkTodoList'==_0x8e9ab1[_0x52d3('0x1a')])return _0x8e9ab1[_0x52d3('0x13')][0x0][_0x52d3('0x3c')]?{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x16'))}:{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x26'))};}function _0x49bf12(_0x58aa9b){return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x6'),_0x58aa9b)};}});}}function ne(_0x1d925a){const _0x46ea00=_0x1d925a['getAttribute'](_0x52d3('0xc'));if(0x0==_0x46ea00)return _0x1d925a;let _0x12af5e=_0x1d925a;for(;_0x1d925a[_0x52d3('0x15')]&&_0x1d925a[_0x52d3('0x15')]['is']('element','listItem');){const _0x5e2398=_0x1d925a[_0x52d3('0x15')][_0x52d3('0x3')]('listIndent');if(_0x5e2398==_0x46ea00)_0x12af5e=_0x1d925a[_0x52d3('0x15')];else{if(_0x5e2398<_0x46ea00)break;}_0x1d925a=_0x1d925a['previousSibling'];}return _0x12af5e;}function oe(_0x403374){const _0x581ee=[];if(_0x403374['is'](_0x52d3('0x25'),_0x52d3('0x33'))&&_0x403374[_0x52d3('0x3')](_0x52d3('0xc'))>0x0){let _0x519c42=_0x403374['nextSibling'];for(;_0x519c42&&_0x52d3('0x33')==_0x519c42[_0x52d3('0x27')]&&_0x519c42[_0x52d3('0x3')](_0x52d3('0xc'))==_0x403374['getAttribute'](_0x52d3('0xc'));)_0x581ee[_0x52d3('0x1d')](_0x519c42),_0x519c42=_0x519c42['nextSibling'];}return _0x581ee;}
23
+ const _0x2235=['selection','slice','blockName','todoListChecked','parent','getAttribute','ELEMENT_NUMBERED_LIST','previousSibling','ELEMENT_BULLETED_LIST','element','filter','model','push','change','checkTodoList','isObject','*Change\x20to:*\x20%0','from','commandName','value','editor','enableCommand','format','add','*Uncheck\x20item*','*Indent:*\x20%0','commands','get','forceValue','bulleted','createPositionAt','ELEMENT_TODO_LIST','nextSibling','commandParams','markBlockFormat','plugins','*Check\x20item*','locale','document','todoList','TrackChangesEditing','findIndex','name','outdentList','numberedList','before','numbered','afterInit','_descriptionFactory','has','indentList','createRange','length','listIndent','replace','ELEMENT_LIST_ITEM','todo','List','listItem','_selectedElements'];(function(_0x5ef86a,_0x223581){const _0x332f76=function(_0x5e1ac6){while(--_0x5e1ac6){_0x5ef86a['push'](_0x5ef86a['shift']());}};_0x332f76(++_0x223581);}(_0x2235,0x1f3));const _0x332f=function(_0x5ef86a,_0x223581){_0x5ef86a=_0x5ef86a-0x0;let _0x332f76=_0x2235[_0x5ef86a];return _0x332f76;};import{Plugin as _0x22c9d1}from'ckeditor5/src/core';import{getTranslation as _0x351e0a}from'../utils/common-translations';export default class st extends _0x22c9d1{[_0x332f('0x1c')](){const _0x22c82a=this[_0x332f('0x1')],_0x2bb841=_0x22c82a[_0x332f('0x12')];if(!_0x22c82a[_0x332f('0x10')][_0x332f('0x1e')]('ListEditing'))return;const _0x278372=_0x22c82a[_0x332f('0x10')]['get'](_0x332f('0x15')),_0x518aa8=_0x22c82a['plugins'][_0x332f('0x1e')]('TodoListEditing');function _0x13cf85(_0x41de30){return()=>{const _0x45044b=_0x22c82a[_0x332f('0x34')][_0x332f('0x13')][_0x332f('0x29')],_0x4c194c=_0x22c82a['commands'][_0x332f('0x8')](_0x41de30);if(_0x4c194c[_0x332f('0x0')])return void _0x22c82a['execute']('paragraph',{});const _0x38caec=_0x41de30[_0x332f('0x2a')](0x0,-0x4),_0x2b3ace=function(_0x61084a,_0x41bc56,_0x24456c){let _0x562987=Array[_0x332f('0x3a')](_0x61084a)[_0x332f('0x33')](_0x8dd748=>function(_0x4dc3df,_0x5c3037){return _0x5c3037['checkChild'](_0x4dc3df[_0x332f('0x2d')],_0x332f('0x27'))&&!_0x5c3037[_0x332f('0x38')](_0x4dc3df);}(_0x8dd748,_0x24456c));_0x562987=_0x562987[_0x332f('0x33')](_0x5a25a7=>!_0x5a25a7['is'](_0x332f('0x32'),_0x332f('0x27'))||_0x5a25a7[_0x332f('0x2e')]('listType')!=_0x41bc56);const _0x3e3d8b=new Set();for(const _0x3269d7 of _0x562987)_0x3269d7['is'](_0x332f('0x32'),_0x332f('0x27'))?_0x3e3d8b[_0x332f('0x4')](ne(_0x3269d7)):_0x3e3d8b[_0x332f('0x4')](_0x3269d7);return Array[_0x332f('0x3a')](_0x3e3d8b);}(_0x45044b['getSelectedBlocks'](),_0x38caec,_0x22c82a[_0x332f('0x34')]['schema']);_0x22c82a['model']['change'](()=>{for(const _0x56a504 of _0x2b3ace)_0x278372['markBlockFormat'](_0x56a504,{'commandName':_0x41de30,'commandParams':[{'forceValue':!_0x4c194c[_0x332f('0x0')]}],'formatGroupId':_0x332f('0x2b')},oe(_0x56a504));});};}function _0x2de9d4(_0x382048){return()=>{const _0x1ab309=function(_0x303261){let _0x1d03c3=Array[_0x332f('0x3a')](_0x303261);const _0x1053ec=_0x1d03c3[_0x332f('0x16')](_0x21c634=>_0x332f('0x27')!=_0x21c634[_0x332f('0x17')]);return _0x1053ec>-0x1&&(_0x1d03c3=_0x1d03c3[_0x332f('0x2a')](0x0,_0x1053ec)),_0x1d03c3;}(_0x22c82a[_0x332f('0x34')]['document']['selection']['getSelectedBlocks']()),_0x9c0b69=_0x22c82a[_0x332f('0x34')][_0x332f('0x20')](_0x22c82a[_0x332f('0x34')][_0x332f('0xb')](_0x1ab309[0x0],_0x332f('0x1a')),_0x22c82a['model'][_0x332f('0xb')](_0x1ab309[_0x1ab309[_0x332f('0x21')]-0x1],'end'));_0x22c82a['model'][_0x332f('0x36')](()=>{_0x278372[_0x332f('0xf')](_0x9c0b69,{'commandName':_0x382048,'commandParams':[],'formatGroupId':_0x332f('0x22')},function(_0x3d6a9b){const _0x420e05=new Set();for(const _0x567707 of _0x3d6a9b){let _0xf90503=_0x567707['nextSibling'];for(;_0xf90503&&_0xf90503[_0x332f('0x2e')](_0x332f('0x22'))>_0x567707['getAttribute'](_0x332f('0x22'));)_0x420e05[_0x332f('0x4')](_0xf90503),_0xf90503=_0xf90503[_0x332f('0xd')];}return Array[_0x332f('0x3a')](_0x420e05);}(_0x1ab309));});};}_0x278372[_0x332f('0x2')](_0x332f('0x19'),_0x13cf85('numberedList')),_0x278372[_0x332f('0x2')]('bulletedList',_0x13cf85('bulletedList')),_0x518aa8&&_0x278372['enableCommand'](_0x332f('0x14'),_0x13cf85(_0x332f('0x14'))),_0x278372['enableCommand'](_0x332f('0x1f'),_0x2de9d4(_0x332f('0x1f'))),_0x278372[_0x332f('0x2')](_0x332f('0x18'),_0x2de9d4(_0x332f('0x18'))),_0x518aa8&&_0x278372[_0x332f('0x2')](_0x332f('0x37'),()=>{const _0x2a7ce3=_0x22c82a[_0x332f('0x7')]['get'](_0x332f('0x37')),_0x41f467=Array[_0x332f('0x3a')](_0x2a7ce3[_0x332f('0x28')]);_0x41f467[_0x332f('0x33')](_0x3ae28c=>_0x3ae28c[_0x332f('0x2e')](_0x332f('0x2c'))!=_0x2a7ce3[_0x332f('0x0')]),_0x22c82a['model'][_0x332f('0x36')](()=>{for(const _0x283760 of _0x41f467)_0x278372[_0x332f('0xf')](_0x283760,{'commandName':_0x332f('0x37'),'commandParams':[{'forceValue':!_0x2a7ce3[_0x332f('0x0')]}]});});}),_0x278372[_0x332f('0x1d')]['registerElementLabel']('listItem',_0x20c131=>_0x351e0a(_0x2bb841,'ELEMENT_LIST_ITEM',_0x20c131)),_0x278372['_descriptionFactory']['registerDescriptionCallback'](_0x2abddf=>{const {data:_0x17aebe}=_0x2abddf;if(_0x17aebe){if('numberedList'==_0x17aebe[_0x332f('0x3b')]||'bulletedList'==_0x17aebe[_0x332f('0x3b')]||_0x332f('0x14')==_0x17aebe[_0x332f('0x3b')])switch(_0x17aebe[_0x332f('0x3b')][_0x332f('0x23')](_0x332f('0x26'),'')){case _0x332f('0xa'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x31')));case _0x332f('0x1b'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x2f')));case _0x332f('0x25'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0xc')));}if(_0x332f('0x1f')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,_0x332f('0x6'),_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x18')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,'*Outdent:*\x20%0',_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x37')==_0x17aebe[_0x332f('0x3b')])return _0x17aebe[_0x332f('0xe')][0x0][_0x332f('0x9')]?{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x11'))}:{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x5'))};}function _0xb6a335(_0x4097ec){return{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x39'),_0x4097ec)};}});}}function ne(_0xe47c4f){const _0xef4a29=_0xe47c4f[_0x332f('0x2e')]('listIndent');if(0x0==_0xef4a29)return _0xe47c4f;let _0x26a47a=_0xe47c4f;for(;_0xe47c4f['previousSibling']&&_0xe47c4f[_0x332f('0x30')]['is'](_0x332f('0x32'),'listItem');){const _0x5bcc9b=_0xe47c4f[_0x332f('0x30')][_0x332f('0x2e')]('listIndent');if(_0x5bcc9b==_0xef4a29)_0x26a47a=_0xe47c4f[_0x332f('0x30')];else{if(_0x5bcc9b<_0xef4a29)break;}_0xe47c4f=_0xe47c4f[_0x332f('0x30')];}return _0x26a47a;}function oe(_0x157a93){const _0x3d777b=[];if(_0x157a93['is'](_0x332f('0x32'),_0x332f('0x27'))&&_0x157a93['getAttribute'](_0x332f('0x22'))>0x0){let _0x4e3f09=_0x157a93[_0x332f('0xd')];for(;_0x4e3f09&&_0x332f('0x27')==_0x4e3f09[_0x332f('0x17')]&&_0x4e3f09['getAttribute'](_0x332f('0x22'))==_0x157a93[_0x332f('0x2e')](_0x332f('0x22'));)_0x3d777b[_0x332f('0x35')](_0x4e3f09),_0x4e3f09=_0x4e3f09[_0x332f('0xd')];}return _0x3d777b;}