@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230903.0 → 0.0.0-nightly-20230905.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2712=['editor','value','model','fontFamily','title','config','get','trim','_descriptionFactory','selection','fontSize.options','fontBackgroundColor','getRanges','FontSizeEditing','*Reset\x20font\x20color*','markInlineFormat','TrackChangesEditing','find','*Set\x20font\x20color:*\x20%0','has','_enableCommand','isCollapsed','*Reset\x20font\x20background\x20color*','plugins','fontBackgroundColor.colors','afterInit','fontColor','*Reset\x20font\x20size*','locale','label','format','fontColor.colors','document','*Set\x20font\x20background\x20color:*\x20%0','toLowerCase','commandName','commandParams','registerDescriptionCallback','normalizeSizeOptions','FontFamilyEditing','from','fontSize','*Reset\x20font\x20family*','FontColorEditing'];(function(_0x23d34d,_0x27126a){const _0x4571b0=function(_0x5d0423){while(--_0x5d0423){_0x23d34d['push'](_0x23d34d['shift']());}};_0x4571b0(++_0x27126a);}(_0x2712,0xfa));const _0x4571=function(_0x23d34d,_0x27126a){_0x23d34d=_0x23d34d-0x0;let _0x4571b0=_0x2712[_0x23d34d];return _0x4571b0;};import{Plugin as _0x1fad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x701fd3}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x42517d}from'./utils';import{getTranslation as _0x5c12ab}from'../utils/common-translations';const eo=[{'pluginName':_0x4571('0x1b'),'commandName':_0x4571('0xb')},{'pluginName':_0x4571('0x9'),'commandName':'fontFamily'},{'pluginName':_0x4571('0xd'),'commandName':_0x4571('0x28')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4571('0x19')}];export default class H extends _0x1fad17{[_0x4571('0x27')](){const _0xa84913=this[_0x4571('0xe')][_0x4571('0x2a')];for(const {pluginName:_0x32d5d6,commandName:_0x39d98b}of eo)this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x21')](_0x32d5d6)&&this['_enableCommand'](_0x39d98b);this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))[_0x4571('0x16')][_0x4571('0x7')](_0x4c5ed3=>{const _0x19fa92=_0xa84913['t'],{data:_0x30fc62}=_0x4c5ed3;if(null!=_0x30fc62){if('fontSize'==_0x30fc62[_0x4571('0x5')]){const _0x50a598=_0x30fc62[_0x4571('0x6')][0x0]['value'];if(_0x50a598){const _0x3a513d=_0x19fa92(this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x14')]('FontSize')[_0x4571('0x8')](this[_0x4571('0xe')]['config']['get'](_0x4571('0x18')))['find'](_0x4a8d8b=>_0x4a8d8b[_0x4571('0x10')]==_0x50a598)[_0x4571('0x12')])[_0x4571('0x4')]();return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,'*Set\x20font\x20size:*\x20%0',_0x3a513d)};}return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x29'))};}if(_0x4571('0x11')==_0x30fc62['commandName']){const _0x3f362d=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];return _0x3f362d?{'type':'format','content':_0x5c12ab(_0xa84913,'*Set\x20font\x20family:*\x20%0',_0x3f362d)}:{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0xc'))};}if(_0x4571('0x28')==_0x30fc62['commandName']){const _0x24e612=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];if(_0x24e612){const _0x1dfa82=_0x701fd3(this[_0x4571('0xe')][_0x4571('0x13')][_0x4571('0x14')](_0x4571('0x1')))[_0x4571('0x1f')](_0x406b9b=>_0x406b9b['model']==_0x24e612);let _0x221e38=_0x24e612,_0x422d7a='';return _0x1dfa82&&(_0x221e38=_0x1dfa82[_0x4571('0x2b')],_0x422d7a=_0x19fa92(_0x221e38)[_0x4571('0x4')]()),{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x20'),_0x422d7a)['trim'](),'color':{'value':_0x24e612,'title':_0x422d7a||_0x221e38}};}return{'type':'format','content':_0x5c12ab(_0xa84913,_0x4571('0x1c'))};}if(_0x4571('0x19')==_0x30fc62[_0x4571('0x5')]){const _0x5a6c49=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];if(_0x5a6c49){const _0x4c147a=_0x701fd3(this[_0x4571('0xe')]['config'][_0x4571('0x14')](_0x4571('0x26')))['find'](_0x4ebd50=>_0x4ebd50[_0x4571('0x10')]==_0x5a6c49);let _0x589e49=_0x5a6c49,_0x4fed7d='';return _0x4c147a&&(_0x589e49=_0x4c147a[_0x4571('0x2b')],_0x4fed7d=_0x19fa92(_0x589e49)[_0x4571('0x4')]()),{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x3'),_0x4fed7d)[_0x4571('0x15')](),'color':{'value':_0x5a6c49,'title':_0x4fed7d||_0x589e49}};}return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x24'))};}}});}[_0x4571('0x22')](_0x1c660a){const _0xf10949=this[_0x4571('0xe')];_0xf10949[_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))['enableCommand'](_0x1c660a,(_0x37834e,_0x43420d={})=>{const _0x963c07=_0xf10949[_0x4571('0x10')][_0x4571('0x2')][_0x4571('0x17')],_0x3fa14b=_0x43420d[_0x4571('0xf')];_0x963c07[_0x4571('0x23')]?_0x37834e(_0x43420d):_0xf10949[_0x4571('0x10')]['change'](()=>{const _0x482d03=Array[_0x4571('0xa')](_0x963c07[_0x4571('0x1a')]());for(const _0x2e8aa9 of _0x482d03){const _0xd8cb7=_0x3fa14b?[_0x2e8aa9]:_0x42517d(_0x1c660a,_0x2e8aa9,_0xf10949[_0x4571('0x10')]);for(const _0x1625b2 of _0xd8cb7)_0xf10949[_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))[_0x4571('0x1d')](_0x1625b2,{'commandName':_0x1c660a,'commandParams':[{'value':_0x3fa14b}]});}});});}}
23
+ const _0x55d0=['*Set\x20font\x20family:*\x20%0','FontSize','TrackChangesEditing','editor','from','*Reset\x20font\x20color*','fontSize.options','fontBackgroundColor','config','get','locale','FontColorEditing','document','FontSizeEditing','label','FontFamilyEditing','*Set\x20font\x20color:*\x20%0','title','toLowerCase','model','_descriptionFactory','enableCommand','find','getRanges','afterInit','*Set\x20font\x20size:*\x20%0','fontSize','*Set\x20font\x20background\x20color:*\x20%0','registerDescriptionCallback','has','value','_enableCommand','commandParams','FontBackgroundColorEditing','selection','commandName','plugins','trim','isCollapsed','*Reset\x20font\x20background\x20color*','format','change','normalizeSizeOptions','fontColor','*Reset\x20font\x20size*'];(function(_0x46d5cb,_0x55d0cd){const _0xdeab7c=function(_0x1614aa){while(--_0x1614aa){_0x46d5cb['push'](_0x46d5cb['shift']());}};_0xdeab7c(++_0x55d0cd);}(_0x55d0,0x18d));const _0xdeab=function(_0x46d5cb,_0x55d0cd){_0x46d5cb=_0x46d5cb-0x0;let _0xdeab7c=_0x55d0[_0x46d5cb];return _0xdeab7c;};import{Plugin as _0x51dad6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x55d1b0}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x44a5d5}from'./utils';import{getTranslation as _0x3338aa}from'../utils/common-translations';const eo=[{'pluginName':_0xdeab('0x15'),'commandName':_0xdeab('0x22')},{'pluginName':_0xdeab('0x17'),'commandName':'fontFamily'},{'pluginName':_0xdeab('0x13'),'commandName':_0xdeab('0x6')},{'pluginName':_0xdeab('0x29'),'commandName':_0xdeab('0xf')}];export default class H extends _0x51dad6{[_0xdeab('0x20')](){const _0x36bf41=this[_0xdeab('0xb')][_0xdeab('0x12')];for(const {pluginName:_0x4756b8,commandName:_0x48f7a3}of eo)this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x25')](_0x4756b8)&&this[_0xdeab('0x27')](_0x48f7a3);this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x11')]('TrackChangesEditing')[_0xdeab('0x1c')][_0xdeab('0x24')](_0x5a8ff9=>{const _0x1d8665=_0x36bf41['t'],{data:_0x19c40d}=_0x5a8ff9;if(null!=_0x19c40d){if(_0xdeab('0x22')==_0x19c40d[_0xdeab('0x2b')]){const _0x38bd68=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];if(_0x38bd68){const _0x2141a0=_0x1d8665(this[_0xdeab('0xb')][_0xdeab('0x2c')][_0xdeab('0x11')](_0xdeab('0x9'))[_0xdeab('0x5')](this[_0xdeab('0xb')]['config'][_0xdeab('0x11')](_0xdeab('0xe')))[_0xdeab('0x1e')](_0xb40044=>_0xb40044[_0xdeab('0x1b')]==_0x38bd68)[_0xdeab('0x19')])['toLowerCase']();return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x21'),_0x2141a0)};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x7'))};}if('fontFamily'==_0x19c40d['commandName']){const _0x3ed726=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];return _0x3ed726?{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x8'),_0x3ed726)}:{'type':'format','content':_0x3338aa(_0x36bf41,'*Reset\x20font\x20family*')};}if(_0xdeab('0x6')==_0x19c40d[_0xdeab('0x2b')]){const _0x3d4430=_0x19c40d[_0xdeab('0x28')][0x0]['value'];if(_0x3d4430){const _0x6b9a96=_0x55d1b0(this[_0xdeab('0xb')][_0xdeab('0x10')][_0xdeab('0x11')]('fontColor.colors'))[_0xdeab('0x1e')](_0x1ad8c8=>_0x1ad8c8[_0xdeab('0x1b')]==_0x3d4430);let _0x280955=_0x3d4430,_0x5d8139='';return _0x6b9a96&&(_0x280955=_0x6b9a96[_0xdeab('0x16')],_0x5d8139=_0x1d8665(_0x280955)[_0xdeab('0x1a')]()),{'type':'format','content':_0x3338aa(_0x36bf41,_0xdeab('0x18'),_0x5d8139)[_0xdeab('0x0')](),'color':{'value':_0x3d4430,'title':_0x5d8139||_0x280955}};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0xd'))};}if(_0xdeab('0xf')==_0x19c40d[_0xdeab('0x2b')]){const _0xf17d06=_0x19c40d[_0xdeab('0x28')][0x0][_0xdeab('0x26')];if(_0xf17d06){const _0x46072e=_0x55d1b0(this['editor'][_0xdeab('0x10')][_0xdeab('0x11')]('fontBackgroundColor.colors'))[_0xdeab('0x1e')](_0xf4d65b=>_0xf4d65b[_0xdeab('0x1b')]==_0xf17d06);let _0x1b0a56=_0xf17d06,_0x23b95d='';return _0x46072e&&(_0x1b0a56=_0x46072e[_0xdeab('0x16')],_0x23b95d=_0x1d8665(_0x1b0a56)[_0xdeab('0x1a')]()),{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x23'),_0x23b95d)[_0xdeab('0x0')](),'color':{'value':_0xf17d06,'title':_0x23b95d||_0x1b0a56}};}return{'type':_0xdeab('0x3'),'content':_0x3338aa(_0x36bf41,_0xdeab('0x2'))};}}});}['_enableCommand'](_0x243987){const _0x2b2d50=this[_0xdeab('0xb')];_0x2b2d50['plugins'][_0xdeab('0x11')]('TrackChangesEditing')[_0xdeab('0x1d')](_0x243987,(_0x47f85c,_0x2ac7b1={})=>{const _0x2b9cdd=_0x2b2d50[_0xdeab('0x1b')][_0xdeab('0x14')][_0xdeab('0x2a')],_0x945859=_0x2ac7b1[_0xdeab('0x26')];_0x2b9cdd[_0xdeab('0x1')]?_0x47f85c(_0x2ac7b1):_0x2b2d50[_0xdeab('0x1b')][_0xdeab('0x4')](()=>{const _0x21d2be=Array[_0xdeab('0xc')](_0x2b9cdd[_0xdeab('0x1f')]());for(const _0xf954c1 of _0x21d2be){const _0xabe667=_0x945859?[_0xf954c1]:_0x44a5d5(_0x243987,_0xf954c1,_0x2b2d50['model']);for(const _0x2bcebd of _0xabe667)_0x2b2d50['plugins'][_0xdeab('0x11')](_0xdeab('0xa'))['markInlineFormat'](_0x2bcebd,{'commandName':_0x243987,'commandParams':[{'value':_0x945859}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3725=['forward','getSelectedBlocks','label','schema','fontBackgroundColor','isBlock','isFormatting','*Remove\x20all\x20formatting*','fontSize','FontSize','commands','markInlineFormat','change','split','TrackChangesEditing','fontSize.options','selection','getFirstPosition','join','model','get','entries','length','locale','fontColor.colors','title','commandName','getItems','boolean','getAttributes','registerDescriptionCallback','toLowerCase','pasteFormat','from','enableCommand','find','charAt','word','*Set\x20format\x20to:*\x20%0','backward','getRanges','getLastPosition','format','_descriptionFactory','config','plugins','modifySelection','commandParams'];(function(_0x42d79b,_0x3725b2){const _0xbbc40a=function(_0x51202a){while(--_0x51202a){_0x42d79b['push'](_0x42d79b['shift']());}};_0xbbc40a(++_0x3725b2);}(_0x3725,0x17d));const _0xbbc4=function(_0x42d79b,_0x3725b2){_0x42d79b=_0x42d79b-0x0;let _0xbbc40a=_0x3725[_0x42d79b];return _0xbbc40a;};import{Plugin as _0x3ca49e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x91891a}from'ckeditor5/src/ui';import{first as _0x38f749}from'ckeditor5/src/utils';import{getTranslation as _0x6b6cfa}from'../utils/common-translations';export default class W extends _0x3ca49e{['afterInit'](){const _0x3899bb=this['editor'],_0x32f4ee=_0x3899bb[_0xbbc4('0x16')],_0x1f5896=_0x32f4ee['document'][_0xbbc4('0x13')],_0x3f9da1=_0x3899bb[_0xbbc4('0x0')]['get'](_0xbbc4('0x11')),_0xaa562d=_0x3899bb['locale'],_0x394b86=_0x3899bb[_0xbbc4('0xd')]['get']('copyFormat'),_0x42ca9d=_0x3899bb[_0xbbc4('0xd')][_0xbbc4('0x17')](_0xbbc4('0x23'));_0x394b86&&_0x42ca9d&&(_0x3f9da1[_0xbbc4('0x25')](_0xbbc4('0x23'),(_0x4fed73,_0x4901d3={})=>{const _0x54ae0b=_0x4901d3;_0x32f4ee[_0xbbc4('0xf')](()=>{const _0xcb6b97=Array[_0xbbc4('0x24')](_0x1f5896[_0xbbc4('0x2b')]()),_0x208fe8=_0x1f5896['isCollapsed']?[co(_0x32f4ee,_0x1f5896)]:_0xcb6b97,_0x1995a8=!!_0x38f749(function*(_0x83a586,_0x25c3b9){const _0x57ea34=_0x4c4a9c=>!!_0x38f749(function*(_0x5a38ed,_0x18d9e6){for(const [_0x598a49]of _0x5a38ed[_0xbbc4('0x20')]()){const _0x378580=_0x18d9e6['getAttributeProperties'](_0x598a49);_0x378580&&_0x378580[_0xbbc4('0x9')]&&(yield _0x598a49);}}(_0x4c4a9c,_0x25c3b9));for(const _0x26fee7 of _0x83a586[_0xbbc4('0x2b')]())for(const _0x51c6bc of _0x26fee7[_0xbbc4('0x1e')]())!_0x25c3b9[_0xbbc4('0x8')](_0x51c6bc)&&_0x57ea34(_0x51c6bc)&&(yield _0x51c6bc);for(const _0x2d7cbb of _0x83a586[_0xbbc4('0x4')]())_0x57ea34(_0x2d7cbb)&&(yield _0x2d7cbb);_0x57ea34(_0x83a586)&&(yield _0x83a586);}(_0x1f5896,_0x32f4ee[_0xbbc4('0x6')]));if(_0x1995a8||0x0!==Object['keys'](_0x54ae0b)[_0xbbc4('0x19')])for(const _0x19680e of _0x208fe8)_0x3f9da1[_0xbbc4('0xe')](_0x19680e,{'commandName':_0xbbc4('0x23'),'commandParams':[_0x54ae0b]});});}),_0x3f9da1[_0xbbc4('0x2e')][_0xbbc4('0x21')](_0x2fea2b=>{const {data:_0x23dbf7}=_0x2fea2b;if(_0x23dbf7&&_0xbbc4('0x23')===_0x23dbf7[_0xbbc4('0x1d')]){const _0x58b429=[],_0x2ab7fb=_0x23dbf7[_0xbbc4('0x2')][0x0];for(const [_0x25be8a,_0x586bdc]of Object[_0xbbc4('0x18')](_0x2ab7fb))_0x58b429['push'](io(_0x3899bb,_0x25be8a,_0x586bdc));return _0x58b429[_0xbbc4('0x19')]?{'type':_0xbbc4('0x2d'),'content':_0x6b6cfa(_0xaa562d,_0xbbc4('0x29'),_0x58b429[_0xbbc4('0x15')](',\x20'))}:{'type':_0xbbc4('0x2d'),'content':_0x6b6cfa(_0xaa562d,_0xbbc4('0xa'))};}}),_0x3899bb[_0xbbc4('0x0')][_0xbbc4('0x17')](_0xbbc4('0x11'))[_0xbbc4('0x25')]('copyFormat'));}}function co(_0x3e449e,_0x57bb69){const _0x18dfb6=_0x3e449e['createSelection'](_0x57bb69);_0x3e449e['modifySelection'](_0x18dfb6,{'unit':'word','direction':_0xbbc4('0x2a')});const _0x5af1b6=_0x18dfb6[_0xbbc4('0x14')]();_0x3e449e[_0xbbc4('0x1')](_0x18dfb6,{'unit':_0xbbc4('0x28'),'direction':_0xbbc4('0x3')});const _0x5d8b55=_0x18dfb6[_0xbbc4('0x2c')]();return _0x3e449e['createRange'](_0x5af1b6,_0x5d8b55);}function io(_0x81bc6f,_0x39530d,_0x2ad7d8){const _0x3a3f8a=_0x81bc6f[_0xbbc4('0x1a')]['t'],_0x508b12=_0x39530d[_0xbbc4('0x10')](/(?=[A-Z])/)['join']('\x20'),_0xaf6d98=_0x3a3f8a(_0x508b12[_0xbbc4('0x27')](0x0)['toUpperCase']()+_0x508b12['slice'](0x1))[_0xbbc4('0x22')]();if(_0xbbc4('0x1f')==typeof _0x2ad7d8)return _0xaf6d98;if('fontColor'===_0x39530d||_0xbbc4('0x7')===_0x39530d){const _0x56984c=_0x91891a(_0x81bc6f[_0xbbc4('0x2f')][_0xbbc4('0x17')](_0xbbc4('0x1b')))[_0xbbc4('0x26')](_0x333276=>_0x333276[_0xbbc4('0x16')]==_0x2ad7d8);return _0xaf6d98+'\x20('+(_0x56984c?_0x3a3f8a(_0x56984c[_0xbbc4('0x5')])[_0xbbc4('0x22')]():_0x2ad7d8)+')';}if(_0xbbc4('0xb')===_0x39530d&&isNaN(parseFloat(_0x2ad7d8))){const _0x74890e=_0x81bc6f['plugins'][_0xbbc4('0x17')](_0xbbc4('0xc'))['normalizeSizeOptions'](_0x81bc6f['config'][_0xbbc4('0x17')](_0xbbc4('0x12')))[_0xbbc4('0x26')](_0x26154b=>_0x26154b['model']==_0x2ad7d8);return _0xaf6d98+'\x20('+(_0x74890e?_0x3a3f8a(_0x74890e[_0xbbc4('0x1c')])[_0xbbc4('0x22')]():_0x2ad7d8)+')';}return _0xaf6d98+'\x20('+_0x2ad7d8+')';}
23
+ const _0x48c7=['push','isCollapsed','commandParams','TrackChangesEditing','fontSize.options','markInlineFormat','keys','config','fontSize','_descriptionFactory','model','fontBackgroundColor','toLowerCase','editor','*Set\x20format\x20to:*\x20%0','backward','getFirstPosition','find','commands','getRanges','document','locale','format','copyFormat','forward','boolean','isBlock','modifySelection','change','word','normalizeSizeOptions','createSelection','*Remove\x20all\x20formatting*','fontColor.colors','afterInit','pasteFormat','registerDescriptionCallback','entries','createRange','get','enableCommand','getLastPosition','slice','getAttributes','toUpperCase','label','title','join','charAt','getItems','plugins'];(function(_0x339a80,_0x48c766){const _0x23a094=function(_0x5351d0){while(--_0x5351d0){_0x339a80['push'](_0x339a80['shift']());}};_0x23a094(++_0x48c766);}(_0x48c7,0x13c));const _0x23a0=function(_0x339a80,_0x48c766){_0x339a80=_0x339a80-0x0;let _0x23a094=_0x48c7[_0x339a80];return _0x23a094;};import{Plugin as _0xf789fb}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5c8ca3}from'ckeditor5/src/ui';import{first as _0x3e4f80}from'ckeditor5/src/utils';import{getTranslation as _0x231acc}from'../utils/common-translations';export default class W extends _0xf789fb{[_0x23a0('0x18')](){const _0x23f42b=this[_0x23a0('0x3')],_0x96613f=_0x23f42b[_0x23a0('0x0')],_0x95ffd2=_0x96613f[_0x23a0('0xa')]['selection'],_0x4b92c9=_0x23f42b[_0x23a0('0x28')]['get'](_0x23a0('0x2c')),_0x2581b9=_0x23f42b[_0x23a0('0xb')],_0x10d29f=_0x23f42b[_0x23a0('0x8')][_0x23a0('0x1d')](_0x23a0('0xd')),_0x2263d4=_0x23f42b['commands'][_0x23a0('0x1d')]('pasteFormat');_0x10d29f&&_0x2263d4&&(_0x4b92c9[_0x23a0('0x1e')](_0x23a0('0x19'),(_0x2fd8bd,_0x4e41f5={})=>{const _0xc7b7e4=_0x4e41f5;_0x96613f[_0x23a0('0x12')](()=>{const _0x5557ef=Array['from'](_0x95ffd2[_0x23a0('0x9')]()),_0x1e7100=_0x95ffd2[_0x23a0('0x2a')]?[co(_0x96613f,_0x95ffd2)]:_0x5557ef,_0x27433d=!!_0x3e4f80(function*(_0x2dc173,_0x45e3f9){const _0x40eb39=_0x940ba4=>!!_0x3e4f80(function*(_0x53152c,_0xd55e5){for(const [_0x4b06b8]of _0x53152c[_0x23a0('0x21')]()){const _0x23c8cf=_0xd55e5['getAttributeProperties'](_0x4b06b8);_0x23c8cf&&_0x23c8cf['isFormatting']&&(yield _0x4b06b8);}}(_0x940ba4,_0x45e3f9));for(const _0x148ff5 of _0x2dc173[_0x23a0('0x9')]())for(const _0x33528f of _0x148ff5[_0x23a0('0x27')]())!_0x45e3f9[_0x23a0('0x10')](_0x33528f)&&_0x40eb39(_0x33528f)&&(yield _0x33528f);for(const _0x335b8e of _0x2dc173['getSelectedBlocks']())_0x40eb39(_0x335b8e)&&(yield _0x335b8e);_0x40eb39(_0x2dc173)&&(yield _0x2dc173);}(_0x95ffd2,_0x96613f['schema']));if(_0x27433d||0x0!==Object[_0x23a0('0x2f')](_0xc7b7e4)['length'])for(const _0x42135e of _0x1e7100)_0x4b92c9[_0x23a0('0x2e')](_0x42135e,{'commandName':_0x23a0('0x19'),'commandParams':[_0xc7b7e4]});});}),_0x4b92c9[_0x23a0('0x32')][_0x23a0('0x1a')](_0x2513b8=>{const {data:_0x42d941}=_0x2513b8;if(_0x42d941&&_0x23a0('0x19')===_0x42d941['commandName']){const _0xb9be0d=[],_0x4f3186=_0x42d941[_0x23a0('0x2b')][0x0];for(const [_0x23424d,_0x4b762d]of Object[_0x23a0('0x1b')](_0x4f3186))_0xb9be0d[_0x23a0('0x29')](io(_0x23f42b,_0x23424d,_0x4b762d));return _0xb9be0d['length']?{'type':_0x23a0('0xc'),'content':_0x231acc(_0x2581b9,_0x23a0('0x4'),_0xb9be0d[_0x23a0('0x25')](',\x20'))}:{'type':_0x23a0('0xc'),'content':_0x231acc(_0x2581b9,_0x23a0('0x16'))};}}),_0x23f42b['plugins']['get']('TrackChangesEditing')['enableCommand']('copyFormat'));}}function co(_0x384074,_0x441e2e){const _0x3b715c=_0x384074[_0x23a0('0x15')](_0x441e2e);_0x384074['modifySelection'](_0x3b715c,{'unit':_0x23a0('0x13'),'direction':_0x23a0('0x5')});const _0x578f77=_0x3b715c[_0x23a0('0x6')]();_0x384074[_0x23a0('0x11')](_0x3b715c,{'unit':_0x23a0('0x13'),'direction':_0x23a0('0xe')});const _0x486a60=_0x3b715c[_0x23a0('0x1f')]();return _0x384074[_0x23a0('0x1c')](_0x578f77,_0x486a60);}function io(_0x5f5429,_0x61af4b,_0x549cbd){const _0x17f5ac=_0x5f5429[_0x23a0('0xb')]['t'],_0x1f3f1f=_0x61af4b['split'](/(?=[A-Z])/)[_0x23a0('0x25')]('\x20'),_0x5cc0a4=_0x17f5ac(_0x1f3f1f[_0x23a0('0x26')](0x0)[_0x23a0('0x22')]()+_0x1f3f1f[_0x23a0('0x20')](0x1))[_0x23a0('0x2')]();if(_0x23a0('0xf')==typeof _0x549cbd)return _0x5cc0a4;if('fontColor'===_0x61af4b||_0x23a0('0x1')===_0x61af4b){const _0x401a75=_0x5c8ca3(_0x5f5429[_0x23a0('0x30')][_0x23a0('0x1d')](_0x23a0('0x17')))[_0x23a0('0x7')](_0x52cc10=>_0x52cc10[_0x23a0('0x0')]==_0x549cbd);return _0x5cc0a4+'\x20('+(_0x401a75?_0x17f5ac(_0x401a75[_0x23a0('0x23')])['toLowerCase']():_0x549cbd)+')';}if(_0x23a0('0x31')===_0x61af4b&&isNaN(parseFloat(_0x549cbd))){const _0x31e404=_0x5f5429[_0x23a0('0x28')][_0x23a0('0x1d')]('FontSize')[_0x23a0('0x14')](_0x5f5429[_0x23a0('0x30')][_0x23a0('0x1d')](_0x23a0('0x2d')))[_0x23a0('0x7')](_0x3e03dd=>_0x3e03dd['model']==_0x549cbd);return _0x5cc0a4+'\x20('+(_0x31e404?_0x17f5ac(_0x31e404[_0x23a0('0x24')])[_0x23a0('0x2')]():_0x549cbd)+')';}return _0x5cc0a4+'\x20('+_0x549cbd+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2345=['markBlockFormat','config','value','*Change\x20to:*\x20%0','ELEMENT_HEADING_CUSTOM','has','blockName','TrackChangesEditing','isObject','document','match','registerElementLabel','model','selection','from','schema','_descriptionFactory','HeadingEditing','name','format','plugins','title','find','heading','enableCommand','parent','commandName','locale','ELEMENT_HEADING','editor','get','getSelectedBlocks','formatBlock','paragraph'];(function(_0xdfe665,_0x2345ac){const _0x4f0296=function(_0x294dd2){while(--_0x294dd2){_0xdfe665['push'](_0xdfe665['shift']());}};_0x4f0296(++_0x2345ac);}(_0x2345,0x9e));const _0x4f02=function(_0xdfe665,_0x2345ac){_0xdfe665=_0xdfe665-0x0;let _0x4f0296=_0x2345[_0xdfe665];return _0x4f0296;};import{Plugin as _0x478563}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x264e17}from'./utils';import{getTranslation as _0x1e2806}from'../utils/common-translations';export default class J extends _0x478563{['afterInit'](){const _0x29f3ec=this[_0x4f02('0x7')],_0x141b49=_0x29f3ec[_0x4f02('0x5')],_0x220c6e=_0x29f3ec[_0x4f02('0xd')][_0x4f02('0x8')]('heading.options');if(!_0x29f3ec[_0x4f02('0x20')][_0x4f02('0x11')](_0x4f02('0x1d')))return;const _0x46e618=_0x29f3ec[_0x4f02('0x20')][_0x4f02('0x8')](_0x4f02('0x13'));_0x46e618[_0x4f02('0x2')](_0x4f02('0x1'),(_0x20f278,_0x31d51e)=>{const _0x7556d4=_0x31d51e[_0x4f02('0xe')],_0x2d05d9=Array[_0x4f02('0x1a')](this[_0x4f02('0x7')]['model'][_0x4f02('0x15')][_0x4f02('0x19')][_0x4f02('0x9')]())['filter'](_0x3c5762=>function(_0x1c233d,_0x4f2ca0,_0x33d19d){return _0x33d19d['checkChild'](_0x1c233d[_0x4f02('0x3')],_0x4f2ca0)&&!_0x33d19d[_0x4f02('0x14')](_0x1c233d)&&_0x1c233d[_0x4f02('0x1e')]!=_0x4f2ca0;}(_0x3c5762,_0x7556d4,this[_0x4f02('0x7')][_0x4f02('0x18')][_0x4f02('0x1b')]));_0x29f3ec['model']['change'](()=>{for(const _0x26db39 of _0x2d05d9)_0x46e618[_0x4f02('0xc')](_0x26db39,{'commandName':_0x4f02('0x1'),'commandParams':[_0x31d51e],'formatGroupId':_0x4f02('0x12')},_0x264e17(_0x26db39));});});for(const _0x59d5c4 of _0x220c6e)_0x4f02('0xb')!=_0x59d5c4[_0x4f02('0x18')]&&_0x46e618[_0x4f02('0x1c')][_0x4f02('0x17')](_0x59d5c4[_0x4f02('0x18')],_0xdb0cb6=>{const _0x5df228=nn(_0x59d5c4[_0x4f02('0x18')]);return null!==_0x5df228?_0x306742(_0xdb0cb6,_0x5df228):_0x3e239f(_0xdb0cb6,_0x59d5c4[_0x4f02('0x21')]);});function _0x306742(_0x5d6cc8,_0x21f7e6){return _0x1e2806(_0x141b49,_0x4f02('0x6'),[_0x5d6cc8,_0x21f7e6]);}function _0x3e239f(_0x33f5ff,_0x1ee60a){return _0x1e2806(_0x141b49,_0x4f02('0x10'),[_0x33f5ff,_0x1ee60a]);}_0x46e618[_0x4f02('0x1c')]['registerDescriptionCallback'](_0x43370a=>{const {type:_0x3f7f12,data:_0x230893}=_0x43370a;if(_0x4f02('0xa')==_0x3f7f12&&_0x230893&&_0x4f02('0x1')==_0x230893[_0x4f02('0x4')]){const _0x462ad2=_0x230893['commandParams'][0x0][_0x4f02('0xe')],_0x4586a8=nn(_0x462ad2);if(null!==_0x4586a8)return{'type':_0x4f02('0x1f'),'content':_0x1e2806(_0x141b49,_0x4f02('0xf'),_0x306742(0x1,_0x4586a8))};const _0x4e313a=_0x220c6e[_0x4f02('0x0')](_0x3093a1=>_0x3093a1[_0x4f02('0x18')]===_0x462ad2)['title'];return{'type':'format','content':_0x1e2806(_0x141b49,_0x4f02('0xf'),_0x3e239f(0x1,_0x4e313a))};}});}}function nn(_0x28b529){const _0x19dc47=_0x28b529[_0x4f02('0x16')](/^heading(\d+)$/);return _0x19dc47?_0x19dc47[0x1]:null;}
23
+ const _0x2f9f=['plugins','ELEMENT_HEADING','markBlockFormat','format','match','from','document','isObject','afterInit','registerElementLabel','change','config','checkChild','getSelectedBlocks','title','model','HeadingEditing','commandName','selection','schema','blockName','formatBlock','commandParams','get','heading.options','heading','registerDescriptionCallback','value','*Change\x20to:*\x20%0','locale','_descriptionFactory','editor'];(function(_0xdf08de,_0x2f9fc8){const _0x58c127=function(_0x5760fe){while(--_0x5760fe){_0xdf08de['push'](_0xdf08de['shift']());}};_0x58c127(++_0x2f9fc8);}(_0x2f9f,0x9e));const _0x58c1=function(_0xdf08de,_0x2f9fc8){_0xdf08de=_0xdf08de-0x0;let _0x58c127=_0x2f9f[_0xdf08de];return _0x58c127;};import{Plugin as _0x4051bc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x388478}from'./utils';import{getTranslation as _0x423f7e}from'../utils/common-translations';export default class J extends _0x4051bc{[_0x58c1('0xa')](){const _0x24309d=this[_0x58c1('0x1')],_0x79be67=_0x24309d[_0x58c1('0x1f')],_0x51d449=_0x24309d[_0x58c1('0xd')][_0x58c1('0x19')](_0x58c1('0x1a'));if(!_0x24309d[_0x58c1('0x2')]['has'](_0x58c1('0x12')))return;const _0x4c17a1=_0x24309d['plugins']['get']('TrackChangesEditing');_0x4c17a1['enableCommand'](_0x58c1('0x1b'),(_0x305aa2,_0x314dbc)=>{const _0x4d46cf=_0x314dbc[_0x58c1('0x1d')],_0x5796ed=Array[_0x58c1('0x7')](this['editor'][_0x58c1('0x11')][_0x58c1('0x8')][_0x58c1('0x14')][_0x58c1('0xf')]())['filter'](_0x412694=>function(_0x1235c2,_0x3f36de,_0x4721e4){return _0x4721e4[_0x58c1('0xe')](_0x1235c2['parent'],_0x3f36de)&&!_0x4721e4[_0x58c1('0x9')](_0x1235c2)&&_0x1235c2['name']!=_0x3f36de;}(_0x412694,_0x4d46cf,this[_0x58c1('0x1')][_0x58c1('0x11')][_0x58c1('0x15')]));_0x24309d[_0x58c1('0x11')][_0x58c1('0xc')](()=>{for(const _0xa1aede of _0x5796ed)_0x4c17a1[_0x58c1('0x4')](_0xa1aede,{'commandName':'heading','commandParams':[_0x314dbc],'formatGroupId':_0x58c1('0x16')},_0x388478(_0xa1aede));});});for(const _0x47f25f of _0x51d449)'paragraph'!=_0x47f25f[_0x58c1('0x11')]&&_0x4c17a1[_0x58c1('0x0')][_0x58c1('0xb')](_0x47f25f[_0x58c1('0x11')],_0x43147c=>{const _0x55237d=nn(_0x47f25f[_0x58c1('0x11')]);return null!==_0x55237d?_0x227aa3(_0x43147c,_0x55237d):_0x51b579(_0x43147c,_0x47f25f[_0x58c1('0x10')]);});function _0x227aa3(_0x5942ff,_0x10687c){return _0x423f7e(_0x79be67,_0x58c1('0x3'),[_0x5942ff,_0x10687c]);}function _0x51b579(_0x7d7b9,_0x3a76cd){return _0x423f7e(_0x79be67,'ELEMENT_HEADING_CUSTOM',[_0x7d7b9,_0x3a76cd]);}_0x4c17a1[_0x58c1('0x0')][_0x58c1('0x1c')](_0x49130b=>{const {type:_0x43611c,data:_0x4f0625}=_0x49130b;if(_0x58c1('0x17')==_0x43611c&&_0x4f0625&&'heading'==_0x4f0625[_0x58c1('0x13')]){const _0x6200d8=_0x4f0625[_0x58c1('0x18')][0x0][_0x58c1('0x1d')],_0x31dfa3=nn(_0x6200d8);if(null!==_0x31dfa3)return{'type':_0x58c1('0x5'),'content':_0x423f7e(_0x79be67,_0x58c1('0x1e'),_0x227aa3(0x1,_0x31dfa3))};const _0x119308=_0x51d449['find'](_0x382aad=>_0x382aad['model']===_0x6200d8)[_0x58c1('0x10')];return{'type':_0x58c1('0x5'),'content':_0x423f7e(_0x79be67,'*Change\x20to:*\x20%0',_0x51b579(0x1,_0x119308))};}});}}function nn(_0x19c903){const _0x496ca2=_0x19c903[_0x58c1('0x6')](/^heading(\d+)$/);return _0x496ca2?_0x496ca2[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c60=['get','getLastMatchingPosition','push','HighlightEditing','value','title','formatInline','hasAttribute','model','config','getRanges','createRange','afterInit','plugins','item','_descriptionFactory','FORMAT_HIGHLIGHT','format','markInlineFormat','getAttribute','change','editor','document','getFirstPosition','highlight.options','*Set\x20highlight:*\x20%0','color','find','*Remove\x20highlight*','highlight','backward','TrackChangesEditing','enableCommand','toLowerCase'];(function(_0x39ffc8,_0x3c6001){const _0x36c37e=function(_0x428014){while(--_0x428014){_0x39ffc8['push'](_0x39ffc8['shift']());}};_0x36c37e(++_0x3c6001);}(_0x3c60,0x157));const _0x36c3=function(_0x39ffc8,_0x3c6001){_0x39ffc8=_0x39ffc8-0x0;let _0x36c37e=_0x3c60[_0x39ffc8];return _0x36c37e;};import{Plugin as _0x408ddc}from'ckeditor5/src/core';import{getTranslation as _0x3a3559}from'../utils/common-translations';import{getRangesWithAttribute as _0x98a158}from'./utils';export default class K extends _0x408ddc{[_0x36c3('0x9')](){const _0x4f459c=this[_0x36c3('0x12')];if(!_0x4f459c[_0x36c3('0xa')]['has'](_0x36c3('0x0')))return;const _0x351e95=_0x4f459c[_0x36c3('0xa')][_0x36c3('0x1f')](_0x36c3('0x1c'));_0x351e95[_0x36c3('0x1d')]('highlight',(_0x2eca17,_0x16e957={})=>{const _0x3f0c4a=_0x4f459c[_0x36c3('0x5')][_0x36c3('0x13')]['selection'],_0x50ddf9=_0x3f0c4a[_0x36c3('0x10')](_0x36c3('0x1a'));let _0x5e7415=_0x16e957[_0x36c3('0x1')],_0x4630c9=[];if(_0x3f0c4a['isCollapsed']){const _0x38307e=_0x3f0c4a[_0x36c3('0x14')]();if(!_0x3f0c4a[_0x36c3('0x4')]('highlight'))return void _0x2eca17(_0x16e957);{const _0x3af205=_0x1232eb=>_0x1232eb[_0x36c3('0xb')][_0x36c3('0x10')]('highlight')===_0x50ddf9,_0xf3ace1=_0x38307e['getLastMatchingPosition'](_0x3af205,{'direction':_0x36c3('0x1b')}),_0x25c0a8=_0x38307e[_0x36c3('0x20')](_0x3af205);_0x4630c9=[_0x4f459c[_0x36c3('0x5')][_0x36c3('0x8')](_0xf3ace1,_0x25c0a8)],_0x5e7415==_0x50ddf9&&(_0x5e7415=null);}}else for(const _0x3e0f3b of _0x3f0c4a[_0x36c3('0x7')]())_0x5e7415?_0x4630c9[_0x36c3('0x21')](_0x3e0f3b):_0x4630c9[_0x36c3('0x21')](..._0x98a158(_0x36c3('0x1a'),_0x3e0f3b,_0x4f459c[_0x36c3('0x5')]));_0x4f459c[_0x36c3('0x5')][_0x36c3('0x11')](()=>{for(const _0x20ed5f of _0x4630c9)_0x351e95[_0x36c3('0xf')](_0x20ed5f,{'commandName':_0x36c3('0x1a'),'commandParams':[{'value':_0x5e7415}]});});});const _0x1e8238=_0x4f459c['locale'];_0x351e95[_0x36c3('0xc')]['registerDescriptionCallback'](_0x1d045d=>{const {type:_0x52e496,data:_0x5b2964}=_0x1d045d;if(_0x36c3('0x3')==_0x52e496&&_0x5b2964&&_0x36c3('0x1a')==_0x5b2964['commandName']){const _0x20e2ef=_0x1e8238['t'],_0x1c4f3c=_0x5b2964['commandParams'][0x0][_0x36c3('0x1')];if(_0x1c4f3c){const _0x48af96=_0x4f459c[_0x36c3('0x6')][_0x36c3('0x1f')](_0x36c3('0x15'))[_0x36c3('0x18')](_0x8c4e53=>_0x8c4e53[_0x36c3('0x5')]==_0x1c4f3c),_0x48308e=_0x20e2ef(_0x48af96[_0x36c3('0x2')])[_0x36c3('0x1e')]();return{'type':_0x36c3('0xe'),'content':_0x3a3559(_0x1e8238,_0x36c3('0x16'),_0x48308e),'color':{'value':_0x48af96[_0x36c3('0x17')],'title':_0x48af96[_0x36c3('0x2')]}};}return{'type':_0x36c3('0xe'),'content':_0x3a3559(_0x1e8238,_0x36c3('0x19'),_0x3a3559(_0x1e8238,_0x36c3('0xd')))};}});}}
23
+ const _0x412a=['value','getRanges','getAttribute','createRange','change','commandParams','plugins','getFirstPosition','item','config','isCollapsed','model','document','find','format','commandName','HighlightEditing','push','get','TrackChangesEditing','markInlineFormat','hasAttribute','enableCommand','has','highlight.options','editor','highlight','toLowerCase','registerDescriptionCallback','color'];(function(_0x4dc317,_0x412abe){const _0x524eac=function(_0x3a21ae){while(--_0x3a21ae){_0x4dc317['push'](_0x4dc317['shift']());}};_0x524eac(++_0x412abe);}(_0x412a,0x1aa));const _0x524e=function(_0x4dc317,_0x412abe){_0x4dc317=_0x4dc317-0x0;let _0x524eac=_0x412a[_0x4dc317];return _0x524eac;};import{Plugin as _0xd311c4}from'ckeditor5/src/core';import{getTranslation as _0x545eaa}from'../utils/common-translations';import{getRangesWithAttribute as _0x37193b}from'./utils';export default class K extends _0xd311c4{['afterInit'](){const _0x299f32=this[_0x524e('0x13')];if(!_0x299f32[_0x524e('0x0')][_0x524e('0x11')](_0x524e('0xa')))return;const _0x39526f=_0x299f32[_0x524e('0x0')][_0x524e('0xc')](_0x524e('0xd'));_0x39526f[_0x524e('0x10')]('highlight',(_0x353d7c,_0xce53be={})=>{const _0x3f9e70=_0x299f32[_0x524e('0x5')][_0x524e('0x6')]['selection'],_0x137049=_0x3f9e70[_0x524e('0x1a')](_0x524e('0x14'));let _0x346937=_0xce53be[_0x524e('0x18')],_0x56b1f8=[];if(_0x3f9e70[_0x524e('0x4')]){const _0x2180c6=_0x3f9e70[_0x524e('0x1')]();if(!_0x3f9e70[_0x524e('0xf')](_0x524e('0x14')))return void _0x353d7c(_0xce53be);{const _0x1876ba=_0x2d0746=>_0x2d0746[_0x524e('0x2')][_0x524e('0x1a')](_0x524e('0x14'))===_0x137049,_0x37ce60=_0x2180c6['getLastMatchingPosition'](_0x1876ba,{'direction':'backward'}),_0x69efd0=_0x2180c6['getLastMatchingPosition'](_0x1876ba);_0x56b1f8=[_0x299f32['model'][_0x524e('0x1b')](_0x37ce60,_0x69efd0)],_0x346937==_0x137049&&(_0x346937=null);}}else for(const _0x2f3763 of _0x3f9e70[_0x524e('0x19')]())_0x346937?_0x56b1f8[_0x524e('0xb')](_0x2f3763):_0x56b1f8[_0x524e('0xb')](..._0x37193b(_0x524e('0x14'),_0x2f3763,_0x299f32[_0x524e('0x5')]));_0x299f32[_0x524e('0x5')][_0x524e('0x1c')](()=>{for(const _0x2436db of _0x56b1f8)_0x39526f[_0x524e('0xe')](_0x2436db,{'commandName':_0x524e('0x14'),'commandParams':[{'value':_0x346937}]});});});const _0x17cb6d=_0x299f32['locale'];_0x39526f['_descriptionFactory'][_0x524e('0x16')](_0x5e9b93=>{const {type:_0x3065c0,data:_0x1fe761}=_0x5e9b93;if('formatInline'==_0x3065c0&&_0x1fe761&&_0x524e('0x14')==_0x1fe761[_0x524e('0x9')]){const _0x5347f0=_0x17cb6d['t'],_0x4b5adc=_0x1fe761[_0x524e('0x1d')][0x0][_0x524e('0x18')];if(_0x4b5adc){const _0x2a04a9=_0x299f32[_0x524e('0x3')][_0x524e('0xc')](_0x524e('0x12'))[_0x524e('0x7')](_0x40c00f=>_0x40c00f[_0x524e('0x5')]==_0x4b5adc),_0x189259=_0x5347f0(_0x2a04a9['title'])[_0x524e('0x15')]();return{'type':'format','content':_0x545eaa(_0x17cb6d,'*Set\x20highlight:*\x20%0',_0x189259),'color':{'value':_0x2a04a9[_0x524e('0x17')],'title':_0x2a04a9['title']}};}return{'type':_0x524e('0x8'),'content':_0x545eaa(_0x17cb6d,'*Remove\x20highlight*',_0x545eaa(_0x17cb6d,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d18=['createContainerElement','editor','createPositionAt','has','HorizontalLineEditing','dataDowncast','addClass','insert','plugins','afterInit','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','showSuggestionHighlights','horizontalLine','enableCommand','registerElementLabel','elementToStructure','get','high'];(function(_0x666e4,_0x1d1822){const _0x5ce0e1=function(_0x25d774){while(--_0x25d774){_0x666e4['push'](_0x666e4['shift']());}};_0x5ce0e1(++_0x1d1822);}(_0x1d18,0x65));const _0x5ce0=function(_0x666e4,_0x1d1822){_0x666e4=_0x666e4-0x0;let _0x5ce0e1=_0x1d18[_0x666e4];return _0x5ce0e1;};import{Plugin as _0x429362}from'ckeditor5/src/core';import{getTranslation as _0x5060a8}from'../utils/common-translations';export default class Q extends _0x429362{[_0x5ce0('0x3')](){const _0x1aae66=this[_0x5ce0('0xe')];if(!_0x1aae66[_0x5ce0('0x2')][_0x5ce0('0x10')](_0x5ce0('0x11')))return;_0x1aae66['plugins'][_0x5ce0('0xb')](_0x5ce0('0x5'))[_0x5ce0('0x8')](_0x5ce0('0x7'));const _0x5aa1b3=_0x1aae66[_0x5ce0('0x2')][_0x5ce0('0xb')](_0x5ce0('0x5')),_0x14f237=_0x1aae66['locale'];_0x5aa1b3['_descriptionFactory'][_0x5ce0('0x9')](_0x5ce0('0x7'),_0x39bd22=>_0x5060a8(_0x14f237,_0x5ce0('0x4'),_0x39bd22)),_0x1aae66['conversion']['for'](_0x5ce0('0x12'))[_0x5ce0('0xa')]({'model':'horizontalLine','view':(_0x312e06,{writer:_0x9bfd7d,options:_0x34d959})=>{if(!_0x34d959[_0x5ce0('0x6')])return null;const _0x38596e=_0x9bfd7d[_0x5ce0('0xd')]('div'),_0x285c79=_0x9bfd7d['createEmptyElement']('hr');return _0x9bfd7d[_0x5ce0('0x0')]('ck-horizontal-line',_0x38596e),_0x9bfd7d[_0x5ce0('0x1')](_0x9bfd7d[_0x5ce0('0xf')](_0x38596e,0x0),_0x285c79),_0x38596e;},'converterPriority':_0x5ce0('0xc')});}}
23
+ const _0x570b=['TrackChangesEditing','div','horizontalLine','locale','createContainerElement','editor','has','showSuggestionHighlights','createEmptyElement','afterInit','ck-horizontal-line','addClass','_descriptionFactory','for','plugins','HorizontalLineEditing','insert'];(function(_0x51bdc1,_0x570b94){const _0x108d56=function(_0x326b8a){while(--_0x326b8a){_0x51bdc1['push'](_0x51bdc1['shift']());}};_0x108d56(++_0x570b94);}(_0x570b,0x1bb));const _0x108d=function(_0x51bdc1,_0x570b94){_0x51bdc1=_0x51bdc1-0x0;let _0x108d56=_0x570b[_0x51bdc1];return _0x108d56;};import{Plugin as _0x10d14f}from'ckeditor5/src/core';import{getTranslation as _0xfd22c8}from'../utils/common-translations';export default class Q extends _0x10d14f{[_0x108d('0x8')](){const _0x3f68e0=this[_0x108d('0x4')];if(!_0x3f68e0[_0x108d('0xd')][_0x108d('0x5')](_0x108d('0xe')))return;_0x3f68e0[_0x108d('0xd')]['get'](_0x108d('0x10'))['enableCommand']('horizontalLine');const _0x3e8b03=_0x3f68e0[_0x108d('0xd')]['get'](_0x108d('0x10')),_0x932062=_0x3f68e0[_0x108d('0x2')];_0x3e8b03[_0x108d('0xb')]['registerElementLabel']('horizontalLine',_0x56d149=>_0xfd22c8(_0x932062,'ELEMENT_HORIZONTAL_LINE',_0x56d149)),_0x3f68e0['conversion'][_0x108d('0xc')]('dataDowncast')['elementToStructure']({'model':_0x108d('0x1'),'view':(_0x3d0311,{writer:_0x86352c,options:_0x688fb3})=>{if(!_0x688fb3[_0x108d('0x6')])return null;const _0x419c9b=_0x86352c[_0x108d('0x3')](_0x108d('0x0')),_0x5aec5b=_0x86352c[_0x108d('0x7')]('hr');return _0x86352c[_0x108d('0xa')](_0x108d('0x9'),_0x419c9b),_0x86352c[_0x108d('0xf')](_0x86352c['createPositionAt'](_0x419c9b,0x0),_0x5aec5b),_0x419c9b;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21b4=['ELEMENT_HTML_EMBED','_descriptionFactory','TrackChangesEditing','commandName','view','markBlockFormat','selection','getCustomProperty','get','rawHtmlApi','model','element','HtmlEmbed','getSelectedElement','editing','htmlEmbed','document','editor','*Change\x20%0\x20content*','locale','registerElementLabel','change','format','plugins','value','rawHtml'];(function(_0x188122,_0x21b49a){const _0x59dee2=function(_0x3203bf){while(--_0x3203bf){_0x188122['push'](_0x188122['shift']());}};_0x59dee2(++_0x21b49a);}(_0x21b4,0xcb));const _0x59de=function(_0x188122,_0x21b49a){_0x188122=_0x188122-0x0;let _0x59dee2=_0x21b4[_0x188122];return _0x59dee2;};import{Plugin as _0x235bae}from'ckeditor5/src/core';import{getTranslation as _0x1adc5b}from'../utils/common-translations';export default class V extends _0x235bae{['afterInit'](){const _0x5b605a=this[_0x59de('0x16')];if(!_0x5b605a[_0x59de('0x2')]['has'](_0x59de('0x11')))return;const _0x334398=_0x5b605a[_0x59de('0x2')][_0x59de('0xd')](_0x59de('0x7')),_0x5529bd=_0x5b605a[_0x59de('0x18')],_0x499bf3=_0x5b605a[_0x59de('0x13')][_0x59de('0x9')]['document'][_0x59de('0xb')];_0x334398[_0x59de('0x6')][_0x59de('0x19')](_0x59de('0x4'),_0x5d7169=>_0x1adc5b(_0x5529bd,_0x59de('0x5'),_0x5d7169)),_0x5b605a[_0x59de('0x2')][_0x59de('0xd')](_0x59de('0x7'))['enableCommand']('htmlEmbed',(_0x37d5a5,_0x2dd7ad)=>{const _0x5ebeb0=_0x5b605a[_0x59de('0xf')],_0x33e30c=_0x5ebeb0[_0x59de('0x15')][_0x59de('0xb')];_0x5ebeb0[_0x59de('0x0')](()=>{const _0x1958ce=function(_0x45241c){const _0x251393=_0x45241c[_0x59de('0x12')]();if(_0x251393&&_0x251393['is'](_0x59de('0x10'),_0x59de('0x4')))return _0x45241c[_0x59de('0x12')]();return null;}(_0x33e30c);if(!_0x1958ce)return void _0x37d5a5(null);const _0x57e991=_0x1958ce['getAttribute'](_0x59de('0x3'))||'';if(void 0x0===_0x2dd7ad)return;if(_0x2dd7ad===_0x57e991)return;_0x334398[_0x59de('0xa')](_0x1958ce,{'commandName':_0x59de('0x14'),'commandParams':[_0x2dd7ad]}),_0x499bf3[_0x59de('0x12')]()[_0x59de('0xc')](_0x59de('0xe'))['cancel']();});}),_0x334398[_0x59de('0x6')]['registerDescriptionCallback'](_0x434671=>{const {data:_0x11c01b}=_0x434671;if(_0x11c01b&&_0x59de('0x14')==_0x11c01b[_0x59de('0x8')]){const _0x4d55ba=_0x1adc5b(_0x5529bd,_0x59de('0x5'));return{'type':_0x59de('0x1'),'content':_0x1adc5b(_0x5529bd,_0x59de('0x17'),_0x4d55ba)};}});}}
23
+ const _0x4d1e=['element','editing','get','format','enableCommand','markBlockFormat','_descriptionFactory','getCustomProperty','document','htmlEmbed','ELEMENT_HTML_EMBED','commandName','editor','TrackChangesEditing','locale','getSelectedElement','has','change','getAttribute','rawHtml','rawHtmlApi','plugins','selection','registerElementLabel','HtmlEmbed'];(function(_0x3ccdb2,_0x4d1e47){const _0x351ffd=function(_0x4fb49e){while(--_0x4fb49e){_0x3ccdb2['push'](_0x3ccdb2['shift']());}};_0x351ffd(++_0x4d1e47);}(_0x4d1e,0x163));const _0x351f=function(_0x3ccdb2,_0x4d1e47){_0x3ccdb2=_0x3ccdb2-0x0;let _0x351ffd=_0x4d1e[_0x3ccdb2];return _0x351ffd;};import{Plugin as _0x1f00b0}from'ckeditor5/src/core';import{getTranslation as _0x5b3992}from'../utils/common-translations';export default class V extends _0x1f00b0{['afterInit'](){const _0x3803db=this[_0x351f('0x7')];if(!_0x3803db[_0x351f('0x10')][_0x351f('0xb')](_0x351f('0x13')))return;const _0x51fdef=_0x3803db[_0x351f('0x10')][_0x351f('0x16')](_0x351f('0x8')),_0x53a37d=_0x3803db[_0x351f('0x9')],_0x3acb6d=_0x3803db[_0x351f('0x15')]['view'][_0x351f('0x3')][_0x351f('0x11')];_0x51fdef[_0x351f('0x1')][_0x351f('0x12')]('rawHtml',_0x3faac2=>_0x5b3992(_0x53a37d,_0x351f('0x5'),_0x3faac2)),_0x3803db[_0x351f('0x10')][_0x351f('0x16')](_0x351f('0x8'))[_0x351f('0x18')](_0x351f('0x4'),(_0x51579b,_0x238d51)=>{const _0xd0e99c=_0x3803db['model'],_0x22a016=_0xd0e99c[_0x351f('0x3')][_0x351f('0x11')];_0xd0e99c[_0x351f('0xc')](()=>{const _0x171ee6=function(_0x2b9798){const _0x42dc87=_0x2b9798[_0x351f('0xa')]();if(_0x42dc87&&_0x42dc87['is'](_0x351f('0x14'),_0x351f('0xe')))return _0x2b9798[_0x351f('0xa')]();return null;}(_0x22a016);if(!_0x171ee6)return void _0x51579b(null);const _0x479505=_0x171ee6[_0x351f('0xd')]('value')||'';if(void 0x0===_0x238d51)return;if(_0x238d51===_0x479505)return;_0x51fdef[_0x351f('0x0')](_0x171ee6,{'commandName':'htmlEmbed','commandParams':[_0x238d51]}),_0x3acb6d[_0x351f('0xa')]()[_0x351f('0x2')](_0x351f('0xf'))['cancel']();});}),_0x51fdef[_0x351f('0x1')]['registerDescriptionCallback'](_0x51231a=>{const {data:_0x43e1c5}=_0x51231a;if(_0x43e1c5&&_0x351f('0x4')==_0x43e1c5[_0x351f('0x6')]){const _0x49f7c0=_0x5b3992(_0x53a37d,_0x351f('0x5'));return{'type':_0x351f('0x17'),'content':_0x5b3992(_0x53a37d,'*Change\x20%0\x20content*',_0x49f7c0)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11cb=['imageStyle','imageBlock','refresh','end','width','ImageEditing','locale','from','addObject','commandReversedParams','ImageInlineEditing','imageTextAlternative','formatBlock','chain','registerCustomCallback','type','alt','getClosestSelectedImageElement','createRangeOn','toLowerCase','Block\x20image\x20to\x20inline\x20image','commands','Inline\x20image\x20to\x20block\x20image','previous','isEqual','find','registerElementLabel','schema','plugins','author','imageTypeBlock','ELEMENT_CAPTION','has','getCaptionFromImageModelElement','fromPosition','insertImage','ImageUploadEditing','isInContent','uploadImage','isCollapsed','enableCommand','*Reset\x20image\x20width*','get','hasAttribute','convertInlineImageToBlock','deletion','toPrevious','accept','ImageBlockEditing','subType','discard','createRange','isBlockImage','ImageUtils','forceDefaultExecution','imageCaption','document','forward','_suggestionFactory','_descriptionFactory','getFirstRange','ImageCaptionUtils','getChangedMarkers','getContainedElement','*Set\x20image\x20width:*\x20%0','name','ImageCaptionEditing','commandName','registerDescriptionCallback','backward','registerPostFixer','model','afterInit','getSuggestions','newRange','suggestion','ImageStyleEditing','getNearestSelectionRange','value','resizeImage','_splitMarkerName','change','markInlineFormat','head','start','isOwn','getAttribute','*Format:*\x20%0','newValue','toNext','isBefore','Users','formatInline','imageStylePostApply','format','join','discardSuggestion','selection','isIntersecting','commandParams','*Set\x20image\x20text\x20alternative:*\x20%0','insertion','imageStylePreApply','findIndex','imageTypeInline','ELEMENT_INLINE_IMAGE','markInsertion','markBlockFormat','markDeletion','convertBlockImageToInline','getSuggestion','TrackChangesEditing','differ','FORMAT_SIDE_IMAGE','length','detach'];(function(_0x520b71,_0x11cb6e){const _0x250c05=function(_0x51e278){while(--_0x51e278){_0x520b71['push'](_0x520b71['shift']());}};_0x250c05(++_0x11cb6e);}(_0x11cb,0x1bc));const _0x250c=function(_0x520b71,_0x11cb6e){_0x520b71=_0x520b71-0x0;let _0x250c05=_0x11cb[_0x520b71];return _0x250c05;};import{Plugin as _0x5e20a2}from'ckeditor5/src/core';import{LivePosition as _0x5ec900}from'ckeditor5/src/engine';import{uid as _0x344be8}from'ckeditor5/src/utils';import{getTranslation as _0x572c3d}from'../utils/common-translations';export default class X extends _0x5e20a2{[_0x250c('0x5c')](){const _0x594421=this['editor'];if(!_0x594421['plugins']['has'](_0x250c('0x19')))return;const _0x55d53=_0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0xf')),_0x5af1ee=_0x594421['plugins'][_0x250c('0x3e')](_0x250c('0x49')),_0x552b54={},_0x3fb4d4=_0x594421[_0x250c('0x1a')];if(_0x55d53[_0x250c('0x3c')](_0x250c('0x37')),_0x55d53[_0x250c('0x4f')]['registerElementLabel'](_0x250c('0x15'),_0x545a96=>_0x572c3d(_0x3fb4d4,'ELEMENT_IMAGE',_0x545a96)),_0x55d53[_0x250c('0x4f')][_0x250c('0x2e')]('imageInline',_0x335daa=>_0x572c3d(_0x3fb4d4,_0x250c('0x9'),_0x335daa)),_0x55d53[_0x250c('0x4f')][_0x250c('0x2e')]('caption',()=>_0x572c3d(_0x3fb4d4,_0x250c('0x33'))),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x38'))&&_0x55d53[_0x250c('0x3c')](_0x250c('0x3a')),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x44'))&&_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x1e'))&&(_0x55d53[_0x250c('0x3c')](_0x250c('0x8'),(_0x45ead0,_0x3472f8)=>{const _0xee1608=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')]['selection']);_0x594421['model'][_0x250c('0x65')](()=>{_0x55d53[_0x250c('0xb')](_0xee1608,{'commandName':_0x250c('0x8'),'commandParams':[_0x3472f8]},[],'convertBlockImageToInline');});}),_0x55d53[_0x250c('0x3c')](_0x250c('0x32'),(_0x44b731,_0x3359dc)=>{_0x594421[_0x250c('0x5b')]['change'](_0x7af5cc=>{let _0x3d7a73=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')]['selection']),_0x2cd9c1=_0x7af5cc[_0x250c('0x26')](_0x3d7a73);const _0x228d19=_0x5ec900[_0x250c('0x36')](_0x2cd9c1[_0x250c('0x68')],_0x250c('0x42')),_0x33bb7a=_0x5ec900[_0x250c('0x36')](_0x2cd9c1[_0x250c('0x17')],_0x250c('0x6d'));_0x55d53[_0x250c('0x4a')](()=>_0x44b731(_0x3359dc)),_0x3d7a73=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x2cd9c1=_0x7af5cc['createRangeOn'](_0x3d7a73);const _0x5ba52b=_0x7af5cc[_0x250c('0x47')](_0x228d19,_0x33bb7a);_0x228d19[_0x250c('0x13')](),_0x33bb7a[_0x250c('0x13')](),_0x55d53[_0x250c('0xb')](_0x3d7a73,{'commandName':_0x250c('0x8'),'commandParams':[]},[],_0x250c('0x40')),_0x5ba52b[_0x250c('0x68')][_0x250c('0x6e')](_0x2cd9c1[_0x250c('0x68')])&&_0x55d53[_0x250c('0xa')](_0x7af5cc[_0x250c('0x47')](_0x5ba52b['start'],_0x2cd9c1[_0x250c('0x68')]),'convertInlineImageToBlock'),_0x2cd9c1[_0x250c('0x17')][_0x250c('0x6e')](_0x5ba52b['end'])&&_0x55d53[_0x250c('0xa')](_0x7af5cc[_0x250c('0x47')](_0x2cd9c1[_0x250c('0x17')],_0x5ba52b[_0x250c('0x17')]),_0x250c('0x40'));});}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),'convertInlineImageToBlock',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock','convertInlineImageToBlock',_0x250c('0x43'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x40'),_0x250c('0x46'),_0x55d53[_0x250c('0x4e')]['getSuggestionCallback']('formatBlock','',_0x250c('0x43'))),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x5'),'convertInlineImageToBlock',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('insertion',_0x250c('0x40'),_0x250c('0x46'),([_0x4d4ef8])=>{const _0x4600d0=_0x55d53[_0x250c('0x4e')]['getSuggestionCallback'](_0x250c('0x5'),'',_0x250c('0x46'));let _0x2c0650=_0x4d4ef8[_0x250c('0x68')],_0x49c6da=_0x4d4ef8[_0x250c('0x17')];const _0x32b9d2=_0x594421[_0x250c('0x5b')]['schema'][_0x250c('0x61')](_0x2c0650,_0x250c('0x59')),_0x66ad53=_0x594421[_0x250c('0x5b')][_0x250c('0x2f')]['getNearestSelectionRange'](_0x49c6da,_0x250c('0x4d'));_0x32b9d2[_0x250c('0x3b')]&&(_0x2c0650=_0x32b9d2[_0x250c('0x68')]),_0x66ad53['isCollapsed']&&(_0x49c6da=_0x66ad53['end']),_0x4600d0([_0x594421['model']['createRange'](_0x2c0650,_0x49c6da)]);}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),_0x250c('0x40'),'chain',_0x50ff61),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x5'),_0x250c('0x40'),_0x250c('0x21'),_0x50ff61)),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x56'))&&(_0x55d53[_0x250c('0x3c')]('toggleImageCaption',(_0x224a9b,_0x255f63)=>{const _0x344d89=_0x594421['plugins'][_0x250c('0x3e')](_0x250c('0x51'));let _0x121a8c=_0x5af1ee[_0x250c('0x25')](_0x594421['model'][_0x250c('0x4c')][_0x250c('0x1')]),_0x2a018e=_0x344d89[_0x250c('0x35')](_0x121a8c);_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{if(_0x2a018e)return void _0x55d53[_0x250c('0xc')](_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x2a018e));const _0x56ff9d=_0x5af1ee[_0x250c('0x48')](_0x121a8c);_0x224a9b(_0x255f63),_0x121a8c=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x2a018e=_0x344d89[_0x250c('0x35')](_0x121a8c),_0x55d53[_0x250c('0xa')](_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x2a018e),_0x56ff9d?null:_0x250c('0x4b'));});}),_0x55d53[_0x250c('0x4e')]['registerCustomCallback']('insertion',_0x250c('0x4b'),_0x250c('0x21'),_0x50ff61)),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x60'))){_0x55d53['enableCommand'](_0x250c('0x14'),(_0x2e85f3,_0x766c6d)=>{const _0x64e90b=_0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0x6f'))['me'],_0x397e8c=_0x594421[_0x250c('0x29')][_0x250c('0x3e')](_0x250c('0x14'));let _0x327737=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x1eae19=_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x327737),_0x2e9d32=_0x397e8c[_0x250c('0x62')];if(_0x2e9d32==_0x766c6d[_0x250c('0x62')])return;const _0x48e3ba={'commandName':_0x250c('0x14'),'commandParams':[_0x766c6d],'formatGroupId':_0x344be8()};_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{if(_0x55d53[_0x250c('0x5d')]()['filter'](_0x340906=>_0x340906[_0x250c('0x39')]&&_0x64e90b==_0x340906[_0x250c('0x31')]&&('formatBlock'==_0x340906[_0x250c('0x23')]||'formatInline'==_0x340906[_0x250c('0x23')])&&(_0x250c('0x6')==_0x340906[_0x250c('0x45')]||'imageStylePostApply'==_0x340906[_0x250c('0x45')])&&_0x340906[_0x250c('0x50')]()[_0x250c('0x2c')](_0x1eae19))['forEach'](_0x3c53a2=>_0x55d53['discardSuggestion'](_0x3c53a2[_0x250c('0x67')])),_0x327737=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x1eae19=_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x327737),_0x397e8c[_0x250c('0x16')](),_0x594421[_0x250c('0x29')]['get'](_0x250c('0x8'))['refresh'](),_0x594421[_0x250c('0x29')][_0x250c('0x3e')]('imageTypeBlock')[_0x250c('0x16')](),_0x2e9d32=_0x397e8c[_0x250c('0x62')],_0x2e9d32!=_0x766c6d['value'])return _0x5af1ee['isInlineImage'](_0x327737)&&_0x397e8c['shouldConvertImageType'](_0x766c6d[_0x250c('0x62')],_0x327737)?(_0x2e85f3(_0x766c6d),_0x327737=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),void _0x55d53['markBlockFormat'](_0x327737,{..._0x48e3ba,'commandReversedParams':[{'value':_0x2e9d32||null}]},[],_0x250c('0x6'))):void(_0x5af1ee[_0x250c('0x48')](_0x327737)?_0x55d53[_0x250c('0xb')](_0x327737,_0x48e3ba,[],_0x250c('0x71')):_0x55d53[_0x250c('0x66')](_0x1eae19,_0x48e3ba,_0x250c('0x71')));});});for(const _0x263bb6 of _0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0x60'))['normalizedStyles'])_0x552b54[_0x263bb6[_0x250c('0x55')]]=_0x263bb6['title'][_0x250c('0x27')]();_0x55d53[_0x250c('0x4e')]['registerCustomCallback'](_0x250c('0x20'),'imageStylePreApply',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x71'),_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x70'),'imageStylePostApply',_0x250c('0x73'),()=>!0x1),_0x55d53['_suggestionFactory'][_0x250c('0x22')]('formatBlock',_0x250c('0x6'),_0x250c('0x43'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),_0x250c('0x6'),_0x250c('0x46'),(_0xb67b06,_0x191882)=>{_0x55d53[_0x250c('0x4e')]['getSuggestionCallback'](_0x250c('0x20'),'',_0x250c('0x43'))(_0xb67b06,{'commandName':_0x191882[_0x250c('0x57')],'commandParams':_0x191882[_0x250c('0x1d')]});}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x6'),_0x250c('0x21'),_0x50ff61);}const _0x33cc1b=[{'type':'formatBlock','subType':_0x250c('0x6')},{'type':_0x250c('0x5'),'subType':_0x250c('0x4b')},{'type':_0x250c('0x20'),'subType':_0x250c('0x40')},{'type':'insertion','subType':_0x250c('0x40')}];function _0x14497d(_0x3ac82b,_0x541305){const _0x3f0976=_0x33cc1b[_0x250c('0x7')](({type:_0x184e45,subType:_0x579233})=>_0x3ac82b[_0x250c('0x23')]==_0x184e45&&_0x3ac82b['subType']==_0x579233),_0x52a75e=_0x33cc1b[_0x250c('0x7')](({type:_0x421493,subType:_0x1487ef})=>_0x541305[_0x250c('0x23')]==_0x421493&&_0x541305[_0x250c('0x45')]==_0x1487ef);if(_0x3f0976<0x0||_0x52a75e<0x0)return!0x1;const _0xfeb12c=_0x3ac82b['getFirstRange'](),_0x5867cd=_0x541305['getFirstRange']();if((0x0==_0x3f0976||0x1==_0x3f0976)&&0x2==_0x52a75e&&_0xfeb12c[_0x250c('0x2')](_0x5867cd))return!0x0;if(0x2==_0x3f0976&&0x3==_0x52a75e){const _0x12992f=_0x55d53['_findSuggestions'](_0xfeb12c,_0x250c('0x5'))['filter'](({suggestion:_0x21e02e,meta:_0x297f93})=>_0x297f93[_0x250c('0x69')]&&_0x250c('0x40')==_0x21e02e['subType']);if(_0x12992f[_0x250c('0x12')]>0x1&&_0x5867cd[_0x250c('0x17')][_0x250c('0x2c')](_0xfeb12c[_0x250c('0x68')]))return!0x0;if(0x1==_0x12992f[_0x250c('0x12')]&&(_0xfeb12c[_0x250c('0x68')][_0x250c('0x2c')](_0x5867cd['end'])||_0xfeb12c[_0x250c('0x17')][_0x250c('0x2c')](_0x5867cd[_0x250c('0x68')])))return!0x0;}if(0x3==_0x3f0976&&0x3==_0x52a75e&&_0xfeb12c[_0x250c('0x68')][_0x250c('0x6e')](_0x5867cd[_0x250c('0x68')])){const _0x53ebf5=_0xfeb12c[_0x250c('0x17')]['nodeAfter'],_0x56a277=_0x5867cd[_0x250c('0x68')]['nodeBefore'];return _0x5af1ee['isBlockImage'](_0x53ebf5)&&_0x53ebf5===_0x56a277;}return!0x1;}function _0x50ff61(_0x1d9a2a,_0x4cc852){return _0x14497d(_0x1d9a2a,_0x4cc852)?[_0x1d9a2a,_0x4cc852]:_0x14497d(_0x4cc852,_0x1d9a2a)?[_0x4cc852,_0x1d9a2a]:null;}_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x5a')](()=>{let _0x22d0e6=!0x1;const _0x272dbe=Array[_0x250c('0x1b')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x10')][_0x250c('0x52')]());for(const {name:_0x24a233,data:_0xa4e570}of _0x272dbe){const {group:_0x4d4229,type:_0x32a0bc,subType:_0xd16a0e,id:_0x500067}=_0x55d53[_0x250c('0x64')](_0x24a233);if(_0x250c('0x5f')==_0x4d4229&&_0x55d53['hasSuggestion'](_0x500067)){if('formatBlock'==_0x32a0bc&&('imageStylePreApply'==_0xd16a0e||_0x250c('0x71')==_0xd16a0e)){const _0x1d842a=_0x55d53['getSuggestion'](_0x500067);if(_0xa4e570[_0x250c('0x5e')]){const _0x44de68=_0x1d842a[_0x250c('0x50')]()[_0x250c('0x53')]();if(_0x5af1ee[_0x250c('0x48')](_0x44de68))continue;_0x55d53[_0x250c('0x0')](_0x1d842a),_0x22d0e6=!0x0;}}if('insertion'==_0x32a0bc&&'imageCaption'==_0xd16a0e&&!_0xa4e570[_0x250c('0x5e')]){const _0x4f57a8=_0x55d53[_0x250c('0xe')](_0x500067);_0x4f57a8['next']&&_0x4f57a8['next']['isInContent']&&(_0x55d53['discardSuggestion'](_0x4f57a8['next']),_0x22d0e6=!0x0);}}}return _0x22d0e6;}),_0x594421[_0x250c('0x30')]['has']('ImageResize')&&_0x55d53[_0x250c('0x3c')](_0x250c('0x63'),(_0x3e3f5a,_0x456a8d)=>{const _0x638187=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')]['document'][_0x250c('0x1')]);_0x638187[_0x250c('0x6a')](_0x250c('0x18'))!=_0x456a8d[_0x250c('0x18')]&&_0x594421[_0x250c('0x5b')]['change'](()=>{_0x55d53[_0x250c('0xb')](_0x638187,{'commandName':_0x250c('0x63'),'commandParams':[_0x456a8d]});});}),_0x594421['plugins'][_0x250c('0x34')]('ImageTextAlternativeEditing')&&_0x55d53[_0x250c('0x3c')](_0x250c('0x1f'),(_0x143a62,_0x465cb6)=>{const _0x24b22d=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]);(_0x24b22d[_0x250c('0x3f')](_0x250c('0x24'))?_0x24b22d[_0x250c('0x6a')](_0x250c('0x24')):'')!=_0x465cb6[_0x250c('0x6c')]&&_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{_0x55d53[_0x250c('0xb')](_0x24b22d,{'commandName':_0x250c('0x1f'),'commandParams':[_0x465cb6]});});}),_0x55d53['_descriptionFactory'][_0x250c('0x58')](_0x4a587a=>{if(!!_0x33cc1b[_0x250c('0x2d')](({type:_0x445737,subType:_0x33d619})=>_0x4a587a[_0x250c('0x23')]==_0x445737&&_0x4a587a[_0x250c('0x45')]==_0x33d619))return _0x4a587a[_0x250c('0x2b')]?{}:void 0x0;}),_0x55d53[_0x250c('0x4f')][_0x250c('0x58')](_0xfe94d9=>{if(_0x250c('0x5')==_0xfe94d9['type']||_0x250c('0x41')==_0xfe94d9[_0x250c('0x23')]){const _0x33758e=_0xfe94d9[_0x250c('0x53')]();if(_0x33758e&&_0x33758e['is']('element','caption'))return{'type':_0x250c('0x5')==_0xfe94d9[_0x250c('0x23')]?_0x250c('0x1c'):'removeObject','element':_0x33758e,'quantity':0x1};}}),_0x55d53[_0x250c('0x4f')]['registerDescriptionCallback'](_0xba643b=>_0x250c('0x20')==_0xba643b[_0x250c('0x23')]&&_0x250c('0x40')==_0xba643b['subType']?{'type':'format','content':_0x250c('0x2a')}:_0x250c('0x20')==_0xba643b['type']&&_0x250c('0xd')==_0xba643b['subType']?{'type':_0x250c('0x72'),'content':_0x250c('0x28')}:void 0x0),_0x55d53[_0x250c('0x4f')]['registerDescriptionCallback'](_0xd11a44=>{const {data:_0x12db52}=_0xd11a44;if(_0x12db52){if(_0x250c('0x14')==_0x12db52[_0x250c('0x57')]){const _0x30d4c2=_0x12db52[_0x250c('0x3')][0x0][_0x250c('0x62')];return _0x15cb41('side'===_0x30d4c2?_0x572c3d(_0x3fb4d4,_0x250c('0x11')):_0x552b54[_0x30d4c2]||_0x30d4c2);}if(_0x250c('0x1f')==_0x12db52[_0x250c('0x57')]){const _0xc9f74c=_0x12db52[_0x250c('0x3')][0x0][_0x250c('0x6c')];return _0xc9f74c?{'type':'format','content':_0x572c3d(_0x3fb4d4,_0x250c('0x4'),'\x22'+_0xc9f74c+'\x22')}:{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,'*Remove\x20image\x20text\x20alternative*')};}if(_0x250c('0x63')==_0x12db52[_0x250c('0x57')]){const _0x2e5a04=_0x12db52['commandParams'][0x0][_0x250c('0x18')];return _0x2e5a04?{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,_0x250c('0x54'),_0x2e5a04)}:{'type':'format','content':_0x572c3d(_0x3fb4d4,_0x250c('0x3d'))};}}function _0x15cb41(_0x509713){return{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,_0x250c('0x6b'),_0x509713)};}});}}
23
+ const _0x5227=['backward','formatInline','hasSuggestion','formatBlock','discard','Block\x20image\x20to\x20inline\x20image','getSuggestionCallback','next','imageTextAlternative','get','newRange','title','imageStyle','*Set\x20image\x20text\x20alternative:*\x20%0','ImageEditing','markBlockFormat','caption','isInContent','_suggestionFactory','isEqual','imageTypeInline','registerCustomCallback','imageCaption','commandName','editor','commandParams','imageStylePreApply','author','from','toLowerCase','*Remove\x20image\x20text\x20alternative*','_splitMarkerName','*Format:*\x20%0','afterInit','getClosestSelectedImageElement','FORMAT_SIDE_IMAGE','*Reset\x20image\x20width*','registerElementLabel','forceDefaultExecution','_descriptionFactory','normalizedStyles','createRangeOn','Users','convertBlockImageToInline','toNext','locale','previous','accept','model','isBlockImage','selection','resizeImage','change','plugins','forEach','hasAttribute','end','refresh','detach','registerDescriptionCallback','createRange','value','*Set\x20image\x20width:*\x20%0','markInlineFormat','element','imageStylePostApply','format','isCollapsed','deletion','enableCommand','document','commandReversedParams','convertInlineImageToBlock','subType','getContainedElement','join','isOwn','isBefore','fromPosition','toPrevious','removeObject','markInsertion','TrackChangesEditing','getSuggestion','uploadImage','has','getAttribute','head','getFirstRange','imageTypeBlock','type','getNearestSelectionRange','toggleImageCaption','width','ImageUtils','commands','discardSuggestion','filter','ImageBlockEditing','findIndex','insertImage','getSuggestions','isInlineImage','alt','ImageInlineEditing','name','side','length','ImageStyleEditing','addObject','getCaptionFromImageModelElement','newValue','chain','suggestion','insertion','start'];(function(_0x266a58,_0x522752){const _0x85a90e=function(_0x76af1e){while(--_0x76af1e){_0x266a58['push'](_0x266a58['shift']());}};_0x85a90e(++_0x522752);}(_0x5227,0x105));const _0x85a9=function(_0x266a58,_0x522752){_0x266a58=_0x266a58-0x0;let _0x85a90e=_0x5227[_0x266a58];return _0x85a90e;};import{Plugin as _0xccac4e}from'ckeditor5/src/core';import{LivePosition as _0x6582cd}from'ckeditor5/src/engine';import{uid as _0x2c3a3e}from'ckeditor5/src/utils';import{getTranslation as _0x45ad2a}from'../utils/common-translations';export default class X extends _0xccac4e{[_0x85a9('0x4')](){const _0x799b88=this[_0x85a9('0x6f')];if(!_0x799b88['plugins'][_0x85a9('0x38')](_0x85a9('0x65')))return;const _0x1e6eeb=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')](_0x85a9('0x35')),_0x38b04d=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')](_0x85a9('0x41')),_0x43b195={},_0x526097=_0x799b88[_0x85a9('0x10')];if(_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x47')),_0x1e6eeb[_0x85a9('0xa')][_0x85a9('0x8')]('imageBlock',_0x3cfe2b=>_0x45ad2a(_0x526097,'ELEMENT_IMAGE',_0x3cfe2b)),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x8')]('imageInline',_0xfa7fad=>_0x45ad2a(_0x526097,'ELEMENT_INLINE_IMAGE',_0xfa7fad)),_0x1e6eeb[_0x85a9('0xa')]['registerElementLabel'](_0x85a9('0x67'),()=>_0x45ad2a(_0x526097,'ELEMENT_CAPTION')),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageUploadEditing')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x37')),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')](_0x85a9('0x45'))&&_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')](_0x85a9('0x4b'))&&(_0x1e6eeb['enableCommand'](_0x85a9('0x6b'),(_0x386a29,_0x3c2dae)=>{const _0x429e75=_0x38b04d['getClosestSelectedImageElement'](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['selection']);_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb[_0x85a9('0x66')](_0x429e75,{'commandName':'imageTypeInline','commandParams':[_0x3c2dae]},[],_0x85a9('0xe'));});}),_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x3c'),(_0x1ad1fa,_0x2667c7)=>{_0x799b88[_0x85a9('0x13')]['change'](_0x363059=>{let _0x2e0979=_0x38b04d[_0x85a9('0x5')](_0x799b88['model'][_0x85a9('0x29')][_0x85a9('0x15')]),_0xdf278=_0x363059[_0x85a9('0xc')](_0x2e0979);const _0x2496a6=_0x6582cd[_0x85a9('0x31')](_0xdf278['start'],_0x85a9('0x32')),_0x4402ba=_0x6582cd[_0x85a9('0x31')](_0xdf278[_0x85a9('0x1b')],_0x85a9('0xf'));_0x1e6eeb[_0x85a9('0x9')](()=>_0x1ad1fa(_0x2667c7)),_0x2e0979=_0x38b04d[_0x85a9('0x5')](_0x799b88['model']['document']['selection']),_0xdf278=_0x363059[_0x85a9('0xc')](_0x2e0979);const _0xea4476=_0x363059['createRange'](_0x2496a6,_0x4402ba);_0x2496a6['detach'](),_0x4402ba[_0x85a9('0x1d')](),_0x1e6eeb[_0x85a9('0x66')](_0x2e0979,{'commandName':'imageTypeInline','commandParams':[]},[],_0x85a9('0x2b')),_0xea4476[_0x85a9('0x56')]['isBefore'](_0xdf278[_0x85a9('0x56')])&&_0x1e6eeb[_0x85a9('0x34')](_0x363059['createRange'](_0xea4476[_0x85a9('0x56')],_0xdf278[_0x85a9('0x56')]),_0x85a9('0x2b')),_0xdf278['end'][_0x85a9('0x30')](_0xea4476['end'])&&_0x1e6eeb['markInsertion'](_0x363059[_0x85a9('0x1f')](_0xdf278['end'],_0xea4476[_0x85a9('0x1b')]),'convertInlineImageToBlock');});}),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')]('formatBlock',_0x85a9('0x2b'),_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x5a'),'convertInlineImageToBlock',_0x85a9('0x12'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x2b'),_0x85a9('0x5b'),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')](_0x85a9('0x5a'),'',_0x85a9('0x12'))),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x55'),_0x85a9('0x2b'),_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')]('insertion',_0x85a9('0x2b'),'discard',([_0x53f3a0])=>{const _0x52f73b=_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')](_0x85a9('0x55'),'',_0x85a9('0x5b'));let _0x444ae9=_0x53f3a0[_0x85a9('0x56')],_0x501ddc=_0x53f3a0[_0x85a9('0x1b')];const _0x3417d6=_0x799b88[_0x85a9('0x13')]['schema'][_0x85a9('0x3e')](_0x444ae9,_0x85a9('0x57')),_0x34107a=_0x799b88[_0x85a9('0x13')]['schema'][_0x85a9('0x3e')](_0x501ddc,'forward');_0x3417d6['isCollapsed']&&(_0x444ae9=_0x3417d6[_0x85a9('0x56')]),_0x34107a[_0x85a9('0x26')]&&(_0x501ddc=_0x34107a[_0x85a9('0x1b')]),_0x52f73b([_0x799b88[_0x85a9('0x13')][_0x85a9('0x1f')](_0x444ae9,_0x501ddc)]);}),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x2b'),_0x85a9('0x53'),_0x54f901),_0x1e6eeb[_0x85a9('0x69')]['registerCustomCallback'](_0x85a9('0x55'),_0x85a9('0x2b'),_0x85a9('0x53'),_0x54f901)),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageCaptionEditing')&&(_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x3f'),(_0x3fb9fb,_0x89a922)=>{const _0x22281a=_0x799b88[_0x85a9('0x18')][_0x85a9('0x60')]('ImageCaptionUtils');let _0x211651=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document'][_0x85a9('0x15')]),_0x57aae0=_0x22281a[_0x85a9('0x51')](_0x211651);_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{if(_0x57aae0)return void _0x1e6eeb['markDeletion'](_0x799b88[_0x85a9('0x13')]['createRangeOn'](_0x57aae0));const _0x5cdc65=_0x38b04d['isBlockImage'](_0x211651);_0x3fb9fb(_0x89a922),_0x211651=_0x38b04d['getClosestSelectedImageElement'](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),_0x57aae0=_0x22281a[_0x85a9('0x51')](_0x211651),_0x1e6eeb[_0x85a9('0x34')](_0x799b88[_0x85a9('0x13')][_0x85a9('0xc')](_0x57aae0),_0x5cdc65?null:_0x85a9('0x6d'));});}),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x55'),_0x85a9('0x6d'),_0x85a9('0x53'),_0x54f901)),_0x799b88['plugins'][_0x85a9('0x38')](_0x85a9('0x4f'))){_0x1e6eeb[_0x85a9('0x28')]('imageStyle',(_0x57337f,_0x26e665)=>{const _0x821da2=_0x799b88['plugins'][_0x85a9('0x60')](_0x85a9('0xd'))['me'],_0x36652e=_0x799b88['commands'][_0x85a9('0x60')](_0x85a9('0x63'));let _0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document']['selection']),_0x46b452=_0x799b88[_0x85a9('0x13')]['createRangeOn'](_0x13b683),_0x2bb667=_0x36652e[_0x85a9('0x20')];if(_0x2bb667==_0x26e665[_0x85a9('0x20')])return;const _0x2c54d1={'commandName':_0x85a9('0x63'),'commandParams':[_0x26e665],'formatGroupId':_0x2c3a3e()};_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{if(_0x1e6eeb[_0x85a9('0x48')]()[_0x85a9('0x44')](_0x340b6d=>_0x340b6d[_0x85a9('0x68')]&&_0x821da2==_0x340b6d[_0x85a9('0x72')]&&(_0x85a9('0x5a')==_0x340b6d[_0x85a9('0x3d')]||_0x85a9('0x58')==_0x340b6d['type'])&&(_0x85a9('0x71')==_0x340b6d[_0x85a9('0x2c')]||_0x85a9('0x24')==_0x340b6d[_0x85a9('0x2c')])&&_0x340b6d[_0x85a9('0x3b')]()['isEqual'](_0x46b452))[_0x85a9('0x19')](_0x4b1be7=>_0x1e6eeb[_0x85a9('0x43')](_0x4b1be7[_0x85a9('0x3a')])),_0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),_0x46b452=_0x799b88['model'][_0x85a9('0xc')](_0x13b683),_0x36652e[_0x85a9('0x1c')](),_0x799b88[_0x85a9('0x42')][_0x85a9('0x60')]('imageTypeInline')[_0x85a9('0x1c')](),_0x799b88[_0x85a9('0x42')][_0x85a9('0x60')](_0x85a9('0x3c'))[_0x85a9('0x1c')](),_0x2bb667=_0x36652e[_0x85a9('0x20')],_0x2bb667!=_0x26e665[_0x85a9('0x20')])return _0x38b04d[_0x85a9('0x49')](_0x13b683)&&_0x36652e['shouldConvertImageType'](_0x26e665[_0x85a9('0x20')],_0x13b683)?(_0x57337f(_0x26e665),_0x13b683=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')][_0x85a9('0x15')]),void _0x1e6eeb['markBlockFormat'](_0x13b683,{..._0x2c54d1,'commandReversedParams':[{'value':_0x2bb667||null}]},[],_0x85a9('0x71'))):void(_0x38b04d[_0x85a9('0x14')](_0x13b683)?_0x1e6eeb[_0x85a9('0x66')](_0x13b683,_0x2c54d1,[],_0x85a9('0x24')):_0x1e6eeb[_0x85a9('0x22')](_0x46b452,_0x2c54d1,_0x85a9('0x24')));});});for(const _0x1c7b84 of _0x799b88[_0x85a9('0x18')][_0x85a9('0x60')]('ImageStyleEditing')[_0x85a9('0xb')])_0x43b195[_0x1c7b84[_0x85a9('0x4c')]]=_0x1c7b84[_0x85a9('0x62')][_0x85a9('0x0')]();_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')](_0x85a9('0x5a'),'imageStylePreApply',_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')]('formatBlock',_0x85a9('0x24'),'join',()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x58'),'imageStylePostApply',_0x85a9('0x2e'),()=>!0x1),_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x6c')](_0x85a9('0x5a'),_0x85a9('0x71'),_0x85a9('0x12'),()=>!0x1),_0x1e6eeb['_suggestionFactory']['registerCustomCallback'](_0x85a9('0x5a'),_0x85a9('0x71'),_0x85a9('0x5b'),(_0x577b4d,_0x2a0b4b)=>{_0x1e6eeb[_0x85a9('0x69')][_0x85a9('0x5d')]('formatBlock','',_0x85a9('0x12'))(_0x577b4d,{'commandName':_0x2a0b4b['commandName'],'commandParams':_0x2a0b4b[_0x85a9('0x2a')]});}),_0x1e6eeb['_suggestionFactory'][_0x85a9('0x6c')](_0x85a9('0x5a'),_0x85a9('0x71'),'chain',_0x54f901);}const _0x253e67=[{'type':_0x85a9('0x5a'),'subType':_0x85a9('0x71')},{'type':_0x85a9('0x55'),'subType':_0x85a9('0x6d')},{'type':'formatBlock','subType':_0x85a9('0x2b')},{'type':_0x85a9('0x55'),'subType':_0x85a9('0x2b')}];function _0xa53a4b(_0x151d39,_0x4658a0){const _0x103d83=_0x253e67[_0x85a9('0x46')](({type:_0x3b08e8,subType:_0x13b03d})=>_0x151d39[_0x85a9('0x3d')]==_0x3b08e8&&_0x151d39[_0x85a9('0x2c')]==_0x13b03d),_0x69421e=_0x253e67[_0x85a9('0x46')](({type:_0x32e437,subType:_0x221435})=>_0x4658a0[_0x85a9('0x3d')]==_0x32e437&&_0x4658a0[_0x85a9('0x2c')]==_0x221435);if(_0x103d83<0x0||_0x69421e<0x0)return!0x1;const _0x4785ad=_0x151d39['getFirstRange'](),_0x404310=_0x4658a0[_0x85a9('0x3b')]();if((0x0==_0x103d83||0x1==_0x103d83)&&0x2==_0x69421e&&_0x4785ad['isIntersecting'](_0x404310))return!0x0;if(0x2==_0x103d83&&0x3==_0x69421e){const _0x7b9b15=_0x1e6eeb['_findSuggestions'](_0x4785ad,_0x85a9('0x55'))[_0x85a9('0x44')](({suggestion:_0x2c68e6,meta:_0x52fa4d})=>_0x52fa4d[_0x85a9('0x2f')]&&'convertInlineImageToBlock'==_0x2c68e6[_0x85a9('0x2c')]);if(_0x7b9b15[_0x85a9('0x4e')]>0x1&&_0x404310[_0x85a9('0x1b')][_0x85a9('0x6a')](_0x4785ad[_0x85a9('0x56')]))return!0x0;if(0x1==_0x7b9b15[_0x85a9('0x4e')]&&(_0x4785ad['start'][_0x85a9('0x6a')](_0x404310[_0x85a9('0x1b')])||_0x4785ad[_0x85a9('0x1b')][_0x85a9('0x6a')](_0x404310[_0x85a9('0x56')])))return!0x0;}if(0x3==_0x103d83&&0x3==_0x69421e&&_0x4785ad[_0x85a9('0x56')][_0x85a9('0x30')](_0x404310[_0x85a9('0x56')])){const _0x53983b=_0x4785ad[_0x85a9('0x1b')]['nodeAfter'],_0x2f4217=_0x404310[_0x85a9('0x56')]['nodeBefore'];return _0x38b04d[_0x85a9('0x14')](_0x53983b)&&_0x53983b===_0x2f4217;}return!0x1;}function _0x54f901(_0x1ba78c,_0x4bfbf2){return _0xa53a4b(_0x1ba78c,_0x4bfbf2)?[_0x1ba78c,_0x4bfbf2]:_0xa53a4b(_0x4bfbf2,_0x1ba78c)?[_0x4bfbf2,_0x1ba78c]:null;}_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['registerPostFixer'](()=>{let _0x3ed83f=!0x1;const _0x20d84c=Array[_0x85a9('0x73')](_0x799b88[_0x85a9('0x13')][_0x85a9('0x29')]['differ']['getChangedMarkers']());for(const {name:_0x28cbe2,data:_0x1c355b}of _0x20d84c){const {group:_0x5c8eb1,type:_0x3d31a3,subType:_0x6ba052,id:_0x48cd72}=_0x1e6eeb[_0x85a9('0x2')](_0x28cbe2);if(_0x85a9('0x54')==_0x5c8eb1&&_0x1e6eeb[_0x85a9('0x59')](_0x48cd72)){if(_0x85a9('0x5a')==_0x3d31a3&&(_0x85a9('0x71')==_0x6ba052||'imageStylePostApply'==_0x6ba052)){const _0x4c5bc7=_0x1e6eeb[_0x85a9('0x36')](_0x48cd72);if(_0x1c355b['newRange']){const _0x480625=_0x4c5bc7[_0x85a9('0x3b')]()['getContainedElement']();if(_0x38b04d[_0x85a9('0x14')](_0x480625))continue;_0x1e6eeb[_0x85a9('0x43')](_0x4c5bc7),_0x3ed83f=!0x0;}}if(_0x85a9('0x55')==_0x3d31a3&&_0x85a9('0x6d')==_0x6ba052&&!_0x1c355b[_0x85a9('0x61')]){const _0x5862fa=_0x1e6eeb[_0x85a9('0x36')](_0x48cd72);_0x5862fa[_0x85a9('0x5e')]&&_0x5862fa[_0x85a9('0x5e')]['isInContent']&&(_0x1e6eeb[_0x85a9('0x43')](_0x5862fa[_0x85a9('0x5e')]),_0x3ed83f=!0x0);}}}return _0x3ed83f;}),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageResize')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x16'),(_0x4bf574,_0x3f6e88)=>{const _0xd47c8=_0x38b04d['getClosestSelectedImageElement'](_0x799b88['model']['document']['selection']);_0xd47c8[_0x85a9('0x39')](_0x85a9('0x40'))!=_0x3f6e88[_0x85a9('0x40')]&&_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb['markBlockFormat'](_0xd47c8,{'commandName':_0x85a9('0x16'),'commandParams':[_0x3f6e88]});});}),_0x799b88[_0x85a9('0x18')][_0x85a9('0x38')]('ImageTextAlternativeEditing')&&_0x1e6eeb[_0x85a9('0x28')](_0x85a9('0x5f'),(_0x46ba91,_0x5adf9d)=>{const _0x33166d=_0x38b04d[_0x85a9('0x5')](_0x799b88[_0x85a9('0x13')]['document']['selection']);(_0x33166d[_0x85a9('0x1a')](_0x85a9('0x4a'))?_0x33166d[_0x85a9('0x39')](_0x85a9('0x4a')):'')!=_0x5adf9d[_0x85a9('0x52')]&&_0x799b88[_0x85a9('0x13')][_0x85a9('0x17')](()=>{_0x1e6eeb['markBlockFormat'](_0x33166d,{'commandName':_0x85a9('0x5f'),'commandParams':[_0x5adf9d]});});}),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x1e')](_0x11a016=>{if(!!_0x253e67['find'](({type:_0x263cc9,subType:_0x28823a})=>_0x11a016['type']==_0x263cc9&&_0x11a016[_0x85a9('0x2c')]==_0x28823a))return _0x11a016[_0x85a9('0x11')]?{}:void 0x0;}),_0x1e6eeb['_descriptionFactory']['registerDescriptionCallback'](_0x4880ed=>{if(_0x85a9('0x55')==_0x4880ed[_0x85a9('0x3d')]||_0x85a9('0x27')==_0x4880ed['type']){const _0x21bd27=_0x4880ed[_0x85a9('0x2d')]();if(_0x21bd27&&_0x21bd27['is'](_0x85a9('0x23'),'caption'))return{'type':'insertion'==_0x4880ed[_0x85a9('0x3d')]?_0x85a9('0x50'):_0x85a9('0x33'),'element':_0x21bd27,'quantity':0x1};}}),_0x1e6eeb['_descriptionFactory'][_0x85a9('0x1e')](_0x384296=>_0x85a9('0x5a')==_0x384296[_0x85a9('0x3d')]&&'convertInlineImageToBlock'==_0x384296[_0x85a9('0x2c')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0x85a9('0x5a')==_0x384296['type']&&_0x85a9('0xe')==_0x384296['subType']?{'type':_0x85a9('0x25'),'content':_0x85a9('0x5c')}:void 0x0),_0x1e6eeb['_descriptionFactory']['registerDescriptionCallback'](_0x597670=>{const {data:_0x7a1fc}=_0x597670;if(_0x7a1fc){if(_0x85a9('0x63')==_0x7a1fc['commandName']){const _0x436864=_0x7a1fc[_0x85a9('0x70')][0x0][_0x85a9('0x20')];return _0x1d5942(_0x85a9('0x4d')===_0x436864?_0x45ad2a(_0x526097,_0x85a9('0x6')):_0x43b195[_0x436864]||_0x436864);}if(_0x85a9('0x5f')==_0x7a1fc[_0x85a9('0x6e')]){const _0x3baee5=_0x7a1fc[_0x85a9('0x70')][0x0][_0x85a9('0x52')];return _0x3baee5?{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x64'),'\x22'+_0x3baee5+'\x22')}:{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x1'))};}if(_0x85a9('0x16')==_0x7a1fc[_0x85a9('0x6e')]){const _0x198d2f=_0x7a1fc[_0x85a9('0x70')][0x0]['width'];return _0x198d2f?{'type':'format','content':_0x45ad2a(_0x526097,_0x85a9('0x21'),_0x198d2f)}:{'type':'format','content':_0x45ad2a(_0x526097,_0x85a9('0x7'))};}}function _0x1d5942(_0x273124){return{'type':_0x85a9('0x25'),'content':_0x45ad2a(_0x526097,_0x85a9('0x3'),_0x273124)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3315=['discard','enableCommand','*Format:*\x20replace\x20image\x20URL','_descriptionFactory','author','getContainedElement','formatBlock','afterInit','plugins','_suggestionFactory','commandName','getSuggestionCallback','ImageEditing','change','getAttribute','handleSuggestionDescription','handleReplaceImageCommand','locale','src','format','data','registerCustomCallback','replaceImageSource','model','editor','get','getSuggestions','has','registerDescriptionCallback','markBlockFormat','selection'];(function(_0x360e2c,_0x331580){const _0x11bdfd=function(_0x28c854){while(--_0x28c854){_0x360e2c['push'](_0x360e2c['shift']());}};_0x11bdfd(++_0x331580);}(_0x3315,0x72));const _0x11bd=function(_0x360e2c,_0x331580){_0x360e2c=_0x360e2c-0x0;let _0x11bdfd=_0x3315[_0x360e2c];return _0x11bdfd;};import{Plugin as _0x31ba3f}from'ckeditor5/src/core';import{getTranslation as _0x333b3f}from'../utils/common-translations';export default class Y extends _0x31ba3f{[_0x11bd('0x11')](){if(!this['editor'][_0x11bd('0x12')][_0x11bd('0x6')](_0x11bd('0x16')))return;const _0x12ca8d=this[_0x11bd('0x3')][_0x11bd('0x12')][_0x11bd('0x4')]('TrackChangesEditing');_0x12ca8d[_0x11bd('0xb')](_0x11bd('0x1'),(_0x43351f,_0x3fbd5e)=>this[_0x11bd('0x1a')](_0x43351f,_0x3fbd5e)),_0x12ca8d[_0x11bd('0x13')][_0x11bd('0x0')](_0x11bd('0x10'),_0x11bd('0x1'),'accept',_0x12ca8d['_suggestionFactory'][_0x11bd('0x15')]('formatBlock',null,_0x11bd('0xa'))),_0x12ca8d[_0x11bd('0x13')]['registerCustomCallback']('formatBlock',_0x11bd('0x1'),_0x11bd('0xa'),_0x12ca8d[_0x11bd('0x13')]['getSuggestionCallback'](_0x11bd('0x10'),null,'accept')),_0x12ca8d[_0x11bd('0xd')][_0x11bd('0x7')](_0x4d953d=>this[_0x11bd('0x19')](_0x4d953d));}[_0x11bd('0x1a')](_0x1b4260,_0x16f7c6){const _0x359e5b=this[_0x11bd('0x3')][_0x11bd('0x12')][_0x11bd('0x4')]('TrackChangesEditing'),_0x41054b=this[_0x11bd('0x3')][_0x11bd('0x2')]['document'][_0x11bd('0x9')]['getSelectedElement']();this[_0x11bd('0x3')][_0x11bd('0x2')][_0x11bd('0x17')](()=>{let _0x188b0c=_0x41054b[_0x11bd('0x18')](_0x11bd('0x1c'));const _0x12bcee=this['editor']['plugins'][_0x11bd('0x4')]('Users')['me'];for(const _0x4be6cc of _0x359e5b[_0x11bd('0x5')]({'skipNotAttached':!0x0})){const _0x24aa16=_0x4be6cc[_0x11bd('0xf')]();if(_0x11bd('0x1')===_0x4be6cc['subType']&&_0x24aa16===_0x41054b){_0x4be6cc[_0x11bd('0xe')]!==_0x12bcee&&_0x4be6cc[_0x11bd('0xa')](),_0x188b0c=_0x4be6cc[_0x11bd('0x1e')]['commandParams'][0x0]['source'];break;}}_0x1b4260(_0x16f7c6),_0x359e5b[_0x11bd('0x8')](_0x41054b,{'commandName':'replaceImageSource','commandParams':[{'source':_0x188b0c}]},[],'replaceImageSource');});}[_0x11bd('0x19')](_0x31bb5e){const {data:_0x3be8dd}=_0x31bb5e;if(_0x3be8dd&&'replaceImageSource'===_0x3be8dd[_0x11bd('0x14')]){const _0x36cc26=_0x11bd('0xc');return{'type':_0x11bd('0x1d'),'content':_0x333b3f(this['editor'][_0x11bd('0x1b')],_0x36cc26)};}}}
23
+ const _0x22f3=['handleSuggestionDescription','document','change','subType','formatBlock','getSuggestionCallback','enableCommand','*Format:*\x20replace\x20image\x20URL','TrackChangesEditing','editor','plugins','selection','model','_suggestionFactory','source','commandName','replaceImageSource','data','get','locale','getSuggestions','discard','author','handleReplaceImageCommand','registerCustomCallback','has','markBlockFormat','accept','getSelectedElement','getAttribute'];(function(_0x3630b1,_0x22f344){const _0x3e9aba=function(_0x58a330){while(--_0x58a330){_0x3630b1['push'](_0x3630b1['shift']());}};_0x3e9aba(++_0x22f344);}(_0x22f3,0x147));const _0x3e9a=function(_0x3630b1,_0x22f344){_0x3630b1=_0x3630b1-0x0;let _0x3e9aba=_0x22f3[_0x3630b1];return _0x3e9aba;};import{Plugin as _0x21de90}from'ckeditor5/src/core';import{getTranslation as _0x3ea10f}from'../utils/common-translations';export default class Y extends _0x21de90{['afterInit'](){if(!this[_0x3e9a('0xc')][_0x3e9a('0xd')][_0x3e9a('0x1c')]('ImageEditing'))return;const _0x43941b=this[_0x3e9a('0xc')]['plugins']['get'](_0x3e9a('0xb'));_0x43941b[_0x3e9a('0x9')](_0x3e9a('0x13'),(_0x50b4c7,_0x64ddf7)=>this[_0x3e9a('0x1a')](_0x50b4c7,_0x64ddf7)),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x1b')](_0x3e9a('0x7'),_0x3e9a('0x13'),_0x3e9a('0x0'),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x8')](_0x3e9a('0x7'),null,'discard')),_0x43941b['_suggestionFactory']['registerCustomCallback'](_0x3e9a('0x7'),_0x3e9a('0x13'),_0x3e9a('0x18'),_0x43941b[_0x3e9a('0x10')][_0x3e9a('0x8')]('formatBlock',null,'accept')),_0x43941b['_descriptionFactory']['registerDescriptionCallback'](_0x2c44af=>this[_0x3e9a('0x3')](_0x2c44af));}[_0x3e9a('0x1a')](_0x29cc74,_0x471633){const _0x963ee8=this[_0x3e9a('0xc')]['plugins'][_0x3e9a('0x15')](_0x3e9a('0xb')),_0x1f9844=this[_0x3e9a('0xc')][_0x3e9a('0xf')][_0x3e9a('0x4')][_0x3e9a('0xe')][_0x3e9a('0x1')]();this[_0x3e9a('0xc')][_0x3e9a('0xf')][_0x3e9a('0x5')](()=>{let _0x2e7ca3=_0x1f9844[_0x3e9a('0x2')]('src');const _0x42da3b=this[_0x3e9a('0xc')][_0x3e9a('0xd')][_0x3e9a('0x15')]('Users')['me'];for(const _0x4736b1 of _0x963ee8[_0x3e9a('0x17')]({'skipNotAttached':!0x0})){const _0x30571a=_0x4736b1['getContainedElement']();if(_0x3e9a('0x13')===_0x4736b1[_0x3e9a('0x6')]&&_0x30571a===_0x1f9844){_0x4736b1[_0x3e9a('0x19')]!==_0x42da3b&&_0x4736b1[_0x3e9a('0x18')](),_0x2e7ca3=_0x4736b1[_0x3e9a('0x14')]['commandParams'][0x0][_0x3e9a('0x11')];break;}}_0x29cc74(_0x471633),_0x963ee8[_0x3e9a('0x1d')](_0x1f9844,{'commandName':'replaceImageSource','commandParams':[{'source':_0x2e7ca3}]},[],_0x3e9a('0x13'));});}[_0x3e9a('0x3')](_0xd8c8e2){const {data:_0x3af00}=_0xd8c8e2;if(_0x3af00&&_0x3e9a('0x13')===_0x3af00[_0x3e9a('0x12')]){const _0xd321ff=_0x3e9a('0xa');return{'type':'format','content':_0x3ea10f(this[_0x3e9a('0xc')][_0x3e9a('0x16')],_0xd321ff)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11e7=['collaboration_features','importWord','afterInit','get','track_changes','commands','listenTo','TrackChangesEditing','_trackChangesValueDuringImport','dataInsert','high','value','Users','bind','forEach','trackChanges','_handleImportedData','enableCommand','execute','_trackChangesExecuted','editor','plugins'];(function(_0x4af8e0,_0x11e7a3){const _0x290b88=function(_0x2250da){while(--_0x2250da){_0x4af8e0['push'](_0x4af8e0['shift']());}};_0x290b88(++_0x11e7a3);}(_0x11e7,0x19f));const _0x290b=function(_0x4af8e0,_0x11e7a3){_0x4af8e0=_0x4af8e0-0x0;let _0x290b88=_0x11e7[_0x4af8e0];return _0x290b88;};import{Plugin as _0x306841}from'ckeditor5/src/core';export default class Z extends _0x306841{constructor(_0x1f3528){super(_0x1f3528),this['_trackChangesValueDuringImport']=!0x1,this[_0x290b('0x0')]=!0x1;}[_0x290b('0x5')](){const _0x569794=this[_0x290b('0x1')],_0x51bd5c=_0x569794['commands'][_0x290b('0x6')](_0x290b('0x4')),_0x227505=_0x569794[_0x290b('0x8')][_0x290b('0x6')](_0x290b('0x12'));_0x51bd5c&&(_0x51bd5c['on'](_0x290b('0x15'),(_0x4e582e,[,_0x63b505])=>{this['_trackChangesValueDuringImport']=_0x227505[_0x290b('0xe')],_0x63b505[_0x290b('0x3')][_0x290b('0x7')]=!this[_0x290b('0xb')];},{'priority':_0x290b('0xd')}),this[_0x290b('0x9')](_0x51bd5c,_0x290b('0xc'),this[_0x290b('0x13')][_0x290b('0x10')](this)),this['listenTo'](_0x51bd5c,_0x290b('0xc'),()=>{this[_0x290b('0x0')]&&(_0x227505[_0x290b('0x15')](),this[_0x290b('0x0')]=!0x1);},{'priority':'lowest'}),_0x569794[_0x290b('0x2')][_0x290b('0x6')](_0x290b('0xa'))[_0x290b('0x14')](_0x290b('0x4')));}[_0x290b('0x13')](_0x7f24d7,_0x5a15a9){const {suggestions:_0xe8ac57}=_0x5a15a9,_0x45bf6d=this[_0x290b('0x1')]['commands'][_0x290b('0x6')]('trackChanges'),_0x3983ad=_0x45bf6d[_0x290b('0xe')];this[_0x290b('0xb')]!==_0x3983ad&&(_0x45bf6d[_0x290b('0x15')](),this[_0x290b('0x0')]=!0x0),_0xe8ac57&&_0xe8ac57[_0x290b('0x11')](({id:_0x116818,type:_0x35c63a,author:_0x10a024,created_at:_0x27637c})=>{const _0x42394e={'id':_0x116818,'type':_0x35c63a,'authorId':this[_0x290b('0x1')]['plugins'][_0x290b('0x6')](_0x290b('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x10a024,'createdAt':_0x27637c?new Date(_0x27637c):new Date(),'source':_0x290b('0x4')}}};this['editor'][_0x290b('0x2')][_0x290b('0x6')]('TrackChangesEditing')['_setSuggestionData'](_0x42394e);});}}
23
+ const _0x5b9b=['track_changes','dataInsert','lowest','_setSuggestionData','value','get','afterInit','_trackChangesExecuted','editor','enableCommand','_trackChangesValueDuringImport','_handleImportedData','commands','TrackChangesEditing','plugins','listenTo','execute','trackChanges','importWord'];(function(_0x170ef0,_0x5b9b6e){const _0x488443=function(_0x35815d){while(--_0x35815d){_0x170ef0['push'](_0x170ef0['shift']());}};_0x488443(++_0x5b9b6e);}(_0x5b9b,0xc4));const _0x4884=function(_0x170ef0,_0x5b9b6e){_0x170ef0=_0x170ef0-0x0;let _0x488443=_0x5b9b[_0x170ef0];return _0x488443;};import{Plugin as _0x433063}from'ckeditor5/src/core';export default class Z extends _0x433063{constructor(_0x5d4cf7){super(_0x5d4cf7),this[_0x4884('0x4')]=!0x1,this[_0x4884('0x1')]=!0x1;}[_0x4884('0x0')](){const _0x222c2a=this['editor'],_0x5713f5=_0x222c2a[_0x4884('0x6')][_0x4884('0x12')]('importWord'),_0x4f4638=_0x222c2a[_0x4884('0x6')]['get'](_0x4884('0xb'));_0x5713f5&&(_0x5713f5['on'](_0x4884('0xa'),(_0xbf8ad7,[,_0x5ecf95])=>{this['_trackChangesValueDuringImport']=_0x4f4638[_0x4884('0x11')],_0x5ecf95['collaboration_features'][_0x4884('0xd')]=!this[_0x4884('0x4')];},{'priority':'high'}),this[_0x4884('0x9')](_0x5713f5,_0x4884('0xe'),this['_handleImportedData']['bind'](this)),this[_0x4884('0x9')](_0x5713f5,_0x4884('0xe'),()=>{this[_0x4884('0x1')]&&(_0x4f4638[_0x4884('0xa')](),this[_0x4884('0x1')]=!0x1);},{'priority':_0x4884('0xf')}),_0x222c2a[_0x4884('0x8')][_0x4884('0x12')]('TrackChangesEditing')[_0x4884('0x3')](_0x4884('0xc')));}[_0x4884('0x5')](_0x1681f9,_0xafd356){const {suggestions:_0x3320ff}=_0xafd356,_0x416242=this[_0x4884('0x2')][_0x4884('0x6')][_0x4884('0x12')](_0x4884('0xb')),_0x3de1d2=_0x416242[_0x4884('0x11')];this[_0x4884('0x4')]!==_0x3de1d2&&(_0x416242[_0x4884('0xa')](),this['_trackChangesExecuted']=!0x0),_0x3320ff&&_0x3320ff['forEach'](({id:_0x5c9e79,type:_0x60a664,author:_0x1f308a,created_at:_0x1afeac})=>{const _0x23e1cc={'id':_0x5c9e79,'type':_0x60a664,'authorId':this[_0x4884('0x2')][_0x4884('0x8')][_0x4884('0x12')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1f308a,'createdAt':_0x1afeac?new Date(_0x1afeac):new Date(),'source':_0x4884('0xc')}}};this[_0x4884('0x2')][_0x4884('0x8')][_0x4884('0x12')](_0x4884('0x7'))[_0x4884('0x10')](_0x23e1cc);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x567f=['afterInit','_descriptionFactory','format','commandName','get','outdentBlock','markBlockFormat','enableCommand','indent','change','schema','plugins','IndentBlock','*Outdent:*\x20%0','has','filter','document','indentBlock','locale','getSelectedBlocks','from','*Indent:*\x20%0','getItems','model','registerDescriptionCallback','checkAttribute'];(function(_0x10b3a7,_0x567fca){const _0x6cff65=function(_0x51c432){while(--_0x51c432){_0x10b3a7['push'](_0x10b3a7['shift']());}};_0x6cff65(++_0x567fca);}(_0x567f,0xaa));const _0x6cff=function(_0x10b3a7,_0x567fca){_0x10b3a7=_0x10b3a7-0x0;let _0x6cff65=_0x567f[_0x10b3a7];return _0x6cff65;};import{Plugin as _0x2c5225}from'ckeditor5/src/core';import{getTranslation as _0x594b3b}from'../utils/common-translations';export default class tt extends _0x2c5225{[_0x6cff('0xc')](){const _0x1821a1=this['editor'],_0x473a5b=_0x1821a1[_0x6cff('0x17')][_0x6cff('0x10')]('TrackChangesEditing');_0x1821a1[_0x6cff('0x17')]['has']('IndentEditing')&&(_0x473a5b['enableCommand'](_0x6cff('0x14')),_0x473a5b['enableCommand']('outdent'));const _0x2be3a5=_0x1821a1[_0x6cff('0x4')];if(_0x1821a1['plugins'][_0x6cff('0x0')](_0x6cff('0x18'))){for(const _0x3b6f7d of[_0x6cff('0x3'),'outdentBlock'])_0x473a5b[_0x6cff('0x13')](_0x3b6f7d,()=>{const _0x3cf372=Array[_0x6cff('0x6')](this['editor'][_0x6cff('0x9')][_0x6cff('0x2')]['selection'][_0x6cff('0x5')]())[_0x6cff('0x1')](_0x4fa7df=>this['editor']['model'][_0x6cff('0x16')][_0x6cff('0xb')](_0x4fa7df,'blockIndent'));_0x1821a1[_0x6cff('0x9')][_0x6cff('0x15')](()=>{for(const _0x58dd3c of _0x3cf372)_0x473a5b[_0x6cff('0x12')](_0x58dd3c,{'commandName':_0x3b6f7d,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x473a5b[_0x6cff('0xd')][_0x6cff('0xa')](_0x17cc28=>{const {data:_0x4dfc19}=_0x17cc28;if(!_0x4dfc19)return;if(_0x6cff('0x3')!=_0x4dfc19[_0x6cff('0xf')]&&_0x6cff('0x11')!=_0x4dfc19[_0x6cff('0xf')])return;const _0x4132a8=_0x17cc28[_0x6cff('0x8')]()[0x0],_0x1c738d=_0x473a5b[_0x6cff('0xd')]['getItemLabel'](_0x4132a8);return _0x6cff('0x3')==_0x4dfc19['commandName']?{'type':_0x6cff('0xe'),'content':_0x594b3b(_0x2be3a5,_0x6cff('0x7'),_0x1c738d)}:'outdentBlock'==_0x4dfc19['commandName']?{'type':'format','content':_0x594b3b(_0x2be3a5,_0x6cff('0x19'),_0x1c738d)}:void 0x0;});}}}
23
+ const _0x1bb6=['get','markBlockFormat','model','checkAttribute','TrackChangesEditing','outdentBlock','filter','indentBlock','commandName','format','*Outdent:*\x20%0','from','locale','plugins','_descriptionFactory','selection','IndentEditing','getSelectedBlocks','enableCommand','*Indent:*\x20%0','registerDescriptionCallback','getItems','IndentBlock','editor','has','document','indent','outdent','afterInit','blockIndent'];(function(_0x16d1fd,_0x1bb6fe){const _0x3af015=function(_0x5eed38){while(--_0x5eed38){_0x16d1fd['push'](_0x16d1fd['shift']());}};_0x3af015(++_0x1bb6fe);}(_0x1bb6,0xc3));const _0x3af0=function(_0x16d1fd,_0x1bb6fe){_0x16d1fd=_0x16d1fd-0x0;let _0x3af015=_0x1bb6[_0x16d1fd];return _0x3af015;};import{Plugin as _0x25b371}from'ckeditor5/src/core';import{getTranslation as _0x36493a}from'../utils/common-translations';export default class tt extends _0x25b371{[_0x3af0('0xd')](){const _0x2f7e7d=this[_0x3af0('0x8')],_0xfc07f0=_0x2f7e7d[_0x3af0('0x1c')][_0x3af0('0xf')](_0x3af0('0x13'));_0x2f7e7d['plugins']['has'](_0x3af0('0x1'))&&(_0xfc07f0[_0x3af0('0x3')](_0x3af0('0xb')),_0xfc07f0[_0x3af0('0x3')](_0x3af0('0xc')));const _0x5da3e9=_0x2f7e7d[_0x3af0('0x1b')];if(_0x2f7e7d['plugins'][_0x3af0('0x9')](_0x3af0('0x7'))){for(const _0x5ab197 of[_0x3af0('0x16'),_0x3af0('0x14')])_0xfc07f0[_0x3af0('0x3')](_0x5ab197,()=>{const _0x2e985a=Array[_0x3af0('0x1a')](this[_0x3af0('0x8')][_0x3af0('0x11')][_0x3af0('0xa')][_0x3af0('0x0')][_0x3af0('0x2')]())[_0x3af0('0x15')](_0x538512=>this['editor'][_0x3af0('0x11')]['schema'][_0x3af0('0x12')](_0x538512,_0x3af0('0xe')));_0x2f7e7d[_0x3af0('0x11')]['change'](()=>{for(const _0x3dae81 of _0x2e985a)_0xfc07f0[_0x3af0('0x10')](_0x3dae81,{'commandName':_0x5ab197,'commandParams':[{'value':''}],'formatGroupId':_0x3af0('0x16')});});});_0xfc07f0[_0x3af0('0x1d')][_0x3af0('0x5')](_0x25fcfb=>{const {data:_0x210f24}=_0x25fcfb;if(!_0x210f24)return;if(_0x3af0('0x16')!=_0x210f24['commandName']&&_0x3af0('0x14')!=_0x210f24[_0x3af0('0x17')])return;const _0xd04f38=_0x25fcfb[_0x3af0('0x6')]()[0x0],_0x39f9db=_0xfc07f0['_descriptionFactory']['getItemLabel'](_0xd04f38);return _0x3af0('0x16')==_0x210f24[_0x3af0('0x17')]?{'type':_0x3af0('0x18'),'content':_0x36493a(_0x5da3e9,_0x3af0('0x4'),_0x39f9db)}:_0x3af0('0x14')==_0x210f24[_0x3af0('0x17')]?{'type':_0x3af0('0x18'),'content':_0x36493a(_0x5da3e9,_0x3af0('0x19'),_0x39f9db)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b78=['editor','plugins','init','enableCommand','input','get'];(function(_0x1e204f,_0x2b7862){var _0x26aa4d=function(_0x5d6f09){while(--_0x5d6f09){_0x1e204f['push'](_0x1e204f['shift']());}};_0x26aa4d(++_0x2b7862);}(_0x2b78,0xe2));var _0x26aa=function(_0x1e204f,_0x2b7862){_0x1e204f=_0x1e204f-0x0;var _0x26aa4d=_0x2b78[_0x1e204f];return _0x26aa4d;};import{Plugin as _0xb16842}from'ckeditor5/src/core';import{Input as _0x1a6cfb}from'ckeditor5/src/typing';export default class it extends _0xb16842{static get['requires'](){return[_0x1a6cfb];}[_0x26aa('0x4')](){this[_0x26aa('0x2')][_0x26aa('0x3')][_0x26aa('0x1')]('TrackChangesEditing')[_0x26aa('0x5')](_0x26aa('0x0'));}}
23
+ var _0x4862=['plugins','get','init','editor','enableCommand'];(function(_0x544505,_0x486241){var _0x2f7c25=function(_0x50dfd9){while(--_0x50dfd9){_0x544505['push'](_0x544505['shift']());}};_0x2f7c25(++_0x486241);}(_0x4862,0x1c6));var _0x2f7c=function(_0x544505,_0x486241){_0x544505=_0x544505-0x0;var _0x2f7c25=_0x4862[_0x544505];return _0x2f7c25;};import{Plugin as _0x40b6ab}from'ckeditor5/src/core';import{Input as _0x2f81df}from'ckeditor5/src/typing';export default class it extends _0x40b6ab{static get['requires'](){return[_0x2f81df];}[_0x2f7c('0x3')](){this[_0x2f7c('0x4')][_0x2f7c('0x1')][_0x2f7c('0x2')]('TrackChangesEditing')[_0x2f7c('0x0')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x129f=['afterInit','unlink','getRanges','LinkEditing','format','TrackChangesEditing','link','change','plugins','markInlineFormat','*Set\x20link:*\x20%0','getFirstRange','enableCommand','*Remove\x20link*','from','selection','hasAttribute','linkHref','locale','editor','model','isCollapsed','getAttribute','document','registerDescriptionCallback'];(function(_0x497713,_0x129f9b){const _0x39f86d=function(_0x241f7f){while(--_0x241f7f){_0x497713['push'](_0x497713['shift']());}};_0x39f86d(++_0x129f9b);}(_0x129f,0x198));const _0x39f8=function(_0x497713,_0x129f9b){_0x497713=_0x497713-0x0;let _0x39f86d=_0x129f[_0x497713];return _0x39f86d;};import{Plugin as _0x42c32f}from'ckeditor5/src/core';import{findAttributeRange as _0x10813c}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x207119}from'./utils';import{getTranslation as _0x17df48}from'../utils/common-translations';export default class et extends _0x42c32f{[_0x39f8('0x11')](){const _0x4d8067=this[_0x39f8('0xb')];if(!_0x4d8067[_0x39f8('0x0')]['has'](_0x39f8('0x14')))return;const _0x43deff=_0x4d8067[_0x39f8('0x0')]['get'](_0x39f8('0x16'));_0x43deff[_0x39f8('0x4')](_0x39f8('0x17'),(_0x14ee44,_0x3196b1)=>{const _0x178501=_0x4d8067[_0x39f8('0xc')][_0x39f8('0xf')][_0x39f8('0x7')];let _0x425598=[];if(_0x178501[_0x39f8('0xd')]){if(!_0x178501[_0x39f8('0x8')](_0x39f8('0x9')))return void _0x14ee44(_0x3196b1);{const _0x5853e8=_0x10813c(_0x178501['getFirstPosition'](),_0x39f8('0x9'),_0x178501['getAttribute'](_0x39f8('0x9')),_0x4d8067[_0x39f8('0xc')]);_0x425598=[_0x5853e8];}}else _0x425598=Array[_0x39f8('0x6')](_0x178501[_0x39f8('0x13')]());_0x4d8067[_0x39f8('0xc')][_0x39f8('0x18')](()=>{for(const _0x4c9edf of _0x425598)_0x43deff[_0x39f8('0x1')](_0x4c9edf,{'commandName':_0x39f8('0x17'),'commandParams':[_0x3196b1]});});}),_0x43deff[_0x39f8('0x4')](_0x39f8('0x12'),()=>{const _0xf40403=this[_0x39f8('0xb')][_0x39f8('0xc')],_0x126064=_0xf40403[_0x39f8('0xf')][_0x39f8('0x7')];_0xf40403[_0x39f8('0x18')](()=>{let _0x3a0430=[];if(_0x126064[_0x39f8('0xd')])_0x3a0430=[_0x10813c(_0x126064['getFirstPosition'](),'linkHref',_0x126064[_0x39f8('0xe')]('linkHref'),_0x4d8067['model'])];else _0x3a0430=_0x207119('linkHref',_0x126064[_0x39f8('0x3')](),_0x4d8067['model']);for(const _0x1ca8e6 of _0x3a0430)_0x43deff['markInlineFormat'](_0x1ca8e6,{'commandName':_0x39f8('0x12'),'commandParams':[]});});}),_0x43deff['_descriptionFactory'][_0x39f8('0x10')](_0x2b6694=>{const {data:_0x9afcd2}=_0x2b6694,_0x3304ac=_0x4d8067[_0x39f8('0xa')];if(_0x9afcd2){if(_0x39f8('0x17')==_0x9afcd2['commandName']){const _0x1cd3b0=_0x9afcd2['commandParams'][0x0];return{'type':_0x39f8('0x15'),'content':_0x17df48(_0x3304ac,_0x39f8('0x2'),'\x22'+_0x1cd3b0+'\x22')};}return _0x39f8('0x12')==_0x9afcd2['commandName']?{'type':_0x39f8('0x15'),'content':_0x17df48(_0x3304ac,_0x39f8('0x5'))}:void 0x0;}});}}
23
+ const _0x337c=['plugins','afterInit','commandName','change','_descriptionFactory','unlink','getAttribute','linkHref','hasAttribute','get','link','getFirstPosition','selection','format','isCollapsed','TrackChangesEditing','markInlineFormat','from','has','model','locale','editor','enableCommand','getFirstRange','LinkEditing','getRanges'];(function(_0x15ea27,_0x337ca6){const _0x351737=function(_0x31a510){while(--_0x31a510){_0x15ea27['push'](_0x15ea27['shift']());}};_0x351737(++_0x337ca6);}(_0x337c,0xc0));const _0x3517=function(_0x15ea27,_0x337ca6){_0x15ea27=_0x15ea27-0x0;let _0x351737=_0x337c[_0x15ea27];return _0x351737;};import{Plugin as _0x21d0ee}from'ckeditor5/src/core';import{findAttributeRange as _0x266cb7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2daa47}from'./utils';import{getTranslation as _0x1d9288}from'../utils/common-translations';export default class et extends _0x21d0ee{[_0x3517('0x11')](){const _0x46edc9=this[_0x3517('0xb')];if(!_0x46edc9['plugins'][_0x3517('0x8')](_0x3517('0xe')))return;const _0x580354=_0x46edc9[_0x3517('0x10')][_0x3517('0x19')](_0x3517('0x5'));_0x580354[_0x3517('0xc')](_0x3517('0x0'),(_0x5d5865,_0x559399)=>{const _0x25d39e=_0x46edc9[_0x3517('0x9')]['document'][_0x3517('0x2')];let _0x2ffe32=[];if(_0x25d39e['isCollapsed']){if(!_0x25d39e[_0x3517('0x18')](_0x3517('0x17')))return void _0x5d5865(_0x559399);{const _0x2e74c9=_0x266cb7(_0x25d39e[_0x3517('0x1')](),_0x3517('0x17'),_0x25d39e[_0x3517('0x16')](_0x3517('0x17')),_0x46edc9[_0x3517('0x9')]);_0x2ffe32=[_0x2e74c9];}}else _0x2ffe32=Array[_0x3517('0x7')](_0x25d39e[_0x3517('0xf')]());_0x46edc9[_0x3517('0x9')][_0x3517('0x13')](()=>{for(const _0xea252b of _0x2ffe32)_0x580354['markInlineFormat'](_0xea252b,{'commandName':_0x3517('0x0'),'commandParams':[_0x559399]});});}),_0x580354[_0x3517('0xc')](_0x3517('0x15'),()=>{const _0x5e2988=this[_0x3517('0xb')]['model'],_0x50cc04=_0x5e2988['document'][_0x3517('0x2')];_0x5e2988[_0x3517('0x13')](()=>{let _0x131018=[];if(_0x50cc04[_0x3517('0x4')])_0x131018=[_0x266cb7(_0x50cc04[_0x3517('0x1')](),'linkHref',_0x50cc04['getAttribute'](_0x3517('0x17')),_0x46edc9[_0x3517('0x9')])];else _0x131018=_0x2daa47('linkHref',_0x50cc04[_0x3517('0xd')](),_0x46edc9[_0x3517('0x9')]);for(const _0x4d4caa of _0x131018)_0x580354[_0x3517('0x6')](_0x4d4caa,{'commandName':_0x3517('0x15'),'commandParams':[]});});}),_0x580354[_0x3517('0x14')]['registerDescriptionCallback'](_0x447e11=>{const {data:_0x4df6c5}=_0x447e11,_0x3d133c=_0x46edc9[_0x3517('0xa')];if(_0x4df6c5){if('link'==_0x4df6c5[_0x3517('0x12')]){const _0x2ce013=_0x4df6c5['commandParams'][0x0];return{'type':'format','content':_0x1d9288(_0x3d133c,'*Set\x20link:*\x20%0','\x22'+_0x2ce013+'\x22')};}return _0x3517('0x15')==_0x4df6c5[_0x3517('0x12')]?{'type':_0x3517('0x3'),'content':_0x1d9288(_0x3d133c,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1add=['ListEditing','enableCommand','ELEMENT_LIST_ITEM','blockName','getAttribute','model','todoList','*Outdent:*\x20%0','element','ELEMENT_BULLETED_LIST','*Indent:*\x20%0','numbered','filter','editor','push','end','locale','add','commandName','getSelectedBlocks','nextSibling','createPositionAt','execute','registerDescriptionCallback','*Change\x20to:*\x20%0','todoListChecked','bulleted','name','listItem','value','TrackChangesEditing','get','from','*Check\x20item*','_descriptionFactory','plugins','format','numberedList','replace','listIndent','commands','ELEMENT_NUMBERED_LIST','todo','findIndex','previousSibling','commandParams','document','paragraph','checkChild','checkTodoList','listType','has','forceValue','markBlockFormat','TodoListEditing','schema','change','parent','bulletedList','List','indentList','selection','afterInit','length','outdentList','ELEMENT_TODO_LIST','createRange'];(function(_0x2d4080,_0x1addda){const _0x1a5bb8=function(_0x4850d0){while(--_0x4850d0){_0x2d4080['push'](_0x2d4080['shift']());}};_0x1a5bb8(++_0x1addda);}(_0x1add,0x122));const _0x1a5b=function(_0x2d4080,_0x1addda){_0x2d4080=_0x2d4080-0x0;let _0x1a5bb8=_0x1add[_0x2d4080];return _0x1a5bb8;};import{Plugin as _0x49a266}from'ckeditor5/src/core';import{getTranslation as _0x34912b}from'../utils/common-translations';export default class nt extends _0x49a266{[_0x1a5b('0x28')](){const _0xcf7bbc=this[_0x1a5b('0x3a')],_0x144dc9=_0xcf7bbc[_0x1a5b('0x3d')];if(!_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x1d')](_0x1a5b('0x2d')))return;const _0x2d9cf3=_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x9')](_0x1a5b('0x8')),_0x24b319=_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x1d')](_0x1a5b('0x20'));function _0x107559(_0x243181){return()=>{const _0x5728e0=_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x18')][_0x1a5b('0x27')],_0x572a7e=_0xcf7bbc[_0x1a5b('0x12')][_0x1a5b('0x9')](_0x243181);if(_0x572a7e[_0x1a5b('0x7')])return void _0xcf7bbc[_0x1a5b('0x0')](_0x1a5b('0x19'),{});const _0x5054f8=_0x243181['slice'](0x0,-0x4),_0x5b80cb=function(_0xee2d99,_0x3f8a25,_0x8a2a){let _0x2c5505=Array['from'](_0xee2d99)['filter'](_0x53aa25=>function(_0x20a344,_0x332ef0){return _0x332ef0[_0x1a5b('0x1a')](_0x20a344[_0x1a5b('0x23')],'listItem')&&!_0x332ef0['isObject'](_0x20a344);}(_0x53aa25,_0x8a2a));_0x2c5505=_0x2c5505[_0x1a5b('0x39')](_0x2a2640=>!_0x2a2640['is']('element',_0x1a5b('0x6'))||_0x2a2640[_0x1a5b('0x31')](_0x1a5b('0x1c'))!=_0x3f8a25);const _0x23cf2b=new Set();for(const _0x50d5e8 of _0x2c5505)_0x50d5e8['is'](_0x1a5b('0x35'),_0x1a5b('0x6'))?_0x23cf2b[_0x1a5b('0x3e')](ne(_0x50d5e8)):_0x23cf2b['add'](_0x50d5e8);return Array['from'](_0x23cf2b);}(_0x5728e0[_0x1a5b('0x40')](),_0x5054f8,_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x21')]);_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{for(const _0x30deaf of _0x5b80cb)_0x2d9cf3[_0x1a5b('0x1f')](_0x30deaf,{'commandName':_0x243181,'commandParams':[{'forceValue':!_0x572a7e[_0x1a5b('0x7')]}],'formatGroupId':_0x1a5b('0x30')},oe(_0x30deaf));});};}function _0x3410f5(_0x5e7b3a){return()=>{const _0x50bbce=function(_0x583f9f){let _0x52245c=Array[_0x1a5b('0xa')](_0x583f9f);const _0x334a32=_0x52245c[_0x1a5b('0x15')](_0x5dd155=>_0x1a5b('0x6')!=_0x5dd155['name']);return _0x334a32>-0x1&&(_0x52245c=_0x52245c['slice'](0x0,_0x334a32)),_0x52245c;}(_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x18')][_0x1a5b('0x27')][_0x1a5b('0x40')]()),_0x11081e=_0xcf7bbc['model'][_0x1a5b('0x2c')](_0xcf7bbc['model'][_0x1a5b('0x42')](_0x50bbce[0x0],'before'),_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x42')](_0x50bbce[_0x50bbce[_0x1a5b('0x29')]-0x1],_0x1a5b('0x3c')));_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{_0x2d9cf3[_0x1a5b('0x1f')](_0x11081e,{'commandName':_0x5e7b3a,'commandParams':[],'formatGroupId':'listIndent'},function(_0x48c68f){const _0x54164e=new Set();for(const _0x3de20c of _0x48c68f){let _0x16817c=_0x3de20c[_0x1a5b('0x41')];for(;_0x16817c&&_0x16817c[_0x1a5b('0x31')]('listIndent')>_0x3de20c[_0x1a5b('0x31')](_0x1a5b('0x11'));)_0x54164e[_0x1a5b('0x3e')](_0x16817c),_0x16817c=_0x16817c['nextSibling'];}return Array['from'](_0x54164e);}(_0x50bbce));});};}_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0xf'),_0x107559(_0x1a5b('0xf'))),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x24'),_0x107559(_0x1a5b('0x24'))),_0x24b319&&_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x33'),_0x107559('todoList')),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x26'),_0x3410f5(_0x1a5b('0x26'))),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x2a'),_0x3410f5(_0x1a5b('0x2a'))),_0x24b319&&_0x2d9cf3['enableCommand']('checkTodoList',()=>{const _0x57c028=_0xcf7bbc['commands']['get'](_0x1a5b('0x1b')),_0x337f02=Array[_0x1a5b('0xa')](_0x57c028['_selectedElements']);_0x337f02[_0x1a5b('0x39')](_0x15bd31=>_0x15bd31[_0x1a5b('0x31')](_0x1a5b('0x3'))!=_0x57c028['value']),_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{for(const _0x36c2d8 of _0x337f02)_0x2d9cf3[_0x1a5b('0x1f')](_0x36c2d8,{'commandName':_0x1a5b('0x1b'),'commandParams':[{'forceValue':!_0x57c028['value']}]});});}),_0x2d9cf3[_0x1a5b('0xc')]['registerElementLabel'](_0x1a5b('0x6'),_0x2da9cf=>_0x34912b(_0x144dc9,_0x1a5b('0x2f'),_0x2da9cf)),_0x2d9cf3[_0x1a5b('0xc')][_0x1a5b('0x1')](_0x1886dc=>{const {data:_0x5d101e}=_0x1886dc;if(_0x5d101e){if(_0x1a5b('0xf')==_0x5d101e[_0x1a5b('0x3f')]||_0x1a5b('0x24')==_0x5d101e['commandName']||'todoList'==_0x5d101e['commandName'])switch(_0x5d101e[_0x1a5b('0x3f')][_0x1a5b('0x10')](_0x1a5b('0x25'),'')){case _0x1a5b('0x4'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x36')));case _0x1a5b('0x38'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x13')));case _0x1a5b('0x14'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x2b')));}if(_0x1a5b('0x26')==_0x5d101e[_0x1a5b('0x3f')])return{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0x37'),_0x34912b(_0x144dc9,_0x1a5b('0x2f')))};if(_0x1a5b('0x2a')==_0x5d101e[_0x1a5b('0x3f')])return{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0x34'),_0x34912b(_0x144dc9,_0x1a5b('0x2f')))};if(_0x1a5b('0x1b')==_0x5d101e[_0x1a5b('0x3f')])return _0x5d101e[_0x1a5b('0x17')][0x0][_0x1a5b('0x1e')]?{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0xb'))}:{'type':'format','content':_0x34912b(_0x144dc9,'*Uncheck\x20item*')};}function _0x596ce1(_0x969f66){return{'type':'format','content':_0x34912b(_0x144dc9,_0x1a5b('0x2'),_0x969f66)};}});}}function ne(_0x419f63){const _0x14846d=_0x419f63['getAttribute'](_0x1a5b('0x11'));if(0x0==_0x14846d)return _0x419f63;let _0x1029a3=_0x419f63;for(;_0x419f63[_0x1a5b('0x16')]&&_0x419f63[_0x1a5b('0x16')]['is'](_0x1a5b('0x35'),'listItem');){const _0x467300=_0x419f63['previousSibling'][_0x1a5b('0x31')](_0x1a5b('0x11'));if(_0x467300==_0x14846d)_0x1029a3=_0x419f63[_0x1a5b('0x16')];else{if(_0x467300<_0x14846d)break;}_0x419f63=_0x419f63['previousSibling'];}return _0x1029a3;}function oe(_0x555c7d){const _0x59f7cc=[];if(_0x555c7d['is'](_0x1a5b('0x35'),_0x1a5b('0x6'))&&_0x555c7d['getAttribute']('listIndent')>0x0){let _0x26a1aa=_0x555c7d[_0x1a5b('0x41')];for(;_0x26a1aa&&'listItem'==_0x26a1aa[_0x1a5b('0x5')]&&_0x26a1aa[_0x1a5b('0x31')](_0x1a5b('0x11'))==_0x555c7d[_0x1a5b('0x31')](_0x1a5b('0x11'));)_0x59f7cc[_0x1a5b('0x3b')](_0x26a1aa),_0x26a1aa=_0x26a1aa[_0x1a5b('0x41')];}return _0x59f7cc;}
23
+ const _0x3b0d=['format','add','listIndent','indentList','value','getAttribute','*Indent:*\x20%0','replace','findIndex','*Uncheck\x20item*','*Change\x20to:*\x20%0','createRange','filter','change','before','registerElementLabel','forceValue','createPositionAt','TodoListEditing','paragraph','parent','execute','List','end','bulleted','numberedList','numbered','name','commandName','nextSibling','ELEMENT_TODO_LIST','checkChild','todoList','selection','todoListChecked','bulletedList','get','length','from','plugins','blockName','ELEMENT_LIST_ITEM','*Outdent:*\x20%0','afterInit','document','getSelectedBlocks','editor','_descriptionFactory','TrackChangesEditing','commandParams','slice','model','locale','checkTodoList','enableCommand','outdentList','previousSibling','listItem','listType','markBlockFormat','schema'];(function(_0x54359c,_0x3b0d08){const _0xad5564=function(_0x4d225e){while(--_0x4d225e){_0x54359c['push'](_0x54359c['shift']());}};_0xad5564(++_0x3b0d08);}(_0x3b0d,0x1c6));const _0xad55=function(_0x54359c,_0x3b0d08){_0x54359c=_0x54359c-0x0;let _0xad5564=_0x3b0d[_0x54359c];return _0xad5564;};import{Plugin as _0x28b56c}from'ckeditor5/src/core';import{getTranslation as _0x20be9b}from'../utils/common-translations';export default class nt extends _0x28b56c{[_0xad55('0x10')](){const _0x132793=this[_0xad55('0x13')],_0x10a649=_0x132793[_0xad55('0x19')];if(!_0x132793[_0xad55('0xc')]['has']('ListEditing'))return;const _0x11a76c=_0x132793[_0xad55('0xc')][_0xad55('0x9')](_0xad55('0x15')),_0x2fd1f0=_0x132793[_0xad55('0xc')]['has'](_0xad55('0x34'));function _0x229a7a(_0x5f313e){return()=>{const _0x4642c0=_0x132793['model']['document'][_0xad55('0x6')],_0x2c329d=_0x132793['commands'][_0xad55('0x9')](_0x5f313e);if(_0x2c329d[_0xad55('0x26')])return void _0x132793[_0xad55('0x37')](_0xad55('0x35'),{});const _0x23cac9=_0x5f313e[_0xad55('0x17')](0x0,-0x4),_0x13223f=function(_0x26d129,_0x2e6dc0,_0x3fef9b){let _0x57ef03=Array[_0xad55('0xb')](_0x26d129)[_0xad55('0x2e')](_0xa5287c=>function(_0x82d61b,_0x18dce3){return _0x18dce3[_0xad55('0x4')](_0x82d61b[_0xad55('0x36')],_0xad55('0x1e'))&&!_0x18dce3['isObject'](_0x82d61b);}(_0xa5287c,_0x3fef9b));_0x57ef03=_0x57ef03['filter'](_0x25ec51=>!_0x25ec51['is']('element','listItem')||_0x25ec51[_0xad55('0x27')](_0xad55('0x1f'))!=_0x2e6dc0);const _0x22185a=new Set();for(const _0x331162 of _0x57ef03)_0x331162['is']('element','listItem')?_0x22185a[_0xad55('0x23')](ne(_0x331162)):_0x22185a[_0xad55('0x23')](_0x331162);return Array[_0xad55('0xb')](_0x22185a);}(_0x4642c0[_0xad55('0x12')](),_0x23cac9,_0x132793['model'][_0xad55('0x21')]);_0x132793[_0xad55('0x18')]['change'](()=>{for(const _0x2a423a of _0x13223f)_0x11a76c['markBlockFormat'](_0x2a423a,{'commandName':_0x5f313e,'commandParams':[{'forceValue':!_0x2c329d[_0xad55('0x26')]}],'formatGroupId':_0xad55('0xd')},oe(_0x2a423a));});};}function _0x4fe0e2(_0x164c43){return()=>{const _0x14e1a2=function(_0x21e344){let _0x48e0c1=Array['from'](_0x21e344);const _0x2b704f=_0x48e0c1[_0xad55('0x2a')](_0x2f0386=>_0xad55('0x1e')!=_0x2f0386['name']);return _0x2b704f>-0x1&&(_0x48e0c1=_0x48e0c1[_0xad55('0x17')](0x0,_0x2b704f)),_0x48e0c1;}(_0x132793[_0xad55('0x18')][_0xad55('0x11')][_0xad55('0x6')][_0xad55('0x12')]()),_0x156c3d=_0x132793[_0xad55('0x18')][_0xad55('0x2d')](_0x132793['model'][_0xad55('0x33')](_0x14e1a2[0x0],_0xad55('0x30')),_0x132793[_0xad55('0x18')][_0xad55('0x33')](_0x14e1a2[_0x14e1a2[_0xad55('0xa')]-0x1],_0xad55('0x39')));_0x132793[_0xad55('0x18')]['change'](()=>{_0x11a76c[_0xad55('0x20')](_0x156c3d,{'commandName':_0x164c43,'commandParams':[],'formatGroupId':'listIndent'},function(_0x40daba){const _0xa5eb9a=new Set();for(const _0x3988c9 of _0x40daba){let _0x1ce4a4=_0x3988c9[_0xad55('0x2')];for(;_0x1ce4a4&&_0x1ce4a4['getAttribute'](_0xad55('0x24'))>_0x3988c9[_0xad55('0x27')](_0xad55('0x24'));)_0xa5eb9a[_0xad55('0x23')](_0x1ce4a4),_0x1ce4a4=_0x1ce4a4[_0xad55('0x2')];}return Array[_0xad55('0xb')](_0xa5eb9a);}(_0x14e1a2));});};}_0x11a76c[_0xad55('0x1b')](_0xad55('0x3b'),_0x229a7a('numberedList')),_0x11a76c[_0xad55('0x1b')]('bulletedList',_0x229a7a(_0xad55('0x8'))),_0x2fd1f0&&_0x11a76c[_0xad55('0x1b')](_0xad55('0x5'),_0x229a7a(_0xad55('0x5'))),_0x11a76c['enableCommand'](_0xad55('0x25'),_0x4fe0e2('indentList')),_0x11a76c[_0xad55('0x1b')](_0xad55('0x1c'),_0x4fe0e2(_0xad55('0x1c'))),_0x2fd1f0&&_0x11a76c[_0xad55('0x1b')]('checkTodoList',()=>{const _0x2fcd6c=_0x132793['commands'][_0xad55('0x9')](_0xad55('0x1a')),_0x4c8de6=Array['from'](_0x2fcd6c['_selectedElements']);_0x4c8de6[_0xad55('0x2e')](_0x77a112=>_0x77a112[_0xad55('0x27')](_0xad55('0x7'))!=_0x2fcd6c['value']),_0x132793[_0xad55('0x18')][_0xad55('0x2f')](()=>{for(const _0x86c9d2 of _0x4c8de6)_0x11a76c[_0xad55('0x20')](_0x86c9d2,{'commandName':_0xad55('0x1a'),'commandParams':[{'forceValue':!_0x2fcd6c[_0xad55('0x26')]}]});});}),_0x11a76c[_0xad55('0x14')][_0xad55('0x31')](_0xad55('0x1e'),_0x195e74=>_0x20be9b(_0x10a649,'ELEMENT_LIST_ITEM',_0x195e74)),_0x11a76c[_0xad55('0x14')]['registerDescriptionCallback'](_0x1dbf8d=>{const {data:_0x14c621}=_0x1dbf8d;if(_0x14c621){if('numberedList'==_0x14c621[_0xad55('0x1')]||_0xad55('0x8')==_0x14c621['commandName']||_0xad55('0x5')==_0x14c621[_0xad55('0x1')])switch(_0x14c621[_0xad55('0x1')][_0xad55('0x29')](_0xad55('0x38'),'')){case _0xad55('0x3a'):return _0x11a515(_0x20be9b(_0x10a649,'ELEMENT_BULLETED_LIST'));case _0xad55('0x3c'):return _0x11a515(_0x20be9b(_0x10a649,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x11a515(_0x20be9b(_0x10a649,_0xad55('0x3')));}if(_0xad55('0x25')==_0x14c621[_0xad55('0x1')])return{'type':'format','content':_0x20be9b(_0x10a649,_0xad55('0x28'),_0x20be9b(_0x10a649,_0xad55('0xe')))};if(_0xad55('0x1c')==_0x14c621[_0xad55('0x1')])return{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0xf'),_0x20be9b(_0x10a649,_0xad55('0xe')))};if('checkTodoList'==_0x14c621['commandName'])return _0x14c621[_0xad55('0x16')][0x0][_0xad55('0x32')]?{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,'*Check\x20item*')}:{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0x2b'))};}function _0x11a515(_0x265184){return{'type':_0xad55('0x22'),'content':_0x20be9b(_0x10a649,_0xad55('0x2c'),_0x265184)};}});}}function ne(_0x4da6db){const _0x2c4c7c=_0x4da6db[_0xad55('0x27')](_0xad55('0x24'));if(0x0==_0x2c4c7c)return _0x4da6db;let _0x58d121=_0x4da6db;for(;_0x4da6db['previousSibling']&&_0x4da6db[_0xad55('0x1d')]['is']('element',_0xad55('0x1e'));){const _0x546a33=_0x4da6db[_0xad55('0x1d')][_0xad55('0x27')](_0xad55('0x24'));if(_0x546a33==_0x2c4c7c)_0x58d121=_0x4da6db['previousSibling'];else{if(_0x546a33<_0x2c4c7c)break;}_0x4da6db=_0x4da6db[_0xad55('0x1d')];}return _0x58d121;}function oe(_0x45a16a){const _0x2f21b3=[];if(_0x45a16a['is']('element',_0xad55('0x1e'))&&_0x45a16a[_0xad55('0x27')]('listIndent')>0x0){let _0x25ae35=_0x45a16a[_0xad55('0x2')];for(;_0x25ae35&&_0xad55('0x1e')==_0x25ae35[_0xad55('0x0')]&&_0x25ae35[_0xad55('0x27')](_0xad55('0x24'))==_0x45a16a[_0xad55('0x27')](_0xad55('0x24'));)_0x2f21b3['push'](_0x25ae35),_0x25ae35=_0x25ae35[_0xad55('0x2')];}return _0x2f21b3;}