@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231019.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x210f=['commandName','enableCommand','fontFamily','from','fontSize','_enableCommand','plugins','*Reset\x20font\x20color*','FontFamilyEditing','model','change','fontColor.colors','editor','fontColor','has','trim','commandParams','fontBackgroundColor','find','getRanges','markInlineFormat','get','*Set\x20font\x20background\x20color:*\x20%0','registerDescriptionCallback','selection','*Set\x20font\x20family:*\x20%0','FontSize','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','config','label','*Set\x20font\x20size:*\x20%0','isCollapsed','fontBackgroundColor.colors','afterInit','*Reset\x20font\x20size*','format','_descriptionFactory','*Reset\x20font\x20background\x20color*','value','toLowerCase','fontSize.options','FontSizeEditing','FontBackgroundColorEditing'];(function(_0x255be8,_0x210f5a){const _0xa89306=function(_0x2ebfab){while(--_0x2ebfab){_0x255be8['push'](_0x255be8['shift']());}};_0xa89306(++_0x210f5a);}(_0x210f,0x101));const _0xa893=function(_0x255be8,_0x210f5a){_0x255be8=_0x255be8-0x0;let _0xa89306=_0x210f[_0x255be8];return _0xa89306;};import{Plugin as _0x2a3e21}from'ckeditor5/src/core';import{normalizeColorOptions as _0x19a913}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x291a0e}from'./utils';import{getTranslation as _0x49ec7e}from'../utils/common-translations';const eo=[{'pluginName':_0xa893('0x5'),'commandName':_0xa893('0xb')},{'pluginName':_0xa893('0xf'),'commandName':_0xa893('0x9')},{'pluginName':'FontColorEditing','commandName':_0xa893('0x14')},{'pluginName':_0xa893('0x6'),'commandName':_0xa893('0x18')}];export default class W extends _0x2a3e21{[_0xa893('0x29')](){const _0x58fc95=this[_0xa893('0x13')]['locale'];for(const {pluginName:_0x3c2d8f,commandName:_0x23812b}of eo)this['editor'][_0xa893('0xd')][_0xa893('0x15')](_0x3c2d8f)&&this[_0xa893('0xc')](_0x23812b);this['editor'][_0xa893('0xd')][_0xa893('0x1c')](_0xa893('0x22'))[_0xa893('0x0')][_0xa893('0x1e')](_0x181995=>{const _0x49d148=_0x58fc95['t'],{data:_0x441388}=_0x181995;if(null!=_0x441388){if(_0xa893('0xb')==_0x441388[_0xa893('0x7')]){const _0x2f8093=_0x441388[_0xa893('0x17')][0x0][_0xa893('0x2')];if(_0x2f8093){const _0x47a9c8=_0x49d148(this[_0xa893('0x13')][_0xa893('0xd')][_0xa893('0x1c')](_0xa893('0x21'))['normalizeSizeOptions'](this[_0xa893('0x13')]['config'][_0xa893('0x1c')](_0xa893('0x4')))[_0xa893('0x19')](_0xeb1ab0=>_0xeb1ab0[_0xa893('0x10')]==_0x2f8093)['title'])['toLowerCase']();return{'type':_0xa893('0x2b'),'content':_0x49ec7e(_0x58fc95,_0xa893('0x26'),_0x47a9c8)};}return{'type':'format','content':_0x49ec7e(_0x58fc95,_0xa893('0x2a'))};}if('fontFamily'==_0x441388['commandName']){const _0x146aa1=_0x441388[_0xa893('0x17')][0x0][_0xa893('0x2')];return _0x146aa1?{'type':_0xa893('0x2b'),'content':_0x49ec7e(_0x58fc95,_0xa893('0x20'),_0x146aa1)}:{'type':_0xa893('0x2b'),'content':_0x49ec7e(_0x58fc95,'*Reset\x20font\x20family*')};}if('fontColor'==_0x441388[_0xa893('0x7')]){const _0x3c698a=_0x441388[_0xa893('0x17')][0x0][_0xa893('0x2')];if(_0x3c698a){const _0x3ce31d=_0x19a913(this[_0xa893('0x13')][_0xa893('0x24')][_0xa893('0x1c')](_0xa893('0x12')))[_0xa893('0x19')](_0x4c925f=>_0x4c925f[_0xa893('0x10')]==_0x3c698a);let _0x290992=_0x3c698a,_0xbd4a86='';return _0x3ce31d&&(_0x290992=_0x3ce31d[_0xa893('0x25')],_0xbd4a86=_0x49d148(_0x290992)['toLowerCase']()),{'type':_0xa893('0x2b'),'content':_0x49ec7e(_0x58fc95,_0xa893('0x23'),_0xbd4a86)[_0xa893('0x16')](),'color':{'value':_0x3c698a,'title':_0xbd4a86||_0x290992}};}return{'type':'format','content':_0x49ec7e(_0x58fc95,_0xa893('0xe'))};}if(_0xa893('0x18')==_0x441388[_0xa893('0x7')]){const _0x45bf19=_0x441388[_0xa893('0x17')][0x0][_0xa893('0x2')];if(_0x45bf19){const _0x40c3a3=_0x19a913(this[_0xa893('0x13')][_0xa893('0x24')]['get'](_0xa893('0x28')))['find'](_0x296e49=>_0x296e49[_0xa893('0x10')]==_0x45bf19);let _0x500832=_0x45bf19,_0xe2c80c='';return _0x40c3a3&&(_0x500832=_0x40c3a3[_0xa893('0x25')],_0xe2c80c=_0x49d148(_0x500832)[_0xa893('0x3')]()),{'type':'format','content':_0x49ec7e(_0x58fc95,_0xa893('0x1d'),_0xe2c80c)['trim'](),'color':{'value':_0x45bf19,'title':_0xe2c80c||_0x500832}};}return{'type':'format','content':_0x49ec7e(_0x58fc95,_0xa893('0x1'))};}}});}['_enableCommand'](_0x1b5be8){const _0x4edce7=this[_0xa893('0x13')];_0x4edce7[_0xa893('0xd')][_0xa893('0x1c')]('TrackChangesEditing')[_0xa893('0x8')](_0x1b5be8,(_0x4b5d8a,_0xc1c7c6={})=>{const _0x588569=_0x4edce7[_0xa893('0x10')]['document'][_0xa893('0x1f')],_0x1a2eae=_0xc1c7c6[_0xa893('0x2')];_0x588569[_0xa893('0x27')]?_0x4b5d8a(_0xc1c7c6):_0x4edce7[_0xa893('0x10')][_0xa893('0x11')](()=>{const _0x52fbb4=Array[_0xa893('0xa')](_0x588569[_0xa893('0x1a')]());for(const _0xd77eae of _0x52fbb4){const _0x524e02=_0x1a2eae?[_0xd77eae]:_0x291a0e(_0x1b5be8,_0xd77eae,_0x4edce7['model']);for(const _0x5f129c of _0x524e02)_0x4edce7[_0xa893('0xd')][_0xa893('0x1c')]('TrackChangesEditing')[_0xa893('0x1b')](_0x5f129c,{'commandName':_0x1b5be8,'commandParams':[{'value':_0x1a2eae}]});}});});}}
23
+ const _0x2000=['getRanges','plugins','*Reset\x20font\x20background\x20color*','document','commandParams','registerDescriptionCallback','value','TrackChangesEditing','FontSize','fontColor.colors','commandName','has','fontSize','markInlineFormat','change','fontSize.options','*Set\x20font\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','_enableCommand','fontFamily','FontSizeEditing','fontColor','fontBackgroundColor','FontFamilyEditing','locale','from','find','label','FontBackgroundColorEditing','isCollapsed','toLowerCase','*Reset\x20font\x20color*','title','*Set\x20font\x20family:*\x20%0','selection','format','get','_descriptionFactory','editor','*Reset\x20font\x20size*','model','config'];(function(_0x51bebb,_0x20007a){const _0x4ab5e5=function(_0x2b8089){while(--_0x2b8089){_0x51bebb['push'](_0x51bebb['shift']());}};_0x4ab5e5(++_0x20007a);}(_0x2000,0x1bb));const _0x4ab5=function(_0x51bebb,_0x20007a){_0x51bebb=_0x51bebb-0x0;let _0x4ab5e5=_0x2000[_0x51bebb];return _0x4ab5e5;};import{Plugin as _0x3e753a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x208f07}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x414da3}from'./utils';import{getTranslation as _0x599820}from'../utils/common-translations';const eo=[{'pluginName':_0x4ab5('0x8'),'commandName':_0x4ab5('0x2a')},{'pluginName':_0x4ab5('0xb'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x4ab5('0x9')},{'pluginName':_0x4ab5('0x10'),'commandName':_0x4ab5('0xa')}];export default class W extends _0x3e753a{['afterInit'](){const _0x29c102=this[_0x4ab5('0x1a')][_0x4ab5('0xc')];for(const {pluginName:_0x39409c,commandName:_0x544e2f}of eo)this[_0x4ab5('0x1a')][_0x4ab5('0x1f')][_0x4ab5('0x29')](_0x39409c)&&this[_0x4ab5('0x6')](_0x544e2f);this[_0x4ab5('0x1a')][_0x4ab5('0x1f')][_0x4ab5('0x18')]('TrackChangesEditing')[_0x4ab5('0x19')][_0x4ab5('0x23')](_0x5143d5=>{const _0x513486=_0x29c102['t'],{data:_0x3dcdf3}=_0x5143d5;if(null!=_0x3dcdf3){if(_0x4ab5('0x2a')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x17d5d2=_0x3dcdf3['commandParams'][0x0][_0x4ab5('0x24')];if(_0x17d5d2){const _0x297589=_0x513486(this['editor'][_0x4ab5('0x1f')][_0x4ab5('0x18')](_0x4ab5('0x26'))['normalizeSizeOptions'](this[_0x4ab5('0x1a')][_0x4ab5('0x1d')][_0x4ab5('0x18')](_0x4ab5('0x2')))['find'](_0x1d6e50=>_0x1d6e50['model']==_0x17d5d2)[_0x4ab5('0x14')])['toLowerCase']();return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x4'),_0x297589)};}return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x1b'))};}if(_0x4ab5('0x7')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x2b724c=_0x3dcdf3['commandParams'][0x0][_0x4ab5('0x24')];return _0x2b724c?{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x15'),_0x2b724c)}:{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x5'))};}if('fontColor'==_0x3dcdf3[_0x4ab5('0x28')]){const _0x9ced94=_0x3dcdf3[_0x4ab5('0x22')][0x0][_0x4ab5('0x24')];if(_0x9ced94){const _0x581b58=_0x208f07(this[_0x4ab5('0x1a')]['config']['get'](_0x4ab5('0x27')))[_0x4ab5('0xe')](_0x3a2371=>_0x3a2371[_0x4ab5('0x1c')]==_0x9ced94);let _0x3611b9=_0x9ced94,_0x50780b='';return _0x581b58&&(_0x3611b9=_0x581b58['label'],_0x50780b=_0x513486(_0x3611b9)[_0x4ab5('0x12')]()),{'type':'format','content':_0x599820(_0x29c102,_0x4ab5('0x3'),_0x50780b)['trim'](),'color':{'value':_0x9ced94,'title':_0x50780b||_0x3611b9}};}return{'type':'format','content':_0x599820(_0x29c102,_0x4ab5('0x13'))};}if(_0x4ab5('0xa')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x3f48cc=_0x3dcdf3[_0x4ab5('0x22')][0x0][_0x4ab5('0x24')];if(_0x3f48cc){const _0x14d36b=_0x208f07(this[_0x4ab5('0x1a')][_0x4ab5('0x1d')][_0x4ab5('0x18')]('fontBackgroundColor.colors'))[_0x4ab5('0xe')](_0x1addfa=>_0x1addfa['model']==_0x3f48cc);let _0x3ba5c6=_0x3f48cc,_0x3dce44='';return _0x14d36b&&(_0x3ba5c6=_0x14d36b[_0x4ab5('0xf')],_0x3dce44=_0x513486(_0x3ba5c6)[_0x4ab5('0x12')]()),{'type':'format','content':_0x599820(_0x29c102,'*Set\x20font\x20background\x20color:*\x20%0',_0x3dce44)['trim'](),'color':{'value':_0x3f48cc,'title':_0x3dce44||_0x3ba5c6}};}return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x20'))};}}});}[_0x4ab5('0x6')](_0x48d636){const _0x5f2af3=this[_0x4ab5('0x1a')];_0x5f2af3['plugins'][_0x4ab5('0x18')](_0x4ab5('0x25'))['enableCommand'](_0x48d636,(_0x114791,_0x27068f={})=>{const _0x1e1245=_0x5f2af3['model'][_0x4ab5('0x21')][_0x4ab5('0x16')],_0x4c8c43=_0x27068f['value'];_0x1e1245[_0x4ab5('0x11')]?_0x114791(_0x27068f):_0x5f2af3[_0x4ab5('0x1c')][_0x4ab5('0x1')](()=>{const _0x59b92f=Array[_0x4ab5('0xd')](_0x1e1245[_0x4ab5('0x1e')]());for(const _0x5b25ef of _0x59b92f){const _0x3ec77d=_0x4c8c43?[_0x5b25ef]:_0x414da3(_0x48d636,_0x5b25ef,_0x5f2af3[_0x4ab5('0x1c')]);for(const _0x183cde of _0x3ec77d)_0x5f2af3['plugins'][_0x4ab5('0x18')](_0x4ab5('0x25'))[_0x4ab5('0x0')](_0x183cde,{'commandName':_0x48d636,'commandParams':[{'value':_0x4c8c43}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x578e=['keys','fontColor.colors','charAt','selection','isCollapsed','toUpperCase','markInlineFormat','word','fontSize','TrackChangesEditing','boolean','find','join','model','fontColor','locale','_descriptionFactory','format','editor','schema','getSelectedBlocks','plugins','document','toLowerCase','getRanges','slice','split','enableCommand','commands','getItems','backward','modifySelection','createSelection','pasteFormat','copyFormat','*Remove\x20all\x20formatting*','getAttributes','length','entries','registerDescriptionCallback','get','normalizeSizeOptions','fontBackgroundColor','*Set\x20format\x20to:*\x20%0','config','isBlock','getFirstPosition','afterInit'];(function(_0xa1ec4,_0x578e0f){const _0x3002da=function(_0x226372){while(--_0x226372){_0xa1ec4['push'](_0xa1ec4['shift']());}};_0x3002da(++_0x578e0f);}(_0x578e,0x66));const _0x3002=function(_0xa1ec4,_0x578e0f){_0xa1ec4=_0xa1ec4-0x0;let _0x3002da=_0x578e[_0xa1ec4];return _0x3002da;};import{Plugin as _0x542fcb}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2a226f}from'ckeditor5/src/ui';import{first as _0x1847d3}from'ckeditor5/src/utils';import{getTranslation as _0x13a4a0}from'../utils/common-translations';export default class J extends _0x542fcb{[_0x3002('0x29')](){const _0x591e10=this[_0x3002('0xc')],_0x5bd44e=_0x591e10[_0x3002('0x7')],_0x4a3046=_0x5bd44e[_0x3002('0x10')][_0x3002('0x2d')],_0xe2d189=_0x591e10[_0x3002('0xf')]['get'](_0x3002('0x3')),_0x5d2969=_0x591e10[_0x3002('0x9')],_0xec0a05=_0x591e10['commands'][_0x3002('0x22')](_0x3002('0x1c')),_0x4fbec4=_0x591e10[_0x3002('0x16')]['get'](_0x3002('0x1b'));_0xec0a05&&_0x4fbec4&&(_0xe2d189['enableCommand']('pasteFormat',(_0x5e1b7f,_0x2040db={})=>{const _0x5668e5=_0x2040db;_0x5bd44e['change'](()=>{const _0x36955c=Array['from'](_0x4a3046[_0x3002('0x12')]()),_0x170746=_0x4a3046[_0x3002('0x2e')]?[io(_0x5bd44e,_0x4a3046)]:_0x36955c,_0x2816d9=!!_0x1847d3(function*(_0x129bf7,_0x442cf9){const _0x4ad5ce=_0x3de244=>!!_0x1847d3(function*(_0x3e936e,_0x88ac08){for(const [_0x3ed7f1]of _0x3e936e[_0x3002('0x1e')]()){const _0x1f5c4d=_0x88ac08['getAttributeProperties'](_0x3ed7f1);_0x1f5c4d&&_0x1f5c4d['isFormatting']&&(yield _0x3ed7f1);}}(_0x3de244,_0x442cf9));for(const _0x22b939 of _0x129bf7[_0x3002('0x12')]())for(const _0x37482b of _0x22b939[_0x3002('0x17')]())!_0x442cf9[_0x3002('0x27')](_0x37482b)&&_0x4ad5ce(_0x37482b)&&(yield _0x37482b);for(const _0x3cb8c7 of _0x129bf7[_0x3002('0xe')]())_0x4ad5ce(_0x3cb8c7)&&(yield _0x3cb8c7);_0x4ad5ce(_0x129bf7)&&(yield _0x129bf7);}(_0x4a3046,_0x5bd44e[_0x3002('0xd')]));if(_0x2816d9||0x0!==Object[_0x3002('0x2a')](_0x5668e5)[_0x3002('0x1f')])for(const _0xbd4dc3 of _0x170746)_0xe2d189[_0x3002('0x0')](_0xbd4dc3,{'commandName':_0x3002('0x1b'),'commandParams':[_0x5668e5]});});}),_0xe2d189[_0x3002('0xa')][_0x3002('0x21')](_0xb7541f=>{const {data:_0x4c6bc0}=_0xb7541f;if(_0x4c6bc0&&_0x3002('0x1b')===_0x4c6bc0['commandName']){const _0x354ba3=[],_0xe74435=_0x4c6bc0['commandParams'][0x0];for(const [_0x49c349,_0x598415]of Object[_0x3002('0x20')](_0xe74435))_0x354ba3['push'](so(_0x591e10,_0x49c349,_0x598415));return _0x354ba3[_0x3002('0x1f')]?{'type':_0x3002('0xb'),'content':_0x13a4a0(_0x5d2969,_0x3002('0x25'),_0x354ba3[_0x3002('0x6')](',\x20'))}:{'type':_0x3002('0xb'),'content':_0x13a4a0(_0x5d2969,_0x3002('0x1d'))};}}),_0x591e10['plugins']['get'](_0x3002('0x3'))[_0x3002('0x15')](_0x3002('0x1c')));}}function io(_0x3dd578,_0x43a673){const _0x58c183=_0x3dd578[_0x3002('0x1a')](_0x43a673);_0x3dd578[_0x3002('0x19')](_0x58c183,{'unit':_0x3002('0x1'),'direction':_0x3002('0x18')});const _0x110ae5=_0x58c183[_0x3002('0x28')]();_0x3dd578[_0x3002('0x19')](_0x58c183,{'unit':_0x3002('0x1'),'direction':'forward'});const _0x5e947a=_0x58c183['getLastPosition']();return _0x3dd578['createRange'](_0x110ae5,_0x5e947a);}function so(_0x4fbd8f,_0x1b7def,_0x5a2ea5){const _0x199999=_0x4fbd8f['locale']['t'],_0x106363=_0x1b7def[_0x3002('0x14')](/(?=[A-Z])/)[_0x3002('0x6')]('\x20'),_0x3509e6=_0x199999(_0x106363[_0x3002('0x2c')](0x0)[_0x3002('0x2f')]()+_0x106363[_0x3002('0x13')](0x1))[_0x3002('0x11')]();if(_0x3002('0x4')==typeof _0x5a2ea5)return _0x3509e6;if(_0x3002('0x8')===_0x1b7def||_0x3002('0x24')===_0x1b7def){const _0x441373=_0x2a226f(_0x4fbd8f['config'][_0x3002('0x22')](_0x3002('0x2b')))[_0x3002('0x5')](_0x15537f=>_0x15537f[_0x3002('0x7')]==_0x5a2ea5);return _0x3509e6+'\x20('+(_0x441373?_0x199999(_0x441373['label'])[_0x3002('0x11')]():_0x5a2ea5)+')';}if(_0x3002('0x2')===_0x1b7def&&isNaN(parseFloat(_0x5a2ea5))){const _0x5a7357=_0x4fbd8f[_0x3002('0xf')][_0x3002('0x22')]('FontSize')[_0x3002('0x23')](_0x4fbd8f[_0x3002('0x26')][_0x3002('0x22')]('fontSize.options'))['find'](_0x2b1158=>_0x2b1158['model']==_0x5a2ea5);return _0x3509e6+'\x20('+(_0x5a7357?_0x199999(_0x5a7357['title'])[_0x3002('0x11')]():_0x5a2ea5)+')';}return _0x3509e6+'\x20('+_0x5a2ea5+')';}
23
+ const _0x54f9=['createSelection','getSelectedBlocks','enableCommand','join','word','split','commandName','plugins','fontSize','change','label','getAttributes','from','slice','editor','document','fontColor.colors','format','modifySelection','markInlineFormat','FontSize','find','config','isBlock','getRanges','createRange','TrackChangesEditing','getAttributeProperties','backward','entries','length','locale','keys','charAt','fontColor','forward','getFirstPosition','boolean','getLastPosition','get','commands','normalizeSizeOptions','*Remove\x20all\x20formatting*','copyFormat','toUpperCase','title','registerDescriptionCallback','toLowerCase','fontBackgroundColor','pasteFormat','afterInit'];(function(_0x56d074,_0x54f921){const _0x4dc763=function(_0x327f1d){while(--_0x327f1d){_0x56d074['push'](_0x56d074['shift']());}};_0x4dc763(++_0x54f921);}(_0x54f9,0x1d1));const _0x4dc7=function(_0x56d074,_0x54f921){_0x56d074=_0x56d074-0x0;let _0x4dc763=_0x54f9[_0x56d074];return _0x4dc763;};import{Plugin as _0x18613c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x38ef9d}from'ckeditor5/src/ui';import{first as _0x277b51}from'ckeditor5/src/utils';import{getTranslation as _0x453874}from'../utils/common-translations';export default class J extends _0x18613c{[_0x4dc7('0x2c')](){const _0x83e188=this[_0x4dc7('0x8')],_0x22f140=_0x83e188['model'],_0x34a19d=_0x22f140[_0x4dc7('0x9')]['selection'],_0x3ac82c=_0x83e188[_0x4dc7('0x1')]['get']('TrackChangesEditing'),_0x24a1d0=_0x83e188[_0x4dc7('0x19')],_0x4ae036=_0x83e188['commands'][_0x4dc7('0x21')](_0x4dc7('0x25')),_0xeae2cd=_0x83e188[_0x4dc7('0x22')]['get'](_0x4dc7('0x2b'));_0x4ae036&&_0xeae2cd&&(_0x3ac82c[_0x4dc7('0x2f')]('pasteFormat',(_0x161f30,_0x4962d5={})=>{const _0x2ab591=_0x4962d5;_0x22f140[_0x4dc7('0x3')](()=>{const _0x25d38e=Array[_0x4dc7('0x6')](_0x34a19d[_0x4dc7('0x12')]()),_0x3585dd=_0x34a19d['isCollapsed']?[io(_0x22f140,_0x34a19d)]:_0x25d38e,_0x41ed80=!!_0x277b51(function*(_0x488e00,_0x446420){const _0x5aff12=_0x538705=>!!_0x277b51(function*(_0x44707e,_0x1c2b6b){for(const [_0x542c62]of _0x44707e[_0x4dc7('0x5')]()){const _0x4f9fb1=_0x1c2b6b[_0x4dc7('0x15')](_0x542c62);_0x4f9fb1&&_0x4f9fb1['isFormatting']&&(yield _0x542c62);}}(_0x538705,_0x446420));for(const _0x5277ae of _0x488e00['getRanges']())for(const _0x1ee5f1 of _0x5277ae['getItems']())!_0x446420[_0x4dc7('0x11')](_0x1ee5f1)&&_0x5aff12(_0x1ee5f1)&&(yield _0x1ee5f1);for(const _0x127166 of _0x488e00[_0x4dc7('0x2e')]())_0x5aff12(_0x127166)&&(yield _0x127166);_0x5aff12(_0x488e00)&&(yield _0x488e00);}(_0x34a19d,_0x22f140['schema']));if(_0x41ed80||0x0!==Object[_0x4dc7('0x1a')](_0x2ab591)[_0x4dc7('0x18')])for(const _0x12bb03 of _0x3585dd)_0x3ac82c[_0x4dc7('0xd')](_0x12bb03,{'commandName':_0x4dc7('0x2b'),'commandParams':[_0x2ab591]});});}),_0x3ac82c['_descriptionFactory'][_0x4dc7('0x28')](_0x41bc85=>{const {data:_0x23b8df}=_0x41bc85;if(_0x23b8df&&_0x4dc7('0x2b')===_0x23b8df[_0x4dc7('0x0')]){const _0x162591=[],_0xaad20d=_0x23b8df['commandParams'][0x0];for(const [_0x59eea7,_0xa451a3]of Object[_0x4dc7('0x17')](_0xaad20d))_0x162591['push'](so(_0x83e188,_0x59eea7,_0xa451a3));return _0x162591['length']?{'type':_0x4dc7('0xb'),'content':_0x453874(_0x24a1d0,'*Set\x20format\x20to:*\x20%0',_0x162591[_0x4dc7('0x30')](',\x20'))}:{'type':'format','content':_0x453874(_0x24a1d0,_0x4dc7('0x24'))};}}),_0x83e188[_0x4dc7('0x1')][_0x4dc7('0x21')](_0x4dc7('0x14'))['enableCommand']('copyFormat'));}}function io(_0x163a24,_0x2e6e8c){const _0x2c3e57=_0x163a24[_0x4dc7('0x2d')](_0x2e6e8c);_0x163a24[_0x4dc7('0xc')](_0x2c3e57,{'unit':_0x4dc7('0x31'),'direction':_0x4dc7('0x16')});const _0x3c7d4c=_0x2c3e57[_0x4dc7('0x1e')]();_0x163a24[_0x4dc7('0xc')](_0x2c3e57,{'unit':_0x4dc7('0x31'),'direction':_0x4dc7('0x1d')});const _0x451393=_0x2c3e57[_0x4dc7('0x20')]();return _0x163a24[_0x4dc7('0x13')](_0x3c7d4c,_0x451393);}function so(_0x101599,_0x2aa6a2,_0xd8e332){const _0x4e26d9=_0x101599[_0x4dc7('0x19')]['t'],_0x37a98f=_0x2aa6a2[_0x4dc7('0x32')](/(?=[A-Z])/)[_0x4dc7('0x30')]('\x20'),_0x2234a9=_0x4e26d9(_0x37a98f[_0x4dc7('0x1b')](0x0)[_0x4dc7('0x26')]()+_0x37a98f[_0x4dc7('0x7')](0x1))[_0x4dc7('0x29')]();if(_0x4dc7('0x1f')==typeof _0xd8e332)return _0x2234a9;if(_0x4dc7('0x1c')===_0x2aa6a2||_0x4dc7('0x2a')===_0x2aa6a2){const _0x222738=_0x38ef9d(_0x101599['config'][_0x4dc7('0x21')](_0x4dc7('0xa')))[_0x4dc7('0xf')](_0x451ec7=>_0x451ec7['model']==_0xd8e332);return _0x2234a9+'\x20('+(_0x222738?_0x4e26d9(_0x222738[_0x4dc7('0x4')])[_0x4dc7('0x29')]():_0xd8e332)+')';}if(_0x4dc7('0x2')===_0x2aa6a2&&isNaN(parseFloat(_0xd8e332))){const _0xfe8ec9=_0x101599[_0x4dc7('0x1')]['get'](_0x4dc7('0xe'))[_0x4dc7('0x23')](_0x101599[_0x4dc7('0x10')][_0x4dc7('0x21')]('fontSize.options'))[_0x4dc7('0xf')](_0x330017=>_0x330017['model']==_0xd8e332);return _0x2234a9+'\x20('+(_0xfe8ec9?_0x4e26d9(_0xfe8ec9[_0x4dc7('0x27')])['toLowerCase']():_0xd8e332)+')';}return _0x2234a9+'\x20('+_0xd8e332+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26c6=['plugins','has','format','config','HeadingEditing','_descriptionFactory','schema','title','checkChild','blockName','from','find','value','ELEMENT_HEADING_CUSTOM','document','registerDescriptionCallback','get','change','commandParams','afterInit','match','getSelectedBlocks','selection','paragraph','*Change\x20to:*\x20%0','ELEMENT_HEADING','editor','isObject','name','heading','locale','formatBlock','filter','model'];(function(_0xf571f9,_0x26c6f5){const _0x2217ea=function(_0x2b1043){while(--_0x2b1043){_0xf571f9['push'](_0xf571f9['shift']());}};_0x2217ea(++_0x26c6f5);}(_0x26c6,0xa4));const _0x2217=function(_0xf571f9,_0x26c6f5){_0xf571f9=_0xf571f9-0x0;let _0x2217ea=_0x26c6[_0xf571f9];return _0x2217ea;};import{Plugin as _0xef3d3e}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3216a2}from'./utils';import{getTranslation as _0x3c4414}from'../utils/common-translations';export default class K extends _0xef3d3e{[_0x2217('0x19')](){const _0xf44891=this[_0x2217('0x20')],_0x57c1cb=_0xf44891[_0x2217('0x2')],_0x5e5cb1=_0xf44891[_0x2217('0x9')]['get']('heading.options');if(!_0xf44891[_0x2217('0x6')][_0x2217('0x7')](_0x2217('0xa')))return;const _0x16da89=_0xf44891[_0x2217('0x6')][_0x2217('0x16')]('TrackChangesEditing');_0x16da89['enableCommand'](_0x2217('0x1'),(_0x250cb9,_0x2df8a4)=>{const _0x3a0a04=_0x2df8a4['value'],_0x510549=Array[_0x2217('0x10')](this[_0x2217('0x20')][_0x2217('0x5')][_0x2217('0x14')][_0x2217('0x1c')][_0x2217('0x1b')]())[_0x2217('0x4')](_0x1b97dd=>function(_0x3c8b04,_0x5dc3dc,_0x4e699d){return _0x4e699d[_0x2217('0xe')](_0x3c8b04['parent'],_0x5dc3dc)&&!_0x4e699d[_0x2217('0x21')](_0x3c8b04)&&_0x3c8b04[_0x2217('0x0')]!=_0x5dc3dc;}(_0x1b97dd,_0x3a0a04,this[_0x2217('0x20')][_0x2217('0x5')][_0x2217('0xc')]));_0xf44891[_0x2217('0x5')][_0x2217('0x17')](()=>{for(const _0x20015c of _0x510549)_0x16da89['markBlockFormat'](_0x20015c,{'commandName':_0x2217('0x1'),'commandParams':[_0x2df8a4],'formatGroupId':_0x2217('0xf')},_0x3216a2(_0x20015c));});});for(const _0xd0e409 of _0x5e5cb1)_0x2217('0x1d')!=_0xd0e409[_0x2217('0x5')]&&_0x16da89[_0x2217('0xb')]['registerElementLabel'](_0xd0e409[_0x2217('0x5')],_0x490e12=>{const _0x1db09a=nn(_0xd0e409[_0x2217('0x5')]);return null!==_0x1db09a?_0x3f5320(_0x490e12,_0x1db09a):_0x4f1814(_0x490e12,_0xd0e409['title']);});function _0x3f5320(_0x1f91b8,_0x17e2d4){return _0x3c4414(_0x57c1cb,_0x2217('0x1f'),[_0x1f91b8,_0x17e2d4]);}function _0x4f1814(_0x4f876e,_0x4332d7){return _0x3c4414(_0x57c1cb,_0x2217('0x13'),[_0x4f876e,_0x4332d7]);}_0x16da89[_0x2217('0xb')][_0x2217('0x15')](_0x535e47=>{const {type:_0x2645db,data:_0x4d6744}=_0x535e47;if(_0x2217('0x3')==_0x2645db&&_0x4d6744&&_0x2217('0x1')==_0x4d6744['commandName']){const _0x308ed6=_0x4d6744[_0x2217('0x18')][0x0][_0x2217('0x12')],_0x3c4481=nn(_0x308ed6);if(null!==_0x3c4481)return{'type':'format','content':_0x3c4414(_0x57c1cb,'*Change\x20to:*\x20%0',_0x3f5320(0x1,_0x3c4481))};const _0x42dfa3=_0x5e5cb1[_0x2217('0x11')](_0x59b53d=>_0x59b53d[_0x2217('0x5')]===_0x308ed6)[_0x2217('0xd')];return{'type':_0x2217('0x8'),'content':_0x3c4414(_0x57c1cb,_0x2217('0x1e'),_0x4f1814(0x1,_0x42dfa3))};}});}}function nn(_0x4e988e){const _0x13cfc9=_0x4e988e[_0x2217('0x1a')](/^heading(\d+)$/);return _0x13cfc9?_0x13cfc9[0x1]:null;}
23
+ const _0x136c=['get','*Change\x20to:*\x20%0','markBlockFormat','isObject','value','ELEMENT_HEADING_CUSTOM','has','registerDescriptionCallback','format','blockName','TrackChangesEditing','parent','change','HeadingEditing','find','getSelectedBlocks','commandParams','ELEMENT_HEADING','config','title','afterInit','filter','plugins','model','heading','editor','from','schema','paragraph','checkChild','_descriptionFactory','commandName','registerElementLabel','selection','match'];(function(_0x1ad92c,_0x136c33){const _0x1e2989=function(_0x2838be){while(--_0x2838be){_0x1ad92c['push'](_0x1ad92c['shift']());}};_0x1e2989(++_0x136c33);}(_0x136c,0xd4));const _0x1e29=function(_0x1ad92c,_0x136c33){_0x1ad92c=_0x1ad92c-0x0;let _0x1e2989=_0x136c[_0x1ad92c];return _0x1e2989;};import{Plugin as _0xed6241}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x266bc6}from'./utils';import{getTranslation as _0x3ffe5d}from'../utils/common-translations';export default class K extends _0xed6241{[_0x1e29('0x12')](){const _0x2c685b=this[_0x1e29('0x17')],_0xb91e49=_0x2c685b['locale'],_0x5bbf64=_0x2c685b[_0x1e29('0x10')][_0x1e29('0x21')]('heading.options');if(!_0x2c685b[_0x1e29('0x14')][_0x1e29('0x4')](_0x1e29('0xb')))return;const _0x19c27a=_0x2c685b[_0x1e29('0x14')][_0x1e29('0x21')](_0x1e29('0x8'));_0x19c27a['enableCommand']('heading',(_0x40107a,_0x21803a)=>{const _0x256abe=_0x21803a[_0x1e29('0x2')],_0x27776a=Array[_0x1e29('0x18')](this[_0x1e29('0x17')][_0x1e29('0x15')]['document'][_0x1e29('0x1f')][_0x1e29('0xd')]())[_0x1e29('0x13')](_0x2759c2=>function(_0x344955,_0x2779da,_0x59f21c){return _0x59f21c[_0x1e29('0x1b')](_0x344955[_0x1e29('0x9')],_0x2779da)&&!_0x59f21c[_0x1e29('0x1')](_0x344955)&&_0x344955['name']!=_0x2779da;}(_0x2759c2,_0x256abe,this[_0x1e29('0x17')][_0x1e29('0x15')][_0x1e29('0x19')]));_0x2c685b[_0x1e29('0x15')][_0x1e29('0xa')](()=>{for(const _0x20c521 of _0x27776a)_0x19c27a[_0x1e29('0x0')](_0x20c521,{'commandName':_0x1e29('0x16'),'commandParams':[_0x21803a],'formatGroupId':_0x1e29('0x7')},_0x266bc6(_0x20c521));});});for(const _0x18bd2f of _0x5bbf64)_0x1e29('0x1a')!=_0x18bd2f[_0x1e29('0x15')]&&_0x19c27a['_descriptionFactory'][_0x1e29('0x1e')](_0x18bd2f[_0x1e29('0x15')],_0x5240a2=>{const _0x1c9539=nn(_0x18bd2f[_0x1e29('0x15')]);return null!==_0x1c9539?_0x43ac58(_0x5240a2,_0x1c9539):_0x1538b8(_0x5240a2,_0x18bd2f[_0x1e29('0x11')]);});function _0x43ac58(_0x4104a3,_0xd919b5){return _0x3ffe5d(_0xb91e49,_0x1e29('0xf'),[_0x4104a3,_0xd919b5]);}function _0x1538b8(_0x105a4a,_0x398131){return _0x3ffe5d(_0xb91e49,_0x1e29('0x3'),[_0x105a4a,_0x398131]);}_0x19c27a[_0x1e29('0x1c')][_0x1e29('0x5')](_0x478c04=>{const {type:_0x1c4b83,data:_0x3bdf79}=_0x478c04;if('formatBlock'==_0x1c4b83&&_0x3bdf79&&_0x1e29('0x16')==_0x3bdf79[_0x1e29('0x1d')]){const _0x3df6ea=_0x3bdf79[_0x1e29('0xe')][0x0][_0x1e29('0x2')],_0x4bca8a=nn(_0x3df6ea);if(null!==_0x4bca8a)return{'type':_0x1e29('0x6'),'content':_0x3ffe5d(_0xb91e49,'*Change\x20to:*\x20%0',_0x43ac58(0x1,_0x4bca8a))};const _0x321198=_0x5bbf64[_0x1e29('0xc')](_0x9119bb=>_0x9119bb[_0x1e29('0x15')]===_0x3df6ea)['title'];return{'type':_0x1e29('0x6'),'content':_0x3ffe5d(_0xb91e49,_0x1e29('0x22'),_0x1538b8(0x1,_0x321198))};}});}}function nn(_0x5a7ceb){const _0x391237=_0x5a7ceb[_0x1e29('0x20')](/^heading(\d+)$/);return _0x391237?_0x391237[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c21=['toLowerCase','HighlightEditing','push','change','isCollapsed','has','item','FORMAT_HIGHLIGHT','getRanges','color','config','markInlineFormat','highlight','getAttribute','format','registerDescriptionCallback','afterInit','locale','get','*Set\x20highlight:*\x20%0','plugins','_descriptionFactory','find','formatInline','commandParams','TrackChangesEditing','createRange','title','hasAttribute','editor','*Remove\x20highlight*','backward','value','model','commandName'];(function(_0x558057,_0x2c21bd){const _0x26fc9d=function(_0x162d3d){while(--_0x162d3d){_0x558057['push'](_0x558057['shift']());}};_0x26fc9d(++_0x2c21bd);}(_0x2c21,0x1cb));const _0x26fc=function(_0x558057,_0x2c21bd){_0x558057=_0x558057-0x0;let _0x26fc9d=_0x2c21[_0x558057];return _0x26fc9d;};import{Plugin as _0x39ddcd}from'ckeditor5/src/core';import{getTranslation as _0x533f53}from'../utils/common-translations';import{getRangesWithAttribute as _0x2ea13b}from'./utils';export default class Q extends _0x39ddcd{[_0x26fc('0xc')](){const _0xeddee4=this[_0x26fc('0x19')];if(!_0xeddee4[_0x26fc('0x10')][_0x26fc('0x1')](_0x26fc('0x20')))return;const _0x24ae8d=_0xeddee4['plugins'][_0x26fc('0xe')](_0x26fc('0x15'));_0x24ae8d['enableCommand']('highlight',(_0x530e1d,_0x5dc130={})=>{const _0xeb789d=_0xeddee4[_0x26fc('0x1d')]['document']['selection'],_0x755bb5=_0xeb789d[_0x26fc('0x9')]('highlight');let _0x3f8caf=_0x5dc130[_0x26fc('0x1c')],_0x3571b4=[];if(_0xeb789d[_0x26fc('0x0')]){const _0x3aca40=_0xeb789d['getFirstPosition']();if(!_0xeb789d[_0x26fc('0x18')](_0x26fc('0x8')))return void _0x530e1d(_0x5dc130);{const _0x385511=_0x1dcdc5=>_0x1dcdc5[_0x26fc('0x2')][_0x26fc('0x9')](_0x26fc('0x8'))===_0x755bb5,_0x43ae93=_0x3aca40['getLastMatchingPosition'](_0x385511,{'direction':_0x26fc('0x1b')}),_0x8873e6=_0x3aca40['getLastMatchingPosition'](_0x385511);_0x3571b4=[_0xeddee4[_0x26fc('0x1d')][_0x26fc('0x16')](_0x43ae93,_0x8873e6)],_0x3f8caf==_0x755bb5&&(_0x3f8caf=null);}}else for(const _0x4bc9d9 of _0xeb789d[_0x26fc('0x4')]())_0x3f8caf?_0x3571b4[_0x26fc('0x21')](_0x4bc9d9):_0x3571b4[_0x26fc('0x21')](..._0x2ea13b(_0x26fc('0x8'),_0x4bc9d9,_0xeddee4[_0x26fc('0x1d')]));_0xeddee4[_0x26fc('0x1d')][_0x26fc('0x22')](()=>{for(const _0x231ac1 of _0x3571b4)_0x24ae8d[_0x26fc('0x7')](_0x231ac1,{'commandName':_0x26fc('0x8'),'commandParams':[{'value':_0x3f8caf}]});});});const _0x1dcd27=_0xeddee4[_0x26fc('0xd')];_0x24ae8d[_0x26fc('0x11')][_0x26fc('0xb')](_0x2b1f36=>{const {type:_0x1ee89,data:_0x4810fb}=_0x2b1f36;if(_0x26fc('0x13')==_0x1ee89&&_0x4810fb&&_0x26fc('0x8')==_0x4810fb[_0x26fc('0x1e')]){const _0x117fda=_0x1dcd27['t'],_0x5967be=_0x4810fb[_0x26fc('0x14')][0x0][_0x26fc('0x1c')];if(_0x5967be){const _0x2b954a=_0xeddee4[_0x26fc('0x6')][_0x26fc('0xe')]('highlight.options')[_0x26fc('0x12')](_0x15be32=>_0x15be32[_0x26fc('0x1d')]==_0x5967be),_0xcc178f=_0x117fda(_0x2b954a[_0x26fc('0x17')])[_0x26fc('0x1f')]();return{'type':_0x26fc('0xa'),'content':_0x533f53(_0x1dcd27,_0x26fc('0xf'),_0xcc178f),'color':{'value':_0x2b954a[_0x26fc('0x5')],'title':_0x2b954a[_0x26fc('0x17')]}};}return{'type':_0x26fc('0xa'),'content':_0x533f53(_0x1dcd27,_0x26fc('0x1a'),_0x533f53(_0x1dcd27,_0x26fc('0x3')))};}});}}
23
+ const _0x1a2c=['toLowerCase','isCollapsed','highlight','getFirstPosition','editor','backward','afterInit','*Set\x20highlight:*\x20%0','change','getAttribute','config','item','color','getLastMatchingPosition','get','locale','find','*Remove\x20highlight*','push','document','markInlineFormat','title','registerDescriptionCallback','has','selection','model','commandParams','plugins','FORMAT_HIGHLIGHT','TrackChangesEditing','format','enableCommand'];(function(_0x1618f0,_0x1a2c82){const _0xb113e1=function(_0x34759a){while(--_0x34759a){_0x1618f0['push'](_0x1618f0['shift']());}};_0xb113e1(++_0x1a2c82);}(_0x1a2c,0xc0));const _0xb113=function(_0x1618f0,_0x1a2c82){_0x1618f0=_0x1618f0-0x0;let _0xb113e1=_0x1a2c[_0x1618f0];return _0xb113e1;};import{Plugin as _0x25589d}from'ckeditor5/src/core';import{getTranslation as _0x1a3bb4}from'../utils/common-translations';import{getRangesWithAttribute as _0x1ca5fa}from'./utils';export default class Q extends _0x25589d{[_0xb113('0x6')](){const _0x295b52=this[_0xb113('0x4')];if(!_0x295b52['plugins'][_0xb113('0x17')]('HighlightEditing'))return;const _0x4c24c6=_0x295b52[_0xb113('0x1b')][_0xb113('0xe')](_0xb113('0x1d'));_0x4c24c6[_0xb113('0x1f')](_0xb113('0x2'),(_0x499e46,_0x49473d={})=>{const _0x5c237e=_0x295b52['model'][_0xb113('0x13')][_0xb113('0x18')],_0x4cf66c=_0x5c237e[_0xb113('0x9')](_0xb113('0x2'));let _0x413eb2=_0x49473d['value'],_0x1e00da=[];if(_0x5c237e[_0xb113('0x1')]){const _0x12796b=_0x5c237e[_0xb113('0x3')]();if(!_0x5c237e['hasAttribute'](_0xb113('0x2')))return void _0x499e46(_0x49473d);{const _0x5d1073=_0x2fc152=>_0x2fc152[_0xb113('0xb')][_0xb113('0x9')](_0xb113('0x2'))===_0x4cf66c,_0x473e98=_0x12796b['getLastMatchingPosition'](_0x5d1073,{'direction':_0xb113('0x5')}),_0x5ea214=_0x12796b[_0xb113('0xd')](_0x5d1073);_0x1e00da=[_0x295b52[_0xb113('0x19')]['createRange'](_0x473e98,_0x5ea214)],_0x413eb2==_0x4cf66c&&(_0x413eb2=null);}}else for(const _0x28753c of _0x5c237e['getRanges']())_0x413eb2?_0x1e00da[_0xb113('0x12')](_0x28753c):_0x1e00da[_0xb113('0x12')](..._0x1ca5fa(_0xb113('0x2'),_0x28753c,_0x295b52[_0xb113('0x19')]));_0x295b52[_0xb113('0x19')][_0xb113('0x8')](()=>{for(const _0x177b42 of _0x1e00da)_0x4c24c6[_0xb113('0x14')](_0x177b42,{'commandName':_0xb113('0x2'),'commandParams':[{'value':_0x413eb2}]});});});const _0x37a330=_0x295b52[_0xb113('0xf')];_0x4c24c6['_descriptionFactory'][_0xb113('0x16')](_0x28c029=>{const {type:_0x1b8d89,data:_0x26f936}=_0x28c029;if('formatInline'==_0x1b8d89&&_0x26f936&&'highlight'==_0x26f936['commandName']){const _0x33a25d=_0x37a330['t'],_0x384d49=_0x26f936[_0xb113('0x1a')][0x0]['value'];if(_0x384d49){const _0xdd5ce7=_0x295b52[_0xb113('0xa')][_0xb113('0xe')]('highlight.options')[_0xb113('0x10')](_0x3b19ce=>_0x3b19ce[_0xb113('0x19')]==_0x384d49),_0x2156cf=_0x33a25d(_0xdd5ce7[_0xb113('0x15')])[_0xb113('0x0')]();return{'type':_0xb113('0x1e'),'content':_0x1a3bb4(_0x37a330,_0xb113('0x7'),_0x2156cf),'color':{'value':_0xdd5ce7[_0xb113('0xc')],'title':_0xdd5ce7[_0xb113('0x15')]}};}return{'type':_0xb113('0x1e'),'content':_0x1a3bb4(_0x37a330,_0xb113('0x11'),_0x1a3bb4(_0x37a330,_0xb113('0x1c')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c3d=['dataDowncast','horizontalLine','editor','enableCommand','HorizontalLineEditing','createPositionAt','afterInit','conversion','createEmptyElement','plugins','registerElementLabel','_descriptionFactory','TrackChangesEditing','for','elementToStructure','locale','insert','ck-horizontal-line'];(function(_0x16fc7b,_0x4c3d55){const _0x5ac7c5=function(_0x48c562){while(--_0x48c562){_0x16fc7b['push'](_0x16fc7b['shift']());}};_0x5ac7c5(++_0x4c3d55);}(_0x4c3d,0xc4));const _0x5ac7=function(_0x16fc7b,_0x4c3d55){_0x16fc7b=_0x16fc7b-0x0;let _0x5ac7c5=_0x4c3d[_0x16fc7b];return _0x5ac7c5;};import{Plugin as _0x36fed}from'ckeditor5/src/core';import{getTranslation as _0x317d7b}from'../utils/common-translations';export default class V extends _0x36fed{[_0x5ac7('0x8')](){const _0x2df823=this[_0x5ac7('0x4')];if(!_0x2df823[_0x5ac7('0xb')]['has'](_0x5ac7('0x6')))return;_0x2df823['plugins']['get']('TrackChangesEditing')[_0x5ac7('0x5')](_0x5ac7('0x3'));const _0x1226af=_0x2df823[_0x5ac7('0xb')]['get'](_0x5ac7('0xe')),_0x34b63b=_0x2df823[_0x5ac7('0x11')];_0x1226af[_0x5ac7('0xd')][_0x5ac7('0xc')](_0x5ac7('0x3'),_0x12dabd=>_0x317d7b(_0x34b63b,'ELEMENT_HORIZONTAL_LINE',_0x12dabd)),_0x2df823[_0x5ac7('0x9')][_0x5ac7('0xf')](_0x5ac7('0x2'))[_0x5ac7('0x10')]({'model':'horizontalLine','view':(_0x4745ac,{writer:_0x3002de,options:_0x25ca08})=>{if(!_0x25ca08['showSuggestionHighlights'])return null;const _0x56f6d4=_0x3002de['createContainerElement']('div'),_0x4de0dd=_0x3002de[_0x5ac7('0xa')]('hr');return _0x3002de['addClass'](_0x5ac7('0x1'),_0x56f6d4),_0x3002de[_0x5ac7('0x0')](_0x3002de[_0x5ac7('0x7')](_0x56f6d4,0x0),_0x4de0dd),_0x56f6d4;},'converterPriority':'high'});}}
23
+ const _0x62f7=['get','dataDowncast','TrackChangesEditing','HorizontalLineEditing','_descriptionFactory','createPositionAt','enableCommand','createContainerElement','for','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','registerElementLabel','editor','afterInit','showSuggestionHighlights','horizontalLine','addClass','conversion','elementToStructure','plugins'];(function(_0xcfb2b2,_0x62f7af){const _0xb8d4e5=function(_0x27d0b1){while(--_0x27d0b1){_0xcfb2b2['push'](_0xcfb2b2['shift']());}};_0xb8d4e5(++_0x62f7af);}(_0x62f7,0x9a));const _0xb8d4=function(_0xcfb2b2,_0x62f7af){_0xcfb2b2=_0xcfb2b2-0x0;let _0xb8d4e5=_0x62f7[_0xcfb2b2];return _0xb8d4e5;};import{Plugin as _0x2477f0}from'ckeditor5/src/core';import{getTranslation as _0x5f207e}from'../utils/common-translations';export default class V extends _0x2477f0{[_0xb8d4('0x13')](){const _0x3f5e06=this[_0xb8d4('0x12')];if(!_0x3f5e06[_0xb8d4('0x5')]['has'](_0xb8d4('0x9')))return;_0x3f5e06[_0xb8d4('0x5')][_0xb8d4('0x6')](_0xb8d4('0x8'))[_0xb8d4('0xc')](_0xb8d4('0x1'));const _0x3f23cd=_0x3f5e06[_0xb8d4('0x5')]['get'](_0xb8d4('0x8')),_0x2ddc1b=_0x3f5e06['locale'];_0x3f23cd[_0xb8d4('0xa')][_0xb8d4('0x11')](_0xb8d4('0x1'),_0x1b4d56=>_0x5f207e(_0x2ddc1b,_0xb8d4('0xf'),_0x1b4d56)),_0x3f5e06[_0xb8d4('0x3')][_0xb8d4('0xe')](_0xb8d4('0x7'))[_0xb8d4('0x4')]({'model':_0xb8d4('0x1'),'view':(_0x5ac823,{writer:_0x5bf246,options:_0x271719})=>{if(!_0x271719[_0xb8d4('0x0')])return null;const _0x4a1631=_0x5bf246[_0xb8d4('0xd')]('div'),_0x4da064=_0x5bf246['createEmptyElement']('hr');return _0x5bf246[_0xb8d4('0x2')](_0xb8d4('0x10'),_0x4a1631),_0x5bf246['insert'](_0x5bf246[_0xb8d4('0xb')](_0x4a1631,0x0),_0x4da064),_0x4a1631;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3963=['enableCommand','get','registerDescriptionCallback','TrackChangesEditing','locale','rawHtml','value','ELEMENT_HTML_EMBED','selection','getSelectedElement','htmlEmbed','_descriptionFactory','view','commandName','has','rawHtmlApi','change','plugins','registerElementLabel','document','HtmlEmbed','*Change\x20%0\x20content*'];(function(_0x51f8dd,_0x39634d){const _0x36a5a7=function(_0x3a3703){while(--_0x3a3703){_0x51f8dd['push'](_0x51f8dd['shift']());}};_0x36a5a7(++_0x39634d);}(_0x3963,0x1bc));const _0x36a5=function(_0x51f8dd,_0x39634d){_0x51f8dd=_0x51f8dd-0x0;let _0x36a5a7=_0x3963[_0x51f8dd];return _0x36a5a7;};import{Plugin as _0x10b5a7}from'ckeditor5/src/core';import{getTranslation as _0xd21883}from'../utils/common-translations';export default class X extends _0x10b5a7{['afterInit'](){const _0xd32802=this['editor'];if(!_0xd32802[_0x36a5('0xd')][_0x36a5('0xa')](_0x36a5('0x10')))return;const _0x2d818d=_0xd32802['plugins'][_0x36a5('0x13')]('TrackChangesEditing'),_0x2a9496=_0xd32802[_0x36a5('0x0')],_0x3734f9=_0xd32802['editing'][_0x36a5('0x8')][_0x36a5('0xf')][_0x36a5('0x4')];_0x2d818d['_descriptionFactory'][_0x36a5('0xe')]('rawHtml',_0x4bdd7f=>_0xd21883(_0x2a9496,_0x36a5('0x3'),_0x4bdd7f)),_0xd32802[_0x36a5('0xd')][_0x36a5('0x13')](_0x36a5('0x15'))[_0x36a5('0x12')]('htmlEmbed',(_0x10219c,_0x48c797)=>{const _0x4bdff7=_0xd32802['model'],_0x48e3c4=_0x4bdff7['document'][_0x36a5('0x4')];_0x4bdff7[_0x36a5('0xc')](()=>{const _0x9fc6f3=function(_0x246664){const _0x5aad19=_0x246664['getSelectedElement']();if(_0x5aad19&&_0x5aad19['is']('element',_0x36a5('0x1')))return _0x246664['getSelectedElement']();return null;}(_0x48e3c4);if(!_0x9fc6f3)return void _0x10219c(null);const _0x43bc39=_0x9fc6f3['getAttribute'](_0x36a5('0x2'))||'';if(void 0x0===_0x48c797)return;if(_0x48c797===_0x43bc39)return;_0x2d818d['markBlockFormat'](_0x9fc6f3,{'commandName':_0x36a5('0x6'),'commandParams':[_0x48c797]}),_0x3734f9[_0x36a5('0x5')]()['getCustomProperty'](_0x36a5('0xb'))['cancel']();});}),_0x2d818d[_0x36a5('0x7')][_0x36a5('0x14')](_0x26ef8d=>{const {data:_0x2d8f35}=_0x26ef8d;if(_0x2d8f35&&_0x36a5('0x6')==_0x2d8f35[_0x36a5('0x9')]){const _0x1c82c1=_0xd21883(_0x2a9496,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0xd21883(_0x2a9496,_0x36a5('0x11'),_0x1c82c1)};}});}}
23
+ const _0x10d5=['view','commandName','selection','format','model','getSelectedElement','_descriptionFactory','TrackChangesEditing','has','markBlockFormat','value','HtmlEmbed','editor','locale','document','rawHtml','editing','afterInit','cancel','getAttribute','rawHtmlApi','registerElementLabel','enableCommand','htmlEmbed','plugins','get'];(function(_0x586a55,_0x10d5c0){const _0x1d9544=function(_0x5d7673){while(--_0x5d7673){_0x586a55['push'](_0x586a55['shift']());}};_0x1d9544(++_0x10d5c0);}(_0x10d5,0x1d7));const _0x1d95=function(_0x586a55,_0x10d5c0){_0x586a55=_0x586a55-0x0;let _0x1d9544=_0x10d5[_0x586a55];return _0x1d9544;};import{Plugin as _0x3802b2}from'ckeditor5/src/core';import{getTranslation as _0xe8a0af}from'../utils/common-translations';export default class X extends _0x3802b2{[_0x1d95('0xe')](){const _0x566c99=this[_0x1d95('0x9')];if(!_0x566c99['plugins'][_0x1d95('0x5')](_0x1d95('0x8')))return;const _0x22151b=_0x566c99[_0x1d95('0x15')][_0x1d95('0x16')](_0x1d95('0x4')),_0x26a162=_0x566c99[_0x1d95('0xa')],_0x489880=_0x566c99[_0x1d95('0xd')][_0x1d95('0x17')][_0x1d95('0xb')]['selection'];_0x22151b[_0x1d95('0x3')][_0x1d95('0x12')](_0x1d95('0xc'),_0x1fa396=>_0xe8a0af(_0x26a162,'ELEMENT_HTML_EMBED',_0x1fa396)),_0x566c99[_0x1d95('0x15')][_0x1d95('0x16')](_0x1d95('0x4'))[_0x1d95('0x13')](_0x1d95('0x14'),(_0x42d10c,_0x15a3bb)=>{const _0x38be2b=_0x566c99[_0x1d95('0x1')],_0x45ad35=_0x38be2b[_0x1d95('0xb')][_0x1d95('0x19')];_0x38be2b['change'](()=>{const _0x196aaa=function(_0x25ab89){const _0x44fa3e=_0x25ab89['getSelectedElement']();if(_0x44fa3e&&_0x44fa3e['is']('element','rawHtml'))return _0x25ab89[_0x1d95('0x2')]();return null;}(_0x45ad35);if(!_0x196aaa)return void _0x42d10c(null);const _0x248ee7=_0x196aaa[_0x1d95('0x10')](_0x1d95('0x7'))||'';if(void 0x0===_0x15a3bb)return;if(_0x15a3bb===_0x248ee7)return;_0x22151b[_0x1d95('0x6')](_0x196aaa,{'commandName':'htmlEmbed','commandParams':[_0x15a3bb]}),_0x489880['getSelectedElement']()['getCustomProperty'](_0x1d95('0x11'))[_0x1d95('0xf')]();});}),_0x22151b[_0x1d95('0x3')]['registerDescriptionCallback'](_0x4a5bdf=>{const {data:_0x5d11d5}=_0x4a5bdf;if(_0x5d11d5&&'htmlEmbed'==_0x5d11d5[_0x1d95('0x18')]){const _0x3647d4=_0xe8a0af(_0x26a162,'ELEMENT_HTML_EMBED');return{'type':_0x1d95('0x0'),'content':_0xe8a0af(_0x26a162,'*Change\x20%0\x20content*',_0x3647d4)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55ae=['isBlockImage','width','registerElementLabel','document','formatInline','isBefore','isInContent','suggestion','filter','imageTextAlternative','_suggestionFactory','caption','TrackChangesEditing','markInsertion','model','ImageEditing','imageCaption','_descriptionFactory','*Set\x20image\x20text\x20alternative:*\x20%0','isCollapsed','shouldConvertImageType','getContainedElement','imageStylePostApply','discardSuggestion','hasAttribute','chain','getClosestSelectedImageElement','commandParams','accept','createRangeOn','imageBlock','toggleImageCaption','ImageStyleEditing','ImageResize','*Remove\x20image\x20text\x20alternative*','ImageCaptionEditing','author','newValue','fromPosition','plugins','subType','markDeletion','get','getCaptionFromImageModelElement','start','markBlockFormat','has','selection','isIntersecting','editor','insertion','discard','convertBlockImageToInline','refresh','getAttribute','title','_findSuggestions','removeObject','ImageTextAlternativeEditing','registerCustomCallback','newRange','convertInlineImageToBlock','commandName','insertImage','deletion','commands','toPrevious','toNext','imageStyle','detach','forceDefaultExecution','*Format:*\x20%0','value','nodeAfter','next','type','isEqual','imageTypeBlock','Inline\x20image\x20to\x20block\x20image','registerDescriptionCallback','enableCommand','commandReversedParams','format','alt','imageStylePreApply','ImageBlockEditing','getNearestSelectionRange','resizedWidth','resizeImage','hasSuggestion','formatBlock','join','imageInline','Users','afterInit','findIndex','addObject','name','schema','*Set\x20image\x20width:*\x20%0','element','length','getChangedMarkers','Block\x20image\x20to\x20inline\x20image','uploadImage','imageTypeInline','forward','ELEMENT_INLINE_IMAGE','side','getSuggestions','change','getSuggestionCallback','head','ImageUploadEditing','createRange','end','toLowerCase','getFirstRange','nodeBefore','differ'];(function(_0x5c8be1,_0x55aed0){const _0x202da4=function(_0x3e20b0){while(--_0x3e20b0){_0x5c8be1['push'](_0x5c8be1['shift']());}};_0x202da4(++_0x55aed0);}(_0x55ae,0x1e9));const _0x202d=function(_0x5c8be1,_0x55aed0){_0x5c8be1=_0x5c8be1-0x0;let _0x202da4=_0x55ae[_0x5c8be1];return _0x202da4;};import{Plugin as _0x48c417}from'ckeditor5/src/core';import{LivePosition as _0x5d2133}from'ckeditor5/src/engine';import{uid as _0x264945}from'ckeditor5/src/utils';import{getTranslation as _0x4e2896}from'../utils/common-translations';export default class Y extends _0x48c417{[_0x202d('0x55')](){const _0x2b2b6b=this[_0x202d('0x28')];if(!_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x25')](_0x202d('0x6')))return;const _0x5b6279=_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x21')](_0x202d('0x3')),_0x1ecd1e=_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x21')]('ImageUtils'),_0x4aa9c2={},_0x4ede59=_0x2b2b6b['locale'];if(_0x5b6279[_0x202d('0x47')](_0x202d('0x36')),_0x5b6279['_descriptionFactory'][_0x202d('0x71')](_0x202d('0x15'),_0x3d55d3=>_0x4e2896(_0x4ede59,'ELEMENT_IMAGE',_0x3d55d3)),_0x5b6279[_0x202d('0x8')][_0x202d('0x71')](_0x202d('0x53'),_0xb16094=>_0x4e2896(_0x4ede59,_0x202d('0x62'),_0xb16094)),_0x5b6279['_descriptionFactory'][_0x202d('0x71')](_0x202d('0x2'),()=>_0x4e2896(_0x4ede59,'ELEMENT_CAPTION')),_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x25')](_0x202d('0x68'))&&_0x5b6279[_0x202d('0x47')](_0x202d('0x5f')),_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x25')](_0x202d('0x4c'))&&_0x2b2b6b['plugins'][_0x202d('0x25')]('ImageInlineEditing')&&(_0x5b6279[_0x202d('0x47')](_0x202d('0x60'),(_0x24d6eb,_0x51044e)=>{const _0x4f3a31=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b['model']['document'][_0x202d('0x26')]);_0x2b2b6b[_0x202d('0x5')][_0x202d('0x65')](()=>{_0x5b6279['markBlockFormat'](_0x4f3a31,{'commandName':_0x202d('0x60'),'commandParams':[_0x51044e]},[],_0x202d('0x2b'));});}),_0x5b6279[_0x202d('0x47')](_0x202d('0x44'),(_0x4b6bf1,_0xd275e9)=>{_0x2b2b6b['model'][_0x202d('0x65')](_0x36bc37=>{let _0xe99893=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x72')]['selection']),_0x1a1c22=_0x36bc37[_0x202d('0x14')](_0xe99893);const _0x2bbe04=_0x5d2133['fromPosition'](_0x1a1c22['start'],_0x202d('0x39')),_0x43ce6f=_0x5d2133[_0x202d('0x1d')](_0x1a1c22['end'],_0x202d('0x3a'));_0x5b6279[_0x202d('0x3d')](()=>_0x4b6bf1(_0xd275e9)),_0xe99893=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x72')][_0x202d('0x26')]),_0x1a1c22=_0x36bc37[_0x202d('0x14')](_0xe99893);const _0x8ec6fd=_0x36bc37['createRange'](_0x2bbe04,_0x43ce6f);_0x2bbe04[_0x202d('0x3c')](),_0x43ce6f[_0x202d('0x3c')](),_0x5b6279[_0x202d('0x24')](_0xe99893,{'commandName':_0x202d('0x60'),'commandParams':[_0xd275e9]},[],_0x202d('0x34')),_0x8ec6fd['start']['isBefore'](_0x1a1c22[_0x202d('0x23')])&&_0x5b6279[_0x202d('0x4')](_0x36bc37['createRange'](_0x8ec6fd['start'],_0x1a1c22['start']),_0x202d('0x34')),_0x1a1c22[_0x202d('0x6a')][_0x202d('0x74')](_0x8ec6fd[_0x202d('0x6a')])&&_0x5b6279[_0x202d('0x4')](_0x36bc37[_0x202d('0x69')](_0x1a1c22[_0x202d('0x6a')],_0x8ec6fd['end']),_0x202d('0x34'));});}),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),_0x202d('0x34'),_0x202d('0x52'),()=>!0x1),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),_0x202d('0x34'),_0x202d('0x13'),()=>!0x1),_0x5b6279['_suggestionFactory']['registerCustomCallback'](_0x202d('0x51'),_0x202d('0x34'),_0x202d('0x2a'),_0x5b6279[_0x202d('0x1')][_0x202d('0x66')]('formatBlock','',_0x202d('0x13'))),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x29'),_0x202d('0x34'),_0x202d('0x52'),()=>!0x1),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x29'),_0x202d('0x34'),'discard',([_0x50bed8])=>{const _0x14e5e0=_0x5b6279[_0x202d('0x1')][_0x202d('0x66')](_0x202d('0x29'),'','discard');let _0x38f9dd=_0x50bed8['start'],_0x266726=_0x50bed8['end'];const _0x4495e9=_0x2b2b6b[_0x202d('0x5')][_0x202d('0x59')][_0x202d('0x4d')](_0x38f9dd,'backward'),_0x31df0d=_0x2b2b6b[_0x202d('0x5')][_0x202d('0x59')][_0x202d('0x4d')](_0x266726,_0x202d('0x61'));_0x4495e9[_0x202d('0xa')]&&(_0x38f9dd=_0x4495e9[_0x202d('0x23')]),_0x31df0d[_0x202d('0xa')]&&(_0x266726=_0x31df0d[_0x202d('0x6a')]),_0x14e5e0([_0x2b2b6b['model'][_0x202d('0x69')](_0x38f9dd,_0x266726)]);}),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),_0x202d('0x34'),_0x202d('0x10'),_0xc2f100),_0x5b6279['_suggestionFactory']['registerCustomCallback'](_0x202d('0x29'),_0x202d('0x34'),'chain',_0xc2f100)),_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x25')](_0x202d('0x1a'))&&(_0x5b6279[_0x202d('0x47')](_0x202d('0x16'),(_0xfc741a,_0x49a405)=>{const _0x596112=_0x2b2b6b[_0x202d('0x1e')]['get']('ImageCaptionUtils');let _0x4900bb=_0x1ecd1e['getClosestSelectedImageElement'](_0x2b2b6b['model'][_0x202d('0x72')][_0x202d('0x26')]),_0x36d014=_0x596112[_0x202d('0x22')](_0x4900bb);_0x2b2b6b[_0x202d('0x5')]['change'](()=>{if(_0x36d014)return void _0x5b6279[_0x202d('0x20')](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x14')](_0x36d014));const _0x264c90=_0x1ecd1e['isBlockImage'](_0x4900bb);_0xfc741a(_0x49a405),_0x4900bb=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')]['document'][_0x202d('0x26')]),_0x36d014=_0x596112[_0x202d('0x22')](_0x4900bb),_0x5b6279[_0x202d('0x4')](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x14')](_0x36d014),_0x264c90?null:_0x202d('0x7'));});}),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')]('insertion',_0x202d('0x7'),_0x202d('0x10'),_0xc2f100)),_0x2b2b6b[_0x202d('0x1e')]['has'](_0x202d('0x17'))){_0x5b6279['enableCommand'](_0x202d('0x3b'),(_0x19629e,_0x4fc22d)=>{const _0x377844=_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x21')](_0x202d('0x54'))['me'],_0x4a9f7d=_0x2b2b6b[_0x202d('0x38')][_0x202d('0x21')](_0x202d('0x3b'));let _0x129b19=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x72')][_0x202d('0x26')]),_0x23d7cf=_0x2b2b6b[_0x202d('0x5')][_0x202d('0x14')](_0x129b19),_0x104f91=_0x4a9f7d[_0x202d('0x3f')];if(_0x104f91==_0x4fc22d[_0x202d('0x3f')])return;const _0x157337={'commandName':_0x202d('0x3b'),'commandParams':[_0x4fc22d],'formatGroupId':_0x264945()};_0x2b2b6b[_0x202d('0x5')]['change'](()=>{if(_0x5b6279[_0x202d('0x64')]()[_0x202d('0x77')](_0x143f7c=>_0x143f7c[_0x202d('0x75')]&&_0x377844==_0x143f7c[_0x202d('0x1b')]&&(_0x202d('0x51')==_0x143f7c[_0x202d('0x42')]||_0x202d('0x73')==_0x143f7c['type'])&&(_0x202d('0x4b')==_0x143f7c[_0x202d('0x1f')]||_0x202d('0xd')==_0x143f7c[_0x202d('0x1f')])&&_0x143f7c[_0x202d('0x6c')]()[_0x202d('0x43')](_0x23d7cf))['forEach'](_0x3b5b65=>_0x5b6279[_0x202d('0xe')](_0x3b5b65[_0x202d('0x67')])),_0x129b19=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')]['document'][_0x202d('0x26')]),_0x23d7cf=_0x2b2b6b[_0x202d('0x5')]['createRangeOn'](_0x129b19),_0x4a9f7d[_0x202d('0x2c')](),_0x2b2b6b[_0x202d('0x38')][_0x202d('0x21')](_0x202d('0x60'))[_0x202d('0x2c')](),_0x2b2b6b[_0x202d('0x38')]['get'](_0x202d('0x44'))['refresh'](),_0x104f91=_0x4a9f7d[_0x202d('0x3f')],_0x104f91!=_0x4fc22d[_0x202d('0x3f')])return _0x1ecd1e['isInlineImage'](_0x129b19)&&_0x4a9f7d[_0x202d('0xb')](_0x4fc22d['value'],_0x129b19)?(_0x19629e({..._0x4fc22d,'setImageSizes':!0x1}),_0x129b19=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')]['document'][_0x202d('0x26')]),void _0x5b6279[_0x202d('0x24')](_0x129b19,{..._0x157337,'commandReversedParams':[{'value':_0x104f91||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1ecd1e['isBlockImage'](_0x129b19)?_0x5b6279[_0x202d('0x24')](_0x129b19,_0x157337,[],_0x202d('0xd')):_0x5b6279['markInlineFormat'](_0x23d7cf,_0x157337,_0x202d('0xd')));});});for(const _0x1d0037 of _0x2b2b6b[_0x202d('0x1e')]['get']('ImageStyleEditing')['normalizedStyles'])_0x4aa9c2[_0x1d0037[_0x202d('0x58')]]=_0x1d0037[_0x202d('0x2e')][_0x202d('0x6b')]();_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),_0x202d('0x4b'),_0x202d('0x52'),()=>!0x1),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),_0x202d('0xd'),_0x202d('0x52'),()=>!0x1),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x73'),'imageStylePostApply',_0x202d('0x52'),()=>!0x1),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),'imageStylePreApply',_0x202d('0x13'),([_0x23b74b])=>{_0x1ecd1e['setImageNaturalSizeAttributes'](_0x23b74b[_0x202d('0xc')]());}),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')]('formatBlock',_0x202d('0x4b'),_0x202d('0x2a'),(_0xe3752b,_0x57d40b)=>{_0x5b6279['_suggestionFactory'][_0x202d('0x66')](_0x202d('0x51'),'','accept')(_0xe3752b,{'commandName':_0x57d40b['commandName'],'commandParams':_0x57d40b[_0x202d('0x48')]});}),_0x5b6279[_0x202d('0x1')][_0x202d('0x32')](_0x202d('0x51'),'imageStylePreApply',_0x202d('0x10'),_0xc2f100);}const _0x4c3b48=[{'type':_0x202d('0x51'),'subType':'imageStylePreApply'},{'type':'insertion','subType':_0x202d('0x7')},{'type':_0x202d('0x51'),'subType':_0x202d('0x34')},{'type':_0x202d('0x29'),'subType':_0x202d('0x34')}];function _0x214cbf(_0x2369e8,_0x57c6ec){const _0x150e66=_0x4c3b48[_0x202d('0x56')](({type:_0x183cb2,subType:_0x2a9e93})=>_0x2369e8[_0x202d('0x42')]==_0x183cb2&&_0x2369e8[_0x202d('0x1f')]==_0x2a9e93),_0x5e23e4=_0x4c3b48[_0x202d('0x56')](({type:_0x9ca9ed,subType:_0x537dc7})=>_0x57c6ec[_0x202d('0x42')]==_0x9ca9ed&&_0x57c6ec[_0x202d('0x1f')]==_0x537dc7);if(_0x150e66<0x0||_0x5e23e4<0x0)return!0x1;const _0x152a15=_0x2369e8['getFirstRange'](),_0x2d4261=_0x57c6ec[_0x202d('0x6c')]();if((0x0==_0x150e66||0x1==_0x150e66)&&0x2==_0x5e23e4&&_0x152a15[_0x202d('0x27')](_0x2d4261))return!0x0;if(0x2==_0x150e66&&0x3==_0x5e23e4){const _0x2f2ecc=_0x5b6279[_0x202d('0x2f')](_0x152a15,_0x202d('0x29'))[_0x202d('0x77')](({suggestion:_0x1eba6b,meta:_0x3d99ed})=>_0x3d99ed['isOwn']&&_0x202d('0x34')==_0x1eba6b['subType']);if(_0x2f2ecc[_0x202d('0x5c')]>0x1&&_0x2d4261[_0x202d('0x6a')][_0x202d('0x43')](_0x152a15[_0x202d('0x23')]))return!0x0;if(0x1==_0x2f2ecc[_0x202d('0x5c')]&&(_0x152a15[_0x202d('0x23')]['isEqual'](_0x2d4261[_0x202d('0x6a')])||_0x152a15['end'][_0x202d('0x43')](_0x2d4261['start'])))return!0x0;}if(0x3==_0x150e66&&0x3==_0x5e23e4&&_0x152a15[_0x202d('0x23')][_0x202d('0x74')](_0x2d4261[_0x202d('0x23')])){const _0x3f45c9=_0x152a15[_0x202d('0x6a')][_0x202d('0x40')],_0x242512=_0x2d4261[_0x202d('0x23')][_0x202d('0x6d')];return _0x1ecd1e['isBlockImage'](_0x3f45c9)&&_0x3f45c9===_0x242512;}return!0x1;}function _0xc2f100(_0x2701c0,_0x415b89){return _0x214cbf(_0x2701c0,_0x415b89)?[_0x2701c0,_0x415b89]:_0x214cbf(_0x415b89,_0x2701c0)?[_0x415b89,_0x2701c0]:null;}_0x2b2b6b['model'][_0x202d('0x72')]['registerPostFixer'](()=>{let _0x242dca=!0x1;const _0x371bab=Array['from'](_0x2b2b6b[_0x202d('0x5')][_0x202d('0x72')][_0x202d('0x6e')][_0x202d('0x5d')]());for(const {name:_0x53670c,data:_0x2b052a}of _0x371bab){const {group:_0x5f1682,type:_0x31b6ae,subType:_0x54a32c,id:_0x391178}=_0x5b6279['_splitMarkerName'](_0x53670c);if(_0x202d('0x76')==_0x5f1682&&_0x5b6279[_0x202d('0x50')](_0x391178)){if(_0x202d('0x51')==_0x31b6ae&&(_0x202d('0x4b')==_0x54a32c||'imageStylePostApply'==_0x54a32c)){const _0x9f418a=_0x5b6279['getSuggestion'](_0x391178);if(_0x2b052a['newRange']){const _0x17478f=_0x9f418a[_0x202d('0x6c')]()[_0x202d('0xc')]();if(_0x1ecd1e[_0x202d('0x6f')](_0x17478f))continue;_0x5b6279[_0x202d('0xe')](_0x9f418a),_0x242dca=!0x0;}}if('insertion'==_0x31b6ae&&_0x202d('0x7')==_0x54a32c&&!_0x2b052a[_0x202d('0x33')]){const _0x2a9216=_0x5b6279['getSuggestion'](_0x391178);_0x2a9216[_0x202d('0x41')]&&_0x2a9216[_0x202d('0x41')][_0x202d('0x75')]&&(_0x5b6279[_0x202d('0xe')](_0x2a9216[_0x202d('0x41')]),_0x242dca=!0x0);}}}return _0x242dca;}),_0x2b2b6b['plugins'][_0x202d('0x25')](_0x202d('0x18'))&&_0x5b6279['enableCommand'](_0x202d('0x4f'),(_0x285e1c,_0x45e9ed)=>{const _0x54c254=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b[_0x202d('0x5')]['document']['selection']);_0x54c254[_0x202d('0x2d')](_0x202d('0x4e'))!=_0x45e9ed['width']&&_0x2b2b6b[_0x202d('0x5')][_0x202d('0x65')](()=>{_0x5b6279['markBlockFormat'](_0x54c254,{'commandName':_0x202d('0x4f'),'commandParams':[_0x45e9ed]});});}),_0x2b2b6b[_0x202d('0x1e')][_0x202d('0x25')](_0x202d('0x31'))&&_0x5b6279['enableCommand']('imageTextAlternative',(_0x9a8677,_0x135d43)=>{const _0x1bc62e=_0x1ecd1e[_0x202d('0x11')](_0x2b2b6b['model']['document'][_0x202d('0x26')]);(_0x1bc62e[_0x202d('0xf')](_0x202d('0x4a'))?_0x1bc62e[_0x202d('0x2d')](_0x202d('0x4a')):'')!=_0x135d43[_0x202d('0x1c')]&&_0x2b2b6b[_0x202d('0x5')][_0x202d('0x65')](()=>{_0x5b6279[_0x202d('0x24')](_0x1bc62e,{'commandName':_0x202d('0x0'),'commandParams':[_0x135d43]});});}),_0x5b6279['_descriptionFactory'][_0x202d('0x46')](_0x322585=>{if(!!_0x4c3b48['find'](({type:_0x2b97c8,subType:_0x3af80f})=>_0x322585[_0x202d('0x42')]==_0x2b97c8&&_0x322585[_0x202d('0x1f')]==_0x3af80f))return _0x322585['previous']?{}:void 0x0;}),_0x5b6279[_0x202d('0x8')][_0x202d('0x46')](_0x56d973=>{if('insertion'==_0x56d973[_0x202d('0x42')]||_0x202d('0x37')==_0x56d973['type']){const _0x155263=_0x56d973[_0x202d('0xc')]();if(_0x155263&&_0x155263['is'](_0x202d('0x5b'),_0x202d('0x2')))return{'type':_0x202d('0x29')==_0x56d973[_0x202d('0x42')]?_0x202d('0x57'):_0x202d('0x30'),'element':_0x155263,'quantity':0x1};}}),_0x5b6279['_descriptionFactory'][_0x202d('0x46')](_0x5eca32=>_0x202d('0x51')==_0x5eca32[_0x202d('0x42')]&&'convertInlineImageToBlock'==_0x5eca32[_0x202d('0x1f')]?{'type':_0x202d('0x49'),'content':_0x202d('0x45')}:_0x202d('0x51')==_0x5eca32['type']&&'convertBlockImageToInline'==_0x5eca32[_0x202d('0x1f')]?{'type':_0x202d('0x49'),'content':_0x202d('0x5e')}:void 0x0),_0x5b6279[_0x202d('0x8')]['registerDescriptionCallback'](_0x56295d=>{const {data:_0x5beb66}=_0x56295d;if(_0x5beb66){if(_0x202d('0x3b')==_0x5beb66[_0x202d('0x35')]){const _0x1284d2=_0x5beb66[_0x202d('0x12')][0x0]['value'];return _0x3c828f(_0x202d('0x63')===_0x1284d2?_0x4e2896(_0x4ede59,'FORMAT_SIDE_IMAGE'):_0x4aa9c2[_0x1284d2]||_0x1284d2);}if(_0x202d('0x0')==_0x5beb66[_0x202d('0x35')]){const _0x1acb4f=_0x5beb66[_0x202d('0x12')][0x0][_0x202d('0x1c')];return _0x1acb4f?{'type':'format','content':_0x4e2896(_0x4ede59,_0x202d('0x9'),'\x22'+_0x1acb4f+'\x22')}:{'type':_0x202d('0x49'),'content':_0x4e2896(_0x4ede59,_0x202d('0x19'))};}if(_0x202d('0x4f')==_0x5beb66['commandName']){const _0x5b7d77=_0x5beb66['commandParams'][0x0][_0x202d('0x70')];return _0x5b7d77?{'type':_0x202d('0x49'),'content':_0x4e2896(_0x4ede59,_0x202d('0x5a'),_0x5b7d77)}:{'type':_0x202d('0x49'),'content':_0x4e2896(_0x4ede59,'*Reset\x20image\x20width*')};}}function _0x3c828f(_0x596ea1){return{'type':'format','content':_0x4e2896(_0x4ede59,_0x202d('0x3e'),_0x596ea1)};}});}}
23
+ const _0x1914=['discardSuggestion','forward','commands','ImageInlineEditing','convertInlineImageToBlock','find','end','isBlockImage','selection','getCaptionFromImageModelElement','newRange','suggestion','nodeAfter','imageStylePostApply','ImageCaptionUtils','from','format','change','_splitMarkerName','uploadImage','isOwn','ImageUploadEditing','removeObject','get','author','detach','alt','width','enableCommand','start','markBlockFormat','*Format:*\x20%0','ImageStyleEditing','previous','subType','imageTypeInline','imageTypeBlock','_suggestionFactory','commandParams','isCollapsed','getNearestSelectionRange','imageInline','ImageCaptionEditing','name','createRange','accept','type','isEqual','_descriptionFactory','createRangeOn','findIndex','markInsertion','document','isBefore','toNext','hasAttribute','forceDefaultExecution','registerCustomCallback','isIntersecting','imageCaption','chain','imageBlock','side','getFirstRange','markDeletion','*Set\x20image\x20text\x20alternative:*\x20%0','isInlineImage','_findSuggestions','addObject','*Remove\x20image\x20text\x20alternative*','ImageBlockEditing','next','registerElementLabel','Users','model','newValue','registerPostFixer','registerDescriptionCallback','getContainedElement','formatBlock','getSuggestions','ImageResize','has','imageStyle','join','resizeImage','imageStylePreApply','title','commandReversedParams','element','getSuggestion','ImageTextAlternativeEditing','ELEMENT_INLINE_IMAGE','commandName','plugins','differ','FORMAT_SIDE_IMAGE','resizedWidth','editor','toggleImageCaption','refresh','length','ELEMENT_IMAGE','deletion','insertImage','getAttribute','ImageUtils','imageTextAlternative','getSuggestionCallback','discard','TrackChangesEditing','locale','filter','backward','getClosestSelectedImageElement','ELEMENT_CAPTION','value','insertion','normalizedStyles','fromPosition','head','convertBlockImageToInline'];(function(_0x1820a4,_0x19140e){const _0x1d6026=function(_0x532160){while(--_0x532160){_0x1820a4['push'](_0x1820a4['shift']());}};_0x1d6026(++_0x19140e);}(_0x1914,0xc9));const _0x1d60=function(_0x1820a4,_0x19140e){_0x1820a4=_0x1820a4-0x0;let _0x1d6026=_0x1914[_0x1820a4];return _0x1d6026;};import{Plugin as _0x116162}from'ckeditor5/src/core';import{LivePosition as _0x24f0ef}from'ckeditor5/src/engine';import{uid as _0x32c638}from'ckeditor5/src/utils';import{getTranslation as _0x586cd8}from'../utils/common-translations';export default class Y extends _0x116162{['afterInit'](){const _0x14a14c=this[_0x1d60('0x13')];if(!_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')]('ImageEditing'))return;const _0x2ea429=_0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x1f')),_0x41f4ce=_0x14a14c['plugins'][_0x1d60('0x42')](_0x1d60('0x1b')),_0x3e924d={},_0x1cab5b=_0x14a14c[_0x1d60('0x20')];if(_0x2ea429[_0x1d60('0x47')](_0x1d60('0x19')),_0x2ea429['_descriptionFactory'][_0x1d60('0x73')](_0x1d60('0x68'),_0x2e058c=>_0x586cd8(_0x1cab5b,_0x1d60('0x17'),_0x2e058c)),_0x2ea429[_0x1d60('0x5b')][_0x1d60('0x73')](_0x1d60('0x54'),_0x4feb4f=>_0x586cd8(_0x1cab5b,_0x1d60('0xd'),_0x4feb4f)),_0x2ea429['_descriptionFactory'][_0x1d60('0x73')]('caption',()=>_0x586cd8(_0x1cab5b,_0x1d60('0x24'))),_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x40'))&&_0x2ea429['enableCommand'](_0x1d60('0x3e')),_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x71'))&&_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x2e'))&&(_0x2ea429['enableCommand'](_0x1d60('0x4e'),(_0x235bbd,_0x406a91)=>{const _0x74bbab=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]);_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x74bbab,{'commandName':_0x1d60('0x4e'),'commandParams':[_0x406a91]},[],_0x1d60('0x2a'));});}),_0x2ea429[_0x1d60('0x47')](_0x1d60('0x4f'),(_0x25b03d,_0x1d6286)=>{_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](_0xef83a4=>{let _0x106270=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x1e9c6f=_0xef83a4['createRangeOn'](_0x106270);const _0x5d0627=_0x24f0ef[_0x1d60('0x28')](_0x1e9c6f['start'],'toPrevious'),_0x20b637=_0x24f0ef[_0x1d60('0x28')](_0x1e9c6f[_0x1d60('0x31')],_0x1d60('0x61'));_0x2ea429[_0x1d60('0x63')](()=>_0x25b03d(_0x1d6286)),_0x106270=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model'][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x1e9c6f=_0xef83a4[_0x1d60('0x5c')](_0x106270);const _0x20ef0e=_0xef83a4['createRange'](_0x5d0627,_0x20b637);_0x5d0627[_0x1d60('0x44')](),_0x20b637[_0x1d60('0x44')](),_0x2ea429['markBlockFormat'](_0x106270,{'commandName':_0x1d60('0x4e'),'commandParams':[_0x1d6286]},[],_0x1d60('0x2f')),_0x20ef0e[_0x1d60('0x48')][_0x1d60('0x60')](_0x1e9c6f['start'])&&_0x2ea429[_0x1d60('0x5e')](_0xef83a4[_0x1d60('0x57')](_0x20ef0e[_0x1d60('0x48')],_0x1e9c6f['start']),_0x1d60('0x2f')),_0x1e9c6f[_0x1d60('0x31')][_0x1d60('0x60')](_0x20ef0e[_0x1d60('0x31')])&&_0x2ea429[_0x1d60('0x5e')](_0xef83a4['createRange'](_0x1e9c6f[_0x1d60('0x31')],_0x20ef0e[_0x1d60('0x31')]),'convertInlineImageToBlock');});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),'join',()=>!0x1),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),_0x1d60('0x58'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),'convertInlineImageToBlock',_0x1d60('0x1e'),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x1d')](_0x1d60('0x0'),'','accept')),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x26'),'convertInlineImageToBlock',_0x1d60('0x5'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x26'),_0x1d60('0x2f'),_0x1d60('0x1e'),([_0x437aec])=>{const _0x24b023=_0x2ea429[_0x1d60('0x50')][_0x1d60('0x1d')](_0x1d60('0x26'),'',_0x1d60('0x1e'));let _0x49a0d2=_0x437aec[_0x1d60('0x48')],_0x2f0606=_0x437aec[_0x1d60('0x31')];const _0x5e71a6=_0x14a14c['model']['schema'][_0x1d60('0x53')](_0x49a0d2,_0x1d60('0x22')),_0x484879=_0x14a14c[_0x1d60('0x75')]['schema'][_0x1d60('0x53')](_0x2f0606,_0x1d60('0x2c'));_0x5e71a6[_0x1d60('0x52')]&&(_0x49a0d2=_0x5e71a6[_0x1d60('0x48')]),_0x484879[_0x1d60('0x52')]&&(_0x2f0606=_0x484879[_0x1d60('0x31')]),_0x24b023([_0x14a14c['model'][_0x1d60('0x57')](_0x49a0d2,_0x2f0606)]);}),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),_0x1d60('0x67'),_0x377c71),_0x2ea429[_0x1d60('0x50')]['registerCustomCallback'](_0x1d60('0x26'),'convertInlineImageToBlock','chain',_0x377c71)),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0x55'))&&(_0x2ea429[_0x1d60('0x47')](_0x1d60('0x14'),(_0x1bf5b5,_0x89c34f)=>{const _0x1638f3=_0x14a14c['plugins'][_0x1d60('0x42')](_0x1d60('0x39'));let _0x339313=_0x41f4ce['getClosestSelectedImageElement'](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x8f4a02=_0x1638f3['getCaptionFromImageModelElement'](_0x339313);_0x14a14c[_0x1d60('0x75')]['change'](()=>{if(_0x8f4a02)return void _0x2ea429[_0x1d60('0x6b')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5c')](_0x8f4a02));const _0x2773c4=_0x41f4ce[_0x1d60('0x32')](_0x339313);_0x1bf5b5(_0x89c34f),_0x339313=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x8f4a02=_0x1638f3[_0x1d60('0x34')](_0x339313),_0x2ea429[_0x1d60('0x5e')](_0x14a14c['model']['createRangeOn'](_0x8f4a02),_0x2773c4?null:_0x1d60('0x66'));});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')]('insertion','imageCaption','chain',_0x377c71)),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0x4b'))){_0x2ea429[_0x1d60('0x47')]('imageStyle',(_0x743d75,_0x5edaac)=>{const _0x101d9e=_0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x74'))['me'],_0x1a0ede=_0x14a14c[_0x1d60('0x2d')]['get'](_0x1d60('0x4'));let _0x17e265=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')]['selection']),_0x51b5a2=_0x14a14c[_0x1d60('0x75')]['createRangeOn'](_0x17e265),_0x4a98f3=_0x1a0ede[_0x1d60('0x25')];if(_0x4a98f3==_0x5edaac[_0x1d60('0x25')])return;const _0x355967={'commandName':'imageStyle','commandParams':[_0x5edaac],'formatGroupId':_0x32c638()};_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{if(_0x2ea429[_0x1d60('0x1')]()[_0x1d60('0x21')](_0x277611=>_0x277611['isInContent']&&_0x101d9e==_0x277611[_0x1d60('0x43')]&&(_0x1d60('0x0')==_0x277611[_0x1d60('0x59')]||'formatInline'==_0x277611[_0x1d60('0x59')])&&(_0x1d60('0x7')==_0x277611[_0x1d60('0x4d')]||'imageStylePostApply'==_0x277611[_0x1d60('0x4d')])&&_0x277611[_0x1d60('0x6a')]()[_0x1d60('0x5a')](_0x51b5a2))['forEach'](_0x281998=>_0x2ea429[_0x1d60('0x2b')](_0x281998[_0x1d60('0x29')])),_0x17e265=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model'][_0x1d60('0x5f')]['selection']),_0x51b5a2=_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5c')](_0x17e265),_0x1a0ede['refresh'](),_0x14a14c[_0x1d60('0x2d')]['get'](_0x1d60('0x4e'))[_0x1d60('0x15')](),_0x14a14c[_0x1d60('0x2d')][_0x1d60('0x42')]('imageTypeBlock')['refresh'](),_0x4a98f3=_0x1a0ede['value'],_0x4a98f3!=_0x5edaac[_0x1d60('0x25')])return _0x41f4ce[_0x1d60('0x6d')](_0x17e265)&&_0x1a0ede['shouldConvertImageType'](_0x5edaac['value'],_0x17e265)?(_0x743d75({..._0x5edaac,'setImageSizes':!0x1}),_0x17e265=_0x41f4ce['getClosestSelectedImageElement'](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),void _0x2ea429['markBlockFormat'](_0x17e265,{..._0x355967,'commandReversedParams':[{'value':_0x4a98f3||null,'setImageSizes':!0x1}]},[],_0x1d60('0x7'))):void(_0x41f4ce[_0x1d60('0x32')](_0x17e265)?_0x2ea429[_0x1d60('0x49')](_0x17e265,_0x355967,[],_0x1d60('0x38')):_0x2ea429['markInlineFormat'](_0x51b5a2,_0x355967,_0x1d60('0x38')));});});for(const _0x46c8d4 of _0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x4b'))[_0x1d60('0x27')])_0x3e924d[_0x46c8d4[_0x1d60('0x56')]]=_0x46c8d4[_0x1d60('0x8')]['toLowerCase']();_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),'imageStylePreApply',_0x1d60('0x5'),()=>!0x1),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x38'),_0x1d60('0x5'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')]('formatInline',_0x1d60('0x38'),'join',()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x7'),_0x1d60('0x58'),([_0x2fe825])=>{_0x41f4ce['setImageNaturalSizeAttributes'](_0x2fe825[_0x1d60('0x79')]());}),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),'imageStylePreApply',_0x1d60('0x1e'),(_0x1ebee2,_0x2b8188)=>{_0x2ea429[_0x1d60('0x50')]['getSuggestionCallback'](_0x1d60('0x0'),'',_0x1d60('0x58'))(_0x1ebee2,{'commandName':_0x2b8188[_0x1d60('0xe')],'commandParams':_0x2b8188[_0x1d60('0x9')]});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x7'),'chain',_0x377c71);}const _0x617bb=[{'type':_0x1d60('0x0'),'subType':_0x1d60('0x7')},{'type':'insertion','subType':_0x1d60('0x66')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x1d60('0x26'),'subType':_0x1d60('0x2f')}];function _0x2fab9c(_0xffd768,_0x517a51){const _0x5c92fc=_0x617bb[_0x1d60('0x5d')](({type:_0x4495bb,subType:_0x46e70c})=>_0xffd768['type']==_0x4495bb&&_0xffd768[_0x1d60('0x4d')]==_0x46e70c),_0x497f3d=_0x617bb[_0x1d60('0x5d')](({type:_0x4682f1,subType:_0x3aac8e})=>_0x517a51['type']==_0x4682f1&&_0x517a51[_0x1d60('0x4d')]==_0x3aac8e);if(_0x5c92fc<0x0||_0x497f3d<0x0)return!0x1;const _0xe5987b=_0xffd768['getFirstRange'](),_0x44df7b=_0x517a51[_0x1d60('0x6a')]();if((0x0==_0x5c92fc||0x1==_0x5c92fc)&&0x2==_0x497f3d&&_0xe5987b[_0x1d60('0x65')](_0x44df7b))return!0x0;if(0x2==_0x5c92fc&&0x3==_0x497f3d){const _0x5286d6=_0x2ea429[_0x1d60('0x6e')](_0xe5987b,_0x1d60('0x26'))[_0x1d60('0x21')](({suggestion:_0x2ae8e9,meta:_0x3f6347})=>_0x3f6347[_0x1d60('0x3f')]&&_0x1d60('0x2f')==_0x2ae8e9[_0x1d60('0x4d')]);if(_0x5286d6[_0x1d60('0x16')]>0x1&&_0x44df7b['end'][_0x1d60('0x5a')](_0xe5987b[_0x1d60('0x48')]))return!0x0;if(0x1==_0x5286d6['length']&&(_0xe5987b[_0x1d60('0x48')][_0x1d60('0x5a')](_0x44df7b['end'])||_0xe5987b[_0x1d60('0x31')][_0x1d60('0x5a')](_0x44df7b[_0x1d60('0x48')])))return!0x0;}if(0x3==_0x5c92fc&&0x3==_0x497f3d&&_0xe5987b['start'][_0x1d60('0x60')](_0x44df7b[_0x1d60('0x48')])){const _0x57dbea=_0xe5987b[_0x1d60('0x31')][_0x1d60('0x37')],_0x53b92f=_0x44df7b['start']['nodeBefore'];return _0x41f4ce[_0x1d60('0x32')](_0x57dbea)&&_0x57dbea===_0x53b92f;}return!0x1;}function _0x377c71(_0x377098,_0x43ca21){return _0x2fab9c(_0x377098,_0x43ca21)?[_0x377098,_0x43ca21]:_0x2fab9c(_0x43ca21,_0x377098)?[_0x43ca21,_0x377098]:null;}_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x77')](()=>{let _0x4a1844=!0x1;const _0x4306b0=Array[_0x1d60('0x3a')](_0x14a14c['model'][_0x1d60('0x5f')][_0x1d60('0x10')]['getChangedMarkers']());for(const {name:_0x22956a,data:_0x2c6232}of _0x4306b0){const {group:_0x592357,type:_0x40027b,subType:_0x736a79,id:_0x308775}=_0x2ea429[_0x1d60('0x3d')](_0x22956a);if(_0x1d60('0x36')==_0x592357&&_0x2ea429['hasSuggestion'](_0x308775)){if(_0x1d60('0x0')==_0x40027b&&(_0x1d60('0x7')==_0x736a79||_0x1d60('0x38')==_0x736a79)){const _0x4b13f6=_0x2ea429[_0x1d60('0xb')](_0x308775);if(_0x2c6232[_0x1d60('0x35')]){const _0x2922c7=_0x4b13f6[_0x1d60('0x6a')]()[_0x1d60('0x79')]();if(_0x41f4ce[_0x1d60('0x32')](_0x2922c7))continue;_0x2ea429[_0x1d60('0x2b')](_0x4b13f6),_0x4a1844=!0x0;}}if(_0x1d60('0x26')==_0x40027b&&'imageCaption'==_0x736a79&&!_0x2c6232[_0x1d60('0x35')]){const _0x564f80=_0x2ea429[_0x1d60('0xb')](_0x308775);_0x564f80[_0x1d60('0x72')]&&_0x564f80['next']['isInContent']&&(_0x2ea429['discardSuggestion'](_0x564f80[_0x1d60('0x72')]),_0x4a1844=!0x0);}}}return _0x4a1844;}),_0x14a14c['plugins']['has'](_0x1d60('0x2'))&&_0x2ea429['enableCommand'](_0x1d60('0x6'),(_0x4d4f7b,_0x49e0b7)=>{const _0x5f261a=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model']['document'][_0x1d60('0x33')]);_0x5f261a[_0x1d60('0x1a')](_0x1d60('0x12'))!=_0x49e0b7['width']&&_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x5f261a,{'commandName':_0x1d60('0x6'),'commandParams':[_0x49e0b7]});});}),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0xc'))&&_0x2ea429[_0x1d60('0x47')](_0x1d60('0x1c'),(_0x251dc1,_0x341085)=>{const _0x1d5135=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]);(_0x1d5135[_0x1d60('0x62')](_0x1d60('0x45'))?_0x1d5135['getAttribute'](_0x1d60('0x45')):'')!=_0x341085[_0x1d60('0x76')]&&_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x1d5135,{'commandName':_0x1d60('0x1c'),'commandParams':[_0x341085]});});}),_0x2ea429['_descriptionFactory'][_0x1d60('0x78')](_0x5e3ca4=>{if(!!_0x617bb[_0x1d60('0x30')](({type:_0x20023c,subType:_0x1bc513})=>_0x5e3ca4['type']==_0x20023c&&_0x5e3ca4[_0x1d60('0x4d')]==_0x1bc513))return _0x5e3ca4[_0x1d60('0x4c')]?{}:void 0x0;}),_0x2ea429['_descriptionFactory']['registerDescriptionCallback'](_0x54a124=>{if('insertion'==_0x54a124[_0x1d60('0x59')]||_0x1d60('0x18')==_0x54a124[_0x1d60('0x59')]){const _0x524798=_0x54a124[_0x1d60('0x79')]();if(_0x524798&&_0x524798['is'](_0x1d60('0xa'),'caption'))return{'type':_0x1d60('0x26')==_0x54a124[_0x1d60('0x59')]?_0x1d60('0x6f'):_0x1d60('0x41'),'element':_0x524798,'quantity':0x1};}}),_0x2ea429[_0x1d60('0x5b')][_0x1d60('0x78')](_0x8260a=>_0x1d60('0x0')==_0x8260a['type']&&'convertInlineImageToBlock'==_0x8260a['subType']?{'type':_0x1d60('0x3b'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x1d60('0x0')==_0x8260a[_0x1d60('0x59')]&&'convertBlockImageToInline'==_0x8260a['subType']?{'type':_0x1d60('0x3b'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2ea429['_descriptionFactory']['registerDescriptionCallback'](_0x507a57=>{const {data:_0x1f45b2}=_0x507a57;if(_0x1f45b2){if('imageStyle'==_0x1f45b2['commandName']){const _0x4e8c98=_0x1f45b2['commandParams'][0x0]['value'];return _0x4c4118(_0x1d60('0x69')===_0x4e8c98?_0x586cd8(_0x1cab5b,_0x1d60('0x11')):_0x3e924d[_0x4e8c98]||_0x4e8c98);}if(_0x1d60('0x1c')==_0x1f45b2['commandName']){const _0x4be59c=_0x1f45b2[_0x1d60('0x51')][0x0][_0x1d60('0x76')];return _0x4be59c?{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,_0x1d60('0x6c'),'\x22'+_0x4be59c+'\x22')}:{'type':'format','content':_0x586cd8(_0x1cab5b,_0x1d60('0x70'))};}if(_0x1d60('0x6')==_0x1f45b2['commandName']){const _0xaa7900=_0x1f45b2[_0x1d60('0x51')][0x0][_0x1d60('0x46')];return _0xaa7900?{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,'*Set\x20image\x20width:*\x20%0',_0xaa7900)}:{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,'*Reset\x20image\x20width*')};}}function _0x4c4118(_0x1a3abd){return{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,_0x1d60('0x4a'),_0x1a3abd)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d03=['afterInit','editor','commandParams','accept','commandName','getSuggestionCallback','handleReplaceImageCommand','has','handleSuggestionDescription','get','getAttribute','source','Users','format','selection','ImageEditing','author','formatBlock','TrackChangesEditing','discard','*Format:*\x20replace\x20image\x20URL','getSelectedElement','locale','registerCustomCallback','replaceImageSource','_suggestionFactory','getSuggestions','registerDescriptionCallback','plugins','_descriptionFactory','change','subType','model','enableCommand'];(function(_0x40362f,_0x4d0345){const _0x45a063=function(_0x454feb){while(--_0x454feb){_0x40362f['push'](_0x40362f['shift']());}};_0x45a063(++_0x4d0345);}(_0x4d03,0x171));const _0x45a0=function(_0x40362f,_0x4d0345){_0x40362f=_0x40362f-0x0;let _0x45a063=_0x4d03[_0x40362f];return _0x45a063;};import{Plugin as _0x2349f0}from'ckeditor5/src/core';import{getTranslation as _0x994f7a}from'../utils/common-translations';export default class Z extends _0x2349f0{[_0x45a0('0x5')](){if(!this[_0x45a0('0x6')][_0x45a0('0x21')][_0x45a0('0xc')](_0x45a0('0x14')))return;const _0x4764bd=this[_0x45a0('0x6')][_0x45a0('0x21')]['get'](_0x45a0('0x17'));_0x4764bd[_0x45a0('0x4')](_0x45a0('0x1d'),(_0x37c6b8,_0x143b33)=>this['handleReplaceImageCommand'](_0x37c6b8,_0x143b33)),_0x4764bd[_0x45a0('0x1e')][_0x45a0('0x1c')](_0x45a0('0x16'),'replaceImageSource','accept',_0x4764bd[_0x45a0('0x1e')][_0x45a0('0xa')](_0x45a0('0x16'),null,'discard')),_0x4764bd[_0x45a0('0x1e')][_0x45a0('0x1c')](_0x45a0('0x16'),'replaceImageSource',_0x45a0('0x18'),_0x4764bd[_0x45a0('0x1e')][_0x45a0('0xa')](_0x45a0('0x16'),null,_0x45a0('0x8'))),_0x4764bd[_0x45a0('0x0')][_0x45a0('0x20')](_0x108d8a=>this[_0x45a0('0xd')](_0x108d8a));}[_0x45a0('0xb')](_0x53f894,_0x37d88f){const _0x43cb4b=this['editor'][_0x45a0('0x21')][_0x45a0('0xe')]('TrackChangesEditing'),_0x1b7d0e=this[_0x45a0('0x6')][_0x45a0('0x3')]['document'][_0x45a0('0x13')][_0x45a0('0x1a')]();this[_0x45a0('0x6')][_0x45a0('0x3')][_0x45a0('0x1')](()=>{let _0x254131=_0x1b7d0e[_0x45a0('0xf')]('src');const _0x3dcf6b=this[_0x45a0('0x6')][_0x45a0('0x21')][_0x45a0('0xe')](_0x45a0('0x11'))['me'];for(const _0x1dc36a of _0x43cb4b[_0x45a0('0x1f')]({'skipNotAttached':!0x0})){const _0x3bbbc6=_0x1dc36a['getContainedElement']();if('replaceImageSource'===_0x1dc36a[_0x45a0('0x2')]&&_0x3bbbc6===_0x1b7d0e){_0x1dc36a[_0x45a0('0x15')]!==_0x3dcf6b&&_0x1dc36a[_0x45a0('0x18')](),_0x254131=_0x1dc36a['data'][_0x45a0('0x7')][0x0][_0x45a0('0x10')];break;}}_0x53f894(_0x37d88f),_0x43cb4b['markBlockFormat'](_0x1b7d0e,{'commandName':_0x45a0('0x1d'),'commandParams':[{'source':_0x254131}]},[],_0x45a0('0x1d'));});}[_0x45a0('0xd')](_0x43eeca){const {data:_0x476453}=_0x43eeca;if(_0x476453&&_0x45a0('0x1d')===_0x476453[_0x45a0('0x9')]){const _0x17ed74=_0x45a0('0x19');return{'type':_0x45a0('0x12'),'content':_0x994f7a(this[_0x45a0('0x6')][_0x45a0('0x1b')],_0x17ed74)};}}}
23
+ const _0x16d1=['registerDescriptionCallback','*Format:*\x20replace\x20image\x20URL','data','model','selection','has','formatBlock','TrackChangesEditing','editor','getAttribute','subType','_suggestionFactory','Users','discard','ImageEditing','getContainedElement','plugins','registerCustomCallback','commandName','src','change','get','getSuggestionCallback','handleSuggestionDescription','accept','getSelectedElement','author','afterInit','_descriptionFactory','replaceImageSource','source','enableCommand','getSuggestions','document'];(function(_0xf84370,_0x16d160){const _0x1f72f1=function(_0x145f0f){while(--_0x145f0f){_0xf84370['push'](_0xf84370['shift']());}};_0x1f72f1(++_0x16d160);}(_0x16d1,0xa5));const _0x1f72=function(_0xf84370,_0x16d160){_0xf84370=_0xf84370-0x0;let _0x1f72f1=_0x16d1[_0xf84370];return _0x1f72f1;};import{Plugin as _0x5d42cf}from'ckeditor5/src/core';import{getTranslation as _0x2f3050}from'../utils/common-translations';export default class Z extends _0x5d42cf{[_0x1f72('0x20')](){if(!this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0xa')](_0x1f72('0x13')))return;const _0x5731c3=this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0x1a')]('TrackChangesEditing');_0x5731c3[_0x1f72('0x2')]('replaceImageSource',(_0x12918c,_0x52ef5a)=>this['handleReplaceImageCommand'](_0x12918c,_0x52ef5a)),_0x5731c3['_suggestionFactory'][_0x1f72('0x16')](_0x1f72('0xb'),'replaceImageSource',_0x1f72('0x1d'),_0x5731c3[_0x1f72('0x10')]['getSuggestionCallback'](_0x1f72('0xb'),null,_0x1f72('0x12'))),_0x5731c3['_suggestionFactory'][_0x1f72('0x16')](_0x1f72('0xb'),_0x1f72('0x0'),'discard',_0x5731c3[_0x1f72('0x10')][_0x1f72('0x1b')]('formatBlock',null,_0x1f72('0x1d'))),_0x5731c3[_0x1f72('0x21')][_0x1f72('0x5')](_0x3ac8c5=>this[_0x1f72('0x1c')](_0x3ac8c5));}['handleReplaceImageCommand'](_0xc1acb5,_0x58585f){const _0x5b5856=this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0x1a')](_0x1f72('0xc')),_0x247975=this['editor'][_0x1f72('0x8')][_0x1f72('0x4')][_0x1f72('0x9')][_0x1f72('0x1e')]();this['editor'][_0x1f72('0x8')][_0x1f72('0x19')](()=>{let _0x369955=_0x247975[_0x1f72('0xe')](_0x1f72('0x18'));const _0x31346b=this[_0x1f72('0xd')][_0x1f72('0x15')]['get'](_0x1f72('0x11'))['me'];for(const _0x23ea9a of _0x5b5856[_0x1f72('0x3')]({'skipNotAttached':!0x0})){const _0x26ea94=_0x23ea9a[_0x1f72('0x14')]();if(_0x1f72('0x0')===_0x23ea9a[_0x1f72('0xf')]&&_0x26ea94===_0x247975){_0x23ea9a[_0x1f72('0x1f')]!==_0x31346b&&_0x23ea9a['discard'](),_0x369955=_0x23ea9a[_0x1f72('0x7')]['commandParams'][0x0][_0x1f72('0x1')];break;}}_0xc1acb5(_0x58585f),_0x5b5856['markBlockFormat'](_0x247975,{'commandName':_0x1f72('0x0'),'commandParams':[{'source':_0x369955}]},[],_0x1f72('0x0'));});}['handleSuggestionDescription'](_0x156080){const {data:_0x8425e7}=_0x156080;if(_0x8425e7&&_0x1f72('0x0')===_0x8425e7[_0x1f72('0x17')]){const _0x5e13dd=_0x1f72('0x6');return{'type':'format','content':_0x2f3050(this['editor']['locale'],_0x5e13dd)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59df=['importWord','commands','editor','listenTo','value','_trackChangesValueDuringImport','get','afterInit','execute','dataInsert','trackChanges','TrackChangesEditing','track_changes','_setSuggestionData','collaboration_features','high','_trackChangesExecuted','lowest','plugins'];(function(_0x2fff62,_0x59dfec){const _0x3ba07b=function(_0x51acdd){while(--_0x51acdd){_0x2fff62['push'](_0x2fff62['shift']());}};_0x3ba07b(++_0x59dfec);}(_0x59df,0x12d));const _0x3ba0=function(_0x2fff62,_0x59dfec){_0x2fff62=_0x2fff62-0x0;let _0x3ba07b=_0x59df[_0x2fff62];return _0x3ba07b;};import{Plugin as _0xe05d44}from'ckeditor5/src/core';export default class tt extends _0xe05d44{constructor(_0x3203eb){super(_0x3203eb),this[_0x3ba0('0x8')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x3ba0('0xa')](){const _0x177577=this[_0x3ba0('0x5')],_0x459701=_0x177577[_0x3ba0('0x4')][_0x3ba0('0x9')](_0x3ba0('0x3')),_0x2a95e0=_0x177577['commands'][_0x3ba0('0x9')](_0x3ba0('0xd'));_0x459701&&(_0x459701['on'](_0x3ba0('0xb'),(_0xe665e8,[,_0x3c97a0])=>{this[_0x3ba0('0x8')]=_0x2a95e0[_0x3ba0('0x7')],_0x3c97a0[_0x3ba0('0x11')][_0x3ba0('0xf')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x3ba0('0x12')}),this[_0x3ba0('0x6')](_0x459701,'dataInsert',this['_handleImportedData']['bind'](this)),this[_0x3ba0('0x6')](_0x459701,_0x3ba0('0xc'),()=>{this[_0x3ba0('0x0')]&&(_0x2a95e0[_0x3ba0('0xb')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x3ba0('0x1')}),_0x177577[_0x3ba0('0x2')][_0x3ba0('0x9')](_0x3ba0('0xe'))['enableCommand']('importWord'));}['_handleImportedData'](_0x508e46,_0x12ac21){const {suggestions:_0x116c23}=_0x12ac21,_0x437743=this[_0x3ba0('0x5')][_0x3ba0('0x4')]['get'](_0x3ba0('0xd')),_0x234e09=_0x437743[_0x3ba0('0x7')];this[_0x3ba0('0x8')]!==_0x234e09&&(_0x437743[_0x3ba0('0xb')](),this[_0x3ba0('0x0')]=!0x0),_0x116c23&&_0x116c23['forEach'](({id:_0x8c2857,type:_0x21dce4,author:_0x3b9dd9,created_at:_0x21bdc9})=>{const _0x5f192e={'id':_0x8c2857,'type':_0x21dce4,'authorId':this[_0x3ba0('0x5')][_0x3ba0('0x2')]['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3b9dd9,'createdAt':_0x21bdc9?new Date(_0x21bdc9):new Date(),'source':_0x3ba0('0x3')}}};this[_0x3ba0('0x5')][_0x3ba0('0x2')][_0x3ba0('0x9')](_0x3ba0('0xe'))[_0x3ba0('0x10')](_0x5f192e);});}}
23
+ const _0x53a3=['plugins','_trackChangesValueDuringImport','afterInit','dataInsert','trackChanges','importWord','editor','high','enableCommand','TrackChangesEditing','get','value','execute','track_changes','listenTo','forEach','commands','bind','_trackChangesExecuted','collaboration_features'];(function(_0x2a74db,_0x53a3db){const _0x20d0a2=function(_0xdcaed3){while(--_0xdcaed3){_0x2a74db['push'](_0x2a74db['shift']());}};_0x20d0a2(++_0x53a3db);}(_0x53a3,0x116));const _0x20d0=function(_0x2a74db,_0x53a3db){_0x2a74db=_0x2a74db-0x0;let _0x20d0a2=_0x53a3[_0x2a74db];return _0x20d0a2;};import{Plugin as _0x2298d7}from'ckeditor5/src/core';export default class tt extends _0x2298d7{constructor(_0x2a8007){super(_0x2a8007),this['_trackChangesValueDuringImport']=!0x1,this[_0x20d0('0x0')]=!0x1;}[_0x20d0('0x4')](){const _0x5e3929=this[_0x20d0('0x8')],_0x3fe40c=_0x5e3929[_0x20d0('0x12')][_0x20d0('0xc')](_0x20d0('0x7')),_0x2732fe=_0x5e3929[_0x20d0('0x12')][_0x20d0('0xc')](_0x20d0('0x6'));_0x3fe40c&&(_0x3fe40c['on'](_0x20d0('0xe'),(_0x25a646,[,_0x504727])=>{this[_0x20d0('0x3')]=_0x2732fe['value'],_0x504727[_0x20d0('0x1')][_0x20d0('0xf')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x20d0('0x9')}),this['listenTo'](_0x3fe40c,_0x20d0('0x5'),this['_handleImportedData'][_0x20d0('0x13')](this)),this[_0x20d0('0x10')](_0x3fe40c,'dataInsert',()=>{this[_0x20d0('0x0')]&&(_0x2732fe[_0x20d0('0xe')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x5e3929[_0x20d0('0x2')]['get'](_0x20d0('0xb'))[_0x20d0('0xa')](_0x20d0('0x7')));}['_handleImportedData'](_0x8298ab,_0x9ac639){const {suggestions:_0x3ea687}=_0x9ac639,_0x40319b=this['editor'][_0x20d0('0x12')]['get'](_0x20d0('0x6')),_0x3c042d=_0x40319b[_0x20d0('0xd')];this[_0x20d0('0x3')]!==_0x3c042d&&(_0x40319b['execute'](),this[_0x20d0('0x0')]=!0x0),_0x3ea687&&_0x3ea687[_0x20d0('0x11')](({id:_0x190122,type:_0x141e37,author:_0x2a910e,created_at:_0xc04fc7})=>{const _0x3d922c={'id':_0x190122,'type':_0x141e37,'authorId':this[_0x20d0('0x8')]['plugins'][_0x20d0('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2a910e,'createdAt':_0xc04fc7?new Date(_0xc04fc7):new Date(),'source':_0x20d0('0x7')}}};this[_0x20d0('0x8')][_0x20d0('0x2')]['get'](_0x20d0('0xb'))['_setSuggestionData'](_0x3d922c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ded=['from','commandName','model','change','afterInit','indent','indentBlock','*Indent:*\x20%0','outdentBlock','document','locale','has','IndentEditing','plugins','get','getSelectedBlocks','format','editor','enableCommand','TrackChangesEditing','checkAttribute','IndentBlock','registerDescriptionCallback','markBlockFormat','outdent','filter','schema','*Outdent:*\x20%0'];(function(_0x1630fe,_0x1ded39){const _0x1ba122=function(_0x116f91){while(--_0x116f91){_0x1630fe['push'](_0x1630fe['shift']());}};_0x1ba122(++_0x1ded39);}(_0x1ded,0xc1));const _0x1ba1=function(_0x1630fe,_0x1ded39){_0x1630fe=_0x1630fe-0x0;let _0x1ba122=_0x1ded[_0x1630fe];return _0x1ba122;};import{Plugin as _0x3c5f49}from'ckeditor5/src/core';import{getTranslation as _0x8abbba}from'../utils/common-translations';export default class it extends _0x3c5f49{[_0x1ba1('0x7')](){const _0x261cc6=this[_0x1ba1('0x14')],_0x286632=_0x261cc6[_0x1ba1('0x10')][_0x1ba1('0x11')](_0x1ba1('0x16'));_0x261cc6[_0x1ba1('0x10')][_0x1ba1('0xe')](_0x1ba1('0xf'))&&(_0x286632[_0x1ba1('0x15')](_0x1ba1('0x8')),_0x286632[_0x1ba1('0x15')](_0x1ba1('0x1b')));const _0x5c1e43=_0x261cc6[_0x1ba1('0xd')];if(_0x261cc6['plugins'][_0x1ba1('0xe')](_0x1ba1('0x18'))){for(const _0x4f54e7 of[_0x1ba1('0x9'),_0x1ba1('0xb')])_0x286632[_0x1ba1('0x15')](_0x4f54e7,()=>{const _0x115e69=Array[_0x1ba1('0x3')](this[_0x1ba1('0x14')]['model'][_0x1ba1('0xc')]['selection'][_0x1ba1('0x12')]())[_0x1ba1('0x0')](_0x542206=>this[_0x1ba1('0x14')][_0x1ba1('0x5')][_0x1ba1('0x1')][_0x1ba1('0x17')](_0x542206,'blockIndent'));_0x261cc6['model'][_0x1ba1('0x6')](()=>{for(const _0x3f0e7e of _0x115e69)_0x286632[_0x1ba1('0x1a')](_0x3f0e7e,{'commandName':_0x4f54e7,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x286632['_descriptionFactory'][_0x1ba1('0x19')](_0x4f224f=>{const {data:_0x59d8dc}=_0x4f224f;if(!_0x59d8dc)return;if('indentBlock'!=_0x59d8dc[_0x1ba1('0x4')]&&_0x1ba1('0xb')!=_0x59d8dc[_0x1ba1('0x4')])return;const _0xe8c2e0=_0x4f224f['getItems']()[0x0],_0x57819a=_0x286632['_descriptionFactory']['getItemLabel'](_0xe8c2e0);return _0x1ba1('0x9')==_0x59d8dc[_0x1ba1('0x4')]?{'type':'format','content':_0x8abbba(_0x5c1e43,_0x1ba1('0xa'),_0x57819a)}:_0x1ba1('0xb')==_0x59d8dc[_0x1ba1('0x4')]?{'type':_0x1ba1('0x13'),'content':_0x8abbba(_0x5c1e43,_0x1ba1('0x2'),_0x57819a)}:void 0x0;});}}}
23
+ const _0x2156=['get','getSelectedBlocks','indentBlock','from','filter','selection','has','indent','format','change','markBlockFormat','document','_descriptionFactory','enableCommand','checkAttribute','afterInit','schema','*Indent:*\x20%0','commandName','getItems','blockIndent','locale','editor','plugins','getItemLabel','model','outdent','outdentBlock','registerDescriptionCallback'];(function(_0x7a91a2,_0x21568c){const _0x46606c=function(_0x5c1954){while(--_0x5c1954){_0x7a91a2['push'](_0x7a91a2['shift']());}};_0x46606c(++_0x21568c);}(_0x2156,0x84));const _0x4660=function(_0x7a91a2,_0x21568c){_0x7a91a2=_0x7a91a2-0x0;let _0x46606c=_0x2156[_0x7a91a2];return _0x46606c;};import{Plugin as _0x4ba8df}from'ckeditor5/src/core';import{getTranslation as _0x5851a4}from'../utils/common-translations';export default class it extends _0x4ba8df{[_0x4660('0x1c')](){const _0x2a603a=this[_0x4660('0x6')],_0x12b977=_0x2a603a[_0x4660('0x7')][_0x4660('0xd')]('TrackChangesEditing');_0x2a603a[_0x4660('0x7')][_0x4660('0x13')]('IndentEditing')&&(_0x12b977[_0x4660('0x1a')](_0x4660('0x14')),_0x12b977['enableCommand'](_0x4660('0xa')));const _0x430f2b=_0x2a603a[_0x4660('0x5')];if(_0x2a603a[_0x4660('0x7')]['has']('IndentBlock')){for(const _0x26638d of[_0x4660('0xf'),_0x4660('0xb')])_0x12b977[_0x4660('0x1a')](_0x26638d,()=>{const _0x28f3ef=Array[_0x4660('0x10')](this[_0x4660('0x6')]['model'][_0x4660('0x18')][_0x4660('0x12')][_0x4660('0xe')]())[_0x4660('0x11')](_0x211513=>this[_0x4660('0x6')][_0x4660('0x9')][_0x4660('0x0')][_0x4660('0x1b')](_0x211513,_0x4660('0x4')));_0x2a603a[_0x4660('0x9')][_0x4660('0x16')](()=>{for(const _0x32dff8 of _0x28f3ef)_0x12b977[_0x4660('0x17')](_0x32dff8,{'commandName':_0x26638d,'commandParams':[{'value':''}],'formatGroupId':_0x4660('0xf')});});});_0x12b977[_0x4660('0x19')][_0x4660('0xc')](_0x10b6b9=>{const {data:_0x54047f}=_0x10b6b9;if(!_0x54047f)return;if('indentBlock'!=_0x54047f[_0x4660('0x2')]&&_0x4660('0xb')!=_0x54047f[_0x4660('0x2')])return;const _0x371688=_0x10b6b9[_0x4660('0x3')]()[0x0],_0x47cbb0=_0x12b977[_0x4660('0x19')][_0x4660('0x8')](_0x371688);return _0x4660('0xf')==_0x54047f[_0x4660('0x2')]?{'type':_0x4660('0x15'),'content':_0x5851a4(_0x430f2b,_0x4660('0x1'),_0x47cbb0)}:_0x4660('0xb')==_0x54047f[_0x4660('0x2')]?{'type':'format','content':_0x5851a4(_0x430f2b,'*Outdent:*\x20%0',_0x47cbb0)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50fc=['editor','init','get','enableCommand','requires','TrackChangesEditing'];(function(_0x29058e,_0x50fcbf){var _0x6736e6=function(_0x3e126e){while(--_0x3e126e){_0x29058e['push'](_0x29058e['shift']());}};_0x6736e6(++_0x50fcbf);}(_0x50fc,0x110));var _0x6736=function(_0x29058e,_0x50fcbf){_0x29058e=_0x29058e-0x0;var _0x6736e6=_0x50fc[_0x29058e];return _0x6736e6;};import{Plugin as _0x357d3b}from'ckeditor5/src/core';import{Input as _0x5b3d54}from'ckeditor5/src/typing';export default class et extends _0x357d3b{static get[_0x6736('0x2')](){return[_0x5b3d54];}[_0x6736('0x5')](){this[_0x6736('0x4')]['plugins'][_0x6736('0x0')](_0x6736('0x3'))[_0x6736('0x1')]('input');}}
23
+ var _0x51b3=['input','plugins','requires','enableCommand','init'];(function(_0x7b9c6d,_0x51b37e){var _0x2737cc=function(_0x568598){while(--_0x568598){_0x7b9c6d['push'](_0x7b9c6d['shift']());}};_0x2737cc(++_0x51b37e);}(_0x51b3,0x84));var _0x2737=function(_0x7b9c6d,_0x51b37e){_0x7b9c6d=_0x7b9c6d-0x0;var _0x2737cc=_0x51b3[_0x7b9c6d];return _0x2737cc;};import{Plugin as _0x505920}from'ckeditor5/src/core';import{Input as _0x5e45db}from'ckeditor5/src/typing';export default class et extends _0x505920{static get[_0x2737('0x0')](){return[_0x5e45db];}[_0x2737('0x2')](){this['editor'][_0x2737('0x4')]['get']('TrackChangesEditing')[_0x2737('0x1')](_0x2737('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a50=['unlink','model','format','afterInit','getFirstRange','change','has','link','TrackChangesEditing','_descriptionFactory','*Set\x20link:*\x20%0','enableCommand','*Remove\x20link*','hasAttribute','document','commandName','markInlineFormat','LinkEditing','getAttribute','commandParams','linkHref','selection','plugins','editor','isCollapsed'];(function(_0x4fd7fa,_0x3a505f){const _0x23fa74=function(_0x20796c){while(--_0x20796c){_0x4fd7fa['push'](_0x4fd7fa['shift']());}};_0x23fa74(++_0x3a505f);}(_0x3a50,0x1b3));const _0x23fa=function(_0x4fd7fa,_0x3a505f){_0x4fd7fa=_0x4fd7fa-0x0;let _0x23fa74=_0x3a50[_0x4fd7fa];return _0x23fa74;};import{Plugin as _0x2bd4f4}from'ckeditor5/src/core';import{findAttributeRange as _0x2c68cc}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x269bb1}from'./utils';import{getTranslation as _0x4f5c7a}from'../utils/common-translations';export default class nt extends _0x2bd4f4{[_0x23fa('0x12')](){const _0x5f1a7b=this[_0x23fa('0xd')];if(!_0x5f1a7b[_0x23fa('0xc')][_0x23fa('0x15')](_0x23fa('0x7')))return;const _0x83d0bf=_0x5f1a7b[_0x23fa('0xc')]['get'](_0x23fa('0x17'));_0x83d0bf[_0x23fa('0x1')](_0x23fa('0x16'),(_0x2ebe75,_0x4fd269)=>{const _0x4daff8=_0x5f1a7b[_0x23fa('0x10')][_0x23fa('0x4')][_0x23fa('0xb')];let _0x543f38=[];if(_0x4daff8[_0x23fa('0xe')]){if(!_0x4daff8[_0x23fa('0x3')]('linkHref'))return void _0x2ebe75(_0x4fd269);{const _0x4637ba=_0x2c68cc(_0x4daff8['getFirstPosition'](),_0x23fa('0xa'),_0x4daff8[_0x23fa('0x8')](_0x23fa('0xa')),_0x5f1a7b[_0x23fa('0x10')]);_0x543f38=[_0x4637ba];}}else _0x543f38=Array['from'](_0x4daff8['getRanges']());_0x5f1a7b[_0x23fa('0x10')][_0x23fa('0x14')](()=>{for(const _0x3e320d of _0x543f38)_0x83d0bf['markInlineFormat'](_0x3e320d,{'commandName':_0x23fa('0x16'),'commandParams':[_0x4fd269]});});}),_0x83d0bf[_0x23fa('0x1')](_0x23fa('0xf'),()=>{const _0x54905c=this[_0x23fa('0xd')]['model'],_0x2a1a1a=_0x54905c[_0x23fa('0x4')][_0x23fa('0xb')];_0x54905c[_0x23fa('0x14')](()=>{let _0x375f0a=[];if(_0x2a1a1a[_0x23fa('0xe')])_0x375f0a=[_0x2c68cc(_0x2a1a1a['getFirstPosition'](),'linkHref',_0x2a1a1a[_0x23fa('0x8')]('linkHref'),_0x5f1a7b[_0x23fa('0x10')])];else _0x375f0a=_0x269bb1(_0x23fa('0xa'),_0x2a1a1a[_0x23fa('0x13')](),_0x5f1a7b[_0x23fa('0x10')]);for(const _0x4a1816 of _0x375f0a)_0x83d0bf[_0x23fa('0x6')](_0x4a1816,{'commandName':_0x23fa('0xf'),'commandParams':[]});});}),_0x83d0bf[_0x23fa('0x18')]['registerDescriptionCallback'](_0x1b3788=>{const {data:_0x36c883}=_0x1b3788,_0x1dba3e=_0x5f1a7b['locale'];if(_0x36c883){if(_0x23fa('0x16')==_0x36c883[_0x23fa('0x5')]){const _0x37bac0=_0x36c883[_0x23fa('0x9')][0x0];return{'type':_0x23fa('0x11'),'content':_0x4f5c7a(_0x1dba3e,_0x23fa('0x0'),'\x22'+_0x37bac0+'\x22')};}return _0x23fa('0xf')==_0x36c883['commandName']?{'type':'format','content':_0x4f5c7a(_0x1dba3e,_0x23fa('0x2'))}:void 0x0;}});}}
23
+ const _0xd31c=['model','isCollapsed','plugins','from','linkHref','getFirstPosition','link','*Remove\x20link*','hasAttribute','editor','has','LinkEditing','selection','format','document','commandName','getRanges','getAttribute','unlink','*Set\x20link:*\x20%0','registerDescriptionCallback','afterInit','get','markInlineFormat','locale','change'];(function(_0x55025f,_0xd31cd2){const _0x1b91b9=function(_0x241082){while(--_0x241082){_0x55025f['push'](_0x55025f['shift']());}};_0x1b91b9(++_0xd31cd2);}(_0xd31c,0x1c9));const _0x1b91=function(_0x55025f,_0xd31cd2){_0x55025f=_0x55025f-0x0;let _0x1b91b9=_0xd31c[_0x55025f];return _0x1b91b9;};import{Plugin as _0x3b4d24}from'ckeditor5/src/core';import{findAttributeRange as _0x44dfff}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x311eaf}from'./utils';import{getTranslation as _0x2e2d57}from'../utils/common-translations';export default class nt extends _0x3b4d24{[_0x1b91('0x6')](){const _0x2172a1=this[_0x1b91('0x14')];if(!_0x2172a1[_0x1b91('0xd')][_0x1b91('0x15')](_0x1b91('0x16')))return;const _0x3e96ca=_0x2172a1[_0x1b91('0xd')][_0x1b91('0x7')]('TrackChangesEditing');_0x3e96ca['enableCommand']('link',(_0x547494,_0x14c75b)=>{const _0x3caead=_0x2172a1[_0x1b91('0xb')][_0x1b91('0x19')][_0x1b91('0x17')];let _0x5befe1=[];if(_0x3caead[_0x1b91('0xc')]){if(!_0x3caead[_0x1b91('0x13')](_0x1b91('0xf')))return void _0x547494(_0x14c75b);{const _0x3a2f5a=_0x44dfff(_0x3caead[_0x1b91('0x10')](),_0x1b91('0xf'),_0x3caead[_0x1b91('0x2')]('linkHref'),_0x2172a1[_0x1b91('0xb')]);_0x5befe1=[_0x3a2f5a];}}else _0x5befe1=Array[_0x1b91('0xe')](_0x3caead[_0x1b91('0x1')]());_0x2172a1[_0x1b91('0xb')][_0x1b91('0xa')](()=>{for(const _0x3b1cb9 of _0x5befe1)_0x3e96ca[_0x1b91('0x8')](_0x3b1cb9,{'commandName':_0x1b91('0x11'),'commandParams':[_0x14c75b]});});}),_0x3e96ca['enableCommand']('unlink',()=>{const _0x5401f0=this[_0x1b91('0x14')][_0x1b91('0xb')],_0xcef929=_0x5401f0['document'][_0x1b91('0x17')];_0x5401f0[_0x1b91('0xa')](()=>{let _0x488e63=[];if(_0xcef929['isCollapsed'])_0x488e63=[_0x44dfff(_0xcef929[_0x1b91('0x10')](),_0x1b91('0xf'),_0xcef929[_0x1b91('0x2')](_0x1b91('0xf')),_0x2172a1[_0x1b91('0xb')])];else _0x488e63=_0x311eaf('linkHref',_0xcef929['getFirstRange'](),_0x2172a1[_0x1b91('0xb')]);for(const _0x170bb6 of _0x488e63)_0x3e96ca[_0x1b91('0x8')](_0x170bb6,{'commandName':_0x1b91('0x3'),'commandParams':[]});});}),_0x3e96ca['_descriptionFactory'][_0x1b91('0x5')](_0x30e8b9=>{const {data:_0x172490}=_0x30e8b9,_0x1a8ae7=_0x2172a1[_0x1b91('0x9')];if(_0x172490){if(_0x1b91('0x11')==_0x172490['commandName']){const _0x2427d9=_0x172490['commandParams'][0x0];return{'type':_0x1b91('0x18'),'content':_0x2e2d57(_0x1a8ae7,_0x1b91('0x4'),'\x22'+_0x2427d9+'\x22')};}return _0x1b91('0x3')==_0x172490[_0x1b91('0x0')]?{'type':_0x1b91('0x18'),'content':_0x2e2d57(_0x1a8ae7,_0x1b91('0x12'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4de8=['length','createPositionAt','ELEMENT_TODO_LIST','previousSibling','name','_selectedElements','registerDescriptionCallback','change','listIndent','todoListChecked','commands','from','_descriptionFactory','TrackChangesEditing','parent','checkChild','execute','TodoListEditing','format','afterInit','plugins','document','paragraph','outdentList','slice','*Check\x20item*','nextSibling','indentList','locale','createRange','get','todo','numberedList','ELEMENT_LIST_ITEM','enableCommand','listItem','bulletedList','before','element','*Uncheck\x20item*','selection','getAttribute','checkTodoList','filter','*Change\x20to:*\x20%0','push','numbered','blockName','commandParams','value','*Indent:*\x20%0','todoList','commandName','ELEMENT_BULLETED_LIST','add','ELEMENT_NUMBERED_LIST','getSelectedBlocks','model','bulleted','markBlockFormat','List'];(function(_0x3dfbde,_0x4de8c8){const _0x40a73f=function(_0x1754e2){while(--_0x1754e2){_0x3dfbde['push'](_0x3dfbde['shift']());}};_0x40a73f(++_0x4de8c8);}(_0x4de8,0x168));const _0x40a7=function(_0x3dfbde,_0x4de8c8){_0x3dfbde=_0x3dfbde-0x0;let _0x40a73f=_0x4de8[_0x3dfbde];return _0x40a73f;};import{Plugin as _0x2fe167}from'ckeditor5/src/core';import{getTranslation as _0x66647c}from'../utils/common-translations';export default class st extends _0x2fe167{[_0x40a7('0x19')](){const _0xf76ef7=this['editor'],_0xf5a24f=_0xf76ef7[_0x40a7('0x22')];if(!_0xf76ef7['plugins']['has']('ListEditing'))return;const _0x5d0193=_0xf76ef7['plugins'][_0x40a7('0x24')](_0x40a7('0x13')),_0x1657dd=_0xf76ef7[_0x40a7('0x1a')]['has'](_0x40a7('0x17'));function _0x1db471(_0x2af459){return()=>{const _0x3e11fc=_0xf76ef7['model']['document'][_0x40a7('0x2e')],_0x2fb7ab=_0xf76ef7[_0x40a7('0x10')][_0x40a7('0x24')](_0x2af459);if(_0x2fb7ab[_0x40a7('0x37')])return void _0xf76ef7[_0x40a7('0x16')](_0x40a7('0x1c'),{});const _0x24642b=_0x2af459[_0x40a7('0x1e')](0x0,-0x4),_0x1f67fb=function(_0x4fcc90,_0xec159e,_0x3391d6){let _0x5a32ae=Array[_0x40a7('0x11')](_0x4fcc90)[_0x40a7('0x31')](_0xf33ab6=>function(_0x57925e,_0x32f0e8){return _0x32f0e8[_0x40a7('0x15')](_0x57925e[_0x40a7('0x14')],'listItem')&&!_0x32f0e8['isObject'](_0x57925e);}(_0xf33ab6,_0x3391d6));_0x5a32ae=_0x5a32ae['filter'](_0x47d536=>!_0x47d536['is'](_0x40a7('0x2c'),_0x40a7('0x29'))||_0x47d536[_0x40a7('0x2f')]('listType')!=_0xec159e);const _0x13ba55=new Set();for(const _0x3126f3 of _0x5a32ae)_0x3126f3['is']('element','listItem')?_0x13ba55[_0x40a7('0x3c')](ne(_0x3126f3)):_0x13ba55[_0x40a7('0x3c')](_0x3126f3);return Array[_0x40a7('0x11')](_0x13ba55);}(_0x3e11fc[_0x40a7('0x1')](),_0x24642b,_0xf76ef7[_0x40a7('0x2')]['schema']);_0xf76ef7[_0x40a7('0x2')][_0x40a7('0xd')](()=>{for(const _0x2e7265 of _0x1f67fb)_0x5d0193['markBlockFormat'](_0x2e7265,{'commandName':_0x2af459,'commandParams':[{'forceValue':!_0x2fb7ab[_0x40a7('0x37')]}],'formatGroupId':_0x40a7('0x35')},oe(_0x2e7265));});};}function _0x2e0c3b(_0x422812){return()=>{const _0xa30f57=function(_0x4be542){let _0x4aeb7f=Array[_0x40a7('0x11')](_0x4be542);const _0xae7883=_0x4aeb7f['findIndex'](_0x27310f=>_0x40a7('0x29')!=_0x27310f[_0x40a7('0xa')]);return _0xae7883>-0x1&&(_0x4aeb7f=_0x4aeb7f[_0x40a7('0x1e')](0x0,_0xae7883)),_0x4aeb7f;}(_0xf76ef7[_0x40a7('0x2')][_0x40a7('0x1b')][_0x40a7('0x2e')][_0x40a7('0x1')]()),_0x4dab90=_0xf76ef7[_0x40a7('0x2')][_0x40a7('0x23')](_0xf76ef7['model']['createPositionAt'](_0xa30f57[0x0],_0x40a7('0x2b')),_0xf76ef7[_0x40a7('0x2')][_0x40a7('0x7')](_0xa30f57[_0xa30f57[_0x40a7('0x6')]-0x1],'end'));_0xf76ef7[_0x40a7('0x2')][_0x40a7('0xd')](()=>{_0x5d0193[_0x40a7('0x4')](_0x4dab90,{'commandName':_0x422812,'commandParams':[],'formatGroupId':_0x40a7('0xe')},function(_0x46c5c4){const _0x469e81=new Set();for(const _0x439604 of _0x46c5c4){let _0x537836=_0x439604[_0x40a7('0x20')];for(;_0x537836&&_0x537836['getAttribute']('listIndent')>_0x439604[_0x40a7('0x2f')](_0x40a7('0xe'));)_0x469e81[_0x40a7('0x3c')](_0x537836),_0x537836=_0x537836[_0x40a7('0x20')];}return Array[_0x40a7('0x11')](_0x469e81);}(_0xa30f57));});};}_0x5d0193[_0x40a7('0x28')](_0x40a7('0x26'),_0x1db471(_0x40a7('0x26'))),_0x5d0193[_0x40a7('0x28')](_0x40a7('0x2a'),_0x1db471(_0x40a7('0x2a'))),_0x1657dd&&_0x5d0193[_0x40a7('0x28')](_0x40a7('0x39'),_0x1db471(_0x40a7('0x39'))),_0x5d0193[_0x40a7('0x28')](_0x40a7('0x21'),_0x2e0c3b('indentList')),_0x5d0193['enableCommand'](_0x40a7('0x1d'),_0x2e0c3b('outdentList')),_0x1657dd&&_0x5d0193['enableCommand']('checkTodoList',()=>{const _0x1248cb=_0xf76ef7[_0x40a7('0x10')][_0x40a7('0x24')](_0x40a7('0x30')),_0x2b42be=Array['from'](_0x1248cb[_0x40a7('0xb')]);_0x2b42be[_0x40a7('0x31')](_0x4af3cf=>_0x4af3cf['getAttribute'](_0x40a7('0xf'))!=_0x1248cb[_0x40a7('0x37')]),_0xf76ef7[_0x40a7('0x2')]['change'](()=>{for(const _0x329274 of _0x2b42be)_0x5d0193['markBlockFormat'](_0x329274,{'commandName':_0x40a7('0x30'),'commandParams':[{'forceValue':!_0x1248cb[_0x40a7('0x37')]}]});});}),_0x5d0193['_descriptionFactory']['registerElementLabel'](_0x40a7('0x29'),_0x187a37=>_0x66647c(_0xf5a24f,'ELEMENT_LIST_ITEM',_0x187a37)),_0x5d0193[_0x40a7('0x12')][_0x40a7('0xc')](_0x53c155=>{const {data:_0x200750}=_0x53c155;if(_0x200750){if(_0x40a7('0x26')==_0x200750[_0x40a7('0x3a')]||_0x40a7('0x2a')==_0x200750[_0x40a7('0x3a')]||'todoList'==_0x200750[_0x40a7('0x3a')])switch(_0x200750[_0x40a7('0x3a')]['replace'](_0x40a7('0x5'),'')){case _0x40a7('0x3'):return _0x3697b2(_0x66647c(_0xf5a24f,_0x40a7('0x3b')));case _0x40a7('0x34'):return _0x3697b2(_0x66647c(_0xf5a24f,_0x40a7('0x0')));case _0x40a7('0x25'):return _0x3697b2(_0x66647c(_0xf5a24f,_0x40a7('0x8')));}if('indentList'==_0x200750[_0x40a7('0x3a')])return{'type':_0x40a7('0x18'),'content':_0x66647c(_0xf5a24f,_0x40a7('0x38'),_0x66647c(_0xf5a24f,_0x40a7('0x27')))};if(_0x40a7('0x1d')==_0x200750[_0x40a7('0x3a')])return{'type':_0x40a7('0x18'),'content':_0x66647c(_0xf5a24f,'*Outdent:*\x20%0',_0x66647c(_0xf5a24f,_0x40a7('0x27')))};if(_0x40a7('0x30')==_0x200750['commandName'])return _0x200750[_0x40a7('0x36')][0x0]['forceValue']?{'type':_0x40a7('0x18'),'content':_0x66647c(_0xf5a24f,_0x40a7('0x1f'))}:{'type':_0x40a7('0x18'),'content':_0x66647c(_0xf5a24f,_0x40a7('0x2d'))};}function _0x3697b2(_0x26e05e){return{'type':_0x40a7('0x18'),'content':_0x66647c(_0xf5a24f,_0x40a7('0x32'),_0x26e05e)};}});}}function ne(_0x4a916f){const _0x5656dc=_0x4a916f[_0x40a7('0x2f')]('listIndent');if(0x0==_0x5656dc)return _0x4a916f;let _0x4f0692=_0x4a916f;for(;_0x4a916f[_0x40a7('0x9')]&&_0x4a916f[_0x40a7('0x9')]['is'](_0x40a7('0x2c'),_0x40a7('0x29'));){const _0x1ace93=_0x4a916f[_0x40a7('0x9')][_0x40a7('0x2f')](_0x40a7('0xe'));if(_0x1ace93==_0x5656dc)_0x4f0692=_0x4a916f[_0x40a7('0x9')];else{if(_0x1ace93<_0x5656dc)break;}_0x4a916f=_0x4a916f[_0x40a7('0x9')];}return _0x4f0692;}function oe(_0x59130d){const _0x45e5b7=[];if(_0x59130d['is'](_0x40a7('0x2c'),_0x40a7('0x29'))&&_0x59130d['getAttribute']('listIndent')>0x0){let _0x472b6e=_0x59130d[_0x40a7('0x20')];for(;_0x472b6e&&_0x40a7('0x29')==_0x472b6e[_0x40a7('0xa')]&&_0x472b6e[_0x40a7('0x2f')]('listIndent')==_0x59130d['getAttribute'](_0x40a7('0xe'));)_0x45e5b7[_0x40a7('0x33')](_0x472b6e),_0x472b6e=_0x472b6e[_0x40a7('0x20')];}return _0x45e5b7;}
23
+ const _0x31c7=['slice','format','ListEditing','*Indent:*\x20%0','replace','forceValue','document','plugins','blockName','element','listItem','get','editor','createRange','checkTodoList','length','change','nextSibling','TrackChangesEditing','filter','has','value','registerElementLabel','ELEMENT_BULLETED_LIST','previousSibling','from','commands','ELEMENT_TODO_LIST','findIndex','paragraph','todoList','push','bulletedList','model','outdentList','add','markBlockFormat','*Outdent:*\x20%0','parent','enableCommand','checkChild','listIndent','*Change\x20to:*\x20%0','name','*Uncheck\x20item*','TodoListEditing','commandName','getAttribute','indentList','createPositionAt','getSelectedBlocks','numberedList','execute','*Check\x20item*','ELEMENT_LIST_ITEM','_descriptionFactory'];(function(_0x3b3b3d,_0x31c733){const _0xfef7cc=function(_0xe7c1d5){while(--_0xe7c1d5){_0x3b3b3d['push'](_0x3b3b3d['shift']());}};_0xfef7cc(++_0x31c733);}(_0x31c7,0x15d));const _0xfef7=function(_0x3b3b3d,_0x31c733){_0x3b3b3d=_0x3b3b3d-0x0;let _0xfef7cc=_0x31c7[_0x3b3b3d];return _0xfef7cc;};import{Plugin as _0x2461b8}from'ckeditor5/src/core';import{getTranslation as _0x316d72}from'../utils/common-translations';export default class st extends _0x2461b8{['afterInit'](){const _0x50c236=this[_0xfef7('0x37')],_0x301a44=_0x50c236['locale'];if(!_0x50c236[_0xfef7('0x32')]['has'](_0xfef7('0x2d')))return;const _0x1772f0=_0x50c236[_0xfef7('0x32')][_0xfef7('0x36')](_0xfef7('0x5')),_0x2daff3=_0x50c236[_0xfef7('0x32')][_0xfef7('0x7')](_0xfef7('0x20'));function _0x14831b(_0x1fdf17){return()=>{const _0x1fbe7f=_0x50c236[_0xfef7('0x14')]['document']['selection'],_0x13a9c8=_0x50c236[_0xfef7('0xd')][_0xfef7('0x36')](_0x1fdf17);if(_0x13a9c8[_0xfef7('0x8')])return void _0x50c236[_0xfef7('0x27')](_0xfef7('0x10'),{});const _0x134eff=_0x1fdf17[_0xfef7('0x2b')](0x0,-0x4),_0x5483b6=function(_0x35b5c8,_0x55bf65,_0x374d4e){let _0x4d8b54=Array[_0xfef7('0xc')](_0x35b5c8)[_0xfef7('0x6')](_0x14d3b3=>function(_0x5bc4bf,_0xcd6554){return _0xcd6554[_0xfef7('0x1b')](_0x5bc4bf[_0xfef7('0x19')],'listItem')&&!_0xcd6554['isObject'](_0x5bc4bf);}(_0x14d3b3,_0x374d4e));_0x4d8b54=_0x4d8b54[_0xfef7('0x6')](_0x114e81=>!_0x114e81['is'](_0xfef7('0x34'),_0xfef7('0x35'))||_0x114e81['getAttribute']('listType')!=_0x55bf65);const _0x443ead=new Set();for(const _0x13289a of _0x4d8b54)_0x13289a['is'](_0xfef7('0x34'),_0xfef7('0x35'))?_0x443ead[_0xfef7('0x16')](ne(_0x13289a)):_0x443ead[_0xfef7('0x16')](_0x13289a);return Array[_0xfef7('0xc')](_0x443ead);}(_0x1fbe7f[_0xfef7('0x25')](),_0x134eff,_0x50c236[_0xfef7('0x14')]['schema']);_0x50c236[_0xfef7('0x14')][_0xfef7('0x3')](()=>{for(const _0x439906 of _0x5483b6)_0x1772f0[_0xfef7('0x17')](_0x439906,{'commandName':_0x1fdf17,'commandParams':[{'forceValue':!_0x13a9c8[_0xfef7('0x8')]}],'formatGroupId':_0xfef7('0x33')},oe(_0x439906));});};}function _0x4df1f3(_0x2041ac){return()=>{const _0x49c93b=function(_0xd4dc90){let _0x70c25e=Array[_0xfef7('0xc')](_0xd4dc90);const _0x3ed8c2=_0x70c25e[_0xfef7('0xf')](_0x726b01=>_0xfef7('0x35')!=_0x726b01[_0xfef7('0x1e')]);return _0x3ed8c2>-0x1&&(_0x70c25e=_0x70c25e[_0xfef7('0x2b')](0x0,_0x3ed8c2)),_0x70c25e;}(_0x50c236[_0xfef7('0x14')][_0xfef7('0x31')]['selection']['getSelectedBlocks']()),_0x479d98=_0x50c236[_0xfef7('0x14')][_0xfef7('0x0')](_0x50c236[_0xfef7('0x14')][_0xfef7('0x24')](_0x49c93b[0x0],'before'),_0x50c236['model'][_0xfef7('0x24')](_0x49c93b[_0x49c93b[_0xfef7('0x2')]-0x1],'end'));_0x50c236[_0xfef7('0x14')][_0xfef7('0x3')](()=>{_0x1772f0[_0xfef7('0x17')](_0x479d98,{'commandName':_0x2041ac,'commandParams':[],'formatGroupId':'listIndent'},function(_0x13664c){const _0x1e4416=new Set();for(const _0xe0e34 of _0x13664c){let _0x194186=_0xe0e34[_0xfef7('0x4')];for(;_0x194186&&_0x194186['getAttribute'](_0xfef7('0x1c'))>_0xe0e34[_0xfef7('0x22')]('listIndent');)_0x1e4416[_0xfef7('0x16')](_0x194186),_0x194186=_0x194186['nextSibling'];}return Array['from'](_0x1e4416);}(_0x49c93b));});};}_0x1772f0[_0xfef7('0x1a')]('numberedList',_0x14831b(_0xfef7('0x26'))),_0x1772f0['enableCommand'](_0xfef7('0x13'),_0x14831b('bulletedList')),_0x2daff3&&_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x11'),_0x14831b(_0xfef7('0x11'))),_0x1772f0['enableCommand'](_0xfef7('0x23'),_0x4df1f3(_0xfef7('0x23'))),_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x15'),_0x4df1f3(_0xfef7('0x15'))),_0x2daff3&&_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x1'),()=>{const _0x281526=_0x50c236[_0xfef7('0xd')][_0xfef7('0x36')]('checkTodoList'),_0x447f7d=Array[_0xfef7('0xc')](_0x281526['_selectedElements']);_0x447f7d[_0xfef7('0x6')](_0x4189b4=>_0x4189b4[_0xfef7('0x22')]('todoListChecked')!=_0x281526['value']),_0x50c236['model'][_0xfef7('0x3')](()=>{for(const _0x3a5342 of _0x447f7d)_0x1772f0[_0xfef7('0x17')](_0x3a5342,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x281526[_0xfef7('0x8')]}]});});}),_0x1772f0[_0xfef7('0x2a')][_0xfef7('0x9')](_0xfef7('0x35'),_0x438a50=>_0x316d72(_0x301a44,_0xfef7('0x29'),_0x438a50)),_0x1772f0[_0xfef7('0x2a')]['registerDescriptionCallback'](_0x513491=>{const {data:_0x116ad7}=_0x513491;if(_0x116ad7){if(_0xfef7('0x26')==_0x116ad7['commandName']||_0xfef7('0x13')==_0x116ad7[_0xfef7('0x21')]||_0xfef7('0x11')==_0x116ad7[_0xfef7('0x21')])switch(_0x116ad7[_0xfef7('0x21')][_0xfef7('0x2f')]('List','')){case'bulleted':return _0xc4c67c(_0x316d72(_0x301a44,_0xfef7('0xa')));case'numbered':return _0xc4c67c(_0x316d72(_0x301a44,'ELEMENT_NUMBERED_LIST'));case'todo':return _0xc4c67c(_0x316d72(_0x301a44,_0xfef7('0xe')));}if(_0xfef7('0x23')==_0x116ad7[_0xfef7('0x21')])return{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x2e'),_0x316d72(_0x301a44,_0xfef7('0x29')))};if(_0xfef7('0x15')==_0x116ad7['commandName'])return{'type':'format','content':_0x316d72(_0x301a44,_0xfef7('0x18'),_0x316d72(_0x301a44,_0xfef7('0x29')))};if(_0xfef7('0x1')==_0x116ad7[_0xfef7('0x21')])return _0x116ad7['commandParams'][0x0][_0xfef7('0x30')]?{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x28'))}:{'type':'format','content':_0x316d72(_0x301a44,_0xfef7('0x1f'))};}function _0xc4c67c(_0x33539e){return{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x1d'),_0x33539e)};}});}}function ne(_0x3ea6cd){const _0x5c1ed7=_0x3ea6cd[_0xfef7('0x22')](_0xfef7('0x1c'));if(0x0==_0x5c1ed7)return _0x3ea6cd;let _0x2b7f4b=_0x3ea6cd;for(;_0x3ea6cd[_0xfef7('0xb')]&&_0x3ea6cd[_0xfef7('0xb')]['is'](_0xfef7('0x34'),_0xfef7('0x35'));){const _0x45b8c3=_0x3ea6cd[_0xfef7('0xb')][_0xfef7('0x22')](_0xfef7('0x1c'));if(_0x45b8c3==_0x5c1ed7)_0x2b7f4b=_0x3ea6cd[_0xfef7('0xb')];else{if(_0x45b8c3<_0x5c1ed7)break;}_0x3ea6cd=_0x3ea6cd[_0xfef7('0xb')];}return _0x2b7f4b;}function oe(_0x43b094){const _0x53db4e=[];if(_0x43b094['is']('element',_0xfef7('0x35'))&&_0x43b094['getAttribute'](_0xfef7('0x1c'))>0x0){let _0x2ab818=_0x43b094[_0xfef7('0x4')];for(;_0x2ab818&&_0xfef7('0x35')==_0x2ab818[_0xfef7('0x1e')]&&_0x2ab818[_0xfef7('0x22')](_0xfef7('0x1c'))==_0x43b094[_0xfef7('0x22')]('listIndent');)_0x53db4e[_0xfef7('0x12')](_0x2ab818),_0x2ab818=_0x2ab818[_0xfef7('0x4')];}return _0x53db4e;}