@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230818.1 → 0.0.0-nightly-20230819.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 _0x2e52=['isEqual','getAllAdjacentSuggestions','forceDefaultExecution','showSuggestionHighlights','cells','getChildren','getContainedElement','next','remove','find','options','columns','getChangedMarkers','reduce','subType','for','includes','columnInsertionRanges','push','filter','tableCellPadding','rootName','rowInsertionRanges','createRange','stop','getColumns','previous','deletion','updateMarker','tablePasteCell','_getCoordsForCells','getColumnIndexes','tableCellVerticalAlignment','last','commands','type','getMarkers','createRangeOn','createElement','name','conversion','view','requires','dataDowncast','columnInsertionIndexes','model','afterInit','document','suggestionUnloaded','from','getRows','change','getTableIfOnlyTableInContent','paragraph','markerName','length','editing','markerToHighlight','tableCellBorderWidth','getSuggestionCallback','editor','register','markMultiRangeDeletion','author','table','markMultiRangeBlockFormat','discard','removeMarker','add','setAttribute','insert','element','startsWith','start','TableClipboard','documentSelection','wrap','root','activeMarkers','accept','getSuggestion','getShiftedBy','_splitMarkerName','ck-suggestion-marker','insertRows','has','column','high','suggestion-td','get','registerCustomCallback','some','position','tableCell','_replaceTableSlotCell','findAncestor','fill','containsRange','ck-suggestion-marker-insertion','tablePasteColumn','removeColumns','tableCellHorizontalAlignment','set','getAttributes','_suggestionFactory','isEmpty','map','join','formatBlock','selection','tablePasteChainId','isInContent','markerAttributes','removeRows','rowInsertionIndexes','getRowIndexes','plugins','_descriptionFactory','every','unwrap','insertionRanges','getSuggestions','clipboardOutput','suggestion','suggestion:formatBlock:tablePasteCell','attributes','getSelectionAffectedTableCells','listenTo','endColumn','getRange','keys','endRow','insertion','tableCellBackgroundColor','newRange','createRangeIn','end','getChanges','registerDescriptionCallback','editingDowncast','Users','createTableWalker','tableCellSuggestion','entries','registerPostFixer','first','redo','differ','oldRange','fromEntries','insertContent','deletionRanges','getChild','markMultiRangeInsertion','nodeAfter','row','schema','_isForcedDefaultExecutionBlock','hasSuggestion','setAttributes','TrackChangesEditing','removeMarkers','*Replace\x20table\x20cells*','getRanges','move','tablePasteRow','tablePaste'];(function(_0x27c2e5,_0x2e5266){const _0x2e0943=function(_0x48db0e){while(--_0x48db0e){_0x27c2e5['push'](_0x27c2e5['shift']());}};_0x2e0943(++_0x2e5266);}(_0x2e52,0x10b));const _0x2e09=function(_0x27c2e5,_0x2e5266){_0x27c2e5=_0x27c2e5-0x0;let _0x2e0943=_0x2e52[_0x27c2e5];return _0x2e0943;};import{getTranslation as _0x41e0cc}from'../utils/common-translations';import{Plugin as _0x4f526a}from'ckeditor5/src/core';import{uid as _0x5fac8f,priorities as _0x251b3d}from'ckeditor5/src/utils';import _0x1b7c01 from'./table';const le=[_0x2e09('0x7d'),'tableCellBorderColor','tableCellBorderStyle',_0x2e09('0x1'),_0x2e09('0x63'),_0x2e09('0x21'),_0x2e09('0x57')],ae=Object[_0x2e09('0x31')](le['map'](_0x2ecf51=>[_0x2ecf51,null]));export default class kt extends _0x4f526a{static get[_0x2e09('0x6d')](){return[_0x1b7c01];}[_0x2e09('0x71')](){const _0x13e67b=this['editor'];if(!_0x13e67b[_0x2e09('0x10')]['has'](_0x2e09('0x8d')))return;const _0xbf8c50=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x3c')),_0x25fe8c=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')]('TableUtils'),_0x1a0109=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x1b7c01),_0x119d82=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x8d'));_0x1a0109['_tablePostFixingSubtypes'][_0x2e09('0x55')]('tablePasteRow','tablePasteColumn'),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x38')][_0x2e09('0x80')](_0x2e09('0x2a'),{'allowIn':_0x2e09('0xa0'),'allowContentOf':_0x2e09('0xa0'),'isLimit':!0x0}),_0x13e67b['conversion']['elementToElement']({'model':_0x2e09('0x2a'),'view':_0x2e09('0x9b')});let _0x79fc7=null;_0x13e67b[_0x2e09('0x70')]['on'](_0x2e09('0x32'),(_0x37279b,_0x2818e4)=>{const [_0x1f6def,_0x237bae]=_0x2818e4,_0xf7795c=_0x2818e4[_0x2818e4['length']-0x1];_0xf7795c&&_0xf7795c[_0x2e09('0x45')]||_0xbf8c50[_0x2e09('0x39')]||this[_0x2e09('0x7f')][_0x2e09('0x65')][_0x2e09('0x9c')]('trackChanges')['value']&&function(_0x1d2995,_0x562280,_0x17a199,_0x39830f,_0x55c9bb){if(_0x562280&&!_0x562280['is'](_0x2e09('0x8e')))return!0x1;const _0xb074a=_0x55c9bb[_0x2e09('0x77')](_0x1d2995,_0x17a199);if(!_0xb074a||!fe(_0xb074a,void 0x0,_0x39830f))return!0x1;const _0xeee100=_0x39830f[_0x2e09('0x1a')](_0x17a199['document'][_0x2e09('0x9')]);if(!_0xeee100[_0x2e09('0x7a')])return!0x1;const _0x362232=_0xeee100[0x0][_0x2e09('0xa2')](_0x2e09('0x83')),_0x50c020=_0x39830f[_0x2e09('0xf')](_0xeee100),_0x4c8c7e=_0x39830f[_0x2e09('0x62')](_0xeee100),_0x50a7d6={'startRow':_0x50c020[_0x2e09('0x2d')],'endRow':_0x50c020[_0x2e09('0x64')],'startColumn':_0x4c8c7e['first'],'endColumn':_0x4c8c7e[_0x2e09('0x64')]};return 0x1==_0xeee100[_0x2e09('0x7a')]&&(_0x50a7d6[_0x2e09('0x1f')]+=_0x39830f[_0x2e09('0x75')](_0xb074a)-0x1,_0x50a7d6[_0x2e09('0x1c')]+=_0x39830f[_0x2e09('0x5c')](_0xb074a)-0x1),fe(_0x362232,_0x50a7d6,_0x39830f);}(_0x1f6def,_0x237bae,_0x13e67b[_0x2e09('0x70')],_0x25fe8c,_0x119d82)&&(_0x37279b['stop'](),_0x79fc7={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x13e67b['model']['change'](()=>{_0x13e67b[_0x2e09('0x70')][_0x2e09('0x32')](_0x2818e4[0x0],_0x2818e4[0x1],_0x2818e4[0x2],{'forceDefaultExecution':!0x0});const _0x47c67c=_0x5fac8f(),{rowInsertionRanges:_0x2ca46b,columnInsertionRanges:_0x26f029,insertionRanges:_0x4194e0,deletionRanges:_0x53b945,cells:_0x1d6c90}=_0x79fc7;_0x2ca46b['length']&&_0xbf8c50[_0x2e09('0x35')](_0x2ca46b,'tablePasteRow',{'tablePasteChainId':_0x47c67c}),_0x26f029['length']&&_0xbf8c50[_0x2e09('0x35')](_0x26f029,'tablePasteColumn',{'tablePasteChainId':_0x47c67c}),_0x4194e0[_0x2e09('0x7a')]&&_0xbf8c50[_0x2e09('0x35')](_0x4194e0,_0x2e09('0x42'),{'tablePasteChainId':_0x47c67c,'skipNestingCheck':!0x0}),_0x53b945['length']&&_0xbf8c50[_0x2e09('0x81')](_0x53b945,_0x2e09('0x42'),{'tablePasteChainId':_0x47c67c,'skipNestingCheck':!0x0});const _0x45ffde=_0xbf8c50[_0x2e09('0x84')](_0x1d6c90[_0x2e09('0x6')](({element:_0x23448e})=>_0x23448e),{'formatGroupId':_0x5fac8f()},[],_0x2e09('0x60'),{'tablePasteChainId':_0x47c67c});if(_0x45ffde){const _0x38b5f3=_0x45ffde[_0x2e09('0x67')](),_0x1b5434=[];for(const {element:_0x314d6e,attributes:_0x192f0e}of _0x1d6c90){if(!_0x192f0e)continue;const _0x34b0b9=_0x13e67b['model']['createRangeOn'](_0x314d6e),_0x154942=_0x38b5f3[_0x2e09('0x4c')](_0x60bd63=>_0x60bd63['getRange']()[_0x2e09('0x43')](_0x34b0b9));_0x154942&&_0x1b5434[_0x2e09('0x55')]([_0x154942[_0x2e09('0x6a')],_0x192f0e]);}_0x1b5434[_0x2e09('0x7a')]&&_0x45ffde[_0x2e09('0x88')]('markerAttributes',Object[_0x2e09('0x31')](_0x1b5434));}_0x79fc7=null;}));},{'priority':_0x251b3d['high']+0xa}),_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x8d'))['on'](_0x2e09('0xa1'),(_0x1c816d,_0x478299)=>{const [_0x5dc245,_0x15ad7c,,_0x463ccc]=_0x478299;if(!_0x79fc7)return;_0x1c816d[_0x2e09('0x5b')]();const _0x39a0fb=_0x5dc245['cell'],_0x3642ba=_0x15ad7c,_0xc4ebac=ce(_0x39a0fb),_0xbf6636=ce(_0x3642ba);_0x1c816d['return']=_0x39a0fb;let _0x5bbd50=null,_0x3884bc=null;if(_0xbf6636||_0xc4ebac){if(_0xc4ebac&&!_0xbf6636){_0x463ccc['remove'](_0x39a0fb[_0x2e09('0x34')](0x0));for(const _0xf4782d of Array[_0x2e09('0x74')](_0x3642ba[_0x2e09('0x48')]()))_0x463ccc[_0x2e09('0x89')](_0xf4782d,_0x39a0fb,_0x2e09('0x24'));const _0x71455d=_0x79fc7[_0x2e09('0xe')][_0x2e09('0x53')](_0x5dc245[_0x2e09('0x37')]),_0x3c54a4=_0x79fc7[_0x2e09('0x6f')][_0x2e09('0x53')](_0x5dc245[_0x2e09('0x99')]);_0x71455d||_0x3c54a4||(_0x5bbd50=_0x463ccc[_0x2e09('0x23')](_0x39a0fb));}else _0xbf6636&&!_0xc4ebac&&(_0x3884bc=_0x463ccc[_0x2e09('0x23')](_0x39a0fb));}else{const _0x2e4536=_0x463ccc[_0x2e09('0x69')]('tableCellSuggestion'),_0x294ab4=_0x463ccc[_0x2e09('0x69')]('tableCellSuggestion');_0x463ccc[_0x2e09('0x8f')](_0x463ccc['createRangeIn'](_0x39a0fb),_0x294ab4),_0x463ccc[_0x2e09('0x89')](_0x2e4536,_0x39a0fb,0x0);for(const _0x319ab9 of Array[_0x2e09('0x74')](_0x3642ba[_0x2e09('0x48')]()))_0x463ccc[_0x2e09('0x89')](_0x319ab9,_0x2e4536,_0x2e09('0x24'));_0x5bbd50=_0x463ccc[_0x2e09('0x68')](_0x2e4536),_0x3884bc=_0x463ccc['createRangeOn'](_0x294ab4);}const _0x28186c=Array['from'](_0x3642ba[_0x2e09('0x3')]())[_0x2e09('0x56')](([_0x317345])=>le[_0x2e09('0x53')](_0x317345));_0x79fc7['cells'][_0x2e09('0x55')]({'element':_0x39a0fb,'attributes':_0x28186c[_0x2e09('0x7a')]?Object['fromEntries'](_0x28186c):null}),_0x5bbd50&&_0x79fc7[_0x2e09('0x14')][_0x2e09('0x55')](_0x5bbd50),_0x3884bc&&_0x79fc7[_0x2e09('0x33')]['push'](_0x3884bc);},{'priority':_0x2e09('0x9a')}),_0x25fe8c['on']('insertColumns',(_0x27831c,_0x58cb01)=>{const [_0xd79690,_0x457af6={}]=_0x58cb01;if(!_0x79fc7)return;const _0x13d21a=_0x457af6['at']||0x0,_0x2199df=_0x457af6[_0x2e09('0x4e')]||0x1;_0x79fc7[_0x2e09('0x6f')]=new Array(_0x2199df)[_0x2e09('0xa3')](_0x13d21a)[_0x2e09('0x6')]((_0x5d8b09,_0x5eb742)=>_0x5d8b09+_0x5eb742);for(const {cell:_0x2e0458}of _0x25fe8c[_0x2e09('0x29')](_0xd79690,{'startColumn':_0x13d21a,'endColumn':_0x13d21a+_0x2199df-0x1}))_0x79fc7[_0x2e09('0x54')][_0x2e09('0x55')](_0x13e67b[_0x2e09('0x70')]['createRangeOn'](_0x2e0458));},{'priority':'low'}),_0x25fe8c['on'](_0x2e09('0x97'),(_0x3edc93,_0x43e541)=>{const [_0x4ca3d6,_0x3fcb63={}]=_0x43e541;if(!_0x79fc7)return;const _0x345179=_0x3fcb63['at']||0x0,_0x1d6944=_0x3fcb63['rows']||0x1;_0x79fc7[_0x2e09('0xe')]=new Array(_0x1d6944)[_0x2e09('0xa3')](_0x345179)[_0x2e09('0x6')]((_0x192c1f,_0x504fba)=>_0x192c1f+_0x504fba);for(const {cell:_0x5f360a}of _0x25fe8c[_0x2e09('0x29')](_0x4ca3d6,{'startRow':_0x345179,'endRow':_0x345179+_0x1d6944-0x1}))_0x79fc7[_0x2e09('0x59')][_0x2e09('0x55')](_0x13e67b[_0x2e09('0x70')]['createRangeOn'](_0x5f360a));},{'priority':'low'}),_0xbf8c50[_0x2e09('0x11')][_0x2e09('0x26')](_0x1d0c08=>{if(_0x1d0c08[_0x2e09('0x51')]&&_0x1d0c08[_0x2e09('0x51')][_0x2e09('0x8b')]('tablePaste'))return _0x1d0c08[_0x2e09('0x5d')]?{}:{'type':_0x2e09('0x20'),'content':_0x41e0cc(_0x13e67b['locale'],_0x2e09('0x3e'))};});const _0x43770c=()=>{};for(const _0x1a7050 of[_0x2e09('0x42'),_0x2e09('0xa6'),_0x2e09('0x41'),'tablePasteCell'])_0xbf8c50['_suggestionFactory'][_0x2e09('0x9d')]('insertion',_0x1a7050,_0x2e09('0x7'),_0x43770c),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x5e'),_0x1a7050,'join',_0x43770c);_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x8'),_0x2e09('0x60'),_0x2e09('0x85'),_0x43770c),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x8'),'tablePasteCell',_0x2e09('0x92'),(_0x47f525,_0x24657c,_0x461b02)=>{const _0x1bd725=_0x47f525['map'](_0x34f799=>_0x34f799[_0x2e09('0x49')]())[_0x2e09('0x56')](_0x19986c=>_0x19986c),_0x105e39=new Map(_0x1bd725[_0x2e09('0x6')](_0x2c3fee=>[_0x2c3fee,null]));if(_0x79fc7)for(const {element:_0x41dc7e,attributes:_0x42fd90}of _0x79fc7[_0x2e09('0x47')])_0x42fd90&&_0x105e39[_0x2e09('0x2')](_0x41dc7e,_0x42fd90);else{if(_0x461b02&&_0x461b02[_0x2e09('0xc')])for(const [_0x323b77,_0x1ee12b]of Object[_0x2e09('0x2b')](_0x461b02[_0x2e09('0xc')])){const _0x1c1077=_0x13e67b[_0x2e09('0x70')]['markers']['get'](_0x323b77),_0x3a1c09=_0x1c1077?_0x1c1077[_0x2e09('0x1d')]()[_0x2e09('0x49')]():null;_0x3a1c09&&_0x105e39[_0x2e09('0x2')](_0x3a1c09,_0x1ee12b);}}_0x13e67b[_0x2e09('0x70')][_0x2e09('0x76')](_0x2ac08d=>{for(const [_0x386f69,_0x44aff8]of _0x105e39)_0x2ac08d[_0x2e09('0x3b')]({...ae,..._0x44aff8},_0x386f69);});});const _0x3831b4=(_0x127193,_0x11bec9)=>{_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x127193,_0x2e09('0x42'),_0x11bec9,(_0x277a5f,_0x1b0d25,_0x5d2cfe)=>{_0x13e67b['model'][_0x2e09('0x76')](_0x1d2031=>{const _0x2b2c62=[];for(const _0x1a5f18 of _0x277a5f){const _0x1fa8c4=_0x1a5f18[_0x2e09('0x8c')][_0x2e09('0x36')];_0x1fa8c4['is'](_0x2e09('0x8a'),'tableCellSuggestion')&&_0x2b2c62[_0x2e09('0x55')](_0x1fa8c4);}_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x7e')](_0x127193,null,_0x11bec9)(_0x277a5f,_0x1b0d25,_0x5d2cfe);for(const _0x55253b of _0x2b2c62)'$graveyard'!=_0x55253b[_0x2e09('0x90')][_0x2e09('0x58')]&&_0x1d2031['unwrap'](_0x55253b);});});};_0x3831b4(_0x2e09('0x20'),_0x2e09('0x92')),_0x3831b4(_0x2e09('0x20'),'discard'),_0x3831b4(_0x2e09('0x5e'),'accept'),_0x3831b4(_0x2e09('0x5e'),_0x2e09('0x85')),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x20'),'tablePasteRow',_0x2e09('0x85'),_0x14cfe6=>{const _0x2089e3=_0x14cfe6['map'](_0x497fde=>_0x497fde[_0x2e09('0x49')]()),_0x20eb61=_0x2089e3[0x0]['findAncestor']('table'),{minRow:_0x35a4aa,maxRow:_0x32f44d}=_0x1a0109[_0x2e09('0x61')](_0x2089e3);_0x25fe8c[_0x2e09('0xd')](_0x20eb61,{'at':_0x35a4aa,'rows':_0x32f44d-_0x35a4aa+0x1});}),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x20'),_0x2e09('0xa6'),'discard',_0x15447e=>{const _0x3089f4=_0x15447e[_0x2e09('0x6')](_0x21fb04=>_0x21fb04['getContainedElement']()),_0x792d65=_0x3089f4[0x0]['findAncestor'](_0x2e09('0x83')),{minColumn:_0x4049f4,maxColumn:_0x416447}=_0x1a0109[_0x2e09('0x61')](_0x3089f4);_0x25fe8c[_0x2e09('0x0')](_0x792d65,{'at':_0x4049f4,'columns':_0x416447-_0x4049f4+0x1});});const _0x190ba1=(_0x1fbb5b,_0x509a0c)=>{if(!_0x509a0c[_0x2e09('0x51')]||!_0x509a0c['subType']['startsWith'](_0x2e09('0x42')))return;const _0x13b9e2=_0x509a0c['attributes'][_0x2e09('0xa')],_0x5191b4=_0xbf8c50[_0x2e09('0x15')]()[_0x2e09('0x56')](_0x1f0aea=>_0x1f0aea[_0x2e09('0xb')]&&_0x1f0aea[_0x2e09('0x19')]&&_0x1f0aea[_0x2e09('0x19')]['tablePasteChainId']==_0x13b9e2);_0x5191b4[_0x2e09('0x7a')]&&_0x509a0c['getAllAdjacentSuggestions']()[_0x2e09('0x7a')]!=_0x5191b4[_0x2e09('0x7a')]&&_0x5191b4[_0x2e09('0x50')]((_0x6a6cfe,_0xa44db8)=>(_0x6a6cfe[_0x2e09('0x4a')]=_0xa44db8,_0xa44db8[_0x2e09('0x5d')]=_0x6a6cfe,_0xa44db8));};function _0x2bf0bb(_0x259790,_0x36ac6=!0x0){const {id:_0xe15ef0}=_0xbf8c50[_0x2e09('0x95')](_0x259790[_0x2e09('0x79')]),_0xbc0c9b=[_0x2e09('0x96'),_0x2e09('0xa5')],_0x110f8b=_0xbf8c50[_0x2e09('0x91')][_0x2e09('0x53')](_0x259790[_0x2e09('0x79')]);return _0x110f8b&&_0xbc0c9b[_0x2e09('0x55')]('ck-suggestion-marker--active'),{'classes':_0xbc0c9b,'attributes':{'data-suggestion':_0xe15ef0},'priority':_0x110f8b&&_0x36ac6?0xbc2:0xbb8};}_0xbf8c50['on']('suggestionLoaded',_0x190ba1,{'priority':_0x2e09('0x9a')}),_0xbf8c50['on'](_0x2e09('0x73'),_0x190ba1,{'priority':_0x2e09('0x9a')}),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')][_0x2e09('0x2c')](()=>{let _0x8f5e43=!0x1;const _0x3c6268=Array['from'](_0x13e67b['model'][_0x2e09('0x72')][_0x2e09('0x2f')][_0x2e09('0x4f')]());for(const {name:_0x1a87b9,data:_0x13b2c8}of _0x3c6268){const {group:_0xc6042e,type:_0x2015d2,id:_0x30356e}=_0xbf8c50[_0x2e09('0x95')](_0x1a87b9);if(_0x2e09('0x17')!=_0xc6042e||_0x2e09('0x5e')!=_0x2015d2||_0x13b2c8[_0x2e09('0x30')])continue;if(!_0xbf8c50[_0x2e09('0x3a')](_0x30356e))continue;const _0x2a1516=_0xbf8c50[_0x2e09('0x93')](_0x30356e)[_0x2e09('0x3f')](),_0x444263=_0x13e67b[_0x2e09('0x10')]['get'](_0x2e09('0x28'))['me'];for(const _0x410256 of _0xbf8c50[_0x2e09('0x15')]()){if(!_0x410256[_0x2e09('0xb')]||_0x410256[_0x2e09('0x82')]!=_0x444263)continue;if(_0x2e09('0x8')!=_0x410256[_0x2e09('0x66')]||_0x2e09('0x60')!=_0x410256['subType'])continue;if(_0x410256[_0x2e09('0x3f')]()[_0x2e09('0x12')](_0x5241b3=>_0x2a1516[_0x2e09('0x9e')](_0x2772f3=>_0x2772f3[_0x2e09('0xa4')](_0x5241b3,!0x0))))for(const _0x564fb6 of _0x410256[_0x2e09('0x44')]())_0x564fb6[_0x2e09('0xb')]&&(_0x564fb6[_0x2e09('0x85')](),_0x8f5e43=!0x0);}}return _0x8f5e43;}),_0x13e67b['model'][_0x2e09('0x72')][_0x2e09('0x2c')](_0xde787=>{const _0x1051fa=_0x13e67b['commands']['get'](_0x2e09('0x2e'));if(!_0x1051fa||!_0x1051fa['_createdBatches'][_0x2e09('0x98')](_0xde787['batch']))return!0x1;let _0x126755=!0x1;const _0x1052a6=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x28'))['me'],_0x69779f=_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')][_0x2e09('0x2f')][_0x2e09('0x25')](),_0x3ce506=Array[_0x2e09('0x74')](_0x13e67b['model']['document']['differ'][_0x2e09('0x4f')]())[_0x2e09('0x56')](({name:_0x3fec40,data:_0x12fd0d})=>{const {group:_0x2a02f2,subType:_0x31808d,authorId:_0x3de719}=_0xbf8c50[_0x2e09('0x95')](_0x3fec40);return _0x2e09('0x17')==_0x2a02f2&&_0x2e09('0x42')==_0x31808d&&_0x3de719==_0x1052a6['id']&&!_0x12fd0d[_0x2e09('0x30')];});for(const _0x2e99a1 of _0x69779f){if(_0x2e09('0x89')!=_0x2e99a1[_0x2e09('0x66')]||_0x2e09('0x2a')!=_0x2e99a1[_0x2e09('0x6a')]||0x1!=_0x2e99a1[_0x2e09('0x7a')])continue;const _0x4b6d74=_0xde787[_0x2e09('0x5a')](_0x2e99a1[_0x2e09('0x9f')],_0x2e99a1['position'][_0x2e09('0x94')](0x1));if(!_0x3ce506[_0x2e09('0x4c')](({data:_0x51c605})=>_0x51c605['newRange'][_0x2e09('0x43')](_0x4b6d74)))for(const {name:_0x186af6,data:_0x6bd954}of _0x3ce506)if(_0x4b6d74['containsRange'](_0x6bd954[_0x2e09('0x22')])){_0xde787[_0x2e09('0x5f')](_0x186af6,{'range':_0x4b6d74}),_0x126755=!0x0;break;}}return _0x126755;}),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')]['registerPostFixer'](_0x40b428=>{let _0x13b5d0=!0x1;const _0x532e60=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x28'))['me'],_0xc74a0=_0xbf8c50[_0x2e09('0x15')]()[_0x2e09('0x56')](_0x58179c=>_0x58179c[_0x2e09('0xb')]&&_0x58179c[_0x2e09('0x82')]==_0x532e60),_0x3404b3=new Set(),_0x2704d4=new Set();for(const _0x33d6b8 of _0xc74a0)if(_0x2e09('0x42')==_0x33d6b8[_0x2e09('0x51')])for(const _0x5db1e0 of _0x33d6b8[_0x2e09('0x67')]()){const _0x18fda0=_0x5db1e0['getRange']()[_0x2e09('0x49')]();if(_0x18fda0){if(_0x18fda0['is'](_0x2e09('0x8a'),_0x2e09('0x2a'))&&ce(_0x18fda0)){_0x33d6b8[_0x2e09('0x86')](_0x5db1e0[_0x2e09('0x6a')]),_0x3404b3['add'](_0x18fda0),_0x13b5d0=!0x0;const _0x47266d=_0x18fda0['nextSibling'],_0x56ec9f=_0x18fda0['previousSibling'],_0x1daab1=_0x47266d&&_0x47266d['is'](_0x2e09('0x8a'),'tableCellSuggestion'),_0xecb93d=_0x56ec9f&&_0x56ec9f['is'](_0x2e09('0x8a'),_0x2e09('0x2a'));_0x1daab1&&!_0x3404b3[_0x2e09('0x98')](_0x47266d)&&_0x2704d4[_0x2e09('0x87')](_0x47266d),_0xecb93d&&!_0x3404b3['has'](_0x56ec9f)&&_0x2704d4[_0x2e09('0x87')](_0x56ec9f);}else _0x18fda0['is'](_0x2e09('0x8a'),_0x2e09('0x78'))&&_0x18fda0[_0x2e09('0x5')]&&(_0x33d6b8['removeMarker'](_0x5db1e0['name']),_0x13b5d0=!0x0);}}else{if(_0x2e09('0x60')==_0x33d6b8[_0x2e09('0x51')]){if(!_0x33d6b8[_0x2e09('0x19')]||!_0x33d6b8[_0x2e09('0x19')]['tablePasteChainId'])continue;const _0x4ac6e8=_0x33d6b8['attributes'][_0x2e09('0xc')];if(_0x4ac6e8&&Object[_0x2e09('0x1e')](_0x4ac6e8)[_0x2e09('0x7a')])continue;const _0x2c8d74=_0x33d6b8[_0x2e09('0x19')][_0x2e09('0xa')];let _0x10c04a=!0x0,_0x26192a=!0x0;for(const _0x5af920 of _0xc74a0)if(_0x5af920[_0x2e09('0x51')]&&_0x5af920[_0x2e09('0x51')]['startsWith'](_0x2e09('0x42'))){if(!_0x5af920[_0x2e09('0x19')]['tablePasteChainId']){_0x26192a=!0x1;break;}if(_0x5af920['id']!=_0x33d6b8['id']&&_0x5af920[_0x2e09('0x19')]['tablePasteChainId']==_0x2c8d74){_0x10c04a=!0x1;break;}}_0x26192a&&_0x10c04a&&(_0x33d6b8[_0x2e09('0x3d')](),_0x13b5d0=!0x0);}}for(const _0x24549d of _0x3404b3)_0x40b428[_0x2e09('0x4b')](_0x24549d);for(const _0x400d40 of _0x2704d4)_0x40b428[_0x2e09('0x13')](_0x400d40);return _0x13b5d0;}),_0x13e67b[_0x2e09('0x6b')][_0x2e09('0x52')](_0x2e09('0x27'))[_0x2e09('0x7c')]({'model':_0x2e09('0x18'),'view':(_0x2b6416,_0x54773c)=>_0x2bf0bb(_0x2b6416),'converterPriority':'high'}),_0x13e67b[_0x2e09('0x6b')][_0x2e09('0x52')](_0x2e09('0x6e'))[_0x2e09('0x7c')]({'model':_0x2e09('0x18'),'view':(_0x991f1c,_0xfe67c8)=>_0xfe67c8[_0x2e09('0x4d')][_0x2e09('0x46')]?_0x2bf0bb(_0x991f1c,!0x1):null,'converterPriority':_0x2e09('0x9a')});const _0x4b192f=_0x13e67b[_0x2e09('0x7b')][_0x2e09('0x6c')];this[_0x2e09('0x1b')](_0x4b192f[_0x2e09('0x72')],_0x2e09('0x16'),(_0x272d9f,_0x1815fa)=>{const _0x17388d=[];for(const _0x2f9464 of _0x4b192f[_0x2e09('0x23')](_0x1815fa['content'])['getItems']())_0x2f9464['is'](_0x2e09('0x8a'),'suggestion-td')&&_0x17388d[_0x2e09('0x55')](_0x2f9464);_0x4b192f[_0x2e09('0x76')](_0x45cca8=>{for(const _0x4e9156 of _0x17388d)_0x45cca8[_0x2e09('0x40')](_0x45cca8[_0x2e09('0x23')](_0x4e9156),_0x45cca8['createPositionBefore'](_0x4e9156)),_0x45cca8['remove'](_0x4e9156);});});}}function ce(_0x3dd8cc){if(_0x3dd8cc[_0x2e09('0x5')])return!0x0;const _0x20957f=_0x3dd8cc[_0x2e09('0x34')](0x0);return _0x20957f['is']('element','paragraph')&&_0x20957f['isEmpty'];}function fe(_0x1ee9fb,_0x47e2f8={},_0x588558){for(const {isAnchor:_0x2dad17,cellHeight:_0x214c5b,cellWidth:_0x944a8e}of _0x588558[_0x2e09('0x29')](_0x1ee9fb,{'includeAllSlots':!0x0,..._0x47e2f8}))if(!_0x2dad17||0x1!=_0x214c5b||0x1!=_0x944a8e)return!0x1;return!0x0;}
23
+ const _0x29f1=['model','start','registerPostFixer','registerDescriptionCallback','root','getAttributes','getSelectionAffectedTableCells','activeMarkers','cell','table','move','removeMarker','tablePaste','getContainedElement','*Replace\x20table\x20cells*','rootName','element','fromEntries','stop','_createdBatches','columnInsertionRanges','unwrap','clipboardOutput','last','isInContent','type','remove','differ','add','for','every','getChildren','TableClipboard','editingDowncast','subType','removeRows','paragraph','attributes','getRowIndexes','from','has','author','markerName','previous','deletion','length','position','editing','map','entries','fill','findAncestor','find','selection','tableCellSuggestion','_tablePostFixingSubtypes','getMarkers','_getCoordsForCells','tablePasteRow','_splitMarkerName','markerAttributes','tableCell','return','some','view','tableCellBorderWidth','ck-suggestion-marker--active','_descriptionFactory','createElement','insertColumns','accept','suggestionUnloaded','includes','editor','tablePasteChainId','insertionRanges','value','getAllAdjacentSuggestions','first','low','oldRange','end','getRanges','row','getSuggestionCallback','change','endRow','suggestion:formatBlock:tablePasteCell','startsWith','tableCellBorderStyle','reduce','keys','batch','rows','insert','dataDowncast','set','join','markMultiRangeBlockFormat','markMultiRangeInsertion','getColumns','getChangedMarkers','ck-suggestion-marker-insertion','deletionRanges','createRangeOn','_suggestionFactory','containsRange','nodeAfter','suggestionLoaded','Users','high','trackChanges','cells','getItems','discard','createTableWalker','wrap','insertContent','plugins','name','newRange','columns','schema','TableUtils','createRangeIn','forceDefaultExecution','getRange','ck-suggestion-marker','_isForcedDefaultExecutionBlock','tablePasteCell','formatBlock','documentSelection','rowInsertionIndexes','removeMarkers','getTableIfOnlyTableInContent','setAttributes','conversion','isEqual','registerCustomCallback','suggestion','locale','markerToHighlight','_replaceTableSlotCell','tableCellBorderColor','tablePasteColumn','tableCellHorizontalAlignment','insertion','markers','rowInsertionRanges','listenTo','suggestion-td','getSuggestions','get','isEmpty','commands','columnInsertionIndexes','getShiftedBy','hasSuggestion','markMultiRangeDeletion','createPositionBefore','push','document','filter'];(function(_0x3b7fd6,_0x29f106){const _0x105f98=function(_0x8a9aac){while(--_0x8a9aac){_0x3b7fd6['push'](_0x3b7fd6['shift']());}};_0x105f98(++_0x29f106);}(_0x29f1,0x15e));const _0x105f=function(_0x3b7fd6,_0x29f106){_0x3b7fd6=_0x3b7fd6-0x0;let _0x105f98=_0x29f1[_0x3b7fd6];return _0x105f98;};import{getTranslation as _0x168430}from'../utils/common-translations';import{Plugin as _0x1f80dd}from'ckeditor5/src/core';import{uid as _0x574b1e,priorities as _0x57aa24}from'ckeditor5/src/utils';import _0x2628de from'./table';const le=[_0x105f('0x29'),_0x105f('0x77'),_0x105f('0x41'),_0x105f('0x79'),'tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x105f('0x9c')](le[_0x105f('0x18')](_0x2c5df8=>[_0x2c5df8,null]));export default class kt extends _0x1f80dd{static get['requires'](){return[_0x2628de];}['afterInit'](){const _0xb5b594=this[_0x105f('0x31')];if(!_0xb5b594[_0x105f('0x5e')]['has'](_0x105f('0x8')))return;const _0x5be372=_0xb5b594[_0x105f('0x5e')]['get']('TrackChangesEditing'),_0x2091af=_0xb5b594[_0x105f('0x5e')]['get'](_0x105f('0x63')),_0x3a3cc2=_0xb5b594[_0x105f('0x5e')]['get'](_0x2628de),_0x2d06f6=_0xb5b594[_0x105f('0x5e')][_0x105f('0x80')](_0x105f('0x8'));_0x3a3cc2[_0x105f('0x1f')][_0x105f('0x88')](_0x105f('0x22'),_0x105f('0x78')),_0xb5b594['model'][_0x105f('0x62')]['register'](_0x105f('0x1e'),{'allowIn':_0x105f('0x25'),'allowContentOf':'tableCell','isLimit':!0x0}),_0xb5b594[_0x105f('0x70')]['elementToElement']({'model':_0x105f('0x1e'),'view':'suggestion-td'});let _0x261c23=null;_0xb5b594[_0x105f('0x8b')]['on'](_0x105f('0x5d'),(_0x407d4d,_0x3a66d1)=>{const [_0x509e2a,_0xb6a843]=_0x3a66d1,_0x29259f=_0x3a66d1[_0x3a66d1[_0x105f('0x15')]-0x1];_0x29259f&&_0x29259f[_0x105f('0x65')]||_0x5be372[_0x105f('0x68')]||this[_0x105f('0x31')][_0x105f('0x82')][_0x105f('0x80')](_0x105f('0x57'))[_0x105f('0x34')]&&function(_0x534dc2,_0x1085b6,_0x55391b,_0x397c8a,_0x5b3db8){if(_0x1085b6&&!_0x1085b6['is'](_0x105f('0x6b')))return!0x1;const _0x760a0a=_0x5b3db8[_0x105f('0x6e')](_0x534dc2,_0x55391b);if(!_0x760a0a||!fe(_0x760a0a,void 0x0,_0x397c8a))return!0x1;const _0x4d56d4=_0x397c8a[_0x105f('0x91')](_0x55391b[_0x105f('0x89')][_0x105f('0x1d')]);if(!_0x4d56d4[_0x105f('0x15')])return!0x1;const _0x4e0943=_0x4d56d4[0x0][_0x105f('0x1b')]('table'),_0x1ab529=_0x397c8a[_0x105f('0xe')](_0x4d56d4),_0x2c2a3c=_0x397c8a['getColumnIndexes'](_0x4d56d4),_0x13c337={'startRow':_0x1ab529[_0x105f('0x36')],'endRow':_0x1ab529[_0x105f('0xa2')],'startColumn':_0x2c2a3c['first'],'endColumn':_0x2c2a3c['last']};return 0x1==_0x4d56d4[_0x105f('0x15')]&&(_0x13c337[_0x105f('0x3e')]+=_0x397c8a['getRows'](_0x760a0a)-0x1,_0x13c337['endColumn']+=_0x397c8a[_0x105f('0x4c')](_0x760a0a)-0x1),fe(_0x4e0943,_0x13c337,_0x397c8a);}(_0x509e2a,_0xb6a843,_0xb5b594['model'],_0x2091af,_0x2d06f6)&&(_0x407d4d[_0x105f('0x9d')](),_0x261c23={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xb5b594[_0x105f('0x8b')]['change'](()=>{_0xb5b594['model'][_0x105f('0x5d')](_0x3a66d1[0x0],_0x3a66d1[0x1],_0x3a66d1[0x2],{'forceDefaultExecution':!0x0});const _0x2c6b31=_0x574b1e(),{rowInsertionRanges:_0xb06287,columnInsertionRanges:_0x2e4ef7,insertionRanges:_0x46b87f,deletionRanges:_0x30d869,cells:_0x3e5eef}=_0x261c23;_0xb06287[_0x105f('0x15')]&&_0x5be372[_0x105f('0x4b')](_0xb06287,'tablePasteRow',{'tablePasteChainId':_0x2c6b31}),_0x2e4ef7['length']&&_0x5be372[_0x105f('0x4b')](_0x2e4ef7,_0x105f('0x78'),{'tablePasteChainId':_0x2c6b31}),_0x46b87f[_0x105f('0x15')]&&_0x5be372[_0x105f('0x4b')](_0x46b87f,_0x105f('0x97'),{'tablePasteChainId':_0x2c6b31,'skipNestingCheck':!0x0}),_0x30d869[_0x105f('0x15')]&&_0x5be372[_0x105f('0x86')](_0x30d869,_0x105f('0x97'),{'tablePasteChainId':_0x2c6b31,'skipNestingCheck':!0x0});const _0x10571f=_0x5be372[_0x105f('0x4a')](_0x3e5eef[_0x105f('0x18')](({element:_0x313d78})=>_0x313d78),{'formatGroupId':_0x574b1e()},[],_0x105f('0x69'),{'tablePasteChainId':_0x2c6b31});if(_0x10571f){const _0x1d6f60=_0x10571f[_0x105f('0x20')](),_0x5e04c8=[];for(const {element:_0x3a26e2,attributes:_0x28790e}of _0x3e5eef){if(!_0x28790e)continue;const _0x1870e7=_0xb5b594[_0x105f('0x8b')][_0x105f('0x50')](_0x3a26e2),_0x23a905=_0x1d6f60[_0x105f('0x1c')](_0x1d03a5=>_0x1d03a5[_0x105f('0x66')]()[_0x105f('0x71')](_0x1870e7));_0x23a905&&_0x5e04c8[_0x105f('0x88')]([_0x23a905['name'],_0x28790e]);}_0x5e04c8[_0x105f('0x15')]&&_0x10571f['setAttribute']('markerAttributes',Object[_0x105f('0x9c')](_0x5e04c8));}_0x261c23=null;}));},{'priority':_0x57aa24[_0x105f('0x56')]+0xa}),_0xb5b594[_0x105f('0x5e')][_0x105f('0x80')]('TableClipboard')['on'](_0x105f('0x76'),(_0x3142c8,_0x363a2f)=>{const [_0x51d1fb,_0x4e5bf4,,_0x33ed09]=_0x363a2f;if(!_0x261c23)return;_0x3142c8[_0x105f('0x9d')]();const _0x4d3d33=_0x51d1fb[_0x105f('0x93')],_0x544510=_0x4e5bf4,_0x111f03=ce(_0x4d3d33),_0x6b3650=ce(_0x544510);_0x3142c8[_0x105f('0x26')]=_0x4d3d33;let _0x2482e9=null,_0x205990=null;if(_0x6b3650||_0x111f03){if(_0x111f03&&!_0x6b3650){_0x33ed09[_0x105f('0x2')](_0x4d3d33['getChild'](0x0));for(const _0x5dc918 of Array[_0x105f('0xf')](_0x544510[_0x105f('0x7')]()))_0x33ed09[_0x105f('0x46')](_0x5dc918,_0x4d3d33,_0x105f('0x39'));const _0x1199e1=_0x261c23[_0x105f('0x6c')][_0x105f('0x30')](_0x51d1fb[_0x105f('0x3b')]),_0x17f479=_0x261c23['columnInsertionIndexes'][_0x105f('0x30')](_0x51d1fb['column']);_0x1199e1||_0x17f479||(_0x2482e9=_0x33ed09[_0x105f('0x64')](_0x4d3d33));}else _0x6b3650&&!_0x111f03&&(_0x205990=_0x33ed09[_0x105f('0x64')](_0x4d3d33));}else{const _0x197205=_0x33ed09[_0x105f('0x2c')](_0x105f('0x1e')),_0xdfe4d7=_0x33ed09[_0x105f('0x2c')](_0x105f('0x1e'));_0x33ed09[_0x105f('0x5c')](_0x33ed09['createRangeIn'](_0x4d3d33),_0xdfe4d7),_0x33ed09[_0x105f('0x46')](_0x197205,_0x4d3d33,0x0);for(const _0x5d61e6 of Array[_0x105f('0xf')](_0x544510[_0x105f('0x7')]()))_0x33ed09[_0x105f('0x46')](_0x5d61e6,_0x197205,_0x105f('0x39'));_0x2482e9=_0x33ed09[_0x105f('0x50')](_0x197205),_0x205990=_0x33ed09['createRangeOn'](_0xdfe4d7);}const _0x4506a3=Array[_0x105f('0xf')](_0x544510[_0x105f('0x90')]())[_0x105f('0x8a')](([_0x59456f])=>le['includes'](_0x59456f));_0x261c23[_0x105f('0x58')][_0x105f('0x88')]({'element':_0x4d3d33,'attributes':_0x4506a3[_0x105f('0x15')]?Object['fromEntries'](_0x4506a3):null}),_0x2482e9&&_0x261c23[_0x105f('0x33')][_0x105f('0x88')](_0x2482e9),_0x205990&&_0x261c23[_0x105f('0x4f')][_0x105f('0x88')](_0x205990);},{'priority':_0x105f('0x56')}),_0x2091af['on'](_0x105f('0x2d'),(_0x580985,_0x27d02a)=>{const [_0x471513,_0x2319a0={}]=_0x27d02a;if(!_0x261c23)return;const _0x4d53ff=_0x2319a0['at']||0x0,_0x5956e5=_0x2319a0[_0x105f('0x61')]||0x1;_0x261c23[_0x105f('0x83')]=new Array(_0x5956e5)[_0x105f('0x1a')](_0x4d53ff)[_0x105f('0x18')]((_0x5386ff,_0x14ee0d)=>_0x5386ff+_0x14ee0d);for(const {cell:_0xaa9453}of _0x2091af['createTableWalker'](_0x471513,{'startColumn':_0x4d53ff,'endColumn':_0x4d53ff+_0x5956e5-0x1}))_0x261c23[_0x105f('0x9f')][_0x105f('0x88')](_0xb5b594[_0x105f('0x8b')][_0x105f('0x50')](_0xaa9453));},{'priority':_0x105f('0x37')}),_0x2091af['on']('insertRows',(_0x31bea0,_0xcbd517)=>{const [_0x4c907a,_0xfa6da5={}]=_0xcbd517;if(!_0x261c23)return;const _0x36a518=_0xfa6da5['at']||0x0,_0x244ef0=_0xfa6da5[_0x105f('0x45')]||0x1;_0x261c23['rowInsertionIndexes']=new Array(_0x244ef0)[_0x105f('0x1a')](_0x36a518)[_0x105f('0x18')]((_0x21a83e,_0x131954)=>_0x21a83e+_0x131954);for(const {cell:_0x32bab3}of _0x2091af['createTableWalker'](_0x4c907a,{'startRow':_0x36a518,'endRow':_0x36a518+_0x244ef0-0x1}))_0x261c23[_0x105f('0x7c')][_0x105f('0x88')](_0xb5b594[_0x105f('0x8b')][_0x105f('0x50')](_0x32bab3));},{'priority':'low'}),_0x5be372[_0x105f('0x2b')][_0x105f('0x8e')](_0x2b23ac=>{if(_0x2b23ac[_0x105f('0xa')]&&_0x2b23ac[_0x105f('0xa')][_0x105f('0x40')](_0x105f('0x97')))return _0x2b23ac[_0x105f('0x13')]?{}:{'type':_0x105f('0x7a'),'content':_0x168430(_0xb5b594[_0x105f('0x74')],_0x105f('0x99'))};});const _0x49d6d7=()=>{};for(const _0x41f2e1 of['tablePaste',_0x105f('0x78'),_0x105f('0x22'),_0x105f('0x69')])_0x5be372[_0x105f('0x51')]['registerCustomCallback'](_0x105f('0x7a'),_0x41f2e1,_0x105f('0x49'),_0x49d6d7),_0x5be372[_0x105f('0x51')][_0x105f('0x72')](_0x105f('0x14'),_0x41f2e1,_0x105f('0x49'),_0x49d6d7);_0x5be372[_0x105f('0x51')][_0x105f('0x72')](_0x105f('0x6a'),_0x105f('0x69'),_0x105f('0x5a'),_0x49d6d7),_0x5be372[_0x105f('0x51')][_0x105f('0x72')]('formatBlock','tablePasteCell',_0x105f('0x2e'),(_0x11bc4e,_0x1cc436,_0x2fdbbb)=>{const _0x3b45fc=_0x11bc4e[_0x105f('0x18')](_0x41e596=>_0x41e596[_0x105f('0x98')]())[_0x105f('0x8a')](_0x2546a3=>_0x2546a3),_0x4756a3=new Map(_0x3b45fc[_0x105f('0x18')](_0x1e295a=>[_0x1e295a,null]));if(_0x261c23)for(const {element:_0x25d8a0,attributes:_0x4cb4d8}of _0x261c23[_0x105f('0x58')])_0x4cb4d8&&_0x4756a3[_0x105f('0x48')](_0x25d8a0,_0x4cb4d8);else{if(_0x2fdbbb&&_0x2fdbbb[_0x105f('0x24')])for(const [_0x44bc2c,_0x1dcc64]of Object[_0x105f('0x19')](_0x2fdbbb['markerAttributes'])){const _0x41989c=_0xb5b594[_0x105f('0x8b')][_0x105f('0x7b')][_0x105f('0x80')](_0x44bc2c),_0x50f018=_0x41989c?_0x41989c['getRange']()[_0x105f('0x98')]():null;_0x50f018&&_0x4756a3['set'](_0x50f018,_0x1dcc64);}}_0xb5b594['model'][_0x105f('0x3d')](_0x556b53=>{for(const [_0x2c39f9,_0x5572c3]of _0x4756a3)_0x556b53[_0x105f('0x6f')]({...ae,..._0x5572c3},_0x2c39f9);});});const _0x3764da=(_0x66aa6c,_0xb31a6f)=>{_0x5be372[_0x105f('0x51')][_0x105f('0x72')](_0x66aa6c,_0x105f('0x97'),_0xb31a6f,(_0x19c280,_0x5f49ca,_0x295bb1)=>{_0xb5b594[_0x105f('0x8b')][_0x105f('0x3d')](_0x69f042=>{const _0xbe6a8=[];for(const _0x19054c of _0x19c280){const _0x189580=_0x19054c[_0x105f('0x8c')][_0x105f('0x53')];_0x189580['is']('element',_0x105f('0x1e'))&&_0xbe6a8[_0x105f('0x88')](_0x189580);}_0x5be372['_suggestionFactory'][_0x105f('0x3c')](_0x66aa6c,null,_0xb31a6f)(_0x19c280,_0x5f49ca,_0x295bb1);for(const _0x45ea1a of _0xbe6a8)'$graveyard'!=_0x45ea1a[_0x105f('0x8f')][_0x105f('0x9a')]&&_0x69f042['unwrap'](_0x45ea1a);});});};_0x3764da(_0x105f('0x7a'),_0x105f('0x2e')),_0x3764da(_0x105f('0x7a'),'discard'),_0x3764da('deletion',_0x105f('0x2e')),_0x3764da(_0x105f('0x14'),'discard'),_0x5be372[_0x105f('0x51')]['registerCustomCallback'](_0x105f('0x7a'),_0x105f('0x22'),_0x105f('0x5a'),_0x30ebb0=>{const _0x1644ca=_0x30ebb0[_0x105f('0x18')](_0x52328c=>_0x52328c[_0x105f('0x98')]()),_0x275ebb=_0x1644ca[0x0][_0x105f('0x1b')](_0x105f('0x94')),{minRow:_0xcb77d5,maxRow:_0x466678}=_0x3a3cc2[_0x105f('0x21')](_0x1644ca);_0x2091af[_0x105f('0xb')](_0x275ebb,{'at':_0xcb77d5,'rows':_0x466678-_0xcb77d5+0x1});}),_0x5be372['_suggestionFactory']['registerCustomCallback']('insertion',_0x105f('0x78'),_0x105f('0x5a'),_0x1a1290=>{const _0x43dfed=_0x1a1290[_0x105f('0x18')](_0x486d9c=>_0x486d9c['getContainedElement']()),_0x11ad87=_0x43dfed[0x0][_0x105f('0x1b')](_0x105f('0x94')),{minColumn:_0x5d9139,maxColumn:_0xff469a}=_0x3a3cc2['_getCoordsForCells'](_0x43dfed);_0x2091af['removeColumns'](_0x11ad87,{'at':_0x5d9139,'columns':_0xff469a-_0x5d9139+0x1});});const _0x3ec71b=(_0x139b52,_0x8d2d53)=>{if(!_0x8d2d53[_0x105f('0xa')]||!_0x8d2d53[_0x105f('0xa')]['startsWith'](_0x105f('0x97')))return;const _0x4ef28a=_0x8d2d53[_0x105f('0xd')][_0x105f('0x32')],_0x58832e=_0x5be372[_0x105f('0x7f')]()[_0x105f('0x8a')](_0x538c46=>_0x538c46[_0x105f('0x0')]&&_0x538c46[_0x105f('0xd')]&&_0x538c46[_0x105f('0xd')][_0x105f('0x32')]==_0x4ef28a);_0x58832e[_0x105f('0x15')]&&_0x8d2d53['getAllAdjacentSuggestions']()[_0x105f('0x15')]!=_0x58832e[_0x105f('0x15')]&&_0x58832e[_0x105f('0x42')]((_0x4e7891,_0x4309b4)=>(_0x4e7891['next']=_0x4309b4,_0x4309b4['previous']=_0x4e7891,_0x4309b4));};function _0x4990d7(_0x3ae3d0,_0x5c4a08=!0x0){const {id:_0x3e93a8}=_0x5be372[_0x105f('0x23')](_0x3ae3d0[_0x105f('0x12')]),_0x294b64=[_0x105f('0x67'),_0x105f('0x4e')],_0x242576=_0x5be372[_0x105f('0x92')][_0x105f('0x30')](_0x3ae3d0[_0x105f('0x12')]);return _0x242576&&_0x294b64[_0x105f('0x88')](_0x105f('0x2a')),{'classes':_0x294b64,'attributes':{'data-suggestion':_0x3e93a8},'priority':_0x242576&&_0x5c4a08?0xbc2:0xbb8};}_0x5be372['on'](_0x105f('0x54'),_0x3ec71b,{'priority':'high'}),_0x5be372['on'](_0x105f('0x2f'),_0x3ec71b,{'priority':'high'}),_0xb5b594['model'][_0x105f('0x89')]['registerPostFixer'](()=>{let _0x55266c=!0x1;const _0x126d44=Array['from'](_0xb5b594['model'][_0x105f('0x89')][_0x105f('0x3')][_0x105f('0x4d')]());for(const {name:_0x11cfeb,data:_0xaf6a2a}of _0x126d44){const {group:_0x1aa340,type:_0x2368f2,id:_0x2e9059}=_0x5be372['_splitMarkerName'](_0x11cfeb);if(_0x105f('0x73')!=_0x1aa340||_0x105f('0x14')!=_0x2368f2||_0xaf6a2a[_0x105f('0x38')])continue;if(!_0x5be372[_0x105f('0x85')](_0x2e9059))continue;const _0x131af0=_0x5be372['getSuggestion'](_0x2e9059)[_0x105f('0x3a')](),_0x2b1fd3=_0xb5b594['plugins'][_0x105f('0x80')](_0x105f('0x55'))['me'];for(const _0x245fd2 of _0x5be372[_0x105f('0x7f')]()){if(!_0x245fd2['isInContent']||_0x245fd2['author']!=_0x2b1fd3)continue;if(_0x105f('0x6a')!=_0x245fd2[_0x105f('0x1')]||_0x105f('0x69')!=_0x245fd2['subType'])continue;if(_0x245fd2[_0x105f('0x3a')]()[_0x105f('0x6')](_0x35e7c9=>_0x131af0[_0x105f('0x27')](_0x43e38a=>_0x43e38a[_0x105f('0x52')](_0x35e7c9,!0x0))))for(const _0x4d04f5 of _0x245fd2[_0x105f('0x35')]())_0x4d04f5['isInContent']&&(_0x4d04f5[_0x105f('0x5a')](),_0x55266c=!0x0);}}return _0x55266c;}),_0xb5b594[_0x105f('0x8b')][_0x105f('0x89')][_0x105f('0x8d')](_0x5bd719=>{const _0x163272=_0xb5b594['commands']['get']('redo');if(!_0x163272||!_0x163272[_0x105f('0x9e')]['has'](_0x5bd719[_0x105f('0x44')]))return!0x1;let _0x10e4ae=!0x1;const _0xa2eb79=_0xb5b594[_0x105f('0x5e')][_0x105f('0x80')](_0x105f('0x55'))['me'],_0xf6fee3=_0xb5b594[_0x105f('0x8b')][_0x105f('0x89')][_0x105f('0x3')]['getChanges'](),_0x3b24b0=Array[_0x105f('0xf')](_0xb5b594['model']['document'][_0x105f('0x3')][_0x105f('0x4d')]())[_0x105f('0x8a')](({name:_0x113fe4,data:_0x5c59d8})=>{const {group:_0x43868f,subType:_0x48e1d5,authorId:_0x3188e2}=_0x5be372[_0x105f('0x23')](_0x113fe4);return _0x105f('0x73')==_0x43868f&&'tablePaste'==_0x48e1d5&&_0x3188e2==_0xa2eb79['id']&&!_0x5c59d8[_0x105f('0x38')];});for(const _0xb0eb12 of _0xf6fee3){if(_0x105f('0x46')!=_0xb0eb12[_0x105f('0x1')]||_0x105f('0x1e')!=_0xb0eb12[_0x105f('0x5f')]||0x1!=_0xb0eb12[_0x105f('0x15')])continue;const _0x4dc49d=_0x5bd719['createRange'](_0xb0eb12[_0x105f('0x16')],_0xb0eb12[_0x105f('0x16')][_0x105f('0x84')](0x1));if(!_0x3b24b0[_0x105f('0x1c')](({data:_0x37d0b6})=>_0x37d0b6[_0x105f('0x60')][_0x105f('0x71')](_0x4dc49d)))for(const {name:_0x38f311,data:_0x2a0f9b}of _0x3b24b0)if(_0x4dc49d['containsRange'](_0x2a0f9b['newRange'])){_0x5bd719['updateMarker'](_0x38f311,{'range':_0x4dc49d}),_0x10e4ae=!0x0;break;}}return _0x10e4ae;}),_0xb5b594[_0x105f('0x8b')][_0x105f('0x89')][_0x105f('0x8d')](_0xc2131=>{let _0x972fd4=!0x1;const _0x5c83dd=_0xb5b594[_0x105f('0x5e')]['get']('Users')['me'],_0x1b8913=_0x5be372['getSuggestions']()[_0x105f('0x8a')](_0x5afdb0=>_0x5afdb0['isInContent']&&_0x5afdb0[_0x105f('0x11')]==_0x5c83dd),_0x36f0a2=new Set(),_0x314f9e=new Set();for(const _0x17abe3 of _0x1b8913)if(_0x105f('0x97')==_0x17abe3[_0x105f('0xa')])for(const _0x5bcd1e of _0x17abe3[_0x105f('0x20')]()){const _0x164c3a=_0x5bcd1e[_0x105f('0x66')]()[_0x105f('0x98')]();if(_0x164c3a){if(_0x164c3a['is']('element',_0x105f('0x1e'))&&ce(_0x164c3a)){_0x17abe3[_0x105f('0x96')](_0x5bcd1e['name']),_0x36f0a2[_0x105f('0x4')](_0x164c3a),_0x972fd4=!0x0;const _0x433227=_0x164c3a['nextSibling'],_0x2b64cc=_0x164c3a['previousSibling'],_0x15b7ee=_0x433227&&_0x433227['is'](_0x105f('0x9b'),_0x105f('0x1e')),_0x161c53=_0x2b64cc&&_0x2b64cc['is'](_0x105f('0x9b'),_0x105f('0x1e'));_0x15b7ee&&!_0x36f0a2[_0x105f('0x10')](_0x433227)&&_0x314f9e[_0x105f('0x4')](_0x433227),_0x161c53&&!_0x36f0a2['has'](_0x2b64cc)&&_0x314f9e[_0x105f('0x4')](_0x2b64cc);}else _0x164c3a['is']('element','paragraph')&&_0x164c3a[_0x105f('0x81')]&&(_0x17abe3['removeMarker'](_0x5bcd1e[_0x105f('0x5f')]),_0x972fd4=!0x0);}}else{if(_0x105f('0x69')==_0x17abe3[_0x105f('0xa')]){if(!_0x17abe3['attributes']||!_0x17abe3[_0x105f('0xd')]['tablePasteChainId'])continue;const _0x3885d0=_0x17abe3[_0x105f('0xd')][_0x105f('0x24')];if(_0x3885d0&&Object[_0x105f('0x43')](_0x3885d0)[_0x105f('0x15')])continue;const _0x42da3a=_0x17abe3[_0x105f('0xd')][_0x105f('0x32')];let _0x2ae9e3=!0x0,_0x489bc6=!0x0;for(const _0x58881b of _0x1b8913)if(_0x58881b[_0x105f('0xa')]&&_0x58881b[_0x105f('0xa')][_0x105f('0x40')](_0x105f('0x97'))){if(!_0x58881b[_0x105f('0xd')][_0x105f('0x32')]){_0x489bc6=!0x1;break;}if(_0x58881b['id']!=_0x17abe3['id']&&_0x58881b[_0x105f('0xd')][_0x105f('0x32')]==_0x42da3a){_0x2ae9e3=!0x1;break;}}_0x489bc6&&_0x2ae9e3&&(_0x17abe3[_0x105f('0x6d')](),_0x972fd4=!0x0);}}for(const _0x4da11f of _0x36f0a2)_0xc2131[_0x105f('0x2')](_0x4da11f);for(const _0x380658 of _0x314f9e)_0xc2131[_0x105f('0xa0')](_0x380658);return _0x972fd4;}),_0xb5b594['conversion'][_0x105f('0x5')](_0x105f('0x9'))[_0x105f('0x75')]({'model':_0x105f('0x3f'),'view':(_0x5bf70e,_0x455d11)=>_0x4990d7(_0x5bf70e),'converterPriority':_0x105f('0x56')}),_0xb5b594['conversion'][_0x105f('0x5')](_0x105f('0x47'))[_0x105f('0x75')]({'model':_0x105f('0x3f'),'view':(_0x10ea7b,_0x157ff6)=>_0x157ff6['options']['showSuggestionHighlights']?_0x4990d7(_0x10ea7b,!0x1):null,'converterPriority':_0x105f('0x56')});const _0x5dd400=_0xb5b594[_0x105f('0x17')][_0x105f('0x28')];this[_0x105f('0x7d')](_0x5dd400[_0x105f('0x89')],_0x105f('0xa1'),(_0x1f789e,_0x59646d)=>{const _0x16c986=[];for(const _0x46361e of _0x5dd400[_0x105f('0x64')](_0x59646d['content'])[_0x105f('0x59')]())_0x46361e['is'](_0x105f('0x9b'),_0x105f('0x7e'))&&_0x16c986[_0x105f('0x88')](_0x46361e);_0x5dd400[_0x105f('0x3d')](_0x435441=>{for(const _0x246d8c of _0x16c986)_0x435441[_0x105f('0x95')](_0x435441[_0x105f('0x64')](_0x246d8c),_0x435441[_0x105f('0x87')](_0x246d8c)),_0x435441[_0x105f('0x2')](_0x246d8c);});});}}function ce(_0x4549aa){if(_0x4549aa['isEmpty'])return!0x0;const _0x5560e4=_0x4549aa['getChild'](0x0);return _0x5560e4['is']('element',_0x105f('0xc'))&&_0x5560e4[_0x105f('0x81')];}function fe(_0x15bcc7,_0x51fad5={},_0x9f7e8){for(const {isAnchor:_0x148190,cellHeight:_0x1261b5,cellWidth:_0x466035}of _0x9f7e8[_0x105f('0x5b')](_0x15bcc7,{'includeAllSlots':!0x0,..._0x51fad5}))if(!_0x148190||0x1!=_0x1261b5||0x1!=_0x466035)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58ec=['formatBlock','getContainedElement','getSelectedElement','bind','plugins','afterInit','Users','formatGroupId','change','handleSuggestionDescription','getColumnGroupElement','getSuggestions','has','subType','editor','*Format:*\x20resize\x20table','model','resizeTable','_suggestionFactory','data','accept','table','getAttribute','document','resizeColumnWidths','discard','enableCommand','format','commandParams','get','handleResizeTableWidthCommand','registerDescriptionCallback','registerCustomCallback','TableColumnResizeEditing','getSuggestionCallback','getTableColumnsWidths','resizeTableWidth','tableWidth','TrackChangesEditing','columnWidths'];(function(_0x4ffaaa,_0x58ecaa){const _0x16d267=function(_0x40ca3f){while(--_0x40ca3f){_0x4ffaaa['push'](_0x4ffaaa['shift']());}};_0x16d267(++_0x58ecaa);}(_0x58ec,0x1b4));const _0x16d2=function(_0x4ffaaa,_0x58ecaa){_0x4ffaaa=_0x4ffaaa-0x0;let _0x16d267=_0x58ec[_0x4ffaaa];return _0x16d267;};import{Plugin as _0xf72d11}from'ckeditor5/src/core';import{getTranslation as _0x5126df}from'../utils/common-translations';export default class wt extends _0xf72d11{[_0x16d2('0x9')](){if(!this[_0x16d2('0x12')]['plugins'][_0x16d2('0x10')]('TableColumnResizeEditing'))return;const _0x3f163d=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')](_0x16d2('0x2'));_0x3f163d[_0x16d2('0x1e')](_0x16d2('0x0'),this[_0x16d2('0x22')][_0x16d2('0x7')](this)),_0x3f163d[_0x16d2('0x1e')](_0x16d2('0x1c'),this[_0x16d2('0x22')]['bind'](this)),_0x3f163d[_0x16d2('0x16')][_0x16d2('0x24')](_0x16d2('0x4'),_0x16d2('0x15'),_0x16d2('0x18'),_0x3f163d['_suggestionFactory'][_0x16d2('0x26')](_0x16d2('0x4'),null,_0x16d2('0x1d'))),_0x3f163d['_suggestionFactory'][_0x16d2('0x24')](_0x16d2('0x4'),'resizeTable',_0x16d2('0x1d'),_0x3f163d['_suggestionFactory'][_0x16d2('0x26')](_0x16d2('0x4'),null,'accept')),_0x3f163d['_descriptionFactory'][_0x16d2('0x23')](this[_0x16d2('0xd')][_0x16d2('0x7')](this));}[_0x16d2('0x22')](_0x765c5c,_0x33d6d7){const _0x3eceea=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')]('TrackChangesEditing'),_0x5dbd0d=this['editor'][_0x16d2('0x8')]['get'](_0x16d2('0x25')),_0x523c7f=_0x33d6d7[_0x16d2('0x19')]||this[_0x16d2('0x12')][_0x16d2('0x14')][_0x16d2('0x1b')]['selection'][_0x16d2('0x6')]();this[_0x16d2('0x12')]['model'][_0x16d2('0xc')](()=>{const _0x4cf3b1=_0x5dbd0d[_0x16d2('0xe')](_0x523c7f);let _0x3b34b5=_0x4cf3b1?_0x5dbd0d[_0x16d2('0x27')](_0x4cf3b1):null,_0x3d5df2=_0x523c7f[_0x16d2('0x1a')](_0x16d2('0x1'))||null;const _0x14b024=_0x33d6d7[_0x16d2('0x1')]||_0x3d5df2,_0x15386f=_0x33d6d7[_0x16d2('0x3')]||_0x3b34b5,_0x352e3a=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')](_0x16d2('0xa'))['me'];for(const _0x4b6137 of _0x3eceea[_0x16d2('0xf')]()){const _0x4d7edb=_0x4b6137[_0x16d2('0x5')]();if('resizeTable'===_0x4b6137[_0x16d2('0x11')]&&_0x4d7edb===_0x523c7f){_0x4b6137['author']!==_0x352e3a&&_0x4b6137[_0x16d2('0x1d')]();const _0x39854b=_0x4b6137[_0x16d2('0x17')][_0x16d2('0x20')];_0x3d5df2=_0x39854b[0x0]['tableWidth'],_0x3b34b5=_0x39854b[0x0][_0x16d2('0x3')];break;}}_0x765c5c({'table':_0x523c7f,'tableWidth':_0x14b024,'columnWidths':_0x15386f}),_0x3eceea['markBlockFormat'](_0x523c7f,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x3d5df2,'columnWidths':_0x3b34b5}],'formatGroupId':_0x16d2('0x15')},[],'resizeTable');});}['handleSuggestionDescription'](_0x472d83){const {data:_0x594b97}=_0x472d83;if(_0x594b97&&_0x16d2('0x15')===_0x594b97[_0x16d2('0xb')]){const _0x436d3c=_0x16d2('0x13');return{'type':_0x16d2('0x1f'),'content':_0x5126df(this['editor']['locale'],_0x436d3c)};}}}
23
+ const _0x3fff=['discard','formatBlock','*Format:*\x20resize\x20table','resizeColumnWidths','_descriptionFactory','registerDescriptionCallback','getTableColumnsWidths','subType','getSuggestionCallback','markBlockFormat','selection','commandParams','TrackChangesEditing','has','columnWidths','plugins','resizeTableWidth','TableColumnResizeEditing','editor','formatGroupId','getAttribute','tableWidth','resizeTable','getSuggestions','locale','table','data','handleSuggestionDescription','author','bind','registerCustomCallback','Users','get','enableCommand','getColumnGroupElement','handleResizeTableWidthCommand','change','accept'];(function(_0x3c3320,_0x3fff3c){const _0x17a084=function(_0x33be22){while(--_0x33be22){_0x3c3320['push'](_0x3c3320['shift']());}};_0x17a084(++_0x3fff3c);}(_0x3fff,0x161));const _0x17a0=function(_0x3c3320,_0x3fff3c){_0x3c3320=_0x3c3320-0x0;let _0x17a084=_0x3fff[_0x3c3320];return _0x17a084;};import{Plugin as _0x37eb20}from'ckeditor5/src/core';import{getTranslation as _0x47c101}from'../utils/common-translations';export default class wt extends _0x37eb20{['afterInit'](){if(!this['editor'][_0x17a0('0x4')][_0x17a0('0x2')]('TableColumnResizeEditing'))return;const _0x4ba6f9=this[_0x17a0('0x7')]['plugins'][_0x17a0('0x15')](_0x17a0('0x1'));_0x4ba6f9[_0x17a0('0x16')]('resizeTableWidth',this[_0x17a0('0x18')]['bind'](this)),_0x4ba6f9[_0x17a0('0x16')](_0x17a0('0x1e'),this[_0x17a0('0x18')]['bind'](this)),_0x4ba6f9['_suggestionFactory'][_0x17a0('0x13')]('formatBlock',_0x17a0('0xb'),_0x17a0('0x1a'),_0x4ba6f9['_suggestionFactory'][_0x17a0('0x23')](_0x17a0('0x1c'),null,_0x17a0('0x1b'))),_0x4ba6f9['_suggestionFactory']['registerCustomCallback'](_0x17a0('0x1c'),'resizeTable',_0x17a0('0x1b'),_0x4ba6f9['_suggestionFactory'][_0x17a0('0x23')]('formatBlock',null,_0x17a0('0x1a'))),_0x4ba6f9[_0x17a0('0x1f')][_0x17a0('0x20')](this[_0x17a0('0x10')][_0x17a0('0x12')](this));}['handleResizeTableWidthCommand'](_0x3b9340,_0x1a0792){const _0x113e69=this[_0x17a0('0x7')]['plugins']['get'](_0x17a0('0x1')),_0x513024=this[_0x17a0('0x7')][_0x17a0('0x4')][_0x17a0('0x15')](_0x17a0('0x6')),_0x45a7ce=_0x1a0792[_0x17a0('0xe')]||this['editor']['model']['document'][_0x17a0('0x25')]['getSelectedElement']();this[_0x17a0('0x7')]['model'][_0x17a0('0x19')](()=>{const _0x5a9024=_0x513024[_0x17a0('0x17')](_0x45a7ce);let _0x10c1a4=_0x5a9024?_0x513024[_0x17a0('0x21')](_0x5a9024):null,_0x31594f=_0x45a7ce[_0x17a0('0x9')](_0x17a0('0xa'))||null;const _0x4d45ca=_0x1a0792['tableWidth']||_0x31594f,_0x3b8814=_0x1a0792[_0x17a0('0x3')]||_0x10c1a4,_0x23824c=this['editor'][_0x17a0('0x4')]['get'](_0x17a0('0x14'))['me'];for(const _0x587de4 of _0x113e69[_0x17a0('0xc')]()){const _0x5880cf=_0x587de4['getContainedElement']();if(_0x17a0('0xb')===_0x587de4[_0x17a0('0x22')]&&_0x5880cf===_0x45a7ce){_0x587de4[_0x17a0('0x11')]!==_0x23824c&&_0x587de4[_0x17a0('0x1b')]();const _0x6f305c=_0x587de4[_0x17a0('0xf')][_0x17a0('0x0')];_0x31594f=_0x6f305c[0x0]['tableWidth'],_0x10c1a4=_0x6f305c[0x0]['columnWidths'];break;}}_0x3b9340({'table':_0x45a7ce,'tableWidth':_0x4d45ca,'columnWidths':_0x3b8814}),_0x113e69[_0x17a0('0x24')](_0x45a7ce,{'commandName':_0x17a0('0x5'),'commandParams':[{'tableWidth':_0x31594f,'columnWidths':_0x10c1a4}],'formatGroupId':'resizeTable'},[],_0x17a0('0xb'));});}[_0x17a0('0x10')](_0x279e54){const {data:_0x46118d}=_0x279e54;if(_0x46118d&&_0x17a0('0xb')===_0x46118d[_0x17a0('0x8')]){const _0x13ff81=_0x17a0('0x1d');return{'type':'format','content':_0x47c101(this[_0x17a0('0x7')][_0x17a0('0xd')],_0x13ff81)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1494=['downcastDispatcher','activeMarkers','setTableColumnHeader','createPositionBefore','options','removeClass','unbindElementFromMarkerName','locale','TrackChangesEditing','document','index','commands','change','editing','removeMarker:suggestion','format','registerCustomCallback','end','table','enableCommand','value','createRange','has','from','accept','selection','writer','addClass','nodeAfter','FORMAT_REGULAR_ROW','TableEditing','headingRows','getCellLocation','editor','addMarker:suggestion','nodeBefore','parent','showSuggestionHighlights','name','data','getChild','markerName','mapper','markerNameToElements','requires','commandParams','isBefore','getSuggestion','get','first','setTableRowHeader','plugins','FORMAT_HEADER_ROW','ck-suggestion-marker-','model','last','createPositionAfter','markerRange','_suggestionFactory','forceValue','getRowIndexes','ck-suggestion-marker--active','formatBlock','FORMAT_HEADER_COLUMN','createTableWalker','data-suggestion','_splitMarkerName','markBlockFormat','findAncestor','commandName','*Format:*\x20%0','FORMAT_REGULAR_COLUMN','includes','getAttribute','TableUtils','cell','bindElementToMarker','getSelectionAffectedTableCells','highest'];(function(_0x4fd8ae,_0x14946d){const _0x51d63a=function(_0x885624){while(--_0x885624){_0x4fd8ae['push'](_0x4fd8ae['shift']());}};_0x51d63a(++_0x14946d);}(_0x1494,0x1b3));const _0x51d6=function(_0x4fd8ae,_0x14946d){_0x4fd8ae=_0x4fd8ae-0x0;let _0x51d63a=_0x1494[_0x4fd8ae];return _0x51d63a;};import{Plugin as _0xa3c93d}from'ckeditor5/src/core';import _0x5f185a from'./table';import{getTranslation as _0x4e1601}from'../utils/common-translations';export default class pt extends _0xa3c93d{static get[_0x51d6('0x4')](){return[_0x5f185a];}['afterInit'](){const _0x1e0e80=this[_0x51d6('0x48')];if(!_0x1e0e80[_0x51d6('0xb')][_0x51d6('0x3d')](_0x51d6('0x45')))return;const _0x115f59=_0x1e0e80[_0x51d6('0x2e')],_0x234354=_0x1e0e80['plugins'][_0x51d6('0x8')](_0x51d6('0x2f')),_0x5ef188=_0x1e0e80[_0x51d6('0xb')]['get']('TableUtils'),_0x669136=_0x1e0e80[_0x51d6('0xb')]['get'](_0x5f185a);function _0x263f86({showActiveMarker:_0x478693=!0x0,setDataAttribute:_0x3fbfc3=!0x0}={}){return(_0x25432b,_0x3c28a0,_0x18cf20)=>{const {type:_0x32f604,id:_0x30329e}=_0x234354['_splitMarkerName'](_0x3c28a0[_0x51d6('0x1')]),_0x432b5b=_0x234354[_0x51d6('0x7')](_0x30329e);if(!_0x432b5b[_0x51d6('0x4e')]||_0x51d6('0x29')!=_0x432b5b[_0x51d6('0x4e')][_0x51d6('0x1d')])return;if(_0x3c28a0['item'])return void _0x25432b['stop']();if(!_0x18cf20['consumable']['consume'](_0x3c28a0['markerRange'],_0x25432b[_0x51d6('0x4d')]))return;const _0x434729=_0x3c28a0[_0x51d6('0x11')]['start'][_0x51d6('0x43')],_0x1ba0ce=_0x3c28a0[_0x51d6('0x11')][_0x51d6('0x38')][_0x51d6('0x4a')],_0x11a289=_0x434729[_0x51d6('0x4b')][_0x51d6('0x4b')],{column:_0x515b4d}=_0x5ef188[_0x51d6('0x47')](_0x434729),{column:_0x4c7004}=_0x5ef188['getCellLocation'](_0x1ba0ce);for(let _0x36dd6b=_0x515b4d;_0x36dd6b<=_0x4c7004;_0x36dd6b++){const _0x42aa76=_0x5ef188[_0x51d6('0x18')](_0x11a289,{'column':_0x36dd6b,'includeAllSlots':!0x1});for(const _0x593d20 of _0x42aa76){const _0x23b0cb=_0x593d20[_0x51d6('0x23')],_0x4a06b5=_0x18cf20['mapper']['toViewElement'](_0x23b0cb);_0x18cf20[_0x51d6('0x41')][_0x51d6('0x42')](_0x51d6('0xd')+_0x32f604,_0x4a06b5),_0x3fbfc3&&_0x18cf20[_0x51d6('0x41')]['setAttribute'](_0x51d6('0x19'),_0x30329e,_0x4a06b5),_0x18cf20[_0x51d6('0x2')][_0x51d6('0x24')](_0x4a06b5,_0x3c28a0[_0x51d6('0x1')]),_0x478693&&(_0x234354[_0x51d6('0x28')][_0x51d6('0x20')](_0x3c28a0[_0x51d6('0x1')])?_0x18cf20[_0x51d6('0x41')][_0x51d6('0x42')](_0x51d6('0x15'),_0x4a06b5):_0x18cf20[_0x51d6('0x41')][_0x51d6('0x2c')](_0x51d6('0x15'),_0x4a06b5));}}};}_0x234354[_0x51d6('0x3a')]('setTableRowHeader',(_0x608d6c,_0x3746fa)=>{const _0x4e95c6=_0x5ef188[_0x51d6('0x25')](_0x1e0e80['model'][_0x51d6('0x30')][_0x51d6('0x40')]),_0x9cb1bd=_0x5ef188[_0x51d6('0x14')](_0x4e95c6),_0x76e4fb=_0x4e95c6[0x0]['findAncestor'](_0x51d6('0x39')),_0x210848=_0x76e4fb['getAttribute'](_0x51d6('0x46'))||0x0,_0x1e444f=_0x3746fa&&null!==_0x3746fa['forceValue']?_0x3746fa[_0x51d6('0x13')]:!_0x1e0e80['commands'][_0x51d6('0x8')]('setTableRowHeader')[_0x51d6('0x3b')],_0x9fb388=_0x1e444f?_0x9cb1bd['last']:_0x9cb1bd[_0x51d6('0x9')],_0x4d8462=_0x76e4fb[_0x51d6('0x0')](_0x9fb388);let _0x4bf3c4;if(_0x1e444f){const _0x368ea2=_0x76e4fb['getChild'](_0x210848);if(_0x4d8462['index']<_0x368ea2[_0x51d6('0x31')])return;_0x4bf3c4=_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x368ea2[_0x51d6('0x0')](0x0)),_0x1e0e80['model'][_0x51d6('0x10')](_0x4d8462[_0x51d6('0x0')](_0x4d8462['childCount']-0x1)));}else{const _0x5211a2=_0x76e4fb[_0x51d6('0x0')](_0x210848-0x1);if(!_0x5211a2)return;_0x4bf3c4=_0x1e0e80['model'][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x4d8462['getChild'](0x0)),_0x1e0e80['model'][_0x51d6('0x10')](_0x5211a2[_0x51d6('0x0')](_0x5211a2['childCount']-0x1)));}_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x33')](()=>{_0x234354[_0x51d6('0x1b')](_0x4bf3c4,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x1e444f}]},[],_0x51d6('0xa'));});}),_0x234354[_0x51d6('0x3a')](_0x51d6('0x29'),(_0x4b9601,_0xbbf1e9)=>{const _0x438ecf=_0x1e0e80['plugins']['get'](_0x51d6('0x22')),_0x43fe76=_0x438ecf[_0x51d6('0x25')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x30')][_0x51d6('0x40')]),_0xc7a34c=_0x438ecf['getColumnIndexes'](_0x43fe76),_0x369704=_0x43fe76[0x0][_0x51d6('0x1c')](_0x51d6('0x39')),_0x148e00=_0x369704[_0x51d6('0x21')]('headingColumns')||0x0,_0x53863f=_0xbbf1e9&&null!==_0xbbf1e9['forceValue']?_0xbbf1e9[_0x51d6('0x13')]:!_0x1e0e80[_0x51d6('0x32')][_0x51d6('0x8')](_0x51d6('0x29'))[_0x51d6('0x3b')];let _0x51fa4;const _0x157296=_0x369704[_0x51d6('0x0')](0x0),_0x4ba39a=_0x53863f?_0xc7a34c[_0x51d6('0xf')]:_0xc7a34c[_0x51d6('0x9')],_0x574e4f=_0x438ecf['createTableWalker'](_0x369704,{'startRow':0x0,'column':_0x4ba39a,'includeAllSlots':!0x1}),_0x38597c=Array[_0x51d6('0x3e')](_0x574e4f)[0x0][_0x51d6('0x23')];if(_0x53863f){const _0x28362d=_0x157296[_0x51d6('0x0')](_0x148e00);if(_0x38597c[_0x51d6('0x6')](_0x28362d))return;_0x51fa4=_0x1e0e80[_0x51d6('0xe')]['createRange'](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x28362d),_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x10')](_0x38597c));}else{const _0x248850=_0x157296[_0x51d6('0x0')](_0x148e00-0x1);if(!_0x248850)return;_0x51fa4=_0x1e0e80['model'][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')]['createPositionBefore'](_0x38597c),_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x10')](_0x248850));}_0x1e0e80[_0x51d6('0xe')]['change'](()=>{_0x234354['markBlockFormat'](_0x51fa4,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x53863f}]},[],_0x51d6('0x29'));});}),_0x1e0e80[_0x51d6('0x34')][_0x51d6('0x27')]['on'](_0x51d6('0x49'),_0x263f86(),{'priority':_0x51d6('0x26')}),_0x1e0e80[_0x51d6('0x4e')][_0x51d6('0x27')]['on'](_0x51d6('0x49'),(_0x8dc0ea,_0x91366d,_0x34824a)=>{_0x34824a[_0x51d6('0x2b')][_0x51d6('0x4c')]&&_0x263f86({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x8dc0ea,_0x91366d,_0x34824a);},{'priority':'highest'}),_0x1e0e80[_0x51d6('0x34')]['downcastDispatcher']['on'](_0x51d6('0x35'),(_0x57ed0b,_0x2b47b5,_0x47eb81)=>{const {type:_0x4ba270,id:_0xb5a675}=_0x234354[_0x51d6('0x1a')](_0x2b47b5[_0x51d6('0x1')]),_0x26f229=_0x234354[_0x51d6('0x7')](_0xb5a675);if(!_0x26f229[_0x51d6('0x4e')]||'setTableColumnHeader'!=_0x26f229['data'][_0x51d6('0x1d')])return;const _0xbc9b1b=_0x47eb81[_0x51d6('0x2')][_0x51d6('0x3')](_0x2b47b5[_0x51d6('0x1')]);if(_0xbc9b1b)for(const _0x4cebfc of _0xbc9b1b)_0x47eb81[_0x51d6('0x41')][_0x51d6('0x2c')]('ck-suggestion-marker-'+_0x4ba270,_0x4cebfc),_0x47eb81[_0x51d6('0x41')][_0x51d6('0x2c')](_0x51d6('0x15'),_0x4cebfc),_0x47eb81[_0x51d6('0x41')]['removeAttribute'](_0x51d6('0x19'),_0x4cebfc),_0x47eb81[_0x51d6('0x2')][_0x51d6('0x2d')](_0x4cebfc,_0x2b47b5['markerName']);},{'priority':_0x51d6('0x26')}),_0x234354['_descriptionFactory']['registerDescriptionCallback'](_0x1dfbc6=>{const {data:_0x53f084}=_0x1dfbc6;if(_0x53f084){if(_0x51d6('0xa')==_0x53f084[_0x51d6('0x1d')]){const _0x2ea2c4=_0x53f084[_0x51d6('0x5')][0x0][_0x51d6('0x13')];return _0x35c764(_0x4e1601(_0x115f59,_0x2ea2c4?_0x51d6('0xc'):_0x51d6('0x44')));}if(_0x51d6('0x29')==_0x53f084[_0x51d6('0x1d')]){const _0x3fe068=_0x53f084[_0x51d6('0x5')][0x0][_0x51d6('0x13')];return _0x35c764(_0x4e1601(_0x115f59,_0x3fe068?_0x51d6('0x17'):_0x51d6('0x1f')));}}function _0x35c764(_0x31e566){return{'type':_0x51d6('0x36'),'content':_0x4e1601(_0x115f59,_0x51d6('0x1e'),_0x31e566)};}});const _0x34f671=_0x669136['_acceptFormatSuggestionCallbackFactory']();_0x234354[_0x51d6('0x12')][_0x51d6('0x37')](_0x51d6('0x16'),_0x51d6('0xa'),_0x51d6('0x3f'),_0x34f671),_0x234354[_0x51d6('0x12')][_0x51d6('0x37')]('formatBlock',_0x51d6('0x29'),'accept',_0x34f671);}}
23
+ const _0x3f1b=['setAttribute','childCount','unbindElementFromMarkerName','table','commands','highest','removeClass','createTableWalker','has','value','getCellLocation','data','editing','forceValue','registerCustomCallback','format','createRange','accept','TrackChangesEditing','getSelectionAffectedTableCells','downcastDispatcher','model','registerDescriptionCallback','cell','mapper','_splitMarkerName','isBefore','getChild','addMarker:suggestion','headingColumns','removeMarker:suggestion','toViewElement','ck-suggestion-marker--active','nodeAfter','stop','afterInit','index','formatBlock','removeAttribute','consume','TableEditing','bindElementToMarker','setTableRowHeader','includes','writer','commandName','requires','start','parent','getRowIndexes','createPositionBefore','enableCommand','createPositionAfter','document','ck-suggestion-marker-','consumable','addClass','get','last','from','nodeBefore','FORMAT_HEADER_ROW','*Format:*\x20%0','markerNameToElements','data-suggestion','markerName','showSuggestionHighlights','markBlockFormat','selection','FORMAT_REGULAR_COLUMN','change','getSuggestion','markerRange','first','_suggestionFactory','end','commandParams','getColumnIndexes','setTableColumnHeader','_descriptionFactory','plugins','getAttribute','findAncestor','editor','headingRows'];(function(_0x31175e,_0x3f1b35){const _0x1f7144=function(_0x2d2c63){while(--_0x2d2c63){_0x31175e['push'](_0x31175e['shift']());}};_0x1f7144(++_0x3f1b35);}(_0x3f1b,0x132));const _0x1f71=function(_0x31175e,_0x3f1b35){_0x31175e=_0x31175e-0x0;let _0x1f7144=_0x3f1b[_0x31175e];return _0x1f7144;};import{Plugin as _0x2e7870}from'ckeditor5/src/core';import _0x209a30 from'./table';import{getTranslation as _0x51d3b8}from'../utils/common-translations';export default class pt extends _0x2e7870{static get[_0x1f71('0x50')](){return[_0x209a30];}[_0x1f71('0x45')](){const _0x44682f=this[_0x1f71('0x20')];if(!_0x44682f[_0x1f71('0x1d')][_0x1f71('0x2a')](_0x1f71('0x4a')))return;const _0x4fe55f=_0x44682f['locale'],_0x12a09f=_0x44682f[_0x1f71('0x1d')][_0x1f71('0x6')](_0x1f71('0x34')),_0x4b5004=_0x44682f['plugins'][_0x1f71('0x6')]('TableUtils'),_0x3e0911=_0x44682f[_0x1f71('0x1d')][_0x1f71('0x6')](_0x209a30);function _0x39a963({showActiveMarker:_0x2c464c=!0x0,setDataAttribute:_0x56d285=!0x0}={}){return(_0xb17d3f,_0x343b4d,_0x43e806)=>{const {type:_0x451dd4,id:_0x24c5ec}=_0x12a09f[_0x1f71('0x3b')](_0x343b4d[_0x1f71('0xe')]),_0x267d19=_0x12a09f[_0x1f71('0x14')](_0x24c5ec);if(!_0x267d19[_0x1f71('0x2d')]||_0x1f71('0x1b')!=_0x267d19[_0x1f71('0x2d')]['commandName'])return;if(_0x343b4d['item'])return void _0xb17d3f[_0x1f71('0x44')]();if(!_0x43e806[_0x1f71('0x4')][_0x1f71('0x49')](_0x343b4d[_0x1f71('0x15')],_0xb17d3f['name']))return;const _0xf1e7fb=_0x343b4d[_0x1f71('0x15')][_0x1f71('0x51')][_0x1f71('0x43')],_0x3d1822=_0x343b4d['markerRange'][_0x1f71('0x18')][_0x1f71('0x9')],_0x48de4b=_0xf1e7fb[_0x1f71('0x52')]['parent'],{column:_0x1fa37c}=_0x4b5004[_0x1f71('0x2c')](_0xf1e7fb),{column:_0x219d3d}=_0x4b5004['getCellLocation'](_0x3d1822);for(let _0x2aa2b5=_0x1fa37c;_0x2aa2b5<=_0x219d3d;_0x2aa2b5++){const _0x3f14d7=_0x4b5004[_0x1f71('0x29')](_0x48de4b,{'column':_0x2aa2b5,'includeAllSlots':!0x1});for(const _0x3dedf5 of _0x3f14d7){const _0x5cc7f0=_0x3dedf5[_0x1f71('0x39')],_0x32fc42=_0x43e806[_0x1f71('0x3a')][_0x1f71('0x41')](_0x5cc7f0);_0x43e806[_0x1f71('0x4e')][_0x1f71('0x5')](_0x1f71('0x3')+_0x451dd4,_0x32fc42),_0x56d285&&_0x43e806[_0x1f71('0x4e')][_0x1f71('0x22')](_0x1f71('0xd'),_0x24c5ec,_0x32fc42),_0x43e806['mapper'][_0x1f71('0x4b')](_0x32fc42,_0x343b4d[_0x1f71('0xe')]),_0x2c464c&&(_0x12a09f['activeMarkers'][_0x1f71('0x4d')](_0x343b4d[_0x1f71('0xe')])?_0x43e806[_0x1f71('0x4e')][_0x1f71('0x5')](_0x1f71('0x42'),_0x32fc42):_0x43e806[_0x1f71('0x4e')][_0x1f71('0x28')](_0x1f71('0x42'),_0x32fc42));}}};}_0x12a09f['enableCommand'](_0x1f71('0x4c'),(_0x5acbb0,_0x1aa6d6)=>{const _0x381c6b=_0x4b5004[_0x1f71('0x35')](_0x44682f['model'][_0x1f71('0x2')][_0x1f71('0x11')]),_0xe3605e=_0x4b5004[_0x1f71('0x53')](_0x381c6b),_0x4750c6=_0x381c6b[0x0][_0x1f71('0x1f')](_0x1f71('0x25')),_0x20c795=_0x4750c6[_0x1f71('0x1e')](_0x1f71('0x21'))||0x0,_0x15fadb=_0x1aa6d6&&null!==_0x1aa6d6[_0x1f71('0x2f')]?_0x1aa6d6[_0x1f71('0x2f')]:!_0x44682f[_0x1f71('0x26')][_0x1f71('0x6')]('setTableRowHeader')[_0x1f71('0x2b')],_0x174930=_0x15fadb?_0xe3605e[_0x1f71('0x7')]:_0xe3605e[_0x1f71('0x16')],_0x2fa644=_0x4750c6[_0x1f71('0x3d')](_0x174930);let _0x55b567;if(_0x15fadb){const _0x9c8890=_0x4750c6[_0x1f71('0x3d')](_0x20c795);if(_0x2fa644['index']<_0x9c8890[_0x1f71('0x46')])return;_0x55b567=_0x44682f[_0x1f71('0x37')][_0x1f71('0x32')](_0x44682f[_0x1f71('0x37')][_0x1f71('0x54')](_0x9c8890[_0x1f71('0x3d')](0x0)),_0x44682f[_0x1f71('0x37')][_0x1f71('0x1')](_0x2fa644['getChild'](_0x2fa644[_0x1f71('0x23')]-0x1)));}else{const _0x35cc95=_0x4750c6['getChild'](_0x20c795-0x1);if(!_0x35cc95)return;_0x55b567=_0x44682f['model']['createRange'](_0x44682f[_0x1f71('0x37')][_0x1f71('0x54')](_0x2fa644[_0x1f71('0x3d')](0x0)),_0x44682f[_0x1f71('0x37')][_0x1f71('0x1')](_0x35cc95[_0x1f71('0x3d')](_0x35cc95[_0x1f71('0x23')]-0x1)));}_0x44682f[_0x1f71('0x37')][_0x1f71('0x13')](()=>{_0x12a09f[_0x1f71('0x10')](_0x55b567,{'commandName':_0x1f71('0x4c'),'commandParams':[{'forceValue':_0x15fadb}]},[],_0x1f71('0x4c'));});}),_0x12a09f[_0x1f71('0x0')](_0x1f71('0x1b'),(_0xa2088b,_0x1126ea)=>{const _0x258a70=_0x44682f[_0x1f71('0x1d')][_0x1f71('0x6')]('TableUtils'),_0x9d4605=_0x258a70[_0x1f71('0x35')](_0x44682f[_0x1f71('0x37')]['document']['selection']),_0x15af16=_0x258a70[_0x1f71('0x1a')](_0x9d4605),_0x260834=_0x9d4605[0x0][_0x1f71('0x1f')]('table'),_0x21970f=_0x260834['getAttribute'](_0x1f71('0x3f'))||0x0,_0x2f8a83=_0x1126ea&&null!==_0x1126ea[_0x1f71('0x2f')]?_0x1126ea[_0x1f71('0x2f')]:!_0x44682f[_0x1f71('0x26')]['get'](_0x1f71('0x1b'))[_0x1f71('0x2b')];let _0x21e76b;const _0x4efa52=_0x260834[_0x1f71('0x3d')](0x0),_0x4da636=_0x2f8a83?_0x15af16[_0x1f71('0x7')]:_0x15af16[_0x1f71('0x16')],_0x5a0de9=_0x258a70['createTableWalker'](_0x260834,{'startRow':0x0,'column':_0x4da636,'includeAllSlots':!0x1}),_0x20036f=Array[_0x1f71('0x8')](_0x5a0de9)[0x0][_0x1f71('0x39')];if(_0x2f8a83){const _0x356ec5=_0x4efa52[_0x1f71('0x3d')](_0x21970f);if(_0x20036f[_0x1f71('0x3c')](_0x356ec5))return;_0x21e76b=_0x44682f[_0x1f71('0x37')]['createRange'](_0x44682f['model']['createPositionBefore'](_0x356ec5),_0x44682f['model']['createPositionAfter'](_0x20036f));}else{const _0x87d531=_0x4efa52['getChild'](_0x21970f-0x1);if(!_0x87d531)return;_0x21e76b=_0x44682f[_0x1f71('0x37')][_0x1f71('0x32')](_0x44682f[_0x1f71('0x37')][_0x1f71('0x54')](_0x20036f),_0x44682f[_0x1f71('0x37')]['createPositionAfter'](_0x87d531));}_0x44682f[_0x1f71('0x37')][_0x1f71('0x13')](()=>{_0x12a09f[_0x1f71('0x10')](_0x21e76b,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x2f8a83}]},[],_0x1f71('0x1b'));});}),_0x44682f[_0x1f71('0x2e')][_0x1f71('0x36')]['on'](_0x1f71('0x3e'),_0x39a963(),{'priority':'highest'}),_0x44682f['data'][_0x1f71('0x36')]['on'](_0x1f71('0x3e'),(_0x5021d0,_0x18b08d,_0x3444bd)=>{_0x3444bd['options'][_0x1f71('0xf')]&&_0x39a963({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5021d0,_0x18b08d,_0x3444bd);},{'priority':'highest'}),_0x44682f[_0x1f71('0x2e')][_0x1f71('0x36')]['on'](_0x1f71('0x40'),(_0x1e602d,_0x5747e3,_0x7b6e65)=>{const {type:_0x2d7c34,id:_0x46df51}=_0x12a09f[_0x1f71('0x3b')](_0x5747e3[_0x1f71('0xe')]),_0x87cf45=_0x12a09f[_0x1f71('0x14')](_0x46df51);if(!_0x87cf45[_0x1f71('0x2d')]||_0x1f71('0x1b')!=_0x87cf45[_0x1f71('0x2d')][_0x1f71('0x4f')])return;const _0x137346=_0x7b6e65[_0x1f71('0x3a')][_0x1f71('0xc')](_0x5747e3[_0x1f71('0xe')]);if(_0x137346)for(const _0x37a45a of _0x137346)_0x7b6e65[_0x1f71('0x4e')][_0x1f71('0x28')](_0x1f71('0x3')+_0x2d7c34,_0x37a45a),_0x7b6e65[_0x1f71('0x4e')][_0x1f71('0x28')](_0x1f71('0x42'),_0x37a45a),_0x7b6e65[_0x1f71('0x4e')][_0x1f71('0x48')](_0x1f71('0xd'),_0x37a45a),_0x7b6e65[_0x1f71('0x3a')][_0x1f71('0x24')](_0x37a45a,_0x5747e3['markerName']);},{'priority':_0x1f71('0x27')}),_0x12a09f[_0x1f71('0x1c')][_0x1f71('0x38')](_0x238722=>{const {data:_0x109e37}=_0x238722;if(_0x109e37){if(_0x1f71('0x4c')==_0x109e37[_0x1f71('0x4f')]){const _0x13006e=_0x109e37[_0x1f71('0x19')][0x0]['forceValue'];return _0x319688(_0x51d3b8(_0x4fe55f,_0x13006e?_0x1f71('0xa'):'FORMAT_REGULAR_ROW'));}if(_0x1f71('0x1b')==_0x109e37['commandName']){const _0x3cb97a=_0x109e37[_0x1f71('0x19')][0x0][_0x1f71('0x2f')];return _0x319688(_0x51d3b8(_0x4fe55f,_0x3cb97a?'FORMAT_HEADER_COLUMN':_0x1f71('0x12')));}}function _0x319688(_0x2b8f5c){return{'type':_0x1f71('0x31'),'content':_0x51d3b8(_0x4fe55f,_0x1f71('0xb'),_0x2b8f5c)};}});const _0x9fec08=_0x3e0911['_acceptFormatSuggestionCallbackFactory']();_0x12a09f[_0x1f71('0x17')][_0x1f71('0x30')]('formatBlock',_0x1f71('0x4c'),_0x1f71('0x33'),_0x9fec08),_0x12a09f[_0x1f71('0x17')][_0x1f71('0x30')](_0x1f71('0x47'),_0x1f71('0x1b'),_0x1f71('0x33'),_0x9fec08);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3250=['$graveyard','size','*Merge\x20cells*','return','TrackChangesEditing','splitTableCellVertically','mergeTableCells','set:isEnabled','stop','tableCell','markBlockFormat','commandName','filter','createRangeOn','_acceptFormatSuggestionCallbackFactory','change','format','type','get','push','createTableWalker','setSelection','getAncestors','detach','root','_areMergableCells','enableCommand','locale','has','editor','_isForcedDefaultExecutionBlock','containsRange','cell','low','*Split\x20cell:*\x20vertically','TableUtils','execute','element','isEnabled','accept','TableEditing','mergeTableCellRight','getCellLocation','getFirstPosition','from','direction','table','mergeTableCellDown','value','length','getSelectionAffectedTableCells','mergeTableCellLeft','highest','commands','getSuggestions','fromRange','insertion','formatBlock','markMultiRangeBlockFormat','registerCustomCallback','selection','plugins','getRanges','model','deletion','_descriptionFactory','mergeTableCellUp','*Split\x20cell:*\x20horizontally','subType','registerDescriptionCallback','add','_areSelectedCellsMergable','map','splitTableCellHorizontally','document'];(function(_0x3975f8,_0x32504d){const _0x2cb935=function(_0x59bc47){while(--_0x59bc47){_0x3975f8['push'](_0x3975f8['shift']());}};_0x2cb935(++_0x32504d);}(_0x3250,0x155));const _0x2cb9=function(_0x3975f8,_0x32504d){_0x3975f8=_0x3975f8-0x0;let _0x2cb935=_0x3250[_0x3975f8];return _0x2cb935;};import{Plugin as _0x11f146}from'ckeditor5/src/core';import _0x3f270c from'./table';import{LiveRange as _0x287b15}from'ckeditor5/src/engine';import{getTranslation as _0x5e9cf2}from'../utils/common-translations';export default class dt extends _0x11f146{static get['requires'](){return[_0x3f270c];}['afterInit'](){const _0x4f2333=this[_0x2cb9('0x3f')],_0x11270a=_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')],_0x498c37=_0x4f2333[_0x2cb9('0x3d')];if(!_0x4f2333[_0x2cb9('0x14')]['has'](_0x2cb9('0x4a')))return;const _0x5dd026=_0x4f2333[_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x26')),_0xeabcef=_0x4f2333[_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x45')),_0x4174fa=_0x4f2333['plugins'][_0x2cb9('0x34')](_0x3f270c);_0x4174fa['_tablePostFixingSubtypes'][_0x2cb9('0x35')](_0x2cb9('0x28')),_0x5dd026[_0x2cb9('0x3c')](_0x2cb9('0x28'),()=>{const _0x3a1001=_0xeabcef[_0x2cb9('0x9')](_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')]);_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x31')](()=>{_0x5dd026[_0x2cb9('0x11')](_0x3a1001,{'commandName':_0x2cb9('0x28'),'commandParams':[]},[],_0x2cb9('0x28'));});}),_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28'))['on'](_0x2cb9('0x46'),(_0x4337ba,_0x5d6f05)=>{_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')]('trackChanges')[_0x2cb9('0x7')]&&(_0x5d6f05[_0x2cb9('0x8')]>0x0&&_0x5d6f05[_0x5d6f05[_0x2cb9('0x8')]-0x1]&&_0x5d6f05[_0x5d6f05[_0x2cb9('0x8')]-0x1]['forceDefaultExecution']||_0x5dd026[_0x2cb9('0x40')]||this[_0x2cb9('0x1e')]()||_0x4337ba[_0x2cb9('0x2a')]());},{'priority':_0x2cb9('0xb')});for(const _0x1b605c of[_0x2cb9('0x19'),_0x2cb9('0x0'),_0x2cb9('0x6'),'mergeTableCellLeft']){const _0x5cbdf4=_0x4f2333['commands'][_0x2cb9('0x34')](_0x1b605c);_0x5dd026[_0x2cb9('0x3c')](_0x1b605c,()=>{const _0x10ed11=_0x4f2333[_0x2cb9('0x16')]['document']['selection'][_0x2cb9('0x2')]()[_0x2cb9('0x38')]()['find'](_0x3610ef=>_0x3610ef['is'](_0x2cb9('0x47'),_0x2cb9('0x2b'))),_0x62c141=_0x5cbdf4[_0x2cb9('0x7')];_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x31')](()=>{_0x5dd026[_0x2cb9('0x11')]([_0x10ed11,_0x62c141],{'commandName':_0x2cb9('0x28'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0xd82c33 of['splitTableCellVertically',_0x2cb9('0x20')]){const _0x27ce21=_0x4f2333['commands'][_0x2cb9('0x34')](_0xd82c33);_0x5dd026[_0x2cb9('0x3c')](_0xd82c33,()=>{const _0x3a5174=_0xeabcef[_0x2cb9('0x9')](_0x4f2333['model']['document'][_0x2cb9('0x13')])[0x0],_0x4dd715=_0x3a5174['findAncestor'](_0x2cb9('0x5')),{column:_0x541870,row:_0x358e41}=_0xeabcef[_0x2cb9('0x1')](_0x3a5174);let _0x4f7c01=[];if('horizontally'==_0x27ce21[_0x2cb9('0x4')]){const _0xe105ff=_0xeabcef[_0x2cb9('0x36')](_0x4dd715,{'startRow':_0x358e41,'endRow':_0x358e41,'includeAllSlots':!0x0});_0x4f7c01=Array[_0x2cb9('0x3')](_0xe105ff)[_0x2cb9('0x1f')](_0x4241f6=>_0x4241f6[_0x2cb9('0x42')]);}else{const _0x335195=_0xeabcef[_0x2cb9('0x36')](_0x4dd715,{'column':_0x541870,'includeAllSlots':!0x0});_0x4f7c01=Array[_0x2cb9('0x3')](_0x335195)[_0x2cb9('0x1f')](_0x49dec7=>_0x49dec7[_0x2cb9('0x42')]);}_0x4f2333[_0x2cb9('0x16')]['change'](_0x3c8e29=>{_0x5dd026[_0x2cb9('0x2c')](_0x3c8e29['createRangeOn'](_0x3a5174),{'commandName':_0xd82c33,'commandParams':[]},_0x4f7c01,_0xd82c33);});});}_0x5dd026['_descriptionFactory'][_0x2cb9('0x1c')](_0x30975b=>{const {data:_0x1dabfa}=_0x30975b;if(_0x1dabfa)return _0x2cb9('0x28')==_0x1dabfa[_0x2cb9('0x2d')]?{'type':_0x2cb9('0x32'),'content':_0x5e9cf2(_0x498c37,_0x2cb9('0x24'))}:void 0x0;}),_0x5dd026[_0x2cb9('0x18')][_0x2cb9('0x1c')](_0x4c3362=>{const {data:_0x525777}=_0x4c3362;if(_0x525777)return'splitTableCellVertically'==_0x525777[_0x2cb9('0x2d')]?{'type':'format','content':_0x5e9cf2(_0x498c37,_0x2cb9('0x44'))}:_0x2cb9('0x20')==_0x525777[_0x2cb9('0x2d')]?{'type':_0x2cb9('0x32'),'content':_0x5e9cf2(_0x498c37,_0x2cb9('0x1a'))}:void 0x0;});const _0x216302=_0x4174fa[_0x2cb9('0x30')]();for(const _0xc83151 of[_0x2cb9('0x19'),_0x2cb9('0x0'),'mergeTableCellDown',_0x2cb9('0xa')])_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')](_0x2cb9('0x10'),_0xc83151,'accept',_0x216302);for(const _0xc1d25b of[_0x2cb9('0x27'),_0x2cb9('0x20')])_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')]('formatBlock',_0xc1d25b,_0x2cb9('0x49'),_0x216302);_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')](_0x2cb9('0x10'),'mergeTableCells','accept',_0x89f6c6=>{_0x4f2333['model'][_0x2cb9('0x31')](_0x268834=>{const _0x8a137f=Array[_0x2cb9('0x3')](_0x11270a[_0x2cb9('0x15')]())[_0x2cb9('0x1f')](_0x320185=>_0x287b15[_0x2cb9('0xe')](_0x320185));_0x268834[_0x2cb9('0x37')](_0x89f6c6),_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28'))['refresh'](),_0x4f2333[_0x2cb9('0x46')](_0x2cb9('0x28'),{'forceDefaultExecution':!0x0});const _0x12910a=_0x8a137f[_0x2cb9('0x2e')](_0x171b97=>_0x2cb9('0x22')!=_0x171b97[_0x2cb9('0x3a')]['rootName']);_0x12910a['length']>0x0&&_0x268834[_0x2cb9('0x37')](_0x12910a);for(const _0x32c813 of _0x8a137f)_0x32c813[_0x2cb9('0x39')]();});});for(const _0x4d5a19 of['mergeTableCellUp',_0x2cb9('0x6'),_0x2cb9('0xa'),_0x2cb9('0x0')]){const _0x42bde7=_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x4d5a19);_0x42bde7['on'](_0x2cb9('0x29'),(_0x1d8a8a,_0x1e2b71,_0x157fc7)=>{if(_0x157fc7){const _0x1b38e1=_0x4f2333[_0x2cb9('0x16')]['document'][_0x2cb9('0x13')]['getFirstPosition']()[_0x2cb9('0x38')]()['find'](_0x1a8e40=>_0x1a8e40['is'](_0x2cb9('0x47'),_0x2cb9('0x2b')));this[_0x2cb9('0x3b')](_0x42bde7[_0x2cb9('0x7')],_0x1b38e1)||(_0x1d8a8a[_0x2cb9('0x25')]=!0x1,_0x1d8a8a['stop']());}},{'priority':_0x2cb9('0x43')});}}[_0x2cb9('0x1e')](){const _0xef40e3=this[_0x2cb9('0x3f')][_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28')),_0x10117f=this[_0x2cb9('0x3f')][_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x45'));if(!_0xef40e3[_0x2cb9('0x48')])return!0x1;const _0x3a4eeb=_0x10117f[_0x2cb9('0x9')](this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')]);for(const _0x39417d of _0x3a4eeb)for(const _0xfae2af of _0x3a4eeb)if(_0x39417d!=_0xfae2af&&!this['_areMergableCells'](_0x39417d,_0xfae2af))return!0x1;return!0x0;}['_areMergableCells'](_0x274be4,_0x139ee2){const _0x554845=this[_0x2cb9('0x3f')][_0x2cb9('0x14')]['get'](_0x2cb9('0x26')),_0x403227=this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x2f')](_0x274be4),_0x3c390b=this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x2f')](_0x139ee2),_0x3a9403=new Set(),_0x3d7f17=new Set();for(const _0x24fc9a of _0x554845[_0x2cb9('0xd')]())if((_0x2cb9('0xf')==_0x24fc9a['type']||_0x2cb9('0x17')==_0x24fc9a['type']||_0x2cb9('0x28')==_0x24fc9a[_0x2cb9('0x1b')])&&_0x24fc9a['isInContent'])for(const _0x18055c of _0x24fc9a[_0x2cb9('0x15')]())_0x18055c[_0x2cb9('0x41')](_0x403227,!0x0)&&_0x3a9403[_0x2cb9('0x1d')](_0x24fc9a[_0x2cb9('0x33')]+':'+_0x24fc9a['author']['id']),_0x18055c['containsRange'](_0x3c390b,!0x0)&&_0x3d7f17[_0x2cb9('0x1d')](_0x24fc9a['type']+':'+_0x24fc9a['author']['id']);if(_0x3a9403[_0x2cb9('0x23')]!=_0x3d7f17[_0x2cb9('0x23')])return!0x1;for(const _0x2b7420 of _0x3a9403)if(!_0x3d7f17[_0x2cb9('0x3e')](_0x2b7420))return!0x1;return!0x0;}}
23
+ const _0x2d7a=['getCellLocation','stop','*Merge\x20cells*','element','_areSelectedCellsMergable','type','push','trackChanges','tableCell','change','direction','plugins','set:isEnabled','*Split\x20cell:*\x20horizontally','horizontally','TableUtils','rootName','subType','length','mergeTableCellLeft','requires','_descriptionFactory','TableEditing','markMultiRangeBlockFormat','deletion','add','forceDefaultExecution','fromRange','getSelectionAffectedTableCells','afterInit','registerCustomCallback','mergeTableCellUp','getSuggestions','findAncestor','$graveyard','_tablePostFixingSubtypes','getAncestors','mergeTableCells','splitTableCellHorizontally','document','markBlockFormat','detach','map','return','isEnabled','mergeTableCellDown','_acceptFormatSuggestionCallbackFactory','getRanges','getFirstPosition','root','*Split\x20cell:*\x20vertically','selection','commandName','model','from','enableCommand','filter','mergeTableCellRight','setSelection','commands','locale','value','createTableWalker','TrackChangesEditing','author','registerDescriptionCallback','_suggestionFactory','get','formatBlock','accept','highest','createRangeOn','format','size','cell','_areMergableCells','has','find','splitTableCellVertically','editor','execute'];(function(_0x29dd73,_0x2d7a08){const _0x379b41=function(_0x8b4273){while(--_0x8b4273){_0x29dd73['push'](_0x29dd73['shift']());}};_0x379b41(++_0x2d7a08);}(_0x2d7a,0x114));const _0x379b=function(_0x29dd73,_0x2d7a08){_0x29dd73=_0x29dd73-0x0;let _0x379b41=_0x2d7a[_0x29dd73];return _0x379b41;};import{Plugin as _0x543768}from'ckeditor5/src/core';import _0x26935a from'./table';import{LiveRange as _0x1c4613}from'ckeditor5/src/engine';import{getTranslation as _0x500a63}from'../utils/common-translations';export default class dt extends _0x543768{static get[_0x379b('0x44')](){return[_0x26935a];}[_0x379b('0x4d')](){const _0x4299a9=this[_0x379b('0x2e')],_0x599dca=_0x4299a9[_0x379b('0x14')][_0x379b('0x6')][_0x379b('0x12')],_0x471391=_0x4299a9[_0x379b('0x1b')];if(!_0x4299a9['plugins'][_0x379b('0x2b')](_0x379b('0x46')))return;const _0x210a7f=_0x4299a9[_0x379b('0x3b')][_0x379b('0x22')]('TrackChangesEditing'),_0x4f2b6c=_0x4299a9[_0x379b('0x3b')][_0x379b('0x22')](_0x379b('0x3f')),_0x57b482=_0x4299a9[_0x379b('0x3b')][_0x379b('0x22')](_0x26935a);_0x57b482[_0x379b('0x2')][_0x379b('0x36')](_0x379b('0x4')),_0x210a7f['enableCommand'](_0x379b('0x4'),()=>{const _0x11f6a0=_0x4f2b6c[_0x379b('0x4c')](_0x4299a9['model'][_0x379b('0x6')]['selection']);_0x4299a9[_0x379b('0x14')]['change'](()=>{_0x210a7f[_0x379b('0x47')](_0x11f6a0,{'commandName':'mergeTableCells','commandParams':[]},[],_0x379b('0x4'));});}),_0x4299a9['commands'][_0x379b('0x22')](_0x379b('0x4'))['on'](_0x379b('0x2f'),(_0x79a673,_0x327112)=>{_0x4299a9[_0x379b('0x1a')][_0x379b('0x22')](_0x379b('0x37'))[_0x379b('0x1c')]&&(_0x327112[_0x379b('0x42')]>0x0&&_0x327112[_0x327112['length']-0x1]&&_0x327112[_0x327112[_0x379b('0x42')]-0x1][_0x379b('0x4a')]||_0x210a7f['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x79a673[_0x379b('0x31')]());},{'priority':_0x379b('0x25')});for(const _0x25a5a0 of[_0x379b('0x4f'),'mergeTableCellRight',_0x379b('0xc'),_0x379b('0x43')]){const _0x191fbc=_0x4299a9['commands']['get'](_0x25a5a0);_0x210a7f[_0x379b('0x16')](_0x25a5a0,()=>{const _0x3a53a0=_0x4299a9[_0x379b('0x14')][_0x379b('0x6')][_0x379b('0x12')][_0x379b('0xf')]()[_0x379b('0x3')]()[_0x379b('0x2c')](_0x4a1b4b=>_0x4a1b4b['is'](_0x379b('0x33'),_0x379b('0x38'))),_0x55baea=_0x191fbc[_0x379b('0x1c')];_0x4299a9[_0x379b('0x14')][_0x379b('0x39')](()=>{_0x210a7f[_0x379b('0x47')]([_0x3a53a0,_0x55baea],{'commandName':_0x379b('0x4'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x302fca of['splitTableCellVertically','splitTableCellHorizontally']){const _0x366f38=_0x4299a9['commands'][_0x379b('0x22')](_0x302fca);_0x210a7f[_0x379b('0x16')](_0x302fca,()=>{const _0x1c84f6=_0x4f2b6c[_0x379b('0x4c')](_0x4299a9[_0x379b('0x14')]['document'][_0x379b('0x12')])[0x0],_0x155295=_0x1c84f6[_0x379b('0x0')]('table'),{column:_0x9a2848,row:_0x688885}=_0x4f2b6c[_0x379b('0x30')](_0x1c84f6);let _0x7249be=[];if(_0x379b('0x3e')==_0x366f38[_0x379b('0x3a')]){const _0x35a318=_0x4f2b6c[_0x379b('0x1d')](_0x155295,{'startRow':_0x688885,'endRow':_0x688885,'includeAllSlots':!0x0});_0x7249be=Array[_0x379b('0x15')](_0x35a318)[_0x379b('0x9')](_0x24f369=>_0x24f369[_0x379b('0x29')]);}else{const _0x3480d1=_0x4f2b6c[_0x379b('0x1d')](_0x155295,{'column':_0x9a2848,'includeAllSlots':!0x0});_0x7249be=Array[_0x379b('0x15')](_0x3480d1)[_0x379b('0x9')](_0x4f72b2=>_0x4f72b2[_0x379b('0x29')]);}_0x4299a9[_0x379b('0x14')][_0x379b('0x39')](_0x18a51f=>{_0x210a7f[_0x379b('0x7')](_0x18a51f['createRangeOn'](_0x1c84f6),{'commandName':_0x302fca,'commandParams':[]},_0x7249be,_0x302fca);});});}_0x210a7f[_0x379b('0x45')][_0x379b('0x20')](_0x5c9cf4=>{const {data:_0x4ad627}=_0x5c9cf4;if(_0x4ad627)return _0x379b('0x4')==_0x4ad627['commandName']?{'type':_0x379b('0x27'),'content':_0x500a63(_0x471391,_0x379b('0x32'))}:void 0x0;}),_0x210a7f['_descriptionFactory'][_0x379b('0x20')](_0x2f2853=>{const {data:_0x3e8151}=_0x2f2853;if(_0x3e8151)return _0x379b('0x2d')==_0x3e8151['commandName']?{'type':_0x379b('0x27'),'content':_0x500a63(_0x471391,_0x379b('0x11'))}:_0x379b('0x5')==_0x3e8151[_0x379b('0x13')]?{'type':'format','content':_0x500a63(_0x471391,_0x379b('0x3d'))}:void 0x0;});const _0x5d5fb1=_0x57b482[_0x379b('0xd')]();for(const _0x396804 of[_0x379b('0x4f'),'mergeTableCellRight',_0x379b('0xc'),_0x379b('0x43')])_0x210a7f[_0x379b('0x21')][_0x379b('0x4e')](_0x379b('0x23'),_0x396804,_0x379b('0x24'),_0x5d5fb1);for(const _0x4bd68e of[_0x379b('0x2d'),_0x379b('0x5')])_0x210a7f[_0x379b('0x21')][_0x379b('0x4e')](_0x379b('0x23'),_0x4bd68e,_0x379b('0x24'),_0x5d5fb1);_0x210a7f['_suggestionFactory'][_0x379b('0x4e')](_0x379b('0x23'),'mergeTableCells',_0x379b('0x24'),_0x512c4d=>{_0x4299a9['model'][_0x379b('0x39')](_0x46ae01=>{const _0x3050b2=Array[_0x379b('0x15')](_0x599dca[_0x379b('0xe')]())[_0x379b('0x9')](_0x304629=>_0x1c4613[_0x379b('0x4b')](_0x304629));_0x46ae01[_0x379b('0x19')](_0x512c4d),_0x4299a9[_0x379b('0x1a')][_0x379b('0x22')](_0x379b('0x4'))['refresh'](),_0x4299a9[_0x379b('0x2f')](_0x379b('0x4'),{'forceDefaultExecution':!0x0});const _0x5d962f=_0x3050b2[_0x379b('0x17')](_0x200bac=>_0x379b('0x1')!=_0x200bac[_0x379b('0x10')][_0x379b('0x40')]);_0x5d962f[_0x379b('0x42')]>0x0&&_0x46ae01[_0x379b('0x19')](_0x5d962f);for(const _0x4094ed of _0x3050b2)_0x4094ed[_0x379b('0x8')]();});});for(const _0x59f52a of[_0x379b('0x4f'),'mergeTableCellDown','mergeTableCellLeft',_0x379b('0x18')]){const _0x5aa732=_0x4299a9[_0x379b('0x1a')][_0x379b('0x22')](_0x59f52a);_0x5aa732['on'](_0x379b('0x3c'),(_0x4180fb,_0x1c8ae2,_0x8119bf)=>{if(_0x8119bf){const _0x459ccf=_0x4299a9['model'][_0x379b('0x6')][_0x379b('0x12')][_0x379b('0xf')]()[_0x379b('0x3')]()[_0x379b('0x2c')](_0x520c5a=>_0x520c5a['is']('element','tableCell'));this[_0x379b('0x2a')](_0x5aa732[_0x379b('0x1c')],_0x459ccf)||(_0x4180fb[_0x379b('0xa')]=!0x1,_0x4180fb[_0x379b('0x31')]());}},{'priority':'low'});}}[_0x379b('0x34')](){const _0x48018d=this[_0x379b('0x2e')][_0x379b('0x1a')][_0x379b('0x22')](_0x379b('0x4')),_0xdb2b84=this['editor'][_0x379b('0x3b')][_0x379b('0x22')](_0x379b('0x3f'));if(!_0x48018d[_0x379b('0xb')])return!0x1;const _0x44ab77=_0xdb2b84['getSelectionAffectedTableCells'](this[_0x379b('0x2e')][_0x379b('0x14')][_0x379b('0x6')][_0x379b('0x12')]);for(const _0x23749f of _0x44ab77)for(const _0x1603c6 of _0x44ab77)if(_0x23749f!=_0x1603c6&&!this[_0x379b('0x2a')](_0x23749f,_0x1603c6))return!0x1;return!0x0;}[_0x379b('0x2a')](_0x3ac03e,_0x5294e3){const _0xb0807f=this[_0x379b('0x2e')][_0x379b('0x3b')]['get'](_0x379b('0x1e')),_0x5dec4c=this[_0x379b('0x2e')][_0x379b('0x14')][_0x379b('0x26')](_0x3ac03e),_0xb312fa=this['editor']['model'][_0x379b('0x26')](_0x5294e3),_0xa7881c=new Set(),_0x337f41=new Set();for(const _0x24e920 of _0xb0807f[_0x379b('0x50')]())if(('insertion'==_0x24e920[_0x379b('0x35')]||_0x379b('0x48')==_0x24e920['type']||_0x379b('0x4')==_0x24e920[_0x379b('0x41')])&&_0x24e920['isInContent'])for(const _0x4cff52 of _0x24e920[_0x379b('0xe')]())_0x4cff52['containsRange'](_0x5dec4c,!0x0)&&_0xa7881c[_0x379b('0x49')](_0x24e920[_0x379b('0x35')]+':'+_0x24e920[_0x379b('0x1f')]['id']),_0x4cff52['containsRange'](_0xb312fa,!0x0)&&_0x337f41[_0x379b('0x49')](_0x24e920['type']+':'+_0x24e920['author']['id']);if(_0xa7881c[_0x379b('0x28')]!=_0x337f41['size'])return!0x1;for(const _0x1e9da5 of _0xa7881c)if(!_0x337f41[_0x379b('0x2b')](_0x1e9da5))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eae=['plugins','insertTableOfContents','_descriptionFactory','registerElementLabel','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','get','editor','locale','tableOfContents'];(function(_0x3a14b7,_0x5eae51){const _0x29599b=function(_0x29e3b0){while(--_0x29e3b0){_0x3a14b7['push'](_0x3a14b7['shift']());}};_0x29599b(++_0x5eae51);}(_0x5eae,0x158));const _0x2959=function(_0x3a14b7,_0x5eae51){_0x3a14b7=_0x3a14b7-0x0;let _0x29599b=_0x5eae[_0x3a14b7];return _0x29599b;};import{Plugin as _0x246829}from'ckeditor5/src/core';import{getTranslation as _0x5b8b05}from'../utils/common-translations';export default class bt extends _0x246829{['afterInit'](){const _0x59dc60=this[_0x2959('0x3')];if(!_0x59dc60['commands']['get'](_0x2959('0x7')))return;_0x59dc60[_0x2959('0x6')][_0x2959('0x2')](_0x2959('0x0'))['enableCommand']('insertTableOfContents');const _0x48c84a=_0x59dc60[_0x2959('0x6')][_0x2959('0x2')]('TrackChangesEditing'),_0x5d8a5c=_0x59dc60[_0x2959('0x4')];_0x48c84a[_0x2959('0x8')][_0x2959('0x9')](_0x2959('0x5'),_0x2a1eda=>_0x5b8b05(_0x5d8a5c,_0x2959('0x1'),_0x2a1eda));}}
23
+ const _0x5a3e=['plugins','ELEMENT_TABLE_OF_CONTENTS','afterInit','_descriptionFactory','tableOfContents','commands','get','insertTableOfContents','enableCommand','TrackChangesEditing'];(function(_0x29fd77,_0x5a3e7f){const _0x991e59=function(_0x42707a){while(--_0x42707a){_0x29fd77['push'](_0x29fd77['shift']());}};_0x991e59(++_0x5a3e7f);}(_0x5a3e,0x114));const _0x991e=function(_0x29fd77,_0x5a3e7f){_0x29fd77=_0x29fd77-0x0;let _0x991e59=_0x5a3e[_0x29fd77];return _0x991e59;};import{Plugin as _0x1e67ac}from'ckeditor5/src/core';import{getTranslation as _0x2175d0}from'../utils/common-translations';export default class bt extends _0x1e67ac{[_0x991e('0x6')](){const _0x668cae=this['editor'];if(!_0x668cae[_0x991e('0x9')][_0x991e('0x0')](_0x991e('0x1')))return;_0x668cae[_0x991e('0x4')][_0x991e('0x0')](_0x991e('0x3'))[_0x991e('0x2')](_0x991e('0x1'));const _0x3957eb=_0x668cae[_0x991e('0x4')][_0x991e('0x0')]('TrackChangesEditing'),_0x3866c7=_0x668cae['locale'];_0x3957eb[_0x991e('0x7')]['registerElementLabel'](_0x991e('0x8'),_0x1c9d9a=>_0x2175d0(_0x3866c7,_0x991e('0x5'),_0x1c9d9a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x535f=['registerCustomCallback','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','getSuggestionCallback','findAncestor','getFirstPosition','_suggestionFactory','TrackChangesEditing','_getSuggestion','markBlockFormat','formatBlock','tableCellHeight','getContainedElement','format','tableWidth','join','tableCellHorizontalAlignment','commandParams','tableCellProperties','pluginName','TablePropertiesEditing','getAttribute','removeAttribute','model','accept','tableCellBorderColor','getSelectionAffectedTableCells','selection','TableCellPropertiesEditing','get','_handlePropertyChange','subType','getSuggestions','tableBorderWidth','editor','handleSuggestionDescription','has','tableCellVerticalAlignment','batch','tableCellPadding','tableBorderColor','tableCellBorderWidth','tableBorderStyle','locale','tableCellBackgroundColor','plugins','start','_descriptionFactory','tableProperties','document','TrackChangesTableProperties','enqueueChange','discard','handleDiscardAction'];(function(_0x218cb8,_0x535f95){const _0x26bedb=function(_0x2cae10){while(--_0x2cae10){_0x218cb8['push'](_0x218cb8['shift']());}};_0x26bedb(++_0x535f95);}(_0x535f,0xf1));const _0x26be=function(_0x218cb8,_0x535f95){_0x218cb8=_0x218cb8-0x0;let _0x26bedb=_0x535f[_0x218cb8];return _0x26bedb;};import{Plugin as _0x1cc0be}from'ckeditor5/src/core';import{getTranslation as _0x47e738}from'../utils/common-translations';export default class Ct extends _0x1cc0be{constructor(_0x19fd80){super(_0x19fd80),this[_0x26be('0x17')]=[_0x26be('0xf'),_0x26be('0x11'),_0x26be('0x8'),'tableAlignment',_0x26be('0x2b'),'tableHeight',_0x26be('0x1e')],this[_0x26be('0x2f')]=[_0x26be('0x0'),'tableCellBorderStyle',_0x26be('0x10'),_0x26be('0xe'),'tableCellWidth',_0x26be('0x28'),_0x26be('0x13'),_0x26be('0x2d'),_0x26be('0xc')];}static get[_0x26be('0x30')](){return _0x26be('0x19');}['afterInit'](){const _0x35116a=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')](_0x26be('0x24'));if(this[_0x26be('0x9')]['plugins'][_0x26be('0xb')](_0x26be('0x31'))){for(const _0x97b720 of this[_0x26be('0x17')])_0x35116a['enableCommand'](_0x97b720,(_0xfa4614,_0x20457e)=>{const _0x492170=this['editor'][_0x26be('0x34')][_0x26be('0x18')]['selection'][_0x26be('0x22')]()[_0x26be('0x21')]('table');this[_0x26be('0x5')](_0x97b720,[_0x492170],this['tableProperties'],_0x26be('0x17'),_0xfa4614,_0x20457e);});_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),'tableProperties','accept',_0x35116a[_0x26be('0x23')][_0x26be('0x20')](_0x26be('0x27'),null,_0x26be('0x1b'))),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x17'),_0x26be('0x1b'),(_0x28c8a8,_0x3e5d3b)=>this[_0x26be('0x1c')](this['tableProperties'],_0x28c8a8,_0x3e5d3b)),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x17'),_0x26be('0x2c'),()=>!0x1);}if(this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0xb')](_0x26be('0x3'))){for(const _0x3ffc4b of this['tableCellProperties'])_0x35116a['enableCommand'](_0x3ffc4b,(_0x5ee86e,_0x224324)=>{const _0x3697ae=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')]('TableUtils')[_0x26be('0x1')](this['editor'][_0x26be('0x34')]['document'][_0x26be('0x2')]);this[_0x26be('0x5')](_0x3ffc4b,_0x3697ae,this[_0x26be('0x2f')],'tableCellProperties',_0x5ee86e,_0x224324);});_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x35'),_0x35116a[_0x26be('0x23')][_0x26be('0x20')](_0x26be('0x27'),null,'discard')),_0x35116a['_suggestionFactory'][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x1b'),(_0x195be4,_0x5a0485)=>this[_0x26be('0x1c')](this[_0x26be('0x2f')],_0x195be4,_0x5a0485)),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x2c'),()=>!0x1);}_0x35116a[_0x26be('0x16')]['registerDescriptionCallback'](_0x82021=>this[_0x26be('0xa')](_0x82021));}['_handlePropertyChange'](_0x2fbf06,_0x967ed8,_0x4e0de0,_0x46e964,_0x1835a7,_0x392da2){const _0x1b536b=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')](_0x26be('0x24'));this[_0x26be('0x9')][_0x26be('0x34')][_0x26be('0x1a')](_0x392da2[_0x26be('0xd')],()=>{for(const _0xfe7b29 of _0x967ed8){if(this[_0x26be('0x25')](_0xfe7b29,_0x46e964))_0x1835a7(_0x392da2);else{const _0x26488d={};for(const _0x5edb49 of _0x4e0de0){const _0x3ec85c=_0xfe7b29[_0x26be('0x32')](_0x5edb49);void 0x0!==_0x3ec85c&&(_0x26488d[_0x5edb49]=_0x3ec85c);}_0x1835a7(_0x392da2),_0x1b536b[_0x26be('0x26')](_0xfe7b29,{'commandParams':[_0x26488d]},[],_0x46e964);}}});}['handleDiscardAction'](_0x49f400,_0x1fdba9,_0x4630e7){const _0x2ec792=_0x1fdba9[0x0][_0x26be('0x15')]['nodeAfter'],_0x4d9809=_0x4630e7[_0x26be('0x2e')][0x0];this[_0x26be('0x9')][_0x26be('0x34')]['change'](_0x40e48f=>{for(const _0x47a193 of _0x49f400)void 0x0!==_0x4d9809[_0x47a193]?_0x40e48f['setAttribute'](_0x47a193,_0x4d9809[_0x47a193],_0x2ec792):_0x40e48f[_0x26be('0x33')](_0x47a193,_0x2ec792);});}['handleSuggestionDescription'](_0x144cd6){if(_0x144cd6['data'])switch(_0x144cd6[_0x26be('0x6')]){case _0x26be('0x17'):return{'type':_0x26be('0x2a'),'content':_0x47e738(this[_0x26be('0x9')][_0x26be('0x12')],_0x26be('0x1f'))};case _0x26be('0x2f'):return{'type':_0x26be('0x2a'),'content':_0x47e738(this[_0x26be('0x9')][_0x26be('0x12')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x26be('0x25')](_0x34f25d,_0x37d69d){const _0x38e61e=this[_0x26be('0x9')]['plugins']['get']('TrackChangesEditing');for(const _0x42e76c of _0x38e61e[_0x26be('0x7')]({'skipNotAttached':!0x0})){const _0x1d89d4=_0x42e76c[_0x26be('0x29')]();if(_0x42e76c[_0x26be('0x6')]===_0x37d69d&&_0x1d89d4===_0x34f25d)return _0x42e76c;}return null;}}
23
+ const _0xb576=['_handlePropertyChange','handleSuggestionDescription','data','format','TablePropertiesEditing','tableCellProperties','commandParams','change','TableCellPropertiesEditing','tableCellWidth','accept','tableCellBorderColor','has','getSuggestionCallback','join','tableBorderColor','enableCommand','setAttribute','registerDescriptionCallback','afterInit','discard','tableProperties','tableWidth','formatBlock','_getSuggestion','enqueueChange','get','subType','*Format:*\x20change\x20table\x20cell\x20properties','model','pluginName','tableBorderStyle','plugins','tableBackgroundColor','locale','tableCellBorderStyle','tableCellBorderWidth','TrackChangesTableProperties','document','editor','*Format:*\x20change\x20table\x20properties','batch','tableCellVerticalAlignment','table','tableHeight','TrackChangesEditing','tableCellHorizontalAlignment','registerCustomCallback','handleDiscardAction','_suggestionFactory','tableCellPadding'];(function(_0x25fcce,_0xb57647){const _0x280512=function(_0xec349d){while(--_0xec349d){_0x25fcce['push'](_0x25fcce['shift']());}};_0x280512(++_0xb57647);}(_0xb576,0x103));const _0x2805=function(_0x25fcce,_0xb57647){_0x25fcce=_0x25fcce-0x0;let _0x280512=_0xb576[_0x25fcce];return _0x280512;};import{Plugin as _0xc10600}from'ckeditor5/src/core';import{getTranslation as _0x56aaf0}from'../utils/common-translations';export default class Ct extends _0xc10600{constructor(_0x4a8a9e){super(_0x4a8a9e),this[_0x2805('0x11')]=[_0x2805('0xb'),_0x2805('0x1b'),'tableBorderWidth','tableAlignment',_0x2805('0x12'),_0x2805('0x28'),_0x2805('0x1d')],this[_0x2805('0x1')]=[_0x2805('0x7'),_0x2805('0x1f'),_0x2805('0x20'),_0x2805('0x2e'),_0x2805('0x5'),'tableCellHeight','tableCellBackgroundColor',_0x2805('0x2a'),_0x2805('0x26')];}static get[_0x2805('0x1a')](){return _0x2805('0x21');}[_0x2805('0xf')](){const _0x20148b=this[_0x2805('0x23')]['plugins'][_0x2805('0x16')]('TrackChangesEditing');if(this[_0x2805('0x23')][_0x2805('0x1c')][_0x2805('0x8')](_0x2805('0x0'))){for(const _0xf72d4a of this[_0x2805('0x11')])_0x20148b[_0x2805('0xc')](_0xf72d4a,(_0x2a4ca7,_0x268d8d)=>{const _0x378d6c=this[_0x2805('0x23')][_0x2805('0x19')][_0x2805('0x22')]['selection']['getFirstPosition']()['findAncestor'](_0x2805('0x27'));this[_0x2805('0x2f')](_0xf72d4a,[_0x378d6c],this[_0x2805('0x11')],_0x2805('0x11'),_0x2a4ca7,_0x268d8d);});_0x20148b[_0x2805('0x2d')][_0x2805('0x2b')](_0x2805('0x13'),_0x2805('0x11'),_0x2805('0x6'),_0x20148b[_0x2805('0x2d')][_0x2805('0x9')](_0x2805('0x13'),null,_0x2805('0x10'))),_0x20148b[_0x2805('0x2d')][_0x2805('0x2b')](_0x2805('0x13'),_0x2805('0x11'),_0x2805('0x10'),(_0x56c176,_0x478617)=>this[_0x2805('0x2c')](this['tableProperties'],_0x56c176,_0x478617)),_0x20148b['_suggestionFactory'][_0x2805('0x2b')]('formatBlock',_0x2805('0x11'),_0x2805('0xa'),()=>!0x1);}if(this[_0x2805('0x23')]['plugins'][_0x2805('0x8')](_0x2805('0x4'))){for(const _0x56921d of this['tableCellProperties'])_0x20148b[_0x2805('0xc')](_0x56921d,(_0x3cb39d,_0x3303fd)=>{const _0x2dcab2=this[_0x2805('0x23')][_0x2805('0x1c')][_0x2805('0x16')]('TableUtils')['getSelectionAffectedTableCells'](this['editor'][_0x2805('0x19')]['document']['selection']);this[_0x2805('0x2f')](_0x56921d,_0x2dcab2,this['tableCellProperties'],_0x2805('0x1'),_0x3cb39d,_0x3303fd);});_0x20148b[_0x2805('0x2d')][_0x2805('0x2b')](_0x2805('0x13'),'tableCellProperties',_0x2805('0x6'),_0x20148b[_0x2805('0x2d')]['getSuggestionCallback'](_0x2805('0x13'),null,_0x2805('0x10'))),_0x20148b[_0x2805('0x2d')]['registerCustomCallback'](_0x2805('0x13'),_0x2805('0x1'),'discard',(_0x1597f5,_0x319679)=>this[_0x2805('0x2c')](this[_0x2805('0x1')],_0x1597f5,_0x319679)),_0x20148b[_0x2805('0x2d')][_0x2805('0x2b')](_0x2805('0x13'),_0x2805('0x1'),'join',()=>!0x1);}_0x20148b['_descriptionFactory'][_0x2805('0xe')](_0x2988f5=>this[_0x2805('0x30')](_0x2988f5));}['_handlePropertyChange'](_0xe73dc0,_0x5ce968,_0x279f88,_0x2fe765,_0x5371d4,_0x30a101){const _0x5ba384=this['editor'][_0x2805('0x1c')][_0x2805('0x16')](_0x2805('0x29'));this[_0x2805('0x23')][_0x2805('0x19')][_0x2805('0x15')](_0x30a101[_0x2805('0x25')],()=>{for(const _0x462690 of _0x5ce968){if(this[_0x2805('0x14')](_0x462690,_0x2fe765))_0x5371d4(_0x30a101);else{const _0x428041={};for(const _0x192d7c of _0x279f88){const _0x53fcf6=_0x462690['getAttribute'](_0x192d7c);void 0x0!==_0x53fcf6&&(_0x428041[_0x192d7c]=_0x53fcf6);}_0x5371d4(_0x30a101),_0x5ba384['markBlockFormat'](_0x462690,{'commandParams':[_0x428041]},[],_0x2fe765);}}});}[_0x2805('0x2c')](_0x45424f,_0x5cc106,_0x400d34){const _0x4e598a=_0x5cc106[0x0]['start']['nodeAfter'],_0x17d269=_0x400d34[_0x2805('0x2')][0x0];this[_0x2805('0x23')][_0x2805('0x19')][_0x2805('0x3')](_0x504082=>{for(const _0x3bc243 of _0x45424f)void 0x0!==_0x17d269[_0x3bc243]?_0x504082[_0x2805('0xd')](_0x3bc243,_0x17d269[_0x3bc243],_0x4e598a):_0x504082['removeAttribute'](_0x3bc243,_0x4e598a);});}['handleSuggestionDescription'](_0x1cb465){if(_0x1cb465[_0x2805('0x31')])switch(_0x1cb465[_0x2805('0x17')]){case _0x2805('0x11'):return{'type':_0x2805('0x32'),'content':_0x56aaf0(this['editor'][_0x2805('0x1e')],_0x2805('0x24'))};case _0x2805('0x1'):return{'type':_0x2805('0x32'),'content':_0x56aaf0(this[_0x2805('0x23')][_0x2805('0x1e')],_0x2805('0x18'))};}}[_0x2805('0x14')](_0x59de5e,_0xd6d9a2){const _0x55069e=this['editor'][_0x2805('0x1c')][_0x2805('0x16')]('TrackChangesEditing');for(const _0x490b08 of _0x55069e['getSuggestions']({'skipNotAttached':!0x0})){const _0x4d56d9=_0x490b08['getContainedElement']();if(_0x490b08[_0x2805('0x17')]===_0xd6d9a2&&_0x4d56d9===_0x59de5e)return _0x490b08;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcf11=['plugins','TrackChangesEditing','afterInit','enableCommand','get','editor','Template'];(function(_0x498fa3,_0xcf11b2){const _0x58f288=function(_0x5a9536){while(--_0x5a9536){_0x498fa3['push'](_0x498fa3['shift']());}};_0x58f288(++_0xcf11b2);}(_0xcf11,0x199));const _0x58f2=function(_0x498fa3,_0xcf11b2){_0x498fa3=_0x498fa3-0x0;let _0x58f288=_0xcf11[_0x498fa3];return _0x58f288;};import{Plugin as _0x342d5f}from'ckeditor5/src/core';export default class yt extends _0x342d5f{[_0x58f2('0x6')](){const _0x12f1d2=this[_0x58f2('0x2')];_0x12f1d2[_0x58f2('0x4')]['has'](_0x58f2('0x3'))&&_0x12f1d2['plugins'][_0x58f2('0x1')](_0x58f2('0x5'))[_0x58f2('0x0')]('insertTemplate');}}
23
+ const _0x1667=['get','enableCommand','afterInit','TrackChangesEditing','Template','has','plugins'];(function(_0x3ecc89,_0x1667c9){const _0x35bc0a=function(_0x36eec2){while(--_0x36eec2){_0x3ecc89['push'](_0x3ecc89['shift']());}};_0x35bc0a(++_0x1667c9);}(_0x1667,0x16c));const _0x35bc=function(_0x3ecc89,_0x1667c9){_0x3ecc89=_0x3ecc89-0x0;let _0x35bc0a=_0x1667[_0x3ecc89];return _0x35bc0a;};import{Plugin as _0x2d75e8}from'ckeditor5/src/core';export default class yt extends _0x2d75e8{[_0x35bc('0x2')](){const _0xf80b19=this['editor'];_0xf80b19[_0x35bc('0x6')][_0x35bc('0x5')](_0x35bc('0x4'))&&_0xf80b19[_0x35bc('0x6')][_0x35bc('0x0')](_0x35bc('0x3'))[_0x35bc('0x1')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31b6=['Title','_splitMarkerName','from','ELEMENT_TITLE','removeMarker','has','plugins','createRange','schema','element','editor','document','get','newRange','start','nodeBefore','isCollapsed','end','forward','differ','TrackChangesEditing','isEqual','title-content','model','_descriptionFactory','updateMarker'];(function(_0x3314e8,_0x31b6d7){const _0xe6c158=function(_0x2bc561){while(--_0x2bc561){_0x3314e8['push'](_0x3314e8['shift']());}};_0xe6c158(++_0x31b6d7);}(_0x31b6,0x13a));const _0xe6c1=function(_0x3314e8,_0x31b6d7){_0x3314e8=_0x3314e8-0x0;let _0xe6c158=_0x31b6[_0x3314e8];return _0xe6c158;};import{Plugin as _0x3f9f08}from'ckeditor5/src/core';import{getTranslation as _0x380469}from'../utils/common-translations';export default class St extends _0x3f9f08{['afterInit'](){const _0x1dc274=this[_0xe6c1('0x8')];if(!_0x1dc274[_0xe6c1('0x4')][_0xe6c1('0x3')](_0xe6c1('0x18')))return;const _0x6a60e0=_0x1dc274[_0xe6c1('0x4')][_0xe6c1('0xa')](_0xe6c1('0x12'));_0x6a60e0[_0xe6c1('0x16')]['registerElementLabel'](_0xe6c1('0x14'),()=>_0x380469(_0x1dc274['locale'],_0xe6c1('0x1'))),_0x1dc274['model']['document']['registerPostFixer'](_0x212635=>{let _0x272d97=!0x1;const _0xbd07f4=Array[_0xe6c1('0x0')](_0x1dc274[_0xe6c1('0x15')][_0xe6c1('0x9')][_0xe6c1('0x11')]['getChangedMarkers']());for(const {name:_0x471489,data:_0x1f9576}of _0xbd07f4){const {group:_0x2036ff}=_0x6a60e0[_0xe6c1('0x19')](_0x471489);if('suggestion'!==_0x2036ff||!_0x1f9576[_0xe6c1('0xb')])continue;const _0x3d217d=_0x1f9576[_0xe6c1('0xb')],_0x3768af=_0x3d217d[_0xe6c1('0xf')][_0xe6c1('0xd')];if(!_0x3768af||!_0x3768af['is'](_0xe6c1('0x7'),'title-content'))continue;if(!_0x3d217d[_0xe6c1('0xc')]['isTouching'](_0x3d217d[_0xe6c1('0xf')]))continue;const _0x5d911b=_0x1dc274[_0xe6c1('0x15')][_0xe6c1('0x6')]['getNearestSelectionRange'](_0x3d217d['end'],_0xe6c1('0x10'));if(_0x5d911b&&_0x5d911b[_0xe6c1('0xe')]){const _0x9048ee=_0x212635[_0xe6c1('0x5')](_0x3d217d[_0xe6c1('0xc')],_0x5d911b[_0xe6c1('0xc')]);_0x9048ee[_0xe6c1('0x13')](_0x3d217d)||(_0x212635[_0xe6c1('0x17')](_0x471489,{'range':_0x9048ee}),_0x272d97=!0x0);}_0x272d97||(_0x212635[_0xe6c1('0x2')](_0x471489),_0x272d97=!0x0);}return _0x272d97;});}}
23
+ const _0xcaab=['Title','editor','end','document','afterInit','createRange','newRange','isEqual','locale','start','updateMarker','ELEMENT_TITLE','title-content','schema','getNearestSelectionRange','forward','isTouching','differ','get','plugins','getChangedMarkers','element','removeMarker','_splitMarkerName','model','_descriptionFactory','nodeBefore'];(function(_0x2318f1,_0xcaabc3){const _0x4fb8ba=function(_0x12a5b5){while(--_0x12a5b5){_0x2318f1['push'](_0x2318f1['shift']());}};_0x4fb8ba(++_0xcaabc3);}(_0xcaab,0xf7));const _0x4fb8=function(_0x2318f1,_0xcaabc3){_0x2318f1=_0x2318f1-0x0;let _0x4fb8ba=_0xcaab[_0x2318f1];return _0x4fb8ba;};import{Plugin as _0x2b85e0}from'ckeditor5/src/core';import{getTranslation as _0x81cd0a}from'../utils/common-translations';export default class St extends _0x2b85e0{[_0x4fb8('0x0')](){const _0x5e3782=this[_0x4fb8('0x18')];if(!_0x5e3782[_0x4fb8('0xf')]['has'](_0x4fb8('0x17')))return;const _0x2160ad=_0x5e3782['plugins'][_0x4fb8('0xe')]('TrackChangesEditing');_0x2160ad[_0x4fb8('0x15')]['registerElementLabel'](_0x4fb8('0x8'),()=>_0x81cd0a(_0x5e3782[_0x4fb8('0x4')],_0x4fb8('0x7'))),_0x5e3782[_0x4fb8('0x14')][_0x4fb8('0x1a')]['registerPostFixer'](_0x5e807e=>{let _0x45f091=!0x1;const _0x23ad0e=Array['from'](_0x5e3782['model']['document'][_0x4fb8('0xd')][_0x4fb8('0x10')]());for(const {name:_0x4a927c,data:_0x4f8e72}of _0x23ad0e){const {group:_0x601e40}=_0x2160ad[_0x4fb8('0x13')](_0x4a927c);if('suggestion'!==_0x601e40||!_0x4f8e72[_0x4fb8('0x2')])continue;const _0x241f8c=_0x4f8e72[_0x4fb8('0x2')],_0x209f18=_0x241f8c[_0x4fb8('0x19')][_0x4fb8('0x16')];if(!_0x209f18||!_0x209f18['is'](_0x4fb8('0x11'),_0x4fb8('0x8')))continue;if(!_0x241f8c[_0x4fb8('0x5')][_0x4fb8('0xc')](_0x241f8c[_0x4fb8('0x19')]))continue;const _0x4751c0=_0x5e3782['model'][_0x4fb8('0x9')][_0x4fb8('0xa')](_0x241f8c[_0x4fb8('0x19')],_0x4fb8('0xb'));if(_0x4751c0&&_0x4751c0['isCollapsed']){const _0x4204cf=_0x5e807e[_0x4fb8('0x1')](_0x241f8c['start'],_0x4751c0[_0x4fb8('0x5')]);_0x4204cf[_0x4fb8('0x3')](_0x241f8c)||(_0x5e807e[_0x4fb8('0x6')](_0x4a927c,{'range':_0x4204cf}),_0x45f091=!0x0);}_0x45f091||(_0x5e807e[_0x4fb8('0x12')](_0x4a927c),_0x45f091=!0x0);}return _0x45f091;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x176e=['get','UndoEditing','undo','plugins','redo','TrackChangesEditing','afterInit','enableCommand','has'];(function(_0x3a5909,_0x176edd){const _0xe112f3=function(_0x2141e7){while(--_0x2141e7){_0x3a5909['push'](_0x3a5909['shift']());}};_0xe112f3(++_0x176edd);}(_0x176e,0x159));const _0xe112=function(_0x3a5909,_0x176edd){_0x3a5909=_0x3a5909-0x0;let _0xe112f3=_0x176e[_0x3a5909];return _0xe112f3;};import{Plugin as _0x593447}from'ckeditor5/src/core';export default class It extends _0x593447{[_0xe112('0x3')](){const _0x13ba2a=this['editor'],_0xeeca79=_0x13ba2a[_0xe112('0x0')][_0xe112('0x6')](_0xe112('0x2'));_0x13ba2a[_0xe112('0x0')][_0xe112('0x5')](_0xe112('0x7'))&&(_0xeeca79[_0xe112('0x4')](_0xe112('0x8')),_0xeeca79['enableCommand'](_0xe112('0x1')));}}
23
+ const _0x5e73=['undo','plugins','enableCommand','UndoEditing','has','redo','editor','TrackChangesEditing'];(function(_0x57a851,_0x5e73a0){const _0x11462d=function(_0x241835){while(--_0x241835){_0x57a851['push'](_0x57a851['shift']());}};_0x11462d(++_0x5e73a0);}(_0x5e73,0x1d4));const _0x1146=function(_0x57a851,_0x5e73a0){_0x57a851=_0x57a851-0x0;let _0x11462d=_0x5e73[_0x57a851];return _0x11462d;};import{Plugin as _0x9bee74}from'ckeditor5/src/core';export default class It extends _0x9bee74{['afterInit'](){const _0x3d3d97=this[_0x1146('0x2')],_0x2c07ea=_0x3d3d97['plugins']['get'](_0x1146('0x3'));_0x3d3d97[_0x1146('0x5')][_0x1146('0x0')](_0x1146('0x7'))&&(_0x2c07ea['enableCommand'](_0x1146('0x4')),_0x2c07ea[_0x1146('0x6')](_0x1146('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1167=['getCustomProperty','isLimit','getItems','hasAttribute','addClass','markerName','span','getAttribute','getWalker','listIndent','consumable','includes','schema','markerRange','element','isContent','createUIElement','ck-suggestion-marker--active','addHighlight','plugins','toViewElement','elementEnd','activeMarkers','mapper','insert','get','listItem','start','ck-suggestion-marker-','createRangeOn','type','name','nextSibling','previousPosition','model','push','writer','isBlock','toViewPosition'];(function(_0x45ec31,_0x11678c){const _0x2921f2=function(_0x3c82df){while(--_0x3c82df){_0x45ec31['push'](_0x45ec31['shift']());}};_0x2921f2(++_0x11678c);}(_0x1167,0x189));const _0x2921=function(_0x45ec31,_0x11678c){_0x45ec31=_0x45ec31-0x0;let _0x2921f2=_0x1167[_0x45ec31];return _0x2921f2;};export function getRangesWithAttribute(_0xb47a1,_0xe37f24,_0x23b2a2){const _0x576fcb=[];for(const _0x583744 of _0xe37f24[_0x2921('0x26')]())_0x583744[_0x2921('0x0')](_0xb47a1)&&_0x576fcb[_0x2921('0x20')](_0x23b2a2[_0x2921('0x1a')](_0x583744));return _0x576fcb;}export function getElementsAffectedByListItemRename(_0x3b739e){const _0xd100c=[];if(_0x3b739e['is']('element',_0x2921('0x17'))){let _0x4b356c=_0x3b739e['nextSibling'];for(;_0x4b356c&&_0x4b356c['is'](_0x2921('0xb'),_0x2921('0x17'))&&_0x4b356c[_0x2921('0x4')](_0x2921('0x6'))>0x0;)_0xd100c[_0x2921('0x20')](_0x4b356c),_0x4b356c=_0x4b356c[_0x2921('0x1d')];}return _0xd100c;}export function downcastSplitMergeMarker(_0x18e749,_0x568661,{showActiveMarker:_0xe90149=!0x0}={}){const _0x4f99c4=_0x18e749[_0x2921('0x10')][_0x2921('0x16')]('TrackChangesEditing');return(_0x4c8133,_0x145174,_0xc8e5b)=>{if(!_0xc8e5b[_0x2921('0x7')]['test'](_0x145174[_0x2921('0xa')],_0x4c8133[_0x2921('0x1c')]))return;const _0x461daf=_0x145174[_0x2921('0xa')][_0x2921('0x5')](),_0x161b4e=_0x145174[_0x2921('0xa')][_0x2921('0x18')],_0x5da562=_0x18e749[_0x2921('0x1f')][_0x2921('0x9')];let _0x101c85=null,_0x521335=null,_0x3bf990=!0x1,_0x4883c0=!0x1;for(const _0x4b83b6 of _0x461daf){const _0x2bd459=_0x4b83b6['item'];_0x3bf990=_0x3bf990||_0x5da562[_0x2921('0xc')](_0x2bd459);const _0x5d5d5a=_0xc8e5b['mapper'][_0x2921('0x11')](_0x2bd459);if(_0x5d5d5a&&_0x5d5d5a[_0x2921('0x24')](_0x2921('0xf')))return;_0x2921('0x12')==_0x4b83b6[_0x2921('0x1b')]&&(_0x5da562[_0x2921('0x22')](_0x2bd459)&&!_0x5da562[_0x2921('0x25')](_0x2bd459)&&(_0x2bd459[_0x2921('0x1d')]||_0x161b4e['isAtEnd']?_0x101c85&&_0x101c85['parent']==_0x2bd459||(_0x101c85=_0x2bd459,_0xfae0ef(_0x4b83b6['previousPosition']),_0x4883c0=!0x0):_0x521335=_0x521335||_0x4b83b6[_0x2921('0x1e')]));}function _0xfae0ef(_0x379e7c){const _0x132e9c=_0xc8e5b[_0x2921('0x21')][_0x2921('0xd')](_0x2921('0x3'),{'class':_0x2921('0x19')+_0x568661}),_0x5f11b4=_0xc8e5b[_0x2921('0x14')][_0x2921('0x23')](_0x379e7c);_0xe90149&&_0x4f99c4[_0x2921('0x13')][_0x2921('0x8')](_0x145174[_0x2921('0x2')])&&_0xc8e5b[_0x2921('0x21')][_0x2921('0x1')](_0x2921('0xe'),_0x132e9c),_0xc8e5b['writer'][_0x2921('0x15')](_0x5f11b4,_0x132e9c),_0xc8e5b[_0x2921('0x14')]['bindElementToMarker'](_0x132e9c,_0x145174[_0x2921('0x2')]);}_0x3bf990||_0x4883c0||!_0x521335||_0xfae0ef(_0x521335);};}
23
+ const _0x2c39=['toViewElement','ck-suggestion-marker-','getAttribute','markerRange','addClass','markerName','schema','test','nextSibling','writer','name','isLimit','bindElementToMarker','span','mapper','previousPosition','start','item','elementEnd','toViewPosition','listIndent','consumable','element','insert','addHighlight','createRangeOn','getItems','type','push','hasAttribute','createUIElement'];(function(_0x138b75,_0x2c3961){const _0xc48767=function(_0x5ef45c){while(--_0x5ef45c){_0x138b75['push'](_0x138b75['shift']());}};_0xc48767(++_0x2c3961);}(_0x2c39,0xb6));const _0xc487=function(_0x138b75,_0x2c3961){_0x138b75=_0x138b75-0x0;let _0xc48767=_0x2c39[_0x138b75];return _0xc48767;};export function getRangesWithAttribute(_0x167f03,_0x3556ec,_0x526f91){const _0x197343=[];for(const _0x2ecf4f of _0x3556ec[_0xc487('0x1e')]())_0x2ecf4f[_0xc487('0x2')](_0x167f03)&&_0x197343['push'](_0x526f91[_0xc487('0x1d')](_0x2ecf4f));return _0x197343;}export function getElementsAffectedByListItemRename(_0x235b13){const _0x7cac76=[];if(_0x235b13['is'](_0xc487('0x1a'),'listItem')){let _0x5d8c99=_0x235b13[_0xc487('0xc')];for(;_0x5d8c99&&_0x5d8c99['is'](_0xc487('0x1a'),'listItem')&&_0x5d8c99[_0xc487('0x6')](_0xc487('0x18'))>0x0;)_0x7cac76[_0xc487('0x1')](_0x5d8c99),_0x5d8c99=_0x5d8c99[_0xc487('0xc')];}return _0x7cac76;}export function downcastSplitMergeMarker(_0x3e4546,_0x58fefa,{showActiveMarker:_0x4e76ae=!0x0}={}){const _0x1df0bf=_0x3e4546['plugins']['get']('TrackChangesEditing');return(_0x3c2483,_0x3f6778,_0x59a0e7)=>{if(!_0x59a0e7[_0xc487('0x19')][_0xc487('0xb')](_0x3f6778[_0xc487('0x7')],_0x3c2483[_0xc487('0xe')]))return;const _0x371771=_0x3f6778[_0xc487('0x7')]['getWalker'](),_0x1c5270=_0x3f6778[_0xc487('0x7')][_0xc487('0x14')],_0xa67c8c=_0x3e4546['model'][_0xc487('0xa')];let _0x3d28a0=null,_0x1c2cc4=null,_0x174264=!0x1,_0x371339=!0x1;for(const _0x178a31 of _0x371771){const _0x417f84=_0x178a31[_0xc487('0x15')];_0x174264=_0x174264||_0xa67c8c['isContent'](_0x417f84);const _0x3d5d84=_0x59a0e7['mapper'][_0xc487('0x4')](_0x417f84);if(_0x3d5d84&&_0x3d5d84['getCustomProperty'](_0xc487('0x1c')))return;_0xc487('0x16')==_0x178a31[_0xc487('0x0')]&&(_0xa67c8c['isBlock'](_0x417f84)&&!_0xa67c8c[_0xc487('0xf')](_0x417f84)&&(_0x417f84[_0xc487('0xc')]||_0x1c5270['isAtEnd']?_0x3d28a0&&_0x3d28a0['parent']==_0x417f84||(_0x3d28a0=_0x417f84,_0x42dd45(_0x178a31[_0xc487('0x13')]),_0x371339=!0x0):_0x1c2cc4=_0x1c2cc4||_0x178a31[_0xc487('0x13')]));}function _0x42dd45(_0x53383b){const _0x39fe11=_0x59a0e7[_0xc487('0xd')][_0xc487('0x3')](_0xc487('0x11'),{'class':_0xc487('0x5')+_0x58fefa}),_0x4e1f67=_0x59a0e7[_0xc487('0x12')][_0xc487('0x17')](_0x53383b);_0x4e76ae&&_0x1df0bf['activeMarkers']['includes'](_0x3f6778[_0xc487('0x9')])&&_0x59a0e7[_0xc487('0xd')][_0xc487('0x8')]('ck-suggestion-marker--active',_0x39fe11),_0x59a0e7[_0xc487('0xd')][_0xc487('0x1b')](_0x4e1f67,_0x39fe11),_0x59a0e7['mapper'][_0xc487('0x10')](_0x39fe11,_0x3f6778[_0xc487('0x9')]);}_0x174264||_0x371339||!_0x1c2cc4||_0x42dd45(_0x1c2cc4);};}