@ckeditor/ckeditor5-track-changes 38.0.1 → 38.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +10 -8
  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.d.ts +3 -2
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.d.ts +3 -2
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.d.ts +3 -2
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.d.ts +3 -2
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.d.ts +3 -2
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.d.ts +3 -2
  50. package/src/integrations/tableclipboard.js +1 -1
  51. package/src/integrations/tablecolumnresize.js +1 -1
  52. package/src/integrations/tableheadings.d.ts +3 -2
  53. package/src/integrations/tableheadings.js +1 -1
  54. package/src/integrations/tablemergesplit.d.ts +3 -2
  55. package/src/integrations/tablemergesplit.js +1 -1
  56. package/src/integrations/tableofcontents.js +1 -1
  57. package/src/integrations/tableproperties.d.ts +1 -1
  58. package/src/integrations/tableproperties.js +1 -1
  59. package/src/integrations/template.js +1 -1
  60. package/src/integrations/title.js +1 -1
  61. package/src/integrations/undo.js +1 -1
  62. package/src/integrations/utils.js +1 -1
  63. package/src/suggestion.d.ts +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.d.ts +5 -5
  67. package/src/trackchanges.js +1 -1
  68. package/src/trackchangesdata.d.ts +4 -5
  69. package/src/trackchangesdata.js +1 -1
  70. package/src/trackchangesediting.d.ts +49 -5
  71. package/src/trackchangesediting.js +1 -1
  72. package/src/trackchangesui.d.ts +5 -5
  73. package/src/trackchangesui.js +1 -1
  74. package/src/ui/suggestioncontroller.js +1 -1
  75. package/src/ui/view/basesuggestionthreadview.js +1 -1
  76. package/src/ui/view/suggestionthreadview.d.ts +0 -2
  77. package/src/ui/view/suggestionthreadview.js +1 -1
  78. package/src/utils/common-translations.js +1 -1
  79. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2924=['getMarkersGroup','model','get','createPositionAt','has','markers','filter','handleFindCommand','FindAndReplaceEditing','end','bind','createRange','enableCommand','string','findPrevious','editor','replace','_isInDeletionRange','getIntersection','replaceAll','item'];(function(_0x5a9c1d,_0x29240b){const _0x5caedb=function(_0x24a3e7){while(--_0x24a3e7){_0x5a9c1d['push'](_0x5a9c1d['shift']());}};_0x5caedb(++_0x29240b);}(_0x2924,0x1e0));const _0x5cae=function(_0x5a9c1d,_0x29240b){_0x5a9c1d=_0x5a9c1d-0x0;let _0x5caedb=_0x2924[_0x5a9c1d];return _0x5caedb;};import{Plugin as _0x2838d8}from'ckeditor5/src/core';export default class z extends _0x2838d8{['afterInit'](){if(!this[_0x5cae('0x12')]['plugins'][_0x5cae('0x7')](_0x5cae('0xb')))return;const _0x2d586f=this[_0x5cae('0x12')]['plugins'][_0x5cae('0x5')]('TrackChangesEditing');_0x2d586f[_0x5cae('0xf')]('find',this[_0x5cae('0xa')][_0x5cae('0xd')](this)),_0x2d586f[_0x5cae('0xf')]('findNext'),_0x2d586f[_0x5cae('0xf')](_0x5cae('0x11')),_0x2d586f[_0x5cae('0xf')](_0x5cae('0x13')),_0x2d586f['enableCommand'](_0x5cae('0x1'));}[_0x5cae('0xa')](_0x52e3d6,_0x49bdbb,_0x137671={}){const _0x302112=this['editor']['plugins'][_0x5cae('0x5')]('FindAndReplaceUtils');void 0x0!==_0x137671&&_0x52e3d6(_0xa9e78f=>(_0x5cae('0x10')==typeof _0x49bdbb?_0x302112['findByTextCallback'](_0x49bdbb,_0x137671):_0x49bdbb)(_0xa9e78f)[_0x5cae('0x9')](_0x572ba2=>!0x1===this[_0x5cae('0x14')](_0x572ba2,_0xa9e78f[_0x5cae('0x2')])),_0x137671);}[_0x5cae('0x14')](_0x136da6,_0x1e27f5){const _0x8b6a2b=this[_0x5cae('0x12')][_0x5cae('0x4')][_0x5cae('0xe')](this[_0x5cae('0x12')][_0x5cae('0x4')][_0x5cae('0x6')](_0x1e27f5,_0x136da6['start']),this[_0x5cae('0x12')][_0x5cae('0x4')][_0x5cae('0x6')](_0x1e27f5,_0x136da6[_0x5cae('0xc')]));for(const _0x168d3c of this[_0x5cae('0x12')][_0x5cae('0x4')][_0x5cae('0x8')][_0x5cae('0x3')]('suggestion:deletion'))if(null!==_0x8b6a2b[_0x5cae('0x0')](_0x168d3c['getRange']()))return!0x0;return!0x1;}}
