@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230804.0 → 0.0.0-nightly-20230805.0

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 -7
  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 _0x4aaf=['enableCommand','model','FontSize','*Reset\x20font\x20color*','getRanges','has','*Set\x20font\x20family:*\x20%0','find','value','FontColorEditing','trim','*Reset\x20font\x20background\x20color*','get','fontBackgroundColor','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','fontBackgroundColor.colors','fontSize.options','config','FontBackgroundColorEditing','FontFamilyEditing','change','fontSize','fontColor','plugins','locale','FontSizeEditing','normalizeSizeOptions','fontFamily','toLowerCase','editor','registerDescriptionCallback','label','title','format','_enableCommand','commandName','*Reset\x20font\x20family*','_descriptionFactory','afterInit'];(function(_0x1c4d9f,_0x4aaf80){const _0xf0527e=function(_0x51e35f){while(--_0x51e35f){_0x1c4d9f['push'](_0x1c4d9f['shift']());}};_0xf0527e(++_0x4aaf80);}(_0x4aaf,0xda));const _0xf052=function(_0x1c4d9f,_0x4aaf80){_0x1c4d9f=_0x1c4d9f-0x0;let _0xf0527e=_0x4aaf[_0x1c4d9f];return _0xf0527e;};import{Plugin as _0x4813fc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5bbd4f}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1359fb}from'./utils';import{getTranslation as _0x278e40}from'../utils/common-translations';const Zt=[{'pluginName':_0xf052('0x8'),'commandName':_0xf052('0x4')},{'pluginName':_0xf052('0x2'),'commandName':_0xf052('0xa')},{'pluginName':_0xf052('0x1f'),'commandName':_0xf052('0x5')},{'pluginName':_0xf052('0x1'),'commandName':_0xf052('0x23')}];export default class H extends _0x4813fc{[_0xf052('0x15')](){const _0xee5fa0=this['editor'][_0xf052('0x7')];for(const {pluginName:_0x1194de,commandName:_0x4edb7e}of Zt)this[_0xf052('0xc')][_0xf052('0x6')][_0xf052('0x1b')](_0x1194de)&&this['_enableCommand'](_0x4edb7e);this[_0xf052('0xc')][_0xf052('0x6')][_0xf052('0x22')](_0xf052('0x24'))[_0xf052('0x14')][_0xf052('0xd')](_0x1fbbe1=>{const _0x196435=_0xee5fa0['t'],{data:_0x21f954}=_0x1fbbe1;if(null!=_0x21f954){if(_0xf052('0x4')==_0x21f954['commandName']){const _0x4eb5ab=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];if(_0x4eb5ab){const _0x12845e=_0x196435(this['editor'][_0xf052('0x6')][_0xf052('0x22')](_0xf052('0x18'))[_0xf052('0x9')](this['editor'][_0xf052('0x0')][_0xf052('0x22')](_0xf052('0x27')))['find'](_0x3563e3=>_0x3563e3[_0xf052('0x17')]==_0x4eb5ab)[_0xf052('0xf')])[_0xf052('0xb')]();return{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x25'),_0x12845e)};}return{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Reset\x20font\x20size*')};}if(_0xf052('0xa')==_0x21f954['commandName']){const _0x510da4=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];return _0x510da4?{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x1c'),_0x510da4)}:{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,_0xf052('0x13'))};}if('fontColor'==_0x21f954[_0xf052('0x12')]){const _0x4eca00=_0x21f954['commandParams'][0x0]['value'];if(_0x4eca00){const _0x39b4b6=_0x5bbd4f(this[_0xf052('0xc')][_0xf052('0x0')][_0xf052('0x22')]('fontColor.colors'))['find'](_0x148b86=>_0x148b86[_0xf052('0x17')]==_0x4eca00);let _0xe87d93=_0x4eca00,_0x4998eb='';return _0x39b4b6&&(_0xe87d93=_0x39b4b6['label'],_0x4998eb=_0x196435(_0xe87d93)[_0xf052('0xb')]()),{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Set\x20font\x20color:*\x20%0',_0x4998eb)[_0xf052('0x20')](),'color':{'value':_0x4eca00,'title':_0x4998eb||_0xe87d93}};}return{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x19'))};}if('fontBackgroundColor'==_0x21f954[_0xf052('0x12')]){const _0x103b63=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];if(_0x103b63){const _0x1a5922=_0x5bbd4f(this['editor']['config'][_0xf052('0x22')](_0xf052('0x26')))[_0xf052('0x1d')](_0x33eaad=>_0x33eaad[_0xf052('0x17')]==_0x103b63);let _0x16669e=_0x103b63,_0x2db420='';return _0x1a5922&&(_0x16669e=_0x1a5922[_0xf052('0xe')],_0x2db420=_0x196435(_0x16669e)[_0xf052('0xb')]()),{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Set\x20font\x20background\x20color:*\x20%0',_0x2db420)[_0xf052('0x20')](),'color':{'value':_0x103b63,'title':_0x2db420||_0x16669e}};}return{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,_0xf052('0x21'))};}}});}[_0xf052('0x11')](_0x431084){const _0x5a9dae=this[_0xf052('0xc')];_0x5a9dae[_0xf052('0x6')][_0xf052('0x22')]('TrackChangesEditing')[_0xf052('0x16')](_0x431084,(_0x513dd4,_0x16cda6={})=>{const _0x3bf985=_0x5a9dae[_0xf052('0x17')]['document']['selection'],_0x482a7d=_0x16cda6['value'];_0x3bf985['isCollapsed']?_0x513dd4(_0x16cda6):_0x5a9dae[_0xf052('0x17')][_0xf052('0x3')](()=>{const _0x1f7f2e=Array['from'](_0x3bf985[_0xf052('0x1a')]());for(const _0x133b66 of _0x1f7f2e){const _0x847cc8=_0x482a7d?[_0x133b66]:_0x1359fb(_0x431084,_0x133b66,_0x5a9dae[_0xf052('0x17')]);for(const _0x508466 of _0x847cc8)_0x5a9dae['plugins'][_0xf052('0x22')](_0xf052('0x24'))['markInlineFormat'](_0x508466,{'commandName':_0x431084,'commandParams':[{'value':_0x482a7d}]});}});});}}
