@ckeditor/ckeditor5-track-changes 38.0.0-rc.0 → 38.0.0-rc.1

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 +2 -2
  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 _0x4bb8=['fontColor','config','get','isCollapsed','fontFamily','normalizeSizeOptions','enableCommand','has','fontSize','label','*Reset\x20font\x20family*','*Reset\x20font\x20color*','FontFamilyEditing','value','title','_enableCommand','change','*Set\x20font\x20background\x20color:*\x20%0','FontBackgroundColorEditing','model','editor','fontBackgroundColor','*Set\x20font\x20color:*\x20%0','locale','*Reset\x20font\x20background\x20color*','FontColorEditing','trim','markInlineFormat','afterInit','format','plugins','commandName','registerDescriptionCallback','commandParams','FontSizeEditing','TrackChangesEditing','fontColor.colors','*Set\x20font\x20size:*\x20%0','toLowerCase','selection','getRanges','document','*Reset\x20font\x20size*','fontSize.options','fontBackgroundColor.colors','_descriptionFactory','find'];(function(_0x3ed6a2,_0x4bb842){const _0x4a21e4=function(_0x50f657){while(--_0x50f657){_0x3ed6a2['push'](_0x3ed6a2['shift']());}};_0x4a21e4(++_0x4bb842);}(_0x4bb8,0x16c));const _0x4a21=function(_0x3ed6a2,_0x4bb842){_0x3ed6a2=_0x3ed6a2-0x0;let _0x4a21e4=_0x4bb8[_0x3ed6a2];return _0x4a21e4;};import{Plugin as _0x4dfffc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x31a404}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3370be}from'./utils';import{getTranslation as _0x47330d}from'../utils/common-translations';const Zt=[{'pluginName':_0x4a21('0x2e'),'commandName':_0x4a21('0x14')},{'pluginName':_0x4a21('0x18'),'commandName':_0x4a21('0x10')},{'pluginName':_0x4a21('0x25'),'commandName':_0x4a21('0xc')},{'pluginName':_0x4a21('0x1e'),'commandName':'fontBackgroundColor'}];export default class H extends _0x4dfffc{[_0x4a21('0x28')](){const _0x5bcd49=this[_0x4a21('0x20')][_0x4a21('0x23')];for(const {pluginName:_0x51c021,commandName:_0x3a5c74}of Zt)this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0x13')](_0x51c021)&&this[_0x4a21('0x1b')](_0x3a5c74);this['editor'][_0x4a21('0x2a')]['get'](_0x4a21('0x0'))[_0x4a21('0xa')][_0x4a21('0x2c')](_0x2e4050=>{const _0x47d58e=_0x5bcd49['t'],{data:_0x3260e7}=_0x2e4050;if(null!=_0x3260e7){if(_0x4a21('0x14')==_0x3260e7['commandName']){const _0x2eb27e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x2eb27e){const _0x372ad0=_0x47d58e(this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0xe')]('FontSize')[_0x4a21('0x11')](this['editor'][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x8')))[_0x4a21('0xb')](_0x3cc08f=>_0x3cc08f[_0x4a21('0x1f')]==_0x2eb27e)[_0x4a21('0x1a')])[_0x4a21('0x3')]();return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x2'),_0x372ad0)};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x7'))};}if(_0x4a21('0x10')==_0x3260e7[_0x4a21('0x2b')]){const _0x986d2d=_0x3260e7[_0x4a21('0x2d')][0x0]['value'];return _0x986d2d?{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,'*Set\x20font\x20family:*\x20%0',_0x986d2d)}:{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x16'))};}if(_0x4a21('0xc')==_0x3260e7[_0x4a21('0x2b')]){const _0xf7502c=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0xf7502c){const _0x429510=_0x31a404(this[_0x4a21('0x20')][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x1')))['find'](_0x106439=>_0x106439['model']==_0xf7502c);let _0x2b2c61=_0xf7502c,_0x462ae8='';return _0x429510&&(_0x2b2c61=_0x429510[_0x4a21('0x15')],_0x462ae8=_0x47d58e(_0x2b2c61)[_0x4a21('0x3')]()),{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x22'),_0x462ae8)[_0x4a21('0x26')](),'color':{'value':_0xf7502c,'title':_0x462ae8||_0x2b2c61}};}return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x17'))};}if(_0x4a21('0x21')==_0x3260e7[_0x4a21('0x2b')]){const _0x5dce9e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x5dce9e){const _0xcfc772=_0x31a404(this['editor'][_0x4a21('0xd')]['get'](_0x4a21('0x9')))['find'](_0x3241e2=>_0x3241e2['model']==_0x5dce9e);let _0x37dc49=_0x5dce9e,_0x28fa2a='';return _0xcfc772&&(_0x37dc49=_0xcfc772['label'],_0x28fa2a=_0x47d58e(_0x37dc49)['toLowerCase']()),{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x1d'),_0x28fa2a)[_0x4a21('0x26')](),'color':{'value':_0x5dce9e,'title':_0x28fa2a||_0x37dc49}};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x24'))};}}});}['_enableCommand'](_0x449a8a){const _0x32497b=this[_0x4a21('0x20')];_0x32497b[_0x4a21('0x2a')][_0x4a21('0xe')]('TrackChangesEditing')[_0x4a21('0x12')](_0x449a8a,(_0x41119a,_0xd1de76={})=>{const _0x3be145=_0x32497b[_0x4a21('0x1f')][_0x4a21('0x6')][_0x4a21('0x4')],_0x4e4149=_0xd1de76[_0x4a21('0x19')];_0x3be145[_0x4a21('0xf')]?_0x41119a(_0xd1de76):_0x32497b['model'][_0x4a21('0x1c')](()=>{const _0x13b06b=Array['from'](_0x3be145[_0x4a21('0x5')]());for(const _0x626431 of _0x13b06b){const _0x13a707=_0x4e4149?[_0x626431]:_0x3370be(_0x449a8a,_0x626431,_0x32497b[_0x4a21('0x1f')]);for(const _0x19ef40 of _0x13a707)_0x32497b['plugins'][_0x4a21('0xe')](_0x4a21('0x0'))[_0x4a21('0x27')](_0x19ef40,{'commandName':_0x449a8a,'commandParams':[{'value':_0x4e4149}]});}});});}}
