@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230828.0 → 0.0.0-nightly-20230829.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4306=['commandName','fontSize','TrackChangesEditing','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor','value','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20size*','title','_enableCommand','normalizeSizeOptions','*Set\x20font\x20family:*\x20%0','toLowerCase','model','has','find','plugins','fontColor','format','*Reset\x20font\x20family*','FontSize','registerDescriptionCallback','editor','*Set\x20font\x20color:*\x20%0','fontBackgroundColor.colors','*Reset\x20font\x20color*','enableCommand','markInlineFormat','config','fontColor.colors','selection','FontSizeEditing','isCollapsed','afterInit','FontColorEditing','get','from','_descriptionFactory','commandParams','label','trim','FontFamilyEditing'];(function(_0x2cf749,_0x43065f){const _0x6c186d=function(_0x37c998){while(--_0x37c998){_0x2cf749['push'](_0x2cf749['shift']());}};_0x6c186d(++_0x43065f);}(_0x4306,0x121));const _0x6c18=function(_0x2cf749,_0x43065f){_0x2cf749=_0x2cf749-0x0;let _0x6c186d=_0x4306[_0x2cf749];return _0x6c186d;};import{Plugin as _0x34d41a}from'ckeditor5/src/core';import{normalizeColorOptions as _0xc3b029}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1d7b1b}from'./utils';import{getTranslation as _0x5f1c38}from'../utils/common-translations';const Zt=[{'pluginName':_0x6c18('0x1'),'commandName':_0x6c18('0xd')},{'pluginName':_0x6c18('0xb'),'commandName':_0x6c18('0xf')},{'pluginName':_0x6c18('0x4'),'commandName':_0x6c18('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x6c18('0x11')}];export default class H extends _0x34d41a{[_0x6c18('0x3')](){const _0x8d23c1=this[_0x6c18('0x23')]['locale'];for(const {pluginName:_0x2d166b,commandName:_0x5759d0}of Zt)this[_0x6c18('0x23')][_0x6c18('0x1d')][_0x6c18('0x1b')](_0x2d166b)&&this[_0x6c18('0x16')](_0x5759d0);this['editor']['plugins'][_0x6c18('0x5')]('TrackChangesEditing')[_0x6c18('0x7')][_0x6c18('0x22')](_0x83f149=>{const _0x5b4e6b=_0x8d23c1['t'],{data:_0x4c6d1e}=_0x83f149;if(null!=_0x4c6d1e){if(_0x6c18('0xd')==_0x4c6d1e[_0x6c18('0xc')]){const _0x8821c3=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x8821c3){const _0x539b81=_0x5b4e6b(this['editor'][_0x6c18('0x1d')]['get'](_0x6c18('0x21'))[_0x6c18('0x17')](this['editor'][_0x6c18('0x29')][_0x6c18('0x5')]('fontSize.options'))[_0x6c18('0x1c')](_0x4ee0e0=>_0x4ee0e0[_0x6c18('0x1a')]==_0x8821c3)[_0x6c18('0x15')])[_0x6c18('0x19')]();return{'type':'format','content':_0x5f1c38(_0x8d23c1,'*Set\x20font\x20size:*\x20%0',_0x539b81)};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x14'))};}if(_0x6c18('0xf')==_0x4c6d1e[_0x6c18('0xc')]){const _0x2e2549=_0x4c6d1e['commandParams'][0x0]['value'];return _0x2e2549?{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x18'),_0x2e2549)}:{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x20'))};}if(_0x6c18('0x1e')==_0x4c6d1e['commandName']){const _0x30aea0=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x30aea0){const _0x468b5d=_0xc3b029(this[_0x6c18('0x23')][_0x6c18('0x29')][_0x6c18('0x5')](_0x6c18('0x2a')))[_0x6c18('0x1c')](_0x418bf6=>_0x418bf6['model']==_0x30aea0);let _0x563ac0=_0x30aea0,_0x4b5963='';return _0x468b5d&&(_0x563ac0=_0x468b5d['label'],_0x4b5963=_0x5b4e6b(_0x563ac0)['toLowerCase']()),{'type':'format','content':_0x5f1c38(_0x8d23c1,_0x6c18('0x24'),_0x4b5963)[_0x6c18('0xa')](),'color':{'value':_0x30aea0,'title':_0x4b5963||_0x563ac0}};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x26'))};}if(_0x6c18('0x11')==_0x4c6d1e[_0x6c18('0xc')]){const _0x2a5af3=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x2a5af3){const _0x1907b0=_0xc3b029(this[_0x6c18('0x23')][_0x6c18('0x29')][_0x6c18('0x5')](_0x6c18('0x25')))[_0x6c18('0x1c')](_0x15a107=>_0x15a107[_0x6c18('0x1a')]==_0x2a5af3);let _0x20efbf=_0x2a5af3,_0x1badb6='';return _0x1907b0&&(_0x20efbf=_0x1907b0[_0x6c18('0x9')],_0x1badb6=_0x5b4e6b(_0x20efbf)['toLowerCase']()),{'type':'format','content':_0x5f1c38(_0x8d23c1,_0x6c18('0x10'),_0x1badb6)[_0x6c18('0xa')](),'color':{'value':_0x2a5af3,'title':_0x1badb6||_0x20efbf}};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x13'))};}}});}[_0x6c18('0x16')](_0x268c1a){const _0x4fe57b=this[_0x6c18('0x23')];_0x4fe57b[_0x6c18('0x1d')][_0x6c18('0x5')](_0x6c18('0xe'))[_0x6c18('0x27')](_0x268c1a,(_0xef2635,_0x1b938f={})=>{const _0xfa45f5=_0x4fe57b[_0x6c18('0x1a')]['document'][_0x6c18('0x0')],_0x836cf=_0x1b938f[_0x6c18('0x12')];_0xfa45f5[_0x6c18('0x2')]?_0xef2635(_0x1b938f):_0x4fe57b[_0x6c18('0x1a')]['change'](()=>{const _0x10aacb=Array[_0x6c18('0x6')](_0xfa45f5['getRanges']());for(const _0x1e9abb of _0x10aacb){const _0x3afefc=_0x836cf?[_0x1e9abb]:_0x1d7b1b(_0x268c1a,_0x1e9abb,_0x4fe57b[_0x6c18('0x1a')]);for(const _0x52cfc9 of _0x3afefc)_0x4fe57b[_0x6c18('0x1d')][_0x6c18('0x5')](_0x6c18('0xe'))[_0x6c18('0x28')](_0x52cfc9,{'commandName':_0x268c1a,'commandParams':[{'value':_0x836cf}]});}});});}}
23
+ const _0xc0ce=['has','editor','get','commandName','title','fontSize.options','from','_enableCommand','fontBackgroundColor.colors','selection','format','trim','TrackChangesEditing','fontColor','normalizeSizeOptions','find','document','FontSize','label','fontBackgroundColor','markInlineFormat','commandParams','fontSize','*Reset\x20font\x20family*','FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','FontColorEditing','*Set\x20font\x20color:*\x20%0','config','registerDescriptionCallback','change','_descriptionFactory','toLowerCase','fontFamily','*Reset\x20font\x20color*','*Set\x20font\x20background\x20color:*\x20%0','isCollapsed','value','model','*Set\x20font\x20family:*\x20%0','plugins','enableCommand','fontColor.colors'];(function(_0x3a9e85,_0xc0ceca){const _0x2994b8=function(_0x467ae4){while(--_0x467ae4){_0x3a9e85['push'](_0x3a9e85['shift']());}};_0x2994b8(++_0xc0ceca);}(_0xc0ce,0x15a));const _0x2994=function(_0x3a9e85,_0xc0ceca){_0x3a9e85=_0x3a9e85-0x0;let _0x2994b8=_0xc0ce[_0x3a9e85];return _0x2994b8;};import{Plugin as _0x13e5ec}from'ckeditor5/src/core';import{normalizeColorOptions as _0xcb0313}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3179a2}from'./utils';import{getTranslation as _0x291769}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x2994('0x14')},{'pluginName':'FontFamilyEditing','commandName':_0x2994('0x1f')},{'pluginName':_0x2994('0x18'),'commandName':_0x2994('0xb')},{'pluginName':_0x2994('0x16'),'commandName':'fontBackgroundColor'}];export default class H extends _0x13e5ec{['afterInit'](){const _0x29e640=this[_0x2994('0x2a')]['locale'];for(const {pluginName:_0x44b28c,commandName:_0x3cfe7b}of Zt)this['editor'][_0x2994('0x26')][_0x2994('0x29')](_0x44b28c)&&this[_0x2994('0x5')](_0x3cfe7b);this[_0x2994('0x2a')]['plugins']['get'](_0x2994('0xa'))[_0x2994('0x1d')][_0x2994('0x1b')](_0x5352a0=>{const _0x49bdbe=_0x29e640['t'],{data:_0x38d1bc}=_0x5352a0;if(null!=_0x38d1bc){if(_0x2994('0x14')==_0x38d1bc[_0x2994('0x1')]){const _0x123842=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];if(_0x123842){const _0x3b59e5=_0x49bdbe(this[_0x2994('0x2a')][_0x2994('0x26')][_0x2994('0x0')](_0x2994('0xf'))[_0x2994('0xc')](this[_0x2994('0x2a')][_0x2994('0x1a')][_0x2994('0x0')](_0x2994('0x3')))[_0x2994('0xd')](_0x5bee7b=>_0x5bee7b['model']==_0x123842)[_0x2994('0x2')])[_0x2994('0x1e')]();return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,'*Set\x20font\x20size:*\x20%0',_0x3b59e5)};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,'*Reset\x20font\x20size*')};}if(_0x2994('0x1f')==_0x38d1bc[_0x2994('0x1')]){const _0x4dca91=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];return _0x4dca91?{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x25'),_0x4dca91)}:{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x15'))};}if(_0x2994('0xb')==_0x38d1bc[_0x2994('0x1')]){const _0x58572c=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];if(_0x58572c){const _0x2aaac6=_0xcb0313(this[_0x2994('0x2a')][_0x2994('0x1a')][_0x2994('0x0')](_0x2994('0x28')))[_0x2994('0xd')](_0x55c897=>_0x55c897[_0x2994('0x24')]==_0x58572c);let _0x567feb=_0x58572c,_0x1fd993='';return _0x2aaac6&&(_0x567feb=_0x2aaac6[_0x2994('0x10')],_0x1fd993=_0x49bdbe(_0x567feb)[_0x2994('0x1e')]()),{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x19'),_0x1fd993)[_0x2994('0x9')](),'color':{'value':_0x58572c,'title':_0x1fd993||_0x567feb}};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x20'))};}if(_0x2994('0x11')==_0x38d1bc[_0x2994('0x1')]){const _0x29d913=_0x38d1bc[_0x2994('0x13')][0x0]['value'];if(_0x29d913){const _0xb54124=_0xcb0313(this[_0x2994('0x2a')][_0x2994('0x1a')]['get'](_0x2994('0x6')))['find'](_0x13334c=>_0x13334c['model']==_0x29d913);let _0x4126d4=_0x29d913,_0x29ce3d='';return _0xb54124&&(_0x4126d4=_0xb54124['label'],_0x29ce3d=_0x49bdbe(_0x4126d4)[_0x2994('0x1e')]()),{'type':'format','content':_0x291769(_0x29e640,_0x2994('0x21'),_0x29ce3d)['trim'](),'color':{'value':_0x29d913,'title':_0x29ce3d||_0x4126d4}};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x17'))};}}});}[_0x2994('0x5')](_0xc0d958){const _0x24f675=this[_0x2994('0x2a')];_0x24f675['plugins'][_0x2994('0x0')](_0x2994('0xa'))[_0x2994('0x27')](_0xc0d958,(_0x943fad,_0x25cb46={})=>{const _0x5019c0=_0x24f675['model'][_0x2994('0xe')][_0x2994('0x7')],_0x503dfc=_0x25cb46[_0x2994('0x23')];_0x5019c0[_0x2994('0x22')]?_0x943fad(_0x25cb46):_0x24f675['model'][_0x2994('0x1c')](()=>{const _0x345161=Array[_0x2994('0x4')](_0x5019c0['getRanges']());for(const _0x443b58 of _0x345161){const _0x15ed11=_0x503dfc?[_0x443b58]:_0x3179a2(_0xc0d958,_0x443b58,_0x24f675[_0x2994('0x24')]);for(const _0x5857ba of _0x15ed11)_0x24f675['plugins'][_0x2994('0x0')](_0x2994('0xa'))[_0x2994('0x12')](_0x5857ba,{'commandName':_0xc0d958,'commandParams':[{'value':_0x503dfc}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47ea=['isFormatting','push','model','format','title','config','get','editor','getAttributes','split','getAttributeProperties','commands','entries','modifySelection','getRanges','getLastPosition','toLowerCase','normalizeSizeOptions','boolean','getFirstPosition','word','getItems','*Remove\x20all\x20formatting*','pasteFormat','find','FontSize','copyFormat','fontColor','*Set\x20format\x20to:*\x20%0','markInlineFormat','fontBackgroundColor','join','schema','getSelectedBlocks','backward','plugins','length','_descriptionFactory','charAt','fontColor.colors','from','isBlock','enableCommand','locale','createRange','TrackChangesEditing','change','selection','slice','commandName','label','afterInit','fontSize.options','commandParams'];(function(_0x51f45f,_0x47ea5b){const _0x5e269d=function(_0xdc9d7f){while(--_0xdc9d7f){_0x51f45f['push'](_0x51f45f['shift']());}};_0x5e269d(++_0x47ea5b);}(_0x47ea,0x1bc));const _0x5e26=function(_0x51f45f,_0x47ea5b){_0x51f45f=_0x51f45f-0x0;let _0x5e269d=_0x47ea[_0x51f45f];return _0x5e269d;};import{Plugin as _0x4978e8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1f1f7c}from'ckeditor5/src/ui';import{first as _0x276ff5}from'ckeditor5/src/utils';import{getTranslation as _0x101df7}from'../utils/common-translations';export default class W extends _0x4978e8{[_0x5e26('0x27')](){const _0x1bce6d=this[_0x5e26('0x31')],_0x4ef57f=_0x1bce6d[_0x5e26('0x2c')],_0x7d7688=_0x4ef57f['document'][_0x5e26('0x23')],_0x56e71c=_0x1bce6d[_0x5e26('0x17')][_0x5e26('0x30')](_0x5e26('0x21')),_0x180ef6=_0x1bce6d[_0x5e26('0x1f')],_0x5b85ef=_0x1bce6d[_0x5e26('0x35')][_0x5e26('0x30')](_0x5e26('0xe')),_0x163b2b=_0x1bce6d[_0x5e26('0x35')][_0x5e26('0x30')]('pasteFormat');_0x5b85ef&&_0x163b2b&&(_0x56e71c['enableCommand'](_0x5e26('0xb'),(_0x3976b8,_0xd8daa3={})=>{const _0x28622a=_0xd8daa3;_0x4ef57f[_0x5e26('0x22')](()=>{const _0x478c57=Array[_0x5e26('0x1c')](_0x7d7688[_0x5e26('0x2')]()),_0x4a061=_0x7d7688['isCollapsed']?[ro(_0x4ef57f,_0x7d7688)]:_0x478c57,_0x5625cf=!!_0x276ff5(function*(_0x5d6897,_0xea82cb){const _0x3701fe=_0x5a281c=>!!_0x276ff5(function*(_0x4ed8d8,_0x5ab120){for(const [_0x1f7b72]of _0x4ed8d8[_0x5e26('0x32')]()){const _0x55cde2=_0x5ab120[_0x5e26('0x34')](_0x1f7b72);_0x55cde2&&_0x55cde2[_0x5e26('0x2a')]&&(yield _0x1f7b72);}}(_0x5a281c,_0xea82cb));for(const _0x11108d of _0x5d6897[_0x5e26('0x2')]())for(const _0x115c10 of _0x11108d[_0x5e26('0x9')]())!_0xea82cb[_0x5e26('0x1d')](_0x115c10)&&_0x3701fe(_0x115c10)&&(yield _0x115c10);for(const _0x57ff76 of _0x5d6897[_0x5e26('0x15')]())_0x3701fe(_0x57ff76)&&(yield _0x57ff76);_0x3701fe(_0x5d6897)&&(yield _0x5d6897);}(_0x7d7688,_0x4ef57f[_0x5e26('0x14')]));if(_0x5625cf||0x0!==Object['keys'](_0x28622a)[_0x5e26('0x18')])for(const _0x212554 of _0x4a061)_0x56e71c[_0x5e26('0x11')](_0x212554,{'commandName':_0x5e26('0xb'),'commandParams':[_0x28622a]});});}),_0x56e71c[_0x5e26('0x19')]['registerDescriptionCallback'](_0x3efd38=>{const {data:_0x46958e}=_0x3efd38;if(_0x46958e&&'pasteFormat'===_0x46958e[_0x5e26('0x25')]){const _0x5b53ae=[],_0x28f933=_0x46958e[_0x5e26('0x29')][0x0];for(const [_0x48e779,_0x53dfaa]of Object[_0x5e26('0x0')](_0x28f933))_0x5b53ae[_0x5e26('0x2b')](no(_0x1bce6d,_0x48e779,_0x53dfaa));return _0x5b53ae['length']?{'type':_0x5e26('0x2d'),'content':_0x101df7(_0x180ef6,_0x5e26('0x10'),_0x5b53ae[_0x5e26('0x13')](',\x20'))}:{'type':_0x5e26('0x2d'),'content':_0x101df7(_0x180ef6,_0x5e26('0xa'))};}}),_0x1bce6d[_0x5e26('0x17')][_0x5e26('0x30')](_0x5e26('0x21'))[_0x5e26('0x1e')](_0x5e26('0xe')));}}function ro(_0x33a784,_0x141107){const _0x48a06=_0x33a784['createSelection'](_0x141107);_0x33a784[_0x5e26('0x1')](_0x48a06,{'unit':_0x5e26('0x8'),'direction':_0x5e26('0x16')});const _0x291ea3=_0x48a06[_0x5e26('0x7')]();_0x33a784[_0x5e26('0x1')](_0x48a06,{'unit':_0x5e26('0x8'),'direction':'forward'});const _0x4b9e76=_0x48a06[_0x5e26('0x3')]();return _0x33a784[_0x5e26('0x20')](_0x291ea3,_0x4b9e76);}function no(_0x144058,_0x1a3b71,_0x12e2d6){const _0x58fae4=_0x144058['locale']['t'],_0x8705f6=_0x1a3b71[_0x5e26('0x33')](/(?=[A-Z])/)[_0x5e26('0x13')]('\x20'),_0x1b1d7f=_0x58fae4(_0x8705f6[_0x5e26('0x1a')](0x0)['toUpperCase']()+_0x8705f6[_0x5e26('0x24')](0x1))[_0x5e26('0x4')]();if(_0x5e26('0x6')==typeof _0x12e2d6)return _0x1b1d7f;if(_0x5e26('0xf')===_0x1a3b71||_0x5e26('0x12')===_0x1a3b71){const _0x287dcf=_0x1f1f7c(_0x144058[_0x5e26('0x2f')][_0x5e26('0x30')](_0x5e26('0x1b')))[_0x5e26('0xc')](_0x489004=>_0x489004[_0x5e26('0x2c')]==_0x12e2d6);return _0x1b1d7f+'\x20('+(_0x287dcf?_0x58fae4(_0x287dcf[_0x5e26('0x26')])[_0x5e26('0x4')]():_0x12e2d6)+')';}if('fontSize'===_0x1a3b71&&isNaN(parseFloat(_0x12e2d6))){const _0x5d4fd8=_0x144058[_0x5e26('0x17')]['get'](_0x5e26('0xd'))[_0x5e26('0x5')](_0x144058[_0x5e26('0x2f')][_0x5e26('0x30')](_0x5e26('0x28')))['find'](_0x4b43c6=>_0x4b43c6[_0x5e26('0x2c')]==_0x12e2d6);return _0x1b1d7f+'\x20('+(_0x5d4fd8?_0x58fae4(_0x5d4fd8[_0x5e26('0x2e')])[_0x5e26('0x4')]():_0x12e2d6)+')';}return _0x1b1d7f+'\x20('+_0x12e2d6+')';}
23
+ const _0x4a91=['charAt','modifySelection','backward','registerDescriptionCallback','copyFormat','join','config','getRanges','boolean','change','*Remove\x20all\x20formatting*','isFormatting','entries','push','*Set\x20format\x20to:*\x20%0','getItems','TrackChangesEditing','pasteFormat','fontColor.colors','split','slice','_descriptionFactory','editor','forward','format','commandParams','title','schema','locale','selection','fontSize','commandName','getSelectedBlocks','find','enableCommand','isBlock','toLowerCase','getFirstPosition','word','fontSize.options','get','label','normalizeSizeOptions','isCollapsed','length','model','fontBackgroundColor','commands','markInlineFormat','plugins'];(function(_0x40db57,_0x4a91a7){const _0x3ee9f7=function(_0x2fb78a){while(--_0x2fb78a){_0x40db57['push'](_0x40db57['shift']());}};_0x3ee9f7(++_0x4a91a7);}(_0x4a91,0x174));const _0x3ee9=function(_0x40db57,_0x4a91a7){_0x40db57=_0x40db57-0x0;let _0x3ee9f7=_0x4a91[_0x40db57];return _0x3ee9f7;};import{Plugin as _0x11d724}from'ckeditor5/src/core';import{normalizeColorOptions as _0x402836}from'ckeditor5/src/ui';import{first as _0x588569}from'ckeditor5/src/utils';import{getTranslation as _0x18724d}from'../utils/common-translations';export default class W extends _0x11d724{['afterInit'](){const _0xf115a0=this[_0x3ee9('0x0')],_0x377087=_0xf115a0[_0x3ee9('0x17')],_0xd24755=_0x377087['document'][_0x3ee9('0x7')],_0x420926=_0xf115a0[_0x3ee9('0x1b')]['get']('TrackChangesEditing'),_0x3314d7=_0xf115a0[_0x3ee9('0x6')],_0x43b704=_0xf115a0[_0x3ee9('0x19')][_0x3ee9('0x12')](_0x3ee9('0x20')),_0x4d3370=_0xf115a0[_0x3ee9('0x19')][_0x3ee9('0x12')](_0x3ee9('0x2d'));_0x43b704&&_0x4d3370&&(_0x420926[_0x3ee9('0xc')](_0x3ee9('0x2d'),(_0x54b1cc,_0xac4b07={})=>{const _0x43ca59=_0xac4b07;_0x377087[_0x3ee9('0x25')](()=>{const _0xfd52ad=Array['from'](_0xd24755['getRanges']()),_0x10e71c=_0xd24755[_0x3ee9('0x15')]?[ro(_0x377087,_0xd24755)]:_0xfd52ad,_0x2f2aeb=!!_0x588569(function*(_0x1772e5,_0x2a7af2){const _0x514efb=_0x3eeb4f=>!!_0x588569(function*(_0x4a53d1,_0x58441c){for(const [_0x4fcbfa]of _0x4a53d1['getAttributes']()){const _0x132138=_0x58441c['getAttributeProperties'](_0x4fcbfa);_0x132138&&_0x132138[_0x3ee9('0x27')]&&(yield _0x4fcbfa);}}(_0x3eeb4f,_0x2a7af2));for(const _0x28aba8 of _0x1772e5[_0x3ee9('0x23')]())for(const _0x35a66f of _0x28aba8[_0x3ee9('0x2b')]())!_0x2a7af2[_0x3ee9('0xd')](_0x35a66f)&&_0x514efb(_0x35a66f)&&(yield _0x35a66f);for(const _0x1647a5 of _0x1772e5[_0x3ee9('0xa')]())_0x514efb(_0x1647a5)&&(yield _0x1647a5);_0x514efb(_0x1772e5)&&(yield _0x1772e5);}(_0xd24755,_0x377087[_0x3ee9('0x5')]));if(_0x2f2aeb||0x0!==Object['keys'](_0x43ca59)['length'])for(const _0x3cf4b0 of _0x10e71c)_0x420926[_0x3ee9('0x1a')](_0x3cf4b0,{'commandName':_0x3ee9('0x2d'),'commandParams':[_0x43ca59]});});}),_0x420926[_0x3ee9('0x31')][_0x3ee9('0x1f')](_0x3f9cde=>{const {data:_0x64e99e}=_0x3f9cde;if(_0x64e99e&&'pasteFormat'===_0x64e99e[_0x3ee9('0x9')]){const _0x4aa627=[],_0x148764=_0x64e99e[_0x3ee9('0x3')][0x0];for(const [_0x58d95a,_0x1c3a7d]of Object[_0x3ee9('0x28')](_0x148764))_0x4aa627[_0x3ee9('0x29')](no(_0xf115a0,_0x58d95a,_0x1c3a7d));return _0x4aa627[_0x3ee9('0x16')]?{'type':_0x3ee9('0x2'),'content':_0x18724d(_0x3314d7,_0x3ee9('0x2a'),_0x4aa627[_0x3ee9('0x21')](',\x20'))}:{'type':'format','content':_0x18724d(_0x3314d7,_0x3ee9('0x26'))};}}),_0xf115a0[_0x3ee9('0x1b')][_0x3ee9('0x12')](_0x3ee9('0x2c'))[_0x3ee9('0xc')]('copyFormat'));}}function ro(_0x1f908e,_0x2e80e3){const _0x27900e=_0x1f908e['createSelection'](_0x2e80e3);_0x1f908e[_0x3ee9('0x1d')](_0x27900e,{'unit':_0x3ee9('0x10'),'direction':_0x3ee9('0x1e')});const _0x2ee95c=_0x27900e[_0x3ee9('0xf')]();_0x1f908e['modifySelection'](_0x27900e,{'unit':_0x3ee9('0x10'),'direction':_0x3ee9('0x1')});const _0x3bec4c=_0x27900e['getLastPosition']();return _0x1f908e['createRange'](_0x2ee95c,_0x3bec4c);}function no(_0x257ac3,_0x580674,_0xd7ea4a){const _0x10c356=_0x257ac3[_0x3ee9('0x6')]['t'],_0x539a5a=_0x580674[_0x3ee9('0x2f')](/(?=[A-Z])/)[_0x3ee9('0x21')]('\x20'),_0xa06ce6=_0x10c356(_0x539a5a[_0x3ee9('0x1c')](0x0)['toUpperCase']()+_0x539a5a[_0x3ee9('0x30')](0x1))[_0x3ee9('0xe')]();if(_0x3ee9('0x24')==typeof _0xd7ea4a)return _0xa06ce6;if('fontColor'===_0x580674||_0x3ee9('0x18')===_0x580674){const _0x1c1ab9=_0x402836(_0x257ac3['config']['get'](_0x3ee9('0x2e')))[_0x3ee9('0xb')](_0x2a5a2f=>_0x2a5a2f[_0x3ee9('0x17')]==_0xd7ea4a);return _0xa06ce6+'\x20('+(_0x1c1ab9?_0x10c356(_0x1c1ab9[_0x3ee9('0x13')])[_0x3ee9('0xe')]():_0xd7ea4a)+')';}if(_0x3ee9('0x8')===_0x580674&&isNaN(parseFloat(_0xd7ea4a))){const _0x52619b=_0x257ac3[_0x3ee9('0x1b')][_0x3ee9('0x12')]('FontSize')[_0x3ee9('0x14')](_0x257ac3[_0x3ee9('0x22')]['get'](_0x3ee9('0x11')))[_0x3ee9('0xb')](_0x54033b=>_0x54033b['model']==_0xd7ea4a);return _0xa06ce6+'\x20('+(_0x52619b?_0x10c356(_0x52619b[_0x3ee9('0x4')])['toLowerCase']():_0xd7ea4a)+')';}return _0xa06ce6+'\x20('+_0xd7ea4a+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11df=['markBlockFormat','from','title','format','locale','document','schema','*Change\x20to:*\x20%0','editor','HeadingEditing','commandParams','has','ELEMENT_HEADING_CUSTOM','find','enableCommand','model','formatBlock','get','parent','isObject','ELEMENT_HEADING','match','_descriptionFactory','value','name','registerDescriptionCallback','checkChild','TrackChangesEditing','filter','plugins','heading','getSelectedBlocks'];(function(_0x3489c0,_0x11df26){const _0x311193=function(_0x8e4031){while(--_0x8e4031){_0x3489c0['push'](_0x3489c0['shift']());}};_0x311193(++_0x11df26);}(_0x11df,0x140));const _0x3111=function(_0x3489c0,_0x11df26){_0x3489c0=_0x3489c0-0x0;let _0x311193=_0x11df[_0x3489c0];return _0x311193;};import{Plugin as _0x14e8bc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x22fe3f}from'./utils';import{getTranslation as _0x44a96d}from'../utils/common-translations';export default class J extends _0x14e8bc{['afterInit'](){const _0xfacbe4=this[_0x3111('0x8')],_0xbc27d=_0xfacbe4[_0x3111('0x4')],_0x1068f1=_0xfacbe4['config']['get']('heading.options');if(!_0xfacbe4[_0x3111('0x1d')][_0x3111('0xb')](_0x3111('0x9')))return;const _0x64be46=_0xfacbe4[_0x3111('0x1d')][_0x3111('0x11')](_0x3111('0x1b'));_0x64be46[_0x3111('0xe')](_0x3111('0x1e'),(_0x40a623,_0x544b70)=>{const _0x41e5bf=_0x544b70[_0x3111('0x17')],_0x5da1c7=Array[_0x3111('0x1')](this['editor'][_0x3111('0xf')][_0x3111('0x5')]['selection'][_0x3111('0x1f')]())[_0x3111('0x1c')](_0xd8db22=>function(_0x4382e2,_0x4cffc9,_0x469eff){return _0x469eff[_0x3111('0x1a')](_0x4382e2[_0x3111('0x12')],_0x4cffc9)&&!_0x469eff[_0x3111('0x13')](_0x4382e2)&&_0x4382e2[_0x3111('0x18')]!=_0x4cffc9;}(_0xd8db22,_0x41e5bf,this[_0x3111('0x8')]['model'][_0x3111('0x6')]));_0xfacbe4[_0x3111('0xf')]['change'](()=>{for(const _0xf5b448 of _0x5da1c7)_0x64be46[_0x3111('0x0')](_0xf5b448,{'commandName':_0x3111('0x1e'),'commandParams':[_0x544b70],'formatGroupId':'blockName'},_0x22fe3f(_0xf5b448));});});for(const _0x4fc7c7 of _0x1068f1)'paragraph'!=_0x4fc7c7[_0x3111('0xf')]&&_0x64be46[_0x3111('0x16')]['registerElementLabel'](_0x4fc7c7['model'],_0x2f50d0=>{const _0x53d5f9=nn(_0x4fc7c7['model']);return null!==_0x53d5f9?_0x4a4449(_0x2f50d0,_0x53d5f9):_0x126645(_0x2f50d0,_0x4fc7c7[_0x3111('0x2')]);});function _0x4a4449(_0x46e62f,_0x228584){return _0x44a96d(_0xbc27d,_0x3111('0x14'),[_0x46e62f,_0x228584]);}function _0x126645(_0x448fbc,_0x6834cb){return _0x44a96d(_0xbc27d,_0x3111('0xc'),[_0x448fbc,_0x6834cb]);}_0x64be46[_0x3111('0x16')][_0x3111('0x19')](_0x59ca01=>{const {type:_0x247c52,data:_0x4b9d3b}=_0x59ca01;if(_0x3111('0x10')==_0x247c52&&_0x4b9d3b&&_0x3111('0x1e')==_0x4b9d3b['commandName']){const _0x5e1885=_0x4b9d3b[_0x3111('0xa')][0x0][_0x3111('0x17')],_0x2f51b1=nn(_0x5e1885);if(null!==_0x2f51b1)return{'type':'format','content':_0x44a96d(_0xbc27d,_0x3111('0x7'),_0x4a4449(0x1,_0x2f51b1))};const _0x16eed5=_0x1068f1[_0x3111('0xd')](_0x2e0a51=>_0x2e0a51[_0x3111('0xf')]===_0x5e1885)['title'];return{'type':_0x3111('0x3'),'content':_0x44a96d(_0xbc27d,_0x3111('0x7'),_0x126645(0x1,_0x16eed5))};}});}}function nn(_0x1c35d3){const _0x1c840c=_0x1c35d3[_0x3111('0x15')](/^heading(\d+)$/);return _0x1c840c?_0x1c840c[0x1]:null;}
23
+ const _0x1df2=['formatBlock','match','model','TrackChangesEditing','*Change\x20to:*\x20%0','enableCommand','editor','get','schema','_descriptionFactory','ELEMENT_HEADING_CUSTOM','ELEMENT_HEADING','commandName','config','title','afterInit','format','name','heading.options','HeadingEditing','has','plugins','registerDescriptionCallback','isObject','find','from','heading','commandParams','change','blockName','document','value'];(function(_0x1640ea,_0x1df2eb){const _0x30f186=function(_0x5263da){while(--_0x5263da){_0x1640ea['push'](_0x1640ea['shift']());}};_0x30f186(++_0x1df2eb);}(_0x1df2,0x69));const _0x30f1=function(_0x1640ea,_0x1df2eb){_0x1640ea=_0x1640ea-0x0;let _0x30f186=_0x1df2[_0x1640ea];return _0x30f186;};import{Plugin as _0x57aa6b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5eaed7}from'./utils';import{getTranslation as _0x35e3ea}from'../utils/common-translations';export default class J extends _0x57aa6b{[_0x30f1('0x6')](){const _0x1bc372=this[_0x30f1('0x1d')],_0x5e96c7=_0x1bc372['locale'],_0x36b75e=_0x1bc372[_0x30f1('0x4')][_0x30f1('0x1e')](_0x30f1('0x9'));if(!_0x1bc372[_0x30f1('0xc')][_0x30f1('0xb')](_0x30f1('0xa')))return;const _0x59bc45=_0x1bc372['plugins'][_0x30f1('0x1e')](_0x30f1('0x1a'));_0x59bc45[_0x30f1('0x1c')](_0x30f1('0x11'),(_0x568da3,_0x5e7f68)=>{const _0x586658=_0x5e7f68[_0x30f1('0x16')],_0x4d5715=Array[_0x30f1('0x10')](this[_0x30f1('0x1d')][_0x30f1('0x19')][_0x30f1('0x15')]['selection']['getSelectedBlocks']())['filter'](_0x33be75=>function(_0x49de96,_0x21f231,_0x196953){return _0x196953['checkChild'](_0x49de96['parent'],_0x21f231)&&!_0x196953[_0x30f1('0xe')](_0x49de96)&&_0x49de96[_0x30f1('0x8')]!=_0x21f231;}(_0x33be75,_0x586658,this[_0x30f1('0x1d')]['model'][_0x30f1('0x1f')]));_0x1bc372[_0x30f1('0x19')][_0x30f1('0x13')](()=>{for(const _0x1eb8a2 of _0x4d5715)_0x59bc45['markBlockFormat'](_0x1eb8a2,{'commandName':'heading','commandParams':[_0x5e7f68],'formatGroupId':_0x30f1('0x14')},_0x5eaed7(_0x1eb8a2));});});for(const _0x2459fe of _0x36b75e)'paragraph'!=_0x2459fe[_0x30f1('0x19')]&&_0x59bc45[_0x30f1('0x0')]['registerElementLabel'](_0x2459fe['model'],_0x32ac91=>{const _0x7e708=nn(_0x2459fe[_0x30f1('0x19')]);return null!==_0x7e708?_0xfa13e1(_0x32ac91,_0x7e708):_0x32ca18(_0x32ac91,_0x2459fe[_0x30f1('0x5')]);});function _0xfa13e1(_0x3ecb37,_0x27bb20){return _0x35e3ea(_0x5e96c7,_0x30f1('0x2'),[_0x3ecb37,_0x27bb20]);}function _0x32ca18(_0x3a13a1,_0x5df72c){return _0x35e3ea(_0x5e96c7,_0x30f1('0x1'),[_0x3a13a1,_0x5df72c]);}_0x59bc45['_descriptionFactory'][_0x30f1('0xd')](_0x3a1792=>{const {type:_0x2f95b5,data:_0x331b37}=_0x3a1792;if(_0x30f1('0x17')==_0x2f95b5&&_0x331b37&&_0x30f1('0x11')==_0x331b37[_0x30f1('0x3')]){const _0x12628a=_0x331b37[_0x30f1('0x12')][0x0][_0x30f1('0x16')],_0x16e3ec=nn(_0x12628a);if(null!==_0x16e3ec)return{'type':_0x30f1('0x7'),'content':_0x35e3ea(_0x5e96c7,_0x30f1('0x1b'),_0xfa13e1(0x1,_0x16e3ec))};const _0x59b82d=_0x36b75e[_0x30f1('0xf')](_0x2726a9=>_0x2726a9[_0x30f1('0x19')]===_0x12628a)[_0x30f1('0x5')];return{'type':_0x30f1('0x7'),'content':_0x35e3ea(_0x5e96c7,_0x30f1('0x1b'),_0x32ca18(0x1,_0x59b82d))};}});}}function nn(_0x382d39){const _0x4096d8=_0x382d39[_0x30f1('0x18')](/^heading(\d+)$/);return _0x4096d8?_0x4096d8[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c86=['commandName','find','model','value','markInlineFormat','plugins','registerDescriptionCallback','getLastMatchingPosition','selection','commandParams','hasAttribute','highlight.options','backward','*Remove\x20highlight*','formatInline','FORMAT_HIGHLIGHT','isCollapsed','change','createRange','push','getAttribute','locale','TrackChangesEditing','HighlightEditing','has','document','title','highlight','item','_descriptionFactory','format','editor','toLowerCase','getFirstPosition'];(function(_0x584772,_0x2c8609){const _0x53c046=function(_0x1fc24e){while(--_0x1fc24e){_0x584772['push'](_0x584772['shift']());}};_0x53c046(++_0x2c8609);}(_0x2c86,0x1d7));const _0x53c0=function(_0x584772,_0x2c8609){_0x584772=_0x584772-0x0;let _0x53c046=_0x2c86[_0x584772];return _0x53c046;};import{Plugin as _0x3a0cf9}from'ckeditor5/src/core';import{getTranslation as _0x2a2652}from'../utils/common-translations';import{getRangesWithAttribute as _0x5e75af}from'./utils';export default class K extends _0x3a0cf9{['afterInit'](){const _0x302ceb=this[_0x53c0('0x2')];if(!_0x302ceb[_0x53c0('0xa')][_0x53c0('0x1d')](_0x53c0('0x1c')))return;const _0x274b76=_0x302ceb[_0x53c0('0xa')]['get'](_0x53c0('0x1b'));_0x274b76['enableCommand'](_0x53c0('0x20'),(_0x1a06ec,_0x34f337={})=>{const _0xab304f=_0x302ceb[_0x53c0('0x7')][_0x53c0('0x1e')][_0x53c0('0xd')],_0x3fc149=_0xab304f['getAttribute'](_0x53c0('0x20'));let _0x56315d=_0x34f337[_0x53c0('0x8')],_0x27560d=[];if(_0xab304f[_0x53c0('0x15')]){const _0xff1951=_0xab304f[_0x53c0('0x4')]();if(!_0xab304f[_0x53c0('0xf')]('highlight'))return void _0x1a06ec(_0x34f337);{const _0x282d1c=_0x3e0f59=>_0x3e0f59[_0x53c0('0x21')][_0x53c0('0x19')](_0x53c0('0x20'))===_0x3fc149,_0x1b1235=_0xff1951['getLastMatchingPosition'](_0x282d1c,{'direction':_0x53c0('0x11')}),_0x1eda52=_0xff1951[_0x53c0('0xc')](_0x282d1c);_0x27560d=[_0x302ceb[_0x53c0('0x7')][_0x53c0('0x17')](_0x1b1235,_0x1eda52)],_0x56315d==_0x3fc149&&(_0x56315d=null);}}else for(const _0x531c79 of _0xab304f['getRanges']())_0x56315d?_0x27560d[_0x53c0('0x18')](_0x531c79):_0x27560d[_0x53c0('0x18')](..._0x5e75af(_0x53c0('0x20'),_0x531c79,_0x302ceb[_0x53c0('0x7')]));_0x302ceb[_0x53c0('0x7')][_0x53c0('0x16')](()=>{for(const _0x4d406f of _0x27560d)_0x274b76[_0x53c0('0x9')](_0x4d406f,{'commandName':'highlight','commandParams':[{'value':_0x56315d}]});});});const _0x2c34db=_0x302ceb[_0x53c0('0x1a')];_0x274b76[_0x53c0('0x0')][_0x53c0('0xb')](_0x1f2237=>{const {type:_0xf81349,data:_0x3e1d39}=_0x1f2237;if(_0x53c0('0x13')==_0xf81349&&_0x3e1d39&&'highlight'==_0x3e1d39[_0x53c0('0x5')]){const _0x403ae0=_0x2c34db['t'],_0x9dce32=_0x3e1d39[_0x53c0('0xe')][0x0][_0x53c0('0x8')];if(_0x9dce32){const _0x14844c=_0x302ceb['config']['get'](_0x53c0('0x10'))[_0x53c0('0x6')](_0x4ff400=>_0x4ff400[_0x53c0('0x7')]==_0x9dce32),_0x8b19f5=_0x403ae0(_0x14844c[_0x53c0('0x1f')])[_0x53c0('0x3')]();return{'type':_0x53c0('0x1'),'content':_0x2a2652(_0x2c34db,'*Set\x20highlight:*\x20%0',_0x8b19f5),'color':{'value':_0x14844c['color'],'title':_0x14844c[_0x53c0('0x1f')]}};}return{'type':_0x53c0('0x1'),'content':_0x2a2652(_0x2c34db,_0x53c0('0x12'),_0x2a2652(_0x2c34db,_0x53c0('0x14')))};}});}}
23
+ const _0x1be8=['color','editor','*Remove\x20highlight*','hasAttribute','selection','FORMAT_HIGHLIGHT','enableCommand','find','getRanges','_descriptionFactory','isCollapsed','commandParams','plugins','title','get','createRange','value','format','push','locale','TrackChangesEditing','highlight','highlight.options','item','markInlineFormat','model','change','afterInit'];(function(_0x357504,_0x1be87d){const _0x57be8d=function(_0x441106){while(--_0x441106){_0x357504['push'](_0x357504['shift']());}};_0x57be8d(++_0x1be87d);}(_0x1be8,0x144));const _0x57be=function(_0x357504,_0x1be87d){_0x357504=_0x357504-0x0;let _0x57be8d=_0x1be8[_0x357504];return _0x57be8d;};import{Plugin as _0x32ff21}from'ckeditor5/src/core';import{getTranslation as _0x58e030}from'../utils/common-translations';import{getRangesWithAttribute as _0x5e398c}from'./utils';export default class K extends _0x32ff21{[_0x57be('0xb')](){const _0x3dd793=this[_0x57be('0xd')];if(!_0x3dd793['plugins']['has']('HighlightEditing'))return;const _0x1771d2=_0x3dd793[_0x57be('0x18')]['get'](_0x57be('0x4'));_0x1771d2[_0x57be('0x12')](_0x57be('0x5'),(_0x450e07,_0x7f27b3={})=>{const _0x3c9855=_0x3dd793['model']['document'][_0x57be('0x10')],_0x4bd0da=_0x3c9855['getAttribute'](_0x57be('0x5'));let _0x5aedb2=_0x7f27b3['value'],_0x1ff003=[];if(_0x3c9855[_0x57be('0x16')]){const _0x4fe634=_0x3c9855['getFirstPosition']();if(!_0x3c9855[_0x57be('0xf')](_0x57be('0x5')))return void _0x450e07(_0x7f27b3);{const _0x1295a3=_0x208b43=>_0x208b43[_0x57be('0x7')]['getAttribute'](_0x57be('0x5'))===_0x4bd0da,_0x5b47dd=_0x4fe634['getLastMatchingPosition'](_0x1295a3,{'direction':'backward'}),_0x37e49f=_0x4fe634['getLastMatchingPosition'](_0x1295a3);_0x1ff003=[_0x3dd793['model'][_0x57be('0x1b')](_0x5b47dd,_0x37e49f)],_0x5aedb2==_0x4bd0da&&(_0x5aedb2=null);}}else for(const _0x410c1f of _0x3c9855[_0x57be('0x14')]())_0x5aedb2?_0x1ff003['push'](_0x410c1f):_0x1ff003[_0x57be('0x2')](..._0x5e398c(_0x57be('0x5'),_0x410c1f,_0x3dd793[_0x57be('0x9')]));_0x3dd793['model'][_0x57be('0xa')](()=>{for(const _0x59bc85 of _0x1ff003)_0x1771d2[_0x57be('0x8')](_0x59bc85,{'commandName':_0x57be('0x5'),'commandParams':[{'value':_0x5aedb2}]});});});const _0x39e7b7=_0x3dd793[_0x57be('0x3')];_0x1771d2[_0x57be('0x15')]['registerDescriptionCallback'](_0xacad88=>{const {type:_0xf927a6,data:_0x145b54}=_0xacad88;if('formatInline'==_0xf927a6&&_0x145b54&&'highlight'==_0x145b54['commandName']){const _0x1f772f=_0x39e7b7['t'],_0x53cff9=_0x145b54[_0x57be('0x17')][0x0][_0x57be('0x0')];if(_0x53cff9){const _0x1a007e=_0x3dd793['config'][_0x57be('0x1a')](_0x57be('0x6'))[_0x57be('0x13')](_0x51fb29=>_0x51fb29[_0x57be('0x9')]==_0x53cff9),_0x4a4a28=_0x1f772f(_0x1a007e[_0x57be('0x19')])['toLowerCase']();return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,'*Set\x20highlight:*\x20%0',_0x4a4a28),'color':{'value':_0x1a007e[_0x57be('0xc')],'title':_0x1a007e[_0x57be('0x19')]}};}return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,_0x57be('0xe'),_0x58e030(_0x39e7b7,_0x57be('0x11')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5099=['editor','ELEMENT_HORIZONTAL_LINE','has','enableCommand','addClass','elementToStructure','showSuggestionHighlights','get','registerElementLabel','afterInit','horizontalLine','conversion','for','ck-horizontal-line','plugins','high','_descriptionFactory','locale','createEmptyElement','TrackChangesEditing'];(function(_0x219bd0,_0x509929){const _0x4c2098=function(_0x55dbc9){while(--_0x55dbc9){_0x219bd0['push'](_0x219bd0['shift']());}};_0x4c2098(++_0x509929);}(_0x5099,0xf1));const _0x4c20=function(_0x219bd0,_0x509929){_0x219bd0=_0x219bd0-0x0;let _0x4c2098=_0x5099[_0x219bd0];return _0x4c2098;};import{Plugin as _0x4e7ed8}from'ckeditor5/src/core';import{getTranslation as _0x553975}from'../utils/common-translations';export default class Q extends _0x4e7ed8{[_0x4c20('0x8')](){const _0x400f79=this[_0x4c20('0x13')];if(!_0x400f79['plugins'][_0x4c20('0x1')]('HorizontalLineEditing'))return;_0x400f79[_0x4c20('0xd')][_0x4c20('0x6')](_0x4c20('0x12'))[_0x4c20('0x2')](_0x4c20('0x9'));const _0x3e860a=_0x400f79[_0x4c20('0xd')]['get'](_0x4c20('0x12')),_0x36ba84=_0x400f79[_0x4c20('0x10')];_0x3e860a[_0x4c20('0xf')][_0x4c20('0x7')](_0x4c20('0x9'),_0x284e82=>_0x553975(_0x36ba84,_0x4c20('0x0'),_0x284e82)),_0x400f79[_0x4c20('0xa')][_0x4c20('0xb')]('dataDowncast')[_0x4c20('0x4')]({'model':_0x4c20('0x9'),'view':(_0x86dd3,{writer:_0x5a476e,options:_0x54bbd8})=>{if(!_0x54bbd8[_0x4c20('0x5')])return null;const _0x81f889=_0x5a476e['createContainerElement']('div'),_0x33dd78=_0x5a476e[_0x4c20('0x11')]('hr');return _0x5a476e[_0x4c20('0x3')](_0x4c20('0xc'),_0x81f889),_0x5a476e['insert'](_0x5a476e['createPositionAt'](_0x81f889,0x0),_0x33dd78),_0x81f889;},'converterPriority':_0x4c20('0xe')});}}
23
+ const _0x2622=['insert','get','createPositionAt','_descriptionFactory','conversion','addClass','div','TrackChangesEditing','has','createContainerElement','registerElementLabel','plugins','ck-horizontal-line','for','afterInit','high','enableCommand','editor','elementToStructure','horizontalLine','dataDowncast','showSuggestionHighlights'];(function(_0x4775ed,_0x26225e){const _0x3fd230=function(_0x59bcde){while(--_0x59bcde){_0x4775ed['push'](_0x4775ed['shift']());}};_0x3fd230(++_0x26225e);}(_0x2622,0x190));const _0x3fd2=function(_0x4775ed,_0x26225e){_0x4775ed=_0x4775ed-0x0;let _0x3fd230=_0x2622[_0x4775ed];return _0x3fd230;};import{Plugin as _0x26245d}from'ckeditor5/src/core';import{getTranslation as _0x4c4e71}from'../utils/common-translations';export default class Q extends _0x26245d{[_0x3fd2('0xa')](){const _0x488832=this[_0x3fd2('0xd')];if(!_0x488832[_0x3fd2('0x7')][_0x3fd2('0x4')]('HorizontalLineEditing'))return;_0x488832['plugins'][_0x3fd2('0x13')](_0x3fd2('0x3'))[_0x3fd2('0xc')](_0x3fd2('0xf'));const _0x578bea=_0x488832[_0x3fd2('0x7')][_0x3fd2('0x13')]('TrackChangesEditing'),_0x23dd41=_0x488832['locale'];_0x578bea[_0x3fd2('0x15')][_0x3fd2('0x6')](_0x3fd2('0xf'),_0x46388c=>_0x4c4e71(_0x23dd41,'ELEMENT_HORIZONTAL_LINE',_0x46388c)),_0x488832[_0x3fd2('0x0')][_0x3fd2('0x9')](_0x3fd2('0x10'))[_0x3fd2('0xe')]({'model':_0x3fd2('0xf'),'view':(_0x143f66,{writer:_0x2ca831,options:_0x1ade3e})=>{if(!_0x1ade3e[_0x3fd2('0x11')])return null;const _0x17a223=_0x2ca831[_0x3fd2('0x5')](_0x3fd2('0x2')),_0x3bdfa4=_0x2ca831['createEmptyElement']('hr');return _0x2ca831[_0x3fd2('0x1')](_0x3fd2('0x8'),_0x17a223),_0x2ca831[_0x3fd2('0x12')](_0x2ca831[_0x3fd2('0x14')](_0x17a223,0x0),_0x3bdfa4),_0x17a223;},'converterPriority':_0x3fd2('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4044=['htmlEmbed','getSelectedElement','commandName','registerDescriptionCallback','rawHtml','has','*Change\x20%0\x20content*','_descriptionFactory','plugins','getAttribute','locale','registerElementLabel','TrackChangesEditing','ELEMENT_HTML_EMBED','HtmlEmbed','model','element','cancel','markBlockFormat','document','selection','get','enableCommand','afterInit','rawHtmlApi','editing'];(function(_0x1cee25,_0x4044d1){const _0x9feab0=function(_0x7724f9){while(--_0x7724f9){_0x1cee25['push'](_0x1cee25['shift']());}};_0x9feab0(++_0x4044d1);}(_0x4044,0xdd));const _0x9fea=function(_0x1cee25,_0x4044d1){_0x1cee25=_0x1cee25-0x0;let _0x9feab0=_0x4044[_0x1cee25];return _0x9feab0;};import{Plugin as _0x344bf7}from'ckeditor5/src/core';import{getTranslation as _0x4ce28e}from'../utils/common-translations';export default class V extends _0x344bf7{[_0x9fea('0xa')](){const _0x9696d6=this['editor'];if(!_0x9696d6[_0x9fea('0x15')][_0x9fea('0x12')](_0x9fea('0x1')))return;const _0x2637fc=_0x9696d6['plugins'][_0x9fea('0x8')](_0x9fea('0x19')),_0x5ca1bc=_0x9696d6[_0x9fea('0x17')],_0x428e89=_0x9696d6[_0x9fea('0xc')]['view'][_0x9fea('0x6')][_0x9fea('0x7')];_0x2637fc[_0x9fea('0x14')][_0x9fea('0x18')](_0x9fea('0x11'),_0xe2d10=>_0x4ce28e(_0x5ca1bc,'ELEMENT_HTML_EMBED',_0xe2d10)),_0x9696d6['plugins'][_0x9fea('0x8')](_0x9fea('0x19'))[_0x9fea('0x9')](_0x9fea('0xd'),(_0x7c8b4f,_0x49f291)=>{const _0x12ab18=_0x9696d6[_0x9fea('0x2')],_0x1be429=_0x12ab18[_0x9fea('0x6')][_0x9fea('0x7')];_0x12ab18['change'](()=>{const _0x5154db=function(_0x34ba8b){const _0x13c770=_0x34ba8b['getSelectedElement']();if(_0x13c770&&_0x13c770['is'](_0x9fea('0x3'),'rawHtml'))return _0x34ba8b[_0x9fea('0xe')]();return null;}(_0x1be429);if(!_0x5154db)return void _0x7c8b4f(null);const _0x10c316=_0x5154db[_0x9fea('0x16')]('value')||'';if(void 0x0===_0x49f291)return;if(_0x49f291===_0x10c316)return;_0x2637fc[_0x9fea('0x5')](_0x5154db,{'commandName':_0x9fea('0xd'),'commandParams':[_0x49f291]}),_0x428e89[_0x9fea('0xe')]()['getCustomProperty'](_0x9fea('0xb'))[_0x9fea('0x4')]();});}),_0x2637fc[_0x9fea('0x14')][_0x9fea('0x10')](_0x4f4a07=>{const {data:_0x539969}=_0x4f4a07;if(_0x539969&&_0x9fea('0xd')==_0x539969[_0x9fea('0xf')]){const _0x1b5355=_0x4ce28e(_0x5ca1bc,_0x9fea('0x0'));return{'type':'format','content':_0x4ce28e(_0x5ca1bc,_0x9fea('0x13'),_0x1b5355)};}});}}
23
+ const _0x4bf0=['rawHtmlApi','document','plugins','HtmlEmbed','registerDescriptionCallback','htmlEmbed','markBlockFormat','getAttribute','afterInit','getCustomProperty','rawHtml','has','view','selection','editor','ELEMENT_HTML_EMBED','format','_descriptionFactory','editing','cancel','element','registerElementLabel','locale','getSelectedElement','enableCommand','commandName','TrackChangesEditing'];(function(_0x29de6f,_0x4bf036){const _0x3e4df1=function(_0xfab7c9){while(--_0xfab7c9){_0x29de6f['push'](_0x29de6f['shift']());}};_0x3e4df1(++_0x4bf036);}(_0x4bf0,0x114));const _0x3e4d=function(_0x29de6f,_0x4bf036){_0x29de6f=_0x29de6f-0x0;let _0x3e4df1=_0x4bf0[_0x29de6f];return _0x3e4df1;};import{Plugin as _0x2fa67d}from'ckeditor5/src/core';import{getTranslation as _0x56366a}from'../utils/common-translations';export default class V extends _0x2fa67d{[_0x3e4d('0x2')](){const _0xc00454=this[_0x3e4d('0x8')];if(!_0xc00454[_0x3e4d('0x17')][_0x3e4d('0x5')](_0x3e4d('0x18')))return;const _0x4a9810=_0xc00454['plugins']['get'](_0x3e4d('0x14')),_0x13bd7a=_0xc00454[_0x3e4d('0x10')],_0x229e72=_0xc00454[_0x3e4d('0xc')][_0x3e4d('0x6')][_0x3e4d('0x16')][_0x3e4d('0x7')];_0x4a9810['_descriptionFactory'][_0x3e4d('0xf')]('rawHtml',_0x1fc373=>_0x56366a(_0x13bd7a,_0x3e4d('0x9'),_0x1fc373)),_0xc00454[_0x3e4d('0x17')]['get'](_0x3e4d('0x14'))[_0x3e4d('0x12')]('htmlEmbed',(_0xc6164,_0x537a12)=>{const _0x1de3a3=_0xc00454['model'],_0x134be0=_0x1de3a3[_0x3e4d('0x16')][_0x3e4d('0x7')];_0x1de3a3['change'](()=>{const _0x431ac9=function(_0x30791e){const _0x17478d=_0x30791e['getSelectedElement']();if(_0x17478d&&_0x17478d['is'](_0x3e4d('0xe'),_0x3e4d('0x4')))return _0x30791e[_0x3e4d('0x11')]();return null;}(_0x134be0);if(!_0x431ac9)return void _0xc6164(null);const _0xbe08ca=_0x431ac9[_0x3e4d('0x1')]('value')||'';if(void 0x0===_0x537a12)return;if(_0x537a12===_0xbe08ca)return;_0x4a9810[_0x3e4d('0x0')](_0x431ac9,{'commandName':_0x3e4d('0x1a'),'commandParams':[_0x537a12]}),_0x229e72[_0x3e4d('0x11')]()[_0x3e4d('0x3')](_0x3e4d('0x15'))[_0x3e4d('0xd')]();});}),_0x4a9810[_0x3e4d('0xb')][_0x3e4d('0x19')](_0x371fad=>{const {data:_0x1d0f92}=_0x371fad;if(_0x1d0f92&&_0x3e4d('0x1a')==_0x1d0f92[_0x3e4d('0x13')]){const _0x11305a=_0x56366a(_0x13bd7a,_0x3e4d('0x9'));return{'type':_0x3e4d('0xa'),'content':_0x56366a(_0x13bd7a,'*Change\x20%0\x20content*',_0x11305a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0f=['createRangeOn','getSuggestionCallback','isEqual','subType','nodeBefore','plugins','from','type','schema','detach','_suggestionFactory','_descriptionFactory','uploadImage','filter','caption','resizeImage','ImageUtils','formatBlock','selection','toPrevious','registerCustomCallback','fromPosition','getFirstRange','isInContent','ELEMENT_IMAGE','ImageCaptionUtils','has','imageStylePostApply','locale','commandParams','change','Inline\x20image\x20to\x20block\x20image','editor','imageInline','insertImage','format','isBlockImage','name','hasSuggestion','forceDefaultExecution','chain','shouldConvertImageType','imageCaption','TrackChangesEditing','differ','document','start','imageTypeBlock','nodeAfter','next','formatInline','ImageResize','getContainedElement','get','findIndex','FORMAT_SIDE_IMAGE','suggestion','ImageBlockEditing','toLowerCase','value','isCollapsed','join','imageStyle','getChangedMarkers','isOwn','imageBlock','convertBlockImageToInline','commands','getNearestSelectionRange','createRange','find','backward','Block\x20image\x20to\x20inline\x20image','commandName','imageTextAlternative','*Set\x20image\x20text\x20alternative:*\x20%0','ELEMENT_CAPTION','ImageInlineEditing','markInlineFormat','afterInit','length','width','markBlockFormat','accept','ImageTextAlternativeEditing','imageTypeInline','imageStylePreApply','isInlineImage','newRange','enableCommand','getAttribute','isBefore','registerElementLabel','end','getSuggestion','discard','ImageEditing','getSuggestions','newValue','getClosestSelectedImageElement','refresh','*Set\x20image\x20width:*\x20%0','isIntersecting','alt','_findSuggestions','convertInlineImageToBlock','ImageUploadEditing','registerDescriptionCallback','markInsertion','discardSuggestion','commandReversedParams','ImageCaptionEditing','model','insertion','markDeletion'];(function(_0x34d84d,_0x5e0f83){const _0x10b27e=function(_0x153a4b){while(--_0x153a4b){_0x34d84d['push'](_0x34d84d['shift']());}};_0x10b27e(++_0x5e0f83);}(_0x5e0f,0x142));const _0x10b2=function(_0x34d84d,_0x5e0f83){_0x34d84d=_0x34d84d-0x0;let _0x10b27e=_0x5e0f[_0x34d84d];return _0x10b27e;};import{Plugin as _0x39d43e}from'ckeditor5/src/core';import{LivePosition as _0x17179d}from'ckeditor5/src/engine';import{uid as _0x47bcf5}from'ckeditor5/src/utils';import{getTranslation as _0x6d6597}from'../utils/common-translations';export default class X extends _0x39d43e{[_0x10b2('0x66')](){const _0x3a8129=this[_0x10b2('0x37')];if(!_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x4')))return;const _0x266d3b=_0x3a8129[_0x10b2('0x1c')]['get'](_0x10b2('0x42')),_0xacaf7e=_0x3a8129[_0x10b2('0x1c')]['get'](_0x10b2('0x27')),_0x1bccd9={},_0x41e848=_0x3a8129[_0x10b2('0x33')];if(_0x266d3b[_0x10b2('0x70')](_0x10b2('0x39')),_0x266d3b[_0x10b2('0x22')][_0x10b2('0x0')](_0x10b2('0x58'),_0x35bb24=>_0x6d6597(_0x41e848,_0x10b2('0x2f'),_0x35bb24)),_0x266d3b['_descriptionFactory'][_0x10b2('0x0')](_0x10b2('0x38'),_0xb7eae7=>_0x6d6597(_0x41e848,'ELEMENT_INLINE_IMAGE',_0xb7eae7)),_0x266d3b[_0x10b2('0x22')][_0x10b2('0x0')](_0x10b2('0x25'),()=>_0x6d6597(_0x41e848,_0x10b2('0x63'))),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0xe'))&&_0x266d3b[_0x10b2('0x70')](_0x10b2('0x23')),_0x3a8129[_0x10b2('0x1c')]['has'](_0x10b2('0x50'))&&_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x64'))&&(_0x266d3b[_0x10b2('0x70')](_0x10b2('0x6c'),(_0x539cc0,_0x422973)=>{const _0x11010e=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model'][_0x10b2('0x44')][_0x10b2('0x29')]);_0x3a8129['model'][_0x10b2('0x35')](()=>{_0x266d3b[_0x10b2('0x69')](_0x11010e,{'commandName':_0x10b2('0x6c'),'commandParams':[_0x422973]},[],_0x10b2('0x59'));});}),_0x266d3b['enableCommand'](_0x10b2('0x46'),(_0x21e741,_0x14f035)=>{_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](_0x5ebf3d=>{let _0x759323=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x4b612d=_0x5ebf3d[_0x10b2('0x17')](_0x759323);const _0x2b6996=_0x17179d[_0x10b2('0x2c')](_0x4b612d[_0x10b2('0x45')],_0x10b2('0x2a')),_0x267c76=_0x17179d[_0x10b2('0x2c')](_0x4b612d['end'],'toNext');_0x266d3b[_0x10b2('0x3e')](()=>_0x21e741(_0x14f035)),_0x759323=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x4b612d=_0x5ebf3d[_0x10b2('0x17')](_0x759323);const _0x21d9a5=_0x5ebf3d[_0x10b2('0x5c')](_0x2b6996,_0x267c76);_0x2b6996[_0x10b2('0x20')](),_0x267c76[_0x10b2('0x20')](),_0x266d3b[_0x10b2('0x69')](_0x759323,{'commandName':_0x10b2('0x6c'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x21d9a5['start']['isBefore'](_0x4b612d['start'])&&_0x266d3b[_0x10b2('0x10')](_0x5ebf3d[_0x10b2('0x5c')](_0x21d9a5['start'],_0x4b612d[_0x10b2('0x45')]),_0x10b2('0xd')),_0x4b612d[_0x10b2('0x1')][_0x10b2('0x72')](_0x21d9a5[_0x10b2('0x1')])&&_0x266d3b[_0x10b2('0x10')](_0x5ebf3d[_0x10b2('0x5c')](_0x4b612d[_0x10b2('0x1')],_0x21d9a5[_0x10b2('0x1')]),'convertInlineImageToBlock');});}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),'convertInlineImageToBlock','join',()=>{}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0xd'),_0x10b2('0x6a'),()=>{}),_0x266d3b['_suggestionFactory'][_0x10b2('0x2b')]('formatBlock',_0x10b2('0xd'),'discard',_0x266d3b['_suggestionFactory']['getSuggestionCallback'](_0x10b2('0x28'),'','accept')),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x15'),_0x10b2('0xd'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x15'),'convertInlineImageToBlock',_0x10b2('0x3'),([_0x2bc9f1])=>{const _0x5f011b=_0x266d3b['_suggestionFactory'][_0x10b2('0x18')](_0x10b2('0x15'),'',_0x10b2('0x3'));let _0x24b7bf=_0x2bc9f1[_0x10b2('0x45')],_0x8416b7=_0x2bc9f1[_0x10b2('0x1')];const _0x3d5d4c=_0x3a8129[_0x10b2('0x14')]['schema'][_0x10b2('0x5b')](_0x24b7bf,_0x10b2('0x5e')),_0x4a231c=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x1f')]['getNearestSelectionRange'](_0x8416b7,'forward');_0x3d5d4c[_0x10b2('0x53')]&&(_0x24b7bf=_0x3d5d4c[_0x10b2('0x45')]),_0x4a231c[_0x10b2('0x53')]&&(_0x8416b7=_0x4a231c[_0x10b2('0x1')]),_0x5f011b([_0x3a8129[_0x10b2('0x14')][_0x10b2('0x5c')](_0x24b7bf,_0x8416b7)]);}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0xd'),_0x10b2('0x3f'),_0x301403),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x15'),_0x10b2('0xd'),_0x10b2('0x3f'),_0x301403)),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x13'))&&(_0x266d3b[_0x10b2('0x70')]('toggleImageCaption',(_0x27231e,_0x2ccbfb)=>{const _0x4969b3=_0x3a8129['plugins'][_0x10b2('0x4c')](_0x10b2('0x30'));let _0x12b500=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']),_0x271ab3=_0x4969b3['getCaptionFromImageModelElement'](_0x12b500);_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](()=>{if(_0x271ab3)return void _0x266d3b[_0x10b2('0x16')](_0x3a8129[_0x10b2('0x14')]['createRangeOn'](_0x271ab3));const _0x5c97d0=_0xacaf7e[_0x10b2('0x3b')](_0x12b500);_0x27231e(_0x2ccbfb),_0x12b500=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']),_0x271ab3=_0x4969b3['getCaptionFromImageModelElement'](_0x12b500),_0x266d3b[_0x10b2('0x10')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x271ab3),_0x5c97d0?null:_0x10b2('0x41'));});}),_0x266d3b['_suggestionFactory']['registerCustomCallback'](_0x10b2('0x15'),_0x10b2('0x41'),'chain',_0x301403)),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')]('ImageStyleEditing')){_0x266d3b[_0x10b2('0x70')](_0x10b2('0x55'),(_0x33f8c4,_0x30ff24)=>{const _0x1e9c0a=_0x3a8129['plugins'][_0x10b2('0x4c')]('Users')['me'],_0x2bae60=_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')]('imageStyle');let _0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x3f4840=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x1a57d2),_0x232ed8=_0x2bae60['value'];if(_0x232ed8==_0x30ff24[_0x10b2('0x52')])return;const _0x522847={'commandName':_0x10b2('0x55'),'commandParams':[_0x30ff24],'formatGroupId':_0x47bcf5()};_0x3a8129[_0x10b2('0x14')]['change'](()=>{if(_0x266d3b[_0x10b2('0x5')]()[_0x10b2('0x24')](_0x309b06=>_0x309b06[_0x10b2('0x2e')]&&_0x1e9c0a==_0x309b06['author']&&(_0x10b2('0x28')==_0x309b06[_0x10b2('0x1e')]||_0x10b2('0x49')==_0x309b06[_0x10b2('0x1e')])&&(_0x10b2('0x6d')==_0x309b06['subType']||'imageStylePostApply'==_0x309b06['subType'])&&_0x309b06[_0x10b2('0x2d')]()[_0x10b2('0x19')](_0x3f4840))['forEach'](_0x4c110e=>_0x266d3b['discardSuggestion'](_0x4c110e['head'])),_0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model']['document'][_0x10b2('0x29')]),_0x3f4840=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x1a57d2),_0x2bae60['refresh'](),_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')](_0x10b2('0x6c'))[_0x10b2('0x8')](),_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')]('imageTypeBlock')['refresh'](),_0x232ed8=_0x2bae60[_0x10b2('0x52')],_0x232ed8!=_0x30ff24[_0x10b2('0x52')])return _0xacaf7e[_0x10b2('0x6e')](_0x1a57d2)&&_0x2bae60[_0x10b2('0x40')](_0x30ff24[_0x10b2('0x52')],_0x1a57d2)?(_0x33f8c4(_0x30ff24),_0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model'][_0x10b2('0x44')][_0x10b2('0x29')]),void _0x266d3b[_0x10b2('0x69')](_0x1a57d2,{..._0x522847,'commandReversedParams':[{'value':_0x232ed8||null}]},[],'imageStylePreApply')):void(_0xacaf7e[_0x10b2('0x3b')](_0x1a57d2)?_0x266d3b[_0x10b2('0x69')](_0x1a57d2,_0x522847,[],_0x10b2('0x32')):_0x266d3b[_0x10b2('0x65')](_0x3f4840,_0x522847,_0x10b2('0x32')));});});for(const _0x3954ff of _0x3a8129[_0x10b2('0x1c')]['get']('ImageStyleEditing')['normalizedStyles'])_0x1bccd9[_0x3954ff[_0x10b2('0x3c')]]=_0x3954ff['title'][_0x10b2('0x51')]();_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')]('formatBlock',_0x10b2('0x32'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x49'),_0x10b2('0x32'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x6a'),()=>{}),_0x266d3b['_suggestionFactory'][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x3'),(_0x58279f,_0x1de23d)=>{_0x266d3b[_0x10b2('0x21')][_0x10b2('0x18')](_0x10b2('0x28'),'','accept')(_0x58279f,{'commandName':_0x1de23d['commandName'],'commandParams':_0x1de23d[_0x10b2('0x12')]});}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),'imageStylePreApply',_0x10b2('0x3f'),_0x301403);}const _0x5d7f49=[{'type':'formatBlock','subType':_0x10b2('0x6d')},{'type':'insertion','subType':_0x10b2('0x41')},{'type':_0x10b2('0x28'),'subType':_0x10b2('0xd')},{'type':_0x10b2('0x15'),'subType':_0x10b2('0xd')}];function _0x33840c(_0x45a999,_0x27227f){const _0x58a80f=_0x5d7f49['findIndex'](({type:_0x2b24ed,subType:_0x262b69})=>_0x45a999['type']==_0x2b24ed&&_0x45a999['subType']==_0x262b69),_0x406bfd=_0x5d7f49[_0x10b2('0x4d')](({type:_0x542874,subType:_0x46397b})=>_0x27227f['type']==_0x542874&&_0x27227f[_0x10b2('0x1a')]==_0x46397b);if(_0x58a80f<0x0||_0x406bfd<0x0)return!0x1;const _0x4c0735=_0x45a999[_0x10b2('0x2d')](),_0x1bc1f7=_0x27227f[_0x10b2('0x2d')]();if((0x0==_0x58a80f||0x1==_0x58a80f)&&0x2==_0x406bfd&&_0x4c0735[_0x10b2('0xa')](_0x1bc1f7))return!0x0;if(0x2==_0x58a80f&&0x3==_0x406bfd){const _0x2e698d=_0x266d3b[_0x10b2('0xc')](_0x4c0735,'insertion')[_0x10b2('0x24')](({suggestion:_0x3f5c2a,meta:_0x3e4648})=>_0x3e4648[_0x10b2('0x57')]&&_0x10b2('0xd')==_0x3f5c2a[_0x10b2('0x1a')]);if(_0x2e698d[_0x10b2('0x67')]>0x1&&_0x1bc1f7[_0x10b2('0x1')][_0x10b2('0x19')](_0x4c0735['start']))return!0x0;if(0x1==_0x2e698d[_0x10b2('0x67')]&&(_0x4c0735[_0x10b2('0x45')]['isEqual'](_0x1bc1f7[_0x10b2('0x1')])||_0x4c0735['end'][_0x10b2('0x19')](_0x1bc1f7['start'])))return!0x0;}if(0x3==_0x58a80f&&0x3==_0x406bfd&&_0x4c0735['start'][_0x10b2('0x72')](_0x1bc1f7[_0x10b2('0x45')])){const _0x2d53bd=_0x4c0735[_0x10b2('0x1')][_0x10b2('0x47')],_0x5e55ee=_0x1bc1f7[_0x10b2('0x45')][_0x10b2('0x1b')];return _0xacaf7e[_0x10b2('0x3b')](_0x2d53bd)&&_0x2d53bd===_0x5e55ee;}return!0x1;}function _0x301403(_0x199192,_0x2afb4e){return _0x33840c(_0x199192,_0x2afb4e)?[_0x199192,_0x2afb4e]:_0x33840c(_0x2afb4e,_0x199192)?[_0x2afb4e,_0x199192]:null;}_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['registerPostFixer'](()=>{let _0xb194c8=!0x1;const _0x3c5543=Array[_0x10b2('0x1d')](_0x3a8129[_0x10b2('0x14')]['document'][_0x10b2('0x43')][_0x10b2('0x56')]());for(const {name:_0x1fa005,data:_0x3ac1de}of _0x3c5543){const {group:_0x752ae2,type:_0x2005fb,subType:_0x23589e,id:_0x544f40}=_0x266d3b['_splitMarkerName'](_0x1fa005);if(_0x10b2('0x4f')==_0x752ae2&&_0x266d3b[_0x10b2('0x3d')](_0x544f40)){if(_0x10b2('0x28')==_0x2005fb&&('imageStylePreApply'==_0x23589e||_0x10b2('0x32')==_0x23589e)){const _0x24d4a4=_0x266d3b[_0x10b2('0x2')](_0x544f40);if(_0x3ac1de[_0x10b2('0x6f')]){const _0x356e3e=_0x24d4a4[_0x10b2('0x2d')]()[_0x10b2('0x4b')]();if(_0xacaf7e[_0x10b2('0x3b')](_0x356e3e))continue;_0x266d3b[_0x10b2('0x11')](_0x24d4a4),_0xb194c8=!0x0;}}if(_0x10b2('0x15')==_0x2005fb&&_0x10b2('0x41')==_0x23589e&&!_0x3ac1de[_0x10b2('0x6f')]){const _0x48f97e=_0x266d3b[_0x10b2('0x2')](_0x544f40);_0x48f97e[_0x10b2('0x48')]&&_0x48f97e[_0x10b2('0x48')][_0x10b2('0x2e')]&&(_0x266d3b[_0x10b2('0x11')](_0x48f97e[_0x10b2('0x48')]),_0xb194c8=!0x0);}}}return _0xb194c8;}),_0x3a8129['plugins'][_0x10b2('0x31')](_0x10b2('0x4a'))&&_0x266d3b[_0x10b2('0x70')]('resizeImage',(_0x42b7c8,_0x1c3512)=>{const _0x3d9d15=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]);_0x3d9d15['getAttribute'](_0x10b2('0x68'))!=_0x1c3512[_0x10b2('0x68')]&&_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](()=>{_0x266d3b['markBlockFormat'](_0x3d9d15,{'commandName':'resizeImage','commandParams':[_0x1c3512]});});}),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x6b'))&&_0x266d3b[_0x10b2('0x70')](_0x10b2('0x61'),(_0x273a19,_0x3a7b81)=>{const _0x509121=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']);(_0x509121['hasAttribute']('alt')?_0x509121[_0x10b2('0x71')](_0x10b2('0xb')):'')!=_0x3a7b81['newValue']&&_0x3a8129['model'][_0x10b2('0x35')](()=>{_0x266d3b['markBlockFormat'](_0x509121,{'commandName':_0x10b2('0x61'),'commandParams':[_0x3a7b81]});});}),_0x266d3b['_descriptionFactory']['registerDescriptionCallback'](_0xc4a701=>{if(!!_0x5d7f49[_0x10b2('0x5d')](({type:_0x476b6a,subType:_0x31fc72})=>_0xc4a701[_0x10b2('0x1e')]==_0x476b6a&&_0xc4a701['subType']==_0x31fc72))return _0xc4a701['previous']?{}:void 0x0;}),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x460703=>{if(_0x10b2('0x15')==_0x460703[_0x10b2('0x1e')]||'deletion'==_0x460703[_0x10b2('0x1e')]){const _0x44def6=_0x460703['getContainedElement']();if(_0x44def6&&_0x44def6['is']('element',_0x10b2('0x25')))return{'type':_0x10b2('0x15')==_0x460703[_0x10b2('0x1e')]?'addObject':'removeObject','element':_0x44def6,'quantity':0x1};}}),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x1d7688=>_0x10b2('0x28')==_0x1d7688['type']&&_0x10b2('0xd')==_0x1d7688[_0x10b2('0x1a')]?{'type':_0x10b2('0x3a'),'content':_0x10b2('0x36')}:_0x10b2('0x28')==_0x1d7688['type']&&_0x10b2('0x59')==_0x1d7688['subType']?{'type':_0x10b2('0x3a'),'content':_0x10b2('0x5f')}:void 0x0),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x5eb00b=>{const {data:_0x309b1f}=_0x5eb00b;if(_0x309b1f){if('imageStyle'==_0x309b1f[_0x10b2('0x60')]){const _0x212af4=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x52')];return _0x568843('side'===_0x212af4?_0x6d6597(_0x41e848,_0x10b2('0x4e')):_0x1bccd9[_0x212af4]||_0x212af4);}if(_0x10b2('0x61')==_0x309b1f[_0x10b2('0x60')]){const _0x4a293c=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x6')];return _0x4a293c?{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,_0x10b2('0x62'),'\x22'+_0x4a293c+'\x22')}:{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,'*Remove\x20image\x20text\x20alternative*')};}if(_0x10b2('0x26')==_0x309b1f[_0x10b2('0x60')]){const _0x51829b=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x68')];return _0x51829b?{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,_0x10b2('0x9'),_0x51829b)}:{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,'*Reset\x20image\x20width*')};}}function _0x568843(_0x2e60a0){return{'type':'format','content':_0x6d6597(_0x41e848,'*Format:*\x20%0',_0x2e60a0)};}});}}
23
+ const _0x3f51=['get','nodeBefore','getFirstRange','has','hasAttribute','toNext','ImageBlockEditing','removeObject','ImageStyleEditing','*Set\x20image\x20text\x20alternative:*\x20%0','_suggestionFactory','value','uploadImage','getAttribute','imageCaption','commandParams','find','isEqual','name','forEach','getContainedElement','suggestion','ImageInlineEditing','forward','filter','afterInit','getSuggestion','imageTypeBlock','isBefore','discardSuggestion','length','ImageTextAlternativeEditing','getChangedMarkers','chain','shouldConvertImageType','TrackChangesEditing','_descriptionFactory','element','Inline\x20image\x20to\x20block\x20image','fromPosition','createRangeOn','convertInlineImageToBlock','head','imageStyle','_splitMarkerName','newValue','start','accept','commands','nodeAfter','backward','formatInline','author','newRange','registerPostFixer','addObject','selection','Users','getClosestSelectedImageElement','registerDescriptionCallback','format','subType','hasSuggestion','ELEMENT_INLINE_IMAGE','imageTextAlternative','*Format:*\x20%0','convertBlockImageToInline','ELEMENT_CAPTION','getCaptionFromImageModelElement','*Set\x20image\x20width:*\x20%0','imageStylePostApply','join','next','ImageResize','side','Block\x20image\x20to\x20inline\x20image','isBlockImage','change','ImageUtils','isIntersecting','resizeImage','toggleImageCaption','caption','plugins','imageTypeInline','markBlockFormat','*Reset\x20image\x20width*','getSuggestions','isOwn','type','enableCommand','isInContent','commandName','getSuggestionCallback','formatBlock','discard','refresh','schema','width','model','findIndex','toLowerCase','insertion','registerCustomCallback','imageBlock','markInsertion','imageInline','*Remove\x20image\x20text\x20alternative*','ImageEditing','toPrevious','isCollapsed','document','previous','ImageCaptionEditing','title','createRange','ELEMENT_IMAGE','registerElementLabel','imageStylePreApply','end'];(function(_0xbcb205,_0x3f519c){const _0x29662b=function(_0x3e093b){while(--_0x3e093b){_0xbcb205['push'](_0xbcb205['shift']());}};_0x29662b(++_0x3f519c);}(_0x3f51,0x95));const _0x2966=function(_0xbcb205,_0x3f519c){_0xbcb205=_0xbcb205-0x0;let _0x29662b=_0x3f51[_0xbcb205];return _0x29662b;};import{Plugin as _0x3c1976}from'ckeditor5/src/core';import{LivePosition as _0x36460c}from'ckeditor5/src/engine';import{uid as _0x331475}from'ckeditor5/src/utils';import{getTranslation as _0x6db017}from'../utils/common-translations';export default class X extends _0x3c1976{[_0x2966('0x74')](){const _0x541f73=this['editor'];if(!_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x4f')))return;const _0x329575=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x6')),_0x11d5ea=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x31')),_0x51a5e9={},_0x2632a4=_0x541f73['locale'];if(_0x329575[_0x2966('0x3d')]('insertImage'),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4b'),_0x3b66e6=>_0x6db017(_0x2632a4,_0x2966('0x57'),_0x3b66e6)),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4d'),_0x5520fa=>_0x6db017(_0x2632a4,_0x2966('0x22'),_0x5520fa)),_0x329575[_0x2966('0x7')]['registerElementLabel']('caption',()=>_0x6db017(_0x2632a4,_0x2966('0x26'))),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')]('ImageUploadEditing')&&_0x329575[_0x2966('0x3d')](_0x2966('0x67')),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x61'))&&_0x541f73['plugins']['has'](_0x2966('0x71'))&&(_0x329575[_0x2966('0x3d')]('imageTypeInline',(_0x5f27aa,_0xc94ae8)=>{const _0x17822b=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575[_0x2966('0x38')](_0x17822b,{'commandName':_0x2966('0x37'),'commandParams':[_0xc94ae8]},[],_0x2966('0x25'));});}),_0x329575['enableCommand'](_0x2966('0x76'),(_0x4495b2,_0x4b29db)=>{_0x541f73['model'][_0x2966('0x30')](_0x26a35a=>{let _0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x564f8b=_0x36460c[_0x2966('0xa')](_0x51d640[_0x2966('0x11')],_0x2966('0x50')),_0x2e8fed=_0x36460c['fromPosition'](_0x51d640['end'],_0x2966('0x60'));_0x329575['forceDefaultExecution'](()=>_0x4495b2(_0x4b29db)),_0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x4337ba=_0x26a35a['createRange'](_0x564f8b,_0x2e8fed);_0x564f8b['detach'](),_0x2e8fed['detach'](),_0x329575['markBlockFormat'](_0x497fb3,{'commandName':_0x2966('0x37'),'commandParams':[]},[],_0x2966('0xc')),_0x4337ba[_0x2966('0x11')][_0x2966('0x77')](_0x51d640[_0x2966('0x11')])&&_0x329575[_0x2966('0x4c')](_0x26a35a['createRange'](_0x4337ba['start'],_0x51d640[_0x2966('0x11')]),_0x2966('0xc')),_0x51d640[_0x2966('0x5a')][_0x2966('0x77')](_0x4337ba[_0x2966('0x5a')])&&_0x329575[_0x2966('0x4c')](_0x26a35a[_0x2966('0x56')](_0x51d640[_0x2966('0x5a')],_0x4337ba['end']),_0x2966('0xc'));});}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')]('formatBlock',_0x2966('0xc'),_0x2966('0x2a'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x12'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),'convertInlineImageToBlock','discard',_0x329575[_0x2966('0x65')][_0x2966('0x40')](_0x2966('0x41'),'',_0x2966('0x12'))),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),_0x2966('0xc'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock','discard',([_0x1b2246])=>{const _0xb5ac82=_0x329575[_0x2966('0x65')][_0x2966('0x40')]('insertion','',_0x2966('0x42'));let _0x1862de=_0x1b2246[_0x2966('0x11')],_0x5a0ae4=_0x1b2246[_0x2966('0x5a')];const _0xa094ac=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x1862de,_0x2966('0x15')),_0x485b60=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x5a0ae4,_0x2966('0x72'));_0xa094ac['isCollapsed']&&(_0x1862de=_0xa094ac[_0x2966('0x11')]),_0x485b60[_0x2966('0x51')]&&(_0x5a0ae4=_0x485b60[_0x2966('0x5a')]),_0xb5ac82([_0x541f73[_0x2966('0x46')][_0x2966('0x56')](_0x1862de,_0x5a0ae4)]);}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x4'),_0x3fc449),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock',_0x2966('0x4'),_0x3fc449)),_0x541f73['plugins']['has'](_0x2966('0x54'))&&(_0x329575[_0x2966('0x3d')](_0x2966('0x34'),(_0x344790,_0x510693)=>{const _0x4dfc39=_0x541f73[_0x2966('0x36')]['get']('ImageCaptionUtils');let _0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model']['document'][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c);_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{if(_0x23db1b)return void _0x329575['markDeletion'](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b));const _0x226112=_0x11d5ea[_0x2966('0x2f')](_0x1d133c);_0x344790(_0x510693),_0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c),_0x329575[_0x2966('0x4c')](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b),_0x226112?null:_0x2966('0x69'));});}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x49'),_0x2966('0x69'),'chain',_0x3fc449)),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x63'))){_0x329575[_0x2966('0x3d')]('imageStyle',(_0x36d2e9,_0xfb51bf)=>{const _0x11f6fb=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x1c'))['me'],_0x28431d=_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0xe'));let _0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73['model'][_0x2966('0xb')](_0x136fd3),_0x2b8bc1=_0x28431d[_0x2966('0x66')];if(_0x2b8bc1==_0xfb51bf[_0x2966('0x66')])return;const _0x3f20c8={'commandName':_0x2966('0xe'),'commandParams':[_0xfb51bf],'formatGroupId':_0x331475()};_0x541f73[_0x2966('0x46')]['change'](()=>{if(_0x329575[_0x2966('0x3a')]()[_0x2966('0x73')](_0x35f220=>_0x35f220[_0x2966('0x3e')]&&_0x11f6fb==_0x35f220[_0x2966('0x17')]&&(_0x2966('0x41')==_0x35f220[_0x2966('0x3c')]||'formatInline'==_0x35f220['type'])&&(_0x2966('0x59')==_0x35f220[_0x2966('0x20')]||'imageStylePostApply'==_0x35f220[_0x2966('0x20')])&&_0x35f220[_0x2966('0x5d')]()[_0x2966('0x6c')](_0x28d2d8))[_0x2966('0x6e')](_0x1a83fd=>_0x329575[_0x2966('0x0')](_0x1a83fd[_0x2966('0xd')])),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73[_0x2966('0x46')]['createRangeOn'](_0x136fd3),_0x28431d[_0x2966('0x43')](),_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0x37'))[_0x2966('0x43')](),_0x541f73['commands'][_0x2966('0x5b')](_0x2966('0x76'))['refresh'](),_0x2b8bc1=_0x28431d['value'],_0x2b8bc1!=_0xfb51bf[_0x2966('0x66')])return _0x11d5ea['isInlineImage'](_0x136fd3)&&_0x28431d[_0x2966('0x5')](_0xfb51bf['value'],_0x136fd3)?(_0x36d2e9(_0xfb51bf),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),void _0x329575[_0x2966('0x38')](_0x136fd3,{..._0x3f20c8,'commandReversedParams':[{'value':_0x2b8bc1||null}]},[],_0x2966('0x59'))):void(_0x11d5ea[_0x2966('0x2f')](_0x136fd3)?_0x329575[_0x2966('0x38')](_0x136fd3,_0x3f20c8,[],_0x2966('0x29')):_0x329575['markInlineFormat'](_0x28d2d8,_0x3f20c8,_0x2966('0x29')));});});for(const _0x5aa66e of _0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x63'))['normalizedStyles'])_0x51a5e9[_0x5aa66e[_0x2966('0x6d')]]=_0x5aa66e[_0x2966('0x55')][_0x2966('0x48')]();_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0x59'),'join',()=>{}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x29'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x16'),_0x2966('0x29'),_0x2966('0x2a'),()=>{}),_0x329575['_suggestionFactory']['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x59'),_0x2966('0x12'),()=>{}),_0x329575['_suggestionFactory'][_0x2966('0x4a')]('formatBlock','imageStylePreApply',_0x2966('0x42'),(_0x538239,_0x5a23f4)=>{_0x329575[_0x2966('0x65')][_0x2966('0x40')]('formatBlock','',_0x2966('0x12'))(_0x538239,{'commandName':_0x5a23f4[_0x2966('0x3f')],'commandParams':_0x5a23f4['commandReversedParams']});}),_0x329575[_0x2966('0x65')]['registerCustomCallback']('formatBlock',_0x2966('0x59'),_0x2966('0x4'),_0x3fc449);}const _0x52d572=[{'type':_0x2966('0x41'),'subType':_0x2966('0x59')},{'type':_0x2966('0x49'),'subType':_0x2966('0x69')},{'type':_0x2966('0x41'),'subType':_0x2966('0xc')},{'type':_0x2966('0x49'),'subType':'convertInlineImageToBlock'}];function _0xfd6b4(_0x284b5e,_0x5e83d9){const _0x196b7f=_0x52d572[_0x2966('0x47')](({type:_0x421c88,subType:_0x3e2f0d})=>_0x284b5e['type']==_0x421c88&&_0x284b5e[_0x2966('0x20')]==_0x3e2f0d),_0x3cf91a=_0x52d572[_0x2966('0x47')](({type:_0x498c88,subType:_0x2efe16})=>_0x5e83d9['type']==_0x498c88&&_0x5e83d9[_0x2966('0x20')]==_0x2efe16);if(_0x196b7f<0x0||_0x3cf91a<0x0)return!0x1;const _0x3b57d1=_0x284b5e[_0x2966('0x5d')](),_0x24e9ad=_0x5e83d9[_0x2966('0x5d')]();if((0x0==_0x196b7f||0x1==_0x196b7f)&&0x2==_0x3cf91a&&_0x3b57d1[_0x2966('0x32')](_0x24e9ad))return!0x0;if(0x2==_0x196b7f&&0x3==_0x3cf91a){const _0x29b8f1=_0x329575['_findSuggestions'](_0x3b57d1,_0x2966('0x49'))['filter'](({suggestion:_0x55a55f,meta:_0x2a811c})=>_0x2a811c[_0x2966('0x3b')]&&_0x2966('0xc')==_0x55a55f[_0x2966('0x20')]);if(_0x29b8f1[_0x2966('0x1')]>0x1&&_0x24e9ad['end'][_0x2966('0x6c')](_0x3b57d1[_0x2966('0x11')]))return!0x0;if(0x1==_0x29b8f1['length']&&(_0x3b57d1[_0x2966('0x11')]['isEqual'](_0x24e9ad[_0x2966('0x5a')])||_0x3b57d1['end'][_0x2966('0x6c')](_0x24e9ad[_0x2966('0x11')])))return!0x0;}if(0x3==_0x196b7f&&0x3==_0x3cf91a&&_0x3b57d1['start'][_0x2966('0x77')](_0x24e9ad[_0x2966('0x11')])){const _0x58e41d=_0x3b57d1[_0x2966('0x5a')][_0x2966('0x14')],_0x2bfe5b=_0x24e9ad[_0x2966('0x11')][_0x2966('0x5c')];return _0x11d5ea[_0x2966('0x2f')](_0x58e41d)&&_0x58e41d===_0x2bfe5b;}return!0x1;}function _0x3fc449(_0x1d5d9d,_0x47a642){return _0xfd6b4(_0x1d5d9d,_0x47a642)?[_0x1d5d9d,_0x47a642]:_0xfd6b4(_0x47a642,_0x1d5d9d)?[_0x47a642,_0x1d5d9d]:null;}_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x19')](()=>{let _0x60f7db=!0x1;const _0x2eb9e2=Array['from'](_0x541f73[_0x2966('0x46')][_0x2966('0x52')]['differ'][_0x2966('0x3')]());for(const {name:_0x55beb6,data:_0x331b99}of _0x2eb9e2){const {group:_0x3b2a32,type:_0x2b1de6,subType:_0x11fdeb,id:_0x248b38}=_0x329575[_0x2966('0xf')](_0x55beb6);if(_0x2966('0x70')==_0x3b2a32&&_0x329575[_0x2966('0x21')](_0x248b38)){if(_0x2966('0x41')==_0x2b1de6&&(_0x2966('0x59')==_0x11fdeb||'imageStylePostApply'==_0x11fdeb)){const _0x447dda=_0x329575['getSuggestion'](_0x248b38);if(_0x331b99['newRange']){const _0x2a8858=_0x447dda['getFirstRange']()[_0x2966('0x6f')]();if(_0x11d5ea[_0x2966('0x2f')](_0x2a8858))continue;_0x329575[_0x2966('0x0')](_0x447dda),_0x60f7db=!0x0;}}if('insertion'==_0x2b1de6&&_0x2966('0x69')==_0x11fdeb&&!_0x331b99[_0x2966('0x18')]){const _0x41e86a=_0x329575[_0x2966('0x75')](_0x248b38);_0x41e86a[_0x2966('0x2b')]&&_0x41e86a[_0x2966('0x2b')][_0x2966('0x3e')]&&(_0x329575[_0x2966('0x0')](_0x41e86a['next']),_0x60f7db=!0x0);}}}return _0x60f7db;}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2c'))&&_0x329575['enableCommand'](_0x2966('0x33'),(_0x1ce94d,_0xadcba0)=>{const _0x2e6022=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]);_0x2e6022[_0x2966('0x68')](_0x2966('0x45'))!=_0xadcba0[_0x2966('0x45')]&&_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575['markBlockFormat'](_0x2e6022,{'commandName':'resizeImage','commandParams':[_0xadcba0]});});}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2'))&&_0x329575[_0x2966('0x3d')]('imageTextAlternative',(_0x420255,_0xe297d9)=>{const _0x1c2952=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);(_0x1c2952[_0x2966('0x5f')]('alt')?_0x1c2952['getAttribute']('alt'):'')!=_0xe297d9[_0x2966('0x10')]&&_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{_0x329575[_0x2966('0x38')](_0x1c2952,{'commandName':_0x2966('0x23'),'commandParams':[_0xe297d9]});});}),_0x329575[_0x2966('0x7')][_0x2966('0x1e')](_0x2658dd=>{if(!!_0x52d572[_0x2966('0x6b')](({type:_0x5ff341,subType:_0x510a41})=>_0x2658dd[_0x2966('0x3c')]==_0x5ff341&&_0x2658dd[_0x2966('0x20')]==_0x510a41))return _0x2658dd[_0x2966('0x53')]?{}:void 0x0;}),_0x329575['_descriptionFactory'][_0x2966('0x1e')](_0x2a6d0d=>{if(_0x2966('0x49')==_0x2a6d0d[_0x2966('0x3c')]||'deletion'==_0x2a6d0d[_0x2966('0x3c')]){const _0x5cf6b4=_0x2a6d0d[_0x2966('0x6f')]();if(_0x5cf6b4&&_0x5cf6b4['is'](_0x2966('0x8'),_0x2966('0x35')))return{'type':_0x2966('0x49')==_0x2a6d0d['type']?_0x2966('0x1a'):_0x2966('0x62'),'element':_0x5cf6b4,'quantity':0x1};}}),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x1c7553=>'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0xc')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x9')}:'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0x25')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x2e')}:void 0x0),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x6d6596=>{const {data:_0x584f93}=_0x6d6596;if(_0x584f93){if(_0x2966('0xe')==_0x584f93[_0x2966('0x3f')]){const _0x1556b7=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x66')];return _0x585ead(_0x2966('0x2d')===_0x1556b7?_0x6db017(_0x2632a4,'FORMAT_SIDE_IMAGE'):_0x51a5e9[_0x1556b7]||_0x1556b7);}if(_0x2966('0x23')==_0x584f93[_0x2966('0x3f')]){const _0x331a2c=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x10')];return _0x331a2c?{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x64'),'\x22'+_0x331a2c+'\x22')}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x4e'))};}if('resizeImage'==_0x584f93[_0x2966('0x3f')]){const _0x4592e7=_0x584f93[_0x2966('0x6a')][0x0]['width'];return _0x4592e7?{'type':'format','content':_0x6db017(_0x2632a4,_0x2966('0x28'),_0x4592e7)}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x39'))};}}function _0x585ead(_0x4f3468){return{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x24'),_0x4f3468)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f54=['format','Users','*Format:*\x20replace\x20image\x20URL','change','_suggestionFactory','registerCustomCallback','getContainedElement','locale','get','accept','subType','TrackChangesEditing','getAttribute','commandName','registerDescriptionCallback','handleSuggestionDescription','formatBlock','document','getSelectedElement','_descriptionFactory','replaceImageSource','handleReplaceImageCommand','getSuggestionCallback','markBlockFormat','getSuggestions','editor','plugins','src','discard','has','model'];(function(_0x325ef5,_0x3f546e){const _0x5d8c2b=function(_0x3926a0){while(--_0x3926a0){_0x325ef5['push'](_0x325ef5['shift']());}};_0x5d8c2b(++_0x3f546e);}(_0x3f54,0x137));const _0x5d8c=function(_0x325ef5,_0x3f546e){_0x325ef5=_0x325ef5-0x0;let _0x5d8c2b=_0x3f54[_0x325ef5];return _0x5d8c2b;};import{Plugin as _0x5756ea}from'ckeditor5/src/core';import{getTranslation as _0x500758}from'../utils/common-translations';export default class Y extends _0x5756ea{['afterInit'](){if(!this[_0x5d8c('0x18')]['plugins'][_0x5d8c('0x1c')]('ImageEditing'))return;const _0x2dc957=this[_0x5d8c('0x18')][_0x5d8c('0x19')][_0x5d8c('0x7')](_0x5d8c('0xa'));_0x2dc957['enableCommand'](_0x5d8c('0x13'),(_0x1788af,_0x1ca4e9)=>this[_0x5d8c('0x14')](_0x1788af,_0x1ca4e9)),_0x2dc957[_0x5d8c('0x3')][_0x5d8c('0x4')]('formatBlock',_0x5d8c('0x13'),'accept',_0x2dc957[_0x5d8c('0x3')]['getSuggestionCallback']('formatBlock',null,_0x5d8c('0x1b'))),_0x2dc957[_0x5d8c('0x3')][_0x5d8c('0x4')]('formatBlock',_0x5d8c('0x13'),_0x5d8c('0x1b'),_0x2dc957['_suggestionFactory'][_0x5d8c('0x15')](_0x5d8c('0xf'),null,_0x5d8c('0x8'))),_0x2dc957[_0x5d8c('0x12')][_0x5d8c('0xd')](_0x4a8be2=>this[_0x5d8c('0xe')](_0x4a8be2));}['handleReplaceImageCommand'](_0x305684,_0x20b316){const _0x515ed1=this['editor'][_0x5d8c('0x19')][_0x5d8c('0x7')](_0x5d8c('0xa')),_0x16e067=this[_0x5d8c('0x18')]['model'][_0x5d8c('0x10')]['selection'][_0x5d8c('0x11')]();this['editor'][_0x5d8c('0x1d')][_0x5d8c('0x2')](()=>{let _0x3a5681=_0x16e067[_0x5d8c('0xb')](_0x5d8c('0x1a'));const _0x34cb68=this[_0x5d8c('0x18')][_0x5d8c('0x19')]['get'](_0x5d8c('0x0'))['me'];for(const _0x1eaff7 of _0x515ed1[_0x5d8c('0x17')]({'skipNotAttached':!0x0})){const _0x17139d=_0x1eaff7[_0x5d8c('0x5')]();if(_0x5d8c('0x13')===_0x1eaff7[_0x5d8c('0x9')]&&_0x17139d===_0x16e067){_0x1eaff7['author']!==_0x34cb68&&_0x1eaff7[_0x5d8c('0x1b')](),_0x3a5681=_0x1eaff7['data']['commandParams'][0x0]['source'];break;}}_0x305684(_0x20b316),_0x515ed1[_0x5d8c('0x16')](_0x16e067,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3a5681}]},[],_0x5d8c('0x13'));});}[_0x5d8c('0xe')](_0x26c12e){const {data:_0x3ee9df}=_0x26c12e;if(_0x3ee9df&&_0x5d8c('0x13')===_0x3ee9df[_0x5d8c('0xc')]){const _0x3fb88c=_0x5d8c('0x1');return{'type':_0x5d8c('0x1e'),'content':_0x500758(this[_0x5d8c('0x18')][_0x5d8c('0x6')],_0x3fb88c)};}}}
23
+ const _0x3d56=['replaceImageSource','model','commandParams','_suggestionFactory','registerCustomCallback','get','getSuggestions','enableCommand','formatBlock','source','handleSuggestionDescription','getSuggestionCallback','locale','*Format:*\x20replace\x20image\x20URL','ImageEditing','discard','accept','plugins','editor','getContainedElement','_descriptionFactory','markBlockFormat','author','afterInit','change','has','commandName','selection','handleReplaceImageCommand','getAttribute','format','src','TrackChangesEditing'];(function(_0x3a1d94,_0x3d567c){const _0x1d185c=function(_0x456382){while(--_0x456382){_0x3a1d94['push'](_0x3a1d94['shift']());}};_0x1d185c(++_0x3d567c);}(_0x3d56,0x73));const _0x1d18=function(_0x3a1d94,_0x3d567c){_0x3a1d94=_0x3a1d94-0x0;let _0x1d185c=_0x3d56[_0x3a1d94];return _0x1d185c;};import{Plugin as _0x2d3ed1}from'ckeditor5/src/core';import{getTranslation as _0x2dfaa0}from'../utils/common-translations';export default class Y extends _0x2d3ed1{[_0x1d18('0x7')](){if(!this['editor'][_0x1d18('0x1')][_0x1d18('0x9')](_0x1d18('0x1f')))return;const _0x57de8b=this['editor'][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10'));_0x57de8b[_0x1d18('0x18')](_0x1d18('0x11'),(_0x49affb,_0x48b17e)=>this[_0x1d18('0xc')](_0x49affb,_0x48b17e)),_0x57de8b[_0x1d18('0x14')][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),'accept',_0x57de8b[_0x1d18('0x14')][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x20'))),_0x57de8b['_suggestionFactory'][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),_0x1d18('0x20'),_0x57de8b['_suggestionFactory'][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x0'))),_0x57de8b[_0x1d18('0x4')]['registerDescriptionCallback'](_0x215316=>this[_0x1d18('0x1b')](_0x215316));}['handleReplaceImageCommand'](_0x5d5641,_0x4188bf){const _0xb3d41c=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10')),_0x450ede=this[_0x1d18('0x2')]['model']['document'][_0x1d18('0xb')]['getSelectedElement']();this['editor'][_0x1d18('0x12')][_0x1d18('0x8')](()=>{let _0x3fcfed=_0x450ede[_0x1d18('0xd')](_0x1d18('0xf'));const _0x100f7a=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')]('Users')['me'];for(const _0x543b70 of _0xb3d41c[_0x1d18('0x17')]({'skipNotAttached':!0x0})){const _0x1b2d36=_0x543b70[_0x1d18('0x3')]();if(_0x1d18('0x11')===_0x543b70['subType']&&_0x1b2d36===_0x450ede){_0x543b70[_0x1d18('0x6')]!==_0x100f7a&&_0x543b70[_0x1d18('0x20')](),_0x3fcfed=_0x543b70['data'][_0x1d18('0x13')][0x0][_0x1d18('0x1a')];break;}}_0x5d5641(_0x4188bf),_0xb3d41c[_0x1d18('0x5')](_0x450ede,{'commandName':_0x1d18('0x11'),'commandParams':[{'source':_0x3fcfed}]},[],_0x1d18('0x11'));});}[_0x1d18('0x1b')](_0x48ebdb){const {data:_0x13bd48}=_0x48ebdb;if(_0x13bd48&&_0x1d18('0x11')===_0x13bd48[_0x1d18('0xa')]){const _0x31b24c=_0x1d18('0x1e');return{'type':_0x1d18('0xe'),'content':_0x2dfaa0(this[_0x1d18('0x2')][_0x1d18('0x1d')],_0x31b24c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x62f5=['_trackChangesValueDuringImport','dataInsert','_handleImportedData','plugins','commands','TrackChangesEditing','listenTo','trackChanges','bind','get','afterInit','value','collaboration_features','_trackChangesExecuted','Users','_setSuggestionData','editor','importWord','execute','enableCommand','forEach'];(function(_0x4f8ae1,_0x62f54c){const _0x4aaaee=function(_0x25d2dd){while(--_0x25d2dd){_0x4f8ae1['push'](_0x4f8ae1['shift']());}};_0x4aaaee(++_0x62f54c);}(_0x62f5,0x1b2));const _0x4aaa=function(_0x4f8ae1,_0x62f54c){_0x4f8ae1=_0x4f8ae1-0x0;let _0x4aaaee=_0x62f5[_0x4f8ae1];return _0x4aaaee;};import{Plugin as _0x5be6ef}from'ckeditor5/src/core';export default class Z extends _0x5be6ef{constructor(_0x5a8090){super(_0x5a8090),this[_0x4aaa('0x7')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4aaa('0x11')](){const _0x2fbc6e=this['editor'],_0x1db674=_0x2fbc6e[_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0x3')),_0x2e0889=_0x2fbc6e[_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0xe'));_0x1db674&&(_0x1db674['on'](_0x4aaa('0x4'),(_0x45581d,[,_0x334122])=>{this[_0x4aaa('0x7')]=_0x2e0889[_0x4aaa('0x12')],_0x334122[_0x4aaa('0x13')]['track_changes']=!this[_0x4aaa('0x7')];},{'priority':'high'}),this['listenTo'](_0x1db674,_0x4aaa('0x8'),this['_handleImportedData'][_0x4aaa('0xf')](this)),this[_0x4aaa('0xd')](_0x1db674,'dataInsert',()=>{this[_0x4aaa('0x14')]&&(_0x2e0889[_0x4aaa('0x4')](),this[_0x4aaa('0x14')]=!0x1);},{'priority':'lowest'}),_0x2fbc6e[_0x4aaa('0xa')][_0x4aaa('0x10')]('TrackChangesEditing')[_0x4aaa('0x5')](_0x4aaa('0x3')));}[_0x4aaa('0x9')](_0x28c918,_0x213c86){const {suggestions:_0x29fe3a}=_0x213c86,_0x521c8a=this['editor'][_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0xe')),_0x11d55d=_0x521c8a[_0x4aaa('0x12')];this[_0x4aaa('0x7')]!==_0x11d55d&&(_0x521c8a['execute'](),this[_0x4aaa('0x14')]=!0x0),_0x29fe3a&&_0x29fe3a[_0x4aaa('0x6')](({id:_0x21f99b,type:_0x3e08b7,author:_0x1e8f86,created_at:_0xaf6a1f})=>{const _0x3f1441={'id':_0x21f99b,'type':_0x3e08b7,'authorId':this['editor'][_0x4aaa('0xa')][_0x4aaa('0x10')](_0x4aaa('0x0'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1e8f86,'createdAt':_0xaf6a1f?new Date(_0xaf6a1f):new Date(),'source':'importWord'}}};this[_0x4aaa('0x2')][_0x4aaa('0xa')][_0x4aaa('0x10')](_0x4aaa('0xc'))[_0x4aaa('0x1')](_0x3f1441);});}}
23
+ const _0x212b=['collaboration_features','_trackChangesExecuted','_handleImportedData','listenTo','importWord','bind','plugins','get','execute','lowest','value','commands','TrackChangesEditing','trackChanges','_setSuggestionData','Users','dataInsert','enableCommand','editor','_trackChangesValueDuringImport'];(function(_0x3ba653,_0x212b4d){const _0x10f875=function(_0x2aa453){while(--_0x2aa453){_0x3ba653['push'](_0x3ba653['shift']());}};_0x10f875(++_0x212b4d);}(_0x212b,0x15e));const _0x10f8=function(_0x3ba653,_0x212b4d){_0x3ba653=_0x3ba653-0x0;let _0x10f875=_0x212b[_0x3ba653];return _0x10f875;};import{Plugin as _0xc704b4}from'ckeditor5/src/core';export default class Z extends _0xc704b4{constructor(_0x156609){super(_0x156609),this[_0x10f8('0x9')]=!0x1,this[_0x10f8('0xb')]=!0x1;}['afterInit'](){const _0x37397f=this[_0x10f8('0x8')],_0x24704e=_0x37397f[_0x10f8('0x1')][_0x10f8('0x11')](_0x10f8('0xe')),_0x2de6ad=_0x37397f['commands'][_0x10f8('0x11')](_0x10f8('0x3'));_0x24704e&&(_0x24704e['on'](_0x10f8('0x12'),(_0x2774d9,[,_0xd186dc])=>{this[_0x10f8('0x9')]=_0x2de6ad[_0x10f8('0x0')],_0xd186dc[_0x10f8('0xa')]['track_changes']=!this[_0x10f8('0x9')];},{'priority':'high'}),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),this['_handleImportedData'][_0x10f8('0xf')](this)),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),()=>{this[_0x10f8('0xb')]&&(_0x2de6ad[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x10f8('0x13')}),_0x37397f[_0x10f8('0x10')][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x7')]('importWord'));}[_0x10f8('0xc')](_0x128759,_0x37171f){const {suggestions:_0x35d5a5}=_0x37171f,_0xf1fb38=this[_0x10f8('0x8')][_0x10f8('0x1')]['get'](_0x10f8('0x3')),_0x2c543c=_0xf1fb38[_0x10f8('0x0')];this[_0x10f8('0x9')]!==_0x2c543c&&(_0xf1fb38[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x0),_0x35d5a5&&_0x35d5a5['forEach'](({id:_0x67745a,type:_0x616279,author:_0x5f54db,created_at:_0x5702eb})=>{const _0x1d541b={'id':_0x67745a,'type':_0x616279,'authorId':this[_0x10f8('0x8')][_0x10f8('0x10')]['get'](_0x10f8('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5f54db,'createdAt':_0x5702eb?new Date(_0x5702eb):new Date(),'source':'importWord'}}};this[_0x10f8('0x8')]['plugins'][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x4')](_0x1d541b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e96=['editor','IndentBlock','enableCommand','plugins','getItems','_descriptionFactory','registerDescriptionCallback','TrackChangesEditing','markBlockFormat','get','schema','format','outdent','selection','commandName','indentBlock','checkAttribute','model','*Indent:*\x20%0','IndentEditing','getSelectedBlocks','filter','outdentBlock','locale','indent','document','afterInit','has'];(function(_0x5f6a86,_0x2e9610){const _0x56f841=function(_0x26fc4e){while(--_0x26fc4e){_0x5f6a86['push'](_0x5f6a86['shift']());}};_0x56f841(++_0x2e9610);}(_0x2e96,0x7d));const _0x56f8=function(_0x5f6a86,_0x2e9610){_0x5f6a86=_0x5f6a86-0x0;let _0x56f841=_0x2e96[_0x5f6a86];return _0x56f841;};import{Plugin as _0xb86280}from'ckeditor5/src/core';import{getTranslation as _0x302fe9}from'../utils/common-translations';export default class tt extends _0xb86280{[_0x56f8('0xd')](){const _0x42f12a=this[_0x56f8('0xf')],_0x6349c7=_0x42f12a['plugins'][_0x56f8('0x18')](_0x56f8('0x16'));_0x42f12a[_0x56f8('0x12')][_0x56f8('0xe')](_0x56f8('0x6'))&&(_0x6349c7[_0x56f8('0x11')](_0x56f8('0xb')),_0x6349c7[_0x56f8('0x11')](_0x56f8('0x1b')));const _0x8a7e91=_0x42f12a[_0x56f8('0xa')];if(_0x42f12a[_0x56f8('0x12')][_0x56f8('0xe')](_0x56f8('0x10'))){for(const _0x5a9086 of[_0x56f8('0x2'),_0x56f8('0x9')])_0x6349c7[_0x56f8('0x11')](_0x5a9086,()=>{const _0x105088=Array['from'](this[_0x56f8('0xf')][_0x56f8('0x4')][_0x56f8('0xc')][_0x56f8('0x0')][_0x56f8('0x7')]())[_0x56f8('0x8')](_0x4b763f=>this[_0x56f8('0xf')]['model'][_0x56f8('0x19')][_0x56f8('0x3')](_0x4b763f,'blockIndent'));_0x42f12a[_0x56f8('0x4')]['change'](()=>{for(const _0x4140eb of _0x105088)_0x6349c7[_0x56f8('0x17')](_0x4140eb,{'commandName':_0x5a9086,'commandParams':[{'value':''}],'formatGroupId':_0x56f8('0x2')});});});_0x6349c7[_0x56f8('0x14')][_0x56f8('0x15')](_0x1daab0=>{const {data:_0x5dce4e}=_0x1daab0;if(!_0x5dce4e)return;if('indentBlock'!=_0x5dce4e[_0x56f8('0x1')]&&_0x56f8('0x9')!=_0x5dce4e['commandName'])return;const _0xad104=_0x1daab0[_0x56f8('0x13')]()[0x0],_0x4baa3b=_0x6349c7['_descriptionFactory']['getItemLabel'](_0xad104);return _0x56f8('0x2')==_0x5dce4e[_0x56f8('0x1')]?{'type':'format','content':_0x302fe9(_0x8a7e91,_0x56f8('0x5'),_0x4baa3b)}:_0x56f8('0x9')==_0x5dce4e[_0x56f8('0x1')]?{'type':_0x56f8('0x1a'),'content':_0x302fe9(_0x8a7e91,'*Outdent:*\x20%0',_0x4baa3b)}:void 0x0;});}}}
23
+ const _0x4cc6=['indent','format','registerDescriptionCallback','model','document','editor','locale','*Outdent:*\x20%0','blockIndent','plugins','_descriptionFactory','selection','IndentBlock','commandName','outdentBlock','*Indent:*\x20%0','getItems','schema','indentBlock','IndentEditing','enableCommand','has','getSelectedBlocks','filter','markBlockFormat','change','afterInit'];(function(_0x3578e3,_0x4cc6dd){const _0x15751a=function(_0x230d08){while(--_0x230d08){_0x3578e3['push'](_0x3578e3['shift']());}};_0x15751a(++_0x4cc6dd);}(_0x4cc6,0x144));const _0x1575=function(_0x3578e3,_0x4cc6dd){_0x3578e3=_0x3578e3-0x0;let _0x15751a=_0x4cc6[_0x3578e3];return _0x15751a;};import{Plugin as _0x494f7e}from'ckeditor5/src/core';import{getTranslation as _0xae5c63}from'../utils/common-translations';export default class tt extends _0x494f7e{[_0x1575('0x1a')](){const _0x2ac7c3=this[_0x1575('0x5')],_0x1c635d=_0x2ac7c3[_0x1575('0x9')]['get']('TrackChangesEditing');_0x2ac7c3[_0x1575('0x9')][_0x1575('0x15')](_0x1575('0x13'))&&(_0x1c635d[_0x1575('0x14')](_0x1575('0x0')),_0x1c635d['enableCommand']('outdent'));const _0x138400=_0x2ac7c3[_0x1575('0x6')];if(_0x2ac7c3['plugins'][_0x1575('0x15')](_0x1575('0xc'))){for(const _0x3892d8 of[_0x1575('0x12'),'outdentBlock'])_0x1c635d[_0x1575('0x14')](_0x3892d8,()=>{const _0x2bc07c=Array['from'](this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x4')][_0x1575('0xb')][_0x1575('0x16')]())[_0x1575('0x17')](_0x4b23c0=>this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x11')]['checkAttribute'](_0x4b23c0,_0x1575('0x8')));_0x2ac7c3[_0x1575('0x3')][_0x1575('0x19')](()=>{for(const _0x56ad82 of _0x2bc07c)_0x1c635d[_0x1575('0x18')](_0x56ad82,{'commandName':_0x3892d8,'commandParams':[{'value':''}],'formatGroupId':_0x1575('0x12')});});});_0x1c635d[_0x1575('0xa')][_0x1575('0x2')](_0x1edb9e=>{const {data:_0x41f4df}=_0x1edb9e;if(!_0x41f4df)return;if(_0x1575('0x12')!=_0x41f4df[_0x1575('0xd')]&&_0x1575('0xe')!=_0x41f4df[_0x1575('0xd')])return;const _0x237eb5=_0x1edb9e[_0x1575('0x10')]()[0x0],_0x2ea9aa=_0x1c635d['_descriptionFactory']['getItemLabel'](_0x237eb5);return'indentBlock'==_0x41f4df['commandName']?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0xf'),_0x2ea9aa)}:'outdentBlock'==_0x41f4df[_0x1575('0xd')]?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0x7'),_0x2ea9aa)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x332b=['requires','enableCommand','editor','input','plugins','TrackChangesEditing'];(function(_0x19443f,_0x332b38){var _0xa87239=function(_0x516bb3){while(--_0x516bb3){_0x19443f['push'](_0x19443f['shift']());}};_0xa87239(++_0x332b38);}(_0x332b,0xce));var _0xa872=function(_0x19443f,_0x332b38){_0x19443f=_0x19443f-0x0;var _0xa87239=_0x332b[_0x19443f];return _0xa87239;};import{Plugin as _0x5df920}from'ckeditor5/src/core';import{Input as _0xa34ee0}from'ckeditor5/src/typing';export default class it extends _0x5df920{static get[_0xa872('0x4')](){return[_0xa34ee0];}['init'](){this[_0xa872('0x0')][_0xa872('0x2')]['get'](_0xa872('0x3'))[_0xa872('0x5')](_0xa872('0x1'));}}
23
+ var _0x275a=['editor','plugins','input','init','TrackChangesEditing'];(function(_0x1cb779,_0x275ae0){var _0x552c97=function(_0xfe9ece){while(--_0xfe9ece){_0x1cb779['push'](_0x1cb779['shift']());}};_0x552c97(++_0x275ae0);}(_0x275a,0xdc));var _0x552c=function(_0x1cb779,_0x275ae0){_0x1cb779=_0x1cb779-0x0;var _0x552c97=_0x275a[_0x1cb779];return _0x552c97;};import{Plugin as _0x317931}from'ckeditor5/src/core';import{Input as _0x47c477}from'ckeditor5/src/typing';export default class it extends _0x317931{static get['requires'](){return[_0x47c477];}[_0x552c('0x3')](){this[_0x552c('0x0')][_0x552c('0x1')]['get'](_0x552c('0x4'))['enableCommand'](_0x552c('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57ba=['model','format','get','editor','_descriptionFactory','enableCommand','getFirstRange','linkHref','document','*Remove\x20link*','selection','LinkEditing','change','isCollapsed','unlink','markInlineFormat','getFirstPosition','getAttribute','hasAttribute','registerDescriptionCallback','link','plugins','has','commandParams','commandName'];(function(_0x2bf203,_0x57bac3){const _0x593316=function(_0x47623a){while(--_0x47623a){_0x2bf203['push'](_0x2bf203['shift']());}};_0x593316(++_0x57bac3);}(_0x57ba,0x11c));const _0x5933=function(_0x2bf203,_0x57bac3){_0x2bf203=_0x2bf203-0x0;let _0x593316=_0x57ba[_0x2bf203];return _0x593316;};import{Plugin as _0x4d130c}from'ckeditor5/src/core';import{findAttributeRange as _0x3b8137}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2d413c}from'./utils';import{getTranslation as _0x16c533}from'../utils/common-translations';export default class et extends _0x4d130c{['afterInit'](){const _0x2b7b52=this[_0x5933('0x13')];if(!_0x2b7b52[_0x5933('0xc')][_0x5933('0xd')](_0x5933('0x2')))return;const _0x5ebf3f=_0x2b7b52[_0x5933('0xc')][_0x5933('0x12')]('TrackChangesEditing');_0x5ebf3f[_0x5933('0x15')](_0x5933('0xb'),(_0x959714,_0x2e1c3b)=>{const _0x4b9a21=_0x2b7b52[_0x5933('0x10')][_0x5933('0x18')][_0x5933('0x1')];let _0x4bfd66=[];if(_0x4b9a21[_0x5933('0x4')]){if(!_0x4b9a21[_0x5933('0x9')](_0x5933('0x17')))return void _0x959714(_0x2e1c3b);{const _0x506c29=_0x3b8137(_0x4b9a21[_0x5933('0x7')](),'linkHref',_0x4b9a21[_0x5933('0x8')]('linkHref'),_0x2b7b52[_0x5933('0x10')]);_0x4bfd66=[_0x506c29];}}else _0x4bfd66=Array['from'](_0x4b9a21['getRanges']());_0x2b7b52['model'][_0x5933('0x3')](()=>{for(const _0x1e9c34 of _0x4bfd66)_0x5ebf3f[_0x5933('0x6')](_0x1e9c34,{'commandName':_0x5933('0xb'),'commandParams':[_0x2e1c3b]});});}),_0x5ebf3f[_0x5933('0x15')](_0x5933('0x5'),()=>{const _0x28f43f=this['editor'][_0x5933('0x10')],_0x2b6a84=_0x28f43f['document']['selection'];_0x28f43f[_0x5933('0x3')](()=>{let _0x39d798=[];if(_0x2b6a84[_0x5933('0x4')])_0x39d798=[_0x3b8137(_0x2b6a84[_0x5933('0x7')](),_0x5933('0x17'),_0x2b6a84[_0x5933('0x8')]('linkHref'),_0x2b7b52[_0x5933('0x10')])];else _0x39d798=_0x2d413c(_0x5933('0x17'),_0x2b6a84[_0x5933('0x16')](),_0x2b7b52['model']);for(const _0x2f79ee of _0x39d798)_0x5ebf3f['markInlineFormat'](_0x2f79ee,{'commandName':_0x5933('0x5'),'commandParams':[]});});}),_0x5ebf3f[_0x5933('0x14')][_0x5933('0xa')](_0x3a2330=>{const {data:_0x1fd1ed}=_0x3a2330,_0x2c9e68=_0x2b7b52['locale'];if(_0x1fd1ed){if(_0x5933('0xb')==_0x1fd1ed[_0x5933('0xf')]){const _0x2a5052=_0x1fd1ed[_0x5933('0xe')][0x0];return{'type':_0x5933('0x11'),'content':_0x16c533(_0x2c9e68,'*Set\x20link:*\x20%0','\x22'+_0x2a5052+'\x22')};}return _0x5933('0x5')==_0x1fd1ed[_0x5933('0xf')]?{'type':_0x5933('0x11'),'content':_0x16c533(_0x2c9e68,_0x5933('0x0'))}:void 0x0;}});}}
23
+ const _0x137a=['document','plugins','format','getRanges','model','getAttribute','get','commandParams','_descriptionFactory','*Set\x20link:*\x20%0','has','locale','change','linkHref','hasAttribute','*Remove\x20link*','LinkEditing','getFirstRange','getFirstPosition','from','link','editor','unlink','selection','registerDescriptionCallback','commandName','enableCommand'];(function(_0x2b3bff,_0x137a23){const _0x4671d8=function(_0x4824ac){while(--_0x4824ac){_0x2b3bff['push'](_0x2b3bff['shift']());}};_0x4671d8(++_0x137a23);}(_0x137a,0x119));const _0x4671=function(_0x2b3bff,_0x137a23){_0x2b3bff=_0x2b3bff-0x0;let _0x4671d8=_0x137a[_0x2b3bff];return _0x4671d8;};import{Plugin as _0x46d4e0}from'ckeditor5/src/core';import{findAttributeRange as _0xb362c8}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x474e53}from'./utils';import{getTranslation as _0x428530}from'../utils/common-translations';export default class et extends _0x46d4e0{['afterInit'](){const _0x35bcc9=this[_0x4671('0xa')];if(!_0x35bcc9[_0x4671('0x11')][_0x4671('0x1a')](_0x4671('0x5')))return;const _0x3e0e9d=_0x35bcc9[_0x4671('0x11')][_0x4671('0x16')]('TrackChangesEditing');_0x3e0e9d[_0x4671('0xf')](_0x4671('0x9'),(_0x2e200b,_0x4c2b07)=>{const _0x3dd468=_0x35bcc9['model'][_0x4671('0x10')][_0x4671('0xc')];let _0x1913f2=[];if(_0x3dd468['isCollapsed']){if(!_0x3dd468[_0x4671('0x3')](_0x4671('0x2')))return void _0x2e200b(_0x4c2b07);{const _0x52bda1=_0xb362c8(_0x3dd468[_0x4671('0x7')](),'linkHref',_0x3dd468['getAttribute'](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')]);_0x1913f2=[_0x52bda1];}}else _0x1913f2=Array[_0x4671('0x8')](_0x3dd468[_0x4671('0x13')]());_0x35bcc9['model'][_0x4671('0x1')](()=>{for(const _0x566221 of _0x1913f2)_0x3e0e9d['markInlineFormat'](_0x566221,{'commandName':_0x4671('0x9'),'commandParams':[_0x4c2b07]});});}),_0x3e0e9d[_0x4671('0xf')](_0x4671('0xb'),()=>{const _0x2a3551=this[_0x4671('0xa')][_0x4671('0x14')],_0x61ba70=_0x2a3551[_0x4671('0x10')][_0x4671('0xc')];_0x2a3551['change'](()=>{let _0x1ae1e5=[];if(_0x61ba70['isCollapsed'])_0x1ae1e5=[_0xb362c8(_0x61ba70[_0x4671('0x7')](),_0x4671('0x2'),_0x61ba70[_0x4671('0x15')](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')])];else _0x1ae1e5=_0x474e53('linkHref',_0x61ba70[_0x4671('0x6')](),_0x35bcc9['model']);for(const _0x57ea08 of _0x1ae1e5)_0x3e0e9d['markInlineFormat'](_0x57ea08,{'commandName':_0x4671('0xb'),'commandParams':[]});});}),_0x3e0e9d[_0x4671('0x18')][_0x4671('0xd')](_0x37a840=>{const {data:_0x36fcad}=_0x37a840,_0x455004=_0x35bcc9[_0x4671('0x0')];if(_0x36fcad){if(_0x4671('0x9')==_0x36fcad[_0x4671('0xe')]){const _0x38aa90=_0x36fcad[_0x4671('0x17')][0x0];return{'type':_0x4671('0x12'),'content':_0x428530(_0x455004,_0x4671('0x19'),'\x22'+_0x38aa90+'\x22')};}return _0x4671('0xb')==_0x36fcad[_0x4671('0xe')]?{'type':'format','content':_0x428530(_0x455004,_0x4671('0x4'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x116c=['ELEMENT_TODO_LIST','parent','filter','selection','end','*Indent:*\x20%0','numberedList','indentList','findIndex','get','listItem','commandName','afterInit','from','numbered','todoListChecked','element','nextSibling','document','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','previousSibling','value','blockName','add','ListEditing','listIndent','schema','ELEMENT_NUMBERED_LIST','TrackChangesEditing','push','plugins','name','slice','createPositionAt','isObject','*Check\x20item*','bulleted','change','has','model','checkTodoList','registerElementLabel','listType','length','bulletedList','_descriptionFactory','createRange','execute','ELEMENT_BULLETED_LIST','_selectedElements','commands','checkChild','getAttribute','*Uncheck\x20item*','before','todoList','paragraph','markBlockFormat','getSelectedBlocks','registerDescriptionCallback','enableCommand','todo','outdentList','format'];(function(_0x57cab3,_0x116cad){const _0x3abd8f=function(_0x462573){while(--_0x462573){_0x57cab3['push'](_0x57cab3['shift']());}};_0x3abd8f(++_0x116cad);}(_0x116c,0x1d5));const _0x3abd=function(_0x57cab3,_0x116cad){_0x57cab3=_0x57cab3-0x0;let _0x3abd8f=_0x116c[_0x57cab3];return _0x3abd8f;};import{Plugin as _0x8aa245}from'ckeditor5/src/core';import{getTranslation as _0x30bd23}from'../utils/common-translations';export default class st extends _0x8aa245{[_0x3abd('0x3f')](){const _0x31ffa7=this['editor'],_0x2b375d=_0x31ffa7['locale'];if(!_0x31ffa7[_0x3abd('0x11')][_0x3abd('0x19')](_0x3abd('0xb')))return;const _0xda5883=_0x31ffa7[_0x3abd('0x11')][_0x3abd('0x3c')](_0x3abd('0xf')),_0x517862=_0x31ffa7['plugins']['has']('TodoListEditing');function _0x1b9ed6(_0xa27115){return()=>{const _0x4e9b86=_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x4')][_0x3abd('0x36')],_0x5af03c=_0x31ffa7['commands'][_0x3abd('0x3c')](_0xa27115);if(_0x5af03c['value'])return void _0x31ffa7[_0x3abd('0x22')](_0x3abd('0x2b'),{});const _0x2afd58=_0xa27115[_0x3abd('0x13')](0x0,-0x4),_0x53ce47=function(_0x2407a8,_0x1b0d04,_0x247c19){let _0xc7f166=Array[_0x3abd('0x40')](_0x2407a8)[_0x3abd('0x35')](_0x22cec0=>function(_0xee5b7d,_0x27c471){return _0x27c471[_0x3abd('0x26')](_0xee5b7d[_0x3abd('0x34')],_0x3abd('0x3d'))&&!_0x27c471[_0x3abd('0x15')](_0xee5b7d);}(_0x22cec0,_0x247c19));_0xc7f166=_0xc7f166['filter'](_0x3d80f2=>!_0x3d80f2['is'](_0x3abd('0x2'),_0x3abd('0x3d'))||_0x3d80f2[_0x3abd('0x27')](_0x3abd('0x1d'))!=_0x1b0d04);const _0x13bc84=new Set();for(const _0x11dd75 of _0xc7f166)_0x11dd75['is']('element',_0x3abd('0x3d'))?_0x13bc84[_0x3abd('0xa')](ne(_0x11dd75)):_0x13bc84['add'](_0x11dd75);return Array[_0x3abd('0x40')](_0x13bc84);}(_0x4e9b86[_0x3abd('0x2d')](),_0x2afd58,_0x31ffa7['model'][_0x3abd('0xd')]);_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{for(const _0x4c7b92 of _0x53ce47)_0xda5883[_0x3abd('0x2c')](_0x4c7b92,{'commandName':_0xa27115,'commandParams':[{'forceValue':!_0x5af03c['value']}],'formatGroupId':_0x3abd('0x9')},oe(_0x4c7b92));});};}function _0x48e712(_0x165c30){return()=>{const _0x2314fb=function(_0x5251e8){let _0x2bd1dd=Array['from'](_0x5251e8);const _0x33b1ff=_0x2bd1dd[_0x3abd('0x3b')](_0x2cae27=>_0x3abd('0x3d')!=_0x2cae27['name']);return _0x33b1ff>-0x1&&(_0x2bd1dd=_0x2bd1dd[_0x3abd('0x13')](0x0,_0x33b1ff)),_0x2bd1dd;}(_0x31ffa7['model']['document'][_0x3abd('0x36')][_0x3abd('0x2d')]()),_0x593892=_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x21')](_0x31ffa7[_0x3abd('0x1a')]['createPositionAt'](_0x2314fb[0x0],_0x3abd('0x29')),_0x31ffa7['model'][_0x3abd('0x14')](_0x2314fb[_0x2314fb[_0x3abd('0x1e')]-0x1],_0x3abd('0x37')));_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{_0xda5883[_0x3abd('0x2c')](_0x593892,{'commandName':_0x165c30,'commandParams':[],'formatGroupId':_0x3abd('0xc')},function(_0x48a1f0){const _0xce5f65=new Set();for(const _0x4571db of _0x48a1f0){let _0x1837d7=_0x4571db[_0x3abd('0x3')];for(;_0x1837d7&&_0x1837d7[_0x3abd('0x27')](_0x3abd('0xc'))>_0x4571db[_0x3abd('0x27')](_0x3abd('0xc'));)_0xce5f65['add'](_0x1837d7),_0x1837d7=_0x1837d7['nextSibling'];}return Array['from'](_0xce5f65);}(_0x2314fb));});};}_0xda5883[_0x3abd('0x2f')](_0x3abd('0x39'),_0x1b9ed6('numberedList')),_0xda5883[_0x3abd('0x2f')]('bulletedList',_0x1b9ed6(_0x3abd('0x1f'))),_0x517862&&_0xda5883['enableCommand'](_0x3abd('0x2a'),_0x1b9ed6('todoList')),_0xda5883[_0x3abd('0x2f')](_0x3abd('0x3a'),_0x48e712(_0x3abd('0x3a'))),_0xda5883[_0x3abd('0x2f')](_0x3abd('0x31'),_0x48e712(_0x3abd('0x31'))),_0x517862&&_0xda5883['enableCommand'](_0x3abd('0x1b'),()=>{const _0x21ac4f=_0x31ffa7[_0x3abd('0x25')][_0x3abd('0x3c')]('checkTodoList'),_0x339a29=Array[_0x3abd('0x40')](_0x21ac4f[_0x3abd('0x24')]);_0x339a29[_0x3abd('0x35')](_0x4a21f1=>_0x4a21f1[_0x3abd('0x27')](_0x3abd('0x1'))!=_0x21ac4f['value']),_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{for(const _0x3d5585 of _0x339a29)_0xda5883[_0x3abd('0x2c')](_0x3d5585,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x21ac4f[_0x3abd('0x8')]}]});});}),_0xda5883[_0x3abd('0x20')][_0x3abd('0x1c')]('listItem',_0x58cd58=>_0x30bd23(_0x2b375d,_0x3abd('0x6'),_0x58cd58)),_0xda5883[_0x3abd('0x20')][_0x3abd('0x2e')](_0x38ea1d=>{const {data:_0x48fc5e}=_0x38ea1d;if(_0x48fc5e){if(_0x3abd('0x39')==_0x48fc5e[_0x3abd('0x3e')]||_0x3abd('0x1f')==_0x48fc5e[_0x3abd('0x3e')]||_0x3abd('0x2a')==_0x48fc5e[_0x3abd('0x3e')])switch(_0x48fc5e[_0x3abd('0x3e')]['replace']('List','')){case _0x3abd('0x17'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0x23')));case _0x3abd('0x0'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0xe')));case _0x3abd('0x30'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0x33')));}if(_0x3abd('0x3a')==_0x48fc5e[_0x3abd('0x3e')])return{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x38'),_0x30bd23(_0x2b375d,_0x3abd('0x6')))};if('outdentList'==_0x48fc5e[_0x3abd('0x3e')])return{'type':'format','content':_0x30bd23(_0x2b375d,'*Outdent:*\x20%0',_0x30bd23(_0x2b375d,_0x3abd('0x6')))};if('checkTodoList'==_0x48fc5e['commandName'])return _0x48fc5e['commandParams'][0x0]['forceValue']?{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x16'))}:{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x28'))};}function _0x4d3bb2(_0x4e4e06){return{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x5'),_0x4e4e06)};}});}}function ne(_0x221648){const _0x3dd984=_0x221648['getAttribute'](_0x3abd('0xc'));if(0x0==_0x3dd984)return _0x221648;let _0x1e085e=_0x221648;for(;_0x221648[_0x3abd('0x7')]&&_0x221648[_0x3abd('0x7')]['is']('element',_0x3abd('0x3d'));){const _0x42a845=_0x221648[_0x3abd('0x7')][_0x3abd('0x27')](_0x3abd('0xc'));if(_0x42a845==_0x3dd984)_0x1e085e=_0x221648['previousSibling'];else{if(_0x42a845<_0x3dd984)break;}_0x221648=_0x221648[_0x3abd('0x7')];}return _0x1e085e;}function oe(_0x5a6c03){const _0x359892=[];if(_0x5a6c03['is'](_0x3abd('0x2'),_0x3abd('0x3d'))&&_0x5a6c03[_0x3abd('0x27')]('listIndent')>0x0){let _0x6f700e=_0x5a6c03[_0x3abd('0x3')];for(;_0x6f700e&&_0x3abd('0x3d')==_0x6f700e[_0x3abd('0x12')]&&_0x6f700e['getAttribute'](_0x3abd('0xc'))==_0x5a6c03['getAttribute'](_0x3abd('0xc'));)_0x359892[_0x3abd('0x10')](_0x6f700e),_0x6f700e=_0x6f700e[_0x3abd('0x3')];}return _0x359892;}
23
+ const _0x3e1c=['name','add','previousSibling','getAttribute','selection','editor','listIndent','bulleted','plugins','length','has','before','commandParams','commands','checkTodoList','createPositionAt','bulletedList','registerElementLabel','outdentList','value','locale','document','get','change','element','blockName','*Change\x20to:*\x20%0','checkChild','listType','filter','commandName','replace','todoList','format','*Uncheck\x20item*','ELEMENT_NUMBERED_LIST','ELEMENT_LIST_ITEM','execute','_descriptionFactory','enableCommand','numbered','indentList','todoListChecked','nextSibling','*Check\x20item*','model','slice','afterInit','from','getSelectedBlocks','listItem','markBlockFormat','createRange','List','ELEMENT_TODO_LIST','parent','ListEditing','schema','numberedList'];(function(_0xf7180e,_0x3e1c2c){const _0x1a0fce=function(_0x23a0b7){while(--_0x23a0b7){_0xf7180e['push'](_0xf7180e['shift']());}};_0x1a0fce(++_0x3e1c2c);}(_0x3e1c,0xa4));const _0x1a0f=function(_0xf7180e,_0x3e1c2c){_0xf7180e=_0xf7180e-0x0;let _0x1a0fce=_0x3e1c[_0xf7180e];return _0x1a0fce;};import{Plugin as _0x49ed87}from'ckeditor5/src/core';import{getTranslation as _0x56b9bf}from'../utils/common-translations';export default class st extends _0x49ed87{[_0x1a0f('0x1')](){const _0x3a6ddd=this[_0x1a0f('0x12')],_0x58d1df=_0x3a6ddd[_0x1a0f('0x21')];if(!_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')](_0x1a0f('0xa')))return;const _0x477d76=_0x3a6ddd['plugins']['get']('TrackChangesEditing'),_0x1e6ef8=_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')]('TodoListEditing');function _0x251daa(_0x2b3491){return()=>{const _0x15d486=_0x3a6ddd['model'][_0x1a0f('0x22')][_0x1a0f('0x11')],_0x5e66eb=_0x3a6ddd[_0x1a0f('0x1a')][_0x1a0f('0x23')](_0x2b3491);if(_0x5e66eb[_0x1a0f('0x20')])return void _0x3a6ddd[_0x1a0f('0x32')]('paragraph',{});const _0x1a7f62=_0x2b3491[_0x1a0f('0x0')](0x0,-0x4),_0x1174ed=function(_0x129433,_0x498f2c,_0x3557d6){let _0x3a9c9d=Array[_0x1a0f('0x2')](_0x129433)[_0x1a0f('0x2a')](_0x27f9ba=>function(_0x31da2a,_0x5b20f4){return _0x5b20f4[_0x1a0f('0x28')](_0x31da2a[_0x1a0f('0x9')],_0x1a0f('0x4'))&&!_0x5b20f4['isObject'](_0x31da2a);}(_0x27f9ba,_0x3557d6));_0x3a9c9d=_0x3a9c9d[_0x1a0f('0x2a')](_0x3aa8a2=>!_0x3aa8a2['is']('element',_0x1a0f('0x4'))||_0x3aa8a2[_0x1a0f('0x10')](_0x1a0f('0x29'))!=_0x498f2c);const _0x3d549a=new Set();for(const _0x47903a of _0x3a9c9d)_0x47903a['is']('element',_0x1a0f('0x4'))?_0x3d549a[_0x1a0f('0xe')](ne(_0x47903a)):_0x3d549a[_0x1a0f('0xe')](_0x47903a);return Array[_0x1a0f('0x2')](_0x3d549a);}(_0x15d486[_0x1a0f('0x3')](),_0x1a7f62,_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0xb')]);_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x169f0e of _0x1174ed)_0x477d76[_0x1a0f('0x5')](_0x169f0e,{'commandName':_0x2b3491,'commandParams':[{'forceValue':!_0x5e66eb['value']}],'formatGroupId':_0x1a0f('0x26')},oe(_0x169f0e));});};}function _0x45b468(_0x5b561d){return()=>{const _0x38a783=function(_0x33eef9){let _0x11baf4=Array[_0x1a0f('0x2')](_0x33eef9);const _0x2bb5bf=_0x11baf4['findIndex'](_0x1bd61d=>_0x1a0f('0x4')!=_0x1bd61d[_0x1a0f('0xd')]);return _0x2bb5bf>-0x1&&(_0x11baf4=_0x11baf4[_0x1a0f('0x0')](0x0,_0x2bb5bf)),_0x11baf4;}(_0x3a6ddd[_0x1a0f('0x3a')]['document']['selection'][_0x1a0f('0x3')]()),_0xcb065d=_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x6')](_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x1c')](_0x38a783[0x0],_0x1a0f('0x18')),_0x3a6ddd['model']['createPositionAt'](_0x38a783[_0x38a783[_0x1a0f('0x16')]-0x1],'end'));_0x3a6ddd['model'][_0x1a0f('0x24')](()=>{_0x477d76[_0x1a0f('0x5')](_0xcb065d,{'commandName':_0x5b561d,'commandParams':[],'formatGroupId':_0x1a0f('0x13')},function(_0x4c3c88){const _0x507a6e=new Set();for(const _0x259570 of _0x4c3c88){let _0x1557ee=_0x259570[_0x1a0f('0x38')];for(;_0x1557ee&&_0x1557ee[_0x1a0f('0x10')](_0x1a0f('0x13'))>_0x259570['getAttribute'](_0x1a0f('0x13'));)_0x507a6e[_0x1a0f('0xe')](_0x1557ee),_0x1557ee=_0x1557ee[_0x1a0f('0x38')];}return Array['from'](_0x507a6e);}(_0x38a783));});};}_0x477d76[_0x1a0f('0x34')](_0x1a0f('0xc'),_0x251daa(_0x1a0f('0xc'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x1d'),_0x251daa(_0x1a0f('0x1d'))),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x2d'),_0x251daa(_0x1a0f('0x2d'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x36'),_0x45b468(_0x1a0f('0x36'))),_0x477d76[_0x1a0f('0x34')]('outdentList',_0x45b468('outdentList')),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')]('checkTodoList',()=>{const _0x5edb3a=_0x3a6ddd['commands'][_0x1a0f('0x23')](_0x1a0f('0x1b')),_0x4b8bad=Array['from'](_0x5edb3a['_selectedElements']);_0x4b8bad['filter'](_0x43e904=>_0x43e904[_0x1a0f('0x10')](_0x1a0f('0x37'))!=_0x5edb3a[_0x1a0f('0x20')]),_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x5cca6f of _0x4b8bad)_0x477d76['markBlockFormat'](_0x5cca6f,{'commandName':_0x1a0f('0x1b'),'commandParams':[{'forceValue':!_0x5edb3a['value']}]});});}),_0x477d76[_0x1a0f('0x33')][_0x1a0f('0x1e')](_0x1a0f('0x4'),_0x15dce8=>_0x56b9bf(_0x58d1df,_0x1a0f('0x31'),_0x15dce8)),_0x477d76[_0x1a0f('0x33')]['registerDescriptionCallback'](_0x49e0b3=>{const {data:_0x11f3f9}=_0x49e0b3;if(_0x11f3f9){if(_0x1a0f('0xc')==_0x11f3f9['commandName']||_0x1a0f('0x1d')==_0x11f3f9[_0x1a0f('0x2b')]||_0x1a0f('0x2d')==_0x11f3f9[_0x1a0f('0x2b')])switch(_0x11f3f9['commandName'][_0x1a0f('0x2c')](_0x1a0f('0x7'),'')){case _0x1a0f('0x14'):return _0x3db495(_0x56b9bf(_0x58d1df,'ELEMENT_BULLETED_LIST'));case _0x1a0f('0x35'):return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x30')));case'todo':return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x8')));}if('indentList'==_0x11f3f9[_0x1a0f('0x2b')])return{'type':'format','content':_0x56b9bf(_0x58d1df,'*Indent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1f')==_0x11f3f9[_0x1a0f('0x2b')])return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,'*Outdent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1b')==_0x11f3f9['commandName'])return _0x11f3f9[_0x1a0f('0x19')][0x0]['forceValue']?{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x39'))}:{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x2f'))};}function _0x3db495(_0x5d1401){return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x27'),_0x5d1401)};}});}}function ne(_0x2db1f2){const _0x3a6151=_0x2db1f2[_0x1a0f('0x10')](_0x1a0f('0x13'));if(0x0==_0x3a6151)return _0x2db1f2;let _0x29e584=_0x2db1f2;for(;_0x2db1f2['previousSibling']&&_0x2db1f2[_0x1a0f('0xf')]['is']('element','listItem');){const _0x186733=_0x2db1f2['previousSibling'][_0x1a0f('0x10')](_0x1a0f('0x13'));if(_0x186733==_0x3a6151)_0x29e584=_0x2db1f2[_0x1a0f('0xf')];else{if(_0x186733<_0x3a6151)break;}_0x2db1f2=_0x2db1f2[_0x1a0f('0xf')];}return _0x29e584;}function oe(_0x48608f){const _0x3b6992=[];if(_0x48608f['is'](_0x1a0f('0x25'),_0x1a0f('0x4'))&&_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'))>0x0){let _0x27e097=_0x48608f[_0x1a0f('0x38')];for(;_0x27e097&&_0x1a0f('0x4')==_0x27e097[_0x1a0f('0xd')]&&_0x27e097[_0x1a0f('0x10')](_0x1a0f('0x13'))==_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'));)_0x3b6992['push'](_0x27e097),_0x27e097=_0x27e097[_0x1a0f('0x38')];}return _0x3b6992;}