@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.1 → 0.0.0-nightly-20230727.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5040=['get','fontColor.colors','FontSizeEditing','has','FontColorEditing','trim','selection','value','fontBackgroundColor','format','toLowerCase','*Reset\x20font\x20size*','config','*Set\x20font\x20family:*\x20%0','TrackChangesEditing','editor','_enableCommand','isCollapsed','label','model','*Set\x20font\x20background\x20color:*\x20%0','FontFamilyEditing','getRanges','*Reset\x20font\x20family*','commandParams','fontBackgroundColor.colors','*Reset\x20font\x20color*','FontBackgroundColorEditing','FontSize','from','markInlineFormat','afterInit','commandName','title','document','plugins','fontSize','fontColor','fontFamily','*Set\x20font\x20color:*\x20%0','locale','_descriptionFactory'];(function(_0x277c0e,_0x50405c){const _0x16f21f=function(_0x4884d4){while(--_0x4884d4){_0x277c0e['push'](_0x277c0e['shift']());}};_0x16f21f(++_0x50405c);}(_0x5040,0x10a));const _0x16f2=function(_0x277c0e,_0x50405c){_0x277c0e=_0x277c0e-0x0;let _0x16f21f=_0x5040[_0x277c0e];return _0x16f21f;};import{Plugin as _0x378088}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5adcb3}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x49148b}from'./utils';import{getTranslation as _0x4ca6cf}from'../utils/common-translations';const Zt=[{'pluginName':_0x16f2('0x1e'),'commandName':_0x16f2('0x16')},{'pluginName':_0x16f2('0x7'),'commandName':_0x16f2('0x18')},{'pluginName':_0x16f2('0x20'),'commandName':_0x16f2('0x17')},{'pluginName':_0x16f2('0xd'),'commandName':'fontBackgroundColor'}];export default class H extends _0x378088{[_0x16f2('0x11')](){const _0x547c3d=this[_0x16f2('0x1')][_0x16f2('0x1a')];for(const {pluginName:_0x482189,commandName:_0xcf46f}of Zt)this[_0x16f2('0x1')][_0x16f2('0x15')][_0x16f2('0x1f')](_0x482189)&&this[_0x16f2('0x2')](_0xcf46f);this['editor'][_0x16f2('0x15')][_0x16f2('0x1c')]('TrackChangesEditing')[_0x16f2('0x1b')]['registerDescriptionCallback'](_0x383552=>{const _0x32e6bb=_0x547c3d['t'],{data:_0x132c22}=_0x383552;if(null!=_0x132c22){if(_0x16f2('0x16')==_0x132c22['commandName']){const _0x22b013=_0x132c22[_0x16f2('0xa')][0x0][_0x16f2('0x23')];if(_0x22b013){const _0x41a2be=_0x32e6bb(this[_0x16f2('0x1')][_0x16f2('0x15')][_0x16f2('0x1c')](_0x16f2('0xe'))['normalizeSizeOptions'](this[_0x16f2('0x1')][_0x16f2('0x28')]['get']('fontSize.options'))['find'](_0x1dce15=>_0x1dce15[_0x16f2('0x5')]==_0x22b013)[_0x16f2('0x13')])[_0x16f2('0x26')]();return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,'*Set\x20font\x20size:*\x20%0',_0x41a2be)};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0x27'))};}if(_0x16f2('0x18')==_0x132c22['commandName']){const _0x36585e=_0x132c22[_0x16f2('0xa')][0x0]['value'];return _0x36585e?{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x29'),_0x36585e)}:{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x9'))};}if('fontColor'==_0x132c22['commandName']){const _0x373f1a=_0x132c22[_0x16f2('0xa')][0x0][_0x16f2('0x23')];if(_0x373f1a){const _0x3dd984=_0x5adcb3(this[_0x16f2('0x1')][_0x16f2('0x28')][_0x16f2('0x1c')](_0x16f2('0x1d')))['find'](_0x29fc11=>_0x29fc11[_0x16f2('0x5')]==_0x373f1a);let _0x1d8e8e=_0x373f1a,_0x27a1ec='';return _0x3dd984&&(_0x1d8e8e=_0x3dd984[_0x16f2('0x4')],_0x27a1ec=_0x32e6bb(_0x1d8e8e)[_0x16f2('0x26')]()),{'type':'format','content':_0x4ca6cf(_0x547c3d,_0x16f2('0x19'),_0x27a1ec)[_0x16f2('0x21')](),'color':{'value':_0x373f1a,'title':_0x27a1ec||_0x1d8e8e}};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0xc'))};}if(_0x16f2('0x24')==_0x132c22[_0x16f2('0x12')]){const _0x3a1f89=_0x132c22[_0x16f2('0xa')][0x0]['value'];if(_0x3a1f89){const _0x47a5f7=_0x5adcb3(this[_0x16f2('0x1')][_0x16f2('0x28')][_0x16f2('0x1c')](_0x16f2('0xb')))['find'](_0x23b1a3=>_0x23b1a3['model']==_0x3a1f89);let _0x11c319=_0x3a1f89,_0x2f9c58='';return _0x47a5f7&&(_0x11c319=_0x47a5f7[_0x16f2('0x4')],_0x2f9c58=_0x32e6bb(_0x11c319)[_0x16f2('0x26')]()),{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,_0x16f2('0x6'),_0x2f9c58)[_0x16f2('0x21')](),'color':{'value':_0x3a1f89,'title':_0x2f9c58||_0x11c319}};}return{'type':_0x16f2('0x25'),'content':_0x4ca6cf(_0x547c3d,'*Reset\x20font\x20background\x20color*')};}}});}[_0x16f2('0x2')](_0x16402e){const _0x11826f=this[_0x16f2('0x1')];_0x11826f[_0x16f2('0x15')][_0x16f2('0x1c')](_0x16f2('0x0'))['enableCommand'](_0x16402e,(_0x2078e5,_0x18c62f={})=>{const _0x1dc5d4=_0x11826f[_0x16f2('0x5')][_0x16f2('0x14')][_0x16f2('0x22')],_0x191ed0=_0x18c62f[_0x16f2('0x23')];_0x1dc5d4[_0x16f2('0x3')]?_0x2078e5(_0x18c62f):_0x11826f['model']['change'](()=>{const _0x1eedc1=Array[_0x16f2('0xf')](_0x1dc5d4[_0x16f2('0x8')]());for(const _0x4cdc53 of _0x1eedc1){const _0x14b33e=_0x191ed0?[_0x4cdc53]:_0x49148b(_0x16402e,_0x4cdc53,_0x11826f[_0x16f2('0x5')]);for(const _0x831176 of _0x14b33e)_0x11826f[_0x16f2('0x15')][_0x16f2('0x1c')]('TrackChangesEditing')[_0x16f2('0x10')](_0x831176,{'commandName':_0x16402e,'commandParams':[{'value':_0x191ed0}]});}});});}}
23
+ const _0xd0e4=['trim','*Set\x20font\x20size:*\x20%0','registerDescriptionCallback','commandName','markInlineFormat','isCollapsed','model','document','TrackChangesEditing','getRanges','find','_descriptionFactory','plugins','value','FontSizeEditing','fontSize','get','FontSize','from','label','fontBackgroundColor.colors','_enableCommand','format','fontSize.options','enableCommand','normalizeSizeOptions','toLowerCase','fontColor','locale','config','change','commandParams','fontBackgroundColor','*Set\x20font\x20background\x20color:*\x20%0','*Reset\x20font\x20family*','editor','fontColor.colors','fontFamily','FontBackgroundColorEditing','has','*Reset\x20font\x20size*','*Set\x20font\x20color:*\x20%0','*Reset\x20font\x20color*','FontFamilyEditing','*Set\x20font\x20family:*\x20%0'];(function(_0x5075fe,_0xd0e407){const _0x45d819=function(_0x4ce1e7){while(--_0x4ce1e7){_0x5075fe['push'](_0x5075fe['shift']());}};_0x45d819(++_0xd0e407);}(_0xd0e4,0x1b6));const _0x45d8=function(_0x5075fe,_0xd0e407){_0x5075fe=_0x5075fe-0x0;let _0x45d819=_0xd0e4[_0x5075fe];return _0x45d819;};import{Plugin as _0x2924ce}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1bd32f}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2151ff}from'./utils';import{getTranslation as _0x160b4b}from'../utils/common-translations';const Zt=[{'pluginName':_0x45d8('0x1a'),'commandName':'fontSize'},{'pluginName':_0x45d8('0xa'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x45d8('0x27')},{'pluginName':_0x45d8('0x5'),'commandName':_0x45d8('0x2c')}];export default class H extends _0x2924ce{['afterInit'](){const _0x503a44=this[_0x45d8('0x2')][_0x45d8('0x28')];for(const {pluginName:_0x4a92ae,commandName:_0x2cc992}of Zt)this['editor']['plugins'][_0x45d8('0x6')](_0x4a92ae)&&this[_0x45d8('0x21')](_0x2cc992);this['editor']['plugins']['get']('TrackChangesEditing')[_0x45d8('0x17')][_0x45d8('0xe')](_0x38cbe0=>{const _0x2491ee=_0x503a44['t'],{data:_0x22e4b4}=_0x38cbe0;if(null!=_0x22e4b4){if(_0x45d8('0x1b')==_0x22e4b4['commandName']){const _0x4c0995=_0x22e4b4[_0x45d8('0x2b')][0x0][_0x45d8('0x19')];if(_0x4c0995){const _0x1e4fd4=_0x2491ee(this[_0x45d8('0x2')][_0x45d8('0x18')][_0x45d8('0x1c')](_0x45d8('0x1d'))[_0x45d8('0x25')](this[_0x45d8('0x2')]['config'][_0x45d8('0x1c')](_0x45d8('0x23')))['find'](_0x2a38da=>_0x2a38da['model']==_0x4c0995)['title'])[_0x45d8('0x26')]();return{'type':_0x45d8('0x22'),'content':_0x160b4b(_0x503a44,_0x45d8('0xd'),_0x1e4fd4)};}return{'type':'format','content':_0x160b4b(_0x503a44,_0x45d8('0x7'))};}if(_0x45d8('0x4')==_0x22e4b4[_0x45d8('0xf')]){const _0x1b6d16=_0x22e4b4[_0x45d8('0x2b')][0x0]['value'];return _0x1b6d16?{'type':_0x45d8('0x22'),'content':_0x160b4b(_0x503a44,_0x45d8('0xb'),_0x1b6d16)}:{'type':_0x45d8('0x22'),'content':_0x160b4b(_0x503a44,_0x45d8('0x1'))};}if(_0x45d8('0x27')==_0x22e4b4[_0x45d8('0xf')]){const _0x373a52=_0x22e4b4[_0x45d8('0x2b')][0x0]['value'];if(_0x373a52){const _0x2b71d2=_0x1bd32f(this[_0x45d8('0x2')][_0x45d8('0x29')][_0x45d8('0x1c')](_0x45d8('0x3')))[_0x45d8('0x16')](_0x3945d2=>_0x3945d2[_0x45d8('0x12')]==_0x373a52);let _0x5a3dbb=_0x373a52,_0x105222='';return _0x2b71d2&&(_0x5a3dbb=_0x2b71d2[_0x45d8('0x1f')],_0x105222=_0x2491ee(_0x5a3dbb)['toLowerCase']()),{'type':'format','content':_0x160b4b(_0x503a44,_0x45d8('0x8'),_0x105222)[_0x45d8('0xc')](),'color':{'value':_0x373a52,'title':_0x105222||_0x5a3dbb}};}return{'type':'format','content':_0x160b4b(_0x503a44,_0x45d8('0x9'))};}if('fontBackgroundColor'==_0x22e4b4[_0x45d8('0xf')]){const _0x2c0344=_0x22e4b4[_0x45d8('0x2b')][0x0][_0x45d8('0x19')];if(_0x2c0344){const _0x3577e1=_0x1bd32f(this[_0x45d8('0x2')][_0x45d8('0x29')][_0x45d8('0x1c')](_0x45d8('0x20')))[_0x45d8('0x16')](_0x5a0c6b=>_0x5a0c6b[_0x45d8('0x12')]==_0x2c0344);let _0x25e073=_0x2c0344,_0xa985ca='';return _0x3577e1&&(_0x25e073=_0x3577e1['label'],_0xa985ca=_0x2491ee(_0x25e073)['toLowerCase']()),{'type':_0x45d8('0x22'),'content':_0x160b4b(_0x503a44,_0x45d8('0x0'),_0xa985ca)['trim'](),'color':{'value':_0x2c0344,'title':_0xa985ca||_0x25e073}};}return{'type':_0x45d8('0x22'),'content':_0x160b4b(_0x503a44,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0xa5bbf6){const _0x2c5f58=this[_0x45d8('0x2')];_0x2c5f58[_0x45d8('0x18')][_0x45d8('0x1c')]('TrackChangesEditing')[_0x45d8('0x24')](_0xa5bbf6,(_0x163210,_0x251403={})=>{const _0x55dcdf=_0x2c5f58['model'][_0x45d8('0x13')]['selection'],_0x159772=_0x251403[_0x45d8('0x19')];_0x55dcdf[_0x45d8('0x11')]?_0x163210(_0x251403):_0x2c5f58[_0x45d8('0x12')][_0x45d8('0x2a')](()=>{const _0x540aff=Array[_0x45d8('0x1e')](_0x55dcdf[_0x45d8('0x15')]());for(const _0x1c1426 of _0x540aff){const _0x4b0317=_0x159772?[_0x1c1426]:_0x2151ff(_0xa5bbf6,_0x1c1426,_0x2c5f58[_0x45d8('0x12')]);for(const _0x43b8fc of _0x4b0317)_0x2c5f58[_0x45d8('0x18')]['get'](_0x45d8('0x14'))[_0x45d8('0x10')](_0x43b8fc,{'commandName':_0xa5bbf6,'commandParams':[{'value':_0x159772}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d72=['schema','getLastPosition','getAttributeProperties','from','pasteFormat','backward','length','word','createSelection','getFirstPosition','createRange','registerDescriptionCallback','locale','selection','keys','toLowerCase','TrackChangesEditing','enableCommand','entries','editor','_descriptionFactory','slice','getAttributes','commands','*Remove\x20all\x20formatting*','fontColor.colors','change','*Set\x20format\x20to:*\x20%0','plugins','isFormatting','title','isCollapsed','format','push','config','normalizeSizeOptions','fontBackgroundColor','markInlineFormat','getRanges','afterInit','commandName','forward','copyFormat','get','fontSize','document','modifySelection','find'];(function(_0x5b7ca3,_0x2d729a){const _0x101326=function(_0x57753a){while(--_0x57753a){_0x5b7ca3['push'](_0x5b7ca3['shift']());}};_0x101326(++_0x2d729a);}(_0x2d72,0x1e4));const _0x1013=function(_0x5b7ca3,_0x2d729a){_0x5b7ca3=_0x5b7ca3-0x0;let _0x101326=_0x2d72[_0x5b7ca3];return _0x101326;};import{Plugin as _0xee0e21}from'ckeditor5/src/core';import{normalizeColorOptions as _0x116fdd}from'ckeditor5/src/ui';import{first as _0x608acc}from'ckeditor5/src/utils';import{getTranslation as _0x5c9d3e}from'../utils/common-translations';export default class W extends _0xee0e21{[_0x1013('0x23')](){const _0xe81d9d=this[_0x1013('0xf')],_0x8ea3cd=_0xe81d9d['model'],_0xf7e3ff=_0x8ea3cd[_0x1013('0x29')][_0x1013('0x9')],_0x558a10=_0xe81d9d[_0x1013('0x18')]['get'](_0x1013('0xc')),_0x58325f=_0xe81d9d[_0x1013('0x8')],_0x37584c=_0xe81d9d[_0x1013('0x13')][_0x1013('0x27')](_0x1013('0x26')),_0x2977b9=_0xe81d9d[_0x1013('0x13')][_0x1013('0x27')](_0x1013('0x0'));_0x37584c&&_0x2977b9&&(_0x558a10[_0x1013('0xd')]('pasteFormat',(_0x37f284,_0x17cfc7={})=>{const _0x7b9302=_0x17cfc7;_0x8ea3cd[_0x1013('0x16')](()=>{const _0x46b8cd=Array[_0x1013('0x2f')](_0xf7e3ff['getRanges']()),_0xe231b1=_0xf7e3ff[_0x1013('0x1b')]?[ro(_0x8ea3cd,_0xf7e3ff)]:_0x46b8cd,_0x3ff025=!!_0x608acc(function*(_0x39385e,_0x1df071){const _0x45065e=_0x28e750=>!!_0x608acc(function*(_0x29227a,_0x4d1435){for(const [_0x4aca74]of _0x29227a[_0x1013('0x12')]()){const _0x108f08=_0x4d1435[_0x1013('0x2e')](_0x4aca74);_0x108f08&&_0x108f08[_0x1013('0x19')]&&(yield _0x4aca74);}}(_0x28e750,_0x1df071));for(const _0x5920e9 of _0x39385e[_0x1013('0x22')]())for(const _0x1ed8bc of _0x5920e9['getItems']())!_0x1df071['isBlock'](_0x1ed8bc)&&_0x45065e(_0x1ed8bc)&&(yield _0x1ed8bc);for(const _0xe8bc2e of _0x39385e['getSelectedBlocks']())_0x45065e(_0xe8bc2e)&&(yield _0xe8bc2e);_0x45065e(_0x39385e)&&(yield _0x39385e);}(_0xf7e3ff,_0x8ea3cd[_0x1013('0x2c')]));if(_0x3ff025||0x0!==Object[_0x1013('0xa')](_0x7b9302)[_0x1013('0x2')])for(const _0x4dde42 of _0xe231b1)_0x558a10[_0x1013('0x21')](_0x4dde42,{'commandName':_0x1013('0x0'),'commandParams':[_0x7b9302]});});}),_0x558a10[_0x1013('0x10')][_0x1013('0x7')](_0x1aa03f=>{const {data:_0x397d28}=_0x1aa03f;if(_0x397d28&&_0x1013('0x0')===_0x397d28[_0x1013('0x24')]){const _0x4b5377=[],_0x3aaef5=_0x397d28['commandParams'][0x0];for(const [_0x27d2e7,_0x255ea6]of Object[_0x1013('0xe')](_0x3aaef5))_0x4b5377[_0x1013('0x1d')](no(_0xe81d9d,_0x27d2e7,_0x255ea6));return _0x4b5377[_0x1013('0x2')]?{'type':'format','content':_0x5c9d3e(_0x58325f,_0x1013('0x17'),_0x4b5377['join'](',\x20'))}:{'type':_0x1013('0x1c'),'content':_0x5c9d3e(_0x58325f,_0x1013('0x14'))};}}),_0xe81d9d[_0x1013('0x18')]['get']('TrackChangesEditing')[_0x1013('0xd')](_0x1013('0x26')));}}function ro(_0x5336f3,_0x4dac18){const _0x465fe4=_0x5336f3[_0x1013('0x4')](_0x4dac18);_0x5336f3[_0x1013('0x2a')](_0x465fe4,{'unit':_0x1013('0x3'),'direction':_0x1013('0x1')});const _0xf7d206=_0x465fe4[_0x1013('0x5')]();_0x5336f3['modifySelection'](_0x465fe4,{'unit':_0x1013('0x3'),'direction':_0x1013('0x25')});const _0x35e57a=_0x465fe4[_0x1013('0x2d')]();return _0x5336f3[_0x1013('0x6')](_0xf7d206,_0x35e57a);}function no(_0x3f76a3,_0x2ef73c,_0x477fd2){const _0x1e07f4=_0x3f76a3[_0x1013('0x8')]['t'],_0x395045=_0x2ef73c['split'](/(?=[A-Z])/)['join']('\x20'),_0x4d3242=_0x1e07f4(_0x395045['charAt'](0x0)['toUpperCase']()+_0x395045[_0x1013('0x11')](0x1))[_0x1013('0xb')]();if('boolean'==typeof _0x477fd2)return _0x4d3242;if('fontColor'===_0x2ef73c||_0x1013('0x20')===_0x2ef73c){const _0x277a14=_0x116fdd(_0x3f76a3[_0x1013('0x1e')][_0x1013('0x27')](_0x1013('0x15')))['find'](_0x48bac4=>_0x48bac4['model']==_0x477fd2);return _0x4d3242+'\x20('+(_0x277a14?_0x1e07f4(_0x277a14['label'])[_0x1013('0xb')]():_0x477fd2)+')';}if(_0x1013('0x28')===_0x2ef73c&&isNaN(parseFloat(_0x477fd2))){const _0x50e002=_0x3f76a3[_0x1013('0x18')]['get']('FontSize')[_0x1013('0x1f')](_0x3f76a3['config'][_0x1013('0x27')]('fontSize.options'))[_0x1013('0x2b')](_0xb22a6b=>_0xb22a6b['model']==_0x477fd2);return _0x4d3242+'\x20('+(_0x50e002?_0x1e07f4(_0x50e002[_0x1013('0x1a')])[_0x1013('0xb')]():_0x477fd2)+')';}return _0x4d3242+'\x20('+_0x477fd2+')';}
23
+ const _0x1d4a=['locale','join','find','model','toUpperCase','plugins','pasteFormat','createRange','keys','change','copyFormat','selection','push','format','FontSize','*Remove\x20all\x20formatting*','label','get','fontSize','document','editor','toLowerCase','fontSize.options','fontBackgroundColor','word','markInlineFormat','commandName','createSelection','getAttributes','*Set\x20format\x20to:*\x20%0','title','registerDescriptionCallback','enableCommand','length','getSelectedBlocks','_descriptionFactory','isCollapsed','forward','split','commands','afterInit','boolean','getLastPosition','config','isBlock','commandParams','from','slice','isFormatting','fontColor','entries','schema','modifySelection','getRanges','backward'];(function(_0x3f2135,_0x1d4a29){const _0x1a576d=function(_0x10f53e){while(--_0x10f53e){_0x3f2135['push'](_0x3f2135['shift']());}};_0x1a576d(++_0x1d4a29);}(_0x1d4a,0x16d));const _0x1a57=function(_0x3f2135,_0x1d4a29){_0x3f2135=_0x3f2135-0x0;let _0x1a576d=_0x1d4a[_0x3f2135];return _0x1a576d;};import{Plugin as _0x3fffd6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47aa63}from'ckeditor5/src/ui';import{first as _0xf18ce3}from'ckeditor5/src/utils';import{getTranslation as _0x542cfe}from'../utils/common-translations';export default class W extends _0x3fffd6{[_0x1a57('0x5')](){const _0x3362fe=this[_0x1a57('0x28')],_0x2cad9f=_0x3362fe[_0x1a57('0x17')],_0xad6de6=_0x2cad9f[_0x1a57('0x27')][_0x1a57('0x1f')],_0x1c63ca=_0x3362fe['plugins'][_0x1a57('0x25')]('TrackChangesEditing'),_0x42386f=_0x3362fe[_0x1a57('0x14')],_0x49a93c=_0x3362fe[_0x1a57('0x4')][_0x1a57('0x25')](_0x1a57('0x1e')),_0x289b66=_0x3362fe[_0x1a57('0x4')][_0x1a57('0x25')](_0x1a57('0x1a'));_0x49a93c&&_0x289b66&&(_0x1c63ca[_0x1a57('0x34')](_0x1a57('0x1a'),(_0x292b6d,_0x16dfd3={})=>{const _0x4a73db=_0x16dfd3;_0x2cad9f[_0x1a57('0x1d')](()=>{const _0xe3a0c0=Array[_0x1a57('0xb')](_0xad6de6[_0x1a57('0x12')]()),_0x287e04=_0xad6de6[_0x1a57('0x1')]?[ro(_0x2cad9f,_0xad6de6)]:_0xe3a0c0,_0x3f3176=!!_0xf18ce3(function*(_0x552128,_0x26e795){const _0x8b76c4=_0x17d1f3=>!!_0xf18ce3(function*(_0xcdf75a,_0xaf82d0){for(const [_0x138288]of _0xcdf75a[_0x1a57('0x30')]()){const _0x3fc8cc=_0xaf82d0['getAttributeProperties'](_0x138288);_0x3fc8cc&&_0x3fc8cc[_0x1a57('0xd')]&&(yield _0x138288);}}(_0x17d1f3,_0x26e795));for(const _0x28bf24 of _0x552128[_0x1a57('0x12')]())for(const _0x21ae99 of _0x28bf24['getItems']())!_0x26e795[_0x1a57('0x9')](_0x21ae99)&&_0x8b76c4(_0x21ae99)&&(yield _0x21ae99);for(const _0x22cf64 of _0x552128[_0x1a57('0x36')]())_0x8b76c4(_0x22cf64)&&(yield _0x22cf64);_0x8b76c4(_0x552128)&&(yield _0x552128);}(_0xad6de6,_0x2cad9f[_0x1a57('0x10')]));if(_0x3f3176||0x0!==Object[_0x1a57('0x1c')](_0x4a73db)[_0x1a57('0x35')])for(const _0xd971d0 of _0x287e04)_0x1c63ca[_0x1a57('0x2d')](_0xd971d0,{'commandName':'pasteFormat','commandParams':[_0x4a73db]});});}),_0x1c63ca[_0x1a57('0x0')][_0x1a57('0x33')](_0x43d365=>{const {data:_0x2755f6}=_0x43d365;if(_0x2755f6&&'pasteFormat'===_0x2755f6[_0x1a57('0x2e')]){const _0x463a4a=[],_0x18108c=_0x2755f6[_0x1a57('0xa')][0x0];for(const [_0x574c13,_0x2f105d]of Object[_0x1a57('0xf')](_0x18108c))_0x463a4a[_0x1a57('0x20')](no(_0x3362fe,_0x574c13,_0x2f105d));return _0x463a4a[_0x1a57('0x35')]?{'type':_0x1a57('0x21'),'content':_0x542cfe(_0x42386f,_0x1a57('0x31'),_0x463a4a['join'](',\x20'))}:{'type':'format','content':_0x542cfe(_0x42386f,_0x1a57('0x23'))};}}),_0x3362fe[_0x1a57('0x19')][_0x1a57('0x25')]('TrackChangesEditing')[_0x1a57('0x34')]('copyFormat'));}}function ro(_0x2f187e,_0x7b5a75){const _0x2c1266=_0x2f187e[_0x1a57('0x2f')](_0x7b5a75);_0x2f187e[_0x1a57('0x11')](_0x2c1266,{'unit':_0x1a57('0x2c'),'direction':_0x1a57('0x13')});const _0x4cde52=_0x2c1266['getFirstPosition']();_0x2f187e[_0x1a57('0x11')](_0x2c1266,{'unit':_0x1a57('0x2c'),'direction':_0x1a57('0x2')});const _0x4d21f7=_0x2c1266[_0x1a57('0x7')]();return _0x2f187e[_0x1a57('0x1b')](_0x4cde52,_0x4d21f7);}function no(_0x57c3c7,_0xd8ad98,_0x2f24fa){const _0x50c802=_0x57c3c7[_0x1a57('0x14')]['t'],_0x2ad211=_0xd8ad98[_0x1a57('0x3')](/(?=[A-Z])/)[_0x1a57('0x15')]('\x20'),_0x352234=_0x50c802(_0x2ad211['charAt'](0x0)[_0x1a57('0x18')]()+_0x2ad211[_0x1a57('0xc')](0x1))['toLowerCase']();if(_0x1a57('0x6')==typeof _0x2f24fa)return _0x352234;if(_0x1a57('0xe')===_0xd8ad98||_0x1a57('0x2b')===_0xd8ad98){const _0x4ea35c=_0x47aa63(_0x57c3c7[_0x1a57('0x8')]['get']('fontColor.colors'))[_0x1a57('0x16')](_0xf99fd8=>_0xf99fd8[_0x1a57('0x17')]==_0x2f24fa);return _0x352234+'\x20('+(_0x4ea35c?_0x50c802(_0x4ea35c[_0x1a57('0x24')])[_0x1a57('0x29')]():_0x2f24fa)+')';}if(_0x1a57('0x26')===_0xd8ad98&&isNaN(parseFloat(_0x2f24fa))){const _0x2a782e=_0x57c3c7['plugins'][_0x1a57('0x25')](_0x1a57('0x22'))['normalizeSizeOptions'](_0x57c3c7[_0x1a57('0x8')][_0x1a57('0x25')](_0x1a57('0x2a')))[_0x1a57('0x16')](_0x4d44c7=>_0x4d44c7[_0x1a57('0x17')]==_0x2f24fa);return _0x352234+'\x20('+(_0x2a782e?_0x50c802(_0x2a782e[_0x1a57('0x32')])[_0x1a57('0x29')]():_0x2f24fa)+')';}return _0x352234+'\x20('+_0x2f24fa+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4598=['editor','paragraph','HeadingEditing','TrackChangesEditing','afterInit','getSelectedBlocks','plugins','isObject','has','match','ELEMENT_HEADING_CUSTOM','heading','registerDescriptionCallback','checkChild','filter','formatBlock','commandName','format','model','parent','ELEMENT_HEADING','blockName','enableCommand','title','locale','_descriptionFactory','markBlockFormat','from','document','*Change\x20to:*\x20%0','config'];(function(_0x17a99d,_0x459837){const _0x171c35=function(_0x46319d){while(--_0x46319d){_0x17a99d['push'](_0x17a99d['shift']());}};_0x171c35(++_0x459837);}(_0x4598,0xc7));const _0x171c=function(_0x17a99d,_0x459837){_0x17a99d=_0x17a99d-0x0;let _0x171c35=_0x4598[_0x17a99d];return _0x171c35;};import{Plugin as _0x555329}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2bddd5}from'./utils';import{getTranslation as _0x151a1c}from'../utils/common-translations';export default class J extends _0x555329{[_0x171c('0x16')](){const _0x5dbb05=this['editor'],_0x3f08d0=_0x5dbb05[_0x171c('0xb')],_0x13e0aa=_0x5dbb05[_0x171c('0x11')]['get']('heading.options');if(!_0x5dbb05['plugins'][_0x171c('0x1a')](_0x171c('0x14')))return;const _0x598f47=_0x5dbb05[_0x171c('0x18')]['get'](_0x171c('0x15'));_0x598f47[_0x171c('0x9')](_0x171c('0x1d'),(_0x10fd4f,_0x50f22d)=>{const _0x27691f=_0x50f22d['value'],_0x2cdbb3=Array[_0x171c('0xe')](this['editor']['model'][_0x171c('0xf')]['selection'][_0x171c('0x17')]())[_0x171c('0x1')](_0x103f67=>function(_0x441b5a,_0x550ab5,_0x3f255a){return _0x3f255a[_0x171c('0x0')](_0x441b5a[_0x171c('0x6')],_0x550ab5)&&!_0x3f255a[_0x171c('0x19')](_0x441b5a)&&_0x441b5a['name']!=_0x550ab5;}(_0x103f67,_0x27691f,this[_0x171c('0x12')][_0x171c('0x5')]['schema']));_0x5dbb05['model']['change'](()=>{for(const _0x12b4ac of _0x2cdbb3)_0x598f47[_0x171c('0xd')](_0x12b4ac,{'commandName':'heading','commandParams':[_0x50f22d],'formatGroupId':_0x171c('0x8')},_0x2bddd5(_0x12b4ac));});});for(const _0x46a3e3 of _0x13e0aa)_0x171c('0x13')!=_0x46a3e3[_0x171c('0x5')]&&_0x598f47[_0x171c('0xc')]['registerElementLabel'](_0x46a3e3[_0x171c('0x5')],_0x4f600d=>{const _0x5ef956=nn(_0x46a3e3['model']);return null!==_0x5ef956?_0x11b9a5(_0x4f600d,_0x5ef956):_0x2da851(_0x4f600d,_0x46a3e3[_0x171c('0xa')]);});function _0x11b9a5(_0x899674,_0x38d109){return _0x151a1c(_0x3f08d0,_0x171c('0x7'),[_0x899674,_0x38d109]);}function _0x2da851(_0x51efcc,_0x46315c){return _0x151a1c(_0x3f08d0,_0x171c('0x1c'),[_0x51efcc,_0x46315c]);}_0x598f47['_descriptionFactory'][_0x171c('0x1e')](_0x207bfb=>{const {type:_0x4b5f4d,data:_0xed1495}=_0x207bfb;if(_0x171c('0x2')==_0x4b5f4d&&_0xed1495&&_0x171c('0x1d')==_0xed1495[_0x171c('0x3')]){const _0x435759=_0xed1495['commandParams'][0x0]['value'],_0x58c4ab=nn(_0x435759);if(null!==_0x58c4ab)return{'type':_0x171c('0x4'),'content':_0x151a1c(_0x3f08d0,_0x171c('0x10'),_0x11b9a5(0x1,_0x58c4ab))};const _0x45f5e9=_0x13e0aa['find'](_0x2515b4=>_0x2515b4['model']===_0x435759)['title'];return{'type':_0x171c('0x4'),'content':_0x151a1c(_0x3f08d0,'*Change\x20to:*\x20%0',_0x2da851(0x1,_0x45f5e9))};}});}}function nn(_0x3552ee){const _0x55f1f4=_0x3552ee[_0x171c('0x1b')](/^heading(\d+)$/);return _0x55f1f4?_0x55f1f4[0x1]:null;}
23
+ const _0x3920=['format','registerDescriptionCallback','commandParams','config','registerElementLabel','checkChild','name','plugins','TrackChangesEditing','match','*Change\x20to:*\x20%0','heading.options','change','ELEMENT_HEADING_CUSTOM','heading','enableCommand','_descriptionFactory','commandName','markBlockFormat','get','model','title','find','selection','locale','has','filter','ELEMENT_HEADING','parent','editor','value','formatBlock','afterInit','paragraph'];(function(_0x5a114f,_0x3920f4){const _0x58ff41=function(_0x1ea556){while(--_0x1ea556){_0x5a114f['push'](_0x5a114f['shift']());}};_0x58ff41(++_0x3920f4);}(_0x3920,0x1de));const _0x58ff=function(_0x5a114f,_0x3920f4){_0x5a114f=_0x5a114f-0x0;let _0x58ff41=_0x3920[_0x5a114f];return _0x58ff41;};import{Plugin as _0x376446}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1c7446}from'./utils';import{getTranslation as _0x2f103f}from'../utils/common-translations';export default class J extends _0x376446{[_0x58ff('0x1e')](){const _0x38a94b=this[_0x58ff('0x1b')],_0x389c06=_0x38a94b[_0x58ff('0x16')],_0x2107d7=_0x38a94b[_0x58ff('0x1')][_0x58ff('0x11')](_0x58ff('0x9'));if(!_0x38a94b[_0x58ff('0x5')][_0x58ff('0x17')]('HeadingEditing'))return;const _0x2a2212=_0x38a94b['plugins'][_0x58ff('0x11')](_0x58ff('0x6'));_0x2a2212[_0x58ff('0xd')](_0x58ff('0xc'),(_0x2e365b,_0x2b60d7)=>{const _0x3e8f09=_0x2b60d7[_0x58ff('0x1c')],_0x3da8a7=Array['from'](this[_0x58ff('0x1b')][_0x58ff('0x12')]['document'][_0x58ff('0x15')]['getSelectedBlocks']())[_0x58ff('0x18')](_0x416bb1=>function(_0x192072,_0x15c0fc,_0x29b5c9){return _0x29b5c9[_0x58ff('0x3')](_0x192072[_0x58ff('0x1a')],_0x15c0fc)&&!_0x29b5c9['isObject'](_0x192072)&&_0x192072[_0x58ff('0x4')]!=_0x15c0fc;}(_0x416bb1,_0x3e8f09,this[_0x58ff('0x1b')][_0x58ff('0x12')]['schema']));_0x38a94b[_0x58ff('0x12')][_0x58ff('0xa')](()=>{for(const _0x1352be of _0x3da8a7)_0x2a2212[_0x58ff('0x10')](_0x1352be,{'commandName':_0x58ff('0xc'),'commandParams':[_0x2b60d7],'formatGroupId':'blockName'},_0x1c7446(_0x1352be));});});for(const _0x3f273b of _0x2107d7)_0x58ff('0x1f')!=_0x3f273b[_0x58ff('0x12')]&&_0x2a2212[_0x58ff('0xe')][_0x58ff('0x2')](_0x3f273b[_0x58ff('0x12')],_0x4a1964=>{const _0x535b56=nn(_0x3f273b[_0x58ff('0x12')]);return null!==_0x535b56?_0x14b1d2(_0x4a1964,_0x535b56):_0x2b067b(_0x4a1964,_0x3f273b[_0x58ff('0x13')]);});function _0x14b1d2(_0x4168dd,_0x3f9473){return _0x2f103f(_0x389c06,_0x58ff('0x19'),[_0x4168dd,_0x3f9473]);}function _0x2b067b(_0x30434a,_0x1fddf9){return _0x2f103f(_0x389c06,_0x58ff('0xb'),[_0x30434a,_0x1fddf9]);}_0x2a2212['_descriptionFactory'][_0x58ff('0x21')](_0x28205b=>{const {type:_0x2a6d42,data:_0x4c025}=_0x28205b;if(_0x58ff('0x1d')==_0x2a6d42&&_0x4c025&&_0x58ff('0xc')==_0x4c025[_0x58ff('0xf')]){const _0x164996=_0x4c025[_0x58ff('0x0')][0x0][_0x58ff('0x1c')],_0x3801ab=nn(_0x164996);if(null!==_0x3801ab)return{'type':_0x58ff('0x20'),'content':_0x2f103f(_0x389c06,_0x58ff('0x8'),_0x14b1d2(0x1,_0x3801ab))};const _0x569145=_0x2107d7[_0x58ff('0x14')](_0x51c423=>_0x51c423[_0x58ff('0x12')]===_0x164996)[_0x58ff('0x13')];return{'type':_0x58ff('0x20'),'content':_0x2f103f(_0x389c06,'*Change\x20to:*\x20%0',_0x2b067b(0x1,_0x569145))};}});}}function nn(_0x4bd665){const _0x4b163a=_0x4bd665[_0x58ff('0x7')](/^heading(\d+)$/);return _0x4b163a?_0x4b163a[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3931=['toLowerCase','plugins','registerDescriptionCallback','commandParams','getLastMatchingPosition','HighlightEditing','document','locale','color','getRanges','push','value','highlight.options','highlight','selection','backward','find','isCollapsed','config','FORMAT_HIGHLIGHT','*Set\x20highlight:*\x20%0','hasAttribute','*Remove\x20highlight*','change','model','getFirstPosition','markInlineFormat','get','enableCommand','afterInit','TrackChangesEditing'];(function(_0x381879,_0x39317b){const _0x32fbcf=function(_0x1a4387){while(--_0x1a4387){_0x381879['push'](_0x381879['shift']());}};_0x32fbcf(++_0x39317b);}(_0x3931,0x14f));const _0x32fb=function(_0x381879,_0x39317b){_0x381879=_0x381879-0x0;let _0x32fbcf=_0x3931[_0x381879];return _0x32fbcf;};import{Plugin as _0x32cba7}from'ckeditor5/src/core';import{getTranslation as _0x3ea41f}from'../utils/common-translations';import{getRangesWithAttribute as _0x32c0e9}from'./utils';export default class K extends _0x32cba7{[_0x32fb('0x4')](){const _0x20d2fb=this['editor'];if(!_0x20d2fb[_0x32fb('0x7')]['has'](_0x32fb('0xb')))return;const _0x3441ae=_0x20d2fb[_0x32fb('0x7')][_0x32fb('0x2')](_0x32fb('0x5'));_0x3441ae[_0x32fb('0x3')]('highlight',(_0x33d3cf,_0x4b3889={})=>{const _0x156e50=_0x20d2fb['model'][_0x32fb('0xc')][_0x32fb('0x14')],_0x6df8a2=_0x156e50['getAttribute'](_0x32fb('0x13'));let _0x157dfc=_0x4b3889['value'],_0x3f583c=[];if(_0x156e50[_0x32fb('0x17')]){const _0x4a7db5=_0x156e50[_0x32fb('0x0')]();if(!_0x156e50[_0x32fb('0x1b')]('highlight'))return void _0x33d3cf(_0x4b3889);{const _0x1c2cbc=_0x5d032c=>_0x5d032c['item']['getAttribute'](_0x32fb('0x13'))===_0x6df8a2,_0x5c30ba=_0x4a7db5['getLastMatchingPosition'](_0x1c2cbc,{'direction':_0x32fb('0x15')}),_0x3dd2b2=_0x4a7db5[_0x32fb('0xa')](_0x1c2cbc);_0x3f583c=[_0x20d2fb[_0x32fb('0x1e')]['createRange'](_0x5c30ba,_0x3dd2b2)],_0x157dfc==_0x6df8a2&&(_0x157dfc=null);}}else for(const _0x59c0b7 of _0x156e50[_0x32fb('0xf')]())_0x157dfc?_0x3f583c[_0x32fb('0x10')](_0x59c0b7):_0x3f583c['push'](..._0x32c0e9('highlight',_0x59c0b7,_0x20d2fb[_0x32fb('0x1e')]));_0x20d2fb[_0x32fb('0x1e')][_0x32fb('0x1d')](()=>{for(const _0x14e316 of _0x3f583c)_0x3441ae[_0x32fb('0x1')](_0x14e316,{'commandName':_0x32fb('0x13'),'commandParams':[{'value':_0x157dfc}]});});});const _0x2d27d1=_0x20d2fb[_0x32fb('0xd')];_0x3441ae['_descriptionFactory'][_0x32fb('0x8')](_0x2b3817=>{const {type:_0x4766fa,data:_0x5560b6}=_0x2b3817;if('formatInline'==_0x4766fa&&_0x5560b6&&_0x32fb('0x13')==_0x5560b6['commandName']){const _0xcb04ef=_0x2d27d1['t'],_0x20f924=_0x5560b6[_0x32fb('0x9')][0x0][_0x32fb('0x11')];if(_0x20f924){const _0x22775c=_0x20d2fb[_0x32fb('0x18')][_0x32fb('0x2')](_0x32fb('0x12'))[_0x32fb('0x16')](_0x25b6e6=>_0x25b6e6['model']==_0x20f924),_0x234fb1=_0xcb04ef(_0x22775c['title'])[_0x32fb('0x6')]();return{'type':'format','content':_0x3ea41f(_0x2d27d1,_0x32fb('0x1a'),_0x234fb1),'color':{'value':_0x22775c[_0x32fb('0xe')],'title':_0x22775c['title']}};}return{'type':'format','content':_0x3ea41f(_0x2d27d1,_0x32fb('0x1c'),_0x3ea41f(_0x2d27d1,_0x32fb('0x19')))};}});}}
23
+ const _0x2d18=['TrackChangesEditing','enableCommand','registerDescriptionCallback','locale','_descriptionFactory','color','push','value','getLastMatchingPosition','createRange','*Set\x20highlight:*\x20%0','commandParams','document','model','config','get','HighlightEditing','plugins','change','format','selection','isCollapsed','commandName','editor','formatInline','find','getAttribute','highlight','highlight.options','afterInit','toLowerCase','markInlineFormat'];(function(_0xc54479,_0x2d18c0){const _0x366649=function(_0x44b450){while(--_0x44b450){_0xc54479['push'](_0xc54479['shift']());}};_0x366649(++_0x2d18c0);}(_0x2d18,0x97));const _0x3666=function(_0xc54479,_0x2d18c0){_0xc54479=_0xc54479-0x0;let _0x366649=_0x2d18[_0xc54479];return _0x366649;};import{Plugin as _0x330db6}from'ckeditor5/src/core';import{getTranslation as _0x3525d7}from'../utils/common-translations';import{getRangesWithAttribute as _0x4e5cbe}from'./utils';export default class K extends _0x330db6{[_0x3666('0x6')](){const _0x4d63f5=this[_0x3666('0x0')];if(!_0x4d63f5[_0x3666('0x1a')]['has'](_0x3666('0x19')))return;const _0x1cf281=_0x4d63f5[_0x3666('0x1a')]['get'](_0x3666('0x9'));_0x1cf281[_0x3666('0xa')](_0x3666('0x4'),(_0x4432af,_0x1e36b5={})=>{const _0x1b1fce=_0x4d63f5[_0x3666('0x16')][_0x3666('0x15')][_0x3666('0x1d')],_0x49650f=_0x1b1fce[_0x3666('0x3')](_0x3666('0x4'));let _0x9ff7ef=_0x1e36b5[_0x3666('0x10')],_0x165afe=[];if(_0x1b1fce[_0x3666('0x1e')]){const _0x5b5680=_0x1b1fce['getFirstPosition']();if(!_0x1b1fce['hasAttribute']('highlight'))return void _0x4432af(_0x1e36b5);{const _0x508aff=_0x4b8c0d=>_0x4b8c0d['item'][_0x3666('0x3')](_0x3666('0x4'))===_0x49650f,_0x39e441=_0x5b5680[_0x3666('0x11')](_0x508aff,{'direction':'backward'}),_0x2a203b=_0x5b5680[_0x3666('0x11')](_0x508aff);_0x165afe=[_0x4d63f5[_0x3666('0x16')][_0x3666('0x12')](_0x39e441,_0x2a203b)],_0x9ff7ef==_0x49650f&&(_0x9ff7ef=null);}}else for(const _0x25469b of _0x1b1fce['getRanges']())_0x9ff7ef?_0x165afe['push'](_0x25469b):_0x165afe[_0x3666('0xf')](..._0x4e5cbe(_0x3666('0x4'),_0x25469b,_0x4d63f5[_0x3666('0x16')]));_0x4d63f5[_0x3666('0x16')][_0x3666('0x1b')](()=>{for(const _0x5ec261 of _0x165afe)_0x1cf281[_0x3666('0x8')](_0x5ec261,{'commandName':_0x3666('0x4'),'commandParams':[{'value':_0x9ff7ef}]});});});const _0x545e34=_0x4d63f5[_0x3666('0xc')];_0x1cf281[_0x3666('0xd')][_0x3666('0xb')](_0x4d2f17=>{const {type:_0x426759,data:_0x21465e}=_0x4d2f17;if(_0x3666('0x1')==_0x426759&&_0x21465e&&_0x3666('0x4')==_0x21465e[_0x3666('0x1f')]){const _0x1024e9=_0x545e34['t'],_0x50ca32=_0x21465e[_0x3666('0x14')][0x0][_0x3666('0x10')];if(_0x50ca32){const _0x290952=_0x4d63f5[_0x3666('0x17')][_0x3666('0x18')](_0x3666('0x5'))[_0x3666('0x2')](_0x4a25e9=>_0x4a25e9[_0x3666('0x16')]==_0x50ca32),_0x5e99a9=_0x1024e9(_0x290952['title'])[_0x3666('0x7')]();return{'type':_0x3666('0x1c'),'content':_0x3525d7(_0x545e34,_0x3666('0x13'),_0x5e99a9),'color':{'value':_0x290952[_0x3666('0xe')],'title':_0x290952['title']}};}return{'type':_0x3666('0x1c'),'content':_0x3525d7(_0x545e34,'*Remove\x20highlight*',_0x3525d7(_0x545e34,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d7a=['conversion','createPositionAt','_descriptionFactory','insert','enableCommand','afterInit','HorizontalLineEditing','ELEMENT_HORIZONTAL_LINE','createEmptyElement','elementToStructure','showSuggestionHighlights','addClass','get','plugins','registerElementLabel','horizontalLine','locale','div','ck-horizontal-line','dataDowncast','high'];(function(_0x2a6e90,_0x1d7abe){const _0x2ef3ef=function(_0x436adb){while(--_0x436adb){_0x2a6e90['push'](_0x2a6e90['shift']());}};_0x2ef3ef(++_0x1d7abe);}(_0x1d7a,0x116));const _0x2ef3=function(_0x2a6e90,_0x1d7abe){_0x2a6e90=_0x2a6e90-0x0;let _0x2ef3ef=_0x1d7a[_0x2a6e90];return _0x2ef3ef;};import{Plugin as _0x54111f}from'ckeditor5/src/core';import{getTranslation as _0x5756c8}from'../utils/common-translations';export default class Q extends _0x54111f{[_0x2ef3('0x0')](){const _0x5f15c1=this['editor'];if(!_0x5f15c1[_0x2ef3('0x8')]['has'](_0x2ef3('0x1')))return;_0x5f15c1[_0x2ef3('0x8')][_0x2ef3('0x7')]('TrackChangesEditing')[_0x2ef3('0x14')](_0x2ef3('0xa'));const _0x13c9b9=_0x5f15c1[_0x2ef3('0x8')][_0x2ef3('0x7')]('TrackChangesEditing'),_0x2b5d66=_0x5f15c1[_0x2ef3('0xb')];_0x13c9b9[_0x2ef3('0x12')][_0x2ef3('0x9')]('horizontalLine',_0x42a8d7=>_0x5756c8(_0x2b5d66,_0x2ef3('0x2'),_0x42a8d7)),_0x5f15c1[_0x2ef3('0x10')]['for'](_0x2ef3('0xe'))[_0x2ef3('0x4')]({'model':_0x2ef3('0xa'),'view':(_0x2f5294,{writer:_0x4ea339,options:_0x28edc6})=>{if(!_0x28edc6[_0x2ef3('0x5')])return null;const _0x3633d0=_0x4ea339['createContainerElement'](_0x2ef3('0xc')),_0x51ba06=_0x4ea339[_0x2ef3('0x3')]('hr');return _0x4ea339[_0x2ef3('0x6')](_0x2ef3('0xd'),_0x3633d0),_0x4ea339[_0x2ef3('0x13')](_0x4ea339[_0x2ef3('0x11')](_0x3633d0,0x0),_0x51ba06),_0x3633d0;},'converterPriority':_0x2ef3('0xf')});}}
23
+ const _0x20ff=['get','HorizontalLineEditing','ELEMENT_HORIZONTAL_LINE','conversion','editor','createContainerElement','createPositionAt','elementToStructure','locale','for','afterInit','registerElementLabel','horizontalLine','has','dataDowncast','_descriptionFactory','ck-horizontal-line','enableCommand','plugins','div','TrackChangesEditing','createEmptyElement'];(function(_0x64bb5a,_0x20ffa8){const _0x2d6fc9=function(_0x244703){while(--_0x244703){_0x64bb5a['push'](_0x64bb5a['shift']());}};_0x2d6fc9(++_0x20ffa8);}(_0x20ff,0x7e));const _0x2d6f=function(_0x64bb5a,_0x20ffa8){_0x64bb5a=_0x64bb5a-0x0;let _0x2d6fc9=_0x20ff[_0x64bb5a];return _0x2d6fc9;};import{Plugin as _0x20cb26}from'ckeditor5/src/core';import{getTranslation as _0xd3034c}from'../utils/common-translations';export default class Q extends _0x20cb26{[_0x2d6f('0x10')](){const _0x1c7ba3=this[_0x2d6f('0xa')];if(!_0x1c7ba3[_0x2d6f('0x2')][_0x2d6f('0x13')](_0x2d6f('0x7')))return;_0x1c7ba3[_0x2d6f('0x2')]['get'](_0x2d6f('0x4'))[_0x2d6f('0x1')]('horizontalLine');const _0x758aad=_0x1c7ba3[_0x2d6f('0x2')][_0x2d6f('0x6')](_0x2d6f('0x4')),_0x451ac0=_0x1c7ba3[_0x2d6f('0xe')];_0x758aad[_0x2d6f('0x15')][_0x2d6f('0x11')](_0x2d6f('0x12'),_0x1c46d5=>_0xd3034c(_0x451ac0,_0x2d6f('0x8'),_0x1c46d5)),_0x1c7ba3[_0x2d6f('0x9')][_0x2d6f('0xf')](_0x2d6f('0x14'))[_0x2d6f('0xd')]({'model':_0x2d6f('0x12'),'view':(_0x317702,{writer:_0x1f6ae3,options:_0x5b3f4d})=>{if(!_0x5b3f4d['showSuggestionHighlights'])return null;const _0x38fbc6=_0x1f6ae3[_0x2d6f('0xb')](_0x2d6f('0x3')),_0x5058d5=_0x1f6ae3[_0x2d6f('0x5')]('hr');return _0x1f6ae3['addClass'](_0x2d6f('0x0'),_0x38fbc6),_0x1f6ae3['insert'](_0x1f6ae3[_0x2d6f('0xc')](_0x38fbc6,0x0),_0x5058d5),_0x38fbc6;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d78=['format','ELEMENT_HTML_EMBED','locale','*Change\x20%0\x20content*','registerDescriptionCallback','TrackChangesEditing','rawHtml','commandName','_descriptionFactory','rawHtmlApi','plugins','value','model','editor','document','getSelectedElement','getAttribute','editing','markBlockFormat','enableCommand','view','htmlEmbed','cancel','change','HtmlEmbed'];(function(_0x57f821,_0x2d78bf){const _0x3d8e88=function(_0x2b707b){while(--_0x2b707b){_0x57f821['push'](_0x57f821['shift']());}};_0x3d8e88(++_0x2d78bf);}(_0x2d78,0x1d5));const _0x3d8e=function(_0x57f821,_0x2d78bf){_0x57f821=_0x57f821-0x0;let _0x3d8e88=_0x2d78[_0x57f821];return _0x3d8e88;};import{Plugin as _0x479e58}from'ckeditor5/src/core';import{getTranslation as _0x8d3908}from'../utils/common-translations';export default class V extends _0x479e58{['afterInit'](){const _0x3fce72=this[_0x3d8e('0x13')];if(!_0x3fce72[_0x3d8e('0x10')]['has'](_0x3d8e('0x5')))return;const _0x2aecf2=_0x3fce72[_0x3d8e('0x10')]['get'](_0x3d8e('0xb')),_0x55849d=_0x3fce72[_0x3d8e('0x8')],_0x1d9798=_0x3fce72[_0x3d8e('0x17')][_0x3d8e('0x1')][_0x3d8e('0x14')]['selection'];_0x2aecf2['_descriptionFactory']['registerElementLabel'](_0x3d8e('0xc'),_0x452aaf=>_0x8d3908(_0x55849d,_0x3d8e('0x7'),_0x452aaf)),_0x3fce72[_0x3d8e('0x10')]['get'](_0x3d8e('0xb'))[_0x3d8e('0x0')](_0x3d8e('0x2'),(_0x5eab23,_0x1b21a4)=>{const _0x306f0d=_0x3fce72[_0x3d8e('0x12')],_0x22005b=_0x306f0d[_0x3d8e('0x14')]['selection'];_0x306f0d[_0x3d8e('0x4')](()=>{const _0x9811a3=function(_0x165479){const _0x31b1e0=_0x165479['getSelectedElement']();if(_0x31b1e0&&_0x31b1e0['is']('element',_0x3d8e('0xc')))return _0x165479[_0x3d8e('0x15')]();return null;}(_0x22005b);if(!_0x9811a3)return void _0x5eab23(null);const _0x1b5d95=_0x9811a3[_0x3d8e('0x16')](_0x3d8e('0x11'))||'';if(void 0x0===_0x1b21a4)return;if(_0x1b21a4===_0x1b5d95)return;_0x2aecf2[_0x3d8e('0x18')](_0x9811a3,{'commandName':'htmlEmbed','commandParams':[_0x1b21a4]}),_0x1d9798['getSelectedElement']()['getCustomProperty'](_0x3d8e('0xf'))[_0x3d8e('0x3')]();});}),_0x2aecf2[_0x3d8e('0xe')][_0x3d8e('0xa')](_0xc513d8=>{const {data:_0x3f4fdd}=_0xc513d8;if(_0x3f4fdd&&_0x3d8e('0x2')==_0x3f4fdd[_0x3d8e('0xd')]){const _0x43c4a3=_0x8d3908(_0x55849d,_0x3d8e('0x7'));return{'type':_0x3d8e('0x6'),'content':_0x8d3908(_0x55849d,_0x3d8e('0x9'),_0x43c4a3)};}});}}
23
+ const _0x5d63=['htmlEmbed','model','format','selection','editor','getAttribute','getCustomProperty','rawHtml','_descriptionFactory','rawHtmlApi','afterInit','value','commandName','*Change\x20%0\x20content*','TrackChangesEditing','registerElementLabel','ELEMENT_HTML_EMBED','markBlockFormat','enableCommand','document','HtmlEmbed','getSelectedElement','plugins','view','has','get','editing','change'];(function(_0x173d8a,_0x5d63d8){const _0x1f0472=function(_0x5c8329){while(--_0x5c8329){_0x173d8a['push'](_0x173d8a['shift']());}};_0x1f0472(++_0x5d63d8);}(_0x5d63,0x6a));const _0x1f04=function(_0x173d8a,_0x5d63d8){_0x173d8a=_0x173d8a-0x0;let _0x1f0472=_0x5d63[_0x173d8a];return _0x1f0472;};import{Plugin as _0xf37ff8}from'ckeditor5/src/core';import{getTranslation as _0x5d1fc4}from'../utils/common-translations';export default class V extends _0xf37ff8{[_0x1f04('0x10')](){const _0x1f4013=this[_0x1f04('0xa')];if(!_0x1f4013[_0x1f04('0x0')][_0x1f04('0x2')](_0x1f04('0x1a')))return;const _0x148417=_0x1f4013[_0x1f04('0x0')][_0x1f04('0x3')](_0x1f04('0x14')),_0x3f6ed5=_0x1f4013['locale'],_0x22ebaf=_0x1f4013[_0x1f04('0x4')][_0x1f04('0x1')][_0x1f04('0x19')]['selection'];_0x148417['_descriptionFactory'][_0x1f04('0x15')](_0x1f04('0xd'),_0x5459ef=>_0x5d1fc4(_0x3f6ed5,_0x1f04('0x16'),_0x5459ef)),_0x1f4013[_0x1f04('0x0')]['get'](_0x1f04('0x14'))[_0x1f04('0x18')](_0x1f04('0x6'),(_0x52b277,_0x4e3e88)=>{const _0x4bc8a4=_0x1f4013[_0x1f04('0x7')],_0x26b847=_0x4bc8a4[_0x1f04('0x19')][_0x1f04('0x9')];_0x4bc8a4[_0x1f04('0x5')](()=>{const _0x5db1e9=function(_0x14b1e5){const _0x5a5e2e=_0x14b1e5[_0x1f04('0x1b')]();if(_0x5a5e2e&&_0x5a5e2e['is']('element',_0x1f04('0xd')))return _0x14b1e5[_0x1f04('0x1b')]();return null;}(_0x26b847);if(!_0x5db1e9)return void _0x52b277(null);const _0x3feb07=_0x5db1e9[_0x1f04('0xb')](_0x1f04('0x11'))||'';if(void 0x0===_0x4e3e88)return;if(_0x4e3e88===_0x3feb07)return;_0x148417[_0x1f04('0x17')](_0x5db1e9,{'commandName':_0x1f04('0x6'),'commandParams':[_0x4e3e88]}),_0x22ebaf[_0x1f04('0x1b')]()[_0x1f04('0xc')](_0x1f04('0xf'))['cancel']();});}),_0x148417[_0x1f04('0xe')]['registerDescriptionCallback'](_0xbaa5ed=>{const {data:_0x1076f7}=_0xbaa5ed;if(_0x1076f7&&_0x1f04('0x6')==_0x1076f7[_0x1f04('0x12')]){const _0x4919f1=_0x5d1fc4(_0x3f6ed5,_0x1f04('0x16'));return{'type':_0x1f04('0x8'),'content':_0x5d1fc4(_0x3f6ed5,_0x1f04('0x13'),_0x4919f1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3223=['getClosestSelectedImageElement','ImageResize','locale','newRange','markDeletion','refresh','registerElementLabel','_splitMarkerName','getCaptionFromImageModelElement','start','accept','insertion','resizeImage','find','commands','nodeBefore','convertInlineImageToBlock','getAttribute','join','registerCustomCallback','selection','isInlineImage','plugins','toLowerCase','getSuggestions','hasAttribute','imageCaption','insertImage','ImageUploadEditing','imageTextAlternative','ImageEditing','*Format:*\x20%0','imageInline','forceDefaultExecution','forward','createRange','side','ImageCaptionEditing','width','getSuggestionCallback','name','format','ImageBlockEditing','_suggestionFactory','toPrevious','commandName','next','markInlineFormat','registerPostFixer','Users','newValue','toggleImageCaption','has','imageTypeInline','markBlockFormat','model','TrackChangesEditing','getNearestSelectionRange','change','detach','end','createRangeOn','FORMAT_SIDE_IMAGE','*Remove\x20image\x20text\x20alternative*','isIntersecting','document','ELEMENT_IMAGE','isEqual','isOwn','forEach','ImageCaptionUtils','convertBlockImageToInline','_findSuggestions','ELEMENT_CAPTION','author','addObject','imageStylePreApply','normalizedStyles','imageStyle','type','length','isBlockImage','formatInline','ImageStyleEditing','imageBlock','isBefore','chain','registerDescriptionCallback','_descriptionFactory','enableCommand','removeObject','isCollapsed','commandParams','*Set\x20image\x20width:*\x20%0','schema','discard','suggestion','formatBlock','caption','imageStylePostApply','getSuggestion','ImageUtils','alt','fromPosition','subType','isInContent','commandReversedParams','ELEMENT_INLINE_IMAGE','value','discardSuggestion','get','getFirstRange','filter','title','nodeAfter','hasSuggestion','imageTypeBlock','findIndex'];(function(_0x401095,_0x322348){const _0x20b188=function(_0x484ca9){while(--_0x484ca9){_0x401095['push'](_0x401095['shift']());}};_0x20b188(++_0x322348);}(_0x3223,0x171));const _0x20b1=function(_0x401095,_0x322348){_0x401095=_0x401095-0x0;let _0x20b188=_0x3223[_0x401095];return _0x20b188;};import{Plugin as _0x3dfca5}from'ckeditor5/src/core';import{LivePosition as _0x50e095}from'ckeditor5/src/engine';import{uid as _0x1971e4}from'ckeditor5/src/utils';import{getTranslation as _0x3779f5}from'../utils/common-translations';export default class X extends _0x3dfca5{['afterInit'](){const _0x2bfae8=this['editor'];if(!_0x2bfae8['plugins']['has'](_0x20b1('0xf')))return;const _0x38e1e8=_0x2bfae8['plugins'][_0x20b1('0x5f')](_0x20b1('0x29')),_0x53939c=_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x5f')](_0x20b1('0x56')),_0x5f5160={},_0x3f413b=_0x2bfae8[_0x20b1('0x69')];if(_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0xc')),_0x38e1e8[_0x20b1('0x49')]['registerElementLabel'](_0x20b1('0x45'),_0x119b7d=>_0x3779f5(_0x3f413b,_0x20b1('0x33'),_0x119b7d)),_0x38e1e8['_descriptionFactory'][_0x20b1('0x6d')](_0x20b1('0x11'),_0x3b6586=>_0x3779f5(_0x3f413b,_0x20b1('0x5c'),_0x3b6586)),_0x38e1e8[_0x20b1('0x49')][_0x20b1('0x6d')]('caption',()=>_0x3779f5(_0x3f413b,_0x20b1('0x3a'))),_0x2bfae8['plugins']['has'](_0x20b1('0xd'))&&_0x38e1e8[_0x20b1('0x4a')]('uploadImage'),_0x2bfae8[_0x20b1('0x7')]['has'](_0x20b1('0x1b'))&&_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageInlineEditing')&&(_0x38e1e8[_0x20b1('0x4a')]('imageTypeInline',(_0x35157d,_0x513a7a)=>{const _0x475fb0=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]);_0x2bfae8['model'][_0x20b1('0x2b')](()=>{_0x38e1e8[_0x20b1('0x27')](_0x475fb0,{'commandName':'imageTypeInline','commandParams':[_0x513a7a]},[],_0x20b1('0x38'));});}),_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x65'),(_0x5032c0,_0x3860bc)=>{_0x2bfae8['model'][_0x20b1('0x2b')](_0x2e31d0=>{let _0x6c071=_0x53939c['getClosestSelectedImageElement'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x254bff=_0x2e31d0['createRangeOn'](_0x6c071);const _0x37f15b=_0x50e095[_0x20b1('0x58')](_0x254bff['start'],_0x20b1('0x1d')),_0x225297=_0x50e095['fromPosition'](_0x254bff[_0x20b1('0x2d')],'toNext');_0x38e1e8[_0x20b1('0x12')](()=>_0x5032c0(_0x3860bc)),_0x6c071=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')]['document'][_0x20b1('0x5')]),_0x254bff=_0x2e31d0[_0x20b1('0x2e')](_0x6c071);const _0x288ef6=_0x2e31d0[_0x20b1('0x14')](_0x37f15b,_0x225297);_0x37f15b[_0x20b1('0x2c')](),_0x225297[_0x20b1('0x2c')](),_0x38e1e8[_0x20b1('0x27')](_0x6c071,{'commandName':_0x20b1('0x26'),'commandParams':[]},[],_0x20b1('0x1')),_0x288ef6['start']['isBefore'](_0x254bff[_0x20b1('0x70')])&&_0x38e1e8['markInsertion'](_0x2e31d0[_0x20b1('0x14')](_0x288ef6[_0x20b1('0x70')],_0x254bff[_0x20b1('0x70')]),_0x20b1('0x1')),_0x254bff[_0x20b1('0x2d')][_0x20b1('0x46')](_0x288ef6['end'])&&_0x38e1e8['markInsertion'](_0x2e31d0[_0x20b1('0x14')](_0x254bff['end'],_0x288ef6[_0x20b1('0x2d')]),_0x20b1('0x1'));});}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')]('formatBlock',_0x20b1('0x1'),_0x20b1('0x3'),()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x1'),_0x20b1('0x71'),()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')]('formatBlock',_0x20b1('0x1'),_0x20b1('0x50'),_0x38e1e8['_suggestionFactory'][_0x20b1('0x18')](_0x20b1('0x52'),'',_0x20b1('0x71'))),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x72'),_0x20b1('0x1'),'join',()=>{}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback'](_0x20b1('0x72'),_0x20b1('0x1'),'discard',([_0x3bbbf5])=>{const _0x3fc45b=_0x38e1e8[_0x20b1('0x1c')]['getSuggestionCallback']('insertion','',_0x20b1('0x50'));let _0x2f40e0=_0x3bbbf5[_0x20b1('0x70')],_0x249870=_0x3bbbf5[_0x20b1('0x2d')];const _0x213a33=_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x4f')][_0x20b1('0x2a')](_0x2f40e0,'backward'),_0x5a6a39=_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x4f')][_0x20b1('0x2a')](_0x249870,_0x20b1('0x13'));_0x213a33['isCollapsed']&&(_0x2f40e0=_0x213a33['start']),_0x5a6a39[_0x20b1('0x4c')]&&(_0x249870=_0x5a6a39[_0x20b1('0x2d')]),_0x3fc45b([_0x2bfae8[_0x20b1('0x28')]['createRange'](_0x2f40e0,_0x249870)]);}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x1'),_0x20b1('0x47'),_0x73ad53),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x72'),_0x20b1('0x1'),'chain',_0x73ad53)),_0x2bfae8[_0x20b1('0x7')]['has'](_0x20b1('0x16'))&&(_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x24'),(_0x1ff802,_0x4baf2f)=>{const _0x21154a=_0x2bfae8['plugins']['get'](_0x20b1('0x37'));let _0x3a5171=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x31afa0=_0x21154a[_0x20b1('0x6f')](_0x3a5171);_0x2bfae8['model'][_0x20b1('0x2b')](()=>{if(_0x31afa0)return void _0x38e1e8[_0x20b1('0x6b')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2e')](_0x31afa0));const _0x29530c=_0x53939c[_0x20b1('0x42')](_0x3a5171);_0x1ff802(_0x4baf2f),_0x3a5171=_0x53939c[_0x20b1('0x67')](_0x2bfae8['model'][_0x20b1('0x32')][_0x20b1('0x5')]),_0x31afa0=_0x21154a[_0x20b1('0x6f')](_0x3a5171),_0x38e1e8['markInsertion'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2e')](_0x31afa0),_0x29530c?null:'imageCaption');});}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback']('insertion',_0x20b1('0xb'),_0x20b1('0x47'),_0x73ad53)),_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageStyleEditing')){_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x3f'),(_0x1c31aa,_0x29c9ec)=>{const _0x1bb4b0=_0x2bfae8['plugins'][_0x20b1('0x5f')](_0x20b1('0x22'))['me'],_0x59cd53=_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')]('imageStyle');let _0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x195edb=_0x2bfae8[_0x20b1('0x28')]['createRangeOn'](_0x57a512),_0x49b642=_0x59cd53[_0x20b1('0x5d')];if(_0x49b642==_0x29c9ec[_0x20b1('0x5d')])return;const _0x3679e2={'commandName':_0x20b1('0x3f'),'commandParams':[_0x29c9ec],'formatGroupId':_0x1971e4()};_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2b')](()=>{if(_0x38e1e8[_0x20b1('0x9')]()[_0x20b1('0x61')](_0x10aae2=>_0x10aae2[_0x20b1('0x5a')]&&_0x1bb4b0==_0x10aae2[_0x20b1('0x3b')]&&(_0x20b1('0x52')==_0x10aae2['type']||_0x20b1('0x43')==_0x10aae2[_0x20b1('0x40')])&&(_0x20b1('0x3d')==_0x10aae2[_0x20b1('0x59')]||'imageStylePostApply'==_0x10aae2[_0x20b1('0x59')])&&_0x10aae2['getFirstRange']()[_0x20b1('0x34')](_0x195edb))[_0x20b1('0x36')](_0x48d508=>_0x38e1e8[_0x20b1('0x5e')](_0x48d508['head'])),_0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),_0x195edb=_0x2bfae8[_0x20b1('0x28')]['createRangeOn'](_0x57a512),_0x59cd53[_0x20b1('0x6c')](),_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')](_0x20b1('0x26'))[_0x20b1('0x6c')](),_0x2bfae8[_0x20b1('0x75')][_0x20b1('0x5f')](_0x20b1('0x65'))[_0x20b1('0x6c')](),_0x49b642=_0x59cd53[_0x20b1('0x5d')],_0x49b642!=_0x29c9ec[_0x20b1('0x5d')])return _0x53939c[_0x20b1('0x6')](_0x57a512)&&_0x59cd53['shouldConvertImageType'](_0x29c9ec[_0x20b1('0x5d')],_0x57a512)?(_0x1c31aa(_0x29c9ec),_0x57a512=_0x53939c[_0x20b1('0x67')](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]),void _0x38e1e8[_0x20b1('0x27')](_0x57a512,{..._0x3679e2,'commandReversedParams':[{'value':_0x49b642||null}]},[],'imageStylePreApply')):void(_0x53939c[_0x20b1('0x42')](_0x57a512)?_0x38e1e8[_0x20b1('0x27')](_0x57a512,_0x3679e2,[],_0x20b1('0x54')):_0x38e1e8[_0x20b1('0x20')](_0x195edb,_0x3679e2,_0x20b1('0x54')));});});for(const _0x485d9c of _0x2bfae8[_0x20b1('0x7')][_0x20b1('0x5f')](_0x20b1('0x44'))[_0x20b1('0x3e')])_0x5f5160[_0x485d9c[_0x20b1('0x19')]]=_0x485d9c[_0x20b1('0x62')][_0x20b1('0x8')]();_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x52'),'imageStylePreApply',_0x20b1('0x3'),()=>{}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x54'),'join',()=>{}),_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x4')](_0x20b1('0x43'),_0x20b1('0x54'),_0x20b1('0x3'),()=>{}),_0x38e1e8[_0x20b1('0x1c')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x20b1('0x71'),()=>{}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x3d'),_0x20b1('0x50'),(_0x14f601,_0x510edf)=>{_0x38e1e8[_0x20b1('0x1c')][_0x20b1('0x18')](_0x20b1('0x52'),'','accept')(_0x14f601,{'commandName':_0x510edf['commandName'],'commandParams':_0x510edf[_0x20b1('0x5b')]});}),_0x38e1e8['_suggestionFactory'][_0x20b1('0x4')](_0x20b1('0x52'),_0x20b1('0x3d'),_0x20b1('0x47'),_0x73ad53);}const _0x303645=[{'type':_0x20b1('0x52'),'subType':_0x20b1('0x3d')},{'type':_0x20b1('0x72'),'subType':'imageCaption'},{'type':_0x20b1('0x52'),'subType':'convertInlineImageToBlock'},{'type':_0x20b1('0x72'),'subType':_0x20b1('0x1')}];function _0x5b620b(_0x135d16,_0x42b294){const _0x5784b8=_0x303645[_0x20b1('0x66')](({type:_0x4c4114,subType:_0x162335})=>_0x135d16[_0x20b1('0x40')]==_0x4c4114&&_0x135d16['subType']==_0x162335),_0x128e5e=_0x303645[_0x20b1('0x66')](({type:_0x2619b7,subType:_0x271516})=>_0x42b294['type']==_0x2619b7&&_0x42b294[_0x20b1('0x59')]==_0x271516);if(_0x5784b8<0x0||_0x128e5e<0x0)return!0x1;const _0x29ac99=_0x135d16['getFirstRange'](),_0x13e5a9=_0x42b294[_0x20b1('0x60')]();if((0x0==_0x5784b8||0x1==_0x5784b8)&&0x2==_0x128e5e&&_0x29ac99[_0x20b1('0x31')](_0x13e5a9))return!0x0;if(0x2==_0x5784b8&&0x3==_0x128e5e){const _0x8505f5=_0x38e1e8[_0x20b1('0x39')](_0x29ac99,_0x20b1('0x72'))[_0x20b1('0x61')](({suggestion:_0x3cd3a3,meta:_0x43df92})=>_0x43df92[_0x20b1('0x35')]&&_0x20b1('0x1')==_0x3cd3a3[_0x20b1('0x59')]);if(_0x8505f5[_0x20b1('0x41')]>0x1&&_0x13e5a9[_0x20b1('0x2d')][_0x20b1('0x34')](_0x29ac99[_0x20b1('0x70')]))return!0x0;if(0x1==_0x8505f5[_0x20b1('0x41')]&&(_0x29ac99[_0x20b1('0x70')][_0x20b1('0x34')](_0x13e5a9[_0x20b1('0x2d')])||_0x29ac99[_0x20b1('0x2d')]['isEqual'](_0x13e5a9[_0x20b1('0x70')])))return!0x0;}if(0x3==_0x5784b8&&0x3==_0x128e5e&&_0x29ac99['start']['isBefore'](_0x13e5a9[_0x20b1('0x70')])){const _0x592a59=_0x29ac99[_0x20b1('0x2d')][_0x20b1('0x63')],_0x1c512f=_0x13e5a9[_0x20b1('0x70')][_0x20b1('0x0')];return _0x53939c[_0x20b1('0x42')](_0x592a59)&&_0x592a59===_0x1c512f;}return!0x1;}function _0x73ad53(_0x4cd0f7,_0x415428){return _0x5b620b(_0x4cd0f7,_0x415428)?[_0x4cd0f7,_0x415428]:_0x5b620b(_0x415428,_0x4cd0f7)?[_0x415428,_0x4cd0f7]:null;}_0x2bfae8[_0x20b1('0x28')]['document'][_0x20b1('0x21')](()=>{let _0x298347=!0x1;const _0x267914=Array['from'](_0x2bfae8['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x259995,data:_0x3cde82}of _0x267914){const {group:_0x4dbcbe,type:_0x2b00ba,subType:_0x496ffc,id:_0x232005}=_0x38e1e8[_0x20b1('0x6e')](_0x259995);if(_0x20b1('0x51')==_0x4dbcbe&&_0x38e1e8[_0x20b1('0x64')](_0x232005)){if(_0x20b1('0x52')==_0x2b00ba&&(_0x20b1('0x3d')==_0x496ffc||_0x20b1('0x54')==_0x496ffc)){const _0x24519b=_0x38e1e8[_0x20b1('0x55')](_0x232005);if(_0x3cde82[_0x20b1('0x6a')]){const _0x534806=_0x24519b['getFirstRange']()['getContainedElement']();if(_0x53939c[_0x20b1('0x42')](_0x534806))continue;_0x38e1e8[_0x20b1('0x5e')](_0x24519b),_0x298347=!0x0;}}if(_0x20b1('0x72')==_0x2b00ba&&_0x20b1('0xb')==_0x496ffc&&!_0x3cde82['newRange']){const _0xd247e3=_0x38e1e8[_0x20b1('0x55')](_0x232005);_0xd247e3[_0x20b1('0x1f')]&&_0xd247e3[_0x20b1('0x1f')]['isInContent']&&(_0x38e1e8['discardSuggestion'](_0xd247e3[_0x20b1('0x1f')]),_0x298347=!0x0);}}}return _0x298347;}),_0x2bfae8['plugins']['has'](_0x20b1('0x68'))&&_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0x73'),(_0x2fcb6a,_0x3d016e)=>{const _0xfd9c4f=_0x53939c[_0x20b1('0x67')](_0x2bfae8['model'][_0x20b1('0x32')][_0x20b1('0x5')]);_0xfd9c4f[_0x20b1('0x2')]('width')!=_0x3d016e[_0x20b1('0x17')]&&_0x2bfae8[_0x20b1('0x28')]['change'](()=>{_0x38e1e8[_0x20b1('0x27')](_0xfd9c4f,{'commandName':_0x20b1('0x73'),'commandParams':[_0x3d016e]});});}),_0x2bfae8[_0x20b1('0x7')][_0x20b1('0x25')]('ImageTextAlternativeEditing')&&_0x38e1e8[_0x20b1('0x4a')](_0x20b1('0xe'),(_0x153cf1,_0x561676)=>{const _0x2fc1f4=_0x53939c['getClosestSelectedImageElement'](_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x32')][_0x20b1('0x5')]);(_0x2fc1f4[_0x20b1('0xa')](_0x20b1('0x57'))?_0x2fc1f4['getAttribute'](_0x20b1('0x57')):'')!=_0x561676[_0x20b1('0x23')]&&_0x2bfae8[_0x20b1('0x28')][_0x20b1('0x2b')](()=>{_0x38e1e8[_0x20b1('0x27')](_0x2fc1f4,{'commandName':_0x20b1('0xe'),'commandParams':[_0x561676]});});}),_0x38e1e8['_descriptionFactory'][_0x20b1('0x48')](_0x5f72ea=>{if(!!_0x303645[_0x20b1('0x74')](({type:_0x505c86,subType:_0x7b71bf})=>_0x5f72ea['type']==_0x505c86&&_0x5f72ea[_0x20b1('0x59')]==_0x7b71bf))return _0x5f72ea['previous']?{}:void 0x0;}),_0x38e1e8[_0x20b1('0x49')]['registerDescriptionCallback'](_0x569336=>{if(_0x20b1('0x72')==_0x569336['type']||'deletion'==_0x569336[_0x20b1('0x40')]){const _0x3b81c1=_0x569336['getContainedElement']();if(_0x3b81c1&&_0x3b81c1['is']('element',_0x20b1('0x53')))return{'type':_0x20b1('0x72')==_0x569336[_0x20b1('0x40')]?_0x20b1('0x3c'):_0x20b1('0x4b'),'element':_0x3b81c1,'quantity':0x1};}}),_0x38e1e8[_0x20b1('0x49')][_0x20b1('0x48')](_0x409db2=>_0x20b1('0x52')==_0x409db2[_0x20b1('0x40')]&&_0x20b1('0x1')==_0x409db2['subType']?{'type':_0x20b1('0x1a'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x20b1('0x52')==_0x409db2['type']&&_0x20b1('0x38')==_0x409db2[_0x20b1('0x59')]?{'type':_0x20b1('0x1a'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x38e1e8['_descriptionFactory'][_0x20b1('0x48')](_0xc25646=>{const {data:_0x41c144}=_0xc25646;if(_0x41c144){if(_0x20b1('0x3f')==_0x41c144['commandName']){const _0x165cc6=_0x41c144[_0x20b1('0x4d')][0x0][_0x20b1('0x5d')];return _0x2e2759(_0x20b1('0x15')===_0x165cc6?_0x3779f5(_0x3f413b,_0x20b1('0x2f')):_0x5f5160[_0x165cc6]||_0x165cc6);}if('imageTextAlternative'==_0x41c144['commandName']){const _0x4d1705=_0x41c144[_0x20b1('0x4d')][0x0][_0x20b1('0x23')];return _0x4d1705?{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4d1705+'\x22')}:{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x30'))};}if('resizeImage'==_0x41c144[_0x20b1('0x1e')]){const _0x499f63=_0x41c144['commandParams'][0x0][_0x20b1('0x17')];return _0x499f63?{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x4e'),_0x499f63)}:{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,'*Reset\x20image\x20width*')};}}function _0x2e2759(_0x47062b){return{'type':_0x20b1('0x1a'),'content':_0x3779f5(_0x3f413b,_0x20b1('0x10'),_0x47062b)};}});}}
23
+ const _0x4d82=['registerDescriptionCallback','addObject','discard','toNext','has','side','Inline\x20image\x20to\x20block\x20image','caption','insertion','createRange','ImageCaptionEditing','getSuggestionCallback','commandName','isInContent','*Format:*\x20%0','deletion','refresh','getSuggestion','suggestion','nodeAfter','imageStylePostApply','next','Block\x20image\x20to\x20inline\x20image','discardSuggestion','toPrevious','*Remove\x20image\x20text\x20alternative*','differ','imageStyle','getClosestSelectedImageElement','title','*Reset\x20image\x20width*','isInlineImage','getAttribute','ImageResize','forceDefaultExecution','enableCommand','isBlockImage','afterInit','newRange','accept','formatInline','imageCaption','newValue','ImageBlockEditing','shouldConvertImageType','commandParams','getNearestSelectionRange','model','*Set\x20image\x20text\x20alternative:*\x20%0','imageBlock','isEqual','end','subType','_suggestionFactory','hasSuggestion','fromPosition','imageInline','backward','imageTextAlternative','ImageEditing','ELEMENT_INLINE_IMAGE','isBefore','plugins','author','registerElementLabel','markDeletion','normalizedStyles','registerCustomCallback','*Set\x20image\x20width:*\x20%0','imageTypeBlock','head','value','name','getContainedElement','resizeImage','convertBlockImageToInline','FORMAT_SIDE_IMAGE','getFirstRange','detach','convertInlineImageToBlock','insertImage','start','ELEMENT_IMAGE','format','from','_descriptionFactory','chain','Users','ImageInlineEditing','join','get','ELEMENT_CAPTION','selection','getCaptionFromImageModelElement','document','isCollapsed','findIndex','width','removeObject','markBlockFormat','type','alt','isIntersecting','createRangeOn','formatBlock','forEach','filter','change','getChangedMarkers','commands','_findSuggestions','imageTypeInline','element','_splitMarkerName','imageStylePreApply','nodeBefore','registerPostFixer','ImageStyleEditing'];(function(_0x377b0d,_0x4d8280){const _0x2fc7b2=function(_0x4d82b3){while(--_0x4d82b3){_0x377b0d['push'](_0x377b0d['shift']());}};_0x2fc7b2(++_0x4d8280);}(_0x4d82,0x14d));const _0x2fc7=function(_0x377b0d,_0x4d8280){_0x377b0d=_0x377b0d-0x0;let _0x2fc7b2=_0x4d82[_0x377b0d];return _0x2fc7b2;};import{Plugin as _0x5d2a3f}from'ckeditor5/src/core';import{LivePosition as _0x1bece3}from'ckeditor5/src/engine';import{uid as _0x5c66fa}from'ckeditor5/src/utils';import{getTranslation as _0x40b7f7}from'../utils/common-translations';export default class X extends _0x5d2a3f{[_0x2fc7('0x3a')](){const _0x15727b=this['editor'];if(!_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x50')))return;const _0x2773da=_0x15727b[_0x2fc7('0x53')]['get']('TrackChangesEditing'),_0x437f58=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')]('ImageUtils'),_0x79f187={},_0x182dd1=_0x15727b['locale'];if(_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x65')),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x55')](_0x2fc7('0x46'),_0x3b2a81=>_0x40b7f7(_0x182dd1,_0x2fc7('0x67'),_0x3b2a81)),_0x2773da['_descriptionFactory']['registerElementLabel'](_0x2fc7('0x4d'),_0x39f54d=>_0x40b7f7(_0x182dd1,_0x2fc7('0x51'),_0x39f54d)),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x55')]('caption',()=>_0x40b7f7(_0x182dd1,_0x2fc7('0x70'))),_0x15727b['plugins'][_0x2fc7('0x19')]('ImageUploadEditing')&&_0x2773da['enableCommand']('uploadImage'),_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x40'))&&_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x6d'))&&(_0x2773da[_0x2fc7('0x38')](_0x2fc7('0xe'),(_0x257b5f,_0x3e5fc9)=>{const _0x3b8d61=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]);_0x15727b[_0x2fc7('0x44')][_0x2fc7('0xa')](()=>{_0x2773da[_0x2fc7('0x2')](_0x3b8d61,{'commandName':_0x2fc7('0xe'),'commandParams':[_0x3e5fc9]},[],_0x2fc7('0x60'));});}),_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x5a'),(_0x10f649,_0x33bbbf)=>{_0x15727b[_0x2fc7('0x44')]['change'](_0x3c8939=>{let _0x381931=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x3821bb=_0x3c8939['createRangeOn'](_0x381931);const _0x4e6b9d=_0x1bece3[_0x2fc7('0x4c')](_0x3821bb[_0x2fc7('0x66')],_0x2fc7('0x2d')),_0x1a412f=_0x1bece3[_0x2fc7('0x4c')](_0x3821bb['end'],_0x2fc7('0x18'));_0x2773da[_0x2fc7('0x37')](()=>_0x10f649(_0x33bbbf)),_0x381931=_0x437f58['getClosestSelectedImageElement'](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')]['selection']),_0x3821bb=_0x3c8939[_0x2fc7('0x6')](_0x381931);const _0x1deafd=_0x3c8939[_0x2fc7('0x1e')](_0x4e6b9d,_0x1a412f);_0x4e6b9d[_0x2fc7('0x63')](),_0x1a412f[_0x2fc7('0x63')](),_0x2773da[_0x2fc7('0x2')](_0x381931,{'commandName':_0x2fc7('0xe'),'commandParams':[]},[],_0x2fc7('0x64')),_0x1deafd[_0x2fc7('0x66')][_0x2fc7('0x52')](_0x3821bb[_0x2fc7('0x66')])&&_0x2773da['markInsertion'](_0x3c8939[_0x2fc7('0x1e')](_0x1deafd[_0x2fc7('0x66')],_0x3821bb[_0x2fc7('0x66')]),_0x2fc7('0x64')),_0x3821bb['end']['isBefore'](_0x1deafd['end'])&&_0x2773da['markInsertion'](_0x3c8939[_0x2fc7('0x1e')](_0x3821bb[_0x2fc7('0x48')],_0x1deafd[_0x2fc7('0x48')]),_0x2fc7('0x64'));});}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),_0x2fc7('0x3c'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('formatBlock','convertInlineImageToBlock',_0x2fc7('0x17'),_0x2773da['_suggestionFactory']['getSuggestionCallback'](_0x2fc7('0x7'),'',_0x2fc7('0x3c'))),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x1d'),_0x2fc7('0x64'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('insertion',_0x2fc7('0x64'),'discard',([_0x40e4e0])=>{const _0x37ad61=_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x20')](_0x2fc7('0x1d'),'','discard');let _0x4448f0=_0x40e4e0[_0x2fc7('0x66')],_0x46a65d=_0x40e4e0[_0x2fc7('0x48')];const _0x13d616=_0x15727b[_0x2fc7('0x44')]['schema'][_0x2fc7('0x43')](_0x4448f0,_0x2fc7('0x4e')),_0x21d8fe=_0x15727b[_0x2fc7('0x44')]['schema'][_0x2fc7('0x43')](_0x46a65d,'forward');_0x13d616[_0x2fc7('0x74')]&&(_0x4448f0=_0x13d616[_0x2fc7('0x66')]),_0x21d8fe[_0x2fc7('0x74')]&&(_0x46a65d=_0x21d8fe[_0x2fc7('0x48')]),_0x37ad61([_0x15727b[_0x2fc7('0x44')]['createRange'](_0x4448f0,_0x46a65d)]);}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),'chain',_0x26c7a9),_0x2773da['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x2fc7('0x6b'),_0x26c7a9)),_0x15727b['plugins'][_0x2fc7('0x19')](_0x2fc7('0x1f'))&&(_0x2773da[_0x2fc7('0x38')]('toggleImageCaption',(_0x5d25be,_0x1c0fde)=>{const _0x4ef467=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')]('ImageCaptionUtils');let _0x484975=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x298ba1=_0x4ef467[_0x2fc7('0x72')](_0x484975);_0x15727b[_0x2fc7('0x44')]['change'](()=>{if(_0x298ba1)return void _0x2773da[_0x2fc7('0x56')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x298ba1));const _0x33ea79=_0x437f58[_0x2fc7('0x39')](_0x484975);_0x5d25be(_0x1c0fde),_0x484975=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x298ba1=_0x4ef467[_0x2fc7('0x72')](_0x484975),_0x2773da['markInsertion'](_0x15727b['model'][_0x2fc7('0x6')](_0x298ba1),_0x33ea79?null:_0x2fc7('0x3e'));});}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')](_0x2fc7('0x1d'),_0x2fc7('0x3e'),_0x2fc7('0x6b'),_0x26c7a9)),_0x15727b['plugins']['has'](_0x2fc7('0x14'))){_0x2773da[_0x2fc7('0x38')]('imageStyle',(_0x4b043e,_0x2d6ac4)=>{const _0x317bcb=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')](_0x2fc7('0x6c'))['me'],_0x50bb83=_0x15727b[_0x2fc7('0xc')][_0x2fc7('0x6f')]('imageStyle');let _0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x32e8b5=_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x129dc2),_0x52cba2=_0x50bb83[_0x2fc7('0x5c')];if(_0x52cba2==_0x2d6ac4[_0x2fc7('0x5c')])return;const _0x205755={'commandName':_0x2fc7('0x30'),'commandParams':[_0x2d6ac4],'formatGroupId':_0x5c66fa()};_0x15727b[_0x2fc7('0x44')]['change'](()=>{if(_0x2773da['getSuggestions']()[_0x2fc7('0x9')](_0x553c3d=>_0x553c3d[_0x2fc7('0x22')]&&_0x317bcb==_0x553c3d[_0x2fc7('0x54')]&&(_0x2fc7('0x7')==_0x553c3d[_0x2fc7('0x3')]||'formatInline'==_0x553c3d['type'])&&(_0x2fc7('0x11')==_0x553c3d[_0x2fc7('0x49')]||_0x2fc7('0x29')==_0x553c3d[_0x2fc7('0x49')])&&_0x553c3d[_0x2fc7('0x62')]()[_0x2fc7('0x47')](_0x32e8b5))[_0x2fc7('0x8')](_0x3a561f=>_0x2773da[_0x2fc7('0x2c')](_0x3a561f[_0x2fc7('0x5b')])),_0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x32e8b5=_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x129dc2),_0x50bb83[_0x2fc7('0x25')](),_0x15727b['commands'][_0x2fc7('0x6f')](_0x2fc7('0xe'))[_0x2fc7('0x25')](),_0x15727b[_0x2fc7('0xc')][_0x2fc7('0x6f')]('imageTypeBlock')[_0x2fc7('0x25')](),_0x52cba2=_0x50bb83[_0x2fc7('0x5c')],_0x52cba2!=_0x2d6ac4[_0x2fc7('0x5c')])return _0x437f58[_0x2fc7('0x34')](_0x129dc2)&&_0x50bb83[_0x2fc7('0x41')](_0x2d6ac4['value'],_0x129dc2)?(_0x4b043e(_0x2d6ac4),_0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')]['selection']),void _0x2773da[_0x2fc7('0x2')](_0x129dc2,{..._0x205755,'commandReversedParams':[{'value':_0x52cba2||null}]},[],_0x2fc7('0x11'))):void(_0x437f58[_0x2fc7('0x39')](_0x129dc2)?_0x2773da['markBlockFormat'](_0x129dc2,_0x205755,[],_0x2fc7('0x29')):_0x2773da['markInlineFormat'](_0x32e8b5,_0x205755,'imageStylePostApply'));});});for(const _0x194b25 of _0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')](_0x2fc7('0x14'))[_0x2fc7('0x57')])_0x79f187[_0x194b25[_0x2fc7('0x5d')]]=_0x194b25[_0x2fc7('0x32')]['toLowerCase']();_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x11'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('formatBlock',_0x2fc7('0x29'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x3d'),_0x2fc7('0x29'),_0x2fc7('0x6e'),()=>{}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')]('formatBlock','imageStylePreApply',_0x2fc7('0x3c'),()=>{}),_0x2773da['_suggestionFactory']['registerCustomCallback'](_0x2fc7('0x7'),_0x2fc7('0x11'),_0x2fc7('0x17'),(_0xbb0e1d,_0x297396)=>{_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x20')]('formatBlock','',_0x2fc7('0x3c'))(_0xbb0e1d,{'commandName':_0x297396[_0x2fc7('0x21')],'commandParams':_0x297396['commandReversedParams']});}),_0x2773da[_0x2fc7('0x4a')]['registerCustomCallback'](_0x2fc7('0x7'),'imageStylePreApply',_0x2fc7('0x6b'),_0x26c7a9);}const _0x5a01d2=[{'type':_0x2fc7('0x7'),'subType':_0x2fc7('0x11')},{'type':_0x2fc7('0x1d'),'subType':_0x2fc7('0x3e')},{'type':_0x2fc7('0x7'),'subType':_0x2fc7('0x64')},{'type':_0x2fc7('0x1d'),'subType':'convertInlineImageToBlock'}];function _0x982937(_0x2e2cc7,_0x4ac1a2){const _0x211adb=_0x5a01d2[_0x2fc7('0x75')](({type:_0x201e27,subType:_0x548ff1})=>_0x2e2cc7[_0x2fc7('0x3')]==_0x201e27&&_0x2e2cc7['subType']==_0x548ff1),_0x384ec7=_0x5a01d2[_0x2fc7('0x75')](({type:_0x3b0d12,subType:_0x4ff3ad})=>_0x4ac1a2[_0x2fc7('0x3')]==_0x3b0d12&&_0x4ac1a2[_0x2fc7('0x49')]==_0x4ff3ad);if(_0x211adb<0x0||_0x384ec7<0x0)return!0x1;const _0x18f172=_0x2e2cc7[_0x2fc7('0x62')](),_0x768f3=_0x4ac1a2['getFirstRange']();if((0x0==_0x211adb||0x1==_0x211adb)&&0x2==_0x384ec7&&_0x18f172[_0x2fc7('0x5')](_0x768f3))return!0x0;if(0x2==_0x211adb&&0x3==_0x384ec7){const _0x245ac7=_0x2773da[_0x2fc7('0xd')](_0x18f172,_0x2fc7('0x1d'))[_0x2fc7('0x9')](({suggestion:_0x2fad45,meta:_0x100e7f})=>_0x100e7f['isOwn']&&_0x2fc7('0x64')==_0x2fad45['subType']);if(_0x245ac7['length']>0x1&&_0x768f3[_0x2fc7('0x48')][_0x2fc7('0x47')](_0x18f172[_0x2fc7('0x66')]))return!0x0;if(0x1==_0x245ac7['length']&&(_0x18f172[_0x2fc7('0x66')][_0x2fc7('0x47')](_0x768f3[_0x2fc7('0x48')])||_0x18f172['end'][_0x2fc7('0x47')](_0x768f3['start'])))return!0x0;}if(0x3==_0x211adb&&0x3==_0x384ec7&&_0x18f172[_0x2fc7('0x66')]['isBefore'](_0x768f3[_0x2fc7('0x66')])){const _0x99160a=_0x18f172['end'][_0x2fc7('0x28')],_0x3d3ffa=_0x768f3[_0x2fc7('0x66')][_0x2fc7('0x12')];return _0x437f58[_0x2fc7('0x39')](_0x99160a)&&_0x99160a===_0x3d3ffa;}return!0x1;}function _0x26c7a9(_0x23ee50,_0x28d789){return _0x982937(_0x23ee50,_0x28d789)?[_0x23ee50,_0x28d789]:_0x982937(_0x28d789,_0x23ee50)?[_0x28d789,_0x23ee50]:null;}_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x13')](()=>{let _0x3920fb=!0x1;const _0x5cab9f=Array[_0x2fc7('0x69')](_0x15727b['model'][_0x2fc7('0x73')][_0x2fc7('0x2f')][_0x2fc7('0xb')]());for(const {name:_0x1e01c7,data:_0x2562d6}of _0x5cab9f){const {group:_0x2ae697,type:_0x29b787,subType:_0x36c9f6,id:_0x1c33cb}=_0x2773da[_0x2fc7('0x10')](_0x1e01c7);if(_0x2fc7('0x27')==_0x2ae697&&_0x2773da[_0x2fc7('0x4b')](_0x1c33cb)){if(_0x2fc7('0x7')==_0x29b787&&(_0x2fc7('0x11')==_0x36c9f6||_0x2fc7('0x29')==_0x36c9f6)){const _0xacd43f=_0x2773da[_0x2fc7('0x26')](_0x1c33cb);if(_0x2562d6[_0x2fc7('0x3b')]){const _0x3a2d19=_0xacd43f[_0x2fc7('0x62')]()[_0x2fc7('0x5e')]();if(_0x437f58['isBlockImage'](_0x3a2d19))continue;_0x2773da['discardSuggestion'](_0xacd43f),_0x3920fb=!0x0;}}if(_0x2fc7('0x1d')==_0x29b787&&_0x2fc7('0x3e')==_0x36c9f6&&!_0x2562d6[_0x2fc7('0x3b')]){const _0x386e97=_0x2773da['getSuggestion'](_0x1c33cb);_0x386e97['next']&&_0x386e97['next'][_0x2fc7('0x22')]&&(_0x2773da['discardSuggestion'](_0x386e97[_0x2fc7('0x2a')]),_0x3920fb=!0x0);}}}return _0x3920fb;}),_0x15727b['plugins'][_0x2fc7('0x19')](_0x2fc7('0x36'))&&_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x5f'),(_0x409647,_0x4345c2)=>{const _0x1b1ffa=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')]['document'][_0x2fc7('0x71')]);_0x1b1ffa[_0x2fc7('0x35')]('width')!=_0x4345c2[_0x2fc7('0x0')]&&_0x15727b[_0x2fc7('0x44')]['change'](()=>{_0x2773da[_0x2fc7('0x2')](_0x1b1ffa,{'commandName':_0x2fc7('0x5f'),'commandParams':[_0x4345c2]});});}),_0x15727b[_0x2fc7('0x53')]['has']('ImageTextAlternativeEditing')&&_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x4f'),(_0x124e1b,_0x3279ab)=>{const _0x209756=_0x437f58[_0x2fc7('0x31')](_0x15727b['model'][_0x2fc7('0x73')]['selection']);(_0x209756['hasAttribute'](_0x2fc7('0x4'))?_0x209756['getAttribute'](_0x2fc7('0x4')):'')!=_0x3279ab[_0x2fc7('0x3f')]&&_0x15727b[_0x2fc7('0x44')]['change'](()=>{_0x2773da[_0x2fc7('0x2')](_0x209756,{'commandName':_0x2fc7('0x4f'),'commandParams':[_0x3279ab]});});}),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x15')](_0x23be34=>{if(!!_0x5a01d2['find'](({type:_0x337d9b,subType:_0x5dd773})=>_0x23be34[_0x2fc7('0x3')]==_0x337d9b&&_0x23be34[_0x2fc7('0x49')]==_0x5dd773))return _0x23be34['previous']?{}:void 0x0;}),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x15')](_0x5d12bf=>{if('insertion'==_0x5d12bf['type']||_0x2fc7('0x24')==_0x5d12bf[_0x2fc7('0x3')]){const _0x2413a4=_0x5d12bf['getContainedElement']();if(_0x2413a4&&_0x2413a4['is'](_0x2fc7('0xf'),_0x2fc7('0x1c')))return{'type':_0x2fc7('0x1d')==_0x5d12bf[_0x2fc7('0x3')]?_0x2fc7('0x16'):_0x2fc7('0x1'),'element':_0x2413a4,'quantity':0x1};}}),_0x2773da[_0x2fc7('0x6a')]['registerDescriptionCallback'](_0x44f4b5=>_0x2fc7('0x7')==_0x44f4b5[_0x2fc7('0x3')]&&'convertInlineImageToBlock'==_0x44f4b5[_0x2fc7('0x49')]?{'type':'format','content':_0x2fc7('0x1b')}:_0x2fc7('0x7')==_0x44f4b5[_0x2fc7('0x3')]&&_0x2fc7('0x60')==_0x44f4b5['subType']?{'type':'format','content':_0x2fc7('0x2b')}:void 0x0),_0x2773da[_0x2fc7('0x6a')]['registerDescriptionCallback'](_0x3af40f=>{const {data:_0x570611}=_0x3af40f;if(_0x570611){if('imageStyle'==_0x570611[_0x2fc7('0x21')]){const _0x4be0d9=_0x570611['commandParams'][0x0]['value'];return _0x2332b5(_0x2fc7('0x1a')===_0x4be0d9?_0x40b7f7(_0x182dd1,_0x2fc7('0x61')):_0x79f187[_0x4be0d9]||_0x4be0d9);}if(_0x2fc7('0x4f')==_0x570611[_0x2fc7('0x21')]){const _0x137cb7=_0x570611[_0x2fc7('0x42')][0x0][_0x2fc7('0x3f')];return _0x137cb7?{'type':'format','content':_0x40b7f7(_0x182dd1,_0x2fc7('0x45'),'\x22'+_0x137cb7+'\x22')}:{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x2e'))};}if(_0x2fc7('0x5f')==_0x570611[_0x2fc7('0x21')]){const _0x3d0e66=_0x570611[_0x2fc7('0x42')][0x0][_0x2fc7('0x0')];return _0x3d0e66?{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x59'),_0x3d0e66)}:{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x33'))};}}function _0x2332b5(_0xb1cbce){return{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x23'),_0xb1cbce)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcd53=['selection','src','enableCommand','handleReplaceImageCommand','replaceImageSource','registerCustomCallback','_descriptionFactory','get','change','afterInit','handleSuggestionDescription','commandParams','Users','_suggestionFactory','*Format:*\x20replace\x20image\x20URL','subType','model','formatBlock','getSuggestions','format','getContainedElement','registerDescriptionCallback','getAttribute','TrackChangesEditing','plugins','getSelectedElement','locale','data','discard','author','getSuggestionCallback','document','editor','accept','has'];(function(_0x327ada,_0xcd53e3){const _0x3d6c1d=function(_0x82a46e){while(--_0x82a46e){_0x327ada['push'](_0x327ada['shift']());}};_0x3d6c1d(++_0xcd53e3);}(_0xcd53,0x138));const _0x3d6c=function(_0x327ada,_0xcd53e3){_0x327ada=_0x327ada-0x0;let _0x3d6c1d=_0xcd53[_0x327ada];return _0x3d6c1d;};import{Plugin as _0x1be4b3}from'ckeditor5/src/core';import{getTranslation as _0x2f4df8}from'../utils/common-translations';export default class Y extends _0x1be4b3{[_0x3d6c('0xc')](){if(!this[_0x3d6c('0x0')]['plugins'][_0x3d6c('0x2')]('ImageEditing'))return;const _0x1a684c=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0x1a'));_0x1a684c[_0x3d6c('0x5')](_0x3d6c('0x7'),(_0x4b7e70,_0x5dedb4)=>this[_0x3d6c('0x6')](_0x4b7e70,_0x5dedb4)),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x8')](_0x3d6c('0x14'),_0x3d6c('0x7'),_0x3d6c('0x1'),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1f'))),_0x1a684c['_suggestionFactory'][_0x3d6c('0x8')]('formatBlock',_0x3d6c('0x7'),'discard',_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1'))),_0x1a684c[_0x3d6c('0x9')][_0x3d6c('0x18')](_0x5eed26=>this[_0x3d6c('0xd')](_0x5eed26));}[_0x3d6c('0x6')](_0x1f9026,_0x737398){const _0x371a81=this[_0x3d6c('0x0')][_0x3d6c('0x1b')]['get'](_0x3d6c('0x1a')),_0x35373e=this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0x22')][_0x3d6c('0x3')][_0x3d6c('0x1c')]();this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0xb')](()=>{let _0x389b45=_0x35373e[_0x3d6c('0x19')](_0x3d6c('0x4'));const _0x11dc2b=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0xf'))['me'];for(const _0x1c7054 of _0x371a81[_0x3d6c('0x15')]({'skipNotAttached':!0x0})){const _0x219c89=_0x1c7054[_0x3d6c('0x17')]();if(_0x3d6c('0x7')===_0x1c7054[_0x3d6c('0x12')]&&_0x219c89===_0x35373e){_0x1c7054[_0x3d6c('0x20')]!==_0x11dc2b&&_0x1c7054[_0x3d6c('0x1f')](),_0x389b45=_0x1c7054[_0x3d6c('0x1e')][_0x3d6c('0xe')][0x0]['source'];break;}}_0x1f9026(_0x737398),_0x371a81['markBlockFormat'](_0x35373e,{'commandName':'replaceImageSource','commandParams':[{'source':_0x389b45}]},[],_0x3d6c('0x7'));});}['handleSuggestionDescription'](_0x731373){const {data:_0x5b69e9}=_0x731373;if(_0x5b69e9&&_0x3d6c('0x7')===_0x5b69e9['commandName']){const _0x126ae5=_0x3d6c('0x11');return{'type':_0x3d6c('0x16'),'content':_0x2f4df8(this[_0x3d6c('0x0')][_0x3d6c('0x1d')],_0x126ae5)};}}}
23
+ const _0xcb78=['plugins','data','author','editor','getContainedElement','getSuggestionCallback','has','handleSuggestionDescription','TrackChangesEditing','change','model','registerCustomCallback','handleReplaceImageCommand','ImageEditing','accept','registerDescriptionCallback','_suggestionFactory','src','discard','locale','replaceImageSource','markBlockFormat','enableCommand','source','commandParams','_descriptionFactory','get','formatBlock'];(function(_0x479fa2,_0xcb78c6){const _0x52ef81=function(_0x4a0731){while(--_0x4a0731){_0x479fa2['push'](_0x479fa2['shift']());}};_0x52ef81(++_0xcb78c6);}(_0xcb78,0x191));const _0x52ef=function(_0x479fa2,_0xcb78c6){_0x479fa2=_0x479fa2-0x0;let _0x52ef81=_0xcb78[_0x479fa2];return _0x52ef81;};import{Plugin as _0x710c78}from'ckeditor5/src/core';import{getTranslation as _0x1b5aac}from'../utils/common-translations';export default class Y extends _0x710c78{['afterInit'](){if(!this['editor']['plugins'][_0x52ef('0x19')](_0x52ef('0x4')))return;const _0x16cbc3=this[_0x52ef('0x16')][_0x52ef('0x13')]['get']('TrackChangesEditing');_0x16cbc3[_0x52ef('0xd')](_0x52ef('0xb'),(_0xfcbd3a,_0xf7aabc)=>this[_0x52ef('0x3')](_0xfcbd3a,_0xf7aabc)),_0x16cbc3[_0x52ef('0x7')][_0x52ef('0x2')](_0x52ef('0x12'),_0x52ef('0xb'),'accept',_0x16cbc3[_0x52ef('0x7')][_0x52ef('0x18')](_0x52ef('0x12'),null,_0x52ef('0x9'))),_0x16cbc3['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x16cbc3['_suggestionFactory'][_0x52ef('0x18')](_0x52ef('0x12'),null,_0x52ef('0x5'))),_0x16cbc3[_0x52ef('0x10')][_0x52ef('0x6')](_0x5be4c4=>this[_0x52ef('0x1a')](_0x5be4c4));}[_0x52ef('0x3')](_0x3eb745,_0x37e66e){const _0x416236=this[_0x52ef('0x16')]['plugins'][_0x52ef('0x11')](_0x52ef('0x1b')),_0x3597bb=this[_0x52ef('0x16')][_0x52ef('0x1')]['document']['selection']['getSelectedElement']();this[_0x52ef('0x16')]['model'][_0x52ef('0x0')](()=>{let _0x216ba7=_0x3597bb['getAttribute'](_0x52ef('0x8'));const _0x41b78f=this[_0x52ef('0x16')][_0x52ef('0x13')][_0x52ef('0x11')]('Users')['me'];for(const _0x5ee859 of _0x416236['getSuggestions']({'skipNotAttached':!0x0})){const _0x2f7d11=_0x5ee859[_0x52ef('0x17')]();if(_0x52ef('0xb')===_0x5ee859['subType']&&_0x2f7d11===_0x3597bb){_0x5ee859[_0x52ef('0x15')]!==_0x41b78f&&_0x5ee859[_0x52ef('0x9')](),_0x216ba7=_0x5ee859[_0x52ef('0x14')][_0x52ef('0xf')][0x0][_0x52ef('0xe')];break;}}_0x3eb745(_0x37e66e),_0x416236[_0x52ef('0xc')](_0x3597bb,{'commandName':_0x52ef('0xb'),'commandParams':[{'source':_0x216ba7}]},[],'replaceImageSource');});}[_0x52ef('0x1a')](_0x149bd3){const {data:_0x2cd018}=_0x149bd3;if(_0x2cd018&&'replaceImageSource'===_0x2cd018['commandName']){const _0x594c51='*Format:*\x20replace\x20image\x20URL';return{'type':'format','content':_0x1b5aac(this[_0x52ef('0x16')][_0x52ef('0xa')],_0x594c51)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4611=['lowest','trackChanges','enableCommand','_setSuggestionData','_trackChangesExecuted','execute','value','afterInit','bind','importWord','TrackChangesEditing','collaboration_features','dataInsert','track_changes','commands','_trackChangesValueDuringImport','_handleImportedData','forEach','get','plugins','listenTo','editor','high'];(function(_0x324227,_0x46118d){const _0xad4452=function(_0x3dd5b8){while(--_0x3dd5b8){_0x324227['push'](_0x324227['shift']());}};_0xad4452(++_0x46118d);}(_0x4611,0x137));const _0xad44=function(_0x324227,_0x46118d){_0x324227=_0x324227-0x0;let _0xad4452=_0x4611[_0x324227];return _0xad4452;};import{Plugin as _0x40d71c}from'ckeditor5/src/core';export default class Z extends _0x40d71c{constructor(_0x200dd0){super(_0x200dd0),this[_0xad44('0x3')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0xad44('0x12')](){const _0x2da6b2=this[_0xad44('0x9')],_0x43b89b=_0x2da6b2[_0xad44('0x2')]['get'](_0xad44('0x14')),_0x55952d=_0x2da6b2[_0xad44('0x2')][_0xad44('0x6')]('trackChanges');_0x43b89b&&(_0x43b89b['on'](_0xad44('0x10'),(_0x27b1c9,[,_0x18297d])=>{this[_0xad44('0x3')]=_0x55952d[_0xad44('0x11')],_0x18297d[_0xad44('0x16')][_0xad44('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0xad44('0xa')}),this['listenTo'](_0x43b89b,_0xad44('0x0'),this[_0xad44('0x4')][_0xad44('0x13')](this)),this[_0xad44('0x8')](_0x43b89b,_0xad44('0x0'),()=>{this[_0xad44('0xf')]&&(_0x55952d[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x1);},{'priority':_0xad44('0xb')}),_0x2da6b2['plugins']['get']('TrackChangesEditing')[_0xad44('0xd')]('importWord'));}[_0xad44('0x4')](_0x47b2df,_0x8447df){const {suggestions:_0x3ae1d7}=_0x8447df,_0x6595df=this['editor'][_0xad44('0x2')][_0xad44('0x6')](_0xad44('0xc')),_0x2da3c0=_0x6595df[_0xad44('0x11')];this['_trackChangesValueDuringImport']!==_0x2da3c0&&(_0x6595df[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x0),_0x3ae1d7&&_0x3ae1d7[_0xad44('0x5')](({id:_0x5d2a67,type:_0x54bf3e,author:_0x25f509,created_at:_0x4c1dcb})=>{const _0x1ffe7b={'id':_0x5d2a67,'type':_0x54bf3e,'authorId':this[_0xad44('0x9')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25f509,'createdAt':_0x4c1dcb?new Date(_0x4c1dcb):new Date(),'source':'importWord'}}};this[_0xad44('0x9')][_0xad44('0x7')]['get'](_0xad44('0x15'))[_0xad44('0xe')](_0x1ffe7b);});}}
23
+ const _0x5cef=['dataInsert','get','editor','_trackChangesValueDuringImport','track_changes','execute','high','Users','TrackChangesEditing','commands','trackChanges','_handleImportedData','_trackChangesExecuted','value','afterInit','lowest','collaboration_features','importWord','plugins','listenTo'];(function(_0x4cfe02,_0x5cef2a){const _0x42d62d=function(_0x30775d){while(--_0x30775d){_0x4cfe02['push'](_0x4cfe02['shift']());}};_0x42d62d(++_0x5cef2a);}(_0x5cef,0x1a7));const _0x42d6=function(_0x4cfe02,_0x5cef2a){_0x4cfe02=_0x4cfe02-0x0;let _0x42d62d=_0x5cef[_0x4cfe02];return _0x42d62d;};import{Plugin as _0x17fed3}from'ckeditor5/src/core';export default class Z extends _0x17fed3{constructor(_0x2cb20a){super(_0x2cb20a),this[_0x42d6('0x0')]=!0x1,this[_0x42d6('0x9')]=!0x1;}[_0x42d6('0xb')](){const _0xd922f=this['editor'],_0x3283ce=_0xd922f[_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0xe')),_0x3aaa15=_0xd922f[_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0x7'));_0x3283ce&&(_0x3283ce['on'](_0x42d6('0x2'),(_0x3ff0b6,[,_0x155458])=>{this[_0x42d6('0x0')]=_0x3aaa15[_0x42d6('0xa')],_0x155458[_0x42d6('0xd')][_0x42d6('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x42d6('0x3')}),this[_0x42d6('0x10')](_0x3283ce,_0x42d6('0x11'),this['_handleImportedData']['bind'](this)),this[_0x42d6('0x10')](_0x3283ce,_0x42d6('0x11'),()=>{this[_0x42d6('0x9')]&&(_0x3aaa15[_0x42d6('0x2')](),this[_0x42d6('0x9')]=!0x1);},{'priority':_0x42d6('0xc')}),_0xd922f[_0x42d6('0xf')]['get'](_0x42d6('0x5'))['enableCommand']('importWord'));}[_0x42d6('0x8')](_0x1a48d4,_0x125f8f){const {suggestions:_0x24521a}=_0x125f8f,_0x3532a5=this[_0x42d6('0x13')][_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0x7')),_0x507638=_0x3532a5[_0x42d6('0xa')];this[_0x42d6('0x0')]!==_0x507638&&(_0x3532a5['execute'](),this[_0x42d6('0x9')]=!0x0),_0x24521a&&_0x24521a['forEach'](({id:_0x100295,type:_0x3110e9,author:_0x1503e5,created_at:_0x5f5872})=>{const _0x1f2046={'id':_0x100295,'type':_0x3110e9,'authorId':this[_0x42d6('0x13')]['plugins'][_0x42d6('0x12')](_0x42d6('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1503e5,'createdAt':_0x5f5872?new Date(_0x5f5872):new Date(),'source':_0x42d6('0xe')}}};this[_0x42d6('0x13')][_0x42d6('0xf')]['get']('TrackChangesEditing')['_setSuggestionData'](_0x1f2046);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10b9=['model','commandName','IndentEditing','editor','selection','get','indentBlock','has','*Indent:*\x20%0','outdentBlock','change','schema','filter','checkAttribute','*Outdent:*\x20%0','afterInit','markBlockFormat','format','from','registerDescriptionCallback','_descriptionFactory','IndentBlock','locale','enableCommand','blockIndent','outdent','plugins'];(function(_0x3acb04,_0x10b997){const _0x23cea8=function(_0x583b5e){while(--_0x583b5e){_0x3acb04['push'](_0x3acb04['shift']());}};_0x23cea8(++_0x10b997);}(_0x10b9,0x15b));const _0x23ce=function(_0x3acb04,_0x10b997){_0x3acb04=_0x3acb04-0x0;let _0x23cea8=_0x10b9[_0x3acb04];return _0x23cea8;};import{Plugin as _0x587805}from'ckeditor5/src/core';import{getTranslation as _0x56db1f}from'../utils/common-translations';export default class tt extends _0x587805{[_0x23ce('0x13')](){const _0xe3a404=this[_0x23ce('0x7')],_0x5d4653=_0xe3a404[_0x23ce('0x3')][_0x23ce('0x9')]('TrackChangesEditing');_0xe3a404['plugins'][_0x23ce('0xb')](_0x23ce('0x6'))&&(_0x5d4653[_0x23ce('0x0')]('indent'),_0x5d4653[_0x23ce('0x0')](_0x23ce('0x2')));const _0x32f14b=_0xe3a404[_0x23ce('0x1a')];if(_0xe3a404[_0x23ce('0x3')][_0x23ce('0xb')](_0x23ce('0x19'))){for(const _0x2a48a2 of['indentBlock',_0x23ce('0xd')])_0x5d4653['enableCommand'](_0x2a48a2,()=>{const _0x4798a6=Array[_0x23ce('0x16')](this['editor'][_0x23ce('0x4')]['document'][_0x23ce('0x8')]['getSelectedBlocks']())[_0x23ce('0x10')](_0x267769=>this[_0x23ce('0x7')][_0x23ce('0x4')][_0x23ce('0xf')][_0x23ce('0x11')](_0x267769,_0x23ce('0x1')));_0xe3a404[_0x23ce('0x4')][_0x23ce('0xe')](()=>{for(const _0xff2686 of _0x4798a6)_0x5d4653[_0x23ce('0x14')](_0xff2686,{'commandName':_0x2a48a2,'commandParams':[{'value':''}],'formatGroupId':_0x23ce('0xa')});});});_0x5d4653['_descriptionFactory'][_0x23ce('0x17')](_0x52bcea=>{const {data:_0x50c634}=_0x52bcea;if(!_0x50c634)return;if('indentBlock'!=_0x50c634[_0x23ce('0x5')]&&_0x23ce('0xd')!=_0x50c634[_0x23ce('0x5')])return;const _0x75bd97=_0x52bcea['getItems']()[0x0],_0x2178f8=_0x5d4653[_0x23ce('0x18')]['getItemLabel'](_0x75bd97);return _0x23ce('0xa')==_0x50c634[_0x23ce('0x5')]?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0xc'),_0x2178f8)}:_0x23ce('0xd')==_0x50c634['commandName']?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0x12'),_0x2178f8)}:void 0x0;});}}}
23
+ const _0x4116=['IndentEditing','filter','document','indentBlock','IndentBlock','_descriptionFactory','from','outdentBlock','model','*Outdent:*\x20%0','get','indent','has','enableCommand','plugins','locale','outdent','commandName','format','schema','getSelectedBlocks','markBlockFormat','editor','blockIndent','getItemLabel'];(function(_0x53ed2b,_0x41166c){const _0x32b5fe=function(_0x58d592){while(--_0x58d592){_0x53ed2b['push'](_0x53ed2b['shift']());}};_0x32b5fe(++_0x41166c);}(_0x4116,0x1c4));const _0x32b5=function(_0x53ed2b,_0x41166c){_0x53ed2b=_0x53ed2b-0x0;let _0x32b5fe=_0x4116[_0x53ed2b];return _0x32b5fe;};import{Plugin as _0x1ea10a}from'ckeditor5/src/core';import{getTranslation as _0x54bbc4}from'../utils/common-translations';export default class tt extends _0x1ea10a{['afterInit'](){const _0x4becee=this[_0x32b5('0x14')],_0x2895a2=_0x4becee['plugins'][_0x32b5('0x8')]('TrackChangesEditing');_0x4becee[_0x32b5('0xc')]['has'](_0x32b5('0x17'))&&(_0x2895a2[_0x32b5('0xb')](_0x32b5('0x9')),_0x2895a2[_0x32b5('0xb')](_0x32b5('0xe')));const _0x37890f=_0x4becee[_0x32b5('0xd')];if(_0x4becee['plugins'][_0x32b5('0xa')](_0x32b5('0x2'))){for(const _0x92f0f of[_0x32b5('0x1'),_0x32b5('0x5')])_0x2895a2[_0x32b5('0xb')](_0x92f0f,()=>{const _0x153540=Array[_0x32b5('0x4')](this[_0x32b5('0x14')][_0x32b5('0x6')][_0x32b5('0x0')]['selection'][_0x32b5('0x12')]())[_0x32b5('0x18')](_0x39a458=>this[_0x32b5('0x14')]['model'][_0x32b5('0x11')]['checkAttribute'](_0x39a458,_0x32b5('0x15')));_0x4becee['model']['change'](()=>{for(const _0x4f3a02 of _0x153540)_0x2895a2[_0x32b5('0x13')](_0x4f3a02,{'commandName':_0x92f0f,'commandParams':[{'value':''}],'formatGroupId':_0x32b5('0x1')});});});_0x2895a2[_0x32b5('0x3')]['registerDescriptionCallback'](_0x4c4a96=>{const {data:_0x2ddbd3}=_0x4c4a96;if(!_0x2ddbd3)return;if('indentBlock'!=_0x2ddbd3[_0x32b5('0xf')]&&'outdentBlock'!=_0x2ddbd3[_0x32b5('0xf')])return;const _0x5cc749=_0x4c4a96['getItems']()[0x0],_0x13c10d=_0x2895a2[_0x32b5('0x3')][_0x32b5('0x16')](_0x5cc749);return _0x32b5('0x1')==_0x2ddbd3[_0x32b5('0xf')]?{'type':_0x32b5('0x10'),'content':_0x54bbc4(_0x37890f,'*Indent:*\x20%0',_0x13c10d)}:_0x32b5('0x5')==_0x2ddbd3[_0x32b5('0xf')]?{'type':_0x32b5('0x10'),'content':_0x54bbc4(_0x37890f,_0x32b5('0x7'),_0x13c10d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5458=['plugins','enableCommand','get','init','TrackChangesEditing','requires','editor'];(function(_0x316145,_0x5458e9){var _0xb87884=function(_0x57ffb3){while(--_0x57ffb3){_0x316145['push'](_0x316145['shift']());}};_0xb87884(++_0x5458e9);}(_0x5458,0x133));var _0xb878=function(_0x316145,_0x5458e9){_0x316145=_0x316145-0x0;var _0xb87884=_0x5458[_0x316145];return _0xb87884;};import{Plugin as _0x3a4f69}from'ckeditor5/src/core';import{Input as _0x5df02c}from'ckeditor5/src/typing';export default class it extends _0x3a4f69{static get[_0xb878('0x6')](){return[_0x5df02c];}[_0xb878('0x4')](){this[_0xb878('0x0')][_0xb878('0x1')][_0xb878('0x3')](_0xb878('0x5'))[_0xb878('0x2')]('input');}}
23
+ var _0x1108=['get','requires','editor','enableCommand','TrackChangesEditing'];(function(_0x334db4,_0x110841){var _0x4ea0f5=function(_0x134d2f){while(--_0x134d2f){_0x334db4['push'](_0x334db4['shift']());}};_0x4ea0f5(++_0x110841);}(_0x1108,0x13b));var _0x4ea0=function(_0x334db4,_0x110841){_0x334db4=_0x334db4-0x0;var _0x4ea0f5=_0x1108[_0x334db4];return _0x4ea0f5;};import{Plugin as _0x3d43ec}from'ckeditor5/src/core';import{Input as _0x501684}from'ckeditor5/src/typing';export default class it extends _0x3d43ec{static get[_0x4ea0('0x1')](){return[_0x501684];}['init'](){this[_0x4ea0('0x2')]['plugins'][_0x4ea0('0x0')](_0x4ea0('0x4'))[_0x4ea0('0x3')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34bf=['selection','enableCommand','isCollapsed','commandParams','has','getFirstRange','*Remove\x20link*','editor','change','linkHref','markInlineFormat','unlink','*Set\x20link:*\x20%0','link','commandName','afterInit','document','getFirstPosition','model','plugins','LinkEditing','registerDescriptionCallback','TrackChangesEditing','format'];(function(_0xf40562,_0x34bf3b){const _0x921c5f=function(_0x40b22f){while(--_0x40b22f){_0xf40562['push'](_0xf40562['shift']());}};_0x921c5f(++_0x34bf3b);}(_0x34bf,0xa4));const _0x921c=function(_0xf40562,_0x34bf3b){_0xf40562=_0xf40562-0x0;let _0x921c5f=_0x34bf[_0xf40562];return _0x921c5f;};import{Plugin as _0x53d5c8}from'ckeditor5/src/core';import{findAttributeRange as _0x53f06d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4bc30c}from'./utils';import{getTranslation as _0x127d90}from'../utils/common-translations';export default class et extends _0x53d5c8{[_0x921c('0x13')](){const _0x2af265=this['editor'];if(!_0x2af265[_0x921c('0x17')][_0x921c('0x8')](_0x921c('0x0')))return;const _0x2335eb=_0x2af265[_0x921c('0x17')]['get'](_0x921c('0x2'));_0x2335eb[_0x921c('0x5')](_0x921c('0x11'),(_0x2096b4,_0x596905)=>{const _0x2cd861=_0x2af265[_0x921c('0x16')][_0x921c('0x14')]['selection'];let _0x5a0243=[];if(_0x2cd861['isCollapsed']){if(!_0x2cd861['hasAttribute'](_0x921c('0xd')))return void _0x2096b4(_0x596905);{const _0x5f3e5c=_0x53f06d(_0x2cd861[_0x921c('0x15')](),'linkHref',_0x2cd861['getAttribute']('linkHref'),_0x2af265[_0x921c('0x16')]);_0x5a0243=[_0x5f3e5c];}}else _0x5a0243=Array['from'](_0x2cd861['getRanges']());_0x2af265[_0x921c('0x16')][_0x921c('0xc')](()=>{for(const _0x1514d8 of _0x5a0243)_0x2335eb['markInlineFormat'](_0x1514d8,{'commandName':_0x921c('0x11'),'commandParams':[_0x596905]});});}),_0x2335eb[_0x921c('0x5')](_0x921c('0xf'),()=>{const _0x39f079=this[_0x921c('0xb')]['model'],_0x13d046=_0x39f079[_0x921c('0x14')][_0x921c('0x4')];_0x39f079[_0x921c('0xc')](()=>{let _0x31e19a=[];if(_0x13d046[_0x921c('0x6')])_0x31e19a=[_0x53f06d(_0x13d046[_0x921c('0x15')](),_0x921c('0xd'),_0x13d046['getAttribute'](_0x921c('0xd')),_0x2af265[_0x921c('0x16')])];else _0x31e19a=_0x4bc30c(_0x921c('0xd'),_0x13d046[_0x921c('0x9')](),_0x2af265[_0x921c('0x16')]);for(const _0x440d9f of _0x31e19a)_0x2335eb[_0x921c('0xe')](_0x440d9f,{'commandName':_0x921c('0xf'),'commandParams':[]});});}),_0x2335eb['_descriptionFactory'][_0x921c('0x1')](_0x56b49d=>{const {data:_0x5a51c7}=_0x56b49d,_0x24c20b=_0x2af265['locale'];if(_0x5a51c7){if(_0x921c('0x11')==_0x5a51c7[_0x921c('0x12')]){const _0x5b58f8=_0x5a51c7[_0x921c('0x7')][0x0];return{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0x10'),'\x22'+_0x5b58f8+'\x22')};}return _0x921c('0xf')==_0x5a51c7[_0x921c('0x12')]?{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0xa'))}:void 0x0;}});}}
23
+ const _0x4e21=['unlink','commandParams','registerDescriptionCallback','has','locale','getFirstRange','editor','getFirstPosition','afterInit','plugins','selection','model','linkHref','getRanges','markInlineFormat','format','*Set\x20link:*\x20%0','commandName','hasAttribute','TrackChangesEditing','isCollapsed','link','_descriptionFactory','document','enableCommand','change'];(function(_0x4d3333,_0x4e2190){const _0x2ec5b3=function(_0x1af598){while(--_0x1af598){_0x4d3333['push'](_0x4d3333['shift']());}};_0x2ec5b3(++_0x4e2190);}(_0x4e21,0x1a8));const _0x2ec5=function(_0x4d3333,_0x4e2190){_0x4d3333=_0x4d3333-0x0;let _0x2ec5b3=_0x4e21[_0x4d3333];return _0x2ec5b3;};import{Plugin as _0x1ca32d}from'ckeditor5/src/core';import{findAttributeRange as _0x1ddb0e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5e2c4f}from'./utils';import{getTranslation as _0x5523ea}from'../utils/common-translations';export default class et extends _0x1ca32d{[_0x2ec5('0x0')](){const _0x3db95c=this[_0x2ec5('0x18')];if(!_0x3db95c[_0x2ec5('0x1')][_0x2ec5('0x15')]('LinkEditing'))return;const _0x8eec9d=_0x3db95c[_0x2ec5('0x1')]['get'](_0x2ec5('0xb'));_0x8eec9d[_0x2ec5('0x10')](_0x2ec5('0xd'),(_0x26b6ef,_0x1f83c6)=>{const _0xf95323=_0x3db95c[_0x2ec5('0x3')][_0x2ec5('0xf')]['selection'];let _0x24234a=[];if(_0xf95323[_0x2ec5('0xc')]){if(!_0xf95323[_0x2ec5('0xa')](_0x2ec5('0x4')))return void _0x26b6ef(_0x1f83c6);{const _0x1cf05f=_0x1ddb0e(_0xf95323[_0x2ec5('0x19')](),_0x2ec5('0x4'),_0xf95323['getAttribute'](_0x2ec5('0x4')),_0x3db95c[_0x2ec5('0x3')]);_0x24234a=[_0x1cf05f];}}else _0x24234a=Array['from'](_0xf95323[_0x2ec5('0x5')]());_0x3db95c['model'][_0x2ec5('0x11')](()=>{for(const _0x55df9f of _0x24234a)_0x8eec9d[_0x2ec5('0x6')](_0x55df9f,{'commandName':_0x2ec5('0xd'),'commandParams':[_0x1f83c6]});});}),_0x8eec9d[_0x2ec5('0x10')](_0x2ec5('0x12'),()=>{const _0x3aee94=this[_0x2ec5('0x18')][_0x2ec5('0x3')],_0x4d3bd5=_0x3aee94[_0x2ec5('0xf')][_0x2ec5('0x2')];_0x3aee94['change'](()=>{let _0x17f053=[];if(_0x4d3bd5[_0x2ec5('0xc')])_0x17f053=[_0x1ddb0e(_0x4d3bd5[_0x2ec5('0x19')](),_0x2ec5('0x4'),_0x4d3bd5['getAttribute'](_0x2ec5('0x4')),_0x3db95c['model'])];else _0x17f053=_0x5e2c4f(_0x2ec5('0x4'),_0x4d3bd5[_0x2ec5('0x17')](),_0x3db95c[_0x2ec5('0x3')]);for(const _0x3592fe of _0x17f053)_0x8eec9d[_0x2ec5('0x6')](_0x3592fe,{'commandName':'unlink','commandParams':[]});});}),_0x8eec9d[_0x2ec5('0xe')][_0x2ec5('0x14')](_0x4b9a1e=>{const {data:_0x5cc7f3}=_0x4b9a1e,_0x54cbb3=_0x3db95c[_0x2ec5('0x16')];if(_0x5cc7f3){if('link'==_0x5cc7f3[_0x2ec5('0x9')]){const _0x48e84a=_0x5cc7f3[_0x2ec5('0x13')][0x0];return{'type':_0x2ec5('0x7'),'content':_0x5523ea(_0x54cbb3,_0x2ec5('0x8'),'\x22'+_0x48e84a+'\x22')};}return _0x2ec5('0x12')==_0x5cc7f3[_0x2ec5('0x9')]?{'type':'format','content':_0x5523ea(_0x54cbb3,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2945=['end','ELEMENT_LIST_ITEM','previousSibling','locale','createPositionAt','name','plugins','getAttribute','parent','TrackChangesEditing','outdentList','numberedList','TodoListEditing','schema','editor','enableCommand','document','execute','_descriptionFactory','ListEditing','blockName','from','checkTodoList','selection','get','commands','bulletedList','*Indent:*\x20%0','replace','ELEMENT_BULLETED_LIST','markBlockFormat','has','push','isObject','model','value','nextSibling','listIndent','length','commandName','bulleted','todoList','_selectedElements','indentList','List','registerDescriptionCallback','format','afterInit','listType','createRange','element','registerElementLabel','ELEMENT_TODO_LIST','filter','checkChild','slice','listItem','getSelectedBlocks','change','add'];(function(_0x291501,_0x294509){const _0x2bb732=function(_0x4e2724){while(--_0x4e2724){_0x291501['push'](_0x291501['shift']());}};_0x2bb732(++_0x294509);}(_0x2945,0x110));const _0x2bb7=function(_0x291501,_0x294509){_0x291501=_0x291501-0x0;let _0x2bb732=_0x2945[_0x291501];return _0x2bb732;};import{Plugin as _0x2506ee}from'ckeditor5/src/core';import{getTranslation as _0x396acc}from'../utils/common-translations';export default class st extends _0x2506ee{[_0x2bb7('0xf')](){const _0x57c396=this[_0x2bb7('0x2a')],_0x2d9073=_0x57c396[_0x2bb7('0x1f')];if(!_0x57c396[_0x2bb7('0x22')]['has'](_0x2bb7('0x2f')))return;const _0x21fdb7=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x34')](_0x2bb7('0x25')),_0xf14172=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x3b')](_0x2bb7('0x28'));function _0xe7f2f7(_0x198525){return()=>{const _0x436c7c=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x2c')]['selection'],_0x270cb2=_0x57c396[_0x2bb7('0x35')][_0x2bb7('0x34')](_0x198525);if(_0x270cb2['value'])return void _0x57c396[_0x2bb7('0x2d')]('paragraph',{});const _0xf4bfc7=_0x198525[_0x2bb7('0x17')](0x0,-0x4),_0x2d2543=function(_0x59a62b,_0x4114af,_0x419139){let _0xa3df53=Array[_0x2bb7('0x31')](_0x59a62b)['filter'](_0xffd05c=>function(_0x3b53d0,_0x4f6954){return _0x4f6954[_0x2bb7('0x16')](_0x3b53d0[_0x2bb7('0x24')],'listItem')&&!_0x4f6954[_0x2bb7('0x1')](_0x3b53d0);}(_0xffd05c,_0x419139));_0xa3df53=_0xa3df53['filter'](_0x27e2a0=>!_0x27e2a0['is'](_0x2bb7('0x12'),_0x2bb7('0x18'))||_0x27e2a0[_0x2bb7('0x23')](_0x2bb7('0x10'))!=_0x4114af);const _0x4b4ace=new Set();for(const _0x4d9dec of _0xa3df53)_0x4d9dec['is']('element','listItem')?_0x4b4ace['add'](ne(_0x4d9dec)):_0x4b4ace[_0x2bb7('0x1b')](_0x4d9dec);return Array[_0x2bb7('0x31')](_0x4b4ace);}(_0x436c7c[_0x2bb7('0x19')](),_0xf4bfc7,_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x29')]);_0x57c396[_0x2bb7('0x2')]['change'](()=>{for(const _0x218fc0 of _0x2d2543)_0x21fdb7[_0x2bb7('0x3a')](_0x218fc0,{'commandName':_0x198525,'commandParams':[{'forceValue':!_0x270cb2[_0x2bb7('0x3')]}],'formatGroupId':_0x2bb7('0x30')},oe(_0x218fc0));});};}function _0x4c2be6(_0x18756d){return()=>{const _0x1a5b60=function(_0x5ba598){let _0x504b0e=Array['from'](_0x5ba598);const _0x379a50=_0x504b0e['findIndex'](_0x421b0b=>_0x2bb7('0x18')!=_0x421b0b[_0x2bb7('0x21')]);return _0x379a50>-0x1&&(_0x504b0e=_0x504b0e[_0x2bb7('0x17')](0x0,_0x379a50)),_0x504b0e;}(_0x57c396[_0x2bb7('0x2')]['document'][_0x2bb7('0x33')][_0x2bb7('0x19')]()),_0x53f733=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x11')](_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[0x0],'before'),_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[_0x1a5b60[_0x2bb7('0x6')]-0x1],_0x2bb7('0x1c')));_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x1a')](()=>{_0x21fdb7[_0x2bb7('0x3a')](_0x53f733,{'commandName':_0x18756d,'commandParams':[],'formatGroupId':_0x2bb7('0x5')},function(_0x3a3893){const _0x5c7ab9=new Set();for(const _0x297ced of _0x3a3893){let _0x5bad34=_0x297ced[_0x2bb7('0x4')];for(;_0x5bad34&&_0x5bad34[_0x2bb7('0x23')](_0x2bb7('0x5'))>_0x297ced[_0x2bb7('0x23')](_0x2bb7('0x5'));)_0x5c7ab9[_0x2bb7('0x1b')](_0x5bad34),_0x5bad34=_0x5bad34[_0x2bb7('0x4')];}return Array['from'](_0x5c7ab9);}(_0x1a5b60));});};}_0x21fdb7['enableCommand'](_0x2bb7('0x27'),_0xe7f2f7('numberedList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x36'),_0xe7f2f7(_0x2bb7('0x36'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x9'),_0xe7f2f7('todoList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0xb'),_0x4c2be6(_0x2bb7('0xb'))),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x26'),_0x4c2be6(_0x2bb7('0x26'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')]('checkTodoList',()=>{const _0xdb46c7=_0x57c396['commands'][_0x2bb7('0x34')]('checkTodoList'),_0x216ff9=Array[_0x2bb7('0x31')](_0xdb46c7[_0x2bb7('0xa')]);_0x216ff9[_0x2bb7('0x15')](_0x3acfcd=>_0x3acfcd[_0x2bb7('0x23')]('todoListChecked')!=_0xdb46c7[_0x2bb7('0x3')]),_0x57c396['model'][_0x2bb7('0x1a')](()=>{for(const _0x50a98e of _0x216ff9)_0x21fdb7['markBlockFormat'](_0x50a98e,{'commandName':_0x2bb7('0x32'),'commandParams':[{'forceValue':!_0xdb46c7[_0x2bb7('0x3')]}]});});}),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0x13')](_0x2bb7('0x18'),_0x564a77=>_0x396acc(_0x2d9073,_0x2bb7('0x1d'),_0x564a77)),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0xd')](_0x578b54=>{const {data:_0x3f6ab2}=_0x578b54;if(_0x3f6ab2){if(_0x2bb7('0x27')==_0x3f6ab2[_0x2bb7('0x7')]||'bulletedList'==_0x3f6ab2['commandName']||'todoList'==_0x3f6ab2[_0x2bb7('0x7')])switch(_0x3f6ab2[_0x2bb7('0x7')][_0x2bb7('0x38')](_0x2bb7('0xc'),'')){case _0x2bb7('0x8'):return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x39')));case'numbered':return _0x3a1b58(_0x396acc(_0x2d9073,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x14')));}if(_0x2bb7('0xb')==_0x3f6ab2['commandName'])return{'type':'format','content':_0x396acc(_0x2d9073,_0x2bb7('0x37'),_0x396acc(_0x2d9073,'ELEMENT_LIST_ITEM'))};if(_0x2bb7('0x26')==_0x3f6ab2[_0x2bb7('0x7')])return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Outdent:*\x20%0',_0x396acc(_0x2d9073,_0x2bb7('0x1d')))};if(_0x2bb7('0x32')==_0x3f6ab2[_0x2bb7('0x7')])return _0x3f6ab2['commandParams'][0x0]['forceValue']?{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Check\x20item*')}:{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Uncheck\x20item*')};}function _0x3a1b58(_0x3f9a92){return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Change\x20to:*\x20%0',_0x3f9a92)};}});}}function ne(_0x118483){const _0xf42659=_0x118483['getAttribute'](_0x2bb7('0x5'));if(0x0==_0xf42659)return _0x118483;let _0x24a148=_0x118483;for(;_0x118483['previousSibling']&&_0x118483[_0x2bb7('0x1e')]['is'](_0x2bb7('0x12'),'listItem');){const _0x1ee506=_0x118483[_0x2bb7('0x1e')]['getAttribute'](_0x2bb7('0x5'));if(_0x1ee506==_0xf42659)_0x24a148=_0x118483[_0x2bb7('0x1e')];else{if(_0x1ee506<_0xf42659)break;}_0x118483=_0x118483[_0x2bb7('0x1e')];}return _0x24a148;}function oe(_0x4f19b1){const _0x45b108=[];if(_0x4f19b1['is']('element',_0x2bb7('0x18'))&&_0x4f19b1[_0x2bb7('0x23')](_0x2bb7('0x5'))>0x0){let _0x172bd8=_0x4f19b1[_0x2bb7('0x4')];for(;_0x172bd8&&_0x2bb7('0x18')==_0x172bd8[_0x2bb7('0x21')]&&_0x172bd8[_0x2bb7('0x23')]('listIndent')==_0x4f19b1['getAttribute']('listIndent');)_0x45b108[_0x2bb7('0x0')](_0x172bd8),_0x172bd8=_0x172bd8[_0x2bb7('0x4')];}return _0x45b108;}
23
+ const _0x5cbb=['markBlockFormat','checkChild','ListEditing','listItem','slice','findIndex','getAttribute','get','listIndent','todoListChecked','*Change\x20to:*\x20%0','push','listType','_selectedElements','todoList','registerDescriptionCallback','ELEMENT_LIST_ITEM','plugins','commands','outdentList','locale','add','todo','selection','createPositionAt','before','TrackChangesEditing','checkTodoList','*Uncheck\x20item*','*Outdent:*\x20%0','replace','element','*Check\x20item*','ELEMENT_BULLETED_LIST','forceValue','ELEMENT_NUMBERED_LIST','registerElementLabel','format','model','isObject','TodoListEditing','document','has','indentList','_descriptionFactory','enableCommand','end','schema','commandName','change','getSelectedBlocks','filter','commandParams','numbered','paragraph','bulletedList','value','numberedList','ELEMENT_TODO_LIST','name','from','previousSibling','nextSibling','*Indent:*\x20%0'];(function(_0x4e11ac,_0x5cbba8){const _0xa1a7ae=function(_0x464365){while(--_0x464365){_0x4e11ac['push'](_0x4e11ac['shift']());}};_0xa1a7ae(++_0x5cbba8);}(_0x5cbb,0x1ac));const _0xa1a7=function(_0x4e11ac,_0x5cbba8){_0x4e11ac=_0x4e11ac-0x0;let _0xa1a7ae=_0x5cbb[_0x4e11ac];return _0xa1a7ae;};import{Plugin as _0x4d6b39}from'ckeditor5/src/core';import{getTranslation as _0x4c1cf1}from'../utils/common-translations';export default class st extends _0x4d6b39{['afterInit'](){const _0x39d8d6=this['editor'],_0x47bc88=_0x39d8d6[_0xa1a7('0x28')];if(!_0x39d8d6[_0xa1a7('0x25')][_0xa1a7('0x3e')](_0xa1a7('0x16')))return;const _0x54337b=_0x39d8d6[_0xa1a7('0x25')]['get'](_0xa1a7('0x2e')),_0x477055=_0x39d8d6[_0xa1a7('0x25')][_0xa1a7('0x3e')](_0xa1a7('0x3c'));function _0x2ce7b8(_0x1c815b){return()=>{const _0x450251=_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x3d')][_0xa1a7('0x2b')],_0x154509=_0x39d8d6['commands'][_0xa1a7('0x1b')](_0x1c815b);if(_0x154509['value'])return void _0x39d8d6['execute'](_0xa1a7('0xa'),{});const _0x192e8f=_0x1c815b[_0xa1a7('0x18')](0x0,-0x4),_0x143025=function(_0x489af,_0x3c8b3a,_0x1431f0){let _0x1b4036=Array[_0xa1a7('0x10')](_0x489af)['filter'](_0x5cfd96=>function(_0x1e908a,_0x511511){return _0x511511[_0xa1a7('0x15')](_0x1e908a['parent'],'listItem')&&!_0x511511[_0xa1a7('0x3b')](_0x1e908a);}(_0x5cfd96,_0x1431f0));_0x1b4036=_0x1b4036[_0xa1a7('0x7')](_0x49c28d=>!_0x49c28d['is'](_0xa1a7('0x33'),'listItem')||_0x49c28d[_0xa1a7('0x1a')](_0xa1a7('0x20'))!=_0x3c8b3a);const _0x258eaf=new Set();for(const _0xf43f4f of _0x1b4036)_0xf43f4f['is'](_0xa1a7('0x33'),_0xa1a7('0x17'))?_0x258eaf[_0xa1a7('0x29')](ne(_0xf43f4f)):_0x258eaf['add'](_0xf43f4f);return Array['from'](_0x258eaf);}(_0x450251[_0xa1a7('0x6')](),_0x192e8f,_0x39d8d6['model'][_0xa1a7('0x3')]);_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x5')](()=>{for(const _0x289dee of _0x143025)_0x54337b[_0xa1a7('0x14')](_0x289dee,{'commandName':_0x1c815b,'commandParams':[{'forceValue':!_0x154509['value']}],'formatGroupId':'blockName'},oe(_0x289dee));});};}function _0x1fbfb4(_0xd83dcf){return()=>{const _0x4bd4c6=function(_0x51e57e){let _0xfdb978=Array[_0xa1a7('0x10')](_0x51e57e);const _0x49c6e7=_0xfdb978[_0xa1a7('0x19')](_0xf0e65=>_0xa1a7('0x17')!=_0xf0e65[_0xa1a7('0xf')]);return _0x49c6e7>-0x1&&(_0xfdb978=_0xfdb978[_0xa1a7('0x18')](0x0,_0x49c6e7)),_0xfdb978;}(_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x3d')][_0xa1a7('0x2b')][_0xa1a7('0x6')]()),_0x21edfb=_0x39d8d6[_0xa1a7('0x3a')]['createRange'](_0x39d8d6['model']['createPositionAt'](_0x4bd4c6[0x0],_0xa1a7('0x2d')),_0x39d8d6['model'][_0xa1a7('0x2c')](_0x4bd4c6[_0x4bd4c6['length']-0x1],_0xa1a7('0x2')));_0x39d8d6[_0xa1a7('0x3a')]['change'](()=>{_0x54337b['markBlockFormat'](_0x21edfb,{'commandName':_0xd83dcf,'commandParams':[],'formatGroupId':_0xa1a7('0x1c')},function(_0x84e676){const _0x429f03=new Set();for(const _0x580617 of _0x84e676){let _0x47142f=_0x580617['nextSibling'];for(;_0x47142f&&_0x47142f[_0xa1a7('0x1a')](_0xa1a7('0x1c'))>_0x580617[_0xa1a7('0x1a')](_0xa1a7('0x1c'));)_0x429f03['add'](_0x47142f),_0x47142f=_0x47142f['nextSibling'];}return Array[_0xa1a7('0x10')](_0x429f03);}(_0x4bd4c6));});};}_0x54337b['enableCommand']('numberedList',_0x2ce7b8(_0xa1a7('0xd'))),_0x54337b[_0xa1a7('0x1')]('bulletedList',_0x2ce7b8(_0xa1a7('0xb'))),_0x477055&&_0x54337b[_0xa1a7('0x1')]('todoList',_0x2ce7b8(_0xa1a7('0x22'))),_0x54337b[_0xa1a7('0x1')]('indentList',_0x1fbfb4(_0xa1a7('0x3f'))),_0x54337b[_0xa1a7('0x1')](_0xa1a7('0x27'),_0x1fbfb4(_0xa1a7('0x27'))),_0x477055&&_0x54337b[_0xa1a7('0x1')](_0xa1a7('0x2f'),()=>{const _0xa39a81=_0x39d8d6[_0xa1a7('0x26')][_0xa1a7('0x1b')]('checkTodoList'),_0x138038=Array[_0xa1a7('0x10')](_0xa39a81[_0xa1a7('0x21')]);_0x138038[_0xa1a7('0x7')](_0x25a00f=>_0x25a00f[_0xa1a7('0x1a')](_0xa1a7('0x1d'))!=_0xa39a81[_0xa1a7('0xc')]),_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x5')](()=>{for(const _0x6c85ae of _0x138038)_0x54337b[_0xa1a7('0x14')](_0x6c85ae,{'commandName':_0xa1a7('0x2f'),'commandParams':[{'forceValue':!_0xa39a81['value']}]});});}),_0x54337b['_descriptionFactory'][_0xa1a7('0x38')](_0xa1a7('0x17'),_0xc87427=>_0x4c1cf1(_0x47bc88,_0xa1a7('0x24'),_0xc87427)),_0x54337b[_0xa1a7('0x0')][_0xa1a7('0x23')](_0x1ff5e9=>{const {data:_0xafb223}=_0x1ff5e9;if(_0xafb223){if(_0xa1a7('0xd')==_0xafb223[_0xa1a7('0x4')]||_0xa1a7('0xb')==_0xafb223[_0xa1a7('0x4')]||_0xa1a7('0x22')==_0xafb223[_0xa1a7('0x4')])switch(_0xafb223['commandName'][_0xa1a7('0x32')]('List','')){case'bulleted':return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0x35')));case _0xa1a7('0x9'):return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0x37')));case _0xa1a7('0x2a'):return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0xe')));}if(_0xa1a7('0x3f')==_0xafb223['commandName'])return{'type':'format','content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x13'),_0x4c1cf1(_0x47bc88,'ELEMENT_LIST_ITEM'))};if(_0xa1a7('0x27')==_0xafb223[_0xa1a7('0x4')])return{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x31'),_0x4c1cf1(_0x47bc88,_0xa1a7('0x24')))};if(_0xa1a7('0x2f')==_0xafb223[_0xa1a7('0x4')])return _0xafb223[_0xa1a7('0x8')][0x0][_0xa1a7('0x36')]?{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x34'))}:{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x30'))};}function _0x376729(_0x5762fa){return{'type':'format','content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x1e'),_0x5762fa)};}});}}function ne(_0x571284){const _0x2a2b68=_0x571284[_0xa1a7('0x1a')](_0xa1a7('0x1c'));if(0x0==_0x2a2b68)return _0x571284;let _0x1ae70f=_0x571284;for(;_0x571284[_0xa1a7('0x11')]&&_0x571284[_0xa1a7('0x11')]['is'](_0xa1a7('0x33'),_0xa1a7('0x17'));){const _0x4831d6=_0x571284[_0xa1a7('0x11')]['getAttribute'](_0xa1a7('0x1c'));if(_0x4831d6==_0x2a2b68)_0x1ae70f=_0x571284['previousSibling'];else{if(_0x4831d6<_0x2a2b68)break;}_0x571284=_0x571284[_0xa1a7('0x11')];}return _0x1ae70f;}function oe(_0x1b6f6f){const _0x2a1e3d=[];if(_0x1b6f6f['is']('element',_0xa1a7('0x17'))&&_0x1b6f6f['getAttribute'](_0xa1a7('0x1c'))>0x0){let _0x44ac11=_0x1b6f6f[_0xa1a7('0x12')];for(;_0x44ac11&&'listItem'==_0x44ac11[_0xa1a7('0xf')]&&_0x44ac11[_0xa1a7('0x1a')]('listIndent')==_0x1b6f6f['getAttribute'](_0xa1a7('0x1c'));)_0x2a1e3d[_0xa1a7('0x1f')](_0x44ac11),_0x44ac11=_0x44ac11[_0xa1a7('0x12')];}return _0x2a1e3d;}