@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230811.0 → 0.0.0-nightly-20230812.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 _0x4094=['config','type','listItem','_getSuggestionBlocksForListStyle','getSelectedBlocks','_descriptionFactory','push','createRange','filter','getFirstPosition','_getSuggestionBlocks','handleListReversedCommand','createPositionAt','getLastPosition','document','getAttribute','ListPropertiesEditing','toUpperCase','*Format:*\x20set\x20order\x20to\x20regular','format','handleListStyleCommand','selection','ELEMENT_','bind','listType','commandName','change','getSiblingNodes','flat','list.properties','model','plugins','from','listReversed','TrackChangesEditing','forward','*Format:*\x20set\x20start\x20index\x20to\x20%0','listStyle','styles','parent','markMultiRangeBlockFormat','_LIST_','reversed','handleDescriptions','numbered','_getTranslationKeyForListStyle','afterInit','locale','enableCommand','ListUtils','before','backward','listStart','element','getListTypeFromListStyleType','unshift','map','*Change\x20to:*\x20%0','startIndex','commandParams','editor','handleListStartCommand','get','length'];(function(_0x16d883,_0x409409){const _0x21de8b=function(_0x350e5e){while(--_0x350e5e){_0x16d883['push'](_0x16d883['shift']());}};_0x21de8b(++_0x409409);}(_0x4094,0xc4));const _0x21de=function(_0x16d883,_0x409409){_0x16d883=_0x16d883-0x0;let _0x21de8b=_0x4094[_0x16d883];return _0x21de8b;};import{Plugin as _0x181b3e}from'ckeditor5/src/core';import{getTranslation as _0x2ad7c8}from'../utils/common-translations';export default class nt extends _0x181b3e{[_0x21de('0x2a')](){if(!this[_0x21de('0x38')]['plugins']['has'](_0x21de('0xc')))return;const _0x311db6=this[_0x21de('0x38')][_0x21de('0x3c')][_0x21de('0x3a')](_0x21de('0x19')),_0x21d867=this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x1e'));_0x311db6[_0x21de('0x22')]&&_0x21d867[_0x21de('0x2c')](_0x21de('0x21'),this[_0x21de('0x10')][_0x21de('0x13')](this)),_0x311db6[_0x21de('0x26')]&&_0x21d867[_0x21de('0x2c')]('listReversed',this['handleListReversedCommand']['bind'](this)),_0x311db6[_0x21de('0x36')]&&_0x21d867[_0x21de('0x2c')]('listStart',this['handleListStartCommand'][_0x21de('0x13')](this)),_0x21d867[_0x21de('0x1')]['registerDescriptionCallback'](this[_0x21de('0x27')][_0x21de('0x13')](this));}[_0x21de('0x10')](_0x462aa0,_0x5ef5d3={}){const _0x4b9ef6=this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x1e')),_0x29c2d7=this[_0x21de('0x3f')]();this['editor'][_0x21de('0x1a')][_0x21de('0x16')](()=>{_0x4b9ef6['markMultiRangeBlockFormat'](_0x29c2d7,{'commandName':'listStyle','commandParams':[{'type':_0x5ef5d3[_0x21de('0x3d')]}],'formatGroupId':_0x21de('0x21')});});}[_0x21de('0x7')](_0x285cf5,_0x31c6e5={}){const _0x44a93c=this['editor'][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x1e')),_0x34d0eb=this[_0x21de('0x6')](_0xe9cb0e=>_0xe9cb0e['is'](_0x21de('0x31'),_0x21de('0x3e'))&&_0x21de('0x28')===_0xe9cb0e[_0x21de('0xb')](_0x21de('0x14')));if(_0x34d0eb[_0x21de('0x3b')]<0x1)return;const _0xbfee46=_0x34d0eb['map'](_0x3cd478=>this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0x3')](this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0x8')](_0x3cd478,_0x21de('0x2e')),this[_0x21de('0x38')]['model'][_0x21de('0x8')](_0x3cd478,0x0)));this['editor']['model'][_0x21de('0x16')](()=>{_0x44a93c[_0x21de('0x24')](_0xbfee46,{'commandName':_0x21de('0x1d'),'commandParams':[{'reversed':_0x31c6e5[_0x21de('0x26')]}],'formatGroupId':_0x21de('0x1d')});});}[_0x21de('0x39')](_0x54c1bf,_0xc8ee94={}){const _0x55afff=this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x1e')),_0x54591c=this[_0x21de('0x6')](_0x44fb0a=>_0x44fb0a['is']('element',_0x21de('0x3e'))&&_0x21de('0x28')===_0x44fb0a[_0x21de('0xb')](_0x21de('0x14')));if(_0x54591c['length']<0x1)return;const _0x184156=_0x54591c['map'](_0x39d841=>this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0x3')](this[_0x21de('0x38')][_0x21de('0x1a')]['createPositionAt'](_0x39d841,_0x21de('0x2e')),this[_0x21de('0x38')][_0x21de('0x1a')]['createPositionAt'](_0x39d841,0x0)));this[_0x21de('0x38')]['model']['change'](()=>{_0x55afff[_0x21de('0x24')](_0x184156,{'commandName':_0x21de('0x30'),'commandParams':[{'startIndex':_0xc8ee94[_0x21de('0x36')]}],'formatGroupId':_0x21de('0x30')});});}[_0x21de('0x27')](_0x236771){const _0x444473=this[_0x21de('0x38')][_0x21de('0x2b')],{data:_0x4d87be}=_0x236771;if(!_0x4d87be)return;let _0x343465,_0x242bbd;switch(_0x4d87be[_0x21de('0x15')]){case _0x21de('0x21'):_0x343465=_0x21de('0x35'),_0x242bbd={'type':_0x21de('0xf'),'content':_0x2ad7c8(_0x444473,_0x343465,_0x2ad7c8(_0x444473,this[_0x21de('0x29')](_0x4d87be[_0x21de('0x37')][0x0][_0x21de('0x3d')])))};break;case'listReversed':_0x343465=_0x4d87be['commandParams'][0x0][_0x21de('0x26')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x21de('0xe'),_0x242bbd={'type':_0x21de('0xf'),'content':_0x2ad7c8(_0x444473,_0x343465)};break;case _0x21de('0x30'):_0x343465=_0x21de('0x20'),_0x242bbd={'type':_0x21de('0xf'),'content':_0x2ad7c8(_0x444473,_0x343465,_0x4d87be[_0x21de('0x37')][0x0][_0x21de('0x36')])};}return _0x242bbd;}[_0x21de('0x3f')](){var _0x25a290,_0x311877,_0x25d431,_0x43d31b;const _0x19100b=this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x2d'));let _0x3db126=Array[_0x21de('0x1c')](this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0xa')][_0x21de('0x11')][_0x21de('0x0')]());return(null===(_0x25a290=_0x3db126[0x0])||void 0x0===_0x25a290?void 0x0:_0x25a290['is'](_0x21de('0x31'),'listItem'))&&_0x3db126[_0x21de('0x33')](..._0x19100b['getSiblingNodes'](this[_0x21de('0x38')]['model'][_0x21de('0xa')][_0x21de('0x11')][_0x21de('0x5')](),_0x21de('0x2f'))),(null===(_0x311877=_0x3db126[_0x3db126[_0x21de('0x3b')]-0x1])||void 0x0===_0x311877?void 0x0:_0x311877['is'](_0x21de('0x31'),_0x21de('0x3e')))&&_0x3db126[_0x21de('0x2')](..._0x19100b[_0x21de('0x17')](this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0xa')][_0x21de('0x11')][_0x21de('0x9')](),_0x21de('0x1f'))),_0x3db126=[...new Set(_0x3db126)],(null===(_0x43d31b=null===(_0x25d431=this['editor'][_0x21de('0x1a')][_0x21de('0xa')][_0x21de('0x11')][_0x21de('0x5')]())||void 0x0===_0x25d431?void 0x0:_0x25d431[_0x21de('0x23')])||void 0x0===_0x43d31b?void 0x0:_0x43d31b['is'](_0x21de('0x31'),_0x21de('0x3e')))&&(_0x3db126=_0x3db126[_0x21de('0x4')](_0x2cc641=>_0x2cc641['is'](_0x21de('0x31'),_0x21de('0x3e')))),_0x3db126;}[_0x21de('0x6')](_0x3ed424){const _0x54e391=this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')]('ListUtils');let _0xc38467=Array[_0x21de('0x1c')](this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0xa')][_0x21de('0x11')][_0x21de('0x0')]())[_0x21de('0x4')](_0x3ed424)[_0x21de('0x34')](_0x8c5b28=>{const _0x2d3a2d=this[_0x21de('0x38')][_0x21de('0x1a')][_0x21de('0x8')](_0x8c5b28,0x0);return[..._0x54e391[_0x21de('0x17')](_0x2d3a2d,_0x21de('0x2f')),..._0x54e391[_0x21de('0x17')](_0x2d3a2d,_0x21de('0x1f'))];})[_0x21de('0x18')]();return _0xc38467=[...new Set(_0xc38467)],_0xc38467;}[_0x21de('0x29')](_0x4db6d6){return _0x21de('0x12')+this[_0x21de('0x38')][_0x21de('0x1b')][_0x21de('0x3a')](_0x21de('0x2d'))[_0x21de('0x32')](_0x4db6d6)[_0x21de('0xd')]()+_0x21de('0x25')+_0x4db6d6[_0x21de('0xd')]()['replace'](/-/g,'_');}}
23
+ const _0x2886=['reversed','getListTypeFromListStyleType','*Format:*\x20set\x20order\x20to\x20reversed','handleDescriptions','editor','plugins','document','listStart','createPositionAt','flat','change','forward','get','_getSuggestionBlocksForListStyle','ListPropertiesEditing','unshift','startIndex','replace','createRange','ELEMENT_','listReversed','_getTranslationKeyForListStyle','bind','length','backward','listStyle','commandParams','listItem','model','*Format:*\x20set\x20order\x20to\x20regular','locale','markMultiRangeBlockFormat','selection','*Format:*\x20set\x20start\x20index\x20to\x20%0','getAttribute','_getSuggestionBlocks','getSelectedBlocks','getFirstPosition','handleListStyleCommand','before','element','TrackChangesEditing','map','_descriptionFactory','handleListReversedCommand','getSiblingNodes','handleListStartCommand','from','getLastPosition','styles','_LIST_','numbered','toUpperCase','format','ListUtils','type','push','enableCommand'];(function(_0x16b967,_0x288617){const _0x567a96=function(_0xfd1c37){while(--_0xfd1c37){_0x16b967['push'](_0x16b967['shift']());}};_0x567a96(++_0x288617);}(_0x2886,0xc3));const _0x567a=function(_0x16b967,_0x288617){_0x16b967=_0x16b967-0x0;let _0x567a96=_0x2886[_0x16b967];return _0x567a96;};import{Plugin as _0x2be82d}from'ckeditor5/src/core';import{getTranslation as _0x27f595}from'../utils/common-translations';export default class nt extends _0x2be82d{['afterInit'](){if(!this[_0x567a('0x29')]['plugins']['has'](_0x567a('0x33')))return;const _0x59a773=this['editor']['config']['get']('list.properties'),_0x66974e=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x14'));_0x59a773[_0x567a('0x1c')]&&_0x66974e['enableCommand'](_0x567a('0x4'),this[_0x567a('0x11')]['bind'](this)),_0x59a773[_0x567a('0x25')]&&_0x66974e[_0x567a('0x24')]('listReversed',this[_0x567a('0x17')][_0x567a('0x1')](this)),_0x59a773[_0x567a('0x35')]&&_0x66974e[_0x567a('0x24')]('listStart',this[_0x567a('0x19')]['bind'](this)),_0x66974e[_0x567a('0x16')]['registerDescriptionCallback'](this[_0x567a('0x28')][_0x567a('0x1')](this));}[_0x567a('0x11')](_0x55ca43,_0x27260e={}){const _0x35dcb6=this['editor'][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x14')),_0xec67f0=this[_0x567a('0x32')]();this[_0x567a('0x29')]['model'][_0x567a('0x2f')](()=>{_0x35dcb6[_0x567a('0xa')](_0xec67f0,{'commandName':'listStyle','commandParams':[{'type':_0x27260e[_0x567a('0x22')]}],'formatGroupId':'listStyle'});});}[_0x567a('0x17')](_0x31b70e,_0x6ba256={}){const _0x4bcad4=this['editor']['plugins'][_0x567a('0x31')](_0x567a('0x14')),_0xe51132=this[_0x567a('0xe')](_0x5e9542=>_0x5e9542['is']('element','listItem')&&_0x567a('0x1e')===_0x5e9542[_0x567a('0xd')]('listType'));if(_0xe51132['length']<0x1)return;const _0x15f61e=_0xe51132[_0x567a('0x15')](_0x315a89=>this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x37')](this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x315a89,_0x567a('0x12')),this[_0x567a('0x29')]['model'][_0x567a('0x2d')](_0x315a89,0x0)));this[_0x567a('0x29')]['model'][_0x567a('0x2f')](()=>{_0x4bcad4[_0x567a('0xa')](_0x15f61e,{'commandName':_0x567a('0x39'),'commandParams':[{'reversed':_0x6ba256[_0x567a('0x25')]}],'formatGroupId':_0x567a('0x39')});});}['handleListStartCommand'](_0x37db59,_0x3d1299={}){const _0x2ddb48=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')]('TrackChangesEditing'),_0x12888c=this[_0x567a('0xe')](_0x5f36b9=>_0x5f36b9['is'](_0x567a('0x13'),_0x567a('0x6'))&&'numbered'===_0x5f36b9[_0x567a('0xd')]('listType'));if(_0x12888c[_0x567a('0x2')]<0x1)return;const _0x51153a=_0x12888c[_0x567a('0x15')](_0x5b98ca=>this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x37')](this[_0x567a('0x29')]['model']['createPositionAt'](_0x5b98ca,_0x567a('0x12')),this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x5b98ca,0x0)));this[_0x567a('0x29')][_0x567a('0x7')]['change'](()=>{_0x2ddb48['markMultiRangeBlockFormat'](_0x51153a,{'commandName':'listStart','commandParams':[{'startIndex':_0x3d1299['startIndex']}],'formatGroupId':_0x567a('0x2c')});});}[_0x567a('0x28')](_0x15afce){const _0x2eb8cc=this[_0x567a('0x29')][_0x567a('0x9')],{data:_0x2a4347}=_0x15afce;if(!_0x2a4347)return;let _0x4c934b,_0x20982f;switch(_0x2a4347['commandName']){case'listStyle':_0x4c934b='*Change\x20to:*\x20%0',_0x20982f={'type':_0x567a('0x20'),'content':_0x27f595(_0x2eb8cc,_0x4c934b,_0x27f595(_0x2eb8cc,this[_0x567a('0x0')](_0x2a4347[_0x567a('0x5')][0x0]['type'])))};break;case _0x567a('0x39'):_0x4c934b=_0x2a4347[_0x567a('0x5')][0x0][_0x567a('0x25')]?_0x567a('0x27'):_0x567a('0x8'),_0x20982f={'type':'format','content':_0x27f595(_0x2eb8cc,_0x4c934b)};break;case'listStart':_0x4c934b=_0x567a('0xc'),_0x20982f={'type':_0x567a('0x20'),'content':_0x27f595(_0x2eb8cc,_0x4c934b,_0x2a4347[_0x567a('0x5')][0x0][_0x567a('0x35')])};}return _0x20982f;}['_getSuggestionBlocksForListStyle'](){var _0x2335e8,_0x56cf4d,_0x3f29f9,_0x465e85;const _0x2a9955=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x21'));let _0x5e4f3f=Array['from'](this[_0x567a('0x29')][_0x567a('0x7')]['document']['selection']['getSelectedBlocks']());return(null===(_0x2335e8=_0x5e4f3f[0x0])||void 0x0===_0x2335e8?void 0x0:_0x2335e8['is'](_0x567a('0x13'),_0x567a('0x6')))&&_0x5e4f3f[_0x567a('0x34')](..._0x2a9955[_0x567a('0x18')](this[_0x567a('0x29')][_0x567a('0x7')]['document'][_0x567a('0xb')][_0x567a('0x10')](),_0x567a('0x3'))),(null===(_0x56cf4d=_0x5e4f3f[_0x5e4f3f['length']-0x1])||void 0x0===_0x56cf4d?void 0x0:_0x56cf4d['is']('element',_0x567a('0x6')))&&_0x5e4f3f[_0x567a('0x23')](..._0x2a9955[_0x567a('0x18')](this['editor'][_0x567a('0x7')][_0x567a('0x2b')][_0x567a('0xb')][_0x567a('0x1b')](),_0x567a('0x30'))),_0x5e4f3f=[...new Set(_0x5e4f3f)],(null===(_0x465e85=null===(_0x3f29f9=this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2b')]['selection'][_0x567a('0x10')]())||void 0x0===_0x3f29f9?void 0x0:_0x3f29f9['parent'])||void 0x0===_0x465e85?void 0x0:_0x465e85['is'](_0x567a('0x13'),_0x567a('0x6')))&&(_0x5e4f3f=_0x5e4f3f['filter'](_0x46d521=>_0x46d521['is'](_0x567a('0x13'),_0x567a('0x6')))),_0x5e4f3f;}[_0x567a('0xe')](_0x19fc35){const _0x45a9cb=this[_0x567a('0x29')]['plugins']['get'](_0x567a('0x21'));let _0x2f684a=Array[_0x567a('0x1a')](this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2b')]['selection'][_0x567a('0xf')]())['filter'](_0x19fc35)['map'](_0x166fe5=>{const _0x2e5236=this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x166fe5,0x0);return[..._0x45a9cb[_0x567a('0x18')](_0x2e5236,_0x567a('0x3')),..._0x45a9cb[_0x567a('0x18')](_0x2e5236,_0x567a('0x30'))];})[_0x567a('0x2e')]();return _0x2f684a=[...new Set(_0x2f684a)],_0x2f684a;}[_0x567a('0x0')](_0x4e7180){return _0x567a('0x38')+this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')]('ListUtils')[_0x567a('0x26')](_0x4e7180)[_0x567a('0x1f')]()+_0x567a('0x1d')+_0x4e7180['toUpperCase']()[_0x567a('0x36')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf4cb=['_descriptionFactory','conversion','createEmptyElement','locale','plugins','get','high','afterInit','elementToElement','showSuggestionHighlights','downcastDispatcher','data','options','for','stop','registerElementLabel','TrackChangesEditing','mediaEmbed','MediaEmbedEditing','ELEMENT_MEDIA','media','has'];(function(_0x17ae2a,_0xf4cb05){const _0x21e507=function(_0x2616c3){while(--_0x2616c3){_0x17ae2a['push'](_0x17ae2a['shift']());}};_0x21e507(++_0xf4cb05);}(_0xf4cb,0xc7));const _0x21e5=function(_0x17ae2a,_0xf4cb05){_0x17ae2a=_0x17ae2a-0x0;let _0x21e507=_0xf4cb[_0x17ae2a];return _0x21e507;};import{Plugin as _0x50ccf0}from'ckeditor5/src/core';import{getTranslation as _0x597ee1}from'../utils/common-translations';export default class ot extends _0x50ccf0{[_0x21e5('0x6')](){const _0x2377e1=this['editor'];if(!_0x2377e1[_0x21e5('0x3')][_0x21e5('0x14')](_0x21e5('0x11')))return;const _0x4a5363=_0x2377e1[_0x21e5('0x3')][_0x21e5('0x4')](_0x21e5('0xf')),_0x15b329=_0x2377e1[_0x21e5('0x2')];_0x4a5363['enableCommand'](_0x21e5('0x10')),_0x4a5363[_0x21e5('0x15')][_0x21e5('0xe')](_0x21e5('0x13'),_0x4e9d7f=>_0x597ee1(_0x15b329,_0x21e5('0x12'),_0x4e9d7f)),_0x2377e1[_0x21e5('0x0')][_0x21e5('0xc')]('dataDowncast')[_0x21e5('0x7')]({'model':_0x21e5('0x13'),'view':(_0x44252d,{writer:_0x62f4c7,options:_0x2cdf81})=>{if(_0x2cdf81[_0x21e5('0x8')])return _0x62f4c7[_0x21e5('0x1')]('div');},'converterPriority':_0x21e5('0x5')}),_0x2377e1[_0x21e5('0xa')][_0x21e5('0x9')]['on']('attribute:url:media',(_0x4ea0b2,_0x4500a5,_0x5373cd)=>{_0x5373cd[_0x21e5('0xb')][_0x21e5('0x8')]&&_0x4ea0b2[_0x21e5('0xd')]();},{'priority':_0x21e5('0x5')});}}
23
+ const _0x3215=['editor','media','get','dataDowncast','MediaEmbedEditing','elementToElement','has','data','high','plugins','mediaEmbed','stop','registerElementLabel','locale','options','downcastDispatcher','ELEMENT_MEDIA','showSuggestionHighlights','conversion','div'];(function(_0x4b7c3b,_0x321512){const _0x16f449=function(_0x198640){while(--_0x198640){_0x4b7c3b['push'](_0x4b7c3b['shift']());}};_0x16f449(++_0x321512);}(_0x3215,0x1a1));const _0x16f4=function(_0x4b7c3b,_0x321512){_0x4b7c3b=_0x4b7c3b-0x0;let _0x16f449=_0x3215[_0x4b7c3b];return _0x16f449;};import{Plugin as _0x380535}from'ckeditor5/src/core';import{getTranslation as _0x193cab}from'../utils/common-translations';export default class ot extends _0x380535{['afterInit'](){const _0x479b53=this[_0x16f4('0x3')];if(!_0x479b53['plugins'][_0x16f4('0x9')](_0x16f4('0x7')))return;const _0x3bfd59=_0x479b53[_0x16f4('0xc')][_0x16f4('0x5')]('TrackChangesEditing'),_0x5ab3ee=_0x479b53[_0x16f4('0x10')];_0x3bfd59['enableCommand'](_0x16f4('0xd')),_0x3bfd59['_descriptionFactory'][_0x16f4('0xf')](_0x16f4('0x4'),_0x44afd3=>_0x193cab(_0x5ab3ee,_0x16f4('0x13'),_0x44afd3)),_0x479b53[_0x16f4('0x1')]['for'](_0x16f4('0x6'))[_0x16f4('0x8')]({'model':_0x16f4('0x4'),'view':(_0x1ffccd,{writer:_0x3da740,options:_0x29dfe0})=>{if(_0x29dfe0[_0x16f4('0x0')])return _0x3da740['createEmptyElement'](_0x16f4('0x2'));},'converterPriority':_0x16f4('0xb')}),_0x479b53[_0x16f4('0xa')][_0x16f4('0x12')]['on']('attribute:url:media',(_0x32440d,_0x22ff7e,_0x16dacd)=>{_0x16dacd[_0x16f4('0x11')][_0x16f4('0x0')]&&_0x32440d[_0x16f4('0xe')]();},{'priority':_0x16f4('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c98=['enableCommand','get','TrackChangesEditing','MentionEditing','has','plugins','editor','mention'];(function(_0x5d3034,_0x2c9883){const _0x2a18cc=function(_0x984aa4){while(--_0x984aa4){_0x5d3034['push'](_0x5d3034['shift']());}};_0x2a18cc(++_0x2c9883);}(_0x2c98,0x1eb));const _0x2a18=function(_0x5d3034,_0x2c9883){_0x5d3034=_0x5d3034-0x0;let _0x2a18cc=_0x2c98[_0x5d3034];return _0x2a18cc;};import{Plugin as _0x561b5e}from'ckeditor5/src/core';export default class rt extends _0x561b5e{['afterInit'](){const _0x1f221a=this[_0x2a18('0x3')];_0x1f221a['plugins'][_0x2a18('0x1')](_0x2a18('0x0'))&&_0x1f221a[_0x2a18('0x2')][_0x2a18('0x6')](_0x2a18('0x7'))[_0x2a18('0x5')](_0x2a18('0x4'));}}
23
+ const _0x3952=['get','afterInit','mention','MentionEditing','enableCommand','plugins'];(function(_0x3fba82,_0x39523e){const _0x328b1e=function(_0x12ab8c){while(--_0x12ab8c){_0x3fba82['push'](_0x3fba82['shift']());}};_0x328b1e(++_0x39523e);}(_0x3952,0x16f));const _0x328b=function(_0x3fba82,_0x39523e){_0x3fba82=_0x3fba82-0x0;let _0x328b1e=_0x3952[_0x3fba82];return _0x328b1e;};import{Plugin as _0x5b2b26}from'ckeditor5/src/core';export default class rt extends _0x5b2b26{[_0x328b('0x0')](){const _0x3d14db=this['editor'];_0x3d14db[_0x328b('0x4')]['has'](_0x328b('0x2'))&&_0x3d14db['plugins'][_0x328b('0x5')]('TrackChangesEditing')[_0x328b('0x3')](_0x328b('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x628f=['PageBreakEditing','registerElementLabel','_descriptionFactory','editor','ELEMENT_PAGE_BREAK','enableCommand','TrackChangesEditing','get','has','plugins','pageBreak'];(function(_0xa073e3,_0x628fb8){const _0x179a66=function(_0x3344e9){while(--_0x3344e9){_0xa073e3['push'](_0xa073e3['shift']());}};_0x179a66(++_0x628fb8);}(_0x628f,0x8e));const _0x179a=function(_0xa073e3,_0x628fb8){_0xa073e3=_0xa073e3-0x0;let _0x179a66=_0x628f[_0xa073e3];return _0x179a66;};import{Plugin as _0x148221}from'ckeditor5/src/core';import{getTranslation as _0x3fee4f}from'../utils/common-translations';export default class at extends _0x148221{['afterInit'](){const _0x394a8b=this[_0x179a('0x4')];if(!_0x394a8b['plugins'][_0x179a('0x9')](_0x179a('0x1')))return;_0x394a8b['plugins'][_0x179a('0x8')](_0x179a('0x7'))[_0x179a('0x6')]('pageBreak');const _0x2211c1=_0x394a8b[_0x179a('0xa')][_0x179a('0x8')]('TrackChangesEditing'),_0x260316=_0x394a8b['locale'];_0x2211c1[_0x179a('0x3')][_0x179a('0x2')](_0x179a('0x0'),_0x220a5e=>_0x3fee4f(_0x260316,_0x179a('0x5'),_0x220a5e));}}
23
+ const _0x20d7=['editor','ELEMENT_PAGE_BREAK','plugins','_descriptionFactory','PageBreakEditing','enableCommand','has','get','TrackChangesEditing'];(function(_0x193748,_0x20d7b3){const _0x5aba28=function(_0x38d98f){while(--_0x38d98f){_0x193748['push'](_0x193748['shift']());}};_0x5aba28(++_0x20d7b3);}(_0x20d7,0xcd));const _0x5aba=function(_0x193748,_0x20d7b3){_0x193748=_0x193748-0x0;let _0x5aba28=_0x20d7[_0x193748];return _0x5aba28;};import{Plugin as _0x53efeb}from'ckeditor5/src/core';import{getTranslation as _0xdc741d}from'../utils/common-translations';export default class at extends _0x53efeb{['afterInit'](){const _0x108fe9=this[_0x5aba('0x2')];if(!_0x108fe9[_0x5aba('0x4')][_0x5aba('0x8')](_0x5aba('0x6')))return;_0x108fe9[_0x5aba('0x4')][_0x5aba('0x0')](_0x5aba('0x1'))[_0x5aba('0x7')]('pageBreak');const _0x4c5b5d=_0x108fe9[_0x5aba('0x4')][_0x5aba('0x0')](_0x5aba('0x1')),_0x1236f1=_0x108fe9['locale'];_0x4c5b5d[_0x5aba('0x5')]['registerElementLabel']('pageBreak',_0x44ba22=>_0xdc741d(_0x1236f1,_0x5aba('0x3'),_0x44ba22));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3eea=['blockName','selection','getFirstRange','editing','isObject','paragraph','end','activeMarkers','consumable','isTouching','registerDescriptionCallback','markerRange','schema','addClass','change','addMarker:suggestion:insertion','ck-suggestion-marker-split','locale','$text','get','has','checkChild','downcastDispatcher','markerName','filter','ELEMENT_PARAGRAPH','enableCommand','start','_descriptionFactory','model','ck-suggestion-marker--active','*Insert:*\x20%0','editor','isBlock','registerElementLabel','createUIElement','getSelectedBlocks','document','writer','plugins','getItemLabel','toViewPosition','commandName','data','name','markBlockFormat','insertion','TrackChangesEditing','*Change\x20to:*\x20%0','nodeAfter','showSuggestionHighlights','span','parent','bindElementToMarker'];(function(_0x5037b8,_0x3eeaf5){const _0x3335dc=function(_0x2d4939){while(--_0x2d4939){_0x5037b8['push'](_0x5037b8['shift']());}};_0x3335dc(++_0x3eeaf5);}(_0x3eea,0x79));const _0x3335=function(_0x5037b8,_0x3eeaf5){_0x5037b8=_0x5037b8-0x0;let _0x3335dc=_0x3eea[_0x5037b8];return _0x3335dc;};import{Plugin as _0x392af0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3799cd}from'./utils';import{getTranslation as _0x54a19d}from'../utils/common-translations';export default class ct extends _0x392af0{['afterInit'](){const _0x73ae22=this[_0x3335('0x13')];if(!_0x73ae22['plugins'][_0x3335('0x7')]('Paragraph'))return;const _0x10ede1=_0x73ae22[_0x3335('0x4')],_0x24a62f=_0x73ae22[_0x3335('0x1a')][_0x3335('0x6')](_0x3335('0x22'));_0x24a62f[_0x3335('0xf')][_0x3335('0x15')](_0x3335('0x2e'),_0x5c1284=>_0x54a19d(_0x10ede1,'ELEMENT_PARAGRAPH',_0x5c1284)),_0x24a62f['enableCommand'](_0x3335('0x2e'),(_0x241105,_0x481158={})=>{const _0x460be4=_0x73ae22[_0x3335('0x10')][_0x3335('0x18')],_0x509378=_0x481158[_0x3335('0x2a')]||_0x460be4['selection'],_0x41a6fc=Array['from'](_0x509378[_0x3335('0x17')]())[_0x3335('0xb')](_0x242a28=>function(_0x14874a,_0x29e419){return _0x29e419[_0x3335('0x8')](_0x14874a[_0x3335('0x27')],_0x3335('0x2e'))&&!_0x29e419[_0x3335('0x2d')](_0x14874a)&&_0x3335('0x2e')!=_0x14874a[_0x3335('0x1f')];}(_0x242a28,this[_0x3335('0x13')][_0x3335('0x10')][_0x3335('0x35')]));_0x73ae22[_0x3335('0x10')][_0x3335('0x1')](()=>{for(const _0x36d4f9 of _0x41a6fc)_0x24a62f[_0x3335('0x20')](_0x36d4f9,{'commandName':_0x3335('0x2e'),'commandParams':[],'formatGroupId':_0x3335('0x29')},_0x3799cd(_0x36d4f9));});}),_0x24a62f[_0x3335('0xf')][_0x3335('0x33')](_0x240a5a=>{const {data:_0x3d099c}=_0x240a5a;if(_0x3d099c&&_0x3335('0x2e')==_0x3d099c[_0x3335('0x1d')])return{'type':'format','content':_0x54a19d(_0x10ede1,_0x3335('0x23'),_0x54a19d(_0x10ede1,_0x3335('0xc')))};}),_0x24a62f[_0x3335('0xd')]('insertParagraph'),_0x73ae22[_0x3335('0x2c')][_0x3335('0x9')]['on'](_0x3335('0x2'),ar(_0x73ae22),{'priority':'highest'}),_0x73ae22[_0x3335('0x1e')][_0x3335('0x9')]['on'](_0x3335('0x2'),(_0x393ef9,_0x1dcfe3,_0x1cc907)=>{_0x1cc907['options'][_0x3335('0x25')]&&ar(_0x73ae22,{'showActiveMarker':!0x1})(_0x393ef9,_0x1dcfe3,_0x1cc907);},{'priority':'highest'});const _0x1322cf=_0x24a62f['_descriptionFactory'];_0x1322cf[_0x3335('0x33')](_0x126484=>{if(_0x3335('0x21')!==_0x126484['type'])return;const {start:_0x5570f8,end:_0x3c407a}=_0x126484[_0x3335('0x2b')]();if(!_0x5570f8['isTouching'](_0x3c407a)||!_0x5570f8['nodeAfter'])return;const _0x33aea4=_0x73ae22[_0x3335('0x10')][_0x3335('0x35')],_0x6be88d=_0x5570f8[_0x3335('0x24')];return _0x33aea4[_0x3335('0x14')](_0x6be88d)&&!_0x33aea4['isLimit'](_0x6be88d)&&_0x33aea4[_0x3335('0x8')](_0x6be88d,_0x3335('0x5'))?{'type':'insertion','content':_0x54a19d(_0x10ede1,_0x3335('0x12'),_0x1322cf[_0x3335('0x1b')](_0x6be88d,0x1))}:void 0x0;});}}function ar(_0x542cd6,{showActiveMarker:_0x1b731e=!0x0}={}){return(_0x405531,_0x2fd6f5,_0x2546c3)=>{const _0x339015=_0x542cd6[_0x3335('0x1a')][_0x3335('0x6')](_0x3335('0x22')),_0x73d9c8=_0x2fd6f5[_0x3335('0x34')][_0x3335('0xe')],_0x303941=_0x2fd6f5['markerRange'][_0x3335('0x2f')],_0x3ee4a1=_0x542cd6[_0x3335('0x10')]['schema'];if(!_0x73d9c8[_0x3335('0x32')](_0x303941)||!_0x73d9c8[_0x3335('0x24')])return;const _0x3ef4cd=_0x73d9c8[_0x3335('0x24')];if(_0x3ee4a1[_0x3335('0x14')](_0x3ef4cd)&&!_0x3ee4a1['isLimit'](_0x3ef4cd)&&_0x3ee4a1[_0x3335('0x8')](_0x3ef4cd,'$text')){if(!_0x2546c3[_0x3335('0x31')]['consume'](_0x2fd6f5[_0x3335('0x34')],_0x405531[_0x3335('0x1f')]))return;const _0x5a2835=_0x2546c3[_0x3335('0x19')][_0x3335('0x16')](_0x3335('0x26'),{'class':_0x3335('0x3')}),_0x7ff5a2=_0x2546c3['mapper'][_0x3335('0x1c')](_0x303941);_0x1b731e&&_0x339015[_0x3335('0x30')]['includes'](_0x2fd6f5['markerName'])&&_0x2546c3['writer'][_0x3335('0x0')](_0x3335('0x11'),_0x5a2835),_0x2546c3[_0x3335('0x19')]['insert'](_0x7ff5a2,_0x5a2835),_0x2546c3['mapper'][_0x3335('0x28')](_0x5a2835,_0x2fd6f5[_0x3335('0xa')]);}};}
23
+ const _0x280b=['consume','isObject','nodeAfter','start','activeMarkers','blockName','has','writer','enableCommand','editing','format','afterInit','registerDescriptionCallback','getItemLabel','*Change\x20to:*\x20%0','getFirstRange','ck-suggestion-marker--active','editor','getSelectedBlocks','type','insertParagraph','checkChild','isLimit','filter','schema','data','parent','markerName','registerElementLabel','createUIElement','end','downcastDispatcher','span','selection','addClass','_descriptionFactory','name','showSuggestionHighlights','paragraph','markerRange','mapper','plugins','ck-suggestion-marker-split','$text','highest','isTouching','from','model','locale','insertion','get','TrackChangesEditing','consumable','isBlock','addMarker:suggestion:insertion'];(function(_0x59fec8,_0x280b95){const _0x180403=function(_0x5576a5){while(--_0x5576a5){_0x59fec8['push'](_0x59fec8['shift']());}};_0x180403(++_0x280b95);}(_0x280b,0x1de));const _0x1804=function(_0x59fec8,_0x280b95){_0x59fec8=_0x59fec8-0x0;let _0x180403=_0x280b[_0x59fec8];return _0x180403;};import{Plugin as _0x2148fa}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x51b9a4}from'./utils';import{getTranslation as _0x342a15}from'../utils/common-translations';export default class ct extends _0x2148fa{[_0x1804('0x1c')](){const _0x54e570=this['editor'];if(!_0x54e570['plugins'][_0x1804('0x17')]('Paragraph'))return;const _0x26fcd7=_0x54e570[_0x1804('0xa')],_0x517df2=_0x54e570[_0x1804('0x3')][_0x1804('0xc')]('TrackChangesEditing');_0x517df2[_0x1804('0x34')][_0x1804('0x2d')](_0x1804('0x0'),_0x40dd4c=>_0x342a15(_0x26fcd7,'ELEMENT_PARAGRAPH',_0x40dd4c)),_0x517df2[_0x1804('0x19')](_0x1804('0x0'),(_0x2de8ff,_0x46c228={})=>{const _0x2c253f=_0x54e570[_0x1804('0x9')]['document'],_0xeda625=_0x46c228['selection']||_0x2c253f[_0x1804('0x32')],_0x1225b1=Array[_0x1804('0x8')](_0xeda625[_0x1804('0x23')]())[_0x1804('0x28')](_0x14a4e1=>function(_0x40e166,_0x414633){return _0x414633[_0x1804('0x26')](_0x40e166[_0x1804('0x2b')],'paragraph')&&!_0x414633[_0x1804('0x12')](_0x40e166)&&_0x1804('0x0')!=_0x40e166[_0x1804('0x35')];}(_0x14a4e1,this[_0x1804('0x22')][_0x1804('0x9')]['schema']));_0x54e570[_0x1804('0x9')]['change'](()=>{for(const _0x2e50cb of _0x1225b1)_0x517df2['markBlockFormat'](_0x2e50cb,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x1804('0x16')},_0x51b9a4(_0x2e50cb));});}),_0x517df2[_0x1804('0x34')][_0x1804('0x1d')](_0x52dc78=>{const {data:_0x3f302f}=_0x52dc78;if(_0x3f302f&&_0x1804('0x0')==_0x3f302f['commandName'])return{'type':_0x1804('0x1b'),'content':_0x342a15(_0x26fcd7,_0x1804('0x1f'),_0x342a15(_0x26fcd7,'ELEMENT_PARAGRAPH'))};}),_0x517df2['enableCommand'](_0x1804('0x25')),_0x54e570[_0x1804('0x1a')][_0x1804('0x30')]['on'](_0x1804('0x10'),ar(_0x54e570),{'priority':'highest'}),_0x54e570[_0x1804('0x2a')]['downcastDispatcher']['on'](_0x1804('0x10'),(_0x23c7d8,_0x5531c9,_0x20cb8f)=>{_0x20cb8f['options'][_0x1804('0x36')]&&ar(_0x54e570,{'showActiveMarker':!0x1})(_0x23c7d8,_0x5531c9,_0x20cb8f);},{'priority':_0x1804('0x6')});const _0x18ba23=_0x517df2[_0x1804('0x34')];_0x18ba23['registerDescriptionCallback'](_0x297559=>{if('insertion'!==_0x297559[_0x1804('0x24')])return;const {start:_0x54b2b6,end:_0x5e5383}=_0x297559[_0x1804('0x20')]();if(!_0x54b2b6['isTouching'](_0x5e5383)||!_0x54b2b6[_0x1804('0x13')])return;const _0x5eb437=_0x54e570[_0x1804('0x9')]['schema'],_0x556ed1=_0x54b2b6[_0x1804('0x13')];return _0x5eb437[_0x1804('0xf')](_0x556ed1)&&!_0x5eb437[_0x1804('0x27')](_0x556ed1)&&_0x5eb437['checkChild'](_0x556ed1,_0x1804('0x5'))?{'type':_0x1804('0xb'),'content':_0x342a15(_0x26fcd7,'*Insert:*\x20%0',_0x18ba23[_0x1804('0x1e')](_0x556ed1,0x1))}:void 0x0;});}}function ar(_0x359ba4,{showActiveMarker:_0x3afb0b=!0x0}={}){return(_0x14e146,_0x15528b,_0x50aeb5)=>{const _0x290aa7=_0x359ba4['plugins'][_0x1804('0xc')](_0x1804('0xd')),_0x3c32ec=_0x15528b['markerRange'][_0x1804('0x14')],_0x2503f6=_0x15528b[_0x1804('0x1')][_0x1804('0x2f')],_0x30df67=_0x359ba4[_0x1804('0x9')][_0x1804('0x29')];if(!_0x3c32ec[_0x1804('0x7')](_0x2503f6)||!_0x3c32ec[_0x1804('0x13')])return;const _0x2bd1de=_0x3c32ec[_0x1804('0x13')];if(_0x30df67[_0x1804('0xf')](_0x2bd1de)&&!_0x30df67[_0x1804('0x27')](_0x2bd1de)&&_0x30df67[_0x1804('0x26')](_0x2bd1de,_0x1804('0x5'))){if(!_0x50aeb5[_0x1804('0xe')][_0x1804('0x11')](_0x15528b['markerRange'],_0x14e146['name']))return;const _0xd37f92=_0x50aeb5[_0x1804('0x18')][_0x1804('0x2e')](_0x1804('0x31'),{'class':_0x1804('0x4')}),_0x4ddedb=_0x50aeb5[_0x1804('0x2')]['toViewPosition'](_0x2503f6);_0x3afb0b&&_0x290aa7[_0x1804('0x15')]['includes'](_0x15528b[_0x1804('0x2c')])&&_0x50aeb5[_0x1804('0x18')][_0x1804('0x33')](_0x1804('0x21'),_0xd37f92),_0x50aeb5['writer']['insert'](_0x4ddedb,_0xd37f92),_0x50aeb5[_0x1804('0x2')]['bindElementToMarker'](_0xd37f92,_0x15528b[_0x1804('0x2c')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x658a=['markInlineFormat','from','registerDescriptionCallback','isFormatting','locale','afterInit','change','createRangeOn','editor','format','removeFormat','plugins','_descriptionFactory','TrackChangesEditing','schema','document','getAttributes','isCollapsed','has','model'];(function(_0xbbdee5,_0x658a52){const _0x348f32=function(_0x50c992){while(--_0x50c992){_0xbbdee5['push'](_0xbbdee5['shift']());}};_0x348f32(++_0x658a52);}(_0x658a,0x95));const _0x348f=function(_0xbbdee5,_0x658a52){_0xbbdee5=_0xbbdee5-0x0;let _0x348f32=_0x658a[_0xbbdee5];return _0x348f32;};import{Plugin as _0x86549c}from'ckeditor5/src/core';import{getTranslation as _0x568251}from'../utils/common-translations';export default class ht extends _0x86549c{[_0x348f('0x10')](){const _0x255265=this[_0x348f('0x13')];if(!_0x255265[_0x348f('0x2')][_0x348f('0x9')]('RemoveFormatEditing'))return;const _0x467eb4=_0x255265['plugins']['get'](_0x348f('0x4'));_0x467eb4['enableCommand']('removeFormat',_0x110d0b=>{const _0x28e51c=_0x255265[_0x348f('0xa')][_0x348f('0x6')]['selection'];_0x28e51c[_0x348f('0x8')]?_0x110d0b():_0x255265[_0x348f('0xa')][_0x348f('0x11')](()=>{const _0x46ab7c=Array[_0x348f('0xc')](_0x28e51c['getRanges']());for(const _0x13a969 of _0x46ab7c)for(const _0x6ea194 of _0x13a969['getItems']())eo(_0x6ea194,_0x255265['model'][_0x348f('0x5')])&&_0x467eb4[_0x348f('0xb')](_0x255265[_0x348f('0xa')][_0x348f('0x12')](_0x6ea194),{'commandName':_0x348f('0x1'),'commandParams':[]});});}),_0x467eb4[_0x348f('0x3')][_0x348f('0xd')](_0x3f384f=>{const {data:_0x1948a7}=_0x3f384f;if(_0x1948a7&&_0x348f('0x1')==_0x1948a7['commandName'])return{'type':_0x348f('0x0'),'content':_0x568251(_0x255265[_0x348f('0xf')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x1e146f,_0x4258bd){for(const [_0x155a34]of _0x1e146f[_0x348f('0x7')]()){const _0x5610c3=_0x4258bd['getAttributeProperties'](_0x155a34);if(_0x5610c3&&_0x5610c3[_0x348f('0xe')])return!0x0;}return!0x1;}
23
+ const _0x5349=['selection','schema','model','get','isFormatting','getAttributeProperties','from','registerDescriptionCallback','isCollapsed','commandName','editor','*Remove\x20all\x20formatting*','document','getAttributes','has','removeFormat','TrackChangesEditing','locale','_descriptionFactory','getRanges','plugins','createRangeOn','afterInit'];(function(_0x588b58,_0x53493c){const _0x5a2212=function(_0x19eba8){while(--_0x19eba8){_0x588b58['push'](_0x588b58['shift']());}};_0x5a2212(++_0x53493c);}(_0x5349,0x1d8));const _0x5a22=function(_0x588b58,_0x53493c){_0x588b58=_0x588b58-0x0;let _0x5a2212=_0x5349[_0x588b58];return _0x5a2212;};import{Plugin as _0x140a99}from'ckeditor5/src/core';import{getTranslation as _0x4389db}from'../utils/common-translations';export default class ht extends _0x140a99{[_0x5a22('0xa')](){const _0x2e8ea9=this[_0x5a22('0x15')];if(!_0x2e8ea9[_0x5a22('0x8')][_0x5a22('0x2')]('RemoveFormatEditing'))return;const _0xa6436a=_0x2e8ea9[_0x5a22('0x8')][_0x5a22('0xe')](_0x5a22('0x4'));_0xa6436a['enableCommand'](_0x5a22('0x3'),_0x2e5be9=>{const _0x3cd8ec=_0x2e8ea9['model'][_0x5a22('0x0')][_0x5a22('0xb')];_0x3cd8ec[_0x5a22('0x13')]?_0x2e5be9():_0x2e8ea9[_0x5a22('0xd')]['change'](()=>{const _0xc80faa=Array[_0x5a22('0x11')](_0x3cd8ec[_0x5a22('0x7')]());for(const _0x32652e of _0xc80faa)for(const _0x48fd22 of _0x32652e['getItems']())eo(_0x48fd22,_0x2e8ea9[_0x5a22('0xd')][_0x5a22('0xc')])&&_0xa6436a['markInlineFormat'](_0x2e8ea9[_0x5a22('0xd')][_0x5a22('0x9')](_0x48fd22),{'commandName':_0x5a22('0x3'),'commandParams':[]});});}),_0xa6436a[_0x5a22('0x6')][_0x5a22('0x12')](_0x5e6308=>{const {data:_0x324eb4}=_0x5e6308;if(_0x324eb4&&_0x5a22('0x3')==_0x324eb4[_0x5a22('0x14')])return{'type':'format','content':_0x4389db(_0x2e8ea9[_0x5a22('0x5')],_0x5a22('0x16'))};});}}function eo(_0x2c36c5,_0x4e72a0){for(const [_0x55dfad]of _0x2c36c5[_0x5a22('0x1')]()){const _0x3f5f33=_0x4e72a0[_0x5a22('0x10')](_0x55dfad);if(_0x3f5f33&&_0x3f5f33[_0x5a22('0xf')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfc46=['discardSuggestion','discardSelectedSuggestions','goToNextRestrictedEditingException','RestrictedEditingModeEditing','enableCommand','has','trackChanges','goToPreviousRestrictedEditingException','plugins','get','editor','acceptAllSuggestions','discardAllSuggestions','acceptSuggestion','afterInit','TrackChangesEditing'];(function(_0xcc55dd,_0xfc46f0){const _0x2fe4c8=function(_0x3c272d){while(--_0x3c272d){_0xcc55dd['push'](_0xcc55dd['shift']());}};_0x2fe4c8(++_0xfc46f0);}(_0xfc46,0x99));const _0x2fe4=function(_0xcc55dd,_0xfc46f0){_0xcc55dd=_0xcc55dd-0x0;let _0x2fe4c8=_0xfc46[_0xcc55dd];return _0x2fe4c8;};import{Plugin as _0x46df07}from'ckeditor5/src/core';export default class ut extends _0x46df07{[_0x2fe4('0x5')](){const _0x34440c=this[_0x2fe4('0x1')];if(!_0x34440c['plugins'][_0x2fe4('0xc')]('RestrictedEditingModeEditing'))return;const _0xb67361=_0x34440c[_0x2fe4('0xf')]['get'](_0x2fe4('0x6'));_0xb67361[_0x2fe4('0xb')](_0x2fe4('0xe')),_0xb67361['enableCommand'](_0x2fe4('0x9'));const _0x2e5792=_0x34440c[_0x2fe4('0xf')][_0x2fe4('0x0')](_0x2fe4('0xa'));_0x2e5792['enableCommand'](_0x2fe4('0xd')),_0x2e5792[_0x2fe4('0xb')](_0x2fe4('0x4')),_0x2e5792[_0x2fe4('0xb')](_0x2fe4('0x7')),_0x2e5792[_0x2fe4('0xb')](_0x2fe4('0x2')),_0x2e5792[_0x2fe4('0xb')](_0x2fe4('0x3')),_0x2e5792[_0x2fe4('0xb')]('acceptSelectedSuggestions'),_0x2e5792[_0x2fe4('0xb')](_0x2fe4('0x8'));}}
23
+ const _0x5de9=['trackChanges','plugins','RestrictedEditingModeEditing','discardAllSuggestions','has','enableCommand','acceptSuggestion','get','afterInit','acceptSelectedSuggestions','editor'];(function(_0x485ff5,_0x5de99f){const _0x32abda=function(_0x32ef2b){while(--_0x32ef2b){_0x485ff5['push'](_0x485ff5['shift']());}};_0x32abda(++_0x5de99f);}(_0x5de9,0x194));const _0x32ab=function(_0x485ff5,_0x5de99f){_0x485ff5=_0x485ff5-0x0;let _0x32abda=_0x5de9[_0x485ff5];return _0x32abda;};import{Plugin as _0x47cdd6}from'ckeditor5/src/core';export default class ut extends _0x47cdd6{[_0x32ab('0x0')](){const _0x5ee87b=this[_0x32ab('0x2')];if(!_0x5ee87b[_0x32ab('0x4')][_0x32ab('0x7')](_0x32ab('0x5')))return;const _0x53701f=_0x5ee87b[_0x32ab('0x4')][_0x32ab('0xa')]('TrackChangesEditing');_0x53701f[_0x32ab('0x8')]('goToPreviousRestrictedEditingException'),_0x53701f[_0x32ab('0x8')]('goToNextRestrictedEditingException');const _0x5a6e7e=_0x5ee87b[_0x32ab('0x4')]['get'](_0x32ab('0x5'));_0x5a6e7e['enableCommand'](_0x32ab('0x3')),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x9')),_0x5a6e7e['enableCommand']('discardSuggestion'),_0x5a6e7e[_0x32ab('0x8')]('acceptAllSuggestions'),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x6')),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x1')),_0x5a6e7e[_0x32ab('0x8')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5975=['mapper','markerName','enableCommand','showSuggestionHighlights','addMarker:suggestion:deletion','model','ELEMENT_LINE_BREAK','span','downcastDispatcher','merge','test','deletion','get','options','markerRange','TrackChangesEditing','name','createPositionBefore','_descriptionFactory','plugins','softBreak','bindElementToMarker','writer','registerElementLabel','createUIElement','shiftEnter','data','high','consumable','addMarker:suggestion:insertion','editing','requires','toViewPosition','split','element','editor','activeMarkers'];(function(_0x5ac89b,_0x597575){const _0x2a71f1=function(_0x4bdcca){while(--_0x4bdcca){_0x5ac89b['push'](_0x5ac89b['shift']());}};_0x2a71f1(++_0x597575);}(_0x5975,0x1e1));const _0x2a71=function(_0x5ac89b,_0x597575){_0x5ac89b=_0x5ac89b-0x0;let _0x2a71f1=_0x5975[_0x5ac89b];return _0x2a71f1;};import{Plugin as _0x1b6574}from'ckeditor5/src/core';import{ShiftEnter as _0x2b44f6}from'ckeditor5/src/enter';import{getTranslation as _0x434995}from'../utils/common-translations';export default class ft extends _0x1b6574{static get[_0x2a71('0x1f')](){return[_0x2b44f6];}['init'](){const _0x34cb5b=this[_0x2a71('0x23')],_0x1126b5=_0x34cb5b[_0x2a71('0x13')][_0x2a71('0xc')](_0x2a71('0xf'));_0x1126b5[_0x2a71('0x2')](_0x2a71('0x19')),_0x34cb5b[_0x2a71('0x1e')][_0x2a71('0x8')]['on'](_0x2a71('0x1d'),re(_0x34cb5b),{'priority':_0x2a71('0x1b')}),_0x34cb5b[_0x2a71('0x1e')]['downcastDispatcher']['on'](_0x2a71('0x4'),re(_0x34cb5b),{'priority':'high'}),_0x34cb5b[_0x2a71('0x1a')][_0x2a71('0x8')]['on']('addMarker:suggestion',(_0x10c431,_0x22f4f9,_0x2eed18)=>{_0x2eed18[_0x2a71('0xd')][_0x2a71('0x3')]&&re(_0x34cb5b,{'showActiveMarker':!0x1})(_0x10c431,_0x22f4f9,_0x2eed18);}),_0x1126b5[_0x2a71('0x12')][_0x2a71('0x17')](_0x2a71('0x14'),_0x20c016=>_0x434995(_0x34cb5b['locale'],_0x2a71('0x6'),_0x20c016));}}function re(_0x2eea15,{showActiveMarker:_0x3cd57c=!0x0}={}){return(_0x553646,_0x345987,_0x125b49)=>{const _0xe68dbc=_0x2eea15[_0x2a71('0x13')][_0x2a71('0xc')](_0x2a71('0xf'));if(!_0x125b49[_0x2a71('0x1c')][_0x2a71('0xa')](_0x345987[_0x2a71('0xe')],_0x553646[_0x2a71('0x10')]))return;const _0x26efd3=_0x2eea15[_0x2a71('0x5')];for(const _0x40ccc4 of _0x345987[_0x2a71('0xe')]['getItems']()){if(!_0x40ccc4['is'](_0x2a71('0x22'),_0x2a71('0x14')))continue;const _0x5950bc=_0x2a71('0xb')==_0x345987[_0x2a71('0x1')][_0x2a71('0x21')](':')[0x1]?_0x2a71('0x9'):_0x2a71('0x21'),_0x4f3e31=_0x125b49[_0x2a71('0x16')][_0x2a71('0x18')](_0x2a71('0x7'),{'class':'ck-suggestion-marker-'+_0x5950bc}),_0x10b65c=_0x125b49[_0x2a71('0x0')][_0x2a71('0x20')](_0x26efd3[_0x2a71('0x11')](_0x40ccc4));_0x3cd57c&&_0xe68dbc[_0x2a71('0x24')]['includes'](_0x345987[_0x2a71('0x1')])&&_0x125b49[_0x2a71('0x16')]['addClass']('ck-suggestion-marker--active',_0x4f3e31),_0x125b49[_0x2a71('0x16')]['insert'](_0x10b65c,_0x4f3e31),_0x125b49[_0x2a71('0x0')][_0x2a71('0x15')](_0x4f3e31,_0x345987[_0x2a71('0x1')]);}};}
23
+ const _0x2260=['bindElementToMarker','markerName','_descriptionFactory','editing','TrackChangesEditing','showSuggestionHighlights','split','createUIElement','test','plugins','high','addMarker:suggestion:insertion','softBreak','data','shiftEnter','ck-suggestion-marker-','addMarker:suggestion','addClass','insert','writer','locale','createPositionBefore','registerElementLabel','editor','consumable','ELEMENT_LINE_BREAK','enableCommand','mapper','merge','downcastDispatcher','init','markerRange','get','includes','element','model','span','name','ck-suggestion-marker--active','getItems'];(function(_0x1405f4,_0x2260b1){const _0x4c9d26=function(_0x349d23){while(--_0x349d23){_0x1405f4['push'](_0x1405f4['shift']());}};_0x4c9d26(++_0x2260b1);}(_0x2260,0xb8));const _0x4c9d=function(_0x1405f4,_0x2260b1){_0x1405f4=_0x1405f4-0x0;let _0x4c9d26=_0x2260[_0x1405f4];return _0x4c9d26;};import{Plugin as _0xa0020d}from'ckeditor5/src/core';import{ShiftEnter as _0x1b4f54}from'ckeditor5/src/enter';import{getTranslation as _0x27b646}from'../utils/common-translations';export default class ft extends _0xa0020d{static get['requires'](){return[_0x1b4f54];}[_0x4c9d('0x6')](){const _0x7eb704=this[_0x4c9d('0x27')],_0x3f7213=_0x7eb704[_0x4c9d('0x19')][_0x4c9d('0x8')](_0x4c9d('0x14'));_0x3f7213[_0x4c9d('0x2')](_0x4c9d('0x1e')),_0x7eb704[_0x4c9d('0x13')][_0x4c9d('0x5')]['on'](_0x4c9d('0x1b'),re(_0x7eb704),{'priority':_0x4c9d('0x1a')}),_0x7eb704['editing'][_0x4c9d('0x5')]['on']('addMarker:suggestion:deletion',re(_0x7eb704),{'priority':_0x4c9d('0x1a')}),_0x7eb704[_0x4c9d('0x1d')]['downcastDispatcher']['on'](_0x4c9d('0x20'),(_0x1f64bb,_0x3fad51,_0x5ed024)=>{_0x5ed024['options'][_0x4c9d('0x15')]&&re(_0x7eb704,{'showActiveMarker':!0x1})(_0x1f64bb,_0x3fad51,_0x5ed024);}),_0x3f7213[_0x4c9d('0x12')][_0x4c9d('0x26')](_0x4c9d('0x1c'),_0x3aeeda=>_0x27b646(_0x7eb704[_0x4c9d('0x24')],_0x4c9d('0x1'),_0x3aeeda));}}function re(_0x4ba440,{showActiveMarker:_0x5ef9f8=!0x0}={}){return(_0x486dbd,_0x262bf9,_0x4d28ff)=>{const _0x5c3af8=_0x4ba440[_0x4c9d('0x19')][_0x4c9d('0x8')](_0x4c9d('0x14'));if(!_0x4d28ff[_0x4c9d('0x0')][_0x4c9d('0x18')](_0x262bf9[_0x4c9d('0x7')],_0x486dbd[_0x4c9d('0xd')]))return;const _0x5de89a=_0x4ba440[_0x4c9d('0xb')];for(const _0x74a9a7 of _0x262bf9['markerRange'][_0x4c9d('0xf')]()){if(!_0x74a9a7['is'](_0x4c9d('0xa'),_0x4c9d('0x1c')))continue;const _0x407551='deletion'==_0x262bf9[_0x4c9d('0x11')]['split'](':')[0x1]?_0x4c9d('0x4'):_0x4c9d('0x16'),_0xfa0be8=_0x4d28ff[_0x4c9d('0x23')][_0x4c9d('0x17')](_0x4c9d('0xc'),{'class':_0x4c9d('0x1f')+_0x407551}),_0x57a2c7=_0x4d28ff[_0x4c9d('0x3')]['toViewPosition'](_0x5de89a[_0x4c9d('0x25')](_0x74a9a7));_0x5ef9f8&&_0x5c3af8['activeMarkers'][_0x4c9d('0x9')](_0x262bf9[_0x4c9d('0x11')])&&_0x4d28ff[_0x4c9d('0x23')][_0x4c9d('0x21')](_0x4c9d('0xe'),_0xfa0be8),_0x4d28ff['writer'][_0x4c9d('0x22')](_0x57a2c7,_0xfa0be8),_0x4d28ff[_0x4c9d('0x3')][_0x4c9d('0x10')](_0xfa0be8,_0x262bf9[_0x4c9d('0x11')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1afa=['commands','registerDescriptionCallback','locale','TrackChangesEditing','get','plugins','selection','document','_descriptionFactory','model','StandardEditingModeEditing','forceValue','getRanges','afterInit','restrictedEditingException','markInlineFormat','FORMAT_RESTRICTED_ENABLED','change','commandName','format','value'];(function(_0x123208,_0x1afafc){const _0x1f3117=function(_0x24543e){while(--_0x24543e){_0x123208['push'](_0x123208['shift']());}};_0x1f3117(++_0x1afafc);}(_0x1afa,0xb0));const _0x1f31=function(_0x123208,_0x1afafc){_0x123208=_0x123208-0x0;let _0x1f3117=_0x1afa[_0x123208];return _0x1f3117;};import{Plugin as _0x4ed224}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x337614}from'./utils';import{getTranslation as _0x55e151}from'../utils/common-translations';export default class lt extends _0x4ed224{[_0x1f31('0x5')](){const _0x5f0f70=this['editor'],_0x548dc4=_0x5f0f70[_0x1f31('0x1')],_0x5e1c42=_0x5f0f70[_0x1f31('0xf')];if(!_0x5f0f70['plugins']['has'](_0x1f31('0x2')))return;const _0x35558c=_0x5f0f70[_0x1f31('0x12')][_0x1f31('0x11')](_0x1f31('0x10')),_0x45f7ac=_0x1f31('0x6'),_0x26fb89=_0x5f0f70[_0x1f31('0xd')][_0x1f31('0x11')](_0x45f7ac);_0x35558c['enableCommand'](_0x45f7ac,(_0xcf55c,_0x30aa4a={})=>{const _0x1ecbe5=_0x548dc4[_0x1f31('0x14')][_0x1f31('0x13')];if(_0x1ecbe5['isCollapsed'])return void _0xcf55c(_0x30aa4a);const _0x3f2e8c=void 0x0!==_0x30aa4a[_0x1f31('0x3')]?_0x30aa4a['forceValue']:!_0x26fb89[_0x1f31('0xc')];_0x548dc4[_0x1f31('0x9')](()=>{const _0x36196a=Array['from'](_0x1ecbe5[_0x1f31('0x4')]());for(const _0x2304bd of _0x36196a){const _0x7dcd9c=_0x3f2e8c?[_0x2304bd]:_0x337614(_0x45f7ac,_0x2304bd,_0x548dc4);for(const _0x40bafb of _0x7dcd9c)_0x35558c[_0x1f31('0x7')](_0x40bafb,{'commandName':_0x45f7ac,'commandParams':[{'forceValue':_0x3f2e8c}]});}});}),_0x35558c[_0x1f31('0x0')][_0x1f31('0xe')](_0x5de770=>{const {data:_0x2c308c}=_0x5de770;if(_0x2c308c&&_0x2c308c[_0x1f31('0xa')]==_0x45f7ac)return _0x2c308c['commandParams'][0x0][_0x1f31('0x3')]?{'type':_0x1f31('0xb'),'content':_0x55e151(_0x5e1c42,_0x1f31('0x8'))}:{'type':_0x1f31('0xb'),'content':_0x55e151(_0x5e1c42,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x354a=['model','TrackChangesEditing','plugins','afterInit','registerDescriptionCallback','getRanges','get','change','has','commandParams','format','selection','_descriptionFactory','forceValue','locale','StandardEditingModeEditing','FORMAT_RESTRICTED_ENABLED','FORMAT_RESTRICTED_DISABLED','value','markInlineFormat','commandName','commands'];(function(_0x556619,_0x354ab4){const _0x4fc317=function(_0x18a12b){while(--_0x18a12b){_0x556619['push'](_0x556619['shift']());}};_0x4fc317(++_0x354ab4);}(_0x354a,0x1cb));const _0x4fc3=function(_0x556619,_0x354ab4){_0x556619=_0x556619-0x0;let _0x4fc317=_0x354a[_0x556619];return _0x4fc317;};import{Plugin as _0x531f9a}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x1289ed}from'./utils';import{getTranslation as _0x1ba6be}from'../utils/common-translations';export default class lt extends _0x531f9a{[_0x4fc3('0x6')](){const _0x2a8daf=this['editor'],_0x1f8c35=_0x2a8daf[_0x4fc3('0x3')],_0x2a07cb=_0x2a8daf[_0x4fc3('0x11')];if(!_0x2a8daf[_0x4fc3('0x5')][_0x4fc3('0xb')](_0x4fc3('0x12')))return;const _0x5c4dbe=_0x2a8daf[_0x4fc3('0x5')][_0x4fc3('0x9')](_0x4fc3('0x4')),_0x26ff36='restrictedEditingException',_0x50fe4b=_0x2a8daf[_0x4fc3('0x2')][_0x4fc3('0x9')](_0x26ff36);_0x5c4dbe['enableCommand'](_0x26ff36,(_0x39487c,_0x410563={})=>{const _0x4c0550=_0x1f8c35['document'][_0x4fc3('0xe')];if(_0x4c0550['isCollapsed'])return void _0x39487c(_0x410563);const _0x2ec970=void 0x0!==_0x410563['forceValue']?_0x410563[_0x4fc3('0x10')]:!_0x50fe4b[_0x4fc3('0x15')];_0x1f8c35[_0x4fc3('0xa')](()=>{const _0x38fbd6=Array['from'](_0x4c0550[_0x4fc3('0x8')]());for(const _0x42808e of _0x38fbd6){const _0x540056=_0x2ec970?[_0x42808e]:_0x1289ed(_0x26ff36,_0x42808e,_0x1f8c35);for(const _0x15b6a3 of _0x540056)_0x5c4dbe[_0x4fc3('0x0')](_0x15b6a3,{'commandName':_0x26ff36,'commandParams':[{'forceValue':_0x2ec970}]});}});}),_0x5c4dbe[_0x4fc3('0xf')][_0x4fc3('0x7')](_0xa92eee=>{const {data:_0x4b789b}=_0xa92eee;if(_0x4b789b&&_0x4b789b[_0x4fc3('0x1')]==_0x26ff36)return _0x4b789b[_0x4fc3('0xc')][0x0][_0x4fc3('0x10')]?{'type':_0x4fc3('0xd'),'content':_0x1ba6be(_0x2a07cb,_0x4fc3('0x13'))}:{'type':_0x4fc3('0xd'),'content':_0x1ba6be(_0x2a07cb,_0x4fc3('0x14'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x393b=['name','find','enabledStyles','createRangeOn','styleName','afterInit','enableCommand','_getStyleDefinition','normalizeConfig','commands','change','getAttribute','DataSchema','StyleUtils','style.definitions','isCollapsed','markInlineFormat','commandParams','_descriptionFactory','style','has','modelElements','get','inline','format','getSelectedBlocks','locale','config','model','push','_getRangesWithClasses','plugins','*Format:*\x20%0','getDefinitionsForView','selection','from','registerDescriptionCallback','document','*Remove\x20format:*\x20%0','every','markBlockFormat','getItems','commandName','Style','isBlock','forceValue','style:','block','includes','classes'];(function(_0x20a910,_0x393b97){const _0x50821e=function(_0x5f5858){while(--_0x5f5858){_0x20a910['push'](_0x20a910['shift']());}};_0x50821e(++_0x393b97);}(_0x393b,0xed));const _0x5082=function(_0x20a910,_0x393b97){_0x20a910=_0x20a910-0x0;let _0x50821e=_0x393b[_0x20a910];return _0x50821e;};import{Plugin as _0x2587f4}from'ckeditor5/src/core';import{getTranslation as _0x84186b}from'../utils/common-translations';export default class gt extends _0x2587f4{[_0x5082('0x12')](){const _0x2b8a65=this['editor'];if(!_0x2b8a65['plugins'][_0x5082('0x21')](_0x5082('0x6')))return;const _0x4ff2c0=_0x2b8a65[_0x5082('0x16')]['get'](_0x5082('0x20')),_0x1eb213=_0x2b8a65['plugins'][_0x5082('0x23')]('TrackChangesEditing'),_0x3b28d9=_0x2b8a65[_0x5082('0x27')],_0x18713e=_0x2b8a65[_0x5082('0x2c')][_0x5082('0x23')](_0x5082('0x19')),_0x2dadc2=_0x2b8a65[_0x5082('0x2c')][_0x5082('0x23')](_0x5082('0x1a'))[_0x5082('0x15')](_0x18713e,_0x2b8a65[_0x5082('0x28')]['get'](_0x5082('0x1b')));_0x1eb213[_0x5082('0x13')]('style',(_0x1eb95c,{styleName:_0x34e2ee})=>{const _0x5d363f=_0x2b8a65[_0x5082('0x29')][_0x5082('0x0')][_0x5082('0x2f')],_0x22873c=this[_0x5082('0x14')](_0x34e2ee,_0x2dadc2);if(!_0x22873c)return;if(!_0x4ff2c0[_0x5082('0xf')][_0x5082('0xb')](_0x34e2ee))return;if(_0x5d363f[_0x5082('0x1c')]&&!_0x22873c[_0x5082('0x7')])return void _0x1eb95c({'styleName':_0x34e2ee});const _0xaae4c9=!_0x4ff2c0['value'][_0x5082('0xb')](_0x22873c[_0x5082('0xd')]);if(_0x22873c['isBlock']){const _0xf28e6f=function(_0x4559e3,_0x1804b4){const _0xb69c9d=new Set();for(const _0x123de7 of _0x4559e3){const _0x249e95=_0x123de7['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2f2637 of _0x249e95)if(_0x1804b4['includes'](_0x2f2637['name'])){_0xb69c9d['add'](_0x2f2637);break;}}return _0xb69c9d;}(_0x5d363f[_0x5082('0x26')](),_0x22873c[_0x5082('0x22')]);_0x2b8a65[_0x5082('0x29')][_0x5082('0x17')](()=>{for(const _0x29a4a6 of _0xf28e6f)_0x1eb213[_0x5082('0x3')](_0x29a4a6,{'commandName':_0x5082('0x20'),'commandParams':[{'styleName':_0x34e2ee,'forceValue':_0xaae4c9}],'formatGroupId':_0x5082('0x9')+_0x34e2ee});});}else{let _0x469aba=Array['from'](_0x5d363f['getRanges']());if(!_0xaae4c9){const _0x41c383=Array[_0x5082('0x30')](_0x18713e[_0x5082('0x2e')](_0x22873c['element'],!0x1))[0x0][_0x5082('0x29')],_0x57461b=[];for(const _0x65dfff of _0x469aba){const _0x3b5255=this[_0x5082('0x2b')](_0x2b8a65[_0x5082('0x29')],_0x65dfff,_0x22873c[_0x5082('0xc')],_0x41c383);_0x57461b[_0x5082('0x2a')](..._0x3b5255);}_0x469aba=_0x57461b;}_0x2b8a65[_0x5082('0x29')]['change'](()=>{for(const _0x4be177 of _0x469aba)_0x1eb213[_0x5082('0x1d')](_0x4be177,{'commandName':'style','commandParams':[{'styleName':_0x34e2ee,'forceValue':_0xaae4c9}]});});}}),_0x1eb213[_0x5082('0x1f')][_0x5082('0x31')](_0x646d1=>{const {data:_0xa3fe74}=_0x646d1;if(_0xa3fe74&&'style'===_0xa3fe74[_0x5082('0x5')])return _0xa3fe74['commandParams'][0x0][_0x5082('0x8')]?{'type':_0x5082('0x25'),'content':_0x84186b(_0x3b28d9,_0x5082('0x2d'),_0xa3fe74['commandParams'][0x0][_0x5082('0x11')]['toLowerCase']())}:{'type':_0x5082('0x25'),'content':_0x84186b(_0x3b28d9,_0x5082('0x1'),_0xa3fe74[_0x5082('0x1e')][0x0][_0x5082('0x11')]['toLowerCase']())};});}[_0x5082('0x14')](_0x50c258,_0x52e56b){let _0x13695e=_0x52e56b[_0x5082('0xa')][_0x5082('0xe')](_0x2e0a09=>_0x2e0a09[_0x5082('0xd')]===_0x50c258);return _0x13695e||(_0x13695e=_0x52e56b[_0x5082('0x24')][_0x5082('0xe')](_0x1cac2d=>_0x1cac2d[_0x5082('0xd')]===_0x50c258)),_0x13695e;}['_getRangesWithClasses'](_0x3aadff,_0x55a889,_0xa14178,_0x2e6be8){const _0x2ba28c=[];for(const _0x2c4e6e of _0x55a889[_0x5082('0x4')]()){const _0x211b82=_0x2c4e6e[_0x5082('0x18')](_0x2e6be8);_0x211b82&&(_0xa14178[_0x5082('0x2')](_0x588917=>_0x211b82['classes'][_0x5082('0xb')](_0x588917))&&_0x2ba28c[_0x5082('0x2a')](_0x3aadff[_0x5082('0x10')](_0x2c4e6e)));}return _0x2ba28c;}}
23
+ const _0x2a8c=['plugins','DataSchema','style','_descriptionFactory','getItems','getSelectedBlocks','createRangeOn','getDefinitionsForView','value','config','push','styleName','*Format:*\x20%0','from','toLowerCase','element','enabledStyles','inline','name','commandParams','style.definitions','_getRangesWithClasses','includes','format','commandName','afterInit','isBlock','getAttribute','get','model','style:','editor','classes','enableCommand','Style','forceValue','modelElements','document','_getStyleDefinition','change','markInlineFormat','commands','find','registerDescriptionCallback','TrackChangesEditing','StyleUtils'];(function(_0x2bed93,_0x2a8c88){const _0x3aa4af=function(_0x6ea46a){while(--_0x6ea46a){_0x2bed93['push'](_0x2bed93['shift']());}};_0x3aa4af(++_0x2a8c88);}(_0x2a8c,0x6f));const _0x3aa4=function(_0x2bed93,_0x2a8c88){_0x2bed93=_0x2bed93-0x0;let _0x3aa4af=_0x2a8c[_0x2bed93];return _0x3aa4af;};import{Plugin as _0x3a40df}from'ckeditor5/src/core';import{getTranslation as _0x148484}from'../utils/common-translations';export default class gt extends _0x3a40df{[_0x3aa4('0x6')](){const _0x3ad030=this[_0x3aa4('0xc')];if(!_0x3ad030[_0x3aa4('0x1b')]['has'](_0x3aa4('0xf')))return;const _0x200ea6=_0x3ad030[_0x3aa4('0x16')][_0x3aa4('0x9')](_0x3aa4('0x1d')),_0x5e9ab3=_0x3ad030[_0x3aa4('0x1b')][_0x3aa4('0x9')](_0x3aa4('0x19')),_0x31d939=_0x3ad030['locale'],_0x259ee3=_0x3ad030[_0x3aa4('0x1b')][_0x3aa4('0x9')](_0x3aa4('0x1c')),_0x12bf9c=_0x3ad030['plugins']['get'](_0x3aa4('0x1a'))['normalizeConfig'](_0x259ee3,_0x3ad030[_0x3aa4('0x24')]['get'](_0x3aa4('0x1')));_0x5e9ab3[_0x3aa4('0xe')]('style',(_0x42e589,{styleName:_0x500052})=>{const _0x5c74cc=_0x3ad030[_0x3aa4('0xa')][_0x3aa4('0x12')]['selection'],_0x27512f=this[_0x3aa4('0x13')](_0x500052,_0x12bf9c);if(!_0x27512f)return;if(!_0x200ea6[_0x3aa4('0x2b')][_0x3aa4('0x3')](_0x500052))return;if(_0x5c74cc['isCollapsed']&&!_0x27512f[_0x3aa4('0x7')])return void _0x42e589({'styleName':_0x500052});const _0x39498d=!_0x200ea6[_0x3aa4('0x23')][_0x3aa4('0x3')](_0x27512f[_0x3aa4('0x2d')]);if(_0x27512f[_0x3aa4('0x7')]){const _0x3574b4=function(_0x2a7122,_0x2aa3fd){const _0x282dd5=new Set();for(const _0xa5cd71 of _0x2a7122){const _0x193157=_0xa5cd71['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x216267 of _0x193157)if(_0x2aa3fd[_0x3aa4('0x3')](_0x216267[_0x3aa4('0x2d')])){_0x282dd5['add'](_0x216267);break;}}return _0x282dd5;}(_0x5c74cc[_0x3aa4('0x20')](),_0x27512f[_0x3aa4('0x11')]);_0x3ad030[_0x3aa4('0xa')][_0x3aa4('0x14')](()=>{for(const _0x344766 of _0x3574b4)_0x5e9ab3['markBlockFormat'](_0x344766,{'commandName':_0x3aa4('0x1d'),'commandParams':[{'styleName':_0x500052,'forceValue':_0x39498d}],'formatGroupId':_0x3aa4('0xb')+_0x500052});});}else{let _0x20360=Array['from'](_0x5c74cc['getRanges']());if(!_0x39498d){const _0x1d280f=Array[_0x3aa4('0x28')](_0x259ee3[_0x3aa4('0x22')](_0x27512f[_0x3aa4('0x2a')],!0x1))[0x0][_0x3aa4('0xa')],_0x1267f9=[];for(const _0x3c80c8 of _0x20360){const _0x5d68f7=this[_0x3aa4('0x2')](_0x3ad030['model'],_0x3c80c8,_0x27512f[_0x3aa4('0xd')],_0x1d280f);_0x1267f9[_0x3aa4('0x25')](..._0x5d68f7);}_0x20360=_0x1267f9;}_0x3ad030[_0x3aa4('0xa')]['change'](()=>{for(const _0x4c2daa of _0x20360)_0x5e9ab3[_0x3aa4('0x15')](_0x4c2daa,{'commandName':'style','commandParams':[{'styleName':_0x500052,'forceValue':_0x39498d}]});});}}),_0x5e9ab3[_0x3aa4('0x1e')][_0x3aa4('0x18')](_0x407837=>{const {data:_0x5dedf1}=_0x407837;if(_0x5dedf1&&'style'===_0x5dedf1[_0x3aa4('0x5')])return _0x5dedf1['commandParams'][0x0][_0x3aa4('0x10')]?{'type':_0x3aa4('0x4'),'content':_0x148484(_0x31d939,_0x3aa4('0x27'),_0x5dedf1[_0x3aa4('0x0')][0x0][_0x3aa4('0x26')][_0x3aa4('0x29')]())}:{'type':'format','content':_0x148484(_0x31d939,'*Remove\x20format:*\x20%0',_0x5dedf1[_0x3aa4('0x0')][0x0][_0x3aa4('0x26')][_0x3aa4('0x29')]())};});}[_0x3aa4('0x13')](_0x553f61,_0x22f94c){let _0x2c2d3d=_0x22f94c['block']['find'](_0x2984bd=>_0x2984bd[_0x3aa4('0x2d')]===_0x553f61);return _0x2c2d3d||(_0x2c2d3d=_0x22f94c[_0x3aa4('0x2c')][_0x3aa4('0x17')](_0x4e37a6=>_0x4e37a6[_0x3aa4('0x2d')]===_0x553f61)),_0x2c2d3d;}[_0x3aa4('0x2')](_0x5cf6ad,_0x1432ea,_0x1f1925,_0xee279e){const _0x543a55=[];for(const _0x3dea23 of _0x1432ea[_0x3aa4('0x1f')]()){const _0x90f1e7=_0x3dea23[_0x3aa4('0x8')](_0xee279e);_0x90f1e7&&(_0x1f1925['every'](_0x340be2=>_0x90f1e7[_0x3aa4('0xd')][_0x3aa4('0x3')](_0x340be2))&&_0x543a55[_0x3aa4('0x25')](_0x5cf6ad[_0x3aa4('0x21')](_0x3dea23)));}return _0x543a55;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1780=['classes','createRangeIn','some','getColumnIndexes','min','enqueueChange','colspan','refresh','data','getItems','_splitMarkerName','registerDescriptionCallback','setSelection','registerPostFixer','markMultiRangeInsertion','order','rootName','plugins','differ','ELEMENT_TABLE_COLUMN','_setupColumnsRowsFixing','map','isIntersectingWithRange','$textProxy','removeTableRow','document','maxColumn','low','fromRange','registerElementLabel','subType','ELEMENT_TABLE_COLUMN_WITH_TEXT','selection','ELEMENT_TABLE_ROW','getAttribute','minColumn','removeClass','tablePaste','push','tableCell','_getCoordsForCells','suggestion','getSelectionAffectedTableCells','insertTable','findAncestor','enableCommand','downcastDispatcher','position','*Remove:*\x20%0','nodeAfter','values','markMultiRangeDeletion','editor','insertTableColumnRight','discard','MIN_SAFE_INTEGER','MAX_SAFE_INTEGER','nodeBefore','writer','registerCustomCallback','item','from','_descriptionFactory','join','getRanges','ELEMENT_TABLE_ROW_WITH_TEXT','_getSuggestionCoords','_suggestionFactory','createTableWalker','minRow','insert','deletion','removeTableColumn','name','options','type','span','oldRange','getContainedElement','last','length','end','ELEMENT_TABLE','root','addRange','*Insert:*\x20%0','TableUtils','detach','substr','getChildren','mapper','toLowerCase','accept','maxRow','get','getRowIndexes','insertion','change:data','commands','table','addClass','hasAttribute','insertTableRowAbove','selectTableRow','getChangedMarkers','startsWith','tableColumn','_tablePostFixingSubtypes','$graveyard','isEqual','TrackChangesEditing','rowspan','above','execute','selectTableColumn','change','first','filter','start','getSuggestion','tableRow','createRangeOn','getChanges','every','max','model','isInContent','has','ELEMENT_TABLE_WITH_TEXT'];(function(_0x33618c,_0x17802f){const _0x3b92e5=function(_0x33999d){while(--_0x33999d){_0x33618c['push'](_0x33618c['shift']());}};_0x3b92e5(++_0x17802f);}(_0x1780,0x13c));const _0x3b92=function(_0x33618c,_0x17802f){_0x33618c=_0x33618c-0x0;let _0x3b92e5=_0x1780[_0x33618c];return _0x3b92e5;};import{Plugin as _0x8c0d3d}from'ckeditor5/src/core';import{LiveRange as _0x1605a2}from'ckeditor5/src/engine';import{setHighlightHandling as _0x43c95a}from'ckeditor5/src/widget';import{getTranslation as _0x510c36}from'../utils/common-translations';export default class mt extends _0x8c0d3d{constructor(_0x2b8297){super(_0x2b8297),this[_0x3b92('0x31')]=[_0x3b92('0x3e'),'tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x5d7e5e=this[_0x3b92('0x7b')],_0x221410=_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x67')];if(!_0x5d7e5e[_0x3b92('0x58')][_0x3b92('0x45')]('TableEditing'))return;const _0x53d192=_0x5d7e5e['locale'],_0x4518eb=_0x5d7e5e[_0x3b92('0x58')]['get']('TrackChangesEditing'),_0x42f974=_0x5d7e5e[_0x3b92('0x58')][_0x3b92('0x24')](_0x3b92('0x1c'));_0x4518eb[_0x3b92('0x4')][_0x3b92('0x64')](_0x3b92('0x29'),_0xb4ee4b=>_0x510c36(_0x53d192,_0x3b92('0x18'),_0xb4ee4b)),this[_0x3b92('0x5b')](),_0x4518eb['enableCommand'](_0x3b92('0x72')),_0x4518eb['enableCommand'](_0x3b92('0x2d')),_0x4518eb[_0x3b92('0x74')](_0x3b92('0x38'));for(const _0x389b7e of[_0x3b92('0x2c'),'insertTableRowBelow']){const _0x504823=_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x389b7e);_0x4518eb[_0x3b92('0x74')](_0x389b7e,_0x32d565=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x55bda4=>{_0x32d565();const _0x597b13=_0x3b92('0x36')===_0x504823['order'],_0x53084d=_0x42f974[_0x3b92('0x71')](_0x221410),_0x30f8e2=_0x42f974['getRowIndexes'](_0x53084d),_0x335f8d=_0x597b13?_0x30f8e2[_0x3b92('0x3a')]-0x1:_0x30f8e2[_0x3b92('0x15')]+0x1,_0x4b5d49=_0x53084d[0x0][_0x3b92('0x73')](_0x3b92('0x29')),_0x4fd62d=_0x42f974[_0x3b92('0xa')](_0x4b5d49,{'startRow':_0x335f8d,'endRow':_0x335f8d}),_0xed01e1=Array['from'](_0x4fd62d)[_0x3b92('0x5c')](_0x21c9d3=>_0x55bda4['createRangeOn'](_0x21c9d3['cell']));_0x4518eb[_0x3b92('0x55')](_0xed01e1,'tableRow');});});}for(const _0x198c63 of['insertTableColumnLeft',_0x3b92('0x7c')]){const _0x4abcf3=_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x198c63);_0x4518eb[_0x3b92('0x74')](_0x198c63,_0x146008=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x2810df=>{_0x146008();const _0x52efaf='left'===_0x4abcf3[_0x3b92('0x56')],_0x244e12=_0x42f974['getSelectionAffectedTableCells'](_0x221410),_0x48056b=_0x42f974[_0x3b92('0x4a')](_0x244e12),_0x445167=_0x52efaf?_0x48056b[_0x3b92('0x3a')]-0x1:_0x48056b[_0x3b92('0x15')]+0x1,_0xe36d5e=_0x244e12[0x0][_0x3b92('0x73')](_0x3b92('0x29')),_0x513b46=_0x42f974[_0x3b92('0xa')](_0xe36d5e,{'startRow':0x0,'column':_0x445167,'includeAllSlots':!0x1}),_0x4c9026=Array['from'](_0x513b46)['map'](_0x281820=>_0x2810df[_0x3b92('0x3f')](_0x281820['cell']));_0x4518eb[_0x3b92('0x55')](_0x4c9026,_0x3b92('0x30'));});});}for(const _0x3f7d20 of[_0x3b92('0x5f'),'removeTableColumn']){const _0x4b7368=_0x3f7d20['substr'](0xb),_0x3e1863=_0x4b7368[_0x3b92('0x21')](),_0x3a8e45=_0x3e1863[_0x3b92('0x1e')](0x0,0x3)+_0x3b92('0x12'),_0x517c00=_0x3b92('0x29')+_0x4b7368,_0x4154aa=_0x3b92('0x4b')+_0x4b7368,_0x4b21fb=_0x3b92('0x42')+_0x4b7368;_0x4518eb['enableCommand'](_0x3f7d20,()=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x1cc0ac=>{const _0xc8fa76=_0x42f974['getSelectionAffectedTableCells'](_0x221410),_0x5ad390=_0xc8fa76[0x0][_0x3b92('0x73')]('table');let _0x27eb67;if(_0x3b92('0x5f')==_0x3f7d20){const _0x1c6792=_0x42f974[_0x3b92('0x25')](_0xc8fa76);_0x27eb67={'startRow':_0x1c6792[_0x3b92('0x3a')],'endRow':_0x1c6792[_0x3b92('0x15')],'includeAllSlots':!0x0};}else{const _0x25ba53=_0x42f974['getColumnIndexes'](_0xc8fa76);_0x27eb67={'startColumn':_0x25ba53[_0x3b92('0x3a')],'endColumn':_0x25ba53[_0x3b92('0x15')],'includeAllSlots':!0x0};}const _0x104f16=_0x42f974[_0x3b92('0xa')](_0x5ad390,_0x27eb67),_0x1e6fd9=Array[_0x3b92('0x3')](_0x104f16)[_0x3b92('0x5c')](({cell:_0x3563b1})=>_0x3563b1),_0x198104=se(_0x1e6fd9[_0x3b92('0x3b')](_0x3daa52=>_0x3daa52['hasAttribute'](_0x3a8e45))),_0x2d69e0=se(_0x1e6fd9[_0x3b92('0x3b')](_0x58142b=>!_0x58142b['hasAttribute'](_0x3a8e45)))[_0x3b92('0x5c')](_0x773417=>_0x1cc0ac[_0x3b92('0x3f')](_0x773417)),_0x96a45=_0x4518eb[_0x3b92('0x7a')](_0x2d69e0,_0x517c00);if(_0x96a45&&(_0x3b92('0x3e')==_0x96a45[_0x3b92('0x65')]||'tableColumn'==_0x96a45['subType'])){const _0x14d96a=this[_0x3b92('0x8')](_0x96a45);for(const _0xa08e6e of _0x198104){const _0x5e653b=_0x1cc0ac[_0x3b92('0x3f')](_0xa08e6e),_0x56d4ff=_0x42f974['getCellLocation'](_0xa08e6e),_0x31a120=_0xa08e6e[_0x3b92('0x69')](_0x3a8e45)-0x1,_0x17b620=_0x14d96a[_0x4154aa],_0x4810a1=_0x14d96a[_0x4b21fb];_0x17b620<=_0x56d4ff[_0x3e1863]&&_0x56d4ff[_0x3e1863]+_0x31a120<=_0x4810a1&&_0x96a45[_0x3b92('0x1a')](_0x5e653b);}}});});}function _0x2e237a(_0xc73350){const _0x1c2d96=Array['from'](_0x221410[_0x3b92('0x6')]())[_0x3b92('0x5c')](_0x11f706=>_0x1605a2[_0x3b92('0x63')](_0x11f706));_0x5d7e5e['model']['change'](_0x5862bd=>{const _0x2d4669=_0x5862bd['batch'];_0xc73350=_0xc73350[_0x3b92('0x3b')](_0x5eb6e7=>_0x3b92('0x32')!=_0x5eb6e7['root'][_0x3b92('0x57')]),_0x5862bd[_0x3b92('0x53')](_0xc73350),_0x5d7e5e[_0x3b92('0x28')]['get'](_0x3b92('0x5f'))[_0x3b92('0x4e')](),_0x5d7e5e['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x4c')](()=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x4c')](_0x2d4669,_0x2aafb4=>{const _0x5165ea=_0x1c2d96[_0x3b92('0x3b')](_0xde7fcf=>_0x3b92('0x32')!=_0xde7fcf[_0x3b92('0x19')]['rootName']);_0x5165ea[_0x3b92('0x16')]>0x0&&_0x2aafb4['setSelection'](_0x5165ea);for(const _0x15b5c5 of _0x1c2d96)_0x15b5c5[_0x3b92('0x1d')]();});});});}function _0x1607ef(_0x3821e1){_0x5d7e5e['model'][_0x3b92('0x39')](_0x5e4a0a=>{const _0x26f936=Array[_0x3b92('0x3')](_0x221410['getRanges']())[_0x3b92('0x5c')](_0x4fdc06=>_0x1605a2[_0x3b92('0x63')](_0x4fdc06)),_0x315804=[];for(const _0x52c944 of _0x3821e1)for(const _0x1f5692 of _0x52c944[_0x3b92('0x50')]({'shallow':!0x0}))_0x315804[_0x3b92('0x6d')](_0x1f5692);for(const _0x1e7846 of _0x315804)_0x3b92('0x32')!=_0x1e7846[_0x3b92('0x19')][_0x3b92('0x57')]&&(_0x5e4a0a[_0x3b92('0x53')](_0x5e4a0a['createPositionAt'](_0x1e7846,0x0)),_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x3b92('0xe'))['refresh'](),_0x5d7e5e[_0x3b92('0x37')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x502b80=_0x26f936[_0x3b92('0x3b')](_0x3fb98e=>_0x3b92('0x32')!=_0x3fb98e['root'][_0x3b92('0x57')]);_0x502b80[_0x3b92('0x16')]>0x0&&_0x5e4a0a[_0x3b92('0x53')](_0x502b80);for(const _0x51b614 of _0x26f936)_0x51b614['detach']();});}function _0x2b2a0d(_0x3ca53b,_0x151c1c){return _0x151c1c[_0x3b92('0x41')](_0x2d3071=>_0x3ca53b['some'](_0x178388=>_0x178388[_0x3b92('0x17')][_0x3b92('0x33')](_0x2d3071['start'])||_0x2d3071[_0x3b92('0x17')][_0x3b92('0x33')](_0x178388[_0x3b92('0x3c')])));}function _0x15b8d9(_0x25d4c8,_0x5f2fad){return _0x25d4c8[_0x3b92('0x49')](_0x29b300=>_0x5f2fad[_0x3b92('0x49')](_0x29be6b=>_0x29b300[_0x3b92('0x17')]['isTouching'](_0x29be6b[_0x3b92('0x3c')])));}_0x5d7e5e[_0x3b92('0x4f')][_0x3b92('0x75')]['on']('addMarker:suggestion',(_0x511f8b,_0x4b4248,_0x1bdf3e)=>{if(!_0x1bdf3e[_0x3b92('0x10')]['showSuggestionHighlights'])return;const _0x634f55=_0x4b4248[_0x3b92('0x2')];if(!_0x634f55)return;const _0x2ae2f3=_0x1bdf3e[_0x3b92('0x20')]['toViewElement'](_0x634f55);function _0x29841c(_0x472d36){return Array['isArray'](_0x472d36)?_0x472d36:[_0x472d36];}_0x2ae2f3&&'tableCell'===_0x634f55[_0x3b92('0xf')]&&_0x43c95a(_0x2ae2f3,_0x1bdf3e[_0x3b92('0x0')],(_0x5016dc,_0x56d013,_0x3ee104)=>_0x3ee104[_0x3b92('0x2a')](_0x29841c(_0x56d013[_0x3b92('0x47')]),_0x5016dc),(_0x375aea,_0x5228cf,_0x21e557)=>_0x21e557[_0x3b92('0x6b')](_0x29841c(_0x5228cf[_0x3b92('0x47')]),_0x375aea));},{'priority':'highest'}),_0x4518eb[_0x3b92('0x4')][_0x3b92('0x52')](_0x117424=>{if('insertion'!=_0x117424[_0x3b92('0x11')]&&_0x3b92('0xd')!=_0x117424[_0x3b92('0x11')])return;const _0x476d40=_0x117424[_0x3b92('0x14')]();if(null!=_0x476d40&&_0x476d40['is']('element',_0x3b92('0x29'))){if(_0x3b92('0x26')==_0x117424[_0x3b92('0x11')]){const _0x3ec52b=_0x117424['getItems']()[_0x3b92('0x3b')](_0x2f8c32=>_0x2f8c32['is'](_0x3b92('0x5e')))[_0x3b92('0x5c')](_0x31c1b5=>_0x31c1b5['data']);if(_0x3ec52b[_0x3b92('0x16')])return{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,_0x3b92('0x1b'),_0x510c36(_0x53d192,_0x3b92('0x46'),'\x22'+_0x3ec52b[_0x3b92('0x5')]('\x20')+'\x22'))};}if('deletion'==_0x117424[_0x3b92('0x11')]){const _0x3248cb=_0x117424[_0x3b92('0x50')]()[_0x3b92('0x3b')](_0x344b30=>_0x344b30['is'](_0x3b92('0x5e')))['map'](_0x270c54=>_0x270c54[_0x3b92('0x4f')]);if(_0x3248cb[_0x3b92('0x16')])return{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x46'),'\x22'+_0x3248cb[_0x3b92('0x5')]('\x20')+'\x22'))};}}}),_0x4518eb['_descriptionFactory'][_0x3b92('0x52')](_0x4cc471=>{if(_0x3b92('0x3e')==_0x4cc471['subType']){const _0xf40a0c=_0x4cc471['getItems']()['filter'](_0x1ef50b=>_0x1ef50b['is']('$textProxy'))[_0x3b92('0x5c')](_0x18eccc=>_0x18eccc[_0x3b92('0x4f')]),_0x31bf33=this[_0x3b92('0x8')](_0x4cc471),_0x236fa5=_0x31bf33[_0x3b92('0x23')]-_0x31bf33[_0x3b92('0xb')]+0x1;if(_0x3b92('0x26')==_0x4cc471[_0x3b92('0x11')])return _0xf40a0c['length']?{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x7'),[_0x236fa5,'\x22'+_0xf40a0c['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x510c36(_0x53d192,_0x3b92('0x1b'),_0x510c36(_0x53d192,_0x3b92('0x68'),_0x236fa5))};if(_0x3b92('0xd')==_0x4cc471[_0x3b92('0x11')])return _0xf40a0c[_0x3b92('0x16')]?{'type':'deletion','content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x7'),[_0x236fa5,'\x22'+_0xf40a0c[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,'ELEMENT_TABLE_ROW',_0x236fa5))};}if(_0x3b92('0x30')==_0x4cc471[_0x3b92('0x65')]){const _0x540963=_0x4cc471[_0x3b92('0x50')]()['filter'](_0x4cf64e=>_0x4cf64e['is']('$textProxy'))[_0x3b92('0x5c')](_0x551fe7=>_0x551fe7[_0x3b92('0x4f')]),_0xc05c0e=this[_0x3b92('0x8')](_0x4cc471),_0x539402=_0xc05c0e[_0x3b92('0x61')]-_0xc05c0e[_0x3b92('0x6a')]+0x1;if(_0x3b92('0x26')==_0x4cc471['type'])return _0x540963[_0x3b92('0x16')]?{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x539402,'\x22'+_0x540963[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x5a'),_0x539402))};if('deletion'==_0x4cc471[_0x3b92('0x11')])return _0x540963[_0x3b92('0x16')]?{'type':'deletion','content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x66'),[_0x539402,'\x22'+_0x540963[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,'*Remove:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x5a'),_0x539402))};}}),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x3e'),'discard',_0x2e237a),_0x4518eb['_suggestionFactory'][_0x3b92('0x1')](_0x3b92('0xd'),_0x3b92('0x3e'),_0x3b92('0x22'),_0x2e237a),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x30'),_0x3b92('0x7d'),_0x1607ef),_0x4518eb[_0x3b92('0x9')]['registerCustomCallback'](_0x3b92('0xd'),_0x3b92('0x30'),_0x3b92('0x22'),_0x1607ef),_0x4518eb['_suggestionFactory']['registerCustomCallback']('insertion',_0x3b92('0x30'),'join',_0x2b2a0d),_0x4518eb['_suggestionFactory'][_0x3b92('0x1')](_0x3b92('0xd'),_0x3b92('0x30'),'join',_0x2b2a0d),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x3e'),'join',_0x15b8d9),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')]('deletion',_0x3b92('0x3e'),_0x3b92('0x5'),_0x15b8d9);}['_acceptFormatSuggestionCallbackFactory'](){const _0x1891f0=this[_0x3b92('0x7b')],_0x1fd78b=_0x1891f0[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x67')];return(_0x380b8e,_0x4adc78)=>{_0x1891f0[_0x3b92('0x43')][_0x3b92('0x39')](_0x2645b2=>{const {commandName:_0x3ce818,commandParams:_0x41cc20}=_0x4adc78;let _0x4399ed=_0x380b8e[0x0][_0x3b92('0x17')][_0x3b92('0x80')];_0x41cc20&&_0x41cc20[0x0]&&!0x1===_0x41cc20[0x0]['forceValue']&&(_0x4399ed=_0x380b8e[0x0][_0x3b92('0x3c')][_0x3b92('0x78')]);const _0x3acb71=_0x2645b2[_0x3b92('0x48')](_0x4399ed);if(_0x3b92('0x32')==_0x3acb71[_0x3b92('0x19')]['rootName'])return;const _0x357102=Array[_0x3b92('0x3')](_0x1fd78b[_0x3b92('0x6')]())[_0x3b92('0x5c')](_0x466b29=>_0x1605a2[_0x3b92('0x63')](_0x466b29));_0x2645b2[_0x3b92('0x53')](_0x3acb71),_0x1891f0[_0x3b92('0x28')]['get'](_0x3ce818)['refresh'](),_0x41cc20[_0x3b92('0x6d')]({'forceDefaultExecution':!0x0}),_0x1891f0['execute'](_0x3ce818,..._0x41cc20);const _0x5c3bd6=_0x357102[_0x3b92('0x3b')](_0x209e8b=>_0x3b92('0x32')!=_0x209e8b['root'][_0x3b92('0x57')]);_0x5c3bd6[_0x3b92('0x16')]>0x0&&_0x2645b2['setSelection'](_0x5c3bd6);for(const _0x3cb5df of _0x357102)_0x3cb5df[_0x3b92('0x1d')]();});};}['_getCoordsForCells'](_0x49a7fa){const _0x5e4059=this[_0x3b92('0x7b')]['plugins']['get'](_0x3b92('0x1c'));let _0x28f7eb=Number[_0x3b92('0x7f')],_0x999b4b=Number[_0x3b92('0x7e')],_0x524dbe=Number['MAX_SAFE_INTEGER'],_0xa96158=Number[_0x3b92('0x7e')];for(const _0x3be607 of _0x49a7fa){if(_0x3b92('0x32')==_0x3be607[_0x3b92('0x19')][_0x3b92('0x57')])continue;const {row:_0x31b9bb,column:_0x56e410}=_0x5e4059['getCellLocation'](_0x3be607),_0x2d10ff=_0x3be607[_0x3b92('0x2b')]('rowspan')?_0x3be607[_0x3b92('0x69')](_0x3b92('0x35'))-0x1:0x0,_0x3626bf=_0x3be607[_0x3b92('0x2b')](_0x3b92('0x4d'))?_0x3be607[_0x3b92('0x69')]('colspan')-0x1:0x0;_0x28f7eb=_0x31b9bb<_0x28f7eb?_0x31b9bb:_0x28f7eb,_0x999b4b=_0x31b9bb+_0x2d10ff>_0x999b4b?_0x31b9bb+_0x2d10ff:_0x999b4b,_0x524dbe=_0x56e410<_0x524dbe?_0x56e410:_0x524dbe,_0xa96158=_0x56e410+_0x3626bf>_0xa96158?_0x56e410+_0x3626bf:_0xa96158;}return{'minRow':_0x28f7eb,'maxRow':_0x999b4b,'minColumn':_0x524dbe,'maxColumn':_0xa96158};}[_0x3b92('0x5b')](){const _0x3f5a8f=this['editor'],_0x1d2022=_0x3f5a8f[_0x3b92('0x58')][_0x3b92('0x24')](_0x3b92('0x34')),_0xb48861=_0x3f5a8f[_0x3b92('0x58')]['get']('TableUtils');_0x3f5a8f[_0x3b92('0x43')][_0x3b92('0x60')]['on'](_0x3b92('0x27'),()=>{const _0x5ce0d5=Array['from'](_0x3f5a8f[_0x3b92('0x43')]['document'][_0x3b92('0x59')][_0x3b92('0x2e')]());for(const {name:_0x301d05,data:_0x212e83}of _0x5ce0d5){const {group:_0x9eec48,id:_0x193dec,subType:_0x46f73c}=_0x1d2022[_0x3b92('0x51')](_0x301d05);if(_0x3b92('0x70')!=_0x9eec48)continue;if(null!=_0x212e83[_0x3b92('0x13')])continue;const _0x138842=_0x1d2022[_0x3b92('0x3d')](_0x193dec);this[_0x3b92('0x31')]['includes'](_0x46f73c)&&this['_tableSuggestions']['add'](_0x138842);}},{'priority':_0x3b92('0x62')});const _0x49100e=(_0xadc88d,_0x167c6b)=>{let _0x4189d6=!0x1;const _0x4c3f6a=_0x167c6b['createRangeOn'](_0xadc88d),_0x5f0395=_0xadc88d[_0x3b92('0x73')]('table'),_0x54dacb=_0xb48861['getCellLocation'](_0xadc88d);for(const _0x2a53d1 of this['_tableSuggestions']){const _0x957fbe=_0x2a53d1[_0x3b92('0x65')],_0x327c41=_0x957fbe[_0x3b92('0x2f')](_0x3b92('0x6c')),_0x5795ef=_0x957fbe['substr'](_0x327c41?0xa:0x5),_0xe4b23=_0x5795ef['toLowerCase'](),_0xc7be9b=_0xe4b23['substr'](0x0,0x3)+'span',_0x5020c0=_0x3b92('0x4b')+_0x5795ef,_0x6600f2=_0x3b92('0x42')+_0x5795ef;if(!_0x2a53d1[_0x3b92('0x44')])continue;if(_0x5f0395!=_0x2a53d1['getFirstRange']()[_0x3b92('0x3c')][_0x3b92('0x73')](_0x3b92('0x29')))continue;if(_0x2a53d1[_0x3b92('0x5d')](_0x4c3f6a))continue;const _0x2badf6=_0xadc88d[_0x3b92('0x2b')](_0xc7be9b)?_0xadc88d[_0x3b92('0x69')](_0xc7be9b)-0x1:0x0,_0x8cac4c=this[_0x3b92('0x8')](_0x2a53d1),_0x431609=_0x8cac4c[_0x5020c0],_0xdfcba1=_0x8cac4c[_0x6600f2];_0x431609<=_0x54dacb[_0xe4b23]&&_0x54dacb[_0xe4b23]+_0x2badf6<=_0xdfcba1&&(_0x2a53d1[_0x3b92('0x1a')](_0x4c3f6a),_0x4189d6=!0x0);}return _0x4189d6;};_0x3f5a8f['model'][_0x3b92('0x60')][_0x3b92('0x54')](_0x4ec75c=>{let _0xff187b=!0x1;for(const _0x7a24f1 of _0x3f5a8f[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x59')][_0x3b92('0x40')]())if(_0x3b92('0xc')==_0x7a24f1[_0x3b92('0x11')]){if(_0x3b92('0x3e')==_0x7a24f1[_0x3b92('0xf')])for(const _0x4a7abc of _0x7a24f1[_0x3b92('0x76')][_0x3b92('0x78')][_0x3b92('0x1f')]())_0xff187b=_0xff187b||_0x49100e(_0x4a7abc,_0x4ec75c);else _0x3b92('0x6e')==_0x7a24f1[_0x3b92('0xf')]&&(_0xff187b=_0xff187b||_0x49100e(_0x7a24f1[_0x3b92('0x76')][_0x3b92('0x78')],_0x4ec75c));}return _0xff187b;});}[_0x3b92('0x8')](_0x2ab6c7){return this[_0x3b92('0x6f')](_0x2ab6c7['getRanges']()[_0x3b92('0x5c')](_0x2985ae=>_0x2985ae[_0x3b92('0x3c')]['nodeAfter']));}}function se(_0x7cf60f){return Array['from'](new Set(_0x7cf60f)[_0x3b92('0x79')]());}
23
+ const _0x2fef=['forceValue','tableRow','getRanges','MAX_SAFE_INTEGER','cell','locale','markMultiRangeDeletion','first','ELEMENT_TABLE_ROW_WITH_TEXT','plugins','enqueueChange','_setupColumnsRowsFixing','filter','insertTableColumnRight','insertTable','*Insert:*\x20%0','createRangeIn','from','ELEMENT_TABLE','classes','getChanges','has','enableCommand','join','writer','last','findAncestor','end','getChangedMarkers','removeTableRow','getAttribute','isInContent','tableCell','getSuggestion','getRowIndexes','isTouching','includes','minColumn','add','setSelection','getChildren','options','TrackChangesEditing','accept','batch','insertTableRowBelow','mapper','push','removeClass','minRow','execute','editor','getFirstRange','insertTableColumnLeft','insertion','table','rootName','hasAttribute','detach','rowspan','tableColumn','refresh','selectTableRow','registerDescriptionCallback','start','ELEMENT_TABLE_ROW','discard','colspan','addMarker:suggestion','maxRow','TableEditing','_tablePostFixingSubtypes','maxColumn','max','selectTableColumn','isIntersectingWithRange','commands','*Remove:*\x20%0','change:data','map','isArray','span','min','registerCustomCallback','differ','tablePaste','addRange','substr','values','nodeBefore','document','nodeAfter','addClass','toLowerCase','change','TableUtils','selection','_suggestionFactory','_descriptionFactory','_getSuggestionCoords','get','root','$graveyard','ELEMENT_TABLE_WITH_TEXT','type','getItems','isEqual','deletion','afterInit','order','subType','oldRange','low','getColumnIndexes','item','position','_tableSuggestions','createRangeOn','model','removeTableColumn','getCellLocation','length','insert','getSelectionAffectedTableCells','left','fromRange','$textProxy','markMultiRangeInsertion','some','MIN_SAFE_INTEGER','data','createPositionAt','ELEMENT_TABLE_COLUMN_WITH_TEXT','createTableWalker','getContainedElement','name'];(function(_0x55cc96,_0x2feff2){const _0x417221=function(_0x260c45){while(--_0x260c45){_0x55cc96['push'](_0x55cc96['shift']());}};_0x417221(++_0x2feff2);}(_0x2fef,0x1cc));const _0x4172=function(_0x55cc96,_0x2feff2){_0x55cc96=_0x55cc96-0x0;let _0x417221=_0x2fef[_0x55cc96];return _0x417221;};import{Plugin as _0x4257a0}from'ckeditor5/src/core';import{LiveRange as _0x94bbe7}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2e7393}from'ckeditor5/src/widget';import{getTranslation as _0x3f819a}from'../utils/common-translations';export default class mt extends _0x4257a0{constructor(_0x3d72d3){super(_0x3d72d3),this[_0x4172('0x13')]=['tableRow',_0x4172('0x8')],this[_0x4172('0x40')]=new Set();}[_0x4172('0x38')](){const _0x55590e=this[_0x4172('0x87')],_0x1b0dd9=_0x55590e[_0x4172('0x42')][_0x4172('0x26')]['selection'];if(!_0x55590e['plugins'][_0x4172('0x69')](_0x4172('0x12')))return;const _0x1ceac7=_0x55590e[_0x4172('0x59')],_0x5624a3=_0x55590e['plugins'][_0x4172('0x30')]('TrackChangesEditing'),_0x590140=_0x55590e[_0x4172('0x5d')]['get'](_0x4172('0x2b'));_0x5624a3[_0x4172('0x2e')]['registerElementLabel']('table',_0x2dacf8=>_0x3f819a(_0x1ceac7,_0x4172('0x66'),_0x2dacf8)),this[_0x4172('0x5f')](),_0x5624a3[_0x4172('0x6a')](_0x4172('0x62')),_0x5624a3[_0x4172('0x6a')](_0x4172('0xa')),_0x5624a3[_0x4172('0x6a')](_0x4172('0x16'));for(const _0xc13778 of['insertTableRowAbove',_0x4172('0x81')]){const _0x2bb993=_0x55590e['commands'][_0x4172('0x30')](_0xc13778);_0x5624a3['enableCommand'](_0xc13778,_0x3707f4=>{_0x55590e['model'][_0x4172('0x2a')](_0x2fbade=>{_0x3707f4();const _0xea11fc='above'===_0x2bb993[_0x4172('0x39')],_0x1324b3=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x216fed=_0x590140['getRowIndexes'](_0x1324b3),_0x4ff533=_0xea11fc?_0x216fed[_0x4172('0x5b')]-0x1:_0x216fed[_0x4172('0x6d')]+0x1,_0x368e60=_0x1324b3[0x0][_0x4172('0x6e')]('table'),_0x7542bd=_0x590140['createTableWalker'](_0x368e60,{'startRow':_0x4ff533,'endRow':_0x4ff533}),_0x25b7ee=Array['from'](_0x7542bd)[_0x4172('0x1b')](_0x24a5b1=>_0x2fbade[_0x4172('0x41')](_0x24a5b1[_0x4172('0x58')]));_0x5624a3[_0x4172('0x4b')](_0x25b7ee,_0x4172('0x55'));});});}for(const _0xe7fa83 of[_0x4172('0x1'),_0x4172('0x61')]){const _0xd4a46c=_0x55590e[_0x4172('0x18')]['get'](_0xe7fa83);_0x5624a3[_0x4172('0x6a')](_0xe7fa83,_0x92b480=>{_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x179ca3=>{_0x92b480();const _0x575a2b=_0x4172('0x48')===_0xd4a46c[_0x4172('0x39')],_0x29b68d=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x3fb108=_0x590140[_0x4172('0x3d')](_0x29b68d),_0x3578fb=_0x575a2b?_0x3fb108[_0x4172('0x5b')]-0x1:_0x3fb108[_0x4172('0x6d')]+0x1,_0x1d3610=_0x29b68d[0x0][_0x4172('0x6e')]('table'),_0x18bf91=_0x590140['createTableWalker'](_0x1d3610,{'startRow':0x0,'column':_0x3578fb,'includeAllSlots':!0x1}),_0x2eefdc=Array[_0x4172('0x65')](_0x18bf91)[_0x4172('0x1b')](_0x283e8f=>_0x179ca3[_0x4172('0x41')](_0x283e8f[_0x4172('0x58')]));_0x5624a3['markMultiRangeInsertion'](_0x2eefdc,_0x4172('0x8'));});});}for(const _0x2d612c of[_0x4172('0x71'),_0x4172('0x43')]){const _0x4719f2=_0x2d612c['substr'](0xb),_0x1f9aad=_0x4719f2['toLowerCase'](),_0x2afeed=_0x1f9aad['substr'](0x0,0x3)+_0x4172('0x1d'),_0x52a484=_0x4172('0x3')+_0x4719f2,_0x1eab56='min'+_0x4719f2,_0x206d8d=_0x4172('0x15')+_0x4719f2;_0x5624a3[_0x4172('0x6a')](_0x2d612c,()=>{_0x55590e[_0x4172('0x42')]['change'](_0x47a6ea=>{const _0x552d2f=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x47206c=_0x552d2f[0x0][_0x4172('0x6e')](_0x4172('0x3'));let _0x4a2db4;if('removeTableRow'==_0x2d612c){const _0x3598f3=_0x590140[_0x4172('0x76')](_0x552d2f);_0x4a2db4={'startRow':_0x3598f3[_0x4172('0x5b')],'endRow':_0x3598f3[_0x4172('0x6d')],'includeAllSlots':!0x0};}else{const _0x45487a=_0x590140[_0x4172('0x3d')](_0x552d2f);_0x4a2db4={'startColumn':_0x45487a['first'],'endColumn':_0x45487a[_0x4172('0x6d')],'includeAllSlots':!0x0};}const _0x74f0ff=_0x590140[_0x4172('0x51')](_0x47206c,_0x4a2db4),_0x14dbe8=Array[_0x4172('0x65')](_0x74f0ff)[_0x4172('0x1b')](({cell:_0x784d68})=>_0x784d68),_0x4e28ba=se(_0x14dbe8[_0x4172('0x60')](_0x5cc548=>_0x5cc548[_0x4172('0x5')](_0x2afeed))),_0xda82d8=se(_0x14dbe8[_0x4172('0x60')](_0x5000e1=>!_0x5000e1[_0x4172('0x5')](_0x2afeed)))['map'](_0x6361d6=>_0x47a6ea[_0x4172('0x41')](_0x6361d6)),_0x1fc39e=_0x5624a3[_0x4172('0x5a')](_0xda82d8,_0x52a484);if(_0x1fc39e&&(_0x4172('0x55')==_0x1fc39e['subType']||_0x4172('0x8')==_0x1fc39e[_0x4172('0x3a')])){const _0x1b7e85=this[_0x4172('0x2f')](_0x1fc39e);for(const _0x53c533 of _0x4e28ba){const _0x5e774e=_0x47a6ea[_0x4172('0x41')](_0x53c533),_0x404025=_0x590140['getCellLocation'](_0x53c533),_0x1fcabc=_0x53c533[_0x4172('0x72')](_0x2afeed)-0x1,_0x57d95f=_0x1b7e85[_0x1eab56],_0x205376=_0x1b7e85[_0x206d8d];_0x57d95f<=_0x404025[_0x1f9aad]&&_0x404025[_0x1f9aad]+_0x1fcabc<=_0x205376&&_0x1fc39e[_0x4172('0x22')](_0x5e774e);}}});});}function _0x10fe41(_0x24de2b){const _0x526b5a=Array[_0x4172('0x65')](_0x1b0dd9[_0x4172('0x56')]())[_0x4172('0x1b')](_0x389727=>_0x94bbe7[_0x4172('0x49')](_0x389727));_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x1ff928=>{const _0x328736=_0x1ff928[_0x4172('0x80')];_0x24de2b=_0x24de2b['filter'](_0x5bc756=>_0x4172('0x32')!=_0x5bc756[_0x4172('0x31')][_0x4172('0x4')]),_0x1ff928['setSelection'](_0x24de2b),_0x55590e[_0x4172('0x18')][_0x4172('0x30')](_0x4172('0x71'))['refresh'](),_0x55590e['execute'](_0x4172('0x71'),{'forceDefaultExecution':!0x0}),_0x55590e[_0x4172('0x42')][_0x4172('0x5e')](()=>{_0x55590e['model']['enqueueChange'](_0x328736,_0xcd6bed=>{const _0x9b3a96=_0x526b5a['filter'](_0x313367=>_0x4172('0x32')!=_0x313367[_0x4172('0x31')][_0x4172('0x4')]);_0x9b3a96[_0x4172('0x45')]>0x0&&_0xcd6bed[_0x4172('0x7b')](_0x9b3a96);for(const _0x4cdfbf of _0x526b5a)_0x4cdfbf['detach']();});});});}function _0x3c664b(_0x548fb6){_0x55590e['model']['change'](_0x102975=>{const _0x5d21d8=Array[_0x4172('0x65')](_0x1b0dd9['getRanges']())[_0x4172('0x1b')](_0x287fa2=>_0x94bbe7[_0x4172('0x49')](_0x287fa2)),_0x27aca2=[];for(const _0x1f2667 of _0x548fb6)for(const _0x40d313 of _0x1f2667[_0x4172('0x35')]({'shallow':!0x0}))_0x27aca2[_0x4172('0x83')](_0x40d313);for(const _0x2e62d0 of _0x27aca2)'$graveyard'!=_0x2e62d0['root']['rootName']&&(_0x102975[_0x4172('0x7b')](_0x102975[_0x4172('0x4f')](_0x2e62d0,0x0)),_0x55590e[_0x4172('0x18')]['get'](_0x4172('0x43'))[_0x4172('0x9')](),_0x55590e[_0x4172('0x86')](_0x4172('0x43'),{'forceDefaultExecution':!0x0}));const _0x38eeb0=_0x5d21d8[_0x4172('0x60')](_0x3c33e6=>_0x4172('0x32')!=_0x3c33e6[_0x4172('0x31')][_0x4172('0x4')]);_0x38eeb0[_0x4172('0x45')]>0x0&&_0x102975['setSelection'](_0x38eeb0);for(const _0x3a5c2d of _0x5d21d8)_0x3a5c2d[_0x4172('0x6')]();});}function _0x4d46e5(_0x109d8a,_0x1d61c0){return _0x1d61c0['every'](_0x9fa9f7=>_0x109d8a[_0x4172('0x4c')](_0x493160=>_0x493160[_0x4172('0x6f')]['isEqual'](_0x9fa9f7[_0x4172('0xc')])||_0x9fa9f7[_0x4172('0x6f')][_0x4172('0x36')](_0x493160[_0x4172('0xc')])));}function _0x5cae05(_0x114589,_0x2c1427){return _0x114589['some'](_0x5082cc=>_0x2c1427['some'](_0x10bc6b=>_0x5082cc['end'][_0x4172('0x77')](_0x10bc6b[_0x4172('0xc')])));}_0x55590e[_0x4172('0x4e')]['downcastDispatcher']['on'](_0x4172('0x10'),(_0x42e4ce,_0xb92efe,_0xd30272)=>{if(!_0xd30272[_0x4172('0x7d')]['showSuggestionHighlights'])return;const _0x5875d0=_0xb92efe[_0x4172('0x3e')];if(!_0x5875d0)return;const _0x2c0400=_0xd30272[_0x4172('0x82')]['toViewElement'](_0x5875d0);function _0x4b3533(_0x5359ea){return Array[_0x4172('0x1c')](_0x5359ea)?_0x5359ea:[_0x5359ea];}_0x2c0400&&_0x4172('0x74')===_0x5875d0[_0x4172('0x53')]&&_0x2e7393(_0x2c0400,_0xd30272[_0x4172('0x6c')],(_0x52b5ff,_0xefc195,_0x31bfd2)=>_0x31bfd2[_0x4172('0x28')](_0x4b3533(_0xefc195[_0x4172('0x67')]),_0x52b5ff),(_0x5cfd0f,_0x5e0f3e,_0x5113dc)=>_0x5113dc[_0x4172('0x84')](_0x4b3533(_0x5e0f3e['classes']),_0x5cfd0f));},{'priority':'highest'}),_0x5624a3['_descriptionFactory'][_0x4172('0xb')](_0x2f65fb=>{if('insertion'!=_0x2f65fb[_0x4172('0x34')]&&'deletion'!=_0x2f65fb[_0x4172('0x34')])return;const _0x2fb36e=_0x2f65fb[_0x4172('0x52')]();if(null!=_0x2fb36e&&_0x2fb36e['is']('element',_0x4172('0x3'))){if(_0x4172('0x2')==_0x2f65fb[_0x4172('0x34')]){const _0x26dd0f=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x45aa69=>_0x45aa69['is']('$textProxy'))[_0x4172('0x1b')](_0x668c10=>_0x668c10[_0x4172('0x4e')]);if(_0x26dd0f[_0x4172('0x45')])return{'type':'insertion','content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x33'),'\x22'+_0x26dd0f[_0x4172('0x6b')]('\x20')+'\x22'))};}if(_0x4172('0x37')==_0x2f65fb[_0x4172('0x34')]){const _0x720394=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x1524c1=>_0x1524c1['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x511fda=>_0x511fda[_0x4172('0x4e')]);if(_0x720394[_0x4172('0x45')])return{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x720394[_0x4172('0x6b')]('\x20')+'\x22'))};}}}),_0x5624a3[_0x4172('0x2e')]['registerDescriptionCallback'](_0x23d707=>{if('tableRow'==_0x23d707['subType']){const _0x2e741f=_0x23d707['getItems']()[_0x4172('0x60')](_0x430c42=>_0x430c42['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x8e1016=>_0x8e1016[_0x4172('0x4e')]),_0x209f28=this[_0x4172('0x2f')](_0x23d707),_0x5b8d49=_0x209f28[_0x4172('0x11')]-_0x209f28[_0x4172('0x85')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};if('deletion'==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};}if(_0x4172('0x8')==_0x23d707[_0x4172('0x3a')]){const _0x26a3fe=_0x23d707[_0x4172('0x35')]()[_0x4172('0x60')](_0xe05c0e=>_0xe05c0e['is']('$textProxy'))[_0x4172('0x1b')](_0x52fda3=>_0x52fda3[_0x4172('0x4e')]),_0x28dd30=this['_getSuggestionCoords'](_0x23d707),_0x583cf4=_0x28dd30[_0x4172('0x14')]-_0x28dd30[_0x4172('0x79')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x26a3fe['length']?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};if(_0x4172('0x37')==_0x23d707[_0x4172('0x34')])return _0x26a3fe[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};}}),_0x5624a3['_suggestionFactory']['registerCustomCallback']('insertion',_0x4172('0x55'),_0x4172('0xe'),_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x55'),'accept',_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0xe'),_0x3c664b),_0x5624a3['_suggestionFactory'][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x8'),_0x4172('0x7f'),_0x3c664b),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')]('deletion','tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),_0x4172('0x55'),_0x4172('0x6b'),_0x5cae05),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),'tableRow',_0x4172('0x6b'),_0x5cae05);}['_acceptFormatSuggestionCallbackFactory'](){const _0x40d586=this[_0x4172('0x87')],_0x3b0ed1=_0x40d586[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x2c')];return(_0x1cc606,_0x584f8f)=>{_0x40d586[_0x4172('0x42')][_0x4172('0x2a')](_0x12e646=>{const {commandName:_0x100e0a,commandParams:_0x5798af}=_0x584f8f;let _0x4d45ec=_0x1cc606[0x0][_0x4172('0x6f')][_0x4172('0x25')];_0x5798af&&_0x5798af[0x0]&&!0x1===_0x5798af[0x0][_0x4172('0x54')]&&(_0x4d45ec=_0x1cc606[0x0]['start'][_0x4172('0x27')]);const _0x4b6f8b=_0x12e646[_0x4172('0x64')](_0x4d45ec);if(_0x4172('0x32')==_0x4b6f8b[_0x4172('0x31')][_0x4172('0x4')])return;const _0x440052=Array[_0x4172('0x65')](_0x3b0ed1['getRanges']())[_0x4172('0x1b')](_0x156216=>_0x94bbe7['fromRange'](_0x156216));_0x12e646['setSelection'](_0x4b6f8b),_0x40d586[_0x4172('0x18')]['get'](_0x100e0a)[_0x4172('0x9')](),_0x5798af[_0x4172('0x83')]({'forceDefaultExecution':!0x0}),_0x40d586[_0x4172('0x86')](_0x100e0a,..._0x5798af);const _0x3d5540=_0x440052[_0x4172('0x60')](_0x33b2ce=>_0x4172('0x32')!=_0x33b2ce['root'][_0x4172('0x4')]);_0x3d5540[_0x4172('0x45')]>0x0&&_0x12e646[_0x4172('0x7b')](_0x3d5540);for(const _0x4c0d02 of _0x440052)_0x4c0d02[_0x4172('0x6')]();});};}['_getCoordsForCells'](_0x35a764){const _0x1152a2=this[_0x4172('0x87')][_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x2b'));let _0x2f3f5c=Number[_0x4172('0x57')],_0xa36cf4=Number['MIN_SAFE_INTEGER'],_0x35e2d6=Number[_0x4172('0x57')],_0x46c290=Number[_0x4172('0x4d')];for(const _0x532651 of _0x35a764){if('$graveyard'==_0x532651[_0x4172('0x31')][_0x4172('0x4')])continue;const {row:_0x37cdfb,column:_0x274dd1}=_0x1152a2['getCellLocation'](_0x532651),_0x591b05=_0x532651[_0x4172('0x5')](_0x4172('0x7'))?_0x532651['getAttribute'](_0x4172('0x7'))-0x1:0x0,_0x1297cb=_0x532651[_0x4172('0x5')](_0x4172('0xf'))?_0x532651[_0x4172('0x72')](_0x4172('0xf'))-0x1:0x0;_0x2f3f5c=_0x37cdfb<_0x2f3f5c?_0x37cdfb:_0x2f3f5c,_0xa36cf4=_0x37cdfb+_0x591b05>_0xa36cf4?_0x37cdfb+_0x591b05:_0xa36cf4,_0x35e2d6=_0x274dd1<_0x35e2d6?_0x274dd1:_0x35e2d6,_0x46c290=_0x274dd1+_0x1297cb>_0x46c290?_0x274dd1+_0x1297cb:_0x46c290;}return{'minRow':_0x2f3f5c,'maxRow':_0xa36cf4,'minColumn':_0x35e2d6,'maxColumn':_0x46c290};}['_setupColumnsRowsFixing'](){const _0x5431aa=this[_0x4172('0x87')],_0xb90b45=_0x5431aa[_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x7e')),_0x1b35b6=_0x5431aa['plugins'][_0x4172('0x30')]('TableUtils');_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['on'](_0x4172('0x1a'),()=>{const _0xb8060d=Array['from'](_0x5431aa[_0x4172('0x42')]['document'][_0x4172('0x20')][_0x4172('0x70')]());for(const {name:_0x40771b,data:_0x439561}of _0xb8060d){const {group:_0x43d1fe,id:_0x171c5a,subType:_0x3e2308}=_0xb90b45['_splitMarkerName'](_0x40771b);if('suggestion'!=_0x43d1fe)continue;if(null!=_0x439561[_0x4172('0x3b')])continue;const _0x4bef08=_0xb90b45[_0x4172('0x75')](_0x171c5a);this[_0x4172('0x13')][_0x4172('0x78')](_0x3e2308)&&this[_0x4172('0x40')][_0x4172('0x7a')](_0x4bef08);}},{'priority':_0x4172('0x3c')});const _0x1b8901=(_0x281ccf,_0x454be2)=>{let _0xaaabb=!0x1;const _0x299126=_0x454be2['createRangeOn'](_0x281ccf),_0x115a26=_0x281ccf['findAncestor'](_0x4172('0x3')),_0x32892b=_0x1b35b6[_0x4172('0x44')](_0x281ccf);for(const _0x154d7f of this[_0x4172('0x40')]){const _0x2824fd=_0x154d7f[_0x4172('0x3a')],_0x29e0d1=_0x2824fd['startsWith'](_0x4172('0x21')),_0x1406a0=_0x2824fd[_0x4172('0x23')](_0x29e0d1?0xa:0x5),_0x14f05d=_0x1406a0[_0x4172('0x29')](),_0x4bcb5e=_0x14f05d[_0x4172('0x23')](0x0,0x3)+_0x4172('0x1d'),_0x924eba=_0x4172('0x1e')+_0x1406a0,_0x6eec35=_0x4172('0x15')+_0x1406a0;if(!_0x154d7f[_0x4172('0x73')])continue;if(_0x115a26!=_0x154d7f[_0x4172('0x0')]()[_0x4172('0xc')][_0x4172('0x6e')]('table'))continue;if(_0x154d7f[_0x4172('0x17')](_0x299126))continue;const _0x79186b=_0x281ccf[_0x4172('0x5')](_0x4bcb5e)?_0x281ccf['getAttribute'](_0x4bcb5e)-0x1:0x0,_0x5aa5de=this['_getSuggestionCoords'](_0x154d7f),_0x2bfa50=_0x5aa5de[_0x924eba],_0x47ecd9=_0x5aa5de[_0x6eec35];_0x2bfa50<=_0x32892b[_0x14f05d]&&_0x32892b[_0x14f05d]+_0x79186b<=_0x47ecd9&&(_0x154d7f[_0x4172('0x22')](_0x299126),_0xaaabb=!0x0);}return _0xaaabb;};_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['registerPostFixer'](_0x10a22d=>{let _0x1f1281=!0x1;for(const _0xb714b2 of _0x5431aa[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x20')][_0x4172('0x68')]())if(_0x4172('0x46')==_0xb714b2['type']){if('tableRow'==_0xb714b2[_0x4172('0x53')])for(const _0x243598 of _0xb714b2[_0x4172('0x3f')][_0x4172('0x27')][_0x4172('0x7c')]())_0x1f1281=_0x1f1281||_0x1b8901(_0x243598,_0x10a22d);else _0x4172('0x74')==_0xb714b2[_0x4172('0x53')]&&(_0x1f1281=_0x1f1281||_0x1b8901(_0xb714b2[_0x4172('0x3f')]['nodeAfter'],_0x10a22d));}return _0x1f1281;});}[_0x4172('0x2f')](_0x56ae3f){return this['_getCoordsForCells'](_0x56ae3f['getRanges']()[_0x4172('0x1b')](_0x240edc=>_0x240edc['start'][_0x4172('0x27')]));}}function se(_0x422799){return Array[_0x4172('0x65')](new Set(_0x422799)[_0x4172('0x24')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x472a=['TableCaptionEditing','plugins','afterInit','enableCommand','requires','get','toggleTableCaption','editor','has','TrackChangesEditing'];(function(_0x4f2343,_0x472a12){const _0x43baa2=function(_0x18adf5){while(--_0x18adf5){_0x4f2343['push'](_0x4f2343['shift']());}};_0x43baa2(++_0x472a12);}(_0x472a,0x1b0));const _0x43ba=function(_0x4f2343,_0x472a12){_0x4f2343=_0x4f2343-0x0;let _0x43baa2=_0x472a[_0x4f2343];return _0x43baa2;};import{Plugin as _0x411db4}from'ckeditor5/src/core';import _0x2aca96 from'./table';export default class vt extends _0x411db4{static get[_0x43ba('0x2')](){return[_0x2aca96];}[_0x43ba('0x0')](){const _0x540a8c=this[_0x43ba('0x5')];if(!_0x540a8c[_0x43ba('0x9')][_0x43ba('0x6')](_0x43ba('0x8')))return;_0x540a8c[_0x43ba('0x9')][_0x43ba('0x3')](_0x43ba('0x7'))[_0x43ba('0x1')](_0x43ba('0x4'));}}
23
+ const _0x3de1=['has','afterInit','TrackChangesEditing','enableCommand','get','plugins','editor'];(function(_0x151dda,_0x3de1dc){const _0x5b476a=function(_0x48f365){while(--_0x48f365){_0x151dda['push'](_0x151dda['shift']());}};_0x5b476a(++_0x3de1dc);}(_0x3de1,0xbc));const _0x5b47=function(_0x151dda,_0x3de1dc){_0x151dda=_0x151dda-0x0;let _0x5b476a=_0x3de1[_0x151dda];return _0x5b476a;};import{Plugin as _0x1611b3}from'ckeditor5/src/core';import _0x10a100 from'./table';export default class vt extends _0x1611b3{static get['requires'](){return[_0x10a100];}[_0x5b47('0x2')](){const _0x41742d=this[_0x5b47('0x0')];if(!_0x41742d[_0x5b47('0x6')][_0x5b47('0x1')]('TableCaptionEditing'))return;_0x41742d[_0x5b47('0x6')][_0x5b47('0x5')](_0x5b47('0x3'))[_0x5b47('0x4')]('toggleTableCaption');}}