@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231013.0 → 0.0.0-nightly-20231015.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 (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.d.ts +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7e70=['from','FontBackgroundColorEditing','config','trim','FontSizeEditing','plugins','title','editor','format','fontBackgroundColor.colors','label','value','*Set\x20font\x20family:*\x20%0','FontFamilyEditing','model','locale','fontColor','*Reset\x20font\x20background\x20color*','afterInit','_enableCommand','document','fontSize','find','_descriptionFactory','commandParams','commandName','get','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20color*','getRanges','has','TrackChangesEditing','registerDescriptionCallback','enableCommand','normalizeSizeOptions','selection','isCollapsed','fontBackgroundColor','FontSize','fontFamily','markInlineFormat','toLowerCase'];(function(_0x124122,_0x7e70e6){const _0x16328a=function(_0x194e22){while(--_0x194e22){_0x124122['push'](_0x124122['shift']());}};_0x16328a(++_0x7e70e6);}(_0x7e70,0xb0));const _0x1632=function(_0x124122,_0x7e70e6){_0x124122=_0x124122-0x0;let _0x16328a=_0x7e70[_0x124122];return _0x16328a;};import{Plugin as _0x473656}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4d750c}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27df43}from'./utils';import{getTranslation as _0x3059e0}from'../utils/common-translations';const eo=[{'pluginName':_0x1632('0x0'),'commandName':_0x1632('0x11')},{'pluginName':_0x1632('0x9'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x1632('0xc')},{'pluginName':_0x1632('0x28'),'commandName':_0x1632('0x22')}];export default class W extends _0x473656{[_0x1632('0xe')](){const _0x128feb=this[_0x1632('0x3')][_0x1632('0xb')];for(const {pluginName:_0x4fdb2f,commandName:_0x1b0c96}of eo)this[_0x1632('0x3')]['plugins'][_0x1632('0x1b')](_0x4fdb2f)&&this[_0x1632('0xf')](_0x1b0c96);this[_0x1632('0x3')][_0x1632('0x1')][_0x1632('0x16')](_0x1632('0x1c'))[_0x1632('0x13')][_0x1632('0x1d')](_0x181f18=>{const _0x1510c4=_0x128feb['t'],{data:_0x56bff3}=_0x181f18;if(null!=_0x56bff3){if('fontSize'==_0x56bff3[_0x1632('0x15')]){const _0x30162e=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0x30162e){const _0x4948dd=_0x1510c4(this['editor'][_0x1632('0x1')]['get'](_0x1632('0x23'))[_0x1632('0x1f')](this[_0x1632('0x3')][_0x1632('0x29')][_0x1632('0x16')]('fontSize.options'))[_0x1632('0x12')](_0x23c672=>_0x23c672[_0x1632('0xa')]==_0x30162e)[_0x1632('0x2')])[_0x1632('0x26')]();return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x18'),_0x4948dd)};}return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Reset\x20font\x20size*')};}if(_0x1632('0x24')==_0x56bff3[_0x1632('0x15')]){const _0x2025a8=_0x56bff3[_0x1632('0x14')][0x0]['value'];return _0x2025a8?{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x8'),_0x2025a8)}:{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Reset\x20font\x20family*')};}if(_0x1632('0xc')==_0x56bff3['commandName']){const _0xa36650=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0xa36650){const _0x3daad5=_0x4d750c(this[_0x1632('0x3')][_0x1632('0x29')][_0x1632('0x16')]('fontColor.colors'))[_0x1632('0x12')](_0xd40482=>_0xd40482[_0x1632('0xa')]==_0xa36650);let _0xee8afb=_0xa36650,_0x291b27='';return _0x3daad5&&(_0xee8afb=_0x3daad5['label'],_0x291b27=_0x1510c4(_0xee8afb)[_0x1632('0x26')]()),{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Set\x20font\x20color:*\x20%0',_0x291b27)[_0x1632('0x2a')](),'color':{'value':_0xa36650,'title':_0x291b27||_0xee8afb}};}return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x19'))};}if(_0x1632('0x22')==_0x56bff3[_0x1632('0x15')]){const _0x586a5b=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0x586a5b){const _0x4c423f=_0x4d750c(this[_0x1632('0x3')]['config'][_0x1632('0x16')](_0x1632('0x5')))[_0x1632('0x12')](_0x802093=>_0x802093['model']==_0x586a5b);let _0x571434=_0x586a5b,_0x43bad1='';return _0x4c423f&&(_0x571434=_0x4c423f[_0x1632('0x6')],_0x43bad1=_0x1510c4(_0x571434)['toLowerCase']()),{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x17'),_0x43bad1)[_0x1632('0x2a')](),'color':{'value':_0x586a5b,'title':_0x43bad1||_0x571434}};}return{'type':'format','content':_0x3059e0(_0x128feb,_0x1632('0xd'))};}}});}[_0x1632('0xf')](_0x2196b1){const _0x4a014f=this[_0x1632('0x3')];_0x4a014f[_0x1632('0x1')]['get'](_0x1632('0x1c'))[_0x1632('0x1e')](_0x2196b1,(_0x41caed,_0x158b03={})=>{const _0x11708a=_0x4a014f[_0x1632('0xa')][_0x1632('0x10')][_0x1632('0x20')],_0x4b61c2=_0x158b03[_0x1632('0x7')];_0x11708a[_0x1632('0x21')]?_0x41caed(_0x158b03):_0x4a014f[_0x1632('0xa')]['change'](()=>{const _0x438285=Array[_0x1632('0x27')](_0x11708a[_0x1632('0x1a')]());for(const _0x458880 of _0x438285){const _0x1346ad=_0x4b61c2?[_0x458880]:_0x27df43(_0x2196b1,_0x458880,_0x4a014f[_0x1632('0xa')]);for(const _0x259a9d of _0x1346ad)_0x4a014f[_0x1632('0x1')]['get'](_0x1632('0x1c'))[_0x1632('0x25')](_0x259a9d,{'commandName':_0x2196b1,'commandParams':[{'value':_0x4b61c2}]});}});});}}
23
+ const _0x2c08=['FontSize','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20size*','fontBackgroundColor','commandName','trim','markInlineFormat','_descriptionFactory','label','FontSizeEditing','toLowerCase','plugins','get','FontBackgroundColorEditing','fontFamily','selection','fontSize','commandParams','change','value','FontFamilyEditing','model','find','config','format','isCollapsed','fontBackgroundColor.colors','afterInit','editor','fontColor.colors','document','fontSize.options','_enableCommand','*Set\x20font\x20color:*\x20%0','*Reset\x20font\x20color*','has','registerDescriptionCallback','fontColor','*Reset\x20font\x20background\x20color*','from'];(function(_0x56832d,_0x2c0862){const _0x582194=function(_0x4e26e0){while(--_0x4e26e0){_0x56832d['push'](_0x56832d['shift']());}};_0x582194(++_0x2c0862);}(_0x2c08,0x1cf));const _0x5821=function(_0x56832d,_0x2c0862){_0x56832d=_0x56832d-0x0;let _0x582194=_0x2c08[_0x56832d];return _0x582194;};import{Plugin as _0x23bdb8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x375c8b}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x11a280}from'./utils';import{getTranslation as _0x36c774}from'../utils/common-translations';const eo=[{'pluginName':_0x5821('0x1a'),'commandName':_0x5821('0x21')},{'pluginName':_0x5821('0x25'),'commandName':_0x5821('0x1f')},{'pluginName':'FontColorEditing','commandName':_0x5821('0xe')},{'pluginName':_0x5821('0x1e'),'commandName':_0x5821('0x14')}];export default class W extends _0x23bdb8{[_0x5821('0x4')](){const _0x5b68a1=this[_0x5821('0x5')]['locale'];for(const {pluginName:_0x20abc8,commandName:_0x540cdc}of eo)this[_0x5821('0x5')][_0x5821('0x1c')][_0x5821('0xc')](_0x20abc8)&&this[_0x5821('0x9')](_0x540cdc);this[_0x5821('0x5')][_0x5821('0x1c')][_0x5821('0x1d')]('TrackChangesEditing')[_0x5821('0x18')][_0x5821('0xd')](_0x5a2d78=>{const _0x57f526=_0x5b68a1['t'],{data:_0x37311c}=_0x5a2d78;if(null!=_0x37311c){if(_0x5821('0x21')==_0x37311c[_0x5821('0x15')]){const _0x2fd2af=_0x37311c['commandParams'][0x0][_0x5821('0x24')];if(_0x2fd2af){const _0x304186=_0x57f526(this[_0x5821('0x5')][_0x5821('0x1c')]['get'](_0x5821('0x11'))['normalizeSizeOptions'](this[_0x5821('0x5')][_0x5821('0x0')]['get'](_0x5821('0x8')))[_0x5821('0x27')](_0xa3f176=>_0xa3f176['model']==_0x2fd2af)['title'])[_0x5821('0x1b')]();return{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,_0x5821('0x12'),_0x304186)};}return{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,_0x5821('0x13'))};}if(_0x5821('0x1f')==_0x37311c[_0x5821('0x15')]){const _0x3f964d=_0x37311c['commandParams'][0x0]['value'];return _0x3f964d?{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,'*Set\x20font\x20family:*\x20%0',_0x3f964d)}:{'type':'format','content':_0x36c774(_0x5b68a1,'*Reset\x20font\x20family*')};}if('fontColor'==_0x37311c[_0x5821('0x15')]){const _0x4f1f74=_0x37311c[_0x5821('0x22')][0x0][_0x5821('0x24')];if(_0x4f1f74){const _0x34e388=_0x375c8b(this[_0x5821('0x5')][_0x5821('0x0')][_0x5821('0x1d')](_0x5821('0x6')))[_0x5821('0x27')](_0x25e428=>_0x25e428[_0x5821('0x26')]==_0x4f1f74);let _0x4d5d21=_0x4f1f74,_0x3c7895='';return _0x34e388&&(_0x4d5d21=_0x34e388['label'],_0x3c7895=_0x57f526(_0x4d5d21)['toLowerCase']()),{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,_0x5821('0xa'),_0x3c7895)[_0x5821('0x16')](),'color':{'value':_0x4f1f74,'title':_0x3c7895||_0x4d5d21}};}return{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,_0x5821('0xb'))};}if('fontBackgroundColor'==_0x37311c[_0x5821('0x15')]){const _0x3bd81d=_0x37311c['commandParams'][0x0]['value'];if(_0x3bd81d){const _0x389783=_0x375c8b(this[_0x5821('0x5')][_0x5821('0x0')]['get'](_0x5821('0x3')))[_0x5821('0x27')](_0x5513c6=>_0x5513c6['model']==_0x3bd81d);let _0x330d6f=_0x3bd81d,_0x185065='';return _0x389783&&(_0x330d6f=_0x389783[_0x5821('0x19')],_0x185065=_0x57f526(_0x330d6f)[_0x5821('0x1b')]()),{'type':_0x5821('0x1'),'content':_0x36c774(_0x5b68a1,'*Set\x20font\x20background\x20color:*\x20%0',_0x185065)[_0x5821('0x16')](),'color':{'value':_0x3bd81d,'title':_0x185065||_0x330d6f}};}return{'type':'format','content':_0x36c774(_0x5b68a1,_0x5821('0xf'))};}}});}[_0x5821('0x9')](_0x3e65a6){const _0x2bb43f=this[_0x5821('0x5')];_0x2bb43f[_0x5821('0x1c')][_0x5821('0x1d')]('TrackChangesEditing')['enableCommand'](_0x3e65a6,(_0x1ff0aa,_0x18af44={})=>{const _0x3d3494=_0x2bb43f[_0x5821('0x26')][_0x5821('0x7')][_0x5821('0x20')],_0x11cb6a=_0x18af44[_0x5821('0x24')];_0x3d3494[_0x5821('0x2')]?_0x1ff0aa(_0x18af44):_0x2bb43f[_0x5821('0x26')][_0x5821('0x23')](()=>{const _0x5d9f7b=Array[_0x5821('0x10')](_0x3d3494['getRanges']());for(const _0x33181b of _0x5d9f7b){const _0xac664=_0x11cb6a?[_0x33181b]:_0x11a280(_0x3e65a6,_0x33181b,_0x2bb43f[_0x5821('0x26')]);for(const _0x50e1d9 of _0xac664)_0x2bb43f[_0x5821('0x1c')]['get']('TrackChangesEditing')[_0x5821('0x17')](_0x50e1d9,{'commandName':_0x3e65a6,'commandParams':[{'value':_0x11cb6a}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ef6=['change','commandName','getAttributeProperties','document','pasteFormat','commands','FontSize','fontColor','format','title','normalizeSizeOptions','selection','toUpperCase','toLowerCase','createSelection','model','join','getAttributes','plugins','forward','*Set\x20format\x20to:*\x20%0','modifySelection','getRanges','config','isBlock','boolean','fontBackgroundColor','*Remove\x20all\x20formatting*','TrackChangesEditing','locale','createRange','word','charAt','getFirstPosition','slice','getItems','split','backward','entries','from','label','registerDescriptionCallback','editor','copyFormat','getSelectedBlocks','afterInit','get','enableCommand','_descriptionFactory'];(function(_0x25f53f,_0x4ef66f){const _0x599279=function(_0x1c7fe4){while(--_0x1c7fe4){_0x25f53f['push'](_0x25f53f['shift']());}};_0x599279(++_0x4ef66f);}(_0x4ef6,0x103));const _0x5992=function(_0x25f53f,_0x4ef66f){_0x25f53f=_0x25f53f-0x0;let _0x599279=_0x4ef6[_0x25f53f];return _0x599279;};import{Plugin as _0x4ea812}from'ckeditor5/src/core';import{normalizeColorOptions as _0xfb7e2c}from'ckeditor5/src/ui';import{first as _0x444678}from'ckeditor5/src/utils';import{getTranslation as _0x2bd486}from'../utils/common-translations';export default class J extends _0x4ea812{[_0x5992('0x1f')](){const _0x3d651f=this[_0x5992('0x1c')],_0x3202cd=_0x3d651f['model'],_0x465a1e=_0x3202cd[_0x5992('0x26')][_0x5992('0x2e')],_0x54e9d2=_0x3d651f['plugins'][_0x5992('0x20')](_0x5992('0xe')),_0xedb9cb=_0x3d651f[_0x5992('0xf')],_0x11889f=_0x3d651f[_0x5992('0x28')]['get'](_0x5992('0x1d')),_0x1063d9=_0x3d651f[_0x5992('0x28')]['get']('pasteFormat');_0x11889f&&_0x1063d9&&(_0x54e9d2[_0x5992('0x21')](_0x5992('0x27'),(_0x2dce83,_0x3ebd2b={})=>{const _0x4c0cd3=_0x3ebd2b;_0x3202cd[_0x5992('0x23')](()=>{const _0xc1b45f=Array[_0x5992('0x19')](_0x465a1e[_0x5992('0x8')]()),_0x3fb80a=_0x465a1e['isCollapsed']?[io(_0x3202cd,_0x465a1e)]:_0xc1b45f,_0x59dab1=!!_0x444678(function*(_0x565178,_0x2e3c52){const _0x39a677=_0x1e9eb2=>!!_0x444678(function*(_0x43b866,_0x23662a){for(const [_0x1d247c]of _0x43b866[_0x5992('0x3')]()){const _0x6f0b06=_0x23662a[_0x5992('0x25')](_0x1d247c);_0x6f0b06&&_0x6f0b06['isFormatting']&&(yield _0x1d247c);}}(_0x1e9eb2,_0x2e3c52));for(const _0x1d4495 of _0x565178[_0x5992('0x8')]())for(const _0x518600 of _0x1d4495[_0x5992('0x15')]())!_0x2e3c52[_0x5992('0xa')](_0x518600)&&_0x39a677(_0x518600)&&(yield _0x518600);for(const _0x469936 of _0x565178[_0x5992('0x1e')]())_0x39a677(_0x469936)&&(yield _0x469936);_0x39a677(_0x565178)&&(yield _0x565178);}(_0x465a1e,_0x3202cd['schema']));if(_0x59dab1||0x0!==Object['keys'](_0x4c0cd3)['length'])for(const _0x4b18d0 of _0x3fb80a)_0x54e9d2['markInlineFormat'](_0x4b18d0,{'commandName':_0x5992('0x27'),'commandParams':[_0x4c0cd3]});});}),_0x54e9d2[_0x5992('0x22')][_0x5992('0x1b')](_0x2484ae=>{const {data:_0x1617ed}=_0x2484ae;if(_0x1617ed&&'pasteFormat'===_0x1617ed[_0x5992('0x24')]){const _0x426b93=[],_0x289b15=_0x1617ed['commandParams'][0x0];for(const [_0x57837f,_0x4f9402]of Object[_0x5992('0x18')](_0x289b15))_0x426b93['push'](so(_0x3d651f,_0x57837f,_0x4f9402));return _0x426b93['length']?{'type':_0x5992('0x2b'),'content':_0x2bd486(_0xedb9cb,_0x5992('0x6'),_0x426b93['join'](',\x20'))}:{'type':'format','content':_0x2bd486(_0xedb9cb,_0x5992('0xd'))};}}),_0x3d651f[_0x5992('0x4')][_0x5992('0x20')](_0x5992('0xe'))[_0x5992('0x21')](_0x5992('0x1d')));}}function io(_0x522d6e,_0x21e16d){const _0x515a10=_0x522d6e[_0x5992('0x0')](_0x21e16d);_0x522d6e['modifySelection'](_0x515a10,{'unit':_0x5992('0x11'),'direction':_0x5992('0x17')});const _0x11db0f=_0x515a10[_0x5992('0x13')]();_0x522d6e[_0x5992('0x7')](_0x515a10,{'unit':'word','direction':_0x5992('0x5')});const _0x20cfc6=_0x515a10['getLastPosition']();return _0x522d6e[_0x5992('0x10')](_0x11db0f,_0x20cfc6);}function so(_0xa19a,_0x52d42a,_0x267329){const _0x20df7e=_0xa19a[_0x5992('0xf')]['t'],_0x1cee33=_0x52d42a[_0x5992('0x16')](/(?=[A-Z])/)[_0x5992('0x2')]('\x20'),_0x417e00=_0x20df7e(_0x1cee33[_0x5992('0x12')](0x0)[_0x5992('0x2f')]()+_0x1cee33[_0x5992('0x14')](0x1))['toLowerCase']();if(_0x5992('0xb')==typeof _0x267329)return _0x417e00;if(_0x5992('0x2a')===_0x52d42a||_0x5992('0xc')===_0x52d42a){const _0x73fd39=_0xfb7e2c(_0xa19a[_0x5992('0x9')]['get']('fontColor.colors'))['find'](_0x5e4687=>_0x5e4687[_0x5992('0x1')]==_0x267329);return _0x417e00+'\x20('+(_0x73fd39?_0x20df7e(_0x73fd39[_0x5992('0x1a')])[_0x5992('0x30')]():_0x267329)+')';}if('fontSize'===_0x52d42a&&isNaN(parseFloat(_0x267329))){const _0x526025=_0xa19a[_0x5992('0x4')]['get'](_0x5992('0x29'))[_0x5992('0x2d')](_0xa19a[_0x5992('0x9')][_0x5992('0x20')]('fontSize.options'))['find'](_0x452058=>_0x452058[_0x5992('0x1')]==_0x267329);return _0x417e00+'\x20('+(_0x526025?_0x20df7e(_0x526025[_0x5992('0x2c')])['toLowerCase']():_0x267329)+')';}return _0x417e00+'\x20('+_0x267329+')';}
23
+ const _0x70d5=['getItems','enableCommand','copyFormat','find','afterInit','word','change','toLowerCase','model','locale','length','modifySelection','config','plugins','createRange','pasteFormat','getAttributeProperties','keys','boolean','entries','fontSize','fontColor.colors','*Remove\x20all\x20formatting*','fontSize.options','format','getFirstPosition','document','title','join','forward','markInlineFormat','fontBackgroundColor','label','charAt','from','get','editor','getRanges','commandParams','backward','TrackChangesEditing','isCollapsed','push','getAttributes','isFormatting','normalizeSizeOptions','schema','_descriptionFactory','commands','registerDescriptionCallback','createSelection','selection'];(function(_0x4165ef,_0x70d527){const _0x330ed5=function(_0x4756a7){while(--_0x4756a7){_0x4165ef['push'](_0x4165ef['shift']());}};_0x330ed5(++_0x70d527);}(_0x70d5,0x176));const _0x330e=function(_0x4165ef,_0x70d527){_0x4165ef=_0x4165ef-0x0;let _0x330ed5=_0x70d5[_0x4165ef];return _0x330ed5;};import{Plugin as _0x4a983a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2ccfa7}from'ckeditor5/src/ui';import{first as _0x5b5ea0}from'ckeditor5/src/utils';import{getTranslation as _0x42e6fc}from'../utils/common-translations';export default class J extends _0x4a983a{[_0x330e('0x2e')](){const _0x186640=this[_0x330e('0x1a')],_0x1b40cc=_0x186640[_0x330e('0x32')],_0x5645dd=_0x1b40cc[_0x330e('0x10')][_0x330e('0x29')],_0x20e890=_0x186640[_0x330e('0x3')][_0x330e('0x19')](_0x330e('0x1e')),_0x2336e2=_0x186640[_0x330e('0x33')],_0x36a7a9=_0x186640[_0x330e('0x26')][_0x330e('0x19')](_0x330e('0x2c')),_0x250f6b=_0x186640[_0x330e('0x26')]['get'](_0x330e('0x5'));_0x36a7a9&&_0x250f6b&&(_0x20e890[_0x330e('0x2b')](_0x330e('0x5'),(_0x21e79f,_0x959b89={})=>{const _0x1b6621=_0x959b89;_0x1b40cc[_0x330e('0x30')](()=>{const _0x15331c=Array[_0x330e('0x18')](_0x5645dd[_0x330e('0x1b')]()),_0x2bfe3a=_0x5645dd[_0x330e('0x1f')]?[io(_0x1b40cc,_0x5645dd)]:_0x15331c,_0x19c771=!!_0x5b5ea0(function*(_0x526854,_0x3a424e){const _0x3ece95=_0x13a4cb=>!!_0x5b5ea0(function*(_0x3e30be,_0xec78dc){for(const [_0x4056d9]of _0x3e30be[_0x330e('0x21')]()){const _0x115fcb=_0xec78dc[_0x330e('0x6')](_0x4056d9);_0x115fcb&&_0x115fcb[_0x330e('0x22')]&&(yield _0x4056d9);}}(_0x13a4cb,_0x3a424e));for(const _0x5d4528 of _0x526854[_0x330e('0x1b')]())for(const _0x2bddae of _0x5d4528[_0x330e('0x2a')]())!_0x3a424e['isBlock'](_0x2bddae)&&_0x3ece95(_0x2bddae)&&(yield _0x2bddae);for(const _0x1ee548 of _0x526854['getSelectedBlocks']())_0x3ece95(_0x1ee548)&&(yield _0x1ee548);_0x3ece95(_0x526854)&&(yield _0x526854);}(_0x5645dd,_0x1b40cc[_0x330e('0x24')]));if(_0x19c771||0x0!==Object[_0x330e('0x7')](_0x1b6621)[_0x330e('0x0')])for(const _0x2d7314 of _0x2bfe3a)_0x20e890[_0x330e('0x14')](_0x2d7314,{'commandName':_0x330e('0x5'),'commandParams':[_0x1b6621]});});}),_0x20e890[_0x330e('0x25')][_0x330e('0x27')](_0x34e1bc=>{const {data:_0x286c84}=_0x34e1bc;if(_0x286c84&&_0x330e('0x5')===_0x286c84['commandName']){const _0x15de6a=[],_0x58ba65=_0x286c84[_0x330e('0x1c')][0x0];for(const [_0x507cde,_0x2d4ea7]of Object[_0x330e('0x9')](_0x58ba65))_0x15de6a[_0x330e('0x20')](so(_0x186640,_0x507cde,_0x2d4ea7));return _0x15de6a[_0x330e('0x0')]?{'type':_0x330e('0xe'),'content':_0x42e6fc(_0x2336e2,'*Set\x20format\x20to:*\x20%0',_0x15de6a[_0x330e('0x12')](',\x20'))}:{'type':_0x330e('0xe'),'content':_0x42e6fc(_0x2336e2,_0x330e('0xc'))};}}),_0x186640['plugins'][_0x330e('0x19')](_0x330e('0x1e'))[_0x330e('0x2b')](_0x330e('0x2c')));}}function io(_0x244ce2,_0x525784){const _0xe5f4e2=_0x244ce2[_0x330e('0x28')](_0x525784);_0x244ce2[_0x330e('0x1')](_0xe5f4e2,{'unit':_0x330e('0x2f'),'direction':_0x330e('0x1d')});const _0x3e8d3d=_0xe5f4e2[_0x330e('0xf')]();_0x244ce2[_0x330e('0x1')](_0xe5f4e2,{'unit':_0x330e('0x2f'),'direction':_0x330e('0x13')});const _0x5135e2=_0xe5f4e2['getLastPosition']();return _0x244ce2[_0x330e('0x4')](_0x3e8d3d,_0x5135e2);}function so(_0x1fbe6a,_0x4bbe4a,_0x16f915){const _0x429284=_0x1fbe6a[_0x330e('0x33')]['t'],_0x1786fc=_0x4bbe4a['split'](/(?=[A-Z])/)['join']('\x20'),_0x51600e=_0x429284(_0x1786fc[_0x330e('0x17')](0x0)['toUpperCase']()+_0x1786fc['slice'](0x1))[_0x330e('0x31')]();if(_0x330e('0x8')==typeof _0x16f915)return _0x51600e;if('fontColor'===_0x4bbe4a||_0x330e('0x15')===_0x4bbe4a){const _0x2e82a1=_0x2ccfa7(_0x1fbe6a[_0x330e('0x2')][_0x330e('0x19')](_0x330e('0xb')))['find'](_0x93fe9=>_0x93fe9[_0x330e('0x32')]==_0x16f915);return _0x51600e+'\x20('+(_0x2e82a1?_0x429284(_0x2e82a1[_0x330e('0x16')])[_0x330e('0x31')]():_0x16f915)+')';}if(_0x330e('0xa')===_0x4bbe4a&&isNaN(parseFloat(_0x16f915))){const _0x2724e2=_0x1fbe6a[_0x330e('0x3')][_0x330e('0x19')]('FontSize')[_0x330e('0x23')](_0x1fbe6a[_0x330e('0x2')][_0x330e('0x19')](_0x330e('0xd')))[_0x330e('0x2d')](_0x2b85a9=>_0x2b85a9['model']==_0x16f915);return _0x51600e+'\x20('+(_0x2724e2?_0x429284(_0x2724e2[_0x330e('0x11')])[_0x330e('0x31')]():_0x16f915)+')';}return _0x51600e+'\x20('+_0x16f915+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2307=['schema','heading.options','filter','model','paragraph','_descriptionFactory','value','match','ELEMENT_HEADING','commandParams','isObject','registerElementLabel','parent','ELEMENT_HEADING_CUSTOM','editor','from','config','commandName','heading','plugins','HeadingEditing','afterInit','format','formatBlock','selection','document','find','*Change\x20to:*\x20%0','registerDescriptionCallback','markBlockFormat','get','TrackChangesEditing'];(function(_0x16743d,_0x2307e2){const _0x8117a2=function(_0x454f09){while(--_0x454f09){_0x16743d['push'](_0x16743d['shift']());}};_0x8117a2(++_0x2307e2);}(_0x2307,0xc2));const _0x8117=function(_0x16743d,_0x2307e2){_0x16743d=_0x16743d-0x0;let _0x8117a2=_0x2307[_0x16743d];return _0x8117a2;};import{Plugin as _0x1feeec}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5b9051}from'./utils';import{getTranslation as _0x23aa11}from'../utils/common-translations';export default class K extends _0x1feeec{[_0x8117('0x13')](){const _0x5b78e7=this[_0x8117('0xc')],_0x23b9e8=_0x5b78e7['locale'],_0x10b861=_0x5b78e7[_0x8117('0xe')]['get'](_0x8117('0x1f'));if(!_0x5b78e7[_0x8117('0x11')]['has'](_0x8117('0x12')))return;const _0x43ee8f=_0x5b78e7[_0x8117('0x11')][_0x8117('0x1c')](_0x8117('0x1d'));_0x43ee8f['enableCommand']('heading',(_0x611662,_0x21744d)=>{const _0x1c9920=_0x21744d[_0x8117('0x4')],_0x50e79b=Array[_0x8117('0xd')](this[_0x8117('0xc')]['model'][_0x8117('0x17')][_0x8117('0x16')]['getSelectedBlocks']())[_0x8117('0x0')](_0x3a4149=>function(_0x5d40b5,_0x4ed7e0,_0x2994bb){return _0x2994bb['checkChild'](_0x5d40b5[_0x8117('0xa')],_0x4ed7e0)&&!_0x2994bb[_0x8117('0x8')](_0x5d40b5)&&_0x5d40b5['name']!=_0x4ed7e0;}(_0x3a4149,_0x1c9920,this[_0x8117('0xc')][_0x8117('0x1')][_0x8117('0x1e')]));_0x5b78e7[_0x8117('0x1')]['change'](()=>{for(const _0x590e09 of _0x50e79b)_0x43ee8f[_0x8117('0x1b')](_0x590e09,{'commandName':_0x8117('0x10'),'commandParams':[_0x21744d],'formatGroupId':'blockName'},_0x5b9051(_0x590e09));});});for(const _0x21497a of _0x10b861)_0x8117('0x2')!=_0x21497a[_0x8117('0x1')]&&_0x43ee8f[_0x8117('0x3')][_0x8117('0x9')](_0x21497a['model'],_0x585094=>{const _0x8a6e98=nn(_0x21497a[_0x8117('0x1')]);return null!==_0x8a6e98?_0x444519(_0x585094,_0x8a6e98):_0xf6aca7(_0x585094,_0x21497a['title']);});function _0x444519(_0x116336,_0x168418){return _0x23aa11(_0x23b9e8,_0x8117('0x6'),[_0x116336,_0x168418]);}function _0xf6aca7(_0x4b6a4a,_0x1daabe){return _0x23aa11(_0x23b9e8,_0x8117('0xb'),[_0x4b6a4a,_0x1daabe]);}_0x43ee8f[_0x8117('0x3')][_0x8117('0x1a')](_0x4a790e=>{const {type:_0x18e450,data:_0x622b78}=_0x4a790e;if(_0x8117('0x15')==_0x18e450&&_0x622b78&&_0x8117('0x10')==_0x622b78[_0x8117('0xf')]){const _0x3195fa=_0x622b78[_0x8117('0x7')][0x0][_0x8117('0x4')],_0x303bf8=nn(_0x3195fa);if(null!==_0x303bf8)return{'type':_0x8117('0x14'),'content':_0x23aa11(_0x23b9e8,_0x8117('0x19'),_0x444519(0x1,_0x303bf8))};const _0x2fd1d6=_0x10b861[_0x8117('0x18')](_0x5c381b=>_0x5c381b[_0x8117('0x1')]===_0x3195fa)['title'];return{'type':_0x8117('0x14'),'content':_0x23aa11(_0x23b9e8,_0x8117('0x19'),_0xf6aca7(0x1,_0x2fd1d6))};}});}}function nn(_0x2fa2be){const _0x58184a=_0x2fa2be[_0x8117('0x5')](/^heading(\d+)$/);return _0x58184a?_0x58184a[0x1]:null;}
23
+ const _0x3f21=['change','editor','_descriptionFactory','schema','locale','afterInit','value','find','HeadingEditing','match','registerElementLabel','*Change\x20to:*\x20%0','isObject','ELEMENT_HEADING_CUSTOM','commandParams','parent','document','selection','registerDescriptionCallback','has','TrackChangesEditing','ELEMENT_HEADING','heading','formatBlock','checkChild','model','format','title','plugins','markBlockFormat','paragraph','heading.options','enableCommand','from'];(function(_0x4f4000,_0x3f21a3){const _0x2ab5a8=function(_0x169cc5){while(--_0x169cc5){_0x4f4000['push'](_0x4f4000['shift']());}};_0x2ab5a8(++_0x3f21a3);}(_0x3f21,0x1b1));const _0x2ab5=function(_0x4f4000,_0x3f21a3){_0x4f4000=_0x4f4000-0x0;let _0x2ab5a8=_0x3f21[_0x4f4000];return _0x2ab5a8;};import{Plugin as _0x20da00}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x39b668}from'./utils';import{getTranslation as _0x2a7245}from'../utils/common-translations';export default class K extends _0x20da00{[_0x2ab5('0xe')](){const _0x529989=this[_0x2ab5('0xa')],_0x5e935d=_0x529989[_0x2ab5('0xd')],_0x22150f=_0x529989['config']['get'](_0x2ab5('0x6'));if(!_0x529989[_0x2ab5('0x3')][_0x2ab5('0x1c')](_0x2ab5('0x11')))return;const _0x1e5526=_0x529989[_0x2ab5('0x3')]['get'](_0x2ab5('0x1d'));_0x1e5526[_0x2ab5('0x7')]('heading',(_0x59c5ec,_0x4fa829)=>{const _0x4359c1=_0x4fa829['value'],_0x3e334f=Array[_0x2ab5('0x8')](this[_0x2ab5('0xa')][_0x2ab5('0x0')][_0x2ab5('0x19')][_0x2ab5('0x1a')]['getSelectedBlocks']())['filter'](_0x376dbb=>function(_0x2b53ac,_0x230f90,_0x236e16){return _0x236e16[_0x2ab5('0x21')](_0x2b53ac[_0x2ab5('0x18')],_0x230f90)&&!_0x236e16[_0x2ab5('0x15')](_0x2b53ac)&&_0x2b53ac['name']!=_0x230f90;}(_0x376dbb,_0x4359c1,this[_0x2ab5('0xa')][_0x2ab5('0x0')][_0x2ab5('0xc')]));_0x529989[_0x2ab5('0x0')][_0x2ab5('0x9')](()=>{for(const _0xb0e0b of _0x3e334f)_0x1e5526[_0x2ab5('0x4')](_0xb0e0b,{'commandName':'heading','commandParams':[_0x4fa829],'formatGroupId':'blockName'},_0x39b668(_0xb0e0b));});});for(const _0x5c1936 of _0x22150f)_0x2ab5('0x5')!=_0x5c1936['model']&&_0x1e5526[_0x2ab5('0xb')][_0x2ab5('0x13')](_0x5c1936[_0x2ab5('0x0')],_0x12853d=>{const _0x5b8b6a=nn(_0x5c1936['model']);return null!==_0x5b8b6a?_0x3a243c(_0x12853d,_0x5b8b6a):_0xd58cdf(_0x12853d,_0x5c1936['title']);});function _0x3a243c(_0x28a51c,_0x527432){return _0x2a7245(_0x5e935d,_0x2ab5('0x1e'),[_0x28a51c,_0x527432]);}function _0xd58cdf(_0x389639,_0x209c9c){return _0x2a7245(_0x5e935d,_0x2ab5('0x16'),[_0x389639,_0x209c9c]);}_0x1e5526[_0x2ab5('0xb')][_0x2ab5('0x1b')](_0x298f15=>{const {type:_0x550b42,data:_0x44264a}=_0x298f15;if(_0x2ab5('0x20')==_0x550b42&&_0x44264a&&_0x2ab5('0x1f')==_0x44264a['commandName']){const _0x263001=_0x44264a[_0x2ab5('0x17')][0x0][_0x2ab5('0xf')],_0x2d192a=nn(_0x263001);if(null!==_0x2d192a)return{'type':_0x2ab5('0x1'),'content':_0x2a7245(_0x5e935d,_0x2ab5('0x14'),_0x3a243c(0x1,_0x2d192a))};const _0x55d7c2=_0x22150f[_0x2ab5('0x10')](_0x5df5cc=>_0x5df5cc[_0x2ab5('0x0')]===_0x263001)[_0x2ab5('0x2')];return{'type':_0x2ab5('0x1'),'content':_0x2a7245(_0x5e935d,'*Change\x20to:*\x20%0',_0xd58cdf(0x1,_0x55d7c2))};}});}}function nn(_0x248b3b){const _0x4b930b=_0x248b3b[_0x2ab5('0x12')](/^heading(\d+)$/);return _0x4b930b?_0x4b930b[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x305b=['commandName','editor','get','isCollapsed','hasAttribute','model','enableCommand','title','color','*Set\x20highlight:*\x20%0','afterInit','TrackChangesEditing','push','change','markInlineFormat','find','selection','document','formatInline','_descriptionFactory','FORMAT_HIGHLIGHT','getLastMatchingPosition','HighlightEditing','registerDescriptionCallback','item','has','getAttribute','toLowerCase','commandParams','highlight','createRange','plugins','highlight.options','value'];(function(_0x31de86,_0x305b28){const _0x2346b9=function(_0x5b572c){while(--_0x5b572c){_0x31de86['push'](_0x31de86['shift']());}};_0x2346b9(++_0x305b28);}(_0x305b,0x135));const _0x2346=function(_0x31de86,_0x305b28){_0x31de86=_0x31de86-0x0;let _0x2346b9=_0x305b[_0x31de86];return _0x2346b9;};import{Plugin as _0x5abb7e}from'ckeditor5/src/core';import{getTranslation as _0x78dcbb}from'../utils/common-translations';import{getRangesWithAttribute as _0x4b886e}from'./utils';export default class Q extends _0x5abb7e{[_0x2346('0x7')](){const _0x304bd5=this[_0x2346('0x20')];if(!_0x304bd5[_0x2346('0x1c')][_0x2346('0x16')](_0x2346('0x13')))return;const _0x4f704b=_0x304bd5[_0x2346('0x1c')][_0x2346('0x21')](_0x2346('0x8'));_0x4f704b[_0x2346('0x3')]('highlight',(_0x755cf6,_0x49e0e6={})=>{const _0x20c202=_0x304bd5[_0x2346('0x2')][_0x2346('0xe')][_0x2346('0xd')],_0x3ae604=_0x20c202[_0x2346('0x17')](_0x2346('0x1a'));let _0x446ff0=_0x49e0e6[_0x2346('0x1e')],_0x49feda=[];if(_0x20c202[_0x2346('0x0')]){const _0x32e262=_0x20c202['getFirstPosition']();if(!_0x20c202[_0x2346('0x1')](_0x2346('0x1a')))return void _0x755cf6(_0x49e0e6);{const _0x5995d8=_0x38949e=>_0x38949e[_0x2346('0x15')][_0x2346('0x17')](_0x2346('0x1a'))===_0x3ae604,_0x16b7b0=_0x32e262[_0x2346('0x12')](_0x5995d8,{'direction':'backward'}),_0x20b962=_0x32e262['getLastMatchingPosition'](_0x5995d8);_0x49feda=[_0x304bd5[_0x2346('0x2')][_0x2346('0x1b')](_0x16b7b0,_0x20b962)],_0x446ff0==_0x3ae604&&(_0x446ff0=null);}}else for(const _0x410709 of _0x20c202['getRanges']())_0x446ff0?_0x49feda[_0x2346('0x9')](_0x410709):_0x49feda['push'](..._0x4b886e(_0x2346('0x1a'),_0x410709,_0x304bd5[_0x2346('0x2')]));_0x304bd5[_0x2346('0x2')][_0x2346('0xa')](()=>{for(const _0x41d819 of _0x49feda)_0x4f704b[_0x2346('0xb')](_0x41d819,{'commandName':_0x2346('0x1a'),'commandParams':[{'value':_0x446ff0}]});});});const _0x303b66=_0x304bd5['locale'];_0x4f704b[_0x2346('0x10')][_0x2346('0x14')](_0x3468a0=>{const {type:_0x58e63f,data:_0x28c15}=_0x3468a0;if(_0x2346('0xf')==_0x58e63f&&_0x28c15&&_0x2346('0x1a')==_0x28c15[_0x2346('0x1f')]){const _0x48bcc4=_0x303b66['t'],_0x5a4c14=_0x28c15[_0x2346('0x19')][0x0][_0x2346('0x1e')];if(_0x5a4c14){const _0x5b7a70=_0x304bd5['config'][_0x2346('0x21')](_0x2346('0x1d'))[_0x2346('0xc')](_0x224181=>_0x224181[_0x2346('0x2')]==_0x5a4c14),_0x4ab377=_0x48bcc4(_0x5b7a70[_0x2346('0x4')])[_0x2346('0x18')]();return{'type':'format','content':_0x78dcbb(_0x303b66,_0x2346('0x6'),_0x4ab377),'color':{'value':_0x5b7a70[_0x2346('0x5')],'title':_0x5b7a70[_0x2346('0x4')]}};}return{'type':'format','content':_0x78dcbb(_0x303b66,'*Remove\x20highlight*',_0x78dcbb(_0x303b66,_0x2346('0x11')))};}});}}
23
+ const _0x5923=['highlight','*Set\x20highlight:*\x20%0','highlight.options','editor','get','formatInline','getFirstPosition','commandName','plugins','item','config','hasAttribute','selection','title','TrackChangesEditing','document','afterInit','push','HighlightEditing','isCollapsed','toLowerCase','value','find','_descriptionFactory','backward','model','getLastMatchingPosition','commandParams','enableCommand','color'];(function(_0x4894ca,_0x592303){const _0x144f00=function(_0x4dc739){while(--_0x4dc739){_0x4894ca['push'](_0x4894ca['shift']());}};_0x144f00(++_0x592303);}(_0x5923,0x195));const _0x144f=function(_0x4894ca,_0x592303){_0x4894ca=_0x4894ca-0x0;let _0x144f00=_0x5923[_0x4894ca];return _0x144f00;};import{Plugin as _0x387a71}from'ckeditor5/src/core';import{getTranslation as _0xbe06b0}from'../utils/common-translations';import{getRangesWithAttribute as _0x45db01}from'./utils';export default class Q extends _0x387a71{[_0x144f('0x1')](){const _0x1f72b9=this[_0x144f('0x12')];if(!_0x1f72b9[_0x144f('0x17')]['has'](_0x144f('0x3')))return;const _0x3869b0=_0x1f72b9[_0x144f('0x17')][_0x144f('0x13')](_0x144f('0x1d'));_0x3869b0[_0x144f('0xd')](_0x144f('0xf'),(_0x13bb43,_0x49a57d={})=>{const _0x3a1fbf=_0x1f72b9['model'][_0x144f('0x0')][_0x144f('0x1b')],_0x344672=_0x3a1fbf['getAttribute'](_0x144f('0xf'));let _0x120ebd=_0x49a57d[_0x144f('0x6')],_0x3d5199=[];if(_0x3a1fbf[_0x144f('0x4')]){const _0x242e91=_0x3a1fbf[_0x144f('0x15')]();if(!_0x3a1fbf[_0x144f('0x1a')](_0x144f('0xf')))return void _0x13bb43(_0x49a57d);{const _0x53b42a=_0x47563f=>_0x47563f[_0x144f('0x18')]['getAttribute']('highlight')===_0x344672,_0x145bd1=_0x242e91[_0x144f('0xb')](_0x53b42a,{'direction':_0x144f('0x9')}),_0x1e73dd=_0x242e91[_0x144f('0xb')](_0x53b42a);_0x3d5199=[_0x1f72b9[_0x144f('0xa')]['createRange'](_0x145bd1,_0x1e73dd)],_0x120ebd==_0x344672&&(_0x120ebd=null);}}else for(const _0xe218d7 of _0x3a1fbf['getRanges']())_0x120ebd?_0x3d5199[_0x144f('0x2')](_0xe218d7):_0x3d5199[_0x144f('0x2')](..._0x45db01('highlight',_0xe218d7,_0x1f72b9[_0x144f('0xa')]));_0x1f72b9[_0x144f('0xa')]['change'](()=>{for(const _0x12b99e of _0x3d5199)_0x3869b0['markInlineFormat'](_0x12b99e,{'commandName':_0x144f('0xf'),'commandParams':[{'value':_0x120ebd}]});});});const _0x1fd848=_0x1f72b9['locale'];_0x3869b0[_0x144f('0x8')]['registerDescriptionCallback'](_0xa5acfb=>{const {type:_0x177b7a,data:_0x14e345}=_0xa5acfb;if(_0x144f('0x14')==_0x177b7a&&_0x14e345&&'highlight'==_0x14e345[_0x144f('0x16')]){const _0x397d0d=_0x1fd848['t'],_0x5158b1=_0x14e345[_0x144f('0xc')][0x0]['value'];if(_0x5158b1){const _0xa4a0f0=_0x1f72b9[_0x144f('0x19')][_0x144f('0x13')](_0x144f('0x11'))[_0x144f('0x7')](_0x585137=>_0x585137[_0x144f('0xa')]==_0x5158b1),_0x22e8de=_0x397d0d(_0xa4a0f0['title'])[_0x144f('0x5')]();return{'type':'format','content':_0xbe06b0(_0x1fd848,_0x144f('0x10'),_0x22e8de),'color':{'value':_0xa4a0f0[_0x144f('0xe')],'title':_0xa4a0f0[_0x144f('0x1c')]}};}return{'type':'format','content':_0xbe06b0(_0x1fd848,'*Remove\x20highlight*',_0xbe06b0(_0x1fd848,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46ac=['insert','TrackChangesEditing','has','showSuggestionHighlights','ck-horizontal-line','horizontalLine','div','for','createEmptyElement','dataDowncast','ELEMENT_HORIZONTAL_LINE','editor','registerElementLabel','afterInit','HorizontalLineEditing','get','conversion','locale','enableCommand','plugins'];(function(_0x347303,_0x46ac5){const _0x4510cf=function(_0x3faf9d){while(--_0x3faf9d){_0x347303['push'](_0x347303['shift']());}};_0x4510cf(++_0x46ac5);}(_0x46ac,0x140));const _0x4510=function(_0x347303,_0x46ac5){_0x347303=_0x347303-0x0;let _0x4510cf=_0x46ac[_0x347303];return _0x4510cf;};import{Plugin as _0x603a87}from'ckeditor5/src/core';import{getTranslation as _0x45778d}from'../utils/common-translations';export default class V extends _0x603a87{[_0x4510('0xd')](){const _0x37bcb3=this[_0x4510('0xb')];if(!_0x37bcb3['plugins'][_0x4510('0x2')](_0x4510('0xe')))return;_0x37bcb3[_0x4510('0x13')][_0x4510('0xf')](_0x4510('0x1'))[_0x4510('0x12')](_0x4510('0x5'));const _0x3be046=_0x37bcb3[_0x4510('0x13')]['get']('TrackChangesEditing'),_0x3613a1=_0x37bcb3[_0x4510('0x11')];_0x3be046['_descriptionFactory'][_0x4510('0xc')](_0x4510('0x5'),_0x238f92=>_0x45778d(_0x3613a1,_0x4510('0xa'),_0x238f92)),_0x37bcb3[_0x4510('0x10')][_0x4510('0x7')](_0x4510('0x9'))['elementToStructure']({'model':_0x4510('0x5'),'view':(_0x17e1bb,{writer:_0xcea631,options:_0x2ad48e})=>{if(!_0x2ad48e[_0x4510('0x3')])return null;const _0x1526ca=_0xcea631['createContainerElement'](_0x4510('0x6')),_0x4f4b45=_0xcea631[_0x4510('0x8')]('hr');return _0xcea631['addClass'](_0x4510('0x4'),_0x1526ca),_0xcea631[_0x4510('0x0')](_0xcea631['createPositionAt'](_0x1526ca,0x0),_0x4f4b45),_0x1526ca;},'converterPriority':'high'});}}
23
+ const _0x41a5=['ck-horizontal-line','div','afterInit','locale','dataDowncast','createEmptyElement','editor','has','HorizontalLineEditing','high','addClass','registerElementLabel','TrackChangesEditing','horizontalLine','get','for','enableCommand','ELEMENT_HORIZONTAL_LINE','_descriptionFactory','plugins','createPositionAt','showSuggestionHighlights'];(function(_0x50f6c7,_0x41a5ed){const _0x2c9830=function(_0x34c837){while(--_0x34c837){_0x50f6c7['push'](_0x50f6c7['shift']());}};_0x2c9830(++_0x41a5ed);}(_0x41a5,0x1b8));const _0x2c98=function(_0x50f6c7,_0x41a5ed){_0x50f6c7=_0x50f6c7-0x0;let _0x2c9830=_0x41a5[_0x50f6c7];return _0x2c9830;};import{Plugin as _0x19abad}from'ckeditor5/src/core';import{getTranslation as _0x1b2fb2}from'../utils/common-translations';export default class V extends _0x19abad{[_0x2c98('0x2')](){const _0x432804=this[_0x2c98('0x6')];if(!_0x432804[_0x2c98('0x13')][_0x2c98('0x7')](_0x2c98('0x8')))return;_0x432804[_0x2c98('0x13')][_0x2c98('0xe')](_0x2c98('0xc'))[_0x2c98('0x10')](_0x2c98('0xd'));const _0x4206e7=_0x432804[_0x2c98('0x13')][_0x2c98('0xe')]('TrackChangesEditing'),_0x57d277=_0x432804[_0x2c98('0x3')];_0x4206e7[_0x2c98('0x12')][_0x2c98('0xb')](_0x2c98('0xd'),_0x45946e=>_0x1b2fb2(_0x57d277,_0x2c98('0x11'),_0x45946e)),_0x432804['conversion'][_0x2c98('0xf')](_0x2c98('0x4'))['elementToStructure']({'model':_0x2c98('0xd'),'view':(_0x4bb21c,{writer:_0x321530,options:_0x4ea8b5})=>{if(!_0x4ea8b5[_0x2c98('0x15')])return null;const _0x27235c=_0x321530['createContainerElement'](_0x2c98('0x1')),_0x5ee0f3=_0x321530[_0x2c98('0x5')]('hr');return _0x321530[_0x2c98('0xa')](_0x2c98('0x0'),_0x27235c),_0x321530['insert'](_0x321530[_0x2c98('0x14')](_0x27235c,0x0),_0x5ee0f3),_0x27235c;},'converterPriority':_0x2c98('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31a9=['plugins','rawHtml','getSelectedElement','TrackChangesEditing','element','editor','editing','enableCommand','HtmlEmbed','document','model','get','registerDescriptionCallback','getCustomProperty','locale','*Change\x20%0\x20content*','view','htmlEmbed','registerElementLabel','commandName','ELEMENT_HTML_EMBED','cancel','_descriptionFactory','selection','format'];(function(_0x12ba62,_0x31a9a9){const _0x175ef5=function(_0x20f65d){while(--_0x20f65d){_0x12ba62['push'](_0x12ba62['shift']());}};_0x175ef5(++_0x31a9a9);}(_0x31a9,0xb2));const _0x175e=function(_0x12ba62,_0x31a9a9){_0x12ba62=_0x12ba62-0x0;let _0x175ef5=_0x31a9[_0x12ba62];return _0x175ef5;};import{Plugin as _0x29f291}from'ckeditor5/src/core';import{getTranslation as _0x3a1bb5}from'../utils/common-translations';export default class X extends _0x29f291{['afterInit'](){const _0x309adf=this[_0x175e('0x2')];if(!_0x309adf['plugins']['has'](_0x175e('0x5')))return;const _0x40b889=_0x309adf[_0x175e('0x16')][_0x175e('0x8')]('TrackChangesEditing'),_0x59660c=_0x309adf[_0x175e('0xb')],_0x41c4f0=_0x309adf[_0x175e('0x3')][_0x175e('0xd')][_0x175e('0x6')]['selection'];_0x40b889[_0x175e('0x13')][_0x175e('0xf')](_0x175e('0x17'),_0x1550dc=>_0x3a1bb5(_0x59660c,_0x175e('0x11'),_0x1550dc)),_0x309adf[_0x175e('0x16')][_0x175e('0x8')](_0x175e('0x0'))[_0x175e('0x4')](_0x175e('0xe'),(_0x5e4752,_0x544089)=>{const _0x1bc893=_0x309adf[_0x175e('0x7')],_0x4a223b=_0x1bc893[_0x175e('0x6')][_0x175e('0x14')];_0x1bc893['change'](()=>{const _0x913840=function(_0xb88974){const _0x14f370=_0xb88974[_0x175e('0x18')]();if(_0x14f370&&_0x14f370['is'](_0x175e('0x1'),_0x175e('0x17')))return _0xb88974[_0x175e('0x18')]();return null;}(_0x4a223b);if(!_0x913840)return void _0x5e4752(null);const _0x552bc9=_0x913840['getAttribute']('value')||'';if(void 0x0===_0x544089)return;if(_0x544089===_0x552bc9)return;_0x40b889['markBlockFormat'](_0x913840,{'commandName':_0x175e('0xe'),'commandParams':[_0x544089]}),_0x41c4f0[_0x175e('0x18')]()[_0x175e('0xa')]('rawHtmlApi')[_0x175e('0x12')]();});}),_0x40b889['_descriptionFactory'][_0x175e('0x9')](_0x2532af=>{const {data:_0x5aabdd}=_0x2532af;if(_0x5aabdd&&_0x175e('0xe')==_0x5aabdd[_0x175e('0x10')]){const _0x1faf57=_0x3a1bb5(_0x59660c,_0x175e('0x11'));return{'type':_0x175e('0x15'),'content':_0x3a1bb5(_0x59660c,_0x175e('0xc'),_0x1faf57)};}});}}
23
+ const _0x1e18=['htmlEmbed','selection','document','getSelectedElement','rawHtml','model','*Change\x20%0\x20content*','_descriptionFactory','enableCommand','has','view','rawHtmlApi','TrackChangesEditing','editor','registerElementLabel','registerDescriptionCallback','markBlockFormat','ELEMENT_HTML_EMBED','getAttribute','getCustomProperty','value','plugins','format','element','get','editing'];(function(_0xfdc21f,_0x1e184e){const _0x5b8412=function(_0x1ba800){while(--_0x1ba800){_0xfdc21f['push'](_0xfdc21f['shift']());}};_0x5b8412(++_0x1e184e);}(_0x1e18,0xa6));const _0x5b84=function(_0xfdc21f,_0x1e184e){_0xfdc21f=_0xfdc21f-0x0;let _0x5b8412=_0x1e18[_0xfdc21f];return _0x5b8412;};import{Plugin as _0x319642}from'ckeditor5/src/core';import{getTranslation as _0x3d288f}from'../utils/common-translations';export default class X extends _0x319642{['afterInit'](){const _0x4d9f7f=this[_0x5b84('0x3')];if(!_0x4d9f7f[_0x5b84('0xb')][_0x5b84('0x19')]('HtmlEmbed'))return;const _0x3672ae=_0x4d9f7f[_0x5b84('0xb')][_0x5b84('0xe')](_0x5b84('0x2')),_0x5ea126=_0x4d9f7f['locale'],_0x1efe4e=_0x4d9f7f[_0x5b84('0xf')][_0x5b84('0x0')][_0x5b84('0x12')][_0x5b84('0x11')];_0x3672ae['_descriptionFactory'][_0x5b84('0x4')]('rawHtml',_0x2486d4=>_0x3d288f(_0x5ea126,_0x5b84('0x7'),_0x2486d4)),_0x4d9f7f[_0x5b84('0xb')][_0x5b84('0xe')](_0x5b84('0x2'))[_0x5b84('0x18')]('htmlEmbed',(_0x2efe87,_0x5797a8)=>{const _0x49d4c7=_0x4d9f7f[_0x5b84('0x15')],_0x55789d=_0x49d4c7[_0x5b84('0x12')][_0x5b84('0x11')];_0x49d4c7['change'](()=>{const _0x5be628=function(_0x2f97ca){const _0x5235f4=_0x2f97ca[_0x5b84('0x13')]();if(_0x5235f4&&_0x5235f4['is'](_0x5b84('0xd'),_0x5b84('0x14')))return _0x2f97ca[_0x5b84('0x13')]();return null;}(_0x55789d);if(!_0x5be628)return void _0x2efe87(null);const _0x3adbc5=_0x5be628[_0x5b84('0x8')](_0x5b84('0xa'))||'';if(void 0x0===_0x5797a8)return;if(_0x5797a8===_0x3adbc5)return;_0x3672ae[_0x5b84('0x6')](_0x5be628,{'commandName':_0x5b84('0x10'),'commandParams':[_0x5797a8]}),_0x1efe4e[_0x5b84('0x13')]()[_0x5b84('0x9')](_0x5b84('0x1'))['cancel']();});}),_0x3672ae[_0x5b84('0x17')][_0x5b84('0x5')](_0x1a8e9e=>{const {data:_0x4c8c30}=_0x1a8e9e;if(_0x4c8c30&&_0x5b84('0x10')==_0x4c8c30['commandName']){const _0x276f6b=_0x3d288f(_0x5ea126,_0x5b84('0x7'));return{'type':_0x5b84('0xc'),'content':_0x3d288f(_0x5ea126,_0x5b84('0x16'),_0x276f6b)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d82=['ImageUploadEditing','isBefore','getAttribute','convertInlineImageToBlock','alt','isBlockImage','imageTextAlternative','from','caption','Inline\x20image\x20to\x20block\x20image','discard','_suggestionFactory','removeObject','format','element','ImageTextAlternativeEditing','width','change','imageTypeBlock','next','registerCustomCallback','ImageBlockEditing','isInContent','setImageNaturalSizeAttributes','createRangeOn','formatBlock','markInlineFormat','commandParams','commandName','suggestion','registerPostFixer','discardSuggestion','imageStylePostApply','forEach','newRange','name','*Format:*\x20%0','value','end','isInlineImage','convertBlockImageToInline','length','forceDefaultExecution','nodeBefore','ImageStyleEditing','afterInit','differ','ELEMENT_INLINE_IMAGE','commands','toLowerCase','getFirstRange','getNearestSelectionRange','start','hasSuggestion','isIntersecting','backward','document','formatInline','selection','deletion','find','_descriptionFactory','FORMAT_SIDE_IMAGE','uploadImage','getSuggestionCallback','hasAttribute','imageStyle','newValue','subType','resizeImage','ELEMENT_IMAGE','ImageCaptionEditing','TrackChangesEditing','detach','previous','refresh','filter','ImageEditing','locale','get','chain','enableCommand','type','isEqual','registerElementLabel','getSuggestion','findIndex','normalizedStyles','insertion','join','insertImage','markDeletion','markBlockFormat','ImageUtils','getClosestSelectedImageElement','ELEMENT_CAPTION','getCaptionFromImageModelElement','has','Block\x20image\x20to\x20inline\x20image','imageInline','*Set\x20image\x20text\x20alternative:*\x20%0','toPrevious','isCollapsed','imageTypeInline','plugins','isOwn','editor','registerDescriptionCallback','model','markInsertion','accept','schema','imageCaption','createRange','fromPosition','ImageResize','ImageInlineEditing','shouldConvertImageType','getContainedElement','imageStylePreApply','ImageCaptionUtils','head','toNext'];(function(_0x4396be,_0x4d829a){const _0x28bc86=function(_0x1e4e1c){while(--_0x1e4e1c){_0x4396be['push'](_0x4396be['shift']());}};_0x28bc86(++_0x4d829a);}(_0x4d82,0x180));const _0x28bc=function(_0x4396be,_0x4d829a){_0x4396be=_0x4396be-0x0;let _0x28bc86=_0x4d82[_0x4396be];return _0x28bc86;};import{Plugin as _0x2552fc}from'ckeditor5/src/core';import{LivePosition as _0x1d0f03}from'ckeditor5/src/engine';import{uid as _0x4abd66}from'ckeditor5/src/utils';import{getTranslation as _0x1d6486}from'../utils/common-translations';export default class Y extends _0x2552fc{[_0x28bc('0x1e')](){const _0x2afeee=this[_0x28bc('0x5b')];if(!_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x3e')))return;const _0x176f7b=_0x2afeee[_0x28bc('0x59')]['get'](_0x28bc('0x39')),_0x5d5fad=_0x2afeee['plugins'][_0x28bc('0x40')](_0x28bc('0x4e')),_0x2a9e77={},_0x2e8369=_0x2afeee[_0x28bc('0x3f')];if(_0x176f7b[_0x28bc('0x42')](_0x28bc('0x4b')),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x45')]('imageBlock',_0x34b884=>_0x1d6486(_0x2e8369,_0x28bc('0x37'),_0x34b884)),_0x176f7b['_descriptionFactory'][_0x28bc('0x45')](_0x28bc('0x54'),_0x1d443b=>_0x1d6486(_0x2e8369,_0x28bc('0x20'),_0x1d443b)),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x45')](_0x28bc('0x74'),()=>_0x1d6486(_0x2e8369,_0x28bc('0x50'))),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x6c'))&&_0x176f7b[_0x28bc('0x42')](_0x28bc('0x30')),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x6'))&&_0x2afeee['plugins'][_0x28bc('0x52')](_0x28bc('0x65'))&&(_0x176f7b[_0x28bc('0x42')]('imageTypeInline',(_0x4a50c8,_0x5ca97a)=>{const _0x33a0d9=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')]['selection']);_0x2afeee['model'][_0x28bc('0x2')](()=>{_0x176f7b[_0x28bc('0x4d')](_0x33a0d9,{'commandName':_0x28bc('0x58'),'commandParams':[_0x5ca97a]},[],'convertBlockImageToInline');});}),_0x176f7b[_0x28bc('0x42')](_0x28bc('0x3'),(_0x43da48,_0x74764d)=>{_0x2afeee[_0x28bc('0x5d')]['change'](_0x5bf19a=>{let _0xe8fdc1=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')]['document']['selection']),_0x22c35c=_0x5bf19a[_0x28bc('0x9')](_0xe8fdc1);const _0x4d161b=_0x1d0f03[_0x28bc('0x63')](_0x22c35c['start'],_0x28bc('0x56')),_0x5c466f=_0x1d0f03[_0x28bc('0x63')](_0x22c35c['end'],_0x28bc('0x6b'));_0x176f7b[_0x28bc('0x1b')](()=>_0x43da48(_0x74764d)),_0xe8fdc1=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x22c35c=_0x5bf19a['createRangeOn'](_0xe8fdc1);const _0x393434=_0x5bf19a[_0x28bc('0x62')](_0x4d161b,_0x5c466f);_0x4d161b['detach'](),_0x5c466f[_0x28bc('0x3a')](),_0x176f7b[_0x28bc('0x4d')](_0xe8fdc1,{'commandName':_0x28bc('0x58'),'commandParams':[_0x74764d]},[],_0x28bc('0x6f')),_0x393434['start'][_0x28bc('0x6d')](_0x22c35c['start'])&&_0x176f7b[_0x28bc('0x5e')](_0x5bf19a[_0x28bc('0x62')](_0x393434[_0x28bc('0x25')],_0x22c35c[_0x28bc('0x25')]),'convertInlineImageToBlock'),_0x22c35c[_0x28bc('0x17')][_0x28bc('0x6d')](_0x393434[_0x28bc('0x17')])&&_0x176f7b[_0x28bc('0x5e')](_0x5bf19a[_0x28bc('0x62')](_0x22c35c[_0x28bc('0x17')],_0x393434[_0x28bc('0x17')]),_0x28bc('0x6f'));});}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')]('formatBlock',_0x28bc('0x6f'),'join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x6f'),'accept',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),'convertInlineImageToBlock','discard',_0x176f7b['_suggestionFactory'][_0x28bc('0x31')](_0x28bc('0xa'),'',_0x28bc('0x5f'))),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')]('insertion',_0x28bc('0x6f'),_0x28bc('0x4a'),()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0x49'),_0x28bc('0x6f'),_0x28bc('0x76'),([_0x3fe610])=>{const _0x3456b5=_0x176f7b[_0x28bc('0x77')][_0x28bc('0x31')]('insertion','','discard');let _0x305f05=_0x3fe610['start'],_0x39c567=_0x3fe610[_0x28bc('0x17')];const _0x1d0c5c=_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x60')]['getNearestSelectionRange'](_0x305f05,_0x28bc('0x28')),_0x47d0ea=_0x2afeee['model'][_0x28bc('0x60')][_0x28bc('0x24')](_0x39c567,'forward');_0x1d0c5c[_0x28bc('0x57')]&&(_0x305f05=_0x1d0c5c['start']),_0x47d0ea[_0x28bc('0x57')]&&(_0x39c567=_0x47d0ea[_0x28bc('0x17')]),_0x3456b5([_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x62')](_0x305f05,_0x39c567)]);}),_0x176f7b['_suggestionFactory'][_0x28bc('0x5')]('formatBlock',_0x28bc('0x6f'),'chain',_0x283630),_0x176f7b['_suggestionFactory'][_0x28bc('0x5')](_0x28bc('0x49'),_0x28bc('0x6f'),'chain',_0x283630)),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x38'))&&(_0x176f7b[_0x28bc('0x42')]('toggleImageCaption',(_0x5cbd80,_0xe5abf9)=>{const _0x422f73=_0x2afeee[_0x28bc('0x59')][_0x28bc('0x40')](_0x28bc('0x69'));let _0x17a557=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x32a9b1=_0x422f73['getCaptionFromImageModelElement'](_0x17a557);_0x2afeee[_0x28bc('0x5d')]['change'](()=>{if(_0x32a9b1)return void _0x176f7b[_0x28bc('0x4c')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x32a9b1));const _0x352443=_0x5d5fad[_0x28bc('0x71')](_0x17a557);_0x5cbd80(_0xe5abf9),_0x17a557=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x32a9b1=_0x422f73[_0x28bc('0x51')](_0x17a557),_0x176f7b[_0x28bc('0x5e')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x32a9b1),_0x352443?null:_0x28bc('0x61'));});}),_0x176f7b[_0x28bc('0x77')]['registerCustomCallback'](_0x28bc('0x49'),_0x28bc('0x61'),_0x28bc('0x41'),_0x283630)),_0x2afeee['plugins'][_0x28bc('0x52')](_0x28bc('0x1d'))){_0x176f7b[_0x28bc('0x42')]('imageStyle',(_0x5d3916,_0x158d9c)=>{const _0x277cb3=_0x2afeee[_0x28bc('0x59')][_0x28bc('0x40')]('Users')['me'],_0x520383=_0x2afeee['commands'][_0x28bc('0x40')](_0x28bc('0x33'));let _0x4b74c0=_0x5d5fad['getClosestSelectedImageElement'](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x1f2e9e=_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x4b74c0),_0x268c7d=_0x520383[_0x28bc('0x16')];if(_0x268c7d==_0x158d9c[_0x28bc('0x16')])return;const _0x1bfdb4={'commandName':_0x28bc('0x33'),'commandParams':[_0x158d9c],'formatGroupId':_0x4abd66()};_0x2afeee['model'][_0x28bc('0x2')](()=>{if(_0x176f7b['getSuggestions']()['filter'](_0x43cfc7=>_0x43cfc7[_0x28bc('0x7')]&&_0x277cb3==_0x43cfc7['author']&&(_0x28bc('0xa')==_0x43cfc7[_0x28bc('0x43')]||_0x28bc('0x2a')==_0x43cfc7[_0x28bc('0x43')])&&(_0x28bc('0x68')==_0x43cfc7['subType']||_0x28bc('0x11')==_0x43cfc7['subType'])&&_0x43cfc7[_0x28bc('0x23')]()[_0x28bc('0x44')](_0x1f2e9e))[_0x28bc('0x12')](_0x2c2c41=>_0x176f7b[_0x28bc('0x10')](_0x2c2c41[_0x28bc('0x6a')])),_0x4b74c0=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')]['selection']),_0x1f2e9e=_0x2afeee['model'][_0x28bc('0x9')](_0x4b74c0),_0x520383['refresh'](),_0x2afeee[_0x28bc('0x21')][_0x28bc('0x40')](_0x28bc('0x58'))[_0x28bc('0x3c')](),_0x2afeee['commands'][_0x28bc('0x40')](_0x28bc('0x3'))[_0x28bc('0x3c')](),_0x268c7d=_0x520383[_0x28bc('0x16')],_0x268c7d!=_0x158d9c[_0x28bc('0x16')])return _0x5d5fad[_0x28bc('0x18')](_0x4b74c0)&&_0x520383[_0x28bc('0x66')](_0x158d9c['value'],_0x4b74c0)?(_0x5d3916({..._0x158d9c,'setImageSizes':!0x1}),_0x4b74c0=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x2b')]),void _0x176f7b[_0x28bc('0x4d')](_0x4b74c0,{..._0x1bfdb4,'commandReversedParams':[{'value':_0x268c7d||null,'setImageSizes':!0x1}]},[],_0x28bc('0x68'))):void(_0x5d5fad[_0x28bc('0x71')](_0x4b74c0)?_0x176f7b['markBlockFormat'](_0x4b74c0,_0x1bfdb4,[],_0x28bc('0x11')):_0x176f7b[_0x28bc('0xb')](_0x1f2e9e,_0x1bfdb4,_0x28bc('0x11')));});});for(const _0x183366 of _0x2afeee['plugins']['get'](_0x28bc('0x1d'))[_0x28bc('0x48')])_0x2a9e77[_0x183366[_0x28bc('0x14')]]=_0x183366['title'][_0x28bc('0x22')]();_0x176f7b[_0x28bc('0x77')]['registerCustomCallback'](_0x28bc('0xa'),_0x28bc('0x68'),'join',()=>!0x1),_0x176f7b['_suggestionFactory']['registerCustomCallback'](_0x28bc('0xa'),'imageStylePostApply','join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0x2a'),_0x28bc('0x11'),'join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),_0x28bc('0x5f'),([_0x45e9be])=>{_0x5d5fad[_0x28bc('0x8')](_0x45e9be[_0x28bc('0x67')]());}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),_0x28bc('0x76'),(_0xe5c45f,_0x33c428)=>{_0x176f7b[_0x28bc('0x77')][_0x28bc('0x31')]('formatBlock','',_0x28bc('0x5f'))(_0xe5c45f,{'commandName':_0x33c428['commandName'],'commandParams':_0x33c428['commandReversedParams']});}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),'chain',_0x283630);}const _0x2fe278=[{'type':_0x28bc('0xa'),'subType':_0x28bc('0x68')},{'type':'insertion','subType':_0x28bc('0x61')},{'type':_0x28bc('0xa'),'subType':_0x28bc('0x6f')},{'type':'insertion','subType':_0x28bc('0x6f')}];function _0x3e3e2f(_0x8963b,_0x408563){const _0x25c83b=_0x2fe278[_0x28bc('0x47')](({type:_0xea293e,subType:_0x510ea3})=>_0x8963b['type']==_0xea293e&&_0x8963b[_0x28bc('0x35')]==_0x510ea3),_0xcd1484=_0x2fe278['findIndex'](({type:_0x24680a,subType:_0x3dd728})=>_0x408563[_0x28bc('0x43')]==_0x24680a&&_0x408563[_0x28bc('0x35')]==_0x3dd728);if(_0x25c83b<0x0||_0xcd1484<0x0)return!0x1;const _0x5d6f3b=_0x8963b[_0x28bc('0x23')](),_0x272f78=_0x408563[_0x28bc('0x23')]();if((0x0==_0x25c83b||0x1==_0x25c83b)&&0x2==_0xcd1484&&_0x5d6f3b[_0x28bc('0x27')](_0x272f78))return!0x0;if(0x2==_0x25c83b&&0x3==_0xcd1484){const _0x5cde68=_0x176f7b['_findSuggestions'](_0x5d6f3b,_0x28bc('0x49'))[_0x28bc('0x3d')](({suggestion:_0x1a3507,meta:_0x4bf2e8})=>_0x4bf2e8[_0x28bc('0x5a')]&&'convertInlineImageToBlock'==_0x1a3507[_0x28bc('0x35')]);if(_0x5cde68['length']>0x1&&_0x272f78[_0x28bc('0x17')][_0x28bc('0x44')](_0x5d6f3b['start']))return!0x0;if(0x1==_0x5cde68[_0x28bc('0x1a')]&&(_0x5d6f3b[_0x28bc('0x25')][_0x28bc('0x44')](_0x272f78['end'])||_0x5d6f3b[_0x28bc('0x17')]['isEqual'](_0x272f78['start'])))return!0x0;}if(0x3==_0x25c83b&&0x3==_0xcd1484&&_0x5d6f3b['start'][_0x28bc('0x6d')](_0x272f78[_0x28bc('0x25')])){const _0x4ce4fb=_0x5d6f3b[_0x28bc('0x17')]['nodeAfter'],_0xdf20c0=_0x272f78['start'][_0x28bc('0x1c')];return _0x5d5fad['isBlockImage'](_0x4ce4fb)&&_0x4ce4fb===_0xdf20c0;}return!0x1;}function _0x283630(_0x261fea,_0xe7b5d9){return _0x3e3e2f(_0x261fea,_0xe7b5d9)?[_0x261fea,_0xe7b5d9]:_0x3e3e2f(_0xe7b5d9,_0x261fea)?[_0xe7b5d9,_0x261fea]:null;}_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0xf')](()=>{let _0x863a28=!0x1;const _0x3c33fc=Array[_0x28bc('0x73')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x1f')]['getChangedMarkers']());for(const {name:_0x9f932c,data:_0x27799d}of _0x3c33fc){const {group:_0x3c8120,type:_0x26a646,subType:_0x1078e7,id:_0x1ac4fc}=_0x176f7b['_splitMarkerName'](_0x9f932c);if(_0x28bc('0xe')==_0x3c8120&&_0x176f7b[_0x28bc('0x26')](_0x1ac4fc)){if(_0x28bc('0xa')==_0x26a646&&(_0x28bc('0x68')==_0x1078e7||_0x28bc('0x11')==_0x1078e7)){const _0x18a6f9=_0x176f7b['getSuggestion'](_0x1ac4fc);if(_0x27799d[_0x28bc('0x13')]){const _0x19dc5c=_0x18a6f9['getFirstRange']()[_0x28bc('0x67')]();if(_0x5d5fad[_0x28bc('0x71')](_0x19dc5c))continue;_0x176f7b[_0x28bc('0x10')](_0x18a6f9),_0x863a28=!0x0;}}if(_0x28bc('0x49')==_0x26a646&&'imageCaption'==_0x1078e7&&!_0x27799d['newRange']){const _0x2e6ed8=_0x176f7b[_0x28bc('0x46')](_0x1ac4fc);_0x2e6ed8[_0x28bc('0x4')]&&_0x2e6ed8[_0x28bc('0x4')]['isInContent']&&(_0x176f7b['discardSuggestion'](_0x2e6ed8[_0x28bc('0x4')]),_0x863a28=!0x0);}}}return _0x863a28;}),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x64'))&&_0x176f7b['enableCommand'](_0x28bc('0x36'),(_0x3163f5,_0x28615d)=>{const _0x4fb377=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')]['document']['selection']);_0x4fb377[_0x28bc('0x6e')]('resizedWidth')!=_0x28615d[_0x28bc('0x1')]&&_0x2afeee['model'][_0x28bc('0x2')](()=>{_0x176f7b['markBlockFormat'](_0x4fb377,{'commandName':'resizeImage','commandParams':[_0x28615d]});});}),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x0'))&&_0x176f7b[_0x28bc('0x42')](_0x28bc('0x72'),(_0x2eeef9,_0x3531ec)=>{const _0x523d9d=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]);(_0x523d9d[_0x28bc('0x32')](_0x28bc('0x70'))?_0x523d9d['getAttribute'](_0x28bc('0x70')):'')!=_0x3531ec['newValue']&&_0x2afeee[_0x28bc('0x5d')]['change'](()=>{_0x176f7b[_0x28bc('0x4d')](_0x523d9d,{'commandName':'imageTextAlternative','commandParams':[_0x3531ec]});});}),_0x176f7b['_descriptionFactory'][_0x28bc('0x5c')](_0x538100=>{if(!!_0x2fe278[_0x28bc('0x2d')](({type:_0x10d1b9,subType:_0x2c9579})=>_0x538100['type']==_0x10d1b9&&_0x538100[_0x28bc('0x35')]==_0x2c9579))return _0x538100[_0x28bc('0x3b')]?{}:void 0x0;}),_0x176f7b['_descriptionFactory'][_0x28bc('0x5c')](_0x2e33cc=>{if(_0x28bc('0x49')==_0x2e33cc['type']||_0x28bc('0x2c')==_0x2e33cc[_0x28bc('0x43')]){const _0x58c0b7=_0x2e33cc['getContainedElement']();if(_0x58c0b7&&_0x58c0b7['is'](_0x28bc('0x7a'),'caption'))return{'type':'insertion'==_0x2e33cc[_0x28bc('0x43')]?'addObject':_0x28bc('0x78'),'element':_0x58c0b7,'quantity':0x1};}}),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x5c')](_0x3b7a5=>_0x28bc('0xa')==_0x3b7a5[_0x28bc('0x43')]&&_0x28bc('0x6f')==_0x3b7a5[_0x28bc('0x35')]?{'type':_0x28bc('0x79'),'content':_0x28bc('0x75')}:'formatBlock'==_0x3b7a5[_0x28bc('0x43')]&&_0x28bc('0x19')==_0x3b7a5['subType']?{'type':_0x28bc('0x79'),'content':_0x28bc('0x53')}:void 0x0),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x5c')](_0x76ce7e=>{const {data:_0xbac934}=_0x76ce7e;if(_0xbac934){if(_0x28bc('0x33')==_0xbac934[_0x28bc('0xd')]){const _0x4034f5=_0xbac934[_0x28bc('0xc')][0x0]['value'];return _0x57fd45('side'===_0x4034f5?_0x1d6486(_0x2e8369,_0x28bc('0x2f')):_0x2a9e77[_0x4034f5]||_0x4034f5);}if(_0x28bc('0x72')==_0xbac934[_0x28bc('0xd')]){const _0x52dcf5=_0xbac934[_0x28bc('0xc')][0x0][_0x28bc('0x34')];return _0x52dcf5?{'type':'format','content':_0x1d6486(_0x2e8369,_0x28bc('0x55'),'\x22'+_0x52dcf5+'\x22')}:{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Remove\x20image\x20text\x20alternative*')};}if(_0x28bc('0x36')==_0xbac934[_0x28bc('0xd')]){const _0x51d7a0=_0xbac934['commandParams'][0x0]['width'];return _0x51d7a0?{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Set\x20image\x20width:*\x20%0',_0x51d7a0)}:{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Reset\x20image\x20width*')};}}function _0x57fd45(_0x4b68d8){return{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,_0x28bc('0x15'),_0x4b68d8)};}});}}
23
+ const _0x139b=['getContainedElement','registerElementLabel','imageStylePreApply','*Reset\x20image\x20width*','detach','side','forEach','discard','registerCustomCallback','registerDescriptionCallback','commands','value','uploadImage','editor','imageInline','toNext','isInlineImage','nodeBefore','hasAttribute','change','insertion','registerPostFixer','getSuggestionCallback','start','suggestion','enableCommand','differ','formatBlock','ELEMENT_INLINE_IMAGE','_descriptionFactory','imageBlock','ELEMENT_CAPTION','commandName','_findSuggestions','end','ImageEditing','filter','type','width','imageTextAlternative','ImageCaptionEditing','getAttribute','has','FORMAT_SIDE_IMAGE','find','schema','getNearestSelectionRange','isIntersecting','Users','convertInlineImageToBlock','isInContent','isCollapsed','alt','discardSuggestion','shouldConvertImageType','caption','formatInline','toPrevious','locale','_suggestionFactory','markInsertion','element','join','forceDefaultExecution','Block\x20image\x20to\x20inline\x20image','imageTypeBlock','previous','resizedWidth','ImageStyleEditing','plugins','ImageInlineEditing','getFirstRange','deletion','getCaptionFromImageModelElement','normalizedStyles','imageCaption','from','markInlineFormat','length','selection','Inline\x20image\x20to\x20block\x20image','createRangeOn','forward','next','get','resizeImage','subType','author','toggleImageCaption','name','newValue','imageStylePostApply','createRange','title','getSuggestions','markBlockFormat','document','getSuggestion','imageTypeInline','afterInit','findIndex','imageStyle','ImageBlockEditing','ImageCaptionUtils','isBefore','model','refresh','chain','format','markDeletion','getChangedMarkers','newRange','backward','isBlockImage','ImageUtils','*Set\x20image\x20text\x20alternative:*\x20%0','accept','*Remove\x20image\x20text\x20alternative*','setImageNaturalSizeAttributes','getClosestSelectedImageElement','fromPosition','*Format:*\x20%0','isEqual','toLowerCase'];(function(_0x3a8486,_0x139bbb){const _0x45d4ce=function(_0x39997d){while(--_0x39997d){_0x3a8486['push'](_0x3a8486['shift']());}};_0x45d4ce(++_0x139bbb);}(_0x139b,0x15a));const _0x45d4=function(_0x3a8486,_0x139bbb){_0x3a8486=_0x3a8486-0x0;let _0x45d4ce=_0x139b[_0x3a8486];return _0x45d4ce;};import{Plugin as _0x31bac6}from'ckeditor5/src/core';import{LivePosition as _0x2f78a7}from'ckeditor5/src/engine';import{uid as _0xf30e0d}from'ckeditor5/src/utils';import{getTranslation as _0x78bae3}from'../utils/common-translations';export default class Y extends _0x31bac6{[_0x45d4('0x1')](){const _0x2599f1=this[_0x45d4('0x27')];if(!_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x44')](_0x45d4('0x3d')))return;const _0x4dcd0e=_0x2599f1['plugins'][_0x45d4('0x6e')]('TrackChangesEditing'),_0x5e1dce=_0x2599f1['plugins'][_0x45d4('0x6e')](_0x45d4('0x10')),_0x2bca06={},_0x54be33=_0x2599f1[_0x45d4('0x54')];if(_0x4dcd0e[_0x45d4('0x33')]('insertImage'),_0x4dcd0e[_0x45d4('0x37')]['registerElementLabel'](_0x45d4('0x38'),_0x187477=>_0x78bae3(_0x54be33,'ELEMENT_IMAGE',_0x187477)),_0x4dcd0e[_0x45d4('0x37')]['registerElementLabel'](_0x45d4('0x28'),_0xea8844=>_0x78bae3(_0x54be33,_0x45d4('0x36'),_0xea8844)),_0x4dcd0e[_0x45d4('0x37')][_0x45d4('0x1b')](_0x45d4('0x51'),()=>_0x78bae3(_0x54be33,_0x45d4('0x39'))),_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x44')]('ImageUploadEditing')&&_0x4dcd0e[_0x45d4('0x33')](_0x45d4('0x26')),_0x2599f1['plugins']['has'](_0x45d4('0x4'))&&_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x44')](_0x45d4('0x60'))&&(_0x4dcd0e[_0x45d4('0x33')](_0x45d4('0x0'),(_0x1bab3c,_0x566f48)=>{const _0x27b497=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')]['selection']);_0x2599f1[_0x45d4('0x7')][_0x45d4('0x2d')](()=>{_0x4dcd0e[_0x45d4('0x79')](_0x27b497,{'commandName':_0x45d4('0x0'),'commandParams':[_0x566f48]},[],'convertBlockImageToInline');});}),_0x4dcd0e[_0x45d4('0x33')](_0x45d4('0x5b'),(_0x35a60d,_0x416d4c)=>{_0x2599f1[_0x45d4('0x7')]['change'](_0x15ac53=>{let _0x4465e8=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x69')]),_0x10fa76=_0x15ac53[_0x45d4('0x6b')](_0x4465e8);const _0x44d6ee=_0x2f78a7[_0x45d4('0x16')](_0x10fa76[_0x45d4('0x31')],_0x45d4('0x53')),_0x2b9433=_0x2f78a7[_0x45d4('0x16')](_0x10fa76[_0x45d4('0x3c')],_0x45d4('0x29'));_0x4dcd0e[_0x45d4('0x59')](()=>_0x35a60d(_0x416d4c)),_0x4465e8=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x69')]),_0x10fa76=_0x15ac53[_0x45d4('0x6b')](_0x4465e8);const _0x1d7c85=_0x15ac53[_0x45d4('0x76')](_0x44d6ee,_0x2b9433);_0x44d6ee[_0x45d4('0x1e')](),_0x2b9433['detach'](),_0x4dcd0e[_0x45d4('0x79')](_0x4465e8,{'commandName':_0x45d4('0x0'),'commandParams':[_0x416d4c]},[],_0x45d4('0x4b')),_0x1d7c85['start'][_0x45d4('0x6')](_0x10fa76['start'])&&_0x4dcd0e[_0x45d4('0x56')](_0x15ac53[_0x45d4('0x76')](_0x1d7c85['start'],_0x10fa76[_0x45d4('0x31')]),_0x45d4('0x4b')),_0x10fa76[_0x45d4('0x3c')][_0x45d4('0x6')](_0x1d7c85['end'])&&_0x4dcd0e[_0x45d4('0x56')](_0x15ac53['createRange'](_0x10fa76['end'],_0x1d7c85[_0x45d4('0x3c')]),_0x45d4('0x4b'));});}),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x35'),'convertInlineImageToBlock',_0x45d4('0x58'),()=>!0x1),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')]('formatBlock',_0x45d4('0x4b'),_0x45d4('0x12'),()=>!0x1),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x35'),'convertInlineImageToBlock',_0x45d4('0x21'),_0x4dcd0e['_suggestionFactory'][_0x45d4('0x30')](_0x45d4('0x35'),'',_0x45d4('0x12'))),_0x4dcd0e[_0x45d4('0x55')]['registerCustomCallback'](_0x45d4('0x2e'),_0x45d4('0x4b'),_0x45d4('0x58'),()=>!0x1),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x2e'),_0x45d4('0x4b'),_0x45d4('0x21'),([_0x21616e])=>{const _0x53cffc=_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x30')](_0x45d4('0x2e'),'',_0x45d4('0x21'));let _0x20c8c9=_0x21616e[_0x45d4('0x31')],_0x52b3fc=_0x21616e[_0x45d4('0x3c')];const _0x550adb=_0x2599f1[_0x45d4('0x7')][_0x45d4('0x47')][_0x45d4('0x48')](_0x20c8c9,_0x45d4('0xe')),_0x2ea97c=_0x2599f1[_0x45d4('0x7')][_0x45d4('0x47')][_0x45d4('0x48')](_0x52b3fc,_0x45d4('0x6c'));_0x550adb['isCollapsed']&&(_0x20c8c9=_0x550adb[_0x45d4('0x31')]),_0x2ea97c[_0x45d4('0x4d')]&&(_0x52b3fc=_0x2ea97c[_0x45d4('0x3c')]),_0x53cffc([_0x2599f1['model']['createRange'](_0x20c8c9,_0x52b3fc)]);}),_0x4dcd0e[_0x45d4('0x55')]['registerCustomCallback'](_0x45d4('0x35'),_0x45d4('0x4b'),_0x45d4('0x9'),_0x235fb7),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')]('insertion','convertInlineImageToBlock',_0x45d4('0x9'),_0x235fb7)),_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x44')](_0x45d4('0x42'))&&(_0x4dcd0e[_0x45d4('0x33')](_0x45d4('0x72'),(_0x594cbc,_0x9d097e)=>{const _0x2bcdc3=_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x6e')](_0x45d4('0x5'));let _0x1fadba=_0x5e1dce['getClosestSelectedImageElement'](_0x2599f1['model'][_0x45d4('0x7a')][_0x45d4('0x69')]),_0x14f00e=_0x2bcdc3[_0x45d4('0x63')](_0x1fadba);_0x2599f1['model'][_0x45d4('0x2d')](()=>{if(_0x14f00e)return void _0x4dcd0e[_0x45d4('0xb')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x6b')](_0x14f00e));const _0x2b73f4=_0x5e1dce[_0x45d4('0xf')](_0x1fadba);_0x594cbc(_0x9d097e),_0x1fadba=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')]['document'][_0x45d4('0x69')]),_0x14f00e=_0x2bcdc3[_0x45d4('0x63')](_0x1fadba),_0x4dcd0e[_0x45d4('0x56')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x6b')](_0x14f00e),_0x2b73f4?null:'imageCaption');});}),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x2e'),_0x45d4('0x65'),_0x45d4('0x9'),_0x235fb7)),_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x44')](_0x45d4('0x5e'))){_0x4dcd0e[_0x45d4('0x33')](_0x45d4('0x3'),(_0x2bd6a8,_0x408b95)=>{const _0x535003=_0x2599f1[_0x45d4('0x5f')][_0x45d4('0x6e')](_0x45d4('0x4a'))['me'],_0x4ecfa8=_0x2599f1[_0x45d4('0x24')][_0x45d4('0x6e')](_0x45d4('0x3'));let _0x43527a=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x69')]),_0x5ae109=_0x2599f1[_0x45d4('0x7')][_0x45d4('0x6b')](_0x43527a),_0x552ec2=_0x4ecfa8[_0x45d4('0x25')];if(_0x552ec2==_0x408b95[_0x45d4('0x25')])return;const _0x353ac3={'commandName':'imageStyle','commandParams':[_0x408b95],'formatGroupId':_0xf30e0d()};_0x2599f1[_0x45d4('0x7')][_0x45d4('0x2d')](()=>{if(_0x4dcd0e[_0x45d4('0x78')]()[_0x45d4('0x3e')](_0x3346c3=>_0x3346c3[_0x45d4('0x4c')]&&_0x535003==_0x3346c3[_0x45d4('0x71')]&&(_0x45d4('0x35')==_0x3346c3[_0x45d4('0x3f')]||_0x45d4('0x52')==_0x3346c3[_0x45d4('0x3f')])&&(_0x45d4('0x1c')==_0x3346c3[_0x45d4('0x70')]||_0x45d4('0x75')==_0x3346c3[_0x45d4('0x70')])&&_0x3346c3[_0x45d4('0x61')]()[_0x45d4('0x18')](_0x5ae109))[_0x45d4('0x20')](_0x1b0ac8=>_0x4dcd0e[_0x45d4('0x4f')](_0x1b0ac8['head'])),_0x43527a=_0x5e1dce['getClosestSelectedImageElement'](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x69')]),_0x5ae109=_0x2599f1[_0x45d4('0x7')][_0x45d4('0x6b')](_0x43527a),_0x4ecfa8[_0x45d4('0x8')](),_0x2599f1['commands'][_0x45d4('0x6e')](_0x45d4('0x0'))[_0x45d4('0x8')](),_0x2599f1[_0x45d4('0x24')][_0x45d4('0x6e')](_0x45d4('0x5b'))['refresh'](),_0x552ec2=_0x4ecfa8[_0x45d4('0x25')],_0x552ec2!=_0x408b95[_0x45d4('0x25')])return _0x5e1dce[_0x45d4('0x2a')](_0x43527a)&&_0x4ecfa8[_0x45d4('0x50')](_0x408b95[_0x45d4('0x25')],_0x43527a)?(_0x2bd6a8({..._0x408b95,'setImageSizes':!0x1}),_0x43527a=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')]['document'][_0x45d4('0x69')]),void _0x4dcd0e['markBlockFormat'](_0x43527a,{..._0x353ac3,'commandReversedParams':[{'value':_0x552ec2||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x5e1dce[_0x45d4('0xf')](_0x43527a)?_0x4dcd0e[_0x45d4('0x79')](_0x43527a,_0x353ac3,[],_0x45d4('0x75')):_0x4dcd0e[_0x45d4('0x67')](_0x5ae109,_0x353ac3,_0x45d4('0x75')));});});for(const _0x2b7c05 of _0x2599f1[_0x45d4('0x5f')][_0x45d4('0x6e')](_0x45d4('0x5e'))[_0x45d4('0x64')])_0x2bca06[_0x2b7c05[_0x45d4('0x73')]]=_0x2b7c05[_0x45d4('0x77')][_0x45d4('0x19')]();_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x35'),_0x45d4('0x1c'),'join',()=>!0x1),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x35'),_0x45d4('0x75'),_0x45d4('0x58'),()=>!0x1),_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x22')](_0x45d4('0x52'),'imageStylePostApply',_0x45d4('0x58'),()=>!0x1),_0x4dcd0e['_suggestionFactory'][_0x45d4('0x22')](_0x45d4('0x35'),_0x45d4('0x1c'),_0x45d4('0x12'),([_0x45ef58])=>{_0x5e1dce[_0x45d4('0x14')](_0x45ef58[_0x45d4('0x1a')]());}),_0x4dcd0e[_0x45d4('0x55')]['registerCustomCallback'](_0x45d4('0x35'),_0x45d4('0x1c'),_0x45d4('0x21'),(_0x443e03,_0x18160d)=>{_0x4dcd0e[_0x45d4('0x55')][_0x45d4('0x30')](_0x45d4('0x35'),'',_0x45d4('0x12'))(_0x443e03,{'commandName':_0x18160d[_0x45d4('0x3a')],'commandParams':_0x18160d['commandReversedParams']});}),_0x4dcd0e[_0x45d4('0x55')]['registerCustomCallback'](_0x45d4('0x35'),_0x45d4('0x1c'),_0x45d4('0x9'),_0x235fb7);}const _0x41f944=[{'type':_0x45d4('0x35'),'subType':_0x45d4('0x1c')},{'type':_0x45d4('0x2e'),'subType':'imageCaption'},{'type':_0x45d4('0x35'),'subType':_0x45d4('0x4b')},{'type':_0x45d4('0x2e'),'subType':'convertInlineImageToBlock'}];function _0x52037b(_0x5d0e48,_0x591b76){const _0x37b416=_0x41f944[_0x45d4('0x2')](({type:_0x22e691,subType:_0x1d3df7})=>_0x5d0e48[_0x45d4('0x3f')]==_0x22e691&&_0x5d0e48['subType']==_0x1d3df7),_0x2cf1c2=_0x41f944['findIndex'](({type:_0x451b73,subType:_0xb22645})=>_0x591b76['type']==_0x451b73&&_0x591b76['subType']==_0xb22645);if(_0x37b416<0x0||_0x2cf1c2<0x0)return!0x1;const _0x1760db=_0x5d0e48[_0x45d4('0x61')](),_0x1f7357=_0x591b76[_0x45d4('0x61')]();if((0x0==_0x37b416||0x1==_0x37b416)&&0x2==_0x2cf1c2&&_0x1760db[_0x45d4('0x49')](_0x1f7357))return!0x0;if(0x2==_0x37b416&&0x3==_0x2cf1c2){const _0x230024=_0x4dcd0e[_0x45d4('0x3b')](_0x1760db,_0x45d4('0x2e'))[_0x45d4('0x3e')](({suggestion:_0x475fe1,meta:_0x3044dc})=>_0x3044dc['isOwn']&&'convertInlineImageToBlock'==_0x475fe1['subType']);if(_0x230024[_0x45d4('0x68')]>0x1&&_0x1f7357[_0x45d4('0x3c')][_0x45d4('0x18')](_0x1760db[_0x45d4('0x31')]))return!0x0;if(0x1==_0x230024['length']&&(_0x1760db[_0x45d4('0x31')][_0x45d4('0x18')](_0x1f7357[_0x45d4('0x3c')])||_0x1760db[_0x45d4('0x3c')][_0x45d4('0x18')](_0x1f7357[_0x45d4('0x31')])))return!0x0;}if(0x3==_0x37b416&&0x3==_0x2cf1c2&&_0x1760db['start']['isBefore'](_0x1f7357[_0x45d4('0x31')])){const _0x5a2f8d=_0x1760db[_0x45d4('0x3c')]['nodeAfter'],_0x422ad9=_0x1f7357[_0x45d4('0x31')][_0x45d4('0x2b')];return _0x5e1dce[_0x45d4('0xf')](_0x5a2f8d)&&_0x5a2f8d===_0x422ad9;}return!0x1;}function _0x235fb7(_0x27092a,_0x5a0959){return _0x52037b(_0x27092a,_0x5a0959)?[_0x27092a,_0x5a0959]:_0x52037b(_0x5a0959,_0x27092a)?[_0x5a0959,_0x27092a]:null;}_0x2599f1['model'][_0x45d4('0x7a')][_0x45d4('0x2f')](()=>{let _0x112fac=!0x1;const _0x23e79d=Array[_0x45d4('0x66')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x34')][_0x45d4('0xc')]());for(const {name:_0x74f593,data:_0x2d8c70}of _0x23e79d){const {group:_0x1c7a1d,type:_0x3e339c,subType:_0x1b2683,id:_0x2bdb3e}=_0x4dcd0e['_splitMarkerName'](_0x74f593);if(_0x45d4('0x32')==_0x1c7a1d&&_0x4dcd0e['hasSuggestion'](_0x2bdb3e)){if('formatBlock'==_0x3e339c&&(_0x45d4('0x1c')==_0x1b2683||_0x45d4('0x75')==_0x1b2683)){const _0x3657b0=_0x4dcd0e[_0x45d4('0x7b')](_0x2bdb3e);if(_0x2d8c70[_0x45d4('0xd')]){const _0x2838a6=_0x3657b0[_0x45d4('0x61')]()[_0x45d4('0x1a')]();if(_0x5e1dce[_0x45d4('0xf')](_0x2838a6))continue;_0x4dcd0e[_0x45d4('0x4f')](_0x3657b0),_0x112fac=!0x0;}}if(_0x45d4('0x2e')==_0x3e339c&&'imageCaption'==_0x1b2683&&!_0x2d8c70['newRange']){const _0x397dae=_0x4dcd0e['getSuggestion'](_0x2bdb3e);_0x397dae[_0x45d4('0x6d')]&&_0x397dae[_0x45d4('0x6d')][_0x45d4('0x4c')]&&(_0x4dcd0e[_0x45d4('0x4f')](_0x397dae[_0x45d4('0x6d')]),_0x112fac=!0x0);}}}return _0x112fac;}),_0x2599f1['plugins'][_0x45d4('0x44')]('ImageResize')&&_0x4dcd0e[_0x45d4('0x33')]('resizeImage',(_0x4993c1,_0x1195ca)=>{const _0x4ab3b7=_0x5e1dce['getClosestSelectedImageElement'](_0x2599f1['model']['document'][_0x45d4('0x69')]);_0x4ab3b7[_0x45d4('0x43')](_0x45d4('0x5d'))!=_0x1195ca[_0x45d4('0x40')]&&_0x2599f1[_0x45d4('0x7')][_0x45d4('0x2d')](()=>{_0x4dcd0e[_0x45d4('0x79')](_0x4ab3b7,{'commandName':_0x45d4('0x6f'),'commandParams':[_0x1195ca]});});}),_0x2599f1['plugins'][_0x45d4('0x44')]('ImageTextAlternativeEditing')&&_0x4dcd0e[_0x45d4('0x33')]('imageTextAlternative',(_0x11a320,_0x4e6fd3)=>{const _0xfa8553=_0x5e1dce[_0x45d4('0x15')](_0x2599f1[_0x45d4('0x7')][_0x45d4('0x7a')][_0x45d4('0x69')]);(_0xfa8553[_0x45d4('0x2c')](_0x45d4('0x4e'))?_0xfa8553['getAttribute'](_0x45d4('0x4e')):'')!=_0x4e6fd3[_0x45d4('0x74')]&&_0x2599f1[_0x45d4('0x7')][_0x45d4('0x2d')](()=>{_0x4dcd0e['markBlockFormat'](_0xfa8553,{'commandName':_0x45d4('0x41'),'commandParams':[_0x4e6fd3]});});}),_0x4dcd0e[_0x45d4('0x37')][_0x45d4('0x23')](_0x167a6b=>{if(!!_0x41f944[_0x45d4('0x46')](({type:_0x1b3eab,subType:_0x299304})=>_0x167a6b[_0x45d4('0x3f')]==_0x1b3eab&&_0x167a6b[_0x45d4('0x70')]==_0x299304))return _0x167a6b[_0x45d4('0x5c')]?{}:void 0x0;}),_0x4dcd0e[_0x45d4('0x37')][_0x45d4('0x23')](_0x992e42=>{if(_0x45d4('0x2e')==_0x992e42[_0x45d4('0x3f')]||_0x45d4('0x62')==_0x992e42[_0x45d4('0x3f')]){const _0x29e54e=_0x992e42['getContainedElement']();if(_0x29e54e&&_0x29e54e['is'](_0x45d4('0x57'),'caption'))return{'type':_0x45d4('0x2e')==_0x992e42['type']?'addObject':'removeObject','element':_0x29e54e,'quantity':0x1};}}),_0x4dcd0e[_0x45d4('0x37')]['registerDescriptionCallback'](_0x100e9a=>_0x45d4('0x35')==_0x100e9a[_0x45d4('0x3f')]&&'convertInlineImageToBlock'==_0x100e9a[_0x45d4('0x70')]?{'type':_0x45d4('0xa'),'content':_0x45d4('0x6a')}:_0x45d4('0x35')==_0x100e9a[_0x45d4('0x3f')]&&'convertBlockImageToInline'==_0x100e9a[_0x45d4('0x70')]?{'type':_0x45d4('0xa'),'content':_0x45d4('0x5a')}:void 0x0),_0x4dcd0e['_descriptionFactory']['registerDescriptionCallback'](_0x1ec0d7=>{const {data:_0x34c549}=_0x1ec0d7;if(_0x34c549){if(_0x45d4('0x3')==_0x34c549['commandName']){const _0x596b3f=_0x34c549['commandParams'][0x0][_0x45d4('0x25')];return _0x10a36b(_0x45d4('0x1f')===_0x596b3f?_0x78bae3(_0x54be33,_0x45d4('0x45')):_0x2bca06[_0x596b3f]||_0x596b3f);}if(_0x45d4('0x41')==_0x34c549[_0x45d4('0x3a')]){const _0xe66284=_0x34c549['commandParams'][0x0][_0x45d4('0x74')];return _0xe66284?{'type':'format','content':_0x78bae3(_0x54be33,_0x45d4('0x11'),'\x22'+_0xe66284+'\x22')}:{'type':'format','content':_0x78bae3(_0x54be33,_0x45d4('0x13'))};}if('resizeImage'==_0x34c549['commandName']){const _0x470964=_0x34c549['commandParams'][0x0]['width'];return _0x470964?{'type':_0x45d4('0xa'),'content':_0x78bae3(_0x54be33,'*Set\x20image\x20width:*\x20%0',_0x470964)}:{'type':_0x45d4('0xa'),'content':_0x78bae3(_0x54be33,_0x45d4('0x1d'))};}}function _0x10a36b(_0x30ba58){return{'type':'format','content':_0x78bae3(_0x54be33,_0x45d4('0x17'),_0x30ba58)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1280=['document','author','TrackChangesEditing','markBlockFormat','registerDescriptionCallback','handleReplaceImageCommand','getContainedElement','source','data','formatBlock','commandName','model','_descriptionFactory','accept','replaceImageSource','_suggestionFactory','editor','discard','format','enableCommand','get','getSuggestions','registerCustomCallback','getSelectedElement','locale','ImageEditing','*Format:*\x20replace\x20image\x20URL','getSuggestionCallback','afterInit','change','getAttribute','plugins','commandParams','Users'];(function(_0x55202e,_0x1280d4){const _0x50f7a1=function(_0xdb068c){while(--_0xdb068c){_0x55202e['push'](_0x55202e['shift']());}};_0x50f7a1(++_0x1280d4);}(_0x1280,0x1c9));const _0x50f7=function(_0x55202e,_0x1280d4){_0x55202e=_0x55202e-0x0;let _0x50f7a1=_0x1280[_0x55202e];return _0x50f7a1;};import{Plugin as _0x3588a3}from'ckeditor5/src/core';import{getTranslation as _0x4d6916}from'../utils/common-translations';export default class Z extends _0x3588a3{[_0x50f7('0xd')](){if(!this[_0x50f7('0x1')]['plugins']['has'](_0x50f7('0xa')))return;const _0x22d953=this[_0x50f7('0x1')][_0x50f7('0x10')][_0x50f7('0x5')]('TrackChangesEditing');_0x22d953[_0x50f7('0x4')](_0x50f7('0x21'),(_0x59c623,_0x515066)=>this[_0x50f7('0x18')](_0x59c623,_0x515066)),_0x22d953[_0x50f7('0x0')][_0x50f7('0x7')](_0x50f7('0x1c'),_0x50f7('0x21'),_0x50f7('0x20'),_0x22d953[_0x50f7('0x0')][_0x50f7('0xc')]('formatBlock',null,_0x50f7('0x2'))),_0x22d953[_0x50f7('0x0')][_0x50f7('0x7')](_0x50f7('0x1c'),_0x50f7('0x21'),_0x50f7('0x2'),_0x22d953[_0x50f7('0x0')][_0x50f7('0xc')]('formatBlock',null,'accept')),_0x22d953[_0x50f7('0x1f')][_0x50f7('0x17')](_0x590aa3=>this['handleSuggestionDescription'](_0x590aa3));}[_0x50f7('0x18')](_0x2f04bf,_0x380d8f){const _0x341888=this[_0x50f7('0x1')][_0x50f7('0x10')][_0x50f7('0x5')](_0x50f7('0x15')),_0x92b77a=this[_0x50f7('0x1')][_0x50f7('0x1e')][_0x50f7('0x13')]['selection'][_0x50f7('0x8')]();this[_0x50f7('0x1')]['model'][_0x50f7('0xe')](()=>{let _0x56bdd7=_0x92b77a[_0x50f7('0xf')]('src');const _0x28a28e=this['editor'][_0x50f7('0x10')][_0x50f7('0x5')](_0x50f7('0x12'))['me'];for(const _0x34665f of _0x341888[_0x50f7('0x6')]({'skipNotAttached':!0x0})){const _0x1ea9ca=_0x34665f[_0x50f7('0x19')]();if(_0x50f7('0x21')===_0x34665f['subType']&&_0x1ea9ca===_0x92b77a){_0x34665f[_0x50f7('0x14')]!==_0x28a28e&&_0x34665f[_0x50f7('0x2')](),_0x56bdd7=_0x34665f[_0x50f7('0x1b')][_0x50f7('0x11')][0x0][_0x50f7('0x1a')];break;}}_0x2f04bf(_0x380d8f),_0x341888[_0x50f7('0x16')](_0x92b77a,{'commandName':'replaceImageSource','commandParams':[{'source':_0x56bdd7}]},[],_0x50f7('0x21'));});}['handleSuggestionDescription'](_0x110e61){const {data:_0x499b38}=_0x110e61;if(_0x499b38&&_0x50f7('0x21')===_0x499b38[_0x50f7('0x1d')]){const _0x336285=_0x50f7('0xb');return{'type':_0x50f7('0x3'),'content':_0x4d6916(this['editor'][_0x50f7('0x9')],_0x336285)};}}}
23
+ const _0x175b=['accept','subType','getContainedElement','has','registerCustomCallback','editor','author','registerDescriptionCallback','getAttribute','TrackChangesEditing','handleSuggestionDescription','getSuggestionCallback','document','handleReplaceImageCommand','discard','getSuggestions','formatBlock','afterInit','get','commandName','data','replaceImageSource','_suggestionFactory','ImageEditing','markBlockFormat','getSelectedElement','plugins','change','Users'];(function(_0x54a25f,_0x175beb){const _0x1c6061=function(_0x5058e8){while(--_0x5058e8){_0x54a25f['push'](_0x54a25f['shift']());}};_0x1c6061(++_0x175beb);}(_0x175b,0x1c7));const _0x1c60=function(_0x54a25f,_0x175beb){_0x54a25f=_0x54a25f-0x0;let _0x1c6061=_0x175b[_0x54a25f];return _0x1c6061;};import{Plugin as _0x44dcd6}from'ckeditor5/src/core';import{getTranslation as _0xd9020e}from'../utils/common-translations';export default class Z extends _0x44dcd6{[_0x1c60('0x1a')](){if(!this[_0x1c60('0xe')]['plugins'][_0x1c60('0xc')](_0x1c60('0x3')))return;const _0x5b36ef=this[_0x1c60('0xe')][_0x1c60('0x6')][_0x1c60('0x1b')](_0x1c60('0x12'));_0x5b36ef['enableCommand']('replaceImageSource',(_0x45d499,_0x21a7e3)=>this[_0x1c60('0x16')](_0x45d499,_0x21a7e3)),_0x5b36ef[_0x1c60('0x2')][_0x1c60('0xd')](_0x1c60('0x19'),_0x1c60('0x1'),_0x1c60('0x9'),_0x5b36ef[_0x1c60('0x2')][_0x1c60('0x14')](_0x1c60('0x19'),null,'discard')),_0x5b36ef[_0x1c60('0x2')]['registerCustomCallback'](_0x1c60('0x19'),_0x1c60('0x1'),_0x1c60('0x17'),_0x5b36ef['_suggestionFactory'][_0x1c60('0x14')](_0x1c60('0x19'),null,'accept')),_0x5b36ef['_descriptionFactory'][_0x1c60('0x10')](_0x4af631=>this[_0x1c60('0x13')](_0x4af631));}[_0x1c60('0x16')](_0x458601,_0x5ca166){const _0x3efc81=this[_0x1c60('0xe')][_0x1c60('0x6')][_0x1c60('0x1b')]('TrackChangesEditing'),_0x177987=this[_0x1c60('0xe')]['model'][_0x1c60('0x15')]['selection'][_0x1c60('0x5')]();this[_0x1c60('0xe')]['model'][_0x1c60('0x7')](()=>{let _0x206d35=_0x177987[_0x1c60('0x11')]('src');const _0x26db28=this[_0x1c60('0xe')][_0x1c60('0x6')][_0x1c60('0x1b')](_0x1c60('0x8'))['me'];for(const _0x2ca0de of _0x3efc81[_0x1c60('0x18')]({'skipNotAttached':!0x0})){const _0x49249e=_0x2ca0de[_0x1c60('0xb')]();if('replaceImageSource'===_0x2ca0de[_0x1c60('0xa')]&&_0x49249e===_0x177987){_0x2ca0de[_0x1c60('0xf')]!==_0x26db28&&_0x2ca0de[_0x1c60('0x17')](),_0x206d35=_0x2ca0de[_0x1c60('0x0')]['commandParams'][0x0]['source'];break;}}_0x458601(_0x5ca166),_0x3efc81[_0x1c60('0x4')](_0x177987,{'commandName':_0x1c60('0x1'),'commandParams':[{'source':_0x206d35}]},[],_0x1c60('0x1'));});}[_0x1c60('0x13')](_0x533bb0){const {data:_0x55732e}=_0x533bb0;if(_0x55732e&&'replaceImageSource'===_0x55732e[_0x1c60('0x1c')]){const _0x25c37e='*Format:*\x20replace\x20image\x20URL';return{'type':'format','content':_0xd9020e(this['editor']['locale'],_0x25c37e)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4359=['afterInit','_trackChangesValueDuringImport','trackChanges','listenTo','bind','collaboration_features','enableCommand','importWord','forEach','execute','get','high','commands','lowest','plugins','_trackChangesExecuted','track_changes','dataInsert','_handleImportedData','value','editor'];(function(_0x2ee8ac,_0x435915){const _0x19639e=function(_0x1402f1){while(--_0x1402f1){_0x2ee8ac['push'](_0x2ee8ac['shift']());}};_0x19639e(++_0x435915);}(_0x4359,0x129));const _0x1963=function(_0x2ee8ac,_0x435915){_0x2ee8ac=_0x2ee8ac-0x0;let _0x19639e=_0x4359[_0x2ee8ac];return _0x19639e;};import{Plugin as _0x2dbacf}from'ckeditor5/src/core';export default class tt extends _0x2dbacf{constructor(_0x5092fe){super(_0x5092fe),this[_0x1963('0x13')]=!0x1,this[_0x1963('0xc')]=!0x1;}[_0x1963('0x12')](){const _0x25c0a2=this[_0x1963('0x11')],_0x5d0368=_0x25c0a2[_0x1963('0x9')][_0x1963('0x7')](_0x1963('0x4')),_0x505070=_0x25c0a2[_0x1963('0x9')][_0x1963('0x7')](_0x1963('0x14'));_0x5d0368&&(_0x5d0368['on'](_0x1963('0x6'),(_0xd6e6a7,[,_0x163e48])=>{this[_0x1963('0x13')]=_0x505070['value'],_0x163e48[_0x1963('0x2')][_0x1963('0xd')]=!this[_0x1963('0x13')];},{'priority':_0x1963('0x8')}),this[_0x1963('0x0')](_0x5d0368,_0x1963('0xe'),this[_0x1963('0xf')][_0x1963('0x1')](this)),this[_0x1963('0x0')](_0x5d0368,_0x1963('0xe'),()=>{this[_0x1963('0xc')]&&(_0x505070[_0x1963('0x6')](),this[_0x1963('0xc')]=!0x1);},{'priority':_0x1963('0xa')}),_0x25c0a2[_0x1963('0xb')][_0x1963('0x7')]('TrackChangesEditing')[_0x1963('0x3')](_0x1963('0x4')));}['_handleImportedData'](_0x518ddf,_0x4d2f6d){const {suggestions:_0x57aa50}=_0x4d2f6d,_0x5df14b=this['editor']['commands']['get'](_0x1963('0x14')),_0x3b6625=_0x5df14b[_0x1963('0x10')];this[_0x1963('0x13')]!==_0x3b6625&&(_0x5df14b['execute'](),this['_trackChangesExecuted']=!0x0),_0x57aa50&&_0x57aa50[_0x1963('0x5')](({id:_0x4ce487,type:_0x1790f2,author:_0x545b8f,created_at:_0x25b5ad})=>{const _0x2ea142={'id':_0x4ce487,'type':_0x1790f2,'authorId':this[_0x1963('0x11')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x545b8f,'createdAt':_0x25b5ad?new Date(_0x25b5ad):new Date(),'source':'importWord'}}};this[_0x1963('0x11')][_0x1963('0xb')][_0x1963('0x7')]('TrackChangesEditing')['_setSuggestionData'](_0x2ea142);});}}
23
+ const _0x713c=['track_changes','value','TrackChangesEditing','importWord','_trackChangesExecuted','lowest','trackChanges','afterInit','plugins','Users','_handleImportedData','commands','execute','forEach','_trackChangesValueDuringImport','dataInsert','collaboration_features','editor','enableCommand','get'];(function(_0x4fec90,_0x713c20){const _0x4b3f5f=function(_0x1142de){while(--_0x1142de){_0x4fec90['push'](_0x4fec90['shift']());}};_0x4b3f5f(++_0x713c20);}(_0x713c,0x1b4));const _0x4b3f=function(_0x4fec90,_0x713c20){_0x4fec90=_0x4fec90-0x0;let _0x4b3f5f=_0x713c[_0x4fec90];return _0x4b3f5f;};import{Plugin as _0x2f9b65}from'ckeditor5/src/core';export default class tt extends _0x2f9b65{constructor(_0x506526){super(_0x506526),this[_0x4b3f('0x12')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4b3f('0xb')](){const _0x50fa85=this['editor'],_0x4b0979=_0x50fa85[_0x4b3f('0xf')][_0x4b3f('0x3')]('importWord'),_0x247810=_0x50fa85[_0x4b3f('0xf')][_0x4b3f('0x3')](_0x4b3f('0xa'));_0x4b0979&&(_0x4b0979['on']('execute',(_0x36907c,[,_0x52574f])=>{this[_0x4b3f('0x12')]=_0x247810[_0x4b3f('0x5')],_0x52574f[_0x4b3f('0x0')][_0x4b3f('0x4')]=!this[_0x4b3f('0x12')];},{'priority':'high'}),this['listenTo'](_0x4b0979,_0x4b3f('0x13'),this[_0x4b3f('0xe')]['bind'](this)),this['listenTo'](_0x4b0979,_0x4b3f('0x13'),()=>{this[_0x4b3f('0x8')]&&(_0x247810[_0x4b3f('0x10')](),this[_0x4b3f('0x8')]=!0x1);},{'priority':_0x4b3f('0x9')}),_0x50fa85[_0x4b3f('0xc')][_0x4b3f('0x3')](_0x4b3f('0x6'))[_0x4b3f('0x2')](_0x4b3f('0x7')));}['_handleImportedData'](_0xe35c40,_0x330fdd){const {suggestions:_0x36ae8c}=_0x330fdd,_0x5a229a=this[_0x4b3f('0x1')][_0x4b3f('0xf')][_0x4b3f('0x3')]('trackChanges'),_0x17752f=_0x5a229a['value'];this['_trackChangesValueDuringImport']!==_0x17752f&&(_0x5a229a[_0x4b3f('0x10')](),this[_0x4b3f('0x8')]=!0x0),_0x36ae8c&&_0x36ae8c[_0x4b3f('0x11')](({id:_0x4fc0dd,type:_0x444e22,author:_0x48ff38,created_at:_0x4f4493})=>{const _0x13795e={'id':_0x4fc0dd,'type':_0x444e22,'authorId':this['editor'][_0x4b3f('0xc')]['get'](_0x4b3f('0xd'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x48ff38,'createdAt':_0x4f4493?new Date(_0x4f4493):new Date(),'source':'importWord'}}};this[_0x4b3f('0x1')][_0x4b3f('0xc')][_0x4b3f('0x3')]('TrackChangesEditing')['_setSuggestionData'](_0x13795e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa1a0=['schema','checkAttribute','locale','*Outdent:*\x20%0','enableCommand','_descriptionFactory','getItems','selection','document','markBlockFormat','indent','commandName','*Indent:*\x20%0','from','editor','TrackChangesEditing','blockIndent','afterInit','indentBlock','IndentBlock','outdentBlock','getSelectedBlocks','outdent','model','has','format','plugins'];(function(_0x5b380b,_0xa1a0f8){const _0x1defcf=function(_0x16a674){while(--_0x16a674){_0x5b380b['push'](_0x5b380b['shift']());}};_0x1defcf(++_0xa1a0f8);}(_0xa1a0,0x1e3));const _0x1def=function(_0x5b380b,_0xa1a0f8){_0x5b380b=_0x5b380b-0x0;let _0x1defcf=_0xa1a0[_0x5b380b];return _0x1defcf;};import{Plugin as _0x1f9523}from'ckeditor5/src/core';import{getTranslation as _0x448eaf}from'../utils/common-translations';export default class it extends _0x1f9523{[_0x1def('0x14')](){const _0xf6ca0e=this[_0x1def('0x11')],_0x2f2e5b=_0xf6ca0e[_0x1def('0x2')]['get'](_0x1def('0x12'));_0xf6ca0e[_0x1def('0x2')][_0x1def('0x0')]('IndentEditing')&&(_0x2f2e5b[_0x1def('0x7')](_0x1def('0xd')),_0x2f2e5b[_0x1def('0x7')](_0x1def('0x19')));const _0x1e05d9=_0xf6ca0e[_0x1def('0x5')];if(_0xf6ca0e['plugins'][_0x1def('0x0')](_0x1def('0x16'))){for(const _0x387013 of['indentBlock',_0x1def('0x17')])_0x2f2e5b['enableCommand'](_0x387013,()=>{const _0x290819=Array[_0x1def('0x10')](this[_0x1def('0x11')][_0x1def('0x1a')][_0x1def('0xb')][_0x1def('0xa')][_0x1def('0x18')]())['filter'](_0x5eeebc=>this[_0x1def('0x11')][_0x1def('0x1a')][_0x1def('0x3')][_0x1def('0x4')](_0x5eeebc,_0x1def('0x13')));_0xf6ca0e['model']['change'](()=>{for(const _0x8b484 of _0x290819)_0x2f2e5b[_0x1def('0xc')](_0x8b484,{'commandName':_0x387013,'commandParams':[{'value':''}],'formatGroupId':_0x1def('0x15')});});});_0x2f2e5b[_0x1def('0x8')]['registerDescriptionCallback'](_0x16da35=>{const {data:_0x4791a6}=_0x16da35;if(!_0x4791a6)return;if(_0x1def('0x15')!=_0x4791a6['commandName']&&_0x1def('0x17')!=_0x4791a6[_0x1def('0xe')])return;const _0x41864b=_0x16da35[_0x1def('0x9')]()[0x0],_0x318017=_0x2f2e5b[_0x1def('0x8')]['getItemLabel'](_0x41864b);return _0x1def('0x15')==_0x4791a6[_0x1def('0xe')]?{'type':_0x1def('0x1'),'content':_0x448eaf(_0x1e05d9,_0x1def('0xf'),_0x318017)}:_0x1def('0x17')==_0x4791a6[_0x1def('0xe')]?{'type':'format','content':_0x448eaf(_0x1e05d9,_0x1def('0x6'),_0x318017)}:void 0x0;});}}}
23
+ const _0x4601=['checkAttribute','getItemLabel','TrackChangesEditing','outdent','has','schema','outdentBlock','format','IndentEditing','selection','indentBlock','from','enableCommand','model','plugins','registerDescriptionCallback','*Indent:*\x20%0','getItems','blockIndent','commandName','change','editor','markBlockFormat','document','indent'];(function(_0x521c86,_0x46015f){const _0x33db0c=function(_0x254ea9){while(--_0x254ea9){_0x521c86['push'](_0x521c86['shift']());}};_0x33db0c(++_0x46015f);}(_0x4601,0x1bd));const _0x33db=function(_0x521c86,_0x46015f){_0x521c86=_0x521c86-0x0;let _0x33db0c=_0x4601[_0x521c86];return _0x33db0c;};import{Plugin as _0x1916c4}from'ckeditor5/src/core';import{getTranslation as _0x333334}from'../utils/common-translations';export default class it extends _0x1916c4{['afterInit'](){const _0x15c406=this['editor'],_0x18293c=_0x15c406['plugins']['get'](_0x33db('0x7'));_0x15c406[_0x33db('0x13')][_0x33db('0x9')](_0x33db('0xd'))&&(_0x18293c[_0x33db('0x11')](_0x33db('0x4')),_0x18293c[_0x33db('0x11')](_0x33db('0x8')));const _0x532a08=_0x15c406['locale'];if(_0x15c406[_0x33db('0x13')][_0x33db('0x9')]('IndentBlock')){for(const _0x55f3ea of[_0x33db('0xf'),_0x33db('0xb')])_0x18293c[_0x33db('0x11')](_0x55f3ea,()=>{const _0x27a582=Array[_0x33db('0x10')](this[_0x33db('0x1')][_0x33db('0x12')][_0x33db('0x3')][_0x33db('0xe')]['getSelectedBlocks']())['filter'](_0x301760=>this[_0x33db('0x1')]['model'][_0x33db('0xa')][_0x33db('0x5')](_0x301760,_0x33db('0x17')));_0x15c406[_0x33db('0x12')][_0x33db('0x0')](()=>{for(const _0x452572 of _0x27a582)_0x18293c[_0x33db('0x2')](_0x452572,{'commandName':_0x55f3ea,'commandParams':[{'value':''}],'formatGroupId':_0x33db('0xf')});});});_0x18293c['_descriptionFactory'][_0x33db('0x14')](_0x62fb49=>{const {data:_0x20f1f6}=_0x62fb49;if(!_0x20f1f6)return;if(_0x33db('0xf')!=_0x20f1f6[_0x33db('0x18')]&&_0x33db('0xb')!=_0x20f1f6['commandName'])return;const _0x794d4=_0x62fb49[_0x33db('0x16')]()[0x0],_0x297b5f=_0x18293c['_descriptionFactory'][_0x33db('0x6')](_0x794d4);return _0x33db('0xf')==_0x20f1f6[_0x33db('0x18')]?{'type':_0x33db('0xc'),'content':_0x333334(_0x532a08,_0x33db('0x15'),_0x297b5f)}:_0x33db('0xb')==_0x20f1f6[_0x33db('0x18')]?{'type':'format','content':_0x333334(_0x532a08,'*Outdent:*\x20%0',_0x297b5f)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3815=['requires','input','editor','enableCommand','TrackChangesEditing','plugins'];(function(_0x53fa80,_0x381596){var _0x3bbf1f=function(_0x2772ba){while(--_0x2772ba){_0x53fa80['push'](_0x53fa80['shift']());}};_0x3bbf1f(++_0x381596);}(_0x3815,0x1c5));var _0x3bbf=function(_0x53fa80,_0x381596){_0x53fa80=_0x53fa80-0x0;var _0x3bbf1f=_0x3815[_0x53fa80];return _0x3bbf1f;};import{Plugin as _0x57dfd2}from'ckeditor5/src/core';import{Input as _0x593aa3}from'ckeditor5/src/typing';export default class et extends _0x57dfd2{static get[_0x3bbf('0x3')](){return[_0x593aa3];}['init'](){this[_0x3bbf('0x5')][_0x3bbf('0x2')]['get'](_0x3bbf('0x1'))[_0x3bbf('0x0')](_0x3bbf('0x4'));}}
23
+ var _0x263c=['requires','editor','get','enableCommand','TrackChangesEditing','init'];(function(_0x40616e,_0x263cf2){var _0x102100=function(_0x4591ef){while(--_0x4591ef){_0x40616e['push'](_0x40616e['shift']());}};_0x102100(++_0x263cf2);}(_0x263c,0x172));var _0x1021=function(_0x40616e,_0x263cf2){_0x40616e=_0x40616e-0x0;var _0x102100=_0x263c[_0x40616e];return _0x102100;};import{Plugin as _0x19a6fd}from'ckeditor5/src/core';import{Input as _0xe83313}from'ckeditor5/src/typing';export default class et extends _0x19a6fd{static get[_0x1021('0x2')](){return[_0xe83313];}[_0x1021('0x1')](){this[_0x1021('0x3')]['plugins'][_0x1021('0x4')](_0x1021('0x0'))[_0x1021('0x5')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37b1=['*Remove\x20link*','markInlineFormat','change','afterInit','enableCommand','editor','getAttribute','get','hasAttribute','registerDescriptionCallback','linkHref','_descriptionFactory','commandName','link','model','document','*Set\x20link:*\x20%0','getRanges','locale','getFirstPosition','plugins','has','LinkEditing','format','selection','isCollapsed','unlink'];(function(_0x2fc32d,_0x37b192){const _0x342c2b=function(_0x257b62){while(--_0x257b62){_0x2fc32d['push'](_0x2fc32d['shift']());}};_0x342c2b(++_0x37b192);}(_0x37b1,0x12c));const _0x342c=function(_0x2fc32d,_0x37b192){_0x2fc32d=_0x2fc32d-0x0;let _0x342c2b=_0x37b1[_0x2fc32d];return _0x342c2b;};import{Plugin as _0x27bf61}from'ckeditor5/src/core';import{findAttributeRange as _0x3e79e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x20bbe3}from'./utils';import{getTranslation as _0x5795df}from'../utils/common-translations';export default class nt extends _0x27bf61{[_0x342c('0x0')](){const _0x10449f=this[_0x342c('0x2')];if(!_0x10449f[_0x342c('0x11')][_0x342c('0x12')](_0x342c('0x13')))return;const _0x269397=_0x10449f[_0x342c('0x11')][_0x342c('0x4')]('TrackChangesEditing');_0x269397[_0x342c('0x1')](_0x342c('0xa'),(_0x4f0e3f,_0x309ad2)=>{const _0x2cdc75=_0x10449f[_0x342c('0xb')][_0x342c('0xc')][_0x342c('0x15')];let _0x4c48da=[];if(_0x2cdc75['isCollapsed']){if(!_0x2cdc75[_0x342c('0x5')](_0x342c('0x7')))return void _0x4f0e3f(_0x309ad2);{const _0x49ef13=_0x3e79e(_0x2cdc75[_0x342c('0x10')](),_0x342c('0x7'),_0x2cdc75[_0x342c('0x3')](_0x342c('0x7')),_0x10449f[_0x342c('0xb')]);_0x4c48da=[_0x49ef13];}}else _0x4c48da=Array['from'](_0x2cdc75[_0x342c('0xe')]());_0x10449f['model'][_0x342c('0x1a')](()=>{for(const _0x5e0b9c of _0x4c48da)_0x269397[_0x342c('0x19')](_0x5e0b9c,{'commandName':_0x342c('0xa'),'commandParams':[_0x309ad2]});});}),_0x269397[_0x342c('0x1')](_0x342c('0x17'),()=>{const _0x42896b=this[_0x342c('0x2')][_0x342c('0xb')],_0x16dea7=_0x42896b[_0x342c('0xc')][_0x342c('0x15')];_0x42896b['change'](()=>{let _0x37478e=[];if(_0x16dea7[_0x342c('0x16')])_0x37478e=[_0x3e79e(_0x16dea7[_0x342c('0x10')](),_0x342c('0x7'),_0x16dea7[_0x342c('0x3')]('linkHref'),_0x10449f[_0x342c('0xb')])];else _0x37478e=_0x20bbe3('linkHref',_0x16dea7['getFirstRange'](),_0x10449f[_0x342c('0xb')]);for(const _0x2cb11b of _0x37478e)_0x269397[_0x342c('0x19')](_0x2cb11b,{'commandName':_0x342c('0x17'),'commandParams':[]});});}),_0x269397[_0x342c('0x8')][_0x342c('0x6')](_0x47629d=>{const {data:_0x3cd5b8}=_0x47629d,_0x3b7b15=_0x10449f[_0x342c('0xf')];if(_0x3cd5b8){if(_0x342c('0xa')==_0x3cd5b8[_0x342c('0x9')]){const _0xd9ce2b=_0x3cd5b8['commandParams'][0x0];return{'type':_0x342c('0x14'),'content':_0x5795df(_0x3b7b15,_0x342c('0xd'),'\x22'+_0xd9ce2b+'\x22')};}return _0x342c('0x17')==_0x3cd5b8[_0x342c('0x9')]?{'type':_0x342c('0x14'),'content':_0x5795df(_0x3b7b15,_0x342c('0x18'))}:void 0x0;}});}}
23
+ const _0x4695=['LinkEditing','link','getFirstPosition','document','isCollapsed','TrackChangesEditing','get','format','selection','getFirstRange','editor','change','model','afterInit','enableCommand','*Set\x20link:*\x20%0','hasAttribute','unlink','*Remove\x20link*','getAttribute','commandName','_descriptionFactory','has','plugins','markInlineFormat','linkHref'];(function(_0x2d1363,_0x46951b){const _0x12f6fc=function(_0x383d74){while(--_0x383d74){_0x2d1363['push'](_0x2d1363['shift']());}};_0x12f6fc(++_0x46951b);}(_0x4695,0x121));const _0x12f6=function(_0x2d1363,_0x46951b){_0x2d1363=_0x2d1363-0x0;let _0x12f6fc=_0x4695[_0x2d1363];return _0x12f6fc;};import{Plugin as _0x18c776}from'ckeditor5/src/core';import{findAttributeRange as _0x227928}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x11d3c8}from'./utils';import{getTranslation as _0x6f1e24}from'../utils/common-translations';export default class nt extends _0x18c776{[_0x12f6('0xa')](){const _0x6a3e96=this[_0x12f6('0x7')];if(!_0x6a3e96[_0x12f6('0x14')][_0x12f6('0x13')](_0x12f6('0x17')))return;const _0x469945=_0x6a3e96[_0x12f6('0x14')][_0x12f6('0x3')](_0x12f6('0x2'));_0x469945[_0x12f6('0xb')](_0x12f6('0x18'),(_0x2cc268,_0x442129)=>{const _0x259bc0=_0x6a3e96['model']['document'][_0x12f6('0x5')];let _0x3c96c9=[];if(_0x259bc0[_0x12f6('0x1')]){if(!_0x259bc0[_0x12f6('0xd')]('linkHref'))return void _0x2cc268(_0x442129);{const _0x1821f3=_0x227928(_0x259bc0[_0x12f6('0x19')](),'linkHref',_0x259bc0[_0x12f6('0x10')](_0x12f6('0x16')),_0x6a3e96[_0x12f6('0x9')]);_0x3c96c9=[_0x1821f3];}}else _0x3c96c9=Array['from'](_0x259bc0['getRanges']());_0x6a3e96[_0x12f6('0x9')][_0x12f6('0x8')](()=>{for(const _0x50146b of _0x3c96c9)_0x469945['markInlineFormat'](_0x50146b,{'commandName':_0x12f6('0x18'),'commandParams':[_0x442129]});});}),_0x469945[_0x12f6('0xb')](_0x12f6('0xe'),()=>{const _0x24d828=this[_0x12f6('0x7')][_0x12f6('0x9')],_0x40ecd7=_0x24d828[_0x12f6('0x0')]['selection'];_0x24d828[_0x12f6('0x8')](()=>{let _0x44c082=[];if(_0x40ecd7[_0x12f6('0x1')])_0x44c082=[_0x227928(_0x40ecd7[_0x12f6('0x19')](),_0x12f6('0x16'),_0x40ecd7[_0x12f6('0x10')](_0x12f6('0x16')),_0x6a3e96[_0x12f6('0x9')])];else _0x44c082=_0x11d3c8('linkHref',_0x40ecd7[_0x12f6('0x6')](),_0x6a3e96[_0x12f6('0x9')]);for(const _0x515f3d of _0x44c082)_0x469945[_0x12f6('0x15')](_0x515f3d,{'commandName':_0x12f6('0xe'),'commandParams':[]});});}),_0x469945[_0x12f6('0x12')]['registerDescriptionCallback'](_0x309f13=>{const {data:_0x13a320}=_0x309f13,_0x5b3d24=_0x6a3e96['locale'];if(_0x13a320){if('link'==_0x13a320['commandName']){const _0xfc7237=_0x13a320['commandParams'][0x0];return{'type':_0x12f6('0x4'),'content':_0x6f1e24(_0x5b3d24,_0x12f6('0xc'),'\x22'+_0xfc7237+'\x22')};}return _0x12f6('0xe')==_0x13a320[_0x12f6('0x11')]?{'type':_0x12f6('0x4'),'content':_0x6f1e24(_0x5b3d24,_0x12f6('0xf'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ab5=['commands','ELEMENT_BULLETED_LIST','change','*Change\x20to:*\x20%0','checkTodoList','forceValue','checkChild','from','createRange','ELEMENT_NUMBERED_LIST','selection','nextSibling','has','registerDescriptionCallback','slice','List','*Indent:*\x20%0','listType','element','createPositionAt','listItem','_selectedElements','ELEMENT_LIST_ITEM','outdentList','previousSibling','commandParams','getSelectedBlocks','numberedList','plugins','document','filter','length','name','markBlockFormat','format','bulleted','enableCommand','parent','numbered','editor','_descriptionFactory','commandName','TrackChangesEditing','findIndex','bulletedList','todoListChecked','end','locale','indentList','value','add','todoList','paragraph','ELEMENT_TODO_LIST','getAttribute','listIndent','before','blockName','model','ListEditing','get','replace'];(function(_0x570004,_0x5ab507){const _0x53a668=function(_0x11f5c5){while(--_0x11f5c5){_0x570004['push'](_0x570004['shift']());}};_0x53a668(++_0x5ab507);}(_0x5ab5,0x1d1));const _0x53a6=function(_0x570004,_0x5ab507){_0x570004=_0x570004-0x0;let _0x53a668=_0x5ab5[_0x570004];return _0x53a668;};import{Plugin as _0x3bd645}from'ckeditor5/src/core';import{getTranslation as _0x5b1028}from'../utils/common-translations';export default class st extends _0x3bd645{['afterInit'](){const _0x572d94=this[_0x53a6('0x8')],_0x5c4dc0=_0x572d94[_0x53a6('0x10')];if(!_0x572d94[_0x53a6('0x3b')][_0x53a6('0x2b')](_0x53a6('0x1c')))return;const _0x12616a=_0x572d94[_0x53a6('0x3b')][_0x53a6('0x1d')](_0x53a6('0xb')),_0x3be343=_0x572d94[_0x53a6('0x3b')]['has']('TodoListEditing');function _0x1ef4f2(_0x13ffa5){return()=>{const _0x3cc011=_0x572d94[_0x53a6('0x1b')][_0x53a6('0x3c')][_0x53a6('0x29')],_0x580422=_0x572d94[_0x53a6('0x1f')][_0x53a6('0x1d')](_0x13ffa5);if(_0x580422['value'])return void _0x572d94['execute'](_0x53a6('0x15'),{});const _0x12d662=_0x13ffa5['slice'](0x0,-0x4),_0x562b66=function(_0x38664e,_0x24678a,_0x2c0e71){let _0x30aed5=Array['from'](_0x38664e)[_0x53a6('0x3d')](_0x1e6091=>function(_0x578281,_0x10bcaf){return _0x10bcaf[_0x53a6('0x25')](_0x578281[_0x53a6('0x6')],_0x53a6('0x33'))&&!_0x10bcaf['isObject'](_0x578281);}(_0x1e6091,_0x2c0e71));_0x30aed5=_0x30aed5[_0x53a6('0x3d')](_0x3b087d=>!_0x3b087d['is'](_0x53a6('0x31'),_0x53a6('0x33'))||_0x3b087d['getAttribute'](_0x53a6('0x30'))!=_0x24678a);const _0x5c1e11=new Set();for(const _0x51868e of _0x30aed5)_0x51868e['is'](_0x53a6('0x31'),'listItem')?_0x5c1e11[_0x53a6('0x13')](ne(_0x51868e)):_0x5c1e11['add'](_0x51868e);return Array[_0x53a6('0x26')](_0x5c1e11);}(_0x3cc011[_0x53a6('0x39')](),_0x12d662,_0x572d94[_0x53a6('0x1b')]['schema']);_0x572d94['model'][_0x53a6('0x21')](()=>{for(const _0x22cbc0 of _0x562b66)_0x12616a[_0x53a6('0x2')](_0x22cbc0,{'commandName':_0x13ffa5,'commandParams':[{'forceValue':!_0x580422['value']}],'formatGroupId':_0x53a6('0x1a')},oe(_0x22cbc0));});};}function _0x5914bb(_0x5edf0f){return()=>{const _0x593f87=function(_0x5dd75e){let _0x47d681=Array[_0x53a6('0x26')](_0x5dd75e);const _0x4d6bc2=_0x47d681[_0x53a6('0xc')](_0x468c18=>'listItem'!=_0x468c18[_0x53a6('0x1')]);return _0x4d6bc2>-0x1&&(_0x47d681=_0x47d681[_0x53a6('0x2d')](0x0,_0x4d6bc2)),_0x47d681;}(_0x572d94['model'][_0x53a6('0x3c')][_0x53a6('0x29')][_0x53a6('0x39')]()),_0xcf9d8b=_0x572d94[_0x53a6('0x1b')][_0x53a6('0x27')](_0x572d94[_0x53a6('0x1b')][_0x53a6('0x32')](_0x593f87[0x0],_0x53a6('0x19')),_0x572d94[_0x53a6('0x1b')][_0x53a6('0x32')](_0x593f87[_0x593f87[_0x53a6('0x0')]-0x1],_0x53a6('0xf')));_0x572d94[_0x53a6('0x1b')][_0x53a6('0x21')](()=>{_0x12616a['markBlockFormat'](_0xcf9d8b,{'commandName':_0x5edf0f,'commandParams':[],'formatGroupId':_0x53a6('0x18')},function(_0x1235fc){const _0x3ab22e=new Set();for(const _0x4d0645 of _0x1235fc){let _0x450b2b=_0x4d0645['nextSibling'];for(;_0x450b2b&&_0x450b2b[_0x53a6('0x17')](_0x53a6('0x18'))>_0x4d0645[_0x53a6('0x17')](_0x53a6('0x18'));)_0x3ab22e[_0x53a6('0x13')](_0x450b2b),_0x450b2b=_0x450b2b[_0x53a6('0x2a')];}return Array[_0x53a6('0x26')](_0x3ab22e);}(_0x593f87));});};}_0x12616a[_0x53a6('0x5')](_0x53a6('0x3a'),_0x1ef4f2(_0x53a6('0x3a'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0xd'),_0x1ef4f2(_0x53a6('0xd'))),_0x3be343&&_0x12616a[_0x53a6('0x5')]('todoList',_0x1ef4f2(_0x53a6('0x14'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0x11'),_0x5914bb(_0x53a6('0x11'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0x36'),_0x5914bb('outdentList')),_0x3be343&&_0x12616a['enableCommand'](_0x53a6('0x23'),()=>{const _0x2fe872=_0x572d94['commands'][_0x53a6('0x1d')](_0x53a6('0x23')),_0x507c54=Array[_0x53a6('0x26')](_0x2fe872[_0x53a6('0x34')]);_0x507c54[_0x53a6('0x3d')](_0x533f84=>_0x533f84[_0x53a6('0x17')](_0x53a6('0xe'))!=_0x2fe872['value']),_0x572d94[_0x53a6('0x1b')][_0x53a6('0x21')](()=>{for(const _0x395b8b of _0x507c54)_0x12616a[_0x53a6('0x2')](_0x395b8b,{'commandName':_0x53a6('0x23'),'commandParams':[{'forceValue':!_0x2fe872[_0x53a6('0x12')]}]});});}),_0x12616a[_0x53a6('0x9')]['registerElementLabel'](_0x53a6('0x33'),_0x46f8d4=>_0x5b1028(_0x5c4dc0,_0x53a6('0x35'),_0x46f8d4)),_0x12616a[_0x53a6('0x9')][_0x53a6('0x2c')](_0x5517a1=>{const {data:_0x128b52}=_0x5517a1;if(_0x128b52){if(_0x53a6('0x3a')==_0x128b52[_0x53a6('0xa')]||_0x53a6('0xd')==_0x128b52['commandName']||'todoList'==_0x128b52[_0x53a6('0xa')])switch(_0x128b52['commandName'][_0x53a6('0x1e')](_0x53a6('0x2e'),'')){case _0x53a6('0x4'):return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x20')));case _0x53a6('0x7'):return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x28')));case'todo':return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x16')));}if(_0x53a6('0x11')==_0x128b52[_0x53a6('0xa')])return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,_0x53a6('0x2f'),_0x5b1028(_0x5c4dc0,'ELEMENT_LIST_ITEM'))};if(_0x53a6('0x36')==_0x128b52['commandName'])return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Outdent:*\x20%0',_0x5b1028(_0x5c4dc0,_0x53a6('0x35')))};if(_0x53a6('0x23')==_0x128b52[_0x53a6('0xa')])return _0x128b52[_0x53a6('0x38')][0x0][_0x53a6('0x24')]?{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Check\x20item*')}:{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Uncheck\x20item*')};}function _0x4d7a25(_0x2e8406){return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,_0x53a6('0x22'),_0x2e8406)};}});}}function ne(_0x3bc533){const _0xdf3aa8=_0x3bc533['getAttribute'](_0x53a6('0x18'));if(0x0==_0xdf3aa8)return _0x3bc533;let _0x27b73d=_0x3bc533;for(;_0x3bc533['previousSibling']&&_0x3bc533[_0x53a6('0x37')]['is']('element','listItem');){const _0x3bd17f=_0x3bc533['previousSibling'][_0x53a6('0x17')](_0x53a6('0x18'));if(_0x3bd17f==_0xdf3aa8)_0x27b73d=_0x3bc533[_0x53a6('0x37')];else{if(_0x3bd17f<_0xdf3aa8)break;}_0x3bc533=_0x3bc533[_0x53a6('0x37')];}return _0x27b73d;}function oe(_0x490ada){const _0x3d366f=[];if(_0x490ada['is']('element',_0x53a6('0x33'))&&_0x490ada[_0x53a6('0x17')](_0x53a6('0x18'))>0x0){let _0x4275b4=_0x490ada['nextSibling'];for(;_0x4275b4&&_0x53a6('0x33')==_0x4275b4[_0x53a6('0x1')]&&_0x4275b4[_0x53a6('0x17')](_0x53a6('0x18'))==_0x490ada['getAttribute']('listIndent');)_0x3d366f['push'](_0x4275b4),_0x4275b4=_0x4275b4['nextSibling'];}return _0x3d366f;}
23
+ const _0xbef8=['isObject','end','previousSibling','before','todo','listType','commandName','paragraph','change','enableCommand','value','_descriptionFactory','todoListChecked','registerElementLabel','editor','*Indent:*\x20%0','getSelectedBlocks','listIndent','commandParams','getAttribute','List','locale','filter','forceValue','numberedList','execute','*Check\x20item*','*Uncheck\x20item*','checkChild','createPositionAt','ListEditing','slice','listItem','get','ELEMENT_NUMBERED_LIST','numbered','commands','indentList','checkTodoList','_selectedElements','registerDescriptionCallback','*Change\x20to:*\x20%0','TrackChangesEditing','name','bulleted','selection','push','findIndex','TodoListEditing','has','plugins','add','from','model','ELEMENT_TODO_LIST','todoList','ELEMENT_LIST_ITEM','bulletedList','schema','outdentList','blockName','format','element','createRange','nextSibling','markBlockFormat'];(function(_0x445be9,_0xbef8f6){const _0x48a520=function(_0x30b726){while(--_0x30b726){_0x445be9['push'](_0x445be9['shift']());}};_0x48a520(++_0xbef8f6);}(_0xbef8,0x183));const _0x48a5=function(_0x445be9,_0xbef8f6){_0x445be9=_0x445be9-0x0;let _0x48a520=_0xbef8[_0x445be9];return _0x48a520;};import{Plugin as _0x311183}from'ckeditor5/src/core';import{getTranslation as _0x95f3e5}from'../utils/common-translations';export default class st extends _0x311183{['afterInit'](){const _0x319978=this[_0x48a5('0x17')],_0x23508f=_0x319978[_0x48a5('0x1e')];if(!_0x319978[_0x48a5('0x3b')][_0x48a5('0x3a')](_0x48a5('0x27')))return;const _0x1f4a87=_0x319978[_0x48a5('0x3b')][_0x48a5('0x2a')](_0x48a5('0x33')),_0x1dfd43=_0x319978[_0x48a5('0x3b')]['has'](_0x48a5('0x39'));function _0x9da697(_0x6de1fd){return()=>{const _0x4e0b92=_0x319978['model']['document'][_0x48a5('0x36')],_0x49c807=_0x319978[_0x48a5('0x2d')][_0x48a5('0x2a')](_0x6de1fd);if(_0x49c807[_0x48a5('0x13')])return void _0x319978[_0x48a5('0x22')](_0x48a5('0x10'),{});const _0x4cdcb1=_0x6de1fd[_0x48a5('0x28')](0x0,-0x4),_0x4e39b8=function(_0x3eba23,_0x2319ef,_0x5da8aa){let _0x362861=Array[_0x48a5('0x3d')](_0x3eba23)['filter'](_0x2a6cdd=>function(_0x1762d7,_0x4adf12){return _0x4adf12[_0x48a5('0x25')](_0x1762d7['parent'],_0x48a5('0x29'))&&!_0x4adf12[_0x48a5('0x9')](_0x1762d7);}(_0x2a6cdd,_0x5da8aa));_0x362861=_0x362861[_0x48a5('0x1f')](_0x5384f9=>!_0x5384f9['is'](_0x48a5('0x5'),'listItem')||_0x5384f9[_0x48a5('0x1c')](_0x48a5('0xe'))!=_0x2319ef);const _0x3dd59b=new Set();for(const _0x48d91e of _0x362861)_0x48d91e['is'](_0x48a5('0x5'),_0x48a5('0x29'))?_0x3dd59b[_0x48a5('0x3c')](ne(_0x48d91e)):_0x3dd59b[_0x48a5('0x3c')](_0x48d91e);return Array[_0x48a5('0x3d')](_0x3dd59b);}(_0x4e0b92[_0x48a5('0x19')](),_0x4cdcb1,_0x319978[_0x48a5('0x3e')][_0x48a5('0x1')]);_0x319978[_0x48a5('0x3e')][_0x48a5('0x11')](()=>{for(const _0x463bed of _0x4e39b8)_0x1f4a87['markBlockFormat'](_0x463bed,{'commandName':_0x6de1fd,'commandParams':[{'forceValue':!_0x49c807[_0x48a5('0x13')]}],'formatGroupId':_0x48a5('0x3')},oe(_0x463bed));});};}function _0x396b24(_0x517f09){return()=>{const _0x50f022=function(_0xc0dca2){let _0x39b9f=Array[_0x48a5('0x3d')](_0xc0dca2);const _0x40ecca=_0x39b9f[_0x48a5('0x38')](_0x1741f1=>_0x48a5('0x29')!=_0x1741f1[_0x48a5('0x34')]);return _0x40ecca>-0x1&&(_0x39b9f=_0x39b9f['slice'](0x0,_0x40ecca)),_0x39b9f;}(_0x319978['model']['document'][_0x48a5('0x36')][_0x48a5('0x19')]()),_0x363af8=_0x319978[_0x48a5('0x3e')][_0x48a5('0x6')](_0x319978[_0x48a5('0x3e')][_0x48a5('0x26')](_0x50f022[0x0],_0x48a5('0xc')),_0x319978['model'][_0x48a5('0x26')](_0x50f022[_0x50f022['length']-0x1],_0x48a5('0xa')));_0x319978['model'][_0x48a5('0x11')](()=>{_0x1f4a87[_0x48a5('0x8')](_0x363af8,{'commandName':_0x517f09,'commandParams':[],'formatGroupId':'listIndent'},function(_0x255323){const _0xd63048=new Set();for(const _0x30ef50 of _0x255323){let _0x4fbb5f=_0x30ef50[_0x48a5('0x7')];for(;_0x4fbb5f&&_0x4fbb5f['getAttribute']('listIndent')>_0x30ef50[_0x48a5('0x1c')](_0x48a5('0x1a'));)_0xd63048[_0x48a5('0x3c')](_0x4fbb5f),_0x4fbb5f=_0x4fbb5f[_0x48a5('0x7')];}return Array[_0x48a5('0x3d')](_0xd63048);}(_0x50f022));});};}_0x1f4a87['enableCommand'](_0x48a5('0x21'),_0x9da697(_0x48a5('0x21'))),_0x1f4a87[_0x48a5('0x12')](_0x48a5('0x0'),_0x9da697('bulletedList')),_0x1dfd43&&_0x1f4a87[_0x48a5('0x12')](_0x48a5('0x40'),_0x9da697(_0x48a5('0x40'))),_0x1f4a87[_0x48a5('0x12')]('indentList',_0x396b24('indentList')),_0x1f4a87[_0x48a5('0x12')]('outdentList',_0x396b24(_0x48a5('0x2'))),_0x1dfd43&&_0x1f4a87['enableCommand'](_0x48a5('0x2f'),()=>{const _0x4fb06b=_0x319978[_0x48a5('0x2d')][_0x48a5('0x2a')](_0x48a5('0x2f')),_0x1edb59=Array[_0x48a5('0x3d')](_0x4fb06b[_0x48a5('0x30')]);_0x1edb59[_0x48a5('0x1f')](_0x487083=>_0x487083[_0x48a5('0x1c')](_0x48a5('0x15'))!=_0x4fb06b[_0x48a5('0x13')]),_0x319978[_0x48a5('0x3e')][_0x48a5('0x11')](()=>{for(const _0x1108cc of _0x1edb59)_0x1f4a87[_0x48a5('0x8')](_0x1108cc,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4fb06b[_0x48a5('0x13')]}]});});}),_0x1f4a87['_descriptionFactory'][_0x48a5('0x16')](_0x48a5('0x29'),_0x17c4d3=>_0x95f3e5(_0x23508f,_0x48a5('0x41'),_0x17c4d3)),_0x1f4a87[_0x48a5('0x14')][_0x48a5('0x31')](_0x112a58=>{const {data:_0x2a8935}=_0x112a58;if(_0x2a8935){if(_0x48a5('0x21')==_0x2a8935[_0x48a5('0xf')]||_0x48a5('0x0')==_0x2a8935['commandName']||_0x48a5('0x40')==_0x2a8935[_0x48a5('0xf')])switch(_0x2a8935[_0x48a5('0xf')]['replace'](_0x48a5('0x1d'),'')){case _0x48a5('0x35'):return _0x1dc241(_0x95f3e5(_0x23508f,'ELEMENT_BULLETED_LIST'));case _0x48a5('0x2c'):return _0x1dc241(_0x95f3e5(_0x23508f,_0x48a5('0x2b')));case _0x48a5('0xd'):return _0x1dc241(_0x95f3e5(_0x23508f,_0x48a5('0x3f')));}if(_0x48a5('0x2e')==_0x2a8935[_0x48a5('0xf')])return{'type':_0x48a5('0x4'),'content':_0x95f3e5(_0x23508f,_0x48a5('0x18'),_0x95f3e5(_0x23508f,'ELEMENT_LIST_ITEM'))};if(_0x48a5('0x2')==_0x2a8935[_0x48a5('0xf')])return{'type':_0x48a5('0x4'),'content':_0x95f3e5(_0x23508f,'*Outdent:*\x20%0',_0x95f3e5(_0x23508f,_0x48a5('0x41')))};if('checkTodoList'==_0x2a8935[_0x48a5('0xf')])return _0x2a8935[_0x48a5('0x1b')][0x0][_0x48a5('0x20')]?{'type':_0x48a5('0x4'),'content':_0x95f3e5(_0x23508f,_0x48a5('0x23'))}:{'type':_0x48a5('0x4'),'content':_0x95f3e5(_0x23508f,_0x48a5('0x24'))};}function _0x1dc241(_0xfc9d7a){return{'type':_0x48a5('0x4'),'content':_0x95f3e5(_0x23508f,_0x48a5('0x32'),_0xfc9d7a)};}});}}function ne(_0x511485){const _0x454500=_0x511485[_0x48a5('0x1c')](_0x48a5('0x1a'));if(0x0==_0x454500)return _0x511485;let _0x3fa46c=_0x511485;for(;_0x511485[_0x48a5('0xb')]&&_0x511485['previousSibling']['is']('element','listItem');){const _0x4544bd=_0x511485[_0x48a5('0xb')]['getAttribute'](_0x48a5('0x1a'));if(_0x4544bd==_0x454500)_0x3fa46c=_0x511485['previousSibling'];else{if(_0x4544bd<_0x454500)break;}_0x511485=_0x511485[_0x48a5('0xb')];}return _0x3fa46c;}function oe(_0x7f081f){const _0x1d863e=[];if(_0x7f081f['is'](_0x48a5('0x5'),_0x48a5('0x29'))&&_0x7f081f[_0x48a5('0x1c')]('listIndent')>0x0){let _0x5448a5=_0x7f081f['nextSibling'];for(;_0x5448a5&&_0x48a5('0x29')==_0x5448a5[_0x48a5('0x34')]&&_0x5448a5[_0x48a5('0x1c')]('listIndent')==_0x7f081f['getAttribute'](_0x48a5('0x1a'));)_0x1d863e[_0x48a5('0x37')](_0x5448a5),_0x5448a5=_0x5448a5[_0x48a5('0x7')];}return _0x1d863e;}