@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231004.0 → 0.0.0-nightly-20231006.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332c=['title','document','TrackChangesEditing','*Reset\x20font\x20background\x20color*','fontBackgroundColor','FontSizeEditing','commandParams','get','*Set\x20font\x20size:*\x20%0','FontBackgroundColorEditing','config','enableCommand','*Set\x20font\x20background\x20color:*\x20%0','*Reset\x20font\x20family*','plugins','locale','fontFamily','fontSize.options','markInlineFormat','model','find','*Reset\x20font\x20size*','toLowerCase','format','registerDescriptionCallback','fontSize','change','_enableCommand','*Set\x20font\x20family:*\x20%0','editor','trim','_descriptionFactory','label','FontColorEditing','fontColor.colors','commandName','isCollapsed','fontBackgroundColor.colors','value','FontSize','*Reset\x20font\x20color*'];(function(_0x1ce3a9,_0x332cbd){const _0xb64102=function(_0x1189d7){while(--_0x1189d7){_0x1ce3a9['push'](_0x1ce3a9['shift']());}};_0xb64102(++_0x332cbd);}(_0x332c,0xdd));const _0xb641=function(_0x1ce3a9,_0x332cbd){_0x1ce3a9=_0x1ce3a9-0x0;let _0xb64102=_0x332c[_0x1ce3a9];return _0xb64102;};import{Plugin as _0x53b12b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x81edb}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3c3c40}from'./utils';import{getTranslation as _0x4ced30}from'../utils/common-translations';const eo=[{'pluginName':_0xb641('0x1e'),'commandName':_0xb641('0x9')},{'pluginName':'FontFamilyEditing','commandName':_0xb641('0x0')},{'pluginName':_0xb641('0x11'),'commandName':'fontColor'},{'pluginName':_0xb641('0x22'),'commandName':_0xb641('0x1d')}];export default class W extends _0x53b12b{['afterInit'](){const _0x136250=this[_0xb641('0xd')][_0xb641('0x28')];for(const {pluginName:_0x4635d6,commandName:_0x2b2d90}of eo)this['editor']['plugins']['has'](_0x4635d6)&&this[_0xb641('0xb')](_0x2b2d90);this[_0xb641('0xd')][_0xb641('0x27')][_0xb641('0x20')](_0xb641('0x1b'))[_0xb641('0xf')][_0xb641('0x8')](_0x12a7ca=>{const _0x1adaf5=_0x136250['t'],{data:_0x29d4e1}=_0x12a7ca;if(null!=_0x29d4e1){if('fontSize'==_0x29d4e1[_0xb641('0x13')]){const _0x363080=_0x29d4e1[_0xb641('0x1f')][0x0][_0xb641('0x16')];if(_0x363080){const _0xe35288=_0x1adaf5(this[_0xb641('0xd')]['plugins'][_0xb641('0x20')](_0xb641('0x17'))['normalizeSizeOptions'](this[_0xb641('0xd')][_0xb641('0x23')][_0xb641('0x20')](_0xb641('0x1')))['find'](_0x328d8f=>_0x328d8f['model']==_0x363080)[_0xb641('0x19')])[_0xb641('0x6')]();return{'type':'format','content':_0x4ced30(_0x136250,_0xb641('0x21'),_0xe35288)};}return{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0x5'))};}if(_0xb641('0x0')==_0x29d4e1[_0xb641('0x13')]){const _0x50b540=_0x29d4e1[_0xb641('0x1f')][0x0][_0xb641('0x16')];return _0x50b540?{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0xc'),_0x50b540)}:{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0x26'))};}if('fontColor'==_0x29d4e1[_0xb641('0x13')]){const _0x1d4339=_0x29d4e1[_0xb641('0x1f')][0x0][_0xb641('0x16')];if(_0x1d4339){const _0x517c25=_0x81edb(this[_0xb641('0xd')][_0xb641('0x23')][_0xb641('0x20')](_0xb641('0x12')))[_0xb641('0x4')](_0x56f097=>_0x56f097[_0xb641('0x3')]==_0x1d4339);let _0x1e824a=_0x1d4339,_0x2f5b2d='';return _0x517c25&&(_0x1e824a=_0x517c25['label'],_0x2f5b2d=_0x1adaf5(_0x1e824a)[_0xb641('0x6')]()),{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,'*Set\x20font\x20color:*\x20%0',_0x2f5b2d)[_0xb641('0xe')](),'color':{'value':_0x1d4339,'title':_0x2f5b2d||_0x1e824a}};}return{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0x18'))};}if('fontBackgroundColor'==_0x29d4e1['commandName']){const _0x2d02bd=_0x29d4e1['commandParams'][0x0][_0xb641('0x16')];if(_0x2d02bd){const _0x31da03=_0x81edb(this[_0xb641('0xd')][_0xb641('0x23')][_0xb641('0x20')](_0xb641('0x15')))[_0xb641('0x4')](_0x5cd4c7=>_0x5cd4c7[_0xb641('0x3')]==_0x2d02bd);let _0x478e89=_0x2d02bd,_0x474d6c='';return _0x31da03&&(_0x478e89=_0x31da03[_0xb641('0x10')],_0x474d6c=_0x1adaf5(_0x478e89)[_0xb641('0x6')]()),{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0x25'),_0x474d6c)[_0xb641('0xe')](),'color':{'value':_0x2d02bd,'title':_0x474d6c||_0x478e89}};}return{'type':_0xb641('0x7'),'content':_0x4ced30(_0x136250,_0xb641('0x1c'))};}}});}[_0xb641('0xb')](_0x308d11){const _0x31b6a9=this[_0xb641('0xd')];_0x31b6a9[_0xb641('0x27')][_0xb641('0x20')](_0xb641('0x1b'))[_0xb641('0x24')](_0x308d11,(_0x17a70c,_0x3d71d2={})=>{const _0x206518=_0x31b6a9['model'][_0xb641('0x1a')]['selection'],_0x28af01=_0x3d71d2[_0xb641('0x16')];_0x206518[_0xb641('0x14')]?_0x17a70c(_0x3d71d2):_0x31b6a9[_0xb641('0x3')][_0xb641('0xa')](()=>{const _0xe097af=Array['from'](_0x206518['getRanges']());for(const _0x2950e3 of _0xe097af){const _0x4edc82=_0x28af01?[_0x2950e3]:_0x3c3c40(_0x308d11,_0x2950e3,_0x31b6a9['model']);for(const _0x361313 of _0x4edc82)_0x31b6a9[_0xb641('0x27')][_0xb641('0x20')]('TrackChangesEditing')[_0xb641('0x2')](_0x361313,{'commandName':_0x308d11,'commandParams':[{'value':_0x28af01}]});}});});}}
23
+ const _0x1b32=['FontBackgroundColorEditing','fontColor.colors','has','format','fontFamily','plugins','title','find','FontColorEditing','fontBackgroundColor','FontSizeEditing','model','toLowerCase','*Reset\x20font\x20family*','_enableCommand','fontBackgroundColor.colors','fontSize','value','config','markInlineFormat','label','*Set\x20font\x20background\x20color:*\x20%0','trim','commandName','from','FontFamilyEditing','isCollapsed','get','registerDescriptionCallback','document','enableCommand','TrackChangesEditing','fontSize.options','getRanges','editor','commandParams','FontSize','fontColor'];(function(_0x51b249,_0x1b323d){const _0x744115=function(_0x436f53){while(--_0x436f53){_0x51b249['push'](_0x51b249['shift']());}};_0x744115(++_0x1b323d);}(_0x1b32,0x1bb));const _0x7441=function(_0x51b249,_0x1b323d){_0x51b249=_0x51b249-0x0;let _0x744115=_0x1b32[_0x51b249];return _0x744115;};import{Plugin as _0x5ce551}from'ckeditor5/src/core';import{normalizeColorOptions as _0x76d701}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x57f4dd}from'./utils';import{getTranslation as _0x2b27ac}from'../utils/common-translations';const eo=[{'pluginName':_0x7441('0x17'),'commandName':_0x7441('0x1d')},{'pluginName':_0x7441('0x0'),'commandName':_0x7441('0x11')},{'pluginName':_0x7441('0x15'),'commandName':_0x7441('0xc')},{'pluginName':_0x7441('0xd'),'commandName':_0x7441('0x16')}];export default class W extends _0x5ce551{['afterInit'](){const _0x3c704f=this[_0x7441('0x9')]['locale'];for(const {pluginName:_0x30c06c,commandName:_0x4e928f}of eo)this[_0x7441('0x9')]['plugins'][_0x7441('0xf')](_0x30c06c)&&this[_0x7441('0x1b')](_0x4e928f);this['editor'][_0x7441('0x12')][_0x7441('0x2')]('TrackChangesEditing')['_descriptionFactory'][_0x7441('0x3')](_0x52fd26=>{const _0x4fbab6=_0x3c704f['t'],{data:_0x3720a8}=_0x52fd26;if(null!=_0x3720a8){if('fontSize'==_0x3720a8['commandName']){const _0x1ffcc7=_0x3720a8[_0x7441('0xa')][0x0][_0x7441('0x1e')];if(_0x1ffcc7){const _0x53216b=_0x4fbab6(this[_0x7441('0x9')][_0x7441('0x12')][_0x7441('0x2')](_0x7441('0xb'))['normalizeSizeOptions'](this[_0x7441('0x9')]['config'][_0x7441('0x2')](_0x7441('0x7')))[_0x7441('0x14')](_0x93e98e=>_0x93e98e[_0x7441('0x18')]==_0x1ffcc7)[_0x7441('0x13')])[_0x7441('0x19')]();return{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,'*Set\x20font\x20size:*\x20%0',_0x53216b)};}return{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,'*Reset\x20font\x20size*')};}if(_0x7441('0x11')==_0x3720a8[_0x7441('0x24')]){const _0x5b45a2=_0x3720a8[_0x7441('0xa')][0x0][_0x7441('0x1e')];return _0x5b45a2?{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,'*Set\x20font\x20family:*\x20%0',_0x5b45a2)}:{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,_0x7441('0x1a'))};}if('fontColor'==_0x3720a8[_0x7441('0x24')]){const _0x52f2be=_0x3720a8[_0x7441('0xa')][0x0][_0x7441('0x1e')];if(_0x52f2be){const _0x1e9d66=_0x76d701(this[_0x7441('0x9')][_0x7441('0x1f')][_0x7441('0x2')](_0x7441('0xe')))[_0x7441('0x14')](_0x50aac2=>_0x50aac2[_0x7441('0x18')]==_0x52f2be);let _0x2fd196=_0x52f2be,_0x4c6e93='';return _0x1e9d66&&(_0x2fd196=_0x1e9d66[_0x7441('0x21')],_0x4c6e93=_0x4fbab6(_0x2fd196)[_0x7441('0x19')]()),{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,'*Set\x20font\x20color:*\x20%0',_0x4c6e93)['trim'](),'color':{'value':_0x52f2be,'title':_0x4c6e93||_0x2fd196}};}return{'type':'format','content':_0x2b27ac(_0x3c704f,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x3720a8[_0x7441('0x24')]){const _0x3b7bfc=_0x3720a8[_0x7441('0xa')][0x0]['value'];if(_0x3b7bfc){const _0x358522=_0x76d701(this[_0x7441('0x9')][_0x7441('0x1f')]['get'](_0x7441('0x1c')))['find'](_0x4a2845=>_0x4a2845[_0x7441('0x18')]==_0x3b7bfc);let _0x4a5395=_0x3b7bfc,_0x235ed5='';return _0x358522&&(_0x4a5395=_0x358522[_0x7441('0x21')],_0x235ed5=_0x4fbab6(_0x4a5395)['toLowerCase']()),{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,_0x7441('0x22'),_0x235ed5)[_0x7441('0x23')](),'color':{'value':_0x3b7bfc,'title':_0x235ed5||_0x4a5395}};}return{'type':_0x7441('0x10'),'content':_0x2b27ac(_0x3c704f,'*Reset\x20font\x20background\x20color*')};}}});}[_0x7441('0x1b')](_0x330589){const _0x1ad9b3=this[_0x7441('0x9')];_0x1ad9b3['plugins'][_0x7441('0x2')](_0x7441('0x6'))[_0x7441('0x5')](_0x330589,(_0xe8f896,_0xa343fd={})=>{const _0x2e69e2=_0x1ad9b3['model'][_0x7441('0x4')]['selection'],_0x5152b1=_0xa343fd[_0x7441('0x1e')];_0x2e69e2[_0x7441('0x1')]?_0xe8f896(_0xa343fd):_0x1ad9b3['model']['change'](()=>{const _0xf0297f=Array[_0x7441('0x25')](_0x2e69e2[_0x7441('0x8')]());for(const _0x1b3d5b of _0xf0297f){const _0x34403f=_0x5152b1?[_0x1b3d5b]:_0x57f4dd(_0x330589,_0x1b3d5b,_0x1ad9b3[_0x7441('0x18')]);for(const _0x2c5efb of _0x34403f)_0x1ad9b3[_0x7441('0x12')][_0x7441('0x2')]('TrackChangesEditing')[_0x7441('0x20')](_0x2c5efb,{'commandName':_0x330589,'commandParams':[{'value':_0x5152b1}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6295=['createRange','afterInit','word','*Set\x20format\x20to:*\x20%0','model','fontSize','pasteFormat','document','length','normalizeSizeOptions','enableCommand','join','keys','title','markInlineFormat','getFirstPosition','backward','_descriptionFactory','commandParams','find','registerDescriptionCallback','isFormatting','toLowerCase','getItems','push','get','TrackChangesEditing','commands','fontBackgroundColor','getAttributes','config','split','getRanges','getSelectedBlocks','fontColor','slice','from','createSelection','toUpperCase','forward','editor','label','selection','copyFormat','schema','locale','isBlock','entries','FontSize','modifySelection','format','isCollapsed'];(function(_0x378014,_0x62953e){const _0x89de99=function(_0x5a848e){while(--_0x5a848e){_0x378014['push'](_0x378014['shift']());}};_0x89de99(++_0x62953e);}(_0x6295,0x14d));const _0x89de=function(_0x378014,_0x62953e){_0x378014=_0x378014-0x0;let _0x89de99=_0x6295[_0x378014];return _0x89de99;};import{Plugin as _0x5922ee}from'ckeditor5/src/core';import{normalizeColorOptions as _0x314639}from'ckeditor5/src/ui';import{first as _0xbd72b4}from'ckeditor5/src/utils';import{getTranslation as _0x4de889}from'../utils/common-translations';export default class J extends _0x5922ee{[_0x89de('0x20')](){const _0x5d7be2=this[_0x89de('0x13')],_0x54f8b8=_0x5d7be2[_0x89de('0x23')],_0xb5d399=_0x54f8b8[_0x89de('0x26')][_0x89de('0x15')],_0xe393ff=_0x5d7be2['plugins'][_0x89de('0x4')](_0x89de('0x5')),_0x2c6920=_0x5d7be2[_0x89de('0x18')],_0x2d170b=_0x5d7be2[_0x89de('0x6')][_0x89de('0x4')](_0x89de('0x16')),_0x55f3cd=_0x5d7be2[_0x89de('0x6')][_0x89de('0x4')]('pasteFormat');_0x2d170b&&_0x55f3cd&&(_0xe393ff['enableCommand']('pasteFormat',(_0x3e3c37,_0x44f723={})=>{const _0x589dd1=_0x44f723;_0x54f8b8['change'](()=>{const _0x415c7c=Array[_0x89de('0xf')](_0xb5d399[_0x89de('0xb')]()),_0x2b2321=_0xb5d399[_0x89de('0x1e')]?[io(_0x54f8b8,_0xb5d399)]:_0x415c7c,_0x362a8d=!!_0xbd72b4(function*(_0x597b6,_0x3f5878){const _0x1f645c=_0x370e94=>!!_0xbd72b4(function*(_0x451b1d,_0x533307){for(const [_0x38b1ed]of _0x451b1d[_0x89de('0x8')]()){const _0x34ef83=_0x533307['getAttributeProperties'](_0x38b1ed);_0x34ef83&&_0x34ef83[_0x89de('0x0')]&&(yield _0x38b1ed);}}(_0x370e94,_0x3f5878));for(const _0x3740cb of _0x597b6['getRanges']())for(const _0x16f771 of _0x3740cb[_0x89de('0x2')]())!_0x3f5878[_0x89de('0x19')](_0x16f771)&&_0x1f645c(_0x16f771)&&(yield _0x16f771);for(const _0x3492b of _0x597b6[_0x89de('0xc')]())_0x1f645c(_0x3492b)&&(yield _0x3492b);_0x1f645c(_0x597b6)&&(yield _0x597b6);}(_0xb5d399,_0x54f8b8[_0x89de('0x17')]));if(_0x362a8d||0x0!==Object[_0x89de('0x2b')](_0x589dd1)['length'])for(const _0x32fcbe of _0x2b2321)_0xe393ff[_0x89de('0x2d')](_0x32fcbe,{'commandName':_0x89de('0x25'),'commandParams':[_0x589dd1]});});}),_0xe393ff[_0x89de('0x30')][_0x89de('0x33')](_0x42feb6=>{const {data:_0x252d4c}=_0x42feb6;if(_0x252d4c&&_0x89de('0x25')===_0x252d4c['commandName']){const _0x1c5fc0=[],_0xb60b05=_0x252d4c[_0x89de('0x31')][0x0];for(const [_0x4825a7,_0x9d4e61]of Object[_0x89de('0x1a')](_0xb60b05))_0x1c5fc0[_0x89de('0x3')](so(_0x5d7be2,_0x4825a7,_0x9d4e61));return _0x1c5fc0[_0x89de('0x27')]?{'type':_0x89de('0x1d'),'content':_0x4de889(_0x2c6920,_0x89de('0x22'),_0x1c5fc0[_0x89de('0x2a')](',\x20'))}:{'type':'format','content':_0x4de889(_0x2c6920,'*Remove\x20all\x20formatting*')};}}),_0x5d7be2['plugins'][_0x89de('0x4')](_0x89de('0x5'))[_0x89de('0x29')](_0x89de('0x16')));}}function io(_0x5223cb,_0x4f6844){const _0xa55f5=_0x5223cb[_0x89de('0x10')](_0x4f6844);_0x5223cb[_0x89de('0x1c')](_0xa55f5,{'unit':_0x89de('0x21'),'direction':_0x89de('0x2f')});const _0x282294=_0xa55f5[_0x89de('0x2e')]();_0x5223cb[_0x89de('0x1c')](_0xa55f5,{'unit':_0x89de('0x21'),'direction':_0x89de('0x12')});const _0x43582e=_0xa55f5['getLastPosition']();return _0x5223cb[_0x89de('0x1f')](_0x282294,_0x43582e);}function so(_0x2b4cce,_0x298b8a,_0x5c0698){const _0x3fe72a=_0x2b4cce[_0x89de('0x18')]['t'],_0x9a8b06=_0x298b8a[_0x89de('0xa')](/(?=[A-Z])/)['join']('\x20'),_0x1b2ff0=_0x3fe72a(_0x9a8b06['charAt'](0x0)[_0x89de('0x11')]()+_0x9a8b06[_0x89de('0xe')](0x1))[_0x89de('0x1')]();if('boolean'==typeof _0x5c0698)return _0x1b2ff0;if(_0x89de('0xd')===_0x298b8a||_0x89de('0x7')===_0x298b8a){const _0x163cbd=_0x314639(_0x2b4cce[_0x89de('0x9')]['get']('fontColor.colors'))['find'](_0x52b350=>_0x52b350[_0x89de('0x23')]==_0x5c0698);return _0x1b2ff0+'\x20('+(_0x163cbd?_0x3fe72a(_0x163cbd[_0x89de('0x14')])['toLowerCase']():_0x5c0698)+')';}if(_0x89de('0x24')===_0x298b8a&&isNaN(parseFloat(_0x5c0698))){const _0x52320f=_0x2b4cce['plugins'][_0x89de('0x4')](_0x89de('0x1b'))[_0x89de('0x28')](_0x2b4cce['config'][_0x89de('0x4')]('fontSize.options'))[_0x89de('0x32')](_0x57fc4e=>_0x57fc4e[_0x89de('0x23')]==_0x5c0698);return _0x1b2ff0+'\x20('+(_0x52320f?_0x3fe72a(_0x52320f[_0x89de('0x2c')])[_0x89de('0x1')]():_0x5c0698)+')';}return _0x1b2ff0+'\x20('+_0x5c0698+')';}
23
+ const _0x3a4f=['markInlineFormat','getAttributeProperties','registerDescriptionCallback','keys','length','modifySelection','format','word','fontSize','model','copyFormat','getRanges','isFormatting','*Remove\x20all\x20formatting*','find','commandParams','fontBackgroundColor','FontSize','toUpperCase','pasteFormat','getAttributes','backward','afterInit','TrackChangesEditing','commandName','join','push','fontColor','selection','split','enableCommand','getSelectedBlocks','config','locale','_descriptionFactory','toLowerCase','get','charAt','*Set\x20format\x20to:*\x20%0','slice','commands','entries','document','plugins','schema','forward','label','fontSize.options','normalizeSizeOptions','change','editor'];(function(_0x220ed4,_0x3a4f3d){const _0x8ee78d=function(_0x1eee66){while(--_0x1eee66){_0x220ed4['push'](_0x220ed4['shift']());}};_0x8ee78d(++_0x3a4f3d);}(_0x3a4f,0xf3));const _0x8ee7=function(_0x220ed4,_0x3a4f3d){_0x220ed4=_0x220ed4-0x0;let _0x8ee78d=_0x3a4f[_0x220ed4];return _0x8ee78d;};import{Plugin as _0x5665b5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2c999f}from'ckeditor5/src/ui';import{first as _0x52887e}from'ckeditor5/src/utils';import{getTranslation as _0x3ac781}from'../utils/common-translations';export default class J extends _0x5665b5{[_0x8ee7('0x22')](){const _0x39f914=this[_0x8ee7('0xb')],_0x51d7c4=_0x39f914['model'],_0x1a6d96=_0x51d7c4[_0x8ee7('0x3')][_0x8ee7('0x28')],_0x10592c=_0x39f914[_0x8ee7('0x4')][_0x8ee7('0x30')](_0x8ee7('0x23')),_0x6e3bce=_0x39f914[_0x8ee7('0x2d')],_0x34f681=_0x39f914[_0x8ee7('0x1')][_0x8ee7('0x30')](_0x8ee7('0x16')),_0x571880=_0x39f914['commands']['get']('pasteFormat');_0x34f681&&_0x571880&&(_0x10592c[_0x8ee7('0x2a')](_0x8ee7('0x1f'),(_0x572190,_0x4de3de={})=>{const _0x4508ed=_0x4de3de;_0x51d7c4[_0x8ee7('0xa')](()=>{const _0x4fa38d=Array['from'](_0x1a6d96['getRanges']()),_0x2d854e=_0x1a6d96['isCollapsed']?[io(_0x51d7c4,_0x1a6d96)]:_0x4fa38d,_0x34d7f4=!!_0x52887e(function*(_0x90b59c,_0x4b1e3a){const _0x40bbc3=_0x52a53e=>!!_0x52887e(function*(_0x216711,_0x1c3f06){for(const [_0xb7bd33]of _0x216711[_0x8ee7('0x20')]()){const _0x162443=_0x1c3f06[_0x8ee7('0xd')](_0xb7bd33);_0x162443&&_0x162443[_0x8ee7('0x18')]&&(yield _0xb7bd33);}}(_0x52a53e,_0x4b1e3a));for(const _0x5ee2b4 of _0x90b59c[_0x8ee7('0x17')]())for(const _0x242b5d of _0x5ee2b4['getItems']())!_0x4b1e3a['isBlock'](_0x242b5d)&&_0x40bbc3(_0x242b5d)&&(yield _0x242b5d);for(const _0x16680a of _0x90b59c[_0x8ee7('0x2b')]())_0x40bbc3(_0x16680a)&&(yield _0x16680a);_0x40bbc3(_0x90b59c)&&(yield _0x90b59c);}(_0x1a6d96,_0x51d7c4[_0x8ee7('0x5')]));if(_0x34d7f4||0x0!==Object[_0x8ee7('0xf')](_0x4508ed)['length'])for(const _0x1ad36b of _0x2d854e)_0x10592c[_0x8ee7('0xc')](_0x1ad36b,{'commandName':_0x8ee7('0x1f'),'commandParams':[_0x4508ed]});});}),_0x10592c[_0x8ee7('0x2e')][_0x8ee7('0xe')](_0x38317a=>{const {data:_0x340326}=_0x38317a;if(_0x340326&&_0x8ee7('0x1f')===_0x340326[_0x8ee7('0x24')]){const _0x36dc14=[],_0x53a508=_0x340326[_0x8ee7('0x1b')][0x0];for(const [_0x1c8959,_0x21e783]of Object[_0x8ee7('0x2')](_0x53a508))_0x36dc14[_0x8ee7('0x26')](so(_0x39f914,_0x1c8959,_0x21e783));return _0x36dc14[_0x8ee7('0x10')]?{'type':_0x8ee7('0x12'),'content':_0x3ac781(_0x6e3bce,_0x8ee7('0x32'),_0x36dc14[_0x8ee7('0x25')](',\x20'))}:{'type':_0x8ee7('0x12'),'content':_0x3ac781(_0x6e3bce,_0x8ee7('0x19'))};}}),_0x39f914[_0x8ee7('0x4')][_0x8ee7('0x30')](_0x8ee7('0x23'))[_0x8ee7('0x2a')](_0x8ee7('0x16')));}}function io(_0x2ab441,_0x1b4ff5){const _0x141a65=_0x2ab441['createSelection'](_0x1b4ff5);_0x2ab441[_0x8ee7('0x11')](_0x141a65,{'unit':_0x8ee7('0x13'),'direction':_0x8ee7('0x21')});const _0x1372c5=_0x141a65['getFirstPosition']();_0x2ab441['modifySelection'](_0x141a65,{'unit':_0x8ee7('0x13'),'direction':_0x8ee7('0x6')});const _0x154884=_0x141a65['getLastPosition']();return _0x2ab441['createRange'](_0x1372c5,_0x154884);}function so(_0x92e283,_0x46cbbf,_0x408584){const _0x5727ea=_0x92e283['locale']['t'],_0x448ad5=_0x46cbbf[_0x8ee7('0x29')](/(?=[A-Z])/)[_0x8ee7('0x25')]('\x20'),_0x1f2158=_0x5727ea(_0x448ad5[_0x8ee7('0x31')](0x0)[_0x8ee7('0x1e')]()+_0x448ad5[_0x8ee7('0x0')](0x1))[_0x8ee7('0x2f')]();if('boolean'==typeof _0x408584)return _0x1f2158;if(_0x8ee7('0x27')===_0x46cbbf||_0x8ee7('0x1c')===_0x46cbbf){const _0x51e086=_0x2c999f(_0x92e283[_0x8ee7('0x2c')][_0x8ee7('0x30')]('fontColor.colors'))[_0x8ee7('0x1a')](_0x29e9fe=>_0x29e9fe[_0x8ee7('0x15')]==_0x408584);return _0x1f2158+'\x20('+(_0x51e086?_0x5727ea(_0x51e086[_0x8ee7('0x7')])[_0x8ee7('0x2f')]():_0x408584)+')';}if(_0x8ee7('0x14')===_0x46cbbf&&isNaN(parseFloat(_0x408584))){const _0x857e7f=_0x92e283['plugins'][_0x8ee7('0x30')](_0x8ee7('0x1d'))[_0x8ee7('0x9')](_0x92e283[_0x8ee7('0x2c')][_0x8ee7('0x30')](_0x8ee7('0x8')))[_0x8ee7('0x1a')](_0x1c6de2=>_0x1c6de2[_0x8ee7('0x15')]==_0x408584);return _0x1f2158+'\x20('+(_0x857e7f?_0x5727ea(_0x857e7f['title'])['toLowerCase']():_0x408584)+')';}return _0x1f2158+'\x20('+_0x408584+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f45=['ELEMENT_HEADING','registerElementLabel','has','formatBlock','blockName','heading.options','enableCommand','from','checkChild','afterInit','selection','title','model','paragraph','get','HeadingEditing','editor','config','match','change','commandName','filter','plugins','*Change\x20to:*\x20%0','ELEMENT_HEADING_CUSTOM','find','format','document','name','_descriptionFactory','isObject','heading','value','TrackChangesEditing'];(function(_0x18386b,_0x1f458b){const _0x32a75a=function(_0x39dcc7){while(--_0x39dcc7){_0x18386b['push'](_0x18386b['shift']());}};_0x32a75a(++_0x1f458b);}(_0x1f45,0xc9));const _0x32a7=function(_0x18386b,_0x1f458b){_0x18386b=_0x18386b-0x0;let _0x32a75a=_0x1f45[_0x18386b];return _0x32a75a;};import{Plugin as _0x39f8a1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x17d320}from'./utils';import{getTranslation as _0x7539a8}from'../utils/common-translations';export default class K extends _0x39f8a1{[_0x32a7('0xc')](){const _0x18e5b9=this[_0x32a7('0x13')],_0x3a954f=_0x18e5b9['locale'],_0x31f8d7=_0x18e5b9[_0x32a7('0x14')]['get'](_0x32a7('0x8'));if(!_0x18e5b9['plugins'][_0x32a7('0x5')](_0x32a7('0x12')))return;const _0x2d52e5=_0x18e5b9[_0x32a7('0x19')][_0x32a7('0x11')](_0x32a7('0x2'));_0x2d52e5[_0x32a7('0x9')](_0x32a7('0x0'),(_0x3a0ef7,_0x1ca4be)=>{const _0x595136=_0x1ca4be[_0x32a7('0x1')],_0x4024b7=Array[_0x32a7('0xa')](this[_0x32a7('0x13')][_0x32a7('0xf')][_0x32a7('0x1e')][_0x32a7('0xd')]['getSelectedBlocks']())[_0x32a7('0x18')](_0x5260fc=>function(_0x1ad598,_0x1b35ea,_0x2e3b25){return _0x2e3b25[_0x32a7('0xb')](_0x1ad598['parent'],_0x1b35ea)&&!_0x2e3b25[_0x32a7('0x21')](_0x1ad598)&&_0x1ad598[_0x32a7('0x1f')]!=_0x1b35ea;}(_0x5260fc,_0x595136,this[_0x32a7('0x13')][_0x32a7('0xf')]['schema']));_0x18e5b9[_0x32a7('0xf')][_0x32a7('0x16')](()=>{for(const _0x35dabd of _0x4024b7)_0x2d52e5['markBlockFormat'](_0x35dabd,{'commandName':'heading','commandParams':[_0x1ca4be],'formatGroupId':_0x32a7('0x7')},_0x17d320(_0x35dabd));});});for(const _0x5cc7f9 of _0x31f8d7)_0x32a7('0x10')!=_0x5cc7f9[_0x32a7('0xf')]&&_0x2d52e5[_0x32a7('0x20')][_0x32a7('0x4')](_0x5cc7f9[_0x32a7('0xf')],_0x10fe4f=>{const _0x3ddcc2=nn(_0x5cc7f9[_0x32a7('0xf')]);return null!==_0x3ddcc2?_0x21f43b(_0x10fe4f,_0x3ddcc2):_0x2bd1a3(_0x10fe4f,_0x5cc7f9['title']);});function _0x21f43b(_0xb7a461,_0x1be78d){return _0x7539a8(_0x3a954f,_0x32a7('0x3'),[_0xb7a461,_0x1be78d]);}function _0x2bd1a3(_0x41c650,_0x4774a3){return _0x7539a8(_0x3a954f,_0x32a7('0x1b'),[_0x41c650,_0x4774a3]);}_0x2d52e5['_descriptionFactory']['registerDescriptionCallback'](_0x7d0e5c=>{const {type:_0x112a98,data:_0x3a0fba}=_0x7d0e5c;if(_0x32a7('0x6')==_0x112a98&&_0x3a0fba&&_0x32a7('0x0')==_0x3a0fba[_0x32a7('0x17')]){const _0xd58012=_0x3a0fba['commandParams'][0x0][_0x32a7('0x1')],_0x4ea550=nn(_0xd58012);if(null!==_0x4ea550)return{'type':_0x32a7('0x1d'),'content':_0x7539a8(_0x3a954f,_0x32a7('0x1a'),_0x21f43b(0x1,_0x4ea550))};const _0xea035f=_0x31f8d7[_0x32a7('0x1c')](_0x5cc6a4=>_0x5cc6a4['model']===_0xd58012)[_0x32a7('0xe')];return{'type':_0x32a7('0x1d'),'content':_0x7539a8(_0x3a954f,_0x32a7('0x1a'),_0x2bd1a3(0x1,_0xea035f))};}});}}function nn(_0x752665){const _0x30bb09=_0x752665[_0x32a7('0x15')](/^heading(\d+)$/);return _0x30bb09?_0x30bb09[0x1]:null;}
23
+ const _0x327a=['isObject','model','find','value','get','editor','getSelectedBlocks','ELEMENT_HEADING_CUSTOM','formatBlock','from','plugins','heading','HeadingEditing','_descriptionFactory','*Change\x20to:*\x20%0','format','name','paragraph','TrackChangesEditing','parent','change','match','registerElementLabel','schema','enableCommand','selection','checkChild','heading.options','has','locale','commandName','config','registerDescriptionCallback'];(function(_0x688f99,_0x327a3a){const _0x5c9fed=function(_0x2c6d7b){while(--_0x2c6d7b){_0x688f99['push'](_0x688f99['shift']());}};_0x5c9fed(++_0x327a3a);}(_0x327a,0x7f));const _0x5c9f=function(_0x688f99,_0x327a3a){_0x688f99=_0x688f99-0x0;let _0x5c9fed=_0x327a[_0x688f99];return _0x5c9fed;};import{Plugin as _0x2b56cc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3f9c15}from'./utils';import{getTranslation as _0x4f725f}from'../utils/common-translations';export default class K extends _0x2b56cc{['afterInit'](){const _0x39a4eb=this[_0x5c9f('0xa')],_0x58a23b=_0x39a4eb[_0x5c9f('0x1')],_0x140770=_0x39a4eb[_0x5c9f('0x3')][_0x5c9f('0x9')](_0x5c9f('0x20'));if(!_0x39a4eb[_0x5c9f('0xf')][_0x5c9f('0x0')](_0x5c9f('0x11')))return;const _0xe41ce3=_0x39a4eb[_0x5c9f('0xf')][_0x5c9f('0x9')](_0x5c9f('0x17'));_0xe41ce3[_0x5c9f('0x1d')](_0x5c9f('0x10'),(_0x153d1f,_0x1f1b69)=>{const _0x5aefdd=_0x1f1b69[_0x5c9f('0x8')],_0x2f48af=Array[_0x5c9f('0xe')](this[_0x5c9f('0xa')][_0x5c9f('0x6')]['document'][_0x5c9f('0x1e')][_0x5c9f('0xb')]())['filter'](_0x1cab5c=>function(_0x133f0f,_0x5e06f9,_0x4f40d9){return _0x4f40d9[_0x5c9f('0x1f')](_0x133f0f[_0x5c9f('0x18')],_0x5e06f9)&&!_0x4f40d9[_0x5c9f('0x5')](_0x133f0f)&&_0x133f0f[_0x5c9f('0x15')]!=_0x5e06f9;}(_0x1cab5c,_0x5aefdd,this[_0x5c9f('0xa')][_0x5c9f('0x6')][_0x5c9f('0x1c')]));_0x39a4eb[_0x5c9f('0x6')][_0x5c9f('0x19')](()=>{for(const _0x56b9cc of _0x2f48af)_0xe41ce3['markBlockFormat'](_0x56b9cc,{'commandName':_0x5c9f('0x10'),'commandParams':[_0x1f1b69],'formatGroupId':'blockName'},_0x3f9c15(_0x56b9cc));});});for(const _0x4d685f of _0x140770)_0x5c9f('0x16')!=_0x4d685f[_0x5c9f('0x6')]&&_0xe41ce3[_0x5c9f('0x12')][_0x5c9f('0x1b')](_0x4d685f[_0x5c9f('0x6')],_0x57009f=>{const _0x3f7dc1=nn(_0x4d685f[_0x5c9f('0x6')]);return null!==_0x3f7dc1?_0x4f4587(_0x57009f,_0x3f7dc1):_0xb5389d(_0x57009f,_0x4d685f['title']);});function _0x4f4587(_0x598e8f,_0xa2a9bc){return _0x4f725f(_0x58a23b,'ELEMENT_HEADING',[_0x598e8f,_0xa2a9bc]);}function _0xb5389d(_0xa1afa6,_0x23b030){return _0x4f725f(_0x58a23b,_0x5c9f('0xc'),[_0xa1afa6,_0x23b030]);}_0xe41ce3[_0x5c9f('0x12')][_0x5c9f('0x4')](_0x1d8644=>{const {type:_0x142c6b,data:_0x3d17f5}=_0x1d8644;if(_0x5c9f('0xd')==_0x142c6b&&_0x3d17f5&&_0x5c9f('0x10')==_0x3d17f5[_0x5c9f('0x2')]){const _0x2d9b84=_0x3d17f5['commandParams'][0x0]['value'],_0x2418d1=nn(_0x2d9b84);if(null!==_0x2418d1)return{'type':_0x5c9f('0x14'),'content':_0x4f725f(_0x58a23b,_0x5c9f('0x13'),_0x4f4587(0x1,_0x2418d1))};const _0x166415=_0x140770[_0x5c9f('0x7')](_0x5980eb=>_0x5980eb[_0x5c9f('0x6')]===_0x2d9b84)['title'];return{'type':'format','content':_0x4f725f(_0x58a23b,_0x5c9f('0x13'),_0xb5389d(0x1,_0x166415))};}});}}function nn(_0x56f525){const _0x51388f=_0x56f525[_0x5c9f('0x1a')](/^heading(\d+)$/);return _0x51388f?_0x51388f[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8010=['item','FORMAT_HIGHLIGHT','highlight','editor','locale','*Set\x20highlight:*\x20%0','registerDescriptionCallback','has','hasAttribute','push','config','TrackChangesEditing','find','color','value','model','HighlightEditing','highlight.options','getLastMatchingPosition','commandName','markInlineFormat','backward','toLowerCase','format','title','change','get','formatInline','plugins','document','commandParams','getAttribute','selection','*Remove\x20highlight*','getFirstPosition','afterInit','isCollapsed'];(function(_0x169fe2,_0x8010ba){const _0x54d726=function(_0x52630c){while(--_0x52630c){_0x169fe2['push'](_0x169fe2['shift']());}};_0x54d726(++_0x8010ba);}(_0x8010,0x69));const _0x54d7=function(_0x169fe2,_0x8010ba){_0x169fe2=_0x169fe2-0x0;let _0x54d726=_0x8010[_0x169fe2];return _0x54d726;};import{Plugin as _0x238690}from'ckeditor5/src/core';import{getTranslation as _0x42422f}from'../utils/common-translations';import{getRangesWithAttribute as _0x2b2a37}from'./utils';export default class Q extends _0x238690{[_0x54d7('0x4')](){const _0x373769=this[_0x54d7('0x9')];if(!_0x373769[_0x54d7('0x22')][_0x54d7('0xd')](_0x54d7('0x16')))return;const _0x48a806=_0x373769['plugins']['get'](_0x54d7('0x11'));_0x48a806['enableCommand'](_0x54d7('0x8'),(_0xd5c285,_0x548fbd={})=>{const _0x3d839f=_0x373769[_0x54d7('0x15')][_0x54d7('0x23')][_0x54d7('0x1')],_0x50e9a0=_0x3d839f[_0x54d7('0x0')](_0x54d7('0x8'));let _0x3af676=_0x548fbd[_0x54d7('0x14')],_0x456fd8=[];if(_0x3d839f[_0x54d7('0x5')]){const _0x36026a=_0x3d839f[_0x54d7('0x3')]();if(!_0x3d839f[_0x54d7('0xe')](_0x54d7('0x8')))return void _0xd5c285(_0x548fbd);{const _0x2b9e07=_0x328592=>_0x328592[_0x54d7('0x6')][_0x54d7('0x0')](_0x54d7('0x8'))===_0x50e9a0,_0x3a8c8c=_0x36026a[_0x54d7('0x18')](_0x2b9e07,{'direction':_0x54d7('0x1b')}),_0x34cdaa=_0x36026a['getLastMatchingPosition'](_0x2b9e07);_0x456fd8=[_0x373769[_0x54d7('0x15')]['createRange'](_0x3a8c8c,_0x34cdaa)],_0x3af676==_0x50e9a0&&(_0x3af676=null);}}else for(const _0x1a0a49 of _0x3d839f['getRanges']())_0x3af676?_0x456fd8['push'](_0x1a0a49):_0x456fd8[_0x54d7('0xf')](..._0x2b2a37('highlight',_0x1a0a49,_0x373769[_0x54d7('0x15')]));_0x373769[_0x54d7('0x15')][_0x54d7('0x1f')](()=>{for(const _0x3f5786 of _0x456fd8)_0x48a806[_0x54d7('0x1a')](_0x3f5786,{'commandName':_0x54d7('0x8'),'commandParams':[{'value':_0x3af676}]});});});const _0x557ae9=_0x373769[_0x54d7('0xa')];_0x48a806['_descriptionFactory'][_0x54d7('0xc')](_0x24d80f=>{const {type:_0x4c1af2,data:_0x2a4fdf}=_0x24d80f;if(_0x54d7('0x21')==_0x4c1af2&&_0x2a4fdf&&'highlight'==_0x2a4fdf[_0x54d7('0x19')]){const _0x47d003=_0x557ae9['t'],_0x56d8c4=_0x2a4fdf[_0x54d7('0x24')][0x0]['value'];if(_0x56d8c4){const _0x1fd682=_0x373769[_0x54d7('0x10')][_0x54d7('0x20')](_0x54d7('0x17'))[_0x54d7('0x12')](_0x4f87bb=>_0x4f87bb[_0x54d7('0x15')]==_0x56d8c4),_0x2d2a16=_0x47d003(_0x1fd682[_0x54d7('0x1e')])[_0x54d7('0x1c')]();return{'type':_0x54d7('0x1d'),'content':_0x42422f(_0x557ae9,_0x54d7('0xb'),_0x2d2a16),'color':{'value':_0x1fd682[_0x54d7('0x13')],'title':_0x1fd682['title']}};}return{'type':_0x54d7('0x1d'),'content':_0x42422f(_0x557ae9,_0x54d7('0x2'),_0x42422f(_0x557ae9,_0x54d7('0x7')))};}});}}
23
+ const _0x7702=['toLowerCase','afterInit','value','*Set\x20highlight:*\x20%0','plugins','highlight','createRange','_descriptionFactory','model','getLastMatchingPosition','backward','getRanges','color','get','commandName','hasAttribute','title','isCollapsed','enableCommand','push','FORMAT_HIGHLIGHT','format','TrackChangesEditing','getAttribute','highlight.options','getFirstPosition','selection','config','locale','find','*Remove\x20highlight*','change'];(function(_0x15c323,_0x7702d0){const _0x14152c=function(_0x3f9551){while(--_0x3f9551){_0x15c323['push'](_0x15c323['shift']());}};_0x14152c(++_0x7702d0);}(_0x7702,0xbf));const _0x1415=function(_0x15c323,_0x7702d0){_0x15c323=_0x15c323-0x0;let _0x14152c=_0x7702[_0x15c323];return _0x14152c;};import{Plugin as _0x39acda}from'ckeditor5/src/core';import{getTranslation as _0x5cb591}from'../utils/common-translations';import{getRangesWithAttribute as _0x1baaab}from'./utils';export default class Q extends _0x39acda{[_0x1415('0x2')](){const _0x1397a3=this['editor'];if(!_0x1397a3['plugins']['has']('HighlightEditing'))return;const _0x3f5630=_0x1397a3[_0x1415('0x5')][_0x1415('0xe')](_0x1415('0x17'));_0x3f5630[_0x1415('0x13')]('highlight',(_0x3d598d,_0x21ddcd={})=>{const _0x1d8bbd=_0x1397a3[_0x1415('0x9')]['document'][_0x1415('0x1b')],_0x168ee9=_0x1d8bbd[_0x1415('0x18')](_0x1415('0x6'));let _0x28d4fe=_0x21ddcd[_0x1415('0x3')],_0x266210=[];if(_0x1d8bbd[_0x1415('0x12')]){const _0x3a75e3=_0x1d8bbd[_0x1415('0x1a')]();if(!_0x1d8bbd[_0x1415('0x10')](_0x1415('0x6')))return void _0x3d598d(_0x21ddcd);{const _0x466e7b=_0x5e9116=>_0x5e9116['item'][_0x1415('0x18')]('highlight')===_0x168ee9,_0x184421=_0x3a75e3[_0x1415('0xa')](_0x466e7b,{'direction':_0x1415('0xb')}),_0x25e7f1=_0x3a75e3[_0x1415('0xa')](_0x466e7b);_0x266210=[_0x1397a3[_0x1415('0x9')][_0x1415('0x7')](_0x184421,_0x25e7f1)],_0x28d4fe==_0x168ee9&&(_0x28d4fe=null);}}else for(const _0x2ce81d of _0x1d8bbd[_0x1415('0xc')]())_0x28d4fe?_0x266210['push'](_0x2ce81d):_0x266210[_0x1415('0x14')](..._0x1baaab(_0x1415('0x6'),_0x2ce81d,_0x1397a3[_0x1415('0x9')]));_0x1397a3[_0x1415('0x9')][_0x1415('0x0')](()=>{for(const _0x245273 of _0x266210)_0x3f5630['markInlineFormat'](_0x245273,{'commandName':_0x1415('0x6'),'commandParams':[{'value':_0x28d4fe}]});});});const _0x51d02b=_0x1397a3[_0x1415('0x1d')];_0x3f5630[_0x1415('0x8')]['registerDescriptionCallback'](_0x47dc72=>{const {type:_0x5c79e5,data:_0x20d17c}=_0x47dc72;if('formatInline'==_0x5c79e5&&_0x20d17c&&_0x1415('0x6')==_0x20d17c[_0x1415('0xf')]){const _0x54f757=_0x51d02b['t'],_0x227846=_0x20d17c['commandParams'][0x0][_0x1415('0x3')];if(_0x227846){const _0x120894=_0x1397a3[_0x1415('0x1c')]['get'](_0x1415('0x19'))[_0x1415('0x1e')](_0x58a38f=>_0x58a38f[_0x1415('0x9')]==_0x227846),_0x370b47=_0x54f757(_0x120894['title'])[_0x1415('0x1')]();return{'type':_0x1415('0x16'),'content':_0x5cb591(_0x51d02b,_0x1415('0x4'),_0x370b47),'color':{'value':_0x120894[_0x1415('0xd')],'title':_0x120894[_0x1415('0x11')]}};}return{'type':'format','content':_0x5cb591(_0x51d02b,_0x1415('0x1f'),_0x5cb591(_0x51d02b,_0x1415('0x15')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5895=['high','locale','createEmptyElement','get','createContainerElement','dataDowncast','addClass','conversion','elementToStructure','insert','registerElementLabel','horizontalLine','_descriptionFactory','plugins','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','createPositionAt','editor'];(function(_0x4cfea1,_0x5895ce){const _0x2fd4f9=function(_0x53275e){while(--_0x53275e){_0x4cfea1['push'](_0x4cfea1['shift']());}};_0x2fd4f9(++_0x5895ce);}(_0x5895,0x1a7));const _0x2fd4=function(_0x4cfea1,_0x5895ce){_0x4cfea1=_0x4cfea1-0x0;let _0x2fd4f9=_0x5895[_0x4cfea1];return _0x2fd4f9;};import{Plugin as _0x50a112}from'ckeditor5/src/core';import{getTranslation as _0x243725}from'../utils/common-translations';export default class V extends _0x50a112{['afterInit'](){const _0x3b78bc=this[_0x2fd4('0x8')];if(!_0x3b78bc[_0x2fd4('0x4')]['has']('HorizontalLineEditing'))return;_0x3b78bc[_0x2fd4('0x4')][_0x2fd4('0xc')](_0x2fd4('0x5'))['enableCommand'](_0x2fd4('0x2'));const _0xddae5f=_0x3b78bc[_0x2fd4('0x4')][_0x2fd4('0xc')](_0x2fd4('0x5')),_0x2c86ab=_0x3b78bc[_0x2fd4('0xa')];_0xddae5f[_0x2fd4('0x3')][_0x2fd4('0x1')](_0x2fd4('0x2'),_0x554545=>_0x243725(_0x2c86ab,_0x2fd4('0x6'),_0x554545)),_0x3b78bc[_0x2fd4('0x10')]['for'](_0x2fd4('0xe'))[_0x2fd4('0x11')]({'model':_0x2fd4('0x2'),'view':(_0x4403b9,{writer:_0xf2fd36,options:_0x263726})=>{if(!_0x263726['showSuggestionHighlights'])return null;const _0x411fe4=_0xf2fd36[_0x2fd4('0xd')]('div'),_0x4badce=_0xf2fd36[_0x2fd4('0xb')]('hr');return _0xf2fd36[_0x2fd4('0xf')]('ck-horizontal-line',_0x411fe4),_0xf2fd36[_0x2fd4('0x0')](_0xf2fd36[_0x2fd4('0x7')](_0x411fe4,0x0),_0x4badce),_0x411fe4;},'converterPriority':_0x2fd4('0x9')});}}
23
+ const _0x4058=['addClass','conversion','showSuggestionHighlights','_descriptionFactory','get','high','horizontalLine','afterInit','for','TrackChangesEditing','div','plugins','dataDowncast','createEmptyElement'];(function(_0x4afbc1,_0x405867){const _0x1c07df=function(_0x38e310){while(--_0x38e310){_0x4afbc1['push'](_0x4afbc1['shift']());}};_0x1c07df(++_0x405867);}(_0x4058,0x19f));const _0x1c07=function(_0x4afbc1,_0x405867){_0x4afbc1=_0x4afbc1-0x0;let _0x1c07df=_0x4058[_0x4afbc1];return _0x1c07df;};import{Plugin as _0x88c52}from'ckeditor5/src/core';import{getTranslation as _0x84191e}from'../utils/common-translations';export default class V extends _0x88c52{[_0x1c07('0xc')](){const _0x3d76d9=this['editor'];if(!_0x3d76d9[_0x1c07('0x2')]['has']('HorizontalLineEditing'))return;_0x3d76d9[_0x1c07('0x2')][_0x1c07('0x9')](_0x1c07('0x0'))['enableCommand'](_0x1c07('0xb'));const _0x33bdc9=_0x3d76d9[_0x1c07('0x2')][_0x1c07('0x9')](_0x1c07('0x0')),_0x497095=_0x3d76d9['locale'];_0x33bdc9[_0x1c07('0x8')]['registerElementLabel'](_0x1c07('0xb'),_0x372e2b=>_0x84191e(_0x497095,'ELEMENT_HORIZONTAL_LINE',_0x372e2b)),_0x3d76d9[_0x1c07('0x6')][_0x1c07('0xd')](_0x1c07('0x3'))['elementToStructure']({'model':_0x1c07('0xb'),'view':(_0x45e8d1,{writer:_0x960f2d,options:_0x59fea2})=>{if(!_0x59fea2[_0x1c07('0x7')])return null;const _0x5e4a7d=_0x960f2d['createContainerElement'](_0x1c07('0x1')),_0x95d755=_0x960f2d[_0x1c07('0x4')]('hr');return _0x960f2d[_0x1c07('0x5')]('ck-horizontal-line',_0x5e4a7d),_0x960f2d['insert'](_0x960f2d['createPositionAt'](_0x5e4a7d,0x0),_0x95d755),_0x5e4a7d;},'converterPriority':_0x1c07('0xa')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cad=['change','htmlEmbed','getSelectedElement','*Change\x20%0\x20content*','document','view','getCustomProperty','afterInit','markBlockFormat','registerDescriptionCallback','get','plugins','selection','element','TrackChangesEditing','rawHtmlApi','format','ELEMENT_HTML_EMBED','commandName','HtmlEmbed','_descriptionFactory','getAttribute','rawHtml','has'];(function(_0x6e12dc,_0x2cad98){const _0x16c214=function(_0x3be7b9){while(--_0x3be7b9){_0x6e12dc['push'](_0x6e12dc['shift']());}};_0x16c214(++_0x2cad98);}(_0x2cad,0x80));const _0x16c2=function(_0x6e12dc,_0x2cad98){_0x6e12dc=_0x6e12dc-0x0;let _0x16c214=_0x2cad[_0x6e12dc];return _0x16c214;};import{Plugin as _0x3c8f4d}from'ckeditor5/src/core';import{getTranslation as _0x212024}from'../utils/common-translations';export default class X extends _0x3c8f4d{[_0x16c2('0x17')](){const _0xbf14fa=this['editor'];if(!_0xbf14fa[_0x16c2('0x3')][_0x16c2('0xf')](_0x16c2('0xb')))return;const _0x3dab34=_0xbf14fa[_0x16c2('0x3')][_0x16c2('0x2')]('TrackChangesEditing'),_0x146343=_0xbf14fa['locale'],_0x2f4a25=_0xbf14fa['editing'][_0x16c2('0x15')][_0x16c2('0x14')]['selection'];_0x3dab34[_0x16c2('0xc')]['registerElementLabel'](_0x16c2('0xe'),_0x29d21d=>_0x212024(_0x146343,_0x16c2('0x9'),_0x29d21d)),_0xbf14fa[_0x16c2('0x3')][_0x16c2('0x2')](_0x16c2('0x6'))['enableCommand'](_0x16c2('0x11'),(_0x2d1db4,_0x280432)=>{const _0x8c123d=_0xbf14fa['model'],_0x5a4b09=_0x8c123d[_0x16c2('0x14')][_0x16c2('0x4')];_0x8c123d[_0x16c2('0x10')](()=>{const _0x52c66b=function(_0x868bc){const _0x2ea8d4=_0x868bc[_0x16c2('0x12')]();if(_0x2ea8d4&&_0x2ea8d4['is'](_0x16c2('0x5'),'rawHtml'))return _0x868bc[_0x16c2('0x12')]();return null;}(_0x5a4b09);if(!_0x52c66b)return void _0x2d1db4(null);const _0x27610e=_0x52c66b[_0x16c2('0xd')]('value')||'';if(void 0x0===_0x280432)return;if(_0x280432===_0x27610e)return;_0x3dab34[_0x16c2('0x0')](_0x52c66b,{'commandName':'htmlEmbed','commandParams':[_0x280432]}),_0x2f4a25[_0x16c2('0x12')]()[_0x16c2('0x16')](_0x16c2('0x7'))['cancel']();});}),_0x3dab34[_0x16c2('0xc')][_0x16c2('0x1')](_0xce0ee0=>{const {data:_0x1d4b30}=_0xce0ee0;if(_0x1d4b30&&_0x16c2('0x11')==_0x1d4b30[_0x16c2('0xa')]){const _0x2393fd=_0x212024(_0x146343,_0x16c2('0x9'));return{'type':_0x16c2('0x8'),'content':_0x212024(_0x146343,_0x16c2('0x13'),_0x2393fd)};}});}}
23
+ const _0x33ba=['afterInit','value','has','editor','getSelectedElement','plugins','selection','get','rawHtml','rawHtmlApi','cancel','getAttribute','locale','change','commandName','element','_descriptionFactory','view','document','format','ELEMENT_HTML_EMBED','*Change\x20%0\x20content*','registerElementLabel','HtmlEmbed','htmlEmbed','TrackChangesEditing','markBlockFormat'];(function(_0x40f976,_0x33ba7d){const _0x201dca=function(_0x3eca5c){while(--_0x3eca5c){_0x40f976['push'](_0x40f976['shift']());}};_0x201dca(++_0x33ba7d);}(_0x33ba,0x175));const _0x201d=function(_0x40f976,_0x33ba7d){_0x40f976=_0x40f976-0x0;let _0x201dca=_0x33ba[_0x40f976];return _0x201dca;};import{Plugin as _0x1f9d11}from'ckeditor5/src/core';import{getTranslation as _0xfc1c3e}from'../utils/common-translations';export default class X extends _0x1f9d11{[_0x201d('0x5')](){const _0x30d1af=this[_0x201d('0x8')];if(!_0x30d1af[_0x201d('0xa')][_0x201d('0x7')](_0x201d('0x1')))return;const _0x567586=_0x30d1af['plugins'][_0x201d('0xc')](_0x201d('0x3')),_0x22eaa9=_0x30d1af[_0x201d('0x11')],_0x22cd43=_0x30d1af['editing'][_0x201d('0x16')][_0x201d('0x17')][_0x201d('0xb')];_0x567586[_0x201d('0x15')][_0x201d('0x0')]('rawHtml',_0x49ae11=>_0xfc1c3e(_0x22eaa9,_0x201d('0x19'),_0x49ae11)),_0x30d1af[_0x201d('0xa')][_0x201d('0xc')]('TrackChangesEditing')['enableCommand'](_0x201d('0x2'),(_0x38c356,_0x387cc3)=>{const _0x26629e=_0x30d1af['model'],_0x3af62e=_0x26629e[_0x201d('0x17')]['selection'];_0x26629e[_0x201d('0x12')](()=>{const _0x1be6bc=function(_0x35e5fe){const _0x48f035=_0x35e5fe[_0x201d('0x9')]();if(_0x48f035&&_0x48f035['is'](_0x201d('0x14'),_0x201d('0xd')))return _0x35e5fe[_0x201d('0x9')]();return null;}(_0x3af62e);if(!_0x1be6bc)return void _0x38c356(null);const _0x4b8d8f=_0x1be6bc[_0x201d('0x10')](_0x201d('0x6'))||'';if(void 0x0===_0x387cc3)return;if(_0x387cc3===_0x4b8d8f)return;_0x567586[_0x201d('0x4')](_0x1be6bc,{'commandName':_0x201d('0x2'),'commandParams':[_0x387cc3]}),_0x22cd43['getSelectedElement']()['getCustomProperty'](_0x201d('0xe'))[_0x201d('0xf')]();});}),_0x567586[_0x201d('0x15')]['registerDescriptionCallback'](_0x32beda=>{const {data:_0x2dcba5}=_0x32beda;if(_0x2dcba5&&_0x201d('0x2')==_0x2dcba5[_0x201d('0x13')]){const _0x187d6f=_0xfc1c3e(_0x22eaa9,_0x201d('0x19'));return{'type':_0x201d('0x18'),'content':_0xfc1c3e(_0x22eaa9,_0x201d('0x1a'),_0x187d6f)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x463f=['afterInit','isIntersecting','markInlineFormat','format','getAttribute','ImageTextAlternativeEditing','getClosestSelectedImageElement','_descriptionFactory','from','commands','Block\x20image\x20to\x20inline\x20image','ImageResize','ImageEditing','newValue','registerPostFixer','length','detach','_splitMarkerName','discard','*Format:*\x20%0','isBlockImage','forward','commandParams','convertBlockImageToInline','has','title','nodeBefore','imageCaption','getSuggestionCallback','getChangedMarkers','chain','caption','find','imageTypeBlock','ImageUtils','getFirstRange','getContainedElement','author','*Remove\x20image\x20text\x20alternative*','previous','plugins','createRange','locale','enableCommand','fromPosition','change','ImageBlockEditing','isEqual','resizeImage','ImageStyleEditing','getNearestSelectionRange','imageStyle','FORMAT_SIDE_IMAGE','insertion','removeObject','commandName','end','resizedWidth','get','ELEMENT_IMAGE','createRangeOn','isCollapsed','markBlockFormat','isBefore','isInContent','_findSuggestions','value','forEach','imageTextAlternative','selection','ImageCaptionEditing','ImageInlineEditing','ELEMENT_CAPTION','imageStylePostApply','_suggestionFactory','TrackChangesEditing','document','head','insertImage','toggleImageCaption','type','normalizedStyles','accept','*Set\x20image\x20width:*\x20%0','filter','deletion','*Reset\x20image\x20width*','refresh','getSuggestion','alt','markDeletion','ELEMENT_INLINE_IMAGE','model','registerCustomCallback','ImageCaptionUtils','subType','hasSuggestion','imageStylePreApply','forceDefaultExecution','imageTypeInline','toPrevious','registerElementLabel','commandReversedParams','ImageUploadEditing','formatBlock','name','join','hasAttribute','isOwn','findIndex','formatInline','discardSuggestion','schema','start','imageBlock','convertInlineImageToBlock','registerDescriptionCallback','markInsertion'];(function(_0x57e5ab,_0x463fbe){const _0x3f9959=function(_0x15c724){while(--_0x15c724){_0x57e5ab['push'](_0x57e5ab['shift']());}};_0x3f9959(++_0x463fbe);}(_0x463f,0x1d5));const _0x3f99=function(_0x57e5ab,_0x463fbe){_0x57e5ab=_0x57e5ab-0x0;let _0x3f9959=_0x463f[_0x57e5ab];return _0x3f9959;};import{Plugin as _0x12708f}from'ckeditor5/src/core';import{LivePosition as _0x49ec50}from'ckeditor5/src/engine';import{uid as _0xa798ab}from'ckeditor5/src/utils';import{getTranslation as _0x202867}from'../utils/common-translations';export default class Y extends _0x12708f{[_0x3f99('0x3')](){const _0xeadab7=this['editor'];if(!_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x1b')](_0x3f99('0xf')))return;const _0x45a7cf=_0xeadab7['plugins']['get'](_0x3f99('0x4e')),_0x59c672=_0xeadab7['plugins']['get'](_0x3f99('0x25')),_0xb6d7d7={},_0x315889=_0xeadab7[_0x3f99('0x2d')];if(_0x45a7cf['enableCommand'](_0x3f99('0x51')),_0x45a7cf[_0x3f99('0xa')][_0x3f99('0x68')](_0x3f99('0x75'),_0x5d7729=>_0x202867(_0x315889,_0x3f99('0x3e'),_0x5d7729)),_0x45a7cf[_0x3f99('0xa')][_0x3f99('0x68')]('imageInline',_0x46a724=>_0x202867(_0x315889,_0x3f99('0x5e'),_0x46a724)),_0x45a7cf[_0x3f99('0xa')]['registerElementLabel'](_0x3f99('0x22'),()=>_0x202867(_0x315889,_0x3f99('0x4b'))),_0xeadab7[_0x3f99('0x2b')]['has'](_0x3f99('0x6a'))&&_0x45a7cf['enableCommand']('uploadImage'),_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x1b')](_0x3f99('0x31'))&&_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x1b')](_0x3f99('0x4a'))&&(_0x45a7cf[_0x3f99('0x2e')](_0x3f99('0x66'),(_0x2f0023,_0x4f9a04)=>{const _0x2ca4c9=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')][_0x3f99('0x48')]);_0xeadab7['model']['change'](()=>{_0x45a7cf['markBlockFormat'](_0x2ca4c9,{'commandName':_0x3f99('0x66'),'commandParams':[_0x4f9a04]},[],_0x3f99('0x1a'));});}),_0x45a7cf[_0x3f99('0x2e')](_0x3f99('0x24'),(_0x1a34f5,_0x472e7d)=>{_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x30')](_0x452250=>{let _0x13c36e=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')]['selection']),_0x2af15c=_0x452250['createRangeOn'](_0x13c36e);const _0xfc11ef=_0x49ec50[_0x3f99('0x2f')](_0x2af15c[_0x3f99('0x74')],_0x3f99('0x67')),_0xf9718f=_0x49ec50[_0x3f99('0x2f')](_0x2af15c['end'],'toNext');_0x45a7cf[_0x3f99('0x65')](()=>_0x1a34f5(_0x472e7d)),_0x13c36e=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')][_0x3f99('0x48')]),_0x2af15c=_0x452250[_0x3f99('0x3f')](_0x13c36e);const _0x5d232d=_0x452250['createRange'](_0xfc11ef,_0xf9718f);_0xfc11ef[_0x3f99('0x13')](),_0xf9718f[_0x3f99('0x13')](),_0x45a7cf[_0x3f99('0x41')](_0x13c36e,{'commandName':_0x3f99('0x66'),'commandParams':[]},[],_0x3f99('0x0')),_0x5d232d['start'][_0x3f99('0x42')](_0x2af15c[_0x3f99('0x74')])&&_0x45a7cf[_0x3f99('0x2')](_0x452250[_0x3f99('0x2c')](_0x5d232d[_0x3f99('0x74')],_0x2af15c['start']),_0x3f99('0x0')),_0x2af15c[_0x3f99('0x3b')]['isBefore'](_0x5d232d[_0x3f99('0x3b')])&&_0x45a7cf[_0x3f99('0x2')](_0x452250[_0x3f99('0x2c')](_0x2af15c['end'],_0x5d232d[_0x3f99('0x3b')]),_0x3f99('0x0'));});}),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x6b'),_0x3f99('0x0'),_0x3f99('0x6d'),()=>!0x1),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x6b'),_0x3f99('0x0'),_0x3f99('0x55'),()=>!0x1),_0x45a7cf['_suggestionFactory'][_0x3f99('0x60')](_0x3f99('0x6b'),'convertInlineImageToBlock',_0x3f99('0x15'),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x1f')](_0x3f99('0x6b'),'',_0x3f99('0x55'))),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x38'),_0x3f99('0x0'),'join',()=>!0x1),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')]('insertion','convertInlineImageToBlock',_0x3f99('0x15'),([_0x19afba])=>{const _0x527f87=_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x1f')](_0x3f99('0x38'),'',_0x3f99('0x15'));let _0x2c3d47=_0x19afba[_0x3f99('0x74')],_0x49d8f2=_0x19afba[_0x3f99('0x3b')];const _0x5562ce=_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x73')]['getNearestSelectionRange'](_0x2c3d47,'backward'),_0x438eea=_0xeadab7[_0x3f99('0x5f')]['schema'][_0x3f99('0x35')](_0x49d8f2,_0x3f99('0x18'));_0x5562ce[_0x3f99('0x40')]&&(_0x2c3d47=_0x5562ce[_0x3f99('0x74')]),_0x438eea[_0x3f99('0x40')]&&(_0x49d8f2=_0x438eea[_0x3f99('0x3b')]),_0x527f87([_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x2c')](_0x2c3d47,_0x49d8f2)]);}),_0x45a7cf['_suggestionFactory'][_0x3f99('0x60')](_0x3f99('0x6b'),_0x3f99('0x0'),_0x3f99('0x21'),_0x432369),_0x45a7cf['_suggestionFactory'][_0x3f99('0x60')](_0x3f99('0x38'),_0x3f99('0x0'),_0x3f99('0x21'),_0x432369)),_0xeadab7[_0x3f99('0x2b')]['has'](_0x3f99('0x49'))&&(_0x45a7cf[_0x3f99('0x2e')](_0x3f99('0x52'),(_0x10d34f,_0x1a8cca)=>{const _0xd7d0ee=_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x3d')](_0x3f99('0x61'));let _0x72ae80=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')]['document'][_0x3f99('0x48')]),_0x26885a=_0xd7d0ee['getCaptionFromImageModelElement'](_0x72ae80);_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x30')](()=>{if(_0x26885a)return void _0x45a7cf[_0x3f99('0x5d')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x3f')](_0x26885a));const _0x1dbc65=_0x59c672['isBlockImage'](_0x72ae80);_0x10d34f(_0x1a8cca),_0x72ae80=_0x59c672['getClosestSelectedImageElement'](_0xeadab7['model'][_0x3f99('0x4f')][_0x3f99('0x48')]),_0x26885a=_0xd7d0ee['getCaptionFromImageModelElement'](_0x72ae80),_0x45a7cf[_0x3f99('0x2')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x3f')](_0x26885a),_0x1dbc65?null:_0x3f99('0x1e'));});}),_0x45a7cf[_0x3f99('0x4d')]['registerCustomCallback'](_0x3f99('0x38'),_0x3f99('0x1e'),_0x3f99('0x21'),_0x432369)),_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x1b')](_0x3f99('0x34'))){_0x45a7cf[_0x3f99('0x2e')](_0x3f99('0x36'),(_0x1d02a9,_0x5af470)=>{const _0x358fba=_0xeadab7[_0x3f99('0x2b')]['get']('Users')['me'],_0x2577c4=_0xeadab7[_0x3f99('0xc')]['get'](_0x3f99('0x36'));let _0x5e61c4=_0x59c672[_0x3f99('0x9')](_0xeadab7['model'][_0x3f99('0x4f')][_0x3f99('0x48')]),_0x1fa61f=_0xeadab7[_0x3f99('0x5f')]['createRangeOn'](_0x5e61c4),_0x39c2f9=_0x2577c4[_0x3f99('0x45')];if(_0x39c2f9==_0x5af470[_0x3f99('0x45')])return;const _0x3a22a4={'commandName':'imageStyle','commandParams':[_0x5af470],'formatGroupId':_0xa798ab()};_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x30')](()=>{if(_0x45a7cf['getSuggestions']()[_0x3f99('0x57')](_0x28d178=>_0x28d178[_0x3f99('0x43')]&&_0x358fba==_0x28d178[_0x3f99('0x28')]&&(_0x3f99('0x6b')==_0x28d178[_0x3f99('0x53')]||_0x3f99('0x71')==_0x28d178[_0x3f99('0x53')])&&(_0x3f99('0x64')==_0x28d178[_0x3f99('0x62')]||'imageStylePostApply'==_0x28d178['subType'])&&_0x28d178[_0x3f99('0x26')]()[_0x3f99('0x32')](_0x1fa61f))[_0x3f99('0x46')](_0x521c7c=>_0x45a7cf[_0x3f99('0x72')](_0x521c7c[_0x3f99('0x50')])),_0x5e61c4=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')][_0x3f99('0x48')]),_0x1fa61f=_0xeadab7['model'][_0x3f99('0x3f')](_0x5e61c4),_0x2577c4[_0x3f99('0x5a')](),_0xeadab7['commands'][_0x3f99('0x3d')](_0x3f99('0x66'))[_0x3f99('0x5a')](),_0xeadab7[_0x3f99('0xc')][_0x3f99('0x3d')](_0x3f99('0x24'))[_0x3f99('0x5a')](),_0x39c2f9=_0x2577c4[_0x3f99('0x45')],_0x39c2f9!=_0x5af470['value'])return _0x59c672['isInlineImage'](_0x5e61c4)&&_0x2577c4['shouldConvertImageType'](_0x5af470[_0x3f99('0x45')],_0x5e61c4)?(_0x1d02a9(_0x5af470),_0x5e61c4=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')][_0x3f99('0x48')]),void _0x45a7cf[_0x3f99('0x41')](_0x5e61c4,{..._0x3a22a4,'commandReversedParams':[{'value':_0x39c2f9||null}]},[],_0x3f99('0x64'))):void(_0x59c672[_0x3f99('0x17')](_0x5e61c4)?_0x45a7cf[_0x3f99('0x41')](_0x5e61c4,_0x3a22a4,[],_0x3f99('0x4c')):_0x45a7cf[_0x3f99('0x5')](_0x1fa61f,_0x3a22a4,_0x3f99('0x4c')));});});for(const _0x236e87 of _0xeadab7['plugins'][_0x3f99('0x3d')](_0x3f99('0x34'))[_0x3f99('0x54')])_0xb6d7d7[_0x236e87[_0x3f99('0x6c')]]=_0x236e87[_0x3f99('0x1c')]['toLowerCase']();_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x6b'),'imageStylePreApply',_0x3f99('0x6d'),()=>!0x1),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')]('formatBlock',_0x3f99('0x4c'),_0x3f99('0x6d'),()=>!0x1),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x71'),_0x3f99('0x4c'),_0x3f99('0x6d'),()=>!0x1),_0x45a7cf[_0x3f99('0x4d')]['registerCustomCallback']('formatBlock',_0x3f99('0x64'),_0x3f99('0x55'),()=>!0x1),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x6b'),_0x3f99('0x64'),'discard',(_0x48fd3e,_0x1fc20e)=>{_0x45a7cf['_suggestionFactory'][_0x3f99('0x1f')]('formatBlock','',_0x3f99('0x55'))(_0x48fd3e,{'commandName':_0x1fc20e['commandName'],'commandParams':_0x1fc20e[_0x3f99('0x69')]});}),_0x45a7cf[_0x3f99('0x4d')][_0x3f99('0x60')](_0x3f99('0x6b'),'imageStylePreApply','chain',_0x432369);}const _0x3bf012=[{'type':'formatBlock','subType':_0x3f99('0x64')},{'type':'insertion','subType':_0x3f99('0x1e')},{'type':_0x3f99('0x6b'),'subType':_0x3f99('0x0')},{'type':'insertion','subType':_0x3f99('0x0')}];function _0x247500(_0x2ceceb,_0x356d9d){const _0x1529c7=_0x3bf012['findIndex'](({type:_0x16d090,subType:_0x1e1c81})=>_0x2ceceb['type']==_0x16d090&&_0x2ceceb[_0x3f99('0x62')]==_0x1e1c81),_0x13eadd=_0x3bf012[_0x3f99('0x70')](({type:_0x17b358,subType:_0x4856f3})=>_0x356d9d['type']==_0x17b358&&_0x356d9d['subType']==_0x4856f3);if(_0x1529c7<0x0||_0x13eadd<0x0)return!0x1;const _0xce04a2=_0x2ceceb[_0x3f99('0x26')](),_0x428fb0=_0x356d9d[_0x3f99('0x26')]();if((0x0==_0x1529c7||0x1==_0x1529c7)&&0x2==_0x13eadd&&_0xce04a2[_0x3f99('0x4')](_0x428fb0))return!0x0;if(0x2==_0x1529c7&&0x3==_0x13eadd){const _0x4871f6=_0x45a7cf[_0x3f99('0x44')](_0xce04a2,'insertion')['filter'](({suggestion:_0x400e68,meta:_0xa68225})=>_0xa68225[_0x3f99('0x6f')]&&_0x3f99('0x0')==_0x400e68[_0x3f99('0x62')]);if(_0x4871f6[_0x3f99('0x12')]>0x1&&_0x428fb0[_0x3f99('0x3b')][_0x3f99('0x32')](_0xce04a2[_0x3f99('0x74')]))return!0x0;if(0x1==_0x4871f6[_0x3f99('0x12')]&&(_0xce04a2[_0x3f99('0x74')]['isEqual'](_0x428fb0[_0x3f99('0x3b')])||_0xce04a2[_0x3f99('0x3b')][_0x3f99('0x32')](_0x428fb0[_0x3f99('0x74')])))return!0x0;}if(0x3==_0x1529c7&&0x3==_0x13eadd&&_0xce04a2['start']['isBefore'](_0x428fb0[_0x3f99('0x74')])){const _0x1fee36=_0xce04a2[_0x3f99('0x3b')]['nodeAfter'],_0x257ca1=_0x428fb0[_0x3f99('0x74')][_0x3f99('0x1d')];return _0x59c672[_0x3f99('0x17')](_0x1fee36)&&_0x1fee36===_0x257ca1;}return!0x1;}function _0x432369(_0x349024,_0x2a967a){return _0x247500(_0x349024,_0x2a967a)?[_0x349024,_0x2a967a]:_0x247500(_0x2a967a,_0x349024)?[_0x2a967a,_0x349024]:null;}_0xeadab7[_0x3f99('0x5f')]['document'][_0x3f99('0x11')](()=>{let _0x9164ba=!0x1;const _0x9c05bb=Array[_0x3f99('0xb')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')]['differ'][_0x3f99('0x20')]());for(const {name:_0x337235,data:_0x33d39b}of _0x9c05bb){const {group:_0x3eb8df,type:_0x14f4a7,subType:_0x5c66b0,id:_0x79a350}=_0x45a7cf[_0x3f99('0x14')](_0x337235);if('suggestion'==_0x3eb8df&&_0x45a7cf[_0x3f99('0x63')](_0x79a350)){if(_0x3f99('0x6b')==_0x14f4a7&&(_0x3f99('0x64')==_0x5c66b0||'imageStylePostApply'==_0x5c66b0)){const _0x357362=_0x45a7cf['getSuggestion'](_0x79a350);if(_0x33d39b['newRange']){const _0x4cf85b=_0x357362['getFirstRange']()[_0x3f99('0x27')]();if(_0x59c672[_0x3f99('0x17')](_0x4cf85b))continue;_0x45a7cf[_0x3f99('0x72')](_0x357362),_0x9164ba=!0x0;}}if(_0x3f99('0x38')==_0x14f4a7&&'imageCaption'==_0x5c66b0&&!_0x33d39b['newRange']){const _0x2c85ac=_0x45a7cf[_0x3f99('0x5b')](_0x79a350);_0x2c85ac['next']&&_0x2c85ac['next'][_0x3f99('0x43')]&&(_0x45a7cf[_0x3f99('0x72')](_0x2c85ac['next']),_0x9164ba=!0x0);}}}return _0x9164ba;}),_0xeadab7['plugins']['has'](_0x3f99('0xe'))&&_0x45a7cf[_0x3f99('0x2e')](_0x3f99('0x33'),(_0x2c4059,_0x7ef9a8)=>{const _0x15a997=_0x59c672[_0x3f99('0x9')](_0xeadab7['model']['document']['selection']);_0x15a997[_0x3f99('0x7')](_0x3f99('0x3c'))!=_0x7ef9a8['width']&&_0xeadab7['model']['change'](()=>{_0x45a7cf[_0x3f99('0x41')](_0x15a997,{'commandName':_0x3f99('0x33'),'commandParams':[_0x7ef9a8]});});}),_0xeadab7[_0x3f99('0x2b')][_0x3f99('0x1b')](_0x3f99('0x8'))&&_0x45a7cf[_0x3f99('0x2e')]('imageTextAlternative',(_0x53ff1d,_0x56cb4e)=>{const _0x116f2b=_0x59c672[_0x3f99('0x9')](_0xeadab7[_0x3f99('0x5f')][_0x3f99('0x4f')][_0x3f99('0x48')]);(_0x116f2b[_0x3f99('0x6e')](_0x3f99('0x5c'))?_0x116f2b['getAttribute'](_0x3f99('0x5c')):'')!=_0x56cb4e[_0x3f99('0x10')]&&_0xeadab7['model']['change'](()=>{_0x45a7cf[_0x3f99('0x41')](_0x116f2b,{'commandName':_0x3f99('0x47'),'commandParams':[_0x56cb4e]});});}),_0x45a7cf[_0x3f99('0xa')]['registerDescriptionCallback'](_0x378240=>{if(!!_0x3bf012[_0x3f99('0x23')](({type:_0x40e240,subType:_0x5aa716})=>_0x378240[_0x3f99('0x53')]==_0x40e240&&_0x378240[_0x3f99('0x62')]==_0x5aa716))return _0x378240[_0x3f99('0x2a')]?{}:void 0x0;}),_0x45a7cf['_descriptionFactory'][_0x3f99('0x1')](_0x2a80fc=>{if('insertion'==_0x2a80fc[_0x3f99('0x53')]||_0x3f99('0x58')==_0x2a80fc[_0x3f99('0x53')]){const _0x4e6118=_0x2a80fc[_0x3f99('0x27')]();if(_0x4e6118&&_0x4e6118['is']('element',_0x3f99('0x22')))return{'type':'insertion'==_0x2a80fc[_0x3f99('0x53')]?'addObject':_0x3f99('0x39'),'element':_0x4e6118,'quantity':0x1};}}),_0x45a7cf[_0x3f99('0xa')]['registerDescriptionCallback'](_0x4a81b4=>_0x3f99('0x6b')==_0x4a81b4[_0x3f99('0x53')]&&_0x3f99('0x0')==_0x4a81b4[_0x3f99('0x62')]?{'type':_0x3f99('0x6'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x4a81b4['type']&&_0x3f99('0x1a')==_0x4a81b4[_0x3f99('0x62')]?{'type':_0x3f99('0x6'),'content':_0x3f99('0xd')}:void 0x0),_0x45a7cf[_0x3f99('0xa')][_0x3f99('0x1')](_0x3db743=>{const {data:_0x2db18b}=_0x3db743;if(_0x2db18b){if(_0x3f99('0x36')==_0x2db18b['commandName']){const _0x583ca1=_0x2db18b[_0x3f99('0x19')][0x0][_0x3f99('0x45')];return _0x3e4927('side'===_0x583ca1?_0x202867(_0x315889,_0x3f99('0x37')):_0xb6d7d7[_0x583ca1]||_0x583ca1);}if(_0x3f99('0x47')==_0x2db18b[_0x3f99('0x3a')]){const _0xff0682=_0x2db18b[_0x3f99('0x19')][0x0]['newValue'];return _0xff0682?{'type':_0x3f99('0x6'),'content':_0x202867(_0x315889,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xff0682+'\x22')}:{'type':'format','content':_0x202867(_0x315889,_0x3f99('0x29'))};}if(_0x3f99('0x33')==_0x2db18b[_0x3f99('0x3a')]){const _0x52a93c=_0x2db18b['commandParams'][0x0]['width'];return _0x52a93c?{'type':_0x3f99('0x6'),'content':_0x202867(_0x315889,_0x3f99('0x56'),_0x52a93c)}:{'type':'format','content':_0x202867(_0x315889,_0x3f99('0x59'))};}}function _0x3e4927(_0x1bd1e5){return{'type':'format','content':_0x202867(_0x315889,_0x3f99('0x16'),_0x1bd1e5)};}});}}
23
+ const _0xd608=['registerElementLabel','getAttribute','createRangeOn','get','suggestion','value','convertBlockImageToInline','ELEMENT_IMAGE','refresh','isInlineImage','Inline\x20image\x20to\x20block\x20image','plugins','getCaptionFromImageModelElement','ImageStyleEditing','ImageResize','chain','imageInline','_suggestionFactory','resizedWidth','imageBlock','isBlockImage','ImageUtils','uploadImage','registerDescriptionCallback','commands','_findSuggestions','type','accept','Users','next','resizeImage','locale','schema','head','backward','newRange','filter','nodeBefore','findIndex','getNearestSelectionRange','hasSuggestion','getSuggestionCallback','end','model','getChangedMarkers','change','ImageBlockEditing','ImageInlineEditing','imageStyle','getContainedElement','isInContent','commandReversedParams','imageTypeBlock','differ','normalizedStyles','document','enableCommand','join','isBefore','format','commandParams','imageTypeInline','getFirstRange','convertInlineImageToBlock','_splitMarkerName','imageCaption','element','*Set\x20image\x20width:*\x20%0','nodeAfter','FORMAT_SIDE_IMAGE','discardSuggestion','alt','registerCustomCallback','commandName','name','setImageNaturalSizeAttributes','ELEMENT_INLINE_IMAGE','deletion','getSuggestions','afterInit','markBlockFormat','discard','ImageCaptionEditing','formatBlock','imageStylePreApply','isOwn','has','detach','ImageUploadEditing','addObject','toggleImageCaption','formatInline','ImageCaptionUtils','forceDefaultExecution','width','markInsertion','fromPosition','_descriptionFactory','getClosestSelectedImageElement','markInlineFormat','imageStylePostApply','insertion','selection','side','createRange','start','isCollapsed','getSuggestion','isIntersecting','toNext','toPrevious','subType','imageTextAlternative','hasAttribute','ELEMENT_CAPTION','find','*Format:*\x20%0','author','markDeletion','caption','length','newValue','Block\x20image\x20to\x20inline\x20image','TrackChangesEditing','ImageEditing','isEqual','removeObject'];(function(_0x575629,_0xd608e4){const _0x532081=function(_0x125b46){while(--_0x125b46){_0x575629['push'](_0x575629['shift']());}};_0x532081(++_0xd608e4);}(_0xd608,0x1d3));const _0x5320=function(_0x575629,_0xd608e4){_0x575629=_0x575629-0x0;let _0x532081=_0xd608[_0x575629];return _0x532081;};import{Plugin as _0x24e6ab}from'ckeditor5/src/core';import{LivePosition as _0x51c533}from'ckeditor5/src/engine';import{uid as _0x20b5ee}from'ckeditor5/src/utils';import{getTranslation as _0x3f5a29}from'../utils/common-translations';export default class Y extends _0x24e6ab{[_0x5320('0x78')](){const _0x38374b=this['editor'];if(!_0x38374b['plugins'][_0x5320('0x0')](_0x5320('0x26')))return;const _0x1165a2=_0x38374b[_0x5320('0x34')][_0x5320('0x2c')](_0x5320('0x25')),_0x39f0af=_0x38374b[_0x5320('0x34')][_0x5320('0x2c')](_0x5320('0x3e')),_0x549e7a={},_0x1db9ce=_0x38374b[_0x5320('0x48')];if(_0x1165a2[_0x5320('0x61')]('insertImage'),_0x1165a2[_0x5320('0xb')][_0x5320('0x29')](_0x5320('0x3c'),_0x2713de=>_0x3f5a29(_0x1db9ce,_0x5320('0x30'),_0x2713de)),_0x1165a2['_descriptionFactory'][_0x5320('0x29')](_0x5320('0x39'),_0x3af083=>_0x3f5a29(_0x1db9ce,_0x5320('0x75'),_0x3af083)),_0x1165a2[_0x5320('0xb')]['registerElementLabel']('caption',()=>_0x3f5a29(_0x1db9ce,_0x5320('0x1c'))),_0x38374b['plugins'][_0x5320('0x0')](_0x5320('0x2'))&&_0x1165a2[_0x5320('0x61')](_0x5320('0x3f')),_0x38374b[_0x5320('0x34')]['has'](_0x5320('0x57'))&&_0x38374b[_0x5320('0x34')][_0x5320('0x0')](_0x5320('0x58'))&&(_0x1165a2['enableCommand']('imageTypeInline',(_0x3c42e1,_0x3410c1)=>{const _0x459efc=_0x39f0af[_0x5320('0xc')](_0x38374b['model']['document'][_0x5320('0x10')]);_0x38374b[_0x5320('0x54')][_0x5320('0x56')](()=>{_0x1165a2['markBlockFormat'](_0x459efc,{'commandName':_0x5320('0x66'),'commandParams':[_0x3410c1]},[],_0x5320('0x2f'));});}),_0x1165a2[_0x5320('0x61')](_0x5320('0x5d'),(_0x1df870,_0x57adf6)=>{_0x38374b[_0x5320('0x54')]['change'](_0x5df37d=>{let _0x34f134=_0x39f0af[_0x5320('0xc')](_0x38374b['model'][_0x5320('0x60')]['selection']),_0x1217b7=_0x5df37d[_0x5320('0x2b')](_0x34f134);const _0x499f96=_0x51c533[_0x5320('0xa')](_0x1217b7[_0x5320('0x13')],_0x5320('0x18')),_0x2816de=_0x51c533['fromPosition'](_0x1217b7[_0x5320('0x53')],_0x5320('0x17'));_0x1165a2[_0x5320('0x7')](()=>_0x1df870(_0x57adf6)),_0x34f134=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')]['document'][_0x5320('0x10')]),_0x1217b7=_0x5df37d[_0x5320('0x2b')](_0x34f134);const _0x546d35=_0x5df37d[_0x5320('0x12')](_0x499f96,_0x2816de);_0x499f96[_0x5320('0x1')](),_0x2816de[_0x5320('0x1')](),_0x1165a2['markBlockFormat'](_0x34f134,{'commandName':_0x5320('0x66'),'commandParams':[_0x57adf6]},[],_0x5320('0x68')),_0x546d35['start']['isBefore'](_0x1217b7[_0x5320('0x13')])&&_0x1165a2[_0x5320('0x9')](_0x5df37d['createRange'](_0x546d35[_0x5320('0x13')],_0x1217b7[_0x5320('0x13')]),_0x5320('0x68')),_0x1217b7[_0x5320('0x53')][_0x5320('0x63')](_0x546d35[_0x5320('0x53')])&&_0x1165a2['markInsertion'](_0x5df37d[_0x5320('0x12')](_0x1217b7['end'],_0x546d35['end']),'convertInlineImageToBlock');});}),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')](_0x5320('0x7c'),_0x5320('0x68'),_0x5320('0x62'),()=>!0x1),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')](_0x5320('0x7c'),_0x5320('0x68'),_0x5320('0x44'),()=>!0x1),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')](_0x5320('0x7c'),_0x5320('0x68'),_0x5320('0x7a'),_0x1165a2[_0x5320('0x3a')][_0x5320('0x52')](_0x5320('0x7c'),'',_0x5320('0x44'))),_0x1165a2[_0x5320('0x3a')]['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x1165a2['_suggestionFactory'][_0x5320('0x71')](_0x5320('0xf'),'convertInlineImageToBlock',_0x5320('0x7a'),([_0x45c1b1])=>{const _0x1a115b=_0x1165a2[_0x5320('0x3a')][_0x5320('0x52')]('insertion','',_0x5320('0x7a'));let _0x3cba68=_0x45c1b1['start'],_0x1c46e8=_0x45c1b1['end'];const _0x5a742c=_0x38374b[_0x5320('0x54')][_0x5320('0x49')][_0x5320('0x50')](_0x3cba68,_0x5320('0x4b')),_0x5f3132=_0x38374b[_0x5320('0x54')][_0x5320('0x49')][_0x5320('0x50')](_0x1c46e8,'forward');_0x5a742c[_0x5320('0x14')]&&(_0x3cba68=_0x5a742c[_0x5320('0x13')]),_0x5f3132[_0x5320('0x14')]&&(_0x1c46e8=_0x5f3132[_0x5320('0x53')]),_0x1a115b([_0x38374b[_0x5320('0x54')]['createRange'](_0x3cba68,_0x1c46e8)]);}),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')]('formatBlock','convertInlineImageToBlock',_0x5320('0x38'),_0x2a1c4a),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')](_0x5320('0xf'),_0x5320('0x68'),_0x5320('0x38'),_0x2a1c4a)),_0x38374b['plugins'][_0x5320('0x0')](_0x5320('0x7b'))&&(_0x1165a2[_0x5320('0x61')](_0x5320('0x4'),(_0x3cfe94,_0x573411)=>{const _0x121684=_0x38374b['plugins']['get'](_0x5320('0x6'));let _0x117fdb=_0x39f0af[_0x5320('0xc')](_0x38374b['model']['document']['selection']),_0x328123=_0x121684['getCaptionFromImageModelElement'](_0x117fdb);_0x38374b['model'][_0x5320('0x56')](()=>{if(_0x328123)return void _0x1165a2[_0x5320('0x20')](_0x38374b['model']['createRangeOn'](_0x328123));const _0x2af151=_0x39f0af['isBlockImage'](_0x117fdb);_0x3cfe94(_0x573411),_0x117fdb=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')][_0x5320('0x60')][_0x5320('0x10')]),_0x328123=_0x121684[_0x5320('0x35')](_0x117fdb),_0x1165a2[_0x5320('0x9')](_0x38374b[_0x5320('0x54')][_0x5320('0x2b')](_0x328123),_0x2af151?null:_0x5320('0x6a'));});}),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')](_0x5320('0xf'),'imageCaption','chain',_0x2a1c4a)),_0x38374b[_0x5320('0x34')]['has']('ImageStyleEditing')){_0x1165a2['enableCommand']('imageStyle',(_0x188c98,_0x219b02)=>{const _0x1c63df=_0x38374b[_0x5320('0x34')]['get'](_0x5320('0x45'))['me'],_0x189de1=_0x38374b['commands'][_0x5320('0x2c')](_0x5320('0x59'));let _0x10c9d4=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')]['document']['selection']),_0x234683=_0x38374b[_0x5320('0x54')][_0x5320('0x2b')](_0x10c9d4),_0x4491c1=_0x189de1[_0x5320('0x2e')];if(_0x4491c1==_0x219b02['value'])return;const _0x41e1d7={'commandName':_0x5320('0x59'),'commandParams':[_0x219b02],'formatGroupId':_0x20b5ee()};_0x38374b[_0x5320('0x54')]['change'](()=>{if(_0x1165a2[_0x5320('0x77')]()['filter'](_0x32301b=>_0x32301b[_0x5320('0x5b')]&&_0x1c63df==_0x32301b[_0x5320('0x1f')]&&('formatBlock'==_0x32301b[_0x5320('0x43')]||_0x5320('0x5')==_0x32301b[_0x5320('0x43')])&&('imageStylePreApply'==_0x32301b['subType']||'imageStylePostApply'==_0x32301b[_0x5320('0x19')])&&_0x32301b['getFirstRange']()[_0x5320('0x27')](_0x234683))['forEach'](_0x28d39a=>_0x1165a2[_0x5320('0x6f')](_0x28d39a[_0x5320('0x4a')])),_0x10c9d4=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')][_0x5320('0x60')][_0x5320('0x10')]),_0x234683=_0x38374b[_0x5320('0x54')]['createRangeOn'](_0x10c9d4),_0x189de1[_0x5320('0x31')](),_0x38374b[_0x5320('0x41')]['get']('imageTypeInline')[_0x5320('0x31')](),_0x38374b[_0x5320('0x41')][_0x5320('0x2c')]('imageTypeBlock')[_0x5320('0x31')](),_0x4491c1=_0x189de1['value'],_0x4491c1!=_0x219b02[_0x5320('0x2e')])return _0x39f0af[_0x5320('0x32')](_0x10c9d4)&&_0x189de1['shouldConvertImageType'](_0x219b02[_0x5320('0x2e')],_0x10c9d4)?(_0x188c98({..._0x219b02,'setImageSizes':!0x1}),_0x10c9d4=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')][_0x5320('0x60')][_0x5320('0x10')]),void _0x1165a2[_0x5320('0x79')](_0x10c9d4,{..._0x41e1d7,'commandReversedParams':[{'value':_0x4491c1||null,'setImageSizes':!0x1}]},[],_0x5320('0x7d'))):void(_0x39f0af[_0x5320('0x3d')](_0x10c9d4)?_0x1165a2[_0x5320('0x79')](_0x10c9d4,_0x41e1d7,[],_0x5320('0xe')):_0x1165a2[_0x5320('0xd')](_0x234683,_0x41e1d7,'imageStylePostApply'));});});for(const _0x13697c of _0x38374b[_0x5320('0x34')]['get'](_0x5320('0x36'))[_0x5320('0x5f')])_0x549e7a[_0x13697c[_0x5320('0x73')]]=_0x13697c['title']['toLowerCase']();_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')]('formatBlock',_0x5320('0x7d'),'join',()=>!0x1),_0x1165a2['_suggestionFactory'][_0x5320('0x71')](_0x5320('0x7c'),_0x5320('0xe'),'join',()=>!0x1),_0x1165a2['_suggestionFactory']['registerCustomCallback'](_0x5320('0x5'),_0x5320('0xe'),_0x5320('0x62'),()=>!0x1),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')]('formatBlock',_0x5320('0x7d'),_0x5320('0x44'),([_0x664952])=>{_0x39f0af[_0x5320('0x74')](_0x664952[_0x5320('0x5a')]());}),_0x1165a2[_0x5320('0x3a')][_0x5320('0x71')]('formatBlock',_0x5320('0x7d'),_0x5320('0x7a'),(_0x3f769a,_0x4355cc)=>{_0x1165a2[_0x5320('0x3a')][_0x5320('0x52')](_0x5320('0x7c'),'',_0x5320('0x44'))(_0x3f769a,{'commandName':_0x4355cc[_0x5320('0x72')],'commandParams':_0x4355cc[_0x5320('0x5c')]});}),_0x1165a2['_suggestionFactory']['registerCustomCallback'](_0x5320('0x7c'),_0x5320('0x7d'),_0x5320('0x38'),_0x2a1c4a);}const _0x1023d5=[{'type':'formatBlock','subType':_0x5320('0x7d')},{'type':_0x5320('0xf'),'subType':_0x5320('0x6a')},{'type':_0x5320('0x7c'),'subType':_0x5320('0x68')},{'type':'insertion','subType':_0x5320('0x68')}];function _0x5e046f(_0x59244d,_0x231b56){const _0x3e9dd2=_0x1023d5['findIndex'](({type:_0x486e57,subType:_0x128e47})=>_0x59244d[_0x5320('0x43')]==_0x486e57&&_0x59244d[_0x5320('0x19')]==_0x128e47),_0x417045=_0x1023d5[_0x5320('0x4f')](({type:_0x3f05bd,subType:_0xbba6c})=>_0x231b56[_0x5320('0x43')]==_0x3f05bd&&_0x231b56[_0x5320('0x19')]==_0xbba6c);if(_0x3e9dd2<0x0||_0x417045<0x0)return!0x1;const _0x47a2f8=_0x59244d[_0x5320('0x67')](),_0x335b0e=_0x231b56[_0x5320('0x67')]();if((0x0==_0x3e9dd2||0x1==_0x3e9dd2)&&0x2==_0x417045&&_0x47a2f8[_0x5320('0x16')](_0x335b0e))return!0x0;if(0x2==_0x3e9dd2&&0x3==_0x417045){const _0x171404=_0x1165a2[_0x5320('0x42')](_0x47a2f8,_0x5320('0xf'))[_0x5320('0x4d')](({suggestion:_0x5df303,meta:_0x177ef1})=>_0x177ef1[_0x5320('0x7e')]&&_0x5320('0x68')==_0x5df303['subType']);if(_0x171404[_0x5320('0x22')]>0x1&&_0x335b0e[_0x5320('0x53')][_0x5320('0x27')](_0x47a2f8[_0x5320('0x13')]))return!0x0;if(0x1==_0x171404[_0x5320('0x22')]&&(_0x47a2f8[_0x5320('0x13')][_0x5320('0x27')](_0x335b0e[_0x5320('0x53')])||_0x47a2f8[_0x5320('0x53')]['isEqual'](_0x335b0e[_0x5320('0x13')])))return!0x0;}if(0x3==_0x3e9dd2&&0x3==_0x417045&&_0x47a2f8[_0x5320('0x13')]['isBefore'](_0x335b0e[_0x5320('0x13')])){const _0x221da5=_0x47a2f8[_0x5320('0x53')][_0x5320('0x6d')],_0x20c147=_0x335b0e[_0x5320('0x13')][_0x5320('0x4e')];return _0x39f0af[_0x5320('0x3d')](_0x221da5)&&_0x221da5===_0x20c147;}return!0x1;}function _0x2a1c4a(_0x23ee49,_0x4cb9d8){return _0x5e046f(_0x23ee49,_0x4cb9d8)?[_0x23ee49,_0x4cb9d8]:_0x5e046f(_0x4cb9d8,_0x23ee49)?[_0x4cb9d8,_0x23ee49]:null;}_0x38374b[_0x5320('0x54')][_0x5320('0x60')]['registerPostFixer'](()=>{let _0x3ee5bb=!0x1;const _0x2e1769=Array['from'](_0x38374b['model']['document'][_0x5320('0x5e')][_0x5320('0x55')]());for(const {name:_0x4cdd4b,data:_0xb36602}of _0x2e1769){const {group:_0xbc7880,type:_0x13d682,subType:_0x5d571d,id:_0x54376b}=_0x1165a2[_0x5320('0x69')](_0x4cdd4b);if(_0x5320('0x2d')==_0xbc7880&&_0x1165a2[_0x5320('0x51')](_0x54376b)){if(_0x5320('0x7c')==_0x13d682&&(_0x5320('0x7d')==_0x5d571d||'imageStylePostApply'==_0x5d571d)){const _0x29eb5f=_0x1165a2[_0x5320('0x15')](_0x54376b);if(_0xb36602['newRange']){const _0x4342f4=_0x29eb5f[_0x5320('0x67')]()['getContainedElement']();if(_0x39f0af[_0x5320('0x3d')](_0x4342f4))continue;_0x1165a2[_0x5320('0x6f')](_0x29eb5f),_0x3ee5bb=!0x0;}}if(_0x5320('0xf')==_0x13d682&&_0x5320('0x6a')==_0x5d571d&&!_0xb36602[_0x5320('0x4c')]){const _0x553990=_0x1165a2[_0x5320('0x15')](_0x54376b);_0x553990[_0x5320('0x46')]&&_0x553990[_0x5320('0x46')][_0x5320('0x5b')]&&(_0x1165a2['discardSuggestion'](_0x553990[_0x5320('0x46')]),_0x3ee5bb=!0x0);}}}return _0x3ee5bb;}),_0x38374b[_0x5320('0x34')][_0x5320('0x0')](_0x5320('0x37'))&&_0x1165a2['enableCommand'](_0x5320('0x47'),(_0x228b8d,_0x1c546e)=>{const _0x75685e=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')][_0x5320('0x60')][_0x5320('0x10')]);_0x75685e[_0x5320('0x2a')](_0x5320('0x3b'))!=_0x1c546e[_0x5320('0x8')]&&_0x38374b['model'][_0x5320('0x56')](()=>{_0x1165a2[_0x5320('0x79')](_0x75685e,{'commandName':'resizeImage','commandParams':[_0x1c546e]});});}),_0x38374b[_0x5320('0x34')]['has']('ImageTextAlternativeEditing')&&_0x1165a2['enableCommand'](_0x5320('0x1a'),(_0x529956,_0x56e27b)=>{const _0x2782d8=_0x39f0af[_0x5320('0xc')](_0x38374b[_0x5320('0x54')][_0x5320('0x60')][_0x5320('0x10')]);(_0x2782d8[_0x5320('0x1b')](_0x5320('0x70'))?_0x2782d8[_0x5320('0x2a')](_0x5320('0x70')):'')!=_0x56e27b[_0x5320('0x23')]&&_0x38374b[_0x5320('0x54')][_0x5320('0x56')](()=>{_0x1165a2[_0x5320('0x79')](_0x2782d8,{'commandName':_0x5320('0x1a'),'commandParams':[_0x56e27b]});});}),_0x1165a2[_0x5320('0xb')][_0x5320('0x40')](_0x25d5d2=>{if(!!_0x1023d5[_0x5320('0x1d')](({type:_0x1f4205,subType:_0x247384})=>_0x25d5d2[_0x5320('0x43')]==_0x1f4205&&_0x25d5d2['subType']==_0x247384))return _0x25d5d2['previous']?{}:void 0x0;}),_0x1165a2[_0x5320('0xb')]['registerDescriptionCallback'](_0xcf5a9d=>{if(_0x5320('0xf')==_0xcf5a9d['type']||_0x5320('0x76')==_0xcf5a9d[_0x5320('0x43')]){const _0x334f8a=_0xcf5a9d[_0x5320('0x5a')]();if(_0x334f8a&&_0x334f8a['is'](_0x5320('0x6b'),_0x5320('0x21')))return{'type':_0x5320('0xf')==_0xcf5a9d['type']?_0x5320('0x3'):_0x5320('0x28'),'element':_0x334f8a,'quantity':0x1};}}),_0x1165a2['_descriptionFactory'][_0x5320('0x40')](_0x43b05b=>_0x5320('0x7c')==_0x43b05b[_0x5320('0x43')]&&_0x5320('0x68')==_0x43b05b[_0x5320('0x19')]?{'type':'format','content':_0x5320('0x33')}:_0x5320('0x7c')==_0x43b05b[_0x5320('0x43')]&&_0x5320('0x2f')==_0x43b05b[_0x5320('0x19')]?{'type':'format','content':_0x5320('0x24')}:void 0x0),_0x1165a2[_0x5320('0xb')][_0x5320('0x40')](_0x2c1115=>{const {data:_0x51b9d1}=_0x2c1115;if(_0x51b9d1){if(_0x5320('0x59')==_0x51b9d1[_0x5320('0x72')]){const _0x185217=_0x51b9d1[_0x5320('0x65')][0x0][_0x5320('0x2e')];return _0x68fd82(_0x5320('0x11')===_0x185217?_0x3f5a29(_0x1db9ce,_0x5320('0x6e')):_0x549e7a[_0x185217]||_0x185217);}if(_0x5320('0x1a')==_0x51b9d1[_0x5320('0x72')]){const _0x3ce940=_0x51b9d1[_0x5320('0x65')][0x0]['newValue'];return _0x3ce940?{'type':_0x5320('0x64'),'content':_0x3f5a29(_0x1db9ce,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3ce940+'\x22')}:{'type':'format','content':_0x3f5a29(_0x1db9ce,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x51b9d1[_0x5320('0x72')]){const _0x23b572=_0x51b9d1[_0x5320('0x65')][0x0]['width'];return _0x23b572?{'type':_0x5320('0x64'),'content':_0x3f5a29(_0x1db9ce,_0x5320('0x6c'),_0x23b572)}:{'type':_0x5320('0x64'),'content':_0x3f5a29(_0x1db9ce,'*Reset\x20image\x20width*')};}}function _0x68fd82(_0x2822f7){return{'type':'format','content':_0x3f5a29(_0x1db9ce,_0x5320('0x1e'),_0x2822f7)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d2f=['registerCustomCallback','enableCommand','change','afterInit','getContainedElement','replaceImageSource','getSuggestions','locale','_suggestionFactory','formatBlock','ImageEditing','editor','discard','src','TrackChangesEditing','Users','getSuggestionCallback','data','has','handleReplaceImageCommand','get','commandParams','markBlockFormat','getSelectedElement','handleSuggestionDescription','registerDescriptionCallback','subType','accept','plugins','model','*Format:*\x20replace\x20image\x20URL','selection','commandName','getAttribute'];(function(_0x3b92c5,_0x3d2fa8){const _0x16f3ed=function(_0x55ab5d){while(--_0x55ab5d){_0x3b92c5['push'](_0x3b92c5['shift']());}};_0x16f3ed(++_0x3d2fa8);}(_0x3d2f,0x15e));const _0x16f3=function(_0x3b92c5,_0x3d2fa8){_0x3b92c5=_0x3b92c5-0x0;let _0x16f3ed=_0x3d2f[_0x3b92c5];return _0x16f3ed;};import{Plugin as _0x84ffae}from'ckeditor5/src/core';import{getTranslation as _0x40d7b9}from'../utils/common-translations';export default class Z extends _0x84ffae{[_0x16f3('0x1b')](){if(!this[_0x16f3('0x1')]['plugins'][_0x16f3('0x8')](_0x16f3('0x0')))return;const _0x23862c=this[_0x16f3('0x1')]['plugins'][_0x16f3('0xa')](_0x16f3('0x4'));_0x23862c[_0x16f3('0x19')](_0x16f3('0x1d'),(_0x3d7009,_0x117aeb)=>this[_0x16f3('0x9')](_0x3d7009,_0x117aeb)),_0x23862c['_suggestionFactory'][_0x16f3('0x18')]('formatBlock','replaceImageSource','accept',_0x23862c[_0x16f3('0x20')][_0x16f3('0x6')]('formatBlock',null,_0x16f3('0x2'))),_0x23862c[_0x16f3('0x20')]['registerCustomCallback'](_0x16f3('0x21'),_0x16f3('0x1d'),_0x16f3('0x2'),_0x23862c[_0x16f3('0x20')][_0x16f3('0x6')](_0x16f3('0x21'),null,_0x16f3('0x11'))),_0x23862c['_descriptionFactory'][_0x16f3('0xf')](_0xf6616c=>this[_0x16f3('0xe')](_0xf6616c));}[_0x16f3('0x9')](_0x33b567,_0x48616f){const _0x18f533=this[_0x16f3('0x1')]['plugins'][_0x16f3('0xa')](_0x16f3('0x4')),_0x4bf08e=this[_0x16f3('0x1')][_0x16f3('0x13')]['document'][_0x16f3('0x15')][_0x16f3('0xd')]();this[_0x16f3('0x1')][_0x16f3('0x13')][_0x16f3('0x1a')](()=>{let _0x3a6098=_0x4bf08e[_0x16f3('0x17')](_0x16f3('0x3'));const _0xa6e37b=this['editor'][_0x16f3('0x12')]['get'](_0x16f3('0x5'))['me'];for(const _0x15eb58 of _0x18f533[_0x16f3('0x1e')]({'skipNotAttached':!0x0})){const _0x579aec=_0x15eb58[_0x16f3('0x1c')]();if(_0x16f3('0x1d')===_0x15eb58[_0x16f3('0x10')]&&_0x579aec===_0x4bf08e){_0x15eb58['author']!==_0xa6e37b&&_0x15eb58[_0x16f3('0x2')](),_0x3a6098=_0x15eb58[_0x16f3('0x7')][_0x16f3('0xb')][0x0]['source'];break;}}_0x33b567(_0x48616f),_0x18f533[_0x16f3('0xc')](_0x4bf08e,{'commandName':_0x16f3('0x1d'),'commandParams':[{'source':_0x3a6098}]},[],'replaceImageSource');});}[_0x16f3('0xe')](_0x376e8b){const {data:_0x4aa30d}=_0x376e8b;if(_0x4aa30d&&_0x16f3('0x1d')===_0x4aa30d[_0x16f3('0x16')]){const _0x89e2fa=_0x16f3('0x14');return{'type':'format','content':_0x40d7b9(this[_0x16f3('0x1')][_0x16f3('0x1f')],_0x89e2fa)};}}}
23
+ const _0xc5ac=['accept','getSelectedElement','*Format:*\x20replace\x20image\x20URL','Users','TrackChangesEditing','commandParams','getSuggestionCallback','plugins','getContainedElement','source','discard','afterInit','registerDescriptionCallback','handleReplaceImageCommand','data','handleSuggestionDescription','_suggestionFactory','enableCommand','get','_descriptionFactory','formatBlock','getAttribute','replaceImageSource','selection','editor','subType','author','model','src','registerCustomCallback','change','getSuggestions'];(function(_0x3401de,_0xc5acef){const _0x1d6639=function(_0x17fe6e){while(--_0x17fe6e){_0x3401de['push'](_0x3401de['shift']());}};_0x1d6639(++_0xc5acef);}(_0xc5ac,0x71));const _0x1d66=function(_0x3401de,_0xc5acef){_0x3401de=_0x3401de-0x0;let _0x1d6639=_0xc5ac[_0x3401de];return _0x1d6639;};import{Plugin as _0x445304}from'ckeditor5/src/core';import{getTranslation as _0xbdc1f7}from'../utils/common-translations';export default class Z extends _0x445304{[_0x1d66('0x1a')](){if(!this[_0x1d66('0x7')][_0x1d66('0x16')]['has']('ImageEditing'))return;const _0x56438c=this[_0x1d66('0x7')]['plugins'][_0x1d66('0x1')](_0x1d66('0x13'));_0x56438c[_0x1d66('0x0')](_0x1d66('0x5'),(_0x37edaf,_0x4bc3e5)=>this[_0x1d66('0x1c')](_0x37edaf,_0x4bc3e5)),_0x56438c['_suggestionFactory'][_0x1d66('0xc')](_0x1d66('0x3'),'replaceImageSource',_0x1d66('0xf'),_0x56438c[_0x1d66('0x1f')][_0x1d66('0x15')](_0x1d66('0x3'),null,_0x1d66('0x19'))),_0x56438c[_0x1d66('0x1f')][_0x1d66('0xc')](_0x1d66('0x3'),_0x1d66('0x5'),_0x1d66('0x19'),_0x56438c[_0x1d66('0x1f')][_0x1d66('0x15')](_0x1d66('0x3'),null,_0x1d66('0xf'))),_0x56438c[_0x1d66('0x2')][_0x1d66('0x1b')](_0xf42160=>this[_0x1d66('0x1e')](_0xf42160));}['handleReplaceImageCommand'](_0x443409,_0x274405){const _0x3a9eed=this['editor'][_0x1d66('0x16')]['get'](_0x1d66('0x13')),_0x50a238=this[_0x1d66('0x7')][_0x1d66('0xa')]['document'][_0x1d66('0x6')][_0x1d66('0x10')]();this[_0x1d66('0x7')][_0x1d66('0xa')][_0x1d66('0xd')](()=>{let _0x402166=_0x50a238[_0x1d66('0x4')](_0x1d66('0xb'));const _0x450ca5=this[_0x1d66('0x7')][_0x1d66('0x16')][_0x1d66('0x1')](_0x1d66('0x12'))['me'];for(const _0x39124d of _0x3a9eed[_0x1d66('0xe')]({'skipNotAttached':!0x0})){const _0x521d73=_0x39124d[_0x1d66('0x17')]();if(_0x1d66('0x5')===_0x39124d[_0x1d66('0x8')]&&_0x521d73===_0x50a238){_0x39124d[_0x1d66('0x9')]!==_0x450ca5&&_0x39124d[_0x1d66('0x19')](),_0x402166=_0x39124d[_0x1d66('0x1d')][_0x1d66('0x14')][0x0][_0x1d66('0x18')];break;}}_0x443409(_0x274405),_0x3a9eed['markBlockFormat'](_0x50a238,{'commandName':'replaceImageSource','commandParams':[{'source':_0x402166}]},[],_0x1d66('0x5'));});}[_0x1d66('0x1e')](_0x558935){const {data:_0x533bad}=_0x558935;if(_0x533bad&&'replaceImageSource'===_0x533bad['commandName']){const _0x39ac37=_0x1d66('0x11');return{'type':'format','content':_0xbdc1f7(this['editor']['locale'],_0x39ac37)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48d9=['_handleImportedData','enableCommand','plugins','_trackChangesExecuted','editor','get','lowest','bind','_setSuggestionData','trackChanges','listenTo','high','track_changes','commands','importWord','_trackChangesValueDuringImport','Users','TrackChangesEditing','execute','collaboration_features'];(function(_0x4f34af,_0x48d92a){const _0x690522=function(_0xd3d8d0){while(--_0xd3d8d0){_0x4f34af['push'](_0x4f34af['shift']());}};_0x690522(++_0x48d92a);}(_0x48d9,0x1b1));const _0x6905=function(_0x4f34af,_0x48d92a){_0x4f34af=_0x4f34af-0x0;let _0x690522=_0x48d9[_0x4f34af];return _0x690522;};import{Plugin as _0x2a3057}from'ckeditor5/src/core';export default class tt extends _0x2a3057{constructor(_0x28336c){super(_0x28336c),this[_0x6905('0x2')]=!0x1,this[_0x6905('0xa')]=!0x1;}['afterInit'](){const _0x373df6=this['editor'],_0x57469e=_0x373df6[_0x6905('0x0')][_0x6905('0xc')](_0x6905('0x1')),_0x9b2b3c=_0x373df6[_0x6905('0x0')][_0x6905('0xc')](_0x6905('0x10'));_0x57469e&&(_0x57469e['on'](_0x6905('0x5'),(_0x469371,[,_0x12eef1])=>{this[_0x6905('0x2')]=_0x9b2b3c['value'],_0x12eef1[_0x6905('0x6')][_0x6905('0x13')]=!this[_0x6905('0x2')];},{'priority':_0x6905('0x12')}),this[_0x6905('0x11')](_0x57469e,'dataInsert',this[_0x6905('0x7')][_0x6905('0xe')](this)),this[_0x6905('0x11')](_0x57469e,'dataInsert',()=>{this[_0x6905('0xa')]&&(_0x9b2b3c['execute'](),this[_0x6905('0xa')]=!0x1);},{'priority':_0x6905('0xd')}),_0x373df6[_0x6905('0x9')][_0x6905('0xc')](_0x6905('0x4'))[_0x6905('0x8')]('importWord'));}[_0x6905('0x7')](_0x18e348,_0x1ce01d){const {suggestions:_0x42dd9f}=_0x1ce01d,_0x267169=this[_0x6905('0xb')][_0x6905('0x0')][_0x6905('0xc')](_0x6905('0x10')),_0x312880=_0x267169['value'];this[_0x6905('0x2')]!==_0x312880&&(_0x267169['execute'](),this[_0x6905('0xa')]=!0x0),_0x42dd9f&&_0x42dd9f['forEach'](({id:_0x1a3086,type:_0x3d8ee1,author:_0x1d20d4,created_at:_0x3ea774})=>{const _0x3e1f82={'id':_0x1a3086,'type':_0x3d8ee1,'authorId':this[_0x6905('0xb')][_0x6905('0x9')]['get'](_0x6905('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1d20d4,'createdAt':_0x3ea774?new Date(_0x3ea774):new Date(),'source':'importWord'}}};this[_0x6905('0xb')][_0x6905('0x9')][_0x6905('0xc')]('TrackChangesEditing')[_0x6905('0xf')](_0x3e1f82);});}}
23
+ const _0x4177=['track_changes','Users','collaboration_features','value','_handleImportedData','dataInsert','high','importWord','listenTo','plugins','execute','get','lowest','TrackChangesEditing','afterInit','commands','trackChanges','_trackChangesExecuted','editor','_trackChangesValueDuringImport'];(function(_0x1d210a,_0x4177de){const _0x40ce8a=function(_0x103105){while(--_0x103105){_0x1d210a['push'](_0x1d210a['shift']());}};_0x40ce8a(++_0x4177de);}(_0x4177,0xde));const _0x40ce=function(_0x1d210a,_0x4177de){_0x1d210a=_0x1d210a-0x0;let _0x40ce8a=_0x4177[_0x1d210a];return _0x40ce8a;};import{Plugin as _0x2c76ac}from'ckeditor5/src/core';export default class tt extends _0x2c76ac{constructor(_0x31047f){super(_0x31047f),this[_0x40ce('0x11')]=!0x1,this[_0x40ce('0xf')]=!0x1;}[_0x40ce('0xc')](){const _0x4b9d6=this[_0x40ce('0x10')],_0x3fec30=_0x4b9d6[_0x40ce('0xd')][_0x40ce('0x9')](_0x40ce('0x5')),_0xe16729=_0x4b9d6[_0x40ce('0xd')][_0x40ce('0x9')](_0x40ce('0xe'));_0x3fec30&&(_0x3fec30['on']('execute',(_0x9e108e,[,_0xaf6d70])=>{this[_0x40ce('0x11')]=_0xe16729[_0x40ce('0x1')],_0xaf6d70[_0x40ce('0x0')][_0x40ce('0x12')]=!this[_0x40ce('0x11')];},{'priority':_0x40ce('0x4')}),this[_0x40ce('0x6')](_0x3fec30,_0x40ce('0x3'),this[_0x40ce('0x2')]['bind'](this)),this[_0x40ce('0x6')](_0x3fec30,_0x40ce('0x3'),()=>{this[_0x40ce('0xf')]&&(_0xe16729['execute'](),this[_0x40ce('0xf')]=!0x1);},{'priority':_0x40ce('0xa')}),_0x4b9d6[_0x40ce('0x7')]['get'](_0x40ce('0xb'))['enableCommand'](_0x40ce('0x5')));}[_0x40ce('0x2')](_0x15189a,_0x1623a0){const {suggestions:_0x44d757}=_0x1623a0,_0x13b3cd=this[_0x40ce('0x10')][_0x40ce('0xd')][_0x40ce('0x9')](_0x40ce('0xe')),_0x589c38=_0x13b3cd['value'];this[_0x40ce('0x11')]!==_0x589c38&&(_0x13b3cd[_0x40ce('0x8')](),this[_0x40ce('0xf')]=!0x0),_0x44d757&&_0x44d757['forEach'](({id:_0x389f31,type:_0x5848d5,author:_0x465de4,created_at:_0x25b75f})=>{const _0x5682be={'id':_0x389f31,'type':_0x5848d5,'authorId':this[_0x40ce('0x10')]['plugins'][_0x40ce('0x9')](_0x40ce('0x13'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x465de4,'createdAt':_0x25b75f?new Date(_0x25b75f):new Date(),'source':_0x40ce('0x5')}}};this[_0x40ce('0x10')][_0x40ce('0x7')][_0x40ce('0x9')](_0x40ce('0xb'))['_setSuggestionData'](_0x5682be);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ed7=['has','IndentEditing','TrackChangesEditing','editor','commandName','plugins','from','*Indent:*\x20%0','markBlockFormat','filter','getItemLabel','*Outdent:*\x20%0','format','indent','document','_descriptionFactory','checkAttribute','enableCommand','outdent','IndentBlock','model','selection','locale','registerDescriptionCallback','outdentBlock','indentBlock'];(function(_0x4b2576,_0x1ed77e){const _0x32f412=function(_0x468c92){while(--_0x468c92){_0x4b2576['push'](_0x4b2576['shift']());}};_0x32f412(++_0x1ed77e);}(_0x1ed7,0x19f));const _0x32f4=function(_0x4b2576,_0x1ed77e){_0x4b2576=_0x4b2576-0x0;let _0x32f412=_0x1ed7[_0x4b2576];return _0x32f412;};import{Plugin as _0xfdf298}from'ckeditor5/src/core';import{getTranslation as _0x185e2e}from'../utils/common-translations';export default class it extends _0xfdf298{['afterInit'](){const _0x734a80=this[_0x32f4('0x4')],_0xf06556=_0x734a80[_0x32f4('0x6')]['get'](_0x32f4('0x3'));_0x734a80['plugins'][_0x32f4('0x1')](_0x32f4('0x2'))&&(_0xf06556[_0x32f4('0x12')](_0x32f4('0xe')),_0xf06556[_0x32f4('0x12')](_0x32f4('0x13')));const _0x515b22=_0x734a80[_0x32f4('0x17')];if(_0x734a80['plugins'][_0x32f4('0x1')](_0x32f4('0x14'))){for(const _0x1776a2 of[_0x32f4('0x0'),'outdentBlock'])_0xf06556['enableCommand'](_0x1776a2,()=>{const _0x4b1942=Array[_0x32f4('0x7')](this[_0x32f4('0x4')][_0x32f4('0x15')][_0x32f4('0xf')][_0x32f4('0x16')]['getSelectedBlocks']())[_0x32f4('0xa')](_0x3a9fbd=>this[_0x32f4('0x4')][_0x32f4('0x15')]['schema'][_0x32f4('0x11')](_0x3a9fbd,'blockIndent'));_0x734a80[_0x32f4('0x15')]['change'](()=>{for(const _0x58ba4d of _0x4b1942)_0xf06556[_0x32f4('0x9')](_0x58ba4d,{'commandName':_0x1776a2,'commandParams':[{'value':''}],'formatGroupId':_0x32f4('0x0')});});});_0xf06556[_0x32f4('0x10')][_0x32f4('0x18')](_0x3edc21=>{const {data:_0x4aebcd}=_0x3edc21;if(!_0x4aebcd)return;if(_0x32f4('0x0')!=_0x4aebcd[_0x32f4('0x5')]&&'outdentBlock'!=_0x4aebcd['commandName'])return;const _0x2a1c19=_0x3edc21['getItems']()[0x0],_0xfa085d=_0xf06556[_0x32f4('0x10')][_0x32f4('0xb')](_0x2a1c19);return'indentBlock'==_0x4aebcd[_0x32f4('0x5')]?{'type':'format','content':_0x185e2e(_0x515b22,_0x32f4('0x8'),_0xfa085d)}:_0x32f4('0x19')==_0x4aebcd[_0x32f4('0x5')]?{'type':_0x32f4('0xd'),'content':_0x185e2e(_0x515b22,_0x32f4('0xc'),_0xfa085d)}:void 0x0;});}}}
23
+ const _0x322f=['_descriptionFactory','IndentEditing','registerDescriptionCallback','enableCommand','document','selection','commandName','indentBlock','schema','*Indent:*\x20%0','has','format','outdentBlock','checkAttribute','editor','from','afterInit','getItemLabel','getItems','*Outdent:*\x20%0','plugins','change','TrackChangesEditing','model','getSelectedBlocks','locale'];(function(_0x5c1597,_0x322f58){const _0xce6577=function(_0x2344bd){while(--_0x2344bd){_0x5c1597['push'](_0x5c1597['shift']());}};_0xce6577(++_0x322f58);}(_0x322f,0x1e7));const _0xce65=function(_0x5c1597,_0x322f58){_0x5c1597=_0x5c1597-0x0;let _0xce6577=_0x322f[_0x5c1597];return _0xce6577;};import{Plugin as _0xbb1ced}from'ckeditor5/src/core';import{getTranslation as _0x764fbd}from'../utils/common-translations';export default class it extends _0xbb1ced{[_0xce65('0x17')](){const _0x17314a=this[_0xce65('0x15')],_0x1eabd5=_0x17314a[_0xce65('0x1')]['get'](_0xce65('0x3'));_0x17314a[_0xce65('0x1')]['has'](_0xce65('0x8'))&&(_0x1eabd5[_0xce65('0xa')]('indent'),_0x1eabd5['enableCommand']('outdent'));const _0x4a5e2f=_0x17314a[_0xce65('0x6')];if(_0x17314a[_0xce65('0x1')][_0xce65('0x11')]('IndentBlock')){for(const _0x258229 of[_0xce65('0xe'),_0xce65('0x13')])_0x1eabd5[_0xce65('0xa')](_0x258229,()=>{const _0x46c26d=Array[_0xce65('0x16')](this[_0xce65('0x15')]['model'][_0xce65('0xb')][_0xce65('0xc')][_0xce65('0x5')]())['filter'](_0x41b98c=>this[_0xce65('0x15')][_0xce65('0x4')][_0xce65('0xf')][_0xce65('0x14')](_0x41b98c,'blockIndent'));_0x17314a[_0xce65('0x4')][_0xce65('0x2')](()=>{for(const _0x21560c of _0x46c26d)_0x1eabd5['markBlockFormat'](_0x21560c,{'commandName':_0x258229,'commandParams':[{'value':''}],'formatGroupId':_0xce65('0xe')});});});_0x1eabd5['_descriptionFactory'][_0xce65('0x9')](_0x19ca6c=>{const {data:_0x36bf46}=_0x19ca6c;if(!_0x36bf46)return;if(_0xce65('0xe')!=_0x36bf46[_0xce65('0xd')]&&'outdentBlock'!=_0x36bf46['commandName'])return;const _0x1a4542=_0x19ca6c[_0xce65('0x19')]()[0x0],_0x20e39f=_0x1eabd5[_0xce65('0x7')][_0xce65('0x18')](_0x1a4542);return'indentBlock'==_0x36bf46['commandName']?{'type':'format','content':_0x764fbd(_0x4a5e2f,_0xce65('0x10'),_0x20e39f)}:_0xce65('0x13')==_0x36bf46[_0xce65('0xd')]?{'type':_0xce65('0x12'),'content':_0x764fbd(_0x4a5e2f,_0xce65('0x0'),_0x20e39f)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fcc=['editor','TrackChangesEditing','requires','init','enableCommand','get','plugins'];(function(_0x2e337f,_0x3fcc04){var _0x371d39=function(_0x4479a7){while(--_0x4479a7){_0x2e337f['push'](_0x2e337f['shift']());}};_0x371d39(++_0x3fcc04);}(_0x3fcc,0x70));var _0x371d=function(_0x2e337f,_0x3fcc04){_0x2e337f=_0x2e337f-0x0;var _0x371d39=_0x3fcc[_0x2e337f];return _0x371d39;};import{Plugin as _0x31ad22}from'ckeditor5/src/core';import{Input as _0x322b19}from'ckeditor5/src/typing';export default class et extends _0x31ad22{static get[_0x371d('0x2')](){return[_0x322b19];}[_0x371d('0x3')](){this[_0x371d('0x0')][_0x371d('0x6')][_0x371d('0x5')](_0x371d('0x1'))[_0x371d('0x4')]('input');}}
23
+ var _0x51a1=['get','init','editor','enableCommand'];(function(_0xb9a8c9,_0x51a155){var _0x309d91=function(_0x2ad73b){while(--_0x2ad73b){_0xb9a8c9['push'](_0xb9a8c9['shift']());}};_0x309d91(++_0x51a155);}(_0x51a1,0x94));var _0x309d=function(_0xb9a8c9,_0x51a155){_0xb9a8c9=_0xb9a8c9-0x0;var _0x309d91=_0x51a1[_0xb9a8c9];return _0x309d91;};import{Plugin as _0x3f4389}from'ckeditor5/src/core';import{Input as _0x7a5ec9}from'ckeditor5/src/typing';export default class et extends _0x3f4389{static get['requires'](){return[_0x7a5ec9];}[_0x309d('0x1')](){this[_0x309d('0x2')]['plugins'][_0x309d('0x0')]('TrackChangesEditing')[_0x309d('0x3')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439b=['format','LinkEditing','getFirstRange','markInlineFormat','model','afterInit','TrackChangesEditing','selection','editor','linkHref','unlink','*Remove\x20link*','from','change','isCollapsed','getAttribute','document','getFirstPosition','_descriptionFactory','get','plugins','has','getRanges','commandName','registerDescriptionCallback','locale','hasAttribute'];(function(_0x42e80c,_0x439b08){const _0x414d86=function(_0x36493e){while(--_0x36493e){_0x42e80c['push'](_0x42e80c['shift']());}};_0x414d86(++_0x439b08);}(_0x439b,0x75));const _0x414d=function(_0x42e80c,_0x439b08){_0x42e80c=_0x42e80c-0x0;let _0x414d86=_0x439b[_0x42e80c];return _0x414d86;};import{Plugin as _0x2ca7d0}from'ckeditor5/src/core';import{findAttributeRange as _0x50bad6}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5d91f6}from'./utils';import{getTranslation as _0x2ba8b8}from'../utils/common-translations';export default class nt extends _0x2ca7d0{[_0x414d('0x17')](){const _0xf507ce=this[_0x414d('0x1a')];if(!_0xf507ce[_0x414d('0xb')][_0x414d('0xc')](_0x414d('0x13')))return;const _0x50cb6c=_0xf507ce[_0x414d('0xb')][_0x414d('0xa')](_0x414d('0x18'));_0x50cb6c['enableCommand']('link',(_0x1f3869,_0x2b95a1)=>{const _0x1d0570=_0xf507ce[_0x414d('0x16')]['document'][_0x414d('0x19')];let _0x2dcc1b=[];if(_0x1d0570[_0x414d('0x5')]){if(!_0x1d0570[_0x414d('0x11')](_0x414d('0x0')))return void _0x1f3869(_0x2b95a1);{const _0x49caaa=_0x50bad6(_0x1d0570[_0x414d('0x8')](),_0x414d('0x0'),_0x1d0570['getAttribute']('linkHref'),_0xf507ce[_0x414d('0x16')]);_0x2dcc1b=[_0x49caaa];}}else _0x2dcc1b=Array[_0x414d('0x3')](_0x1d0570[_0x414d('0xd')]());_0xf507ce[_0x414d('0x16')][_0x414d('0x4')](()=>{for(const _0x3d7e41 of _0x2dcc1b)_0x50cb6c[_0x414d('0x15')](_0x3d7e41,{'commandName':'link','commandParams':[_0x2b95a1]});});}),_0x50cb6c['enableCommand'](_0x414d('0x1'),()=>{const _0x3b559c=this[_0x414d('0x1a')][_0x414d('0x16')],_0x4a2e89=_0x3b559c[_0x414d('0x7')][_0x414d('0x19')];_0x3b559c[_0x414d('0x4')](()=>{let _0x4e88a7=[];if(_0x4a2e89[_0x414d('0x5')])_0x4e88a7=[_0x50bad6(_0x4a2e89['getFirstPosition'](),_0x414d('0x0'),_0x4a2e89[_0x414d('0x6')](_0x414d('0x0')),_0xf507ce[_0x414d('0x16')])];else _0x4e88a7=_0x5d91f6('linkHref',_0x4a2e89[_0x414d('0x14')](),_0xf507ce['model']);for(const _0x17f452 of _0x4e88a7)_0x50cb6c[_0x414d('0x15')](_0x17f452,{'commandName':_0x414d('0x1'),'commandParams':[]});});}),_0x50cb6c[_0x414d('0x9')][_0x414d('0xf')](_0x27e516=>{const {data:_0x4e419a}=_0x27e516,_0x2edcf5=_0xf507ce[_0x414d('0x10')];if(_0x4e419a){if('link'==_0x4e419a[_0x414d('0xe')]){const _0x166858=_0x4e419a['commandParams'][0x0];return{'type':'format','content':_0x2ba8b8(_0x2edcf5,'*Set\x20link:*\x20%0','\x22'+_0x166858+'\x22')};}return'unlink'==_0x4e419a[_0x414d('0xe')]?{'type':_0x414d('0x12'),'content':_0x2ba8b8(_0x2edcf5,_0x414d('0x2'))}:void 0x0;}});}}
23
+ const _0x1930=['unlink','editor','registerDescriptionCallback','document','*Set\x20link:*\x20%0','*Remove\x20link*','_descriptionFactory','get','getRanges','getFirstPosition','linkHref','selection','locale','format','change','link','getFirstRange','model','LinkEditing','has','markInlineFormat','isCollapsed','plugins','enableCommand','TrackChangesEditing','getAttribute','commandName','afterInit','commandParams'];(function(_0x114c58,_0x193068){const _0x4b0cdf=function(_0x1222ee){while(--_0x1222ee){_0x114c58['push'](_0x114c58['shift']());}};_0x4b0cdf(++_0x193068);}(_0x1930,0xac));const _0x4b0c=function(_0x114c58,_0x193068){_0x114c58=_0x114c58-0x0;let _0x4b0cdf=_0x1930[_0x114c58];return _0x4b0cdf;};import{Plugin as _0x3b6ec1}from'ckeditor5/src/core';import{findAttributeRange as _0xf3f9a0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x9e40ca}from'./utils';import{getTranslation as _0x2a8d58}from'../utils/common-translations';export default class nt extends _0x3b6ec1{[_0x4b0c('0x0')](){const _0x4cfaeb=this['editor'];if(!_0x4cfaeb[_0x4b0c('0x18')][_0x4b0c('0x15')](_0x4b0c('0x14')))return;const _0x5917b4=_0x4cfaeb[_0x4b0c('0x18')][_0x4b0c('0x9')](_0x4b0c('0x1a'));_0x5917b4[_0x4b0c('0x19')](_0x4b0c('0x11'),(_0x4a56ed,_0x211128)=>{const _0x15b4b5=_0x4cfaeb[_0x4b0c('0x13')]['document'][_0x4b0c('0xd')];let _0x21b274=[];if(_0x15b4b5[_0x4b0c('0x17')]){if(!_0x15b4b5['hasAttribute'](_0x4b0c('0xc')))return void _0x4a56ed(_0x211128);{const _0xd4687=_0xf3f9a0(_0x15b4b5[_0x4b0c('0xb')](),_0x4b0c('0xc'),_0x15b4b5[_0x4b0c('0x1b')]('linkHref'),_0x4cfaeb['model']);_0x21b274=[_0xd4687];}}else _0x21b274=Array['from'](_0x15b4b5[_0x4b0c('0xa')]());_0x4cfaeb['model'][_0x4b0c('0x10')](()=>{for(const _0xf24c58 of _0x21b274)_0x5917b4[_0x4b0c('0x16')](_0xf24c58,{'commandName':_0x4b0c('0x11'),'commandParams':[_0x211128]});});}),_0x5917b4[_0x4b0c('0x19')](_0x4b0c('0x2'),()=>{const _0x3cfbb5=this[_0x4b0c('0x3')][_0x4b0c('0x13')],_0x54da1a=_0x3cfbb5[_0x4b0c('0x5')]['selection'];_0x3cfbb5[_0x4b0c('0x10')](()=>{let _0x4ed15f=[];if(_0x54da1a[_0x4b0c('0x17')])_0x4ed15f=[_0xf3f9a0(_0x54da1a[_0x4b0c('0xb')](),_0x4b0c('0xc'),_0x54da1a['getAttribute'](_0x4b0c('0xc')),_0x4cfaeb[_0x4b0c('0x13')])];else _0x4ed15f=_0x9e40ca(_0x4b0c('0xc'),_0x54da1a[_0x4b0c('0x12')](),_0x4cfaeb[_0x4b0c('0x13')]);for(const _0x15ad38 of _0x4ed15f)_0x5917b4[_0x4b0c('0x16')](_0x15ad38,{'commandName':_0x4b0c('0x2'),'commandParams':[]});});}),_0x5917b4[_0x4b0c('0x8')][_0x4b0c('0x4')](_0x588d65=>{const {data:_0x3b1e32}=_0x588d65,_0x5205bc=_0x4cfaeb[_0x4b0c('0xe')];if(_0x3b1e32){if(_0x4b0c('0x11')==_0x3b1e32[_0x4b0c('0x1c')]){const _0x1d2bf6=_0x3b1e32[_0x4b0c('0x1')][0x0];return{'type':'format','content':_0x2a8d58(_0x5205bc,_0x4b0c('0x6'),'\x22'+_0x1d2bf6+'\x22')};}return _0x4b0c('0x2')==_0x3b1e32[_0x4b0c('0x1c')]?{'type':_0x4b0c('0xf'),'content':_0x2a8d58(_0x5205bc,_0x4b0c('0x7'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x108d=['ELEMENT_NUMBERED_LIST','selection','value','todoListChecked','ELEMENT_BULLETED_LIST','nextSibling','*Uncheck\x20item*','ListEditing','TodoListEditing','has','numbered','*Outdent:*\x20%0','model','commands','checkChild','todoList','outdentList','listItem','parent','length','change','getAttribute','findIndex','listType','_descriptionFactory','name','ELEMENT_LIST_ITEM','indentList','ELEMENT_TODO_LIST','end','commandParams','todo','_selectedElements','commandName','getSelectedBlocks','afterInit','from','paragraph','forceValue','filter','replace','bulletedList','slice','checkTodoList','push','previousSibling','List','get','plugins','format','registerElementLabel','listIndent','element','numberedList','add','blockName','document','enableCommand','registerDescriptionCallback','before','schema','createPositionAt','markBlockFormat'];(function(_0xff595,_0x108d5f){const _0x4e2be0=function(_0x2d105b){while(--_0x2d105b){_0xff595['push'](_0xff595['shift']());}};_0x4e2be0(++_0x108d5f);}(_0x108d,0x68));const _0x4e2b=function(_0xff595,_0x108d5f){_0xff595=_0xff595-0x0;let _0x4e2be0=_0x108d[_0xff595];return _0x4e2be0;};import{Plugin as _0x4eb39d}from'ckeditor5/src/core';import{getTranslation as _0x49c7d3}from'../utils/common-translations';export default class st extends _0x4eb39d{[_0x4e2b('0x39')](){const _0x20d2e7=this['editor'],_0x38da7e=_0x20d2e7['locale'];if(!_0x20d2e7[_0x4e2b('0x7')][_0x4e2b('0x1f')](_0x4e2b('0x1d')))return;const _0x4c5409=_0x20d2e7[_0x4e2b('0x7')]['get']('TrackChangesEditing'),_0x4c64f7=_0x20d2e7['plugins'][_0x4e2b('0x1f')](_0x4e2b('0x1e'));function _0x1e9512(_0x2b27eb){return()=>{const _0xb19f7=_0x20d2e7[_0x4e2b('0x22')][_0x4e2b('0xf')][_0x4e2b('0x17')],_0x3c1add=_0x20d2e7[_0x4e2b('0x23')][_0x4e2b('0x6')](_0x2b27eb);if(_0x3c1add['value'])return void _0x20d2e7['execute'](_0x4e2b('0x3b'),{});const _0x2ea49e=_0x2b27eb[_0x4e2b('0x1')](0x0,-0x4),_0x18e529=function(_0x58944a,_0x9ddd8,_0x4cf508){let _0x4582d3=Array[_0x4e2b('0x3a')](_0x58944a)['filter'](_0x32a5d0=>function(_0x382e46,_0x30ae5e){return _0x30ae5e[_0x4e2b('0x24')](_0x382e46[_0x4e2b('0x28')],_0x4e2b('0x27'))&&!_0x30ae5e['isObject'](_0x382e46);}(_0x32a5d0,_0x4cf508));_0x4582d3=_0x4582d3[_0x4e2b('0x3d')](_0x4a5dbf=>!_0x4a5dbf['is'](_0x4e2b('0xb'),_0x4e2b('0x27'))||_0x4a5dbf[_0x4e2b('0x2b')](_0x4e2b('0x2d'))!=_0x9ddd8);const _0xd2b88c=new Set();for(const _0x5f3a8a of _0x4582d3)_0x5f3a8a['is']('element',_0x4e2b('0x27'))?_0xd2b88c[_0x4e2b('0xd')](ne(_0x5f3a8a)):_0xd2b88c[_0x4e2b('0xd')](_0x5f3a8a);return Array[_0x4e2b('0x3a')](_0xd2b88c);}(_0xb19f7[_0x4e2b('0x38')](),_0x2ea49e,_0x20d2e7[_0x4e2b('0x22')][_0x4e2b('0x13')]);_0x20d2e7[_0x4e2b('0x22')][_0x4e2b('0x2a')](()=>{for(const _0x348c33 of _0x18e529)_0x4c5409[_0x4e2b('0x15')](_0x348c33,{'commandName':_0x2b27eb,'commandParams':[{'forceValue':!_0x3c1add[_0x4e2b('0x18')]}],'formatGroupId':_0x4e2b('0xe')},oe(_0x348c33));});};}function _0x8c7346(_0x7f355d){return()=>{const _0x2cf2c2=function(_0x32351f){let _0x13dd55=Array[_0x4e2b('0x3a')](_0x32351f);const _0xc70e4b=_0x13dd55[_0x4e2b('0x2c')](_0x38c060=>_0x4e2b('0x27')!=_0x38c060['name']);return _0xc70e4b>-0x1&&(_0x13dd55=_0x13dd55[_0x4e2b('0x1')](0x0,_0xc70e4b)),_0x13dd55;}(_0x20d2e7['model'][_0x4e2b('0xf')][_0x4e2b('0x17')][_0x4e2b('0x38')]()),_0x3ff7a4=_0x20d2e7[_0x4e2b('0x22')]['createRange'](_0x20d2e7[_0x4e2b('0x22')][_0x4e2b('0x14')](_0x2cf2c2[0x0],_0x4e2b('0x12')),_0x20d2e7['model'][_0x4e2b('0x14')](_0x2cf2c2[_0x2cf2c2[_0x4e2b('0x29')]-0x1],_0x4e2b('0x33')));_0x20d2e7[_0x4e2b('0x22')]['change'](()=>{_0x4c5409[_0x4e2b('0x15')](_0x3ff7a4,{'commandName':_0x7f355d,'commandParams':[],'formatGroupId':_0x4e2b('0xa')},function(_0x1e005d){const _0x37cfc7=new Set();for(const _0xdfbd03 of _0x1e005d){let _0x2435de=_0xdfbd03['nextSibling'];for(;_0x2435de&&_0x2435de[_0x4e2b('0x2b')](_0x4e2b('0xa'))>_0xdfbd03['getAttribute'](_0x4e2b('0xa'));)_0x37cfc7[_0x4e2b('0xd')](_0x2435de),_0x2435de=_0x2435de[_0x4e2b('0x1b')];}return Array[_0x4e2b('0x3a')](_0x37cfc7);}(_0x2cf2c2));});};}_0x4c5409['enableCommand']('numberedList',_0x1e9512(_0x4e2b('0xc'))),_0x4c5409[_0x4e2b('0x10')](_0x4e2b('0x0'),_0x1e9512(_0x4e2b('0x0'))),_0x4c64f7&&_0x4c5409[_0x4e2b('0x10')]('todoList',_0x1e9512(_0x4e2b('0x25'))),_0x4c5409[_0x4e2b('0x10')]('indentList',_0x8c7346(_0x4e2b('0x31'))),_0x4c5409[_0x4e2b('0x10')](_0x4e2b('0x26'),_0x8c7346(_0x4e2b('0x26'))),_0x4c64f7&&_0x4c5409['enableCommand']('checkTodoList',()=>{const _0x2afd4d=_0x20d2e7[_0x4e2b('0x23')][_0x4e2b('0x6')]('checkTodoList'),_0x1c3d4e=Array[_0x4e2b('0x3a')](_0x2afd4d[_0x4e2b('0x36')]);_0x1c3d4e[_0x4e2b('0x3d')](_0xb896ab=>_0xb896ab[_0x4e2b('0x2b')](_0x4e2b('0x19'))!=_0x2afd4d['value']),_0x20d2e7[_0x4e2b('0x22')][_0x4e2b('0x2a')](()=>{for(const _0xeeb49a of _0x1c3d4e)_0x4c5409[_0x4e2b('0x15')](_0xeeb49a,{'commandName':_0x4e2b('0x2'),'commandParams':[{'forceValue':!_0x2afd4d[_0x4e2b('0x18')]}]});});}),_0x4c5409[_0x4e2b('0x2e')][_0x4e2b('0x9')]('listItem',_0x9d7d4=>_0x49c7d3(_0x38da7e,_0x4e2b('0x30'),_0x9d7d4)),_0x4c5409[_0x4e2b('0x2e')][_0x4e2b('0x11')](_0x4dcd68=>{const {data:_0x3aadd0}=_0x4dcd68;if(_0x3aadd0){if(_0x4e2b('0xc')==_0x3aadd0[_0x4e2b('0x37')]||_0x4e2b('0x0')==_0x3aadd0[_0x4e2b('0x37')]||_0x4e2b('0x25')==_0x3aadd0[_0x4e2b('0x37')])switch(_0x3aadd0['commandName'][_0x4e2b('0x3e')](_0x4e2b('0x5'),'')){case'bulleted':return _0xf57549(_0x49c7d3(_0x38da7e,_0x4e2b('0x1a')));case _0x4e2b('0x20'):return _0xf57549(_0x49c7d3(_0x38da7e,_0x4e2b('0x16')));case _0x4e2b('0x35'):return _0xf57549(_0x49c7d3(_0x38da7e,_0x4e2b('0x32')));}if(_0x4e2b('0x31')==_0x3aadd0[_0x4e2b('0x37')])return{'type':_0x4e2b('0x8'),'content':_0x49c7d3(_0x38da7e,'*Indent:*\x20%0',_0x49c7d3(_0x38da7e,_0x4e2b('0x30')))};if(_0x4e2b('0x26')==_0x3aadd0[_0x4e2b('0x37')])return{'type':_0x4e2b('0x8'),'content':_0x49c7d3(_0x38da7e,_0x4e2b('0x21'),_0x49c7d3(_0x38da7e,_0x4e2b('0x30')))};if(_0x4e2b('0x2')==_0x3aadd0[_0x4e2b('0x37')])return _0x3aadd0[_0x4e2b('0x34')][0x0][_0x4e2b('0x3c')]?{'type':_0x4e2b('0x8'),'content':_0x49c7d3(_0x38da7e,'*Check\x20item*')}:{'type':'format','content':_0x49c7d3(_0x38da7e,_0x4e2b('0x1c'))};}function _0xf57549(_0x2aa168){return{'type':_0x4e2b('0x8'),'content':_0x49c7d3(_0x38da7e,'*Change\x20to:*\x20%0',_0x2aa168)};}});}}function ne(_0x4ff0e9){const _0x251228=_0x4ff0e9[_0x4e2b('0x2b')]('listIndent');if(0x0==_0x251228)return _0x4ff0e9;let _0x1b10b8=_0x4ff0e9;for(;_0x4ff0e9[_0x4e2b('0x4')]&&_0x4ff0e9[_0x4e2b('0x4')]['is'](_0x4e2b('0xb'),_0x4e2b('0x27'));){const _0x50730b=_0x4ff0e9[_0x4e2b('0x4')][_0x4e2b('0x2b')](_0x4e2b('0xa'));if(_0x50730b==_0x251228)_0x1b10b8=_0x4ff0e9[_0x4e2b('0x4')];else{if(_0x50730b<_0x251228)break;}_0x4ff0e9=_0x4ff0e9['previousSibling'];}return _0x1b10b8;}function oe(_0x422460){const _0x31587e=[];if(_0x422460['is'](_0x4e2b('0xb'),_0x4e2b('0x27'))&&_0x422460[_0x4e2b('0x2b')](_0x4e2b('0xa'))>0x0){let _0x176c36=_0x422460['nextSibling'];for(;_0x176c36&&'listItem'==_0x176c36[_0x4e2b('0x2f')]&&_0x176c36[_0x4e2b('0x2b')](_0x4e2b('0xa'))==_0x422460[_0x4e2b('0x2b')](_0x4e2b('0xa'));)_0x31587e[_0x4e2b('0x3')](_0x176c36),_0x176c36=_0x176c36['nextSibling'];}return _0x31587e;}
23
+ const _0x4575=['nextSibling','listType','previousSibling','*Change\x20to:*\x20%0','indentList','*Indent:*\x20%0','bulleted','length','listIndent','slice','selection','outdentList','value','afterInit','document','numberedList','model','plugins','listItem','commands','replace','execute','ListEditing','findIndex','from','bulletedList','registerDescriptionCallback','List','markBlockFormat','schema','todo','change','before','ELEMENT_LIST_ITEM','ELEMENT_NUMBERED_LIST','filter','commandParams','add','checkChild','blockName','ELEMENT_BULLETED_LIST','*Uncheck\x20item*','end','ELEMENT_TODO_LIST','has','commandName','createPositionAt','forceValue','enableCommand','*Check\x20item*','registerElementLabel','todoList','format','element','get','parent','getAttribute','_selectedElements','getSelectedBlocks','name','checkTodoList','createRange'];(function(_0x31f513,_0x4575e7){const _0x4a34ce=function(_0x598cd0){while(--_0x598cd0){_0x31f513['push'](_0x31f513['shift']());}};_0x4a34ce(++_0x4575e7);}(_0x4575,0x136));const _0x4a34=function(_0x31f513,_0x4575e7){_0x31f513=_0x31f513-0x0;let _0x4a34ce=_0x4575[_0x31f513];return _0x4a34ce;};import{Plugin as _0x555490}from'ckeditor5/src/core';import{getTranslation as _0x253249}from'../utils/common-translations';export default class st extends _0x555490{[_0x4a34('0xd')](){const _0x2882fe=this['editor'],_0x134443=_0x2882fe['locale'];if(!_0x2882fe[_0x4a34('0x11')][_0x4a34('0x2c')](_0x4a34('0x16')))return;const _0x3e29ed=_0x2882fe[_0x4a34('0x11')][_0x4a34('0x36')]('TrackChangesEditing'),_0x484839=_0x2882fe[_0x4a34('0x11')]['has']('TodoListEditing');function _0x5800f5(_0x4598d4){return()=>{const _0xd51dbe=_0x2882fe[_0x4a34('0x10')][_0x4a34('0xe')][_0x4a34('0xa')],_0x369b8d=_0x2882fe[_0x4a34('0x13')][_0x4a34('0x36')](_0x4598d4);if(_0x369b8d[_0x4a34('0xc')])return void _0x2882fe[_0x4a34('0x15')]('paragraph',{});const _0x38a3e9=_0x4598d4[_0x4a34('0x9')](0x0,-0x4),_0x2585e1=function(_0x36d0ce,_0x51c1cb,_0x336830){let _0x26eb5f=Array['from'](_0x36d0ce)['filter'](_0x59f43b=>function(_0x75bf84,_0x59d78c){return _0x59d78c[_0x4a34('0x26')](_0x75bf84[_0x4a34('0x37')],_0x4a34('0x12'))&&!_0x59d78c['isObject'](_0x75bf84);}(_0x59f43b,_0x336830));_0x26eb5f=_0x26eb5f[_0x4a34('0x23')](_0x241ea5=>!_0x241ea5['is']('element',_0x4a34('0x12'))||_0x241ea5[_0x4a34('0x38')](_0x4a34('0x1'))!=_0x51c1cb);const _0x151059=new Set();for(const _0x210dbf of _0x26eb5f)_0x210dbf['is'](_0x4a34('0x35'),_0x4a34('0x12'))?_0x151059[_0x4a34('0x25')](ne(_0x210dbf)):_0x151059[_0x4a34('0x25')](_0x210dbf);return Array[_0x4a34('0x18')](_0x151059);}(_0xd51dbe[_0x4a34('0x3a')](),_0x38a3e9,_0x2882fe['model'][_0x4a34('0x1d')]);_0x2882fe['model'][_0x4a34('0x1f')](()=>{for(const _0xd8f72f of _0x2585e1)_0x3e29ed[_0x4a34('0x1c')](_0xd8f72f,{'commandName':_0x4598d4,'commandParams':[{'forceValue':!_0x369b8d[_0x4a34('0xc')]}],'formatGroupId':_0x4a34('0x27')},oe(_0xd8f72f));});};}function _0x526bda(_0x1ce0f7){return()=>{const _0x48db03=function(_0x5987d4){let _0x48862d=Array[_0x4a34('0x18')](_0x5987d4);const _0x446807=_0x48862d[_0x4a34('0x17')](_0x2239cc=>'listItem'!=_0x2239cc[_0x4a34('0x3b')]);return _0x446807>-0x1&&(_0x48862d=_0x48862d[_0x4a34('0x9')](0x0,_0x446807)),_0x48862d;}(_0x2882fe[_0x4a34('0x10')][_0x4a34('0xe')][_0x4a34('0xa')]['getSelectedBlocks']()),_0x2238bc=_0x2882fe[_0x4a34('0x10')][_0x4a34('0x3d')](_0x2882fe[_0x4a34('0x10')][_0x4a34('0x2e')](_0x48db03[0x0],_0x4a34('0x20')),_0x2882fe[_0x4a34('0x10')]['createPositionAt'](_0x48db03[_0x48db03[_0x4a34('0x7')]-0x1],_0x4a34('0x2a')));_0x2882fe['model'][_0x4a34('0x1f')](()=>{_0x3e29ed[_0x4a34('0x1c')](_0x2238bc,{'commandName':_0x1ce0f7,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4520d0){const _0x3d1d54=new Set();for(const _0x219bef of _0x4520d0){let _0x598258=_0x219bef[_0x4a34('0x0')];for(;_0x598258&&_0x598258[_0x4a34('0x38')](_0x4a34('0x8'))>_0x219bef['getAttribute'](_0x4a34('0x8'));)_0x3d1d54[_0x4a34('0x25')](_0x598258),_0x598258=_0x598258[_0x4a34('0x0')];}return Array[_0x4a34('0x18')](_0x3d1d54);}(_0x48db03));});};}_0x3e29ed[_0x4a34('0x30')](_0x4a34('0xf'),_0x5800f5(_0x4a34('0xf'))),_0x3e29ed[_0x4a34('0x30')](_0x4a34('0x19'),_0x5800f5(_0x4a34('0x19'))),_0x484839&&_0x3e29ed[_0x4a34('0x30')](_0x4a34('0x33'),_0x5800f5('todoList')),_0x3e29ed[_0x4a34('0x30')]('indentList',_0x526bda('indentList')),_0x3e29ed['enableCommand']('outdentList',_0x526bda('outdentList')),_0x484839&&_0x3e29ed['enableCommand'](_0x4a34('0x3c'),()=>{const _0x496ad7=_0x2882fe[_0x4a34('0x13')][_0x4a34('0x36')](_0x4a34('0x3c')),_0x14a0db=Array['from'](_0x496ad7[_0x4a34('0x39')]);_0x14a0db[_0x4a34('0x23')](_0x268f52=>_0x268f52[_0x4a34('0x38')]('todoListChecked')!=_0x496ad7[_0x4a34('0xc')]),_0x2882fe[_0x4a34('0x10')][_0x4a34('0x1f')](()=>{for(const _0x381b02 of _0x14a0db)_0x3e29ed[_0x4a34('0x1c')](_0x381b02,{'commandName':_0x4a34('0x3c'),'commandParams':[{'forceValue':!_0x496ad7[_0x4a34('0xc')]}]});});}),_0x3e29ed['_descriptionFactory'][_0x4a34('0x32')](_0x4a34('0x12'),_0x1abebf=>_0x253249(_0x134443,_0x4a34('0x21'),_0x1abebf)),_0x3e29ed['_descriptionFactory'][_0x4a34('0x1a')](_0x5604ee=>{const {data:_0x5b0e3f}=_0x5604ee;if(_0x5b0e3f){if(_0x4a34('0xf')==_0x5b0e3f[_0x4a34('0x2d')]||_0x4a34('0x19')==_0x5b0e3f[_0x4a34('0x2d')]||_0x4a34('0x33')==_0x5b0e3f['commandName'])switch(_0x5b0e3f[_0x4a34('0x2d')][_0x4a34('0x14')](_0x4a34('0x1b'),'')){case _0x4a34('0x6'):return _0x41875d(_0x253249(_0x134443,_0x4a34('0x28')));case'numbered':return _0x41875d(_0x253249(_0x134443,_0x4a34('0x22')));case _0x4a34('0x1e'):return _0x41875d(_0x253249(_0x134443,_0x4a34('0x2b')));}if(_0x4a34('0x4')==_0x5b0e3f[_0x4a34('0x2d')])return{'type':_0x4a34('0x34'),'content':_0x253249(_0x134443,_0x4a34('0x5'),_0x253249(_0x134443,_0x4a34('0x21')))};if(_0x4a34('0xb')==_0x5b0e3f['commandName'])return{'type':_0x4a34('0x34'),'content':_0x253249(_0x134443,'*Outdent:*\x20%0',_0x253249(_0x134443,'ELEMENT_LIST_ITEM'))};if(_0x4a34('0x3c')==_0x5b0e3f[_0x4a34('0x2d')])return _0x5b0e3f[_0x4a34('0x24')][0x0][_0x4a34('0x2f')]?{'type':_0x4a34('0x34'),'content':_0x253249(_0x134443,_0x4a34('0x31'))}:{'type':_0x4a34('0x34'),'content':_0x253249(_0x134443,_0x4a34('0x29'))};}function _0x41875d(_0x404663){return{'type':_0x4a34('0x34'),'content':_0x253249(_0x134443,_0x4a34('0x3'),_0x404663)};}});}}function ne(_0x1d8305){const _0x2f531c=_0x1d8305['getAttribute']('listIndent');if(0x0==_0x2f531c)return _0x1d8305;let _0x186878=_0x1d8305;for(;_0x1d8305[_0x4a34('0x2')]&&_0x1d8305[_0x4a34('0x2')]['is'](_0x4a34('0x35'),'listItem');){const _0x4d1bde=_0x1d8305['previousSibling'][_0x4a34('0x38')](_0x4a34('0x8'));if(_0x4d1bde==_0x2f531c)_0x186878=_0x1d8305[_0x4a34('0x2')];else{if(_0x4d1bde<_0x2f531c)break;}_0x1d8305=_0x1d8305[_0x4a34('0x2')];}return _0x186878;}function oe(_0x5a2d5d){const _0xa7d078=[];if(_0x5a2d5d['is'](_0x4a34('0x35'),_0x4a34('0x12'))&&_0x5a2d5d[_0x4a34('0x38')](_0x4a34('0x8'))>0x0){let _0x92116=_0x5a2d5d['nextSibling'];for(;_0x92116&&_0x4a34('0x12')==_0x92116[_0x4a34('0x3b')]&&_0x92116[_0x4a34('0x38')](_0x4a34('0x8'))==_0x5a2d5d[_0x4a34('0x38')]('listIndent');)_0xa7d078['push'](_0x92116),_0x92116=_0x92116[_0x4a34('0x0')];}return _0xa7d078;}