@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231022.0 → 0.0.0-nightly-20231024.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1de7=['editor','fontSize','_enableCommand','find','label','change','_descriptionFactory','*Set\x20font\x20family:*\x20%0','model','get','*Reset\x20font\x20size*','plugins','FontSizeEditing','format','enableCommand','registerDescriptionCallback','TrackChangesEditing','selection','*Set\x20font\x20color:*\x20%0','FontSize','value','FontColorEditing','commandParams','trim','toLowerCase','fontSize.options','FontFamilyEditing','fontColor','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor','from','config','document','FontBackgroundColorEditing','*Reset\x20font\x20color*','title','commandName','fontFamily'];(function(_0x385a47,_0x1de7c1){const _0x3ed517=function(_0x3e6008){while(--_0x3e6008){_0x385a47['push'](_0x385a47['shift']());}};_0x3ed517(++_0x1de7c1);}(_0x1de7,0x150));const _0x3ed5=function(_0x385a47,_0x1de7c1){_0x385a47=_0x385a47-0x0;let _0x3ed517=_0x1de7[_0x385a47];return _0x3ed517;};import{Plugin as _0x4bd7d1}from'ckeditor5/src/core';import{normalizeColorOptions as _0x30efac}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27ee58}from'./utils';import{getTranslation as _0x2bd7fd}from'../utils/common-translations';const eo=[{'pluginName':_0x3ed5('0x12'),'commandName':_0x3ed5('0x7')},{'pluginName':_0x3ed5('0x20'),'commandName':_0x3ed5('0x5')},{'pluginName':_0x3ed5('0x1b'),'commandName':'fontColor'},{'pluginName':_0x3ed5('0x1'),'commandName':_0x3ed5('0x23')}];export default class W extends _0x4bd7d1{['afterInit'](){const _0x3fb959=this['editor']['locale'];for(const {pluginName:_0xbc5278,commandName:_0x466601}of eo)this[_0x3ed5('0x6')]['plugins']['has'](_0xbc5278)&&this[_0x3ed5('0x8')](_0x466601);this[_0x3ed5('0x6')][_0x3ed5('0x11')][_0x3ed5('0xf')](_0x3ed5('0x16'))[_0x3ed5('0xc')][_0x3ed5('0x15')](_0xe3eed9=>{const _0x4c10e2=_0x3fb959['t'],{data:_0x2d964d}=_0xe3eed9;if(null!=_0x2d964d){if('fontSize'==_0x2d964d[_0x3ed5('0x4')]){const _0x72cb2=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x72cb2){const _0x585c6d=_0x4c10e2(this[_0x3ed5('0x6')]['plugins'][_0x3ed5('0xf')](_0x3ed5('0x19'))['normalizeSizeOptions'](this[_0x3ed5('0x6')][_0x3ed5('0x25')][_0x3ed5('0xf')](_0x3ed5('0x1f')))['find'](_0x3a039f=>_0x3a039f[_0x3ed5('0xe')]==_0x72cb2)[_0x3ed5('0x3')])[_0x3ed5('0x1e')]();return{'type':'format','content':_0x2bd7fd(_0x3fb959,'*Set\x20font\x20size:*\x20%0',_0x585c6d)};}return{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x10'))};}if('fontFamily'==_0x2d964d[_0x3ed5('0x4')]){const _0x404934=_0x2d964d[_0x3ed5('0x1c')][0x0]['value'];return _0x404934?{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0xd'),_0x404934)}:{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,'*Reset\x20font\x20family*')};}if(_0x3ed5('0x21')==_0x2d964d['commandName']){const _0x40285a=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x40285a){const _0x23f0af=_0x30efac(this[_0x3ed5('0x6')][_0x3ed5('0x25')][_0x3ed5('0xf')]('fontColor.colors'))[_0x3ed5('0x9')](_0x46f30a=>_0x46f30a[_0x3ed5('0xe')]==_0x40285a);let _0x33dbdb=_0x40285a,_0x187289='';return _0x23f0af&&(_0x33dbdb=_0x23f0af[_0x3ed5('0xa')],_0x187289=_0x4c10e2(_0x33dbdb)[_0x3ed5('0x1e')]()),{'type':'format','content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x18'),_0x187289)[_0x3ed5('0x1d')](),'color':{'value':_0x40285a,'title':_0x187289||_0x33dbdb}};}return{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x2'))};}if(_0x3ed5('0x23')==_0x2d964d[_0x3ed5('0x4')]){const _0x12d2d2=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x12d2d2){const _0x378f2e=_0x30efac(this[_0x3ed5('0x6')][_0x3ed5('0x25')]['get']('fontBackgroundColor.colors'))[_0x3ed5('0x9')](_0x3a2b05=>_0x3a2b05['model']==_0x12d2d2);let _0x542a2b=_0x12d2d2,_0x46f784='';return _0x378f2e&&(_0x542a2b=_0x378f2e[_0x3ed5('0xa')],_0x46f784=_0x4c10e2(_0x542a2b)['toLowerCase']()),{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x22'),_0x46f784)[_0x3ed5('0x1d')](),'color':{'value':_0x12d2d2,'title':_0x46f784||_0x542a2b}};}return{'type':'format','content':_0x2bd7fd(_0x3fb959,'*Reset\x20font\x20background\x20color*')};}}});}[_0x3ed5('0x8')](_0x9c61bd){const _0x41063c=this[_0x3ed5('0x6')];_0x41063c['plugins']['get'](_0x3ed5('0x16'))[_0x3ed5('0x14')](_0x9c61bd,(_0x27be29,_0x33b820={})=>{const _0x3e77d4=_0x41063c[_0x3ed5('0xe')][_0x3ed5('0x0')][_0x3ed5('0x17')],_0x412079=_0x33b820[_0x3ed5('0x1a')];_0x3e77d4['isCollapsed']?_0x27be29(_0x33b820):_0x41063c[_0x3ed5('0xe')][_0x3ed5('0xb')](()=>{const _0x2137f8=Array[_0x3ed5('0x24')](_0x3e77d4['getRanges']());for(const _0x33a3a2 of _0x2137f8){const _0x1045be=_0x412079?[_0x33a3a2]:_0x27ee58(_0x9c61bd,_0x33a3a2,_0x41063c['model']);for(const _0x43aaf2 of _0x1045be)_0x41063c['plugins'][_0x3ed5('0xf')](_0x3ed5('0x16'))['markInlineFormat'](_0x43aaf2,{'commandName':_0x9c61bd,'commandParams':[{'value':_0x412079}]});}});});}}
23
+ const _0x1026=['commandName','editor','*Reset\x20font\x20size*','markInlineFormat','plugins','*Set\x20font\x20family:*\x20%0','FontSize','fontFamily','label','TrackChangesEditing','fontBackgroundColor','fontBackgroundColor.colors','model','value','*Set\x20font\x20color:*\x20%0','fontColor','format','toLowerCase','from','trim','*Reset\x20font\x20background\x20color*','commandParams','change','*Reset\x20font\x20family*','_enableCommand','*Set\x20font\x20background\x20color:*\x20%0','has','get','isCollapsed','normalizeSizeOptions','config','registerDescriptionCallback','FontBackgroundColorEditing','fontSize','fontColor.colors','find'];(function(_0x587a20,_0x1026f8){const _0x42458d=function(_0x2d5ef9){while(--_0x2d5ef9){_0x587a20['push'](_0x587a20['shift']());}};_0x42458d(++_0x1026f8);}(_0x1026,0x1d8));const _0x4245=function(_0x587a20,_0x1026f8){_0x587a20=_0x587a20-0x0;let _0x42458d=_0x1026[_0x587a20];return _0x42458d;};import{Plugin as _0x40e771}from'ckeditor5/src/core';import{normalizeColorOptions as _0x195748}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5f3fe6}from'./utils';import{getTranslation as _0x4315a0}from'../utils/common-translations';const eo=[{'pluginName':'FontSizeEditing','commandName':_0x4245('0x1d')},{'pluginName':'FontFamilyEditing','commandName':_0x4245('0x3')},{'pluginName':'FontColorEditing','commandName':_0x4245('0xb')},{'pluginName':_0x4245('0x1c'),'commandName':_0x4245('0x6')}];export default class W extends _0x40e771{['afterInit'](){const _0x18afb3=this[_0x4245('0x21')]['locale'];for(const {pluginName:_0x4abfbd,commandName:_0x405ce1}of eo)this[_0x4245('0x21')]['plugins'][_0x4245('0x16')](_0x4abfbd)&&this[_0x4245('0x14')](_0x405ce1);this[_0x4245('0x21')][_0x4245('0x0')][_0x4245('0x17')](_0x4245('0x5'))['_descriptionFactory'][_0x4245('0x1b')](_0x469e01=>{const _0x212d54=_0x18afb3['t'],{data:_0x8cfd8c}=_0x469e01;if(null!=_0x8cfd8c){if(_0x4245('0x1d')==_0x8cfd8c[_0x4245('0x20')]){const _0x21cd3d=_0x8cfd8c[_0x4245('0x11')][0x0][_0x4245('0x9')];if(_0x21cd3d){const _0x138016=_0x212d54(this[_0x4245('0x21')][_0x4245('0x0')][_0x4245('0x17')](_0x4245('0x2'))[_0x4245('0x19')](this[_0x4245('0x21')][_0x4245('0x1a')][_0x4245('0x17')]('fontSize.options'))[_0x4245('0x1f')](_0x588ac3=>_0x588ac3[_0x4245('0x8')]==_0x21cd3d)['title'])[_0x4245('0xd')]();return{'type':'format','content':_0x4315a0(_0x18afb3,'*Set\x20font\x20size:*\x20%0',_0x138016)};}return{'type':'format','content':_0x4315a0(_0x18afb3,_0x4245('0x22'))};}if(_0x4245('0x3')==_0x8cfd8c[_0x4245('0x20')]){const _0x18714d=_0x8cfd8c[_0x4245('0x11')][0x0][_0x4245('0x9')];return _0x18714d?{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,_0x4245('0x1'),_0x18714d)}:{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,_0x4245('0x13'))};}if('fontColor'==_0x8cfd8c[_0x4245('0x20')]){const _0x3dd391=_0x8cfd8c[_0x4245('0x11')][0x0][_0x4245('0x9')];if(_0x3dd391){const _0x1d2a0e=_0x195748(this[_0x4245('0x21')][_0x4245('0x1a')][_0x4245('0x17')](_0x4245('0x1e')))[_0x4245('0x1f')](_0x29d747=>_0x29d747[_0x4245('0x8')]==_0x3dd391);let _0x2477af=_0x3dd391,_0x3f8316='';return _0x1d2a0e&&(_0x2477af=_0x1d2a0e[_0x4245('0x4')],_0x3f8316=_0x212d54(_0x2477af)['toLowerCase']()),{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,_0x4245('0xa'),_0x3f8316)[_0x4245('0xf')](),'color':{'value':_0x3dd391,'title':_0x3f8316||_0x2477af}};}return{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,'*Reset\x20font\x20color*')};}if(_0x4245('0x6')==_0x8cfd8c[_0x4245('0x20')]){const _0x542b62=_0x8cfd8c[_0x4245('0x11')][0x0][_0x4245('0x9')];if(_0x542b62){const _0x14baee=_0x195748(this[_0x4245('0x21')][_0x4245('0x1a')][_0x4245('0x17')](_0x4245('0x7')))['find'](_0x24eb9a=>_0x24eb9a[_0x4245('0x8')]==_0x542b62);let _0x373241=_0x542b62,_0x576102='';return _0x14baee&&(_0x373241=_0x14baee['label'],_0x576102=_0x212d54(_0x373241)[_0x4245('0xd')]()),{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,_0x4245('0x15'),_0x576102)[_0x4245('0xf')](),'color':{'value':_0x542b62,'title':_0x576102||_0x373241}};}return{'type':_0x4245('0xc'),'content':_0x4315a0(_0x18afb3,_0x4245('0x10'))};}}});}[_0x4245('0x14')](_0x4a9da8){const _0x3519fb=this[_0x4245('0x21')];_0x3519fb[_0x4245('0x0')][_0x4245('0x17')](_0x4245('0x5'))['enableCommand'](_0x4a9da8,(_0x25f208,_0x563be8={})=>{const _0x30387e=_0x3519fb[_0x4245('0x8')]['document']['selection'],_0x4dfd5f=_0x563be8[_0x4245('0x9')];_0x30387e[_0x4245('0x18')]?_0x25f208(_0x563be8):_0x3519fb[_0x4245('0x8')][_0x4245('0x12')](()=>{const _0x1c5056=Array[_0x4245('0xe')](_0x30387e['getRanges']());for(const _0x1bc65e of _0x1c5056){const _0x25f6a7=_0x4dfd5f?[_0x1bc65e]:_0x5f3fe6(_0x4a9da8,_0x1bc65e,_0x3519fb['model']);for(const _0x51da73 of _0x25f6a7)_0x3519fb[_0x4245('0x0')][_0x4245('0x17')](_0x4245('0x5'))[_0x4245('0x23')](_0x51da73,{'commandName':_0x4a9da8,'commandParams':[{'value':_0x4dfd5f}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd208=['copyFormat','commandParams','length','*Remove\x20all\x20formatting*','toUpperCase','markInlineFormat','FontSize','boolean','word','getRanges','pasteFormat','keys','isFormatting','normalizeSizeOptions','isBlock','getLastPosition','locale','createRange','join','_descriptionFactory','commands','fontColor.colors','fontColor','toLowerCase','fontSize.options','config','editor','get','modifySelection','push','enableCommand','fontBackgroundColor','plugins','change','isCollapsed','registerDescriptionCallback','label','model','format','find','from','selection','document','getFirstPosition','split','backward'];(function(_0x161a18,_0xd20848){const _0x58f8b6=function(_0x2cb081){while(--_0x2cb081){_0x161a18['push'](_0x161a18['shift']());}};_0x58f8b6(++_0xd20848);}(_0xd208,0x69));const _0x58f8=function(_0x161a18,_0xd20848){_0x161a18=_0x161a18-0x0;let _0x58f8b6=_0xd208[_0x161a18];return _0x58f8b6;};import{Plugin as _0x1b585d}from'ckeditor5/src/core';import{normalizeColorOptions as _0x55053a}from'ckeditor5/src/ui';import{first as _0x2602d3}from'ckeditor5/src/utils';import{getTranslation as _0xca54e8}from'../utils/common-translations';export default class J extends _0x1b585d{['afterInit'](){const _0x28e900=this[_0x58f8('0xd')],_0x5343a2=_0x28e900[_0x58f8('0x18')],_0xe581fd=_0x5343a2[_0x58f8('0x1d')][_0x58f8('0x1c')],_0x5714d5=_0x28e900[_0x58f8('0x13')]['get']('TrackChangesEditing'),_0x84b529=_0x28e900[_0x58f8('0x3')],_0x3786df=_0x28e900[_0x58f8('0x7')][_0x58f8('0xe')](_0x58f8('0x21')),_0x56433e=_0x28e900[_0x58f8('0x7')][_0x58f8('0xe')](_0x58f8('0x2b'));_0x3786df&&_0x56433e&&(_0x5714d5[_0x58f8('0x11')]('pasteFormat',(_0x3db5fa,_0x2d9d5f={})=>{const _0x49350b=_0x2d9d5f;_0x5343a2[_0x58f8('0x14')](()=>{const _0x3d86eb=Array[_0x58f8('0x1b')](_0xe581fd[_0x58f8('0x2a')]()),_0x3bb83d=_0xe581fd[_0x58f8('0x15')]?[io(_0x5343a2,_0xe581fd)]:_0x3d86eb,_0x29190f=!!_0x2602d3(function*(_0x3fba23,_0x4accf6){const _0x43d392=_0x52c7dc=>!!_0x2602d3(function*(_0x40dbac,_0x2da3a3){for(const [_0x9ea436]of _0x40dbac['getAttributes']()){const _0xeb5aca=_0x2da3a3['getAttributeProperties'](_0x9ea436);_0xeb5aca&&_0xeb5aca[_0x58f8('0x2d')]&&(yield _0x9ea436);}}(_0x52c7dc,_0x4accf6));for(const _0x29fbe0 of _0x3fba23[_0x58f8('0x2a')]())for(const _0x413ce0 of _0x29fbe0['getItems']())!_0x4accf6[_0x58f8('0x1')](_0x413ce0)&&_0x43d392(_0x413ce0)&&(yield _0x413ce0);for(const _0x59fdf6 of _0x3fba23['getSelectedBlocks']())_0x43d392(_0x59fdf6)&&(yield _0x59fdf6);_0x43d392(_0x3fba23)&&(yield _0x3fba23);}(_0xe581fd,_0x5343a2['schema']));if(_0x29190f||0x0!==Object[_0x58f8('0x2c')](_0x49350b)['length'])for(const _0xc38573 of _0x3bb83d)_0x5714d5[_0x58f8('0x26')](_0xc38573,{'commandName':'pasteFormat','commandParams':[_0x49350b]});});}),_0x5714d5[_0x58f8('0x6')][_0x58f8('0x16')](_0x5b54c1=>{const {data:_0x13febc}=_0x5b54c1;if(_0x13febc&&'pasteFormat'===_0x13febc['commandName']){const _0x16f6b4=[],_0x1e9351=_0x13febc[_0x58f8('0x22')][0x0];for(const [_0x250409,_0x20818f]of Object['entries'](_0x1e9351))_0x16f6b4[_0x58f8('0x10')](so(_0x28e900,_0x250409,_0x20818f));return _0x16f6b4[_0x58f8('0x23')]?{'type':_0x58f8('0x19'),'content':_0xca54e8(_0x84b529,'*Set\x20format\x20to:*\x20%0',_0x16f6b4[_0x58f8('0x5')](',\x20'))}:{'type':_0x58f8('0x19'),'content':_0xca54e8(_0x84b529,_0x58f8('0x24'))};}}),_0x28e900[_0x58f8('0x13')]['get']('TrackChangesEditing')['enableCommand'](_0x58f8('0x21')));}}function io(_0x4701b6,_0x49ecaf){const _0x2e3371=_0x4701b6['createSelection'](_0x49ecaf);_0x4701b6[_0x58f8('0xf')](_0x2e3371,{'unit':_0x58f8('0x29'),'direction':_0x58f8('0x20')});const _0x3062dc=_0x2e3371[_0x58f8('0x1e')]();_0x4701b6[_0x58f8('0xf')](_0x2e3371,{'unit':'word','direction':'forward'});const _0x70b536=_0x2e3371[_0x58f8('0x2')]();return _0x4701b6[_0x58f8('0x4')](_0x3062dc,_0x70b536);}function so(_0x38a0dd,_0x15e8a0,_0x5ed9b0){const _0x238276=_0x38a0dd['locale']['t'],_0x202a7a=_0x15e8a0[_0x58f8('0x1f')](/(?=[A-Z])/)[_0x58f8('0x5')]('\x20'),_0x1e57de=_0x238276(_0x202a7a['charAt'](0x0)[_0x58f8('0x25')]()+_0x202a7a['slice'](0x1))[_0x58f8('0xa')]();if(_0x58f8('0x28')==typeof _0x5ed9b0)return _0x1e57de;if(_0x58f8('0x9')===_0x15e8a0||_0x58f8('0x12')===_0x15e8a0){const _0x572d1d=_0x55053a(_0x38a0dd[_0x58f8('0xc')][_0x58f8('0xe')](_0x58f8('0x8')))[_0x58f8('0x1a')](_0x5ddf96=>_0x5ddf96[_0x58f8('0x18')]==_0x5ed9b0);return _0x1e57de+'\x20('+(_0x572d1d?_0x238276(_0x572d1d[_0x58f8('0x17')])[_0x58f8('0xa')]():_0x5ed9b0)+')';}if('fontSize'===_0x15e8a0&&isNaN(parseFloat(_0x5ed9b0))){const _0x4ff02a=_0x38a0dd['plugins']['get'](_0x58f8('0x27'))[_0x58f8('0x0')](_0x38a0dd[_0x58f8('0xc')][_0x58f8('0xe')](_0x58f8('0xb')))[_0x58f8('0x1a')](_0x45ec28=>_0x45ec28['model']==_0x5ed9b0);return _0x1e57de+'\x20('+(_0x4ff02a?_0x238276(_0x4ff02a['title'])['toLowerCase']():_0x5ed9b0)+')';}return _0x1e57de+'\x20('+_0x5ed9b0+')';}
23
+ const _0x5d17=['model','getSelectedBlocks','FontSize','get','locale','_descriptionFactory','title','schema','commands','markInlineFormat','fontSize.options','find','pasteFormat','format','config','*Set\x20format\x20to:*\x20%0','modifySelection','fontColor.colors','commandParams','getAttributes','selection','from','isCollapsed','copyFormat','editor','isBlock','createRange','length','push','getFirstPosition','backward','charAt','toLowerCase','label','*Remove\x20all\x20formatting*','commandName','TrackChangesEditing','entries','createSelection','slice','normalizeSizeOptions','getItems','enableCommand','fontBackgroundColor','getLastPosition','fontColor','forward','plugins'];(function(_0x588f93,_0x5d1792){const _0x38b05f=function(_0x188160){while(--_0x188160){_0x588f93['push'](_0x588f93['shift']());}};_0x38b05f(++_0x5d1792);}(_0x5d17,0x1d8));const _0x38b0=function(_0x588f93,_0x5d1792){_0x588f93=_0x588f93-0x0;let _0x38b05f=_0x5d17[_0x588f93];return _0x38b05f;};import{Plugin as _0x5c0ace}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1350a7}from'ckeditor5/src/ui';import{first as _0x1ba291}from'ckeditor5/src/utils';import{getTranslation as _0x3cbfda}from'../utils/common-translations';export default class J extends _0x5c0ace{['afterInit'](){const _0x47597a=this[_0x38b0('0x20')],_0x16303e=_0x47597a[_0x38b0('0x8')],_0xcffb4f=_0x16303e['document'][_0x38b0('0x1c')],_0x480c1b=_0x47597a['plugins'][_0x38b0('0xb')](_0x38b0('0x2c')),_0x56274f=_0x47597a[_0x38b0('0xc')],_0x1a8add=_0x47597a[_0x38b0('0x10')]['get']('copyFormat'),_0x248a45=_0x47597a['commands'][_0x38b0('0xb')](_0x38b0('0x14'));_0x1a8add&&_0x248a45&&(_0x480c1b[_0x38b0('0x2')](_0x38b0('0x14'),(_0x3dfb07,_0x4547e3={})=>{const _0x392c18=_0x4547e3;_0x16303e['change'](()=>{const _0x439a0e=Array[_0x38b0('0x1d')](_0xcffb4f['getRanges']()),_0x495ef6=_0xcffb4f[_0x38b0('0x1e')]?[io(_0x16303e,_0xcffb4f)]:_0x439a0e,_0x4ac5a3=!!_0x1ba291(function*(_0x5b8ddb,_0x3c65b4){const _0x2cf483=_0x427354=>!!_0x1ba291(function*(_0x5d15d1,_0x3e254c){for(const [_0x5b9f90]of _0x5d15d1[_0x38b0('0x1b')]()){const _0x2a4356=_0x3e254c['getAttributeProperties'](_0x5b9f90);_0x2a4356&&_0x2a4356['isFormatting']&&(yield _0x5b9f90);}}(_0x427354,_0x3c65b4));for(const _0xa36cb6 of _0x5b8ddb['getRanges']())for(const _0x48669b of _0xa36cb6[_0x38b0('0x1')]())!_0x3c65b4[_0x38b0('0x21')](_0x48669b)&&_0x2cf483(_0x48669b)&&(yield _0x48669b);for(const _0xf493e4 of _0x5b8ddb[_0x38b0('0x9')]())_0x2cf483(_0xf493e4)&&(yield _0xf493e4);_0x2cf483(_0x5b8ddb)&&(yield _0x5b8ddb);}(_0xcffb4f,_0x16303e[_0x38b0('0xf')]));if(_0x4ac5a3||0x0!==Object['keys'](_0x392c18)[_0x38b0('0x23')])for(const _0x35cc34 of _0x495ef6)_0x480c1b[_0x38b0('0x11')](_0x35cc34,{'commandName':_0x38b0('0x14'),'commandParams':[_0x392c18]});});}),_0x480c1b[_0x38b0('0xd')]['registerDescriptionCallback'](_0x1f2beb=>{const {data:_0x48ff43}=_0x1f2beb;if(_0x48ff43&&'pasteFormat'===_0x48ff43[_0x38b0('0x2b')]){const _0x247a38=[],_0x4f47bf=_0x48ff43[_0x38b0('0x1a')][0x0];for(const [_0x5e3108,_0x1d234d]of Object[_0x38b0('0x2d')](_0x4f47bf))_0x247a38[_0x38b0('0x24')](so(_0x47597a,_0x5e3108,_0x1d234d));return _0x247a38[_0x38b0('0x23')]?{'type':_0x38b0('0x15'),'content':_0x3cbfda(_0x56274f,_0x38b0('0x17'),_0x247a38['join'](',\x20'))}:{'type':_0x38b0('0x15'),'content':_0x3cbfda(_0x56274f,_0x38b0('0x2a'))};}}),_0x47597a[_0x38b0('0x7')]['get']('TrackChangesEditing')[_0x38b0('0x2')](_0x38b0('0x1f')));}}function io(_0x44dbdd,_0x201576){const _0x56f9c6=_0x44dbdd[_0x38b0('0x2e')](_0x201576);_0x44dbdd[_0x38b0('0x18')](_0x56f9c6,{'unit':'word','direction':_0x38b0('0x26')});const _0x301aee=_0x56f9c6[_0x38b0('0x25')]();_0x44dbdd[_0x38b0('0x18')](_0x56f9c6,{'unit':'word','direction':_0x38b0('0x6')});const _0x3f92ed=_0x56f9c6[_0x38b0('0x4')]();return _0x44dbdd[_0x38b0('0x22')](_0x301aee,_0x3f92ed);}function so(_0x5e1a32,_0x543fdf,_0x489762){const _0x2dd590=_0x5e1a32[_0x38b0('0xc')]['t'],_0x135415=_0x543fdf['split'](/(?=[A-Z])/)['join']('\x20'),_0x45aaed=_0x2dd590(_0x135415[_0x38b0('0x27')](0x0)['toUpperCase']()+_0x135415[_0x38b0('0x2f')](0x1))['toLowerCase']();if('boolean'==typeof _0x489762)return _0x45aaed;if(_0x38b0('0x5')===_0x543fdf||_0x38b0('0x3')===_0x543fdf){const _0x3f9e92=_0x1350a7(_0x5e1a32['config'][_0x38b0('0xb')](_0x38b0('0x19')))[_0x38b0('0x13')](_0x4759dd=>_0x4759dd['model']==_0x489762);return _0x45aaed+'\x20('+(_0x3f9e92?_0x2dd590(_0x3f9e92[_0x38b0('0x29')])[_0x38b0('0x28')]():_0x489762)+')';}if('fontSize'===_0x543fdf&&isNaN(parseFloat(_0x489762))){const _0x544616=_0x5e1a32[_0x38b0('0x7')][_0x38b0('0xb')](_0x38b0('0xa'))[_0x38b0('0x0')](_0x5e1a32[_0x38b0('0x16')][_0x38b0('0xb')](_0x38b0('0x12')))[_0x38b0('0x13')](_0x1f2276=>_0x1f2276['model']==_0x489762);return _0x45aaed+'\x20('+(_0x544616?_0x2dd590(_0x544616[_0x38b0('0xe')])[_0x38b0('0x28')]():_0x489762)+')';}return _0x45aaed+'\x20('+_0x489762+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2077=['title','schema','commandName','plugins','match','editor','locale','heading','format','enableCommand','TrackChangesEditing','get','HeadingEditing','afterInit','commandParams','value','_descriptionFactory','change','*Change\x20to:*\x20%0','find','parent','markBlockFormat','heading.options','selection','isObject','has','formatBlock','registerElementLabel','model','blockName'];(function(_0x444834,_0x207793){const _0x5ad70f=function(_0x2e5dd7){while(--_0x2e5dd7){_0x444834['push'](_0x444834['shift']());}};_0x5ad70f(++_0x207793);}(_0x2077,0x183));const _0x5ad7=function(_0x444834,_0x207793){_0x444834=_0x444834-0x0;let _0x5ad70f=_0x2077[_0x444834];return _0x5ad70f;};import{Plugin as _0x3d5b18}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x209b53}from'./utils';import{getTranslation as _0x13b1ba}from'../utils/common-translations';export default class K extends _0x3d5b18{[_0x5ad7('0x10')](){const _0x338685=this[_0x5ad7('0x8')],_0x1399bc=_0x338685[_0x5ad7('0x9')],_0xa792b=_0x338685['config'][_0x5ad7('0xe')](_0x5ad7('0x19'));if(!_0x338685[_0x5ad7('0x6')][_0x5ad7('0x1c')](_0x5ad7('0xf')))return;const _0x5518ee=_0x338685[_0x5ad7('0x6')][_0x5ad7('0xe')](_0x5ad7('0xd'));_0x5518ee[_0x5ad7('0xc')](_0x5ad7('0xa'),(_0x5ef74b,_0x369f6f)=>{const _0x1646cd=_0x369f6f['value'],_0x21e2db=Array['from'](this['editor'][_0x5ad7('0x1')]['document'][_0x5ad7('0x1a')]['getSelectedBlocks']())['filter'](_0x50514c=>function(_0x22a7c9,_0x2fb5d8,_0x1e1433){return _0x1e1433['checkChild'](_0x22a7c9[_0x5ad7('0x17')],_0x2fb5d8)&&!_0x1e1433[_0x5ad7('0x1b')](_0x22a7c9)&&_0x22a7c9['name']!=_0x2fb5d8;}(_0x50514c,_0x1646cd,this['editor']['model'][_0x5ad7('0x4')]));_0x338685[_0x5ad7('0x1')][_0x5ad7('0x14')](()=>{for(const _0x429408 of _0x21e2db)_0x5518ee[_0x5ad7('0x18')](_0x429408,{'commandName':_0x5ad7('0xa'),'commandParams':[_0x369f6f],'formatGroupId':_0x5ad7('0x2')},_0x209b53(_0x429408));});});for(const _0x571fca of _0xa792b)'paragraph'!=_0x571fca[_0x5ad7('0x1')]&&_0x5518ee[_0x5ad7('0x13')][_0x5ad7('0x0')](_0x571fca[_0x5ad7('0x1')],_0x33b9b2=>{const _0x2f70dc=nn(_0x571fca[_0x5ad7('0x1')]);return null!==_0x2f70dc?_0x1cd842(_0x33b9b2,_0x2f70dc):_0x55e3a1(_0x33b9b2,_0x571fca[_0x5ad7('0x3')]);});function _0x1cd842(_0x45e534,_0x9dc55a){return _0x13b1ba(_0x1399bc,'ELEMENT_HEADING',[_0x45e534,_0x9dc55a]);}function _0x55e3a1(_0x45f228,_0x203f0f){return _0x13b1ba(_0x1399bc,'ELEMENT_HEADING_CUSTOM',[_0x45f228,_0x203f0f]);}_0x5518ee[_0x5ad7('0x13')]['registerDescriptionCallback'](_0x2b5e03=>{const {type:_0x4b8435,data:_0x26cc78}=_0x2b5e03;if(_0x5ad7('0x1d')==_0x4b8435&&_0x26cc78&&_0x5ad7('0xa')==_0x26cc78[_0x5ad7('0x5')]){const _0x53035f=_0x26cc78[_0x5ad7('0x11')][0x0][_0x5ad7('0x12')],_0x1da946=nn(_0x53035f);if(null!==_0x1da946)return{'type':_0x5ad7('0xb'),'content':_0x13b1ba(_0x1399bc,_0x5ad7('0x15'),_0x1cd842(0x1,_0x1da946))};const _0x3ada78=_0xa792b[_0x5ad7('0x16')](_0x57904e=>_0x57904e[_0x5ad7('0x1')]===_0x53035f)[_0x5ad7('0x3')];return{'type':_0x5ad7('0xb'),'content':_0x13b1ba(_0x1399bc,'*Change\x20to:*\x20%0',_0x55e3a1(0x1,_0x3ada78))};}});}}function nn(_0x198f18){const _0x2fb699=_0x198f18[_0x5ad7('0x7')](/^heading(\d+)$/);return _0x2fb699?_0x2fb699[0x1]:null;}
23
+ const _0x2a94=['ELEMENT_HEADING_CUSTOM','heading','isObject','name','editor','HeadingEditing','paragraph','markBlockFormat','title','_descriptionFactory','formatBlock','match','commandName','format','has','selection','schema','from','get','document','checkChild','filter','config','afterInit','value','*Change\x20to:*\x20%0','registerElementLabel','ELEMENT_HEADING','parent','heading.options','locale','model','plugins','commandParams'];(function(_0x58e891,_0x2a94e2){const _0x30f6f2=function(_0x2d7bc4){while(--_0x2d7bc4){_0x58e891['push'](_0x58e891['shift']());}};_0x30f6f2(++_0x2a94e2);}(_0x2a94,0x1d9));const _0x30f6=function(_0x58e891,_0x2a94e2){_0x58e891=_0x58e891-0x0;let _0x30f6f2=_0x2a94[_0x58e891];return _0x30f6f2;};import{Plugin as _0x5709d1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2e5a0a}from'./utils';import{getTranslation as _0x38ab7f}from'../utils/common-translations';export default class K extends _0x5709d1{[_0x30f6('0x1a')](){const _0x23924d=this[_0x30f6('0x7')],_0x22b954=_0x23924d[_0x30f6('0x21')],_0xe4c1e8=_0x23924d[_0x30f6('0x19')][_0x30f6('0x15')](_0x30f6('0x20'));if(!_0x23924d[_0x30f6('0x1')][_0x30f6('0x11')](_0x30f6('0x8')))return;const _0x4983dc=_0x23924d[_0x30f6('0x1')][_0x30f6('0x15')]('TrackChangesEditing');_0x4983dc['enableCommand'](_0x30f6('0x4'),(_0x30dc5c,_0x51267f)=>{const _0x3cfe67=_0x51267f[_0x30f6('0x1b')],_0x2291ae=Array[_0x30f6('0x14')](this['editor'][_0x30f6('0x0')][_0x30f6('0x16')][_0x30f6('0x12')]['getSelectedBlocks']())[_0x30f6('0x18')](_0x1ac63a=>function(_0x4ba91a,_0x36ff2e,_0x48c404){return _0x48c404[_0x30f6('0x17')](_0x4ba91a[_0x30f6('0x1f')],_0x36ff2e)&&!_0x48c404[_0x30f6('0x5')](_0x4ba91a)&&_0x4ba91a[_0x30f6('0x6')]!=_0x36ff2e;}(_0x1ac63a,_0x3cfe67,this[_0x30f6('0x7')][_0x30f6('0x0')][_0x30f6('0x13')]));_0x23924d[_0x30f6('0x0')]['change'](()=>{for(const _0x3adc8a of _0x2291ae)_0x4983dc[_0x30f6('0xa')](_0x3adc8a,{'commandName':_0x30f6('0x4'),'commandParams':[_0x51267f],'formatGroupId':'blockName'},_0x2e5a0a(_0x3adc8a));});});for(const _0x49a057 of _0xe4c1e8)_0x30f6('0x9')!=_0x49a057[_0x30f6('0x0')]&&_0x4983dc[_0x30f6('0xc')][_0x30f6('0x1d')](_0x49a057[_0x30f6('0x0')],_0x50d23f=>{const _0x5b88fd=nn(_0x49a057[_0x30f6('0x0')]);return null!==_0x5b88fd?_0x26712c(_0x50d23f,_0x5b88fd):_0x3bdcb1(_0x50d23f,_0x49a057[_0x30f6('0xb')]);});function _0x26712c(_0x4e4890,_0x16cc92){return _0x38ab7f(_0x22b954,_0x30f6('0x1e'),[_0x4e4890,_0x16cc92]);}function _0x3bdcb1(_0x59c1e6,_0x52f86f){return _0x38ab7f(_0x22b954,_0x30f6('0x3'),[_0x59c1e6,_0x52f86f]);}_0x4983dc[_0x30f6('0xc')]['registerDescriptionCallback'](_0x44ed22=>{const {type:_0x39a853,data:_0x36709b}=_0x44ed22;if(_0x30f6('0xd')==_0x39a853&&_0x36709b&&_0x30f6('0x4')==_0x36709b[_0x30f6('0xf')]){const _0x4cbcad=_0x36709b[_0x30f6('0x2')][0x0][_0x30f6('0x1b')],_0x3dffde=nn(_0x4cbcad);if(null!==_0x3dffde)return{'type':'format','content':_0x38ab7f(_0x22b954,_0x30f6('0x1c'),_0x26712c(0x1,_0x3dffde))};const _0x4e82b8=_0xe4c1e8['find'](_0x1f205a=>_0x1f205a[_0x30f6('0x0')]===_0x4cbcad)['title'];return{'type':_0x30f6('0x10'),'content':_0x38ab7f(_0x22b954,_0x30f6('0x1c'),_0x3bdcb1(0x1,_0x4e82b8))};}});}}function nn(_0x44b4a4){const _0x41d878=_0x44b4a4[_0x30f6('0xe')](/^heading(\d+)$/);return _0x41d878?_0x41d878[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d76=['toLowerCase','value','model','*Remove\x20highlight*','hasAttribute','editor','TrackChangesEditing','format','FORMAT_HIGHLIGHT','push','highlight.options','document','title','get','formatInline','highlight','isCollapsed','*Set\x20highlight:*\x20%0','commandName','backward','getLastMatchingPosition','commandParams','markInlineFormat','getAttribute','plugins','createRange','enableCommand','selection','change','getFirstPosition','locale','item'];(function(_0x40a2e9,_0x4d760e){const _0x1fcfaa=function(_0x23653e){while(--_0x23653e){_0x40a2e9['push'](_0x40a2e9['shift']());}};_0x1fcfaa(++_0x4d760e);}(_0x4d76,0x173));const _0x1fcf=function(_0x40a2e9,_0x4d760e){_0x40a2e9=_0x40a2e9-0x0;let _0x1fcfaa=_0x4d76[_0x40a2e9];return _0x1fcfaa;};import{Plugin as _0x2cacae}from'ckeditor5/src/core';import{getTranslation as _0x511e01}from'../utils/common-translations';import{getRangesWithAttribute as _0x13bd01}from'./utils';export default class Q extends _0x2cacae{['afterInit'](){const _0x1fae7b=this[_0x1fcf('0x12')];if(!_0x1fae7b['plugins']['has']('HighlightEditing'))return;const _0x33e308=_0x1fae7b[_0x1fcf('0x5')][_0x1fcf('0x1a')](_0x1fcf('0x13'));_0x33e308[_0x1fcf('0x7')](_0x1fcf('0x1c'),(_0x5b7f0a,_0x392246={})=>{const _0x51d4aa=_0x1fae7b[_0x1fcf('0xf')][_0x1fcf('0x18')][_0x1fcf('0x8')],_0xbf8611=_0x51d4aa[_0x1fcf('0x4')](_0x1fcf('0x1c'));let _0x386e49=_0x392246[_0x1fcf('0xe')],_0x338c87=[];if(_0x51d4aa[_0x1fcf('0x1d')]){const _0x46b1c1=_0x51d4aa[_0x1fcf('0xa')]();if(!_0x51d4aa[_0x1fcf('0x11')](_0x1fcf('0x1c')))return void _0x5b7f0a(_0x392246);{const _0x528ef2=_0x126b4e=>_0x126b4e[_0x1fcf('0xc')][_0x1fcf('0x4')]('highlight')===_0xbf8611,_0x2105f6=_0x46b1c1[_0x1fcf('0x1')](_0x528ef2,{'direction':_0x1fcf('0x0')}),_0x2487a1=_0x46b1c1[_0x1fcf('0x1')](_0x528ef2);_0x338c87=[_0x1fae7b[_0x1fcf('0xf')][_0x1fcf('0x6')](_0x2105f6,_0x2487a1)],_0x386e49==_0xbf8611&&(_0x386e49=null);}}else for(const _0x3ca72f of _0x51d4aa['getRanges']())_0x386e49?_0x338c87['push'](_0x3ca72f):_0x338c87[_0x1fcf('0x16')](..._0x13bd01(_0x1fcf('0x1c'),_0x3ca72f,_0x1fae7b[_0x1fcf('0xf')]));_0x1fae7b['model'][_0x1fcf('0x9')](()=>{for(const _0x58b086 of _0x338c87)_0x33e308[_0x1fcf('0x3')](_0x58b086,{'commandName':_0x1fcf('0x1c'),'commandParams':[{'value':_0x386e49}]});});});const _0x24f704=_0x1fae7b[_0x1fcf('0xb')];_0x33e308['_descriptionFactory']['registerDescriptionCallback'](_0x50b172=>{const {type:_0x4ce055,data:_0x387a61}=_0x50b172;if(_0x1fcf('0x1b')==_0x4ce055&&_0x387a61&&_0x1fcf('0x1c')==_0x387a61[_0x1fcf('0x1f')]){const _0x41e69c=_0x24f704['t'],_0x32772a=_0x387a61[_0x1fcf('0x2')][0x0][_0x1fcf('0xe')];if(_0x32772a){const _0x5d00d1=_0x1fae7b['config'][_0x1fcf('0x1a')](_0x1fcf('0x17'))['find'](_0x52aafb=>_0x52aafb[_0x1fcf('0xf')]==_0x32772a),_0x4a52ea=_0x41e69c(_0x5d00d1['title'])[_0x1fcf('0xd')]();return{'type':_0x1fcf('0x14'),'content':_0x511e01(_0x24f704,_0x1fcf('0x1e'),_0x4a52ea),'color':{'value':_0x5d00d1['color'],'title':_0x5d00d1[_0x1fcf('0x19')]}};}return{'type':'format','content':_0x511e01(_0x24f704,_0x1fcf('0x10'),_0x511e01(_0x24f704,_0x1fcf('0x15')))};}});}}
23
+ const _0x45de=['config','createRange','getRanges','get','*Remove\x20highlight*','getLastMatchingPosition','*Set\x20highlight:*\x20%0','commandName','format','highlight.options','HighlightEditing','title','highlight','FORMAT_HIGHLIGHT','item','markInlineFormat','has','formatInline','toLowerCase','value','_descriptionFactory','selection','backward','commandParams','plugins','getFirstPosition','push','hasAttribute','getAttribute','enableCommand','model','editor'];(function(_0xfb9855,_0x45dea3){const _0xe7edb=function(_0x4f9175){while(--_0x4f9175){_0xfb9855['push'](_0xfb9855['shift']());}};_0xe7edb(++_0x45dea3);}(_0x45de,0xa6));const _0xe7ed=function(_0xfb9855,_0x45dea3){_0xfb9855=_0xfb9855-0x0;let _0xe7edb=_0x45de[_0xfb9855];return _0xe7edb;};import{Plugin as _0x1cc383}from'ckeditor5/src/core';import{getTranslation as _0x50b4b3}from'../utils/common-translations';import{getRangesWithAttribute as _0x3db085}from'./utils';export default class Q extends _0x1cc383{['afterInit'](){const _0x5b812a=this[_0xe7ed('0x19')];if(!_0x5b812a[_0xe7ed('0x12')][_0xe7ed('0xa')](_0xe7ed('0x4')))return;const _0x4eff1b=_0x5b812a[_0xe7ed('0x12')]['get']('TrackChangesEditing');_0x4eff1b[_0xe7ed('0x17')](_0xe7ed('0x6'),(_0x148557,_0x53d903={})=>{const _0x3dacdd=_0x5b812a[_0xe7ed('0x18')]['document'][_0xe7ed('0xf')],_0x30923b=_0x3dacdd[_0xe7ed('0x16')](_0xe7ed('0x6'));let _0xf79e48=_0x53d903['value'],_0xe864de=[];if(_0x3dacdd['isCollapsed']){const _0x24db18=_0x3dacdd[_0xe7ed('0x13')]();if(!_0x3dacdd[_0xe7ed('0x15')](_0xe7ed('0x6')))return void _0x148557(_0x53d903);{const _0x3be8b3=_0x4f20e1=>_0x4f20e1[_0xe7ed('0x8')]['getAttribute'](_0xe7ed('0x6'))===_0x30923b,_0xb64e40=_0x24db18[_0xe7ed('0x1f')](_0x3be8b3,{'direction':_0xe7ed('0x10')}),_0x15344c=_0x24db18['getLastMatchingPosition'](_0x3be8b3);_0xe864de=[_0x5b812a[_0xe7ed('0x18')][_0xe7ed('0x1b')](_0xb64e40,_0x15344c)],_0xf79e48==_0x30923b&&(_0xf79e48=null);}}else for(const _0x1609d2 of _0x3dacdd[_0xe7ed('0x1c')]())_0xf79e48?_0xe864de[_0xe7ed('0x14')](_0x1609d2):_0xe864de[_0xe7ed('0x14')](..._0x3db085(_0xe7ed('0x6'),_0x1609d2,_0x5b812a['model']));_0x5b812a['model']['change'](()=>{for(const _0x112f9c of _0xe864de)_0x4eff1b[_0xe7ed('0x9')](_0x112f9c,{'commandName':_0xe7ed('0x6'),'commandParams':[{'value':_0xf79e48}]});});});const _0x49370b=_0x5b812a['locale'];_0x4eff1b[_0xe7ed('0xe')]['registerDescriptionCallback'](_0x4e3417=>{const {type:_0x46d180,data:_0x4dd750}=_0x4e3417;if(_0xe7ed('0xb')==_0x46d180&&_0x4dd750&&_0xe7ed('0x6')==_0x4dd750[_0xe7ed('0x1')]){const _0x57eec0=_0x49370b['t'],_0x184d2c=_0x4dd750[_0xe7ed('0x11')][0x0][_0xe7ed('0xd')];if(_0x184d2c){const _0x3d36bf=_0x5b812a[_0xe7ed('0x1a')][_0xe7ed('0x1d')](_0xe7ed('0x3'))['find'](_0x52a96b=>_0x52a96b[_0xe7ed('0x18')]==_0x184d2c),_0x5d8c93=_0x57eec0(_0x3d36bf[_0xe7ed('0x5')])[_0xe7ed('0xc')]();return{'type':_0xe7ed('0x2'),'content':_0x50b4b3(_0x49370b,_0xe7ed('0x0'),_0x5d8c93),'color':{'value':_0x3d36bf['color'],'title':_0x3d36bf[_0xe7ed('0x5')]}};}return{'type':'format','content':_0x50b4b3(_0x49370b,_0xe7ed('0x1e'),_0x50b4b3(_0x49370b,_0xe7ed('0x7')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e2a=['editor','horizontalLine','createContainerElement','div','insert','plugins','TrackChangesEditing','high','HorizontalLineEditing','showSuggestionHighlights','get','addClass','has','elementToStructure','for','ck-horizontal-line','locale','dataDowncast','enableCommand','conversion'];(function(_0x90e1b8,_0x5e2a4c){const _0x1a8021=function(_0x51ac75){while(--_0x51ac75){_0x90e1b8['push'](_0x90e1b8['shift']());}};_0x1a8021(++_0x5e2a4c);}(_0x5e2a,0x8a));const _0x1a80=function(_0x90e1b8,_0x5e2a4c){_0x90e1b8=_0x90e1b8-0x0;let _0x1a8021=_0x5e2a[_0x90e1b8];return _0x1a8021;};import{Plugin as _0x19098f}from'ckeditor5/src/core';import{getTranslation as _0x1b03fd}from'../utils/common-translations';export default class V extends _0x19098f{['afterInit'](){const _0x1d329e=this[_0x1a80('0x2')];if(!_0x1d329e[_0x1a80('0x7')][_0x1a80('0xe')](_0x1a80('0xa')))return;_0x1d329e['plugins'][_0x1a80('0xc')]('TrackChangesEditing')[_0x1a80('0x0')]('horizontalLine');const _0xa3260d=_0x1d329e[_0x1a80('0x7')][_0x1a80('0xc')](_0x1a80('0x8')),_0x3ca819=_0x1d329e[_0x1a80('0x12')];_0xa3260d['_descriptionFactory']['registerElementLabel'](_0x1a80('0x3'),_0xade55a=>_0x1b03fd(_0x3ca819,'ELEMENT_HORIZONTAL_LINE',_0xade55a)),_0x1d329e[_0x1a80('0x1')][_0x1a80('0x10')](_0x1a80('0x13'))[_0x1a80('0xf')]({'model':'horizontalLine','view':(_0x1bc4f3,{writer:_0x4c1fa2,options:_0x36f2ed})=>{if(!_0x36f2ed[_0x1a80('0xb')])return null;const _0x37ffea=_0x4c1fa2[_0x1a80('0x4')](_0x1a80('0x5')),_0x242adb=_0x4c1fa2['createEmptyElement']('hr');return _0x4c1fa2[_0x1a80('0xd')](_0x1a80('0x11'),_0x37ffea),_0x4c1fa2[_0x1a80('0x6')](_0x4c1fa2['createPositionAt'](_0x37ffea,0x0),_0x242adb),_0x37ffea;},'converterPriority':_0x1a80('0x9')});}}
23
+ const _0x13ef=['addClass','registerElementLabel','high','has','showSuggestionHighlights','div','horizontalLine','for','get','enableCommand','HorizontalLineEditing','plugins','TrackChangesEditing','conversion','createPositionAt','locale','dataDowncast'];(function(_0x4875b7,_0x13ef68){const _0x1409a7=function(_0x25cef6){while(--_0x25cef6){_0x4875b7['push'](_0x4875b7['shift']());}};_0x1409a7(++_0x13ef68);}(_0x13ef,0x194));const _0x1409=function(_0x4875b7,_0x13ef68){_0x4875b7=_0x4875b7-0x0;let _0x1409a7=_0x13ef[_0x4875b7];return _0x1409a7;};import{Plugin as _0xc5b035}from'ckeditor5/src/core';import{getTranslation as _0x13ef3f}from'../utils/common-translations';export default class V extends _0xc5b035{['afterInit'](){const _0xd6944b=this['editor'];if(!_0xd6944b[_0x1409('0xf')][_0x1409('0x7')](_0x1409('0xe')))return;_0xd6944b['plugins'][_0x1409('0xc')](_0x1409('0x10'))[_0x1409('0xd')]('horizontalLine');const _0x770377=_0xd6944b[_0x1409('0xf')][_0x1409('0xc')](_0x1409('0x10')),_0xac6255=_0xd6944b[_0x1409('0x2')];_0x770377['_descriptionFactory'][_0x1409('0x5')]('horizontalLine',_0x2e1437=>_0x13ef3f(_0xac6255,'ELEMENT_HORIZONTAL_LINE',_0x2e1437)),_0xd6944b[_0x1409('0x0')][_0x1409('0xb')](_0x1409('0x3'))['elementToStructure']({'model':_0x1409('0xa'),'view':(_0x630fec,{writer:_0x1972af,options:_0x13b437})=>{if(!_0x13b437[_0x1409('0x8')])return null;const _0x36b8c7=_0x1972af['createContainerElement'](_0x1409('0x9')),_0x30b51a=_0x1972af['createEmptyElement']('hr');return _0x1972af[_0x1409('0x4')]('ck-horizontal-line',_0x36b8c7),_0x1972af['insert'](_0x1972af[_0x1409('0x1')](_0x36b8c7,0x0),_0x30b51a),_0x36b8c7;},'converterPriority':_0x1409('0x6')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4471=['view','getSelectedElement','TrackChangesEditing','get','value','format','ELEMENT_HTML_EMBED','registerDescriptionCallback','cancel','rawHtml','_descriptionFactory','change','locale','rawHtmlApi','HtmlEmbed','model','registerElementLabel','plugins','htmlEmbed','has','element','selection','*Change\x20%0\x20content*','getCustomProperty','document','getAttribute'];(function(_0x4fab80,_0x447178){const _0x5d4cf7=function(_0x54afed){while(--_0x54afed){_0x4fab80['push'](_0x4fab80['shift']());}};_0x5d4cf7(++_0x447178);}(_0x4471,0x1b2));const _0x5d4c=function(_0x4fab80,_0x447178){_0x4fab80=_0x4fab80-0x0;let _0x5d4cf7=_0x4471[_0x4fab80];return _0x5d4cf7;};import{Plugin as _0xee64d9}from'ckeditor5/src/core';import{getTranslation as _0x3a5044}from'../utils/common-translations';export default class X extends _0xee64d9{['afterInit'](){const _0x309a06=this['editor'];if(!_0x309a06[_0x5d4c('0x19')][_0x5d4c('0x1')](_0x5d4c('0x16')))return;const _0x22896f=_0x309a06[_0x5d4c('0x19')][_0x5d4c('0xb')]('TrackChangesEditing'),_0x4607d0=_0x309a06[_0x5d4c('0x14')],_0x1974ea=_0x309a06['editing'][_0x5d4c('0x8')][_0x5d4c('0x6')][_0x5d4c('0x3')];_0x22896f['_descriptionFactory'][_0x5d4c('0x18')](_0x5d4c('0x11'),_0x3104c5=>_0x3a5044(_0x4607d0,_0x5d4c('0xe'),_0x3104c5)),_0x309a06[_0x5d4c('0x19')][_0x5d4c('0xb')](_0x5d4c('0xa'))['enableCommand']('htmlEmbed',(_0x10b6b6,_0x1cdd7b)=>{const _0x5d22a2=_0x309a06[_0x5d4c('0x17')],_0x4896ea=_0x5d22a2[_0x5d4c('0x6')][_0x5d4c('0x3')];_0x5d22a2[_0x5d4c('0x13')](()=>{const _0x2ae61b=function(_0x558cfe){const _0x3efd1e=_0x558cfe['getSelectedElement']();if(_0x3efd1e&&_0x3efd1e['is'](_0x5d4c('0x2'),'rawHtml'))return _0x558cfe['getSelectedElement']();return null;}(_0x4896ea);if(!_0x2ae61b)return void _0x10b6b6(null);const _0x163fed=_0x2ae61b[_0x5d4c('0x7')](_0x5d4c('0xc'))||'';if(void 0x0===_0x1cdd7b)return;if(_0x1cdd7b===_0x163fed)return;_0x22896f['markBlockFormat'](_0x2ae61b,{'commandName':_0x5d4c('0x0'),'commandParams':[_0x1cdd7b]}),_0x1974ea[_0x5d4c('0x9')]()[_0x5d4c('0x5')](_0x5d4c('0x15'))[_0x5d4c('0x10')]();});}),_0x22896f[_0x5d4c('0x12')][_0x5d4c('0xf')](_0x1565d6=>{const {data:_0x2223a9}=_0x1565d6;if(_0x2223a9&&_0x5d4c('0x0')==_0x2223a9['commandName']){const _0x3d6597=_0x3a5044(_0x4607d0,'ELEMENT_HTML_EMBED');return{'type':_0x5d4c('0xd'),'content':_0x3a5044(_0x4607d0,_0x5d4c('0x4'),_0x3d6597)};}});}}
23
+ const _0x4e6f=['ELEMENT_HTML_EMBED','rawHtmlApi','rawHtml','change','selection','htmlEmbed','has','get','document','getSelectedElement','*Change\x20%0\x20content*','registerElementLabel','getAttribute','model','TrackChangesEditing','getCustomProperty','commandName','_descriptionFactory','view','markBlockFormat','registerDescriptionCallback','format','HtmlEmbed','plugins','cancel'];(function(_0x2f415c,_0x4e6fba){const _0x42d0e2=function(_0x35550d){while(--_0x35550d){_0x2f415c['push'](_0x2f415c['shift']());}};_0x42d0e2(++_0x4e6fba);}(_0x4e6f,0x12a));const _0x42d0=function(_0x2f415c,_0x4e6fba){_0x2f415c=_0x2f415c-0x0;let _0x42d0e2=_0x4e6f[_0x2f415c];return _0x42d0e2;};import{Plugin as _0x73984f}from'ckeditor5/src/core';import{getTranslation as _0x3007fb}from'../utils/common-translations';export default class X extends _0x73984f{['afterInit'](){const _0x5cd53c=this['editor'];if(!_0x5cd53c[_0x42d0('0x0')][_0x42d0('0x8')](_0x42d0('0x18')))return;const _0x6807fd=_0x5cd53c['plugins'][_0x42d0('0x9')](_0x42d0('0x10')),_0x5d7f9f=_0x5cd53c['locale'],_0x4b4dc8=_0x5cd53c['editing'][_0x42d0('0x14')][_0x42d0('0xa')][_0x42d0('0x6')];_0x6807fd[_0x42d0('0x13')][_0x42d0('0xd')](_0x42d0('0x4'),_0x3c1e52=>_0x3007fb(_0x5d7f9f,_0x42d0('0x2'),_0x3c1e52)),_0x5cd53c['plugins']['get'](_0x42d0('0x10'))['enableCommand']('htmlEmbed',(_0x593120,_0x4da594)=>{const _0x2f695e=_0x5cd53c[_0x42d0('0xf')],_0x17b13a=_0x2f695e['document'][_0x42d0('0x6')];_0x2f695e[_0x42d0('0x5')](()=>{const _0xe919a8=function(_0x301f2c){const _0x3d3df3=_0x301f2c[_0x42d0('0xb')]();if(_0x3d3df3&&_0x3d3df3['is']('element',_0x42d0('0x4')))return _0x301f2c[_0x42d0('0xb')]();return null;}(_0x17b13a);if(!_0xe919a8)return void _0x593120(null);const _0x2684c8=_0xe919a8[_0x42d0('0xe')]('value')||'';if(void 0x0===_0x4da594)return;if(_0x4da594===_0x2684c8)return;_0x6807fd[_0x42d0('0x15')](_0xe919a8,{'commandName':_0x42d0('0x7'),'commandParams':[_0x4da594]}),_0x4b4dc8[_0x42d0('0xb')]()[_0x42d0('0x11')](_0x42d0('0x3'))[_0x42d0('0x1')]();});}),_0x6807fd[_0x42d0('0x13')][_0x42d0('0x16')](_0x394020=>{const {data:_0x50eb5d}=_0x394020;if(_0x50eb5d&&_0x42d0('0x7')==_0x50eb5d[_0x42d0('0x12')]){const _0x21f607=_0x3007fb(_0x5d7f9f,_0x42d0('0x2'));return{'type':_0x42d0('0x17'),'content':_0x3007fb(_0x5d7f9f,_0x42d0('0xc'),_0x21f607)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36cf=['isInlineImage','toNext','schema','*Reset\x20image\x20width*','accept','ImageCaptionUtils','discard','convertInlineImageToBlock','commandParams','forceDefaultExecution','createRange','formatBlock','ImageUploadEditing','value','newValue','locale','FORMAT_SIDE_IMAGE','normalizedStyles','imageTypeInline','length','hasSuggestion','imageTextAlternative','isCollapsed','isBlockImage','imageStylePostApply','ELEMENT_IMAGE','ImageInlineEditing','_findSuggestions','head','differ','Block\x20image\x20to\x20inline\x20image','element','alt','getNearestSelectionRange','_descriptionFactory','imageStylePreApply','*Remove\x20image\x20text\x20alternative*','end','ImageBlockEditing','isEqual','imageBlock','filter','getAttribute','type','detach','commandName','findIndex','ELEMENT_INLINE_IMAGE','ImageEditing','getFirstRange','nodeAfter','registerElementLabel','imageCaption','insertImage','*Set\x20image\x20text\x20alternative:*\x20%0','caption','resizeImage','subType','markDeletion','*Set\x20image\x20width:*\x20%0','width','has','_suggestionFactory','ImageUtils','markInsertion','insertion','registerDescriptionCallback','markInlineFormat','imageStyle','toPrevious','start','registerCustomCallback','plugins','ELEMENT_CAPTION','setImageNaturalSizeAttributes','chain','get','isOwn','convertBlockImageToInline','suggestion','markBlockFormat','change','title','hasAttribute','imageTypeBlock','getSuggestionCallback','imageInline','deletion','addObject','previous','resizedWidth','next','ImageCaptionEditing','Users','document','getCaptionFromImageModelElement','format','getSuggestions','join','forward','getContainedElement','createRangeOn','*Format:*\x20%0','uploadImage','model','getClosestSelectedImageElement','refresh','_splitMarkerName','fromPosition','ImageResize','forEach','isBefore','newRange','enableCommand','selection','find','formatInline','backward','commands','ImageStyleEditing','removeObject','getChangedMarkers','discardSuggestion','name'];(function(_0x2e3243,_0x36cf3a){const _0x278935=function(_0x5e6f37){while(--_0x5e6f37){_0x2e3243['push'](_0x2e3243['shift']());}};_0x278935(++_0x36cf3a);}(_0x36cf,0x126));const _0x2789=function(_0x2e3243,_0x36cf3a){_0x2e3243=_0x2e3243-0x0;let _0x278935=_0x36cf[_0x2e3243];return _0x278935;};import{Plugin as _0x42a743}from'ckeditor5/src/core';import{LivePosition as _0x12e5fe}from'ckeditor5/src/engine';import{uid as _0x2fc907}from'ckeditor5/src/utils';import{getTranslation as _0x2949de}from'../utils/common-translations';export default class Y extends _0x42a743{['afterInit'](){const _0x24fd32=this['editor'];if(!_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x2')))return;const _0x31b18b=_0x24fd32['plugins'][_0x2789('0x1e')]('TrackChangesEditing'),_0x5c6d8b=_0x24fd32['plugins'][_0x2789('0x1e')](_0x2789('0x11')),_0xd5fa98={},_0x5dc1e2=_0x24fd32[_0x2789('0x5d')];if(_0x31b18b['enableCommand'](_0x2789('0x7')),_0x31b18b[_0x2789('0x70')][_0x2789('0x5')](_0x2789('0x76'),_0x99308=>_0x2949de(_0x5dc1e2,_0x2789('0x67'),_0x99308)),_0x31b18b['_descriptionFactory']['registerElementLabel'](_0x2789('0x28'),_0x6a11e7=>_0x2949de(_0x5dc1e2,_0x2789('0x1'),_0x6a11e7)),_0x31b18b[_0x2789('0x70')][_0x2789('0x5')](_0x2789('0x9'),()=>_0x2949de(_0x5dc1e2,_0x2789('0x1b'))),_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x5a'))&&_0x31b18b['enableCommand'](_0x2789('0x39')),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')](_0x2789('0x74'))&&_0x24fd32['plugins'][_0x2789('0xf')](_0x2789('0x68'))&&(_0x31b18b[_0x2789('0x43')]('imageTypeInline',(_0x570b94,_0x415c5f)=>{const _0x4ad8fd=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']);_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b[_0x2789('0x22')](_0x4ad8fd,{'commandName':'imageTypeInline','commandParams':[_0x415c5f]},[],_0x2789('0x20'));});}),_0x31b18b[_0x2789('0x43')](_0x2789('0x26'),(_0x222caf,_0x22a8c3)=>{_0x24fd32['model'][_0x2789('0x23')](_0x29e307=>{let _0x166166=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')]['document'][_0x2789('0x44')]),_0x438a3f=_0x29e307[_0x2789('0x37')](_0x166166);const _0x395475=_0x12e5fe[_0x2789('0x3e')](_0x438a3f['start'],_0x2789('0x17')),_0x19648e=_0x12e5fe[_0x2789('0x3e')](_0x438a3f[_0x2789('0x73')],_0x2789('0x4f'));_0x31b18b[_0x2789('0x57')](()=>_0x222caf(_0x22a8c3)),_0x166166=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']),_0x438a3f=_0x29e307[_0x2789('0x37')](_0x166166);const _0x325898=_0x29e307[_0x2789('0x58')](_0x395475,_0x19648e);_0x395475[_0x2789('0x7a')](),_0x19648e[_0x2789('0x7a')](),_0x31b18b[_0x2789('0x22')](_0x166166,{'commandName':_0x2789('0x60'),'commandParams':[_0x22a8c3]},[],_0x2789('0x55')),_0x325898['start'][_0x2789('0x41')](_0x438a3f[_0x2789('0x18')])&&_0x31b18b[_0x2789('0x12')](_0x29e307['createRange'](_0x325898['start'],_0x438a3f[_0x2789('0x18')]),_0x2789('0x55')),_0x438a3f['end']['isBefore'](_0x325898[_0x2789('0x73')])&&_0x31b18b['markInsertion'](_0x29e307[_0x2789('0x58')](_0x438a3f[_0x2789('0x73')],_0x325898[_0x2789('0x73')]),_0x2789('0x55'));});}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'convertInlineImageToBlock',_0x2789('0x34'),()=>!0x1),_0x31b18b['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2789('0x55'),_0x2789('0x52'),()=>!0x1),_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x55'),_0x2789('0x54'),_0x31b18b[_0x2789('0x10')]['getSuggestionCallback']('formatBlock','','accept')),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')]('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x13'),_0x2789('0x55'),_0x2789('0x54'),([_0x3b2c3f])=>{const _0x39b821=_0x31b18b[_0x2789('0x10')]['getSuggestionCallback'](_0x2789('0x13'),'',_0x2789('0x54'));let _0x2432c7=_0x3b2c3f[_0x2789('0x18')],_0x205aab=_0x3b2c3f[_0x2789('0x73')];const _0x3f33be=_0x24fd32[_0x2789('0x3a')][_0x2789('0x50')]['getNearestSelectionRange'](_0x2432c7,_0x2789('0x47')),_0x37526a=_0x24fd32[_0x2789('0x3a')]['schema'][_0x2789('0x6f')](_0x205aab,_0x2789('0x35'));_0x3f33be[_0x2789('0x64')]&&(_0x2432c7=_0x3f33be[_0x2789('0x18')]),_0x37526a['isCollapsed']&&(_0x205aab=_0x37526a[_0x2789('0x73')]),_0x39b821([_0x24fd32[_0x2789('0x3a')]['createRange'](_0x2432c7,_0x205aab)]);}),_0x31b18b['_suggestionFactory'][_0x2789('0x19')](_0x2789('0x59'),_0x2789('0x55'),_0x2789('0x1d'),_0x16b612),_0x31b18b[_0x2789('0x10')]['registerCustomCallback']('insertion',_0x2789('0x55'),'chain',_0x16b612)),_0x24fd32['plugins'][_0x2789('0xf')](_0x2789('0x2e'))&&(_0x31b18b[_0x2789('0x43')]('toggleImageCaption',(_0x16be22,_0x39d9fd)=>{const _0xebcb04=_0x24fd32[_0x2789('0x1a')][_0x2789('0x1e')](_0x2789('0x53'));let _0x235012=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),_0x599a7e=_0xebcb04[_0x2789('0x31')](_0x235012);_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{if(_0x599a7e)return void _0x31b18b[_0x2789('0xc')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x37')](_0x599a7e));const _0x28c40b=_0x5c6d8b[_0x2789('0x65')](_0x235012);_0x16be22(_0x39d9fd),_0x235012=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),_0x599a7e=_0xebcb04[_0x2789('0x31')](_0x235012),_0x31b18b[_0x2789('0x12')](_0x24fd32[_0x2789('0x3a')]['createRangeOn'](_0x599a7e),_0x28c40b?null:'imageCaption');});}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x13'),_0x2789('0x6'),_0x2789('0x1d'),_0x16b612)),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')](_0x2789('0x49'))){_0x31b18b[_0x2789('0x43')](_0x2789('0x16'),(_0x2043a1,_0x5b561e)=>{const _0xbbbb5b=_0x24fd32[_0x2789('0x1a')][_0x2789('0x1e')](_0x2789('0x2f'))['me'],_0x58fd5e=_0x24fd32[_0x2789('0x48')][_0x2789('0x1e')](_0x2789('0x16'));let _0x59b4ea=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')]['document'][_0x2789('0x44')]),_0x1ec783=_0x24fd32[_0x2789('0x3a')][_0x2789('0x37')](_0x59b4ea),_0x587d7a=_0x58fd5e[_0x2789('0x5b')];if(_0x587d7a==_0x5b561e[_0x2789('0x5b')])return;const _0x5ea951={'commandName':'imageStyle','commandParams':[_0x5b561e],'formatGroupId':_0x2fc907()};_0x24fd32['model'][_0x2789('0x23')](()=>{if(_0x31b18b[_0x2789('0x33')]()[_0x2789('0x77')](_0x2667f8=>_0x2667f8['isInContent']&&_0xbbbb5b==_0x2667f8['author']&&('formatBlock'==_0x2667f8[_0x2789('0x79')]||_0x2789('0x46')==_0x2667f8[_0x2789('0x79')])&&(_0x2789('0x71')==_0x2667f8['subType']||_0x2789('0x66')==_0x2667f8[_0x2789('0xb')])&&_0x2667f8[_0x2789('0x3')]()['isEqual'](_0x1ec783))[_0x2789('0x40')](_0xa79393=>_0x31b18b['discardSuggestion'](_0xa79393[_0x2789('0x6a')])),_0x59b4ea=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']),_0x1ec783=_0x24fd32['model'][_0x2789('0x37')](_0x59b4ea),_0x58fd5e[_0x2789('0x3c')](),_0x24fd32['commands'][_0x2789('0x1e')](_0x2789('0x60'))[_0x2789('0x3c')](),_0x24fd32[_0x2789('0x48')]['get'](_0x2789('0x26'))[_0x2789('0x3c')](),_0x587d7a=_0x58fd5e[_0x2789('0x5b')],_0x587d7a!=_0x5b561e[_0x2789('0x5b')])return _0x5c6d8b[_0x2789('0x4e')](_0x59b4ea)&&_0x58fd5e['shouldConvertImageType'](_0x5b561e['value'],_0x59b4ea)?(_0x2043a1({..._0x5b561e,'setImageSizes':!0x1}),_0x59b4ea=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),void _0x31b18b['markBlockFormat'](_0x59b4ea,{..._0x5ea951,'commandReversedParams':[{'value':_0x587d7a||null,'setImageSizes':!0x1}]},[],_0x2789('0x71'))):void(_0x5c6d8b[_0x2789('0x65')](_0x59b4ea)?_0x31b18b[_0x2789('0x22')](_0x59b4ea,_0x5ea951,[],_0x2789('0x66')):_0x31b18b[_0x2789('0x15')](_0x1ec783,_0x5ea951,_0x2789('0x66')));});});for(const _0x32a97e of _0x24fd32[_0x2789('0x1a')]['get'](_0x2789('0x49'))[_0x2789('0x5f')])_0xd5fa98[_0x32a97e[_0x2789('0x4d')]]=_0x32a97e[_0x2789('0x24')]['toLowerCase']();_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),'imageStylePreApply',_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'imageStylePostApply',_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')]('formatInline',_0x2789('0x66'),_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x71'),_0x2789('0x52'),([_0x5450ca])=>{_0x5c6d8b[_0x2789('0x1c')](_0x5450ca['getContainedElement']());}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'imageStylePreApply',_0x2789('0x54'),(_0x430f39,_0x2cedb4)=>{_0x31b18b[_0x2789('0x10')][_0x2789('0x27')](_0x2789('0x59'),'',_0x2789('0x52'))(_0x430f39,{'commandName':_0x2cedb4[_0x2789('0x7b')],'commandParams':_0x2cedb4['commandReversedParams']});}),_0x31b18b['_suggestionFactory']['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x71'),_0x2789('0x1d'),_0x16b612);}const _0x22c33e=[{'type':_0x2789('0x59'),'subType':'imageStylePreApply'},{'type':_0x2789('0x13'),'subType':_0x2789('0x6')},{'type':_0x2789('0x59'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5ad491(_0x45be51,_0x1d8cd3){const _0x215aab=_0x22c33e[_0x2789('0x0')](({type:_0x33f554,subType:_0x519373})=>_0x45be51[_0x2789('0x79')]==_0x33f554&&_0x45be51['subType']==_0x519373),_0x12688b=_0x22c33e[_0x2789('0x0')](({type:_0x27a398,subType:_0x2c0570})=>_0x1d8cd3[_0x2789('0x79')]==_0x27a398&&_0x1d8cd3[_0x2789('0xb')]==_0x2c0570);if(_0x215aab<0x0||_0x12688b<0x0)return!0x1;const _0x5174e9=_0x45be51[_0x2789('0x3')](),_0x28f866=_0x1d8cd3[_0x2789('0x3')]();if((0x0==_0x215aab||0x1==_0x215aab)&&0x2==_0x12688b&&_0x5174e9['isIntersecting'](_0x28f866))return!0x0;if(0x2==_0x215aab&&0x3==_0x12688b){const _0x3cf990=_0x31b18b[_0x2789('0x69')](_0x5174e9,_0x2789('0x13'))[_0x2789('0x77')](({suggestion:_0x18cf4e,meta:_0x5f5241})=>_0x5f5241[_0x2789('0x1f')]&&_0x2789('0x55')==_0x18cf4e['subType']);if(_0x3cf990[_0x2789('0x61')]>0x1&&_0x28f866['end'][_0x2789('0x75')](_0x5174e9[_0x2789('0x18')]))return!0x0;if(0x1==_0x3cf990['length']&&(_0x5174e9[_0x2789('0x18')][_0x2789('0x75')](_0x28f866[_0x2789('0x73')])||_0x5174e9[_0x2789('0x73')][_0x2789('0x75')](_0x28f866['start'])))return!0x0;}if(0x3==_0x215aab&&0x3==_0x12688b&&_0x5174e9['start']['isBefore'](_0x28f866[_0x2789('0x18')])){const _0x1286d1=_0x5174e9['end'][_0x2789('0x4')],_0x59d258=_0x28f866[_0x2789('0x18')]['nodeBefore'];return _0x5c6d8b[_0x2789('0x65')](_0x1286d1)&&_0x1286d1===_0x59d258;}return!0x1;}function _0x16b612(_0x177c0c,_0x11658a){return _0x5ad491(_0x177c0c,_0x11658a)?[_0x177c0c,_0x11658a]:_0x5ad491(_0x11658a,_0x177c0c)?[_0x11658a,_0x177c0c]:null;}_0x24fd32['model'][_0x2789('0x30')]['registerPostFixer'](()=>{let _0xd5afb8=!0x1;const _0x3b4e72=Array['from'](_0x24fd32['model'][_0x2789('0x30')][_0x2789('0x6b')][_0x2789('0x4b')]());for(const {name:_0x154aff,data:_0x346709}of _0x3b4e72){const {group:_0x26668c,type:_0x3ae86b,subType:_0x40cbd4,id:_0x56992e}=_0x31b18b[_0x2789('0x3d')](_0x154aff);if(_0x2789('0x21')==_0x26668c&&_0x31b18b[_0x2789('0x62')](_0x56992e)){if(_0x2789('0x59')==_0x3ae86b&&(_0x2789('0x71')==_0x40cbd4||_0x2789('0x66')==_0x40cbd4)){const _0x4daa0f=_0x31b18b['getSuggestion'](_0x56992e);if(_0x346709[_0x2789('0x42')]){const _0x516992=_0x4daa0f[_0x2789('0x3')]()['getContainedElement']();if(_0x5c6d8b['isBlockImage'](_0x516992))continue;_0x31b18b[_0x2789('0x4c')](_0x4daa0f),_0xd5afb8=!0x0;}}if(_0x2789('0x13')==_0x3ae86b&&_0x2789('0x6')==_0x40cbd4&&!_0x346709[_0x2789('0x42')]){const _0xb75293=_0x31b18b['getSuggestion'](_0x56992e);_0xb75293['next']&&_0xb75293[_0x2789('0x2d')]['isInContent']&&(_0x31b18b[_0x2789('0x4c')](_0xb75293[_0x2789('0x2d')]),_0xd5afb8=!0x0);}}}return _0xd5afb8;}),_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x3f'))&&_0x31b18b[_0x2789('0x43')]('resizeImage',(_0x4e6d7d,_0x204784)=>{const _0x3a9ced=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]);_0x3a9ced[_0x2789('0x78')](_0x2789('0x2c'))!=_0x204784['width']&&_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b[_0x2789('0x22')](_0x3a9ced,{'commandName':'resizeImage','commandParams':[_0x204784]});});}),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')]('ImageTextAlternativeEditing')&&_0x31b18b[_0x2789('0x43')](_0x2789('0x63'),(_0x5c8eac,_0x4c6eb0)=>{const _0x4c43b7=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')]['document']['selection']);(_0x4c43b7[_0x2789('0x25')]('alt')?_0x4c43b7[_0x2789('0x78')](_0x2789('0x6e')):'')!=_0x4c6eb0[_0x2789('0x5c')]&&_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b['markBlockFormat'](_0x4c43b7,{'commandName':_0x2789('0x63'),'commandParams':[_0x4c6eb0]});});}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x247ea1=>{if(!!_0x22c33e[_0x2789('0x45')](({type:_0x34b8a0,subType:_0x3cd27a})=>_0x247ea1[_0x2789('0x79')]==_0x34b8a0&&_0x247ea1['subType']==_0x3cd27a))return _0x247ea1[_0x2789('0x2b')]?{}:void 0x0;}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x44018b=>{if(_0x2789('0x13')==_0x44018b['type']||_0x2789('0x29')==_0x44018b[_0x2789('0x79')]){const _0x4a7512=_0x44018b[_0x2789('0x36')]();if(_0x4a7512&&_0x4a7512['is'](_0x2789('0x6d'),_0x2789('0x9')))return{'type':_0x2789('0x13')==_0x44018b['type']?_0x2789('0x2a'):_0x2789('0x4a'),'element':_0x4a7512,'quantity':0x1};}}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x46af5=>_0x2789('0x59')==_0x46af5['type']&&_0x2789('0x55')==_0x46af5[_0x2789('0xb')]?{'type':_0x2789('0x32'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x2789('0x59')==_0x46af5['type']&&_0x2789('0x20')==_0x46af5['subType']?{'type':_0x2789('0x32'),'content':_0x2789('0x6c')}:void 0x0),_0x31b18b[_0x2789('0x70')]['registerDescriptionCallback'](_0x3527bc=>{const {data:_0x23405b}=_0x3527bc;if(_0x23405b){if(_0x2789('0x16')==_0x23405b[_0x2789('0x7b')]){const _0x2dcd2d=_0x23405b[_0x2789('0x56')][0x0][_0x2789('0x5b')];return _0x39adcb('side'===_0x2dcd2d?_0x2949de(_0x5dc1e2,_0x2789('0x5e')):_0xd5fa98[_0x2dcd2d]||_0x2dcd2d);}if('imageTextAlternative'==_0x23405b['commandName']){const _0x2d97bb=_0x23405b[_0x2789('0x56')][0x0][_0x2789('0x5c')];return _0x2d97bb?{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x8'),'\x22'+_0x2d97bb+'\x22')}:{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x72'))};}if(_0x2789('0xa')==_0x23405b[_0x2789('0x7b')]){const _0x5c000a=_0x23405b['commandParams'][0x0][_0x2789('0xe')];return _0x5c000a?{'type':'format','content':_0x2949de(_0x5dc1e2,_0x2789('0xd'),_0x5c000a)}:{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x51'))};}}function _0x39adcb(_0x3b311e){return{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x38'),_0x3b311e)};}});}}
23
+ const _0x538e=['markInsertion','*Remove\x20image\x20text\x20alternative*','refresh','commandParams','backward','alt','previous','format','resizeImage','ImageUtils','ImageEditing','side','newRange','convertBlockImageToInline','from','markBlockFormat','removeObject','ImageInlineEditing','afterInit','ELEMENT_IMAGE','convertInlineImageToBlock','_descriptionFactory','Inline\x20image\x20to\x20block\x20image','getSuggestion','editor','get','next','imageBlock','toPrevious','isInlineImage','getClosestSelectedImageElement','toNext','end','imageCaption','registerElementLabel','markDeletion','type','ELEMENT_CAPTION','Users','*Set\x20image\x20text\x20alternative:*\x20%0','selection','ImageCaptionUtils','formatInline','author','chain','join','change','length','getAttribute','find','nodeBefore','enableCommand','imageTextAlternative','has','ImageTextAlternativeEditing','filter','isBlockImage','imageStylePostApply','isEqual','findIndex','imageInline','forward','ImageUploadEditing','TrackChangesEditing','registerCustomCallback','title','markInlineFormat','getSuggestionCallback','formatBlock','fromPosition','accept','ImageResize','forceDefaultExecution','document','schema','imageTypeInline','registerPostFixer','normalizedStyles','toLowerCase','getChangedMarkers','caption','getContainedElement','plugins','isCollapsed','commands','getNearestSelectionRange','insertion','setImageNaturalSizeAttributes','forEach','detach','*Set\x20image\x20width:*\x20%0','width','isInContent','uploadImage','locale','_suggestionFactory','ImageStyleEditing','imageStylePreApply','Block\x20image\x20to\x20inline\x20image','commandName','model','getFirstRange','element','createRange','ELEMENT_INLINE_IMAGE','insertImage','isOwn','FORMAT_SIDE_IMAGE','createRangeOn','getCaptionFromImageModelElement','differ','value','start','*Format:*\x20%0','registerDescriptionCallback','resizedWidth','subType','imageStyle','getSuggestions','hasSuggestion','isBefore','shouldConvertImageType','discard'];(function(_0x4c1b39,_0x538e73){const _0x51c881=function(_0x22d239){while(--_0x22d239){_0x4c1b39['push'](_0x4c1b39['shift']());}};_0x51c881(++_0x538e73);}(_0x538e,0x1a4));const _0x51c8=function(_0x4c1b39,_0x538e73){_0x4c1b39=_0x4c1b39-0x0;let _0x51c881=_0x538e[_0x4c1b39];return _0x51c881;};import{Plugin as _0x48cc65}from'ckeditor5/src/core';import{LivePosition as _0x2cb76e}from'ckeditor5/src/engine';import{uid as _0x532ddb}from'ckeditor5/src/utils';import{getTranslation as _0x505b5b}from'../utils/common-translations';export default class Y extends _0x48cc65{[_0x51c8('0x5a')](){const _0x351546=this[_0x51c8('0x60')];if(!_0x351546[_0x51c8('0x1f')]['has'](_0x51c8('0x52')))return;const _0xd7abb2=_0x351546[_0x51c8('0x1f')][_0x51c8('0x61')](_0x51c8('0xc')),_0x1039ba=_0x351546[_0x51c8('0x1f')]['get'](_0x51c8('0x51')),_0x242555={},_0x23403d=_0x351546[_0x51c8('0x2b')];if(_0xd7abb2[_0x51c8('0x0')](_0x51c8('0x36')),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x6a')](_0x51c8('0x63'),_0x4163ad=>_0x505b5b(_0x23403d,_0x51c8('0x5b'),_0x4163ad)),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x6a')](_0x51c8('0x9'),_0x5c4751=>_0x505b5b(_0x23403d,_0x51c8('0x35'),_0x5c4751)),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x6a')]('caption',()=>_0x505b5b(_0x23403d,_0x51c8('0x6d'))),_0x351546[_0x51c8('0x1f')][_0x51c8('0x2')](_0x51c8('0xb'))&&_0xd7abb2['enableCommand'](_0x51c8('0x2a')),_0x351546[_0x51c8('0x1f')]['has']('ImageBlockEditing')&&_0x351546['plugins'][_0x51c8('0x2')](_0x51c8('0x59'))&&(_0xd7abb2['enableCommand']('imageTypeInline',(_0x5ef8e0,_0x2ff08e)=>{const _0x1b3d14=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')]['document'][_0x51c8('0x70')]);_0x351546['model'][_0x51c8('0x76')](()=>{_0xd7abb2[_0x51c8('0x57')](_0x1b3d14,{'commandName':'imageTypeInline','commandParams':[_0x2ff08e]},[],_0x51c8('0x55'));});}),_0xd7abb2[_0x51c8('0x0')]('imageTypeBlock',(_0x16d87f,_0x29e916)=>{_0x351546[_0x51c8('0x31')][_0x51c8('0x76')](_0x13e411=>{let _0x50988f=_0x1039ba['getClosestSelectedImageElement'](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')]['selection']),_0x4e2cad=_0x13e411['createRangeOn'](_0x50988f);const _0x408b7c=_0x2cb76e[_0x51c8('0x12')](_0x4e2cad[_0x51c8('0x3d')],_0x51c8('0x64')),_0x4b261d=_0x2cb76e['fromPosition'](_0x4e2cad[_0x51c8('0x68')],_0x51c8('0x67'));_0xd7abb2[_0x51c8('0x15')](()=>_0x16d87f(_0x29e916)),_0x50988f=_0x1039ba[_0x51c8('0x66')](_0x351546['model'][_0x51c8('0x16')]['selection']),_0x4e2cad=_0x13e411[_0x51c8('0x39')](_0x50988f);const _0x5c1f3d=_0x13e411[_0x51c8('0x34')](_0x408b7c,_0x4b261d);_0x408b7c[_0x51c8('0x26')](),_0x4b261d[_0x51c8('0x26')](),_0xd7abb2[_0x51c8('0x57')](_0x50988f,{'commandName':_0x51c8('0x18'),'commandParams':[_0x29e916]},[],_0x51c8('0x5c')),_0x5c1f3d['start'][_0x51c8('0x45')](_0x4e2cad['start'])&&_0xd7abb2['markInsertion'](_0x13e411['createRange'](_0x5c1f3d[_0x51c8('0x3d')],_0x4e2cad[_0x51c8('0x3d')]),'convertInlineImageToBlock'),_0x4e2cad[_0x51c8('0x68')][_0x51c8('0x45')](_0x5c1f3d[_0x51c8('0x68')])&&_0xd7abb2[_0x51c8('0x48')](_0x13e411[_0x51c8('0x34')](_0x4e2cad[_0x51c8('0x68')],_0x5c1f3d['end']),_0x51c8('0x5c'));});}),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')]('formatBlock',_0x51c8('0x5c'),_0x51c8('0x75'),()=>!0x1),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x11'),_0x51c8('0x5c'),_0x51c8('0x13'),()=>!0x1),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x11'),_0x51c8('0x5c'),_0x51c8('0x47'),_0xd7abb2['_suggestionFactory'][_0x51c8('0x10')](_0x51c8('0x11'),'',_0x51c8('0x13'))),_0xd7abb2['_suggestionFactory']['registerCustomCallback']('insertion',_0x51c8('0x5c'),'join',()=>!0x1),_0xd7abb2[_0x51c8('0x2c')]['registerCustomCallback'](_0x51c8('0x23'),'convertInlineImageToBlock',_0x51c8('0x47'),([_0x40225e])=>{const _0x422ca7=_0xd7abb2['_suggestionFactory'][_0x51c8('0x10')](_0x51c8('0x23'),'',_0x51c8('0x47'));let _0x51be4f=_0x40225e['start'],_0x49e1a2=_0x40225e[_0x51c8('0x68')];const _0x45d089=_0x351546[_0x51c8('0x31')][_0x51c8('0x17')][_0x51c8('0x22')](_0x51be4f,_0x51c8('0x4c')),_0x57fc4a=_0x351546[_0x51c8('0x31')][_0x51c8('0x17')][_0x51c8('0x22')](_0x49e1a2,_0x51c8('0xa'));_0x45d089[_0x51c8('0x20')]&&(_0x51be4f=_0x45d089[_0x51c8('0x3d')]),_0x57fc4a['isCollapsed']&&(_0x49e1a2=_0x57fc4a[_0x51c8('0x68')]),_0x422ca7([_0x351546[_0x51c8('0x31')][_0x51c8('0x34')](_0x51be4f,_0x49e1a2)]);}),_0xd7abb2['_suggestionFactory'][_0x51c8('0xd')](_0x51c8('0x11'),_0x51c8('0x5c'),_0x51c8('0x74'),_0x2203d0),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x23'),_0x51c8('0x5c'),_0x51c8('0x74'),_0x2203d0)),_0x351546[_0x51c8('0x1f')][_0x51c8('0x2')]('ImageCaptionEditing')&&(_0xd7abb2[_0x51c8('0x0')]('toggleImageCaption',(_0x1b30b8,_0x26fad5)=>{const _0x17ba83=_0x351546['plugins'][_0x51c8('0x61')](_0x51c8('0x71'));let _0x694df0=_0x1039ba[_0x51c8('0x66')](_0x351546['model'][_0x51c8('0x16')][_0x51c8('0x70')]),_0x2a354a=_0x17ba83[_0x51c8('0x3a')](_0x694df0);_0x351546[_0x51c8('0x31')][_0x51c8('0x76')](()=>{if(_0x2a354a)return void _0xd7abb2[_0x51c8('0x6b')](_0x351546[_0x51c8('0x31')][_0x51c8('0x39')](_0x2a354a));const _0x3f17ca=_0x1039ba[_0x51c8('0x5')](_0x694df0);_0x1b30b8(_0x26fad5),_0x694df0=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')]['selection']),_0x2a354a=_0x17ba83[_0x51c8('0x3a')](_0x694df0),_0xd7abb2[_0x51c8('0x48')](_0x351546[_0x51c8('0x31')][_0x51c8('0x39')](_0x2a354a),_0x3f17ca?null:_0x51c8('0x69'));});}),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x23'),_0x51c8('0x69'),'chain',_0x2203d0)),_0x351546[_0x51c8('0x1f')][_0x51c8('0x2')](_0x51c8('0x2d'))){_0xd7abb2[_0x51c8('0x0')](_0x51c8('0x42'),(_0x17e3c4,_0x477bb3)=>{const _0x57e9c1=_0x351546[_0x51c8('0x1f')][_0x51c8('0x61')](_0x51c8('0x6e'))['me'],_0x17be53=_0x351546['commands'][_0x51c8('0x61')](_0x51c8('0x42'));let _0x49cc60=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')][_0x51c8('0x70')]),_0x3c1723=_0x351546[_0x51c8('0x31')][_0x51c8('0x39')](_0x49cc60),_0x2c63dc=_0x17be53[_0x51c8('0x3c')];if(_0x2c63dc==_0x477bb3[_0x51c8('0x3c')])return;const _0x14583b={'commandName':_0x51c8('0x42'),'commandParams':[_0x477bb3],'formatGroupId':_0x532ddb()};_0x351546[_0x51c8('0x31')]['change'](()=>{if(_0xd7abb2[_0x51c8('0x43')]()[_0x51c8('0x4')](_0x4e9ab2=>_0x4e9ab2[_0x51c8('0x29')]&&_0x57e9c1==_0x4e9ab2[_0x51c8('0x73')]&&('formatBlock'==_0x4e9ab2[_0x51c8('0x6c')]||_0x51c8('0x72')==_0x4e9ab2[_0x51c8('0x6c')])&&(_0x51c8('0x2e')==_0x4e9ab2[_0x51c8('0x41')]||'imageStylePostApply'==_0x4e9ab2[_0x51c8('0x41')])&&_0x4e9ab2[_0x51c8('0x32')]()['isEqual'](_0x3c1723))[_0x51c8('0x25')](_0x458741=>_0xd7abb2['discardSuggestion'](_0x458741['head'])),_0x49cc60=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')][_0x51c8('0x70')]),_0x3c1723=_0x351546[_0x51c8('0x31')][_0x51c8('0x39')](_0x49cc60),_0x17be53[_0x51c8('0x4a')](),_0x351546[_0x51c8('0x21')][_0x51c8('0x61')](_0x51c8('0x18'))['refresh'](),_0x351546[_0x51c8('0x21')][_0x51c8('0x61')]('imageTypeBlock')[_0x51c8('0x4a')](),_0x2c63dc=_0x17be53[_0x51c8('0x3c')],_0x2c63dc!=_0x477bb3[_0x51c8('0x3c')])return _0x1039ba[_0x51c8('0x65')](_0x49cc60)&&_0x17be53[_0x51c8('0x46')](_0x477bb3[_0x51c8('0x3c')],_0x49cc60)?(_0x17e3c4({..._0x477bb3,'setImageSizes':!0x1}),_0x49cc60=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')][_0x51c8('0x70')]),void _0xd7abb2[_0x51c8('0x57')](_0x49cc60,{..._0x14583b,'commandReversedParams':[{'value':_0x2c63dc||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1039ba[_0x51c8('0x5')](_0x49cc60)?_0xd7abb2[_0x51c8('0x57')](_0x49cc60,_0x14583b,[],_0x51c8('0x6')):_0xd7abb2[_0x51c8('0xf')](_0x3c1723,_0x14583b,'imageStylePostApply'));});});for(const _0x4d8c09 of _0x351546[_0x51c8('0x1f')][_0x51c8('0x61')](_0x51c8('0x2d'))[_0x51c8('0x1a')])_0x242555[_0x4d8c09['name']]=_0x4d8c09[_0x51c8('0xe')][_0x51c8('0x1b')]();_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x11'),_0x51c8('0x2e'),_0x51c8('0x75'),()=>!0x1),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x11'),'imageStylePostApply',_0x51c8('0x75'),()=>!0x1),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x72'),_0x51c8('0x6'),'join',()=>!0x1),_0xd7abb2['_suggestionFactory'][_0x51c8('0xd')]('formatBlock',_0x51c8('0x2e'),_0x51c8('0x13'),([_0x44a5a7])=>{_0x1039ba[_0x51c8('0x24')](_0x44a5a7['getContainedElement']());}),_0xd7abb2['_suggestionFactory'][_0x51c8('0xd')]('formatBlock',_0x51c8('0x2e'),'discard',(_0x5ec173,_0x36cdf7)=>{_0xd7abb2['_suggestionFactory'][_0x51c8('0x10')]('formatBlock','','accept')(_0x5ec173,{'commandName':_0x36cdf7['commandName'],'commandParams':_0x36cdf7['commandReversedParams']});}),_0xd7abb2[_0x51c8('0x2c')][_0x51c8('0xd')](_0x51c8('0x11'),'imageStylePreApply',_0x51c8('0x74'),_0x2203d0);}const _0x3e30cb=[{'type':_0x51c8('0x11'),'subType':_0x51c8('0x2e')},{'type':_0x51c8('0x23'),'subType':_0x51c8('0x69')},{'type':_0x51c8('0x11'),'subType':_0x51c8('0x5c')},{'type':_0x51c8('0x23'),'subType':_0x51c8('0x5c')}];function _0x444ebc(_0x4f0175,_0x47cee2){const _0xdfd1be=_0x3e30cb[_0x51c8('0x8')](({type:_0x159be6,subType:_0x5ef1c7})=>_0x4f0175[_0x51c8('0x6c')]==_0x159be6&&_0x4f0175[_0x51c8('0x41')]==_0x5ef1c7),_0x1ef69c=_0x3e30cb[_0x51c8('0x8')](({type:_0x5f09b4,subType:_0x4ef2a8})=>_0x47cee2['type']==_0x5f09b4&&_0x47cee2[_0x51c8('0x41')]==_0x4ef2a8);if(_0xdfd1be<0x0||_0x1ef69c<0x0)return!0x1;const _0xefd5e6=_0x4f0175[_0x51c8('0x32')](),_0x22a14d=_0x47cee2['getFirstRange']();if((0x0==_0xdfd1be||0x1==_0xdfd1be)&&0x2==_0x1ef69c&&_0xefd5e6['isIntersecting'](_0x22a14d))return!0x0;if(0x2==_0xdfd1be&&0x3==_0x1ef69c){const _0x44e736=_0xd7abb2['_findSuggestions'](_0xefd5e6,_0x51c8('0x23'))[_0x51c8('0x4')](({suggestion:_0x195279,meta:_0x4a127c})=>_0x4a127c[_0x51c8('0x37')]&&_0x51c8('0x5c')==_0x195279[_0x51c8('0x41')]);if(_0x44e736[_0x51c8('0x77')]>0x1&&_0x22a14d[_0x51c8('0x68')][_0x51c8('0x7')](_0xefd5e6[_0x51c8('0x3d')]))return!0x0;if(0x1==_0x44e736[_0x51c8('0x77')]&&(_0xefd5e6['start'][_0x51c8('0x7')](_0x22a14d[_0x51c8('0x68')])||_0xefd5e6[_0x51c8('0x68')][_0x51c8('0x7')](_0x22a14d[_0x51c8('0x3d')])))return!0x0;}if(0x3==_0xdfd1be&&0x3==_0x1ef69c&&_0xefd5e6[_0x51c8('0x3d')][_0x51c8('0x45')](_0x22a14d[_0x51c8('0x3d')])){const _0x36df0a=_0xefd5e6['end']['nodeAfter'],_0x258ba5=_0x22a14d[_0x51c8('0x3d')][_0x51c8('0x7a')];return _0x1039ba['isBlockImage'](_0x36df0a)&&_0x36df0a===_0x258ba5;}return!0x1;}function _0x2203d0(_0xa15b18,_0x50510f){return _0x444ebc(_0xa15b18,_0x50510f)?[_0xa15b18,_0x50510f]:_0x444ebc(_0x50510f,_0xa15b18)?[_0x50510f,_0xa15b18]:null;}_0x351546[_0x51c8('0x31')][_0x51c8('0x16')][_0x51c8('0x19')](()=>{let _0x5994a6=!0x1;const _0x10f9f0=Array[_0x51c8('0x56')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')][_0x51c8('0x3b')][_0x51c8('0x1c')]());for(const {name:_0x8b0f7a,data:_0x37bb94}of _0x10f9f0){const {group:_0x435c4c,type:_0x41eff8,subType:_0x506117,id:_0x2e1a77}=_0xd7abb2['_splitMarkerName'](_0x8b0f7a);if('suggestion'==_0x435c4c&&_0xd7abb2[_0x51c8('0x44')](_0x2e1a77)){if(_0x51c8('0x11')==_0x41eff8&&(_0x51c8('0x2e')==_0x506117||_0x51c8('0x6')==_0x506117)){const _0x37b367=_0xd7abb2['getSuggestion'](_0x2e1a77);if(_0x37bb94['newRange']){const _0x2d375c=_0x37b367['getFirstRange']()[_0x51c8('0x1e')]();if(_0x1039ba['isBlockImage'](_0x2d375c))continue;_0xd7abb2['discardSuggestion'](_0x37b367),_0x5994a6=!0x0;}}if('insertion'==_0x41eff8&&'imageCaption'==_0x506117&&!_0x37bb94[_0x51c8('0x54')]){const _0x2c8b10=_0xd7abb2[_0x51c8('0x5f')](_0x2e1a77);_0x2c8b10[_0x51c8('0x62')]&&_0x2c8b10[_0x51c8('0x62')][_0x51c8('0x29')]&&(_0xd7abb2['discardSuggestion'](_0x2c8b10[_0x51c8('0x62')]),_0x5994a6=!0x0);}}}return _0x5994a6;}),_0x351546[_0x51c8('0x1f')][_0x51c8('0x2')](_0x51c8('0x14'))&&_0xd7abb2[_0x51c8('0x0')](_0x51c8('0x50'),(_0x4bb1bc,_0x7a7b29)=>{const _0x39c44b=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')]['selection']);_0x39c44b[_0x51c8('0x78')](_0x51c8('0x40'))!=_0x7a7b29[_0x51c8('0x28')]&&_0x351546['model'][_0x51c8('0x76')](()=>{_0xd7abb2[_0x51c8('0x57')](_0x39c44b,{'commandName':_0x51c8('0x50'),'commandParams':[_0x7a7b29]});});}),_0x351546[_0x51c8('0x1f')][_0x51c8('0x2')](_0x51c8('0x3'))&&_0xd7abb2[_0x51c8('0x0')](_0x51c8('0x1'),(_0x241dcd,_0x3233d6)=>{const _0x386f62=_0x1039ba[_0x51c8('0x66')](_0x351546[_0x51c8('0x31')][_0x51c8('0x16')]['selection']);(_0x386f62['hasAttribute'](_0x51c8('0x4d'))?_0x386f62[_0x51c8('0x78')]('alt'):'')!=_0x3233d6['newValue']&&_0x351546[_0x51c8('0x31')][_0x51c8('0x76')](()=>{_0xd7abb2[_0x51c8('0x57')](_0x386f62,{'commandName':_0x51c8('0x1'),'commandParams':[_0x3233d6]});});}),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x3f')](_0xfd962f=>{if(!!_0x3e30cb[_0x51c8('0x79')](({type:_0x2a9a42,subType:_0x1f7406})=>_0xfd962f[_0x51c8('0x6c')]==_0x2a9a42&&_0xfd962f['subType']==_0x1f7406))return _0xfd962f[_0x51c8('0x4e')]?{}:void 0x0;}),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x3f')](_0x42fb45=>{if('insertion'==_0x42fb45[_0x51c8('0x6c')]||'deletion'==_0x42fb45[_0x51c8('0x6c')]){const _0x3eb7fc=_0x42fb45[_0x51c8('0x1e')]();if(_0x3eb7fc&&_0x3eb7fc['is'](_0x51c8('0x33'),_0x51c8('0x1d')))return{'type':_0x51c8('0x23')==_0x42fb45[_0x51c8('0x6c')]?'addObject':_0x51c8('0x58'),'element':_0x3eb7fc,'quantity':0x1};}}),_0xd7abb2[_0x51c8('0x5d')][_0x51c8('0x3f')](_0x265ad4=>_0x51c8('0x11')==_0x265ad4[_0x51c8('0x6c')]&&_0x51c8('0x5c')==_0x265ad4['subType']?{'type':'format','content':_0x51c8('0x5e')}:_0x51c8('0x11')==_0x265ad4['type']&&'convertBlockImageToInline'==_0x265ad4[_0x51c8('0x41')]?{'type':_0x51c8('0x4f'),'content':_0x51c8('0x2f')}:void 0x0),_0xd7abb2['_descriptionFactory'][_0x51c8('0x3f')](_0x48988c=>{const {data:_0x47a1b2}=_0x48988c;if(_0x47a1b2){if(_0x51c8('0x42')==_0x47a1b2[_0x51c8('0x30')]){const _0xb33e38=_0x47a1b2[_0x51c8('0x4b')][0x0][_0x51c8('0x3c')];return _0x24ba0f(_0x51c8('0x53')===_0xb33e38?_0x505b5b(_0x23403d,_0x51c8('0x38')):_0x242555[_0xb33e38]||_0xb33e38);}if(_0x51c8('0x1')==_0x47a1b2[_0x51c8('0x30')]){const _0x5a7199=_0x47a1b2[_0x51c8('0x4b')][0x0]['newValue'];return _0x5a7199?{'type':_0x51c8('0x4f'),'content':_0x505b5b(_0x23403d,_0x51c8('0x6f'),'\x22'+_0x5a7199+'\x22')}:{'type':'format','content':_0x505b5b(_0x23403d,_0x51c8('0x49'))};}if('resizeImage'==_0x47a1b2['commandName']){const _0x4101a4=_0x47a1b2['commandParams'][0x0][_0x51c8('0x28')];return _0x4101a4?{'type':_0x51c8('0x4f'),'content':_0x505b5b(_0x23403d,_0x51c8('0x27'),_0x4101a4)}:{'type':_0x51c8('0x4f'),'content':_0x505b5b(_0x23403d,'*Reset\x20image\x20width*')};}}function _0x24ba0f(_0xdeec09){return{'type':_0x51c8('0x4f'),'content':_0x505b5b(_0x23403d,_0x51c8('0x3e'),_0xdeec09)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c21=['get','data','replaceImageSource','getAttribute','handleSuggestionDescription','*Format:*\x20replace\x20image\x20URL','ImageEditing','accept','subType','registerDescriptionCallback','registerCustomCallback','plugins','getContainedElement','discard','formatBlock','selection','handleReplaceImageCommand','markBlockFormat','source','TrackChangesEditing','Users','document','editor','enableCommand','commandParams','commandName','getSuggestions','model','src'];(function(_0x4d5570,_0x3c21da){const _0x5b8f4a=function(_0x20f9d5){while(--_0x20f9d5){_0x4d5570['push'](_0x4d5570['shift']());}};_0x5b8f4a(++_0x3c21da);}(_0x3c21,0x1a9));const _0x5b8f=function(_0x4d5570,_0x3c21da){_0x4d5570=_0x4d5570-0x0;let _0x5b8f4a=_0x3c21[_0x4d5570];return _0x5b8f4a;};import{Plugin as _0x9e9262}from'ckeditor5/src/core';import{getTranslation as _0x466ece}from'../utils/common-translations';export default class Z extends _0x9e9262{['afterInit'](){if(!this[_0x5b8f('0x3')]['plugins']['has'](_0x5b8f('0x10')))return;const _0x449cfb=this[_0x5b8f('0x3')][_0x5b8f('0x15')]['get'](_0x5b8f('0x0'));_0x449cfb[_0x5b8f('0x4')](_0x5b8f('0xc'),(_0x179c20,_0x3fbfe7)=>this[_0x5b8f('0x1a')](_0x179c20,_0x3fbfe7)),_0x449cfb['_suggestionFactory']['registerCustomCallback'](_0x5b8f('0x18'),'replaceImageSource',_0x5b8f('0x11'),_0x449cfb['_suggestionFactory']['getSuggestionCallback'](_0x5b8f('0x18'),null,_0x5b8f('0x17'))),_0x449cfb['_suggestionFactory'][_0x5b8f('0x14')](_0x5b8f('0x18'),_0x5b8f('0xc'),_0x5b8f('0x17'),_0x449cfb['_suggestionFactory']['getSuggestionCallback'](_0x5b8f('0x18'),null,_0x5b8f('0x11'))),_0x449cfb['_descriptionFactory'][_0x5b8f('0x13')](_0xeabd2e=>this[_0x5b8f('0xe')](_0xeabd2e));}[_0x5b8f('0x1a')](_0x380984,_0x1b7ff6){const _0x5b04d9=this[_0x5b8f('0x3')][_0x5b8f('0x15')][_0x5b8f('0xa')]('TrackChangesEditing'),_0x2a0bc9=this[_0x5b8f('0x3')]['model'][_0x5b8f('0x2')][_0x5b8f('0x19')]['getSelectedElement']();this[_0x5b8f('0x3')][_0x5b8f('0x8')]['change'](()=>{let _0xa1ff59=_0x2a0bc9[_0x5b8f('0xd')](_0x5b8f('0x9'));const _0x110fde=this[_0x5b8f('0x3')][_0x5b8f('0x15')][_0x5b8f('0xa')](_0x5b8f('0x1'))['me'];for(const _0x5619f2 of _0x5b04d9[_0x5b8f('0x7')]({'skipNotAttached':!0x0})){const _0x49820a=_0x5619f2[_0x5b8f('0x16')]();if(_0x5b8f('0xc')===_0x5619f2[_0x5b8f('0x12')]&&_0x49820a===_0x2a0bc9){_0x5619f2['author']!==_0x110fde&&_0x5619f2[_0x5b8f('0x17')](),_0xa1ff59=_0x5619f2[_0x5b8f('0xb')][_0x5b8f('0x5')][0x0][_0x5b8f('0x1c')];break;}}_0x380984(_0x1b7ff6),_0x5b04d9[_0x5b8f('0x1b')](_0x2a0bc9,{'commandName':_0x5b8f('0xc'),'commandParams':[{'source':_0xa1ff59}]},[],'replaceImageSource');});}[_0x5b8f('0xe')](_0x24bfa4){const {data:_0x3ef35f}=_0x24bfa4;if(_0x3ef35f&&'replaceImageSource'===_0x3ef35f[_0x5b8f('0x6')]){const _0x243444=_0x5b8f('0xf');return{'type':'format','content':_0x466ece(this['editor']['locale'],_0x243444)};}}}
23
+ const _0x4671=['ImageEditing','_suggestionFactory','enableCommand','registerCustomCallback','Users','selection','getAttribute','accept','subType','replaceImageSource','getContainedElement','discard','change','*Format:*\x20replace\x20image\x20URL','plugins','registerDescriptionCallback','get','markBlockFormat','author','handleSuggestionDescription','TrackChangesEditing','handleReplaceImageCommand','formatBlock','model','document','commandName','source','locale','getSuggestionCallback','editor'];(function(_0x165309,_0x4671aa){const _0x325cea=function(_0xb24aaf){while(--_0xb24aaf){_0x165309['push'](_0x165309['shift']());}};_0x325cea(++_0x4671aa);}(_0x4671,0xc1));const _0x325c=function(_0x165309,_0x4671aa){_0x165309=_0x165309-0x0;let _0x325cea=_0x4671[_0x165309];return _0x325cea;};import{Plugin as _0x4c4e96}from'ckeditor5/src/core';import{getTranslation as _0x56ef69}from'../utils/common-translations';export default class Z extends _0x4c4e96{['afterInit'](){if(!this[_0x325c('0x10')][_0x325c('0x1')]['has'](_0x325c('0x11')))return;const _0x3dd54f=this['editor'][_0x325c('0x1')][_0x325c('0x3')](_0x325c('0x7'));_0x3dd54f[_0x325c('0x13')](_0x325c('0x1a'),(_0x2c5f9f,_0x415c5d)=>this[_0x325c('0x8')](_0x2c5f9f,_0x415c5d)),_0x3dd54f[_0x325c('0x12')][_0x325c('0x14')](_0x325c('0x9'),_0x325c('0x1a'),_0x325c('0x18'),_0x3dd54f[_0x325c('0x12')]['getSuggestionCallback']('formatBlock',null,_0x325c('0x1c'))),_0x3dd54f[_0x325c('0x12')]['registerCustomCallback'](_0x325c('0x9'),'replaceImageSource',_0x325c('0x1c'),_0x3dd54f['_suggestionFactory'][_0x325c('0xf')]('formatBlock',null,_0x325c('0x18'))),_0x3dd54f['_descriptionFactory'][_0x325c('0x2')](_0x353bab=>this[_0x325c('0x6')](_0x353bab));}['handleReplaceImageCommand'](_0x1af6c2,_0x2fe5b6){const _0x327894=this[_0x325c('0x10')]['plugins'][_0x325c('0x3')]('TrackChangesEditing'),_0x1152ee=this[_0x325c('0x10')][_0x325c('0xa')][_0x325c('0xb')][_0x325c('0x16')]['getSelectedElement']();this[_0x325c('0x10')]['model'][_0x325c('0x1d')](()=>{let _0x21c74c=_0x1152ee[_0x325c('0x17')]('src');const _0x276303=this['editor'][_0x325c('0x1')][_0x325c('0x3')](_0x325c('0x15'))['me'];for(const _0x13ab85 of _0x327894['getSuggestions']({'skipNotAttached':!0x0})){const _0x329aa0=_0x13ab85[_0x325c('0x1b')]();if('replaceImageSource'===_0x13ab85[_0x325c('0x19')]&&_0x329aa0===_0x1152ee){_0x13ab85[_0x325c('0x5')]!==_0x276303&&_0x13ab85[_0x325c('0x1c')](),_0x21c74c=_0x13ab85['data']['commandParams'][0x0][_0x325c('0xd')];break;}}_0x1af6c2(_0x2fe5b6),_0x327894[_0x325c('0x4')](_0x1152ee,{'commandName':_0x325c('0x1a'),'commandParams':[{'source':_0x21c74c}]},[],_0x325c('0x1a'));});}[_0x325c('0x6')](_0x42acbe){const {data:_0x25f58f}=_0x42acbe;if(_0x25f58f&&_0x325c('0x1a')===_0x25f58f[_0x325c('0xc')]){const _0x29669f=_0x325c('0x0');return{'type':'format','content':_0x56ef69(this[_0x325c('0x10')][_0x325c('0xe')],_0x29669f)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c29=['get','lowest','_handleImportedData','_trackChangesExecuted','value','_trackChangesValueDuringImport','execute','bind','enableCommand','forEach','listenTo','trackChanges','track_changes','TrackChangesEditing','collaboration_features','plugins','importWord','high','_setSuggestionData','commands','dataInsert','editor','afterInit'];(function(_0x58953c,_0x5c298c){const _0x4200ca=function(_0x17984f){while(--_0x17984f){_0x58953c['push'](_0x58953c['shift']());}};_0x4200ca(++_0x5c298c);}(_0x5c29,0x7b));const _0x4200=function(_0x58953c,_0x5c298c){_0x58953c=_0x58953c-0x0;let _0x4200ca=_0x5c29[_0x58953c];return _0x4200ca;};import{Plugin as _0x1bd3de}from'ckeditor5/src/core';export default class tt extends _0x1bd3de{constructor(_0x5aafea){super(_0x5aafea),this[_0x4200('0x14')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4200('0xe')](){const _0xe2c8e7=this[_0x4200('0xd')],_0x1810b3=_0xe2c8e7[_0x4200('0xb')][_0x4200('0xf')](_0x4200('0x8')),_0x3776ec=_0xe2c8e7[_0x4200('0xb')][_0x4200('0xf')](_0x4200('0x3'));_0x1810b3&&(_0x1810b3['on'](_0x4200('0x15'),(_0x146b08,[,_0x156ad1])=>{this['_trackChangesValueDuringImport']=_0x3776ec[_0x4200('0x13')],_0x156ad1[_0x4200('0x6')][_0x4200('0x4')]=!this[_0x4200('0x14')];},{'priority':_0x4200('0x9')}),this[_0x4200('0x2')](_0x1810b3,_0x4200('0xc'),this[_0x4200('0x11')][_0x4200('0x16')](this)),this[_0x4200('0x2')](_0x1810b3,_0x4200('0xc'),()=>{this[_0x4200('0x12')]&&(_0x3776ec[_0x4200('0x15')](),this[_0x4200('0x12')]=!0x1);},{'priority':_0x4200('0x10')}),_0xe2c8e7[_0x4200('0x7')][_0x4200('0xf')](_0x4200('0x5'))[_0x4200('0x0')](_0x4200('0x8')));}[_0x4200('0x11')](_0x229327,_0x40f664){const {suggestions:_0xc30989}=_0x40f664,_0x4da9ce=this['editor'][_0x4200('0xb')]['get'](_0x4200('0x3')),_0x175b08=_0x4da9ce[_0x4200('0x13')];this[_0x4200('0x14')]!==_0x175b08&&(_0x4da9ce[_0x4200('0x15')](),this[_0x4200('0x12')]=!0x0),_0xc30989&&_0xc30989[_0x4200('0x1')](({id:_0x38c965,type:_0x4d33ff,author:_0xfcb33,created_at:_0x215c87})=>{const _0x27f7bd={'id':_0x38c965,'type':_0x4d33ff,'authorId':this['editor']['plugins'][_0x4200('0xf')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xfcb33,'createdAt':_0x215c87?new Date(_0x215c87):new Date(),'source':_0x4200('0x8')}}};this[_0x4200('0xd')]['plugins'][_0x4200('0xf')]('TrackChangesEditing')[_0x4200('0xa')](_0x27f7bd);});}}
23
+ const _0x2d7e=['_trackChangesExecuted','track_changes','forEach','_handleImportedData','TrackChangesEditing','afterInit','editor','bind','commands','listenTo','plugins','Users','collaboration_features','get','execute','trackChanges','dataInsert','enableCommand','_trackChangesValueDuringImport','_setSuggestionData','importWord','value'];(function(_0x534756,_0x2d7e79){const _0x4862fd=function(_0x5c0b6a){while(--_0x5c0b6a){_0x534756['push'](_0x534756['shift']());}};_0x4862fd(++_0x2d7e79);}(_0x2d7e,0x1c2));const _0x4862=function(_0x534756,_0x2d7e79){_0x534756=_0x534756-0x0;let _0x4862fd=_0x2d7e[_0x534756];return _0x4862fd;};import{Plugin as _0x59b9b1}from'ckeditor5/src/core';export default class tt extends _0x59b9b1{constructor(_0x5bfbf0){super(_0x5bfbf0),this[_0x4862('0x8')]=!0x1,this[_0x4862('0xc')]=!0x1;}[_0x4862('0x11')](){const _0xb3705b=this[_0x4862('0x12')],_0x35a3ba=_0xb3705b[_0x4862('0x14')]['get']('importWord'),_0x320df0=_0xb3705b[_0x4862('0x14')]['get'](_0x4862('0x5'));_0x35a3ba&&(_0x35a3ba['on']('execute',(_0x2fa441,[,_0x3aae59])=>{this['_trackChangesValueDuringImport']=_0x320df0[_0x4862('0xb')],_0x3aae59[_0x4862('0x2')][_0x4862('0xd')]=!this[_0x4862('0x8')];},{'priority':'high'}),this[_0x4862('0x15')](_0x35a3ba,'dataInsert',this[_0x4862('0xf')][_0x4862('0x13')](this)),this[_0x4862('0x15')](_0x35a3ba,_0x4862('0x6'),()=>{this['_trackChangesExecuted']&&(_0x320df0[_0x4862('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0xb3705b['plugins'][_0x4862('0x3')](_0x4862('0x10'))[_0x4862('0x7')]('importWord'));}[_0x4862('0xf')](_0x38f5bf,_0x363859){const {suggestions:_0x5ec03c}=_0x363859,_0x14df7d=this[_0x4862('0x12')][_0x4862('0x14')]['get'](_0x4862('0x5')),_0x1389d9=_0x14df7d[_0x4862('0xb')];this['_trackChangesValueDuringImport']!==_0x1389d9&&(_0x14df7d[_0x4862('0x4')](),this[_0x4862('0xc')]=!0x0),_0x5ec03c&&_0x5ec03c[_0x4862('0xe')](({id:_0x9e8e8d,type:_0x468eae,author:_0x67d27e,created_at:_0x8e4830})=>{const _0x5cbdaa={'id':_0x9e8e8d,'type':_0x468eae,'authorId':this['editor']['plugins'][_0x4862('0x3')](_0x4862('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x67d27e,'createdAt':_0x8e4830?new Date(_0x8e4830):new Date(),'source':_0x4862('0xa')}}};this[_0x4862('0x12')][_0x4862('0x0')][_0x4862('0x3')](_0x4862('0x10'))[_0x4862('0x9')](_0x5cbdaa);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2271=['getItemLabel','TrackChangesEditing','locale','IndentEditing','_descriptionFactory','checkAttribute','outdentBlock','filter','has','afterInit','blockIndent','editor','schema','selection','registerDescriptionCallback','plugins','markBlockFormat','document','commandName','indentBlock','enableCommand','model','from','get','IndentBlock','format','change','getItems','indent','outdent','getSelectedBlocks'];(function(_0x3c3900,_0x227171){const _0x45eb7d=function(_0x35f0f1){while(--_0x35f0f1){_0x3c3900['push'](_0x3c3900['shift']());}};_0x45eb7d(++_0x227171);}(_0x2271,0x161));const _0x45eb=function(_0x3c3900,_0x227171){_0x3c3900=_0x3c3900-0x0;let _0x45eb7d=_0x2271[_0x3c3900];return _0x45eb7d;};import{Plugin as _0x1a6d7b}from'ckeditor5/src/core';import{getTranslation as _0x40f7c1}from'../utils/common-translations';export default class it extends _0x1a6d7b{[_0x45eb('0x1c')](){const _0x2f4659=this['editor'],_0x32d175=_0x2f4659['plugins'][_0x45eb('0xb')](_0x45eb('0x14'));_0x2f4659[_0x45eb('0x3')][_0x45eb('0x1b')](_0x45eb('0x16'))&&(_0x32d175[_0x45eb('0x8')](_0x45eb('0x10')),_0x32d175[_0x45eb('0x8')](_0x45eb('0x11')));const _0x1fe6b1=_0x2f4659[_0x45eb('0x15')];if(_0x2f4659[_0x45eb('0x3')]['has'](_0x45eb('0xc'))){for(const _0x47abe1 of['indentBlock',_0x45eb('0x19')])_0x32d175['enableCommand'](_0x47abe1,()=>{const _0x5f4dff=Array[_0x45eb('0xa')](this[_0x45eb('0x1e')][_0x45eb('0x9')][_0x45eb('0x5')][_0x45eb('0x1')][_0x45eb('0x12')]())[_0x45eb('0x1a')](_0x70bd6e=>this['editor'][_0x45eb('0x9')][_0x45eb('0x0')][_0x45eb('0x18')](_0x70bd6e,_0x45eb('0x1d')));_0x2f4659['model'][_0x45eb('0xe')](()=>{for(const _0x1a51ca of _0x5f4dff)_0x32d175[_0x45eb('0x4')](_0x1a51ca,{'commandName':_0x47abe1,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x32d175[_0x45eb('0x17')][_0x45eb('0x2')](_0x4dcf8e=>{const {data:_0x5be7f4}=_0x4dcf8e;if(!_0x5be7f4)return;if(_0x45eb('0x7')!=_0x5be7f4[_0x45eb('0x6')]&&_0x45eb('0x19')!=_0x5be7f4[_0x45eb('0x6')])return;const _0x2e09ab=_0x4dcf8e[_0x45eb('0xf')]()[0x0],_0x474006=_0x32d175[_0x45eb('0x17')][_0x45eb('0x13')](_0x2e09ab);return _0x45eb('0x7')==_0x5be7f4[_0x45eb('0x6')]?{'type':_0x45eb('0xd'),'content':_0x40f7c1(_0x1fe6b1,'*Indent:*\x20%0',_0x474006)}:_0x45eb('0x19')==_0x5be7f4[_0x45eb('0x6')]?{'type':'format','content':_0x40f7c1(_0x1fe6b1,'*Outdent:*\x20%0',_0x474006)}:void 0x0;});}}}
23
+ const _0x2188=['checkAttribute','outdent','TrackChangesEditing','model','from','format','outdentBlock','markBlockFormat','has','IndentEditing','schema','IndentBlock','*Outdent:*\x20%0','blockIndent','locale','afterInit','editor','getSelectedBlocks','registerDescriptionCallback','plugins','indent','filter','document','enableCommand','*Indent:*\x20%0','_descriptionFactory','indentBlock','get','commandName'];(function(_0x1f2a6c,_0x218840){const _0x405269=function(_0x5aab31){while(--_0x5aab31){_0x1f2a6c['push'](_0x1f2a6c['shift']());}};_0x405269(++_0x218840);}(_0x2188,0xe7));const _0x4052=function(_0x1f2a6c,_0x218840){_0x1f2a6c=_0x1f2a6c-0x0;let _0x405269=_0x2188[_0x1f2a6c];return _0x405269;};import{Plugin as _0x1e9003}from'ckeditor5/src/core';import{getTranslation as _0x17374e}from'../utils/common-translations';export default class it extends _0x1e9003{[_0x4052('0x10')](){const _0x4410eb=this[_0x4052('0x11')],_0x500e3c=_0x4410eb[_0x4052('0x14')][_0x4052('0x1c')](_0x4052('0x3'));_0x4410eb[_0x4052('0x14')][_0x4052('0x9')](_0x4052('0xa'))&&(_0x500e3c['enableCommand'](_0x4052('0x15')),_0x500e3c[_0x4052('0x18')](_0x4052('0x2')));const _0x28d53d=_0x4410eb[_0x4052('0xf')];if(_0x4410eb[_0x4052('0x14')][_0x4052('0x9')](_0x4052('0xc'))){for(const _0x230a1f of[_0x4052('0x1b'),'outdentBlock'])_0x500e3c['enableCommand'](_0x230a1f,()=>{const _0x25fbf3=Array[_0x4052('0x5')](this['editor'][_0x4052('0x4')][_0x4052('0x17')]['selection'][_0x4052('0x12')]())[_0x4052('0x16')](_0xe75651=>this[_0x4052('0x11')][_0x4052('0x4')][_0x4052('0xb')][_0x4052('0x1')](_0xe75651,_0x4052('0xe')));_0x4410eb[_0x4052('0x4')]['change'](()=>{for(const _0x3ae77d of _0x25fbf3)_0x500e3c[_0x4052('0x8')](_0x3ae77d,{'commandName':_0x230a1f,'commandParams':[{'value':''}],'formatGroupId':_0x4052('0x1b')});});});_0x500e3c[_0x4052('0x1a')][_0x4052('0x13')](_0x5d2c99=>{const {data:_0x22334d}=_0x5d2c99;if(!_0x22334d)return;if(_0x4052('0x1b')!=_0x22334d[_0x4052('0x0')]&&_0x4052('0x7')!=_0x22334d[_0x4052('0x0')])return;const _0x42a4c6=_0x5d2c99['getItems']()[0x0],_0x512a62=_0x500e3c[_0x4052('0x1a')]['getItemLabel'](_0x42a4c6);return _0x4052('0x1b')==_0x22334d[_0x4052('0x0')]?{'type':_0x4052('0x6'),'content':_0x17374e(_0x28d53d,_0x4052('0x19'),_0x512a62)}:_0x4052('0x7')==_0x22334d[_0x4052('0x0')]?{'type':'format','content':_0x17374e(_0x28d53d,_0x4052('0xd'),_0x512a62)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3982=['enableCommand','input','init','editor','requires','TrackChangesEditing'];(function(_0xd472ce,_0x398203){var _0x41cf55=function(_0x2f03f2){while(--_0x2f03f2){_0xd472ce['push'](_0xd472ce['shift']());}};_0x41cf55(++_0x398203);}(_0x3982,0x9b));var _0x41cf=function(_0xd472ce,_0x398203){_0xd472ce=_0xd472ce-0x0;var _0x41cf55=_0x3982[_0xd472ce];return _0x41cf55;};import{Plugin as _0x471b3d}from'ckeditor5/src/core';import{Input as _0x2e5416}from'ckeditor5/src/typing';export default class et extends _0x471b3d{static get[_0x41cf('0x5')](){return[_0x2e5416];}[_0x41cf('0x3')](){this[_0x41cf('0x4')]['plugins']['get'](_0x41cf('0x0'))[_0x41cf('0x1')](_0x41cf('0x2'));}}
23
+ var _0x3b51=['requires','editor','TrackChangesEditing','input','enableCommand','init','get','plugins'];(function(_0x327811,_0x3b5107){var _0x1ae689=function(_0x5b4557){while(--_0x5b4557){_0x327811['push'](_0x327811['shift']());}};_0x1ae689(++_0x3b5107);}(_0x3b51,0x138));var _0x1ae6=function(_0x327811,_0x3b5107){_0x327811=_0x327811-0x0;var _0x1ae689=_0x3b51[_0x327811];return _0x1ae689;};import{Plugin as _0x143799}from'ckeditor5/src/core';import{Input as _0x2da944}from'ckeditor5/src/typing';export default class et extends _0x143799{static get[_0x1ae6('0x0')](){return[_0x2da944];}[_0x1ae6('0x5')](){this[_0x1ae6('0x1')][_0x1ae6('0x7')][_0x1ae6('0x6')](_0x1ae6('0x2'))[_0x1ae6('0x4')](_0x1ae6('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x538f=['isCollapsed','commandParams','TrackChangesEditing','model','commandName','*Set\x20link:*\x20%0','hasAttribute','editor','enableCommand','format','getFirstPosition','has','linkHref','selection','unlink','markInlineFormat','link','_descriptionFactory','registerDescriptionCallback','getRanges','get','document','getAttribute','getFirstRange','change','plugins'];(function(_0x29ff71,_0x538ff7){const _0x212ddd=function(_0x1b19b1){while(--_0x1b19b1){_0x29ff71['push'](_0x29ff71['shift']());}};_0x212ddd(++_0x538ff7);}(_0x538f,0x114));const _0x212d=function(_0x29ff71,_0x538ff7){_0x29ff71=_0x29ff71-0x0;let _0x212ddd=_0x538f[_0x29ff71];return _0x212ddd;};import{Plugin as _0x24be33}from'ckeditor5/src/core';import{findAttributeRange as _0x3c0a4}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5cdc8e}from'./utils';import{getTranslation as _0x5989f3}from'../utils/common-translations';export default class nt extends _0x24be33{['afterInit'](){const _0x3c2e36=this[_0x212d('0x11')];if(!_0x3c2e36[_0x212d('0x9')][_0x212d('0x15')]('LinkEditing'))return;const _0x3ef08d=_0x3c2e36[_0x212d('0x9')][_0x212d('0x4')](_0x212d('0xc'));_0x3ef08d['enableCommand'](_0x212d('0x0'),(_0x4f8fae,_0x30f3a4)=>{const _0x56af44=_0x3c2e36['model'][_0x212d('0x5')][_0x212d('0x17')];let _0x2e06e8=[];if(_0x56af44[_0x212d('0xa')]){if(!_0x56af44[_0x212d('0x10')](_0x212d('0x16')))return void _0x4f8fae(_0x30f3a4);{const _0x5e531d=_0x3c0a4(_0x56af44[_0x212d('0x14')](),_0x212d('0x16'),_0x56af44[_0x212d('0x6')](_0x212d('0x16')),_0x3c2e36[_0x212d('0xd')]);_0x2e06e8=[_0x5e531d];}}else _0x2e06e8=Array['from'](_0x56af44[_0x212d('0x3')]());_0x3c2e36[_0x212d('0xd')][_0x212d('0x8')](()=>{for(const _0x9c93ca of _0x2e06e8)_0x3ef08d[_0x212d('0x19')](_0x9c93ca,{'commandName':_0x212d('0x0'),'commandParams':[_0x30f3a4]});});}),_0x3ef08d[_0x212d('0x12')](_0x212d('0x18'),()=>{const _0x4aca1f=this[_0x212d('0x11')][_0x212d('0xd')],_0xe3824d=_0x4aca1f['document'][_0x212d('0x17')];_0x4aca1f['change'](()=>{let _0x36a415=[];if(_0xe3824d[_0x212d('0xa')])_0x36a415=[_0x3c0a4(_0xe3824d[_0x212d('0x14')](),_0x212d('0x16'),_0xe3824d['getAttribute'](_0x212d('0x16')),_0x3c2e36[_0x212d('0xd')])];else _0x36a415=_0x5cdc8e(_0x212d('0x16'),_0xe3824d[_0x212d('0x7')](),_0x3c2e36[_0x212d('0xd')]);for(const _0x50aa69 of _0x36a415)_0x3ef08d[_0x212d('0x19')](_0x50aa69,{'commandName':_0x212d('0x18'),'commandParams':[]});});}),_0x3ef08d[_0x212d('0x1')][_0x212d('0x2')](_0x41d52d=>{const {data:_0x5c9977}=_0x41d52d,_0x5c10b7=_0x3c2e36['locale'];if(_0x5c9977){if(_0x212d('0x0')==_0x5c9977[_0x212d('0xe')]){const _0x1a44e7=_0x5c9977[_0x212d('0xb')][0x0];return{'type':_0x212d('0x13'),'content':_0x5989f3(_0x5c10b7,_0x212d('0xf'),'\x22'+_0x1a44e7+'\x22')};}return _0x212d('0x18')==_0x5c9977[_0x212d('0xe')]?{'type':_0x212d('0x13'),'content':_0x5989f3(_0x5c10b7,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x3c1e=['LinkEditing','format','selection','getFirstPosition','plugins','getRanges','unlink','afterInit','editor','getFirstRange','isCollapsed','getAttribute','change','link','markInlineFormat','linkHref','*Remove\x20link*','_descriptionFactory','registerDescriptionCallback','document','locale','from','commandName','model','enableCommand'];(function(_0x3e6918,_0x3c1eaa){const _0x2098b6=function(_0x323197){while(--_0x323197){_0x3e6918['push'](_0x3e6918['shift']());}};_0x2098b6(++_0x3c1eaa);}(_0x3c1e,0x16a));const _0x2098=function(_0x3e6918,_0x3c1eaa){_0x3e6918=_0x3e6918-0x0;let _0x2098b6=_0x3c1e[_0x3e6918];return _0x2098b6;};import{Plugin as _0x460786}from'ckeditor5/src/core';import{findAttributeRange as _0x472ecb}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1ec205}from'./utils';import{getTranslation as _0x2bf856}from'../utils/common-translations';export default class nt extends _0x460786{[_0x2098('0x14')](){const _0x4f8b77=this[_0x2098('0x15')];if(!_0x4f8b77[_0x2098('0x11')]['has'](_0x2098('0xd')))return;const _0x1edf64=_0x4f8b77[_0x2098('0x11')]['get']('TrackChangesEditing');_0x1edf64[_0x2098('0xc')]('link',(_0x17b807,_0x39eba5)=>{const _0x13c3ab=_0x4f8b77[_0x2098('0xb')][_0x2098('0x7')][_0x2098('0xf')];let _0x1106b5=[];if(_0x13c3ab[_0x2098('0x17')]){if(!_0x13c3ab['hasAttribute']('linkHref'))return void _0x17b807(_0x39eba5);{const _0x5db1bf=_0x472ecb(_0x13c3ab['getFirstPosition'](),_0x2098('0x3'),_0x13c3ab[_0x2098('0x18')](_0x2098('0x3')),_0x4f8b77[_0x2098('0xb')]);_0x1106b5=[_0x5db1bf];}}else _0x1106b5=Array[_0x2098('0x9')](_0x13c3ab[_0x2098('0x12')]());_0x4f8b77[_0x2098('0xb')][_0x2098('0x0')](()=>{for(const _0x50d568 of _0x1106b5)_0x1edf64[_0x2098('0x2')](_0x50d568,{'commandName':_0x2098('0x1'),'commandParams':[_0x39eba5]});});}),_0x1edf64['enableCommand'](_0x2098('0x13'),()=>{const _0x199df8=this[_0x2098('0x15')]['model'],_0x36e8c0=_0x199df8['document'][_0x2098('0xf')];_0x199df8['change'](()=>{let _0x3bf2c6=[];if(_0x36e8c0[_0x2098('0x17')])_0x3bf2c6=[_0x472ecb(_0x36e8c0[_0x2098('0x10')](),_0x2098('0x3'),_0x36e8c0[_0x2098('0x18')](_0x2098('0x3')),_0x4f8b77[_0x2098('0xb')])];else _0x3bf2c6=_0x1ec205(_0x2098('0x3'),_0x36e8c0[_0x2098('0x16')](),_0x4f8b77[_0x2098('0xb')]);for(const _0x38473a of _0x3bf2c6)_0x1edf64[_0x2098('0x2')](_0x38473a,{'commandName':_0x2098('0x13'),'commandParams':[]});});}),_0x1edf64[_0x2098('0x5')][_0x2098('0x6')](_0x32d344=>{const {data:_0x543c49}=_0x32d344,_0x53a38a=_0x4f8b77[_0x2098('0x8')];if(_0x543c49){if(_0x2098('0x1')==_0x543c49[_0x2098('0xa')]){const _0x376c44=_0x543c49['commandParams'][0x0];return{'type':_0x2098('0xe'),'content':_0x2bf856(_0x53a38a,'*Set\x20link:*\x20%0','\x22'+_0x376c44+'\x22')};}return'unlink'==_0x543c49[_0x2098('0xa')]?{'type':_0x2098('0xe'),'content':_0x2bf856(_0x53a38a,_0x2098('0x4'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe7ab=['TrackChangesEditing','schema','has','nextSibling','createPositionAt','blockName','*Change\x20to:*\x20%0','numbered','outdentList','getAttribute','name','forceValue','document','*Outdent:*\x20%0','listItem','*Uncheck\x20item*','_descriptionFactory','change','indentList','bulleted','registerDescriptionCallback','listIndent','*Check\x20item*','filter','editor','from','List','push','get','createRange','afterInit','todoList','numberedList','locale','previousSibling','add','plugins','execute','element','before','parent','enableCommand','checkTodoList','commands','model','selection','bulletedList','ELEMENT_LIST_ITEM','markBlockFormat','slice','todo','isObject','format','registerElementLabel','listType','commandName','ELEMENT_BULLETED_LIST','value','commandParams'];(function(_0x1f7351,_0xe7ab8e){const _0x5cdc3d=function(_0x5450fb){while(--_0x5450fb){_0x1f7351['push'](_0x1f7351['shift']());}};_0x5cdc3d(++_0xe7ab8e);}(_0xe7ab,0xe8));const _0x5cdc=function(_0x1f7351,_0xe7ab8e){_0x1f7351=_0x1f7351-0x0;let _0x5cdc3d=_0xe7ab[_0x1f7351];return _0x5cdc3d;};import{Plugin as _0x3b3d00}from'ckeditor5/src/core';import{getTranslation as _0x524c5a}from'../utils/common-translations';export default class st extends _0x3b3d00{[_0x5cdc('0x22')](){const _0x40007f=this[_0x5cdc('0x1c')],_0x47e30f=_0x40007f[_0x5cdc('0x25')];if(!_0x40007f[_0x5cdc('0x28')][_0x5cdc('0x6')]('ListEditing'))return;const _0x170978=_0x40007f['plugins'][_0x5cdc('0x20')](_0x5cdc('0x4')),_0x1ec52b=_0x40007f[_0x5cdc('0x28')][_0x5cdc('0x6')]('TodoListEditing');function _0x95e52d(_0x178a60){return()=>{const _0x7fb9b9=_0x40007f['model']['document'][_0x5cdc('0x31')],_0x50893c=_0x40007f['commands']['get'](_0x178a60);if(_0x50893c['value'])return void _0x40007f[_0x5cdc('0x29')]('paragraph',{});const _0x5afefb=_0x178a60[_0x5cdc('0x35')](0x0,-0x4),_0x168f9f=function(_0x217f28,_0x4c07e9,_0x1b6687){let _0x292c95=Array[_0x5cdc('0x1d')](_0x217f28)[_0x5cdc('0x1b')](_0x318de0=>function(_0x3c33f3,_0x3949ec){return _0x3949ec['checkChild'](_0x3c33f3[_0x5cdc('0x2c')],_0x5cdc('0x12'))&&!_0x3949ec[_0x5cdc('0x37')](_0x3c33f3);}(_0x318de0,_0x1b6687));_0x292c95=_0x292c95[_0x5cdc('0x1b')](_0xc5d17b=>!_0xc5d17b['is'](_0x5cdc('0x2a'),_0x5cdc('0x12'))||_0xc5d17b[_0x5cdc('0xd')](_0x5cdc('0x3a'))!=_0x4c07e9);const _0x25d434=new Set();for(const _0x539c3a of _0x292c95)_0x539c3a['is'](_0x5cdc('0x2a'),'listItem')?_0x25d434[_0x5cdc('0x27')](ne(_0x539c3a)):_0x25d434['add'](_0x539c3a);return Array[_0x5cdc('0x1d')](_0x25d434);}(_0x7fb9b9['getSelectedBlocks'](),_0x5afefb,_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x5')]);_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x15')](()=>{for(const _0x29aafb of _0x168f9f)_0x170978['markBlockFormat'](_0x29aafb,{'commandName':_0x178a60,'commandParams':[{'forceValue':!_0x50893c[_0x5cdc('0x2')]}],'formatGroupId':_0x5cdc('0x9')},oe(_0x29aafb));});};}function _0xb6731a(_0x4e9465){return()=>{const _0xb82e0=function(_0x4f97f7){let _0x5c6cf6=Array[_0x5cdc('0x1d')](_0x4f97f7);const _0x1adfc8=_0x5c6cf6['findIndex'](_0x118fd2=>_0x5cdc('0x12')!=_0x118fd2['name']);return _0x1adfc8>-0x1&&(_0x5c6cf6=_0x5c6cf6[_0x5cdc('0x35')](0x0,_0x1adfc8)),_0x5c6cf6;}(_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x10')][_0x5cdc('0x31')]['getSelectedBlocks']()),_0x50cfec=_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x21')](_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x8')](_0xb82e0[0x0],_0x5cdc('0x2b')),_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x8')](_0xb82e0[_0xb82e0['length']-0x1],'end'));_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x15')](()=>{_0x170978[_0x5cdc('0x34')](_0x50cfec,{'commandName':_0x4e9465,'commandParams':[],'formatGroupId':_0x5cdc('0x19')},function(_0x5a5bb9){const _0x1ac2cd=new Set();for(const _0x4b75c4 of _0x5a5bb9){let _0x5a3178=_0x4b75c4[_0x5cdc('0x7')];for(;_0x5a3178&&_0x5a3178[_0x5cdc('0xd')](_0x5cdc('0x19'))>_0x4b75c4[_0x5cdc('0xd')](_0x5cdc('0x19'));)_0x1ac2cd[_0x5cdc('0x27')](_0x5a3178),_0x5a3178=_0x5a3178[_0x5cdc('0x7')];}return Array['from'](_0x1ac2cd);}(_0xb82e0));});};}_0x170978['enableCommand'](_0x5cdc('0x24'),_0x95e52d(_0x5cdc('0x24'))),_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x32'),_0x95e52d(_0x5cdc('0x32'))),_0x1ec52b&&_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x23'),_0x95e52d(_0x5cdc('0x23'))),_0x170978[_0x5cdc('0x2d')]('indentList',_0xb6731a(_0x5cdc('0x16'))),_0x170978['enableCommand'](_0x5cdc('0xc'),_0xb6731a(_0x5cdc('0xc'))),_0x1ec52b&&_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x2e'),()=>{const _0x1317fb=_0x40007f[_0x5cdc('0x2f')]['get']('checkTodoList'),_0x27f33a=Array[_0x5cdc('0x1d')](_0x1317fb['_selectedElements']);_0x27f33a['filter'](_0x553ec5=>_0x553ec5[_0x5cdc('0xd')]('todoListChecked')!=_0x1317fb['value']),_0x40007f[_0x5cdc('0x30')]['change'](()=>{for(const _0x127838 of _0x27f33a)_0x170978['markBlockFormat'](_0x127838,{'commandName':_0x5cdc('0x2e'),'commandParams':[{'forceValue':!_0x1317fb[_0x5cdc('0x2')]}]});});}),_0x170978[_0x5cdc('0x14')][_0x5cdc('0x39')]('listItem',_0xad80c7=>_0x524c5a(_0x47e30f,_0x5cdc('0x33'),_0xad80c7)),_0x170978[_0x5cdc('0x14')][_0x5cdc('0x18')](_0x1ca438=>{const {data:_0x3705d1}=_0x1ca438;if(_0x3705d1){if(_0x5cdc('0x24')==_0x3705d1[_0x5cdc('0x0')]||_0x5cdc('0x32')==_0x3705d1['commandName']||_0x5cdc('0x23')==_0x3705d1['commandName'])switch(_0x3705d1[_0x5cdc('0x0')]['replace'](_0x5cdc('0x1e'),'')){case _0x5cdc('0x17'):return _0x3a17ef(_0x524c5a(_0x47e30f,_0x5cdc('0x1')));case _0x5cdc('0xb'):return _0x3a17ef(_0x524c5a(_0x47e30f,'ELEMENT_NUMBERED_LIST'));case _0x5cdc('0x36'):return _0x3a17ef(_0x524c5a(_0x47e30f,'ELEMENT_TODO_LIST'));}if(_0x5cdc('0x16')==_0x3705d1[_0x5cdc('0x0')])return{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,'*Indent:*\x20%0',_0x524c5a(_0x47e30f,_0x5cdc('0x33')))};if(_0x5cdc('0xc')==_0x3705d1[_0x5cdc('0x0')])return{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,_0x5cdc('0x11'),_0x524c5a(_0x47e30f,_0x5cdc('0x33')))};if(_0x5cdc('0x2e')==_0x3705d1[_0x5cdc('0x0')])return _0x3705d1[_0x5cdc('0x3')][0x0][_0x5cdc('0xf')]?{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,_0x5cdc('0x1a'))}:{'type':'format','content':_0x524c5a(_0x47e30f,_0x5cdc('0x13'))};}function _0x3a17ef(_0x36f887){return{'type':'format','content':_0x524c5a(_0x47e30f,_0x5cdc('0xa'),_0x36f887)};}});}}function ne(_0xacefc9){const _0x1f80d3=_0xacefc9[_0x5cdc('0xd')](_0x5cdc('0x19'));if(0x0==_0x1f80d3)return _0xacefc9;let _0x2bf2d1=_0xacefc9;for(;_0xacefc9[_0x5cdc('0x26')]&&_0xacefc9[_0x5cdc('0x26')]['is'](_0x5cdc('0x2a'),_0x5cdc('0x12'));){const _0x3fb705=_0xacefc9['previousSibling'][_0x5cdc('0xd')](_0x5cdc('0x19'));if(_0x3fb705==_0x1f80d3)_0x2bf2d1=_0xacefc9[_0x5cdc('0x26')];else{if(_0x3fb705<_0x1f80d3)break;}_0xacefc9=_0xacefc9['previousSibling'];}return _0x2bf2d1;}function oe(_0x47d26e){const _0x30856a=[];if(_0x47d26e['is'](_0x5cdc('0x2a'),'listItem')&&_0x47d26e[_0x5cdc('0xd')](_0x5cdc('0x19'))>0x0){let _0x8d5ef4=_0x47d26e[_0x5cdc('0x7')];for(;_0x8d5ef4&&_0x5cdc('0x12')==_0x8d5ef4[_0x5cdc('0xe')]&&_0x8d5ef4[_0x5cdc('0xd')](_0x5cdc('0x19'))==_0x47d26e[_0x5cdc('0xd')](_0x5cdc('0x19'));)_0x30856a[_0x5cdc('0x1f')](_0x8d5ef4),_0x8d5ef4=_0x8d5ef4[_0x5cdc('0x7')];}return _0x30856a;}
23
+ const _0x202a=['previousSibling','commands','todoList','forceValue','length','push','List','execute','createPositionAt','ELEMENT_TODO_LIST','getAttribute','commandName','add','checkChild','editor','markBlockFormat','name','format','schema','checkTodoList','selection','before','todo','ELEMENT_BULLETED_LIST','locale','isObject','model','nextSibling','commandParams','afterInit','getSelectedBlocks','numberedList','filter','end','listItem','enableCommand','*Change\x20to:*\x20%0','blockName','outdentList','ListEditing','slice','replace','indentList','plugins','paragraph','*Indent:*\x20%0','_descriptionFactory','numbered','TodoListEditing','element','get','*Check\x20item*','ELEMENT_NUMBERED_LIST','createRange','TrackChangesEditing','*Uncheck\x20item*','parent','has','registerDescriptionCallback','listIndent','bulletedList','listType','change','value'];(function(_0x3dc4c0,_0x202af7){const _0x341fb4=function(_0xd4d568){while(--_0xd4d568){_0x3dc4c0['push'](_0x3dc4c0['shift']());}};_0x341fb4(++_0x202af7);}(_0x202a,0x167));const _0x341f=function(_0x3dc4c0,_0x202af7){_0x3dc4c0=_0x3dc4c0-0x0;let _0x341fb4=_0x202a[_0x3dc4c0];return _0x341fb4;};import{Plugin as _0x266ecb}from'ckeditor5/src/core';import{getTranslation as _0x56387b}from'../utils/common-translations';export default class st extends _0x266ecb{[_0x341f('0x36')](){const _0x171f46=this[_0x341f('0x27')],_0x596a89=_0x171f46[_0x341f('0x31')];if(!_0x171f46[_0x341f('0x4')][_0x341f('0x12')](_0x341f('0x0')))return;const _0x4816c4=_0x171f46[_0x341f('0x4')]['get'](_0x341f('0xf')),_0x291159=_0x171f46[_0x341f('0x4')][_0x341f('0x12')](_0x341f('0x9'));function _0x180a72(_0x3fd8b4){return()=>{const _0x65b72f=_0x171f46[_0x341f('0x33')]['document'][_0x341f('0x2d')],_0x472ae9=_0x171f46[_0x341f('0x1a')][_0x341f('0xb')](_0x3fd8b4);if(_0x472ae9[_0x341f('0x18')])return void _0x171f46[_0x341f('0x20')](_0x341f('0x5'),{});const _0x1c62c9=_0x3fd8b4[_0x341f('0x1')](0x0,-0x4),_0x55dbea=function(_0x47471a,_0x4ee888,_0x102344){let _0x31eaa5=Array['from'](_0x47471a)[_0x341f('0x39')](_0xee7a30=>function(_0x42654e,_0x37cc6a){return _0x37cc6a[_0x341f('0x26')](_0x42654e[_0x341f('0x11')],_0x341f('0x3b'))&&!_0x37cc6a[_0x341f('0x32')](_0x42654e);}(_0xee7a30,_0x102344));_0x31eaa5=_0x31eaa5[_0x341f('0x39')](_0x267cca=>!_0x267cca['is'](_0x341f('0xa'),'listItem')||_0x267cca[_0x341f('0x23')](_0x341f('0x16'))!=_0x4ee888);const _0x1b6bc9=new Set();for(const _0x4853b5 of _0x31eaa5)_0x4853b5['is'](_0x341f('0xa'),_0x341f('0x3b'))?_0x1b6bc9['add'](ne(_0x4853b5)):_0x1b6bc9[_0x341f('0x25')](_0x4853b5);return Array['from'](_0x1b6bc9);}(_0x65b72f[_0x341f('0x37')](),_0x1c62c9,_0x171f46[_0x341f('0x33')][_0x341f('0x2b')]);_0x171f46['model'][_0x341f('0x17')](()=>{for(const _0x2fa4b7 of _0x55dbea)_0x4816c4[_0x341f('0x28')](_0x2fa4b7,{'commandName':_0x3fd8b4,'commandParams':[{'forceValue':!_0x472ae9[_0x341f('0x18')]}],'formatGroupId':_0x341f('0x3e')},oe(_0x2fa4b7));});};}function _0x119239(_0xa5a5e6){return()=>{const _0x24e550=function(_0x568c3b){let _0x5de8f5=Array['from'](_0x568c3b);const _0x199d58=_0x5de8f5['findIndex'](_0xea4aba=>_0x341f('0x3b')!=_0xea4aba[_0x341f('0x29')]);return _0x199d58>-0x1&&(_0x5de8f5=_0x5de8f5[_0x341f('0x1')](0x0,_0x199d58)),_0x5de8f5;}(_0x171f46['model']['document']['selection'][_0x341f('0x37')]()),_0x5238e0=_0x171f46['model'][_0x341f('0xe')](_0x171f46[_0x341f('0x33')][_0x341f('0x21')](_0x24e550[0x0],_0x341f('0x2e')),_0x171f46['model'][_0x341f('0x21')](_0x24e550[_0x24e550[_0x341f('0x1d')]-0x1],_0x341f('0x3a')));_0x171f46[_0x341f('0x33')][_0x341f('0x17')](()=>{_0x4816c4[_0x341f('0x28')](_0x5238e0,{'commandName':_0xa5a5e6,'commandParams':[],'formatGroupId':_0x341f('0x14')},function(_0x167e0e){const _0x3cfca8=new Set();for(const _0x1791d3 of _0x167e0e){let _0xa585ee=_0x1791d3[_0x341f('0x34')];for(;_0xa585ee&&_0xa585ee[_0x341f('0x23')](_0x341f('0x14'))>_0x1791d3[_0x341f('0x23')](_0x341f('0x14'));)_0x3cfca8[_0x341f('0x25')](_0xa585ee),_0xa585ee=_0xa585ee['nextSibling'];}return Array['from'](_0x3cfca8);}(_0x24e550));});};}_0x4816c4['enableCommand']('numberedList',_0x180a72(_0x341f('0x38'))),_0x4816c4[_0x341f('0x3c')](_0x341f('0x15'),_0x180a72(_0x341f('0x15'))),_0x291159&&_0x4816c4[_0x341f('0x3c')](_0x341f('0x1b'),_0x180a72(_0x341f('0x1b'))),_0x4816c4['enableCommand'](_0x341f('0x3'),_0x119239(_0x341f('0x3'))),_0x4816c4[_0x341f('0x3c')]('outdentList',_0x119239(_0x341f('0x3f'))),_0x291159&&_0x4816c4['enableCommand'](_0x341f('0x2c'),()=>{const _0xab399b=_0x171f46[_0x341f('0x1a')][_0x341f('0xb')]('checkTodoList'),_0x502baa=Array['from'](_0xab399b['_selectedElements']);_0x502baa[_0x341f('0x39')](_0x13844c=>_0x13844c[_0x341f('0x23')]('todoListChecked')!=_0xab399b['value']),_0x171f46[_0x341f('0x33')][_0x341f('0x17')](()=>{for(const _0x140ad4 of _0x502baa)_0x4816c4[_0x341f('0x28')](_0x140ad4,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0xab399b[_0x341f('0x18')]}]});});}),_0x4816c4[_0x341f('0x7')]['registerElementLabel'](_0x341f('0x3b'),_0x29e4ab=>_0x56387b(_0x596a89,'ELEMENT_LIST_ITEM',_0x29e4ab)),_0x4816c4[_0x341f('0x7')][_0x341f('0x13')](_0x81596d=>{const {data:_0x10e330}=_0x81596d;if(_0x10e330){if(_0x341f('0x38')==_0x10e330[_0x341f('0x24')]||_0x341f('0x15')==_0x10e330[_0x341f('0x24')]||_0x341f('0x1b')==_0x10e330['commandName'])switch(_0x10e330[_0x341f('0x24')][_0x341f('0x2')](_0x341f('0x1f'),'')){case'bulleted':return _0x4331c2(_0x56387b(_0x596a89,_0x341f('0x30')));case _0x341f('0x8'):return _0x4331c2(_0x56387b(_0x596a89,_0x341f('0xd')));case _0x341f('0x2f'):return _0x4331c2(_0x56387b(_0x596a89,_0x341f('0x22')));}if('indentList'==_0x10e330[_0x341f('0x24')])return{'type':_0x341f('0x2a'),'content':_0x56387b(_0x596a89,_0x341f('0x6'),_0x56387b(_0x596a89,'ELEMENT_LIST_ITEM'))};if(_0x341f('0x3f')==_0x10e330[_0x341f('0x24')])return{'type':'format','content':_0x56387b(_0x596a89,'*Outdent:*\x20%0',_0x56387b(_0x596a89,'ELEMENT_LIST_ITEM'))};if(_0x341f('0x2c')==_0x10e330[_0x341f('0x24')])return _0x10e330[_0x341f('0x35')][0x0][_0x341f('0x1c')]?{'type':_0x341f('0x2a'),'content':_0x56387b(_0x596a89,_0x341f('0xc'))}:{'type':'format','content':_0x56387b(_0x596a89,_0x341f('0x10'))};}function _0x4331c2(_0x207637){return{'type':_0x341f('0x2a'),'content':_0x56387b(_0x596a89,_0x341f('0x3d'),_0x207637)};}});}}function ne(_0x1a118a){const _0x51c642=_0x1a118a[_0x341f('0x23')]('listIndent');if(0x0==_0x51c642)return _0x1a118a;let _0x1c2692=_0x1a118a;for(;_0x1a118a[_0x341f('0x19')]&&_0x1a118a[_0x341f('0x19')]['is']('element',_0x341f('0x3b'));){const _0x1d5e6b=_0x1a118a[_0x341f('0x19')][_0x341f('0x23')](_0x341f('0x14'));if(_0x1d5e6b==_0x51c642)_0x1c2692=_0x1a118a['previousSibling'];else{if(_0x1d5e6b<_0x51c642)break;}_0x1a118a=_0x1a118a[_0x341f('0x19')];}return _0x1c2692;}function oe(_0x5e5a70){const _0x523a5c=[];if(_0x5e5a70['is'](_0x341f('0xa'),_0x341f('0x3b'))&&_0x5e5a70['getAttribute'](_0x341f('0x14'))>0x0){let _0x1e253c=_0x5e5a70[_0x341f('0x34')];for(;_0x1e253c&&_0x341f('0x3b')==_0x1e253c[_0x341f('0x29')]&&_0x1e253c[_0x341f('0x23')](_0x341f('0x14'))==_0x5e5a70['getAttribute'](_0x341f('0x14'));)_0x523a5c[_0x341f('0x1e')](_0x1e253c),_0x1e253c=_0x1e253c[_0x341f('0x34')];}return _0x523a5c;}