23
+ const _0x31b3=['*Set\x20font\x20size:*\x20%0','normalizeSizeOptions','enableCommand','fontColor','*Set\x20font\x20background\x20color:*\x20%0','get','isCollapsed','config','commandParams','commandName','find','change','plugins','fontSize','FontSize','label','model','format','fontBackgroundColor','fontBackgroundColor.colors','has','fontFamily','TrackChangesEditing','fontColor.colors','document','locale','*Reset\x20font\x20family*','FontSizeEditing','value','trim','_descriptionFactory','*Reset\x20font\x20background\x20color*','afterInit','fontSize.options','FontColorEditing','selection','editor'];(function(_0x43a39e,_0x31b3c5){const _0x51f77a=function(_0x335668){while(--_0x335668){_0x43a39e['push'](_0x43a39e['shift']());}};_0x51f77a(++_0x31b3c5);}(_0x31b3,0x180));const _0x51f7=function(_0x43a39e,_0x31b3c5){_0x43a39e=_0x43a39e-0x0;let _0x51f77a=_0x31b3[_0x43a39e];return _0x51f77a;};import{Plugin as _0x378c2c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x29bd84}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3a966c}from'./utils';import{getTranslation as _0x45a2f5}from'../utils/common-translations';const Zt=[{'pluginName':_0x51f7('0xd'),'commandName':_0x51f7('0x24')},{'pluginName':'FontFamilyEditing','commandName':_0x51f7('0x7')},{'pluginName':_0x51f7('0x14'),'commandName':_0x51f7('0x1a')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x51f7('0x4')}];export default class H extends _0x378c2c{[_0x51f7('0x12')](){const _0x2278d0=this[_0x51f7('0x16')][_0x51f7('0xb')];for(const {pluginName:_0x411e59,commandName:_0x15b474}of Zt)this[_0x51f7('0x16')][_0x51f7('0x23')][_0x51f7('0x6')](_0x411e59)&&this['_enableCommand'](_0x15b474);this[_0x51f7('0x16')][_0x51f7('0x23')][_0x51f7('0x1c')]('TrackChangesEditing')[_0x51f7('0x10')]['registerDescriptionCallback'](_0x5226ad=>{const _0x23c9ef=_0x2278d0['t'],{data:_0x9cee3f}=_0x5226ad;if(null!=_0x9cee3f){if(_0x51f7('0x24')==_0x9cee3f['commandName']){const _0x31cec4=_0x9cee3f[_0x51f7('0x1f')][0x0][_0x51f7('0xe')];if(_0x31cec4){const _0x185bc2=_0x23c9ef(this[_0x51f7('0x16')]['plugins'][_0x51f7('0x1c')](_0x51f7('0x0'))[_0x51f7('0x18')](this[_0x51f7('0x16')][_0x51f7('0x1e')][_0x51f7('0x1c')](_0x51f7('0x13')))['find'](_0x10de4c=>_0x10de4c[_0x51f7('0x2')]==_0x31cec4)['title'])['toLowerCase']();return{'type':'format','content':_0x45a2f5(_0x2278d0,_0x51f7('0x17'),_0x185bc2)};}return{'type':'format','content':_0x45a2f5(_0x2278d0,'*Reset\x20font\x20size*')};}if(_0x51f7('0x7')==_0x9cee3f[_0x51f7('0x20')]){const _0x491f37=_0x9cee3f['commandParams'][0x0][_0x51f7('0xe')];return _0x491f37?{'type':_0x51f7('0x3'),'content':_0x45a2f5(_0x2278d0,'*Set\x20font\x20family:*\x20%0',_0x491f37)}:{'type':_0x51f7('0x3'),'content':_0x45a2f5(_0x2278d0,_0x51f7('0xc'))};}if(_0x51f7('0x1a')==_0x9cee3f[_0x51f7('0x20')]){const _0x2db9f0=_0x9cee3f[_0x51f7('0x1f')][0x0][_0x51f7('0xe')];if(_0x2db9f0){const _0x59c577=_0x29bd84(this[_0x51f7('0x16')][_0x51f7('0x1e')][_0x51f7('0x1c')](_0x51f7('0x9')))[_0x51f7('0x21')](_0x399251=>_0x399251['model']==_0x2db9f0);let _0x256c2f=_0x2db9f0,_0x16b06c='';return _0x59c577&&(_0x256c2f=_0x59c577['label'],_0x16b06c=_0x23c9ef(_0x256c2f)['toLowerCase']()),{'type':'format','content':_0x45a2f5(_0x2278d0,'*Set\x20font\x20color:*\x20%0',_0x16b06c)[_0x51f7('0xf')](),'color':{'value':_0x2db9f0,'title':_0x16b06c||_0x256c2f}};}return{'type':_0x51f7('0x3'),'content':_0x45a2f5(_0x2278d0,'*Reset\x20font\x20color*')};}if(_0x51f7('0x4')==_0x9cee3f[_0x51f7('0x20')]){const _0x5e3a47=_0x9cee3f[_0x51f7('0x1f')][0x0][_0x51f7('0xe')];if(_0x5e3a47){const _0x43ab73=_0x29bd84(this[_0x51f7('0x16')][_0x51f7('0x1e')][_0x51f7('0x1c')](_0x51f7('0x5')))[_0x51f7('0x21')](_0x850789=>_0x850789['model']==_0x5e3a47);let _0x1f7a71=_0x5e3a47,_0x181297='';return _0x43ab73&&(_0x1f7a71=_0x43ab73[_0x51f7('0x1')],_0x181297=_0x23c9ef(_0x1f7a71)['toLowerCase']()),{'type':'format','content':_0x45a2f5(_0x2278d0,_0x51f7('0x1b'),_0x181297)[_0x51f7('0xf')](),'color':{'value':_0x5e3a47,'title':_0x181297||_0x1f7a71}};}return{'type':_0x51f7('0x3'),'content':_0x45a2f5(_0x2278d0,_0x51f7('0x11'))};}}});}['_enableCommand'](_0x4b0003){const _0x201697=this[_0x51f7('0x16')];_0x201697[_0x51f7('0x23')]['get'](_0x51f7('0x8'))[_0x51f7('0x19')](_0x4b0003,(_0x3687fd,_0x154d54={})=>{const _0x1a6193=_0x201697[_0x51f7('0x2')][_0x51f7('0xa')][_0x51f7('0x15')],_0x7b991a=_0x154d54[_0x51f7('0xe')];_0x1a6193[_0x51f7('0x1d')]?_0x3687fd(_0x154d54):_0x201697[_0x51f7('0x2')][_0x51f7('0x22')](()=>{const _0x117fcc=Array['from'](_0x1a6193['getRanges']());for(const _0x3b6ad0 of _0x117fcc){const _0xfadf18=_0x7b991a?[_0x3b6ad0]:_0x3a966c(_0x4b0003,_0x3b6ad0,_0x201697['model']);for(const _0xaf59f1 of _0xfadf18)_0x201697['plugins'][_0x51f7('0x1c')](_0x51f7('0x8'))['markInlineFormat'](_0xaf59f1,{'commandName':_0x4b0003,'commandParams':[{'value':_0x7b991a}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e13=['locale','getRanges','getSelectedBlocks','isCollapsed','getAttributeProperties','model','markInlineFormat','fontColor.colors','commands','get','join','length','FontSize','forward','TrackChangesEditing','find','config','document','split','schema','title','selection','fontBackgroundColor','afterInit','getItems','getFirstPosition','isBlock','slice','change','copyFormat','from','createSelection','modifySelection','plugins','format','getLastPosition','toUpperCase','editor','normalizeSizeOptions','charAt','_descriptionFactory','word','label','push','getAttributes','toLowerCase','createRange','pasteFormat','entries','commandName'];(function(_0x3b6a5c,_0x3e1315){const _0x385a76=function(_0x253c31){while(--_0x253c31){_0x3b6a5c['push'](_0x3b6a5c['shift']());}};_0x385a76(++_0x3e1315);}(_0x3e13,0x15d));const _0x385a=function(_0x3b6a5c,_0x3e1315){_0x3b6a5c=_0x3b6a5c-0x0;let _0x385a76=_0x3e13[_0x3b6a5c];return _0x385a76;};import{Plugin as _0x290b75}from'ckeditor5/src/core';import{normalizeColorOptions as _0x245f52}from'ckeditor5/src/ui';import{first as _0x4a50a7}from'ckeditor5/src/utils';import{getTranslation as _0x5469f8}from'../utils/common-translations';export default class W extends _0x290b75{[_0x385a('0x18')](){const _0x242e29=this[_0x385a('0x26')],_0x454a8a=_0x242e29['model'],_0x9236d6=_0x454a8a[_0x385a('0x12')][_0x385a('0x16')],_0x4fa6bc=_0x242e29['plugins'][_0x385a('0xa')]('TrackChangesEditing'),_0x3316e5=_0x242e29['locale'],_0x3b3c3d=_0x242e29[_0x385a('0x9')]['get'](_0x385a('0x1e')),_0x3d2893=_0x242e29[_0x385a('0x9')][_0x385a('0xa')](_0x385a('0x30'));_0x3b3c3d&&_0x3d2893&&(_0x4fa6bc['enableCommand'](_0x385a('0x30'),(_0x3d74d3,_0x5efdaa={})=>{const _0x1f4d7c=_0x5efdaa;_0x454a8a[_0x385a('0x1d')](()=>{const _0x1c82bc=Array[_0x385a('0x1f')](_0x9236d6[_0x385a('0x2')]()),_0x4095db=_0x9236d6[_0x385a('0x4')]?[ro(_0x454a8a,_0x9236d6)]:_0x1c82bc,_0x512168=!!_0x4a50a7(function*(_0x138c78,_0x25219a){const _0x22631f=_0x36e9c7=>!!_0x4a50a7(function*(_0x2d2f2d,_0x38bd03){for(const [_0x353578]of _0x2d2f2d[_0x385a('0x2d')]()){const _0x7b5abc=_0x38bd03[_0x385a('0x5')](_0x353578);_0x7b5abc&&_0x7b5abc['isFormatting']&&(yield _0x353578);}}(_0x36e9c7,_0x25219a));for(const _0x26942e of _0x138c78[_0x385a('0x2')]())for(const _0x969243 of _0x26942e[_0x385a('0x19')]())!_0x25219a[_0x385a('0x1b')](_0x969243)&&_0x22631f(_0x969243)&&(yield _0x969243);for(const _0x278b5b of _0x138c78[_0x385a('0x3')]())_0x22631f(_0x278b5b)&&(yield _0x278b5b);_0x22631f(_0x138c78)&&(yield _0x138c78);}(_0x9236d6,_0x454a8a[_0x385a('0x14')]));if(_0x512168||0x0!==Object['keys'](_0x1f4d7c)[_0x385a('0xc')])for(const _0x421490 of _0x4095db)_0x4fa6bc[_0x385a('0x7')](_0x421490,{'commandName':_0x385a('0x30'),'commandParams':[_0x1f4d7c]});});}),_0x4fa6bc[_0x385a('0x29')]['registerDescriptionCallback'](_0x22cadd=>{const {data:_0x392234}=_0x22cadd;if(_0x392234&&_0x385a('0x30')===_0x392234[_0x385a('0x0')]){const _0x1fa697=[],_0x5ec871=_0x392234['commandParams'][0x0];for(const [_0x1645f2,_0x1abc80]of Object[_0x385a('0x31')](_0x5ec871))_0x1fa697[_0x385a('0x2c')](no(_0x242e29,_0x1645f2,_0x1abc80));return _0x1fa697[_0x385a('0xc')]?{'type':_0x385a('0x23'),'content':_0x5469f8(_0x3316e5,'*Set\x20format\x20to:*\x20%0',_0x1fa697['join'](',\x20'))}:{'type':_0x385a('0x23'),'content':_0x5469f8(_0x3316e5,'*Remove\x20all\x20formatting*')};}}),_0x242e29[_0x385a('0x22')][_0x385a('0xa')](_0x385a('0xf'))['enableCommand']('copyFormat'));}}function ro(_0x197c16,_0x3c6a30){const _0x3f797f=_0x197c16[_0x385a('0x20')](_0x3c6a30);_0x197c16[_0x385a('0x21')](_0x3f797f,{'unit':_0x385a('0x2a'),'direction':'backward'});const _0x3b44a8=_0x3f797f[_0x385a('0x1a')]();_0x197c16[_0x385a('0x21')](_0x3f797f,{'unit':_0x385a('0x2a'),'direction':_0x385a('0xe')});const _0x4f01e7=_0x3f797f[_0x385a('0x24')]();return _0x197c16[_0x385a('0x2f')](_0x3b44a8,_0x4f01e7);}function no(_0x29203b,_0x2c24eb,_0x386af7){const _0x2d6940=_0x29203b[_0x385a('0x1')]['t'],_0x381dc6=_0x2c24eb[_0x385a('0x13')](/(?=[A-Z])/)[_0x385a('0xb')]('\x20'),_0xc0b1b6=_0x2d6940(_0x381dc6[_0x385a('0x28')](0x0)[_0x385a('0x25')]()+_0x381dc6[_0x385a('0x1c')](0x1))['toLowerCase']();if('boolean'==typeof _0x386af7)return _0xc0b1b6;if('fontColor'===_0x2c24eb||_0x385a('0x17')===_0x2c24eb){const _0x220f4d=_0x245f52(_0x29203b[_0x385a('0x11')][_0x385a('0xa')](_0x385a('0x8')))['find'](_0x4bc975=>_0x4bc975[_0x385a('0x6')]==_0x386af7);return _0xc0b1b6+'\x20('+(_0x220f4d?_0x2d6940(_0x220f4d[_0x385a('0x2b')])[_0x385a('0x2e')]():_0x386af7)+')';}if('fontSize'===_0x2c24eb&&isNaN(parseFloat(_0x386af7))){const _0x49a547=_0x29203b['plugins']['get'](_0x385a('0xd'))[_0x385a('0x27')](_0x29203b[_0x385a('0x11')][_0x385a('0xa')]('fontSize.options'))[_0x385a('0x10')](_0x113764=>_0x113764[_0x385a('0x6')]==_0x386af7);return _0xc0b1b6+'\x20('+(_0x49a547?_0x2d6940(_0x49a547[_0x385a('0x15')])['toLowerCase']():_0x386af7)+')';}return _0xc0b1b6+'\x20('+_0x386af7+')';}
23
+ const _0x582c=['word','TrackChangesEditing','editor','change','get','document','entries','copyFormat','locale','registerDescriptionCallback','fontBackgroundColor','model','pasteFormat','toUpperCase','title','split','getAttributes','markInlineFormat','label','fontColor.colors','commands','normalizeSizeOptions','getItems','toLowerCase','getSelectedBlocks','getRanges','schema','isFormatting','forward','*Remove\x20all\x20formatting*','enableCommand','createSelection','getFirstPosition','createRange','slice','getAttributeProperties','fontSize.options','boolean','fontColor','getLastPosition','selection','plugins','charAt','modifySelection','format','find','fontSize','join','config','_descriptionFactory','commandName','length'];(function(_0x4c23f1,_0x582c70){const _0x1ea5d6=function(_0x1ce05b){while(--_0x1ce05b){_0x4c23f1['push'](_0x4c23f1['shift']());}};_0x1ea5d6(++_0x582c70);}(_0x582c,0x1a4));const _0x1ea5=function(_0x4c23f1,_0x582c70){_0x4c23f1=_0x4c23f1-0x0;let _0x1ea5d6=_0x582c[_0x4c23f1];return _0x1ea5d6;};import{Plugin as _0xaa3736}from'ckeditor5/src/core';import{normalizeColorOptions as _0xd6fe0b}from'ckeditor5/src/ui';import{first as _0x593a5c}from'ckeditor5/src/utils';import{getTranslation as _0x5adba0}from'../utils/common-translations';export default class W extends _0xaa3736{['afterInit'](){const _0x46ba1d=this[_0x1ea5('0x32')],_0x54d7c1=_0x46ba1d[_0x1ea5('0x7')],_0xba41b7=_0x54d7c1[_0x1ea5('0x1')][_0x1ea5('0x24')],_0x115367=_0x46ba1d[_0x1ea5('0x25')]['get']('TrackChangesEditing'),_0x116e98=_0x46ba1d[_0x1ea5('0x4')],_0x5c3f73=_0x46ba1d[_0x1ea5('0x10')]['get'](_0x1ea5('0x3')),_0x234eb0=_0x46ba1d[_0x1ea5('0x10')][_0x1ea5('0x0')](_0x1ea5('0x8'));_0x5c3f73&&_0x234eb0&&(_0x115367[_0x1ea5('0x1a')](_0x1ea5('0x8'),(_0x16b64c,_0x5b9a0a={})=>{const _0x38d82d=_0x5b9a0a;_0x54d7c1[_0x1ea5('0x33')](()=>{const _0x2f4556=Array['from'](_0xba41b7['getRanges']()),_0x17d3d0=_0xba41b7['isCollapsed']?[ro(_0x54d7c1,_0xba41b7)]:_0x2f4556,_0x36c655=!!_0x593a5c(function*(_0x3076a2,_0x31c9d8){const _0x31b419=_0x2f0c4d=>!!_0x593a5c(function*(_0x20d4d4,_0x59eca4){for(const [_0x4c64b4]of _0x20d4d4[_0x1ea5('0xc')]()){const _0x1c18b2=_0x59eca4[_0x1ea5('0x1f')](_0x4c64b4);_0x1c18b2&&_0x1c18b2[_0x1ea5('0x17')]&&(yield _0x4c64b4);}}(_0x2f0c4d,_0x31c9d8));for(const _0xeefd90 of _0x3076a2[_0x1ea5('0x15')]())for(const _0x542745 of _0xeefd90[_0x1ea5('0x12')]())!_0x31c9d8['isBlock'](_0x542745)&&_0x31b419(_0x542745)&&(yield _0x542745);for(const _0x41daf9 of _0x3076a2[_0x1ea5('0x14')]())_0x31b419(_0x41daf9)&&(yield _0x41daf9);_0x31b419(_0x3076a2)&&(yield _0x3076a2);}(_0xba41b7,_0x54d7c1[_0x1ea5('0x16')]));if(_0x36c655||0x0!==Object['keys'](_0x38d82d)[_0x1ea5('0x2f')])for(const _0x4d07da of _0x17d3d0)_0x115367[_0x1ea5('0xd')](_0x4d07da,{'commandName':_0x1ea5('0x8'),'commandParams':[_0x38d82d]});});}),_0x115367[_0x1ea5('0x2d')][_0x1ea5('0x5')](_0x645a57=>{const {data:_0x1d1f2a}=_0x645a57;if(_0x1d1f2a&&_0x1ea5('0x8')===_0x1d1f2a[_0x1ea5('0x2e')]){const _0x5e84b6=[],_0x2e0e4a=_0x1d1f2a['commandParams'][0x0];for(const [_0x3a1005,_0x14d856]of Object[_0x1ea5('0x2')](_0x2e0e4a))_0x5e84b6['push'](no(_0x46ba1d,_0x3a1005,_0x14d856));return _0x5e84b6[_0x1ea5('0x2f')]?{'type':_0x1ea5('0x28'),'content':_0x5adba0(_0x116e98,'*Set\x20format\x20to:*\x20%0',_0x5e84b6['join'](',\x20'))}:{'type':_0x1ea5('0x28'),'content':_0x5adba0(_0x116e98,_0x1ea5('0x19'))};}}),_0x46ba1d[_0x1ea5('0x25')][_0x1ea5('0x0')](_0x1ea5('0x31'))['enableCommand'](_0x1ea5('0x3')));}}function ro(_0x52cb28,_0x1acfa2){const _0x3eea3b=_0x52cb28[_0x1ea5('0x1b')](_0x1acfa2);_0x52cb28[_0x1ea5('0x27')](_0x3eea3b,{'unit':_0x1ea5('0x30'),'direction':'backward'});const _0x35b1f1=_0x3eea3b[_0x1ea5('0x1c')]();_0x52cb28[_0x1ea5('0x27')](_0x3eea3b,{'unit':_0x1ea5('0x30'),'direction':_0x1ea5('0x18')});const _0x3bc5cd=_0x3eea3b[_0x1ea5('0x23')]();return _0x52cb28[_0x1ea5('0x1d')](_0x35b1f1,_0x3bc5cd);}function no(_0x51ae24,_0x4e7840,_0x1cdf02){const _0x2f6d35=_0x51ae24['locale']['t'],_0x228acb=_0x4e7840[_0x1ea5('0xb')](/(?=[A-Z])/)[_0x1ea5('0x2b')]('\x20'),_0x3a4804=_0x2f6d35(_0x228acb[_0x1ea5('0x26')](0x0)[_0x1ea5('0x9')]()+_0x228acb[_0x1ea5('0x1e')](0x1))[_0x1ea5('0x13')]();if(_0x1ea5('0x21')==typeof _0x1cdf02)return _0x3a4804;if(_0x1ea5('0x22')===_0x4e7840||_0x1ea5('0x6')===_0x4e7840){const _0x2ec83f=_0xd6fe0b(_0x51ae24[_0x1ea5('0x2c')][_0x1ea5('0x0')](_0x1ea5('0xf')))['find'](_0x1436fc=>_0x1436fc[_0x1ea5('0x7')]==_0x1cdf02);return _0x3a4804+'\x20('+(_0x2ec83f?_0x2f6d35(_0x2ec83f[_0x1ea5('0xe')])[_0x1ea5('0x13')]():_0x1cdf02)+')';}if(_0x1ea5('0x2a')===_0x4e7840&&isNaN(parseFloat(_0x1cdf02))){const _0x295e25=_0x51ae24['plugins'][_0x1ea5('0x0')]('FontSize')[_0x1ea5('0x11')](_0x51ae24[_0x1ea5('0x2c')]['get'](_0x1ea5('0x20')))[_0x1ea5('0x29')](_0xc8eb87=>_0xc8eb87[_0x1ea5('0x7')]==_0x1cdf02);return _0x3a4804+'\x20('+(_0x295e25?_0x2f6d35(_0x295e25[_0x1ea5('0xa')])[_0x1ea5('0x13')]():_0x1cdf02)+')';}return _0x3a4804+'\x20('+_0x1cdf02+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x94d9=['ELEMENT_HEADING','*Change\x20to:*\x20%0','value','locale','heading','paragraph','title','model','getSelectedBlocks','match','commandName','editor','afterInit','parent','HeadingEditing','format','registerElementLabel','registerDescriptionCallback','selection','checkChild','formatBlock','markBlockFormat','isObject','document','heading.options','from','commandParams','plugins','config','_descriptionFactory','enableCommand','change','has'];(function(_0x153de0,_0x94d9b9){const _0xf7a738=function(_0x2e94d2){while(--_0x2e94d2){_0x153de0['push'](_0x153de0['shift']());}};_0xf7a738(++_0x94d9b9);}(_0x94d9,0xbd));const _0xf7a7=function(_0x153de0,_0x94d9b9){_0x153de0=_0x153de0-0x0;let _0xf7a738=_0x94d9[_0x153de0];return _0xf7a738;};import{Plugin as _0x2b8912}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3630cc}from'./utils';import{getTranslation as _0x457924}from'../utils/common-translations';export default class J extends _0x2b8912{[_0xf7a7('0x15')](){const _0x29bf3c=this[_0xf7a7('0x14')],_0x4fc9bc=_0x29bf3c[_0xf7a7('0xc')],_0xab8867=_0x29bf3c[_0xf7a7('0x4')]['get'](_0xf7a7('0x0'));if(!_0x29bf3c[_0xf7a7('0x3')][_0xf7a7('0x8')](_0xf7a7('0x17')))return;const _0x232a46=_0x29bf3c[_0xf7a7('0x3')]['get']('TrackChangesEditing');_0x232a46[_0xf7a7('0x6')](_0xf7a7('0xd'),(_0x578df6,_0x449ece)=>{const _0x2a9222=_0x449ece[_0xf7a7('0xb')],_0x598808=Array[_0xf7a7('0x1')](this[_0xf7a7('0x14')]['model'][_0xf7a7('0x20')][_0xf7a7('0x1b')][_0xf7a7('0x11')]())['filter'](_0x18210c=>function(_0x31e0a7,_0x2dde6c,_0x57854f){return _0x57854f[_0xf7a7('0x1c')](_0x31e0a7[_0xf7a7('0x16')],_0x2dde6c)&&!_0x57854f[_0xf7a7('0x1f')](_0x31e0a7)&&_0x31e0a7['name']!=_0x2dde6c;}(_0x18210c,_0x2a9222,this[_0xf7a7('0x14')][_0xf7a7('0x10')]['schema']));_0x29bf3c['model'][_0xf7a7('0x7')](()=>{for(const _0x581948 of _0x598808)_0x232a46[_0xf7a7('0x1e')](_0x581948,{'commandName':'heading','commandParams':[_0x449ece],'formatGroupId':'blockName'},_0x3630cc(_0x581948));});});for(const _0x20c36c of _0xab8867)_0xf7a7('0xe')!=_0x20c36c[_0xf7a7('0x10')]&&_0x232a46[_0xf7a7('0x5')][_0xf7a7('0x19')](_0x20c36c['model'],_0x12cb69=>{const _0x23fbc2=nn(_0x20c36c['model']);return null!==_0x23fbc2?_0x284263(_0x12cb69,_0x23fbc2):_0x53f9bd(_0x12cb69,_0x20c36c[_0xf7a7('0xf')]);});function _0x284263(_0x595f13,_0x558c2d){return _0x457924(_0x4fc9bc,_0xf7a7('0x9'),[_0x595f13,_0x558c2d]);}function _0x53f9bd(_0x46c7aa,_0x7508bd){return _0x457924(_0x4fc9bc,'ELEMENT_HEADING_CUSTOM',[_0x46c7aa,_0x7508bd]);}_0x232a46['_descriptionFactory'][_0xf7a7('0x1a')](_0x1f4ba5=>{const {type:_0x43005a,data:_0x14e335}=_0x1f4ba5;if(_0xf7a7('0x1d')==_0x43005a&&_0x14e335&&_0xf7a7('0xd')==_0x14e335[_0xf7a7('0x13')]){const _0x51e324=_0x14e335[_0xf7a7('0x2')][0x0][_0xf7a7('0xb')],_0xbc28f3=nn(_0x51e324);if(null!==_0xbc28f3)return{'type':_0xf7a7('0x18'),'content':_0x457924(_0x4fc9bc,'*Change\x20to:*\x20%0',_0x284263(0x1,_0xbc28f3))};const _0x3f6881=_0xab8867['find'](_0x462877=>_0x462877[_0xf7a7('0x10')]===_0x51e324)[_0xf7a7('0xf')];return{'type':_0xf7a7('0x18'),'content':_0x457924(_0x4fc9bc,_0xf7a7('0xa'),_0x53f9bd(0x1,_0x3f6881))};}});}}function nn(_0x3effa5){const _0x16e874=_0x3effa5[_0xf7a7('0x12')](/^heading(\d+)$/);return _0x16e874?_0x16e874[0x1]:null;}
23
+ const _0x8200=['format','checkChild','name','editor','paragraph','afterInit','find','isObject','value','get','TrackChangesEditing','locale','parent','config','*Change\x20to:*\x20%0','match','commandParams','heading','_descriptionFactory','getSelectedBlocks','formatBlock','model','filter','title','commandName','schema','selection','has','document','registerDescriptionCallback'];(function(_0x529570,_0x82000c){const _0x52727a=function(_0x26f933){while(--_0x26f933){_0x529570['push'](_0x529570['shift']());}};_0x52727a(++_0x82000c);}(_0x8200,0x1bf));const _0x5272=function(_0x529570,_0x82000c){_0x529570=_0x529570-0x0;let _0x52727a=_0x8200[_0x529570];return _0x52727a;};import{Plugin as _0x66357f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5483b7}from'./utils';import{getTranslation as _0x1e1d59}from'../utils/common-translations';export default class J extends _0x66357f{[_0x5272('0x8')](){const _0x8f910f=this[_0x5272('0x6')],_0x1fecd7=_0x8f910f[_0x5272('0xe')],_0x43329c=_0x8f910f[_0x5272('0x10')][_0x5272('0xc')]('heading.options');if(!_0x8f910f['plugins'][_0x5272('0x0')]('HeadingEditing'))return;const _0x34ccf5=_0x8f910f['plugins'][_0x5272('0xc')](_0x5272('0xd'));_0x34ccf5['enableCommand'](_0x5272('0x14'),(_0x420e18,_0x31cd86)=>{const _0x36c02b=_0x31cd86['value'],_0x289aca=Array['from'](this[_0x5272('0x6')][_0x5272('0x18')][_0x5272('0x1')][_0x5272('0x1d')][_0x5272('0x16')]())[_0x5272('0x19')](_0x4f7516=>function(_0x5f0ec3,_0x521816,_0x45c6a8){return _0x45c6a8[_0x5272('0x4')](_0x5f0ec3[_0x5272('0xf')],_0x521816)&&!_0x45c6a8[_0x5272('0xa')](_0x5f0ec3)&&_0x5f0ec3[_0x5272('0x5')]!=_0x521816;}(_0x4f7516,_0x36c02b,this[_0x5272('0x6')][_0x5272('0x18')][_0x5272('0x1c')]));_0x8f910f[_0x5272('0x18')]['change'](()=>{for(const _0x6baa53 of _0x289aca)_0x34ccf5['markBlockFormat'](_0x6baa53,{'commandName':_0x5272('0x14'),'commandParams':[_0x31cd86],'formatGroupId':'blockName'},_0x5483b7(_0x6baa53));});});for(const _0x500451 of _0x43329c)_0x5272('0x7')!=_0x500451[_0x5272('0x18')]&&_0x34ccf5[_0x5272('0x15')]['registerElementLabel'](_0x500451[_0x5272('0x18')],_0x5ad087=>{const _0x4af82d=nn(_0x500451[_0x5272('0x18')]);return null!==_0x4af82d?_0x15cba6(_0x5ad087,_0x4af82d):_0x1ecd36(_0x5ad087,_0x500451[_0x5272('0x1a')]);});function _0x15cba6(_0x4fcc3f,_0x31a572){return _0x1e1d59(_0x1fecd7,'ELEMENT_HEADING',[_0x4fcc3f,_0x31a572]);}function _0x1ecd36(_0xd1ab35,_0x53c9c7){return _0x1e1d59(_0x1fecd7,'ELEMENT_HEADING_CUSTOM',[_0xd1ab35,_0x53c9c7]);}_0x34ccf5[_0x5272('0x15')][_0x5272('0x2')](_0x2ecabb=>{const {type:_0x8b9deb,data:_0x462c07}=_0x2ecabb;if(_0x5272('0x17')==_0x8b9deb&&_0x462c07&&_0x5272('0x14')==_0x462c07[_0x5272('0x1b')]){const _0x567d7f=_0x462c07[_0x5272('0x13')][0x0][_0x5272('0xb')],_0x3ea79e=nn(_0x567d7f);if(null!==_0x3ea79e)return{'type':_0x5272('0x3'),'content':_0x1e1d59(_0x1fecd7,_0x5272('0x11'),_0x15cba6(0x1,_0x3ea79e))};const _0x4b7bf5=_0x43329c[_0x5272('0x9')](_0x116229=>_0x116229[_0x5272('0x18')]===_0x567d7f)[_0x5272('0x1a')];return{'type':'format','content':_0x1e1d59(_0x1fecd7,'*Change\x20to:*\x20%0',_0x1ecd36(0x1,_0x4b7bf5))};}});}}function nn(_0x424230){const _0xd8a04d=_0x424230[_0x5272('0x12')](/^heading(\d+)$/);return _0xd8a04d?_0xd8a04d[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x96e4=['isCollapsed','has','enableCommand','toLowerCase','backward','getAttribute','getLastMatchingPosition','editor','getFirstPosition','item','plugins','value','change','highlight','_descriptionFactory','document','hasAttribute','format','TrackChangesEditing','model','afterInit','get','find','highlight.options','createRange','color','push','HighlightEditing','*Set\x20highlight:*\x20%0','registerDescriptionCallback','commandParams','getRanges','locale','title'];(function(_0x152aa2,_0x96e4ef){const _0x380a69=function(_0xe70f0e){while(--_0xe70f0e){_0x152aa2['push'](_0x152aa2['shift']());}};_0x380a69(++_0x96e4ef);}(_0x96e4,0xbc));const _0x380a=function(_0x152aa2,_0x96e4ef){_0x152aa2=_0x152aa2-0x0;let _0x380a69=_0x96e4[_0x152aa2];return _0x380a69;};import{Plugin as _0x35e1c8}from'ckeditor5/src/core';import{getTranslation as _0xdb05e5}from'../utils/common-translations';import{getRangesWithAttribute as _0x193355}from'./utils';export default class K extends _0x35e1c8{[_0x380a('0x2')](){const _0x245407=this[_0x380a('0x17')];if(!_0x245407[_0x380a('0x1a')][_0x380a('0x11')](_0x380a('0x9')))return;const _0xd7b1dd=_0x245407['plugins'][_0x380a('0x3')](_0x380a('0x0'));_0xd7b1dd[_0x380a('0x12')](_0x380a('0x1d'),(_0xf6c0d0,_0xe22c77={})=>{const _0x39179d=_0x245407[_0x380a('0x1')][_0x380a('0x1f')]['selection'],_0x213669=_0x39179d[_0x380a('0x15')](_0x380a('0x1d'));let _0x3b6967=_0xe22c77[_0x380a('0x1b')],_0x14fa54=[];if(_0x39179d[_0x380a('0x10')]){const _0x24270a=_0x39179d[_0x380a('0x18')]();if(!_0x39179d[_0x380a('0x20')](_0x380a('0x1d')))return void _0xf6c0d0(_0xe22c77);{const _0x36204b=_0x4b5576=>_0x4b5576[_0x380a('0x19')]['getAttribute']('highlight')===_0x213669,_0x13f2e7=_0x24270a[_0x380a('0x16')](_0x36204b,{'direction':_0x380a('0x14')}),_0x32acc8=_0x24270a[_0x380a('0x16')](_0x36204b);_0x14fa54=[_0x245407[_0x380a('0x1')][_0x380a('0x6')](_0x13f2e7,_0x32acc8)],_0x3b6967==_0x213669&&(_0x3b6967=null);}}else for(const _0x366b2b of _0x39179d[_0x380a('0xd')]())_0x3b6967?_0x14fa54[_0x380a('0x8')](_0x366b2b):_0x14fa54[_0x380a('0x8')](..._0x193355(_0x380a('0x1d'),_0x366b2b,_0x245407[_0x380a('0x1')]));_0x245407[_0x380a('0x1')][_0x380a('0x1c')](()=>{for(const _0x1873e5 of _0x14fa54)_0xd7b1dd['markInlineFormat'](_0x1873e5,{'commandName':'highlight','commandParams':[{'value':_0x3b6967}]});});});const _0x2d1fad=_0x245407[_0x380a('0xe')];_0xd7b1dd[_0x380a('0x1e')][_0x380a('0xb')](_0x103bfa=>{const {type:_0x31a158,data:_0x26e342}=_0x103bfa;if('formatInline'==_0x31a158&&_0x26e342&&'highlight'==_0x26e342['commandName']){const _0x5b4e1f=_0x2d1fad['t'],_0x592012=_0x26e342[_0x380a('0xc')][0x0][_0x380a('0x1b')];if(_0x592012){const _0x1597aa=_0x245407['config'][_0x380a('0x3')](_0x380a('0x5'))[_0x380a('0x4')](_0x95521d=>_0x95521d[_0x380a('0x1')]==_0x592012),_0x22ab3d=_0x5b4e1f(_0x1597aa['title'])[_0x380a('0x13')]();return{'type':_0x380a('0x21'),'content':_0xdb05e5(_0x2d1fad,_0x380a('0xa'),_0x22ab3d),'color':{'value':_0x1597aa[_0x380a('0x7')],'title':_0x1597aa[_0x380a('0xf')]}};}return{'type':_0x380a('0x21'),'content':_0xdb05e5(_0x2d1fad,'*Remove\x20highlight*',_0xdb05e5(_0x2d1fad,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x5a9b=['_descriptionFactory','get','model','getLastMatchingPosition','formatInline','value','createRange','enableCommand','registerDescriptionCallback','TrackChangesEditing','getAttribute','plugins','highlight','editor','getRanges','highlight.options','afterInit','item','toLowerCase','hasAttribute','color','markInlineFormat','commandName','config','format','backward','*Remove\x20highlight*','isCollapsed','selection','commandParams','*Set\x20highlight:*\x20%0','title','HighlightEditing','push','locale'];(function(_0xdb751,_0x5a9be5){const _0xeabc8c=function(_0x54e6a0){while(--_0x54e6a0){_0xdb751['push'](_0xdb751['shift']());}};_0xeabc8c(++_0x5a9be5);}(_0x5a9b,0x67));const _0xeabc=function(_0xdb751,_0x5a9be5){_0xdb751=_0xdb751-0x0;let _0xeabc8c=_0x5a9b[_0xdb751];return _0xeabc8c;};import{Plugin as _0x59f1fe}from'ckeditor5/src/core';import{getTranslation as _0x997f89}from'../utils/common-translations';import{getRangesWithAttribute as _0x44a0a4}from'./utils';export default class K extends _0x59f1fe{[_0xeabc('0x12')](){const _0x1bef52=this[_0xeabc('0xf')];if(!_0x1bef52[_0xeabc('0xd')]['has'](_0xeabc('0x22')))return;const _0x3401cf=_0x1bef52['plugins'][_0xeabc('0x3')](_0xeabc('0xb'));_0x3401cf[_0xeabc('0x9')](_0xeabc('0xe'),(_0x1e65ee,_0x527ecc={})=>{const _0x1d2f07=_0x1bef52[_0xeabc('0x4')]['document'][_0xeabc('0x1e')],_0x340a1a=_0x1d2f07[_0xeabc('0xc')]('highlight');let _0x47b9d2=_0x527ecc[_0xeabc('0x7')],_0x312a1a=[];if(_0x1d2f07[_0xeabc('0x1d')]){const _0x2db387=_0x1d2f07['getFirstPosition']();if(!_0x1d2f07[_0xeabc('0x15')](_0xeabc('0xe')))return void _0x1e65ee(_0x527ecc);{const _0x35d478=_0x3ed9cc=>_0x3ed9cc[_0xeabc('0x13')][_0xeabc('0xc')](_0xeabc('0xe'))===_0x340a1a,_0x110e50=_0x2db387[_0xeabc('0x5')](_0x35d478,{'direction':_0xeabc('0x1b')}),_0x1c6910=_0x2db387[_0xeabc('0x5')](_0x35d478);_0x312a1a=[_0x1bef52[_0xeabc('0x4')][_0xeabc('0x8')](_0x110e50,_0x1c6910)],_0x47b9d2==_0x340a1a&&(_0x47b9d2=null);}}else for(const _0x4a27e3 of _0x1d2f07[_0xeabc('0x10')]())_0x47b9d2?_0x312a1a[_0xeabc('0x0')](_0x4a27e3):_0x312a1a['push'](..._0x44a0a4('highlight',_0x4a27e3,_0x1bef52[_0xeabc('0x4')]));_0x1bef52[_0xeabc('0x4')]['change'](()=>{for(const _0x7fd0d4 of _0x312a1a)_0x3401cf[_0xeabc('0x17')](_0x7fd0d4,{'commandName':'highlight','commandParams':[{'value':_0x47b9d2}]});});});const _0x4097be=_0x1bef52[_0xeabc('0x1')];_0x3401cf[_0xeabc('0x2')][_0xeabc('0xa')](_0x40d816=>{const {type:_0x39d038,data:_0x3da20d}=_0x40d816;if(_0xeabc('0x6')==_0x39d038&&_0x3da20d&&'highlight'==_0x3da20d[_0xeabc('0x18')]){const _0x42cfc4=_0x4097be['t'],_0x59cc8a=_0x3da20d[_0xeabc('0x1f')][0x0][_0xeabc('0x7')];if(_0x59cc8a){const _0x336730=_0x1bef52[_0xeabc('0x19')][_0xeabc('0x3')](_0xeabc('0x11'))['find'](_0x17ac10=>_0x17ac10[_0xeabc('0x4')]==_0x59cc8a),_0x7d85ba=_0x42cfc4(_0x336730[_0xeabc('0x21')])[_0xeabc('0x14')]();return{'type':_0xeabc('0x1a'),'content':_0x997f89(_0x4097be,_0xeabc('0x20'),_0x7d85ba),'color':{'value':_0x336730[_0xeabc('0x16')],'title':_0x336730[_0xeabc('0x21')]}};}return{'type':_0xeabc('0x1a'),'content':_0x997f89(_0x4097be,_0xeabc('0x1c'),_0x997f89(_0x4097be,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2902=['horizontalLine','ELEMENT_HORIZONTAL_LINE','plugins','conversion','ck-horizontal-line','createEmptyElement','div','HorizontalLineEditing','locale','get','editor','createPositionAt','elementToStructure','TrackChangesEditing','insert','createContainerElement','registerElementLabel','addClass','has','showSuggestionHighlights'];(function(_0x5e5e0d,_0x2902bd){const _0x47ad6c=function(_0x20ae45){while(--_0x20ae45){_0x5e5e0d['push'](_0x5e5e0d['shift']());}};_0x47ad6c(++_0x2902bd);}(_0x2902,0x7c));const _0x47ad=function(_0x5e5e0d,_0x2902bd){_0x5e5e0d=_0x5e5e0d-0x0;let _0x47ad6c=_0x2902[_0x5e5e0d];return _0x47ad6c;};import{Plugin as _0x315b87}from'ckeditor5/src/core';import{getTranslation as _0x495f9f}from'../utils/common-translations';export default class Q extends _0x315b87{['afterInit'](){const _0x1955ef=this[_0x47ad('0x6')];if(!_0x1955ef['plugins'][_0x47ad('0xe')](_0x47ad('0x3')))return;_0x1955ef['plugins'][_0x47ad('0x5')](_0x47ad('0x9'))['enableCommand']('horizontalLine');const _0x2fda06=_0x1955ef[_0x47ad('0x12')][_0x47ad('0x5')](_0x47ad('0x9')),_0x5f11c8=_0x1955ef[_0x47ad('0x4')];_0x2fda06['_descriptionFactory'][_0x47ad('0xc')](_0x47ad('0x10'),_0x49451f=>_0x495f9f(_0x5f11c8,_0x47ad('0x11'),_0x49451f)),_0x1955ef[_0x47ad('0x13')]['for']('dataDowncast')[_0x47ad('0x8')]({'model':_0x47ad('0x10'),'view':(_0x330e76,{writer:_0x5de6d9,options:_0x4db02a})=>{if(!_0x4db02a[_0x47ad('0xf')])return null;const _0x398f72=_0x5de6d9[_0x47ad('0xb')](_0x47ad('0x2')),_0x22a30a=_0x5de6d9[_0x47ad('0x1')]('hr');return _0x5de6d9[_0x47ad('0xd')](_0x47ad('0x0'),_0x398f72),_0x5de6d9[_0x47ad('0xa')](_0x5de6d9[_0x47ad('0x7')](_0x398f72,0x0),_0x22a30a),_0x398f72;},'converterPriority':'high'});}}
23
+ const _0x3d96=['has','get','plugins','enableCommand','HorizontalLineEditing','div','createEmptyElement','dataDowncast','showSuggestionHighlights','registerElementLabel','afterInit','createContainerElement','insert','high','_descriptionFactory','TrackChangesEditing','conversion','for','editor','horizontalLine'];(function(_0x7989fc,_0x3d96bb){const _0x2d15c6=function(_0x424b47){while(--_0x424b47){_0x7989fc['push'](_0x7989fc['shift']());}};_0x2d15c6(++_0x3d96bb);}(_0x3d96,0x83));const _0x2d15=function(_0x7989fc,_0x3d96bb){_0x7989fc=_0x7989fc-0x0;let _0x2d15c6=_0x3d96[_0x7989fc];return _0x2d15c6;};import{Plugin as _0x3dc376}from'ckeditor5/src/core';import{getTranslation as _0x32cbcc}from'../utils/common-translations';export default class Q extends _0x3dc376{[_0x2d15('0x13')](){const _0x76cbab=this[_0x2d15('0x7')];if(!_0x76cbab[_0x2d15('0xb')][_0x2d15('0x9')](_0x2d15('0xd')))return;_0x76cbab[_0x2d15('0xb')][_0x2d15('0xa')](_0x2d15('0x4'))[_0x2d15('0xc')](_0x2d15('0x8'));const _0x18dcaf=_0x76cbab[_0x2d15('0xb')]['get'](_0x2d15('0x4')),_0x1774aa=_0x76cbab['locale'];_0x18dcaf[_0x2d15('0x3')][_0x2d15('0x12')](_0x2d15('0x8'),_0x3e2e99=>_0x32cbcc(_0x1774aa,'ELEMENT_HORIZONTAL_LINE',_0x3e2e99)),_0x76cbab[_0x2d15('0x5')][_0x2d15('0x6')](_0x2d15('0x10'))['elementToStructure']({'model':'horizontalLine','view':(_0x31dee4,{writer:_0x3d42a4,options:_0xed4a6a})=>{if(!_0xed4a6a[_0x2d15('0x11')])return null;const _0x4578cb=_0x3d42a4[_0x2d15('0x0')](_0x2d15('0xe')),_0x2bb139=_0x3d42a4[_0x2d15('0xf')]('hr');return _0x3d42a4['addClass']('ck-horizontal-line',_0x4578cb),_0x3d42a4[_0x2d15('0x1')](_0x3d42a4['createPositionAt'](_0x4578cb,0x0),_0x2bb139),_0x4578cb;},'converterPriority':_0x2d15('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3168=['editor','plugins','enableCommand','editing','model','has','change','cancel','htmlEmbed','locale','value','*Change\x20%0\x20content*','selection','ELEMENT_HTML_EMBED','getAttribute','get','rawHtmlApi','markBlockFormat','_descriptionFactory','element','getCustomProperty','document','afterInit','TrackChangesEditing','rawHtml','format','view','getSelectedElement'];(function(_0x283f4d,_0x31687e){const _0x48d414=function(_0x5f3735){while(--_0x5f3735){_0x283f4d['push'](_0x283f4d['shift']());}};_0x48d414(++_0x31687e);}(_0x3168,0x10d));const _0x48d4=function(_0x283f4d,_0x31687e){_0x283f4d=_0x283f4d-0x0;let _0x48d414=_0x3168[_0x283f4d];return _0x48d414;};import{Plugin as _0x3e953d}from'ckeditor5/src/core';import{getTranslation as _0x450bf7}from'../utils/common-translations';export default class V extends _0x3e953d{[_0x48d4('0x5')](){const _0x13a9bf=this[_0x48d4('0xb')];if(!_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x10')]('HtmlEmbed'))return;const _0x39753d=_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x1a')](_0x48d4('0x6')),_0x4c06d9=_0x13a9bf[_0x48d4('0x14')],_0x179c58=_0x13a9bf[_0x48d4('0xe')][_0x48d4('0x9')][_0x48d4('0x4')][_0x48d4('0x17')];_0x39753d[_0x48d4('0x1')]['registerElementLabel']('rawHtml',_0x42e155=>_0x450bf7(_0x4c06d9,'ELEMENT_HTML_EMBED',_0x42e155)),_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x1a')]('TrackChangesEditing')[_0x48d4('0xd')](_0x48d4('0x13'),(_0x5c2f20,_0x57c8a2)=>{const _0x2ed57a=_0x13a9bf[_0x48d4('0xf')],_0x477d56=_0x2ed57a[_0x48d4('0x4')]['selection'];_0x2ed57a[_0x48d4('0x11')](()=>{const _0x28276c=function(_0x36e5f8){const _0x76dbcc=_0x36e5f8[_0x48d4('0xa')]();if(_0x76dbcc&&_0x76dbcc['is'](_0x48d4('0x2'),_0x48d4('0x7')))return _0x36e5f8[_0x48d4('0xa')]();return null;}(_0x477d56);if(!_0x28276c)return void _0x5c2f20(null);const _0x19d5f7=_0x28276c[_0x48d4('0x19')](_0x48d4('0x15'))||'';if(void 0x0===_0x57c8a2)return;if(_0x57c8a2===_0x19d5f7)return;_0x39753d[_0x48d4('0x0')](_0x28276c,{'commandName':'htmlEmbed','commandParams':[_0x57c8a2]}),_0x179c58['getSelectedElement']()[_0x48d4('0x3')](_0x48d4('0x1b'))[_0x48d4('0x12')]();});}),_0x39753d[_0x48d4('0x1')]['registerDescriptionCallback'](_0x541d1c=>{const {data:_0x142ca7}=_0x541d1c;if(_0x142ca7&&_0x48d4('0x13')==_0x142ca7['commandName']){const _0x465684=_0x450bf7(_0x4c06d9,_0x48d4('0x18'));return{'type':_0x48d4('0x8'),'content':_0x450bf7(_0x4c06d9,_0x48d4('0x16'),_0x465684)};}});}}
23
+ const _0x42c3=['ELEMENT_HTML_EMBED','rawHtml','*Change\x20%0\x20content*','getSelectedElement','get','view','TrackChangesEditing','enableCommand','cancel','plugins','registerDescriptionCallback','locale','element','htmlEmbed','markBlockFormat','has','registerElementLabel','HtmlEmbed','rawHtmlApi','getCustomProperty','selection','value','change'];(function(_0x431b72,_0x42c355){const _0x45f6e5=function(_0xedb287){while(--_0xedb287){_0x431b72['push'](_0x431b72['shift']());}};_0x45f6e5(++_0x42c355);}(_0x42c3,0x17e));const _0x45f6=function(_0x431b72,_0x42c355){_0x431b72=_0x431b72-0x0;let _0x45f6e5=_0x42c3[_0x431b72];return _0x45f6e5;};import{Plugin as _0x500b95}from'ckeditor5/src/core';import{getTranslation as _0x2bb70d}from'../utils/common-translations';export default class V extends _0x500b95{['afterInit'](){const _0x1b760c=this['editor'];if(!_0x1b760c[_0x45f6('0x12')][_0x45f6('0x1')](_0x45f6('0x3')))return;const _0x173a27=_0x1b760c[_0x45f6('0x12')][_0x45f6('0xd')](_0x45f6('0xf')),_0x41cc61=_0x1b760c[_0x45f6('0x14')],_0x3f62e1=_0x1b760c['editing'][_0x45f6('0xe')]['document'][_0x45f6('0x6')];_0x173a27['_descriptionFactory'][_0x45f6('0x2')]('rawHtml',_0x570e10=>_0x2bb70d(_0x41cc61,_0x45f6('0x9'),_0x570e10)),_0x1b760c['plugins']['get'](_0x45f6('0xf'))[_0x45f6('0x10')]('htmlEmbed',(_0x5503d8,_0x13ed2a)=>{const _0x4e8f1a=_0x1b760c['model'],_0x847165=_0x4e8f1a['document'][_0x45f6('0x6')];_0x4e8f1a[_0x45f6('0x8')](()=>{const _0x22b9a0=function(_0x2dd6e1){const _0x4603dd=_0x2dd6e1[_0x45f6('0xc')]();if(_0x4603dd&&_0x4603dd['is'](_0x45f6('0x15'),_0x45f6('0xa')))return _0x2dd6e1[_0x45f6('0xc')]();return null;}(_0x847165);if(!_0x22b9a0)return void _0x5503d8(null);const _0x2a61bb=_0x22b9a0['getAttribute'](_0x45f6('0x7'))||'';if(void 0x0===_0x13ed2a)return;if(_0x13ed2a===_0x2a61bb)return;_0x173a27[_0x45f6('0x0')](_0x22b9a0,{'commandName':'htmlEmbed','commandParams':[_0x13ed2a]}),_0x3f62e1[_0x45f6('0xc')]()[_0x45f6('0x5')](_0x45f6('0x4'))[_0x45f6('0x11')]();});}),_0x173a27['_descriptionFactory'][_0x45f6('0x13')](_0x38fe32=>{const {data:_0x2cc37c}=_0x38fe32;if(_0x2cc37c&&_0x45f6('0x16')==_0x2cc37c['commandName']){const _0x5274c4=_0x2bb70d(_0x41cc61,_0x45f6('0x9'));return{'type':'format','content':_0x2bb70d(_0x41cc61,_0x45f6('0xb'),_0x5274c4)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x192b=['*Set\x20image\x20width:*\x20%0','side','getSuggestions','forward','getAttribute','imageInline','differ','normalizedStyles','_suggestionFactory','createRangeOn','isBlockImage','imageBlock','commandName','ImageBlockEditing','isEqual','TrackChangesEditing','newValue','FORMAT_SIDE_IMAGE','markInsertion','commandParams','registerCustomCallback','type','from','ImageCaptionEditing','Users','newRange','createRange','name','discard','document','getSuggestionCallback','suggestion','ImageTextAlternativeEditing','ImageInlineEditing','width','model','formatBlock','commandReversedParams','has','isInlineImage','markDeletion','imageTypeBlock','imageStylePreApply','hasAttribute','getFirstRange','resizeImage','discardSuggestion','imageCaption','format','uploadImage','ImageStyleEditing','value','nodeAfter','getSuggestion','convertInlineImageToBlock','*Set\x20image\x20text\x20alternative:*\x20%0','accept','markBlockFormat','_findSuggestions','selection','convertBlockImageToInline','locale','refresh','ELEMENT_IMAGE','chain','detach','imageStyle','markInlineFormat','isInContent','ImageEditing','title','alt','plugins','end','toggleImageCaption','isCollapsed','registerElementLabel','toLowerCase','schema','join','insertion','caption','*Reset\x20image\x20width*','afterInit','ELEMENT_INLINE_IMAGE','formatInline','imageStylePostApply','next','Inline\x20image\x20to\x20block\x20image','getNearestSelectionRange','commands','backward','imageTextAlternative','findIndex','length','subType','get','isOwn','previous','fromPosition','change','isBefore','getClosestSelectedImageElement','author','toPrevious','_descriptionFactory','nodeBefore','start','registerDescriptionCallback','addObject','getContainedElement','getChangedMarkers','isIntersecting','imageTypeInline','ImageUtils','enableCommand','toNext'];(function(_0x4082c4,_0x192b95){const _0x2d1f9b=function(_0x4dfb70){while(--_0x4dfb70){_0x4082c4['push'](_0x4082c4['shift']());}};_0x2d1f9b(++_0x192b95);}(_0x192b,0x173));const _0x2d1f=function(_0x4082c4,_0x192b95){_0x4082c4=_0x4082c4-0x0;let _0x2d1f9b=_0x192b[_0x4082c4];return _0x2d1f9b;};import{Plugin as _0xfe20a5}from'ckeditor5/src/core';import{LivePosition as _0x502f94}from'ckeditor5/src/engine';import{uid as _0x16469a}from'ckeditor5/src/utils';import{getTranslation as _0x37bd5c}from'../utils/common-translations';export default class X extends _0xfe20a5{[_0x2d1f('0x3f')](){const _0x392cc0=this['editor'];if(!_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x31')))return;const _0x1a3261=_0x392cc0['plugins'][_0x2d1f('0x4c')](_0x2d1f('0x70')),_0x1c6a6f=_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')](_0x2d1f('0x5e')),_0x5b8004={},_0x35ddc0=_0x392cc0[_0x2d1f('0x29')];if(_0x1a3261[_0x2d1f('0x5f')]('insertImage'),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x38')](_0x2d1f('0x6c'),_0x1dc5f6=>_0x37bd5c(_0x35ddc0,_0x2d1f('0x2b'),_0x1dc5f6)),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x38')](_0x2d1f('0x66'),_0x53eeb1=>_0x37bd5c(_0x35ddc0,_0x2d1f('0x40'),_0x53eeb1)),_0x1a3261[_0x2d1f('0x55')]['registerElementLabel'](_0x2d1f('0x3d'),()=>_0x37bd5c(_0x35ddc0,'ELEMENT_CAPTION')),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')]('ImageUploadEditing')&&_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x1d')),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x6e'))&&_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0xd'))&&(_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x5d'),(_0x406ffe,_0xb4200)=>{const _0x3b881c=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]);_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x3b881c,{'commandName':_0x2d1f('0x5d'),'commandParams':[_0xb4200]},[],'convertBlockImageToInline');});}),_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x15'),(_0x5054fb,_0xe634cc)=>{_0x392cc0[_0x2d1f('0xf')]['change'](_0x1187aa=>{let _0x540f8d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')]['document'][_0x2d1f('0x27')]),_0x1c39d5=_0x1187aa[_0x2d1f('0x6a')](_0x540f8d);const _0x2c4c3d=_0x502f94[_0x2d1f('0x4f')](_0x1c39d5[_0x2d1f('0x57')],_0x2d1f('0x54')),_0x5a6947=_0x502f94[_0x2d1f('0x4f')](_0x1c39d5['end'],_0x2d1f('0x60'));_0x1a3261['forceDefaultExecution'](()=>_0x5054fb(_0xe634cc)),_0x540f8d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x1c39d5=_0x1187aa[_0x2d1f('0x6a')](_0x540f8d);const _0x5f33d1=_0x1187aa[_0x2d1f('0x6')](_0x2c4c3d,_0x5a6947);_0x2c4c3d[_0x2d1f('0x2d')](),_0x5a6947[_0x2d1f('0x2d')](),_0x1a3261[_0x2d1f('0x25')](_0x540f8d,{'commandName':_0x2d1f('0x5d'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x5f33d1[_0x2d1f('0x57')][_0x2d1f('0x51')](_0x1c39d5[_0x2d1f('0x57')])&&_0x1a3261[_0x2d1f('0x73')](_0x1187aa['createRange'](_0x5f33d1[_0x2d1f('0x57')],_0x1c39d5[_0x2d1f('0x57')]),_0x2d1f('0x22')),_0x1c39d5['end']['isBefore'](_0x5f33d1[_0x2d1f('0x35')])&&_0x1a3261[_0x2d1f('0x73')](_0x1187aa[_0x2d1f('0x6')](_0x1c39d5[_0x2d1f('0x35')],_0x5f33d1[_0x2d1f('0x35')]),_0x2d1f('0x22'));});}),_0x1a3261[_0x2d1f('0x69')]['registerCustomCallback'](_0x2d1f('0x10'),_0x2d1f('0x22'),'join',()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),_0x2d1f('0x22'),_0x2d1f('0x24'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')]('formatBlock',_0x2d1f('0x22'),_0x2d1f('0x8'),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0xa')](_0x2d1f('0x10'),'',_0x2d1f('0x24'))),_0x1a3261['_suggestionFactory'][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),_0x2d1f('0x3b'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),'discard',([_0x47ff2b])=>{const _0x5e5e5a=_0x1a3261['_suggestionFactory'][_0x2d1f('0xa')](_0x2d1f('0x3c'),'',_0x2d1f('0x8'));let _0x360227=_0x47ff2b[_0x2d1f('0x57')],_0x401e23=_0x47ff2b[_0x2d1f('0x35')];const _0x5d029d=_0x392cc0['model'][_0x2d1f('0x3a')][_0x2d1f('0x45')](_0x360227,_0x2d1f('0x47')),_0xc624da=_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x3a')][_0x2d1f('0x45')](_0x401e23,_0x2d1f('0x64'));_0x5d029d[_0x2d1f('0x37')]&&(_0x360227=_0x5d029d[_0x2d1f('0x57')]),_0xc624da['isCollapsed']&&(_0x401e23=_0xc624da['end']),_0x5e5e5a([_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6')](_0x360227,_0x401e23)]);}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),'convertInlineImageToBlock','chain',_0x5daf62),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),_0x2d1f('0x2c'),_0x5daf62)),_0x392cc0['plugins'][_0x2d1f('0x12')](_0x2d1f('0x3'))&&(_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x36'),(_0x202941,_0x3774b7)=>{const _0x118d17=_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')]('ImageCaptionUtils');let _0x79aa54=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x2aeb12=_0x118d17['getCaptionFromImageModelElement'](_0x79aa54);_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{if(_0x2aeb12)return void _0x1a3261[_0x2d1f('0x14')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6a')](_0x2aeb12));const _0x221dd6=_0x1c6a6f[_0x2d1f('0x6b')](_0x79aa54);_0x202941(_0x3774b7),_0x79aa54=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')]['document'][_0x2d1f('0x27')]),_0x2aeb12=_0x118d17['getCaptionFromImageModelElement'](_0x79aa54),_0x1a3261[_0x2d1f('0x73')](_0x392cc0['model'][_0x2d1f('0x6a')](_0x2aeb12),_0x221dd6?null:'imageCaption');});}),_0x1a3261['_suggestionFactory']['registerCustomCallback']('insertion',_0x2d1f('0x1b'),_0x2d1f('0x2c'),_0x5daf62)),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x1e'))){_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x2e'),(_0x4f874c,_0x336452)=>{const _0xf46d05=_0x392cc0[_0x2d1f('0x34')]['get'](_0x2d1f('0x4'))['me'],_0x45fe3e=_0x392cc0['commands'][_0x2d1f('0x4c')](_0x2d1f('0x2e'));let _0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x97753d=_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6a')](_0x38a32d),_0x1ae291=_0x45fe3e['value'];if(_0x1ae291==_0x336452[_0x2d1f('0x1f')])return;const _0x19d71c={'commandName':'imageStyle','commandParams':[_0x336452],'formatGroupId':_0x16469a()};_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{if(_0x1a3261[_0x2d1f('0x63')]()['filter'](_0x34def3=>_0x34def3[_0x2d1f('0x30')]&&_0xf46d05==_0x34def3[_0x2d1f('0x53')]&&('formatBlock'==_0x34def3[_0x2d1f('0x1')]||_0x2d1f('0x41')==_0x34def3['type'])&&(_0x2d1f('0x16')==_0x34def3[_0x2d1f('0x4b')]||_0x2d1f('0x42')==_0x34def3['subType'])&&_0x34def3[_0x2d1f('0x18')]()[_0x2d1f('0x6f')](_0x97753d))['forEach'](_0x542d87=>_0x1a3261[_0x2d1f('0x1a')](_0x542d87['head'])),_0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0['model']['document']['selection']),_0x97753d=_0x392cc0['model']['createRangeOn'](_0x38a32d),_0x45fe3e[_0x2d1f('0x2a')](),_0x392cc0[_0x2d1f('0x46')]['get'](_0x2d1f('0x5d'))[_0x2d1f('0x2a')](),_0x392cc0[_0x2d1f('0x46')]['get'](_0x2d1f('0x15'))[_0x2d1f('0x2a')](),_0x1ae291=_0x45fe3e[_0x2d1f('0x1f')],_0x1ae291!=_0x336452[_0x2d1f('0x1f')])return _0x1c6a6f[_0x2d1f('0x13')](_0x38a32d)&&_0x45fe3e['shouldConvertImageType'](_0x336452[_0x2d1f('0x1f')],_0x38a32d)?(_0x4f874c(_0x336452),_0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),void _0x1a3261['markBlockFormat'](_0x38a32d,{..._0x19d71c,'commandReversedParams':[{'value':_0x1ae291||null}]},[],_0x2d1f('0x16'))):void(_0x1c6a6f[_0x2d1f('0x6b')](_0x38a32d)?_0x1a3261[_0x2d1f('0x25')](_0x38a32d,_0x19d71c,[],_0x2d1f('0x42')):_0x1a3261[_0x2d1f('0x2f')](_0x97753d,_0x19d71c,_0x2d1f('0x42')));});});for(const _0x7f4d7 of _0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')]('ImageStyleEditing')[_0x2d1f('0x68')])_0x5b8004[_0x7f4d7[_0x2d1f('0x7')]]=_0x7f4d7[_0x2d1f('0x32')][_0x2d1f('0x39')]();_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')]('formatBlock',_0x2d1f('0x16'),_0x2d1f('0x3b'),()=>{}),_0x1a3261['_suggestionFactory']['registerCustomCallback'](_0x2d1f('0x10'),_0x2d1f('0x42'),'join',()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x41'),'imageStylePostApply',_0x2d1f('0x3b'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),'imageStylePreApply',_0x2d1f('0x24'),()=>{}),_0x1a3261['_suggestionFactory'][_0x2d1f('0x0')]('formatBlock','imageStylePreApply','discard',(_0x4a0054,_0x1c3a6c)=>{_0x1a3261[_0x2d1f('0x69')]['getSuggestionCallback']('formatBlock','',_0x2d1f('0x24'))(_0x4a0054,{'commandName':_0x1c3a6c['commandName'],'commandParams':_0x1c3a6c[_0x2d1f('0x11')]});}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),_0x2d1f('0x16'),_0x2d1f('0x2c'),_0x5daf62);}const _0x2a2a8d=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0x2d1f('0x3c'),'subType':_0x2d1f('0x1b')},{'type':_0x2d1f('0x10'),'subType':_0x2d1f('0x22')},{'type':_0x2d1f('0x3c'),'subType':_0x2d1f('0x22')}];function _0x5c3767(_0x58fd80,_0x39f5ba){const _0x424c6a=_0x2a2a8d[_0x2d1f('0x49')](({type:_0x4b829f,subType:_0x591eb2})=>_0x58fd80['type']==_0x4b829f&&_0x58fd80[_0x2d1f('0x4b')]==_0x591eb2),_0x773eea=_0x2a2a8d['findIndex'](({type:_0x3e66bf,subType:_0x66a26c})=>_0x39f5ba[_0x2d1f('0x1')]==_0x3e66bf&&_0x39f5ba[_0x2d1f('0x4b')]==_0x66a26c);if(_0x424c6a<0x0||_0x773eea<0x0)return!0x1;const _0xc2b0de=_0x58fd80['getFirstRange'](),_0xfdf61f=_0x39f5ba[_0x2d1f('0x18')]();if((0x0==_0x424c6a||0x1==_0x424c6a)&&0x2==_0x773eea&&_0xc2b0de[_0x2d1f('0x5c')](_0xfdf61f))return!0x0;if(0x2==_0x424c6a&&0x3==_0x773eea){const _0x2d212f=_0x1a3261[_0x2d1f('0x26')](_0xc2b0de,_0x2d1f('0x3c'))['filter'](({suggestion:_0x3b4dde,meta:_0x51026d})=>_0x51026d[_0x2d1f('0x4d')]&&_0x2d1f('0x22')==_0x3b4dde[_0x2d1f('0x4b')]);if(_0x2d212f[_0x2d1f('0x4a')]>0x1&&_0xfdf61f['end']['isEqual'](_0xc2b0de[_0x2d1f('0x57')]))return!0x0;if(0x1==_0x2d212f[_0x2d1f('0x4a')]&&(_0xc2b0de['start']['isEqual'](_0xfdf61f['end'])||_0xc2b0de[_0x2d1f('0x35')][_0x2d1f('0x6f')](_0xfdf61f[_0x2d1f('0x57')])))return!0x0;}if(0x3==_0x424c6a&&0x3==_0x773eea&&_0xc2b0de[_0x2d1f('0x57')][_0x2d1f('0x51')](_0xfdf61f[_0x2d1f('0x57')])){const _0x3bdddc=_0xc2b0de[_0x2d1f('0x35')][_0x2d1f('0x20')],_0x21504c=_0xfdf61f[_0x2d1f('0x57')][_0x2d1f('0x56')];return _0x1c6a6f[_0x2d1f('0x6b')](_0x3bdddc)&&_0x3bdddc===_0x21504c;}return!0x1;}function _0x5daf62(_0x38f146,_0x43b1fa){return _0x5c3767(_0x38f146,_0x43b1fa)?[_0x38f146,_0x43b1fa]:_0x5c3767(_0x43b1fa,_0x38f146)?[_0x43b1fa,_0x38f146]:null;}_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')]['registerPostFixer'](()=>{let _0x3a689f=!0x1;const _0x4f9821=Array[_0x2d1f('0x2')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x67')][_0x2d1f('0x5b')]());for(const {name:_0x48f98,data:_0x239651}of _0x4f9821){const {group:_0x5386ce,type:_0x496fc7,subType:_0x4cc3db,id:_0x4ef273}=_0x1a3261['_splitMarkerName'](_0x48f98);if(_0x2d1f('0xb')==_0x5386ce&&_0x1a3261['hasSuggestion'](_0x4ef273)){if(_0x2d1f('0x10')==_0x496fc7&&('imageStylePreApply'==_0x4cc3db||_0x2d1f('0x42')==_0x4cc3db)){const _0x477dd7=_0x1a3261[_0x2d1f('0x21')](_0x4ef273);if(_0x239651[_0x2d1f('0x5')]){const _0x121375=_0x477dd7[_0x2d1f('0x18')]()[_0x2d1f('0x5a')]();if(_0x1c6a6f['isBlockImage'](_0x121375))continue;_0x1a3261[_0x2d1f('0x1a')](_0x477dd7),_0x3a689f=!0x0;}}if(_0x2d1f('0x3c')==_0x496fc7&&_0x2d1f('0x1b')==_0x4cc3db&&!_0x239651[_0x2d1f('0x5')]){const _0x515224=_0x1a3261['getSuggestion'](_0x4ef273);_0x515224[_0x2d1f('0x43')]&&_0x515224['next'][_0x2d1f('0x30')]&&(_0x1a3261[_0x2d1f('0x1a')](_0x515224[_0x2d1f('0x43')]),_0x3a689f=!0x0);}}}return _0x3a689f;}),_0x392cc0['plugins']['has']('ImageResize')&&_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x19'),(_0x219e45,_0x37a27c)=>{const _0x183982=_0x1c6a6f['getClosestSelectedImageElement'](_0x392cc0['model'][_0x2d1f('0x9')]['selection']);_0x183982[_0x2d1f('0x65')]('width')!=_0x37a27c[_0x2d1f('0xe')]&&_0x392cc0['model'][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x183982,{'commandName':_0x2d1f('0x19'),'commandParams':[_0x37a27c]});});}),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0xc'))&&_0x1a3261['enableCommand'](_0x2d1f('0x48'),(_0x511453,_0x23a0f0)=>{const _0x3314b9=_0x1c6a6f['getClosestSelectedImageElement'](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')]['selection']);(_0x3314b9[_0x2d1f('0x17')](_0x2d1f('0x33'))?_0x3314b9['getAttribute']('alt'):'')!=_0x23a0f0[_0x2d1f('0x71')]&&_0x392cc0['model'][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x3314b9,{'commandName':_0x2d1f('0x48'),'commandParams':[_0x23a0f0]});});}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x33711f=>{if(!!_0x2a2a8d['find'](({type:_0x5b598a,subType:_0x2e959d})=>_0x33711f[_0x2d1f('0x1')]==_0x5b598a&&_0x33711f[_0x2d1f('0x4b')]==_0x2e959d))return _0x33711f[_0x2d1f('0x4e')]?{}:void 0x0;}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x5a91fe=>{if(_0x2d1f('0x3c')==_0x5a91fe[_0x2d1f('0x1')]||'deletion'==_0x5a91fe['type']){const _0x13a29c=_0x5a91fe['getContainedElement']();if(_0x13a29c&&_0x13a29c['is']('element',_0x2d1f('0x3d')))return{'type':_0x2d1f('0x3c')==_0x5a91fe[_0x2d1f('0x1')]?_0x2d1f('0x59'):'removeObject','element':_0x13a29c,'quantity':0x1};}}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x4c6d13=>_0x2d1f('0x10')==_0x4c6d13[_0x2d1f('0x1')]&&'convertInlineImageToBlock'==_0x4c6d13[_0x2d1f('0x4b')]?{'type':_0x2d1f('0x1c'),'content':_0x2d1f('0x44')}:'formatBlock'==_0x4c6d13[_0x2d1f('0x1')]&&_0x2d1f('0x28')==_0x4c6d13[_0x2d1f('0x4b')]?{'type':_0x2d1f('0x1c'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x3455b6=>{const {data:_0x153804}=_0x3455b6;if(_0x153804){if(_0x2d1f('0x2e')==_0x153804[_0x2d1f('0x6d')]){const _0x5be5b7=_0x153804[_0x2d1f('0x74')][0x0][_0x2d1f('0x1f')];return _0x110f27(_0x2d1f('0x62')===_0x5be5b7?_0x37bd5c(_0x35ddc0,_0x2d1f('0x72')):_0x5b8004[_0x5be5b7]||_0x5be5b7);}if(_0x2d1f('0x48')==_0x153804[_0x2d1f('0x6d')]){const _0x34f341=_0x153804[_0x2d1f('0x74')][0x0][_0x2d1f('0x71')];return _0x34f341?{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x23'),'\x22'+_0x34f341+'\x22')}:{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x153804['commandName']){const _0x4fa6db=_0x153804[_0x2d1f('0x74')][0x0]['width'];return _0x4fa6db?{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x61'),_0x4fa6db)}:{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x3e'))};}}function _0x110f27(_0x1928d0){return{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,'*Format:*\x20%0',_0x1928d0)};}});}}
23
+ const _0x2c45=['uploadImage','forward','convertInlineImageToBlock','ImageResize','isOwn','convertBlockImageToInline','*Set\x20image\x20width:*\x20%0','toggleImageCaption','findIndex','selection','_descriptionFactory','registerElementLabel','deletion','document','has','isEqual','ImageUtils','getNearestSelectionRange','plugins','newValue','length','isIntersecting','imageTypeInline','ELEMENT_CAPTION','hasSuggestion','ImageStyleEditing','nodeBefore','previous','FORMAT_SIDE_IMAGE','isCollapsed','alt','*Set\x20image\x20text\x20alternative:*\x20%0','ELEMENT_INLINE_IMAGE','enableCommand','commandReversedParams','getFirstRange','imageTextAlternative','ImageCaptionEditing','_findSuggestions','imageInline','registerDescriptionCallback','commandParams','next','toNext','isBefore','commands','markBlockFormat','createRange','registerCustomCallback','from','differ','join','format','ImageUploadEditing','shouldConvertImageType','filter','find','nodeAfter','detach','getClosestSelectedImageElement','formatInline','registerPostFixer','getSuggestions','refresh','getCaptionFromImageModelElement','insertion','accept','author','ImageBlockEditing','value','toPrevious','type','formatBlock','imageTypeBlock','ImageCaptionUtils','Inline\x20image\x20to\x20block\x20image','head','resizeImage','get','width','fromPosition','side','change','ImageTextAlternativeEditing','imageCaption','ImageEditing','Users','schema','imageStylePreApply','_suggestionFactory','model','end','hasAttribute','start','markDeletion','toLowerCase','getSuggestion','getContainedElement','subType','editor','TrackChangesEditing','commandName','isInlineImage','createRangeOn','markInsertion','isBlockImage','chain','markInlineFormat','getChangedMarkers','*Reset\x20image\x20width*','imageStylePostApply','imageStyle','discard','forEach','title','getSuggestionCallback','imageBlock','Block\x20image\x20to\x20inline\x20image','element'];(function(_0x5281b9,_0x2c452c){const _0x25082e=function(_0x4ebfb6){while(--_0x4ebfb6){_0x5281b9['push'](_0x5281b9['shift']());}};_0x25082e(++_0x2c452c);}(_0x2c45,0x1be));const _0x2508=function(_0x5281b9,_0x2c452c){_0x5281b9=_0x5281b9-0x0;let _0x25082e=_0x2c45[_0x5281b9];return _0x25082e;};import{Plugin as _0x55c4f0}from'ckeditor5/src/core';import{LivePosition as _0x4fa632}from'ckeditor5/src/engine';import{uid as _0x19bcb8}from'ckeditor5/src/utils';import{getTranslation as _0x237517}from'../utils/common-translations';export default class X extends _0x55c4f0{['afterInit'](){const _0x3f44ad=this[_0x2508('0xa')];if(!_0x3f44ad[_0x2508('0x30')][_0x2508('0x2c')](_0x2508('0x73')))return;const _0x4209c8=_0x3f44ad['plugins'][_0x2508('0x6c')](_0x2508('0xb')),_0x417997=_0x3f44ad[_0x2508('0x30')]['get'](_0x2508('0x2e')),_0xf1e0cd={},_0x49ecbb=_0x3f44ad['locale'];if(_0x4209c8[_0x2508('0x3f')]('insertImage'),_0x4209c8['_descriptionFactory']['registerElementLabel'](_0x2508('0x1b'),_0x2cf681=>_0x237517(_0x49ecbb,'ELEMENT_IMAGE',_0x2cf681)),_0x4209c8['_descriptionFactory'][_0x2508('0x29')](_0x2508('0x45'),_0x47d2de=>_0x237517(_0x49ecbb,_0x2508('0x3e'),_0x47d2de)),_0x4209c8[_0x2508('0x28')][_0x2508('0x29')]('caption',()=>_0x237517(_0x49ecbb,_0x2508('0x35'))),_0x3f44ad['plugins']['has'](_0x2508('0x53'))&&_0x4209c8[_0x2508('0x3f')](_0x2508('0x1e')),_0x3f44ad['plugins'][_0x2508('0x2c')](_0x2508('0x62'))&&_0x3f44ad['plugins'][_0x2508('0x2c')]('ImageInlineEditing')&&(_0x4209c8[_0x2508('0x3f')](_0x2508('0x34'),(_0x4df8ac,_0x434a11)=>{const _0x574d75=_0x417997['getClosestSelectedImageElement'](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]);_0x3f44ad['model'][_0x2508('0x70')](()=>{_0x4209c8['markBlockFormat'](_0x574d75,{'commandName':_0x2508('0x34'),'commandParams':[_0x434a11]},[],_0x2508('0x23'));});}),_0x4209c8['enableCommand'](_0x2508('0x67'),(_0x211ac5,_0x5106f6)=>{_0x3f44ad['model']['change'](_0x189a65=>{let _0x25b17b=_0x417997['getClosestSelectedImageElement'](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]),_0x1b8d05=_0x189a65['createRangeOn'](_0x25b17b);const _0x163a39=_0x4fa632[_0x2508('0x6e')](_0x1b8d05[_0x2508('0x4')],_0x2508('0x64')),_0x3bccc1=_0x4fa632['fromPosition'](_0x1b8d05[_0x2508('0x2')],_0x2508('0x49'));_0x4209c8['forceDefaultExecution'](()=>_0x211ac5(_0x5106f6)),_0x25b17b=_0x417997['getClosestSelectedImageElement'](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]),_0x1b8d05=_0x189a65[_0x2508('0xe')](_0x25b17b);const _0xeafb9a=_0x189a65[_0x2508('0x4d')](_0x163a39,_0x3bccc1);_0x163a39[_0x2508('0x58')](),_0x3bccc1[_0x2508('0x58')](),_0x4209c8[_0x2508('0x4c')](_0x25b17b,{'commandName':_0x2508('0x34'),'commandParams':[]},[],_0x2508('0x20')),_0xeafb9a[_0x2508('0x4')]['isBefore'](_0x1b8d05['start'])&&_0x4209c8['markInsertion'](_0x189a65['createRange'](_0xeafb9a[_0x2508('0x4')],_0x1b8d05[_0x2508('0x4')]),_0x2508('0x20')),_0x1b8d05['end'][_0x2508('0x4a')](_0xeafb9a[_0x2508('0x2')])&&_0x4209c8[_0x2508('0xf')](_0x189a65[_0x2508('0x4d')](_0x1b8d05['end'],_0xeafb9a[_0x2508('0x2')]),_0x2508('0x20'));});}),_0x4209c8[_0x2508('0x0')]['registerCustomCallback'](_0x2508('0x66'),'convertInlineImageToBlock','join',()=>{}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x66'),_0x2508('0x20'),'accept',()=>{}),_0x4209c8[_0x2508('0x0')]['registerCustomCallback'](_0x2508('0x66'),_0x2508('0x20'),_0x2508('0x17'),_0x4209c8[_0x2508('0x0')][_0x2508('0x1a')]('formatBlock','','accept')),_0x4209c8['_suggestionFactory'][_0x2508('0x4e')](_0x2508('0x5f'),_0x2508('0x20'),_0x2508('0x51'),()=>{}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x5f'),_0x2508('0x20'),'discard',([_0x495b35])=>{const _0x1fe408=_0x4209c8[_0x2508('0x0')][_0x2508('0x1a')](_0x2508('0x5f'),'',_0x2508('0x17'));let _0x2c2232=_0x495b35[_0x2508('0x4')],_0x26bd96=_0x495b35['end'];const _0x3c22ff=_0x3f44ad[_0x2508('0x1')][_0x2508('0x75')]['getNearestSelectionRange'](_0x2c2232,'backward'),_0x14ac9f=_0x3f44ad['model']['schema'][_0x2508('0x2f')](_0x26bd96,_0x2508('0x1f'));_0x3c22ff[_0x2508('0x3b')]&&(_0x2c2232=_0x3c22ff['start']),_0x14ac9f[_0x2508('0x3b')]&&(_0x26bd96=_0x14ac9f['end']),_0x1fe408([_0x3f44ad['model'][_0x2508('0x4d')](_0x2c2232,_0x26bd96)]);}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x66'),'convertInlineImageToBlock',_0x2508('0x11'),_0x28354b),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')]('insertion',_0x2508('0x20'),_0x2508('0x11'),_0x28354b)),_0x3f44ad[_0x2508('0x30')]['has'](_0x2508('0x43'))&&(_0x4209c8[_0x2508('0x3f')](_0x2508('0x25'),(_0x475513,_0x4067a5)=>{const _0x3fe11b=_0x3f44ad[_0x2508('0x30')][_0x2508('0x6c')](_0x2508('0x68'));let _0x1cafce=_0x417997[_0x2508('0x59')](_0x3f44ad[_0x2508('0x1')]['document'][_0x2508('0x27')]),_0x2b2cf4=_0x3fe11b['getCaptionFromImageModelElement'](_0x1cafce);_0x3f44ad['model']['change'](()=>{if(_0x2b2cf4)return void _0x4209c8[_0x2508('0x5')](_0x3f44ad[_0x2508('0x1')][_0x2508('0xe')](_0x2b2cf4));const _0x3fc9ca=_0x417997[_0x2508('0x10')](_0x1cafce);_0x475513(_0x4067a5),_0x1cafce=_0x417997[_0x2508('0x59')](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]),_0x2b2cf4=_0x3fe11b[_0x2508('0x5e')](_0x1cafce),_0x4209c8[_0x2508('0xf')](_0x3f44ad[_0x2508('0x1')][_0x2508('0xe')](_0x2b2cf4),_0x3fc9ca?null:_0x2508('0x72'));});}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x5f'),_0x2508('0x72'),_0x2508('0x11'),_0x28354b)),_0x3f44ad[_0x2508('0x30')][_0x2508('0x2c')]('ImageStyleEditing')){_0x4209c8[_0x2508('0x3f')]('imageStyle',(_0x53eb1,_0x4ab740)=>{const _0x28c9f0=_0x3f44ad[_0x2508('0x30')][_0x2508('0x6c')](_0x2508('0x74'))['me'],_0x25ea4b=_0x3f44ad[_0x2508('0x4b')][_0x2508('0x6c')](_0x2508('0x16'));let _0xc94611=_0x417997[_0x2508('0x59')](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]),_0x480bd4=_0x3f44ad[_0x2508('0x1')]['createRangeOn'](_0xc94611),_0xf5122e=_0x25ea4b['value'];if(_0xf5122e==_0x4ab740[_0x2508('0x63')])return;const _0x2c90d6={'commandName':_0x2508('0x16'),'commandParams':[_0x4ab740],'formatGroupId':_0x19bcb8()};_0x3f44ad['model'][_0x2508('0x70')](()=>{if(_0x4209c8[_0x2508('0x5c')]()[_0x2508('0x55')](_0x501593=>_0x501593['isInContent']&&_0x28c9f0==_0x501593[_0x2508('0x61')]&&(_0x2508('0x66')==_0x501593[_0x2508('0x65')]||_0x2508('0x5a')==_0x501593[_0x2508('0x65')])&&(_0x2508('0x76')==_0x501593['subType']||_0x2508('0x15')==_0x501593[_0x2508('0x9')])&&_0x501593[_0x2508('0x41')]()[_0x2508('0x2d')](_0x480bd4))[_0x2508('0x18')](_0x569515=>_0x4209c8['discardSuggestion'](_0x569515[_0x2508('0x6a')])),_0xc94611=_0x417997[_0x2508('0x59')](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]),_0x480bd4=_0x3f44ad[_0x2508('0x1')]['createRangeOn'](_0xc94611),_0x25ea4b[_0x2508('0x5d')](),_0x3f44ad[_0x2508('0x4b')][_0x2508('0x6c')]('imageTypeInline')['refresh'](),_0x3f44ad[_0x2508('0x4b')][_0x2508('0x6c')](_0x2508('0x67'))[_0x2508('0x5d')](),_0xf5122e=_0x25ea4b['value'],_0xf5122e!=_0x4ab740['value'])return _0x417997[_0x2508('0xd')](_0xc94611)&&_0x25ea4b[_0x2508('0x54')](_0x4ab740['value'],_0xc94611)?(_0x53eb1(_0x4ab740),_0xc94611=_0x417997[_0x2508('0x59')](_0x3f44ad['model']['document']['selection']),void _0x4209c8[_0x2508('0x4c')](_0xc94611,{..._0x2c90d6,'commandReversedParams':[{'value':_0xf5122e||null}]},[],'imageStylePreApply')):void(_0x417997[_0x2508('0x10')](_0xc94611)?_0x4209c8[_0x2508('0x4c')](_0xc94611,_0x2c90d6,[],_0x2508('0x15')):_0x4209c8[_0x2508('0x12')](_0x480bd4,_0x2c90d6,_0x2508('0x15')));});});for(const _0xeb75da of _0x3f44ad[_0x2508('0x30')][_0x2508('0x6c')](_0x2508('0x37'))['normalizedStyles'])_0xf1e0cd[_0xeb75da['name']]=_0xeb75da[_0x2508('0x19')][_0x2508('0x6')]();_0x4209c8[_0x2508('0x0')]['registerCustomCallback'](_0x2508('0x66'),'imageStylePreApply',_0x2508('0x51'),()=>{}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x66'),_0x2508('0x15'),'join',()=>{}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x5a'),_0x2508('0x15'),'join',()=>{}),_0x4209c8['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply',_0x2508('0x60'),()=>{}),_0x4209c8[_0x2508('0x0')][_0x2508('0x4e')](_0x2508('0x66'),_0x2508('0x76'),'discard',(_0x2727e9,_0x3ae413)=>{_0x4209c8[_0x2508('0x0')][_0x2508('0x1a')](_0x2508('0x66'),'','accept')(_0x2727e9,{'commandName':_0x3ae413[_0x2508('0xc')],'commandParams':_0x3ae413[_0x2508('0x40')]});}),_0x4209c8['_suggestionFactory']['registerCustomCallback'](_0x2508('0x66'),_0x2508('0x76'),_0x2508('0x11'),_0x28354b);}const _0x3cf233=[{'type':_0x2508('0x66'),'subType':'imageStylePreApply'},{'type':_0x2508('0x5f'),'subType':_0x2508('0x72')},{'type':_0x2508('0x66'),'subType':_0x2508('0x20')},{'type':_0x2508('0x5f'),'subType':'convertInlineImageToBlock'}];function _0x23400e(_0x7d7d8,_0x5b0732){const _0x23b70a=_0x3cf233[_0x2508('0x26')](({type:_0x61fa50,subType:_0x4ac5f2})=>_0x7d7d8[_0x2508('0x65')]==_0x61fa50&&_0x7d7d8[_0x2508('0x9')]==_0x4ac5f2),_0x3a1292=_0x3cf233[_0x2508('0x26')](({type:_0x1977e7,subType:_0x300105})=>_0x5b0732[_0x2508('0x65')]==_0x1977e7&&_0x5b0732[_0x2508('0x9')]==_0x300105);if(_0x23b70a<0x0||_0x3a1292<0x0)return!0x1;const _0x337b6a=_0x7d7d8[_0x2508('0x41')](),_0x2b3c4b=_0x5b0732[_0x2508('0x41')]();if((0x0==_0x23b70a||0x1==_0x23b70a)&&0x2==_0x3a1292&&_0x337b6a[_0x2508('0x33')](_0x2b3c4b))return!0x0;if(0x2==_0x23b70a&&0x3==_0x3a1292){const _0x511152=_0x4209c8[_0x2508('0x44')](_0x337b6a,_0x2508('0x5f'))[_0x2508('0x55')](({suggestion:_0x1256ec,meta:_0x13ed11})=>_0x13ed11[_0x2508('0x22')]&&_0x2508('0x20')==_0x1256ec[_0x2508('0x9')]);if(_0x511152[_0x2508('0x32')]>0x1&&_0x2b3c4b[_0x2508('0x2')]['isEqual'](_0x337b6a[_0x2508('0x4')]))return!0x0;if(0x1==_0x511152[_0x2508('0x32')]&&(_0x337b6a[_0x2508('0x4')][_0x2508('0x2d')](_0x2b3c4b[_0x2508('0x2')])||_0x337b6a[_0x2508('0x2')][_0x2508('0x2d')](_0x2b3c4b[_0x2508('0x4')])))return!0x0;}if(0x3==_0x23b70a&&0x3==_0x3a1292&&_0x337b6a[_0x2508('0x4')][_0x2508('0x4a')](_0x2b3c4b[_0x2508('0x4')])){const _0x47ca2c=_0x337b6a['end'][_0x2508('0x57')],_0x5c764f=_0x2b3c4b['start'][_0x2508('0x38')];return _0x417997['isBlockImage'](_0x47ca2c)&&_0x47ca2c===_0x5c764f;}return!0x1;}function _0x28354b(_0xdde64e,_0x20ea5c){return _0x23400e(_0xdde64e,_0x20ea5c)?[_0xdde64e,_0x20ea5c]:_0x23400e(_0x20ea5c,_0xdde64e)?[_0x20ea5c,_0xdde64e]:null;}_0x3f44ad['model'][_0x2508('0x2b')][_0x2508('0x5b')](()=>{let _0x49d687=!0x1;const _0x3d8346=Array[_0x2508('0x4f')](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x50')][_0x2508('0x13')]());for(const {name:_0x298039,data:_0x135473}of _0x3d8346){const {group:_0x2b916c,type:_0x13cfbf,subType:_0x1add11,id:_0x320126}=_0x4209c8['_splitMarkerName'](_0x298039);if('suggestion'==_0x2b916c&&_0x4209c8[_0x2508('0x36')](_0x320126)){if(_0x2508('0x66')==_0x13cfbf&&(_0x2508('0x76')==_0x1add11||'imageStylePostApply'==_0x1add11)){const _0x34c841=_0x4209c8['getSuggestion'](_0x320126);if(_0x135473['newRange']){const _0xfe9e86=_0x34c841[_0x2508('0x41')]()[_0x2508('0x8')]();if(_0x417997[_0x2508('0x10')](_0xfe9e86))continue;_0x4209c8['discardSuggestion'](_0x34c841),_0x49d687=!0x0;}}if(_0x2508('0x5f')==_0x13cfbf&&'imageCaption'==_0x1add11&&!_0x135473['newRange']){const _0x170bc3=_0x4209c8[_0x2508('0x7')](_0x320126);_0x170bc3[_0x2508('0x48')]&&_0x170bc3[_0x2508('0x48')]['isInContent']&&(_0x4209c8['discardSuggestion'](_0x170bc3['next']),_0x49d687=!0x0);}}}return _0x49d687;}),_0x3f44ad[_0x2508('0x30')][_0x2508('0x2c')](_0x2508('0x21'))&&_0x4209c8[_0x2508('0x3f')](_0x2508('0x6b'),(_0x2ebe26,_0x3d3db3)=>{const _0x43e68f=_0x417997['getClosestSelectedImageElement'](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]);_0x43e68f['getAttribute'](_0x2508('0x6d'))!=_0x3d3db3[_0x2508('0x6d')]&&_0x3f44ad[_0x2508('0x1')][_0x2508('0x70')](()=>{_0x4209c8[_0x2508('0x4c')](_0x43e68f,{'commandName':'resizeImage','commandParams':[_0x3d3db3]});});}),_0x3f44ad['plugins'][_0x2508('0x2c')](_0x2508('0x71'))&&_0x4209c8[_0x2508('0x3f')]('imageTextAlternative',(_0x129993,_0x15d268)=>{const _0x40bd2b=_0x417997['getClosestSelectedImageElement'](_0x3f44ad[_0x2508('0x1')][_0x2508('0x2b')][_0x2508('0x27')]);(_0x40bd2b[_0x2508('0x3')](_0x2508('0x3c'))?_0x40bd2b['getAttribute']('alt'):'')!=_0x15d268['newValue']&&_0x3f44ad[_0x2508('0x1')][_0x2508('0x70')](()=>{_0x4209c8[_0x2508('0x4c')](_0x40bd2b,{'commandName':_0x2508('0x42'),'commandParams':[_0x15d268]});});}),_0x4209c8[_0x2508('0x28')]['registerDescriptionCallback'](_0x2e3b96=>{if(!!_0x3cf233[_0x2508('0x56')](({type:_0x3ecf23,subType:_0x1a9b10})=>_0x2e3b96[_0x2508('0x65')]==_0x3ecf23&&_0x2e3b96[_0x2508('0x9')]==_0x1a9b10))return _0x2e3b96[_0x2508('0x39')]?{}:void 0x0;}),_0x4209c8[_0x2508('0x28')][_0x2508('0x46')](_0x5cc535=>{if(_0x2508('0x5f')==_0x5cc535[_0x2508('0x65')]||_0x2508('0x2a')==_0x5cc535[_0x2508('0x65')]){const _0x8a8159=_0x5cc535[_0x2508('0x8')]();if(_0x8a8159&&_0x8a8159['is'](_0x2508('0x1d'),'caption'))return{'type':_0x2508('0x5f')==_0x5cc535[_0x2508('0x65')]?'addObject':'removeObject','element':_0x8a8159,'quantity':0x1};}}),_0x4209c8[_0x2508('0x28')]['registerDescriptionCallback'](_0x293198=>'formatBlock'==_0x293198[_0x2508('0x65')]&&'convertInlineImageToBlock'==_0x293198[_0x2508('0x9')]?{'type':_0x2508('0x52'),'content':_0x2508('0x69')}:_0x2508('0x66')==_0x293198['type']&&_0x2508('0x23')==_0x293198[_0x2508('0x9')]?{'type':_0x2508('0x52'),'content':_0x2508('0x1c')}:void 0x0),_0x4209c8[_0x2508('0x28')][_0x2508('0x46')](_0x15415e=>{const {data:_0x4c0b7f}=_0x15415e;if(_0x4c0b7f){if(_0x2508('0x16')==_0x4c0b7f['commandName']){const _0x29600a=_0x4c0b7f[_0x2508('0x47')][0x0][_0x2508('0x63')];return _0x5066c2(_0x2508('0x6f')===_0x29600a?_0x237517(_0x49ecbb,_0x2508('0x3a')):_0xf1e0cd[_0x29600a]||_0x29600a);}if('imageTextAlternative'==_0x4c0b7f['commandName']){const _0x358560=_0x4c0b7f['commandParams'][0x0][_0x2508('0x31')];return _0x358560?{'type':'format','content':_0x237517(_0x49ecbb,_0x2508('0x3d'),'\x22'+_0x358560+'\x22')}:{'type':_0x2508('0x52'),'content':_0x237517(_0x49ecbb,'*Remove\x20image\x20text\x20alternative*')};}if(_0x2508('0x6b')==_0x4c0b7f[_0x2508('0xc')]){const _0x106f7d=_0x4c0b7f[_0x2508('0x47')][0x0][_0x2508('0x6d')];return _0x106f7d?{'type':_0x2508('0x52'),'content':_0x237517(_0x49ecbb,_0x2508('0x24'),_0x106f7d)}:{'type':_0x2508('0x52'),'content':_0x237517(_0x49ecbb,_0x2508('0x14'))};}}function _0x5066c2(_0x5495f6){return{'type':_0x2508('0x52'),'content':_0x237517(_0x49ecbb,'*Format:*\x20%0',_0x5495f6)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4002=['getSuggestionCallback','selection','accept','get','model','editor','src','getSelectedElement','ImageEditing','data','afterInit','format','locale','discard','formatBlock','handleReplaceImageCommand','commandParams','registerDescriptionCallback','markBlockFormat','registerCustomCallback','TrackChangesEditing','author','enableCommand','replaceImageSource','getSuggestions','source','getContainedElement','commandName','*Format:*\x20replace\x20image\x20URL','subType','_suggestionFactory','handleSuggestionDescription','Users','_descriptionFactory','plugins','change'];(function(_0x3f538f,_0x40025d){const _0x4900f3=function(_0x2814d1){while(--_0x2814d1){_0x3f538f['push'](_0x3f538f['shift']());}};_0x4900f3(++_0x40025d);}(_0x4002,0x16e));const _0x4900=function(_0x3f538f,_0x40025d){_0x3f538f=_0x3f538f-0x0;let _0x4900f3=_0x4002[_0x3f538f];return _0x4900f3;};import{Plugin as _0x573bce}from'ckeditor5/src/core';import{getTranslation as _0x27a70b}from'../utils/common-translations';export default class Y extends _0x573bce{[_0x4900('0x4')](){if(!this[_0x4900('0x23')][_0x4900('0x1c')]['has'](_0x4900('0x2')))return;const _0x41609d=this[_0x4900('0x23')][_0x4900('0x1c')][_0x4900('0x21')](_0x4900('0xe'));_0x41609d[_0x4900('0x10')](_0x4900('0x11'),(_0x38bad7,_0x2fb742)=>this[_0x4900('0x9')](_0x38bad7,_0x2fb742)),_0x41609d[_0x4900('0x18')]['registerCustomCallback'](_0x4900('0x8'),_0x4900('0x11'),_0x4900('0x20'),_0x41609d['_suggestionFactory'][_0x4900('0x1e')](_0x4900('0x8'),null,'discard')),_0x41609d[_0x4900('0x18')][_0x4900('0xd')](_0x4900('0x8'),_0x4900('0x11'),'discard',_0x41609d['_suggestionFactory'][_0x4900('0x1e')]('formatBlock',null,_0x4900('0x20'))),_0x41609d[_0x4900('0x1b')][_0x4900('0xb')](_0x22dc8a=>this[_0x4900('0x19')](_0x22dc8a));}['handleReplaceImageCommand'](_0x2dccf9,_0xa8581f){const _0x19449e=this['editor']['plugins'][_0x4900('0x21')](_0x4900('0xe')),_0x1fe4a7=this[_0x4900('0x23')]['model']['document'][_0x4900('0x1f')][_0x4900('0x1')]();this[_0x4900('0x23')][_0x4900('0x22')][_0x4900('0x1d')](()=>{let _0x1dfd03=_0x1fe4a7['getAttribute'](_0x4900('0x0'));const _0x3160b6=this[_0x4900('0x23')]['plugins'][_0x4900('0x21')](_0x4900('0x1a'))['me'];for(const _0x388822 of _0x19449e[_0x4900('0x12')]({'skipNotAttached':!0x0})){const _0x449daa=_0x388822[_0x4900('0x14')]();if(_0x4900('0x11')===_0x388822[_0x4900('0x17')]&&_0x449daa===_0x1fe4a7){_0x388822[_0x4900('0xf')]!==_0x3160b6&&_0x388822[_0x4900('0x7')](),_0x1dfd03=_0x388822[_0x4900('0x3')][_0x4900('0xa')][0x0][_0x4900('0x13')];break;}}_0x2dccf9(_0xa8581f),_0x19449e[_0x4900('0xc')](_0x1fe4a7,{'commandName':_0x4900('0x11'),'commandParams':[{'source':_0x1dfd03}]},[],_0x4900('0x11'));});}[_0x4900('0x19')](_0x4525c0){const {data:_0x40fdf1}=_0x4525c0;if(_0x40fdf1&&_0x4900('0x11')===_0x40fdf1[_0x4900('0x15')]){const _0x4915a6=_0x4900('0x16');return{'type':_0x4900('0x5'),'content':_0x27a70b(this[_0x4900('0x23')][_0x4900('0x6')],_0x4915a6)};}}}
23
+ const _0x2abb=['getSelectedElement','getSuggestionCallback','replaceImageSource','src','afterInit','source','handleReplaceImageCommand','registerDescriptionCallback','model','registerCustomCallback','has','selection','formatBlock','ImageEditing','*Format:*\x20replace\x20image\x20URL','_descriptionFactory','discard','data','getSuggestions','TrackChangesEditing','author','Users','plugins','markBlockFormat','get','handleSuggestionDescription','editor','getAttribute','format','_suggestionFactory','commandParams','enableCommand','accept','change'];(function(_0x198fa7,_0x2abb67){const _0x5ce342=function(_0x503390){while(--_0x503390){_0x198fa7['push'](_0x198fa7['shift']());}};_0x5ce342(++_0x2abb67);}(_0x2abb,0xcf));const _0x5ce3=function(_0x198fa7,_0x2abb67){_0x198fa7=_0x198fa7-0x0;let _0x5ce342=_0x2abb[_0x198fa7];return _0x5ce342;};import{Plugin as _0x3960d0}from'ckeditor5/src/core';import{getTranslation as _0x1757ed}from'../utils/common-translations';export default class Y extends _0x3960d0{[_0x5ce3('0x1')](){if(!this[_0x5ce3('0x17')][_0x5ce3('0x13')][_0x5ce3('0x7')](_0x5ce3('0xa')))return;const _0x4bffa5=this[_0x5ce3('0x17')][_0x5ce3('0x13')][_0x5ce3('0x15')](_0x5ce3('0x10'));_0x4bffa5[_0x5ce3('0x1c')](_0x5ce3('0x21'),(_0x10f3a1,_0xa92c0b)=>this['handleReplaceImageCommand'](_0x10f3a1,_0xa92c0b)),_0x4bffa5[_0x5ce3('0x1a')][_0x5ce3('0x6')](_0x5ce3('0x9'),_0x5ce3('0x21'),_0x5ce3('0x1d'),_0x4bffa5[_0x5ce3('0x1a')][_0x5ce3('0x20')](_0x5ce3('0x9'),null,_0x5ce3('0xd'))),_0x4bffa5[_0x5ce3('0x1a')]['registerCustomCallback'](_0x5ce3('0x9'),_0x5ce3('0x21'),_0x5ce3('0xd'),_0x4bffa5['_suggestionFactory'][_0x5ce3('0x20')](_0x5ce3('0x9'),null,_0x5ce3('0x1d'))),_0x4bffa5[_0x5ce3('0xc')][_0x5ce3('0x4')](_0x311165=>this[_0x5ce3('0x16')](_0x311165));}[_0x5ce3('0x3')](_0xe57900,_0x1d94c9){const _0x27a5a6=this['editor'][_0x5ce3('0x13')][_0x5ce3('0x15')]('TrackChangesEditing'),_0x40b307=this[_0x5ce3('0x17')]['model']['document'][_0x5ce3('0x8')][_0x5ce3('0x1f')]();this[_0x5ce3('0x17')][_0x5ce3('0x5')][_0x5ce3('0x1e')](()=>{let _0x5d4e48=_0x40b307[_0x5ce3('0x18')](_0x5ce3('0x0'));const _0x8c2681=this[_0x5ce3('0x17')][_0x5ce3('0x13')][_0x5ce3('0x15')](_0x5ce3('0x12'))['me'];for(const _0x49e656 of _0x27a5a6[_0x5ce3('0xf')]({'skipNotAttached':!0x0})){const _0x41972f=_0x49e656['getContainedElement']();if(_0x5ce3('0x21')===_0x49e656['subType']&&_0x41972f===_0x40b307){_0x49e656[_0x5ce3('0x11')]!==_0x8c2681&&_0x49e656[_0x5ce3('0xd')](),_0x5d4e48=_0x49e656[_0x5ce3('0xe')][_0x5ce3('0x1b')][0x0][_0x5ce3('0x2')];break;}}_0xe57900(_0x1d94c9),_0x27a5a6[_0x5ce3('0x14')](_0x40b307,{'commandName':_0x5ce3('0x21'),'commandParams':[{'source':_0x5d4e48}]},[],'replaceImageSource');});}['handleSuggestionDescription'](_0x376204){const {data:_0x22d5d3}=_0x376204;if(_0x22d5d3&&_0x5ce3('0x21')===_0x22d5d3['commandName']){const _0x7f6d5a=_0x5ce3('0xb');return{'type':_0x5ce3('0x19'),'content':_0x1757ed(this[_0x5ce3('0x17')]['locale'],_0x7f6d5a)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5525=['plugins','Users','trackChanges','editor','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','TrackChangesEditing','importWord','execute','listenTo','value','afterInit','_setSuggestionData','get','high','dataInsert','bind','track_changes','commands','_handleImportedData'];(function(_0x335f14,_0x55255b){const _0x1b3db2=function(_0x3ce84b){while(--_0x3ce84b){_0x335f14['push'](_0x335f14['shift']());}};_0x1b3db2(++_0x55255b);}(_0x5525,0x13b));const _0x1b3d=function(_0x335f14,_0x55255b){_0x335f14=_0x335f14-0x0;let _0x1b3db2=_0x5525[_0x335f14];return _0x1b3db2;};import{Plugin as _0x263c6d}from'ckeditor5/src/core';export default class Z extends _0x263c6d{constructor(_0x27e834){super(_0x27e834),this['_trackChangesValueDuringImport']=!0x1,this[_0x1b3d('0x5')]=!0x1;}[_0x1b3d('0xc')](){const _0x286b50=this['editor'],_0x15c5c6=_0x286b50[_0x1b3d('0x13')][_0x1b3d('0xe')]('importWord'),_0x46d756=_0x286b50[_0x1b3d('0x13')][_0x1b3d('0xe')](_0x1b3d('0x2'));_0x15c5c6&&(_0x15c5c6['on'](_0x1b3d('0x9'),(_0x31abbe,[,_0x5698eb])=>{this[_0x1b3d('0x6')]=_0x46d756[_0x1b3d('0xb')],_0x5698eb[_0x1b3d('0x4')][_0x1b3d('0x12')]=!this[_0x1b3d('0x6')];},{'priority':_0x1b3d('0xf')}),this[_0x1b3d('0xa')](_0x15c5c6,_0x1b3d('0x10'),this[_0x1b3d('0x14')][_0x1b3d('0x11')](this)),this[_0x1b3d('0xa')](_0x15c5c6,_0x1b3d('0x10'),()=>{this[_0x1b3d('0x5')]&&(_0x46d756['execute'](),this[_0x1b3d('0x5')]=!0x1);},{'priority':'lowest'}),_0x286b50['plugins']['get'](_0x1b3d('0x7'))['enableCommand'](_0x1b3d('0x8')));}[_0x1b3d('0x14')](_0x389326,_0x516176){const {suggestions:_0x59a663}=_0x516176,_0x532f0a=this[_0x1b3d('0x3')][_0x1b3d('0x13')]['get'](_0x1b3d('0x2')),_0x13d84b=_0x532f0a['value'];this['_trackChangesValueDuringImport']!==_0x13d84b&&(_0x532f0a[_0x1b3d('0x9')](),this[_0x1b3d('0x5')]=!0x0),_0x59a663&&_0x59a663['forEach'](({id:_0x5bc012,type:_0x4cdc0e,author:_0x4065f1,created_at:_0x4d21a7})=>{const _0x35b5b4={'id':_0x5bc012,'type':_0x4cdc0e,'authorId':this[_0x1b3d('0x3')][_0x1b3d('0x0')][_0x1b3d('0xe')](_0x1b3d('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4065f1,'createdAt':_0x4d21a7?new Date(_0x4d21a7):new Date(),'source':_0x1b3d('0x8')}}};this[_0x1b3d('0x3')][_0x1b3d('0x0')][_0x1b3d('0xe')](_0x1b3d('0x7'))[_0x1b3d('0xd')](_0x35b5b4);});}}
23
+ const _0x5dd6=['enableCommand','_setSuggestionData','_trackChangesValueDuringImport','editor','get','high','TrackChangesEditing','plugins','Users','forEach','listenTo','commands','_handleImportedData','trackChanges','_trackChangesExecuted','collaboration_features','bind','value','afterInit','importWord','dataInsert','execute','track_changes'];(function(_0x29933f,_0x5dd6a5){const _0x488b3a=function(_0x4f3240){while(--_0x4f3240){_0x29933f['push'](_0x29933f['shift']());}};_0x488b3a(++_0x5dd6a5);}(_0x5dd6,0x112));const _0x488b=function(_0x29933f,_0x5dd6a5){_0x29933f=_0x29933f-0x0;let _0x488b3a=_0x5dd6[_0x29933f];return _0x488b3a;};import{Plugin as _0x4d9866}from'ckeditor5/src/core';export default class Z extends _0x4d9866{constructor(_0x5ddd09){super(_0x5ddd09),this[_0x488b('0x4')]=!0x1,this[_0x488b('0x10')]=!0x1;}[_0x488b('0x14')](){const _0xde5d58=this[_0x488b('0x5')],_0x4307fc=_0xde5d58[_0x488b('0xd')]['get'](_0x488b('0x15')),_0x468a6b=_0xde5d58['commands'][_0x488b('0x6')](_0x488b('0xf'));_0x4307fc&&(_0x4307fc['on'](_0x488b('0x0'),(_0x2f1936,[,_0x2189cd])=>{this[_0x488b('0x4')]=_0x468a6b[_0x488b('0x13')],_0x2189cd[_0x488b('0x11')][_0x488b('0x1')]=!this[_0x488b('0x4')];},{'priority':_0x488b('0x7')}),this[_0x488b('0xc')](_0x4307fc,'dataInsert',this[_0x488b('0xe')][_0x488b('0x12')](this)),this[_0x488b('0xc')](_0x4307fc,_0x488b('0x16'),()=>{this['_trackChangesExecuted']&&(_0x468a6b[_0x488b('0x0')](),this[_0x488b('0x10')]=!0x1);},{'priority':'lowest'}),_0xde5d58[_0x488b('0x9')]['get'](_0x488b('0x8'))[_0x488b('0x2')](_0x488b('0x15')));}[_0x488b('0xe')](_0x413d2e,_0x106d48){const {suggestions:_0x40bb04}=_0x106d48,_0x140e10=this[_0x488b('0x5')][_0x488b('0xd')]['get']('trackChanges'),_0x14a281=_0x140e10[_0x488b('0x13')];this[_0x488b('0x4')]!==_0x14a281&&(_0x140e10[_0x488b('0x0')](),this[_0x488b('0x10')]=!0x0),_0x40bb04&&_0x40bb04[_0x488b('0xb')](({id:_0x5cb5d2,type:_0x184d1d,author:_0x39ee54,created_at:_0x465e88})=>{const _0x521149={'id':_0x5cb5d2,'type':_0x184d1d,'authorId':this[_0x488b('0x5')][_0x488b('0x9')]['get'](_0x488b('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x39ee54,'createdAt':_0x465e88?new Date(_0x465e88):new Date(),'source':_0x488b('0x15')}}};this[_0x488b('0x5')]['plugins'][_0x488b('0x6')](_0x488b('0x8'))[_0x488b('0x3')](_0x521149);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fdd=['indent','enableCommand','getSelectedBlocks','IndentBlock','*Outdent:*\x20%0','_descriptionFactory','getItems','indentBlock','getItemLabel','selection','plugins','outdentBlock','blockIndent','checkAttribute','commandName','registerDescriptionCallback','from','*Indent:*\x20%0','filter','has','format','outdent','editor','locale','model','IndentEditing'];(function(_0x3d80bf,_0x2fddea){const _0x5bd35c=function(_0x1ab813){while(--_0x1ab813){_0x3d80bf['push'](_0x3d80bf['shift']());}};_0x5bd35c(++_0x2fddea);}(_0x2fdd,0x74));const _0x5bd3=function(_0x3d80bf,_0x2fddea){_0x3d80bf=_0x3d80bf-0x0;let _0x5bd35c=_0x2fdd[_0x3d80bf];return _0x5bd35c;};import{Plugin as _0x50ac43}from'ckeditor5/src/core';import{getTranslation as _0x3c2bb0}from'../utils/common-translations';export default class tt extends _0x50ac43{['afterInit'](){const _0x4b5b74=this['editor'],_0x349fb7=_0x4b5b74['plugins']['get']('TrackChangesEditing');_0x4b5b74[_0x5bd3('0x18')]['has'](_0x5bd3('0xd'))&&(_0x349fb7[_0x5bd3('0xf')](_0x5bd3('0xe')),_0x349fb7[_0x5bd3('0xf')](_0x5bd3('0x9')));const _0x266c94=_0x4b5b74[_0x5bd3('0xb')];if(_0x4b5b74[_0x5bd3('0x18')][_0x5bd3('0x7')](_0x5bd3('0x11'))){for(const _0x2edc6e of[_0x5bd3('0x15'),'outdentBlock'])_0x349fb7[_0x5bd3('0xf')](_0x2edc6e,()=>{const _0x2e3f4e=Array[_0x5bd3('0x4')](this[_0x5bd3('0xa')][_0x5bd3('0xc')]['document'][_0x5bd3('0x17')][_0x5bd3('0x10')]())[_0x5bd3('0x6')](_0x4b56fd=>this[_0x5bd3('0xa')]['model']['schema'][_0x5bd3('0x1')](_0x4b56fd,_0x5bd3('0x0')));_0x4b5b74['model']['change'](()=>{for(const _0x37257e of _0x2e3f4e)_0x349fb7['markBlockFormat'](_0x37257e,{'commandName':_0x2edc6e,'commandParams':[{'value':''}],'formatGroupId':_0x5bd3('0x15')});});});_0x349fb7[_0x5bd3('0x13')][_0x5bd3('0x3')](_0x469f0d=>{const {data:_0x39d10f}=_0x469f0d;if(!_0x39d10f)return;if(_0x5bd3('0x15')!=_0x39d10f[_0x5bd3('0x2')]&&_0x5bd3('0x19')!=_0x39d10f['commandName'])return;const _0x3c9e63=_0x469f0d[_0x5bd3('0x14')]()[0x0],_0x134ef9=_0x349fb7[_0x5bd3('0x13')][_0x5bd3('0x16')](_0x3c9e63);return _0x5bd3('0x15')==_0x39d10f[_0x5bd3('0x2')]?{'type':_0x5bd3('0x8'),'content':_0x3c2bb0(_0x266c94,_0x5bd3('0x5'),_0x134ef9)}:_0x5bd3('0x19')==_0x39d10f['commandName']?{'type':_0x5bd3('0x8'),'content':_0x3c2bb0(_0x266c94,_0x5bd3('0x12'),_0x134ef9)}:void 0x0;});}}}
23
+ const _0x39a1=['enableCommand','document','commandName','from','getItems','IndentBlock','editor','*Indent:*\x20%0','filter','TrackChangesEditing','plugins','get','IndentEditing','outdentBlock','_descriptionFactory','model','blockIndent','indentBlock','selection','has','getSelectedBlocks','change','indent','markBlockFormat','outdent','getItemLabel'];(function(_0x49a9ad,_0x39a1e1){const _0x55285e=function(_0x2a7cfe){while(--_0x2a7cfe){_0x49a9ad['push'](_0x49a9ad['shift']());}};_0x55285e(++_0x39a1e1);}(_0x39a1,0x199));const _0x5528=function(_0x49a9ad,_0x39a1e1){_0x49a9ad=_0x49a9ad-0x0;let _0x55285e=_0x39a1[_0x49a9ad];return _0x55285e;};import{Plugin as _0x320f6f}from'ckeditor5/src/core';import{getTranslation as _0x280ba7}from'../utils/common-translations';export default class tt extends _0x320f6f{['afterInit'](){const _0xd8426d=this[_0x5528('0xd')],_0x54b6e6=_0xd8426d[_0x5528('0x11')][_0x5528('0x12')](_0x5528('0x10'));_0xd8426d[_0x5528('0x11')][_0x5528('0x0')](_0x5528('0x13'))&&(_0x54b6e6[_0x5528('0x7')](_0x5528('0x3')),_0x54b6e6[_0x5528('0x7')](_0x5528('0x5')));const _0x405f9e=_0xd8426d['locale'];if(_0xd8426d[_0x5528('0x11')][_0x5528('0x0')](_0x5528('0xc'))){for(const _0x4780df of[_0x5528('0x18'),_0x5528('0x14')])_0x54b6e6[_0x5528('0x7')](_0x4780df,()=>{const _0x48d33d=Array[_0x5528('0xa')](this[_0x5528('0xd')][_0x5528('0x16')][_0x5528('0x8')][_0x5528('0x19')][_0x5528('0x1')]())[_0x5528('0xf')](_0x2a50f0=>this['editor'][_0x5528('0x16')]['schema']['checkAttribute'](_0x2a50f0,_0x5528('0x17')));_0xd8426d[_0x5528('0x16')][_0x5528('0x2')](()=>{for(const _0x1465de of _0x48d33d)_0x54b6e6[_0x5528('0x4')](_0x1465de,{'commandName':_0x4780df,'commandParams':[{'value':''}],'formatGroupId':_0x5528('0x18')});});});_0x54b6e6[_0x5528('0x15')]['registerDescriptionCallback'](_0x14330e=>{const {data:_0x526bf8}=_0x14330e;if(!_0x526bf8)return;if('indentBlock'!=_0x526bf8['commandName']&&_0x5528('0x14')!=_0x526bf8[_0x5528('0x9')])return;const _0x27e719=_0x14330e[_0x5528('0xb')]()[0x0],_0x2928ae=_0x54b6e6['_descriptionFactory'][_0x5528('0x6')](_0x27e719);return _0x5528('0x18')==_0x526bf8[_0x5528('0x9')]?{'type':'format','content':_0x280ba7(_0x405f9e,_0x5528('0xe'),_0x2928ae)}:_0x5528('0x14')==_0x526bf8['commandName']?{'type':'format','content':_0x280ba7(_0x405f9e,'*Outdent:*\x20%0',_0x2928ae)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1961=['TrackChangesEditing','enableCommand','init','plugins','get','editor'];(function(_0x480d10,_0x1961fe){var _0x5a7038=function(_0x498fbd){while(--_0x498fbd){_0x480d10['push'](_0x480d10['shift']());}};_0x5a7038(++_0x1961fe);}(_0x1961,0x192));var _0x5a70=function(_0x480d10,_0x1961fe){_0x480d10=_0x480d10-0x0;var _0x5a7038=_0x1961[_0x480d10];return _0x5a7038;};import{Plugin as _0x3af1a5}from'ckeditor5/src/core';import{Input as _0x4d3404}from'ckeditor5/src/typing';export default class it extends _0x3af1a5{static get['requires'](){return[_0x4d3404];}[_0x5a70('0x2')](){this[_0x5a70('0x5')][_0x5a70('0x3')][_0x5a70('0x4')](_0x5a70('0x0'))[_0x5a70('0x1')]('input');}}
23
+ var _0x3e30=['editor','enableCommand','plugins','get','init','input'];(function(_0x4803c9,_0x3e307a){var _0x51ccf4=function(_0x1e2067){while(--_0x1e2067){_0x4803c9['push'](_0x4803c9['shift']());}};_0x51ccf4(++_0x3e307a);}(_0x3e30,0x192));var _0x51cc=function(_0x4803c9,_0x3e307a){_0x4803c9=_0x4803c9-0x0;var _0x51ccf4=_0x3e30[_0x4803c9];return _0x51ccf4;};import{Plugin as _0x46a7bf}from'ckeditor5/src/core';import{Input as _0x372bd9}from'ckeditor5/src/typing';export default class it extends _0x46a7bf{static get['requires'](){return[_0x372bd9];}[_0x51cc('0x4')](){this[_0x51cc('0x0')][_0x51cc('0x2')][_0x51cc('0x3')]('TrackChangesEditing')[_0x51cc('0x1')](_0x51cc('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c5d=['isCollapsed','LinkEditing','enableCommand','model','from','format','commandParams','link','change','markInlineFormat','unlink','locale','linkHref','getAttribute','plugins','TrackChangesEditing','editor','getFirstPosition','getFirstRange','selection','registerDescriptionCallback','document','commandName'];(function(_0x424ef1,_0x4c5de3){const _0x10e066=function(_0x16a0c4){while(--_0x16a0c4){_0x424ef1['push'](_0x424ef1['shift']());}};_0x10e066(++_0x4c5de3);}(_0x4c5d,0x17a));const _0x10e0=function(_0x424ef1,_0x4c5de3){_0x424ef1=_0x424ef1-0x0;let _0x10e066=_0x4c5d[_0x424ef1];return _0x10e066;};import{Plugin as _0xca8325}from'ckeditor5/src/core';import{findAttributeRange as _0x51509f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xe15075}from'./utils';import{getTranslation as _0x14cfa1}from'../utils/common-translations';export default class et extends _0xca8325{['afterInit'](){const _0xb07e53=this[_0x10e0('0x6')];if(!_0xb07e53[_0x10e0('0x4')]['has'](_0x10e0('0xe')))return;const _0x4d2391=_0xb07e53[_0x10e0('0x4')]['get'](_0x10e0('0x5'));_0x4d2391[_0x10e0('0xf')](_0x10e0('0x14'),(_0x13bace,_0x21873f)=>{const _0x5cc0a9=_0xb07e53['model'][_0x10e0('0xb')][_0x10e0('0x9')];let _0x367565=[];if(_0x5cc0a9[_0x10e0('0xd')]){if(!_0x5cc0a9['hasAttribute'](_0x10e0('0x2')))return void _0x13bace(_0x21873f);{const _0x234dd5=_0x51509f(_0x5cc0a9['getFirstPosition'](),_0x10e0('0x2'),_0x5cc0a9[_0x10e0('0x3')](_0x10e0('0x2')),_0xb07e53['model']);_0x367565=[_0x234dd5];}}else _0x367565=Array[_0x10e0('0x11')](_0x5cc0a9['getRanges']());_0xb07e53['model'][_0x10e0('0x15')](()=>{for(const _0x577c13 of _0x367565)_0x4d2391[_0x10e0('0x16')](_0x577c13,{'commandName':_0x10e0('0x14'),'commandParams':[_0x21873f]});});}),_0x4d2391['enableCommand'](_0x10e0('0x0'),()=>{const _0x48d0ee=this[_0x10e0('0x6')][_0x10e0('0x10')],_0x21904f=_0x48d0ee['document']['selection'];_0x48d0ee[_0x10e0('0x15')](()=>{let _0x2da110=[];if(_0x21904f[_0x10e0('0xd')])_0x2da110=[_0x51509f(_0x21904f[_0x10e0('0x7')](),'linkHref',_0x21904f['getAttribute'](_0x10e0('0x2')),_0xb07e53['model'])];else _0x2da110=_0xe15075(_0x10e0('0x2'),_0x21904f[_0x10e0('0x8')](),_0xb07e53[_0x10e0('0x10')]);for(const _0x5a6080 of _0x2da110)_0x4d2391[_0x10e0('0x16')](_0x5a6080,{'commandName':_0x10e0('0x0'),'commandParams':[]});});}),_0x4d2391['_descriptionFactory'][_0x10e0('0xa')](_0x360a6f=>{const {data:_0x17261d}=_0x360a6f,_0x268ecb=_0xb07e53[_0x10e0('0x1')];if(_0x17261d){if('link'==_0x17261d[_0x10e0('0xc')]){const _0x57fb0e=_0x17261d[_0x10e0('0x13')][0x0];return{'type':_0x10e0('0x12'),'content':_0x14cfa1(_0x268ecb,'*Set\x20link:*\x20%0','\x22'+_0x57fb0e+'\x22')};}return _0x10e0('0x0')==_0x17261d[_0x10e0('0xc')]?{'type':_0x10e0('0x12'),'content':_0x14cfa1(_0x268ecb,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x5c66=['unlink','link','isCollapsed','change','format','hasAttribute','getFirstRange','enableCommand','plugins','document','commandName','get','LinkEditing','locale','getAttribute','from','afterInit','getFirstPosition','markInlineFormat','model','_descriptionFactory','selection','linkHref','editor'];(function(_0x258a46,_0x5c6606){const _0x4808fd=function(_0x382974){while(--_0x382974){_0x258a46['push'](_0x258a46['shift']());}};_0x4808fd(++_0x5c6606);}(_0x5c66,0x101));const _0x4808=function(_0x258a46,_0x5c6606){_0x258a46=_0x258a46-0x0;let _0x4808fd=_0x5c66[_0x258a46];return _0x4808fd;};import{Plugin as _0x3275ce}from'ckeditor5/src/core';import{findAttributeRange as _0x443cf0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x49f60a}from'./utils';import{getTranslation as _0x5e4762}from'../utils/common-translations';export default class et extends _0x3275ce{[_0x4808('0x17')](){const _0xf7c3bd=this[_0x4808('0x6')];if(!_0xf7c3bd['plugins']['has'](_0x4808('0x13')))return;const _0x39cd61=_0xf7c3bd[_0x4808('0xf')][_0x4808('0x12')]('TrackChangesEditing');_0x39cd61[_0x4808('0xe')](_0x4808('0x8'),(_0x498bbd,_0x1a2570)=>{const _0x2f1f81=_0xf7c3bd[_0x4808('0x2')][_0x4808('0x10')][_0x4808('0x4')];let _0x512911=[];if(_0x2f1f81[_0x4808('0x9')]){if(!_0x2f1f81[_0x4808('0xc')](_0x4808('0x5')))return void _0x498bbd(_0x1a2570);{const _0x4e36a2=_0x443cf0(_0x2f1f81[_0x4808('0x0')](),_0x4808('0x5'),_0x2f1f81[_0x4808('0x15')](_0x4808('0x5')),_0xf7c3bd[_0x4808('0x2')]);_0x512911=[_0x4e36a2];}}else _0x512911=Array[_0x4808('0x16')](_0x2f1f81['getRanges']());_0xf7c3bd['model'][_0x4808('0xa')](()=>{for(const _0x4c10b9 of _0x512911)_0x39cd61[_0x4808('0x1')](_0x4c10b9,{'commandName':'link','commandParams':[_0x1a2570]});});}),_0x39cd61['enableCommand'](_0x4808('0x7'),()=>{const _0x127d40=this[_0x4808('0x6')][_0x4808('0x2')],_0x2c4658=_0x127d40['document']['selection'];_0x127d40[_0x4808('0xa')](()=>{let _0xf084b1=[];if(_0x2c4658['isCollapsed'])_0xf084b1=[_0x443cf0(_0x2c4658[_0x4808('0x0')](),'linkHref',_0x2c4658[_0x4808('0x15')]('linkHref'),_0xf7c3bd[_0x4808('0x2')])];else _0xf084b1=_0x49f60a(_0x4808('0x5'),_0x2c4658[_0x4808('0xd')](),_0xf7c3bd[_0x4808('0x2')]);for(const _0x3db2ce of _0xf084b1)_0x39cd61[_0x4808('0x1')](_0x3db2ce,{'commandName':'unlink','commandParams':[]});});}),_0x39cd61[_0x4808('0x3')]['registerDescriptionCallback'](_0x45fdc6=>{const {data:_0x3eee6e}=_0x45fdc6,_0x197fc8=_0xf7c3bd[_0x4808('0x14')];if(_0x3eee6e){if(_0x4808('0x8')==_0x3eee6e[_0x4808('0x11')]){const _0x3c359c=_0x3eee6e['commandParams'][0x0];return{'type':_0x4808('0xb'),'content':_0x5e4762(_0x197fc8,'*Set\x20link:*\x20%0','\x22'+_0x3c359c+'\x22')};}return _0x4808('0x7')==_0x3eee6e[_0x4808('0x11')]?{'type':'format','content':_0x5e4762(_0x197fc8,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x189f=['parent','blockName','createRange','_descriptionFactory','todo','registerDescriptionCallback','outdentList','*Uncheck\x20item*','ELEMENT_NUMBERED_LIST','value','*Indent:*\x20%0','document','forceValue','afterInit','slice','nextSibling','change','commandName','ELEMENT_LIST_ITEM','element','markBlockFormat','replace','model','List','getSelectedBlocks','from','createPositionAt','numberedList','TodoListEditing','length','get','selection','ListEditing','bulleted','todoListChecked','registerElementLabel','execute','bulletedList','paragraph','listIndent','indentList','listType','add','previousSibling','checkChild','plugins','numbered','format','commands','*Change\x20to:*\x20%0','before','end','filter','has','getAttribute','schema','isObject','name','todoList','checkTodoList','enableCommand','listItem','TrackChangesEditing','*Check\x20item*','push','commandParams','findIndex'];(function(_0x502d65,_0x189f65){const _0x460fe6=function(_0x21057b){while(--_0x21057b){_0x502d65['push'](_0x502d65['shift']());}};_0x460fe6(++_0x189f65);}(_0x189f,0x1b5));const _0x460f=function(_0x502d65,_0x189f65){_0x502d65=_0x502d65-0x0;let _0x460fe6=_0x189f[_0x502d65];return _0x460fe6;};import{Plugin as _0x511203}from'ckeditor5/src/core';import{getTranslation as _0x79a496}from'../utils/common-translations';export default class st extends _0x511203{[_0x460f('0x2d')](){const _0x5044ef=this['editor'],_0x20323f=_0x5044ef['locale'];if(!_0x5044ef[_0x460f('0xa')][_0x460f('0x12')](_0x460f('0x40')))return;const _0x52e1a9=_0x5044ef[_0x460f('0xa')][_0x460f('0x3e')](_0x460f('0x1b')),_0x23ce86=_0x5044ef['plugins']['has'](_0x460f('0x3c'));function _0x19a708(_0x4dedae){return()=>{const _0x4cacde=_0x5044ef[_0x460f('0x36')][_0x460f('0x2b')][_0x460f('0x3f')],_0x16a1d9=_0x5044ef[_0x460f('0xd')][_0x460f('0x3e')](_0x4dedae);if(_0x16a1d9['value'])return void _0x5044ef[_0x460f('0x1')](_0x460f('0x3'),{});const _0x2d8a09=_0x4dedae[_0x460f('0x2e')](0x0,-0x4),_0x2deb02=function(_0x48d202,_0xe21f60,_0x47352e){let _0x191e2f=Array['from'](_0x48d202)[_0x460f('0x11')](_0x4c4dd7=>function(_0x3dc5b1,_0x5ef2fd){return _0x5ef2fd[_0x460f('0x9')](_0x3dc5b1[_0x460f('0x20')],_0x460f('0x1a'))&&!_0x5ef2fd[_0x460f('0x15')](_0x3dc5b1);}(_0x4c4dd7,_0x47352e));_0x191e2f=_0x191e2f[_0x460f('0x11')](_0x360b7a=>!_0x360b7a['is'](_0x460f('0x33'),_0x460f('0x1a'))||_0x360b7a['getAttribute'](_0x460f('0x6'))!=_0xe21f60);const _0x52befa=new Set();for(const _0x20d41a of _0x191e2f)_0x20d41a['is'](_0x460f('0x33'),_0x460f('0x1a'))?_0x52befa['add'](ne(_0x20d41a)):_0x52befa[_0x460f('0x7')](_0x20d41a);return Array[_0x460f('0x39')](_0x52befa);}(_0x4cacde[_0x460f('0x38')](),_0x2d8a09,_0x5044ef[_0x460f('0x36')][_0x460f('0x14')]);_0x5044ef[_0x460f('0x36')]['change'](()=>{for(const _0x16e3dd of _0x2deb02)_0x52e1a9[_0x460f('0x34')](_0x16e3dd,{'commandName':_0x4dedae,'commandParams':[{'forceValue':!_0x16a1d9[_0x460f('0x29')]}],'formatGroupId':_0x460f('0x21')},oe(_0x16e3dd));});};}function _0x1c4057(_0x38f749){return()=>{const _0x1fbff3=function(_0x19d541){let _0x274823=Array[_0x460f('0x39')](_0x19d541);const _0x56c8f9=_0x274823[_0x460f('0x1f')](_0x5e703b=>_0x460f('0x1a')!=_0x5e703b[_0x460f('0x16')]);return _0x56c8f9>-0x1&&(_0x274823=_0x274823['slice'](0x0,_0x56c8f9)),_0x274823;}(_0x5044ef[_0x460f('0x36')][_0x460f('0x2b')]['selection'][_0x460f('0x38')]()),_0x60b876=_0x5044ef[_0x460f('0x36')][_0x460f('0x22')](_0x5044ef['model'][_0x460f('0x3a')](_0x1fbff3[0x0],_0x460f('0xf')),_0x5044ef['model'][_0x460f('0x3a')](_0x1fbff3[_0x1fbff3[_0x460f('0x3d')]-0x1],_0x460f('0x10')));_0x5044ef['model']['change'](()=>{_0x52e1a9['markBlockFormat'](_0x60b876,{'commandName':_0x38f749,'commandParams':[],'formatGroupId':_0x460f('0x4')},function(_0x399aff){const _0x34a2b2=new Set();for(const _0x47609b of _0x399aff){let _0x3513bf=_0x47609b['nextSibling'];for(;_0x3513bf&&_0x3513bf[_0x460f('0x13')](_0x460f('0x4'))>_0x47609b[_0x460f('0x13')](_0x460f('0x4'));)_0x34a2b2[_0x460f('0x7')](_0x3513bf),_0x3513bf=_0x3513bf[_0x460f('0x2f')];}return Array[_0x460f('0x39')](_0x34a2b2);}(_0x1fbff3));});};}_0x52e1a9[_0x460f('0x19')]('numberedList',_0x19a708(_0x460f('0x3b'))),_0x52e1a9[_0x460f('0x19')](_0x460f('0x2'),_0x19a708('bulletedList')),_0x23ce86&&_0x52e1a9[_0x460f('0x19')](_0x460f('0x17'),_0x19a708(_0x460f('0x17'))),_0x52e1a9[_0x460f('0x19')](_0x460f('0x5'),_0x1c4057(_0x460f('0x5'))),_0x52e1a9[_0x460f('0x19')]('outdentList',_0x1c4057(_0x460f('0x26'))),_0x23ce86&&_0x52e1a9[_0x460f('0x19')](_0x460f('0x18'),()=>{const _0x4d8a9f=_0x5044ef[_0x460f('0xd')][_0x460f('0x3e')](_0x460f('0x18')),_0x70d5b0=Array[_0x460f('0x39')](_0x4d8a9f['_selectedElements']);_0x70d5b0[_0x460f('0x11')](_0xac883b=>_0xac883b['getAttribute'](_0x460f('0x42'))!=_0x4d8a9f[_0x460f('0x29')]),_0x5044ef['model'][_0x460f('0x30')](()=>{for(const _0x2559c5 of _0x70d5b0)_0x52e1a9['markBlockFormat'](_0x2559c5,{'commandName':_0x460f('0x18'),'commandParams':[{'forceValue':!_0x4d8a9f['value']}]});});}),_0x52e1a9[_0x460f('0x23')][_0x460f('0x0')](_0x460f('0x1a'),_0x112fcd=>_0x79a496(_0x20323f,_0x460f('0x32'),_0x112fcd)),_0x52e1a9[_0x460f('0x23')][_0x460f('0x25')](_0x24292f=>{const {data:_0x26f6fe}=_0x24292f;if(_0x26f6fe){if(_0x460f('0x3b')==_0x26f6fe[_0x460f('0x31')]||_0x460f('0x2')==_0x26f6fe[_0x460f('0x31')]||'todoList'==_0x26f6fe[_0x460f('0x31')])switch(_0x26f6fe['commandName'][_0x460f('0x35')](_0x460f('0x37'),'')){case _0x460f('0x41'):return _0x16d99f(_0x79a496(_0x20323f,'ELEMENT_BULLETED_LIST'));case _0x460f('0xb'):return _0x16d99f(_0x79a496(_0x20323f,_0x460f('0x28')));case _0x460f('0x24'):return _0x16d99f(_0x79a496(_0x20323f,'ELEMENT_TODO_LIST'));}if(_0x460f('0x5')==_0x26f6fe[_0x460f('0x31')])return{'type':_0x460f('0xc'),'content':_0x79a496(_0x20323f,_0x460f('0x2a'),_0x79a496(_0x20323f,_0x460f('0x32')))};if(_0x460f('0x26')==_0x26f6fe[_0x460f('0x31')])return{'type':_0x460f('0xc'),'content':_0x79a496(_0x20323f,'*Outdent:*\x20%0',_0x79a496(_0x20323f,_0x460f('0x32')))};if(_0x460f('0x18')==_0x26f6fe[_0x460f('0x31')])return _0x26f6fe[_0x460f('0x1e')][0x0][_0x460f('0x2c')]?{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0x1c'))}:{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0x27'))};}function _0x16d99f(_0x3057cd){return{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0xe'),_0x3057cd)};}});}}function ne(_0x48c66e){const _0x4acd73=_0x48c66e[_0x460f('0x13')]('listIndent');if(0x0==_0x4acd73)return _0x48c66e;let _0x5f53cb=_0x48c66e;for(;_0x48c66e[_0x460f('0x8')]&&_0x48c66e[_0x460f('0x8')]['is'](_0x460f('0x33'),_0x460f('0x1a'));){const _0x43b98c=_0x48c66e['previousSibling'][_0x460f('0x13')](_0x460f('0x4'));if(_0x43b98c==_0x4acd73)_0x5f53cb=_0x48c66e['previousSibling'];else{if(_0x43b98c<_0x4acd73)break;}_0x48c66e=_0x48c66e[_0x460f('0x8')];}return _0x5f53cb;}function oe(_0xcb9bb){const _0x4f6f79=[];if(_0xcb9bb['is'](_0x460f('0x33'),'listItem')&&_0xcb9bb[_0x460f('0x13')](_0x460f('0x4'))>0x0){let _0xeca343=_0xcb9bb[_0x460f('0x2f')];for(;_0xeca343&&_0x460f('0x1a')==_0xeca343[_0x460f('0x16')]&&_0xeca343[_0x460f('0x13')]('listIndent')==_0xcb9bb[_0x460f('0x13')](_0x460f('0x4'));)_0x4f6f79[_0x460f('0x1d')](_0xeca343),_0xeca343=_0xeca343[_0x460f('0x2f')];}return _0x4f6f79;}
23
+ const _0x1541=['commands','filter','registerElementLabel','plugins','element','bulletedList','registerDescriptionCallback','listItem','TrackChangesEditing','commandName','isObject','before','push','ListEditing','previousSibling','end','length','paragraph','enableCommand','slice','findIndex','markBlockFormat','replace','blockName','todoList','afterInit','forceValue','get','getSelectedBlocks','from','listType','selection','createPositionAt','commandParams','numberedList','model','value','add','_descriptionFactory','*Check\x20item*','nextSibling','name','_selectedElements','indentList','outdentList','checkTodoList','editor','TodoListEditing','has','*Uncheck\x20item*','getAttribute','listIndent','change','ELEMENT_LIST_ITEM','document','numbered','execute','todo','locale','createRange','ELEMENT_BULLETED_LIST','format'];(function(_0xac4b7e,_0x1541e3){const _0x56ea08=function(_0x554dbd){while(--_0x554dbd){_0xac4b7e['push'](_0xac4b7e['shift']());}};_0x56ea08(++_0x1541e3);}(_0x1541,0x91));const _0x56ea=function(_0xac4b7e,_0x1541e3){_0xac4b7e=_0xac4b7e-0x0;let _0x56ea08=_0x1541[_0xac4b7e];return _0x56ea08;};import{Plugin as _0x2fb207}from'ckeditor5/src/core';import{getTranslation as _0x3ab493}from'../utils/common-translations';export default class st extends _0x2fb207{[_0x56ea('0x4')](){const _0x510235=this[_0x56ea('0x19')],_0x38a719=_0x510235[_0x56ea('0x25')];if(!_0x510235[_0x56ea('0x2c')][_0x56ea('0x1b')](_0x56ea('0x36')))return;const _0x31ec9c=_0x510235[_0x56ea('0x2c')][_0x56ea('0x6')](_0x56ea('0x31')),_0x20029d=_0x510235[_0x56ea('0x2c')]['has'](_0x56ea('0x1a'));function _0x536fb8(_0x238e3b){return()=>{const _0x33f58b=_0x510235['model'][_0x56ea('0x21')][_0x56ea('0xa')],_0x172837=_0x510235[_0x56ea('0x29')][_0x56ea('0x6')](_0x238e3b);if(_0x172837[_0x56ea('0xf')])return void _0x510235[_0x56ea('0x23')](_0x56ea('0x3a'),{});const _0x57c649=_0x238e3b[_0x56ea('0x3c')](0x0,-0x4),_0x54e4ce=function(_0x2c104c,_0x617116,_0x396428){let _0x16004d=Array[_0x56ea('0x8')](_0x2c104c)[_0x56ea('0x2a')](_0x49a07b=>function(_0xe1bf9e,_0x557e88){return _0x557e88['checkChild'](_0xe1bf9e['parent'],'listItem')&&!_0x557e88[_0x56ea('0x33')](_0xe1bf9e);}(_0x49a07b,_0x396428));_0x16004d=_0x16004d[_0x56ea('0x2a')](_0x559eed=>!_0x559eed['is']('element','listItem')||_0x559eed['getAttribute'](_0x56ea('0x9'))!=_0x617116);const _0x19a7ab=new Set();for(const _0x5b900c of _0x16004d)_0x5b900c['is'](_0x56ea('0x2d'),'listItem')?_0x19a7ab[_0x56ea('0x10')](ne(_0x5b900c)):_0x19a7ab['add'](_0x5b900c);return Array[_0x56ea('0x8')](_0x19a7ab);}(_0x33f58b['getSelectedBlocks'](),_0x57c649,_0x510235[_0x56ea('0xe')]['schema']);_0x510235[_0x56ea('0xe')][_0x56ea('0x1f')](()=>{for(const _0x302d82 of _0x54e4ce)_0x31ec9c['markBlockFormat'](_0x302d82,{'commandName':_0x238e3b,'commandParams':[{'forceValue':!_0x172837[_0x56ea('0xf')]}],'formatGroupId':_0x56ea('0x2')},oe(_0x302d82));});};}function _0x1a1137(_0x27f752){return()=>{const _0x499a71=function(_0x3cdf8c){let _0xa2b829=Array[_0x56ea('0x8')](_0x3cdf8c);const _0x34e497=_0xa2b829[_0x56ea('0x3d')](_0x27f060=>_0x56ea('0x30')!=_0x27f060[_0x56ea('0x14')]);return _0x34e497>-0x1&&(_0xa2b829=_0xa2b829['slice'](0x0,_0x34e497)),_0xa2b829;}(_0x510235['model'][_0x56ea('0x21')][_0x56ea('0xa')][_0x56ea('0x7')]()),_0x1d5897=_0x510235[_0x56ea('0xe')][_0x56ea('0x26')](_0x510235[_0x56ea('0xe')][_0x56ea('0xb')](_0x499a71[0x0],_0x56ea('0x34')),_0x510235[_0x56ea('0xe')]['createPositionAt'](_0x499a71[_0x499a71[_0x56ea('0x39')]-0x1],_0x56ea('0x38')));_0x510235['model'][_0x56ea('0x1f')](()=>{_0x31ec9c[_0x56ea('0x0')](_0x1d5897,{'commandName':_0x27f752,'commandParams':[],'formatGroupId':_0x56ea('0x1e')},function(_0x51720e){const _0x36a7d7=new Set();for(const _0x49a818 of _0x51720e){let _0x4b43ec=_0x49a818[_0x56ea('0x13')];for(;_0x4b43ec&&_0x4b43ec[_0x56ea('0x1d')](_0x56ea('0x1e'))>_0x49a818[_0x56ea('0x1d')](_0x56ea('0x1e'));)_0x36a7d7[_0x56ea('0x10')](_0x4b43ec),_0x4b43ec=_0x4b43ec[_0x56ea('0x13')];}return Array[_0x56ea('0x8')](_0x36a7d7);}(_0x499a71));});};}_0x31ec9c[_0x56ea('0x3b')](_0x56ea('0xd'),_0x536fb8(_0x56ea('0xd'))),_0x31ec9c[_0x56ea('0x3b')](_0x56ea('0x2e'),_0x536fb8(_0x56ea('0x2e'))),_0x20029d&&_0x31ec9c['enableCommand'](_0x56ea('0x3'),_0x536fb8('todoList')),_0x31ec9c[_0x56ea('0x3b')](_0x56ea('0x16'),_0x1a1137(_0x56ea('0x16'))),_0x31ec9c[_0x56ea('0x3b')](_0x56ea('0x17'),_0x1a1137(_0x56ea('0x17'))),_0x20029d&&_0x31ec9c[_0x56ea('0x3b')](_0x56ea('0x18'),()=>{const _0x27ff29=_0x510235[_0x56ea('0x29')][_0x56ea('0x6')](_0x56ea('0x18')),_0x25f04f=Array[_0x56ea('0x8')](_0x27ff29[_0x56ea('0x15')]);_0x25f04f[_0x56ea('0x2a')](_0x365b82=>_0x365b82[_0x56ea('0x1d')]('todoListChecked')!=_0x27ff29['value']),_0x510235[_0x56ea('0xe')][_0x56ea('0x1f')](()=>{for(const _0x3853e3 of _0x25f04f)_0x31ec9c[_0x56ea('0x0')](_0x3853e3,{'commandName':_0x56ea('0x18'),'commandParams':[{'forceValue':!_0x27ff29[_0x56ea('0xf')]}]});});}),_0x31ec9c[_0x56ea('0x11')][_0x56ea('0x2b')](_0x56ea('0x30'),_0x21cc22=>_0x3ab493(_0x38a719,_0x56ea('0x20'),_0x21cc22)),_0x31ec9c[_0x56ea('0x11')][_0x56ea('0x2f')](_0xb7a1e6=>{const {data:_0x3d465f}=_0xb7a1e6;if(_0x3d465f){if(_0x56ea('0xd')==_0x3d465f[_0x56ea('0x32')]||_0x56ea('0x2e')==_0x3d465f[_0x56ea('0x32')]||_0x56ea('0x3')==_0x3d465f[_0x56ea('0x32')])switch(_0x3d465f[_0x56ea('0x32')][_0x56ea('0x1')]('List','')){case'bulleted':return _0x5755d5(_0x3ab493(_0x38a719,_0x56ea('0x27')));case _0x56ea('0x22'):return _0x5755d5(_0x3ab493(_0x38a719,'ELEMENT_NUMBERED_LIST'));case _0x56ea('0x24'):return _0x5755d5(_0x3ab493(_0x38a719,'ELEMENT_TODO_LIST'));}if(_0x56ea('0x16')==_0x3d465f['commandName'])return{'type':_0x56ea('0x28'),'content':_0x3ab493(_0x38a719,'*Indent:*\x20%0',_0x3ab493(_0x38a719,'ELEMENT_LIST_ITEM'))};if(_0x56ea('0x17')==_0x3d465f[_0x56ea('0x32')])return{'type':_0x56ea('0x28'),'content':_0x3ab493(_0x38a719,'*Outdent:*\x20%0',_0x3ab493(_0x38a719,'ELEMENT_LIST_ITEM'))};if(_0x56ea('0x18')==_0x3d465f[_0x56ea('0x32')])return _0x3d465f[_0x56ea('0xc')][0x0][_0x56ea('0x5')]?{'type':_0x56ea('0x28'),'content':_0x3ab493(_0x38a719,_0x56ea('0x12'))}:{'type':_0x56ea('0x28'),'content':_0x3ab493(_0x38a719,_0x56ea('0x1c'))};}function _0x5755d5(_0xc331e){return{'type':'format','content':_0x3ab493(_0x38a719,'*Change\x20to:*\x20%0',_0xc331e)};}});}}function ne(_0x303c98){const _0x39e647=_0x303c98[_0x56ea('0x1d')](_0x56ea('0x1e'));if(0x0==_0x39e647)return _0x303c98;let _0x532464=_0x303c98;for(;_0x303c98[_0x56ea('0x37')]&&_0x303c98[_0x56ea('0x37')]['is']('element',_0x56ea('0x30'));){const _0x4f8098=_0x303c98['previousSibling']['getAttribute'](_0x56ea('0x1e'));if(_0x4f8098==_0x39e647)_0x532464=_0x303c98[_0x56ea('0x37')];else{if(_0x4f8098<_0x39e647)break;}_0x303c98=_0x303c98[_0x56ea('0x37')];}return _0x532464;}function oe(_0x347660){const _0x569d81=[];if(_0x347660['is'](_0x56ea('0x2d'),_0x56ea('0x30'))&&_0x347660[_0x56ea('0x1d')](_0x56ea('0x1e'))>0x0){let _0x58f266=_0x347660[_0x56ea('0x13')];for(;_0x58f266&&'listItem'==_0x58f266[_0x56ea('0x14')]&&_0x58f266['getAttribute']('listIndent')==_0x347660[_0x56ea('0x1d')]('listIndent');)_0x569d81[_0x56ea('0x35')](_0x58f266),_0x58f266=_0x58f266[_0x56ea('0x13')];}return _0x569d81;}