@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230810.0 → 0.0.0-nightly-20230812.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ccb=['rows','fill','getSelectionAffectedTableCells','position','getMarkers','attributes','filter','tableCellHorizontalAlignment','registerCustomCallback','next','editingDowncast','suggestion:formatBlock:tablePasteCell','change','columnInsertionIndexes','entries','schema','clipboardOutput','join','removeColumns','trackChanges','getSuggestion','createRangeOn','insertContent','ck-suggestion-marker','setAttribute','table','plugins','Users','oldRange','insertColumns','cell','length','tablePaste','map','_createdBatches','getChildren','remove','find','move','deletion','get','push','from','getChanges','getContainedElement','createRangeIn','isEmpty','_getCoordsForCells','containsRange','markers','every','tableCellBackgroundColor','dataDowncast','insertRows','rowInsertionIndexes','some','markerToHighlight','differ','_splitMarkerName','_tablePostFixingSubtypes','removeRows','has','$graveyard','conversion','createElement','tableCell','TableUtils','columns','selection','cells','suggestionLoaded','deletionRanges','keys','previous','getRows','hasSuggestion','previousSibling','commands','tableCellBorderStyle','getChild','editor','add','startsWith','tablePasteColumn','insert','isInContent','_replaceTableSlotCell','high','batch','model','getColumns','view','first','start','type','_descriptionFactory','tablePasteRow','suggestionUnloaded','author','low','createRange','TableClipboard','createPositionBefore','getItems','getTableIfOnlyTableInContent','getChangedMarkers','formatBlock','tablePasteChainId','registerDescriptionCallback','unwrap','activeMarkers','listenTo','removeMarker','showSuggestionHighlights','isEqual','tableCellVerticalAlignment','element','set','_suggestionFactory','getRanges','newRange','getAllAdjacentSuggestions','markMultiRangeBlockFormat','updateMarker','getSuggestionCallback','getSuggestions','name','createTableWalker','documentSelection','insertion','markerName','fromEntries','root','_isForcedDefaultExecutionBlock','paragraph','getAttributes','last','tablePasteCell','suggestion-td','TrackChangesEditing','includes','accept','discard','suggestion','return','getRange','insertionRanges','afterInit','rowInsertionRanges','document','findAncestor','markMultiRangeInsertion','nodeAfter','elementToElement','markerAttributes','getShiftedBy','rootName','registerPostFixer','getColumnIndexes','endColumn','getRowIndexes','editing','end','redo','subType','tableCellSuggestion','register','ck-suggestion-marker--active'];(function(_0x116f42,_0x5ccb5b){const _0xaf3759=function(_0x177870){while(--_0x177870){_0x116f42['push'](_0x116f42['shift']());}};_0xaf3759(++_0x5ccb5b);}(_0x5ccb,0xad));const _0xaf37=function(_0x116f42,_0x5ccb5b){_0x116f42=_0x116f42-0x0;let _0xaf3759=_0x5ccb[_0x116f42];return _0xaf3759;};import{getTranslation as _0x5ece36}from'../utils/common-translations';import{Plugin as _0x1d3afe}from'ckeditor5/src/core';import{uid as _0x4b6786,priorities as _0x11887}from'ckeditor5/src/utils';import _0x300201 from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0xaf37('0x49'),_0xaf37('0x2'),_0xaf37('0x6e'),_0xaf37('0x2e'),'tableCellPadding'],ae=Object[_0xaf37('0x7e')](le[_0xaf37('0x1c')](_0x4e7ba9=>[_0x4e7ba9,null]));export default class kt extends _0x1d3afe{static get['requires'](){return[_0x300201];}[_0xaf37('0x8e')](){const _0x9d1cb1=this[_0xaf37('0x4b')];if(!_0x9d1cb1[_0xaf37('0x15')][_0xaf37('0x38')](_0xaf37('0x60')))return;const _0x36813d=_0x9d1cb1[_0xaf37('0x15')][_0xaf37('0x23')](_0xaf37('0x86')),_0x52401e=_0x9d1cb1['plugins'][_0xaf37('0x23')](_0xaf37('0x3d')),_0x2cd4d6=_0x9d1cb1[_0xaf37('0x15')]['get'](_0x300201),_0x1ec4ed=_0x9d1cb1[_0xaf37('0x15')]['get']('TableClipboard');_0x2cd4d6[_0xaf37('0x36')][_0xaf37('0x24')](_0xaf37('0x5b'),_0xaf37('0x4e')),_0x9d1cb1['model'][_0xaf37('0xa')][_0xaf37('0xa1')](_0xaf37('0xa0'),{'allowIn':_0xaf37('0x3c'),'allowContentOf':_0xaf37('0x3c'),'isLimit':!0x0}),_0x9d1cb1['conversion'][_0xaf37('0x94')]({'model':_0xaf37('0xa0'),'view':_0xaf37('0x85')});let _0x47da1f=null;_0x9d1cb1[_0xaf37('0x54')]['on']('insertContent',(_0x215eb3,_0x1a3ae2)=>{const [_0xc20e22,_0x566c21]=_0x1a3ae2,_0x3a9649=_0x1a3ae2[_0x1a3ae2[_0xaf37('0x1a')]-0x1];_0x3a9649&&_0x3a9649['forceDefaultExecution']||_0x36813d[_0xaf37('0x80')]||this[_0xaf37('0x4b')][_0xaf37('0x48')][_0xaf37('0x23')](_0xaf37('0xe'))['value']&&function(_0x4c9aac,_0x16e765,_0x57cb72,_0x1b9d9e,_0x2e6a8d){if(_0x16e765&&!_0x16e765['is'](_0xaf37('0x7b')))return!0x1;const _0x230a25=_0x2e6a8d[_0xaf37('0x63')](_0x4c9aac,_0x57cb72);if(!_0x230a25||!fe(_0x230a25,void 0x0,_0x1b9d9e))return!0x1;const _0x841bbe=_0x1b9d9e[_0xaf37('0xa5')](_0x57cb72[_0xaf37('0x90')][_0xaf37('0x3f')]);if(!_0x841bbe[_0xaf37('0x1a')])return!0x1;const _0xb1aaec=_0x841bbe[0x0][_0xaf37('0x91')](_0xaf37('0x14')),_0x2477c1=_0x1b9d9e[_0xaf37('0x9b')](_0x841bbe),_0x51b556=_0x1b9d9e[_0xaf37('0x99')](_0x841bbe),_0x25ac2b={'startRow':_0x2477c1['first'],'endRow':_0x2477c1['last'],'startColumn':_0x51b556[_0xaf37('0x57')],'endColumn':_0x51b556[_0xaf37('0x83')]};return 0x1==_0x841bbe['length']&&(_0x25ac2b['endRow']+=_0x1b9d9e[_0xaf37('0x45')](_0x230a25)-0x1,_0x25ac2b[_0xaf37('0x9a')]+=_0x1b9d9e[_0xaf37('0x55')](_0x230a25)-0x1),fe(_0xb1aaec,_0x25ac2b,_0x1b9d9e);}(_0xc20e22,_0x566c21,_0x9d1cb1['model'],_0x52401e,_0x1ec4ed)&&(_0x215eb3['stop'](),_0x47da1f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x7')](()=>{_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x11')](_0x1a3ae2[0x0],_0x1a3ae2[0x1],_0x1a3ae2[0x2],{'forceDefaultExecution':!0x0});const _0x346f4c=_0x4b6786(),{rowInsertionRanges:_0x50d64c,columnInsertionRanges:_0x578c4d,insertionRanges:_0x4caf39,deletionRanges:_0x34fc3a,cells:_0x426895}=_0x47da1f;_0x50d64c[_0xaf37('0x1a')]&&_0x36813d['markMultiRangeInsertion'](_0x50d64c,_0xaf37('0x5b'),{'tablePasteChainId':_0x346f4c}),_0x578c4d[_0xaf37('0x1a')]&&_0x36813d[_0xaf37('0x92')](_0x578c4d,'tablePasteColumn',{'tablePasteChainId':_0x346f4c}),_0x4caf39[_0xaf37('0x1a')]&&_0x36813d['markMultiRangeInsertion'](_0x4caf39,_0xaf37('0x1b'),{'tablePasteChainId':_0x346f4c,'skipNestingCheck':!0x0}),_0x34fc3a['length']&&_0x36813d['markMultiRangeDeletion'](_0x34fc3a,_0xaf37('0x1b'),{'tablePasteChainId':_0x346f4c,'skipNestingCheck':!0x0});const _0x1dc597=_0x36813d[_0xaf37('0x75')](_0x426895[_0xaf37('0x1c')](({element:_0x14610d})=>_0x14610d),{'formatGroupId':_0x4b6786()},[],_0xaf37('0x84'),{'tablePasteChainId':_0x346f4c});if(_0x1dc597){const _0x48b95a=_0x1dc597[_0xaf37('0xa7')](),_0x4aaeba=[];for(const {element:_0x50ad9e,attributes:_0x14b21e}of _0x426895){if(!_0x14b21e)continue;const _0x1d8be3=_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x10')](_0x50ad9e),_0x2fdb3b=_0x48b95a[_0xaf37('0x20')](_0x27d2e1=>_0x27d2e1[_0xaf37('0x8c')]()[_0xaf37('0x6d')](_0x1d8be3));_0x2fdb3b&&_0x4aaeba[_0xaf37('0x24')]([_0x2fdb3b['name'],_0x14b21e]);}_0x4aaeba[_0xaf37('0x1a')]&&_0x1dc597[_0xaf37('0x13')](_0xaf37('0x95'),Object[_0xaf37('0x7e')](_0x4aaeba));}_0x47da1f=null;}));},{'priority':_0x11887['high']+0xa}),_0x9d1cb1[_0xaf37('0x15')][_0xaf37('0x23')](_0xaf37('0x60'))['on'](_0xaf37('0x51'),(_0x431605,_0x5cf212)=>{const [_0x2d4d36,_0x408a0d,,_0x2da717]=_0x5cf212;if(!_0x47da1f)return;_0x431605['stop']();const _0x468556=_0x2d4d36[_0xaf37('0x19')],_0x3d7d55=_0x408a0d,_0xbf8817=ce(_0x468556),_0x14b958=ce(_0x3d7d55);_0x431605[_0xaf37('0x8b')]=_0x468556;let _0x244493=null,_0x2c2029=null;if(_0x14b958||_0xbf8817){if(_0xbf8817&&!_0x14b958){_0x2da717['remove'](_0x468556[_0xaf37('0x4a')](0x0));for(const _0x5d92b8 of Array[_0xaf37('0x25')](_0x3d7d55[_0xaf37('0x1e')]()))_0x2da717[_0xaf37('0x4f')](_0x5d92b8,_0x468556,_0xaf37('0x9d'));const _0x29dc4f=_0x47da1f[_0xaf37('0x31')][_0xaf37('0x87')](_0x2d4d36['row']),_0x22d610=_0x47da1f['columnInsertionIndexes'][_0xaf37('0x87')](_0x2d4d36['column']);_0x29dc4f||_0x22d610||(_0x244493=_0x2da717[_0xaf37('0x28')](_0x468556));}else _0x14b958&&!_0xbf8817&&(_0x2c2029=_0x2da717['createRangeIn'](_0x468556));}else{const _0x3d8650=_0x2da717[_0xaf37('0x3b')](_0xaf37('0xa0')),_0x51d12e=_0x2da717[_0xaf37('0x3b')](_0xaf37('0xa0'));_0x2da717['wrap'](_0x2da717[_0xaf37('0x28')](_0x468556),_0x51d12e),_0x2da717[_0xaf37('0x4f')](_0x3d8650,_0x468556,0x0);for(const _0x276ea0 of Array[_0xaf37('0x25')](_0x3d7d55[_0xaf37('0x1e')]()))_0x2da717[_0xaf37('0x4f')](_0x276ea0,_0x3d8650,_0xaf37('0x9d'));_0x244493=_0x2da717[_0xaf37('0x10')](_0x3d8650),_0x2c2029=_0x2da717[_0xaf37('0x10')](_0x51d12e);}const _0x5a5c6f=Array[_0xaf37('0x25')](_0x3d7d55[_0xaf37('0x82')]())[_0xaf37('0x1')](([_0x88235c])=>le[_0xaf37('0x87')](_0x88235c));_0x47da1f[_0xaf37('0x40')]['push']({'element':_0x468556,'attributes':_0x5a5c6f[_0xaf37('0x1a')]?Object[_0xaf37('0x7e')](_0x5a5c6f):null}),_0x244493&&_0x47da1f[_0xaf37('0x8d')]['push'](_0x244493),_0x2c2029&&_0x47da1f[_0xaf37('0x42')][_0xaf37('0x24')](_0x2c2029);},{'priority':'high'}),_0x52401e['on'](_0xaf37('0x18'),(_0x26c3ec,_0x2d476c)=>{const [_0x17bde6,_0x29880c={}]=_0x2d476c;if(!_0x47da1f)return;const _0x289af4=_0x29880c['at']||0x0,_0x2e948a=_0x29880c[_0xaf37('0x3e')]||0x1;_0x47da1f[_0xaf37('0x8')]=new Array(_0x2e948a)[_0xaf37('0xa4')](_0x289af4)[_0xaf37('0x1c')]((_0x1694f9,_0x32c877)=>_0x1694f9+_0x32c877);for(const {cell:_0x5d1cd3}of _0x52401e[_0xaf37('0x7a')](_0x17bde6,{'startColumn':_0x289af4,'endColumn':_0x289af4+_0x2e948a-0x1}))_0x47da1f['columnInsertionRanges'][_0xaf37('0x24')](_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x10')](_0x5d1cd3));},{'priority':_0xaf37('0x5e')}),_0x52401e['on'](_0xaf37('0x30'),(_0x2b48ff,_0x37e3c2)=>{const [_0x202b61,_0xc98ee2={}]=_0x37e3c2;if(!_0x47da1f)return;const _0x2d1b59=_0xc98ee2['at']||0x0,_0x4179cd=_0xc98ee2[_0xaf37('0xa3')]||0x1;_0x47da1f[_0xaf37('0x31')]=new Array(_0x4179cd)[_0xaf37('0xa4')](_0x2d1b59)[_0xaf37('0x1c')]((_0x5eea6c,_0x3845a5)=>_0x5eea6c+_0x3845a5);for(const {cell:_0x229dd5}of _0x52401e['createTableWalker'](_0x202b61,{'startRow':_0x2d1b59,'endRow':_0x2d1b59+_0x4179cd-0x1}))_0x47da1f[_0xaf37('0x8f')][_0xaf37('0x24')](_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x10')](_0x229dd5));},{'priority':_0xaf37('0x5e')}),_0x36813d[_0xaf37('0x5a')][_0xaf37('0x67')](_0xfedc7=>{if(_0xfedc7[_0xaf37('0x9f')]&&_0xfedc7[_0xaf37('0x9f')][_0xaf37('0x4d')](_0xaf37('0x1b')))return _0xfedc7[_0xaf37('0x44')]?{}:{'type':_0xaf37('0x7c'),'content':_0x5ece36(_0x9d1cb1['locale'],'*Replace\x20table\x20cells*')};});const _0x21d70b=()=>{};for(const _0x2ba2e6 of[_0xaf37('0x1b'),_0xaf37('0x4e'),_0xaf37('0x5b'),'tablePasteCell'])_0x36813d['_suggestionFactory'][_0xaf37('0x3')]('insertion',_0x2ba2e6,'join',_0x21d70b),_0x36813d[_0xaf37('0x71')]['registerCustomCallback'](_0xaf37('0x22'),_0x2ba2e6,_0xaf37('0xc'),_0x21d70b);_0x36813d['_suggestionFactory'][_0xaf37('0x3')](_0xaf37('0x65'),_0xaf37('0x84'),'discard',_0x21d70b),_0x36813d[_0xaf37('0x71')][_0xaf37('0x3')](_0xaf37('0x65'),_0xaf37('0x84'),_0xaf37('0x88'),(_0x3eadfc,_0x5c1913,_0x53903c)=>{const _0x29a2af=_0x3eadfc[_0xaf37('0x1c')](_0x236d9e=>_0x236d9e[_0xaf37('0x27')]())[_0xaf37('0x1')](_0x2a44bc=>_0x2a44bc),_0x51eb76=new Map(_0x29a2af['map'](_0x39749f=>[_0x39749f,null]));if(_0x47da1f)for(const {element:_0x55a438,attributes:_0x27ac4c}of _0x47da1f[_0xaf37('0x40')])_0x27ac4c&&_0x51eb76[_0xaf37('0x70')](_0x55a438,_0x27ac4c);else{if(_0x53903c&&_0x53903c['markerAttributes'])for(const [_0x21ab81,_0x22c2ba]of Object[_0xaf37('0x9')](_0x53903c[_0xaf37('0x95')])){const _0x53baa4=_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x2c')][_0xaf37('0x23')](_0x21ab81),_0x2c9997=_0x53baa4?_0x53baa4[_0xaf37('0x8c')]()[_0xaf37('0x27')]():null;_0x2c9997&&_0x51eb76['set'](_0x2c9997,_0x22c2ba);}}_0x9d1cb1['model'][_0xaf37('0x7')](_0x90f394=>{for(const [_0x5330a3,_0x132841]of _0x51eb76)_0x90f394['setAttributes']({...ae,..._0x132841},_0x5330a3);});});const _0x3baa89=(_0xfaba36,_0x13f02d)=>{_0x36813d[_0xaf37('0x71')][_0xaf37('0x3')](_0xfaba36,_0xaf37('0x1b'),_0x13f02d,(_0x1aae2b,_0x33fde9,_0xa96fea)=>{_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x7')](_0x365aea=>{const _0x16b33c=[];for(const _0x45c5c6 of _0x1aae2b){const _0x4e49f7=_0x45c5c6[_0xaf37('0x58')][_0xaf37('0x93')];_0x4e49f7['is']('element',_0xaf37('0xa0'))&&_0x16b33c['push'](_0x4e49f7);}_0x36813d[_0xaf37('0x71')][_0xaf37('0x77')](_0xfaba36,null,_0x13f02d)(_0x1aae2b,_0x33fde9,_0xa96fea);for(const _0x21533e of _0x16b33c)_0xaf37('0x39')!=_0x21533e[_0xaf37('0x7f')][_0xaf37('0x97')]&&_0x365aea['unwrap'](_0x21533e);});});};_0x3baa89(_0xaf37('0x7c'),_0xaf37('0x88')),_0x3baa89('insertion',_0xaf37('0x89')),_0x3baa89(_0xaf37('0x22'),'accept'),_0x3baa89(_0xaf37('0x22'),'discard'),_0x36813d['_suggestionFactory'][_0xaf37('0x3')](_0xaf37('0x7c'),_0xaf37('0x5b'),_0xaf37('0x89'),_0x226ca3=>{const _0x2da25e=_0x226ca3['map'](_0x445394=>_0x445394[_0xaf37('0x27')]()),_0x12f2cd=_0x2da25e[0x0][_0xaf37('0x91')](_0xaf37('0x14')),{minRow:_0xb16928,maxRow:_0x42cb26}=_0x2cd4d6[_0xaf37('0x2a')](_0x2da25e);_0x52401e[_0xaf37('0x37')](_0x12f2cd,{'at':_0xb16928,'rows':_0x42cb26-_0xb16928+0x1});}),_0x36813d[_0xaf37('0x71')][_0xaf37('0x3')](_0xaf37('0x7c'),_0xaf37('0x4e'),_0xaf37('0x89'),_0x3a00c9=>{const _0x1c4166=_0x3a00c9[_0xaf37('0x1c')](_0xe145e6=>_0xe145e6[_0xaf37('0x27')]()),_0xb7856e=_0x1c4166[0x0][_0xaf37('0x91')](_0xaf37('0x14')),{minColumn:_0x4bde18,maxColumn:_0x388894}=_0x2cd4d6[_0xaf37('0x2a')](_0x1c4166);_0x52401e[_0xaf37('0xd')](_0xb7856e,{'at':_0x4bde18,'columns':_0x388894-_0x4bde18+0x1});});const _0x2aa6eb=(_0x1306bc,_0x5043ff)=>{if(!_0x5043ff[_0xaf37('0x9f')]||!_0x5043ff[_0xaf37('0x9f')][_0xaf37('0x4d')]('tablePaste'))return;const _0x359182=_0x5043ff[_0xaf37('0x0')]['tablePasteChainId'],_0xc73e58=_0x36813d['getSuggestions']()[_0xaf37('0x1')](_0x3bf9e9=>_0x3bf9e9[_0xaf37('0x50')]&&_0x3bf9e9['attributes']&&_0x3bf9e9[_0xaf37('0x0')][_0xaf37('0x66')]==_0x359182);_0xc73e58[_0xaf37('0x1a')]&&_0x5043ff[_0xaf37('0x74')]()['length']!=_0xc73e58['length']&&_0xc73e58['reduce']((_0x1b8171,_0x2bf14b)=>(_0x1b8171[_0xaf37('0x4')]=_0x2bf14b,_0x2bf14b[_0xaf37('0x44')]=_0x1b8171,_0x2bf14b));};function _0x9f7c03(_0x5cacc2,_0x5dfc2e=!0x0){const {id:_0x245f2d}=_0x36813d['_splitMarkerName'](_0x5cacc2[_0xaf37('0x7d')]),_0x341ca1=[_0xaf37('0x12'),'ck-suggestion-marker-insertion'],_0x295d6e=_0x36813d[_0xaf37('0x69')]['includes'](_0x5cacc2[_0xaf37('0x7d')]);return _0x295d6e&&_0x341ca1[_0xaf37('0x24')](_0xaf37('0xa2')),{'classes':_0x341ca1,'attributes':{'data-suggestion':_0x245f2d},'priority':_0x295d6e&&_0x5dfc2e?0xbc2:0xbb8};}_0x36813d['on'](_0xaf37('0x41'),_0x2aa6eb,{'priority':_0xaf37('0x52')}),_0x36813d['on'](_0xaf37('0x5c'),_0x2aa6eb,{'priority':_0xaf37('0x52')}),_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x90')][_0xaf37('0x98')](()=>{let _0xc91b5d=!0x1;const _0x30e3a5=Array[_0xaf37('0x25')](_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x90')][_0xaf37('0x34')][_0xaf37('0x64')]());for(const {name:_0x4924db,data:_0x4bdbb1}of _0x30e3a5){const {group:_0x49752b,type:_0x470d97,id:_0x302ca1}=_0x36813d['_splitMarkerName'](_0x4924db);if('suggestion'!=_0x49752b||_0xaf37('0x22')!=_0x470d97||_0x4bdbb1[_0xaf37('0x17')])continue;if(!_0x36813d[_0xaf37('0x46')](_0x302ca1))continue;const _0x241da1=_0x36813d[_0xaf37('0xf')](_0x302ca1)[_0xaf37('0x72')](),_0x4c4906=_0x9d1cb1[_0xaf37('0x15')][_0xaf37('0x23')]('Users')['me'];for(const _0x3da15b of _0x36813d[_0xaf37('0x78')]()){if(!_0x3da15b[_0xaf37('0x50')]||_0x3da15b[_0xaf37('0x5d')]!=_0x4c4906)continue;if(_0xaf37('0x65')!=_0x3da15b[_0xaf37('0x59')]||_0xaf37('0x84')!=_0x3da15b[_0xaf37('0x9f')])continue;if(_0x3da15b[_0xaf37('0x72')]()[_0xaf37('0x2d')](_0x3298ae=>_0x241da1[_0xaf37('0x32')](_0x2f0382=>_0x2f0382[_0xaf37('0x2b')](_0x3298ae,!0x0))))for(const _0x1a8a1e of _0x3da15b['getAllAdjacentSuggestions']())_0x1a8a1e[_0xaf37('0x50')]&&(_0x1a8a1e[_0xaf37('0x89')](),_0xc91b5d=!0x0);}}return _0xc91b5d;}),_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x90')][_0xaf37('0x98')](_0x41a031=>{const _0x2f4728=_0x9d1cb1[_0xaf37('0x48')]['get'](_0xaf37('0x9e'));if(!_0x2f4728||!_0x2f4728[_0xaf37('0x1d')]['has'](_0x41a031[_0xaf37('0x53')]))return!0x1;let _0x1a24c7=!0x1;const _0x576290=_0x9d1cb1['plugins'][_0xaf37('0x23')]('Users')['me'],_0x3c030a=_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x90')]['differ'][_0xaf37('0x26')](),_0x178647=Array[_0xaf37('0x25')](_0x9d1cb1[_0xaf37('0x54')][_0xaf37('0x90')][_0xaf37('0x34')][_0xaf37('0x64')]())[_0xaf37('0x1')](({name:_0x88c209,data:_0x34abcc})=>{const {group:_0x141332,subType:_0x1d8698,authorId:_0x3982f9}=_0x36813d[_0xaf37('0x35')](_0x88c209);return _0xaf37('0x8a')==_0x141332&&_0xaf37('0x1b')==_0x1d8698&&_0x3982f9==_0x576290['id']&&!_0x34abcc[_0xaf37('0x17')];});for(const _0x37d89d of _0x3c030a){if(_0xaf37('0x4f')!=_0x37d89d[_0xaf37('0x59')]||_0xaf37('0xa0')!=_0x37d89d[_0xaf37('0x79')]||0x1!=_0x37d89d['length'])continue;const _0x341d5b=_0x41a031[_0xaf37('0x5f')](_0x37d89d[_0xaf37('0xa6')],_0x37d89d['position'][_0xaf37('0x96')](0x1));if(!_0x178647[_0xaf37('0x20')](({data:_0x583f81})=>_0x583f81[_0xaf37('0x73')][_0xaf37('0x6d')](_0x341d5b)))for(const {name:_0x241063,data:_0x380117}of _0x178647)if(_0x341d5b[_0xaf37('0x2b')](_0x380117['newRange'])){_0x41a031[_0xaf37('0x76')](_0x241063,{'range':_0x341d5b}),_0x1a24c7=!0x0;break;}}return _0x1a24c7;}),_0x9d1cb1['model'][_0xaf37('0x90')][_0xaf37('0x98')](_0x4306c7=>{let _0x647202=!0x1;const _0x56d442=_0x9d1cb1[_0xaf37('0x15')]['get'](_0xaf37('0x16'))['me'],_0x223e0c=_0x36813d['getSuggestions']()[_0xaf37('0x1')](_0x4a5465=>_0x4a5465[_0xaf37('0x50')]&&_0x4a5465['author']==_0x56d442),_0x1b93d2=new Set(),_0xb44414=new Set();for(const _0x517ceb of _0x223e0c)if(_0xaf37('0x1b')==_0x517ceb[_0xaf37('0x9f')])for(const _0x4a6f32 of _0x517ceb['getMarkers']()){const _0x349d91=_0x4a6f32[_0xaf37('0x8c')]()[_0xaf37('0x27')]();if(_0x349d91){if(_0x349d91['is'](_0xaf37('0x6f'),_0xaf37('0xa0'))&&ce(_0x349d91)){_0x517ceb[_0xaf37('0x6b')](_0x4a6f32[_0xaf37('0x79')]),_0x1b93d2['add'](_0x349d91),_0x647202=!0x0;const _0x15ae90=_0x349d91['nextSibling'],_0x42b9fe=_0x349d91[_0xaf37('0x47')],_0x2eea56=_0x15ae90&&_0x15ae90['is'](_0xaf37('0x6f'),'tableCellSuggestion'),_0x116934=_0x42b9fe&&_0x42b9fe['is'](_0xaf37('0x6f'),_0xaf37('0xa0'));_0x2eea56&&!_0x1b93d2[_0xaf37('0x38')](_0x15ae90)&&_0xb44414['add'](_0x15ae90),_0x116934&&!_0x1b93d2[_0xaf37('0x38')](_0x42b9fe)&&_0xb44414[_0xaf37('0x4c')](_0x42b9fe);}else _0x349d91['is'](_0xaf37('0x6f'),_0xaf37('0x81'))&&_0x349d91[_0xaf37('0x29')]&&(_0x517ceb['removeMarker'](_0x4a6f32['name']),_0x647202=!0x0);}}else{if(_0xaf37('0x84')==_0x517ceb['subType']){if(!_0x517ceb['attributes']||!_0x517ceb['attributes'][_0xaf37('0x66')])continue;const _0x354f48=_0x517ceb['attributes']['markerAttributes'];if(_0x354f48&&Object[_0xaf37('0x43')](_0x354f48)['length'])continue;const _0x48b8b8=_0x517ceb[_0xaf37('0x0')][_0xaf37('0x66')];let _0x29ed39=!0x0,_0x1c196c=!0x0;for(const _0x238daf of _0x223e0c)if(_0x238daf[_0xaf37('0x9f')]&&_0x238daf[_0xaf37('0x9f')][_0xaf37('0x4d')]('tablePaste')){if(!_0x238daf['attributes']['tablePasteChainId']){_0x1c196c=!0x1;break;}if(_0x238daf['id']!=_0x517ceb['id']&&_0x238daf[_0xaf37('0x0')][_0xaf37('0x66')]==_0x48b8b8){_0x29ed39=!0x1;break;}}_0x1c196c&&_0x29ed39&&(_0x517ceb['removeMarkers'](),_0x647202=!0x0);}}for(const _0x1d715a of _0x1b93d2)_0x4306c7[_0xaf37('0x1f')](_0x1d715a);for(const _0x40ee7a of _0xb44414)_0x4306c7[_0xaf37('0x68')](_0x40ee7a);return _0x647202;}),_0x9d1cb1['conversion']['for'](_0xaf37('0x5'))['markerToHighlight']({'model':_0xaf37('0x6'),'view':(_0x1eb10f,_0x103de1)=>_0x9f7c03(_0x1eb10f),'converterPriority':_0xaf37('0x52')}),_0x9d1cb1[_0xaf37('0x3a')]['for'](_0xaf37('0x2f'))[_0xaf37('0x33')]({'model':_0xaf37('0x6'),'view':(_0xa7cec7,_0x4735f4)=>_0x4735f4['options'][_0xaf37('0x6c')]?_0x9f7c03(_0xa7cec7,!0x1):null,'converterPriority':_0xaf37('0x52')});const _0x1f569f=_0x9d1cb1[_0xaf37('0x9c')][_0xaf37('0x56')];this[_0xaf37('0x6a')](_0x1f569f[_0xaf37('0x90')],_0xaf37('0xb'),(_0x11e786,_0x363e43)=>{const _0x5141be=[];for(const _0x406e1c of _0x1f569f['createRangeIn'](_0x363e43['content'])[_0xaf37('0x62')]())_0x406e1c['is'](_0xaf37('0x6f'),_0xaf37('0x85'))&&_0x5141be[_0xaf37('0x24')](_0x406e1c);_0x1f569f[_0xaf37('0x7')](_0x364e3b=>{for(const _0xe7c1af of _0x5141be)_0x364e3b[_0xaf37('0x21')](_0x364e3b[_0xaf37('0x28')](_0xe7c1af),_0x364e3b[_0xaf37('0x61')](_0xe7c1af)),_0x364e3b[_0xaf37('0x1f')](_0xe7c1af);});});}}function ce(_0xd4ae45){if(_0xd4ae45[_0xaf37('0x29')])return!0x0;const _0x8ec325=_0xd4ae45[_0xaf37('0x4a')](0x0);return _0x8ec325['is'](_0xaf37('0x6f'),'paragraph')&&_0x8ec325[_0xaf37('0x29')];}function fe(_0x46cbf8,_0x5c1987={},_0x36e9cf){for(const {isAnchor:_0x1e970a,cellHeight:_0x229409,cellWidth:_0x3fe74a}of _0x36e9cf[_0xaf37('0x7a')](_0x46cbf8,{'includeAllSlots':!0x0,..._0x5c1987}))if(!_0x1e970a||0x1!=_0x229409||0x1!=_0x3fe74a)return!0x1;return!0x0;}
23
+ const _0x4198=['newRange','length','elementToElement','isEmpty','cells','endColumn','columnInsertionRanges','*Replace\x20table\x20cells*','markMultiRangeDeletion','updateMarker','insert','tablePasteColumn','remove','deletion','createRange','suggestion:formatBlock:tablePasteCell','activeMarkers','name','ck-suggestion-marker-insertion','suggestion-td','markerToHighlight','editingDowncast','getItems','push','reduce','previous','TableClipboard','tableCellBorderColor','register','tableCellSuggestion','commands','element','markerName','subType','suggestionUnloaded','insertion','view','first','tableCellHorizontalAlignment','some','rows','suggestion','removeMarkers','getSuggestion','removeMarker','tablePaste','tableCellVerticalAlignment','createElement','cell','removeColumns','high','map','getRowIndexes','model','removeRows','end','registerPostFixer','editor','getAllAdjacentSuggestions','next','get','find','_getCoordsForCells','getContainedElement','deletionRanges','tableCell','differ','requires','table','getChanges','_descriptionFactory','stop','batch','ck-suggestion-marker','createRangeOn','columns','add','getRange','root','start','nodeAfter','change','join','_suggestionFactory','isEqual','markMultiRangeInsertion','discard','getTableIfOnlyTableInContent','insertColumns','fill','getSuggestions','isInContent','Users','tablePasteRow','conversion','tableCellBorderWidth','type','low','getRows','containsRange','rowInsertionRanges','_tablePostFixingSubtypes','every','createRangeIn','position','from','rowInsertionIndexes','registerCustomCallback','startsWith','fromEntries','set','unwrap','setAttributes','afterInit','getColumnIndexes','markerAttributes','columnInsertionIndexes','getChangedMarkers','getSelectionAffectedTableCells','tablePasteChainId','document','forceDefaultExecution','_replaceTableSlotCell','includes','insertContent','getMarkers','_splitMarkerName','_isForcedDefaultExecutionBlock','$graveyard','getColumns','entries','plugins','_createdBatches','keys','tablePasteCell','tableCellBorderStyle','getRanges','for','getChild','findAncestor','getAttributes','accept','dataDowncast','filter','getChildren','has','wrap','formatBlock','tableCellBackgroundColor','paragraph','oldRange','createTableWalker','insertionRanges','attributes','locale','setAttribute'];(function(_0x437add,_0x419833){const _0x3900c5=function(_0x2731d2){while(--_0x2731d2){_0x437add['push'](_0x437add['shift']());}};_0x3900c5(++_0x419833);}(_0x4198,0x17f));const _0x3900=function(_0x437add,_0x419833){_0x437add=_0x437add-0x0;let _0x3900c5=_0x4198[_0x437add];return _0x3900c5;};import{getTranslation as _0x3f2121}from'../utils/common-translations';import{Plugin as _0x4e6504}from'ckeditor5/src/core';import{uid as _0x3dfb24,priorities as _0x4e4404}from'ckeditor5/src/utils';import _0x2ea1bd from'./table';const le=[_0x3900('0x18'),_0x3900('0x70'),_0x3900('0x40'),_0x3900('0x7b'),_0x3900('0x83'),_0x3900('0x4d'),'tableCellPadding'],ae=Object['fromEntries'](le[_0x3900('0x88')](_0x4e79ed=>[_0x4e79ed,null]));export default class kt extends _0x4e6504{static get[_0x3900('0x98')](){return[_0x2ea1bd];}[_0x3900('0x2a')](){const _0x613aa1=this[_0x3900('0x8e')];if(!_0x613aa1[_0x3900('0x3c')][_0x3900('0x4a')](_0x3900('0x6f')))return;const _0x4cf0b7=_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')]('TrackChangesEditing'),_0x5d12fe=_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')]('TableUtils'),_0x4329d2=_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')](_0x2ea1bd),_0x28a4c0=_0x613aa1[_0x3900('0x3c')]['get'](_0x3900('0x6f'));_0x4329d2[_0x3900('0x1e')]['push'](_0x3900('0x16'),_0x3900('0x60')),_0x613aa1['model']['schema'][_0x3900('0x71')](_0x3900('0x72'),{'allowIn':_0x3900('0x96'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x613aa1[_0x3900('0x17')][_0x3900('0x57')]({'model':_0x3900('0x72'),'view':_0x3900('0x68')});let _0xb48b64=null;_0x613aa1[_0x3900('0x8a')]['on'](_0x3900('0x35'),(_0x54c404,_0x1fa016)=>{const [_0x3f699d,_0x4c7d2e]=_0x1fa016,_0xef005f=_0x1fa016[_0x1fa016[_0x3900('0x56')]-0x1];_0xef005f&&_0xef005f[_0x3900('0x32')]||_0x4cf0b7[_0x3900('0x38')]||this[_0x3900('0x8e')][_0x3900('0x73')]['get']('trackChanges')['value']&&function(_0x453b11,_0x40b5d2,_0x12eb7d,_0x3f2a4f,_0x5a1f80){if(_0x40b5d2&&!_0x40b5d2['is']('documentSelection'))return!0x1;const _0x18320b=_0x5a1f80[_0x3900('0x10')](_0x453b11,_0x12eb7d);if(!_0x18320b||!fe(_0x18320b,void 0x0,_0x3f2a4f))return!0x1;const _0x45c33a=_0x3f2a4f[_0x3900('0x2f')](_0x12eb7d[_0x3900('0x31')]['selection']);if(!_0x45c33a[_0x3900('0x56')])return!0x1;const _0x4ddcb1=_0x45c33a[0x0]['findAncestor'](_0x3900('0x99')),_0x2ca3d1=_0x3f2a4f[_0x3900('0x89')](_0x45c33a),_0x1c232d=_0x3f2a4f[_0x3900('0x2b')](_0x45c33a),_0x5f4406={'startRow':_0x2ca3d1[_0x3900('0x7a')],'endRow':_0x2ca3d1['last'],'startColumn':_0x1c232d[_0x3900('0x7a')],'endColumn':_0x1c232d['last']};return 0x1==_0x45c33a['length']&&(_0x5f4406['endRow']+=_0x3f2a4f[_0x3900('0x1b')](_0x18320b)-0x1,_0x5f4406[_0x3900('0x5a')]+=_0x3f2a4f[_0x3900('0x3a')](_0x18320b)-0x1),fe(_0x4ddcb1,_0x5f4406,_0x3f2a4f);}(_0x3f699d,_0x4c7d2e,_0x613aa1[_0x3900('0x8a')],_0x5d12fe,_0x28a4c0)&&(_0x54c404[_0x3900('0x0')](),_0xb48b64={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x613aa1[_0x3900('0x8a')]['change'](()=>{_0x613aa1[_0x3900('0x8a')]['insertContent'](_0x1fa016[0x0],_0x1fa016[0x1],_0x1fa016[0x2],{'forceDefaultExecution':!0x0});const _0x4bc30a=_0x3dfb24(),{rowInsertionRanges:_0x46a8a1,columnInsertionRanges:_0x40196e,insertionRanges:_0x511df2,deletionRanges:_0xe152f7,cells:_0x2d5970}=_0xb48b64;_0x46a8a1['length']&&_0x4cf0b7[_0x3900('0xe')](_0x46a8a1,'tablePasteRow',{'tablePasteChainId':_0x4bc30a}),_0x40196e[_0x3900('0x56')]&&_0x4cf0b7[_0x3900('0xe')](_0x40196e,_0x3900('0x60'),{'tablePasteChainId':_0x4bc30a}),_0x511df2[_0x3900('0x56')]&&_0x4cf0b7[_0x3900('0xe')](_0x511df2,_0x3900('0x82'),{'tablePasteChainId':_0x4bc30a,'skipNestingCheck':!0x0}),_0xe152f7['length']&&_0x4cf0b7[_0x3900('0x5d')](_0xe152f7,_0x3900('0x82'),{'tablePasteChainId':_0x4bc30a,'skipNestingCheck':!0x0});const _0x3f35ec=_0x4cf0b7['markMultiRangeBlockFormat'](_0x2d5970[_0x3900('0x88')](({element:_0x410a2d})=>_0x410a2d),{'formatGroupId':_0x3dfb24()},[],_0x3900('0x3f'),{'tablePasteChainId':_0x4bc30a});if(_0x3f35ec){const _0xcead39=_0x3f35ec['getMarkers'](),_0x174a45=[];for(const {element:_0x5cd268,attributes:_0x930110}of _0x2d5970){if(!_0x930110)continue;const _0x3fa58a=_0x613aa1[_0x3900('0x8a')][_0x3900('0x3')](_0x5cd268),_0x5549dc=_0xcead39[_0x3900('0x92')](_0x46c520=>_0x46c520['getRange']()['isEqual'](_0x3fa58a));_0x5549dc&&_0x174a45[_0x3900('0x6c')]([_0x5549dc[_0x3900('0x66')],_0x930110]);}_0x174a45[_0x3900('0x56')]&&_0x3f35ec[_0x3900('0x54')](_0x3900('0x2c'),Object[_0x3900('0x26')](_0x174a45));}_0xb48b64=null;}));},{'priority':_0x4e4404[_0x3900('0x87')]+0xa}),_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')](_0x3900('0x6f'))['on'](_0x3900('0x33'),(_0x5515e8,_0x45bd95)=>{const [_0x21a6d2,_0x443422,,_0x252cc2]=_0x45bd95;if(!_0xb48b64)return;_0x5515e8['stop']();const _0x13f020=_0x21a6d2[_0x3900('0x85')],_0x2f5bc3=_0x443422,_0x5586e3=ce(_0x13f020),_0xf3c014=ce(_0x2f5bc3);_0x5515e8['return']=_0x13f020;let _0x1a1b6e=null,_0x33e4ae=null;if(_0xf3c014||_0x5586e3){if(_0x5586e3&&!_0xf3c014){_0x252cc2[_0x3900('0x61')](_0x13f020[_0x3900('0x43')](0x0));for(const _0x36541a of Array['from'](_0x2f5bc3[_0x3900('0x49')]()))_0x252cc2[_0x3900('0x5f')](_0x36541a,_0x13f020,'end');const _0x57c493=_0xb48b64['rowInsertionIndexes']['includes'](_0x21a6d2['row']),_0x416ef7=_0xb48b64[_0x3900('0x2d')][_0x3900('0x34')](_0x21a6d2['column']);_0x57c493||_0x416ef7||(_0x1a1b6e=_0x252cc2['createRangeIn'](_0x13f020));}else _0xf3c014&&!_0x5586e3&&(_0x33e4ae=_0x252cc2[_0x3900('0x20')](_0x13f020));}else{const _0x5c8d76=_0x252cc2[_0x3900('0x84')](_0x3900('0x72')),_0x318704=_0x252cc2[_0x3900('0x84')](_0x3900('0x72'));_0x252cc2[_0x3900('0x4b')](_0x252cc2[_0x3900('0x20')](_0x13f020),_0x318704),_0x252cc2[_0x3900('0x5f')](_0x5c8d76,_0x13f020,0x0);for(const _0x4ac561 of Array['from'](_0x2f5bc3['getChildren']()))_0x252cc2[_0x3900('0x5f')](_0x4ac561,_0x5c8d76,_0x3900('0x8c'));_0x1a1b6e=_0x252cc2[_0x3900('0x3')](_0x5c8d76),_0x33e4ae=_0x252cc2[_0x3900('0x3')](_0x318704);}const _0x47da70=Array[_0x3900('0x22')](_0x2f5bc3[_0x3900('0x45')]())[_0x3900('0x48')](([_0x10038c])=>le[_0x3900('0x34')](_0x10038c));_0xb48b64[_0x3900('0x59')][_0x3900('0x6c')]({'element':_0x13f020,'attributes':_0x47da70[_0x3900('0x56')]?Object['fromEntries'](_0x47da70):null}),_0x1a1b6e&&_0xb48b64[_0x3900('0x51')][_0x3900('0x6c')](_0x1a1b6e),_0x33e4ae&&_0xb48b64[_0x3900('0x95')][_0x3900('0x6c')](_0x33e4ae);},{'priority':_0x3900('0x87')}),_0x5d12fe['on'](_0x3900('0x11'),(_0x574625,_0x1eb86a)=>{const [_0x42401e,_0x143421={}]=_0x1eb86a;if(!_0xb48b64)return;const _0xf91f97=_0x143421['at']||0x0,_0x579ef3=_0x143421[_0x3900('0x4')]||0x1;_0xb48b64[_0x3900('0x2d')]=new Array(_0x579ef3)['fill'](_0xf91f97)[_0x3900('0x88')]((_0x40cb7d,_0x369209)=>_0x40cb7d+_0x369209);for(const {cell:_0x3db806}of _0x5d12fe['createTableWalker'](_0x42401e,{'startColumn':_0xf91f97,'endColumn':_0xf91f97+_0x579ef3-0x1}))_0xb48b64[_0x3900('0x5b')]['push'](_0x613aa1[_0x3900('0x8a')][_0x3900('0x3')](_0x3db806));},{'priority':_0x3900('0x1a')}),_0x5d12fe['on']('insertRows',(_0x308965,_0x4bbbd5)=>{const [_0x112154,_0x17987f={}]=_0x4bbbd5;if(!_0xb48b64)return;const _0x499356=_0x17987f['at']||0x0,_0x3530a2=_0x17987f[_0x3900('0x7d')]||0x1;_0xb48b64[_0x3900('0x23')]=new Array(_0x3530a2)[_0x3900('0x12')](_0x499356)[_0x3900('0x88')]((_0x50bcb3,_0x5bcbc2)=>_0x50bcb3+_0x5bcbc2);for(const {cell:_0x1ad4ab}of _0x5d12fe[_0x3900('0x50')](_0x112154,{'startRow':_0x499356,'endRow':_0x499356+_0x3530a2-0x1}))_0xb48b64[_0x3900('0x1d')]['push'](_0x613aa1[_0x3900('0x8a')]['createRangeOn'](_0x1ad4ab));},{'priority':_0x3900('0x1a')}),_0x4cf0b7[_0x3900('0x9b')]['registerDescriptionCallback'](_0x263cd0=>{if(_0x263cd0[_0x3900('0x76')]&&_0x263cd0[_0x3900('0x76')][_0x3900('0x25')](_0x3900('0x82')))return _0x263cd0[_0x3900('0x6e')]?{}:{'type':_0x3900('0x78'),'content':_0x3f2121(_0x613aa1[_0x3900('0x53')],_0x3900('0x5c'))};});const _0x491fc0=()=>{};for(const _0x5c9ddd of[_0x3900('0x82'),_0x3900('0x60'),_0x3900('0x16'),_0x3900('0x3f')])_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x78'),_0x5c9ddd,_0x3900('0xb'),_0x491fc0),_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x62'),_0x5c9ddd,_0x3900('0xb'),_0x491fc0);_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x4c'),_0x3900('0x3f'),'discard',_0x491fc0),_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x4c'),'tablePasteCell',_0x3900('0x46'),(_0x38b5ff,_0x2e8693,_0x29cc47)=>{const _0x434c21=_0x38b5ff[_0x3900('0x88')](_0x415e60=>_0x415e60[_0x3900('0x94')]())[_0x3900('0x48')](_0x4528ef=>_0x4528ef),_0x20a7c9=new Map(_0x434c21['map'](_0x335df8=>[_0x335df8,null]));if(_0xb48b64)for(const {element:_0x239ad4,attributes:_0xdcab87}of _0xb48b64[_0x3900('0x59')])_0xdcab87&&_0x20a7c9[_0x3900('0x27')](_0x239ad4,_0xdcab87);else{if(_0x29cc47&&_0x29cc47[_0x3900('0x2c')])for(const [_0x3a8daa,_0x2ada45]of Object[_0x3900('0x3b')](_0x29cc47['markerAttributes'])){const _0x481a1d=_0x613aa1[_0x3900('0x8a')]['markers'][_0x3900('0x91')](_0x3a8daa),_0x1267c3=_0x481a1d?_0x481a1d[_0x3900('0x6')]()[_0x3900('0x94')]():null;_0x1267c3&&_0x20a7c9['set'](_0x1267c3,_0x2ada45);}}_0x613aa1[_0x3900('0x8a')]['change'](_0x1a4e90=>{for(const [_0x4b797e,_0x4bd8d0]of _0x20a7c9)_0x1a4e90[_0x3900('0x29')]({...ae,..._0x4bd8d0},_0x4b797e);});});const _0x358e21=(_0x427271,_0x47f82c)=>{_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x427271,_0x3900('0x82'),_0x47f82c,(_0x27656d,_0x99ba82,_0x506472)=>{_0x613aa1[_0x3900('0x8a')][_0x3900('0xa')](_0x26b130=>{const _0x36d62c=[];for(const _0x522a62 of _0x27656d){const _0x54c185=_0x522a62[_0x3900('0x8')][_0x3900('0x9')];_0x54c185['is']('element',_0x3900('0x72'))&&_0x36d62c[_0x3900('0x6c')](_0x54c185);}_0x4cf0b7[_0x3900('0xc')]['getSuggestionCallback'](_0x427271,null,_0x47f82c)(_0x27656d,_0x99ba82,_0x506472);for(const _0x127b8b of _0x36d62c)_0x3900('0x39')!=_0x127b8b[_0x3900('0x7')]['rootName']&&_0x26b130['unwrap'](_0x127b8b);});});};_0x358e21(_0x3900('0x78'),_0x3900('0x46')),_0x358e21(_0x3900('0x78'),_0x3900('0xf')),_0x358e21(_0x3900('0x62'),_0x3900('0x46')),_0x358e21(_0x3900('0x62'),_0x3900('0xf')),_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x78'),_0x3900('0x16'),_0x3900('0xf'),_0x3af99b=>{const _0x458294=_0x3af99b[_0x3900('0x88')](_0x3fc212=>_0x3fc212[_0x3900('0x94')]()),_0x424717=_0x458294[0x0]['findAncestor']('table'),{minRow:_0xfd4fe0,maxRow:_0x5d32b7}=_0x4329d2['_getCoordsForCells'](_0x458294);_0x5d12fe[_0x3900('0x8b')](_0x424717,{'at':_0xfd4fe0,'rows':_0x5d32b7-_0xfd4fe0+0x1});}),_0x4cf0b7[_0x3900('0xc')][_0x3900('0x24')](_0x3900('0x78'),_0x3900('0x60'),_0x3900('0xf'),_0x4e10de=>{const _0x492b6c=_0x4e10de[_0x3900('0x88')](_0x241807=>_0x241807[_0x3900('0x94')]()),_0x3d8423=_0x492b6c[0x0][_0x3900('0x44')](_0x3900('0x99')),{minColumn:_0x5acef1,maxColumn:_0x5ceb02}=_0x4329d2[_0x3900('0x93')](_0x492b6c);_0x5d12fe[_0x3900('0x86')](_0x3d8423,{'at':_0x5acef1,'columns':_0x5ceb02-_0x5acef1+0x1});});const _0xca429f=(_0x3be7c1,_0x2b61ca)=>{if(!_0x2b61ca[_0x3900('0x76')]||!_0x2b61ca[_0x3900('0x76')][_0x3900('0x25')](_0x3900('0x82')))return;const _0x1eebd3=_0x2b61ca[_0x3900('0x52')][_0x3900('0x30')],_0x4f6ae6=_0x4cf0b7[_0x3900('0x13')]()['filter'](_0x3c8f4b=>_0x3c8f4b[_0x3900('0x14')]&&_0x3c8f4b[_0x3900('0x52')]&&_0x3c8f4b[_0x3900('0x52')][_0x3900('0x30')]==_0x1eebd3);_0x4f6ae6[_0x3900('0x56')]&&_0x2b61ca['getAllAdjacentSuggestions']()[_0x3900('0x56')]!=_0x4f6ae6['length']&&_0x4f6ae6[_0x3900('0x6d')]((_0x460438,_0x53b46b)=>(_0x460438[_0x3900('0x90')]=_0x53b46b,_0x53b46b[_0x3900('0x6e')]=_0x460438,_0x53b46b));};function _0x16105f(_0x19e750,_0xd8803f=!0x0){const {id:_0x2054da}=_0x4cf0b7[_0x3900('0x37')](_0x19e750[_0x3900('0x75')]),_0x420855=[_0x3900('0x2'),_0x3900('0x67')],_0x261fac=_0x4cf0b7[_0x3900('0x65')]['includes'](_0x19e750['markerName']);return _0x261fac&&_0x420855[_0x3900('0x6c')]('ck-suggestion-marker--active'),{'classes':_0x420855,'attributes':{'data-suggestion':_0x2054da},'priority':_0x261fac&&_0xd8803f?0xbc2:0xbb8};}_0x4cf0b7['on']('suggestionLoaded',_0xca429f,{'priority':_0x3900('0x87')}),_0x4cf0b7['on'](_0x3900('0x77'),_0xca429f,{'priority':_0x3900('0x87')}),_0x613aa1[_0x3900('0x8a')][_0x3900('0x31')]['registerPostFixer'](()=>{let _0x3fb490=!0x1;const _0x186838=Array[_0x3900('0x22')](_0x613aa1[_0x3900('0x8a')][_0x3900('0x31')][_0x3900('0x97')]['getChangedMarkers']());for(const {name:_0x1d3e1b,data:_0x2f48d8}of _0x186838){const {group:_0x2b8b4b,type:_0x34affc,id:_0x280f5e}=_0x4cf0b7[_0x3900('0x37')](_0x1d3e1b);if('suggestion'!=_0x2b8b4b||'deletion'!=_0x34affc||_0x2f48d8[_0x3900('0x4f')])continue;if(!_0x4cf0b7['hasSuggestion'](_0x280f5e))continue;const _0x311d2d=_0x4cf0b7[_0x3900('0x80')](_0x280f5e)[_0x3900('0x41')](),_0x1a9013=_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')](_0x3900('0x15'))['me'];for(const _0x2607da of _0x4cf0b7[_0x3900('0x13')]()){if(!_0x2607da[_0x3900('0x14')]||_0x2607da['author']!=_0x1a9013)continue;if('formatBlock'!=_0x2607da[_0x3900('0x19')]||_0x3900('0x3f')!=_0x2607da[_0x3900('0x76')])continue;if(_0x2607da[_0x3900('0x41')]()[_0x3900('0x1f')](_0x1e92a6=>_0x311d2d[_0x3900('0x7c')](_0x51a511=>_0x51a511[_0x3900('0x1c')](_0x1e92a6,!0x0))))for(const _0x3e31d9 of _0x2607da[_0x3900('0x8f')]())_0x3e31d9[_0x3900('0x14')]&&(_0x3e31d9[_0x3900('0xf')](),_0x3fb490=!0x0);}}return _0x3fb490;}),_0x613aa1[_0x3900('0x8a')][_0x3900('0x31')]['registerPostFixer'](_0xfce64c=>{const _0x2424bd=_0x613aa1['commands'][_0x3900('0x91')]('redo');if(!_0x2424bd||!_0x2424bd[_0x3900('0x3d')][_0x3900('0x4a')](_0xfce64c[_0x3900('0x1')]))return!0x1;let _0x1b51d8=!0x1;const _0x176a6a=_0x613aa1[_0x3900('0x3c')][_0x3900('0x91')](_0x3900('0x15'))['me'],_0x2b08e4=_0x613aa1[_0x3900('0x8a')]['document']['differ'][_0x3900('0x9a')](),_0x54728c=Array[_0x3900('0x22')](_0x613aa1[_0x3900('0x8a')]['document']['differ'][_0x3900('0x2e')]())[_0x3900('0x48')](({name:_0x38c14c,data:_0x457de1})=>{const {group:_0x471ed8,subType:_0x54730d,authorId:_0x59ee03}=_0x4cf0b7[_0x3900('0x37')](_0x38c14c);return _0x3900('0x7e')==_0x471ed8&&_0x3900('0x82')==_0x54730d&&_0x59ee03==_0x176a6a['id']&&!_0x457de1[_0x3900('0x4f')];});for(const _0x4d8b83 of _0x2b08e4){if(_0x3900('0x5f')!=_0x4d8b83['type']||_0x3900('0x72')!=_0x4d8b83[_0x3900('0x66')]||0x1!=_0x4d8b83[_0x3900('0x56')])continue;const _0x4481f6=_0xfce64c[_0x3900('0x63')](_0x4d8b83[_0x3900('0x21')],_0x4d8b83[_0x3900('0x21')]['getShiftedBy'](0x1));if(!_0x54728c['find'](({data:_0x29ffba})=>_0x29ffba[_0x3900('0x55')][_0x3900('0xd')](_0x4481f6)))for(const {name:_0x17500c,data:_0xa2ee6d}of _0x54728c)if(_0x4481f6['containsRange'](_0xa2ee6d['newRange'])){_0xfce64c[_0x3900('0x5e')](_0x17500c,{'range':_0x4481f6}),_0x1b51d8=!0x0;break;}}return _0x1b51d8;}),_0x613aa1['model'][_0x3900('0x31')][_0x3900('0x8d')](_0x4c5d8e=>{let _0x40166f=!0x1;const _0x21f3ef=_0x613aa1[_0x3900('0x3c')]['get'](_0x3900('0x15'))['me'],_0x5dc783=_0x4cf0b7[_0x3900('0x13')]()[_0x3900('0x48')](_0x4c5f87=>_0x4c5f87[_0x3900('0x14')]&&_0x4c5f87['author']==_0x21f3ef),_0x7e9986=new Set(),_0x5bb872=new Set();for(const _0x4364a5 of _0x5dc783)if(_0x3900('0x82')==_0x4364a5[_0x3900('0x76')])for(const _0x44e451 of _0x4364a5[_0x3900('0x36')]()){const _0xd70895=_0x44e451[_0x3900('0x6')]()[_0x3900('0x94')]();if(_0xd70895){if(_0xd70895['is'](_0x3900('0x74'),'tableCellSuggestion')&&ce(_0xd70895)){_0x4364a5['removeMarker'](_0x44e451[_0x3900('0x66')]),_0x7e9986['add'](_0xd70895),_0x40166f=!0x0;const _0x5b83d8=_0xd70895['nextSibling'],_0x7b7f70=_0xd70895['previousSibling'],_0x550d61=_0x5b83d8&&_0x5b83d8['is'](_0x3900('0x74'),_0x3900('0x72')),_0x41d8bd=_0x7b7f70&&_0x7b7f70['is'](_0x3900('0x74'),_0x3900('0x72'));_0x550d61&&!_0x7e9986[_0x3900('0x4a')](_0x5b83d8)&&_0x5bb872[_0x3900('0x5')](_0x5b83d8),_0x41d8bd&&!_0x7e9986['has'](_0x7b7f70)&&_0x5bb872[_0x3900('0x5')](_0x7b7f70);}else _0xd70895['is'](_0x3900('0x74'),_0x3900('0x4e'))&&_0xd70895[_0x3900('0x58')]&&(_0x4364a5[_0x3900('0x81')](_0x44e451['name']),_0x40166f=!0x0);}}else{if(_0x3900('0x3f')==_0x4364a5[_0x3900('0x76')]){if(!_0x4364a5[_0x3900('0x52')]||!_0x4364a5['attributes'][_0x3900('0x30')])continue;const _0x22614f=_0x4364a5['attributes'][_0x3900('0x2c')];if(_0x22614f&&Object[_0x3900('0x3e')](_0x22614f)[_0x3900('0x56')])continue;const _0x27f221=_0x4364a5['attributes'][_0x3900('0x30')];let _0x23d2cf=!0x0,_0x204076=!0x0;for(const _0x557b96 of _0x5dc783)if(_0x557b96[_0x3900('0x76')]&&_0x557b96[_0x3900('0x76')][_0x3900('0x25')]('tablePaste')){if(!_0x557b96['attributes'][_0x3900('0x30')]){_0x204076=!0x1;break;}if(_0x557b96['id']!=_0x4364a5['id']&&_0x557b96[_0x3900('0x52')][_0x3900('0x30')]==_0x27f221){_0x23d2cf=!0x1;break;}}_0x204076&&_0x23d2cf&&(_0x4364a5[_0x3900('0x7f')](),_0x40166f=!0x0);}}for(const _0x5f40d4 of _0x7e9986)_0x4c5d8e['remove'](_0x5f40d4);for(const _0x339cc5 of _0x5bb872)_0x4c5d8e[_0x3900('0x28')](_0x339cc5);return _0x40166f;}),_0x613aa1[_0x3900('0x17')][_0x3900('0x42')](_0x3900('0x6a'))[_0x3900('0x69')]({'model':_0x3900('0x64'),'view':(_0x10e2a6,_0x4b470c)=>_0x16105f(_0x10e2a6),'converterPriority':_0x3900('0x87')}),_0x613aa1[_0x3900('0x17')][_0x3900('0x42')](_0x3900('0x47'))[_0x3900('0x69')]({'model':_0x3900('0x64'),'view':(_0x2a6413,_0x3faf59)=>_0x3faf59['options']['showSuggestionHighlights']?_0x16105f(_0x2a6413,!0x1):null,'converterPriority':'high'});const _0x468c41=_0x613aa1['editing'][_0x3900('0x79')];this['listenTo'](_0x468c41[_0x3900('0x31')],'clipboardOutput',(_0x54d50e,_0x4f9c55)=>{const _0x2b5c1d=[];for(const _0x3dc497 of _0x468c41[_0x3900('0x20')](_0x4f9c55['content'])[_0x3900('0x6b')]())_0x3dc497['is'](_0x3900('0x74'),_0x3900('0x68'))&&_0x2b5c1d[_0x3900('0x6c')](_0x3dc497);_0x468c41[_0x3900('0xa')](_0x401df2=>{for(const _0x492856 of _0x2b5c1d)_0x401df2['move'](_0x401df2[_0x3900('0x20')](_0x492856),_0x401df2['createPositionBefore'](_0x492856)),_0x401df2[_0x3900('0x61')](_0x492856);});});}}function ce(_0x16f8ac){if(_0x16f8ac['isEmpty'])return!0x0;const _0x13be3e=_0x16f8ac[_0x3900('0x43')](0x0);return _0x13be3e['is']('element','paragraph')&&_0x13be3e[_0x3900('0x58')];}function fe(_0x7e67c0,_0x118092={},_0x20ff0b){for(const {isAnchor:_0x447dd3,cellHeight:_0x1aa8e3,cellWidth:_0x5792a1}of _0x20ff0b[_0x3900('0x50')](_0x7e67c0,{'includeAllSlots':!0x0,..._0x118092}))if(!_0x447dd3||0x1!=_0x1aa8e3||0x1!=_0x5792a1)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x583c=['markBlockFormat','resizeTableWidth','tableWidth','_descriptionFactory','document','handleSuggestionDescription','subType','handleResizeTableWidthCommand','bind','registerDescriptionCallback','accept','table','enableCommand','registerCustomCallback','data','_suggestionFactory','resizeColumnWidths','formatBlock','getAttribute','editor','getSuggestionCallback','has','TableColumnResizeEditing','getContainedElement','commandParams','columnWidths','plugins','getSelectedElement','TrackChangesEditing','author','format','model','getColumnGroupElement','getTableColumnsWidths','resizeTable','change','get','afterInit'];(function(_0xea6d7b,_0x583c05){const _0x3fdf75=function(_0x5a0b8b){while(--_0x5a0b8b){_0xea6d7b['push'](_0xea6d7b['shift']());}};_0x3fdf75(++_0x583c05);}(_0x583c,0xa1));const _0x3fdf=function(_0xea6d7b,_0x583c05){_0xea6d7b=_0xea6d7b-0x0;let _0x3fdf75=_0x583c[_0xea6d7b];return _0x3fdf75;};import{Plugin as _0x7cc0fc}from'ckeditor5/src/core';import{getTranslation as _0x4fc010}from'../utils/common-translations';export default class wt extends _0x7cc0fc{[_0x3fdf('0x1c')](){if(!this[_0x3fdf('0xa')][_0x3fdf('0x11')][_0x3fdf('0xc')](_0x3fdf('0xd')))return;const _0xfc7a58=this[_0x3fdf('0xa')][_0x3fdf('0x11')][_0x3fdf('0x1b')](_0x3fdf('0x13'));_0xfc7a58['enableCommand'](_0x3fdf('0x1e'),this[_0x3fdf('0x24')][_0x3fdf('0x25')](this)),_0xfc7a58[_0x3fdf('0x3')](_0x3fdf('0x7'),this[_0x3fdf('0x24')]['bind'](this)),_0xfc7a58['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3fdf('0x19'),'accept',_0xfc7a58[_0x3fdf('0x6')][_0x3fdf('0xb')]('formatBlock',null,'discard')),_0xfc7a58['_suggestionFactory'][_0x3fdf('0x4')](_0x3fdf('0x8'),_0x3fdf('0x19'),'discard',_0xfc7a58[_0x3fdf('0x6')][_0x3fdf('0xb')](_0x3fdf('0x8'),null,_0x3fdf('0x1'))),_0xfc7a58[_0x3fdf('0x20')][_0x3fdf('0x0')](this[_0x3fdf('0x22')][_0x3fdf('0x25')](this));}[_0x3fdf('0x24')](_0x175a67,_0x5518d4){const _0x5dfccd=this[_0x3fdf('0xa')][_0x3fdf('0x11')]['get'](_0x3fdf('0x13')),_0x26b7dc=this[_0x3fdf('0xa')]['plugins'][_0x3fdf('0x1b')](_0x3fdf('0xd')),_0x3f491c=_0x5518d4[_0x3fdf('0x2')]||this[_0x3fdf('0xa')][_0x3fdf('0x16')][_0x3fdf('0x21')]['selection'][_0x3fdf('0x12')]();this['editor'][_0x3fdf('0x16')][_0x3fdf('0x1a')](()=>{const _0x12b703=_0x26b7dc[_0x3fdf('0x17')](_0x3f491c);let _0x41a497=_0x12b703?_0x26b7dc[_0x3fdf('0x18')](_0x12b703):null,_0x493263=_0x3f491c[_0x3fdf('0x9')](_0x3fdf('0x1f'))||null;const _0xcb74eb=_0x5518d4['tableWidth']||_0x493263,_0x1da628=_0x5518d4[_0x3fdf('0x10')]||_0x41a497,_0x3c9021=this[_0x3fdf('0xa')][_0x3fdf('0x11')]['get']('Users')['me'];for(const _0xe501b8 of _0x5dfccd['getSuggestions']()){const _0x227428=_0xe501b8[_0x3fdf('0xe')]();if(_0x3fdf('0x19')===_0xe501b8[_0x3fdf('0x23')]&&_0x227428===_0x3f491c){_0xe501b8[_0x3fdf('0x14')]!==_0x3c9021&&_0xe501b8['discard']();const _0x20f85d=_0xe501b8[_0x3fdf('0x5')][_0x3fdf('0xf')];_0x493263=_0x20f85d[0x0][_0x3fdf('0x1f')],_0x41a497=_0x20f85d[0x0]['columnWidths'];break;}}_0x175a67({'table':_0x3f491c,'tableWidth':_0xcb74eb,'columnWidths':_0x1da628}),_0x5dfccd[_0x3fdf('0x1d')](_0x3f491c,{'commandName':_0x3fdf('0x1e'),'commandParams':[{'tableWidth':_0x493263,'columnWidths':_0x41a497}],'formatGroupId':_0x3fdf('0x19')},[],_0x3fdf('0x19'));});}[_0x3fdf('0x22')](_0x590c4a){const {data:_0x3f164e}=_0x590c4a;if(_0x3f164e&&_0x3fdf('0x19')===_0x3f164e['formatGroupId']){const _0x2b4550='*Format:*\x20resize\x20table';return{'type':_0x3fdf('0x15'),'content':_0x4fc010(this[_0x3fdf('0xa')]['locale'],_0x2b4550)};}}}
23
+ const _0x995a=['TableColumnResizeEditing','_descriptionFactory','columnWidths','formatGroupId','locale','resizeTableWidth','Users','subType','registerCustomCallback','formatBlock','model','has','getContainedElement','plugins','enableCommand','_suggestionFactory','markBlockFormat','resizeColumnWidths','discard','handleSuggestionDescription','getAttribute','format','registerDescriptionCallback','tableWidth','getTableColumnsWidths','handleResizeTableWidthCommand','editor','bind','table','author','getColumnGroupElement','commandParams','accept','*Format:*\x20resize\x20table','resizeTable','get','getSelectedElement','data','selection','change'];(function(_0x3d179c,_0x995aae){const _0x1fd57a=function(_0x3e87b8){while(--_0x3e87b8){_0x3d179c['push'](_0x3d179c['shift']());}};_0x1fd57a(++_0x995aae);}(_0x995a,0x164));const _0x1fd5=function(_0x3d179c,_0x995aae){_0x3d179c=_0x3d179c-0x0;let _0x1fd57a=_0x995a[_0x3d179c];return _0x1fd57a;};import{Plugin as _0x319d85}from'ckeditor5/src/core';import{getTranslation as _0x40ead4}from'../utils/common-translations';export default class wt extends _0x319d85{['afterInit'](){if(!this[_0x1fd5('0x1e')]['plugins'][_0x1fd5('0xf')]('TableColumnResizeEditing'))return;const _0x3e8f20=this[_0x1fd5('0x1e')]['plugins'][_0x1fd5('0x27')]('TrackChangesEditing');_0x3e8f20[_0x1fd5('0x12')](_0x1fd5('0x9'),this['handleResizeTableWidthCommand']['bind'](this)),_0x3e8f20['enableCommand'](_0x1fd5('0x15'),this[_0x1fd5('0x1d')]['bind'](this)),_0x3e8f20[_0x1fd5('0x13')]['registerCustomCallback']('formatBlock',_0x1fd5('0x26'),_0x1fd5('0x24'),_0x3e8f20[_0x1fd5('0x13')]['getSuggestionCallback'](_0x1fd5('0xd'),null,_0x1fd5('0x16'))),_0x3e8f20['_suggestionFactory'][_0x1fd5('0xc')](_0x1fd5('0xd'),_0x1fd5('0x26'),_0x1fd5('0x16'),_0x3e8f20[_0x1fd5('0x13')]['getSuggestionCallback']('formatBlock',null,_0x1fd5('0x24'))),_0x3e8f20[_0x1fd5('0x5')][_0x1fd5('0x1a')](this['handleSuggestionDescription'][_0x1fd5('0x1f')](this));}[_0x1fd5('0x1d')](_0x35605f,_0x140a5c){const _0x187c47=this[_0x1fd5('0x1e')][_0x1fd5('0x11')]['get']('TrackChangesEditing'),_0x375608=this[_0x1fd5('0x1e')]['plugins'][_0x1fd5('0x27')](_0x1fd5('0x4')),_0x3d6f99=_0x140a5c[_0x1fd5('0x20')]||this[_0x1fd5('0x1e')][_0x1fd5('0xe')]['document'][_0x1fd5('0x2')][_0x1fd5('0x0')]();this[_0x1fd5('0x1e')][_0x1fd5('0xe')][_0x1fd5('0x3')](()=>{const _0x425848=_0x375608[_0x1fd5('0x22')](_0x3d6f99);let _0x50b634=_0x425848?_0x375608[_0x1fd5('0x1c')](_0x425848):null,_0x5da2d4=_0x3d6f99[_0x1fd5('0x18')](_0x1fd5('0x1b'))||null;const _0x3f2f7e=_0x140a5c['tableWidth']||_0x5da2d4,_0x1c440c=_0x140a5c[_0x1fd5('0x6')]||_0x50b634,_0xd878a4=this[_0x1fd5('0x1e')]['plugins'][_0x1fd5('0x27')](_0x1fd5('0xa'))['me'];for(const _0x207e86 of _0x187c47['getSuggestions']()){const _0x31b13e=_0x207e86[_0x1fd5('0x10')]();if(_0x1fd5('0x26')===_0x207e86[_0x1fd5('0xb')]&&_0x31b13e===_0x3d6f99){_0x207e86[_0x1fd5('0x21')]!==_0xd878a4&&_0x207e86[_0x1fd5('0x16')]();const _0x21bce8=_0x207e86[_0x1fd5('0x1')][_0x1fd5('0x23')];_0x5da2d4=_0x21bce8[0x0][_0x1fd5('0x1b')],_0x50b634=_0x21bce8[0x0][_0x1fd5('0x6')];break;}}_0x35605f({'table':_0x3d6f99,'tableWidth':_0x3f2f7e,'columnWidths':_0x1c440c}),_0x187c47[_0x1fd5('0x14')](_0x3d6f99,{'commandName':_0x1fd5('0x9'),'commandParams':[{'tableWidth':_0x5da2d4,'columnWidths':_0x50b634}],'formatGroupId':_0x1fd5('0x26')},[],_0x1fd5('0x26'));});}[_0x1fd5('0x17')](_0x12f0db){const {data:_0x144433}=_0x12f0db;if(_0x144433&&_0x1fd5('0x26')===_0x144433[_0x1fd5('0x7')]){const _0x44b62c=_0x1fd5('0x25');return{'type':_0x1fd5('0x19'),'content':_0x40ead4(this[_0x1fd5('0x1e')][_0x1fd5('0x8')],_0x44b62c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1115=['cell','commandParams','get','headingRows','*Format:*\x20%0','removeClass','commandName','markBlockFormat','setTableRowHeader','item','_splitMarkerName','data','markerName','has','nodeBefore','FORMAT_REGULAR_COLUMN','commands','editing','downcastDispatcher','getSuggestion','getSelectionAffectedTableCells','createTableWalker','consume','TableEditing','stop','forceValue','selection','childCount','_suggestionFactory','TrackChangesEditing','accept','FORMAT_HEADER_ROW','formatBlock','findAncestor','plugins','getColumnIndexes','createPositionBefore','name','change','last','toViewElement','isBefore','setTableColumnHeader','data-suggestion','_descriptionFactory','getRowIndexes','ck-suggestion-marker--active','first','FORMAT_REGULAR_ROW','enableCommand','removeMarker:suggestion','headingColumns','format','document','addClass','getCellLocation','value','nodeAfter','registerCustomCallback','table','writer','getChild','afterInit','bindElementToMarker','getAttribute','unbindElementFromMarkerName','addMarker:suggestion','index','setAttribute','registerDescriptionCallback','markerRange','removeAttribute','requires','createPositionAfter','locale','FORMAT_HEADER_COLUMN','activeMarkers','highest','markerNameToElements','_acceptFormatSuggestionCallbackFactory','parent','model','TableUtils','ck-suggestion-marker-','createRange','mapper'];(function(_0x550095,_0x1115fa){const _0x469013=function(_0x18dc04){while(--_0x18dc04){_0x550095['push'](_0x550095['shift']());}};_0x469013(++_0x1115fa);}(_0x1115,0x1c9));const _0x4690=function(_0x550095,_0x1115fa){_0x550095=_0x550095-0x0;let _0x469013=_0x1115[_0x550095];return _0x469013;};import{Plugin as _0x4ab7b8}from'ckeditor5/src/core';import _0x57039b from'./table';import{getTranslation as _0x4c1a2c}from'../utils/common-translations';export default class pt extends _0x4ab7b8{static get[_0x4690('0x2d')](){return[_0x57039b];}[_0x4690('0x23')](){const _0x14d688=this['editor'];if(!_0x14d688['plugins'][_0x4690('0x48')](_0x4690('0x52')))return;const _0x2c2906=_0x14d688[_0x4690('0x2f')],_0x53f2a0=_0x14d688[_0x4690('0x7')][_0x4690('0x3d')](_0x4690('0x2')),_0x4f2b73=_0x14d688[_0x4690('0x7')]['get'](_0x4690('0x37')),_0x1cfca2=_0x14d688[_0x4690('0x7')][_0x4690('0x3d')](_0x57039b);function _0x3412dc({showActiveMarker:_0x5c0ece=!0x0,setDataAttribute:_0x4e1bcd=!0x0}={}){return(_0x29c3bc,_0x4c4e03,_0x220d98)=>{const {type:_0x2dd6de,id:_0x20201e}=_0x53f2a0[_0x4690('0x45')](_0x4c4e03[_0x4690('0x47')]),_0x3625f0=_0x53f2a0[_0x4690('0x4e')](_0x20201e);if(!_0x3625f0[_0x4690('0x46')]||_0x4690('0xf')!=_0x3625f0[_0x4690('0x46')][_0x4690('0x41')])return;if(_0x4c4e03[_0x4690('0x44')])return void _0x29c3bc[_0x4690('0x53')]();if(!_0x220d98['consumable'][_0x4690('0x51')](_0x4c4e03['markerRange'],_0x29c3bc[_0x4690('0xa')]))return;const _0xfb95ec=_0x4c4e03[_0x4690('0x2b')]['start'][_0x4690('0x1e')],_0x1f4362=_0x4c4e03[_0x4690('0x2b')]['end'][_0x4690('0x49')],_0x38ce95=_0xfb95ec['parent'][_0x4690('0x35')],{column:_0x3dc9fe}=_0x4f2b73[_0x4690('0x1c')](_0xfb95ec),{column:_0x389c69}=_0x4f2b73[_0x4690('0x1c')](_0x1f4362);for(let _0x8a44eb=_0x3dc9fe;_0x8a44eb<=_0x389c69;_0x8a44eb++){const _0x225382=_0x4f2b73[_0x4690('0x50')](_0x38ce95,{'column':_0x8a44eb,'includeAllSlots':!0x1});for(const _0x284447 of _0x225382){const _0x5ee8e5=_0x284447[_0x4690('0x3b')],_0x381c52=_0x220d98[_0x4690('0x3a')][_0x4690('0xd')](_0x5ee8e5);_0x220d98['writer'][_0x4690('0x1b')](_0x4690('0x38')+_0x2dd6de,_0x381c52),_0x4e1bcd&&_0x220d98[_0x4690('0x21')][_0x4690('0x29')](_0x4690('0x10'),_0x20201e,_0x381c52),_0x220d98[_0x4690('0x3a')][_0x4690('0x24')](_0x381c52,_0x4c4e03['markerName']),_0x5c0ece&&(_0x53f2a0[_0x4690('0x31')]['includes'](_0x4c4e03[_0x4690('0x47')])?_0x220d98[_0x4690('0x21')]['addClass'](_0x4690('0x13'),_0x381c52):_0x220d98['writer']['removeClass'](_0x4690('0x13'),_0x381c52));}}};}_0x53f2a0[_0x4690('0x16')](_0x4690('0x43'),(_0xfe895,_0x576162)=>{const _0x277fb8=_0x4f2b73[_0x4690('0x4f')](_0x14d688[_0x4690('0x36')][_0x4690('0x1a')]['selection']),_0xebc718=_0x4f2b73[_0x4690('0x12')](_0x277fb8),_0x10af81=_0x277fb8[0x0][_0x4690('0x6')](_0x4690('0x20')),_0x41210d=_0x10af81[_0x4690('0x25')](_0x4690('0x3e'))||0x0,_0x5a9f26=_0x576162&&null!==_0x576162[_0x4690('0x54')]?_0x576162[_0x4690('0x54')]:!_0x14d688[_0x4690('0x4b')][_0x4690('0x3d')](_0x4690('0x43'))[_0x4690('0x1d')],_0x5deeb7=_0x5a9f26?_0xebc718[_0x4690('0xc')]:_0xebc718[_0x4690('0x14')],_0x72b195=_0x10af81[_0x4690('0x22')](_0x5deeb7);let _0x98090a;if(_0x5a9f26){const _0x5036cc=_0x10af81[_0x4690('0x22')](_0x41210d);if(_0x72b195[_0x4690('0x28')]<_0x5036cc['index'])return;_0x98090a=_0x14d688[_0x4690('0x36')][_0x4690('0x39')](_0x14d688['model']['createPositionBefore'](_0x5036cc[_0x4690('0x22')](0x0)),_0x14d688[_0x4690('0x36')][_0x4690('0x2e')](_0x72b195['getChild'](_0x72b195[_0x4690('0x0')]-0x1)));}else{const _0x1e3ec2=_0x10af81['getChild'](_0x41210d-0x1);if(!_0x1e3ec2)return;_0x98090a=_0x14d688['model'][_0x4690('0x39')](_0x14d688['model']['createPositionBefore'](_0x72b195['getChild'](0x0)),_0x14d688[_0x4690('0x36')][_0x4690('0x2e')](_0x1e3ec2['getChild'](_0x1e3ec2[_0x4690('0x0')]-0x1)));}_0x14d688[_0x4690('0x36')][_0x4690('0xb')](()=>{_0x53f2a0['markBlockFormat'](_0x98090a,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5a9f26}]},[],'setTableRowHeader');});}),_0x53f2a0[_0x4690('0x16')](_0x4690('0xf'),(_0x2e5bf9,_0xdab5eb)=>{const _0x12a7f8=_0x14d688[_0x4690('0x7')][_0x4690('0x3d')](_0x4690('0x37')),_0x2cd70a=_0x12a7f8[_0x4690('0x4f')](_0x14d688['model'][_0x4690('0x1a')][_0x4690('0x55')]),_0x3849f2=_0x12a7f8[_0x4690('0x8')](_0x2cd70a),_0x4ad4ca=_0x2cd70a[0x0]['findAncestor']('table'),_0x51921b=_0x4ad4ca[_0x4690('0x25')](_0x4690('0x18'))||0x0,_0x2c302c=_0xdab5eb&&null!==_0xdab5eb[_0x4690('0x54')]?_0xdab5eb[_0x4690('0x54')]:!_0x14d688[_0x4690('0x4b')][_0x4690('0x3d')](_0x4690('0xf'))[_0x4690('0x1d')];let _0x209522;const _0x49e125=_0x4ad4ca['getChild'](0x0),_0x3ccb16=_0x2c302c?_0x3849f2[_0x4690('0xc')]:_0x3849f2[_0x4690('0x14')],_0x19d82d=_0x12a7f8[_0x4690('0x50')](_0x4ad4ca,{'startRow':0x0,'column':_0x3ccb16,'includeAllSlots':!0x1}),_0x268b80=Array['from'](_0x19d82d)[0x0]['cell'];if(_0x2c302c){const _0x359bf7=_0x49e125['getChild'](_0x51921b);if(_0x268b80[_0x4690('0xe')](_0x359bf7))return;_0x209522=_0x14d688[_0x4690('0x36')][_0x4690('0x39')](_0x14d688[_0x4690('0x36')][_0x4690('0x9')](_0x359bf7),_0x14d688[_0x4690('0x36')][_0x4690('0x2e')](_0x268b80));}else{const _0x4d863e=_0x49e125[_0x4690('0x22')](_0x51921b-0x1);if(!_0x4d863e)return;_0x209522=_0x14d688[_0x4690('0x36')][_0x4690('0x39')](_0x14d688[_0x4690('0x36')][_0x4690('0x9')](_0x268b80),_0x14d688[_0x4690('0x36')][_0x4690('0x2e')](_0x4d863e));}_0x14d688['model'][_0x4690('0xb')](()=>{_0x53f2a0[_0x4690('0x42')](_0x209522,{'commandName':_0x4690('0xf'),'commandParams':[{'forceValue':_0x2c302c}]},[],_0x4690('0xf'));});}),_0x14d688['editing'][_0x4690('0x4d')]['on'](_0x4690('0x27'),_0x3412dc(),{'priority':_0x4690('0x32')}),_0x14d688[_0x4690('0x46')][_0x4690('0x4d')]['on']('addMarker:suggestion',(_0x2eb926,_0x16ae44,_0x1a8dde)=>{_0x1a8dde['options']['showSuggestionHighlights']&&_0x3412dc({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2eb926,_0x16ae44,_0x1a8dde);},{'priority':_0x4690('0x32')}),_0x14d688[_0x4690('0x4c')][_0x4690('0x4d')]['on'](_0x4690('0x17'),(_0x1bdfbe,_0xe1995,_0x17d4e2)=>{const {type:_0x37082c,id:_0x5d1878}=_0x53f2a0[_0x4690('0x45')](_0xe1995[_0x4690('0x47')]),_0x20012b=_0x53f2a0[_0x4690('0x4e')](_0x5d1878);if(!_0x20012b['data']||_0x4690('0xf')!=_0x20012b['data'][_0x4690('0x41')])return;const _0x40eb07=_0x17d4e2['mapper'][_0x4690('0x33')](_0xe1995[_0x4690('0x47')]);if(_0x40eb07)for(const _0x199fb8 of _0x40eb07)_0x17d4e2[_0x4690('0x21')][_0x4690('0x40')](_0x4690('0x38')+_0x37082c,_0x199fb8),_0x17d4e2[_0x4690('0x21')]['removeClass'](_0x4690('0x13'),_0x199fb8),_0x17d4e2[_0x4690('0x21')][_0x4690('0x2c')](_0x4690('0x10'),_0x199fb8),_0x17d4e2[_0x4690('0x3a')][_0x4690('0x26')](_0x199fb8,_0xe1995[_0x4690('0x47')]);},{'priority':'highest'}),_0x53f2a0[_0x4690('0x11')][_0x4690('0x2a')](_0x16f3f8=>{const {data:_0x4efcb3}=_0x16f3f8;if(_0x4efcb3){if(_0x4690('0x43')==_0x4efcb3[_0x4690('0x41')]){const _0x2af49b=_0x4efcb3[_0x4690('0x3c')][0x0]['forceValue'];return _0x4f024c(_0x4c1a2c(_0x2c2906,_0x2af49b?_0x4690('0x4'):_0x4690('0x15')));}if(_0x4690('0xf')==_0x4efcb3[_0x4690('0x41')]){const _0x2d52a1=_0x4efcb3[_0x4690('0x3c')][0x0][_0x4690('0x54')];return _0x4f024c(_0x4c1a2c(_0x2c2906,_0x2d52a1?_0x4690('0x30'):_0x4690('0x4a')));}}function _0x4f024c(_0xc3bb7b){return{'type':_0x4690('0x19'),'content':_0x4c1a2c(_0x2c2906,_0x4690('0x3f'),_0xc3bb7b)};}});const _0xb5eb76=_0x1cfca2[_0x4690('0x34')]();_0x53f2a0[_0x4690('0x1')][_0x4690('0x1f')](_0x4690('0x5'),_0x4690('0x43'),_0x4690('0x3'),_0xb5eb76),_0x53f2a0[_0x4690('0x1')][_0x4690('0x1f')](_0x4690('0x5'),_0x4690('0xf'),_0x4690('0x3'),_0xb5eb76);}}
23
+ const _0x24af=['ck-suggestion-marker-','commandName','TableUtils','parent','setTableRowHeader','bindElementToMarker','markBlockFormat','addClass','createTableWalker','removeMarker:suggestion','mapper','getCellLocation','highest','data-suggestion','FORMAT_HEADER_COLUMN','nodeBefore','_suggestionFactory','model','first','setTableColumnHeader','item','forceValue','_acceptFormatSuggestionCallbackFactory','getChild','FORMAT_HEADER_ROW','requires','commandParams','value','getRowIndexes','selection','editing','createPositionAfter','from','isBefore','table','getSelectionAffectedTableCells','FORMAT_REGULAR_COLUMN','end','createRange','formatBlock','data','last','ck-suggestion-marker--active','consumable','afterInit','enableCommand','registerCustomCallback','plugins','showSuggestionHighlights','stop','removeAttribute','FORMAT_REGULAR_ROW','_splitMarkerName','document','consume','markerName','headingColumns','commands','writer','options','has','getColumnIndexes','getAttribute','*Format:*\x20%0','removeClass','downcastDispatcher','cell','registerDescriptionCallback','childCount','createPositionBefore','markerRange','accept','name','addMarker:suggestion','start','index','setAttribute','nodeAfter','get','findAncestor'];(function(_0x154419,_0x24aff9){const _0x2ad3b3=function(_0x3ef440){while(--_0x3ef440){_0x154419['push'](_0x154419['shift']());}};_0x2ad3b3(++_0x24aff9);}(_0x24af,0xbd));const _0x2ad3=function(_0x154419,_0x24aff9){_0x154419=_0x154419-0x0;let _0x2ad3b3=_0x24af[_0x154419];return _0x2ad3b3;};import{Plugin as _0x26b9f2}from'ckeditor5/src/core';import _0x32deb7 from'./table';import{getTranslation as _0x603329}from'../utils/common-translations';export default class pt extends _0x26b9f2{static get[_0x2ad3('0x4c')](){return[_0x32deb7];}[_0x2ad3('0xf')](){const _0x58343b=this['editor'];if(!_0x58343b[_0x2ad3('0x12')][_0x2ad3('0x1f')]('TableEditing'))return;const _0x593e30=_0x58343b['locale'],_0x398544=_0x58343b['plugins']['get']('TrackChangesEditing'),_0x9007e5=_0x58343b[_0x2ad3('0x12')][_0x2ad3('0x31')]('TableUtils'),_0x2a96ed=_0x58343b[_0x2ad3('0x12')][_0x2ad3('0x31')](_0x32deb7);function _0x1870f7({showActiveMarker:_0x1ed4c0=!0x0,setDataAttribute:_0x313885=!0x0}={}){return(_0x4c67bc,_0x162496,_0x47bc97)=>{const {type:_0x2c2b19,id:_0x484e29}=_0x398544[_0x2ad3('0x17')](_0x162496[_0x2ad3('0x1a')]),_0x3aa37a=_0x398544['getSuggestion'](_0x484e29);if(!_0x3aa37a[_0x2ad3('0xb')]||_0x2ad3('0x46')!=_0x3aa37a[_0x2ad3('0xb')][_0x2ad3('0x34')])return;if(_0x162496[_0x2ad3('0x47')])return void _0x4c67bc[_0x2ad3('0x14')]();if(!_0x47bc97[_0x2ad3('0xe')][_0x2ad3('0x19')](_0x162496[_0x2ad3('0x29')],_0x4c67bc[_0x2ad3('0x2b')]))return;const _0x5052fc=_0x162496[_0x2ad3('0x29')][_0x2ad3('0x2d')][_0x2ad3('0x30')],_0x1ccd22=_0x162496['markerRange'][_0x2ad3('0x8')][_0x2ad3('0x42')],_0x24a9db=_0x5052fc[_0x2ad3('0x36')]['parent'],{column:_0x40a71c}=_0x9007e5[_0x2ad3('0x3e')](_0x5052fc),{column:_0x455dec}=_0x9007e5[_0x2ad3('0x3e')](_0x1ccd22);for(let _0x425642=_0x40a71c;_0x425642<=_0x455dec;_0x425642++){const _0x2298cc=_0x9007e5[_0x2ad3('0x3b')](_0x24a9db,{'column':_0x425642,'includeAllSlots':!0x1});for(const _0x228618 of _0x2298cc){const _0x11c17e=_0x228618[_0x2ad3('0x25')],_0x372753=_0x47bc97[_0x2ad3('0x3d')]['toViewElement'](_0x11c17e);_0x47bc97[_0x2ad3('0x1d')][_0x2ad3('0x3a')](_0x2ad3('0x33')+_0x2c2b19,_0x372753),_0x313885&&_0x47bc97['writer'][_0x2ad3('0x2f')]('data-suggestion',_0x484e29,_0x372753),_0x47bc97[_0x2ad3('0x3d')][_0x2ad3('0x38')](_0x372753,_0x162496[_0x2ad3('0x1a')]),_0x1ed4c0&&(_0x398544['activeMarkers']['includes'](_0x162496['markerName'])?_0x47bc97[_0x2ad3('0x1d')][_0x2ad3('0x3a')]('ck-suggestion-marker--active',_0x372753):_0x47bc97[_0x2ad3('0x1d')][_0x2ad3('0x23')](_0x2ad3('0xd'),_0x372753));}}};}_0x398544['enableCommand'](_0x2ad3('0x37'),(_0x217669,_0x3d060a)=>{const _0x53755f=_0x9007e5[_0x2ad3('0x6')](_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x18')][_0x2ad3('0x0')]),_0x4bd775=_0x9007e5[_0x2ad3('0x4f')](_0x53755f),_0x5d0a96=_0x53755f[0x0][_0x2ad3('0x32')](_0x2ad3('0x5')),_0x2719fd=_0x5d0a96['getAttribute']('headingRows')||0x0,_0x435141=_0x3d060a&&null!==_0x3d060a[_0x2ad3('0x48')]?_0x3d060a[_0x2ad3('0x48')]:!_0x58343b[_0x2ad3('0x1c')][_0x2ad3('0x31')]('setTableRowHeader')[_0x2ad3('0x4e')],_0xd6539f=_0x435141?_0x4bd775[_0x2ad3('0xc')]:_0x4bd775['first'],_0x6658aa=_0x5d0a96['getChild'](_0xd6539f);let _0x121098;if(_0x435141){const _0x49b2b1=_0x5d0a96['getChild'](_0x2719fd);if(_0x6658aa[_0x2ad3('0x2e')]<_0x49b2b1[_0x2ad3('0x2e')])return;_0x121098=_0x58343b['model'][_0x2ad3('0x9')](_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x28')](_0x49b2b1[_0x2ad3('0x4a')](0x0)),_0x58343b[_0x2ad3('0x44')]['createPositionAfter'](_0x6658aa['getChild'](_0x6658aa[_0x2ad3('0x27')]-0x1)));}else{const _0x3ab6a9=_0x5d0a96[_0x2ad3('0x4a')](_0x2719fd-0x1);if(!_0x3ab6a9)return;_0x121098=_0x58343b['model'][_0x2ad3('0x9')](_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x28')](_0x6658aa[_0x2ad3('0x4a')](0x0)),_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x2')](_0x3ab6a9[_0x2ad3('0x4a')](_0x3ab6a9[_0x2ad3('0x27')]-0x1)));}_0x58343b[_0x2ad3('0x44')]['change'](()=>{_0x398544[_0x2ad3('0x39')](_0x121098,{'commandName':_0x2ad3('0x37'),'commandParams':[{'forceValue':_0x435141}]},[],'setTableRowHeader');});}),_0x398544[_0x2ad3('0x10')](_0x2ad3('0x46'),(_0x579c99,_0x243067)=>{const _0x370ef9=_0x58343b[_0x2ad3('0x12')][_0x2ad3('0x31')](_0x2ad3('0x35')),_0x2c904a=_0x370ef9['getSelectionAffectedTableCells'](_0x58343b[_0x2ad3('0x44')]['document'][_0x2ad3('0x0')]),_0x561701=_0x370ef9[_0x2ad3('0x20')](_0x2c904a),_0x10f8ae=_0x2c904a[0x0][_0x2ad3('0x32')](_0x2ad3('0x5')),_0x5e92c2=_0x10f8ae[_0x2ad3('0x21')](_0x2ad3('0x1b'))||0x0,_0x41e947=_0x243067&&null!==_0x243067['forceValue']?_0x243067[_0x2ad3('0x48')]:!_0x58343b[_0x2ad3('0x1c')][_0x2ad3('0x31')](_0x2ad3('0x46'))[_0x2ad3('0x4e')];let _0x235311;const _0x23c124=_0x10f8ae['getChild'](0x0),_0x2d32e0=_0x41e947?_0x561701[_0x2ad3('0xc')]:_0x561701[_0x2ad3('0x45')],_0x18a8be=_0x370ef9[_0x2ad3('0x3b')](_0x10f8ae,{'startRow':0x0,'column':_0x2d32e0,'includeAllSlots':!0x1}),_0xdca6fd=Array[_0x2ad3('0x3')](_0x18a8be)[0x0][_0x2ad3('0x25')];if(_0x41e947){const _0x47a40e=_0x23c124['getChild'](_0x5e92c2);if(_0xdca6fd[_0x2ad3('0x4')](_0x47a40e))return;_0x235311=_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x9')](_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x28')](_0x47a40e),_0x58343b['model']['createPositionAfter'](_0xdca6fd));}else{const _0xe90e29=_0x23c124[_0x2ad3('0x4a')](_0x5e92c2-0x1);if(!_0xe90e29)return;_0x235311=_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x9')](_0x58343b['model'][_0x2ad3('0x28')](_0xdca6fd),_0x58343b[_0x2ad3('0x44')][_0x2ad3('0x2')](_0xe90e29));}_0x58343b[_0x2ad3('0x44')]['change'](()=>{_0x398544['markBlockFormat'](_0x235311,{'commandName':_0x2ad3('0x46'),'commandParams':[{'forceValue':_0x41e947}]},[],_0x2ad3('0x46'));});}),_0x58343b[_0x2ad3('0x1')][_0x2ad3('0x24')]['on'](_0x2ad3('0x2c'),_0x1870f7(),{'priority':_0x2ad3('0x3f')}),_0x58343b['data'][_0x2ad3('0x24')]['on'](_0x2ad3('0x2c'),(_0x249d8d,_0x3a6c22,_0xf4059b)=>{_0xf4059b[_0x2ad3('0x1e')][_0x2ad3('0x13')]&&_0x1870f7({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x249d8d,_0x3a6c22,_0xf4059b);},{'priority':_0x2ad3('0x3f')}),_0x58343b[_0x2ad3('0x1')][_0x2ad3('0x24')]['on'](_0x2ad3('0x3c'),(_0x3dd39c,_0x586c35,_0x545121)=>{const {type:_0x24f1ec,id:_0x2d4b29}=_0x398544['_splitMarkerName'](_0x586c35[_0x2ad3('0x1a')]),_0x193150=_0x398544['getSuggestion'](_0x2d4b29);if(!_0x193150[_0x2ad3('0xb')]||_0x2ad3('0x46')!=_0x193150['data']['commandName'])return;const _0xa263b6=_0x545121[_0x2ad3('0x3d')]['markerNameToElements'](_0x586c35[_0x2ad3('0x1a')]);if(_0xa263b6)for(const _0x3417f0 of _0xa263b6)_0x545121['writer'][_0x2ad3('0x23')](_0x2ad3('0x33')+_0x24f1ec,_0x3417f0),_0x545121[_0x2ad3('0x1d')][_0x2ad3('0x23')]('ck-suggestion-marker--active',_0x3417f0),_0x545121['writer'][_0x2ad3('0x15')](_0x2ad3('0x40'),_0x3417f0),_0x545121[_0x2ad3('0x3d')]['unbindElementFromMarkerName'](_0x3417f0,_0x586c35[_0x2ad3('0x1a')]);},{'priority':'highest'}),_0x398544['_descriptionFactory'][_0x2ad3('0x26')](_0x4808c2=>{const {data:_0xba716c}=_0x4808c2;if(_0xba716c){if(_0x2ad3('0x37')==_0xba716c[_0x2ad3('0x34')]){const _0x2002ee=_0xba716c['commandParams'][0x0][_0x2ad3('0x48')];return _0x320492(_0x603329(_0x593e30,_0x2002ee?_0x2ad3('0x4b'):_0x2ad3('0x16')));}if(_0x2ad3('0x46')==_0xba716c[_0x2ad3('0x34')]){const _0x45925c=_0xba716c[_0x2ad3('0x4d')][0x0][_0x2ad3('0x48')];return _0x320492(_0x603329(_0x593e30,_0x45925c?_0x2ad3('0x41'):_0x2ad3('0x7')));}}function _0x320492(_0x545f6d){return{'type':'format','content':_0x603329(_0x593e30,_0x2ad3('0x22'),_0x545f6d)};}});const _0x549b0b=_0x2a96ed[_0x2ad3('0x49')]();_0x398544[_0x2ad3('0x43')][_0x2ad3('0x11')]('formatBlock','setTableRowHeader',_0x2ad3('0x2a'),_0x549b0b),_0x398544[_0x2ad3('0x43')][_0x2ad3('0x11')](_0x2ad3('0xa'),_0x2ad3('0x46'),_0x2ad3('0x2a'),_0x549b0b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2051=['accept','add','direction','mergeTableCellLeft','commands','plugins','get','_tablePostFixingSubtypes','mergeTableCellUp','splitTableCellVertically','requires','cell','model','registerDescriptionCallback','getSuggestions','detach','commandName','subType','registerCustomCallback','document','trackChanges','markBlockFormat','deletion','mergeTableCellRight','type','_areSelectedCellsMergable','getFirstPosition','*Merge\x20cells*','_suggestionFactory','getCellLocation','locale','createTableWalker','isInContent','forceDefaultExecution','insertion','from','editor','enableCommand','_isForcedDefaultExecutionBlock','change','size','markMultiRangeBlockFormat','$graveyard','TableUtils','selection','length','refresh','isEnabled','createRangeOn','_areMergableCells','formatBlock','mergeTableCells','push','has','getAncestors','format','_descriptionFactory','author','mergeTableCellDown','*Split\x20cell:*\x20vertically','findAncestor','TrackChangesEditing','filter','root','fromRange','*Split\x20cell:*\x20horizontally','map','splitTableCellHorizontally','getRanges','containsRange','set:isEnabled','getSelectionAffectedTableCells','value','stop','find','TableEditing','_acceptFormatSuggestionCallbackFactory','setSelection','rootName'];(function(_0x25cc24,_0x205163){const _0x42e11b=function(_0x225695){while(--_0x225695){_0x25cc24['push'](_0x25cc24['shift']());}};_0x42e11b(++_0x205163);}(_0x2051,0x102));const _0x42e1=function(_0x25cc24,_0x205163){_0x25cc24=_0x25cc24-0x0;let _0x42e11b=_0x2051[_0x25cc24];return _0x42e11b;};import{Plugin as _0x31c86d}from'ckeditor5/src/core';import _0xa022f from'./table';import{LiveRange as _0x811964}from'ckeditor5/src/engine';import{getTranslation as _0x3be6d7}from'../utils/common-translations';export default class dt extends _0x31c86d{static get[_0x42e1('0x44')](){return[_0xa022f];}['afterInit'](){const _0x4fd51f=this[_0x42e1('0xf')],_0x2ee099=_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x4d')][_0x42e1('0x17')],_0x5ba95a=_0x4fd51f[_0x42e1('0x9')];if(!_0x4fd51f[_0x42e1('0x3f')][_0x42e1('0x20')](_0x42e1('0x36')))return;const _0x5d5e84=_0x4fd51f['plugins'][_0x42e1('0x40')](_0x42e1('0x28')),_0x5a9be=_0x4fd51f[_0x42e1('0x3f')]['get'](_0x42e1('0x16')),_0x2aa448=_0x4fd51f[_0x42e1('0x3f')][_0x42e1('0x40')](_0xa022f);_0x2aa448[_0x42e1('0x41')][_0x42e1('0x1f')](_0x42e1('0x1e')),_0x5d5e84[_0x42e1('0x10')]('mergeTableCells',()=>{const _0x38059e=_0x5a9be[_0x42e1('0x32')](_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x4d')][_0x42e1('0x17')]);_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x12')](()=>{_0x5d5e84[_0x42e1('0x14')](_0x38059e,{'commandName':_0x42e1('0x1e'),'commandParams':[]},[],_0x42e1('0x1e'));});}),_0x4fd51f[_0x42e1('0x3e')][_0x42e1('0x40')](_0x42e1('0x1e'))['on']('execute',(_0x3ee944,_0x3a053b)=>{_0x4fd51f[_0x42e1('0x3e')][_0x42e1('0x40')](_0x42e1('0x4e'))[_0x42e1('0x33')]&&(_0x3a053b['length']>0x0&&_0x3a053b[_0x3a053b[_0x42e1('0x18')]-0x1]&&_0x3a053b[_0x3a053b[_0x42e1('0x18')]-0x1][_0x42e1('0xc')]||_0x5d5e84[_0x42e1('0x11')]||this[_0x42e1('0x4')]()||_0x3ee944[_0x42e1('0x34')]());},{'priority':'highest'});for(const _0x4b37f3 of['mergeTableCellUp',_0x42e1('0x2'),_0x42e1('0x25'),_0x42e1('0x3d')]){const _0x1aa83b=_0x4fd51f[_0x42e1('0x3e')][_0x42e1('0x40')](_0x4b37f3);_0x5d5e84[_0x42e1('0x10')](_0x4b37f3,()=>{const _0x3dfd3e=_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x4d')]['selection'][_0x42e1('0x5')]()[_0x42e1('0x21')]()['find'](_0x360795=>_0x360795['is']('element','tableCell')),_0x39910f=_0x1aa83b['value'];_0x4fd51f[_0x42e1('0x46')]['change'](()=>{_0x5d5e84[_0x42e1('0x14')]([_0x3dfd3e,_0x39910f],{'commandName':_0x42e1('0x1e'),'commandParams':[]},[],_0x42e1('0x1e'));});});}for(const _0x3ad2ed of[_0x42e1('0x43'),_0x42e1('0x2e')]){const _0x4be0bf=_0x4fd51f[_0x42e1('0x3e')][_0x42e1('0x40')](_0x3ad2ed);_0x5d5e84['enableCommand'](_0x3ad2ed,()=>{const _0x227117=_0x5a9be[_0x42e1('0x32')](_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x4d')]['selection'])[0x0],_0x5a4df0=_0x227117[_0x42e1('0x27')]('table'),{column:_0x232d39,row:_0x2d26e7}=_0x5a9be[_0x42e1('0x8')](_0x227117);let _0x251606=[];if('horizontally'==_0x4be0bf[_0x42e1('0x3c')]){const _0xb9eed8=_0x5a9be['createTableWalker'](_0x5a4df0,{'startRow':_0x2d26e7,'endRow':_0x2d26e7,'includeAllSlots':!0x0});_0x251606=Array[_0x42e1('0xe')](_0xb9eed8)[_0x42e1('0x2d')](_0x1977c5=>_0x1977c5[_0x42e1('0x45')]);}else{const _0x4c25e3=_0x5a9be[_0x42e1('0xa')](_0x5a4df0,{'column':_0x232d39,'includeAllSlots':!0x0});_0x251606=Array[_0x42e1('0xe')](_0x4c25e3)[_0x42e1('0x2d')](_0x3629d5=>_0x3629d5[_0x42e1('0x45')]);}_0x4fd51f['model'][_0x42e1('0x12')](_0x2773de=>{_0x5d5e84[_0x42e1('0x0')](_0x2773de[_0x42e1('0x1b')](_0x227117),{'commandName':_0x3ad2ed,'commandParams':[]},_0x251606,_0x3ad2ed);});});}_0x5d5e84[_0x42e1('0x23')][_0x42e1('0x47')](_0x49f714=>{const {data:_0x1bc8d5}=_0x49f714;if(_0x1bc8d5)return _0x42e1('0x1e')==_0x1bc8d5['commandName']?{'type':_0x42e1('0x22'),'content':_0x3be6d7(_0x5ba95a,_0x42e1('0x6'))}:void 0x0;}),_0x5d5e84[_0x42e1('0x23')][_0x42e1('0x47')](_0x2b6fe4=>{const {data:_0x19509b}=_0x2b6fe4;if(_0x19509b)return _0x42e1('0x43')==_0x19509b[_0x42e1('0x4a')]?{'type':_0x42e1('0x22'),'content':_0x3be6d7(_0x5ba95a,_0x42e1('0x26'))}:_0x42e1('0x2e')==_0x19509b['commandName']?{'type':_0x42e1('0x22'),'content':_0x3be6d7(_0x5ba95a,_0x42e1('0x2c'))}:void 0x0;});const _0xeaaebb=_0x2aa448[_0x42e1('0x37')]();for(const _0x697e0f of['mergeTableCellUp',_0x42e1('0x2'),_0x42e1('0x25'),_0x42e1('0x3d')])_0x5d5e84['_suggestionFactory'][_0x42e1('0x4c')](_0x42e1('0x1d'),_0x697e0f,'accept',_0xeaaebb);for(const _0x44b5ba of[_0x42e1('0x43'),'splitTableCellHorizontally'])_0x5d5e84[_0x42e1('0x7')]['registerCustomCallback'](_0x42e1('0x1d'),_0x44b5ba,_0x42e1('0x3a'),_0xeaaebb);_0x5d5e84[_0x42e1('0x7')]['registerCustomCallback'](_0x42e1('0x1d'),_0x42e1('0x1e'),_0x42e1('0x3a'),_0x4d5fe0=>{_0x4fd51f[_0x42e1('0x46')][_0x42e1('0x12')](_0x105fb4=>{const _0x4fc9cc=Array[_0x42e1('0xe')](_0x2ee099[_0x42e1('0x2f')]())['map'](_0x1be29c=>_0x811964[_0x42e1('0x2b')](_0x1be29c));_0x105fb4[_0x42e1('0x38')](_0x4d5fe0),_0x4fd51f['commands'][_0x42e1('0x40')]('mergeTableCells')[_0x42e1('0x19')](),_0x4fd51f['execute'](_0x42e1('0x1e'),{'forceDefaultExecution':!0x0});const _0x25f072=_0x4fc9cc[_0x42e1('0x29')](_0x35aa99=>_0x42e1('0x15')!=_0x35aa99[_0x42e1('0x2a')][_0x42e1('0x39')]);_0x25f072['length']>0x0&&_0x105fb4['setSelection'](_0x25f072);for(const _0x53c0e5 of _0x4fc9cc)_0x53c0e5[_0x42e1('0x49')]();});});for(const _0x5c01c4 of[_0x42e1('0x42'),_0x42e1('0x25'),'mergeTableCellLeft',_0x42e1('0x2')]){const _0x1e91c9=_0x4fd51f[_0x42e1('0x3e')][_0x42e1('0x40')](_0x5c01c4);_0x1e91c9['on'](_0x42e1('0x31'),(_0x31d2cc,_0x2004ed,_0x3d0cef)=>{if(_0x3d0cef){const _0x2d4532=_0x4fd51f['model'][_0x42e1('0x4d')][_0x42e1('0x17')]['getFirstPosition']()[_0x42e1('0x21')]()[_0x42e1('0x35')](_0x4f7002=>_0x4f7002['is']('element','tableCell'));this['_areMergableCells'](_0x1e91c9[_0x42e1('0x33')],_0x2d4532)||(_0x31d2cc['return']=!0x1,_0x31d2cc[_0x42e1('0x34')]());}},{'priority':'low'});}}[_0x42e1('0x4')](){const _0xa483be=this[_0x42e1('0xf')][_0x42e1('0x3e')][_0x42e1('0x40')](_0x42e1('0x1e')),_0x411112=this[_0x42e1('0xf')][_0x42e1('0x3f')]['get'](_0x42e1('0x16'));if(!_0xa483be[_0x42e1('0x1a')])return!0x1;const _0x4e03e9=_0x411112['getSelectionAffectedTableCells'](this[_0x42e1('0xf')]['model'][_0x42e1('0x4d')][_0x42e1('0x17')]);for(const _0x590f32 of _0x4e03e9)for(const _0x5d29ee of _0x4e03e9)if(_0x590f32!=_0x5d29ee&&!this[_0x42e1('0x1c')](_0x590f32,_0x5d29ee))return!0x1;return!0x0;}[_0x42e1('0x1c')](_0x13fc7d,_0x3c47df){const _0x16f514=this[_0x42e1('0xf')][_0x42e1('0x3f')][_0x42e1('0x40')](_0x42e1('0x28')),_0x3084d7=this['editor'][_0x42e1('0x46')][_0x42e1('0x1b')](_0x13fc7d),_0x4b55ed=this[_0x42e1('0xf')]['model'][_0x42e1('0x1b')](_0x3c47df),_0x5d5388=new Set(),_0x15b7bb=new Set();for(const _0x16afc7 of _0x16f514[_0x42e1('0x48')]())if((_0x42e1('0xd')==_0x16afc7['type']||_0x42e1('0x1')==_0x16afc7[_0x42e1('0x3')]||_0x42e1('0x1e')==_0x16afc7[_0x42e1('0x4b')])&&_0x16afc7[_0x42e1('0xb')])for(const _0x9245b of _0x16afc7[_0x42e1('0x2f')]())_0x9245b[_0x42e1('0x30')](_0x3084d7,!0x0)&&_0x5d5388[_0x42e1('0x3b')](_0x16afc7[_0x42e1('0x3')]+':'+_0x16afc7[_0x42e1('0x24')]['id']),_0x9245b[_0x42e1('0x30')](_0x4b55ed,!0x0)&&_0x15b7bb[_0x42e1('0x3b')](_0x16afc7[_0x42e1('0x3')]+':'+_0x16afc7[_0x42e1('0x24')]['id']);if(_0x5d5388['size']!=_0x15b7bb[_0x42e1('0x13')])return!0x1;for(const _0x4cf4e7 of _0x5d5388)if(!_0x15b7bb[_0x42e1('0x20')](_0x4cf4e7))return!0x1;return!0x0;}}
23
+ const _0x25fc=['getSuggestions','registerCustomCallback','enableCommand','requires','cell','map','_areMergableCells','document','set:isEnabled','getAncestors','$graveyard','splitTableCellHorizontally','insertion','mergeTableCells','_descriptionFactory','TrackChangesEditing','containsRange','getRanges','commandName','markBlockFormat','_acceptFormatSuggestionCallbackFactory','trackChanges','setSelection','selection','get','mergeTableCellLeft','low','value','has','author','getSelectionAffectedTableCells','mergeTableCellDown','_suggestionFactory','add','mergeTableCellRight','locale','from','splitTableCellVertically','markMultiRangeBlockFormat','filter','mergeTableCellUp','find','root','commands','isInContent','afterInit','registerDescriptionCallback','length','*Merge\x20cells*','getFirstPosition','format','createTableWalker','TableEditing','getCellLocation','*Split\x20cell:*\x20vertically','change','push','tableCell','_areSelectedCellsMergable','rootName','editor','deletion','isEnabled','plugins','table','forceDefaultExecution','element','type','*Split\x20cell:*\x20horizontally','refresh','return','size','execute','_tablePostFixingSubtypes','model','direction','createRangeOn','highest','fromRange','formatBlock','subType'];(function(_0x3db381,_0x25fc50){const _0xc61032=function(_0x32f1b8){while(--_0x32f1b8){_0x3db381['push'](_0x3db381['shift']());}};_0xc61032(++_0x25fc50);}(_0x25fc,0x167));const _0xc610=function(_0x3db381,_0x25fc50){_0x3db381=_0x3db381-0x0;let _0xc61032=_0x25fc[_0x3db381];return _0xc61032;};import{Plugin as _0x301c04}from'ckeditor5/src/core';import _0x6bab83 from'./table';import{LiveRange as _0x47a7f4}from'ckeditor5/src/engine';import{getTranslation as _0x520df3}from'../utils/common-translations';export default class dt extends _0x301c04{static get[_0xc610('0x31')](){return[_0x6bab83];}[_0xc610('0xa')](){const _0x14ba75=this[_0xc610('0x19')],_0x40f4cf=_0x14ba75[_0xc610('0x27')][_0xc610('0x35')]['selection'],_0x421346=_0x14ba75[_0xc610('0x0')];if(!_0x14ba75['plugins'][_0xc610('0x4a')](_0xc610('0x11')))return;const _0x4b4974=_0x14ba75[_0xc610('0x1c')][_0xc610('0x46')]('TrackChangesEditing'),_0x36a8c9=_0x14ba75['plugins']['get']('TableUtils'),_0x31054c=_0x14ba75['plugins'][_0xc610('0x46')](_0x6bab83);_0x31054c[_0xc610('0x26')][_0xc610('0x15')]('mergeTableCells'),_0x4b4974[_0xc610('0x30')](_0xc610('0x3b'),()=>{const _0x166b76=_0x36a8c9[_0xc610('0x4c')](_0x14ba75[_0xc610('0x27')][_0xc610('0x35')][_0xc610('0x45')]);_0x14ba75[_0xc610('0x27')][_0xc610('0x14')](()=>{_0x4b4974[_0xc610('0x3')](_0x166b76,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x14ba75[_0xc610('0x8')][_0xc610('0x46')](_0xc610('0x3b'))['on'](_0xc610('0x25'),(_0x5a45af,_0x1c694f)=>{_0x14ba75[_0xc610('0x8')]['get'](_0xc610('0x43'))['value']&&(_0x1c694f[_0xc610('0xc')]>0x0&&_0x1c694f[_0x1c694f[_0xc610('0xc')]-0x1]&&_0x1c694f[_0x1c694f['length']-0x1][_0xc610('0x1e')]||_0x4b4974['_isForcedDefaultExecutionBlock']||this[_0xc610('0x17')]()||_0x5a45af['stop']());},{'priority':_0xc610('0x2a')});for(const _0x5b8266 of[_0xc610('0x5'),_0xc610('0x50'),_0xc610('0x4d'),_0xc610('0x47')]){const _0x5017ff=_0x14ba75[_0xc610('0x8')][_0xc610('0x46')](_0x5b8266);_0x4b4974[_0xc610('0x30')](_0x5b8266,()=>{const _0x360ff6=_0x14ba75['model'][_0xc610('0x35')][_0xc610('0x45')][_0xc610('0xe')]()[_0xc610('0x37')]()[_0xc610('0x6')](_0x1c98a5=>_0x1c98a5['is'](_0xc610('0x1f'),_0xc610('0x16'))),_0x547d65=_0x5017ff[_0xc610('0x49')];_0x14ba75[_0xc610('0x27')][_0xc610('0x14')](()=>{_0x4b4974['markMultiRangeBlockFormat']([_0x360ff6,_0x547d65],{'commandName':_0xc610('0x3b'),'commandParams':[]},[],_0xc610('0x3b'));});});}for(const _0x22790d of[_0xc610('0x2'),_0xc610('0x39')]){const _0x3ca6b1=_0x14ba75[_0xc610('0x8')][_0xc610('0x46')](_0x22790d);_0x4b4974[_0xc610('0x30')](_0x22790d,()=>{const _0x4ec436=_0x36a8c9[_0xc610('0x4c')](_0x14ba75['model'][_0xc610('0x35')][_0xc610('0x45')])[0x0],_0x2d16a5=_0x4ec436['findAncestor'](_0xc610('0x1d')),{column:_0x193511,row:_0x1d3dca}=_0x36a8c9[_0xc610('0x12')](_0x4ec436);let _0x5e674d=[];if('horizontally'==_0x3ca6b1[_0xc610('0x28')]){const _0x5178ec=_0x36a8c9[_0xc610('0x10')](_0x2d16a5,{'startRow':_0x1d3dca,'endRow':_0x1d3dca,'includeAllSlots':!0x0});_0x5e674d=Array[_0xc610('0x1')](_0x5178ec)[_0xc610('0x33')](_0x3a3220=>_0x3a3220['cell']);}else{const _0x44b972=_0x36a8c9[_0xc610('0x10')](_0x2d16a5,{'column':_0x193511,'includeAllSlots':!0x0});_0x5e674d=Array[_0xc610('0x1')](_0x44b972)[_0xc610('0x33')](_0x5e7506=>_0x5e7506[_0xc610('0x32')]);}_0x14ba75[_0xc610('0x27')][_0xc610('0x14')](_0x5082c0=>{_0x4b4974[_0xc610('0x41')](_0x5082c0[_0xc610('0x29')](_0x4ec436),{'commandName':_0x22790d,'commandParams':[]},_0x5e674d,_0x22790d);});});}_0x4b4974[_0xc610('0x3c')][_0xc610('0xb')](_0x290f87=>{const {data:_0x1f6026}=_0x290f87;if(_0x1f6026)return'mergeTableCells'==_0x1f6026[_0xc610('0x40')]?{'type':_0xc610('0xf'),'content':_0x520df3(_0x421346,_0xc610('0xd'))}:void 0x0;}),_0x4b4974[_0xc610('0x3c')][_0xc610('0xb')](_0x52b6bd=>{const {data:_0x2b1556}=_0x52b6bd;if(_0x2b1556)return'splitTableCellVertically'==_0x2b1556[_0xc610('0x40')]?{'type':'format','content':_0x520df3(_0x421346,_0xc610('0x13'))}:'splitTableCellHorizontally'==_0x2b1556['commandName']?{'type':'format','content':_0x520df3(_0x421346,_0xc610('0x21'))}:void 0x0;});const _0x24a139=_0x31054c[_0xc610('0x42')]();for(const _0x501e8c of['mergeTableCellUp',_0xc610('0x50'),_0xc610('0x4d'),_0xc610('0x47')])_0x4b4974[_0xc610('0x4e')][_0xc610('0x2f')](_0xc610('0x2c'),_0x501e8c,'accept',_0x24a139);for(const _0x2fc02c of[_0xc610('0x2'),_0xc610('0x39')])_0x4b4974[_0xc610('0x4e')]['registerCustomCallback'](_0xc610('0x2c'),_0x2fc02c,'accept',_0x24a139);_0x4b4974[_0xc610('0x4e')][_0xc610('0x2f')](_0xc610('0x2c'),_0xc610('0x3b'),'accept',_0x21781c=>{_0x14ba75[_0xc610('0x27')][_0xc610('0x14')](_0x25189f=>{const _0xb1577=Array['from'](_0x40f4cf[_0xc610('0x3f')]())['map'](_0x186ab1=>_0x47a7f4[_0xc610('0x2b')](_0x186ab1));_0x25189f[_0xc610('0x44')](_0x21781c),_0x14ba75[_0xc610('0x8')][_0xc610('0x46')](_0xc610('0x3b'))[_0xc610('0x22')](),_0x14ba75[_0xc610('0x25')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x39fa31=_0xb1577[_0xc610('0x4')](_0x25387e=>_0xc610('0x38')!=_0x25387e[_0xc610('0x7')][_0xc610('0x18')]);_0x39fa31[_0xc610('0xc')]>0x0&&_0x25189f[_0xc610('0x44')](_0x39fa31);for(const _0x34b15c of _0xb1577)_0x34b15c['detach']();});});for(const _0x33d122 of[_0xc610('0x5'),_0xc610('0x4d'),_0xc610('0x47'),'mergeTableCellRight']){const _0x180c6d=_0x14ba75[_0xc610('0x8')][_0xc610('0x46')](_0x33d122);_0x180c6d['on'](_0xc610('0x36'),(_0x19f078,_0x196ce9,_0x1e7ad2)=>{if(_0x1e7ad2){const _0x10c86f=_0x14ba75[_0xc610('0x27')][_0xc610('0x35')][_0xc610('0x45')][_0xc610('0xe')]()[_0xc610('0x37')]()[_0xc610('0x6')](_0x1f8282=>_0x1f8282['is'](_0xc610('0x1f'),_0xc610('0x16')));this[_0xc610('0x34')](_0x180c6d['value'],_0x10c86f)||(_0x19f078[_0xc610('0x23')]=!0x1,_0x19f078['stop']());}},{'priority':_0xc610('0x48')});}}[_0xc610('0x17')](){const _0x918ce5=this[_0xc610('0x19')]['commands'][_0xc610('0x46')](_0xc610('0x3b')),_0x15790a=this[_0xc610('0x19')]['plugins']['get']('TableUtils');if(!_0x918ce5[_0xc610('0x1b')])return!0x1;const _0x367b3e=_0x15790a['getSelectionAffectedTableCells'](this[_0xc610('0x19')][_0xc610('0x27')][_0xc610('0x35')]['selection']);for(const _0x1d3b32 of _0x367b3e)for(const _0x116dfe of _0x367b3e)if(_0x1d3b32!=_0x116dfe&&!this['_areMergableCells'](_0x1d3b32,_0x116dfe))return!0x1;return!0x0;}[_0xc610('0x34')](_0x1788fd,_0x3dbe00){const _0x5e5dc9=this[_0xc610('0x19')][_0xc610('0x1c')][_0xc610('0x46')](_0xc610('0x3d')),_0x4df4ba=this[_0xc610('0x19')][_0xc610('0x27')][_0xc610('0x29')](_0x1788fd),_0x69ee25=this[_0xc610('0x19')]['model'][_0xc610('0x29')](_0x3dbe00),_0x1d2e5d=new Set(),_0x407dc5=new Set();for(const _0x5e3362 of _0x5e5dc9[_0xc610('0x2e')]())if((_0xc610('0x3a')==_0x5e3362['type']||_0xc610('0x1a')==_0x5e3362['type']||_0xc610('0x3b')==_0x5e3362[_0xc610('0x2d')])&&_0x5e3362[_0xc610('0x9')])for(const _0x1ba882 of _0x5e3362['getRanges']())_0x1ba882['containsRange'](_0x4df4ba,!0x0)&&_0x1d2e5d[_0xc610('0x4f')](_0x5e3362[_0xc610('0x20')]+':'+_0x5e3362[_0xc610('0x4b')]['id']),_0x1ba882[_0xc610('0x3e')](_0x69ee25,!0x0)&&_0x407dc5['add'](_0x5e3362[_0xc610('0x20')]+':'+_0x5e3362[_0xc610('0x4b')]['id']);if(_0x1d2e5d[_0xc610('0x24')]!=_0x407dc5[_0xc610('0x24')])return!0x1;for(const _0x445b2f of _0x1d2e5d)if(!_0x407dc5[_0xc610('0x4a')](_0x445b2f))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5735=['commands','insertTableOfContents','registerElementLabel','plugins','editor','_descriptionFactory','tableOfContents','afterInit','locale','get'];(function(_0x23970d,_0x573513){const _0x440ae8=function(_0x509bf4){while(--_0x509bf4){_0x23970d['push'](_0x23970d['shift']());}};_0x440ae8(++_0x573513);}(_0x5735,0xf9));const _0x440a=function(_0x23970d,_0x573513){_0x23970d=_0x23970d-0x0;let _0x440ae8=_0x5735[_0x23970d];return _0x440ae8;};import{Plugin as _0x68c129}from'ckeditor5/src/core';import{getTranslation as _0x3f6b5e}from'../utils/common-translations';export default class bt extends _0x68c129{[_0x440a('0x8')](){const _0x3ef95d=this[_0x440a('0x5')];if(!_0x3ef95d[_0x440a('0x1')]['get'](_0x440a('0x2')))return;_0x3ef95d[_0x440a('0x4')][_0x440a('0x0')]('TrackChangesEditing')['enableCommand'](_0x440a('0x2'));const _0x4c78dd=_0x3ef95d[_0x440a('0x4')][_0x440a('0x0')]('TrackChangesEditing'),_0x2c0c39=_0x3ef95d[_0x440a('0x9')];_0x4c78dd[_0x440a('0x6')][_0x440a('0x3')](_0x440a('0x7'),_0x520496=>_0x3f6b5e(_0x2c0c39,'ELEMENT_TABLE_OF_CONTENTS',_0x520496));}}
23
+ const _0x56e7=['commands','afterInit','insertTableOfContents','plugins','registerElementLabel','get','_descriptionFactory','TrackChangesEditing'];(function(_0x54cc52,_0x56e7ad){const _0x1f7d0c=function(_0x4e833c){while(--_0x4e833c){_0x54cc52['push'](_0x54cc52['shift']());}};_0x1f7d0c(++_0x56e7ad);}(_0x56e7,0x1c8));const _0x1f7d=function(_0x54cc52,_0x56e7ad){_0x54cc52=_0x54cc52-0x0;let _0x1f7d0c=_0x56e7[_0x54cc52];return _0x1f7d0c;};import{Plugin as _0x213b31}from'ckeditor5/src/core';import{getTranslation as _0x456c1b}from'../utils/common-translations';export default class bt extends _0x213b31{[_0x1f7d('0x1')](){const _0xde2670=this['editor'];if(!_0xde2670[_0x1f7d('0x0')][_0x1f7d('0x5')](_0x1f7d('0x2')))return;_0xde2670[_0x1f7d('0x3')][_0x1f7d('0x5')](_0x1f7d('0x7'))['enableCommand'](_0x1f7d('0x2'));const _0x12f98f=_0xde2670[_0x1f7d('0x3')][_0x1f7d('0x5')](_0x1f7d('0x7')),_0x22881d=_0xde2670['locale'];_0x12f98f[_0x1f7d('0x6')][_0x1f7d('0x4')]('tableOfContents',_0x289cf1=>_0x456c1b(_0x22881d,'ELEMENT_TABLE_OF_CONTENTS',_0x289cf1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33c5=['TrackChangesEditing','tableBackgroundColor','tableAlignment','tableBorderWidth','tableCellBackgroundColor','join','commandParams','accept','tableBorderStyle','locale','tableProperties','get','_suggestionFactory','tableCellWidth','tableCellProperties','data','change','*Format:*\x20change\x20table\x20properties','TableUtils','handleSuggestionDescription','selection','tableCellHeight','setAttribute','tableHeight','markBlockFormat','getSuggestionCallback','nodeAfter','getContainedElement','tableCellVerticalAlignment','tableBorderColor','tableCellHorizontalAlignment','tableWidth','tableCellPadding','tableCellBorderStyle','handleDiscardAction','format','start','discard','editor','removeAttribute','TableCellPropertiesEditing','_handlePropertyChange','getFirstPosition','registerCustomCallback','has','enqueueChange','batch','table','getSelectionAffectedTableCells','findAncestor','_getSuggestion','document','getAttribute','model','getSuggestions','subType','formatBlock','afterInit','pluginName','plugins'];(function(_0x39816e,_0x33c52a){const _0x254a40=function(_0x53f4da){while(--_0x53f4da){_0x39816e['push'](_0x39816e['shift']());}};_0x254a40(++_0x33c52a);}(_0x33c5,0x155));const _0x254a=function(_0x39816e,_0x33c52a){_0x39816e=_0x39816e-0x0;let _0x254a40=_0x33c5[_0x39816e];return _0x254a40;};import{Plugin as _0x1594e6}from'ckeditor5/src/core';import{getTranslation as _0x4ec05b}from'../utils/common-translations';export default class Ct extends _0x1594e6{constructor(_0x2b1c78){super(_0x2b1c78),this['tableProperties']=[_0x254a('0x30'),_0x254a('0x1b'),_0x254a('0x16'),_0x254a('0x15'),_0x254a('0x32'),_0x254a('0x2a'),_0x254a('0x14')],this[_0x254a('0x21')]=['tableCellBorderColor',_0x254a('0x34'),'tableCellBorderWidth',_0x254a('0x33'),_0x254a('0x20'),_0x254a('0x28'),_0x254a('0x17'),_0x254a('0x31'),_0x254a('0x2f')];}static get[_0x254a('0x11')](){return'TrackChangesTableProperties';}[_0x254a('0x10')](){const _0x425345=this['editor'][_0x254a('0x12')][_0x254a('0x1e')](_0x254a('0x13'));if(this[_0x254a('0x39')][_0x254a('0x12')][_0x254a('0x3')]('TablePropertiesEditing')){for(const _0x3ee71e of this['tableProperties'])_0x425345['enableCommand'](_0x3ee71e,(_0x5a19ae,_0x107e89)=>{const _0x1b9be1=this[_0x254a('0x39')]['model']['document'][_0x254a('0x27')][_0x254a('0x1')]()[_0x254a('0x8')](_0x254a('0x6'));this['_handlePropertyChange'](_0x3ee71e,[_0x1b9be1],this['tableProperties'],_0x254a('0x1d'),_0x5a19ae,_0x107e89);});_0x425345[_0x254a('0x1f')]['registerCustomCallback'](_0x254a('0xf'),'tableProperties',_0x254a('0x1a'),_0x425345['_suggestionFactory'][_0x254a('0x2c')](_0x254a('0xf'),null,'discard')),_0x425345[_0x254a('0x1f')][_0x254a('0x2')](_0x254a('0xf'),_0x254a('0x1d'),_0x254a('0x38'),(_0xcf4ab4,_0x1d6c85)=>this[_0x254a('0x35')](this[_0x254a('0x1d')],_0xcf4ab4,_0x1d6c85)),_0x425345[_0x254a('0x1f')]['registerCustomCallback'](_0x254a('0xf'),_0x254a('0x1d'),'join',()=>!0x1);}if(this[_0x254a('0x39')][_0x254a('0x12')]['has'](_0x254a('0x3b'))){for(const _0x277148 of this[_0x254a('0x21')])_0x425345['enableCommand'](_0x277148,(_0x211eb7,_0xc3f1a7)=>{const _0x7fd837=this[_0x254a('0x39')]['plugins']['get'](_0x254a('0x25'))[_0x254a('0x7')](this['editor']['model'][_0x254a('0xa')][_0x254a('0x27')]);this[_0x254a('0x0')](_0x277148,_0x7fd837,this[_0x254a('0x21')],_0x254a('0x21'),_0x211eb7,_0xc3f1a7);});_0x425345['_suggestionFactory'][_0x254a('0x2')]('formatBlock',_0x254a('0x21'),_0x254a('0x1a'),_0x425345[_0x254a('0x1f')]['getSuggestionCallback'](_0x254a('0xf'),null,_0x254a('0x38'))),_0x425345[_0x254a('0x1f')][_0x254a('0x2')](_0x254a('0xf'),_0x254a('0x21'),_0x254a('0x38'),(_0x2d632d,_0x26a6a4)=>this[_0x254a('0x35')](this[_0x254a('0x21')],_0x2d632d,_0x26a6a4)),_0x425345[_0x254a('0x1f')]['registerCustomCallback']('formatBlock',_0x254a('0x21'),_0x254a('0x18'),()=>!0x1);}_0x425345['_descriptionFactory']['registerDescriptionCallback'](_0x3b8ab7=>this[_0x254a('0x26')](_0x3b8ab7));}[_0x254a('0x0')](_0x3d06b9,_0x1c49c6,_0x287598,_0x2e88b1,_0x3755ed,_0x17cf6a){const _0x5e8231=this[_0x254a('0x39')]['plugins'][_0x254a('0x1e')](_0x254a('0x13'));this[_0x254a('0x39')][_0x254a('0xc')][_0x254a('0x4')](_0x17cf6a[_0x254a('0x5')],()=>{for(const _0x1c1fec of _0x1c49c6){if(this[_0x254a('0x9')](_0x1c1fec,_0x2e88b1))_0x3755ed(_0x17cf6a);else{const _0x270bcb={};for(const _0x50fa14 of _0x287598){const _0x15230f=_0x1c1fec[_0x254a('0xb')](_0x50fa14);void 0x0!==_0x15230f&&(_0x270bcb[_0x50fa14]=_0x15230f);}_0x3755ed(_0x17cf6a),_0x5e8231[_0x254a('0x2b')](_0x1c1fec,{'commandParams':[_0x270bcb]},[],_0x2e88b1);}}});}[_0x254a('0x35')](_0x4eddc6,_0x50169b,_0x3f9a3f){const _0x24bf8f=_0x50169b[0x0][_0x254a('0x37')][_0x254a('0x2d')],_0x1ec808=_0x3f9a3f[_0x254a('0x19')][0x0];this['editor'][_0x254a('0xc')][_0x254a('0x23')](_0x205150=>{for(const _0x18c88e of _0x4eddc6)void 0x0!==_0x1ec808[_0x18c88e]?_0x205150[_0x254a('0x29')](_0x18c88e,_0x1ec808[_0x18c88e],_0x24bf8f):_0x205150[_0x254a('0x3a')](_0x18c88e,_0x24bf8f);});}[_0x254a('0x26')](_0x497d93){if(_0x497d93[_0x254a('0x22')])switch(_0x497d93[_0x254a('0xe')]){case _0x254a('0x1d'):return{'type':_0x254a('0x36'),'content':_0x4ec05b(this['editor'][_0x254a('0x1c')],_0x254a('0x24'))};case _0x254a('0x21'):return{'type':'format','content':_0x4ec05b(this[_0x254a('0x39')][_0x254a('0x1c')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x560776,_0x8bee52){const _0xc108bc=this[_0x254a('0x39')][_0x254a('0x12')][_0x254a('0x1e')]('TrackChangesEditing');for(const _0xc3e29c of _0xc108bc[_0x254a('0xd')]({'skipNotAttached':!0x0})){const _0x2365a2=_0xc3e29c[_0x254a('0x2e')]();if(_0xc3e29c['subType']===_0x8bee52&&_0x2365a2===_0x560776)return _0xc3e29c;}return null;}}
23
+ const _0x190d=['tableAlignment','accept','join','_handlePropertyChange','plugins','registerCustomCallback','tableCellVerticalAlignment','tableCellBorderStyle','subType','tableProperties','markBlockFormat','tableCellBackgroundColor','tableCellBorderWidth','tableBorderWidth','table','tableWidth','_getSuggestion','format','getContainedElement','tableCellHeight','getSelectionAffectedTableCells','tableHeight','start','findAncestor','discard','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','nodeAfter','document','enableCommand','batch','getSuggestions','tableCellProperties','editor','formatBlock','enqueueChange','tableCellBorderColor','get','selection','locale','_descriptionFactory','has','TrackChangesTableProperties','getSuggestionCallback','model','setAttribute','handleDiscardAction','commandParams','tableCellHorizontalAlignment','getAttribute','tableBackgroundColor','TableUtils','TrackChangesEditing','_suggestionFactory'];(function(_0x270b78,_0x190dac){const _0xa569a4=function(_0x3501ba){while(--_0x3501ba){_0x270b78['push'](_0x270b78['shift']());}};_0xa569a4(++_0x190dac);}(_0x190d,0x108));const _0xa569=function(_0x270b78,_0x190dac){_0x270b78=_0x270b78-0x0;let _0xa569a4=_0x190d[_0x270b78];return _0xa569a4;};import{Plugin as _0x40b353}from'ckeditor5/src/core';import{getTranslation as _0x42e7dd}from'../utils/common-translations';export default class Ct extends _0x40b353{constructor(_0xedc77){super(_0xedc77),this[_0xa569('0xf')]=[_0xa569('0x20'),'tableBorderStyle',_0xa569('0x13'),_0xa569('0x6'),_0xa569('0x15'),_0xa569('0x1b'),_0xa569('0x2')],this[_0xa569('0x26')]=[_0xa569('0x2a'),_0xa569('0xd'),_0xa569('0x12'),'tableCellPadding','tableCellWidth',_0xa569('0x19'),_0xa569('0x11'),_0xa569('0x0'),_0xa569('0xc')];}static get['pluginName'](){return _0xa569('0x30');}['afterInit'](){const _0xe87ea3=this[_0xa569('0x27')][_0xa569('0xa')][_0xa569('0x2b')](_0xa569('0x4'));if(this[_0xa569('0x27')][_0xa569('0xa')][_0xa569('0x2f')]('TablePropertiesEditing')){for(const _0x5e4547 of this[_0xa569('0xf')])_0xe87ea3[_0xa569('0x23')](_0x5e4547,(_0x2fbac2,_0x44df57)=>{const _0xf4a191=this[_0xa569('0x27')][_0xa569('0x32')]['document'][_0xa569('0x2c')]['getFirstPosition']()[_0xa569('0x1d')](_0xa569('0x14'));this[_0xa569('0x9')](_0x5e4547,[_0xf4a191],this['tableProperties'],'tableProperties',_0x2fbac2,_0x44df57);});_0xe87ea3[_0xa569('0x5')]['registerCustomCallback'](_0xa569('0x28'),_0xa569('0xf'),_0xa569('0x7'),_0xe87ea3['_suggestionFactory']['getSuggestionCallback'](_0xa569('0x28'),null,'discard')),_0xe87ea3['_suggestionFactory'][_0xa569('0xb')](_0xa569('0x28'),_0xa569('0xf'),_0xa569('0x1e'),(_0x1dc593,_0x210ec2)=>this[_0xa569('0x34')](this[_0xa569('0xf')],_0x1dc593,_0x210ec2)),_0xe87ea3[_0xa569('0x5')][_0xa569('0xb')]('formatBlock','tableProperties','join',()=>!0x1);}if(this[_0xa569('0x27')]['plugins'][_0xa569('0x2f')]('TableCellPropertiesEditing')){for(const _0x34aec8 of this[_0xa569('0x26')])_0xe87ea3[_0xa569('0x23')](_0x34aec8,(_0x299a17,_0x57f56d)=>{const _0x9fa18=this[_0xa569('0x27')][_0xa569('0xa')]['get'](_0xa569('0x3'))[_0xa569('0x1a')](this['editor'][_0xa569('0x32')][_0xa569('0x22')][_0xa569('0x2c')]);this['_handlePropertyChange'](_0x34aec8,_0x9fa18,this[_0xa569('0x26')],_0xa569('0x26'),_0x299a17,_0x57f56d);});_0xe87ea3[_0xa569('0x5')][_0xa569('0xb')](_0xa569('0x28'),'tableCellProperties','accept',_0xe87ea3[_0xa569('0x5')][_0xa569('0x31')](_0xa569('0x28'),null,_0xa569('0x1e'))),_0xe87ea3['_suggestionFactory'][_0xa569('0xb')](_0xa569('0x28'),_0xa569('0x26'),_0xa569('0x1e'),(_0x58ec59,_0x535608)=>this[_0xa569('0x34')](this['tableCellProperties'],_0x58ec59,_0x535608)),_0xe87ea3[_0xa569('0x5')][_0xa569('0xb')]('formatBlock','tableCellProperties',_0xa569('0x8'),()=>!0x1);}_0xe87ea3[_0xa569('0x2e')]['registerDescriptionCallback'](_0x1f31b8=>this['handleSuggestionDescription'](_0x1f31b8));}[_0xa569('0x9')](_0x278d86,_0x249c85,_0x52de97,_0x4feef7,_0x916b79,_0x395457){const _0x36643c=this['editor']['plugins'][_0xa569('0x2b')](_0xa569('0x4'));this[_0xa569('0x27')][_0xa569('0x32')][_0xa569('0x29')](_0x395457[_0xa569('0x24')],()=>{for(const _0x560d9b of _0x249c85){if(this[_0xa569('0x16')](_0x560d9b,_0x4feef7))_0x916b79(_0x395457);else{const _0x420163={};for(const _0x18106e of _0x52de97){const _0x287fa9=_0x560d9b[_0xa569('0x1')](_0x18106e);void 0x0!==_0x287fa9&&(_0x420163[_0x18106e]=_0x287fa9);}_0x916b79(_0x395457),_0x36643c[_0xa569('0x10')](_0x560d9b,{'commandParams':[_0x420163]},[],_0x4feef7);}}});}[_0xa569('0x34')](_0x8231cb,_0x5ac2eb,_0x43f467){const _0x5d9ad2=_0x5ac2eb[0x0][_0xa569('0x1c')][_0xa569('0x21')],_0x57a263=_0x43f467[_0xa569('0x35')][0x0];this[_0xa569('0x27')]['model']['change'](_0x1e4963=>{for(const _0x5b5dbb of _0x8231cb)void 0x0!==_0x57a263[_0x5b5dbb]?_0x1e4963[_0xa569('0x33')](_0x5b5dbb,_0x57a263[_0x5b5dbb],_0x5d9ad2):_0x1e4963['removeAttribute'](_0x5b5dbb,_0x5d9ad2);});}['handleSuggestionDescription'](_0x36f289){if(_0x36f289['data'])switch(_0x36f289[_0xa569('0xe')]){case _0xa569('0xf'):return{'type':_0xa569('0x17'),'content':_0x42e7dd(this[_0xa569('0x27')][_0xa569('0x2d')],'*Format:*\x20change\x20table\x20properties')};case _0xa569('0x26'):return{'type':_0xa569('0x17'),'content':_0x42e7dd(this[_0xa569('0x27')]['locale'],_0xa569('0x1f'))};}}[_0xa569('0x16')](_0x388197,_0x310a6d){const _0x3f3120=this[_0xa569('0x27')]['plugins'][_0xa569('0x2b')]('TrackChangesEditing');for(const _0x1f11f3 of _0x3f3120[_0xa569('0x25')]({'skipNotAttached':!0x0})){const _0x160371=_0x1f11f3[_0xa569('0x18')]();if(_0x1f11f3[_0xa569('0xe')]===_0x310a6d&&_0x160371===_0x388197)return _0x1f11f3;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x405d=['has','Template','get','enableCommand','plugins','TrackChangesEditing','editor'];(function(_0x3392ae,_0x405d68){const _0x495dee=function(_0x1d4045){while(--_0x1d4045){_0x3392ae['push'](_0x3392ae['shift']());}};_0x495dee(++_0x405d68);}(_0x405d,0x13c));const _0x495d=function(_0x3392ae,_0x405d68){_0x3392ae=_0x3392ae-0x0;let _0x495dee=_0x405d[_0x3392ae];return _0x495dee;};import{Plugin as _0x10c82e}from'ckeditor5/src/core';export default class yt extends _0x10c82e{['afterInit'](){const _0x35d31d=this[_0x495d('0x5')];_0x35d31d[_0x495d('0x3')][_0x495d('0x6')](_0x495d('0x0'))&&_0x35d31d[_0x495d('0x3')][_0x495d('0x1')](_0x495d('0x4'))[_0x495d('0x2')]('insertTemplate');}}
23
+ const _0x1583=['get','plugins','editor','has','afterInit','enableCommand','insertTemplate'];(function(_0x979a4d,_0x15837b){const _0x1f921c=function(_0x2c4318){while(--_0x2c4318){_0x979a4d['push'](_0x979a4d['shift']());}};_0x1f921c(++_0x15837b);}(_0x1583,0x8b));const _0x1f92=function(_0x979a4d,_0x15837b){_0x979a4d=_0x979a4d-0x0;let _0x1f921c=_0x1583[_0x979a4d];return _0x1f921c;};import{Plugin as _0x5c36fd}from'ckeditor5/src/core';export default class yt extends _0x5c36fd{[_0x1f92('0x5')](){const _0x159042=this[_0x1f92('0x3')];_0x159042[_0x1f92('0x2')][_0x1f92('0x4')]('Template')&&_0x159042[_0x1f92('0x2')][_0x1f92('0x1')]('TrackChangesEditing')[_0x1f92('0x6')](_0x1f92('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3071=['afterInit','document','isTouching','ELEMENT_TITLE','getChangedMarkers','locale','_splitMarkerName','removeMarker','title-content','schema','createRange','nodeBefore','isEqual','updateMarker','end','isCollapsed','suggestion','newRange','has','getNearestSelectionRange','get','start','TrackChangesEditing','editor','model','plugins'];(function(_0x147121,_0x307138){const _0x5f3e4f=function(_0x5ee030){while(--_0x5ee030){_0x147121['push'](_0x147121['shift']());}};_0x5f3e4f(++_0x307138);}(_0x3071,0xb9));const _0x5f3e=function(_0x147121,_0x307138){_0x147121=_0x147121-0x0;let _0x5f3e4f=_0x3071[_0x147121];return _0x5f3e4f;};import{Plugin as _0x12a9d4}from'ckeditor5/src/core';import{getTranslation as _0x1b43b7}from'../utils/common-translations';export default class St extends _0x12a9d4{[_0x5f3e('0x17')](){const _0x341cec=this[_0x5f3e('0x14')];if(!_0x341cec[_0x5f3e('0x16')][_0x5f3e('0xf')]('Title'))return;const _0x14f498=_0x341cec[_0x5f3e('0x16')][_0x5f3e('0x11')](_0x5f3e('0x13'));_0x14f498['_descriptionFactory']['registerElementLabel'](_0x5f3e('0x5'),()=>_0x1b43b7(_0x341cec[_0x5f3e('0x2')],_0x5f3e('0x0'))),_0x341cec[_0x5f3e('0x15')][_0x5f3e('0x18')]['registerPostFixer'](_0x1e51d8=>{let _0x4a52cb=!0x1;const _0xb07066=Array['from'](_0x341cec[_0x5f3e('0x15')][_0x5f3e('0x18')]['differ'][_0x5f3e('0x1')]());for(const {name:_0x968d1e,data:_0x9fcd94}of _0xb07066){const {group:_0x4eab5a}=_0x14f498[_0x5f3e('0x3')](_0x968d1e);if(_0x5f3e('0xd')!==_0x4eab5a||!_0x9fcd94[_0x5f3e('0xe')])continue;const _0x5a1883=_0x9fcd94[_0x5f3e('0xe')],_0x5e97e4=_0x5a1883[_0x5f3e('0xb')][_0x5f3e('0x8')];if(!_0x5e97e4||!_0x5e97e4['is']('element','title-content'))continue;if(!_0x5a1883[_0x5f3e('0x12')][_0x5f3e('0x19')](_0x5a1883[_0x5f3e('0xb')]))continue;const _0x416405=_0x341cec[_0x5f3e('0x15')][_0x5f3e('0x6')][_0x5f3e('0x10')](_0x5a1883[_0x5f3e('0xb')],'forward');if(_0x416405&&_0x416405[_0x5f3e('0xc')]){const _0x56a0b9=_0x1e51d8[_0x5f3e('0x7')](_0x5a1883[_0x5f3e('0x12')],_0x416405[_0x5f3e('0x12')]);_0x56a0b9[_0x5f3e('0x9')](_0x5a1883)||(_0x1e51d8[_0x5f3e('0xa')](_0x968d1e,{'range':_0x56a0b9}),_0x4a52cb=!0x0);}_0x4a52cb||(_0x1e51d8[_0x5f3e('0x4')](_0x968d1e),_0x4a52cb=!0x0);}return _0x4a52cb;});}}
23
+ const _0x2d59=['registerPostFixer','start','element','end','from','get','title-content','registerElementLabel','suggestion','newRange','model','document','forward','Title','isEqual','differ','schema','locale','afterInit','nodeBefore','getNearestSelectionRange','TrackChangesEditing','plugins','getChangedMarkers','createRange'];(function(_0x23f65c,_0x2d5991){const _0xc1990b=function(_0x514764){while(--_0x514764){_0x23f65c['push'](_0x23f65c['shift']());}};_0xc1990b(++_0x2d5991);}(_0x2d59,0xfb));const _0xc199=function(_0x23f65c,_0x2d5991){_0x23f65c=_0x23f65c-0x0;let _0xc1990b=_0x2d59[_0x23f65c];return _0xc1990b;};import{Plugin as _0x10d807}from'ckeditor5/src/core';import{getTranslation as _0x16ba96}from'../utils/common-translations';export default class St extends _0x10d807{[_0xc199('0x11')](){const _0x4c812c=this['editor'];if(!_0x4c812c[_0xc199('0x15')]['has'](_0xc199('0xc')))return;const _0x78506c=_0x4c812c[_0xc199('0x15')][_0xc199('0x4')](_0xc199('0x14'));_0x78506c['_descriptionFactory'][_0xc199('0x6')]('title-content',()=>_0x16ba96(_0x4c812c[_0xc199('0x10')],'ELEMENT_TITLE')),_0x4c812c[_0xc199('0x9')][_0xc199('0xa')][_0xc199('0x18')](_0x2a4381=>{let _0x3b8d26=!0x1;const _0x440940=Array[_0xc199('0x3')](_0x4c812c[_0xc199('0x9')][_0xc199('0xa')][_0xc199('0xe')][_0xc199('0x16')]());for(const {name:_0x2190eb,data:_0xc46775}of _0x440940){const {group:_0x250eb4}=_0x78506c['_splitMarkerName'](_0x2190eb);if(_0xc199('0x7')!==_0x250eb4||!_0xc46775['newRange'])continue;const _0x415790=_0xc46775[_0xc199('0x8')],_0x38e120=_0x415790[_0xc199('0x2')][_0xc199('0x12')];if(!_0x38e120||!_0x38e120['is'](_0xc199('0x1'),_0xc199('0x5')))continue;if(!_0x415790[_0xc199('0x0')]['isTouching'](_0x415790[_0xc199('0x2')]))continue;const _0x40526b=_0x4c812c[_0xc199('0x9')][_0xc199('0xf')][_0xc199('0x13')](_0x415790[_0xc199('0x2')],_0xc199('0xb'));if(_0x40526b&&_0x40526b['isCollapsed']){const _0x24caee=_0x2a4381[_0xc199('0x17')](_0x415790[_0xc199('0x0')],_0x40526b['start']);_0x24caee[_0xc199('0xd')](_0x415790)||(_0x2a4381['updateMarker'](_0x2190eb,{'range':_0x24caee}),_0x3b8d26=!0x0);}_0x3b8d26||(_0x2a4381['removeMarker'](_0x2190eb),_0x3b8d26=!0x0);}return _0x3b8d26;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2401=['UndoEditing','redo','enableCommand','plugins','editor','afterInit','undo'];(function(_0x45a8c6,_0x240139){const _0x407690=function(_0x37225c){while(--_0x37225c){_0x45a8c6['push'](_0x45a8c6['shift']());}};_0x407690(++_0x240139);}(_0x2401,0x188));const _0x4076=function(_0x45a8c6,_0x240139){_0x45a8c6=_0x45a8c6-0x0;let _0x407690=_0x2401[_0x45a8c6];return _0x407690;};import{Plugin as _0x7d3c46}from'ckeditor5/src/core';export default class It extends _0x7d3c46{[_0x4076('0x5')](){const _0x22ce9a=this[_0x4076('0x4')],_0x3bb7c3=_0x22ce9a['plugins']['get']('TrackChangesEditing');_0x22ce9a[_0x4076('0x3')]['has'](_0x4076('0x0'))&&(_0x3bb7c3[_0x4076('0x2')](_0x4076('0x6')),_0x3bb7c3[_0x4076('0x2')](_0x4076('0x1')));}}
23
+ const _0x2927=['plugins','editor','TrackChangesEditing','afterInit','redo','enableCommand','undo','has','UndoEditing'];(function(_0x23d1f0,_0x2927ff){const _0x317196=function(_0x701cc2){while(--_0x701cc2){_0x23d1f0['push'](_0x23d1f0['shift']());}};_0x317196(++_0x2927ff);}(_0x2927,0xfa));const _0x3171=function(_0x23d1f0,_0x2927ff){_0x23d1f0=_0x23d1f0-0x0;let _0x317196=_0x2927[_0x23d1f0];return _0x317196;};import{Plugin as _0x4a3953}from'ckeditor5/src/core';export default class It extends _0x4a3953{[_0x3171('0x5')](){const _0x20a100=this[_0x3171('0x3')],_0xdef995=_0x20a100[_0x3171('0x2')]['get'](_0x3171('0x4'));_0x20a100[_0x3171('0x2')][_0x3171('0x0')](_0x3171('0x1'))&&(_0xdef995[_0x3171('0x7')](_0x3171('0x8')),_0xdef995['enableCommand'](_0x3171('0x6')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x274d=['createRangeOn','addHighlight','ck-suggestion-marker-','mapper','markerName','toViewPosition','get','span','hasAttribute','parent','isContent','activeMarkers','schema','isAtEnd','toViewElement','getCustomProperty','writer','nextSibling','element','listIndent','push','TrackChangesEditing','getItems','test','getAttribute','start','name','previousPosition','markerRange','insert','includes','consumable','ck-suggestion-marker--active','listItem'];(function(_0x31b63f,_0x274df8){const _0x508ca4=function(_0x1e5495){while(--_0x1e5495){_0x31b63f['push'](_0x31b63f['shift']());}};_0x508ca4(++_0x274df8);}(_0x274d,0x135));const _0x508c=function(_0x31b63f,_0x274df8){_0x31b63f=_0x31b63f-0x0;let _0x508ca4=_0x274d[_0x31b63f];return _0x508ca4;};export function getRangesWithAttribute(_0x1b5a59,_0x485858,_0x42aea8){const _0x287680=[];for(const _0x27334e of _0x485858[_0x508c('0x13')]())_0x27334e[_0x508c('0x5')](_0x1b5a59)&&_0x287680[_0x508c('0x11')](_0x42aea8[_0x508c('0x1f')](_0x27334e));return _0x287680;}export function getElementsAffectedByListItemRename(_0x4e9862){const _0x102246=[];if(_0x4e9862['is'](_0x508c('0xf'),_0x508c('0x1e'))){let _0x32975b=_0x4e9862['nextSibling'];for(;_0x32975b&&_0x32975b['is'](_0x508c('0xf'),_0x508c('0x1e'))&&_0x32975b[_0x508c('0x15')](_0x508c('0x10'))>0x0;)_0x102246[_0x508c('0x11')](_0x32975b),_0x32975b=_0x32975b[_0x508c('0xe')];}return _0x102246;}export function downcastSplitMergeMarker(_0x426e0e,_0x4ea3ad,{showActiveMarker:_0x318808=!0x0}={}){const _0x50798c=_0x426e0e['plugins'][_0x508c('0x3')](_0x508c('0x12'));return(_0x4d5695,_0x38742f,_0xdb4095)=>{if(!_0xdb4095[_0x508c('0x1c')][_0x508c('0x14')](_0x38742f[_0x508c('0x19')],_0x4d5695[_0x508c('0x17')]))return;const _0x35c511=_0x38742f[_0x508c('0x19')]['getWalker'](),_0x22edf8=_0x38742f[_0x508c('0x19')][_0x508c('0x16')],_0x9fc545=_0x426e0e['model'][_0x508c('0x9')];let _0xbbc857=null,_0x1ed109=null,_0x1ade1b=!0x1,_0x199f0e=!0x1;for(const _0x396902 of _0x35c511){const _0x4cc6a0=_0x396902['item'];_0x1ade1b=_0x1ade1b||_0x9fc545[_0x508c('0x7')](_0x4cc6a0);const _0x1c328=_0xdb4095[_0x508c('0x0')][_0x508c('0xb')](_0x4cc6a0);if(_0x1c328&&_0x1c328[_0x508c('0xc')](_0x508c('0x20')))return;'elementEnd'==_0x396902['type']&&(_0x9fc545['isBlock'](_0x4cc6a0)&&!_0x9fc545['isLimit'](_0x4cc6a0)&&(_0x4cc6a0[_0x508c('0xe')]||_0x22edf8[_0x508c('0xa')]?_0xbbc857&&_0xbbc857[_0x508c('0x6')]==_0x4cc6a0||(_0xbbc857=_0x4cc6a0,_0x2ee3e5(_0x396902[_0x508c('0x18')]),_0x199f0e=!0x0):_0x1ed109=_0x1ed109||_0x396902[_0x508c('0x18')]));}function _0x2ee3e5(_0x22192b){const _0x23f32c=_0xdb4095[_0x508c('0xd')]['createUIElement'](_0x508c('0x4'),{'class':_0x508c('0x21')+_0x4ea3ad}),_0x1797e9=_0xdb4095[_0x508c('0x0')][_0x508c('0x2')](_0x22192b);_0x318808&&_0x50798c[_0x508c('0x8')][_0x508c('0x1b')](_0x38742f[_0x508c('0x1')])&&_0xdb4095[_0x508c('0xd')]['addClass'](_0x508c('0x1d'),_0x23f32c),_0xdb4095[_0x508c('0xd')][_0x508c('0x1a')](_0x1797e9,_0x23f32c),_0xdb4095['mapper']['bindElementToMarker'](_0x23f32c,_0x38742f[_0x508c('0x1')]);}_0x1ade1b||_0x199f0e||!_0x1ed109||_0x2ee3e5(_0x1ed109);};}
23
+ const _0x5e4a=['start','toViewElement','TrackChangesEditing','getCustomProperty','consumable','previousPosition','model','type','listItem','span','hasAttribute','plugins','markerRange','isLimit','toViewPosition','writer','getItems','push','createRangeOn','bindElementToMarker','get','elementEnd','mapper','isBlock','markerName','addHighlight','getWalker','item','listIndent','nextSibling','insert','addClass','element'];(function(_0x483d09,_0x5e4abf){const _0x163c66=function(_0x4de3e0){while(--_0x4de3e0){_0x483d09['push'](_0x483d09['shift']());}};_0x163c66(++_0x5e4abf);}(_0x5e4a,0x193));const _0x163c=function(_0x483d09,_0x5e4abf){_0x483d09=_0x483d09-0x0;let _0x163c66=_0x5e4a[_0x483d09];return _0x163c66;};export function getRangesWithAttribute(_0xd755cc,_0x56aa7c,_0xbcaba9){const _0x4a0354=[];for(const _0x599b31 of _0x56aa7c[_0x163c('0x9')]())_0x599b31[_0x163c('0x3')](_0xd755cc)&&_0x4a0354[_0x163c('0xa')](_0xbcaba9[_0x163c('0xb')](_0x599b31));return _0x4a0354;}export function getElementsAffectedByListItemRename(_0x2ae96a){const _0x5de35a=[];if(_0x2ae96a['is'](_0x163c('0x19'),_0x163c('0x1'))){let _0x444812=_0x2ae96a[_0x163c('0x16')];for(;_0x444812&&_0x444812['is'](_0x163c('0x19'),_0x163c('0x1'))&&_0x444812['getAttribute'](_0x163c('0x15'))>0x0;)_0x5de35a[_0x163c('0xa')](_0x444812),_0x444812=_0x444812[_0x163c('0x16')];}return _0x5de35a;}export function downcastSplitMergeMarker(_0x56ed9c,_0x1ae4f7,{showActiveMarker:_0x2969ed=!0x0}={}){const _0x768a36=_0x56ed9c[_0x163c('0x4')][_0x163c('0xd')](_0x163c('0x1c'));return(_0xa95e2e,_0x39b528,_0x187e2d)=>{if(!_0x187e2d[_0x163c('0x1e')]['test'](_0x39b528['markerRange'],_0xa95e2e['name']))return;const _0x339c92=_0x39b528['markerRange'][_0x163c('0x13')](),_0x48ecc8=_0x39b528[_0x163c('0x5')][_0x163c('0x1a')],_0x587019=_0x56ed9c[_0x163c('0x20')]['schema'];let _0x4ca72b=null,_0x39a924=null,_0x2ba171=!0x1,_0x673d46=!0x1;for(const _0x56c554 of _0x339c92){const _0x47b821=_0x56c554[_0x163c('0x14')];_0x2ba171=_0x2ba171||_0x587019['isContent'](_0x47b821);const _0x465955=_0x187e2d[_0x163c('0xf')][_0x163c('0x1b')](_0x47b821);if(_0x465955&&_0x465955[_0x163c('0x1d')](_0x163c('0x12')))return;_0x163c('0xe')==_0x56c554[_0x163c('0x0')]&&(_0x587019[_0x163c('0x10')](_0x47b821)&&!_0x587019[_0x163c('0x6')](_0x47b821)&&(_0x47b821[_0x163c('0x16')]||_0x48ecc8['isAtEnd']?_0x4ca72b&&_0x4ca72b['parent']==_0x47b821||(_0x4ca72b=_0x47b821,_0x3c6a57(_0x56c554[_0x163c('0x1f')]),_0x673d46=!0x0):_0x39a924=_0x39a924||_0x56c554[_0x163c('0x1f')]));}function _0x3c6a57(_0x475098){const _0x572608=_0x187e2d[_0x163c('0x8')]['createUIElement'](_0x163c('0x2'),{'class':'ck-suggestion-marker-'+_0x1ae4f7}),_0x24375a=_0x187e2d[_0x163c('0xf')][_0x163c('0x7')](_0x475098);_0x2969ed&&_0x768a36['activeMarkers']['includes'](_0x39b528['markerName'])&&_0x187e2d[_0x163c('0x8')][_0x163c('0x18')]('ck-suggestion-marker--active',_0x572608),_0x187e2d[_0x163c('0x8')][_0x163c('0x17')](_0x24375a,_0x572608),_0x187e2d[_0x163c('0xf')][_0x163c('0xc')](_0x572608,_0x39b528[_0x163c('0x11')]);}_0x2ba171||_0x673d46||!_0x39a924||_0x3c6a57(_0x39a924);};}