@ckeditor/ckeditor5-track-changes 38.0.0-rc.1 → 38.0.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 _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}]});}});});}}
23
+ const _0x5a75=['title','locale','*Set\x20font\x20color:*\x20%0','FontSizeEditing','trim','format','FontFamilyEditing','toLowerCase','afterInit','*Set\x20font\x20size:*\x20%0','fontColor.colors','TrackChangesEditing','fontFamily','*Set\x20font\x20family:*\x20%0','getRanges','*Reset\x20font\x20family*','from','fontBackgroundColor','FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','_descriptionFactory','editor','FontColorEditing','find','commandParams','selection','config','*Set\x20font\x20background\x20color:*\x20%0','FontSize','plugins','value','*Reset\x20font\x20color*','markInlineFormat','fontBackgroundColor.colors','commandName','fontSize','*Reset\x20font\x20size*','change','model','registerDescriptionCallback','fontSize.options','get'];(function(_0x4652ad,_0x5a75bd){const _0x24e946=function(_0x39a9ee){while(--_0x39a9ee){_0x4652ad['push'](_0x4652ad['shift']());}};_0x24e946(++_0x5a75bd);}(_0x5a75,0x18b));const _0x24e9=function(_0x4652ad,_0x5a75bd){_0x4652ad=_0x4652ad-0x0;let _0x24e946=_0x5a75[_0x4652ad];return _0x24e946;};import{Plugin as _0x2b4cc8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1954ba}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x10b844}from'./utils';import{getTranslation as _0x3d64a9}from'../utils/common-translations';const Zt=[{'pluginName':_0x24e9('0x1c'),'commandName':_0x24e9('0x12')},{'pluginName':_0x24e9('0x1f'),'commandName':_0x24e9('0x25')},{'pluginName':_0x24e9('0x5'),'commandName':'fontColor'},{'pluginName':_0x24e9('0x1'),'commandName':_0x24e9('0x0')}];export default class H extends _0x2b4cc8{[_0x24e9('0x21')](){const _0x4edf1a=this[_0x24e9('0x4')][_0x24e9('0x1a')];for(const {pluginName:_0x24ed02,commandName:_0x5a07e0}of Zt)this[_0x24e9('0x4')][_0x24e9('0xc')]['has'](_0x24ed02)&&this['_enableCommand'](_0x5a07e0);this[_0x24e9('0x4')][_0x24e9('0xc')][_0x24e9('0x18')](_0x24e9('0x24'))[_0x24e9('0x3')][_0x24e9('0x16')](_0x5e7f77=>{const _0x25112b=_0x4edf1a['t'],{data:_0xcf660e}=_0x5e7f77;if(null!=_0xcf660e){if(_0x24e9('0x12')==_0xcf660e['commandName']){const _0xbac9ba=_0xcf660e[_0x24e9('0x7')][0x0][_0x24e9('0xd')];if(_0xbac9ba){const _0x2fffe4=_0x25112b(this[_0x24e9('0x4')]['plugins'][_0x24e9('0x18')](_0x24e9('0xb'))['normalizeSizeOptions'](this[_0x24e9('0x4')][_0x24e9('0x9')][_0x24e9('0x18')](_0x24e9('0x17')))[_0x24e9('0x6')](_0x2be9bb=>_0x2be9bb[_0x24e9('0x15')]==_0xbac9ba)[_0x24e9('0x19')])[_0x24e9('0x20')]();return{'type':'format','content':_0x3d64a9(_0x4edf1a,_0x24e9('0x22'),_0x2fffe4)};}return{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0x13'))};}if(_0x24e9('0x25')==_0xcf660e['commandName']){const _0x23f37b=_0xcf660e[_0x24e9('0x7')][0x0]['value'];return _0x23f37b?{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0x26'),_0x23f37b)}:{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0x28'))};}if('fontColor'==_0xcf660e[_0x24e9('0x11')]){const _0x427ab7=_0xcf660e[_0x24e9('0x7')][0x0][_0x24e9('0xd')];if(_0x427ab7){const _0xf9e523=_0x1954ba(this[_0x24e9('0x4')][_0x24e9('0x9')][_0x24e9('0x18')](_0x24e9('0x23')))[_0x24e9('0x6')](_0x2fb084=>_0x2fb084[_0x24e9('0x15')]==_0x427ab7);let _0x35c6bb=_0x427ab7,_0x42a5e5='';return _0xf9e523&&(_0x35c6bb=_0xf9e523['label'],_0x42a5e5=_0x25112b(_0x35c6bb)[_0x24e9('0x20')]()),{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0x1b'),_0x42a5e5)['trim'](),'color':{'value':_0x427ab7,'title':_0x42a5e5||_0x35c6bb}};}return{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0xe'))};}if(_0x24e9('0x0')==_0xcf660e[_0x24e9('0x11')]){const _0xbfaa31=_0xcf660e[_0x24e9('0x7')][0x0][_0x24e9('0xd')];if(_0xbfaa31){const _0x9c66e9=_0x1954ba(this[_0x24e9('0x4')][_0x24e9('0x9')][_0x24e9('0x18')](_0x24e9('0x10')))[_0x24e9('0x6')](_0x1a1aa6=>_0x1a1aa6[_0x24e9('0x15')]==_0xbfaa31);let _0x38d076=_0xbfaa31,_0x4e4713='';return _0x9c66e9&&(_0x38d076=_0x9c66e9['label'],_0x4e4713=_0x25112b(_0x38d076)[_0x24e9('0x20')]()),{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0xa'),_0x4e4713)[_0x24e9('0x1d')](),'color':{'value':_0xbfaa31,'title':_0x4e4713||_0x38d076}};}return{'type':_0x24e9('0x1e'),'content':_0x3d64a9(_0x4edf1a,_0x24e9('0x2'))};}}});}['_enableCommand'](_0x4f0586){const _0x3dc243=this['editor'];_0x3dc243[_0x24e9('0xc')]['get'](_0x24e9('0x24'))['enableCommand'](_0x4f0586,(_0x286488,_0x41962b={})=>{const _0x576aad=_0x3dc243[_0x24e9('0x15')]['document'][_0x24e9('0x8')],_0x57d597=_0x41962b[_0x24e9('0xd')];_0x576aad['isCollapsed']?_0x286488(_0x41962b):_0x3dc243[_0x24e9('0x15')][_0x24e9('0x14')](()=>{const _0xda9e73=Array[_0x24e9('0x29')](_0x576aad[_0x24e9('0x27')]());for(const _0x36a847 of _0xda9e73){const _0x305029=_0x57d597?[_0x36a847]:_0x10b844(_0x4f0586,_0x36a847,_0x3dc243[_0x24e9('0x15')]);for(const _0x2df968 of _0x305029)_0x3dc243[_0x24e9('0xc')][_0x24e9('0x18')](_0x24e9('0x24'))[_0x24e9('0xf')](_0x2df968,{'commandName':_0x4f0586,'commandParams':[{'value':_0x57d597}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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+')';}
23
+ const _0x4192=['label','plugins','markInlineFormat','getAttributes','getRanges','getSelectedBlocks','_descriptionFactory','commands','fontColor','commandName','word','commandParams','get','fontBackgroundColor','length','createSelection','document','fontSize.options','locale','copyFormat','join','modifySelection','push','fontSize','isBlock','getItems','getAttributeProperties','format','afterInit','title','schema','editor','TrackChangesEditing','model','find','entries','toUpperCase','forward','selection','keys','charAt','toLowerCase','change','getFirstPosition','split','enableCommand','pasteFormat','config','isCollapsed'];(function(_0xad6d32,_0x419276){const _0x1d8df1=function(_0x4bfcc0){while(--_0x4bfcc0){_0xad6d32['push'](_0xad6d32['shift']());}};_0x1d8df1(++_0x419276);}(_0x4192,0x91));const _0x1d8d=function(_0xad6d32,_0x419276){_0xad6d32=_0xad6d32-0x0;let _0x1d8df1=_0x4192[_0xad6d32];return _0x1d8df1;};import{Plugin as _0x2a83e4}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3aa90f}from'ckeditor5/src/ui';import{first as _0x19091a}from'ckeditor5/src/utils';import{getTranslation as _0x26b446}from'../utils/common-translations';export default class W extends _0x2a83e4{[_0x1d8d('0x1e')](){const _0x2f7d1e=this[_0x1d8d('0x21')],_0x16361f=_0x2f7d1e['model'],_0x2276ac=_0x16361f[_0x1d8d('0x12')][_0x1d8d('0x28')],_0x4ccaf3=_0x2f7d1e['plugins'][_0x1d8d('0xe')]('TrackChangesEditing'),_0x1eb55f=_0x2f7d1e[_0x1d8d('0x14')],_0x3f593e=_0x2f7d1e['commands']['get']('copyFormat'),_0x21da10=_0x2f7d1e[_0x1d8d('0x9')][_0x1d8d('0xe')]('pasteFormat');_0x3f593e&&_0x21da10&&(_0x4ccaf3[_0x1d8d('0x2f')](_0x1d8d('0x30'),(_0x365a4e,_0x420ddf={})=>{const _0x51fc2e=_0x420ddf;_0x16361f[_0x1d8d('0x2c')](()=>{const _0x1eeb0f=Array['from'](_0x2276ac[_0x1d8d('0x6')]()),_0x572d24=_0x2276ac[_0x1d8d('0x1')]?[ro(_0x16361f,_0x2276ac)]:_0x1eeb0f,_0x439255=!!_0x19091a(function*(_0xfd0f65,_0x77c32a){const _0x37143a=_0x15624e=>!!_0x19091a(function*(_0x74022f,_0x4d244d){for(const [_0x296b4a]of _0x74022f[_0x1d8d('0x5')]()){const _0x25ea9f=_0x4d244d[_0x1d8d('0x1c')](_0x296b4a);_0x25ea9f&&_0x25ea9f['isFormatting']&&(yield _0x296b4a);}}(_0x15624e,_0x77c32a));for(const _0xd92146 of _0xfd0f65[_0x1d8d('0x6')]())for(const _0xda30c4 of _0xd92146[_0x1d8d('0x1b')]())!_0x77c32a[_0x1d8d('0x1a')](_0xda30c4)&&_0x37143a(_0xda30c4)&&(yield _0xda30c4);for(const _0x5bcf07 of _0xfd0f65[_0x1d8d('0x7')]())_0x37143a(_0x5bcf07)&&(yield _0x5bcf07);_0x37143a(_0xfd0f65)&&(yield _0xfd0f65);}(_0x2276ac,_0x16361f[_0x1d8d('0x20')]));if(_0x439255||0x0!==Object[_0x1d8d('0x29')](_0x51fc2e)['length'])for(const _0x4f693d of _0x572d24)_0x4ccaf3[_0x1d8d('0x4')](_0x4f693d,{'commandName':_0x1d8d('0x30'),'commandParams':[_0x51fc2e]});});}),_0x4ccaf3[_0x1d8d('0x8')]['registerDescriptionCallback'](_0x1e8e2b=>{const {data:_0x37189e}=_0x1e8e2b;if(_0x37189e&&_0x1d8d('0x30')===_0x37189e[_0x1d8d('0xb')]){const _0x917ed4=[],_0x1b89a0=_0x37189e[_0x1d8d('0xd')][0x0];for(const [_0x564674,_0x59fbaf]of Object[_0x1d8d('0x25')](_0x1b89a0))_0x917ed4[_0x1d8d('0x18')](no(_0x2f7d1e,_0x564674,_0x59fbaf));return _0x917ed4[_0x1d8d('0x10')]?{'type':'format','content':_0x26b446(_0x1eb55f,'*Set\x20format\x20to:*\x20%0',_0x917ed4[_0x1d8d('0x16')](',\x20'))}:{'type':_0x1d8d('0x1d'),'content':_0x26b446(_0x1eb55f,'*Remove\x20all\x20formatting*')};}}),_0x2f7d1e[_0x1d8d('0x3')][_0x1d8d('0xe')](_0x1d8d('0x22'))[_0x1d8d('0x2f')](_0x1d8d('0x15')));}}function ro(_0x2ddc99,_0x321e0e){const _0x5f4e31=_0x2ddc99[_0x1d8d('0x11')](_0x321e0e);_0x2ddc99[_0x1d8d('0x17')](_0x5f4e31,{'unit':_0x1d8d('0xc'),'direction':'backward'});const _0x33054d=_0x5f4e31[_0x1d8d('0x2d')]();_0x2ddc99[_0x1d8d('0x17')](_0x5f4e31,{'unit':_0x1d8d('0xc'),'direction':_0x1d8d('0x27')});const _0x297e22=_0x5f4e31['getLastPosition']();return _0x2ddc99['createRange'](_0x33054d,_0x297e22);}function no(_0x5b60c4,_0x22b192,_0x1c2f8d){const _0x4eec2b=_0x5b60c4[_0x1d8d('0x14')]['t'],_0x464d55=_0x22b192[_0x1d8d('0x2e')](/(?=[A-Z])/)[_0x1d8d('0x16')]('\x20'),_0x4c4241=_0x4eec2b(_0x464d55[_0x1d8d('0x2a')](0x0)[_0x1d8d('0x26')]()+_0x464d55['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x1c2f8d)return _0x4c4241;if(_0x1d8d('0xa')===_0x22b192||_0x1d8d('0xf')===_0x22b192){const _0x4c8682=_0x3aa90f(_0x5b60c4[_0x1d8d('0x0')][_0x1d8d('0xe')]('fontColor.colors'))[_0x1d8d('0x24')](_0x50a859=>_0x50a859['model']==_0x1c2f8d);return _0x4c4241+'\x20('+(_0x4c8682?_0x4eec2b(_0x4c8682[_0x1d8d('0x2')])['toLowerCase']():_0x1c2f8d)+')';}if(_0x1d8d('0x19')===_0x22b192&&isNaN(parseFloat(_0x1c2f8d))){const _0x323cde=_0x5b60c4[_0x1d8d('0x3')][_0x1d8d('0xe')]('FontSize')['normalizeSizeOptions'](_0x5b60c4[_0x1d8d('0x0')][_0x1d8d('0xe')](_0x1d8d('0x13')))[_0x1d8d('0x24')](_0x3746de=>_0x3746de[_0x1d8d('0x23')]==_0x1c2f8d);return _0x4c4241+'\x20('+(_0x323cde?_0x4eec2b(_0x323cde[_0x1d8d('0x1f')])[_0x1d8d('0x2b')]():_0x1c2f8d)+')';}return _0x4c4241+'\x20('+_0x1c2f8d+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x1ccc=['paragraph','get','commandParams','HeadingEditing','TrackChangesEditing','afterInit','format','ELEMENT_HEADING','name','title','has','parent','model','_descriptionFactory','filter','find','from','config','locale','registerDescriptionCallback','checkChild','enableCommand','commandName','ELEMENT_HEADING_CUSTOM','value','document','heading','blockName','getSelectedBlocks','formatBlock','*Change\x20to:*\x20%0','isObject','editor'];(function(_0xb0f92f,_0x1ccc2b){const _0x2beecc=function(_0x4fe19e){while(--_0x4fe19e){_0xb0f92f['push'](_0xb0f92f['shift']());}};_0x2beecc(++_0x1ccc2b);}(_0x1ccc,0x92));const _0x2bee=function(_0xb0f92f,_0x1ccc2b){_0xb0f92f=_0xb0f92f-0x0;let _0x2beecc=_0x1ccc[_0xb0f92f];return _0x2beecc;};import{Plugin as _0x4243cb}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x16955d}from'./utils';import{getTranslation as _0x83c193}from'../utils/common-translations';export default class J extends _0x4243cb{[_0x2bee('0x18')](){const _0x269aa2=this[_0x2bee('0x12')],_0x17219a=_0x269aa2[_0x2bee('0x4')],_0x4bdae1=_0x269aa2[_0x2bee('0x3')][_0x2bee('0x14')]('heading.options');if(!_0x269aa2['plugins'][_0x2bee('0x1d')](_0x2bee('0x16')))return;const _0x52b2c4=_0x269aa2['plugins']['get'](_0x2bee('0x17'));_0x52b2c4[_0x2bee('0x7')](_0x2bee('0xc'),(_0x3d3154,_0x10e3d3)=>{const _0x5ecd40=_0x10e3d3['value'],_0x5953bb=Array[_0x2bee('0x2')](this['editor'][_0x2bee('0x1f')][_0x2bee('0xb')]['selection'][_0x2bee('0xe')]())[_0x2bee('0x0')](_0x2c11d0=>function(_0x4fa62e,_0x25a3b2,_0x248041){return _0x248041[_0x2bee('0x6')](_0x4fa62e[_0x2bee('0x1e')],_0x25a3b2)&&!_0x248041[_0x2bee('0x11')](_0x4fa62e)&&_0x4fa62e[_0x2bee('0x1b')]!=_0x25a3b2;}(_0x2c11d0,_0x5ecd40,this[_0x2bee('0x12')][_0x2bee('0x1f')]['schema']));_0x269aa2['model']['change'](()=>{for(const _0x2e3c0b of _0x5953bb)_0x52b2c4['markBlockFormat'](_0x2e3c0b,{'commandName':_0x2bee('0xc'),'commandParams':[_0x10e3d3],'formatGroupId':_0x2bee('0xd')},_0x16955d(_0x2e3c0b));});});for(const _0xba76e7 of _0x4bdae1)_0x2bee('0x13')!=_0xba76e7[_0x2bee('0x1f')]&&_0x52b2c4[_0x2bee('0x20')]['registerElementLabel'](_0xba76e7[_0x2bee('0x1f')],_0x148e76=>{const _0x2b190a=nn(_0xba76e7[_0x2bee('0x1f')]);return null!==_0x2b190a?_0x33f731(_0x148e76,_0x2b190a):_0x1dce34(_0x148e76,_0xba76e7[_0x2bee('0x1c')]);});function _0x33f731(_0x328cd6,_0x3e492e){return _0x83c193(_0x17219a,_0x2bee('0x1a'),[_0x328cd6,_0x3e492e]);}function _0x1dce34(_0x4fb0e0,_0x2ccb03){return _0x83c193(_0x17219a,_0x2bee('0x9'),[_0x4fb0e0,_0x2ccb03]);}_0x52b2c4['_descriptionFactory'][_0x2bee('0x5')](_0x108e84=>{const {type:_0x535aff,data:_0x465af6}=_0x108e84;if(_0x2bee('0xf')==_0x535aff&&_0x465af6&&'heading'==_0x465af6[_0x2bee('0x8')]){const _0x3396ba=_0x465af6[_0x2bee('0x15')][0x0][_0x2bee('0xa')],_0x52b635=nn(_0x3396ba);if(null!==_0x52b635)return{'type':_0x2bee('0x19'),'content':_0x83c193(_0x17219a,_0x2bee('0x10'),_0x33f731(0x1,_0x52b635))};const _0x5966fd=_0x4bdae1[_0x2bee('0x1')](_0x4c3bb8=>_0x4c3bb8[_0x2bee('0x1f')]===_0x3396ba)[_0x2bee('0x1c')];return{'type':_0x2bee('0x19'),'content':_0x83c193(_0x17219a,_0x2bee('0x10'),_0x1dce34(0x1,_0x5966fd))};}});}}function nn(_0x11301){const _0x140bd9=_0x11301['match'](/^heading(\d+)$/);return _0x140bd9?_0x140bd9[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')))};}});}}
23
+ const _0x5aab=['formatInline','config','_descriptionFactory','HighlightEditing','title','has','toLowerCase','afterInit','commandName','plugins','get','find','TrackChangesEditing','highlight','format','createRange','document','isCollapsed','backward','registerDescriptionCallback','push','markInlineFormat','*Set\x20highlight:*\x20%0','getLastMatchingPosition','model','getRanges','selection','getAttribute','locale','*Remove\x20highlight*','enableCommand','commandParams','highlight.options','value'];(function(_0xb49b61,_0x5aab2a){const _0x170748=function(_0x2c1205){while(--_0x2c1205){_0xb49b61['push'](_0xb49b61['shift']());}};_0x170748(++_0x5aab2a);}(_0x5aab,0x93));const _0x1707=function(_0xb49b61,_0x5aab2a){_0xb49b61=_0xb49b61-0x0;let _0x170748=_0x5aab[_0xb49b61];return _0x170748;};import{Plugin as _0x5242f6}from'ckeditor5/src/core';import{getTranslation as _0x401226}from'../utils/common-translations';import{getRangesWithAttribute as _0x940607}from'./utils';export default class K extends _0x5242f6{[_0x1707('0x1e')](){const _0x4e27c0=this['editor'];if(!_0x4e27c0['plugins'][_0x1707('0x1c')](_0x1707('0x1a')))return;const _0x2585ab=_0x4e27c0[_0x1707('0x20')][_0x1707('0x21')](_0x1707('0x1'));_0x2585ab[_0x1707('0x13')](_0x1707('0x2'),(_0x575bfd,_0x1d2869={})=>{const _0x1b34f3=_0x4e27c0[_0x1707('0xd')][_0x1707('0x5')][_0x1707('0xf')],_0x53a8fb=_0x1b34f3[_0x1707('0x10')](_0x1707('0x2'));let _0x412a6f=_0x1d2869[_0x1707('0x16')],_0x577203=[];if(_0x1b34f3[_0x1707('0x6')]){const _0x9838b0=_0x1b34f3['getFirstPosition']();if(!_0x1b34f3['hasAttribute'](_0x1707('0x2')))return void _0x575bfd(_0x1d2869);{const _0x39fb8d=_0x425341=>_0x425341['item'][_0x1707('0x10')](_0x1707('0x2'))===_0x53a8fb,_0x3e2e3b=_0x9838b0[_0x1707('0xc')](_0x39fb8d,{'direction':_0x1707('0x7')}),_0x3e9195=_0x9838b0['getLastMatchingPosition'](_0x39fb8d);_0x577203=[_0x4e27c0[_0x1707('0xd')][_0x1707('0x4')](_0x3e2e3b,_0x3e9195)],_0x412a6f==_0x53a8fb&&(_0x412a6f=null);}}else for(const _0x37931b of _0x1b34f3[_0x1707('0xe')]())_0x412a6f?_0x577203[_0x1707('0x9')](_0x37931b):_0x577203[_0x1707('0x9')](..._0x940607(_0x1707('0x2'),_0x37931b,_0x4e27c0[_0x1707('0xd')]));_0x4e27c0[_0x1707('0xd')]['change'](()=>{for(const _0x133c61 of _0x577203)_0x2585ab[_0x1707('0xa')](_0x133c61,{'commandName':_0x1707('0x2'),'commandParams':[{'value':_0x412a6f}]});});});const _0x27bdbb=_0x4e27c0[_0x1707('0x11')];_0x2585ab[_0x1707('0x19')][_0x1707('0x8')](_0x13b8b2=>{const {type:_0xb843bc,data:_0x10af45}=_0x13b8b2;if(_0x1707('0x17')==_0xb843bc&&_0x10af45&&'highlight'==_0x10af45[_0x1707('0x1f')]){const _0x4f05c8=_0x27bdbb['t'],_0x996282=_0x10af45[_0x1707('0x14')][0x0]['value'];if(_0x996282){const _0x120629=_0x4e27c0[_0x1707('0x18')]['get'](_0x1707('0x15'))[_0x1707('0x0')](_0x2d9191=>_0x2d9191[_0x1707('0xd')]==_0x996282),_0x12845d=_0x4f05c8(_0x120629[_0x1707('0x1b')])[_0x1707('0x1d')]();return{'type':_0x1707('0x3'),'content':_0x401226(_0x27bdbb,_0x1707('0xb'),_0x12845d),'color':{'value':_0x120629['color'],'title':_0x120629[_0x1707('0x1b')]}};}return{'type':_0x1707('0x3'),'content':_0x401226(_0x27bdbb,_0x1707('0x12'),_0x401226(_0x27bdbb,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'});}}
23
+ const _0x8787=['elementToStructure','afterInit','conversion','horizontalLine','createEmptyElement','locale','showSuggestionHighlights','createContainerElement','enableCommand','TrackChangesEditing','editor','insert','addClass','has','get','createPositionAt','dataDowncast','_descriptionFactory','plugins','for','registerElementLabel','ck-horizontal-line'];(function(_0x336bb8,_0x87877f){const _0x316bd0=function(_0x325c99){while(--_0x325c99){_0x336bb8['push'](_0x336bb8['shift']());}};_0x316bd0(++_0x87877f);}(_0x8787,0x13c));const _0x316b=function(_0x336bb8,_0x87877f){_0x336bb8=_0x336bb8-0x0;let _0x316bd0=_0x8787[_0x336bb8];return _0x316bd0;};import{Plugin as _0xd05565}from'ckeditor5/src/core';import{getTranslation as _0x1b2a66}from'../utils/common-translations';export default class Q extends _0xd05565{[_0x316b('0xf')](){const _0x4e56ef=this[_0x316b('0x2')];if(!_0x4e56ef['plugins'][_0x316b('0x5')]('HorizontalLineEditing'))return;_0x4e56ef[_0x316b('0xa')][_0x316b('0x6')](_0x316b('0x1'))[_0x316b('0x0')](_0x316b('0x11'));const _0x55e57a=_0x4e56ef[_0x316b('0xa')][_0x316b('0x6')](_0x316b('0x1')),_0x4614d1=_0x4e56ef[_0x316b('0x13')];_0x55e57a[_0x316b('0x9')][_0x316b('0xc')](_0x316b('0x11'),_0x3bfe33=>_0x1b2a66(_0x4614d1,'ELEMENT_HORIZONTAL_LINE',_0x3bfe33)),_0x4e56ef[_0x316b('0x10')][_0x316b('0xb')](_0x316b('0x8'))[_0x316b('0xe')]({'model':'horizontalLine','view':(_0x909688,{writer:_0xf71d29,options:_0x46eaa5})=>{if(!_0x46eaa5[_0x316b('0x14')])return null;const _0x288d09=_0xf71d29[_0x316b('0x15')]('div'),_0x3e6433=_0xf71d29[_0x316b('0x12')]('hr');return _0xf71d29[_0x316b('0x4')](_0x316b('0xd'),_0x288d09),_0xf71d29[_0x316b('0x3')](_0xf71d29[_0x316b('0x7')](_0x288d09,0x0),_0x3e6433),_0x288d09;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0x320a=['getSelectedElement','locale','document','ELEMENT_HTML_EMBED','commandName','format','view','HtmlEmbed','get','selection','has','editor','value','registerDescriptionCallback','getAttribute','TrackChangesEditing','_descriptionFactory','model','markBlockFormat','rawHtml','getCustomProperty','element','rawHtmlApi','enableCommand','afterInit','htmlEmbed','plugins','change','cancel'];(function(_0x55ccd7,_0x320a6a){const _0x22413e=function(_0x3c468a){while(--_0x3c468a){_0x55ccd7['push'](_0x55ccd7['shift']());}};_0x22413e(++_0x320a6a);}(_0x320a,0x1cc));const _0x2241=function(_0x55ccd7,_0x320a6a){_0x55ccd7=_0x55ccd7-0x0;let _0x22413e=_0x320a[_0x55ccd7];return _0x22413e;};import{Plugin as _0x13fbba}from'ckeditor5/src/core';import{getTranslation as _0x16efa8}from'../utils/common-translations';export default class V extends _0x13fbba{[_0x2241('0x1c')](){const _0x307a32=this[_0x2241('0xf')];if(!_0x307a32[_0x2241('0x1')][_0x2241('0xe')](_0x2241('0xb')))return;const _0x19a284=_0x307a32[_0x2241('0x1')]['get'](_0x2241('0x13')),_0x26e3fe=_0x307a32[_0x2241('0x5')],_0x15aaae=_0x307a32['editing'][_0x2241('0xa')][_0x2241('0x6')]['selection'];_0x19a284[_0x2241('0x14')]['registerElementLabel']('rawHtml',_0xee920a=>_0x16efa8(_0x26e3fe,_0x2241('0x7'),_0xee920a)),_0x307a32[_0x2241('0x1')][_0x2241('0xc')](_0x2241('0x13'))[_0x2241('0x1b')](_0x2241('0x0'),(_0x2bc62b,_0x191a0f)=>{const _0x5595c0=_0x307a32[_0x2241('0x15')],_0x186061=_0x5595c0[_0x2241('0x6')][_0x2241('0xd')];_0x5595c0[_0x2241('0x2')](()=>{const _0x3be437=function(_0x5c2ea1){const _0x40c5ec=_0x5c2ea1[_0x2241('0x4')]();if(_0x40c5ec&&_0x40c5ec['is'](_0x2241('0x19'),_0x2241('0x17')))return _0x5c2ea1['getSelectedElement']();return null;}(_0x186061);if(!_0x3be437)return void _0x2bc62b(null);const _0x378091=_0x3be437[_0x2241('0x12')](_0x2241('0x10'))||'';if(void 0x0===_0x191a0f)return;if(_0x191a0f===_0x378091)return;_0x19a284[_0x2241('0x16')](_0x3be437,{'commandName':'htmlEmbed','commandParams':[_0x191a0f]}),_0x15aaae[_0x2241('0x4')]()[_0x2241('0x18')](_0x2241('0x1a'))[_0x2241('0x3')]();});}),_0x19a284[_0x2241('0x14')][_0x2241('0x11')](_0x1c38f7=>{const {data:_0x27a8ec}=_0x1c38f7;if(_0x27a8ec&&_0x2241('0x0')==_0x27a8ec[_0x2241('0x8')]){const _0x4621f5=_0x16efa8(_0x26e3fe,'ELEMENT_HTML_EMBED');return{'type':_0x2241('0x9'),'content':_0x16efa8(_0x26e3fe,'*Change\x20%0\x20content*',_0x4621f5)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0x4069=['forward','shouldConvertImageType','_suggestionFactory','schema','caption','ImageResize','filter','ImageStyleEditing','markInlineFormat','editor','next','markBlockFormat','imageStylePreApply','addObject','registerCustomCallback','imageStyle','ELEMENT_CAPTION','backward','convertBlockImageToInline','isBlockImage','ImageCaptionUtils','discard','isInlineImage','join','ImageUtils','FORMAT_SIDE_IMAGE','getClosestSelectedImageElement','isCollapsed','length','model','document','imageTypeBlock','findIndex','alt','nodeAfter','getFirstRange','getContainedElement','nodeBefore','has','chain','detach','forEach','commandParams','imageCaption','insertImage','isInContent','getAttribute','imageStylePostApply','ImageCaptionEditing','getChangedMarkers','getNearestSelectionRange','value','selection','imageTextAlternative','type','from','formatInline','author','registerPostFixer','markDeletion','find','Users','formatBlock','suggestion','*Set\x20image\x20width:*\x20%0','imageInline','convertInlineImageToBlock','resizeImage','*Format:*\x20%0','end','isBefore','ImageUploadEditing','toLowerCase','_findSuggestions','enableCommand','getSuggestionCallback','commandName','accept','createRangeOn','subType','locale','getSuggestion','differ','afterInit','fromPosition','getSuggestions','removeObject','newValue','ImageTextAlternativeEditing','discardSuggestion','deletion','get','markInsertion','plugins','_descriptionFactory','*Reset\x20image\x20width*','registerElementLabel','*Remove\x20image\x20text\x20alternative*','change','format','getCaptionFromImageModelElement','createRange','commands','uploadImage','imageTypeInline','newRange','toggleImageCaption','hasSuggestion','registerDescriptionCallback','ELEMENT_IMAGE','isOwn','isEqual','start','insertion','element','head','refresh','normalizedStyles','commandReversedParams','ImageBlockEditing','width','Block\x20image\x20to\x20inline\x20image'];(function(_0x5a269a,_0x406903){const _0x3fae3c=function(_0x2799c7){while(--_0x2799c7){_0x5a269a['push'](_0x5a269a['shift']());}};_0x3fae3c(++_0x406903);}(_0x4069,0x1df));const _0x3fae=function(_0x5a269a,_0x406903){_0x5a269a=_0x5a269a-0x0;let _0x3fae3c=_0x4069[_0x5a269a];return _0x3fae3c;};import{Plugin as _0x161f02}from'ckeditor5/src/core';import{LivePosition as _0x214b3a}from'ckeditor5/src/engine';import{uid as _0x4cd0f6}from'ckeditor5/src/utils';import{getTranslation as _0x462760}from'../utils/common-translations';export default class X extends _0x161f02{[_0x3fae('0x5c')](){const _0x2d6094=this[_0x3fae('0x12')];if(!_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')]('ImageEditing'))return;const _0x1e5f29=_0x2d6094[_0x3fae('0x66')][_0x3fae('0x64')]('TrackChangesEditing'),_0x7c1191=_0x2d6094[_0x3fae('0x66')][_0x3fae('0x64')](_0x3fae('0x21')),_0x4b8f83={},_0x401deb=_0x2d6094[_0x3fae('0x59')];if(_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x35')),_0x1e5f29['_descriptionFactory']['registerElementLabel']('imageBlock',_0x3e4598=>_0x462760(_0x401deb,_0x3fae('0x76'),_0x3e4598)),_0x1e5f29[_0x3fae('0x67')]['registerElementLabel'](_0x3fae('0x4a'),_0x3ac502=>_0x462760(_0x401deb,'ELEMENT_INLINE_IMAGE',_0x3ac502)),_0x1e5f29[_0x3fae('0x67')][_0x3fae('0x69')](_0x3fae('0xd'),()=>_0x462760(_0x401deb,_0x3fae('0x19'))),_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')](_0x3fae('0x50'))&&_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x70')),_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')](_0x3fae('0x6'))&&_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')]('ImageInlineEditing')&&(_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x71'),(_0x5a0141,_0x5c4560)=>{const _0x28cac7=_0x7c1191[_0x3fae('0x23')](_0x2d6094['model'][_0x3fae('0x27')][_0x3fae('0x3d')]);_0x2d6094[_0x3fae('0x26')]['change'](()=>{_0x1e5f29[_0x3fae('0x14')](_0x28cac7,{'commandName':_0x3fae('0x71'),'commandParams':[_0x5c4560]},[],_0x3fae('0x1b'));});}),_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x28'),(_0x46e3c7,_0x109c8e)=>{_0x2d6094['model'][_0x3fae('0x6b')](_0x7c3646=>{let _0x459c75=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')][_0x3fae('0x3d')]),_0x380cc7=_0x7c3646[_0x3fae('0x57')](_0x459c75);const _0x4fac5d=_0x214b3a[_0x3fae('0x5d')](_0x380cc7[_0x3fae('0x79')],'toPrevious'),_0xd2dc66=_0x214b3a[_0x3fae('0x5d')](_0x380cc7['end'],'toNext');_0x1e5f29['forceDefaultExecution'](()=>_0x46e3c7(_0x109c8e)),_0x459c75=_0x7c1191['getClosestSelectedImageElement'](_0x2d6094['model']['document'][_0x3fae('0x3d')]),_0x380cc7=_0x7c3646[_0x3fae('0x57')](_0x459c75);const _0x86837f=_0x7c3646[_0x3fae('0x6e')](_0x4fac5d,_0xd2dc66);_0x4fac5d[_0x3fae('0x31')](),_0xd2dc66[_0x3fae('0x31')](),_0x1e5f29['markBlockFormat'](_0x459c75,{'commandName':_0x3fae('0x71'),'commandParams':[]},[],_0x3fae('0x4b')),_0x86837f['start']['isBefore'](_0x380cc7[_0x3fae('0x79')])&&_0x1e5f29[_0x3fae('0x65')](_0x7c3646['createRange'](_0x86837f[_0x3fae('0x79')],_0x380cc7[_0x3fae('0x79')]),'convertInlineImageToBlock'),_0x380cc7['end'][_0x3fae('0x4f')](_0x86837f[_0x3fae('0x4e')])&&_0x1e5f29[_0x3fae('0x65')](_0x7c3646['createRange'](_0x380cc7['end'],_0x86837f['end']),_0x3fae('0x4b'));});}),_0x1e5f29['_suggestionFactory'][_0x3fae('0x17')]('formatBlock',_0x3fae('0x4b'),'join',()=>{}),_0x1e5f29['_suggestionFactory'][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x4b'),_0x3fae('0x56'),()=>{}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x4b'),_0x3fae('0x1e'),_0x1e5f29['_suggestionFactory'][_0x3fae('0x54')]('formatBlock','',_0x3fae('0x56'))),_0x1e5f29['_suggestionFactory'][_0x3fae('0x17')](_0x3fae('0x0'),_0x3fae('0x4b'),_0x3fae('0x20'),()=>{}),_0x1e5f29[_0x3fae('0xb')]['registerCustomCallback'](_0x3fae('0x0'),_0x3fae('0x4b'),'discard',([_0x322653])=>{const _0x2bc20e=_0x1e5f29['_suggestionFactory']['getSuggestionCallback'](_0x3fae('0x0'),'',_0x3fae('0x1e'));let _0x22cd7c=_0x322653['start'],_0x260c82=_0x322653[_0x3fae('0x4e')];const _0x4177b2=_0x2d6094[_0x3fae('0x26')][_0x3fae('0xc')]['getNearestSelectionRange'](_0x22cd7c,_0x3fae('0x1a')),_0x8cbb04=_0x2d6094[_0x3fae('0x26')][_0x3fae('0xc')][_0x3fae('0x3b')](_0x260c82,_0x3fae('0x9'));_0x4177b2[_0x3fae('0x24')]&&(_0x22cd7c=_0x4177b2[_0x3fae('0x79')]),_0x8cbb04[_0x3fae('0x24')]&&(_0x260c82=_0x8cbb04[_0x3fae('0x4e')]),_0x2bc20e([_0x2d6094['model'][_0x3fae('0x6e')](_0x22cd7c,_0x260c82)]);}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x4b'),_0x3fae('0x30'),_0x35cb37),_0x1e5f29[_0x3fae('0xb')]['registerCustomCallback']('insertion',_0x3fae('0x4b'),'chain',_0x35cb37)),_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')](_0x3fae('0x39'))&&(_0x1e5f29['enableCommand'](_0x3fae('0x73'),(_0x47cf95,_0x57ecf8)=>{const _0xe58645=_0x2d6094[_0x3fae('0x66')][_0x3fae('0x64')](_0x3fae('0x1d'));let _0x51949e=_0x7c1191['getClosestSelectedImageElement'](_0x2d6094['model'][_0x3fae('0x27')][_0x3fae('0x3d')]),_0x238ec7=_0xe58645[_0x3fae('0x6d')](_0x51949e);_0x2d6094[_0x3fae('0x26')]['change'](()=>{if(_0x238ec7)return void _0x1e5f29[_0x3fae('0x44')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x57')](_0x238ec7));const _0x16cd02=_0x7c1191[_0x3fae('0x1c')](_0x51949e);_0x47cf95(_0x57ecf8),_0x51949e=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')]['selection']),_0x238ec7=_0xe58645[_0x3fae('0x6d')](_0x51949e),_0x1e5f29['markInsertion'](_0x2d6094['model'][_0x3fae('0x57')](_0x238ec7),_0x16cd02?null:_0x3fae('0x34'));});}),_0x1e5f29[_0x3fae('0xb')]['registerCustomCallback']('insertion',_0x3fae('0x34'),_0x3fae('0x30'),_0x35cb37)),_0x2d6094[_0x3fae('0x66')][_0x3fae('0x2f')](_0x3fae('0x10'))){_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x18'),(_0x1d9bc5,_0x4d79d4)=>{const _0x21878b=_0x2d6094[_0x3fae('0x66')][_0x3fae('0x64')](_0x3fae('0x46'))['me'],_0x349556=_0x2d6094[_0x3fae('0x6f')][_0x3fae('0x64')](_0x3fae('0x18'));let _0x136d18=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')]['document'][_0x3fae('0x3d')]),_0x4c9b67=_0x2d6094[_0x3fae('0x26')][_0x3fae('0x57')](_0x136d18),_0x5a8ff0=_0x349556[_0x3fae('0x3c')];if(_0x5a8ff0==_0x4d79d4[_0x3fae('0x3c')])return;const _0x47ac7a={'commandName':_0x3fae('0x18'),'commandParams':[_0x4d79d4],'formatGroupId':_0x4cd0f6()};_0x2d6094['model'][_0x3fae('0x6b')](()=>{if(_0x1e5f29[_0x3fae('0x5e')]()['filter'](_0xbeaf16=>_0xbeaf16[_0x3fae('0x36')]&&_0x21878b==_0xbeaf16[_0x3fae('0x42')]&&(_0x3fae('0x47')==_0xbeaf16[_0x3fae('0x3f')]||_0x3fae('0x41')==_0xbeaf16[_0x3fae('0x3f')])&&('imageStylePreApply'==_0xbeaf16['subType']||'imageStylePostApply'==_0xbeaf16['subType'])&&_0xbeaf16['getFirstRange']()['isEqual'](_0x4c9b67))[_0x3fae('0x32')](_0x4be90d=>_0x1e5f29[_0x3fae('0x62')](_0x4be90d[_0x3fae('0x2')])),_0x136d18=_0x7c1191[_0x3fae('0x23')](_0x2d6094['model'][_0x3fae('0x27')]['selection']),_0x4c9b67=_0x2d6094[_0x3fae('0x26')][_0x3fae('0x57')](_0x136d18),_0x349556['refresh'](),_0x2d6094[_0x3fae('0x6f')]['get']('imageTypeInline')[_0x3fae('0x3')](),_0x2d6094[_0x3fae('0x6f')]['get'](_0x3fae('0x28'))[_0x3fae('0x3')](),_0x5a8ff0=_0x349556[_0x3fae('0x3c')],_0x5a8ff0!=_0x4d79d4[_0x3fae('0x3c')])return _0x7c1191[_0x3fae('0x1f')](_0x136d18)&&_0x349556[_0x3fae('0xa')](_0x4d79d4[_0x3fae('0x3c')],_0x136d18)?(_0x1d9bc5(_0x4d79d4),_0x136d18=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')][_0x3fae('0x3d')]),void _0x1e5f29[_0x3fae('0x14')](_0x136d18,{..._0x47ac7a,'commandReversedParams':[{'value':_0x5a8ff0||null}]},[],_0x3fae('0x15'))):void(_0x7c1191[_0x3fae('0x1c')](_0x136d18)?_0x1e5f29['markBlockFormat'](_0x136d18,_0x47ac7a,[],_0x3fae('0x38')):_0x1e5f29[_0x3fae('0x11')](_0x4c9b67,_0x47ac7a,'imageStylePostApply'));});});for(const _0x3a3e6b of _0x2d6094[_0x3fae('0x66')][_0x3fae('0x64')](_0x3fae('0x10'))[_0x3fae('0x4')])_0x4b8f83[_0x3a3e6b['name']]=_0x3a3e6b['title'][_0x3fae('0x51')]();_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x15'),_0x3fae('0x20'),()=>{}),_0x1e5f29[_0x3fae('0xb')]['registerCustomCallback'](_0x3fae('0x47'),'imageStylePostApply','join',()=>{}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x41'),_0x3fae('0x38'),_0x3fae('0x20'),()=>{}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x15'),_0x3fae('0x56'),()=>{}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')]('formatBlock',_0x3fae('0x15'),_0x3fae('0x1e'),(_0x3cf5b,_0x1fa0aa)=>{_0x1e5f29[_0x3fae('0xb')]['getSuggestionCallback'](_0x3fae('0x47'),'','accept')(_0x3cf5b,{'commandName':_0x1fa0aa[_0x3fae('0x55')],'commandParams':_0x1fa0aa[_0x3fae('0x5')]});}),_0x1e5f29[_0x3fae('0xb')][_0x3fae('0x17')](_0x3fae('0x47'),_0x3fae('0x15'),_0x3fae('0x30'),_0x35cb37);}const _0x7264a7=[{'type':_0x3fae('0x47'),'subType':_0x3fae('0x15')},{'type':_0x3fae('0x0'),'subType':_0x3fae('0x34')},{'type':_0x3fae('0x47'),'subType':_0x3fae('0x4b')},{'type':'insertion','subType':_0x3fae('0x4b')}];function _0x4c82a5(_0x296e3d,_0x39309e){const _0x5f17ae=_0x7264a7[_0x3fae('0x29')](({type:_0x2195d8,subType:_0x56b1e9})=>_0x296e3d[_0x3fae('0x3f')]==_0x2195d8&&_0x296e3d[_0x3fae('0x58')]==_0x56b1e9),_0x3fb9d2=_0x7264a7[_0x3fae('0x29')](({type:_0x2a7bd2,subType:_0xa2f5dd})=>_0x39309e[_0x3fae('0x3f')]==_0x2a7bd2&&_0x39309e[_0x3fae('0x58')]==_0xa2f5dd);if(_0x5f17ae<0x0||_0x3fb9d2<0x0)return!0x1;const _0x47fcb5=_0x296e3d[_0x3fae('0x2c')](),_0x42cda1=_0x39309e[_0x3fae('0x2c')]();if((0x0==_0x5f17ae||0x1==_0x5f17ae)&&0x2==_0x3fb9d2&&_0x47fcb5['isIntersecting'](_0x42cda1))return!0x0;if(0x2==_0x5f17ae&&0x3==_0x3fb9d2){const _0x525d70=_0x1e5f29[_0x3fae('0x52')](_0x47fcb5,_0x3fae('0x0'))[_0x3fae('0xf')](({suggestion:_0x3cc9c7,meta:_0x47d0f1})=>_0x47d0f1[_0x3fae('0x77')]&&_0x3fae('0x4b')==_0x3cc9c7[_0x3fae('0x58')]);if(_0x525d70['length']>0x1&&_0x42cda1['end']['isEqual'](_0x47fcb5['start']))return!0x0;if(0x1==_0x525d70[_0x3fae('0x25')]&&(_0x47fcb5['start']['isEqual'](_0x42cda1[_0x3fae('0x4e')])||_0x47fcb5[_0x3fae('0x4e')][_0x3fae('0x78')](_0x42cda1[_0x3fae('0x79')])))return!0x0;}if(0x3==_0x5f17ae&&0x3==_0x3fb9d2&&_0x47fcb5['start'][_0x3fae('0x4f')](_0x42cda1['start'])){const _0x2d6ac9=_0x47fcb5[_0x3fae('0x4e')][_0x3fae('0x2b')],_0x33c8d4=_0x42cda1[_0x3fae('0x79')][_0x3fae('0x2e')];return _0x7c1191[_0x3fae('0x1c')](_0x2d6ac9)&&_0x2d6ac9===_0x33c8d4;}return!0x1;}function _0x35cb37(_0x5c03b4,_0x10e5e7){return _0x4c82a5(_0x5c03b4,_0x10e5e7)?[_0x5c03b4,_0x10e5e7]:_0x4c82a5(_0x10e5e7,_0x5c03b4)?[_0x10e5e7,_0x5c03b4]:null;}_0x2d6094[_0x3fae('0x26')]['document'][_0x3fae('0x43')](()=>{let _0x684bb=!0x1;const _0x1ccfa3=Array[_0x3fae('0x40')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')][_0x3fae('0x5b')][_0x3fae('0x3a')]());for(const {name:_0x26d7b7,data:_0x4d0043}of _0x1ccfa3){const {group:_0x3db1ff,type:_0x439cd8,subType:_0x4d82a4,id:_0x51d5ee}=_0x1e5f29['_splitMarkerName'](_0x26d7b7);if(_0x3fae('0x48')==_0x3db1ff&&_0x1e5f29[_0x3fae('0x74')](_0x51d5ee)){if(_0x3fae('0x47')==_0x439cd8&&('imageStylePreApply'==_0x4d82a4||_0x3fae('0x38')==_0x4d82a4)){const _0x14310a=_0x1e5f29['getSuggestion'](_0x51d5ee);if(_0x4d0043[_0x3fae('0x72')]){const _0x140022=_0x14310a[_0x3fae('0x2c')]()[_0x3fae('0x2d')]();if(_0x7c1191[_0x3fae('0x1c')](_0x140022))continue;_0x1e5f29[_0x3fae('0x62')](_0x14310a),_0x684bb=!0x0;}}if(_0x3fae('0x0')==_0x439cd8&&_0x3fae('0x34')==_0x4d82a4&&!_0x4d0043[_0x3fae('0x72')]){const _0x597790=_0x1e5f29[_0x3fae('0x5a')](_0x51d5ee);_0x597790['next']&&_0x597790[_0x3fae('0x13')][_0x3fae('0x36')]&&(_0x1e5f29[_0x3fae('0x62')](_0x597790[_0x3fae('0x13')]),_0x684bb=!0x0);}}}return _0x684bb;}),_0x2d6094['plugins'][_0x3fae('0x2f')](_0x3fae('0xe'))&&_0x1e5f29[_0x3fae('0x53')](_0x3fae('0x4c'),(_0x5e3877,_0x1749f0)=>{const _0x442893=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')][_0x3fae('0x3d')]);_0x442893[_0x3fae('0x37')]('width')!=_0x1749f0[_0x3fae('0x7')]&&_0x2d6094[_0x3fae('0x26')][_0x3fae('0x6b')](()=>{_0x1e5f29[_0x3fae('0x14')](_0x442893,{'commandName':_0x3fae('0x4c'),'commandParams':[_0x1749f0]});});}),_0x2d6094['plugins']['has'](_0x3fae('0x61'))&&_0x1e5f29['enableCommand']('imageTextAlternative',(_0x1e8363,_0x2bf4b9)=>{const _0x1c3244=_0x7c1191[_0x3fae('0x23')](_0x2d6094[_0x3fae('0x26')][_0x3fae('0x27')]['selection']);(_0x1c3244['hasAttribute'](_0x3fae('0x2a'))?_0x1c3244[_0x3fae('0x37')]('alt'):'')!=_0x2bf4b9[_0x3fae('0x60')]&&_0x2d6094[_0x3fae('0x26')]['change'](()=>{_0x1e5f29['markBlockFormat'](_0x1c3244,{'commandName':_0x3fae('0x3e'),'commandParams':[_0x2bf4b9]});});}),_0x1e5f29['_descriptionFactory'][_0x3fae('0x75')](_0x4af6d4=>{if(!!_0x7264a7[_0x3fae('0x45')](({type:_0x13ba85,subType:_0x84a6b2})=>_0x4af6d4[_0x3fae('0x3f')]==_0x13ba85&&_0x4af6d4[_0x3fae('0x58')]==_0x84a6b2))return _0x4af6d4['previous']?{}:void 0x0;}),_0x1e5f29[_0x3fae('0x67')][_0x3fae('0x75')](_0x1952b4=>{if('insertion'==_0x1952b4['type']||_0x3fae('0x63')==_0x1952b4[_0x3fae('0x3f')]){const _0x4b4f29=_0x1952b4[_0x3fae('0x2d')]();if(_0x4b4f29&&_0x4b4f29['is'](_0x3fae('0x1'),_0x3fae('0xd')))return{'type':'insertion'==_0x1952b4['type']?_0x3fae('0x16'):_0x3fae('0x5f'),'element':_0x4b4f29,'quantity':0x1};}}),_0x1e5f29[_0x3fae('0x67')][_0x3fae('0x75')](_0x437bfb=>_0x3fae('0x47')==_0x437bfb[_0x3fae('0x3f')]&&_0x3fae('0x4b')==_0x437bfb[_0x3fae('0x58')]?{'type':_0x3fae('0x6c'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x3fae('0x47')==_0x437bfb[_0x3fae('0x3f')]&&'convertBlockImageToInline'==_0x437bfb['subType']?{'type':'format','content':_0x3fae('0x8')}:void 0x0),_0x1e5f29[_0x3fae('0x67')][_0x3fae('0x75')](_0x564159=>{const {data:_0x28aa4d}=_0x564159;if(_0x28aa4d){if('imageStyle'==_0x28aa4d[_0x3fae('0x55')]){const _0x480f5e=_0x28aa4d[_0x3fae('0x33')][0x0][_0x3fae('0x3c')];return _0x5ab489('side'===_0x480f5e?_0x462760(_0x401deb,_0x3fae('0x22')):_0x4b8f83[_0x480f5e]||_0x480f5e);}if('imageTextAlternative'==_0x28aa4d[_0x3fae('0x55')]){const _0x5d0345=_0x28aa4d[_0x3fae('0x33')][0x0][_0x3fae('0x60')];return _0x5d0345?{'type':_0x3fae('0x6c'),'content':_0x462760(_0x401deb,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5d0345+'\x22')}:{'type':_0x3fae('0x6c'),'content':_0x462760(_0x401deb,_0x3fae('0x6a'))};}if('resizeImage'==_0x28aa4d[_0x3fae('0x55')]){const _0x2b3e2f=_0x28aa4d[_0x3fae('0x33')][0x0][_0x3fae('0x7')];return _0x2b3e2f?{'type':_0x3fae('0x6c'),'content':_0x462760(_0x401deb,_0x3fae('0x49'),_0x2b3e2f)}:{'type':_0x3fae('0x6c'),'content':_0x462760(_0x401deb,_0x3fae('0x68'))};}}function _0x5ab489(_0x26a589){return{'type':'format','content':_0x462760(_0x401deb,_0x3fae('0x4d'),_0x26a589)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}}}
23
+ const _0x4129=['getAttribute','getSuggestions','commandParams','_suggestionFactory','commandName','ImageEditing','registerCustomCallback','TrackChangesEditing','source','getContainedElement','replaceImageSource','afterInit','has','handleReplaceImageCommand','subType','discard','data','handleSuggestionDescription','formatBlock','get','src','*Format:*\x20replace\x20image\x20URL','getSelectedElement','enableCommand','document','editor','getSuggestionCallback','change','model','plugins'];(function(_0xe0468c,_0x4129b5){const _0xff6af6=function(_0x2766cf){while(--_0x2766cf){_0xe0468c['push'](_0xe0468c['shift']());}};_0xff6af6(++_0x4129b5);}(_0x4129,0x9e));const _0xff6a=function(_0xe0468c,_0x4129b5){_0xe0468c=_0xe0468c-0x0;let _0xff6af6=_0x4129[_0xe0468c];return _0xff6af6;};import{Plugin as _0x426048}from'ckeditor5/src/core';import{getTranslation as _0xe1cfd1}from'../utils/common-translations';export default class Y extends _0x426048{[_0xff6a('0x3')](){if(!this['editor']['plugins'][_0xff6a('0x4')](_0xff6a('0x1b')))return;const _0x4dc38d=this['editor']['plugins'][_0xff6a('0xb')](_0xff6a('0x1d'));_0x4dc38d[_0xff6a('0xf')](_0xff6a('0x2'),(_0x317393,_0xf358c6)=>this[_0xff6a('0x5')](_0x317393,_0xf358c6)),_0x4dc38d[_0xff6a('0x19')]['registerCustomCallback'](_0xff6a('0xa'),_0xff6a('0x2'),'accept',_0x4dc38d[_0xff6a('0x19')][_0xff6a('0x12')](_0xff6a('0xa'),null,_0xff6a('0x7'))),_0x4dc38d[_0xff6a('0x19')][_0xff6a('0x1c')](_0xff6a('0xa'),_0xff6a('0x2'),'discard',_0x4dc38d[_0xff6a('0x19')]['getSuggestionCallback']('formatBlock',null,'accept')),_0x4dc38d['_descriptionFactory']['registerDescriptionCallback'](_0x19d203=>this[_0xff6a('0x9')](_0x19d203));}[_0xff6a('0x5')](_0x30371c,_0x450ee4){const _0x4b42f2=this[_0xff6a('0x11')]['plugins'][_0xff6a('0xb')](_0xff6a('0x1d')),_0x36e24=this['editor']['model'][_0xff6a('0x10')]['selection'][_0xff6a('0xe')]();this['editor'][_0xff6a('0x14')][_0xff6a('0x13')](()=>{let _0x5b8458=_0x36e24[_0xff6a('0x16')](_0xff6a('0xc'));const _0x4e499c=this['editor'][_0xff6a('0x15')]['get']('Users')['me'];for(const _0x147c78 of _0x4b42f2[_0xff6a('0x17')]({'skipNotAttached':!0x0})){const _0x59bf89=_0x147c78[_0xff6a('0x1')]();if(_0xff6a('0x2')===_0x147c78[_0xff6a('0x6')]&&_0x59bf89===_0x36e24){_0x147c78['author']!==_0x4e499c&&_0x147c78[_0xff6a('0x7')](),_0x5b8458=_0x147c78[_0xff6a('0x8')][_0xff6a('0x18')][0x0][_0xff6a('0x0')];break;}}_0x30371c(_0x450ee4),_0x4b42f2['markBlockFormat'](_0x36e24,{'commandName':'replaceImageSource','commandParams':[{'source':_0x5b8458}]},[],_0xff6a('0x2'));});}[_0xff6a('0x9')](_0x4bc8f7){const {data:_0xefafe}=_0x4bc8f7;if(_0xefafe&&'replaceImageSource'===_0xefafe[_0xff6a('0x1a')]){const _0x1a2f0e=_0xff6a('0xd');return{'type':'format','content':_0xe1cfd1(this['editor']['locale'],_0x1a2f0e)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ const _0x36f6=['high','_handleImportedData','execute','editor','get','_trackChangesValueDuringImport','TrackChangesEditing','bind','Users','dataInsert','importWord','plugins','enableCommand','value','commands','_setSuggestionData','forEach','collaboration_features','listenTo','_trackChangesExecuted','trackChanges','track_changes','lowest'];(function(_0x3e1fcf,_0x36f6e1){const _0x2af416=function(_0x1186af){while(--_0x1186af){_0x3e1fcf['push'](_0x3e1fcf['shift']());}};_0x2af416(++_0x36f6e1);}(_0x36f6,0x169));const _0x2af4=function(_0x3e1fcf,_0x36f6e1){_0x3e1fcf=_0x3e1fcf-0x0;let _0x2af416=_0x36f6[_0x3e1fcf];return _0x2af416;};import{Plugin as _0x2eaf98}from'ckeditor5/src/core';export default class Z extends _0x2eaf98{constructor(_0x53cc9a){super(_0x53cc9a),this[_0x2af4('0xc')]=!0x1,this[_0x2af4('0x3')]=!0x1;}['afterInit'](){const _0x4b7b31=this['editor'],_0x17776f=_0x4b7b31[_0x2af4('0x15')][_0x2af4('0xb')](_0x2af4('0x11')),_0x361be0=_0x4b7b31[_0x2af4('0x15')][_0x2af4('0xb')](_0x2af4('0x4'));_0x17776f&&(_0x17776f['on'](_0x2af4('0x9'),(_0x3aaf6a,[,_0x282b9d])=>{this[_0x2af4('0xc')]=_0x361be0['value'],_0x282b9d[_0x2af4('0x1')][_0x2af4('0x5')]=!this[_0x2af4('0xc')];},{'priority':_0x2af4('0x7')}),this[_0x2af4('0x2')](_0x17776f,_0x2af4('0x10'),this['_handleImportedData'][_0x2af4('0xe')](this)),this[_0x2af4('0x2')](_0x17776f,'dataInsert',()=>{this[_0x2af4('0x3')]&&(_0x361be0[_0x2af4('0x9')](),this[_0x2af4('0x3')]=!0x1);},{'priority':_0x2af4('0x6')}),_0x4b7b31[_0x2af4('0x12')][_0x2af4('0xb')](_0x2af4('0xd'))[_0x2af4('0x13')]('importWord'));}[_0x2af4('0x8')](_0x1afcc2,_0x3265b7){const {suggestions:_0xc50232}=_0x3265b7,_0xc1a5a4=this[_0x2af4('0xa')]['commands'][_0x2af4('0xb')](_0x2af4('0x4')),_0x14b6e3=_0xc1a5a4[_0x2af4('0x14')];this['_trackChangesValueDuringImport']!==_0x14b6e3&&(_0xc1a5a4[_0x2af4('0x9')](),this['_trackChangesExecuted']=!0x0),_0xc50232&&_0xc50232[_0x2af4('0x0')](({id:_0x31ada1,type:_0x113c84,author:_0x806574,created_at:_0x5e56d4})=>{const _0x15b754={'id':_0x31ada1,'type':_0x113c84,'authorId':this[_0x2af4('0xa')][_0x2af4('0x12')][_0x2af4('0xb')](_0x2af4('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x806574,'createdAt':_0x5e56d4?new Date(_0x5e56d4):new Date(),'source':_0x2af4('0x11')}}};this[_0x2af4('0xa')]['plugins'][_0x2af4('0xb')]('TrackChangesEditing')[_0x2af4('0x16')](_0x15b754);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}}
23
+ const _0x5379=['has','plugins','format','outdent','afterInit','commandName','get','locale','markBlockFormat','enableCommand','document','IndentEditing','filter','getSelectedBlocks','schema','getItemLabel','editor','selection','model','_descriptionFactory','*Indent:*\x20%0','blockIndent','change','indentBlock','*Outdent:*\x20%0','outdentBlock'];(function(_0x1a1280,_0x537900){const _0xde628b=function(_0x539671){while(--_0x539671){_0x1a1280['push'](_0x1a1280['shift']());}};_0xde628b(++_0x537900);}(_0x5379,0xd1));const _0xde62=function(_0x1a1280,_0x537900){_0x1a1280=_0x1a1280-0x0;let _0xde628b=_0x5379[_0x1a1280];return _0xde628b;};import{Plugin as _0x1e928c}from'ckeditor5/src/core';import{getTranslation as _0x28d68a}from'../utils/common-translations';export default class tt extends _0x1e928c{[_0xde62('0x3')](){const _0x4f8b99=this['editor'],_0x256bb4=_0x4f8b99[_0xde62('0x0')][_0xde62('0x5')]('TrackChangesEditing');_0x4f8b99[_0xde62('0x0')][_0xde62('0x19')](_0xde62('0xa'))&&(_0x256bb4['enableCommand']('indent'),_0x256bb4[_0xde62('0x8')](_0xde62('0x2')));const _0x1fb292=_0x4f8b99[_0xde62('0x6')];if(_0x4f8b99[_0xde62('0x0')][_0xde62('0x19')]('IndentBlock')){for(const _0xc5df2e of[_0xde62('0x16'),_0xde62('0x18')])_0x256bb4[_0xde62('0x8')](_0xc5df2e,()=>{const _0xf71349=Array['from'](this['editor'][_0xde62('0x11')][_0xde62('0x9')][_0xde62('0x10')][_0xde62('0xc')]())[_0xde62('0xb')](_0x2e2c3d=>this[_0xde62('0xf')][_0xde62('0x11')][_0xde62('0xd')]['checkAttribute'](_0x2e2c3d,_0xde62('0x14')));_0x4f8b99[_0xde62('0x11')][_0xde62('0x15')](()=>{for(const _0x5425ac of _0xf71349)_0x256bb4[_0xde62('0x7')](_0x5425ac,{'commandName':_0xc5df2e,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x256bb4['_descriptionFactory']['registerDescriptionCallback'](_0x421df9=>{const {data:_0x3ecbbd}=_0x421df9;if(!_0x3ecbbd)return;if(_0xde62('0x16')!=_0x3ecbbd[_0xde62('0x4')]&&'outdentBlock'!=_0x3ecbbd[_0xde62('0x4')])return;const _0x5ee8d2=_0x421df9['getItems']()[0x0],_0x1b9e5e=_0x256bb4[_0xde62('0x12')][_0xde62('0xe')](_0x5ee8d2);return _0xde62('0x16')==_0x3ecbbd[_0xde62('0x4')]?{'type':'format','content':_0x28d68a(_0x1fb292,_0xde62('0x13'),_0x1b9e5e)}:_0xde62('0x18')==_0x3ecbbd[_0xde62('0x4')]?{'type':_0xde62('0x1'),'content':_0x28d68a(_0x1fb292,_0xde62('0x17'),_0x1b9e5e)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ var _0x5727=['TrackChangesEditing','requires','editor','get','init','plugins','input'];(function(_0x394cbf,_0x5727cc){var _0xc412d0=function(_0x37c8ba){while(--_0x37c8ba){_0x394cbf['push'](_0x394cbf['shift']());}};_0xc412d0(++_0x5727cc);}(_0x5727,0x154));var _0xc412=function(_0x394cbf,_0x5727cc){_0x394cbf=_0x394cbf-0x0;var _0xc412d0=_0x5727[_0x394cbf];return _0xc412d0;};import{Plugin as _0x128067}from'ckeditor5/src/core';import{Input as _0x1d197a}from'ckeditor5/src/typing';export default class it extends _0x128067{static get[_0xc412('0x4')](){return[_0x1d197a];}[_0xc412('0x0')](){this[_0xc412('0x5')][_0xc412('0x1')][_0xc412('0x6')](_0xc412('0x3'))['enableCommand'](_0xc412('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}});}}
23
+ const _0x266c=['afterInit','plugins','change','from','registerDescriptionCallback','enableCommand','getAttribute','document','format','getRanges','linkHref','isCollapsed','getFirstRange','*Set\x20link:*\x20%0','editor','selection','getFirstPosition','markInlineFormat','link','*Remove\x20link*','commandName','hasAttribute','get','model','commandParams','unlink'];(function(_0x2fa1f7,_0x266c52){const _0x4148bb=function(_0x3a4cd9){while(--_0x3a4cd9){_0x2fa1f7['push'](_0x2fa1f7['shift']());}};_0x4148bb(++_0x266c52);}(_0x266c,0x12c));const _0x4148=function(_0x2fa1f7,_0x266c52){_0x2fa1f7=_0x2fa1f7-0x0;let _0x4148bb=_0x266c[_0x2fa1f7];return _0x4148bb;};import{Plugin as _0x10a78c}from'ckeditor5/src/core';import{findAttributeRange as _0x4aa3bd}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x35db2a}from'./utils';import{getTranslation as _0x528f3c}from'../utils/common-translations';export default class et extends _0x10a78c{[_0x4148('0xc')](){const _0x527c6c=this[_0x4148('0x0')];if(!_0x527c6c[_0x4148('0xd')]['has']('LinkEditing'))return;const _0x2577fb=_0x527c6c[_0x4148('0xd')][_0x4148('0x8')]('TrackChangesEditing');_0x2577fb[_0x4148('0x11')](_0x4148('0x4'),(_0xc1ee05,_0x1ff4ae)=>{const _0x21ab7e=_0x527c6c['model'][_0x4148('0x13')][_0x4148('0x1')];let _0x2bc72a=[];if(_0x21ab7e[_0x4148('0x17')]){if(!_0x21ab7e[_0x4148('0x7')](_0x4148('0x16')))return void _0xc1ee05(_0x1ff4ae);{const _0x4e4559=_0x4aa3bd(_0x21ab7e['getFirstPosition'](),_0x4148('0x16'),_0x21ab7e['getAttribute'](_0x4148('0x16')),_0x527c6c[_0x4148('0x9')]);_0x2bc72a=[_0x4e4559];}}else _0x2bc72a=Array[_0x4148('0xf')](_0x21ab7e[_0x4148('0x15')]());_0x527c6c[_0x4148('0x9')][_0x4148('0xe')](()=>{for(const _0x5a83dc of _0x2bc72a)_0x2577fb[_0x4148('0x3')](_0x5a83dc,{'commandName':_0x4148('0x4'),'commandParams':[_0x1ff4ae]});});}),_0x2577fb[_0x4148('0x11')](_0x4148('0xb'),()=>{const _0x1229dd=this[_0x4148('0x0')][_0x4148('0x9')],_0x1cde64=_0x1229dd[_0x4148('0x13')][_0x4148('0x1')];_0x1229dd[_0x4148('0xe')](()=>{let _0x240a96=[];if(_0x1cde64[_0x4148('0x17')])_0x240a96=[_0x4aa3bd(_0x1cde64[_0x4148('0x2')](),_0x4148('0x16'),_0x1cde64[_0x4148('0x12')]('linkHref'),_0x527c6c[_0x4148('0x9')])];else _0x240a96=_0x35db2a('linkHref',_0x1cde64[_0x4148('0x18')](),_0x527c6c['model']);for(const _0x2884ef of _0x240a96)_0x2577fb[_0x4148('0x3')](_0x2884ef,{'commandName':'unlink','commandParams':[]});});}),_0x2577fb['_descriptionFactory'][_0x4148('0x10')](_0x17169e=>{const {data:_0x21cfe6}=_0x17169e,_0x558a1f=_0x527c6c['locale'];if(_0x21cfe6){if(_0x4148('0x4')==_0x21cfe6[_0x4148('0x6')]){const _0x2205ad=_0x21cfe6[_0x4148('0xa')][0x0];return{'type':_0x4148('0x14'),'content':_0x528f3c(_0x558a1f,_0x4148('0x19'),'\x22'+_0x2205ad+'\x22')};}return'unlink'==_0x21cfe6[_0x4148('0x6')]?{'type':_0x4148('0x14'),'content':_0x528f3c(_0x558a1f,_0x4148('0x5'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x573f=['listIndent','blockName','commandParams','from','registerElementLabel','schema','afterInit','value','replace','isObject','nextSibling','model','getAttribute','commands','checkChild','createPositionAt','before','ELEMENT_LIST_ITEM','change','getSelectedBlocks','plugins','todoList','document','get','List','format','paragraph','editor','todoListChecked','markBlockFormat','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','add','ELEMENT_NUMBERED_LIST','*Outdent:*\x20%0','element','parent','filter','numberedList','checkTodoList','name','outdentList','bulletedList','enableCommand','_descriptionFactory','*Indent:*\x20%0','todo','previousSibling','selection','has','forceValue','numbered','listItem','indentList'];(function(_0x1ae37a,_0x573fd8){const _0x1e9fca=function(_0x2bbbbc){while(--_0x2bbbbc){_0x1ae37a['push'](_0x1ae37a['shift']());}};_0x1e9fca(++_0x573fd8);}(_0x573f,0xd5));const _0x1e9f=function(_0x1ae37a,_0x573fd8){_0x1ae37a=_0x1ae37a-0x0;let _0x1e9fca=_0x573f[_0x1ae37a];return _0x1e9fca;};import{Plugin as _0x2b121c}from'ckeditor5/src/core';import{getTranslation as _0x44bcc2}from'../utils/common-translations';export default class st extends _0x2b121c{[_0x1e9f('0xd')](){const _0x6f638e=this[_0x1e9f('0x22')],_0x34e0db=_0x6f638e['locale'];if(!_0x6f638e[_0x1e9f('0x1b')][_0x1e9f('0x2')]('ListEditing'))return;const _0x540429=_0x6f638e['plugins'][_0x1e9f('0x1e')]('TrackChangesEditing'),_0x1e97b4=_0x6f638e[_0x1e9f('0x1b')]['has']('TodoListEditing');function _0x1f2609(_0x1c8e74){return()=>{const _0x40aa06=_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')][_0x1e9f('0x1')],_0x17b544=_0x6f638e['commands'][_0x1e9f('0x1e')](_0x1c8e74);if(_0x17b544['value'])return void _0x6f638e['execute'](_0x1e9f('0x21'),{});const _0xb74b96=_0x1c8e74['slice'](0x0,-0x4),_0x3d0ba1=function(_0x4e9535,_0x1ad7b6,_0x1f93ec){let _0x267de8=Array[_0x1e9f('0xa')](_0x4e9535)[_0x1e9f('0x2d')](_0x2e804c=>function(_0x1cc8df,_0x3e18cf){return _0x3e18cf[_0x1e9f('0x15')](_0x1cc8df[_0x1e9f('0x2c')],'listItem')&&!_0x3e18cf[_0x1e9f('0x10')](_0x1cc8df);}(_0x2e804c,_0x1f93ec));_0x267de8=_0x267de8['filter'](_0x24942a=>!_0x24942a['is'](_0x1e9f('0x2b'),'listItem')||_0x24942a[_0x1e9f('0x13')]('listType')!=_0x1ad7b6);const _0x4065f8=new Set();for(const _0x5a952a of _0x267de8)_0x5a952a['is'](_0x1e9f('0x2b'),_0x1e9f('0x5'))?_0x4065f8['add'](ne(_0x5a952a)):_0x4065f8[_0x1e9f('0x28')](_0x5a952a);return Array[_0x1e9f('0xa')](_0x4065f8);}(_0x40aa06[_0x1e9f('0x1a')](),_0xb74b96,_0x6f638e['model'][_0x1e9f('0xc')]);_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x19')](()=>{for(const _0x31b1b6 of _0x3d0ba1)_0x540429[_0x1e9f('0x24')](_0x31b1b6,{'commandName':_0x1c8e74,'commandParams':[{'forceValue':!_0x17b544[_0x1e9f('0xe')]}],'formatGroupId':_0x1e9f('0x8')},oe(_0x31b1b6));});};}function _0x4f5748(_0x8c9373){return()=>{const _0x227496=function(_0x201361){let _0x44cdd1=Array[_0x1e9f('0xa')](_0x201361);const _0x4bc4ee=_0x44cdd1['findIndex'](_0x3aba41=>_0x1e9f('0x5')!=_0x3aba41[_0x1e9f('0x30')]);return _0x4bc4ee>-0x1&&(_0x44cdd1=_0x44cdd1['slice'](0x0,_0x4bc4ee)),_0x44cdd1;}(_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')]['selection'][_0x1e9f('0x1a')]()),_0x4067a5=_0x6f638e['model']['createRange'](_0x6f638e[_0x1e9f('0x12')]['createPositionAt'](_0x227496[0x0],_0x1e9f('0x17')),_0x6f638e['model'][_0x1e9f('0x16')](_0x227496[_0x227496['length']-0x1],'end'));_0x6f638e[_0x1e9f('0x12')]['change'](()=>{_0x540429[_0x1e9f('0x24')](_0x4067a5,{'commandName':_0x8c9373,'commandParams':[],'formatGroupId':_0x1e9f('0x7')},function(_0x1fbfad){const _0xc9d3ea=new Set();for(const _0x2c4200 of _0x1fbfad){let _0x297320=_0x2c4200[_0x1e9f('0x11')];for(;_0x297320&&_0x297320['getAttribute'](_0x1e9f('0x7'))>_0x2c4200[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0xc9d3ea[_0x1e9f('0x28')](_0x297320),_0x297320=_0x297320[_0x1e9f('0x11')];}return Array['from'](_0xc9d3ea);}(_0x227496));});};}_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2e'),_0x1f2609(_0x1e9f('0x2e'))),_0x540429['enableCommand'](_0x1e9f('0x32'),_0x1f2609(_0x1e9f('0x32'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')]('todoList',_0x1f2609('todoList')),_0x540429['enableCommand'](_0x1e9f('0x6'),_0x4f5748(_0x1e9f('0x6'))),_0x540429[_0x1e9f('0x33')](_0x1e9f('0x31'),_0x4f5748(_0x1e9f('0x31'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2f'),()=>{const _0x1b8025=_0x6f638e[_0x1e9f('0x14')][_0x1e9f('0x1e')](_0x1e9f('0x2f')),_0x31a108=Array['from'](_0x1b8025['_selectedElements']);_0x31a108[_0x1e9f('0x2d')](_0x51774b=>_0x51774b[_0x1e9f('0x13')](_0x1e9f('0x23'))!=_0x1b8025['value']),_0x6f638e[_0x1e9f('0x12')]['change'](()=>{for(const _0x90e39b of _0x31a108)_0x540429[_0x1e9f('0x24')](_0x90e39b,{'commandName':_0x1e9f('0x2f'),'commandParams':[{'forceValue':!_0x1b8025['value']}]});});}),_0x540429[_0x1e9f('0x34')][_0x1e9f('0xb')](_0x1e9f('0x5'),_0x35073b=>_0x44bcc2(_0x34e0db,_0x1e9f('0x18'),_0x35073b)),_0x540429[_0x1e9f('0x34')]['registerDescriptionCallback'](_0x59acc2=>{const {data:_0x35c8c2}=_0x59acc2;if(_0x35c8c2){if(_0x1e9f('0x2e')==_0x35c8c2['commandName']||_0x1e9f('0x32')==_0x35c8c2['commandName']||_0x1e9f('0x1c')==_0x35c8c2[_0x1e9f('0x25')])switch(_0x35c8c2[_0x1e9f('0x25')][_0x1e9f('0xf')](_0x1e9f('0x1f'),'')){case'bulleted':return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_BULLETED_LIST'));case _0x1e9f('0x4'):return _0x50d598(_0x44bcc2(_0x34e0db,_0x1e9f('0x29')));case _0x1e9f('0x36'):return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_TODO_LIST'));}if('indentList'==_0x35c8c2[_0x1e9f('0x25')])return{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x35'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x31')==_0x35c8c2[_0x1e9f('0x25')])return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x2a'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x2f')==_0x35c8c2[_0x1e9f('0x25')])return _0x35c8c2[_0x1e9f('0x9')][0x0][_0x1e9f('0x3')]?{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,'*Check\x20item*')}:{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x27'))};}function _0x50d598(_0x21ff15){return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x26'),_0x21ff15)};}});}}function ne(_0x4697b5){const _0x22c7b6=_0x4697b5[_0x1e9f('0x13')](_0x1e9f('0x7'));if(0x0==_0x22c7b6)return _0x4697b5;let _0x19a77b=_0x4697b5;for(;_0x4697b5['previousSibling']&&_0x4697b5[_0x1e9f('0x0')]['is']('element',_0x1e9f('0x5'));){const _0x195e23=_0x4697b5['previousSibling'][_0x1e9f('0x13')](_0x1e9f('0x7'));if(_0x195e23==_0x22c7b6)_0x19a77b=_0x4697b5[_0x1e9f('0x0')];else{if(_0x195e23<_0x22c7b6)break;}_0x4697b5=_0x4697b5[_0x1e9f('0x0')];}return _0x19a77b;}function oe(_0x496055){const _0x2b6c82=[];if(_0x496055['is'](_0x1e9f('0x2b'),'listItem')&&_0x496055[_0x1e9f('0x13')]('listIndent')>0x0){let _0x54c08e=_0x496055[_0x1e9f('0x11')];for(;_0x54c08e&&_0x1e9f('0x5')==_0x54c08e[_0x1e9f('0x30')]&&_0x54c08e[_0x1e9f('0x13')](_0x1e9f('0x7'))==_0x496055[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0x2b6c82['push'](_0x54c08e),_0x54c08e=_0x54c08e[_0x1e9f('0x11')];}return _0x2b6c82;}