23
+ const _0x4d1e=['FindAndReplaceEditing','start','getIntersection','FindAndReplaceUtils','plugins','string','getRange','handleFindCommand','suggestion:deletion','has','TrackChangesEditing','editor','bind','createPositionAt','enableCommand','markers','findNext','model','_isInDeletionRange','replace','afterInit','item','replaceAll','get','createRange','find','getMarkersGroup'];(function(_0x2680bd,_0x4d1e42){const _0x39e88f=function(_0x21268b){while(--_0x21268b){_0x2680bd['push'](_0x2680bd['shift']());}};_0x39e88f(++_0x4d1e42);}(_0x4d1e,0x105));const _0x39e8=function(_0x2680bd,_0x4d1e42){_0x2680bd=_0x2680bd-0x0;let _0x39e88f=_0x4d1e[_0x2680bd];return _0x39e88f;};import{Plugin as _0x2ed8d3}from'ckeditor5/src/core';export default class z extends _0x2ed8d3{[_0x39e8('0x2')](){if(!this[_0x39e8('0x14')]['plugins'][_0x39e8('0x12')](_0x39e8('0x9')))return;const _0x44fe15=this['editor']['plugins'][_0x39e8('0x5')](_0x39e8('0x13'));_0x44fe15[_0x39e8('0x17')](_0x39e8('0x7'),this[_0x39e8('0x10')][_0x39e8('0x15')](this)),_0x44fe15['enableCommand'](_0x39e8('0x19')),_0x44fe15[_0x39e8('0x17')]('findPrevious'),_0x44fe15[_0x39e8('0x17')](_0x39e8('0x1')),_0x44fe15['enableCommand'](_0x39e8('0x4'));}[_0x39e8('0x10')](_0x24ae29,_0x6391d8,_0x3e4c3f={}){const _0x29802c=this[_0x39e8('0x14')][_0x39e8('0xd')][_0x39e8('0x5')](_0x39e8('0xc'));void 0x0!==_0x3e4c3f&&_0x24ae29(_0x23ade8=>(_0x39e8('0xe')==typeof _0x6391d8?_0x29802c['findByTextCallback'](_0x6391d8,_0x3e4c3f):_0x6391d8)(_0x23ade8)['filter'](_0x537c4b=>!0x1===this[_0x39e8('0x0')](_0x537c4b,_0x23ade8[_0x39e8('0x3')])),_0x3e4c3f);}['_isInDeletionRange'](_0x1e19a9,_0x3508f8){const _0x45f2c2=this[_0x39e8('0x14')][_0x39e8('0x1a')][_0x39e8('0x6')](this['editor'][_0x39e8('0x1a')][_0x39e8('0x16')](_0x3508f8,_0x1e19a9[_0x39e8('0xa')]),this['editor'][_0x39e8('0x1a')][_0x39e8('0x16')](_0x3508f8,_0x1e19a9['end']));for(const _0x38876c of this[_0x39e8('0x14')][_0x39e8('0x1a')][_0x39e8('0x18')][_0x39e8('0x8')](_0x39e8('0x11')))if(null!==_0x45f2c2[_0x39e8('0xb')](_0x38876c[_0x39e8('0xf')]()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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}]});}});});}}
23
+ const _0x4160=['find','get','_descriptionFactory','FontColorEditing','format','commandName','*Reset\x20font\x20size*','*Reset\x20font\x20color*','selection','*Set\x20font\x20color:*\x20%0','fontColor','getRanges','has','_enableCommand','TrackChangesEditing','*Set\x20font\x20background\x20color:*\x20%0','isCollapsed','normalizeSizeOptions','locale','config','fontColor.colors','value','fontSize','FontSize','trim','fontFamily','FontFamilyEditing','change','model','markInlineFormat','label','FontBackgroundColorEditing','plugins','*Set\x20font\x20family:*\x20%0','fontBackgroundColor','*Reset\x20font\x20background\x20color*','registerDescriptionCallback','commandParams','editor','fontBackgroundColor.colors','fontSize.options','afterInit','toLowerCase'];(function(_0x435c0c,_0x416068){const _0x3b01e1=function(_0x5338d7){while(--_0x5338d7){_0x435c0c['push'](_0x435c0c['shift']());}};_0x3b01e1(++_0x416068);}(_0x4160,0x75));const _0x3b01=function(_0x435c0c,_0x416068){_0x435c0c=_0x435c0c-0x0;let _0x3b01e1=_0x4160[_0x435c0c];return _0x3b01e1;};import{Plugin as _0x5b606a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x13a970}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x39da15}from'./utils';import{getTranslation as _0x1d6536}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x3b01('0x22')},{'pluginName':_0x3b01('0x26'),'commandName':'fontFamily'},{'pluginName':_0x3b01('0xf'),'commandName':_0x3b01('0x16')},{'pluginName':_0x3b01('0x0'),'commandName':_0x3b01('0x3')}];export default class H extends _0x5b606a{[_0x3b01('0xa')](){const _0x22835b=this[_0x3b01('0x7')][_0x3b01('0x1e')];for(const {pluginName:_0x447912,commandName:_0x11feaa}of Zt)this[_0x3b01('0x7')]['plugins'][_0x3b01('0x18')](_0x447912)&&this[_0x3b01('0x19')](_0x11feaa);this[_0x3b01('0x7')][_0x3b01('0x1')][_0x3b01('0xd')](_0x3b01('0x1a'))[_0x3b01('0xe')][_0x3b01('0x5')](_0x2a5443=>{const _0x5624b5=_0x22835b['t'],{data:_0x71573c}=_0x2a5443;if(null!=_0x71573c){if(_0x3b01('0x22')==_0x71573c['commandName']){const _0x1316d1=_0x71573c[_0x3b01('0x6')][0x0][_0x3b01('0x21')];if(_0x1316d1){const _0x35aac5=_0x5624b5(this[_0x3b01('0x7')][_0x3b01('0x1')][_0x3b01('0xd')](_0x3b01('0x23'))[_0x3b01('0x1d')](this[_0x3b01('0x7')][_0x3b01('0x1f')][_0x3b01('0xd')](_0x3b01('0x9')))['find'](_0x530efb=>_0x530efb[_0x3b01('0x28')]==_0x1316d1)['title'])['toLowerCase']();return{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,'*Set\x20font\x20size:*\x20%0',_0x35aac5)};}return{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,_0x3b01('0x12'))};}if(_0x3b01('0x25')==_0x71573c[_0x3b01('0x11')]){const _0xaa6049=_0x71573c['commandParams'][0x0][_0x3b01('0x21')];return _0xaa6049?{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,_0x3b01('0x2'),_0xaa6049)}:{'type':'format','content':_0x1d6536(_0x22835b,'*Reset\x20font\x20family*')};}if(_0x3b01('0x16')==_0x71573c['commandName']){const _0x4f2f55=_0x71573c['commandParams'][0x0]['value'];if(_0x4f2f55){const _0x500020=_0x13a970(this[_0x3b01('0x7')][_0x3b01('0x1f')]['get'](_0x3b01('0x20')))[_0x3b01('0xc')](_0x365326=>_0x365326[_0x3b01('0x28')]==_0x4f2f55);let _0x588fda=_0x4f2f55,_0x23815e='';return _0x500020&&(_0x588fda=_0x500020[_0x3b01('0x2a')],_0x23815e=_0x5624b5(_0x588fda)[_0x3b01('0xb')]()),{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,_0x3b01('0x15'),_0x23815e)[_0x3b01('0x24')](),'color':{'value':_0x4f2f55,'title':_0x23815e||_0x588fda}};}return{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,_0x3b01('0x13'))};}if('fontBackgroundColor'==_0x71573c[_0x3b01('0x11')]){const _0x454ca3=_0x71573c[_0x3b01('0x6')][0x0][_0x3b01('0x21')];if(_0x454ca3){const _0xb9edd1=_0x13a970(this[_0x3b01('0x7')]['config'][_0x3b01('0xd')](_0x3b01('0x8')))[_0x3b01('0xc')](_0x1c8b50=>_0x1c8b50[_0x3b01('0x28')]==_0x454ca3);let _0xe7d231=_0x454ca3,_0x1a48ca='';return _0xb9edd1&&(_0xe7d231=_0xb9edd1[_0x3b01('0x2a')],_0x1a48ca=_0x5624b5(_0xe7d231)['toLowerCase']()),{'type':'format','content':_0x1d6536(_0x22835b,_0x3b01('0x1b'),_0x1a48ca)[_0x3b01('0x24')](),'color':{'value':_0x454ca3,'title':_0x1a48ca||_0xe7d231}};}return{'type':_0x3b01('0x10'),'content':_0x1d6536(_0x22835b,_0x3b01('0x4'))};}}});}[_0x3b01('0x19')](_0x18b63a){const _0x2ce96d=this['editor'];_0x2ce96d[_0x3b01('0x1')][_0x3b01('0xd')](_0x3b01('0x1a'))['enableCommand'](_0x18b63a,(_0x3e4a1b,_0x2e3f18={})=>{const _0x2e852a=_0x2ce96d[_0x3b01('0x28')]['document'][_0x3b01('0x14')],_0x555d95=_0x2e3f18[_0x3b01('0x21')];_0x2e852a[_0x3b01('0x1c')]?_0x3e4a1b(_0x2e3f18):_0x2ce96d['model'][_0x3b01('0x27')](()=>{const _0x52c791=Array['from'](_0x2e852a[_0x3b01('0x17')]());for(const _0x54c366 of _0x52c791){const _0x4bd644=_0x555d95?[_0x54c366]:_0x39da15(_0x18b63a,_0x54c366,_0x2ce96d[_0x3b01('0x28')]);for(const _0x506b55 of _0x4bd644)_0x2ce96d[_0x3b01('0x1')][_0x3b01('0xd')](_0x3b01('0x1a'))[_0x3b01('0x29')](_0x506b55,{'commandName':_0x18b63a,'commandParams':[{'value':_0x555d95}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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+')';}
23
+ const _0x213d=['enableCommand','model','length','selection','registerDescriptionCallback','getSelectedBlocks','from','word','getFirstPosition','fontSize','pasteFormat','isCollapsed','_descriptionFactory','getItems','getRanges','get','TrackChangesEditing','copyFormat','FontSize','getLastPosition','join','entries','document','afterInit','split','commandParams','keys','find','isBlock','schema','slice','commandName','createRange','fontColor','format','forward','label','plugins','config','getAttributeProperties','toLowerCase','backward','fontSize.options','fontBackgroundColor','change','isFormatting','editor','push','locale','commands','modifySelection','getAttributes'];(function(_0x13f7a9,_0x213d5f){const _0x28868f=function(_0x30fbd0){while(--_0x30fbd0){_0x13f7a9['push'](_0x13f7a9['shift']());}};_0x28868f(++_0x213d5f);}(_0x213d,0xb7));const _0x2886=function(_0x13f7a9,_0x213d5f){_0x13f7a9=_0x13f7a9-0x0;let _0x28868f=_0x213d[_0x13f7a9];return _0x28868f;};import{Plugin as _0x1d8bf8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1e50f2}from'ckeditor5/src/ui';import{first as _0x4f4a1f}from'ckeditor5/src/utils';import{getTranslation as _0x133067}from'../utils/common-translations';export default class W extends _0x1d8bf8{[_0x2886('0x30')](){const _0x4d40f2=this[_0x2886('0x13')],_0x430df9=_0x4d40f2[_0x2886('0x1a')],_0x4c9dbd=_0x430df9[_0x2886('0x2f')][_0x2886('0x1c')],_0x52b035=_0x4d40f2['plugins'][_0x2886('0x28')](_0x2886('0x29')),_0x13c046=_0x4d40f2['locale'],_0x3a06f7=_0x4d40f2['commands']['get']('copyFormat'),_0x2bc3ce=_0x4d40f2[_0x2886('0x16')][_0x2886('0x28')]('pasteFormat');_0x3a06f7&&_0x2bc3ce&&(_0x52b035[_0x2886('0x19')](_0x2886('0x23'),(_0x5c4185,_0x3b3c0e={})=>{const _0x171ed2=_0x3b3c0e;_0x430df9[_0x2886('0x11')](()=>{const _0x364f52=Array[_0x2886('0x1f')](_0x4c9dbd[_0x2886('0x27')]()),_0x22c851=_0x4c9dbd[_0x2886('0x24')]?[no(_0x430df9,_0x4c9dbd)]:_0x364f52,_0x1de357=!!_0x4f4a1f(function*(_0x2b4eec,_0x4475ef){const _0x564c1c=_0x5c3282=>!!_0x4f4a1f(function*(_0x101dea,_0x56c79c){for(const [_0x1e49a1]of _0x101dea[_0x2886('0x18')]()){const _0x1ad17e=_0x56c79c[_0x2886('0xc')](_0x1e49a1);_0x1ad17e&&_0x1ad17e[_0x2886('0x12')]&&(yield _0x1e49a1);}}(_0x5c3282,_0x4475ef));for(const _0x402b48 of _0x2b4eec[_0x2886('0x27')]())for(const _0x387fa5 of _0x402b48[_0x2886('0x26')]())!_0x4475ef[_0x2886('0x1')](_0x387fa5)&&_0x564c1c(_0x387fa5)&&(yield _0x387fa5);for(const _0x29964c of _0x2b4eec[_0x2886('0x1e')]())_0x564c1c(_0x29964c)&&(yield _0x29964c);_0x564c1c(_0x2b4eec)&&(yield _0x2b4eec);}(_0x4c9dbd,_0x430df9[_0x2886('0x2')]));if(_0x1de357||0x0!==Object[_0x2886('0x33')](_0x171ed2)[_0x2886('0x1b')])for(const _0x38048e of _0x22c851)_0x52b035['markInlineFormat'](_0x38048e,{'commandName':_0x2886('0x23'),'commandParams':[_0x171ed2]});});}),_0x52b035[_0x2886('0x25')][_0x2886('0x1d')](_0x175c81=>{const {data:_0x2ec78c}=_0x175c81;if(_0x2ec78c&&_0x2886('0x23')===_0x2ec78c[_0x2886('0x4')]){const _0x2bf621=[],_0x1edbe6=_0x2ec78c[_0x2886('0x32')][0x0];for(const [_0x30f44b,_0x5a4528]of Object[_0x2886('0x2e')](_0x1edbe6))_0x2bf621[_0x2886('0x14')](co(_0x4d40f2,_0x30f44b,_0x5a4528));return _0x2bf621[_0x2886('0x1b')]?{'type':_0x2886('0x7'),'content':_0x133067(_0x13c046,'*Set\x20format\x20to:*\x20%0',_0x2bf621[_0x2886('0x2d')](',\x20'))}:{'type':'format','content':_0x133067(_0x13c046,'*Remove\x20all\x20formatting*')};}}),_0x4d40f2[_0x2886('0xa')]['get'](_0x2886('0x29'))[_0x2886('0x19')](_0x2886('0x2a')));}}function no(_0x1aeed6,_0x35cecf){const _0x2478e0=_0x1aeed6['createSelection'](_0x35cecf);_0x1aeed6[_0x2886('0x17')](_0x2478e0,{'unit':_0x2886('0x20'),'direction':_0x2886('0xe')});const _0x1906f7=_0x2478e0[_0x2886('0x21')]();_0x1aeed6[_0x2886('0x17')](_0x2478e0,{'unit':_0x2886('0x20'),'direction':_0x2886('0x8')});const _0x151b47=_0x2478e0[_0x2886('0x2c')]();return _0x1aeed6[_0x2886('0x5')](_0x1906f7,_0x151b47);}function co(_0x1c92b3,_0x3f5df2,_0x20a9f9){const _0x16c112=_0x1c92b3[_0x2886('0x15')]['t'],_0x147b12=_0x3f5df2[_0x2886('0x31')](/(?=[A-Z])/)['join']('\x20'),_0x1f40cf=_0x16c112(_0x147b12['charAt'](0x0)['toUpperCase']()+_0x147b12[_0x2886('0x3')](0x1))[_0x2886('0xd')]();if('boolean'==typeof _0x20a9f9)return _0x1f40cf;if(_0x2886('0x6')===_0x3f5df2||_0x2886('0x10')===_0x3f5df2){const _0x1574b4=_0x1e50f2(_0x1c92b3['config'][_0x2886('0x28')]('fontColor.colors'))['find'](_0x256673=>_0x256673[_0x2886('0x1a')]==_0x20a9f9);return _0x1f40cf+'\x20('+(_0x1574b4?_0x16c112(_0x1574b4[_0x2886('0x9')])['toLowerCase']():_0x20a9f9)+')';}if(_0x2886('0x22')===_0x3f5df2&&isNaN(parseFloat(_0x20a9f9))){const _0x780eda=_0x1c92b3[_0x2886('0xa')][_0x2886('0x28')](_0x2886('0x2b'))['normalizeSizeOptions'](_0x1c92b3[_0x2886('0xb')][_0x2886('0x28')](_0x2886('0xf')))[_0x2886('0x0')](_0x3b9c3a=>_0x3b9c3a[_0x2886('0x1a')]==_0x20a9f9);return _0x1f40cf+'\x20('+(_0x780eda?_0x16c112(_0x780eda['title'])['toLowerCase']():_0x20a9f9)+')';}return _0x1f40cf+'\x20('+_0x20a9f9+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0xd353=['blockName','title','*Change\x20to:*\x20%0','find','formatBlock','change','plugins','TrackChangesEditing','ELEMENT_HEADING_CUSTOM','format','ELEMENT_HEADING','checkChild','name','model','schema','heading','document','has','registerDescriptionCallback','markBlockFormat','enableCommand','match','editor','parent','commandParams','get','heading.options','_descriptionFactory','value','from','selection','isObject'];(function(_0x4ef8d3,_0xd35356){const _0x55a22e=function(_0x50c28b){while(--_0x50c28b){_0x4ef8d3['push'](_0x4ef8d3['shift']());}};_0x55a22e(++_0xd35356);}(_0xd353,0x1b0));const _0x55a2=function(_0x4ef8d3,_0xd35356){_0x4ef8d3=_0x4ef8d3-0x0;let _0x55a22e=_0xd353[_0x4ef8d3];return _0x55a22e;};import{Plugin as _0x3ca958}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x29fbd6}from'./utils';import{getTranslation as _0x6ef34b}from'../utils/common-translations';export default class J extends _0x3ca958{['afterInit'](){const _0x105389=this[_0x55a2('0x6')],_0x4e4b10=_0x105389['locale'],_0x49ccee=_0x105389['config'][_0x55a2('0x9')](_0x55a2('0xa'));if(!_0x105389[_0x55a2('0x16')][_0x55a2('0x1')]('HeadingEditing'))return;const _0xf79cd8=_0x105389[_0x55a2('0x16')]['get'](_0x55a2('0x17'));_0xf79cd8[_0x55a2('0x4')](_0x55a2('0x1f'),(_0x47a7b0,_0x791293)=>{const _0x1d59d9=_0x791293[_0x55a2('0xc')],_0x2e2718=Array[_0x55a2('0xd')](this['editor'][_0x55a2('0x1d')][_0x55a2('0x0')][_0x55a2('0xe')]['getSelectedBlocks']())['filter'](_0x568b20=>function(_0x44ddad,_0x4c7f17,_0x40ad35){return _0x40ad35[_0x55a2('0x1b')](_0x44ddad[_0x55a2('0x7')],_0x4c7f17)&&!_0x40ad35[_0x55a2('0xf')](_0x44ddad)&&_0x44ddad[_0x55a2('0x1c')]!=_0x4c7f17;}(_0x568b20,_0x1d59d9,this[_0x55a2('0x6')][_0x55a2('0x1d')][_0x55a2('0x1e')]));_0x105389['model'][_0x55a2('0x15')](()=>{for(const _0xeeaba3 of _0x2e2718)_0xf79cd8[_0x55a2('0x3')](_0xeeaba3,{'commandName':_0x55a2('0x1f'),'commandParams':[_0x791293],'formatGroupId':_0x55a2('0x10')},_0x29fbd6(_0xeeaba3));});});for(const _0x257ad3 of _0x49ccee)'paragraph'!=_0x257ad3[_0x55a2('0x1d')]&&_0xf79cd8[_0x55a2('0xb')]['registerElementLabel'](_0x257ad3[_0x55a2('0x1d')],_0x5de5d8=>{const _0x15e01b=nn(_0x257ad3['model']);return null!==_0x15e01b?_0x334275(_0x5de5d8,_0x15e01b):_0x20ac81(_0x5de5d8,_0x257ad3[_0x55a2('0x11')]);});function _0x334275(_0x142734,_0x536e95){return _0x6ef34b(_0x4e4b10,_0x55a2('0x1a'),[_0x142734,_0x536e95]);}function _0x20ac81(_0x296d39,_0x22abf7){return _0x6ef34b(_0x4e4b10,_0x55a2('0x18'),[_0x296d39,_0x22abf7]);}_0xf79cd8[_0x55a2('0xb')][_0x55a2('0x2')](_0x176347=>{const {type:_0x26ce4c,data:_0x243dcf}=_0x176347;if(_0x55a2('0x14')==_0x26ce4c&&_0x243dcf&&_0x55a2('0x1f')==_0x243dcf['commandName']){const _0x478eed=_0x243dcf[_0x55a2('0x8')][0x0]['value'],_0x4ad4d2=nn(_0x478eed);if(null!==_0x4ad4d2)return{'type':_0x55a2('0x19'),'content':_0x6ef34b(_0x4e4b10,_0x55a2('0x12'),_0x334275(0x1,_0x4ad4d2))};const _0x45f862=_0x49ccee[_0x55a2('0x13')](_0x525631=>_0x525631[_0x55a2('0x1d')]===_0x478eed)[_0x55a2('0x11')];return{'type':_0x55a2('0x19'),'content':_0x6ef34b(_0x4e4b10,_0x55a2('0x12'),_0x20ac81(0x1,_0x45f862))};}});}}function nn(_0x1b5b5b){const _0x4e53f2=_0x1b5b5b[_0x55a2('0x5')](/^heading(\d+)$/);return _0x4e53f2?_0x4e53f2[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'))};}});}}
23
+ const _0x4547=['commandName','color','plugins','editor','getLastMatchingPosition','format','isCollapsed','toLowerCase','highlight.options','commandParams','document','selection','TrackChangesEditing','has','push','FORMAT_HIGHLIGHT','getAttribute','title','*Set\x20highlight:*\x20%0','model','getFirstPosition','find','getRanges','_descriptionFactory','afterInit','get','value','item','config','highlight','change','locale','registerDescriptionCallback'];(function(_0x3d2679,_0x4547fa){const _0x2a9364=function(_0x29ab3a){while(--_0x29ab3a){_0x3d2679['push'](_0x3d2679['shift']());}};_0x2a9364(++_0x4547fa);}(_0x4547,0x165));const _0x2a93=function(_0x3d2679,_0x4547fa){_0x3d2679=_0x3d2679-0x0;let _0x2a9364=_0x4547[_0x3d2679];return _0x2a9364;};import{Plugin as _0x84fea6}from'ckeditor5/src/core';import{getTranslation as _0xfdb5f}from'../utils/common-translations';import{getRangesWithAttribute as _0x1371bc}from'./utils';export default class K extends _0x84fea6{[_0x2a93('0x1e')](){const _0x5b0399=this[_0x2a93('0x9')];if(!_0x5b0399[_0x2a93('0x8')][_0x2a93('0x13')]('HighlightEditing'))return;const _0x53a776=_0x5b0399['plugins'][_0x2a93('0x1f')](_0x2a93('0x12'));_0x53a776['enableCommand'](_0x2a93('0x2'),(_0x138899,_0x489fde={})=>{const _0xac2c11=_0x5b0399[_0x2a93('0x19')][_0x2a93('0x10')][_0x2a93('0x11')],_0xf8dd2a=_0xac2c11[_0x2a93('0x16')](_0x2a93('0x2'));let _0x530373=_0x489fde[_0x2a93('0x20')],_0x1566a2=[];if(_0xac2c11[_0x2a93('0xc')]){const _0x474782=_0xac2c11[_0x2a93('0x1a')]();if(!_0xac2c11['hasAttribute'](_0x2a93('0x2')))return void _0x138899(_0x489fde);{const _0x54f2ba=_0x582196=>_0x582196[_0x2a93('0x0')]['getAttribute'](_0x2a93('0x2'))===_0xf8dd2a,_0x31c0f9=_0x474782[_0x2a93('0xa')](_0x54f2ba,{'direction':'backward'}),_0xc4a58d=_0x474782[_0x2a93('0xa')](_0x54f2ba);_0x1566a2=[_0x5b0399[_0x2a93('0x19')]['createRange'](_0x31c0f9,_0xc4a58d)],_0x530373==_0xf8dd2a&&(_0x530373=null);}}else for(const _0x1f2124 of _0xac2c11[_0x2a93('0x1c')]())_0x530373?_0x1566a2[_0x2a93('0x14')](_0x1f2124):_0x1566a2[_0x2a93('0x14')](..._0x1371bc(_0x2a93('0x2'),_0x1f2124,_0x5b0399[_0x2a93('0x19')]));_0x5b0399[_0x2a93('0x19')][_0x2a93('0x3')](()=>{for(const _0x408947 of _0x1566a2)_0x53a776['markInlineFormat'](_0x408947,{'commandName':_0x2a93('0x2'),'commandParams':[{'value':_0x530373}]});});});const _0x4944a8=_0x5b0399[_0x2a93('0x4')];_0x53a776[_0x2a93('0x1d')][_0x2a93('0x5')](_0x55b529=>{const {type:_0x5a7ca6,data:_0x52afbb}=_0x55b529;if('formatInline'==_0x5a7ca6&&_0x52afbb&&_0x2a93('0x2')==_0x52afbb[_0x2a93('0x6')]){const _0x1e1879=_0x4944a8['t'],_0x298192=_0x52afbb[_0x2a93('0xf')][0x0][_0x2a93('0x20')];if(_0x298192){const _0x1ca672=_0x5b0399[_0x2a93('0x1')]['get'](_0x2a93('0xe'))[_0x2a93('0x1b')](_0x381a17=>_0x381a17[_0x2a93('0x19')]==_0x298192),_0x34c755=_0x1e1879(_0x1ca672[_0x2a93('0x17')])[_0x2a93('0xd')]();return{'type':_0x2a93('0xb'),'content':_0xfdb5f(_0x4944a8,_0x2a93('0x18'),_0x34c755),'color':{'value':_0x1ca672[_0x2a93('0x7')],'title':_0x1ca672[_0x2a93('0x17')]}};}return{'type':_0x2a93('0xb'),'content':_0xfdb5f(_0x4944a8,'*Remove\x20highlight*',_0xfdb5f(_0x4944a8,_0x2a93('0x15')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'});}}
23
+ const _0x4561=['createEmptyElement','HorizontalLineEditing','createPositionAt','for','horizontalLine','locale','addClass','editor','afterInit','conversion','dataDowncast','_descriptionFactory','get','ELEMENT_HORIZONTAL_LINE','plugins','elementToStructure','TrackChangesEditing','high','has','createContainerElement','enableCommand','insert','ck-horizontal-line'];(function(_0x5eb900,_0x45616a){const _0x3054cd=function(_0x3ee789){while(--_0x3ee789){_0x5eb900['push'](_0x5eb900['shift']());}};_0x3054cd(++_0x45616a);}(_0x4561,0x1f2));const _0x3054=function(_0x5eb900,_0x45616a){_0x5eb900=_0x5eb900-0x0;let _0x3054cd=_0x4561[_0x5eb900];return _0x3054cd;};import{Plugin as _0x1de1e9}from'ckeditor5/src/core';import{getTranslation as _0x40f8bc}from'../utils/common-translations';export default class Q extends _0x1de1e9{[_0x3054('0x10')](){const _0x644aed=this[_0x3054('0xf')];if(!_0x644aed[_0x3054('0x16')][_0x3054('0x3')](_0x3054('0x9')))return;_0x644aed[_0x3054('0x16')][_0x3054('0x14')]('TrackChangesEditing')[_0x3054('0x5')](_0x3054('0xc'));const _0x22d82d=_0x644aed[_0x3054('0x16')][_0x3054('0x14')](_0x3054('0x1')),_0x36d025=_0x644aed[_0x3054('0xd')];_0x22d82d[_0x3054('0x13')]['registerElementLabel']('horizontalLine',_0x46b3e3=>_0x40f8bc(_0x36d025,_0x3054('0x15'),_0x46b3e3)),_0x644aed[_0x3054('0x11')][_0x3054('0xb')](_0x3054('0x12'))[_0x3054('0x0')]({'model':'horizontalLine','view':(_0x3c43a7,{writer:_0x5445fe,options:_0xc0f987})=>{if(!_0xc0f987['showSuggestionHighlights'])return null;const _0x2aea20=_0x5445fe[_0x3054('0x4')]('div'),_0x3579ad=_0x5445fe[_0x3054('0x8')]('hr');return _0x5445fe[_0x3054('0xe')](_0x3054('0x7'),_0x2aea20),_0x5445fe[_0x3054('0x6')](_0x5445fe[_0x3054('0xa')](_0x2aea20,0x0),_0x3579ad),_0x2aea20;},'converterPriority':_0x3054('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0x15ac=['editing','document','model','registerElementLabel','locale','enableCommand','getSelectedElement','rawHtmlApi','afterInit','ELEMENT_HTML_EMBED','commandName','view','TrackChangesEditing','plugins','selection','change','value','HtmlEmbed','registerDescriptionCallback','editor','_descriptionFactory','htmlEmbed','getAttribute','*Change\x20%0\x20content*','get','rawHtml','getCustomProperty','format','has','element'];(function(_0x55c3bf,_0x15ac88){const _0x22c968=function(_0x4e7e53){while(--_0x4e7e53){_0x55c3bf['push'](_0x55c3bf['shift']());}};_0x22c968(++_0x15ac88);}(_0x15ac,0x1cc));const _0x22c9=function(_0x55c3bf,_0x15ac88){_0x55c3bf=_0x55c3bf-0x0;let _0x22c968=_0x15ac[_0x55c3bf];return _0x22c968;};import{Plugin as _0x4bb401}from'ckeditor5/src/core';import{getTranslation as _0x50adfc}from'../utils/common-translations';export default class V extends _0x4bb401{[_0x22c9('0x1c')](){const _0x508a15=this[_0x22c9('0x9')];if(!_0x508a15[_0x22c9('0x3')][_0x22c9('0x12')](_0x22c9('0x7')))return;const _0x3e01ea=_0x508a15['plugins']['get'](_0x22c9('0x2')),_0x367d6f=_0x508a15[_0x22c9('0x18')],_0x5b70ff=_0x508a15[_0x22c9('0x14')][_0x22c9('0x1')][_0x22c9('0x15')][_0x22c9('0x4')];_0x3e01ea[_0x22c9('0xa')][_0x22c9('0x17')](_0x22c9('0xf'),_0x112322=>_0x50adfc(_0x367d6f,_0x22c9('0x1d'),_0x112322)),_0x508a15[_0x22c9('0x3')][_0x22c9('0xe')](_0x22c9('0x2'))[_0x22c9('0x19')](_0x22c9('0xb'),(_0x364987,_0x423645)=>{const _0x2995c8=_0x508a15[_0x22c9('0x16')],_0x33dfca=_0x2995c8['document'][_0x22c9('0x4')];_0x2995c8[_0x22c9('0x5')](()=>{const _0x3ac0df=function(_0x26ec9e){const _0x4d6943=_0x26ec9e[_0x22c9('0x1a')]();if(_0x4d6943&&_0x4d6943['is'](_0x22c9('0x13'),_0x22c9('0xf')))return _0x26ec9e['getSelectedElement']();return null;}(_0x33dfca);if(!_0x3ac0df)return void _0x364987(null);const _0x526e70=_0x3ac0df[_0x22c9('0xc')](_0x22c9('0x6'))||'';if(void 0x0===_0x423645)return;if(_0x423645===_0x526e70)return;_0x3e01ea['markBlockFormat'](_0x3ac0df,{'commandName':_0x22c9('0xb'),'commandParams':[_0x423645]}),_0x5b70ff[_0x22c9('0x1a')]()[_0x22c9('0x10')](_0x22c9('0x1b'))['cancel']();});}),_0x3e01ea[_0x22c9('0xa')][_0x22c9('0x8')](_0x6ce16e=>{const {data:_0x33c64b}=_0x6ce16e;if(_0x33c64b&&_0x22c9('0xb')==_0x33c64b[_0x22c9('0x0')]){const _0x19107b=_0x50adfc(_0x367d6f,_0x22c9('0x1d'));return{'type':_0x22c9('0x11'),'content':_0x50adfc(_0x367d6f,_0x22c9('0xd'),_0x19107b)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0x55d0=['toLowerCase','toNext','markInlineFormat','getFirstRange','getContainedElement','ImageUtils','toPrevious','formatBlock','change','Block\x20image\x20to\x20inline\x20image','getSuggestion','element','findIndex','registerDescriptionCallback','getAttribute','ImageUploadEditing','isOwn','getCaptionFromImageModelElement','commandParams','alt','ImageInlineEditing','subType','isInContent','_splitMarkerName','registerElementLabel','isIntersecting','schema','length','convertInlineImageToBlock','plugins','newRange','discardSuggestion','commandReversedParams','getSuggestionCallback','backward','editor','format','isBefore','filter','detach','model','isInlineImage','ImageBlockEditing','join','commands','*Remove\x20image\x20text\x20alternative*','ImageResize','discard','insertImage','refresh','nodeBefore','title','value','forward','head','imageTypeInline','imageInline','afterInit','_findSuggestions','ImageEditing','uploadImage','insertion','imageTextAlternative','*Reset\x20image\x20width*','selection','ImageCaptionEditing','*Set\x20image\x20text\x20alternative:*\x20%0','ImageStyleEditing','name','author','ImageTextAlternativeEditing','nodeAfter','find','end','imageTypeBlock','imageStylePreApply','has','createRange','caption','ELEMENT_CAPTION','ImageCaptionUtils','markInsertion','isBlockImage','from','hasAttribute','type','imageCaption','ELEMENT_IMAGE','chain','markBlockFormat','getClosestSelectedImageElement','registerPostFixer','forEach','locale','start','suggestion','previous','side','_suggestionFactory','_descriptionFactory','deletion','removeObject','get','imageStylePostApply','document','imageStyle','convertBlockImageToInline','registerCustomCallback','newValue','resizeImage','getNearestSelectionRange','createRangeOn','commandName','FORMAT_SIDE_IMAGE','isCollapsed','formatInline','fromPosition','width','isEqual','markDeletion','imageBlock','next','Users','enableCommand','ELEMENT_INLINE_IMAGE','accept'];(function(_0x111bc7,_0x55d02b){const _0x37b1ad=function(_0x104de1){while(--_0x104de1){_0x111bc7['push'](_0x111bc7['shift']());}};_0x37b1ad(++_0x55d02b);}(_0x55d0,0xab));const _0x37b1=function(_0x111bc7,_0x55d02b){_0x111bc7=_0x111bc7-0x0;let _0x37b1ad=_0x55d0[_0x111bc7];return _0x37b1ad;};import{Plugin as _0x1baf37}from'ckeditor5/src/core';import{LivePosition as _0x15fed5}from'ckeditor5/src/engine';import{uid as _0x196e76}from'ckeditor5/src/utils';import{getTranslation as _0xbc624a}from'../utils/common-translations';export default class X extends _0x1baf37{[_0x37b1('0xc')](){const _0x39120f=this[_0x37b1('0x74')];if(!_0x39120f[_0x37b1('0x6e')]['has'](_0x37b1('0xe')))return;const _0x27558a=_0x39120f['plugins'][_0x37b1('0x39')]('TrackChangesEditing'),_0x127c2b=_0x39120f['plugins'][_0x37b1('0x39')](_0x37b1('0x56')),_0x15ed98={},_0x387dc9=_0x39120f[_0x37b1('0x30')];if(_0x27558a[_0x37b1('0x4e')](_0x37b1('0x3')),_0x27558a[_0x37b1('0x36')][_0x37b1('0x69')](_0x37b1('0x4b'),_0x4bad36=>_0xbc624a(_0x387dc9,_0x37b1('0x2a'),_0x4bad36)),_0x27558a['_descriptionFactory'][_0x37b1('0x69')](_0x37b1('0xb'),_0x50a2ea=>_0xbc624a(_0x387dc9,_0x37b1('0x4f'),_0x50a2ea)),_0x27558a[_0x37b1('0x36')][_0x37b1('0x69')](_0x37b1('0x21'),()=>_0xbc624a(_0x387dc9,_0x37b1('0x22'))),_0x39120f[_0x37b1('0x6e')][_0x37b1('0x1f')](_0x37b1('0x60'))&&_0x27558a['enableCommand'](_0x37b1('0xf')),_0x39120f[_0x37b1('0x6e')][_0x37b1('0x1f')](_0x37b1('0x7b'))&&_0x39120f[_0x37b1('0x6e')][_0x37b1('0x1f')](_0x37b1('0x65'))&&(_0x27558a[_0x37b1('0x4e')](_0x37b1('0xa'),(_0x10a456,_0x3eef00)=>{const _0x3824f4=_0x127c2b['getClosestSelectedImageElement'](_0x39120f['model'][_0x37b1('0x3b')][_0x37b1('0x13')]);_0x39120f[_0x37b1('0x79')][_0x37b1('0x59')](()=>{_0x27558a[_0x37b1('0x2c')](_0x3824f4,{'commandName':_0x37b1('0xa'),'commandParams':[_0x3eef00]},[],_0x37b1('0x3d'));});}),_0x27558a['enableCommand'](_0x37b1('0x1d'),(_0x27dd76,_0x6a1f0)=>{_0x39120f[_0x37b1('0x79')]['change'](_0x2e3541=>{let _0x16cd9e=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')]['document'][_0x37b1('0x13')]),_0x140770=_0x2e3541['createRangeOn'](_0x16cd9e);const _0x23bd7c=_0x15fed5[_0x37b1('0x47')](_0x140770[_0x37b1('0x31')],_0x37b1('0x57')),_0x2af0a4=_0x15fed5[_0x37b1('0x47')](_0x140770['end'],_0x37b1('0x52'));_0x27558a['forceDefaultExecution'](()=>_0x27dd76(_0x6a1f0)),_0x16cd9e=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')][_0x37b1('0x3b')][_0x37b1('0x13')]),_0x140770=_0x2e3541[_0x37b1('0x42')](_0x16cd9e);const _0x36f404=_0x2e3541[_0x37b1('0x20')](_0x23bd7c,_0x2af0a4);_0x23bd7c[_0x37b1('0x78')](),_0x2af0a4[_0x37b1('0x78')](),_0x27558a['markBlockFormat'](_0x16cd9e,{'commandName':_0x37b1('0xa'),'commandParams':[]},[],_0x37b1('0x6d')),_0x36f404[_0x37b1('0x31')][_0x37b1('0x76')](_0x140770['start'])&&_0x27558a['markInsertion'](_0x2e3541[_0x37b1('0x20')](_0x36f404['start'],_0x140770[_0x37b1('0x31')]),'convertInlineImageToBlock'),_0x140770['end']['isBefore'](_0x36f404[_0x37b1('0x1c')])&&_0x27558a[_0x37b1('0x24')](_0x2e3541[_0x37b1('0x20')](_0x140770[_0x37b1('0x1c')],_0x36f404[_0x37b1('0x1c')]),_0x37b1('0x6d'));});}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x58'),_0x37b1('0x6d'),_0x37b1('0x7c'),()=>{}),_0x27558a[_0x37b1('0x35')]['registerCustomCallback'](_0x37b1('0x58'),_0x37b1('0x6d'),'accept',()=>{}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x58'),_0x37b1('0x6d'),_0x37b1('0x2'),_0x27558a[_0x37b1('0x35')][_0x37b1('0x72')]('formatBlock','',_0x37b1('0x50'))),_0x27558a['_suggestionFactory']['registerCustomCallback'](_0x37b1('0x10'),'convertInlineImageToBlock',_0x37b1('0x7c'),()=>{}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x10'),_0x37b1('0x6d'),_0x37b1('0x2'),([_0x398001])=>{const _0x250987=_0x27558a[_0x37b1('0x35')][_0x37b1('0x72')](_0x37b1('0x10'),'','discard');let _0x519b57=_0x398001[_0x37b1('0x31')],_0x42460a=_0x398001[_0x37b1('0x1c')];const _0x1ffd25=_0x39120f[_0x37b1('0x79')]['schema'][_0x37b1('0x41')](_0x519b57,_0x37b1('0x73')),_0x28c14d=_0x39120f[_0x37b1('0x79')][_0x37b1('0x6b')][_0x37b1('0x41')](_0x42460a,_0x37b1('0x8'));_0x1ffd25[_0x37b1('0x45')]&&(_0x519b57=_0x1ffd25[_0x37b1('0x31')]),_0x28c14d[_0x37b1('0x45')]&&(_0x42460a=_0x28c14d['end']),_0x250987([_0x39120f[_0x37b1('0x79')][_0x37b1('0x20')](_0x519b57,_0x42460a)]);}),_0x27558a[_0x37b1('0x35')]['registerCustomCallback'](_0x37b1('0x58'),'convertInlineImageToBlock','chain',_0x3a62f6),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x10'),'convertInlineImageToBlock',_0x37b1('0x2b'),_0x3a62f6)),_0x39120f[_0x37b1('0x6e')]['has'](_0x37b1('0x14'))&&(_0x27558a[_0x37b1('0x4e')]('toggleImageCaption',(_0x4cf244,_0x3c427c)=>{const _0x875e06=_0x39120f[_0x37b1('0x6e')][_0x37b1('0x39')](_0x37b1('0x23'));let _0x47b0da=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')][_0x37b1('0x3b')][_0x37b1('0x13')]),_0x410672=_0x875e06[_0x37b1('0x62')](_0x47b0da);_0x39120f[_0x37b1('0x79')][_0x37b1('0x59')](()=>{if(_0x410672)return void _0x27558a[_0x37b1('0x4a')](_0x39120f[_0x37b1('0x79')]['createRangeOn'](_0x410672));const _0x2a0263=_0x127c2b[_0x37b1('0x25')](_0x47b0da);_0x4cf244(_0x3c427c),_0x47b0da=_0x127c2b['getClosestSelectedImageElement'](_0x39120f[_0x37b1('0x79')][_0x37b1('0x3b')][_0x37b1('0x13')]),_0x410672=_0x875e06['getCaptionFromImageModelElement'](_0x47b0da),_0x27558a[_0x37b1('0x24')](_0x39120f[_0x37b1('0x79')][_0x37b1('0x42')](_0x410672),_0x2a0263?null:'imageCaption');});}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x10'),_0x37b1('0x29'),_0x37b1('0x2b'),_0x3a62f6)),_0x39120f[_0x37b1('0x6e')][_0x37b1('0x1f')](_0x37b1('0x16'))){_0x27558a[_0x37b1('0x4e')]('imageStyle',(_0x4f4c51,_0x47df7)=>{const _0x50902a=_0x39120f[_0x37b1('0x6e')][_0x37b1('0x39')](_0x37b1('0x4d'))['me'],_0x31e189=_0x39120f[_0x37b1('0x7d')][_0x37b1('0x39')](_0x37b1('0x3c'));let _0x2a0649=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')]['document'][_0x37b1('0x13')]),_0xdc7629=_0x39120f[_0x37b1('0x79')][_0x37b1('0x42')](_0x2a0649),_0x1fbec7=_0x31e189[_0x37b1('0x7')];if(_0x1fbec7==_0x47df7[_0x37b1('0x7')])return;const _0x5657d3={'commandName':_0x37b1('0x3c'),'commandParams':[_0x47df7],'formatGroupId':_0x196e76()};_0x39120f['model'][_0x37b1('0x59')](()=>{if(_0x27558a['getSuggestions']()['filter'](_0x4c3f01=>_0x4c3f01[_0x37b1('0x67')]&&_0x50902a==_0x4c3f01[_0x37b1('0x18')]&&(_0x37b1('0x58')==_0x4c3f01[_0x37b1('0x28')]||_0x37b1('0x46')==_0x4c3f01[_0x37b1('0x28')])&&(_0x37b1('0x1e')==_0x4c3f01[_0x37b1('0x66')]||_0x37b1('0x3a')==_0x4c3f01[_0x37b1('0x66')])&&_0x4c3f01[_0x37b1('0x54')]()[_0x37b1('0x49')](_0xdc7629))[_0x37b1('0x2f')](_0x4ac23b=>_0x27558a[_0x37b1('0x70')](_0x4ac23b[_0x37b1('0x9')])),_0x2a0649=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')][_0x37b1('0x3b')]['selection']),_0xdc7629=_0x39120f[_0x37b1('0x79')]['createRangeOn'](_0x2a0649),_0x31e189[_0x37b1('0x4')](),_0x39120f['commands']['get'](_0x37b1('0xa'))[_0x37b1('0x4')](),_0x39120f[_0x37b1('0x7d')][_0x37b1('0x39')](_0x37b1('0x1d'))[_0x37b1('0x4')](),_0x1fbec7=_0x31e189['value'],_0x1fbec7!=_0x47df7['value'])return _0x127c2b[_0x37b1('0x7a')](_0x2a0649)&&_0x31e189['shouldConvertImageType'](_0x47df7[_0x37b1('0x7')],_0x2a0649)?(_0x4f4c51(_0x47df7),_0x2a0649=_0x127c2b[_0x37b1('0x2d')](_0x39120f['model'][_0x37b1('0x3b')][_0x37b1('0x13')]),void _0x27558a[_0x37b1('0x2c')](_0x2a0649,{..._0x5657d3,'commandReversedParams':[{'value':_0x1fbec7||null}]},[],_0x37b1('0x1e'))):void(_0x127c2b[_0x37b1('0x25')](_0x2a0649)?_0x27558a['markBlockFormat'](_0x2a0649,_0x5657d3,[],_0x37b1('0x3a')):_0x27558a[_0x37b1('0x53')](_0xdc7629,_0x5657d3,'imageStylePostApply'));});});for(const _0x479c67 of _0x39120f[_0x37b1('0x6e')][_0x37b1('0x39')](_0x37b1('0x16'))['normalizedStyles'])_0x15ed98[_0x479c67[_0x37b1('0x17')]]=_0x479c67[_0x37b1('0x6')][_0x37b1('0x51')]();_0x27558a[_0x37b1('0x35')]['registerCustomCallback'](_0x37b1('0x58'),_0x37b1('0x1e'),_0x37b1('0x7c'),()=>{}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x58'),_0x37b1('0x3a'),_0x37b1('0x7c'),()=>{}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x46'),_0x37b1('0x3a'),_0x37b1('0x7c'),()=>{}),_0x27558a[_0x37b1('0x35')]['registerCustomCallback']('formatBlock',_0x37b1('0x1e'),_0x37b1('0x50'),()=>{}),_0x27558a[_0x37b1('0x35')][_0x37b1('0x3e')](_0x37b1('0x58'),_0x37b1('0x1e'),_0x37b1('0x2'),(_0x184b3f,_0x1266d9)=>{_0x27558a[_0x37b1('0x35')]['getSuggestionCallback'](_0x37b1('0x58'),'','accept')(_0x184b3f,{'commandName':_0x1266d9[_0x37b1('0x43')],'commandParams':_0x1266d9[_0x37b1('0x71')]});}),_0x27558a[_0x37b1('0x35')]['registerCustomCallback'](_0x37b1('0x58'),_0x37b1('0x1e'),_0x37b1('0x2b'),_0x3a62f6);}const _0x3ef0b0=[{'type':_0x37b1('0x58'),'subType':'imageStylePreApply'},{'type':_0x37b1('0x10'),'subType':_0x37b1('0x29')},{'type':'formatBlock','subType':_0x37b1('0x6d')},{'type':_0x37b1('0x10'),'subType':_0x37b1('0x6d')}];function _0x3c6ee2(_0x475e6d,_0x5875f3){const _0x4f9a58=_0x3ef0b0['findIndex'](({type:_0x153544,subType:_0x1cb330})=>_0x475e6d[_0x37b1('0x28')]==_0x153544&&_0x475e6d['subType']==_0x1cb330),_0x56ab4c=_0x3ef0b0[_0x37b1('0x5d')](({type:_0x377994,subType:_0x1c1c17})=>_0x5875f3['type']==_0x377994&&_0x5875f3['subType']==_0x1c1c17);if(_0x4f9a58<0x0||_0x56ab4c<0x0)return!0x1;const _0x36335c=_0x475e6d['getFirstRange'](),_0x511f9c=_0x5875f3[_0x37b1('0x54')]();if((0x0==_0x4f9a58||0x1==_0x4f9a58)&&0x2==_0x56ab4c&&_0x36335c[_0x37b1('0x6a')](_0x511f9c))return!0x0;if(0x2==_0x4f9a58&&0x3==_0x56ab4c){const _0x39a527=_0x27558a[_0x37b1('0xd')](_0x36335c,_0x37b1('0x10'))[_0x37b1('0x77')](({suggestion:_0x23c009,meta:_0x3c4ac6})=>_0x3c4ac6[_0x37b1('0x61')]&&_0x37b1('0x6d')==_0x23c009['subType']);if(_0x39a527['length']>0x1&&_0x511f9c[_0x37b1('0x1c')]['isEqual'](_0x36335c[_0x37b1('0x31')]))return!0x0;if(0x1==_0x39a527[_0x37b1('0x6c')]&&(_0x36335c['start'][_0x37b1('0x49')](_0x511f9c[_0x37b1('0x1c')])||_0x36335c[_0x37b1('0x1c')]['isEqual'](_0x511f9c[_0x37b1('0x31')])))return!0x0;}if(0x3==_0x4f9a58&&0x3==_0x56ab4c&&_0x36335c[_0x37b1('0x31')][_0x37b1('0x76')](_0x511f9c[_0x37b1('0x31')])){const _0x1752aa=_0x36335c[_0x37b1('0x1c')][_0x37b1('0x1a')],_0x4f8a6b=_0x511f9c['start'][_0x37b1('0x5')];return _0x127c2b[_0x37b1('0x25')](_0x1752aa)&&_0x1752aa===_0x4f8a6b;}return!0x1;}function _0x3a62f6(_0x57669c,_0x38dc00){return _0x3c6ee2(_0x57669c,_0x38dc00)?[_0x57669c,_0x38dc00]:_0x3c6ee2(_0x38dc00,_0x57669c)?[_0x38dc00,_0x57669c]:null;}_0x39120f['model'][_0x37b1('0x3b')][_0x37b1('0x2e')](()=>{let _0x4d51ad=!0x1;const _0x3fd415=Array[_0x37b1('0x26')](_0x39120f[_0x37b1('0x79')][_0x37b1('0x3b')]['differ']['getChangedMarkers']());for(const {name:_0x379f4a,data:_0x4e1f6c}of _0x3fd415){const {group:_0x1b9d91,type:_0x53e416,subType:_0x4c14c2,id:_0x5dce9a}=_0x27558a[_0x37b1('0x68')](_0x379f4a);if(_0x37b1('0x32')==_0x1b9d91&&_0x27558a['hasSuggestion'](_0x5dce9a)){if('formatBlock'==_0x53e416&&(_0x37b1('0x1e')==_0x4c14c2||'imageStylePostApply'==_0x4c14c2)){const _0x4a8b33=_0x27558a[_0x37b1('0x5b')](_0x5dce9a);if(_0x4e1f6c[_0x37b1('0x6f')]){const _0x2b67ad=_0x4a8b33[_0x37b1('0x54')]()[_0x37b1('0x55')]();if(_0x127c2b[_0x37b1('0x25')](_0x2b67ad))continue;_0x27558a['discardSuggestion'](_0x4a8b33),_0x4d51ad=!0x0;}}if(_0x37b1('0x10')==_0x53e416&&_0x37b1('0x29')==_0x4c14c2&&!_0x4e1f6c['newRange']){const _0x57e745=_0x27558a[_0x37b1('0x5b')](_0x5dce9a);_0x57e745[_0x37b1('0x4c')]&&_0x57e745[_0x37b1('0x4c')]['isInContent']&&(_0x27558a['discardSuggestion'](_0x57e745['next']),_0x4d51ad=!0x0);}}}return _0x4d51ad;}),_0x39120f[_0x37b1('0x6e')][_0x37b1('0x1f')](_0x37b1('0x1'))&&_0x27558a[_0x37b1('0x4e')](_0x37b1('0x40'),(_0x214891,_0x1e24ae)=>{const _0x170353=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')]['document'][_0x37b1('0x13')]);_0x170353[_0x37b1('0x5f')]('width')!=_0x1e24ae[_0x37b1('0x48')]&&_0x39120f['model'][_0x37b1('0x59')](()=>{_0x27558a[_0x37b1('0x2c')](_0x170353,{'commandName':_0x37b1('0x40'),'commandParams':[_0x1e24ae]});});}),_0x39120f['plugins'][_0x37b1('0x1f')](_0x37b1('0x19'))&&_0x27558a[_0x37b1('0x4e')](_0x37b1('0x11'),(_0x2358d0,_0x560a36)=>{const _0x55d7c6=_0x127c2b[_0x37b1('0x2d')](_0x39120f[_0x37b1('0x79')]['document'][_0x37b1('0x13')]);(_0x55d7c6[_0x37b1('0x27')](_0x37b1('0x64'))?_0x55d7c6[_0x37b1('0x5f')]('alt'):'')!=_0x560a36[_0x37b1('0x3f')]&&_0x39120f['model'][_0x37b1('0x59')](()=>{_0x27558a[_0x37b1('0x2c')](_0x55d7c6,{'commandName':_0x37b1('0x11'),'commandParams':[_0x560a36]});});}),_0x27558a['_descriptionFactory']['registerDescriptionCallback'](_0x28c239=>{if(!!_0x3ef0b0[_0x37b1('0x1b')](({type:_0x19297b,subType:_0x39f0f2})=>_0x28c239[_0x37b1('0x28')]==_0x19297b&&_0x28c239[_0x37b1('0x66')]==_0x39f0f2))return _0x28c239[_0x37b1('0x33')]?{}:void 0x0;}),_0x27558a['_descriptionFactory'][_0x37b1('0x5e')](_0x539016=>{if(_0x37b1('0x10')==_0x539016['type']||_0x37b1('0x37')==_0x539016[_0x37b1('0x28')]){const _0x38d51f=_0x539016[_0x37b1('0x55')]();if(_0x38d51f&&_0x38d51f['is'](_0x37b1('0x5c'),'caption'))return{'type':_0x37b1('0x10')==_0x539016[_0x37b1('0x28')]?'addObject':_0x37b1('0x38'),'element':_0x38d51f,'quantity':0x1};}}),_0x27558a['_descriptionFactory'][_0x37b1('0x5e')](_0x3b76c1=>_0x37b1('0x58')==_0x3b76c1['type']&&_0x37b1('0x6d')==_0x3b76c1[_0x37b1('0x66')]?{'type':_0x37b1('0x75'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x37b1('0x58')==_0x3b76c1[_0x37b1('0x28')]&&'convertBlockImageToInline'==_0x3b76c1['subType']?{'type':_0x37b1('0x75'),'content':_0x37b1('0x5a')}:void 0x0),_0x27558a[_0x37b1('0x36')][_0x37b1('0x5e')](_0x526fb5=>{const {data:_0x13c1ae}=_0x526fb5;if(_0x13c1ae){if(_0x37b1('0x3c')==_0x13c1ae[_0x37b1('0x43')]){const _0x3ac872=_0x13c1ae[_0x37b1('0x63')][0x0]['value'];return _0x3ab4c2(_0x37b1('0x34')===_0x3ac872?_0xbc624a(_0x387dc9,_0x37b1('0x44')):_0x15ed98[_0x3ac872]||_0x3ac872);}if(_0x37b1('0x11')==_0x13c1ae[_0x37b1('0x43')]){const _0x2b6777=_0x13c1ae[_0x37b1('0x63')][0x0]['newValue'];return _0x2b6777?{'type':'format','content':_0xbc624a(_0x387dc9,_0x37b1('0x15'),'\x22'+_0x2b6777+'\x22')}:{'type':_0x37b1('0x75'),'content':_0xbc624a(_0x387dc9,_0x37b1('0x0'))};}if(_0x37b1('0x40')==_0x13c1ae[_0x37b1('0x43')]){const _0x15b312=_0x13c1ae[_0x37b1('0x63')][0x0][_0x37b1('0x48')];return _0x15b312?{'type':_0x37b1('0x75'),'content':_0xbc624a(_0x387dc9,'*Set\x20image\x20width:*\x20%0',_0x15b312)}:{'type':'format','content':_0xbc624a(_0x387dc9,_0x37b1('0x12'))};}}function _0x3ab4c2(_0x494447){return{'type':_0x37b1('0x75'),'content':_0xbc624a(_0x387dc9,'*Format:*\x20%0',_0x494447)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}}}
23
+ const _0x1945=['locale','afterInit','getAttribute','editor','model','handleSuggestionDescription','*Format:*\x20replace\x20image\x20URL','getSuggestionCallback','TrackChangesEditing','handleReplaceImageCommand','_suggestionFactory','has','get','replaceImageSource','getContainedElement','commandName','plugins','getSuggestions','selection','data','registerDescriptionCallback','_descriptionFactory','registerCustomCallback','markBlockFormat','source','discard','src','ImageEditing'];(function(_0x5a7e9f,_0x19451f){const _0x2886e1=function(_0x112eea){while(--_0x112eea){_0x5a7e9f['push'](_0x5a7e9f['shift']());}};_0x2886e1(++_0x19451f);}(_0x1945,0x1e0));const _0x2886=function(_0x5a7e9f,_0x19451f){_0x5a7e9f=_0x5a7e9f-0x0;let _0x2886e1=_0x1945[_0x5a7e9f];return _0x2886e1;};import{Plugin as _0x51e553}from'ckeditor5/src/core';import{getTranslation as _0x20b40}from'../utils/common-translations';export default class Y extends _0x51e553{[_0x2886('0x19')](){if(!this['editor'][_0x2886('0xc')][_0x2886('0x7')](_0x2886('0x17')))return;const _0x382ef9=this[_0x2886('0x1b')][_0x2886('0xc')][_0x2886('0x8')](_0x2886('0x4'));_0x382ef9['enableCommand']('replaceImageSource',(_0x116559,_0x2f44b7)=>this[_0x2886('0x5')](_0x116559,_0x2f44b7)),_0x382ef9[_0x2886('0x6')][_0x2886('0x12')]('formatBlock',_0x2886('0x9'),'accept',_0x382ef9[_0x2886('0x6')][_0x2886('0x3')]('formatBlock',null,_0x2886('0x15'))),_0x382ef9['_suggestionFactory'][_0x2886('0x12')]('formatBlock','replaceImageSource',_0x2886('0x15'),_0x382ef9[_0x2886('0x6')][_0x2886('0x3')]('formatBlock',null,'accept')),_0x382ef9[_0x2886('0x11')][_0x2886('0x10')](_0x53fd4b=>this[_0x2886('0x1')](_0x53fd4b));}[_0x2886('0x5')](_0x4454d9,_0xeb483a){const _0x3ac282=this['editor']['plugins']['get'](_0x2886('0x4')),_0x235380=this[_0x2886('0x1b')]['model']['document'][_0x2886('0xe')]['getSelectedElement']();this[_0x2886('0x1b')][_0x2886('0x0')]['change'](()=>{let _0x188463=_0x235380[_0x2886('0x1a')](_0x2886('0x16'));const _0x5db52b=this[_0x2886('0x1b')][_0x2886('0xc')]['get']('Users')['me'];for(const _0x311444 of _0x3ac282[_0x2886('0xd')]({'skipNotAttached':!0x0})){const _0x3511a2=_0x311444[_0x2886('0xa')]();if(_0x2886('0x9')===_0x311444['subType']&&_0x3511a2===_0x235380){_0x311444['author']!==_0x5db52b&&_0x311444[_0x2886('0x15')](),_0x188463=_0x311444[_0x2886('0xf')]['commandParams'][0x0][_0x2886('0x14')];break;}}_0x4454d9(_0xeb483a),_0x3ac282[_0x2886('0x13')](_0x235380,{'commandName':'replaceImageSource','commandParams':[{'source':_0x188463}]},[],_0x2886('0x9'));});}['handleSuggestionDescription'](_0x5844a1){const {data:_0x1dd375}=_0x5844a1;if(_0x1dd375&&_0x2886('0x9')===_0x1dd375[_0x2886('0xb')]){const _0x43cdf9=_0x2886('0x2');return{'type':'format','content':_0x20b40(this[_0x2886('0x1b')][_0x2886('0x18')],_0x43cdf9)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ const _0x54d2=['afterInit','_handleImportedData','importWord','collaboration_features','_trackChangesValueDuringImport','high','trackChanges','dataInsert','TrackChangesEditing','forEach','plugins','_trackChangesExecuted','_setSuggestionData','get','Users','track_changes','commands','execute','bind','listenTo','value','editor','enableCommand'];(function(_0x47b0cc,_0x54d278){const _0x488cd2=function(_0x4aa3b6){while(--_0x4aa3b6){_0x47b0cc['push'](_0x47b0cc['shift']());}};_0x488cd2(++_0x54d278);}(_0x54d2,0x191));const _0x488c=function(_0x47b0cc,_0x54d278){_0x47b0cc=_0x47b0cc-0x0;let _0x488cd2=_0x54d2[_0x47b0cc];return _0x488cd2;};import{Plugin as _0x4dd15a}from'ckeditor5/src/core';export default class Z extends _0x4dd15a{constructor(_0x7f4ff9){super(_0x7f4ff9),this['_trackChangesValueDuringImport']=!0x1,this[_0x488c('0x1')]=!0x1;}[_0x488c('0xd')](){const _0x12050a=this[_0x488c('0xb')],_0x21b71f=_0x12050a[_0x488c('0x6')]['get']('importWord'),_0x3c5830=_0x12050a[_0x488c('0x6')][_0x488c('0x3')]('trackChanges');_0x21b71f&&(_0x21b71f['on'](_0x488c('0x7'),(_0x145bce,[,_0xf1689b])=>{this[_0x488c('0x11')]=_0x3c5830[_0x488c('0xa')],_0xf1689b[_0x488c('0x10')][_0x488c('0x5')]=!this[_0x488c('0x11')];},{'priority':_0x488c('0x12')}),this[_0x488c('0x9')](_0x21b71f,_0x488c('0x14'),this[_0x488c('0xe')][_0x488c('0x8')](this)),this[_0x488c('0x9')](_0x21b71f,'dataInsert',()=>{this[_0x488c('0x1')]&&(_0x3c5830[_0x488c('0x7')](),this[_0x488c('0x1')]=!0x1);},{'priority':'lowest'}),_0x12050a[_0x488c('0x0')][_0x488c('0x3')]('TrackChangesEditing')[_0x488c('0xc')](_0x488c('0xf')));}[_0x488c('0xe')](_0x45f304,_0xb92760){const {suggestions:_0x2c8dd4}=_0xb92760,_0x4a720f=this[_0x488c('0xb')][_0x488c('0x6')][_0x488c('0x3')](_0x488c('0x13')),_0x3cb03f=_0x4a720f['value'];this['_trackChangesValueDuringImport']!==_0x3cb03f&&(_0x4a720f[_0x488c('0x7')](),this[_0x488c('0x1')]=!0x0),_0x2c8dd4&&_0x2c8dd4[_0x488c('0x16')](({id:_0x40713b,type:_0x5571bb,author:_0x5064c8,created_at:_0x4bb927})=>{const _0x55b2b0={'id':_0x40713b,'type':_0x5571bb,'authorId':this['editor'][_0x488c('0x0')]['get'](_0x488c('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5064c8,'createdAt':_0x4bb927?new Date(_0x4bb927):new Date(),'source':_0x488c('0xf')}}};this[_0x488c('0xb')][_0x488c('0x0')]['get'](_0x488c('0x15'))[_0x488c('0x2')](_0x55b2b0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}}
23
+ const _0x1447=['registerDescriptionCallback','TrackChangesEditing','commandName','get','markBlockFormat','model','getSelectedBlocks','outdent','IndentEditing','blockIndent','editor','format','document','enableCommand','schema','afterInit','IndentBlock','checkAttribute','indentBlock','getItems','from','plugins','*Outdent:*\x20%0','indent','has','selection','outdentBlock'];(function(_0x115b98,_0x144767){const _0x10d0f5=function(_0x733310){while(--_0x733310){_0x115b98['push'](_0x115b98['shift']());}};_0x10d0f5(++_0x144767);}(_0x1447,0xac));const _0x10d0=function(_0x115b98,_0x144767){_0x115b98=_0x115b98-0x0;let _0x10d0f5=_0x1447[_0x115b98];return _0x10d0f5;};import{Plugin as _0x675d06}from'ckeditor5/src/core';import{getTranslation as _0x1e0920}from'../utils/common-translations';export default class tt extends _0x675d06{[_0x10d0('0x5')](){const _0xca5328=this[_0x10d0('0x0')],_0x124d9b=_0xca5328[_0x10d0('0xb')][_0x10d0('0x14')](_0x10d0('0x12'));_0xca5328[_0x10d0('0xb')][_0x10d0('0xe')](_0x10d0('0x19'))&&(_0x124d9b[_0x10d0('0x3')](_0x10d0('0xd')),_0x124d9b[_0x10d0('0x3')](_0x10d0('0x18')));const _0x4d83f5=_0xca5328['locale'];if(_0xca5328[_0x10d0('0xb')][_0x10d0('0xe')](_0x10d0('0x6'))){for(const _0x1b7b57 of['indentBlock',_0x10d0('0x10')])_0x124d9b[_0x10d0('0x3')](_0x1b7b57,()=>{const _0x4ec881=Array[_0x10d0('0xa')](this[_0x10d0('0x0')]['model'][_0x10d0('0x2')][_0x10d0('0xf')][_0x10d0('0x17')]())['filter'](_0x242e66=>this[_0x10d0('0x0')][_0x10d0('0x16')][_0x10d0('0x4')][_0x10d0('0x7')](_0x242e66,_0x10d0('0x1a')));_0xca5328[_0x10d0('0x16')]['change'](()=>{for(const _0x411407 of _0x4ec881)_0x124d9b[_0x10d0('0x15')](_0x411407,{'commandName':_0x1b7b57,'commandParams':[{'value':''}],'formatGroupId':_0x10d0('0x8')});});});_0x124d9b['_descriptionFactory'][_0x10d0('0x11')](_0x380854=>{const {data:_0x2fc7e8}=_0x380854;if(!_0x2fc7e8)return;if(_0x10d0('0x8')!=_0x2fc7e8[_0x10d0('0x13')]&&'outdentBlock'!=_0x2fc7e8['commandName'])return;const _0x543acb=_0x380854[_0x10d0('0x9')]()[0x0],_0x3789a2=_0x124d9b['_descriptionFactory']['getItemLabel'](_0x543acb);return _0x10d0('0x8')==_0x2fc7e8[_0x10d0('0x13')]?{'type':_0x10d0('0x1'),'content':_0x1e0920(_0x4d83f5,'*Indent:*\x20%0',_0x3789a2)}:_0x10d0('0x10')==_0x2fc7e8[_0x10d0('0x13')]?{'type':_0x10d0('0x1'),'content':_0x1e0920(_0x4d83f5,_0x10d0('0xc'),_0x3789a2)}:void 0x0;});}}}
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * @module track-changes/integrations/inputcommand/inputcommand
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { Input } from 'ckeditor5/src/typing';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
7
8
  */
8
9
  export default class TrackChangesInputCommand extends Plugin {
9
- static get requires(): PluginDependencies;
10
+ static get requires(): readonly [typeof Input];
10
11
  init(): void;
11
12
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ var _0x42d7=['requires','get','init','enableCommand','TrackChangesEditing'];(function(_0x15c6a7,_0x42d7d5){var _0x295a20=function(_0x1504b3){while(--_0x1504b3){_0x15c6a7['push'](_0x15c6a7['shift']());}};_0x295a20(++_0x42d7d5);}(_0x42d7,0xbf));var _0x295a=function(_0x15c6a7,_0x42d7d5){_0x15c6a7=_0x15c6a7-0x0;var _0x295a20=_0x42d7[_0x15c6a7];return _0x295a20;};import{Plugin as _0x577a8d}from'ckeditor5/src/core';import{Input as _0x17b20d}from'ckeditor5/src/typing';export default class it extends _0x577a8d{static get[_0x295a('0x4')](){return[_0x17b20d];}[_0x295a('0x1')](){this['editor']['plugins'][_0x295a('0x0')](_0x295a('0x3'))[_0x295a('0x2')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}});}}
23
+ const _0x4b03=['*Set\x20link:*\x20%0','getAttribute','unlink','format','document','linkHref','markInlineFormat','link','_descriptionFactory','editor','model','getRanges','change','isCollapsed','locale','from','get','commandName','enableCommand','selection','plugins','*Remove\x20link*','TrackChangesEditing','registerDescriptionCallback','getFirstPosition'];(function(_0x255a00,_0x4b039a){const _0x4e5f15=function(_0x372ef9){while(--_0x372ef9){_0x255a00['push'](_0x255a00['shift']());}};_0x4e5f15(++_0x4b039a);}(_0x4b03,0x101));const _0x4e5f=function(_0x255a00,_0x4b039a){_0x255a00=_0x255a00-0x0;let _0x4e5f15=_0x4b03[_0x255a00];return _0x4e5f15;};import{Plugin as _0x324ed4}from'ckeditor5/src/core';import{findAttributeRange as _0x296b8d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3bc63f}from'./utils';import{getTranslation as _0x210296}from'../utils/common-translations';export default class et extends _0x324ed4{['afterInit'](){const _0x522f54=this[_0x4e5f('0x2')];if(!_0x522f54[_0x4e5f('0xd')]['has']('LinkEditing'))return;const _0x31bee8=_0x522f54[_0x4e5f('0xd')][_0x4e5f('0x9')](_0x4e5f('0xf'));_0x31bee8[_0x4e5f('0xb')](_0x4e5f('0x0'),(_0x28ce59,_0x43c172)=>{const _0xdd4398=_0x522f54[_0x4e5f('0x3')][_0x4e5f('0x16')][_0x4e5f('0xc')];let _0xd542c8=[];if(_0xdd4398[_0x4e5f('0x6')]){if(!_0xdd4398['hasAttribute']('linkHref'))return void _0x28ce59(_0x43c172);{const _0x3c1a7c=_0x296b8d(_0xdd4398[_0x4e5f('0x11')](),_0x4e5f('0x17'),_0xdd4398[_0x4e5f('0x13')]('linkHref'),_0x522f54[_0x4e5f('0x3')]);_0xd542c8=[_0x3c1a7c];}}else _0xd542c8=Array[_0x4e5f('0x8')](_0xdd4398[_0x4e5f('0x4')]());_0x522f54[_0x4e5f('0x3')][_0x4e5f('0x5')](()=>{for(const _0x4f5a30 of _0xd542c8)_0x31bee8['markInlineFormat'](_0x4f5a30,{'commandName':_0x4e5f('0x0'),'commandParams':[_0x43c172]});});}),_0x31bee8[_0x4e5f('0xb')](_0x4e5f('0x14'),()=>{const _0x4aafc=this[_0x4e5f('0x2')]['model'],_0x3f21c4=_0x4aafc[_0x4e5f('0x16')]['selection'];_0x4aafc[_0x4e5f('0x5')](()=>{let _0x22c036=[];if(_0x3f21c4['isCollapsed'])_0x22c036=[_0x296b8d(_0x3f21c4['getFirstPosition'](),_0x4e5f('0x17'),_0x3f21c4[_0x4e5f('0x13')](_0x4e5f('0x17')),_0x522f54[_0x4e5f('0x3')])];else _0x22c036=_0x3bc63f(_0x4e5f('0x17'),_0x3f21c4['getFirstRange'](),_0x522f54['model']);for(const _0x46c7b6 of _0x22c036)_0x31bee8[_0x4e5f('0x18')](_0x46c7b6,{'commandName':_0x4e5f('0x14'),'commandParams':[]});});}),_0x31bee8[_0x4e5f('0x1')][_0x4e5f('0x10')](_0xc78adf=>{const {data:_0x43b0f1}=_0xc78adf,_0x2c30b8=_0x522f54[_0x4e5f('0x7')];if(_0x43b0f1){if(_0x4e5f('0x0')==_0x43b0f1['commandName']){const _0x151686=_0x43b0f1['commandParams'][0x0];return{'type':'format','content':_0x210296(_0x2c30b8,_0x4e5f('0x12'),'\x22'+_0x151686+'\x22')};}return _0x4e5f('0x14')==_0x43b0f1[_0x4e5f('0xa')]?{'type':_0x4e5f('0x15'),'content':_0x210296(_0x2c30b8,_0x4e5f('0xe'))}:void 0x0;}});}}