@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230810.0 → 0.0.0-nightly-20230812.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 _0x2e0f=['fontBackgroundColor.colors','*Reset\x20font\x20size*','getRanges','FontColorEditing','value','commandName','fontColor','registerDescriptionCallback','has','format','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20color:*\x20%0','*Set\x20font\x20family:*\x20%0','plugins','markInlineFormat','change','fontColor.colors','config','isCollapsed','from','label','document','trim','_enableCommand','fontFamily','fontSize.options','editor','find','fontSize','commandParams','toLowerCase','TrackChangesEditing','get','model','FontSizeEditing','fontBackgroundColor','locale','*Reset\x20font\x20color*','*Reset\x20font\x20family*'];(function(_0x2e8f21,_0x2e0f97){const _0x56a60e=function(_0x1d5c3d){while(--_0x1d5c3d){_0x2e8f21['push'](_0x2e8f21['shift']());}};_0x56a60e(++_0x2e0f97);}(_0x2e0f,0x127));const _0x56a6=function(_0x2e8f21,_0x2e0f97){_0x2e8f21=_0x2e8f21-0x0;let _0x56a60e=_0x2e0f[_0x2e8f21];return _0x56a60e;};import{Plugin as _0x3ee23a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x37188e}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x526cb3}from'./utils';import{getTranslation as _0x1da217}from'../utils/common-translations';const Zt=[{'pluginName':_0x56a6('0xc'),'commandName':_0x56a6('0x6')},{'pluginName':'FontFamilyEditing','commandName':_0x56a6('0x2')},{'pluginName':_0x56a6('0x14'),'commandName':_0x56a6('0x17')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x56a6('0xd')}];export default class H extends _0x3ee23a{['afterInit'](){const _0x259b79=this[_0x56a6('0x4')][_0x56a6('0xe')];for(const {pluginName:_0x15ed06,commandName:_0x4b5e8f}of Zt)this[_0x56a6('0x4')][_0x56a6('0x1e')][_0x56a6('0x19')](_0x15ed06)&&this[_0x56a6('0x1')](_0x4b5e8f);this['editor'][_0x56a6('0x1e')]['get'](_0x56a6('0x9'))['_descriptionFactory'][_0x56a6('0x18')](_0x3aff8e=>{const _0x225c7c=_0x259b79['t'],{data:_0x1d3aa8}=_0x3aff8e;if(null!=_0x1d3aa8){if('fontSize'==_0x1d3aa8[_0x56a6('0x16')]){const _0x5d153a=_0x1d3aa8['commandParams'][0x0][_0x56a6('0x15')];if(_0x5d153a){const _0x54ec41=_0x225c7c(this[_0x56a6('0x4')][_0x56a6('0x1e')]['get']('FontSize')['normalizeSizeOptions'](this[_0x56a6('0x4')][_0x56a6('0x22')]['get'](_0x56a6('0x3')))[_0x56a6('0x5')](_0x220e11=>_0x220e11['model']==_0x5d153a)['title'])[_0x56a6('0x8')]();return{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,'*Set\x20font\x20size:*\x20%0',_0x54ec41)};}return{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,_0x56a6('0x12'))};}if(_0x56a6('0x2')==_0x1d3aa8[_0x56a6('0x16')]){const _0x1c298b=_0x1d3aa8[_0x56a6('0x7')][0x0][_0x56a6('0x15')];return _0x1c298b?{'type':'format','content':_0x1da217(_0x259b79,_0x56a6('0x1d'),_0x1c298b)}:{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,_0x56a6('0x10'))};}if(_0x56a6('0x17')==_0x1d3aa8[_0x56a6('0x16')]){const _0x2678c2=_0x1d3aa8[_0x56a6('0x7')][0x0][_0x56a6('0x15')];if(_0x2678c2){const _0x1980ac=_0x37188e(this[_0x56a6('0x4')]['config'][_0x56a6('0xa')](_0x56a6('0x21')))[_0x56a6('0x5')](_0x51c9f3=>_0x51c9f3[_0x56a6('0xb')]==_0x2678c2);let _0xf383db=_0x2678c2,_0x276791='';return _0x1980ac&&(_0xf383db=_0x1980ac[_0x56a6('0x25')],_0x276791=_0x225c7c(_0xf383db)[_0x56a6('0x8')]()),{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,_0x56a6('0x1c'),_0x276791)[_0x56a6('0x0')](),'color':{'value':_0x2678c2,'title':_0x276791||_0xf383db}};}return{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,_0x56a6('0xf'))};}if('fontBackgroundColor'==_0x1d3aa8['commandName']){const _0x4c100e=_0x1d3aa8[_0x56a6('0x7')][0x0][_0x56a6('0x15')];if(_0x4c100e){const _0x1b1581=_0x37188e(this['editor']['config'][_0x56a6('0xa')](_0x56a6('0x11')))['find'](_0x9485e1=>_0x9485e1[_0x56a6('0xb')]==_0x4c100e);let _0xb1d7bb=_0x4c100e,_0x314d00='';return _0x1b1581&&(_0xb1d7bb=_0x1b1581[_0x56a6('0x25')],_0x314d00=_0x225c7c(_0xb1d7bb)['toLowerCase']()),{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,_0x56a6('0x1b'),_0x314d00)[_0x56a6('0x0')](),'color':{'value':_0x4c100e,'title':_0x314d00||_0xb1d7bb}};}return{'type':_0x56a6('0x1a'),'content':_0x1da217(_0x259b79,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0x325195){const _0x233b27=this[_0x56a6('0x4')];_0x233b27[_0x56a6('0x1e')][_0x56a6('0xa')](_0x56a6('0x9'))['enableCommand'](_0x325195,(_0x42e8cd,_0x28b574={})=>{const _0x25c6cb=_0x233b27['model'][_0x56a6('0x26')]['selection'],_0x40f13a=_0x28b574[_0x56a6('0x15')];_0x25c6cb[_0x56a6('0x23')]?_0x42e8cd(_0x28b574):_0x233b27['model'][_0x56a6('0x20')](()=>{const _0x3abd05=Array[_0x56a6('0x24')](_0x25c6cb[_0x56a6('0x13')]());for(const _0x5a96a8 of _0x3abd05){const _0x48452c=_0x40f13a?[_0x5a96a8]:_0x526cb3(_0x325195,_0x5a96a8,_0x233b27[_0x56a6('0xb')]);for(const _0x21f312 of _0x48452c)_0x233b27[_0x56a6('0x1e')][_0x56a6('0xa')](_0x56a6('0x9'))[_0x56a6('0x1f')](_0x21f312,{'commandName':_0x325195,'commandParams':[{'value':_0x40f13a}]});}});});}}
23
+ const _0x171d=['document','*Reset\x20font\x20color*','*Set\x20font\x20background\x20color:*\x20%0','fontColor','locale','config','get','_enableCommand','fontFamily','FontSize','find','FontSizeEditing','*Set\x20font\x20family:*\x20%0','value','*Reset\x20font\x20background\x20color*','FontFamilyEditing','*Reset\x20font\x20family*','TrackChangesEditing','toLowerCase','fontSize.options','*Set\x20font\x20color:*\x20%0','markInlineFormat','from','trim','fontSize','commandName','format','fontBackgroundColor.colors','normalizeSizeOptions','commandParams','_descriptionFactory','title','afterInit','model','registerDescriptionCallback','getRanges','enableCommand','plugins','editor','FontColorEditing','fontBackgroundColor','fontColor.colors','label'];(function(_0x4bd73b,_0x171d81){const _0x269995=function(_0x12c43c){while(--_0x12c43c){_0x4bd73b['push'](_0x4bd73b['shift']());}};_0x269995(++_0x171d81);}(_0x171d,0x1a2));const _0x2699=function(_0x4bd73b,_0x171d81){_0x4bd73b=_0x4bd73b-0x0;let _0x269995=_0x171d[_0x4bd73b];return _0x269995;};import{Plugin as _0x56803a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2b5b49}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x492b5a}from'./utils';import{getTranslation as _0x5a8209}from'../utils/common-translations';const Zt=[{'pluginName':_0x2699('0x17'),'commandName':_0x2699('0x24')},{'pluginName':_0x2699('0x1b'),'commandName':_0x2699('0x14')},{'pluginName':_0x2699('0x8'),'commandName':_0x2699('0xf')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x56803a{[_0x2699('0x1')](){const _0x1935f9=this['editor'][_0x2699('0x10')];for(const {pluginName:_0x85b293,commandName:_0x1ed0f9}of Zt)this[_0x2699('0x7')][_0x2699('0x6')]['has'](_0x85b293)&&this[_0x2699('0x13')](_0x1ed0f9);this[_0x2699('0x7')]['plugins'][_0x2699('0x12')](_0x2699('0x1d'))[_0x2699('0x2a')][_0x2699('0x3')](_0x3ee0d4=>{const _0x2e41b5=_0x1935f9['t'],{data:_0x462591}=_0x3ee0d4;if(null!=_0x462591){if('fontSize'==_0x462591[_0x2699('0x25')]){const _0x4b90ac=_0x462591[_0x2699('0x29')][0x0][_0x2699('0x19')];if(_0x4b90ac){const _0x8c4267=_0x2e41b5(this[_0x2699('0x7')]['plugins'][_0x2699('0x12')](_0x2699('0x15'))[_0x2699('0x28')](this[_0x2699('0x7')][_0x2699('0x11')]['get'](_0x2699('0x1f')))[_0x2699('0x16')](_0x4cccb2=>_0x4cccb2[_0x2699('0x2')]==_0x4b90ac)[_0x2699('0x0')])['toLowerCase']();return{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,'*Set\x20font\x20size:*\x20%0',_0x8c4267)};}return{'type':'format','content':_0x5a8209(_0x1935f9,'*Reset\x20font\x20size*')};}if(_0x2699('0x14')==_0x462591['commandName']){const _0x21b76d=_0x462591[_0x2699('0x29')][0x0]['value'];return _0x21b76d?{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,_0x2699('0x18'),_0x21b76d)}:{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,_0x2699('0x1c'))};}if('fontColor'==_0x462591['commandName']){const _0x5e89f6=_0x462591[_0x2699('0x29')][0x0][_0x2699('0x19')];if(_0x5e89f6){const _0x28ead3=_0x2b5b49(this[_0x2699('0x7')]['config']['get'](_0x2699('0xa')))[_0x2699('0x16')](_0x9587b3=>_0x9587b3[_0x2699('0x2')]==_0x5e89f6);let _0x523041=_0x5e89f6,_0x4b0897='';return _0x28ead3&&(_0x523041=_0x28ead3[_0x2699('0xb')],_0x4b0897=_0x2e41b5(_0x523041)[_0x2699('0x1e')]()),{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,_0x2699('0x20'),_0x4b0897)[_0x2699('0x23')](),'color':{'value':_0x5e89f6,'title':_0x4b0897||_0x523041}};}return{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,_0x2699('0xd'))};}if(_0x2699('0x9')==_0x462591[_0x2699('0x25')]){const _0x3c9230=_0x462591[_0x2699('0x29')][0x0][_0x2699('0x19')];if(_0x3c9230){const _0x778534=_0x2b5b49(this[_0x2699('0x7')][_0x2699('0x11')]['get'](_0x2699('0x27')))[_0x2699('0x16')](_0x5a3823=>_0x5a3823[_0x2699('0x2')]==_0x3c9230);let _0x5d7027=_0x3c9230,_0x44ce77='';return _0x778534&&(_0x5d7027=_0x778534[_0x2699('0xb')],_0x44ce77=_0x2e41b5(_0x5d7027)[_0x2699('0x1e')]()),{'type':_0x2699('0x26'),'content':_0x5a8209(_0x1935f9,_0x2699('0xe'),_0x44ce77)[_0x2699('0x23')](),'color':{'value':_0x3c9230,'title':_0x44ce77||_0x5d7027}};}return{'type':'format','content':_0x5a8209(_0x1935f9,_0x2699('0x1a'))};}}});}['_enableCommand'](_0x550065){const _0x4bf8f8=this['editor'];_0x4bf8f8[_0x2699('0x6')][_0x2699('0x12')](_0x2699('0x1d'))[_0x2699('0x5')](_0x550065,(_0x2f79b1,_0x2a8be5={})=>{const _0x2d588e=_0x4bf8f8[_0x2699('0x2')][_0x2699('0xc')]['selection'],_0x128615=_0x2a8be5['value'];_0x2d588e['isCollapsed']?_0x2f79b1(_0x2a8be5):_0x4bf8f8['model']['change'](()=>{const _0x233c58=Array[_0x2699('0x22')](_0x2d588e[_0x2699('0x4')]());for(const _0xd63ee6 of _0x233c58){const _0x4135fc=_0x128615?[_0xd63ee6]:_0x492b5a(_0x550065,_0xd63ee6,_0x4bf8f8[_0x2699('0x2')]);for(const _0x40df10 of _0x4135fc)_0x4bf8f8[_0x2699('0x6')]['get'](_0x2699('0x1d'))[_0x2699('0x21')](_0x40df10,{'commandName':_0x550065,'commandParams':[{'value':_0x128615}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fae=['fontSize.options','title','split','getSelectedBlocks','fontBackgroundColor','fontColor','pasteFormat','normalizeSizeOptions','toLowerCase','*Remove\x20all\x20formatting*','model','schema','keys','TrackChangesEditing','plugins','editor','FontSize','config','toUpperCase','getAttributeProperties','modifySelection','format','commandName','createRange','commandParams','label','slice','charAt','isCollapsed','*Set\x20format\x20to:*\x20%0','join','copyFormat','document','word','get','isFormatting','getFirstPosition','enableCommand','backward','find','locale','createSelection','getRanges','isBlock','_descriptionFactory','fontColor.colors','getAttributes','forward','getItems','fontSize','selection','commands'];(function(_0x4ef8f6,_0x2fae34){const _0x5ba589=function(_0x3b6231){while(--_0x3b6231){_0x4ef8f6['push'](_0x4ef8f6['shift']());}};_0x5ba589(++_0x2fae34);}(_0x2fae,0x1b0));const _0x5ba5=function(_0x4ef8f6,_0x2fae34){_0x4ef8f6=_0x4ef8f6-0x0;let _0x5ba589=_0x2fae[_0x4ef8f6];return _0x5ba589;};import{Plugin as _0x30955f}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1f4bb9}from'ckeditor5/src/ui';import{first as _0x54ab39}from'ckeditor5/src/utils';import{getTranslation as _0x1fd7a4}from'../utils/common-translations';export default class W extends _0x30955f{['afterInit'](){const _0x308bc2=this[_0x5ba5('0x33')],_0x3fe4aa=_0x308bc2[_0x5ba5('0x2e')],_0x3cb1ac=_0x3fe4aa[_0x5ba5('0x10')][_0x5ba5('0x22')],_0x42f0b7=_0x308bc2[_0x5ba5('0x32')][_0x5ba5('0x12')](_0x5ba5('0x31')),_0x2c2d1c=_0x308bc2[_0x5ba5('0x18')],_0x36fa71=_0x308bc2[_0x5ba5('0x23')][_0x5ba5('0x12')]('copyFormat'),_0x572fd1=_0x308bc2[_0x5ba5('0x23')][_0x5ba5('0x12')](_0x5ba5('0x2a'));_0x36fa71&&_0x572fd1&&(_0x42f0b7[_0x5ba5('0x15')](_0x5ba5('0x2a'),(_0x50d9ba,_0x3e48cb={})=>{const _0x5d42f9=_0x3e48cb;_0x3fe4aa['change'](()=>{const _0x5ae97a=Array['from'](_0x3cb1ac[_0x5ba5('0x1a')]()),_0xfd40dc=_0x3cb1ac[_0x5ba5('0xc')]?[ro(_0x3fe4aa,_0x3cb1ac)]:_0x5ae97a,_0x26740e=!!_0x54ab39(function*(_0x2e9c07,_0xace219){const _0x2d86a4=_0x33d3a4=>!!_0x54ab39(function*(_0x171b71,_0x1a3180){for(const [_0x7bd740]of _0x171b71[_0x5ba5('0x1e')]()){const _0x484c4f=_0x1a3180[_0x5ba5('0x3')](_0x7bd740);_0x484c4f&&_0x484c4f[_0x5ba5('0x13')]&&(yield _0x7bd740);}}(_0x33d3a4,_0xace219));for(const _0x1ae524 of _0x2e9c07[_0x5ba5('0x1a')]())for(const _0x129bdd of _0x1ae524[_0x5ba5('0x20')]())!_0xace219[_0x5ba5('0x1b')](_0x129bdd)&&_0x2d86a4(_0x129bdd)&&(yield _0x129bdd);for(const _0x39db77 of _0x2e9c07[_0x5ba5('0x27')]())_0x2d86a4(_0x39db77)&&(yield _0x39db77);_0x2d86a4(_0x2e9c07)&&(yield _0x2e9c07);}(_0x3cb1ac,_0x3fe4aa[_0x5ba5('0x2f')]));if(_0x26740e||0x0!==Object[_0x5ba5('0x30')](_0x5d42f9)['length'])for(const _0x1f285e of _0xfd40dc)_0x42f0b7['markInlineFormat'](_0x1f285e,{'commandName':_0x5ba5('0x2a'),'commandParams':[_0x5d42f9]});});}),_0x42f0b7[_0x5ba5('0x1c')]['registerDescriptionCallback'](_0x2e5468=>{const {data:_0x575876}=_0x2e5468;if(_0x575876&&'pasteFormat'===_0x575876[_0x5ba5('0x6')]){const _0xfdd3d6=[],_0x114beb=_0x575876[_0x5ba5('0x8')][0x0];for(const [_0x518de0,_0x2b48c3]of Object['entries'](_0x114beb))_0xfdd3d6['push'](no(_0x308bc2,_0x518de0,_0x2b48c3));return _0xfdd3d6['length']?{'type':_0x5ba5('0x5'),'content':_0x1fd7a4(_0x2c2d1c,_0x5ba5('0xd'),_0xfdd3d6[_0x5ba5('0xe')](',\x20'))}:{'type':_0x5ba5('0x5'),'content':_0x1fd7a4(_0x2c2d1c,_0x5ba5('0x2d'))};}}),_0x308bc2[_0x5ba5('0x32')]['get'](_0x5ba5('0x31'))[_0x5ba5('0x15')](_0x5ba5('0xf')));}}function ro(_0x303b38,_0x213906){const _0x328917=_0x303b38[_0x5ba5('0x19')](_0x213906);_0x303b38[_0x5ba5('0x4')](_0x328917,{'unit':_0x5ba5('0x11'),'direction':_0x5ba5('0x16')});const _0x3d50f8=_0x328917[_0x5ba5('0x14')]();_0x303b38[_0x5ba5('0x4')](_0x328917,{'unit':_0x5ba5('0x11'),'direction':_0x5ba5('0x1f')});const _0x1d1392=_0x328917['getLastPosition']();return _0x303b38[_0x5ba5('0x7')](_0x3d50f8,_0x1d1392);}function no(_0x1f524d,_0x29623a,_0xb2e362){const _0x58816b=_0x1f524d['locale']['t'],_0x17c9da=_0x29623a[_0x5ba5('0x26')](/(?=[A-Z])/)['join']('\x20'),_0x56be2b=_0x58816b(_0x17c9da[_0x5ba5('0xb')](0x0)[_0x5ba5('0x2')]()+_0x17c9da[_0x5ba5('0xa')](0x1))[_0x5ba5('0x2c')]();if('boolean'==typeof _0xb2e362)return _0x56be2b;if(_0x5ba5('0x29')===_0x29623a||_0x5ba5('0x28')===_0x29623a){const _0x16daa2=_0x1f4bb9(_0x1f524d['config'][_0x5ba5('0x12')](_0x5ba5('0x1d')))[_0x5ba5('0x17')](_0x491aa4=>_0x491aa4[_0x5ba5('0x2e')]==_0xb2e362);return _0x56be2b+'\x20('+(_0x16daa2?_0x58816b(_0x16daa2[_0x5ba5('0x9')])['toLowerCase']():_0xb2e362)+')';}if(_0x5ba5('0x21')===_0x29623a&&isNaN(parseFloat(_0xb2e362))){const _0x34f742=_0x1f524d['plugins']['get'](_0x5ba5('0x0'))[_0x5ba5('0x2b')](_0x1f524d[_0x5ba5('0x1')][_0x5ba5('0x12')](_0x5ba5('0x24')))['find'](_0x3e5d7b=>_0x3e5d7b[_0x5ba5('0x2e')]==_0xb2e362);return _0x56be2b+'\x20('+(_0x34f742?_0x58816b(_0x34f742[_0x5ba5('0x25')])[_0x5ba5('0x2c')]():_0xb2e362)+')';}return _0x56be2b+'\x20('+_0xb2e362+')';}
23
+ const _0x508d=['config','get','enableCommand','from','selection','length','join','modifySelection','_descriptionFactory','fontBackgroundColor','*Set\x20format\x20to:*\x20%0','fontSize.options','find','normalizeSizeOptions','getSelectedBlocks','commandParams','copyFormat','slice','word','plugins','pasteFormat','charAt','title','format','toUpperCase','toLowerCase','getRanges','fontColor.colors','FontSize','label','registerDescriptionCallback','fontColor','change','afterInit','isBlock','schema','*Remove\x20all\x20formatting*','model','createSelection','keys','document','getAttributes','markInlineFormat','isCollapsed','fontSize','getAttributeProperties','boolean','TrackChangesEditing','getFirstPosition','forward','isFormatting','commands'];(function(_0xff1135,_0x508d0f){const _0x363557=function(_0x31c548){while(--_0x31c548){_0xff1135['push'](_0xff1135['shift']());}};_0x363557(++_0x508d0f);}(_0x508d,0xa6));const _0x3635=function(_0xff1135,_0x508d0f){_0xff1135=_0xff1135-0x0;let _0x363557=_0x508d[_0xff1135];return _0x363557;};import{Plugin as _0x47120f}from'ckeditor5/src/core';import{normalizeColorOptions as _0x519950}from'ckeditor5/src/ui';import{first as _0x21426d}from'ckeditor5/src/utils';import{getTranslation as _0x51b6ea}from'../utils/common-translations';export default class W extends _0x47120f{[_0x3635('0x17')](){const _0x3f0c68=this['editor'],_0x44cc31=_0x3f0c68[_0x3635('0x1b')],_0x20f54f=_0x44cc31[_0x3635('0x1e')][_0x3635('0x2e')],_0x159d6d=_0x3f0c68[_0x3635('0x9')][_0x3635('0x2b')](_0x3635('0x25')),_0x5608af=_0x3f0c68['locale'],_0x42a839=_0x3f0c68['commands'][_0x3635('0x2b')](_0x3635('0x6')),_0x500bc2=_0x3f0c68[_0x3635('0x29')][_0x3635('0x2b')](_0x3635('0xa'));_0x42a839&&_0x500bc2&&(_0x159d6d[_0x3635('0x2c')]('pasteFormat',(_0x290d68,_0x807d45={})=>{const _0x50eb0f=_0x807d45;_0x44cc31[_0x3635('0x16')](()=>{const _0x47d2ba=Array[_0x3635('0x2d')](_0x20f54f[_0x3635('0x10')]()),_0x561646=_0x20f54f[_0x3635('0x21')]?[ro(_0x44cc31,_0x20f54f)]:_0x47d2ba,_0x288439=!!_0x21426d(function*(_0x5a810b,_0x59648c){const _0x4d9d7a=_0x26d034=>!!_0x21426d(function*(_0x535617,_0x35c5d7){for(const [_0x5eb7fa]of _0x535617[_0x3635('0x1f')]()){const _0x4a1297=_0x35c5d7[_0x3635('0x23')](_0x5eb7fa);_0x4a1297&&_0x4a1297[_0x3635('0x28')]&&(yield _0x5eb7fa);}}(_0x26d034,_0x59648c));for(const _0x235f86 of _0x5a810b[_0x3635('0x10')]())for(const _0x279807 of _0x235f86['getItems']())!_0x59648c[_0x3635('0x18')](_0x279807)&&_0x4d9d7a(_0x279807)&&(yield _0x279807);for(const _0x2fcb45 of _0x5a810b[_0x3635('0x4')]())_0x4d9d7a(_0x2fcb45)&&(yield _0x2fcb45);_0x4d9d7a(_0x5a810b)&&(yield _0x5a810b);}(_0x20f54f,_0x44cc31[_0x3635('0x19')]));if(_0x288439||0x0!==Object[_0x3635('0x1d')](_0x50eb0f)[_0x3635('0x2f')])for(const _0x413c8c of _0x561646)_0x159d6d[_0x3635('0x20')](_0x413c8c,{'commandName':_0x3635('0xa'),'commandParams':[_0x50eb0f]});});}),_0x159d6d[_0x3635('0x32')][_0x3635('0x14')](_0x73724b=>{const {data:_0x41c468}=_0x73724b;if(_0x41c468&&'pasteFormat'===_0x41c468['commandName']){const _0x3cd583=[],_0x102dfa=_0x41c468[_0x3635('0x5')][0x0];for(const [_0x54971f,_0x480fad]of Object['entries'](_0x102dfa))_0x3cd583['push'](no(_0x3f0c68,_0x54971f,_0x480fad));return _0x3cd583[_0x3635('0x2f')]?{'type':_0x3635('0xd'),'content':_0x51b6ea(_0x5608af,_0x3635('0x0'),_0x3cd583[_0x3635('0x30')](',\x20'))}:{'type':_0x3635('0xd'),'content':_0x51b6ea(_0x5608af,_0x3635('0x1a'))};}}),_0x3f0c68[_0x3635('0x9')]['get']('TrackChangesEditing')[_0x3635('0x2c')](_0x3635('0x6')));}}function ro(_0x38114f,_0x541ae9){const _0x44e4bd=_0x38114f[_0x3635('0x1c')](_0x541ae9);_0x38114f['modifySelection'](_0x44e4bd,{'unit':_0x3635('0x8'),'direction':'backward'});const _0x5c8683=_0x44e4bd[_0x3635('0x26')]();_0x38114f[_0x3635('0x31')](_0x44e4bd,{'unit':_0x3635('0x8'),'direction':_0x3635('0x27')});const _0xd40774=_0x44e4bd['getLastPosition']();return _0x38114f['createRange'](_0x5c8683,_0xd40774);}function no(_0x2c629c,_0x323892,_0x1ba559){const _0x1ee8c9=_0x2c629c['locale']['t'],_0xa08a81=_0x323892['split'](/(?=[A-Z])/)[_0x3635('0x30')]('\x20'),_0x1d3846=_0x1ee8c9(_0xa08a81[_0x3635('0xb')](0x0)[_0x3635('0xe')]()+_0xa08a81[_0x3635('0x7')](0x1))[_0x3635('0xf')]();if(_0x3635('0x24')==typeof _0x1ba559)return _0x1d3846;if(_0x3635('0x15')===_0x323892||_0x3635('0x33')===_0x323892){const _0x5bba71=_0x519950(_0x2c629c[_0x3635('0x2a')][_0x3635('0x2b')](_0x3635('0x11')))['find'](_0x5e669f=>_0x5e669f[_0x3635('0x1b')]==_0x1ba559);return _0x1d3846+'\x20('+(_0x5bba71?_0x1ee8c9(_0x5bba71[_0x3635('0x13')])[_0x3635('0xf')]():_0x1ba559)+')';}if(_0x3635('0x22')===_0x323892&&isNaN(parseFloat(_0x1ba559))){const _0x449df4=_0x2c629c['plugins'][_0x3635('0x2b')](_0x3635('0x12'))[_0x3635('0x3')](_0x2c629c[_0x3635('0x2a')][_0x3635('0x2b')](_0x3635('0x1')))[_0x3635('0x2')](_0x2f6f74=>_0x2f6f74['model']==_0x1ba559);return _0x1d3846+'\x20('+(_0x449df4?_0x1ee8c9(_0x449df4[_0x3635('0xc')])[_0x3635('0xf')]():_0x1ba559)+')';}return _0x1d3846+'\x20('+_0x1ba559+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48f7=['_descriptionFactory','filter','has','plugins','heading','TrackChangesEditing','format','document','afterInit','registerElementLabel','checkChild','model','selection','commandParams','markBlockFormat','*Change\x20to:*\x20%0','editor','find','match','commandName','heading.options','name','enableCommand','locale','title','config','ELEMENT_HEADING_CUSTOM','get','registerDescriptionCallback','HeadingEditing','ELEMENT_HEADING'];(function(_0x45cdf9,_0x48f7dc){const _0x4e6049=function(_0x2a768f){while(--_0x2a768f){_0x45cdf9['push'](_0x45cdf9['shift']());}};_0x4e6049(++_0x48f7dc);}(_0x48f7,0x189));const _0x4e60=function(_0x45cdf9,_0x48f7dc){_0x45cdf9=_0x45cdf9-0x0;let _0x4e6049=_0x48f7[_0x45cdf9];return _0x4e6049;};import{Plugin as _0x26acf8}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x672142}from'./utils';import{getTranslation as _0x3aa0a1}from'../utils/common-translations';export default class J extends _0x26acf8{[_0x4e60('0x12')](){const _0x5f0a68=this[_0x4e60('0x1a')],_0xad6568=_0x5f0a68[_0x4e60('0x2')],_0x435d03=_0x5f0a68[_0x4e60('0x4')][_0x4e60('0x6')](_0x4e60('0x1e'));if(!_0x5f0a68[_0x4e60('0xd')][_0x4e60('0xc')](_0x4e60('0x8')))return;const _0x35622c=_0x5f0a68[_0x4e60('0xd')]['get'](_0x4e60('0xf'));_0x35622c[_0x4e60('0x1')](_0x4e60('0xe'),(_0x18ca58,_0x124f95)=>{const _0x17b522=_0x124f95['value'],_0x25872f=Array['from'](this['editor'][_0x4e60('0x15')][_0x4e60('0x11')][_0x4e60('0x16')]['getSelectedBlocks']())[_0x4e60('0xb')](_0x5b9238=>function(_0x4b841b,_0x530569,_0x51457a){return _0x51457a[_0x4e60('0x14')](_0x4b841b['parent'],_0x530569)&&!_0x51457a['isObject'](_0x4b841b)&&_0x4b841b[_0x4e60('0x0')]!=_0x530569;}(_0x5b9238,_0x17b522,this['editor']['model']['schema']));_0x5f0a68['model']['change'](()=>{for(const _0x3ecade of _0x25872f)_0x35622c[_0x4e60('0x18')](_0x3ecade,{'commandName':_0x4e60('0xe'),'commandParams':[_0x124f95],'formatGroupId':'blockName'},_0x672142(_0x3ecade));});});for(const _0x3260fe of _0x435d03)'paragraph'!=_0x3260fe[_0x4e60('0x15')]&&_0x35622c['_descriptionFactory'][_0x4e60('0x13')](_0x3260fe[_0x4e60('0x15')],_0x20d1bb=>{const _0x13904d=nn(_0x3260fe['model']);return null!==_0x13904d?_0x16679b(_0x20d1bb,_0x13904d):_0x5e3225(_0x20d1bb,_0x3260fe[_0x4e60('0x3')]);});function _0x16679b(_0x414a11,_0x5d0dda){return _0x3aa0a1(_0xad6568,_0x4e60('0x9'),[_0x414a11,_0x5d0dda]);}function _0x5e3225(_0x3e5e46,_0x20620b){return _0x3aa0a1(_0xad6568,_0x4e60('0x5'),[_0x3e5e46,_0x20620b]);}_0x35622c[_0x4e60('0xa')][_0x4e60('0x7')](_0x58fe29=>{const {type:_0x27d35e,data:_0x263cf8}=_0x58fe29;if('formatBlock'==_0x27d35e&&_0x263cf8&&_0x4e60('0xe')==_0x263cf8[_0x4e60('0x1d')]){const _0x2a90d8=_0x263cf8[_0x4e60('0x17')][0x0]['value'],_0x529546=nn(_0x2a90d8);if(null!==_0x529546)return{'type':_0x4e60('0x10'),'content':_0x3aa0a1(_0xad6568,_0x4e60('0x19'),_0x16679b(0x1,_0x529546))};const _0x41f1b5=_0x435d03[_0x4e60('0x1b')](_0x29cf72=>_0x29cf72[_0x4e60('0x15')]===_0x2a90d8)[_0x4e60('0x3')];return{'type':_0x4e60('0x10'),'content':_0x3aa0a1(_0xad6568,'*Change\x20to:*\x20%0',_0x5e3225(0x1,_0x41f1b5))};}});}}function nn(_0x132597){const _0x57dded=_0x132597[_0x4e60('0x1c')](/^heading(\d+)$/);return _0x57dded?_0x57dded[0x1]:null;}
23
+ const _0x28e1=['has','_descriptionFactory','from','locale','commandName','registerElementLabel','commandParams','value','blockName','config','editor','ELEMENT_HEADING','get','title','enableCommand','getSelectedBlocks','format','ELEMENT_HEADING_CUSTOM','selection','plugins','heading','*Change\x20to:*\x20%0','filter','markBlockFormat','model','registerDescriptionCallback','document','find','formatBlock'];(function(_0x3012af,_0x28e1f0){const _0x4751e1=function(_0x3b59ff){while(--_0x3b59ff){_0x3012af['push'](_0x3012af['shift']());}};_0x4751e1(++_0x28e1f0);}(_0x28e1,0x12e));const _0x4751=function(_0x3012af,_0x28e1f0){_0x3012af=_0x3012af-0x0;let _0x4751e1=_0x28e1[_0x3012af];return _0x4751e1;};import{Plugin as _0x3260db}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x594b9c}from'./utils';import{getTranslation as _0x267c2}from'../utils/common-translations';export default class J extends _0x3260db{['afterInit'](){const _0x270fd3=this[_0x4751('0x1b')],_0x1be530=_0x270fd3[_0x4751('0x14')],_0xeddf63=_0x270fd3[_0x4751('0x1a')][_0x4751('0x0')]('heading.options');if(!_0x270fd3['plugins'][_0x4751('0x11')]('HeadingEditing'))return;const _0x5da51f=_0x270fd3[_0x4751('0x7')][_0x4751('0x0')]('TrackChangesEditing');_0x5da51f[_0x4751('0x2')](_0x4751('0x8'),(_0x2ba009,_0x39e364)=>{const _0x1104c9=_0x39e364[_0x4751('0x18')],_0x17a111=Array[_0x4751('0x13')](this['editor']['model'][_0x4751('0xe')][_0x4751('0x6')][_0x4751('0x3')]())[_0x4751('0xa')](_0x4aef14=>function(_0x121810,_0x421be6,_0x171d18){return _0x171d18['checkChild'](_0x121810['parent'],_0x421be6)&&!_0x171d18['isObject'](_0x121810)&&_0x121810['name']!=_0x421be6;}(_0x4aef14,_0x1104c9,this[_0x4751('0x1b')][_0x4751('0xc')]['schema']));_0x270fd3[_0x4751('0xc')]['change'](()=>{for(const _0x5979ea of _0x17a111)_0x5da51f[_0x4751('0xb')](_0x5979ea,{'commandName':'heading','commandParams':[_0x39e364],'formatGroupId':_0x4751('0x19')},_0x594b9c(_0x5979ea));});});for(const _0x4c5fb8 of _0xeddf63)'paragraph'!=_0x4c5fb8[_0x4751('0xc')]&&_0x5da51f[_0x4751('0x12')][_0x4751('0x16')](_0x4c5fb8[_0x4751('0xc')],_0xc7784d=>{const _0x217ef7=nn(_0x4c5fb8[_0x4751('0xc')]);return null!==_0x217ef7?_0x512fca(_0xc7784d,_0x217ef7):_0x45845f(_0xc7784d,_0x4c5fb8[_0x4751('0x1')]);});function _0x512fca(_0x534c83,_0x5ea9c1){return _0x267c2(_0x1be530,_0x4751('0x1c'),[_0x534c83,_0x5ea9c1]);}function _0x45845f(_0x582c2e,_0x19d1f6){return _0x267c2(_0x1be530,_0x4751('0x5'),[_0x582c2e,_0x19d1f6]);}_0x5da51f[_0x4751('0x12')][_0x4751('0xd')](_0x22e26e=>{const {type:_0x1c8dbc,data:_0x566c3e}=_0x22e26e;if(_0x4751('0x10')==_0x1c8dbc&&_0x566c3e&&_0x4751('0x8')==_0x566c3e[_0x4751('0x15')]){const _0x41d294=_0x566c3e[_0x4751('0x17')][0x0][_0x4751('0x18')],_0x12287a=nn(_0x41d294);if(null!==_0x12287a)return{'type':_0x4751('0x4'),'content':_0x267c2(_0x1be530,_0x4751('0x9'),_0x512fca(0x1,_0x12287a))};const _0x272cea=_0xeddf63[_0x4751('0xf')](_0x210e9c=>_0x210e9c[_0x4751('0xc')]===_0x41d294)[_0x4751('0x1')];return{'type':_0x4751('0x4'),'content':_0x267c2(_0x1be530,'*Change\x20to:*\x20%0',_0x45845f(0x1,_0x272cea))};}});}}function nn(_0xac4878){const _0x5bdef6=_0xac4878['match'](/^heading(\d+)$/);return _0x5bdef6?_0x5bdef6[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c79=['FORMAT_HIGHLIGHT','getFirstPosition','HighlightEditing','getLastMatchingPosition','TrackChangesEditing','has','format','item','getRanges','selection','backward','formatInline','enableCommand','hasAttribute','model','*Set\x20highlight:*\x20%0','locale','title','highlight','commandName','find','getAttribute','document','color','*Remove\x20highlight*','isCollapsed','value','get','config','plugins','_descriptionFactory','registerDescriptionCallback'];(function(_0x2e0dbe,_0x2c793c){const _0x5e62ff=function(_0x3ec615){while(--_0x3ec615){_0x2e0dbe['push'](_0x2e0dbe['shift']());}};_0x5e62ff(++_0x2c793c);}(_0x2c79,0x125));const _0x5e62=function(_0x2e0dbe,_0x2c793c){_0x2e0dbe=_0x2e0dbe-0x0;let _0x5e62ff=_0x2c79[_0x2e0dbe];return _0x5e62ff;};import{Plugin as _0x4e1c7d}from'ckeditor5/src/core';import{getTranslation as _0x5bb180}from'../utils/common-translations';import{getRangesWithAttribute as _0x51cbee}from'./utils';export default class K extends _0x4e1c7d{['afterInit'](){const _0x5b72a6=this['editor'];if(!_0x5b72a6[_0x5e62('0x18')][_0x5e62('0x0')](_0x5e62('0x1d')))return;const _0x29c1bf=_0x5b72a6[_0x5e62('0x18')][_0x5e62('0x16')](_0x5e62('0x1f'));_0x29c1bf[_0x5e62('0x7')]('highlight',(_0x383c8c,_0x5e7980={})=>{const _0x44d6d6=_0x5b72a6['model'][_0x5e62('0x11')][_0x5e62('0x4')],_0x3a3125=_0x44d6d6[_0x5e62('0x10')](_0x5e62('0xd'));let _0x484c8d=_0x5e7980['value'],_0x4ec84c=[];if(_0x44d6d6[_0x5e62('0x14')]){const _0x55bba3=_0x44d6d6[_0x5e62('0x1c')]();if(!_0x44d6d6[_0x5e62('0x8')]('highlight'))return void _0x383c8c(_0x5e7980);{const _0xc89e0c=_0x2a30f9=>_0x2a30f9[_0x5e62('0x2')][_0x5e62('0x10')](_0x5e62('0xd'))===_0x3a3125,_0x4ec8d1=_0x55bba3[_0x5e62('0x1e')](_0xc89e0c,{'direction':_0x5e62('0x5')}),_0x36228f=_0x55bba3['getLastMatchingPosition'](_0xc89e0c);_0x4ec84c=[_0x5b72a6[_0x5e62('0x9')]['createRange'](_0x4ec8d1,_0x36228f)],_0x484c8d==_0x3a3125&&(_0x484c8d=null);}}else for(const _0x515782 of _0x44d6d6[_0x5e62('0x3')]())_0x484c8d?_0x4ec84c['push'](_0x515782):_0x4ec84c['push'](..._0x51cbee(_0x5e62('0xd'),_0x515782,_0x5b72a6[_0x5e62('0x9')]));_0x5b72a6[_0x5e62('0x9')]['change'](()=>{for(const _0x11e9f8 of _0x4ec84c)_0x29c1bf['markInlineFormat'](_0x11e9f8,{'commandName':_0x5e62('0xd'),'commandParams':[{'value':_0x484c8d}]});});});const _0x431c1a=_0x5b72a6[_0x5e62('0xb')];_0x29c1bf[_0x5e62('0x19')][_0x5e62('0x1a')](_0x463c9c=>{const {type:_0x1d8f41,data:_0x5ef11c}=_0x463c9c;if(_0x5e62('0x6')==_0x1d8f41&&_0x5ef11c&&_0x5e62('0xd')==_0x5ef11c[_0x5e62('0xe')]){const _0x175821=_0x431c1a['t'],_0x5b0b72=_0x5ef11c['commandParams'][0x0][_0x5e62('0x15')];if(_0x5b0b72){const _0x20518c=_0x5b72a6[_0x5e62('0x17')][_0x5e62('0x16')]('highlight.options')[_0x5e62('0xf')](_0x2cd05d=>_0x2cd05d['model']==_0x5b0b72),_0x5c7217=_0x175821(_0x20518c[_0x5e62('0xc')])['toLowerCase']();return{'type':'format','content':_0x5bb180(_0x431c1a,_0x5e62('0xa'),_0x5c7217),'color':{'value':_0x20518c[_0x5e62('0x12')],'title':_0x20518c['title']}};}return{'type':_0x5e62('0x1'),'content':_0x5bb180(_0x431c1a,_0x5e62('0x13'),_0x5bb180(_0x431c1a,_0x5e62('0x1b')))};}});}}
23
+ const _0x3769=['highlight.options','config','getAttribute','editor','commandName','toLowerCase','*Set\x20highlight:*\x20%0','HighlightEditing','item','_descriptionFactory','highlight','model','*Remove\x20highlight*','afterInit','registerDescriptionCallback','push','format','TrackChangesEditing','has','isCollapsed','get','value','locale','getLastMatchingPosition','backward','plugins','FORMAT_HIGHLIGHT','markInlineFormat','formatInline','change','color','title','document','getFirstPosition','getRanges','createRange','enableCommand'];(function(_0x1880e1,_0x376987){const _0x3cc394=function(_0x245896){while(--_0x245896){_0x1880e1['push'](_0x1880e1['shift']());}};_0x3cc394(++_0x376987);}(_0x3769,0x6a));const _0x3cc3=function(_0x1880e1,_0x376987){_0x1880e1=_0x1880e1-0x0;let _0x3cc394=_0x3769[_0x1880e1];return _0x3cc394;};import{Plugin as _0x2fc580}from'ckeditor5/src/core';import{getTranslation as _0x3321d7}from'../utils/common-translations';import{getRangesWithAttribute as _0x17993e}from'./utils';export default class K extends _0x2fc580{[_0x3cc3('0x12')](){const _0x4ad405=this[_0x3cc3('0x8')];if(!_0x4ad405['plugins'][_0x3cc3('0x17')](_0x3cc3('0xc')))return;const _0x28f2f=_0x4ad405[_0x3cc3('0x1e')][_0x3cc3('0x19')](_0x3cc3('0x16'));_0x28f2f[_0x3cc3('0x4')](_0x3cc3('0xf'),(_0x48c135,_0x1a464e={})=>{const _0x407228=_0x4ad405[_0x3cc3('0x10')][_0x3cc3('0x0')]['selection'],_0x10fdbb=_0x407228[_0x3cc3('0x7')]('highlight');let _0x278888=_0x1a464e[_0x3cc3('0x1a')],_0xcf324d=[];if(_0x407228[_0x3cc3('0x18')]){const _0x2bd7df=_0x407228[_0x3cc3('0x1')]();if(!_0x407228['hasAttribute']('highlight'))return void _0x48c135(_0x1a464e);{const _0x157bf7=_0x3df329=>_0x3df329[_0x3cc3('0xd')][_0x3cc3('0x7')](_0x3cc3('0xf'))===_0x10fdbb,_0x2720e3=_0x2bd7df[_0x3cc3('0x1c')](_0x157bf7,{'direction':_0x3cc3('0x1d')}),_0x1b4395=_0x2bd7df['getLastMatchingPosition'](_0x157bf7);_0xcf324d=[_0x4ad405[_0x3cc3('0x10')][_0x3cc3('0x3')](_0x2720e3,_0x1b4395)],_0x278888==_0x10fdbb&&(_0x278888=null);}}else for(const _0x443fd2 of _0x407228[_0x3cc3('0x2')]())_0x278888?_0xcf324d[_0x3cc3('0x14')](_0x443fd2):_0xcf324d['push'](..._0x17993e(_0x3cc3('0xf'),_0x443fd2,_0x4ad405['model']));_0x4ad405[_0x3cc3('0x10')][_0x3cc3('0x22')](()=>{for(const _0x435854 of _0xcf324d)_0x28f2f[_0x3cc3('0x20')](_0x435854,{'commandName':_0x3cc3('0xf'),'commandParams':[{'value':_0x278888}]});});});const _0x685199=_0x4ad405[_0x3cc3('0x1b')];_0x28f2f[_0x3cc3('0xe')][_0x3cc3('0x13')](_0x2834d0=>{const {type:_0x4e1897,data:_0x33cfe5}=_0x2834d0;if(_0x3cc3('0x21')==_0x4e1897&&_0x33cfe5&&_0x3cc3('0xf')==_0x33cfe5[_0x3cc3('0x9')]){const _0x101afc=_0x685199['t'],_0x9d02a7=_0x33cfe5['commandParams'][0x0][_0x3cc3('0x1a')];if(_0x9d02a7){const _0x461e4a=_0x4ad405[_0x3cc3('0x6')][_0x3cc3('0x19')](_0x3cc3('0x5'))['find'](_0x396f39=>_0x396f39[_0x3cc3('0x10')]==_0x9d02a7),_0x2a8e75=_0x101afc(_0x461e4a[_0x3cc3('0x24')])[_0x3cc3('0xa')]();return{'type':_0x3cc3('0x15'),'content':_0x3321d7(_0x685199,_0x3cc3('0xb'),_0x2a8e75),'color':{'value':_0x461e4a[_0x3cc3('0x23')],'title':_0x461e4a['title']}};}return{'type':_0x3cc3('0x15'),'content':_0x3321d7(_0x685199,_0x3cc3('0x11'),_0x3321d7(_0x685199,_0x3cc3('0x1f')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14ef=['elementToStructure','get','high','for','afterInit','conversion','plugins','createPositionAt','ck-horizontal-line','editor','enableCommand','createEmptyElement','TrackChangesEditing','has','ELEMENT_HORIZONTAL_LINE','addClass','insert','locale','horizontalLine'];(function(_0x26af89,_0x14efe9){const _0xf27971=function(_0xbdc2b4){while(--_0xbdc2b4){_0x26af89['push'](_0x26af89['shift']());}};_0xf27971(++_0x14efe9);}(_0x14ef,0x106));const _0xf279=function(_0x26af89,_0x14efe9){_0x26af89=_0x26af89-0x0;let _0xf27971=_0x14ef[_0x26af89];return _0xf27971;};import{Plugin as _0x34d09d}from'ckeditor5/src/core';import{getTranslation as _0x3aba8b}from'../utils/common-translations';export default class Q extends _0x34d09d{[_0xf279('0x8')](){const _0x3a66cf=this[_0xf279('0xd')];if(!_0x3a66cf['plugins'][_0xf279('0x11')]('HorizontalLineEditing'))return;_0x3a66cf[_0xf279('0xa')][_0xf279('0x5')]('TrackChangesEditing')[_0xf279('0xe')](_0xf279('0x3'));const _0x1edb97=_0x3a66cf[_0xf279('0xa')][_0xf279('0x5')](_0xf279('0x10')),_0x480b1a=_0x3a66cf[_0xf279('0x2')];_0x1edb97['_descriptionFactory']['registerElementLabel'](_0xf279('0x3'),_0x4fd33f=>_0x3aba8b(_0x480b1a,_0xf279('0x12'),_0x4fd33f)),_0x3a66cf[_0xf279('0x9')][_0xf279('0x7')]('dataDowncast')[_0xf279('0x4')]({'model':_0xf279('0x3'),'view':(_0xee5c67,{writer:_0x1746de,options:_0x3b73f0})=>{if(!_0x3b73f0['showSuggestionHighlights'])return null;const _0x12a000=_0x1746de['createContainerElement']('div'),_0x3941f1=_0x1746de[_0xf279('0xf')]('hr');return _0x1746de[_0xf279('0x0')](_0xf279('0xc'),_0x12a000),_0x1746de[_0xf279('0x1')](_0x1746de[_0xf279('0xb')](_0x12a000,0x0),_0x3941f1),_0x12a000;},'converterPriority':_0xf279('0x6')});}}
23
+ const _0x3072=['for','ELEMENT_HORIZONTAL_LINE','get','editor','enableCommand','afterInit','elementToStructure','_descriptionFactory','createContainerElement','locale','TrackChangesEditing','horizontalLine','dataDowncast','plugins','registerElementLabel','createEmptyElement'];(function(_0x1fdf84,_0x307200){const _0xdde69b=function(_0x123225){while(--_0x123225){_0x1fdf84['push'](_0x1fdf84['shift']());}};_0xdde69b(++_0x307200);}(_0x3072,0xe9));const _0xdde6=function(_0x1fdf84,_0x307200){_0x1fdf84=_0x1fdf84-0x0;let _0xdde69b=_0x3072[_0x1fdf84];return _0xdde69b;};import{Plugin as _0x2d492a}from'ckeditor5/src/core';import{getTranslation as _0x5ec868}from'../utils/common-translations';export default class Q extends _0x2d492a{[_0xdde6('0xc')](){const _0x5f0c74=this[_0xdde6('0xa')];if(!_0x5f0c74[_0xdde6('0x4')]['has']('HorizontalLineEditing'))return;_0x5f0c74[_0xdde6('0x4')][_0xdde6('0x9')](_0xdde6('0x1'))[_0xdde6('0xb')](_0xdde6('0x2'));const _0xe8bdb8=_0x5f0c74[_0xdde6('0x4')][_0xdde6('0x9')](_0xdde6('0x1')),_0x2f52f6=_0x5f0c74[_0xdde6('0x0')];_0xe8bdb8[_0xdde6('0xe')][_0xdde6('0x5')](_0xdde6('0x2'),_0x450827=>_0x5ec868(_0x2f52f6,_0xdde6('0x8'),_0x450827)),_0x5f0c74['conversion'][_0xdde6('0x7')](_0xdde6('0x3'))[_0xdde6('0xd')]({'model':'horizontalLine','view':(_0x9fdf7b,{writer:_0x312970,options:_0x367022})=>{if(!_0x367022['showSuggestionHighlights'])return null;const _0x3492e9=_0x312970[_0xdde6('0xf')]('div'),_0xa27c77=_0x312970[_0xdde6('0x6')]('hr');return _0x312970['addClass']('ck-horizontal-line',_0x3492e9),_0x312970['insert'](_0x312970['createPositionAt'](_0x3492e9,0x0),_0xa27c77),_0x3492e9;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b4f=['rawHtmlApi','HtmlEmbed','change','registerElementLabel','element','editor','editing','cancel','getSelectedElement','getCustomProperty','registerDescriptionCallback','_descriptionFactory','value','rawHtml','markBlockFormat','htmlEmbed','model','plugins','selection','ELEMENT_HTML_EMBED','has','get','*Change\x20%0\x20content*','document','commandName','TrackChangesEditing'];(function(_0x5c818e,_0x4b4fe9){const _0x5ebf2e=function(_0x2b4478){while(--_0x2b4478){_0x5c818e['push'](_0x5c818e['shift']());}};_0x5ebf2e(++_0x4b4fe9);}(_0x4b4f,0x1e8));const _0x5ebf=function(_0x5c818e,_0x4b4fe9){_0x5c818e=_0x5c818e-0x0;let _0x5ebf2e=_0x4b4f[_0x5c818e];return _0x5ebf2e;};import{Plugin as _0x34cead}from'ckeditor5/src/core';import{getTranslation as _0x3ad684}from'../utils/common-translations';export default class V extends _0x34cead{['afterInit'](){const _0x269dc4=this[_0x5ebf('0xb')];if(!_0x269dc4['plugins'][_0x5ebf('0x0')](_0x5ebf('0x7')))return;const _0x47e73c=_0x269dc4[_0x5ebf('0x17')][_0x5ebf('0x1')](_0x5ebf('0x5')),_0x26111f=_0x269dc4['locale'],_0x2647bf=_0x269dc4[_0x5ebf('0xc')]['view'][_0x5ebf('0x3')][_0x5ebf('0x18')];_0x47e73c[_0x5ebf('0x11')][_0x5ebf('0x9')](_0x5ebf('0x13'),_0x5272ad=>_0x3ad684(_0x26111f,_0x5ebf('0x19'),_0x5272ad)),_0x269dc4[_0x5ebf('0x17')][_0x5ebf('0x1')](_0x5ebf('0x5'))['enableCommand'](_0x5ebf('0x15'),(_0x1bee2e,_0x5c0b41)=>{const _0x1ba47c=_0x269dc4[_0x5ebf('0x16')],_0x445d06=_0x1ba47c[_0x5ebf('0x3')]['selection'];_0x1ba47c[_0x5ebf('0x8')](()=>{const _0x222dd5=function(_0x26dbad){const _0x345e31=_0x26dbad[_0x5ebf('0xe')]();if(_0x345e31&&_0x345e31['is'](_0x5ebf('0xa'),_0x5ebf('0x13')))return _0x26dbad[_0x5ebf('0xe')]();return null;}(_0x445d06);if(!_0x222dd5)return void _0x1bee2e(null);const _0x5d3906=_0x222dd5['getAttribute'](_0x5ebf('0x12'))||'';if(void 0x0===_0x5c0b41)return;if(_0x5c0b41===_0x5d3906)return;_0x47e73c[_0x5ebf('0x14')](_0x222dd5,{'commandName':'htmlEmbed','commandParams':[_0x5c0b41]}),_0x2647bf[_0x5ebf('0xe')]()[_0x5ebf('0xf')](_0x5ebf('0x6'))[_0x5ebf('0xd')]();});}),_0x47e73c[_0x5ebf('0x11')][_0x5ebf('0x10')](_0x264fa4=>{const {data:_0x268aaa}=_0x264fa4;if(_0x268aaa&&_0x5ebf('0x15')==_0x268aaa[_0x5ebf('0x4')]){const _0x269b42=_0x3ad684(_0x26111f,_0x5ebf('0x19'));return{'type':'format','content':_0x3ad684(_0x26111f,_0x5ebf('0x2'),_0x269b42)};}});}}
23
+ const _0x3d29=['format','value','commandName','plugins','locale','enableCommand','selection','ELEMENT_HTML_EMBED','HtmlEmbed','getAttribute','registerDescriptionCallback','has','rawHtmlApi','editing','_descriptionFactory','getCustomProperty','view','change','htmlEmbed','get','afterInit','element','TrackChangesEditing','model','document','rawHtml','getSelectedElement','cancel','registerElementLabel'];(function(_0x14f7e6,_0x3d29e3){const _0x968578=function(_0x3685c9){while(--_0x3685c9){_0x14f7e6['push'](_0x14f7e6['shift']());}};_0x968578(++_0x3d29e3);}(_0x3d29,0xbc));const _0x9685=function(_0x14f7e6,_0x3d29e3){_0x14f7e6=_0x14f7e6-0x0;let _0x968578=_0x3d29[_0x14f7e6];return _0x968578;};import{Plugin as _0x5cd0b0}from'ckeditor5/src/core';import{getTranslation as _0x2eb1d4}from'../utils/common-translations';export default class V extends _0x5cd0b0{[_0x9685('0x6')](){const _0x2393ed=this['editor'];if(!_0x2393ed[_0x9685('0x12')][_0x9685('0x1a')](_0x9685('0x17')))return;const _0x654074=_0x2393ed[_0x9685('0x12')][_0x9685('0x5')](_0x9685('0x8')),_0xfd21b8=_0x2393ed[_0x9685('0x13')],_0x1d4a1c=_0x2393ed[_0x9685('0x1c')][_0x9685('0x2')][_0x9685('0xa')][_0x9685('0x15')];_0x654074['_descriptionFactory'][_0x9685('0xe')](_0x9685('0xb'),_0x3e8ef8=>_0x2eb1d4(_0xfd21b8,_0x9685('0x16'),_0x3e8ef8)),_0x2393ed[_0x9685('0x12')][_0x9685('0x5')](_0x9685('0x8'))[_0x9685('0x14')](_0x9685('0x4'),(_0x56a23f,_0x4b0882)=>{const _0x65f16a=_0x2393ed[_0x9685('0x9')],_0x331417=_0x65f16a['document'][_0x9685('0x15')];_0x65f16a[_0x9685('0x3')](()=>{const _0x4e19c3=function(_0x25cc57){const _0x593a86=_0x25cc57['getSelectedElement']();if(_0x593a86&&_0x593a86['is'](_0x9685('0x7'),_0x9685('0xb')))return _0x25cc57[_0x9685('0xc')]();return null;}(_0x331417);if(!_0x4e19c3)return void _0x56a23f(null);const _0x4927eb=_0x4e19c3[_0x9685('0x18')](_0x9685('0x10'))||'';if(void 0x0===_0x4b0882)return;if(_0x4b0882===_0x4927eb)return;_0x654074['markBlockFormat'](_0x4e19c3,{'commandName':_0x9685('0x4'),'commandParams':[_0x4b0882]}),_0x1d4a1c['getSelectedElement']()[_0x9685('0x1')](_0x9685('0x1b'))[_0x9685('0xd')]();});}),_0x654074[_0x9685('0x0')][_0x9685('0x19')](_0x168606=>{const {data:_0x4a1d09}=_0x168606;if(_0x4a1d09&&'htmlEmbed'==_0x4a1d09[_0x9685('0x11')]){const _0x5f0afc=_0x2eb1d4(_0xfd21b8,'ELEMENT_HTML_EMBED');return{'type':_0x9685('0xf'),'content':_0x2eb1d4(_0xfd21b8,'*Change\x20%0\x20content*',_0x5f0afc)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b2d=['commandName','registerDescriptionCallback','getFirstRange','ImageCaptionUtils','_suggestionFactory','end','getSuggestion','getContainedElement','ELEMENT_IMAGE','imageCaption','_descriptionFactory','ImageTextAlternativeEditing','hasAttribute','suggestion','insertion','resizeImage','isIntersecting','insertImage','*Set\x20image\x20text\x20alternative:*\x20%0','alt','toggleImageCaption','isInContent','filter','ImageStyleEditing','length','schema','createRange','isBefore','markBlockFormat','*Remove\x20image\x20text\x20alternative*','getAttribute','imageStylePreApply','selection','model','getSuggestionCallback','imageTextAlternative','fromPosition','toPrevious','imageTypeInline','_splitMarkerName','format','nodeAfter','find','type','newRange','isBlockImage','toLowerCase','convertInlineImageToBlock','findIndex','discard','forEach','backward','previous','Users','markInlineFormat','plugins','imageTypeBlock','next','enableCommand','get','editor','getCaptionFromImageModelElement','commandParams','isCollapsed','getChangedMarkers','markInsertion','ImageCaptionEditing','ELEMENT_CAPTION','convertBlockImageToInline','registerCustomCallback','imageInline','getNearestSelectionRange','value','change','commandReversedParams','_findSuggestions','uploadImage','registerElementLabel','formatInline','discardSuggestion','imageStylePostApply','FORMAT_SIDE_IMAGE','isEqual','normalizedStyles','subType','hasSuggestion','refresh','width','addObject','toNext','chain','ImageBlockEditing','getClosestSelectedImageElement','afterInit','element','ImageResize','deletion','registerPostFixer','createRangeOn','formatBlock','join','imageStyle','*Reset\x20image\x20width*','ImageEditing','ImageUtils','has','caption','document','accept','differ','newValue','removeObject','ImageUploadEditing','from','forceDefaultExecution','*Format:*\x20%0','start','detach'];(function(_0x4ca858,_0x4b2d0b){const _0xaae9bb=function(_0x34a9be){while(--_0x34a9be){_0x4ca858['push'](_0x4ca858['shift']());}};_0xaae9bb(++_0x4b2d0b);}(_0x4b2d,0x1a6));const _0xaae9=function(_0x4ca858,_0x4b2d0b){_0x4ca858=_0x4ca858-0x0;let _0xaae9bb=_0x4b2d[_0x4ca858];return _0xaae9bb;};import{Plugin as _0x4bc09d}from'ckeditor5/src/core';import{LivePosition as _0xad8750}from'ckeditor5/src/engine';import{uid as _0x4fa904}from'ckeditor5/src/utils';import{getTranslation as _0x377cc3}from'../utils/common-translations';export default class X extends _0x4bc09d{[_0xaae9('0x19')](){const _0x3cda2c=this[_0xaae9('0x6e')];if(!_0x3cda2c[_0xaae9('0x69')]['has'](_0xaae9('0x23')))return;const _0x29cfe8=_0x3cda2c['plugins'][_0xaae9('0x6d')]('TrackChangesEditing'),_0x4955f5=_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x6d')](_0xaae9('0x24')),_0x56c8f5={},_0x381724=_0x3cda2c['locale'];if(_0x29cfe8[_0xaae9('0x6c')](_0xaae9('0x43')),_0x29cfe8[_0xaae9('0x3c')]['registerElementLabel']('imageBlock',_0x3b18c4=>_0x377cc3(_0x381724,_0xaae9('0x3a'),_0x3b18c4)),_0x29cfe8[_0xaae9('0x3c')]['registerElementLabel'](_0xaae9('0x2'),_0x3f81b5=>_0x377cc3(_0x381724,'ELEMENT_INLINE_IMAGE',_0x3f81b5)),_0x29cfe8['_descriptionFactory'][_0xaae9('0x9')](_0xaae9('0x26'),()=>_0x377cc3(_0x381724,_0xaae9('0x75'))),_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x25')](_0xaae9('0x2c'))&&_0x29cfe8['enableCommand'](_0xaae9('0x8')),_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x25')](_0xaae9('0x17'))&&_0x3cda2c['plugins']['has']('ImageInlineEditing')&&(_0x29cfe8[_0xaae9('0x6c')](_0xaae9('0x58'),(_0x59f0b8,_0x4c2e56)=>{const _0x4cfe6a=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')]['document'][_0xaae9('0x52')]);_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x5')](()=>{_0x29cfe8['markBlockFormat'](_0x4cfe6a,{'commandName':'imageTypeInline','commandParams':[_0x4c2e56]},[],_0xaae9('0x0'));});}),_0x29cfe8[_0xaae9('0x6c')](_0xaae9('0x6a'),(_0x3968af,_0x1a1e1c)=>{_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x5')](_0x4e639c=>{let _0x207032=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x27')][_0xaae9('0x52')]),_0x2ecf4b=_0x4e639c[_0xaae9('0x1e')](_0x207032);const _0x336988=_0xad8750[_0xaae9('0x56')](_0x2ecf4b[_0xaae9('0x30')],_0xaae9('0x57')),_0x1164e9=_0xad8750[_0xaae9('0x56')](_0x2ecf4b[_0xaae9('0x37')],_0xaae9('0x15'));_0x29cfe8[_0xaae9('0x2e')](()=>_0x3968af(_0x1a1e1c)),_0x207032=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x27')][_0xaae9('0x52')]),_0x2ecf4b=_0x4e639c['createRangeOn'](_0x207032);const _0x19bef8=_0x4e639c[_0xaae9('0x4c')](_0x336988,_0x1164e9);_0x336988[_0xaae9('0x31')](),_0x1164e9[_0xaae9('0x31')](),_0x29cfe8[_0xaae9('0x4e')](_0x207032,{'commandName':'imageTypeInline','commandParams':[]},[],_0xaae9('0x61')),_0x19bef8['start'][_0xaae9('0x4d')](_0x2ecf4b[_0xaae9('0x30')])&&_0x29cfe8[_0xaae9('0x73')](_0x4e639c[_0xaae9('0x4c')](_0x19bef8['start'],_0x2ecf4b[_0xaae9('0x30')]),_0xaae9('0x61')),_0x2ecf4b[_0xaae9('0x37')][_0xaae9('0x4d')](_0x19bef8['end'])&&_0x29cfe8[_0xaae9('0x73')](_0x4e639c[_0xaae9('0x4c')](_0x2ecf4b[_0xaae9('0x37')],_0x19bef8[_0xaae9('0x37')]),_0xaae9('0x61'));});}),_0x29cfe8['_suggestionFactory']['registerCustomCallback'](_0xaae9('0x1f'),'convertInlineImageToBlock',_0xaae9('0x20'),()=>{}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('formatBlock','convertInlineImageToBlock',_0xaae9('0x28'),()=>{}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('formatBlock','convertInlineImageToBlock',_0xaae9('0x63'),_0x29cfe8['_suggestionFactory']['getSuggestionCallback'](_0xaae9('0x1f'),'',_0xaae9('0x28'))),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('insertion',_0xaae9('0x61'),_0xaae9('0x20'),()=>{}),_0x29cfe8[_0xaae9('0x36')]['registerCustomCallback'](_0xaae9('0x40'),_0xaae9('0x61'),_0xaae9('0x63'),([_0x18d29c])=>{const _0x2afe8e=_0x29cfe8[_0xaae9('0x36')]['getSuggestionCallback'](_0xaae9('0x40'),'',_0xaae9('0x63'));let _0x3517d8=_0x18d29c[_0xaae9('0x30')],_0x5d17f3=_0x18d29c[_0xaae9('0x37')];const _0x5cf0ac=_0x3cda2c['model'][_0xaae9('0x4b')][_0xaae9('0x3')](_0x3517d8,_0xaae9('0x65')),_0x44dc4c=_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x4b')][_0xaae9('0x3')](_0x5d17f3,'forward');_0x5cf0ac['isCollapsed']&&(_0x3517d8=_0x5cf0ac[_0xaae9('0x30')]),_0x44dc4c[_0xaae9('0x71')]&&(_0x5d17f3=_0x44dc4c[_0xaae9('0x37')]),_0x2afe8e([_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x4c')](_0x3517d8,_0x5d17f3)]);}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('formatBlock',_0xaae9('0x61'),_0xaae9('0x16'),_0x1fad3c),_0x29cfe8[_0xaae9('0x36')]['registerCustomCallback'](_0xaae9('0x40'),'convertInlineImageToBlock',_0xaae9('0x16'),_0x1fad3c)),_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x25')](_0xaae9('0x74'))&&(_0x29cfe8[_0xaae9('0x6c')](_0xaae9('0x46'),(_0x418a67,_0x5f1b3e)=>{const _0x360ef1=_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x6d')](_0xaae9('0x35'));let _0x3375c5=_0x4955f5[_0xaae9('0x18')](_0x3cda2c['model'][_0xaae9('0x27')]['selection']),_0x496676=_0x360ef1[_0xaae9('0x6f')](_0x3375c5);_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x5')](()=>{if(_0x496676)return void _0x29cfe8['markDeletion'](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x1e')](_0x496676));const _0x487834=_0x4955f5[_0xaae9('0x5f')](_0x3375c5);_0x418a67(_0x5f1b3e),_0x3375c5=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')]['document']['selection']),_0x496676=_0x360ef1['getCaptionFromImageModelElement'](_0x3375c5),_0x29cfe8[_0xaae9('0x73')](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x1e')](_0x496676),_0x487834?null:_0xaae9('0x3b'));});}),_0x29cfe8['_suggestionFactory'][_0xaae9('0x1')](_0xaae9('0x40'),_0xaae9('0x3b'),_0xaae9('0x16'),_0x1fad3c)),_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x25')]('ImageStyleEditing')){_0x29cfe8[_0xaae9('0x6c')]('imageStyle',(_0x1d21d2,_0x2bb593)=>{const _0x162e62=_0x3cda2c[_0xaae9('0x69')][_0xaae9('0x6d')](_0xaae9('0x67'))['me'],_0x554c62=_0x3cda2c['commands'][_0xaae9('0x6d')](_0xaae9('0x21'));let _0x5aef3b=_0x4955f5[_0xaae9('0x18')](_0x3cda2c['model'][_0xaae9('0x27')]['selection']),_0x3c213c=_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x1e')](_0x5aef3b),_0x194334=_0x554c62[_0xaae9('0x4')];if(_0x194334==_0x2bb593[_0xaae9('0x4')])return;const _0x3c797d={'commandName':_0xaae9('0x21'),'commandParams':[_0x2bb593],'formatGroupId':_0x4fa904()};_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x5')](()=>{if(_0x29cfe8['getSuggestions']()[_0xaae9('0x48')](_0x451be2=>_0x451be2[_0xaae9('0x47')]&&_0x162e62==_0x451be2['author']&&('formatBlock'==_0x451be2[_0xaae9('0x5d')]||_0xaae9('0xa')==_0x451be2[_0xaae9('0x5d')])&&(_0xaae9('0x51')==_0x451be2[_0xaae9('0x10')]||'imageStylePostApply'==_0x451be2['subType'])&&_0x451be2[_0xaae9('0x34')]()[_0xaae9('0xe')](_0x3c213c))[_0xaae9('0x64')](_0x4a3734=>_0x29cfe8[_0xaae9('0xb')](_0x4a3734['head'])),_0x5aef3b=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x27')][_0xaae9('0x52')]),_0x3c213c=_0x3cda2c[_0xaae9('0x53')]['createRangeOn'](_0x5aef3b),_0x554c62['refresh'](),_0x3cda2c['commands'][_0xaae9('0x6d')](_0xaae9('0x58'))[_0xaae9('0x12')](),_0x3cda2c['commands'][_0xaae9('0x6d')](_0xaae9('0x6a'))[_0xaae9('0x12')](),_0x194334=_0x554c62['value'],_0x194334!=_0x2bb593[_0xaae9('0x4')])return _0x4955f5['isInlineImage'](_0x5aef3b)&&_0x554c62['shouldConvertImageType'](_0x2bb593[_0xaae9('0x4')],_0x5aef3b)?(_0x1d21d2(_0x2bb593),_0x5aef3b=_0x4955f5[_0xaae9('0x18')](_0x3cda2c[_0xaae9('0x53')]['document'][_0xaae9('0x52')]),void _0x29cfe8[_0xaae9('0x4e')](_0x5aef3b,{..._0x3c797d,'commandReversedParams':[{'value':_0x194334||null}]},[],_0xaae9('0x51'))):void(_0x4955f5[_0xaae9('0x5f')](_0x5aef3b)?_0x29cfe8[_0xaae9('0x4e')](_0x5aef3b,_0x3c797d,[],'imageStylePostApply'):_0x29cfe8[_0xaae9('0x68')](_0x3c213c,_0x3c797d,'imageStylePostApply'));});});for(const _0x40af44 of _0x3cda2c['plugins'][_0xaae9('0x6d')](_0xaae9('0x49'))[_0xaae9('0xf')])_0x56c8f5[_0x40af44['name']]=_0x40af44['title'][_0xaae9('0x60')]();_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('formatBlock','imageStylePreApply',_0xaae9('0x20'),()=>{}),_0x29cfe8[_0xaae9('0x36')]['registerCustomCallback'](_0xaae9('0x1f'),_0xaae9('0xc'),_0xaae9('0x20'),()=>{}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')](_0xaae9('0xa'),_0xaae9('0xc'),_0xaae9('0x20'),()=>{}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')](_0xaae9('0x1f'),_0xaae9('0x51'),_0xaae9('0x28'),()=>{}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')](_0xaae9('0x1f'),_0xaae9('0x51'),_0xaae9('0x63'),(_0x5b6335,_0x539bf7)=>{_0x29cfe8['_suggestionFactory'][_0xaae9('0x54')](_0xaae9('0x1f'),'',_0xaae9('0x28'))(_0x5b6335,{'commandName':_0x539bf7[_0xaae9('0x32')],'commandParams':_0x539bf7[_0xaae9('0x6')]});}),_0x29cfe8[_0xaae9('0x36')][_0xaae9('0x1')]('formatBlock','imageStylePreApply',_0xaae9('0x16'),_0x1fad3c);}const _0x4473e9=[{'type':_0xaae9('0x1f'),'subType':_0xaae9('0x51')},{'type':_0xaae9('0x40'),'subType':_0xaae9('0x3b')},{'type':_0xaae9('0x1f'),'subType':_0xaae9('0x61')},{'type':_0xaae9('0x40'),'subType':_0xaae9('0x61')}];function _0x568a5c(_0x47fd62,_0x55a129){const _0x424ed5=_0x4473e9['findIndex'](({type:_0x25fd77,subType:_0xf90cd2})=>_0x47fd62[_0xaae9('0x5d')]==_0x25fd77&&_0x47fd62['subType']==_0xf90cd2),_0x20536a=_0x4473e9[_0xaae9('0x62')](({type:_0x5e3d86,subType:_0x487e74})=>_0x55a129[_0xaae9('0x5d')]==_0x5e3d86&&_0x55a129['subType']==_0x487e74);if(_0x424ed5<0x0||_0x20536a<0x0)return!0x1;const _0x51ea1a=_0x47fd62[_0xaae9('0x34')](),_0x1f789e=_0x55a129[_0xaae9('0x34')]();if((0x0==_0x424ed5||0x1==_0x424ed5)&&0x2==_0x20536a&&_0x51ea1a[_0xaae9('0x42')](_0x1f789e))return!0x0;if(0x2==_0x424ed5&&0x3==_0x20536a){const _0x58e0b7=_0x29cfe8[_0xaae9('0x7')](_0x51ea1a,_0xaae9('0x40'))[_0xaae9('0x48')](({suggestion:_0x4ea1d2,meta:_0x15de98})=>_0x15de98['isOwn']&&_0xaae9('0x61')==_0x4ea1d2[_0xaae9('0x10')]);if(_0x58e0b7[_0xaae9('0x4a')]>0x1&&_0x1f789e[_0xaae9('0x37')][_0xaae9('0xe')](_0x51ea1a[_0xaae9('0x30')]))return!0x0;if(0x1==_0x58e0b7[_0xaae9('0x4a')]&&(_0x51ea1a['start'][_0xaae9('0xe')](_0x1f789e[_0xaae9('0x37')])||_0x51ea1a[_0xaae9('0x37')][_0xaae9('0xe')](_0x1f789e[_0xaae9('0x30')])))return!0x0;}if(0x3==_0x424ed5&&0x3==_0x20536a&&_0x51ea1a[_0xaae9('0x30')]['isBefore'](_0x1f789e[_0xaae9('0x30')])){const _0x5e8e2f=_0x51ea1a[_0xaae9('0x37')][_0xaae9('0x5b')],_0x2aacc6=_0x1f789e[_0xaae9('0x30')]['nodeBefore'];return _0x4955f5['isBlockImage'](_0x5e8e2f)&&_0x5e8e2f===_0x2aacc6;}return!0x1;}function _0x1fad3c(_0x2e6892,_0x4de6c7){return _0x568a5c(_0x2e6892,_0x4de6c7)?[_0x2e6892,_0x4de6c7]:_0x568a5c(_0x4de6c7,_0x2e6892)?[_0x4de6c7,_0x2e6892]:null;}_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x27')][_0xaae9('0x1d')](()=>{let _0x21df55=!0x1;const _0x2a9e32=Array[_0xaae9('0x2d')](_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x27')][_0xaae9('0x29')][_0xaae9('0x72')]());for(const {name:_0x40f836,data:_0x3798b3}of _0x2a9e32){const {group:_0x34a39a,type:_0x2739eb,subType:_0x14c540,id:_0xe56b54}=_0x29cfe8[_0xaae9('0x59')](_0x40f836);if(_0xaae9('0x3f')==_0x34a39a&&_0x29cfe8[_0xaae9('0x11')](_0xe56b54)){if(_0xaae9('0x1f')==_0x2739eb&&(_0xaae9('0x51')==_0x14c540||_0xaae9('0xc')==_0x14c540)){const _0x1cc9a1=_0x29cfe8[_0xaae9('0x38')](_0xe56b54);if(_0x3798b3['newRange']){const _0x287bf3=_0x1cc9a1[_0xaae9('0x34')]()[_0xaae9('0x39')]();if(_0x4955f5[_0xaae9('0x5f')](_0x287bf3))continue;_0x29cfe8['discardSuggestion'](_0x1cc9a1),_0x21df55=!0x0;}}if(_0xaae9('0x40')==_0x2739eb&&_0xaae9('0x3b')==_0x14c540&&!_0x3798b3[_0xaae9('0x5e')]){const _0x1795ef=_0x29cfe8['getSuggestion'](_0xe56b54);_0x1795ef[_0xaae9('0x6b')]&&_0x1795ef[_0xaae9('0x6b')][_0xaae9('0x47')]&&(_0x29cfe8['discardSuggestion'](_0x1795ef['next']),_0x21df55=!0x0);}}}return _0x21df55;}),_0x3cda2c['plugins']['has'](_0xaae9('0x1b'))&&_0x29cfe8['enableCommand']('resizeImage',(_0xa3f640,_0x2aa9d2)=>{const _0x19d61c=_0x4955f5['getClosestSelectedImageElement'](_0x3cda2c[_0xaae9('0x53')]['document'][_0xaae9('0x52')]);_0x19d61c[_0xaae9('0x50')](_0xaae9('0x13'))!=_0x2aa9d2['width']&&_0x3cda2c['model'][_0xaae9('0x5')](()=>{_0x29cfe8[_0xaae9('0x4e')](_0x19d61c,{'commandName':_0xaae9('0x41'),'commandParams':[_0x2aa9d2]});});}),_0x3cda2c[_0xaae9('0x69')]['has'](_0xaae9('0x3d'))&&_0x29cfe8[_0xaae9('0x6c')](_0xaae9('0x55'),(_0x10fbfb,_0x178994)=>{const _0x4cd9b4=_0x4955f5['getClosestSelectedImageElement'](_0x3cda2c[_0xaae9('0x53')]['document'][_0xaae9('0x52')]);(_0x4cd9b4[_0xaae9('0x3e')](_0xaae9('0x45'))?_0x4cd9b4[_0xaae9('0x50')]('alt'):'')!=_0x178994['newValue']&&_0x3cda2c[_0xaae9('0x53')][_0xaae9('0x5')](()=>{_0x29cfe8[_0xaae9('0x4e')](_0x4cd9b4,{'commandName':_0xaae9('0x55'),'commandParams':[_0x178994]});});}),_0x29cfe8[_0xaae9('0x3c')][_0xaae9('0x33')](_0x32e5c1=>{if(!!_0x4473e9[_0xaae9('0x5c')](({type:_0x14e8e0,subType:_0x30418a})=>_0x32e5c1[_0xaae9('0x5d')]==_0x14e8e0&&_0x32e5c1[_0xaae9('0x10')]==_0x30418a))return _0x32e5c1[_0xaae9('0x66')]?{}:void 0x0;}),_0x29cfe8['_descriptionFactory'][_0xaae9('0x33')](_0x351291=>{if('insertion'==_0x351291['type']||_0xaae9('0x1c')==_0x351291[_0xaae9('0x5d')]){const _0x4bbd6e=_0x351291[_0xaae9('0x39')]();if(_0x4bbd6e&&_0x4bbd6e['is'](_0xaae9('0x1a'),_0xaae9('0x26')))return{'type':_0xaae9('0x40')==_0x351291[_0xaae9('0x5d')]?_0xaae9('0x14'):_0xaae9('0x2b'),'element':_0x4bbd6e,'quantity':0x1};}}),_0x29cfe8[_0xaae9('0x3c')][_0xaae9('0x33')](_0x513a54=>_0xaae9('0x1f')==_0x513a54[_0xaae9('0x5d')]&&_0xaae9('0x61')==_0x513a54[_0xaae9('0x10')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0xaae9('0x1f')==_0x513a54[_0xaae9('0x5d')]&&'convertBlockImageToInline'==_0x513a54[_0xaae9('0x10')]?{'type':_0xaae9('0x5a'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x29cfe8[_0xaae9('0x3c')][_0xaae9('0x33')](_0x2988c7=>{const {data:_0xa01c1f}=_0x2988c7;if(_0xa01c1f){if(_0xaae9('0x21')==_0xa01c1f[_0xaae9('0x32')]){const _0x3ec1ee=_0xa01c1f[_0xaae9('0x70')][0x0]['value'];return _0x64746a('side'===_0x3ec1ee?_0x377cc3(_0x381724,_0xaae9('0xd')):_0x56c8f5[_0x3ec1ee]||_0x3ec1ee);}if(_0xaae9('0x55')==_0xa01c1f[_0xaae9('0x32')]){const _0x2eb9cc=_0xa01c1f[_0xaae9('0x70')][0x0][_0xaae9('0x2a')];return _0x2eb9cc?{'type':_0xaae9('0x5a'),'content':_0x377cc3(_0x381724,_0xaae9('0x44'),'\x22'+_0x2eb9cc+'\x22')}:{'type':'format','content':_0x377cc3(_0x381724,_0xaae9('0x4f'))};}if(_0xaae9('0x41')==_0xa01c1f[_0xaae9('0x32')]){const _0x412232=_0xa01c1f[_0xaae9('0x70')][0x0][_0xaae9('0x13')];return _0x412232?{'type':'format','content':_0x377cc3(_0x381724,'*Set\x20image\x20width:*\x20%0',_0x412232)}:{'type':'format','content':_0x377cc3(_0x381724,_0xaae9('0x22'))};}}function _0x64746a(_0x3499ee){return{'type':_0xaae9('0x5a'),'content':_0x377cc3(_0x381724,_0xaae9('0x2f'),_0x3499ee)};}});}}
23
+ const _0x3048=['convertBlockImageToInline','previous','ImageUtils','format','width','ImageEditing','filter','caption','backward','from','author','registerDescriptionCallback','detach','toPrevious','isEqual','getFirstRange','markBlockFormat','ImageUploadEditing','ImageInlineEditing','imageTypeInline','registerPostFixer','discardSuggestion','resizeImage','end','findIndex','deletion','*Remove\x20image\x20text\x20alternative*','markInlineFormat','FORMAT_SIDE_IMAGE','isOwn','imageStylePostApply','head','formatInline','ELEMENT_IMAGE','insertImage','fromPosition','hasSuggestion','getAttribute','imageTypeBlock','refresh','getCaptionFromImageModelElement','newValue','isBefore','imageCaption','length','Block\x20image\x20to\x20inline\x20image','start','discard','editor','schema','selection','*Set\x20image\x20text\x20alternative:*\x20%0','Inline\x20image\x20to\x20block\x20image','type','getSuggestionCallback','has','side','getClosestSelectedImageElement','createRange','change','getSuggestion','_suggestionFactory','_descriptionFactory','commandName','join','commandParams','get','_splitMarkerName','markInsertion','Users','value','name','plugins','document','next','imageStylePreApply','ImageStyleEditing','commandReversedParams','imageBlock','imageStyle','ELEMENT_CAPTION','isBlockImage','ELEMENT_INLINE_IMAGE','newRange','element','getNearestSelectionRange','_findSuggestions','isIntersecting','getChangedMarkers','commands','convertInlineImageToBlock','toggleImageCaption','chain','suggestion','insertion','alt','getSuggestions','forceDefaultExecution','toLowerCase','isInContent','subType','markDeletion','imageTextAlternative','registerElementLabel','shouldConvertImageType','formatBlock','createRangeOn','getContainedElement','ImageResize','*Set\x20image\x20width:*\x20%0','accept','isInlineImage','model','registerCustomCallback','enableCommand'];(function(_0x57f34c,_0x3048ef){const _0x499d65=function(_0x2c0678){while(--_0x2c0678){_0x57f34c['push'](_0x57f34c['shift']());}};_0x499d65(++_0x3048ef);}(_0x3048,0x1d5));const _0x499d=function(_0x57f34c,_0x3048ef){_0x57f34c=_0x57f34c-0x0;let _0x499d65=_0x3048[_0x57f34c];return _0x499d65;};import{Plugin as _0x15b639}from'ckeditor5/src/core';import{LivePosition as _0x35f125}from'ckeditor5/src/engine';import{uid as _0x2657c7}from'ckeditor5/src/utils';import{getTranslation as _0x283ee5}from'../utils/common-translations';export default class X extends _0x15b639{['afterInit'](){const _0x21fc27=this[_0x499d('0x27')];if(!_0x21fc27[_0x499d('0x3f')][_0x499d('0x2e')](_0x499d('0x6f')))return;const _0x4fda5b=_0x21fc27[_0x499d('0x3f')]['get']('TrackChangesEditing'),_0x244721=_0x21fc27['plugins'][_0x499d('0x39')](_0x499d('0x6c')),_0x112600={},_0x47a6dd=_0x21fc27['locale'];if(_0x4fda5b['enableCommand'](_0x499d('0x19')),_0x4fda5b['_descriptionFactory'][_0x499d('0x5e')](_0x499d('0x45'),_0x328131=>_0x283ee5(_0x47a6dd,_0x499d('0x18'),_0x328131)),_0x4fda5b[_0x499d('0x35')][_0x499d('0x5e')]('imageInline',_0x44b624=>_0x283ee5(_0x47a6dd,_0x499d('0x49'),_0x44b624)),_0x4fda5b['_descriptionFactory'][_0x499d('0x5e')](_0x499d('0x71'),()=>_0x283ee5(_0x47a6dd,_0x499d('0x47'))),_0x21fc27[_0x499d('0x3f')]['has'](_0x499d('0x8'))&&_0x4fda5b[_0x499d('0x69')]('uploadImage'),_0x21fc27[_0x499d('0x3f')][_0x499d('0x2e')]('ImageBlockEditing')&&_0x21fc27[_0x499d('0x3f')][_0x499d('0x2e')](_0x499d('0x9'))&&(_0x4fda5b[_0x499d('0x69')]('imageTypeInline',(_0x5bbdd0,_0xdde5ef)=>{const _0x32d664=_0x244721[_0x499d('0x30')](_0x21fc27[_0x499d('0x67')]['document'][_0x499d('0x29')]);_0x21fc27['model'][_0x499d('0x32')](()=>{_0x4fda5b['markBlockFormat'](_0x32d664,{'commandName':_0x499d('0xa'),'commandParams':[_0xdde5ef]},[],_0x499d('0x6a'));});}),_0x4fda5b[_0x499d('0x69')](_0x499d('0x1d'),(_0x3b399e,_0x1120e1)=>{_0x21fc27['model'][_0x499d('0x32')](_0x4dd776=>{let _0x4e6f49=_0x244721[_0x499d('0x30')](_0x21fc27[_0x499d('0x67')][_0x499d('0x40')]['selection']),_0x195ff0=_0x4dd776[_0x499d('0x61')](_0x4e6f49);const _0x25088e=_0x35f125[_0x499d('0x1a')](_0x195ff0['start'],_0x499d('0x4')),_0x520a74=_0x35f125[_0x499d('0x1a')](_0x195ff0['end'],'toNext');_0x4fda5b[_0x499d('0x58')](()=>_0x3b399e(_0x1120e1)),_0x4e6f49=_0x244721[_0x499d('0x30')](_0x21fc27['model']['document'][_0x499d('0x29')]),_0x195ff0=_0x4dd776[_0x499d('0x61')](_0x4e6f49);const _0x1769c9=_0x4dd776[_0x499d('0x31')](_0x25088e,_0x520a74);_0x25088e[_0x499d('0x3')](),_0x520a74['detach'](),_0x4fda5b[_0x499d('0x7')](_0x4e6f49,{'commandName':_0x499d('0xa'),'commandParams':[]},[],_0x499d('0x51')),_0x1769c9[_0x499d('0x25')][_0x499d('0x21')](_0x195ff0[_0x499d('0x25')])&&_0x4fda5b[_0x499d('0x3b')](_0x4dd776['createRange'](_0x1769c9[_0x499d('0x25')],_0x195ff0['start']),_0x499d('0x51')),_0x195ff0[_0x499d('0xe')]['isBefore'](_0x1769c9['end'])&&_0x4fda5b['markInsertion'](_0x4dd776[_0x499d('0x31')](_0x195ff0[_0x499d('0xe')],_0x1769c9[_0x499d('0xe')]),_0x499d('0x51'));});}),_0x4fda5b[_0x499d('0x34')][_0x499d('0x68')](_0x499d('0x60'),_0x499d('0x51'),_0x499d('0x37'),()=>{}),_0x4fda5b['_suggestionFactory'][_0x499d('0x68')](_0x499d('0x60'),'convertInlineImageToBlock','accept',()=>{}),_0x4fda5b[_0x499d('0x34')][_0x499d('0x68')](_0x499d('0x60'),_0x499d('0x51'),'discard',_0x4fda5b['_suggestionFactory'][_0x499d('0x2d')](_0x499d('0x60'),'','accept')),_0x4fda5b[_0x499d('0x34')]['registerCustomCallback']('insertion',_0x499d('0x51'),_0x499d('0x37'),()=>{}),_0x4fda5b[_0x499d('0x34')]['registerCustomCallback'](_0x499d('0x55'),'convertInlineImageToBlock','discard',([_0x195205])=>{const _0x467ef3=_0x4fda5b[_0x499d('0x34')][_0x499d('0x2d')]('insertion','',_0x499d('0x26'));let _0x1191c6=_0x195205['start'],_0x46fd63=_0x195205[_0x499d('0xe')];const _0x47f2ab=_0x21fc27[_0x499d('0x67')][_0x499d('0x28')][_0x499d('0x4c')](_0x1191c6,_0x499d('0x72')),_0x3743a4=_0x21fc27[_0x499d('0x67')][_0x499d('0x28')][_0x499d('0x4c')](_0x46fd63,'forward');_0x47f2ab['isCollapsed']&&(_0x1191c6=_0x47f2ab['start']),_0x3743a4['isCollapsed']&&(_0x46fd63=_0x3743a4[_0x499d('0xe')]),_0x467ef3([_0x21fc27[_0x499d('0x67')]['createRange'](_0x1191c6,_0x46fd63)]);}),_0x4fda5b[_0x499d('0x34')][_0x499d('0x68')]('formatBlock',_0x499d('0x51'),_0x499d('0x53'),_0x42aff9),_0x4fda5b['_suggestionFactory'][_0x499d('0x68')]('insertion','convertInlineImageToBlock',_0x499d('0x53'),_0x42aff9)),_0x21fc27[_0x499d('0x3f')]['has']('ImageCaptionEditing')&&(_0x4fda5b['enableCommand'](_0x499d('0x52'),(_0x3bb644,_0x4b2c73)=>{const _0x3e9057=_0x21fc27[_0x499d('0x3f')][_0x499d('0x39')]('ImageCaptionUtils');let _0x19d5ab=_0x244721[_0x499d('0x30')](_0x21fc27['model'][_0x499d('0x40')][_0x499d('0x29')]),_0x466e46=_0x3e9057[_0x499d('0x1f')](_0x19d5ab);_0x21fc27[_0x499d('0x67')][_0x499d('0x32')](()=>{if(_0x466e46)return void _0x4fda5b[_0x499d('0x5c')](_0x21fc27['model'][_0x499d('0x61')](_0x466e46));const _0x178bf0=_0x244721[_0x499d('0x48')](_0x19d5ab);_0x3bb644(_0x4b2c73),_0x19d5ab=_0x244721[_0x499d('0x30')](_0x21fc27[_0x499d('0x67')][_0x499d('0x40')][_0x499d('0x29')]),_0x466e46=_0x3e9057[_0x499d('0x1f')](_0x19d5ab),_0x4fda5b[_0x499d('0x3b')](_0x21fc27[_0x499d('0x67')][_0x499d('0x61')](_0x466e46),_0x178bf0?null:_0x499d('0x22'));});}),_0x4fda5b['_suggestionFactory'][_0x499d('0x68')](_0x499d('0x55'),'imageCaption',_0x499d('0x53'),_0x42aff9)),_0x21fc27['plugins'][_0x499d('0x2e')](_0x499d('0x43'))){_0x4fda5b['enableCommand'](_0x499d('0x46'),(_0x4a100d,_0x33c422)=>{const _0x36b023=_0x21fc27[_0x499d('0x3f')][_0x499d('0x39')](_0x499d('0x3c'))['me'],_0x52f54d=_0x21fc27[_0x499d('0x50')][_0x499d('0x39')](_0x499d('0x46'));let _0x3aa6cc=_0x244721[_0x499d('0x30')](_0x21fc27['model'][_0x499d('0x40')]['selection']),_0x3c4c44=_0x21fc27[_0x499d('0x67')][_0x499d('0x61')](_0x3aa6cc),_0x34df90=_0x52f54d[_0x499d('0x3d')];if(_0x34df90==_0x33c422['value'])return;const _0x290645={'commandName':_0x499d('0x46'),'commandParams':[_0x33c422],'formatGroupId':_0x2657c7()};_0x21fc27[_0x499d('0x67')][_0x499d('0x32')](()=>{if(_0x4fda5b[_0x499d('0x57')]()['filter'](_0x22a748=>_0x22a748[_0x499d('0x5a')]&&_0x36b023==_0x22a748[_0x499d('0x1')]&&(_0x499d('0x60')==_0x22a748[_0x499d('0x2c')]||_0x499d('0x17')==_0x22a748[_0x499d('0x2c')])&&(_0x499d('0x42')==_0x22a748[_0x499d('0x5b')]||_0x499d('0x15')==_0x22a748[_0x499d('0x5b')])&&_0x22a748[_0x499d('0x6')]()['isEqual'](_0x3c4c44))['forEach'](_0x444de9=>_0x4fda5b['discardSuggestion'](_0x444de9[_0x499d('0x16')])),_0x3aa6cc=_0x244721[_0x499d('0x30')](_0x21fc27[_0x499d('0x67')][_0x499d('0x40')]['selection']),_0x3c4c44=_0x21fc27[_0x499d('0x67')][_0x499d('0x61')](_0x3aa6cc),_0x52f54d[_0x499d('0x1e')](),_0x21fc27[_0x499d('0x50')][_0x499d('0x39')](_0x499d('0xa'))[_0x499d('0x1e')](),_0x21fc27[_0x499d('0x50')]['get'](_0x499d('0x1d'))[_0x499d('0x1e')](),_0x34df90=_0x52f54d['value'],_0x34df90!=_0x33c422['value'])return _0x244721[_0x499d('0x66')](_0x3aa6cc)&&_0x52f54d[_0x499d('0x5f')](_0x33c422[_0x499d('0x3d')],_0x3aa6cc)?(_0x4a100d(_0x33c422),_0x3aa6cc=_0x244721['getClosestSelectedImageElement'](_0x21fc27[_0x499d('0x67')][_0x499d('0x40')][_0x499d('0x29')]),void _0x4fda5b[_0x499d('0x7')](_0x3aa6cc,{..._0x290645,'commandReversedParams':[{'value':_0x34df90||null}]},[],_0x499d('0x42'))):void(_0x244721[_0x499d('0x48')](_0x3aa6cc)?_0x4fda5b[_0x499d('0x7')](_0x3aa6cc,_0x290645,[],_0x499d('0x15')):_0x4fda5b[_0x499d('0x12')](_0x3c4c44,_0x290645,_0x499d('0x15')));});});for(const _0x3f9776 of _0x21fc27['plugins']['get'](_0x499d('0x43'))['normalizedStyles'])_0x112600[_0x3f9776[_0x499d('0x3e')]]=_0x3f9776['title'][_0x499d('0x59')]();_0x4fda5b[_0x499d('0x34')][_0x499d('0x68')](_0x499d('0x60'),_0x499d('0x42'),'join',()=>{}),_0x4fda5b[_0x499d('0x34')][_0x499d('0x68')](_0x499d('0x60'),'imageStylePostApply','join',()=>{}),_0x4fda5b[_0x499d('0x34')]['registerCustomCallback']('formatInline','imageStylePostApply',_0x499d('0x37'),()=>{}),_0x4fda5b['_suggestionFactory'][_0x499d('0x68')](_0x499d('0x60'),_0x499d('0x42'),_0x499d('0x65'),()=>{}),_0x4fda5b[_0x499d('0x34')]['registerCustomCallback'](_0x499d('0x60'),'imageStylePreApply',_0x499d('0x26'),(_0x4628a1,_0x2ec0a1)=>{_0x4fda5b['_suggestionFactory'][_0x499d('0x2d')](_0x499d('0x60'),'',_0x499d('0x65'))(_0x4628a1,{'commandName':_0x2ec0a1[_0x499d('0x36')],'commandParams':_0x2ec0a1[_0x499d('0x44')]});}),_0x4fda5b['_suggestionFactory'][_0x499d('0x68')]('formatBlock',_0x499d('0x42'),_0x499d('0x53'),_0x42aff9);}const _0x654b80=[{'type':'formatBlock','subType':_0x499d('0x42')},{'type':'insertion','subType':_0x499d('0x22')},{'type':_0x499d('0x60'),'subType':_0x499d('0x51')},{'type':_0x499d('0x55'),'subType':_0x499d('0x51')}];function _0x3066fe(_0x170875,_0x163277){const _0x480f9c=_0x654b80[_0x499d('0xf')](({type:_0x2b55fb,subType:_0x5cc93a})=>_0x170875[_0x499d('0x2c')]==_0x2b55fb&&_0x170875['subType']==_0x5cc93a),_0x156a39=_0x654b80[_0x499d('0xf')](({type:_0x5ad402,subType:_0x2083df})=>_0x163277[_0x499d('0x2c')]==_0x5ad402&&_0x163277[_0x499d('0x5b')]==_0x2083df);if(_0x480f9c<0x0||_0x156a39<0x0)return!0x1;const _0x37f390=_0x170875['getFirstRange'](),_0x2647be=_0x163277[_0x499d('0x6')]();if((0x0==_0x480f9c||0x1==_0x480f9c)&&0x2==_0x156a39&&_0x37f390[_0x499d('0x4e')](_0x2647be))return!0x0;if(0x2==_0x480f9c&&0x3==_0x156a39){const _0x499c21=_0x4fda5b[_0x499d('0x4d')](_0x37f390,'insertion')[_0x499d('0x70')](({suggestion:_0x28d927,meta:_0x1b4183})=>_0x1b4183[_0x499d('0x14')]&&_0x499d('0x51')==_0x28d927[_0x499d('0x5b')]);if(_0x499c21[_0x499d('0x23')]>0x1&&_0x2647be[_0x499d('0xe')][_0x499d('0x5')](_0x37f390[_0x499d('0x25')]))return!0x0;if(0x1==_0x499c21[_0x499d('0x23')]&&(_0x37f390[_0x499d('0x25')]['isEqual'](_0x2647be[_0x499d('0xe')])||_0x37f390[_0x499d('0xe')][_0x499d('0x5')](_0x2647be[_0x499d('0x25')])))return!0x0;}if(0x3==_0x480f9c&&0x3==_0x156a39&&_0x37f390[_0x499d('0x25')]['isBefore'](_0x2647be[_0x499d('0x25')])){const _0x2b7df0=_0x37f390[_0x499d('0xe')]['nodeAfter'],_0x3ebeae=_0x2647be[_0x499d('0x25')]['nodeBefore'];return _0x244721['isBlockImage'](_0x2b7df0)&&_0x2b7df0===_0x3ebeae;}return!0x1;}function _0x42aff9(_0x259050,_0x39031f){return _0x3066fe(_0x259050,_0x39031f)?[_0x259050,_0x39031f]:_0x3066fe(_0x39031f,_0x259050)?[_0x39031f,_0x259050]:null;}_0x21fc27[_0x499d('0x67')][_0x499d('0x40')][_0x499d('0xb')](()=>{let _0x10d014=!0x1;const _0x5ec257=Array[_0x499d('0x0')](_0x21fc27[_0x499d('0x67')]['document']['differ'][_0x499d('0x4f')]());for(const {name:_0x3fc2,data:_0x31bf71}of _0x5ec257){const {group:_0x55fee5,type:_0x299786,subType:_0xafebcf,id:_0x796d9}=_0x4fda5b[_0x499d('0x3a')](_0x3fc2);if(_0x499d('0x54')==_0x55fee5&&_0x4fda5b[_0x499d('0x1b')](_0x796d9)){if('formatBlock'==_0x299786&&(_0x499d('0x42')==_0xafebcf||_0x499d('0x15')==_0xafebcf)){const _0x2229d3=_0x4fda5b['getSuggestion'](_0x796d9);if(_0x31bf71['newRange']){const _0x54832b=_0x2229d3[_0x499d('0x6')]()[_0x499d('0x62')]();if(_0x244721['isBlockImage'](_0x54832b))continue;_0x4fda5b[_0x499d('0xc')](_0x2229d3),_0x10d014=!0x0;}}if('insertion'==_0x299786&&_0x499d('0x22')==_0xafebcf&&!_0x31bf71[_0x499d('0x4a')]){const _0x3e8799=_0x4fda5b[_0x499d('0x33')](_0x796d9);_0x3e8799[_0x499d('0x41')]&&_0x3e8799[_0x499d('0x41')][_0x499d('0x5a')]&&(_0x4fda5b[_0x499d('0xc')](_0x3e8799[_0x499d('0x41')]),_0x10d014=!0x0);}}}return _0x10d014;}),_0x21fc27[_0x499d('0x3f')][_0x499d('0x2e')](_0x499d('0x63'))&&_0x4fda5b[_0x499d('0x69')](_0x499d('0xd'),(_0x32f36f,_0x66dad8)=>{const _0x172f5a=_0x244721['getClosestSelectedImageElement'](_0x21fc27['model']['document']['selection']);_0x172f5a[_0x499d('0x1c')]('width')!=_0x66dad8[_0x499d('0x6e')]&&_0x21fc27[_0x499d('0x67')][_0x499d('0x32')](()=>{_0x4fda5b[_0x499d('0x7')](_0x172f5a,{'commandName':_0x499d('0xd'),'commandParams':[_0x66dad8]});});}),_0x21fc27[_0x499d('0x3f')][_0x499d('0x2e')]('ImageTextAlternativeEditing')&&_0x4fda5b[_0x499d('0x69')](_0x499d('0x5d'),(_0x446a11,_0x24f49f)=>{const _0x1b6926=_0x244721[_0x499d('0x30')](_0x21fc27[_0x499d('0x67')]['document']['selection']);(_0x1b6926['hasAttribute'](_0x499d('0x56'))?_0x1b6926['getAttribute']('alt'):'')!=_0x24f49f[_0x499d('0x20')]&&_0x21fc27[_0x499d('0x67')]['change'](()=>{_0x4fda5b['markBlockFormat'](_0x1b6926,{'commandName':_0x499d('0x5d'),'commandParams':[_0x24f49f]});});}),_0x4fda5b['_descriptionFactory'][_0x499d('0x2')](_0x2da909=>{if(!!_0x654b80['find'](({type:_0x1431b5,subType:_0x543c25})=>_0x2da909[_0x499d('0x2c')]==_0x1431b5&&_0x2da909[_0x499d('0x5b')]==_0x543c25))return _0x2da909[_0x499d('0x6b')]?{}:void 0x0;}),_0x4fda5b[_0x499d('0x35')][_0x499d('0x2')](_0x1247d4=>{if(_0x499d('0x55')==_0x1247d4[_0x499d('0x2c')]||_0x499d('0x10')==_0x1247d4[_0x499d('0x2c')]){const _0x1e59c5=_0x1247d4[_0x499d('0x62')]();if(_0x1e59c5&&_0x1e59c5['is'](_0x499d('0x4b'),_0x499d('0x71')))return{'type':'insertion'==_0x1247d4[_0x499d('0x2c')]?'addObject':'removeObject','element':_0x1e59c5,'quantity':0x1};}}),_0x4fda5b['_descriptionFactory'][_0x499d('0x2')](_0x983789=>_0x499d('0x60')==_0x983789[_0x499d('0x2c')]&&_0x499d('0x51')==_0x983789[_0x499d('0x5b')]?{'type':_0x499d('0x6d'),'content':_0x499d('0x2b')}:_0x499d('0x60')==_0x983789[_0x499d('0x2c')]&&_0x499d('0x6a')==_0x983789[_0x499d('0x5b')]?{'type':_0x499d('0x6d'),'content':_0x499d('0x24')}:void 0x0),_0x4fda5b[_0x499d('0x35')]['registerDescriptionCallback'](_0x3a52c1=>{const {data:_0xaa4626}=_0x3a52c1;if(_0xaa4626){if(_0x499d('0x46')==_0xaa4626[_0x499d('0x36')]){const _0x5cc24e=_0xaa4626['commandParams'][0x0][_0x499d('0x3d')];return _0x5acfb1(_0x499d('0x2f')===_0x5cc24e?_0x283ee5(_0x47a6dd,_0x499d('0x13')):_0x112600[_0x5cc24e]||_0x5cc24e);}if(_0x499d('0x5d')==_0xaa4626[_0x499d('0x36')]){const _0xb640ca=_0xaa4626[_0x499d('0x38')][0x0][_0x499d('0x20')];return _0xb640ca?{'type':_0x499d('0x6d'),'content':_0x283ee5(_0x47a6dd,_0x499d('0x2a'),'\x22'+_0xb640ca+'\x22')}:{'type':_0x499d('0x6d'),'content':_0x283ee5(_0x47a6dd,_0x499d('0x11'))};}if(_0x499d('0xd')==_0xaa4626[_0x499d('0x36')]){const _0x5a4a40=_0xaa4626['commandParams'][0x0]['width'];return _0x5a4a40?{'type':_0x499d('0x6d'),'content':_0x283ee5(_0x47a6dd,_0x499d('0x64'),_0x5a4a40)}:{'type':_0x499d('0x6d'),'content':_0x283ee5(_0x47a6dd,'*Reset\x20image\x20width*')};}}function _0x5acfb1(_0xdc338a){return{'type':_0x499d('0x6d'),'content':_0x283ee5(_0x47a6dd,'*Format:*\x20%0',_0xdc338a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5caf=['getSelectedElement','selection','data','format','source','src','_descriptionFactory','editor','document','markBlockFormat','locale','formatBlock','subType','commandParams','plugins','getSuggestions','handleSuggestionDescription','Users','has','change','discard','getContainedElement','registerCustomCallback','handleReplaceImageCommand','replaceImageSource','registerDescriptionCallback','get','TrackChangesEditing','author','enableCommand','ImageEditing','getSuggestionCallback','getAttribute','_suggestionFactory','accept','afterInit'];(function(_0x244d7a,_0x5cafe7){const _0x32a715=function(_0x4ba1e4){while(--_0x4ba1e4){_0x244d7a['push'](_0x244d7a['shift']());}};_0x32a715(++_0x5cafe7);}(_0x5caf,0xfc));const _0x32a7=function(_0x244d7a,_0x5cafe7){_0x244d7a=_0x244d7a-0x0;let _0x32a715=_0x5caf[_0x244d7a];return _0x32a715;};import{Plugin as _0x59a606}from'ckeditor5/src/core';import{getTranslation as _0x4719c6}from'../utils/common-translations';export default class Y extends _0x59a606{[_0x32a7('0x23')](){if(!this['editor'][_0x32a7('0xe')][_0x32a7('0x12')](_0x32a7('0x1e')))return;const _0x4dbf5e=this[_0x32a7('0x7')][_0x32a7('0xe')][_0x32a7('0x1a')](_0x32a7('0x1b'));_0x4dbf5e[_0x32a7('0x1d')]('replaceImageSource',(_0x23b5c,_0x333583)=>this[_0x32a7('0x17')](_0x23b5c,_0x333583)),_0x4dbf5e[_0x32a7('0x21')][_0x32a7('0x16')](_0x32a7('0xb'),_0x32a7('0x18'),_0x32a7('0x22'),_0x4dbf5e[_0x32a7('0x21')][_0x32a7('0x1f')]('formatBlock',null,_0x32a7('0x14'))),_0x4dbf5e[_0x32a7('0x21')][_0x32a7('0x16')](_0x32a7('0xb'),_0x32a7('0x18'),_0x32a7('0x14'),_0x4dbf5e['_suggestionFactory']['getSuggestionCallback'](_0x32a7('0xb'),null,_0x32a7('0x22'))),_0x4dbf5e[_0x32a7('0x6')][_0x32a7('0x19')](_0x8fc91c=>this[_0x32a7('0x10')](_0x8fc91c));}[_0x32a7('0x17')](_0x144d56,_0x4c363d){const _0x13e74c=this['editor']['plugins'][_0x32a7('0x1a')](_0x32a7('0x1b')),_0x384d42=this[_0x32a7('0x7')]['model'][_0x32a7('0x8')][_0x32a7('0x1')][_0x32a7('0x0')]();this[_0x32a7('0x7')]['model'][_0x32a7('0x13')](()=>{let _0x5d05da=_0x384d42[_0x32a7('0x20')](_0x32a7('0x5'));const _0x56a7da=this['editor'][_0x32a7('0xe')][_0x32a7('0x1a')](_0x32a7('0x11'))['me'];for(const _0x162c2e of _0x13e74c[_0x32a7('0xf')]({'skipNotAttached':!0x0})){const _0x418999=_0x162c2e[_0x32a7('0x15')]();if(_0x32a7('0x18')===_0x162c2e[_0x32a7('0xc')]&&_0x418999===_0x384d42){_0x162c2e[_0x32a7('0x1c')]!==_0x56a7da&&_0x162c2e[_0x32a7('0x14')](),_0x5d05da=_0x162c2e[_0x32a7('0x2')][_0x32a7('0xd')][0x0][_0x32a7('0x4')];break;}}_0x144d56(_0x4c363d),_0x13e74c[_0x32a7('0x9')](_0x384d42,{'commandName':'replaceImageSource','commandParams':[{'source':_0x5d05da}]},[],_0x32a7('0x18'));});}[_0x32a7('0x10')](_0x58c5bd){const {data:_0x4fb020}=_0x58c5bd;if(_0x4fb020&&_0x32a7('0x18')===_0x4fb020['commandName']){const _0x3bdd33='*Format:*\x20replace\x20image\x20URL';return{'type':_0x32a7('0x3'),'content':_0x4719c6(this[_0x32a7('0x7')][_0x32a7('0xa')],_0x3bdd33)};}}}
23
+ const _0x4331=['locale','TrackChangesEditing','handleSuggestionDescription','handleReplaceImageCommand','_descriptionFactory','source','model','data','editor','replaceImageSource','_suggestionFactory','enableCommand','get','format','change','discard','getSelectedElement','has','getSuggestionCallback','plugins','ImageEditing','getAttribute','document','registerDescriptionCallback','getSuggestions','accept','formatBlock','author','registerCustomCallback'];(function(_0x1f3698,_0x433168){const _0x565aff=function(_0x2481d5){while(--_0x2481d5){_0x1f3698['push'](_0x1f3698['shift']());}};_0x565aff(++_0x433168);}(_0x4331,0x6c));const _0x565a=function(_0x1f3698,_0x433168){_0x1f3698=_0x1f3698-0x0;let _0x565aff=_0x4331[_0x1f3698];return _0x565aff;};import{Plugin as _0x303bd2}from'ckeditor5/src/core';import{getTranslation as _0x50abec}from'../utils/common-translations';export default class Y extends _0x303bd2{['afterInit'](){if(!this[_0x565a('0x10')]['plugins'][_0x565a('0x19')](_0x565a('0x1c')))return;const _0x374700=this[_0x565a('0x10')][_0x565a('0x1b')][_0x565a('0x14')](_0x565a('0x9'));_0x374700[_0x565a('0x13')](_0x565a('0x11'),(_0x5841e4,_0x5cbcdd)=>this['handleReplaceImageCommand'](_0x5841e4,_0x5cbcdd)),_0x374700[_0x565a('0x12')]['registerCustomCallback'](_0x565a('0x5'),_0x565a('0x11'),_0x565a('0x4'),_0x374700[_0x565a('0x12')][_0x565a('0x1a')](_0x565a('0x5'),null,_0x565a('0x17'))),_0x374700[_0x565a('0x12')][_0x565a('0x7')](_0x565a('0x5'),'replaceImageSource',_0x565a('0x17'),_0x374700[_0x565a('0x12')][_0x565a('0x1a')]('formatBlock',null,_0x565a('0x4'))),_0x374700[_0x565a('0xc')][_0x565a('0x2')](_0x2ef7e2=>this[_0x565a('0xa')](_0x2ef7e2));}[_0x565a('0xb')](_0x44a9f4,_0x5847a9){const _0x3d3aca=this[_0x565a('0x10')]['plugins'][_0x565a('0x14')](_0x565a('0x9')),_0x3a3591=this[_0x565a('0x10')][_0x565a('0xe')][_0x565a('0x1')]['selection'][_0x565a('0x18')]();this[_0x565a('0x10')][_0x565a('0xe')][_0x565a('0x16')](()=>{let _0x5f33eb=_0x3a3591[_0x565a('0x0')]('src');const _0x2fd9ac=this[_0x565a('0x10')][_0x565a('0x1b')][_0x565a('0x14')]('Users')['me'];for(const _0x3e9f65 of _0x3d3aca[_0x565a('0x3')]({'skipNotAttached':!0x0})){const _0x448532=_0x3e9f65['getContainedElement']();if(_0x565a('0x11')===_0x3e9f65['subType']&&_0x448532===_0x3a3591){_0x3e9f65[_0x565a('0x6')]!==_0x2fd9ac&&_0x3e9f65[_0x565a('0x17')](),_0x5f33eb=_0x3e9f65[_0x565a('0xf')]['commandParams'][0x0][_0x565a('0xd')];break;}}_0x44a9f4(_0x5847a9),_0x3d3aca['markBlockFormat'](_0x3a3591,{'commandName':_0x565a('0x11'),'commandParams':[{'source':_0x5f33eb}]},[],_0x565a('0x11'));});}[_0x565a('0xa')](_0x5e23f9){const {data:_0x495b65}=_0x5e23f9;if(_0x495b65&&_0x565a('0x11')===_0x495b65['commandName']){const _0x47ffc9='*Format:*\x20replace\x20image\x20URL';return{'type':_0x565a('0x15'),'content':_0x50abec(this[_0x565a('0x10')][_0x565a('0x8')],_0x47ffc9)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13bd=['_trackChangesExecuted','enableCommand','bind','_setSuggestionData','editor','value','execute','dataInsert','high','get','listenTo','_handleImportedData','plugins','afterInit','commands','track_changes','importWord','trackChanges','_trackChangesValueDuringImport','TrackChangesEditing','lowest','Users','forEach'];(function(_0x5cedc9,_0x13bd8d){const _0xdb69a5=function(_0x2577f6){while(--_0x2577f6){_0x5cedc9['push'](_0x5cedc9['shift']());}};_0xdb69a5(++_0x13bd8d);}(_0x13bd,0x1ea));const _0xdb69=function(_0x5cedc9,_0x13bd8d){_0x5cedc9=_0x5cedc9-0x0;let _0xdb69a5=_0x13bd[_0x5cedc9];return _0xdb69a5;};import{Plugin as _0x5c43c3}from'ckeditor5/src/core';export default class Z extends _0x5c43c3{constructor(_0x347e26){super(_0x347e26),this[_0xdb69('0xb')]=!0x1,this[_0xdb69('0x10')]=!0x1;}[_0xdb69('0x6')](){const _0x3cf7d5=this[_0xdb69('0x14')],_0x35d83a=_0x3cf7d5[_0xdb69('0x7')][_0xdb69('0x2')](_0xdb69('0x9')),_0x24fe22=_0x3cf7d5[_0xdb69('0x7')][_0xdb69('0x2')](_0xdb69('0xa'));_0x35d83a&&(_0x35d83a['on'](_0xdb69('0x16'),(_0x418dd0,[,_0x195e06])=>{this[_0xdb69('0xb')]=_0x24fe22[_0xdb69('0x15')],_0x195e06['collaboration_features'][_0xdb69('0x8')]=!this[_0xdb69('0xb')];},{'priority':_0xdb69('0x1')}),this[_0xdb69('0x3')](_0x35d83a,_0xdb69('0x0'),this[_0xdb69('0x4')][_0xdb69('0x12')](this)),this[_0xdb69('0x3')](_0x35d83a,_0xdb69('0x0'),()=>{this[_0xdb69('0x10')]&&(_0x24fe22[_0xdb69('0x16')](),this[_0xdb69('0x10')]=!0x1);},{'priority':_0xdb69('0xd')}),_0x3cf7d5[_0xdb69('0x5')][_0xdb69('0x2')]('TrackChangesEditing')[_0xdb69('0x11')](_0xdb69('0x9')));}[_0xdb69('0x4')](_0x21d408,_0x1af697){const {suggestions:_0x5fa729}=_0x1af697,_0x2b2c4a=this[_0xdb69('0x14')][_0xdb69('0x7')][_0xdb69('0x2')](_0xdb69('0xa')),_0x4f6805=_0x2b2c4a[_0xdb69('0x15')];this[_0xdb69('0xb')]!==_0x4f6805&&(_0x2b2c4a[_0xdb69('0x16')](),this[_0xdb69('0x10')]=!0x0),_0x5fa729&&_0x5fa729[_0xdb69('0xf')](({id:_0x478b95,type:_0x256e71,author:_0x5ccceb,created_at:_0x1eaa75})=>{const _0x5e269a={'id':_0x478b95,'type':_0x256e71,'authorId':this[_0xdb69('0x14')][_0xdb69('0x5')][_0xdb69('0x2')](_0xdb69('0xe'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5ccceb,'createdAt':_0x1eaa75?new Date(_0x1eaa75):new Date(),'source':_0xdb69('0x9')}}};this[_0xdb69('0x14')][_0xdb69('0x5')]['get'](_0xdb69('0xc'))[_0xdb69('0x13')](_0x5e269a);});}}
23
+ const _0x5412=['collaboration_features','TrackChangesEditing','dataInsert','track_changes','trackChanges','execute','high','Users','importWord','get','_trackChangesExecuted','lowest','value','_trackChangesValueDuringImport','enableCommand','editor','forEach','_handleImportedData','afterInit','plugins','commands'];(function(_0x4a564b,_0x541243){const _0x3d0e66=function(_0x186c4c){while(--_0x186c4c){_0x4a564b['push'](_0x4a564b['shift']());}};_0x3d0e66(++_0x541243);}(_0x5412,0x19c));const _0x3d0e=function(_0x4a564b,_0x541243){_0x4a564b=_0x4a564b-0x0;let _0x3d0e66=_0x5412[_0x4a564b];return _0x3d0e66;};import{Plugin as _0x2d9498}from'ckeditor5/src/core';export default class Z extends _0x2d9498{constructor(_0x3c185e){super(_0x3c185e),this[_0x3d0e('0x0')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x3d0e('0x5')](){const _0x1d4eea=this[_0x3d0e('0x2')],_0x4f06d=_0x1d4eea[_0x3d0e('0x7')][_0x3d0e('0x11')]('importWord'),_0xa06207=_0x1d4eea[_0x3d0e('0x7')][_0x3d0e('0x11')]('trackChanges');_0x4f06d&&(_0x4f06d['on'](_0x3d0e('0xd'),(_0x42bdcb,[,_0x3b86dd])=>{this[_0x3d0e('0x0')]=_0xa06207[_0x3d0e('0x14')],_0x3b86dd[_0x3d0e('0x8')][_0x3d0e('0xb')]=!this[_0x3d0e('0x0')];},{'priority':_0x3d0e('0xe')}),this['listenTo'](_0x4f06d,_0x3d0e('0xa'),this[_0x3d0e('0x4')]['bind'](this)),this['listenTo'](_0x4f06d,_0x3d0e('0xa'),()=>{this['_trackChangesExecuted']&&(_0xa06207['execute'](),this[_0x3d0e('0x12')]=!0x1);},{'priority':_0x3d0e('0x13')}),_0x1d4eea[_0x3d0e('0x6')]['get'](_0x3d0e('0x9'))[_0x3d0e('0x1')](_0x3d0e('0x10')));}[_0x3d0e('0x4')](_0x351cb7,_0x27b02f){const {suggestions:_0x3a289e}=_0x27b02f,_0x2ec116=this[_0x3d0e('0x2')][_0x3d0e('0x7')][_0x3d0e('0x11')](_0x3d0e('0xc')),_0x349c54=_0x2ec116['value'];this[_0x3d0e('0x0')]!==_0x349c54&&(_0x2ec116[_0x3d0e('0xd')](),this[_0x3d0e('0x12')]=!0x0),_0x3a289e&&_0x3a289e[_0x3d0e('0x3')](({id:_0x55c872,type:_0x147e18,author:_0x1e6ea5,created_at:_0x4d7dab})=>{const _0xaf1e31={'id':_0x55c872,'type':_0x147e18,'authorId':this[_0x3d0e('0x2')][_0x3d0e('0x6')]['get'](_0x3d0e('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1e6ea5,'createdAt':_0x4d7dab?new Date(_0x4d7dab):new Date(),'source':_0x3d0e('0x10')}}};this['editor'][_0x3d0e('0x6')][_0x3d0e('0x11')](_0x3d0e('0x9'))['_setSuggestionData'](_0xaf1e31);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36c9=['indent','enableCommand','indentBlock','model','get','locale','editor','getSelectedBlocks','getItemLabel','afterInit','checkAttribute','format','has','IndentBlock','change','filter','markBlockFormat','registerDescriptionCallback','document','_descriptionFactory','commandName','outdentBlock','selection','plugins','*Indent:*\x20%0','from'];(function(_0x914fa,_0x36c996){const _0x37f907=function(_0x348fff){while(--_0x348fff){_0x914fa['push'](_0x914fa['shift']());}};_0x37f907(++_0x36c996);}(_0x36c9,0x66));const _0x37f9=function(_0x914fa,_0x36c996){_0x914fa=_0x914fa-0x0;let _0x37f907=_0x36c9[_0x914fa];return _0x37f907;};import{Plugin as _0x58f638}from'ckeditor5/src/core';import{getTranslation as _0x233330}from'../utils/common-translations';export default class tt extends _0x58f638{[_0x37f9('0xb')](){const _0x255fcc=this[_0x37f9('0x8')],_0x5c9537=_0x255fcc[_0x37f9('0x19')][_0x37f9('0x6')]('TrackChangesEditing');_0x255fcc[_0x37f9('0x19')][_0x37f9('0xe')]('IndentEditing')&&(_0x5c9537[_0x37f9('0x3')](_0x37f9('0x2')),_0x5c9537[_0x37f9('0x3')]('outdent'));const _0x261732=_0x255fcc[_0x37f9('0x7')];if(_0x255fcc['plugins'][_0x37f9('0xe')](_0x37f9('0xf'))){for(const _0x34bb9b of[_0x37f9('0x4'),_0x37f9('0x17')])_0x5c9537['enableCommand'](_0x34bb9b,()=>{const _0x3bbe94=Array[_0x37f9('0x1')](this[_0x37f9('0x8')]['model'][_0x37f9('0x14')][_0x37f9('0x18')][_0x37f9('0x9')]())[_0x37f9('0x11')](_0x37a386=>this[_0x37f9('0x8')][_0x37f9('0x5')]['schema'][_0x37f9('0xc')](_0x37a386,'blockIndent'));_0x255fcc['model'][_0x37f9('0x10')](()=>{for(const _0x590f0b of _0x3bbe94)_0x5c9537[_0x37f9('0x12')](_0x590f0b,{'commandName':_0x34bb9b,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x5c9537['_descriptionFactory'][_0x37f9('0x13')](_0x1071bd=>{const {data:_0x1cc618}=_0x1071bd;if(!_0x1cc618)return;if('indentBlock'!=_0x1cc618[_0x37f9('0x16')]&&'outdentBlock'!=_0x1cc618['commandName'])return;const _0x165f1d=_0x1071bd['getItems']()[0x0],_0x40408f=_0x5c9537[_0x37f9('0x15')][_0x37f9('0xa')](_0x165f1d);return _0x37f9('0x4')==_0x1cc618[_0x37f9('0x16')]?{'type':_0x37f9('0xd'),'content':_0x233330(_0x261732,_0x37f9('0x0'),_0x40408f)}:_0x37f9('0x17')==_0x1cc618[_0x37f9('0x16')]?{'type':_0x37f9('0xd'),'content':_0x233330(_0x261732,'*Outdent:*\x20%0',_0x40408f)}:void 0x0;});}}}
23
+ const _0x1b23=['schema','model','outdentBlock','outdent','from','registerDescriptionCallback','filter','blockIndent','commandName','indent','locale','IndentBlock','getItemLabel','has','getSelectedBlocks','selection','plugins','change','format','editor','_descriptionFactory','*Indent:*\x20%0','document','indentBlock','enableCommand','afterInit','*Outdent:*\x20%0'];(function(_0x5a449d,_0x1b23d5){const _0x302c2e=function(_0x5ef18a){while(--_0x5ef18a){_0x5a449d['push'](_0x5a449d['shift']());}};_0x302c2e(++_0x1b23d5);}(_0x1b23,0x1df));const _0x302c=function(_0x5a449d,_0x1b23d5){_0x5a449d=_0x5a449d-0x0;let _0x302c2e=_0x1b23[_0x5a449d];return _0x302c2e;};import{Plugin as _0x2dd997}from'ckeditor5/src/core';import{getTranslation as _0x191a7b}from'../utils/common-translations';export default class tt extends _0x2dd997{[_0x302c('0x5')](){const _0x2710f1=this['editor'],_0x44aa0d=_0x2710f1[_0x302c('0x17')]['get']('TrackChangesEditing');_0x2710f1[_0x302c('0x17')][_0x302c('0x14')]('IndentEditing')&&(_0x44aa0d[_0x302c('0x4')](_0x302c('0x10')),_0x44aa0d['enableCommand'](_0x302c('0xa')));const _0x281973=_0x2710f1[_0x302c('0x11')];if(_0x2710f1[_0x302c('0x17')][_0x302c('0x14')](_0x302c('0x12'))){for(const _0x228497 of['indentBlock',_0x302c('0x9')])_0x44aa0d[_0x302c('0x4')](_0x228497,()=>{const _0x45af3b=Array[_0x302c('0xb')](this[_0x302c('0x1a')]['model'][_0x302c('0x2')][_0x302c('0x16')][_0x302c('0x15')]())[_0x302c('0xd')](_0x3ef1f3=>this[_0x302c('0x1a')][_0x302c('0x8')][_0x302c('0x7')]['checkAttribute'](_0x3ef1f3,_0x302c('0xe')));_0x2710f1[_0x302c('0x8')][_0x302c('0x18')](()=>{for(const _0x51e2d8 of _0x45af3b)_0x44aa0d['markBlockFormat'](_0x51e2d8,{'commandName':_0x228497,'commandParams':[{'value':''}],'formatGroupId':_0x302c('0x3')});});});_0x44aa0d['_descriptionFactory'][_0x302c('0xc')](_0x250c29=>{const {data:_0x3b7dca}=_0x250c29;if(!_0x3b7dca)return;if(_0x302c('0x3')!=_0x3b7dca[_0x302c('0xf')]&&_0x302c('0x9')!=_0x3b7dca[_0x302c('0xf')])return;const _0xd70e8d=_0x250c29['getItems']()[0x0],_0x136600=_0x44aa0d[_0x302c('0x0')][_0x302c('0x13')](_0xd70e8d);return'indentBlock'==_0x3b7dca[_0x302c('0xf')]?{'type':_0x302c('0x19'),'content':_0x191a7b(_0x281973,_0x302c('0x1'),_0x136600)}:'outdentBlock'==_0x3b7dca[_0x302c('0xf')]?{'type':'format','content':_0x191a7b(_0x281973,_0x302c('0x6'),_0x136600)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54f8=['input','init','enableCommand','plugins','get','editor'];(function(_0xe57c54,_0x54f8ea){var _0x4fc358=function(_0x43f65e){while(--_0x43f65e){_0xe57c54['push'](_0xe57c54['shift']());}};_0x4fc358(++_0x54f8ea);}(_0x54f8,0xa0));var _0x4fc3=function(_0xe57c54,_0x54f8ea){_0xe57c54=_0xe57c54-0x0;var _0x4fc358=_0x54f8[_0xe57c54];return _0x4fc358;};import{Plugin as _0x579d0c}from'ckeditor5/src/core';import{Input as _0x5d5bf0}from'ckeditor5/src/typing';export default class it extends _0x579d0c{static get['requires'](){return[_0x5d5bf0];}[_0x4fc3('0x3')](){this[_0x4fc3('0x1')][_0x4fc3('0x5')][_0x4fc3('0x0')]('TrackChangesEditing')[_0x4fc3('0x4')](_0x4fc3('0x2'));}}
23
+ var _0x2b9c=['editor','TrackChangesEditing','get','plugins','input','enableCommand'];(function(_0x43d1c0,_0x2b9c6e){var _0x58c051=function(_0x5b1341){while(--_0x5b1341){_0x43d1c0['push'](_0x43d1c0['shift']());}};_0x58c051(++_0x2b9c6e);}(_0x2b9c,0x181));var _0x58c0=function(_0x43d1c0,_0x2b9c6e){_0x43d1c0=_0x43d1c0-0x0;var _0x58c051=_0x2b9c[_0x43d1c0];return _0x58c051;};import{Plugin as _0x2e2774}from'ckeditor5/src/core';import{Input as _0xeb2498}from'ckeditor5/src/typing';export default class it extends _0x2e2774{static get['requires'](){return[_0xeb2498];}['init'](){this[_0x58c0('0x5')][_0x58c0('0x2')][_0x58c0('0x1')](_0x58c0('0x0'))[_0x58c0('0x4')](_0x58c0('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56c1=['model','markInlineFormat','linkHref','plugins','has','from','change','LinkEditing','selection','link','getAttribute','isCollapsed','editor','getFirstPosition','commandName','*Set\x20link:*\x20%0','locale','registerDescriptionCallback','enableCommand','unlink','getFirstRange','_descriptionFactory','document','TrackChangesEditing','afterInit'];(function(_0x4a59da,_0x56c1dd){const _0x4cb849=function(_0x3bf6a6){while(--_0x3bf6a6){_0x4a59da['push'](_0x4a59da['shift']());}};_0x4cb849(++_0x56c1dd);}(_0x56c1,0x19c));const _0x4cb8=function(_0x4a59da,_0x56c1dd){_0x4a59da=_0x4a59da-0x0;let _0x4cb849=_0x56c1[_0x4a59da];return _0x4cb849;};import{Plugin as _0x26b49f}from'ckeditor5/src/core';import{findAttributeRange as _0x315685}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x12e1f7}from'./utils';import{getTranslation as _0x1981a9}from'../utils/common-translations';export default class et extends _0x26b49f{[_0x4cb8('0xc')](){const _0x92b7b9=this[_0x4cb8('0x0')];if(!_0x92b7b9[_0x4cb8('0x10')][_0x4cb8('0x11')](_0x4cb8('0x14')))return;const _0x21350c=_0x92b7b9[_0x4cb8('0x10')]['get'](_0x4cb8('0xb'));_0x21350c[_0x4cb8('0x6')](_0x4cb8('0x16'),(_0x5ee01d,_0x4df0dc)=>{const _0x381f0a=_0x92b7b9['model'][_0x4cb8('0xa')][_0x4cb8('0x15')];let _0x3d442c=[];if(_0x381f0a[_0x4cb8('0x18')]){if(!_0x381f0a['hasAttribute'](_0x4cb8('0xf')))return void _0x5ee01d(_0x4df0dc);{const _0x1368ce=_0x315685(_0x381f0a['getFirstPosition'](),_0x4cb8('0xf'),_0x381f0a['getAttribute'](_0x4cb8('0xf')),_0x92b7b9[_0x4cb8('0xd')]);_0x3d442c=[_0x1368ce];}}else _0x3d442c=Array[_0x4cb8('0x12')](_0x381f0a['getRanges']());_0x92b7b9[_0x4cb8('0xd')][_0x4cb8('0x13')](()=>{for(const _0x3b1c69 of _0x3d442c)_0x21350c[_0x4cb8('0xe')](_0x3b1c69,{'commandName':'link','commandParams':[_0x4df0dc]});});}),_0x21350c[_0x4cb8('0x6')](_0x4cb8('0x7'),()=>{const _0x53d54e=this[_0x4cb8('0x0')][_0x4cb8('0xd')],_0x3cd769=_0x53d54e[_0x4cb8('0xa')][_0x4cb8('0x15')];_0x53d54e[_0x4cb8('0x13')](()=>{let _0x30f0db=[];if(_0x3cd769[_0x4cb8('0x18')])_0x30f0db=[_0x315685(_0x3cd769[_0x4cb8('0x1')](),_0x4cb8('0xf'),_0x3cd769[_0x4cb8('0x17')]('linkHref'),_0x92b7b9[_0x4cb8('0xd')])];else _0x30f0db=_0x12e1f7('linkHref',_0x3cd769[_0x4cb8('0x8')](),_0x92b7b9['model']);for(const _0x32aed9 of _0x30f0db)_0x21350c[_0x4cb8('0xe')](_0x32aed9,{'commandName':_0x4cb8('0x7'),'commandParams':[]});});}),_0x21350c[_0x4cb8('0x9')][_0x4cb8('0x5')](_0x57d5ae=>{const {data:_0x2f6898}=_0x57d5ae,_0x430fff=_0x92b7b9[_0x4cb8('0x4')];if(_0x2f6898){if('link'==_0x2f6898[_0x4cb8('0x2')]){const _0x3622e2=_0x2f6898['commandParams'][0x0];return{'type':'format','content':_0x1981a9(_0x430fff,_0x4cb8('0x3'),'\x22'+_0x3622e2+'\x22')};}return _0x4cb8('0x7')==_0x2f6898[_0x4cb8('0x2')]?{'type':'format','content':_0x1981a9(_0x430fff,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x4bd8=['afterInit','getAttribute','getFirstRange','_descriptionFactory','TrackChangesEditing','plugins','linkHref','enableCommand','isCollapsed','markInlineFormat','LinkEditing','getRanges','model','*Remove\x20link*','unlink','editor','link','commandName','document','change','get','*Set\x20link:*\x20%0','commandParams','format','from'];(function(_0x3200e6,_0x4bd882){const _0x2bc129=function(_0x57492b){while(--_0x57492b){_0x3200e6['push'](_0x3200e6['shift']());}};_0x2bc129(++_0x4bd882);}(_0x4bd8,0x136));const _0x2bc1=function(_0x3200e6,_0x4bd882){_0x3200e6=_0x3200e6-0x0;let _0x2bc129=_0x4bd8[_0x3200e6];return _0x2bc129;};import{Plugin as _0x35deca}from'ckeditor5/src/core';import{findAttributeRange as _0x178417}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x454a78}from'./utils';import{getTranslation as _0x5aa96b}from'../utils/common-translations';export default class et extends _0x35deca{[_0x2bc1('0xf')](){const _0x3d4739=this[_0x2bc1('0x5')];if(!_0x3d4739[_0x2bc1('0x14')]['has'](_0x2bc1('0x0')))return;const _0x2f2811=_0x3d4739[_0x2bc1('0x14')][_0x2bc1('0xa')](_0x2bc1('0x13'));_0x2f2811[_0x2bc1('0x16')](_0x2bc1('0x6'),(_0x515f58,_0x222140)=>{const _0x452b2b=_0x3d4739[_0x2bc1('0x2')]['document']['selection'];let _0x537862=[];if(_0x452b2b[_0x2bc1('0x17')]){if(!_0x452b2b['hasAttribute']('linkHref'))return void _0x515f58(_0x222140);{const _0x13de27=_0x178417(_0x452b2b['getFirstPosition'](),_0x2bc1('0x15'),_0x452b2b[_0x2bc1('0x10')]('linkHref'),_0x3d4739[_0x2bc1('0x2')]);_0x537862=[_0x13de27];}}else _0x537862=Array[_0x2bc1('0xe')](_0x452b2b[_0x2bc1('0x1')]());_0x3d4739[_0x2bc1('0x2')][_0x2bc1('0x9')](()=>{for(const _0x2317e4 of _0x537862)_0x2f2811[_0x2bc1('0x18')](_0x2317e4,{'commandName':_0x2bc1('0x6'),'commandParams':[_0x222140]});});}),_0x2f2811[_0x2bc1('0x16')]('unlink',()=>{const _0x4d1e55=this['editor'][_0x2bc1('0x2')],_0x1dae6a=_0x4d1e55[_0x2bc1('0x8')]['selection'];_0x4d1e55[_0x2bc1('0x9')](()=>{let _0x4e23e8=[];if(_0x1dae6a[_0x2bc1('0x17')])_0x4e23e8=[_0x178417(_0x1dae6a['getFirstPosition'](),_0x2bc1('0x15'),_0x1dae6a['getAttribute'](_0x2bc1('0x15')),_0x3d4739['model'])];else _0x4e23e8=_0x454a78(_0x2bc1('0x15'),_0x1dae6a[_0x2bc1('0x11')](),_0x3d4739[_0x2bc1('0x2')]);for(const _0xd76a1f of _0x4e23e8)_0x2f2811[_0x2bc1('0x18')](_0xd76a1f,{'commandName':_0x2bc1('0x4'),'commandParams':[]});});}),_0x2f2811[_0x2bc1('0x12')]['registerDescriptionCallback'](_0x4427ab=>{const {data:_0x3742e1}=_0x4427ab,_0x5b2ced=_0x3d4739['locale'];if(_0x3742e1){if(_0x2bc1('0x6')==_0x3742e1[_0x2bc1('0x7')]){const _0x34d439=_0x3742e1[_0x2bc1('0xc')][0x0];return{'type':'format','content':_0x5aa96b(_0x5b2ced,_0x2bc1('0xb'),'\x22'+_0x34d439+'\x22')};}return _0x2bc1('0x4')==_0x3742e1[_0x2bc1('0x7')]?{'type':_0x2bc1('0xd'),'content':_0x5aa96b(_0x5b2ced,_0x2bc1('0x3'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d14=['outdentList','_descriptionFactory','isObject','name','enableCommand','commandParams','previousSibling','format','ELEMENT_NUMBERED_LIST','ListEditing','getSelectedBlocks','slice','document','commandName','has','listType','ELEMENT_BULLETED_LIST','checkTodoList','editor','commands','parent','numberedList','todo','from','selection','List','registerDescriptionCallback','blockName','markBlockFormat','length','before','change','plugins','createPositionAt','add','listItem','checkChild','replace','forceValue','ELEMENT_LIST_ITEM','filter','nextSibling','TodoListEditing','*Uncheck\x20item*','*Check\x20item*','todoListChecked','value','findIndex','indentList','registerElementLabel','push','locale','listIndent','createRange','getAttribute','_selectedElements','get','element','end','model','numbered','todoList'];(function(_0x4498ee,_0x4d1410){const _0x5ccc3e=function(_0x47ac34){while(--_0x47ac34){_0x4498ee['push'](_0x4498ee['shift']());}};_0x5ccc3e(++_0x4d1410);}(_0x4d14,0x184));const _0x5ccc=function(_0x4498ee,_0x4d1410){_0x4498ee=_0x4498ee-0x0;let _0x5ccc3e=_0x4d14[_0x4498ee];return _0x5ccc3e;};import{Plugin as _0x160a06}from'ckeditor5/src/core';import{getTranslation as _0x57faba}from'../utils/common-translations';export default class st extends _0x160a06{['afterInit'](){const _0x221f51=this[_0x5ccc('0x2')],_0x50354e=_0x221f51[_0x5ccc('0x23')];if(!_0x221f51[_0x5ccc('0x10')]['has'](_0x5ccc('0x37')))return;const _0x188ecf=_0x221f51['plugins'][_0x5ccc('0x28')]('TrackChangesEditing'),_0x206fde=_0x221f51[_0x5ccc('0x10')][_0x5ccc('0x3c')](_0x5ccc('0x1a'));function _0x3d7530(_0x4cb410){return()=>{const _0x4b89e5=_0x221f51[_0x5ccc('0x2b')][_0x5ccc('0x3a')][_0x5ccc('0x8')],_0x2c7f89=_0x221f51[_0x5ccc('0x3')][_0x5ccc('0x28')](_0x4cb410);if(_0x2c7f89['value'])return void _0x221f51['execute']('paragraph',{});const _0x29829f=_0x4cb410[_0x5ccc('0x39')](0x0,-0x4),_0x2689c5=function(_0x4449f1,_0x2d919c,_0x1862ce){let _0x1b5f48=Array[_0x5ccc('0x7')](_0x4449f1)[_0x5ccc('0x18')](_0x4d7eae=>function(_0x3ae419,_0x124799){return _0x124799[_0x5ccc('0x14')](_0x3ae419[_0x5ccc('0x4')],'listItem')&&!_0x124799[_0x5ccc('0x30')](_0x3ae419);}(_0x4d7eae,_0x1862ce));_0x1b5f48=_0x1b5f48['filter'](_0x5aa1c4=>!_0x5aa1c4['is']('element',_0x5ccc('0x13'))||_0x5aa1c4[_0x5ccc('0x26')](_0x5ccc('0x3d'))!=_0x2d919c);const _0x20bcb0=new Set();for(const _0x5171d0 of _0x1b5f48)_0x5171d0['is']('element',_0x5ccc('0x13'))?_0x20bcb0[_0x5ccc('0x12')](ne(_0x5171d0)):_0x20bcb0['add'](_0x5171d0);return Array[_0x5ccc('0x7')](_0x20bcb0);}(_0x4b89e5['getSelectedBlocks'](),_0x29829f,_0x221f51[_0x5ccc('0x2b')]['schema']);_0x221f51[_0x5ccc('0x2b')][_0x5ccc('0xf')](()=>{for(const _0x55e4b9 of _0x2689c5)_0x188ecf[_0x5ccc('0xc')](_0x55e4b9,{'commandName':_0x4cb410,'commandParams':[{'forceValue':!_0x2c7f89[_0x5ccc('0x1e')]}],'formatGroupId':_0x5ccc('0xb')},oe(_0x55e4b9));});};}function _0x303166(_0x554c9a){return()=>{const _0x3d7735=function(_0x5a5fd1){let _0x2f436c=Array[_0x5ccc('0x7')](_0x5a5fd1);const _0xcffcbb=_0x2f436c[_0x5ccc('0x1f')](_0x1fb504=>_0x5ccc('0x13')!=_0x1fb504[_0x5ccc('0x31')]);return _0xcffcbb>-0x1&&(_0x2f436c=_0x2f436c['slice'](0x0,_0xcffcbb)),_0x2f436c;}(_0x221f51['model'][_0x5ccc('0x3a')][_0x5ccc('0x8')][_0x5ccc('0x38')]()),_0x5a9755=_0x221f51['model'][_0x5ccc('0x25')](_0x221f51[_0x5ccc('0x2b')]['createPositionAt'](_0x3d7735[0x0],_0x5ccc('0xe')),_0x221f51[_0x5ccc('0x2b')][_0x5ccc('0x11')](_0x3d7735[_0x3d7735[_0x5ccc('0xd')]-0x1],_0x5ccc('0x2a')));_0x221f51['model']['change'](()=>{_0x188ecf[_0x5ccc('0xc')](_0x5a9755,{'commandName':_0x554c9a,'commandParams':[],'formatGroupId':_0x5ccc('0x24')},function(_0xce1bea){const _0x5efe63=new Set();for(const _0x4bb82c of _0xce1bea){let _0x25f3d2=_0x4bb82c[_0x5ccc('0x19')];for(;_0x25f3d2&&_0x25f3d2['getAttribute'](_0x5ccc('0x24'))>_0x4bb82c[_0x5ccc('0x26')](_0x5ccc('0x24'));)_0x5efe63[_0x5ccc('0x12')](_0x25f3d2),_0x25f3d2=_0x25f3d2[_0x5ccc('0x19')];}return Array[_0x5ccc('0x7')](_0x5efe63);}(_0x3d7735));});};}_0x188ecf[_0x5ccc('0x32')]('numberedList',_0x3d7530('numberedList')),_0x188ecf['enableCommand']('bulletedList',_0x3d7530('bulletedList')),_0x206fde&&_0x188ecf[_0x5ccc('0x32')](_0x5ccc('0x2d'),_0x3d7530(_0x5ccc('0x2d'))),_0x188ecf[_0x5ccc('0x32')](_0x5ccc('0x20'),_0x303166(_0x5ccc('0x20'))),_0x188ecf[_0x5ccc('0x32')](_0x5ccc('0x2e'),_0x303166(_0x5ccc('0x2e'))),_0x206fde&&_0x188ecf[_0x5ccc('0x32')](_0x5ccc('0x1'),()=>{const _0x34252c=_0x221f51['commands'][_0x5ccc('0x28')](_0x5ccc('0x1')),_0x3c751d=Array['from'](_0x34252c[_0x5ccc('0x27')]);_0x3c751d['filter'](_0x19dc82=>_0x19dc82[_0x5ccc('0x26')](_0x5ccc('0x1d'))!=_0x34252c[_0x5ccc('0x1e')]),_0x221f51[_0x5ccc('0x2b')][_0x5ccc('0xf')](()=>{for(const _0x3c9655 of _0x3c751d)_0x188ecf[_0x5ccc('0xc')](_0x3c9655,{'commandName':_0x5ccc('0x1'),'commandParams':[{'forceValue':!_0x34252c[_0x5ccc('0x1e')]}]});});}),_0x188ecf['_descriptionFactory'][_0x5ccc('0x21')](_0x5ccc('0x13'),_0x5aafc1=>_0x57faba(_0x50354e,_0x5ccc('0x17'),_0x5aafc1)),_0x188ecf[_0x5ccc('0x2f')][_0x5ccc('0xa')](_0x389940=>{const {data:_0x581809}=_0x389940;if(_0x581809){if(_0x5ccc('0x5')==_0x581809['commandName']||'bulletedList'==_0x581809['commandName']||'todoList'==_0x581809[_0x5ccc('0x3b')])switch(_0x581809[_0x5ccc('0x3b')][_0x5ccc('0x15')](_0x5ccc('0x9'),'')){case'bulleted':return _0x15177f(_0x57faba(_0x50354e,_0x5ccc('0x0')));case _0x5ccc('0x2c'):return _0x15177f(_0x57faba(_0x50354e,_0x5ccc('0x36')));case _0x5ccc('0x6'):return _0x15177f(_0x57faba(_0x50354e,'ELEMENT_TODO_LIST'));}if(_0x5ccc('0x20')==_0x581809['commandName'])return{'type':_0x5ccc('0x35'),'content':_0x57faba(_0x50354e,'*Indent:*\x20%0',_0x57faba(_0x50354e,_0x5ccc('0x17')))};if('outdentList'==_0x581809[_0x5ccc('0x3b')])return{'type':_0x5ccc('0x35'),'content':_0x57faba(_0x50354e,'*Outdent:*\x20%0',_0x57faba(_0x50354e,_0x5ccc('0x17')))};if(_0x5ccc('0x1')==_0x581809[_0x5ccc('0x3b')])return _0x581809[_0x5ccc('0x33')][0x0][_0x5ccc('0x16')]?{'type':_0x5ccc('0x35'),'content':_0x57faba(_0x50354e,_0x5ccc('0x1c'))}:{'type':_0x5ccc('0x35'),'content':_0x57faba(_0x50354e,_0x5ccc('0x1b'))};}function _0x15177f(_0x4a0223){return{'type':'format','content':_0x57faba(_0x50354e,'*Change\x20to:*\x20%0',_0x4a0223)};}});}}function ne(_0x2c53d1){const _0x3f3e1f=_0x2c53d1[_0x5ccc('0x26')]('listIndent');if(0x0==_0x3f3e1f)return _0x2c53d1;let _0x4d8d30=_0x2c53d1;for(;_0x2c53d1[_0x5ccc('0x34')]&&_0x2c53d1[_0x5ccc('0x34')]['is']('element','listItem');){const _0x3e7cb1=_0x2c53d1[_0x5ccc('0x34')][_0x5ccc('0x26')]('listIndent');if(_0x3e7cb1==_0x3f3e1f)_0x4d8d30=_0x2c53d1[_0x5ccc('0x34')];else{if(_0x3e7cb1<_0x3f3e1f)break;}_0x2c53d1=_0x2c53d1['previousSibling'];}return _0x4d8d30;}function oe(_0x4a3a83){const _0x216c2b=[];if(_0x4a3a83['is'](_0x5ccc('0x29'),'listItem')&&_0x4a3a83['getAttribute'](_0x5ccc('0x24'))>0x0){let _0x1f895f=_0x4a3a83[_0x5ccc('0x19')];for(;_0x1f895f&&_0x5ccc('0x13')==_0x1f895f[_0x5ccc('0x31')]&&_0x1f895f[_0x5ccc('0x26')]('listIndent')==_0x4a3a83[_0x5ccc('0x26')](_0x5ccc('0x24'));)_0x216c2b[_0x5ccc('0x22')](_0x1f895f),_0x1f895f=_0x1f895f[_0x5ccc('0x19')];}return _0x216c2b;}
23
+ const _0x20d1=['previousSibling','TodoListEditing','*Uncheck\x20item*','markBlockFormat','*Indent:*\x20%0','*Change\x20to:*\x20%0','*Outdent:*\x20%0','numbered','value','numberedList','_selectedElements','length','commandParams','listType','getSelectedBlocks','blockName','editor','model','execute','outdentList','TrackChangesEditing','document','listItem','selection','slice','registerDescriptionCallback','from','ListEditing','registerElementLabel','ELEMENT_BULLETED_LIST','_descriptionFactory','listIndent','replace','checkTodoList','afterInit','schema','format','change','List','getAttribute','get','filter','element','createPositionAt','paragraph','ELEMENT_LIST_ITEM','commandName','before','indentList','todoList','bulleted','*Check\x20item*','push','enableCommand','plugins','name','locale','forceValue','nextSibling','add','todoListChecked','has'];(function(_0x47d8b2,_0x20d1a0){const _0x3b146f=function(_0x2db238){while(--_0x2db238){_0x47d8b2['push'](_0x47d8b2['shift']());}};_0x3b146f(++_0x20d1a0);}(_0x20d1,0x192));const _0x3b14=function(_0x47d8b2,_0x20d1a0){_0x47d8b2=_0x47d8b2-0x0;let _0x3b146f=_0x20d1[_0x47d8b2];return _0x3b146f;};import{Plugin as _0x380764}from'ckeditor5/src/core';import{getTranslation as _0x342aca}from'../utils/common-translations';export default class st extends _0x380764{[_0x3b14('0x4')](){const _0x4eb971=this[_0x3b14('0x30')],_0x4ccbaf=_0x4eb971[_0x3b14('0x1a')];if(!_0x4eb971['plugins'][_0x3b14('0x1f')](_0x3b14('0x3b')))return;const _0x1c2060=_0x4eb971[_0x3b14('0x18')][_0x3b14('0xa')](_0x3b14('0x34')),_0xa0d00f=_0x4eb971['plugins'][_0x3b14('0x1f')](_0x3b14('0x21'));function _0x2d2143(_0x115372){return()=>{const _0x5d1d3a=_0x4eb971[_0x3b14('0x31')][_0x3b14('0x35')][_0x3b14('0x37')],_0x20a44d=_0x4eb971['commands']['get'](_0x115372);if(_0x20a44d[_0x3b14('0x28')])return void _0x4eb971[_0x3b14('0x32')](_0x3b14('0xe'),{});const _0x20bcb4=_0x115372[_0x3b14('0x38')](0x0,-0x4),_0x555fb=function(_0x59aa24,_0x3de31e,_0x8a58f9){let _0x548d89=Array['from'](_0x59aa24)['filter'](_0x5617c8=>function(_0x428574,_0x3c2c13){return _0x3c2c13['checkChild'](_0x428574['parent'],_0x3b14('0x36'))&&!_0x3c2c13['isObject'](_0x428574);}(_0x5617c8,_0x8a58f9));_0x548d89=_0x548d89['filter'](_0x2f7e66=>!_0x2f7e66['is'](_0x3b14('0xc'),_0x3b14('0x36'))||_0x2f7e66[_0x3b14('0x9')](_0x3b14('0x2d'))!=_0x3de31e);const _0x38097a=new Set();for(const _0x2da680 of _0x548d89)_0x2da680['is'](_0x3b14('0xc'),_0x3b14('0x36'))?_0x38097a['add'](ne(_0x2da680)):_0x38097a['add'](_0x2da680);return Array[_0x3b14('0x3a')](_0x38097a);}(_0x5d1d3a[_0x3b14('0x2e')](),_0x20bcb4,_0x4eb971[_0x3b14('0x31')][_0x3b14('0x5')]);_0x4eb971[_0x3b14('0x31')][_0x3b14('0x7')](()=>{for(const _0x57fd33 of _0x555fb)_0x1c2060['markBlockFormat'](_0x57fd33,{'commandName':_0x115372,'commandParams':[{'forceValue':!_0x20a44d[_0x3b14('0x28')]}],'formatGroupId':_0x3b14('0x2f')},oe(_0x57fd33));});};}function _0x4e8bff(_0x33d060){return()=>{const _0x5fe9f7=function(_0x365bdf){let _0xf0fa07=Array[_0x3b14('0x3a')](_0x365bdf);const _0x3f4040=_0xf0fa07['findIndex'](_0x2efe79=>'listItem'!=_0x2efe79['name']);return _0x3f4040>-0x1&&(_0xf0fa07=_0xf0fa07[_0x3b14('0x38')](0x0,_0x3f4040)),_0xf0fa07;}(_0x4eb971[_0x3b14('0x31')]['document'][_0x3b14('0x37')][_0x3b14('0x2e')]()),_0x5164ca=_0x4eb971['model']['createRange'](_0x4eb971[_0x3b14('0x31')][_0x3b14('0xd')](_0x5fe9f7[0x0],_0x3b14('0x11')),_0x4eb971[_0x3b14('0x31')][_0x3b14('0xd')](_0x5fe9f7[_0x5fe9f7[_0x3b14('0x2b')]-0x1],'end'));_0x4eb971[_0x3b14('0x31')][_0x3b14('0x7')](()=>{_0x1c2060[_0x3b14('0x23')](_0x5164ca,{'commandName':_0x33d060,'commandParams':[],'formatGroupId':_0x3b14('0x1')},function(_0x3cd3e6){const _0x167294=new Set();for(const _0x5d64ff of _0x3cd3e6){let _0x201ede=_0x5d64ff[_0x3b14('0x1c')];for(;_0x201ede&&_0x201ede[_0x3b14('0x9')]('listIndent')>_0x5d64ff[_0x3b14('0x9')](_0x3b14('0x1'));)_0x167294[_0x3b14('0x1d')](_0x201ede),_0x201ede=_0x201ede[_0x3b14('0x1c')];}return Array[_0x3b14('0x3a')](_0x167294);}(_0x5fe9f7));});};}_0x1c2060[_0x3b14('0x17')]('numberedList',_0x2d2143('numberedList')),_0x1c2060['enableCommand']('bulletedList',_0x2d2143('bulletedList')),_0xa0d00f&&_0x1c2060[_0x3b14('0x17')](_0x3b14('0x13'),_0x2d2143('todoList')),_0x1c2060['enableCommand'](_0x3b14('0x12'),_0x4e8bff(_0x3b14('0x12'))),_0x1c2060[_0x3b14('0x17')](_0x3b14('0x33'),_0x4e8bff(_0x3b14('0x33'))),_0xa0d00f&&_0x1c2060[_0x3b14('0x17')](_0x3b14('0x3'),()=>{const _0x503674=_0x4eb971['commands'][_0x3b14('0xa')]('checkTodoList'),_0x511daf=Array['from'](_0x503674[_0x3b14('0x2a')]);_0x511daf[_0x3b14('0xb')](_0x106ac9=>_0x106ac9['getAttribute'](_0x3b14('0x1e'))!=_0x503674[_0x3b14('0x28')]),_0x4eb971['model']['change'](()=>{for(const _0x4d7f1b of _0x511daf)_0x1c2060[_0x3b14('0x23')](_0x4d7f1b,{'commandName':_0x3b14('0x3'),'commandParams':[{'forceValue':!_0x503674[_0x3b14('0x28')]}]});});}),_0x1c2060[_0x3b14('0x0')][_0x3b14('0x3c')]('listItem',_0x5c36a1=>_0x342aca(_0x4ccbaf,'ELEMENT_LIST_ITEM',_0x5c36a1)),_0x1c2060[_0x3b14('0x0')][_0x3b14('0x39')](_0x623023=>{const {data:_0x163465}=_0x623023;if(_0x163465){if(_0x3b14('0x29')==_0x163465['commandName']||'bulletedList'==_0x163465['commandName']||_0x3b14('0x13')==_0x163465[_0x3b14('0x10')])switch(_0x163465['commandName'][_0x3b14('0x2')](_0x3b14('0x8'),'')){case _0x3b14('0x14'):return _0x1ea529(_0x342aca(_0x4ccbaf,_0x3b14('0x3d')));case _0x3b14('0x27'):return _0x1ea529(_0x342aca(_0x4ccbaf,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1ea529(_0x342aca(_0x4ccbaf,'ELEMENT_TODO_LIST'));}if(_0x3b14('0x12')==_0x163465[_0x3b14('0x10')])return{'type':_0x3b14('0x6'),'content':_0x342aca(_0x4ccbaf,_0x3b14('0x24'),_0x342aca(_0x4ccbaf,_0x3b14('0xf')))};if('outdentList'==_0x163465[_0x3b14('0x10')])return{'type':_0x3b14('0x6'),'content':_0x342aca(_0x4ccbaf,_0x3b14('0x26'),_0x342aca(_0x4ccbaf,'ELEMENT_LIST_ITEM'))};if(_0x3b14('0x3')==_0x163465[_0x3b14('0x10')])return _0x163465[_0x3b14('0x2c')][0x0][_0x3b14('0x1b')]?{'type':_0x3b14('0x6'),'content':_0x342aca(_0x4ccbaf,_0x3b14('0x15'))}:{'type':_0x3b14('0x6'),'content':_0x342aca(_0x4ccbaf,_0x3b14('0x22'))};}function _0x1ea529(_0x4e5fcb){return{'type':_0x3b14('0x6'),'content':_0x342aca(_0x4ccbaf,_0x3b14('0x25'),_0x4e5fcb)};}});}}function ne(_0x4ead54){const _0x423273=_0x4ead54[_0x3b14('0x9')](_0x3b14('0x1'));if(0x0==_0x423273)return _0x4ead54;let _0x1de2dc=_0x4ead54;for(;_0x4ead54[_0x3b14('0x20')]&&_0x4ead54[_0x3b14('0x20')]['is'](_0x3b14('0xc'),_0x3b14('0x36'));){const _0x4481f5=_0x4ead54[_0x3b14('0x20')]['getAttribute'](_0x3b14('0x1'));if(_0x4481f5==_0x423273)_0x1de2dc=_0x4ead54[_0x3b14('0x20')];else{if(_0x4481f5<_0x423273)break;}_0x4ead54=_0x4ead54['previousSibling'];}return _0x1de2dc;}function oe(_0x56a68e){const _0x43a6d3=[];if(_0x56a68e['is'](_0x3b14('0xc'),_0x3b14('0x36'))&&_0x56a68e[_0x3b14('0x9')]('listIndent')>0x0){let _0x2f75f3=_0x56a68e['nextSibling'];for(;_0x2f75f3&&_0x3b14('0x36')==_0x2f75f3[_0x3b14('0x19')]&&_0x2f75f3['getAttribute'](_0x3b14('0x1'))==_0x56a68e[_0x3b14('0x9')]('listIndent');)_0x43a6d3[_0x3b14('0x16')](_0x2f75f3),_0x2f75f3=_0x2f75f3[_0x3b14('0x1c')];}return _0x43a6d3;}