@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230906.0 → 0.0.0-nightly-20230908.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 _0x55d0=['*Set\x20font\x20family:*\x20%0','FontSize','TrackChangesEditing','editor','from','*Reset\x20font\x20color*','fontSize.options','fontBackgroundColor','config','get','locale','FontColorEditing','document','FontSizeEditing','label','FontFamilyEditing','*Set\x20font\x20color:*\x20%0','title','toLowerCase','model','_descriptionFactory','enableCommand','find','getRanges','afterInit','*Set\x20font\x20size:*\x20%0','fontSize','*Set\x20font\x20background\x20color:*\x20%0','registerDescriptionCallback','has','value','_enableCommand','commandParams','FontBackgroundColorEditing','selection','commandName','plugins','trim','isCollapsed','*Reset\x20font\x20background\x20color*','format','change','normalizeSizeOptions','fontColor','*Reset\x20font\x20size*'];(function(_0x46d5cb,_0x55d0cd){const _0xdeab7c=function(_0x1614aa){while(--_0x1614aa){_0x46d5cb['push'](_0x46d5cb['shift']());}};_0xdeab7c(++_0x55d0cd);}(_0x55d0,0x18d));const _0xdeab=function(_0x46d5cb,_0x55d0cd){_0x46d5cb=_0x46d5cb-0x0;let _0xdeab7c=_0x55d0[_0x46d5cb];return _0xdeab7c;};import{Plugin as _0x51dad6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x55d1b0}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x44a5d5}from'./utils';import{getTranslation as _0x3338aa}from'../utils/common-translations';const eo=[{'pluginName':_0xdeab('0x15'),'commandName':_0xdeab('0x22')},{'pluginName':_0xdeab('0x17'),'commandName':'fontFamily'},{'pluginName':_0xdeab('0x13'),'commandName':_0xdeab('0x6')},{'pluginName':_0xdeab('0x29'),'commandName':_0xdeab('0xf')}];export default class H extends _0x51dad6{[_0xdeab('0x20')](){const _0x36bf41=this[_0xdeab('0xb')][_0xdeab('0x12')];for(const {pluginName:_0x4756b8,commandName:_0x48f7a3}of eo)this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x25')](_0x4756b8)&&this[_0xdeab('0x27')](_0x48f7a3);this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x11')]('TrackChangesEditing')[_0xdeab('0x1c')][_0xdeab('0x24')](_0x5a8ff9=>{const _0x1d8665=_0x36bf41['t'],{data:_0x19c40d}=_0x5a8ff9;if(null!=_0x19c40d){if(_0xdeab('0x22')==_0x19c40d[_0xdeab('0x2b')]){const _0x38bd68=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];if(_0x38bd68){const _0x2141a0=_0x1d8665(this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x11')](_0xdeab('0x9'))[_0xdeab('0x5')](this[_0xdeab('0xb')]['config'][_0xdeab('0x11')](_0xdeab('0xe')))[_0xdeab('0x1e')](_0xb40044=>_0xb40044[_0xdeab('0x1b')]==_0x38bd68)[_0xdeab('0x19')])['toLowerCase']();return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x21'),_0x2141a0)};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x7'))};}if('fontFamily'==_0x19c40d['commandName']){const _0x3ed726=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];return _0x3ed726?{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x8'),_0x3ed726)}:{'type':'format','content':_0x3338aa(_0x36bf41,'*Reset\x20font\x20family*')};}if(_0xdeab('0x6')==_0x19c40d[_0xdeab('0x2b')]){const _0x3d4430=_0x19c40d[_0xdeab('0x28')][0x0]['value'];if(_0x3d4430){const _0x6b9a96=_0x55d1b0(this[_0xdeab('0xb')][_0xdeab('0x10')][_0xdeab('0x11')]('fontColor.colors'))[_0xdeab('0x1e')](_0x1ad8c8=>_0x1ad8c8[_0xdeab('0x1b')]==_0x3d4430);let _0x280955=_0x3d4430,_0x5d8139='';return _0x6b9a96&&(_0x280955=_0x6b9a96[_0xdeab('0x16')],_0x5d8139=_0x1d8665(_0x280955)[_0xdeab('0x1a')]()),{'type':'format','content':_0x3338aa(_0x36bf41,_0xdeab('0x18'),_0x5d8139)[_0xdeab('0x0')](),'color':{'value':_0x3d4430,'title':_0x5d8139||_0x280955}};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0xd'))};}if(_0xdeab('0xf')==_0x19c40d[_0xdeab('0x2b')]){const _0xf17d06=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];if(_0xf17d06){const _0x46072e=_0x55d1b0(this['editor'][_0xdeab('0x10')][_0xdeab('0x11')]('fontBackgroundColor.colors'))[_0xdeab('0x1e')](_0xf4d65b=>_0xf4d65b[_0xdeab('0x1b')]==_0xf17d06);let _0x1b0a56=_0xf17d06,_0x23b95d='';return _0x46072e&&(_0x1b0a56=_0x46072e[_0xdeab('0x16')],_0x23b95d=_0x1d8665(_0x1b0a56)[_0xdeab('0x1a')]()),{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x23'),_0x23b95d)[_0xdeab('0x0')](),'color':{'value':_0xf17d06,'title':_0x23b95d||_0x1b0a56}};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x2'))};}}});}['_enableCommand'](_0x243987){const _0x2b2d50=this[_0xdeab('0xb')];_0x2b2d50['plugins'][_0xdeab('0x11')]('TrackChangesEditing')[_0xdeab('0x1d')](_0x243987,(_0x47f85c,_0x2ac7b1={})=>{const _0x2b9cdd=_0x2b2d50[_0xdeab('0x1b')][_0xdeab('0x14')][_0xdeab('0x2a')],_0x945859=_0x2ac7b1[_0xdeab('0x26')];_0x2b9cdd[_0xdeab('0x1')]?_0x47f85c(_0x2ac7b1):_0x2b2d50[_0xdeab('0x1b')][_0xdeab('0x4')](()=>{const _0x21d2be=Array[_0xdeab('0xc')](_0x2b9cdd[_0xdeab('0x1f')]());for(const _0xf954c1 of _0x21d2be){const _0xabe667=_0x945859?[_0xf954c1]:_0x44a5d5(_0x243987,_0xf954c1,_0x2b2d50['model']);for(const _0x2bcebd of _0xabe667)_0x2b2d50['plugins'][_0xdeab('0x11')](_0xdeab('0xa'))['markInlineFormat'](_0x2bcebd,{'commandName':_0x243987,'commandParams':[{'value':_0x945859}]});}});});}}
23
+ const _0x28a6=['*Reset\x20font\x20background\x20color*','FontSizeEditing','fontFamily','change','trim','document','afterInit','FontFamilyEditing','title','fontBackgroundColor','FontSize','commandName','enableCommand','isCollapsed','find','toLowerCase','*Set\x20font\x20background\x20color:*\x20%0','label','fontSize','commandParams','fontColor','model','config','format','FontColorEditing','*Reset\x20font\x20size*','registerDescriptionCallback','_descriptionFactory','plugins','_enableCommand','editor','value','*Set\x20font\x20color:*\x20%0','locale','from','get','*Set\x20font\x20size:*\x20%0','FontBackgroundColorEditing'];(function(_0x221146,_0x28a6e9){const _0x1fb803=function(_0x4b84e7){while(--_0x4b84e7){_0x221146['push'](_0x221146['shift']());}};_0x1fb803(++_0x28a6e9);}(_0x28a6,0xf3));const _0x1fb8=function(_0x221146,_0x28a6e9){_0x221146=_0x221146-0x0;let _0x1fb803=_0x28a6[_0x221146];return _0x1fb803;};import{Plugin as _0x2a8e44}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3e9377}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x572192}from'./utils';import{getTranslation as _0x4119f0}from'../utils/common-translations';const eo=[{'pluginName':_0x1fb8('0x18'),'commandName':_0x1fb8('0x3')},{'pluginName':_0x1fb8('0x1e'),'commandName':_0x1fb8('0x19')},{'pluginName':_0x1fb8('0x9'),'commandName':'fontColor'},{'pluginName':_0x1fb8('0x16'),'commandName':_0x1fb8('0x20')}];export default class H extends _0x2a8e44{[_0x1fb8('0x1d')](){const _0x297e66=this['editor'][_0x1fb8('0x12')];for(const {pluginName:_0xa839f5,commandName:_0x562024}of eo)this[_0x1fb8('0xf')]['plugins']['has'](_0xa839f5)&&this[_0x1fb8('0xe')](_0x562024);this[_0x1fb8('0xf')][_0x1fb8('0xd')][_0x1fb8('0x14')]('TrackChangesEditing')[_0x1fb8('0xc')][_0x1fb8('0xb')](_0x1504bb=>{const _0x1d984b=_0x297e66['t'],{data:_0x190ed6}=_0x1504bb;if(null!=_0x190ed6){if(_0x1fb8('0x3')==_0x190ed6[_0x1fb8('0x22')]){const _0x5665a7=_0x190ed6[_0x1fb8('0x4')][0x0][_0x1fb8('0x10')];if(_0x5665a7){const _0x1f0ad8=_0x1d984b(this['editor'][_0x1fb8('0xd')][_0x1fb8('0x14')](_0x1fb8('0x21'))['normalizeSizeOptions'](this[_0x1fb8('0xf')][_0x1fb8('0x7')]['get']('fontSize.options'))[_0x1fb8('0x25')](_0x12eb0b=>_0x12eb0b[_0x1fb8('0x6')]==_0x5665a7)[_0x1fb8('0x1f')])[_0x1fb8('0x0')]();return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x15'),_0x1f0ad8)};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0xa'))};}if(_0x1fb8('0x19')==_0x190ed6[_0x1fb8('0x22')]){const _0xd05f83=_0x190ed6['commandParams'][0x0][_0x1fb8('0x10')];return _0xd05f83?{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Set\x20font\x20family:*\x20%0',_0xd05f83)}:{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Reset\x20font\x20family*')};}if(_0x1fb8('0x5')==_0x190ed6[_0x1fb8('0x22')]){const _0x10b0b4=_0x190ed6[_0x1fb8('0x4')][0x0]['value'];if(_0x10b0b4){const _0x19ab7a=_0x3e9377(this[_0x1fb8('0xf')][_0x1fb8('0x7')][_0x1fb8('0x14')]('fontColor.colors'))[_0x1fb8('0x25')](_0x15b550=>_0x15b550[_0x1fb8('0x6')]==_0x10b0b4);let _0x578d23=_0x10b0b4,_0x5eb427='';return _0x19ab7a&&(_0x578d23=_0x19ab7a[_0x1fb8('0x2')],_0x5eb427=_0x1d984b(_0x578d23)[_0x1fb8('0x0')]()),{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x11'),_0x5eb427)[_0x1fb8('0x1b')](),'color':{'value':_0x10b0b4,'title':_0x5eb427||_0x578d23}};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x190ed6[_0x1fb8('0x22')]){const _0x2085db=_0x190ed6[_0x1fb8('0x4')][0x0][_0x1fb8('0x10')];if(_0x2085db){const _0x402116=_0x3e9377(this[_0x1fb8('0xf')]['config'][_0x1fb8('0x14')]('fontBackgroundColor.colors'))['find'](_0x4859e1=>_0x4859e1[_0x1fb8('0x6')]==_0x2085db);let _0x3e9e0f=_0x2085db,_0x511259='';return _0x402116&&(_0x3e9e0f=_0x402116[_0x1fb8('0x2')],_0x511259=_0x1d984b(_0x3e9e0f)[_0x1fb8('0x0')]()),{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x1'),_0x511259)[_0x1fb8('0x1b')](),'color':{'value':_0x2085db,'title':_0x511259||_0x3e9e0f}};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x17'))};}}});}['_enableCommand'](_0x5f3e99){const _0x1819ca=this['editor'];_0x1819ca[_0x1fb8('0xd')]['get']('TrackChangesEditing')[_0x1fb8('0x23')](_0x5f3e99,(_0x3cb49e,_0x3b7de6={})=>{const _0x516804=_0x1819ca[_0x1fb8('0x6')][_0x1fb8('0x1c')]['selection'],_0x1def6e=_0x3b7de6[_0x1fb8('0x10')];_0x516804[_0x1fb8('0x24')]?_0x3cb49e(_0x3b7de6):_0x1819ca[_0x1fb8('0x6')][_0x1fb8('0x1a')](()=>{const _0x4cad5c=Array[_0x1fb8('0x13')](_0x516804['getRanges']());for(const _0x125702 of _0x4cad5c){const _0x575cef=_0x1def6e?[_0x125702]:_0x572192(_0x5f3e99,_0x125702,_0x1819ca[_0x1fb8('0x6')]);for(const _0x21713f of _0x575cef)_0x1819ca[_0x1fb8('0xd')][_0x1fb8('0x14')]('TrackChangesEditing')['markInlineFormat'](_0x21713f,{'commandName':_0x5f3e99,'commandParams':[{'value':_0x1def6e}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48c7=['push','isCollapsed','commandParams','TrackChangesEditing','fontSize.options','markInlineFormat','keys','config','fontSize','_descriptionFactory','model','fontBackgroundColor','toLowerCase','editor','*Set\x20format\x20to:*\x20%0','backward','getFirstPosition','find','commands','getRanges','document','locale','format','copyFormat','forward','boolean','isBlock','modifySelection','change','word','normalizeSizeOptions','createSelection','*Remove\x20all\x20formatting*','fontColor.colors','afterInit','pasteFormat','registerDescriptionCallback','entries','createRange','get','enableCommand','getLastPosition','slice','getAttributes','toUpperCase','label','title','join','charAt','getItems','plugins'];(function(_0x339a80,_0x48c766){const _0x23a094=function(_0x5351d0){while(--_0x5351d0){_0x339a80['push'](_0x339a80['shift']());}};_0x23a094(++_0x48c766);}(_0x48c7,0x13c));const _0x23a0=function(_0x339a80,_0x48c766){_0x339a80=_0x339a80-0x0;let _0x23a094=_0x48c7[_0x339a80];return _0x23a094;};import{Plugin as _0xf789fb}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5c8ca3}from'ckeditor5/src/ui';import{first as _0x3e4f80}from'ckeditor5/src/utils';import{getTranslation as _0x231acc}from'../utils/common-translations';export default class W extends _0xf789fb{[_0x23a0('0x18')](){const _0x23f42b=this[_0x23a0('0x3')],_0x96613f=_0x23f42b[_0x23a0('0x0')],_0x95ffd2=_0x96613f[_0x23a0('0xa')]['selection'],_0x4b92c9=_0x23f42b[_0x23a0('0x28')]['get'](_0x23a0('0x2c')),_0x2581b9=_0x23f42b[_0x23a0('0xb')],_0x10d29f=_0x23f42b[_0x23a0('0x8')][_0x23a0('0x1d')](_0x23a0('0xd')),_0x2263d4=_0x23f42b['commands'][_0x23a0('0x1d')]('pasteFormat');_0x10d29f&&_0x2263d4&&(_0x4b92c9[_0x23a0('0x1e')](_0x23a0('0x19'),(_0x2fd8bd,_0x4e41f5={})=>{const _0xc7b7e4=_0x4e41f5;_0x96613f[_0x23a0('0x12')](()=>{const _0x5557ef=Array['from'](_0x95ffd2[_0x23a0('0x9')]()),_0x1e7100=_0x95ffd2[_0x23a0('0x2a')]?[co(_0x96613f,_0x95ffd2)]:_0x5557ef,_0x27433d=!!_0x3e4f80(function*(_0x2dc173,_0x45e3f9){const _0x40eb39=_0x940ba4=>!!_0x3e4f80(function*(_0x53152c,_0xd55e5){for(const [_0x4b06b8]of _0x53152c[_0x23a0('0x21')]()){const _0x23c8cf=_0xd55e5['getAttributeProperties'](_0x4b06b8);_0x23c8cf&&_0x23c8cf['isFormatting']&&(yield _0x4b06b8);}}(_0x940ba4,_0x45e3f9));for(const _0x148ff5 of _0x2dc173[_0x23a0('0x9')]())for(const _0x33528f of _0x148ff5[_0x23a0('0x27')]())!_0x45e3f9[_0x23a0('0x10')](_0x33528f)&&_0x40eb39(_0x33528f)&&(yield _0x33528f);for(const _0x335b8e of _0x2dc173['getSelectedBlocks']())_0x40eb39(_0x335b8e)&&(yield _0x335b8e);_0x40eb39(_0x2dc173)&&(yield _0x2dc173);}(_0x95ffd2,_0x96613f['schema']));if(_0x27433d||0x0!==Object[_0x23a0('0x2f')](_0xc7b7e4)['length'])for(const _0x42135e of _0x1e7100)_0x4b92c9[_0x23a0('0x2e')](_0x42135e,{'commandName':_0x23a0('0x19'),'commandParams':[_0xc7b7e4]});});}),_0x4b92c9[_0x23a0('0x32')][_0x23a0('0x1a')](_0x2513b8=>{const {data:_0x42d941}=_0x2513b8;if(_0x42d941&&_0x23a0('0x19')===_0x42d941['commandName']){const _0xb9be0d=[],_0x4f3186=_0x42d941[_0x23a0('0x2b')][0x0];for(const [_0x23424d,_0x4b762d]of Object[_0x23a0('0x1b')](_0x4f3186))_0xb9be0d[_0x23a0('0x29')](io(_0x23f42b,_0x23424d,_0x4b762d));return _0xb9be0d['length']?{'type':_0x23a0('0xc'),'content':_0x231acc(_0x2581b9,_0x23a0('0x4'),_0xb9be0d[_0x23a0('0x25')](',\x20'))}:{'type':_0x23a0('0xc'),'content':_0x231acc(_0x2581b9,_0x23a0('0x16'))};}}),_0x23f42b['plugins']['get']('TrackChangesEditing')['enableCommand']('copyFormat'));}}function co(_0x384074,_0x441e2e){const _0x3b715c=_0x384074[_0x23a0('0x15')](_0x441e2e);_0x384074['modifySelection'](_0x3b715c,{'unit':_0x23a0('0x13'),'direction':_0x23a0('0x5')});const _0x578f77=_0x3b715c[_0x23a0('0x6')]();_0x384074[_0x23a0('0x11')](_0x3b715c,{'unit':_0x23a0('0x13'),'direction':_0x23a0('0xe')});const _0x486a60=_0x3b715c[_0x23a0('0x1f')]();return _0x384074[_0x23a0('0x1c')](_0x578f77,_0x486a60);}function io(_0x5f5429,_0x61af4b,_0x549cbd){const _0x17f5ac=_0x5f5429[_0x23a0('0xb')]['t'],_0x1f3f1f=_0x61af4b['split'](/(?=[A-Z])/)[_0x23a0('0x25')]('\x20'),_0x5cc0a4=_0x17f5ac(_0x1f3f1f[_0x23a0('0x26')](0x0)[_0x23a0('0x22')]()+_0x1f3f1f[_0x23a0('0x20')](0x1))[_0x23a0('0x2')]();if(_0x23a0('0xf')==typeof _0x549cbd)return _0x5cc0a4;if('fontColor'===_0x61af4b||_0x23a0('0x1')===_0x61af4b){const _0x401a75=_0x5c8ca3(_0x5f5429[_0x23a0('0x30')][_0x23a0('0x1d')](_0x23a0('0x17')))[_0x23a0('0x7')](_0x52cc10=>_0x52cc10[_0x23a0('0x0')]==_0x549cbd);return _0x5cc0a4+'\x20('+(_0x401a75?_0x17f5ac(_0x401a75[_0x23a0('0x23')])['toLowerCase']():_0x549cbd)+')';}if(_0x23a0('0x31')===_0x61af4b&&isNaN(parseFloat(_0x549cbd))){const _0x31e404=_0x5f5429[_0x23a0('0x28')][_0x23a0('0x1d')]('FontSize')[_0x23a0('0x14')](_0x5f5429[_0x23a0('0x30')][_0x23a0('0x1d')](_0x23a0('0x2d')))[_0x23a0('0x7')](_0x3e03dd=>_0x3e03dd['model']==_0x549cbd);return _0x5cc0a4+'\x20('+(_0x31e404?_0x17f5ac(_0x31e404[_0x23a0('0x24')])[_0x23a0('0x2')]():_0x549cbd)+')';}return _0x5cc0a4+'\x20('+_0x549cbd+')';}
23
+ const _0x3940=['split','getAttributeProperties','TrackChangesEditing','document','backward','getAttributes','plugins','from','pasteFormat','word','toLowerCase','getItems','normalizeSizeOptions','entries','modifySelection','commandParams','fontSize','model','push','format','label','registerDescriptionCallback','_descriptionFactory','commands','getSelectedBlocks','forward','charAt','boolean','toUpperCase','find','enableCommand','FontSize','length','*Set\x20format\x20to:*\x20%0','createSelection','markInlineFormat','editor','selection','createRange','getRanges','*Remove\x20all\x20formatting*','keys','copyFormat','fontBackgroundColor','getLastPosition','getFirstPosition','title','get','locale','join'];(function(_0x142c55,_0x394018){const _0x48c4fe=function(_0x1f7cca){while(--_0x1f7cca){_0x142c55['push'](_0x142c55['shift']());}};_0x48c4fe(++_0x394018);}(_0x3940,0x69));const _0x48c4=function(_0x142c55,_0x394018){_0x142c55=_0x142c55-0x0;let _0x48c4fe=_0x3940[_0x142c55];return _0x48c4fe;};import{Plugin as _0x2e17d3}from'ckeditor5/src/core';import{normalizeColorOptions as _0x171602}from'ckeditor5/src/ui';import{first as _0x3a3694}from'ckeditor5/src/utils';import{getTranslation as _0x588d55}from'../utils/common-translations';export default class W extends _0x2e17d3{['afterInit'](){const _0x3133ae=this[_0x48c4('0x1f')],_0x56c059=_0x3133ae[_0x48c4('0xc')],_0x4177b7=_0x56c059[_0x48c4('0x30')][_0x48c4('0x20')],_0x2d3c2b=_0x3133ae[_0x48c4('0x1')]['get'](_0x48c4('0x2f')),_0x3307af=_0x3133ae[_0x48c4('0x2b')],_0x38d121=_0x3133ae['commands']['get'](_0x48c4('0x25')),_0x3639f9=_0x3133ae[_0x48c4('0x12')][_0x48c4('0x2a')](_0x48c4('0x3'));_0x38d121&&_0x3639f9&&(_0x2d3c2b[_0x48c4('0x19')](_0x48c4('0x3'),(_0x226228,_0x1580c2={})=>{const _0x1c92a4=_0x1580c2;_0x56c059['change'](()=>{const _0x43d725=Array[_0x48c4('0x2')](_0x4177b7[_0x48c4('0x22')]()),_0x1b479c=_0x4177b7['isCollapsed']?[co(_0x56c059,_0x4177b7)]:_0x43d725,_0x4f2d61=!!_0x3a3694(function*(_0x456e7d,_0x47f21e){const _0x10486e=_0x2f4a59=>!!_0x3a3694(function*(_0xe7e07e,_0x3ebe59){for(const [_0x277af5]of _0xe7e07e[_0x48c4('0x0')]()){const _0x525197=_0x3ebe59[_0x48c4('0x2e')](_0x277af5);_0x525197&&_0x525197['isFormatting']&&(yield _0x277af5);}}(_0x2f4a59,_0x47f21e));for(const _0xcfd284 of _0x456e7d[_0x48c4('0x22')]())for(const _0x1cc0ce of _0xcfd284[_0x48c4('0x6')]())!_0x47f21e['isBlock'](_0x1cc0ce)&&_0x10486e(_0x1cc0ce)&&(yield _0x1cc0ce);for(const _0x3173f7 of _0x456e7d[_0x48c4('0x13')]())_0x10486e(_0x3173f7)&&(yield _0x3173f7);_0x10486e(_0x456e7d)&&(yield _0x456e7d);}(_0x4177b7,_0x56c059['schema']));if(_0x4f2d61||0x0!==Object[_0x48c4('0x24')](_0x1c92a4)[_0x48c4('0x1b')])for(const _0x34774b of _0x1b479c)_0x2d3c2b[_0x48c4('0x1e')](_0x34774b,{'commandName':_0x48c4('0x3'),'commandParams':[_0x1c92a4]});});}),_0x2d3c2b[_0x48c4('0x11')][_0x48c4('0x10')](_0x575600=>{const {data:_0x19775e}=_0x575600;if(_0x19775e&&'pasteFormat'===_0x19775e['commandName']){const _0x14c58b=[],_0x297317=_0x19775e[_0x48c4('0xa')][0x0];for(const [_0x106498,_0x160426]of Object[_0x48c4('0x8')](_0x297317))_0x14c58b[_0x48c4('0xd')](io(_0x3133ae,_0x106498,_0x160426));return _0x14c58b[_0x48c4('0x1b')]?{'type':_0x48c4('0xe'),'content':_0x588d55(_0x3307af,_0x48c4('0x1c'),_0x14c58b[_0x48c4('0x2c')](',\x20'))}:{'type':_0x48c4('0xe'),'content':_0x588d55(_0x3307af,_0x48c4('0x23'))};}}),_0x3133ae[_0x48c4('0x1')][_0x48c4('0x2a')](_0x48c4('0x2f'))['enableCommand'](_0x48c4('0x25')));}}function co(_0x294568,_0x1fcba8){const _0x39fed0=_0x294568[_0x48c4('0x1d')](_0x1fcba8);_0x294568[_0x48c4('0x9')](_0x39fed0,{'unit':_0x48c4('0x4'),'direction':_0x48c4('0x31')});const _0x43ed1f=_0x39fed0[_0x48c4('0x28')]();_0x294568['modifySelection'](_0x39fed0,{'unit':_0x48c4('0x4'),'direction':_0x48c4('0x14')});const _0x4c9a6c=_0x39fed0[_0x48c4('0x27')]();return _0x294568[_0x48c4('0x21')](_0x43ed1f,_0x4c9a6c);}function io(_0x7f1acf,_0x4effc8,_0x346765){const _0x5e1a6f=_0x7f1acf[_0x48c4('0x2b')]['t'],_0x5bd0fe=_0x4effc8[_0x48c4('0x2d')](/(?=[A-Z])/)[_0x48c4('0x2c')]('\x20'),_0xf6f264=_0x5e1a6f(_0x5bd0fe[_0x48c4('0x15')](0x0)[_0x48c4('0x17')]()+_0x5bd0fe['slice'](0x1))[_0x48c4('0x5')]();if(_0x48c4('0x16')==typeof _0x346765)return _0xf6f264;if('fontColor'===_0x4effc8||_0x48c4('0x26')===_0x4effc8){const _0x432c1c=_0x171602(_0x7f1acf['config'][_0x48c4('0x2a')]('fontColor.colors'))[_0x48c4('0x18')](_0x23d3cf=>_0x23d3cf[_0x48c4('0xc')]==_0x346765);return _0xf6f264+'\x20('+(_0x432c1c?_0x5e1a6f(_0x432c1c[_0x48c4('0xf')])[_0x48c4('0x5')]():_0x346765)+')';}if(_0x48c4('0xb')===_0x4effc8&&isNaN(parseFloat(_0x346765))){const _0x4a2cba=_0x7f1acf[_0x48c4('0x1')][_0x48c4('0x2a')](_0x48c4('0x1a'))[_0x48c4('0x7')](_0x7f1acf['config'][_0x48c4('0x2a')]('fontSize.options'))[_0x48c4('0x18')](_0x436aef=>_0x436aef[_0x48c4('0xc')]==_0x346765);return _0xf6f264+'\x20('+(_0x4a2cba?_0x5e1a6f(_0x4a2cba[_0x48c4('0x29')])[_0x48c4('0x5')]():_0x346765)+')';}return _0xf6f264+'\x20('+_0x346765+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f9f=['plugins','ELEMENT_HEADING','markBlockFormat','format','match','from','document','isObject','afterInit','registerElementLabel','change','config','checkChild','getSelectedBlocks','title','model','HeadingEditing','commandName','selection','schema','blockName','formatBlock','commandParams','get','heading.options','heading','registerDescriptionCallback','value','*Change\x20to:*\x20%0','locale','_descriptionFactory','editor'];(function(_0xdf08de,_0x2f9fc8){const _0x58c127=function(_0x5760fe){while(--_0x5760fe){_0xdf08de['push'](_0xdf08de['shift']());}};_0x58c127(++_0x2f9fc8);}(_0x2f9f,0x9e));const _0x58c1=function(_0xdf08de,_0x2f9fc8){_0xdf08de=_0xdf08de-0x0;let _0x58c127=_0x2f9f[_0xdf08de];return _0x58c127;};import{Plugin as _0x4051bc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x388478}from'./utils';import{getTranslation as _0x423f7e}from'../utils/common-translations';export default class J extends _0x4051bc{[_0x58c1('0xa')](){const _0x24309d=this[_0x58c1('0x1')],_0x79be67=_0x24309d[_0x58c1('0x1f')],_0x51d449=_0x24309d[_0x58c1('0xd')][_0x58c1('0x19')](_0x58c1('0x1a'));if(!_0x24309d[_0x58c1('0x2')]['has'](_0x58c1('0x12')))return;const _0x4c17a1=_0x24309d['plugins']['get']('TrackChangesEditing');_0x4c17a1['enableCommand'](_0x58c1('0x1b'),(_0x305aa2,_0x314dbc)=>{const _0x4d46cf=_0x314dbc[_0x58c1('0x1d')],_0x5796ed=Array[_0x58c1('0x7')](this['editor'][_0x58c1('0x11')][_0x58c1('0x8')][_0x58c1('0x14')][_0x58c1('0xf')]())['filter'](_0x412694=>function(_0x1235c2,_0x3f36de,_0x4721e4){return _0x4721e4[_0x58c1('0xe')](_0x1235c2['parent'],_0x3f36de)&&!_0x4721e4[_0x58c1('0x9')](_0x1235c2)&&_0x1235c2['name']!=_0x3f36de;}(_0x412694,_0x4d46cf,this[_0x58c1('0x1')][_0x58c1('0x11')][_0x58c1('0x15')]));_0x24309d[_0x58c1('0x11')][_0x58c1('0xc')](()=>{for(const _0xa1aede of _0x5796ed)_0x4c17a1[_0x58c1('0x4')](_0xa1aede,{'commandName':'heading','commandParams':[_0x314dbc],'formatGroupId':_0x58c1('0x16')},_0x388478(_0xa1aede));});});for(const _0x47f25f of _0x51d449)'paragraph'!=_0x47f25f[_0x58c1('0x11')]&&_0x4c17a1[_0x58c1('0x0')][_0x58c1('0xb')](_0x47f25f[_0x58c1('0x11')],_0x43147c=>{const _0x55237d=nn(_0x47f25f[_0x58c1('0x11')]);return null!==_0x55237d?_0x227aa3(_0x43147c,_0x55237d):_0x51b579(_0x43147c,_0x47f25f[_0x58c1('0x10')]);});function _0x227aa3(_0x5942ff,_0x10687c){return _0x423f7e(_0x79be67,_0x58c1('0x3'),[_0x5942ff,_0x10687c]);}function _0x51b579(_0x7d7b9,_0x3a76cd){return _0x423f7e(_0x79be67,'ELEMENT_HEADING_CUSTOM',[_0x7d7b9,_0x3a76cd]);}_0x4c17a1[_0x58c1('0x0')][_0x58c1('0x1c')](_0x49130b=>{const {type:_0x43611c,data:_0x4f0625}=_0x49130b;if(_0x58c1('0x17')==_0x43611c&&_0x4f0625&&'heading'==_0x4f0625[_0x58c1('0x13')]){const _0x6200d8=_0x4f0625[_0x58c1('0x18')][0x0][_0x58c1('0x1d')],_0x31dfa3=nn(_0x6200d8);if(null!==_0x31dfa3)return{'type':_0x58c1('0x5'),'content':_0x423f7e(_0x79be67,_0x58c1('0x1e'),_0x227aa3(0x1,_0x31dfa3))};const _0x119308=_0x51d449['find'](_0x382aad=>_0x382aad['model']===_0x6200d8)[_0x58c1('0x10')];return{'type':_0x58c1('0x5'),'content':_0x423f7e(_0x79be67,'*Change\x20to:*\x20%0',_0x51b579(0x1,_0x119308))};}});}}function nn(_0x19c903){const _0x496ca2=_0x19c903[_0x58c1('0x6')](/^heading(\d+)$/);return _0x496ca2?_0x496ca2[0x1]:null;}
23
+ const _0x2c8d=['getSelectedBlocks','selection','formatBlock','match','editor','title','model','afterInit','blockName','find','heading.options','markBlockFormat','name','HeadingEditing','config','plugins','from','value','format','commandParams','registerElementLabel','locale','get','filter','heading','*Change\x20to:*\x20%0','registerDescriptionCallback','checkChild','parent','commandName'];(function(_0x4bd275,_0x2c8d88){const _0x5d3d22=function(_0x573dee){while(--_0x573dee){_0x4bd275['push'](_0x4bd275['shift']());}};_0x5d3d22(++_0x2c8d88);}(_0x2c8d,0x1a2));const _0x5d3d=function(_0x4bd275,_0x2c8d88){_0x4bd275=_0x4bd275-0x0;let _0x5d3d22=_0x2c8d[_0x4bd275];return _0x5d3d22;};import{Plugin as _0x4f8531}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5475e7}from'./utils';import{getTranslation as _0x134298}from'../utils/common-translations';export default class J extends _0x4f8531{[_0x5d3d('0x9')](){const _0x2ef3da=this[_0x5d3d('0x6')],_0x4ff87b=_0x2ef3da[_0x5d3d('0x17')],_0x5c06ca=_0x2ef3da[_0x5d3d('0x10')]['get'](_0x5d3d('0xc'));if(!_0x2ef3da[_0x5d3d('0x11')]['has'](_0x5d3d('0xf')))return;const _0x2ee71a=_0x2ef3da[_0x5d3d('0x11')][_0x5d3d('0x18')]('TrackChangesEditing');_0x2ee71a['enableCommand'](_0x5d3d('0x1a'),(_0x4ee9e3,_0x5a93e9)=>{const _0x3eefca=_0x5a93e9[_0x5d3d('0x13')],_0x2437b8=Array[_0x5d3d('0x12')](this[_0x5d3d('0x6')][_0x5d3d('0x8')]['document'][_0x5d3d('0x3')][_0x5d3d('0x2')]())[_0x5d3d('0x19')](_0x273710=>function(_0x50c255,_0x3cc9ca,_0x325fe8){return _0x325fe8[_0x5d3d('0x1d')](_0x50c255[_0x5d3d('0x0')],_0x3cc9ca)&&!_0x325fe8['isObject'](_0x50c255)&&_0x50c255[_0x5d3d('0xe')]!=_0x3cc9ca;}(_0x273710,_0x3eefca,this['editor'][_0x5d3d('0x8')]['schema']));_0x2ef3da[_0x5d3d('0x8')]['change'](()=>{for(const _0x26e472 of _0x2437b8)_0x2ee71a[_0x5d3d('0xd')](_0x26e472,{'commandName':_0x5d3d('0x1a'),'commandParams':[_0x5a93e9],'formatGroupId':_0x5d3d('0xa')},_0x5475e7(_0x26e472));});});for(const _0x5184cc of _0x5c06ca)'paragraph'!=_0x5184cc['model']&&_0x2ee71a['_descriptionFactory'][_0x5d3d('0x16')](_0x5184cc['model'],_0x3fb770=>{const _0x3c5adc=nn(_0x5184cc[_0x5d3d('0x8')]);return null!==_0x3c5adc?_0x38ce6f(_0x3fb770,_0x3c5adc):_0x9c6cb(_0x3fb770,_0x5184cc['title']);});function _0x38ce6f(_0x5cb109,_0x18aeef){return _0x134298(_0x4ff87b,'ELEMENT_HEADING',[_0x5cb109,_0x18aeef]);}function _0x9c6cb(_0xdf3955,_0x3084b5){return _0x134298(_0x4ff87b,'ELEMENT_HEADING_CUSTOM',[_0xdf3955,_0x3084b5]);}_0x2ee71a['_descriptionFactory'][_0x5d3d('0x1c')](_0x55f932=>{const {type:_0x2897ba,data:_0x46aa58}=_0x55f932;if(_0x5d3d('0x4')==_0x2897ba&&_0x46aa58&&_0x5d3d('0x1a')==_0x46aa58[_0x5d3d('0x1')]){const _0x58bb4c=_0x46aa58[_0x5d3d('0x15')][0x0]['value'],_0x68decf=nn(_0x58bb4c);if(null!==_0x68decf)return{'type':_0x5d3d('0x14'),'content':_0x134298(_0x4ff87b,_0x5d3d('0x1b'),_0x38ce6f(0x1,_0x68decf))};const _0x54a32d=_0x5c06ca[_0x5d3d('0xb')](_0x511f1f=>_0x511f1f[_0x5d3d('0x8')]===_0x58bb4c)[_0x5d3d('0x7')];return{'type':'format','content':_0x134298(_0x4ff87b,'*Change\x20to:*\x20%0',_0x9c6cb(0x1,_0x54a32d))};}});}}function nn(_0xea5671){const _0x616b5b=_0xea5671[_0x5d3d('0x5')](/^heading(\d+)$/);return _0x616b5b?_0x616b5b[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412a=['value','getRanges','getAttribute','createRange','change','commandParams','plugins','getFirstPosition','item','config','isCollapsed','model','document','find','format','commandName','HighlightEditing','push','get','TrackChangesEditing','markInlineFormat','hasAttribute','enableCommand','has','highlight.options','editor','highlight','toLowerCase','registerDescriptionCallback','color'];(function(_0x4dc317,_0x412abe){const _0x524eac=function(_0x3a21ae){while(--_0x3a21ae){_0x4dc317['push'](_0x4dc317['shift']());}};_0x524eac(++_0x412abe);}(_0x412a,0x1aa));const _0x524e=function(_0x4dc317,_0x412abe){_0x4dc317=_0x4dc317-0x0;let _0x524eac=_0x412a[_0x4dc317];return _0x524eac;};import{Plugin as _0xd311c4}from'ckeditor5/src/core';import{getTranslation as _0x545eaa}from'../utils/common-translations';import{getRangesWithAttribute as _0x37193b}from'./utils';export default class K extends _0xd311c4{['afterInit'](){const _0x299f32=this[_0x524e('0x13')];if(!_0x299f32[_0x524e('0x0')][_0x524e('0x11')](_0x524e('0xa')))return;const _0x39526f=_0x299f32[_0x524e('0x0')][_0x524e('0xc')](_0x524e('0xd'));_0x39526f[_0x524e('0x10')]('highlight',(_0x353d7c,_0xce53be={})=>{const _0x3f9e70=_0x299f32[_0x524e('0x5')][_0x524e('0x6')]['selection'],_0x137049=_0x3f9e70[_0x524e('0x1a')](_0x524e('0x14'));let _0x346937=_0xce53be[_0x524e('0x18')],_0x56b1f8=[];if(_0x3f9e70[_0x524e('0x4')]){const _0x2180c6=_0x3f9e70[_0x524e('0x1')]();if(!_0x3f9e70[_0x524e('0xf')](_0x524e('0x14')))return void _0x353d7c(_0xce53be);{const _0x1876ba=_0x2d0746=>_0x2d0746[_0x524e('0x2')][_0x524e('0x1a')](_0x524e('0x14'))===_0x137049,_0x37ce60=_0x2180c6['getLastMatchingPosition'](_0x1876ba,{'direction':'backward'}),_0x69efd0=_0x2180c6['getLastMatchingPosition'](_0x1876ba);_0x56b1f8=[_0x299f32['model'][_0x524e('0x1b')](_0x37ce60,_0x69efd0)],_0x346937==_0x137049&&(_0x346937=null);}}else for(const _0x2f3763 of _0x3f9e70[_0x524e('0x19')]())_0x346937?_0x56b1f8[_0x524e('0xb')](_0x2f3763):_0x56b1f8[_0x524e('0xb')](..._0x37193b(_0x524e('0x14'),_0x2f3763,_0x299f32[_0x524e('0x5')]));_0x299f32[_0x524e('0x5')][_0x524e('0x1c')](()=>{for(const _0x2436db of _0x56b1f8)_0x39526f[_0x524e('0xe')](_0x2436db,{'commandName':_0x524e('0x14'),'commandParams':[{'value':_0x346937}]});});});const _0x17cb6d=_0x299f32['locale'];_0x39526f['_descriptionFactory'][_0x524e('0x16')](_0x5e9b93=>{const {type:_0x3065c0,data:_0x1fe761}=_0x5e9b93;if('formatInline'==_0x3065c0&&_0x1fe761&&_0x524e('0x14')==_0x1fe761[_0x524e('0x9')]){const _0x5347f0=_0x17cb6d['t'],_0x4b5adc=_0x1fe761[_0x524e('0x1d')][0x0][_0x524e('0x18')];if(_0x4b5adc){const _0x2a04a9=_0x299f32[_0x524e('0x3')][_0x524e('0xc')](_0x524e('0x12'))[_0x524e('0x7')](_0x40c00f=>_0x40c00f[_0x524e('0x5')]==_0x4b5adc),_0x189259=_0x5347f0(_0x2a04a9['title'])[_0x524e('0x15')]();return{'type':'format','content':_0x545eaa(_0x17cb6d,'*Set\x20highlight:*\x20%0',_0x189259),'color':{'value':_0x2a04a9[_0x524e('0x17')],'title':_0x2a04a9['title']}};}return{'type':_0x524e('0x8'),'content':_0x545eaa(_0x17cb6d,'*Remove\x20highlight*',_0x545eaa(_0x17cb6d,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x258a=['isCollapsed','item','plugins','change','TrackChangesEditing','markInlineFormat','afterInit','push','find','toLowerCase','highlight','highlight.options','registerDescriptionCallback','getAttribute','format','createRange','model','getLastMatchingPosition','formatInline','*Remove\x20highlight*','locale','commandParams','getFirstPosition','has','_descriptionFactory','enableCommand','value','*Set\x20highlight:*\x20%0','commandName','HighlightEditing','getRanges','config','editor'];(function(_0x2e380d,_0x258a36){const _0x16b754=function(_0x33c98c){while(--_0x33c98c){_0x2e380d['push'](_0x2e380d['shift']());}};_0x16b754(++_0x258a36);}(_0x258a,0x126));const _0x16b7=function(_0x2e380d,_0x258a36){_0x2e380d=_0x2e380d-0x0;let _0x16b754=_0x258a[_0x2e380d];return _0x16b754;};import{Plugin as _0x1d989b}from'ckeditor5/src/core';import{getTranslation as _0x14f7ac}from'../utils/common-translations';import{getRangesWithAttribute as _0xe6bde}from'./utils';export default class K extends _0x1d989b{[_0x16b7('0x9')](){const _0x3d084e=this[_0x16b7('0x2')];if(!_0x3d084e[_0x16b7('0x5')][_0x16b7('0x1a')](_0x16b7('0x20')))return;const _0x2a89a6=_0x3d084e['plugins']['get'](_0x16b7('0x7'));_0x2a89a6[_0x16b7('0x1c')](_0x16b7('0xd'),(_0x4f31b2,_0x18ade0={})=>{const _0x4c6a06=_0x3d084e[_0x16b7('0x13')]['document']['selection'],_0x17df2b=_0x4c6a06[_0x16b7('0x10')](_0x16b7('0xd'));let _0x4b2dab=_0x18ade0[_0x16b7('0x1d')],_0xb35f27=[];if(_0x4c6a06[_0x16b7('0x3')]){const _0x10b5e9=_0x4c6a06[_0x16b7('0x19')]();if(!_0x4c6a06['hasAttribute'](_0x16b7('0xd')))return void _0x4f31b2(_0x18ade0);{const _0x41a6af=_0x345681=>_0x345681[_0x16b7('0x4')]['getAttribute'](_0x16b7('0xd'))===_0x17df2b,_0x2ae16a=_0x10b5e9[_0x16b7('0x14')](_0x41a6af,{'direction':'backward'}),_0x409e53=_0x10b5e9[_0x16b7('0x14')](_0x41a6af);_0xb35f27=[_0x3d084e['model'][_0x16b7('0x12')](_0x2ae16a,_0x409e53)],_0x4b2dab==_0x17df2b&&(_0x4b2dab=null);}}else for(const _0x2d307f of _0x4c6a06[_0x16b7('0x0')]())_0x4b2dab?_0xb35f27['push'](_0x2d307f):_0xb35f27[_0x16b7('0xa')](..._0xe6bde(_0x16b7('0xd'),_0x2d307f,_0x3d084e[_0x16b7('0x13')]));_0x3d084e[_0x16b7('0x13')][_0x16b7('0x6')](()=>{for(const _0x2df888 of _0xb35f27)_0x2a89a6[_0x16b7('0x8')](_0x2df888,{'commandName':_0x16b7('0xd'),'commandParams':[{'value':_0x4b2dab}]});});});const _0x2a7d09=_0x3d084e[_0x16b7('0x17')];_0x2a89a6[_0x16b7('0x1b')][_0x16b7('0xf')](_0x1def41=>{const {type:_0x583f16,data:_0x45d4f7}=_0x1def41;if(_0x16b7('0x15')==_0x583f16&&_0x45d4f7&&_0x16b7('0xd')==_0x45d4f7[_0x16b7('0x1f')]){const _0x5aa39a=_0x2a7d09['t'],_0x3c5369=_0x45d4f7[_0x16b7('0x18')][0x0][_0x16b7('0x1d')];if(_0x3c5369){const _0x15c8b0=_0x3d084e[_0x16b7('0x1')]['get'](_0x16b7('0xe'))[_0x16b7('0xb')](_0x54c1ab=>_0x54c1ab[_0x16b7('0x13')]==_0x3c5369),_0x89f81a=_0x5aa39a(_0x15c8b0['title'])[_0x16b7('0xc')]();return{'type':_0x16b7('0x11'),'content':_0x14f7ac(_0x2a7d09,_0x16b7('0x1e'),_0x89f81a),'color':{'value':_0x15c8b0['color'],'title':_0x15c8b0['title']}};}return{'type':_0x16b7('0x11'),'content':_0x14f7ac(_0x2a7d09,_0x16b7('0x16'),_0x14f7ac(_0x2a7d09,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x570b=['TrackChangesEditing','div','horizontalLine','locale','createContainerElement','editor','has','showSuggestionHighlights','createEmptyElement','afterInit','ck-horizontal-line','addClass','_descriptionFactory','for','plugins','HorizontalLineEditing','insert'];(function(_0x51bdc1,_0x570b94){const _0x108d56=function(_0x326b8a){while(--_0x326b8a){_0x51bdc1['push'](_0x51bdc1['shift']());}};_0x108d56(++_0x570b94);}(_0x570b,0x1bb));const _0x108d=function(_0x51bdc1,_0x570b94){_0x51bdc1=_0x51bdc1-0x0;let _0x108d56=_0x570b[_0x51bdc1];return _0x108d56;};import{Plugin as _0x10d14f}from'ckeditor5/src/core';import{getTranslation as _0xfd22c8}from'../utils/common-translations';export default class Q extends _0x10d14f{[_0x108d('0x8')](){const _0x3f68e0=this[_0x108d('0x4')];if(!_0x3f68e0[_0x108d('0xd')][_0x108d('0x5')](_0x108d('0xe')))return;_0x3f68e0[_0x108d('0xd')]['get'](_0x108d('0x10'))['enableCommand']('horizontalLine');const _0x3e8b03=_0x3f68e0[_0x108d('0xd')]['get'](_0x108d('0x10')),_0x932062=_0x3f68e0[_0x108d('0x2')];_0x3e8b03[_0x108d('0xb')]['registerElementLabel']('horizontalLine',_0x56d149=>_0xfd22c8(_0x932062,'ELEMENT_HORIZONTAL_LINE',_0x56d149)),_0x3f68e0['conversion'][_0x108d('0xc')]('dataDowncast')['elementToStructure']({'model':_0x108d('0x1'),'view':(_0x3d0311,{writer:_0x86352c,options:_0x688fb3})=>{if(!_0x688fb3[_0x108d('0x6')])return null;const _0x419c9b=_0x86352c[_0x108d('0x3')](_0x108d('0x0')),_0x5aec5b=_0x86352c[_0x108d('0x7')]('hr');return _0x86352c[_0x108d('0xa')](_0x108d('0x9'),_0x419c9b),_0x86352c[_0x108d('0xf')](_0x86352c['createPositionAt'](_0x419c9b,0x0),_0x5aec5b),_0x419c9b;},'converterPriority':'high'});}}
23
+ const _0x224f=['plugins','showSuggestionHighlights','createContainerElement','elementToStructure','has','editor','enableCommand','locale','ck-horizontal-line','registerElementLabel','conversion','TrackChangesEditing','div','horizontalLine','get','createPositionAt','HorizontalLineEditing','_descriptionFactory'];(function(_0x4db402,_0x224f20){const _0xb7bcfe=function(_0x3a0026){while(--_0x3a0026){_0x4db402['push'](_0x4db402['shift']());}};_0xb7bcfe(++_0x224f20);}(_0x224f,0x1aa));const _0xb7bc=function(_0x4db402,_0x224f20){_0x4db402=_0x4db402-0x0;let _0xb7bcfe=_0x224f[_0x4db402];return _0xb7bcfe;};import{Plugin as _0xc3c73f}from'ckeditor5/src/core';import{getTranslation as _0x13682f}from'../utils/common-translations';export default class Q extends _0xc3c73f{['afterInit'](){const _0x2f243f=this[_0xb7bc('0xb')];if(!_0x2f243f['plugins'][_0xb7bc('0xa')](_0xb7bc('0x4')))return;_0x2f243f[_0xb7bc('0x6')][_0xb7bc('0x2')]('TrackChangesEditing')[_0xb7bc('0xc')](_0xb7bc('0x1'));const _0x57c78f=_0x2f243f[_0xb7bc('0x6')]['get'](_0xb7bc('0x11')),_0x26a6d3=_0x2f243f[_0xb7bc('0xd')];_0x57c78f[_0xb7bc('0x5')][_0xb7bc('0xf')](_0xb7bc('0x1'),_0xcc336c=>_0x13682f(_0x26a6d3,'ELEMENT_HORIZONTAL_LINE',_0xcc336c)),_0x2f243f[_0xb7bc('0x10')]['for']('dataDowncast')[_0xb7bc('0x9')]({'model':_0xb7bc('0x1'),'view':(_0x59f64e,{writer:_0x3d4ce9,options:_0x87f81c})=>{if(!_0x87f81c[_0xb7bc('0x7')])return null;const _0x3860fc=_0x3d4ce9[_0xb7bc('0x8')](_0xb7bc('0x0')),_0x4ac0d2=_0x3d4ce9['createEmptyElement']('hr');return _0x3d4ce9['addClass'](_0xb7bc('0xe'),_0x3860fc),_0x3d4ce9['insert'](_0x3d4ce9[_0xb7bc('0x3')](_0x3860fc,0x0),_0x4ac0d2),_0x3860fc;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d1e=['element','editing','get','format','enableCommand','markBlockFormat','_descriptionFactory','getCustomProperty','document','htmlEmbed','ELEMENT_HTML_EMBED','commandName','editor','TrackChangesEditing','locale','getSelectedElement','has','change','getAttribute','rawHtml','rawHtmlApi','plugins','selection','registerElementLabel','HtmlEmbed'];(function(_0x3ccdb2,_0x4d1e47){const _0x351ffd=function(_0x4fb49e){while(--_0x4fb49e){_0x3ccdb2['push'](_0x3ccdb2['shift']());}};_0x351ffd(++_0x4d1e47);}(_0x4d1e,0x163));const _0x351f=function(_0x3ccdb2,_0x4d1e47){_0x3ccdb2=_0x3ccdb2-0x0;let _0x351ffd=_0x4d1e[_0x3ccdb2];return _0x351ffd;};import{Plugin as _0x1f00b0}from'ckeditor5/src/core';import{getTranslation as _0x5b3992}from'../utils/common-translations';export default class V extends _0x1f00b0{['afterInit'](){const _0x3803db=this[_0x351f('0x7')];if(!_0x3803db[_0x351f('0x10')][_0x351f('0xb')](_0x351f('0x13')))return;const _0x51fdef=_0x3803db[_0x351f('0x10')][_0x351f('0x16')](_0x351f('0x8')),_0x53a37d=_0x3803db[_0x351f('0x9')],_0x3acb6d=_0x3803db[_0x351f('0x15')]['view'][_0x351f('0x3')][_0x351f('0x11')];_0x51fdef[_0x351f('0x1')][_0x351f('0x12')]('rawHtml',_0x3faac2=>_0x5b3992(_0x53a37d,_0x351f('0x5'),_0x3faac2)),_0x3803db[_0x351f('0x10')][_0x351f('0x16')](_0x351f('0x8'))[_0x351f('0x18')](_0x351f('0x4'),(_0x51579b,_0x238d51)=>{const _0xd0e99c=_0x3803db['model'],_0x22a016=_0xd0e99c[_0x351f('0x3')][_0x351f('0x11')];_0xd0e99c[_0x351f('0xc')](()=>{const _0x171ee6=function(_0x2b9798){const _0x42dc87=_0x2b9798[_0x351f('0xa')]();if(_0x42dc87&&_0x42dc87['is'](_0x351f('0x14'),_0x351f('0xe')))return _0x2b9798[_0x351f('0xa')]();return null;}(_0x22a016);if(!_0x171ee6)return void _0x51579b(null);const _0x479505=_0x171ee6[_0x351f('0xd')]('value')||'';if(void 0x0===_0x238d51)return;if(_0x238d51===_0x479505)return;_0x51fdef[_0x351f('0x0')](_0x171ee6,{'commandName':'htmlEmbed','commandParams':[_0x238d51]}),_0x3acb6d[_0x351f('0xa')]()[_0x351f('0x2')](_0x351f('0xf'))['cancel']();});}),_0x51fdef[_0x351f('0x1')]['registerDescriptionCallback'](_0x51231a=>{const {data:_0x43e1c5}=_0x51231a;if(_0x43e1c5&&_0x351f('0x4')==_0x43e1c5[_0x351f('0x6')]){const _0x49f7c0=_0x5b3992(_0x53a37d,_0x351f('0x5'));return{'type':_0x351f('0x17'),'content':_0x5b3992(_0x53a37d,'*Change\x20%0\x20content*',_0x49f7c0)};}});}}
23
+ const _0x45a0=['_descriptionFactory','getCustomProperty','getSelectedElement','selection','afterInit','ELEMENT_HTML_EMBED','registerDescriptionCallback','value','editing','enableCommand','element','change','plugins','format','document','view','model','has','commandName','htmlEmbed','getAttribute','TrackChangesEditing','registerElementLabel','cancel','*Change\x20%0\x20content*','locale'];(function(_0x307ae6,_0x45a09f){const _0x2363af=function(_0x57cc22){while(--_0x57cc22){_0x307ae6['push'](_0x307ae6['shift']());}};_0x2363af(++_0x45a09f);}(_0x45a0,0x12f));const _0x2363=function(_0x307ae6,_0x45a09f){_0x307ae6=_0x307ae6-0x0;let _0x2363af=_0x45a0[_0x307ae6];return _0x2363af;};import{Plugin as _0x27ac18}from'ckeditor5/src/core';import{getTranslation as _0x32f80b}from'../utils/common-translations';export default class V extends _0x27ac18{[_0x2363('0xd')](){const _0x49c430=this['editor'];if(!_0x49c430[_0x2363('0x15')][_0x2363('0x0')]('HtmlEmbed'))return;const _0x58bbfb=_0x49c430[_0x2363('0x15')]['get'](_0x2363('0x4')),_0xbb7d28=_0x49c430[_0x2363('0x8')],_0xf6e674=_0x49c430[_0x2363('0x11')][_0x2363('0x18')][_0x2363('0x17')]['selection'];_0x58bbfb['_descriptionFactory'][_0x2363('0x5')]('rawHtml',_0x20f5f5=>_0x32f80b(_0xbb7d28,_0x2363('0xe'),_0x20f5f5)),_0x49c430[_0x2363('0x15')]['get']('TrackChangesEditing')[_0x2363('0x12')](_0x2363('0x2'),(_0x567f9d,_0x3575d3)=>{const _0x1a06b7=_0x49c430[_0x2363('0x19')],_0x50cb90=_0x1a06b7['document'][_0x2363('0xc')];_0x1a06b7[_0x2363('0x14')](()=>{const _0x6e40ff=function(_0x216372){const _0xf784b9=_0x216372[_0x2363('0xb')]();if(_0xf784b9&&_0xf784b9['is'](_0x2363('0x13'),'rawHtml'))return _0x216372[_0x2363('0xb')]();return null;}(_0x50cb90);if(!_0x6e40ff)return void _0x567f9d(null);const _0x1bff8a=_0x6e40ff[_0x2363('0x3')](_0x2363('0x10'))||'';if(void 0x0===_0x3575d3)return;if(_0x3575d3===_0x1bff8a)return;_0x58bbfb['markBlockFormat'](_0x6e40ff,{'commandName':_0x2363('0x2'),'commandParams':[_0x3575d3]}),_0xf6e674['getSelectedElement']()[_0x2363('0xa')]('rawHtmlApi')[_0x2363('0x6')]();});}),_0x58bbfb[_0x2363('0x9')][_0x2363('0xf')](_0x2ae246=>{const {data:_0x41fef8}=_0x2ae246;if(_0x41fef8&&_0x2363('0x2')==_0x41fef8[_0x2363('0x1')]){const _0x491c77=_0x32f80b(_0xbb7d28,_0x2363('0xe'));return{'type':_0x2363('0x16'),'content':_0x32f80b(_0xbb7d28,_0x2363('0x7'),_0x491c77)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5227=['backward','formatInline','hasSuggestion','formatBlock','discard','Block\x20image\x20to\x20inline\x20image','getSuggestionCallback','next','imageTextAlternative','get','newRange','title','imageStyle','*Set\x20image\x20text\x20alternative:*\x20%0','ImageEditing','markBlockFormat','caption','isInContent','_suggestionFactory','isEqual','imageTypeInline','registerCustomCallback','imageCaption','commandName','editor','commandParams','imageStylePreApply','author','from','toLowerCase','*Remove\x20image\x20text\x20alternative*','_splitMarkerName','*Format:*\x20%0','afterInit','getClosestSelectedImageElement','FORMAT_SIDE_IMAGE','*Reset\x20image\x20width*','registerElementLabel','forceDefaultExecution','_descriptionFactory','normalizedStyles','createRangeOn','Users','convertBlockImageToInline','toNext','locale','previous','accept','model','isBlockImage','selection','resizeImage','change','plugins','forEach','hasAttribute','end','refresh','detach','registerDescriptionCallback','createRange','value','*Set\x20image\x20width:*\x20%0','markInlineFormat','element','imageStylePostApply','format','isCollapsed','deletion','enableCommand','document','commandReversedParams','convertInlineImageToBlock','subType','getContainedElement','join','isOwn','isBefore','fromPosition','toPrevious','removeObject','markInsertion','TrackChangesEditing','getSuggestion','uploadImage','has','getAttribute','head','getFirstRange','imageTypeBlock','type','getNearestSelectionRange','toggleImageCaption','width','ImageUtils','commands','discardSuggestion','filter','ImageBlockEditing','findIndex','insertImage','getSuggestions','isInlineImage','alt','ImageInlineEditing','name','side','length','ImageStyleEditing','addObject','getCaptionFromImageModelElement','newValue','chain','suggestion','insertion','start'];(function(_0x266a58,_0x522752){const _0x85a90e=function(_0x76af1e){while(--_0x76af1e){_0x266a58['push'](_0x266a58['shift']());}};_0x85a90e(++_0x522752);}(_0x5227,0x105));const _0x85a9=function(_0x266a58,_0x522752){_0x266a58=_0x266a58-0x0;let _0x85a90e=_0x5227[_0x266a58];return _0x85a90e;};import{Plugin as _0xccac4e}from'ckeditor5/src/core';import{LivePosition as _0x6582cd}from'ckeditor5/src/engine';import{uid as _0x2c3a3e}from'ckeditor5/src/utils';import{getTranslation as _0x45ad2a}from'../utils/common-translations';export default class X extends _0xccac4e{[_0x85a9('0x4')](){const _0x799b88=this[_0x85a9('0x6f')];if(!_0x799b88['plugins'][_0x85a9('0x38')](_0x85a9('0x65')))return;const _0x1e6eeb=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')](_0x85a9('0x35')),_0x38b04d=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')](_0x85a9('0x41')),_0x43b195={},_0x526097=_0x799b88[_0x85a9('0x10')];if(_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x47')),_0x1e6eeb[_0x85a9('0xa')][_0x85a9('0x8')]('imageBlock',_0x3cfe2b=>_0x45ad2a(_0x526097,'ELEMENT_IMAGE',_0x3cfe2b)),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x8')]('imageInline',_0xfa7fad=>_0x45ad2a(_0x526097,'ELEMENT_INLINE_IMAGE',_0xfa7fad)),_0x1e6eeb[_0x85a9('0xa')]['registerElementLabel'](_0x85a9('0x67'),()=>_0x45ad2a(_0x526097,'ELEMENT_CAPTION')),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageUploadEditing')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x37')),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')](_0x85a9('0x45'))&&_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')](_0x85a9('0x4b'))&&(_0x1e6eeb['enableCommand'](_0x85a9('0x6b'),(_0x386a29,_0x3c2dae)=>{const _0x429e75=_0x38b04d['getClosestSelectedImageElement'](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['selection']);_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb[_0x85a9('0x66')](_0x429e75,{'commandName':'imageTypeInline','commandParams':[_0x3c2dae]},[],_0x85a9('0xe'));});}),_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x3c'),(_0x1ad1fa,_0x2667c7)=>{_0x799b88[_0x85a9('0x13')]['change'](_0x363059=>{let _0x2e0979=_0x38b04d[_0x85a9('0x5')](_0x799b88['model'][_0x85a9('0x29')][_0x85a9('0x15')]),_0xdf278=_0x363059[_0x85a9('0xc')](_0x2e0979);const _0x2496a6=_0x6582cd[_0x85a9('0x31')](_0xdf278['start'],_0x85a9('0x32')),_0x4402ba=_0x6582cd[_0x85a9('0x31')](_0xdf278[_0x85a9('0x1b')],_0x85a9('0xf'));_0x1e6eeb[_0x85a9('0x9')](()=>_0x1ad1fa(_0x2667c7)),_0x2e0979=_0x38b04d[_0x85a9('0x5')](_0x799b88['model']['document']['selection']),_0xdf278=_0x363059[_0x85a9('0xc')](_0x2e0979);const _0xea4476=_0x363059['createRange'](_0x2496a6,_0x4402ba);_0x2496a6['detach'](),_0x4402ba[_0x85a9('0x1d')](),_0x1e6eeb[_0x85a9('0x66')](_0x2e0979,{'commandName':'imageTypeInline','commandParams':[]},[],_0x85a9('0x2b')),_0xea4476[_0x85a9('0x56')]['isBefore'](_0xdf278[_0x85a9('0x56')])&&_0x1e6eeb[_0x85a9('0x34')](_0x363059['createRange'](_0xea4476[_0x85a9('0x56')],_0xdf278[_0x85a9('0x56')]),_0x85a9('0x2b')),_0xdf278['end'][_0x85a9('0x30')](_0xea4476['end'])&&_0x1e6eeb['markInsertion'](_0x363059[_0x85a9('0x1f')](_0xdf278['end'],_0xea4476[_0x85a9('0x1b')]),'convertInlineImageToBlock');});}),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')]('formatBlock',_0x85a9('0x2b'),_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x5a'),'convertInlineImageToBlock',_0x85a9('0x12'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x2b'),_0x85a9('0x5b'),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')](_0x85a9('0x5a'),'',_0x85a9('0x12'))),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x55'),_0x85a9('0x2b'),_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')]('insertion',_0x85a9('0x2b'),'discard',([_0x53f3a0])=>{const _0x52f73b=_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')](_0x85a9('0x55'),'',_0x85a9('0x5b'));let _0x444ae9=_0x53f3a0[_0x85a9('0x56')],_0x501ddc=_0x53f3a0[_0x85a9('0x1b')];const _0x3417d6=_0x799b88[_0x85a9('0x13')]['schema'][_0x85a9('0x3e')](_0x444ae9,_0x85a9('0x57')),_0x34107a=_0x799b88[_0x85a9('0x13')]['schema'][_0x85a9('0x3e')](_0x501ddc,'forward');_0x3417d6['isCollapsed']&&(_0x444ae9=_0x3417d6[_0x85a9('0x56')]),_0x34107a[_0x85a9('0x26')]&&(_0x501ddc=_0x34107a[_0x85a9('0x1b')]),_0x52f73b([_0x799b88[_0x85a9('0x13')][_0x85a9('0x1f')](_0x444ae9,_0x501ddc)]);}),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x2b'),_0x85a9('0x53'),_0x54f901),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x55'),_0x85a9('0x2b'),_0x85a9('0x53'),_0x54f901)),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageCaptionEditing')&&(_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x3f'),(_0x3fb9fb,_0x89a922)=>{const _0x22281a=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')]('ImageCaptionUtils');let _0x211651=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document'][_0x85a9('0x15')]),_0x57aae0=_0x22281a[_0x85a9('0x51')](_0x211651);_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{if(_0x57aae0)return void _0x1e6eeb['markDeletion'](_0x799b88[_0x85a9('0x13')]['createRangeOn'](_0x57aae0));const _0x5cdc65=_0x38b04d['isBlockImage'](_0x211651);_0x3fb9fb(_0x89a922),_0x211651=_0x38b04d['getClosestSelectedImageElement'](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),_0x57aae0=_0x22281a[_0x85a9('0x51')](_0x211651),_0x1e6eeb[_0x85a9('0x34')](_0x799b88[_0x85a9('0x13')][_0x85a9('0xc')](_0x57aae0),_0x5cdc65?null:_0x85a9('0x6d'));});}),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x55'),_0x85a9('0x6d'),_0x85a9('0x53'),_0x54f901)),_0x799b88['plugins'][_0x85a9('0x38')](_0x85a9('0x4f'))){_0x1e6eeb[_0x85a9('0x28')]('imageStyle',(_0x57337f,_0x26e665)=>{const _0x821da2=_0x799b88['plugins'][_0x85a9('0x60')](_0x85a9('0xd'))['me'],_0x36652e=_0x799b88['commands'][_0x85a9('0x60')](_0x85a9('0x63'));let _0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document']['selection']),_0x46b452=_0x799b88[_0x85a9('0x13')]['createRangeOn'](_0x13b683),_0x2bb667=_0x36652e[_0x85a9('0x20')];if(_0x2bb667==_0x26e665[_0x85a9('0x20')])return;const _0x2c54d1={'commandName':_0x85a9('0x63'),'commandParams':[_0x26e665],'formatGroupId':_0x2c3a3e()};_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{if(_0x1e6eeb[_0x85a9('0x48')]()[_0x85a9('0x44')](_0x340b6d=>_0x340b6d[_0x85a9('0x68')]&&_0x821da2==_0x340b6d[_0x85a9('0x72')]&&(_0x85a9('0x5a')==_0x340b6d[_0x85a9('0x3d')]||_0x85a9('0x58')==_0x340b6d['type'])&&(_0x85a9('0x71')==_0x340b6d[_0x85a9('0x2c')]||_0x85a9('0x24')==_0x340b6d[_0x85a9('0x2c')])&&_0x340b6d[_0x85a9('0x3b')]()['isEqual'](_0x46b452))[_0x85a9('0x19')](_0x4b1be7=>_0x1e6eeb[_0x85a9('0x43')](_0x4b1be7[_0x85a9('0x3a')])),_0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),_0x46b452=_0x799b88['model'][_0x85a9('0xc')](_0x13b683),_0x36652e[_0x85a9('0x1c')](),_0x799b88[_0x85a9('0x42')][_0x85a9('0x60')]('imageTypeInline')[_0x85a9('0x1c')](),_0x799b88[_0x85a9('0x42')][_0x85a9('0x60')](_0x85a9('0x3c'))[_0x85a9('0x1c')](),_0x2bb667=_0x36652e[_0x85a9('0x20')],_0x2bb667!=_0x26e665[_0x85a9('0x20')])return _0x38b04d[_0x85a9('0x49')](_0x13b683)&&_0x36652e['shouldConvertImageType'](_0x26e665[_0x85a9('0x20')],_0x13b683)?(_0x57337f(_0x26e665),_0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),void _0x1e6eeb['markBlockFormat'](_0x13b683,{..._0x2c54d1,'commandReversedParams':[{'value':_0x2bb667||null}]},[],_0x85a9('0x71'))):void(_0x38b04d[_0x85a9('0x14')](_0x13b683)?_0x1e6eeb[_0x85a9('0x66')](_0x13b683,_0x2c54d1,[],_0x85a9('0x24')):_0x1e6eeb[_0x85a9('0x22')](_0x46b452,_0x2c54d1,_0x85a9('0x24')));});});for(const _0x1c7b84 of _0x799b88[_0x85a9('0x18')][_0x85a9('0x60')]('ImageStyleEditing')[_0x85a9('0xb')])_0x43b195[_0x1c7b84[_0x85a9('0x4c')]]=_0x1c7b84[_0x85a9('0x62')][_0x85a9('0x0')]();_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')](_0x85a9('0x5a'),'imageStylePreApply',_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')]('formatBlock',_0x85a9('0x24'),'join',()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x58'),'imageStylePostApply',_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x5a'),_0x85a9('0x71'),_0x85a9('0x12'),()=>!0x1),_0x1e6eeb['_suggestionFactory']['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x71'),_0x85a9('0x5b'),(_0x577b4d,_0x2a0b4b)=>{_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')]('formatBlock','',_0x85a9('0x12'))(_0x577b4d,{'commandName':_0x2a0b4b['commandName'],'commandParams':_0x2a0b4b[_0x85a9('0x2a')]});}),_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')](_0x85a9('0x5a'),_0x85a9('0x71'),'chain',_0x54f901);}const _0x253e67=[{'type':_0x85a9('0x5a'),'subType':_0x85a9('0x71')},{'type':_0x85a9('0x55'),'subType':_0x85a9('0x6d')},{'type':'formatBlock','subType':_0x85a9('0x2b')},{'type':_0x85a9('0x55'),'subType':_0x85a9('0x2b')}];function _0xa53a4b(_0x151d39,_0x4658a0){const _0x103d83=_0x253e67[_0x85a9('0x46')](({type:_0x3b08e8,subType:_0x13b03d})=>_0x151d39[_0x85a9('0x3d')]==_0x3b08e8&&_0x151d39[_0x85a9('0x2c')]==_0x13b03d),_0x69421e=_0x253e67[_0x85a9('0x46')](({type:_0x32e437,subType:_0x221435})=>_0x4658a0[_0x85a9('0x3d')]==_0x32e437&&_0x4658a0[_0x85a9('0x2c')]==_0x221435);if(_0x103d83<0x0||_0x69421e<0x0)return!0x1;const _0x4785ad=_0x151d39['getFirstRange'](),_0x404310=_0x4658a0[_0x85a9('0x3b')]();if((0x0==_0x103d83||0x1==_0x103d83)&&0x2==_0x69421e&&_0x4785ad['isIntersecting'](_0x404310))return!0x0;if(0x2==_0x103d83&&0x3==_0x69421e){const _0x7b9b15=_0x1e6eeb['_findSuggestions'](_0x4785ad,_0x85a9('0x55'))[_0x85a9('0x44')](({suggestion:_0x2c68e6,meta:_0x52fa4d})=>_0x52fa4d[_0x85a9('0x2f')]&&'convertInlineImageToBlock'==_0x2c68e6[_0x85a9('0x2c')]);if(_0x7b9b15[_0x85a9('0x4e')]>0x1&&_0x404310[_0x85a9('0x1b')][_0x85a9('0x6a')](_0x4785ad[_0x85a9('0x56')]))return!0x0;if(0x1==_0x7b9b15[_0x85a9('0x4e')]&&(_0x4785ad['start'][_0x85a9('0x6a')](_0x404310[_0x85a9('0x1b')])||_0x4785ad[_0x85a9('0x1b')][_0x85a9('0x6a')](_0x404310[_0x85a9('0x56')])))return!0x0;}if(0x3==_0x103d83&&0x3==_0x69421e&&_0x4785ad[_0x85a9('0x56')][_0x85a9('0x30')](_0x404310[_0x85a9('0x56')])){const _0x53983b=_0x4785ad[_0x85a9('0x1b')]['nodeAfter'],_0x2f4217=_0x404310[_0x85a9('0x56')]['nodeBefore'];return _0x38b04d[_0x85a9('0x14')](_0x53983b)&&_0x53983b===_0x2f4217;}return!0x1;}function _0x54f901(_0x1ba78c,_0x4bfbf2){return _0xa53a4b(_0x1ba78c,_0x4bfbf2)?[_0x1ba78c,_0x4bfbf2]:_0xa53a4b(_0x4bfbf2,_0x1ba78c)?[_0x4bfbf2,_0x1ba78c]:null;}_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['registerPostFixer'](()=>{let _0x3ed83f=!0x1;const _0x20d84c=Array[_0x85a9('0x73')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['differ']['getChangedMarkers']());for(const {name:_0x28cbe2,data:_0x1c355b}of _0x20d84c){const {group:_0x5c8eb1,type:_0x3d31a3,subType:_0x6ba052,id:_0x48cd72}=_0x1e6eeb[_0x85a9('0x2')](_0x28cbe2);if(_0x85a9('0x54')==_0x5c8eb1&&_0x1e6eeb[_0x85a9('0x59')](_0x48cd72)){if(_0x85a9('0x5a')==_0x3d31a3&&(_0x85a9('0x71')==_0x6ba052||'imageStylePostApply'==_0x6ba052)){const _0x4c5bc7=_0x1e6eeb[_0x85a9('0x36')](_0x48cd72);if(_0x1c355b['newRange']){const _0x480625=_0x4c5bc7[_0x85a9('0x3b')]()['getContainedElement']();if(_0x38b04d[_0x85a9('0x14')](_0x480625))continue;_0x1e6eeb[_0x85a9('0x43')](_0x4c5bc7),_0x3ed83f=!0x0;}}if(_0x85a9('0x55')==_0x3d31a3&&_0x85a9('0x6d')==_0x6ba052&&!_0x1c355b[_0x85a9('0x61')]){const _0x5862fa=_0x1e6eeb[_0x85a9('0x36')](_0x48cd72);_0x5862fa[_0x85a9('0x5e')]&&_0x5862fa[_0x85a9('0x5e')]['isInContent']&&(_0x1e6eeb[_0x85a9('0x43')](_0x5862fa[_0x85a9('0x5e')]),_0x3ed83f=!0x0);}}}return _0x3ed83f;}),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageResize')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x16'),(_0x4bf574,_0x3f6e88)=>{const _0xd47c8=_0x38b04d['getClosestSelectedImageElement'](_0x799b88['model']['document']['selection']);_0xd47c8[_0x85a9('0x39')](_0x85a9('0x40'))!=_0x3f6e88[_0x85a9('0x40')]&&_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb['markBlockFormat'](_0xd47c8,{'commandName':_0x85a9('0x16'),'commandParams':[_0x3f6e88]});});}),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageTextAlternativeEditing')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x5f'),(_0x46ba91,_0x5adf9d)=>{const _0x33166d=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document']['selection']);(_0x33166d[_0x85a9('0x1a')](_0x85a9('0x4a'))?_0x33166d[_0x85a9('0x39')](_0x85a9('0x4a')):'')!=_0x5adf9d[_0x85a9('0x52')]&&_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb['markBlockFormat'](_0x33166d,{'commandName':_0x85a9('0x5f'),'commandParams':[_0x5adf9d]});});}),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x1e')](_0x11a016=>{if(!!_0x253e67['find'](({type:_0x263cc9,subType:_0x28823a})=>_0x11a016['type']==_0x263cc9&&_0x11a016[_0x85a9('0x2c')]==_0x28823a))return _0x11a016[_0x85a9('0x11')]?{}:void 0x0;}),_0x1e6eeb['_descriptionFactory']['registerDescriptionCallback'](_0x4880ed=>{if(_0x85a9('0x55')==_0x4880ed[_0x85a9('0x3d')]||_0x85a9('0x27')==_0x4880ed['type']){const _0x21bd27=_0x4880ed[_0x85a9('0x2d')]();if(_0x21bd27&&_0x21bd27['is'](_0x85a9('0x23'),'caption'))return{'type':'insertion'==_0x4880ed[_0x85a9('0x3d')]?_0x85a9('0x50'):_0x85a9('0x33'),'element':_0x21bd27,'quantity':0x1};}}),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x1e')](_0x384296=>_0x85a9('0x5a')==_0x384296[_0x85a9('0x3d')]&&'convertInlineImageToBlock'==_0x384296[_0x85a9('0x2c')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0x85a9('0x5a')==_0x384296['type']&&_0x85a9('0xe')==_0x384296['subType']?{'type':_0x85a9('0x25'),'content':_0x85a9('0x5c')}:void 0x0),_0x1e6eeb['_descriptionFactory']['registerDescriptionCallback'](_0x597670=>{const {data:_0x7a1fc}=_0x597670;if(_0x7a1fc){if(_0x85a9('0x63')==_0x7a1fc['commandName']){const _0x436864=_0x7a1fc[_0x85a9('0x70')][0x0][_0x85a9('0x20')];return _0x1d5942(_0x85a9('0x4d')===_0x436864?_0x45ad2a(_0x526097,_0x85a9('0x6')):_0x43b195[_0x436864]||_0x436864);}if(_0x85a9('0x5f')==_0x7a1fc[_0x85a9('0x6e')]){const _0x3baee5=_0x7a1fc[_0x85a9('0x70')][0x0][_0x85a9('0x52')];return _0x3baee5?{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x64'),'\x22'+_0x3baee5+'\x22')}:{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x1'))};}if(_0x85a9('0x16')==_0x7a1fc[_0x85a9('0x6e')]){const _0x198d2f=_0x7a1fc[_0x85a9('0x70')][0x0]['width'];return _0x198d2f?{'type':'format','content':_0x45ad2a(_0x526097,_0x85a9('0x21'),_0x198d2f)}:{'type':'format','content':_0x45ad2a(_0x526097,_0x85a9('0x7'))};}}function _0x1d5942(_0x273124){return{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x3'),_0x273124)};}});}}
23
+ const _0xace6=['start','markInsertion','model','fromPosition','ELEMENT_IMAGE','enableCommand','find','createRange','imageCaption','discardSuggestion','commandName','imageStyle','next','convertBlockImageToInline','isCollapsed','convertInlineImageToBlock','isBefore','getSuggestion','imageInline','schema','uploadImage','get','ImageUploadEditing','removeObject','author','getSuggestions','markBlockFormat','join','resizeImage','_descriptionFactory','*Reset\x20image\x20width*','chain','_suggestionFactory','registerElementLabel','findIndex','imageStylePostApply','locale','document','getClosestSelectedImageElement','_findSuggestions','FORMAT_SIDE_IMAGE','formatBlock','imageTypeBlock','nodeBefore','isOwn','editor','discard','ImageBlockEditing','*Remove\x20image\x20text\x20alternative*','differ','getChangedMarkers','newRange','createRangeOn','getCaptionFromImageModelElement','ImageResize','normalizedStyles','getSuggestionCallback','change','backward','accept','getAttribute','deletion','ImageCaptionUtils','isEqual','format','subType','insertion','*Set\x20image\x20width:*\x20%0','commandReversedParams','refresh','length','formatInline','from','element','imageTextAlternative','markInlineFormat','caption','isBlockImage','getFirstRange','commands','suggestion','afterInit','ImageUtils','getNearestSelectionRange','ELEMENT_CAPTION','hasSuggestion','Block\x20image\x20to\x20inline\x20image','toNext','commandParams','isInContent','side','addObject','type','width','detach','value','forceDefaultExecution','filter','end','has','ImageInlineEditing','isIntersecting','head','registerPostFixer','alt','newValue','getContainedElement','Inline\x20image\x20to\x20block\x20image','title','*Format:*\x20%0','ImageStyleEditing','imageStylePreApply','toLowerCase','imageTypeInline','Users','ImageEditing','registerCustomCallback','TrackChangesEditing','markDeletion','selection','plugins','registerDescriptionCallback'];(function(_0x1585b6,_0xace606){const _0x1147ea=function(_0x1381ee){while(--_0x1381ee){_0x1585b6['push'](_0x1585b6['shift']());}};_0x1147ea(++_0xace606);}(_0xace6,0x69));const _0x1147=function(_0x1585b6,_0xace606){_0x1585b6=_0x1585b6-0x0;let _0x1147ea=_0xace6[_0x1585b6];return _0x1147ea;};import{Plugin as _0xc1ce7a}from'ckeditor5/src/core';import{LivePosition as _0xe351a7}from'ckeditor5/src/engine';import{uid as _0x390ff3}from'ckeditor5/src/utils';import{getTranslation as _0x4a2fb9}from'../utils/common-translations';export default class X extends _0xc1ce7a{[_0x1147('0x62')](){const _0x1e0100=this[_0x1147('0x3e')];if(!_0x1e0100['plugins'][_0x1147('0x74')](_0x1147('0xa')))return;const _0xbc0156=_0x1e0100['plugins']['get'](_0x1147('0xc')),_0x2d914a=_0x1e0100[_0x1147('0xf')]['get'](_0x1147('0x63')),_0x107aa1={},_0x50217d=_0x1e0100[_0x1147('0x35')];if(_0xbc0156['enableCommand']('insertImage'),_0xbc0156[_0x1147('0x2e')][_0x1147('0x32')]('imageBlock',_0x2e5c56=>_0x4a2fb9(_0x50217d,_0x1147('0x15'),_0x2e5c56)),_0xbc0156[_0x1147('0x2e')][_0x1147('0x32')](_0x1147('0x23'),_0xfd6be7=>_0x4a2fb9(_0x50217d,'ELEMENT_INLINE_IMAGE',_0xfd6be7)),_0xbc0156[_0x1147('0x2e')]['registerElementLabel'](_0x1147('0x5d'),()=>_0x4a2fb9(_0x50217d,_0x1147('0x65'))),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')](_0x1147('0x27'))&&_0xbc0156[_0x1147('0x16')](_0x1147('0x25')),_0x1e0100['plugins'][_0x1147('0x74')](_0x1147('0x40'))&&_0x1e0100[_0x1147('0xf')]['has'](_0x1147('0x75'))&&(_0xbc0156[_0x1147('0x16')](_0x1147('0x8'),(_0x37cf26,_0xd11fc0)=>{const _0x2e0ad6=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]);_0x1e0100['model'][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x2e0ad6,{'commandName':_0x1147('0x8'),'commandParams':[_0xd11fc0]},[],'convertBlockImageToInline');});}),_0xbc0156[_0x1147('0x16')](_0x1147('0x3b'),(_0x5074ec,_0x399e5a)=>{_0x1e0100['model'][_0x1147('0x4a')](_0x13283f=>{let _0x370313=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),_0x4ec7d7=_0x13283f[_0x1147('0x45')](_0x370313);const _0x5d3691=_0xe351a7[_0x1147('0x14')](_0x4ec7d7[_0x1147('0x11')],'toPrevious'),_0x3bd096=_0xe351a7['fromPosition'](_0x4ec7d7[_0x1147('0x73')],_0x1147('0x68'));_0xbc0156[_0x1147('0x71')](()=>_0x5074ec(_0x399e5a)),_0x370313=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),_0x4ec7d7=_0x13283f[_0x1147('0x45')](_0x370313);const _0x46cc76=_0x13283f['createRange'](_0x5d3691,_0x3bd096);_0x5d3691[_0x1147('0x6f')](),_0x3bd096['detach'](),_0xbc0156[_0x1147('0x2b')](_0x370313,{'commandName':'imageTypeInline','commandParams':[]},[],'convertInlineImageToBlock'),_0x46cc76['start'][_0x1147('0x21')](_0x4ec7d7[_0x1147('0x11')])&&_0xbc0156[_0x1147('0x12')](_0x13283f[_0x1147('0x18')](_0x46cc76[_0x1147('0x11')],_0x4ec7d7[_0x1147('0x11')]),_0x1147('0x20')),_0x4ec7d7[_0x1147('0x73')][_0x1147('0x21')](_0x46cc76['end'])&&_0xbc0156[_0x1147('0x12')](_0x13283f[_0x1147('0x18')](_0x4ec7d7[_0x1147('0x73')],_0x46cc76[_0x1147('0x73')]),'convertInlineImageToBlock');});}),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),_0x1147('0x20'),'join',()=>!0x1),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),'convertInlineImageToBlock',_0x1147('0x4c'),()=>!0x1),_0xbc0156[_0x1147('0x31')]['registerCustomCallback'](_0x1147('0x3a'),_0x1147('0x20'),_0x1147('0x3f'),_0xbc0156[_0x1147('0x31')][_0x1147('0x49')](_0x1147('0x3a'),'',_0x1147('0x4c'))),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),'convertInlineImageToBlock',_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),_0x1147('0x20'),_0x1147('0x3f'),([_0x2011fd])=>{const _0x5da1b6=_0xbc0156[_0x1147('0x31')][_0x1147('0x49')](_0x1147('0x53'),'',_0x1147('0x3f'));let _0x558b64=_0x2011fd[_0x1147('0x11')],_0x19e91c=_0x2011fd[_0x1147('0x73')];const _0x3fd01e=_0x1e0100[_0x1147('0x13')][_0x1147('0x24')][_0x1147('0x64')](_0x558b64,_0x1147('0x4b')),_0x268596=_0x1e0100[_0x1147('0x13')][_0x1147('0x24')]['getNearestSelectionRange'](_0x19e91c,'forward');_0x3fd01e['isCollapsed']&&(_0x558b64=_0x3fd01e['start']),_0x268596[_0x1147('0x1f')]&&(_0x19e91c=_0x268596[_0x1147('0x73')]),_0x5da1b6([_0x1e0100['model'][_0x1147('0x18')](_0x558b64,_0x19e91c)]);}),_0xbc0156[_0x1147('0x31')]['registerCustomCallback']('formatBlock','convertInlineImageToBlock',_0x1147('0x30'),_0x4456c8),_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('insertion','convertInlineImageToBlock',_0x1147('0x30'),_0x4456c8)),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageCaptionEditing')&&(_0xbc0156[_0x1147('0x16')]('toggleImageCaption',(_0x3b2dcc,_0x38c05a)=>{const _0x5047e3=_0x1e0100[_0x1147('0xf')][_0x1147('0x26')](_0x1147('0x4f'));let _0x1988f0=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')]['document'][_0x1147('0xe')]),_0x359da4=_0x5047e3[_0x1147('0x46')](_0x1988f0);_0x1e0100[_0x1147('0x13')][_0x1147('0x4a')](()=>{if(_0x359da4)return void _0xbc0156[_0x1147('0xd')](_0x1e0100[_0x1147('0x13')][_0x1147('0x45')](_0x359da4));const _0x244b08=_0x2d914a[_0x1147('0x5e')](_0x1988f0);_0x3b2dcc(_0x38c05a),_0x1988f0=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')]['selection']),_0x359da4=_0x5047e3[_0x1147('0x46')](_0x1988f0),_0xbc0156['markInsertion'](_0x1e0100[_0x1147('0x13')]['createRangeOn'](_0x359da4),_0x244b08?null:_0x1147('0x19'));});}),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),_0x1147('0x19'),_0x1147('0x30'),_0x4456c8)),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageStyleEditing')){_0xbc0156[_0x1147('0x16')](_0x1147('0x1c'),(_0xc3a688,_0x4ee1d5)=>{const _0x3ea00b=_0x1e0100['plugins'][_0x1147('0x26')](_0x1147('0x9'))['me'],_0x2ae55b=_0x1e0100['commands'][_0x1147('0x26')](_0x1147('0x1c'));let _0x133cda=_0x2d914a['getClosestSelectedImageElement'](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]),_0x139637=_0x1e0100[_0x1147('0x13')][_0x1147('0x45')](_0x133cda),_0x6666f0=_0x2ae55b['value'];if(_0x6666f0==_0x4ee1d5[_0x1147('0x70')])return;const _0x56fc9b={'commandName':'imageStyle','commandParams':[_0x4ee1d5],'formatGroupId':_0x390ff3()};_0x1e0100['model']['change'](()=>{if(_0xbc0156[_0x1147('0x2a')]()['filter'](_0x530395=>_0x530395['isInContent']&&_0x3ea00b==_0x530395[_0x1147('0x29')]&&(_0x1147('0x3a')==_0x530395[_0x1147('0x6d')]||_0x1147('0x58')==_0x530395[_0x1147('0x6d')])&&(_0x1147('0x6')==_0x530395[_0x1147('0x52')]||_0x1147('0x34')==_0x530395[_0x1147('0x52')])&&_0x530395['getFirstRange']()[_0x1147('0x50')](_0x139637))['forEach'](_0x22992d=>_0xbc0156[_0x1147('0x1a')](_0x22992d[_0x1147('0x77')])),_0x133cda=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]),_0x139637=_0x1e0100['model']['createRangeOn'](_0x133cda),_0x2ae55b[_0x1147('0x56')](),_0x1e0100['commands'][_0x1147('0x26')](_0x1147('0x8'))[_0x1147('0x56')](),_0x1e0100[_0x1147('0x60')][_0x1147('0x26')]('imageTypeBlock')['refresh'](),_0x6666f0=_0x2ae55b[_0x1147('0x70')],_0x6666f0!=_0x4ee1d5[_0x1147('0x70')])return _0x2d914a['isInlineImage'](_0x133cda)&&_0x2ae55b['shouldConvertImageType'](_0x4ee1d5[_0x1147('0x70')],_0x133cda)?(_0xc3a688(_0x4ee1d5),_0x133cda=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),void _0xbc0156[_0x1147('0x2b')](_0x133cda,{..._0x56fc9b,'commandReversedParams':[{'value':_0x6666f0||null}]},[],_0x1147('0x6'))):void(_0x2d914a['isBlockImage'](_0x133cda)?_0xbc0156[_0x1147('0x2b')](_0x133cda,_0x56fc9b,[],'imageStylePostApply'):_0xbc0156[_0x1147('0x5c')](_0x139637,_0x56fc9b,_0x1147('0x34')));});});for(const _0x3bdb4a of _0x1e0100[_0x1147('0xf')][_0x1147('0x26')](_0x1147('0x5'))[_0x1147('0x48')])_0x107aa1[_0x3bdb4a['name']]=_0x3bdb4a[_0x1147('0x3')][_0x1147('0x7')]();_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('formatBlock',_0x1147('0x6'),_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')]('formatBlock',_0x1147('0x34'),_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x58'),'imageStylePostApply',_0x1147('0x2c'),()=>!0x1),_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('formatBlock',_0x1147('0x6'),'accept',()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x3a'),_0x1147('0x6'),_0x1147('0x3f'),(_0x12d755,_0x5d75bd)=>{_0xbc0156[_0x1147('0x31')][_0x1147('0x49')]('formatBlock','',_0x1147('0x4c'))(_0x12d755,{'commandName':_0x5d75bd[_0x1147('0x1b')],'commandParams':_0x5d75bd[_0x1147('0x55')]});}),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),'imageStylePreApply',_0x1147('0x30'),_0x4456c8);}const _0x28ddc6=[{'type':_0x1147('0x3a'),'subType':_0x1147('0x6')},{'type':_0x1147('0x53'),'subType':'imageCaption'},{'type':_0x1147('0x3a'),'subType':_0x1147('0x20')},{'type':_0x1147('0x53'),'subType':_0x1147('0x20')}];function _0x2b2913(_0x45b480,_0x2532db){const _0x39350a=_0x28ddc6[_0x1147('0x33')](({type:_0x2a848b,subType:_0x9a3aae})=>_0x45b480['type']==_0x2a848b&&_0x45b480['subType']==_0x9a3aae),_0x48a3d1=_0x28ddc6[_0x1147('0x33')](({type:_0x581116,subType:_0x952bbb})=>_0x2532db[_0x1147('0x6d')]==_0x581116&&_0x2532db[_0x1147('0x52')]==_0x952bbb);if(_0x39350a<0x0||_0x48a3d1<0x0)return!0x1;const _0x18d0d0=_0x45b480['getFirstRange'](),_0x1ae38a=_0x2532db['getFirstRange']();if((0x0==_0x39350a||0x1==_0x39350a)&&0x2==_0x48a3d1&&_0x18d0d0[_0x1147('0x76')](_0x1ae38a))return!0x0;if(0x2==_0x39350a&&0x3==_0x48a3d1){const _0x212684=_0xbc0156[_0x1147('0x38')](_0x18d0d0,_0x1147('0x53'))[_0x1147('0x72')](({suggestion:_0x2fa69e,meta:_0x4ee46e})=>_0x4ee46e[_0x1147('0x3d')]&&_0x1147('0x20')==_0x2fa69e[_0x1147('0x52')]);if(_0x212684[_0x1147('0x57')]>0x1&&_0x1ae38a[_0x1147('0x73')][_0x1147('0x50')](_0x18d0d0[_0x1147('0x11')]))return!0x0;if(0x1==_0x212684[_0x1147('0x57')]&&(_0x18d0d0['start'][_0x1147('0x50')](_0x1ae38a[_0x1147('0x73')])||_0x18d0d0[_0x1147('0x73')][_0x1147('0x50')](_0x1ae38a[_0x1147('0x11')])))return!0x0;}if(0x3==_0x39350a&&0x3==_0x48a3d1&&_0x18d0d0[_0x1147('0x11')]['isBefore'](_0x1ae38a[_0x1147('0x11')])){const _0x246d3d=_0x18d0d0['end']['nodeAfter'],_0x88b50d=_0x1ae38a['start'][_0x1147('0x3c')];return _0x2d914a[_0x1147('0x5e')](_0x246d3d)&&_0x246d3d===_0x88b50d;}return!0x1;}function _0x4456c8(_0x26fbd5,_0x3a10b6){return _0x2b2913(_0x26fbd5,_0x3a10b6)?[_0x26fbd5,_0x3a10b6]:_0x2b2913(_0x3a10b6,_0x26fbd5)?[_0x3a10b6,_0x26fbd5]:null;}_0x1e0100['model'][_0x1147('0x36')][_0x1147('0x78')](()=>{let _0x435cfa=!0x1;const _0x38c1d5=Array[_0x1147('0x59')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0x42')][_0x1147('0x43')]());for(const {name:_0x1086d1,data:_0x48aabe}of _0x38c1d5){const {group:_0x170381,type:_0x15c429,subType:_0x5e9bb0,id:_0x1f3044}=_0xbc0156['_splitMarkerName'](_0x1086d1);if(_0x1147('0x61')==_0x170381&&_0xbc0156[_0x1147('0x66')](_0x1f3044)){if(_0x1147('0x3a')==_0x15c429&&(_0x1147('0x6')==_0x5e9bb0||_0x1147('0x34')==_0x5e9bb0)){const _0x1d9dfa=_0xbc0156[_0x1147('0x22')](_0x1f3044);if(_0x48aabe[_0x1147('0x44')]){const _0x46f099=_0x1d9dfa[_0x1147('0x5f')]()[_0x1147('0x1')]();if(_0x2d914a[_0x1147('0x5e')](_0x46f099))continue;_0xbc0156[_0x1147('0x1a')](_0x1d9dfa),_0x435cfa=!0x0;}}if(_0x1147('0x53')==_0x15c429&&_0x1147('0x19')==_0x5e9bb0&&!_0x48aabe[_0x1147('0x44')]){const _0x1210aa=_0xbc0156[_0x1147('0x22')](_0x1f3044);_0x1210aa[_0x1147('0x1d')]&&_0x1210aa['next'][_0x1147('0x6a')]&&(_0xbc0156['discardSuggestion'](_0x1210aa['next']),_0x435cfa=!0x0);}}}return _0x435cfa;}),_0x1e0100[_0x1147('0xf')]['has'](_0x1147('0x47'))&&_0xbc0156[_0x1147('0x16')](_0x1147('0x2d'),(_0x1056bd,_0x4a0a8e)=>{const _0x3c5b6b=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')]['document']['selection']);_0x3c5b6b[_0x1147('0x4d')](_0x1147('0x6e'))!=_0x4a0a8e[_0x1147('0x6e')]&&_0x1e0100['model'][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x3c5b6b,{'commandName':'resizeImage','commandParams':[_0x4a0a8e]});});}),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageTextAlternativeEditing')&&_0xbc0156[_0x1147('0x16')](_0x1147('0x5b'),(_0x1e89ae,_0x483e86)=>{const _0x2d7104=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]);(_0x2d7104['hasAttribute'](_0x1147('0x79'))?_0x2d7104[_0x1147('0x4d')](_0x1147('0x79')):'')!=_0x483e86[_0x1147('0x0')]&&_0x1e0100[_0x1147('0x13')][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x2d7104,{'commandName':_0x1147('0x5b'),'commandParams':[_0x483e86]});});}),_0xbc0156[_0x1147('0x2e')][_0x1147('0x10')](_0x19d67a=>{if(!!_0x28ddc6[_0x1147('0x17')](({type:_0x271aab,subType:_0x29d697})=>_0x19d67a['type']==_0x271aab&&_0x19d67a[_0x1147('0x52')]==_0x29d697))return _0x19d67a['previous']?{}:void 0x0;}),_0xbc0156[_0x1147('0x2e')][_0x1147('0x10')](_0x5db209=>{if(_0x1147('0x53')==_0x5db209[_0x1147('0x6d')]||_0x1147('0x4e')==_0x5db209[_0x1147('0x6d')]){const _0x43fe3d=_0x5db209[_0x1147('0x1')]();if(_0x43fe3d&&_0x43fe3d['is'](_0x1147('0x5a'),_0x1147('0x5d')))return{'type':_0x1147('0x53')==_0x5db209[_0x1147('0x6d')]?_0x1147('0x6c'):_0x1147('0x28'),'element':_0x43fe3d,'quantity':0x1};}}),_0xbc0156['_descriptionFactory'][_0x1147('0x10')](_0x11c1c2=>_0x1147('0x3a')==_0x11c1c2[_0x1147('0x6d')]&&_0x1147('0x20')==_0x11c1c2[_0x1147('0x52')]?{'type':_0x1147('0x51'),'content':_0x1147('0x2')}:_0x1147('0x3a')==_0x11c1c2['type']&&_0x1147('0x1e')==_0x11c1c2[_0x1147('0x52')]?{'type':_0x1147('0x51'),'content':_0x1147('0x67')}:void 0x0),_0xbc0156['_descriptionFactory'][_0x1147('0x10')](_0x336b90=>{const {data:_0x1f8e1e}=_0x336b90;if(_0x1f8e1e){if('imageStyle'==_0x1f8e1e[_0x1147('0x1b')]){const _0x5abe2e=_0x1f8e1e['commandParams'][0x0][_0x1147('0x70')];return _0x2454f0(_0x1147('0x6b')===_0x5abe2e?_0x4a2fb9(_0x50217d,_0x1147('0x39')):_0x107aa1[_0x5abe2e]||_0x5abe2e);}if('imageTextAlternative'==_0x1f8e1e[_0x1147('0x1b')]){const _0x4c050e=_0x1f8e1e[_0x1147('0x69')][0x0][_0x1147('0x0')];return _0x4c050e?{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4c050e+'\x22')}:{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x41'))};}if(_0x1147('0x2d')==_0x1f8e1e['commandName']){const _0x1b117c=_0x1f8e1e[_0x1147('0x69')][0x0][_0x1147('0x6e')];return _0x1b117c?{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x54'),_0x1b117c)}:{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x2f'))};}}function _0x2454f0(_0x546c7a){return{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x4'),_0x546c7a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22f3=['handleSuggestionDescription','document','change','subType','formatBlock','getSuggestionCallback','enableCommand','*Format:*\x20replace\x20image\x20URL','TrackChangesEditing','editor','plugins','selection','model','_suggestionFactory','source','commandName','replaceImageSource','data','get','locale','getSuggestions','discard','author','handleReplaceImageCommand','registerCustomCallback','has','markBlockFormat','accept','getSelectedElement','getAttribute'];(function(_0x3630b1,_0x22f344){const _0x3e9aba=function(_0x58a330){while(--_0x58a330){_0x3630b1['push'](_0x3630b1['shift']());}};_0x3e9aba(++_0x22f344);}(_0x22f3,0x147));const _0x3e9a=function(_0x3630b1,_0x22f344){_0x3630b1=_0x3630b1-0x0;let _0x3e9aba=_0x22f3[_0x3630b1];return _0x3e9aba;};import{Plugin as _0x21de90}from'ckeditor5/src/core';import{getTranslation as _0x3ea10f}from'../utils/common-translations';export default class Y extends _0x21de90{['afterInit'](){if(!this[_0x3e9a('0xc')][_0x3e9a('0xd')][_0x3e9a('0x1c')]('ImageEditing'))return;const _0x43941b=this[_0x3e9a('0xc')]['plugins']['get'](_0x3e9a('0xb'));_0x43941b[_0x3e9a('0x9')](_0x3e9a('0x13'),(_0x50b4c7,_0x64ddf7)=>this[_0x3e9a('0x1a')](_0x50b4c7,_0x64ddf7)),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x1b')](_0x3e9a('0x7'),_0x3e9a('0x13'),_0x3e9a('0x0'),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x8')](_0x3e9a('0x7'),null,'discard')),_0x43941b['_suggestionFactory']['registerCustomCallback'](_0x3e9a('0x7'),_0x3e9a('0x13'),_0x3e9a('0x18'),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x8')]('formatBlock',null,'accept')),_0x43941b['_descriptionFactory']['registerDescriptionCallback'](_0x2c44af=>this[_0x3e9a('0x3')](_0x2c44af));}[_0x3e9a('0x1a')](_0x29cc74,_0x471633){const _0x963ee8=this[_0x3e9a('0xc')]['plugins'][_0x3e9a('0x15')](_0x3e9a('0xb')),_0x1f9844=this[_0x3e9a('0xc')][_0x3e9a('0xf')][_0x3e9a('0x4')][_0x3e9a('0xe')][_0x3e9a('0x1')]();this[_0x3e9a('0xc')][_0x3e9a('0xf')][_0x3e9a('0x5')](()=>{let _0x2e7ca3=_0x1f9844[_0x3e9a('0x2')]('src');const _0x42da3b=this[_0x3e9a('0xc')][_0x3e9a('0xd')][_0x3e9a('0x15')]('Users')['me'];for(const _0x4736b1 of _0x963ee8[_0x3e9a('0x17')]({'skipNotAttached':!0x0})){const _0x30571a=_0x4736b1['getContainedElement']();if(_0x3e9a('0x13')===_0x4736b1[_0x3e9a('0x6')]&&_0x30571a===_0x1f9844){_0x4736b1[_0x3e9a('0x19')]!==_0x42da3b&&_0x4736b1[_0x3e9a('0x18')](),_0x2e7ca3=_0x4736b1[_0x3e9a('0x14')]['commandParams'][0x0][_0x3e9a('0x11')];break;}}_0x29cc74(_0x471633),_0x963ee8[_0x3e9a('0x1d')](_0x1f9844,{'commandName':'replaceImageSource','commandParams':[{'source':_0x2e7ca3}]},[],_0x3e9a('0x13'));});}[_0x3e9a('0x3')](_0xd8c8e2){const {data:_0x3af00}=_0xd8c8e2;if(_0x3af00&&_0x3e9a('0x13')===_0x3af00[_0x3e9a('0x12')]){const _0xd321ff=_0x3e9a('0xa');return{'type':'format','content':_0x3ea10f(this[_0x3e9a('0xc')][_0x3e9a('0x16')],_0xd321ff)};}}}
23
+ const _0x19d5=['*Format:*\x20replace\x20image\x20URL','markBlockFormat','locale','getSuggestionCallback','document','discard','model','getContainedElement','handleReplaceImageCommand','accept','getSelectedElement','format','selection','afterInit','has','registerCustomCallback','Users','replaceImageSource','ImageEditing','_suggestionFactory','editor','plugins','_descriptionFactory','get','src','handleSuggestionDescription','formatBlock','enableCommand','getAttribute','subType','commandName'];(function(_0x1a61da,_0x19d54a){const _0x246e80=function(_0xe68f56){while(--_0xe68f56){_0x1a61da['push'](_0x1a61da['shift']());}};_0x246e80(++_0x19d54a);}(_0x19d5,0xd2));const _0x246e=function(_0x1a61da,_0x19d54a){_0x1a61da=_0x1a61da-0x0;let _0x246e80=_0x19d5[_0x1a61da];return _0x246e80;};import{Plugin as _0x5cf0cf}from'ckeditor5/src/core';import{getTranslation as _0x2b52bd}from'../utils/common-translations';export default class Y extends _0x5cf0cf{[_0x246e('0x14')](){if(!this[_0x246e('0x1b')][_0x246e('0x1c')][_0x246e('0x15')](_0x246e('0x19')))return;const _0x97c47c=this[_0x246e('0x1b')]['plugins'][_0x246e('0x1e')]('TrackChangesEditing');_0x97c47c[_0x246e('0x3')](_0x246e('0x18'),(_0x46ed33,_0x26dbd4)=>this['handleReplaceImageCommand'](_0x46ed33,_0x26dbd4)),_0x97c47c[_0x246e('0x1a')]['registerCustomCallback']('formatBlock',_0x246e('0x18'),_0x246e('0x10'),_0x97c47c['_suggestionFactory'][_0x246e('0xa')](_0x246e('0x2'),null,_0x246e('0xc'))),_0x97c47c[_0x246e('0x1a')][_0x246e('0x16')](_0x246e('0x2'),_0x246e('0x18'),_0x246e('0xc'),_0x97c47c[_0x246e('0x1a')][_0x246e('0xa')](_0x246e('0x2'),null,_0x246e('0x10'))),_0x97c47c[_0x246e('0x1d')]['registerDescriptionCallback'](_0x151d7c=>this[_0x246e('0x1')](_0x151d7c));}[_0x246e('0xf')](_0x331129,_0x4483a2){const _0x26698e=this[_0x246e('0x1b')][_0x246e('0x1c')]['get']('TrackChangesEditing'),_0x4fb0f5=this['editor'][_0x246e('0xd')][_0x246e('0xb')][_0x246e('0x13')][_0x246e('0x11')]();this[_0x246e('0x1b')][_0x246e('0xd')]['change'](()=>{let _0x3c14ba=_0x4fb0f5[_0x246e('0x4')](_0x246e('0x0'));const _0x11b61f=this[_0x246e('0x1b')][_0x246e('0x1c')][_0x246e('0x1e')](_0x246e('0x17'))['me'];for(const _0x438729 of _0x26698e['getSuggestions']({'skipNotAttached':!0x0})){const _0x30d415=_0x438729[_0x246e('0xe')]();if('replaceImageSource'===_0x438729[_0x246e('0x5')]&&_0x30d415===_0x4fb0f5){_0x438729['author']!==_0x11b61f&&_0x438729[_0x246e('0xc')](),_0x3c14ba=_0x438729['data']['commandParams'][0x0]['source'];break;}}_0x331129(_0x4483a2),_0x26698e[_0x246e('0x8')](_0x4fb0f5,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3c14ba}]},[],_0x246e('0x18'));});}[_0x246e('0x1')](_0x3112ba){const {data:_0x5e28da}=_0x3112ba;if(_0x5e28da&&_0x246e('0x18')===_0x5e28da[_0x246e('0x6')]){const _0xf10c6f=_0x246e('0x7');return{'type':_0x246e('0x12'),'content':_0x2b52bd(this[_0x246e('0x1b')][_0x246e('0x9')],_0xf10c6f)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b9b=['track_changes','dataInsert','lowest','_setSuggestionData','value','get','afterInit','_trackChangesExecuted','editor','enableCommand','_trackChangesValueDuringImport','_handleImportedData','commands','TrackChangesEditing','plugins','listenTo','execute','trackChanges','importWord'];(function(_0x170ef0,_0x5b9b6e){const _0x488443=function(_0x35815d){while(--_0x35815d){_0x170ef0['push'](_0x170ef0['shift']());}};_0x488443(++_0x5b9b6e);}(_0x5b9b,0xc4));const _0x4884=function(_0x170ef0,_0x5b9b6e){_0x170ef0=_0x170ef0-0x0;let _0x488443=_0x5b9b[_0x170ef0];return _0x488443;};import{Plugin as _0x433063}from'ckeditor5/src/core';export default class Z extends _0x433063{constructor(_0x5d4cf7){super(_0x5d4cf7),this[_0x4884('0x4')]=!0x1,this[_0x4884('0x1')]=!0x1;}[_0x4884('0x0')](){const _0x222c2a=this['editor'],_0x5713f5=_0x222c2a[_0x4884('0x6')][_0x4884('0x12')]('importWord'),_0x4f4638=_0x222c2a[_0x4884('0x6')]['get'](_0x4884('0xb'));_0x5713f5&&(_0x5713f5['on'](_0x4884('0xa'),(_0xbf8ad7,[,_0x5ecf95])=>{this['_trackChangesValueDuringImport']=_0x4f4638[_0x4884('0x11')],_0x5ecf95['collaboration_features'][_0x4884('0xd')]=!this[_0x4884('0x4')];},{'priority':'high'}),this[_0x4884('0x9')](_0x5713f5,_0x4884('0xe'),this['_handleImportedData']['bind'](this)),this[_0x4884('0x9')](_0x5713f5,_0x4884('0xe'),()=>{this[_0x4884('0x1')]&&(_0x4f4638[_0x4884('0xa')](),this[_0x4884('0x1')]=!0x1);},{'priority':_0x4884('0xf')}),_0x222c2a[_0x4884('0x8')][_0x4884('0x12')]('TrackChangesEditing')[_0x4884('0x3')](_0x4884('0xc')));}[_0x4884('0x5')](_0x1681f9,_0xafd356){const {suggestions:_0x3320ff}=_0xafd356,_0x416242=this[_0x4884('0x2')][_0x4884('0x6')][_0x4884('0x12')](_0x4884('0xb')),_0x3de1d2=_0x416242[_0x4884('0x11')];this[_0x4884('0x4')]!==_0x3de1d2&&(_0x416242[_0x4884('0xa')](),this['_trackChangesExecuted']=!0x0),_0x3320ff&&_0x3320ff['forEach'](({id:_0x5c9e79,type:_0x60a664,author:_0x1f308a,created_at:_0x1afeac})=>{const _0x23e1cc={'id':_0x5c9e79,'type':_0x60a664,'authorId':this[_0x4884('0x2')][_0x4884('0x8')][_0x4884('0x12')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1f308a,'createdAt':_0x1afeac?new Date(_0x1afeac):new Date(),'source':_0x4884('0xc')}}};this[_0x4884('0x2')][_0x4884('0x8')][_0x4884('0x12')](_0x4884('0x7'))[_0x4884('0x10')](_0x23e1cc);});}}
23
+ const _0x4251=['editor','high','track_changes','afterInit','_setSuggestionData','_handleImportedData','execute','commands','TrackChangesEditing','lowest','forEach','bind','value','_trackChangesExecuted','_trackChangesValueDuringImport','dataInsert','get','trackChanges','listenTo','plugins','importWord','enableCommand'];(function(_0x30a762,_0x425160){const _0x5e605c=function(_0x439d5b){while(--_0x439d5b){_0x30a762['push'](_0x30a762['shift']());}};_0x5e605c(++_0x425160);}(_0x4251,0x130));const _0x5e60=function(_0x30a762,_0x425160){_0x30a762=_0x30a762-0x0;let _0x5e605c=_0x4251[_0x30a762];return _0x5e605c;};import{Plugin as _0x40d1a4}from'ckeditor5/src/core';export default class Z extends _0x40d1a4{constructor(_0x31d4be){super(_0x31d4be),this[_0x5e60('0x12')]=!0x1,this[_0x5e60('0x11')]=!0x1;}[_0x5e60('0x7')](){const _0x4d8e9a=this[_0x5e60('0x4')],_0x526477=_0x4d8e9a[_0x5e60('0xb')]['get']('importWord'),_0x45be05=_0x4d8e9a[_0x5e60('0xb')][_0x5e60('0x14')](_0x5e60('0x15'));_0x526477&&(_0x526477['on'](_0x5e60('0xa'),(_0x30d322,[,_0x448e97])=>{this['_trackChangesValueDuringImport']=_0x45be05[_0x5e60('0x10')],_0x448e97['collaboration_features'][_0x5e60('0x6')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x5e60('0x5')}),this[_0x5e60('0x0')](_0x526477,_0x5e60('0x13'),this[_0x5e60('0x9')][_0x5e60('0xf')](this)),this[_0x5e60('0x0')](_0x526477,_0x5e60('0x13'),()=>{this[_0x5e60('0x11')]&&(_0x45be05[_0x5e60('0xa')](),this[_0x5e60('0x11')]=!0x1);},{'priority':_0x5e60('0xd')}),_0x4d8e9a[_0x5e60('0x1')][_0x5e60('0x14')]('TrackChangesEditing')[_0x5e60('0x3')](_0x5e60('0x2')));}[_0x5e60('0x9')](_0x259e19,_0x5556c3){const {suggestions:_0x200c99}=_0x5556c3,_0x57bce8=this[_0x5e60('0x4')][_0x5e60('0xb')][_0x5e60('0x14')](_0x5e60('0x15')),_0x25c91f=_0x57bce8['value'];this[_0x5e60('0x12')]!==_0x25c91f&&(_0x57bce8['execute'](),this[_0x5e60('0x11')]=!0x0),_0x200c99&&_0x200c99[_0x5e60('0xe')](({id:_0x194a09,type:_0x16b070,author:_0x325a69,created_at:_0xe75f0})=>{const _0x210063={'id':_0x194a09,'type':_0x16b070,'authorId':this[_0x5e60('0x4')][_0x5e60('0x1')][_0x5e60('0x14')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x325a69,'createdAt':_0xe75f0?new Date(_0xe75f0):new Date(),'source':_0x5e60('0x2')}}};this[_0x5e60('0x4')]['plugins'][_0x5e60('0x14')](_0x5e60('0xc'))[_0x5e60('0x8')](_0x210063);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bb6=['get','markBlockFormat','model','checkAttribute','TrackChangesEditing','outdentBlock','filter','indentBlock','commandName','format','*Outdent:*\x20%0','from','locale','plugins','_descriptionFactory','selection','IndentEditing','getSelectedBlocks','enableCommand','*Indent:*\x20%0','registerDescriptionCallback','getItems','IndentBlock','editor','has','document','indent','outdent','afterInit','blockIndent'];(function(_0x16d1fd,_0x1bb6fe){const _0x3af015=function(_0x5eed38){while(--_0x5eed38){_0x16d1fd['push'](_0x16d1fd['shift']());}};_0x3af015(++_0x1bb6fe);}(_0x1bb6,0xc3));const _0x3af0=function(_0x16d1fd,_0x1bb6fe){_0x16d1fd=_0x16d1fd-0x0;let _0x3af015=_0x1bb6[_0x16d1fd];return _0x3af015;};import{Plugin as _0x25b371}from'ckeditor5/src/core';import{getTranslation as _0x36493a}from'../utils/common-translations';export default class tt extends _0x25b371{[_0x3af0('0xd')](){const _0x2f7e7d=this[_0x3af0('0x8')],_0xfc07f0=_0x2f7e7d[_0x3af0('0x1c')][_0x3af0('0xf')](_0x3af0('0x13'));_0x2f7e7d['plugins']['has'](_0x3af0('0x1'))&&(_0xfc07f0[_0x3af0('0x3')](_0x3af0('0xb')),_0xfc07f0[_0x3af0('0x3')](_0x3af0('0xc')));const _0x5da3e9=_0x2f7e7d[_0x3af0('0x1b')];if(_0x2f7e7d['plugins'][_0x3af0('0x9')](_0x3af0('0x7'))){for(const _0x5ab197 of[_0x3af0('0x16'),_0x3af0('0x14')])_0xfc07f0[_0x3af0('0x3')](_0x5ab197,()=>{const _0x2e985a=Array[_0x3af0('0x1a')](this[_0x3af0('0x8')][_0x3af0('0x11')][_0x3af0('0xa')][_0x3af0('0x0')][_0x3af0('0x2')]())[_0x3af0('0x15')](_0x538512=>this['editor'][_0x3af0('0x11')]['schema'][_0x3af0('0x12')](_0x538512,_0x3af0('0xe')));_0x2f7e7d[_0x3af0('0x11')]['change'](()=>{for(const _0x3dae81 of _0x2e985a)_0xfc07f0[_0x3af0('0x10')](_0x3dae81,{'commandName':_0x5ab197,'commandParams':[{'value':''}],'formatGroupId':_0x3af0('0x16')});});});_0xfc07f0[_0x3af0('0x1d')][_0x3af0('0x5')](_0x25fcfb=>{const {data:_0x210f24}=_0x25fcfb;if(!_0x210f24)return;if(_0x3af0('0x16')!=_0x210f24['commandName']&&_0x3af0('0x14')!=_0x210f24[_0x3af0('0x17')])return;const _0xd04f38=_0x25fcfb[_0x3af0('0x6')]()[0x0],_0x39f9db=_0xfc07f0['_descriptionFactory']['getItemLabel'](_0xd04f38);return _0x3af0('0x16')==_0x210f24[_0x3af0('0x17')]?{'type':_0x3af0('0x18'),'content':_0x36493a(_0x5da3e9,_0x3af0('0x4'),_0x39f9db)}:_0x3af0('0x14')==_0x210f24[_0x3af0('0x17')]?{'type':_0x3af0('0x18'),'content':_0x36493a(_0x5da3e9,_0x3af0('0x19'),_0x39f9db)}:void 0x0;});}}}
23
+ const _0x5612=['change','getSelectedBlocks','IndentBlock','enableCommand','*Indent:*\x20%0','outdent','registerDescriptionCallback','outdentBlock','document','indentBlock','TrackChangesEditing','checkAttribute','editor','getItems','has','plugins','IndentEditing','format','model','indent','commandName','*Outdent:*\x20%0','afterInit','_descriptionFactory','get','markBlockFormat','locale','schema'];(function(_0x1b1ffc,_0x56125d){const _0x105ec2=function(_0x26e78e){while(--_0x26e78e){_0x1b1ffc['push'](_0x1b1ffc['shift']());}};_0x105ec2(++_0x56125d);}(_0x5612,0xd6));const _0x105e=function(_0x1b1ffc,_0x56125d){_0x1b1ffc=_0x1b1ffc-0x0;let _0x105ec2=_0x5612[_0x1b1ffc];return _0x105ec2;};import{Plugin as _0xde540e}from'ckeditor5/src/core';import{getTranslation as _0xe15c6}from'../utils/common-translations';export default class tt extends _0xde540e{[_0x105e('0x4')](){const _0x37736e=this['editor'],_0x1d18a1=_0x37736e[_0x105e('0x19')][_0x105e('0x6')](_0x105e('0x14'));_0x37736e[_0x105e('0x19')][_0x105e('0x18')](_0x105e('0x1a'))&&(_0x1d18a1[_0x105e('0xd')](_0x105e('0x1')),_0x1d18a1[_0x105e('0xd')](_0x105e('0xf')));const _0x174334=_0x37736e[_0x105e('0x8')];if(_0x37736e[_0x105e('0x19')][_0x105e('0x18')](_0x105e('0xc'))){for(const _0x571983 of[_0x105e('0x13'),_0x105e('0x11')])_0x1d18a1['enableCommand'](_0x571983,()=>{const _0x4199f9=Array['from'](this[_0x105e('0x16')][_0x105e('0x0')][_0x105e('0x12')]['selection'][_0x105e('0xb')]())['filter'](_0x17033f=>this[_0x105e('0x16')][_0x105e('0x0')][_0x105e('0x9')][_0x105e('0x15')](_0x17033f,'blockIndent'));_0x37736e[_0x105e('0x0')][_0x105e('0xa')](()=>{for(const _0x20b060 of _0x4199f9)_0x1d18a1[_0x105e('0x7')](_0x20b060,{'commandName':_0x571983,'commandParams':[{'value':''}],'formatGroupId':_0x105e('0x13')});});});_0x1d18a1[_0x105e('0x5')][_0x105e('0x10')](_0x5c61cc=>{const {data:_0x1572e2}=_0x5c61cc;if(!_0x1572e2)return;if(_0x105e('0x13')!=_0x1572e2[_0x105e('0x2')]&&_0x105e('0x11')!=_0x1572e2['commandName'])return;const _0x5b764a=_0x5c61cc[_0x105e('0x17')]()[0x0],_0x1241f1=_0x1d18a1['_descriptionFactory']['getItemLabel'](_0x5b764a);return _0x105e('0x13')==_0x1572e2['commandName']?{'type':_0x105e('0x1b'),'content':_0xe15c6(_0x174334,_0x105e('0xe'),_0x1241f1)}:_0x105e('0x11')==_0x1572e2['commandName']?{'type':'format','content':_0xe15c6(_0x174334,_0x105e('0x3'),_0x1241f1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4862=['plugins','get','init','editor','enableCommand'];(function(_0x544505,_0x486241){var _0x2f7c25=function(_0x50dfd9){while(--_0x50dfd9){_0x544505['push'](_0x544505['shift']());}};_0x2f7c25(++_0x486241);}(_0x4862,0x1c6));var _0x2f7c=function(_0x544505,_0x486241){_0x544505=_0x544505-0x0;var _0x2f7c25=_0x4862[_0x544505];return _0x2f7c25;};import{Plugin as _0x40b6ab}from'ckeditor5/src/core';import{Input as _0x2f81df}from'ckeditor5/src/typing';export default class it extends _0x40b6ab{static get['requires'](){return[_0x2f81df];}[_0x2f7c('0x3')](){this[_0x2f7c('0x4')][_0x2f7c('0x1')][_0x2f7c('0x2')]('TrackChangesEditing')[_0x2f7c('0x0')]('input');}}
23
+ var _0x126a=['init','plugins','enableCommand','get','editor','TrackChangesEditing'];(function(_0x28df4e,_0x126a18){var _0x3a2283=function(_0x140d91){while(--_0x140d91){_0x28df4e['push'](_0x28df4e['shift']());}};_0x3a2283(++_0x126a18);}(_0x126a,0x10f));var _0x3a22=function(_0x28df4e,_0x126a18){_0x28df4e=_0x28df4e-0x0;var _0x3a2283=_0x126a[_0x28df4e];return _0x3a2283;};import{Plugin as _0x598d48}from'ckeditor5/src/core';import{Input as _0x4d68bf}from'ckeditor5/src/typing';export default class it extends _0x598d48{static get['requires'](){return[_0x4d68bf];}[_0x3a22('0x5')](){this[_0x3a22('0x3')][_0x3a22('0x0')][_0x3a22('0x2')](_0x3a22('0x4'))[_0x3a22('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x337c=['plugins','afterInit','commandName','change','_descriptionFactory','unlink','getAttribute','linkHref','hasAttribute','get','link','getFirstPosition','selection','format','isCollapsed','TrackChangesEditing','markInlineFormat','from','has','model','locale','editor','enableCommand','getFirstRange','LinkEditing','getRanges'];(function(_0x15ea27,_0x337ca6){const _0x351737=function(_0x31a510){while(--_0x31a510){_0x15ea27['push'](_0x15ea27['shift']());}};_0x351737(++_0x337ca6);}(_0x337c,0xc0));const _0x3517=function(_0x15ea27,_0x337ca6){_0x15ea27=_0x15ea27-0x0;let _0x351737=_0x337c[_0x15ea27];return _0x351737;};import{Plugin as _0x21d0ee}from'ckeditor5/src/core';import{findAttributeRange as _0x266cb7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2daa47}from'./utils';import{getTranslation as _0x1d9288}from'../utils/common-translations';export default class et extends _0x21d0ee{[_0x3517('0x11')](){const _0x46edc9=this[_0x3517('0xb')];if(!_0x46edc9['plugins'][_0x3517('0x8')](_0x3517('0xe')))return;const _0x580354=_0x46edc9[_0x3517('0x10')][_0x3517('0x19')](_0x3517('0x5'));_0x580354[_0x3517('0xc')](_0x3517('0x0'),(_0x5d5865,_0x559399)=>{const _0x25d39e=_0x46edc9[_0x3517('0x9')]['document'][_0x3517('0x2')];let _0x2ffe32=[];if(_0x25d39e['isCollapsed']){if(!_0x25d39e[_0x3517('0x18')](_0x3517('0x17')))return void _0x5d5865(_0x559399);{const _0x2e74c9=_0x266cb7(_0x25d39e[_0x3517('0x1')](),_0x3517('0x17'),_0x25d39e[_0x3517('0x16')](_0x3517('0x17')),_0x46edc9[_0x3517('0x9')]);_0x2ffe32=[_0x2e74c9];}}else _0x2ffe32=Array[_0x3517('0x7')](_0x25d39e[_0x3517('0xf')]());_0x46edc9[_0x3517('0x9')][_0x3517('0x13')](()=>{for(const _0xea252b of _0x2ffe32)_0x580354['markInlineFormat'](_0xea252b,{'commandName':_0x3517('0x0'),'commandParams':[_0x559399]});});}),_0x580354[_0x3517('0xc')](_0x3517('0x15'),()=>{const _0x5e2988=this[_0x3517('0xb')]['model'],_0x50cc04=_0x5e2988['document'][_0x3517('0x2')];_0x5e2988[_0x3517('0x13')](()=>{let _0x131018=[];if(_0x50cc04[_0x3517('0x4')])_0x131018=[_0x266cb7(_0x50cc04[_0x3517('0x1')](),'linkHref',_0x50cc04['getAttribute'](_0x3517('0x17')),_0x46edc9[_0x3517('0x9')])];else _0x131018=_0x2daa47('linkHref',_0x50cc04[_0x3517('0xd')](),_0x46edc9[_0x3517('0x9')]);for(const _0x4d4caa of _0x131018)_0x580354[_0x3517('0x6')](_0x4d4caa,{'commandName':_0x3517('0x15'),'commandParams':[]});});}),_0x580354[_0x3517('0x14')]['registerDescriptionCallback'](_0x447e11=>{const {data:_0x4df6c5}=_0x447e11,_0x3d133c=_0x46edc9[_0x3517('0xa')];if(_0x4df6c5){if('link'==_0x4df6c5[_0x3517('0x12')]){const _0x2ce013=_0x4df6c5['commandParams'][0x0];return{'type':'format','content':_0x1d9288(_0x3d133c,'*Set\x20link:*\x20%0','\x22'+_0x2ce013+'\x22')};}return _0x3517('0x15')==_0x4df6c5[_0x3517('0x12')]?{'type':_0x3517('0x3'),'content':_0x1d9288(_0x3d133c,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x4589=['getRanges','get','markInlineFormat','getFirstRange','change','plugins','linkHref','commandParams','unlink','afterInit','has','model','commandName','registerDescriptionCallback','*Set\x20link:*\x20%0','document','locale','editor','TrackChangesEditing','LinkEditing','getFirstPosition','hasAttribute','_descriptionFactory','format','isCollapsed','getAttribute','enableCommand'];(function(_0x10c3b7,_0x4589ce){const _0x3891ad=function(_0xbc54cc){while(--_0xbc54cc){_0x10c3b7['push'](_0x10c3b7['shift']());}};_0x3891ad(++_0x4589ce);}(_0x4589,0xaa));const _0x3891=function(_0x10c3b7,_0x4589ce){_0x10c3b7=_0x10c3b7-0x0;let _0x3891ad=_0x4589[_0x10c3b7];return _0x3891ad;};import{Plugin as _0x53c244}from'ckeditor5/src/core';import{findAttributeRange as _0x5bdfa7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x15a1eb}from'./utils';import{getTranslation as _0x3250fd}from'../utils/common-translations';export default class et extends _0x53c244{[_0x3891('0x1')](){const _0x31a454=this[_0x3891('0x9')];if(!_0x31a454[_0x3891('0x18')][_0x3891('0x2')](_0x3891('0xb')))return;const _0xdddae8=_0x31a454[_0x3891('0x18')][_0x3891('0x14')](_0x3891('0xa'));_0xdddae8['enableCommand']('link',(_0x2ba3fe,_0x45eeba)=>{const _0x2eaa9f=_0x31a454['model'][_0x3891('0x7')]['selection'];let _0x571c7b=[];if(_0x2eaa9f[_0x3891('0x10')]){if(!_0x2eaa9f[_0x3891('0xd')]('linkHref'))return void _0x2ba3fe(_0x45eeba);{const _0x18d3f8=_0x5bdfa7(_0x2eaa9f[_0x3891('0xc')](),'linkHref',_0x2eaa9f['getAttribute']('linkHref'),_0x31a454['model']);_0x571c7b=[_0x18d3f8];}}else _0x571c7b=Array['from'](_0x2eaa9f[_0x3891('0x13')]());_0x31a454[_0x3891('0x3')]['change'](()=>{for(const _0x1fed37 of _0x571c7b)_0xdddae8['markInlineFormat'](_0x1fed37,{'commandName':'link','commandParams':[_0x45eeba]});});}),_0xdddae8[_0x3891('0x12')](_0x3891('0x0'),()=>{const _0x3d472f=this[_0x3891('0x9')][_0x3891('0x3')],_0xc9f835=_0x3d472f['document']['selection'];_0x3d472f[_0x3891('0x17')](()=>{let _0x1b2f5b=[];if(_0xc9f835[_0x3891('0x10')])_0x1b2f5b=[_0x5bdfa7(_0xc9f835['getFirstPosition'](),_0x3891('0x19'),_0xc9f835[_0x3891('0x11')]('linkHref'),_0x31a454[_0x3891('0x3')])];else _0x1b2f5b=_0x15a1eb(_0x3891('0x19'),_0xc9f835[_0x3891('0x16')](),_0x31a454[_0x3891('0x3')]);for(const _0x2363c0 of _0x1b2f5b)_0xdddae8[_0x3891('0x15')](_0x2363c0,{'commandName':'unlink','commandParams':[]});});}),_0xdddae8[_0x3891('0xe')][_0x3891('0x5')](_0x258b41=>{const {data:_0x6cb53d}=_0x258b41,_0x2f174d=_0x31a454[_0x3891('0x8')];if(_0x6cb53d){if('link'==_0x6cb53d['commandName']){const _0x588459=_0x6cb53d[_0x3891('0x1a')][0x0];return{'type':'format','content':_0x3250fd(_0x2f174d,_0x3891('0x6'),'\x22'+_0x588459+'\x22')};}return _0x3891('0x0')==_0x6cb53d[_0x3891('0x4')]?{'type':_0x3891('0xf'),'content':_0x3250fd(_0x2f174d,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b0d=['format','add','listIndent','indentList','value','getAttribute','*Indent:*\x20%0','replace','findIndex','*Uncheck\x20item*','*Change\x20to:*\x20%0','createRange','filter','change','before','registerElementLabel','forceValue','createPositionAt','TodoListEditing','paragraph','parent','execute','List','end','bulleted','numberedList','numbered','name','commandName','nextSibling','ELEMENT_TODO_LIST','checkChild','todoList','selection','todoListChecked','bulletedList','get','length','from','plugins','blockName','ELEMENT_LIST_ITEM','*Outdent:*\x20%0','afterInit','document','getSelectedBlocks','editor','_descriptionFactory','TrackChangesEditing','commandParams','slice','model','locale','checkTodoList','enableCommand','outdentList','previousSibling','listItem','listType','markBlockFormat','schema'];(function(_0x54359c,_0x3b0d08){const _0xad5564=function(_0x4d225e){while(--_0x4d225e){_0x54359c['push'](_0x54359c['shift']());}};_0xad5564(++_0x3b0d08);}(_0x3b0d,0x1c6));const _0xad55=function(_0x54359c,_0x3b0d08){_0x54359c=_0x54359c-0x0;let _0xad5564=_0x3b0d[_0x54359c];return _0xad5564;};import{Plugin as _0x28b56c}from'ckeditor5/src/core';import{getTranslation as _0x20be9b}from'../utils/common-translations';export default class nt extends _0x28b56c{[_0xad55('0x10')](){const _0x132793=this[_0xad55('0x13')],_0x10a649=_0x132793[_0xad55('0x19')];if(!_0x132793[_0xad55('0xc')]['has']('ListEditing'))return;const _0x11a76c=_0x132793[_0xad55('0xc')][_0xad55('0x9')](_0xad55('0x15')),_0x2fd1f0=_0x132793[_0xad55('0xc')]['has'](_0xad55('0x34'));function _0x229a7a(_0x5f313e){return()=>{const _0x4642c0=_0x132793['model']['document'][_0xad55('0x6')],_0x2c329d=_0x132793['commands'][_0xad55('0x9')](_0x5f313e);if(_0x2c329d[_0xad55('0x26')])return void _0x132793[_0xad55('0x37')](_0xad55('0x35'),{});const _0x23cac9=_0x5f313e[_0xad55('0x17')](0x0,-0x4),_0x13223f=function(_0x26d129,_0x2e6dc0,_0x3fef9b){let _0x57ef03=Array[_0xad55('0xb')](_0x26d129)[_0xad55('0x2e')](_0xa5287c=>function(_0x82d61b,_0x18dce3){return _0x18dce3[_0xad55('0x4')](_0x82d61b[_0xad55('0x36')],_0xad55('0x1e'))&&!_0x18dce3['isObject'](_0x82d61b);}(_0xa5287c,_0x3fef9b));_0x57ef03=_0x57ef03['filter'](_0x25ec51=>!_0x25ec51['is']('element','listItem')||_0x25ec51[_0xad55('0x27')](_0xad55('0x1f'))!=_0x2e6dc0);const _0x22185a=new Set();for(const _0x331162 of _0x57ef03)_0x331162['is']('element','listItem')?_0x22185a[_0xad55('0x23')](ne(_0x331162)):_0x22185a[_0xad55('0x23')](_0x331162);return Array[_0xad55('0xb')](_0x22185a);}(_0x4642c0[_0xad55('0x12')](),_0x23cac9,_0x132793['model'][_0xad55('0x21')]);_0x132793[_0xad55('0x18')]['change'](()=>{for(const _0x2a423a of _0x13223f)_0x11a76c['markBlockFormat'](_0x2a423a,{'commandName':_0x5f313e,'commandParams':[{'forceValue':!_0x2c329d[_0xad55('0x26')]}],'formatGroupId':_0xad55('0xd')},oe(_0x2a423a));});};}function _0x4fe0e2(_0x164c43){return()=>{const _0x14e1a2=function(_0x21e344){let _0x48e0c1=Array['from'](_0x21e344);const _0x2b704f=_0x48e0c1[_0xad55('0x2a')](_0x2f0386=>_0xad55('0x1e')!=_0x2f0386['name']);return _0x2b704f>-0x1&&(_0x48e0c1=_0x48e0c1[_0xad55('0x17')](0x0,_0x2b704f)),_0x48e0c1;}(_0x132793[_0xad55('0x18')][_0xad55('0x11')][_0xad55('0x6')][_0xad55('0x12')]()),_0x156c3d=_0x132793[_0xad55('0x18')][_0xad55('0x2d')](_0x132793['model'][_0xad55('0x33')](_0x14e1a2[0x0],_0xad55('0x30')),_0x132793[_0xad55('0x18')][_0xad55('0x33')](_0x14e1a2[_0x14e1a2[_0xad55('0xa')]-0x1],_0xad55('0x39')));_0x132793[_0xad55('0x18')]['change'](()=>{_0x11a76c[_0xad55('0x20')](_0x156c3d,{'commandName':_0x164c43,'commandParams':[],'formatGroupId':'listIndent'},function(_0x40daba){const _0xa5eb9a=new Set();for(const _0x3988c9 of _0x40daba){let _0x1ce4a4=_0x3988c9[_0xad55('0x2')];for(;_0x1ce4a4&&_0x1ce4a4['getAttribute'](_0xad55('0x24'))>_0x3988c9[_0xad55('0x27')](_0xad55('0x24'));)_0xa5eb9a[_0xad55('0x23')](_0x1ce4a4),_0x1ce4a4=_0x1ce4a4[_0xad55('0x2')];}return Array[_0xad55('0xb')](_0xa5eb9a);}(_0x14e1a2));});};}_0x11a76c[_0xad55('0x1b')](_0xad55('0x3b'),_0x229a7a('numberedList')),_0x11a76c[_0xad55('0x1b')]('bulletedList',_0x229a7a(_0xad55('0x8'))),_0x2fd1f0&&_0x11a76c[_0xad55('0x1b')](_0xad55('0x5'),_0x229a7a(_0xad55('0x5'))),_0x11a76c['enableCommand'](_0xad55('0x25'),_0x4fe0e2('indentList')),_0x11a76c[_0xad55('0x1b')](_0xad55('0x1c'),_0x4fe0e2(_0xad55('0x1c'))),_0x2fd1f0&&_0x11a76c[_0xad55('0x1b')]('checkTodoList',()=>{const _0x2fcd6c=_0x132793['commands'][_0xad55('0x9')](_0xad55('0x1a')),_0x4c8de6=Array['from'](_0x2fcd6c['_selectedElements']);_0x4c8de6[_0xad55('0x2e')](_0x77a112=>_0x77a112[_0xad55('0x27')](_0xad55('0x7'))!=_0x2fcd6c['value']),_0x132793[_0xad55('0x18')][_0xad55('0x2f')](()=>{for(const _0x86c9d2 of _0x4c8de6)_0x11a76c[_0xad55('0x20')](_0x86c9d2,{'commandName':_0xad55('0x1a'),'commandParams':[{'forceValue':!_0x2fcd6c[_0xad55('0x26')]}]});});}),_0x11a76c[_0xad55('0x14')][_0xad55('0x31')](_0xad55('0x1e'),_0x195e74=>_0x20be9b(_0x10a649,'ELEMENT_LIST_ITEM',_0x195e74)),_0x11a76c[_0xad55('0x14')]['registerDescriptionCallback'](_0x1dbf8d=>{const {data:_0x14c621}=_0x1dbf8d;if(_0x14c621){if('numberedList'==_0x14c621[_0xad55('0x1')]||_0xad55('0x8')==_0x14c621['commandName']||_0xad55('0x5')==_0x14c621[_0xad55('0x1')])switch(_0x14c621[_0xad55('0x1')][_0xad55('0x29')](_0xad55('0x38'),'')){case _0xad55('0x3a'):return _0x11a515(_0x20be9b(_0x10a649,'ELEMENT_BULLETED_LIST'));case _0xad55('0x3c'):return _0x11a515(_0x20be9b(_0x10a649,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x11a515(_0x20be9b(_0x10a649,_0xad55('0x3')));}if(_0xad55('0x25')==_0x14c621[_0xad55('0x1')])return{'type':'format','content':_0x20be9b(_0x10a649,_0xad55('0x28'),_0x20be9b(_0x10a649,_0xad55('0xe')))};if(_0xad55('0x1c')==_0x14c621[_0xad55('0x1')])return{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0xf'),_0x20be9b(_0x10a649,_0xad55('0xe')))};if('checkTodoList'==_0x14c621['commandName'])return _0x14c621[_0xad55('0x16')][0x0][_0xad55('0x32')]?{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,'*Check\x20item*')}:{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0x2b'))};}function _0x11a515(_0x265184){return{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0x2c'),_0x265184)};}});}}function ne(_0x4da6db){const _0x2c4c7c=_0x4da6db[_0xad55('0x27')](_0xad55('0x24'));if(0x0==_0x2c4c7c)return _0x4da6db;let _0x58d121=_0x4da6db;for(;_0x4da6db['previousSibling']&&_0x4da6db[_0xad55('0x1d')]['is']('element',_0xad55('0x1e'));){const _0x546a33=_0x4da6db[_0xad55('0x1d')][_0xad55('0x27')](_0xad55('0x24'));if(_0x546a33==_0x2c4c7c)_0x58d121=_0x4da6db['previousSibling'];else{if(_0x546a33<_0x2c4c7c)break;}_0x4da6db=_0x4da6db[_0xad55('0x1d')];}return _0x58d121;}function oe(_0x45a16a){const _0x2f21b3=[];if(_0x45a16a['is']('element',_0xad55('0x1e'))&&_0x45a16a[_0xad55('0x27')]('listIndent')>0x0){let _0x25ae35=_0x45a16a[_0xad55('0x2')];for(;_0x25ae35&&_0xad55('0x1e')==_0x25ae35[_0xad55('0x0')]&&_0x25ae35[_0xad55('0x27')](_0xad55('0x24'))==_0x45a16a[_0xad55('0x27')](_0xad55('0x24'));)_0x2f21b3['push'](_0x25ae35),_0x25ae35=_0x25ae35[_0xad55('0x2')];}return _0x2f21b3;}
23
+ const _0x2706=['numberedList','listIndent','*Change\x20to:*\x20%0','listType','commandName','previousSibling','add','end','plugins','isObject','findIndex','listItem','createPositionAt','name','has','element','*Indent:*\x20%0','getAttribute','_selectedElements','todoListChecked','todoList','enableCommand','execute','format','forceValue','change','value','registerElementLabel','schema','editor','ListEditing','afterInit','selection','paragraph','markBlockFormat','from','outdentList','createRange','*Outdent:*\x20%0','locale','ELEMENT_BULLETED_LIST','bulleted','get','*Uncheck\x20item*','blockName','document','commandParams','ELEMENT_LIST_ITEM','checkChild','model','getSelectedBlocks','nextSibling','checkTodoList','numbered','push','ELEMENT_TODO_LIST','bulletedList','replace','TrackChangesEditing','slice','List','filter','registerDescriptionCallback','ELEMENT_NUMBERED_LIST','*Check\x20item*','length','indentList','commands','todo','TodoListEditing'];(function(_0x2c1764,_0x270685){const _0x4ae4a3=function(_0x26c788){while(--_0x26c788){_0x2c1764['push'](_0x2c1764['shift']());}};_0x4ae4a3(++_0x270685);}(_0x2706,0x11d));const _0x4ae4=function(_0x2c1764,_0x270685){_0x2c1764=_0x2c1764-0x0;let _0x4ae4a3=_0x2706[_0x2c1764];return _0x4ae4a3;};import{Plugin as _0x5bae38}from'ckeditor5/src/core';import{getTranslation as _0x44b3a9}from'../utils/common-translations';export default class nt extends _0x5bae38{[_0x4ae4('0x1a')](){const _0x59d1f7=this[_0x4ae4('0x18')],_0x5b398f=_0x59d1f7[_0x4ae4('0x22')];if(!_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x9')](_0x4ae4('0x19')))return;const _0x4aa430=_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x25')](_0x4ae4('0x35')),_0x5d5580=_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x9')](_0x4ae4('0x40'));function _0x4047a5(_0x2e83bf){return()=>{const _0x430dbd=_0x59d1f7[_0x4ae4('0x2c')]['document'][_0x4ae4('0x1b')],_0x2dc033=_0x59d1f7[_0x4ae4('0x3e')][_0x4ae4('0x25')](_0x2e83bf);if(_0x2dc033[_0x4ae4('0x15')])return void _0x59d1f7[_0x4ae4('0x11')](_0x4ae4('0x1c'),{});const _0x2561f0=_0x2e83bf[_0x4ae4('0x36')](0x0,-0x4),_0x2abdcf=function(_0x35b2bb,_0x31ec84,_0x5091f6){let _0xc451b8=Array['from'](_0x35b2bb)[_0x4ae4('0x38')](_0x2feafd=>function(_0x57df46,_0x5b5fa7){return _0x5b5fa7[_0x4ae4('0x2b')](_0x57df46['parent'],_0x4ae4('0x6'))&&!_0x5b5fa7[_0x4ae4('0x4')](_0x57df46);}(_0x2feafd,_0x5091f6));_0xc451b8=_0xc451b8[_0x4ae4('0x38')](_0x2727b3=>!_0x2727b3['is']('element',_0x4ae4('0x6'))||_0x2727b3['getAttribute'](_0x4ae4('0x44'))!=_0x31ec84);const _0x53b149=new Set();for(const _0x3267d0 of _0xc451b8)_0x3267d0['is'](_0x4ae4('0xa'),_0x4ae4('0x6'))?_0x53b149[_0x4ae4('0x1')](ne(_0x3267d0)):_0x53b149['add'](_0x3267d0);return Array[_0x4ae4('0x1e')](_0x53b149);}(_0x430dbd[_0x4ae4('0x2d')](),_0x2561f0,_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x17')]);_0x59d1f7['model'][_0x4ae4('0x14')](()=>{for(const _0x3deb6d of _0x2abdcf)_0x4aa430[_0x4ae4('0x1d')](_0x3deb6d,{'commandName':_0x2e83bf,'commandParams':[{'forceValue':!_0x2dc033['value']}],'formatGroupId':_0x4ae4('0x27')},oe(_0x3deb6d));});};}function _0x365d1e(_0x5112a6){return()=>{const _0x4c6172=function(_0x31be18){let _0x53272c=Array['from'](_0x31be18);const _0x47cfa7=_0x53272c[_0x4ae4('0x5')](_0x56c796=>_0x4ae4('0x6')!=_0x56c796[_0x4ae4('0x8')]);return _0x47cfa7>-0x1&&(_0x53272c=_0x53272c['slice'](0x0,_0x47cfa7)),_0x53272c;}(_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x28')]['selection'][_0x4ae4('0x2d')]()),_0x239b68=_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x20')](_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x7')](_0x4c6172[0x0],'before'),_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x7')](_0x4c6172[_0x4c6172[_0x4ae4('0x3c')]-0x1],_0x4ae4('0x2')));_0x59d1f7['model']['change'](()=>{_0x4aa430[_0x4ae4('0x1d')](_0x239b68,{'commandName':_0x5112a6,'commandParams':[],'formatGroupId':_0x4ae4('0x42')},function(_0x5a3541){const _0x41221f=new Set();for(const _0x562595 of _0x5a3541){let _0x1c6632=_0x562595[_0x4ae4('0x2e')];for(;_0x1c6632&&_0x1c6632[_0x4ae4('0xc')](_0x4ae4('0x42'))>_0x562595['getAttribute']('listIndent');)_0x41221f['add'](_0x1c6632),_0x1c6632=_0x1c6632['nextSibling'];}return Array[_0x4ae4('0x1e')](_0x41221f);}(_0x4c6172));});};}_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x41'),_0x4047a5(_0x4ae4('0x41'))),_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x33'),_0x4047a5(_0x4ae4('0x33'))),_0x5d5580&&_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0xf'),_0x4047a5(_0x4ae4('0xf'))),_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x3d'),_0x365d1e(_0x4ae4('0x3d'))),_0x4aa430[_0x4ae4('0x10')]('outdentList',_0x365d1e(_0x4ae4('0x1f'))),_0x5d5580&&_0x4aa430['enableCommand'](_0x4ae4('0x2f'),()=>{const _0x26e684=_0x59d1f7['commands']['get'](_0x4ae4('0x2f')),_0x36877f=Array[_0x4ae4('0x1e')](_0x26e684[_0x4ae4('0xd')]);_0x36877f[_0x4ae4('0x38')](_0x37ef7a=>_0x37ef7a[_0x4ae4('0xc')](_0x4ae4('0xe'))!=_0x26e684[_0x4ae4('0x15')]),_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x14')](()=>{for(const _0x1964ed of _0x36877f)_0x4aa430[_0x4ae4('0x1d')](_0x1964ed,{'commandName':_0x4ae4('0x2f'),'commandParams':[{'forceValue':!_0x26e684[_0x4ae4('0x15')]}]});});}),_0x4aa430['_descriptionFactory'][_0x4ae4('0x16')]('listItem',_0x559df7=>_0x44b3a9(_0x5b398f,_0x4ae4('0x2a'),_0x559df7)),_0x4aa430['_descriptionFactory'][_0x4ae4('0x39')](_0x1f8808=>{const {data:_0x4560ba}=_0x1f8808;if(_0x4560ba){if(_0x4ae4('0x41')==_0x4560ba['commandName']||_0x4ae4('0x33')==_0x4560ba['commandName']||'todoList'==_0x4560ba['commandName'])switch(_0x4560ba[_0x4ae4('0x45')][_0x4ae4('0x34')](_0x4ae4('0x37'),'')){case _0x4ae4('0x24'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x23')));case _0x4ae4('0x30'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x3a')));case _0x4ae4('0x3f'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x32')));}if(_0x4ae4('0x3d')==_0x4560ba[_0x4ae4('0x45')])return{'type':'format','content':_0x44b3a9(_0x5b398f,_0x4ae4('0xb'),_0x44b3a9(_0x5b398f,_0x4ae4('0x2a')))};if(_0x4ae4('0x1f')==_0x4560ba[_0x4ae4('0x45')])return{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x21'),_0x44b3a9(_0x5b398f,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x4560ba[_0x4ae4('0x45')])return _0x4560ba[_0x4ae4('0x29')][0x0][_0x4ae4('0x13')]?{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x3b'))}:{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x26'))};}function _0x150737(_0xf45f47){return{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x43'),_0xf45f47)};}});}}function ne(_0x143c42){const _0x482659=_0x143c42[_0x4ae4('0xc')](_0x4ae4('0x42'));if(0x0==_0x482659)return _0x143c42;let _0x511796=_0x143c42;for(;_0x143c42[_0x4ae4('0x0')]&&_0x143c42[_0x4ae4('0x0')]['is'](_0x4ae4('0xa'),_0x4ae4('0x6'));){const _0x4d327c=_0x143c42[_0x4ae4('0x0')][_0x4ae4('0xc')](_0x4ae4('0x42'));if(_0x4d327c==_0x482659)_0x511796=_0x143c42['previousSibling'];else{if(_0x4d327c<_0x482659)break;}_0x143c42=_0x143c42[_0x4ae4('0x0')];}return _0x511796;}function oe(_0x8d454f){const _0x5adecd=[];if(_0x8d454f['is'](_0x4ae4('0xa'),_0x4ae4('0x6'))&&_0x8d454f[_0x4ae4('0xc')]('listIndent')>0x0){let _0x240cc8=_0x8d454f[_0x4ae4('0x2e')];for(;_0x240cc8&&_0x4ae4('0x6')==_0x240cc8[_0x4ae4('0x8')]&&_0x240cc8[_0x4ae4('0xc')](_0x4ae4('0x42'))==_0x8d454f[_0x4ae4('0xc')]('listIndent');)_0x5adecd[_0x4ae4('0x31')](_0x240cc8),_0x240cc8=_0x240cc8[_0x4ae4('0x2e')];}return _0x5adecd;}