@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.1 → 0.0.0-nightly-20230727.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 _0x43d6=['map','forward','getFirstPosition','filter','toUpperCase','handleListReversedCommand','backward','styles','_getSuggestionBlocks','element','editor','parent','enableCommand','type','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20order\x20to\x20regular','handleListStyleCommand','createPositionAt','commandName','startIndex','*Format:*\x20set\x20start\x20index\x20to\x20%0','registerDescriptionCallback','_LIST_','TrackChangesEditing','ELEMENT_','get','getAttribute','listStyle','push','afterInit','config','length','getSelectedBlocks','change','plugins','replace','commandParams','format','getSiblingNodes','document','listType','reversed','_getTranslationKeyForListStyle','model','listReversed','_descriptionFactory','from','has','handleListStartCommand','bind','handleDescriptions','ListUtils','listItem','_getSuggestionBlocksForListStyle','unshift','numbered','listStart','markMultiRangeBlockFormat','selection'];(function(_0x466d2e,_0x43d607){const _0x281d99=function(_0x4e3669){while(--_0x4e3669){_0x466d2e['push'](_0x466d2e['shift']());}};_0x281d99(++_0x43d607);}(_0x43d6,0x18c));const _0x281d=function(_0x466d2e,_0x43d607){_0x466d2e=_0x466d2e-0x0;let _0x281d99=_0x43d6[_0x466d2e];return _0x281d99;};import{Plugin as _0x40396c}from'ckeditor5/src/core';import{getTranslation as _0x174183}from'../utils/common-translations';export default class nt extends _0x40396c{[_0x281d('0x36')](){if(!this['editor'][_0x281d('0x3b')][_0x281d('0xc')]('ListPropertiesEditing'))return;const _0x21898d=this[_0x281d('0x22')][_0x281d('0x37')][_0x281d('0x32')](_0x281d('0x26')),_0x21fe82=this['editor'][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30'));_0x21898d[_0x281d('0x1f')]&&_0x21fe82[_0x281d('0x24')](_0x281d('0x34'),this[_0x281d('0x29')][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x6')]&&_0x21fe82[_0x281d('0x24')]('listReversed',this['handleListReversedCommand'][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x2c')]&&_0x21fe82[_0x281d('0x24')]('listStart',this[_0x281d('0xd')][_0x281d('0xe')](this)),_0x21fe82[_0x281d('0xa')][_0x281d('0x2e')](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x13b52d,_0x459f40={}){const _0x5946e4=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x5a4ab3=this[_0x281d('0x12')]();this[_0x281d('0x22')][_0x281d('0x8')]['change'](()=>{_0x5946e4['markMultiRangeBlockFormat'](_0x5a4ab3,{'commandName':_0x281d('0x34'),'commandParams':[{'type':_0x459f40[_0x281d('0x25')]}],'formatGroupId':_0x281d('0x34')});});}[_0x281d('0x1d')](_0x1d36b2,_0x5a2f16={}){const _0x259b6f=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x470be7=this[_0x281d('0x20')](_0x5bb845=>_0x5bb845['is'](_0x281d('0x21'),'listItem')&&'numbered'===_0x5bb845[_0x281d('0x33')](_0x281d('0x5')));if(_0x470be7[_0x281d('0x38')]<0x1)return;const _0x5e6f7f=_0x470be7[_0x281d('0x18')](_0x1f0ed4=>this['editor']['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,'before'),this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x259b6f[_0x281d('0x16')](_0x5e6f7f,{'commandName':'listReversed','commandParams':[{'reversed':_0x5a2f16['reversed']}],'formatGroupId':_0x281d('0x9')});});}[_0x281d('0xd')](_0x50ed21,_0x20dd6f={}){const _0x1b4e24=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30')),_0xd6df2c=this[_0x281d('0x20')](_0x47b822=>_0x47b822['is'](_0x281d('0x21'),_0x281d('0x11'))&&_0x281d('0x14')===_0x47b822[_0x281d('0x33')](_0x281d('0x5')));if(_0xd6df2c[_0x281d('0x38')]<0x1)return;const _0x3c2f00=_0xd6df2c[_0x281d('0x18')](_0x1c9cca=>this[_0x281d('0x22')]['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,'before'),this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x1b4e24[_0x281d('0x16')](_0x3c2f00,{'commandName':_0x281d('0x15'),'commandParams':[{'startIndex':_0x20dd6f['startIndex']}],'formatGroupId':_0x281d('0x15')});});}[_0x281d('0xf')](_0x30aed4){const _0x4a33a4=this[_0x281d('0x22')]['locale'],{data:_0x433c4a}=_0x30aed4;if(!_0x433c4a)return;let _0x106686,_0x186f43;switch(_0x433c4a[_0x281d('0x2b')]){case _0x281d('0x34'):_0x106686='*Change\x20to:*\x20%0',_0x186f43={'type':'format','content':_0x174183(_0x4a33a4,_0x106686,_0x174183(_0x4a33a4,this[_0x281d('0x7')](_0x433c4a['commandParams'][0x0]['type'])))};break;case _0x281d('0x9'):_0x106686=_0x433c4a[_0x281d('0x1')][0x0][_0x281d('0x6')]?_0x281d('0x27'):_0x281d('0x28'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686)};break;case'listStart':_0x106686=_0x281d('0x2d'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686,_0x433c4a['commandParams'][0x0][_0x281d('0x2c')])};}return _0x186f43;}[_0x281d('0x12')](){var _0x39ef7a,_0x5025ee,_0x179fb1,_0x258664;const _0x15b48b=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x10'));let _0x42b303=Array[_0x281d('0xb')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getSelectedBlocks']());return(null===(_0x39ef7a=_0x42b303[0x0])||void 0x0===_0x39ef7a?void 0x0:_0x39ef7a['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x13')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')][_0x281d('0x1a')](),_0x281d('0x1e'))),(null===(_0x5025ee=_0x42b303[_0x42b303['length']-0x1])||void 0x0===_0x5025ee?void 0x0:_0x5025ee['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x35')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getLastPosition'](),_0x281d('0x19'))),_0x42b303=[...new Set(_0x42b303)],(null===(_0x258664=null===(_0x179fb1=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getFirstPosition']())||void 0x0===_0x179fb1?void 0x0:_0x179fb1[_0x281d('0x23')])||void 0x0===_0x258664?void 0x0:_0x258664['is'](_0x281d('0x21'),'listItem'))&&(_0x42b303=_0x42b303['filter'](_0x589c67=>_0x589c67['is'](_0x281d('0x21'),'listItem'))),_0x42b303;}[_0x281d('0x20')](_0xa1657b){const _0x4ff649=this['editor']['plugins'][_0x281d('0x32')](_0x281d('0x10'));let _0x48025f=Array['from'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')]['selection'][_0x281d('0x39')]())[_0x281d('0x1b')](_0xa1657b)[_0x281d('0x18')](_0x21d27c=>{const _0x2b443f=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x21d27c,0x0);return[..._0x4ff649[_0x281d('0x3')](_0x2b443f,_0x281d('0x1e')),..._0x4ff649['getSiblingNodes'](_0x2b443f,_0x281d('0x19'))];})['flat']();return _0x48025f=[...new Set(_0x48025f)],_0x48025f;}[_0x281d('0x7')](_0x21566e){return _0x281d('0x31')+this[_0x281d('0x22')]['plugins'][_0x281d('0x32')](_0x281d('0x10'))['getListTypeFromListStyleType'](_0x21566e)[_0x281d('0x1c')]()+_0x281d('0x2f')+_0x21566e[_0x281d('0x1c')]()[_0x281d('0x0')](/-/g,'_');}}
23
+ const _0x17ec=['numbered','format','list.properties','createPositionAt','unshift','getSiblingNodes','_getTranslationKeyForListStyle','getListTypeFromListStyleType','_getSuggestionBlocks','model','before','map','ELEMENT_','listStyle','editor','toUpperCase','parent','change','element','from','locale','document','plugins','forward','get','listItem','afterInit','listReversed','*Format:*\x20set\x20order\x20to\x20regular','filter','getFirstPosition','listStart','has','handleListReversedCommand','bind','listType','type','handleDescriptions','*Format:*\x20set\x20order\x20to\x20reversed','startIndex','push','config','enableCommand','_getSuggestionBlocksForListStyle','_LIST_','*Format:*\x20set\x20start\x20index\x20to\x20%0','styles','ListPropertiesEditing','commandParams','backward','getSelectedBlocks','length','_descriptionFactory','createRange','handleListStartCommand','reversed','selection','TrackChangesEditing','handleListStyleCommand','getAttribute','registerDescriptionCallback','ListUtils','markMultiRangeBlockFormat','getLastPosition'];(function(_0x114b3d,_0x17eca9){const _0x22a34a=function(_0x3012b4){while(--_0x3012b4){_0x114b3d['push'](_0x114b3d['shift']());}};_0x22a34a(++_0x17eca9);}(_0x17ec,0xac));const _0x22a3=function(_0x114b3d,_0x17eca9){_0x114b3d=_0x114b3d-0x0;let _0x22a34a=_0x17ec[_0x114b3d];return _0x22a34a;};import{Plugin as _0x1b2c28}from'ckeditor5/src/core';import{getTranslation as _0x5e9426}from'../utils/common-translations';export default class nt extends _0x1b2c28{[_0x22a3('0x2e')](){if(!this[_0x22a3('0x22')]['plugins'][_0x22a3('0x34')](_0x22a3('0x3')))return;const _0x575d2c=this[_0x22a3('0x22')][_0x22a3('0x3d')]['get'](_0x22a3('0x16')),_0x45818d=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0xd'));_0x575d2c[_0x22a3('0x2')]&&_0x45818d[_0x22a3('0x3e')]('listStyle',this[_0x22a3('0xe')][_0x22a3('0x36')](this)),_0x575d2c[_0x22a3('0xb')]&&_0x45818d[_0x22a3('0x3e')](_0x22a3('0x2f'),this[_0x22a3('0x35')]['bind'](this)),_0x575d2c[_0x22a3('0x3b')]&&_0x45818d[_0x22a3('0x3e')](_0x22a3('0x33'),this[_0x22a3('0xa')][_0x22a3('0x36')](this)),_0x45818d[_0x22a3('0x8')][_0x22a3('0x10')](this['handleDescriptions']['bind'](this));}[_0x22a3('0xe')](_0xf236a3,_0x4648ff={}){const _0x4da9ff=this[_0x22a3('0x22')][_0x22a3('0x2a')][_0x22a3('0x2c')]('TrackChangesEditing'),_0x26fc43=this[_0x22a3('0x3f')]();this[_0x22a3('0x22')]['model'][_0x22a3('0x25')](()=>{_0x4da9ff[_0x22a3('0x12')](_0x26fc43,{'commandName':'listStyle','commandParams':[{'type':_0x4648ff[_0x22a3('0x38')]}],'formatGroupId':_0x22a3('0x21')});});}['handleListReversedCommand'](_0x89b829,_0x6413df={}){const _0x2c59cf=this['editor'][_0x22a3('0x2a')]['get']('TrackChangesEditing'),_0x5eed7f=this[_0x22a3('0x1c')](_0x3dcfd3=>_0x3dcfd3['is'](_0x22a3('0x26'),_0x22a3('0x2d'))&&_0x22a3('0x14')===_0x3dcfd3['getAttribute'](_0x22a3('0x37')));if(_0x5eed7f['length']<0x1)return;const _0x219b5b=_0x5eed7f['map'](_0x521563=>this[_0x22a3('0x22')]['model']['createRange'](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x521563,_0x22a3('0x1e')),this['editor'][_0x22a3('0x1d')][_0x22a3('0x17')](_0x521563,0x0)));this['editor'][_0x22a3('0x1d')][_0x22a3('0x25')](()=>{_0x2c59cf[_0x22a3('0x12')](_0x219b5b,{'commandName':_0x22a3('0x2f'),'commandParams':[{'reversed':_0x6413df['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x27636a,_0x3a6875={}){const _0xee5d56=this['editor'][_0x22a3('0x2a')][_0x22a3('0x2c')](_0x22a3('0xd')),_0x524078=this['_getSuggestionBlocks'](_0x2fe5c0=>_0x2fe5c0['is'](_0x22a3('0x26'),'listItem')&&_0x22a3('0x14')===_0x2fe5c0[_0x22a3('0xf')](_0x22a3('0x37')));if(_0x524078[_0x22a3('0x7')]<0x1)return;const _0x311819=_0x524078[_0x22a3('0x1f')](_0x6aa41=>this[_0x22a3('0x22')]['model'][_0x22a3('0x9')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x6aa41,'before'),this['editor'][_0x22a3('0x1d')][_0x22a3('0x17')](_0x6aa41,0x0)));this[_0x22a3('0x22')][_0x22a3('0x1d')]['change'](()=>{_0xee5d56[_0x22a3('0x12')](_0x311819,{'commandName':_0x22a3('0x33'),'commandParams':[{'startIndex':_0x3a6875[_0x22a3('0x3b')]}],'formatGroupId':'listStart'});});}[_0x22a3('0x39')](_0xbe6944){const _0x629ab6=this[_0x22a3('0x22')][_0x22a3('0x28')],{data:_0x4e13f9}=_0xbe6944;if(!_0x4e13f9)return;let _0xd2adc1,_0x574a62;switch(_0x4e13f9['commandName']){case _0x22a3('0x21'):_0xd2adc1='*Change\x20to:*\x20%0',_0x574a62={'type':'format','content':_0x5e9426(_0x629ab6,_0xd2adc1,_0x5e9426(_0x629ab6,this['_getTranslationKeyForListStyle'](_0x4e13f9['commandParams'][0x0][_0x22a3('0x38')])))};break;case _0x22a3('0x2f'):_0xd2adc1=_0x4e13f9[_0x22a3('0x4')][0x0][_0x22a3('0xb')]?_0x22a3('0x3a'):_0x22a3('0x30'),_0x574a62={'type':_0x22a3('0x15'),'content':_0x5e9426(_0x629ab6,_0xd2adc1)};break;case _0x22a3('0x33'):_0xd2adc1=_0x22a3('0x1'),_0x574a62={'type':_0x22a3('0x15'),'content':_0x5e9426(_0x629ab6,_0xd2adc1,_0x4e13f9[_0x22a3('0x4')][0x0]['startIndex'])};}return _0x574a62;}['_getSuggestionBlocksForListStyle'](){var _0x50c14c,_0x450389,_0x1a2e5a,_0x48b40c;const _0x1db8c0=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0x11'));let _0x30b4cf=Array['from'](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')][_0x22a3('0xc')][_0x22a3('0x6')]());return(null===(_0x50c14c=_0x30b4cf[0x0])||void 0x0===_0x50c14c?void 0x0:_0x50c14c['is'](_0x22a3('0x26'),_0x22a3('0x2d')))&&_0x30b4cf[_0x22a3('0x18')](..._0x1db8c0['getSiblingNodes'](this[_0x22a3('0x22')][_0x22a3('0x1d')]['document'][_0x22a3('0xc')][_0x22a3('0x32')](),'backward')),(null===(_0x450389=_0x30b4cf[_0x30b4cf[_0x22a3('0x7')]-0x1])||void 0x0===_0x450389?void 0x0:_0x450389['is']('element',_0x22a3('0x2d')))&&_0x30b4cf[_0x22a3('0x3c')](..._0x1db8c0[_0x22a3('0x19')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')]['selection'][_0x22a3('0x13')](),_0x22a3('0x2b'))),_0x30b4cf=[...new Set(_0x30b4cf)],(null===(_0x48b40c=null===(_0x1a2e5a=this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')][_0x22a3('0xc')][_0x22a3('0x32')]())||void 0x0===_0x1a2e5a?void 0x0:_0x1a2e5a[_0x22a3('0x24')])||void 0x0===_0x48b40c?void 0x0:_0x48b40c['is'](_0x22a3('0x26'),'listItem'))&&(_0x30b4cf=_0x30b4cf[_0x22a3('0x31')](_0x33e65a=>_0x33e65a['is']('element','listItem'))),_0x30b4cf;}[_0x22a3('0x1c')](_0x5cf7a7){const _0x501d29=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0x11'));let _0xfea0d6=Array[_0x22a3('0x27')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')]['selection']['getSelectedBlocks']())['filter'](_0x5cf7a7)[_0x22a3('0x1f')](_0x161a47=>{const _0x2cb7f4=this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x161a47,0x0);return[..._0x501d29[_0x22a3('0x19')](_0x2cb7f4,_0x22a3('0x5')),..._0x501d29[_0x22a3('0x19')](_0x2cb7f4,_0x22a3('0x2b'))];})['flat']();return _0xfea0d6=[...new Set(_0xfea0d6)],_0xfea0d6;}[_0x22a3('0x1a')](_0x22c3b3){return _0x22a3('0x20')+this[_0x22a3('0x22')][_0x22a3('0x2a')][_0x22a3('0x2c')](_0x22a3('0x11'))[_0x22a3('0x1b')](_0x22c3b3)[_0x22a3('0x23')]()+_0x22a3('0x0')+_0x22c3b3[_0x22a3('0x23')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5018=['attribute:url:media','createEmptyElement','downcastDispatcher','stop','showSuggestionHighlights','conversion','mediaEmbed','locale','data','plugins','for','registerElementLabel','ELEMENT_MEDIA','MediaEmbedEditing','_descriptionFactory','afterInit','dataDowncast','enableCommand','TrackChangesEditing','media','high','div','editor'];(function(_0x25cfff,_0x501828){const _0xb1df42=function(_0x4844a1){while(--_0x4844a1){_0x25cfff['push'](_0x25cfff['shift']());}};_0xb1df42(++_0x501828);}(_0x5018,0x102));const _0xb1df=function(_0x25cfff,_0x501828){_0x25cfff=_0x25cfff-0x0;let _0xb1df42=_0x5018[_0x25cfff];return _0xb1df42;};import{Plugin as _0x5d64cb}from'ckeditor5/src/core';import{getTranslation as _0x51d941}from'../utils/common-translations';export default class ot extends _0x5d64cb{[_0xb1df('0xa')](){const _0x165755=this[_0xb1df('0x11')];if(!_0x165755[_0xb1df('0x4')]['has'](_0xb1df('0x8')))return;const _0x51a2bd=_0x165755[_0xb1df('0x4')]['get'](_0xb1df('0xd')),_0x57b5fe=_0x165755[_0xb1df('0x2')];_0x51a2bd[_0xb1df('0xc')](_0xb1df('0x1')),_0x51a2bd[_0xb1df('0x9')][_0xb1df('0x6')]('media',_0x3d452b=>_0x51d941(_0x57b5fe,_0xb1df('0x7'),_0x3d452b)),_0x165755[_0xb1df('0x0')][_0xb1df('0x5')](_0xb1df('0xb'))['elementToElement']({'model':_0xb1df('0xe'),'view':(_0x3cc994,{writer:_0x5426eb,options:_0x115c3f})=>{if(_0x115c3f[_0xb1df('0x16')])return _0x5426eb[_0xb1df('0x13')](_0xb1df('0x10'));},'converterPriority':_0xb1df('0xf')}),_0x165755[_0xb1df('0x3')][_0xb1df('0x14')]['on'](_0xb1df('0x12'),(_0x4888e4,_0x2f711a,_0x593faa)=>{_0x593faa['options'][_0xb1df('0x16')]&&_0x4888e4[_0xb1df('0x15')]();},{'priority':_0xb1df('0xf')});}}
23
+ const _0x5871=['plugins','has','_descriptionFactory','high','options','stop','MediaEmbedEditing','dataDowncast','showSuggestionHighlights','afterInit','elementToElement','div','data','TrackChangesEditing','ELEMENT_MEDIA','for','conversion','media','downcastDispatcher','get','attribute:url:media'];(function(_0x5ae926,_0x587130){const _0x3f185f=function(_0x40bd75){while(--_0x40bd75){_0x5ae926['push'](_0x5ae926['shift']());}};_0x3f185f(++_0x587130);}(_0x5871,0x1e2));const _0x3f18=function(_0x5ae926,_0x587130){_0x5ae926=_0x5ae926-0x0;let _0x3f185f=_0x5871[_0x5ae926];return _0x3f185f;};import{Plugin as _0x11a7a1}from'ckeditor5/src/core';import{getTranslation as _0x416494}from'../utils/common-translations';export default class ot extends _0x11a7a1{[_0x3f18('0xa')](){const _0x18eb09=this['editor'];if(!_0x18eb09[_0x3f18('0x1')][_0x3f18('0x2')](_0x3f18('0x7')))return;const _0x1ee2b6=_0x18eb09['plugins'][_0x3f18('0x14')](_0x3f18('0xe')),_0x5106d3=_0x18eb09['locale'];_0x1ee2b6['enableCommand']('mediaEmbed'),_0x1ee2b6[_0x3f18('0x3')]['registerElementLabel'](_0x3f18('0x12'),_0x281bba=>_0x416494(_0x5106d3,_0x3f18('0xf'),_0x281bba)),_0x18eb09[_0x3f18('0x11')][_0x3f18('0x10')](_0x3f18('0x8'))[_0x3f18('0xb')]({'model':_0x3f18('0x12'),'view':(_0x3495ba,{writer:_0x4ed80d,options:_0x2a30cb})=>{if(_0x2a30cb[_0x3f18('0x9')])return _0x4ed80d['createEmptyElement'](_0x3f18('0xc'));},'converterPriority':'high'}),_0x18eb09[_0x3f18('0xd')][_0x3f18('0x13')]['on'](_0x3f18('0x0'),(_0x3b5d2e,_0x53d8ac,_0x1bdcdb)=>{_0x1bdcdb[_0x3f18('0x5')][_0x3f18('0x9')]&&_0x3b5d2e[_0x3f18('0x6')]();},{'priority':_0x3f18('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a46=['editor','mention','afterInit','has','plugins','get'];(function(_0x277615,_0x2a46af){const _0x1b013f=function(_0x3b1d6e){while(--_0x3b1d6e){_0x277615['push'](_0x277615['shift']());}};_0x1b013f(++_0x2a46af);}(_0x2a46,0x109));const _0x1b01=function(_0x277615,_0x2a46af){_0x277615=_0x277615-0x0;let _0x1b013f=_0x2a46[_0x277615];return _0x1b013f;};import{Plugin as _0x3f306d}from'ckeditor5/src/core';export default class rt extends _0x3f306d{[_0x1b01('0x1')](){const _0x2700f1=this[_0x1b01('0x5')];_0x2700f1[_0x1b01('0x3')][_0x1b01('0x2')]('MentionEditing')&&_0x2700f1[_0x1b01('0x3')][_0x1b01('0x4')]('TrackChangesEditing')['enableCommand'](_0x1b01('0x0'));}}
23
+ const _0x5f2d=['afterInit','editor','plugins','enableCommand','mention','MentionEditing','TrackChangesEditing','get'];(function(_0x2034a2,_0x5f2d32){const _0x367ce9=function(_0xcd9f88){while(--_0xcd9f88){_0x2034a2['push'](_0x2034a2['shift']());}};_0x367ce9(++_0x5f2d32);}(_0x5f2d,0xeb));const _0x367c=function(_0x2034a2,_0x5f2d32){_0x2034a2=_0x2034a2-0x0;let _0x367ce9=_0x5f2d[_0x2034a2];return _0x367ce9;};import{Plugin as _0x314046}from'ckeditor5/src/core';export default class rt extends _0x314046{[_0x367c('0x5')](){const _0x18d56c=this[_0x367c('0x6')];_0x18d56c[_0x367c('0x7')]['has'](_0x367c('0x2'))&&_0x18d56c[_0x367c('0x7')][_0x367c('0x4')](_0x367c('0x3'))[_0x367c('0x0')](_0x367c('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ffb=['has','_descriptionFactory','editor','pageBreak','registerElementLabel','afterInit','plugins','enableCommand','TrackChangesEditing','get'];(function(_0x507be9,_0x3ffb68){const _0x4f3da8=function(_0x3d2537){while(--_0x3d2537){_0x507be9['push'](_0x507be9['shift']());}};_0x4f3da8(++_0x3ffb68);}(_0x3ffb,0x1b6));const _0x4f3d=function(_0x507be9,_0x3ffb68){_0x507be9=_0x507be9-0x0;let _0x4f3da8=_0x3ffb[_0x507be9];return _0x4f3da8;};import{Plugin as _0x1c116d}from'ckeditor5/src/core';import{getTranslation as _0x263d8e}from'../utils/common-translations';export default class at extends _0x1c116d{[_0x4f3d('0x7')](){const _0x39b5df=this[_0x4f3d('0x4')];if(!_0x39b5df['plugins'][_0x4f3d('0x2')]('PageBreakEditing'))return;_0x39b5df[_0x4f3d('0x8')][_0x4f3d('0x1')](_0x4f3d('0x0'))[_0x4f3d('0x9')](_0x4f3d('0x5'));const _0x3eb26b=_0x39b5df['plugins'][_0x4f3d('0x1')]('TrackChangesEditing'),_0x5f018c=_0x39b5df['locale'];_0x3eb26b[_0x4f3d('0x3')][_0x4f3d('0x6')]('pageBreak',_0x1dc2b7=>_0x263d8e(_0x5f018c,'ELEMENT_PAGE_BREAK',_0x1dc2b7));}}
23
+ const _0x24b3=['PageBreakEditing','TrackChangesEditing','_descriptionFactory','editor','plugins','locale','get','pageBreak','afterInit','registerElementLabel','enableCommand'];(function(_0x2c6cbd,_0x24b373){const _0x44a271=function(_0x2f4d29){while(--_0x2f4d29){_0x2c6cbd['push'](_0x2c6cbd['shift']());}};_0x44a271(++_0x24b373);}(_0x24b3,0x11e));const _0x44a2=function(_0x2c6cbd,_0x24b373){_0x2c6cbd=_0x2c6cbd-0x0;let _0x44a271=_0x24b3[_0x2c6cbd];return _0x44a271;};import{Plugin as _0xbeaa4e}from'ckeditor5/src/core';import{getTranslation as _0x7f984a}from'../utils/common-translations';export default class at extends _0xbeaa4e{[_0x44a2('0x8')](){const _0x503054=this[_0x44a2('0x3')];if(!_0x503054[_0x44a2('0x4')]['has'](_0x44a2('0x0')))return;_0x503054['plugins'][_0x44a2('0x6')](_0x44a2('0x1'))[_0x44a2('0xa')]('pageBreak');const _0x2f534c=_0x503054[_0x44a2('0x4')][_0x44a2('0x6')]('TrackChangesEditing'),_0x5b59c0=_0x503054[_0x44a2('0x5')];_0x2f534c[_0x44a2('0x2')][_0x44a2('0x9')](_0x44a2('0x7'),_0x16997d=>_0x7f984a(_0x5b59c0,'ELEMENT_PAGE_BREAK',_0x16997d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x244c=['isTouching','$text','plugins','addMarker:suggestion:insertion','addClass','name','*Change\x20to:*\x20%0','selection','insert','consumable','document','format','schema','model','filter','showSuggestionHighlights','registerDescriptionCallback','editing','highest','Paragraph','createUIElement','*Insert:*\x20%0','nodeAfter','getItemLabel','ELEMENT_PARAGRAPH','markerName','parent','markerRange','_descriptionFactory','from','end','change','includes','writer','isLimit','toViewPosition','insertion','activeMarkers','span','options','mapper','editor','enableCommand','start','consume','getFirstRange','ck-suggestion-marker-split','paragraph','locale','checkChild','downcastDispatcher','TrackChangesEditing','insertParagraph'];(function(_0x371ae7,_0x244c9b){const _0x4b862d=function(_0x18a9ec){while(--_0x18a9ec){_0x371ae7['push'](_0x371ae7['shift']());}};_0x4b862d(++_0x244c9b);}(_0x244c,0x14b));const _0x4b86=function(_0x371ae7,_0x244c9b){_0x371ae7=_0x371ae7-0x0;let _0x4b862d=_0x244c[_0x371ae7];return _0x4b862d;};import{Plugin as _0x53ca4d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x36213c}from'./utils';import{getTranslation as _0x1f47f7}from'../utils/common-translations';export default class ct extends _0x53ca4d{['afterInit'](){const _0x33367f=this['editor'];if(!_0x33367f[_0x4b86('0x2a')]['has'](_0x4b86('0x6')))return;const _0x3e9e03=_0x33367f[_0x4b86('0x23')],_0x2698c8=_0x33367f[_0x4b86('0x2a')]['get'](_0x4b86('0x26'));_0x2698c8[_0x4b86('0xf')]['registerElementLabel'](_0x4b86('0x22'),_0x5e0b10=>_0x1f47f7(_0x3e9e03,_0x4b86('0xb'),_0x5e0b10)),_0x2698c8[_0x4b86('0x1d')]('paragraph',(_0x975240,_0x2086c5={})=>{const _0x4eedfc=_0x33367f['model'][_0x4b86('0x32')],_0x2f8f1c=_0x2086c5[_0x4b86('0x2f')]||_0x4eedfc[_0x4b86('0x2f')],_0x2d4562=Array[_0x4b86('0x10')](_0x2f8f1c['getSelectedBlocks']())[_0x4b86('0x1')](_0x186e3e=>function(_0x46f8fd,_0x32a7f3){return _0x32a7f3['checkChild'](_0x46f8fd[_0x4b86('0xd')],'paragraph')&&!_0x32a7f3['isObject'](_0x46f8fd)&&'paragraph'!=_0x46f8fd[_0x4b86('0x2d')];}(_0x186e3e,this[_0x4b86('0x1c')][_0x4b86('0x0')]['schema']));_0x33367f[_0x4b86('0x0')][_0x4b86('0x12')](()=>{for(const _0x13e487 of _0x2d4562)_0x2698c8['markBlockFormat'](_0x13e487,{'commandName':_0x4b86('0x22'),'commandParams':[],'formatGroupId':'blockName'},_0x36213c(_0x13e487));});}),_0x2698c8[_0x4b86('0xf')]['registerDescriptionCallback'](_0x246704=>{const {data:_0x277114}=_0x246704;if(_0x277114&&_0x4b86('0x22')==_0x277114['commandName'])return{'type':_0x4b86('0x33'),'content':_0x1f47f7(_0x3e9e03,_0x4b86('0x2e'),_0x1f47f7(_0x3e9e03,_0x4b86('0xb')))};}),_0x2698c8['enableCommand'](_0x4b86('0x27')),_0x33367f[_0x4b86('0x4')][_0x4b86('0x25')]['on'](_0x4b86('0x2b'),ar(_0x33367f),{'priority':_0x4b86('0x5')}),_0x33367f['data'][_0x4b86('0x25')]['on']('addMarker:suggestion:insertion',(_0x12d3c1,_0x2643bd,_0x53cc75)=>{_0x53cc75[_0x4b86('0x1a')][_0x4b86('0x2')]&&ar(_0x33367f,{'showActiveMarker':!0x1})(_0x12d3c1,_0x2643bd,_0x53cc75);},{'priority':_0x4b86('0x5')});const _0x3076c5=_0x2698c8[_0x4b86('0xf')];_0x3076c5[_0x4b86('0x3')](_0x5b6306=>{if(_0x4b86('0x17')!==_0x5b6306['type'])return;const {start:_0x43164a,end:_0x1ff696}=_0x5b6306[_0x4b86('0x20')]();if(!_0x43164a[_0x4b86('0x28')](_0x1ff696)||!_0x43164a[_0x4b86('0x9')])return;const _0x4cbcd0=_0x33367f[_0x4b86('0x0')][_0x4b86('0x34')],_0x1d3520=_0x43164a['nodeAfter'];return _0x4cbcd0['isBlock'](_0x1d3520)&&!_0x4cbcd0['isLimit'](_0x1d3520)&&_0x4cbcd0['checkChild'](_0x1d3520,'$text')?{'type':'insertion','content':_0x1f47f7(_0x3e9e03,_0x4b86('0x8'),_0x3076c5[_0x4b86('0xa')](_0x1d3520,0x1))}:void 0x0;});}}function ar(_0x1e3e4b,{showActiveMarker:_0x141676=!0x0}={}){return(_0x262ee4,_0x5e7cb7,_0x149b3e)=>{const _0x146f8b=_0x1e3e4b[_0x4b86('0x2a')]['get'](_0x4b86('0x26')),_0x469d51=_0x5e7cb7['markerRange'][_0x4b86('0x1e')],_0x113db9=_0x5e7cb7[_0x4b86('0xe')][_0x4b86('0x11')],_0x4b3703=_0x1e3e4b['model']['schema'];if(!_0x469d51[_0x4b86('0x28')](_0x113db9)||!_0x469d51[_0x4b86('0x9')])return;const _0x458b14=_0x469d51[_0x4b86('0x9')];if(_0x4b3703['isBlock'](_0x458b14)&&!_0x4b3703[_0x4b86('0x15')](_0x458b14)&&_0x4b3703[_0x4b86('0x24')](_0x458b14,_0x4b86('0x29'))){if(!_0x149b3e[_0x4b86('0x31')][_0x4b86('0x1f')](_0x5e7cb7[_0x4b86('0xe')],_0x262ee4[_0x4b86('0x2d')]))return;const _0xa471ac=_0x149b3e[_0x4b86('0x14')][_0x4b86('0x7')](_0x4b86('0x19'),{'class':_0x4b86('0x21')}),_0x348129=_0x149b3e[_0x4b86('0x1b')][_0x4b86('0x16')](_0x113db9);_0x141676&&_0x146f8b[_0x4b86('0x18')][_0x4b86('0x13')](_0x5e7cb7[_0x4b86('0xc')])&&_0x149b3e[_0x4b86('0x14')][_0x4b86('0x2c')]('ck-suggestion-marker--active',_0xa471ac),_0x149b3e[_0x4b86('0x14')][_0x4b86('0x30')](_0x348129,_0xa471ac),_0x149b3e[_0x4b86('0x1b')]['bindElementToMarker'](_0xa471ac,_0x5e7cb7['markerName']);}};}
23
+ const _0x2b90=['enableCommand','model','writer','document','showSuggestionHighlights','createUIElement','checkChild','has','blockName','nodeAfter','get','markerName','_descriptionFactory','mapper','data','editing','insert','type','markerRange','selection','name','schema','TrackChangesEditing','ck-suggestion-marker-split','editor','isTouching','filter','registerElementLabel','format','insertion','downcastDispatcher','isBlock','getItemLabel','toViewPosition','Paragraph','paragraph','isLimit','options','commandName','getSelectedBlocks','markBlockFormat','$text','bindElementToMarker','span','end','activeMarkers','addMarker:suggestion:insertion','registerDescriptionCallback','plugins','ELEMENT_PARAGRAPH','consumable','afterInit','highest','isObject','locale'];(function(_0x212c5b,_0x2b90fb){const _0x2dbf9c=function(_0x12a4d9){while(--_0x12a4d9){_0x212c5b['push'](_0x212c5b['shift']());}};_0x2dbf9c(++_0x2b90fb);}(_0x2b90,0xef));const _0x2dbf=function(_0x212c5b,_0x2b90fb){_0x212c5b=_0x212c5b-0x0;let _0x2dbf9c=_0x2b90[_0x212c5b];return _0x2dbf9c;};import{Plugin as _0x60d2af}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2f0463}from'./utils';import{getTranslation as _0x345186}from'../utils/common-translations';export default class ct extends _0x60d2af{[_0x2dbf('0x20')](){const _0x309985=this[_0x2dbf('0x5')];if(!_0x309985[_0x2dbf('0x1d')][_0x2dbf('0x2b')](_0x2dbf('0xf')))return;const _0x1405e1=_0x309985[_0x2dbf('0x23')],_0x51b6fe=_0x309985[_0x2dbf('0x1d')][_0x2dbf('0x2e')](_0x2dbf('0x3'));_0x51b6fe['_descriptionFactory'][_0x2dbf('0x8')](_0x2dbf('0x10'),_0x139a8c=>_0x345186(_0x1405e1,_0x2dbf('0x1e'),_0x139a8c)),_0x51b6fe[_0x2dbf('0x24')](_0x2dbf('0x10'),(_0xd68f28,_0x16f505={})=>{const _0x54d4da=_0x309985[_0x2dbf('0x25')][_0x2dbf('0x27')],_0x122e87=_0x16f505[_0x2dbf('0x0')]||_0x54d4da[_0x2dbf('0x0')],_0x380985=Array['from'](_0x122e87[_0x2dbf('0x14')]())[_0x2dbf('0x7')](_0x2cf076=>function(_0x4abcd9,_0x205655){return _0x205655[_0x2dbf('0x2a')](_0x4abcd9['parent'],'paragraph')&&!_0x205655[_0x2dbf('0x22')](_0x4abcd9)&&'paragraph'!=_0x4abcd9[_0x2dbf('0x1')];}(_0x2cf076,this['editor'][_0x2dbf('0x25')][_0x2dbf('0x2')]));_0x309985[_0x2dbf('0x25')]['change'](()=>{for(const _0x4619e5 of _0x380985)_0x51b6fe[_0x2dbf('0x15')](_0x4619e5,{'commandName':_0x2dbf('0x10'),'commandParams':[],'formatGroupId':_0x2dbf('0x2c')},_0x2f0463(_0x4619e5));});}),_0x51b6fe[_0x2dbf('0x30')][_0x2dbf('0x1c')](_0x2ce00b=>{const {data:_0x287724}=_0x2ce00b;if(_0x287724&&_0x2dbf('0x10')==_0x287724[_0x2dbf('0x13')])return{'type':_0x2dbf('0x9'),'content':_0x345186(_0x1405e1,'*Change\x20to:*\x20%0',_0x345186(_0x1405e1,_0x2dbf('0x1e')))};}),_0x51b6fe[_0x2dbf('0x24')]('insertParagraph'),_0x309985[_0x2dbf('0x33')]['downcastDispatcher']['on'](_0x2dbf('0x1b'),ar(_0x309985),{'priority':_0x2dbf('0x21')}),_0x309985[_0x2dbf('0x32')][_0x2dbf('0xb')]['on'](_0x2dbf('0x1b'),(_0x193fe7,_0x583a14,_0x3755e5)=>{_0x3755e5[_0x2dbf('0x12')][_0x2dbf('0x28')]&&ar(_0x309985,{'showActiveMarker':!0x1})(_0x193fe7,_0x583a14,_0x3755e5);},{'priority':_0x2dbf('0x21')});const _0x57dbf7=_0x51b6fe['_descriptionFactory'];_0x57dbf7[_0x2dbf('0x1c')](_0x106f1a=>{if(_0x2dbf('0xa')!==_0x106f1a[_0x2dbf('0x35')])return;const {start:_0x475441,end:_0x429db2}=_0x106f1a['getFirstRange']();if(!_0x475441[_0x2dbf('0x6')](_0x429db2)||!_0x475441['nodeAfter'])return;const _0x391115=_0x309985['model']['schema'],_0x152f92=_0x475441[_0x2dbf('0x2d')];return _0x391115[_0x2dbf('0xc')](_0x152f92)&&!_0x391115[_0x2dbf('0x11')](_0x152f92)&&_0x391115['checkChild'](_0x152f92,_0x2dbf('0x16'))?{'type':'insertion','content':_0x345186(_0x1405e1,'*Insert:*\x20%0',_0x57dbf7[_0x2dbf('0xd')](_0x152f92,0x1))}:void 0x0;});}}function ar(_0x15992d,{showActiveMarker:_0x3d6b78=!0x0}={}){return(_0x2a561e,_0x56a6ea,_0x22680d)=>{const _0x1e83f4=_0x15992d[_0x2dbf('0x1d')][_0x2dbf('0x2e')](_0x2dbf('0x3')),_0x20673a=_0x56a6ea[_0x2dbf('0x36')]['start'],_0x1f3337=_0x56a6ea[_0x2dbf('0x36')][_0x2dbf('0x19')],_0x246494=_0x15992d['model'][_0x2dbf('0x2')];if(!_0x20673a['isTouching'](_0x1f3337)||!_0x20673a[_0x2dbf('0x2d')])return;const _0x2074fc=_0x20673a['nodeAfter'];if(_0x246494[_0x2dbf('0xc')](_0x2074fc)&&!_0x246494[_0x2dbf('0x11')](_0x2074fc)&&_0x246494[_0x2dbf('0x2a')](_0x2074fc,_0x2dbf('0x16'))){if(!_0x22680d[_0x2dbf('0x1f')]['consume'](_0x56a6ea[_0x2dbf('0x36')],_0x2a561e[_0x2dbf('0x1')]))return;const _0x608654=_0x22680d[_0x2dbf('0x26')][_0x2dbf('0x29')](_0x2dbf('0x18'),{'class':_0x2dbf('0x4')}),_0x2ee5fa=_0x22680d[_0x2dbf('0x31')][_0x2dbf('0xe')](_0x1f3337);_0x3d6b78&&_0x1e83f4[_0x2dbf('0x1a')]['includes'](_0x56a6ea['markerName'])&&_0x22680d[_0x2dbf('0x26')]['addClass']('ck-suggestion-marker--active',_0x608654),_0x22680d[_0x2dbf('0x26')][_0x2dbf('0x34')](_0x2ee5fa,_0x608654),_0x22680d[_0x2dbf('0x31')][_0x2dbf('0x17')](_0x608654,_0x56a6ea[_0x2dbf('0x2f')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a8b=['RemoveFormatEditing','removeFormat','TrackChangesEditing','get','getAttributes','commandName','has','from','schema','enableCommand','getItems','isFormatting','isCollapsed','_descriptionFactory','createRangeOn','format','afterInit','registerDescriptionCallback','change','markInlineFormat','model','locale','selection','plugins'];(function(_0x4b497f,_0x3a8ba2){const _0x25fbf5=function(_0x1c121f){while(--_0x1c121f){_0x4b497f['push'](_0x4b497f['shift']());}};_0x25fbf5(++_0x3a8ba2);}(_0x3a8b,0x1a0));const _0x25fb=function(_0x4b497f,_0x3a8ba2){_0x4b497f=_0x4b497f-0x0;let _0x25fbf5=_0x3a8b[_0x4b497f];return _0x25fbf5;};import{Plugin as _0x2660ed}from'ckeditor5/src/core';import{getTranslation as _0x249891}from'../utils/common-translations';export default class ht extends _0x2660ed{[_0x25fb('0x8')](){const _0x3d5938=this['editor'];if(!_0x3d5938[_0x25fb('0xf')][_0x25fb('0x16')](_0x25fb('0x10')))return;const _0x1ad77a=_0x3d5938[_0x25fb('0xf')][_0x25fb('0x13')](_0x25fb('0x12'));_0x1ad77a[_0x25fb('0x1')](_0x25fb('0x11'),_0x144701=>{const _0x135afe=_0x3d5938['model']['document'][_0x25fb('0xe')];_0x135afe[_0x25fb('0x4')]?_0x144701():_0x3d5938[_0x25fb('0xc')][_0x25fb('0xa')](()=>{const _0xe15b1d=Array[_0x25fb('0x17')](_0x135afe['getRanges']());for(const _0x332ae1 of _0xe15b1d)for(const _0x4d4391 of _0x332ae1[_0x25fb('0x2')]())eo(_0x4d4391,_0x3d5938['model'][_0x25fb('0x0')])&&_0x1ad77a[_0x25fb('0xb')](_0x3d5938[_0x25fb('0xc')][_0x25fb('0x6')](_0x4d4391),{'commandName':'removeFormat','commandParams':[]});});}),_0x1ad77a[_0x25fb('0x5')][_0x25fb('0x9')](_0x363f93=>{const {data:_0x538c8b}=_0x363f93;if(_0x538c8b&&_0x25fb('0x11')==_0x538c8b[_0x25fb('0x15')])return{'type':_0x25fb('0x7'),'content':_0x249891(_0x3d5938[_0x25fb('0xd')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x3c7d2a,_0x2cb05c){for(const [_0x1b4601]of _0x3c7d2a[_0x25fb('0x14')]()){const _0x276640=_0x2cb05c['getAttributeProperties'](_0x1b4601);if(_0x276640&&_0x276640[_0x25fb('0x3')])return!0x0;}return!0x1;}
23
+ const _0x5e98=['plugins','markInlineFormat','commandName','RemoveFormatEditing','get','getAttributeProperties','getAttributes','enableCommand','editor','has','TrackChangesEditing','isFormatting','isCollapsed','registerDescriptionCallback','change','from','schema','createRangeOn','removeFormat','document','afterInit','selection','_descriptionFactory','getItems','format','model'];(function(_0x27c304,_0x5e98c6){const _0x7a9968=function(_0x2d49ff){while(--_0x2d49ff){_0x27c304['push'](_0x27c304['shift']());}};_0x7a9968(++_0x5e98c6);}(_0x5e98,0x10b));const _0x7a99=function(_0x27c304,_0x5e98c6){_0x27c304=_0x27c304-0x0;let _0x7a9968=_0x5e98[_0x27c304];return _0x7a9968;};import{Plugin as _0x36aa23}from'ckeditor5/src/core';import{getTranslation as _0x4438fd}from'../utils/common-translations';export default class ht extends _0x36aa23{[_0x7a99('0xd')](){const _0x4ab476=this[_0x7a99('0x1')];if(!_0x4ab476['plugins'][_0x7a99('0x2')](_0x7a99('0x16')))return;const _0x2cb595=_0x4ab476[_0x7a99('0x13')][_0x7a99('0x17')](_0x7a99('0x3'));_0x2cb595[_0x7a99('0x0')](_0x7a99('0xb'),_0x3a0d65=>{const _0x13ce8e=_0x4ab476[_0x7a99('0x12')][_0x7a99('0xc')][_0x7a99('0xe')];_0x13ce8e[_0x7a99('0x5')]?_0x3a0d65():_0x4ab476[_0x7a99('0x12')][_0x7a99('0x7')](()=>{const _0x4b62db=Array[_0x7a99('0x8')](_0x13ce8e['getRanges']());for(const _0xf29c78 of _0x4b62db)for(const _0x37ca50 of _0xf29c78[_0x7a99('0x10')]())eo(_0x37ca50,_0x4ab476[_0x7a99('0x12')][_0x7a99('0x9')])&&_0x2cb595[_0x7a99('0x14')](_0x4ab476[_0x7a99('0x12')][_0x7a99('0xa')](_0x37ca50),{'commandName':'removeFormat','commandParams':[]});});}),_0x2cb595[_0x7a99('0xf')][_0x7a99('0x6')](_0x33ee32=>{const {data:_0x494639}=_0x33ee32;if(_0x494639&&_0x7a99('0xb')==_0x494639[_0x7a99('0x15')])return{'type':_0x7a99('0x11'),'content':_0x4438fd(_0x4ab476['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x30f096,_0x440a7c){for(const [_0x3f14c4]of _0x30f096[_0x7a99('0x19')]()){const _0x812cec=_0x440a7c[_0x7a99('0x18')](_0x3f14c4);if(_0x812cec&&_0x812cec[_0x7a99('0x4')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4abf=['RestrictedEditingModeEditing','discardAllSuggestions','discardSelectedSuggestions','enableCommand','trackChanges','plugins','acceptAllSuggestions','editor','goToNextRestrictedEditingException','acceptSelectedSuggestions','TrackChangesEditing'];(function(_0x30eee0,_0x4abf56){const _0x4d09e9=function(_0x1a1e39){while(--_0x1a1e39){_0x30eee0['push'](_0x30eee0['shift']());}};_0x4d09e9(++_0x4abf56);}(_0x4abf,0x131));const _0x4d09=function(_0x30eee0,_0x4abf56){_0x30eee0=_0x30eee0-0x0;let _0x4d09e9=_0x4abf[_0x30eee0];return _0x4d09e9;};import{Plugin as _0x1435d4}from'ckeditor5/src/core';export default class ut extends _0x1435d4{['afterInit'](){const _0x4797ec=this[_0x4d09('0xa')];if(!_0x4797ec['plugins']['has'](_0x4d09('0x3')))return;const _0x1a41cd=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x2'));_0x1a41cd[_0x4d09('0x6')]('goToPreviousRestrictedEditingException'),_0x1a41cd[_0x4d09('0x6')](_0x4d09('0x0'));const _0x2d39a8=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x3'));_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x7')),_0x2d39a8[_0x4d09('0x6')]('acceptSuggestion'),_0x2d39a8[_0x4d09('0x6')]('discardSuggestion'),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x9')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x4')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x1')),_0x2d39a8['enableCommand'](_0x4d09('0x5'));}}
23
+ const _0x5787=['trackChanges','goToNextRestrictedEditingException','enableCommand','get','has','TrackChangesEditing','discardAllSuggestions','goToPreviousRestrictedEditingException','discardSuggestion','plugins'];(function(_0x2bbc66,_0x57871f){const _0x1f55e5=function(_0x3c38b9){while(--_0x3c38b9){_0x2bbc66['push'](_0x2bbc66['shift']());}};_0x1f55e5(++_0x57871f);}(_0x5787,0x11b));const _0x1f55=function(_0x2bbc66,_0x57871f){_0x2bbc66=_0x2bbc66-0x0;let _0x1f55e5=_0x5787[_0x2bbc66];return _0x1f55e5;};import{Plugin as _0x1639b2}from'ckeditor5/src/core';export default class ut extends _0x1639b2{['afterInit'](){const _0x159967=this['editor'];if(!_0x159967[_0x1f55('0x6')][_0x1f55('0x1')]('RestrictedEditingModeEditing'))return;const _0x42eb62=_0x159967[_0x1f55('0x6')][_0x1f55('0x0')](_0x1f55('0x2'));_0x42eb62['enableCommand'](_0x1f55('0x4')),_0x42eb62[_0x1f55('0x9')](_0x1f55('0x8'));const _0x20257d=_0x159967[_0x1f55('0x6')]['get']('RestrictedEditingModeEditing');_0x20257d[_0x1f55('0x9')](_0x1f55('0x7')),_0x20257d['enableCommand']('acceptSuggestion'),_0x20257d['enableCommand'](_0x1f55('0x5')),_0x20257d['enableCommand']('acceptAllSuggestions'),_0x20257d[_0x1f55('0x9')](_0x1f55('0x3')),_0x20257d['enableCommand']('acceptSelectedSuggestions'),_0x20257d[_0x1f55('0x9')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x586c=['downcastDispatcher','init','consumable','merge','requires','get','plugins','addMarker:suggestion:insertion','ck-suggestion-marker--active','registerElementLabel','shiftEnter','high','enableCommand','createUIElement','TrackChangesEditing','mapper','ELEMENT_LINE_BREAK','insert','locale','_descriptionFactory','writer','element','createPositionBefore','editor','addClass','markerName','activeMarkers','getItems','softBreak','options','addMarker:suggestion:deletion','deletion','split','markerRange','model','toViewPosition','span','editing'];(function(_0x53e399,_0x586c88){const _0x33488f=function(_0x4e2be9){while(--_0x4e2be9){_0x53e399['push'](_0x53e399['shift']());}};_0x33488f(++_0x586c88);}(_0x586c,0x1c4));const _0x3348=function(_0x53e399,_0x586c88){_0x53e399=_0x53e399-0x0;let _0x33488f=_0x586c[_0x53e399];return _0x33488f;};import{Plugin as _0x1cb3c8}from'ckeditor5/src/core';import{ShiftEnter as _0x2f0fe5}from'ckeditor5/src/enter';import{getTranslation as _0x4d2da7}from'../utils/common-translations';export default class ft extends _0x1cb3c8{static get[_0x3348('0x8')](){return[_0x2f0fe5];}[_0x3348('0x5')](){const _0x2e8055=this[_0x3348('0x1b')],_0x9822f6=_0x2e8055[_0x3348('0xa')]['get'](_0x3348('0x12'));_0x9822f6[_0x3348('0x10')](_0x3348('0xe')),_0x2e8055['editing'][_0x3348('0x4')]['on'](_0x3348('0xb'),re(_0x2e8055),{'priority':_0x3348('0xf')}),_0x2e8055[_0x3348('0x3')][_0x3348('0x4')]['on'](_0x3348('0x22'),re(_0x2e8055),{'priority':'high'}),_0x2e8055['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3f4754,_0x1edeb0,_0x5e65dc)=>{_0x5e65dc[_0x3348('0x21')]['showSuggestionHighlights']&&re(_0x2e8055,{'showActiveMarker':!0x1})(_0x3f4754,_0x1edeb0,_0x5e65dc);}),_0x9822f6[_0x3348('0x17')][_0x3348('0xd')](_0x3348('0x20'),_0x40732a=>_0x4d2da7(_0x2e8055[_0x3348('0x16')],_0x3348('0x14'),_0x40732a));}}function re(_0x321ed8,{showActiveMarker:_0x137704=!0x0}={}){return(_0x14a553,_0x25adfd,_0x46ec00)=>{const _0xf77a50=_0x321ed8['plugins'][_0x3348('0x9')](_0x3348('0x12'));if(!_0x46ec00[_0x3348('0x6')]['test'](_0x25adfd[_0x3348('0x25')],_0x14a553['name']))return;const _0x5ce58a=_0x321ed8[_0x3348('0x0')];for(const _0x1a06e3 of _0x25adfd['markerRange'][_0x3348('0x1f')]()){if(!_0x1a06e3['is'](_0x3348('0x19'),_0x3348('0x20')))continue;const _0x218448=_0x3348('0x23')==_0x25adfd[_0x3348('0x1d')][_0x3348('0x24')](':')[0x1]?_0x3348('0x7'):'split',_0x2b72f5=_0x46ec00[_0x3348('0x18')][_0x3348('0x11')](_0x3348('0x2'),{'class':'ck-suggestion-marker-'+_0x218448}),_0x42ebcc=_0x46ec00[_0x3348('0x13')][_0x3348('0x1')](_0x5ce58a[_0x3348('0x1a')](_0x1a06e3));_0x137704&&_0xf77a50[_0x3348('0x1e')]['includes'](_0x25adfd[_0x3348('0x1d')])&&_0x46ec00[_0x3348('0x18')][_0x3348('0x1c')](_0x3348('0xc'),_0x2b72f5),_0x46ec00['writer'][_0x3348('0x15')](_0x42ebcc,_0x2b72f5),_0x46ec00[_0x3348('0x13')]['bindElementToMarker'](_0x2b72f5,_0x25adfd[_0x3348('0x1d')]);}};}
23
+ const _0x5426=['span','addMarker:suggestion:deletion','element','editor','includes','addMarker:suggestion','test','locale','high','getItems','createUIElement','softBreak','TrackChangesEditing','insert','model','options','_descriptionFactory','markerName','consumable','merge','markerRange','ELEMENT_LINE_BREAK','showSuggestionHighlights','createPositionBefore','shiftEnter','get','ck-suggestion-marker--active','ck-suggestion-marker-','downcastDispatcher','plugins','deletion','split','requires','writer','mapper','enableCommand','registerElementLabel'];(function(_0x45b29a,_0x542626){const _0x57ba78=function(_0x314e00){while(--_0x314e00){_0x45b29a['push'](_0x45b29a['shift']());}};_0x57ba78(++_0x542626);}(_0x5426,0x189));const _0x57ba=function(_0x45b29a,_0x542626){_0x45b29a=_0x45b29a-0x0;let _0x57ba78=_0x5426[_0x45b29a];return _0x57ba78;};import{Plugin as _0x3251b6}from'ckeditor5/src/core';import{ShiftEnter as _0x22f7d5}from'ckeditor5/src/enter';import{getTranslation as _0x12fc92}from'../utils/common-translations';export default class ft extends _0x3251b6{static get[_0x57ba('0x9')](){return[_0x22f7d5];}['init'](){const _0x21141b=this[_0x57ba('0x11')],_0x15a1dc=_0x21141b[_0x57ba('0x6')]['get']('TrackChangesEditing');_0x15a1dc[_0x57ba('0xc')](_0x57ba('0x1')),_0x21141b['editing'][_0x57ba('0x5')]['on']('addMarker:suggestion:insertion',re(_0x21141b),{'priority':_0x57ba('0x16')}),_0x21141b['editing']['downcastDispatcher']['on'](_0x57ba('0xf'),re(_0x21141b),{'priority':'high'}),_0x21141b['data']['downcastDispatcher']['on'](_0x57ba('0x13'),(_0x1e99e5,_0x3aa308,_0x1db402)=>{_0x1db402[_0x57ba('0x1d')][_0x57ba('0x24')]&&re(_0x21141b,{'showActiveMarker':!0x1})(_0x1e99e5,_0x3aa308,_0x1db402);}),_0x15a1dc[_0x57ba('0x1e')][_0x57ba('0xd')](_0x57ba('0x19'),_0x567118=>_0x12fc92(_0x21141b[_0x57ba('0x15')],_0x57ba('0x23'),_0x567118));}}function re(_0x209339,{showActiveMarker:_0x3b50ac=!0x0}={}){return(_0x2cec6a,_0x9f4ac8,_0x99b253)=>{const _0x3f58dd=_0x209339[_0x57ba('0x6')][_0x57ba('0x2')](_0x57ba('0x1a'));if(!_0x99b253[_0x57ba('0x20')][_0x57ba('0x14')](_0x9f4ac8[_0x57ba('0x22')],_0x2cec6a['name']))return;const _0x23cb96=_0x209339[_0x57ba('0x1c')];for(const _0xfd1464 of _0x9f4ac8[_0x57ba('0x22')][_0x57ba('0x17')]()){if(!_0xfd1464['is'](_0x57ba('0x10'),_0x57ba('0x19')))continue;const _0x2eb1fb=_0x57ba('0x7')==_0x9f4ac8['markerName'][_0x57ba('0x8')](':')[0x1]?_0x57ba('0x21'):_0x57ba('0x8'),_0x39fe98=_0x99b253[_0x57ba('0xa')][_0x57ba('0x18')](_0x57ba('0xe'),{'class':_0x57ba('0x4')+_0x2eb1fb}),_0x21f8f8=_0x99b253[_0x57ba('0xb')]['toViewPosition'](_0x23cb96[_0x57ba('0x0')](_0xfd1464));_0x3b50ac&&_0x3f58dd['activeMarkers'][_0x57ba('0x12')](_0x9f4ac8[_0x57ba('0x1f')])&&_0x99b253['writer']['addClass'](_0x57ba('0x3'),_0x39fe98),_0x99b253[_0x57ba('0xa')][_0x57ba('0x1b')](_0x21f8f8,_0x39fe98),_0x99b253[_0x57ba('0xb')]['bindElementToMarker'](_0x39fe98,_0x9f4ac8[_0x57ba('0x1f')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x979d=['plugins','editor','FORMAT_RESTRICTED_DISABLED','has','format','get','restrictedEditingException','enableCommand','markInlineFormat','TrackChangesEditing','commandName','FORMAT_RESTRICTED_ENABLED','from','registerDescriptionCallback','change','_descriptionFactory','StandardEditingModeEditing','afterInit','value','forceValue'];(function(_0x55d186,_0x979dda){const _0x49a8ad=function(_0x5257eb){while(--_0x5257eb){_0x55d186['push'](_0x55d186['shift']());}};_0x49a8ad(++_0x979dda);}(_0x979d,0x1cc));const _0x49a8=function(_0x55d186,_0x979dda){_0x55d186=_0x55d186-0x0;let _0x49a8ad=_0x979d[_0x55d186];return _0x49a8ad;};import{Plugin as _0x85e909}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x157368}from'./utils';import{getTranslation as _0x1a5d24}from'../utils/common-translations';export default class lt extends _0x85e909{[_0x49a8('0x11')](){const _0xf6c04f=this[_0x49a8('0x1')],_0x53d392=_0xf6c04f['model'],_0x1e39b2=_0xf6c04f['locale'];if(!_0xf6c04f[_0x49a8('0x0')][_0x49a8('0x3')](_0x49a8('0x10')))return;const _0x23538e=_0xf6c04f[_0x49a8('0x0')][_0x49a8('0x5')](_0x49a8('0x9')),_0x3f8628=_0x49a8('0x6'),_0x53a936=_0xf6c04f['commands'][_0x49a8('0x5')](_0x3f8628);_0x23538e[_0x49a8('0x7')](_0x3f8628,(_0x5bb7fa,_0x4d9aa2={})=>{const _0x111b2f=_0x53d392['document']['selection'];if(_0x111b2f['isCollapsed'])return void _0x5bb7fa(_0x4d9aa2);const _0x22722f=void 0x0!==_0x4d9aa2['forceValue']?_0x4d9aa2['forceValue']:!_0x53a936[_0x49a8('0x12')];_0x53d392[_0x49a8('0xe')](()=>{const _0x26d985=Array[_0x49a8('0xc')](_0x111b2f['getRanges']());for(const _0x1cdac2 of _0x26d985){const _0x2ead55=_0x22722f?[_0x1cdac2]:_0x157368(_0x3f8628,_0x1cdac2,_0x53d392);for(const _0x3317bc of _0x2ead55)_0x23538e[_0x49a8('0x8')](_0x3317bc,{'commandName':_0x3f8628,'commandParams':[{'forceValue':_0x22722f}]});}});}),_0x23538e[_0x49a8('0xf')][_0x49a8('0xd')](_0x1feb4f=>{const {data:_0x350a19}=_0x1feb4f;if(_0x350a19&&_0x350a19[_0x49a8('0xa')]==_0x3f8628)return _0x350a19['commandParams'][0x0][_0x49a8('0x13')]?{'type':_0x49a8('0x4'),'content':_0x1a5d24(_0x1e39b2,_0x49a8('0xb'))}:{'type':_0x49a8('0x4'),'content':_0x1a5d24(_0x1e39b2,_0x49a8('0x2'))};});}}
23
+ const _0xb7a4=['enableCommand','afterInit','editor','FORMAT_RESTRICTED_DISABLED','getRanges','TrackChangesEditing','locale','selection','StandardEditingModeEditing','format','markInlineFormat','registerDescriptionCallback','commandName','isCollapsed','commandParams','forceValue','plugins','commands','has','get','_descriptionFactory'];(function(_0x17b506,_0xb7a44b){const _0x476521=function(_0x4fef91){while(--_0x4fef91){_0x17b506['push'](_0x17b506['shift']());}};_0x476521(++_0xb7a44b);}(_0xb7a4,0xc7));const _0x4765=function(_0x17b506,_0xb7a44b){_0x17b506=_0x17b506-0x0;let _0x476521=_0xb7a4[_0x17b506];return _0x476521;};import{Plugin as _0x2d09f3}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x538ef6}from'./utils';import{getTranslation as _0x39d7a4}from'../utils/common-translations';export default class lt extends _0x2d09f3{[_0x4765('0xc')](){const _0x2da560=this[_0x4765('0xd')],_0x8e1146=_0x2da560['model'],_0x358ecd=_0x2da560[_0x4765('0x11')];if(!_0x2da560[_0x4765('0x6')][_0x4765('0x8')](_0x4765('0x13')))return;const _0x1d7a0f=_0x2da560[_0x4765('0x6')][_0x4765('0x9')](_0x4765('0x10')),_0x31efb7='restrictedEditingException',_0x838330=_0x2da560[_0x4765('0x7')][_0x4765('0x9')](_0x31efb7);_0x1d7a0f[_0x4765('0xb')](_0x31efb7,(_0x586493,_0x5305ed={})=>{const _0x28a91c=_0x8e1146['document'][_0x4765('0x12')];if(_0x28a91c[_0x4765('0x3')])return void _0x586493(_0x5305ed);const _0x50c3d9=void 0x0!==_0x5305ed[_0x4765('0x5')]?_0x5305ed['forceValue']:!_0x838330['value'];_0x8e1146['change'](()=>{const _0x12addb=Array['from'](_0x28a91c[_0x4765('0xf')]());for(const _0x1a278d of _0x12addb){const _0x1621ec=_0x50c3d9?[_0x1a278d]:_0x538ef6(_0x31efb7,_0x1a278d,_0x8e1146);for(const _0x59b7f1 of _0x1621ec)_0x1d7a0f[_0x4765('0x0')](_0x59b7f1,{'commandName':_0x31efb7,'commandParams':[{'forceValue':_0x50c3d9}]});}});}),_0x1d7a0f[_0x4765('0xa')][_0x4765('0x1')](_0x2ecf50=>{const {data:_0x3806a0}=_0x2ecf50;if(_0x3806a0&&_0x3806a0[_0x4765('0x2')]==_0x31efb7)return _0x3806a0[_0x4765('0x4')][0x0]['forceValue']?{'type':_0x4765('0x14'),'content':_0x39d7a4(_0x358ecd,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x4765('0x14'),'content':_0x39d7a4(_0x358ecd,_0x4765('0xe'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4275=['createRangeOn','commandName','element','includes','afterInit','_descriptionFactory','normalizeConfig','toLowerCase','_getRangesWithClasses','block','commandParams','change','every','getSelectedBlocks','selection','markBlockFormat','style','classes','model','markInlineFormat','add','registerDescriptionCallback','getAttribute','find','isCollapsed','has','styleName','getDefinitionsForView','forceValue','document','getItems','enabledStyles','name','*Remove\x20format:*\x20%0','DataSchema','TrackChangesEditing','get','plugins','value','from','commands','*Format:*\x20%0','push','style.definitions','editor','format','_getStyleDefinition','StyleUtils','Style','getAncestors','isBlock','enableCommand','locale'];(function(_0x4f2fa8,_0x427571){const _0x19670f=function(_0x39763c){while(--_0x39763c){_0x4f2fa8['push'](_0x4f2fa8['shift']());}};_0x19670f(++_0x427571);}(_0x4275,0x1b0));const _0x1967=function(_0x4f2fa8,_0x427571){_0x4f2fa8=_0x4f2fa8-0x0;let _0x19670f=_0x4275[_0x4f2fa8];return _0x19670f;};import{Plugin as _0x13e86e}from'ckeditor5/src/core';import{getTranslation as _0x3d68d7}from'../utils/common-translations';export default class gt extends _0x13e86e{[_0x1967('0x31')](){const _0x36a9bd=this[_0x1967('0x24')];if(!_0x36a9bd[_0x1967('0x1d')][_0x1967('0x11')](_0x1967('0x28')))return;const _0x2c4605=_0x36a9bd[_0x1967('0x20')]['get']('style'),_0x59c042=_0x36a9bd[_0x1967('0x1d')][_0x1967('0x1c')](_0x1967('0x1b')),_0x22bedc=_0x36a9bd[_0x1967('0x2c')],_0xd0be8c=_0x36a9bd['plugins'][_0x1967('0x1c')](_0x1967('0x1a')),_0xf6f3d6=_0x36a9bd[_0x1967('0x1d')][_0x1967('0x1c')](_0x1967('0x27'))[_0x1967('0x33')](_0xd0be8c,_0x36a9bd['config'][_0x1967('0x1c')](_0x1967('0x23')));_0x59c042[_0x1967('0x2b')](_0x1967('0x8'),(_0x5588d7,{styleName:_0x325748})=>{const _0x142378=_0x36a9bd[_0x1967('0xa')][_0x1967('0x15')][_0x1967('0x6')],_0x10be5d=this[_0x1967('0x26')](_0x325748,_0xf6f3d6);if(!_0x10be5d)return;if(!_0x2c4605[_0x1967('0x17')]['includes'](_0x325748))return;if(_0x142378[_0x1967('0x10')]&&!_0x10be5d[_0x1967('0x2a')])return void _0x5588d7({'styleName':_0x325748});const _0x579c1a=!_0x2c4605[_0x1967('0x1e')][_0x1967('0x30')](_0x10be5d[_0x1967('0x18')]);if(_0x10be5d[_0x1967('0x2a')]){const _0x5d15f0=function(_0x1b4e42,_0x2d8eee){const _0x22d3bf=new Set();for(const _0x54ad0d of _0x1b4e42){const _0x18e1b2=_0x54ad0d[_0x1967('0x29')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xafdcb of _0x18e1b2)if(_0x2d8eee['includes'](_0xafdcb[_0x1967('0x18')])){_0x22d3bf[_0x1967('0xc')](_0xafdcb);break;}}return _0x22d3bf;}(_0x142378[_0x1967('0x5')](),_0x10be5d['modelElements']);_0x36a9bd[_0x1967('0xa')]['change'](()=>{for(const _0x1c616f of _0x5d15f0)_0x59c042[_0x1967('0x7')](_0x1c616f,{'commandName':'style','commandParams':[{'styleName':_0x325748,'forceValue':_0x579c1a}],'formatGroupId':'style:'+_0x325748});});}else{let _0x221519=Array[_0x1967('0x1f')](_0x142378['getRanges']());if(!_0x579c1a){const _0x1f8ee0=Array[_0x1967('0x1f')](_0xd0be8c[_0x1967('0x13')](_0x10be5d[_0x1967('0x2f')],!0x1))[0x0][_0x1967('0xa')],_0x699f63=[];for(const _0x159ca2 of _0x221519){const _0x2724c6=this['_getRangesWithClasses'](_0x36a9bd[_0x1967('0xa')],_0x159ca2,_0x10be5d[_0x1967('0x9')],_0x1f8ee0);_0x699f63['push'](..._0x2724c6);}_0x221519=_0x699f63;}_0x36a9bd[_0x1967('0xa')][_0x1967('0x3')](()=>{for(const _0x304863 of _0x221519)_0x59c042[_0x1967('0xb')](_0x304863,{'commandName':_0x1967('0x8'),'commandParams':[{'styleName':_0x325748,'forceValue':_0x579c1a}]});});}}),_0x59c042[_0x1967('0x32')][_0x1967('0xd')](_0x3fc407=>{const {data:_0x1a9165}=_0x3fc407;if(_0x1a9165&&_0x1967('0x8')===_0x1a9165[_0x1967('0x2e')])return _0x1a9165[_0x1967('0x2')][0x0][_0x1967('0x14')]?{'type':_0x1967('0x25'),'content':_0x3d68d7(_0x22bedc,_0x1967('0x21'),_0x1a9165[_0x1967('0x2')][0x0][_0x1967('0x12')][_0x1967('0x34')]())}:{'type':_0x1967('0x25'),'content':_0x3d68d7(_0x22bedc,_0x1967('0x19'),_0x1a9165[_0x1967('0x2')][0x0][_0x1967('0x12')][_0x1967('0x34')]())};});}[_0x1967('0x26')](_0x194a5f,_0x1d49a8){let _0x391cd4=_0x1d49a8[_0x1967('0x1')][_0x1967('0xf')](_0x32b1f6=>_0x32b1f6['name']===_0x194a5f);return _0x391cd4||(_0x391cd4=_0x1d49a8['inline'][_0x1967('0xf')](_0x442cda=>_0x442cda['name']===_0x194a5f)),_0x391cd4;}[_0x1967('0x0')](_0x2c8c2d,_0x5127f8,_0x162c87,_0x36f8a5){const _0x4e22b3=[];for(const _0x29d421 of _0x5127f8[_0x1967('0x16')]()){const _0x5c8fa4=_0x29d421[_0x1967('0xe')](_0x36f8a5);_0x5c8fa4&&(_0x162c87[_0x1967('0x4')](_0x4c3a76=>_0x5c8fa4[_0x1967('0x9')][_0x1967('0x30')](_0x4c3a76))&&_0x4e22b3[_0x1967('0x22')](_0x2c8c2d[_0x1967('0x2d')](_0x29d421)));}return _0x4e22b3;}}
23
+ const _0x5b07=['name','plugins','classes','every','commandParams','element','_getStyleDefinition','normalizeConfig','push','document','_getRangesWithClasses','change','enableCommand','from','isBlock','get','has','modelElements','_descriptionFactory','model','getRanges','enabledStyles','*Format:*\x20%0','StyleUtils','Style','style.definitions','style','format','find','isCollapsed','commandName','selection','styleName','createRangeOn','getItems','markInlineFormat','includes','toLowerCase','getAttribute','locale','style:','commands','block','editor','getAncestors','getDefinitionsForView'];(function(_0x354a45,_0x5b07a5){const _0xc3936a=function(_0x1f2e9f){while(--_0x1f2e9f){_0x354a45['push'](_0x354a45['shift']());}};_0xc3936a(++_0x5b07a5);}(_0x5b07,0x144));const _0xc393=function(_0x354a45,_0x5b07a5){_0x354a45=_0x354a45-0x0;let _0xc3936a=_0x5b07[_0x354a45];return _0xc3936a;};import{Plugin as _0x1962a8}from'ckeditor5/src/core';import{getTranslation as _0x197022}from'../utils/common-translations';export default class gt extends _0x1962a8{['afterInit'](){const _0x599fef=this[_0xc393('0x29')];if(!_0x599fef[_0xc393('0x2d')][_0xc393('0xe')](_0xc393('0x16')))return;const _0x2ec483=_0x599fef[_0xc393('0x27')]['get'](_0xc393('0x18')),_0x18a1b4=_0x599fef[_0xc393('0x2d')]['get']('TrackChangesEditing'),_0x3e874b=_0x599fef[_0xc393('0x25')],_0x11ebf5=_0x599fef[_0xc393('0x2d')][_0xc393('0xd')]('DataSchema'),_0x5793bc=_0x599fef['plugins'][_0xc393('0xd')](_0xc393('0x15'))[_0xc393('0x5')](_0x11ebf5,_0x599fef['config'][_0xc393('0xd')](_0xc393('0x17')));_0x18a1b4[_0xc393('0xa')](_0xc393('0x18'),(_0x2f11db,{styleName:_0x90be39})=>{const _0x2a6554=_0x599fef[_0xc393('0x11')][_0xc393('0x7')][_0xc393('0x1d')],_0x213ac5=this['_getStyleDefinition'](_0x90be39,_0x5793bc);if(!_0x213ac5)return;if(!_0x2ec483[_0xc393('0x13')][_0xc393('0x22')](_0x90be39))return;if(_0x2a6554[_0xc393('0x1b')]&&!_0x213ac5[_0xc393('0xc')])return void _0x2f11db({'styleName':_0x90be39});const _0x3b80ea=!_0x2ec483['value'][_0xc393('0x22')](_0x213ac5[_0xc393('0x2c')]);if(_0x213ac5[_0xc393('0xc')]){const _0x25f950=function(_0x187246,_0x1c1f5a){const _0x9fe045=new Set();for(const _0x53239d of _0x187246){const _0x9c37d5=_0x53239d[_0xc393('0x2a')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2f2920 of _0x9c37d5)if(_0x1c1f5a[_0xc393('0x22')](_0x2f2920[_0xc393('0x2c')])){_0x9fe045['add'](_0x2f2920);break;}}return _0x9fe045;}(_0x2a6554['getSelectedBlocks'](),_0x213ac5[_0xc393('0xf')]);_0x599fef[_0xc393('0x11')]['change'](()=>{for(const _0x5a48c7 of _0x25f950)_0x18a1b4['markBlockFormat'](_0x5a48c7,{'commandName':_0xc393('0x18'),'commandParams':[{'styleName':_0x90be39,'forceValue':_0x3b80ea}],'formatGroupId':_0xc393('0x26')+_0x90be39});});}else{let _0x260fb5=Array[_0xc393('0xb')](_0x2a6554[_0xc393('0x12')]());if(!_0x3b80ea){const _0x1ab971=Array[_0xc393('0xb')](_0x11ebf5[_0xc393('0x2b')](_0x213ac5[_0xc393('0x3')],!0x1))[0x0][_0xc393('0x11')],_0x14669a=[];for(const _0x3a6d6d of _0x260fb5){const _0xc22bf8=this[_0xc393('0x8')](_0x599fef[_0xc393('0x11')],_0x3a6d6d,_0x213ac5[_0xc393('0x0')],_0x1ab971);_0x14669a[_0xc393('0x6')](..._0xc22bf8);}_0x260fb5=_0x14669a;}_0x599fef['model'][_0xc393('0x9')](()=>{for(const _0x618f0b of _0x260fb5)_0x18a1b4[_0xc393('0x21')](_0x618f0b,{'commandName':'style','commandParams':[{'styleName':_0x90be39,'forceValue':_0x3b80ea}]});});}}),_0x18a1b4[_0xc393('0x10')]['registerDescriptionCallback'](_0x16e739=>{const {data:_0x2124fa}=_0x16e739;if(_0x2124fa&&'style'===_0x2124fa[_0xc393('0x1c')])return _0x2124fa[_0xc393('0x2')][0x0]['forceValue']?{'type':_0xc393('0x19'),'content':_0x197022(_0x3e874b,_0xc393('0x14'),_0x2124fa['commandParams'][0x0][_0xc393('0x1e')][_0xc393('0x23')]())}:{'type':_0xc393('0x19'),'content':_0x197022(_0x3e874b,'*Remove\x20format:*\x20%0',_0x2124fa[_0xc393('0x2')][0x0][_0xc393('0x1e')][_0xc393('0x23')]())};});}[_0xc393('0x4')](_0x590e75,_0x310838){let _0x3c60da=_0x310838[_0xc393('0x28')][_0xc393('0x1a')](_0x195aed=>_0x195aed[_0xc393('0x2c')]===_0x590e75);return _0x3c60da||(_0x3c60da=_0x310838['inline'][_0xc393('0x1a')](_0x3bbca5=>_0x3bbca5[_0xc393('0x2c')]===_0x590e75)),_0x3c60da;}[_0xc393('0x8')](_0x2b2d25,_0x4f7631,_0x1534f,_0x41e0eb){const _0x5d4742=[];for(const _0x385951 of _0x4f7631[_0xc393('0x20')]()){const _0x3f5a21=_0x385951[_0xc393('0x24')](_0x41e0eb);_0x3f5a21&&(_0x1534f[_0xc393('0x1')](_0x50dafc=>_0x3f5a21[_0xc393('0x0')][_0xc393('0x22')](_0x50dafc))&&_0x5d4742['push'](_0x2b2d25[_0xc393('0x1f')](_0x385951)));}return _0x5d4742;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd210=['insertTableColumnLeft','change:data','enqueueChange','detach','removeTableColumn','substr','hasAttribute','ELEMENT_TABLE','selection','_descriptionFactory','_setupColumnsRowsFixing','nodeAfter','$graveyard','removeTableRow','*Insert:*\x20%0','isIntersectingWithRange','registerCustomCallback','_tableSuggestions','position','getChanges','getSelectionAffectedTableCells','rootName','insertTableColumnRight','has','type','createRangeOn','registerDescriptionCallback','showSuggestionHighlights','root','maxColumn','getRowIndexes','maxRow','subType','table','join','_acceptFormatSuggestionCallbackFactory','MIN_SAFE_INTEGER','document','name','_splitMarkerName','*Remove:*\x20%0','setSelection','createRangeIn','tableRow','add','execute','isInContent','last','model','markMultiRangeDeletion','suggestion','fromRange','colspan','deletion','TableUtils','insertTableRowAbove','addClass','start','getChildren','downcastDispatcher','batch','MAX_SAFE_INTEGER','isTouching','insert','filter','length','createPositionAt','plugins','findAncestor','differ','tablePaste','getCellLocation','get','end','addRange','markMultiRangeInsertion','cell','left','_getCoordsForCells','above','_tablePostFixingSubtypes','options','selectTableColumn','every','getColumnIndexes','toViewElement','push','min','enableCommand','order','classes','ELEMENT_TABLE_ROW_WITH_TEXT','registerElementLabel','tableCell','writer','max','refresh','ELEMENT_TABLE_WITH_TEXT','rowspan','nodeBefore','minColumn','tableColumn','from','getAttribute','first','$textProxy','afterInit','addMarker:suggestion','oldRange','getRanges','minRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','_getSuggestionCoords','removeClass','getItems','TrackChangesEditing','locale','data','editor','toLowerCase','ELEMENT_TABLE_ROW','insertTable','isEqual','ELEMENT_TABLE_COLUMN','includes','_suggestionFactory','getContainedElement','commands','insertion','span','insertTableRowBelow','discard','createTableWalker','change','values','map','TableEditing','getFirstRange','some'];(function(_0x248efb,_0xd2101c){const _0xf326cf=function(_0x3e7a50){while(--_0x3e7a50){_0x248efb['push'](_0x248efb['shift']());}};_0xf326cf(++_0xd2101c);}(_0xd210,0xfd));const _0xf326=function(_0x248efb,_0xd2101c){_0x248efb=_0x248efb-0x0;let _0xf326cf=_0xd210[_0x248efb];return _0xf326cf;};import{Plugin as _0x500636}from'ckeditor5/src/core';import{LiveRange as _0x62383e}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2b935e}from'ckeditor5/src/widget';import{getTranslation as _0x143fc6}from'../utils/common-translations';export default class mt extends _0x500636{constructor(_0x2e2aae){super(_0x2e2aae),this[_0xf326('0x69')]=[_0xf326('0x44'),_0xf326('0x7e')],this[_0xf326('0x2a')]=new Set();}[_0xf326('0x83')](){const _0x41537d=this[_0xf326('0x4')],_0x3c8887=_0x41537d[_0xf326('0x49')][_0xf326('0x3e')]['selection'];if(!_0x41537d[_0xf326('0x5c')][_0xf326('0x30')](_0xf326('0x16')))return;const _0x4cb8af=_0x41537d[_0xf326('0x2')],_0x4c23b2=_0x41537d[_0xf326('0x5c')][_0xf326('0x61')](_0xf326('0x1')),_0x39c7d9=_0x41537d['plugins'][_0xf326('0x61')](_0xf326('0x4f'));_0x4c23b2[_0xf326('0x22')][_0xf326('0x75')](_0xf326('0x3a'),_0x15f74a=>_0x143fc6(_0x4cb8af,_0xf326('0x20'),_0x15f74a)),this[_0xf326('0x23')](),_0x4c23b2[_0xf326('0x71')](_0xf326('0x7')),_0x4c23b2[_0xf326('0x71')]('selectTableRow'),_0x4c23b2[_0xf326('0x71')](_0xf326('0x6b'));for(const _0x8b8b42 of[_0xf326('0x50'),_0xf326('0x10')]){const _0xb2f299=_0x41537d[_0xf326('0xd')][_0xf326('0x61')](_0x8b8b42);_0x4c23b2[_0xf326('0x71')](_0x8b8b42,_0x404db7=>{_0x41537d[_0xf326('0x49')][_0xf326('0x13')](_0xe44db=>{_0x404db7();const _0x28064f=_0xf326('0x68')===_0xb2f299[_0xf326('0x72')],_0x453786=_0x39c7d9[_0xf326('0x2d')](_0x3c8887),_0x1b8305=_0x39c7d9[_0xf326('0x37')](_0x453786),_0x47515d=_0x28064f?_0x1b8305[_0xf326('0x81')]-0x1:_0x1b8305[_0xf326('0x48')]+0x1,_0x5305e0=_0x453786[0x0][_0xf326('0x5d')](_0xf326('0x3a')),_0x22dc7f=_0x39c7d9[_0xf326('0x12')](_0x5305e0,{'startRow':_0x47515d,'endRow':_0x47515d}),_0x16edb7=Array[_0xf326('0x7f')](_0x22dc7f)[_0xf326('0x15')](_0x59e01f=>_0xe44db[_0xf326('0x32')](_0x59e01f[_0xf326('0x65')]));_0x4c23b2['markMultiRangeInsertion'](_0x16edb7,_0xf326('0x44'));});});}for(const _0xee7e14 of[_0xf326('0x19'),_0xf326('0x2f')]){const _0x592f56=_0x41537d['commands']['get'](_0xee7e14);_0x4c23b2[_0xf326('0x71')](_0xee7e14,_0x5e8837=>{_0x41537d[_0xf326('0x49')][_0xf326('0x13')](_0x24195f=>{_0x5e8837();const _0x405e53=_0xf326('0x66')===_0x592f56[_0xf326('0x72')],_0x490f7a=_0x39c7d9[_0xf326('0x2d')](_0x3c8887),_0x35dc36=_0x39c7d9[_0xf326('0x6d')](_0x490f7a),_0x170c73=_0x405e53?_0x35dc36[_0xf326('0x81')]-0x1:_0x35dc36['last']+0x1,_0x1e9e15=_0x490f7a[0x0][_0xf326('0x5d')](_0xf326('0x3a')),_0x1471cd=_0x39c7d9[_0xf326('0x12')](_0x1e9e15,{'startRow':0x0,'column':_0x170c73,'includeAllSlots':!0x1}),_0x53eb06=Array[_0xf326('0x7f')](_0x1471cd)[_0xf326('0x15')](_0xe465a3=>_0x24195f[_0xf326('0x32')](_0xe465a3[_0xf326('0x65')]));_0x4c23b2[_0xf326('0x64')](_0x53eb06,_0xf326('0x7e'));});});}for(const _0x25df25 of[_0xf326('0x26'),_0xf326('0x1d')]){const _0x3c56fb=_0x25df25['substr'](0xb),_0x3456bf=_0x3c56fb[_0xf326('0x5')](),_0x5c80d9=_0x3456bf['substr'](0x0,0x3)+_0xf326('0xf'),_0x4be89b='table'+_0x3c56fb,_0x29a828=_0xf326('0x70')+_0x3c56fb,_0x46198a=_0xf326('0x78')+_0x3c56fb;_0x4c23b2[_0xf326('0x71')](_0x25df25,()=>{_0x41537d[_0xf326('0x49')][_0xf326('0x13')](_0x29a3b0=>{const _0x5d2442=_0x39c7d9[_0xf326('0x2d')](_0x3c8887),_0x5ef197=_0x5d2442[0x0][_0xf326('0x5d')](_0xf326('0x3a'));let _0x59a2e8;if(_0xf326('0x26')==_0x25df25){const _0x255482=_0x39c7d9[_0xf326('0x37')](_0x5d2442);_0x59a2e8={'startRow':_0x255482[_0xf326('0x81')],'endRow':_0x255482['last'],'includeAllSlots':!0x0};}else{const _0x374e24=_0x39c7d9['getColumnIndexes'](_0x5d2442);_0x59a2e8={'startColumn':_0x374e24['first'],'endColumn':_0x374e24[_0xf326('0x48')],'includeAllSlots':!0x0};}const _0x55d12e=_0x39c7d9[_0xf326('0x12')](_0x5ef197,_0x59a2e8),_0x458f5f=Array['from'](_0x55d12e)[_0xf326('0x15')](({cell:_0x459a46})=>_0x459a46),_0x4e4d87=se(_0x458f5f['filter'](_0x1b4476=>_0x1b4476['hasAttribute'](_0x5c80d9))),_0x33b553=se(_0x458f5f[_0xf326('0x59')](_0x3ae4d7=>!_0x3ae4d7['hasAttribute'](_0x5c80d9)))[_0xf326('0x15')](_0x56c94f=>_0x29a3b0['createRangeOn'](_0x56c94f)),_0x34f95c=_0x4c23b2[_0xf326('0x4a')](_0x33b553,_0x4be89b);if(_0x34f95c&&(_0xf326('0x44')==_0x34f95c[_0xf326('0x39')]||'tableColumn'==_0x34f95c[_0xf326('0x39')])){const _0x29e6ab=this[_0xf326('0x89')](_0x34f95c);for(const _0xfe2c2a of _0x4e4d87){const _0x3115ba=_0x29a3b0[_0xf326('0x32')](_0xfe2c2a),_0x43ed5b=_0x39c7d9['getCellLocation'](_0xfe2c2a),_0x347c6d=_0xfe2c2a[_0xf326('0x80')](_0x5c80d9)-0x1,_0x44098a=_0x29e6ab[_0x29a828],_0x190cbb=_0x29e6ab[_0x46198a];_0x44098a<=_0x43ed5b[_0x3456bf]&&_0x43ed5b[_0x3456bf]+_0x347c6d<=_0x190cbb&&_0x34f95c[_0xf326('0x63')](_0x3115ba);}}});});}function _0xc1579e(_0x3b33a2){const _0x4e9d69=Array['from'](_0x3c8887[_0xf326('0x86')]())[_0xf326('0x15')](_0x190d9e=>_0x62383e[_0xf326('0x4c')](_0x190d9e));_0x41537d[_0xf326('0x49')][_0xf326('0x13')](_0x565260=>{const _0x17135c=_0x565260[_0xf326('0x55')];_0x3b33a2=_0x3b33a2[_0xf326('0x59')](_0x3f1f9c=>_0xf326('0x25')!=_0x3f1f9c[_0xf326('0x35')]['rootName']),_0x565260[_0xf326('0x42')](_0x3b33a2),_0x41537d['commands']['get']('removeTableRow')[_0xf326('0x79')](),_0x41537d['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x41537d[_0xf326('0x49')][_0xf326('0x1b')](()=>{_0x41537d[_0xf326('0x49')]['enqueueChange'](_0x17135c,_0x568cfb=>{const _0x2107ec=_0x4e9d69[_0xf326('0x59')](_0x34efb6=>_0xf326('0x25')!=_0x34efb6[_0xf326('0x35')][_0xf326('0x2e')]);_0x2107ec['length']>0x0&&_0x568cfb[_0xf326('0x42')](_0x2107ec);for(const _0x32b328 of _0x4e9d69)_0x32b328[_0xf326('0x1c')]();});});});}function _0x129051(_0x148bd7){_0x41537d[_0xf326('0x49')]['change'](_0x53adae=>{const _0x1b298=Array[_0xf326('0x7f')](_0x3c8887[_0xf326('0x86')]())['map'](_0x3d8080=>_0x62383e['fromRange'](_0x3d8080)),_0x1d8438=[];for(const _0x1d3c00 of _0x148bd7)for(const _0x116025 of _0x1d3c00['getItems']({'shallow':!0x0}))_0x1d8438[_0xf326('0x6f')](_0x116025);for(const _0x33bf58 of _0x1d8438)_0xf326('0x25')!=_0x33bf58[_0xf326('0x35')][_0xf326('0x2e')]&&(_0x53adae[_0xf326('0x42')](_0x53adae[_0xf326('0x5b')](_0x33bf58,0x0)),_0x41537d[_0xf326('0xd')]['get'](_0xf326('0x1d'))[_0xf326('0x79')](),_0x41537d[_0xf326('0x46')](_0xf326('0x1d'),{'forceDefaultExecution':!0x0}));const _0x1cb8cc=_0x1b298[_0xf326('0x59')](_0x34344e=>_0xf326('0x25')!=_0x34344e[_0xf326('0x35')][_0xf326('0x2e')]);_0x1cb8cc[_0xf326('0x5a')]>0x0&&_0x53adae[_0xf326('0x42')](_0x1cb8cc);for(const _0x293f3c of _0x1b298)_0x293f3c['detach']();});}function _0x357f3e(_0x340b63,_0x4a47b4){return _0x4a47b4[_0xf326('0x6c')](_0x51a58e=>_0x340b63[_0xf326('0x18')](_0x28e503=>_0x28e503[_0xf326('0x62')]['isEqual'](_0x51a58e[_0xf326('0x52')])||_0x51a58e['end'][_0xf326('0x8')](_0x28e503[_0xf326('0x52')])));}function _0x54edcd(_0x34d229,_0x12f23a){return _0x34d229[_0xf326('0x18')](_0x162bbc=>_0x12f23a['some'](_0x546aa5=>_0x162bbc[_0xf326('0x62')][_0xf326('0x57')](_0x546aa5[_0xf326('0x52')])));}_0x41537d[_0xf326('0x3')][_0xf326('0x54')]['on'](_0xf326('0x84'),(_0x5f26f3,_0x14929e,_0x65d749)=>{if(!_0x65d749[_0xf326('0x6a')][_0xf326('0x34')])return;const _0x5b621f=_0x14929e['item'];if(!_0x5b621f)return;const _0x2874e6=_0x65d749['mapper'][_0xf326('0x6e')](_0x5b621f);function _0x39c1f7(_0x4e0e9f){return Array['isArray'](_0x4e0e9f)?_0x4e0e9f:[_0x4e0e9f];}_0x2874e6&&_0xf326('0x76')===_0x5b621f[_0xf326('0x3f')]&&_0x2b935e(_0x2874e6,_0x65d749[_0xf326('0x77')],(_0x598bc4,_0x51bee7,_0x443d1a)=>_0x443d1a[_0xf326('0x51')](_0x39c1f7(_0x51bee7[_0xf326('0x73')]),_0x598bc4),(_0x595e8d,_0x9660f1,_0xd02d91)=>_0xd02d91[_0xf326('0x8a')](_0x39c1f7(_0x9660f1[_0xf326('0x73')]),_0x595e8d));},{'priority':'highest'}),_0x4c23b2[_0xf326('0x22')]['registerDescriptionCallback'](_0x52f4f0=>{if(_0xf326('0xe')!=_0x52f4f0[_0xf326('0x31')]&&_0xf326('0x4e')!=_0x52f4f0[_0xf326('0x31')])return;const _0x11073d=_0x52f4f0[_0xf326('0xc')]();if(null!=_0x11073d&&_0x11073d['is']('element','table')){if(_0xf326('0xe')==_0x52f4f0[_0xf326('0x31')]){const _0x1f1f22=_0x52f4f0[_0xf326('0x0')]()['filter'](_0x4658b1=>_0x4658b1['is'](_0xf326('0x82')))[_0xf326('0x15')](_0x533f64=>_0x533f64[_0xf326('0x3')]);if(_0x1f1f22[_0xf326('0x5a')])return{'type':_0xf326('0xe'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x27'),_0x143fc6(_0x4cb8af,_0xf326('0x7a'),'\x22'+_0x1f1f22[_0xf326('0x3b')]('\x20')+'\x22'))};}if(_0xf326('0x4e')==_0x52f4f0[_0xf326('0x31')]){const _0x32b437=_0x52f4f0[_0xf326('0x0')]()[_0xf326('0x59')](_0x50a962=>_0x50a962['is']('$textProxy'))[_0xf326('0x15')](_0x8d0846=>_0x8d0846['data']);if(_0x32b437['length'])return{'type':'deletion','content':_0x143fc6(_0x4cb8af,'*Remove:*\x20%0',_0x143fc6(_0x4cb8af,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x32b437[_0xf326('0x3b')]('\x20')+'\x22'))};}}}),_0x4c23b2['_descriptionFactory'][_0xf326('0x33')](_0xf96240=>{if('tableRow'==_0xf96240[_0xf326('0x39')]){const _0x5ee059=_0xf96240[_0xf326('0x0')]()['filter'](_0x48d510=>_0x48d510['is']('$textProxy'))[_0xf326('0x15')](_0x2f1dbf=>_0x2f1dbf[_0xf326('0x3')]),_0x418f57=this[_0xf326('0x89')](_0xf96240),_0x12788b=_0x418f57[_0xf326('0x38')]-_0x418f57[_0xf326('0x87')]+0x1;if(_0xf326('0xe')==_0xf96240[_0xf326('0x31')])return _0x5ee059[_0xf326('0x5a')]?{'type':_0xf326('0xe'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x27'),_0x143fc6(_0x4cb8af,_0xf326('0x74'),[_0x12788b,'\x22'+_0x5ee059[_0xf326('0x3b')]('\x20')+'\x22']))}:{'type':_0xf326('0xe'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x27'),_0x143fc6(_0x4cb8af,_0xf326('0x6'),_0x12788b))};if(_0xf326('0x4e')==_0xf96240[_0xf326('0x31')])return _0x5ee059[_0xf326('0x5a')]?{'type':_0xf326('0x4e'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x41'),_0x143fc6(_0x4cb8af,_0xf326('0x74'),[_0x12788b,'\x22'+_0x5ee059['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x143fc6(_0x4cb8af,_0xf326('0x41'),_0x143fc6(_0x4cb8af,'ELEMENT_TABLE_ROW',_0x12788b))};}if('tableColumn'==_0xf96240[_0xf326('0x39')]){const _0x598573=_0xf96240['getItems']()['filter'](_0x44de1a=>_0x44de1a['is'](_0xf326('0x82')))['map'](_0x5dbb3c=>_0x5dbb3c[_0xf326('0x3')]),_0x1890cc=this[_0xf326('0x89')](_0xf96240),_0x3ed001=_0x1890cc[_0xf326('0x36')]-_0x1890cc[_0xf326('0x7d')]+0x1;if('insertion'==_0xf96240[_0xf326('0x31')])return _0x598573['length']?{'type':_0xf326('0xe'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x27'),_0x143fc6(_0x4cb8af,_0xf326('0x88'),[_0x3ed001,'\x22'+_0x598573['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x143fc6(_0x4cb8af,'*Insert:*\x20%0',_0x143fc6(_0x4cb8af,_0xf326('0x9'),_0x3ed001))};if(_0xf326('0x4e')==_0xf96240[_0xf326('0x31')])return _0x598573['length']?{'type':_0xf326('0x4e'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x41'),_0x143fc6(_0x4cb8af,_0xf326('0x88'),[_0x3ed001,'\x22'+_0x598573[_0xf326('0x3b')]('\x20')+'\x22']))}:{'type':_0xf326('0x4e'),'content':_0x143fc6(_0x4cb8af,_0xf326('0x41'),_0x143fc6(_0x4cb8af,_0xf326('0x9'),_0x3ed001))};}}),_0x4c23b2[_0xf326('0xb')]['registerCustomCallback'](_0xf326('0xe'),_0xf326('0x44'),_0xf326('0x11'),_0xc1579e),_0x4c23b2[_0xf326('0xb')][_0xf326('0x29')]('deletion',_0xf326('0x44'),'accept',_0xc1579e),_0x4c23b2[_0xf326('0xb')]['registerCustomCallback'](_0xf326('0xe'),_0xf326('0x7e'),'discard',_0x129051),_0x4c23b2[_0xf326('0xb')]['registerCustomCallback'](_0xf326('0x4e'),'tableColumn','accept',_0x129051),_0x4c23b2[_0xf326('0xb')][_0xf326('0x29')](_0xf326('0xe'),_0xf326('0x7e'),_0xf326('0x3b'),_0x357f3e),_0x4c23b2[_0xf326('0xb')][_0xf326('0x29')]('deletion',_0xf326('0x7e'),_0xf326('0x3b'),_0x357f3e),_0x4c23b2[_0xf326('0xb')][_0xf326('0x29')](_0xf326('0xe'),_0xf326('0x44'),_0xf326('0x3b'),_0x54edcd),_0x4c23b2[_0xf326('0xb')][_0xf326('0x29')](_0xf326('0x4e'),_0xf326('0x44'),'join',_0x54edcd);}[_0xf326('0x3c')](){const _0x3e5f27=this[_0xf326('0x4')],_0x4f9603=_0x3e5f27[_0xf326('0x49')][_0xf326('0x3e')][_0xf326('0x21')];return(_0x572c78,_0x3a8808)=>{_0x3e5f27[_0xf326('0x49')]['change'](_0x18f52d=>{const {commandName:_0x32ce16,commandParams:_0x23c043}=_0x3a8808;let _0x522ca0=_0x572c78[0x0][_0xf326('0x62')][_0xf326('0x7c')];_0x23c043&&_0x23c043[0x0]&&!0x1===_0x23c043[0x0]['forceValue']&&(_0x522ca0=_0x572c78[0x0][_0xf326('0x52')][_0xf326('0x24')]);const _0x17c04a=_0x18f52d[_0xf326('0x43')](_0x522ca0);if('$graveyard'==_0x17c04a[_0xf326('0x35')][_0xf326('0x2e')])return;const _0x2fe4ba=Array[_0xf326('0x7f')](_0x4f9603[_0xf326('0x86')]())[_0xf326('0x15')](_0x436f07=>_0x62383e['fromRange'](_0x436f07));_0x18f52d[_0xf326('0x42')](_0x17c04a),_0x3e5f27[_0xf326('0xd')][_0xf326('0x61')](_0x32ce16)[_0xf326('0x79')](),_0x23c043[_0xf326('0x6f')]({'forceDefaultExecution':!0x0}),_0x3e5f27[_0xf326('0x46')](_0x32ce16,..._0x23c043);const _0x354c7c=_0x2fe4ba[_0xf326('0x59')](_0x518f12=>_0xf326('0x25')!=_0x518f12[_0xf326('0x35')][_0xf326('0x2e')]);_0x354c7c[_0xf326('0x5a')]>0x0&&_0x18f52d[_0xf326('0x42')](_0x354c7c);for(const _0x58d6d1 of _0x2fe4ba)_0x58d6d1[_0xf326('0x1c')]();});};}['_getCoordsForCells'](_0x2a257b){const _0x4ae7ba=this[_0xf326('0x4')][_0xf326('0x5c')][_0xf326('0x61')](_0xf326('0x4f'));let _0x169a59=Number[_0xf326('0x56')],_0x28fa12=Number[_0xf326('0x3d')],_0x3b8504=Number[_0xf326('0x56')],_0x6b785=Number[_0xf326('0x3d')];for(const _0x562273 of _0x2a257b){if(_0xf326('0x25')==_0x562273['root'][_0xf326('0x2e')])continue;const {row:_0x57d770,column:_0xe561eb}=_0x4ae7ba[_0xf326('0x60')](_0x562273),_0x3c4515=_0x562273['hasAttribute'](_0xf326('0x7b'))?_0x562273[_0xf326('0x80')](_0xf326('0x7b'))-0x1:0x0,_0x5824e0=_0x562273[_0xf326('0x1f')](_0xf326('0x4d'))?_0x562273['getAttribute'](_0xf326('0x4d'))-0x1:0x0;_0x169a59=_0x57d770<_0x169a59?_0x57d770:_0x169a59,_0x28fa12=_0x57d770+_0x3c4515>_0x28fa12?_0x57d770+_0x3c4515:_0x28fa12,_0x3b8504=_0xe561eb<_0x3b8504?_0xe561eb:_0x3b8504,_0x6b785=_0xe561eb+_0x5824e0>_0x6b785?_0xe561eb+_0x5824e0:_0x6b785;}return{'minRow':_0x169a59,'maxRow':_0x28fa12,'minColumn':_0x3b8504,'maxColumn':_0x6b785};}[_0xf326('0x23')](){const _0x4d064e=this['editor'],_0x3c2577=_0x4d064e[_0xf326('0x5c')]['get']('TrackChangesEditing'),_0x52fa17=_0x4d064e[_0xf326('0x5c')][_0xf326('0x61')](_0xf326('0x4f'));_0x4d064e[_0xf326('0x49')]['document']['on'](_0xf326('0x1a'),()=>{const _0xd098c7=Array[_0xf326('0x7f')](_0x4d064e[_0xf326('0x49')][_0xf326('0x3e')][_0xf326('0x5e')]['getChangedMarkers']());for(const {name:_0x1adb84,data:_0x167e71}of _0xd098c7){const {group:_0x3462e5,id:_0x4f117c,subType:_0xddba1d}=_0x3c2577[_0xf326('0x40')](_0x1adb84);if(_0xf326('0x4b')!=_0x3462e5)continue;if(null!=_0x167e71[_0xf326('0x85')])continue;const _0x164703=_0x3c2577['getSuggestion'](_0x4f117c);this['_tablePostFixingSubtypes'][_0xf326('0xa')](_0xddba1d)&&this[_0xf326('0x2a')][_0xf326('0x45')](_0x164703);}},{'priority':'low'});const _0x125899=(_0x677497,_0x377d46)=>{let _0x4093ac=!0x1;const _0x230ee4=_0x377d46['createRangeOn'](_0x677497),_0xcc7320=_0x677497[_0xf326('0x5d')](_0xf326('0x3a')),_0x636972=_0x52fa17['getCellLocation'](_0x677497);for(const _0x2e37d8 of this[_0xf326('0x2a')]){const _0x1abb56=_0x2e37d8[_0xf326('0x39')],_0x48d337=_0x1abb56['startsWith'](_0xf326('0x5f')),_0xfd9c01=_0x1abb56[_0xf326('0x1e')](_0x48d337?0xa:0x5),_0x321256=_0xfd9c01[_0xf326('0x5')](),_0x65dd94=_0x321256[_0xf326('0x1e')](0x0,0x3)+_0xf326('0xf'),_0x1e6337=_0xf326('0x70')+_0xfd9c01,_0x3dc0ce=_0xf326('0x78')+_0xfd9c01;if(!_0x2e37d8[_0xf326('0x47')])continue;if(_0xcc7320!=_0x2e37d8[_0xf326('0x17')]()[_0xf326('0x52')][_0xf326('0x5d')](_0xf326('0x3a')))continue;if(_0x2e37d8[_0xf326('0x28')](_0x230ee4))continue;const _0x4db28a=_0x677497[_0xf326('0x1f')](_0x65dd94)?_0x677497[_0xf326('0x80')](_0x65dd94)-0x1:0x0,_0x37556c=this[_0xf326('0x89')](_0x2e37d8),_0x4592a3=_0x37556c[_0x1e6337],_0x5a9e3c=_0x37556c[_0x3dc0ce];_0x4592a3<=_0x636972[_0x321256]&&_0x636972[_0x321256]+_0x4db28a<=_0x5a9e3c&&(_0x2e37d8[_0xf326('0x63')](_0x230ee4),_0x4093ac=!0x0);}return _0x4093ac;};_0x4d064e[_0xf326('0x49')]['document']['registerPostFixer'](_0x267a16=>{let _0x4a7191=!0x1;for(const _0x55dd7e of _0x4d064e['model'][_0xf326('0x3e')][_0xf326('0x5e')][_0xf326('0x2c')]())if(_0xf326('0x58')==_0x55dd7e[_0xf326('0x31')]){if(_0xf326('0x44')==_0x55dd7e[_0xf326('0x3f')])for(const _0x59f105 of _0x55dd7e['position'][_0xf326('0x24')][_0xf326('0x53')]())_0x4a7191=_0x4a7191||_0x125899(_0x59f105,_0x267a16);else _0xf326('0x76')==_0x55dd7e['name']&&(_0x4a7191=_0x4a7191||_0x125899(_0x55dd7e[_0xf326('0x2b')][_0xf326('0x24')],_0x267a16));}return _0x4a7191;});}[_0xf326('0x89')](_0x11c5ca){return this[_0xf326('0x67')](_0x11c5ca['getRanges']()[_0xf326('0x15')](_0x10d3b3=>_0x10d3b3['start'][_0xf326('0x24')]));}}function se(_0x453ba2){return Array['from'](new Set(_0x453ba2)[_0xf326('0x14')]());}
23
+ const _0x1710=['values','join','getRanges','MIN_SAFE_INTEGER','registerDescriptionCallback','accept','has','start','cell','setSelection','createRangeIn','registerElementLabel','$graveyard','isArray','plugins','name','type','some','item','length','change','tableCell','hasAttribute','*Insert:*\x20%0','addRange','maxColumn','ELEMENT_TABLE','_tableSuggestions','minColumn','createRangeOn','getChildren','insert','selectTableRow','above','ELEMENT_TABLE_ROW_WITH_TEXT','TableUtils','left','toLowerCase','differ','insertTableRowBelow','TableEditing','max','minRow','_suggestionFactory','includes','last','ELEMENT_TABLE_WITH_TEXT','downcastDispatcher','colspan','data','writer','getItems','refresh','selection','getFirstRange','getChanges','getColumnIndexes','execute','first','ELEMENT_TABLE_COLUMN','createTableWalker','detach','substr','table','model','enqueueChange','discard','maxRow','deletion','insertTableColumnLeft','_getCoordsForCells','addClass','isEqual','removeTableRow','registerCustomCallback','isInContent','selectTableColumn','enableCommand','add','change:data','_descriptionFactory','subType','nodeAfter','$textProxy','removeTableColumn','editor','filter','getChangedMarkers','addMarker:suggestion','rootName','_splitMarkerName','position','getCellLocation','document','classes','from','_setupColumnsRowsFixing','insertion','commands','options','getSelectionAffectedTableCells','isIntersectingWithRange','tablePaste','toViewElement','batch','TrackChangesEditing','nodeBefore','MAX_SAFE_INTEGER','_tablePostFixingSubtypes','afterInit','startsWith','locale','tableColumn','showSuggestionHighlights','min','element','span','push','getAttribute','insertTable','markMultiRangeInsertion','tableRow','ELEMENT_TABLE_ROW','findAncestor','map','rowspan','get','getSuggestion','isTouching','suggestion','_getSuggestionCoords','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','highest','order','end','fromRange','markMultiRangeDeletion','*Remove:*\x20%0','root'];(function(_0x28eb70,_0x1710ea){const _0x5802f2=function(_0x2789cd){while(--_0x2789cd){_0x28eb70['push'](_0x28eb70['shift']());}};_0x5802f2(++_0x1710ea);}(_0x1710,0x110));const _0x5802=function(_0x28eb70,_0x1710ea){_0x28eb70=_0x28eb70-0x0;let _0x5802f2=_0x1710[_0x28eb70];return _0x5802f2;};import{Plugin as _0x5a1358}from'ckeditor5/src/core';import{LiveRange as _0x5b5b06}from'ckeditor5/src/engine';import{setHighlightHandling as _0x15bcdf}from'ckeditor5/src/widget';import{getTranslation as _0x166972}from'../utils/common-translations';export default class mt extends _0x5a1358{constructor(_0x50aa7f){super(_0x50aa7f),this[_0x5802('0x74')]=['tableRow',_0x5802('0x78')],this[_0x5802('0x23')]=new Set();}[_0x5802('0x75')](){const _0x3f989e=this['editor'],_0x54b8e2=_0x3f989e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];if(!_0x3f989e['plugins'][_0x5802('0xe')](_0x5802('0x30')))return;const _0xb798bd=_0x3f989e[_0x5802('0x77')],_0x28bc5b=_0x3f989e[_0x5802('0x16')][_0x5802('0x86')](_0x5802('0x71')),_0x14a1ec=_0x3f989e[_0x5802('0x16')]['get']('TableUtils');_0x28bc5b[_0x5802('0x58')][_0x5802('0x13')](_0x5802('0x47'),_0x123a70=>_0x166972(_0xb798bd,_0x5802('0x22'),_0x123a70)),this[_0x5802('0x68')](),_0x28bc5b[_0x5802('0x55')](_0x5802('0x7f')),_0x28bc5b[_0x5802('0x55')](_0x5802('0x28')),_0x28bc5b['enableCommand'](_0x5802('0x54'));for(const _0xc1bcd0 of['insertTableRowAbove',_0x5802('0x2f')]){const _0x12ff45=_0x3f989e['commands']['get'](_0xc1bcd0);_0x28bc5b[_0x5802('0x55')](_0xc1bcd0,_0x178430=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x286869=>{_0x178430();const _0x19d188=_0x5802('0x29')===_0x12ff45[_0x5802('0x2')],_0x2404f9=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1fe3ec=_0x14a1ec['getRowIndexes'](_0x2404f9),_0x1d773c=_0x19d188?_0x1fe3ec[_0x5802('0x42')]-0x1:_0x1fe3ec[_0x5802('0x35')]+0x1,_0x29f1dd=_0x2404f9[0x0][_0x5802('0x83')](_0x5802('0x47')),_0x537007=_0x14a1ec[_0x5802('0x44')](_0x29f1dd,{'startRow':_0x1d773c,'endRow':_0x1d773c}),_0x2fad67=Array[_0x5802('0x67')](_0x537007)[_0x5802('0x84')](_0x1f5130=>_0x286869[_0x5802('0x25')](_0x1f5130['cell']));_0x28bc5b['markMultiRangeInsertion'](_0x2fad67,_0x5802('0x81'));});});}for(const _0x280e9c of[_0x5802('0x4d'),'insertTableColumnRight']){const _0x41a286=_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x280e9c);_0x28bc5b[_0x5802('0x55')](_0x280e9c,_0x5024a3=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x113f2a=>{_0x5024a3();const _0x2e5b0c=_0x5802('0x2c')===_0x41a286[_0x5802('0x2')],_0x22d3ed=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x29be14=_0x14a1ec[_0x5802('0x40')](_0x22d3ed),_0x4fe7df=_0x2e5b0c?_0x29be14[_0x5802('0x42')]-0x1:_0x29be14[_0x5802('0x35')]+0x1,_0x4d979a=_0x22d3ed[0x0][_0x5802('0x83')](_0x5802('0x47')),_0xb11809=_0x14a1ec[_0x5802('0x44')](_0x4d979a,{'startRow':0x0,'column':_0x4fe7df,'includeAllSlots':!0x1}),_0x564a48=Array[_0x5802('0x67')](_0xb11809)['map'](_0x2e7dde=>_0x113f2a[_0x5802('0x25')](_0x2e7dde[_0x5802('0x10')]));_0x28bc5b[_0x5802('0x80')](_0x564a48,_0x5802('0x78'));});});}for(const _0x288dfc of[_0x5802('0x51'),'removeTableColumn']){const _0x2a2716=_0x288dfc['substr'](0xb),_0x5bff4d=_0x2a2716[_0x5802('0x2d')](),_0x25c794=_0x5bff4d[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x3e7fc3=_0x5802('0x47')+_0x2a2716,_0x34b009=_0x5802('0x7a')+_0x2a2716,_0x2061c3='max'+_0x2a2716;_0x28bc5b[_0x5802('0x55')](_0x288dfc,()=>{_0x3f989e['model'][_0x5802('0x1c')](_0x2f8b7e=>{const _0xc26d3e=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1e0153=_0xc26d3e[0x0][_0x5802('0x83')](_0x5802('0x47'));let _0x472171;if(_0x5802('0x51')==_0x288dfc){const _0x4618a5=_0x14a1ec[_0x5802('0x0')](_0xc26d3e);_0x472171={'startRow':_0x4618a5['first'],'endRow':_0x4618a5[_0x5802('0x35')],'includeAllSlots':!0x0};}else{const _0x2dd21c=_0x14a1ec[_0x5802('0x40')](_0xc26d3e);_0x472171={'startColumn':_0x2dd21c[_0x5802('0x42')],'endColumn':_0x2dd21c[_0x5802('0x35')],'includeAllSlots':!0x0};}const _0x16d888=_0x14a1ec[_0x5802('0x44')](_0x1e0153,_0x472171),_0x3a5bef=Array['from'](_0x16d888)[_0x5802('0x84')](({cell:_0x51c74f})=>_0x51c74f),_0xac78af=se(_0x3a5bef[_0x5802('0x5e')](_0x4a9c97=>_0x4a9c97[_0x5802('0x1e')](_0x25c794))),_0x5ec3f5=se(_0x3a5bef[_0x5802('0x5e')](_0x42183=>!_0x42183[_0x5802('0x1e')](_0x25c794)))[_0x5802('0x84')](_0x301695=>_0x2f8b7e[_0x5802('0x25')](_0x301695)),_0x2e0dc7=_0x28bc5b[_0x5802('0x5')](_0x5ec3f5,_0x3e7fc3);if(_0x2e0dc7&&(_0x5802('0x81')==_0x2e0dc7['subType']||_0x5802('0x78')==_0x2e0dc7[_0x5802('0x59')])){const _0x2cc76b=this[_0x5802('0x8a')](_0x2e0dc7);for(const _0x13bed7 of _0xac78af){const _0x340fac=_0x2f8b7e[_0x5802('0x25')](_0x13bed7),_0x50dfa2=_0x14a1ec[_0x5802('0x64')](_0x13bed7),_0x23d980=_0x13bed7[_0x5802('0x7e')](_0x25c794)-0x1,_0x54e4d9=_0x2cc76b[_0x34b009],_0x202f14=_0x2cc76b[_0x2061c3];_0x54e4d9<=_0x50dfa2[_0x5bff4d]&&_0x50dfa2[_0x5bff4d]+_0x23d980<=_0x202f14&&_0x2e0dc7[_0x5802('0x20')](_0x340fac);}}});});}function _0x44a2cf(_0x5aaafb){const _0x2adba6=Array[_0x5802('0x67')](_0x54b8e2[_0x5802('0xa')]())['map'](_0x5ed1a3=>_0x5b5b06[_0x5802('0x4')](_0x5ed1a3));_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x53d983=>{const _0x2b805c=_0x53d983[_0x5802('0x70')];_0x5aaafb=_0x5aaafb['filter'](_0x27356d=>_0x5802('0x14')!=_0x27356d[_0x5802('0x7')][_0x5802('0x61')]),_0x53d983[_0x5802('0x11')](_0x5aaafb),_0x3f989e['commands'][_0x5802('0x86')]('removeTableRow')[_0x5802('0x3c')](),_0x3f989e[_0x5802('0x41')](_0x5802('0x51'),{'forceDefaultExecution':!0x0}),_0x3f989e[_0x5802('0x48')][_0x5802('0x49')](()=>{_0x3f989e[_0x5802('0x48')]['enqueueChange'](_0x2b805c,_0x30c06f=>{const _0x10ff53=_0x2adba6[_0x5802('0x5e')](_0xcd5500=>'$graveyard'!=_0xcd5500[_0x5802('0x7')][_0x5802('0x61')]);_0x10ff53[_0x5802('0x1b')]>0x0&&_0x30c06f['setSelection'](_0x10ff53);for(const _0x1d1cf9 of _0x2adba6)_0x1d1cf9[_0x5802('0x45')]();});});});}function _0xe238b7(_0x1e73ff){_0x3f989e['model']['change'](_0x3e5d85=>{const _0x3017c2=Array[_0x5802('0x67')](_0x54b8e2['getRanges']())[_0x5802('0x84')](_0x3e6d5a=>_0x5b5b06['fromRange'](_0x3e6d5a)),_0x105019=[];for(const _0x42db77 of _0x1e73ff)for(const _0x2c588b of _0x42db77[_0x5802('0x3b')]({'shallow':!0x0}))_0x105019['push'](_0x2c588b);for(const _0x35df69 of _0x105019)_0x5802('0x14')!=_0x35df69['root']['rootName']&&(_0x3e5d85[_0x5802('0x11')](_0x3e5d85['createPositionAt'](_0x35df69,0x0)),_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x5802('0x5c'))[_0x5802('0x3c')](),_0x3f989e['execute'](_0x5802('0x5c'),{'forceDefaultExecution':!0x0}));const _0x186407=_0x3017c2[_0x5802('0x5e')](_0xc71fb2=>_0x5802('0x14')!=_0xc71fb2[_0x5802('0x7')]['rootName']);_0x186407['length']>0x0&&_0x3e5d85[_0x5802('0x11')](_0x186407);for(const _0x2a8f62 of _0x3017c2)_0x2a8f62['detach']();});}function _0x2de75d(_0x54d6ad,_0x5fdf78){return _0x5fdf78['every'](_0x4223f1=>_0x54d6ad['some'](_0x552004=>_0x552004['end'][_0x5802('0x50')](_0x4223f1['start'])||_0x4223f1[_0x5802('0x3')][_0x5802('0x50')](_0x552004[_0x5802('0xf')])));}function _0x10ae6a(_0x2a5740,_0x389c39){return _0x2a5740[_0x5802('0x19')](_0x12fe6c=>_0x389c39[_0x5802('0x19')](_0x3d6137=>_0x12fe6c[_0x5802('0x3')][_0x5802('0x88')](_0x3d6137[_0x5802('0xf')])));}_0x3f989e[_0x5802('0x39')][_0x5802('0x37')]['on'](_0x5802('0x60'),(_0x2185ac,_0xe5c2ee,_0x305b18)=>{if(!_0x305b18[_0x5802('0x6b')][_0x5802('0x79')])return;const _0x486495=_0xe5c2ee[_0x5802('0x1a')];if(!_0x486495)return;const _0x9d26ad=_0x305b18['mapper'][_0x5802('0x6f')](_0x486495);function _0x17ba3b(_0x470893){return Array[_0x5802('0x15')](_0x470893)?_0x470893:[_0x470893];}_0x9d26ad&&'tableCell'===_0x486495[_0x5802('0x17')]&&_0x15bcdf(_0x9d26ad,_0x305b18[_0x5802('0x3a')],(_0x57a80b,_0x346225,_0x5d0f9a)=>_0x5d0f9a[_0x5802('0x4f')](_0x17ba3b(_0x346225[_0x5802('0x66')]),_0x57a80b),(_0x13e9a5,_0x334330,_0xe74f5)=>_0xe74f5['removeClass'](_0x17ba3b(_0x334330['classes']),_0x13e9a5));},{'priority':_0x5802('0x1')}),_0x28bc5b['_descriptionFactory']['registerDescriptionCallback'](_0x1c1313=>{if(_0x5802('0x69')!=_0x1c1313[_0x5802('0x18')]&&_0x5802('0x4c')!=_0x1c1313['type'])return;const _0x917f25=_0x1c1313['getContainedElement']();if(null!=_0x917f25&&_0x917f25['is'](_0x5802('0x7b'),'table')){if(_0x5802('0x69')==_0x1c1313[_0x5802('0x18')]){const _0x3dba34=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x288e7=>_0x288e7['is'](_0x5802('0x5b')))[_0x5802('0x84')](_0x135b9d=>_0x135b9d[_0x5802('0x39')]);if(_0x3dba34[_0x5802('0x1b')])return{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3dba34['join']('\x20')+'\x22'))};}if(_0x5802('0x4c')==_0x1c1313[_0x5802('0x18')]){const _0x24ac24=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x291b6e=>_0x291b6e['is'](_0x5802('0x5b')))['map'](_0x383ac3=>_0x383ac3[_0x5802('0x39')]);if(_0x24ac24[_0x5802('0x1b')])return{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x36'),'\x22'+_0x24ac24[_0x5802('0x9')]('\x20')+'\x22'))};}}}),_0x28bc5b[_0x5802('0x58')][_0x5802('0xc')](_0x488cec=>{if(_0x5802('0x81')==_0x488cec['subType']){const _0xb84028=_0x488cec['getItems']()['filter'](_0x5dfd9b=>_0x5dfd9b['is'](_0x5802('0x5b')))['map'](_0x9cd5f1=>_0x9cd5f1['data']),_0x5011d3=this[_0x5802('0x8a')](_0x488cec),_0x1e1a94=_0x5011d3[_0x5802('0x4b')]-_0x5011d3[_0x5802('0x32')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0xb84028['length']?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x82'),_0x1e1a94))};if(_0x5802('0x4c')==_0x488cec['type'])return _0xb84028[_0x5802('0x1b')]?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,'ELEMENT_TABLE_ROW',_0x1e1a94))};}if(_0x5802('0x78')==_0x488cec[_0x5802('0x59')]){const _0x459f0a=_0x488cec[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x2f1000=>_0x2f1000['is']('$textProxy'))[_0x5802('0x84')](_0x2f44b6=>_0x2f44b6['data']),_0x3b9f99=this[_0x5802('0x8a')](_0x488cec),_0x458bff=_0x3b9f99[_0x5802('0x21')]-_0x3b9f99[_0x5802('0x24')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0x459f0a[_0x5802('0x1b')]?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};if(_0x5802('0x4c')==_0x488cec[_0x5802('0x18')])return _0x459f0a['length']?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x8b'),[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};}}),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x69'),_0x5802('0x81'),_0x5802('0x4a'),_0x44a2cf),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x4c'),_0x5802('0x81'),_0x5802('0xd'),_0x44a2cf),_0x28bc5b['_suggestionFactory']['registerCustomCallback']('insertion',_0x5802('0x78'),_0x5802('0x4a'),_0xe238b7),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback']('deletion',_0x5802('0x78'),'accept',_0xe238b7),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('insertion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('deletion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')](_0x5802('0x69'),_0x5802('0x81'),'join',_0x10ae6a),_0x28bc5b[_0x5802('0x33')][_0x5802('0x52')](_0x5802('0x4c'),_0x5802('0x81'),'join',_0x10ae6a);}['_acceptFormatSuggestionCallbackFactory'](){const _0x38686e=this['editor'],_0x2ca0d5=_0x38686e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];return(_0x274966,_0x98cd8e)=>{_0x38686e[_0x5802('0x48')][_0x5802('0x1c')](_0x5e2418=>{const {commandName:_0x3dabcc,commandParams:_0x604223}=_0x98cd8e;let _0xf1eaf9=_0x274966[0x0][_0x5802('0x3')][_0x5802('0x72')];_0x604223&&_0x604223[0x0]&&!0x1===_0x604223[0x0]['forceValue']&&(_0xf1eaf9=_0x274966[0x0][_0x5802('0xf')][_0x5802('0x5a')]);const _0x504cc3=_0x5e2418[_0x5802('0x12')](_0xf1eaf9);if(_0x5802('0x14')==_0x504cc3[_0x5802('0x7')]['rootName'])return;const _0xc564cd=Array[_0x5802('0x67')](_0x2ca0d5[_0x5802('0xa')]())['map'](_0x35ea35=>_0x5b5b06[_0x5802('0x4')](_0x35ea35));_0x5e2418[_0x5802('0x11')](_0x504cc3),_0x38686e[_0x5802('0x6a')][_0x5802('0x86')](_0x3dabcc)[_0x5802('0x3c')](),_0x604223[_0x5802('0x7d')]({'forceDefaultExecution':!0x0}),_0x38686e['execute'](_0x3dabcc,..._0x604223);const _0x482a72=_0xc564cd[_0x5802('0x5e')](_0x3987c3=>_0x5802('0x14')!=_0x3987c3[_0x5802('0x7')]['rootName']);_0x482a72[_0x5802('0x1b')]>0x0&&_0x5e2418[_0x5802('0x11')](_0x482a72);for(const _0x32f07f of _0xc564cd)_0x32f07f[_0x5802('0x45')]();});};}[_0x5802('0x4e')](_0x37b0f2){const _0x10f487=this[_0x5802('0x5d')][_0x5802('0x16')]['get'](_0x5802('0x2b'));let _0x3cde57=Number[_0x5802('0x73')],_0x58704a=Number['MIN_SAFE_INTEGER'],_0x1c880d=Number[_0x5802('0x73')],_0x14ad33=Number[_0x5802('0xb')];for(const _0x166dce of _0x37b0f2){if('$graveyard'==_0x166dce[_0x5802('0x7')][_0x5802('0x61')])continue;const {row:_0x4fcb8e,column:_0x3c9659}=_0x10f487[_0x5802('0x64')](_0x166dce),_0x517e00=_0x166dce[_0x5802('0x1e')]('rowspan')?_0x166dce[_0x5802('0x7e')](_0x5802('0x85'))-0x1:0x0,_0xd366b1=_0x166dce['hasAttribute'](_0x5802('0x38'))?_0x166dce[_0x5802('0x7e')](_0x5802('0x38'))-0x1:0x0;_0x3cde57=_0x4fcb8e<_0x3cde57?_0x4fcb8e:_0x3cde57,_0x58704a=_0x4fcb8e+_0x517e00>_0x58704a?_0x4fcb8e+_0x517e00:_0x58704a,_0x1c880d=_0x3c9659<_0x1c880d?_0x3c9659:_0x1c880d,_0x14ad33=_0x3c9659+_0xd366b1>_0x14ad33?_0x3c9659+_0xd366b1:_0x14ad33;}return{'minRow':_0x3cde57,'maxRow':_0x58704a,'minColumn':_0x1c880d,'maxColumn':_0x14ad33};}[_0x5802('0x68')](){const _0x133d80=this[_0x5802('0x5d')],_0x51a8ce=_0x133d80['plugins'][_0x5802('0x86')](_0x5802('0x71')),_0x2ee3cc=_0x133d80[_0x5802('0x16')][_0x5802('0x86')]('TableUtils');_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['on'](_0x5802('0x57'),()=>{const _0x50630a=Array['from'](_0x133d80['model']['document'][_0x5802('0x2e')][_0x5802('0x5f')]());for(const {name:_0x5a707b,data:_0x5b1498}of _0x50630a){const {group:_0x19296d,id:_0x3693ee,subType:_0x23c4c7}=_0x51a8ce[_0x5802('0x62')](_0x5a707b);if(_0x5802('0x89')!=_0x19296d)continue;if(null!=_0x5b1498['oldRange'])continue;const _0x56fafe=_0x51a8ce[_0x5802('0x87')](_0x3693ee);this['_tablePostFixingSubtypes'][_0x5802('0x34')](_0x23c4c7)&&this['_tableSuggestions'][_0x5802('0x56')](_0x56fafe);}},{'priority':'low'});const _0x570db2=(_0x61a977,_0x1e3cf4)=>{let _0x2150d9=!0x1;const _0x30d3b6=_0x1e3cf4[_0x5802('0x25')](_0x61a977),_0x4dfdcc=_0x61a977['findAncestor']('table'),_0x29a28f=_0x2ee3cc[_0x5802('0x64')](_0x61a977);for(const _0x32b595 of this[_0x5802('0x23')]){const _0x1abdab=_0x32b595[_0x5802('0x59')],_0x102627=_0x1abdab[_0x5802('0x76')](_0x5802('0x6e')),_0x574479=_0x1abdab[_0x5802('0x46')](_0x102627?0xa:0x5),_0x201bd1=_0x574479['toLowerCase'](),_0x8a0b54=_0x201bd1[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x6b1c10=_0x5802('0x7a')+_0x574479,_0x310a76=_0x5802('0x31')+_0x574479;if(!_0x32b595[_0x5802('0x53')])continue;if(_0x4dfdcc!=_0x32b595[_0x5802('0x3e')]()[_0x5802('0xf')][_0x5802('0x83')](_0x5802('0x47')))continue;if(_0x32b595[_0x5802('0x6d')](_0x30d3b6))continue;const _0x6c21e2=_0x61a977['hasAttribute'](_0x8a0b54)?_0x61a977[_0x5802('0x7e')](_0x8a0b54)-0x1:0x0,_0x547cb6=this[_0x5802('0x8a')](_0x32b595),_0x5cbc94=_0x547cb6[_0x6b1c10],_0x17ddc2=_0x547cb6[_0x310a76];_0x5cbc94<=_0x29a28f[_0x201bd1]&&_0x29a28f[_0x201bd1]+_0x6c21e2<=_0x17ddc2&&(_0x32b595[_0x5802('0x20')](_0x30d3b6),_0x2150d9=!0x0);}return _0x2150d9;};_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['registerPostFixer'](_0x5182d3=>{let _0x1bab08=!0x1;for(const _0x5235a9 of _0x133d80[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x2e')][_0x5802('0x3f')]())if(_0x5802('0x27')==_0x5235a9[_0x5802('0x18')]){if(_0x5802('0x81')==_0x5235a9['name'])for(const _0x5d88cc of _0x5235a9[_0x5802('0x63')][_0x5802('0x5a')][_0x5802('0x26')]())_0x1bab08=_0x1bab08||_0x570db2(_0x5d88cc,_0x5182d3);else _0x5802('0x1d')==_0x5235a9[_0x5802('0x17')]&&(_0x1bab08=_0x1bab08||_0x570db2(_0x5235a9[_0x5802('0x63')][_0x5802('0x5a')],_0x5182d3));}return _0x1bab08;});}['_getSuggestionCoords'](_0x56d589){return this[_0x5802('0x4e')](_0x56d589[_0x5802('0xa')]()[_0x5802('0x84')](_0x36e057=>_0x36e057['start'][_0x5802('0x5a')]));}}function se(_0x57fa49){return Array[_0x5802('0x67')](new Set(_0x57fa49)[_0x5802('0x8')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39de=['TableCaptionEditing','afterInit','get','plugins','toggleTableCaption'];(function(_0x379b43,_0x39de7d){const _0x427e29=function(_0x41a140){while(--_0x41a140){_0x379b43['push'](_0x379b43['shift']());}};_0x427e29(++_0x39de7d);}(_0x39de,0x72));const _0x427e=function(_0x379b43,_0x39de7d){_0x379b43=_0x379b43-0x0;let _0x427e29=_0x39de[_0x379b43];return _0x427e29;};import{Plugin as _0x116319}from'ckeditor5/src/core';import _0x3cc9dc from'./table';export default class vt extends _0x116319{static get['requires'](){return[_0x3cc9dc];}[_0x427e('0x2')](){const _0x17af50=this['editor'];if(!_0x17af50[_0x427e('0x4')]['has'](_0x427e('0x1')))return;_0x17af50[_0x427e('0x4')][_0x427e('0x3')]('TrackChangesEditing')['enableCommand'](_0x427e('0x0'));}}
23
+ const _0x2e95=['plugins','editor','TrackChangesEditing','has'];(function(_0x1c54c1,_0x2e95c3){const _0x7b2662=function(_0x3684a8){while(--_0x3684a8){_0x1c54c1['push'](_0x1c54c1['shift']());}};_0x7b2662(++_0x2e95c3);}(_0x2e95,0xdb));const _0x7b26=function(_0x1c54c1,_0x2e95c3){_0x1c54c1=_0x1c54c1-0x0;let _0x7b2662=_0x2e95[_0x1c54c1];return _0x7b2662;};import{Plugin as _0x59312d}from'ckeditor5/src/core';import _0x375a7d from'./table';export default class vt extends _0x59312d{static get['requires'](){return[_0x375a7d];}['afterInit'](){const _0x1fd724=this[_0x7b26('0x2')];if(!_0x1fd724[_0x7b26('0x1')][_0x7b26('0x0')]('TableCaptionEditing'))return;_0x1fd724[_0x7b26('0x1')]['get'](_0x7b26('0x3'))['enableCommand']('toggleTableCaption');}}