@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230825.0 → 0.0.0-nightly-20230827.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2de4=['registerDescriptionCallback','locale','commandParams','trim','isCollapsed','document','fontSize','normalizeSizeOptions','fontBackgroundColor.colors','TrackChangesEditing','*Reset\x20font\x20background\x20color*','toLowerCase','*Set\x20font\x20family:*\x20%0','getRanges','fontColor','format','_enableCommand','FontBackgroundColorEditing','title','editor','enableCommand','get','*Reset\x20font\x20color*','fontBackgroundColor','fontSize.options','find','FontSize','*Set\x20font\x20color:*\x20%0','_descriptionFactory','*Reset\x20font\x20family*','*Reset\x20font\x20size*','fontColor.colors','value','has','model','plugins','fontFamily','label','config','commandName','markInlineFormat'];(function(_0x1063c8,_0x2de43f){const _0x273e93=function(_0x546a1a){while(--_0x546a1a){_0x1063c8['push'](_0x1063c8['shift']());}};_0x273e93(++_0x2de43f);}(_0x2de4,0xa8));const _0x273e=function(_0x1063c8,_0x2de43f){_0x1063c8=_0x1063c8-0x0;let _0x273e93=_0x2de4[_0x1063c8];return _0x273e93;};import{Plugin as _0x1b4c3f}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4ed0b4}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x33c793}from'./utils';import{getTranslation as _0x473632}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x273e('0x2')},{'pluginName':'FontFamilyEditing','commandName':_0x273e('0x20')},{'pluginName':'FontColorEditing','commandName':_0x273e('0xa')},{'pluginName':_0x273e('0xd'),'commandName':_0x273e('0x13')}];export default class H extends _0x1b4c3f{['afterInit'](){const _0x50995f=this[_0x273e('0xf')][_0x273e('0x26')];for(const {pluginName:_0x9acebb,commandName:_0x16d0de}of Zt)this[_0x273e('0xf')][_0x273e('0x1f')][_0x273e('0x1d')](_0x9acebb)&&this['_enableCommand'](_0x16d0de);this[_0x273e('0xf')][_0x273e('0x1f')]['get'](_0x273e('0x5'))[_0x273e('0x18')][_0x273e('0x25')](_0x2c64f5=>{const _0xb9ddda=_0x50995f['t'],{data:_0x5d8c12}=_0x2c64f5;if(null!=_0x5d8c12){if(_0x273e('0x2')==_0x5d8c12[_0x273e('0x23')]){const _0x15674f=_0x5d8c12[_0x273e('0x27')][0x0][_0x273e('0x1c')];if(_0x15674f){const _0x541e1c=_0xb9ddda(this['editor']['plugins'][_0x273e('0x11')](_0x273e('0x16'))[_0x273e('0x3')](this['editor']['config'][_0x273e('0x11')](_0x273e('0x14')))[_0x273e('0x15')](_0x377bf7=>_0x377bf7[_0x273e('0x1e')]==_0x15674f)[_0x273e('0xe')])[_0x273e('0x7')]();return{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,'*Set\x20font\x20size:*\x20%0',_0x541e1c)};}return{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,_0x273e('0x1a'))};}if(_0x273e('0x20')==_0x5d8c12[_0x273e('0x23')]){const _0x71016f=_0x5d8c12[_0x273e('0x27')][0x0][_0x273e('0x1c')];return _0x71016f?{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,_0x273e('0x8'),_0x71016f)}:{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,_0x273e('0x19'))};}if('fontColor'==_0x5d8c12[_0x273e('0x23')]){const _0x2fc149=_0x5d8c12[_0x273e('0x27')][0x0][_0x273e('0x1c')];if(_0x2fc149){const _0x5e7bb2=_0x4ed0b4(this['editor'][_0x273e('0x22')]['get'](_0x273e('0x1b')))['find'](_0x539cbe=>_0x539cbe[_0x273e('0x1e')]==_0x2fc149);let _0x42a147=_0x2fc149,_0xc42f6='';return _0x5e7bb2&&(_0x42a147=_0x5e7bb2[_0x273e('0x21')],_0xc42f6=_0xb9ddda(_0x42a147)[_0x273e('0x7')]()),{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,_0x273e('0x17'),_0xc42f6)[_0x273e('0x28')](),'color':{'value':_0x2fc149,'title':_0xc42f6||_0x42a147}};}return{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,_0x273e('0x12'))};}if(_0x273e('0x13')==_0x5d8c12[_0x273e('0x23')]){const _0x80b4ca=_0x5d8c12[_0x273e('0x27')][0x0][_0x273e('0x1c')];if(_0x80b4ca){const _0x7d20e6=_0x4ed0b4(this[_0x273e('0xf')][_0x273e('0x22')]['get'](_0x273e('0x4')))[_0x273e('0x15')](_0xf51e06=>_0xf51e06[_0x273e('0x1e')]==_0x80b4ca);let _0x22b010=_0x80b4ca,_0x3a3056='';return _0x7d20e6&&(_0x22b010=_0x7d20e6[_0x273e('0x21')],_0x3a3056=_0xb9ddda(_0x22b010)[_0x273e('0x7')]()),{'type':_0x273e('0xb'),'content':_0x473632(_0x50995f,'*Set\x20font\x20background\x20color:*\x20%0',_0x3a3056)[_0x273e('0x28')](),'color':{'value':_0x80b4ca,'title':_0x3a3056||_0x22b010}};}return{'type':'format','content':_0x473632(_0x50995f,_0x273e('0x6'))};}}});}[_0x273e('0xc')](_0x2afb44){const _0x64337e=this['editor'];_0x64337e['plugins'][_0x273e('0x11')](_0x273e('0x5'))[_0x273e('0x10')](_0x2afb44,(_0x5f2cce,_0x378277={})=>{const _0x2b9786=_0x64337e[_0x273e('0x1e')][_0x273e('0x1')]['selection'],_0x12a45b=_0x378277['value'];_0x2b9786[_0x273e('0x0')]?_0x5f2cce(_0x378277):_0x64337e[_0x273e('0x1e')]['change'](()=>{const _0x683029=Array['from'](_0x2b9786[_0x273e('0x9')]());for(const _0x509a9c of _0x683029){const _0x40fbf0=_0x12a45b?[_0x509a9c]:_0x33c793(_0x2afb44,_0x509a9c,_0x64337e[_0x273e('0x1e')]);for(const _0x28007f of _0x40fbf0)_0x64337e['plugins']['get']('TrackChangesEditing')[_0x273e('0x24')](_0x28007f,{'commandName':_0x2afb44,'commandParams':[{'value':_0x12a45b}]});}});});}}
23
+ const _0x4306=['commandName','fontSize','TrackChangesEditing','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor','value','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20size*','title','_enableCommand','normalizeSizeOptions','*Set\x20font\x20family:*\x20%0','toLowerCase','model','has','find','plugins','fontColor','format','*Reset\x20font\x20family*','FontSize','registerDescriptionCallback','editor','*Set\x20font\x20color:*\x20%0','fontBackgroundColor.colors','*Reset\x20font\x20color*','enableCommand','markInlineFormat','config','fontColor.colors','selection','FontSizeEditing','isCollapsed','afterInit','FontColorEditing','get','from','_descriptionFactory','commandParams','label','trim','FontFamilyEditing'];(function(_0x2cf749,_0x43065f){const _0x6c186d=function(_0x37c998){while(--_0x37c998){_0x2cf749['push'](_0x2cf749['shift']());}};_0x6c186d(++_0x43065f);}(_0x4306,0x121));const _0x6c18=function(_0x2cf749,_0x43065f){_0x2cf749=_0x2cf749-0x0;let _0x6c186d=_0x4306[_0x2cf749];return _0x6c186d;};import{Plugin as _0x34d41a}from'ckeditor5/src/core';import{normalizeColorOptions as _0xc3b029}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1d7b1b}from'./utils';import{getTranslation as _0x5f1c38}from'../utils/common-translations';const Zt=[{'pluginName':_0x6c18('0x1'),'commandName':_0x6c18('0xd')},{'pluginName':_0x6c18('0xb'),'commandName':_0x6c18('0xf')},{'pluginName':_0x6c18('0x4'),'commandName':_0x6c18('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x6c18('0x11')}];export default class H extends _0x34d41a{[_0x6c18('0x3')](){const _0x8d23c1=this[_0x6c18('0x23')]['locale'];for(const {pluginName:_0x2d166b,commandName:_0x5759d0}of Zt)this[_0x6c18('0x23')][_0x6c18('0x1d')][_0x6c18('0x1b')](_0x2d166b)&&this[_0x6c18('0x16')](_0x5759d0);this['editor']['plugins'][_0x6c18('0x5')]('TrackChangesEditing')[_0x6c18('0x7')][_0x6c18('0x22')](_0x83f149=>{const _0x5b4e6b=_0x8d23c1['t'],{data:_0x4c6d1e}=_0x83f149;if(null!=_0x4c6d1e){if(_0x6c18('0xd')==_0x4c6d1e[_0x6c18('0xc')]){const _0x8821c3=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x8821c3){const _0x539b81=_0x5b4e6b(this['editor'][_0x6c18('0x1d')]['get'](_0x6c18('0x21'))[_0x6c18('0x17')](this['editor'][_0x6c18('0x29')][_0x6c18('0x5')]('fontSize.options'))[_0x6c18('0x1c')](_0x4ee0e0=>_0x4ee0e0[_0x6c18('0x1a')]==_0x8821c3)[_0x6c18('0x15')])[_0x6c18('0x19')]();return{'type':'format','content':_0x5f1c38(_0x8d23c1,'*Set\x20font\x20size:*\x20%0',_0x539b81)};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x14'))};}if(_0x6c18('0xf')==_0x4c6d1e[_0x6c18('0xc')]){const _0x2e2549=_0x4c6d1e['commandParams'][0x0]['value'];return _0x2e2549?{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x18'),_0x2e2549)}:{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x20'))};}if(_0x6c18('0x1e')==_0x4c6d1e['commandName']){const _0x30aea0=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x30aea0){const _0x468b5d=_0xc3b029(this[_0x6c18('0x23')][_0x6c18('0x29')][_0x6c18('0x5')](_0x6c18('0x2a')))[_0x6c18('0x1c')](_0x418bf6=>_0x418bf6['model']==_0x30aea0);let _0x563ac0=_0x30aea0,_0x4b5963='';return _0x468b5d&&(_0x563ac0=_0x468b5d['label'],_0x4b5963=_0x5b4e6b(_0x563ac0)['toLowerCase']()),{'type':'format','content':_0x5f1c38(_0x8d23c1,_0x6c18('0x24'),_0x4b5963)[_0x6c18('0xa')](),'color':{'value':_0x30aea0,'title':_0x4b5963||_0x563ac0}};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x26'))};}if(_0x6c18('0x11')==_0x4c6d1e[_0x6c18('0xc')]){const _0x2a5af3=_0x4c6d1e[_0x6c18('0x8')][0x0][_0x6c18('0x12')];if(_0x2a5af3){const _0x1907b0=_0xc3b029(this[_0x6c18('0x23')][_0x6c18('0x29')][_0x6c18('0x5')](_0x6c18('0x25')))[_0x6c18('0x1c')](_0x15a107=>_0x15a107[_0x6c18('0x1a')]==_0x2a5af3);let _0x20efbf=_0x2a5af3,_0x1badb6='';return _0x1907b0&&(_0x20efbf=_0x1907b0[_0x6c18('0x9')],_0x1badb6=_0x5b4e6b(_0x20efbf)['toLowerCase']()),{'type':'format','content':_0x5f1c38(_0x8d23c1,_0x6c18('0x10'),_0x1badb6)[_0x6c18('0xa')](),'color':{'value':_0x2a5af3,'title':_0x1badb6||_0x20efbf}};}return{'type':_0x6c18('0x1f'),'content':_0x5f1c38(_0x8d23c1,_0x6c18('0x13'))};}}});}[_0x6c18('0x16')](_0x268c1a){const _0x4fe57b=this[_0x6c18('0x23')];_0x4fe57b[_0x6c18('0x1d')][_0x6c18('0x5')](_0x6c18('0xe'))[_0x6c18('0x27')](_0x268c1a,(_0xef2635,_0x1b938f={})=>{const _0xfa45f5=_0x4fe57b[_0x6c18('0x1a')]['document'][_0x6c18('0x0')],_0x836cf=_0x1b938f[_0x6c18('0x12')];_0xfa45f5[_0x6c18('0x2')]?_0xef2635(_0x1b938f):_0x4fe57b[_0x6c18('0x1a')]['change'](()=>{const _0x10aacb=Array[_0x6c18('0x6')](_0xfa45f5['getRanges']());for(const _0x1e9abb of _0x10aacb){const _0x3afefc=_0x836cf?[_0x1e9abb]:_0x1d7b1b(_0x268c1a,_0x1e9abb,_0x4fe57b[_0x6c18('0x1a')]);for(const _0x52cfc9 of _0x3afefc)_0x4fe57b[_0x6c18('0x1d')][_0x6c18('0x5')](_0x6c18('0xe'))[_0x6c18('0x28')](_0x52cfc9,{'commandName':_0x268c1a,'commandParams':[{'value':_0x836cf}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f07=['FontSize','config','format','commandParams','markInlineFormat','join','getFirstPosition','fontSize','getRanges','find','toUpperCase','fontBackgroundColor','toLowerCase','commands','modifySelection','isFormatting','*Set\x20format\x20to:*\x20%0','slice','entries','boolean','fontSize.options','change','getItems','pasteFormat','length','keys','registerDescriptionCallback','getSelectedBlocks','push','fontColor.colors','*Remove\x20all\x20formatting*','word','get','TrackChangesEditing','afterInit','selection','title','model','charAt','getLastPosition','editor','_descriptionFactory','schema','createSelection','document','locale','label','backward','enableCommand','plugins','getAttributes','copyFormat','split'];(function(_0x32f0fa,_0x4f070f){const _0x2760fc=function(_0x24cb03){while(--_0x24cb03){_0x32f0fa['push'](_0x32f0fa['shift']());}};_0x2760fc(++_0x4f070f);}(_0x4f07,0x13a));const _0x2760=function(_0x32f0fa,_0x4f070f){_0x32f0fa=_0x32f0fa-0x0;let _0x2760fc=_0x4f07[_0x32f0fa];return _0x2760fc;};import{Plugin as _0x48d575}from'ckeditor5/src/core';import{normalizeColorOptions as _0x7cfac4}from'ckeditor5/src/ui';import{first as _0x3ea604}from'ckeditor5/src/utils';import{getTranslation as _0x24bdea}from'../utils/common-translations';export default class W extends _0x48d575{[_0x2760('0x26')](){const _0x194c28=this[_0x2760('0x2c')],_0x27fd6d=_0x194c28[_0x2760('0x29')],_0x4cfdc1=_0x27fd6d[_0x2760('0x30')][_0x2760('0x27')],_0x107640=_0x194c28[_0x2760('0x0')][_0x2760('0x24')](_0x2760('0x25')),_0x24de65=_0x194c28[_0x2760('0x31')],_0x14d2d2=_0x194c28[_0x2760('0x11')][_0x2760('0x24')](_0x2760('0x2')),_0x291dd0=_0x194c28[_0x2760('0x11')][_0x2760('0x24')](_0x2760('0x1b'));_0x14d2d2&&_0x291dd0&&(_0x107640['enableCommand']('pasteFormat',(_0x535cca,_0x4c9eaa={})=>{const _0xfe60c0=_0x4c9eaa;_0x27fd6d[_0x2760('0x19')](()=>{const _0x32e755=Array['from'](_0x4cfdc1[_0x2760('0xc')]()),_0x24458b=_0x4cfdc1['isCollapsed']?[ro(_0x27fd6d,_0x4cfdc1)]:_0x32e755,_0xc4de26=!!_0x3ea604(function*(_0x33428a,_0x14a21c){const _0x1513f4=_0x4b324b=>!!_0x3ea604(function*(_0x9c6677,_0x511ec6){for(const [_0x449ead]of _0x9c6677[_0x2760('0x1')]()){const _0x57a284=_0x511ec6['getAttributeProperties'](_0x449ead);_0x57a284&&_0x57a284[_0x2760('0x13')]&&(yield _0x449ead);}}(_0x4b324b,_0x14a21c));for(const _0x280a55 of _0x33428a[_0x2760('0xc')]())for(const _0x5a695c of _0x280a55[_0x2760('0x1a')]())!_0x14a21c['isBlock'](_0x5a695c)&&_0x1513f4(_0x5a695c)&&(yield _0x5a695c);for(const _0x54919c of _0x33428a[_0x2760('0x1f')]())_0x1513f4(_0x54919c)&&(yield _0x54919c);_0x1513f4(_0x33428a)&&(yield _0x33428a);}(_0x4cfdc1,_0x27fd6d[_0x2760('0x2e')]));if(_0xc4de26||0x0!==Object[_0x2760('0x1d')](_0xfe60c0)[_0x2760('0x1c')])for(const _0x33ed59 of _0x24458b)_0x107640[_0x2760('0x8')](_0x33ed59,{'commandName':_0x2760('0x1b'),'commandParams':[_0xfe60c0]});});}),_0x107640[_0x2760('0x2d')][_0x2760('0x1e')](_0x1a28c5=>{const {data:_0x1e5caf}=_0x1a28c5;if(_0x1e5caf&&_0x2760('0x1b')===_0x1e5caf['commandName']){const _0x297975=[],_0x2dadbf=_0x1e5caf[_0x2760('0x7')][0x0];for(const [_0x477370,_0x596fb7]of Object[_0x2760('0x16')](_0x2dadbf))_0x297975[_0x2760('0x20')](no(_0x194c28,_0x477370,_0x596fb7));return _0x297975[_0x2760('0x1c')]?{'type':_0x2760('0x6'),'content':_0x24bdea(_0x24de65,_0x2760('0x14'),_0x297975[_0x2760('0x9')](',\x20'))}:{'type':_0x2760('0x6'),'content':_0x24bdea(_0x24de65,_0x2760('0x22'))};}}),_0x194c28[_0x2760('0x0')][_0x2760('0x24')](_0x2760('0x25'))[_0x2760('0x34')]('copyFormat'));}}function ro(_0x593871,_0x2a1a52){const _0x35045b=_0x593871[_0x2760('0x2f')](_0x2a1a52);_0x593871[_0x2760('0x12')](_0x35045b,{'unit':'word','direction':_0x2760('0x33')});const _0x50c04a=_0x35045b[_0x2760('0xa')]();_0x593871[_0x2760('0x12')](_0x35045b,{'unit':_0x2760('0x23'),'direction':'forward'});const _0x5d69f8=_0x35045b[_0x2760('0x2b')]();return _0x593871['createRange'](_0x50c04a,_0x5d69f8);}function no(_0x4432c4,_0x337f66,_0x5720e0){const _0x400c02=_0x4432c4['locale']['t'],_0xa1cbb8=_0x337f66[_0x2760('0x3')](/(?=[A-Z])/)[_0x2760('0x9')]('\x20'),_0x1c91d3=_0x400c02(_0xa1cbb8[_0x2760('0x2a')](0x0)[_0x2760('0xe')]()+_0xa1cbb8[_0x2760('0x15')](0x1))[_0x2760('0x10')]();if(_0x2760('0x17')==typeof _0x5720e0)return _0x1c91d3;if('fontColor'===_0x337f66||_0x2760('0xf')===_0x337f66){const _0x1d75f2=_0x7cfac4(_0x4432c4[_0x2760('0x5')][_0x2760('0x24')](_0x2760('0x21')))[_0x2760('0xd')](_0x772d33=>_0x772d33['model']==_0x5720e0);return _0x1c91d3+'\x20('+(_0x1d75f2?_0x400c02(_0x1d75f2[_0x2760('0x32')])['toLowerCase']():_0x5720e0)+')';}if(_0x2760('0xb')===_0x337f66&&isNaN(parseFloat(_0x5720e0))){const _0x557f6c=_0x4432c4[_0x2760('0x0')][_0x2760('0x24')](_0x2760('0x4'))['normalizeSizeOptions'](_0x4432c4['config'][_0x2760('0x24')](_0x2760('0x18')))['find'](_0x50a46d=>_0x50a46d[_0x2760('0x29')]==_0x5720e0);return _0x1c91d3+'\x20('+(_0x557f6c?_0x400c02(_0x557f6c[_0x2760('0x28')])[_0x2760('0x10')]():_0x5720e0)+')';}return _0x1c91d3+'\x20('+_0x5720e0+')';}
23
+ const _0x47ea=['isFormatting','push','model','format','title','config','get','editor','getAttributes','split','getAttributeProperties','commands','entries','modifySelection','getRanges','getLastPosition','toLowerCase','normalizeSizeOptions','boolean','getFirstPosition','word','getItems','*Remove\x20all\x20formatting*','pasteFormat','find','FontSize','copyFormat','fontColor','*Set\x20format\x20to:*\x20%0','markInlineFormat','fontBackgroundColor','join','schema','getSelectedBlocks','backward','plugins','length','_descriptionFactory','charAt','fontColor.colors','from','isBlock','enableCommand','locale','createRange','TrackChangesEditing','change','selection','slice','commandName','label','afterInit','fontSize.options','commandParams'];(function(_0x51f45f,_0x47ea5b){const _0x5e269d=function(_0xdc9d7f){while(--_0xdc9d7f){_0x51f45f['push'](_0x51f45f['shift']());}};_0x5e269d(++_0x47ea5b);}(_0x47ea,0x1bc));const _0x5e26=function(_0x51f45f,_0x47ea5b){_0x51f45f=_0x51f45f-0x0;let _0x5e269d=_0x47ea[_0x51f45f];return _0x5e269d;};import{Plugin as _0x4978e8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1f1f7c}from'ckeditor5/src/ui';import{first as _0x276ff5}from'ckeditor5/src/utils';import{getTranslation as _0x101df7}from'../utils/common-translations';export default class W extends _0x4978e8{[_0x5e26('0x27')](){const _0x1bce6d=this[_0x5e26('0x31')],_0x4ef57f=_0x1bce6d[_0x5e26('0x2c')],_0x7d7688=_0x4ef57f['document'][_0x5e26('0x23')],_0x56e71c=_0x1bce6d[_0x5e26('0x17')][_0x5e26('0x30')](_0x5e26('0x21')),_0x180ef6=_0x1bce6d[_0x5e26('0x1f')],_0x5b85ef=_0x1bce6d[_0x5e26('0x35')][_0x5e26('0x30')](_0x5e26('0xe')),_0x163b2b=_0x1bce6d[_0x5e26('0x35')][_0x5e26('0x30')]('pasteFormat');_0x5b85ef&&_0x163b2b&&(_0x56e71c['enableCommand'](_0x5e26('0xb'),(_0x3976b8,_0xd8daa3={})=>{const _0x28622a=_0xd8daa3;_0x4ef57f[_0x5e26('0x22')](()=>{const _0x478c57=Array[_0x5e26('0x1c')](_0x7d7688[_0x5e26('0x2')]()),_0x4a061=_0x7d7688['isCollapsed']?[ro(_0x4ef57f,_0x7d7688)]:_0x478c57,_0x5625cf=!!_0x276ff5(function*(_0x5d6897,_0xea82cb){const _0x3701fe=_0x5a281c=>!!_0x276ff5(function*(_0x4ed8d8,_0x5ab120){for(const [_0x1f7b72]of _0x4ed8d8[_0x5e26('0x32')]()){const _0x55cde2=_0x5ab120[_0x5e26('0x34')](_0x1f7b72);_0x55cde2&&_0x55cde2[_0x5e26('0x2a')]&&(yield _0x1f7b72);}}(_0x5a281c,_0xea82cb));for(const _0x11108d of _0x5d6897[_0x5e26('0x2')]())for(const _0x115c10 of _0x11108d[_0x5e26('0x9')]())!_0xea82cb[_0x5e26('0x1d')](_0x115c10)&&_0x3701fe(_0x115c10)&&(yield _0x115c10);for(const _0x57ff76 of _0x5d6897[_0x5e26('0x15')]())_0x3701fe(_0x57ff76)&&(yield _0x57ff76);_0x3701fe(_0x5d6897)&&(yield _0x5d6897);}(_0x7d7688,_0x4ef57f[_0x5e26('0x14')]));if(_0x5625cf||0x0!==Object['keys'](_0x28622a)[_0x5e26('0x18')])for(const _0x212554 of _0x4a061)_0x56e71c[_0x5e26('0x11')](_0x212554,{'commandName':_0x5e26('0xb'),'commandParams':[_0x28622a]});});}),_0x56e71c[_0x5e26('0x19')]['registerDescriptionCallback'](_0x3efd38=>{const {data:_0x46958e}=_0x3efd38;if(_0x46958e&&'pasteFormat'===_0x46958e[_0x5e26('0x25')]){const _0x5b53ae=[],_0x28f933=_0x46958e[_0x5e26('0x29')][0x0];for(const [_0x48e779,_0x53dfaa]of Object[_0x5e26('0x0')](_0x28f933))_0x5b53ae[_0x5e26('0x2b')](no(_0x1bce6d,_0x48e779,_0x53dfaa));return _0x5b53ae['length']?{'type':_0x5e26('0x2d'),'content':_0x101df7(_0x180ef6,_0x5e26('0x10'),_0x5b53ae[_0x5e26('0x13')](',\x20'))}:{'type':_0x5e26('0x2d'),'content':_0x101df7(_0x180ef6,_0x5e26('0xa'))};}}),_0x1bce6d[_0x5e26('0x17')][_0x5e26('0x30')](_0x5e26('0x21'))[_0x5e26('0x1e')](_0x5e26('0xe')));}}function ro(_0x33a784,_0x141107){const _0x48a06=_0x33a784['createSelection'](_0x141107);_0x33a784[_0x5e26('0x1')](_0x48a06,{'unit':_0x5e26('0x8'),'direction':_0x5e26('0x16')});const _0x291ea3=_0x48a06[_0x5e26('0x7')]();_0x33a784[_0x5e26('0x1')](_0x48a06,{'unit':_0x5e26('0x8'),'direction':'forward'});const _0x4b9e76=_0x48a06[_0x5e26('0x3')]();return _0x33a784[_0x5e26('0x20')](_0x291ea3,_0x4b9e76);}function no(_0x144058,_0x1a3b71,_0x12e2d6){const _0x58fae4=_0x144058['locale']['t'],_0x8705f6=_0x1a3b71[_0x5e26('0x33')](/(?=[A-Z])/)[_0x5e26('0x13')]('\x20'),_0x1b1d7f=_0x58fae4(_0x8705f6[_0x5e26('0x1a')](0x0)['toUpperCase']()+_0x8705f6[_0x5e26('0x24')](0x1))[_0x5e26('0x4')]();if(_0x5e26('0x6')==typeof _0x12e2d6)return _0x1b1d7f;if(_0x5e26('0xf')===_0x1a3b71||_0x5e26('0x12')===_0x1a3b71){const _0x287dcf=_0x1f1f7c(_0x144058[_0x5e26('0x2f')][_0x5e26('0x30')](_0x5e26('0x1b')))[_0x5e26('0xc')](_0x489004=>_0x489004[_0x5e26('0x2c')]==_0x12e2d6);return _0x1b1d7f+'\x20('+(_0x287dcf?_0x58fae4(_0x287dcf[_0x5e26('0x26')])[_0x5e26('0x4')]():_0x12e2d6)+')';}if('fontSize'===_0x1a3b71&&isNaN(parseFloat(_0x12e2d6))){const _0x5d4fd8=_0x144058[_0x5e26('0x17')]['get'](_0x5e26('0xd'))[_0x5e26('0x5')](_0x144058[_0x5e26('0x2f')][_0x5e26('0x30')](_0x5e26('0x28')))['find'](_0x4b43c6=>_0x4b43c6[_0x5e26('0x2c')]==_0x12e2d6);return _0x1b1d7f+'\x20('+(_0x5d4fd8?_0x58fae4(_0x5d4fd8[_0x5e26('0x2e')])[_0x5e26('0x4')]():_0x12e2d6)+')';}return _0x1b1d7f+'\x20('+_0x12e2d6+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8d79=['model','HeadingEditing','get','has','find','schema','plugins','match','TrackChangesEditing','heading.options','change','afterInit','isObject','registerElementLabel','markBlockFormat','enableCommand','locale','filter','paragraph','document','format','_descriptionFactory','ELEMENT_HEADING_CUSTOM','checkChild','*Change\x20to:*\x20%0','name','commandName','blockName','config','ELEMENT_HEADING','registerDescriptionCallback','value','formatBlock','parent','selection','commandParams','heading','editor','getSelectedBlocks'];(function(_0x5ea55d,_0x8d7977){const _0x4080ff=function(_0x864cca){while(--_0x864cca){_0x5ea55d['push'](_0x5ea55d['shift']());}};_0x4080ff(++_0x8d7977);}(_0x8d79,0x1f1));const _0x4080=function(_0x5ea55d,_0x8d7977){_0x5ea55d=_0x5ea55d-0x0;let _0x4080ff=_0x8d79[_0x5ea55d];return _0x4080ff;};import{Plugin as _0x1639d8}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x480e7d}from'./utils';import{getTranslation as _0x2081fd}from'../utils/common-translations';export default class J extends _0x1639d8{[_0x4080('0x15')](){const _0x174853=this[_0x4080('0x8')],_0x5044bb=_0x174853[_0x4080('0x1a')],_0x349442=_0x174853[_0x4080('0x26')]['get'](_0x4080('0x13'));if(!_0x174853[_0x4080('0x10')][_0x4080('0xd')](_0x4080('0xb')))return;const _0x191f6c=_0x174853['plugins'][_0x4080('0xc')](_0x4080('0x12'));_0x191f6c[_0x4080('0x19')](_0x4080('0x7'),(_0x10b576,_0x4dffa0)=>{const _0x44bde0=_0x4dffa0[_0x4080('0x2')],_0x557668=Array['from'](this[_0x4080('0x8')][_0x4080('0xa')][_0x4080('0x1d')][_0x4080('0x5')][_0x4080('0x9')]())[_0x4080('0x1b')](_0x5c0483=>function(_0x51ea59,_0x6e68d8,_0x21625a){return _0x21625a[_0x4080('0x21')](_0x51ea59[_0x4080('0x4')],_0x6e68d8)&&!_0x21625a[_0x4080('0x16')](_0x51ea59)&&_0x51ea59[_0x4080('0x23')]!=_0x6e68d8;}(_0x5c0483,_0x44bde0,this[_0x4080('0x8')]['model'][_0x4080('0xf')]));_0x174853['model'][_0x4080('0x14')](()=>{for(const _0x31ce3a of _0x557668)_0x191f6c[_0x4080('0x18')](_0x31ce3a,{'commandName':_0x4080('0x7'),'commandParams':[_0x4dffa0],'formatGroupId':_0x4080('0x25')},_0x480e7d(_0x31ce3a));});});for(const _0x43d340 of _0x349442)_0x4080('0x1c')!=_0x43d340['model']&&_0x191f6c['_descriptionFactory'][_0x4080('0x17')](_0x43d340[_0x4080('0xa')],_0x5cd12a=>{const _0x480202=nn(_0x43d340[_0x4080('0xa')]);return null!==_0x480202?_0xf58f87(_0x5cd12a,_0x480202):_0x135b4d(_0x5cd12a,_0x43d340['title']);});function _0xf58f87(_0x350914,_0x21815c){return _0x2081fd(_0x5044bb,_0x4080('0x0'),[_0x350914,_0x21815c]);}function _0x135b4d(_0x576b99,_0x1dffbd){return _0x2081fd(_0x5044bb,_0x4080('0x20'),[_0x576b99,_0x1dffbd]);}_0x191f6c[_0x4080('0x1f')][_0x4080('0x1')](_0x52feb8=>{const {type:_0x4b90ac,data:_0x196aeb}=_0x52feb8;if(_0x4080('0x3')==_0x4b90ac&&_0x196aeb&&_0x4080('0x7')==_0x196aeb[_0x4080('0x24')]){const _0x33e18b=_0x196aeb[_0x4080('0x6')][0x0][_0x4080('0x2')],_0x5e9cda=nn(_0x33e18b);if(null!==_0x5e9cda)return{'type':_0x4080('0x1e'),'content':_0x2081fd(_0x5044bb,_0x4080('0x22'),_0xf58f87(0x1,_0x5e9cda))};const _0x55413d=_0x349442[_0x4080('0xe')](_0x482f25=>_0x482f25[_0x4080('0xa')]===_0x33e18b)['title'];return{'type':_0x4080('0x1e'),'content':_0x2081fd(_0x5044bb,_0x4080('0x22'),_0x135b4d(0x1,_0x55413d))};}});}}function nn(_0x17ef76){const _0x4b11ea=_0x17ef76[_0x4080('0x11')](/^heading(\d+)$/);return _0x4b11ea?_0x4b11ea[0x1]:null;}
23
+ const _0x11df=['markBlockFormat','from','title','format','locale','document','schema','*Change\x20to:*\x20%0','editor','HeadingEditing','commandParams','has','ELEMENT_HEADING_CUSTOM','find','enableCommand','model','formatBlock','get','parent','isObject','ELEMENT_HEADING','match','_descriptionFactory','value','name','registerDescriptionCallback','checkChild','TrackChangesEditing','filter','plugins','heading','getSelectedBlocks'];(function(_0x3489c0,_0x11df26){const _0x311193=function(_0x8e4031){while(--_0x8e4031){_0x3489c0['push'](_0x3489c0['shift']());}};_0x311193(++_0x11df26);}(_0x11df,0x140));const _0x3111=function(_0x3489c0,_0x11df26){_0x3489c0=_0x3489c0-0x0;let _0x311193=_0x11df[_0x3489c0];return _0x311193;};import{Plugin as _0x14e8bc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x22fe3f}from'./utils';import{getTranslation as _0x44a96d}from'../utils/common-translations';export default class J extends _0x14e8bc{['afterInit'](){const _0xfacbe4=this[_0x3111('0x8')],_0xbc27d=_0xfacbe4[_0x3111('0x4')],_0x1068f1=_0xfacbe4['config']['get']('heading.options');if(!_0xfacbe4[_0x3111('0x1d')][_0x3111('0xb')](_0x3111('0x9')))return;const _0x64be46=_0xfacbe4[_0x3111('0x1d')][_0x3111('0x11')](_0x3111('0x1b'));_0x64be46[_0x3111('0xe')](_0x3111('0x1e'),(_0x40a623,_0x544b70)=>{const _0x41e5bf=_0x544b70[_0x3111('0x17')],_0x5da1c7=Array[_0x3111('0x1')](this['editor'][_0x3111('0xf')][_0x3111('0x5')]['selection'][_0x3111('0x1f')]())[_0x3111('0x1c')](_0xd8db22=>function(_0x4382e2,_0x4cffc9,_0x469eff){return _0x469eff[_0x3111('0x1a')](_0x4382e2[_0x3111('0x12')],_0x4cffc9)&&!_0x469eff[_0x3111('0x13')](_0x4382e2)&&_0x4382e2[_0x3111('0x18')]!=_0x4cffc9;}(_0xd8db22,_0x41e5bf,this[_0x3111('0x8')]['model'][_0x3111('0x6')]));_0xfacbe4[_0x3111('0xf')]['change'](()=>{for(const _0xf5b448 of _0x5da1c7)_0x64be46[_0x3111('0x0')](_0xf5b448,{'commandName':_0x3111('0x1e'),'commandParams':[_0x544b70],'formatGroupId':'blockName'},_0x22fe3f(_0xf5b448));});});for(const _0x4fc7c7 of _0x1068f1)'paragraph'!=_0x4fc7c7[_0x3111('0xf')]&&_0x64be46[_0x3111('0x16')]['registerElementLabel'](_0x4fc7c7['model'],_0x2f50d0=>{const _0x53d5f9=nn(_0x4fc7c7['model']);return null!==_0x53d5f9?_0x4a4449(_0x2f50d0,_0x53d5f9):_0x126645(_0x2f50d0,_0x4fc7c7[_0x3111('0x2')]);});function _0x4a4449(_0x46e62f,_0x228584){return _0x44a96d(_0xbc27d,_0x3111('0x14'),[_0x46e62f,_0x228584]);}function _0x126645(_0x448fbc,_0x6834cb){return _0x44a96d(_0xbc27d,_0x3111('0xc'),[_0x448fbc,_0x6834cb]);}_0x64be46[_0x3111('0x16')][_0x3111('0x19')](_0x59ca01=>{const {type:_0x247c52,data:_0x4b9d3b}=_0x59ca01;if(_0x3111('0x10')==_0x247c52&&_0x4b9d3b&&_0x3111('0x1e')==_0x4b9d3b['commandName']){const _0x5e1885=_0x4b9d3b[_0x3111('0xa')][0x0][_0x3111('0x17')],_0x2f51b1=nn(_0x5e1885);if(null!==_0x2f51b1)return{'type':'format','content':_0x44a96d(_0xbc27d,_0x3111('0x7'),_0x4a4449(0x1,_0x2f51b1))};const _0x16eed5=_0x1068f1[_0x3111('0xd')](_0x2e0a51=>_0x2e0a51[_0x3111('0xf')]===_0x5e1885)['title'];return{'type':_0x3111('0x3'),'content':_0x44a96d(_0xbc27d,_0x3111('0x7'),_0x126645(0x1,_0x16eed5))};}});}}function nn(_0x1c35d3){const _0x1c840c=_0x1c35d3[_0x3111('0x15')](/^heading(\d+)$/);return _0x1c840c?_0x1c840c[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488c=['getAttribute','backward','format','commandParams','commandName','value','push','model','HighlightEditing','item','hasAttribute','toLowerCase','getRanges','registerDescriptionCallback','get','find','*Remove\x20highlight*','highlight.options','markInlineFormat','formatInline','config','TrackChangesEditing','isCollapsed','change','getLastMatchingPosition','_descriptionFactory','locale','plugins','highlight','document','has','afterInit'];(function(_0x3944bf,_0x488c0e){const _0x44fbb8=function(_0xd0fceb){while(--_0xd0fceb){_0x3944bf['push'](_0x3944bf['shift']());}};_0x44fbb8(++_0x488c0e);}(_0x488c,0x154));const _0x44fb=function(_0x3944bf,_0x488c0e){_0x3944bf=_0x3944bf-0x0;let _0x44fbb8=_0x488c[_0x3944bf];return _0x44fbb8;};import{Plugin as _0x286e9c}from'ckeditor5/src/core';import{getTranslation as _0xef904d}from'../utils/common-translations';import{getRangesWithAttribute as _0xb9db2}from'./utils';export default class K extends _0x286e9c{[_0x44fb('0xb')](){const _0x3aae8c=this['editor'];if(!_0x3aae8c[_0x44fb('0x7')][_0x44fb('0xa')](_0x44fb('0x14')))return;const _0x284191=_0x3aae8c['plugins'][_0x44fb('0x1a')](_0x44fb('0x1'));_0x284191['enableCommand'](_0x44fb('0x8'),(_0xe58602,_0x5648b6={})=>{const _0x113e5a=_0x3aae8c[_0x44fb('0x13')][_0x44fb('0x9')]['selection'],_0x1d1b1d=_0x113e5a[_0x44fb('0xc')]('highlight');let _0x4b0897=_0x5648b6[_0x44fb('0x11')],_0x359d83=[];if(_0x113e5a[_0x44fb('0x2')]){const _0x179c53=_0x113e5a['getFirstPosition']();if(!_0x113e5a[_0x44fb('0x16')](_0x44fb('0x8')))return void _0xe58602(_0x5648b6);{const _0x4f270f=_0x5548bf=>_0x5548bf[_0x44fb('0x15')]['getAttribute']('highlight')===_0x1d1b1d,_0x2524ac=_0x179c53['getLastMatchingPosition'](_0x4f270f,{'direction':_0x44fb('0xd')}),_0x13f7c9=_0x179c53[_0x44fb('0x4')](_0x4f270f);_0x359d83=[_0x3aae8c['model']['createRange'](_0x2524ac,_0x13f7c9)],_0x4b0897==_0x1d1b1d&&(_0x4b0897=null);}}else for(const _0x4e7efd of _0x113e5a[_0x44fb('0x18')]())_0x4b0897?_0x359d83[_0x44fb('0x12')](_0x4e7efd):_0x359d83[_0x44fb('0x12')](..._0xb9db2(_0x44fb('0x8'),_0x4e7efd,_0x3aae8c[_0x44fb('0x13')]));_0x3aae8c['model'][_0x44fb('0x3')](()=>{for(const _0x1789ea of _0x359d83)_0x284191[_0x44fb('0x1e')](_0x1789ea,{'commandName':_0x44fb('0x8'),'commandParams':[{'value':_0x4b0897}]});});});const _0x517ca3=_0x3aae8c[_0x44fb('0x6')];_0x284191[_0x44fb('0x5')][_0x44fb('0x19')](_0x103847=>{const {type:_0x235eef,data:_0x1edad0}=_0x103847;if(_0x44fb('0x1f')==_0x235eef&&_0x1edad0&&'highlight'==_0x1edad0[_0x44fb('0x10')]){const _0x144ae9=_0x517ca3['t'],_0x71d2f5=_0x1edad0[_0x44fb('0xf')][0x0][_0x44fb('0x11')];if(_0x71d2f5){const _0x2c74ea=_0x3aae8c[_0x44fb('0x0')][_0x44fb('0x1a')](_0x44fb('0x1d'))[_0x44fb('0x1b')](_0x224135=>_0x224135[_0x44fb('0x13')]==_0x71d2f5),_0xb62c1=_0x144ae9(_0x2c74ea['title'])[_0x44fb('0x17')]();return{'type':_0x44fb('0xe'),'content':_0xef904d(_0x517ca3,'*Set\x20highlight:*\x20%0',_0xb62c1),'color':{'value':_0x2c74ea['color'],'title':_0x2c74ea['title']}};}return{'type':_0x44fb('0xe'),'content':_0xef904d(_0x517ca3,_0x44fb('0x1c'),_0xef904d(_0x517ca3,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x2c86=['commandName','find','model','value','markInlineFormat','plugins','registerDescriptionCallback','getLastMatchingPosition','selection','commandParams','hasAttribute','highlight.options','backward','*Remove\x20highlight*','formatInline','FORMAT_HIGHLIGHT','isCollapsed','change','createRange','push','getAttribute','locale','TrackChangesEditing','HighlightEditing','has','document','title','highlight','item','_descriptionFactory','format','editor','toLowerCase','getFirstPosition'];(function(_0x584772,_0x2c8609){const _0x53c046=function(_0x1fc24e){while(--_0x1fc24e){_0x584772['push'](_0x584772['shift']());}};_0x53c046(++_0x2c8609);}(_0x2c86,0x1d7));const _0x53c0=function(_0x584772,_0x2c8609){_0x584772=_0x584772-0x0;let _0x53c046=_0x2c86[_0x584772];return _0x53c046;};import{Plugin as _0x3a0cf9}from'ckeditor5/src/core';import{getTranslation as _0x2a2652}from'../utils/common-translations';import{getRangesWithAttribute as _0x5e75af}from'./utils';export default class K extends _0x3a0cf9{['afterInit'](){const _0x302ceb=this[_0x53c0('0x2')];if(!_0x302ceb[_0x53c0('0xa')][_0x53c0('0x1d')](_0x53c0('0x1c')))return;const _0x274b76=_0x302ceb[_0x53c0('0xa')]['get'](_0x53c0('0x1b'));_0x274b76['enableCommand'](_0x53c0('0x20'),(_0x1a06ec,_0x34f337={})=>{const _0xab304f=_0x302ceb[_0x53c0('0x7')][_0x53c0('0x1e')][_0x53c0('0xd')],_0x3fc149=_0xab304f['getAttribute'](_0x53c0('0x20'));let _0x56315d=_0x34f337[_0x53c0('0x8')],_0x27560d=[];if(_0xab304f[_0x53c0('0x15')]){const _0xff1951=_0xab304f[_0x53c0('0x4')]();if(!_0xab304f[_0x53c0('0xf')]('highlight'))return void _0x1a06ec(_0x34f337);{const _0x282d1c=_0x3e0f59=>_0x3e0f59[_0x53c0('0x21')][_0x53c0('0x19')](_0x53c0('0x20'))===_0x3fc149,_0x1b1235=_0xff1951['getLastMatchingPosition'](_0x282d1c,{'direction':_0x53c0('0x11')}),_0x1eda52=_0xff1951[_0x53c0('0xc')](_0x282d1c);_0x27560d=[_0x302ceb[_0x53c0('0x7')][_0x53c0('0x17')](_0x1b1235,_0x1eda52)],_0x56315d==_0x3fc149&&(_0x56315d=null);}}else for(const _0x531c79 of _0xab304f['getRanges']())_0x56315d?_0x27560d[_0x53c0('0x18')](_0x531c79):_0x27560d[_0x53c0('0x18')](..._0x5e75af(_0x53c0('0x20'),_0x531c79,_0x302ceb[_0x53c0('0x7')]));_0x302ceb[_0x53c0('0x7')][_0x53c0('0x16')](()=>{for(const _0x4d406f of _0x27560d)_0x274b76[_0x53c0('0x9')](_0x4d406f,{'commandName':'highlight','commandParams':[{'value':_0x56315d}]});});});const _0x2c34db=_0x302ceb[_0x53c0('0x1a')];_0x274b76[_0x53c0('0x0')][_0x53c0('0xb')](_0x1f2237=>{const {type:_0xf81349,data:_0x3e1d39}=_0x1f2237;if(_0x53c0('0x13')==_0xf81349&&_0x3e1d39&&'highlight'==_0x3e1d39[_0x53c0('0x5')]){const _0x403ae0=_0x2c34db['t'],_0x9dce32=_0x3e1d39[_0x53c0('0xe')][0x0][_0x53c0('0x8')];if(_0x9dce32){const _0x14844c=_0x302ceb['config']['get'](_0x53c0('0x10'))[_0x53c0('0x6')](_0x4ff400=>_0x4ff400[_0x53c0('0x7')]==_0x9dce32),_0x8b19f5=_0x403ae0(_0x14844c[_0x53c0('0x1f')])[_0x53c0('0x3')]();return{'type':_0x53c0('0x1'),'content':_0x2a2652(_0x2c34db,'*Set\x20highlight:*\x20%0',_0x8b19f5),'color':{'value':_0x14844c['color'],'title':_0x14844c[_0x53c0('0x1f')]}};}return{'type':_0x53c0('0x1'),'content':_0x2a2652(_0x2c34db,_0x53c0('0x12'),_0x2a2652(_0x2c34db,_0x53c0('0x14')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54db=['enableCommand','for','elementToStructure','_descriptionFactory','get','plugins','dataDowncast','has','horizontalLine','addClass','locale','afterInit','high','createEmptyElement','editor','registerElementLabel','conversion','createPositionAt','ck-horizontal-line','HorizontalLineEditing','createContainerElement'];(function(_0x5b604d,_0x54dbec){const _0x513419=function(_0x5ed50b){while(--_0x5ed50b){_0x5b604d['push'](_0x5b604d['shift']());}};_0x513419(++_0x54dbec);}(_0x54db,0x1e4));const _0x5134=function(_0x5b604d,_0x54dbec){_0x5b604d=_0x5b604d-0x0;let _0x513419=_0x54db[_0x5b604d];return _0x513419;};import{Plugin as _0x3c5e8c}from'ckeditor5/src/core';import{getTranslation as _0x4dbb8c}from'../utils/common-translations';export default class Q extends _0x3c5e8c{[_0x5134('0xa')](){const _0x3ae61d=this[_0x5134('0xd')];if(!_0x3ae61d[_0x5134('0x4')][_0x5134('0x6')](_0x5134('0x12')))return;_0x3ae61d['plugins'][_0x5134('0x3')]('TrackChangesEditing')[_0x5134('0x14')](_0x5134('0x7'));const _0x479e70=_0x3ae61d[_0x5134('0x4')]['get']('TrackChangesEditing'),_0x240ef1=_0x3ae61d[_0x5134('0x9')];_0x479e70[_0x5134('0x2')][_0x5134('0xe')]('horizontalLine',_0x476339=>_0x4dbb8c(_0x240ef1,'ELEMENT_HORIZONTAL_LINE',_0x476339)),_0x3ae61d[_0x5134('0xf')][_0x5134('0x0')](_0x5134('0x5'))[_0x5134('0x1')]({'model':'horizontalLine','view':(_0x54f33a,{writer:_0x5b031e,options:_0x4d2616})=>{if(!_0x4d2616['showSuggestionHighlights'])return null;const _0x65975f=_0x5b031e[_0x5134('0x13')]('div'),_0x1df008=_0x5b031e[_0x5134('0xc')]('hr');return _0x5b031e[_0x5134('0x8')](_0x5134('0x11'),_0x65975f),_0x5b031e['insert'](_0x5b031e[_0x5134('0x10')](_0x65975f,0x0),_0x1df008),_0x65975f;},'converterPriority':_0x5134('0xb')});}}
23
+ const _0x5099=['editor','ELEMENT_HORIZONTAL_LINE','has','enableCommand','addClass','elementToStructure','showSuggestionHighlights','get','registerElementLabel','afterInit','horizontalLine','conversion','for','ck-horizontal-line','plugins','high','_descriptionFactory','locale','createEmptyElement','TrackChangesEditing'];(function(_0x219bd0,_0x509929){const _0x4c2098=function(_0x55dbc9){while(--_0x55dbc9){_0x219bd0['push'](_0x219bd0['shift']());}};_0x4c2098(++_0x509929);}(_0x5099,0xf1));const _0x4c20=function(_0x219bd0,_0x509929){_0x219bd0=_0x219bd0-0x0;let _0x4c2098=_0x5099[_0x219bd0];return _0x4c2098;};import{Plugin as _0x4e7ed8}from'ckeditor5/src/core';import{getTranslation as _0x553975}from'../utils/common-translations';export default class Q extends _0x4e7ed8{[_0x4c20('0x8')](){const _0x400f79=this[_0x4c20('0x13')];if(!_0x400f79['plugins'][_0x4c20('0x1')]('HorizontalLineEditing'))return;_0x400f79[_0x4c20('0xd')][_0x4c20('0x6')](_0x4c20('0x12'))[_0x4c20('0x2')](_0x4c20('0x9'));const _0x3e860a=_0x400f79[_0x4c20('0xd')]['get'](_0x4c20('0x12')),_0x36ba84=_0x400f79[_0x4c20('0x10')];_0x3e860a[_0x4c20('0xf')][_0x4c20('0x7')](_0x4c20('0x9'),_0x284e82=>_0x553975(_0x36ba84,_0x4c20('0x0'),_0x284e82)),_0x400f79[_0x4c20('0xa')][_0x4c20('0xb')]('dataDowncast')[_0x4c20('0x4')]({'model':_0x4c20('0x9'),'view':(_0x86dd3,{writer:_0x5a476e,options:_0x54bbd8})=>{if(!_0x54bbd8[_0x4c20('0x5')])return null;const _0x81f889=_0x5a476e['createContainerElement']('div'),_0x33dd78=_0x5a476e[_0x4c20('0x11')]('hr');return _0x5a476e[_0x4c20('0x3')](_0x4c20('0xc'),_0x81f889),_0x5a476e['insert'](_0x5a476e['createPositionAt'](_0x81f889,0x0),_0x33dd78),_0x81f889;},'converterPriority':_0x4c20('0xe')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c15=['getSelectedElement','ELEMENT_HTML_EMBED','rawHtml','selection','model','locale','registerDescriptionCallback','HtmlEmbed','editing','change','htmlEmbed','document','TrackChangesEditing','enableCommand','_descriptionFactory','view','afterInit','get','getAttribute','plugins','element','markBlockFormat'];(function(_0x28f8f5,_0x4c154b){const _0x168173=function(_0x285160){while(--_0x285160){_0x28f8f5['push'](_0x28f8f5['shift']());}};_0x168173(++_0x4c154b);}(_0x4c15,0x110));const _0x1681=function(_0x28f8f5,_0x4c154b){_0x28f8f5=_0x28f8f5-0x0;let _0x168173=_0x4c15[_0x28f8f5];return _0x168173;};import{Plugin as _0x5055f6}from'ckeditor5/src/core';import{getTranslation as _0x33c378}from'../utils/common-translations';export default class V extends _0x5055f6{[_0x1681('0x8')](){const _0x5408c3=this['editor'];if(!_0x5408c3[_0x1681('0xb')]['has'](_0x1681('0x15')))return;const _0x1f93a3=_0x5408c3[_0x1681('0xb')]['get'](_0x1681('0x4')),_0x291002=_0x5408c3[_0x1681('0x13')],_0x570a40=_0x5408c3[_0x1681('0x0')][_0x1681('0x7')][_0x1681('0x3')][_0x1681('0x11')];_0x1f93a3[_0x1681('0x6')]['registerElementLabel'](_0x1681('0x10'),_0xeacccc=>_0x33c378(_0x291002,_0x1681('0xf'),_0xeacccc)),_0x5408c3[_0x1681('0xb')][_0x1681('0x9')]('TrackChangesEditing')[_0x1681('0x5')](_0x1681('0x2'),(_0x3cce4a,_0x5b25a7)=>{const _0x1b3db2=_0x5408c3[_0x1681('0x12')],_0x1668ac=_0x1b3db2['document'][_0x1681('0x11')];_0x1b3db2[_0x1681('0x1')](()=>{const _0x54b0be=function(_0x551c61){const _0x4c840a=_0x551c61[_0x1681('0xe')]();if(_0x4c840a&&_0x4c840a['is'](_0x1681('0xc'),_0x1681('0x10')))return _0x551c61[_0x1681('0xe')]();return null;}(_0x1668ac);if(!_0x54b0be)return void _0x3cce4a(null);const _0x1634f0=_0x54b0be[_0x1681('0xa')]('value')||'';if(void 0x0===_0x5b25a7)return;if(_0x5b25a7===_0x1634f0)return;_0x1f93a3[_0x1681('0xd')](_0x54b0be,{'commandName':_0x1681('0x2'),'commandParams':[_0x5b25a7]}),_0x570a40[_0x1681('0xe')]()['getCustomProperty']('rawHtmlApi')['cancel']();});}),_0x1f93a3[_0x1681('0x6')][_0x1681('0x14')](_0xacb642=>{const {data:_0x19efb2}=_0xacb642;if(_0x19efb2&&_0x1681('0x2')==_0x19efb2['commandName']){const _0x840ba3=_0x33c378(_0x291002,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x33c378(_0x291002,'*Change\x20%0\x20content*',_0x840ba3)};}});}}
23
+ const _0x4044=['htmlEmbed','getSelectedElement','commandName','registerDescriptionCallback','rawHtml','has','*Change\x20%0\x20content*','_descriptionFactory','plugins','getAttribute','locale','registerElementLabel','TrackChangesEditing','ELEMENT_HTML_EMBED','HtmlEmbed','model','element','cancel','markBlockFormat','document','selection','get','enableCommand','afterInit','rawHtmlApi','editing'];(function(_0x1cee25,_0x4044d1){const _0x9feab0=function(_0x7724f9){while(--_0x7724f9){_0x1cee25['push'](_0x1cee25['shift']());}};_0x9feab0(++_0x4044d1);}(_0x4044,0xdd));const _0x9fea=function(_0x1cee25,_0x4044d1){_0x1cee25=_0x1cee25-0x0;let _0x9feab0=_0x4044[_0x1cee25];return _0x9feab0;};import{Plugin as _0x344bf7}from'ckeditor5/src/core';import{getTranslation as _0x4ce28e}from'../utils/common-translations';export default class V extends _0x344bf7{[_0x9fea('0xa')](){const _0x9696d6=this['editor'];if(!_0x9696d6[_0x9fea('0x15')][_0x9fea('0x12')](_0x9fea('0x1')))return;const _0x2637fc=_0x9696d6['plugins'][_0x9fea('0x8')](_0x9fea('0x19')),_0x5ca1bc=_0x9696d6[_0x9fea('0x17')],_0x428e89=_0x9696d6[_0x9fea('0xc')]['view'][_0x9fea('0x6')][_0x9fea('0x7')];_0x2637fc[_0x9fea('0x14')][_0x9fea('0x18')](_0x9fea('0x11'),_0xe2d10=>_0x4ce28e(_0x5ca1bc,'ELEMENT_HTML_EMBED',_0xe2d10)),_0x9696d6['plugins'][_0x9fea('0x8')](_0x9fea('0x19'))[_0x9fea('0x9')](_0x9fea('0xd'),(_0x7c8b4f,_0x49f291)=>{const _0x12ab18=_0x9696d6[_0x9fea('0x2')],_0x1be429=_0x12ab18[_0x9fea('0x6')][_0x9fea('0x7')];_0x12ab18['change'](()=>{const _0x5154db=function(_0x34ba8b){const _0x13c770=_0x34ba8b['getSelectedElement']();if(_0x13c770&&_0x13c770['is'](_0x9fea('0x3'),'rawHtml'))return _0x34ba8b[_0x9fea('0xe')]();return null;}(_0x1be429);if(!_0x5154db)return void _0x7c8b4f(null);const _0x10c316=_0x5154db[_0x9fea('0x16')]('value')||'';if(void 0x0===_0x49f291)return;if(_0x49f291===_0x10c316)return;_0x2637fc[_0x9fea('0x5')](_0x5154db,{'commandName':_0x9fea('0xd'),'commandParams':[_0x49f291]}),_0x428e89[_0x9fea('0xe')]()['getCustomProperty'](_0x9fea('0xb'))[_0x9fea('0x4')]();});}),_0x2637fc[_0x9fea('0x14')][_0x9fea('0x10')](_0x4f4a07=>{const {data:_0x539969}=_0x4f4a07;if(_0x539969&&_0x9fea('0xd')==_0x539969[_0x9fea('0xf')]){const _0x1b5355=_0x4ce28e(_0x5ca1bc,_0x9fea('0x0'));return{'type':'format','content':_0x4ce28e(_0x5ca1bc,_0x9fea('0x13'),_0x1b5355)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1846=['Block\x20image\x20to\x20inline\x20image','chain','deletion','ImageResize','filter','resizeImage','*Format:*\x20%0','ImageCaptionEditing','uploadImage','insertion','type','getSuggestions','get','convertBlockImageToInline','formatBlock','*Reset\x20image\x20width*','forEach','start','isInContent','change','isBlockImage','length','Inline\x20image\x20to\x20block\x20image','*Remove\x20image\x20text\x20alternative*','TrackChangesEditing','Users','imageTextAlternative','toPrevious','toNext','enableCommand','registerElementLabel','selection','find','editor','imageStylePreApply','next','value','format','isBefore','newRange','imageTypeInline','createRange','getNearestSelectionRange','getSuggestionCallback','model','plugins','ELEMENT_IMAGE','toLowerCase','refresh','hasAttribute','imageTypeBlock','_suggestionFactory','element','imageCaption','detach','isCollapsed','caption','markInsertion','title','backward','name','getAttribute','registerPostFixer','fromPosition','document','convertInlineImageToBlock','_descriptionFactory','_splitMarkerName','commandParams','commandName','join','schema','has','accept','locale','markDeletion','registerDescriptionCallback','getSuggestion','imageStylePostApply','ELEMENT_CAPTION','findIndex','commands','isOwn','ImageStyleEditing','markBlockFormat','isEqual','newValue','width','alt','registerCustomCallback','subType','discard','ImageCaptionUtils','normalizedStyles','end','getChangedMarkers','markInlineFormat','ImageBlockEditing','discardSuggestion','nodeBefore','getContainedElement','getClosestSelectedImageElement','ImageEditing','forward','removeObject','imageStyle','afterInit','getFirstRange','ELEMENT_INLINE_IMAGE','isIntersecting','toggleImageCaption','formatInline','createRangeOn','side'];(function(_0x469836,_0x18461a){const _0x56d661=function(_0x1d6c60){while(--_0x1d6c60){_0x469836['push'](_0x469836['shift']());}};_0x56d661(++_0x18461a);}(_0x1846,0x18c));const _0x56d6=function(_0x469836,_0x18461a){_0x469836=_0x469836-0x0;let _0x56d661=_0x1846[_0x469836];return _0x56d661;};import{Plugin as _0x2f1c2c}from'ckeditor5/src/core';import{LivePosition as _0x16d6b2}from'ckeditor5/src/engine';import{uid as _0x6d9012}from'ckeditor5/src/utils';import{getTranslation as _0x1310ea}from'../utils/common-translations';export default class X extends _0x2f1c2c{[_0x56d6('0x34')](){const _0x4450fb=this[_0x56d6('0x5d')];if(!_0x4450fb[_0x56d6('0x69')][_0x56d6('0x12')](_0x56d6('0x30')))return;const _0x80c188=_0x4450fb[_0x56d6('0x69')][_0x56d6('0x48')](_0x56d6('0x54')),_0x2e48eb=_0x4450fb[_0x56d6('0x69')][_0x56d6('0x48')]('ImageUtils'),_0x359980={},_0x485aaf=_0x4450fb[_0x56d6('0x14')];if(_0x80c188[_0x56d6('0x59')]('insertImage'),_0x80c188[_0x56d6('0xc')][_0x56d6('0x5a')]('imageBlock',_0x27bbcd=>_0x1310ea(_0x485aaf,_0x56d6('0x6a'),_0x27bbcd)),_0x80c188['_descriptionFactory'][_0x56d6('0x5a')]('imageInline',_0x3c498c=>_0x1310ea(_0x485aaf,_0x56d6('0x36'),_0x3c498c)),_0x80c188['_descriptionFactory'][_0x56d6('0x5a')](_0x56d6('0x2'),()=>_0x1310ea(_0x485aaf,_0x56d6('0x19'))),_0x4450fb['plugins'][_0x56d6('0x12')]('ImageUploadEditing')&&_0x80c188[_0x56d6('0x59')](_0x56d6('0x44')),_0x4450fb[_0x56d6('0x69')][_0x56d6('0x12')](_0x56d6('0x2b'))&&_0x4450fb['plugins'][_0x56d6('0x12')]('ImageInlineEditing')&&(_0x80c188[_0x56d6('0x59')]('imageTypeInline',(_0x1171ef,_0x45548e)=>{const _0x33b0fc=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb[_0x56d6('0x68')]['document'][_0x56d6('0x5b')]);_0x4450fb['model'][_0x56d6('0x4f')](()=>{_0x80c188[_0x56d6('0x1e')](_0x33b0fc,{'commandName':_0x56d6('0x64'),'commandParams':[_0x45548e]},[],_0x56d6('0x49'));});}),_0x80c188[_0x56d6('0x59')]('imageTypeBlock',(_0x3e235,_0x1e6045)=>{_0x4450fb[_0x56d6('0x68')][_0x56d6('0x4f')](_0x117766=>{let _0x22cbfa=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb['model']['document']['selection']),_0x563e18=_0x117766[_0x56d6('0x3a')](_0x22cbfa);const _0x5f4398=_0x16d6b2[_0x56d6('0x9')](_0x563e18[_0x56d6('0x4d')],_0x56d6('0x57')),_0x5e61aa=_0x16d6b2[_0x56d6('0x9')](_0x563e18[_0x56d6('0x28')],_0x56d6('0x58'));_0x80c188['forceDefaultExecution'](()=>_0x3e235(_0x1e6045)),_0x22cbfa=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb[_0x56d6('0x68')][_0x56d6('0xa')][_0x56d6('0x5b')]),_0x563e18=_0x117766[_0x56d6('0x3a')](_0x22cbfa);const _0x26870c=_0x117766[_0x56d6('0x65')](_0x5f4398,_0x5e61aa);_0x5f4398[_0x56d6('0x0')](),_0x5e61aa[_0x56d6('0x0')](),_0x80c188[_0x56d6('0x1e')](_0x22cbfa,{'commandName':_0x56d6('0x64'),'commandParams':[]},[],_0x56d6('0xb')),_0x26870c[_0x56d6('0x4d')][_0x56d6('0x62')](_0x563e18[_0x56d6('0x4d')])&&_0x80c188['markInsertion'](_0x117766[_0x56d6('0x65')](_0x26870c[_0x56d6('0x4d')],_0x563e18['start']),'convertInlineImageToBlock'),_0x563e18['end'][_0x56d6('0x62')](_0x26870c[_0x56d6('0x28')])&&_0x80c188[_0x56d6('0x3')](_0x117766[_0x56d6('0x65')](_0x563e18[_0x56d6('0x28')],_0x26870c[_0x56d6('0x28')]),_0x56d6('0xb'));});}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),_0x56d6('0xb'),_0x56d6('0x10'),()=>{}),_0x80c188[_0x56d6('0x6f')]['registerCustomCallback'](_0x56d6('0x4a'),_0x56d6('0xb'),_0x56d6('0x13'),()=>{}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),_0x56d6('0xb'),_0x56d6('0x25'),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x67')]('formatBlock','',_0x56d6('0x13'))),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')]('insertion',_0x56d6('0xb'),_0x56d6('0x10'),()=>{}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')]('insertion',_0x56d6('0xb'),_0x56d6('0x25'),([_0x4313a3])=>{const _0x5d8dff=_0x80c188[_0x56d6('0x6f')][_0x56d6('0x67')](_0x56d6('0x45'),'',_0x56d6('0x25'));let _0x513f02=_0x4313a3['start'],_0xadbf4c=_0x4313a3[_0x56d6('0x28')];const _0x1ffefd=_0x4450fb['model'][_0x56d6('0x11')][_0x56d6('0x66')](_0x513f02,_0x56d6('0x5')),_0x506998=_0x4450fb[_0x56d6('0x68')][_0x56d6('0x11')][_0x56d6('0x66')](_0xadbf4c,_0x56d6('0x31'));_0x1ffefd[_0x56d6('0x1')]&&(_0x513f02=_0x1ffefd[_0x56d6('0x4d')]),_0x506998[_0x56d6('0x1')]&&(_0xadbf4c=_0x506998[_0x56d6('0x28')]),_0x5d8dff([_0x4450fb['model'][_0x56d6('0x65')](_0x513f02,_0xadbf4c)]);}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),_0x56d6('0xb'),_0x56d6('0x3d'),_0x295091),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x45'),_0x56d6('0xb'),'chain',_0x295091)),_0x4450fb['plugins'][_0x56d6('0x12')](_0x56d6('0x43'))&&(_0x80c188['enableCommand'](_0x56d6('0x38'),(_0x1df908,_0x412de7)=>{const _0x1cbf8d=_0x4450fb['plugins'][_0x56d6('0x48')](_0x56d6('0x26'));let _0x1b9aca=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb['model'][_0x56d6('0xa')][_0x56d6('0x5b')]),_0x570f17=_0x1cbf8d['getCaptionFromImageModelElement'](_0x1b9aca);_0x4450fb['model']['change'](()=>{if(_0x570f17)return void _0x80c188[_0x56d6('0x15')](_0x4450fb['model'][_0x56d6('0x3a')](_0x570f17));const _0x335ef6=_0x2e48eb['isBlockImage'](_0x1b9aca);_0x1df908(_0x412de7),_0x1b9aca=_0x2e48eb['getClosestSelectedImageElement'](_0x4450fb[_0x56d6('0x68')]['document'][_0x56d6('0x5b')]),_0x570f17=_0x1cbf8d['getCaptionFromImageModelElement'](_0x1b9aca),_0x80c188[_0x56d6('0x3')](_0x4450fb[_0x56d6('0x68')][_0x56d6('0x3a')](_0x570f17),_0x335ef6?null:_0x56d6('0x71'));});}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x45'),'imageCaption','chain',_0x295091)),_0x4450fb['plugins'][_0x56d6('0x12')]('ImageStyleEditing')){_0x80c188['enableCommand'](_0x56d6('0x33'),(_0x28516b,_0x32faf0)=>{const _0x2a81e3=_0x4450fb['plugins'][_0x56d6('0x48')](_0x56d6('0x55'))['me'],_0x3a5f22=_0x4450fb[_0x56d6('0x1b')][_0x56d6('0x48')](_0x56d6('0x33'));let _0x490aa3=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb[_0x56d6('0x68')]['document'][_0x56d6('0x5b')]),_0x32b3f3=_0x4450fb[_0x56d6('0x68')][_0x56d6('0x3a')](_0x490aa3),_0x3bfae8=_0x3a5f22[_0x56d6('0x60')];if(_0x3bfae8==_0x32faf0[_0x56d6('0x60')])return;const _0x90a7dd={'commandName':_0x56d6('0x33'),'commandParams':[_0x32faf0],'formatGroupId':_0x6d9012()};_0x4450fb[_0x56d6('0x68')][_0x56d6('0x4f')](()=>{if(_0x80c188[_0x56d6('0x47')]()[_0x56d6('0x40')](_0x17794e=>_0x17794e['isInContent']&&_0x2a81e3==_0x17794e['author']&&('formatBlock'==_0x17794e[_0x56d6('0x46')]||'formatInline'==_0x17794e[_0x56d6('0x46')])&&(_0x56d6('0x5e')==_0x17794e[_0x56d6('0x24')]||_0x56d6('0x18')==_0x17794e[_0x56d6('0x24')])&&_0x17794e[_0x56d6('0x35')]()['isEqual'](_0x32b3f3))[_0x56d6('0x4c')](_0x1b8968=>_0x80c188[_0x56d6('0x2c')](_0x1b8968['head'])),_0x490aa3=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb['model'][_0x56d6('0xa')][_0x56d6('0x5b')]),_0x32b3f3=_0x4450fb[_0x56d6('0x68')][_0x56d6('0x3a')](_0x490aa3),_0x3a5f22[_0x56d6('0x6c')](),_0x4450fb[_0x56d6('0x1b')]['get']('imageTypeInline')[_0x56d6('0x6c')](),_0x4450fb[_0x56d6('0x1b')][_0x56d6('0x48')](_0x56d6('0x6e'))[_0x56d6('0x6c')](),_0x3bfae8=_0x3a5f22[_0x56d6('0x60')],_0x3bfae8!=_0x32faf0[_0x56d6('0x60')])return _0x2e48eb['isInlineImage'](_0x490aa3)&&_0x3a5f22['shouldConvertImageType'](_0x32faf0['value'],_0x490aa3)?(_0x28516b(_0x32faf0),_0x490aa3=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb[_0x56d6('0x68')][_0x56d6('0xa')][_0x56d6('0x5b')]),void _0x80c188[_0x56d6('0x1e')](_0x490aa3,{..._0x90a7dd,'commandReversedParams':[{'value':_0x3bfae8||null}]},[],_0x56d6('0x5e'))):void(_0x2e48eb[_0x56d6('0x50')](_0x490aa3)?_0x80c188[_0x56d6('0x1e')](_0x490aa3,_0x90a7dd,[],_0x56d6('0x18')):_0x80c188[_0x56d6('0x2a')](_0x32b3f3,_0x90a7dd,_0x56d6('0x18')));});});for(const _0x494761 of _0x4450fb['plugins']['get'](_0x56d6('0x1d'))[_0x56d6('0x27')])_0x359980[_0x494761[_0x56d6('0x6')]]=_0x494761[_0x56d6('0x4')][_0x56d6('0x6b')]();_0x80c188['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x56d6('0x5e'),_0x56d6('0x10'),()=>{}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),_0x56d6('0x18'),_0x56d6('0x10'),()=>{}),_0x80c188['_suggestionFactory'][_0x56d6('0x23')](_0x56d6('0x39'),_0x56d6('0x18'),_0x56d6('0x10'),()=>{}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),'imageStylePreApply',_0x56d6('0x13'),()=>{}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')](_0x56d6('0x4a'),'imageStylePreApply',_0x56d6('0x25'),(_0x4567ad,_0x134fce)=>{_0x80c188['_suggestionFactory'][_0x56d6('0x67')]('formatBlock','',_0x56d6('0x13'))(_0x4567ad,{'commandName':_0x134fce[_0x56d6('0xf')],'commandParams':_0x134fce['commandReversedParams']});}),_0x80c188[_0x56d6('0x6f')][_0x56d6('0x23')]('formatBlock',_0x56d6('0x5e'),_0x56d6('0x3d'),_0x295091);}const _0x3bd4f4=[{'type':'formatBlock','subType':_0x56d6('0x5e')},{'type':'insertion','subType':_0x56d6('0x71')},{'type':'formatBlock','subType':_0x56d6('0xb')},{'type':_0x56d6('0x45'),'subType':_0x56d6('0xb')}];function _0xe76a39(_0x544bf0,_0x3ffadb){const _0x4a7c7b=_0x3bd4f4[_0x56d6('0x1a')](({type:_0x2b9e40,subType:_0x1e8521})=>_0x544bf0[_0x56d6('0x46')]==_0x2b9e40&&_0x544bf0['subType']==_0x1e8521),_0x37863c=_0x3bd4f4[_0x56d6('0x1a')](({type:_0x14bb53,subType:_0x152e23})=>_0x3ffadb[_0x56d6('0x46')]==_0x14bb53&&_0x3ffadb[_0x56d6('0x24')]==_0x152e23);if(_0x4a7c7b<0x0||_0x37863c<0x0)return!0x1;const _0x11e3de=_0x544bf0[_0x56d6('0x35')](),_0x3c8a1d=_0x3ffadb[_0x56d6('0x35')]();if((0x0==_0x4a7c7b||0x1==_0x4a7c7b)&&0x2==_0x37863c&&_0x11e3de[_0x56d6('0x37')](_0x3c8a1d))return!0x0;if(0x2==_0x4a7c7b&&0x3==_0x37863c){const _0x54bbfb=_0x80c188['_findSuggestions'](_0x11e3de,_0x56d6('0x45'))[_0x56d6('0x40')](({suggestion:_0x2fa7c8,meta:_0x55e58b})=>_0x55e58b[_0x56d6('0x1c')]&&_0x56d6('0xb')==_0x2fa7c8[_0x56d6('0x24')]);if(_0x54bbfb[_0x56d6('0x51')]>0x1&&_0x3c8a1d[_0x56d6('0x28')][_0x56d6('0x1f')](_0x11e3de[_0x56d6('0x4d')]))return!0x0;if(0x1==_0x54bbfb[_0x56d6('0x51')]&&(_0x11e3de[_0x56d6('0x4d')][_0x56d6('0x1f')](_0x3c8a1d[_0x56d6('0x28')])||_0x11e3de[_0x56d6('0x28')][_0x56d6('0x1f')](_0x3c8a1d[_0x56d6('0x4d')])))return!0x0;}if(0x3==_0x4a7c7b&&0x3==_0x37863c&&_0x11e3de[_0x56d6('0x4d')][_0x56d6('0x62')](_0x3c8a1d[_0x56d6('0x4d')])){const _0x12c6a=_0x11e3de[_0x56d6('0x28')]['nodeAfter'],_0x2d308c=_0x3c8a1d[_0x56d6('0x4d')][_0x56d6('0x2d')];return _0x2e48eb[_0x56d6('0x50')](_0x12c6a)&&_0x12c6a===_0x2d308c;}return!0x1;}function _0x295091(_0x4ec2a3,_0x1de8fa){return _0xe76a39(_0x4ec2a3,_0x1de8fa)?[_0x4ec2a3,_0x1de8fa]:_0xe76a39(_0x1de8fa,_0x4ec2a3)?[_0x1de8fa,_0x4ec2a3]:null;}_0x4450fb[_0x56d6('0x68')][_0x56d6('0xa')][_0x56d6('0x8')](()=>{let _0x426729=!0x1;const _0x410826=Array['from'](_0x4450fb[_0x56d6('0x68')][_0x56d6('0xa')]['differ'][_0x56d6('0x29')]());for(const {name:_0xc0f48f,data:_0x3414dc}of _0x410826){const {group:_0x4ef08c,type:_0x44151c,subType:_0x4f294d,id:_0x3078be}=_0x80c188[_0x56d6('0xd')](_0xc0f48f);if('suggestion'==_0x4ef08c&&_0x80c188['hasSuggestion'](_0x3078be)){if(_0x56d6('0x4a')==_0x44151c&&('imageStylePreApply'==_0x4f294d||_0x56d6('0x18')==_0x4f294d)){const _0x1ce13f=_0x80c188[_0x56d6('0x17')](_0x3078be);if(_0x3414dc[_0x56d6('0x63')]){const _0x379e6f=_0x1ce13f['getFirstRange']()['getContainedElement']();if(_0x2e48eb[_0x56d6('0x50')](_0x379e6f))continue;_0x80c188['discardSuggestion'](_0x1ce13f),_0x426729=!0x0;}}if(_0x56d6('0x45')==_0x44151c&&'imageCaption'==_0x4f294d&&!_0x3414dc[_0x56d6('0x63')]){const _0x1383fb=_0x80c188[_0x56d6('0x17')](_0x3078be);_0x1383fb[_0x56d6('0x5f')]&&_0x1383fb[_0x56d6('0x5f')][_0x56d6('0x4e')]&&(_0x80c188[_0x56d6('0x2c')](_0x1383fb[_0x56d6('0x5f')]),_0x426729=!0x0);}}}return _0x426729;}),_0x4450fb[_0x56d6('0x69')][_0x56d6('0x12')](_0x56d6('0x3f'))&&_0x80c188[_0x56d6('0x59')]('resizeImage',(_0x27e064,_0x1db9de)=>{const _0x26f12b=_0x2e48eb[_0x56d6('0x2f')](_0x4450fb['model'][_0x56d6('0xa')][_0x56d6('0x5b')]);_0x26f12b[_0x56d6('0x7')](_0x56d6('0x21'))!=_0x1db9de[_0x56d6('0x21')]&&_0x4450fb[_0x56d6('0x68')]['change'](()=>{_0x80c188['markBlockFormat'](_0x26f12b,{'commandName':'resizeImage','commandParams':[_0x1db9de]});});}),_0x4450fb['plugins'][_0x56d6('0x12')]('ImageTextAlternativeEditing')&&_0x80c188[_0x56d6('0x59')](_0x56d6('0x56'),(_0x532389,_0x940b4)=>{const _0x22be49=_0x2e48eb['getClosestSelectedImageElement'](_0x4450fb[_0x56d6('0x68')][_0x56d6('0xa')]['selection']);(_0x22be49[_0x56d6('0x6d')](_0x56d6('0x22'))?_0x22be49[_0x56d6('0x7')]('alt'):'')!=_0x940b4[_0x56d6('0x20')]&&_0x4450fb[_0x56d6('0x68')][_0x56d6('0x4f')](()=>{_0x80c188[_0x56d6('0x1e')](_0x22be49,{'commandName':_0x56d6('0x56'),'commandParams':[_0x940b4]});});}),_0x80c188[_0x56d6('0xc')][_0x56d6('0x16')](_0x58f331=>{if(!!_0x3bd4f4[_0x56d6('0x5c')](({type:_0x216075,subType:_0x57bfac})=>_0x58f331['type']==_0x216075&&_0x58f331[_0x56d6('0x24')]==_0x57bfac))return _0x58f331['previous']?{}:void 0x0;}),_0x80c188[_0x56d6('0xc')][_0x56d6('0x16')](_0x375f4a=>{if(_0x56d6('0x45')==_0x375f4a[_0x56d6('0x46')]||_0x56d6('0x3e')==_0x375f4a[_0x56d6('0x46')]){const _0x4fa33f=_0x375f4a[_0x56d6('0x2e')]();if(_0x4fa33f&&_0x4fa33f['is'](_0x56d6('0x70'),_0x56d6('0x2')))return{'type':'insertion'==_0x375f4a[_0x56d6('0x46')]?'addObject':_0x56d6('0x32'),'element':_0x4fa33f,'quantity':0x1};}}),_0x80c188['_descriptionFactory'][_0x56d6('0x16')](_0x5580a6=>_0x56d6('0x4a')==_0x5580a6[_0x56d6('0x46')]&&_0x56d6('0xb')==_0x5580a6[_0x56d6('0x24')]?{'type':_0x56d6('0x61'),'content':_0x56d6('0x52')}:'formatBlock'==_0x5580a6['type']&&_0x56d6('0x49')==_0x5580a6[_0x56d6('0x24')]?{'type':_0x56d6('0x61'),'content':_0x56d6('0x3c')}:void 0x0),_0x80c188[_0x56d6('0xc')]['registerDescriptionCallback'](_0x139a49=>{const {data:_0x1ec1cf}=_0x139a49;if(_0x1ec1cf){if('imageStyle'==_0x1ec1cf[_0x56d6('0xf')]){const _0x534255=_0x1ec1cf['commandParams'][0x0][_0x56d6('0x60')];return _0x4ff807(_0x56d6('0x3b')===_0x534255?_0x1310ea(_0x485aaf,'FORMAT_SIDE_IMAGE'):_0x359980[_0x534255]||_0x534255);}if('imageTextAlternative'==_0x1ec1cf['commandName']){const _0xaabcdd=_0x1ec1cf['commandParams'][0x0][_0x56d6('0x20')];return _0xaabcdd?{'type':'format','content':_0x1310ea(_0x485aaf,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xaabcdd+'\x22')}:{'type':_0x56d6('0x61'),'content':_0x1310ea(_0x485aaf,_0x56d6('0x53'))};}if(_0x56d6('0x41')==_0x1ec1cf[_0x56d6('0xf')]){const _0x2aa7ab=_0x1ec1cf[_0x56d6('0xe')][0x0][_0x56d6('0x21')];return _0x2aa7ab?{'type':_0x56d6('0x61'),'content':_0x1310ea(_0x485aaf,'*Set\x20image\x20width:*\x20%0',_0x2aa7ab)}:{'type':_0x56d6('0x61'),'content':_0x1310ea(_0x485aaf,_0x56d6('0x4b'))};}}function _0x4ff807(_0x5287ff){return{'type':'format','content':_0x1310ea(_0x485aaf,_0x56d6('0x42'),_0x5287ff)};}});}}
23
+ const _0x5e0f=['createRangeOn','getSuggestionCallback','isEqual','subType','nodeBefore','plugins','from','type','schema','detach','_suggestionFactory','_descriptionFactory','uploadImage','filter','caption','resizeImage','ImageUtils','formatBlock','selection','toPrevious','registerCustomCallback','fromPosition','getFirstRange','isInContent','ELEMENT_IMAGE','ImageCaptionUtils','has','imageStylePostApply','locale','commandParams','change','Inline\x20image\x20to\x20block\x20image','editor','imageInline','insertImage','format','isBlockImage','name','hasSuggestion','forceDefaultExecution','chain','shouldConvertImageType','imageCaption','TrackChangesEditing','differ','document','start','imageTypeBlock','nodeAfter','next','formatInline','ImageResize','getContainedElement','get','findIndex','FORMAT_SIDE_IMAGE','suggestion','ImageBlockEditing','toLowerCase','value','isCollapsed','join','imageStyle','getChangedMarkers','isOwn','imageBlock','convertBlockImageToInline','commands','getNearestSelectionRange','createRange','find','backward','Block\x20image\x20to\x20inline\x20image','commandName','imageTextAlternative','*Set\x20image\x20text\x20alternative:*\x20%0','ELEMENT_CAPTION','ImageInlineEditing','markInlineFormat','afterInit','length','width','markBlockFormat','accept','ImageTextAlternativeEditing','imageTypeInline','imageStylePreApply','isInlineImage','newRange','enableCommand','getAttribute','isBefore','registerElementLabel','end','getSuggestion','discard','ImageEditing','getSuggestions','newValue','getClosestSelectedImageElement','refresh','*Set\x20image\x20width:*\x20%0','isIntersecting','alt','_findSuggestions','convertInlineImageToBlock','ImageUploadEditing','registerDescriptionCallback','markInsertion','discardSuggestion','commandReversedParams','ImageCaptionEditing','model','insertion','markDeletion'];(function(_0x34d84d,_0x5e0f83){const _0x10b27e=function(_0x153a4b){while(--_0x153a4b){_0x34d84d['push'](_0x34d84d['shift']());}};_0x10b27e(++_0x5e0f83);}(_0x5e0f,0x142));const _0x10b2=function(_0x34d84d,_0x5e0f83){_0x34d84d=_0x34d84d-0x0;let _0x10b27e=_0x5e0f[_0x34d84d];return _0x10b27e;};import{Plugin as _0x39d43e}from'ckeditor5/src/core';import{LivePosition as _0x17179d}from'ckeditor5/src/engine';import{uid as _0x47bcf5}from'ckeditor5/src/utils';import{getTranslation as _0x6d6597}from'../utils/common-translations';export default class X extends _0x39d43e{[_0x10b2('0x66')](){const _0x3a8129=this[_0x10b2('0x37')];if(!_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x4')))return;const _0x266d3b=_0x3a8129[_0x10b2('0x1c')]['get'](_0x10b2('0x42')),_0xacaf7e=_0x3a8129[_0x10b2('0x1c')]['get'](_0x10b2('0x27')),_0x1bccd9={},_0x41e848=_0x3a8129[_0x10b2('0x33')];if(_0x266d3b[_0x10b2('0x70')](_0x10b2('0x39')),_0x266d3b[_0x10b2('0x22')][_0x10b2('0x0')](_0x10b2('0x58'),_0x35bb24=>_0x6d6597(_0x41e848,_0x10b2('0x2f'),_0x35bb24)),_0x266d3b['_descriptionFactory'][_0x10b2('0x0')](_0x10b2('0x38'),_0xb7eae7=>_0x6d6597(_0x41e848,'ELEMENT_INLINE_IMAGE',_0xb7eae7)),_0x266d3b[_0x10b2('0x22')][_0x10b2('0x0')](_0x10b2('0x25'),()=>_0x6d6597(_0x41e848,_0x10b2('0x63'))),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0xe'))&&_0x266d3b[_0x10b2('0x70')](_0x10b2('0x23')),_0x3a8129[_0x10b2('0x1c')]['has'](_0x10b2('0x50'))&&_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x64'))&&(_0x266d3b[_0x10b2('0x70')](_0x10b2('0x6c'),(_0x539cc0,_0x422973)=>{const _0x11010e=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model'][_0x10b2('0x44')][_0x10b2('0x29')]);_0x3a8129['model'][_0x10b2('0x35')](()=>{_0x266d3b[_0x10b2('0x69')](_0x11010e,{'commandName':_0x10b2('0x6c'),'commandParams':[_0x422973]},[],_0x10b2('0x59'));});}),_0x266d3b['enableCommand'](_0x10b2('0x46'),(_0x21e741,_0x14f035)=>{_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](_0x5ebf3d=>{let _0x759323=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x4b612d=_0x5ebf3d[_0x10b2('0x17')](_0x759323);const _0x2b6996=_0x17179d[_0x10b2('0x2c')](_0x4b612d[_0x10b2('0x45')],_0x10b2('0x2a')),_0x267c76=_0x17179d[_0x10b2('0x2c')](_0x4b612d['end'],'toNext');_0x266d3b[_0x10b2('0x3e')](()=>_0x21e741(_0x14f035)),_0x759323=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x4b612d=_0x5ebf3d[_0x10b2('0x17')](_0x759323);const _0x21d9a5=_0x5ebf3d[_0x10b2('0x5c')](_0x2b6996,_0x267c76);_0x2b6996[_0x10b2('0x20')](),_0x267c76[_0x10b2('0x20')](),_0x266d3b[_0x10b2('0x69')](_0x759323,{'commandName':_0x10b2('0x6c'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x21d9a5['start']['isBefore'](_0x4b612d['start'])&&_0x266d3b[_0x10b2('0x10')](_0x5ebf3d[_0x10b2('0x5c')](_0x21d9a5['start'],_0x4b612d[_0x10b2('0x45')]),_0x10b2('0xd')),_0x4b612d[_0x10b2('0x1')][_0x10b2('0x72')](_0x21d9a5[_0x10b2('0x1')])&&_0x266d3b[_0x10b2('0x10')](_0x5ebf3d[_0x10b2('0x5c')](_0x4b612d[_0x10b2('0x1')],_0x21d9a5[_0x10b2('0x1')]),'convertInlineImageToBlock');});}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),'convertInlineImageToBlock','join',()=>{}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0xd'),_0x10b2('0x6a'),()=>{}),_0x266d3b['_suggestionFactory'][_0x10b2('0x2b')]('formatBlock',_0x10b2('0xd'),'discard',_0x266d3b['_suggestionFactory']['getSuggestionCallback'](_0x10b2('0x28'),'','accept')),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x15'),_0x10b2('0xd'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x15'),'convertInlineImageToBlock',_0x10b2('0x3'),([_0x2bc9f1])=>{const _0x5f011b=_0x266d3b['_suggestionFactory'][_0x10b2('0x18')](_0x10b2('0x15'),'',_0x10b2('0x3'));let _0x24b7bf=_0x2bc9f1[_0x10b2('0x45')],_0x8416b7=_0x2bc9f1[_0x10b2('0x1')];const _0x3d5d4c=_0x3a8129[_0x10b2('0x14')]['schema'][_0x10b2('0x5b')](_0x24b7bf,_0x10b2('0x5e')),_0x4a231c=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x1f')]['getNearestSelectionRange'](_0x8416b7,'forward');_0x3d5d4c[_0x10b2('0x53')]&&(_0x24b7bf=_0x3d5d4c[_0x10b2('0x45')]),_0x4a231c[_0x10b2('0x53')]&&(_0x8416b7=_0x4a231c[_0x10b2('0x1')]),_0x5f011b([_0x3a8129[_0x10b2('0x14')][_0x10b2('0x5c')](_0x24b7bf,_0x8416b7)]);}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0xd'),_0x10b2('0x3f'),_0x301403),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x15'),_0x10b2('0xd'),_0x10b2('0x3f'),_0x301403)),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x13'))&&(_0x266d3b[_0x10b2('0x70')]('toggleImageCaption',(_0x27231e,_0x2ccbfb)=>{const _0x4969b3=_0x3a8129['plugins'][_0x10b2('0x4c')](_0x10b2('0x30'));let _0x12b500=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']),_0x271ab3=_0x4969b3['getCaptionFromImageModelElement'](_0x12b500);_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](()=>{if(_0x271ab3)return void _0x266d3b[_0x10b2('0x16')](_0x3a8129[_0x10b2('0x14')]['createRangeOn'](_0x271ab3));const _0x5c97d0=_0xacaf7e[_0x10b2('0x3b')](_0x12b500);_0x27231e(_0x2ccbfb),_0x12b500=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']),_0x271ab3=_0x4969b3['getCaptionFromImageModelElement'](_0x12b500),_0x266d3b[_0x10b2('0x10')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x271ab3),_0x5c97d0?null:_0x10b2('0x41'));});}),_0x266d3b['_suggestionFactory']['registerCustomCallback'](_0x10b2('0x15'),_0x10b2('0x41'),'chain',_0x301403)),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')]('ImageStyleEditing')){_0x266d3b[_0x10b2('0x70')](_0x10b2('0x55'),(_0x33f8c4,_0x30ff24)=>{const _0x1e9c0a=_0x3a8129['plugins'][_0x10b2('0x4c')]('Users')['me'],_0x2bae60=_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')]('imageStyle');let _0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]),_0x3f4840=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x1a57d2),_0x232ed8=_0x2bae60['value'];if(_0x232ed8==_0x30ff24[_0x10b2('0x52')])return;const _0x522847={'commandName':_0x10b2('0x55'),'commandParams':[_0x30ff24],'formatGroupId':_0x47bcf5()};_0x3a8129[_0x10b2('0x14')]['change'](()=>{if(_0x266d3b[_0x10b2('0x5')]()[_0x10b2('0x24')](_0x309b06=>_0x309b06[_0x10b2('0x2e')]&&_0x1e9c0a==_0x309b06['author']&&(_0x10b2('0x28')==_0x309b06[_0x10b2('0x1e')]||_0x10b2('0x49')==_0x309b06[_0x10b2('0x1e')])&&(_0x10b2('0x6d')==_0x309b06['subType']||'imageStylePostApply'==_0x309b06['subType'])&&_0x309b06[_0x10b2('0x2d')]()[_0x10b2('0x19')](_0x3f4840))['forEach'](_0x4c110e=>_0x266d3b['discardSuggestion'](_0x4c110e['head'])),_0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model']['document'][_0x10b2('0x29')]),_0x3f4840=_0x3a8129[_0x10b2('0x14')][_0x10b2('0x17')](_0x1a57d2),_0x2bae60['refresh'](),_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')](_0x10b2('0x6c'))[_0x10b2('0x8')](),_0x3a8129[_0x10b2('0x5a')][_0x10b2('0x4c')]('imageTypeBlock')['refresh'](),_0x232ed8=_0x2bae60[_0x10b2('0x52')],_0x232ed8!=_0x30ff24[_0x10b2('0x52')])return _0xacaf7e[_0x10b2('0x6e')](_0x1a57d2)&&_0x2bae60[_0x10b2('0x40')](_0x30ff24[_0x10b2('0x52')],_0x1a57d2)?(_0x33f8c4(_0x30ff24),_0x1a57d2=_0xacaf7e[_0x10b2('0x7')](_0x3a8129['model'][_0x10b2('0x44')][_0x10b2('0x29')]),void _0x266d3b[_0x10b2('0x69')](_0x1a57d2,{..._0x522847,'commandReversedParams':[{'value':_0x232ed8||null}]},[],'imageStylePreApply')):void(_0xacaf7e[_0x10b2('0x3b')](_0x1a57d2)?_0x266d3b[_0x10b2('0x69')](_0x1a57d2,_0x522847,[],_0x10b2('0x32')):_0x266d3b[_0x10b2('0x65')](_0x3f4840,_0x522847,_0x10b2('0x32')));});});for(const _0x3954ff of _0x3a8129[_0x10b2('0x1c')]['get']('ImageStyleEditing')['normalizedStyles'])_0x1bccd9[_0x3954ff[_0x10b2('0x3c')]]=_0x3954ff['title'][_0x10b2('0x51')]();_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')]('formatBlock',_0x10b2('0x32'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x49'),_0x10b2('0x32'),_0x10b2('0x54'),()=>{}),_0x266d3b[_0x10b2('0x21')]['registerCustomCallback'](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x6a'),()=>{}),_0x266d3b['_suggestionFactory'][_0x10b2('0x2b')](_0x10b2('0x28'),_0x10b2('0x6d'),_0x10b2('0x3'),(_0x58279f,_0x1de23d)=>{_0x266d3b[_0x10b2('0x21')][_0x10b2('0x18')](_0x10b2('0x28'),'','accept')(_0x58279f,{'commandName':_0x1de23d['commandName'],'commandParams':_0x1de23d[_0x10b2('0x12')]});}),_0x266d3b[_0x10b2('0x21')][_0x10b2('0x2b')](_0x10b2('0x28'),'imageStylePreApply',_0x10b2('0x3f'),_0x301403);}const _0x5d7f49=[{'type':'formatBlock','subType':_0x10b2('0x6d')},{'type':'insertion','subType':_0x10b2('0x41')},{'type':_0x10b2('0x28'),'subType':_0x10b2('0xd')},{'type':_0x10b2('0x15'),'subType':_0x10b2('0xd')}];function _0x33840c(_0x45a999,_0x27227f){const _0x58a80f=_0x5d7f49['findIndex'](({type:_0x2b24ed,subType:_0x262b69})=>_0x45a999['type']==_0x2b24ed&&_0x45a999['subType']==_0x262b69),_0x406bfd=_0x5d7f49[_0x10b2('0x4d')](({type:_0x542874,subType:_0x46397b})=>_0x27227f['type']==_0x542874&&_0x27227f[_0x10b2('0x1a')]==_0x46397b);if(_0x58a80f<0x0||_0x406bfd<0x0)return!0x1;const _0x4c0735=_0x45a999[_0x10b2('0x2d')](),_0x1bc1f7=_0x27227f[_0x10b2('0x2d')]();if((0x0==_0x58a80f||0x1==_0x58a80f)&&0x2==_0x406bfd&&_0x4c0735[_0x10b2('0xa')](_0x1bc1f7))return!0x0;if(0x2==_0x58a80f&&0x3==_0x406bfd){const _0x2e698d=_0x266d3b[_0x10b2('0xc')](_0x4c0735,'insertion')[_0x10b2('0x24')](({suggestion:_0x3f5c2a,meta:_0x3e4648})=>_0x3e4648[_0x10b2('0x57')]&&_0x10b2('0xd')==_0x3f5c2a[_0x10b2('0x1a')]);if(_0x2e698d[_0x10b2('0x67')]>0x1&&_0x1bc1f7[_0x10b2('0x1')][_0x10b2('0x19')](_0x4c0735['start']))return!0x0;if(0x1==_0x2e698d[_0x10b2('0x67')]&&(_0x4c0735[_0x10b2('0x45')]['isEqual'](_0x1bc1f7[_0x10b2('0x1')])||_0x4c0735['end'][_0x10b2('0x19')](_0x1bc1f7['start'])))return!0x0;}if(0x3==_0x58a80f&&0x3==_0x406bfd&&_0x4c0735['start'][_0x10b2('0x72')](_0x1bc1f7[_0x10b2('0x45')])){const _0x2d53bd=_0x4c0735[_0x10b2('0x1')][_0x10b2('0x47')],_0x5e55ee=_0x1bc1f7[_0x10b2('0x45')][_0x10b2('0x1b')];return _0xacaf7e[_0x10b2('0x3b')](_0x2d53bd)&&_0x2d53bd===_0x5e55ee;}return!0x1;}function _0x301403(_0x199192,_0x2afb4e){return _0x33840c(_0x199192,_0x2afb4e)?[_0x199192,_0x2afb4e]:_0x33840c(_0x2afb4e,_0x199192)?[_0x2afb4e,_0x199192]:null;}_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['registerPostFixer'](()=>{let _0xb194c8=!0x1;const _0x3c5543=Array[_0x10b2('0x1d')](_0x3a8129[_0x10b2('0x14')]['document'][_0x10b2('0x43')][_0x10b2('0x56')]());for(const {name:_0x1fa005,data:_0x3ac1de}of _0x3c5543){const {group:_0x752ae2,type:_0x2005fb,subType:_0x23589e,id:_0x544f40}=_0x266d3b['_splitMarkerName'](_0x1fa005);if(_0x10b2('0x4f')==_0x752ae2&&_0x266d3b[_0x10b2('0x3d')](_0x544f40)){if(_0x10b2('0x28')==_0x2005fb&&('imageStylePreApply'==_0x23589e||_0x10b2('0x32')==_0x23589e)){const _0x24d4a4=_0x266d3b[_0x10b2('0x2')](_0x544f40);if(_0x3ac1de[_0x10b2('0x6f')]){const _0x356e3e=_0x24d4a4[_0x10b2('0x2d')]()[_0x10b2('0x4b')]();if(_0xacaf7e[_0x10b2('0x3b')](_0x356e3e))continue;_0x266d3b[_0x10b2('0x11')](_0x24d4a4),_0xb194c8=!0x0;}}if(_0x10b2('0x15')==_0x2005fb&&_0x10b2('0x41')==_0x23589e&&!_0x3ac1de[_0x10b2('0x6f')]){const _0x48f97e=_0x266d3b[_0x10b2('0x2')](_0x544f40);_0x48f97e[_0x10b2('0x48')]&&_0x48f97e[_0x10b2('0x48')][_0x10b2('0x2e')]&&(_0x266d3b[_0x10b2('0x11')](_0x48f97e[_0x10b2('0x48')]),_0xb194c8=!0x0);}}}return _0xb194c8;}),_0x3a8129['plugins'][_0x10b2('0x31')](_0x10b2('0x4a'))&&_0x266d3b[_0x10b2('0x70')]('resizeImage',(_0x42b7c8,_0x1c3512)=>{const _0x3d9d15=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')][_0x10b2('0x29')]);_0x3d9d15['getAttribute'](_0x10b2('0x68'))!=_0x1c3512[_0x10b2('0x68')]&&_0x3a8129[_0x10b2('0x14')][_0x10b2('0x35')](()=>{_0x266d3b['markBlockFormat'](_0x3d9d15,{'commandName':'resizeImage','commandParams':[_0x1c3512]});});}),_0x3a8129[_0x10b2('0x1c')][_0x10b2('0x31')](_0x10b2('0x6b'))&&_0x266d3b[_0x10b2('0x70')](_0x10b2('0x61'),(_0x273a19,_0x3a7b81)=>{const _0x509121=_0xacaf7e['getClosestSelectedImageElement'](_0x3a8129[_0x10b2('0x14')][_0x10b2('0x44')]['selection']);(_0x509121['hasAttribute']('alt')?_0x509121[_0x10b2('0x71')](_0x10b2('0xb')):'')!=_0x3a7b81['newValue']&&_0x3a8129['model'][_0x10b2('0x35')](()=>{_0x266d3b['markBlockFormat'](_0x509121,{'commandName':_0x10b2('0x61'),'commandParams':[_0x3a7b81]});});}),_0x266d3b['_descriptionFactory']['registerDescriptionCallback'](_0xc4a701=>{if(!!_0x5d7f49[_0x10b2('0x5d')](({type:_0x476b6a,subType:_0x31fc72})=>_0xc4a701[_0x10b2('0x1e')]==_0x476b6a&&_0xc4a701['subType']==_0x31fc72))return _0xc4a701['previous']?{}:void 0x0;}),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x460703=>{if(_0x10b2('0x15')==_0x460703[_0x10b2('0x1e')]||'deletion'==_0x460703[_0x10b2('0x1e')]){const _0x44def6=_0x460703['getContainedElement']();if(_0x44def6&&_0x44def6['is']('element',_0x10b2('0x25')))return{'type':_0x10b2('0x15')==_0x460703[_0x10b2('0x1e')]?'addObject':'removeObject','element':_0x44def6,'quantity':0x1};}}),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x1d7688=>_0x10b2('0x28')==_0x1d7688['type']&&_0x10b2('0xd')==_0x1d7688[_0x10b2('0x1a')]?{'type':_0x10b2('0x3a'),'content':_0x10b2('0x36')}:_0x10b2('0x28')==_0x1d7688['type']&&_0x10b2('0x59')==_0x1d7688['subType']?{'type':_0x10b2('0x3a'),'content':_0x10b2('0x5f')}:void 0x0),_0x266d3b[_0x10b2('0x22')][_0x10b2('0xf')](_0x5eb00b=>{const {data:_0x309b1f}=_0x5eb00b;if(_0x309b1f){if('imageStyle'==_0x309b1f[_0x10b2('0x60')]){const _0x212af4=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x52')];return _0x568843('side'===_0x212af4?_0x6d6597(_0x41e848,_0x10b2('0x4e')):_0x1bccd9[_0x212af4]||_0x212af4);}if(_0x10b2('0x61')==_0x309b1f[_0x10b2('0x60')]){const _0x4a293c=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x6')];return _0x4a293c?{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,_0x10b2('0x62'),'\x22'+_0x4a293c+'\x22')}:{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,'*Remove\x20image\x20text\x20alternative*')};}if(_0x10b2('0x26')==_0x309b1f[_0x10b2('0x60')]){const _0x51829b=_0x309b1f[_0x10b2('0x34')][0x0][_0x10b2('0x68')];return _0x51829b?{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,_0x10b2('0x9'),_0x51829b)}:{'type':_0x10b2('0x3a'),'content':_0x6d6597(_0x41e848,'*Reset\x20image\x20width*')};}}function _0x568843(_0x2e60a0){return{'type':'format','content':_0x6d6597(_0x41e848,'*Format:*\x20%0',_0x2e60a0)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4796=['get','registerDescriptionCallback','markBlockFormat','accept','commandParams','plugins','afterInit','document','subType','getSelectedElement','_suggestionFactory','commandName','src','handleSuggestionDescription','discard','getSuggestionCallback','model','data','selection','_descriptionFactory','TrackChangesEditing','source','getAttribute','registerCustomCallback','replaceImageSource','handleReplaceImageCommand','author','formatBlock','change','has','enableCommand','editor','Users','*Format:*\x20replace\x20image\x20URL'];(function(_0x5e15cc,_0x47963b){const _0x151674=function(_0x64d698){while(--_0x64d698){_0x5e15cc['push'](_0x5e15cc['shift']());}};_0x151674(++_0x47963b);}(_0x4796,0x1ef));const _0x1516=function(_0x5e15cc,_0x47963b){_0x5e15cc=_0x5e15cc-0x0;let _0x151674=_0x4796[_0x5e15cc];return _0x151674;};import{Plugin as _0x468807}from'ckeditor5/src/core';import{getTranslation as _0x3ee4da}from'../utils/common-translations';export default class Y extends _0x468807{[_0x1516('0x15')](){if(!this[_0x1516('0xc')][_0x1516('0x14')][_0x1516('0xa')]('ImageEditing'))return;const _0x526036=this['editor'][_0x1516('0x14')]['get'](_0x1516('0x1'));_0x526036[_0x1516('0xb')](_0x1516('0x5'),(_0x3e1ecc,_0x464ec9)=>this[_0x1516('0x6')](_0x3e1ecc,_0x464ec9)),_0x526036[_0x1516('0x19')][_0x1516('0x4')]('formatBlock',_0x1516('0x5'),_0x1516('0x12'),_0x526036['_suggestionFactory'][_0x1516('0x1e')](_0x1516('0x8'),null,_0x1516('0x1d'))),_0x526036[_0x1516('0x19')]['registerCustomCallback'](_0x1516('0x8'),_0x1516('0x5'),_0x1516('0x1d'),_0x526036[_0x1516('0x19')][_0x1516('0x1e')]('formatBlock',null,_0x1516('0x12'))),_0x526036[_0x1516('0x0')][_0x1516('0x10')](_0x1a326b=>this[_0x1516('0x1c')](_0x1a326b));}[_0x1516('0x6')](_0x1414ad,_0x1b9bb1){const _0x81d8a7=this[_0x1516('0xc')]['plugins'][_0x1516('0xf')](_0x1516('0x1')),_0x25cd64=this[_0x1516('0xc')]['model'][_0x1516('0x16')][_0x1516('0x21')][_0x1516('0x18')]();this['editor'][_0x1516('0x1f')][_0x1516('0x9')](()=>{let _0x53dd96=_0x25cd64[_0x1516('0x3')](_0x1516('0x1b'));const _0x22e368=this[_0x1516('0xc')]['plugins']['get'](_0x1516('0xd'))['me'];for(const _0x395e41 of _0x81d8a7['getSuggestions']({'skipNotAttached':!0x0})){const _0x2b00c9=_0x395e41['getContainedElement']();if(_0x1516('0x5')===_0x395e41[_0x1516('0x17')]&&_0x2b00c9===_0x25cd64){_0x395e41[_0x1516('0x7')]!==_0x22e368&&_0x395e41[_0x1516('0x1d')](),_0x53dd96=_0x395e41[_0x1516('0x20')][_0x1516('0x13')][0x0][_0x1516('0x2')];break;}}_0x1414ad(_0x1b9bb1),_0x81d8a7[_0x1516('0x11')](_0x25cd64,{'commandName':'replaceImageSource','commandParams':[{'source':_0x53dd96}]},[],_0x1516('0x5'));});}[_0x1516('0x1c')](_0x296858){const {data:_0x34d792}=_0x296858;if(_0x34d792&&_0x1516('0x5')===_0x34d792[_0x1516('0x1a')]){const _0x1a826a=_0x1516('0xe');return{'type':'format','content':_0x3ee4da(this[_0x1516('0xc')]['locale'],_0x1a826a)};}}}
23
+ const _0x3f54=['format','Users','*Format:*\x20replace\x20image\x20URL','change','_suggestionFactory','registerCustomCallback','getContainedElement','locale','get','accept','subType','TrackChangesEditing','getAttribute','commandName','registerDescriptionCallback','handleSuggestionDescription','formatBlock','document','getSelectedElement','_descriptionFactory','replaceImageSource','handleReplaceImageCommand','getSuggestionCallback','markBlockFormat','getSuggestions','editor','plugins','src','discard','has','model'];(function(_0x325ef5,_0x3f546e){const _0x5d8c2b=function(_0x3926a0){while(--_0x3926a0){_0x325ef5['push'](_0x325ef5['shift']());}};_0x5d8c2b(++_0x3f546e);}(_0x3f54,0x137));const _0x5d8c=function(_0x325ef5,_0x3f546e){_0x325ef5=_0x325ef5-0x0;let _0x5d8c2b=_0x3f54[_0x325ef5];return _0x5d8c2b;};import{Plugin as _0x5756ea}from'ckeditor5/src/core';import{getTranslation as _0x500758}from'../utils/common-translations';export default class Y extends _0x5756ea{['afterInit'](){if(!this[_0x5d8c('0x18')]['plugins'][_0x5d8c('0x1c')]('ImageEditing'))return;const _0x2dc957=this[_0x5d8c('0x18')][_0x5d8c('0x19')][_0x5d8c('0x7')](_0x5d8c('0xa'));_0x2dc957['enableCommand'](_0x5d8c('0x13'),(_0x1788af,_0x1ca4e9)=>this[_0x5d8c('0x14')](_0x1788af,_0x1ca4e9)),_0x2dc957[_0x5d8c('0x3')][_0x5d8c('0x4')]('formatBlock',_0x5d8c('0x13'),'accept',_0x2dc957[_0x5d8c('0x3')]['getSuggestionCallback']('formatBlock',null,_0x5d8c('0x1b'))),_0x2dc957[_0x5d8c('0x3')][_0x5d8c('0x4')]('formatBlock',_0x5d8c('0x13'),_0x5d8c('0x1b'),_0x2dc957['_suggestionFactory'][_0x5d8c('0x15')](_0x5d8c('0xf'),null,_0x5d8c('0x8'))),_0x2dc957[_0x5d8c('0x12')][_0x5d8c('0xd')](_0x4a8be2=>this[_0x5d8c('0xe')](_0x4a8be2));}['handleReplaceImageCommand'](_0x305684,_0x20b316){const _0x515ed1=this['editor'][_0x5d8c('0x19')][_0x5d8c('0x7')](_0x5d8c('0xa')),_0x16e067=this[_0x5d8c('0x18')]['model'][_0x5d8c('0x10')]['selection'][_0x5d8c('0x11')]();this['editor'][_0x5d8c('0x1d')][_0x5d8c('0x2')](()=>{let _0x3a5681=_0x16e067[_0x5d8c('0xb')](_0x5d8c('0x1a'));const _0x34cb68=this[_0x5d8c('0x18')][_0x5d8c('0x19')]['get'](_0x5d8c('0x0'))['me'];for(const _0x1eaff7 of _0x515ed1[_0x5d8c('0x17')]({'skipNotAttached':!0x0})){const _0x17139d=_0x1eaff7[_0x5d8c('0x5')]();if(_0x5d8c('0x13')===_0x1eaff7[_0x5d8c('0x9')]&&_0x17139d===_0x16e067){_0x1eaff7['author']!==_0x34cb68&&_0x1eaff7[_0x5d8c('0x1b')](),_0x3a5681=_0x1eaff7['data']['commandParams'][0x0]['source'];break;}}_0x305684(_0x20b316),_0x515ed1[_0x5d8c('0x16')](_0x16e067,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3a5681}]},[],_0x5d8c('0x13'));});}[_0x5d8c('0xe')](_0x26c12e){const {data:_0x3ee9df}=_0x26c12e;if(_0x3ee9df&&_0x5d8c('0x13')===_0x3ee9df[_0x5d8c('0xc')]){const _0x3fb88c=_0x5d8c('0x1');return{'type':_0x5d8c('0x1e'),'content':_0x500758(this[_0x5d8c('0x18')][_0x5d8c('0x6')],_0x3fb88c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bfb=['get','execute','editor','trackChanges','Users','value','dataInsert','forEach','TrackChangesEditing','_trackChangesExecuted','collaboration_features','listenTo','track_changes','importWord','bind','lowest','enableCommand','_trackChangesValueDuringImport','commands','plugins','_handleImportedData'];(function(_0x593257,_0x5bfb81){const _0x4101d7=function(_0x4fc434){while(--_0x4fc434){_0x593257['push'](_0x593257['shift']());}};_0x4101d7(++_0x5bfb81);}(_0x5bfb,0x1db));const _0x4101=function(_0x593257,_0x5bfb81){_0x593257=_0x593257-0x0;let _0x4101d7=_0x5bfb[_0x593257];return _0x4101d7;};import{Plugin as _0x2181df}from'ckeditor5/src/core';export default class Z extends _0x2181df{constructor(_0x1ba68e){super(_0x1ba68e),this[_0x4101('0x4')]=!0x1,this[_0x4101('0x11')]=!0x1;}['afterInit'](){const _0x45edb8=this[_0x4101('0xa')],_0x204cb4=_0x45edb8['commands'][_0x4101('0x8')]('importWord'),_0x5cf8ea=_0x45edb8['commands'][_0x4101('0x8')](_0x4101('0xb'));_0x204cb4&&(_0x204cb4['on'](_0x4101('0x9'),(_0x311034,[,_0x4d2381])=>{this[_0x4101('0x4')]=_0x5cf8ea['value'],_0x4d2381[_0x4101('0x12')][_0x4101('0x14')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x4101('0x13')](_0x204cb4,_0x4101('0xe'),this[_0x4101('0x7')][_0x4101('0x1')](this)),this[_0x4101('0x13')](_0x204cb4,'dataInsert',()=>{this[_0x4101('0x11')]&&(_0x5cf8ea['execute'](),this[_0x4101('0x11')]=!0x1);},{'priority':_0x4101('0x2')}),_0x45edb8['plugins']['get'](_0x4101('0x10'))[_0x4101('0x3')](_0x4101('0x0')));}[_0x4101('0x7')](_0x3974c7,_0x34614b){const {suggestions:_0x5bdbbb}=_0x34614b,_0x3b154a=this[_0x4101('0xa')][_0x4101('0x5')][_0x4101('0x8')]('trackChanges'),_0x8c5699=_0x3b154a[_0x4101('0xd')];this[_0x4101('0x4')]!==_0x8c5699&&(_0x3b154a[_0x4101('0x9')](),this[_0x4101('0x11')]=!0x0),_0x5bdbbb&&_0x5bdbbb[_0x4101('0xf')](({id:_0x11b287,type:_0x5a8470,author:_0x1c9966,created_at:_0x4f8d73})=>{const _0x7cd4ad={'id':_0x11b287,'type':_0x5a8470,'authorId':this[_0x4101('0xa')][_0x4101('0x6')][_0x4101('0x8')](_0x4101('0xc'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1c9966,'createdAt':_0x4f8d73?new Date(_0x4f8d73):new Date(),'source':_0x4101('0x0')}}};this[_0x4101('0xa')][_0x4101('0x6')]['get']('TrackChangesEditing')['_setSuggestionData'](_0x7cd4ad);});}}
23
+ const _0x62f5=['_trackChangesValueDuringImport','dataInsert','_handleImportedData','plugins','commands','TrackChangesEditing','listenTo','trackChanges','bind','get','afterInit','value','collaboration_features','_trackChangesExecuted','Users','_setSuggestionData','editor','importWord','execute','enableCommand','forEach'];(function(_0x4f8ae1,_0x62f54c){const _0x4aaaee=function(_0x25d2dd){while(--_0x25d2dd){_0x4f8ae1['push'](_0x4f8ae1['shift']());}};_0x4aaaee(++_0x62f54c);}(_0x62f5,0x1b2));const _0x4aaa=function(_0x4f8ae1,_0x62f54c){_0x4f8ae1=_0x4f8ae1-0x0;let _0x4aaaee=_0x62f5[_0x4f8ae1];return _0x4aaaee;};import{Plugin as _0x5be6ef}from'ckeditor5/src/core';export default class Z extends _0x5be6ef{constructor(_0x5a8090){super(_0x5a8090),this[_0x4aaa('0x7')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4aaa('0x11')](){const _0x2fbc6e=this['editor'],_0x1db674=_0x2fbc6e[_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0x3')),_0x2e0889=_0x2fbc6e[_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0xe'));_0x1db674&&(_0x1db674['on'](_0x4aaa('0x4'),(_0x45581d,[,_0x334122])=>{this[_0x4aaa('0x7')]=_0x2e0889[_0x4aaa('0x12')],_0x334122[_0x4aaa('0x13')]['track_changes']=!this[_0x4aaa('0x7')];},{'priority':'high'}),this['listenTo'](_0x1db674,_0x4aaa('0x8'),this['_handleImportedData'][_0x4aaa('0xf')](this)),this[_0x4aaa('0xd')](_0x1db674,'dataInsert',()=>{this[_0x4aaa('0x14')]&&(_0x2e0889[_0x4aaa('0x4')](),this[_0x4aaa('0x14')]=!0x1);},{'priority':'lowest'}),_0x2fbc6e[_0x4aaa('0xa')][_0x4aaa('0x10')]('TrackChangesEditing')[_0x4aaa('0x5')](_0x4aaa('0x3')));}[_0x4aaa('0x9')](_0x28c918,_0x213c86){const {suggestions:_0x29fe3a}=_0x213c86,_0x521c8a=this['editor'][_0x4aaa('0xb')][_0x4aaa('0x10')](_0x4aaa('0xe')),_0x11d55d=_0x521c8a[_0x4aaa('0x12')];this[_0x4aaa('0x7')]!==_0x11d55d&&(_0x521c8a['execute'](),this[_0x4aaa('0x14')]=!0x0),_0x29fe3a&&_0x29fe3a[_0x4aaa('0x6')](({id:_0x21f99b,type:_0x3e08b7,author:_0x1e8f86,created_at:_0xaf6a1f})=>{const _0x3f1441={'id':_0x21f99b,'type':_0x3e08b7,'authorId':this['editor'][_0x4aaa('0xa')][_0x4aaa('0x10')](_0x4aaa('0x0'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1e8f86,'createdAt':_0xaf6a1f?new Date(_0xaf6a1f):new Date(),'source':'importWord'}}};this[_0x4aaa('0x2')][_0x4aaa('0xa')][_0x4aaa('0x10')](_0x4aaa('0xc'))[_0x4aaa('0x1')](_0x3f1441);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27d3=['indent','editor','selection','checkAttribute','IndentBlock','get','registerDescriptionCallback','from','indentBlock','_descriptionFactory','markBlockFormat','outdentBlock','model','afterInit','*Outdent:*\x20%0','getItemLabel','format','change','enableCommand','outdent','*Indent:*\x20%0','blockIndent','schema','filter','plugins','has','commandName','IndentEditing'];(function(_0xba8021,_0x27d3c7){const _0x3f3bcf=function(_0x4d8e03){while(--_0x4d8e03){_0xba8021['push'](_0xba8021['shift']());}};_0x3f3bcf(++_0x27d3c7);}(_0x27d3,0x94));const _0x3f3b=function(_0xba8021,_0x27d3c7){_0xba8021=_0xba8021-0x0;let _0x3f3bcf=_0x27d3[_0xba8021];return _0x3f3bcf;};import{Plugin as _0x539673}from'ckeditor5/src/core';import{getTranslation as _0x51a3a8}from'../utils/common-translations';export default class tt extends _0x539673{[_0x3f3b('0x5')](){const _0x2f3975=this[_0x3f3b('0x15')],_0x24fadf=_0x2f3975[_0x3f3b('0x10')][_0x3f3b('0x19')]('TrackChangesEditing');_0x2f3975[_0x3f3b('0x10')][_0x3f3b('0x11')](_0x3f3b('0x13'))&&(_0x24fadf[_0x3f3b('0xa')](_0x3f3b('0x14')),_0x24fadf[_0x3f3b('0xa')](_0x3f3b('0xb')));const _0x417a73=_0x2f3975['locale'];if(_0x2f3975[_0x3f3b('0x10')][_0x3f3b('0x11')](_0x3f3b('0x18'))){for(const _0x3f095d of[_0x3f3b('0x0'),_0x3f3b('0x3')])_0x24fadf[_0x3f3b('0xa')](_0x3f095d,()=>{const _0x324b44=Array[_0x3f3b('0x1b')](this[_0x3f3b('0x15')]['model']['document'][_0x3f3b('0x16')]['getSelectedBlocks']())[_0x3f3b('0xf')](_0x5c4b08=>this[_0x3f3b('0x15')][_0x3f3b('0x4')][_0x3f3b('0xe')][_0x3f3b('0x17')](_0x5c4b08,_0x3f3b('0xd')));_0x2f3975[_0x3f3b('0x4')][_0x3f3b('0x9')](()=>{for(const _0x18f324 of _0x324b44)_0x24fadf[_0x3f3b('0x2')](_0x18f324,{'commandName':_0x3f095d,'commandParams':[{'value':''}],'formatGroupId':_0x3f3b('0x0')});});});_0x24fadf['_descriptionFactory'][_0x3f3b('0x1a')](_0x3ddf52=>{const {data:_0x5bebf9}=_0x3ddf52;if(!_0x5bebf9)return;if(_0x3f3b('0x0')!=_0x5bebf9[_0x3f3b('0x12')]&&_0x3f3b('0x3')!=_0x5bebf9['commandName'])return;const _0x3b1ed5=_0x3ddf52['getItems']()[0x0],_0x42964f=_0x24fadf[_0x3f3b('0x1')][_0x3f3b('0x7')](_0x3b1ed5);return _0x3f3b('0x0')==_0x5bebf9[_0x3f3b('0x12')]?{'type':_0x3f3b('0x8'),'content':_0x51a3a8(_0x417a73,_0x3f3b('0xc'),_0x42964f)}:_0x3f3b('0x3')==_0x5bebf9[_0x3f3b('0x12')]?{'type':_0x3f3b('0x8'),'content':_0x51a3a8(_0x417a73,_0x3f3b('0x6'),_0x42964f)}:void 0x0;});}}}
23
+ const _0x2e96=['editor','IndentBlock','enableCommand','plugins','getItems','_descriptionFactory','registerDescriptionCallback','TrackChangesEditing','markBlockFormat','get','schema','format','outdent','selection','commandName','indentBlock','checkAttribute','model','*Indent:*\x20%0','IndentEditing','getSelectedBlocks','filter','outdentBlock','locale','indent','document','afterInit','has'];(function(_0x5f6a86,_0x2e9610){const _0x56f841=function(_0x26fc4e){while(--_0x26fc4e){_0x5f6a86['push'](_0x5f6a86['shift']());}};_0x56f841(++_0x2e9610);}(_0x2e96,0x7d));const _0x56f8=function(_0x5f6a86,_0x2e9610){_0x5f6a86=_0x5f6a86-0x0;let _0x56f841=_0x2e96[_0x5f6a86];return _0x56f841;};import{Plugin as _0xb86280}from'ckeditor5/src/core';import{getTranslation as _0x302fe9}from'../utils/common-translations';export default class tt extends _0xb86280{[_0x56f8('0xd')](){const _0x42f12a=this[_0x56f8('0xf')],_0x6349c7=_0x42f12a['plugins'][_0x56f8('0x18')](_0x56f8('0x16'));_0x42f12a[_0x56f8('0x12')][_0x56f8('0xe')](_0x56f8('0x6'))&&(_0x6349c7[_0x56f8('0x11')](_0x56f8('0xb')),_0x6349c7[_0x56f8('0x11')](_0x56f8('0x1b')));const _0x8a7e91=_0x42f12a[_0x56f8('0xa')];if(_0x42f12a[_0x56f8('0x12')][_0x56f8('0xe')](_0x56f8('0x10'))){for(const _0x5a9086 of[_0x56f8('0x2'),_0x56f8('0x9')])_0x6349c7[_0x56f8('0x11')](_0x5a9086,()=>{const _0x105088=Array['from'](this[_0x56f8('0xf')][_0x56f8('0x4')][_0x56f8('0xc')][_0x56f8('0x0')][_0x56f8('0x7')]())[_0x56f8('0x8')](_0x4b763f=>this[_0x56f8('0xf')]['model'][_0x56f8('0x19')][_0x56f8('0x3')](_0x4b763f,'blockIndent'));_0x42f12a[_0x56f8('0x4')]['change'](()=>{for(const _0x4140eb of _0x105088)_0x6349c7[_0x56f8('0x17')](_0x4140eb,{'commandName':_0x5a9086,'commandParams':[{'value':''}],'formatGroupId':_0x56f8('0x2')});});});_0x6349c7[_0x56f8('0x14')][_0x56f8('0x15')](_0x1daab0=>{const {data:_0x5dce4e}=_0x1daab0;if(!_0x5dce4e)return;if('indentBlock'!=_0x5dce4e[_0x56f8('0x1')]&&_0x56f8('0x9')!=_0x5dce4e['commandName'])return;const _0xad104=_0x1daab0[_0x56f8('0x13')]()[0x0],_0x4baa3b=_0x6349c7['_descriptionFactory']['getItemLabel'](_0xad104);return _0x56f8('0x2')==_0x5dce4e[_0x56f8('0x1')]?{'type':'format','content':_0x302fe9(_0x8a7e91,_0x56f8('0x5'),_0x4baa3b)}:_0x56f8('0x9')==_0x5dce4e[_0x56f8('0x1')]?{'type':_0x56f8('0x1a'),'content':_0x302fe9(_0x8a7e91,'*Outdent:*\x20%0',_0x4baa3b)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10e1=['enableCommand','get','requires','TrackChangesEditing','plugins','input','editor'];(function(_0x4acd1f,_0x10e1fb){var _0x49c865=function(_0x3bfb24){while(--_0x3bfb24){_0x4acd1f['push'](_0x4acd1f['shift']());}};_0x49c865(++_0x10e1fb);}(_0x10e1,0x19e));var _0x49c8=function(_0x4acd1f,_0x10e1fb){_0x4acd1f=_0x4acd1f-0x0;var _0x49c865=_0x10e1[_0x4acd1f];return _0x49c865;};import{Plugin as _0x6da8f2}from'ckeditor5/src/core';import{Input as _0x5986be}from'ckeditor5/src/typing';export default class it extends _0x6da8f2{static get[_0x49c8('0x1')](){return[_0x5986be];}['init'](){this[_0x49c8('0x5')][_0x49c8('0x3')][_0x49c8('0x0')](_0x49c8('0x2'))[_0x49c8('0x6')](_0x49c8('0x4'));}}
23
+ var _0x332b=['requires','enableCommand','editor','input','plugins','TrackChangesEditing'];(function(_0x19443f,_0x332b38){var _0xa87239=function(_0x516bb3){while(--_0x516bb3){_0x19443f['push'](_0x19443f['shift']());}};_0xa87239(++_0x332b38);}(_0x332b,0xce));var _0xa872=function(_0x19443f,_0x332b38){_0x19443f=_0x19443f-0x0;var _0xa87239=_0x332b[_0x19443f];return _0xa87239;};import{Plugin as _0x5df920}from'ckeditor5/src/core';import{Input as _0xa34ee0}from'ckeditor5/src/typing';export default class it extends _0x5df920{static get[_0xa872('0x4')](){return[_0xa34ee0];}['init'](){this[_0xa872('0x0')][_0xa872('0x2')]['get'](_0xa872('0x3'))[_0xa872('0x5')](_0xa872('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b8c=['has','plugins','linkHref','hasAttribute','isCollapsed','getFirstRange','afterInit','model','markInlineFormat','change','selection','commandName','getAttribute','get','TrackChangesEditing','*Set\x20link:*\x20%0','getRanges','unlink','registerDescriptionCallback','editor','enableCommand','format','commandParams','document','link','from','_descriptionFactory','getFirstPosition'];(function(_0x359c63,_0x5b8ccf){const _0x26bb2d=function(_0x59b324){while(--_0x59b324){_0x359c63['push'](_0x359c63['shift']());}};_0x26bb2d(++_0x5b8ccf);}(_0x5b8c,0x145));const _0x26bb=function(_0x359c63,_0x5b8ccf){_0x359c63=_0x359c63-0x0;let _0x26bb2d=_0x5b8c[_0x359c63];return _0x26bb2d;};import{Plugin as _0x3d8f65}from'ckeditor5/src/core';import{findAttributeRange as _0x28cdcb}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x528879}from'./utils';import{getTranslation as _0x111835}from'../utils/common-translations';export default class et extends _0x3d8f65{[_0x26bb('0x11')](){const _0x339850=this['editor'];if(!_0x339850[_0x26bb('0xc')][_0x26bb('0xb')]('LinkEditing'))return;const _0x30e59a=_0x339850[_0x26bb('0xc')][_0x26bb('0x18')](_0x26bb('0x19'));_0x30e59a[_0x26bb('0x3')](_0x26bb('0x7'),(_0x376201,_0x26ecf8)=>{const _0x5adc76=_0x339850['model'][_0x26bb('0x6')][_0x26bb('0x15')];let _0x634f39=[];if(_0x5adc76['isCollapsed']){if(!_0x5adc76[_0x26bb('0xe')](_0x26bb('0xd')))return void _0x376201(_0x26ecf8);{const _0x5240fa=_0x28cdcb(_0x5adc76[_0x26bb('0xa')](),_0x26bb('0xd'),_0x5adc76['getAttribute']('linkHref'),_0x339850[_0x26bb('0x12')]);_0x634f39=[_0x5240fa];}}else _0x634f39=Array[_0x26bb('0x8')](_0x5adc76[_0x26bb('0x1b')]());_0x339850['model'][_0x26bb('0x14')](()=>{for(const _0xa8778f of _0x634f39)_0x30e59a[_0x26bb('0x13')](_0xa8778f,{'commandName':_0x26bb('0x7'),'commandParams':[_0x26ecf8]});});}),_0x30e59a['enableCommand'](_0x26bb('0x0'),()=>{const _0x1b9751=this[_0x26bb('0x2')][_0x26bb('0x12')],_0x14a3de=_0x1b9751['document'][_0x26bb('0x15')];_0x1b9751['change'](()=>{let _0xe1f283=[];if(_0x14a3de[_0x26bb('0xf')])_0xe1f283=[_0x28cdcb(_0x14a3de[_0x26bb('0xa')](),_0x26bb('0xd'),_0x14a3de[_0x26bb('0x17')](_0x26bb('0xd')),_0x339850[_0x26bb('0x12')])];else _0xe1f283=_0x528879(_0x26bb('0xd'),_0x14a3de[_0x26bb('0x10')](),_0x339850[_0x26bb('0x12')]);for(const _0x5479be of _0xe1f283)_0x30e59a['markInlineFormat'](_0x5479be,{'commandName':_0x26bb('0x0'),'commandParams':[]});});}),_0x30e59a[_0x26bb('0x9')][_0x26bb('0x1')](_0x24872d=>{const {data:_0x386215}=_0x24872d,_0x3d4c7e=_0x339850['locale'];if(_0x386215){if(_0x26bb('0x7')==_0x386215[_0x26bb('0x16')]){const _0x52edc8=_0x386215[_0x26bb('0x5')][0x0];return{'type':_0x26bb('0x4'),'content':_0x111835(_0x3d4c7e,_0x26bb('0x1a'),'\x22'+_0x52edc8+'\x22')};}return _0x26bb('0x0')==_0x386215[_0x26bb('0x16')]?{'type':_0x26bb('0x4'),'content':_0x111835(_0x3d4c7e,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x57ba=['model','format','get','editor','_descriptionFactory','enableCommand','getFirstRange','linkHref','document','*Remove\x20link*','selection','LinkEditing','change','isCollapsed','unlink','markInlineFormat','getFirstPosition','getAttribute','hasAttribute','registerDescriptionCallback','link','plugins','has','commandParams','commandName'];(function(_0x2bf203,_0x57bac3){const _0x593316=function(_0x47623a){while(--_0x47623a){_0x2bf203['push'](_0x2bf203['shift']());}};_0x593316(++_0x57bac3);}(_0x57ba,0x11c));const _0x5933=function(_0x2bf203,_0x57bac3){_0x2bf203=_0x2bf203-0x0;let _0x593316=_0x57ba[_0x2bf203];return _0x593316;};import{Plugin as _0x4d130c}from'ckeditor5/src/core';import{findAttributeRange as _0x3b8137}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2d413c}from'./utils';import{getTranslation as _0x16c533}from'../utils/common-translations';export default class et extends _0x4d130c{['afterInit'](){const _0x2b7b52=this[_0x5933('0x13')];if(!_0x2b7b52[_0x5933('0xc')][_0x5933('0xd')](_0x5933('0x2')))return;const _0x5ebf3f=_0x2b7b52[_0x5933('0xc')][_0x5933('0x12')]('TrackChangesEditing');_0x5ebf3f[_0x5933('0x15')](_0x5933('0xb'),(_0x959714,_0x2e1c3b)=>{const _0x4b9a21=_0x2b7b52[_0x5933('0x10')][_0x5933('0x18')][_0x5933('0x1')];let _0x4bfd66=[];if(_0x4b9a21[_0x5933('0x4')]){if(!_0x4b9a21[_0x5933('0x9')](_0x5933('0x17')))return void _0x959714(_0x2e1c3b);{const _0x506c29=_0x3b8137(_0x4b9a21[_0x5933('0x7')](),'linkHref',_0x4b9a21[_0x5933('0x8')]('linkHref'),_0x2b7b52[_0x5933('0x10')]);_0x4bfd66=[_0x506c29];}}else _0x4bfd66=Array['from'](_0x4b9a21['getRanges']());_0x2b7b52['model'][_0x5933('0x3')](()=>{for(const _0x1e9c34 of _0x4bfd66)_0x5ebf3f[_0x5933('0x6')](_0x1e9c34,{'commandName':_0x5933('0xb'),'commandParams':[_0x2e1c3b]});});}),_0x5ebf3f[_0x5933('0x15')](_0x5933('0x5'),()=>{const _0x28f43f=this['editor'][_0x5933('0x10')],_0x2b6a84=_0x28f43f['document']['selection'];_0x28f43f[_0x5933('0x3')](()=>{let _0x39d798=[];if(_0x2b6a84[_0x5933('0x4')])_0x39d798=[_0x3b8137(_0x2b6a84[_0x5933('0x7')](),_0x5933('0x17'),_0x2b6a84[_0x5933('0x8')]('linkHref'),_0x2b7b52[_0x5933('0x10')])];else _0x39d798=_0x2d413c(_0x5933('0x17'),_0x2b6a84[_0x5933('0x16')](),_0x2b7b52['model']);for(const _0x2f79ee of _0x39d798)_0x5ebf3f['markInlineFormat'](_0x2f79ee,{'commandName':_0x5933('0x5'),'commandParams':[]});});}),_0x5ebf3f[_0x5933('0x14')][_0x5933('0xa')](_0x3a2330=>{const {data:_0x1fd1ed}=_0x3a2330,_0x2c9e68=_0x2b7b52['locale'];if(_0x1fd1ed){if(_0x5933('0xb')==_0x1fd1ed[_0x5933('0xf')]){const _0x2a5052=_0x1fd1ed[_0x5933('0xe')][0x0];return{'type':_0x5933('0x11'),'content':_0x16c533(_0x2c9e68,'*Set\x20link:*\x20%0','\x22'+_0x2a5052+'\x22')};}return _0x5933('0x5')==_0x1fd1ed[_0x5933('0xf')]?{'type':_0x5933('0x11'),'content':_0x16c533(_0x2c9e68,_0x5933('0x0'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x506e=['add','plugins','slice','todoList','outdentList','execute','from','filter','push','getAttribute','value','checkTodoList','document','ELEMENT_BULLETED_LIST','enableCommand','editor','TodoListEditing','todoListChecked','previousSibling','ELEMENT_TODO_LIST','createPositionAt','afterInit','getSelectedBlocks','commands','model','ELEMENT_LIST_ITEM','numbered','registerElementLabel','forceValue','element','end','listIndent','ELEMENT_NUMBERED_LIST','blockName','get','selection','length','todo','bulletedList','bulleted','registerDescriptionCallback','replace','_selectedElements','schema','ListEditing','listType','nextSibling','numberedList','*Outdent:*\x20%0','_descriptionFactory','createRange','has','*Change\x20to:*\x20%0','format','change','indentList','checkChild','parent','name','listItem','isObject','*Uncheck\x20item*','*Indent:*\x20%0','markBlockFormat','List','commandName'];(function(_0x5378d4,_0x506ef9){const _0x33c4d4=function(_0x5b7732){while(--_0x5b7732){_0x5378d4['push'](_0x5378d4['shift']());}};_0x33c4d4(++_0x506ef9);}(_0x506e,0x1c2));const _0x33c4=function(_0x5378d4,_0x506ef9){_0x5378d4=_0x5378d4-0x0;let _0x33c4d4=_0x506e[_0x5378d4];return _0x33c4d4;};import{Plugin as _0x93f2d8}from'ckeditor5/src/core';import{getTranslation as _0x38b02c}from'../utils/common-translations';export default class st extends _0x93f2d8{[_0x33c4('0x21')](){const _0x178bd6=this[_0x33c4('0x1b')],_0x383c51=_0x178bd6['locale'];if(!_0x178bd6[_0x33c4('0xd')]['has'](_0x33c4('0x38')))return;const _0xfbb2fa=_0x178bd6[_0x33c4('0xd')]['get']('TrackChangesEditing'),_0x555f3d=_0x178bd6[_0x33c4('0xd')][_0x33c4('0x3f')](_0x33c4('0x1c'));function _0x3cde08(_0x55449c){return()=>{const _0x3fa5af=_0x178bd6[_0x33c4('0x24')][_0x33c4('0x18')][_0x33c4('0x2f')],_0xe8c1a0=_0x178bd6[_0x33c4('0x23')][_0x33c4('0x2e')](_0x55449c);if(_0xe8c1a0[_0x33c4('0x16')])return void _0x178bd6[_0x33c4('0x11')]('paragraph',{});const _0x184a9f=_0x55449c[_0x33c4('0xe')](0x0,-0x4),_0x4b47f5=function(_0x5aceb4,_0x12f616,_0x5be0e9){let _0x58436d=Array[_0x33c4('0x12')](_0x5aceb4)[_0x33c4('0x13')](_0x3f7a1e=>function(_0x597d67,_0x1c310a){return _0x1c310a[_0x33c4('0x2')](_0x597d67[_0x33c4('0x3')],_0x33c4('0x5'))&&!_0x1c310a[_0x33c4('0x6')](_0x597d67);}(_0x3f7a1e,_0x5be0e9));_0x58436d=_0x58436d[_0x33c4('0x13')](_0x31d797=>!_0x31d797['is'](_0x33c4('0x29'),_0x33c4('0x5'))||_0x31d797['getAttribute'](_0x33c4('0x39'))!=_0x12f616);const _0x1c3096=new Set();for(const _0xa05106 of _0x58436d)_0xa05106['is']('element',_0x33c4('0x5'))?_0x1c3096[_0x33c4('0xc')](ne(_0xa05106)):_0x1c3096[_0x33c4('0xc')](_0xa05106);return Array['from'](_0x1c3096);}(_0x3fa5af[_0x33c4('0x22')](),_0x184a9f,_0x178bd6[_0x33c4('0x24')][_0x33c4('0x37')]);_0x178bd6[_0x33c4('0x24')]['change'](()=>{for(const _0x5ab131 of _0x4b47f5)_0xfbb2fa['markBlockFormat'](_0x5ab131,{'commandName':_0x55449c,'commandParams':[{'forceValue':!_0xe8c1a0[_0x33c4('0x16')]}],'formatGroupId':_0x33c4('0x2d')},oe(_0x5ab131));});};}function _0x298b8c(_0x4ccd75){return()=>{const _0x6cfd10=function(_0x2dbc50){let _0x33d6af=Array[_0x33c4('0x12')](_0x2dbc50);const _0x4305f2=_0x33d6af['findIndex'](_0xc65c8b=>_0x33c4('0x5')!=_0xc65c8b['name']);return _0x4305f2>-0x1&&(_0x33d6af=_0x33d6af[_0x33c4('0xe')](0x0,_0x4305f2)),_0x33d6af;}(_0x178bd6[_0x33c4('0x24')][_0x33c4('0x18')][_0x33c4('0x2f')][_0x33c4('0x22')]()),_0x4a4cf3=_0x178bd6[_0x33c4('0x24')][_0x33c4('0x3e')](_0x178bd6[_0x33c4('0x24')][_0x33c4('0x20')](_0x6cfd10[0x0],'before'),_0x178bd6[_0x33c4('0x24')]['createPositionAt'](_0x6cfd10[_0x6cfd10[_0x33c4('0x30')]-0x1],_0x33c4('0x2a')));_0x178bd6[_0x33c4('0x24')][_0x33c4('0x0')](()=>{_0xfbb2fa[_0x33c4('0x9')](_0x4a4cf3,{'commandName':_0x4ccd75,'commandParams':[],'formatGroupId':_0x33c4('0x2b')},function(_0x1c9bd7){const _0x5424ff=new Set();for(const _0x3fa56b of _0x1c9bd7){let _0x5926ab=_0x3fa56b['nextSibling'];for(;_0x5926ab&&_0x5926ab[_0x33c4('0x15')](_0x33c4('0x2b'))>_0x3fa56b[_0x33c4('0x15')](_0x33c4('0x2b'));)_0x5424ff[_0x33c4('0xc')](_0x5926ab),_0x5926ab=_0x5926ab[_0x33c4('0x3a')];}return Array['from'](_0x5424ff);}(_0x6cfd10));});};}_0xfbb2fa[_0x33c4('0x1a')](_0x33c4('0x3b'),_0x3cde08(_0x33c4('0x3b'))),_0xfbb2fa[_0x33c4('0x1a')](_0x33c4('0x32'),_0x3cde08(_0x33c4('0x32'))),_0x555f3d&&_0xfbb2fa[_0x33c4('0x1a')](_0x33c4('0xf'),_0x3cde08(_0x33c4('0xf'))),_0xfbb2fa[_0x33c4('0x1a')](_0x33c4('0x1'),_0x298b8c('indentList')),_0xfbb2fa['enableCommand']('outdentList',_0x298b8c('outdentList')),_0x555f3d&&_0xfbb2fa[_0x33c4('0x1a')](_0x33c4('0x17'),()=>{const _0x2cb6fe=_0x178bd6[_0x33c4('0x23')][_0x33c4('0x2e')](_0x33c4('0x17')),_0x4a0be7=Array[_0x33c4('0x12')](_0x2cb6fe[_0x33c4('0x36')]);_0x4a0be7[_0x33c4('0x13')](_0x38aa90=>_0x38aa90[_0x33c4('0x15')](_0x33c4('0x1d'))!=_0x2cb6fe['value']),_0x178bd6[_0x33c4('0x24')][_0x33c4('0x0')](()=>{for(const _0x48b45b of _0x4a0be7)_0xfbb2fa[_0x33c4('0x9')](_0x48b45b,{'commandName':_0x33c4('0x17'),'commandParams':[{'forceValue':!_0x2cb6fe['value']}]});});}),_0xfbb2fa[_0x33c4('0x3d')][_0x33c4('0x27')](_0x33c4('0x5'),_0x2667db=>_0x38b02c(_0x383c51,'ELEMENT_LIST_ITEM',_0x2667db)),_0xfbb2fa[_0x33c4('0x3d')][_0x33c4('0x34')](_0x1db33e=>{const {data:_0x167fcb}=_0x1db33e;if(_0x167fcb){if('numberedList'==_0x167fcb[_0x33c4('0xb')]||'bulletedList'==_0x167fcb['commandName']||_0x33c4('0xf')==_0x167fcb[_0x33c4('0xb')])switch(_0x167fcb[_0x33c4('0xb')][_0x33c4('0x35')](_0x33c4('0xa'),'')){case _0x33c4('0x33'):return _0x20a4ee(_0x38b02c(_0x383c51,_0x33c4('0x19')));case _0x33c4('0x26'):return _0x20a4ee(_0x38b02c(_0x383c51,_0x33c4('0x2c')));case _0x33c4('0x31'):return _0x20a4ee(_0x38b02c(_0x383c51,_0x33c4('0x1f')));}if(_0x33c4('0x1')==_0x167fcb[_0x33c4('0xb')])return{'type':_0x33c4('0x41'),'content':_0x38b02c(_0x383c51,_0x33c4('0x8'),_0x38b02c(_0x383c51,_0x33c4('0x25')))};if(_0x33c4('0x10')==_0x167fcb[_0x33c4('0xb')])return{'type':_0x33c4('0x41'),'content':_0x38b02c(_0x383c51,_0x33c4('0x3c'),_0x38b02c(_0x383c51,_0x33c4('0x25')))};if(_0x33c4('0x17')==_0x167fcb[_0x33c4('0xb')])return _0x167fcb['commandParams'][0x0][_0x33c4('0x28')]?{'type':_0x33c4('0x41'),'content':_0x38b02c(_0x383c51,'*Check\x20item*')}:{'type':_0x33c4('0x41'),'content':_0x38b02c(_0x383c51,_0x33c4('0x7'))};}function _0x20a4ee(_0xd07fe9){return{'type':'format','content':_0x38b02c(_0x383c51,_0x33c4('0x40'),_0xd07fe9)};}});}}function ne(_0x351892){const _0x357866=_0x351892[_0x33c4('0x15')]('listIndent');if(0x0==_0x357866)return _0x351892;let _0x233ef4=_0x351892;for(;_0x351892[_0x33c4('0x1e')]&&_0x351892[_0x33c4('0x1e')]['is'](_0x33c4('0x29'),_0x33c4('0x5'));){const _0x5347d1=_0x351892[_0x33c4('0x1e')][_0x33c4('0x15')](_0x33c4('0x2b'));if(_0x5347d1==_0x357866)_0x233ef4=_0x351892[_0x33c4('0x1e')];else{if(_0x5347d1<_0x357866)break;}_0x351892=_0x351892[_0x33c4('0x1e')];}return _0x233ef4;}function oe(_0x529a9a){const _0x173c1d=[];if(_0x529a9a['is']('element',_0x33c4('0x5'))&&_0x529a9a['getAttribute']('listIndent')>0x0){let _0x21585f=_0x529a9a[_0x33c4('0x3a')];for(;_0x21585f&&'listItem'==_0x21585f[_0x33c4('0x4')]&&_0x21585f[_0x33c4('0x15')](_0x33c4('0x2b'))==_0x529a9a[_0x33c4('0x15')](_0x33c4('0x2b'));)_0x173c1d[_0x33c4('0x14')](_0x21585f),_0x21585f=_0x21585f[_0x33c4('0x3a')];}return _0x173c1d;}
23
+ const _0x116c=['ELEMENT_TODO_LIST','parent','filter','selection','end','*Indent:*\x20%0','numberedList','indentList','findIndex','get','listItem','commandName','afterInit','from','numbered','todoListChecked','element','nextSibling','document','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','previousSibling','value','blockName','add','ListEditing','listIndent','schema','ELEMENT_NUMBERED_LIST','TrackChangesEditing','push','plugins','name','slice','createPositionAt','isObject','*Check\x20item*','bulleted','change','has','model','checkTodoList','registerElementLabel','listType','length','bulletedList','_descriptionFactory','createRange','execute','ELEMENT_BULLETED_LIST','_selectedElements','commands','checkChild','getAttribute','*Uncheck\x20item*','before','todoList','paragraph','markBlockFormat','getSelectedBlocks','registerDescriptionCallback','enableCommand','todo','outdentList','format'];(function(_0x57cab3,_0x116cad){const _0x3abd8f=function(_0x462573){while(--_0x462573){_0x57cab3['push'](_0x57cab3['shift']());}};_0x3abd8f(++_0x116cad);}(_0x116c,0x1d5));const _0x3abd=function(_0x57cab3,_0x116cad){_0x57cab3=_0x57cab3-0x0;let _0x3abd8f=_0x116c[_0x57cab3];return _0x3abd8f;};import{Plugin as _0x8aa245}from'ckeditor5/src/core';import{getTranslation as _0x30bd23}from'../utils/common-translations';export default class st extends _0x8aa245{[_0x3abd('0x3f')](){const _0x31ffa7=this['editor'],_0x2b375d=_0x31ffa7['locale'];if(!_0x31ffa7[_0x3abd('0x11')][_0x3abd('0x19')](_0x3abd('0xb')))return;const _0xda5883=_0x31ffa7[_0x3abd('0x11')][_0x3abd('0x3c')](_0x3abd('0xf')),_0x517862=_0x31ffa7['plugins']['has']('TodoListEditing');function _0x1b9ed6(_0xa27115){return()=>{const _0x4e9b86=_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x4')][_0x3abd('0x36')],_0x5af03c=_0x31ffa7['commands'][_0x3abd('0x3c')](_0xa27115);if(_0x5af03c['value'])return void _0x31ffa7[_0x3abd('0x22')](_0x3abd('0x2b'),{});const _0x2afd58=_0xa27115[_0x3abd('0x13')](0x0,-0x4),_0x53ce47=function(_0x2407a8,_0x1b0d04,_0x247c19){let _0xc7f166=Array[_0x3abd('0x40')](_0x2407a8)[_0x3abd('0x35')](_0x22cec0=>function(_0xee5b7d,_0x27c471){return _0x27c471[_0x3abd('0x26')](_0xee5b7d[_0x3abd('0x34')],_0x3abd('0x3d'))&&!_0x27c471[_0x3abd('0x15')](_0xee5b7d);}(_0x22cec0,_0x247c19));_0xc7f166=_0xc7f166['filter'](_0x3d80f2=>!_0x3d80f2['is'](_0x3abd('0x2'),_0x3abd('0x3d'))||_0x3d80f2[_0x3abd('0x27')](_0x3abd('0x1d'))!=_0x1b0d04);const _0x13bc84=new Set();for(const _0x11dd75 of _0xc7f166)_0x11dd75['is']('element',_0x3abd('0x3d'))?_0x13bc84[_0x3abd('0xa')](ne(_0x11dd75)):_0x13bc84['add'](_0x11dd75);return Array[_0x3abd('0x40')](_0x13bc84);}(_0x4e9b86[_0x3abd('0x2d')](),_0x2afd58,_0x31ffa7['model'][_0x3abd('0xd')]);_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{for(const _0x4c7b92 of _0x53ce47)_0xda5883[_0x3abd('0x2c')](_0x4c7b92,{'commandName':_0xa27115,'commandParams':[{'forceValue':!_0x5af03c['value']}],'formatGroupId':_0x3abd('0x9')},oe(_0x4c7b92));});};}function _0x48e712(_0x165c30){return()=>{const _0x2314fb=function(_0x5251e8){let _0x2bd1dd=Array['from'](_0x5251e8);const _0x33b1ff=_0x2bd1dd[_0x3abd('0x3b')](_0x2cae27=>_0x3abd('0x3d')!=_0x2cae27['name']);return _0x33b1ff>-0x1&&(_0x2bd1dd=_0x2bd1dd[_0x3abd('0x13')](0x0,_0x33b1ff)),_0x2bd1dd;}(_0x31ffa7['model']['document'][_0x3abd('0x36')][_0x3abd('0x2d')]()),_0x593892=_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x21')](_0x31ffa7[_0x3abd('0x1a')]['createPositionAt'](_0x2314fb[0x0],_0x3abd('0x29')),_0x31ffa7['model'][_0x3abd('0x14')](_0x2314fb[_0x2314fb[_0x3abd('0x1e')]-0x1],_0x3abd('0x37')));_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{_0xda5883[_0x3abd('0x2c')](_0x593892,{'commandName':_0x165c30,'commandParams':[],'formatGroupId':_0x3abd('0xc')},function(_0x48a1f0){const _0xce5f65=new Set();for(const _0x4571db of _0x48a1f0){let _0x1837d7=_0x4571db[_0x3abd('0x3')];for(;_0x1837d7&&_0x1837d7[_0x3abd('0x27')](_0x3abd('0xc'))>_0x4571db[_0x3abd('0x27')](_0x3abd('0xc'));)_0xce5f65['add'](_0x1837d7),_0x1837d7=_0x1837d7['nextSibling'];}return Array['from'](_0xce5f65);}(_0x2314fb));});};}_0xda5883[_0x3abd('0x2f')](_0x3abd('0x39'),_0x1b9ed6('numberedList')),_0xda5883[_0x3abd('0x2f')]('bulletedList',_0x1b9ed6(_0x3abd('0x1f'))),_0x517862&&_0xda5883['enableCommand'](_0x3abd('0x2a'),_0x1b9ed6('todoList')),_0xda5883[_0x3abd('0x2f')](_0x3abd('0x3a'),_0x48e712(_0x3abd('0x3a'))),_0xda5883[_0x3abd('0x2f')](_0x3abd('0x31'),_0x48e712(_0x3abd('0x31'))),_0x517862&&_0xda5883['enableCommand'](_0x3abd('0x1b'),()=>{const _0x21ac4f=_0x31ffa7[_0x3abd('0x25')][_0x3abd('0x3c')]('checkTodoList'),_0x339a29=Array[_0x3abd('0x40')](_0x21ac4f[_0x3abd('0x24')]);_0x339a29[_0x3abd('0x35')](_0x4a21f1=>_0x4a21f1[_0x3abd('0x27')](_0x3abd('0x1'))!=_0x21ac4f['value']),_0x31ffa7[_0x3abd('0x1a')][_0x3abd('0x18')](()=>{for(const _0x3d5585 of _0x339a29)_0xda5883[_0x3abd('0x2c')](_0x3d5585,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x21ac4f[_0x3abd('0x8')]}]});});}),_0xda5883[_0x3abd('0x20')][_0x3abd('0x1c')]('listItem',_0x58cd58=>_0x30bd23(_0x2b375d,_0x3abd('0x6'),_0x58cd58)),_0xda5883[_0x3abd('0x20')][_0x3abd('0x2e')](_0x38ea1d=>{const {data:_0x48fc5e}=_0x38ea1d;if(_0x48fc5e){if(_0x3abd('0x39')==_0x48fc5e[_0x3abd('0x3e')]||_0x3abd('0x1f')==_0x48fc5e[_0x3abd('0x3e')]||_0x3abd('0x2a')==_0x48fc5e[_0x3abd('0x3e')])switch(_0x48fc5e[_0x3abd('0x3e')]['replace']('List','')){case _0x3abd('0x17'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0x23')));case _0x3abd('0x0'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0xe')));case _0x3abd('0x30'):return _0x4d3bb2(_0x30bd23(_0x2b375d,_0x3abd('0x33')));}if(_0x3abd('0x3a')==_0x48fc5e[_0x3abd('0x3e')])return{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x38'),_0x30bd23(_0x2b375d,_0x3abd('0x6')))};if('outdentList'==_0x48fc5e[_0x3abd('0x3e')])return{'type':'format','content':_0x30bd23(_0x2b375d,'*Outdent:*\x20%0',_0x30bd23(_0x2b375d,_0x3abd('0x6')))};if('checkTodoList'==_0x48fc5e['commandName'])return _0x48fc5e['commandParams'][0x0]['forceValue']?{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x16'))}:{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x28'))};}function _0x4d3bb2(_0x4e4e06){return{'type':_0x3abd('0x32'),'content':_0x30bd23(_0x2b375d,_0x3abd('0x5'),_0x4e4e06)};}});}}function ne(_0x221648){const _0x3dd984=_0x221648['getAttribute'](_0x3abd('0xc'));if(0x0==_0x3dd984)return _0x221648;let _0x1e085e=_0x221648;for(;_0x221648[_0x3abd('0x7')]&&_0x221648[_0x3abd('0x7')]['is']('element',_0x3abd('0x3d'));){const _0x42a845=_0x221648[_0x3abd('0x7')][_0x3abd('0x27')](_0x3abd('0xc'));if(_0x42a845==_0x3dd984)_0x1e085e=_0x221648['previousSibling'];else{if(_0x42a845<_0x3dd984)break;}_0x221648=_0x221648[_0x3abd('0x7')];}return _0x1e085e;}function oe(_0x5a6c03){const _0x359892=[];if(_0x5a6c03['is'](_0x3abd('0x2'),_0x3abd('0x3d'))&&_0x5a6c03[_0x3abd('0x27')]('listIndent')>0x0){let _0x6f700e=_0x5a6c03[_0x3abd('0x3')];for(;_0x6f700e&&_0x3abd('0x3d')==_0x6f700e[_0x3abd('0x12')]&&_0x6f700e['getAttribute'](_0x3abd('0xc'))==_0x5a6c03['getAttribute'](_0x3abd('0xc'));)_0x359892[_0x3abd('0x10')](_0x6f700e),_0x6f700e=_0x6f700e[_0x3abd('0x3')];}return _0x359892;}