@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.0 → 0.0.0-nightly-20230726.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5040=['get','fontColor.colors','FontSizeEditing','has','FontColorEditing','trim','selection','value','fontBackgroundColor','format','toLowerCase','*Reset\x20font\x20size*','config','*Set\x20font\x20family:*\x20%0','TrackChangesEditing','editor','_enableCommand','isCollapsed','label','model','*Set\x20font\x20background\x20color:*\x20%0','FontFamilyEditing','getRanges','*Reset\x20font\x20family*','commandParams','fontBackgroundColor.colors','*Reset\x20font\x20color*','FontBackgroundColorEditing','FontSize','from','markInlineFormat','afterInit','commandName','title','document','plugins','fontSize','fontColor','fontFamily','*Set\x20font\x20color:*\x20%0','locale','_descriptionFactory'];(function(_0x277c0e,_0x50405c){const _0x16f21f=function(_0x4884d4){while(--_0x4884d4){_0x277c0e['push'](_0x277c0e['shift']());}};_0x16f21f(++_0x50405c);}(_0x5040,0x10a));const _0x16f2=function(_0x277c0e,_0x50405c){_0x277c0e=_0x277c0e-0x0;let _0x16f21f=_0x5040[_0x277c0e];return _0x16f21f;};import{Plugin as _0x378088}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5adcb3}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x49148b}from'./utils';import{getTranslation as _0x4ca6cf}from'../utils/common-translations';const Zt=[{'pluginName':_0x16f2('0x1e'),'commandName':_0x16f2('0x16')},{'pluginName':_0x16f2('0x7'),'commandName':_0x16f2('0x18')},{'pluginName':_0x16f2('0x20'),'commandName':_0x16f2('0x17')},{'pluginName':_0x16f2('0xd'),'commandName':'fontBackgroundColor'}];export default class H extends _0x378088{[_0x16f2('0x11')](){const _0x547c3d=this[_0x16f2('0x1')][_0x16f2('0x1a')];for(const {pluginName:_0x482189,commandName:_0xcf46f}of Zt)this[_0x16f2('0x1')][_0x16f2('0x15')][_0x16f2('0x1f')](_0x482189)&&this[_0x16f2('0x2')](_0xcf46f);this['editor'][_0x16f2('0x15')][_0x16f2('0x1c')]('TrackChangesEditing')[_0x16f2('0x1b')]['registerDescriptionCallback'](_0x383552=>{const _0x32e6bb=_0x547c3d['t'],{data:_0x132c22}=_0x383552;if(null!=_0x132c22){if(_0x16f2('0x16')==_0x132c22['commandName']){const _0x22b013=_0x132c22[_0x16f2('0xa')][0x0][_0x16f2('0x23')];if(_0x22b013){const _0x41a2be=_0x32e6bb(this[_0x16f2('0x1')][_0x16f2('0x15')][_0x16f2('0x1c')](_0x16f2('0xe'))['normalizeSizeOptions'](this[_0x16f2('0x1')][_0x16f2('0x28')]['get']('fontSize.options'))['find'](_0x1dce15=>_0x1dce15[_0x16f2('0x5')]==_0x22b013)[_0x16f2('0x13')])[_0x16f2('0x26')]();return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,'*Set\x20font\x20size:*\x20%0',_0x41a2be)};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0x27'))};}if(_0x16f2('0x18')==_0x132c22['commandName']){const _0x36585e=_0x132c22[_0x16f2('0xa')][0x0]['value'];return _0x36585e?{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x29'),_0x36585e)}:{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x9'))};}if('fontColor'==_0x132c22['commandName']){const _0x373f1a=_0x132c22[_0x16f2('0xa')][0x0][_0x16f2('0x23')];if(_0x373f1a){const _0x3dd984=_0x5adcb3(this[_0x16f2('0x1')][_0x16f2('0x28')][_0x16f2('0x1c')](_0x16f2('0x1d')))['find'](_0x29fc11=>_0x29fc11[_0x16f2('0x5')]==_0x373f1a);let _0x1d8e8e=_0x373f1a,_0x27a1ec='';return _0x3dd984&&(_0x1d8e8e=_0x3dd984[_0x16f2('0x4')],_0x27a1ec=_0x32e6bb(_0x1d8e8e)[_0x16f2('0x26')]()),{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x19'),_0x27a1ec)[_0x16f2('0x21')](),'color':{'value':_0x373f1a,'title':_0x27a1ec||_0x1d8e8e}};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0xc'))};}if(_0x16f2('0x24')==_0x132c22[_0x16f2('0x12')]){const _0x3a1f89=_0x132c22[_0x16f2('0xa')][0x0]['value'];if(_0x3a1f89){const _0x47a5f7=_0x5adcb3(this[_0x16f2('0x1')][_0x16f2('0x28')][_0x16f2('0x1c')](_0x16f2('0xb')))['find'](_0x23b1a3=>_0x23b1a3['model']==_0x3a1f89);let _0x11c319=_0x3a1f89,_0x2f9c58='';return _0x47a5f7&&(_0x11c319=_0x47a5f7[_0x16f2('0x4')],_0x2f9c58=_0x32e6bb(_0x11c319)[_0x16f2('0x26')]()),{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0x6'),_0x2f9c58)[_0x16f2('0x21')](),'color':{'value':_0x3a1f89,'title':_0x2f9c58||_0x11c319}};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,'*Reset\x20font\x20background\x20color*')};}}});}[_0x16f2('0x2')](_0x16402e){const _0x11826f=this[_0x16f2('0x1')];_0x11826f[_0x16f2('0x15')][_0x16f2('0x1c')](_0x16f2('0x0'))['enableCommand'](_0x16402e,(_0x2078e5,_0x18c62f={})=>{const _0x1dc5d4=_0x11826f[_0x16f2('0x5')][_0x16f2('0x14')][_0x16f2('0x22')],_0x191ed0=_0x18c62f[_0x16f2('0x23')];_0x1dc5d4[_0x16f2('0x3')]?_0x2078e5(_0x18c62f):_0x11826f['model']['change'](()=>{const _0x1eedc1=Array[_0x16f2('0xf')](_0x1dc5d4[_0x16f2('0x8')]());for(const _0x4cdc53 of _0x1eedc1){const _0x14b33e=_0x191ed0?[_0x4cdc53]:_0x49148b(_0x16402e,_0x4cdc53,_0x11826f[_0x16f2('0x5')]);for(const _0x831176 of _0x14b33e)_0x11826f[_0x16f2('0x15')][_0x16f2('0x1c')]('TrackChangesEditing')[_0x16f2('0x10')](_0x831176,{'commandName':_0x16402e,'commandParams':[{'value':_0x191ed0}]});}});});}}
23
+ const _0x9007=['FontColorEditing','change','selection','afterInit','*Set\x20font\x20color:*\x20%0','from','TrackChangesEditing','document','config','editor','commandParams','*Reset\x20font\x20size*','normalizeSizeOptions','FontFamilyEditing','value','*Reset\x20font\x20background\x20color*','registerDescriptionCallback','FontBackgroundColorEditing','plugins','FontSizeEditing','get','label','fontSize','fontFamily','commandName','model','*Set\x20font\x20family:*\x20%0','_descriptionFactory','toLowerCase','title','fontColor','*Reset\x20font\x20family*','getRanges','fontSize.options','format','markInlineFormat','find','*Reset\x20font\x20color*','FontSize'];(function(_0x3eb317,_0x9007a7){const _0x7669b6=function(_0x23bf1b){while(--_0x23bf1b){_0x3eb317['push'](_0x3eb317['shift']());}};_0x7669b6(++_0x9007a7);}(_0x9007,0x16b));const _0x7669=function(_0x3eb317,_0x9007a7){_0x3eb317=_0x3eb317-0x0;let _0x7669b6=_0x9007[_0x3eb317];return _0x7669b6;};import{Plugin as _0x2cc3c0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x417724}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x414dcc}from'./utils';import{getTranslation as _0x25492b}from'../utils/common-translations';const Zt=[{'pluginName':_0x7669('0x7'),'commandName':'fontSize'},{'pluginName':_0x7669('0x1'),'commandName':'fontFamily'},{'pluginName':_0x7669('0x1b'),'commandName':_0x7669('0x12')},{'pluginName':_0x7669('0x5'),'commandName':'fontBackgroundColor'}];export default class H extends _0x2cc3c0{[_0x7669('0x1e')](){const _0x1efce5=this[_0x7669('0x24')]['locale'];for(const {pluginName:_0x3682ef,commandName:_0x22b6fd}of Zt)this[_0x7669('0x24')][_0x7669('0x6')]['has'](_0x3682ef)&&this['_enableCommand'](_0x22b6fd);this[_0x7669('0x24')][_0x7669('0x6')][_0x7669('0x8')](_0x7669('0x21'))[_0x7669('0xf')][_0x7669('0x4')](_0x585cb9=>{const _0x404838=_0x1efce5['t'],{data:_0x2bf55c}=_0x585cb9;if(null!=_0x2bf55c){if(_0x7669('0xa')==_0x2bf55c['commandName']){const _0x1f82bc=_0x2bf55c[_0x7669('0x25')][0x0]['value'];if(_0x1f82bc){const _0x28f524=_0x404838(this[_0x7669('0x24')][_0x7669('0x6')][_0x7669('0x8')](_0x7669('0x1a'))[_0x7669('0x0')](this[_0x7669('0x24')][_0x7669('0x23')]['get'](_0x7669('0x15')))[_0x7669('0x18')](_0x34a2c4=>_0x34a2c4[_0x7669('0xd')]==_0x1f82bc)[_0x7669('0x11')])[_0x7669('0x10')]();return{'type':'format','content':_0x25492b(_0x1efce5,'*Set\x20font\x20size:*\x20%0',_0x28f524)};}return{'type':_0x7669('0x16'),'content':_0x25492b(_0x1efce5,_0x7669('0x26'))};}if(_0x7669('0xb')==_0x2bf55c[_0x7669('0xc')]){const _0x1fe46d=_0x2bf55c['commandParams'][0x0][_0x7669('0x2')];return _0x1fe46d?{'type':_0x7669('0x16'),'content':_0x25492b(_0x1efce5,_0x7669('0xe'),_0x1fe46d)}:{'type':'format','content':_0x25492b(_0x1efce5,_0x7669('0x13'))};}if('fontColor'==_0x2bf55c[_0x7669('0xc')]){const _0x45eddd=_0x2bf55c['commandParams'][0x0][_0x7669('0x2')];if(_0x45eddd){const _0x19e99a=_0x417724(this['editor'][_0x7669('0x23')][_0x7669('0x8')]('fontColor.colors'))[_0x7669('0x18')](_0x247ed4=>_0x247ed4[_0x7669('0xd')]==_0x45eddd);let _0x260877=_0x45eddd,_0x16cc85='';return _0x19e99a&&(_0x260877=_0x19e99a[_0x7669('0x9')],_0x16cc85=_0x404838(_0x260877)[_0x7669('0x10')]()),{'type':_0x7669('0x16'),'content':_0x25492b(_0x1efce5,_0x7669('0x1f'),_0x16cc85)['trim'](),'color':{'value':_0x45eddd,'title':_0x16cc85||_0x260877}};}return{'type':'format','content':_0x25492b(_0x1efce5,_0x7669('0x19'))};}if('fontBackgroundColor'==_0x2bf55c['commandName']){const _0x4c87a9=_0x2bf55c[_0x7669('0x25')][0x0][_0x7669('0x2')];if(_0x4c87a9){const _0x2e2a2f=_0x417724(this[_0x7669('0x24')][_0x7669('0x23')][_0x7669('0x8')]('fontBackgroundColor.colors'))[_0x7669('0x18')](_0x2c5a2a=>_0x2c5a2a[_0x7669('0xd')]==_0x4c87a9);let _0x5ccd1a=_0x4c87a9,_0x4000b1='';return _0x2e2a2f&&(_0x5ccd1a=_0x2e2a2f[_0x7669('0x9')],_0x4000b1=_0x404838(_0x5ccd1a)[_0x7669('0x10')]()),{'type':_0x7669('0x16'),'content':_0x25492b(_0x1efce5,'*Set\x20font\x20background\x20color:*\x20%0',_0x4000b1)['trim'](),'color':{'value':_0x4c87a9,'title':_0x4000b1||_0x5ccd1a}};}return{'type':_0x7669('0x16'),'content':_0x25492b(_0x1efce5,_0x7669('0x3'))};}}});}['_enableCommand'](_0x5979f1){const _0x399334=this[_0x7669('0x24')];_0x399334[_0x7669('0x6')][_0x7669('0x8')](_0x7669('0x21'))['enableCommand'](_0x5979f1,(_0x308885,_0x2987fa={})=>{const _0x355965=_0x399334[_0x7669('0xd')][_0x7669('0x22')][_0x7669('0x1d')],_0x16cd9d=_0x2987fa[_0x7669('0x2')];_0x355965['isCollapsed']?_0x308885(_0x2987fa):_0x399334['model'][_0x7669('0x1c')](()=>{const _0xb5770d=Array[_0x7669('0x20')](_0x355965[_0x7669('0x14')]());for(const _0x5e6a26 of _0xb5770d){const _0x555fb1=_0x16cd9d?[_0x5e6a26]:_0x414dcc(_0x5979f1,_0x5e6a26,_0x399334[_0x7669('0xd')]);for(const _0x3efce2 of _0x555fb1)_0x399334['plugins'][_0x7669('0x8')]('TrackChangesEditing')[_0x7669('0x17')](_0x3efce2,{'commandName':_0x5979f1,'commandParams':[{'value':_0x16cd9d}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a23=['slice','fontColor','isFormatting','*Set\x20format\x20to:*\x20%0','change','afterInit','createRange','getAttributes','modifySelection','registerDescriptionCallback','from','toLowerCase','keys','find','fontSize.options','title','getRanges','boolean','plugins','word','toUpperCase','format','model','getItems','schema','getFirstPosition','locale','config','commandParams','charAt','split','markInlineFormat','pasteFormat','commandName','copyFormat','entries','fontSize','commands','document','length','getAttributeProperties','enableCommand','createSelection','push','forward','getLastPosition','fontBackgroundColor','get','isBlock','backward'];(function(_0xb513bb,_0x3a23d4){const _0xd3bd82=function(_0x22d505){while(--_0x22d505){_0xb513bb['push'](_0xb513bb['shift']());}};_0xd3bd82(++_0x3a23d4);}(_0x3a23,0x93));const _0xd3bd=function(_0xb513bb,_0x3a23d4){_0xb513bb=_0xb513bb-0x0;let _0xd3bd82=_0x3a23[_0xb513bb];return _0xd3bd82;};import{Plugin as _0x187fb8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x6ce9b6}from'ckeditor5/src/ui';import{first as _0x272653}from'ckeditor5/src/utils';import{getTranslation as _0x3f2965}from'../utils/common-translations';export default class W extends _0x187fb8{[_0xd3bd('0x8')](){const _0xe45d72=this['editor'],_0x3b3b15=_0xe45d72[_0xd3bd('0x19')],_0x3d1803=_0x3b3b15[_0xd3bd('0x29')]['selection'],_0x355398=_0xe45d72[_0xd3bd('0x15')][_0xd3bd('0x0')]('TrackChangesEditing'),_0x3ba5a0=_0xe45d72['locale'],_0x14d7ab=_0xe45d72[_0xd3bd('0x28')][_0xd3bd('0x0')](_0xd3bd('0x25')),_0x177446=_0xe45d72['commands']['get'](_0xd3bd('0x23'));_0x14d7ab&&_0x177446&&(_0x355398[_0xd3bd('0x2c')](_0xd3bd('0x23'),(_0x53a371,_0x192802={})=>{const _0x302d5b=_0x192802;_0x3b3b15[_0xd3bd('0x7')](()=>{const _0x59fb08=Array[_0xd3bd('0xd')](_0x3d1803[_0xd3bd('0x13')]()),_0x59e075=_0x3d1803['isCollapsed']?[no(_0x3b3b15,_0x3d1803)]:_0x59fb08,_0x61144e=!!_0x272653(function*(_0x3e145e,_0x2881bf){const _0x358ab4=_0x52ebc0=>!!_0x272653(function*(_0x5a6bd2,_0x20e598){for(const [_0x38a4ea]of _0x5a6bd2[_0xd3bd('0xa')]()){const _0x52e3ee=_0x20e598[_0xd3bd('0x2b')](_0x38a4ea);_0x52e3ee&&_0x52e3ee[_0xd3bd('0x5')]&&(yield _0x38a4ea);}}(_0x52ebc0,_0x2881bf));for(const _0x2ad59e of _0x3e145e['getRanges']())for(const _0x18c299 of _0x2ad59e[_0xd3bd('0x1a')]())!_0x2881bf[_0xd3bd('0x1')](_0x18c299)&&_0x358ab4(_0x18c299)&&(yield _0x18c299);for(const _0x3064dc of _0x3e145e['getSelectedBlocks']())_0x358ab4(_0x3064dc)&&(yield _0x3064dc);_0x358ab4(_0x3e145e)&&(yield _0x3e145e);}(_0x3d1803,_0x3b3b15[_0xd3bd('0x1b')]));if(_0x61144e||0x0!==Object[_0xd3bd('0xf')](_0x302d5b)['length'])for(const _0x3e5fb5 of _0x59e075)_0x355398[_0xd3bd('0x22')](_0x3e5fb5,{'commandName':_0xd3bd('0x23'),'commandParams':[_0x302d5b]});});}),_0x355398['_descriptionFactory'][_0xd3bd('0xc')](_0x1955db=>{const {data:_0x513228}=_0x1955db;if(_0x513228&&_0xd3bd('0x23')===_0x513228[_0xd3bd('0x24')]){const _0x5ca805=[],_0x928754=_0x513228[_0xd3bd('0x1f')][0x0];for(const [_0x5518c5,_0x40bb37]of Object[_0xd3bd('0x26')](_0x928754))_0x5ca805[_0xd3bd('0x2e')](co(_0xe45d72,_0x5518c5,_0x40bb37));return _0x5ca805[_0xd3bd('0x2a')]?{'type':_0xd3bd('0x18'),'content':_0x3f2965(_0x3ba5a0,_0xd3bd('0x6'),_0x5ca805['join'](',\x20'))}:{'type':_0xd3bd('0x18'),'content':_0x3f2965(_0x3ba5a0,'*Remove\x20all\x20formatting*')};}}),_0xe45d72[_0xd3bd('0x15')][_0xd3bd('0x0')]('TrackChangesEditing')[_0xd3bd('0x2c')](_0xd3bd('0x25')));}}function no(_0x2a94a6,_0x376e7e){const _0x1a2ae4=_0x2a94a6[_0xd3bd('0x2d')](_0x376e7e);_0x2a94a6[_0xd3bd('0xb')](_0x1a2ae4,{'unit':'word','direction':_0xd3bd('0x2')});const _0x415096=_0x1a2ae4[_0xd3bd('0x1c')]();_0x2a94a6[_0xd3bd('0xb')](_0x1a2ae4,{'unit':_0xd3bd('0x16'),'direction':_0xd3bd('0x2f')});const _0x38d9d3=_0x1a2ae4[_0xd3bd('0x30')]();return _0x2a94a6[_0xd3bd('0x9')](_0x415096,_0x38d9d3);}function co(_0x17e338,_0x3543e9,_0xbb7bce){const _0x550df5=_0x17e338[_0xd3bd('0x1d')]['t'],_0x45e7a7=_0x3543e9[_0xd3bd('0x21')](/(?=[A-Z])/)['join']('\x20'),_0x2fdc05=_0x550df5(_0x45e7a7[_0xd3bd('0x20')](0x0)[_0xd3bd('0x17')]()+_0x45e7a7[_0xd3bd('0x3')](0x1))[_0xd3bd('0xe')]();if(_0xd3bd('0x14')==typeof _0xbb7bce)return _0x2fdc05;if(_0xd3bd('0x4')===_0x3543e9||_0xd3bd('0x31')===_0x3543e9){const _0x4737e3=_0x6ce9b6(_0x17e338[_0xd3bd('0x1e')]['get']('fontColor.colors'))['find'](_0x1224ba=>_0x1224ba[_0xd3bd('0x19')]==_0xbb7bce);return _0x2fdc05+'\x20('+(_0x4737e3?_0x550df5(_0x4737e3['label'])['toLowerCase']():_0xbb7bce)+')';}if(_0xd3bd('0x27')===_0x3543e9&&isNaN(parseFloat(_0xbb7bce))){const _0x23fd9d=_0x17e338[_0xd3bd('0x15')][_0xd3bd('0x0')]('FontSize')['normalizeSizeOptions'](_0x17e338['config'][_0xd3bd('0x0')](_0xd3bd('0x11')))[_0xd3bd('0x10')](_0x32359a=>_0x32359a[_0xd3bd('0x19')]==_0xbb7bce);return _0x2fdc05+'\x20('+(_0x23fd9d?_0x550df5(_0x23fd9d[_0xd3bd('0x12')])['toLowerCase']():_0xbb7bce)+')';}return _0x2fdc05+'\x20('+_0xbb7bce+')';}
23
+ const _0x465f=['word','get','editor','locale','copyFormat','markInlineFormat','afterInit','toLowerCase','forward','_descriptionFactory','keys','plugins','getRanges','getSelectedBlocks','getFirstPosition','isFormatting','registerDescriptionCallback','createRange','format','length','join','fontColor','isBlock','find','title','slice','backward','config','getItems','*Set\x20format\x20to:*\x20%0','charAt','getLastPosition','boolean','fontBackgroundColor','entries','pasteFormat','change','getAttributes','isCollapsed','label','schema','TrackChangesEditing','FontSize','model','push','modifySelection','from'];(function(_0x15eb01,_0x465f0a){const _0x122c80=function(_0x478f37){while(--_0x478f37){_0x15eb01['push'](_0x15eb01['shift']());}};_0x122c80(++_0x465f0a);}(_0x465f,0xc0));const _0x122c=function(_0x15eb01,_0x465f0a){_0x15eb01=_0x15eb01-0x0;let _0x122c80=_0x465f[_0x15eb01];return _0x122c80;};import{Plugin as _0x4c0cd6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x58a841}from'ckeditor5/src/ui';import{first as _0x3d7a87}from'ckeditor5/src/utils';import{getTranslation as _0x45b027}from'../utils/common-translations';export default class W extends _0x4c0cd6{[_0x122c('0x2')](){const _0x164fe5=this[_0x122c('0x2d')],_0x3bfff1=_0x164fe5[_0x122c('0x27')],_0xe31607=_0x3bfff1['document']['selection'],_0x22b2ac=_0x164fe5[_0x122c('0x7')]['get'](_0x122c('0x25')),_0x59ee3b=_0x164fe5[_0x122c('0x2e')],_0x46cb73=_0x164fe5['commands'][_0x122c('0x2c')]('copyFormat'),_0x3326e6=_0x164fe5['commands'][_0x122c('0x2c')](_0x122c('0x1f'));_0x46cb73&&_0x3326e6&&(_0x22b2ac['enableCommand'](_0x122c('0x1f'),(_0x3f47a8,_0x529ddb={})=>{const _0x11e135=_0x529ddb;_0x3bfff1[_0x122c('0x20')](()=>{const _0x3402da=Array[_0x122c('0x2a')](_0xe31607[_0x122c('0x8')]()),_0x57e5cf=_0xe31607[_0x122c('0x22')]?[ro(_0x3bfff1,_0xe31607)]:_0x3402da,_0x1f71d4=!!_0x3d7a87(function*(_0x440d0f,_0x2dcacf){const _0x5d6f5d=_0xe5630f=>!!_0x3d7a87(function*(_0x4e6be2,_0x47fc58){for(const [_0x4877e4]of _0x4e6be2[_0x122c('0x21')]()){const _0x299512=_0x47fc58['getAttributeProperties'](_0x4877e4);_0x299512&&_0x299512[_0x122c('0xb')]&&(yield _0x4877e4);}}(_0xe5630f,_0x2dcacf));for(const _0x5e373c of _0x440d0f[_0x122c('0x8')]())for(const _0x45f2dc of _0x5e373c[_0x122c('0x18')]())!_0x2dcacf[_0x122c('0x12')](_0x45f2dc)&&_0x5d6f5d(_0x45f2dc)&&(yield _0x45f2dc);for(const _0x445385 of _0x440d0f[_0x122c('0x9')]())_0x5d6f5d(_0x445385)&&(yield _0x445385);_0x5d6f5d(_0x440d0f)&&(yield _0x440d0f);}(_0xe31607,_0x3bfff1[_0x122c('0x24')]));if(_0x1f71d4||0x0!==Object[_0x122c('0x6')](_0x11e135)[_0x122c('0xf')])for(const _0x269d10 of _0x57e5cf)_0x22b2ac[_0x122c('0x1')](_0x269d10,{'commandName':_0x122c('0x1f'),'commandParams':[_0x11e135]});});}),_0x22b2ac[_0x122c('0x5')][_0x122c('0xc')](_0x47820c=>{const {data:_0x15b685}=_0x47820c;if(_0x15b685&&'pasteFormat'===_0x15b685['commandName']){const _0x41be4c=[],_0x4e3529=_0x15b685['commandParams'][0x0];for(const [_0x18500f,_0x406fcd]of Object[_0x122c('0x1e')](_0x4e3529))_0x41be4c[_0x122c('0x28')](no(_0x164fe5,_0x18500f,_0x406fcd));return _0x41be4c[_0x122c('0xf')]?{'type':_0x122c('0xe'),'content':_0x45b027(_0x59ee3b,_0x122c('0x19'),_0x41be4c[_0x122c('0x10')](',\x20'))}:{'type':_0x122c('0xe'),'content':_0x45b027(_0x59ee3b,'*Remove\x20all\x20formatting*')};}}),_0x164fe5['plugins'][_0x122c('0x2c')]('TrackChangesEditing')['enableCommand'](_0x122c('0x0')));}}function ro(_0x9bb74b,_0x2ac0b9){const _0x152686=_0x9bb74b['createSelection'](_0x2ac0b9);_0x9bb74b[_0x122c('0x29')](_0x152686,{'unit':'word','direction':_0x122c('0x16')});const _0x54cf26=_0x152686[_0x122c('0xa')]();_0x9bb74b[_0x122c('0x29')](_0x152686,{'unit':_0x122c('0x2b'),'direction':_0x122c('0x4')});const _0x4c5eb8=_0x152686[_0x122c('0x1b')]();return _0x9bb74b[_0x122c('0xd')](_0x54cf26,_0x4c5eb8);}function no(_0x4d1b9a,_0x5ef36c,_0x12c5f4){const _0x36d694=_0x4d1b9a[_0x122c('0x2e')]['t'],_0x26154c=_0x5ef36c['split'](/(?=[A-Z])/)[_0x122c('0x10')]('\x20'),_0x365d76=_0x36d694(_0x26154c[_0x122c('0x1a')](0x0)['toUpperCase']()+_0x26154c[_0x122c('0x15')](0x1))[_0x122c('0x3')]();if(_0x122c('0x1c')==typeof _0x12c5f4)return _0x365d76;if(_0x122c('0x11')===_0x5ef36c||_0x122c('0x1d')===_0x5ef36c){const _0x340251=_0x58a841(_0x4d1b9a['config'][_0x122c('0x2c')]('fontColor.colors'))[_0x122c('0x13')](_0x165b15=>_0x165b15[_0x122c('0x27')]==_0x12c5f4);return _0x365d76+'\x20('+(_0x340251?_0x36d694(_0x340251[_0x122c('0x23')])['toLowerCase']():_0x12c5f4)+')';}if('fontSize'===_0x5ef36c&&isNaN(parseFloat(_0x12c5f4))){const _0x17759e=_0x4d1b9a['plugins'][_0x122c('0x2c')](_0x122c('0x26'))['normalizeSizeOptions'](_0x4d1b9a[_0x122c('0x17')][_0x122c('0x2c')]('fontSize.options'))[_0x122c('0x13')](_0x1b2973=>_0x1b2973[_0x122c('0x27')]==_0x12c5f4);return _0x365d76+'\x20('+(_0x17759e?_0x36d694(_0x17759e[_0x122c('0x14')])['toLowerCase']():_0x12c5f4)+')';}return _0x365d76+'\x20('+_0x12c5f4+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4598=['editor','paragraph','HeadingEditing','TrackChangesEditing','afterInit','getSelectedBlocks','plugins','isObject','has','match','ELEMENT_HEADING_CUSTOM','heading','registerDescriptionCallback','checkChild','filter','formatBlock','commandName','format','model','parent','ELEMENT_HEADING','blockName','enableCommand','title','locale','_descriptionFactory','markBlockFormat','from','document','*Change\x20to:*\x20%0','config'];(function(_0x17a99d,_0x459837){const _0x171c35=function(_0x46319d){while(--_0x46319d){_0x17a99d['push'](_0x17a99d['shift']());}};_0x171c35(++_0x459837);}(_0x4598,0xc7));const _0x171c=function(_0x17a99d,_0x459837){_0x17a99d=_0x17a99d-0x0;let _0x171c35=_0x4598[_0x17a99d];return _0x171c35;};import{Plugin as _0x555329}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2bddd5}from'./utils';import{getTranslation as _0x151a1c}from'../utils/common-translations';export default class J extends _0x555329{[_0x171c('0x16')](){const _0x5dbb05=this['editor'],_0x3f08d0=_0x5dbb05[_0x171c('0xb')],_0x13e0aa=_0x5dbb05[_0x171c('0x11')]['get']('heading.options');if(!_0x5dbb05['plugins'][_0x171c('0x1a')](_0x171c('0x14')))return;const _0x598f47=_0x5dbb05[_0x171c('0x18')]['get'](_0x171c('0x15'));_0x598f47[_0x171c('0x9')](_0x171c('0x1d'),(_0x10fd4f,_0x50f22d)=>{const _0x27691f=_0x50f22d['value'],_0x2cdbb3=Array[_0x171c('0xe')](this['editor']['model'][_0x171c('0xf')]['selection'][_0x171c('0x17')]())[_0x171c('0x1')](_0x103f67=>function(_0x441b5a,_0x550ab5,_0x3f255a){return _0x3f255a[_0x171c('0x0')](_0x441b5a[_0x171c('0x6')],_0x550ab5)&&!_0x3f255a[_0x171c('0x19')](_0x441b5a)&&_0x441b5a['name']!=_0x550ab5;}(_0x103f67,_0x27691f,this[_0x171c('0x12')][_0x171c('0x5')]['schema']));_0x5dbb05['model']['change'](()=>{for(const _0x12b4ac of _0x2cdbb3)_0x598f47[_0x171c('0xd')](_0x12b4ac,{'commandName':'heading','commandParams':[_0x50f22d],'formatGroupId':_0x171c('0x8')},_0x2bddd5(_0x12b4ac));});});for(const _0x46a3e3 of _0x13e0aa)_0x171c('0x13')!=_0x46a3e3[_0x171c('0x5')]&&_0x598f47[_0x171c('0xc')]['registerElementLabel'](_0x46a3e3[_0x171c('0x5')],_0x4f600d=>{const _0x5ef956=nn(_0x46a3e3['model']);return null!==_0x5ef956?_0x11b9a5(_0x4f600d,_0x5ef956):_0x2da851(_0x4f600d,_0x46a3e3[_0x171c('0xa')]);});function _0x11b9a5(_0x899674,_0x38d109){return _0x151a1c(_0x3f08d0,_0x171c('0x7'),[_0x899674,_0x38d109]);}function _0x2da851(_0x51efcc,_0x46315c){return _0x151a1c(_0x3f08d0,_0x171c('0x1c'),[_0x51efcc,_0x46315c]);}_0x598f47['_descriptionFactory'][_0x171c('0x1e')](_0x207bfb=>{const {type:_0x4b5f4d,data:_0xed1495}=_0x207bfb;if(_0x171c('0x2')==_0x4b5f4d&&_0xed1495&&_0x171c('0x1d')==_0xed1495[_0x171c('0x3')]){const _0x435759=_0xed1495['commandParams'][0x0]['value'],_0x58c4ab=nn(_0x435759);if(null!==_0x58c4ab)return{'type':_0x171c('0x4'),'content':_0x151a1c(_0x3f08d0,_0x171c('0x10'),_0x11b9a5(0x1,_0x58c4ab))};const _0x45f5e9=_0x13e0aa['find'](_0x2515b4=>_0x2515b4['model']===_0x435759)['title'];return{'type':_0x171c('0x4'),'content':_0x151a1c(_0x3f08d0,'*Change\x20to:*\x20%0',_0x2da851(0x1,_0x45f5e9))};}});}}function nn(_0x3552ee){const _0x55f1f4=_0x3552ee[_0x171c('0x1b')](/^heading(\d+)$/);return _0x55f1f4?_0x55f1f4[0x1]:null;}
23
+ const _0x9e32=['commandParams','registerElementLabel','value','get','from','has','heading.options','formatBlock','paragraph','title','document','HeadingEditing','*Change\x20to:*\x20%0','TrackChangesEditing','change','selection','checkChild','enableCommand','registerDescriptionCallback','filter','format','editor','heading','config','getSelectedBlocks','schema','_descriptionFactory','plugins','locale','afterInit','model','match','ELEMENT_HEADING_CUSTOM','blockName','find','isObject'];(function(_0x8f51f1,_0x9e32d3){const _0x58cc3f=function(_0x4d67a9){while(--_0x4d67a9){_0x8f51f1['push'](_0x8f51f1['shift']());}};_0x58cc3f(++_0x9e32d3);}(_0x9e32,0x89));const _0x58cc=function(_0x8f51f1,_0x9e32d3){_0x8f51f1=_0x8f51f1-0x0;let _0x58cc3f=_0x9e32[_0x8f51f1];return _0x58cc3f;};import{Plugin as _0x4ca6ac}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1e7385}from'./utils';import{getTranslation as _0x1b0109}from'../utils/common-translations';export default class J extends _0x4ca6ac{[_0x58cc('0x0')](){const _0x6432af=this[_0x58cc('0x1c')],_0x1580b9=_0x6432af[_0x58cc('0x23')],_0x435d73=_0x6432af[_0x58cc('0x1e')][_0x58cc('0xa')](_0x58cc('0xd'));if(!_0x6432af[_0x58cc('0x22')][_0x58cc('0xc')](_0x58cc('0x12')))return;const _0xde87c7=_0x6432af[_0x58cc('0x22')][_0x58cc('0xa')](_0x58cc('0x14'));_0xde87c7[_0x58cc('0x18')]('heading',(_0xfe0307,_0x39885d)=>{const _0x4e47a1=_0x39885d['value'],_0x4bbe46=Array[_0x58cc('0xb')](this[_0x58cc('0x1c')][_0x58cc('0x1')][_0x58cc('0x11')][_0x58cc('0x16')][_0x58cc('0x1f')]())[_0x58cc('0x1a')](_0x86535e=>function(_0x52cf44,_0x4c03f3,_0x115d6f){return _0x115d6f[_0x58cc('0x17')](_0x52cf44['parent'],_0x4c03f3)&&!_0x115d6f[_0x58cc('0x6')](_0x52cf44)&&_0x52cf44['name']!=_0x4c03f3;}(_0x86535e,_0x4e47a1,this['editor']['model'][_0x58cc('0x20')]));_0x6432af[_0x58cc('0x1')][_0x58cc('0x15')](()=>{for(const _0x4620e8 of _0x4bbe46)_0xde87c7['markBlockFormat'](_0x4620e8,{'commandName':_0x58cc('0x1d'),'commandParams':[_0x39885d],'formatGroupId':_0x58cc('0x4')},_0x1e7385(_0x4620e8));});});for(const _0x3c0af9 of _0x435d73)_0x58cc('0xf')!=_0x3c0af9['model']&&_0xde87c7[_0x58cc('0x21')][_0x58cc('0x8')](_0x3c0af9[_0x58cc('0x1')],_0x51cc24=>{const _0x466189=nn(_0x3c0af9['model']);return null!==_0x466189?_0x45b1b8(_0x51cc24,_0x466189):_0x5ec85e(_0x51cc24,_0x3c0af9[_0x58cc('0x10')]);});function _0x45b1b8(_0x2ecc54,_0x543d8e){return _0x1b0109(_0x1580b9,'ELEMENT_HEADING',[_0x2ecc54,_0x543d8e]);}function _0x5ec85e(_0x1bac54,_0x282e7b){return _0x1b0109(_0x1580b9,_0x58cc('0x3'),[_0x1bac54,_0x282e7b]);}_0xde87c7['_descriptionFactory'][_0x58cc('0x19')](_0x1927c0=>{const {type:_0xcac7fc,data:_0xd239a1}=_0x1927c0;if(_0x58cc('0xe')==_0xcac7fc&&_0xd239a1&&'heading'==_0xd239a1['commandName']){const _0x1d8d7f=_0xd239a1[_0x58cc('0x7')][0x0][_0x58cc('0x9')],_0x4316c1=nn(_0x1d8d7f);if(null!==_0x4316c1)return{'type':_0x58cc('0x1b'),'content':_0x1b0109(_0x1580b9,_0x58cc('0x13'),_0x45b1b8(0x1,_0x4316c1))};const _0x2b3f5c=_0x435d73[_0x58cc('0x5')](_0xf18b44=>_0xf18b44[_0x58cc('0x1')]===_0x1d8d7f)[_0x58cc('0x10')];return{'type':_0x58cc('0x1b'),'content':_0x1b0109(_0x1580b9,_0x58cc('0x13'),_0x5ec85e(0x1,_0x2b3f5c))};}});}}function nn(_0x3b140d){const _0x2710f0=_0x3b140d[_0x58cc('0x2')](/^heading(\d+)$/);return _0x2710f0?_0x2710f0[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3931=['toLowerCase','plugins','registerDescriptionCallback','commandParams','getLastMatchingPosition','HighlightEditing','document','locale','color','getRanges','push','value','highlight.options','highlight','selection','backward','find','isCollapsed','config','FORMAT_HIGHLIGHT','*Set\x20highlight:*\x20%0','hasAttribute','*Remove\x20highlight*','change','model','getFirstPosition','markInlineFormat','get','enableCommand','afterInit','TrackChangesEditing'];(function(_0x381879,_0x39317b){const _0x32fbcf=function(_0x1a4387){while(--_0x1a4387){_0x381879['push'](_0x381879['shift']());}};_0x32fbcf(++_0x39317b);}(_0x3931,0x14f));const _0x32fb=function(_0x381879,_0x39317b){_0x381879=_0x381879-0x0;let _0x32fbcf=_0x3931[_0x381879];return _0x32fbcf;};import{Plugin as _0x32cba7}from'ckeditor5/src/core';import{getTranslation as _0x3ea41f}from'../utils/common-translations';import{getRangesWithAttribute as _0x32c0e9}from'./utils';export default class K extends _0x32cba7{[_0x32fb('0x4')](){const _0x20d2fb=this['editor'];if(!_0x20d2fb[_0x32fb('0x7')]['has'](_0x32fb('0xb')))return;const _0x3441ae=_0x20d2fb[_0x32fb('0x7')][_0x32fb('0x2')](_0x32fb('0x5'));_0x3441ae[_0x32fb('0x3')]('highlight',(_0x33d3cf,_0x4b3889={})=>{const _0x156e50=_0x20d2fb['model'][_0x32fb('0xc')][_0x32fb('0x14')],_0x6df8a2=_0x156e50['getAttribute'](_0x32fb('0x13'));let _0x157dfc=_0x4b3889['value'],_0x3f583c=[];if(_0x156e50[_0x32fb('0x17')]){const _0x4a7db5=_0x156e50[_0x32fb('0x0')]();if(!_0x156e50[_0x32fb('0x1b')]('highlight'))return void _0x33d3cf(_0x4b3889);{const _0x1c2cbc=_0x5d032c=>_0x5d032c['item']['getAttribute'](_0x32fb('0x13'))===_0x6df8a2,_0x5c30ba=_0x4a7db5['getLastMatchingPosition'](_0x1c2cbc,{'direction':_0x32fb('0x15')}),_0x3dd2b2=_0x4a7db5[_0x32fb('0xa')](_0x1c2cbc);_0x3f583c=[_0x20d2fb[_0x32fb('0x1e')]['createRange'](_0x5c30ba,_0x3dd2b2)],_0x157dfc==_0x6df8a2&&(_0x157dfc=null);}}else for(const _0x59c0b7 of _0x156e50[_0x32fb('0xf')]())_0x157dfc?_0x3f583c[_0x32fb('0x10')](_0x59c0b7):_0x3f583c['push'](..._0x32c0e9('highlight',_0x59c0b7,_0x20d2fb[_0x32fb('0x1e')]));_0x20d2fb[_0x32fb('0x1e')][_0x32fb('0x1d')](()=>{for(const _0x14e316 of _0x3f583c)_0x3441ae[_0x32fb('0x1')](_0x14e316,{'commandName':_0x32fb('0x13'),'commandParams':[{'value':_0x157dfc}]});});});const _0x2d27d1=_0x20d2fb[_0x32fb('0xd')];_0x3441ae['_descriptionFactory'][_0x32fb('0x8')](_0x2b3817=>{const {type:_0x4766fa,data:_0x5560b6}=_0x2b3817;if('formatInline'==_0x4766fa&&_0x5560b6&&_0x32fb('0x13')==_0x5560b6['commandName']){const _0xcb04ef=_0x2d27d1['t'],_0x20f924=_0x5560b6[_0x32fb('0x9')][0x0][_0x32fb('0x11')];if(_0x20f924){const _0x22775c=_0x20d2fb[_0x32fb('0x18')][_0x32fb('0x2')](_0x32fb('0x12'))[_0x32fb('0x16')](_0x25b6e6=>_0x25b6e6['model']==_0x20f924),_0x234fb1=_0xcb04ef(_0x22775c['title'])[_0x32fb('0x6')]();return{'type':'format','content':_0x3ea41f(_0x2d27d1,_0x32fb('0x1a'),_0x234fb1),'color':{'value':_0x22775c[_0x32fb('0xe')],'title':_0x22775c['title']}};}return{'type':'format','content':_0x3ea41f(_0x2d27d1,_0x32fb('0x1c'),_0x3ea41f(_0x2d27d1,_0x32fb('0x19')))};}});}}
23
+ const _0x595e=['getAttribute','commandParams','createRange','has','model','highlight','color','getRanges','enableCommand','get','getFirstPosition','value','commandName','document','plugins','editor','push','title','hasAttribute','_descriptionFactory','TrackChangesEditing','locale','item','format','HighlightEditing','find'];(function(_0x2ce55f,_0x595e52){const _0x4f07cc=function(_0x2c303b){while(--_0x2c303b){_0x2ce55f['push'](_0x2ce55f['shift']());}};_0x4f07cc(++_0x595e52);}(_0x595e,0x120));const _0x4f07=function(_0x2ce55f,_0x595e52){_0x2ce55f=_0x2ce55f-0x0;let _0x4f07cc=_0x595e[_0x2ce55f];return _0x4f07cc;};import{Plugin as _0x64baea}from'ckeditor5/src/core';import{getTranslation as _0x1a8c5f}from'../utils/common-translations';import{getRangesWithAttribute as _0x5930f9}from'./utils';export default class K extends _0x64baea{['afterInit'](){const _0xc991d8=this[_0x4f07('0xd')];if(!_0xc991d8[_0x4f07('0xc')][_0x4f07('0x1')](_0x4f07('0x16')))return;const _0x36f4e5=_0xc991d8['plugins'][_0x4f07('0x7')](_0x4f07('0x12'));_0x36f4e5[_0x4f07('0x6')](_0x4f07('0x3'),(_0x5eff9d,_0x240f6c={})=>{const _0x38ccb0=_0xc991d8[_0x4f07('0x2')][_0x4f07('0xb')]['selection'],_0x2c45f3=_0x38ccb0[_0x4f07('0x18')](_0x4f07('0x3'));let _0x1f6e01=_0x240f6c[_0x4f07('0x9')],_0x28123d=[];if(_0x38ccb0['isCollapsed']){const _0x35b04b=_0x38ccb0[_0x4f07('0x8')]();if(!_0x38ccb0[_0x4f07('0x10')](_0x4f07('0x3')))return void _0x5eff9d(_0x240f6c);{const _0x5d44c9=_0x20d57c=>_0x20d57c[_0x4f07('0x14')][_0x4f07('0x18')](_0x4f07('0x3'))===_0x2c45f3,_0x391248=_0x35b04b['getLastMatchingPosition'](_0x5d44c9,{'direction':'backward'}),_0x2333bf=_0x35b04b['getLastMatchingPosition'](_0x5d44c9);_0x28123d=[_0xc991d8[_0x4f07('0x2')][_0x4f07('0x0')](_0x391248,_0x2333bf)],_0x1f6e01==_0x2c45f3&&(_0x1f6e01=null);}}else for(const _0x3f5df0 of _0x38ccb0[_0x4f07('0x5')]())_0x1f6e01?_0x28123d[_0x4f07('0xe')](_0x3f5df0):_0x28123d[_0x4f07('0xe')](..._0x5930f9(_0x4f07('0x3'),_0x3f5df0,_0xc991d8[_0x4f07('0x2')]));_0xc991d8[_0x4f07('0x2')]['change'](()=>{for(const _0x9614bf of _0x28123d)_0x36f4e5['markInlineFormat'](_0x9614bf,{'commandName':'highlight','commandParams':[{'value':_0x1f6e01}]});});});const _0x24c400=_0xc991d8[_0x4f07('0x13')];_0x36f4e5[_0x4f07('0x11')]['registerDescriptionCallback'](_0x173644=>{const {type:_0x5395bf,data:_0x1ba870}=_0x173644;if('formatInline'==_0x5395bf&&_0x1ba870&&_0x4f07('0x3')==_0x1ba870[_0x4f07('0xa')]){const _0x48b46f=_0x24c400['t'],_0x1e7c2d=_0x1ba870[_0x4f07('0x19')][0x0][_0x4f07('0x9')];if(_0x1e7c2d){const _0x423763=_0xc991d8['config']['get']('highlight.options')[_0x4f07('0x17')](_0x20a9e2=>_0x20a9e2[_0x4f07('0x2')]==_0x1e7c2d),_0x449d8b=_0x48b46f(_0x423763[_0x4f07('0xf')])['toLowerCase']();return{'type':_0x4f07('0x15'),'content':_0x1a8c5f(_0x24c400,'*Set\x20highlight:*\x20%0',_0x449d8b),'color':{'value':_0x423763[_0x4f07('0x4')],'title':_0x423763['title']}};}return{'type':_0x4f07('0x15'),'content':_0x1a8c5f(_0x24c400,'*Remove\x20highlight*',_0x1a8c5f(_0x24c400,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d7a=['conversion','createPositionAt','_descriptionFactory','insert','enableCommand','afterInit','HorizontalLineEditing','ELEMENT_HORIZONTAL_LINE','createEmptyElement','elementToStructure','showSuggestionHighlights','addClass','get','plugins','registerElementLabel','horizontalLine','locale','div','ck-horizontal-line','dataDowncast','high'];(function(_0x2a6e90,_0x1d7abe){const _0x2ef3ef=function(_0x436adb){while(--_0x436adb){_0x2a6e90['push'](_0x2a6e90['shift']());}};_0x2ef3ef(++_0x1d7abe);}(_0x1d7a,0x116));const _0x2ef3=function(_0x2a6e90,_0x1d7abe){_0x2a6e90=_0x2a6e90-0x0;let _0x2ef3ef=_0x1d7a[_0x2a6e90];return _0x2ef3ef;};import{Plugin as _0x54111f}from'ckeditor5/src/core';import{getTranslation as _0x5756c8}from'../utils/common-translations';export default class Q extends _0x54111f{[_0x2ef3('0x0')](){const _0x5f15c1=this['editor'];if(!_0x5f15c1[_0x2ef3('0x8')]['has'](_0x2ef3('0x1')))return;_0x5f15c1[_0x2ef3('0x8')][_0x2ef3('0x7')]('TrackChangesEditing')[_0x2ef3('0x14')](_0x2ef3('0xa'));const _0x13c9b9=_0x5f15c1[_0x2ef3('0x8')][_0x2ef3('0x7')]('TrackChangesEditing'),_0x2b5d66=_0x5f15c1[_0x2ef3('0xb')];_0x13c9b9[_0x2ef3('0x12')][_0x2ef3('0x9')]('horizontalLine',_0x42a8d7=>_0x5756c8(_0x2b5d66,_0x2ef3('0x2'),_0x42a8d7)),_0x5f15c1[_0x2ef3('0x10')]['for'](_0x2ef3('0xe'))[_0x2ef3('0x4')]({'model':_0x2ef3('0xa'),'view':(_0x2f5294,{writer:_0x4ea339,options:_0x28edc6})=>{if(!_0x28edc6[_0x2ef3('0x5')])return null;const _0x3633d0=_0x4ea339['createContainerElement'](_0x2ef3('0xc')),_0x51ba06=_0x4ea339[_0x2ef3('0x3')]('hr');return _0x4ea339[_0x2ef3('0x6')](_0x2ef3('0xd'),_0x3633d0),_0x4ea339[_0x2ef3('0x13')](_0x4ea339[_0x2ef3('0x11')](_0x3633d0,0x0),_0x51ba06),_0x3633d0;},'converterPriority':_0x2ef3('0xf')});}}
23
+ const _0x4cad=['horizontalLine','enableCommand','addClass','createContainerElement','div','has','showSuggestionHighlights','high','editor','createPositionAt','ELEMENT_HORIZONTAL_LINE','HorizontalLineEditing','plugins','createEmptyElement','for','registerElementLabel','elementToStructure','TrackChangesEditing','get','afterInit'];(function(_0x3131d4,_0x4cadc3){const _0x590cea=function(_0x203482){while(--_0x203482){_0x3131d4['push'](_0x3131d4['shift']());}};_0x590cea(++_0x4cadc3);}(_0x4cad,0x132));const _0x590c=function(_0x3131d4,_0x4cadc3){_0x3131d4=_0x3131d4-0x0;let _0x590cea=_0x4cad[_0x3131d4];return _0x590cea;};import{Plugin as _0x5dc5eb}from'ckeditor5/src/core';import{getTranslation as _0x2a85ce}from'../utils/common-translations';export default class Q extends _0x5dc5eb{[_0x590c('0xd')](){const _0x25e46b=this[_0x590c('0x2')];if(!_0x25e46b[_0x590c('0x6')][_0x590c('0x13')](_0x590c('0x5')))return;_0x25e46b[_0x590c('0x6')][_0x590c('0xc')](_0x590c('0xb'))[_0x590c('0xf')](_0x590c('0xe'));const _0x108597=_0x25e46b['plugins'][_0x590c('0xc')]('TrackChangesEditing'),_0x4f6870=_0x25e46b['locale'];_0x108597['_descriptionFactory'][_0x590c('0x9')](_0x590c('0xe'),_0x13af2a=>_0x2a85ce(_0x4f6870,_0x590c('0x4'),_0x13af2a)),_0x25e46b['conversion'][_0x590c('0x8')]('dataDowncast')[_0x590c('0xa')]({'model':'horizontalLine','view':(_0xa44cd3,{writer:_0x480b84,options:_0x1b2c8f})=>{if(!_0x1b2c8f[_0x590c('0x0')])return null;const _0x41b9ff=_0x480b84[_0x590c('0x11')](_0x590c('0x12')),_0x39f19a=_0x480b84[_0x590c('0x7')]('hr');return _0x480b84[_0x590c('0x10')]('ck-horizontal-line',_0x41b9ff),_0x480b84['insert'](_0x480b84[_0x590c('0x3')](_0x41b9ff,0x0),_0x39f19a),_0x41b9ff;},'converterPriority':_0x590c('0x1')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d78=['format','ELEMENT_HTML_EMBED','locale','*Change\x20%0\x20content*','registerDescriptionCallback','TrackChangesEditing','rawHtml','commandName','_descriptionFactory','rawHtmlApi','plugins','value','model','editor','document','getSelectedElement','getAttribute','editing','markBlockFormat','enableCommand','view','htmlEmbed','cancel','change','HtmlEmbed'];(function(_0x57f821,_0x2d78bf){const _0x3d8e88=function(_0x2b707b){while(--_0x2b707b){_0x57f821['push'](_0x57f821['shift']());}};_0x3d8e88(++_0x2d78bf);}(_0x2d78,0x1d5));const _0x3d8e=function(_0x57f821,_0x2d78bf){_0x57f821=_0x57f821-0x0;let _0x3d8e88=_0x2d78[_0x57f821];return _0x3d8e88;};import{Plugin as _0x479e58}from'ckeditor5/src/core';import{getTranslation as _0x8d3908}from'../utils/common-translations';export default class V extends _0x479e58{['afterInit'](){const _0x3fce72=this[_0x3d8e('0x13')];if(!_0x3fce72[_0x3d8e('0x10')]['has'](_0x3d8e('0x5')))return;const _0x2aecf2=_0x3fce72[_0x3d8e('0x10')]['get'](_0x3d8e('0xb')),_0x55849d=_0x3fce72[_0x3d8e('0x8')],_0x1d9798=_0x3fce72[_0x3d8e('0x17')][_0x3d8e('0x1')][_0x3d8e('0x14')]['selection'];_0x2aecf2['_descriptionFactory']['registerElementLabel'](_0x3d8e('0xc'),_0x452aaf=>_0x8d3908(_0x55849d,_0x3d8e('0x7'),_0x452aaf)),_0x3fce72[_0x3d8e('0x10')]['get'](_0x3d8e('0xb'))[_0x3d8e('0x0')](_0x3d8e('0x2'),(_0x5eab23,_0x1b21a4)=>{const _0x306f0d=_0x3fce72[_0x3d8e('0x12')],_0x22005b=_0x306f0d[_0x3d8e('0x14')]['selection'];_0x306f0d[_0x3d8e('0x4')](()=>{const _0x9811a3=function(_0x165479){const _0x31b1e0=_0x165479['getSelectedElement']();if(_0x31b1e0&&_0x31b1e0['is']('element',_0x3d8e('0xc')))return _0x165479[_0x3d8e('0x15')]();return null;}(_0x22005b);if(!_0x9811a3)return void _0x5eab23(null);const _0x1b5d95=_0x9811a3[_0x3d8e('0x16')](_0x3d8e('0x11'))||'';if(void 0x0===_0x1b21a4)return;if(_0x1b21a4===_0x1b5d95)return;_0x2aecf2[_0x3d8e('0x18')](_0x9811a3,{'commandName':'htmlEmbed','commandParams':[_0x1b21a4]}),_0x1d9798['getSelectedElement']()['getCustomProperty'](_0x3d8e('0xf'))[_0x3d8e('0x3')]();});}),_0x2aecf2[_0x3d8e('0xe')][_0x3d8e('0xa')](_0xc513d8=>{const {data:_0x3f4fdd}=_0xc513d8;if(_0x3f4fdd&&_0x3d8e('0x2')==_0x3f4fdd[_0x3d8e('0xd')]){const _0x43c4a3=_0x8d3908(_0x55849d,_0x3d8e('0x7'));return{'type':_0x3d8e('0x6'),'content':_0x8d3908(_0x55849d,_0x3d8e('0x9'),_0x43c4a3)};}});}}
23
+ const _0x46f5=['HtmlEmbed','getCustomProperty','cancel','document','get','TrackChangesEditing','editing','htmlEmbed','plugins','registerElementLabel','editor','afterInit','markBlockFormat','enableCommand','element','rawHtml','_descriptionFactory','view','getAttribute','change','has','commandName','getSelectedElement','format','ELEMENT_HTML_EMBED'];(function(_0x201400,_0x46f50c){const _0x358f98=function(_0xfd83a0){while(--_0xfd83a0){_0x201400['push'](_0x201400['shift']());}};_0x358f98(++_0x46f50c);}(_0x46f5,0xea));const _0x358f=function(_0x201400,_0x46f50c){_0x201400=_0x201400-0x0;let _0x358f98=_0x46f5[_0x201400];return _0x358f98;};import{Plugin as _0x1f938f}from'ckeditor5/src/core';import{getTranslation as _0x5caf71}from'../utils/common-translations';export default class V extends _0x1f938f{[_0x358f('0x2')](){const _0x36e2a1=this[_0x358f('0x1')];if(!_0x36e2a1[_0x358f('0x18')][_0x358f('0xb')](_0x358f('0x10')))return;const _0x3e1561=_0x36e2a1[_0x358f('0x18')][_0x358f('0x14')]('TrackChangesEditing'),_0x5e88d8=_0x36e2a1['locale'],_0x366d1a=_0x36e2a1[_0x358f('0x16')][_0x358f('0x8')][_0x358f('0x13')]['selection'];_0x3e1561[_0x358f('0x7')][_0x358f('0x0')](_0x358f('0x6'),_0xd26bd8=>_0x5caf71(_0x5e88d8,_0x358f('0xf'),_0xd26bd8)),_0x36e2a1[_0x358f('0x18')][_0x358f('0x14')](_0x358f('0x15'))[_0x358f('0x4')](_0x358f('0x17'),(_0x10953a,_0x1747d3)=>{const _0xede187=_0x36e2a1['model'],_0x43e3ef=_0xede187[_0x358f('0x13')]['selection'];_0xede187[_0x358f('0xa')](()=>{const _0x108da6=function(_0x119cd6){const _0x5b3a89=_0x119cd6[_0x358f('0xd')]();if(_0x5b3a89&&_0x5b3a89['is'](_0x358f('0x5'),_0x358f('0x6')))return _0x119cd6['getSelectedElement']();return null;}(_0x43e3ef);if(!_0x108da6)return void _0x10953a(null);const _0x2ca895=_0x108da6[_0x358f('0x9')]('value')||'';if(void 0x0===_0x1747d3)return;if(_0x1747d3===_0x2ca895)return;_0x3e1561[_0x358f('0x3')](_0x108da6,{'commandName':'htmlEmbed','commandParams':[_0x1747d3]}),_0x366d1a[_0x358f('0xd')]()[_0x358f('0x11')]('rawHtmlApi')[_0x358f('0x12')]();});}),_0x3e1561[_0x358f('0x7')]['registerDescriptionCallback'](_0x30ac3e=>{const {data:_0x499ca3}=_0x30ac3e;if(_0x499ca3&&_0x358f('0x17')==_0x499ca3[_0x358f('0xc')]){const _0x2a79a1=_0x5caf71(_0x5e88d8,'ELEMENT_HTML_EMBED');return{'type':_0x358f('0xe'),'content':_0x5caf71(_0x5e88d8,'*Change\x20%0\x20content*',_0x2a79a1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3223=['getClosestSelectedImageElement','ImageResize','locale','newRange','markDeletion','refresh','registerElementLabel','_splitMarkerName','getCaptionFromImageModelElement','start','accept','insertion','resizeImage','find','commands','nodeBefore','convertInlineImageToBlock','getAttribute','join','registerCustomCallback','selection','isInlineImage','plugins','toLowerCase','getSuggestions','hasAttribute','imageCaption','insertImage','ImageUploadEditing','imageTextAlternative','ImageEditing','*Format:*\x20%0','imageInline','forceDefaultExecution','forward','createRange','side','ImageCaptionEditing','width','getSuggestionCallback','name','format','ImageBlockEditing','_suggestionFactory','toPrevious','commandName','next','markInlineFormat','registerPostFixer','Users','newValue','toggleImageCaption','has','imageTypeInline','markBlockFormat','model','TrackChangesEditing','getNearestSelectionRange','change','detach','end','createRangeOn','FORMAT_SIDE_IMAGE','*Remove\x20image\x20text\x20alternative*','isIntersecting','document','ELEMENT_IMAGE','isEqual','isOwn','forEach','ImageCaptionUtils','convertBlockImageToInline','_findSuggestions','ELEMENT_CAPTION','author','addObject','imageStylePreApply','normalizedStyles','imageStyle','type','length','isBlockImage','formatInline','ImageStyleEditing','imageBlock','isBefore','chain','registerDescriptionCallback','_descriptionFactory','enableCommand','removeObject','isCollapsed','commandParams','*Set\x20image\x20width:*\x20%0','schema','discard','suggestion','formatBlock','caption','imageStylePostApply','getSuggestion','ImageUtils','alt','fromPosition','subType','isInContent','commandReversedParams','ELEMENT_INLINE_IMAGE','value','discardSuggestion','get','getFirstRange','filter','title','nodeAfter','hasSuggestion','imageTypeBlock','findIndex'];(function(_0x401095,_0x322348){const _0x20b188=function(_0x484ca9){while(--_0x484ca9){_0x401095['push'](_0x401095['shift']());}};_0x20b188(++_0x322348);}(_0x3223,0x171));const _0x20b1=function(_0x401095,_0x322348){_0x401095=_0x401095-0x0;let _0x20b188=_0x3223[_0x401095];return _0x20b188;};import{Plugin as _0x3dfca5}from'ckeditor5/src/core';import{LivePosition as _0x50e095}from'ckeditor5/src/engine';import{uid as _0x1971e4}from'ckeditor5/src/utils';import{getTranslation as _0x3779f5}from'../utils/common-translations';export default class X extends _0x3dfca5{['afterInit'](){const _0x2bfae8=this['editor'];if(!_0x2bfae8['plugins']['has'](_0x20b1('0xf')))return;const _0x38e1e8=_0x2bfae8['plugins'][_0x20b1('0x5f')](_0x20b1('0x29')),_0x53939c=_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x5f')](_0x20b1('0x56')),_0x5f5160={},_0x3f413b=_0x2bfae8[_0x20b1('0x69')];if(_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0xc')),_0x38e1e8[_0x20b1('0x49')]['registerElementLabel'](_0x20b1('0x45'),_0x119b7d=>_0x3779f5(_0x3f413b,_0x20b1('0x33'),_0x119b7d)),_0x38e1e8['_descriptionFactory'][_0x20b1('0x6d')](_0x20b1('0x11'),_0x3b6586=>_0x3779f5(_0x3f413b,_0x20b1('0x5c'),_0x3b6586)),_0x38e1e8[_0x20b1('0x49')][_0x20b1('0x6d')]('caption',()=>_0x3779f5(_0x3f413b,_0x20b1('0x3a'))),_0x2bfae8['plugins']['has'](_0x20b1('0xd'))&&_0x38e1e8[_0x20b1('0x4a')]('uploadImage'),_0x2bfae8[_0x20b1('0x7')]['has'](_0x20b1('0x1b'))&&_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageInlineEditing')&&(_0x38e1e8[_0x20b1('0x4a')]('imageTypeInline',(_0x35157d,_0x513a7a)=>{const _0x475fb0=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]);_0x2bfae8['model'][_0x20b1('0x2b')](()=>{_0x38e1e8[_0x20b1('0x27')](_0x475fb0,{'commandName':'imageTypeInline','commandParams':[_0x513a7a]},[],_0x20b1('0x38'));});}),_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x65'),(_0x5032c0,_0x3860bc)=>{_0x2bfae8['model'][_0x20b1('0x2b')](_0x2e31d0=>{let _0x6c071=_0x53939c['getClosestSelectedImageElement'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x254bff=_0x2e31d0['createRangeOn'](_0x6c071);const _0x37f15b=_0x50e095[_0x20b1('0x58')](_0x254bff['start'],_0x20b1('0x1d')),_0x225297=_0x50e095['fromPosition'](_0x254bff[_0x20b1('0x2d')],'toNext');_0x38e1e8[_0x20b1('0x12')](()=>_0x5032c0(_0x3860bc)),_0x6c071=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')]['document'][_0x20b1('0x5')]),_0x254bff=_0x2e31d0[_0x20b1('0x2e')](_0x6c071);const _0x288ef6=_0x2e31d0[_0x20b1('0x14')](_0x37f15b,_0x225297);_0x37f15b[_0x20b1('0x2c')](),_0x225297[_0x20b1('0x2c')](),_0x38e1e8[_0x20b1('0x27')](_0x6c071,{'commandName':_0x20b1('0x26'),'commandParams':[]},[],_0x20b1('0x1')),_0x288ef6['start']['isBefore'](_0x254bff[_0x20b1('0x70')])&&_0x38e1e8['markInsertion'](_0x2e31d0[_0x20b1('0x14')](_0x288ef6[_0x20b1('0x70')],_0x254bff[_0x20b1('0x70')]),_0x20b1('0x1')),_0x254bff[_0x20b1('0x2d')][_0x20b1('0x46')](_0x288ef6['end'])&&_0x38e1e8['markInsertion'](_0x2e31d0[_0x20b1('0x14')](_0x254bff['end'],_0x288ef6[_0x20b1('0x2d')]),_0x20b1('0x1'));});}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')]('formatBlock',_0x20b1('0x1'),_0x20b1('0x3'),()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x1'),_0x20b1('0x71'),()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')]('formatBlock',_0x20b1('0x1'),_0x20b1('0x50'),_0x38e1e8['_suggestionFactory'][_0x20b1('0x18')](_0x20b1('0x52'),'',_0x20b1('0x71'))),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x72'),_0x20b1('0x1'),'join',()=>{}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback'](_0x20b1('0x72'),_0x20b1('0x1'),'discard',([_0x3bbbf5])=>{const _0x3fc45b=_0x38e1e8[_0x20b1('0x1c')]['getSuggestionCallback']('insertion','',_0x20b1('0x50'));let _0x2f40e0=_0x3bbbf5[_0x20b1('0x70')],_0x249870=_0x3bbbf5[_0x20b1('0x2d')];const _0x213a33=_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x4f')][_0x20b1('0x2a')](_0x2f40e0,'backward'),_0x5a6a39=_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x4f')][_0x20b1('0x2a')](_0x249870,_0x20b1('0x13'));_0x213a33['isCollapsed']&&(_0x2f40e0=_0x213a33['start']),_0x5a6a39[_0x20b1('0x4c')]&&(_0x249870=_0x5a6a39[_0x20b1('0x2d')]),_0x3fc45b([_0x2bfae8[_0x20b1('0x28')]['createRange'](_0x2f40e0,_0x249870)]);}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x1'),_0x20b1('0x47'),_0x73ad53),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x72'),_0x20b1('0x1'),'chain',_0x73ad53)),_0x2bfae8[_0x20b1('0x7')]['has'](_0x20b1('0x16'))&&(_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x24'),(_0x1ff802,_0x4baf2f)=>{const _0x21154a=_0x2bfae8['plugins']['get'](_0x20b1('0x37'));let _0x3a5171=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x31afa0=_0x21154a[_0x20b1('0x6f')](_0x3a5171);_0x2bfae8['model'][_0x20b1('0x2b')](()=>{if(_0x31afa0)return void _0x38e1e8[_0x20b1('0x6b')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2e')](_0x31afa0));const _0x29530c=_0x53939c[_0x20b1('0x42')](_0x3a5171);_0x1ff802(_0x4baf2f),_0x3a5171=_0x53939c[_0x20b1('0x67')](_0x2bfae8['model'][_0x20b1('0x32')][_0x20b1('0x5')]),_0x31afa0=_0x21154a[_0x20b1('0x6f')](_0x3a5171),_0x38e1e8['markInsertion'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2e')](_0x31afa0),_0x29530c?null:'imageCaption');});}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback']('insertion',_0x20b1('0xb'),_0x20b1('0x47'),_0x73ad53)),_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageStyleEditing')){_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x3f'),(_0x1c31aa,_0x29c9ec)=>{const _0x1bb4b0=_0x2bfae8['plugins'][_0x20b1('0x5f')](_0x20b1('0x22'))['me'],_0x59cd53=_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')]('imageStyle');let _0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x195edb=_0x2bfae8[_0x20b1('0x28')]['createRangeOn'](_0x57a512),_0x49b642=_0x59cd53[_0x20b1('0x5d')];if(_0x49b642==_0x29c9ec[_0x20b1('0x5d')])return;const _0x3679e2={'commandName':_0x20b1('0x3f'),'commandParams':[_0x29c9ec],'formatGroupId':_0x1971e4()};_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2b')](()=>{if(_0x38e1e8[_0x20b1('0x9')]()[_0x20b1('0x61')](_0x10aae2=>_0x10aae2[_0x20b1('0x5a')]&&_0x1bb4b0==_0x10aae2[_0x20b1('0x3b')]&&(_0x20b1('0x52')==_0x10aae2['type']||_0x20b1('0x43')==_0x10aae2[_0x20b1('0x40')])&&(_0x20b1('0x3d')==_0x10aae2[_0x20b1('0x59')]||'imageStylePostApply'==_0x10aae2[_0x20b1('0x59')])&&_0x10aae2['getFirstRange']()[_0x20b1('0x34')](_0x195edb))[_0x20b1('0x36')](_0x48d508=>_0x38e1e8[_0x20b1('0x5e')](_0x48d508['head'])),_0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x195edb=_0x2bfae8[_0x20b1('0x28')]['createRangeOn'](_0x57a512),_0x59cd53[_0x20b1('0x6c')](),_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')](_0x20b1('0x26'))[_0x20b1('0x6c')](),_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')](_0x20b1('0x65'))[_0x20b1('0x6c')](),_0x49b642=_0x59cd53[_0x20b1('0x5d')],_0x49b642!=_0x29c9ec[_0x20b1('0x5d')])return _0x53939c[_0x20b1('0x6')](_0x57a512)&&_0x59cd53['shouldConvertImageType'](_0x29c9ec[_0x20b1('0x5d')],_0x57a512)?(_0x1c31aa(_0x29c9ec),_0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),void _0x38e1e8[_0x20b1('0x27')](_0x57a512,{..._0x3679e2,'commandReversedParams':[{'value':_0x49b642||null}]},[],'imageStylePreApply')):void(_0x53939c[_0x20b1('0x42')](_0x57a512)?_0x38e1e8[_0x20b1('0x27')](_0x57a512,_0x3679e2,[],_0x20b1('0x54')):_0x38e1e8[_0x20b1('0x20')](_0x195edb,_0x3679e2,_0x20b1('0x54')));});});for(const _0x485d9c of _0x2bfae8[_0x20b1('0x7')][_0x20b1('0x5f')](_0x20b1('0x44'))[_0x20b1('0x3e')])_0x5f5160[_0x485d9c[_0x20b1('0x19')]]=_0x485d9c[_0x20b1('0x62')][_0x20b1('0x8')]();_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),'imageStylePreApply',_0x20b1('0x3'),()=>{}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x54'),'join',()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x43'),_0x20b1('0x54'),_0x20b1('0x3'),()=>{}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x20b1('0x71'),()=>{}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x3d'),_0x20b1('0x50'),(_0x14f601,_0x510edf)=>{_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x18')](_0x20b1('0x52'),'','accept')(_0x14f601,{'commandName':_0x510edf['commandName'],'commandParams':_0x510edf[_0x20b1('0x5b')]});}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x3d'),_0x20b1('0x47'),_0x73ad53);}const _0x303645=[{'type':_0x20b1('0x52'),'subType':_0x20b1('0x3d')},{'type':_0x20b1('0x72'),'subType':'imageCaption'},{'type':_0x20b1('0x52'),'subType':'convertInlineImageToBlock'},{'type':_0x20b1('0x72'),'subType':_0x20b1('0x1')}];function _0x5b620b(_0x135d16,_0x42b294){const _0x5784b8=_0x303645[_0x20b1('0x66')](({type:_0x4c4114,subType:_0x162335})=>_0x135d16[_0x20b1('0x40')]==_0x4c4114&&_0x135d16['subType']==_0x162335),_0x128e5e=_0x303645[_0x20b1('0x66')](({type:_0x2619b7,subType:_0x271516})=>_0x42b294['type']==_0x2619b7&&_0x42b294[_0x20b1('0x59')]==_0x271516);if(_0x5784b8<0x0||_0x128e5e<0x0)return!0x1;const _0x29ac99=_0x135d16['getFirstRange'](),_0x13e5a9=_0x42b294[_0x20b1('0x60')]();if((0x0==_0x5784b8||0x1==_0x5784b8)&&0x2==_0x128e5e&&_0x29ac99[_0x20b1('0x31')](_0x13e5a9))return!0x0;if(0x2==_0x5784b8&&0x3==_0x128e5e){const _0x8505f5=_0x38e1e8[_0x20b1('0x39')](_0x29ac99,_0x20b1('0x72'))[_0x20b1('0x61')](({suggestion:_0x3cd3a3,meta:_0x43df92})=>_0x43df92[_0x20b1('0x35')]&&_0x20b1('0x1')==_0x3cd3a3[_0x20b1('0x59')]);if(_0x8505f5[_0x20b1('0x41')]>0x1&&_0x13e5a9[_0x20b1('0x2d')][_0x20b1('0x34')](_0x29ac99[_0x20b1('0x70')]))return!0x0;if(0x1==_0x8505f5[_0x20b1('0x41')]&&(_0x29ac99[_0x20b1('0x70')][_0x20b1('0x34')](_0x13e5a9[_0x20b1('0x2d')])||_0x29ac99[_0x20b1('0x2d')]['isEqual'](_0x13e5a9[_0x20b1('0x70')])))return!0x0;}if(0x3==_0x5784b8&&0x3==_0x128e5e&&_0x29ac99['start']['isBefore'](_0x13e5a9[_0x20b1('0x70')])){const _0x592a59=_0x29ac99[_0x20b1('0x2d')][_0x20b1('0x63')],_0x1c512f=_0x13e5a9[_0x20b1('0x70')][_0x20b1('0x0')];return _0x53939c[_0x20b1('0x42')](_0x592a59)&&_0x592a59===_0x1c512f;}return!0x1;}function _0x73ad53(_0x4cd0f7,_0x415428){return _0x5b620b(_0x4cd0f7,_0x415428)?[_0x4cd0f7,_0x415428]:_0x5b620b(_0x415428,_0x4cd0f7)?[_0x415428,_0x4cd0f7]:null;}_0x2bfae8[_0x20b1('0x28')]['document'][_0x20b1('0x21')](()=>{let _0x298347=!0x1;const _0x267914=Array['from'](_0x2bfae8['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x259995,data:_0x3cde82}of _0x267914){const {group:_0x4dbcbe,type:_0x2b00ba,subType:_0x496ffc,id:_0x232005}=_0x38e1e8[_0x20b1('0x6e')](_0x259995);if(_0x20b1('0x51')==_0x4dbcbe&&_0x38e1e8[_0x20b1('0x64')](_0x232005)){if(_0x20b1('0x52')==_0x2b00ba&&(_0x20b1('0x3d')==_0x496ffc||_0x20b1('0x54')==_0x496ffc)){const _0x24519b=_0x38e1e8[_0x20b1('0x55')](_0x232005);if(_0x3cde82[_0x20b1('0x6a')]){const _0x534806=_0x24519b['getFirstRange']()['getContainedElement']();if(_0x53939c[_0x20b1('0x42')](_0x534806))continue;_0x38e1e8[_0x20b1('0x5e')](_0x24519b),_0x298347=!0x0;}}if(_0x20b1('0x72')==_0x2b00ba&&_0x20b1('0xb')==_0x496ffc&&!_0x3cde82['newRange']){const _0xd247e3=_0x38e1e8[_0x20b1('0x55')](_0x232005);_0xd247e3[_0x20b1('0x1f')]&&_0xd247e3[_0x20b1('0x1f')]['isInContent']&&(_0x38e1e8['discardSuggestion'](_0xd247e3[_0x20b1('0x1f')]),_0x298347=!0x0);}}}return _0x298347;}),_0x2bfae8['plugins']['has'](_0x20b1('0x68'))&&_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x73'),(_0x2fcb6a,_0x3d016e)=>{const _0xfd9c4f=_0x53939c[_0x20b1('0x67')](_0x2bfae8['model'][_0x20b1('0x32')][_0x20b1('0x5')]);_0xfd9c4f[_0x20b1('0x2')]('width')!=_0x3d016e[_0x20b1('0x17')]&&_0x2bfae8[_0x20b1('0x28')]['change'](()=>{_0x38e1e8[_0x20b1('0x27')](_0xfd9c4f,{'commandName':_0x20b1('0x73'),'commandParams':[_0x3d016e]});});}),_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageTextAlternativeEditing')&&_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0xe'),(_0x153cf1,_0x561676)=>{const _0x2fc1f4=_0x53939c['getClosestSelectedImageElement'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]);(_0x2fc1f4[_0x20b1('0xa')](_0x20b1('0x57'))?_0x2fc1f4['getAttribute'](_0x20b1('0x57')):'')!=_0x561676[_0x20b1('0x23')]&&_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2b')](()=>{_0x38e1e8[_0x20b1('0x27')](_0x2fc1f4,{'commandName':_0x20b1('0xe'),'commandParams':[_0x561676]});});}),_0x38e1e8['_descriptionFactory'][_0x20b1('0x48')](_0x5f72ea=>{if(!!_0x303645[_0x20b1('0x74')](({type:_0x505c86,subType:_0x7b71bf})=>_0x5f72ea['type']==_0x505c86&&_0x5f72ea[_0x20b1('0x59')]==_0x7b71bf))return _0x5f72ea['previous']?{}:void 0x0;}),_0x38e1e8[_0x20b1('0x49')]['registerDescriptionCallback'](_0x569336=>{if(_0x20b1('0x72')==_0x569336['type']||'deletion'==_0x569336[_0x20b1('0x40')]){const _0x3b81c1=_0x569336['getContainedElement']();if(_0x3b81c1&&_0x3b81c1['is']('element',_0x20b1('0x53')))return{'type':_0x20b1('0x72')==_0x569336[_0x20b1('0x40')]?_0x20b1('0x3c'):_0x20b1('0x4b'),'element':_0x3b81c1,'quantity':0x1};}}),_0x38e1e8[_0x20b1('0x49')][_0x20b1('0x48')](_0x409db2=>_0x20b1('0x52')==_0x409db2[_0x20b1('0x40')]&&_0x20b1('0x1')==_0x409db2['subType']?{'type':_0x20b1('0x1a'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x20b1('0x52')==_0x409db2['type']&&_0x20b1('0x38')==_0x409db2[_0x20b1('0x59')]?{'type':_0x20b1('0x1a'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x38e1e8['_descriptionFactory'][_0x20b1('0x48')](_0xc25646=>{const {data:_0x41c144}=_0xc25646;if(_0x41c144){if(_0x20b1('0x3f')==_0x41c144['commandName']){const _0x165cc6=_0x41c144[_0x20b1('0x4d')][0x0][_0x20b1('0x5d')];return _0x2e2759(_0x20b1('0x15')===_0x165cc6?_0x3779f5(_0x3f413b,_0x20b1('0x2f')):_0x5f5160[_0x165cc6]||_0x165cc6);}if('imageTextAlternative'==_0x41c144['commandName']){const _0x4d1705=_0x41c144[_0x20b1('0x4d')][0x0][_0x20b1('0x23')];return _0x4d1705?{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4d1705+'\x22')}:{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x30'))};}if('resizeImage'==_0x41c144[_0x20b1('0x1e')]){const _0x499f63=_0x41c144['commandParams'][0x0][_0x20b1('0x17')];return _0x499f63?{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x4e'),_0x499f63)}:{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,'*Reset\x20image\x20width*')};}}function _0x2e2759(_0x47062b){return{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x10'),_0x47062b)};}});}}
23
+ const _0x1c1d=['getContainedElement','getNearestSelectionRange','insertion','imageTextAlternative','createRangeOn','type','_splitMarkerName','schema','has','getFirstRange','refresh','isBefore','imageStylePreApply','newRange','model','end','join','getSuggestionCallback','detach','formatInline','ImageUploadEditing','isEqual','isCollapsed','forceDefaultExecution','_descriptionFactory','ImageUtils','uploadImage','FORMAT_SIDE_IMAGE','plugins','getClosestSelectedImageElement','isBlockImage','*Reset\x20image\x20width*','getChangedMarkers','hasSuggestion','ELEMENT_CAPTION','imageCaption','isInContent','length','author','_suggestionFactory','start','markBlockFormat','addObject','commandParams','value','ImageStyleEditing','accept','alt','shouldConvertImageType','fromPosition','convertBlockImageToInline','imageTypeInline','isInlineImage','previous','name','resizeImage','markInsertion','ELEMENT_INLINE_IMAGE','forEach','removeObject','get','convertInlineImageToBlock','change','ImageEditing','imageStylePostApply','TrackChangesEditing','toggleImageCaption','side','newValue','ImageBlockEditing','title','isOwn','toLowerCase','ImageResize','findIndex','suggestion','document','getAttribute','registerPostFixer','from','formatBlock','deletion','ImageCaptionUtils','selection','*Set\x20image\x20width:*\x20%0','enableCommand','Block\x20image\x20to\x20inline\x20image','commandName','element','discardSuggestion','registerDescriptionCallback','*Set\x20image\x20text\x20alternative:*\x20%0','locale','filter','registerCustomCallback','width','subType','format','ImageInlineEditing','imageStyle','*Format:*\x20%0','ImageTextAlternativeEditing','_findSuggestions','head','toPrevious','createRange','afterInit','chain','next','find','ImageCaptionEditing','differ','getCaptionFromImageModelElement','discard','registerElementLabel','commands','getSuggestion','Users','nodeBefore'];(function(_0x5f50ba,_0x1c1d46){const _0x3c3f39=function(_0x7f05c3){while(--_0x7f05c3){_0x5f50ba['push'](_0x5f50ba['shift']());}};_0x3c3f39(++_0x1c1d46);}(_0x1c1d,0x1f4));const _0x3c3f=function(_0x5f50ba,_0x1c1d46){_0x5f50ba=_0x5f50ba-0x0;let _0x3c3f39=_0x1c1d[_0x5f50ba];return _0x3c3f39;};import{Plugin as _0x3cb0d5}from'ckeditor5/src/core';import{LivePosition as _0x1aae02}from'ckeditor5/src/engine';import{uid as _0x2b2968}from'ckeditor5/src/utils';import{getTranslation as _0x3e905a}from'../utils/common-translations';export default class X extends _0x3cb0d5{[_0x3c3f('0x52')](){const _0x342eab=this['editor'];if(!_0x342eab[_0x3c3f('0x4')][_0x3c3f('0x67')](_0x3c3f('0x27')))return;const _0x3fec08=_0x342eab[_0x3c3f('0x4')][_0x3c3f('0x24')](_0x3c3f('0x29')),_0x3b94ca=_0x342eab['plugins']['get'](_0x3c3f('0x1')),_0x2416ee={},_0x18a0e4=_0x342eab[_0x3c3f('0x44')];if(_0x3fec08['enableCommand']('insertImage'),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x5a')]('imageBlock',_0x3b427e=>_0x3e905a(_0x18a0e4,'ELEMENT_IMAGE',_0x3b427e)),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x5a')]('imageInline',_0x29d064=>_0x3e905a(_0x18a0e4,_0x3c3f('0x21'),_0x29d064)),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x5a')]('caption',()=>_0x3e905a(_0x18a0e4,_0x3c3f('0xa'))),_0x342eab['plugins'][_0x3c3f('0x67')](_0x3c3f('0x73'))&&_0x3fec08[_0x3c3f('0x3d')](_0x3c3f('0x2')),_0x342eab['plugins'][_0x3c3f('0x67')](_0x3c3f('0x2d'))&&_0x342eab['plugins'][_0x3c3f('0x67')](_0x3c3f('0x4a'))&&(_0x3fec08[_0x3c3f('0x3d')]('imageTypeInline',(_0x30f827,_0x88e820)=>{const _0x1ce0a5=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')]['document'][_0x3c3f('0x3b')]);_0x342eab[_0x3c3f('0x6d')]['change'](()=>{_0x3fec08[_0x3c3f('0x11')](_0x1ce0a5,{'commandName':'imageTypeInline','commandParams':[_0x88e820]},[],_0x3c3f('0x1a'));});}),_0x3fec08[_0x3c3f('0x3d')]('imageTypeBlock',(_0x4f8712,_0x1d1c1e)=>{_0x342eab['model'][_0x3c3f('0x26')](_0x467896=>{let _0x16a661=_0x3b94ca[_0x3c3f('0x5')](_0x342eab['model'][_0x3c3f('0x34')]['selection']),_0x4ce9a1=_0x467896[_0x3c3f('0x63')](_0x16a661);const _0x36e678=_0x1aae02[_0x3c3f('0x19')](_0x4ce9a1[_0x3c3f('0x10')],_0x3c3f('0x50')),_0x5c98cd=_0x1aae02[_0x3c3f('0x19')](_0x4ce9a1['end'],'toNext');_0x3fec08[_0x3c3f('0x76')](()=>_0x4f8712(_0x1d1c1e)),_0x16a661=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x3b')]),_0x4ce9a1=_0x467896[_0x3c3f('0x63')](_0x16a661);const _0x2366e2=_0x467896[_0x3c3f('0x51')](_0x36e678,_0x5c98cd);_0x36e678['detach'](),_0x5c98cd[_0x3c3f('0x71')](),_0x3fec08['markBlockFormat'](_0x16a661,{'commandName':_0x3c3f('0x1b'),'commandParams':[]},[],_0x3c3f('0x25')),_0x2366e2[_0x3c3f('0x10')][_0x3c3f('0x6a')](_0x4ce9a1[_0x3c3f('0x10')])&&_0x3fec08['markInsertion'](_0x467896['createRange'](_0x2366e2['start'],_0x4ce9a1[_0x3c3f('0x10')]),'convertInlineImageToBlock'),_0x4ce9a1['end'][_0x3c3f('0x6a')](_0x2366e2['end'])&&_0x3fec08[_0x3c3f('0x20')](_0x467896['createRange'](_0x4ce9a1[_0x3c3f('0x6e')],_0x2366e2[_0x3c3f('0x6e')]),_0x3c3f('0x25'));});}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')]('formatBlock',_0x3c3f('0x25'),_0x3c3f('0x6f'),()=>{}),_0x3fec08['_suggestionFactory']['registerCustomCallback'](_0x3c3f('0x38'),'convertInlineImageToBlock',_0x3c3f('0x16'),()=>{}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')](_0x3c3f('0x38'),_0x3c3f('0x25'),_0x3c3f('0x59'),_0x3fec08['_suggestionFactory'][_0x3c3f('0x70')](_0x3c3f('0x38'),'',_0x3c3f('0x16'))),_0x3fec08['_suggestionFactory'][_0x3c3f('0x46')](_0x3c3f('0x61'),_0x3c3f('0x25'),_0x3c3f('0x6f'),()=>{}),_0x3fec08['_suggestionFactory']['registerCustomCallback'](_0x3c3f('0x61'),_0x3c3f('0x25'),'discard',([_0xecd795])=>{const _0xd8a2cf=_0x3fec08[_0x3c3f('0xf')]['getSuggestionCallback']('insertion','',_0x3c3f('0x59'));let _0x4a0057=_0xecd795[_0x3c3f('0x10')],_0x23bd26=_0xecd795['end'];const _0x2ebd2c=_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x66')][_0x3c3f('0x60')](_0x4a0057,'backward'),_0x4d9760=_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x66')][_0x3c3f('0x60')](_0x23bd26,'forward');_0x2ebd2c[_0x3c3f('0x75')]&&(_0x4a0057=_0x2ebd2c[_0x3c3f('0x10')]),_0x4d9760[_0x3c3f('0x75')]&&(_0x23bd26=_0x4d9760[_0x3c3f('0x6e')]),_0xd8a2cf([_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x51')](_0x4a0057,_0x23bd26)]);}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')](_0x3c3f('0x38'),_0x3c3f('0x25'),_0x3c3f('0x53'),_0x25b830),_0x3fec08[_0x3c3f('0xf')]['registerCustomCallback'](_0x3c3f('0x61'),_0x3c3f('0x25'),_0x3c3f('0x53'),_0x25b830)),_0x342eab[_0x3c3f('0x4')][_0x3c3f('0x67')](_0x3c3f('0x56'))&&(_0x3fec08[_0x3c3f('0x3d')](_0x3c3f('0x2a'),(_0x55724e,_0x3dedeb)=>{const _0x4a5765=_0x342eab['plugins']['get'](_0x3c3f('0x3a'));let _0x2605b5=_0x3b94ca[_0x3c3f('0x5')](_0x342eab['model'][_0x3c3f('0x34')][_0x3c3f('0x3b')]),_0x2fb02d=_0x4a5765['getCaptionFromImageModelElement'](_0x2605b5);_0x342eab['model'][_0x3c3f('0x26')](()=>{if(_0x2fb02d)return void _0x3fec08['markDeletion'](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x63')](_0x2fb02d));const _0x36a376=_0x3b94ca[_0x3c3f('0x6')](_0x2605b5);_0x55724e(_0x3dedeb),_0x2605b5=_0x3b94ca['getClosestSelectedImageElement'](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x3b')]),_0x2fb02d=_0x4a5765[_0x3c3f('0x58')](_0x2605b5),_0x3fec08[_0x3c3f('0x20')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x63')](_0x2fb02d),_0x36a376?null:'imageCaption');});}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')](_0x3c3f('0x61'),_0x3c3f('0xb'),_0x3c3f('0x53'),_0x25b830)),_0x342eab[_0x3c3f('0x4')][_0x3c3f('0x67')](_0x3c3f('0x15'))){_0x3fec08['enableCommand'](_0x3c3f('0x4b'),(_0xaff02,_0x4f7bef)=>{const _0x4553ba=_0x342eab['plugins'][_0x3c3f('0x24')](_0x3c3f('0x5d'))['me'],_0x374b16=_0x342eab[_0x3c3f('0x5b')][_0x3c3f('0x24')](_0x3c3f('0x4b'));let _0x17114f=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x3b')]),_0x2849fc=_0x342eab['model'][_0x3c3f('0x63')](_0x17114f),_0x34fc80=_0x374b16[_0x3c3f('0x14')];if(_0x34fc80==_0x4f7bef['value'])return;const _0x43db69={'commandName':'imageStyle','commandParams':[_0x4f7bef],'formatGroupId':_0x2b2968()};_0x342eab['model'][_0x3c3f('0x26')](()=>{if(_0x3fec08['getSuggestions']()[_0x3c3f('0x45')](_0x4b9fe8=>_0x4b9fe8[_0x3c3f('0xc')]&&_0x4553ba==_0x4b9fe8[_0x3c3f('0xe')]&&(_0x3c3f('0x38')==_0x4b9fe8['type']||_0x3c3f('0x72')==_0x4b9fe8[_0x3c3f('0x64')])&&(_0x3c3f('0x6b')==_0x4b9fe8[_0x3c3f('0x48')]||_0x3c3f('0x28')==_0x4b9fe8[_0x3c3f('0x48')])&&_0x4b9fe8[_0x3c3f('0x68')]()[_0x3c3f('0x74')](_0x2849fc))[_0x3c3f('0x22')](_0x1c4136=>_0x3fec08['discardSuggestion'](_0x1c4136[_0x3c3f('0x4f')])),_0x17114f=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x3b')]),_0x2849fc=_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x63')](_0x17114f),_0x374b16['refresh'](),_0x342eab[_0x3c3f('0x5b')]['get'](_0x3c3f('0x1b'))[_0x3c3f('0x69')](),_0x342eab[_0x3c3f('0x5b')][_0x3c3f('0x24')]('imageTypeBlock')['refresh'](),_0x34fc80=_0x374b16[_0x3c3f('0x14')],_0x34fc80!=_0x4f7bef[_0x3c3f('0x14')])return _0x3b94ca[_0x3c3f('0x1c')](_0x17114f)&&_0x374b16[_0x3c3f('0x18')](_0x4f7bef['value'],_0x17114f)?(_0xaff02(_0x4f7bef),_0x17114f=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')]['selection']),void _0x3fec08[_0x3c3f('0x11')](_0x17114f,{..._0x43db69,'commandReversedParams':[{'value':_0x34fc80||null}]},[],'imageStylePreApply')):void(_0x3b94ca[_0x3c3f('0x6')](_0x17114f)?_0x3fec08[_0x3c3f('0x11')](_0x17114f,_0x43db69,[],'imageStylePostApply'):_0x3fec08['markInlineFormat'](_0x2849fc,_0x43db69,_0x3c3f('0x28')));});});for(const _0x475f6e of _0x342eab[_0x3c3f('0x4')]['get'](_0x3c3f('0x15'))['normalizedStyles'])_0x2416ee[_0x475f6e[_0x3c3f('0x1e')]]=_0x475f6e[_0x3c3f('0x2e')][_0x3c3f('0x30')]();_0x3fec08[_0x3c3f('0xf')]['registerCustomCallback'](_0x3c3f('0x38'),_0x3c3f('0x6b'),_0x3c3f('0x6f'),()=>{}),_0x3fec08['_suggestionFactory'][_0x3c3f('0x46')](_0x3c3f('0x38'),_0x3c3f('0x28'),_0x3c3f('0x6f'),()=>{}),_0x3fec08[_0x3c3f('0xf')]['registerCustomCallback'](_0x3c3f('0x72'),_0x3c3f('0x28'),'join',()=>{}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')](_0x3c3f('0x38'),_0x3c3f('0x6b'),'accept',()=>{}),_0x3fec08[_0x3c3f('0xf')][_0x3c3f('0x46')](_0x3c3f('0x38'),'imageStylePreApply',_0x3c3f('0x59'),(_0x5884ea,_0x494742)=>{_0x3fec08['_suggestionFactory'][_0x3c3f('0x70')](_0x3c3f('0x38'),'',_0x3c3f('0x16'))(_0x5884ea,{'commandName':_0x494742[_0x3c3f('0x3f')],'commandParams':_0x494742['commandReversedParams']});}),_0x3fec08[_0x3c3f('0xf')]['registerCustomCallback'](_0x3c3f('0x38'),'imageStylePreApply',_0x3c3f('0x53'),_0x25b830);}const _0x54b5a4=[{'type':_0x3c3f('0x38'),'subType':_0x3c3f('0x6b')},{'type':'insertion','subType':_0x3c3f('0xb')},{'type':_0x3c3f('0x38'),'subType':'convertInlineImageToBlock'},{'type':_0x3c3f('0x61'),'subType':'convertInlineImageToBlock'}];function _0x58c544(_0x4539f7,_0x125c50){const _0x10ec5d=_0x54b5a4[_0x3c3f('0x32')](({type:_0x3e973d,subType:_0x88d0e3})=>_0x4539f7[_0x3c3f('0x64')]==_0x3e973d&&_0x4539f7[_0x3c3f('0x48')]==_0x88d0e3),_0x5a3cfa=_0x54b5a4[_0x3c3f('0x32')](({type:_0x26cebe,subType:_0x35f433})=>_0x125c50[_0x3c3f('0x64')]==_0x26cebe&&_0x125c50[_0x3c3f('0x48')]==_0x35f433);if(_0x10ec5d<0x0||_0x5a3cfa<0x0)return!0x1;const _0x37dd5e=_0x4539f7[_0x3c3f('0x68')](),_0x437571=_0x125c50['getFirstRange']();if((0x0==_0x10ec5d||0x1==_0x10ec5d)&&0x2==_0x5a3cfa&&_0x37dd5e['isIntersecting'](_0x437571))return!0x0;if(0x2==_0x10ec5d&&0x3==_0x5a3cfa){const _0x349f5e=_0x3fec08[_0x3c3f('0x4e')](_0x37dd5e,'insertion')['filter'](({suggestion:_0x5a70a6,meta:_0x231e42})=>_0x231e42[_0x3c3f('0x2f')]&&_0x3c3f('0x25')==_0x5a70a6[_0x3c3f('0x48')]);if(_0x349f5e[_0x3c3f('0xd')]>0x1&&_0x437571['end'][_0x3c3f('0x74')](_0x37dd5e[_0x3c3f('0x10')]))return!0x0;if(0x1==_0x349f5e[_0x3c3f('0xd')]&&(_0x37dd5e[_0x3c3f('0x10')]['isEqual'](_0x437571[_0x3c3f('0x6e')])||_0x37dd5e['end'][_0x3c3f('0x74')](_0x437571['start'])))return!0x0;}if(0x3==_0x10ec5d&&0x3==_0x5a3cfa&&_0x37dd5e[_0x3c3f('0x10')]['isBefore'](_0x437571['start'])){const _0x5cb0c5=_0x37dd5e['end']['nodeAfter'],_0x2c32de=_0x437571[_0x3c3f('0x10')][_0x3c3f('0x5e')];return _0x3b94ca[_0x3c3f('0x6')](_0x5cb0c5)&&_0x5cb0c5===_0x2c32de;}return!0x1;}function _0x25b830(_0x262b6c,_0x61490d){return _0x58c544(_0x262b6c,_0x61490d)?[_0x262b6c,_0x61490d]:_0x58c544(_0x61490d,_0x262b6c)?[_0x61490d,_0x262b6c]:null;}_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x36')](()=>{let _0x47b9d3=!0x1;const _0x562c44=Array[_0x3c3f('0x37')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x57')][_0x3c3f('0x8')]());for(const {name:_0xf38f9b,data:_0x1549b2}of _0x562c44){const {group:_0x436a9a,type:_0x846318,subType:_0x2bc740,id:_0x588962}=_0x3fec08[_0x3c3f('0x65')](_0xf38f9b);if(_0x3c3f('0x33')==_0x436a9a&&_0x3fec08[_0x3c3f('0x9')](_0x588962)){if(_0x3c3f('0x38')==_0x846318&&(_0x3c3f('0x6b')==_0x2bc740||_0x3c3f('0x28')==_0x2bc740)){const _0x2f8cbf=_0x3fec08[_0x3c3f('0x5c')](_0x588962);if(_0x1549b2[_0x3c3f('0x6c')]){const _0xd8128c=_0x2f8cbf['getFirstRange']()[_0x3c3f('0x5f')]();if(_0x3b94ca['isBlockImage'](_0xd8128c))continue;_0x3fec08[_0x3c3f('0x41')](_0x2f8cbf),_0x47b9d3=!0x0;}}if(_0x3c3f('0x61')==_0x846318&&_0x3c3f('0xb')==_0x2bc740&&!_0x1549b2['newRange']){const _0xc55236=_0x3fec08[_0x3c3f('0x5c')](_0x588962);_0xc55236[_0x3c3f('0x54')]&&_0xc55236[_0x3c3f('0x54')][_0x3c3f('0xc')]&&(_0x3fec08[_0x3c3f('0x41')](_0xc55236['next']),_0x47b9d3=!0x0);}}}return _0x47b9d3;}),_0x342eab[_0x3c3f('0x4')][_0x3c3f('0x67')](_0x3c3f('0x31'))&&_0x3fec08[_0x3c3f('0x3d')](_0x3c3f('0x1f'),(_0x352939,_0x4634d6)=>{const _0x2e844b=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x34')][_0x3c3f('0x3b')]);_0x2e844b['getAttribute'](_0x3c3f('0x47'))!=_0x4634d6[_0x3c3f('0x47')]&&_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x26')](()=>{_0x3fec08['markBlockFormat'](_0x2e844b,{'commandName':_0x3c3f('0x1f'),'commandParams':[_0x4634d6]});});}),_0x342eab['plugins'][_0x3c3f('0x67')](_0x3c3f('0x4d'))&&_0x3fec08[_0x3c3f('0x3d')](_0x3c3f('0x62'),(_0x1b507b,_0xf66440)=>{const _0x3bf030=_0x3b94ca[_0x3c3f('0x5')](_0x342eab[_0x3c3f('0x6d')]['document']['selection']);(_0x3bf030['hasAttribute'](_0x3c3f('0x17'))?_0x3bf030[_0x3c3f('0x35')](_0x3c3f('0x17')):'')!=_0xf66440[_0x3c3f('0x2c')]&&_0x342eab[_0x3c3f('0x6d')][_0x3c3f('0x26')](()=>{_0x3fec08['markBlockFormat'](_0x3bf030,{'commandName':_0x3c3f('0x62'),'commandParams':[_0xf66440]});});}),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x42')](_0x7d2d13=>{if(!!_0x54b5a4[_0x3c3f('0x55')](({type:_0x17e26a,subType:_0x5a96d6})=>_0x7d2d13[_0x3c3f('0x64')]==_0x17e26a&&_0x7d2d13[_0x3c3f('0x48')]==_0x5a96d6))return _0x7d2d13[_0x3c3f('0x1d')]?{}:void 0x0;}),_0x3fec08[_0x3c3f('0x0')]['registerDescriptionCallback'](_0x269d28=>{if(_0x3c3f('0x61')==_0x269d28['type']||_0x3c3f('0x39')==_0x269d28[_0x3c3f('0x64')]){const _0x20a291=_0x269d28[_0x3c3f('0x5f')]();if(_0x20a291&&_0x20a291['is'](_0x3c3f('0x40'),'caption'))return{'type':'insertion'==_0x269d28[_0x3c3f('0x64')]?_0x3c3f('0x12'):_0x3c3f('0x23'),'element':_0x20a291,'quantity':0x1};}}),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x42')](_0x17b01f=>_0x3c3f('0x38')==_0x17b01f['type']&&_0x3c3f('0x25')==_0x17b01f['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x17b01f[_0x3c3f('0x64')]&&_0x3c3f('0x1a')==_0x17b01f[_0x3c3f('0x48')]?{'type':'format','content':_0x3c3f('0x3e')}:void 0x0),_0x3fec08[_0x3c3f('0x0')][_0x3c3f('0x42')](_0x41dbe8=>{const {data:_0x167575}=_0x41dbe8;if(_0x167575){if(_0x3c3f('0x4b')==_0x167575['commandName']){const _0x59b4bd=_0x167575['commandParams'][0x0][_0x3c3f('0x14')];return _0x3d9605(_0x3c3f('0x2b')===_0x59b4bd?_0x3e905a(_0x18a0e4,_0x3c3f('0x3')):_0x2416ee[_0x59b4bd]||_0x59b4bd);}if('imageTextAlternative'==_0x167575[_0x3c3f('0x3f')]){const _0xc990e3=_0x167575[_0x3c3f('0x13')][0x0][_0x3c3f('0x2c')];return _0xc990e3?{'type':_0x3c3f('0x49'),'content':_0x3e905a(_0x18a0e4,_0x3c3f('0x43'),'\x22'+_0xc990e3+'\x22')}:{'type':_0x3c3f('0x49'),'content':_0x3e905a(_0x18a0e4,'*Remove\x20image\x20text\x20alternative*')};}if(_0x3c3f('0x1f')==_0x167575[_0x3c3f('0x3f')]){const _0x2b37b2=_0x167575[_0x3c3f('0x13')][0x0]['width'];return _0x2b37b2?{'type':'format','content':_0x3e905a(_0x18a0e4,_0x3c3f('0x3c'),_0x2b37b2)}:{'type':_0x3c3f('0x49'),'content':_0x3e905a(_0x18a0e4,_0x3c3f('0x7'))};}}function _0x3d9605(_0x5ea926){return{'type':_0x3c3f('0x49'),'content':_0x3e905a(_0x18a0e4,_0x3c3f('0x4c'),_0x5ea926)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcd53=['selection','src','enableCommand','handleReplaceImageCommand','replaceImageSource','registerCustomCallback','_descriptionFactory','get','change','afterInit','handleSuggestionDescription','commandParams','Users','_suggestionFactory','*Format:*\x20replace\x20image\x20URL','subType','model','formatBlock','getSuggestions','format','getContainedElement','registerDescriptionCallback','getAttribute','TrackChangesEditing','plugins','getSelectedElement','locale','data','discard','author','getSuggestionCallback','document','editor','accept','has'];(function(_0x327ada,_0xcd53e3){const _0x3d6c1d=function(_0x82a46e){while(--_0x82a46e){_0x327ada['push'](_0x327ada['shift']());}};_0x3d6c1d(++_0xcd53e3);}(_0xcd53,0x138));const _0x3d6c=function(_0x327ada,_0xcd53e3){_0x327ada=_0x327ada-0x0;let _0x3d6c1d=_0xcd53[_0x327ada];return _0x3d6c1d;};import{Plugin as _0x1be4b3}from'ckeditor5/src/core';import{getTranslation as _0x2f4df8}from'../utils/common-translations';export default class Y extends _0x1be4b3{[_0x3d6c('0xc')](){if(!this[_0x3d6c('0x0')]['plugins'][_0x3d6c('0x2')]('ImageEditing'))return;const _0x1a684c=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0x1a'));_0x1a684c[_0x3d6c('0x5')](_0x3d6c('0x7'),(_0x4b7e70,_0x5dedb4)=>this[_0x3d6c('0x6')](_0x4b7e70,_0x5dedb4)),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x8')](_0x3d6c('0x14'),_0x3d6c('0x7'),_0x3d6c('0x1'),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1f'))),_0x1a684c['_suggestionFactory'][_0x3d6c('0x8')]('formatBlock',_0x3d6c('0x7'),'discard',_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1'))),_0x1a684c[_0x3d6c('0x9')][_0x3d6c('0x18')](_0x5eed26=>this[_0x3d6c('0xd')](_0x5eed26));}[_0x3d6c('0x6')](_0x1f9026,_0x737398){const _0x371a81=this[_0x3d6c('0x0')][_0x3d6c('0x1b')]['get'](_0x3d6c('0x1a')),_0x35373e=this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0x22')][_0x3d6c('0x3')][_0x3d6c('0x1c')]();this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0xb')](()=>{let _0x389b45=_0x35373e[_0x3d6c('0x19')](_0x3d6c('0x4'));const _0x11dc2b=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0xf'))['me'];for(const _0x1c7054 of _0x371a81[_0x3d6c('0x15')]({'skipNotAttached':!0x0})){const _0x219c89=_0x1c7054[_0x3d6c('0x17')]();if(_0x3d6c('0x7')===_0x1c7054[_0x3d6c('0x12')]&&_0x219c89===_0x35373e){_0x1c7054[_0x3d6c('0x20')]!==_0x11dc2b&&_0x1c7054[_0x3d6c('0x1f')](),_0x389b45=_0x1c7054[_0x3d6c('0x1e')][_0x3d6c('0xe')][0x0]['source'];break;}}_0x1f9026(_0x737398),_0x371a81['markBlockFormat'](_0x35373e,{'commandName':'replaceImageSource','commandParams':[{'source':_0x389b45}]},[],_0x3d6c('0x7'));});}['handleSuggestionDescription'](_0x731373){const {data:_0x5b69e9}=_0x731373;if(_0x5b69e9&&_0x3d6c('0x7')===_0x5b69e9['commandName']){const _0x126ae5=_0x3d6c('0x11');return{'type':_0x3d6c('0x16'),'content':_0x2f4df8(this[_0x3d6c('0x0')][_0x3d6c('0x1d')],_0x126ae5)};}}}
23
+ const _0x3efa=['plugins','locale','format','ImageEditing','model','getAttribute','discard','accept','registerCustomCallback','editor','getContainedElement','formatBlock','get','commandParams','src','handleReplaceImageCommand','document','author','change','registerDescriptionCallback','has','*Format:*\x20replace\x20image\x20URL','Users','data','getSuggestions','_suggestionFactory','source','getSuggestionCallback','afterInit','handleSuggestionDescription','markBlockFormat','replaceImageSource'];(function(_0x5ba152,_0x3efa38){const _0x2229bb=function(_0x48ed57){while(--_0x48ed57){_0x5ba152['push'](_0x5ba152['shift']());}};_0x2229bb(++_0x3efa38);}(_0x3efa,0x1e5));const _0x2229=function(_0x5ba152,_0x3efa38){_0x5ba152=_0x5ba152-0x0;let _0x2229bb=_0x3efa[_0x5ba152];return _0x2229bb;};import{Plugin as _0x77faf7}from'ckeditor5/src/core';import{getTranslation as _0x3c2bf1}from'../utils/common-translations';export default class Y extends _0x77faf7{[_0x2229('0x17')](){if(!this[_0x2229('0x4')][_0x2229('0x1b')][_0x2229('0xf')](_0x2229('0x1e')))return;const _0x19dc8a=this['editor']['plugins']['get']('TrackChangesEditing');_0x19dc8a['enableCommand']('replaceImageSource',(_0x1d4884,_0x17e44e)=>this[_0x2229('0xa')](_0x1d4884,_0x17e44e)),_0x19dc8a[_0x2229('0x14')][_0x2229('0x3')](_0x2229('0x6'),_0x2229('0x1a'),'accept',_0x19dc8a[_0x2229('0x14')][_0x2229('0x16')]('formatBlock',null,_0x2229('0x1'))),_0x19dc8a[_0x2229('0x14')][_0x2229('0x3')](_0x2229('0x6'),_0x2229('0x1a'),_0x2229('0x1'),_0x19dc8a[_0x2229('0x14')][_0x2229('0x16')](_0x2229('0x6'),null,_0x2229('0x2'))),_0x19dc8a['_descriptionFactory'][_0x2229('0xe')](_0x48af0c=>this['handleSuggestionDescription'](_0x48af0c));}['handleReplaceImageCommand'](_0x221a2b,_0x2acc23){const _0x2c473a=this[_0x2229('0x4')][_0x2229('0x1b')][_0x2229('0x7')]('TrackChangesEditing'),_0x42d150=this[_0x2229('0x4')][_0x2229('0x1f')][_0x2229('0xb')]['selection']['getSelectedElement']();this[_0x2229('0x4')][_0x2229('0x1f')][_0x2229('0xd')](()=>{let _0x331ced=_0x42d150[_0x2229('0x0')](_0x2229('0x9'));const _0x4e92f0=this['editor']['plugins'][_0x2229('0x7')](_0x2229('0x11'))['me'];for(const _0x598581 of _0x2c473a[_0x2229('0x13')]({'skipNotAttached':!0x0})){const _0x334103=_0x598581[_0x2229('0x5')]();if(_0x2229('0x1a')===_0x598581['subType']&&_0x334103===_0x42d150){_0x598581[_0x2229('0xc')]!==_0x4e92f0&&_0x598581['discard'](),_0x331ced=_0x598581[_0x2229('0x12')][_0x2229('0x8')][0x0][_0x2229('0x15')];break;}}_0x221a2b(_0x2acc23),_0x2c473a[_0x2229('0x19')](_0x42d150,{'commandName':'replaceImageSource','commandParams':[{'source':_0x331ced}]},[],_0x2229('0x1a'));});}[_0x2229('0x18')](_0x55cbe3){const {data:_0x2ccfb3}=_0x55cbe3;if(_0x2ccfb3&&'replaceImageSource'===_0x2ccfb3['commandName']){const _0xd4a5f7=_0x2229('0x10');return{'type':_0x2229('0x1d'),'content':_0x3c2bf1(this[_0x2229('0x4')][_0x2229('0x1c')],_0xd4a5f7)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4611=['lowest','trackChanges','enableCommand','_setSuggestionData','_trackChangesExecuted','execute','value','afterInit','bind','importWord','TrackChangesEditing','collaboration_features','dataInsert','track_changes','commands','_trackChangesValueDuringImport','_handleImportedData','forEach','get','plugins','listenTo','editor','high'];(function(_0x324227,_0x46118d){const _0xad4452=function(_0x3dd5b8){while(--_0x3dd5b8){_0x324227['push'](_0x324227['shift']());}};_0xad4452(++_0x46118d);}(_0x4611,0x137));const _0xad44=function(_0x324227,_0x46118d){_0x324227=_0x324227-0x0;let _0xad4452=_0x4611[_0x324227];return _0xad4452;};import{Plugin as _0x40d71c}from'ckeditor5/src/core';export default class Z extends _0x40d71c{constructor(_0x200dd0){super(_0x200dd0),this[_0xad44('0x3')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0xad44('0x12')](){const _0x2da6b2=this[_0xad44('0x9')],_0x43b89b=_0x2da6b2[_0xad44('0x2')]['get'](_0xad44('0x14')),_0x55952d=_0x2da6b2[_0xad44('0x2')][_0xad44('0x6')]('trackChanges');_0x43b89b&&(_0x43b89b['on'](_0xad44('0x10'),(_0x27b1c9,[,_0x18297d])=>{this[_0xad44('0x3')]=_0x55952d[_0xad44('0x11')],_0x18297d[_0xad44('0x16')][_0xad44('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0xad44('0xa')}),this['listenTo'](_0x43b89b,_0xad44('0x0'),this[_0xad44('0x4')][_0xad44('0x13')](this)),this[_0xad44('0x8')](_0x43b89b,_0xad44('0x0'),()=>{this[_0xad44('0xf')]&&(_0x55952d[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x1);},{'priority':_0xad44('0xb')}),_0x2da6b2['plugins']['get']('TrackChangesEditing')[_0xad44('0xd')]('importWord'));}[_0xad44('0x4')](_0x47b2df,_0x8447df){const {suggestions:_0x3ae1d7}=_0x8447df,_0x6595df=this['editor'][_0xad44('0x2')][_0xad44('0x6')](_0xad44('0xc')),_0x2da3c0=_0x6595df[_0xad44('0x11')];this['_trackChangesValueDuringImport']!==_0x2da3c0&&(_0x6595df[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x0),_0x3ae1d7&&_0x3ae1d7[_0xad44('0x5')](({id:_0x5d2a67,type:_0x54bf3e,author:_0x25f509,created_at:_0x4c1dcb})=>{const _0x1ffe7b={'id':_0x5d2a67,'type':_0x54bf3e,'authorId':this[_0xad44('0x9')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25f509,'createdAt':_0x4c1dcb?new Date(_0x4c1dcb):new Date(),'source':'importWord'}}};this[_0xad44('0x9')][_0xad44('0x7')]['get'](_0xad44('0x15'))[_0xad44('0xe')](_0x1ffe7b);});}}
23
+ const _0xd222=['forEach','listenTo','trackChanges','get','high','bind','dataInsert','lowest','enableCommand','importWord','Users','commands','_trackChangesValueDuringImport','value','editor','plugins','_trackChangesExecuted','execute','_handleImportedData','TrackChangesEditing'];(function(_0x44dd9d,_0xd222f7){const _0x3560d5=function(_0x24d0fe){while(--_0x24d0fe){_0x44dd9d['push'](_0x44dd9d['shift']());}};_0x3560d5(++_0xd222f7);}(_0xd222,0x185));const _0x3560=function(_0x44dd9d,_0xd222f7){_0x44dd9d=_0x44dd9d-0x0;let _0x3560d5=_0xd222[_0x44dd9d];return _0x3560d5;};import{Plugin as _0x6ca69a}from'ckeditor5/src/core';export default class Z extends _0x6ca69a{constructor(_0xac8e55){super(_0xac8e55),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x4638c6=this['editor'],_0x2b2fb1=_0x4638c6[_0x3560('0x2')]['get']('importWord'),_0x5c097d=_0x4638c6[_0x3560('0x2')][_0x3560('0xe')](_0x3560('0xd'));_0x2b2fb1&&(_0x2b2fb1['on'](_0x3560('0x8'),(_0x5d0417,[,_0x232e87])=>{this[_0x3560('0x3')]=_0x5c097d['value'],_0x232e87['collaboration_features']['track_changes']=!this[_0x3560('0x3')];},{'priority':_0x3560('0xf')}),this[_0x3560('0xc')](_0x2b2fb1,_0x3560('0x11'),this[_0x3560('0x9')][_0x3560('0x10')](this)),this[_0x3560('0xc')](_0x2b2fb1,_0x3560('0x11'),()=>{this[_0x3560('0x7')]&&(_0x5c097d[_0x3560('0x8')](),this[_0x3560('0x7')]=!0x1);},{'priority':_0x3560('0x12')}),_0x4638c6[_0x3560('0x6')][_0x3560('0xe')]('TrackChangesEditing')[_0x3560('0x13')](_0x3560('0x0')));}[_0x3560('0x9')](_0x358dac,_0x2d79f9){const {suggestions:_0x480115}=_0x2d79f9,_0x282f06=this['editor'][_0x3560('0x2')]['get'](_0x3560('0xd')),_0x2b68ae=_0x282f06[_0x3560('0x4')];this[_0x3560('0x3')]!==_0x2b68ae&&(_0x282f06['execute'](),this[_0x3560('0x7')]=!0x0),_0x480115&&_0x480115[_0x3560('0xb')](({id:_0x364ec9,type:_0x39dbaa,author:_0x15f0a3,created_at:_0x457bb1})=>{const _0x466ec7={'id':_0x364ec9,'type':_0x39dbaa,'authorId':this['editor'][_0x3560('0x6')]['get'](_0x3560('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x15f0a3,'createdAt':_0x457bb1?new Date(_0x457bb1):new Date(),'source':_0x3560('0x0')}}};this[_0x3560('0x5')][_0x3560('0x6')][_0x3560('0xe')](_0x3560('0xa'))['_setSuggestionData'](_0x466ec7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10b9=['model','commandName','IndentEditing','editor','selection','get','indentBlock','has','*Indent:*\x20%0','outdentBlock','change','schema','filter','checkAttribute','*Outdent:*\x20%0','afterInit','markBlockFormat','format','from','registerDescriptionCallback','_descriptionFactory','IndentBlock','locale','enableCommand','blockIndent','outdent','plugins'];(function(_0x3acb04,_0x10b997){const _0x23cea8=function(_0x583b5e){while(--_0x583b5e){_0x3acb04['push'](_0x3acb04['shift']());}};_0x23cea8(++_0x10b997);}(_0x10b9,0x15b));const _0x23ce=function(_0x3acb04,_0x10b997){_0x3acb04=_0x3acb04-0x0;let _0x23cea8=_0x10b9[_0x3acb04];return _0x23cea8;};import{Plugin as _0x587805}from'ckeditor5/src/core';import{getTranslation as _0x56db1f}from'../utils/common-translations';export default class tt extends _0x587805{[_0x23ce('0x13')](){const _0xe3a404=this[_0x23ce('0x7')],_0x5d4653=_0xe3a404[_0x23ce('0x3')][_0x23ce('0x9')]('TrackChangesEditing');_0xe3a404['plugins'][_0x23ce('0xb')](_0x23ce('0x6'))&&(_0x5d4653[_0x23ce('0x0')]('indent'),_0x5d4653[_0x23ce('0x0')](_0x23ce('0x2')));const _0x32f14b=_0xe3a404[_0x23ce('0x1a')];if(_0xe3a404[_0x23ce('0x3')][_0x23ce('0xb')](_0x23ce('0x19'))){for(const _0x2a48a2 of['indentBlock',_0x23ce('0xd')])_0x5d4653['enableCommand'](_0x2a48a2,()=>{const _0x4798a6=Array[_0x23ce('0x16')](this['editor'][_0x23ce('0x4')]['document'][_0x23ce('0x8')]['getSelectedBlocks']())[_0x23ce('0x10')](_0x267769=>this[_0x23ce('0x7')][_0x23ce('0x4')][_0x23ce('0xf')][_0x23ce('0x11')](_0x267769,_0x23ce('0x1')));_0xe3a404[_0x23ce('0x4')][_0x23ce('0xe')](()=>{for(const _0xff2686 of _0x4798a6)_0x5d4653[_0x23ce('0x14')](_0xff2686,{'commandName':_0x2a48a2,'commandParams':[{'value':''}],'formatGroupId':_0x23ce('0xa')});});});_0x5d4653['_descriptionFactory'][_0x23ce('0x17')](_0x52bcea=>{const {data:_0x50c634}=_0x52bcea;if(!_0x50c634)return;if('indentBlock'!=_0x50c634[_0x23ce('0x5')]&&_0x23ce('0xd')!=_0x50c634[_0x23ce('0x5')])return;const _0x75bd97=_0x52bcea['getItems']()[0x0],_0x2178f8=_0x5d4653[_0x23ce('0x18')]['getItemLabel'](_0x75bd97);return _0x23ce('0xa')==_0x50c634[_0x23ce('0x5')]?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0xc'),_0x2178f8)}:_0x23ce('0xd')==_0x50c634['commandName']?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0x12'),_0x2178f8)}:void 0x0;});}}}
23
+ const _0x13a1=['blockIndent','getItems','get','has','checkAttribute','afterInit','locale','commandName','markBlockFormat','*Indent:*\x20%0','IndentBlock','enableCommand','outdentBlock','IndentEditing','plugins','indent','getItemLabel','schema','from','*Outdent:*\x20%0','model','indentBlock','TrackChangesEditing','format','document','registerDescriptionCallback','_descriptionFactory','editor'];(function(_0x7cb91,_0x13a1a1){const _0x4a1caa=function(_0x697e89){while(--_0x697e89){_0x7cb91['push'](_0x7cb91['shift']());}};_0x4a1caa(++_0x13a1a1);}(_0x13a1,0x66));const _0x4a1c=function(_0x7cb91,_0x13a1a1){_0x7cb91=_0x7cb91-0x0;let _0x4a1caa=_0x13a1[_0x7cb91];return _0x4a1caa;};import{Plugin as _0x1a3867}from'ckeditor5/src/core';import{getTranslation as _0x121ebc}from'../utils/common-translations';export default class tt extends _0x1a3867{[_0x4a1c('0xf')](){const _0x472cd4=this['editor'],_0x1dc389=_0x472cd4[_0x4a1c('0x18')][_0x4a1c('0xc')](_0x4a1c('0x4'));_0x472cd4[_0x4a1c('0x18')]['has'](_0x4a1c('0x17'))&&(_0x1dc389[_0x4a1c('0x15')](_0x4a1c('0x19')),_0x1dc389[_0x4a1c('0x15')]('outdent'));const _0x49cbec=_0x472cd4[_0x4a1c('0x10')];if(_0x472cd4['plugins'][_0x4a1c('0xd')](_0x4a1c('0x14'))){for(const _0x3da91a of[_0x4a1c('0x3'),'outdentBlock'])_0x1dc389[_0x4a1c('0x15')](_0x3da91a,()=>{const _0x1ad6d7=Array[_0x4a1c('0x0')](this['editor'][_0x4a1c('0x2')][_0x4a1c('0x6')]['selection']['getSelectedBlocks']())['filter'](_0x4a3fdd=>this[_0x4a1c('0x9')][_0x4a1c('0x2')][_0x4a1c('0x1b')][_0x4a1c('0xe')](_0x4a3fdd,_0x4a1c('0xa')));_0x472cd4['model']['change'](()=>{for(const _0xe9f89d of _0x1ad6d7)_0x1dc389[_0x4a1c('0x12')](_0xe9f89d,{'commandName':_0x3da91a,'commandParams':[{'value':''}],'formatGroupId':_0x4a1c('0x3')});});});_0x1dc389[_0x4a1c('0x8')][_0x4a1c('0x7')](_0x432718=>{const {data:_0x23c0a1}=_0x432718;if(!_0x23c0a1)return;if(_0x4a1c('0x3')!=_0x23c0a1[_0x4a1c('0x11')]&&'outdentBlock'!=_0x23c0a1['commandName'])return;const _0xcf04d2=_0x432718[_0x4a1c('0xb')]()[0x0],_0x3cead1=_0x1dc389['_descriptionFactory'][_0x4a1c('0x1a')](_0xcf04d2);return'indentBlock'==_0x23c0a1[_0x4a1c('0x11')]?{'type':_0x4a1c('0x5'),'content':_0x121ebc(_0x49cbec,_0x4a1c('0x13'),_0x3cead1)}:_0x4a1c('0x16')==_0x23c0a1[_0x4a1c('0x11')]?{'type':'format','content':_0x121ebc(_0x49cbec,_0x4a1c('0x1'),_0x3cead1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5458=['plugins','enableCommand','get','init','TrackChangesEditing','requires','editor'];(function(_0x316145,_0x5458e9){var _0xb87884=function(_0x57ffb3){while(--_0x57ffb3){_0x316145['push'](_0x316145['shift']());}};_0xb87884(++_0x5458e9);}(_0x5458,0x133));var _0xb878=function(_0x316145,_0x5458e9){_0x316145=_0x316145-0x0;var _0xb87884=_0x5458[_0x316145];return _0xb87884;};import{Plugin as _0x3a4f69}from'ckeditor5/src/core';import{Input as _0x5df02c}from'ckeditor5/src/typing';export default class it extends _0x3a4f69{static get[_0xb878('0x6')](){return[_0x5df02c];}[_0xb878('0x4')](){this[_0xb878('0x0')][_0xb878('0x1')][_0xb878('0x3')](_0xb878('0x5'))[_0xb878('0x2')]('input');}}
23
+ var _0x2f5f=['requires','plugins','init','TrackChangesEditing','enableCommand'];(function(_0x2c8088,_0x2f5fa8){var _0x1ffde1=function(_0x348056){while(--_0x348056){_0x2c8088['push'](_0x2c8088['shift']());}};_0x1ffde1(++_0x2f5fa8);}(_0x2f5f,0x11f));var _0x1ffd=function(_0x2c8088,_0x2f5fa8){_0x2c8088=_0x2c8088-0x0;var _0x1ffde1=_0x2f5f[_0x2c8088];return _0x1ffde1;};import{Plugin as _0x1ffd35}from'ckeditor5/src/core';import{Input as _0xcfa88a}from'ckeditor5/src/typing';export default class it extends _0x1ffd35{static get[_0x1ffd('0x3')](){return[_0xcfa88a];}[_0x1ffd('0x0')](){this['editor'][_0x1ffd('0x4')]['get'](_0x1ffd('0x1'))[_0x1ffd('0x2')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34bf=['selection','enableCommand','isCollapsed','commandParams','has','getFirstRange','*Remove\x20link*','editor','change','linkHref','markInlineFormat','unlink','*Set\x20link:*\x20%0','link','commandName','afterInit','document','getFirstPosition','model','plugins','LinkEditing','registerDescriptionCallback','TrackChangesEditing','format'];(function(_0xf40562,_0x34bf3b){const _0x921c5f=function(_0x40b22f){while(--_0x40b22f){_0xf40562['push'](_0xf40562['shift']());}};_0x921c5f(++_0x34bf3b);}(_0x34bf,0xa4));const _0x921c=function(_0xf40562,_0x34bf3b){_0xf40562=_0xf40562-0x0;let _0x921c5f=_0x34bf[_0xf40562];return _0x921c5f;};import{Plugin as _0x53d5c8}from'ckeditor5/src/core';import{findAttributeRange as _0x53f06d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4bc30c}from'./utils';import{getTranslation as _0x127d90}from'../utils/common-translations';export default class et extends _0x53d5c8{[_0x921c('0x13')](){const _0x2af265=this['editor'];if(!_0x2af265[_0x921c('0x17')][_0x921c('0x8')](_0x921c('0x0')))return;const _0x2335eb=_0x2af265[_0x921c('0x17')]['get'](_0x921c('0x2'));_0x2335eb[_0x921c('0x5')](_0x921c('0x11'),(_0x2096b4,_0x596905)=>{const _0x2cd861=_0x2af265[_0x921c('0x16')][_0x921c('0x14')]['selection'];let _0x5a0243=[];if(_0x2cd861['isCollapsed']){if(!_0x2cd861['hasAttribute'](_0x921c('0xd')))return void _0x2096b4(_0x596905);{const _0x5f3e5c=_0x53f06d(_0x2cd861[_0x921c('0x15')](),'linkHref',_0x2cd861['getAttribute']('linkHref'),_0x2af265[_0x921c('0x16')]);_0x5a0243=[_0x5f3e5c];}}else _0x5a0243=Array['from'](_0x2cd861['getRanges']());_0x2af265[_0x921c('0x16')][_0x921c('0xc')](()=>{for(const _0x1514d8 of _0x5a0243)_0x2335eb['markInlineFormat'](_0x1514d8,{'commandName':_0x921c('0x11'),'commandParams':[_0x596905]});});}),_0x2335eb[_0x921c('0x5')](_0x921c('0xf'),()=>{const _0x39f079=this[_0x921c('0xb')]['model'],_0x13d046=_0x39f079[_0x921c('0x14')][_0x921c('0x4')];_0x39f079[_0x921c('0xc')](()=>{let _0x31e19a=[];if(_0x13d046[_0x921c('0x6')])_0x31e19a=[_0x53f06d(_0x13d046[_0x921c('0x15')](),_0x921c('0xd'),_0x13d046['getAttribute'](_0x921c('0xd')),_0x2af265[_0x921c('0x16')])];else _0x31e19a=_0x4bc30c(_0x921c('0xd'),_0x13d046[_0x921c('0x9')](),_0x2af265[_0x921c('0x16')]);for(const _0x440d9f of _0x31e19a)_0x2335eb[_0x921c('0xe')](_0x440d9f,{'commandName':_0x921c('0xf'),'commandParams':[]});});}),_0x2335eb['_descriptionFactory'][_0x921c('0x1')](_0x56b49d=>{const {data:_0x5a51c7}=_0x56b49d,_0x24c20b=_0x2af265['locale'];if(_0x5a51c7){if(_0x921c('0x11')==_0x5a51c7[_0x921c('0x12')]){const _0x5b58f8=_0x5a51c7[_0x921c('0x7')][0x0];return{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0x10'),'\x22'+_0x5b58f8+'\x22')};}return _0x921c('0xf')==_0x5a51c7[_0x921c('0x12')]?{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0xa'))}:void 0x0;}});}}
23
+ const _0x4b01=['LinkEditing','has','commandName','isCollapsed','getAttribute','*Remove\x20link*','getFirstRange','hasAttribute','linkHref','get','link','change','unlink','commandParams','selection','registerDescriptionCallback','enableCommand','format','getFirstPosition','markInlineFormat','TrackChangesEditing','model','document'];(function(_0xda7c5b,_0x4b0107){const _0x420a2b=function(_0x40034a){while(--_0x40034a){_0xda7c5b['push'](_0xda7c5b['shift']());}};_0x420a2b(++_0x4b0107);}(_0x4b01,0x9d));const _0x420a=function(_0xda7c5b,_0x4b0107){_0xda7c5b=_0xda7c5b-0x0;let _0x420a2b=_0x4b01[_0xda7c5b];return _0x420a2b;};import{Plugin as _0x1d56c8}from'ckeditor5/src/core';import{findAttributeRange as _0x447060}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x525ffe}from'./utils';import{getTranslation as _0xa1ca2e}from'../utils/common-translations';export default class et extends _0x1d56c8{['afterInit'](){const _0x4192ad=this['editor'];if(!_0x4192ad['plugins'][_0x420a('0x5')](_0x420a('0x4')))return;const _0x3e1dcd=_0x4192ad['plugins'][_0x420a('0xd')](_0x420a('0x1'));_0x3e1dcd['enableCommand'](_0x420a('0xe'),(_0x195790,_0x26c326)=>{const _0x671c2d=_0x4192ad[_0x420a('0x2')][_0x420a('0x3')][_0x420a('0x12')];let _0x8335a2=[];if(_0x671c2d[_0x420a('0x7')]){if(!_0x671c2d[_0x420a('0xb')](_0x420a('0xc')))return void _0x195790(_0x26c326);{const _0x38bf02=_0x447060(_0x671c2d[_0x420a('0x16')](),_0x420a('0xc'),_0x671c2d[_0x420a('0x8')]('linkHref'),_0x4192ad[_0x420a('0x2')]);_0x8335a2=[_0x38bf02];}}else _0x8335a2=Array['from'](_0x671c2d['getRanges']());_0x4192ad[_0x420a('0x2')][_0x420a('0xf')](()=>{for(const _0x1b553a of _0x8335a2)_0x3e1dcd[_0x420a('0x0')](_0x1b553a,{'commandName':_0x420a('0xe'),'commandParams':[_0x26c326]});});}),_0x3e1dcd[_0x420a('0x14')](_0x420a('0x10'),()=>{const _0x4e1af9=this['editor']['model'],_0x5079df=_0x4e1af9['document'][_0x420a('0x12')];_0x4e1af9[_0x420a('0xf')](()=>{let _0x1807c1=[];if(_0x5079df[_0x420a('0x7')])_0x1807c1=[_0x447060(_0x5079df[_0x420a('0x16')](),_0x420a('0xc'),_0x5079df[_0x420a('0x8')](_0x420a('0xc')),_0x4192ad['model'])];else _0x1807c1=_0x525ffe(_0x420a('0xc'),_0x5079df[_0x420a('0xa')](),_0x4192ad[_0x420a('0x2')]);for(const _0x4e42f7 of _0x1807c1)_0x3e1dcd['markInlineFormat'](_0x4e42f7,{'commandName':_0x420a('0x10'),'commandParams':[]});});}),_0x3e1dcd['_descriptionFactory'][_0x420a('0x13')](_0x3ccbe7=>{const {data:_0x4bd38d}=_0x3ccbe7,_0x113b1c=_0x4192ad['locale'];if(_0x4bd38d){if('link'==_0x4bd38d[_0x420a('0x6')]){const _0x146561=_0x4bd38d[_0x420a('0x11')][0x0];return{'type':'format','content':_0xa1ca2e(_0x113b1c,'*Set\x20link:*\x20%0','\x22'+_0x146561+'\x22')};}return _0x420a('0x10')==_0x4bd38d[_0x420a('0x6')]?{'type':_0x420a('0x15'),'content':_0xa1ca2e(_0x113b1c,_0x420a('0x9'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2945=['end','ELEMENT_LIST_ITEM','previousSibling','locale','createPositionAt','name','plugins','getAttribute','parent','TrackChangesEditing','outdentList','numberedList','TodoListEditing','schema','editor','enableCommand','document','execute','_descriptionFactory','ListEditing','blockName','from','checkTodoList','selection','get','commands','bulletedList','*Indent:*\x20%0','replace','ELEMENT_BULLETED_LIST','markBlockFormat','has','push','isObject','model','value','nextSibling','listIndent','length','commandName','bulleted','todoList','_selectedElements','indentList','List','registerDescriptionCallback','format','afterInit','listType','createRange','element','registerElementLabel','ELEMENT_TODO_LIST','filter','checkChild','slice','listItem','getSelectedBlocks','change','add'];(function(_0x291501,_0x294509){const _0x2bb732=function(_0x4e2724){while(--_0x4e2724){_0x291501['push'](_0x291501['shift']());}};_0x2bb732(++_0x294509);}(_0x2945,0x110));const _0x2bb7=function(_0x291501,_0x294509){_0x291501=_0x291501-0x0;let _0x2bb732=_0x2945[_0x291501];return _0x2bb732;};import{Plugin as _0x2506ee}from'ckeditor5/src/core';import{getTranslation as _0x396acc}from'../utils/common-translations';export default class st extends _0x2506ee{[_0x2bb7('0xf')](){const _0x57c396=this[_0x2bb7('0x2a')],_0x2d9073=_0x57c396[_0x2bb7('0x1f')];if(!_0x57c396[_0x2bb7('0x22')]['has'](_0x2bb7('0x2f')))return;const _0x21fdb7=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x34')](_0x2bb7('0x25')),_0xf14172=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x3b')](_0x2bb7('0x28'));function _0xe7f2f7(_0x198525){return()=>{const _0x436c7c=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x2c')]['selection'],_0x270cb2=_0x57c396[_0x2bb7('0x35')][_0x2bb7('0x34')](_0x198525);if(_0x270cb2['value'])return void _0x57c396[_0x2bb7('0x2d')]('paragraph',{});const _0xf4bfc7=_0x198525[_0x2bb7('0x17')](0x0,-0x4),_0x2d2543=function(_0x59a62b,_0x4114af,_0x419139){let _0xa3df53=Array[_0x2bb7('0x31')](_0x59a62b)['filter'](_0xffd05c=>function(_0x3b53d0,_0x4f6954){return _0x4f6954[_0x2bb7('0x16')](_0x3b53d0[_0x2bb7('0x24')],'listItem')&&!_0x4f6954[_0x2bb7('0x1')](_0x3b53d0);}(_0xffd05c,_0x419139));_0xa3df53=_0xa3df53['filter'](_0x27e2a0=>!_0x27e2a0['is'](_0x2bb7('0x12'),_0x2bb7('0x18'))||_0x27e2a0[_0x2bb7('0x23')](_0x2bb7('0x10'))!=_0x4114af);const _0x4b4ace=new Set();for(const _0x4d9dec of _0xa3df53)_0x4d9dec['is']('element','listItem')?_0x4b4ace['add'](ne(_0x4d9dec)):_0x4b4ace[_0x2bb7('0x1b')](_0x4d9dec);return Array[_0x2bb7('0x31')](_0x4b4ace);}(_0x436c7c[_0x2bb7('0x19')](),_0xf4bfc7,_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x29')]);_0x57c396[_0x2bb7('0x2')]['change'](()=>{for(const _0x218fc0 of _0x2d2543)_0x21fdb7[_0x2bb7('0x3a')](_0x218fc0,{'commandName':_0x198525,'commandParams':[{'forceValue':!_0x270cb2[_0x2bb7('0x3')]}],'formatGroupId':_0x2bb7('0x30')},oe(_0x218fc0));});};}function _0x4c2be6(_0x18756d){return()=>{const _0x1a5b60=function(_0x5ba598){let _0x504b0e=Array['from'](_0x5ba598);const _0x379a50=_0x504b0e['findIndex'](_0x421b0b=>_0x2bb7('0x18')!=_0x421b0b[_0x2bb7('0x21')]);return _0x379a50>-0x1&&(_0x504b0e=_0x504b0e[_0x2bb7('0x17')](0x0,_0x379a50)),_0x504b0e;}(_0x57c396[_0x2bb7('0x2')]['document'][_0x2bb7('0x33')][_0x2bb7('0x19')]()),_0x53f733=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x11')](_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[0x0],'before'),_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[_0x1a5b60[_0x2bb7('0x6')]-0x1],_0x2bb7('0x1c')));_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x1a')](()=>{_0x21fdb7[_0x2bb7('0x3a')](_0x53f733,{'commandName':_0x18756d,'commandParams':[],'formatGroupId':_0x2bb7('0x5')},function(_0x3a3893){const _0x5c7ab9=new Set();for(const _0x297ced of _0x3a3893){let _0x5bad34=_0x297ced[_0x2bb7('0x4')];for(;_0x5bad34&&_0x5bad34[_0x2bb7('0x23')](_0x2bb7('0x5'))>_0x297ced[_0x2bb7('0x23')](_0x2bb7('0x5'));)_0x5c7ab9[_0x2bb7('0x1b')](_0x5bad34),_0x5bad34=_0x5bad34[_0x2bb7('0x4')];}return Array['from'](_0x5c7ab9);}(_0x1a5b60));});};}_0x21fdb7['enableCommand'](_0x2bb7('0x27'),_0xe7f2f7('numberedList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x36'),_0xe7f2f7(_0x2bb7('0x36'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x9'),_0xe7f2f7('todoList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0xb'),_0x4c2be6(_0x2bb7('0xb'))),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x26'),_0x4c2be6(_0x2bb7('0x26'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')]('checkTodoList',()=>{const _0xdb46c7=_0x57c396['commands'][_0x2bb7('0x34')]('checkTodoList'),_0x216ff9=Array[_0x2bb7('0x31')](_0xdb46c7[_0x2bb7('0xa')]);_0x216ff9[_0x2bb7('0x15')](_0x3acfcd=>_0x3acfcd[_0x2bb7('0x23')]('todoListChecked')!=_0xdb46c7[_0x2bb7('0x3')]),_0x57c396['model'][_0x2bb7('0x1a')](()=>{for(const _0x50a98e of _0x216ff9)_0x21fdb7['markBlockFormat'](_0x50a98e,{'commandName':_0x2bb7('0x32'),'commandParams':[{'forceValue':!_0xdb46c7[_0x2bb7('0x3')]}]});});}),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0x13')](_0x2bb7('0x18'),_0x564a77=>_0x396acc(_0x2d9073,_0x2bb7('0x1d'),_0x564a77)),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0xd')](_0x578b54=>{const {data:_0x3f6ab2}=_0x578b54;if(_0x3f6ab2){if(_0x2bb7('0x27')==_0x3f6ab2[_0x2bb7('0x7')]||'bulletedList'==_0x3f6ab2['commandName']||'todoList'==_0x3f6ab2[_0x2bb7('0x7')])switch(_0x3f6ab2[_0x2bb7('0x7')][_0x2bb7('0x38')](_0x2bb7('0xc'),'')){case _0x2bb7('0x8'):return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x39')));case'numbered':return _0x3a1b58(_0x396acc(_0x2d9073,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x14')));}if(_0x2bb7('0xb')==_0x3f6ab2['commandName'])return{'type':'format','content':_0x396acc(_0x2d9073,_0x2bb7('0x37'),_0x396acc(_0x2d9073,'ELEMENT_LIST_ITEM'))};if(_0x2bb7('0x26')==_0x3f6ab2[_0x2bb7('0x7')])return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Outdent:*\x20%0',_0x396acc(_0x2d9073,_0x2bb7('0x1d')))};if(_0x2bb7('0x32')==_0x3f6ab2[_0x2bb7('0x7')])return _0x3f6ab2['commandParams'][0x0]['forceValue']?{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Check\x20item*')}:{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Uncheck\x20item*')};}function _0x3a1b58(_0x3f9a92){return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Change\x20to:*\x20%0',_0x3f9a92)};}});}}function ne(_0x118483){const _0xf42659=_0x118483['getAttribute'](_0x2bb7('0x5'));if(0x0==_0xf42659)return _0x118483;let _0x24a148=_0x118483;for(;_0x118483['previousSibling']&&_0x118483[_0x2bb7('0x1e')]['is'](_0x2bb7('0x12'),'listItem');){const _0x1ee506=_0x118483[_0x2bb7('0x1e')]['getAttribute'](_0x2bb7('0x5'));if(_0x1ee506==_0xf42659)_0x24a148=_0x118483[_0x2bb7('0x1e')];else{if(_0x1ee506<_0xf42659)break;}_0x118483=_0x118483[_0x2bb7('0x1e')];}return _0x24a148;}function oe(_0x4f19b1){const _0x45b108=[];if(_0x4f19b1['is']('element',_0x2bb7('0x18'))&&_0x4f19b1[_0x2bb7('0x23')](_0x2bb7('0x5'))>0x0){let _0x172bd8=_0x4f19b1[_0x2bb7('0x4')];for(;_0x172bd8&&_0x2bb7('0x18')==_0x172bd8[_0x2bb7('0x21')]&&_0x172bd8[_0x2bb7('0x23')]('listIndent')==_0x4f19b1['getAttribute']('listIndent');)_0x45b108[_0x2bb7('0x0')](_0x172bd8),_0x172bd8=_0x172bd8[_0x2bb7('0x4')];}return _0x45b108;}
23
+ const _0x2ca3=['model','execute','value','blockName','slice','afterInit','from','todo','schema','enableCommand','name','ELEMENT_TODO_LIST','listItem','ELEMENT_BULLETED_LIST','format','commandParams','locale','ListEditing','isObject','registerDescriptionCallback','createPositionAt','*Change\x20to:*\x20%0','ELEMENT_NUMBERED_LIST','has','get','getAttribute','bulleted','element','before','replace','paragraph','add','createRange','registerElementLabel','bulletedList','listIndent','change','*Indent:*\x20%0','push','commandName','findIndex','document','outdentList','*Check\x20item*','*Uncheck\x20item*','getSelectedBlocks','listType','ELEMENT_LIST_ITEM','todoList','previousSibling','_descriptionFactory','plugins','TodoListEditing','List','numberedList','selection','checkTodoList','markBlockFormat','indentList','filter','nextSibling','length'];(function(_0x225c44,_0x2ca35f){const _0x57f6a0=function(_0x350da8){while(--_0x350da8){_0x225c44['push'](_0x225c44['shift']());}};_0x57f6a0(++_0x2ca35f);}(_0x2ca3,0xf4));const _0x57f6=function(_0x225c44,_0x2ca35f){_0x225c44=_0x225c44-0x0;let _0x57f6a0=_0x2ca3[_0x225c44];return _0x57f6a0;};import{Plugin as _0x262ffb}from'ckeditor5/src/core';import{getTranslation as _0x3ed159}from'../utils/common-translations';export default class st extends _0x262ffb{[_0x57f6('0x9')](){const _0x10242b=this['editor'],_0x3728dd=_0x10242b[_0x57f6('0x14')];if(!_0x10242b['plugins'][_0x57f6('0x1b')](_0x57f6('0x15')))return;const _0x39ee14=_0x10242b['plugins'][_0x57f6('0x1c')]('TrackChangesEditing'),_0x542e86=_0x10242b[_0x57f6('0x37')][_0x57f6('0x1b')](_0x57f6('0x38'));function _0x447e66(_0xc661d7){return()=>{const _0x188761=_0x10242b[_0x57f6('0x4')][_0x57f6('0x2d')][_0x57f6('0x3b')],_0x559fac=_0x10242b['commands'][_0x57f6('0x1c')](_0xc661d7);if(_0x559fac[_0x57f6('0x6')])return void _0x10242b[_0x57f6('0x5')](_0x57f6('0x22'),{});const _0x504e99=_0xc661d7[_0x57f6('0x8')](0x0,-0x4),_0x36ecd4=function(_0x2c30f8,_0x5d822d,_0x40717e){let _0x1a21ef=Array[_0x57f6('0xa')](_0x2c30f8)[_0x57f6('0x1')](_0x36ff4b=>function(_0xad97d7,_0x419dfa){return _0x419dfa['checkChild'](_0xad97d7['parent'],_0x57f6('0x10'))&&!_0x419dfa[_0x57f6('0x16')](_0xad97d7);}(_0x36ff4b,_0x40717e));_0x1a21ef=_0x1a21ef[_0x57f6('0x1')](_0x39ebd1=>!_0x39ebd1['is']('element','listItem')||_0x39ebd1[_0x57f6('0x1d')](_0x57f6('0x32'))!=_0x5d822d);const _0x5a4d52=new Set();for(const _0x5dd634 of _0x1a21ef)_0x5dd634['is'](_0x57f6('0x1f'),_0x57f6('0x10'))?_0x5a4d52[_0x57f6('0x23')](ne(_0x5dd634)):_0x5a4d52['add'](_0x5dd634);return Array[_0x57f6('0xa')](_0x5a4d52);}(_0x188761['getSelectedBlocks'](),_0x504e99,_0x10242b['model'][_0x57f6('0xc')]);_0x10242b[_0x57f6('0x4')][_0x57f6('0x28')](()=>{for(const _0x58810e of _0x36ecd4)_0x39ee14[_0x57f6('0x3d')](_0x58810e,{'commandName':_0xc661d7,'commandParams':[{'forceValue':!_0x559fac[_0x57f6('0x6')]}],'formatGroupId':_0x57f6('0x7')},oe(_0x58810e));});};}function _0x4faf97(_0x335676){return()=>{const _0x37c84a=function(_0x3dd8f9){let _0x8ca47e=Array[_0x57f6('0xa')](_0x3dd8f9);const _0x4e5804=_0x8ca47e[_0x57f6('0x2c')](_0x506ed5=>_0x57f6('0x10')!=_0x506ed5['name']);return _0x4e5804>-0x1&&(_0x8ca47e=_0x8ca47e[_0x57f6('0x8')](0x0,_0x4e5804)),_0x8ca47e;}(_0x10242b[_0x57f6('0x4')][_0x57f6('0x2d')][_0x57f6('0x3b')][_0x57f6('0x31')]()),_0x3d3b8e=_0x10242b[_0x57f6('0x4')][_0x57f6('0x24')](_0x10242b['model'][_0x57f6('0x18')](_0x37c84a[0x0],_0x57f6('0x20')),_0x10242b[_0x57f6('0x4')][_0x57f6('0x18')](_0x37c84a[_0x37c84a[_0x57f6('0x3')]-0x1],'end'));_0x10242b['model'][_0x57f6('0x28')](()=>{_0x39ee14['markBlockFormat'](_0x3d3b8e,{'commandName':_0x335676,'commandParams':[],'formatGroupId':_0x57f6('0x27')},function(_0x1ad0a9){const _0x5ef0bb=new Set();for(const _0x3de6e1 of _0x1ad0a9){let _0x3d7395=_0x3de6e1[_0x57f6('0x2')];for(;_0x3d7395&&_0x3d7395[_0x57f6('0x1d')](_0x57f6('0x27'))>_0x3de6e1[_0x57f6('0x1d')]('listIndent');)_0x5ef0bb['add'](_0x3d7395),_0x3d7395=_0x3d7395[_0x57f6('0x2')];}return Array[_0x57f6('0xa')](_0x5ef0bb);}(_0x37c84a));});};}_0x39ee14['enableCommand'](_0x57f6('0x3a'),_0x447e66(_0x57f6('0x3a'))),_0x39ee14['enableCommand'](_0x57f6('0x26'),_0x447e66(_0x57f6('0x26'))),_0x542e86&&_0x39ee14[_0x57f6('0xd')](_0x57f6('0x34'),_0x447e66('todoList')),_0x39ee14['enableCommand']('indentList',_0x4faf97('indentList')),_0x39ee14[_0x57f6('0xd')](_0x57f6('0x2e'),_0x4faf97('outdentList')),_0x542e86&&_0x39ee14[_0x57f6('0xd')]('checkTodoList',()=>{const _0x26d5b3=_0x10242b['commands'][_0x57f6('0x1c')](_0x57f6('0x3c')),_0x57efb4=Array[_0x57f6('0xa')](_0x26d5b3['_selectedElements']);_0x57efb4[_0x57f6('0x1')](_0x1c564d=>_0x1c564d[_0x57f6('0x1d')]('todoListChecked')!=_0x26d5b3[_0x57f6('0x6')]),_0x10242b[_0x57f6('0x4')]['change'](()=>{for(const _0x9e1cb of _0x57efb4)_0x39ee14[_0x57f6('0x3d')](_0x9e1cb,{'commandName':_0x57f6('0x3c'),'commandParams':[{'forceValue':!_0x26d5b3['value']}]});});}),_0x39ee14[_0x57f6('0x36')][_0x57f6('0x25')](_0x57f6('0x10'),_0x520776=>_0x3ed159(_0x3728dd,'ELEMENT_LIST_ITEM',_0x520776)),_0x39ee14[_0x57f6('0x36')][_0x57f6('0x17')](_0x5d2454=>{const {data:_0x5b81cc}=_0x5d2454;if(_0x5b81cc){if(_0x57f6('0x3a')==_0x5b81cc[_0x57f6('0x2b')]||_0x57f6('0x26')==_0x5b81cc[_0x57f6('0x2b')]||_0x57f6('0x34')==_0x5b81cc[_0x57f6('0x2b')])switch(_0x5b81cc[_0x57f6('0x2b')][_0x57f6('0x21')](_0x57f6('0x39'),'')){case _0x57f6('0x1e'):return _0x224ac8(_0x3ed159(_0x3728dd,_0x57f6('0x11')));case'numbered':return _0x224ac8(_0x3ed159(_0x3728dd,_0x57f6('0x1a')));case _0x57f6('0xb'):return _0x224ac8(_0x3ed159(_0x3728dd,_0x57f6('0xf')));}if(_0x57f6('0x0')==_0x5b81cc[_0x57f6('0x2b')])return{'type':_0x57f6('0x12'),'content':_0x3ed159(_0x3728dd,_0x57f6('0x29'),_0x3ed159(_0x3728dd,_0x57f6('0x33')))};if(_0x57f6('0x2e')==_0x5b81cc[_0x57f6('0x2b')])return{'type':_0x57f6('0x12'),'content':_0x3ed159(_0x3728dd,'*Outdent:*\x20%0',_0x3ed159(_0x3728dd,_0x57f6('0x33')))};if(_0x57f6('0x3c')==_0x5b81cc[_0x57f6('0x2b')])return _0x5b81cc[_0x57f6('0x13')][0x0]['forceValue']?{'type':'format','content':_0x3ed159(_0x3728dd,_0x57f6('0x2f'))}:{'type':_0x57f6('0x12'),'content':_0x3ed159(_0x3728dd,_0x57f6('0x30'))};}function _0x224ac8(_0x4a6a6a){return{'type':_0x57f6('0x12'),'content':_0x3ed159(_0x3728dd,_0x57f6('0x19'),_0x4a6a6a)};}});}}function ne(_0x41f51b){const _0xa308fc=_0x41f51b['getAttribute'](_0x57f6('0x27'));if(0x0==_0xa308fc)return _0x41f51b;let _0x16a763=_0x41f51b;for(;_0x41f51b[_0x57f6('0x35')]&&_0x41f51b[_0x57f6('0x35')]['is'](_0x57f6('0x1f'),_0x57f6('0x10'));){const _0x13d781=_0x41f51b[_0x57f6('0x35')]['getAttribute']('listIndent');if(_0x13d781==_0xa308fc)_0x16a763=_0x41f51b[_0x57f6('0x35')];else{if(_0x13d781<_0xa308fc)break;}_0x41f51b=_0x41f51b[_0x57f6('0x35')];}return _0x16a763;}function oe(_0x47e23b){const _0x3986f9=[];if(_0x47e23b['is'](_0x57f6('0x1f'),'listItem')&&_0x47e23b[_0x57f6('0x1d')]('listIndent')>0x0){let _0x5d26d5=_0x47e23b['nextSibling'];for(;_0x5d26d5&&_0x57f6('0x10')==_0x5d26d5[_0x57f6('0xe')]&&_0x5d26d5['getAttribute']('listIndent')==_0x47e23b[_0x57f6('0x1d')](_0x57f6('0x27'));)_0x3986f9[_0x57f6('0x2a')](_0x5d26d5),_0x5d26d5=_0x5d26d5[_0x57f6('0x2')];}return _0x3986f9;}