@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230711.0 → 0.0.0-nightly-20230712.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 _0x4095=['getSuggestionCallback','type','tablePasteRow','selection','root','from','setAttribute','options','reduce','elementToElement','_getCoordsForCells','paragraph','deletion','differ','getSelectionAffectedTableCells','fill','nodeAfter','move','conversion','_suggestionFactory','_tablePostFixingSubtypes','length','low','for','return','getTableIfOnlyTableInContent','nextSibling','clipboardOutput','element','setAttributes','redo','first','dataDowncast','requires','editor','createElement','tableCellVerticalAlignment','map','removeMarker','findAncestor','entries','locale','getRange','getAllAdjacentSuggestions','suggestion:formatBlock:tablePasteCell','getRows','registerDescriptionCallback','get','formatBlock','name','model','_replaceTableSlotCell','Users','showSuggestionHighlights','_splitMarkerName','end','last','subType','content','tablePasteColumn','$graveyard','getContainedElement','_isForcedDefaultExecutionBlock','tablePaste','join','add','TableClipboard','tableCellBorderStyle','removeMarkers','getChild','start','insertColumns','tableCell','unwrap','fromEntries','TableUtils','isInContent','change','markMultiRangeDeletion','tableCellHorizontalAlignment','set','document','getSuggestions','table','_descriptionFactory','documentSelection','insertion','tableCellBorderColor','listenTo','stop','createRangeIn','isEqual','ck-suggestion-marker-insertion','commands','getMarkers','isEmpty','suggestion','registerPostFixer','keys','tableCellSuggestion','has','columnInsertionIndexes','previous','includes','getRowIndexes','createRangeOn','registerCustomCallback','activeMarkers','cells','accept','tablePasteChainId','insertContent','getChangedMarkers','rootName','rowInsertionRanges','previousSibling','find','schema','oldRange','value','remove','markerToHighlight','position','cell','rowInsertionIndexes','removeRows','markerName','register','ck-suggestion-marker','suggestionUnloaded','column','createPositionBefore','wrap','markMultiRangeInsertion','insert','discard','tablePasteCell','removeColumns','newRange','tableCellBackgroundColor','attributes','editing','getShiftedBy','getRanges','suggestion-td','high','TrackChangesEditing','_createdBatches','afterInit','plugins','updateMarker','markMultiRangeBlockFormat','createTableWalker','push','trackChanges','insertRows','filter','row','getChildren','markerAttributes','startsWith'];(function(_0x28fcc8,_0x40953c){const _0xf82212=function(_0x1d7580){while(--_0x1d7580){_0x28fcc8['push'](_0x28fcc8['shift']());}};_0xf82212(++_0x40953c);}(_0x4095,0x110));const _0xf822=function(_0x28fcc8,_0x40953c){_0x28fcc8=_0x28fcc8-0x0;let _0xf82212=_0x4095[_0x28fcc8];return _0xf82212;};import{getTranslation as _0x48c1fc}from'../utils/common-translations';import{Plugin as _0x5c1e43}from'ckeditor5/src/core';import{uid as _0x1b030c,priorities as _0xebabc8}from'ckeditor5/src/utils';import _0x3a9bb2 from'./table';const le=['tableCellBorderWidth',_0xf822('0x89'),_0xf822('0x75'),_0xf822('0x81'),_0xf822('0x56'),_0xf822('0x1c'),'tableCellPadding'],ae=Object['fromEntries'](le[_0xf822('0x57')](_0xbab6e6=>[_0xbab6e6,null]));export default class kt extends _0x5c1e43{static get[_0xf822('0x53')](){return[_0x3a9bb2];}[_0xf822('0x25')](){const _0x57afb6=this[_0xf822('0x54')];if(!_0x57afb6[_0xf822('0x26')][_0xf822('0x96')](_0xf822('0x74')))return;const _0xd6882a=_0x57afb6['plugins'][_0xf822('0x61')](_0xf822('0x23')),_0xee7190=_0x57afb6[_0xf822('0x26')][_0xf822('0x61')](_0xf822('0x7d')),_0x18cba9=_0x57afb6[_0xf822('0x26')][_0xf822('0x61')](_0x3a9bb2),_0x3410be=_0x57afb6[_0xf822('0x26')]['get'](_0xf822('0x74'));_0x18cba9[_0xf822('0x46')][_0xf822('0x2a')](_0xf822('0x34'),_0xf822('0x6d')),_0x57afb6[_0xf822('0x64')][_0xf822('0x6')][_0xf822('0x10')](_0xf822('0x95'),{'allowIn':'tableCell','allowContentOf':_0xf822('0x7a'),'isLimit':!0x0}),_0x57afb6['conversion'][_0xf822('0x3b')]({'model':'tableCellSuggestion','view':_0xf822('0x21')});let _0x1fcd3f=null;_0x57afb6[_0xf822('0x64')]['on'](_0xf822('0x0'),(_0x1d8888,_0x1fd8b0)=>{const [_0x264751,_0x1bbaa2]=_0x1fd8b0,_0x299ed6=_0x1fd8b0[_0x1fd8b0[_0xf822('0x47')]-0x1];_0x299ed6&&_0x299ed6['forceDefaultExecution']||_0xd6882a[_0xf822('0x70')]||this['editor'][_0xf822('0x8f')][_0xf822('0x61')](_0xf822('0x2b'))[_0xf822('0x8')]&&function(_0x407fd9,_0xb45258,_0x21fe07,_0x248284,_0x1130bb){if(_0xb45258&&!_0xb45258['is'](_0xf822('0x87')))return!0x1;const _0xf3d2e8=_0x1130bb[_0xf822('0x4b')](_0x407fd9,_0x21fe07);if(!_0xf3d2e8||!fe(_0xf3d2e8,void 0x0,_0x248284))return!0x1;const _0x2eb33b=_0x248284[_0xf822('0x40')](_0x21fe07['document'][_0xf822('0x35')]);if(!_0x2eb33b[_0xf822('0x47')])return!0x1;const _0x376f3f=_0x2eb33b[0x0][_0xf822('0x59')]('table'),_0x5d77f0=_0x248284[_0xf822('0x9a')](_0x2eb33b),_0x134127=_0x248284['getColumnIndexes'](_0x2eb33b),_0x2116ce={'startRow':_0x5d77f0['first'],'endRow':_0x5d77f0[_0xf822('0x6a')],'startColumn':_0x134127[_0xf822('0x51')],'endColumn':_0x134127[_0xf822('0x6a')]};return 0x1==_0x2eb33b['length']&&(_0x2116ce['endRow']+=_0x248284[_0xf822('0x5f')](_0xf3d2e8)-0x1,_0x2116ce['endColumn']+=_0x248284['getColumns'](_0xf3d2e8)-0x1),fe(_0x376f3f,_0x2116ce,_0x248284);}(_0x264751,_0x1bbaa2,_0x57afb6[_0xf822('0x64')],_0xee7190,_0x3410be)&&(_0x1d8888[_0xf822('0x8b')](),_0x1fcd3f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x57afb6[_0xf822('0x64')][_0xf822('0x7f')](()=>{_0x57afb6[_0xf822('0x64')][_0xf822('0x0')](_0x1fd8b0[0x0],_0x1fd8b0[0x1],_0x1fd8b0[0x2],{'forceDefaultExecution':!0x0});const _0x53e331=_0x1b030c(),{rowInsertionRanges:_0x427bb1,columnInsertionRanges:_0x5c8595,insertionRanges:_0x33f5dc,deletionRanges:_0x87312e,cells:_0x331a67}=_0x1fcd3f;_0x427bb1[_0xf822('0x47')]&&_0xd6882a[_0xf822('0x16')](_0x427bb1,_0xf822('0x34'),{'tablePasteChainId':_0x53e331}),_0x5c8595[_0xf822('0x47')]&&_0xd6882a['markMultiRangeInsertion'](_0x5c8595,'tablePasteColumn',{'tablePasteChainId':_0x53e331}),_0x33f5dc[_0xf822('0x47')]&&_0xd6882a[_0xf822('0x16')](_0x33f5dc,_0xf822('0x71'),{'tablePasteChainId':_0x53e331,'skipNestingCheck':!0x0}),_0x87312e[_0xf822('0x47')]&&_0xd6882a[_0xf822('0x80')](_0x87312e,'tablePaste',{'tablePasteChainId':_0x53e331,'skipNestingCheck':!0x0});const _0x1661f5=_0xd6882a[_0xf822('0x28')](_0x331a67['map'](({element:_0x584201})=>_0x584201),{'formatGroupId':_0x1b030c()},[],_0xf822('0x19'),{'tablePasteChainId':_0x53e331});if(_0x1661f5){const _0x2eceda=_0x1661f5[_0xf822('0x90')](),_0x3e7df3=[];for(const {element:_0x5cd3a9,attributes:_0x5a4ddd}of _0x331a67){if(!_0x5a4ddd)continue;const _0x1352f0=_0x57afb6['model'][_0xf822('0x9b')](_0x5cd3a9),_0x36e6ab=_0x2eceda['find'](_0x3a579c=>_0x3a579c[_0xf822('0x5c')]()['isEqual'](_0x1352f0));_0x36e6ab&&_0x3e7df3[_0xf822('0x2a')]([_0x36e6ab[_0xf822('0x63')],_0x5a4ddd]);}_0x3e7df3['length']&&_0x1661f5[_0xf822('0x38')](_0xf822('0x30'),Object[_0xf822('0x7c')](_0x3e7df3));}_0x1fcd3f=null;}));},{'priority':_0xebabc8[_0xf822('0x22')]+0xa}),_0x57afb6[_0xf822('0x26')][_0xf822('0x61')](_0xf822('0x74'))['on'](_0xf822('0x65'),(_0x41657e,_0x1fe272)=>{const [_0xe56baa,_0x5d1830,,_0x1eafc7]=_0x1fe272;if(!_0x1fcd3f)return;_0x41657e['stop']();const _0xbc4abf=_0xe56baa[_0xf822('0xc')],_0x52c7b9=_0x5d1830,_0x285ced=ce(_0xbc4abf),_0x5a50fe=ce(_0x52c7b9);_0x41657e[_0xf822('0x4a')]=_0xbc4abf;let _0x506422=null,_0x2685f3=null;if(_0x5a50fe||_0x285ced){if(_0x285ced&&!_0x5a50fe){_0x1eafc7[_0xf822('0x9')](_0xbc4abf[_0xf822('0x77')](0x0));for(const _0x30127a of Array['from'](_0x52c7b9[_0xf822('0x2f')]()))_0x1eafc7[_0xf822('0x17')](_0x30127a,_0xbc4abf,_0xf822('0x69'));const _0x444029=_0x1fcd3f[_0xf822('0xd')]['includes'](_0xe56baa[_0xf822('0x2e')]),_0x29241f=_0x1fcd3f[_0xf822('0x97')][_0xf822('0x99')](_0xe56baa[_0xf822('0x13')]);_0x444029||_0x29241f||(_0x506422=_0x1eafc7[_0xf822('0x8c')](_0xbc4abf));}else _0x5a50fe&&!_0x285ced&&(_0x2685f3=_0x1eafc7[_0xf822('0x8c')](_0xbc4abf));}else{const _0xacb8df=_0x1eafc7['createElement'](_0xf822('0x95')),_0x49da29=_0x1eafc7[_0xf822('0x55')](_0xf822('0x95'));_0x1eafc7[_0xf822('0x15')](_0x1eafc7[_0xf822('0x8c')](_0xbc4abf),_0x49da29),_0x1eafc7['insert'](_0xacb8df,_0xbc4abf,0x0);for(const _0x10d4da of Array[_0xf822('0x37')](_0x52c7b9[_0xf822('0x2f')]()))_0x1eafc7['insert'](_0x10d4da,_0xacb8df,_0xf822('0x69'));_0x506422=_0x1eafc7[_0xf822('0x9b')](_0xacb8df),_0x2685f3=_0x1eafc7[_0xf822('0x9b')](_0x49da29);}const _0x4862de=Array[_0xf822('0x37')](_0x52c7b9['getAttributes']())[_0xf822('0x2d')](([_0x1b3820])=>le[_0xf822('0x99')](_0x1b3820));_0x1fcd3f[_0xf822('0x9e')]['push']({'element':_0xbc4abf,'attributes':_0x4862de[_0xf822('0x47')]?Object[_0xf822('0x7c')](_0x4862de):null}),_0x506422&&_0x1fcd3f['insertionRanges'][_0xf822('0x2a')](_0x506422),_0x2685f3&&_0x1fcd3f['deletionRanges'][_0xf822('0x2a')](_0x2685f3);},{'priority':_0xf822('0x22')}),_0xee7190['on'](_0xf822('0x79'),(_0x25a455,_0x1a5c6c)=>{const [_0x149b4d,_0x556f3c={}]=_0x1a5c6c;if(!_0x1fcd3f)return;const _0x2ad3be=_0x556f3c['at']||0x0,_0x285dd4=_0x556f3c['columns']||0x1;_0x1fcd3f['columnInsertionIndexes']=new Array(_0x285dd4)[_0xf822('0x41')](_0x2ad3be)[_0xf822('0x57')]((_0x3bb667,_0xbee87e)=>_0x3bb667+_0xbee87e);for(const {cell:_0x2c6d87}of _0xee7190[_0xf822('0x29')](_0x149b4d,{'startColumn':_0x2ad3be,'endColumn':_0x2ad3be+_0x285dd4-0x1}))_0x1fcd3f['columnInsertionRanges']['push'](_0x57afb6[_0xf822('0x64')][_0xf822('0x9b')](_0x2c6d87));},{'priority':_0xf822('0x48')}),_0xee7190['on'](_0xf822('0x2c'),(_0x8c0ae8,_0x264b2e)=>{const [_0x4f6c8a,_0x26bcd={}]=_0x264b2e;if(!_0x1fcd3f)return;const _0x1c39dc=_0x26bcd['at']||0x0,_0x3b24c1=_0x26bcd['rows']||0x1;_0x1fcd3f['rowInsertionIndexes']=new Array(_0x3b24c1)[_0xf822('0x41')](_0x1c39dc)[_0xf822('0x57')]((_0x3991ef,_0x4d200a)=>_0x3991ef+_0x4d200a);for(const {cell:_0x5791ba}of _0xee7190[_0xf822('0x29')](_0x4f6c8a,{'startRow':_0x1c39dc,'endRow':_0x1c39dc+_0x3b24c1-0x1}))_0x1fcd3f[_0xf822('0x3')]['push'](_0x57afb6[_0xf822('0x64')][_0xf822('0x9b')](_0x5791ba));},{'priority':_0xf822('0x48')}),_0xd6882a[_0xf822('0x86')][_0xf822('0x60')](_0x3b0259=>{if(_0x3b0259['subType']&&_0x3b0259[_0xf822('0x6b')][_0xf822('0x31')](_0xf822('0x71')))return _0x3b0259[_0xf822('0x98')]?{}:{'type':_0xf822('0x88'),'content':_0x48c1fc(_0x57afb6[_0xf822('0x5b')],'*Replace\x20table\x20cells*')};});const _0x51205e=()=>{};for(const _0x162998 of[_0xf822('0x71'),_0xf822('0x6d'),'tablePasteRow',_0xf822('0x19')])_0xd6882a[_0xf822('0x45')][_0xf822('0x9c')](_0xf822('0x88'),_0x162998,_0xf822('0x72'),_0x51205e),_0xd6882a[_0xf822('0x45')][_0xf822('0x9c')](_0xf822('0x3e'),_0x162998,_0xf822('0x72'),_0x51205e);_0xd6882a['_suggestionFactory'][_0xf822('0x9c')](_0xf822('0x62'),_0xf822('0x19'),_0xf822('0x18'),_0x51205e),_0xd6882a[_0xf822('0x45')][_0xf822('0x9c')](_0xf822('0x62'),_0xf822('0x19'),'accept',(_0x46d889,_0x3c94e5,_0x39e921)=>{const _0x1a67f8=_0x46d889[_0xf822('0x57')](_0x4c55a1=>_0x4c55a1['getContainedElement']())[_0xf822('0x2d')](_0xaf812f=>_0xaf812f),_0xbfa45e=new Map(_0x1a67f8['map'](_0x3c2b39=>[_0x3c2b39,null]));if(_0x1fcd3f)for(const {element:_0x3e4a1b,attributes:_0x340774}of _0x1fcd3f[_0xf822('0x9e')])_0x340774&&_0xbfa45e['set'](_0x3e4a1b,_0x340774);else{if(_0x39e921&&_0x39e921['markerAttributes'])for(const [_0x4eebf4,_0x50b98d]of Object[_0xf822('0x5a')](_0x39e921['markerAttributes'])){const _0x26706a=_0x57afb6[_0xf822('0x64')]['markers'][_0xf822('0x61')](_0x4eebf4),_0xcdc128=_0x26706a?_0x26706a['getRange']()[_0xf822('0x6f')]():null;_0xcdc128&&_0xbfa45e[_0xf822('0x82')](_0xcdc128,_0x50b98d);}}_0x57afb6[_0xf822('0x64')]['change'](_0x111ac0=>{for(const [_0x572f4d,_0x5e3ca1]of _0xbfa45e)_0x111ac0[_0xf822('0x4f')]({...ae,..._0x5e3ca1},_0x572f4d);});});const _0x279e42=(_0x3606fc,_0x15654a)=>{_0xd6882a[_0xf822('0x45')]['registerCustomCallback'](_0x3606fc,_0xf822('0x71'),_0x15654a,(_0x296a23,_0x241153,_0x17480a)=>{_0x57afb6[_0xf822('0x64')]['change'](_0x7f8630=>{const _0x232fd3=[];for(const _0x4d4188 of _0x296a23){const _0x3dc3a7=_0x4d4188[_0xf822('0x78')][_0xf822('0x42')];_0x3dc3a7['is'](_0xf822('0x4e'),_0xf822('0x95'))&&_0x232fd3[_0xf822('0x2a')](_0x3dc3a7);}_0xd6882a[_0xf822('0x45')][_0xf822('0x32')](_0x3606fc,null,_0x15654a)(_0x296a23,_0x241153,_0x17480a);for(const _0x2c7021 of _0x232fd3)_0xf822('0x6e')!=_0x2c7021[_0xf822('0x36')][_0xf822('0x2')]&&_0x7f8630[_0xf822('0x7b')](_0x2c7021);});});};_0x279e42(_0xf822('0x88'),_0xf822('0x9f')),_0x279e42(_0xf822('0x88'),_0xf822('0x18')),_0x279e42(_0xf822('0x3e'),_0xf822('0x9f')),_0x279e42(_0xf822('0x3e'),_0xf822('0x18')),_0xd6882a['_suggestionFactory'][_0xf822('0x9c')](_0xf822('0x88'),_0xf822('0x34'),_0xf822('0x18'),_0x2697a0=>{const _0x251158=_0x2697a0['map'](_0x5138d8=>_0x5138d8['getContainedElement']()),_0x473d0a=_0x251158[0x0][_0xf822('0x59')](_0xf822('0x85')),{minRow:_0x2ed61e,maxRow:_0x53a6a6}=_0x18cba9[_0xf822('0x3c')](_0x251158);_0xee7190[_0xf822('0xe')](_0x473d0a,{'at':_0x2ed61e,'rows':_0x53a6a6-_0x2ed61e+0x1});}),_0xd6882a[_0xf822('0x45')]['registerCustomCallback'](_0xf822('0x88'),_0xf822('0x6d'),'discard',_0x35bad3=>{const _0x6d9a4e=_0x35bad3[_0xf822('0x57')](_0xb5a169=>_0xb5a169[_0xf822('0x6f')]()),_0x50ee70=_0x6d9a4e[0x0][_0xf822('0x59')](_0xf822('0x85')),{minColumn:_0x21bdb5,maxColumn:_0x26c5b4}=_0x18cba9['_getCoordsForCells'](_0x6d9a4e);_0xee7190[_0xf822('0x1a')](_0x50ee70,{'at':_0x21bdb5,'columns':_0x26c5b4-_0x21bdb5+0x1});});const _0x376469=(_0x14754d,_0x288fd1)=>{if(!_0x288fd1[_0xf822('0x6b')]||!_0x288fd1[_0xf822('0x6b')][_0xf822('0x31')](_0xf822('0x71')))return;const _0x58dc24=_0x288fd1[_0xf822('0x1d')]['tablePasteChainId'],_0x41d142=_0xd6882a['getSuggestions']()['filter'](_0x1adb72=>_0x1adb72[_0xf822('0x7e')]&&_0x1adb72['attributes']&&_0x1adb72['attributes']['tablePasteChainId']==_0x58dc24);_0x41d142[_0xf822('0x47')]&&_0x288fd1['getAllAdjacentSuggestions']()['length']!=_0x41d142['length']&&_0x41d142[_0xf822('0x3a')]((_0x2e123d,_0xd6c943)=>(_0x2e123d['next']=_0xd6c943,_0xd6c943[_0xf822('0x98')]=_0x2e123d,_0xd6c943));};function _0xd6475f(_0xb2cbfa,_0x407ab9=!0x0){const {id:_0x59ad00}=_0xd6882a[_0xf822('0x68')](_0xb2cbfa['markerName']),_0x24e174=[_0xf822('0x11'),_0xf822('0x8e')],_0x3151b9=_0xd6882a[_0xf822('0x9d')][_0xf822('0x99')](_0xb2cbfa[_0xf822('0xf')]);return _0x3151b9&&_0x24e174[_0xf822('0x2a')]('ck-suggestion-marker--active'),{'classes':_0x24e174,'attributes':{'data-suggestion':_0x59ad00},'priority':_0x3151b9&&_0x407ab9?0xbc2:0xbb8};}_0xd6882a['on']('suggestionLoaded',_0x376469,{'priority':_0xf822('0x22')}),_0xd6882a['on'](_0xf822('0x12'),_0x376469,{'priority':_0xf822('0x22')}),_0x57afb6[_0xf822('0x64')][_0xf822('0x83')]['registerPostFixer'](()=>{let _0x101747=!0x1;const _0x50101d=Array[_0xf822('0x37')](_0x57afb6['model']['document'][_0xf822('0x3f')][_0xf822('0x1')]());for(const {name:_0x501b17,data:_0x49bce3}of _0x50101d){const {group:_0x527516,type:_0x101e12,id:_0x547784}=_0xd6882a['_splitMarkerName'](_0x501b17);if(_0xf822('0x92')!=_0x527516||_0xf822('0x3e')!=_0x101e12||_0x49bce3[_0xf822('0x7')])continue;if(!_0xd6882a['hasSuggestion'](_0x547784))continue;const _0x48f6bd=_0xd6882a['getSuggestion'](_0x547784)[_0xf822('0x20')](),_0x23e3b6=_0x57afb6[_0xf822('0x26')][_0xf822('0x61')]('Users')['me'];for(const _0x1ba9da of _0xd6882a['getSuggestions']()){if(!_0x1ba9da[_0xf822('0x7e')]||_0x1ba9da['author']!=_0x23e3b6)continue;if(_0xf822('0x62')!=_0x1ba9da[_0xf822('0x33')]||'tablePasteCell'!=_0x1ba9da[_0xf822('0x6b')])continue;if(_0x1ba9da[_0xf822('0x20')]()['every'](_0x3616f1=>_0x48f6bd['some'](_0x4c31b6=>_0x4c31b6['containsRange'](_0x3616f1,!0x0))))for(const _0x575552 of _0x1ba9da[_0xf822('0x5d')]())_0x575552['isInContent']&&(_0x575552[_0xf822('0x18')](),_0x101747=!0x0);}}return _0x101747;}),_0x57afb6[_0xf822('0x64')][_0xf822('0x83')][_0xf822('0x93')](_0x58608b=>{const _0x55e5c2=_0x57afb6[_0xf822('0x8f')][_0xf822('0x61')](_0xf822('0x50'));if(!_0x55e5c2||!_0x55e5c2[_0xf822('0x24')][_0xf822('0x96')](_0x58608b['batch']))return!0x1;let _0x228980=!0x1;const _0x47c2c0=_0x57afb6[_0xf822('0x26')][_0xf822('0x61')]('Users')['me'],_0xacd11d=_0x57afb6[_0xf822('0x64')]['document'][_0xf822('0x3f')]['getChanges'](),_0x2ec06b=Array['from'](_0x57afb6[_0xf822('0x64')]['document'][_0xf822('0x3f')]['getChangedMarkers']())[_0xf822('0x2d')](({name:_0x5e963d,data:_0x375fec})=>{const {group:_0x22578d,subType:_0x5a63df,authorId:_0xaf9727}=_0xd6882a['_splitMarkerName'](_0x5e963d);return _0xf822('0x92')==_0x22578d&&_0xf822('0x71')==_0x5a63df&&_0xaf9727==_0x47c2c0['id']&&!_0x375fec['oldRange'];});for(const _0x15c9eb of _0xacd11d){if(_0xf822('0x17')!=_0x15c9eb[_0xf822('0x33')]||'tableCellSuggestion'!=_0x15c9eb[_0xf822('0x63')]||0x1!=_0x15c9eb['length'])continue;const _0x1badb5=_0x58608b['createRange'](_0x15c9eb[_0xf822('0xb')],_0x15c9eb[_0xf822('0xb')][_0xf822('0x1f')](0x1));if(!_0x2ec06b[_0xf822('0x5')](({data:_0x2b9524})=>_0x2b9524[_0xf822('0x1b')][_0xf822('0x8d')](_0x1badb5)))for(const {name:_0x582958,data:_0x3ce799}of _0x2ec06b)if(_0x1badb5['containsRange'](_0x3ce799[_0xf822('0x1b')])){_0x58608b[_0xf822('0x27')](_0x582958,{'range':_0x1badb5}),_0x228980=!0x0;break;}}return _0x228980;}),_0x57afb6[_0xf822('0x64')][_0xf822('0x83')][_0xf822('0x93')](_0x4c56e5=>{let _0x2cb500=!0x1;const _0x1af51f=_0x57afb6['plugins'][_0xf822('0x61')](_0xf822('0x66'))['me'],_0x3e8f73=_0xd6882a[_0xf822('0x84')]()[_0xf822('0x2d')](_0x121c57=>_0x121c57[_0xf822('0x7e')]&&_0x121c57['author']==_0x1af51f),_0x1cdba8=new Set(),_0x1b5a12=new Set();for(const _0x55aba8 of _0x3e8f73)if(_0xf822('0x71')==_0x55aba8[_0xf822('0x6b')])for(const _0x14e969 of _0x55aba8[_0xf822('0x90')]()){const _0x39f0fc=_0x14e969[_0xf822('0x5c')]()[_0xf822('0x6f')]();if(_0x39f0fc){if(_0x39f0fc['is'](_0xf822('0x4e'),_0xf822('0x95'))&&ce(_0x39f0fc)){_0x55aba8[_0xf822('0x58')](_0x14e969[_0xf822('0x63')]),_0x1cdba8[_0xf822('0x73')](_0x39f0fc),_0x2cb500=!0x0;const _0x5a0f4d=_0x39f0fc[_0xf822('0x4c')],_0x2e7402=_0x39f0fc[_0xf822('0x4')],_0x1ca7e5=_0x5a0f4d&&_0x5a0f4d['is']('element',_0xf822('0x95')),_0x4966d3=_0x2e7402&&_0x2e7402['is'](_0xf822('0x4e'),_0xf822('0x95'));_0x1ca7e5&&!_0x1cdba8[_0xf822('0x96')](_0x5a0f4d)&&_0x1b5a12[_0xf822('0x73')](_0x5a0f4d),_0x4966d3&&!_0x1cdba8[_0xf822('0x96')](_0x2e7402)&&_0x1b5a12[_0xf822('0x73')](_0x2e7402);}else _0x39f0fc['is']('element',_0xf822('0x3d'))&&_0x39f0fc['isEmpty']&&(_0x55aba8[_0xf822('0x58')](_0x14e969['name']),_0x2cb500=!0x0);}}else{if('tablePasteCell'==_0x55aba8[_0xf822('0x6b')]){if(!_0x55aba8['attributes']||!_0x55aba8[_0xf822('0x1d')][_0xf822('0xa0')])continue;const _0x20a15b=_0x55aba8[_0xf822('0x1d')][_0xf822('0x30')];if(_0x20a15b&&Object[_0xf822('0x94')](_0x20a15b)[_0xf822('0x47')])continue;const _0x1f067d=_0x55aba8[_0xf822('0x1d')]['tablePasteChainId'];let _0x37c812=!0x0,_0x48fb5b=!0x0;for(const _0xc4d0fb of _0x3e8f73)if(_0xc4d0fb['subType']&&_0xc4d0fb[_0xf822('0x6b')]['startsWith'](_0xf822('0x71'))){if(!_0xc4d0fb[_0xf822('0x1d')]['tablePasteChainId']){_0x48fb5b=!0x1;break;}if(_0xc4d0fb['id']!=_0x55aba8['id']&&_0xc4d0fb['attributes']['tablePasteChainId']==_0x1f067d){_0x37c812=!0x1;break;}}_0x48fb5b&&_0x37c812&&(_0x55aba8[_0xf822('0x76')](),_0x2cb500=!0x0);}}for(const _0x1fe097 of _0x1cdba8)_0x4c56e5[_0xf822('0x9')](_0x1fe097);for(const _0x37c9b3 of _0x1b5a12)_0x4c56e5[_0xf822('0x7b')](_0x37c9b3);return _0x2cb500;}),_0x57afb6[_0xf822('0x44')][_0xf822('0x49')]('editingDowncast')[_0xf822('0xa')]({'model':_0xf822('0x5e'),'view':(_0x46b0b4,_0x38d0c3)=>_0xd6475f(_0x46b0b4),'converterPriority':_0xf822('0x22')}),_0x57afb6['conversion'][_0xf822('0x49')](_0xf822('0x52'))[_0xf822('0xa')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x123a70,_0x18ecea)=>_0x18ecea[_0xf822('0x39')][_0xf822('0x67')]?_0xd6475f(_0x123a70,!0x1):null,'converterPriority':_0xf822('0x22')});const _0x18fee5=_0x57afb6[_0xf822('0x1e')]['view'];this[_0xf822('0x8a')](_0x18fee5[_0xf822('0x83')],_0xf822('0x4d'),(_0x1cb377,_0x424c28)=>{const _0x3e45f4=[];for(const _0x12d754 of _0x18fee5[_0xf822('0x8c')](_0x424c28[_0xf822('0x6c')])['getItems']())_0x12d754['is'](_0xf822('0x4e'),_0xf822('0x21'))&&_0x3e45f4[_0xf822('0x2a')](_0x12d754);_0x18fee5[_0xf822('0x7f')](_0xff27f9=>{for(const _0x369ade of _0x3e45f4)_0xff27f9[_0xf822('0x43')](_0xff27f9['createRangeIn'](_0x369ade),_0xff27f9[_0xf822('0x14')](_0x369ade)),_0xff27f9[_0xf822('0x9')](_0x369ade);});});}}function ce(_0x30cc38){if(_0x30cc38[_0xf822('0x91')])return!0x0;const _0xd73571=_0x30cc38['getChild'](0x0);return _0xd73571['is']('element',_0xf822('0x3d'))&&_0xd73571['isEmpty'];}function fe(_0x416b8f,_0x45d9db={},_0x394d25){for(const {isAnchor:_0x142231,cellHeight:_0x21be09,cellWidth:_0x3653d7}of _0x394d25['createTableWalker'](_0x416b8f,{'includeAllSlots':!0x0,..._0x45d9db}))if(!_0x142231||0x1!=_0x21be09||0x1!=_0x3653d7)return!0x1;return!0x0;}
23
+ const _0x5089=['entries','find','_descriptionFactory','remove','tablePasteColumn','endColumn','previous','tableCellBorderColor','insertionRanges','insertContent','suggestionLoaded','removeColumns','dataDowncast','locale','registerCustomCallback','register','getChild','previousSibling','editingDowncast','map','createRangeIn','_getCoordsForCells','getShiftedBy','getColumnIndexes','getAllAdjacentSuggestions','has','add','row','subType','tableCellHorizontalAlignment','options','join','tablePaste','markerAttributes','fromEntries','createRangeOn','rowInsertionRanges','for','forceDefaultExecution','removeRows','endRow','high','cells','tablePasteCell','discard','tableCellSuggestion','author','redo','document','getSuggestion','some','root','trackChanges','getRange','return','table','requires','newRange','*Replace\x20table\x20cells*','tableCellBackgroundColor','suggestion:formatBlock:tablePasteCell','set','markerToHighlight','TableClipboard','registerPostFixer','setAttributes','commands','ck-suggestion-marker--active','removeMarkers','getSuggestions','suggestion-td','findAncestor','markMultiRangeInsertion','getRows','unwrap','deletion','includes','markMultiRangeDeletion','conversion','differ','filter','listenTo','getChangedMarkers','editor','model','activeMarkers','paragraph','wrap','markerName','columnInsertionIndexes','insert','name','type','Users','attributes','documentSelection','createTableWalker','getTableIfOnlyTableInContent','hasSuggestion','isEmpty','get','_splitMarkerName','createElement','content','isInContent','accept','stop','rowInsertionIndexes','getSuggestionCallback','removeMarker','_isForcedDefaultExecutionBlock','suggestionUnloaded','formatBlock','end','element','deletionRanges','_suggestionFactory','getColumns','tableCellBorderWidth','suggestion','insertion','push','from','position','getMarkers','length','_replaceTableSlotCell','columnInsertionRanges','markMultiRangeBlockFormat','tableCell','oldRange','columns','batch','view','containsRange','plugins','getContainedElement','tablePasteRow','value','getSelectionAffectedTableCells','change','registerDescriptionCallback','startsWith','tablePasteChainId','TrackChangesEditing','first','reduce','selection','low','next','cell','nodeAfter','isEqual','getRowIndexes','_tablePostFixingSubtypes','fill','TableUtils','column'];(function(_0x1e0bfd,_0x5089ed){const _0x4ecbe0=function(_0x311c9c){while(--_0x311c9c){_0x1e0bfd['push'](_0x1e0bfd['shift']());}};_0x4ecbe0(++_0x5089ed);}(_0x5089,0xe2));const _0x4ecb=function(_0x1e0bfd,_0x5089ed){_0x1e0bfd=_0x1e0bfd-0x0;let _0x4ecbe0=_0x5089[_0x1e0bfd];return _0x4ecbe0;};import{getTranslation as _0x16138d}from'../utils/common-translations';import{Plugin as _0x476fac}from'ckeditor5/src/core';import{uid as _0x87425d,priorities as _0x164959}from'ckeditor5/src/utils';import _0x3cafe6 from'./table';const le=[_0x4ecb('0x32'),_0x4ecb('0x61'),'tableCellBorderStyle',_0x4ecb('0x77'),'tableCellVerticalAlignment',_0x4ecb('0x95'),'tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x302ca0=>[_0x302ca0,null]));export default class kt extends _0x476fac{static get[_0x4ecb('0x92')](){return[_0x3cafe6];}['afterInit'](){const _0x164839=this[_0x4ecb('0xf')];if(!_0x164839[_0x4ecb('0x43')][_0x4ecb('0x73')](_0x4ecb('0x99')))return;const _0x6a7ab5=_0x164839['plugins'][_0x4ecb('0x20')](_0x4ecb('0x4c')),_0x576c8e=_0x164839[_0x4ecb('0x43')][_0x4ecb('0x20')](_0x4ecb('0x58')),_0x414cdd=_0x164839[_0x4ecb('0x43')]['get'](_0x3cafe6),_0x4b761c=_0x164839[_0x4ecb('0x43')][_0x4ecb('0x20')](_0x4ecb('0x99'));_0x414cdd[_0x4ecb('0x56')][_0x4ecb('0x35')]('tablePasteRow',_0x4ecb('0x5e')),_0x164839[_0x4ecb('0x10')]['schema'][_0x4ecb('0x69')](_0x4ecb('0x87'),{'allowIn':_0x4ecb('0x3d'),'allowContentOf':_0x4ecb('0x3d'),'isLimit':!0x0}),_0x164839[_0x4ecb('0xa')]['elementToElement']({'model':'tableCellSuggestion','view':_0x4ecb('0x2')});let _0x4d53af=null;_0x164839[_0x4ecb('0x10')]['on'](_0x4ecb('0x63'),(_0x146738,_0x4e417b)=>{const [_0x4839e9,_0x4afdbe]=_0x4e417b,_0x23ae51=_0x4e417b[_0x4e417b['length']-0x1];_0x23ae51&&_0x23ae51[_0x4ecb('0x80')]||_0x6a7ab5[_0x4ecb('0x2a')]||this[_0x4ecb('0xf')][_0x4ecb('0x9c')]['get'](_0x4ecb('0x8e'))[_0x4ecb('0x46')]&&function(_0x2d0cb7,_0x402e9b,_0x4bba10,_0x4361df,_0x57d330){if(_0x402e9b&&!_0x402e9b['is'](_0x4ecb('0x1b')))return!0x1;const _0x4c31bc=_0x57d330[_0x4ecb('0x1d')](_0x2d0cb7,_0x4bba10);if(!_0x4c31bc||!fe(_0x4c31bc,void 0x0,_0x4361df))return!0x1;const _0x510017=_0x4361df[_0x4ecb('0x47')](_0x4bba10[_0x4ecb('0x8a')][_0x4ecb('0x4f')]);if(!_0x510017[_0x4ecb('0x39')])return!0x1;const _0x2b735f=_0x510017[0x0][_0x4ecb('0x3')](_0x4ecb('0x91')),_0x2a1940=_0x4361df[_0x4ecb('0x55')](_0x510017),_0x52dcb5=_0x4361df[_0x4ecb('0x71')](_0x510017),_0x557623={'startRow':_0x2a1940[_0x4ecb('0x4d')],'endRow':_0x2a1940['last'],'startColumn':_0x52dcb5[_0x4ecb('0x4d')],'endColumn':_0x52dcb5['last']};return 0x1==_0x510017['length']&&(_0x557623[_0x4ecb('0x82')]+=_0x4361df[_0x4ecb('0x5')](_0x4c31bc)-0x1,_0x557623[_0x4ecb('0x5f')]+=_0x4361df[_0x4ecb('0x31')](_0x4c31bc)-0x1),fe(_0x2b735f,_0x557623,_0x4361df);}(_0x4839e9,_0x4afdbe,_0x164839[_0x4ecb('0x10')],_0x576c8e,_0x4b761c)&&(_0x146738[_0x4ecb('0x26')](),_0x4d53af={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x164839['model'][_0x4ecb('0x48')](()=>{_0x164839[_0x4ecb('0x10')]['insertContent'](_0x4e417b[0x0],_0x4e417b[0x1],_0x4e417b[0x2],{'forceDefaultExecution':!0x0});const _0x27cd1d=_0x87425d(),{rowInsertionRanges:_0x223895,columnInsertionRanges:_0x3a9268,insertionRanges:_0xe5ffbc,deletionRanges:_0x341a76,cells:_0x4dcd17}=_0x4d53af;_0x223895[_0x4ecb('0x39')]&&_0x6a7ab5[_0x4ecb('0x4')](_0x223895,_0x4ecb('0x45'),{'tablePasteChainId':_0x27cd1d}),_0x3a9268[_0x4ecb('0x39')]&&_0x6a7ab5[_0x4ecb('0x4')](_0x3a9268,'tablePasteColumn',{'tablePasteChainId':_0x27cd1d}),_0xe5ffbc[_0x4ecb('0x39')]&&_0x6a7ab5[_0x4ecb('0x4')](_0xe5ffbc,_0x4ecb('0x7a'),{'tablePasteChainId':_0x27cd1d,'skipNestingCheck':!0x0}),_0x341a76[_0x4ecb('0x39')]&&_0x6a7ab5[_0x4ecb('0x9')](_0x341a76,'tablePaste',{'tablePasteChainId':_0x27cd1d,'skipNestingCheck':!0x0});const _0xae9f0f=_0x6a7ab5[_0x4ecb('0x3c')](_0x4dcd17[_0x4ecb('0x6d')](({element:_0x1202bc})=>_0x1202bc),{'formatGroupId':_0x87425d()},[],_0x4ecb('0x85'),{'tablePasteChainId':_0x27cd1d});if(_0xae9f0f){const _0x4512d4=_0xae9f0f[_0x4ecb('0x38')](),_0x19b355=[];for(const {element:_0x4651ff,attributes:_0x18fdb7}of _0x4dcd17){if(!_0x18fdb7)continue;const _0x2bb905=_0x164839['model'][_0x4ecb('0x7d')](_0x4651ff),_0x6d825b=_0x4512d4[_0x4ecb('0x5b')](_0x2e7c73=>_0x2e7c73[_0x4ecb('0x8f')]()[_0x4ecb('0x54')](_0x2bb905));_0x6d825b&&_0x19b355['push']([_0x6d825b[_0x4ecb('0x17')],_0x18fdb7]);}_0x19b355[_0x4ecb('0x39')]&&_0xae9f0f['setAttribute'](_0x4ecb('0x7b'),Object[_0x4ecb('0x7c')](_0x19b355));}_0x4d53af=null;}));},{'priority':_0x164959[_0x4ecb('0x83')]+0xa}),_0x164839[_0x4ecb('0x43')]['get']('TableClipboard')['on'](_0x4ecb('0x3a'),(_0x44d516,_0x4b88ed)=>{const [_0x264136,_0x108904,,_0x3e4901]=_0x4b88ed;if(!_0x4d53af)return;_0x44d516[_0x4ecb('0x26')]();const _0x2d6dad=_0x264136[_0x4ecb('0x52')],_0x3061bc=_0x108904,_0xb90857=ce(_0x2d6dad),_0x1741a7=ce(_0x3061bc);_0x44d516[_0x4ecb('0x90')]=_0x2d6dad;let _0x2aceeb=null,_0x1a0cf8=null;if(_0x1741a7||_0xb90857){if(_0xb90857&&!_0x1741a7){_0x3e4901[_0x4ecb('0x5d')](_0x2d6dad[_0x4ecb('0x6a')](0x0));for(const _0x3c7b64 of Array[_0x4ecb('0x36')](_0x3061bc['getChildren']()))_0x3e4901['insert'](_0x3c7b64,_0x2d6dad,_0x4ecb('0x2d'));const _0x1368b2=_0x4d53af[_0x4ecb('0x27')]['includes'](_0x264136[_0x4ecb('0x75')]),_0x47fa4a=_0x4d53af[_0x4ecb('0x15')][_0x4ecb('0x8')](_0x264136[_0x4ecb('0x59')]);_0x1368b2||_0x47fa4a||(_0x2aceeb=_0x3e4901['createRangeIn'](_0x2d6dad));}else _0x1741a7&&!_0xb90857&&(_0x1a0cf8=_0x3e4901[_0x4ecb('0x6e')](_0x2d6dad));}else{const _0x21e5f8=_0x3e4901[_0x4ecb('0x22')]('tableCellSuggestion'),_0xa8e6a9=_0x3e4901[_0x4ecb('0x22')](_0x4ecb('0x87'));_0x3e4901[_0x4ecb('0x13')](_0x3e4901['createRangeIn'](_0x2d6dad),_0xa8e6a9),_0x3e4901[_0x4ecb('0x16')](_0x21e5f8,_0x2d6dad,0x0);for(const _0x4e3e1c of Array[_0x4ecb('0x36')](_0x3061bc['getChildren']()))_0x3e4901[_0x4ecb('0x16')](_0x4e3e1c,_0x21e5f8,'end');_0x2aceeb=_0x3e4901[_0x4ecb('0x7d')](_0x21e5f8),_0x1a0cf8=_0x3e4901['createRangeOn'](_0xa8e6a9);}const _0x4cb5b8=Array[_0x4ecb('0x36')](_0x3061bc['getAttributes']())[_0x4ecb('0xc')](([_0x5e9a3f])=>le['includes'](_0x5e9a3f));_0x4d53af[_0x4ecb('0x84')][_0x4ecb('0x35')]({'element':_0x2d6dad,'attributes':_0x4cb5b8['length']?Object[_0x4ecb('0x7c')](_0x4cb5b8):null}),_0x2aceeb&&_0x4d53af[_0x4ecb('0x62')][_0x4ecb('0x35')](_0x2aceeb),_0x1a0cf8&&_0x4d53af[_0x4ecb('0x2f')][_0x4ecb('0x35')](_0x1a0cf8);},{'priority':_0x4ecb('0x83')}),_0x576c8e['on']('insertColumns',(_0x330e11,_0x501b67)=>{const [_0x2d6d67,_0x321cca={}]=_0x501b67;if(!_0x4d53af)return;const _0x4f2179=_0x321cca['at']||0x0,_0x187b17=_0x321cca[_0x4ecb('0x3f')]||0x1;_0x4d53af['columnInsertionIndexes']=new Array(_0x187b17)[_0x4ecb('0x57')](_0x4f2179)[_0x4ecb('0x6d')]((_0x21c5ad,_0x135183)=>_0x21c5ad+_0x135183);for(const {cell:_0xb7ac89}of _0x576c8e['createTableWalker'](_0x2d6d67,{'startColumn':_0x4f2179,'endColumn':_0x4f2179+_0x187b17-0x1}))_0x4d53af[_0x4ecb('0x3b')][_0x4ecb('0x35')](_0x164839[_0x4ecb('0x10')][_0x4ecb('0x7d')](_0xb7ac89));},{'priority':_0x4ecb('0x50')}),_0x576c8e['on']('insertRows',(_0x51d6e8,_0x39e4eb)=>{const [_0x140abc,_0x12e30f={}]=_0x39e4eb;if(!_0x4d53af)return;const _0x104f28=_0x12e30f['at']||0x0,_0x24621a=_0x12e30f['rows']||0x1;_0x4d53af[_0x4ecb('0x27')]=new Array(_0x24621a)['fill'](_0x104f28)[_0x4ecb('0x6d')]((_0x465f7a,_0x297024)=>_0x465f7a+_0x297024);for(const {cell:_0x19cc96}of _0x576c8e[_0x4ecb('0x1c')](_0x140abc,{'startRow':_0x104f28,'endRow':_0x104f28+_0x24621a-0x1}))_0x4d53af[_0x4ecb('0x7e')]['push'](_0x164839['model'][_0x4ecb('0x7d')](_0x19cc96));},{'priority':_0x4ecb('0x50')}),_0x6a7ab5[_0x4ecb('0x5c')][_0x4ecb('0x49')](_0x202154=>{if(_0x202154[_0x4ecb('0x76')]&&_0x202154[_0x4ecb('0x76')][_0x4ecb('0x4a')](_0x4ecb('0x7a')))return _0x202154['previous']?{}:{'type':'insertion','content':_0x16138d(_0x164839[_0x4ecb('0x67')],_0x4ecb('0x94'))};});const _0x1795de=()=>{};for(const _0x44bdff of[_0x4ecb('0x7a'),_0x4ecb('0x5e'),_0x4ecb('0x45'),'tablePasteCell'])_0x6a7ab5[_0x4ecb('0x30')]['registerCustomCallback'](_0x4ecb('0x34'),_0x44bdff,_0x4ecb('0x79'),_0x1795de),_0x6a7ab5[_0x4ecb('0x30')][_0x4ecb('0x68')]('deletion',_0x44bdff,_0x4ecb('0x79'),_0x1795de);_0x6a7ab5[_0x4ecb('0x30')][_0x4ecb('0x68')]('formatBlock',_0x4ecb('0x85'),_0x4ecb('0x86'),_0x1795de),_0x6a7ab5[_0x4ecb('0x30')][_0x4ecb('0x68')]('formatBlock',_0x4ecb('0x85'),_0x4ecb('0x25'),(_0x203134,_0x498d44,_0xad307f)=>{const _0x139083=_0x203134[_0x4ecb('0x6d')](_0x24c38d=>_0x24c38d[_0x4ecb('0x44')]())[_0x4ecb('0xc')](_0x92b7c1=>_0x92b7c1),_0x13027f=new Map(_0x139083['map'](_0x31d649=>[_0x31d649,null]));if(_0x4d53af)for(const {element:_0x3245b6,attributes:_0x3f59f6}of _0x4d53af[_0x4ecb('0x84')])_0x3f59f6&&_0x13027f[_0x4ecb('0x97')](_0x3245b6,_0x3f59f6);else{if(_0xad307f&&_0xad307f[_0x4ecb('0x7b')])for(const [_0x3b0741,_0xaaa5fd]of Object[_0x4ecb('0x5a')](_0xad307f['markerAttributes'])){const _0x1dee48=_0x164839[_0x4ecb('0x10')]['markers'][_0x4ecb('0x20')](_0x3b0741),_0x323601=_0x1dee48?_0x1dee48[_0x4ecb('0x8f')]()[_0x4ecb('0x44')]():null;_0x323601&&_0x13027f[_0x4ecb('0x97')](_0x323601,_0xaaa5fd);}}_0x164839['model']['change'](_0x3d7dcc=>{for(const [_0x46b7e7,_0x3a4900]of _0x13027f)_0x3d7dcc[_0x4ecb('0x9b')]({...ae,..._0x3a4900},_0x46b7e7);});});const _0x22d332=(_0x1034a5,_0x3e9350)=>{_0x6a7ab5[_0x4ecb('0x30')]['registerCustomCallback'](_0x1034a5,_0x4ecb('0x7a'),_0x3e9350,(_0x418ea2,_0x272c6f,_0x5dad84)=>{_0x164839[_0x4ecb('0x10')][_0x4ecb('0x48')](_0x4e7cb8=>{const _0x5f2fc9=[];for(const _0x3f72c6 of _0x418ea2){const _0x52f17a=_0x3f72c6['start'][_0x4ecb('0x53')];_0x52f17a['is'](_0x4ecb('0x2e'),'tableCellSuggestion')&&_0x5f2fc9[_0x4ecb('0x35')](_0x52f17a);}_0x6a7ab5['_suggestionFactory'][_0x4ecb('0x28')](_0x1034a5,null,_0x3e9350)(_0x418ea2,_0x272c6f,_0x5dad84);for(const _0x15a9bd of _0x5f2fc9)'$graveyard'!=_0x15a9bd[_0x4ecb('0x8d')]['rootName']&&_0x4e7cb8[_0x4ecb('0x6')](_0x15a9bd);});});};_0x22d332('insertion',_0x4ecb('0x25')),_0x22d332('insertion',_0x4ecb('0x86')),_0x22d332(_0x4ecb('0x7'),_0x4ecb('0x25')),_0x22d332(_0x4ecb('0x7'),'discard'),_0x6a7ab5[_0x4ecb('0x30')][_0x4ecb('0x68')]('insertion',_0x4ecb('0x45'),_0x4ecb('0x86'),_0x482775=>{const _0x19d207=_0x482775['map'](_0x5d5397=>_0x5d5397[_0x4ecb('0x44')]()),_0x1b55cb=_0x19d207[0x0][_0x4ecb('0x3')]('table'),{minRow:_0x2fe0c9,maxRow:_0x4e2a87}=_0x414cdd['_getCoordsForCells'](_0x19d207);_0x576c8e[_0x4ecb('0x81')](_0x1b55cb,{'at':_0x2fe0c9,'rows':_0x4e2a87-_0x2fe0c9+0x1});}),_0x6a7ab5[_0x4ecb('0x30')][_0x4ecb('0x68')](_0x4ecb('0x34'),_0x4ecb('0x5e'),_0x4ecb('0x86'),_0x595c00=>{const _0x1c62ef=_0x595c00[_0x4ecb('0x6d')](_0x4fe207=>_0x4fe207[_0x4ecb('0x44')]()),_0x5e8ef6=_0x1c62ef[0x0][_0x4ecb('0x3')](_0x4ecb('0x91')),{minColumn:_0x1b1206,maxColumn:_0x291b32}=_0x414cdd[_0x4ecb('0x6f')](_0x1c62ef);_0x576c8e[_0x4ecb('0x65')](_0x5e8ef6,{'at':_0x1b1206,'columns':_0x291b32-_0x1b1206+0x1});});const _0x50acc3=(_0xbcb567,_0xebce84)=>{if(!_0xebce84['subType']||!_0xebce84['subType'][_0x4ecb('0x4a')](_0x4ecb('0x7a')))return;const _0x31bfee=_0xebce84['attributes'][_0x4ecb('0x4b')],_0x192d47=_0x6a7ab5[_0x4ecb('0x1')]()['filter'](_0x33e76a=>_0x33e76a[_0x4ecb('0x24')]&&_0x33e76a[_0x4ecb('0x1a')]&&_0x33e76a[_0x4ecb('0x1a')]['tablePasteChainId']==_0x31bfee);_0x192d47[_0x4ecb('0x39')]&&_0xebce84[_0x4ecb('0x72')]()[_0x4ecb('0x39')]!=_0x192d47[_0x4ecb('0x39')]&&_0x192d47[_0x4ecb('0x4e')]((_0xb15d6a,_0x1ca36c)=>(_0xb15d6a[_0x4ecb('0x51')]=_0x1ca36c,_0x1ca36c[_0x4ecb('0x60')]=_0xb15d6a,_0x1ca36c));};function _0x38e8ee(_0x471020,_0x56912c=!0x0){const {id:_0x22f01e}=_0x6a7ab5[_0x4ecb('0x21')](_0x471020[_0x4ecb('0x14')]),_0x3f2fe0=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1cd13f=_0x6a7ab5[_0x4ecb('0x11')][_0x4ecb('0x8')](_0x471020[_0x4ecb('0x14')]);return _0x1cd13f&&_0x3f2fe0['push'](_0x4ecb('0x9d')),{'classes':_0x3f2fe0,'attributes':{'data-suggestion':_0x22f01e},'priority':_0x1cd13f&&_0x56912c?0xbc2:0xbb8};}_0x6a7ab5['on'](_0x4ecb('0x64'),_0x50acc3,{'priority':'high'}),_0x6a7ab5['on'](_0x4ecb('0x2b'),_0x50acc3,{'priority':_0x4ecb('0x83')}),_0x164839[_0x4ecb('0x10')]['document'][_0x4ecb('0x9a')](()=>{let _0x74d5b=!0x1;const _0x3d587d=Array['from'](_0x164839[_0x4ecb('0x10')]['document'][_0x4ecb('0xb')]['getChangedMarkers']());for(const {name:_0x3bf380,data:_0x4b11a5}of _0x3d587d){const {group:_0xab7f9b,type:_0x198bf9,id:_0x3f6dad}=_0x6a7ab5[_0x4ecb('0x21')](_0x3bf380);if(_0x4ecb('0x33')!=_0xab7f9b||_0x4ecb('0x7')!=_0x198bf9||_0x4b11a5[_0x4ecb('0x3e')])continue;if(!_0x6a7ab5[_0x4ecb('0x1e')](_0x3f6dad))continue;const _0x68ad3f=_0x6a7ab5[_0x4ecb('0x8b')](_0x3f6dad)['getRanges'](),_0x1173b0=_0x164839[_0x4ecb('0x43')]['get'](_0x4ecb('0x19'))['me'];for(const _0x1d3f8a of _0x6a7ab5[_0x4ecb('0x1')]()){if(!_0x1d3f8a['isInContent']||_0x1d3f8a[_0x4ecb('0x88')]!=_0x1173b0)continue;if(_0x4ecb('0x2c')!=_0x1d3f8a[_0x4ecb('0x18')]||'tablePasteCell'!=_0x1d3f8a['subType'])continue;if(_0x1d3f8a['getRanges']()['every'](_0x24fd4e=>_0x68ad3f[_0x4ecb('0x8c')](_0xe56f25=>_0xe56f25[_0x4ecb('0x42')](_0x24fd4e,!0x0))))for(const _0x232667 of _0x1d3f8a[_0x4ecb('0x72')]())_0x232667[_0x4ecb('0x24')]&&(_0x232667[_0x4ecb('0x86')](),_0x74d5b=!0x0);}}return _0x74d5b;}),_0x164839['model']['document'][_0x4ecb('0x9a')](_0x4e2ec5=>{const _0xcd6189=_0x164839[_0x4ecb('0x9c')][_0x4ecb('0x20')](_0x4ecb('0x89'));if(!_0xcd6189||!_0xcd6189['_createdBatches']['has'](_0x4e2ec5[_0x4ecb('0x40')]))return!0x1;let _0x108386=!0x1;const _0x51ff8c=_0x164839[_0x4ecb('0x43')][_0x4ecb('0x20')](_0x4ecb('0x19'))['me'],_0x2eb7bd=_0x164839[_0x4ecb('0x10')][_0x4ecb('0x8a')]['differ']['getChanges'](),_0x337209=Array[_0x4ecb('0x36')](_0x164839[_0x4ecb('0x10')][_0x4ecb('0x8a')]['differ'][_0x4ecb('0xe')]())['filter'](({name:_0x386486,data:_0x2de888})=>{const {group:_0x3be8fd,subType:_0x15566b,authorId:_0x21885a}=_0x6a7ab5[_0x4ecb('0x21')](_0x386486);return _0x4ecb('0x33')==_0x3be8fd&&_0x4ecb('0x7a')==_0x15566b&&_0x21885a==_0x51ff8c['id']&&!_0x2de888[_0x4ecb('0x3e')];});for(const _0x1d2f63 of _0x2eb7bd){if(_0x4ecb('0x16')!=_0x1d2f63[_0x4ecb('0x18')]||_0x4ecb('0x87')!=_0x1d2f63[_0x4ecb('0x17')]||0x1!=_0x1d2f63[_0x4ecb('0x39')])continue;const _0x2bd539=_0x4e2ec5['createRange'](_0x1d2f63[_0x4ecb('0x37')],_0x1d2f63[_0x4ecb('0x37')][_0x4ecb('0x70')](0x1));if(!_0x337209[_0x4ecb('0x5b')](({data:_0x384915})=>_0x384915[_0x4ecb('0x93')]['isEqual'](_0x2bd539)))for(const {name:_0x3131c1,data:_0x1abf86}of _0x337209)if(_0x2bd539['containsRange'](_0x1abf86['newRange'])){_0x4e2ec5['updateMarker'](_0x3131c1,{'range':_0x2bd539}),_0x108386=!0x0;break;}}return _0x108386;}),_0x164839[_0x4ecb('0x10')][_0x4ecb('0x8a')][_0x4ecb('0x9a')](_0x2e881d=>{let _0x4ed580=!0x1;const _0x402a92=_0x164839[_0x4ecb('0x43')]['get'](_0x4ecb('0x19'))['me'],_0x12e1df=_0x6a7ab5['getSuggestions']()[_0x4ecb('0xc')](_0x4cb62e=>_0x4cb62e[_0x4ecb('0x24')]&&_0x4cb62e['author']==_0x402a92),_0x3548a9=new Set(),_0x43df72=new Set();for(const _0x34bae3 of _0x12e1df)if(_0x4ecb('0x7a')==_0x34bae3['subType'])for(const _0x38ff22 of _0x34bae3[_0x4ecb('0x38')]()){const _0x276b19=_0x38ff22[_0x4ecb('0x8f')]()[_0x4ecb('0x44')]();if(_0x276b19){if(_0x276b19['is'](_0x4ecb('0x2e'),_0x4ecb('0x87'))&&ce(_0x276b19)){_0x34bae3[_0x4ecb('0x29')](_0x38ff22[_0x4ecb('0x17')]),_0x3548a9[_0x4ecb('0x74')](_0x276b19),_0x4ed580=!0x0;const _0x3f794b=_0x276b19['nextSibling'],_0x502438=_0x276b19[_0x4ecb('0x6b')],_0x244443=_0x3f794b&&_0x3f794b['is'](_0x4ecb('0x2e'),'tableCellSuggestion'),_0x51c933=_0x502438&&_0x502438['is']('element',_0x4ecb('0x87'));_0x244443&&!_0x3548a9[_0x4ecb('0x73')](_0x3f794b)&&_0x43df72[_0x4ecb('0x74')](_0x3f794b),_0x51c933&&!_0x3548a9[_0x4ecb('0x73')](_0x502438)&&_0x43df72[_0x4ecb('0x74')](_0x502438);}else _0x276b19['is'](_0x4ecb('0x2e'),_0x4ecb('0x12'))&&_0x276b19[_0x4ecb('0x1f')]&&(_0x34bae3['removeMarker'](_0x38ff22[_0x4ecb('0x17')]),_0x4ed580=!0x0);}}else{if(_0x4ecb('0x85')==_0x34bae3[_0x4ecb('0x76')]){if(!_0x34bae3[_0x4ecb('0x1a')]||!_0x34bae3[_0x4ecb('0x1a')][_0x4ecb('0x4b')])continue;const _0x2bd37e=_0x34bae3[_0x4ecb('0x1a')]['markerAttributes'];if(_0x2bd37e&&Object['keys'](_0x2bd37e)[_0x4ecb('0x39')])continue;const _0x6d0123=_0x34bae3['attributes'][_0x4ecb('0x4b')];let _0x3faf95=!0x0,_0x21842b=!0x0;for(const _0x4ce60e of _0x12e1df)if(_0x4ce60e['subType']&&_0x4ce60e[_0x4ecb('0x76')][_0x4ecb('0x4a')]('tablePaste')){if(!_0x4ce60e[_0x4ecb('0x1a')][_0x4ecb('0x4b')]){_0x21842b=!0x1;break;}if(_0x4ce60e['id']!=_0x34bae3['id']&&_0x4ce60e[_0x4ecb('0x1a')][_0x4ecb('0x4b')]==_0x6d0123){_0x3faf95=!0x1;break;}}_0x21842b&&_0x3faf95&&(_0x34bae3[_0x4ecb('0x0')](),_0x4ed580=!0x0);}}for(const _0x3b407f of _0x3548a9)_0x2e881d[_0x4ecb('0x5d')](_0x3b407f);for(const _0x9a06cc of _0x43df72)_0x2e881d[_0x4ecb('0x6')](_0x9a06cc);return _0x4ed580;}),_0x164839[_0x4ecb('0xa')][_0x4ecb('0x7f')](_0x4ecb('0x6c'))[_0x4ecb('0x98')]({'model':_0x4ecb('0x96'),'view':(_0x4db278,_0x2bad81)=>_0x38e8ee(_0x4db278),'converterPriority':_0x4ecb('0x83')}),_0x164839['conversion'][_0x4ecb('0x7f')](_0x4ecb('0x66'))['markerToHighlight']({'model':_0x4ecb('0x96'),'view':(_0x1670de,_0x196ed4)=>_0x196ed4[_0x4ecb('0x78')]['showSuggestionHighlights']?_0x38e8ee(_0x1670de,!0x1):null,'converterPriority':_0x4ecb('0x83')});const _0x4b9eef=_0x164839['editing'][_0x4ecb('0x41')];this[_0x4ecb('0xd')](_0x4b9eef['document'],'clipboardOutput',(_0x555884,_0x56d0f2)=>{const _0x57a77f=[];for(const _0x415d46 of _0x4b9eef['createRangeIn'](_0x56d0f2[_0x4ecb('0x23')])['getItems']())_0x415d46['is'](_0x4ecb('0x2e'),_0x4ecb('0x2'))&&_0x57a77f['push'](_0x415d46);_0x4b9eef['change'](_0x2d7d15=>{for(const _0x23bb80 of _0x57a77f)_0x2d7d15['move'](_0x2d7d15[_0x4ecb('0x6e')](_0x23bb80),_0x2d7d15['createPositionBefore'](_0x23bb80)),_0x2d7d15[_0x4ecb('0x5d')](_0x23bb80);});});}}function ce(_0x338af2){if(_0x338af2[_0x4ecb('0x1f')])return!0x0;const _0x39bb20=_0x338af2[_0x4ecb('0x6a')](0x0);return _0x39bb20['is'](_0x4ecb('0x2e'),_0x4ecb('0x12'))&&_0x39bb20[_0x4ecb('0x1f')];}function fe(_0x9fd21b,_0x2f84e4={},_0x3b9631){for(const {isAnchor:_0x3ff568,cellHeight:_0x11dd51,cellWidth:_0x47bad8}of _0x3b9631[_0x4ecb('0x1c')](_0x9fd21b,{'includeAllSlots':!0x0,..._0x2f84e4}))if(!_0x3ff568||0x1!=_0x11dd51||0x1!=_0x47bad8)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5422=['model','resizeTableWidth','format','tableWidth','getSuggestions','selection','plugins','locale','formatBlock','handleResizeTableWidthCommand','getTableColumnsWidths','get','_suggestionFactory','_descriptionFactory','accept','formatGroupId','getAttribute','columnWidths','markBlockFormat','table','getColumnGroupElement','discard','resizeTable','subType','data','change','getSuggestionCallback','editor','resizeColumnWidths','enableCommand','afterInit','handleSuggestionDescription','registerCustomCallback','TrackChangesEditing','has','bind','document','TableColumnResizeEditing'];(function(_0x6d591e,_0x542230){const _0x4335ac=function(_0x5e784d){while(--_0x5e784d){_0x6d591e['push'](_0x6d591e['shift']());}};_0x4335ac(++_0x542230);}(_0x5422,0x80));const _0x4335=function(_0x6d591e,_0x542230){_0x6d591e=_0x6d591e-0x0;let _0x4335ac=_0x5422[_0x6d591e];return _0x4335ac;};import{Plugin as _0x3e4612}from'ckeditor5/src/core';import{getTranslation as _0x4bb6f7}from'../utils/common-translations';export default class wt extends _0x3e4612{[_0x4335('0x10')](){if(!this[_0x4335('0xd')]['plugins'][_0x4335('0x14')]('TableColumnResizeEditing'))return;const _0x4f2ebc=this[_0x4335('0xd')][_0x4335('0x1e')][_0x4335('0x23')](_0x4335('0x13'));_0x4f2ebc[_0x4335('0xf')](_0x4335('0x19'),this[_0x4335('0x21')][_0x4335('0x15')](this)),_0x4f2ebc[_0x4335('0xf')](_0x4335('0xe'),this[_0x4335('0x21')]['bind'](this)),_0x4f2ebc[_0x4335('0x24')][_0x4335('0x12')](_0x4335('0x20'),_0x4335('0x8'),_0x4335('0x0'),_0x4f2ebc[_0x4335('0x24')]['getSuggestionCallback'](_0x4335('0x20'),null,_0x4335('0x7'))),_0x4f2ebc[_0x4335('0x24')]['registerCustomCallback'](_0x4335('0x20'),'resizeTable','discard',_0x4f2ebc[_0x4335('0x24')][_0x4335('0xc')](_0x4335('0x20'),null,_0x4335('0x0'))),_0x4f2ebc[_0x4335('0x25')]['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x4335('0x15')](this));}[_0x4335('0x21')](_0x3723a8,_0x2b65f6){const _0x2c6a77=this[_0x4335('0xd')][_0x4335('0x1e')][_0x4335('0x23')](_0x4335('0x13')),_0x56da72=this[_0x4335('0xd')]['plugins'][_0x4335('0x23')](_0x4335('0x17')),_0x13e137=_0x2b65f6[_0x4335('0x5')]||this[_0x4335('0xd')][_0x4335('0x18')][_0x4335('0x16')][_0x4335('0x1d')]['getSelectedElement']();this[_0x4335('0xd')][_0x4335('0x18')][_0x4335('0xb')](()=>{const _0x4bd765=_0x56da72[_0x4335('0x6')](_0x13e137);let _0x385cc0=_0x4bd765?_0x56da72[_0x4335('0x22')](_0x4bd765):null,_0xaea4f4=_0x13e137[_0x4335('0x2')](_0x4335('0x1b'))||null;const _0x32f7d8=_0x2b65f6[_0x4335('0x1b')]||_0xaea4f4,_0x311643=_0x2b65f6[_0x4335('0x3')]||_0x385cc0,_0x4c8e48=this['editor'][_0x4335('0x1e')]['get']('Users')['me'];for(const _0xfe2615 of _0x2c6a77[_0x4335('0x1c')]()){const _0x38cec6=_0xfe2615['getContainedElement']();if(_0x4335('0x8')===_0xfe2615[_0x4335('0x9')]&&_0x38cec6===_0x13e137){_0xfe2615['author']!==_0x4c8e48&&_0xfe2615['discard']();const _0x58ddb0=_0xfe2615[_0x4335('0xa')]['commandParams'];_0xaea4f4=_0x58ddb0[0x0][_0x4335('0x1b')],_0x385cc0=_0x58ddb0[0x0]['columnWidths'];break;}}_0x3723a8({'table':_0x13e137,'tableWidth':_0x32f7d8,'columnWidths':_0x311643}),_0x2c6a77[_0x4335('0x4')](_0x13e137,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0xaea4f4,'columnWidths':_0x385cc0}],'formatGroupId':_0x4335('0x8')},[],_0x4335('0x8'));});}[_0x4335('0x11')](_0xd1b853){const {data:_0x545656}=_0xd1b853;if(_0x545656&&'resizeTable'===_0x545656[_0x4335('0x1')]){const _0x13bb31='*Format:*\x20resize\x20table';return{'type':_0x4335('0x1a'),'content':_0x4bb6f7(this[_0x4335('0xd')][_0x4335('0x1f')],_0x13bb31)};}}}
23
+ const _0x5a9a=['getSuggestionCallback','getSelectedElement','markBlockFormat','author','plugins','get','editor','tableWidth','change','selection','model','data','format','getSuggestions','getAttribute','resizeColumnWidths','formatBlock','getTableColumnsWidths','handleResizeTableWidthCommand','_suggestionFactory','registerCustomCallback','discard','TableColumnResizeEditing','resizeTable','registerDescriptionCallback','locale','commandParams','bind','accept','getColumnGroupElement','Users'];(function(_0x2e97a3,_0x5a9a56){const _0x561155=function(_0x25ad94){while(--_0x25ad94){_0x2e97a3['push'](_0x2e97a3['shift']());}};_0x561155(++_0x5a9a56);}(_0x5a9a,0x127));const _0x5611=function(_0x2e97a3,_0x5a9a56){_0x2e97a3=_0x2e97a3-0x0;let _0x561155=_0x5a9a[_0x2e97a3];return _0x561155;};import{Plugin as _0x52cfd9}from'ckeditor5/src/core';import{getTranslation as _0x5bb01d}from'../utils/common-translations';export default class wt extends _0x52cfd9{['afterInit'](){if(!this[_0x5611('0x15')][_0x5611('0x13')]['has'](_0x5611('0x6')))return;const _0x52630f=this[_0x5611('0x15')][_0x5611('0x13')][_0x5611('0x14')]('TrackChangesEditing');_0x52630f['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x5611('0xb')](this)),_0x52630f['enableCommand'](_0x5611('0x1e'),this[_0x5611('0x2')][_0x5611('0xb')](this)),_0x52630f[_0x5611('0x3')]['registerCustomCallback'](_0x5611('0x0'),_0x5611('0x7'),_0x5611('0xc'),_0x52630f['_suggestionFactory'][_0x5611('0xf')](_0x5611('0x0'),null,_0x5611('0x5'))),_0x52630f[_0x5611('0x3')][_0x5611('0x4')]('formatBlock',_0x5611('0x7'),_0x5611('0x5'),_0x52630f[_0x5611('0x3')][_0x5611('0xf')](_0x5611('0x0'),null,_0x5611('0xc'))),_0x52630f['_descriptionFactory'][_0x5611('0x8')](this['handleSuggestionDescription'][_0x5611('0xb')](this));}['handleResizeTableWidthCommand'](_0x203602,_0x55beb6){const _0x19d8cf=this[_0x5611('0x15')][_0x5611('0x13')][_0x5611('0x14')]('TrackChangesEditing'),_0x265403=this['editor']['plugins'][_0x5611('0x14')](_0x5611('0x6')),_0x274c0b=_0x55beb6['table']||this['editor'][_0x5611('0x19')]['document'][_0x5611('0x18')][_0x5611('0x10')]();this[_0x5611('0x15')]['model'][_0x5611('0x17')](()=>{const _0x2e2f6d=_0x265403[_0x5611('0xd')](_0x274c0b);let _0x34b6ec=_0x2e2f6d?_0x265403[_0x5611('0x1')](_0x2e2f6d):null,_0x1e9917=_0x274c0b[_0x5611('0x1d')]('tableWidth')||null;const _0x5ba384=_0x55beb6['tableWidth']||_0x1e9917,_0x5b37c0=_0x55beb6['columnWidths']||_0x34b6ec,_0x2f5ec4=this[_0x5611('0x15')][_0x5611('0x13')][_0x5611('0x14')](_0x5611('0xe'))['me'];for(const _0x1df1c7 of _0x19d8cf[_0x5611('0x1c')]()){const _0x1fa8cb=_0x1df1c7['getContainedElement']();if(_0x5611('0x7')===_0x1df1c7['subType']&&_0x1fa8cb===_0x274c0b){_0x1df1c7[_0x5611('0x12')]!==_0x2f5ec4&&_0x1df1c7[_0x5611('0x5')]();const _0x3af534=_0x1df1c7[_0x5611('0x1a')][_0x5611('0xa')];_0x1e9917=_0x3af534[0x0][_0x5611('0x16')],_0x34b6ec=_0x3af534[0x0]['columnWidths'];break;}}_0x203602({'table':_0x274c0b,'tableWidth':_0x5ba384,'columnWidths':_0x5b37c0}),_0x19d8cf[_0x5611('0x11')](_0x274c0b,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1e9917,'columnWidths':_0x34b6ec}],'formatGroupId':'resizeTable'},[],_0x5611('0x7'));});}['handleSuggestionDescription'](_0x5b3b0c){const {data:_0x4c76dc}=_0x5b3b0c;if(_0x4c76dc&&_0x5611('0x7')===_0x4c76dc['formatGroupId']){const _0x54271a='*Format:*\x20resize\x20table';return{'type':_0x5611('0x1b'),'content':_0x5bb01d(this[_0x5611('0x15')][_0x5611('0x9')],_0x54271a)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11c6=['activeMarkers','headingColumns','first','requires','createPositionAfter','ck-suggestion-marker--active','unbindElementFromMarkerName','format','consumable','registerCustomCallback','locale','mapper','ck-suggestion-marker-','createRange','editing','last','enableCommand','table','commandName','getRowIndexes','setAttribute','getSuggestion','addMarker:suggestion','nodeAfter','_acceptFormatSuggestionCallbackFactory','removeMarker:suggestion','getCellLocation','model','start','getAttribute','TableUtils','registerDescriptionCallback','selection','getSelectionAffectedTableCells','consume','document','downcastDispatcher','value','name','removeClass','change','setTableColumnHeader','TrackChangesEditing','index','addClass','markerName','data-suggestion','commands','forceValue','nodeBefore','cell','_suggestionFactory','markBlockFormat','setTableRowHeader','formatBlock','findAncestor','options','accept','showSuggestionHighlights','highest','writer','markerRange','createTableWalker','*Format:*\x20%0','_descriptionFactory','isBefore','plugins','get','markerNameToElements','createPositionBefore','commandParams','getChild','data','childCount'];(function(_0x43a1ea,_0x11c680){const _0x394e4a=function(_0x2336db){while(--_0x2336db){_0x43a1ea['push'](_0x43a1ea['shift']());}};_0x394e4a(++_0x11c680);}(_0x11c6,0x180));const _0x394e=function(_0x43a1ea,_0x11c680){_0x43a1ea=_0x43a1ea-0x0;let _0x394e4a=_0x11c6[_0x43a1ea];return _0x394e4a;};import{Plugin as _0x2fb618}from'ckeditor5/src/core';import _0x4c423b from'./table';import{getTranslation as _0x438d89}from'../utils/common-translations';export default class pt extends _0x2fb618{static get[_0x394e('0x3f')](){return[_0x4c423b];}['afterInit'](){const _0x40f18e=this['editor'];if(!_0x40f18e[_0x394e('0x34')]['has']('TableEditing'))return;const _0x18d3e7=_0x40f18e[_0x394e('0x46')],_0x251788=_0x40f18e[_0x394e('0x34')][_0x394e('0x35')](_0x394e('0x1c')),_0x20f7c5=_0x40f18e[_0x394e('0x34')][_0x394e('0x35')](_0x394e('0x10')),_0x343bcb=_0x40f18e[_0x394e('0x34')][_0x394e('0x35')](_0x4c423b);function _0x562426({showActiveMarker:_0x3bc9b7=!0x0,setDataAttribute:_0x407e7a=!0x0}={}){return(_0x4bfb03,_0x36783a,_0x599aff)=>{const {type:_0x2f66d7,id:_0x1607c1}=_0x251788['_splitMarkerName'](_0x36783a[_0x394e('0x1f')]),_0x3be23d=_0x251788[_0x394e('0x7')](_0x1607c1);if(!_0x3be23d[_0x394e('0x3a')]||'setTableColumnHeader'!=_0x3be23d[_0x394e('0x3a')]['commandName'])return;if(_0x36783a['item'])return void _0x4bfb03['stop']();if(!_0x599aff[_0x394e('0x44')][_0x394e('0x14')](_0x36783a[_0x394e('0x2f')],_0x4bfb03[_0x394e('0x18')]))return;const _0x259a61=_0x36783a[_0x394e('0x2f')][_0x394e('0xe')][_0x394e('0x9')],_0x2273d3=_0x36783a[_0x394e('0x2f')]['end'][_0x394e('0x23')],_0x3e02d3=_0x259a61['parent']['parent'],{column:_0x1294b5}=_0x20f7c5[_0x394e('0xc')](_0x259a61),{column:_0x19caf4}=_0x20f7c5['getCellLocation'](_0x2273d3);for(let _0x288c92=_0x1294b5;_0x288c92<=_0x19caf4;_0x288c92++){const _0x269039=_0x20f7c5[_0x394e('0x30')](_0x3e02d3,{'column':_0x288c92,'includeAllSlots':!0x1});for(const _0x269e32 of _0x269039){const _0x11a9ac=_0x269e32[_0x394e('0x24')],_0x22ac50=_0x599aff[_0x394e('0x47')]['toViewElement'](_0x11a9ac);_0x599aff[_0x394e('0x2e')][_0x394e('0x1e')](_0x394e('0x48')+_0x2f66d7,_0x22ac50),_0x407e7a&&_0x599aff['writer'][_0x394e('0x6')]('data-suggestion',_0x1607c1,_0x22ac50),_0x599aff[_0x394e('0x47')]['bindElementToMarker'](_0x22ac50,_0x36783a[_0x394e('0x1f')]),_0x3bc9b7&&(_0x251788[_0x394e('0x3c')]['includes'](_0x36783a[_0x394e('0x1f')])?_0x599aff[_0x394e('0x2e')][_0x394e('0x1e')](_0x394e('0x41'),_0x22ac50):_0x599aff[_0x394e('0x2e')]['removeClass'](_0x394e('0x41'),_0x22ac50));}}};}_0x251788[_0x394e('0x2')]('setTableRowHeader',(_0x351164,_0x5c50d7)=>{const _0x3ffa7f=_0x20f7c5[_0x394e('0x13')](_0x40f18e[_0x394e('0xd')][_0x394e('0x15')]['selection']),_0x78f4df=_0x20f7c5[_0x394e('0x5')](_0x3ffa7f),_0x1b094c=_0x3ffa7f[0x0]['findAncestor'](_0x394e('0x3')),_0x101a3b=_0x1b094c['getAttribute']('headingRows')||0x0,_0xda65d3=_0x5c50d7&&null!==_0x5c50d7[_0x394e('0x22')]?_0x5c50d7[_0x394e('0x22')]:!_0x40f18e[_0x394e('0x21')]['get']('setTableRowHeader')['value'],_0x410f6e=_0xda65d3?_0x78f4df[_0x394e('0x1')]:_0x78f4df[_0x394e('0x3e')],_0x638a55=_0x1b094c[_0x394e('0x39')](_0x410f6e);let _0x57fdf2;if(_0xda65d3){const _0x2156ff=_0x1b094c[_0x394e('0x39')](_0x101a3b);if(_0x638a55[_0x394e('0x1d')]<_0x2156ff['index'])return;_0x57fdf2=_0x40f18e['model'][_0x394e('0x49')](_0x40f18e[_0x394e('0xd')][_0x394e('0x37')](_0x2156ff['getChild'](0x0)),_0x40f18e[_0x394e('0xd')][_0x394e('0x40')](_0x638a55['getChild'](_0x638a55[_0x394e('0x3b')]-0x1)));}else{const _0x20b978=_0x1b094c[_0x394e('0x39')](_0x101a3b-0x1);if(!_0x20b978)return;_0x57fdf2=_0x40f18e[_0x394e('0xd')]['createRange'](_0x40f18e[_0x394e('0xd')][_0x394e('0x37')](_0x638a55[_0x394e('0x39')](0x0)),_0x40f18e[_0x394e('0xd')][_0x394e('0x40')](_0x20b978[_0x394e('0x39')](_0x20b978[_0x394e('0x3b')]-0x1)));}_0x40f18e[_0x394e('0xd')][_0x394e('0x1a')](()=>{_0x251788[_0x394e('0x26')](_0x57fdf2,{'commandName':_0x394e('0x27'),'commandParams':[{'forceValue':_0xda65d3}]},[],_0x394e('0x27'));});}),_0x251788[_0x394e('0x2')](_0x394e('0x1b'),(_0x484a80,_0x49c68d)=>{const _0x3688c0=_0x40f18e[_0x394e('0x34')]['get'](_0x394e('0x10')),_0x37ee45=_0x3688c0['getSelectionAffectedTableCells'](_0x40f18e[_0x394e('0xd')][_0x394e('0x15')][_0x394e('0x12')]),_0x14be23=_0x3688c0['getColumnIndexes'](_0x37ee45),_0x1f705d=_0x37ee45[0x0][_0x394e('0x29')]('table'),_0x183d5d=_0x1f705d[_0x394e('0xf')](_0x394e('0x3d'))||0x0,_0xa470d6=_0x49c68d&&null!==_0x49c68d[_0x394e('0x22')]?_0x49c68d['forceValue']:!_0x40f18e[_0x394e('0x21')]['get'](_0x394e('0x1b'))[_0x394e('0x17')];let _0x5ad7d9;const _0x530047=_0x1f705d[_0x394e('0x39')](0x0),_0x266f24=_0xa470d6?_0x14be23[_0x394e('0x1')]:_0x14be23[_0x394e('0x3e')],_0x27ea0e=_0x3688c0[_0x394e('0x30')](_0x1f705d,{'startRow':0x0,'column':_0x266f24,'includeAllSlots':!0x1}),_0xaa4d7e=Array['from'](_0x27ea0e)[0x0][_0x394e('0x24')];if(_0xa470d6){const _0x27b2d9=_0x530047[_0x394e('0x39')](_0x183d5d);if(_0xaa4d7e[_0x394e('0x33')](_0x27b2d9))return;_0x5ad7d9=_0x40f18e[_0x394e('0xd')][_0x394e('0x49')](_0x40f18e[_0x394e('0xd')][_0x394e('0x37')](_0x27b2d9),_0x40f18e[_0x394e('0xd')][_0x394e('0x40')](_0xaa4d7e));}else{const _0x4fd6b5=_0x530047[_0x394e('0x39')](_0x183d5d-0x1);if(!_0x4fd6b5)return;_0x5ad7d9=_0x40f18e[_0x394e('0xd')][_0x394e('0x49')](_0x40f18e['model'][_0x394e('0x37')](_0xaa4d7e),_0x40f18e[_0x394e('0xd')]['createPositionAfter'](_0x4fd6b5));}_0x40f18e[_0x394e('0xd')][_0x394e('0x1a')](()=>{_0x251788['markBlockFormat'](_0x5ad7d9,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0xa470d6}]},[],_0x394e('0x1b'));});}),_0x40f18e[_0x394e('0x0')]['downcastDispatcher']['on'](_0x394e('0x8'),_0x562426(),{'priority':_0x394e('0x2d')}),_0x40f18e[_0x394e('0x3a')][_0x394e('0x16')]['on'](_0x394e('0x8'),(_0x530985,_0x483824,_0x2c1788)=>{_0x2c1788[_0x394e('0x2a')][_0x394e('0x2c')]&&_0x562426({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x530985,_0x483824,_0x2c1788);},{'priority':_0x394e('0x2d')}),_0x40f18e['editing']['downcastDispatcher']['on'](_0x394e('0xb'),(_0x20fc69,_0x3a70c1,_0x2ba561)=>{const {type:_0x453c7b,id:_0x4a4b80}=_0x251788['_splitMarkerName'](_0x3a70c1[_0x394e('0x1f')]),_0x139ccf=_0x251788[_0x394e('0x7')](_0x4a4b80);if(!_0x139ccf['data']||'setTableColumnHeader'!=_0x139ccf[_0x394e('0x3a')][_0x394e('0x4')])return;const _0x3c2fb2=_0x2ba561[_0x394e('0x47')][_0x394e('0x36')](_0x3a70c1[_0x394e('0x1f')]);if(_0x3c2fb2)for(const _0xe7574c of _0x3c2fb2)_0x2ba561[_0x394e('0x2e')][_0x394e('0x19')](_0x394e('0x48')+_0x453c7b,_0xe7574c),_0x2ba561['writer'][_0x394e('0x19')](_0x394e('0x41'),_0xe7574c),_0x2ba561[_0x394e('0x2e')]['removeAttribute'](_0x394e('0x20'),_0xe7574c),_0x2ba561[_0x394e('0x47')][_0x394e('0x42')](_0xe7574c,_0x3a70c1[_0x394e('0x1f')]);},{'priority':'highest'}),_0x251788[_0x394e('0x32')][_0x394e('0x11')](_0x5aa00d=>{const {data:_0x70e182}=_0x5aa00d;if(_0x70e182){if(_0x394e('0x27')==_0x70e182['commandName']){const _0x3f83ba=_0x70e182[_0x394e('0x38')][0x0][_0x394e('0x22')];return _0x11f6a8(_0x438d89(_0x18d3e7,_0x3f83ba?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if(_0x394e('0x1b')==_0x70e182[_0x394e('0x4')]){const _0x1b2c5f=_0x70e182[_0x394e('0x38')][0x0][_0x394e('0x22')];return _0x11f6a8(_0x438d89(_0x18d3e7,_0x1b2c5f?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0x11f6a8(_0x335031){return{'type':_0x394e('0x43'),'content':_0x438d89(_0x18d3e7,_0x394e('0x31'),_0x335031)};}});const _0x85e0e3=_0x343bcb[_0x394e('0xa')]();_0x251788[_0x394e('0x25')][_0x394e('0x45')](_0x394e('0x28'),_0x394e('0x27'),_0x394e('0x2b'),_0x85e0e3),_0x251788[_0x394e('0x25')][_0x394e('0x45')](_0x394e('0x28'),_0x394e('0x1b'),_0x394e('0x2b'),_0x85e0e3);}}
23
+ const _0x42cd=['createRange','options','markerNameToElements','getChild','data','removeAttribute','TableEditing','isBefore','FORMAT_REGULAR_ROW','requires','table','writer','headingColumns','commands','_descriptionFactory','markerRange','registerCustomCallback','getRowIndexes','editing','consumable','getSuggestion','plugins','enableCommand','FORMAT_HEADER_COLUMN','_splitMarkerName','registerDescriptionCallback','markBlockFormat','*Format:*\x20%0','first','TrackChangesEditing','commandParams','value','accept','setAttribute','createPositionAfter','index','includes','createTableWalker','formatBlock','get','nodeBefore','ck-suggestion-marker-','bindElementToMarker','ck-suggestion-marker--active','setTableColumnHeader','highest','createPositionBefore','last','data-suggestion','removeMarker:suggestion','setTableRowHeader','toViewElement','model','from','document','findAncestor','consume','activeMarkers','_suggestionFactory','getColumnIndexes','start','FORMAT_REGULAR_COLUMN','has','commandName','childCount','getSelectionAffectedTableCells','markerName','cell','getAttribute','removeClass','getCellLocation','downcastDispatcher','addClass','change','mapper','forceValue','addMarker:suggestion','stop','parent','FORMAT_HEADER_ROW','TableUtils'];(function(_0x289e67,_0x42cd7f){const _0x2916e6=function(_0x46bfaa){while(--_0x46bfaa){_0x289e67['push'](_0x289e67['shift']());}};_0x2916e6(++_0x42cd7f);}(_0x42cd,0x10e));const _0x2916=function(_0x289e67,_0x42cd7f){_0x289e67=_0x289e67-0x0;let _0x2916e6=_0x42cd[_0x289e67];return _0x2916e6;};import{Plugin as _0x24d612}from'ckeditor5/src/core';import _0x50a7a2 from'./table';import{getTranslation as _0x726731}from'../utils/common-translations';export default class pt extends _0x24d612{static get[_0x2916('0x3f')](){return[_0x50a7a2];}['afterInit'](){const _0x28a4c3=this['editor'];if(!_0x28a4c3[_0x2916('0x4b')][_0x2916('0x23')](_0x2916('0x3c')))return;const _0x104c0f=_0x28a4c3['locale'],_0x53b59f=_0x28a4c3[_0x2916('0x4b')][_0x2916('0xc')](_0x2916('0x2')),_0x3324f5=_0x28a4c3[_0x2916('0x4b')]['get'](_0x2916('0x35')),_0x17b6c8=_0x28a4c3['plugins'][_0x2916('0xc')](_0x50a7a2);function _0x4b3ca0({showActiveMarker:_0x140f85=!0x0,setDataAttribute:_0x11ce78=!0x0}={}){return(_0x1e6119,_0x2cd409,_0x48fc56)=>{const {type:_0x571955,id:_0x49f814}=_0x53b59f[_0x2916('0x4e')](_0x2cd409[_0x2916('0x27')]),_0xcdbb9d=_0x53b59f[_0x2916('0x4a')](_0x49f814);if(!_0xcdbb9d[_0x2916('0x3a')]||'setTableColumnHeader'!=_0xcdbb9d[_0x2916('0x3a')][_0x2916('0x24')])return;if(_0x2cd409['item'])return void _0x1e6119[_0x2916('0x32')]();if(!_0x48fc56[_0x2916('0x49')][_0x2916('0x1d')](_0x2cd409[_0x2916('0x45')],_0x1e6119['name']))return;const _0x354322=_0x2cd409[_0x2916('0x45')][_0x2916('0x21')]['nodeAfter'],_0x5d7063=_0x2cd409[_0x2916('0x45')]['end'][_0x2916('0xd')],_0xd85201=_0x354322['parent'][_0x2916('0x33')],{column:_0x499d7f}=_0x3324f5[_0x2916('0x2b')](_0x354322),{column:_0x88803f}=_0x3324f5['getCellLocation'](_0x5d7063);for(let _0x498513=_0x499d7f;_0x498513<=_0x88803f;_0x498513++){const _0x5e55ba=_0x3324f5['createTableWalker'](_0xd85201,{'column':_0x498513,'includeAllSlots':!0x1});for(const _0x108d46 of _0x5e55ba){const _0x4fa4ef=_0x108d46['cell'],_0x49adc7=_0x48fc56[_0x2916('0x2f')][_0x2916('0x18')](_0x4fa4ef);_0x48fc56[_0x2916('0x41')][_0x2916('0x2d')](_0x2916('0xe')+_0x571955,_0x49adc7),_0x11ce78&&_0x48fc56[_0x2916('0x41')][_0x2916('0x6')]('data-suggestion',_0x49f814,_0x49adc7),_0x48fc56[_0x2916('0x2f')][_0x2916('0xf')](_0x49adc7,_0x2cd409[_0x2916('0x27')]),_0x140f85&&(_0x53b59f[_0x2916('0x1e')][_0x2916('0x9')](_0x2cd409[_0x2916('0x27')])?_0x48fc56[_0x2916('0x41')][_0x2916('0x2d')](_0x2916('0x10'),_0x49adc7):_0x48fc56[_0x2916('0x41')][_0x2916('0x2a')](_0x2916('0x10'),_0x49adc7));}}};}_0x53b59f[_0x2916('0x4c')]('setTableRowHeader',(_0x5dc20d,_0x4d4e2e)=>{const _0x2a99de=_0x3324f5[_0x2916('0x26')](_0x28a4c3[_0x2916('0x19')][_0x2916('0x1b')]['selection']),_0x1abe74=_0x3324f5[_0x2916('0x47')](_0x2a99de),_0x1c0faf=_0x2a99de[0x0][_0x2916('0x1c')](_0x2916('0x40')),_0x3a8b6b=_0x1c0faf['getAttribute']('headingRows')||0x0,_0x466da0=_0x4d4e2e&&null!==_0x4d4e2e[_0x2916('0x30')]?_0x4d4e2e['forceValue']:!_0x28a4c3['commands'][_0x2916('0xc')](_0x2916('0x17'))[_0x2916('0x4')],_0x2f2d8c=_0x466da0?_0x1abe74['last']:_0x1abe74[_0x2916('0x1')],_0x146f48=_0x1c0faf[_0x2916('0x39')](_0x2f2d8c);let _0x33b5f3;if(_0x466da0){const _0x3a98c8=_0x1c0faf[_0x2916('0x39')](_0x3a8b6b);if(_0x146f48[_0x2916('0x8')]<_0x3a98c8[_0x2916('0x8')])return;_0x33b5f3=_0x28a4c3[_0x2916('0x19')][_0x2916('0x36')](_0x28a4c3[_0x2916('0x19')][_0x2916('0x13')](_0x3a98c8[_0x2916('0x39')](0x0)),_0x28a4c3[_0x2916('0x19')]['createPositionAfter'](_0x146f48[_0x2916('0x39')](_0x146f48[_0x2916('0x25')]-0x1)));}else{const _0x4b5060=_0x1c0faf[_0x2916('0x39')](_0x3a8b6b-0x1);if(!_0x4b5060)return;_0x33b5f3=_0x28a4c3[_0x2916('0x19')][_0x2916('0x36')](_0x28a4c3['model'][_0x2916('0x13')](_0x146f48[_0x2916('0x39')](0x0)),_0x28a4c3[_0x2916('0x19')][_0x2916('0x7')](_0x4b5060[_0x2916('0x39')](_0x4b5060['childCount']-0x1)));}_0x28a4c3['model'][_0x2916('0x2e')](()=>{_0x53b59f[_0x2916('0x50')](_0x33b5f3,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x466da0}]},[],_0x2916('0x17'));});}),_0x53b59f['enableCommand'](_0x2916('0x11'),(_0x5d48b8,_0x13bd90)=>{const _0x5ed8a9=_0x28a4c3['plugins']['get'](_0x2916('0x35')),_0xf33bb2=_0x5ed8a9[_0x2916('0x26')](_0x28a4c3[_0x2916('0x19')][_0x2916('0x1b')]['selection']),_0x3fbcd1=_0x5ed8a9[_0x2916('0x20')](_0xf33bb2),_0xc32243=_0xf33bb2[0x0][_0x2916('0x1c')]('table'),_0x4f37cf=_0xc32243[_0x2916('0x29')](_0x2916('0x42'))||0x0,_0x5c7033=_0x13bd90&&null!==_0x13bd90[_0x2916('0x30')]?_0x13bd90['forceValue']:!_0x28a4c3[_0x2916('0x43')][_0x2916('0xc')](_0x2916('0x11'))['value'];let _0x2f4289;const _0x33b821=_0xc32243[_0x2916('0x39')](0x0),_0x2c980a=_0x5c7033?_0x3fbcd1[_0x2916('0x14')]:_0x3fbcd1[_0x2916('0x1')],_0x4ed382=_0x5ed8a9[_0x2916('0xa')](_0xc32243,{'startRow':0x0,'column':_0x2c980a,'includeAllSlots':!0x1}),_0x4e9132=Array[_0x2916('0x1a')](_0x4ed382)[0x0][_0x2916('0x28')];if(_0x5c7033){const _0x57595d=_0x33b821[_0x2916('0x39')](_0x4f37cf);if(_0x4e9132[_0x2916('0x3d')](_0x57595d))return;_0x2f4289=_0x28a4c3[_0x2916('0x19')][_0x2916('0x36')](_0x28a4c3['model'][_0x2916('0x13')](_0x57595d),_0x28a4c3['model'][_0x2916('0x7')](_0x4e9132));}else{const _0x3540fb=_0x33b821[_0x2916('0x39')](_0x4f37cf-0x1);if(!_0x3540fb)return;_0x2f4289=_0x28a4c3[_0x2916('0x19')][_0x2916('0x36')](_0x28a4c3['model'][_0x2916('0x13')](_0x4e9132),_0x28a4c3[_0x2916('0x19')]['createPositionAfter'](_0x3540fb));}_0x28a4c3[_0x2916('0x19')][_0x2916('0x2e')](()=>{_0x53b59f[_0x2916('0x50')](_0x2f4289,{'commandName':_0x2916('0x11'),'commandParams':[{'forceValue':_0x5c7033}]},[],'setTableColumnHeader');});}),_0x28a4c3[_0x2916('0x48')][_0x2916('0x2c')]['on'](_0x2916('0x31'),_0x4b3ca0(),{'priority':'highest'}),_0x28a4c3[_0x2916('0x3a')]['downcastDispatcher']['on'](_0x2916('0x31'),(_0x37f103,_0x324bb5,_0x21fe34)=>{_0x21fe34[_0x2916('0x37')]['showSuggestionHighlights']&&_0x4b3ca0({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x37f103,_0x324bb5,_0x21fe34);},{'priority':_0x2916('0x12')}),_0x28a4c3['editing'][_0x2916('0x2c')]['on'](_0x2916('0x16'),(_0x58c606,_0x1aa580,_0x4562d9)=>{const {type:_0x46e86a,id:_0x3d5150}=_0x53b59f[_0x2916('0x4e')](_0x1aa580[_0x2916('0x27')]),_0x21bb21=_0x53b59f[_0x2916('0x4a')](_0x3d5150);if(!_0x21bb21[_0x2916('0x3a')]||_0x2916('0x11')!=_0x21bb21['data'][_0x2916('0x24')])return;const _0x217a7a=_0x4562d9[_0x2916('0x2f')][_0x2916('0x38')](_0x1aa580[_0x2916('0x27')]);if(_0x217a7a)for(const _0x5cdaf8 of _0x217a7a)_0x4562d9[_0x2916('0x41')][_0x2916('0x2a')](_0x2916('0xe')+_0x46e86a,_0x5cdaf8),_0x4562d9[_0x2916('0x41')][_0x2916('0x2a')](_0x2916('0x10'),_0x5cdaf8),_0x4562d9['writer'][_0x2916('0x3b')](_0x2916('0x15'),_0x5cdaf8),_0x4562d9[_0x2916('0x2f')]['unbindElementFromMarkerName'](_0x5cdaf8,_0x1aa580[_0x2916('0x27')]);},{'priority':_0x2916('0x12')}),_0x53b59f[_0x2916('0x44')][_0x2916('0x4f')](_0x188360=>{const {data:_0x5df4e2}=_0x188360;if(_0x5df4e2){if('setTableRowHeader'==_0x5df4e2['commandName']){const _0x57e171=_0x5df4e2[_0x2916('0x3')][0x0][_0x2916('0x30')];return _0x2975c7(_0x726731(_0x104c0f,_0x57e171?_0x2916('0x34'):_0x2916('0x3e')));}if(_0x2916('0x11')==_0x5df4e2[_0x2916('0x24')]){const _0x326f6a=_0x5df4e2[_0x2916('0x3')][0x0]['forceValue'];return _0x2975c7(_0x726731(_0x104c0f,_0x326f6a?_0x2916('0x4d'):_0x2916('0x22')));}}function _0x2975c7(_0x39c5dc){return{'type':'format','content':_0x726731(_0x104c0f,_0x2916('0x0'),_0x39c5dc)};}});const _0x3cb446=_0x17b6c8['_acceptFormatSuggestionCallbackFactory']();_0x53b59f[_0x2916('0x1f')]['registerCustomCallback'](_0x2916('0xb'),'setTableRowHeader','accept',_0x3cb446),_0x53b59f['_suggestionFactory'][_0x2916('0x46')]('formatBlock',_0x2916('0x11'),_0x2916('0x5'),_0x3cb446);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5858=['element','direction','mergeTableCellUp','from','low','getRanges','isEnabled','change','_suggestionFactory','mergeTableCells','commands','find','subType','forceDefaultExecution','set:isEnabled','setSelection','*Split\x20cell:*\x20vertically','author','getCellLocation','mergeTableCellDown','format','fromRange','size','table','getFirstPosition','findAncestor','has','requires','refresh','tableCell','containsRange','*Split\x20cell:*\x20horizontally','_isForcedDefaultExecutionBlock','value','getSelectionAffectedTableCells','formatBlock','TableUtils','_areMergableCells','map','selection','rootName','execute','TrackChangesEditing','mergeTableCellRight','trackChanges','_acceptFormatSuggestionCallbackFactory','createRangeOn','_descriptionFactory','highest','length','registerDescriptionCallback','accept','*Merge\x20cells*','filter','get','detach','registerCustomCallback','editor','document','createTableWalker','commandName','splitTableCellVertically','horizontally','cell','model','getSuggestions','_tablePostFixingSubtypes','getAncestors','add','TableEditing','root','return','plugins','locale','enableCommand','$graveyard','stop','mergeTableCellLeft','markMultiRangeBlockFormat'];(function(_0x2e5a11,_0x585835){const _0x47467a=function(_0x488099){while(--_0x488099){_0x2e5a11['push'](_0x2e5a11['shift']());}};_0x47467a(++_0x585835);}(_0x5858,0x126));const _0x4746=function(_0x2e5a11,_0x585835){_0x2e5a11=_0x2e5a11-0x0;let _0x47467a=_0x5858[_0x2e5a11];return _0x47467a;};import{Plugin as _0x314e50}from'ckeditor5/src/core';import _0x5ed102 from'./table';import{LiveRange as _0x592b06}from'ckeditor5/src/engine';import{getTranslation as _0x56f006}from'../utils/common-translations';export default class dt extends _0x314e50{static get[_0x4746('0x31')](){return[_0x5ed102];}['afterInit'](){const _0x16c6e3=this[_0x4746('0x0')],_0x5df487=_0x16c6e3[_0x4746('0x7')][_0x4746('0x1')][_0x4746('0x3d')],_0x2c6ca0=_0x16c6e3[_0x4746('0x10')];if(!_0x16c6e3[_0x4746('0xf')][_0x4746('0x30')](_0x4746('0xc')))return;const _0x5b3289=_0x16c6e3[_0x4746('0xf')][_0x4746('0x4c')](_0x4746('0x40')),_0x3cb5d7=_0x16c6e3[_0x4746('0xf')][_0x4746('0x4c')](_0x4746('0x3a')),_0x217e62=_0x16c6e3[_0x4746('0xf')]['get'](_0x5ed102);_0x217e62[_0x4746('0x9')]['push'](_0x4746('0x1f')),_0x5b3289[_0x4746('0x11')](_0x4746('0x1f'),()=>{const _0x532692=_0x3cb5d7[_0x4746('0x38')](_0x16c6e3[_0x4746('0x7')]['document']['selection']);_0x16c6e3[_0x4746('0x7')]['change'](()=>{_0x5b3289['markMultiRangeBlockFormat'](_0x532692,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4746('0x1f'));});}),_0x16c6e3[_0x4746('0x20')][_0x4746('0x4c')](_0x4746('0x1f'))['on'](_0x4746('0x3f'),(_0x39e188,_0x2a17f7)=>{_0x16c6e3['commands']['get'](_0x4746('0x42'))[_0x4746('0x37')]&&(_0x2a17f7[_0x4746('0x47')]>0x0&&_0x2a17f7[_0x2a17f7[_0x4746('0x47')]-0x1]&&_0x2a17f7[_0x2a17f7[_0x4746('0x47')]-0x1][_0x4746('0x23')]||_0x5b3289[_0x4746('0x36')]||this['_areSelectedCellsMergable']()||_0x39e188[_0x4746('0x13')]());},{'priority':_0x4746('0x46')});for(const _0x1692b0 of[_0x4746('0x18'),_0x4746('0x41'),_0x4746('0x29'),_0x4746('0x14')]){const _0x191373=_0x16c6e3[_0x4746('0x20')][_0x4746('0x4c')](_0x1692b0);_0x5b3289[_0x4746('0x11')](_0x1692b0,()=>{const _0x44b60c=_0x16c6e3['model'][_0x4746('0x1')][_0x4746('0x3d')]['getFirstPosition']()[_0x4746('0xa')]()[_0x4746('0x21')](_0x3a21ec=>_0x3a21ec['is'](_0x4746('0x16'),_0x4746('0x33'))),_0x58c984=_0x191373['value'];_0x16c6e3[_0x4746('0x7')][_0x4746('0x1d')](()=>{_0x5b3289[_0x4746('0x15')]([_0x44b60c,_0x58c984],{'commandName':_0x4746('0x1f'),'commandParams':[]},[],_0x4746('0x1f'));});});}for(const _0x4ef1f1 of[_0x4746('0x4'),'splitTableCellHorizontally']){const _0x9b76f=_0x16c6e3['commands'][_0x4746('0x4c')](_0x4ef1f1);_0x5b3289[_0x4746('0x11')](_0x4ef1f1,()=>{const _0x463456=_0x3cb5d7['getSelectionAffectedTableCells'](_0x16c6e3[_0x4746('0x7')][_0x4746('0x1')][_0x4746('0x3d')])[0x0],_0x51ef66=_0x463456[_0x4746('0x2f')](_0x4746('0x2d')),{column:_0x4f9850,row:_0x4c33e3}=_0x3cb5d7[_0x4746('0x28')](_0x463456);let _0x369f86=[];if(_0x4746('0x5')==_0x9b76f[_0x4746('0x17')]){const _0xb7a17=_0x3cb5d7[_0x4746('0x2')](_0x51ef66,{'startRow':_0x4c33e3,'endRow':_0x4c33e3,'includeAllSlots':!0x0});_0x369f86=Array[_0x4746('0x19')](_0xb7a17)['map'](_0x55fde9=>_0x55fde9[_0x4746('0x6')]);}else{const _0x574424=_0x3cb5d7[_0x4746('0x2')](_0x51ef66,{'column':_0x4f9850,'includeAllSlots':!0x0});_0x369f86=Array[_0x4746('0x19')](_0x574424)[_0x4746('0x3c')](_0x166d4f=>_0x166d4f[_0x4746('0x6')]);}_0x16c6e3[_0x4746('0x7')][_0x4746('0x1d')](_0x1dc600=>{_0x5b3289['markBlockFormat'](_0x1dc600[_0x4746('0x44')](_0x463456),{'commandName':_0x4ef1f1,'commandParams':[]},_0x369f86,_0x4ef1f1);});});}_0x5b3289[_0x4746('0x45')][_0x4746('0x48')](_0x18a675=>{const {data:_0x4ac46a}=_0x18a675;if(_0x4ac46a)return _0x4746('0x1f')==_0x4ac46a[_0x4746('0x3')]?{'type':_0x4746('0x2a'),'content':_0x56f006(_0x2c6ca0,_0x4746('0x4a'))}:void 0x0;}),_0x5b3289['_descriptionFactory'][_0x4746('0x48')](_0x4f4598=>{const {data:_0x49f9b1}=_0x4f4598;if(_0x49f9b1)return _0x4746('0x4')==_0x49f9b1[_0x4746('0x3')]?{'type':_0x4746('0x2a'),'content':_0x56f006(_0x2c6ca0,_0x4746('0x26'))}:'splitTableCellHorizontally'==_0x49f9b1[_0x4746('0x3')]?{'type':_0x4746('0x2a'),'content':_0x56f006(_0x2c6ca0,_0x4746('0x35'))}:void 0x0;});const _0x4f9de8=_0x217e62[_0x4746('0x43')]();for(const _0x428508 of[_0x4746('0x18'),_0x4746('0x41'),_0x4746('0x29'),_0x4746('0x14')])_0x5b3289[_0x4746('0x1e')][_0x4746('0x4e')](_0x4746('0x39'),_0x428508,_0x4746('0x49'),_0x4f9de8);for(const _0x2158cc of[_0x4746('0x4'),'splitTableCellHorizontally'])_0x5b3289[_0x4746('0x1e')][_0x4746('0x4e')](_0x4746('0x39'),_0x2158cc,_0x4746('0x49'),_0x4f9de8);_0x5b3289['_suggestionFactory'][_0x4746('0x4e')](_0x4746('0x39'),'mergeTableCells',_0x4746('0x49'),_0x3fd122=>{_0x16c6e3[_0x4746('0x7')][_0x4746('0x1d')](_0x34c3c1=>{const _0x2cca00=Array['from'](_0x5df487[_0x4746('0x1b')]())['map'](_0x196dfc=>_0x592b06[_0x4746('0x2b')](_0x196dfc));_0x34c3c1[_0x4746('0x25')](_0x3fd122),_0x16c6e3[_0x4746('0x20')][_0x4746('0x4c')](_0x4746('0x1f'))[_0x4746('0x32')](),_0x16c6e3['execute'](_0x4746('0x1f'),{'forceDefaultExecution':!0x0});const _0x11136a=_0x2cca00[_0x4746('0x4b')](_0x26dde7=>_0x4746('0x12')!=_0x26dde7[_0x4746('0xd')][_0x4746('0x3e')]);_0x11136a[_0x4746('0x47')]>0x0&&_0x34c3c1[_0x4746('0x25')](_0x11136a);for(const _0x470846 of _0x2cca00)_0x470846[_0x4746('0x4d')]();});});for(const _0x493209 of[_0x4746('0x18'),_0x4746('0x29'),_0x4746('0x14'),_0x4746('0x41')]){const _0x13bb8e=_0x16c6e3[_0x4746('0x20')][_0x4746('0x4c')](_0x493209);_0x13bb8e['on'](_0x4746('0x24'),(_0x18481e,_0x2e17ce,_0x25780d)=>{if(_0x25780d){const _0x16ce4a=_0x16c6e3[_0x4746('0x7')][_0x4746('0x1')][_0x4746('0x3d')][_0x4746('0x2e')]()[_0x4746('0xa')]()[_0x4746('0x21')](_0x2e9cfa=>_0x2e9cfa['is'](_0x4746('0x16'),_0x4746('0x33')));this[_0x4746('0x3b')](_0x13bb8e['value'],_0x16ce4a)||(_0x18481e[_0x4746('0xe')]=!0x1,_0x18481e[_0x4746('0x13')]());}},{'priority':_0x4746('0x1a')});}}['_areSelectedCellsMergable'](){const _0x1a6afd=this[_0x4746('0x0')][_0x4746('0x20')]['get']('mergeTableCells'),_0x308853=this[_0x4746('0x0')][_0x4746('0xf')]['get']('TableUtils');if(!_0x1a6afd[_0x4746('0x1c')])return!0x1;const _0x2b188c=_0x308853[_0x4746('0x38')](this[_0x4746('0x0')][_0x4746('0x7')][_0x4746('0x1')][_0x4746('0x3d')]);for(const _0x350aaa of _0x2b188c)for(const _0x36f260 of _0x2b188c)if(_0x350aaa!=_0x36f260&&!this[_0x4746('0x3b')](_0x350aaa,_0x36f260))return!0x1;return!0x0;}[_0x4746('0x3b')](_0x16c7bf,_0x2ac3ae){const _0x36dbf2=this[_0x4746('0x0')][_0x4746('0xf')][_0x4746('0x4c')](_0x4746('0x40')),_0x1bfa33=this[_0x4746('0x0')][_0x4746('0x7')][_0x4746('0x44')](_0x16c7bf),_0x376fab=this[_0x4746('0x0')][_0x4746('0x7')][_0x4746('0x44')](_0x2ac3ae),_0x27bd4a=new Set(),_0x26a261=new Set();for(const _0xaca5a3 of _0x36dbf2[_0x4746('0x8')]())if(('insertion'==_0xaca5a3['type']||'deletion'==_0xaca5a3['type']||_0x4746('0x1f')==_0xaca5a3[_0x4746('0x22')])&&_0xaca5a3['isInContent'])for(const _0x3bba2a of _0xaca5a3[_0x4746('0x1b')]())_0x3bba2a[_0x4746('0x34')](_0x1bfa33,!0x0)&&_0x27bd4a[_0x4746('0xb')](_0xaca5a3['type']+':'+_0xaca5a3[_0x4746('0x27')]['id']),_0x3bba2a[_0x4746('0x34')](_0x376fab,!0x0)&&_0x26a261[_0x4746('0xb')](_0xaca5a3['type']+':'+_0xaca5a3[_0x4746('0x27')]['id']);if(_0x27bd4a[_0x4746('0x2c')]!=_0x26a261[_0x4746('0x2c')])return!0x1;for(const _0x37e4a2 of _0x27bd4a)if(!_0x26a261[_0x4746('0x30')](_0x37e4a2))return!0x1;return!0x0;}}
23
+ const _0x20da=['element','fromRange','_isForcedDefaultExecutionBlock','author','splitTableCellVertically','getSuggestions','*Split\x20cell:*\x20horizontally','push','document','value','*Merge\x20cells*','plugins','mergeTableCellDown','mergeTableCells','TrackChangesEditing','tableCell','requires','splitTableCellHorizontally','detach','createRangeOn','get','commands','table','TableUtils','trackChanges','*Split\x20cell:*\x20vertically','_areSelectedCellsMergable','low','formatBlock','mergeTableCellUp','change','forceDefaultExecution','_tablePostFixingSubtypes','length','_descriptionFactory','subType','mergeTableCellLeft','getCellLocation','execute','mergeTableCellRight','filter','registerCustomCallback','rootName','model','$graveyard','type','_areMergableCells','createTableWalker','getSelectionAffectedTableCells','getFirstPosition','direction','horizontally','TableEditing','selection','map','stop','afterInit','accept','from','isInContent','enableCommand','root','registerDescriptionCallback','containsRange','find','return','setSelection','cell','commandName','editor','markBlockFormat','isEnabled','set:isEnabled','format','size','_suggestionFactory','markMultiRangeBlockFormat','getAncestors','highest','add'];(function(_0x1c1ea7,_0x20da1f){const _0x32111d=function(_0x154714){while(--_0x154714){_0x1c1ea7['push'](_0x1c1ea7['shift']());}};_0x32111d(++_0x20da1f);}(_0x20da,0xda));const _0x3211=function(_0x1c1ea7,_0x20da1f){_0x1c1ea7=_0x1c1ea7-0x0;let _0x32111d=_0x20da[_0x1c1ea7];return _0x32111d;};import{Plugin as _0x48e3a1}from'ckeditor5/src/core';import _0x2dc283 from'./table';import{LiveRange as _0x27a45b}from'ckeditor5/src/engine';import{getTranslation as _0x52c3d8}from'../utils/common-translations';export default class dt extends _0x48e3a1{static get[_0x3211('0x26')](){return[_0x2dc283];}[_0x3211('0x4e')](){const _0x4c700e=this[_0x3211('0xb')],_0x42d11a=_0x4c700e[_0x3211('0x41')][_0x3211('0x1e')][_0x3211('0x4b')],_0x2a92f4=_0x4c700e['locale'];if(!_0x4c700e[_0x3211('0x21')]['has'](_0x3211('0x4a')))return;const _0x4b9bb1=_0x4c700e[_0x3211('0x21')][_0x3211('0x2a')](_0x3211('0x24')),_0x1012c4=_0x4c700e[_0x3211('0x21')][_0x3211('0x2a')](_0x3211('0x2d')),_0x218fb0=_0x4c700e[_0x3211('0x21')][_0x3211('0x2a')](_0x2dc283);_0x218fb0[_0x3211('0x36')][_0x3211('0x1d')](_0x3211('0x23')),_0x4b9bb1[_0x3211('0x2')]('mergeTableCells',()=>{const _0xab3baf=_0x1012c4[_0x3211('0x46')](_0x4c700e['model']['document'][_0x3211('0x4b')]);_0x4c700e[_0x3211('0x41')]['change'](()=>{_0x4b9bb1['markMultiRangeBlockFormat'](_0xab3baf,{'commandName':_0x3211('0x23'),'commandParams':[]},[],_0x3211('0x23'));});}),_0x4c700e['commands'][_0x3211('0x2a')]('mergeTableCells')['on'](_0x3211('0x3c'),(_0xa790d2,_0x3c3020)=>{_0x4c700e[_0x3211('0x2b')][_0x3211('0x2a')](_0x3211('0x2e'))['value']&&(_0x3c3020[_0x3211('0x37')]>0x0&&_0x3c3020[_0x3c3020[_0x3211('0x37')]-0x1]&&_0x3c3020[_0x3c3020['length']-0x1][_0x3211('0x35')]||_0x4b9bb1[_0x3211('0x18')]||this[_0x3211('0x30')]()||_0xa790d2['stop']());},{'priority':_0x3211('0x14')});for(const _0x5baf12 of[_0x3211('0x33'),'mergeTableCellRight',_0x3211('0x22'),_0x3211('0x3a')]){const _0x31b8ef=_0x4c700e['commands'][_0x3211('0x2a')](_0x5baf12);_0x4b9bb1['enableCommand'](_0x5baf12,()=>{const _0x1ff342=_0x4c700e[_0x3211('0x41')]['document'][_0x3211('0x4b')][_0x3211('0x47')]()[_0x3211('0x13')]()['find'](_0x1a2a3b=>_0x1a2a3b['is'](_0x3211('0x16'),_0x3211('0x25'))),_0x225eac=_0x31b8ef[_0x3211('0x1f')];_0x4c700e[_0x3211('0x41')][_0x3211('0x34')](()=>{_0x4b9bb1[_0x3211('0x12')]([_0x1ff342,_0x225eac],{'commandName':_0x3211('0x23'),'commandParams':[]},[],_0x3211('0x23'));});});}for(const _0x2a7dd7 of[_0x3211('0x1a'),'splitTableCellHorizontally']){const _0x56a89a=_0x4c700e[_0x3211('0x2b')][_0x3211('0x2a')](_0x2a7dd7);_0x4b9bb1[_0x3211('0x2')](_0x2a7dd7,()=>{const _0x2785ab=_0x1012c4[_0x3211('0x46')](_0x4c700e[_0x3211('0x41')][_0x3211('0x1e')][_0x3211('0x4b')])[0x0],_0x49c903=_0x2785ab['findAncestor'](_0x3211('0x2c')),{column:_0x2d9a4c,row:_0x2d8cb9}=_0x1012c4[_0x3211('0x3b')](_0x2785ab);let _0x52c495=[];if(_0x3211('0x49')==_0x56a89a[_0x3211('0x48')]){const _0x3ae52d=_0x1012c4['createTableWalker'](_0x49c903,{'startRow':_0x2d8cb9,'endRow':_0x2d8cb9,'includeAllSlots':!0x0});_0x52c495=Array[_0x3211('0x0')](_0x3ae52d)[_0x3211('0x4c')](_0x2551b6=>_0x2551b6[_0x3211('0x9')]);}else{const _0x2aa4c2=_0x1012c4[_0x3211('0x45')](_0x49c903,{'column':_0x2d9a4c,'includeAllSlots':!0x0});_0x52c495=Array[_0x3211('0x0')](_0x2aa4c2)[_0x3211('0x4c')](_0x5c4c98=>_0x5c4c98['cell']);}_0x4c700e[_0x3211('0x41')][_0x3211('0x34')](_0x5501d8=>{_0x4b9bb1[_0x3211('0xc')](_0x5501d8[_0x3211('0x29')](_0x2785ab),{'commandName':_0x2a7dd7,'commandParams':[]},_0x52c495,_0x2a7dd7);});});}_0x4b9bb1[_0x3211('0x38')][_0x3211('0x4')](_0x31eb68=>{const {data:_0x4fede1}=_0x31eb68;if(_0x4fede1)return _0x3211('0x23')==_0x4fede1[_0x3211('0xa')]?{'type':_0x3211('0xf'),'content':_0x52c3d8(_0x2a92f4,_0x3211('0x20'))}:void 0x0;}),_0x4b9bb1[_0x3211('0x38')][_0x3211('0x4')](_0x5af0f1=>{const {data:_0x5351af}=_0x5af0f1;if(_0x5351af)return _0x3211('0x1a')==_0x5351af[_0x3211('0xa')]?{'type':_0x3211('0xf'),'content':_0x52c3d8(_0x2a92f4,_0x3211('0x2f'))}:_0x3211('0x27')==_0x5351af[_0x3211('0xa')]?{'type':'format','content':_0x52c3d8(_0x2a92f4,_0x3211('0x1c'))}:void 0x0;});const _0xd3f0fc=_0x218fb0['_acceptFormatSuggestionCallbackFactory']();for(const _0x223844 of[_0x3211('0x33'),_0x3211('0x3d'),_0x3211('0x22'),'mergeTableCellLeft'])_0x4b9bb1[_0x3211('0x11')][_0x3211('0x3f')](_0x3211('0x32'),_0x223844,_0x3211('0x4f'),_0xd3f0fc);for(const _0x36d143 of['splitTableCellVertically',_0x3211('0x27')])_0x4b9bb1[_0x3211('0x11')][_0x3211('0x3f')]('formatBlock',_0x36d143,'accept',_0xd3f0fc);_0x4b9bb1[_0x3211('0x11')][_0x3211('0x3f')](_0x3211('0x32'),_0x3211('0x23'),_0x3211('0x4f'),_0x5df78f=>{_0x4c700e['model']['change'](_0x110c7b=>{const _0x32155c=Array[_0x3211('0x0')](_0x42d11a['getRanges']())[_0x3211('0x4c')](_0xee46fc=>_0x27a45b[_0x3211('0x17')](_0xee46fc));_0x110c7b[_0x3211('0x8')](_0x5df78f),_0x4c700e[_0x3211('0x2b')][_0x3211('0x2a')]('mergeTableCells')['refresh'](),_0x4c700e[_0x3211('0x3c')](_0x3211('0x23'),{'forceDefaultExecution':!0x0});const _0x30db94=_0x32155c[_0x3211('0x3e')](_0xa9d1bb=>_0x3211('0x42')!=_0xa9d1bb[_0x3211('0x3')][_0x3211('0x40')]);_0x30db94[_0x3211('0x37')]>0x0&&_0x110c7b[_0x3211('0x8')](_0x30db94);for(const _0x8c7829 of _0x32155c)_0x8c7829[_0x3211('0x28')]();});});for(const _0x9cb9c0 of['mergeTableCellUp',_0x3211('0x22'),_0x3211('0x3a'),'mergeTableCellRight']){const _0x65bd97=_0x4c700e[_0x3211('0x2b')][_0x3211('0x2a')](_0x9cb9c0);_0x65bd97['on'](_0x3211('0xe'),(_0x21fc26,_0x4fedab,_0x52afb9)=>{if(_0x52afb9){const _0x23e767=_0x4c700e[_0x3211('0x41')][_0x3211('0x1e')]['selection'][_0x3211('0x47')]()[_0x3211('0x13')]()[_0x3211('0x6')](_0x3939aa=>_0x3939aa['is'](_0x3211('0x16'),'tableCell'));this[_0x3211('0x44')](_0x65bd97[_0x3211('0x1f')],_0x23e767)||(_0x21fc26[_0x3211('0x7')]=!0x1,_0x21fc26[_0x3211('0x4d')]());}},{'priority':_0x3211('0x31')});}}[_0x3211('0x30')](){const _0x394df9=this[_0x3211('0xb')][_0x3211('0x2b')]['get'](_0x3211('0x23')),_0x17a557=this[_0x3211('0xb')][_0x3211('0x21')][_0x3211('0x2a')]('TableUtils');if(!_0x394df9[_0x3211('0xd')])return!0x1;const _0x1da51e=_0x17a557[_0x3211('0x46')](this[_0x3211('0xb')]['model'][_0x3211('0x1e')][_0x3211('0x4b')]);for(const _0xdc3733 of _0x1da51e)for(const _0x1f7b69 of _0x1da51e)if(_0xdc3733!=_0x1f7b69&&!this[_0x3211('0x44')](_0xdc3733,_0x1f7b69))return!0x1;return!0x0;}[_0x3211('0x44')](_0x289412,_0x18c160){const _0x153407=this[_0x3211('0xb')][_0x3211('0x21')]['get']('TrackChangesEditing'),_0xc68f2b=this[_0x3211('0xb')][_0x3211('0x41')][_0x3211('0x29')](_0x289412),_0x214ef6=this['editor']['model'][_0x3211('0x29')](_0x18c160),_0x4ecbac=new Set(),_0xe4d10b=new Set();for(const _0x2e408e of _0x153407[_0x3211('0x1b')]())if(('insertion'==_0x2e408e[_0x3211('0x43')]||'deletion'==_0x2e408e['type']||'mergeTableCells'==_0x2e408e[_0x3211('0x39')])&&_0x2e408e[_0x3211('0x1')])for(const _0x1edd38 of _0x2e408e['getRanges']())_0x1edd38[_0x3211('0x5')](_0xc68f2b,!0x0)&&_0x4ecbac['add'](_0x2e408e[_0x3211('0x43')]+':'+_0x2e408e['author']['id']),_0x1edd38[_0x3211('0x5')](_0x214ef6,!0x0)&&_0xe4d10b[_0x3211('0x15')](_0x2e408e['type']+':'+_0x2e408e[_0x3211('0x19')]['id']);if(_0x4ecbac['size']!=_0xe4d10b[_0x3211('0x10')])return!0x1;for(const _0x5c2655 of _0x4ecbac)if(!_0xe4d10b['has'](_0x5c2655))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e24=['_descriptionFactory','plugins','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','get','editor','TrackChangesEditing','commands','registerElementLabel','locale','insertTableOfContents'];(function(_0x4e7388,_0x5e24b2){const _0x1d1b7a=function(_0x25c254){while(--_0x25c254){_0x4e7388['push'](_0x4e7388['shift']());}};_0x1d1b7a(++_0x5e24b2);}(_0x5e24,0x1ad));const _0x1d1b=function(_0x4e7388,_0x5e24b2){_0x4e7388=_0x4e7388-0x0;let _0x1d1b7a=_0x5e24[_0x4e7388];return _0x1d1b7a;};import{Plugin as _0xd35047}from'ckeditor5/src/core';import{getTranslation as _0x10a33a}from'../utils/common-translations';export default class bt extends _0xd35047{['afterInit'](){const _0x341454=this[_0x1d1b('0x5')];if(!_0x341454[_0x1d1b('0x7')][_0x1d1b('0x4')](_0x1d1b('0xa')))return;_0x341454[_0x1d1b('0x1')][_0x1d1b('0x4')](_0x1d1b('0x6'))['enableCommand'](_0x1d1b('0xa'));const _0x3a8e24=_0x341454[_0x1d1b('0x1')][_0x1d1b('0x4')](_0x1d1b('0x6')),_0x562d13=_0x341454[_0x1d1b('0x9')];_0x3a8e24[_0x1d1b('0x0')][_0x1d1b('0x8')](_0x1d1b('0x2'),_0x2d2b40=>_0x10a33a(_0x562d13,_0x1d1b('0x3'),_0x2d2b40));}}
23
+ const _0xa2d3=['commands','enableCommand','get','plugins','TrackChangesEditing','insertTableOfContents','tableOfContents','afterInit','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','locale'];(function(_0x4a4d96,_0xa2d37){const _0x3a0e5c=function(_0x407f36){while(--_0x407f36){_0x4a4d96['push'](_0x4a4d96['shift']());}};_0x3a0e5c(++_0xa2d37);}(_0xa2d3,0x19c));const _0x3a0e=function(_0x4a4d96,_0xa2d37){_0x4a4d96=_0x4a4d96-0x0;let _0x3a0e5c=_0xa2d3[_0x4a4d96];return _0x3a0e5c;};import{Plugin as _0x15466b}from'ckeditor5/src/core';import{getTranslation as _0xb8d599}from'../utils/common-translations';export default class bt extends _0x15466b{[_0x3a0e('0x2')](){const _0x4c473b=this['editor'];if(!_0x4c473b[_0x3a0e('0x6')][_0x3a0e('0x8')](_0x3a0e('0x0')))return;_0x4c473b[_0x3a0e('0x9')][_0x3a0e('0x8')]('TrackChangesEditing')[_0x3a0e('0x7')](_0x3a0e('0x0'));const _0x2fd855=_0x4c473b[_0x3a0e('0x9')][_0x3a0e('0x8')](_0x3a0e('0xa')),_0x508c5a=_0x4c473b[_0x3a0e('0x5')];_0x2fd855['_descriptionFactory'][_0x3a0e('0x3')](_0x3a0e('0x1'),_0xf6d763=>_0xb8d599(_0x508c5a,_0x3a0e('0x4'),_0xf6d763));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4129=['plugins','*Format:*\x20change\x20table\x20cell\x20properties','locale','tableAlignment','tableBorderWidth','batch','tableCellBorderColor','_suggestionFactory','accept','*Format:*\x20change\x20table\x20properties','getSuggestions','tableHeight','commandParams','handleSuggestionDescription','nodeAfter','TrackChangesEditing','change','has','discard','tableCellHeight','_handlePropertyChange','model','getSelectionAffectedTableCells','get','enableCommand','removeAttribute','formatBlock','pluginName','tableProperties','handleDiscardAction','findAncestor','editor','afterInit','getFirstPosition','TableUtils','table','tableCellHorizontalAlignment','_descriptionFactory','getContainedElement','start','selection','getSuggestionCallback','subType','tableWidth','document','tableCellProperties','markBlockFormat','TablePropertiesEditing','tableBorderStyle','TableCellPropertiesEditing','_getSuggestion','registerCustomCallback','tableCellWidth','join','format','tableCellBorderStyle','tableBorderColor'];(function(_0x57c296,_0x412928){const _0x177be6=function(_0x5d51e5){while(--_0x5d51e5){_0x57c296['push'](_0x57c296['shift']());}};_0x177be6(++_0x412928);}(_0x4129,0x1d5));const _0x177b=function(_0x57c296,_0x412928){_0x57c296=_0x57c296-0x0;let _0x177be6=_0x4129[_0x57c296];return _0x177be6;};import{Plugin as _0x5eb905}from'ckeditor5/src/core';import{getTranslation as _0x2c2be2}from'../utils/common-translations';export default class Ct extends _0x5eb905{constructor(_0x101202){super(_0x101202),this['tableProperties']=[_0x177b('0x2b'),_0x177b('0x23'),_0x177b('0x30'),_0x177b('0x2f'),_0x177b('0x1e'),_0x177b('0x37'),'tableBackgroundColor'],this[_0x177b('0x20')]=[_0x177b('0x32'),_0x177b('0x2a'),'tableCellBorderWidth','tableCellPadding',_0x177b('0x27'),_0x177b('0x6'),'tableCellBackgroundColor',_0x177b('0x17'),'tableCellVerticalAlignment'];}static get[_0x177b('0xe')](){return'TrackChangesTableProperties';}[_0x177b('0x13')](){const _0x1ca4e7=this['editor']['plugins']['get']('TrackChangesEditing');if(this[_0x177b('0x12')]['plugins'][_0x177b('0x4')](_0x177b('0x22'))){for(const _0x453015 of this[_0x177b('0xf')])_0x1ca4e7['enableCommand'](_0x453015,(_0x20feeb,_0x1f87ef)=>{const _0xe01cab=this[_0x177b('0x12')]['model'][_0x177b('0x1f')]['selection'][_0x177b('0x14')]()[_0x177b('0x11')](_0x177b('0x16'));this[_0x177b('0x7')](_0x453015,[_0xe01cab],this[_0x177b('0xf')],_0x177b('0xf'),_0x20feeb,_0x1f87ef);});_0x1ca4e7['_suggestionFactory'][_0x177b('0x26')](_0x177b('0xd'),_0x177b('0xf'),_0x177b('0x34'),_0x1ca4e7[_0x177b('0x33')]['getSuggestionCallback'](_0x177b('0xd'),null,_0x177b('0x5'))),_0x1ca4e7[_0x177b('0x33')]['registerCustomCallback'](_0x177b('0xd'),_0x177b('0xf'),'discard',(_0x4e01a2,_0x2249fa)=>this[_0x177b('0x10')](this['tableProperties'],_0x4e01a2,_0x2249fa)),_0x1ca4e7[_0x177b('0x33')][_0x177b('0x26')](_0x177b('0xd'),_0x177b('0xf'),'join',()=>!0x1);}if(this[_0x177b('0x12')][_0x177b('0x2c')][_0x177b('0x4')](_0x177b('0x24'))){for(const _0x4a4b9b of this['tableCellProperties'])_0x1ca4e7[_0x177b('0xb')](_0x4a4b9b,(_0x16df2d,_0x4d904f)=>{const _0x329a9b=this[_0x177b('0x12')][_0x177b('0x2c')]['get'](_0x177b('0x15'))[_0x177b('0x9')](this[_0x177b('0x12')][_0x177b('0x8')][_0x177b('0x1f')][_0x177b('0x1b')]);this['_handlePropertyChange'](_0x4a4b9b,_0x329a9b,this['tableCellProperties'],_0x177b('0x20'),_0x16df2d,_0x4d904f);});_0x1ca4e7[_0x177b('0x33')]['registerCustomCallback']('formatBlock',_0x177b('0x20'),_0x177b('0x34'),_0x1ca4e7['_suggestionFactory'][_0x177b('0x1c')](_0x177b('0xd'),null,_0x177b('0x5'))),_0x1ca4e7[_0x177b('0x33')][_0x177b('0x26')](_0x177b('0xd'),_0x177b('0x20'),_0x177b('0x5'),(_0x442077,_0x300da0)=>this[_0x177b('0x10')](this[_0x177b('0x20')],_0x442077,_0x300da0)),_0x1ca4e7[_0x177b('0x33')][_0x177b('0x26')](_0x177b('0xd'),_0x177b('0x20'),_0x177b('0x28'),()=>!0x1);}_0x1ca4e7[_0x177b('0x18')]['registerDescriptionCallback'](_0x2c53a3=>this[_0x177b('0x0')](_0x2c53a3));}['_handlePropertyChange'](_0x490a91,_0x2daf66,_0x1f4854,_0x489776,_0x4a36e9,_0x19058b){const _0x3a36a1=this[_0x177b('0x12')][_0x177b('0x2c')]['get']('TrackChangesEditing');this[_0x177b('0x12')][_0x177b('0x8')]['enqueueChange'](_0x19058b[_0x177b('0x31')],()=>{for(const _0x5c9154 of _0x2daf66){if(this[_0x177b('0x25')](_0x5c9154,_0x489776))_0x4a36e9(_0x19058b);else{const _0x303b63={};for(const _0x45b7da of _0x1f4854){const _0x215236=_0x5c9154['getAttribute'](_0x45b7da);void 0x0!==_0x215236&&(_0x303b63[_0x45b7da]=_0x215236);}_0x4a36e9(_0x19058b),_0x3a36a1[_0x177b('0x21')](_0x5c9154,{'commandParams':[_0x303b63]},[],_0x489776);}}});}['handleDiscardAction'](_0x202051,_0x316abe,_0x20d156){const _0x35cc0e=_0x316abe[0x0][_0x177b('0x1a')][_0x177b('0x1')],_0x307dd3=_0x20d156[_0x177b('0x38')][0x0];this[_0x177b('0x12')][_0x177b('0x8')][_0x177b('0x3')](_0x4aad8d=>{for(const _0x4c3af5 of _0x202051)void 0x0!==_0x307dd3[_0x4c3af5]?_0x4aad8d['setAttribute'](_0x4c3af5,_0x307dd3[_0x4c3af5],_0x35cc0e):_0x4aad8d[_0x177b('0xc')](_0x4c3af5,_0x35cc0e);});}['handleSuggestionDescription'](_0x127b82){if(_0x127b82['data'])switch(_0x127b82[_0x177b('0x1d')]){case _0x177b('0xf'):return{'type':_0x177b('0x29'),'content':_0x2c2be2(this['editor'][_0x177b('0x2e')],_0x177b('0x35'))};case _0x177b('0x20'):return{'type':_0x177b('0x29'),'content':_0x2c2be2(this[_0x177b('0x12')][_0x177b('0x2e')],_0x177b('0x2d'))};}}[_0x177b('0x25')](_0x310451,_0xa79fec){const _0x148739=this[_0x177b('0x12')][_0x177b('0x2c')][_0x177b('0xa')](_0x177b('0x2'));for(const _0x593771 of _0x148739[_0x177b('0x36')]({'skipNotAttached':!0x0})){const _0x5a9fda=_0x593771[_0x177b('0x19')]();if(_0x593771['subType']===_0xa79fec&&_0x5a9fda===_0x310451)return _0x593771;}return null;}}
23
+ const _0x5683=['TrackChangesEditing','tableCellBorderStyle','discard','_handlePropertyChange','handleDiscardAction','tableBackgroundColor','model','batch','handleSuggestionDescription','tableCellBorderColor','getAttribute','tableCellWidth','tableProperties','getSuggestionCallback','enableCommand','pluginName','data','get','nodeAfter','_descriptionFactory','accept','tableBorderColor','editor','enqueueChange','getFirstPosition','subType','tableCellHeight','plugins','locale','removeAttribute','formatBlock','_suggestionFactory','change','getSuggestions','tableBorderWidth','markBlockFormat','tableCellPadding','table','*Format:*\x20change\x20table\x20cell\x20properties','TableCellPropertiesEditing','tableCellProperties','tableBorderStyle','format','tableCellBackgroundColor','afterInit','findAncestor','tableAlignment','document','has','registerCustomCallback','getContainedElement','tableHeight','join','selection','tableCellVerticalAlignment','_getSuggestion','tableCellHorizontalAlignment'];(function(_0x31e1fc,_0x568394){const _0xaf4753=function(_0x593840){while(--_0x593840){_0x31e1fc['push'](_0x31e1fc['shift']());}};_0xaf4753(++_0x568394);}(_0x5683,0x71));const _0xaf47=function(_0x31e1fc,_0x568394){_0x31e1fc=_0x31e1fc-0x0;let _0xaf4753=_0x5683[_0x31e1fc];return _0xaf4753;};import{Plugin as _0x18e352}from'ckeditor5/src/core';import{getTranslation as _0x16d45e}from'../utils/common-translations';export default class Ct extends _0x18e352{constructor(_0x2bc5b2){super(_0x2bc5b2),this['tableProperties']=[_0xaf47('0x16'),_0xaf47('0x2a'),_0xaf47('0x23'),_0xaf47('0x2f'),'tableWidth',_0xaf47('0x34'),_0xaf47('0x6')],this[_0xaf47('0x29')]=[_0xaf47('0xa'),_0xaf47('0x2'),'tableCellBorderWidth',_0xaf47('0x25'),_0xaf47('0xc'),_0xaf47('0x1b'),_0xaf47('0x2c'),_0xaf47('0x0'),_0xaf47('0x37')];}static get[_0xaf47('0x10')](){return'TrackChangesTableProperties';}[_0xaf47('0x2d')](){const _0x523cbc=this[_0xaf47('0x17')][_0xaf47('0x1c')][_0xaf47('0x12')](_0xaf47('0x1'));if(this['editor'][_0xaf47('0x1c')]['has']('TablePropertiesEditing')){for(const _0x2b025d of this['tableProperties'])_0x523cbc[_0xaf47('0xf')](_0x2b025d,(_0x3b68fe,_0x2635fc)=>{const _0x24cbdb=this['editor']['model'][_0xaf47('0x30')][_0xaf47('0x36')][_0xaf47('0x19')]()[_0xaf47('0x2e')](_0xaf47('0x26'));this['_handlePropertyChange'](_0x2b025d,[_0x24cbdb],this[_0xaf47('0xd')],'tableProperties',_0x3b68fe,_0x2635fc);});_0x523cbc[_0xaf47('0x20')][_0xaf47('0x32')](_0xaf47('0x1f'),_0xaf47('0xd'),'accept',_0x523cbc['_suggestionFactory'][_0xaf47('0xe')](_0xaf47('0x1f'),null,_0xaf47('0x3'))),_0x523cbc[_0xaf47('0x20')][_0xaf47('0x32')](_0xaf47('0x1f'),_0xaf47('0xd'),_0xaf47('0x3'),(_0x326262,_0x2de036)=>this[_0xaf47('0x5')](this[_0xaf47('0xd')],_0x326262,_0x2de036)),_0x523cbc[_0xaf47('0x20')][_0xaf47('0x32')](_0xaf47('0x1f'),_0xaf47('0xd'),_0xaf47('0x35'),()=>!0x1);}if(this[_0xaf47('0x17')][_0xaf47('0x1c')][_0xaf47('0x31')](_0xaf47('0x28'))){for(const _0x8583d of this[_0xaf47('0x29')])_0x523cbc[_0xaf47('0xf')](_0x8583d,(_0x27dbca,_0x4a1da1)=>{const _0x4deb39=this[_0xaf47('0x17')][_0xaf47('0x1c')][_0xaf47('0x12')]('TableUtils')['getSelectionAffectedTableCells'](this['editor'][_0xaf47('0x7')][_0xaf47('0x30')][_0xaf47('0x36')]);this[_0xaf47('0x4')](_0x8583d,_0x4deb39,this['tableCellProperties'],_0xaf47('0x29'),_0x27dbca,_0x4a1da1);});_0x523cbc[_0xaf47('0x20')][_0xaf47('0x32')](_0xaf47('0x1f'),'tableCellProperties',_0xaf47('0x15'),_0x523cbc['_suggestionFactory'][_0xaf47('0xe')](_0xaf47('0x1f'),null,'discard')),_0x523cbc[_0xaf47('0x20')][_0xaf47('0x32')]('formatBlock',_0xaf47('0x29'),_0xaf47('0x3'),(_0x1cb9b5,_0x94718c)=>this[_0xaf47('0x5')](this[_0xaf47('0x29')],_0x1cb9b5,_0x94718c)),_0x523cbc[_0xaf47('0x20')]['registerCustomCallback'](_0xaf47('0x1f'),'tableCellProperties',_0xaf47('0x35'),()=>!0x1);}_0x523cbc[_0xaf47('0x14')]['registerDescriptionCallback'](_0x28272f=>this[_0xaf47('0x9')](_0x28272f));}[_0xaf47('0x4')](_0x383dce,_0x44f66d,_0x27fb19,_0x51dfbe,_0x2a199e,_0x116e4f){const _0x5c014a=this[_0xaf47('0x17')][_0xaf47('0x1c')][_0xaf47('0x12')](_0xaf47('0x1'));this[_0xaf47('0x17')][_0xaf47('0x7')][_0xaf47('0x18')](_0x116e4f[_0xaf47('0x8')],()=>{for(const _0xc31473 of _0x44f66d){if(this['_getSuggestion'](_0xc31473,_0x51dfbe))_0x2a199e(_0x116e4f);else{const _0x1cae3e={};for(const _0x1385c0 of _0x27fb19){const _0x55dcd1=_0xc31473[_0xaf47('0xb')](_0x1385c0);void 0x0!==_0x55dcd1&&(_0x1cae3e[_0x1385c0]=_0x55dcd1);}_0x2a199e(_0x116e4f),_0x5c014a[_0xaf47('0x24')](_0xc31473,{'commandParams':[_0x1cae3e]},[],_0x51dfbe);}}});}['handleDiscardAction'](_0x243618,_0x2f505b,_0x987eac){const _0x117c4f=_0x2f505b[0x0]['start'][_0xaf47('0x13')],_0x193ca0=_0x987eac['commandParams'][0x0];this[_0xaf47('0x17')][_0xaf47('0x7')][_0xaf47('0x21')](_0x588a1e=>{for(const _0x901ba9 of _0x243618)void 0x0!==_0x193ca0[_0x901ba9]?_0x588a1e['setAttribute'](_0x901ba9,_0x193ca0[_0x901ba9],_0x117c4f):_0x588a1e[_0xaf47('0x1e')](_0x901ba9,_0x117c4f);});}[_0xaf47('0x9')](_0x1ccf42){if(_0x1ccf42[_0xaf47('0x11')])switch(_0x1ccf42[_0xaf47('0x1a')]){case _0xaf47('0xd'):return{'type':_0xaf47('0x2b'),'content':_0x16d45e(this[_0xaf47('0x17')][_0xaf47('0x1d')],'*Format:*\x20change\x20table\x20properties')};case _0xaf47('0x29'):return{'type':_0xaf47('0x2b'),'content':_0x16d45e(this[_0xaf47('0x17')][_0xaf47('0x1d')],_0xaf47('0x27'))};}}[_0xaf47('0x38')](_0x596382,_0x24ae60){const _0x59c1ad=this[_0xaf47('0x17')][_0xaf47('0x1c')]['get'](_0xaf47('0x1'));for(const _0x5a8838 of _0x59c1ad[_0xaf47('0x22')]({'skipNotAttached':!0x0})){const _0x357ab1=_0x5a8838[_0xaf47('0x33')]();if(_0x5a8838[_0xaf47('0x1a')]===_0x24ae60&&_0x357ab1===_0x596382)return _0x5a8838;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4adf=['afterInit','enableCommand','get','Template','plugins','has','editor'];(function(_0xbd4c88,_0x4adf77){const _0x49b13d=function(_0x5743ca){while(--_0x5743ca){_0xbd4c88['push'](_0xbd4c88['shift']());}};_0x49b13d(++_0x4adf77);}(_0x4adf,0x95));const _0x49b1=function(_0xbd4c88,_0x4adf77){_0xbd4c88=_0xbd4c88-0x0;let _0x49b13d=_0x4adf[_0xbd4c88];return _0x49b13d;};import{Plugin as _0x57925f}from'ckeditor5/src/core';export default class yt extends _0x57925f{[_0x49b1('0x5')](){const _0x43e49d=this[_0x49b1('0x4')];_0x43e49d[_0x49b1('0x2')][_0x49b1('0x3')](_0x49b1('0x1'))&&_0x43e49d[_0x49b1('0x2')][_0x49b1('0x0')]('TrackChangesEditing')[_0x49b1('0x6')]('insertTemplate');}}
23
+ const _0x206b=['get','plugins','editor','afterInit','Template','has'];(function(_0x10b728,_0x206b52){const _0x656c73=function(_0x54f358){while(--_0x54f358){_0x10b728['push'](_0x10b728['shift']());}};_0x656c73(++_0x206b52);}(_0x206b,0xaa));const _0x656c=function(_0x10b728,_0x206b52){_0x10b728=_0x10b728-0x0;let _0x656c73=_0x206b[_0x10b728];return _0x656c73;};import{Plugin as _0x4dde8d}from'ckeditor5/src/core';export default class yt extends _0x4dde8d{[_0x656c('0x1')](){const _0x4b8c10=this[_0x656c('0x0')];_0x4b8c10[_0x656c('0x5')][_0x656c('0x3')](_0x656c('0x2'))&&_0x4b8c10[_0x656c('0x5')][_0x656c('0x4')]('TrackChangesEditing')['enableCommand']('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd8ca=['suggestion','forward','plugins','title-content','document','from','getNearestSelectionRange','newRange','end','registerPostFixer','get','start','ELEMENT_TITLE','updateMarker','nodeBefore','registerElementLabel','isCollapsed','schema','differ','editor','Title','removeMarker','model','isEqual','createRange','locale','element'];(function(_0x5572ad,_0xd8ca88){const _0x103b28=function(_0x94ed98){while(--_0x94ed98){_0x5572ad['push'](_0x5572ad['shift']());}};_0x103b28(++_0xd8ca88);}(_0xd8ca,0x1cb));const _0x103b=function(_0x5572ad,_0xd8ca88){_0x5572ad=_0x5572ad-0x0;let _0x103b28=_0xd8ca[_0x5572ad];return _0x103b28;};import{Plugin as _0x21ec4b}from'ckeditor5/src/core';import{getTranslation as _0x120cf6}from'../utils/common-translations';export default class St extends _0x21ec4b{['afterInit'](){const _0x1a432c=this[_0x103b('0x13')];if(!_0x1a432c[_0x103b('0x2')]['has'](_0x103b('0x14')))return;const _0x4b81a1=_0x1a432c[_0x103b('0x2')][_0x103b('0xa')]('TrackChangesEditing');_0x4b81a1['_descriptionFactory'][_0x103b('0xf')](_0x103b('0x3'),()=>_0x120cf6(_0x1a432c[_0x103b('0x19')],_0x103b('0xc'))),_0x1a432c['model'][_0x103b('0x4')][_0x103b('0x9')](_0x245b8b=>{let _0x2cee8f=!0x1;const _0x2f0c4e=Array[_0x103b('0x5')](_0x1a432c[_0x103b('0x16')][_0x103b('0x4')][_0x103b('0x12')]['getChangedMarkers']());for(const {name:_0x2e5bdb,data:_0x4a46ac}of _0x2f0c4e){const {group:_0x14b26a}=_0x4b81a1['_splitMarkerName'](_0x2e5bdb);if(_0x103b('0x0')!==_0x14b26a||!_0x4a46ac[_0x103b('0x7')])continue;const _0xc5695e=_0x4a46ac[_0x103b('0x7')],_0x31df77=_0xc5695e[_0x103b('0x8')][_0x103b('0xe')];if(!_0x31df77||!_0x31df77['is'](_0x103b('0x1a'),_0x103b('0x3')))continue;if(!_0xc5695e[_0x103b('0xb')]['isTouching'](_0xc5695e[_0x103b('0x8')]))continue;const _0x2d2ff5=_0x1a432c[_0x103b('0x16')][_0x103b('0x11')][_0x103b('0x6')](_0xc5695e[_0x103b('0x8')],_0x103b('0x1'));if(_0x2d2ff5&&_0x2d2ff5[_0x103b('0x10')]){const _0x558598=_0x245b8b[_0x103b('0x18')](_0xc5695e['start'],_0x2d2ff5['start']);_0x558598[_0x103b('0x17')](_0xc5695e)||(_0x245b8b[_0x103b('0xd')](_0x2e5bdb,{'range':_0x558598}),_0x2cee8f=!0x0);}_0x2cee8f||(_0x245b8b[_0x103b('0x15')](_0x2e5bdb),_0x2cee8f=!0x0);}return _0x2cee8f;});}}
23
+ const _0x4d96=['start','from','getChangedMarkers','locale','getNearestSelectionRange','editor','newRange','Title','end','registerPostFixer','nodeBefore','element','updateMarker','differ','_descriptionFactory','plugins','isTouching','forward','model','_splitMarkerName','registerElementLabel','isEqual','schema','suggestion','get','document','has','title-content','isCollapsed'];(function(_0x70fbb3,_0x4d9687){const _0x3a8e34=function(_0x10a6b3){while(--_0x10a6b3){_0x70fbb3['push'](_0x70fbb3['shift']());}};_0x3a8e34(++_0x4d9687);}(_0x4d96,0x81));const _0x3a8e=function(_0x70fbb3,_0x4d9687){_0x70fbb3=_0x70fbb3-0x0;let _0x3a8e34=_0x4d96[_0x70fbb3];return _0x3a8e34;};import{Plugin as _0xb67e75}from'ckeditor5/src/core';import{getTranslation as _0x5de515}from'../utils/common-translations';export default class St extends _0xb67e75{['afterInit'](){const _0x2c3d74=this[_0x3a8e('0x15')];if(!_0x2c3d74['plugins'][_0x3a8e('0xd')](_0x3a8e('0x17')))return;const _0x11f587=_0x2c3d74[_0x3a8e('0x2')][_0x3a8e('0xb')]('TrackChangesEditing');_0x11f587[_0x3a8e('0x1')][_0x3a8e('0x7')](_0x3a8e('0xe'),()=>_0x5de515(_0x2c3d74[_0x3a8e('0x13')],'ELEMENT_TITLE')),_0x2c3d74['model']['document'][_0x3a8e('0x19')](_0x5ee705=>{let _0x451ae1=!0x1;const _0x57fada=Array[_0x3a8e('0x11')](_0x2c3d74[_0x3a8e('0x5')][_0x3a8e('0xc')][_0x3a8e('0x0')][_0x3a8e('0x12')]());for(const {name:_0x1482a1,data:_0x1242f9}of _0x57fada){const {group:_0x2f279b}=_0x11f587[_0x3a8e('0x6')](_0x1482a1);if(_0x3a8e('0xa')!==_0x2f279b||!_0x1242f9[_0x3a8e('0x16')])continue;const _0x3240fb=_0x1242f9[_0x3a8e('0x16')],_0x294b10=_0x3240fb[_0x3a8e('0x18')][_0x3a8e('0x1a')];if(!_0x294b10||!_0x294b10['is'](_0x3a8e('0x1b'),_0x3a8e('0xe')))continue;if(!_0x3240fb[_0x3a8e('0x10')][_0x3a8e('0x3')](_0x3240fb[_0x3a8e('0x18')]))continue;const _0x147015=_0x2c3d74[_0x3a8e('0x5')][_0x3a8e('0x9')][_0x3a8e('0x14')](_0x3240fb['end'],_0x3a8e('0x4'));if(_0x147015&&_0x147015[_0x3a8e('0xf')]){const _0x3d4db1=_0x5ee705['createRange'](_0x3240fb[_0x3a8e('0x10')],_0x147015['start']);_0x3d4db1[_0x3a8e('0x8')](_0x3240fb)||(_0x5ee705[_0x3a8e('0x1c')](_0x1482a1,{'range':_0x3d4db1}),_0x451ae1=!0x0);}_0x451ae1||(_0x5ee705['removeMarker'](_0x1482a1),_0x451ae1=!0x0);}return _0x451ae1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5070=['plugins','editor','enableCommand','TrackChangesEditing','redo','UndoEditing','afterInit'];(function(_0x542971,_0x50703c){const _0x31dd56=function(_0x2d2bce){while(--_0x2d2bce){_0x542971['push'](_0x542971['shift']());}};_0x31dd56(++_0x50703c);}(_0x5070,0x1c5));const _0x31dd=function(_0x542971,_0x50703c){_0x542971=_0x542971-0x0;let _0x31dd56=_0x5070[_0x542971];return _0x31dd56;};import{Plugin as _0x14a7a3}from'ckeditor5/src/core';export default class It extends _0x14a7a3{[_0x31dd('0x1')](){const _0x55378a=this[_0x31dd('0x3')],_0x3726e4=_0x55378a['plugins']['get'](_0x31dd('0x5'));_0x55378a[_0x31dd('0x2')]['has'](_0x31dd('0x0'))&&(_0x3726e4[_0x31dd('0x4')]('undo'),_0x3726e4[_0x31dd('0x4')](_0x31dd('0x6')));}}
23
+ const _0x4244=['plugins','enableCommand','TrackChangesEditing','has','get','undo','afterInit'];(function(_0x45b54d,_0x42442d){const _0x49e6fe=function(_0x3f7260){while(--_0x3f7260){_0x45b54d['push'](_0x45b54d['shift']());}};_0x49e6fe(++_0x42442d);}(_0x4244,0x189));const _0x49e6=function(_0x45b54d,_0x42442d){_0x45b54d=_0x45b54d-0x0;let _0x49e6fe=_0x4244[_0x45b54d];return _0x49e6fe;};import{Plugin as _0x388242}from'ckeditor5/src/core';export default class It extends _0x388242{[_0x49e6('0x5')](){const _0x317f64=this['editor'],_0x4775b8=_0x317f64[_0x49e6('0x6')][_0x49e6('0x3')](_0x49e6('0x1'));_0x317f64['plugins'][_0x49e6('0x2')]('UndoEditing')&&(_0x4775b8[_0x49e6('0x0')](_0x49e6('0x4')),_0x4775b8['enableCommand']('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4814=['toViewPosition','model','start','markerName','name','nextSibling','previousPosition','test','element','type','toViewElement','getCustomProperty','isAtEnd','getAttribute','getItems','markerRange','parent','activeMarkers','push','plugins','elementEnd','insert','listIndent','writer','ck-suggestion-marker-','mapper','addHighlight','hasAttribute','getWalker','isLimit','isBlock','includes','ck-suggestion-marker--active','isContent','createUIElement','consumable','TrackChangesEditing'];(function(_0x3bc996,_0x481445){const _0x58ed5c=function(_0x1140da){while(--_0x1140da){_0x3bc996['push'](_0x3bc996['shift']());}};_0x58ed5c(++_0x481445);}(_0x4814,0x15f));const _0x58ed=function(_0x3bc996,_0x481445){_0x3bc996=_0x3bc996-0x0;let _0x58ed5c=_0x4814[_0x3bc996];return _0x58ed5c;};export function getRangesWithAttribute(_0x215df3,_0x393e5c,_0x26539e){const _0x368f50=[];for(const _0x25b7d1 of _0x393e5c[_0x58ed('0x21')]())_0x25b7d1[_0x58ed('0x9')](_0x215df3)&&_0x368f50[_0x58ed('0x0')](_0x26539e['createRangeOn'](_0x25b7d1));return _0x368f50;}export function getElementsAffectedByListItemRename(_0x51d9e8){const _0x3f8fef=[];if(_0x51d9e8['is'](_0x58ed('0x1b'),'listItem')){let _0x347c27=_0x51d9e8[_0x58ed('0x18')];for(;_0x347c27&&_0x347c27['is']('element','listItem')&&_0x347c27[_0x58ed('0x20')](_0x58ed('0x4'))>0x0;)_0x3f8fef[_0x58ed('0x0')](_0x347c27),_0x347c27=_0x347c27[_0x58ed('0x18')];}return _0x3f8fef;}export function downcastSplitMergeMarker(_0x4f8881,_0x42ed81,{showActiveMarker:_0x3b511f=!0x0}={}){const _0x4b8278=_0x4f8881[_0x58ed('0x1')]['get'](_0x58ed('0x12'));return(_0x48931e,_0x5da9ea,_0x77f771)=>{if(!_0x77f771[_0x58ed('0x11')][_0x58ed('0x1a')](_0x5da9ea[_0x58ed('0x22')],_0x48931e[_0x58ed('0x17')]))return;const _0x177319=_0x5da9ea['markerRange'][_0x58ed('0xa')](),_0x59b1d0=_0x5da9ea[_0x58ed('0x22')][_0x58ed('0x15')],_0x5590d8=_0x4f8881[_0x58ed('0x14')]['schema'];let _0x25f843=null,_0x5b0c87=null,_0x2acefd=!0x1,_0x2beb7f=!0x1;for(const _0x2ff5a1 of _0x177319){const _0xeba980=_0x2ff5a1['item'];_0x2acefd=_0x2acefd||_0x5590d8[_0x58ed('0xf')](_0xeba980);const _0x577207=_0x77f771[_0x58ed('0x7')][_0x58ed('0x1d')](_0xeba980);if(_0x577207&&_0x577207[_0x58ed('0x1e')](_0x58ed('0x8')))return;_0x58ed('0x2')==_0x2ff5a1[_0x58ed('0x1c')]&&(_0x5590d8[_0x58ed('0xc')](_0xeba980)&&!_0x5590d8[_0x58ed('0xb')](_0xeba980)&&(_0xeba980[_0x58ed('0x18')]||_0x59b1d0[_0x58ed('0x1f')]?_0x25f843&&_0x25f843[_0x58ed('0x23')]==_0xeba980||(_0x25f843=_0xeba980,_0x82027d(_0x2ff5a1[_0x58ed('0x19')]),_0x2beb7f=!0x0):_0x5b0c87=_0x5b0c87||_0x2ff5a1[_0x58ed('0x19')]));}function _0x82027d(_0x3670be){const _0xc789b=_0x77f771[_0x58ed('0x5')][_0x58ed('0x10')]('span',{'class':_0x58ed('0x6')+_0x42ed81}),_0x48750d=_0x77f771['mapper'][_0x58ed('0x13')](_0x3670be);_0x3b511f&&_0x4b8278[_0x58ed('0x24')][_0x58ed('0xd')](_0x5da9ea[_0x58ed('0x16')])&&_0x77f771[_0x58ed('0x5')]['addClass'](_0x58ed('0xe'),_0xc789b),_0x77f771['writer'][_0x58ed('0x3')](_0x48750d,_0xc789b),_0x77f771[_0x58ed('0x7')]['bindElementToMarker'](_0xc789b,_0x5da9ea[_0x58ed('0x16')]);}_0x2acefd||_0x2beb7f||!_0x5b0c87||_0x82027d(_0x5b0c87);};}
23
+ const _0x5eab=['model','addHighlight','addClass','markerName','getAttribute','listItem','bindElementToMarker','hasAttribute','TrackChangesEditing','elementEnd','span','parent','toViewElement','ck-suggestion-marker--active','nextSibling','test','writer','get','getCustomProperty','type','isLimit','plugins','activeMarkers','mapper','element','consumable','getWalker','isBlock','push','isAtEnd','toViewPosition','getItems','ck-suggestion-marker-','previousPosition','name','markerRange','item'];(function(_0x299041,_0x5eab8a){const _0x4f7c95=function(_0x14c5ba){while(--_0x14c5ba){_0x299041['push'](_0x299041['shift']());}};_0x4f7c95(++_0x5eab8a);}(_0x5eab,0x112));const _0x4f7c=function(_0x299041,_0x5eab8a){_0x299041=_0x299041-0x0;let _0x4f7c95=_0x5eab[_0x299041];return _0x4f7c95;};export function getRangesWithAttribute(_0x34a102,_0x31ef65,_0x13c3f5){const _0x24e3cc=[];for(const _0x257b9e of _0x31ef65[_0x4f7c('0x10')]())_0x257b9e[_0x4f7c('0x1d')](_0x34a102)&&_0x24e3cc['push'](_0x13c3f5['createRangeOn'](_0x257b9e));return _0x24e3cc;}export function getElementsAffectedByListItemRename(_0x8cbd2c){const _0x37c1b9=[];if(_0x8cbd2c['is'](_0x4f7c('0x9'),_0x4f7c('0x1b'))){let _0xd3e9b8=_0x8cbd2c[_0x4f7c('0x24')];for(;_0xd3e9b8&&_0xd3e9b8['is'](_0x4f7c('0x9'),'listItem')&&_0xd3e9b8[_0x4f7c('0x1a')]('listIndent')>0x0;)_0x37c1b9[_0x4f7c('0xd')](_0xd3e9b8),_0xd3e9b8=_0xd3e9b8[_0x4f7c('0x24')];}return _0x37c1b9;}export function downcastSplitMergeMarker(_0x81d625,_0x681cef,{showActiveMarker:_0x2aed25=!0x0}={}){const _0x2f6386=_0x81d625[_0x4f7c('0x6')][_0x4f7c('0x2')](_0x4f7c('0x1e'));return(_0x43e13d,_0x1fa7f7,_0x4ae529)=>{if(!_0x4ae529[_0x4f7c('0xa')][_0x4f7c('0x0')](_0x1fa7f7[_0x4f7c('0x14')],_0x43e13d[_0x4f7c('0x13')]))return;const _0x4492f1=_0x1fa7f7[_0x4f7c('0x14')][_0x4f7c('0xb')](),_0x3c06c3=_0x1fa7f7['markerRange']['start'],_0x2bf004=_0x81d625[_0x4f7c('0x16')]['schema'];let _0x2235cf=null,_0x42654c=null,_0x2ed93a=!0x1,_0x48cf45=!0x1;for(const _0x4dd7f6 of _0x4492f1){const _0x2ecd48=_0x4dd7f6[_0x4f7c('0x15')];_0x2ed93a=_0x2ed93a||_0x2bf004['isContent'](_0x2ecd48);const _0x49f6ea=_0x4ae529['mapper'][_0x4f7c('0x22')](_0x2ecd48);if(_0x49f6ea&&_0x49f6ea[_0x4f7c('0x3')](_0x4f7c('0x17')))return;_0x4f7c('0x1f')==_0x4dd7f6[_0x4f7c('0x4')]&&(_0x2bf004[_0x4f7c('0xc')](_0x2ecd48)&&!_0x2bf004[_0x4f7c('0x5')](_0x2ecd48)&&(_0x2ecd48['nextSibling']||_0x3c06c3[_0x4f7c('0xe')]?_0x2235cf&&_0x2235cf[_0x4f7c('0x21')]==_0x2ecd48||(_0x2235cf=_0x2ecd48,_0x1e6fc8(_0x4dd7f6[_0x4f7c('0x12')]),_0x48cf45=!0x0):_0x42654c=_0x42654c||_0x4dd7f6[_0x4f7c('0x12')]));}function _0x1e6fc8(_0x30b4bf){const _0x1a426f=_0x4ae529[_0x4f7c('0x1')]['createUIElement'](_0x4f7c('0x20'),{'class':_0x4f7c('0x11')+_0x681cef}),_0x4561ec=_0x4ae529[_0x4f7c('0x8')][_0x4f7c('0xf')](_0x30b4bf);_0x2aed25&&_0x2f6386[_0x4f7c('0x7')]['includes'](_0x1fa7f7['markerName'])&&_0x4ae529[_0x4f7c('0x1')][_0x4f7c('0x18')](_0x4f7c('0x23'),_0x1a426f),_0x4ae529['writer']['insert'](_0x4561ec,_0x1a426f),_0x4ae529[_0x4f7c('0x8')][_0x4f7c('0x1c')](_0x1a426f,_0x1fa7f7[_0x4f7c('0x19')]);}_0x2ed93a||_0x48cf45||!_0x42654c||_0x1e6fc8(_0x42654c);};}