@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.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 _0x3768=['*Reset\x20font\x20family*','markInlineFormat','from','selection','FontSize','editor','fontSize','commandParams','title','commandName','FontSizeEditing','*Set\x20font\x20family:*\x20%0','FontColorEditing','FontFamilyEditing','*Reset\x20font\x20color*','change','format','*Set\x20font\x20background\x20color:*\x20%0','afterInit','FontBackgroundColorEditing','_enableCommand','toLowerCase','label','isCollapsed','has','fontSize.options','get','locale','enableCommand','TrackChangesEditing','document','find','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20size*','plugins','_descriptionFactory','value','fontColor','fontBackgroundColor.colors','fontBackgroundColor','*Set\x20font\x20color:*\x20%0','fontColor.colors','model','fontFamily','trim','config'];(function(_0x3a6638,_0x376867){const _0x337d9e=function(_0x38ad6f){while(--_0x38ad6f){_0x3a6638['push'](_0x3a6638['shift']());}};_0x337d9e(++_0x376867);}(_0x3768,0x159));const _0x337d=function(_0x3a6638,_0x376867){_0x3a6638=_0x3a6638-0x0;let _0x337d9e=_0x3768[_0x3a6638];return _0x337d9e;};import{Plugin as _0x3f8aad}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1d8d63}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xfcde08}from'./utils';import{getTranslation as _0xc41133}from'../utils/common-translations';const Zt=[{'pluginName':_0x337d('0x21'),'commandName':_0x337d('0x1d')},{'pluginName':_0x337d('0x24'),'commandName':_0x337d('0x14')},{'pluginName':_0x337d('0x23'),'commandName':'fontColor'},{'pluginName':_0x337d('0x2a'),'commandName':_0x337d('0x10')}];export default class H extends _0x3f8aad{[_0x337d('0x29')](){const _0x47b122=this[_0x337d('0x1c')][_0x337d('0x4')];for(const {pluginName:_0x1840ba,commandName:_0x40de13}of Zt)this[_0x337d('0x1c')][_0x337d('0xb')][_0x337d('0x1')](_0x1840ba)&&this['_enableCommand'](_0x40de13);this[_0x337d('0x1c')][_0x337d('0xb')]['get'](_0x337d('0x6'))[_0x337d('0xc')]['registerDescriptionCallback'](_0x40519a=>{const _0x3904ff=_0x47b122['t'],{data:_0x4b3600}=_0x40519a;if(null!=_0x4b3600){if(_0x337d('0x1d')==_0x4b3600[_0x337d('0x20')]){const _0x5d29fd=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x5d29fd){const _0xf5e943=_0x3904ff(this[_0x337d('0x1c')][_0x337d('0xb')][_0x337d('0x3')](_0x337d('0x1b'))['normalizeSizeOptions'](this[_0x337d('0x1c')][_0x337d('0x16')]['get'](_0x337d('0x2')))[_0x337d('0x8')](_0x48faab=>_0x48faab[_0x337d('0x13')]==_0x5d29fd)[_0x337d('0x1f')])[_0x337d('0x2c')]();return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x9'),_0xf5e943)};}return{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0xa'))};}if('fontFamily'==_0x4b3600[_0x337d('0x20')]){const _0x157143=_0x4b3600['commandParams'][0x0][_0x337d('0xd')];return _0x157143?{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0x22'),_0x157143)}:{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0x17'))};}if(_0x337d('0xe')==_0x4b3600[_0x337d('0x20')]){const _0x599851=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x599851){const _0x1aa68c=_0x1d8d63(this['editor'][_0x337d('0x16')]['get'](_0x337d('0x12')))[_0x337d('0x8')](_0x39c04f=>_0x39c04f['model']==_0x599851);let _0x41077f=_0x599851,_0x4aa509='';return _0x1aa68c&&(_0x41077f=_0x1aa68c[_0x337d('0x2d')],_0x4aa509=_0x3904ff(_0x41077f)[_0x337d('0x2c')]()),{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x11'),_0x4aa509)[_0x337d('0x15')](),'color':{'value':_0x599851,'title':_0x4aa509||_0x41077f}};}return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x25'))};}if('fontBackgroundColor'==_0x4b3600['commandName']){const _0x4bd1f2=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x4bd1f2){const _0x3ca831=_0x1d8d63(this[_0x337d('0x1c')][_0x337d('0x16')]['get'](_0x337d('0xf')))[_0x337d('0x8')](_0x3a63f3=>_0x3a63f3[_0x337d('0x13')]==_0x4bd1f2);let _0x5822d2=_0x4bd1f2,_0x4f0fcb='';return _0x3ca831&&(_0x5822d2=_0x3ca831['label'],_0x4f0fcb=_0x3904ff(_0x5822d2)[_0x337d('0x2c')]()),{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x28'),_0x4f0fcb)['trim'](),'color':{'value':_0x4bd1f2,'title':_0x4f0fcb||_0x5822d2}};}return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,'*Reset\x20font\x20background\x20color*')};}}});}[_0x337d('0x2b')](_0x5d0135){const _0x112f45=this['editor'];_0x112f45[_0x337d('0xb')]['get']('TrackChangesEditing')[_0x337d('0x5')](_0x5d0135,(_0x37bd4e,_0x115448={})=>{const _0x3747d1=_0x112f45['model'][_0x337d('0x7')][_0x337d('0x1a')],_0x5a9ff7=_0x115448[_0x337d('0xd')];_0x3747d1[_0x337d('0x0')]?_0x37bd4e(_0x115448):_0x112f45[_0x337d('0x13')][_0x337d('0x26')](()=>{const _0x20fa6f=Array[_0x337d('0x19')](_0x3747d1['getRanges']());for(const _0x2bb033 of _0x20fa6f){const _0x51dfd2=_0x5a9ff7?[_0x2bb033]:_0xfcde08(_0x5d0135,_0x2bb033,_0x112f45[_0x337d('0x13')]);for(const _0x1b5eb6 of _0x51dfd2)_0x112f45[_0x337d('0xb')][_0x337d('0x3')](_0x337d('0x6'))[_0x337d('0x18')](_0x1b5eb6,{'commandName':_0x5d0135,'commandParams':[{'value':_0x5a9ff7}]});}});});}}
23
+ const _0x4f14=['FontColorEditing','fontSize.options','fontColor','FontBackgroundColorEditing','selection','label','find','_descriptionFactory','TrackChangesEditing','commandParams','_enableCommand','commandName','config','enableCommand','editor','trim','value','get','change','normalizeSizeOptions','document','FontFamilyEditing','*Set\x20font\x20size:*\x20%0','toLowerCase','isCollapsed','*Set\x20font\x20family:*\x20%0','getRanges','format','fontBackgroundColor.colors','*Reset\x20font\x20size*','has','FontSize','FontSizeEditing','title','fontSize','plugins','*Reset\x20font\x20color*','afterInit','*Reset\x20font\x20family*','fontFamily','model'];(function(_0x58e7b5,_0x4f146a){const _0x1d2463=function(_0x5f0402){while(--_0x5f0402){_0x58e7b5['push'](_0x58e7b5['shift']());}};_0x1d2463(++_0x4f146a);}(_0x4f14,0x1d9));const _0x1d24=function(_0x58e7b5,_0x4f146a){_0x58e7b5=_0x58e7b5-0x0;let _0x1d2463=_0x4f14[_0x58e7b5];return _0x1d2463;};import{Plugin as _0x3ed50e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x18fc12}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1eefe7}from'./utils';import{getTranslation as _0x132a0a}from'../utils/common-translations';const Zt=[{'pluginName':_0x1d24('0xa'),'commandName':_0x1d24('0xc')},{'pluginName':_0x1d24('0x28'),'commandName':_0x1d24('0x11')},{'pluginName':_0x1d24('0x13'),'commandName':_0x1d24('0x15')},{'pluginName':_0x1d24('0x16'),'commandName':'fontBackgroundColor'}];export default class H extends _0x3ed50e{[_0x1d24('0xf')](){const _0x41dff9=this[_0x1d24('0x21')]['locale'];for(const {pluginName:_0x3214d2,commandName:_0xd3e421}of Zt)this[_0x1d24('0x21')][_0x1d24('0xd')][_0x1d24('0x8')](_0x3214d2)&&this['_enableCommand'](_0xd3e421);this['editor']['plugins'][_0x1d24('0x24')](_0x1d24('0x1b'))[_0x1d24('0x1a')]['registerDescriptionCallback'](_0xc3c732=>{const _0x8b21b9=_0x41dff9['t'],{data:_0x56f625}=_0xc3c732;if(null!=_0x56f625){if(_0x1d24('0xc')==_0x56f625[_0x1d24('0x1e')]){const _0x5f0094=_0x56f625[_0x1d24('0x1c')][0x0][_0x1d24('0x23')];if(_0x5f0094){const _0x564114=_0x8b21b9(this['editor']['plugins'][_0x1d24('0x24')](_0x1d24('0x9'))[_0x1d24('0x26')](this[_0x1d24('0x21')][_0x1d24('0x1f')][_0x1d24('0x24')](_0x1d24('0x14')))[_0x1d24('0x19')](_0x1c4a97=>_0x1c4a97[_0x1d24('0x12')]==_0x5f0094)[_0x1d24('0xb')])['toLowerCase']();return{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,_0x1d24('0x0'),_0x564114)};}return{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,_0x1d24('0x7'))};}if(_0x1d24('0x11')==_0x56f625[_0x1d24('0x1e')]){const _0x5d31a7=_0x56f625[_0x1d24('0x1c')][0x0][_0x1d24('0x23')];return _0x5d31a7?{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,_0x1d24('0x3'),_0x5d31a7)}:{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,_0x1d24('0x10'))};}if('fontColor'==_0x56f625[_0x1d24('0x1e')]){const _0x57dad7=_0x56f625[_0x1d24('0x1c')][0x0][_0x1d24('0x23')];if(_0x57dad7){const _0x2dff6d=_0x18fc12(this[_0x1d24('0x21')]['config'][_0x1d24('0x24')]('fontColor.colors'))[_0x1d24('0x19')](_0x4b120b=>_0x4b120b['model']==_0x57dad7);let _0x35a376=_0x57dad7,_0x2d9dee='';return _0x2dff6d&&(_0x35a376=_0x2dff6d[_0x1d24('0x18')],_0x2d9dee=_0x8b21b9(_0x35a376)['toLowerCase']()),{'type':'format','content':_0x132a0a(_0x41dff9,'*Set\x20font\x20color:*\x20%0',_0x2d9dee)[_0x1d24('0x22')](),'color':{'value':_0x57dad7,'title':_0x2d9dee||_0x35a376}};}return{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,_0x1d24('0xe'))};}if('fontBackgroundColor'==_0x56f625[_0x1d24('0x1e')]){const _0x2c01f2=_0x56f625[_0x1d24('0x1c')][0x0][_0x1d24('0x23')];if(_0x2c01f2){const _0x59a652=_0x18fc12(this[_0x1d24('0x21')][_0x1d24('0x1f')]['get'](_0x1d24('0x6')))['find'](_0x576a80=>_0x576a80[_0x1d24('0x12')]==_0x2c01f2);let _0x16becf=_0x2c01f2,_0x5a1cd0='';return _0x59a652&&(_0x16becf=_0x59a652[_0x1d24('0x18')],_0x5a1cd0=_0x8b21b9(_0x16becf)[_0x1d24('0x1')]()),{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,'*Set\x20font\x20background\x20color:*\x20%0',_0x5a1cd0)[_0x1d24('0x22')](),'color':{'value':_0x2c01f2,'title':_0x5a1cd0||_0x16becf}};}return{'type':_0x1d24('0x5'),'content':_0x132a0a(_0x41dff9,'*Reset\x20font\x20background\x20color*')};}}});}[_0x1d24('0x1d')](_0x14f6ba){const _0x568bb4=this[_0x1d24('0x21')];_0x568bb4['plugins']['get'](_0x1d24('0x1b'))[_0x1d24('0x20')](_0x14f6ba,(_0x34a7fe,_0x45726e={})=>{const _0x5ab0b6=_0x568bb4['model'][_0x1d24('0x27')][_0x1d24('0x17')],_0x516c1b=_0x45726e['value'];_0x5ab0b6[_0x1d24('0x2')]?_0x34a7fe(_0x45726e):_0x568bb4['model'][_0x1d24('0x25')](()=>{const _0x304742=Array['from'](_0x5ab0b6[_0x1d24('0x4')]());for(const _0x2bf905 of _0x304742){const _0xa1a0cf=_0x516c1b?[_0x2bf905]:_0x1eefe7(_0x14f6ba,_0x2bf905,_0x568bb4[_0x1d24('0x12')]);for(const _0x43ec4a of _0xa1a0cf)_0x568bb4[_0x1d24('0xd')][_0x1d24('0x24')](_0x1d24('0x1b'))['markInlineFormat'](_0x43ec4a,{'commandName':_0x14f6ba,'commandParams':[{'value':_0x516c1b}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d80=['FontSize','registerDescriptionCallback','title','fontColor','*Set\x20format\x20to:*\x20%0','enableCommand','getFirstPosition','schema','document','editor','locale','selection','getAttributeProperties','entries','getAttributes','fontSize','backward','modifySelection','split','word','isCollapsed','_descriptionFactory','copyFormat','push','charAt','fontSize.options','getRanges','plugins','normalizeSizeOptions','commandName','isFormatting','TrackChangesEditing','config','commands','keys','join','get','from','createSelection','createRange','length','getSelectedBlocks','fontBackgroundColor','isBlock','model','find','toLowerCase','slice'];(function(_0x35351,_0x5d80e0){const _0x3b9f7c=function(_0xdff3c5){while(--_0xdff3c5){_0x35351['push'](_0x35351['shift']());}};_0x3b9f7c(++_0x5d80e0);}(_0x5d80,0x64));const _0x3b9f=function(_0x35351,_0x5d80e0){_0x35351=_0x35351-0x0;let _0x3b9f7c=_0x5d80[_0x35351];return _0x3b9f7c;};import{Plugin as _0x2f1b74}from'ckeditor5/src/core';import{normalizeColorOptions as _0x900d82}from'ckeditor5/src/ui';import{first as _0x155acb}from'ckeditor5/src/utils';import{getTranslation as _0x2275e7}from'../utils/common-translations';export default class W extends _0x2f1b74{['afterInit'](){const _0x5bfba9=this[_0x3b9f('0x5')],_0x2627d7=_0x5bfba9['model'],_0x12925b=_0x2627d7[_0x3b9f('0x4')][_0x3b9f('0x7')],_0x324921=_0x5bfba9[_0x3b9f('0x17')][_0x3b9f('0x20')](_0x3b9f('0x1b')),_0xe1e889=_0x5bfba9['locale'],_0x4e0438=_0x5bfba9[_0x3b9f('0x1d')]['get'](_0x3b9f('0x12')),_0x2ee97e=_0x5bfba9[_0x3b9f('0x1d')]['get']('pasteFormat');_0x4e0438&&_0x2ee97e&&(_0x324921[_0x3b9f('0x1')]('pasteFormat',(_0x190fe9,_0x2b1c51={})=>{const _0x3a1e70=_0x2b1c51;_0x2627d7['change'](()=>{const _0xd18af8=Array[_0x3b9f('0x21')](_0x12925b[_0x3b9f('0x16')]()),_0x5e6198=_0x12925b[_0x3b9f('0x10')]?[ro(_0x2627d7,_0x12925b)]:_0xd18af8,_0xfe721e=!!_0x155acb(function*(_0x2efc14,_0x1c36ca){const _0xd4eae7=_0x302fdd=>!!_0x155acb(function*(_0x2dac6f,_0x31ccd2){for(const [_0x18e279]of _0x2dac6f[_0x3b9f('0xa')]()){const _0x8d6f10=_0x31ccd2[_0x3b9f('0x8')](_0x18e279);_0x8d6f10&&_0x8d6f10[_0x3b9f('0x1a')]&&(yield _0x18e279);}}(_0x302fdd,_0x1c36ca));for(const _0x2d8394 of _0x2efc14[_0x3b9f('0x16')]())for(const _0x3d4021 of _0x2d8394['getItems']())!_0x1c36ca[_0x3b9f('0x27')](_0x3d4021)&&_0xd4eae7(_0x3d4021)&&(yield _0x3d4021);for(const _0x44d59a of _0x2efc14[_0x3b9f('0x25')]())_0xd4eae7(_0x44d59a)&&(yield _0x44d59a);_0xd4eae7(_0x2efc14)&&(yield _0x2efc14);}(_0x12925b,_0x2627d7[_0x3b9f('0x3')]));if(_0xfe721e||0x0!==Object[_0x3b9f('0x1e')](_0x3a1e70)[_0x3b9f('0x24')])for(const _0x4f700f of _0x5e6198)_0x324921['markInlineFormat'](_0x4f700f,{'commandName':'pasteFormat','commandParams':[_0x3a1e70]});});}),_0x324921[_0x3b9f('0x11')][_0x3b9f('0x2d')](_0x1c4d87=>{const {data:_0x1cc010}=_0x1c4d87;if(_0x1cc010&&'pasteFormat'===_0x1cc010[_0x3b9f('0x19')]){const _0x21f1ce=[],_0x49917a=_0x1cc010['commandParams'][0x0];for(const [_0x784624,_0x39e87b]of Object[_0x3b9f('0x9')](_0x49917a))_0x21f1ce[_0x3b9f('0x13')](no(_0x5bfba9,_0x784624,_0x39e87b));return _0x21f1ce[_0x3b9f('0x24')]?{'type':'format','content':_0x2275e7(_0xe1e889,_0x3b9f('0x0'),_0x21f1ce['join'](',\x20'))}:{'type':'format','content':_0x2275e7(_0xe1e889,'*Remove\x20all\x20formatting*')};}}),_0x5bfba9[_0x3b9f('0x17')][_0x3b9f('0x20')](_0x3b9f('0x1b'))[_0x3b9f('0x1')](_0x3b9f('0x12')));}}function ro(_0x391d69,_0x10d9a6){const _0x5be8d9=_0x391d69[_0x3b9f('0x22')](_0x10d9a6);_0x391d69[_0x3b9f('0xd')](_0x5be8d9,{'unit':'word','direction':_0x3b9f('0xc')});const _0x474d8d=_0x5be8d9[_0x3b9f('0x2')]();_0x391d69[_0x3b9f('0xd')](_0x5be8d9,{'unit':_0x3b9f('0xf'),'direction':'forward'});const _0x419aa7=_0x5be8d9['getLastPosition']();return _0x391d69[_0x3b9f('0x23')](_0x474d8d,_0x419aa7);}function no(_0x257754,_0x4fb6ac,_0x29d307){const _0x142ac9=_0x257754[_0x3b9f('0x6')]['t'],_0x228a1f=_0x4fb6ac[_0x3b9f('0xe')](/(?=[A-Z])/)[_0x3b9f('0x1f')]('\x20'),_0x3d35a1=_0x142ac9(_0x228a1f[_0x3b9f('0x14')](0x0)['toUpperCase']()+_0x228a1f[_0x3b9f('0x2b')](0x1))[_0x3b9f('0x2a')]();if('boolean'==typeof _0x29d307)return _0x3d35a1;if(_0x3b9f('0x2f')===_0x4fb6ac||_0x3b9f('0x26')===_0x4fb6ac){const _0x3fd7a0=_0x900d82(_0x257754[_0x3b9f('0x1c')][_0x3b9f('0x20')]('fontColor.colors'))[_0x3b9f('0x29')](_0x56b7ce=>_0x56b7ce[_0x3b9f('0x28')]==_0x29d307);return _0x3d35a1+'\x20('+(_0x3fd7a0?_0x142ac9(_0x3fd7a0['label'])['toLowerCase']():_0x29d307)+')';}if(_0x3b9f('0xb')===_0x4fb6ac&&isNaN(parseFloat(_0x29d307))){const _0xf52d48=_0x257754['plugins'][_0x3b9f('0x20')](_0x3b9f('0x2c'))[_0x3b9f('0x18')](_0x257754[_0x3b9f('0x1c')]['get'](_0x3b9f('0x15')))['find'](_0x3ff600=>_0x3ff600[_0x3b9f('0x28')]==_0x29d307);return _0x3d35a1+'\x20('+(_0xf52d48?_0x142ac9(_0xf52d48[_0x3b9f('0x2e')])['toLowerCase']():_0x29d307)+')';}return _0x3d35a1+'\x20('+_0x29d307+')';}
23
+ const _0x131a=['fontColor.colors','getItems','join','_descriptionFactory','model','title','TrackChangesEditing','config','copyFormat','getLastPosition','length','pasteFormat','isCollapsed','toUpperCase','editor','locale','fontBackgroundColor','keys','*Set\x20format\x20to:*\x20%0','modifySelection','change','entries','backward','fontColor','toLowerCase','FontSize','word','boolean','createSelection','document','enableCommand','isFormatting','fontSize','getRanges','markInlineFormat','fontSize.options','*Remove\x20all\x20formatting*','format','get','isBlock','commands','forward','plugins','schema','createRange','from','push','slice','label','getAttributeProperties','find','selection'];(function(_0x547ea8,_0x131a00){const _0x44d5bf=function(_0x12c870){while(--_0x12c870){_0x547ea8['push'](_0x547ea8['shift']());}};_0x44d5bf(++_0x131a00);}(_0x131a,0x1c7));const _0x44d5=function(_0x547ea8,_0x131a00){_0x547ea8=_0x547ea8-0x0;let _0x44d5bf=_0x131a[_0x547ea8];return _0x44d5bf;};import{Plugin as _0x1cab49}from'ckeditor5/src/core';import{normalizeColorOptions as _0x564fc7}from'ckeditor5/src/ui';import{first as _0x46de0e}from'ckeditor5/src/utils';import{getTranslation as _0x2d59e0}from'../utils/common-translations';export default class W extends _0x1cab49{['afterInit'](){const _0x188c6d=this[_0x44d5('0x1b')],_0x2d96b8=_0x188c6d[_0x44d5('0x11')],_0x503d2a=_0x2d96b8[_0x44d5('0x2a')][_0x44d5('0xc')],_0x3eb79f=_0x188c6d[_0x44d5('0x3')][_0x44d5('0x33')](_0x44d5('0x13')),_0x2e7571=_0x188c6d[_0x44d5('0x1c')],_0x5ee704=_0x188c6d['commands'][_0x44d5('0x33')](_0x44d5('0x15')),_0x6a0137=_0x188c6d[_0x44d5('0x1')][_0x44d5('0x33')](_0x44d5('0x18'));_0x5ee704&&_0x6a0137&&(_0x3eb79f[_0x44d5('0x2b')](_0x44d5('0x18'),(_0x246fdd,_0x27e20e={})=>{const _0x23a9da=_0x27e20e;_0x2d96b8[_0x44d5('0x21')](()=>{const _0x298a5e=Array[_0x44d5('0x6')](_0x503d2a[_0x44d5('0x2e')]()),_0x4e5dd2=_0x503d2a[_0x44d5('0x19')]?[no(_0x2d96b8,_0x503d2a)]:_0x298a5e,_0x423135=!!_0x46de0e(function*(_0x5a6f30,_0x87081a){const _0x515b08=_0x5d86de=>!!_0x46de0e(function*(_0x42774b,_0x16cc3e){for(const [_0x1059e6]of _0x42774b['getAttributes']()){const _0x111e4e=_0x16cc3e[_0x44d5('0xa')](_0x1059e6);_0x111e4e&&_0x111e4e[_0x44d5('0x2c')]&&(yield _0x1059e6);}}(_0x5d86de,_0x87081a));for(const _0x4f712b of _0x5a6f30['getRanges']())for(const _0x2a8c61 of _0x4f712b[_0x44d5('0xe')]())!_0x87081a[_0x44d5('0x0')](_0x2a8c61)&&_0x515b08(_0x2a8c61)&&(yield _0x2a8c61);for(const _0x24d29a of _0x5a6f30['getSelectedBlocks']())_0x515b08(_0x24d29a)&&(yield _0x24d29a);_0x515b08(_0x5a6f30)&&(yield _0x5a6f30);}(_0x503d2a,_0x2d96b8[_0x44d5('0x4')]));if(_0x423135||0x0!==Object[_0x44d5('0x1e')](_0x23a9da)[_0x44d5('0x17')])for(const _0x5da3e5 of _0x4e5dd2)_0x3eb79f[_0x44d5('0x2f')](_0x5da3e5,{'commandName':'pasteFormat','commandParams':[_0x23a9da]});});}),_0x3eb79f[_0x44d5('0x10')]['registerDescriptionCallback'](_0x37b605=>{const {data:_0x354bf2}=_0x37b605;if(_0x354bf2&&_0x44d5('0x18')===_0x354bf2['commandName']){const _0x385405=[],_0x12c2a8=_0x354bf2['commandParams'][0x0];for(const [_0x4b492f,_0x5b4b33]of Object[_0x44d5('0x22')](_0x12c2a8))_0x385405[_0x44d5('0x7')](co(_0x188c6d,_0x4b492f,_0x5b4b33));return _0x385405[_0x44d5('0x17')]?{'type':_0x44d5('0x32'),'content':_0x2d59e0(_0x2e7571,_0x44d5('0x1f'),_0x385405[_0x44d5('0xf')](',\x20'))}:{'type':'format','content':_0x2d59e0(_0x2e7571,_0x44d5('0x31'))};}}),_0x188c6d['plugins'][_0x44d5('0x33')]('TrackChangesEditing')[_0x44d5('0x2b')](_0x44d5('0x15')));}}function no(_0x51c609,_0x28029d){const _0x29d138=_0x51c609[_0x44d5('0x29')](_0x28029d);_0x51c609[_0x44d5('0x20')](_0x29d138,{'unit':_0x44d5('0x27'),'direction':_0x44d5('0x23')});const _0x986257=_0x29d138['getFirstPosition']();_0x51c609['modifySelection'](_0x29d138,{'unit':_0x44d5('0x27'),'direction':_0x44d5('0x2')});const _0xe400ea=_0x29d138[_0x44d5('0x16')]();return _0x51c609[_0x44d5('0x5')](_0x986257,_0xe400ea);}function co(_0x268382,_0xe6e04a,_0x452111){const _0x325e82=_0x268382[_0x44d5('0x1c')]['t'],_0x1fab95=_0xe6e04a['split'](/(?=[A-Z])/)[_0x44d5('0xf')]('\x20'),_0x2a46e3=_0x325e82(_0x1fab95['charAt'](0x0)[_0x44d5('0x1a')]()+_0x1fab95[_0x44d5('0x8')](0x1))[_0x44d5('0x25')]();if(_0x44d5('0x28')==typeof _0x452111)return _0x2a46e3;if(_0x44d5('0x24')===_0xe6e04a||_0x44d5('0x1d')===_0xe6e04a){const _0x562362=_0x564fc7(_0x268382[_0x44d5('0x14')][_0x44d5('0x33')](_0x44d5('0xd')))[_0x44d5('0xb')](_0x4b8957=>_0x4b8957[_0x44d5('0x11')]==_0x452111);return _0x2a46e3+'\x20('+(_0x562362?_0x325e82(_0x562362[_0x44d5('0x9')])[_0x44d5('0x25')]():_0x452111)+')';}if(_0x44d5('0x2d')===_0xe6e04a&&isNaN(parseFloat(_0x452111))){const _0x498213=_0x268382[_0x44d5('0x3')][_0x44d5('0x33')](_0x44d5('0x26'))['normalizeSizeOptions'](_0x268382[_0x44d5('0x14')]['get'](_0x44d5('0x30')))[_0x44d5('0xb')](_0x310a2d=>_0x310a2d[_0x44d5('0x11')]==_0x452111);return _0x2a46e3+'\x20('+(_0x498213?_0x325e82(_0x498213[_0x44d5('0x12')])[_0x44d5('0x25')]():_0x452111)+')';}return _0x2a46e3+'\x20('+_0x452111+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ef5=['_descriptionFactory','blockName','title','get','heading','find','enableCommand','getSelectedBlocks','model','document','formatBlock','registerElementLabel','isObject','TrackChangesEditing','markBlockFormat','commandParams','format','config','heading.options','has','value','schema','filter','*Change\x20to:*\x20%0','HeadingEditing','name','plugins','editor','ELEMENT_HEADING','parent','paragraph','afterInit','ELEMENT_HEADING_CUSTOM'];(function(_0x36bde5,_0x4ef5a2){const _0x116ffb=function(_0x34581d){while(--_0x34581d){_0x36bde5['push'](_0x36bde5['shift']());}};_0x116ffb(++_0x4ef5a2);}(_0x4ef5,0x14a));const _0x116f=function(_0x36bde5,_0x4ef5a2){_0x36bde5=_0x36bde5-0x0;let _0x116ffb=_0x4ef5[_0x36bde5];return _0x116ffb;};import{Plugin as _0x9f899e}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x54f569}from'./utils';import{getTranslation as _0x28ca6d}from'../utils/common-translations';export default class J extends _0x9f899e{[_0x116f('0x1f')](){const _0x3dacbf=this['editor'],_0x4a54e1=_0x3dacbf['locale'],_0x10176=_0x3dacbf[_0x116f('0x11')][_0x116f('0x3')](_0x116f('0x12'));if(!_0x3dacbf[_0x116f('0x1a')][_0x116f('0x13')](_0x116f('0x18')))return;const _0x2d0a0d=_0x3dacbf[_0x116f('0x1a')]['get'](_0x116f('0xd'));_0x2d0a0d[_0x116f('0x6')](_0x116f('0x4'),(_0x6858f7,_0x2ee8d0)=>{const _0x454e58=_0x2ee8d0[_0x116f('0x14')],_0x352a02=Array['from'](this[_0x116f('0x1b')]['model'][_0x116f('0x9')]['selection'][_0x116f('0x7')]())[_0x116f('0x16')](_0x3904a0=>function(_0x2ea285,_0x40e9dc,_0x3eb5e7){return _0x3eb5e7['checkChild'](_0x2ea285[_0x116f('0x1d')],_0x40e9dc)&&!_0x3eb5e7[_0x116f('0xc')](_0x2ea285)&&_0x2ea285[_0x116f('0x19')]!=_0x40e9dc;}(_0x3904a0,_0x454e58,this['editor'][_0x116f('0x8')][_0x116f('0x15')]));_0x3dacbf[_0x116f('0x8')]['change'](()=>{for(const _0x2d8e48 of _0x352a02)_0x2d0a0d[_0x116f('0xe')](_0x2d8e48,{'commandName':_0x116f('0x4'),'commandParams':[_0x2ee8d0],'formatGroupId':_0x116f('0x1')},_0x54f569(_0x2d8e48));});});for(const _0x345ec4 of _0x10176)_0x116f('0x1e')!=_0x345ec4[_0x116f('0x8')]&&_0x2d0a0d['_descriptionFactory'][_0x116f('0xb')](_0x345ec4[_0x116f('0x8')],_0x6b4909=>{const _0x16aeda=nn(_0x345ec4[_0x116f('0x8')]);return null!==_0x16aeda?_0x1f6a06(_0x6b4909,_0x16aeda):_0x59566a(_0x6b4909,_0x345ec4[_0x116f('0x2')]);});function _0x1f6a06(_0x20d5cd,_0x255037){return _0x28ca6d(_0x4a54e1,_0x116f('0x1c'),[_0x20d5cd,_0x255037]);}function _0x59566a(_0x338b22,_0x19a255){return _0x28ca6d(_0x4a54e1,_0x116f('0x20'),[_0x338b22,_0x19a255]);}_0x2d0a0d[_0x116f('0x0')]['registerDescriptionCallback'](_0x4f142f=>{const {type:_0x27546c,data:_0xdef6cf}=_0x4f142f;if(_0x116f('0xa')==_0x27546c&&_0xdef6cf&&_0x116f('0x4')==_0xdef6cf['commandName']){const _0x6d7276=_0xdef6cf[_0x116f('0xf')][0x0][_0x116f('0x14')],_0x3d017f=nn(_0x6d7276);if(null!==_0x3d017f)return{'type':_0x116f('0x10'),'content':_0x28ca6d(_0x4a54e1,'*Change\x20to:*\x20%0',_0x1f6a06(0x1,_0x3d017f))};const _0x165338=_0x10176[_0x116f('0x5')](_0x34e243=>_0x34e243[_0x116f('0x8')]===_0x6d7276)[_0x116f('0x2')];return{'type':_0x116f('0x10'),'content':_0x28ca6d(_0x4a54e1,_0x116f('0x17'),_0x59566a(0x1,_0x165338))};}});}}function nn(_0x11b106){const _0x1c93bb=_0x11b106['match'](/^heading(\d+)$/);return _0x1c93bb?_0x1c93bb[0x1]:null;}
23
+ const _0x159f=['heading','paragraph','_descriptionFactory','*Change\x20to:*\x20%0','parent','locale','value','enableCommand','plugins','from','name','match','getSelectedBlocks','commandName','model','blockName','title','heading.options','HeadingEditing','markBlockFormat','editor','document','checkChild','get','has','format','registerElementLabel','afterInit'];(function(_0x46668f,_0x159f37){const _0x3193b8=function(_0x2a8488){while(--_0x2a8488){_0x46668f['push'](_0x46668f['shift']());}};_0x3193b8(++_0x159f37);}(_0x159f,0x18c));const _0x3193=function(_0x46668f,_0x159f37){_0x46668f=_0x46668f-0x0;let _0x3193b8=_0x159f[_0x46668f];return _0x3193b8;};import{Plugin as _0x5739d7}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x22d46c}from'./utils';import{getTranslation as _0x36ea9b}from'../utils/common-translations';export default class J extends _0x5739d7{[_0x3193('0x17')](){const _0x4c16e9=this['editor'],_0x47f82c=_0x4c16e9[_0x3193('0x1')],_0x54455f=_0x4c16e9['config'][_0x3193('0x13')](_0x3193('0xd'));if(!_0x4c16e9[_0x3193('0x4')][_0x3193('0x14')](_0x3193('0xe')))return;const _0xbbca37=_0x4c16e9[_0x3193('0x4')]['get']('TrackChangesEditing');_0xbbca37[_0x3193('0x3')](_0x3193('0x18'),(_0x524049,_0x36f424)=>{const _0x18f4b6=_0x36f424['value'],_0x1f15bd=Array[_0x3193('0x5')](this['editor'][_0x3193('0xa')][_0x3193('0x11')]['selection'][_0x3193('0x8')]())['filter'](_0x377f4f=>function(_0x397475,_0x4926f1,_0x4ecb94){return _0x4ecb94[_0x3193('0x12')](_0x397475[_0x3193('0x0')],_0x4926f1)&&!_0x4ecb94['isObject'](_0x397475)&&_0x397475[_0x3193('0x6')]!=_0x4926f1;}(_0x377f4f,_0x18f4b6,this[_0x3193('0x10')]['model']['schema']));_0x4c16e9[_0x3193('0xa')]['change'](()=>{for(const _0x3a2fe8 of _0x1f15bd)_0xbbca37[_0x3193('0xf')](_0x3a2fe8,{'commandName':_0x3193('0x18'),'commandParams':[_0x36f424],'formatGroupId':_0x3193('0xb')},_0x22d46c(_0x3a2fe8));});});for(const _0xfc13e8 of _0x54455f)_0x3193('0x19')!=_0xfc13e8[_0x3193('0xa')]&&_0xbbca37[_0x3193('0x1a')][_0x3193('0x16')](_0xfc13e8[_0x3193('0xa')],_0x3c43d7=>{const _0x514c7e=nn(_0xfc13e8[_0x3193('0xa')]);return null!==_0x514c7e?_0x538390(_0x3c43d7,_0x514c7e):_0x2d24ec(_0x3c43d7,_0xfc13e8[_0x3193('0xc')]);});function _0x538390(_0x1a709f,_0x3960a2){return _0x36ea9b(_0x47f82c,'ELEMENT_HEADING',[_0x1a709f,_0x3960a2]);}function _0x2d24ec(_0x5a9242,_0x221a22){return _0x36ea9b(_0x47f82c,'ELEMENT_HEADING_CUSTOM',[_0x5a9242,_0x221a22]);}_0xbbca37[_0x3193('0x1a')]['registerDescriptionCallback'](_0x1029b6=>{const {type:_0x13c734,data:_0x490451}=_0x1029b6;if('formatBlock'==_0x13c734&&_0x490451&&_0x3193('0x18')==_0x490451[_0x3193('0x9')]){const _0xd5918=_0x490451['commandParams'][0x0][_0x3193('0x2')],_0x2156eb=nn(_0xd5918);if(null!==_0x2156eb)return{'type':_0x3193('0x15'),'content':_0x36ea9b(_0x47f82c,_0x3193('0x1b'),_0x538390(0x1,_0x2156eb))};const _0x367955=_0x54455f['find'](_0x2e27e4=>_0x2e27e4[_0x3193('0xa')]===_0xd5918)[_0x3193('0xc')];return{'type':_0x3193('0x15'),'content':_0x36ea9b(_0x47f82c,_0x3193('0x1b'),_0x2d24ec(0x1,_0x367955))};}});}}function nn(_0x24f55d){const _0x2a59f2=_0x24f55d[_0x3193('0x7')](/^heading(\d+)$/);return _0x2a59f2?_0x2a59f2[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5039=['editor','item','getRanges','plugins','push','config','has','value','getFirstPosition','commandName','format','selection','enableCommand','find','FORMAT_HIGHLIGHT','model','commandParams','document','toLowerCase','HighlightEditing','get','title','highlight','*Remove\x20highlight*','hasAttribute','getLastMatchingPosition','_descriptionFactory','registerDescriptionCallback','formatInline','change'];(function(_0x2777a7,_0x50393e){const _0x3d00cb=function(_0x314634){while(--_0x314634){_0x2777a7['push'](_0x2777a7['shift']());}};_0x3d00cb(++_0x50393e);}(_0x5039,0x109));const _0x3d00=function(_0x2777a7,_0x50393e){_0x2777a7=_0x2777a7-0x0;let _0x3d00cb=_0x5039[_0x2777a7];return _0x3d00cb;};import{Plugin as _0xbae39b}from'ckeditor5/src/core';import{getTranslation as _0x2bc449}from'../utils/common-translations';import{getRangesWithAttribute as _0x40b1a8}from'./utils';export default class K extends _0xbae39b{['afterInit'](){const _0x2e65bc=this[_0x3d00('0x5')];if(!_0x2e65bc['plugins'][_0x3d00('0xb')](_0x3d00('0x18')))return;const _0x5010ae=_0x2e65bc[_0x3d00('0x8')][_0x3d00('0x19')]('TrackChangesEditing');_0x5010ae[_0x3d00('0x11')](_0x3d00('0x1b'),(_0x5c18b3,_0x661496={})=>{const _0x42d95e=_0x2e65bc['model'][_0x3d00('0x16')][_0x3d00('0x10')],_0x34d5ed=_0x42d95e['getAttribute']('highlight');let _0x1ea06d=_0x661496[_0x3d00('0xc')],_0xe7369a=[];if(_0x42d95e['isCollapsed']){const _0x37c664=_0x42d95e[_0x3d00('0xd')]();if(!_0x42d95e[_0x3d00('0x1d')](_0x3d00('0x1b')))return void _0x5c18b3(_0x661496);{const _0x303fea=_0x38f853=>_0x38f853[_0x3d00('0x6')]['getAttribute']('highlight')===_0x34d5ed,_0x19a7e7=_0x37c664[_0x3d00('0x0')](_0x303fea,{'direction':'backward'}),_0x4dbd19=_0x37c664[_0x3d00('0x0')](_0x303fea);_0xe7369a=[_0x2e65bc[_0x3d00('0x14')]['createRange'](_0x19a7e7,_0x4dbd19)],_0x1ea06d==_0x34d5ed&&(_0x1ea06d=null);}}else for(const _0x7862b3 of _0x42d95e[_0x3d00('0x7')]())_0x1ea06d?_0xe7369a[_0x3d00('0x9')](_0x7862b3):_0xe7369a[_0x3d00('0x9')](..._0x40b1a8('highlight',_0x7862b3,_0x2e65bc[_0x3d00('0x14')]));_0x2e65bc['model'][_0x3d00('0x4')](()=>{for(const _0x6b2559 of _0xe7369a)_0x5010ae['markInlineFormat'](_0x6b2559,{'commandName':_0x3d00('0x1b'),'commandParams':[{'value':_0x1ea06d}]});});});const _0x11f004=_0x2e65bc['locale'];_0x5010ae[_0x3d00('0x1')][_0x3d00('0x2')](_0xd85c99=>{const {type:_0x258d11,data:_0x24baf4}=_0xd85c99;if(_0x3d00('0x3')==_0x258d11&&_0x24baf4&&_0x3d00('0x1b')==_0x24baf4[_0x3d00('0xe')]){const _0x3d5906=_0x11f004['t'],_0x107fbc=_0x24baf4[_0x3d00('0x15')][0x0][_0x3d00('0xc')];if(_0x107fbc){const _0x16523c=_0x2e65bc[_0x3d00('0xa')][_0x3d00('0x19')]('highlight.options')[_0x3d00('0x12')](_0x401c6e=>_0x401c6e[_0x3d00('0x14')]==_0x107fbc),_0x577926=_0x3d5906(_0x16523c[_0x3d00('0x1a')])[_0x3d00('0x17')]();return{'type':'format','content':_0x2bc449(_0x11f004,'*Set\x20highlight:*\x20%0',_0x577926),'color':{'value':_0x16523c['color'],'title':_0x16523c['title']}};}return{'type':_0x3d00('0xf'),'content':_0x2bc449(_0x11f004,_0x3d00('0x1c'),_0x2bc449(_0x11f004,_0x3d00('0x13')))};}});}}
23
+ const _0x25b2=['item','push','getLastMatchingPosition','has','value','markInlineFormat','plugins','title','enableCommand','formatInline','afterInit','commandName','get','HighlightEditing','highlight','*Set\x20highlight:*\x20%0','hasAttribute','model','TrackChangesEditing','getFirstPosition','getAttribute','FORMAT_HIGHLIGHT','document','commandParams','selection','registerDescriptionCallback','backward','format','getRanges','isCollapsed','createRange','editor','find'];(function(_0x58a99a,_0x25b280){const _0x2facde=function(_0x4b376c){while(--_0x4b376c){_0x58a99a['push'](_0x58a99a['shift']());}};_0x2facde(++_0x25b280);}(_0x25b2,0x1d8));const _0x2fac=function(_0x58a99a,_0x25b280){_0x58a99a=_0x58a99a-0x0;let _0x2facde=_0x25b2[_0x58a99a];return _0x2facde;};import{Plugin as _0x1d1de1}from'ckeditor5/src/core';import{getTranslation as _0x4dc6ae}from'../utils/common-translations';import{getRangesWithAttribute as _0x5f4329}from'./utils';export default class K extends _0x1d1de1{[_0x2fac('0x0')](){const _0x5ed78a=this[_0x2fac('0x15')];if(!_0x5ed78a[_0x2fac('0x1d')][_0x2fac('0x1a')](_0x2fac('0x3')))return;const _0x3e1d9f=_0x5ed78a[_0x2fac('0x1d')][_0x2fac('0x2')](_0x2fac('0x8'));_0x3e1d9f[_0x2fac('0x1f')](_0x2fac('0x4'),(_0x2a0bb3,_0x52ec33={})=>{const _0x95ce05=_0x5ed78a[_0x2fac('0x7')][_0x2fac('0xc')][_0x2fac('0xe')],_0x26aba4=_0x95ce05[_0x2fac('0xa')](_0x2fac('0x4'));let _0x2c4d35=_0x52ec33[_0x2fac('0x1b')],_0x459cbd=[];if(_0x95ce05[_0x2fac('0x13')]){const _0x325946=_0x95ce05[_0x2fac('0x9')]();if(!_0x95ce05[_0x2fac('0x6')](_0x2fac('0x4')))return void _0x2a0bb3(_0x52ec33);{const _0x25ba7d=_0x1794d7=>_0x1794d7[_0x2fac('0x17')]['getAttribute']('highlight')===_0x26aba4,_0x1a29c4=_0x325946['getLastMatchingPosition'](_0x25ba7d,{'direction':_0x2fac('0x10')}),_0x279db=_0x325946[_0x2fac('0x19')](_0x25ba7d);_0x459cbd=[_0x5ed78a[_0x2fac('0x7')][_0x2fac('0x14')](_0x1a29c4,_0x279db)],_0x2c4d35==_0x26aba4&&(_0x2c4d35=null);}}else for(const _0x45c973 of _0x95ce05[_0x2fac('0x12')]())_0x2c4d35?_0x459cbd[_0x2fac('0x18')](_0x45c973):_0x459cbd['push'](..._0x5f4329('highlight',_0x45c973,_0x5ed78a[_0x2fac('0x7')]));_0x5ed78a[_0x2fac('0x7')]['change'](()=>{for(const _0x2eae39 of _0x459cbd)_0x3e1d9f[_0x2fac('0x1c')](_0x2eae39,{'commandName':_0x2fac('0x4'),'commandParams':[{'value':_0x2c4d35}]});});});const _0x26044d=_0x5ed78a['locale'];_0x3e1d9f['_descriptionFactory'][_0x2fac('0xf')](_0x71ece6=>{const {type:_0x374749,data:_0x32457e}=_0x71ece6;if(_0x2fac('0x20')==_0x374749&&_0x32457e&&_0x2fac('0x4')==_0x32457e[_0x2fac('0x1')]){const _0x3c0009=_0x26044d['t'],_0x2f01c8=_0x32457e[_0x2fac('0xd')][0x0][_0x2fac('0x1b')];if(_0x2f01c8){const _0x2e781e=_0x5ed78a['config'][_0x2fac('0x2')]('highlight.options')[_0x2fac('0x16')](_0x4bca44=>_0x4bca44[_0x2fac('0x7')]==_0x2f01c8),_0x4dcb4b=_0x3c0009(_0x2e781e[_0x2fac('0x1e')])['toLowerCase']();return{'type':_0x2fac('0x11'),'content':_0x4dc6ae(_0x26044d,_0x2fac('0x5'),_0x4dcb4b),'color':{'value':_0x2e781e['color'],'title':_0x2e781e[_0x2fac('0x1e')]}};}return{'type':_0x2fac('0x11'),'content':_0x4dc6ae(_0x26044d,'*Remove\x20highlight*',_0x4dc6ae(_0x26044d,_0x2fac('0xb')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d17=['div','addClass','conversion','TrackChangesEditing','horizontalLine','has','_descriptionFactory','editor','ELEMENT_HORIZONTAL_LINE','HorizontalLineEditing','dataDowncast','createPositionAt','ck-horizontal-line','locale','createEmptyElement','high','createContainerElement','get','showSuggestionHighlights','registerElementLabel','plugins'];(function(_0x2c32a6,_0x4d170e){const _0x4bc6d6=function(_0x4fbd70){while(--_0x4fbd70){_0x2c32a6['push'](_0x2c32a6['shift']());}};_0x4bc6d6(++_0x4d170e);}(_0x4d17,0x11d));const _0x4bc6=function(_0x2c32a6,_0x4d170e){_0x2c32a6=_0x2c32a6-0x0;let _0x4bc6d6=_0x4d17[_0x2c32a6];return _0x4bc6d6;};import{Plugin as _0x3d77a5}from'ckeditor5/src/core';import{getTranslation as _0x1cd51c}from'../utils/common-translations';export default class Q extends _0x3d77a5{['afterInit'](){const _0x29ad4c=this[_0x4bc6('0x10')];if(!_0x29ad4c[_0x4bc6('0x8')][_0x4bc6('0xe')](_0x4bc6('0x12')))return;_0x29ad4c['plugins'][_0x4bc6('0x5')](_0x4bc6('0xc'))['enableCommand'](_0x4bc6('0xd'));const _0x46231e=_0x29ad4c[_0x4bc6('0x8')][_0x4bc6('0x5')]('TrackChangesEditing'),_0x52f3ca=_0x29ad4c[_0x4bc6('0x1')];_0x46231e[_0x4bc6('0xf')][_0x4bc6('0x7')]('horizontalLine',_0x25f0c3=>_0x1cd51c(_0x52f3ca,_0x4bc6('0x11'),_0x25f0c3)),_0x29ad4c[_0x4bc6('0xb')]['for'](_0x4bc6('0x13'))['elementToStructure']({'model':_0x4bc6('0xd'),'view':(_0x46f059,{writer:_0x1aac1b,options:_0x44bb8e})=>{if(!_0x44bb8e[_0x4bc6('0x6')])return null;const _0x541d42=_0x1aac1b[_0x4bc6('0x4')](_0x4bc6('0x9')),_0x67591b=_0x1aac1b[_0x4bc6('0x2')]('hr');return _0x1aac1b[_0x4bc6('0xa')](_0x4bc6('0x0'),_0x541d42),_0x1aac1b['insert'](_0x1aac1b[_0x4bc6('0x14')](_0x541d42,0x0),_0x67591b),_0x541d42;},'converterPriority':_0x4bc6('0x3')});}}
23
+ const _0x2450=['afterInit','ELEMENT_HORIZONTAL_LINE','high','locale','registerElementLabel','ck-horizontal-line','createPositionAt','insert','_descriptionFactory','editor','TrackChangesEditing','horizontalLine','plugins','get','elementToStructure','dataDowncast','div','createContainerElement'];(function(_0x59b368,_0x245046){const _0x282cde=function(_0x5b243b){while(--_0x5b243b){_0x59b368['push'](_0x59b368['shift']());}};_0x282cde(++_0x245046);}(_0x2450,0x1dd));const _0x282c=function(_0x59b368,_0x245046){_0x59b368=_0x59b368-0x0;let _0x282cde=_0x2450[_0x59b368];return _0x282cde;};import{Plugin as _0x1fe895}from'ckeditor5/src/core';import{getTranslation as _0x5a9c45}from'../utils/common-translations';export default class Q extends _0x1fe895{[_0x282c('0x9')](){const _0x19af2=this[_0x282c('0x0')];if(!_0x19af2['plugins']['has']('HorizontalLineEditing'))return;_0x19af2[_0x282c('0x3')][_0x282c('0x4')](_0x282c('0x1'))['enableCommand']('horizontalLine');const _0x51257b=_0x19af2[_0x282c('0x3')][_0x282c('0x4')](_0x282c('0x1')),_0x3c649e=_0x19af2[_0x282c('0xc')];_0x51257b[_0x282c('0x11')][_0x282c('0xd')](_0x282c('0x2'),_0x791914=>_0x5a9c45(_0x3c649e,_0x282c('0xa'),_0x791914)),_0x19af2['conversion']['for'](_0x282c('0x6'))[_0x282c('0x5')]({'model':'horizontalLine','view':(_0x4332d6,{writer:_0x2f4424,options:_0x542fd7})=>{if(!_0x542fd7['showSuggestionHighlights'])return null;const _0x6c958a=_0x2f4424[_0x282c('0x8')](_0x282c('0x7')),_0x104cd5=_0x2f4424['createEmptyElement']('hr');return _0x2f4424['addClass'](_0x282c('0xe'),_0x6c958a),_0x2f4424[_0x282c('0x10')](_0x2f4424[_0x282c('0xf')](_0x6c958a,0x0),_0x104cd5),_0x6c958a;},'converterPriority':_0x282c('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18de=['cancel','document','value','editor','has','plugins','getCustomProperty','getSelectedElement','htmlEmbed','ELEMENT_HTML_EMBED','get','element','*Change\x20%0\x20content*','commandName','change','model','view','_descriptionFactory','enableCommand','HtmlEmbed','rawHtml','locale','selection','markBlockFormat','format','registerElementLabel','TrackChangesEditing'];(function(_0x20a2e3,_0x18defe){const _0x52490f=function(_0x5a409a){while(--_0x5a409a){_0x20a2e3['push'](_0x20a2e3['shift']());}};_0x52490f(++_0x18defe);}(_0x18de,0xed));const _0x5249=function(_0x20a2e3,_0x18defe){_0x20a2e3=_0x20a2e3-0x0;let _0x52490f=_0x18de[_0x20a2e3];return _0x52490f;};import{Plugin as _0x1e4e07}from'ckeditor5/src/core';import{getTranslation as _0x3e56c8}from'../utils/common-translations';export default class V extends _0x1e4e07{['afterInit'](){const _0x729be5=this[_0x5249('0x9')];if(!_0x729be5['plugins'][_0x5249('0xa')](_0x5249('0x19')))return;const _0x51dd92=_0x729be5[_0x5249('0xb')][_0x5249('0x10')]('TrackChangesEditing'),_0x8a6774=_0x729be5[_0x5249('0x0')],_0x1a768b=_0x729be5['editing'][_0x5249('0x16')][_0x5249('0x7')][_0x5249('0x1')];_0x51dd92['_descriptionFactory'][_0x5249('0x4')](_0x5249('0x1a'),_0x3fdbb1=>_0x3e56c8(_0x8a6774,_0x5249('0xf'),_0x3fdbb1)),_0x729be5[_0x5249('0xb')][_0x5249('0x10')](_0x5249('0x5'))[_0x5249('0x18')](_0x5249('0xe'),(_0x6c6afa,_0x2639aa)=>{const _0x2760bf=_0x729be5[_0x5249('0x15')],_0x596063=_0x2760bf['document'][_0x5249('0x1')];_0x2760bf[_0x5249('0x14')](()=>{const _0x2e6235=function(_0x2df1f5){const _0x1f2a5c=_0x2df1f5['getSelectedElement']();if(_0x1f2a5c&&_0x1f2a5c['is'](_0x5249('0x11'),_0x5249('0x1a')))return _0x2df1f5['getSelectedElement']();return null;}(_0x596063);if(!_0x2e6235)return void _0x6c6afa(null);const _0x5995dd=_0x2e6235['getAttribute'](_0x5249('0x8'))||'';if(void 0x0===_0x2639aa)return;if(_0x2639aa===_0x5995dd)return;_0x51dd92[_0x5249('0x2')](_0x2e6235,{'commandName':_0x5249('0xe'),'commandParams':[_0x2639aa]}),_0x1a768b[_0x5249('0xd')]()[_0x5249('0xc')]('rawHtmlApi')[_0x5249('0x6')]();});}),_0x51dd92[_0x5249('0x17')]['registerDescriptionCallback'](_0x4f2150=>{const {data:_0x2f40db}=_0x4f2150;if(_0x2f40db&&_0x5249('0xe')==_0x2f40db[_0x5249('0x13')]){const _0x405e8d=_0x3e56c8(_0x8a6774,_0x5249('0xf'));return{'type':_0x5249('0x3'),'content':_0x3e56c8(_0x8a6774,_0x5249('0x12'),_0x405e8d)};}});}}
23
+ const _0x2b7d=['rawHtml','afterInit','enableCommand','getAttribute','locale','cancel','_descriptionFactory','TrackChangesEditing','ELEMENT_HTML_EMBED','rawHtmlApi','get','registerElementLabel','editing','element','plugins','markBlockFormat','view','getSelectedElement','registerDescriptionCallback','*Change\x20%0\x20content*','htmlEmbed','HtmlEmbed','change','model','selection','commandName','document','has','format'];(function(_0x292b8f,_0x2b7dd8){const _0x75913e=function(_0x11a849){while(--_0x11a849){_0x292b8f['push'](_0x292b8f['shift']());}};_0x75913e(++_0x2b7dd8);}(_0x2b7d,0x111));const _0x7591=function(_0x292b8f,_0x2b7dd8){_0x292b8f=_0x292b8f-0x0;let _0x75913e=_0x2b7d[_0x292b8f];return _0x75913e;};import{Plugin as _0x4e7e9f}from'ckeditor5/src/core';import{getTranslation as _0x3b078b}from'../utils/common-translations';export default class V extends _0x4e7e9f{[_0x7591('0x12')](){const _0x469615=this['editor'];if(!_0x469615[_0x7591('0x2')][_0x7591('0xf')](_0x7591('0x9')))return;const _0x404647=_0x469615[_0x7591('0x2')][_0x7591('0x1b')](_0x7591('0x18')),_0x2c0d8d=_0x469615[_0x7591('0x15')],_0x4e24b4=_0x469615[_0x7591('0x0')][_0x7591('0x4')][_0x7591('0xe')][_0x7591('0xc')];_0x404647[_0x7591('0x17')][_0x7591('0x1c')]('rawHtml',_0x475a73=>_0x3b078b(_0x2c0d8d,_0x7591('0x19'),_0x475a73)),_0x469615[_0x7591('0x2')][_0x7591('0x1b')](_0x7591('0x18'))[_0x7591('0x13')](_0x7591('0x8'),(_0x13c8e7,_0x36b28b)=>{const _0x2c297=_0x469615[_0x7591('0xb')],_0x25248c=_0x2c297[_0x7591('0xe')]['selection'];_0x2c297[_0x7591('0xa')](()=>{const _0x322b21=function(_0x1d0587){const _0x260bf1=_0x1d0587[_0x7591('0x5')]();if(_0x260bf1&&_0x260bf1['is'](_0x7591('0x1'),_0x7591('0x11')))return _0x1d0587[_0x7591('0x5')]();return null;}(_0x25248c);if(!_0x322b21)return void _0x13c8e7(null);const _0x2f7c24=_0x322b21[_0x7591('0x14')]('value')||'';if(void 0x0===_0x36b28b)return;if(_0x36b28b===_0x2f7c24)return;_0x404647[_0x7591('0x3')](_0x322b21,{'commandName':_0x7591('0x8'),'commandParams':[_0x36b28b]}),_0x4e24b4[_0x7591('0x5')]()['getCustomProperty'](_0x7591('0x1a'))[_0x7591('0x16')]();});}),_0x404647[_0x7591('0x17')][_0x7591('0x6')](_0xe991a0=>{const {data:_0xeeb29e}=_0xe991a0;if(_0xeeb29e&&_0x7591('0x8')==_0xeeb29e[_0x7591('0xd')]){const _0x4aeaa7=_0x3b078b(_0x2c0d8d,_0x7591('0x19'));return{'type':_0x7591('0x10'),'content':_0x3b078b(_0x2c0d8d,_0x7591('0x7'),_0x4aeaa7)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28a2=['isOwn','imageStylePreApply','isIntersecting','chain','*Set\x20image\x20text\x20alternative:*\x20%0','registerCustomCallback','ImageUploadEditing','markBlockFormat','schema','markInsertion','*Reset\x20image\x20width*','_suggestionFactory','selection','accept','join','getSuggestions','imageTypeBlock','getContainedElement','find','discard','suggestion','convertBlockImageToInline','value','get','hasAttribute','imageTypeInline','format','document','head','getCaptionFromImageModelElement','ImageInlineEditing','getAttribute','ImageResize','createRange','ELEMENT_INLINE_IMAGE','markInlineFormat','registerElementLabel','filter','ImageTextAlternativeEditing','next','isBlockImage','fromPosition','hasSuggestion','toggleImageCaption','isCollapsed','getSuggestion','type','discardSuggestion','commandName','from','*Format:*\x20%0','markDeletion','*Remove\x20image\x20text\x20alternative*','removeObject','addObject','toLowerCase','author','refresh','newValue','start','ELEMENT_IMAGE','forEach','isInContent','nodeBefore','caption','getFirstRange','imageStylePostApply','has','imageStyle','alt','formatInline','Users','toPrevious','enableCommand','isEqual','resizeImage','end','findIndex','commandReversedParams','imageTextAlternative','registerPostFixer','editor','change','model','uploadImage','subType','getClosestSelectedImageElement','isBefore','getSuggestionCallback','length','commandParams','FORMAT_SIDE_IMAGE','_findSuggestions','nodeAfter','plugins','side','previous','_splitMarkerName','name','ImageCaptionEditing','title','_descriptionFactory','getChangedMarkers','convertInlineImageToBlock','registerDescriptionCallback','insertion','insertImage','element','normalizedStyles','shouldConvertImageType','Block\x20image\x20to\x20inline\x20image','imageBlock','ELEMENT_CAPTION','detach','commands','formatBlock','forward','createRangeOn','width','getNearestSelectionRange','imageCaption'];(function(_0x2eea22,_0x28a2b4){const _0x5cae74=function(_0x3329bb){while(--_0x3329bb){_0x2eea22['push'](_0x2eea22['shift']());}};_0x5cae74(++_0x28a2b4);}(_0x28a2,0x129));const _0x5cae=function(_0x2eea22,_0x28a2b4){_0x2eea22=_0x2eea22-0x0;let _0x5cae74=_0x28a2[_0x2eea22];return _0x5cae74;};import{Plugin as _0x31a235}from'ckeditor5/src/core';import{LivePosition as _0x51bd50}from'ckeditor5/src/engine';import{uid as _0x1eae74}from'ckeditor5/src/utils';import{getTranslation as _0x83161d}from'../utils/common-translations';export default class X extends _0x31a235{['afterInit'](){const _0x260c60=this[_0x5cae('0x1a')];if(!_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')]('ImageEditing'))return;const _0x14b444=_0x260c60['plugins'][_0x5cae('0x59')]('TrackChangesEditing'),_0x11c572=_0x260c60[_0x5cae('0x27')][_0x5cae('0x59')]('ImageUtils'),_0x466f27={},_0x5558ed=_0x260c60['locale'];if(_0x14b444[_0x5cae('0x12')](_0x5cae('0x33')),_0x14b444[_0x5cae('0x2e')]['registerElementLabel'](_0x5cae('0x38'),_0x5d10d1=>_0x83161d(_0x5558ed,_0x5cae('0x5'),_0x5d10d1)),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x66')]('imageInline',_0x51322b=>_0x83161d(_0x5558ed,_0x5cae('0x64'),_0x51322b)),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x66')](_0x5cae('0x9'),()=>_0x83161d(_0x5558ed,_0x5cae('0x39'))),_0x260c60['plugins']['has'](_0x5cae('0x48'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x1d')),_0x260c60[_0x5cae('0x27')]['has']('ImageBlockEditing')&&_0x260c60['plugins'][_0x5cae('0xc')](_0x5cae('0x60'))&&(_0x14b444[_0x5cae('0x12')]('imageTypeInline',(_0x38f148,_0x1f47e1)=>{const _0x41ed18=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]);_0x260c60[_0x5cae('0x1c')][_0x5cae('0x1b')](()=>{_0x14b444[_0x5cae('0x49')](_0x41ed18,{'commandName':'imageTypeInline','commandParams':[_0x1f47e1]},[],'convertBlockImageToInline');});}),_0x14b444[_0x5cae('0x12')](_0x5cae('0x52'),(_0x260a59,_0x179df9)=>{_0x260c60[_0x5cae('0x1c')][_0x5cae('0x1b')](_0x4a06d0=>{let _0x2654aa=_0x11c572['getClosestSelectedImageElement'](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x241da5=_0x4a06d0[_0x5cae('0x3e')](_0x2654aa);const _0x5ef3b3=_0x51bd50['fromPosition'](_0x241da5[_0x5cae('0x4')],_0x5cae('0x11')),_0x5dca89=_0x51bd50[_0x5cae('0x6b')](_0x241da5[_0x5cae('0x15')],'toNext');_0x14b444['forceDefaultExecution'](()=>_0x260a59(_0x179df9)),_0x2654aa=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x241da5=_0x4a06d0['createRangeOn'](_0x2654aa);const _0x21a1fb=_0x4a06d0[_0x5cae('0x63')](_0x5ef3b3,_0x5dca89);_0x5ef3b3[_0x5cae('0x3a')](),_0x5dca89[_0x5cae('0x3a')](),_0x14b444[_0x5cae('0x49')](_0x2654aa,{'commandName':'imageTypeInline','commandParams':[]},[],_0x5cae('0x30')),_0x21a1fb[_0x5cae('0x4')][_0x5cae('0x20')](_0x241da5['start'])&&_0x14b444[_0x5cae('0x4b')](_0x4a06d0['createRange'](_0x21a1fb[_0x5cae('0x4')],_0x241da5[_0x5cae('0x4')]),_0x5cae('0x30')),_0x241da5[_0x5cae('0x15')]['isBefore'](_0x21a1fb[_0x5cae('0x15')])&&_0x14b444['markInsertion'](_0x4a06d0['createRange'](_0x241da5[_0x5cae('0x15')],_0x21a1fb['end']),_0x5cae('0x30'));});}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'convertInlineImageToBlock',_0x5cae('0x50'),()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')]('formatBlock',_0x5cae('0x30'),_0x5cae('0x4f'),()=>{}),_0x14b444[_0x5cae('0x4d')]['registerCustomCallback'](_0x5cae('0x3c'),_0x5cae('0x30'),_0x5cae('0x55'),_0x14b444[_0x5cae('0x4d')]['getSuggestionCallback'](_0x5cae('0x3c'),'',_0x5cae('0x4f'))),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x32'),_0x5cae('0x30'),_0x5cae('0x50'),()=>{}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x32'),'convertInlineImageToBlock',_0x5cae('0x55'),([_0x551f1e])=>{const _0x33e7dd=_0x14b444[_0x5cae('0x4d')][_0x5cae('0x21')]('insertion','',_0x5cae('0x55'));let _0x3c35fa=_0x551f1e[_0x5cae('0x4')],_0x3966ef=_0x551f1e[_0x5cae('0x15')];const _0x50f486=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x4a')][_0x5cae('0x40')](_0x3c35fa,'backward'),_0x41b28f=_0x260c60[_0x5cae('0x1c')]['schema'][_0x5cae('0x40')](_0x3966ef,_0x5cae('0x3d'));_0x50f486[_0x5cae('0x6e')]&&(_0x3c35fa=_0x50f486['start']),_0x41b28f[_0x5cae('0x6e')]&&(_0x3966ef=_0x41b28f[_0x5cae('0x15')]),_0x33e7dd([_0x260c60['model'][_0x5cae('0x63')](_0x3c35fa,_0x3966ef)]);}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),'convertInlineImageToBlock','chain',_0x5547a7),_0x14b444[_0x5cae('0x4d')]['registerCustomCallback'](_0x5cae('0x32'),_0x5cae('0x30'),_0x5cae('0x45'),_0x5547a7)),_0x260c60['plugins'][_0x5cae('0xc')](_0x5cae('0x2c'))&&(_0x14b444[_0x5cae('0x12')](_0x5cae('0x6d'),(_0x127f3b,_0x3c2dd0)=>{const _0x541926=_0x260c60[_0x5cae('0x27')]['get']('ImageCaptionUtils');let _0x5a1b6f=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x564bc9=_0x541926[_0x5cae('0x5f')](_0x5a1b6f);_0x260c60[_0x5cae('0x1c')]['change'](()=>{if(_0x564bc9)return void _0x14b444[_0x5cae('0x75')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x564bc9));const _0x2dedbf=_0x11c572[_0x5cae('0x6a')](_0x5a1b6f);_0x127f3b(_0x3c2dd0),_0x5a1b6f=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')]['document']['selection']),_0x564bc9=_0x541926['getCaptionFromImageModelElement'](_0x5a1b6f),_0x14b444[_0x5cae('0x4b')](_0x260c60['model'][_0x5cae('0x3e')](_0x564bc9),_0x2dedbf?null:_0x5cae('0x41'));});}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x32'),_0x5cae('0x41'),_0x5cae('0x45'),_0x5547a7)),_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')]('ImageStyleEditing')){_0x14b444['enableCommand']('imageStyle',(_0xbdf112,_0x3f97d3)=>{const _0x26529e=_0x260c60[_0x5cae('0x27')]['get'](_0x5cae('0x10'))['me'],_0x2352d1=_0x260c60[_0x5cae('0x3b')]['get'](_0x5cae('0xd'));let _0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x2672f0=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x3b8776),_0x1e2dba=_0x2352d1['value'];if(_0x1e2dba==_0x3f97d3[_0x5cae('0x58')])return;const _0xa842e9={'commandName':_0x5cae('0xd'),'commandParams':[_0x3f97d3],'formatGroupId':_0x1eae74()};_0x260c60['model'][_0x5cae('0x1b')](()=>{if(_0x14b444[_0x5cae('0x51')]()[_0x5cae('0x67')](_0x5910e9=>_0x5910e9[_0x5cae('0x7')]&&_0x26529e==_0x5910e9[_0x5cae('0x1')]&&('formatBlock'==_0x5910e9['type']||_0x5cae('0xf')==_0x5910e9[_0x5cae('0x70')])&&(_0x5cae('0x43')==_0x5910e9[_0x5cae('0x1e')]||'imageStylePostApply'==_0x5910e9[_0x5cae('0x1e')])&&_0x5910e9[_0x5cae('0xa')]()[_0x5cae('0x13')](_0x2672f0))[_0x5cae('0x6')](_0x2b4ea0=>_0x14b444[_0x5cae('0x71')](_0x2b4ea0[_0x5cae('0x5e')])),_0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x2672f0=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x3b8776),_0x2352d1['refresh'](),_0x260c60[_0x5cae('0x3b')]['get'](_0x5cae('0x5b'))[_0x5cae('0x2')](),_0x260c60[_0x5cae('0x3b')][_0x5cae('0x59')](_0x5cae('0x52'))['refresh'](),_0x1e2dba=_0x2352d1['value'],_0x1e2dba!=_0x3f97d3[_0x5cae('0x58')])return _0x11c572['isInlineImage'](_0x3b8776)&&_0x2352d1[_0x5cae('0x36')](_0x3f97d3[_0x5cae('0x58')],_0x3b8776)?(_0xbdf112(_0x3f97d3),_0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),void _0x14b444[_0x5cae('0x49')](_0x3b8776,{..._0xa842e9,'commandReversedParams':[{'value':_0x1e2dba||null}]},[],_0x5cae('0x43'))):void(_0x11c572[_0x5cae('0x6a')](_0x3b8776)?_0x14b444[_0x5cae('0x49')](_0x3b8776,_0xa842e9,[],_0x5cae('0xb')):_0x14b444[_0x5cae('0x65')](_0x2672f0,_0xa842e9,_0x5cae('0xb')));});});for(const _0x6092b7 of _0x260c60['plugins'][_0x5cae('0x59')]('ImageStyleEditing')[_0x5cae('0x35')])_0x466f27[_0x6092b7[_0x5cae('0x2b')]]=_0x6092b7[_0x5cae('0x2d')][_0x5cae('0x0')]();_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),_0x5cae('0x43'),'join',()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'imageStylePostApply','join',()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')]('formatInline',_0x5cae('0xb'),'join',()=>{}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),_0x5cae('0x43'),_0x5cae('0x4f'),()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'imageStylePreApply','discard',(_0x4bb0be,_0x339d80)=>{_0x14b444[_0x5cae('0x4d')][_0x5cae('0x21')](_0x5cae('0x3c'),'',_0x5cae('0x4f'))(_0x4bb0be,{'commandName':_0x339d80[_0x5cae('0x72')],'commandParams':_0x339d80[_0x5cae('0x17')]});}),_0x14b444['_suggestionFactory']['registerCustomCallback'](_0x5cae('0x3c'),_0x5cae('0x43'),'chain',_0x5547a7);}const _0x3409d4=[{'type':_0x5cae('0x3c'),'subType':_0x5cae('0x43')},{'type':_0x5cae('0x32'),'subType':_0x5cae('0x41')},{'type':'formatBlock','subType':_0x5cae('0x30')},{'type':'insertion','subType':_0x5cae('0x30')}];function _0xe289bf(_0x5f5aa3,_0xf6468f){const _0x4f8529=_0x3409d4[_0x5cae('0x16')](({type:_0xf83dfc,subType:_0x500a14})=>_0x5f5aa3['type']==_0xf83dfc&&_0x5f5aa3[_0x5cae('0x1e')]==_0x500a14),_0x5a6f32=_0x3409d4[_0x5cae('0x16')](({type:_0x3ac83d,subType:_0x58b7a3})=>_0xf6468f[_0x5cae('0x70')]==_0x3ac83d&&_0xf6468f['subType']==_0x58b7a3);if(_0x4f8529<0x0||_0x5a6f32<0x0)return!0x1;const _0x1d0921=_0x5f5aa3[_0x5cae('0xa')](),_0x559eac=_0xf6468f['getFirstRange']();if((0x0==_0x4f8529||0x1==_0x4f8529)&&0x2==_0x5a6f32&&_0x1d0921[_0x5cae('0x44')](_0x559eac))return!0x0;if(0x2==_0x4f8529&&0x3==_0x5a6f32){const _0x4ad0d1=_0x14b444[_0x5cae('0x25')](_0x1d0921,_0x5cae('0x32'))['filter'](({suggestion:_0x4910ad,meta:_0x4518d8})=>_0x4518d8[_0x5cae('0x42')]&&_0x5cae('0x30')==_0x4910ad[_0x5cae('0x1e')]);if(_0x4ad0d1[_0x5cae('0x22')]>0x1&&_0x559eac[_0x5cae('0x15')][_0x5cae('0x13')](_0x1d0921['start']))return!0x0;if(0x1==_0x4ad0d1[_0x5cae('0x22')]&&(_0x1d0921[_0x5cae('0x4')][_0x5cae('0x13')](_0x559eac[_0x5cae('0x15')])||_0x1d0921[_0x5cae('0x15')]['isEqual'](_0x559eac[_0x5cae('0x4')])))return!0x0;}if(0x3==_0x4f8529&&0x3==_0x5a6f32&&_0x1d0921[_0x5cae('0x4')]['isBefore'](_0x559eac['start'])){const _0x11ca0a=_0x1d0921[_0x5cae('0x15')][_0x5cae('0x26')],_0x5ce269=_0x559eac[_0x5cae('0x4')][_0x5cae('0x8')];return _0x11c572[_0x5cae('0x6a')](_0x11ca0a)&&_0x11ca0a===_0x5ce269;}return!0x1;}function _0x5547a7(_0x575e1e,_0x12466d){return _0xe289bf(_0x575e1e,_0x12466d)?[_0x575e1e,_0x12466d]:_0xe289bf(_0x12466d,_0x575e1e)?[_0x12466d,_0x575e1e]:null;}_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x19')](()=>{let _0x2780bd=!0x1;const _0x35a8a1=Array[_0x5cae('0x73')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')]['differ'][_0x5cae('0x2f')]());for(const {name:_0x2d48be,data:_0x544a08}of _0x35a8a1){const {group:_0x6a99db,type:_0x382b30,subType:_0x3e9529,id:_0x32e6b7}=_0x14b444[_0x5cae('0x2a')](_0x2d48be);if(_0x5cae('0x56')==_0x6a99db&&_0x14b444[_0x5cae('0x6c')](_0x32e6b7)){if(_0x5cae('0x3c')==_0x382b30&&(_0x5cae('0x43')==_0x3e9529||'imageStylePostApply'==_0x3e9529)){const _0x5da376=_0x14b444[_0x5cae('0x6f')](_0x32e6b7);if(_0x544a08['newRange']){const _0x4317e0=_0x5da376[_0x5cae('0xa')]()[_0x5cae('0x53')]();if(_0x11c572[_0x5cae('0x6a')](_0x4317e0))continue;_0x14b444[_0x5cae('0x71')](_0x5da376),_0x2780bd=!0x0;}}if('insertion'==_0x382b30&&'imageCaption'==_0x3e9529&&!_0x544a08['newRange']){const _0x52daf5=_0x14b444[_0x5cae('0x6f')](_0x32e6b7);_0x52daf5[_0x5cae('0x69')]&&_0x52daf5[_0x5cae('0x69')][_0x5cae('0x7')]&&(_0x14b444[_0x5cae('0x71')](_0x52daf5['next']),_0x2780bd=!0x0);}}}return _0x2780bd;}),_0x260c60['plugins']['has'](_0x5cae('0x62'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x14'),(_0xa04236,_0x2e1cdb)=>{const _0xaa1221=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')]['selection']);_0xaa1221[_0x5cae('0x61')]('width')!=_0x2e1cdb[_0x5cae('0x3f')]&&_0x260c60[_0x5cae('0x1c')]['change'](()=>{_0x14b444['markBlockFormat'](_0xaa1221,{'commandName':_0x5cae('0x14'),'commandParams':[_0x2e1cdb]});});}),_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')](_0x5cae('0x68'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x18'),(_0x12f89c,_0x131c7d)=>{const _0x8894ef=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]);(_0x8894ef[_0x5cae('0x5a')]('alt')?_0x8894ef[_0x5cae('0x61')](_0x5cae('0xe')):'')!=_0x131c7d[_0x5cae('0x3')]&&_0x260c60[_0x5cae('0x1c')]['change'](()=>{_0x14b444[_0x5cae('0x49')](_0x8894ef,{'commandName':'imageTextAlternative','commandParams':[_0x131c7d]});});}),_0x14b444['_descriptionFactory'][_0x5cae('0x31')](_0x476817=>{if(!!_0x3409d4[_0x5cae('0x54')](({type:_0x4c59be,subType:_0x3821a2})=>_0x476817[_0x5cae('0x70')]==_0x4c59be&&_0x476817[_0x5cae('0x1e')]==_0x3821a2))return _0x476817[_0x5cae('0x29')]?{}:void 0x0;}),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x31')](_0x15a4f1=>{if('insertion'==_0x15a4f1[_0x5cae('0x70')]||'deletion'==_0x15a4f1[_0x5cae('0x70')]){const _0x1fb82b=_0x15a4f1[_0x5cae('0x53')]();if(_0x1fb82b&&_0x1fb82b['is'](_0x5cae('0x34'),_0x5cae('0x9')))return{'type':_0x5cae('0x32')==_0x15a4f1[_0x5cae('0x70')]?_0x5cae('0x78'):_0x5cae('0x77'),'element':_0x1fb82b,'quantity':0x1};}}),_0x14b444[_0x5cae('0x2e')]['registerDescriptionCallback'](_0x36b24b=>_0x5cae('0x3c')==_0x36b24b[_0x5cae('0x70')]&&'convertInlineImageToBlock'==_0x36b24b['subType']?{'type':_0x5cae('0x5c'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x5cae('0x3c')==_0x36b24b[_0x5cae('0x70')]&&_0x5cae('0x57')==_0x36b24b[_0x5cae('0x1e')]?{'type':_0x5cae('0x5c'),'content':_0x5cae('0x37')}:void 0x0),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x31')](_0x9f368=>{const {data:_0x350744}=_0x9f368;if(_0x350744){if(_0x5cae('0xd')==_0x350744[_0x5cae('0x72')]){const _0x31e8f4=_0x350744[_0x5cae('0x23')][0x0][_0x5cae('0x58')];return _0x1105be(_0x5cae('0x28')===_0x31e8f4?_0x83161d(_0x5558ed,_0x5cae('0x24')):_0x466f27[_0x31e8f4]||_0x31e8f4);}if(_0x5cae('0x18')==_0x350744[_0x5cae('0x72')]){const _0x562d62=_0x350744[_0x5cae('0x23')][0x0][_0x5cae('0x3')];return _0x562d62?{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x46'),'\x22'+_0x562d62+'\x22')}:{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x76'))};}if(_0x5cae('0x14')==_0x350744[_0x5cae('0x72')]){const _0x502a38=_0x350744[_0x5cae('0x23')][0x0]['width'];return _0x502a38?{'type':_0x5cae('0x5c'),'content':_0x83161d(_0x5558ed,'*Set\x20image\x20width:*\x20%0',_0x502a38)}:{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x4c'))};}}function _0x1105be(_0x5e09f8){return{'type':_0x5cae('0x5c'),'content':_0x83161d(_0x5558ed,_0x5cae('0x74'),_0x5e09f8)};}});}}
23
+ const _0x3844=['nodeAfter','TrackChangesEditing','convertInlineImageToBlock','imageStylePreApply','accept','ImageUtils','find','_suggestionFactory','registerCustomCallback','ImageCaptionEditing','forceDefaultExecution','imageTypeBlock','afterInit','enableCommand','createRange','registerDescriptionCallback','chain','has','deletion','caption','ImageCaptionUtils','plugins','*Reset\x20image\x20width*','FORMAT_SIDE_IMAGE','nodeBefore','newRange','commandName','imageStylePostApply','isBlockImage','insertImage','getCaptionFromImageModelElement','getSuggestions','end','isInlineImage','isCollapsed','convertBlockImageToInline','shouldConvertImageType','getContainedElement','length','imageStyle','side','_descriptionFactory','ImageEditing','head','markBlockFormat','ImageBlockEditing','get','width','commands','newValue','hasAttribute','isInContent','alt','Inline\x20image\x20to\x20block\x20image','refresh','discard','getSuggestion','formatInline','normalizedStyles','ImageStyleEditing','ImageInlineEditing','isOwn','filter','value','next','backward','*Set\x20image\x20width:*\x20%0','toLowerCase','registerElementLabel','start','imageBlock','findIndex','editor','*Format:*\x20%0','author','ImageTextAlternativeEditing','_findSuggestions','imageTypeInline','markInlineFormat','ELEMENT_IMAGE','name','insertion','resizeImage','isBefore','getNearestSelectionRange','change','format','toggleImageCaption','registerPostFixer','toNext','hasSuggestion','isEqual','createRangeOn','commandReversedParams','formatBlock','fromPosition','model','getSuggestionCallback','commandParams','schema','join','locale','ImageResize','addObject','imageTextAlternative','document','markInsertion','getFirstRange','getClosestSelectedImageElement','discardSuggestion','imageInline','getAttribute','type','selection','imageCaption','toPrevious','subType','element'];(function(_0x467515,_0x38445e){const _0x57ac93=function(_0x371482){while(--_0x371482){_0x467515['push'](_0x467515['shift']());}};_0x57ac93(++_0x38445e);}(_0x3844,0x18c));const _0x57ac=function(_0x467515,_0x38445e){_0x467515=_0x467515-0x0;let _0x57ac93=_0x3844[_0x467515];return _0x57ac93;};import{Plugin as _0x577c90}from'ckeditor5/src/core';import{LivePosition as _0x56a4a9}from'ckeditor5/src/engine';import{uid as _0x4819cc}from'ckeditor5/src/utils';import{getTranslation as _0x4fd95d}from'../utils/common-translations';export default class X extends _0x577c90{[_0x57ac('0x58')](){const _0x470c42=this[_0x57ac('0x1e')];if(!_0x470c42[_0x57ac('0x61')][_0x57ac('0x5d')](_0x57ac('0x0')))return;const _0x2f763c=_0x470c42[_0x57ac('0x61')][_0x57ac('0x4')](_0x57ac('0x4d')),_0x1465b0=_0x470c42['plugins'][_0x57ac('0x4')](_0x57ac('0x51')),_0x95a75a={},_0xe4442f=_0x470c42[_0x57ac('0x3b')];if(_0x2f763c[_0x57ac('0x59')](_0x57ac('0x69')),_0x2f763c[_0x57ac('0x75')][_0x57ac('0x1a')](_0x57ac('0x1c'),_0x345280=>_0x4fd95d(_0xe4442f,_0x57ac('0x25'),_0x345280)),_0x2f763c[_0x57ac('0x75')][_0x57ac('0x1a')](_0x57ac('0x44'),_0x599841=>_0x4fd95d(_0xe4442f,'ELEMENT_INLINE_IMAGE',_0x599841)),_0x2f763c[_0x57ac('0x75')][_0x57ac('0x1a')](_0x57ac('0x5f'),()=>_0x4fd95d(_0xe4442f,'ELEMENT_CAPTION')),_0x470c42['plugins'][_0x57ac('0x5d')]('ImageUploadEditing')&&_0x2f763c[_0x57ac('0x59')]('uploadImage'),_0x470c42[_0x57ac('0x61')][_0x57ac('0x5d')](_0x57ac('0x3'))&&_0x470c42[_0x57ac('0x61')]['has'](_0x57ac('0x12'))&&(_0x2f763c['enableCommand'](_0x57ac('0x23'),(_0x4a0c77,_0x3fbc4c)=>{const _0x37a92b=_0x1465b0[_0x57ac('0x42')](_0x470c42[_0x57ac('0x36')][_0x57ac('0x3f')][_0x57ac('0x47')]);_0x470c42[_0x57ac('0x36')][_0x57ac('0x2b')](()=>{_0x2f763c[_0x57ac('0x2')](_0x37a92b,{'commandName':_0x57ac('0x23'),'commandParams':[_0x3fbc4c]},[],_0x57ac('0x6f'));});}),_0x2f763c[_0x57ac('0x59')](_0x57ac('0x57'),(_0x520f81,_0xbd2ee1)=>{_0x470c42[_0x57ac('0x36')]['change'](_0x450471=>{let _0xa15c46=_0x1465b0[_0x57ac('0x42')](_0x470c42['model'][_0x57ac('0x3f')][_0x57ac('0x47')]),_0x5246ec=_0x450471[_0x57ac('0x32')](_0xa15c46);const _0x3377f3=_0x56a4a9['fromPosition'](_0x5246ec[_0x57ac('0x1b')],_0x57ac('0x49')),_0x4b1fea=_0x56a4a9[_0x57ac('0x35')](_0x5246ec[_0x57ac('0x6c')],_0x57ac('0x2f'));_0x2f763c[_0x57ac('0x56')](()=>_0x520f81(_0xbd2ee1)),_0xa15c46=_0x1465b0['getClosestSelectedImageElement'](_0x470c42['model'][_0x57ac('0x3f')][_0x57ac('0x47')]),_0x5246ec=_0x450471[_0x57ac('0x32')](_0xa15c46);const _0x493aa5=_0x450471['createRange'](_0x3377f3,_0x4b1fea);_0x3377f3['detach'](),_0x4b1fea['detach'](),_0x2f763c[_0x57ac('0x2')](_0xa15c46,{'commandName':_0x57ac('0x23'),'commandParams':[]},[],_0x57ac('0x4e')),_0x493aa5[_0x57ac('0x1b')][_0x57ac('0x29')](_0x5246ec[_0x57ac('0x1b')])&&_0x2f763c[_0x57ac('0x40')](_0x450471[_0x57ac('0x5a')](_0x493aa5['start'],_0x5246ec[_0x57ac('0x1b')]),_0x57ac('0x4e')),_0x5246ec[_0x57ac('0x6c')][_0x57ac('0x29')](_0x493aa5['end'])&&_0x2f763c[_0x57ac('0x40')](_0x450471[_0x57ac('0x5a')](_0x5246ec['end'],_0x493aa5[_0x57ac('0x6c')]),_0x57ac('0x4e'));});}),_0x2f763c['_suggestionFactory'][_0x57ac('0x54')](_0x57ac('0x34'),_0x57ac('0x4e'),_0x57ac('0x3a'),()=>{}),_0x2f763c['_suggestionFactory']['registerCustomCallback'](_0x57ac('0x34'),_0x57ac('0x4e'),_0x57ac('0x50'),()=>{}),_0x2f763c[_0x57ac('0x53')][_0x57ac('0x54')](_0x57ac('0x34'),_0x57ac('0x4e'),_0x57ac('0xd'),_0x2f763c['_suggestionFactory'][_0x57ac('0x37')](_0x57ac('0x34'),'',_0x57ac('0x50'))),_0x2f763c['_suggestionFactory']['registerCustomCallback']('insertion',_0x57ac('0x4e'),_0x57ac('0x3a'),()=>{}),_0x2f763c[_0x57ac('0x53')][_0x57ac('0x54')](_0x57ac('0x27'),_0x57ac('0x4e'),_0x57ac('0xd'),([_0x5581f3])=>{const _0x2fe20e=_0x2f763c['_suggestionFactory']['getSuggestionCallback'](_0x57ac('0x27'),'',_0x57ac('0xd'));let _0x19a7df=_0x5581f3[_0x57ac('0x1b')],_0x150c7b=_0x5581f3[_0x57ac('0x6c')];const _0x3d3bff=_0x470c42['model']['schema'][_0x57ac('0x2a')](_0x19a7df,_0x57ac('0x17')),_0x3afdb8=_0x470c42[_0x57ac('0x36')][_0x57ac('0x39')][_0x57ac('0x2a')](_0x150c7b,'forward');_0x3d3bff['isCollapsed']&&(_0x19a7df=_0x3d3bff[_0x57ac('0x1b')]),_0x3afdb8[_0x57ac('0x6e')]&&(_0x150c7b=_0x3afdb8[_0x57ac('0x6c')]),_0x2fe20e([_0x470c42['model'][_0x57ac('0x5a')](_0x19a7df,_0x150c7b)]);}),_0x2f763c['_suggestionFactory'][_0x57ac('0x54')]('formatBlock','convertInlineImageToBlock',_0x57ac('0x5c'),_0x34d7f0),_0x2f763c['_suggestionFactory'][_0x57ac('0x54')]('insertion',_0x57ac('0x4e'),_0x57ac('0x5c'),_0x34d7f0)),_0x470c42['plugins'][_0x57ac('0x5d')](_0x57ac('0x55'))&&(_0x2f763c[_0x57ac('0x59')](_0x57ac('0x2d'),(_0x948a12,_0x895955)=>{const _0xa5316a=_0x470c42['plugins'][_0x57ac('0x4')](_0x57ac('0x60'));let _0x331cde=_0x1465b0[_0x57ac('0x42')](_0x470c42['model'][_0x57ac('0x3f')][_0x57ac('0x47')]),_0x176e70=_0xa5316a[_0x57ac('0x6a')](_0x331cde);_0x470c42['model'][_0x57ac('0x2b')](()=>{if(_0x176e70)return void _0x2f763c['markDeletion'](_0x470c42[_0x57ac('0x36')][_0x57ac('0x32')](_0x176e70));const _0x372830=_0x1465b0[_0x57ac('0x68')](_0x331cde);_0x948a12(_0x895955),_0x331cde=_0x1465b0[_0x57ac('0x42')](_0x470c42[_0x57ac('0x36')][_0x57ac('0x3f')][_0x57ac('0x47')]),_0x176e70=_0xa5316a[_0x57ac('0x6a')](_0x331cde),_0x2f763c['markInsertion'](_0x470c42[_0x57ac('0x36')][_0x57ac('0x32')](_0x176e70),_0x372830?null:_0x57ac('0x48'));});}),_0x2f763c['_suggestionFactory'][_0x57ac('0x54')](_0x57ac('0x27'),_0x57ac('0x48'),_0x57ac('0x5c'),_0x34d7f0)),_0x470c42['plugins'][_0x57ac('0x5d')](_0x57ac('0x11'))){_0x2f763c['enableCommand'](_0x57ac('0x73'),(_0x4d0ae8,_0x466cb1)=>{const _0x4367e3=_0x470c42[_0x57ac('0x61')]['get']('Users')['me'],_0x1b145b=_0x470c42['commands'][_0x57ac('0x4')](_0x57ac('0x73'));let _0x230616=_0x1465b0[_0x57ac('0x42')](_0x470c42[_0x57ac('0x36')]['document']['selection']),_0x1fe0d5=_0x470c42[_0x57ac('0x36')][_0x57ac('0x32')](_0x230616),_0x1d44d7=_0x1b145b['value'];if(_0x1d44d7==_0x466cb1[_0x57ac('0x15')])return;const _0x21bea4={'commandName':'imageStyle','commandParams':[_0x466cb1],'formatGroupId':_0x4819cc()};_0x470c42[_0x57ac('0x36')][_0x57ac('0x2b')](()=>{if(_0x2f763c[_0x57ac('0x6b')]()[_0x57ac('0x14')](_0x38fa65=>_0x38fa65[_0x57ac('0x9')]&&_0x4367e3==_0x38fa65[_0x57ac('0x20')]&&(_0x57ac('0x34')==_0x38fa65['type']||'formatInline'==_0x38fa65[_0x57ac('0x46')])&&(_0x57ac('0x4f')==_0x38fa65[_0x57ac('0x4a')]||_0x57ac('0x67')==_0x38fa65[_0x57ac('0x4a')])&&_0x38fa65[_0x57ac('0x41')]()['isEqual'](_0x1fe0d5))['forEach'](_0x327d33=>_0x2f763c[_0x57ac('0x43')](_0x327d33[_0x57ac('0x1')])),_0x230616=_0x1465b0[_0x57ac('0x42')](_0x470c42[_0x57ac('0x36')][_0x57ac('0x3f')]['selection']),_0x1fe0d5=_0x470c42[_0x57ac('0x36')][_0x57ac('0x32')](_0x230616),_0x1b145b[_0x57ac('0xc')](),_0x470c42[_0x57ac('0x6')][_0x57ac('0x4')](_0x57ac('0x23'))[_0x57ac('0xc')](),_0x470c42[_0x57ac('0x6')][_0x57ac('0x4')](_0x57ac('0x57'))[_0x57ac('0xc')](),_0x1d44d7=_0x1b145b[_0x57ac('0x15')],_0x1d44d7!=_0x466cb1[_0x57ac('0x15')])return _0x1465b0[_0x57ac('0x6d')](_0x230616)&&_0x1b145b[_0x57ac('0x70')](_0x466cb1[_0x57ac('0x15')],_0x230616)?(_0x4d0ae8(_0x466cb1),_0x230616=_0x1465b0['getClosestSelectedImageElement'](_0x470c42[_0x57ac('0x36')][_0x57ac('0x3f')][_0x57ac('0x47')]),void _0x2f763c[_0x57ac('0x2')](_0x230616,{..._0x21bea4,'commandReversedParams':[{'value':_0x1d44d7||null}]},[],_0x57ac('0x4f'))):void(_0x1465b0[_0x57ac('0x68')](_0x230616)?_0x2f763c[_0x57ac('0x2')](_0x230616,_0x21bea4,[],_0x57ac('0x67')):_0x2f763c[_0x57ac('0x24')](_0x1fe0d5,_0x21bea4,_0x57ac('0x67')));});});for(const _0x5b9325 of _0x470c42[_0x57ac('0x61')][_0x57ac('0x4')](_0x57ac('0x11'))[_0x57ac('0x10')])_0x95a75a[_0x5b9325[_0x57ac('0x26')]]=_0x5b9325['title'][_0x57ac('0x19')]();_0x2f763c[_0x57ac('0x53')]['registerCustomCallback']('formatBlock',_0x57ac('0x4f'),_0x57ac('0x3a'),()=>{}),_0x2f763c['_suggestionFactory']['registerCustomCallback'](_0x57ac('0x34'),_0x57ac('0x67'),'join',()=>{}),_0x2f763c['_suggestionFactory'][_0x57ac('0x54')](_0x57ac('0xf'),'imageStylePostApply',_0x57ac('0x3a'),()=>{}),_0x2f763c['_suggestionFactory']['registerCustomCallback'](_0x57ac('0x34'),_0x57ac('0x4f'),_0x57ac('0x50'),()=>{}),_0x2f763c[_0x57ac('0x53')]['registerCustomCallback'](_0x57ac('0x34'),'imageStylePreApply',_0x57ac('0xd'),(_0x517ace,_0x50660f)=>{_0x2f763c[_0x57ac('0x53')]['getSuggestionCallback'](_0x57ac('0x34'),'',_0x57ac('0x50'))(_0x517ace,{'commandName':_0x50660f[_0x57ac('0x66')],'commandParams':_0x50660f[_0x57ac('0x33')]});}),_0x2f763c[_0x57ac('0x53')][_0x57ac('0x54')](_0x57ac('0x34'),_0x57ac('0x4f'),_0x57ac('0x5c'),_0x34d7f0);}const _0x14a280=[{'type':_0x57ac('0x34'),'subType':_0x57ac('0x4f')},{'type':_0x57ac('0x27'),'subType':_0x57ac('0x48')},{'type':_0x57ac('0x34'),'subType':'convertInlineImageToBlock'},{'type':_0x57ac('0x27'),'subType':'convertInlineImageToBlock'}];function _0x3e9746(_0x5ac348,_0x38ba39){const _0x58c43d=_0x14a280['findIndex'](({type:_0x273788,subType:_0x5e4a81})=>_0x5ac348[_0x57ac('0x46')]==_0x273788&&_0x5ac348[_0x57ac('0x4a')]==_0x5e4a81),_0x452f68=_0x14a280[_0x57ac('0x1d')](({type:_0x58e968,subType:_0x2b7b38})=>_0x38ba39[_0x57ac('0x46')]==_0x58e968&&_0x38ba39[_0x57ac('0x4a')]==_0x2b7b38);if(_0x58c43d<0x0||_0x452f68<0x0)return!0x1;const _0x398ade=_0x5ac348[_0x57ac('0x41')](),_0x33a67e=_0x38ba39[_0x57ac('0x41')]();if((0x0==_0x58c43d||0x1==_0x58c43d)&&0x2==_0x452f68&&_0x398ade['isIntersecting'](_0x33a67e))return!0x0;if(0x2==_0x58c43d&&0x3==_0x452f68){const _0x11b305=_0x2f763c[_0x57ac('0x22')](_0x398ade,_0x57ac('0x27'))[_0x57ac('0x14')](({suggestion:_0x224db1,meta:_0x4d420a})=>_0x4d420a[_0x57ac('0x13')]&&_0x57ac('0x4e')==_0x224db1[_0x57ac('0x4a')]);if(_0x11b305[_0x57ac('0x72')]>0x1&&_0x33a67e[_0x57ac('0x6c')]['isEqual'](_0x398ade[_0x57ac('0x1b')]))return!0x0;if(0x1==_0x11b305['length']&&(_0x398ade[_0x57ac('0x1b')][_0x57ac('0x31')](_0x33a67e[_0x57ac('0x6c')])||_0x398ade[_0x57ac('0x6c')][_0x57ac('0x31')](_0x33a67e['start'])))return!0x0;}if(0x3==_0x58c43d&&0x3==_0x452f68&&_0x398ade[_0x57ac('0x1b')][_0x57ac('0x29')](_0x33a67e[_0x57ac('0x1b')])){const _0x7e432f=_0x398ade[_0x57ac('0x6c')][_0x57ac('0x4c')],_0x5cc7f3=_0x33a67e[_0x57ac('0x1b')][_0x57ac('0x64')];return _0x1465b0[_0x57ac('0x68')](_0x7e432f)&&_0x7e432f===_0x5cc7f3;}return!0x1;}function _0x34d7f0(_0x45588a,_0x3eecd0){return _0x3e9746(_0x45588a,_0x3eecd0)?[_0x45588a,_0x3eecd0]:_0x3e9746(_0x3eecd0,_0x45588a)?[_0x3eecd0,_0x45588a]:null;}_0x470c42[_0x57ac('0x36')]['document'][_0x57ac('0x2e')](()=>{let _0xa948f5=!0x1;const _0x5d0f63=Array['from'](_0x470c42[_0x57ac('0x36')][_0x57ac('0x3f')]['differ']['getChangedMarkers']());for(const {name:_0x105daa,data:_0x588214}of _0x5d0f63){const {group:_0xef26cf,type:_0x4fd3a7,subType:_0x1df83b,id:_0x499b7d}=_0x2f763c['_splitMarkerName'](_0x105daa);if('suggestion'==_0xef26cf&&_0x2f763c[_0x57ac('0x30')](_0x499b7d)){if(_0x57ac('0x34')==_0x4fd3a7&&(_0x57ac('0x4f')==_0x1df83b||_0x57ac('0x67')==_0x1df83b)){const _0x5e1a96=_0x2f763c[_0x57ac('0xe')](_0x499b7d);if(_0x588214['newRange']){const _0xe46f96=_0x5e1a96['getFirstRange']()[_0x57ac('0x71')]();if(_0x1465b0['isBlockImage'](_0xe46f96))continue;_0x2f763c[_0x57ac('0x43')](_0x5e1a96),_0xa948f5=!0x0;}}if(_0x57ac('0x27')==_0x4fd3a7&&_0x57ac('0x48')==_0x1df83b&&!_0x588214[_0x57ac('0x65')]){const _0x1416c6=_0x2f763c[_0x57ac('0xe')](_0x499b7d);_0x1416c6[_0x57ac('0x16')]&&_0x1416c6[_0x57ac('0x16')][_0x57ac('0x9')]&&(_0x2f763c['discardSuggestion'](_0x1416c6[_0x57ac('0x16')]),_0xa948f5=!0x0);}}}return _0xa948f5;}),_0x470c42[_0x57ac('0x61')]['has'](_0x57ac('0x3c'))&&_0x2f763c['enableCommand'](_0x57ac('0x28'),(_0x41c494,_0x336030)=>{const _0x29fb97=_0x1465b0[_0x57ac('0x42')](_0x470c42[_0x57ac('0x36')]['document'][_0x57ac('0x47')]);_0x29fb97[_0x57ac('0x45')]('width')!=_0x336030[_0x57ac('0x5')]&&_0x470c42[_0x57ac('0x36')]['change'](()=>{_0x2f763c[_0x57ac('0x2')](_0x29fb97,{'commandName':_0x57ac('0x28'),'commandParams':[_0x336030]});});}),_0x470c42[_0x57ac('0x61')][_0x57ac('0x5d')](_0x57ac('0x21'))&&_0x2f763c[_0x57ac('0x59')](_0x57ac('0x3e'),(_0x27f117,_0x20defe)=>{const _0x16524a=_0x1465b0[_0x57ac('0x42')](_0x470c42['model']['document'][_0x57ac('0x47')]);(_0x16524a[_0x57ac('0x8')](_0x57ac('0xa'))?_0x16524a['getAttribute']('alt'):'')!=_0x20defe[_0x57ac('0x7')]&&_0x470c42[_0x57ac('0x36')][_0x57ac('0x2b')](()=>{_0x2f763c[_0x57ac('0x2')](_0x16524a,{'commandName':'imageTextAlternative','commandParams':[_0x20defe]});});}),_0x2f763c['_descriptionFactory'][_0x57ac('0x5b')](_0x42eb43=>{if(!!_0x14a280[_0x57ac('0x52')](({type:_0x29999c,subType:_0x286f9e})=>_0x42eb43[_0x57ac('0x46')]==_0x29999c&&_0x42eb43['subType']==_0x286f9e))return _0x42eb43['previous']?{}:void 0x0;}),_0x2f763c[_0x57ac('0x75')][_0x57ac('0x5b')](_0x5d496f=>{if(_0x57ac('0x27')==_0x5d496f[_0x57ac('0x46')]||_0x57ac('0x5e')==_0x5d496f[_0x57ac('0x46')]){const _0x1630d1=_0x5d496f[_0x57ac('0x71')]();if(_0x1630d1&&_0x1630d1['is'](_0x57ac('0x4b'),'caption'))return{'type':_0x57ac('0x27')==_0x5d496f[_0x57ac('0x46')]?_0x57ac('0x3d'):'removeObject','element':_0x1630d1,'quantity':0x1};}}),_0x2f763c[_0x57ac('0x75')]['registerDescriptionCallback'](_0x3cde23=>_0x57ac('0x34')==_0x3cde23[_0x57ac('0x46')]&&'convertInlineImageToBlock'==_0x3cde23[_0x57ac('0x4a')]?{'type':_0x57ac('0x2c'),'content':_0x57ac('0xb')}:'formatBlock'==_0x3cde23[_0x57ac('0x46')]&&_0x57ac('0x6f')==_0x3cde23['subType']?{'type':_0x57ac('0x2c'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2f763c[_0x57ac('0x75')][_0x57ac('0x5b')](_0x429cb6=>{const {data:_0x31a721}=_0x429cb6;if(_0x31a721){if(_0x57ac('0x73')==_0x31a721[_0x57ac('0x66')]){const _0x1b98c8=_0x31a721[_0x57ac('0x38')][0x0][_0x57ac('0x15')];return _0x9d8503(_0x57ac('0x74')===_0x1b98c8?_0x4fd95d(_0xe4442f,_0x57ac('0x63')):_0x95a75a[_0x1b98c8]||_0x1b98c8);}if('imageTextAlternative'==_0x31a721[_0x57ac('0x66')]){const _0x2d26dc=_0x31a721['commandParams'][0x0]['newValue'];return _0x2d26dc?{'type':_0x57ac('0x2c'),'content':_0x4fd95d(_0xe4442f,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x2d26dc+'\x22')}:{'type':_0x57ac('0x2c'),'content':_0x4fd95d(_0xe4442f,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x31a721[_0x57ac('0x66')]){const _0x313a51=_0x31a721[_0x57ac('0x38')][0x0][_0x57ac('0x5')];return _0x313a51?{'type':_0x57ac('0x2c'),'content':_0x4fd95d(_0xe4442f,_0x57ac('0x18'),_0x313a51)}:{'type':'format','content':_0x4fd95d(_0xe4442f,_0x57ac('0x62'))};}}function _0x9d8503(_0x23e41d){return{'type':_0x57ac('0x2c'),'content':_0x4fd95d(_0xe4442f,_0x57ac('0x1f'),_0x23e41d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6bbe=['TrackChangesEditing','getAttribute','accept','discard','handleReplaceImageCommand','plugins','getSuggestions','*Format:*\x20replace\x20image\x20URL','get','has','registerCustomCallback','data','editor','afterInit','commandName','formatBlock','document','commandParams','src','change','handleSuggestionDescription','model','replaceImageSource','_suggestionFactory','enableCommand'];(function(_0x55362e,_0x6bbed0){const _0xd439b2=function(_0x3c47d3){while(--_0x3c47d3){_0x55362e['push'](_0x55362e['shift']());}};_0xd439b2(++_0x6bbed0);}(_0x6bbe,0x1ca));const _0xd439=function(_0x55362e,_0x6bbed0){_0x55362e=_0x55362e-0x0;let _0xd439b2=_0x6bbe[_0x55362e];return _0xd439b2;};import{Plugin as _0x3787c5}from'ckeditor5/src/core';import{getTranslation as _0x40df92}from'../utils/common-translations';export default class Y extends _0x3787c5{[_0xd439('0x5')](){if(!this[_0xd439('0x4')][_0xd439('0x16')][_0xd439('0x1')]('ImageEditing'))return;const _0x397fe8=this[_0xd439('0x4')][_0xd439('0x16')][_0xd439('0x0')](_0xd439('0x11'));_0x397fe8[_0xd439('0x10')](_0xd439('0xe'),(_0x55272b,_0x4eda15)=>this[_0xd439('0x15')](_0x55272b,_0x4eda15)),_0x397fe8[_0xd439('0xf')]['registerCustomCallback'](_0xd439('0x7'),_0xd439('0xe'),_0xd439('0x13'),_0x397fe8[_0xd439('0xf')]['getSuggestionCallback'](_0xd439('0x7'),null,_0xd439('0x14'))),_0x397fe8[_0xd439('0xf')][_0xd439('0x2')](_0xd439('0x7'),_0xd439('0xe'),_0xd439('0x14'),_0x397fe8[_0xd439('0xf')]['getSuggestionCallback'](_0xd439('0x7'),null,_0xd439('0x13'))),_0x397fe8['_descriptionFactory']['registerDescriptionCallback'](_0x276d6c=>this['handleSuggestionDescription'](_0x276d6c));}[_0xd439('0x15')](_0x287c44,_0x3ef921){const _0x3add6f=this[_0xd439('0x4')]['plugins'][_0xd439('0x0')](_0xd439('0x11')),_0x41095b=this[_0xd439('0x4')][_0xd439('0xd')][_0xd439('0x8')]['selection']['getSelectedElement']();this[_0xd439('0x4')]['model'][_0xd439('0xb')](()=>{let _0x5b3afe=_0x41095b[_0xd439('0x12')](_0xd439('0xa'));const _0x556bf9=this['editor'][_0xd439('0x16')][_0xd439('0x0')]('Users')['me'];for(const _0x20212c of _0x3add6f[_0xd439('0x17')]({'skipNotAttached':!0x0})){const _0x4c5763=_0x20212c['getContainedElement']();if(_0xd439('0xe')===_0x20212c['subType']&&_0x4c5763===_0x41095b){_0x20212c['author']!==_0x556bf9&&_0x20212c['discard'](),_0x5b3afe=_0x20212c[_0xd439('0x3')][_0xd439('0x9')][0x0]['source'];break;}}_0x287c44(_0x3ef921),_0x3add6f['markBlockFormat'](_0x41095b,{'commandName':'replaceImageSource','commandParams':[{'source':_0x5b3afe}]},[],_0xd439('0xe'));});}[_0xd439('0xc')](_0x49f835){const {data:_0x338e35}=_0x49f835;if(_0x338e35&&_0xd439('0xe')===_0x338e35[_0xd439('0x6')]){const _0x1eb83b=_0xd439('0x18');return{'type':'format','content':_0x40df92(this[_0xd439('0x4')]['locale'],_0x1eb83b)};}}}
23
+ const _0x44ba=['handleReplaceImageCommand','accept','editor','change','afterInit','subType','replaceImageSource','get','handleSuggestionDescription','TrackChangesEditing','Users','commandParams','getSuggestions','format','commandName','ImageEditing','plugins','data','src','_descriptionFactory','discard','registerDescriptionCallback','getSuggestionCallback','*Format:*\x20replace\x20image\x20URL','getSelectedElement','getAttribute','_suggestionFactory','has','getContainedElement','locale','model','formatBlock','source'];(function(_0x1af1fc,_0x44ba78){const _0x1914ca=function(_0x394927){while(--_0x394927){_0x1af1fc['push'](_0x1af1fc['shift']());}};_0x1914ca(++_0x44ba78);}(_0x44ba,0xd5));const _0x1914=function(_0x1af1fc,_0x44ba78){_0x1af1fc=_0x1af1fc-0x0;let _0x1914ca=_0x44ba[_0x1af1fc];return _0x1914ca;};import{Plugin as _0xdf1533}from'ckeditor5/src/core';import{getTranslation as _0x4f3a98}from'../utils/common-translations';export default class Y extends _0xdf1533{[_0x1914('0x16')](){if(!this[_0x1914('0x14')][_0x1914('0x1')][_0x1914('0xc')](_0x1914('0x0')))return;const _0x3744ea=this[_0x1914('0x14')][_0x1914('0x1')][_0x1914('0x19')](_0x1914('0x1b'));_0x3744ea['enableCommand'](_0x1914('0x18'),(_0x49438c,_0x3583f4)=>this[_0x1914('0x12')](_0x49438c,_0x3583f4)),_0x3744ea[_0x1914('0xb')]['registerCustomCallback'](_0x1914('0x10'),'replaceImageSource',_0x1914('0x13'),_0x3744ea[_0x1914('0xb')][_0x1914('0x7')](_0x1914('0x10'),null,_0x1914('0x5'))),_0x3744ea['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource',_0x1914('0x5'),_0x3744ea['_suggestionFactory'][_0x1914('0x7')]('formatBlock',null,_0x1914('0x13'))),_0x3744ea[_0x1914('0x4')][_0x1914('0x6')](_0x2a018f=>this[_0x1914('0x1a')](_0x2a018f));}['handleReplaceImageCommand'](_0x4869af,_0x2bb67c){const _0x310dfd=this[_0x1914('0x14')][_0x1914('0x1')]['get'](_0x1914('0x1b')),_0x292309=this['editor'][_0x1914('0xf')]['document']['selection'][_0x1914('0x9')]();this[_0x1914('0x14')][_0x1914('0xf')][_0x1914('0x15')](()=>{let _0x42b24b=_0x292309[_0x1914('0xa')](_0x1914('0x3'));const _0x272493=this[_0x1914('0x14')][_0x1914('0x1')][_0x1914('0x19')](_0x1914('0x1c'))['me'];for(const _0x4c178b of _0x310dfd[_0x1914('0x1e')]({'skipNotAttached':!0x0})){const _0x5a6ff5=_0x4c178b[_0x1914('0xd')]();if(_0x1914('0x18')===_0x4c178b[_0x1914('0x17')]&&_0x5a6ff5===_0x292309){_0x4c178b['author']!==_0x272493&&_0x4c178b['discard'](),_0x42b24b=_0x4c178b[_0x1914('0x2')][_0x1914('0x1d')][0x0][_0x1914('0x11')];break;}}_0x4869af(_0x2bb67c),_0x310dfd['markBlockFormat'](_0x292309,{'commandName':_0x1914('0x18'),'commandParams':[{'source':_0x42b24b}]},[],'replaceImageSource');});}[_0x1914('0x1a')](_0x4e517b){const {data:_0x15c504}=_0x4e517b;if(_0x15c504&&_0x1914('0x18')===_0x15c504[_0x1914('0x20')]){const _0x22b828=_0x1914('0x8');return{'type':_0x1914('0x1f'),'content':_0x4f3a98(this[_0x1914('0x14')][_0x1914('0xe')],_0x22b828)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46d9=['listenTo','_trackChangesValueDuringImport','_trackChangesExecuted','bind','get','_handleImportedData','track_changes','value','forEach','dataInsert','afterInit','trackChanges','Users','lowest','commands','importWord','editor','_setSuggestionData','TrackChangesEditing','plugins','execute','high'];(function(_0x2d3c9c,_0x46d9ff){const _0x244a8b=function(_0x533291){while(--_0x533291){_0x2d3c9c['push'](_0x2d3c9c['shift']());}};_0x244a8b(++_0x46d9ff);}(_0x46d9,0x122));const _0x244a=function(_0x2d3c9c,_0x46d9ff){_0x2d3c9c=_0x2d3c9c-0x0;let _0x244a8b=_0x46d9[_0x2d3c9c];return _0x244a8b;};import{Plugin as _0x3d72ee}from'ckeditor5/src/core';export default class Z extends _0x3d72ee{constructor(_0x196da4){super(_0x196da4),this['_trackChangesValueDuringImport']=!0x1,this[_0x244a('0x14')]=!0x1;}[_0x244a('0x6')](){const _0x54fbb4=this[_0x244a('0xc')],_0x51627a=_0x54fbb4['commands'][_0x244a('0x0')](_0x244a('0xb')),_0x11973c=_0x54fbb4[_0x244a('0xa')][_0x244a('0x0')](_0x244a('0x7'));_0x51627a&&(_0x51627a['on'](_0x244a('0x10'),(_0x5a5998,[,_0xdc2978])=>{this[_0x244a('0x13')]=_0x11973c[_0x244a('0x3')],_0xdc2978['collaboration_features'][_0x244a('0x2')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x244a('0x11')}),this[_0x244a('0x12')](_0x51627a,_0x244a('0x5'),this[_0x244a('0x1')][_0x244a('0x15')](this)),this[_0x244a('0x12')](_0x51627a,'dataInsert',()=>{this[_0x244a('0x14')]&&(_0x11973c['execute'](),this[_0x244a('0x14')]=!0x1);},{'priority':_0x244a('0x9')}),_0x54fbb4['plugins'][_0x244a('0x0')]('TrackChangesEditing')['enableCommand'](_0x244a('0xb')));}[_0x244a('0x1')](_0x494583,_0x58aba){const {suggestions:_0x5bc9d7}=_0x58aba,_0x184246=this[_0x244a('0xc')][_0x244a('0xa')][_0x244a('0x0')](_0x244a('0x7')),_0x195293=_0x184246[_0x244a('0x3')];this[_0x244a('0x13')]!==_0x195293&&(_0x184246[_0x244a('0x10')](),this[_0x244a('0x14')]=!0x0),_0x5bc9d7&&_0x5bc9d7[_0x244a('0x4')](({id:_0x1beae0,type:_0x42b569,author:_0x5e0612,created_at:_0x1c8914})=>{const _0x20418c={'id':_0x1beae0,'type':_0x42b569,'authorId':this['editor'][_0x244a('0xf')][_0x244a('0x0')](_0x244a('0x8'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5e0612,'createdAt':_0x1c8914?new Date(_0x1c8914):new Date(),'source':_0x244a('0xb')}}};this[_0x244a('0xc')]['plugins'][_0x244a('0x0')](_0x244a('0xe'))[_0x244a('0xd')](_0x20418c);});}}
23
+ const _0x51e2=['track_changes','plugins','trackChanges','TrackChangesEditing','Users','_trackChangesValueDuringImport','execute','bind','listenTo','_handleImportedData','_trackChangesExecuted','get','commands','editor','value','importWord','collaboration_features','forEach','lowest','_setSuggestionData','high','afterInit'];(function(_0x1608d2,_0x51e25e){const _0x406803=function(_0x55c88a){while(--_0x55c88a){_0x1608d2['push'](_0x1608d2['shift']());}};_0x406803(++_0x51e25e);}(_0x51e2,0xc0));const _0x4068=function(_0x1608d2,_0x51e25e){_0x1608d2=_0x1608d2-0x0;let _0x406803=_0x51e2[_0x1608d2];return _0x406803;};import{Plugin as _0x3d9f10}from'ckeditor5/src/core';export default class Z extends _0x3d9f10{constructor(_0x52a66f){super(_0x52a66f),this['_trackChangesValueDuringImport']=!0x1,this[_0x4068('0x10')]=!0x1;}[_0x4068('0x5')](){const _0x4ac43b=this[_0x4068('0x13')],_0x85cb91=_0x4ac43b['commands'][_0x4068('0x11')]('importWord'),_0x4c864a=_0x4ac43b[_0x4068('0x12')][_0x4068('0x11')]('trackChanges');_0x85cb91&&(_0x85cb91['on'](_0x4068('0xc'),(_0x599ef7,[,_0x219016])=>{this[_0x4068('0xb')]=_0x4c864a[_0x4068('0x14')],_0x219016[_0x4068('0x0')][_0x4068('0x6')]=!this[_0x4068('0xb')];},{'priority':_0x4068('0x4')}),this[_0x4068('0xe')](_0x85cb91,'dataInsert',this[_0x4068('0xf')][_0x4068('0xd')](this)),this[_0x4068('0xe')](_0x85cb91,'dataInsert',()=>{this[_0x4068('0x10')]&&(_0x4c864a[_0x4068('0xc')](),this[_0x4068('0x10')]=!0x1);},{'priority':_0x4068('0x2')}),_0x4ac43b[_0x4068('0x7')][_0x4068('0x11')](_0x4068('0x9'))['enableCommand'](_0x4068('0x15')));}[_0x4068('0xf')](_0x167996,_0x273a3e){const {suggestions:_0x57a08b}=_0x273a3e,_0xa09385=this[_0x4068('0x13')][_0x4068('0x12')][_0x4068('0x11')](_0x4068('0x8')),_0x1011af=_0xa09385[_0x4068('0x14')];this[_0x4068('0xb')]!==_0x1011af&&(_0xa09385[_0x4068('0xc')](),this[_0x4068('0x10')]=!0x0),_0x57a08b&&_0x57a08b[_0x4068('0x1')](({id:_0x1d2432,type:_0xb91d79,author:_0x1dc114,created_at:_0x35deb0})=>{const _0x542ffa={'id':_0x1d2432,'type':_0xb91d79,'authorId':this[_0x4068('0x13')][_0x4068('0x7')][_0x4068('0x11')](_0x4068('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1dc114,'createdAt':_0x35deb0?new Date(_0x35deb0):new Date(),'source':'importWord'}}};this[_0x4068('0x13')][_0x4068('0x7')][_0x4068('0x11')](_0x4068('0x9'))[_0x4068('0x3')](_0x542ffa);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5515=['getSelectedBlocks','TrackChangesEditing','registerDescriptionCallback','outdentBlock','indentBlock','plugins','format','blockIndent','getItems','markBlockFormat','outdent','change','afterInit','*Outdent:*\x20%0','_descriptionFactory','IndentEditing','document','filter','model','schema','indent','commandName','IndentBlock','selection','*Indent:*\x20%0','enableCommand','locale','editor'];(function(_0x38b3b2,_0x551561){const _0x2ffda3=function(_0x15f2be){while(--_0x15f2be){_0x38b3b2['push'](_0x38b3b2['shift']());}};_0x2ffda3(++_0x551561);}(_0x5515,0x152));const _0x2ffd=function(_0x38b3b2,_0x551561){_0x38b3b2=_0x38b3b2-0x0;let _0x2ffda3=_0x5515[_0x38b3b2];return _0x2ffda3;};import{Plugin as _0x36fd6e}from'ckeditor5/src/core';import{getTranslation as _0x35e115}from'../utils/common-translations';export default class tt extends _0x36fd6e{[_0x2ffd('0xa')](){const _0x394d2b=this[_0x2ffd('0x19')],_0x553696=_0x394d2b[_0x2ffd('0x3')]['get'](_0x2ffd('0x1b'));_0x394d2b[_0x2ffd('0x3')]['has'](_0x2ffd('0xd'))&&(_0x553696[_0x2ffd('0x17')](_0x2ffd('0x12')),_0x553696[_0x2ffd('0x17')](_0x2ffd('0x8')));const _0x372a7d=_0x394d2b[_0x2ffd('0x18')];if(_0x394d2b['plugins']['has'](_0x2ffd('0x14'))){for(const _0x5c6af1 of[_0x2ffd('0x2'),_0x2ffd('0x1')])_0x553696[_0x2ffd('0x17')](_0x5c6af1,()=>{const _0x2b1eaf=Array['from'](this[_0x2ffd('0x19')]['model'][_0x2ffd('0xe')][_0x2ffd('0x15')][_0x2ffd('0x1a')]())[_0x2ffd('0xf')](_0x8e0da0=>this[_0x2ffd('0x19')][_0x2ffd('0x10')][_0x2ffd('0x11')]['checkAttribute'](_0x8e0da0,_0x2ffd('0x5')));_0x394d2b[_0x2ffd('0x10')][_0x2ffd('0x9')](()=>{for(const _0x408425 of _0x2b1eaf)_0x553696[_0x2ffd('0x7')](_0x408425,{'commandName':_0x5c6af1,'commandParams':[{'value':''}],'formatGroupId':_0x2ffd('0x2')});});});_0x553696[_0x2ffd('0xc')][_0x2ffd('0x0')](_0x1a8ebd=>{const {data:_0x52f528}=_0x1a8ebd;if(!_0x52f528)return;if('indentBlock'!=_0x52f528[_0x2ffd('0x13')]&&_0x2ffd('0x1')!=_0x52f528['commandName'])return;const _0x47e8ff=_0x1a8ebd[_0x2ffd('0x6')]()[0x0],_0x589653=_0x553696['_descriptionFactory']['getItemLabel'](_0x47e8ff);return _0x2ffd('0x2')==_0x52f528['commandName']?{'type':_0x2ffd('0x4'),'content':_0x35e115(_0x372a7d,_0x2ffd('0x16'),_0x589653)}:_0x2ffd('0x1')==_0x52f528['commandName']?{'type':_0x2ffd('0x4'),'content':_0x35e115(_0x372a7d,_0x2ffd('0xb'),_0x589653)}:void 0x0;});}}}
23
+ const _0x4c14=['change','enableCommand','afterInit','*Indent:*\x20%0','schema','plugins','filter','document','locale','model','TrackChangesEditing','IndentEditing','markBlockFormat','registerDescriptionCallback','indent','has','getItems','checkAttribute','outdent','indentBlock','selection','editor','outdentBlock','blockIndent','commandName','format','from'];(function(_0x526dac,_0x4c14b6){const _0x25c9cf=function(_0x5dd53e){while(--_0x5dd53e){_0x526dac['push'](_0x526dac['shift']());}};_0x25c9cf(++_0x4c14b6);}(_0x4c14,0x1be));const _0x25c9=function(_0x526dac,_0x4c14b6){_0x526dac=_0x526dac-0x0;let _0x25c9cf=_0x4c14[_0x526dac];return _0x25c9cf;};import{Plugin as _0x570fb8}from'ckeditor5/src/core';import{getTranslation as _0x2178b3}from'../utils/common-translations';export default class tt extends _0x570fb8{[_0x25c9('0xf')](){const _0x133cf0=this[_0x25c9('0x7')],_0x30201f=_0x133cf0[_0x25c9('0x12')]['get'](_0x25c9('0x17'));_0x133cf0[_0x25c9('0x12')][_0x25c9('0x1')](_0x25c9('0x18'))&&(_0x30201f[_0x25c9('0xe')](_0x25c9('0x0')),_0x30201f[_0x25c9('0xe')](_0x25c9('0x4')));const _0x433c01=_0x133cf0[_0x25c9('0x15')];if(_0x133cf0[_0x25c9('0x12')][_0x25c9('0x1')]('IndentBlock')){for(const _0x3269c6 of[_0x25c9('0x5'),'outdentBlock'])_0x30201f['enableCommand'](_0x3269c6,()=>{const _0x5d9787=Array[_0x25c9('0xc')](this[_0x25c9('0x7')][_0x25c9('0x16')][_0x25c9('0x14')][_0x25c9('0x6')]['getSelectedBlocks']())[_0x25c9('0x13')](_0x2f8af4=>this[_0x25c9('0x7')][_0x25c9('0x16')][_0x25c9('0x11')][_0x25c9('0x3')](_0x2f8af4,_0x25c9('0x9')));_0x133cf0[_0x25c9('0x16')][_0x25c9('0xd')](()=>{for(const _0xbbdfa4 of _0x5d9787)_0x30201f[_0x25c9('0x19')](_0xbbdfa4,{'commandName':_0x3269c6,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x30201f['_descriptionFactory'][_0x25c9('0x1a')](_0x3a0e43=>{const {data:_0x112a85}=_0x3a0e43;if(!_0x112a85)return;if(_0x25c9('0x5')!=_0x112a85[_0x25c9('0xa')]&&'outdentBlock'!=_0x112a85['commandName'])return;const _0x3ea252=_0x3a0e43[_0x25c9('0x2')]()[0x0],_0x2de823=_0x30201f['_descriptionFactory']['getItemLabel'](_0x3ea252);return _0x25c9('0x5')==_0x112a85[_0x25c9('0xa')]?{'type':_0x25c9('0xb'),'content':_0x2178b3(_0x433c01,_0x25c9('0x10'),_0x2de823)}:_0x25c9('0x8')==_0x112a85[_0x25c9('0xa')]?{'type':'format','content':_0x2178b3(_0x433c01,'*Outdent:*\x20%0',_0x2de823)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x45eb=['input','get','enableCommand','editor','plugins','init'];(function(_0x34361f,_0x45ebfd){var _0x1dbfd7=function(_0x4810e1){while(--_0x4810e1){_0x34361f['push'](_0x34361f['shift']());}};_0x1dbfd7(++_0x45ebfd);}(_0x45eb,0x71));var _0x1dbf=function(_0x34361f,_0x45ebfd){_0x34361f=_0x34361f-0x0;var _0x1dbfd7=_0x45eb[_0x34361f];return _0x1dbfd7;};import{Plugin as _0x8a0fea}from'ckeditor5/src/core';import{Input as _0x274f81}from'ckeditor5/src/typing';export default class it extends _0x8a0fea{static get['requires'](){return[_0x274f81];}[_0x1dbf('0x0')](){this[_0x1dbf('0x4')][_0x1dbf('0x5')][_0x1dbf('0x2')]('TrackChangesEditing')[_0x1dbf('0x3')](_0x1dbf('0x1'));}}
23
+ var _0x627b=['editor','requires','plugins','get','input','enableCommand'];(function(_0x401e7b,_0x627b7){var _0x489e85=function(_0x1e598e){while(--_0x1e598e){_0x401e7b['push'](_0x401e7b['shift']());}};_0x489e85(++_0x627b7);}(_0x627b,0x171));var _0x489e=function(_0x401e7b,_0x627b7){_0x401e7b=_0x401e7b-0x0;var _0x489e85=_0x627b[_0x401e7b];return _0x489e85;};import{Plugin as _0x38d1a4}from'ckeditor5/src/core';import{Input as _0x5a75cb}from'ckeditor5/src/typing';export default class it extends _0x38d1a4{static get[_0x489e('0x4')](){return[_0x5a75cb];}['init'](){this[_0x489e('0x3')][_0x489e('0x5')][_0x489e('0x0')]('TrackChangesEditing')[_0x489e('0x2')](_0x489e('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43e7=['markInlineFormat','locale','format','change','enableCommand','*Remove\x20link*','has','_descriptionFactory','getFirstRange','getRanges','model','hasAttribute','*Set\x20link:*\x20%0','link','plugins','selection','getFirstPosition','linkHref','document','LinkEditing','from','editor','get','TrackChangesEditing','getAttribute','isCollapsed','registerDescriptionCallback','commandName','unlink','commandParams'];(function(_0x307123,_0x43e76b){const _0x40758a=function(_0x4f081f){while(--_0x4f081f){_0x307123['push'](_0x307123['shift']());}};_0x40758a(++_0x43e76b);}(_0x43e7,0x12f));const _0x4075=function(_0x307123,_0x43e76b){_0x307123=_0x307123-0x0;let _0x40758a=_0x43e7[_0x307123];return _0x40758a;};import{Plugin as _0x16cb4d}from'ckeditor5/src/core';import{findAttributeRange as _0x557d48}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x16ea04}from'./utils';import{getTranslation as _0x3590a4}from'../utils/common-translations';export default class et extends _0x16cb4d{['afterInit'](){const _0x5d78d4=this['editor'];if(!_0x5d78d4[_0x4075('0xb')][_0x4075('0x3')](_0x4075('0x10')))return;const _0x7c8411=_0x5d78d4[_0x4075('0xb')][_0x4075('0x13')](_0x4075('0x14'));_0x7c8411[_0x4075('0x1')]('link',(_0x3cfe96,_0x4f876a)=>{const _0x167935=_0x5d78d4['model'][_0x4075('0xf')][_0x4075('0xc')];let _0xc7d8e0=[];if(_0x167935['isCollapsed']){if(!_0x167935[_0x4075('0x8')](_0x4075('0xe')))return void _0x3cfe96(_0x4f876a);{const _0x1bd3f9=_0x557d48(_0x167935[_0x4075('0xd')](),'linkHref',_0x167935[_0x4075('0x15')](_0x4075('0xe')),_0x5d78d4[_0x4075('0x7')]);_0xc7d8e0=[_0x1bd3f9];}}else _0xc7d8e0=Array[_0x4075('0x11')](_0x167935[_0x4075('0x6')]());_0x5d78d4['model'][_0x4075('0x0')](()=>{for(const _0x32ff78 of _0xc7d8e0)_0x7c8411[_0x4075('0x1b')](_0x32ff78,{'commandName':_0x4075('0xa'),'commandParams':[_0x4f876a]});});}),_0x7c8411['enableCommand'](_0x4075('0x19'),()=>{const _0x3fb100=this[_0x4075('0x12')][_0x4075('0x7')],_0x30f176=_0x3fb100['document'][_0x4075('0xc')];_0x3fb100[_0x4075('0x0')](()=>{let _0x4296d3=[];if(_0x30f176[_0x4075('0x16')])_0x4296d3=[_0x557d48(_0x30f176[_0x4075('0xd')](),_0x4075('0xe'),_0x30f176[_0x4075('0x15')](_0x4075('0xe')),_0x5d78d4[_0x4075('0x7')])];else _0x4296d3=_0x16ea04(_0x4075('0xe'),_0x30f176[_0x4075('0x5')](),_0x5d78d4[_0x4075('0x7')]);for(const _0x5c70ae of _0x4296d3)_0x7c8411[_0x4075('0x1b')](_0x5c70ae,{'commandName':_0x4075('0x19'),'commandParams':[]});});}),_0x7c8411[_0x4075('0x4')][_0x4075('0x17')](_0x3f9b25=>{const {data:_0x1c41f2}=_0x3f9b25,_0x1dcd07=_0x5d78d4[_0x4075('0x1c')];if(_0x1c41f2){if('link'==_0x1c41f2['commandName']){const _0x12197c=_0x1c41f2[_0x4075('0x1a')][0x0];return{'type':'format','content':_0x3590a4(_0x1dcd07,_0x4075('0x9'),'\x22'+_0x12197c+'\x22')};}return _0x4075('0x19')==_0x1c41f2[_0x4075('0x18')]?{'type':_0x4075('0x1d'),'content':_0x3590a4(_0x1dcd07,_0x4075('0x2'))}:void 0x0;}});}}
23
+ const _0x1017=['isCollapsed','enableCommand','getFirstRange','TrackChangesEditing','hasAttribute','LinkEditing','commandName','document','get','unlink','model','selection','editor','*Remove\x20link*','getAttribute','linkHref','locale','format','registerDescriptionCallback','commandParams','markInlineFormat','link','plugins','getRanges'];(function(_0x39842a,_0x10177a){const _0x2f3705=function(_0x59537f){while(--_0x59537f){_0x39842a['push'](_0x39842a['shift']());}};_0x2f3705(++_0x10177a);}(_0x1017,0x155));const _0x2f37=function(_0x39842a,_0x10177a){_0x39842a=_0x39842a-0x0;let _0x2f3705=_0x1017[_0x39842a];return _0x2f3705;};import{Plugin as _0x460d59}from'ckeditor5/src/core';import{findAttributeRange as _0x32a14e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5a6454}from'./utils';import{getTranslation as _0x5aa1d6}from'../utils/common-translations';export default class et extends _0x460d59{['afterInit'](){const _0x2afa43=this[_0x2f37('0x7')];if(!_0x2afa43[_0x2f37('0x11')]['has'](_0x2f37('0x0')))return;const _0x49581b=_0x2afa43[_0x2f37('0x11')][_0x2f37('0x3')](_0x2f37('0x16'));_0x49581b['enableCommand'](_0x2f37('0x10'),(_0xe97287,_0x2d0ddf)=>{const _0x3b6fb1=_0x2afa43[_0x2f37('0x5')][_0x2f37('0x2')][_0x2f37('0x6')];let _0x255d98=[];if(_0x3b6fb1[_0x2f37('0x13')]){if(!_0x3b6fb1[_0x2f37('0x17')](_0x2f37('0xa')))return void _0xe97287(_0x2d0ddf);{const _0x1b64bc=_0x32a14e(_0x3b6fb1['getFirstPosition'](),_0x2f37('0xa'),_0x3b6fb1['getAttribute'](_0x2f37('0xa')),_0x2afa43[_0x2f37('0x5')]);_0x255d98=[_0x1b64bc];}}else _0x255d98=Array['from'](_0x3b6fb1[_0x2f37('0x12')]());_0x2afa43[_0x2f37('0x5')]['change'](()=>{for(const _0x1e9caa of _0x255d98)_0x49581b[_0x2f37('0xf')](_0x1e9caa,{'commandName':_0x2f37('0x10'),'commandParams':[_0x2d0ddf]});});}),_0x49581b[_0x2f37('0x14')](_0x2f37('0x4'),()=>{const _0x508acd=this['editor'][_0x2f37('0x5')],_0x3896e2=_0x508acd[_0x2f37('0x2')]['selection'];_0x508acd['change'](()=>{let _0x5a8af1=[];if(_0x3896e2[_0x2f37('0x13')])_0x5a8af1=[_0x32a14e(_0x3896e2['getFirstPosition'](),_0x2f37('0xa'),_0x3896e2[_0x2f37('0x9')](_0x2f37('0xa')),_0x2afa43['model'])];else _0x5a8af1=_0x5a6454(_0x2f37('0xa'),_0x3896e2[_0x2f37('0x15')](),_0x2afa43[_0x2f37('0x5')]);for(const _0x3096e5 of _0x5a8af1)_0x49581b[_0x2f37('0xf')](_0x3096e5,{'commandName':'unlink','commandParams':[]});});}),_0x49581b['_descriptionFactory'][_0x2f37('0xd')](_0x460bdc=>{const {data:_0x304adb}=_0x460bdc,_0x391694=_0x2afa43[_0x2f37('0xb')];if(_0x304adb){if(_0x2f37('0x10')==_0x304adb[_0x2f37('0x1')]){const _0x3eb1ef=_0x304adb[_0x2f37('0xe')][0x0];return{'type':_0x2f37('0xc'),'content':_0x5aa1d6(_0x391694,'*Set\x20link:*\x20%0','\x22'+_0x3eb1ef+'\x22')};}return'unlink'==_0x304adb[_0x2f37('0x1')]?{'type':_0x2f37('0xc'),'content':_0x5aa1d6(_0x391694,_0x2f37('0x8'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x531f=['listIndent','todoList','bulletedList','commandParams','listItem','enableCommand','afterInit','getSelectedBlocks','isObject','*Outdent:*\x20%0','ELEMENT_NUMBERED_LIST','length','execute','outdentList','commandName','getAttribute','_selectedElements','schema','from','todoListChecked','bulleted','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','*Indent:*\x20%0','ListEditing','name','*Uncheck\x20item*','replace','format','add','change','end','TrackChangesEditing','paragraph','List','plugins','document','forceValue','filter','get','locale','blockName','indentList','findIndex','ELEMENT_BULLETED_LIST','commands','registerElementLabel','nextSibling','editor','slice','model','previousSibling','value','numberedList','numbered','createPositionAt','createRange','has','checkTodoList','markBlockFormat','element','todo','checkChild'];(function(_0x172631,_0x531fcd){const _0x144598=function(_0x4b0d72){while(--_0x4b0d72){_0x172631['push'](_0x172631['shift']());}};_0x144598(++_0x531fcd);}(_0x531f,0xc5));const _0x1445=function(_0x172631,_0x531fcd){_0x172631=_0x172631-0x0;let _0x144598=_0x531f[_0x172631];return _0x144598;};import{Plugin as _0x4adf29}from'ckeditor5/src/core';import{getTranslation as _0x3b0f97}from'../utils/common-translations';export default class st extends _0x4adf29{[_0x1445('0x3d')](){const _0x38ed2b=this[_0x1445('0x28')],_0x534f01=_0x38ed2b[_0x1445('0x20')];if(!_0x38ed2b['plugins'][_0x1445('0x31')](_0x1445('0x10')))return;const _0x535a0c=_0x38ed2b[_0x1445('0x1b')]['get'](_0x1445('0x18')),_0x1858da=_0x38ed2b[_0x1445('0x1b')][_0x1445('0x31')]('TodoListEditing');function _0x1c2dae(_0xfa8909){return()=>{const _0x4c2838=_0x38ed2b['model'][_0x1445('0x1c')]['selection'],_0x331a07=_0x38ed2b[_0x1445('0x25')][_0x1445('0x1f')](_0xfa8909);if(_0x331a07[_0x1445('0x2c')])return void _0x38ed2b[_0x1445('0x4')](_0x1445('0x19'),{});const _0x3bc700=_0xfa8909[_0x1445('0x29')](0x0,-0x4),_0xa4b8de=function(_0x591bb3,_0x268af9,_0x562d8d){let _0x3a01c9=Array[_0x1445('0xa')](_0x591bb3)[_0x1445('0x1e')](_0x5ef27e=>function(_0x2e58bd,_0x2891eb){return _0x2891eb[_0x1445('0x36')](_0x2e58bd['parent'],_0x1445('0x3b'))&&!_0x2891eb[_0x1445('0x0')](_0x2e58bd);}(_0x5ef27e,_0x562d8d));_0x3a01c9=_0x3a01c9[_0x1445('0x1e')](_0x19ae9f=>!_0x19ae9f['is'](_0x1445('0x34'),_0x1445('0x3b'))||_0x19ae9f[_0x1445('0x7')]('listType')!=_0x268af9);const _0x3a6738=new Set();for(const _0x21bbc5 of _0x3a01c9)_0x21bbc5['is'](_0x1445('0x34'),_0x1445('0x3b'))?_0x3a6738[_0x1445('0x15')](ne(_0x21bbc5)):_0x3a6738[_0x1445('0x15')](_0x21bbc5);return Array[_0x1445('0xa')](_0x3a6738);}(_0x4c2838[_0x1445('0x3e')](),_0x3bc700,_0x38ed2b['model'][_0x1445('0x9')]);_0x38ed2b[_0x1445('0x2a')][_0x1445('0x16')](()=>{for(const _0x53d4cd of _0xa4b8de)_0x535a0c[_0x1445('0x33')](_0x53d4cd,{'commandName':_0xfa8909,'commandParams':[{'forceValue':!_0x331a07[_0x1445('0x2c')]}],'formatGroupId':_0x1445('0x21')},oe(_0x53d4cd));});};}function _0x2d2ada(_0x6bce9e){return()=>{const _0x16c908=function(_0x39a320){let _0x19178a=Array[_0x1445('0xa')](_0x39a320);const _0x2738a1=_0x19178a[_0x1445('0x23')](_0xab6585=>_0x1445('0x3b')!=_0xab6585[_0x1445('0x11')]);return _0x2738a1>-0x1&&(_0x19178a=_0x19178a['slice'](0x0,_0x2738a1)),_0x19178a;}(_0x38ed2b[_0x1445('0x2a')][_0x1445('0x1c')]['selection'][_0x1445('0x3e')]()),_0x1a65d8=_0x38ed2b[_0x1445('0x2a')][_0x1445('0x30')](_0x38ed2b['model'][_0x1445('0x2f')](_0x16c908[0x0],'before'),_0x38ed2b[_0x1445('0x2a')][_0x1445('0x2f')](_0x16c908[_0x16c908[_0x1445('0x3')]-0x1],_0x1445('0x17')));_0x38ed2b[_0x1445('0x2a')]['change'](()=>{_0x535a0c[_0x1445('0x33')](_0x1a65d8,{'commandName':_0x6bce9e,'commandParams':[],'formatGroupId':_0x1445('0x37')},function(_0x356de4){const _0x9c7353=new Set();for(const _0x42277a of _0x356de4){let _0xa5d402=_0x42277a[_0x1445('0x27')];for(;_0xa5d402&&_0xa5d402[_0x1445('0x7')](_0x1445('0x37'))>_0x42277a[_0x1445('0x7')](_0x1445('0x37'));)_0x9c7353[_0x1445('0x15')](_0xa5d402),_0xa5d402=_0xa5d402[_0x1445('0x27')];}return Array[_0x1445('0xa')](_0x9c7353);}(_0x16c908));});};}_0x535a0c[_0x1445('0x3c')](_0x1445('0x2d'),_0x1c2dae(_0x1445('0x2d'))),_0x535a0c[_0x1445('0x3c')](_0x1445('0x39'),_0x1c2dae(_0x1445('0x39'))),_0x1858da&&_0x535a0c['enableCommand'](_0x1445('0x38'),_0x1c2dae('todoList')),_0x535a0c['enableCommand']('indentList',_0x2d2ada(_0x1445('0x22'))),_0x535a0c[_0x1445('0x3c')](_0x1445('0x5'),_0x2d2ada('outdentList')),_0x1858da&&_0x535a0c[_0x1445('0x3c')](_0x1445('0x32'),()=>{const _0x3a6b71=_0x38ed2b[_0x1445('0x25')][_0x1445('0x1f')]('checkTodoList'),_0x42780e=Array[_0x1445('0xa')](_0x3a6b71[_0x1445('0x8')]);_0x42780e[_0x1445('0x1e')](_0x4990b7=>_0x4990b7[_0x1445('0x7')](_0x1445('0xb'))!=_0x3a6b71[_0x1445('0x2c')]),_0x38ed2b[_0x1445('0x2a')][_0x1445('0x16')](()=>{for(const _0x6cbd50 of _0x42780e)_0x535a0c[_0x1445('0x33')](_0x6cbd50,{'commandName':_0x1445('0x32'),'commandParams':[{'forceValue':!_0x3a6b71[_0x1445('0x2c')]}]});});}),_0x535a0c['_descriptionFactory'][_0x1445('0x26')]('listItem',_0x465345=>_0x3b0f97(_0x534f01,_0x1445('0xe'),_0x465345)),_0x535a0c['_descriptionFactory']['registerDescriptionCallback'](_0x16c273=>{const {data:_0x137996}=_0x16c273;if(_0x137996){if('numberedList'==_0x137996[_0x1445('0x6')]||_0x1445('0x39')==_0x137996[_0x1445('0x6')]||_0x1445('0x38')==_0x137996[_0x1445('0x6')])switch(_0x137996[_0x1445('0x6')][_0x1445('0x13')](_0x1445('0x1a'),'')){case _0x1445('0xc'):return _0xc08f12(_0x3b0f97(_0x534f01,_0x1445('0x24')));case _0x1445('0x2e'):return _0xc08f12(_0x3b0f97(_0x534f01,_0x1445('0x2')));case _0x1445('0x35'):return _0xc08f12(_0x3b0f97(_0x534f01,'ELEMENT_TODO_LIST'));}if(_0x1445('0x22')==_0x137996['commandName'])return{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0xf'),_0x3b0f97(_0x534f01,'ELEMENT_LIST_ITEM'))};if(_0x1445('0x5')==_0x137996[_0x1445('0x6')])return{'type':'format','content':_0x3b0f97(_0x534f01,_0x1445('0x1'),_0x3b0f97(_0x534f01,_0x1445('0xe')))};if(_0x1445('0x32')==_0x137996[_0x1445('0x6')])return _0x137996[_0x1445('0x3a')][0x0][_0x1445('0x1d')]?{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,'*Check\x20item*')}:{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0x12'))};}function _0xc08f12(_0x3d617d){return{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0xd'),_0x3d617d)};}});}}function ne(_0x4f2649){const _0x3ff264=_0x4f2649[_0x1445('0x7')](_0x1445('0x37'));if(0x0==_0x3ff264)return _0x4f2649;let _0x100375=_0x4f2649;for(;_0x4f2649[_0x1445('0x2b')]&&_0x4f2649[_0x1445('0x2b')]['is']('element',_0x1445('0x3b'));){const _0x477bc7=_0x4f2649[_0x1445('0x2b')][_0x1445('0x7')]('listIndent');if(_0x477bc7==_0x3ff264)_0x100375=_0x4f2649['previousSibling'];else{if(_0x477bc7<_0x3ff264)break;}_0x4f2649=_0x4f2649[_0x1445('0x2b')];}return _0x100375;}function oe(_0x243cd9){const _0x5497d8=[];if(_0x243cd9['is'](_0x1445('0x34'),_0x1445('0x3b'))&&_0x243cd9[_0x1445('0x7')](_0x1445('0x37'))>0x0){let _0x33282e=_0x243cd9[_0x1445('0x27')];for(;_0x33282e&&'listItem'==_0x33282e[_0x1445('0x11')]&&_0x33282e[_0x1445('0x7')]('listIndent')==_0x243cd9[_0x1445('0x7')](_0x1445('0x37'));)_0x5497d8['push'](_0x33282e),_0x33282e=_0x33282e[_0x1445('0x27')];}return _0x5497d8;}
23
+ const _0x2091=['change','bulleted','filter','selection','findIndex','locale','listItem','plugins','numbered','todoListChecked','parent','registerDescriptionCallback','listIndent','format','has','*Uncheck\x20item*','createPositionAt','value','ELEMENT_LIST_ITEM','slice','commandName','getSelectedBlocks','ListEditing','enableCommand','todoList','checkChild','outdentList','previousSibling','ELEMENT_BULLETED_LIST','nextSibling','*Indent:*\x20%0','TodoListEditing','element','editor','get','markBlockFormat','indentList','add','length','_descriptionFactory','listType','createRange','replace','checkTodoList','numberedList','end','before','getAttribute','afterInit','TrackChangesEditing','paragraph','commands','isObject','bulletedList','List','*Change\x20to:*\x20%0','name','model','*Outdent:*\x20%0','from'];(function(_0x14da3d,_0x209116){const _0x4e8481=function(_0xe5afa4){while(--_0xe5afa4){_0x14da3d['push'](_0x14da3d['shift']());}};_0x4e8481(++_0x209116);}(_0x2091,0xbb));const _0x4e84=function(_0x14da3d,_0x209116){_0x14da3d=_0x14da3d-0x0;let _0x4e8481=_0x2091[_0x14da3d];return _0x4e8481;};import{Plugin as _0x502781}from'ckeditor5/src/core';import{getTranslation as _0x279f97}from'../utils/common-translations';export default class st extends _0x502781{[_0x4e84('0x29')](){const _0x286277=this[_0x4e84('0x1a')],_0x2521d9=_0x286277[_0x4e84('0x3a')];if(!_0x286277[_0x4e84('0x0')][_0x4e84('0x7')](_0x4e84('0xf')))return;const _0x53971f=_0x286277[_0x4e84('0x0')][_0x4e84('0x1b')](_0x4e84('0x2a')),_0xf0db95=_0x286277['plugins'][_0x4e84('0x7')](_0x4e84('0x18'));function _0x1b3062(_0x40efbd){return()=>{const _0x268441=_0x286277[_0x4e84('0x32')]['document'][_0x4e84('0x38')],_0x1cd4b7=_0x286277[_0x4e84('0x2c')][_0x4e84('0x1b')](_0x40efbd);if(_0x1cd4b7[_0x4e84('0xa')])return void _0x286277['execute'](_0x4e84('0x2b'),{});const _0x4bb1fd=_0x40efbd[_0x4e84('0xc')](0x0,-0x4),_0x13ba3b=function(_0x2a4171,_0x20cf1c,_0x3670fc){let _0x23c2c6=Array[_0x4e84('0x34')](_0x2a4171)[_0x4e84('0x37')](_0x5aba8b=>function(_0x30778d,_0x26a325){return _0x26a325[_0x4e84('0x12')](_0x30778d[_0x4e84('0x3')],_0x4e84('0x3b'))&&!_0x26a325[_0x4e84('0x2d')](_0x30778d);}(_0x5aba8b,_0x3670fc));_0x23c2c6=_0x23c2c6[_0x4e84('0x37')](_0x555901=>!_0x555901['is'](_0x4e84('0x19'),_0x4e84('0x3b'))||_0x555901[_0x4e84('0x28')](_0x4e84('0x21'))!=_0x20cf1c);const _0x6ae0af=new Set();for(const _0x2faefd of _0x23c2c6)_0x2faefd['is'](_0x4e84('0x19'),'listItem')?_0x6ae0af['add'](ne(_0x2faefd)):_0x6ae0af['add'](_0x2faefd);return Array[_0x4e84('0x34')](_0x6ae0af);}(_0x268441['getSelectedBlocks'](),_0x4bb1fd,_0x286277[_0x4e84('0x32')]['schema']);_0x286277['model'][_0x4e84('0x35')](()=>{for(const _0x569181 of _0x13ba3b)_0x53971f[_0x4e84('0x1c')](_0x569181,{'commandName':_0x40efbd,'commandParams':[{'forceValue':!_0x1cd4b7['value']}],'formatGroupId':'blockName'},oe(_0x569181));});};}function _0x1379cd(_0x4ce99e){return()=>{const _0x3c9240=function(_0x36c578){let _0x137918=Array[_0x4e84('0x34')](_0x36c578);const _0xe86356=_0x137918[_0x4e84('0x39')](_0x38198c=>_0x4e84('0x3b')!=_0x38198c[_0x4e84('0x31')]);return _0xe86356>-0x1&&(_0x137918=_0x137918[_0x4e84('0xc')](0x0,_0xe86356)),_0x137918;}(_0x286277[_0x4e84('0x32')]['document'][_0x4e84('0x38')][_0x4e84('0xe')]()),_0x59211a=_0x286277[_0x4e84('0x32')][_0x4e84('0x22')](_0x286277[_0x4e84('0x32')][_0x4e84('0x9')](_0x3c9240[0x0],_0x4e84('0x27')),_0x286277['model'][_0x4e84('0x9')](_0x3c9240[_0x3c9240[_0x4e84('0x1f')]-0x1],_0x4e84('0x26')));_0x286277[_0x4e84('0x32')][_0x4e84('0x35')](()=>{_0x53971f[_0x4e84('0x1c')](_0x59211a,{'commandName':_0x4ce99e,'commandParams':[],'formatGroupId':_0x4e84('0x5')},function(_0x26ed38){const _0x7bc7fa=new Set();for(const _0x11af3a of _0x26ed38){let _0x1657d5=_0x11af3a[_0x4e84('0x16')];for(;_0x1657d5&&_0x1657d5['getAttribute'](_0x4e84('0x5'))>_0x11af3a[_0x4e84('0x28')](_0x4e84('0x5'));)_0x7bc7fa[_0x4e84('0x1e')](_0x1657d5),_0x1657d5=_0x1657d5['nextSibling'];}return Array[_0x4e84('0x34')](_0x7bc7fa);}(_0x3c9240));});};}_0x53971f[_0x4e84('0x10')]('numberedList',_0x1b3062('numberedList')),_0x53971f[_0x4e84('0x10')]('bulletedList',_0x1b3062(_0x4e84('0x2e'))),_0xf0db95&&_0x53971f[_0x4e84('0x10')](_0x4e84('0x11'),_0x1b3062('todoList')),_0x53971f['enableCommand'](_0x4e84('0x1d'),_0x1379cd('indentList')),_0x53971f[_0x4e84('0x10')](_0x4e84('0x13'),_0x1379cd(_0x4e84('0x13'))),_0xf0db95&&_0x53971f[_0x4e84('0x10')](_0x4e84('0x24'),()=>{const _0x3ced3d=_0x286277['commands'][_0x4e84('0x1b')](_0x4e84('0x24')),_0x447b92=Array[_0x4e84('0x34')](_0x3ced3d['_selectedElements']);_0x447b92[_0x4e84('0x37')](_0x3daa65=>_0x3daa65[_0x4e84('0x28')](_0x4e84('0x2'))!=_0x3ced3d[_0x4e84('0xa')]),_0x286277[_0x4e84('0x32')][_0x4e84('0x35')](()=>{for(const _0x324caa of _0x447b92)_0x53971f[_0x4e84('0x1c')](_0x324caa,{'commandName':_0x4e84('0x24'),'commandParams':[{'forceValue':!_0x3ced3d['value']}]});});}),_0x53971f[_0x4e84('0x20')]['registerElementLabel'](_0x4e84('0x3b'),_0x303d0c=>_0x279f97(_0x2521d9,_0x4e84('0xb'),_0x303d0c)),_0x53971f[_0x4e84('0x20')][_0x4e84('0x4')](_0x4fcaef=>{const {data:_0x50de5d}=_0x4fcaef;if(_0x50de5d){if(_0x4e84('0x25')==_0x50de5d[_0x4e84('0xd')]||_0x4e84('0x2e')==_0x50de5d['commandName']||_0x4e84('0x11')==_0x50de5d[_0x4e84('0xd')])switch(_0x50de5d[_0x4e84('0xd')][_0x4e84('0x23')](_0x4e84('0x2f'),'')){case _0x4e84('0x36'):return _0x116eb0(_0x279f97(_0x2521d9,_0x4e84('0x15')));case _0x4e84('0x1'):return _0x116eb0(_0x279f97(_0x2521d9,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x116eb0(_0x279f97(_0x2521d9,'ELEMENT_TODO_LIST'));}if(_0x4e84('0x1d')==_0x50de5d[_0x4e84('0xd')])return{'type':'format','content':_0x279f97(_0x2521d9,_0x4e84('0x17'),_0x279f97(_0x2521d9,'ELEMENT_LIST_ITEM'))};if(_0x4e84('0x13')==_0x50de5d['commandName'])return{'type':_0x4e84('0x6'),'content':_0x279f97(_0x2521d9,_0x4e84('0x33'),_0x279f97(_0x2521d9,_0x4e84('0xb')))};if('checkTodoList'==_0x50de5d[_0x4e84('0xd')])return _0x50de5d['commandParams'][0x0]['forceValue']?{'type':_0x4e84('0x6'),'content':_0x279f97(_0x2521d9,'*Check\x20item*')}:{'type':_0x4e84('0x6'),'content':_0x279f97(_0x2521d9,_0x4e84('0x8'))};}function _0x116eb0(_0x45d9ba){return{'type':_0x4e84('0x6'),'content':_0x279f97(_0x2521d9,_0x4e84('0x30'),_0x45d9ba)};}});}}function ne(_0x5352b9){const _0x203f63=_0x5352b9[_0x4e84('0x28')](_0x4e84('0x5'));if(0x0==_0x203f63)return _0x5352b9;let _0x4d6e89=_0x5352b9;for(;_0x5352b9[_0x4e84('0x14')]&&_0x5352b9['previousSibling']['is'](_0x4e84('0x19'),_0x4e84('0x3b'));){const _0x36b9c9=_0x5352b9[_0x4e84('0x14')]['getAttribute'](_0x4e84('0x5'));if(_0x36b9c9==_0x203f63)_0x4d6e89=_0x5352b9['previousSibling'];else{if(_0x36b9c9<_0x203f63)break;}_0x5352b9=_0x5352b9[_0x4e84('0x14')];}return _0x4d6e89;}function oe(_0x20c1e7){const _0x3ff698=[];if(_0x20c1e7['is']('element',_0x4e84('0x3b'))&&_0x20c1e7[_0x4e84('0x28')](_0x4e84('0x5'))>0x0){let _0x4102b8=_0x20c1e7[_0x4e84('0x16')];for(;_0x4102b8&&_0x4e84('0x3b')==_0x4102b8[_0x4e84('0x31')]&&_0x4102b8[_0x4e84('0x28')](_0x4e84('0x5'))==_0x20c1e7[_0x4e84('0x28')](_0x4e84('0x5'));)_0x3ff698['push'](_0x4102b8),_0x4102b8=_0x4102b8[_0x4e84('0x16')];}return _0x3ff698;}