23
+ const _0x2e4a=['fontColor.colors','getRanges','fontFamily','afterInit','markInlineFormat','title','*Set\x20font\x20color:*\x20%0','find','FontFamilyEditing','enableCommand','config','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','model','trim','*Reset\x20font\x20family*','*Reset\x20font\x20background\x20color*','commandName','*Reset\x20font\x20color*','label','_descriptionFactory','change','value','*Set\x20font\x20background\x20color:*\x20%0','_enableCommand','editor','format','isCollapsed','registerDescriptionCallback','selection','toLowerCase','commandParams','from','fontSize.options','FontColorEditing','normalizeSizeOptions','get','fontSize','fontColor','plugins','fontBackgroundColor'];(function(_0x5cd566,_0x2e4ad1){const _0x4ac67b=function(_0x4c1aca){while(--_0x4c1aca){_0x5cd566['push'](_0x5cd566['shift']());}};_0x4ac67b(++_0x2e4ad1);}(_0x2e4a,0x1ea));const _0x4ac6=function(_0x5cd566,_0x2e4ad1){_0x5cd566=_0x5cd566-0x0;let _0x4ac67b=_0x2e4a[_0x5cd566];return _0x4ac67b;};import{Plugin as _0x3d0c54}from'ckeditor5/src/core';import{normalizeColorOptions as _0x36f73b}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5db7a3}from'./utils';import{getTranslation as _0x225cfd}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x4ac6('0x27')},{'pluginName':_0x4ac6('0xa'),'commandName':_0x4ac6('0x4')},{'pluginName':_0x4ac6('0x24'),'commandName':_0x4ac6('0x28')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x3d0c54{[_0x4ac6('0x5')](){const _0x1f7ec6=this[_0x4ac6('0x1b')]['locale'];for(const {pluginName:_0x46ea23,commandName:_0x493321}of Zt)this['editor'][_0x4ac6('0x0')]['has'](_0x46ea23)&&this[_0x4ac6('0x1a')](_0x493321);this[_0x4ac6('0x1b')][_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x16')][_0x4ac6('0x1e')](_0x1e2b6e=>{const _0x458a12=_0x1f7ec6['t'],{data:_0x13f2d3}=_0x1e2b6e;if(null!=_0x13f2d3){if('fontSize'==_0x13f2d3[_0x4ac6('0x13')]){const _0x1b4021=_0x13f2d3['commandParams'][0x0][_0x4ac6('0x18')];if(_0x1b4021){const _0x11ba20=_0x458a12(this['editor'][_0x4ac6('0x0')][_0x4ac6('0x26')]('FontSize')[_0x4ac6('0x25')](this[_0x4ac6('0x1b')]['config'][_0x4ac6('0x26')](_0x4ac6('0x23')))['find'](_0x3dcca9=>_0x3dcca9[_0x4ac6('0xf')]==_0x1b4021)[_0x4ac6('0x7')])[_0x4ac6('0x20')]();return{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0xe'),_0x11ba20)};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,'*Reset\x20font\x20size*')};}if(_0x4ac6('0x4')==_0x13f2d3[_0x4ac6('0x13')]){const _0x70a81d=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];return _0x70a81d?{'type':'format','content':_0x225cfd(_0x1f7ec6,'*Set\x20font\x20family:*\x20%0',_0x70a81d)}:{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x11'))};}if('fontColor'==_0x13f2d3[_0x4ac6('0x13')]){const _0x44d972=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x44d972){const _0x7f07ff=_0x36f73b(this['editor'][_0x4ac6('0xc')][_0x4ac6('0x26')](_0x4ac6('0x2')))[_0x4ac6('0x9')](_0x15ace4=>_0x15ace4[_0x4ac6('0xf')]==_0x44d972);let _0x39b154=_0x44d972,_0x58e631='';return _0x7f07ff&&(_0x39b154=_0x7f07ff[_0x4ac6('0x15')],_0x58e631=_0x458a12(_0x39b154)[_0x4ac6('0x20')]()),{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x8'),_0x58e631)[_0x4ac6('0x10')](),'color':{'value':_0x44d972,'title':_0x58e631||_0x39b154}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x14'))};}if(_0x4ac6('0x1')==_0x13f2d3[_0x4ac6('0x13')]){const _0x24f8e2=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x24f8e2){const _0x5a870e=_0x36f73b(this[_0x4ac6('0x1b')][_0x4ac6('0xc')][_0x4ac6('0x26')]('fontBackgroundColor.colors'))['find'](_0x498ab9=>_0x498ab9[_0x4ac6('0xf')]==_0x24f8e2);let _0x405f87=_0x24f8e2,_0xd5a30c='';return _0x5a870e&&(_0x405f87=_0x5a870e[_0x4ac6('0x15')],_0xd5a30c=_0x458a12(_0x405f87)['toLowerCase']()),{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x19'),_0xd5a30c)[_0x4ac6('0x10')](),'color':{'value':_0x24f8e2,'title':_0xd5a30c||_0x405f87}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x12'))};}}});}[_0x4ac6('0x1a')](_0x43281e){const _0xa81e35=this[_0x4ac6('0x1b')];_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0xb')](_0x43281e,(_0x1e2d5f,_0x2539e4={})=>{const _0x2fb56e=_0xa81e35[_0x4ac6('0xf')]['document'][_0x4ac6('0x1f')],_0x266074=_0x2539e4[_0x4ac6('0x18')];_0x2fb56e[_0x4ac6('0x1d')]?_0x1e2d5f(_0x2539e4):_0xa81e35[_0x4ac6('0xf')][_0x4ac6('0x17')](()=>{const _0x4b99a2=Array[_0x4ac6('0x22')](_0x2fb56e[_0x4ac6('0x3')]());for(const _0x2c177d of _0x4b99a2){const _0xb514d0=_0x266074?[_0x2c177d]:_0x5db7a3(_0x43281e,_0x2c177d,_0xa81e35[_0x4ac6('0xf')]);for(const _0x2c1709 of _0xb514d0)_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x6')](_0x2c1709,{'commandName':_0x43281e,'commandParams':[{'value':_0x266074}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c0c=['enableCommand','locale','keys','pasteFormat','FontSize','commands','fontSize.options','*Remove\x20all\x20formatting*','label','editor','config','copyFormat','isFormatting','format','createRange','getRanges','afterInit','commandParams','length','word','getSelectedBlocks','getLastPosition','commandName','entries','getAttributeProperties','selection','getItems','isBlock','slice','modifySelection','getFirstPosition','fontColor','get','join','fontColor.colors','TrackChangesEditing','markInlineFormat','getAttributes','normalizeSizeOptions','isCollapsed','model','forward','change','fontBackgroundColor','from','plugins','createSelection','boolean','toUpperCase','toLowerCase'];(function(_0x588bc3,_0x1c0c20){const _0xd469a3=function(_0x5d67f5){while(--_0x5d67f5){_0x588bc3['push'](_0x588bc3['shift']());}};_0xd469a3(++_0x1c0c20);}(_0x1c0c,0x7b));const _0xd469=function(_0x588bc3,_0x1c0c20){_0x588bc3=_0x588bc3-0x0;let _0xd469a3=_0x1c0c[_0x588bc3];return _0xd469a3;};import{Plugin as _0x3b09f7}from'ckeditor5/src/core';import{normalizeColorOptions as _0xccaa89}from'ckeditor5/src/ui';import{first as _0x590002}from'ckeditor5/src/utils';import{getTranslation as _0x1c3ef8}from'../utils/common-translations';export default class W extends _0x3b09f7{[_0xd469('0x2b')](){const _0x34c3d0=this[_0xd469('0x24')],_0x4a091b=_0x34c3d0[_0xd469('0x11')],_0x1d695e=_0x4a091b['document'][_0xd469('0x2')],_0x42f208=_0x34c3d0[_0xd469('0x16')][_0xd469('0x9')]('TrackChangesEditing'),_0x9dbe7c=_0x34c3d0[_0xd469('0x1c')],_0x331dd4=_0x34c3d0['commands'][_0xd469('0x9')](_0xd469('0x26')),_0x10a65a=_0x34c3d0[_0xd469('0x20')]['get'](_0xd469('0x1e'));_0x331dd4&&_0x10a65a&&(_0x42f208[_0xd469('0x1b')](_0xd469('0x1e'),(_0x460907,_0x37ef58={})=>{const _0x395817=_0x37ef58;_0x4a091b[_0xd469('0x13')](()=>{const _0x3de22e=Array[_0xd469('0x15')](_0x1d695e[_0xd469('0x2a')]()),_0xb7f0d2=_0x1d695e[_0xd469('0x10')]?[ro(_0x4a091b,_0x1d695e)]:_0x3de22e,_0x2b95c8=!!_0x590002(function*(_0x6b3e15,_0x15bfe2){const _0x1d6595=_0x2c92a6=>!!_0x590002(function*(_0xd32ef7,_0x493a23){for(const [_0x47210b]of _0xd32ef7[_0xd469('0xe')]()){const _0x138f12=_0x493a23[_0xd469('0x1')](_0x47210b);_0x138f12&&_0x138f12[_0xd469('0x27')]&&(yield _0x47210b);}}(_0x2c92a6,_0x15bfe2));for(const _0x165dda of _0x6b3e15[_0xd469('0x2a')]())for(const _0x42c8c6 of _0x165dda[_0xd469('0x3')]())!_0x15bfe2[_0xd469('0x4')](_0x42c8c6)&&_0x1d6595(_0x42c8c6)&&(yield _0x42c8c6);for(const _0x81ddea of _0x6b3e15[_0xd469('0x2f')]())_0x1d6595(_0x81ddea)&&(yield _0x81ddea);_0x1d6595(_0x6b3e15)&&(yield _0x6b3e15);}(_0x1d695e,_0x4a091b['schema']));if(_0x2b95c8||0x0!==Object[_0xd469('0x1d')](_0x395817)[_0xd469('0x2d')])for(const _0x3bcbf3 of _0xb7f0d2)_0x42f208[_0xd469('0xd')](_0x3bcbf3,{'commandName':_0xd469('0x1e'),'commandParams':[_0x395817]});});}),_0x42f208['_descriptionFactory']['registerDescriptionCallback'](_0x1cfa5b=>{const {data:_0x5f1c16}=_0x1cfa5b;if(_0x5f1c16&&_0xd469('0x1e')===_0x5f1c16[_0xd469('0x31')]){const _0x5a1297=[],_0x28f235=_0x5f1c16[_0xd469('0x2c')][0x0];for(const [_0x388fe5,_0x1eefa1]of Object[_0xd469('0x0')](_0x28f235))_0x5a1297['push'](no(_0x34c3d0,_0x388fe5,_0x1eefa1));return _0x5a1297[_0xd469('0x2d')]?{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,'*Set\x20format\x20to:*\x20%0',_0x5a1297[_0xd469('0xa')](',\x20'))}:{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,_0xd469('0x22'))};}}),_0x34c3d0[_0xd469('0x16')]['get'](_0xd469('0xc'))[_0xd469('0x1b')](_0xd469('0x26')));}}function ro(_0x52d3c9,_0x1469d2){const _0x54bd67=_0x52d3c9[_0xd469('0x17')](_0x1469d2);_0x52d3c9[_0xd469('0x6')](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':'backward'});const _0x16b944=_0x54bd67[_0xd469('0x7')]();_0x52d3c9['modifySelection'](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':_0xd469('0x12')});const _0x114a71=_0x54bd67[_0xd469('0x30')]();return _0x52d3c9[_0xd469('0x29')](_0x16b944,_0x114a71);}function no(_0x2ab0b5,_0x34d7c7,_0x5caa3e){const _0x15d261=_0x2ab0b5['locale']['t'],_0x230b0d=_0x34d7c7['split'](/(?=[A-Z])/)[_0xd469('0xa')]('\x20'),_0x4eaf67=_0x15d261(_0x230b0d['charAt'](0x0)[_0xd469('0x19')]()+_0x230b0d[_0xd469('0x5')](0x1))[_0xd469('0x1a')]();if(_0xd469('0x18')==typeof _0x5caa3e)return _0x4eaf67;if(_0xd469('0x8')===_0x34d7c7||_0xd469('0x14')===_0x34d7c7){const _0x376afd=_0xccaa89(_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0xb')))['find'](_0x4756ed=>_0x4756ed[_0xd469('0x11')]==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x376afd?_0x15d261(_0x376afd[_0xd469('0x23')])['toLowerCase']():_0x5caa3e)+')';}if('fontSize'===_0x34d7c7&&isNaN(parseFloat(_0x5caa3e))){const _0x39f95a=_0x2ab0b5[_0xd469('0x16')]['get'](_0xd469('0x1f'))[_0xd469('0xf')](_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0x21')))['find'](_0x166fc1=>_0x166fc1['model']==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x39f95a?_0x15d261(_0x39f95a['title'])['toLowerCase']():_0x5caa3e)+')';}return _0x4eaf67+'\x20('+_0x5caa3e+')';}
23
+ const _0x19ba=['copyFormat','fontBackgroundColor','locale','from','createSelection','*Remove\x20all\x20formatting*','length','slice','find','enableCommand','getLastPosition','fontColor.colors','document','format','fontSize','selection','markInlineFormat','word','getRanges','isCollapsed','isFormatting','getFirstPosition','schema','plugins','charAt','fontSize.options','modifySelection','entries','pasteFormat','*Set\x20format\x20to:*\x20%0','backward','commands','TrackChangesEditing','afterInit','get','keys','config','getItems','registerDescriptionCallback','toLowerCase','isBlock','fontColor','model','getSelectedBlocks','FontSize','getAttributes','getAttributeProperties','normalizeSizeOptions','forward'];(function(_0x2d57d5,_0x19ba1a){const _0x3d633a=function(_0x321d0b){while(--_0x321d0b){_0x2d57d5['push'](_0x2d57d5['shift']());}};_0x3d633a(++_0x19ba1a);}(_0x19ba,0x122));const _0x3d63=function(_0x2d57d5,_0x19ba1a){_0x2d57d5=_0x2d57d5-0x0;let _0x3d633a=_0x19ba[_0x2d57d5];return _0x3d633a;};import{Plugin as _0x2f622}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5111c3}from'ckeditor5/src/ui';import{first as _0x589ed2}from'ckeditor5/src/utils';import{getTranslation as _0x632b8e}from'../utils/common-translations';export default class W extends _0x2f622{[_0x3d63('0x25')](){const _0x3ec4e4=this['editor'],_0x12ae05=_0x3ec4e4[_0x3d63('0x2e')],_0x45fb95=_0x12ae05[_0x3d63('0x10')][_0x3d63('0x13')],_0x1f87e7=_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')](_0x3d63('0x24')),_0x5b194c=_0x3ec4e4[_0x3d63('0x6')],_0x1c21e4=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x4')),_0x2f05c0=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x20'));_0x1c21e4&&_0x2f05c0&&(_0x1f87e7['enableCommand'](_0x3d63('0x20'),(_0x32d954,_0x57fbbf={})=>{const _0x4ed7d7=_0x57fbbf;_0x12ae05['change'](()=>{const _0x855b7=Array[_0x3d63('0x7')](_0x45fb95['getRanges']()),_0x297296=_0x45fb95[_0x3d63('0x17')]?[ro(_0x12ae05,_0x45fb95)]:_0x855b7,_0x247932=!!_0x589ed2(function*(_0xe4f2e4,_0x44e923){const _0x5f5c95=_0x53c64b=>!!_0x589ed2(function*(_0x2e2673,_0xb84ec1){for(const [_0x2bca0d]of _0x2e2673[_0x3d63('0x0')]()){const _0x1fed51=_0xb84ec1[_0x3d63('0x1')](_0x2bca0d);_0x1fed51&&_0x1fed51[_0x3d63('0x18')]&&(yield _0x2bca0d);}}(_0x53c64b,_0x44e923));for(const _0x24835a of _0xe4f2e4[_0x3d63('0x16')]())for(const _0x11a9c4 of _0x24835a[_0x3d63('0x29')]())!_0x44e923[_0x3d63('0x2c')](_0x11a9c4)&&_0x5f5c95(_0x11a9c4)&&(yield _0x11a9c4);for(const _0x6b4e96 of _0xe4f2e4[_0x3d63('0x2f')]())_0x5f5c95(_0x6b4e96)&&(yield _0x6b4e96);_0x5f5c95(_0xe4f2e4)&&(yield _0xe4f2e4);}(_0x45fb95,_0x12ae05[_0x3d63('0x1a')]));if(_0x247932||0x0!==Object[_0x3d63('0x27')](_0x4ed7d7)[_0x3d63('0xa')])for(const _0x1f6e34 of _0x297296)_0x1f87e7[_0x3d63('0x14')](_0x1f6e34,{'commandName':'pasteFormat','commandParams':[_0x4ed7d7]});});}),_0x1f87e7['_descriptionFactory'][_0x3d63('0x2a')](_0x418ff9=>{const {data:_0x197229}=_0x418ff9;if(_0x197229&&'pasteFormat'===_0x197229['commandName']){const _0x103c56=[],_0x4af200=_0x197229['commandParams'][0x0];for(const [_0x3ed733,_0x26629e]of Object[_0x3d63('0x1f')](_0x4af200))_0x103c56['push'](no(_0x3ec4e4,_0x3ed733,_0x26629e));return _0x103c56[_0x3d63('0xa')]?{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x21'),_0x103c56['join'](',\x20'))}:{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x9'))};}}),_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')]('TrackChangesEditing')[_0x3d63('0xd')](_0x3d63('0x4')));}}function ro(_0x1addc6,_0x2c5305){const _0xfd28c0=_0x1addc6[_0x3d63('0x8')](_0x2c5305);_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x22')});const _0x32e07c=_0xfd28c0[_0x3d63('0x19')]();_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x3')});const _0x2ccfd1=_0xfd28c0[_0x3d63('0xe')]();return _0x1addc6['createRange'](_0x32e07c,_0x2ccfd1);}function no(_0x57c4d6,_0x2f5f5e,_0x2acd66){const _0x1c1d0b=_0x57c4d6[_0x3d63('0x6')]['t'],_0x73c16a=_0x2f5f5e['split'](/(?=[A-Z])/)['join']('\x20'),_0x598ebc=_0x1c1d0b(_0x73c16a[_0x3d63('0x1c')](0x0)['toUpperCase']()+_0x73c16a[_0x3d63('0xb')](0x1))[_0x3d63('0x2b')]();if('boolean'==typeof _0x2acd66)return _0x598ebc;if(_0x3d63('0x2d')===_0x2f5f5e||_0x3d63('0x5')===_0x2f5f5e){const _0x3c1448=_0x5111c3(_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0xf')))[_0x3d63('0xc')](_0x24e0a5=>_0x24e0a5['model']==_0x2acd66);return _0x598ebc+'\x20('+(_0x3c1448?_0x1c1d0b(_0x3c1448['label'])[_0x3d63('0x2b')]():_0x2acd66)+')';}if(_0x3d63('0x12')===_0x2f5f5e&&isNaN(parseFloat(_0x2acd66))){const _0x20352c=_0x57c4d6['plugins']['get'](_0x3d63('0x30'))[_0x3d63('0x2')](_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0x1d')))[_0x3d63('0xc')](_0x40bb98=>_0x40bb98[_0x3d63('0x2e')]==_0x2acd66);return _0x598ebc+'\x20('+(_0x20352c?_0x1c1d0b(_0x20352c['title'])[_0x3d63('0x2b')]():_0x2acd66)+')';}return _0x598ebc+'\x20('+_0x2acd66+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2edf=['enableCommand','change','formatBlock','title','heading','heading.options','filter','find','model','ELEMENT_HEADING','format','from','getSelectedBlocks','parent','name','match','has','commandParams','plugins','registerElementLabel','isObject','paragraph','_descriptionFactory','ELEMENT_HEADING_CUSTOM','markBlockFormat','editor','schema','get','registerDescriptionCallback','value','locale'];(function(_0x22b377,_0x2edf57){const _0x1ad466=function(_0x2c4a89){while(--_0x2c4a89){_0x22b377['push'](_0x22b377['shift']());}};_0x1ad466(++_0x2edf57);}(_0x2edf,0xf5));const _0x1ad4=function(_0x22b377,_0x2edf57){_0x22b377=_0x22b377-0x0;let _0x1ad466=_0x2edf[_0x22b377];return _0x1ad466;};import{Plugin as _0x255a77}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x435d78}from'./utils';import{getTranslation as _0x2475de}from'../utils/common-translations';export default class J extends _0x255a77{['afterInit'](){const _0x197d95=this[_0x1ad4('0x1c')],_0x1845a6=_0x197d95[_0x1ad4('0x2')],_0x2959a7=_0x197d95['config'][_0x1ad4('0x1e')](_0x1ad4('0x8'));if(!_0x197d95['plugins'][_0x1ad4('0x13')]('HeadingEditing'))return;const _0x4fd6b0=_0x197d95[_0x1ad4('0x15')][_0x1ad4('0x1e')]('TrackChangesEditing');_0x4fd6b0[_0x1ad4('0x3')](_0x1ad4('0x7'),(_0x361593,_0x2f2c03)=>{const _0x411706=_0x2f2c03['value'],_0x52e37d=Array[_0x1ad4('0xe')](this[_0x1ad4('0x1c')]['model']['document']['selection'][_0x1ad4('0xf')]())[_0x1ad4('0x9')](_0x16ce70=>function(_0x5f48ae,_0x569e1f,_0x56f78f){return _0x56f78f['checkChild'](_0x5f48ae[_0x1ad4('0x10')],_0x569e1f)&&!_0x56f78f[_0x1ad4('0x17')](_0x5f48ae)&&_0x5f48ae[_0x1ad4('0x11')]!=_0x569e1f;}(_0x16ce70,_0x411706,this[_0x1ad4('0x1c')][_0x1ad4('0xb')][_0x1ad4('0x1d')]));_0x197d95['model'][_0x1ad4('0x4')](()=>{for(const _0x336248 of _0x52e37d)_0x4fd6b0[_0x1ad4('0x1b')](_0x336248,{'commandName':_0x1ad4('0x7'),'commandParams':[_0x2f2c03],'formatGroupId':'blockName'},_0x435d78(_0x336248));});});for(const _0x275601 of _0x2959a7)_0x1ad4('0x18')!=_0x275601[_0x1ad4('0xb')]&&_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x16')](_0x275601[_0x1ad4('0xb')],_0x3d95a6=>{const _0x489bb8=nn(_0x275601[_0x1ad4('0xb')]);return null!==_0x489bb8?_0x551063(_0x3d95a6,_0x489bb8):_0x337301(_0x3d95a6,_0x275601[_0x1ad4('0x6')]);});function _0x551063(_0x1f7e9c,_0x4797c0){return _0x2475de(_0x1845a6,_0x1ad4('0xc'),[_0x1f7e9c,_0x4797c0]);}function _0x337301(_0x8bf75c,_0x137791){return _0x2475de(_0x1845a6,_0x1ad4('0x1a'),[_0x8bf75c,_0x137791]);}_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x0')](_0x11ce85=>{const {type:_0x2d4a7f,data:_0x6787f2}=_0x11ce85;if(_0x1ad4('0x5')==_0x2d4a7f&&_0x6787f2&&_0x1ad4('0x7')==_0x6787f2['commandName']){const _0x37a172=_0x6787f2[_0x1ad4('0x14')][0x0][_0x1ad4('0x1')],_0x5e624b=nn(_0x37a172);if(null!==_0x5e624b)return{'type':'format','content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x551063(0x1,_0x5e624b))};const _0x525474=_0x2959a7[_0x1ad4('0xa')](_0x520d6c=>_0x520d6c[_0x1ad4('0xb')]===_0x37a172)[_0x1ad4('0x6')];return{'type':_0x1ad4('0xd'),'content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x337301(0x1,_0x525474))};}});}}function nn(_0x360095){const _0x2e4ac3=_0x360095[_0x1ad4('0x12')](/^heading(\d+)$/);return _0x2e4ac3?_0x2e4ac3[0x1]:null;}
23
+ const _0x5abb=['formatBlock','config','TrackChangesEditing','registerDescriptionCallback','paragraph','ELEMENT_HEADING','afterInit','match','locale','editor','registerElementLabel','document','plugins','isObject','HeadingEditing','checkChild','commandName','_descriptionFactory','model','selection','name','getSelectedBlocks','from','heading.options','value','filter','ELEMENT_HEADING_CUSTOM','change','heading','has','*Change\x20to:*\x20%0','enableCommand','get','format','blockName','commandParams'];(function(_0x81e848,_0x5abbf9){const _0x35ce52=function(_0x14df7d){while(--_0x14df7d){_0x81e848['push'](_0x81e848['shift']());}};_0x35ce52(++_0x5abbf9);}(_0x5abb,0x86));const _0x35ce=function(_0x81e848,_0x5abbf9){_0x81e848=_0x81e848-0x0;let _0x35ce52=_0x5abb[_0x81e848];return _0x35ce52;};import{Plugin as _0xe1b561}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2ebad6}from'./utils';import{getTranslation as _0x2a9634}from'../utils/common-translations';export default class J extends _0xe1b561{[_0x35ce('0x10')](){const _0x52a8ba=this[_0x35ce('0x13')],_0x1bfc30=_0x52a8ba[_0x35ce('0x12')],_0x338af2=_0x52a8ba[_0x35ce('0xb')]['get'](_0x35ce('0x21'));if(!_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x3')](_0x35ce('0x18')))return;const _0x43939f=_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x6')](_0x35ce('0xc'));_0x43939f[_0x35ce('0x5')](_0x35ce('0x2'),(_0x2adc91,_0x5efada)=>{const _0x243532=_0x5efada[_0x35ce('0x22')],_0x31dfb3=Array[_0x35ce('0x20')](this['editor'][_0x35ce('0x1c')][_0x35ce('0x15')][_0x35ce('0x1d')][_0x35ce('0x1f')]())[_0x35ce('0x23')](_0x45b1ae=>function(_0x2d0802,_0x4f55b1,_0x3a456f){return _0x3a456f[_0x35ce('0x19')](_0x2d0802['parent'],_0x4f55b1)&&!_0x3a456f[_0x35ce('0x17')](_0x2d0802)&&_0x2d0802[_0x35ce('0x1e')]!=_0x4f55b1;}(_0x45b1ae,_0x243532,this[_0x35ce('0x13')][_0x35ce('0x1c')]['schema']));_0x52a8ba['model'][_0x35ce('0x1')](()=>{for(const _0x526846 of _0x31dfb3)_0x43939f['markBlockFormat'](_0x526846,{'commandName':_0x35ce('0x2'),'commandParams':[_0x5efada],'formatGroupId':_0x35ce('0x8')},_0x2ebad6(_0x526846));});});for(const _0x336094 of _0x338af2)_0x35ce('0xe')!=_0x336094['model']&&_0x43939f[_0x35ce('0x1b')][_0x35ce('0x14')](_0x336094[_0x35ce('0x1c')],_0x46bf50=>{const _0x535444=nn(_0x336094[_0x35ce('0x1c')]);return null!==_0x535444?_0x577a14(_0x46bf50,_0x535444):_0x1e56e2(_0x46bf50,_0x336094['title']);});function _0x577a14(_0x3c4c1b,_0x5ee1a0){return _0x2a9634(_0x1bfc30,_0x35ce('0xf'),[_0x3c4c1b,_0x5ee1a0]);}function _0x1e56e2(_0x2cd0d5,_0x28091c){return _0x2a9634(_0x1bfc30,_0x35ce('0x0'),[_0x2cd0d5,_0x28091c]);}_0x43939f[_0x35ce('0x1b')][_0x35ce('0xd')](_0xbfcb18=>{const {type:_0x5c0abf,data:_0x40d962}=_0xbfcb18;if(_0x35ce('0xa')==_0x5c0abf&&_0x40d962&&_0x35ce('0x2')==_0x40d962[_0x35ce('0x1a')]){const _0x26046b=_0x40d962[_0x35ce('0x9')][0x0][_0x35ce('0x22')],_0x3b29c2=nn(_0x26046b);if(null!==_0x3b29c2)return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x577a14(0x1,_0x3b29c2))};const _0xa02578=_0x338af2['find'](_0x4358de=>_0x4358de[_0x35ce('0x1c')]===_0x26046b)['title'];return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x1e56e2(0x1,_0xa02578))};}});}}function nn(_0x11de4b){const _0x15646f=_0x11de4b[_0x35ce('0x11')](/^heading(\d+)$/);return _0x15646f?_0x15646f[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8a1b=['format','get','config','selection','FORMAT_HIGHLIGHT','HighlightEditing','createRange','getRanges','commandParams','model','getLastMatchingPosition','getFirstPosition','locale','getAttribute','plugins','value','toLowerCase','has','*Remove\x20highlight*','title','push','item','enableCommand','hasAttribute','color','find','formatInline','highlight','change','TrackChangesEditing','editor','commandName'];(function(_0x2aba96,_0x8a1b6b){const _0x418401=function(_0x2da1e6){while(--_0x2da1e6){_0x2aba96['push'](_0x2aba96['shift']());}};_0x418401(++_0x8a1b6b);}(_0x8a1b,0x117));const _0x4184=function(_0x2aba96,_0x8a1b6b){_0x2aba96=_0x2aba96-0x0;let _0x418401=_0x8a1b[_0x2aba96];return _0x418401;};import{Plugin as _0x229725}from'ckeditor5/src/core';import{getTranslation as _0x35f18a}from'../utils/common-translations';import{getRangesWithAttribute as _0x1704df}from'./utils';export default class K extends _0x229725{['afterInit'](){const _0x3dbdff=this[_0x4184('0x7')];if(!_0x3dbdff[_0x4184('0x17')][_0x4184('0x1a')](_0x4184('0xe')))return;const _0x51f3dd=_0x3dbdff['plugins']['get'](_0x4184('0x6'));_0x51f3dd[_0x4184('0x1f')](_0x4184('0x4'),(_0x26cf4f,_0x1b6e5a={})=>{const _0x1baa73=_0x3dbdff[_0x4184('0x12')]['document'][_0x4184('0xc')],_0x404c7d=_0x1baa73[_0x4184('0x16')](_0x4184('0x4'));let _0x533a62=_0x1b6e5a[_0x4184('0x18')],_0x358384=[];if(_0x1baa73['isCollapsed']){const _0x5dffba=_0x1baa73[_0x4184('0x14')]();if(!_0x1baa73[_0x4184('0x0')](_0x4184('0x4')))return void _0x26cf4f(_0x1b6e5a);{const _0x3f7c6f=_0xef7417=>_0xef7417[_0x4184('0x1e')][_0x4184('0x16')](_0x4184('0x4'))===_0x404c7d,_0x2823d3=_0x5dffba[_0x4184('0x13')](_0x3f7c6f,{'direction':'backward'}),_0x19194f=_0x5dffba[_0x4184('0x13')](_0x3f7c6f);_0x358384=[_0x3dbdff['model'][_0x4184('0xf')](_0x2823d3,_0x19194f)],_0x533a62==_0x404c7d&&(_0x533a62=null);}}else for(const _0xd59a40 of _0x1baa73[_0x4184('0x10')]())_0x533a62?_0x358384[_0x4184('0x1d')](_0xd59a40):_0x358384[_0x4184('0x1d')](..._0x1704df(_0x4184('0x4'),_0xd59a40,_0x3dbdff['model']));_0x3dbdff[_0x4184('0x12')][_0x4184('0x5')](()=>{for(const _0x323311 of _0x358384)_0x51f3dd['markInlineFormat'](_0x323311,{'commandName':_0x4184('0x4'),'commandParams':[{'value':_0x533a62}]});});});const _0x448db3=_0x3dbdff[_0x4184('0x15')];_0x51f3dd['_descriptionFactory']['registerDescriptionCallback'](_0x56af4a=>{const {type:_0xbe8ecd,data:_0x34dc8f}=_0x56af4a;if(_0x4184('0x3')==_0xbe8ecd&&_0x34dc8f&&_0x4184('0x4')==_0x34dc8f[_0x4184('0x8')]){const _0x2f1f8c=_0x448db3['t'],_0x23900f=_0x34dc8f[_0x4184('0x11')][0x0]['value'];if(_0x23900f){const _0x509066=_0x3dbdff[_0x4184('0xb')][_0x4184('0xa')]('highlight.options')[_0x4184('0x2')](_0x38ff53=>_0x38ff53[_0x4184('0x12')]==_0x23900f),_0x104cfb=_0x2f1f8c(_0x509066['title'])[_0x4184('0x19')]();return{'type':_0x4184('0x9'),'content':_0x35f18a(_0x448db3,'*Set\x20highlight:*\x20%0',_0x104cfb),'color':{'value':_0x509066[_0x4184('0x1')],'title':_0x509066[_0x4184('0x1c')]}};}return{'type':'format','content':_0x35f18a(_0x448db3,_0x4184('0x1b'),_0x35f18a(_0x448db3,_0x4184('0xd')))};}});}}
23
+ const _0x3619=['push','highlight.options','selection','format','commandName','_descriptionFactory','title','item','isCollapsed','highlight','hasAttribute','formatInline','getRanges','*Remove\x20highlight*','get','editor','markInlineFormat','document','toLowerCase','color','plugins','value','*Set\x20highlight:*\x20%0','locale','getLastMatchingPosition','model','has','FORMAT_HIGHLIGHT','getFirstPosition','backward','enableCommand','getAttribute','commandParams'];(function(_0x24460a,_0x361952){const _0x20c978=function(_0x3d172d){while(--_0x3d172d){_0x24460a['push'](_0x24460a['shift']());}};_0x20c978(++_0x361952);}(_0x3619,0xfc));const _0x20c9=function(_0x24460a,_0x361952){_0x24460a=_0x24460a-0x0;let _0x20c978=_0x3619[_0x24460a];return _0x20c978;};import{Plugin as _0x2c1f16}from'ckeditor5/src/core';import{getTranslation as _0xa003a}from'../utils/common-translations';import{getRangesWithAttribute as _0x111082}from'./utils';export default class K extends _0x2c1f16{['afterInit'](){const _0x34537f=this[_0x20c9('0x1b')];if(!_0x34537f[_0x20c9('0x20')][_0x20c9('0x5')]('HighlightEditing'))return;const _0x23ce71=_0x34537f['plugins'][_0x20c9('0x1a')]('TrackChangesEditing');_0x23ce71[_0x20c9('0x9')](_0x20c9('0x15'),(_0x53363b,_0x454190={})=>{const _0xf9eb6=_0x34537f['model'][_0x20c9('0x1d')][_0x20c9('0xe')],_0x595ce9=_0xf9eb6['getAttribute'](_0x20c9('0x15'));let _0x49bcf0=_0x454190[_0x20c9('0x0')],_0x18656c=[];if(_0xf9eb6[_0x20c9('0x14')]){const _0x3208c=_0xf9eb6[_0x20c9('0x7')]();if(!_0xf9eb6[_0x20c9('0x16')](_0x20c9('0x15')))return void _0x53363b(_0x454190);{const _0xa906df=_0x509d4c=>_0x509d4c[_0x20c9('0x13')][_0x20c9('0xa')](_0x20c9('0x15'))===_0x595ce9,_0x254af8=_0x3208c[_0x20c9('0x3')](_0xa906df,{'direction':_0x20c9('0x8')}),_0x4c9d79=_0x3208c[_0x20c9('0x3')](_0xa906df);_0x18656c=[_0x34537f[_0x20c9('0x4')]['createRange'](_0x254af8,_0x4c9d79)],_0x49bcf0==_0x595ce9&&(_0x49bcf0=null);}}else for(const _0x427ec9 of _0xf9eb6[_0x20c9('0x18')]())_0x49bcf0?_0x18656c[_0x20c9('0xc')](_0x427ec9):_0x18656c['push'](..._0x111082(_0x20c9('0x15'),_0x427ec9,_0x34537f[_0x20c9('0x4')]));_0x34537f[_0x20c9('0x4')]['change'](()=>{for(const _0xce5391 of _0x18656c)_0x23ce71[_0x20c9('0x1c')](_0xce5391,{'commandName':_0x20c9('0x15'),'commandParams':[{'value':_0x49bcf0}]});});});const _0x3ec1ed=_0x34537f[_0x20c9('0x2')];_0x23ce71[_0x20c9('0x11')]['registerDescriptionCallback'](_0x242e32=>{const {type:_0x37ba0d,data:_0x30c547}=_0x242e32;if(_0x20c9('0x17')==_0x37ba0d&&_0x30c547&&_0x20c9('0x15')==_0x30c547[_0x20c9('0x10')]){const _0x8ccf0b=_0x3ec1ed['t'],_0x1f1dec=_0x30c547[_0x20c9('0xb')][0x0]['value'];if(_0x1f1dec){const _0x122268=_0x34537f['config'][_0x20c9('0x1a')](_0x20c9('0xd'))['find'](_0x4b27da=>_0x4b27da[_0x20c9('0x4')]==_0x1f1dec),_0x5bcdfc=_0x8ccf0b(_0x122268[_0x20c9('0x12')])[_0x20c9('0x1e')]();return{'type':'format','content':_0xa003a(_0x3ec1ed,_0x20c9('0x1'),_0x5bcdfc),'color':{'value':_0x122268[_0x20c9('0x1f')],'title':_0x122268['title']}};}return{'type':_0x20c9('0xf'),'content':_0xa003a(_0x3ec1ed,_0x20c9('0x19'),_0xa003a(_0x3ec1ed,_0x20c9('0x6')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3115=['enableCommand','createEmptyElement','addClass','createContainerElement','get','registerElementLabel','ck-horizontal-line','showSuggestionHighlights','TrackChangesEditing','horizontalLine','dataDowncast','ELEMENT_HORIZONTAL_LINE','plugins','for','elementToStructure','createPositionAt','insert'];(function(_0x5c8fc9,_0x311551){const _0x238916=function(_0xca4026){while(--_0xca4026){_0x5c8fc9['push'](_0x5c8fc9['shift']());}};_0x238916(++_0x311551);}(_0x3115,0x1e9));const _0x2389=function(_0x5c8fc9,_0x311551){_0x5c8fc9=_0x5c8fc9-0x0;let _0x238916=_0x3115[_0x5c8fc9];return _0x238916;};import{Plugin as _0x3ceff9}from'ckeditor5/src/core';import{getTranslation as _0x20033d}from'../utils/common-translations';export default class Q extends _0x3ceff9{['afterInit'](){const _0xaf8200=this['editor'];if(!_0xaf8200[_0x2389('0x10')]['has']('HorizontalLineEditing'))return;_0xaf8200[_0x2389('0x10')][_0x2389('0x8')]('TrackChangesEditing')[_0x2389('0x4')](_0x2389('0xd'));const _0x253694=_0xaf8200['plugins'][_0x2389('0x8')](_0x2389('0xc')),_0x3ac829=_0xaf8200['locale'];_0x253694['_descriptionFactory'][_0x2389('0x9')]('horizontalLine',_0x4e9504=>_0x20033d(_0x3ac829,_0x2389('0xf'),_0x4e9504)),_0xaf8200['conversion'][_0x2389('0x0')](_0x2389('0xe'))[_0x2389('0x1')]({'model':'horizontalLine','view':(_0x6cbe8a,{writer:_0x360b79,options:_0x4194b9})=>{if(!_0x4194b9[_0x2389('0xb')])return null;const _0x165950=_0x360b79[_0x2389('0x7')]('div'),_0x15254d=_0x360b79[_0x2389('0x5')]('hr');return _0x360b79[_0x2389('0x6')](_0x2389('0xa'),_0x165950),_0x360b79[_0x2389('0x3')](_0x360b79[_0x2389('0x2')](_0x165950,0x0),_0x15254d),_0x165950;},'converterPriority':'high'});}}
23
+ const _0x2261=['createPositionAt','createEmptyElement','showSuggestionHighlights','HorizontalLineEditing','insert','enableCommand','plugins','TrackChangesEditing','createContainerElement','ck-horizontal-line','conversion','get','div','afterInit','ELEMENT_HORIZONTAL_LINE','horizontalLine','_descriptionFactory','editor','has'];(function(_0x503e25,_0x2261e8){const _0x2e82d5=function(_0x3f8bc7){while(--_0x3f8bc7){_0x503e25['push'](_0x503e25['shift']());}};_0x2e82d5(++_0x2261e8);}(_0x2261,0x1b5));const _0x2e82=function(_0x503e25,_0x2261e8){_0x503e25=_0x503e25-0x0;let _0x2e82d5=_0x2261[_0x503e25];return _0x2e82d5;};import{Plugin as _0x1092b9}from'ckeditor5/src/core';import{getTranslation as _0x17405d}from'../utils/common-translations';export default class Q extends _0x1092b9{[_0x2e82('0xd')](){const _0x5cdbb6=this[_0x2e82('0x11')];if(!_0x5cdbb6[_0x2e82('0x6')][_0x2e82('0x12')](_0x2e82('0x3')))return;_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7'))[_0x2e82('0x5')](_0x2e82('0xf'));const _0x558b6f=_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7')),_0x140986=_0x5cdbb6['locale'];_0x558b6f[_0x2e82('0x10')]['registerElementLabel'](_0x2e82('0xf'),_0x596ff8=>_0x17405d(_0x140986,_0x2e82('0xe'),_0x596ff8)),_0x5cdbb6[_0x2e82('0xa')]['for']('dataDowncast')['elementToStructure']({'model':_0x2e82('0xf'),'view':(_0xe48934,{writer:_0x1cb63f,options:_0x4e691c})=>{if(!_0x4e691c[_0x2e82('0x2')])return null;const _0x4deaf6=_0x1cb63f[_0x2e82('0x8')](_0x2e82('0xc')),_0x2ce1c8=_0x1cb63f[_0x2e82('0x1')]('hr');return _0x1cb63f['addClass'](_0x2e82('0x9'),_0x4deaf6),_0x1cb63f[_0x2e82('0x4')](_0x1cb63f[_0x2e82('0x0')](_0x4deaf6,0x0),_0x2ce1c8),_0x4deaf6;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3726=['element','rawHtmlApi','HtmlEmbed','commandName','_descriptionFactory','editor','rawHtml','enableCommand','htmlEmbed','locale','get','ELEMENT_HTML_EMBED','selection','change','document','getSelectedElement','value','cancel','plugins','has','TrackChangesEditing','getCustomProperty','registerElementLabel','markBlockFormat','format','model'];(function(_0x45bf83,_0x37267d){const _0x1c2321=function(_0x17fc99){while(--_0x17fc99){_0x45bf83['push'](_0x45bf83['shift']());}};_0x1c2321(++_0x37267d);}(_0x3726,0x189));const _0x1c23=function(_0x45bf83,_0x37267d){_0x45bf83=_0x45bf83-0x0;let _0x1c2321=_0x3726[_0x45bf83];return _0x1c2321;};import{Plugin as _0x119141}from'ckeditor5/src/core';import{getTranslation as _0x1915e9}from'../utils/common-translations';export default class V extends _0x119141{['afterInit'](){const _0xc4cb4c=this[_0x1c23('0x2')];if(!_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x10')](_0x1c23('0x19')))return;const _0x3d7a5e=_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x7')](_0x1c23('0x11')),_0x3445c3=_0xc4cb4c[_0x1c23('0x6')],_0x194c57=_0xc4cb4c['editing']['view']['document'][_0x1c23('0x9')];_0x3d7a5e[_0x1c23('0x1')][_0x1c23('0x13')](_0x1c23('0x3'),_0x1bdf8b=>_0x1915e9(_0x3445c3,_0x1c23('0x8'),_0x1bdf8b)),_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x7')](_0x1c23('0x11'))[_0x1c23('0x4')](_0x1c23('0x5'),(_0x3d7f9e,_0x2ee870)=>{const _0x567fbe=_0xc4cb4c[_0x1c23('0x16')],_0x5aeb00=_0x567fbe[_0x1c23('0xb')][_0x1c23('0x9')];_0x567fbe[_0x1c23('0xa')](()=>{const _0x12918e=function(_0x537d5c){const _0x46445b=_0x537d5c[_0x1c23('0xc')]();if(_0x46445b&&_0x46445b['is'](_0x1c23('0x17'),_0x1c23('0x3')))return _0x537d5c['getSelectedElement']();return null;}(_0x5aeb00);if(!_0x12918e)return void _0x3d7f9e(null);const _0x1c90e0=_0x12918e['getAttribute'](_0x1c23('0xd'))||'';if(void 0x0===_0x2ee870)return;if(_0x2ee870===_0x1c90e0)return;_0x3d7a5e[_0x1c23('0x14')](_0x12918e,{'commandName':_0x1c23('0x5'),'commandParams':[_0x2ee870]}),_0x194c57[_0x1c23('0xc')]()[_0x1c23('0x12')](_0x1c23('0x18'))[_0x1c23('0xe')]();});}),_0x3d7a5e[_0x1c23('0x1')]['registerDescriptionCallback'](_0x285e5e=>{const {data:_0x27661a}=_0x285e5e;if(_0x27661a&&_0x1c23('0x5')==_0x27661a[_0x1c23('0x0')]){const _0x530865=_0x1915e9(_0x3445c3,_0x1c23('0x8'));return{'type':_0x1c23('0x15'),'content':_0x1915e9(_0x3445c3,'*Change\x20%0\x20content*',_0x530865)};}});}}
23
+ const _0x43f5=['htmlEmbed','afterInit','value','rawHtml','document','registerDescriptionCallback','get','getSelectedElement','change','_descriptionFactory','locale','selection','ELEMENT_HTML_EMBED','getAttribute','has','getCustomProperty','plugins','HtmlEmbed','rawHtmlApi','cancel','registerElementLabel','TrackChangesEditing'];(function(_0x50a843,_0x43f548){const _0x430531=function(_0x5148fe){while(--_0x5148fe){_0x50a843['push'](_0x50a843['shift']());}};_0x430531(++_0x43f548);}(_0x43f5,0x1b7));const _0x4305=function(_0x50a843,_0x43f548){_0x50a843=_0x50a843-0x0;let _0x430531=_0x43f5[_0x50a843];return _0x430531;};import{Plugin as _0x1aa62e}from'ckeditor5/src/core';import{getTranslation as _0x11e83d}from'../utils/common-translations';export default class V extends _0x1aa62e{[_0x4305('0x2')](){const _0x27edf5=this['editor'];if(!_0x27edf5['plugins'][_0x4305('0xf')](_0x4305('0x12')))return;const _0x2a051c=_0x27edf5['plugins'][_0x4305('0x7')](_0x4305('0x0')),_0xf31e4=_0x27edf5[_0x4305('0xb')],_0x26c2c0=_0x27edf5['editing']['view'][_0x4305('0x5')][_0x4305('0xc')];_0x2a051c[_0x4305('0xa')][_0x4305('0x15')](_0x4305('0x4'),_0x5ba027=>_0x11e83d(_0xf31e4,_0x4305('0xd'),_0x5ba027)),_0x27edf5[_0x4305('0x11')]['get']('TrackChangesEditing')['enableCommand'](_0x4305('0x1'),(_0x353d4f,_0x494931)=>{const _0x4818f6=_0x27edf5['model'],_0x11efbd=_0x4818f6[_0x4305('0x5')][_0x4305('0xc')];_0x4818f6[_0x4305('0x9')](()=>{const _0x5b3068=function(_0x174a78){const _0x4cdccd=_0x174a78[_0x4305('0x8')]();if(_0x4cdccd&&_0x4cdccd['is']('element',_0x4305('0x4')))return _0x174a78[_0x4305('0x8')]();return null;}(_0x11efbd);if(!_0x5b3068)return void _0x353d4f(null);const _0x3e7fdc=_0x5b3068[_0x4305('0xe')](_0x4305('0x3'))||'';if(void 0x0===_0x494931)return;if(_0x494931===_0x3e7fdc)return;_0x2a051c['markBlockFormat'](_0x5b3068,{'commandName':'htmlEmbed','commandParams':[_0x494931]}),_0x26c2c0[_0x4305('0x8')]()[_0x4305('0x10')](_0x4305('0x13'))[_0x4305('0x14')]();});}),_0x2a051c[_0x4305('0xa')][_0x4305('0x6')](_0x2eb312=>{const {data:_0x84fa0a}=_0x2eb312;if(_0x84fa0a&&_0x4305('0x1')==_0x84fa0a['commandName']){const _0x137a30=_0x11e83d(_0xf31e4,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x11e83d(_0xf31e4,'*Change\x20%0\x20content*',_0x137a30)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31ed=['discard','imageTextAlternative','commandParams','forceDefaultExecution','get','resizeImage','forward','commandName','imageInline','type','imageTypeInline','markInsertion','selection','find','ImageUploadEditing','getCaptionFromImageModelElement','name','*Format:*\x20%0','toPrevious','filter','isEqual','document','ELEMENT_INLINE_IMAGE','ImageTextAlternativeEditing','ELEMENT_IMAGE','ImageBlockEditing','findIndex','chain','imageStylePreApply','isInContent','toNext','subType','imageStyle','formatBlock','FORMAT_SIDE_IMAGE','Block\x20image\x20to\x20inline\x20image','backward','newValue','registerPostFixer','nodeBefore','refresh','ELEMENT_CAPTION','schema','*Reset\x20image\x20width*','createRangeOn','width','markInlineFormat','ImageStyleEditing','imageStylePostApply','commands','next','start','getSuggestion','addObject','isOwn','markBlockFormat','newRange','removeObject','fromPosition','registerElementLabel','from','author','side','getAttribute','model','detach','imageCaption','end','change','hasSuggestion','editor','convertInlineImageToBlock','insertion','insertImage','alt','accept','markDeletion','getNearestSelectionRange','toLowerCase','plugins','getFirstRange','join','has','_descriptionFactory','getClosestSelectedImageElement','head','*Remove\x20image\x20text\x20alternative*','isBlockImage','ImageCaptionUtils','isCollapsed','locale','value','format','registerCustomCallback','afterInit','createRange','isInlineImage','isBefore','deletion','shouldConvertImageType','nodeAfter','uploadImage','TrackChangesEditing','toggleImageCaption','previous','formatInline','length','ImageEditing','getSuggestionCallback','*Set\x20image\x20width:*\x20%0','ImageUtils','convertBlockImageToInline','element','discardSuggestion','isIntersecting','enableCommand','forEach','getContainedElement','imageTypeBlock','registerDescriptionCallback','caption','_suggestionFactory'];(function(_0x35f5d7,_0x31ed74){const _0x21231c=function(_0x2a48fb){while(--_0x2a48fb){_0x35f5d7['push'](_0x35f5d7['shift']());}};_0x21231c(++_0x31ed74);}(_0x31ed,0x146));const _0x2123=function(_0x35f5d7,_0x31ed74){_0x35f5d7=_0x35f5d7-0x0;let _0x21231c=_0x31ed[_0x35f5d7];return _0x21231c;};import{Plugin as _0x11a7e7}from'ckeditor5/src/core';import{LivePosition as _0x33711f}from'ckeditor5/src/engine';import{uid as _0x1f670d}from'ckeditor5/src/utils';import{getTranslation as _0x1adf2f}from'../utils/common-translations';export default class X extends _0x11a7e7{[_0x2123('0xc')](){const _0x2aebe3=this[_0x2123('0x6e')];if(!_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x19')))return;const _0x50cfca=_0x2aebe3[_0x2123('0x77')][_0x2123('0x2c')](_0x2123('0x14')),_0x163010=_0x2aebe3['plugins']['get'](_0x2123('0x1c')),_0x1fe626={},_0x236755=_0x2aebe3[_0x2123('0x8')];if(_0x50cfca[_0x2123('0x21')](_0x2123('0x71')),_0x50cfca[_0x2123('0x1')][_0x2123('0x63')]('imageBlock',_0x2ea53e=>_0x1adf2f(_0x236755,_0x2123('0x40'),_0x2ea53e)),_0x50cfca[_0x2123('0x1')][_0x2123('0x63')](_0x2123('0x30'),_0x3bd17e=>_0x1adf2f(_0x236755,_0x2123('0x3e'),_0x3bd17e)),_0x50cfca[_0x2123('0x1')]['registerElementLabel'](_0x2123('0x26'),()=>_0x1adf2f(_0x236755,_0x2123('0x51'))),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x36'))&&_0x50cfca[_0x2123('0x21')](_0x2123('0x13')),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x41'))&&_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')]('ImageInlineEditing')&&(_0x50cfca['enableCommand']('imageTypeInline',(_0x4ff0e0,_0x187aaa)=>{const _0x70973a=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]);_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{_0x50cfca[_0x2123('0x5f')](_0x70973a,{'commandName':_0x2123('0x32'),'commandParams':[_0x187aaa]},[],_0x2123('0x1d'));});}),_0x50cfca[_0x2123('0x21')](_0x2123('0x24'),(_0x5627e5,_0x3ff8b1)=>{_0x2aebe3['model'][_0x2123('0x6c')](_0x3a81f1=>{let _0x415edb=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]),_0x510c09=_0x3a81f1[_0x2123('0x54')](_0x415edb);const _0x10ad3f=_0x33711f[_0x2123('0x62')](_0x510c09[_0x2123('0x5b')],_0x2123('0x3a')),_0x4302b3=_0x33711f['fromPosition'](_0x510c09[_0x2123('0x6b')],_0x2123('0x46'));_0x50cfca[_0x2123('0x2b')](()=>_0x5627e5(_0x3ff8b1)),_0x415edb=_0x163010[_0x2123('0x2')](_0x2aebe3['model'][_0x2123('0x3d')][_0x2123('0x34')]),_0x510c09=_0x3a81f1[_0x2123('0x54')](_0x415edb);const _0x2a9240=_0x3a81f1[_0x2123('0xd')](_0x10ad3f,_0x4302b3);_0x10ad3f[_0x2123('0x69')](),_0x4302b3[_0x2123('0x69')](),_0x50cfca[_0x2123('0x5f')](_0x415edb,{'commandName':_0x2123('0x32'),'commandParams':[]},[],_0x2123('0x6f')),_0x2a9240[_0x2123('0x5b')][_0x2123('0xf')](_0x510c09[_0x2123('0x5b')])&&_0x50cfca['markInsertion'](_0x3a81f1['createRange'](_0x2a9240[_0x2123('0x5b')],_0x510c09[_0x2123('0x5b')]),_0x2123('0x6f')),_0x510c09[_0x2123('0x6b')][_0x2123('0xf')](_0x2a9240[_0x2123('0x6b')])&&_0x50cfca[_0x2123('0x33')](_0x3a81f1[_0x2123('0xd')](_0x510c09[_0x2123('0x6b')],_0x2a9240[_0x2123('0x6b')]),_0x2123('0x6f'));});}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x73'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('formatBlock',_0x2123('0x6f'),_0x2123('0x28'),_0x50cfca[_0x2123('0x27')][_0x2123('0x1a')](_0x2123('0x49'),'',_0x2123('0x73'))),_0x50cfca['_suggestionFactory'][_0x2123('0xb')](_0x2123('0x70'),'convertInlineImageToBlock',_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')]['registerCustomCallback'](_0x2123('0x70'),_0x2123('0x6f'),'discard',([_0x3660ae])=>{const _0x3a309d=_0x50cfca[_0x2123('0x27')]['getSuggestionCallback'](_0x2123('0x70'),'','discard');let _0x5c4ef2=_0x3660ae[_0x2123('0x5b')],_0x4f7669=_0x3660ae[_0x2123('0x6b')];const _0x31e9f6=_0x2aebe3[_0x2123('0x68')][_0x2123('0x52')][_0x2123('0x75')](_0x5c4ef2,_0x2123('0x4c')),_0x43e686=_0x2aebe3['model']['schema']['getNearestSelectionRange'](_0x4f7669,_0x2123('0x2e'));_0x31e9f6['isCollapsed']&&(_0x5c4ef2=_0x31e9f6[_0x2123('0x5b')]),_0x43e686[_0x2123('0x7')]&&(_0x4f7669=_0x43e686['end']),_0x3a309d([_0x2aebe3[_0x2123('0x68')][_0x2123('0xd')](_0x5c4ef2,_0x4f7669)]);}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x43'),_0x25451c),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('insertion',_0x2123('0x6f'),_0x2123('0x43'),_0x25451c)),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')]('ImageCaptionEditing')&&(_0x50cfca[_0x2123('0x21')](_0x2123('0x15'),(_0x3a051d,_0x3fe936)=>{const _0x183912=_0x2aebe3[_0x2123('0x77')][_0x2123('0x2c')](_0x2123('0x6'));let _0x1a2820=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]),_0x3379de=_0x183912['getCaptionFromImageModelElement'](_0x1a2820);_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{if(_0x3379de)return void _0x50cfca[_0x2123('0x74')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x3379de));const _0xc9501c=_0x163010[_0x2123('0x5')](_0x1a2820);_0x3a051d(_0x3fe936),_0x1a2820=_0x163010[_0x2123('0x2')](_0x2aebe3['model'][_0x2123('0x3d')][_0x2123('0x34')]),_0x3379de=_0x183912[_0x2123('0x37')](_0x1a2820),_0x50cfca[_0x2123('0x33')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x3379de),_0xc9501c?null:_0x2123('0x6a'));});}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('insertion',_0x2123('0x6a'),_0x2123('0x43'),_0x25451c)),_0x2aebe3['plugins'][_0x2123('0x0')]('ImageStyleEditing')){_0x50cfca[_0x2123('0x21')]('imageStyle',(_0x28e616,_0x51ab5d)=>{const _0x41fb12=_0x2aebe3[_0x2123('0x77')]['get']('Users')['me'],_0x38fb78=_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')](_0x2123('0x48'));let _0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']),_0x1e688b=_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x2882cd),_0x3347fd=_0x38fb78[_0x2123('0x9')];if(_0x3347fd==_0x51ab5d[_0x2123('0x9')])return;const _0x35dee9={'commandName':_0x2123('0x48'),'commandParams':[_0x51ab5d],'formatGroupId':_0x1f670d()};_0x2aebe3[_0x2123('0x68')]['change'](()=>{if(_0x50cfca['getSuggestions']()[_0x2123('0x3b')](_0x58bc93=>_0x58bc93[_0x2123('0x45')]&&_0x41fb12==_0x58bc93[_0x2123('0x65')]&&(_0x2123('0x49')==_0x58bc93[_0x2123('0x31')]||_0x2123('0x17')==_0x58bc93[_0x2123('0x31')])&&('imageStylePreApply'==_0x58bc93['subType']||_0x2123('0x58')==_0x58bc93[_0x2123('0x47')])&&_0x58bc93[_0x2123('0x78')]()['isEqual'](_0x1e688b))[_0x2123('0x22')](_0x543d56=>_0x50cfca[_0x2123('0x1f')](_0x543d56[_0x2123('0x3')])),_0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']),_0x1e688b=_0x2aebe3['model']['createRangeOn'](_0x2882cd),_0x38fb78['refresh'](),_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')]('imageTypeInline')['refresh'](),_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')](_0x2123('0x24'))[_0x2123('0x50')](),_0x3347fd=_0x38fb78[_0x2123('0x9')],_0x3347fd!=_0x51ab5d[_0x2123('0x9')])return _0x163010[_0x2123('0xe')](_0x2882cd)&&_0x38fb78[_0x2123('0x11')](_0x51ab5d[_0x2123('0x9')],_0x2882cd)?(_0x28e616(_0x51ab5d),_0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')]['document']['selection']),void _0x50cfca[_0x2123('0x5f')](_0x2882cd,{..._0x35dee9,'commandReversedParams':[{'value':_0x3347fd||null}]},[],_0x2123('0x44'))):void(_0x163010[_0x2123('0x5')](_0x2882cd)?_0x50cfca['markBlockFormat'](_0x2882cd,_0x35dee9,[],'imageStylePostApply'):_0x50cfca[_0x2123('0x56')](_0x1e688b,_0x35dee9,_0x2123('0x58')));});});for(const _0xdd3189 of _0x2aebe3[_0x2123('0x77')]['get'](_0x2123('0x57'))['normalizedStyles'])_0x1fe626[_0xdd3189[_0x2123('0x38')]]=_0xdd3189['title'][_0x2123('0x76')]();_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),'imageStylePreApply',_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x58'),'join',()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x17'),_0x2123('0x58'),_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('formatBlock',_0x2123('0x44'),_0x2123('0x73'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x44'),_0x2123('0x28'),(_0x1a77de,_0x50ec8d)=>{_0x50cfca[_0x2123('0x27')][_0x2123('0x1a')](_0x2123('0x49'),'',_0x2123('0x73'))(_0x1a77de,{'commandName':_0x50ec8d[_0x2123('0x2f')],'commandParams':_0x50ec8d['commandReversedParams']});}),_0x50cfca[_0x2123('0x27')]['registerCustomCallback'](_0x2123('0x49'),'imageStylePreApply',_0x2123('0x43'),_0x25451c);}const _0x59765a=[{'type':_0x2123('0x49'),'subType':_0x2123('0x44')},{'type':_0x2123('0x70'),'subType':_0x2123('0x6a')},{'type':_0x2123('0x49'),'subType':'convertInlineImageToBlock'},{'type':_0x2123('0x70'),'subType':_0x2123('0x6f')}];function _0x14f27d(_0x3a0306,_0x3ce349){const _0x27db09=_0x59765a['findIndex'](({type:_0x158d48,subType:_0x20308e})=>_0x3a0306[_0x2123('0x31')]==_0x158d48&&_0x3a0306['subType']==_0x20308e),_0x1dd8bf=_0x59765a[_0x2123('0x42')](({type:_0x111155,subType:_0x401ec6})=>_0x3ce349[_0x2123('0x31')]==_0x111155&&_0x3ce349[_0x2123('0x47')]==_0x401ec6);if(_0x27db09<0x0||_0x1dd8bf<0x0)return!0x1;const _0x33fff5=_0x3a0306[_0x2123('0x78')](),_0x23af49=_0x3ce349[_0x2123('0x78')]();if((0x0==_0x27db09||0x1==_0x27db09)&&0x2==_0x1dd8bf&&_0x33fff5[_0x2123('0x20')](_0x23af49))return!0x0;if(0x2==_0x27db09&&0x3==_0x1dd8bf){const _0x4d8249=_0x50cfca['_findSuggestions'](_0x33fff5,_0x2123('0x70'))[_0x2123('0x3b')](({suggestion:_0x37d849,meta:_0x19ba7a})=>_0x19ba7a[_0x2123('0x5e')]&&'convertInlineImageToBlock'==_0x37d849[_0x2123('0x47')]);if(_0x4d8249[_0x2123('0x18')]>0x1&&_0x23af49[_0x2123('0x6b')]['isEqual'](_0x33fff5[_0x2123('0x5b')]))return!0x0;if(0x1==_0x4d8249[_0x2123('0x18')]&&(_0x33fff5[_0x2123('0x5b')][_0x2123('0x3c')](_0x23af49[_0x2123('0x6b')])||_0x33fff5[_0x2123('0x6b')][_0x2123('0x3c')](_0x23af49[_0x2123('0x5b')])))return!0x0;}if(0x3==_0x27db09&&0x3==_0x1dd8bf&&_0x33fff5[_0x2123('0x5b')]['isBefore'](_0x23af49['start'])){const _0x2c6a38=_0x33fff5[_0x2123('0x6b')][_0x2123('0x12')],_0xc71472=_0x23af49[_0x2123('0x5b')][_0x2123('0x4f')];return _0x163010['isBlockImage'](_0x2c6a38)&&_0x2c6a38===_0xc71472;}return!0x1;}function _0x25451c(_0x77f0e5,_0x221101){return _0x14f27d(_0x77f0e5,_0x221101)?[_0x77f0e5,_0x221101]:_0x14f27d(_0x221101,_0x77f0e5)?[_0x221101,_0x77f0e5]:null;}_0x2aebe3[_0x2123('0x68')]['document'][_0x2123('0x4e')](()=>{let _0x1f751a=!0x1;const _0x5c63e7=Array[_0x2123('0x64')](_0x2aebe3['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4caec6,data:_0x150660}of _0x5c63e7){const {group:_0x324ee8,type:_0x47d5c5,subType:_0xaf1c25,id:_0x1ee001}=_0x50cfca['_splitMarkerName'](_0x4caec6);if('suggestion'==_0x324ee8&&_0x50cfca[_0x2123('0x6d')](_0x1ee001)){if(_0x2123('0x49')==_0x47d5c5&&(_0x2123('0x44')==_0xaf1c25||_0x2123('0x58')==_0xaf1c25)){const _0x2b75da=_0x50cfca['getSuggestion'](_0x1ee001);if(_0x150660['newRange']){const _0x36ffb8=_0x2b75da[_0x2123('0x78')]()[_0x2123('0x23')]();if(_0x163010[_0x2123('0x5')](_0x36ffb8))continue;_0x50cfca['discardSuggestion'](_0x2b75da),_0x1f751a=!0x0;}}if(_0x2123('0x70')==_0x47d5c5&&_0x2123('0x6a')==_0xaf1c25&&!_0x150660[_0x2123('0x60')]){const _0x5c8023=_0x50cfca[_0x2123('0x5c')](_0x1ee001);_0x5c8023[_0x2123('0x5a')]&&_0x5c8023[_0x2123('0x5a')][_0x2123('0x45')]&&(_0x50cfca['discardSuggestion'](_0x5c8023[_0x2123('0x5a')]),_0x1f751a=!0x0);}}}return _0x1f751a;}),_0x2aebe3[_0x2123('0x77')]['has']('ImageResize')&&_0x50cfca[_0x2123('0x21')](_0x2123('0x2d'),(_0x5d4bf4,_0x3429de)=>{const _0x35c9d2=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]);_0x35c9d2['getAttribute'](_0x2123('0x55'))!=_0x3429de[_0x2123('0x55')]&&_0x2aebe3['model']['change'](()=>{_0x50cfca['markBlockFormat'](_0x35c9d2,{'commandName':_0x2123('0x2d'),'commandParams':[_0x3429de]});});}),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x3f'))&&_0x50cfca[_0x2123('0x21')](_0x2123('0x29'),(_0x47eac8,_0x5611a7)=>{const _0x48cd4e=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']);(_0x48cd4e['hasAttribute'](_0x2123('0x72'))?_0x48cd4e[_0x2123('0x67')](_0x2123('0x72')):'')!=_0x5611a7[_0x2123('0x4d')]&&_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{_0x50cfca[_0x2123('0x5f')](_0x48cd4e,{'commandName':'imageTextAlternative','commandParams':[_0x5611a7]});});}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x10f55f=>{if(!!_0x59765a[_0x2123('0x35')](({type:_0xa6d02c,subType:_0x178705})=>_0x10f55f[_0x2123('0x31')]==_0xa6d02c&&_0x10f55f[_0x2123('0x47')]==_0x178705))return _0x10f55f[_0x2123('0x16')]?{}:void 0x0;}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x37b0e7=>{if(_0x2123('0x70')==_0x37b0e7[_0x2123('0x31')]||_0x2123('0x10')==_0x37b0e7[_0x2123('0x31')]){const _0x49da14=_0x37b0e7[_0x2123('0x23')]();if(_0x49da14&&_0x49da14['is'](_0x2123('0x1e'),_0x2123('0x26')))return{'type':_0x2123('0x70')==_0x37b0e7['type']?_0x2123('0x5d'):_0x2123('0x61'),'element':_0x49da14,'quantity':0x1};}}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x3c0b4d=>_0x2123('0x49')==_0x3c0b4d[_0x2123('0x31')]&&'convertInlineImageToBlock'==_0x3c0b4d[_0x2123('0x47')]?{'type':_0x2123('0xa'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x3c0b4d[_0x2123('0x31')]&&_0x2123('0x1d')==_0x3c0b4d[_0x2123('0x47')]?{'type':'format','content':_0x2123('0x4b')}:void 0x0),_0x50cfca['_descriptionFactory']['registerDescriptionCallback'](_0x5f0265=>{const {data:_0x3fcbaf}=_0x5f0265;if(_0x3fcbaf){if(_0x2123('0x48')==_0x3fcbaf[_0x2123('0x2f')]){const _0x441004=_0x3fcbaf[_0x2123('0x2a')][0x0][_0x2123('0x9')];return _0x5ccefb(_0x2123('0x66')===_0x441004?_0x1adf2f(_0x236755,_0x2123('0x4a')):_0x1fe626[_0x441004]||_0x441004);}if(_0x2123('0x29')==_0x3fcbaf['commandName']){const _0x46b12b=_0x3fcbaf[_0x2123('0x2a')][0x0]['newValue'];return _0x46b12b?{'type':'format','content':_0x1adf2f(_0x236755,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x46b12b+'\x22')}:{'type':'format','content':_0x1adf2f(_0x236755,_0x2123('0x4'))};}if(_0x2123('0x2d')==_0x3fcbaf['commandName']){const _0x4d20f5=_0x3fcbaf[_0x2123('0x2a')][0x0][_0x2123('0x55')];return _0x4d20f5?{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x1b'),_0x4d20f5)}:{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x53'))};}}function _0x5ccefb(_0x4b8f24){return{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x39'),_0x4b8f24)};}});}}
23
+ const _0x5192=['insertImage','*Set\x20image\x20width:*\x20%0','forceDefaultExecution','ImageBlockEditing','detach','insertion','shouldConvertImageType','hasAttribute','length','discardSuggestion','ImageCaptionEditing','toggleImageCaption','title','getSuggestion','Block\x20image\x20to\x20inline\x20image','markDeletion','isOwn','createRange','normalizedStyles','get','createRangeOn','convertInlineImageToBlock','markInsertion','ELEMENT_IMAGE','removeObject','fromPosition','ImageStyleEditing','formatInline','isBefore','commands','uploadImage','document','format','caption','afterInit','author','*Set\x20image\x20text\x20alternative:*\x20%0','formatBlock','element','ImageCaptionUtils','commandParams','markBlockFormat','findIndex','editor','registerDescriptionCallback','_descriptionFactory','side','getSuggestionCallback','ImageUtils','plugins','change','getContainedElement','toLowerCase','discard','getCaptionFromImageModelElement','isInContent','isInlineImage','next','alt','newValue','getClosestSelectedImageElement','getNearestSelectionRange','chain','ImageTextAlternativeEditing','imageTypeBlock','hasSuggestion','getSuggestions','toPrevious','newRange','end','isEqual','ImageEditing','registerPostFixer','registerElementLabel','markInlineFormat','imageTypeInline','deletion','refresh','accept','commandReversedParams','value','registerCustomCallback','getFirstRange','subType','forward','previous','type','imageInline','_suggestionFactory','ImageResize','has','ELEMENT_CAPTION','getChangedMarkers','selection','FORMAT_SIDE_IMAGE','imageBlock','enableCommand','*Remove\x20image\x20text\x20alternative*','start','*Format:*\x20%0','imageTextAlternative','isIntersecting','imageStylePostApply','isCollapsed','commandName','imageStylePreApply','join','Inline\x20image\x20to\x20block\x20image','filter','imageStyle','Users','getAttribute','isBlockImage','schema','convertBlockImageToInline','model','width','head','suggestion','resizeImage','ImageInlineEditing','imageCaption','*Reset\x20image\x20width*'];(function(_0x1cd629,_0x51929d){const _0xa58168=function(_0x36d9cc){while(--_0x36d9cc){_0x1cd629['push'](_0x1cd629['shift']());}};_0xa58168(++_0x51929d);}(_0x5192,0xdd));const _0xa581=function(_0x1cd629,_0x51929d){_0x1cd629=_0x1cd629-0x0;let _0xa58168=_0x5192[_0x1cd629];return _0xa58168;};import{Plugin as _0x194d6d}from'ckeditor5/src/core';import{LivePosition as _0x54ca06}from'ckeditor5/src/engine';import{uid as _0x4008d6}from'ckeditor5/src/utils';import{getTranslation as _0x140a06}from'../utils/common-translations';export default class X extends _0x194d6d{[_0xa581('0x3b')](){const _0x45c69c=this[_0xa581('0x44')];if(!_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x60')))return;const _0x2edd3a=_0x45c69c['plugins'][_0xa581('0x2c')]('TrackChangesEditing'),_0x2df3a7=_0x45c69c[_0xa581('0x4a')][_0xa581('0x2c')](_0xa581('0x49')),_0x3ed7d0={},_0x48fa6b=_0x45c69c['locale'];if(_0x2edd3a[_0xa581('0x79')](_0xa581('0x19')),_0x2edd3a[_0xa581('0x46')]['registerElementLabel'](_0xa581('0x78'),_0x501bf6=>_0x140a06(_0x48fa6b,_0xa581('0x30'),_0x501bf6)),_0x2edd3a['_descriptionFactory']['registerElementLabel'](_0xa581('0x70'),_0x5d1ba1=>_0x140a06(_0x48fa6b,'ELEMENT_INLINE_IMAGE',_0x5d1ba1)),_0x2edd3a[_0xa581('0x46')][_0xa581('0x62')](_0xa581('0x3a'),()=>_0x140a06(_0x48fa6b,_0xa581('0x74'))),_0x45c69c[_0xa581('0x4a')]['has']('ImageUploadEditing')&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x37')),_0x45c69c['plugins']['has'](_0xa581('0x1c'))&&_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x16'))&&(_0x2edd3a['enableCommand']('imageTypeInline',(_0x188b19,_0x34bcde)=>{const _0x29e177=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);_0x45c69c['model']['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x29e177,{'commandName':_0xa581('0x64'),'commandParams':[_0x34bcde]},[],'convertBlockImageToInline');});}),_0x2edd3a[_0xa581('0x79')](_0xa581('0x59'),(_0x1b6290,_0x24333f)=>{_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](_0x145b72=>{let _0x9543e0=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c[_0xa581('0x11')]['document']['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x486ead=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x0')],_0xa581('0x5c')),_0x8fbb60=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x5e')],'toNext');_0x2edd3a[_0xa581('0x1b')](()=>_0x1b6290(_0x24333f)),_0x9543e0=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x12aa7f=_0x145b72[_0xa581('0x2a')](_0x486ead,_0x8fbb60);_0x486ead[_0xa581('0x1d')](),_0x8fbb60['detach'](),_0x2edd3a['markBlockFormat'](_0x9543e0,{'commandName':_0xa581('0x64'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x12aa7f[_0xa581('0x0')][_0xa581('0x35')](_0x42ac2d[_0xa581('0x0')])&&_0x2edd3a['markInsertion'](_0x145b72[_0xa581('0x2a')](_0x12aa7f[_0xa581('0x0')],_0x42ac2d['start']),_0xa581('0x2e')),_0x42ac2d[_0xa581('0x5e')]['isBefore'](_0x12aa7f['end'])&&_0x2edd3a[_0xa581('0x2f')](_0x145b72[_0xa581('0x2a')](_0x42ac2d[_0xa581('0x5e')],_0x12aa7f['end']),'convertInlineImageToBlock');});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'convertInlineImageToBlock','join',()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')]('formatBlock',_0xa581('0x2e'),_0xa581('0x67'),()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback'](_0xa581('0x3e'),_0xa581('0x2e'),'discard',_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x3e'),'',_0xa581('0x67'))),_0x2edd3a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x1e'),'convertInlineImageToBlock',_0xa581('0x4e'),([_0x32f4f5])=>{const _0x315b40=_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x1e'),'',_0xa581('0x4e'));let _0x4dcb12=_0x32f4f5[_0xa581('0x0')],_0x5802fc=_0x32f4f5[_0xa581('0x5e')];const _0x2787e6=_0x45c69c[_0xa581('0x11')]['schema']['getNearestSelectionRange'](_0x4dcb12,'backward'),_0x4b093f=_0x45c69c[_0xa581('0x11')][_0xa581('0xf')][_0xa581('0x56')](_0x5802fc,_0xa581('0x6d'));_0x2787e6[_0xa581('0x5')]&&(_0x4dcb12=_0x2787e6['start']),_0x4b093f[_0xa581('0x5')]&&(_0x5802fc=_0x4b093f[_0xa581('0x5e')]),_0x315b40([_0x45c69c[_0xa581('0x11')][_0xa581('0x2a')](_0x4dcb12,_0x5802fc)]);}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x3e'),'convertInlineImageToBlock','chain',_0x2e8b77),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')]('insertion',_0xa581('0x2e'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x23'))&&(_0x2edd3a[_0xa581('0x79')](_0xa581('0x24'),(_0x50ec19,_0x4ec8f9)=>{const _0x1d0427=_0x45c69c['plugins'][_0xa581('0x2c')](_0xa581('0x40'));let _0x3200e5=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c['model']['document'][_0xa581('0x76')]),_0x567a78=_0x1d0427[_0xa581('0x4f')](_0x3200e5);_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](()=>{if(_0x567a78)return void _0x2edd3a[_0xa581('0x28')](_0x45c69c['model'][_0xa581('0x2d')](_0x567a78));const _0x1e5ef9=_0x2df3a7['isBlockImage'](_0x3200e5);_0x50ec19(_0x4ec8f9),_0x3200e5=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x567a78=_0x1d0427['getCaptionFromImageModelElement'](_0x3200e5),_0x2edd3a[_0xa581('0x2f')](_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x567a78),_0x1e5ef9?null:_0xa581('0x17'));});}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x1e'),_0xa581('0x17'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c['plugins']['has']('ImageStyleEditing')){_0x2edd3a[_0xa581('0x79')](_0xa581('0xb'),(_0x4c9e11,_0x8ce84)=>{const _0x1eb946=_0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0xc'))['me'],_0x349aa4=_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0xb'));let _0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]),_0x4de564=_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x24cddf),_0x52c9b7=_0x349aa4[_0xa581('0x69')];if(_0x52c9b7==_0x8ce84['value'])return;const _0x35dcd9={'commandName':_0xa581('0xb'),'commandParams':[_0x8ce84],'formatGroupId':_0x4008d6()};_0x45c69c[_0xa581('0x11')]['change'](()=>{if(_0x2edd3a[_0xa581('0x5b')]()['filter'](_0x346aaa=>_0x346aaa[_0xa581('0x50')]&&_0x1eb946==_0x346aaa[_0xa581('0x3c')]&&('formatBlock'==_0x346aaa[_0xa581('0x6f')]||'formatInline'==_0x346aaa[_0xa581('0x6f')])&&(_0xa581('0x7')==_0x346aaa[_0xa581('0x6c')]||_0xa581('0x4')==_0x346aaa[_0xa581('0x6c')])&&_0x346aaa[_0xa581('0x6b')]()[_0xa581('0x5f')](_0x4de564))['forEach'](_0xcacdec=>_0x2edd3a['discardSuggestion'](_0xcacdec[_0xa581('0x13')])),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x4de564=_0x45c69c[_0xa581('0x11')]['createRangeOn'](_0x24cddf),_0x349aa4['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x64'))['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x59'))[_0xa581('0x66')](),_0x52c9b7=_0x349aa4[_0xa581('0x69')],_0x52c9b7!=_0x8ce84['value'])return _0x2df3a7[_0xa581('0x51')](_0x24cddf)&&_0x349aa4[_0xa581('0x1f')](_0x8ce84[_0xa581('0x69')],_0x24cddf)?(_0x4c9e11(_0x8ce84),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model']['document'][_0xa581('0x76')]),void _0x2edd3a[_0xa581('0x42')](_0x24cddf,{..._0x35dcd9,'commandReversedParams':[{'value':_0x52c9b7||null}]},[],_0xa581('0x7'))):void(_0x2df3a7['isBlockImage'](_0x24cddf)?_0x2edd3a[_0xa581('0x42')](_0x24cddf,_0x35dcd9,[],_0xa581('0x4')):_0x2edd3a[_0xa581('0x63')](_0x4de564,_0x35dcd9,_0xa581('0x4')));});});for(const _0xe4ca89 of _0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0x33'))[_0xa581('0x2b')])_0x3ed7d0[_0xe4ca89['name']]=_0xe4ca89[_0xa581('0x25')][_0xa581('0x4d')]();_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePostApply',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x34'),_0xa581('0x4'),_0xa581('0x8'),()=>{}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),'accept',()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0xa581('0x4e'),(_0x28886a,_0x521aa9)=>{_0x2edd3a[_0xa581('0x71')]['getSuggestionCallback'](_0xa581('0x3e'),'',_0xa581('0x67'))(_0x28886a,{'commandName':_0x521aa9[_0xa581('0x6')],'commandParams':_0x521aa9[_0xa581('0x68')]});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePreApply',_0xa581('0x57'),_0x2e8b77);}const _0x24306e=[{'type':_0xa581('0x3e'),'subType':_0xa581('0x7')},{'type':_0xa581('0x1e'),'subType':_0xa581('0x17')},{'type':_0xa581('0x3e'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0xa581('0x2e')}];function _0x3e66a3(_0x85bdf3,_0x70e187){const _0x1a83c3=_0x24306e[_0xa581('0x43')](({type:_0x1b2acd,subType:_0x25fab7})=>_0x85bdf3['type']==_0x1b2acd&&_0x85bdf3[_0xa581('0x6c')]==_0x25fab7),_0x3352dc=_0x24306e['findIndex'](({type:_0x12485e,subType:_0x3a5415})=>_0x70e187[_0xa581('0x6f')]==_0x12485e&&_0x70e187[_0xa581('0x6c')]==_0x3a5415);if(_0x1a83c3<0x0||_0x3352dc<0x0)return!0x1;const _0x2f2f08=_0x85bdf3[_0xa581('0x6b')](),_0x4a4426=_0x70e187['getFirstRange']();if((0x0==_0x1a83c3||0x1==_0x1a83c3)&&0x2==_0x3352dc&&_0x2f2f08[_0xa581('0x3')](_0x4a4426))return!0x0;if(0x2==_0x1a83c3&&0x3==_0x3352dc){const _0x3c939f=_0x2edd3a['_findSuggestions'](_0x2f2f08,_0xa581('0x1e'))[_0xa581('0xa')](({suggestion:_0x56939f,meta:_0x1b5156})=>_0x1b5156[_0xa581('0x29')]&&_0xa581('0x2e')==_0x56939f[_0xa581('0x6c')]);if(_0x3c939f[_0xa581('0x21')]>0x1&&_0x4a4426[_0xa581('0x5e')][_0xa581('0x5f')](_0x2f2f08['start']))return!0x0;if(0x1==_0x3c939f[_0xa581('0x21')]&&(_0x2f2f08[_0xa581('0x0')][_0xa581('0x5f')](_0x4a4426['end'])||_0x2f2f08[_0xa581('0x5e')][_0xa581('0x5f')](_0x4a4426[_0xa581('0x0')])))return!0x0;}if(0x3==_0x1a83c3&&0x3==_0x3352dc&&_0x2f2f08[_0xa581('0x0')][_0xa581('0x35')](_0x4a4426[_0xa581('0x0')])){const _0x1023c9=_0x2f2f08[_0xa581('0x5e')]['nodeAfter'],_0x5ec289=_0x4a4426[_0xa581('0x0')]['nodeBefore'];return _0x2df3a7[_0xa581('0xe')](_0x1023c9)&&_0x1023c9===_0x5ec289;}return!0x1;}function _0x2e8b77(_0x3e1756,_0xd469c){return _0x3e66a3(_0x3e1756,_0xd469c)?[_0x3e1756,_0xd469c]:_0x3e66a3(_0xd469c,_0x3e1756)?[_0xd469c,_0x3e1756]:null;}_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x61')](()=>{let _0x1cb13e=!0x1;const _0x595767=Array['from'](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')]['differ'][_0xa581('0x75')]());for(const {name:_0x57e8b1,data:_0x430a13}of _0x595767){const {group:_0x6fbd11,type:_0x2340bb,subType:_0x105f80,id:_0x5cdcbb}=_0x2edd3a['_splitMarkerName'](_0x57e8b1);if(_0xa581('0x14')==_0x6fbd11&&_0x2edd3a[_0xa581('0x5a')](_0x5cdcbb)){if(_0xa581('0x3e')==_0x2340bb&&(_0xa581('0x7')==_0x105f80||'imageStylePostApply'==_0x105f80)){const _0x322aad=_0x2edd3a[_0xa581('0x26')](_0x5cdcbb);if(_0x430a13[_0xa581('0x5d')]){const _0x26fd29=_0x322aad[_0xa581('0x6b')]()['getContainedElement']();if(_0x2df3a7[_0xa581('0xe')](_0x26fd29))continue;_0x2edd3a['discardSuggestion'](_0x322aad),_0x1cb13e=!0x0;}}if(_0xa581('0x1e')==_0x2340bb&&_0xa581('0x17')==_0x105f80&&!_0x430a13['newRange']){const _0x373cd8=_0x2edd3a['getSuggestion'](_0x5cdcbb);_0x373cd8[_0xa581('0x52')]&&_0x373cd8[_0xa581('0x52')][_0xa581('0x50')]&&(_0x2edd3a[_0xa581('0x22')](_0x373cd8[_0xa581('0x52')]),_0x1cb13e=!0x0);}}}return _0x1cb13e;}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x72'))&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x15'),(_0x2080c7,_0x2fa663)=>{const _0x5bebd9=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]);_0x5bebd9[_0xa581('0xd')](_0xa581('0x12'))!=_0x2fa663[_0xa581('0x12')]&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x5bebd9,{'commandName':_0xa581('0x15'),'commandParams':[_0x2fa663]});});}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x58'))&&_0x2edd3a[_0xa581('0x79')]('imageTextAlternative',(_0x3621f5,_0x2c1613)=>{const _0x17090e=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);(_0x17090e[_0xa581('0x20')](_0xa581('0x53'))?_0x17090e[_0xa581('0xd')](_0xa581('0x53')):'')!=_0x2c1613['newValue']&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x17090e,{'commandName':_0xa581('0x2'),'commandParams':[_0x2c1613]});});}),_0x2edd3a['_descriptionFactory'][_0xa581('0x45')](_0x4e9990=>{if(!!_0x24306e['find'](({type:_0x45c3e2,subType:_0x2dee03})=>_0x4e9990[_0xa581('0x6f')]==_0x45c3e2&&_0x4e9990[_0xa581('0x6c')]==_0x2dee03))return _0x4e9990[_0xa581('0x6e')]?{}:void 0x0;}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x96cd4c=>{if('insertion'==_0x96cd4c[_0xa581('0x6f')]||_0xa581('0x65')==_0x96cd4c[_0xa581('0x6f')]){const _0x38bea2=_0x96cd4c[_0xa581('0x4c')]();if(_0x38bea2&&_0x38bea2['is'](_0xa581('0x3f'),_0xa581('0x3a')))return{'type':_0xa581('0x1e')==_0x96cd4c[_0xa581('0x6f')]?'addObject':_0xa581('0x31'),'element':_0x38bea2,'quantity':0x1};}}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x45818a=>_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x2e')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x9')}:_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x10')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x27')}:void 0x0),_0x2edd3a[_0xa581('0x46')]['registerDescriptionCallback'](_0x505660=>{const {data:_0x5873e8}=_0x505660;if(_0x5873e8){if(_0xa581('0xb')==_0x5873e8[_0xa581('0x6')]){const _0x50023d=_0x5873e8['commandParams'][0x0][_0xa581('0x69')];return _0x490549(_0xa581('0x47')===_0x50023d?_0x140a06(_0x48fa6b,_0xa581('0x77')):_0x3ed7d0[_0x50023d]||_0x50023d);}if(_0xa581('0x2')==_0x5873e8[_0xa581('0x6')]){const _0x3065fa=_0x5873e8[_0xa581('0x41')][0x0][_0xa581('0x54')];return _0x3065fa?{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x3d'),'\x22'+_0x3065fa+'\x22')}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x7a'))};}if(_0xa581('0x15')==_0x5873e8[_0xa581('0x6')]){const _0x4c365d=_0x5873e8['commandParams'][0x0][_0xa581('0x12')];return _0x4c365d?{'type':'format','content':_0x140a06(_0x48fa6b,_0xa581('0x1a'),_0x4c365d)}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x18'))};}}function _0x490549(_0x469bd3){return{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x1'),_0x469bd3)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48ac=['_suggestionFactory','handleSuggestionDescription','getAttribute','document','source','enableCommand','getSuggestionCallback','has','TrackChangesEditing','author','formatBlock','getContainedElement','replaceImageSource','Users','src','data','subType','model','handleReplaceImageCommand','format','registerCustomCallback','afterInit','*Format:*\x20replace\x20image\x20URL','commandName','_descriptionFactory','plugins','getSelectedElement','markBlockFormat','ImageEditing','accept','get','editor','selection','discard'];(function(_0x2a9fbb,_0x48ac4b){const _0x555219=function(_0x1c9bdf){while(--_0x1c9bdf){_0x2a9fbb['push'](_0x2a9fbb['shift']());}};_0x555219(++_0x48ac4b);}(_0x48ac,0x117));const _0x5552=function(_0x2a9fbb,_0x48ac4b){_0x2a9fbb=_0x2a9fbb-0x0;let _0x555219=_0x48ac[_0x2a9fbb];return _0x555219;};import{Plugin as _0x3c12d2}from'ckeditor5/src/core';import{getTranslation as _0x173957}from'../utils/common-translations';export default class Y extends _0x3c12d2{[_0x5552('0xe')](){if(!this['editor'][_0x5552('0x12')][_0x5552('0x0')](_0x5552('0x15')))return;const _0x218240=this[_0x5552('0x18')]['plugins'][_0x5552('0x17')](_0x5552('0x1'));_0x218240[_0x5552('0x20')]('replaceImageSource',(_0x16f310,_0x3aac20)=>this[_0x5552('0xb')](_0x16f310,_0x3aac20)),_0x218240['_suggestionFactory'][_0x5552('0xd')](_0x5552('0x3'),'replaceImageSource',_0x5552('0x16'),_0x218240[_0x5552('0x1b')][_0x5552('0x21')](_0x5552('0x3'),null,_0x5552('0x1a'))),_0x218240[_0x5552('0x1b')][_0x5552('0xd')](_0x5552('0x3'),_0x5552('0x5'),_0x5552('0x1a'),_0x218240[_0x5552('0x1b')][_0x5552('0x21')](_0x5552('0x3'),null,_0x5552('0x16'))),_0x218240[_0x5552('0x11')]['registerDescriptionCallback'](_0x5b05b2=>this[_0x5552('0x1c')](_0x5b05b2));}[_0x5552('0xb')](_0x141fc7,_0x49a021){const _0x765f14=this['editor'][_0x5552('0x12')][_0x5552('0x17')]('TrackChangesEditing'),_0x18ea40=this[_0x5552('0x18')]['model'][_0x5552('0x1e')][_0x5552('0x19')][_0x5552('0x13')]();this[_0x5552('0x18')][_0x5552('0xa')]['change'](()=>{let _0x54584c=_0x18ea40[_0x5552('0x1d')](_0x5552('0x7'));const _0x4620ca=this[_0x5552('0x18')][_0x5552('0x12')][_0x5552('0x17')](_0x5552('0x6'))['me'];for(const _0x301e43 of _0x765f14['getSuggestions']({'skipNotAttached':!0x0})){const _0x30f0dc=_0x301e43[_0x5552('0x4')]();if('replaceImageSource'===_0x301e43[_0x5552('0x9')]&&_0x30f0dc===_0x18ea40){_0x301e43[_0x5552('0x2')]!==_0x4620ca&&_0x301e43[_0x5552('0x1a')](),_0x54584c=_0x301e43[_0x5552('0x8')]['commandParams'][0x0][_0x5552('0x1f')];break;}}_0x141fc7(_0x49a021),_0x765f14[_0x5552('0x14')](_0x18ea40,{'commandName':_0x5552('0x5'),'commandParams':[{'source':_0x54584c}]},[],_0x5552('0x5'));});}[_0x5552('0x1c')](_0x46f663){const {data:_0x5ab0b8}=_0x46f663;if(_0x5ab0b8&&_0x5552('0x5')===_0x5ab0b8[_0x5552('0x10')]){const _0x135c55=_0x5552('0xf');return{'type':_0x5552('0xc'),'content':_0x173957(this[_0x5552('0x18')]['locale'],_0x135c55)};}}}
23
+ const _0x3d2c=['get','registerDescriptionCallback','subType','src','selection','registerCustomCallback','format','model','handleSuggestionDescription','has','formatBlock','plugins','TrackChangesEditing','author','getAttribute','accept','enableCommand','change','data','editor','locale','ImageEditing','_suggestionFactory','source','discard','handleReplaceImageCommand','markBlockFormat','Users','getSuggestions','commandParams','document','replaceImageSource','*Format:*\x20replace\x20image\x20URL','getContainedElement'];(function(_0x4e160b,_0x3d2cd1){const _0x39ca8e=function(_0x2e695c){while(--_0x2e695c){_0x4e160b['push'](_0x4e160b['shift']());}};_0x39ca8e(++_0x3d2cd1);}(_0x3d2c,0x1ac));const _0x39ca=function(_0x4e160b,_0x3d2cd1){_0x4e160b=_0x4e160b-0x0;let _0x39ca8e=_0x3d2c[_0x4e160b];return _0x39ca8e;};import{Plugin as _0x601513}from'ckeditor5/src/core';import{getTranslation as _0x3dcadd}from'../utils/common-translations';export default class Y extends _0x601513{['afterInit'](){if(!this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0x17')](_0x39ca('0x1')))return;const _0x13d0f7=this['editor'][_0x39ca('0x19')]['get'](_0x39ca('0x1a'));_0x13d0f7[_0x39ca('0x1e')]('replaceImageSource',(_0x38dd6c,_0x34be69)=>this[_0x39ca('0x5')](_0x38dd6c,_0x34be69)),_0x13d0f7[_0x39ca('0x2')][_0x39ca('0x13')](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x1d'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,_0x39ca('0x4'))),_0x13d0f7[_0x39ca('0x2')]['registerCustomCallback'](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x4'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,'accept')),_0x13d0f7['_descriptionFactory'][_0x39ca('0xf')](_0x1b6cfd=>this[_0x39ca('0x16')](_0x1b6cfd));}[_0x39ca('0x5')](_0x470348,_0xef4eca){const _0x23e3d4=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')]('TrackChangesEditing'),_0x3b4fec=this['editor'][_0x39ca('0x15')][_0x39ca('0xa')][_0x39ca('0x12')]['getSelectedElement']();this[_0x39ca('0x21')][_0x39ca('0x15')][_0x39ca('0x1f')](()=>{let _0x3af6b8=_0x3b4fec[_0x39ca('0x1c')](_0x39ca('0x11'));const _0x464b5c=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')](_0x39ca('0x7'))['me'];for(const _0x7dbeaa of _0x23e3d4[_0x39ca('0x8')]({'skipNotAttached':!0x0})){const _0xb5bb78=_0x7dbeaa[_0x39ca('0xd')]();if(_0x39ca('0xb')===_0x7dbeaa[_0x39ca('0x10')]&&_0xb5bb78===_0x3b4fec){_0x7dbeaa[_0x39ca('0x1b')]!==_0x464b5c&&_0x7dbeaa[_0x39ca('0x4')](),_0x3af6b8=_0x7dbeaa[_0x39ca('0x20')][_0x39ca('0x9')][0x0][_0x39ca('0x3')];break;}}_0x470348(_0xef4eca),_0x23e3d4[_0x39ca('0x6')](_0x3b4fec,{'commandName':_0x39ca('0xb'),'commandParams':[{'source':_0x3af6b8}]},[],_0x39ca('0xb'));});}[_0x39ca('0x16')](_0x3853b2){const {data:_0x555c1e}=_0x3853b2;if(_0x555c1e&&_0x39ca('0xb')===_0x555c1e['commandName']){const _0x3298fa=_0x39ca('0xc');return{'type':_0x39ca('0x14'),'content':_0x3dcadd(this[_0x39ca('0x21')][_0x39ca('0x0')],_0x3298fa)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44c8=['execute','commands','enableCommand','importWord','get','_trackChangesExecuted','editor','value','collaboration_features','listenTo','afterInit','_trackChangesValueDuringImport','plugins','Users','_setSuggestionData','_handleImportedData','trackChanges','TrackChangesEditing','dataInsert','track_changes','bind','lowest'];(function(_0x32e1fc,_0x44c867){const _0x1f6243=function(_0x5add88){while(--_0x5add88){_0x32e1fc['push'](_0x32e1fc['shift']());}};_0x1f6243(++_0x44c867);}(_0x44c8,0x71));const _0x1f62=function(_0x32e1fc,_0x44c867){_0x32e1fc=_0x32e1fc-0x0;let _0x1f6243=_0x44c8[_0x32e1fc];return _0x1f6243;};import{Plugin as _0x1b534f}from'ckeditor5/src/core';export default class Z extends _0x1b534f{constructor(_0x5f55bc){super(_0x5f55bc),this[_0x1f62('0x8')]=!0x1,this[_0x1f62('0x2')]=!0x1;}[_0x1f62('0x7')](){const _0x3ef7e9=this['editor'],_0xbc3037=_0x3ef7e9[_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0x0')),_0x560113=_0x3ef7e9[_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0xd'));_0xbc3037&&(_0xbc3037['on'](_0x1f62('0x13'),(_0x1a66d3,[,_0x432180])=>{this[_0x1f62('0x8')]=_0x560113[_0x1f62('0x4')],_0x432180[_0x1f62('0x5')][_0x1f62('0x10')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x1f62('0x6')](_0xbc3037,_0x1f62('0xf'),this[_0x1f62('0xc')][_0x1f62('0x11')](this)),this[_0x1f62('0x6')](_0xbc3037,'dataInsert',()=>{this[_0x1f62('0x2')]&&(_0x560113[_0x1f62('0x13')](),this[_0x1f62('0x2')]=!0x1);},{'priority':_0x1f62('0x12')}),_0x3ef7e9[_0x1f62('0x9')][_0x1f62('0x1')]('TrackChangesEditing')[_0x1f62('0x15')](_0x1f62('0x0')));}[_0x1f62('0xc')](_0x11215f,_0x5aced4){const {suggestions:_0x4aec51}=_0x5aced4,_0x11cdf7=this['editor'][_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0xd')),_0x153246=_0x11cdf7[_0x1f62('0x4')];this[_0x1f62('0x8')]!==_0x153246&&(_0x11cdf7[_0x1f62('0x13')](),this[_0x1f62('0x2')]=!0x0),_0x4aec51&&_0x4aec51['forEach'](({id:_0x393e5a,type:_0x52c57d,author:_0xcb49d4,created_at:_0x12806a})=>{const _0x2c2ec8={'id':_0x393e5a,'type':_0x52c57d,'authorId':this[_0x1f62('0x3')][_0x1f62('0x9')][_0x1f62('0x1')](_0x1f62('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xcb49d4,'createdAt':_0x12806a?new Date(_0x12806a):new Date(),'source':_0x1f62('0x0')}}};this['editor']['plugins'][_0x1f62('0x1')](_0x1f62('0xe'))[_0x1f62('0xb')](_0x2c2ec8);});}}
23
+ const _0x2f1a=['bind','editor','commands','plugins','execute','importWord','Users','_trackChangesExecuted','_setSuggestionData','listenTo','dataInsert','collaboration_features','_handleImportedData','trackChanges','afterInit','value','TrackChangesEditing','track_changes','get','forEach','_trackChangesValueDuringImport'];(function(_0x17bb51,_0x2f1a6b){const _0x26d739=function(_0xe40f3f){while(--_0xe40f3f){_0x17bb51['push'](_0x17bb51['shift']());}};_0x26d739(++_0x2f1a6b);}(_0x2f1a,0xc7));const _0x26d7=function(_0x17bb51,_0x2f1a6b){_0x17bb51=_0x17bb51-0x0;let _0x26d739=_0x2f1a[_0x17bb51];return _0x26d739;};import{Plugin as _0x26d8e6}from'ckeditor5/src/core';export default class Z extends _0x26d8e6{constructor(_0x3fbe31){super(_0x3fbe31),this[_0x26d7('0xa')]=!0x1,this[_0x26d7('0x12')]=!0x1;}[_0x26d7('0x4')](){const _0x1300ca=this[_0x26d7('0xc')],_0x298207=_0x1300ca['commands']['get'](_0x26d7('0x10')),_0x1dc70c=_0x1300ca[_0x26d7('0xd')]['get'](_0x26d7('0x3'));_0x298207&&(_0x298207['on'](_0x26d7('0xf'),(_0x565839,[,_0x482150])=>{this[_0x26d7('0xa')]=_0x1dc70c[_0x26d7('0x5')],_0x482150[_0x26d7('0x1')][_0x26d7('0x7')]=!this[_0x26d7('0xa')];},{'priority':'high'}),this[_0x26d7('0x14')](_0x298207,_0x26d7('0x0'),this[_0x26d7('0x2')][_0x26d7('0xb')](this)),this['listenTo'](_0x298207,_0x26d7('0x0'),()=>{this[_0x26d7('0x12')]&&(_0x1dc70c['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x1300ca[_0x26d7('0xe')]['get'](_0x26d7('0x6'))['enableCommand'](_0x26d7('0x10')));}[_0x26d7('0x2')](_0x4ac5ac,_0x160555){const {suggestions:_0xc8330}=_0x160555,_0x2419fd=this[_0x26d7('0xc')]['commands']['get'](_0x26d7('0x3')),_0x331450=_0x2419fd[_0x26d7('0x5')];this[_0x26d7('0xa')]!==_0x331450&&(_0x2419fd[_0x26d7('0xf')](),this[_0x26d7('0x12')]=!0x0),_0xc8330&&_0xc8330[_0x26d7('0x9')](({id:_0xbc73ae,type:_0x3d9912,author:_0x2de272,created_at:_0x5efcbb})=>{const _0x20ed50={'id':_0xbc73ae,'type':_0x3d9912,'authorId':this['editor'][_0x26d7('0xe')][_0x26d7('0x8')](_0x26d7('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2de272,'createdAt':_0x5efcbb?new Date(_0x5efcbb):new Date(),'source':_0x26d7('0x10')}}};this[_0x26d7('0xc')]['plugins']['get'](_0x26d7('0x6'))[_0x26d7('0x13')](_0x20ed50);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30ee=['from','get','blockIndent','indentBlock','*Outdent:*\x20%0','selection','enableCommand','IndentEditing','document','plugins','change','registerDescriptionCallback','_descriptionFactory','editor','outdentBlock','IndentBlock','has','model','getSelectedBlocks','checkAttribute','format','outdent','filter','getItemLabel','afterInit','commandName'];(function(_0x1a520f,_0x30eec4){const _0x2c5caf=function(_0x2f1c43){while(--_0x2f1c43){_0x1a520f['push'](_0x1a520f['shift']());}};_0x2c5caf(++_0x30eec4);}(_0x30ee,0xd2));const _0x2c5c=function(_0x1a520f,_0x30eec4){_0x1a520f=_0x1a520f-0x0;let _0x2c5caf=_0x30ee[_0x1a520f];return _0x2c5caf;};import{Plugin as _0x4a7df1}from'ckeditor5/src/core';import{getTranslation as _0x5e3ed2}from'../utils/common-translations';export default class tt extends _0x4a7df1{[_0x2c5c('0x16')](){const _0x2b3b95=this[_0x2c5c('0xb')],_0x13e7a6=_0x2b3b95['plugins'][_0x2c5c('0x19')]('TrackChangesEditing');_0x2b3b95[_0x2c5c('0x7')]['has'](_0x2c5c('0x5'))&&(_0x13e7a6[_0x2c5c('0x4')]('indent'),_0x13e7a6[_0x2c5c('0x4')](_0x2c5c('0x13')));const _0x3539a1=_0x2b3b95['locale'];if(_0x2b3b95[_0x2c5c('0x7')][_0x2c5c('0xe')](_0x2c5c('0xd'))){for(const _0x3e1648 of['indentBlock','outdentBlock'])_0x13e7a6['enableCommand'](_0x3e1648,()=>{const _0x1ea8eb=Array[_0x2c5c('0x18')](this[_0x2c5c('0xb')]['model'][_0x2c5c('0x6')][_0x2c5c('0x3')][_0x2c5c('0x10')]())[_0x2c5c('0x14')](_0x289e4d=>this[_0x2c5c('0xb')][_0x2c5c('0xf')]['schema'][_0x2c5c('0x11')](_0x289e4d,_0x2c5c('0x0')));_0x2b3b95[_0x2c5c('0xf')][_0x2c5c('0x8')](()=>{for(const _0x222187 of _0x1ea8eb)_0x13e7a6['markBlockFormat'](_0x222187,{'commandName':_0x3e1648,'commandParams':[{'value':''}],'formatGroupId':_0x2c5c('0x1')});});});_0x13e7a6[_0x2c5c('0xa')][_0x2c5c('0x9')](_0x47e7b6=>{const {data:_0x451ee1}=_0x47e7b6;if(!_0x451ee1)return;if(_0x2c5c('0x1')!=_0x451ee1['commandName']&&_0x2c5c('0xc')!=_0x451ee1[_0x2c5c('0x17')])return;const _0x288eb8=_0x47e7b6['getItems']()[0x0],_0x50a4ef=_0x13e7a6['_descriptionFactory'][_0x2c5c('0x15')](_0x288eb8);return _0x2c5c('0x1')==_0x451ee1[_0x2c5c('0x17')]?{'type':_0x2c5c('0x12'),'content':_0x5e3ed2(_0x3539a1,'*Indent:*\x20%0',_0x50a4ef)}:_0x2c5c('0xc')==_0x451ee1[_0x2c5c('0x17')]?{'type':_0x2c5c('0x12'),'content':_0x5e3ed2(_0x3539a1,_0x2c5c('0x2'),_0x50a4ef)}:void 0x0;});}}}
23
+ const _0x54f3=['blockIndent','change','locale','*Indent:*\x20%0','commandName','model','get','getItems','markBlockFormat','afterInit','selection','IndentBlock','getSelectedBlocks','_descriptionFactory','*Outdent:*\x20%0','plugins','indentBlock','schema','outdentBlock','editor','checkAttribute','IndentEditing','enableCommand','has','indent','TrackChangesEditing','format'];(function(_0xad045d,_0x54f341){const _0x115d32=function(_0xe9d1e){while(--_0xe9d1e){_0xad045d['push'](_0xad045d['shift']());}};_0x115d32(++_0x54f341);}(_0x54f3,0x91));const _0x115d=function(_0xad045d,_0x54f341){_0xad045d=_0xad045d-0x0;let _0x115d32=_0x54f3[_0xad045d];return _0x115d32;};import{Plugin as _0x14f6f3}from'ckeditor5/src/core';import{getTranslation as _0x30bdd4}from'../utils/common-translations';export default class tt extends _0x14f6f3{[_0x115d('0x1a')](){const _0x18f0df=this[_0x115d('0x9')],_0x53c980=_0x18f0df['plugins'][_0x115d('0x17')](_0x115d('0xf'));_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0xb'))&&(_0x53c980[_0x115d('0xc')](_0x115d('0xe')),_0x53c980['enableCommand']('outdent'));const _0xf83982=_0x18f0df[_0x115d('0x13')];if(_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0x1'))){for(const _0x1dd871 of[_0x115d('0x6'),_0x115d('0x8')])_0x53c980[_0x115d('0xc')](_0x1dd871,()=>{const _0x25e764=Array['from'](this[_0x115d('0x9')][_0x115d('0x16')]['document'][_0x115d('0x0')][_0x115d('0x2')]())['filter'](_0x53cf01=>this[_0x115d('0x9')][_0x115d('0x16')][_0x115d('0x7')][_0x115d('0xa')](_0x53cf01,_0x115d('0x11')));_0x18f0df['model'][_0x115d('0x12')](()=>{for(const _0x5b1af8 of _0x25e764)_0x53c980[_0x115d('0x19')](_0x5b1af8,{'commandName':_0x1dd871,'commandParams':[{'value':''}],'formatGroupId':_0x115d('0x6')});});});_0x53c980[_0x115d('0x3')]['registerDescriptionCallback'](_0x252690=>{const {data:_0x4a7480}=_0x252690;if(!_0x4a7480)return;if(_0x115d('0x6')!=_0x4a7480[_0x115d('0x15')]&&_0x115d('0x8')!=_0x4a7480[_0x115d('0x15')])return;const _0x448bd7=_0x252690[_0x115d('0x18')]()[0x0],_0x1f6c4d=_0x53c980[_0x115d('0x3')]['getItemLabel'](_0x448bd7);return _0x115d('0x6')==_0x4a7480[_0x115d('0x15')]?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x14'),_0x1f6c4d)}:_0x115d('0x8')==_0x4a7480['commandName']?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x4'),_0x1f6c4d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5de0=['enableCommand','editor','TrackChangesEditing','init','get','requires','input'];(function(_0x15c5dd,_0x5de09e){var _0x165623=function(_0x3ba0e5){while(--_0x3ba0e5){_0x15c5dd['push'](_0x15c5dd['shift']());}};_0x165623(++_0x5de09e);}(_0x5de0,0xbf));var _0x1656=function(_0x15c5dd,_0x5de09e){_0x15c5dd=_0x15c5dd-0x0;var _0x165623=_0x5de0[_0x15c5dd];return _0x165623;};import{Plugin as _0xeb627}from'ckeditor5/src/core';import{Input as _0x3582a0}from'ckeditor5/src/typing';export default class it extends _0xeb627{static get[_0x1656('0x3')](){return[_0x3582a0];}[_0x1656('0x1')](){this[_0x1656('0x6')]['plugins'][_0x1656('0x2')](_0x1656('0x0'))[_0x1656('0x5')](_0x1656('0x4'));}}
23
+ var _0x3b4b=['requires','input','plugins','enableCommand','get','init'];(function(_0x104047,_0x3b4bb6){var _0x45acd4=function(_0x28b93d){while(--_0x28b93d){_0x104047['push'](_0x104047['shift']());}};_0x45acd4(++_0x3b4bb6);}(_0x3b4b,0xa8));var _0x45ac=function(_0x104047,_0x3b4bb6){_0x104047=_0x104047-0x0;var _0x45acd4=_0x3b4b[_0x104047];return _0x45acd4;};import{Plugin as _0x38c796}from'ckeditor5/src/core';import{Input as _0x59c079}from'ckeditor5/src/typing';export default class it extends _0x38c796{static get[_0x45ac('0x0')](){return[_0x59c079];}[_0x45ac('0x5')](){this['editor'][_0x45ac('0x2')][_0x45ac('0x4')]('TrackChangesEditing')[_0x45ac('0x3')](_0x45ac('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44d4=['selection','commandName','locale','_descriptionFactory','linkHref','format','model','hasAttribute','TrackChangesEditing','from','afterInit','plugins','change','commandParams','getFirstRange','getFirstPosition','editor','unlink','*Remove\x20link*','getRanges','LinkEditing','link','get','isCollapsed','document','enableCommand'];(function(_0x3eca97,_0x44d441){const _0x382e20=function(_0x13785d){while(--_0x13785d){_0x3eca97['push'](_0x3eca97['shift']());}};_0x382e20(++_0x44d441);}(_0x44d4,0x16c));const _0x382e=function(_0x3eca97,_0x44d441){_0x3eca97=_0x3eca97-0x0;let _0x382e20=_0x44d4[_0x3eca97];return _0x382e20;};import{Plugin as _0x4a5ef1}from'ckeditor5/src/core';import{findAttributeRange as _0x381248}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3bc639}from'./utils';import{getTranslation as _0x56a68d}from'../utils/common-translations';export default class et extends _0x4a5ef1{[_0x382e('0xa')](){const _0x15d45a=this[_0x382e('0x10')];if(!_0x15d45a['plugins']['has'](_0x382e('0x14')))return;const _0x40d173=_0x15d45a[_0x382e('0xb')][_0x382e('0x16')](_0x382e('0x8'));_0x40d173[_0x382e('0x19')](_0x382e('0x15'),(_0x164b90,_0x5301c1)=>{const _0x11d940=_0x15d45a[_0x382e('0x6')][_0x382e('0x18')][_0x382e('0x0')];let _0x516723=[];if(_0x11d940['isCollapsed']){if(!_0x11d940[_0x382e('0x7')](_0x382e('0x4')))return void _0x164b90(_0x5301c1);{const _0x527dfb=_0x381248(_0x11d940[_0x382e('0xf')](),_0x382e('0x4'),_0x11d940['getAttribute'](_0x382e('0x4')),_0x15d45a['model']);_0x516723=[_0x527dfb];}}else _0x516723=Array[_0x382e('0x9')](_0x11d940[_0x382e('0x13')]());_0x15d45a['model'][_0x382e('0xc')](()=>{for(const _0x180e9e of _0x516723)_0x40d173['markInlineFormat'](_0x180e9e,{'commandName':_0x382e('0x15'),'commandParams':[_0x5301c1]});});}),_0x40d173[_0x382e('0x19')](_0x382e('0x11'),()=>{const _0x18ba94=this['editor'][_0x382e('0x6')],_0x49eff0=_0x18ba94[_0x382e('0x18')][_0x382e('0x0')];_0x18ba94[_0x382e('0xc')](()=>{let _0x369f3a=[];if(_0x49eff0[_0x382e('0x17')])_0x369f3a=[_0x381248(_0x49eff0[_0x382e('0xf')](),_0x382e('0x4'),_0x49eff0['getAttribute'](_0x382e('0x4')),_0x15d45a[_0x382e('0x6')])];else _0x369f3a=_0x3bc639(_0x382e('0x4'),_0x49eff0[_0x382e('0xe')](),_0x15d45a[_0x382e('0x6')]);for(const _0x4274c3 of _0x369f3a)_0x40d173['markInlineFormat'](_0x4274c3,{'commandName':_0x382e('0x11'),'commandParams':[]});});}),_0x40d173[_0x382e('0x3')]['registerDescriptionCallback'](_0x14c8ad=>{const {data:_0x54fac0}=_0x14c8ad,_0x4c1189=_0x15d45a[_0x382e('0x2')];if(_0x54fac0){if(_0x382e('0x15')==_0x54fac0['commandName']){const _0x22c1a9=_0x54fac0[_0x382e('0xd')][0x0];return{'type':_0x382e('0x5'),'content':_0x56a68d(_0x4c1189,'*Set\x20link:*\x20%0','\x22'+_0x22c1a9+'\x22')};}return _0x382e('0x11')==_0x54fac0[_0x382e('0x1')]?{'type':_0x382e('0x5'),'content':_0x56a68d(_0x4c1189,_0x382e('0x12'))}:void 0x0;}});}}
23
+ const _0x11a3=['commandParams','plugins','locale','getFirstPosition','model','link','format','commandName','selection','TrackChangesEditing','*Set\x20link:*\x20%0','linkHref','document','from','_descriptionFactory','getFirstRange','editor','get','unlink','hasAttribute','afterInit','change','enableCommand','getRanges','getAttribute','LinkEditing','registerDescriptionCallback','markInlineFormat','isCollapsed'];(function(_0x50c4cd,_0x11a3af){const _0x59772d=function(_0x115b38){while(--_0x115b38){_0x50c4cd['push'](_0x50c4cd['shift']());}};_0x59772d(++_0x11a3af);}(_0x11a3,0x1b7));const _0x5977=function(_0x50c4cd,_0x11a3af){_0x50c4cd=_0x50c4cd-0x0;let _0x59772d=_0x11a3[_0x50c4cd];return _0x59772d;};import{Plugin as _0x2f12ea}from'ckeditor5/src/core';import{findAttributeRange as _0x3516e2}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xf41fdd}from'./utils';import{getTranslation as _0x478e52}from'../utils/common-translations';export default class et extends _0x2f12ea{[_0x5977('0x10')](){const _0x5e1002=this['editor'];if(!_0x5e1002[_0x5977('0x1a')]['has'](_0x5977('0x15')))return;const _0xeeb27c=_0x5e1002['plugins'][_0x5977('0xd')](_0x5977('0x5'));_0xeeb27c[_0x5977('0x12')](_0x5977('0x1'),(_0x90d382,_0x4ae234)=>{const _0x29e054=_0x5e1002['model'][_0x5977('0x8')]['selection'];let _0x1e1c18=[];if(_0x29e054[_0x5977('0x18')]){if(!_0x29e054[_0x5977('0xf')]('linkHref'))return void _0x90d382(_0x4ae234);{const _0xf8bc17=_0x3516e2(_0x29e054[_0x5977('0x1c')](),_0x5977('0x7'),_0x29e054[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002[_0x5977('0x0')]);_0x1e1c18=[_0xf8bc17];}}else _0x1e1c18=Array[_0x5977('0x9')](_0x29e054[_0x5977('0x13')]());_0x5e1002['model']['change'](()=>{for(const _0xeec830 of _0x1e1c18)_0xeeb27c[_0x5977('0x17')](_0xeec830,{'commandName':_0x5977('0x1'),'commandParams':[_0x4ae234]});});}),_0xeeb27c['enableCommand'](_0x5977('0xe'),()=>{const _0x5ccbc2=this[_0x5977('0xc')][_0x5977('0x0')],_0x49ed06=_0x5ccbc2[_0x5977('0x8')][_0x5977('0x4')];_0x5ccbc2[_0x5977('0x11')](()=>{let _0x10ead2=[];if(_0x49ed06[_0x5977('0x18')])_0x10ead2=[_0x3516e2(_0x49ed06[_0x5977('0x1c')](),_0x5977('0x7'),_0x49ed06[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002['model'])];else _0x10ead2=_0xf41fdd(_0x5977('0x7'),_0x49ed06[_0x5977('0xb')](),_0x5e1002['model']);for(const _0x57efb9 of _0x10ead2)_0xeeb27c[_0x5977('0x17')](_0x57efb9,{'commandName':'unlink','commandParams':[]});});}),_0xeeb27c[_0x5977('0xa')][_0x5977('0x16')](_0x5ec5fc=>{const {data:_0x3c3736}=_0x5ec5fc,_0x192055=_0x5e1002[_0x5977('0x1b')];if(_0x3c3736){if(_0x5977('0x1')==_0x3c3736['commandName']){const _0x8d490e=_0x3c3736[_0x5977('0x19')][0x0];return{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,_0x5977('0x6'),'\x22'+_0x8d490e+'\x22')};}return _0x5977('0xe')==_0x3c3736[_0x5977('0x3')]?{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5322=['indentList','markBlockFormat','List','getSelectedBlocks','editor','from','numbered','name','model','value','outdentList','element','*Check\x20item*','enableCommand','locale','plugins','registerDescriptionCallback','todoListChecked','length','slice','add','document','ELEMENT_BULLETED_LIST','listIndent','end','ELEMENT_TODO_LIST','*Uncheck\x20item*','forceValue','todo','_selectedElements','parent','blockName','isObject','bulleted','nextSibling','ELEMENT_NUMBERED_LIST','numberedList','afterInit','replace','has','filter','previousSibling','ELEMENT_LIST_ITEM','*Outdent:*\x20%0','getAttribute','*Change\x20to:*\x20%0','createPositionAt','format','checkTodoList','change','commandParams','ListEditing','checkChild','registerElementLabel','execute','todoList','_descriptionFactory','get','bulletedList','listItem','commandName','schema'];(function(_0x296c58,_0x5322f8){const _0x28cb8e=function(_0x355120){while(--_0x355120){_0x296c58['push'](_0x296c58['shift']());}};_0x28cb8e(++_0x5322f8);}(_0x5322,0x112));const _0x28cb=function(_0x296c58,_0x5322f8){_0x296c58=_0x296c58-0x0;let _0x28cb8e=_0x5322[_0x296c58];return _0x28cb8e;};import{Plugin as _0x4af57a}from'ckeditor5/src/core';import{getTranslation as _0x2a53c3}from'../utils/common-translations';export default class st extends _0x4af57a{[_0x28cb('0xb')](){const _0x2d8ec2=this[_0x28cb('0x28')],_0x5994bb=_0x2d8ec2[_0x28cb('0x32')];if(!_0x2d8ec2[_0x28cb('0x33')][_0x28cb('0xd')](_0x28cb('0x19')))return;const _0x36c842=_0x2d8ec2[_0x28cb('0x33')][_0x28cb('0x1f')]('TrackChangesEditing'),_0xdafc2e=_0x2d8ec2['plugins'][_0x28cb('0xd')]('TodoListEditing');function _0x40a36f(_0x172f56){return()=>{const _0x337f1a=_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x39')]['selection'],_0x67fab=_0x2d8ec2['commands'][_0x28cb('0x1f')](_0x172f56);if(_0x67fab[_0x28cb('0x2d')])return void _0x2d8ec2[_0x28cb('0x1c')]('paragraph',{});const _0x5bf417=_0x172f56['slice'](0x0,-0x4),_0x5efa04=function(_0xf8b14d,_0x5c7d8a,_0x2fe80d){let _0x533e42=Array['from'](_0xf8b14d)[_0x28cb('0xe')](_0x2130e9=>function(_0x555be7,_0x9caacb){return _0x9caacb[_0x28cb('0x1a')](_0x555be7[_0x28cb('0x4')],_0x28cb('0x21'))&&!_0x9caacb[_0x28cb('0x6')](_0x555be7);}(_0x2130e9,_0x2fe80d));_0x533e42=_0x533e42[_0x28cb('0xe')](_0x2eef51=>!_0x2eef51['is'](_0x28cb('0x2f'),_0x28cb('0x21'))||_0x2eef51[_0x28cb('0x12')]('listType')!=_0x5c7d8a);const _0x552737=new Set();for(const _0x4f23b8 of _0x533e42)_0x4f23b8['is'](_0x28cb('0x2f'),'listItem')?_0x552737[_0x28cb('0x38')](ne(_0x4f23b8)):_0x552737['add'](_0x4f23b8);return Array[_0x28cb('0x29')](_0x552737);}(_0x337f1a[_0x28cb('0x27')](),_0x5bf417,_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x23')]);_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x17')](()=>{for(const _0x54ccf0 of _0x5efa04)_0x36c842['markBlockFormat'](_0x54ccf0,{'commandName':_0x172f56,'commandParams':[{'forceValue':!_0x67fab[_0x28cb('0x2d')]}],'formatGroupId':_0x28cb('0x5')},oe(_0x54ccf0));});};}function _0x3da163(_0xcf3e3a){return()=>{const _0x32d305=function(_0xc824fb){let _0x187851=Array[_0x28cb('0x29')](_0xc824fb);const _0x1c0ac0=_0x187851['findIndex'](_0x21e74f=>_0x28cb('0x21')!=_0x21e74f['name']);return _0x1c0ac0>-0x1&&(_0x187851=_0x187851[_0x28cb('0x37')](0x0,_0x1c0ac0)),_0x187851;}(_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x39')]['selection'][_0x28cb('0x27')]()),_0x182121=_0x2d8ec2[_0x28cb('0x2c')]['createRange'](_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x14')](_0x32d305[0x0],'before'),_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x14')](_0x32d305[_0x32d305[_0x28cb('0x36')]-0x1],_0x28cb('0x3c')));_0x2d8ec2[_0x28cb('0x2c')][_0x28cb('0x17')](()=>{_0x36c842[_0x28cb('0x25')](_0x182121,{'commandName':_0xcf3e3a,'commandParams':[],'formatGroupId':_0x28cb('0x3b')},function(_0x5dbcf7){const _0x2a5ffe=new Set();for(const _0x3ba2c6 of _0x5dbcf7){let _0x2346a2=_0x3ba2c6[_0x28cb('0x8')];for(;_0x2346a2&&_0x2346a2[_0x28cb('0x12')](_0x28cb('0x3b'))>_0x3ba2c6[_0x28cb('0x12')]('listIndent');)_0x2a5ffe[_0x28cb('0x38')](_0x2346a2),_0x2346a2=_0x2346a2[_0x28cb('0x8')];}return Array[_0x28cb('0x29')](_0x2a5ffe);}(_0x32d305));});};}_0x36c842[_0x28cb('0x31')]('numberedList',_0x40a36f(_0x28cb('0xa'))),_0x36c842[_0x28cb('0x31')](_0x28cb('0x20'),_0x40a36f(_0x28cb('0x20'))),_0xdafc2e&&_0x36c842[_0x28cb('0x31')]('todoList',_0x40a36f(_0x28cb('0x1d'))),_0x36c842[_0x28cb('0x31')](_0x28cb('0x24'),_0x3da163(_0x28cb('0x24'))),_0x36c842[_0x28cb('0x31')](_0x28cb('0x2e'),_0x3da163('outdentList')),_0xdafc2e&&_0x36c842[_0x28cb('0x31')](_0x28cb('0x16'),()=>{const _0x1443ce=_0x2d8ec2['commands'][_0x28cb('0x1f')](_0x28cb('0x16')),_0x362573=Array['from'](_0x1443ce[_0x28cb('0x3')]);_0x362573['filter'](_0x2b7d9a=>_0x2b7d9a[_0x28cb('0x12')](_0x28cb('0x35'))!=_0x1443ce[_0x28cb('0x2d')]),_0x2d8ec2[_0x28cb('0x2c')]['change'](()=>{for(const _0xaa6d85 of _0x362573)_0x36c842[_0x28cb('0x25')](_0xaa6d85,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x1443ce[_0x28cb('0x2d')]}]});});}),_0x36c842[_0x28cb('0x1e')][_0x28cb('0x1b')](_0x28cb('0x21'),_0x50db46=>_0x2a53c3(_0x5994bb,_0x28cb('0x10'),_0x50db46)),_0x36c842[_0x28cb('0x1e')][_0x28cb('0x34')](_0x122e60=>{const {data:_0x2a0c1a}=_0x122e60;if(_0x2a0c1a){if('numberedList'==_0x2a0c1a['commandName']||_0x28cb('0x20')==_0x2a0c1a['commandName']||'todoList'==_0x2a0c1a[_0x28cb('0x22')])switch(_0x2a0c1a[_0x28cb('0x22')][_0x28cb('0xc')](_0x28cb('0x26'),'')){case _0x28cb('0x7'):return _0x1f6638(_0x2a53c3(_0x5994bb,_0x28cb('0x3a')));case _0x28cb('0x2a'):return _0x1f6638(_0x2a53c3(_0x5994bb,_0x28cb('0x9')));case _0x28cb('0x2'):return _0x1f6638(_0x2a53c3(_0x5994bb,_0x28cb('0x3d')));}if(_0x28cb('0x24')==_0x2a0c1a[_0x28cb('0x22')])return{'type':'format','content':_0x2a53c3(_0x5994bb,'*Indent:*\x20%0',_0x2a53c3(_0x5994bb,_0x28cb('0x10')))};if(_0x28cb('0x2e')==_0x2a0c1a['commandName'])return{'type':_0x28cb('0x15'),'content':_0x2a53c3(_0x5994bb,_0x28cb('0x11'),_0x2a53c3(_0x5994bb,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x2a0c1a[_0x28cb('0x22')])return _0x2a0c1a[_0x28cb('0x18')][0x0][_0x28cb('0x1')]?{'type':_0x28cb('0x15'),'content':_0x2a53c3(_0x5994bb,_0x28cb('0x30'))}:{'type':'format','content':_0x2a53c3(_0x5994bb,_0x28cb('0x0'))};}function _0x1f6638(_0xe544cd){return{'type':_0x28cb('0x15'),'content':_0x2a53c3(_0x5994bb,_0x28cb('0x13'),_0xe544cd)};}});}}function ne(_0x4fea71){const _0x3e46aa=_0x4fea71[_0x28cb('0x12')]('listIndent');if(0x0==_0x3e46aa)return _0x4fea71;let _0x516911=_0x4fea71;for(;_0x4fea71[_0x28cb('0xf')]&&_0x4fea71['previousSibling']['is'](_0x28cb('0x2f'),_0x28cb('0x21'));){const _0x1b8f11=_0x4fea71['previousSibling'][_0x28cb('0x12')](_0x28cb('0x3b'));if(_0x1b8f11==_0x3e46aa)_0x516911=_0x4fea71[_0x28cb('0xf')];else{if(_0x1b8f11<_0x3e46aa)break;}_0x4fea71=_0x4fea71[_0x28cb('0xf')];}return _0x516911;}function oe(_0x1ae918){const _0xbec55a=[];if(_0x1ae918['is'](_0x28cb('0x2f'),_0x28cb('0x21'))&&_0x1ae918[_0x28cb('0x12')]('listIndent')>0x0){let _0x541f34=_0x1ae918['nextSibling'];for(;_0x541f34&&_0x28cb('0x21')==_0x541f34[_0x28cb('0x2b')]&&_0x541f34[_0x28cb('0x12')](_0x28cb('0x3b'))==_0x1ae918[_0x28cb('0x12')](_0x28cb('0x3b'));)_0xbec55a['push'](_0x541f34),_0x541f34=_0x541f34[_0x28cb('0x8')];}return _0xbec55a;}
23
+ const _0xbff9=['slice','todoListChecked','change','listItem','selection','getAttribute','bulletedList','from','length','*Uncheck\x20item*','checkTodoList','forceValue','value','ELEMENT_TODO_LIST','has','editor','locale','filter','listType','_selectedElements','end','numberedList','createRange','registerElementLabel','TrackChangesEditing','commands','listIndent','todoList','nextSibling','get','execute','numbered','bulleted','getSelectedBlocks','createPositionAt','format','ListEditing','ELEMENT_NUMBERED_LIST','parent','previousSibling','element','plugins','afterInit','blockName','model','ELEMENT_LIST_ITEM','TodoListEditing','checkChild','commandName','replace','indentList','registerDescriptionCallback','outdentList','markBlockFormat','_descriptionFactory','enableCommand','*Outdent:*\x20%0','add','*Check\x20item*','findIndex','isObject','name','document','List'];(function(_0x566faf,_0xbff947){const _0x442c68=function(_0x399d7f){while(--_0x399d7f){_0x566faf['push'](_0x566faf['shift']());}};_0x442c68(++_0xbff947);}(_0xbff9,0x1cf));const _0x442c=function(_0x566faf,_0xbff947){_0x566faf=_0x566faf-0x0;let _0x442c68=_0xbff9[_0x566faf];return _0x442c68;};import{Plugin as _0x361cd8}from'ckeditor5/src/core';import{getTranslation as _0x13f953}from'../utils/common-translations';export default class st extends _0x361cd8{[_0x442c('0x1b')](){const _0x31f6d6=this[_0x442c('0x0')],_0x19cc95=_0x31f6d6[_0x442c('0x1')];if(!_0x31f6d6['plugins'][_0x442c('0x3f')](_0x442c('0x15')))return;const _0x1f8beb=_0x31f6d6[_0x442c('0x1a')][_0x442c('0xe')](_0x442c('0x9')),_0x276dfa=_0x31f6d6[_0x442c('0x1a')][_0x442c('0x3f')](_0x442c('0x1f'));function _0x15b4b2(_0x9fac6c){return()=>{const _0x4e3b85=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')]['selection'],_0x2350b4=_0x31f6d6['commands'][_0x442c('0xe')](_0x9fac6c);if(_0x2350b4[_0x442c('0x3d')])return void _0x31f6d6[_0x442c('0xf')]('paragraph',{});const _0x54e658=_0x9fac6c[_0x442c('0x31')](0x0,-0x4),_0x8fe51c=function(_0x2d01e5,_0x33f950,_0x1ca2ac){let _0x504ee8=Array[_0x442c('0x38')](_0x2d01e5)[_0x442c('0x2')](_0x2a6d3a=>function(_0x1dd41e,_0x13e41a){return _0x13e41a[_0x442c('0x20')](_0x1dd41e[_0x442c('0x17')],_0x442c('0x34'))&&!_0x13e41a[_0x442c('0x2d')](_0x1dd41e);}(_0x2a6d3a,_0x1ca2ac));_0x504ee8=_0x504ee8[_0x442c('0x2')](_0x27800f=>!_0x27800f['is']('element',_0x442c('0x34'))||_0x27800f[_0x442c('0x36')](_0x442c('0x3'))!=_0x33f950);const _0x2cf736=new Set();for(const _0x10a092 of _0x504ee8)_0x10a092['is'](_0x442c('0x19'),_0x442c('0x34'))?_0x2cf736[_0x442c('0x2a')](ne(_0x10a092)):_0x2cf736[_0x442c('0x2a')](_0x10a092);return Array[_0x442c('0x38')](_0x2cf736);}(_0x4e3b85[_0x442c('0x12')](),_0x54e658,_0x31f6d6[_0x442c('0x1d')]['schema']);_0x31f6d6[_0x442c('0x1d')]['change'](()=>{for(const _0x24e85c of _0x8fe51c)_0x1f8beb['markBlockFormat'](_0x24e85c,{'commandName':_0x9fac6c,'commandParams':[{'forceValue':!_0x2350b4[_0x442c('0x3d')]}],'formatGroupId':_0x442c('0x1c')},oe(_0x24e85c));});};}function _0x60917c(_0x50b8da){return()=>{const _0x335cf3=function(_0x26e027){let _0x167df2=Array[_0x442c('0x38')](_0x26e027);const _0x12ff6b=_0x167df2[_0x442c('0x2c')](_0x125895=>_0x442c('0x34')!=_0x125895[_0x442c('0x2e')]);return _0x12ff6b>-0x1&&(_0x167df2=_0x167df2[_0x442c('0x31')](0x0,_0x12ff6b)),_0x167df2;}(_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')][_0x442c('0x35')]['getSelectedBlocks']()),_0x369c24=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x7')](_0x31f6d6['model'][_0x442c('0x13')](_0x335cf3[0x0],'before'),_0x31f6d6[_0x442c('0x1d')]['createPositionAt'](_0x335cf3[_0x335cf3[_0x442c('0x39')]-0x1],_0x442c('0x5')));_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{_0x1f8beb[_0x442c('0x26')](_0x369c24,{'commandName':_0x50b8da,'commandParams':[],'formatGroupId':_0x442c('0xb')},function(_0x5d45a8){const _0x3651ac=new Set();for(const _0x44706a of _0x5d45a8){let _0x8a236e=_0x44706a['nextSibling'];for(;_0x8a236e&&_0x8a236e[_0x442c('0x36')]('listIndent')>_0x44706a['getAttribute'](_0x442c('0xb'));)_0x3651ac[_0x442c('0x2a')](_0x8a236e),_0x8a236e=_0x8a236e['nextSibling'];}return Array[_0x442c('0x38')](_0x3651ac);}(_0x335cf3));});};}_0x1f8beb[_0x442c('0x28')](_0x442c('0x6'),_0x15b4b2(_0x442c('0x6'))),_0x1f8beb['enableCommand']('bulletedList',_0x15b4b2(_0x442c('0x37'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0xc'),_0x15b4b2(_0x442c('0xc'))),_0x1f8beb['enableCommand'](_0x442c('0x23'),_0x60917c(_0x442c('0x23'))),_0x1f8beb[_0x442c('0x28')](_0x442c('0x25'),_0x60917c(_0x442c('0x25'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0x3b'),()=>{const _0x442e86=_0x31f6d6[_0x442c('0xa')][_0x442c('0xe')]('checkTodoList'),_0xa7650=Array[_0x442c('0x38')](_0x442e86[_0x442c('0x4')]);_0xa7650[_0x442c('0x2')](_0x3fc877=>_0x3fc877[_0x442c('0x36')](_0x442c('0x32'))!=_0x442e86[_0x442c('0x3d')]),_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{for(const _0x58c8d6 of _0xa7650)_0x1f8beb[_0x442c('0x26')](_0x58c8d6,{'commandName':_0x442c('0x3b'),'commandParams':[{'forceValue':!_0x442e86[_0x442c('0x3d')]}]});});}),_0x1f8beb['_descriptionFactory'][_0x442c('0x8')](_0x442c('0x34'),_0x335d4b=>_0x13f953(_0x19cc95,_0x442c('0x1e'),_0x335d4b)),_0x1f8beb[_0x442c('0x27')][_0x442c('0x24')](_0x44365a=>{const {data:_0x4ca709}=_0x44365a;if(_0x4ca709){if(_0x442c('0x6')==_0x4ca709[_0x442c('0x21')]||_0x442c('0x37')==_0x4ca709['commandName']||_0x442c('0xc')==_0x4ca709['commandName'])switch(_0x4ca709[_0x442c('0x21')][_0x442c('0x22')](_0x442c('0x30'),'')){case _0x442c('0x11'):return _0x3a3ef1(_0x13f953(_0x19cc95,'ELEMENT_BULLETED_LIST'));case _0x442c('0x10'):return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x16')));case'todo':return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x3e')));}if('indentList'==_0x4ca709[_0x442c('0x21')])return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Indent:*\x20%0',_0x13f953(_0x19cc95,_0x442c('0x1e')))};if(_0x442c('0x25')==_0x4ca709[_0x442c('0x21')])return{'type':'format','content':_0x13f953(_0x19cc95,_0x442c('0x29'),_0x13f953(_0x19cc95,'ELEMENT_LIST_ITEM'))};if(_0x442c('0x3b')==_0x4ca709['commandName'])return _0x4ca709['commandParams'][0x0][_0x442c('0x3c')]?{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x2b'))}:{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x3a'))};}function _0x3a3ef1(_0x15bdb9){return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Change\x20to:*\x20%0',_0x15bdb9)};}});}}function ne(_0x9564c){const _0x318b7d=_0x9564c[_0x442c('0x36')](_0x442c('0xb'));if(0x0==_0x318b7d)return _0x9564c;let _0x17ac13=_0x9564c;for(;_0x9564c[_0x442c('0x18')]&&_0x9564c[_0x442c('0x18')]['is'](_0x442c('0x19'),_0x442c('0x34'));){const _0x5a7104=_0x9564c[_0x442c('0x18')][_0x442c('0x36')]('listIndent');if(_0x5a7104==_0x318b7d)_0x17ac13=_0x9564c[_0x442c('0x18')];else{if(_0x5a7104<_0x318b7d)break;}_0x9564c=_0x9564c[_0x442c('0x18')];}return _0x17ac13;}function oe(_0x2498b6){const _0x10f8e0=[];if(_0x2498b6['is'](_0x442c('0x19'),_0x442c('0x34'))&&_0x2498b6['getAttribute']('listIndent')>0x0){let _0x373b16=_0x2498b6['nextSibling'];for(;_0x373b16&&_0x442c('0x34')==_0x373b16[_0x442c('0x2e')]&&_0x373b16['getAttribute'](_0x442c('0xb'))==_0x2498b6[_0x442c('0x36')](_0x442c('0xb'));)_0x10f8e0['push'](_0x373b16),_0x373b16=_0x373b16[_0x442c('0xd')];}return _0x10f8e0;}