@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230630.0 → 0.0.0-nightly-20230702.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 _0x355d=['fontColor','trim','FontSizeEditing','*Reset\x20font\x20family*','FontFamilyEditing','label','*Set\x20font\x20color:*\x20%0','fontSize.options','TrackChangesEditing','toLowerCase','commandParams','has','plugins','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20size*','*Reset\x20font\x20color*','fontSize','config','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','get','change','FontSize','FontBackgroundColorEditing','selection','isCollapsed','model','locale','fontColor.colors','commandName','getRanges','afterInit','_enableCommand','fontBackgroundColor.colors','normalizeSizeOptions','find','markInlineFormat','value','editor','format','FontColorEditing','_descriptionFactory'];(function(_0x167e1b,_0x355d77){const _0x3292c1=function(_0x2376c2){while(--_0x2376c2){_0x167e1b['push'](_0x167e1b['shift']());}};_0x3292c1(++_0x355d77);}(_0x355d,0xc2));const _0x3292=function(_0x167e1b,_0x355d77){_0x167e1b=_0x167e1b-0x0;let _0x3292c1=_0x355d[_0x167e1b];return _0x3292c1;};import{Plugin as _0x5e811a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x13b8df}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2daf58}from'./utils';import{getTranslation as _0xf1a2a0}from'../utils/common-translations';const Zt=[{'pluginName':_0x3292('0x12'),'commandName':_0x3292('0x20')},{'pluginName':_0x3292('0x14'),'commandName':'fontFamily'},{'pluginName':_0x3292('0xe'),'commandName':_0x3292('0x10')},{'pluginName':_0x3292('0x27'),'commandName':'fontBackgroundColor'}];export default class H extends _0x5e811a{[_0x3292('0x5')](){const _0x263ec9=this['editor'][_0x3292('0x1')];for(const {pluginName:_0x3e0211,commandName:_0x52990c}of Zt)this[_0x3292('0xc')][_0x3292('0x1c')][_0x3292('0x1b')](_0x3e0211)&&this[_0x3292('0x6')](_0x52990c);this[_0x3292('0xc')][_0x3292('0x1c')][_0x3292('0x24')](_0x3292('0x18'))[_0x3292('0xf')]['registerDescriptionCallback'](_0x415795=>{const _0x52aea1=_0x263ec9['t'],{data:_0x501d98}=_0x415795;if(null!=_0x501d98){if(_0x3292('0x20')==_0x501d98[_0x3292('0x3')]){const _0x2a95fb=_0x501d98['commandParams'][0x0]['value'];if(_0x2a95fb){const _0x33c671=_0x52aea1(this[_0x3292('0xc')]['plugins'][_0x3292('0x24')](_0x3292('0x26'))[_0x3292('0x8')](this[_0x3292('0xc')][_0x3292('0x21')]['get'](_0x3292('0x17')))[_0x3292('0x9')](_0x236935=>_0x236935[_0x3292('0x0')]==_0x2a95fb)['title'])[_0x3292('0x19')]();return{'type':'format','content':_0xf1a2a0(_0x263ec9,_0x3292('0x1d'),_0x33c671)};}return{'type':'format','content':_0xf1a2a0(_0x263ec9,_0x3292('0x1e'))};}if(_0x3292('0x22')==_0x501d98[_0x3292('0x3')]){const _0x5a12ab=_0x501d98[_0x3292('0x1a')][0x0][_0x3292('0xb')];return _0x5a12ab?{'type':_0x3292('0xd'),'content':_0xf1a2a0(_0x263ec9,'*Set\x20font\x20family:*\x20%0',_0x5a12ab)}:{'type':_0x3292('0xd'),'content':_0xf1a2a0(_0x263ec9,_0x3292('0x13'))};}if('fontColor'==_0x501d98['commandName']){const _0x51c15b=_0x501d98['commandParams'][0x0]['value'];if(_0x51c15b){const _0x57c101=_0x13b8df(this[_0x3292('0xc')][_0x3292('0x21')][_0x3292('0x24')](_0x3292('0x2')))[_0x3292('0x9')](_0x26ccac=>_0x26ccac[_0x3292('0x0')]==_0x51c15b);let _0x4c317=_0x51c15b,_0x5c9694='';return _0x57c101&&(_0x4c317=_0x57c101['label'],_0x5c9694=_0x52aea1(_0x4c317)[_0x3292('0x19')]()),{'type':'format','content':_0xf1a2a0(_0x263ec9,_0x3292('0x16'),_0x5c9694)['trim'](),'color':{'value':_0x51c15b,'title':_0x5c9694||_0x4c317}};}return{'type':_0x3292('0xd'),'content':_0xf1a2a0(_0x263ec9,_0x3292('0x1f'))};}if('fontBackgroundColor'==_0x501d98[_0x3292('0x3')]){const _0x11ddda=_0x501d98[_0x3292('0x1a')][0x0][_0x3292('0xb')];if(_0x11ddda){const _0x3376ae=_0x13b8df(this[_0x3292('0xc')][_0x3292('0x21')]['get'](_0x3292('0x7')))['find'](_0x27165e=>_0x27165e[_0x3292('0x0')]==_0x11ddda);let _0x4acc6c=_0x11ddda,_0x27d9bd='';return _0x3376ae&&(_0x4acc6c=_0x3376ae[_0x3292('0x15')],_0x27d9bd=_0x52aea1(_0x4acc6c)[_0x3292('0x19')]()),{'type':_0x3292('0xd'),'content':_0xf1a2a0(_0x263ec9,_0x3292('0x23'),_0x27d9bd)[_0x3292('0x11')](),'color':{'value':_0x11ddda,'title':_0x27d9bd||_0x4acc6c}};}return{'type':'format','content':_0xf1a2a0(_0x263ec9,'*Reset\x20font\x20background\x20color*')};}}});}[_0x3292('0x6')](_0x856cc3){const _0x2964ff=this[_0x3292('0xc')];_0x2964ff[_0x3292('0x1c')]['get'](_0x3292('0x18'))['enableCommand'](_0x856cc3,(_0x536f3b,_0x3a17ca={})=>{const _0x5be42a=_0x2964ff[_0x3292('0x0')]['document'][_0x3292('0x28')],_0x15c01e=_0x3a17ca[_0x3292('0xb')];_0x5be42a[_0x3292('0x29')]?_0x536f3b(_0x3a17ca):_0x2964ff[_0x3292('0x0')][_0x3292('0x25')](()=>{const _0x50e453=Array['from'](_0x5be42a[_0x3292('0x4')]());for(const _0x4282f4 of _0x50e453){const _0x3563a8=_0x15c01e?[_0x4282f4]:_0x2daf58(_0x856cc3,_0x4282f4,_0x2964ff['model']);for(const _0x3f5cb9 of _0x3563a8)_0x2964ff['plugins'][_0x3292('0x24')]('TrackChangesEditing')[_0x3292('0xa')](_0x3f5cb9,{'commandName':_0x856cc3,'commandParams':[{'value':_0x15c01e}]});}});});}}
23
+ const _0x2e32=['toLowerCase','fontBackgroundColor.colors','commandName','value','registerDescriptionCallback','selection','*Reset\x20font\x20background\x20color*','title','*Set\x20font\x20color:*\x20%0','FontBackgroundColorEditing','FontFamilyEditing','*Reset\x20font\x20size*','fontColor','TrackChangesEditing','afterInit','model','change','FontSize','*Set\x20font\x20family:*\x20%0','find','*Set\x20font\x20size:*\x20%0','commandParams','has','isCollapsed','format','_enableCommand','plugins','FontSizeEditing','fontSize.options','fontBackgroundColor','config','FontColorEditing','fontSize','label','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','trim','get','editor'];(function(_0x54bf10,_0x2e326){const _0x1cf063=function(_0x5a2973){while(--_0x5a2973){_0x54bf10['push'](_0x54bf10['shift']());}};_0x1cf063(++_0x2e326);}(_0x2e32,0x1c8));const _0x1cf0=function(_0x54bf10,_0x2e326){_0x54bf10=_0x54bf10-0x0;let _0x1cf063=_0x2e32[_0x54bf10];return _0x1cf063;};import{Plugin as _0x57e159}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5741a9}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5ec84a}from'./utils';import{getTranslation as _0x39f728}from'../utils/common-translations';const Zt=[{'pluginName':_0x1cf0('0x0'),'commandName':_0x1cf0('0x5')},{'pluginName':_0x1cf0('0x16'),'commandName':_0x1cf0('0x7')},{'pluginName':_0x1cf0('0x4'),'commandName':_0x1cf0('0x18')},{'pluginName':_0x1cf0('0x15'),'commandName':'fontBackgroundColor'}];export default class H extends _0x57e159{[_0x1cf0('0x1a')](){const _0x4e7af5=this[_0x1cf0('0xb')]['locale'];for(const {pluginName:_0x5902c1,commandName:_0x36cddd}of Zt)this[_0x1cf0('0xb')][_0x1cf0('0x26')][_0x1cf0('0x22')](_0x5902c1)&&this[_0x1cf0('0x25')](_0x36cddd);this[_0x1cf0('0xb')]['plugins'][_0x1cf0('0xa')]('TrackChangesEditing')['_descriptionFactory'][_0x1cf0('0x10')](_0xfdf037=>{const _0x180b80=_0x4e7af5['t'],{data:_0x3c5638}=_0xfdf037;if(null!=_0x3c5638){if(_0x1cf0('0x5')==_0x3c5638['commandName']){const _0x1c4696=_0x3c5638[_0x1cf0('0x21')][0x0]['value'];if(_0x1c4696){const _0x491fe5=_0x180b80(this[_0x1cf0('0xb')][_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x1d'))['normalizeSizeOptions'](this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get'](_0x1cf0('0x1')))[_0x1cf0('0x1f')](_0x494320=>_0x494320[_0x1cf0('0x1b')]==_0x1c4696)[_0x1cf0('0x13')])[_0x1cf0('0xc')]();return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x20'),_0x491fe5)};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x17'))};}if('fontFamily'==_0x3c5638[_0x1cf0('0xe')]){const _0x347ed5=_0x3c5638[_0x1cf0('0x21')][0x0]['value'];return _0x347ed5?{'type':'format','content':_0x39f728(_0x4e7af5,_0x1cf0('0x1e'),_0x347ed5)}:{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,'*Reset\x20font\x20family*')};}if(_0x1cf0('0x18')==_0x3c5638['commandName']){const _0x29f0c0=_0x3c5638[_0x1cf0('0x21')][0x0][_0x1cf0('0xf')];if(_0x29f0c0){const _0x505f99=_0x5741a9(this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get']('fontColor.colors'))['find'](_0x346d0f=>_0x346d0f[_0x1cf0('0x1b')]==_0x29f0c0);let _0x3af64c=_0x29f0c0,_0x4ad8cd='';return _0x505f99&&(_0x3af64c=_0x505f99[_0x1cf0('0x6')],_0x4ad8cd=_0x180b80(_0x3af64c)[_0x1cf0('0xc')]()),{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x14'),_0x4ad8cd)[_0x1cf0('0x9')](),'color':{'value':_0x29f0c0,'title':_0x4ad8cd||_0x3af64c}};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,'*Reset\x20font\x20color*')};}if(_0x1cf0('0x2')==_0x3c5638[_0x1cf0('0xe')]){const _0x102adf=_0x3c5638[_0x1cf0('0x21')][0x0][_0x1cf0('0xf')];if(_0x102adf){const _0x12f00d=_0x5741a9(this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get'](_0x1cf0('0xd')))[_0x1cf0('0x1f')](_0x5d5f54=>_0x5d5f54[_0x1cf0('0x1b')]==_0x102adf);let _0x216384=_0x102adf,_0xcb4d07='';return _0x12f00d&&(_0x216384=_0x12f00d[_0x1cf0('0x6')],_0xcb4d07=_0x180b80(_0x216384)[_0x1cf0('0xc')]()),{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x8'),_0xcb4d07)[_0x1cf0('0x9')](),'color':{'value':_0x102adf,'title':_0xcb4d07||_0x216384}};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x12'))};}}});}[_0x1cf0('0x25')](_0x4f1c26){const _0x24d2e0=this[_0x1cf0('0xb')];_0x24d2e0[_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x19'))['enableCommand'](_0x4f1c26,(_0x28f475,_0x4b308c={})=>{const _0x31e01a=_0x24d2e0['model']['document'][_0x1cf0('0x11')],_0x1271df=_0x4b308c['value'];_0x31e01a[_0x1cf0('0x23')]?_0x28f475(_0x4b308c):_0x24d2e0[_0x1cf0('0x1b')][_0x1cf0('0x1c')](()=>{const _0x3424cf=Array['from'](_0x31e01a['getRanges']());for(const _0x2e5723 of _0x3424cf){const _0x4c6582=_0x1271df?[_0x2e5723]:_0x5ec84a(_0x4f1c26,_0x2e5723,_0x24d2e0[_0x1cf0('0x1b')]);for(const _0x4f4bcf of _0x4c6582)_0x24d2e0[_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x19'))['markInlineFormat'](_0x4f4bcf,{'commandName':_0x4f1c26,'commandParams':[{'value':_0x1271df}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x273f=['from','length','find','normalizeSizeOptions','getFirstPosition','FontSize','join','getAttributes','word','locale','commandName','split','change','label','config','modifySelection','getSelectedBlocks','model','slice','getRanges','_descriptionFactory','isCollapsed','format','fontColor.colors','toUpperCase','enableCommand','selection','schema','editor','createSelection','forward','backward','pasteFormat','getAttributeProperties','getItems','TrackChangesEditing','copyFormat','plugins','commands','toLowerCase','get','entries','push','fontSize.options','boolean','keys','fontSize','*Remove\x20all\x20formatting*'];(function(_0x149176,_0x273f3d){const _0x1ad233=function(_0x1817a1){while(--_0x1817a1){_0x149176['push'](_0x149176['shift']());}};_0x1ad233(++_0x273f3d);}(_0x273f,0xba));const _0x1ad2=function(_0x149176,_0x273f3d){_0x149176=_0x149176-0x0;let _0x1ad233=_0x273f[_0x149176];return _0x1ad233;};import{Plugin as _0x40c1f7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x442c51}from'ckeditor5/src/ui';import{first as _0xee962e}from'ckeditor5/src/utils';import{getTranslation as _0x548885}from'../utils/common-translations';export default class W extends _0x40c1f7{['afterInit'](){const _0x31ed1b=this[_0x1ad2('0x22')],_0xc4ae1e=_0x31ed1b[_0x1ad2('0x17')],_0x8c74e=_0xc4ae1e['document'][_0x1ad2('0x20')],_0xd20be3=_0x31ed1b[_0x1ad2('0x2b')][_0x1ad2('0x2e')](_0x1ad2('0x29')),_0x52888c=_0x31ed1b[_0x1ad2('0xf')],_0xf11c7a=_0x31ed1b[_0x1ad2('0x2c')][_0x1ad2('0x2e')]('copyFormat'),_0x1c071c=_0x31ed1b[_0x1ad2('0x2c')][_0x1ad2('0x2e')](_0x1ad2('0x26'));_0xf11c7a&&_0x1c071c&&(_0xd20be3['enableCommand'](_0x1ad2('0x26'),(_0x110d89,_0x3b2e40={})=>{const _0x217609=_0x3b2e40;_0xc4ae1e[_0x1ad2('0x12')](()=>{const _0x28c566=Array[_0x1ad2('0x6')](_0x8c74e['getRanges']()),_0x305806=_0x8c74e[_0x1ad2('0x1b')]?[ro(_0xc4ae1e,_0x8c74e)]:_0x28c566,_0x27d360=!!_0xee962e(function*(_0x3bd66b,_0x3f7aaf){const _0x7043dd=_0x2324e1=>!!_0xee962e(function*(_0x2b335d,_0x45bb8f){for(const [_0x4ceea6]of _0x2b335d[_0x1ad2('0xd')]()){const _0x37a56f=_0x45bb8f[_0x1ad2('0x27')](_0x4ceea6);_0x37a56f&&_0x37a56f['isFormatting']&&(yield _0x4ceea6);}}(_0x2324e1,_0x3f7aaf));for(const _0x371443 of _0x3bd66b[_0x1ad2('0x19')]())for(const _0x3a91f8 of _0x371443[_0x1ad2('0x28')]())!_0x3f7aaf['isBlock'](_0x3a91f8)&&_0x7043dd(_0x3a91f8)&&(yield _0x3a91f8);for(const _0x4f1c37 of _0x3bd66b[_0x1ad2('0x16')]())_0x7043dd(_0x4f1c37)&&(yield _0x4f1c37);_0x7043dd(_0x3bd66b)&&(yield _0x3bd66b);}(_0x8c74e,_0xc4ae1e[_0x1ad2('0x21')]));if(_0x27d360||0x0!==Object[_0x1ad2('0x3')](_0x217609)[_0x1ad2('0x7')])for(const _0x53f574 of _0x305806)_0xd20be3['markInlineFormat'](_0x53f574,{'commandName':_0x1ad2('0x26'),'commandParams':[_0x217609]});});}),_0xd20be3[_0x1ad2('0x1a')]['registerDescriptionCallback'](_0x319840=>{const {data:_0x2f0bc2}=_0x319840;if(_0x2f0bc2&&_0x1ad2('0x26')===_0x2f0bc2[_0x1ad2('0x10')]){const _0x10d857=[],_0x18f265=_0x2f0bc2['commandParams'][0x0];for(const [_0x3b76a4,_0x4d511f]of Object[_0x1ad2('0x2f')](_0x18f265))_0x10d857[_0x1ad2('0x0')](no(_0x31ed1b,_0x3b76a4,_0x4d511f));return _0x10d857[_0x1ad2('0x7')]?{'type':_0x1ad2('0x1c'),'content':_0x548885(_0x52888c,'*Set\x20format\x20to:*\x20%0',_0x10d857[_0x1ad2('0xc')](',\x20'))}:{'type':_0x1ad2('0x1c'),'content':_0x548885(_0x52888c,_0x1ad2('0x5'))};}}),_0x31ed1b['plugins'][_0x1ad2('0x2e')](_0x1ad2('0x29'))[_0x1ad2('0x1f')](_0x1ad2('0x2a')));}}function ro(_0xaae5ad,_0x76c5e7){const _0x4b76c0=_0xaae5ad[_0x1ad2('0x23')](_0x76c5e7);_0xaae5ad[_0x1ad2('0x15')](_0x4b76c0,{'unit':_0x1ad2('0xe'),'direction':_0x1ad2('0x25')});const _0x337ef2=_0x4b76c0[_0x1ad2('0xa')]();_0xaae5ad['modifySelection'](_0x4b76c0,{'unit':_0x1ad2('0xe'),'direction':_0x1ad2('0x24')});const _0x24d40e=_0x4b76c0['getLastPosition']();return _0xaae5ad['createRange'](_0x337ef2,_0x24d40e);}function no(_0x1e8002,_0x38ef05,_0x318038){const _0x57c938=_0x1e8002['locale']['t'],_0x15c2b3=_0x38ef05[_0x1ad2('0x11')](/(?=[A-Z])/)['join']('\x20'),_0x5d967c=_0x57c938(_0x15c2b3['charAt'](0x0)[_0x1ad2('0x1e')]()+_0x15c2b3[_0x1ad2('0x18')](0x1))[_0x1ad2('0x2d')]();if(_0x1ad2('0x2')==typeof _0x318038)return _0x5d967c;if('fontColor'===_0x38ef05||'fontBackgroundColor'===_0x38ef05){const _0x170fea=_0x442c51(_0x1e8002[_0x1ad2('0x14')][_0x1ad2('0x2e')](_0x1ad2('0x1d')))[_0x1ad2('0x8')](_0x13982a=>_0x13982a[_0x1ad2('0x17')]==_0x318038);return _0x5d967c+'\x20('+(_0x170fea?_0x57c938(_0x170fea[_0x1ad2('0x13')])[_0x1ad2('0x2d')]():_0x318038)+')';}if(_0x1ad2('0x4')===_0x38ef05&&isNaN(parseFloat(_0x318038))){const _0x2842ff=_0x1e8002[_0x1ad2('0x2b')][_0x1ad2('0x2e')](_0x1ad2('0xb'))[_0x1ad2('0x9')](_0x1e8002['config'][_0x1ad2('0x2e')](_0x1ad2('0x1')))[_0x1ad2('0x8')](_0x5b46eb=>_0x5b46eb[_0x1ad2('0x17')]==_0x318038);return _0x5d967c+'\x20('+(_0x2842ff?_0x57c938(_0x2842ff['title'])[_0x1ad2('0x2d')]():_0x318038)+')';}return _0x5d967c+'\x20('+_0x318038+')';}
23
+ const _0x4b3b=['document','boolean','title','selection','locale','afterInit','commands','fontColor','getLastPosition','getRanges','schema','fontSize.options','fontBackgroundColor','length','keys','FontSize','getAttributeProperties','registerDescriptionCallback','*Remove\x20all\x20formatting*','format','isFormatting','commandName','getAttributes','editor','isBlock','getSelectedBlocks','getItems','createSelection','slice','get','from','fontColor.colors','find','model','fontSize','copyFormat','modifySelection','toLowerCase','charAt','*Set\x20format\x20to:*\x20%0','entries','push','forward','TrackChangesEditing','normalizeSizeOptions','word','pasteFormat','enableCommand','_descriptionFactory','backward','isCollapsed','join','plugins','commandParams'];(function(_0x4e1430,_0x4b3b88){const _0x444aa3=function(_0x36dc33){while(--_0x36dc33){_0x4e1430['push'](_0x4e1430['shift']());}};_0x444aa3(++_0x4b3b88);}(_0x4b3b,0x1ac));const _0x444a=function(_0x4e1430,_0x4b3b88){_0x4e1430=_0x4e1430-0x0;let _0x444aa3=_0x4b3b[_0x4e1430];return _0x444aa3;};import{Plugin as _0x3cb3b9}from'ckeditor5/src/core';import{normalizeColorOptions as _0x108f0b}from'ckeditor5/src/ui';import{first as _0x20e27c}from'ckeditor5/src/utils';import{getTranslation as _0x4da1d1}from'../utils/common-translations';export default class W extends _0x3cb3b9{[_0x444a('0x9')](){const _0x298510=this[_0x444a('0x1b')],_0x35e4aa=_0x298510[_0x444a('0x25')],_0x4391fc=_0x35e4aa[_0x444a('0x4')][_0x444a('0x7')],_0x152480=_0x298510[_0x444a('0x2')]['get']('TrackChangesEditing'),_0x2134e5=_0x298510[_0x444a('0x8')],_0x399e31=_0x298510[_0x444a('0xa')]['get'](_0x444a('0x27')),_0x125faf=_0x298510[_0x444a('0xa')][_0x444a('0x21')](_0x444a('0x32'));_0x399e31&&_0x125faf&&(_0x152480[_0x444a('0x33')](_0x444a('0x32'),(_0x18b2df,_0x19fcd2={})=>{const _0x226e41=_0x19fcd2;_0x35e4aa['change'](()=>{const _0x219a34=Array[_0x444a('0x22')](_0x4391fc[_0x444a('0xd')]()),_0x39040=_0x4391fc[_0x444a('0x0')]?[ro(_0x35e4aa,_0x4391fc)]:_0x219a34,_0x273f88=!!_0x20e27c(function*(_0x8d72b0,_0x32e320){const _0x5ab7c2=_0x37e4b2=>!!_0x20e27c(function*(_0x3aa1bd,_0x149bd1){for(const [_0x39651f]of _0x3aa1bd[_0x444a('0x1a')]()){const _0x4adfd4=_0x149bd1[_0x444a('0x14')](_0x39651f);_0x4adfd4&&_0x4adfd4[_0x444a('0x18')]&&(yield _0x39651f);}}(_0x37e4b2,_0x32e320));for(const _0x1d99dc of _0x8d72b0[_0x444a('0xd')]())for(const _0x9bd0e8 of _0x1d99dc[_0x444a('0x1e')]())!_0x32e320[_0x444a('0x1c')](_0x9bd0e8)&&_0x5ab7c2(_0x9bd0e8)&&(yield _0x9bd0e8);for(const _0x2d54bc of _0x8d72b0[_0x444a('0x1d')]())_0x5ab7c2(_0x2d54bc)&&(yield _0x2d54bc);_0x5ab7c2(_0x8d72b0)&&(yield _0x8d72b0);}(_0x4391fc,_0x35e4aa[_0x444a('0xe')]));if(_0x273f88||0x0!==Object[_0x444a('0x12')](_0x226e41)[_0x444a('0x11')])for(const _0x4c8593 of _0x39040)_0x152480['markInlineFormat'](_0x4c8593,{'commandName':'pasteFormat','commandParams':[_0x226e41]});});}),_0x152480[_0x444a('0x34')][_0x444a('0x15')](_0x9dba7c=>{const {data:_0x340bd2}=_0x9dba7c;if(_0x340bd2&&_0x444a('0x32')===_0x340bd2[_0x444a('0x19')]){const _0x3ec558=[],_0x53cee9=_0x340bd2[_0x444a('0x3')][0x0];for(const [_0x41b860,_0xffd29b]of Object[_0x444a('0x2c')](_0x53cee9))_0x3ec558[_0x444a('0x2d')](no(_0x298510,_0x41b860,_0xffd29b));return _0x3ec558[_0x444a('0x11')]?{'type':_0x444a('0x17'),'content':_0x4da1d1(_0x2134e5,_0x444a('0x2b'),_0x3ec558[_0x444a('0x1')](',\x20'))}:{'type':'format','content':_0x4da1d1(_0x2134e5,_0x444a('0x16'))};}}),_0x298510[_0x444a('0x2')]['get'](_0x444a('0x2f'))[_0x444a('0x33')](_0x444a('0x27')));}}function ro(_0x486b74,_0x4371fb){const _0x3dc91f=_0x486b74[_0x444a('0x1f')](_0x4371fb);_0x486b74['modifySelection'](_0x3dc91f,{'unit':_0x444a('0x31'),'direction':_0x444a('0x35')});const _0x4b0428=_0x3dc91f['getFirstPosition']();_0x486b74[_0x444a('0x28')](_0x3dc91f,{'unit':_0x444a('0x31'),'direction':_0x444a('0x2e')});const _0x1bd094=_0x3dc91f[_0x444a('0xc')]();return _0x486b74['createRange'](_0x4b0428,_0x1bd094);}function no(_0x1322d4,_0x154088,_0xc45d4d){const _0x3094fc=_0x1322d4[_0x444a('0x8')]['t'],_0x5eb983=_0x154088['split'](/(?=[A-Z])/)[_0x444a('0x1')]('\x20'),_0x2674d3=_0x3094fc(_0x5eb983[_0x444a('0x2a')](0x0)['toUpperCase']()+_0x5eb983[_0x444a('0x20')](0x1))[_0x444a('0x29')]();if(_0x444a('0x5')==typeof _0xc45d4d)return _0x2674d3;if(_0x444a('0xb')===_0x154088||_0x444a('0x10')===_0x154088){const _0x1461f2=_0x108f0b(_0x1322d4['config'][_0x444a('0x21')](_0x444a('0x23')))[_0x444a('0x24')](_0x1a17c2=>_0x1a17c2[_0x444a('0x25')]==_0xc45d4d);return _0x2674d3+'\x20('+(_0x1461f2?_0x3094fc(_0x1461f2['label'])[_0x444a('0x29')]():_0xc45d4d)+')';}if(_0x444a('0x26')===_0x154088&&isNaN(parseFloat(_0xc45d4d))){const _0x247d40=_0x1322d4['plugins'][_0x444a('0x21')](_0x444a('0x13'))[_0x444a('0x30')](_0x1322d4['config']['get'](_0x444a('0xf')))['find'](_0x290143=>_0x290143[_0x444a('0x25')]==_0xc45d4d);return _0x2674d3+'\x20('+(_0x247d40?_0x3094fc(_0x247d40[_0x444a('0x6')])[_0x444a('0x29')]():_0xc45d4d)+')';}return _0x2674d3+'\x20('+_0xc45d4d+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a1=['checkChild','get','editor','match','isObject','has','format','selection','heading','document','formatBlock','change','commandParams','name','plugins','registerElementLabel','schema','ELEMENT_HEADING','ELEMENT_HEADING_CUSTOM','value','commandName','title','HeadingEditing','heading.options','paragraph','_descriptionFactory','find','locale','parent','model','filter','enableCommand','*Change\x20to:*\x20%0','config','from','afterInit'];(function(_0x4f9c85,_0x41a1b3){const _0x127d3f=function(_0x45bd6b){while(--_0x45bd6b){_0x4f9c85['push'](_0x4f9c85['shift']());}};_0x127d3f(++_0x41a1b3);}(_0x41a1,0x1b2));const _0x127d=function(_0x4f9c85,_0x41a1b3){_0x4f9c85=_0x4f9c85-0x0;let _0x127d3f=_0x41a1[_0x4f9c85];return _0x127d3f;};import{Plugin as _0x443095}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x29cf39}from'./utils';import{getTranslation as _0x68df5c}from'../utils/common-translations';export default class J extends _0x443095{[_0x127d('0x21')](){const _0x3df363=this[_0x127d('0x0')],_0x322a22=_0x3df363[_0x127d('0x19')],_0x23adf4=_0x3df363[_0x127d('0x1f')]['get'](_0x127d('0x15'));if(!_0x3df363[_0x127d('0xc')][_0x127d('0x3')](_0x127d('0x14')))return;const _0x1fe9f0=_0x3df363[_0x127d('0xc')][_0x127d('0x23')]('TrackChangesEditing');_0x1fe9f0[_0x127d('0x1d')](_0x127d('0x6'),(_0x100adb,_0x200a10)=>{const _0x1a8bf5=_0x200a10[_0x127d('0x11')],_0x2b897a=Array[_0x127d('0x20')](this[_0x127d('0x0')][_0x127d('0x1b')][_0x127d('0x7')][_0x127d('0x5')]['getSelectedBlocks']())[_0x127d('0x1c')](_0x57e258=>function(_0x2cec76,_0x5d2e9d,_0x33061b){return _0x33061b[_0x127d('0x22')](_0x2cec76[_0x127d('0x1a')],_0x5d2e9d)&&!_0x33061b[_0x127d('0x2')](_0x2cec76)&&_0x2cec76[_0x127d('0xb')]!=_0x5d2e9d;}(_0x57e258,_0x1a8bf5,this[_0x127d('0x0')][_0x127d('0x1b')][_0x127d('0xe')]));_0x3df363['model'][_0x127d('0x9')](()=>{for(const _0x2ad410 of _0x2b897a)_0x1fe9f0['markBlockFormat'](_0x2ad410,{'commandName':_0x127d('0x6'),'commandParams':[_0x200a10],'formatGroupId':'blockName'},_0x29cf39(_0x2ad410));});});for(const _0x47eee1 of _0x23adf4)_0x127d('0x16')!=_0x47eee1['model']&&_0x1fe9f0['_descriptionFactory'][_0x127d('0xd')](_0x47eee1[_0x127d('0x1b')],_0x15941d=>{const _0x1dd79c=nn(_0x47eee1[_0x127d('0x1b')]);return null!==_0x1dd79c?_0x311c81(_0x15941d,_0x1dd79c):_0x17cf9c(_0x15941d,_0x47eee1[_0x127d('0x13')]);});function _0x311c81(_0x73a7d4,_0x2e38a6){return _0x68df5c(_0x322a22,_0x127d('0xf'),[_0x73a7d4,_0x2e38a6]);}function _0x17cf9c(_0x1ec4b4,_0x5411c5){return _0x68df5c(_0x322a22,_0x127d('0x10'),[_0x1ec4b4,_0x5411c5]);}_0x1fe9f0[_0x127d('0x17')]['registerDescriptionCallback'](_0x2b1836=>{const {type:_0x12a36e,data:_0x5eebdc}=_0x2b1836;if(_0x127d('0x8')==_0x12a36e&&_0x5eebdc&&_0x127d('0x6')==_0x5eebdc[_0x127d('0x12')]){const _0x20298a=_0x5eebdc[_0x127d('0xa')][0x0][_0x127d('0x11')],_0x3b4565=nn(_0x20298a);if(null!==_0x3b4565)return{'type':_0x127d('0x4'),'content':_0x68df5c(_0x322a22,_0x127d('0x1e'),_0x311c81(0x1,_0x3b4565))};const _0x68a884=_0x23adf4[_0x127d('0x18')](_0x139406=>_0x139406[_0x127d('0x1b')]===_0x20298a)['title'];return{'type':_0x127d('0x4'),'content':_0x68df5c(_0x322a22,_0x127d('0x1e'),_0x17cf9c(0x1,_0x68a884))};}});}}function nn(_0x53486e){const _0x2a4241=_0x53486e[_0x127d('0x1')](/^heading(\d+)$/);return _0x2a4241?_0x2a4241[0x1]:null;}
23
+ const _0x4943=['HeadingEditing','getSelectedBlocks','heading','config','*Change\x20to:*\x20%0','title','value','find','model','filter','selection','paragraph','markBlockFormat','change','format','commandName','match','plugins','get','blockName','document','registerElementLabel','checkChild','schema','heading.options','TrackChangesEditing','has','_descriptionFactory','editor','ELEMENT_HEADING_CUSTOM','isObject','commandParams','registerDescriptionCallback','afterInit','from','name','ELEMENT_HEADING'];(function(_0x40c0f5,_0x49431c){const _0xbedd97=function(_0x3ec0fd){while(--_0x3ec0fd){_0x40c0f5['push'](_0x40c0f5['shift']());}};_0xbedd97(++_0x49431c);}(_0x4943,0x174));const _0xbedd=function(_0x40c0f5,_0x49431c){_0x40c0f5=_0x40c0f5-0x0;let _0xbedd97=_0x4943[_0x40c0f5];return _0xbedd97;};import{Plugin as _0x517935}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3f1131}from'./utils';import{getTranslation as _0x5cd7d2}from'../utils/common-translations';export default class J extends _0x517935{[_0xbedd('0x1f')](){const _0x4f1d23=this[_0xbedd('0x1a')],_0x5a4a3f=_0x4f1d23['locale'],_0x213ea9=_0x4f1d23[_0xbedd('0x1')][_0xbedd('0x10')](_0xbedd('0x16'));if(!_0x4f1d23[_0xbedd('0xf')][_0xbedd('0x18')](_0xbedd('0x23')))return;const _0x50eec4=_0x4f1d23[_0xbedd('0xf')][_0xbedd('0x10')](_0xbedd('0x17'));_0x50eec4['enableCommand'](_0xbedd('0x0'),(_0x59420a,_0x54d22b)=>{const _0x2f7833=_0x54d22b['value'],_0x49f73d=Array[_0xbedd('0x20')](this[_0xbedd('0x1a')]['model'][_0xbedd('0x12')][_0xbedd('0x8')][_0xbedd('0x24')]())[_0xbedd('0x7')](_0x5a5a36=>function(_0xb3c609,_0x2d102b,_0x27657e){return _0x27657e[_0xbedd('0x14')](_0xb3c609['parent'],_0x2d102b)&&!_0x27657e[_0xbedd('0x1c')](_0xb3c609)&&_0xb3c609[_0xbedd('0x21')]!=_0x2d102b;}(_0x5a5a36,_0x2f7833,this[_0xbedd('0x1a')]['model'][_0xbedd('0x15')]));_0x4f1d23[_0xbedd('0x6')][_0xbedd('0xb')](()=>{for(const _0x895ccc of _0x49f73d)_0x50eec4[_0xbedd('0xa')](_0x895ccc,{'commandName':_0xbedd('0x0'),'commandParams':[_0x54d22b],'formatGroupId':_0xbedd('0x11')},_0x3f1131(_0x895ccc));});});for(const _0x12d880 of _0x213ea9)_0xbedd('0x9')!=_0x12d880[_0xbedd('0x6')]&&_0x50eec4['_descriptionFactory'][_0xbedd('0x13')](_0x12d880[_0xbedd('0x6')],_0x5dd2cc=>{const _0x4d0069=nn(_0x12d880['model']);return null!==_0x4d0069?_0x2c78b5(_0x5dd2cc,_0x4d0069):_0x568220(_0x5dd2cc,_0x12d880[_0xbedd('0x3')]);});function _0x2c78b5(_0x5c09f3,_0x179b6f){return _0x5cd7d2(_0x5a4a3f,_0xbedd('0x22'),[_0x5c09f3,_0x179b6f]);}function _0x568220(_0x2e6110,_0x490a9c){return _0x5cd7d2(_0x5a4a3f,_0xbedd('0x1b'),[_0x2e6110,_0x490a9c]);}_0x50eec4[_0xbedd('0x19')][_0xbedd('0x1e')](_0x2e4ef1=>{const {type:_0x12455e,data:_0x3cd8cf}=_0x2e4ef1;if('formatBlock'==_0x12455e&&_0x3cd8cf&&_0xbedd('0x0')==_0x3cd8cf[_0xbedd('0xd')]){const _0x1562ce=_0x3cd8cf[_0xbedd('0x1d')][0x0][_0xbedd('0x4')],_0x8aa8e7=nn(_0x1562ce);if(null!==_0x8aa8e7)return{'type':_0xbedd('0xc'),'content':_0x5cd7d2(_0x5a4a3f,_0xbedd('0x2'),_0x2c78b5(0x1,_0x8aa8e7))};const _0x18c0bb=_0x213ea9[_0xbedd('0x5')](_0x47c85c=>_0x47c85c[_0xbedd('0x6')]===_0x1562ce)['title'];return{'type':_0xbedd('0xc'),'content':_0x5cd7d2(_0x5a4a3f,'*Change\x20to:*\x20%0',_0x568220(0x1,_0x18c0bb))};}});}}function nn(_0x424a6b){const _0x1fed41=_0x424a6b[_0xbedd('0xe')](/^heading(\d+)$/);return _0x1fed41?_0x1fed41[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b89=['commandName','HighlightEditing','_descriptionFactory','TrackChangesEditing','createRange','push','format','hasAttribute','backward','afterInit','locale','highlight','*Set\x20highlight:*\x20%0','item','has','document','markInlineFormat','config','enableCommand','get','commandParams','toLowerCase','getFirstPosition','isCollapsed','change','value','getLastMatchingPosition','model','registerDescriptionCallback'];(function(_0x21bd52,_0x4b89c0){const _0xe0ba9f=function(_0x569d47){while(--_0x569d47){_0x21bd52['push'](_0x21bd52['shift']());}};_0xe0ba9f(++_0x4b89c0);}(_0x4b89,0xf1));const _0xe0ba=function(_0x21bd52,_0x4b89c0){_0x21bd52=_0x21bd52-0x0;let _0xe0ba9f=_0x4b89[_0x21bd52];return _0xe0ba9f;};import{Plugin as _0x2ba6f7}from'ckeditor5/src/core';import{getTranslation as _0x3bb451}from'../utils/common-translations';import{getRangesWithAttribute as _0x34f826}from'./utils';export default class K extends _0x2ba6f7{[_0xe0ba('0x0')](){const _0x43c4d1=this['editor'];if(!_0x43c4d1['plugins'][_0xe0ba('0x5')](_0xe0ba('0x15')))return;const _0x482a46=_0x43c4d1['plugins']['get'](_0xe0ba('0x17'));_0x482a46[_0xe0ba('0x9')]('highlight',(_0x398da7,_0x505697={})=>{const _0x38f104=_0x43c4d1[_0xe0ba('0x12')][_0xe0ba('0x6')]['selection'],_0x16d26c=_0x38f104['getAttribute'](_0xe0ba('0x2'));let _0x17097a=_0x505697[_0xe0ba('0x10')],_0x584afa=[];if(_0x38f104[_0xe0ba('0xe')]){const _0x28dfcf=_0x38f104[_0xe0ba('0xd')]();if(!_0x38f104[_0xe0ba('0x1b')](_0xe0ba('0x2')))return void _0x398da7(_0x505697);{const _0x110bc3=_0x2eea2b=>_0x2eea2b[_0xe0ba('0x4')]['getAttribute'](_0xe0ba('0x2'))===_0x16d26c,_0x200e27=_0x28dfcf[_0xe0ba('0x11')](_0x110bc3,{'direction':_0xe0ba('0x1c')}),_0x4b0845=_0x28dfcf[_0xe0ba('0x11')](_0x110bc3);_0x584afa=[_0x43c4d1['model'][_0xe0ba('0x18')](_0x200e27,_0x4b0845)],_0x17097a==_0x16d26c&&(_0x17097a=null);}}else for(const _0x315166 of _0x38f104['getRanges']())_0x17097a?_0x584afa['push'](_0x315166):_0x584afa[_0xe0ba('0x19')](..._0x34f826(_0xe0ba('0x2'),_0x315166,_0x43c4d1[_0xe0ba('0x12')]));_0x43c4d1[_0xe0ba('0x12')][_0xe0ba('0xf')](()=>{for(const _0x3a547b of _0x584afa)_0x482a46[_0xe0ba('0x7')](_0x3a547b,{'commandName':'highlight','commandParams':[{'value':_0x17097a}]});});});const _0x12bf01=_0x43c4d1[_0xe0ba('0x1')];_0x482a46[_0xe0ba('0x16')][_0xe0ba('0x13')](_0x438c06=>{const {type:_0x5d18b2,data:_0x150a86}=_0x438c06;if('formatInline'==_0x5d18b2&&_0x150a86&&_0xe0ba('0x2')==_0x150a86[_0xe0ba('0x14')]){const _0x21e188=_0x12bf01['t'],_0x1188f9=_0x150a86[_0xe0ba('0xb')][0x0][_0xe0ba('0x10')];if(_0x1188f9){const _0x31e84f=_0x43c4d1[_0xe0ba('0x8')][_0xe0ba('0xa')]('highlight.options')['find'](_0x5ecad1=>_0x5ecad1[_0xe0ba('0x12')]==_0x1188f9),_0x4d164a=_0x21e188(_0x31e84f['title'])[_0xe0ba('0xc')]();return{'type':_0xe0ba('0x1a'),'content':_0x3bb451(_0x12bf01,_0xe0ba('0x3'),_0x4d164a),'color':{'value':_0x31e84f['color'],'title':_0x31e84f['title']}};}return{'type':_0xe0ba('0x1a'),'content':_0x3bb451(_0x12bf01,'*Remove\x20highlight*',_0x3bb451(_0x12bf01,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0xa543=['format','_descriptionFactory','editor','getRanges','toLowerCase','*Set\x20highlight:*\x20%0','plugins','hasAttribute','afterInit','*Remove\x20highlight*','model','backward','change','getAttribute','highlight.options','get','getFirstPosition','document','markInlineFormat','getLastMatchingPosition','title','find','createRange','selection','enableCommand','value','commandParams','FORMAT_HIGHLIGHT','TrackChangesEditing','highlight','formatInline','color','push','commandName','isCollapsed'];(function(_0x52b630,_0xa5433a){const _0xcebc6a=function(_0xa394d){while(--_0xa394d){_0x52b630['push'](_0x52b630['shift']());}};_0xcebc6a(++_0xa5433a);}(_0xa543,0x1bf));const _0xcebc=function(_0x52b630,_0xa5433a){_0x52b630=_0x52b630-0x0;let _0xcebc6a=_0xa543[_0x52b630];return _0xcebc6a;};import{Plugin as _0x4fa008}from'ckeditor5/src/core';import{getTranslation as _0xb47ef3}from'../utils/common-translations';import{getRangesWithAttribute as _0x431f4b}from'./utils';export default class K extends _0x4fa008{[_0xcebc('0x10')](){const _0x30aa94=this[_0xcebc('0xa')];if(!_0x30aa94[_0xcebc('0xe')]['has']('HighlightEditing'))return;const _0x15a866=_0x30aa94['plugins'][_0xcebc('0x17')](_0xcebc('0x1'));_0x15a866[_0xcebc('0x20')](_0xcebc('0x2'),(_0x1193a3,_0x58d4ab={})=>{const _0x5ce439=_0x30aa94[_0xcebc('0x12')][_0xcebc('0x19')][_0xcebc('0x1f')],_0x2c9f50=_0x5ce439['getAttribute']('highlight');let _0x3597a7=_0x58d4ab[_0xcebc('0x21')],_0x1e15fc=[];if(_0x5ce439[_0xcebc('0x7')]){const _0x73a02c=_0x5ce439[_0xcebc('0x18')]();if(!_0x5ce439[_0xcebc('0xf')](_0xcebc('0x2')))return void _0x1193a3(_0x58d4ab);{const _0x55b4df=_0x14e28d=>_0x14e28d['item'][_0xcebc('0x15')]('highlight')===_0x2c9f50,_0x2c5c1d=_0x73a02c[_0xcebc('0x1b')](_0x55b4df,{'direction':_0xcebc('0x13')}),_0x36ab8c=_0x73a02c[_0xcebc('0x1b')](_0x55b4df);_0x1e15fc=[_0x30aa94[_0xcebc('0x12')][_0xcebc('0x1e')](_0x2c5c1d,_0x36ab8c)],_0x3597a7==_0x2c9f50&&(_0x3597a7=null);}}else for(const _0x3aaf05 of _0x5ce439[_0xcebc('0xb')]())_0x3597a7?_0x1e15fc[_0xcebc('0x5')](_0x3aaf05):_0x1e15fc[_0xcebc('0x5')](..._0x431f4b(_0xcebc('0x2'),_0x3aaf05,_0x30aa94[_0xcebc('0x12')]));_0x30aa94['model'][_0xcebc('0x14')](()=>{for(const _0x323c8f of _0x1e15fc)_0x15a866[_0xcebc('0x1a')](_0x323c8f,{'commandName':'highlight','commandParams':[{'value':_0x3597a7}]});});});const _0x66324e=_0x30aa94['locale'];_0x15a866[_0xcebc('0x9')]['registerDescriptionCallback'](_0x4aac8b=>{const {type:_0x32509b,data:_0x2bee0f}=_0x4aac8b;if(_0xcebc('0x3')==_0x32509b&&_0x2bee0f&&'highlight'==_0x2bee0f[_0xcebc('0x6')]){const _0x597f87=_0x66324e['t'],_0x992254=_0x2bee0f[_0xcebc('0x22')][0x0][_0xcebc('0x21')];if(_0x992254){const _0x5ad425=_0x30aa94['config'][_0xcebc('0x17')](_0xcebc('0x16'))[_0xcebc('0x1d')](_0x315c3a=>_0x315c3a['model']==_0x992254),_0x48b88f=_0x597f87(_0x5ad425['title'])[_0xcebc('0xc')]();return{'type':_0xcebc('0x8'),'content':_0xb47ef3(_0x66324e,_0xcebc('0xd'),_0x48b88f),'color':{'value':_0x5ad425[_0xcebc('0x4')],'title':_0x5ad425[_0xcebc('0x1c')]}};}return{'type':'format','content':_0xb47ef3(_0x66324e,_0xcebc('0x11'),_0xb47ef3(_0x66324e,_0xcebc('0x0')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e1c=['registerElementLabel','ck-horizontal-line','HorizontalLineEditing','high','editor','addClass','createContainerElement','_descriptionFactory','horizontalLine','has','locale','TrackChangesEditing','for','afterInit','insert','createPositionAt','dataDowncast','showSuggestionHighlights','elementToStructure','enableCommand','createEmptyElement','get','plugins','div'];(function(_0x3ec908,_0x5e1ce6){const _0x34eddf=function(_0x564323){while(--_0x564323){_0x3ec908['push'](_0x3ec908['shift']());}};_0x34eddf(++_0x5e1ce6);}(_0x5e1c,0x16b));const _0x34ed=function(_0x3ec908,_0x5e1ce6){_0x3ec908=_0x3ec908-0x0;let _0x34eddf=_0x5e1c[_0x3ec908];return _0x34eddf;};import{Plugin as _0xd40096}from'ckeditor5/src/core';import{getTranslation as _0x11acb7}from'../utils/common-translations';export default class Q extends _0xd40096{[_0x34ed('0xa')](){const _0x542240=this[_0x34ed('0x1')];if(!_0x542240[_0x34ed('0x13')][_0x34ed('0x6')](_0x34ed('0x17')))return;_0x542240[_0x34ed('0x13')][_0x34ed('0x12')](_0x34ed('0x8'))[_0x34ed('0x10')](_0x34ed('0x5'));const _0x4e90f2=_0x542240[_0x34ed('0x13')][_0x34ed('0x12')](_0x34ed('0x8')),_0x22bd70=_0x542240[_0x34ed('0x7')];_0x4e90f2[_0x34ed('0x4')][_0x34ed('0x15')](_0x34ed('0x5'),_0xbe7f0=>_0x11acb7(_0x22bd70,'ELEMENT_HORIZONTAL_LINE',_0xbe7f0)),_0x542240['conversion'][_0x34ed('0x9')](_0x34ed('0xd'))[_0x34ed('0xf')]({'model':_0x34ed('0x5'),'view':(_0x4b446b,{writer:_0x331e32,options:_0x1c83eb})=>{if(!_0x1c83eb[_0x34ed('0xe')])return null;const _0x2e7214=_0x331e32[_0x34ed('0x3')](_0x34ed('0x14')),_0x46bc1a=_0x331e32[_0x34ed('0x11')]('hr');return _0x331e32[_0x34ed('0x2')](_0x34ed('0x16'),_0x2e7214),_0x331e32[_0x34ed('0xb')](_0x331e32[_0x34ed('0xc')](_0x2e7214,0x0),_0x46bc1a),_0x2e7214;},'converterPriority':_0x34ed('0x0')});}}
23
+ const _0x8086=['conversion','elementToStructure','locale','addClass','createPositionAt','registerElementLabel','dataDowncast','get','createEmptyElement','ELEMENT_HORIZONTAL_LINE','div','_descriptionFactory','plugins','high','createContainerElement','horizontalLine','HorizontalLineEditing','TrackChangesEditing','ck-horizontal-line'];(function(_0x347094,_0x808631){const _0xed9b16=function(_0x1b9e94){while(--_0x1b9e94){_0x347094['push'](_0x347094['shift']());}};_0xed9b16(++_0x808631);}(_0x8086,0x140));const _0xed9b=function(_0x347094,_0x808631){_0x347094=_0x347094-0x0;let _0xed9b16=_0x8086[_0x347094];return _0xed9b16;};import{Plugin as _0x1071ac}from'ckeditor5/src/core';import{getTranslation as _0x30af77}from'../utils/common-translations';export default class Q extends _0x1071ac{['afterInit'](){const _0x2fa6e3=this['editor'];if(!_0x2fa6e3['plugins']['has'](_0xed9b('0x0')))return;_0x2fa6e3[_0xed9b('0xf')][_0xed9b('0xa')](_0xed9b('0x1'))['enableCommand'](_0xed9b('0x12'));const _0x151902=_0x2fa6e3[_0xed9b('0xf')][_0xed9b('0xa')](_0xed9b('0x1')),_0x3f9e0c=_0x2fa6e3[_0xed9b('0x5')];_0x151902[_0xed9b('0xe')][_0xed9b('0x8')](_0xed9b('0x12'),_0x2564d0=>_0x30af77(_0x3f9e0c,_0xed9b('0xc'),_0x2564d0)),_0x2fa6e3[_0xed9b('0x3')]['for'](_0xed9b('0x9'))[_0xed9b('0x4')]({'model':_0xed9b('0x12'),'view':(_0x4aaeec,{writer:_0x599675,options:_0x329ab5})=>{if(!_0x329ab5['showSuggestionHighlights'])return null;const _0x5366ed=_0x599675[_0xed9b('0x11')](_0xed9b('0xd')),_0x15a230=_0x599675[_0xed9b('0xb')]('hr');return _0x599675[_0xed9b('0x6')](_0xed9b('0x2'),_0x5366ed),_0x599675['insert'](_0x599675[_0xed9b('0x7')](_0x5366ed,0x0),_0x15a230),_0x5366ed;},'converterPriority':_0xed9b('0x10')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x596e=['document','selection','enableCommand','ELEMENT_HTML_EMBED','_descriptionFactory','editing','TrackChangesEditing','getAttribute','model','element','commandName','registerElementLabel','has','format','*Change\x20%0\x20content*','rawHtmlApi','htmlEmbed','rawHtml','editor','get','getSelectedElement','HtmlEmbed','afterInit','plugins','value'];(function(_0x4b8175,_0x596e71){const _0x4d49bf=function(_0x48e389){while(--_0x48e389){_0x4b8175['push'](_0x4b8175['shift']());}};_0x4d49bf(++_0x596e71);}(_0x596e,0x1a1));const _0x4d49=function(_0x4b8175,_0x596e71){_0x4b8175=_0x4b8175-0x0;let _0x4d49bf=_0x596e[_0x4b8175];return _0x4d49bf;};import{Plugin as _0x3077dd}from'ckeditor5/src/core';import{getTranslation as _0x2f0728}from'../utils/common-translations';export default class V extends _0x3077dd{[_0x4d49('0x5')](){const _0x5c51b8=this[_0x4d49('0x1')];if(!_0x5c51b8[_0x4d49('0x6')][_0x4d49('0x14')](_0x4d49('0x4')))return;const _0xf0382a=_0x5c51b8[_0x4d49('0x6')][_0x4d49('0x2')](_0x4d49('0xe')),_0x14f3c8=_0x5c51b8['locale'],_0x1a2e99=_0x5c51b8[_0x4d49('0xd')]['view'][_0x4d49('0x8')][_0x4d49('0x9')];_0xf0382a['_descriptionFactory'][_0x4d49('0x13')](_0x4d49('0x0'),_0x5d7622=>_0x2f0728(_0x14f3c8,_0x4d49('0xb'),_0x5d7622)),_0x5c51b8[_0x4d49('0x6')][_0x4d49('0x2')](_0x4d49('0xe'))[_0x4d49('0xa')](_0x4d49('0x18'),(_0x3b8935,_0x40f984)=>{const _0x301248=_0x5c51b8[_0x4d49('0x10')],_0x3f86a8=_0x301248[_0x4d49('0x8')][_0x4d49('0x9')];_0x301248['change'](()=>{const _0x180208=function(_0x4e45d0){const _0x35ef73=_0x4e45d0[_0x4d49('0x3')]();if(_0x35ef73&&_0x35ef73['is'](_0x4d49('0x11'),_0x4d49('0x0')))return _0x4e45d0['getSelectedElement']();return null;}(_0x3f86a8);if(!_0x180208)return void _0x3b8935(null);const _0x808246=_0x180208[_0x4d49('0xf')](_0x4d49('0x7'))||'';if(void 0x0===_0x40f984)return;if(_0x40f984===_0x808246)return;_0xf0382a['markBlockFormat'](_0x180208,{'commandName':_0x4d49('0x18'),'commandParams':[_0x40f984]}),_0x1a2e99[_0x4d49('0x3')]()['getCustomProperty'](_0x4d49('0x17'))['cancel']();});}),_0xf0382a[_0x4d49('0xc')]['registerDescriptionCallback'](_0x2e5d5d=>{const {data:_0x31bbd0}=_0x2e5d5d;if(_0x31bbd0&&_0x4d49('0x18')==_0x31bbd0[_0x4d49('0x12')]){const _0x3ee169=_0x2f0728(_0x14f3c8,'ELEMENT_HTML_EMBED');return{'type':_0x4d49('0x15'),'content':_0x2f0728(_0x14f3c8,_0x4d49('0x16'),_0x3ee169)};}});}}
23
+ const _0x2282=['editing','getAttribute','value','get','locale','selection','_descriptionFactory','editor','plugins','getCustomProperty','rawHtml','enableCommand','document','ELEMENT_HTML_EMBED','registerDescriptionCallback','HtmlEmbed','element','TrackChangesEditing','getSelectedElement','commandName','*Change\x20%0\x20content*','htmlEmbed','afterInit'];(function(_0x4b56cc,_0x22825c){const _0x4ecb72=function(_0x452536){while(--_0x452536){_0x4b56cc['push'](_0x4b56cc['shift']());}};_0x4ecb72(++_0x22825c);}(_0x2282,0x1a0));const _0x4ecb=function(_0x4b56cc,_0x22825c){_0x4b56cc=_0x4b56cc-0x0;let _0x4ecb72=_0x2282[_0x4b56cc];return _0x4ecb72;};import{Plugin as _0x53f178}from'ckeditor5/src/core';import{getTranslation as _0x5ef4a8}from'../utils/common-translations';export default class V extends _0x53f178{[_0x4ecb('0x14')](){const _0x5b260e=this[_0x4ecb('0x5')];if(!_0x5b260e[_0x4ecb('0x6')]['has'](_0x4ecb('0xd')))return;const _0x3c5abf=_0x5b260e[_0x4ecb('0x6')][_0x4ecb('0x1')](_0x4ecb('0xf')),_0x336965=_0x5b260e[_0x4ecb('0x2')],_0x2c2707=_0x5b260e[_0x4ecb('0x15')]['view'][_0x4ecb('0xa')][_0x4ecb('0x3')];_0x3c5abf[_0x4ecb('0x4')]['registerElementLabel']('rawHtml',_0x1044e8=>_0x5ef4a8(_0x336965,_0x4ecb('0xb'),_0x1044e8)),_0x5b260e['plugins']['get'](_0x4ecb('0xf'))[_0x4ecb('0x9')](_0x4ecb('0x13'),(_0x9bbce0,_0x1760f6)=>{const _0x2da726=_0x5b260e['model'],_0x3d65fe=_0x2da726[_0x4ecb('0xa')]['selection'];_0x2da726['change'](()=>{const _0x3cd3aa=function(_0x23a674){const _0x43133d=_0x23a674[_0x4ecb('0x10')]();if(_0x43133d&&_0x43133d['is'](_0x4ecb('0xe'),_0x4ecb('0x8')))return _0x23a674[_0x4ecb('0x10')]();return null;}(_0x3d65fe);if(!_0x3cd3aa)return void _0x9bbce0(null);const _0x3239d7=_0x3cd3aa[_0x4ecb('0x16')](_0x4ecb('0x0'))||'';if(void 0x0===_0x1760f6)return;if(_0x1760f6===_0x3239d7)return;_0x3c5abf['markBlockFormat'](_0x3cd3aa,{'commandName':_0x4ecb('0x13'),'commandParams':[_0x1760f6]}),_0x2c2707[_0x4ecb('0x10')]()[_0x4ecb('0x7')]('rawHtmlApi')['cancel']();});}),_0x3c5abf['_descriptionFactory'][_0x4ecb('0xc')](_0x3be326=>{const {data:_0x593a1c}=_0x3be326;if(_0x593a1c&&_0x4ecb('0x13')==_0x593a1c[_0x4ecb('0x11')]){const _0x318a72=_0x5ef4a8(_0x336965,_0x4ecb('0xb'));return{'type':'format','content':_0x5ef4a8(_0x336965,_0x4ecb('0x12'),_0x318a72)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a6e=['isIntersecting','length','locale','hasAttribute','nodeBefore','ImageCaptionUtils','getNearestSelectionRange','*Reset\x20image\x20width*','registerPostFixer','ImageStyleEditing','TrackChangesEditing','value','afterInit','ImageUploadEditing','markInsertion','isInlineImage','toNext','getClosestSelectedImageElement','schema','createRange','discard','join','registerDescriptionCallback','selection','getSuggestions','name','resizeImage','markBlockFormat','get','accept','subType','*Set\x20image\x20text\x20alternative:*\x20%0','isEqual','fromPosition','next','ImageTextAlternativeEditing','change','enableCommand','uploadImage','plugins','commandReversedParams','ELEMENT_INLINE_IMAGE','detach','start','has','width','ImageUtils','formatInline','addObject','ImageInlineEditing','commandParams','forward','*Remove\x20image\x20text\x20alternative*','getFirstRange','editor','shouldConvertImageType','removeObject','isOwn','caption','isBlockImage','getSuggestion','nodeAfter','toPrevious','commands','imageInline','imageStyle','ImageResize','imageCaption','imageStylePostApply','getSuggestionCallback','isBefore','formatBlock','_descriptionFactory','ImageCaptionEditing','isCollapsed','filter','newValue','toLowerCase','imageBlock','chain','from','registerCustomCallback','isInContent','registerElementLabel','suggestion','markInlineFormat','Inline\x20image\x20to\x20block\x20image','toggleImageCaption','findIndex','_suggestionFactory','convertBlockImageToInline','commandName','type','newRange','imageTextAlternative','markDeletion','getAttribute','getCaptionFromImageModelElement','head','ELEMENT_CAPTION','alt','previous','differ','insertion','model','document','_findSuggestions','Block\x20image\x20to\x20inline\x20image','discardSuggestion','insertImage','convertInlineImageToBlock','imageTypeInline','getContainedElement','createRangeOn','forceDefaultExecution','element','imageStylePreApply','author','refresh','format','imageTypeBlock','backward','end'];(function(_0xd8dfc4,_0x3a6ef4){const _0x4bac81=function(_0x11527c){while(--_0x11527c){_0xd8dfc4['push'](_0xd8dfc4['shift']());}};_0x4bac81(++_0x3a6ef4);}(_0x3a6e,0x9c));const _0x4bac=function(_0xd8dfc4,_0x3a6ef4){_0xd8dfc4=_0xd8dfc4-0x0;let _0x4bac81=_0x3a6e[_0xd8dfc4];return _0x4bac81;};import{Plugin as _0x7d2ea2}from'ckeditor5/src/core';import{LivePosition as _0x12439d}from'ckeditor5/src/engine';import{uid as _0x52c3bd}from'ckeditor5/src/utils';import{getTranslation as _0x24f4b2}from'../utils/common-translations';export default class X extends _0x7d2ea2{[_0x4bac('0x66')](){const _0x697dec=this[_0x4bac('0x15')];if(!_0x697dec[_0x4bac('0x6')]['has']('ImageEditing'))return;const _0x58062b=_0x697dec['plugins'][_0x4bac('0x76')](_0x4bac('0x64')),_0x166f85=_0x697dec[_0x4bac('0x6')]['get'](_0x4bac('0xd')),_0x1a8c0a={},_0x5bf284=_0x697dec[_0x4bac('0x5c')];if(_0x58062b[_0x4bac('0x4')](_0x4bac('0x4c')),_0x58062b[_0x4bac('0x27')][_0x4bac('0x32')](_0x4bac('0x2d'),_0x3b54d3=>_0x24f4b2(_0x5bf284,'ELEMENT_IMAGE',_0x3b54d3)),_0x58062b['_descriptionFactory'][_0x4bac('0x32')](_0x4bac('0x1f'),_0x5c6e0e=>_0x24f4b2(_0x5bf284,_0x4bac('0x8'),_0x5c6e0e)),_0x58062b[_0x4bac('0x27')][_0x4bac('0x32')](_0x4bac('0x19'),()=>_0x24f4b2(_0x5bf284,_0x4bac('0x42'))),_0x697dec[_0x4bac('0x6')][_0x4bac('0xb')](_0x4bac('0x67'))&&_0x58062b[_0x4bac('0x4')](_0x4bac('0x5')),_0x697dec[_0x4bac('0x6')][_0x4bac('0xb')]('ImageBlockEditing')&&_0x697dec[_0x4bac('0x6')][_0x4bac('0xb')](_0x4bac('0x10'))&&(_0x58062b['enableCommand'](_0x4bac('0x4e'),(_0x5e0647,_0x1fb6fc)=>{const _0x5c55d4=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')]['selection']);_0x697dec[_0x4bac('0x47')][_0x4bac('0x3')](()=>{_0x58062b[_0x4bac('0x75')](_0x5c55d4,{'commandName':_0x4bac('0x4e'),'commandParams':[_0x1fb6fc]},[],_0x4bac('0x39'));});}),_0x58062b[_0x4bac('0x4')]('imageTypeBlock',(_0x284a28,_0x13c5b4)=>{_0x697dec[_0x4bac('0x47')][_0x4bac('0x3')](_0x21f1e1=>{let _0xdbbc8a=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')][_0x4bac('0x71')]),_0x3e69b2=_0x21f1e1[_0x4bac('0x50')](_0xdbbc8a);const _0x2490c4=_0x12439d[_0x4bac('0x0')](_0x3e69b2[_0x4bac('0xa')],_0x4bac('0x1d')),_0x30f176=_0x12439d[_0x4bac('0x0')](_0x3e69b2['end'],_0x4bac('0x6a'));_0x58062b[_0x4bac('0x51')](()=>_0x284a28(_0x13c5b4)),_0xdbbc8a=_0x166f85['getClosestSelectedImageElement'](_0x697dec['model'][_0x4bac('0x48')][_0x4bac('0x71')]),_0x3e69b2=_0x21f1e1[_0x4bac('0x50')](_0xdbbc8a);const _0x236b42=_0x21f1e1[_0x4bac('0x6d')](_0x2490c4,_0x30f176);_0x2490c4['detach'](),_0x30f176[_0x4bac('0x9')](),_0x58062b[_0x4bac('0x75')](_0xdbbc8a,{'commandName':_0x4bac('0x4e'),'commandParams':[]},[],_0x4bac('0x4d')),_0x236b42[_0x4bac('0xa')][_0x4bac('0x25')](_0x3e69b2[_0x4bac('0xa')])&&_0x58062b[_0x4bac('0x68')](_0x21f1e1[_0x4bac('0x6d')](_0x236b42[_0x4bac('0xa')],_0x3e69b2[_0x4bac('0xa')]),_0x4bac('0x4d')),_0x3e69b2[_0x4bac('0x59')][_0x4bac('0x25')](_0x236b42[_0x4bac('0x59')])&&_0x58062b[_0x4bac('0x68')](_0x21f1e1[_0x4bac('0x6d')](_0x3e69b2[_0x4bac('0x59')],_0x236b42[_0x4bac('0x59')]),_0x4bac('0x4d'));});}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),_0x4bac('0x4d'),_0x4bac('0x6f'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),'convertInlineImageToBlock',_0x4bac('0x77'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),'convertInlineImageToBlock',_0x4bac('0x6e'),_0x58062b[_0x4bac('0x38')][_0x4bac('0x24')](_0x4bac('0x26'),'',_0x4bac('0x77'))),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x46'),'convertInlineImageToBlock',_0x4bac('0x6f'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x46'),'convertInlineImageToBlock',_0x4bac('0x6e'),([_0x5903d2])=>{const _0x4b5c1d=_0x58062b['_suggestionFactory'][_0x4bac('0x24')](_0x4bac('0x46'),'',_0x4bac('0x6e'));let _0x303394=_0x5903d2[_0x4bac('0xa')],_0x2c40a1=_0x5903d2['end'];const _0x208579=_0x697dec[_0x4bac('0x47')][_0x4bac('0x6c')][_0x4bac('0x60')](_0x303394,_0x4bac('0x58')),_0x576d44=_0x697dec[_0x4bac('0x47')]['schema']['getNearestSelectionRange'](_0x2c40a1,_0x4bac('0x12'));_0x208579[_0x4bac('0x29')]&&(_0x303394=_0x208579['start']),_0x576d44[_0x4bac('0x29')]&&(_0x2c40a1=_0x576d44[_0x4bac('0x59')]),_0x4b5c1d([_0x697dec[_0x4bac('0x47')]['createRange'](_0x303394,_0x2c40a1)]);}),_0x58062b['_suggestionFactory'][_0x4bac('0x30')](_0x4bac('0x26'),'convertInlineImageToBlock',_0x4bac('0x2e'),_0x73736e),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')]('insertion',_0x4bac('0x4d'),_0x4bac('0x2e'),_0x73736e)),_0x697dec['plugins'][_0x4bac('0xb')](_0x4bac('0x28'))&&(_0x58062b[_0x4bac('0x4')](_0x4bac('0x36'),(_0x14722b,_0x5d2137)=>{const _0x39ca81=_0x697dec[_0x4bac('0x6')][_0x4bac('0x76')](_0x4bac('0x5f'));let _0x341251=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')]['selection']),_0x4d2bfe=_0x39ca81['getCaptionFromImageModelElement'](_0x341251);_0x697dec['model'][_0x4bac('0x3')](()=>{if(_0x4d2bfe)return void _0x58062b[_0x4bac('0x3e')](_0x697dec['model'][_0x4bac('0x50')](_0x4d2bfe));const _0x3e237d=_0x166f85[_0x4bac('0x1a')](_0x341251);_0x14722b(_0x5d2137),_0x341251=_0x166f85[_0x4bac('0x6b')](_0x697dec['model']['document'][_0x4bac('0x71')]),_0x4d2bfe=_0x39ca81[_0x4bac('0x40')](_0x341251),_0x58062b[_0x4bac('0x68')](_0x697dec['model'][_0x4bac('0x50')](_0x4d2bfe),_0x3e237d?null:_0x4bac('0x22'));});}),_0x58062b['_suggestionFactory'][_0x4bac('0x30')]('insertion','imageCaption','chain',_0x73736e)),_0x697dec[_0x4bac('0x6')][_0x4bac('0xb')](_0x4bac('0x63'))){_0x58062b[_0x4bac('0x4')](_0x4bac('0x20'),(_0x13b39e,_0x54bc49)=>{const _0x30ebc0=_0x697dec[_0x4bac('0x6')][_0x4bac('0x76')]('Users')['me'],_0x1b37cf=_0x697dec[_0x4bac('0x1e')][_0x4bac('0x76')]('imageStyle');let _0x25a18f=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')][_0x4bac('0x71')]),_0x560a7a=_0x697dec[_0x4bac('0x47')][_0x4bac('0x50')](_0x25a18f),_0x1ea85b=_0x1b37cf['value'];if(_0x1ea85b==_0x54bc49[_0x4bac('0x65')])return;const _0x550348={'commandName':_0x4bac('0x20'),'commandParams':[_0x54bc49],'formatGroupId':_0x52c3bd()};_0x697dec[_0x4bac('0x47')]['change'](()=>{if(_0x58062b[_0x4bac('0x72')]()[_0x4bac('0x2a')](_0x5af938=>_0x5af938[_0x4bac('0x31')]&&_0x30ebc0==_0x5af938[_0x4bac('0x54')]&&(_0x4bac('0x26')==_0x5af938['type']||_0x4bac('0xe')==_0x5af938[_0x4bac('0x3b')])&&(_0x4bac('0x53')==_0x5af938[_0x4bac('0x78')]||_0x4bac('0x23')==_0x5af938[_0x4bac('0x78')])&&_0x5af938[_0x4bac('0x14')]()['isEqual'](_0x560a7a))['forEach'](_0x234217=>_0x58062b['discardSuggestion'](_0x234217[_0x4bac('0x41')])),_0x25a18f=_0x166f85[_0x4bac('0x6b')](_0x697dec['model'][_0x4bac('0x48')][_0x4bac('0x71')]),_0x560a7a=_0x697dec[_0x4bac('0x47')][_0x4bac('0x50')](_0x25a18f),_0x1b37cf[_0x4bac('0x55')](),_0x697dec[_0x4bac('0x1e')][_0x4bac('0x76')]('imageTypeInline')[_0x4bac('0x55')](),_0x697dec[_0x4bac('0x1e')][_0x4bac('0x76')](_0x4bac('0x57'))[_0x4bac('0x55')](),_0x1ea85b=_0x1b37cf['value'],_0x1ea85b!=_0x54bc49['value'])return _0x166f85[_0x4bac('0x69')](_0x25a18f)&&_0x1b37cf[_0x4bac('0x16')](_0x54bc49[_0x4bac('0x65')],_0x25a18f)?(_0x13b39e(_0x54bc49),_0x25a18f=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')]['document'][_0x4bac('0x71')]),void _0x58062b[_0x4bac('0x75')](_0x25a18f,{..._0x550348,'commandReversedParams':[{'value':_0x1ea85b||null}]},[],_0x4bac('0x53'))):void(_0x166f85[_0x4bac('0x1a')](_0x25a18f)?_0x58062b[_0x4bac('0x75')](_0x25a18f,_0x550348,[],'imageStylePostApply'):_0x58062b[_0x4bac('0x34')](_0x560a7a,_0x550348,_0x4bac('0x23')));});});for(const _0x1d96f9 of _0x697dec[_0x4bac('0x6')]['get'](_0x4bac('0x63'))['normalizedStyles'])_0x1a8c0a[_0x1d96f9[_0x4bac('0x73')]]=_0x1d96f9['title'][_0x4bac('0x2c')]();_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),_0x4bac('0x53'),_0x4bac('0x6f'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),_0x4bac('0x23'),_0x4bac('0x6f'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0xe'),'imageStylePostApply',_0x4bac('0x6f'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),'imageStylePreApply',_0x4bac('0x77'),()=>{}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),_0x4bac('0x53'),_0x4bac('0x6e'),(_0x382f6a,_0x11e923)=>{_0x58062b[_0x4bac('0x38')][_0x4bac('0x24')](_0x4bac('0x26'),'',_0x4bac('0x77'))(_0x382f6a,{'commandName':_0x11e923['commandName'],'commandParams':_0x11e923[_0x4bac('0x7')]});}),_0x58062b[_0x4bac('0x38')][_0x4bac('0x30')](_0x4bac('0x26'),_0x4bac('0x53'),'chain',_0x73736e);}const _0x3a13c4=[{'type':_0x4bac('0x26'),'subType':_0x4bac('0x53')},{'type':_0x4bac('0x46'),'subType':_0x4bac('0x22')},{'type':_0x4bac('0x26'),'subType':_0x4bac('0x4d')},{'type':_0x4bac('0x46'),'subType':_0x4bac('0x4d')}];function _0x316984(_0x589edb,_0x5bd741){const _0x46933e=_0x3a13c4[_0x4bac('0x37')](({type:_0x77ac9e,subType:_0xbda260})=>_0x589edb[_0x4bac('0x3b')]==_0x77ac9e&&_0x589edb[_0x4bac('0x78')]==_0xbda260),_0x3fef3d=_0x3a13c4[_0x4bac('0x37')](({type:_0x2bad5d,subType:_0x92dc2c})=>_0x5bd741[_0x4bac('0x3b')]==_0x2bad5d&&_0x5bd741[_0x4bac('0x78')]==_0x92dc2c);if(_0x46933e<0x0||_0x3fef3d<0x0)return!0x1;const _0xaadca4=_0x589edb[_0x4bac('0x14')](),_0x9cc49=_0x5bd741[_0x4bac('0x14')]();if((0x0==_0x46933e||0x1==_0x46933e)&&0x2==_0x3fef3d&&_0xaadca4[_0x4bac('0x5a')](_0x9cc49))return!0x0;if(0x2==_0x46933e&&0x3==_0x3fef3d){const _0xddb6a5=_0x58062b[_0x4bac('0x49')](_0xaadca4,_0x4bac('0x46'))[_0x4bac('0x2a')](({suggestion:_0x3dbdb5,meta:_0x24ca43})=>_0x24ca43[_0x4bac('0x18')]&&_0x4bac('0x4d')==_0x3dbdb5['subType']);if(_0xddb6a5[_0x4bac('0x5b')]>0x1&&_0x9cc49['end'][_0x4bac('0x7a')](_0xaadca4['start']))return!0x0;if(0x1==_0xddb6a5[_0x4bac('0x5b')]&&(_0xaadca4[_0x4bac('0xa')]['isEqual'](_0x9cc49['end'])||_0xaadca4[_0x4bac('0x59')][_0x4bac('0x7a')](_0x9cc49[_0x4bac('0xa')])))return!0x0;}if(0x3==_0x46933e&&0x3==_0x3fef3d&&_0xaadca4['start'][_0x4bac('0x25')](_0x9cc49[_0x4bac('0xa')])){const _0x4259b1=_0xaadca4[_0x4bac('0x59')][_0x4bac('0x1c')],_0x4f8d29=_0x9cc49[_0x4bac('0xa')][_0x4bac('0x5e')];return _0x166f85[_0x4bac('0x1a')](_0x4259b1)&&_0x4259b1===_0x4f8d29;}return!0x1;}function _0x73736e(_0x351544,_0x2086db){return _0x316984(_0x351544,_0x2086db)?[_0x351544,_0x2086db]:_0x316984(_0x2086db,_0x351544)?[_0x2086db,_0x351544]:null;}_0x697dec['model'][_0x4bac('0x48')][_0x4bac('0x62')](()=>{let _0x35456c=!0x1;const _0x372487=Array[_0x4bac('0x2f')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')][_0x4bac('0x45')]['getChangedMarkers']());for(const {name:_0x4b0a14,data:_0x5413c5}of _0x372487){const {group:_0x3c48e7,type:_0x6bb5e2,subType:_0x5a7874,id:_0x7fa20c}=_0x58062b['_splitMarkerName'](_0x4b0a14);if(_0x4bac('0x33')==_0x3c48e7&&_0x58062b['hasSuggestion'](_0x7fa20c)){if(_0x4bac('0x26')==_0x6bb5e2&&(_0x4bac('0x53')==_0x5a7874||_0x4bac('0x23')==_0x5a7874)){const _0x237012=_0x58062b[_0x4bac('0x1b')](_0x7fa20c);if(_0x5413c5[_0x4bac('0x3c')]){const _0x309c9a=_0x237012[_0x4bac('0x14')]()[_0x4bac('0x4f')]();if(_0x166f85[_0x4bac('0x1a')](_0x309c9a))continue;_0x58062b[_0x4bac('0x4b')](_0x237012),_0x35456c=!0x0;}}if('insertion'==_0x6bb5e2&&_0x4bac('0x22')==_0x5a7874&&!_0x5413c5['newRange']){const _0x374121=_0x58062b['getSuggestion'](_0x7fa20c);_0x374121[_0x4bac('0x1')]&&_0x374121[_0x4bac('0x1')][_0x4bac('0x31')]&&(_0x58062b[_0x4bac('0x4b')](_0x374121[_0x4bac('0x1')]),_0x35456c=!0x0);}}}return _0x35456c;}),_0x697dec[_0x4bac('0x6')]['has'](_0x4bac('0x21'))&&_0x58062b[_0x4bac('0x4')]('resizeImage',(_0x512941,_0x45c177)=>{const _0x366fb9=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')][_0x4bac('0x48')][_0x4bac('0x71')]);_0x366fb9[_0x4bac('0x3f')](_0x4bac('0xc'))!=_0x45c177['width']&&_0x697dec[_0x4bac('0x47')][_0x4bac('0x3')](()=>{_0x58062b[_0x4bac('0x75')](_0x366fb9,{'commandName':_0x4bac('0x74'),'commandParams':[_0x45c177]});});}),_0x697dec['plugins'][_0x4bac('0xb')](_0x4bac('0x2'))&&_0x58062b[_0x4bac('0x4')]('imageTextAlternative',(_0x334cc1,_0x282066)=>{const _0x299cff=_0x166f85[_0x4bac('0x6b')](_0x697dec[_0x4bac('0x47')]['document'][_0x4bac('0x71')]);(_0x299cff[_0x4bac('0x5d')](_0x4bac('0x43'))?_0x299cff['getAttribute'](_0x4bac('0x43')):'')!=_0x282066[_0x4bac('0x2b')]&&_0x697dec['model']['change'](()=>{_0x58062b['markBlockFormat'](_0x299cff,{'commandName':'imageTextAlternative','commandParams':[_0x282066]});});}),_0x58062b[_0x4bac('0x27')][_0x4bac('0x70')](_0x4f715a=>{if(!!_0x3a13c4['find'](({type:_0x242710,subType:_0x23aede})=>_0x4f715a[_0x4bac('0x3b')]==_0x242710&&_0x4f715a[_0x4bac('0x78')]==_0x23aede))return _0x4f715a[_0x4bac('0x44')]?{}:void 0x0;}),_0x58062b[_0x4bac('0x27')][_0x4bac('0x70')](_0x5abb23=>{if(_0x4bac('0x46')==_0x5abb23['type']||'deletion'==_0x5abb23['type']){const _0x2ac726=_0x5abb23[_0x4bac('0x4f')]();if(_0x2ac726&&_0x2ac726['is'](_0x4bac('0x52'),_0x4bac('0x19')))return{'type':'insertion'==_0x5abb23['type']?_0x4bac('0xf'):_0x4bac('0x17'),'element':_0x2ac726,'quantity':0x1};}}),_0x58062b[_0x4bac('0x27')][_0x4bac('0x70')](_0x31b613=>_0x4bac('0x26')==_0x31b613[_0x4bac('0x3b')]&&_0x4bac('0x4d')==_0x31b613['subType']?{'type':_0x4bac('0x56'),'content':_0x4bac('0x35')}:'formatBlock'==_0x31b613['type']&&'convertBlockImageToInline'==_0x31b613[_0x4bac('0x78')]?{'type':_0x4bac('0x56'),'content':_0x4bac('0x4a')}:void 0x0),_0x58062b[_0x4bac('0x27')][_0x4bac('0x70')](_0x2c1b9c=>{const {data:_0x5ac539}=_0x2c1b9c;if(_0x5ac539){if(_0x4bac('0x20')==_0x5ac539[_0x4bac('0x3a')]){const _0x19aa74=_0x5ac539[_0x4bac('0x11')][0x0][_0x4bac('0x65')];return _0x2eaa72('side'===_0x19aa74?_0x24f4b2(_0x5bf284,'FORMAT_SIDE_IMAGE'):_0x1a8c0a[_0x19aa74]||_0x19aa74);}if(_0x4bac('0x3d')==_0x5ac539[_0x4bac('0x3a')]){const _0x43145d=_0x5ac539[_0x4bac('0x11')][0x0][_0x4bac('0x2b')];return _0x43145d?{'type':_0x4bac('0x56'),'content':_0x24f4b2(_0x5bf284,_0x4bac('0x79'),'\x22'+_0x43145d+'\x22')}:{'type':_0x4bac('0x56'),'content':_0x24f4b2(_0x5bf284,_0x4bac('0x13'))};}if(_0x4bac('0x74')==_0x5ac539[_0x4bac('0x3a')]){const _0xe5c3ac=_0x5ac539[_0x4bac('0x11')][0x0][_0x4bac('0xc')];return _0xe5c3ac?{'type':_0x4bac('0x56'),'content':_0x24f4b2(_0x5bf284,'*Set\x20image\x20width:*\x20%0',_0xe5c3ac)}:{'type':_0x4bac('0x56'),'content':_0x24f4b2(_0x5bf284,_0x4bac('0x61'))};}}function _0x2eaa72(_0x2af8d6){return{'type':_0x4bac('0x56'),'content':_0x24f4b2(_0x5bf284,'*Format:*\x20%0',_0x2af8d6)};}});}}
23
+ const _0x5114=['selection','from','toLowerCase','afterInit','title','toPrevious','registerDescriptionCallback','_suggestionFactory','isBlockImage','ImageUtils','isInContent','ELEMENT_INLINE_IMAGE','imageTextAlternative','previous','isCollapsed','width','format','locale','next','side','ImageEditing','imageStylePostApply','refresh','newValue','get','element','start','imageTypeInline','commandName','normalizedStyles','discard','FORMAT_SIDE_IMAGE','getAttribute','_splitMarkerName','shouldConvertImageType','isIntersecting','model','editor','commandParams','detach','insertImage','caption','differ','isOwn','join','getContainedElement','hasAttribute','markBlockFormat','subType','markInsertion','ImageBlockEditing','getNearestSelectionRange','type','getClosestSelectedImageElement','formatBlock','has','ImageTextAlternativeEditing','isEqual','getSuggestions','formatInline','fromPosition','createRangeOn','backward','registerElementLabel','isInlineImage','enableCommand','ELEMENT_CAPTION','uploadImage','markInlineFormat','getCaptionFromImageModelElement','chain','value','head','discardSuggestion','ImageCaptionUtils','TrackChangesEditing','end','filter','createRange','commands','insertion','imageStylePreApply','convertBlockImageToInline','document','registerCustomCallback','forEach','_descriptionFactory','Inline\x20image\x20to\x20block\x20image','convertInlineImageToBlock','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','schema','accept','forward','plugins','imageTypeBlock','imageStyle','findIndex','toggleImageCaption','suggestion','nodeBefore','isBefore','resizeImage','imageCaption','change','toNext','getSuggestion','alt'];(function(_0x50a356,_0x511459){const _0x1f040b=function(_0x2b4ebc){while(--_0x2b4ebc){_0x50a356['push'](_0x50a356['shift']());}};_0x1f040b(++_0x511459);}(_0x5114,0x1b7));const _0x1f04=function(_0x50a356,_0x511459){_0x50a356=_0x50a356-0x0;let _0x1f040b=_0x5114[_0x50a356];return _0x1f040b;};import{Plugin as _0x1d763f}from'ckeditor5/src/core';import{LivePosition as _0x18a93e}from'ckeditor5/src/engine';import{uid as _0x2c88f0}from'ckeditor5/src/utils';import{getTranslation as _0x48742f}from'../utils/common-translations';export default class X extends _0x1d763f{[_0x1f04('0x68')](){const _0x707fbb=this[_0x1f04('0x1e')];if(!_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0xd')))return;const _0x404a02=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x44')),_0x40f7ce=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x2')),_0x554e51={},_0x33436c=_0x707fbb[_0x1f04('0xa')];if(_0x404a02['enableCommand'](_0x1f04('0x21')),_0x404a02['_descriptionFactory'][_0x1f04('0x38')]('imageBlock',_0x24e7a0=>_0x48742f(_0x33436c,'ELEMENT_IMAGE',_0x24e7a0)),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x38')]('imageInline',_0x1c1258=>_0x48742f(_0x33436c,_0x1f04('0x4'),_0x1c1258)),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x38')](_0x1f04('0x22'),()=>_0x48742f(_0x33436c,_0x1f04('0x3b'))),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageUploadEditing')&&_0x404a02[_0x1f04('0x3a')](_0x1f04('0x3c')),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0x2b'))&&_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageInlineEditing')&&(_0x404a02[_0x1f04('0x3a')](_0x1f04('0x14'),(_0x4a58b8,_0xc9273a)=>{const _0x58811e=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]);_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x61')](()=>{_0x404a02['markBlockFormat'](_0x58811e,{'commandName':_0x1f04('0x14'),'commandParams':[_0xc9273a]},[],_0x1f04('0x4b'));});}),_0x404a02[_0x1f04('0x3a')]('imageTypeBlock',(_0x4d1551,_0x8449af)=>{_0x707fbb[_0x1f04('0x1d')]['change'](_0x558938=>{let _0x165952=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x5e7972=_0x558938['createRangeOn'](_0x165952);const _0x474e1b=_0x18a93e[_0x1f04('0x35')](_0x5e7972[_0x1f04('0x13')],_0x1f04('0x6a')),_0x530d86=_0x18a93e['fromPosition'](_0x5e7972[_0x1f04('0x45')],_0x1f04('0x62'));_0x404a02['forceDefaultExecution'](()=>_0x4d1551(_0x8449af)),_0x165952=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x5e7972=_0x558938['createRangeOn'](_0x165952);const _0x1a608d=_0x558938[_0x1f04('0x47')](_0x474e1b,_0x530d86);_0x474e1b[_0x1f04('0x20')](),_0x530d86['detach'](),_0x404a02[_0x1f04('0x28')](_0x165952,{'commandName':_0x1f04('0x14'),'commandParams':[]},[],_0x1f04('0x51')),_0x1a608d[_0x1f04('0x13')][_0x1f04('0x5e')](_0x5e7972['start'])&&_0x404a02[_0x1f04('0x2a')](_0x558938[_0x1f04('0x47')](_0x1a608d[_0x1f04('0x13')],_0x5e7972[_0x1f04('0x13')]),_0x1f04('0x51')),_0x5e7972[_0x1f04('0x45')][_0x1f04('0x5e')](_0x1a608d[_0x1f04('0x45')])&&_0x404a02[_0x1f04('0x2a')](_0x558938[_0x1f04('0x47')](_0x5e7972[_0x1f04('0x45')],_0x1a608d[_0x1f04('0x45')]),_0x1f04('0x51'));});}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')]('formatBlock',_0x1f04('0x51'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x55'),()=>{}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x17'),_0x404a02[_0x1f04('0x0')][_0x1f04('0x53')](_0x1f04('0x2f'),'',_0x1f04('0x55'))),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')]('insertion',_0x1f04('0x51'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x1f04('0x17'),([_0x255fdc])=>{const _0x1b6dcd=_0x404a02['_suggestionFactory'][_0x1f04('0x53')](_0x1f04('0x49'),'',_0x1f04('0x17'));let _0x276381=_0x255fdc['start'],_0x5ab2f6=_0x255fdc[_0x1f04('0x45')];const _0x55af3d=_0x707fbb['model'][_0x1f04('0x54')][_0x1f04('0x2c')](_0x276381,_0x1f04('0x37')),_0x358c40=_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x54')][_0x1f04('0x2c')](_0x5ab2f6,_0x1f04('0x56'));_0x55af3d[_0x1f04('0x7')]&&(_0x276381=_0x55af3d['start']),_0x358c40[_0x1f04('0x7')]&&(_0x5ab2f6=_0x358c40[_0x1f04('0x45')]),_0x1b6dcd([_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x47')](_0x276381,_0x5ab2f6)]);}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x3f'),_0xa73418),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x49'),_0x1f04('0x51'),_0x1f04('0x3f'),_0xa73418)),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageCaptionEditing')&&(_0x404a02['enableCommand'](_0x1f04('0x5b'),(_0x9fc1b1,_0x56bee4)=>{const _0xa41007=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x43'));let _0x93a267=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')]['document']['selection']),_0x45657d=_0xa41007[_0x1f04('0x3e')](_0x93a267);_0x707fbb[_0x1f04('0x1d')]['change'](()=>{if(_0x45657d)return void _0x404a02['markDeletion'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x36')](_0x45657d));const _0x26e3fa=_0x40f7ce[_0x1f04('0x1')](_0x93a267);_0x9fc1b1(_0x56bee4),_0x93a267=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x45657d=_0xa41007[_0x1f04('0x3e')](_0x93a267),_0x404a02[_0x1f04('0x2a')](_0x707fbb[_0x1f04('0x1d')]['createRangeOn'](_0x45657d),_0x26e3fa?null:_0x1f04('0x60'));});}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x49'),_0x1f04('0x60'),'chain',_0xa73418)),_0x707fbb['plugins'][_0x1f04('0x30')]('ImageStyleEditing')){_0x404a02[_0x1f04('0x3a')](_0x1f04('0x59'),(_0x472d5e,_0x2baa3b)=>{const _0x145ab4=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')]('Users')['me'],_0x208d19=_0x707fbb['commands'][_0x1f04('0x11')](_0x1f04('0x59'));let _0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')]['document'][_0x1f04('0x65')]),_0x216d5c=_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x36')](_0x11cbd7),_0x1a1b52=_0x208d19[_0x1f04('0x40')];if(_0x1a1b52==_0x2baa3b[_0x1f04('0x40')])return;const _0x46d665={'commandName':_0x1f04('0x59'),'commandParams':[_0x2baa3b],'formatGroupId':_0x2c88f0()};_0x707fbb[_0x1f04('0x1d')]['change'](()=>{if(_0x404a02[_0x1f04('0x33')]()[_0x1f04('0x46')](_0x74ee63=>_0x74ee63['isInContent']&&_0x145ab4==_0x74ee63['author']&&(_0x1f04('0x2f')==_0x74ee63['type']||_0x1f04('0x34')==_0x74ee63[_0x1f04('0x2d')])&&(_0x1f04('0x4a')==_0x74ee63[_0x1f04('0x29')]||_0x1f04('0xe')==_0x74ee63[_0x1f04('0x29')])&&_0x74ee63['getFirstRange']()[_0x1f04('0x32')](_0x216d5c))[_0x1f04('0x4e')](_0x22fee2=>_0x404a02[_0x1f04('0x42')](_0x22fee2[_0x1f04('0x41')])),_0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model']['document'][_0x1f04('0x65')]),_0x216d5c=_0x707fbb['model'][_0x1f04('0x36')](_0x11cbd7),_0x208d19[_0x1f04('0xf')](),_0x707fbb['commands'][_0x1f04('0x11')]('imageTypeInline')[_0x1f04('0xf')](),_0x707fbb[_0x1f04('0x48')][_0x1f04('0x11')](_0x1f04('0x58'))[_0x1f04('0xf')](),_0x1a1b52=_0x208d19[_0x1f04('0x40')],_0x1a1b52!=_0x2baa3b[_0x1f04('0x40')])return _0x40f7ce[_0x1f04('0x39')](_0x11cbd7)&&_0x208d19[_0x1f04('0x1b')](_0x2baa3b[_0x1f04('0x40')],_0x11cbd7)?(_0x472d5e(_0x2baa3b),_0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]),void _0x404a02[_0x1f04('0x28')](_0x11cbd7,{..._0x46d665,'commandReversedParams':[{'value':_0x1a1b52||null}]},[],'imageStylePreApply')):void(_0x40f7ce[_0x1f04('0x1')](_0x11cbd7)?_0x404a02['markBlockFormat'](_0x11cbd7,_0x46d665,[],'imageStylePostApply'):_0x404a02[_0x1f04('0x3d')](_0x216d5c,_0x46d665,_0x1f04('0xe')));});});for(const _0x4983eb of _0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')]('ImageStyleEditing')[_0x1f04('0x16')])_0x554e51[_0x4983eb['name']]=_0x4983eb[_0x1f04('0x69')][_0x1f04('0x67')]();_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),_0x1f04('0x25'),()=>{}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')]('formatBlock',_0x1f04('0xe'),'join',()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x34'),_0x1f04('0xe'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x2f'),'imageStylePreApply',_0x1f04('0x55'),()=>{}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),'discard',(_0x56e818,_0x54b838)=>{_0x404a02[_0x1f04('0x0')]['getSuggestionCallback'](_0x1f04('0x2f'),'',_0x1f04('0x55'))(_0x56e818,{'commandName':_0x54b838[_0x1f04('0x15')],'commandParams':_0x54b838['commandReversedParams']});}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),'chain',_0xa73418);}const _0x5e2de6=[{'type':'formatBlock','subType':_0x1f04('0x4a')},{'type':'insertion','subType':'imageCaption'},{'type':_0x1f04('0x2f'),'subType':_0x1f04('0x51')},{'type':'insertion','subType':_0x1f04('0x51')}];function _0x425d2b(_0x5ef565,_0x5b6843){const _0x20a845=_0x5e2de6[_0x1f04('0x5a')](({type:_0x203508,subType:_0x60a58b})=>_0x5ef565[_0x1f04('0x2d')]==_0x203508&&_0x5ef565[_0x1f04('0x29')]==_0x60a58b),_0x2a3676=_0x5e2de6[_0x1f04('0x5a')](({type:_0x79a711,subType:_0xc6b6a7})=>_0x5b6843[_0x1f04('0x2d')]==_0x79a711&&_0x5b6843['subType']==_0xc6b6a7);if(_0x20a845<0x0||_0x2a3676<0x0)return!0x1;const _0x3be5fc=_0x5ef565['getFirstRange'](),_0xab8235=_0x5b6843['getFirstRange']();if((0x0==_0x20a845||0x1==_0x20a845)&&0x2==_0x2a3676&&_0x3be5fc[_0x1f04('0x1c')](_0xab8235))return!0x0;if(0x2==_0x20a845&&0x3==_0x2a3676){const _0x9a6a08=_0x404a02['_findSuggestions'](_0x3be5fc,_0x1f04('0x49'))[_0x1f04('0x46')](({suggestion:_0x1a146b,meta:_0x338829})=>_0x338829[_0x1f04('0x24')]&&_0x1f04('0x51')==_0x1a146b[_0x1f04('0x29')]);if(_0x9a6a08['length']>0x1&&_0xab8235[_0x1f04('0x45')]['isEqual'](_0x3be5fc[_0x1f04('0x13')]))return!0x0;if(0x1==_0x9a6a08['length']&&(_0x3be5fc['start']['isEqual'](_0xab8235[_0x1f04('0x45')])||_0x3be5fc['end'][_0x1f04('0x32')](_0xab8235[_0x1f04('0x13')])))return!0x0;}if(0x3==_0x20a845&&0x3==_0x2a3676&&_0x3be5fc[_0x1f04('0x13')][_0x1f04('0x5e')](_0xab8235[_0x1f04('0x13')])){const _0x894394=_0x3be5fc[_0x1f04('0x45')]['nodeAfter'],_0x5114a6=_0xab8235[_0x1f04('0x13')][_0x1f04('0x5d')];return _0x40f7ce[_0x1f04('0x1')](_0x894394)&&_0x894394===_0x5114a6;}return!0x1;}function _0xa73418(_0x5a508c,_0xf62863){return _0x425d2b(_0x5a508c,_0xf62863)?[_0x5a508c,_0xf62863]:_0x425d2b(_0xf62863,_0x5a508c)?[_0xf62863,_0x5a508c]:null;}_0x707fbb[_0x1f04('0x1d')]['document']['registerPostFixer'](()=>{let _0x307828=!0x1;const _0x508367=Array[_0x1f04('0x66')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x23')]['getChangedMarkers']());for(const {name:_0x2cc17,data:_0x98dbe6}of _0x508367){const {group:_0x311e10,type:_0x2c3e10,subType:_0x5ae727,id:_0x24284f}=_0x404a02[_0x1f04('0x1a')](_0x2cc17);if(_0x1f04('0x5c')==_0x311e10&&_0x404a02['hasSuggestion'](_0x24284f)){if('formatBlock'==_0x2c3e10&&(_0x1f04('0x4a')==_0x5ae727||_0x1f04('0xe')==_0x5ae727)){const _0xbb5bbf=_0x404a02[_0x1f04('0x63')](_0x24284f);if(_0x98dbe6['newRange']){const _0x14bd94=_0xbb5bbf['getFirstRange']()[_0x1f04('0x26')]();if(_0x40f7ce[_0x1f04('0x1')](_0x14bd94))continue;_0x404a02[_0x1f04('0x42')](_0xbb5bbf),_0x307828=!0x0;}}if(_0x1f04('0x49')==_0x2c3e10&&_0x1f04('0x60')==_0x5ae727&&!_0x98dbe6['newRange']){const _0x56f142=_0x404a02[_0x1f04('0x63')](_0x24284f);_0x56f142['next']&&_0x56f142[_0x1f04('0xb')][_0x1f04('0x3')]&&(_0x404a02['discardSuggestion'](_0x56f142['next']),_0x307828=!0x0);}}}return _0x307828;}),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageResize')&&_0x404a02[_0x1f04('0x3a')]('resizeImage',(_0x1ae966,_0x3c84a5)=>{const _0x5494b3=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]);_0x5494b3[_0x1f04('0x19')](_0x1f04('0x8'))!=_0x3c84a5[_0x1f04('0x8')]&&_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x61')](()=>{_0x404a02[_0x1f04('0x28')](_0x5494b3,{'commandName':'resizeImage','commandParams':[_0x3c84a5]});});}),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0x31'))&&_0x404a02[_0x1f04('0x3a')](_0x1f04('0x5'),(_0x11967a,_0x48d9b9)=>{const _0xcd38b0=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')]['selection']);(_0xcd38b0[_0x1f04('0x27')]('alt')?_0xcd38b0[_0x1f04('0x19')](_0x1f04('0x64')):'')!=_0x48d9b9[_0x1f04('0x10')]&&_0x707fbb['model'][_0x1f04('0x61')](()=>{_0x404a02[_0x1f04('0x28')](_0xcd38b0,{'commandName':'imageTextAlternative','commandParams':[_0x48d9b9]});});}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x56b245=>{if(!!_0x5e2de6['find'](({type:_0x176004,subType:_0x24ac7b})=>_0x56b245[_0x1f04('0x2d')]==_0x176004&&_0x56b245['subType']==_0x24ac7b))return _0x56b245[_0x1f04('0x6')]?{}:void 0x0;}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x113b7e=>{if(_0x1f04('0x49')==_0x113b7e[_0x1f04('0x2d')]||'deletion'==_0x113b7e[_0x1f04('0x2d')]){const _0x3fa297=_0x113b7e[_0x1f04('0x26')]();if(_0x3fa297&&_0x3fa297['is'](_0x1f04('0x12'),_0x1f04('0x22')))return{'type':_0x1f04('0x49')==_0x113b7e[_0x1f04('0x2d')]?'addObject':'removeObject','element':_0x3fa297,'quantity':0x1};}}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x1e3307=>'formatBlock'==_0x1e3307[_0x1f04('0x2d')]&&_0x1f04('0x51')==_0x1e3307['subType']?{'type':_0x1f04('0x9'),'content':_0x1f04('0x50')}:'formatBlock'==_0x1e3307[_0x1f04('0x2d')]&&_0x1f04('0x4b')==_0x1e3307[_0x1f04('0x29')]?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x57d655=>{const {data:_0x1c9f4d}=_0x57d655;if(_0x1c9f4d){if(_0x1f04('0x59')==_0x1c9f4d[_0x1f04('0x15')]){const _0x16f612=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x40')];return _0x24b557(_0x1f04('0xc')===_0x16f612?_0x48742f(_0x33436c,_0x1f04('0x18')):_0x554e51[_0x16f612]||_0x16f612);}if(_0x1f04('0x5')==_0x1c9f4d[_0x1f04('0x15')]){const _0x4427f8=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x10')];return _0x4427f8?{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4427f8+'\x22')}:{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,_0x1f04('0x52'))};}if(_0x1f04('0x5f')==_0x1c9f4d[_0x1f04('0x15')]){const _0x34b423=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x8')];return _0x34b423?{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Set\x20image\x20width:*\x20%0',_0x34b423)}:{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Reset\x20image\x20width*')};}}function _0x24b557(_0x3a65da){return{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Format:*\x20%0',_0x3a65da)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2129=['getContainedElement','has','change','getAttribute','*Format:*\x20replace\x20image\x20URL','ImageEditing','commandName','selection','Users','document','data','source','getSelectedElement','plugins','formatBlock','format','TrackChangesEditing','discard','enableCommand','handleReplaceImageCommand','afterInit','accept','registerCustomCallback','registerDescriptionCallback','author','handleSuggestionDescription','_suggestionFactory','getSuggestionCallback','subType','replaceImageSource','editor','get'];(function(_0xbdf585,_0x212985){const _0x2521c8=function(_0x27e4e1){while(--_0x27e4e1){_0xbdf585['push'](_0xbdf585['shift']());}};_0x2521c8(++_0x212985);}(_0x2129,0x95));const _0x2521=function(_0xbdf585,_0x212985){_0xbdf585=_0xbdf585-0x0;let _0x2521c8=_0x2129[_0xbdf585];return _0x2521c8;};import{Plugin as _0x28eacb}from'ckeditor5/src/core';import{getTranslation as _0x1784fe}from'../utils/common-translations';export default class Y extends _0x28eacb{[_0x2521('0x1f')](){if(!this[_0x2521('0x9')][_0x2521('0x18')][_0x2521('0xc')](_0x2521('0x10')))return;const _0x407d05=this[_0x2521('0x9')][_0x2521('0x18')][_0x2521('0xa')](_0x2521('0x1b'));_0x407d05[_0x2521('0x1d')](_0x2521('0x8'),(_0x14533a,_0x5e98fc)=>this[_0x2521('0x1e')](_0x14533a,_0x5e98fc)),_0x407d05[_0x2521('0x5')][_0x2521('0x1')](_0x2521('0x19'),_0x2521('0x8'),'accept',_0x407d05[_0x2521('0x5')][_0x2521('0x6')](_0x2521('0x19'),null,_0x2521('0x1c'))),_0x407d05[_0x2521('0x5')]['registerCustomCallback'](_0x2521('0x19'),_0x2521('0x8'),_0x2521('0x1c'),_0x407d05[_0x2521('0x5')][_0x2521('0x6')](_0x2521('0x19'),null,_0x2521('0x0'))),_0x407d05['_descriptionFactory'][_0x2521('0x2')](_0x3963fe=>this[_0x2521('0x4')](_0x3963fe));}[_0x2521('0x1e')](_0x41242b,_0xa55891){const _0x448c8e=this['editor'][_0x2521('0x18')][_0x2521('0xa')](_0x2521('0x1b')),_0x36d999=this[_0x2521('0x9')]['model'][_0x2521('0x14')][_0x2521('0x12')][_0x2521('0x17')]();this['editor']['model'][_0x2521('0xd')](()=>{let _0x22476a=_0x36d999[_0x2521('0xe')]('src');const _0x25f331=this[_0x2521('0x9')][_0x2521('0x18')][_0x2521('0xa')](_0x2521('0x13'))['me'];for(const _0x5c5d23 of _0x448c8e['getSuggestions']({'skipNotAttached':!0x0})){const _0x1825c7=_0x5c5d23[_0x2521('0xb')]();if(_0x2521('0x8')===_0x5c5d23[_0x2521('0x7')]&&_0x1825c7===_0x36d999){_0x5c5d23[_0x2521('0x3')]!==_0x25f331&&_0x5c5d23['discard'](),_0x22476a=_0x5c5d23[_0x2521('0x15')]['commandParams'][0x0][_0x2521('0x16')];break;}}_0x41242b(_0xa55891),_0x448c8e['markBlockFormat'](_0x36d999,{'commandName':_0x2521('0x8'),'commandParams':[{'source':_0x22476a}]},[],_0x2521('0x8'));});}[_0x2521('0x4')](_0x4eeeb8){const {data:_0x3eebb}=_0x4eeeb8;if(_0x3eebb&&_0x2521('0x8')===_0x3eebb[_0x2521('0x11')]){const _0x4f313f=_0x2521('0xf');return{'type':_0x2521('0x1a'),'content':_0x1784fe(this['editor']['locale'],_0x4f313f)};}}}
23
+ const _0x15cf=['registerCustomCallback','enableCommand','accept','_descriptionFactory','data','has','selection','Users','formatBlock','commandParams','source','*Format:*\x20replace\x20image\x20URL','getSelectedElement','change','discard','format','plugins','src','handleSuggestionDescription','ImageEditing','registerDescriptionCallback','model','document','get','commandName','author','_suggestionFactory','editor','locale','subType','getSuggestions','getAttribute','afterInit','replaceImageSource','getContainedElement','getSuggestionCallback','TrackChangesEditing'];(function(_0x5c703a,_0x15cf32){const _0x37de43=function(_0x272197){while(--_0x272197){_0x5c703a['push'](_0x5c703a['shift']());}};_0x37de43(++_0x15cf32);}(_0x15cf,0x1e8));const _0x37de=function(_0x5c703a,_0x15cf32){_0x5c703a=_0x5c703a-0x0;let _0x37de43=_0x15cf[_0x5c703a];return _0x37de43;};import{Plugin as _0x521540}from'ckeditor5/src/core';import{getTranslation as _0xe400c4}from'../utils/common-translations';export default class Y extends _0x521540{[_0x37de('0x19')](){if(!this[_0x37de('0x14')][_0x37de('0x9')][_0x37de('0x23')](_0x37de('0xc')))return;const _0x56aac5=this[_0x37de('0x14')][_0x37de('0x9')]['get'](_0x37de('0x1d'));_0x56aac5[_0x37de('0x1f')](_0x37de('0x1a'),(_0x448fb4,_0x3c64e7)=>this['handleReplaceImageCommand'](_0x448fb4,_0x3c64e7)),_0x56aac5[_0x37de('0x13')][_0x37de('0x1e')](_0x37de('0x1'),_0x37de('0x1a'),'accept',_0x56aac5['_suggestionFactory'][_0x37de('0x1c')]('formatBlock',null,_0x37de('0x7'))),_0x56aac5[_0x37de('0x13')][_0x37de('0x1e')]('formatBlock',_0x37de('0x1a'),'discard',_0x56aac5[_0x37de('0x13')]['getSuggestionCallback'](_0x37de('0x1'),null,_0x37de('0x20'))),_0x56aac5[_0x37de('0x21')][_0x37de('0xd')](_0x407752=>this[_0x37de('0xb')](_0x407752));}['handleReplaceImageCommand'](_0x31b33f,_0x40067b){const _0x5690f6=this[_0x37de('0x14')][_0x37de('0x9')]['get'](_0x37de('0x1d')),_0x4fb7f2=this[_0x37de('0x14')][_0x37de('0xe')][_0x37de('0xf')][_0x37de('0x24')][_0x37de('0x5')]();this[_0x37de('0x14')][_0x37de('0xe')][_0x37de('0x6')](()=>{let _0x3794ee=_0x4fb7f2[_0x37de('0x18')](_0x37de('0xa'));const _0x195d99=this[_0x37de('0x14')][_0x37de('0x9')][_0x37de('0x10')](_0x37de('0x0'))['me'];for(const _0x3b4eb9 of _0x5690f6[_0x37de('0x17')]({'skipNotAttached':!0x0})){const _0x53066c=_0x3b4eb9[_0x37de('0x1b')]();if(_0x37de('0x1a')===_0x3b4eb9[_0x37de('0x16')]&&_0x53066c===_0x4fb7f2){_0x3b4eb9[_0x37de('0x12')]!==_0x195d99&&_0x3b4eb9[_0x37de('0x7')](),_0x3794ee=_0x3b4eb9[_0x37de('0x22')][_0x37de('0x2')][0x0][_0x37de('0x3')];break;}}_0x31b33f(_0x40067b),_0x5690f6['markBlockFormat'](_0x4fb7f2,{'commandName':_0x37de('0x1a'),'commandParams':[{'source':_0x3794ee}]},[],_0x37de('0x1a'));});}[_0x37de('0xb')](_0x119f55){const {data:_0x9ca95}=_0x119f55;if(_0x9ca95&&_0x37de('0x1a')===_0x9ca95[_0x37de('0x11')]){const _0x38bd4d=_0x37de('0x4');return{'type':_0x37de('0x8'),'content':_0xe400c4(this[_0x37de('0x14')][_0x37de('0x15')],_0x38bd4d)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x347f=['plugins','bind','commands','listenTo','importWord','_handleImportedData','high','lowest','enableCommand','trackChanges','_trackChangesValueDuringImport','_trackChangesExecuted','value','execute','collaboration_features','get','editor','TrackChangesEditing','Users','track_changes'];(function(_0x3473e3,_0x347fcc){const _0x15bee4=function(_0x5ea92c){while(--_0x5ea92c){_0x3473e3['push'](_0x3473e3['shift']());}};_0x15bee4(++_0x347fcc);}(_0x347f,0x140));const _0x15be=function(_0x3473e3,_0x347fcc){_0x3473e3=_0x3473e3-0x0;let _0x15bee4=_0x347f[_0x3473e3];return _0x15bee4;};import{Plugin as _0x446eb4}from'ckeditor5/src/core';export default class Z extends _0x446eb4{constructor(_0x1eafd3){super(_0x1eafd3),this['_trackChangesValueDuringImport']=!0x1,this[_0x15be('0xb')]=!0x1;}['afterInit'](){const _0x336931=this['editor'],_0xe85e87=_0x336931['commands'][_0x15be('0xf')](_0x15be('0x4')),_0x2dc95f=_0x336931[_0x15be('0x2')][_0x15be('0xf')](_0x15be('0x9'));_0xe85e87&&(_0xe85e87['on'](_0x15be('0xd'),(_0x64c795,[,_0x25fc15])=>{this[_0x15be('0xa')]=_0x2dc95f[_0x15be('0xc')],_0x25fc15[_0x15be('0xe')][_0x15be('0x13')]=!this[_0x15be('0xa')];},{'priority':_0x15be('0x6')}),this[_0x15be('0x3')](_0xe85e87,'dataInsert',this[_0x15be('0x5')][_0x15be('0x1')](this)),this[_0x15be('0x3')](_0xe85e87,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x2dc95f[_0x15be('0xd')](),this[_0x15be('0xb')]=!0x1);},{'priority':_0x15be('0x7')}),_0x336931['plugins'][_0x15be('0xf')]('TrackChangesEditing')[_0x15be('0x8')]('importWord'));}[_0x15be('0x5')](_0x290622,_0x250ada){const {suggestions:_0x257a67}=_0x250ada,_0x2e88db=this['editor'][_0x15be('0x2')][_0x15be('0xf')](_0x15be('0x9')),_0x2ceafa=_0x2e88db['value'];this['_trackChangesValueDuringImport']!==_0x2ceafa&&(_0x2e88db[_0x15be('0xd')](),this[_0x15be('0xb')]=!0x0),_0x257a67&&_0x257a67['forEach'](({id:_0x174192,type:_0x5f2234,author:_0x1692c5,created_at:_0x2c364d})=>{const _0xe84c55={'id':_0x174192,'type':_0x5f2234,'authorId':this[_0x15be('0x10')][_0x15be('0x0')][_0x15be('0xf')](_0x15be('0x12'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1692c5,'createdAt':_0x2c364d?new Date(_0x2c364d):new Date(),'source':'importWord'}}};this['editor'][_0x15be('0x0')][_0x15be('0xf')](_0x15be('0x11'))['_setSuggestionData'](_0xe84c55);});}}
23
+ const _0x12ef=['collaboration_features','editor','dataInsert','high','_trackChangesValueDuringImport','enableCommand','_setSuggestionData','trackChanges','importWord','TrackChangesEditing','bind','_handleImportedData','listenTo','execute','plugins','commands','afterInit','get','_trackChangesExecuted','forEach'];(function(_0x45cd08,_0x12ef37){const _0x30c461=function(_0x138ea9){while(--_0x138ea9){_0x45cd08['push'](_0x45cd08['shift']());}};_0x30c461(++_0x12ef37);}(_0x12ef,0x189));const _0x30c4=function(_0x45cd08,_0x12ef37){_0x45cd08=_0x45cd08-0x0;let _0x30c461=_0x12ef[_0x45cd08];return _0x30c461;};import{Plugin as _0x5da00d}from'ckeditor5/src/core';export default class Z extends _0x5da00d{constructor(_0x16452b){super(_0x16452b),this[_0x30c4('0xb')]=!0x1,this[_0x30c4('0x5')]=!0x1;}[_0x30c4('0x3')](){const _0x34866b=this['editor'],_0x1299c9=_0x34866b[_0x30c4('0x2')][_0x30c4('0x4')](_0x30c4('0xf')),_0x4c0b60=_0x34866b['commands'][_0x30c4('0x4')](_0x30c4('0xe'));_0x1299c9&&(_0x1299c9['on'](_0x30c4('0x0'),(_0x53ee26,[,_0x5e559a])=>{this['_trackChangesValueDuringImport']=_0x4c0b60['value'],_0x5e559a[_0x30c4('0x7')]['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':_0x30c4('0xa')}),this[_0x30c4('0x13')](_0x1299c9,_0x30c4('0x9'),this[_0x30c4('0x12')][_0x30c4('0x11')](this)),this[_0x30c4('0x13')](_0x1299c9,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x4c0b60[_0x30c4('0x0')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x34866b['plugins']['get'](_0x30c4('0x10'))[_0x30c4('0xc')](_0x30c4('0xf')));}[_0x30c4('0x12')](_0x8233a,_0x5684e2){const {suggestions:_0x1c185c}=_0x5684e2,_0x6d11e3=this[_0x30c4('0x8')]['commands'][_0x30c4('0x4')]('trackChanges'),_0x2ddcce=_0x6d11e3['value'];this[_0x30c4('0xb')]!==_0x2ddcce&&(_0x6d11e3['execute'](),this[_0x30c4('0x5')]=!0x0),_0x1c185c&&_0x1c185c[_0x30c4('0x6')](({id:_0x44bdc1,type:_0x5eb3c2,author:_0x1a93f9,created_at:_0x7f1721})=>{const _0x3c50a8={'id':_0x44bdc1,'type':_0x5eb3c2,'authorId':this['editor']['plugins'][_0x30c4('0x4')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1a93f9,'createdAt':_0x7f1721?new Date(_0x7f1721):new Date(),'source':'importWord'}}};this['editor'][_0x30c4('0x1')]['get'](_0x30c4('0x10'))[_0x30c4('0xd')](_0x3c50a8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d19=['outdentBlock','document','get','selection','IndentBlock','getItems','plugins','getSelectedBlocks','IndentEditing','checkAttribute','getItemLabel','indentBlock','locale','schema','change','enableCommand','TrackChangesEditing','from','model','commandName','has','*Indent:*\x20%0','markBlockFormat','_descriptionFactory','indent','blockIndent'];(function(_0x1f3abd,_0x1d19c8){const _0x5b6908=function(_0x2e34f2){while(--_0x2e34f2){_0x1f3abd['push'](_0x1f3abd['shift']());}};_0x5b6908(++_0x1d19c8);}(_0x1d19,0xe7));const _0x5b69=function(_0x1f3abd,_0x1d19c8){_0x1f3abd=_0x1f3abd-0x0;let _0x5b6908=_0x1d19[_0x1f3abd];return _0x5b6908;};import{Plugin as _0x32e4df}from'ckeditor5/src/core';import{getTranslation as _0x5b71a5}from'../utils/common-translations';export default class tt extends _0x32e4df{['afterInit'](){const _0x2d6c3a=this['editor'],_0x4a039c=_0x2d6c3a[_0x5b69('0x9')][_0x5b69('0x5')](_0x5b69('0x13'));_0x2d6c3a['plugins'][_0x5b69('0x17')](_0x5b69('0xb'))&&(_0x4a039c[_0x5b69('0x12')](_0x5b69('0x1')),_0x4a039c[_0x5b69('0x12')]('outdent'));const _0x4e6e48=_0x2d6c3a[_0x5b69('0xf')];if(_0x2d6c3a[_0x5b69('0x9')][_0x5b69('0x17')](_0x5b69('0x7'))){for(const _0x105b81 of[_0x5b69('0xe'),'outdentBlock'])_0x4a039c[_0x5b69('0x12')](_0x105b81,()=>{const _0x5204d2=Array[_0x5b69('0x14')](this['editor']['model'][_0x5b69('0x4')][_0x5b69('0x6')][_0x5b69('0xa')]())['filter'](_0x23448=>this['editor'][_0x5b69('0x15')][_0x5b69('0x10')][_0x5b69('0xc')](_0x23448,_0x5b69('0x2')));_0x2d6c3a[_0x5b69('0x15')][_0x5b69('0x11')](()=>{for(const _0x4a0f37 of _0x5204d2)_0x4a039c[_0x5b69('0x19')](_0x4a0f37,{'commandName':_0x105b81,'commandParams':[{'value':''}],'formatGroupId':_0x5b69('0xe')});});});_0x4a039c[_0x5b69('0x0')]['registerDescriptionCallback'](_0x753be5=>{const {data:_0x87caf0}=_0x753be5;if(!_0x87caf0)return;if('indentBlock'!=_0x87caf0[_0x5b69('0x16')]&&_0x5b69('0x3')!=_0x87caf0[_0x5b69('0x16')])return;const _0x17329=_0x753be5[_0x5b69('0x8')]()[0x0],_0x247274=_0x4a039c[_0x5b69('0x0')][_0x5b69('0xd')](_0x17329);return _0x5b69('0xe')==_0x87caf0[_0x5b69('0x16')]?{'type':'format','content':_0x5b71a5(_0x4e6e48,_0x5b69('0x18'),_0x247274)}:_0x5b69('0x3')==_0x87caf0[_0x5b69('0x16')]?{'type':'format','content':_0x5b71a5(_0x4e6e48,'*Outdent:*\x20%0',_0x247274)}:void 0x0;});}}}
23
+ const _0x3df3=['registerDescriptionCallback','locale','enableCommand','TrackChangesEditing','has','outdent','from','_descriptionFactory','*Indent:*\x20%0','get','checkAttribute','format','getItemLabel','commandName','blockIndent','plugins','IndentEditing','filter','indentBlock','schema','markBlockFormat','indent','model','outdentBlock','change','IndentBlock','editor','document'];(function(_0x4d9d19,_0x3df3c2){const _0x5e1236=function(_0x4e2409){while(--_0x4e2409){_0x4d9d19['push'](_0x4d9d19['shift']());}};_0x5e1236(++_0x3df3c2);}(_0x3df3,0x1aa));const _0x5e12=function(_0x4d9d19,_0x3df3c2){_0x4d9d19=_0x4d9d19-0x0;let _0x5e1236=_0x3df3[_0x4d9d19];return _0x5e1236;};import{Plugin as _0x5c0b20}from'ckeditor5/src/core';import{getTranslation as _0x38ca7d}from'../utils/common-translations';export default class tt extends _0x5c0b20{['afterInit'](){const _0x1d024c=this['editor'],_0x260010=_0x1d024c[_0x5e12('0x9')][_0x5e12('0x3')](_0x5e12('0x19'));_0x1d024c['plugins'][_0x5e12('0x1a')](_0x5e12('0xa'))&&(_0x260010['enableCommand'](_0x5e12('0xf')),_0x260010['enableCommand'](_0x5e12('0x1b')));const _0x4542cb=_0x1d024c[_0x5e12('0x17')];if(_0x1d024c[_0x5e12('0x9')][_0x5e12('0x1a')](_0x5e12('0x13'))){for(const _0x16e8ba of[_0x5e12('0xc'),'outdentBlock'])_0x260010[_0x5e12('0x18')](_0x16e8ba,()=>{const _0x59d676=Array[_0x5e12('0x0')](this['editor'][_0x5e12('0x10')][_0x5e12('0x15')]['selection']['getSelectedBlocks']())[_0x5e12('0xb')](_0x274628=>this[_0x5e12('0x14')][_0x5e12('0x10')][_0x5e12('0xd')][_0x5e12('0x4')](_0x274628,_0x5e12('0x8')));_0x1d024c[_0x5e12('0x10')][_0x5e12('0x12')](()=>{for(const _0x12e572 of _0x59d676)_0x260010[_0x5e12('0xe')](_0x12e572,{'commandName':_0x16e8ba,'commandParams':[{'value':''}],'formatGroupId':_0x5e12('0xc')});});});_0x260010[_0x5e12('0x1')][_0x5e12('0x16')](_0x188578=>{const {data:_0x1fa090}=_0x188578;if(!_0x1fa090)return;if('indentBlock'!=_0x1fa090['commandName']&&'outdentBlock'!=_0x1fa090[_0x5e12('0x7')])return;const _0x269b64=_0x188578['getItems']()[0x0],_0x34ef83=_0x260010[_0x5e12('0x1')][_0x5e12('0x6')](_0x269b64);return'indentBlock'==_0x1fa090[_0x5e12('0x7')]?{'type':_0x5e12('0x5'),'content':_0x38ca7d(_0x4542cb,_0x5e12('0x2'),_0x34ef83)}:_0x5e12('0x11')==_0x1fa090[_0x5e12('0x7')]?{'type':_0x5e12('0x5'),'content':_0x38ca7d(_0x4542cb,'*Outdent:*\x20%0',_0x34ef83)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5baf=['get','TrackChangesEditing','plugins','requires'];(function(_0x492ae6,_0x5baf46){var _0x34daa6=function(_0x57a2a7){while(--_0x57a2a7){_0x492ae6['push'](_0x492ae6['shift']());}};_0x34daa6(++_0x5baf46);}(_0x5baf,0x197));var _0x34da=function(_0x492ae6,_0x5baf46){_0x492ae6=_0x492ae6-0x0;var _0x34daa6=_0x5baf[_0x492ae6];return _0x34daa6;};import{Plugin as _0x172084}from'ckeditor5/src/core';import{Input as _0x9c961d}from'ckeditor5/src/typing';export default class it extends _0x172084{static get[_0x34da('0x0')](){return[_0x9c961d];}['init'](){this['editor'][_0x34da('0x3')][_0x34da('0x1')](_0x34da('0x2'))['enableCommand']('input');}}
23
+ var _0x227b=['requires','input','enableCommand','editor'];(function(_0x37a8bf,_0x227b7f){var _0x102007=function(_0x2e771c){while(--_0x2e771c){_0x37a8bf['push'](_0x37a8bf['shift']());}};_0x102007(++_0x227b7f);}(_0x227b,0x14e));var _0x1020=function(_0x37a8bf,_0x227b7f){_0x37a8bf=_0x37a8bf-0x0;var _0x102007=_0x227b[_0x37a8bf];return _0x102007;};import{Plugin as _0x4d5798}from'ckeditor5/src/core';import{Input as _0x58f6d9}from'ckeditor5/src/typing';export default class it extends _0x4d5798{static get[_0x1020('0x2')](){return[_0x58f6d9];}['init'](){this[_0x1020('0x1')]['plugins']['get']('TrackChangesEditing')[_0x1020('0x0')](_0x1020('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29bc=['TrackChangesEditing','selection','link','document','linkHref','isCollapsed','afterInit','commandParams','enableCommand','_descriptionFactory','plugins','model','has','getAttribute','commandName','change','unlink','hasAttribute','*Remove\x20link*','get','LinkEditing','getRanges','editor','markInlineFormat','from','registerDescriptionCallback','format'];(function(_0x4b74c3,_0x29bc76){const _0xc9003a=function(_0x1ceeb5){while(--_0x1ceeb5){_0x4b74c3['push'](_0x4b74c3['shift']());}};_0xc9003a(++_0x29bc76);}(_0x29bc,0x1a1));const _0xc900=function(_0x4b74c3,_0x29bc76){_0x4b74c3=_0x4b74c3-0x0;let _0xc9003a=_0x29bc[_0x4b74c3];return _0xc9003a;};import{Plugin as _0x44c2c0}from'ckeditor5/src/core';import{findAttributeRange as _0xd6fa04}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1396ef}from'./utils';import{getTranslation as _0x8b998f}from'../utils/common-translations';export default class et extends _0x44c2c0{[_0xc900('0x15')](){const _0x796fba=this[_0xc900('0xa')];if(!_0x796fba['plugins'][_0xc900('0x0')](_0xc900('0x8')))return;const _0xba0840=_0x796fba[_0xc900('0x19')][_0xc900('0x7')](_0xc900('0xf'));_0xba0840[_0xc900('0x17')](_0xc900('0x11'),(_0x3bbf1a,_0x1033d6)=>{const _0x4ad224=_0x796fba[_0xc900('0x1a')][_0xc900('0x12')][_0xc900('0x10')];let _0x18a88a=[];if(_0x4ad224[_0xc900('0x14')]){if(!_0x4ad224[_0xc900('0x5')](_0xc900('0x13')))return void _0x3bbf1a(_0x1033d6);{const _0x197daf=_0xd6fa04(_0x4ad224['getFirstPosition'](),_0xc900('0x13'),_0x4ad224[_0xc900('0x1')](_0xc900('0x13')),_0x796fba[_0xc900('0x1a')]);_0x18a88a=[_0x197daf];}}else _0x18a88a=Array[_0xc900('0xc')](_0x4ad224[_0xc900('0x9')]());_0x796fba['model'][_0xc900('0x3')](()=>{for(const _0x3f49de of _0x18a88a)_0xba0840[_0xc900('0xb')](_0x3f49de,{'commandName':_0xc900('0x11'),'commandParams':[_0x1033d6]});});}),_0xba0840[_0xc900('0x17')]('unlink',()=>{const _0xbf12ce=this['editor'][_0xc900('0x1a')],_0x2254aa=_0xbf12ce[_0xc900('0x12')][_0xc900('0x10')];_0xbf12ce[_0xc900('0x3')](()=>{let _0x228cb9=[];if(_0x2254aa[_0xc900('0x14')])_0x228cb9=[_0xd6fa04(_0x2254aa['getFirstPosition'](),_0xc900('0x13'),_0x2254aa['getAttribute'](_0xc900('0x13')),_0x796fba[_0xc900('0x1a')])];else _0x228cb9=_0x1396ef('linkHref',_0x2254aa['getFirstRange'](),_0x796fba[_0xc900('0x1a')]);for(const _0x422156 of _0x228cb9)_0xba0840[_0xc900('0xb')](_0x422156,{'commandName':_0xc900('0x4'),'commandParams':[]});});}),_0xba0840[_0xc900('0x18')][_0xc900('0xd')](_0x3062a7=>{const {data:_0x969789}=_0x3062a7,_0x4849af=_0x796fba['locale'];if(_0x969789){if(_0xc900('0x11')==_0x969789[_0xc900('0x2')]){const _0x1a6d4e=_0x969789[_0xc900('0x16')][0x0];return{'type':_0xc900('0xe'),'content':_0x8b998f(_0x4849af,'*Set\x20link:*\x20%0','\x22'+_0x1a6d4e+'\x22')};}return'unlink'==_0x969789[_0xc900('0x2')]?{'type':_0xc900('0xe'),'content':_0x8b998f(_0x4849af,_0xc900('0x6'))}:void 0x0;}});}}
23
+ const _0x24ea=['LinkEditing','hasAttribute','selection','model','*Remove\x20link*','linkHref','commandParams','isCollapsed','getRanges','link','unlink','locale','editor','markInlineFormat','format','enableCommand','has','plugins','commandName','getFirstPosition','change','getFirstRange','document','getAttribute'];(function(_0x5c8ee7,_0x24eade){const _0x3d2456=function(_0x165566){while(--_0x165566){_0x5c8ee7['push'](_0x5c8ee7['shift']());}};_0x3d2456(++_0x24eade);}(_0x24ea,0x1e9));const _0x3d24=function(_0x5c8ee7,_0x24eade){_0x5c8ee7=_0x5c8ee7-0x0;let _0x3d2456=_0x24ea[_0x5c8ee7];return _0x3d2456;};import{Plugin as _0xa19e91}from'ckeditor5/src/core';import{findAttributeRange as _0x52202f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xf15b2}from'./utils';import{getTranslation as _0x402867}from'../utils/common-translations';export default class et extends _0xa19e91{['afterInit'](){const _0x2f7dac=this['editor'];if(!_0x2f7dac['plugins'][_0x3d24('0x7')](_0x3d24('0xf')))return;const _0x13c2a1=_0x2f7dac[_0x3d24('0x8')]['get']('TrackChangesEditing');_0x13c2a1[_0x3d24('0x6')](_0x3d24('0x0'),(_0x4572e5,_0x57fcde)=>{const _0x41cfe9=_0x2f7dac[_0x3d24('0x12')][_0x3d24('0xd')][_0x3d24('0x11')];let _0x41eefc=[];if(_0x41cfe9[_0x3d24('0x16')]){if(!_0x41cfe9[_0x3d24('0x10')](_0x3d24('0x14')))return void _0x4572e5(_0x57fcde);{const _0x251aae=_0x52202f(_0x41cfe9[_0x3d24('0xa')](),_0x3d24('0x14'),_0x41cfe9[_0x3d24('0xe')](_0x3d24('0x14')),_0x2f7dac[_0x3d24('0x12')]);_0x41eefc=[_0x251aae];}}else _0x41eefc=Array['from'](_0x41cfe9[_0x3d24('0x17')]());_0x2f7dac[_0x3d24('0x12')][_0x3d24('0xb')](()=>{for(const _0x176e43 of _0x41eefc)_0x13c2a1[_0x3d24('0x4')](_0x176e43,{'commandName':_0x3d24('0x0'),'commandParams':[_0x57fcde]});});}),_0x13c2a1[_0x3d24('0x6')](_0x3d24('0x1'),()=>{const _0x5637d2=this[_0x3d24('0x3')][_0x3d24('0x12')],_0x2196a4=_0x5637d2[_0x3d24('0xd')][_0x3d24('0x11')];_0x5637d2[_0x3d24('0xb')](()=>{let _0x1e3cf6=[];if(_0x2196a4[_0x3d24('0x16')])_0x1e3cf6=[_0x52202f(_0x2196a4[_0x3d24('0xa')](),_0x3d24('0x14'),_0x2196a4[_0x3d24('0xe')]('linkHref'),_0x2f7dac[_0x3d24('0x12')])];else _0x1e3cf6=_0xf15b2(_0x3d24('0x14'),_0x2196a4[_0x3d24('0xc')](),_0x2f7dac[_0x3d24('0x12')]);for(const _0x1c947a of _0x1e3cf6)_0x13c2a1[_0x3d24('0x4')](_0x1c947a,{'commandName':_0x3d24('0x1'),'commandParams':[]});});}),_0x13c2a1['_descriptionFactory']['registerDescriptionCallback'](_0xc1a5b0=>{const {data:_0x9de413}=_0xc1a5b0,_0x307e28=_0x2f7dac[_0x3d24('0x2')];if(_0x9de413){if(_0x3d24('0x0')==_0x9de413[_0x3d24('0x9')]){const _0x155eab=_0x9de413[_0x3d24('0x15')][0x0];return{'type':_0x3d24('0x5'),'content':_0x402867(_0x307e28,'*Set\x20link:*\x20%0','\x22'+_0x155eab+'\x22')};}return _0x3d24('0x1')==_0x9de413[_0x3d24('0x9')]?{'type':_0x3d24('0x5'),'content':_0x402867(_0x307e28,_0x3d24('0x13'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e6b=['execute','format','from','bulletedList','_descriptionFactory','markBlockFormat','forceValue','blockName','todoList','numbered','change','*Uncheck\x20item*','*Outdent:*\x20%0','has','element','end','createPositionAt','listItem','checkChild','todoListChecked','model','length','commandParams','ELEMENT_TODO_LIST','paragraph','replace','TodoListEditing','previousSibling','add','registerDescriptionCallback','get','todo','slice','*Check\x20item*','editor','value','ListEditing','parent','List','name','enableCommand','outdentList','plugins','selection','push','registerElementLabel','numberedList','_selectedElements','checkTodoList','getAttribute','schema','listType','getSelectedBlocks','commandName','ELEMENT_LIST_ITEM','locale','nextSibling','filter','commands','listIndent'];(function(_0x22a947,_0x3e6bec){const _0x38a5ab=function(_0x20a875){while(--_0x20a875){_0x22a947['push'](_0x22a947['shift']());}};_0x38a5ab(++_0x3e6bec);}(_0x3e6b,0xf5));const _0x38a5=function(_0x22a947,_0x3e6bec){_0x22a947=_0x22a947-0x0;let _0x38a5ab=_0x3e6b[_0x22a947];return _0x38a5ab;};import{Plugin as _0x1799a5}from'ckeditor5/src/core';import{getTranslation as _0x178b17}from'../utils/common-translations';export default class st extends _0x1799a5{['afterInit'](){const _0x217999=this[_0x38a5('0x1d')],_0x36c965=_0x217999[_0x38a5('0x32')];if(!_0x217999[_0x38a5('0x25')][_0x38a5('0x8')](_0x38a5('0x1f')))return;const _0x283edc=_0x217999[_0x38a5('0x25')]['get']('TrackChangesEditing'),_0x42ae83=_0x217999['plugins'][_0x38a5('0x8')](_0x38a5('0x15'));function _0x41041a(_0x3327f7){return()=>{const _0x40ae95=_0x217999['model']['document'][_0x38a5('0x26')],_0x9b6b55=_0x217999['commands'][_0x38a5('0x19')](_0x3327f7);if(_0x9b6b55['value'])return void _0x217999[_0x38a5('0x37')](_0x38a5('0x13'),{});const _0x588ebd=_0x3327f7[_0x38a5('0x1b')](0x0,-0x4),_0xa0595d=function(_0x58ee0f,_0x2a2f05,_0x3b0d86){let _0x220ed8=Array['from'](_0x58ee0f)[_0x38a5('0x34')](_0x3ffa6e=>function(_0x48d62b,_0x48ba8b){return _0x48ba8b[_0x38a5('0xd')](_0x48d62b[_0x38a5('0x20')],_0x38a5('0xc'))&&!_0x48ba8b['isObject'](_0x48d62b);}(_0x3ffa6e,_0x3b0d86));_0x220ed8=_0x220ed8[_0x38a5('0x34')](_0x43e649=>!_0x43e649['is'](_0x38a5('0x9'),_0x38a5('0xc'))||_0x43e649[_0x38a5('0x2c')](_0x38a5('0x2e'))!=_0x2a2f05);const _0x27cf38=new Set();for(const _0x12a75a of _0x220ed8)_0x12a75a['is']('element','listItem')?_0x27cf38[_0x38a5('0x17')](ne(_0x12a75a)):_0x27cf38[_0x38a5('0x17')](_0x12a75a);return Array[_0x38a5('0x39')](_0x27cf38);}(_0x40ae95[_0x38a5('0x2f')](),_0x588ebd,_0x217999[_0x38a5('0xf')][_0x38a5('0x2d')]);_0x217999['model']['change'](()=>{for(const _0x52a82d of _0xa0595d)_0x283edc['markBlockFormat'](_0x52a82d,{'commandName':_0x3327f7,'commandParams':[{'forceValue':!_0x9b6b55[_0x38a5('0x1e')]}],'formatGroupId':_0x38a5('0x2')},oe(_0x52a82d));});};}function _0x47dc72(_0x2bfc47){return()=>{const _0x727d4d=function(_0x55e00a){let _0x234bcd=Array[_0x38a5('0x39')](_0x55e00a);const _0x15d750=_0x234bcd['findIndex'](_0x379312=>_0x38a5('0xc')!=_0x379312[_0x38a5('0x22')]);return _0x15d750>-0x1&&(_0x234bcd=_0x234bcd['slice'](0x0,_0x15d750)),_0x234bcd;}(_0x217999[_0x38a5('0xf')]['document']['selection'][_0x38a5('0x2f')]()),_0x2194ab=_0x217999[_0x38a5('0xf')]['createRange'](_0x217999[_0x38a5('0xf')][_0x38a5('0xb')](_0x727d4d[0x0],'before'),_0x217999[_0x38a5('0xf')][_0x38a5('0xb')](_0x727d4d[_0x727d4d[_0x38a5('0x10')]-0x1],_0x38a5('0xa')));_0x217999[_0x38a5('0xf')][_0x38a5('0x5')](()=>{_0x283edc[_0x38a5('0x0')](_0x2194ab,{'commandName':_0x2bfc47,'commandParams':[],'formatGroupId':_0x38a5('0x36')},function(_0x1e5018){const _0x358b6d=new Set();for(const _0xdfe3ec of _0x1e5018){let _0x5682d3=_0xdfe3ec['nextSibling'];for(;_0x5682d3&&_0x5682d3['getAttribute']('listIndent')>_0xdfe3ec['getAttribute'](_0x38a5('0x36'));)_0x358b6d['add'](_0x5682d3),_0x5682d3=_0x5682d3[_0x38a5('0x33')];}return Array['from'](_0x358b6d);}(_0x727d4d));});};}_0x283edc[_0x38a5('0x23')]('numberedList',_0x41041a(_0x38a5('0x29'))),_0x283edc['enableCommand'](_0x38a5('0x3a'),_0x41041a(_0x38a5('0x3a'))),_0x42ae83&&_0x283edc[_0x38a5('0x23')](_0x38a5('0x3'),_0x41041a('todoList')),_0x283edc[_0x38a5('0x23')]('indentList',_0x47dc72('indentList')),_0x283edc[_0x38a5('0x23')](_0x38a5('0x24'),_0x47dc72(_0x38a5('0x24'))),_0x42ae83&&_0x283edc[_0x38a5('0x23')]('checkTodoList',()=>{const _0x21130b=_0x217999[_0x38a5('0x35')][_0x38a5('0x19')](_0x38a5('0x2b')),_0x3487af=Array[_0x38a5('0x39')](_0x21130b[_0x38a5('0x2a')]);_0x3487af[_0x38a5('0x34')](_0x312409=>_0x312409[_0x38a5('0x2c')](_0x38a5('0xe'))!=_0x21130b[_0x38a5('0x1e')]),_0x217999[_0x38a5('0xf')][_0x38a5('0x5')](()=>{for(const _0x2df8b3 of _0x3487af)_0x283edc['markBlockFormat'](_0x2df8b3,{'commandName':_0x38a5('0x2b'),'commandParams':[{'forceValue':!_0x21130b[_0x38a5('0x1e')]}]});});}),_0x283edc[_0x38a5('0x3b')][_0x38a5('0x28')](_0x38a5('0xc'),_0x2fc4ea=>_0x178b17(_0x36c965,_0x38a5('0x31'),_0x2fc4ea)),_0x283edc[_0x38a5('0x3b')][_0x38a5('0x18')](_0x21a6ea=>{const {data:_0x236539}=_0x21a6ea;if(_0x236539){if(_0x38a5('0x29')==_0x236539[_0x38a5('0x30')]||'bulletedList'==_0x236539['commandName']||_0x38a5('0x3')==_0x236539[_0x38a5('0x30')])switch(_0x236539['commandName'][_0x38a5('0x14')](_0x38a5('0x21'),'')){case'bulleted':return _0x370472(_0x178b17(_0x36c965,'ELEMENT_BULLETED_LIST'));case _0x38a5('0x4'):return _0x370472(_0x178b17(_0x36c965,'ELEMENT_NUMBERED_LIST'));case _0x38a5('0x1a'):return _0x370472(_0x178b17(_0x36c965,_0x38a5('0x12')));}if('indentList'==_0x236539[_0x38a5('0x30')])return{'type':'format','content':_0x178b17(_0x36c965,'*Indent:*\x20%0',_0x178b17(_0x36c965,_0x38a5('0x31')))};if(_0x38a5('0x24')==_0x236539['commandName'])return{'type':'format','content':_0x178b17(_0x36c965,_0x38a5('0x7'),_0x178b17(_0x36c965,_0x38a5('0x31')))};if(_0x38a5('0x2b')==_0x236539['commandName'])return _0x236539[_0x38a5('0x11')][0x0][_0x38a5('0x1')]?{'type':'format','content':_0x178b17(_0x36c965,_0x38a5('0x1c'))}:{'type':_0x38a5('0x38'),'content':_0x178b17(_0x36c965,_0x38a5('0x6'))};}function _0x370472(_0x49de37){return{'type':'format','content':_0x178b17(_0x36c965,'*Change\x20to:*\x20%0',_0x49de37)};}});}}function ne(_0x12bb0a){const _0x4b2b95=_0x12bb0a['getAttribute'](_0x38a5('0x36'));if(0x0==_0x4b2b95)return _0x12bb0a;let _0xb6bc5d=_0x12bb0a;for(;_0x12bb0a['previousSibling']&&_0x12bb0a[_0x38a5('0x16')]['is'](_0x38a5('0x9'),'listItem');){const _0x3e102f=_0x12bb0a[_0x38a5('0x16')]['getAttribute'](_0x38a5('0x36'));if(_0x3e102f==_0x4b2b95)_0xb6bc5d=_0x12bb0a[_0x38a5('0x16')];else{if(_0x3e102f<_0x4b2b95)break;}_0x12bb0a=_0x12bb0a[_0x38a5('0x16')];}return _0xb6bc5d;}function oe(_0x5624df){const _0x4fe9fa=[];if(_0x5624df['is'](_0x38a5('0x9'),_0x38a5('0xc'))&&_0x5624df[_0x38a5('0x2c')](_0x38a5('0x36'))>0x0){let _0x28aa93=_0x5624df[_0x38a5('0x33')];for(;_0x28aa93&&_0x38a5('0xc')==_0x28aa93[_0x38a5('0x22')]&&_0x28aa93[_0x38a5('0x2c')](_0x38a5('0x36'))==_0x5624df[_0x38a5('0x2c')](_0x38a5('0x36'));)_0x4fe9fa[_0x38a5('0x27')](_0x28aa93),_0x28aa93=_0x28aa93[_0x38a5('0x33')];}return _0x4fe9fa;}
23
+ const _0x5666=['filter','ListEditing','markBlockFormat','schema','createRange','ELEMENT_TODO_LIST','before','afterInit','_selectedElements','listIndent','nextSibling','*Uncheck\x20item*','getSelectedBlocks','slice','commands','bulletedList','*Outdent:*\x20%0','enableCommand','blockName','indentList','selection','checkTodoList','todoList','add','ELEMENT_NUMBERED_LIST','todo','checkChild','commandParams','parent','plugins','get','length','editor','push','element','todoListChecked','document','replace','isObject','model','paragraph','locale','ELEMENT_LIST_ITEM','numbered','bulleted','listItem','name','createPositionAt','change','*Change\x20to:*\x20%0','from','execute','format','TrackChangesEditing','outdentList','commandName','has','TodoListEditing','_descriptionFactory','previousSibling','numberedList','value','findIndex','forceValue','getAttribute'];(function(_0x478617,_0x566633){const _0x285d42=function(_0x1910b3){while(--_0x1910b3){_0x478617['push'](_0x478617['shift']());}};_0x285d42(++_0x566633);}(_0x5666,0x190));const _0x285d=function(_0x478617,_0x566633){_0x478617=_0x478617-0x0;let _0x285d42=_0x5666[_0x478617];return _0x285d42;};import{Plugin as _0x44aefa}from'ckeditor5/src/core';import{getTranslation as _0x37c996}from'../utils/common-translations';export default class st extends _0x44aefa{[_0x285d('0x3e')](){const _0x3367a1=this[_0x285d('0x16')],_0x7026e7=_0x3367a1[_0x285d('0x1f')];if(!_0x3367a1[_0x285d('0x13')][_0x285d('0x2e')](_0x285d('0x38')))return;const _0x5dd7f9=_0x3367a1[_0x285d('0x13')]['get'](_0x285d('0x2b')),_0x15d751=_0x3367a1[_0x285d('0x13')]['has'](_0x285d('0x2f'));function _0x4e3d0d(_0xcc1f90){return()=>{const _0x38b97f=_0x3367a1['model'][_0x285d('0x1a')][_0x285d('0xa')],_0x4c0c3e=_0x3367a1[_0x285d('0x4')][_0x285d('0x14')](_0xcc1f90);if(_0x4c0c3e[_0x285d('0x33')])return void _0x3367a1[_0x285d('0x29')](_0x285d('0x1e'),{});const _0x31ea15=_0xcc1f90[_0x285d('0x3')](0x0,-0x4),_0x1c3130=function(_0x3e2059,_0x3a0910,_0x270841){let _0xcf6fd1=Array[_0x285d('0x28')](_0x3e2059)[_0x285d('0x37')](_0x409c70=>function(_0x4bce68,_0x2108fe){return _0x2108fe[_0x285d('0x10')](_0x4bce68[_0x285d('0x12')],_0x285d('0x23'))&&!_0x2108fe[_0x285d('0x1c')](_0x4bce68);}(_0x409c70,_0x270841));_0xcf6fd1=_0xcf6fd1[_0x285d('0x37')](_0x20d4cb=>!_0x20d4cb['is'](_0x285d('0x18'),_0x285d('0x23'))||_0x20d4cb[_0x285d('0x36')]('listType')!=_0x3a0910);const _0xd3eca8=new Set();for(const _0x571968 of _0xcf6fd1)_0x571968['is']('element',_0x285d('0x23'))?_0xd3eca8[_0x285d('0xd')](ne(_0x571968)):_0xd3eca8[_0x285d('0xd')](_0x571968);return Array[_0x285d('0x28')](_0xd3eca8);}(_0x38b97f[_0x285d('0x2')](),_0x31ea15,_0x3367a1[_0x285d('0x1d')][_0x285d('0x3a')]);_0x3367a1[_0x285d('0x1d')]['change'](()=>{for(const _0x5cc71a of _0x1c3130)_0x5dd7f9[_0x285d('0x39')](_0x5cc71a,{'commandName':_0xcc1f90,'commandParams':[{'forceValue':!_0x4c0c3e['value']}],'formatGroupId':_0x285d('0x8')},oe(_0x5cc71a));});};}function _0x519960(_0x33b477){return()=>{const _0x32c669=function(_0x58c87d){let _0x44972e=Array[_0x285d('0x28')](_0x58c87d);const _0x17fc12=_0x44972e[_0x285d('0x34')](_0xee3b34=>'listItem'!=_0xee3b34[_0x285d('0x24')]);return _0x17fc12>-0x1&&(_0x44972e=_0x44972e[_0x285d('0x3')](0x0,_0x17fc12)),_0x44972e;}(_0x3367a1['model'][_0x285d('0x1a')][_0x285d('0xa')]['getSelectedBlocks']()),_0x49101f=_0x3367a1[_0x285d('0x1d')][_0x285d('0x3b')](_0x3367a1[_0x285d('0x1d')][_0x285d('0x25')](_0x32c669[0x0],_0x285d('0x3d')),_0x3367a1['model'][_0x285d('0x25')](_0x32c669[_0x32c669[_0x285d('0x15')]-0x1],'end'));_0x3367a1[_0x285d('0x1d')][_0x285d('0x26')](()=>{_0x5dd7f9[_0x285d('0x39')](_0x49101f,{'commandName':_0x33b477,'commandParams':[],'formatGroupId':_0x285d('0x40')},function(_0x47d022){const _0x401118=new Set();for(const _0x27aef1 of _0x47d022){let _0x1fe77f=_0x27aef1[_0x285d('0x0')];for(;_0x1fe77f&&_0x1fe77f['getAttribute']('listIndent')>_0x27aef1[_0x285d('0x36')](_0x285d('0x40'));)_0x401118['add'](_0x1fe77f),_0x1fe77f=_0x1fe77f[_0x285d('0x0')];}return Array['from'](_0x401118);}(_0x32c669));});};}_0x5dd7f9[_0x285d('0x7')]('numberedList',_0x4e3d0d(_0x285d('0x32'))),_0x5dd7f9[_0x285d('0x7')](_0x285d('0x5'),_0x4e3d0d('bulletedList')),_0x15d751&&_0x5dd7f9[_0x285d('0x7')](_0x285d('0xc'),_0x4e3d0d(_0x285d('0xc'))),_0x5dd7f9[_0x285d('0x7')](_0x285d('0x9'),_0x519960('indentList')),_0x5dd7f9[_0x285d('0x7')]('outdentList',_0x519960(_0x285d('0x2c'))),_0x15d751&&_0x5dd7f9['enableCommand'](_0x285d('0xb'),()=>{const _0x50d6fa=_0x3367a1[_0x285d('0x4')]['get'](_0x285d('0xb')),_0x510fb5=Array[_0x285d('0x28')](_0x50d6fa[_0x285d('0x3f')]);_0x510fb5[_0x285d('0x37')](_0x420923=>_0x420923['getAttribute'](_0x285d('0x19'))!=_0x50d6fa[_0x285d('0x33')]),_0x3367a1[_0x285d('0x1d')]['change'](()=>{for(const _0x160741 of _0x510fb5)_0x5dd7f9['markBlockFormat'](_0x160741,{'commandName':_0x285d('0xb'),'commandParams':[{'forceValue':!_0x50d6fa[_0x285d('0x33')]}]});});}),_0x5dd7f9[_0x285d('0x30')]['registerElementLabel']('listItem',_0x5c9fc7=>_0x37c996(_0x7026e7,'ELEMENT_LIST_ITEM',_0x5c9fc7)),_0x5dd7f9[_0x285d('0x30')]['registerDescriptionCallback'](_0x10eb9e=>{const {data:_0x1c4847}=_0x10eb9e;if(_0x1c4847){if(_0x285d('0x32')==_0x1c4847[_0x285d('0x2d')]||'bulletedList'==_0x1c4847[_0x285d('0x2d')]||_0x285d('0xc')==_0x1c4847['commandName'])switch(_0x1c4847[_0x285d('0x2d')][_0x285d('0x1b')]('List','')){case _0x285d('0x22'):return _0x4fc739(_0x37c996(_0x7026e7,'ELEMENT_BULLETED_LIST'));case _0x285d('0x21'):return _0x4fc739(_0x37c996(_0x7026e7,_0x285d('0xe')));case _0x285d('0xf'):return _0x4fc739(_0x37c996(_0x7026e7,_0x285d('0x3c')));}if(_0x285d('0x9')==_0x1c4847[_0x285d('0x2d')])return{'type':'format','content':_0x37c996(_0x7026e7,'*Indent:*\x20%0',_0x37c996(_0x7026e7,_0x285d('0x20')))};if(_0x285d('0x2c')==_0x1c4847[_0x285d('0x2d')])return{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,_0x285d('0x6'),_0x37c996(_0x7026e7,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x1c4847[_0x285d('0x2d')])return _0x1c4847[_0x285d('0x11')][0x0][_0x285d('0x35')]?{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,'*Check\x20item*')}:{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,_0x285d('0x1'))};}function _0x4fc739(_0x2685e4){return{'type':'format','content':_0x37c996(_0x7026e7,_0x285d('0x27'),_0x2685e4)};}});}}function ne(_0x40f590){const _0x36aba5=_0x40f590['getAttribute'](_0x285d('0x40'));if(0x0==_0x36aba5)return _0x40f590;let _0x4e74e2=_0x40f590;for(;_0x40f590['previousSibling']&&_0x40f590['previousSibling']['is']('element',_0x285d('0x23'));){const _0x4c1120=_0x40f590[_0x285d('0x31')][_0x285d('0x36')](_0x285d('0x40'));if(_0x4c1120==_0x36aba5)_0x4e74e2=_0x40f590[_0x285d('0x31')];else{if(_0x4c1120<_0x36aba5)break;}_0x40f590=_0x40f590[_0x285d('0x31')];}return _0x4e74e2;}function oe(_0x45308b){const _0x2d8a20=[];if(_0x45308b['is'](_0x285d('0x18'),'listItem')&&_0x45308b[_0x285d('0x36')](_0x285d('0x40'))>0x0){let _0x4b68ea=_0x45308b[_0x285d('0x0')];for(;_0x4b68ea&&'listItem'==_0x4b68ea[_0x285d('0x24')]&&_0x4b68ea[_0x285d('0x36')](_0x285d('0x40'))==_0x45308b[_0x285d('0x36')](_0x285d('0x40'));)_0x2d8a20[_0x285d('0x17')](_0x4b68ea),_0x4b68ea=_0x4b68ea[_0x285d('0x0')];}return _0x2d8a20;}