@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230908.0 → 0.0.0-nightly-20230910.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 _0x2670=['_replaceTableSlotCell','high','has','tableCell','registerCustomCallback','column','join','suggestionUnloaded','keys','Users','root','ck-suggestion-marker--active','cells','getAllAdjacentSuggestions','commands','includes','containsRange','_getCoordsForCells','plugins','getRange','batch','suggestion-td','createTableWalker','rowInsertionIndexes','subType','oldRange','markMultiRangeInsertion','position','tableCellSuggestion','tableCellBorderColor','markerName','forceDefaultExecution','hasSuggestion','suggestionLoaded','length','clipboardOutput','suggestion:formatBlock:tablePasteCell','filter','selection','low','wrap','getSelectionAffectedTableCells','content','markerAttributes','getTableIfOnlyTableInContent','_tablePostFixingSubtypes','fill','showSuggestionHighlights','from','tablePasteChainId','tablePasteRow','add','value','document','isInContent','model','unwrap','insertion','getItems','fromEntries','rowInsertionRanges','element','deletion','deletionRanges','formatBlock','endRow','previousSibling','_createdBatches','first','tablePasteColumn','redo','activeMarkers','insertRows','setAttribute','$graveyard','tableCellBackgroundColor','ck-suggestion-marker','registerPostFixer','_suggestionFactory','tablePaste','markMultiRangeBlockFormat','get','removeMarker','ck-suggestion-marker-insertion','tablePasteCell','createPositionBefore','columnInsertionRanges','name','getMarkers','schema','getColumns','_splitMarkerName','documentSelection','startsWith','type','row','createElement','tableCellHorizontalAlignment','TrackChangesEditing','endColumn','getRanges','newRange','setAttributes','end','getSuggestions','start','attributes','locale','isEmpty','elementToElement','isEqual','findAncestor','tableCellBorderWidth','nextSibling','columnInsertionIndexes','accept','getRowIndexes','markers','rows','stop','every','trackChanges','reduce','removeColumns','differ','getChangedMarkers','tableCellVerticalAlignment','getColumnIndexes','getChanges','push','removeMarkers','registerDescriptionCallback','register','createRangeOn','editing','paragraph','change','markerToHighlight','*Replace\x20table\x20cells*','dataDowncast','TableClipboard','createRangeIn','nodeAfter','remove','_descriptionFactory','getChild','editingDowncast','set','table','map','getContainedElement','discard','rootName','suggestion','getRows','tableCellBorderStyle','options','conversion','getSuggestionCallback','getChildren','insert','find','entries','afterInit','tableCellPadding','author','_isForcedDefaultExecutionBlock','cell','next','for','getShiftedBy'];(function(_0x5e3596,_0x2670da){const _0x57bdaa=function(_0xba5dca){while(--_0xba5dca){_0x5e3596['push'](_0x5e3596['shift']());}};_0x57bdaa(++_0x2670da);}(_0x2670,0x1f0));const _0x57bd=function(_0x5e3596,_0x2670da){_0x5e3596=_0x5e3596-0x0;let _0x57bdaa=_0x2670[_0x5e3596];return _0x57bdaa;};import{getTranslation as _0x5bff6f}from'../utils/common-translations';import{Plugin as _0x83a10b}from'ckeditor5/src/core';import{uid as _0x198896,priorities as _0x23292c}from'ckeditor5/src/utils';import _0x1df6b9 from'./table';const le=[_0x57bd('0x81'),_0x57bd('0x2e'),_0x57bd('0x1'),_0x57bd('0x72'),_0x57bd('0x8f'),_0x57bd('0x5c'),_0x57bd('0xa')],ae=Object[_0x57bd('0x4c')](le[_0x57bd('0xa6')](_0x1dff6e=>[_0x1dff6e,null]));export default class kt extends _0x83a10b{static get['requires'](){return[_0x1df6b9];}[_0x57bd('0x9')](){const _0x56b108=this['editor'];if(!_0x56b108['plugins'][_0x57bd('0x13')](_0x57bd('0x9d')))return;const _0x5a1790=_0x56b108[_0x57bd('0x23')]['get'](_0x57bd('0x73')),_0x170fa6=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')]('TableUtils'),_0x7df81f=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x1df6b9),_0x25a187=_0x56b108[_0x57bd('0x23')]['get'](_0x57bd('0x9d'));_0x7df81f[_0x57bd('0x3e')][_0x57bd('0x92')](_0x57bd('0x43'),_0x57bd('0x56')),_0x56b108['model'][_0x57bd('0x6a')][_0x57bd('0x95')](_0x57bd('0x2d'),{'allowIn':_0x57bd('0x14'),'allowContentOf':_0x57bd('0x14'),'isLimit':!0x0}),_0x56b108[_0x57bd('0x3')][_0x57bd('0x7e')]({'model':_0x57bd('0x2d'),'view':_0x57bd('0x26')});let _0x4b47cc=null;_0x56b108[_0x57bd('0x48')]['on']('insertContent',(_0x1f2506,_0x479e18)=>{const [_0x23e24b,_0x4e8565]=_0x479e18,_0x572e60=_0x479e18[_0x479e18['length']-0x1];_0x572e60&&_0x572e60[_0x57bd('0x30')]||_0x5a1790[_0x57bd('0xc')]||this['editor'][_0x57bd('0x1f')][_0x57bd('0x62')](_0x57bd('0x8a'))[_0x57bd('0x45')]&&function(_0x588074,_0x3d239,_0x352a58,_0x39597b,_0x5ece7b){if(_0x3d239&&!_0x3d239['is'](_0x57bd('0x6d')))return!0x1;const _0x845f17=_0x5ece7b[_0x57bd('0x3d')](_0x588074,_0x352a58);if(!_0x845f17||!fe(_0x845f17,void 0x0,_0x39597b))return!0x1;const _0x4653b2=_0x39597b[_0x57bd('0x3a')](_0x352a58['document'][_0x57bd('0x37')]);if(!_0x4653b2[_0x57bd('0x33')])return!0x1;const _0x4b71fc=_0x4653b2[0x0][_0x57bd('0x80')]('table'),_0x2217bb=_0x39597b[_0x57bd('0x85')](_0x4653b2),_0x59da67=_0x39597b[_0x57bd('0x90')](_0x4653b2),_0x32bbff={'startRow':_0x2217bb[_0x57bd('0x55')],'endRow':_0x2217bb['last'],'startColumn':_0x59da67['first'],'endColumn':_0x59da67['last']};return 0x1==_0x4653b2[_0x57bd('0x33')]&&(_0x32bbff[_0x57bd('0x52')]+=_0x39597b[_0x57bd('0x0')](_0x845f17)-0x1,_0x32bbff[_0x57bd('0x74')]+=_0x39597b[_0x57bd('0x6b')](_0x845f17)-0x1),fe(_0x4b71fc,_0x32bbff,_0x39597b);}(_0x23e24b,_0x4e8565,_0x56b108[_0x57bd('0x48')],_0x170fa6,_0x25a187)&&(_0x1f2506['stop'](),_0x4b47cc={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x56b108[_0x57bd('0x48')][_0x57bd('0x99')](()=>{_0x56b108[_0x57bd('0x48')]['insertContent'](_0x479e18[0x0],_0x479e18[0x1],_0x479e18[0x2],{'forceDefaultExecution':!0x0});const _0x430520=_0x198896(),{rowInsertionRanges:_0x1fe1ca,columnInsertionRanges:_0xc18953,insertionRanges:_0x249265,deletionRanges:_0x143ccb,cells:_0x1df9f8}=_0x4b47cc;_0x1fe1ca['length']&&_0x5a1790['markMultiRangeInsertion'](_0x1fe1ca,'tablePasteRow',{'tablePasteChainId':_0x430520}),_0xc18953[_0x57bd('0x33')]&&_0x5a1790[_0x57bd('0x2b')](_0xc18953,'tablePasteColumn',{'tablePasteChainId':_0x430520}),_0x249265[_0x57bd('0x33')]&&_0x5a1790[_0x57bd('0x2b')](_0x249265,_0x57bd('0x60'),{'tablePasteChainId':_0x430520,'skipNestingCheck':!0x0}),_0x143ccb[_0x57bd('0x33')]&&_0x5a1790['markMultiRangeDeletion'](_0x143ccb,'tablePaste',{'tablePasteChainId':_0x430520,'skipNestingCheck':!0x0});const _0x5a82ba=_0x5a1790[_0x57bd('0x61')](_0x1df9f8[_0x57bd('0xa6')](({element:_0x56d33e})=>_0x56d33e),{'formatGroupId':_0x198896()},[],'tablePasteCell',{'tablePasteChainId':_0x430520});if(_0x5a82ba){const _0x125159=_0x5a82ba[_0x57bd('0x69')](),_0x3eab13=[];for(const {element:_0x8c866e,attributes:_0x5e29ff}of _0x1df9f8){if(!_0x5e29ff)continue;const _0x42ca35=_0x56b108[_0x57bd('0x48')][_0x57bd('0x96')](_0x8c866e),_0x2feca7=_0x125159[_0x57bd('0x7')](_0x24663d=>_0x24663d[_0x57bd('0x24')]()[_0x57bd('0x7f')](_0x42ca35));_0x2feca7&&_0x3eab13[_0x57bd('0x92')]([_0x2feca7[_0x57bd('0x68')],_0x5e29ff]);}_0x3eab13['length']&&_0x5a82ba[_0x57bd('0x5a')](_0x57bd('0x3c'),Object[_0x57bd('0x4c')](_0x3eab13));}_0x4b47cc=null;}));},{'priority':_0x23292c[_0x57bd('0x12')]+0xa}),_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x57bd('0x9d'))['on'](_0x57bd('0x11'),(_0x27ee74,_0x43aea3)=>{const [_0x3b9ef1,_0x42ad57,,_0xbae66c]=_0x43aea3;if(!_0x4b47cc)return;_0x27ee74[_0x57bd('0x88')]();const _0x1b9826=_0x3b9ef1[_0x57bd('0xd')],_0x5d5ff5=_0x42ad57,_0xe1d827=ce(_0x1b9826),_0x544fd7=ce(_0x5d5ff5);_0x27ee74['return']=_0x1b9826;let _0x297a83=null,_0x356ab2=null;if(_0x544fd7||_0xe1d827){if(_0xe1d827&&!_0x544fd7){_0xbae66c['remove'](_0x1b9826[_0x57bd('0xa2')](0x0));for(const _0x4b4dd9 of Array[_0x57bd('0x41')](_0x5d5ff5[_0x57bd('0x5')]()))_0xbae66c[_0x57bd('0x6')](_0x4b4dd9,_0x1b9826,_0x57bd('0x78'));const _0x49f49d=_0x4b47cc[_0x57bd('0x28')]['includes'](_0x3b9ef1[_0x57bd('0x70')]),_0x1912c1=_0x4b47cc[_0x57bd('0x83')][_0x57bd('0x20')](_0x3b9ef1[_0x57bd('0x16')]);_0x49f49d||_0x1912c1||(_0x297a83=_0xbae66c[_0x57bd('0x9e')](_0x1b9826));}else _0x544fd7&&!_0xe1d827&&(_0x356ab2=_0xbae66c['createRangeIn'](_0x1b9826));}else{const _0x5098df=_0xbae66c[_0x57bd('0x71')]('tableCellSuggestion'),_0x5b2f13=_0xbae66c[_0x57bd('0x71')](_0x57bd('0x2d'));_0xbae66c[_0x57bd('0x39')](_0xbae66c['createRangeIn'](_0x1b9826),_0x5b2f13),_0xbae66c[_0x57bd('0x6')](_0x5098df,_0x1b9826,0x0);for(const _0x26efc7 of Array[_0x57bd('0x41')](_0x5d5ff5[_0x57bd('0x5')]()))_0xbae66c[_0x57bd('0x6')](_0x26efc7,_0x5098df,'end');_0x297a83=_0xbae66c['createRangeOn'](_0x5098df),_0x356ab2=_0xbae66c[_0x57bd('0x96')](_0x5b2f13);}const _0x235531=Array[_0x57bd('0x41')](_0x5d5ff5['getAttributes']())[_0x57bd('0x36')](([_0x4c6b0e])=>le[_0x57bd('0x20')](_0x4c6b0e));_0x4b47cc[_0x57bd('0x1d')]['push']({'element':_0x1b9826,'attributes':_0x235531[_0x57bd('0x33')]?Object[_0x57bd('0x4c')](_0x235531):null}),_0x297a83&&_0x4b47cc['insertionRanges'][_0x57bd('0x92')](_0x297a83),_0x356ab2&&_0x4b47cc[_0x57bd('0x50')][_0x57bd('0x92')](_0x356ab2);},{'priority':_0x57bd('0x12')}),_0x170fa6['on']('insertColumns',(_0x319ca3,_0x17bae0)=>{const [_0x2d682f,_0x3b6d40={}]=_0x17bae0;if(!_0x4b47cc)return;const _0x5aa72a=_0x3b6d40['at']||0x0,_0x2f74db=_0x3b6d40['columns']||0x1;_0x4b47cc['columnInsertionIndexes']=new Array(_0x2f74db)[_0x57bd('0x3f')](_0x5aa72a)[_0x57bd('0xa6')]((_0x3e09b4,_0x3f8176)=>_0x3e09b4+_0x3f8176);for(const {cell:_0x2e065b}of _0x170fa6['createTableWalker'](_0x2d682f,{'startColumn':_0x5aa72a,'endColumn':_0x5aa72a+_0x2f74db-0x1}))_0x4b47cc[_0x57bd('0x67')][_0x57bd('0x92')](_0x56b108['model'][_0x57bd('0x96')](_0x2e065b));},{'priority':'low'}),_0x170fa6['on'](_0x57bd('0x59'),(_0x1e54fc,_0x3e2ebf)=>{const [_0x56f69e,_0x3c9fa7={}]=_0x3e2ebf;if(!_0x4b47cc)return;const _0x221d12=_0x3c9fa7['at']||0x0,_0x5533a6=_0x3c9fa7[_0x57bd('0x87')]||0x1;_0x4b47cc[_0x57bd('0x28')]=new Array(_0x5533a6)['fill'](_0x221d12)[_0x57bd('0xa6')]((_0x3a37cd,_0x2d0da5)=>_0x3a37cd+_0x2d0da5);for(const {cell:_0x10ea3d}of _0x170fa6[_0x57bd('0x27')](_0x56f69e,{'startRow':_0x221d12,'endRow':_0x221d12+_0x5533a6-0x1}))_0x4b47cc[_0x57bd('0x4d')][_0x57bd('0x92')](_0x56b108['model']['createRangeOn'](_0x10ea3d));},{'priority':_0x57bd('0x38')}),_0x5a1790[_0x57bd('0xa1')][_0x57bd('0x94')](_0x232664=>{if(_0x232664[_0x57bd('0x29')]&&_0x232664[_0x57bd('0x29')][_0x57bd('0x6e')]('tablePaste'))return _0x232664['previous']?{}:{'type':_0x57bd('0x4a'),'content':_0x5bff6f(_0x56b108[_0x57bd('0x7c')],_0x57bd('0x9b'))};});const _0x2d19dc=()=>!0x1;for(const _0x248acc of[_0x57bd('0x60'),_0x57bd('0x56'),'tablePasteRow',_0x57bd('0x65')])_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('insertion',_0x248acc,_0x57bd('0x17'),_0x2d19dc),_0x5a1790[_0x57bd('0x5f')]['registerCustomCallback'](_0x57bd('0x4f'),_0x248acc,'join',_0x2d19dc),_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')](_0x57bd('0x51'),_0x248acc,_0x57bd('0x17'),_0x2d19dc);_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('formatBlock',_0x57bd('0x65'),_0x57bd('0xa8'),_0x2d19dc),_0x5a1790['_suggestionFactory'][_0x57bd('0x15')](_0x57bd('0x51'),_0x57bd('0x65'),_0x57bd('0x84'),(_0x38bfdc,_0x73ba61,_0x544afd)=>{const _0x35653c=_0x38bfdc[_0x57bd('0xa6')](_0x3b4096=>_0x3b4096[_0x57bd('0xa7')]())['filter'](_0x4debb0=>_0x4debb0),_0x3fefeb=new Map(_0x35653c[_0x57bd('0xa6')](_0xc05c7=>[_0xc05c7,null]));if(_0x4b47cc)for(const {element:_0x5cbb07,attributes:_0x5d47c3}of _0x4b47cc[_0x57bd('0x1d')])_0x5d47c3&&_0x3fefeb['set'](_0x5cbb07,_0x5d47c3);else{if(_0x544afd&&_0x544afd[_0x57bd('0x3c')])for(const [_0x355669,_0x43f191]of Object[_0x57bd('0x8')](_0x544afd[_0x57bd('0x3c')])){const _0x3cf290=_0x56b108['model'][_0x57bd('0x86')][_0x57bd('0x62')](_0x355669),_0x55749e=_0x3cf290?_0x3cf290[_0x57bd('0x24')]()['getContainedElement']():null;_0x55749e&&_0x3fefeb[_0x57bd('0xa4')](_0x55749e,_0x43f191);}}_0x56b108[_0x57bd('0x48')][_0x57bd('0x99')](_0x532bc4=>{for(const [_0x4225af,_0x44e536]of _0x3fefeb)_0x532bc4[_0x57bd('0x77')]({...ae,..._0x44e536},_0x4225af);});});const _0x5b05da=(_0x2ca065,_0xb08344)=>{_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')](_0x2ca065,_0x57bd('0x60'),_0xb08344,(_0x61b831,_0x207f29,_0x47db73)=>{_0x56b108['model'][_0x57bd('0x99')](_0x2a7859=>{const _0x57881=[];for(const _0x58c30c of _0x61b831){const _0x3a5b0a=_0x58c30c[_0x57bd('0x7a')][_0x57bd('0x9f')];_0x3a5b0a['is'](_0x57bd('0x4e'),'tableCellSuggestion')&&_0x57881['push'](_0x3a5b0a);}_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x4')](_0x2ca065,null,_0xb08344)(_0x61b831,_0x207f29,_0x47db73);for(const _0x503a62 of _0x57881)_0x57bd('0x5b')!=_0x503a62[_0x57bd('0x1b')][_0x57bd('0xa9')]&&_0x2a7859[_0x57bd('0x49')](_0x503a62);});});};_0x5b05da('insertion',_0x57bd('0x84')),_0x5b05da(_0x57bd('0x4a'),_0x57bd('0xa8')),_0x5b05da(_0x57bd('0x4f'),_0x57bd('0x84')),_0x5b05da('deletion',_0x57bd('0xa8')),_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('insertion',_0x57bd('0x43'),_0x57bd('0xa8'),_0xa92056=>{const _0x9805e5=_0xa92056['map'](_0x2f99be=>_0x2f99be[_0x57bd('0xa7')]()),_0x4275bc=_0x9805e5[0x0][_0x57bd('0x80')](_0x57bd('0xa5')),{minRow:_0x4d2cad,maxRow:_0x1e2d42}=_0x7df81f[_0x57bd('0x22')](_0x9805e5);_0x170fa6['removeRows'](_0x4275bc,{'at':_0x4d2cad,'rows':_0x1e2d42-_0x4d2cad+0x1});}),_0x5a1790['_suggestionFactory'][_0x57bd('0x15')](_0x57bd('0x4a'),_0x57bd('0x56'),_0x57bd('0xa8'),_0x2fb94a=>{const _0x5a3b5f=_0x2fb94a['map'](_0x2221c4=>_0x2221c4['getContainedElement']()),_0x339cc8=_0x5a3b5f[0x0][_0x57bd('0x80')]('table'),{minColumn:_0x515f48,maxColumn:_0x2079b3}=_0x7df81f['_getCoordsForCells'](_0x5a3b5f);_0x170fa6[_0x57bd('0x8c')](_0x339cc8,{'at':_0x515f48,'columns':_0x2079b3-_0x515f48+0x1});});const _0x1b1cbf=(_0x42414d,_0x4607d5)=>{if(!_0x4607d5[_0x57bd('0x29')]||!_0x4607d5[_0x57bd('0x29')][_0x57bd('0x6e')]('tablePaste'))return;const _0x27a586=_0x4607d5['attributes'][_0x57bd('0x42')],_0x5f4559=_0x5a1790['getSuggestions']()['filter'](_0x74fd75=>_0x74fd75[_0x57bd('0x47')]&&_0x74fd75[_0x57bd('0x7b')]&&_0x74fd75[_0x57bd('0x7b')][_0x57bd('0x42')]==_0x27a586);_0x5f4559['length']&&_0x4607d5[_0x57bd('0x1e')]()[_0x57bd('0x33')]!=_0x5f4559['length']&&_0x5f4559[_0x57bd('0x8b')]((_0x585316,_0x3cad2c)=>(_0x585316[_0x57bd('0xe')]=_0x3cad2c,_0x3cad2c['previous']=_0x585316,_0x3cad2c));};function _0x545e57(_0x44c6a7,_0x3adfea=!0x0){const {id:_0x220d29}=_0x5a1790[_0x57bd('0x6c')](_0x44c6a7[_0x57bd('0x2f')]),_0x13891a=[_0x57bd('0x5d'),_0x57bd('0x64')],_0x2a9f57=_0x5a1790[_0x57bd('0x58')]['includes'](_0x44c6a7[_0x57bd('0x2f')]);return _0x2a9f57&&_0x13891a[_0x57bd('0x92')](_0x57bd('0x1c')),{'classes':_0x13891a,'attributes':{'data-suggestion':_0x220d29},'priority':_0x2a9f57&&_0x3adfea?0xbc2:0xbb8};}_0x5a1790['on'](_0x57bd('0x32'),_0x1b1cbf,{'priority':_0x57bd('0x12')}),_0x5a1790['on'](_0x57bd('0x18'),_0x1b1cbf,{'priority':_0x57bd('0x12')}),_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x5e')](()=>{let _0x2c7fca=!0x1;const _0x24e7e7=Array[_0x57bd('0x41')](_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x8d')][_0x57bd('0x8e')]());for(const {name:_0x1200f0,data:_0x2f0c3c}of _0x24e7e7){const {group:_0x5d5172,type:_0x2f5ce5,id:_0x529cac}=_0x5a1790['_splitMarkerName'](_0x1200f0);if(_0x57bd('0xaa')!=_0x5d5172||_0x57bd('0x4f')!=_0x2f5ce5||_0x2f0c3c[_0x57bd('0x2a')])continue;if(!_0x5a1790[_0x57bd('0x31')](_0x529cac))continue;const _0x25d6ae=_0x5a1790['getSuggestion'](_0x529cac)['getRanges'](),_0x2b56f0=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x57bd('0x1a'))['me'];for(const _0x2120ac of _0x5a1790[_0x57bd('0x79')]()){if(!_0x2120ac[_0x57bd('0x47')]||_0x2120ac[_0x57bd('0xb')]!=_0x2b56f0)continue;if(_0x57bd('0x51')!=_0x2120ac['type']||_0x57bd('0x65')!=_0x2120ac[_0x57bd('0x29')])continue;if(_0x2120ac[_0x57bd('0x75')]()[_0x57bd('0x89')](_0x379cff=>_0x25d6ae['some'](_0xbf0387=>_0xbf0387[_0x57bd('0x21')](_0x379cff,!0x0))))for(const _0x35ffa7 of _0x2120ac[_0x57bd('0x1e')]())_0x35ffa7['isInContent']&&(_0x35ffa7[_0x57bd('0xa8')](),_0x2c7fca=!0x0);}}return _0x2c7fca;}),_0x56b108['model']['document']['registerPostFixer'](_0x57a262=>{const _0x761eef=_0x56b108['commands'][_0x57bd('0x62')](_0x57bd('0x57'));if(!_0x761eef||!_0x761eef[_0x57bd('0x54')][_0x57bd('0x13')](_0x57a262[_0x57bd('0x25')]))return!0x1;let _0xd6aae=!0x1;const _0x13798f=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')]('Users')['me'],_0x2955d9=_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')]['differ'][_0x57bd('0x91')](),_0xd5b0c5=Array[_0x57bd('0x41')](_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x8d')][_0x57bd('0x8e')]())[_0x57bd('0x36')](({name:_0x16ec5f,data:_0x48cd01})=>{const {group:_0xdb4707,subType:_0x97ef22,authorId:_0x5bc97c}=_0x5a1790[_0x57bd('0x6c')](_0x16ec5f);return _0x57bd('0xaa')==_0xdb4707&&_0x57bd('0x60')==_0x97ef22&&_0x5bc97c==_0x13798f['id']&&!_0x48cd01[_0x57bd('0x2a')];});for(const _0x448876 of _0x2955d9){if(_0x57bd('0x6')!=_0x448876[_0x57bd('0x6f')]||_0x57bd('0x2d')!=_0x448876['name']||0x1!=_0x448876['length'])continue;const _0x5806e7=_0x57a262['createRange'](_0x448876[_0x57bd('0x2c')],_0x448876[_0x57bd('0x2c')][_0x57bd('0x10')](0x1));if(!_0xd5b0c5['find'](({data:_0x247093})=>_0x247093['newRange'][_0x57bd('0x7f')](_0x5806e7)))for(const {name:_0x404488,data:_0xd4943b}of _0xd5b0c5)if(_0x5806e7[_0x57bd('0x21')](_0xd4943b[_0x57bd('0x76')])){_0x57a262['updateMarker'](_0x404488,{'range':_0x5806e7}),_0xd6aae=!0x0;break;}}return _0xd6aae;}),_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x5e')](_0x487917=>{let _0x1734c5=!0x1;const _0x5613aa=_0x56b108['plugins']['get'](_0x57bd('0x1a'))['me'],_0x1be407=_0x5a1790[_0x57bd('0x79')]()[_0x57bd('0x36')](_0x5f345a=>_0x5f345a['isInContent']&&_0x5f345a[_0x57bd('0xb')]==_0x5613aa),_0x237d92=new Set(),_0x43dbf0=new Set();for(const _0x24797a of _0x1be407)if(_0x57bd('0x60')==_0x24797a[_0x57bd('0x29')])for(const _0x53c82b of _0x24797a[_0x57bd('0x69')]()){const _0x14aaff=_0x53c82b[_0x57bd('0x24')]()[_0x57bd('0xa7')]();if(_0x14aaff){if(_0x14aaff['is'](_0x57bd('0x4e'),_0x57bd('0x2d'))&&ce(_0x14aaff)){_0x24797a['removeMarker'](_0x53c82b[_0x57bd('0x68')]),_0x237d92[_0x57bd('0x44')](_0x14aaff),_0x1734c5=!0x0;const _0x225edf=_0x14aaff[_0x57bd('0x82')],_0x2670e5=_0x14aaff[_0x57bd('0x53')],_0x165ff9=_0x225edf&&_0x225edf['is']('element',_0x57bd('0x2d')),_0x79aa6d=_0x2670e5&&_0x2670e5['is'](_0x57bd('0x4e'),'tableCellSuggestion');_0x165ff9&&!_0x237d92[_0x57bd('0x13')](_0x225edf)&&_0x43dbf0['add'](_0x225edf),_0x79aa6d&&!_0x237d92[_0x57bd('0x13')](_0x2670e5)&&_0x43dbf0[_0x57bd('0x44')](_0x2670e5);}else _0x14aaff['is'](_0x57bd('0x4e'),'paragraph')&&_0x14aaff[_0x57bd('0x7d')]&&(_0x24797a[_0x57bd('0x63')](_0x53c82b[_0x57bd('0x68')]),_0x1734c5=!0x0);}}else{if(_0x57bd('0x65')==_0x24797a[_0x57bd('0x29')]){if(!_0x24797a['attributes']||!_0x24797a['attributes'][_0x57bd('0x42')])continue;const _0xaf7de2=_0x24797a['attributes'][_0x57bd('0x3c')];if(_0xaf7de2&&Object[_0x57bd('0x19')](_0xaf7de2)['length'])continue;const _0x304dce=_0x24797a[_0x57bd('0x7b')][_0x57bd('0x42')];let _0x24684a=!0x0,_0xcfbce1=!0x0;for(const _0x16b92d of _0x1be407)if(_0x16b92d[_0x57bd('0x29')]&&_0x16b92d[_0x57bd('0x29')][_0x57bd('0x6e')](_0x57bd('0x60'))){if(!_0x16b92d['attributes'][_0x57bd('0x42')]){_0xcfbce1=!0x1;break;}if(_0x16b92d['id']!=_0x24797a['id']&&_0x16b92d[_0x57bd('0x7b')][_0x57bd('0x42')]==_0x304dce){_0x24684a=!0x1;break;}}_0xcfbce1&&_0x24684a&&(_0x24797a[_0x57bd('0x93')](),_0x1734c5=!0x0);}}for(const _0x3dd410 of _0x237d92)_0x487917['remove'](_0x3dd410);for(const _0x20adca of _0x43dbf0)_0x487917['unwrap'](_0x20adca);return _0x1734c5;}),_0x56b108[_0x57bd('0x3')][_0x57bd('0xf')](_0x57bd('0xa3'))[_0x57bd('0x9a')]({'model':_0x57bd('0x35'),'view':(_0x51fbaa,_0x5adc62)=>_0x545e57(_0x51fbaa),'converterPriority':_0x57bd('0x12')}),_0x56b108['conversion']['for'](_0x57bd('0x9c'))[_0x57bd('0x9a')]({'model':_0x57bd('0x35'),'view':(_0x250997,_0x3c1380)=>_0x3c1380[_0x57bd('0x2')][_0x57bd('0x40')]?_0x545e57(_0x250997,!0x1):null,'converterPriority':_0x57bd('0x12')});const _0x570ccb=_0x56b108[_0x57bd('0x97')]['view'];this['listenTo'](_0x570ccb['document'],_0x57bd('0x34'),(_0x2fb49b,_0x593735)=>{const _0x9a91c3=[];for(const _0x446d4a of _0x570ccb[_0x57bd('0x9e')](_0x593735[_0x57bd('0x3b')])[_0x57bd('0x4b')]())_0x446d4a['is']('element',_0x57bd('0x26'))&&_0x9a91c3['push'](_0x446d4a);_0x570ccb[_0x57bd('0x99')](_0x49e654=>{for(const _0xf32417 of _0x9a91c3)_0x49e654['move'](_0x49e654[_0x57bd('0x9e')](_0xf32417),_0x49e654[_0x57bd('0x66')](_0xf32417)),_0x49e654[_0x57bd('0xa0')](_0xf32417);});});}}function ce(_0x159949){if(_0x159949[_0x57bd('0x7d')])return!0x0;const _0x34a5fd=_0x159949['getChild'](0x0);return _0x34a5fd['is']('element',_0x57bd('0x98'))&&_0x34a5fd['isEmpty'];}function fe(_0x395f93,_0x316d28={},_0x2e090c){for(const {isAnchor:_0x886fd3,cellHeight:_0x4e085b,cellWidth:_0x4ba664}of _0x2e090c['createTableWalker'](_0x395f93,{'includeAllSlots':!0x0,..._0x316d28}))if(!_0x886fd3||0x1!=_0x4e085b||0x1!=_0x4ba664)return!0x1;return!0x0;}
23
+ const _0x4308=['suggestion-td','document','getAttributes','previous','editing','findAncestor','tableCellBorderWidth','row','root','next','suggestion','differ','find','markMultiRangeBlockFormat','markers','tablePasteChainId','nodeAfter','columns','getShiftedBy','formatBlock','name','updateMarker','add','getSuggestionCallback','removeRows','options','documentSelection','getItems','suggestion:formatBlock:tablePasteCell','dataDowncast','newRange','subType','batch','move','start','includes','has','createPositionBefore','length','startsWith','tableCellHorizontalAlignment','for','tablePasteColumn','_isForcedDefaultExecutionBlock','element','tableCellBorderStyle','createRangeOn','createRangeIn','_splitMarkerName','isEqual','_suggestionFactory','_createdBatches','map','_descriptionFactory','tableCellBackgroundColor','getTableIfOnlyTableInContent','rowInsertionRanges','columnInsertionIndexes','unwrap','TrackChangesEditing','content','_tablePostFixingSubtypes','column','markMultiRangeDeletion','getSuggestion','tablePaste','rootName','table','tablePasteCell','requires','endRow','tableCell','last','schema','first','insertColumns','insertContent','model','markerName','getContainedElement','cell','getSuggestions','getRowIndexes','endColumn','showSuggestionHighlights','selection','ck-suggestion-marker--active','wrap','remove','author','getAllAdjacentSuggestions','containsRange','low','*Replace\x20table\x20cells*','oldRange','getChild','getColumnIndexes','getRanges','_getCoordsForCells','change','markerAttributes','suggestionLoaded','TableClipboard','Users','markerToHighlight','deletion','tableCellVerticalAlignment','some','tableCellPadding','clipboardOutput','attributes','discard','type','editingDowncast','end','getMarkers','reduce','_replaceTableSlotCell','rowInsertionIndexes','isInContent','afterInit','insertion','plugins','previousSibling','insert','getChangedMarkers','from','push','isEmpty','createTableWalker','accept','filter','insertRows','view','get','tableCellSuggestion','entries','keys','fill','TableUtils','set','getRange','registerPostFixer','paragraph','high','registerCustomCallback','stop','cells','markMultiRangeInsertion','conversion','locale','position','ck-suggestion-marker-insertion','createElement','ck-suggestion-marker','getChildren','deletionRanges','forceDefaultExecution','editor','getRows','removeMarker','$graveyard','trackChanges','tablePasteRow','elementToElement','every','commands'];(function(_0x1730ac,_0x430898){const _0x551ff2=function(_0x55d893){while(--_0x55d893){_0x1730ac['push'](_0x1730ac['shift']());}};_0x551ff2(++_0x430898);}(_0x4308,0xc5));const _0x551f=function(_0x1730ac,_0x430898){_0x1730ac=_0x1730ac-0x0;let _0x551ff2=_0x4308[_0x1730ac];return _0x551ff2;};import{getTranslation as _0x54105c}from'../utils/common-translations';import{Plugin as _0x19e520}from'ckeditor5/src/core';import{uid as _0x56a239,priorities as _0x1bb9ac}from'ckeditor5/src/utils';import _0x425bf0 from'./table';const le=[_0x551f('0x8f'),'tableCellBorderColor',_0x551f('0xf'),_0x551f('0xa'),_0x551f('0x4c'),_0x551f('0x18'),_0x551f('0x4e')],ae=Object['fromEntries'](le[_0x551f('0x16')](_0x33d4a8=>[_0x33d4a8,null]));export default class kt extends _0x19e520{static get[_0x551f('0x27')](){return[_0x425bf0];}[_0x551f('0x5a')](){const _0x5d8bd4=this['editor'];if(!_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x6')](_0x551f('0x48')))return;const _0x274d92=_0x5d8bd4['plugins']['get'](_0x551f('0x1d')),_0x510534=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x6d')),_0x4f7339=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x425bf0),_0x129c08=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x48'));_0x4f7339[_0x551f('0x1f')][_0x551f('0x61')](_0x551f('0x85'),_0x551f('0xc')),_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x2b')]['register'](_0x551f('0x69'),{'allowIn':_0x551f('0x29'),'allowContentOf':_0x551f('0x29'),'isLimit':!0x0}),_0x5d8bd4[_0x551f('0x77')][_0x551f('0x86')]({'model':_0x551f('0x69'),'view':_0x551f('0x89')});let _0x53ba1c=null;_0x5d8bd4[_0x551f('0x2f')]['on'](_0x551f('0x2e'),(_0x3ab84b,_0x407d29)=>{const [_0x18d6a1,_0xb6efb4]=_0x407d29,_0x175c34=_0x407d29[_0x407d29[_0x551f('0x8')]-0x1];_0x175c34&&_0x175c34[_0x551f('0x7f')]||_0x274d92[_0x551f('0xd')]||this[_0x551f('0x80')][_0x551f('0x88')][_0x551f('0x68')](_0x551f('0x84'))['value']&&function(_0x39d9d3,_0x5abda6,_0x456bc4,_0x438461,_0x2ecc24){if(_0x5abda6&&!_0x5abda6['is'](_0x551f('0xa3')))return!0x1;const _0x568863=_0x2ecc24[_0x551f('0x19')](_0x39d9d3,_0x456bc4);if(!_0x568863||!fe(_0x568863,void 0x0,_0x438461))return!0x1;const _0xaa7c74=_0x438461['getSelectionAffectedTableCells'](_0x456bc4[_0x551f('0x8a')][_0x551f('0x37')]);if(!_0xaa7c74[_0x551f('0x8')])return!0x1;const _0x6705e1=_0xaa7c74[0x0][_0x551f('0x8e')](_0x551f('0x25')),_0x3be573=_0x438461[_0x551f('0x34')](_0xaa7c74),_0x2327eb=_0x438461[_0x551f('0x42')](_0xaa7c74),_0x3c0842={'startRow':_0x3be573[_0x551f('0x2c')],'endRow':_0x3be573[_0x551f('0x2a')],'startColumn':_0x2327eb[_0x551f('0x2c')],'endColumn':_0x2327eb['last']};return 0x1==_0xaa7c74[_0x551f('0x8')]&&(_0x3c0842[_0x551f('0x28')]+=_0x438461[_0x551f('0x81')](_0x568863)-0x1,_0x3c0842[_0x551f('0x35')]+=_0x438461['getColumns'](_0x568863)-0x1),fe(_0x6705e1,_0x3c0842,_0x438461);}(_0x18d6a1,_0xb6efb4,_0x5d8bd4[_0x551f('0x2f')],_0x510534,_0x129c08)&&(_0x3ab84b[_0x551f('0x74')](),_0x53ba1c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x45')](()=>{_0x5d8bd4[_0x551f('0x2f')]['insertContent'](_0x407d29[0x0],_0x407d29[0x1],_0x407d29[0x2],{'forceDefaultExecution':!0x0});const _0xad84e7=_0x56a239(),{rowInsertionRanges:_0x39ac14,columnInsertionRanges:_0x1b522c,insertionRanges:_0x769b9c,deletionRanges:_0x4a6d28,cells:_0x33b145}=_0x53ba1c;_0x39ac14['length']&&_0x274d92[_0x551f('0x76')](_0x39ac14,_0x551f('0x85'),{'tablePasteChainId':_0xad84e7}),_0x1b522c[_0x551f('0x8')]&&_0x274d92['markMultiRangeInsertion'](_0x1b522c,_0x551f('0xc'),{'tablePasteChainId':_0xad84e7}),_0x769b9c[_0x551f('0x8')]&&_0x274d92[_0x551f('0x76')](_0x769b9c,_0x551f('0x23'),{'tablePasteChainId':_0xad84e7,'skipNestingCheck':!0x0}),_0x4a6d28[_0x551f('0x8')]&&_0x274d92[_0x551f('0x21')](_0x4a6d28,'tablePaste',{'tablePasteChainId':_0xad84e7,'skipNestingCheck':!0x0});const _0x53ce8a=_0x274d92[_0x551f('0x96')](_0x33b145[_0x551f('0x16')](({element:_0x1d5666})=>_0x1d5666),{'formatGroupId':_0x56a239()},[],_0x551f('0x26'),{'tablePasteChainId':_0xad84e7});if(_0x53ce8a){const _0x212916=_0x53ce8a[_0x551f('0x55')](),_0x3d766d=[];for(const {element:_0x13fe33,attributes:_0x1883ab}of _0x33b145){if(!_0x1883ab)continue;const _0x9eecc9=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x10')](_0x13fe33),_0x562b6b=_0x212916['find'](_0x96c542=>_0x96c542[_0x551f('0x6f')]()[_0x551f('0x13')](_0x9eecc9));_0x562b6b&&_0x3d766d['push']([_0x562b6b[_0x551f('0x9d')],_0x1883ab]);}_0x3d766d[_0x551f('0x8')]&&_0x53ce8a['setAttribute'](_0x551f('0x46'),Object['fromEntries'](_0x3d766d));}_0x53ba1c=null;}));},{'priority':_0x1bb9ac[_0x551f('0x72')]+0xa}),_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')]('TableClipboard')['on'](_0x551f('0x57'),(_0xe0e7d7,_0x19ccaa)=>{const [_0x3125ed,_0x212f36,,_0x3e5fc1]=_0x19ccaa;if(!_0x53ba1c)return;_0xe0e7d7[_0x551f('0x74')]();const _0x413195=_0x3125ed[_0x551f('0x32')],_0x48bd0d=_0x212f36,_0x5d9c57=ce(_0x413195),_0x3cd40b=ce(_0x48bd0d);_0xe0e7d7['return']=_0x413195;let _0x5ccf81=null,_0x458746=null;if(_0x3cd40b||_0x5d9c57){if(_0x5d9c57&&!_0x3cd40b){_0x3e5fc1['remove'](_0x413195['getChild'](0x0));for(const _0x49b297 of Array[_0x551f('0x60')](_0x48bd0d['getChildren']()))_0x3e5fc1[_0x551f('0x5e')](_0x49b297,_0x413195,_0x551f('0x54'));const _0x188408=_0x53ba1c[_0x551f('0x58')][_0x551f('0x5')](_0x3125ed[_0x551f('0x90')]),_0x3eb64d=_0x53ba1c[_0x551f('0x1b')]['includes'](_0x3125ed[_0x551f('0x20')]);_0x188408||_0x3eb64d||(_0x5ccf81=_0x3e5fc1[_0x551f('0x11')](_0x413195));}else _0x3cd40b&&!_0x5d9c57&&(_0x458746=_0x3e5fc1[_0x551f('0x11')](_0x413195));}else{const _0x11f869=_0x3e5fc1[_0x551f('0x7b')](_0x551f('0x69')),_0x5552df=_0x3e5fc1[_0x551f('0x7b')](_0x551f('0x69'));_0x3e5fc1[_0x551f('0x39')](_0x3e5fc1[_0x551f('0x11')](_0x413195),_0x5552df),_0x3e5fc1[_0x551f('0x5e')](_0x11f869,_0x413195,0x0);for(const _0x42ccd7 of Array[_0x551f('0x60')](_0x48bd0d[_0x551f('0x7d')]()))_0x3e5fc1[_0x551f('0x5e')](_0x42ccd7,_0x11f869,_0x551f('0x54'));_0x5ccf81=_0x3e5fc1[_0x551f('0x10')](_0x11f869),_0x458746=_0x3e5fc1[_0x551f('0x10')](_0x5552df);}const _0x2f0093=Array['from'](_0x48bd0d[_0x551f('0x8b')]())[_0x551f('0x65')](([_0x186f0b])=>le[_0x551f('0x5')](_0x186f0b));_0x53ba1c[_0x551f('0x75')]['push']({'element':_0x413195,'attributes':_0x2f0093[_0x551f('0x8')]?Object['fromEntries'](_0x2f0093):null}),_0x5ccf81&&_0x53ba1c['insertionRanges'][_0x551f('0x61')](_0x5ccf81),_0x458746&&_0x53ba1c[_0x551f('0x7e')]['push'](_0x458746);},{'priority':_0x551f('0x72')}),_0x510534['on'](_0x551f('0x2d'),(_0x509f71,_0x3c0183)=>{const [_0x148f59,_0x1a6ef9={}]=_0x3c0183;if(!_0x53ba1c)return;const _0xb0e6c6=_0x1a6ef9['at']||0x0,_0x3725ee=_0x1a6ef9[_0x551f('0x9a')]||0x1;_0x53ba1c['columnInsertionIndexes']=new Array(_0x3725ee)[_0x551f('0x6c')](_0xb0e6c6)[_0x551f('0x16')]((_0x5a44f4,_0x2d0e09)=>_0x5a44f4+_0x2d0e09);for(const {cell:_0x11196f}of _0x510534[_0x551f('0x63')](_0x148f59,{'startColumn':_0xb0e6c6,'endColumn':_0xb0e6c6+_0x3725ee-0x1}))_0x53ba1c['columnInsertionRanges']['push'](_0x5d8bd4['model'][_0x551f('0x10')](_0x11196f));},{'priority':_0x551f('0x3e')}),_0x510534['on'](_0x551f('0x66'),(_0x4f679a,_0x273d97)=>{const [_0xe6a49d,_0x545b69={}]=_0x273d97;if(!_0x53ba1c)return;const _0x1716fc=_0x545b69['at']||0x0,_0x10671c=_0x545b69['rows']||0x1;_0x53ba1c[_0x551f('0x58')]=new Array(_0x10671c)[_0x551f('0x6c')](_0x1716fc)[_0x551f('0x16')]((_0xf8c376,_0x2b2e79)=>_0xf8c376+_0x2b2e79);for(const {cell:_0x38e414}of _0x510534[_0x551f('0x63')](_0xe6a49d,{'startRow':_0x1716fc,'endRow':_0x1716fc+_0x10671c-0x1}))_0x53ba1c[_0x551f('0x1a')][_0x551f('0x61')](_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x10')](_0x38e414));},{'priority':'low'}),_0x274d92[_0x551f('0x17')]['registerDescriptionCallback'](_0x28da45=>{if(_0x28da45[_0x551f('0x1')]&&_0x28da45[_0x551f('0x1')][_0x551f('0x9')](_0x551f('0x23')))return _0x28da45['previous']?{}:{'type':_0x551f('0x5b'),'content':_0x54105c(_0x5d8bd4[_0x551f('0x78')],_0x551f('0x3f'))};});const _0x323bfb=()=>!0x1;for(const _0xcb4a99 of[_0x551f('0x23'),_0x551f('0xc'),'tablePasteRow',_0x551f('0x26')])_0x274d92[_0x551f('0x14')]['registerCustomCallback'](_0x551f('0x5b'),_0xcb4a99,'join',_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')]('deletion',_0xcb4a99,'join',_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x551f('0x9c'),_0xcb4a99,'join',_0x323bfb);_0x274d92['_suggestionFactory']['registerCustomCallback'](_0x551f('0x9c'),_0x551f('0x26'),_0x551f('0x51'),_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x551f('0x9c'),_0x551f('0x26'),'accept',(_0x245930,_0x52a7c7,_0x1542db)=>{const _0x388e48=_0x245930[_0x551f('0x16')](_0x86ba78=>_0x86ba78[_0x551f('0x31')]())[_0x551f('0x65')](_0x28c410=>_0x28c410),_0x23d618=new Map(_0x388e48[_0x551f('0x16')](_0x189b0d=>[_0x189b0d,null]));if(_0x53ba1c)for(const {element:_0x21553c,attributes:_0x159987}of _0x53ba1c[_0x551f('0x75')])_0x159987&&_0x23d618['set'](_0x21553c,_0x159987);else{if(_0x1542db&&_0x1542db[_0x551f('0x46')])for(const [_0x1a3002,_0x39fd16]of Object[_0x551f('0x6a')](_0x1542db[_0x551f('0x46')])){const _0x1f726d=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x97')][_0x551f('0x68')](_0x1a3002),_0x893770=_0x1f726d?_0x1f726d[_0x551f('0x6f')]()['getContainedElement']():null;_0x893770&&_0x23d618[_0x551f('0x6e')](_0x893770,_0x39fd16);}}_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x45')](_0x40452c=>{for(const [_0x4bdba3,_0x337bee]of _0x23d618)_0x40452c['setAttributes']({...ae,..._0x337bee},_0x4bdba3);});});const _0x16e014=(_0x5f15b6,_0x3f93ef)=>{_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x5f15b6,'tablePaste',_0x3f93ef,(_0x2b7c5a,_0x3d4a38,_0x822654)=>{_0x5d8bd4['model'][_0x551f('0x45')](_0xa57b26=>{const _0x1ff820=[];for(const _0x4412d1 of _0x2b7c5a){const _0x1f337f=_0x4412d1[_0x551f('0x4')][_0x551f('0x99')];_0x1f337f['is'](_0x551f('0xe'),'tableCellSuggestion')&&_0x1ff820[_0x551f('0x61')](_0x1f337f);}_0x274d92[_0x551f('0x14')][_0x551f('0xa0')](_0x5f15b6,null,_0x3f93ef)(_0x2b7c5a,_0x3d4a38,_0x822654);for(const _0xa620b4 of _0x1ff820)_0x551f('0x83')!=_0xa620b4[_0x551f('0x91')][_0x551f('0x24')]&&_0xa57b26[_0x551f('0x1c')](_0xa620b4);});});};_0x16e014(_0x551f('0x5b'),_0x551f('0x64')),_0x16e014('insertion',_0x551f('0x51')),_0x16e014(_0x551f('0x4b'),_0x551f('0x64')),_0x16e014('deletion',_0x551f('0x51')),_0x274d92[_0x551f('0x14')]['registerCustomCallback']('insertion','tablePasteRow',_0x551f('0x51'),_0x2579a6=>{const _0x306b18=_0x2579a6[_0x551f('0x16')](_0x3e8271=>_0x3e8271[_0x551f('0x31')]()),_0x179a18=_0x306b18[0x0][_0x551f('0x8e')](_0x551f('0x25')),{minRow:_0x226aa9,maxRow:_0x1cc295}=_0x4f7339['_getCoordsForCells'](_0x306b18);_0x510534[_0x551f('0xa1')](_0x179a18,{'at':_0x226aa9,'rows':_0x1cc295-_0x226aa9+0x1});}),_0x274d92[_0x551f('0x14')][_0x551f('0x73')]('insertion','tablePasteColumn',_0x551f('0x51'),_0x455350=>{const _0x2b02e1=_0x455350[_0x551f('0x16')](_0x91c84b=>_0x91c84b[_0x551f('0x31')]()),_0x4d47ac=_0x2b02e1[0x0][_0x551f('0x8e')](_0x551f('0x25')),{minColumn:_0x12f647,maxColumn:_0x1389cb}=_0x4f7339[_0x551f('0x44')](_0x2b02e1);_0x510534['removeColumns'](_0x4d47ac,{'at':_0x12f647,'columns':_0x1389cb-_0x12f647+0x1});});const _0x166964=(_0x4cd22d,_0x1ecb58)=>{if(!_0x1ecb58['subType']||!_0x1ecb58['subType'][_0x551f('0x9')](_0x551f('0x23')))return;const _0x36091f=_0x1ecb58['attributes']['tablePasteChainId'],_0x48a46b=_0x274d92['getSuggestions']()[_0x551f('0x65')](_0x3d15f5=>_0x3d15f5[_0x551f('0x59')]&&_0x3d15f5[_0x551f('0x50')]&&_0x3d15f5[_0x551f('0x50')][_0x551f('0x98')]==_0x36091f);_0x48a46b[_0x551f('0x8')]&&_0x1ecb58[_0x551f('0x3c')]()[_0x551f('0x8')]!=_0x48a46b[_0x551f('0x8')]&&_0x48a46b[_0x551f('0x56')]((_0xe1c95d,_0x4ad8c7)=>(_0xe1c95d[_0x551f('0x92')]=_0x4ad8c7,_0x4ad8c7[_0x551f('0x8c')]=_0xe1c95d,_0x4ad8c7));};function _0x5678c7(_0x265022,_0x134325=!0x0){const {id:_0x16ea78}=_0x274d92['_splitMarkerName'](_0x265022[_0x551f('0x30')]),_0x1cda74=[_0x551f('0x7c'),_0x551f('0x7a')],_0x591e79=_0x274d92['activeMarkers']['includes'](_0x265022[_0x551f('0x30')]);return _0x591e79&&_0x1cda74[_0x551f('0x61')](_0x551f('0x38')),{'classes':_0x1cda74,'attributes':{'data-suggestion':_0x16ea78},'priority':_0x591e79&&_0x134325?0xbc2:0xbb8};}_0x274d92['on'](_0x551f('0x47'),_0x166964,{'priority':_0x551f('0x72')}),_0x274d92['on']('suggestionUnloaded',_0x166964,{'priority':_0x551f('0x72')}),_0x5d8bd4['model'][_0x551f('0x8a')][_0x551f('0x70')](()=>{let _0x136553=!0x1;const _0x5f19e4=Array['from'](_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x8a')][_0x551f('0x94')][_0x551f('0x5f')]());for(const {name:_0x1da946,data:_0x407471}of _0x5f19e4){const {group:_0x6c7c20,type:_0xd39b3e,id:_0x461df9}=_0x274d92[_0x551f('0x12')](_0x1da946);if(_0x551f('0x93')!=_0x6c7c20||_0x551f('0x4b')!=_0xd39b3e||_0x407471[_0x551f('0x40')])continue;if(!_0x274d92['hasSuggestion'](_0x461df9))continue;const _0x3819a5=_0x274d92[_0x551f('0x22')](_0x461df9)[_0x551f('0x43')](),_0x3fbe36=_0x5d8bd4[_0x551f('0x5c')]['get'](_0x551f('0x49'))['me'];for(const _0x54e255 of _0x274d92[_0x551f('0x33')]()){if(!_0x54e255[_0x551f('0x59')]||_0x54e255[_0x551f('0x3b')]!=_0x3fbe36)continue;if('formatBlock'!=_0x54e255[_0x551f('0x52')]||_0x551f('0x26')!=_0x54e255[_0x551f('0x1')])continue;if(_0x54e255[_0x551f('0x43')]()[_0x551f('0x87')](_0x595b4e=>_0x3819a5[_0x551f('0x4d')](_0x350397=>_0x350397[_0x551f('0x3d')](_0x595b4e,!0x0))))for(const _0x4104ae of _0x54e255[_0x551f('0x3c')]())_0x4104ae[_0x551f('0x59')]&&(_0x4104ae[_0x551f('0x51')](),_0x136553=!0x0);}}return _0x136553;}),_0x5d8bd4[_0x551f('0x2f')]['document']['registerPostFixer'](_0x4712c0=>{const _0x4f44d3=_0x5d8bd4[_0x551f('0x88')][_0x551f('0x68')]('redo');if(!_0x4f44d3||!_0x4f44d3[_0x551f('0x15')][_0x551f('0x6')](_0x4712c0[_0x551f('0x2')]))return!0x1;let _0x23af07=!0x1;const _0x1d4fdf=_0x5d8bd4[_0x551f('0x5c')]['get'](_0x551f('0x49'))['me'],_0x54280=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x8a')][_0x551f('0x94')]['getChanges'](),_0x86dedc=Array[_0x551f('0x60')](_0x5d8bd4['model'][_0x551f('0x8a')][_0x551f('0x94')][_0x551f('0x5f')]())[_0x551f('0x65')](({name:_0x167722,data:_0x2329c5})=>{const {group:_0x3877a1,subType:_0x269d9a,authorId:_0x45f0d8}=_0x274d92[_0x551f('0x12')](_0x167722);return _0x551f('0x93')==_0x3877a1&&_0x551f('0x23')==_0x269d9a&&_0x45f0d8==_0x1d4fdf['id']&&!_0x2329c5['oldRange'];});for(const _0x24e003 of _0x54280){if('insert'!=_0x24e003[_0x551f('0x52')]||_0x551f('0x69')!=_0x24e003['name']||0x1!=_0x24e003[_0x551f('0x8')])continue;const _0x2eef04=_0x4712c0['createRange'](_0x24e003[_0x551f('0x79')],_0x24e003[_0x551f('0x79')][_0x551f('0x9b')](0x1));if(!_0x86dedc[_0x551f('0x95')](({data:_0x2aba00})=>_0x2aba00[_0x551f('0x0')]['isEqual'](_0x2eef04)))for(const {name:_0x41a38a,data:_0x384552}of _0x86dedc)if(_0x2eef04[_0x551f('0x3d')](_0x384552['newRange'])){_0x4712c0[_0x551f('0x9e')](_0x41a38a,{'range':_0x2eef04}),_0x23af07=!0x0;break;}}return _0x23af07;}),_0x5d8bd4['model'][_0x551f('0x8a')]['registerPostFixer'](_0x56fb6c=>{let _0x4683b0=!0x1;const _0x1216ef=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x49'))['me'],_0x50357b=_0x274d92[_0x551f('0x33')]()[_0x551f('0x65')](_0x3a6d28=>_0x3a6d28[_0x551f('0x59')]&&_0x3a6d28[_0x551f('0x3b')]==_0x1216ef),_0x3f6651=new Set(),_0x1a05e3=new Set();for(const _0x1adbdd of _0x50357b)if('tablePaste'==_0x1adbdd['subType'])for(const _0x24535c of _0x1adbdd['getMarkers']()){const _0x3c559b=_0x24535c[_0x551f('0x6f')]()['getContainedElement']();if(_0x3c559b){if(_0x3c559b['is']('element',_0x551f('0x69'))&&ce(_0x3c559b)){_0x1adbdd[_0x551f('0x82')](_0x24535c[_0x551f('0x9d')]),_0x3f6651[_0x551f('0x9f')](_0x3c559b),_0x4683b0=!0x0;const _0x3ca6ab=_0x3c559b['nextSibling'],_0x9351dc=_0x3c559b[_0x551f('0x5d')],_0x5922c1=_0x3ca6ab&&_0x3ca6ab['is'](_0x551f('0xe'),'tableCellSuggestion'),_0x20e372=_0x9351dc&&_0x9351dc['is']('element',_0x551f('0x69'));_0x5922c1&&!_0x3f6651['has'](_0x3ca6ab)&&_0x1a05e3[_0x551f('0x9f')](_0x3ca6ab),_0x20e372&&!_0x3f6651[_0x551f('0x6')](_0x9351dc)&&_0x1a05e3[_0x551f('0x9f')](_0x9351dc);}else _0x3c559b['is'](_0x551f('0xe'),_0x551f('0x71'))&&_0x3c559b[_0x551f('0x62')]&&(_0x1adbdd[_0x551f('0x82')](_0x24535c['name']),_0x4683b0=!0x0);}}else{if(_0x551f('0x26')==_0x1adbdd[_0x551f('0x1')]){if(!_0x1adbdd[_0x551f('0x50')]||!_0x1adbdd['attributes'][_0x551f('0x98')])continue;const _0x70f57d=_0x1adbdd[_0x551f('0x50')][_0x551f('0x46')];if(_0x70f57d&&Object[_0x551f('0x6b')](_0x70f57d)[_0x551f('0x8')])continue;const _0x1081a0=_0x1adbdd[_0x551f('0x50')][_0x551f('0x98')];let _0x540b4f=!0x0,_0x21ce4a=!0x0;for(const _0x25110f of _0x50357b)if(_0x25110f[_0x551f('0x1')]&&_0x25110f[_0x551f('0x1')][_0x551f('0x9')](_0x551f('0x23'))){if(!_0x25110f['attributes'][_0x551f('0x98')]){_0x21ce4a=!0x1;break;}if(_0x25110f['id']!=_0x1adbdd['id']&&_0x25110f['attributes'][_0x551f('0x98')]==_0x1081a0){_0x540b4f=!0x1;break;}}_0x21ce4a&&_0x540b4f&&(_0x1adbdd['removeMarkers'](),_0x4683b0=!0x0);}}for(const _0x5c7925 of _0x3f6651)_0x56fb6c['remove'](_0x5c7925);for(const _0x24455c of _0x1a05e3)_0x56fb6c[_0x551f('0x1c')](_0x24455c);return _0x4683b0;}),_0x5d8bd4['conversion'][_0x551f('0xb')](_0x551f('0x53'))[_0x551f('0x4a')]({'model':_0x551f('0xa5'),'view':(_0x554099,_0x325662)=>_0x5678c7(_0x554099),'converterPriority':_0x551f('0x72')}),_0x5d8bd4[_0x551f('0x77')][_0x551f('0xb')](_0x551f('0xa6'))[_0x551f('0x4a')]({'model':_0x551f('0xa5'),'view':(_0x49222c,_0x331597)=>_0x331597[_0x551f('0xa2')][_0x551f('0x36')]?_0x5678c7(_0x49222c,!0x1):null,'converterPriority':_0x551f('0x72')});const _0x40ae2f=_0x5d8bd4[_0x551f('0x8d')][_0x551f('0x67')];this['listenTo'](_0x40ae2f[_0x551f('0x8a')],_0x551f('0x4f'),(_0x2cf29a,_0x15d78e)=>{const _0x36f860=[];for(const _0x197c60 of _0x40ae2f['createRangeIn'](_0x15d78e[_0x551f('0x1e')])[_0x551f('0xa4')]())_0x197c60['is']('element',_0x551f('0x89'))&&_0x36f860[_0x551f('0x61')](_0x197c60);_0x40ae2f[_0x551f('0x45')](_0x30fcec=>{for(const _0x39182a of _0x36f860)_0x30fcec[_0x551f('0x3')](_0x30fcec[_0x551f('0x11')](_0x39182a),_0x30fcec[_0x551f('0x7')](_0x39182a)),_0x30fcec[_0x551f('0x3a')](_0x39182a);});});}}function ce(_0x4f21a0){if(_0x4f21a0['isEmpty'])return!0x0;const _0x4cb25f=_0x4f21a0[_0x551f('0x41')](0x0);return _0x4cb25f['is'](_0x551f('0xe'),_0x551f('0x71'))&&_0x4cb25f[_0x551f('0x62')];}function fe(_0x4de9d6,_0x3f41ba={},_0x13476c){for(const {isAnchor:_0x2036e5,cellHeight:_0x1cd871,cellWidth:_0x5cf217}of _0x13476c[_0x551f('0x63')](_0x4de9d6,{'includeAllSlots':!0x0,..._0x3f41ba}))if(!_0x2036e5||0x1!=_0x1cd871||0x1!=_0x5cf217)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26a2=['accept','getTableColumnsWidths','resizeTable','TrackChangesEditing','formatBlock','handleResizeTableWidthCommand','handleSuggestionDescription','columnWidths','change','selection','document','author','editor','getContainedElement','getSuggestionCallback','afterInit','format','enableCommand','registerCustomCallback','bind','discard','resizeColumnWidths','model','get','Users','subType','*Format:*\x20resize\x20table','tableWidth','table','_suggestionFactory','resizeTableWidth','_descriptionFactory','getAttribute','TableColumnResizeEditing','has','plugins','getColumnGroupElement','locale','formatGroupId'];(function(_0x1e9fcb,_0x26a273){const _0x1f4f7c=function(_0x2b428f){while(--_0x2b428f){_0x1e9fcb['push'](_0x1e9fcb['shift']());}};_0x1f4f7c(++_0x26a273);}(_0x26a2,0xe4));const _0x1f4f=function(_0x1e9fcb,_0x26a273){_0x1e9fcb=_0x1e9fcb-0x0;let _0x1f4f7c=_0x26a2[_0x1e9fcb];return _0x1f4f7c;};import{Plugin as _0xab3633}from'ckeditor5/src/core';import{getTranslation as _0x3fb37d}from'../utils/common-translations';export default class wt extends _0xab3633{[_0x1f4f('0x15')](){if(!this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1')]('TableColumnResizeEditing'))return;const _0x3f6820=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')]('TrackChangesEditing');_0x3f6820[_0x1f4f('0x17')](_0x1f4f('0x24'),this[_0x1f4f('0xb')][_0x1f4f('0x19')](this)),_0x3f6820['enableCommand'](_0x1f4f('0x1b'),this[_0x1f4f('0xb')]['bind'](this)),_0x3f6820['_suggestionFactory'][_0x1f4f('0x18')](_0x1f4f('0xa'),_0x1f4f('0x8'),'accept',_0x3f6820[_0x1f4f('0x23')][_0x1f4f('0x14')](_0x1f4f('0xa'),null,_0x1f4f('0x1a'))),_0x3f6820[_0x1f4f('0x23')]['registerCustomCallback'](_0x1f4f('0xa'),_0x1f4f('0x8'),'discard',_0x3f6820[_0x1f4f('0x23')][_0x1f4f('0x14')](_0x1f4f('0xa'),null,_0x1f4f('0x6'))),_0x3f6820[_0x1f4f('0x25')]['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x1f4f('0x19')](this));}['handleResizeTableWidthCommand'](_0x546960,_0x29113e){const _0x2980c3=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x9')),_0xab64f7=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x0')),_0x4cb4a7=_0x29113e[_0x1f4f('0x22')]||this[_0x1f4f('0x12')]['model'][_0x1f4f('0x10')][_0x1f4f('0xf')]['getSelectedElement']();this[_0x1f4f('0x12')][_0x1f4f('0x1c')][_0x1f4f('0xe')](()=>{const _0x3df278=_0xab64f7[_0x1f4f('0x3')](_0x4cb4a7);let _0x3bc336=_0x3df278?_0xab64f7[_0x1f4f('0x7')](_0x3df278):null,_0x5c6dee=_0x4cb4a7[_0x1f4f('0x26')]('tableWidth')||null;const _0x55d30=_0x29113e[_0x1f4f('0x21')]||_0x5c6dee,_0x33cfa2=_0x29113e[_0x1f4f('0xd')]||_0x3bc336,_0x4cc43f=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x1e'))['me'];for(const _0x2c2db9 of _0x2980c3['getSuggestions']()){const _0x1457fc=_0x2c2db9[_0x1f4f('0x13')]();if('resizeTable'===_0x2c2db9[_0x1f4f('0x1f')]&&_0x1457fc===_0x4cb4a7){_0x2c2db9[_0x1f4f('0x11')]!==_0x4cc43f&&_0x2c2db9[_0x1f4f('0x1a')]();const _0x383d87=_0x2c2db9['data']['commandParams'];_0x5c6dee=_0x383d87[0x0][_0x1f4f('0x21')],_0x3bc336=_0x383d87[0x0][_0x1f4f('0xd')];break;}}_0x546960({'table':_0x4cb4a7,'tableWidth':_0x55d30,'columnWidths':_0x33cfa2}),_0x2980c3['markBlockFormat'](_0x4cb4a7,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x5c6dee,'columnWidths':_0x3bc336}],'formatGroupId':_0x1f4f('0x8')},[],_0x1f4f('0x8'));});}[_0x1f4f('0xc')](_0x8c9c05){const {data:_0x166198}=_0x8c9c05;if(_0x166198&&_0x1f4f('0x8')===_0x166198[_0x1f4f('0x5')]){const _0x42a4d3=_0x1f4f('0x20');return{'type':_0x1f4f('0x16'),'content':_0x3fb37d(this['editor'][_0x1f4f('0x4')],_0x42a4d3)};}}}
23
+ const _0x9d03=['document','TrackChangesEditing','_suggestionFactory','format','data','locale','enableCommand','getTableColumnsWidths','handleResizeTableWidthCommand','getContainedElement','formatGroupId','getSuggestionCallback','afterInit','columnWidths','registerDescriptionCallback','discard','accept','model','has','author','change','registerCustomCallback','selection','plugins','_descriptionFactory','getColumnGroupElement','table','getAttribute','*Format:*\x20resize\x20table','resizeTableWidth','TableColumnResizeEditing','commandParams','tableWidth','handleSuggestionDescription','editor','subType','get','formatBlock','resizeTable','Users','markBlockFormat','bind'];(function(_0x40870d,_0x9d03ac){const _0x4cdd1e=function(_0x610d85){while(--_0x610d85){_0x40870d['push'](_0x40870d['shift']());}};_0x4cdd1e(++_0x9d03ac);}(_0x9d03,0x173));const _0x4cdd=function(_0x40870d,_0x9d03ac){_0x40870d=_0x40870d-0x0;let _0x4cdd1e=_0x9d03[_0x40870d];return _0x4cdd1e;};import{Plugin as _0x474931}from'ckeditor5/src/core';import{getTranslation as _0x1c5e1c}from'../utils/common-translations';export default class wt extends _0x474931{[_0x4cdd('0x13')](){if(!this[_0x4cdd('0x29')][_0x4cdd('0x1e')][_0x4cdd('0x19')](_0x4cdd('0x25')))return;const _0x53f54c=this[_0x4cdd('0x29')]['plugins'][_0x4cdd('0x1')](_0x4cdd('0x8'));_0x53f54c[_0x4cdd('0xd')]('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x4cdd('0x6')](this)),_0x53f54c[_0x4cdd('0xd')]('resizeColumnWidths',this[_0x4cdd('0xf')]['bind'](this)),_0x53f54c[_0x4cdd('0x9')][_0x4cdd('0x1c')](_0x4cdd('0x2'),'resizeTable','accept',_0x53f54c['_suggestionFactory'][_0x4cdd('0x12')](_0x4cdd('0x2'),null,_0x4cdd('0x16'))),_0x53f54c[_0x4cdd('0x9')]['registerCustomCallback'](_0x4cdd('0x2'),_0x4cdd('0x3'),_0x4cdd('0x16'),_0x53f54c[_0x4cdd('0x9')]['getSuggestionCallback'](_0x4cdd('0x2'),null,_0x4cdd('0x17'))),_0x53f54c[_0x4cdd('0x1f')][_0x4cdd('0x15')](this['handleSuggestionDescription'][_0x4cdd('0x6')](this));}['handleResizeTableWidthCommand'](_0x44d34c,_0x453dca){const _0x334c92=this[_0x4cdd('0x29')][_0x4cdd('0x1e')][_0x4cdd('0x1')](_0x4cdd('0x8')),_0x2ebd0a=this[_0x4cdd('0x29')][_0x4cdd('0x1e')]['get'](_0x4cdd('0x25')),_0x22bda4=_0x453dca[_0x4cdd('0x21')]||this[_0x4cdd('0x29')][_0x4cdd('0x18')][_0x4cdd('0x7')][_0x4cdd('0x1d')]['getSelectedElement']();this[_0x4cdd('0x29')][_0x4cdd('0x18')][_0x4cdd('0x1b')](()=>{const _0x5adc87=_0x2ebd0a[_0x4cdd('0x20')](_0x22bda4);let _0x5aabc3=_0x5adc87?_0x2ebd0a[_0x4cdd('0xe')](_0x5adc87):null,_0x20f7f9=_0x22bda4[_0x4cdd('0x22')](_0x4cdd('0x27'))||null;const _0x4b05a1=_0x453dca[_0x4cdd('0x27')]||_0x20f7f9,_0x56859b=_0x453dca[_0x4cdd('0x14')]||_0x5aabc3,_0x3227b0=this['editor']['plugins'][_0x4cdd('0x1')](_0x4cdd('0x4'))['me'];for(const _0x87ca5a of _0x334c92['getSuggestions']()){const _0x443234=_0x87ca5a[_0x4cdd('0x10')]();if(_0x4cdd('0x3')===_0x87ca5a[_0x4cdd('0x0')]&&_0x443234===_0x22bda4){_0x87ca5a[_0x4cdd('0x1a')]!==_0x3227b0&&_0x87ca5a[_0x4cdd('0x16')]();const _0x44d4fd=_0x87ca5a[_0x4cdd('0xb')][_0x4cdd('0x26')];_0x20f7f9=_0x44d4fd[0x0]['tableWidth'],_0x5aabc3=_0x44d4fd[0x0][_0x4cdd('0x14')];break;}}_0x44d34c({'table':_0x22bda4,'tableWidth':_0x4b05a1,'columnWidths':_0x56859b}),_0x334c92[_0x4cdd('0x5')](_0x22bda4,{'commandName':_0x4cdd('0x24'),'commandParams':[{'tableWidth':_0x20f7f9,'columnWidths':_0x5aabc3}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x4cdd('0x28')](_0x5f97b3){const {data:_0x21a89d}=_0x5f97b3;if(_0x21a89d&&'resizeTable'===_0x21a89d[_0x4cdd('0x11')]){const _0x28e712=_0x4cdd('0x23');return{'type':_0x4cdd('0xa'),'content':_0x1c5e1c(this['editor'][_0x4cdd('0xc')],_0x28e712)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453a=['model','first','removeAttribute','createPositionBefore','showSuggestionHighlights','markerName','getSuggestion','getColumnIndexes','formatBlock','_descriptionFactory','nodeAfter','consume','getRowIndexes','editor','childCount','FORMAT_REGULAR_ROW','_splitMarkerName','headingRows','data','writer','item','setAttribute','data-suggestion','ck-suggestion-marker--active','TableEditing','setTableColumnHeader','markerRange','enableCommand','getAttribute','consumable','forceValue','format','parent','bindElementToMarker','downcastDispatcher','commandName','setTableRowHeader','addMarker:suggestion','name','createRange','stop','createTableWalker','end','markBlockFormat','ck-suggestion-marker-','FORMAT_HEADER_ROW','findAncestor','unbindElementFromMarkerName','last','registerCustomCallback','createPositionAfter','*Format:*\x20%0','selection','get','requires','nodeBefore','registerDescriptionCallback','isBefore','toViewElement','from','value','getCellLocation','cell','commandParams','document','removeMarker:suggestion','highest','removeClass','getChild','has','mapper','TableUtils','index','getSelectionAffectedTableCells','plugins','FORMAT_HEADER_COLUMN','FORMAT_REGULAR_COLUMN','TrackChangesEditing','markerNameToElements','afterInit'];(function(_0x424be1,_0x453aca){const _0x1ad02a=function(_0x32e402){while(--_0x32e402){_0x424be1['push'](_0x424be1['shift']());}};_0x1ad02a(++_0x453aca);}(_0x453a,0x17a));const _0x1ad0=function(_0x424be1,_0x453aca){_0x424be1=_0x424be1-0x0;let _0x1ad02a=_0x453a[_0x424be1];return _0x1ad02a;};import{Plugin as _0x461e0f}from'ckeditor5/src/core';import _0x33a2c0 from'./table';import{getTranslation as _0x11faa5}from'../utils/common-translations';export default class pt extends _0x461e0f{static get[_0x1ad0('0x4c')](){return[_0x33a2c0];}[_0x1ad0('0x15')](){const _0x493011=this[_0x1ad0('0x23')];if(!_0x493011[_0x1ad0('0x10')][_0x1ad0('0xb')](_0x1ad0('0x2e')))return;const _0xb11e6f=_0x493011['locale'],_0x360aed=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x1ad0('0x13')),_0x1880f1=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x1ad0('0xd')),_0x3368df=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x33a2c0);function _0x15ffe4({showActiveMarker:_0xb0fd5d=!0x0,setDataAttribute:_0x4bef4a=!0x0}={}){return(_0x20a2a8,_0x492ea1,_0x4cd438)=>{const {type:_0x1e9e36,id:_0x485d3f}=_0x360aed[_0x1ad0('0x26')](_0x492ea1[_0x1ad0('0x1b')]),_0x3bf2ac=_0x360aed['getSuggestion'](_0x485d3f);if(!_0x3bf2ac[_0x1ad0('0x28')]||'setTableColumnHeader'!=_0x3bf2ac[_0x1ad0('0x28')][_0x1ad0('0x39')])return;if(_0x492ea1[_0x1ad0('0x2a')])return void _0x20a2a8[_0x1ad0('0x3e')]();if(!_0x4cd438[_0x1ad0('0x33')][_0x1ad0('0x21')](_0x492ea1[_0x1ad0('0x30')],_0x20a2a8[_0x1ad0('0x3c')]))return;const _0x1c4148=_0x492ea1['markerRange']['start'][_0x1ad0('0x20')],_0x64e13=_0x492ea1[_0x1ad0('0x30')][_0x1ad0('0x40')][_0x1ad0('0x4d')],_0x4e87eb=_0x1c4148[_0x1ad0('0x36')]['parent'],{column:_0x1af414}=_0x1880f1[_0x1ad0('0x3')](_0x1c4148),{column:_0x3a4ca5}=_0x1880f1[_0x1ad0('0x3')](_0x64e13);for(let _0x5f5b98=_0x1af414;_0x5f5b98<=_0x3a4ca5;_0x5f5b98++){const _0x536d14=_0x1880f1[_0x1ad0('0x3f')](_0x4e87eb,{'column':_0x5f5b98,'includeAllSlots':!0x1});for(const _0x477bd2 of _0x536d14){const _0x28d8e6=_0x477bd2[_0x1ad0('0x4')],_0x3d9847=_0x4cd438[_0x1ad0('0xc')][_0x1ad0('0x0')](_0x28d8e6);_0x4cd438[_0x1ad0('0x29')]['addClass'](_0x1ad0('0x42')+_0x1e9e36,_0x3d9847),_0x4bef4a&&_0x4cd438[_0x1ad0('0x29')][_0x1ad0('0x2b')](_0x1ad0('0x2c'),_0x485d3f,_0x3d9847),_0x4cd438[_0x1ad0('0xc')][_0x1ad0('0x37')](_0x3d9847,_0x492ea1[_0x1ad0('0x1b')]),_0xb0fd5d&&(_0x360aed['activeMarkers']['includes'](_0x492ea1[_0x1ad0('0x1b')])?_0x4cd438[_0x1ad0('0x29')]['addClass'](_0x1ad0('0x2d'),_0x3d9847):_0x4cd438[_0x1ad0('0x29')]['removeClass'](_0x1ad0('0x2d'),_0x3d9847));}}};}_0x360aed[_0x1ad0('0x31')](_0x1ad0('0x3a'),(_0x3fdcf8,_0x2fbe18)=>{const _0x5ace7e=_0x1880f1[_0x1ad0('0xf')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x6')][_0x1ad0('0x4a')]),_0x370546=_0x1880f1[_0x1ad0('0x22')](_0x5ace7e),_0x4cca61=_0x5ace7e[0x0]['findAncestor']('table'),_0x450221=_0x4cca61[_0x1ad0('0x32')](_0x1ad0('0x27'))||0x0,_0x5e5e5b=_0x2fbe18&&null!==_0x2fbe18[_0x1ad0('0x34')]?_0x2fbe18[_0x1ad0('0x34')]:!_0x493011['commands'][_0x1ad0('0x4b')]('setTableRowHeader')[_0x1ad0('0x2')],_0x39d3c8=_0x5e5e5b?_0x370546[_0x1ad0('0x46')]:_0x370546[_0x1ad0('0x17')],_0xcb2fbc=_0x4cca61[_0x1ad0('0xa')](_0x39d3c8);let _0x17b0f8;if(_0x5e5e5b){const _0x193edf=_0x4cca61[_0x1ad0('0xa')](_0x450221);if(_0xcb2fbc[_0x1ad0('0xe')]<_0x193edf[_0x1ad0('0xe')])return;_0x17b0f8=_0x493011['model'][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x19')](_0x193edf[_0x1ad0('0xa')](0x0)),_0x493011[_0x1ad0('0x16')][_0x1ad0('0x48')](_0xcb2fbc[_0x1ad0('0xa')](_0xcb2fbc['childCount']-0x1)));}else{const _0x22e195=_0x4cca61[_0x1ad0('0xa')](_0x450221-0x1);if(!_0x22e195)return;_0x17b0f8=_0x493011[_0x1ad0('0x16')]['createRange'](_0x493011['model']['createPositionBefore'](_0xcb2fbc[_0x1ad0('0xa')](0x0)),_0x493011['model'][_0x1ad0('0x48')](_0x22e195[_0x1ad0('0xa')](_0x22e195[_0x1ad0('0x24')]-0x1)));}_0x493011[_0x1ad0('0x16')]['change'](()=>{_0x360aed[_0x1ad0('0x41')](_0x17b0f8,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5e5e5b}]},[],_0x1ad0('0x3a'));});}),_0x360aed[_0x1ad0('0x31')](_0x1ad0('0x2f'),(_0x2b4379,_0x2f153b)=>{const _0x35e41e=_0x493011['plugins'][_0x1ad0('0x4b')](_0x1ad0('0xd')),_0x4e02b4=_0x35e41e['getSelectionAffectedTableCells'](_0x493011[_0x1ad0('0x16')]['document'][_0x1ad0('0x4a')]),_0x2a8c94=_0x35e41e[_0x1ad0('0x1d')](_0x4e02b4),_0x2409b4=_0x4e02b4[0x0][_0x1ad0('0x44')]('table'),_0x528bfa=_0x2409b4[_0x1ad0('0x32')]('headingColumns')||0x0,_0x4c4e5a=_0x2f153b&&null!==_0x2f153b[_0x1ad0('0x34')]?_0x2f153b[_0x1ad0('0x34')]:!_0x493011['commands'][_0x1ad0('0x4b')]('setTableColumnHeader')[_0x1ad0('0x2')];let _0x4d186e;const _0x2c19d9=_0x2409b4[_0x1ad0('0xa')](0x0),_0xc0c7ae=_0x4c4e5a?_0x2a8c94[_0x1ad0('0x46')]:_0x2a8c94[_0x1ad0('0x17')],_0x540174=_0x35e41e['createTableWalker'](_0x2409b4,{'startRow':0x0,'column':_0xc0c7ae,'includeAllSlots':!0x1}),_0x38f966=Array[_0x1ad0('0x1')](_0x540174)[0x0][_0x1ad0('0x4')];if(_0x4c4e5a){const _0x2bb47e=_0x2c19d9[_0x1ad0('0xa')](_0x528bfa);if(_0x38f966[_0x1ad0('0x4f')](_0x2bb47e))return;_0x4d186e=_0x493011['model'][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x19')](_0x2bb47e),_0x493011[_0x1ad0('0x16')]['createPositionAfter'](_0x38f966));}else{const _0x4ca06f=_0x2c19d9[_0x1ad0('0xa')](_0x528bfa-0x1);if(!_0x4ca06f)return;_0x4d186e=_0x493011[_0x1ad0('0x16')][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')]['createPositionBefore'](_0x38f966),_0x493011[_0x1ad0('0x16')][_0x1ad0('0x48')](_0x4ca06f));}_0x493011[_0x1ad0('0x16')]['change'](()=>{_0x360aed[_0x1ad0('0x41')](_0x4d186e,{'commandName':_0x1ad0('0x2f'),'commandParams':[{'forceValue':_0x4c4e5a}]},[],_0x1ad0('0x2f'));});}),_0x493011['editing'][_0x1ad0('0x38')]['on']('addMarker:suggestion',_0x15ffe4(),{'priority':_0x1ad0('0x8')}),_0x493011[_0x1ad0('0x28')]['downcastDispatcher']['on'](_0x1ad0('0x3b'),(_0x1c289f,_0x604da,_0x26327f)=>{_0x26327f['options'][_0x1ad0('0x1a')]&&_0x15ffe4({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1c289f,_0x604da,_0x26327f);},{'priority':_0x1ad0('0x8')}),_0x493011['editing']['downcastDispatcher']['on'](_0x1ad0('0x7'),(_0x4a8f76,_0x2baeff,_0x506f5a)=>{const {type:_0x1d61f1,id:_0xae08f1}=_0x360aed['_splitMarkerName'](_0x2baeff[_0x1ad0('0x1b')]),_0x4178fd=_0x360aed[_0x1ad0('0x1c')](_0xae08f1);if(!_0x4178fd[_0x1ad0('0x28')]||'setTableColumnHeader'!=_0x4178fd[_0x1ad0('0x28')]['commandName'])return;const _0x2adeaf=_0x506f5a[_0x1ad0('0xc')][_0x1ad0('0x14')](_0x2baeff['markerName']);if(_0x2adeaf)for(const _0x4bd8c2 of _0x2adeaf)_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x9')](_0x1ad0('0x42')+_0x1d61f1,_0x4bd8c2),_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x9')](_0x1ad0('0x2d'),_0x4bd8c2),_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x18')](_0x1ad0('0x2c'),_0x4bd8c2),_0x506f5a[_0x1ad0('0xc')][_0x1ad0('0x45')](_0x4bd8c2,_0x2baeff[_0x1ad0('0x1b')]);},{'priority':_0x1ad0('0x8')}),_0x360aed[_0x1ad0('0x1f')][_0x1ad0('0x4e')](_0x3f58c1=>{const {data:_0x428b3c}=_0x3f58c1;if(_0x428b3c){if(_0x1ad0('0x3a')==_0x428b3c[_0x1ad0('0x39')]){const _0x2d3c14=_0x428b3c[_0x1ad0('0x5')][0x0][_0x1ad0('0x34')];return _0x41d208(_0x11faa5(_0xb11e6f,_0x2d3c14?_0x1ad0('0x43'):_0x1ad0('0x25')));}if(_0x1ad0('0x2f')==_0x428b3c[_0x1ad0('0x39')]){const _0x1e15d9=_0x428b3c[_0x1ad0('0x5')][0x0]['forceValue'];return _0x41d208(_0x11faa5(_0xb11e6f,_0x1e15d9?_0x1ad0('0x11'):_0x1ad0('0x12')));}}function _0x41d208(_0x3f2c16){return{'type':_0x1ad0('0x35'),'content':_0x11faa5(_0xb11e6f,_0x1ad0('0x49'),_0x3f2c16)};}});const _0x2f9bd9=_0x3368df['_acceptFormatSuggestionCallbackFactory']();_0x360aed['_suggestionFactory'][_0x1ad0('0x47')](_0x1ad0('0x1e'),_0x1ad0('0x3a'),'accept',_0x2f9bd9),_0x360aed['_suggestionFactory'][_0x1ad0('0x47')](_0x1ad0('0x1e'),_0x1ad0('0x2f'),'accept',_0x2f9bd9);}}
23
+ const _0x5e8c=['showSuggestionHighlights','parent','index','enableCommand','removeAttribute','options','consumable','registerCustomCallback','table','isBefore','ck-suggestion-marker--active','formatBlock','name','item','locale','getSelectionAffectedTableCells','ck-suggestion-marker-','createTableWalker','editor','headingRows','toViewElement','first','findAncestor','removeClass','change','accept','TableEditing','model','_suggestionFactory','unbindElementFromMarkerName','end','setTableRowHeader','createRange','afterInit','nodeAfter','markerName','FORMAT_REGULAR_COLUMN','data','addMarker:suggestion','setAttribute','markBlockFormat','TableUtils','requires','value','data-suggestion','setTableColumnHeader','get','createPositionBefore','document','mapper','highest','plugins','getSuggestion','nodeBefore','forceValue','cell','TrackChangesEditing','getAttribute','addClass','commandName','*Format:*\x20%0','commands','getColumnIndexes','markerRange','createPositionAfter','registerDescriptionCallback','format','FORMAT_REGULAR_ROW','getCellLocation','headingColumns','downcastDispatcher','writer','last','editing','bindElementToMarker','getChild','_acceptFormatSuggestionCallbackFactory','_descriptionFactory','childCount','removeMarker:suggestion','selection','commandParams','has'];(function(_0x33b3ab,_0x5e8c09){const _0x57cbf0=function(_0x403b25){while(--_0x403b25){_0x33b3ab['push'](_0x33b3ab['shift']());}};_0x57cbf0(++_0x5e8c09);}(_0x5e8c,0x13d));const _0x57cb=function(_0x33b3ab,_0x5e8c09){_0x33b3ab=_0x33b3ab-0x0;let _0x57cbf0=_0x5e8c[_0x33b3ab];return _0x57cbf0;};import{Plugin as _0x51cc06}from'ckeditor5/src/core';import _0x52c776 from'./table';import{getTranslation as _0xff836e}from'../utils/common-translations';export default class pt extends _0x51cc06{static get[_0x57cb('0x39')](){return[_0x52c776];}[_0x57cb('0x30')](){const _0x5bde4e=this[_0x57cb('0x21')];if(!_0x5bde4e[_0x57cb('0x42')][_0x57cb('0xe')](_0x57cb('0x29')))return;const _0x33cd51=_0x5bde4e[_0x57cb('0x1d')],_0x37533d=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x57cb('0x47')),_0x1732dd=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')]('TableUtils'),_0x361e77=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x52c776);function _0x28beeb({showActiveMarker:_0x4de9b4=!0x0,setDataAttribute:_0x359aca=!0x0}={}){return(_0x3056cd,_0x180a3,_0x3e65aa)=>{const {type:_0x36e666,id:_0x5dfdd1}=_0x37533d['_splitMarkerName'](_0x180a3[_0x57cb('0x32')]),_0x3dd8f0=_0x37533d[_0x57cb('0x43')](_0x5dfdd1);if(!_0x3dd8f0[_0x57cb('0x34')]||_0x57cb('0x3c')!=_0x3dd8f0[_0x57cb('0x34')][_0x57cb('0x4a')])return;if(_0x180a3[_0x57cb('0x1c')])return void _0x3056cd['stop']();if(!_0x3e65aa[_0x57cb('0x15')]['consume'](_0x180a3[_0x57cb('0x4e')],_0x3056cd[_0x57cb('0x1b')]))return;const _0x29fe96=_0x180a3['markerRange']['start'][_0x57cb('0x31')],_0x456e52=_0x180a3[_0x57cb('0x4e')][_0x57cb('0x2d')][_0x57cb('0x44')],_0x163dfa=_0x29fe96['parent'][_0x57cb('0x10')],{column:_0x484ea0}=_0x1732dd[_0x57cb('0x0')](_0x29fe96),{column:_0x57226a}=_0x1732dd['getCellLocation'](_0x456e52);for(let _0x39bf7c=_0x484ea0;_0x39bf7c<=_0x57226a;_0x39bf7c++){const _0x483de3=_0x1732dd[_0x57cb('0x20')](_0x163dfa,{'column':_0x39bf7c,'includeAllSlots':!0x1});for(const _0xe4e7bd of _0x483de3){const _0x15b42e=_0xe4e7bd['cell'],_0x5e5b82=_0x3e65aa[_0x57cb('0x40')][_0x57cb('0x23')](_0x15b42e);_0x3e65aa['writer'][_0x57cb('0x49')]('ck-suggestion-marker-'+_0x36e666,_0x5e5b82),_0x359aca&&_0x3e65aa['writer'][_0x57cb('0x36')](_0x57cb('0x3b'),_0x5dfdd1,_0x5e5b82),_0x3e65aa[_0x57cb('0x40')][_0x57cb('0x6')](_0x5e5b82,_0x180a3[_0x57cb('0x32')]),_0x4de9b4&&(_0x37533d['activeMarkers']['includes'](_0x180a3[_0x57cb('0x32')])?_0x3e65aa[_0x57cb('0x3')]['addClass']('ck-suggestion-marker--active',_0x5e5b82):_0x3e65aa['writer'][_0x57cb('0x26')]('ck-suggestion-marker--active',_0x5e5b82));}}};}_0x37533d['enableCommand'](_0x57cb('0x2e'),(_0x3084ed,_0x382193)=>{const _0x51b570=_0x1732dd[_0x57cb('0x1e')](_0x5bde4e['model'][_0x57cb('0x3f')][_0x57cb('0xc')]),_0x1fb550=_0x1732dd['getRowIndexes'](_0x51b570),_0x36eddd=_0x51b570[0x0][_0x57cb('0x25')](_0x57cb('0x17')),_0xb1a59b=_0x36eddd['getAttribute'](_0x57cb('0x22'))||0x0,_0x1a9027=_0x382193&&null!==_0x382193[_0x57cb('0x45')]?_0x382193[_0x57cb('0x45')]:!_0x5bde4e[_0x57cb('0x4c')][_0x57cb('0x3d')](_0x57cb('0x2e'))[_0x57cb('0x3a')],_0x4d747e=_0x1a9027?_0x1fb550[_0x57cb('0x4')]:_0x1fb550[_0x57cb('0x24')],_0x4b876e=_0x36eddd[_0x57cb('0x7')](_0x4d747e);let _0x30f96e;if(_0x1a9027){const _0x3913a7=_0x36eddd[_0x57cb('0x7')](_0xb1a59b);if(_0x4b876e[_0x57cb('0x11')]<_0x3913a7['index'])return;_0x30f96e=_0x5bde4e['model'][_0x57cb('0x2f')](_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x3e')](_0x3913a7['getChild'](0x0)),_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x4f')](_0x4b876e[_0x57cb('0x7')](_0x4b876e['childCount']-0x1)));}else{const _0x5851cd=_0x36eddd['getChild'](_0xb1a59b-0x1);if(!_0x5851cd)return;_0x30f96e=_0x5bde4e['model'][_0x57cb('0x2f')](_0x5bde4e['model'][_0x57cb('0x3e')](_0x4b876e['getChild'](0x0)),_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x4f')](_0x5851cd[_0x57cb('0x7')](_0x5851cd[_0x57cb('0xa')]-0x1)));}_0x5bde4e[_0x57cb('0x2a')]['change'](()=>{_0x37533d[_0x57cb('0x37')](_0x30f96e,{'commandName':_0x57cb('0x2e'),'commandParams':[{'forceValue':_0x1a9027}]},[],_0x57cb('0x2e'));});}),_0x37533d[_0x57cb('0x12')]('setTableColumnHeader',(_0xe255b1,_0x42c6fd)=>{const _0x43c8f0=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x57cb('0x38')),_0x47cf45=_0x43c8f0['getSelectionAffectedTableCells'](_0x5bde4e[_0x57cb('0x2a')]['document']['selection']),_0x348fd4=_0x43c8f0[_0x57cb('0x4d')](_0x47cf45),_0x20b5cf=_0x47cf45[0x0]['findAncestor'](_0x57cb('0x17')),_0x28c6b6=_0x20b5cf[_0x57cb('0x48')](_0x57cb('0x1'))||0x0,_0x371c45=_0x42c6fd&&null!==_0x42c6fd['forceValue']?_0x42c6fd[_0x57cb('0x45')]:!_0x5bde4e[_0x57cb('0x4c')][_0x57cb('0x3d')]('setTableColumnHeader')['value'];let _0x16f872;const _0x40627d=_0x20b5cf[_0x57cb('0x7')](0x0),_0x1a3586=_0x371c45?_0x348fd4['last']:_0x348fd4[_0x57cb('0x24')],_0x35221e=_0x43c8f0[_0x57cb('0x20')](_0x20b5cf,{'startRow':0x0,'column':_0x1a3586,'includeAllSlots':!0x1}),_0x4612d2=Array['from'](_0x35221e)[0x0][_0x57cb('0x46')];if(_0x371c45){const _0x3c0327=_0x40627d['getChild'](_0x28c6b6);if(_0x4612d2[_0x57cb('0x18')](_0x3c0327))return;_0x16f872=_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x2f')](_0x5bde4e[_0x57cb('0x2a')]['createPositionBefore'](_0x3c0327),_0x5bde4e[_0x57cb('0x2a')]['createPositionAfter'](_0x4612d2));}else{const _0x382343=_0x40627d['getChild'](_0x28c6b6-0x1);if(!_0x382343)return;_0x16f872=_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x2f')](_0x5bde4e['model'][_0x57cb('0x3e')](_0x4612d2),_0x5bde4e['model'][_0x57cb('0x4f')](_0x382343));}_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x27')](()=>{_0x37533d[_0x57cb('0x37')](_0x16f872,{'commandName':_0x57cb('0x3c'),'commandParams':[{'forceValue':_0x371c45}]},[],_0x57cb('0x3c'));});}),_0x5bde4e['editing'][_0x57cb('0x2')]['on'](_0x57cb('0x35'),_0x28beeb(),{'priority':_0x57cb('0x41')}),_0x5bde4e[_0x57cb('0x34')][_0x57cb('0x2')]['on'](_0x57cb('0x35'),(_0x4a46e3,_0x5ad551,_0x2cd5f1)=>{_0x2cd5f1[_0x57cb('0x14')][_0x57cb('0xf')]&&_0x28beeb({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4a46e3,_0x5ad551,_0x2cd5f1);},{'priority':_0x57cb('0x41')}),_0x5bde4e[_0x57cb('0x5')][_0x57cb('0x2')]['on'](_0x57cb('0xb'),(_0x1aa39d,_0x4a7bfe,_0x4d5d25)=>{const {type:_0x90c17,id:_0x99ed73}=_0x37533d['_splitMarkerName'](_0x4a7bfe[_0x57cb('0x32')]),_0x253c97=_0x37533d[_0x57cb('0x43')](_0x99ed73);if(!_0x253c97['data']||'setTableColumnHeader'!=_0x253c97[_0x57cb('0x34')][_0x57cb('0x4a')])return;const _0x16d612=_0x4d5d25[_0x57cb('0x40')]['markerNameToElements'](_0x4a7bfe[_0x57cb('0x32')]);if(_0x16d612)for(const _0x1b2681 of _0x16d612)_0x4d5d25[_0x57cb('0x3')]['removeClass'](_0x57cb('0x1f')+_0x90c17,_0x1b2681),_0x4d5d25[_0x57cb('0x3')][_0x57cb('0x26')](_0x57cb('0x19'),_0x1b2681),_0x4d5d25[_0x57cb('0x3')][_0x57cb('0x13')](_0x57cb('0x3b'),_0x1b2681),_0x4d5d25[_0x57cb('0x40')][_0x57cb('0x2c')](_0x1b2681,_0x4a7bfe[_0x57cb('0x32')]);},{'priority':_0x57cb('0x41')}),_0x37533d[_0x57cb('0x9')][_0x57cb('0x50')](_0x306944=>{const {data:_0x37d086}=_0x306944;if(_0x37d086){if(_0x57cb('0x2e')==_0x37d086[_0x57cb('0x4a')]){const _0x27d298=_0x37d086[_0x57cb('0xd')][0x0][_0x57cb('0x45')];return _0x5bbe72(_0xff836e(_0x33cd51,_0x27d298?'FORMAT_HEADER_ROW':_0x57cb('0x52')));}if(_0x57cb('0x3c')==_0x37d086['commandName']){const _0x4aee06=_0x37d086['commandParams'][0x0]['forceValue'];return _0x5bbe72(_0xff836e(_0x33cd51,_0x4aee06?'FORMAT_HEADER_COLUMN':_0x57cb('0x33')));}}function _0x5bbe72(_0xad6c5d){return{'type':_0x57cb('0x51'),'content':_0xff836e(_0x33cd51,_0x57cb('0x4b'),_0xad6c5d)};}});const _0x4eb16a=_0x361e77[_0x57cb('0x8')]();_0x37533d[_0x57cb('0x2b')][_0x57cb('0x16')](_0x57cb('0x1a'),'setTableRowHeader',_0x57cb('0x28'),_0x4eb16a),_0x37533d[_0x57cb('0x2b')]['registerCustomCallback'](_0x57cb('0x1a'),'setTableColumnHeader','accept',_0x4eb16a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44dd=['has','stop','createRangeOn','commands','length','mergeTableCellLeft','trackChanges','add','_areMergableCells','map','commandName','mergeTableCellDown','get','rootName','horizontally','markMultiRangeBlockFormat','splitTableCellVertically','editor','_descriptionFactory','_areSelectedCellsMergable','formatBlock','model','afterInit','getSelectionAffectedTableCells','$graveyard','enableCommand','splitTableCellHorizontally','getSuggestions','getAncestors','size','TrackChangesEditing','refresh','*Merge\x20cells*','direction','tableCell','isInContent','from','registerCustomCallback','table','detach','requires','isEnabled','TableEditing','value','locale','insertion','findAncestor','type','getRanges','push','_isForcedDefaultExecutionBlock','element','low','mergeTableCells','root','highest','createTableWalker','filter','accept','format','setSelection','selection','TableUtils','deletion','change','find','registerDescriptionCallback','containsRange','cell','fromRange','document','forceDefaultExecution','plugins','_tablePostFixingSubtypes','getCellLocation','mergeTableCellRight','*Split\x20cell:*\x20horizontally','getFirstPosition','author','_suggestionFactory','return','_acceptFormatSuggestionCallbackFactory'];(function(_0x479c4d,_0x44ddcf){const _0x257672=function(_0xef651c){while(--_0xef651c){_0x479c4d['push'](_0x479c4d['shift']());}};_0x257672(++_0x44ddcf);}(_0x44dd,0x191));const _0x2576=function(_0x479c4d,_0x44ddcf){_0x479c4d=_0x479c4d-0x0;let _0x257672=_0x44dd[_0x479c4d];return _0x257672;};import{Plugin as _0xfe5ebc}from'ckeditor5/src/core';import _0x535eb2 from'./table';import{LiveRange as _0x5078c4}from'ckeditor5/src/engine';import{getTranslation as _0x12d9d7}from'../utils/common-translations';export default class dt extends _0xfe5ebc{static get[_0x2576('0x31')](){return[_0x535eb2];}[_0x2576('0x1f')](){const _0x3b11e6=this['editor'],_0x229ac2=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')],_0xe7180d=_0x3b11e6[_0x2576('0x35')];if(!_0x3b11e6[_0x2576('0x51')][_0x2576('0x9')](_0x2576('0x33')))return;const _0x130224=_0x3b11e6[_0x2576('0x51')][_0x2576('0x15')]('TrackChangesEditing'),_0x227a01=_0x3b11e6['plugins']['get'](_0x2576('0x47')),_0x4c7365=_0x3b11e6[_0x2576('0x51')][_0x2576('0x15')](_0x535eb2);_0x4c7365[_0x2576('0x0')][_0x2576('0x3a')](_0x2576('0x3e')),_0x130224[_0x2576('0x22')](_0x2576('0x3e'),()=>{const _0x4ea996=_0x227a01[_0x2576('0x20')](_0x3b11e6[_0x2576('0x1e')]['document'][_0x2576('0x46')]);_0x3b11e6['model']['change'](()=>{_0x130224[_0x2576('0x18')](_0x4ea996,{'commandName':_0x2576('0x3e'),'commandParams':[]},[],_0x2576('0x3e'));});}),_0x3b11e6[_0x2576('0xc')]['get'](_0x2576('0x3e'))['on']('execute',(_0x5872d0,_0x285dd8)=>{_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x2576('0xf'))[_0x2576('0x34')]&&(_0x285dd8[_0x2576('0xd')]>0x0&&_0x285dd8[_0x285dd8['length']-0x1]&&_0x285dd8[_0x285dd8[_0x2576('0xd')]-0x1][_0x2576('0x50')]||_0x130224[_0x2576('0x3b')]||this[_0x2576('0x1c')]()||_0x5872d0[_0x2576('0xa')]());},{'priority':_0x2576('0x40')});for(const _0x4ff5e8 of['mergeTableCellUp',_0x2576('0x2'),_0x2576('0x14'),_0x2576('0xe')]){const _0x1744f1=_0x3b11e6['commands']['get'](_0x4ff5e8);_0x130224['enableCommand'](_0x4ff5e8,()=>{const _0x405396=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')][_0x2576('0x4')]()['getAncestors']()[_0x2576('0x4a')](_0x5cd6ee=>_0x5cd6ee['is']('element',_0x2576('0x2b'))),_0x4bcf2b=_0x1744f1[_0x2576('0x34')];_0x3b11e6[_0x2576('0x1e')]['change'](()=>{_0x130224[_0x2576('0x18')]([_0x405396,_0x4bcf2b],{'commandName':_0x2576('0x3e'),'commandParams':[]},[],_0x2576('0x3e'));});});}for(const _0x40b8cb of[_0x2576('0x19'),_0x2576('0x23')]){const _0x41797c=_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x40b8cb);_0x130224[_0x2576('0x22')](_0x40b8cb,()=>{const _0x337f39=_0x227a01[_0x2576('0x20')](_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')])[0x0],_0xf34829=_0x337f39[_0x2576('0x37')](_0x2576('0x2f')),{column:_0x35dd48,row:_0x1ce950}=_0x227a01[_0x2576('0x1')](_0x337f39);let _0x37d3eb=[];if(_0x2576('0x17')==_0x41797c[_0x2576('0x2a')]){const _0x2cd86b=_0x227a01[_0x2576('0x41')](_0xf34829,{'startRow':_0x1ce950,'endRow':_0x1ce950,'includeAllSlots':!0x0});_0x37d3eb=Array['from'](_0x2cd86b)['map'](_0x1faff2=>_0x1faff2[_0x2576('0x4d')]);}else{const _0x3c980c=_0x227a01['createTableWalker'](_0xf34829,{'column':_0x35dd48,'includeAllSlots':!0x0});_0x37d3eb=Array[_0x2576('0x2d')](_0x3c980c)[_0x2576('0x12')](_0xde8c46=>_0xde8c46[_0x2576('0x4d')]);}_0x3b11e6['model'][_0x2576('0x49')](_0x1f66a3=>{_0x130224['markBlockFormat'](_0x1f66a3[_0x2576('0xb')](_0x337f39),{'commandName':_0x40b8cb,'commandParams':[]},_0x37d3eb,_0x40b8cb);});});}_0x130224[_0x2576('0x1b')][_0x2576('0x4b')](_0x506cd0=>{const {data:_0x1b31c3}=_0x506cd0;if(_0x1b31c3)return _0x2576('0x3e')==_0x1b31c3[_0x2576('0x13')]?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,_0x2576('0x29'))}:void 0x0;}),_0x130224['_descriptionFactory']['registerDescriptionCallback'](_0x33ec99=>{const {data:_0x3ddf5c}=_0x33ec99;if(_0x3ddf5c)return _0x2576('0x19')==_0x3ddf5c['commandName']?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,'*Split\x20cell:*\x20vertically')}:_0x2576('0x23')==_0x3ddf5c[_0x2576('0x13')]?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,_0x2576('0x3'))}:void 0x0;});const _0x4e65d5=_0x4c7365[_0x2576('0x8')]();for(const _0x53e0b6 of['mergeTableCellUp',_0x2576('0x2'),_0x2576('0x14'),_0x2576('0xe')])_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x53e0b6,_0x2576('0x43'),_0x4e65d5);for(const _0x45acdc of[_0x2576('0x19'),'splitTableCellHorizontally'])_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x45acdc,_0x2576('0x43'),_0x4e65d5);_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x2576('0x3e'),_0x2576('0x43'),_0x53c988=>{_0x3b11e6[_0x2576('0x1e')][_0x2576('0x49')](_0x128dae=>{const _0x1e0a09=Array['from'](_0x229ac2['getRanges']())[_0x2576('0x12')](_0x4679ee=>_0x5078c4[_0x2576('0x4e')](_0x4679ee));_0x128dae['setSelection'](_0x53c988),_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')]('mergeTableCells')[_0x2576('0x28')](),_0x3b11e6['execute'](_0x2576('0x3e'),{'forceDefaultExecution':!0x0});const _0x5dd3d4=_0x1e0a09[_0x2576('0x42')](_0x1fa5db=>_0x2576('0x21')!=_0x1fa5db[_0x2576('0x3f')][_0x2576('0x16')]);_0x5dd3d4[_0x2576('0xd')]>0x0&&_0x128dae[_0x2576('0x45')](_0x5dd3d4);for(const _0x189f63 of _0x1e0a09)_0x189f63[_0x2576('0x30')]();});});for(const _0x5802dd of['mergeTableCellUp',_0x2576('0x14'),_0x2576('0xe'),_0x2576('0x2')]){const _0x1c71d7=_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x5802dd);_0x1c71d7['on']('set:isEnabled',(_0x3f42cf,_0x3483af,_0x29b85f)=>{if(_0x29b85f){const _0x46bc42=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')][_0x2576('0x4')]()[_0x2576('0x25')]()[_0x2576('0x4a')](_0x2d3075=>_0x2d3075['is'](_0x2576('0x3c'),_0x2576('0x2b')));this[_0x2576('0x11')](_0x1c71d7[_0x2576('0x34')],_0x46bc42)||(_0x3f42cf[_0x2576('0x7')]=!0x1,_0x3f42cf['stop']());}},{'priority':_0x2576('0x3d')});}}['_areSelectedCellsMergable'](){const _0x55f29b=this[_0x2576('0x1a')][_0x2576('0xc')][_0x2576('0x15')]('mergeTableCells'),_0x3ffe2c=this[_0x2576('0x1a')][_0x2576('0x51')]['get'](_0x2576('0x47'));if(!_0x55f29b[_0x2576('0x32')])return!0x1;const _0x30bc5a=_0x3ffe2c['getSelectionAffectedTableCells'](this[_0x2576('0x1a')][_0x2576('0x1e')][_0x2576('0x4f')]['selection']);for(const _0x6680fe of _0x30bc5a)for(const _0x88c5fb of _0x30bc5a)if(_0x6680fe!=_0x88c5fb&&!this[_0x2576('0x11')](_0x6680fe,_0x88c5fb))return!0x1;return!0x0;}['_areMergableCells'](_0x3e2cf3,_0x43cf65){const _0x301d84=this[_0x2576('0x1a')][_0x2576('0x51')][_0x2576('0x15')](_0x2576('0x27')),_0x482386=this[_0x2576('0x1a')][_0x2576('0x1e')]['createRangeOn'](_0x3e2cf3),_0x1676af=this[_0x2576('0x1a')][_0x2576('0x1e')][_0x2576('0xb')](_0x43cf65),_0x5ccaaa=new Set(),_0x38421b=new Set();for(const _0x2e44f0 of _0x301d84[_0x2576('0x24')]())if((_0x2576('0x36')==_0x2e44f0[_0x2576('0x38')]||_0x2576('0x48')==_0x2e44f0[_0x2576('0x38')]||_0x2576('0x3e')==_0x2e44f0['subType'])&&_0x2e44f0[_0x2576('0x2c')])for(const _0x258fdf of _0x2e44f0[_0x2576('0x39')]())_0x258fdf[_0x2576('0x4c')](_0x482386,!0x0)&&_0x5ccaaa[_0x2576('0x10')](_0x2e44f0[_0x2576('0x38')]+':'+_0x2e44f0[_0x2576('0x5')]['id']),_0x258fdf[_0x2576('0x4c')](_0x1676af,!0x0)&&_0x38421b[_0x2576('0x10')](_0x2e44f0[_0x2576('0x38')]+':'+_0x2e44f0[_0x2576('0x5')]['id']);if(_0x5ccaaa[_0x2576('0x26')]!=_0x38421b['size'])return!0x1;for(const _0x23a818 of _0x5ccaaa)if(!_0x38421b[_0x2576('0x9')](_0x23a818))return!0x1;return!0x0;}}
23
+ const _0x1b34=['TableUtils','low','plugins','find','value','map','setSelection','formatBlock','getSuggestions','markMultiRangeBlockFormat','detach','model','registerCustomCallback','getFirstPosition','locale','type','splitTableCellVertically','_acceptFormatSuggestionCallbackFactory','has','return','document','fromRange','mergeTableCellLeft','enableCommand','getSelectionAffectedTableCells','stop','commands','horizontally','highest','accept','from','format','trackChanges','cell','$graveyard','forceDefaultExecution','tableCell','mergeTableCellDown','length','table','mergeTableCellRight','add','splitTableCellHorizontally','_isForcedDefaultExecutionBlock','registerDescriptionCallback','_descriptionFactory','get','direction','refresh','editor','mergeTableCells','TrackChangesEditing','commandName','markBlockFormat','author','selection','_areSelectedCellsMergable','subType','_areMergableCells','*Merge\x20cells*','createTableWalker','size','insertion','*Split\x20cell:*\x20vertically','getAncestors','getCellLocation','filter','afterInit','element','TableEditing','_suggestionFactory','mergeTableCellUp','createRangeOn','change','isEnabled'];(function(_0xfe2f5d,_0x1b3476){const _0x44f784=function(_0x1b2bea){while(--_0x1b2bea){_0xfe2f5d['push'](_0xfe2f5d['shift']());}};_0x44f784(++_0x1b3476);}(_0x1b34,0xa6));const _0x44f7=function(_0xfe2f5d,_0x1b3476){_0xfe2f5d=_0xfe2f5d-0x0;let _0x44f784=_0x1b34[_0xfe2f5d];return _0x44f784;};import{Plugin as _0x180175}from'ckeditor5/src/core';import _0x3f35de from'./table';import{LiveRange as _0x39c6e2}from'ckeditor5/src/engine';import{getTranslation as _0x17fc6f}from'../utils/common-translations';export default class dt extends _0x180175{static get['requires'](){return[_0x3f35de];}[_0x44f7('0x33')](){const _0x47050d=this[_0x44f7('0x21')],_0x1d9fed=_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')],_0x111f31=_0x47050d[_0x44f7('0x49')];if(!_0x47050d[_0x44f7('0x3d')]['has'](_0x44f7('0x35')))return;const _0x4d48ea=_0x47050d[_0x44f7('0x3d')][_0x44f7('0x1e')](_0x44f7('0x23')),_0x462b9a=_0x47050d[_0x44f7('0x3d')]['get'](_0x44f7('0x3b')),_0x4323d9=_0x47050d['plugins'][_0x44f7('0x1e')](_0x3f35de);_0x4323d9['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x4d48ea[_0x44f7('0x7')]('mergeTableCells',()=>{const _0x3ba4f9=_0x462b9a[_0x44f7('0x8')](_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')]);_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](()=>{_0x4d48ea[_0x44f7('0x44')](_0x3ba4f9,{'commandName':_0x44f7('0x22'),'commandParams':[]},[],_0x44f7('0x22'));});}),_0x47050d[_0x44f7('0xa')]['get'](_0x44f7('0x22'))['on']('execute',(_0x5ae062,_0x435fc8)=>{_0x47050d[_0x44f7('0xa')][_0x44f7('0x1e')](_0x44f7('0x10'))[_0x44f7('0x3f')]&&(_0x435fc8[_0x44f7('0x16')]>0x0&&_0x435fc8[_0x435fc8[_0x44f7('0x16')]-0x1]&&_0x435fc8[_0x435fc8['length']-0x1][_0x44f7('0x13')]||_0x4d48ea[_0x44f7('0x1b')]||this['_areSelectedCellsMergable']()||_0x5ae062[_0x44f7('0x9')]());},{'priority':_0x44f7('0xc')});for(const _0x35cbe5 of['mergeTableCellUp',_0x44f7('0x18'),_0x44f7('0x15'),_0x44f7('0x6')]){const _0x2612e5=_0x47050d['commands'][_0x44f7('0x1e')](_0x35cbe5);_0x4d48ea[_0x44f7('0x7')](_0x35cbe5,()=>{const _0x39f0c3=_0x47050d[_0x44f7('0x46')]['document'][_0x44f7('0x27')][_0x44f7('0x48')]()['getAncestors']()['find'](_0x1de2b6=>_0x1de2b6['is'](_0x44f7('0x34'),_0x44f7('0x14'))),_0x2081bb=_0x2612e5[_0x44f7('0x3f')];_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](()=>{_0x4d48ea[_0x44f7('0x44')]([_0x39f0c3,_0x2081bb],{'commandName':_0x44f7('0x22'),'commandParams':[]},[],_0x44f7('0x22'));});});}for(const _0x13138f of['splitTableCellVertically',_0x44f7('0x1a')]){const _0x1e177c=_0x47050d['commands']['get'](_0x13138f);_0x4d48ea['enableCommand'](_0x13138f,()=>{const _0x4321df=_0x462b9a[_0x44f7('0x8')](_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')])[0x0],_0x1d2a9c=_0x4321df['findAncestor'](_0x44f7('0x17')),{column:_0x569db7,row:_0x3125f3}=_0x462b9a[_0x44f7('0x31')](_0x4321df);let _0x5e5114=[];if(_0x44f7('0xb')==_0x1e177c[_0x44f7('0x1f')]){const _0x4459f7=_0x462b9a['createTableWalker'](_0x1d2a9c,{'startRow':_0x3125f3,'endRow':_0x3125f3,'includeAllSlots':!0x0});_0x5e5114=Array[_0x44f7('0xe')](_0x4459f7)[_0x44f7('0x40')](_0x2b709c=>_0x2b709c[_0x44f7('0x11')]);}else{const _0x1c7f2e=_0x462b9a[_0x44f7('0x2c')](_0x1d2a9c,{'column':_0x569db7,'includeAllSlots':!0x0});_0x5e5114=Array[_0x44f7('0xe')](_0x1c7f2e)[_0x44f7('0x40')](_0x51e100=>_0x51e100[_0x44f7('0x11')]);}_0x47050d['model'][_0x44f7('0x39')](_0x23f342=>{_0x4d48ea[_0x44f7('0x25')](_0x23f342[_0x44f7('0x38')](_0x4321df),{'commandName':_0x13138f,'commandParams':[]},_0x5e5114,_0x13138f);});});}_0x4d48ea[_0x44f7('0x1d')][_0x44f7('0x1c')](_0x434e51=>{const {data:_0x4a4411}=_0x434e51;if(_0x4a4411)return'mergeTableCells'==_0x4a4411[_0x44f7('0x24')]?{'type':_0x44f7('0xf'),'content':_0x17fc6f(_0x111f31,_0x44f7('0x2b'))}:void 0x0;}),_0x4d48ea[_0x44f7('0x1d')]['registerDescriptionCallback'](_0x453336=>{const {data:_0x44e3b8}=_0x453336;if(_0x44e3b8)return _0x44f7('0x0')==_0x44e3b8[_0x44f7('0x24')]?{'type':'format','content':_0x17fc6f(_0x111f31,_0x44f7('0x2f'))}:'splitTableCellHorizontally'==_0x44e3b8['commandName']?{'type':_0x44f7('0xf'),'content':_0x17fc6f(_0x111f31,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x23478d=_0x4323d9[_0x44f7('0x1')]();for(const _0x43f825 of[_0x44f7('0x37'),'mergeTableCellRight',_0x44f7('0x15'),_0x44f7('0x6')])_0x4d48ea[_0x44f7('0x36')]['registerCustomCallback']('formatBlock',_0x43f825,_0x44f7('0xd'),_0x23478d);for(const _0x4cff98 of['splitTableCellVertically',_0x44f7('0x1a')])_0x4d48ea[_0x44f7('0x36')]['registerCustomCallback']('formatBlock',_0x4cff98,'accept',_0x23478d);_0x4d48ea[_0x44f7('0x36')][_0x44f7('0x47')](_0x44f7('0x42'),_0x44f7('0x22'),_0x44f7('0xd'),_0x2f038f=>{_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](_0x523cc9=>{const _0x171a3e=Array[_0x44f7('0xe')](_0x1d9fed['getRanges']())[_0x44f7('0x40')](_0x18d5fd=>_0x39c6e2[_0x44f7('0x5')](_0x18d5fd));_0x523cc9[_0x44f7('0x41')](_0x2f038f),_0x47050d[_0x44f7('0xa')][_0x44f7('0x1e')](_0x44f7('0x22'))[_0x44f7('0x20')](),_0x47050d['execute'](_0x44f7('0x22'),{'forceDefaultExecution':!0x0});const _0x473ae0=_0x171a3e[_0x44f7('0x32')](_0x2ef3d2=>_0x44f7('0x12')!=_0x2ef3d2['root']['rootName']);_0x473ae0[_0x44f7('0x16')]>0x0&&_0x523cc9[_0x44f7('0x41')](_0x473ae0);for(const _0x30bf7b of _0x171a3e)_0x30bf7b[_0x44f7('0x45')]();});});for(const _0x5a8d17 of[_0x44f7('0x37'),_0x44f7('0x15'),_0x44f7('0x6'),_0x44f7('0x18')]){const _0x32214a=_0x47050d['commands'][_0x44f7('0x1e')](_0x5a8d17);_0x32214a['on']('set:isEnabled',(_0x57a0d7,_0x144a84,_0x1d6fd9)=>{if(_0x1d6fd9){const _0x98f469=_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')]['selection'][_0x44f7('0x48')]()[_0x44f7('0x30')]()[_0x44f7('0x3e')](_0x3269a3=>_0x3269a3['is'](_0x44f7('0x34'),_0x44f7('0x14')));this[_0x44f7('0x2a')](_0x32214a[_0x44f7('0x3f')],_0x98f469)||(_0x57a0d7[_0x44f7('0x3')]=!0x1,_0x57a0d7[_0x44f7('0x9')]());}},{'priority':_0x44f7('0x3c')});}}[_0x44f7('0x28')](){const _0x235181=this[_0x44f7('0x21')][_0x44f7('0xa')][_0x44f7('0x1e')]('mergeTableCells'),_0x19b172=this[_0x44f7('0x21')][_0x44f7('0x3d')][_0x44f7('0x1e')](_0x44f7('0x3b'));if(!_0x235181[_0x44f7('0x3a')])return!0x1;const _0x125419=_0x19b172[_0x44f7('0x8')](this[_0x44f7('0x21')][_0x44f7('0x46')]['document']['selection']);for(const _0x1c0ae8 of _0x125419)for(const _0x364666 of _0x125419)if(_0x1c0ae8!=_0x364666&&!this[_0x44f7('0x2a')](_0x1c0ae8,_0x364666))return!0x1;return!0x0;}[_0x44f7('0x2a')](_0x1b23c9,_0x131ca6){const _0x15cb34=this[_0x44f7('0x21')][_0x44f7('0x3d')][_0x44f7('0x1e')]('TrackChangesEditing'),_0x41da17=this['editor']['model'][_0x44f7('0x38')](_0x1b23c9),_0x4c828a=this[_0x44f7('0x21')]['model']['createRangeOn'](_0x131ca6),_0x1898f4=new Set(),_0x5ebe6d=new Set();for(const _0x3a571c of _0x15cb34[_0x44f7('0x43')]())if((_0x44f7('0x2e')==_0x3a571c[_0x44f7('0x4a')]||'deletion'==_0x3a571c['type']||_0x44f7('0x22')==_0x3a571c[_0x44f7('0x29')])&&_0x3a571c['isInContent'])for(const _0x8f20ae of _0x3a571c['getRanges']())_0x8f20ae['containsRange'](_0x41da17,!0x0)&&_0x1898f4[_0x44f7('0x19')](_0x3a571c[_0x44f7('0x4a')]+':'+_0x3a571c[_0x44f7('0x26')]['id']),_0x8f20ae['containsRange'](_0x4c828a,!0x0)&&_0x5ebe6d[_0x44f7('0x19')](_0x3a571c[_0x44f7('0x4a')]+':'+_0x3a571c[_0x44f7('0x26')]['id']);if(_0x1898f4['size']!=_0x5ebe6d[_0x44f7('0x2d')])return!0x1;for(const _0x4ba06a of _0x1898f4)if(!_0x5ebe6d[_0x44f7('0x2')](_0x4ba06a))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c86=['get','tableOfContents','editor','plugins','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','registerElementLabel','afterInit','insertTableOfContents','TrackChangesEditing','enableCommand'];(function(_0x59d945,_0x2c8647){const _0x4f10bf=function(_0x1a3b83){while(--_0x1a3b83){_0x59d945['push'](_0x59d945['shift']());}};_0x4f10bf(++_0x2c8647);}(_0x2c86,0x1dd));const _0x4f10=function(_0x59d945,_0x2c8647){_0x59d945=_0x59d945-0x0;let _0x4f10bf=_0x2c86[_0x59d945];return _0x4f10bf;};import{Plugin as _0x2a75a8}from'ckeditor5/src/core';import{getTranslation as _0x3f1324}from'../utils/common-translations';export default class bt extends _0x2a75a8{[_0x4f10('0x3')](){const _0x541f31=this[_0x4f10('0x9')];if(!_0x541f31['commands'][_0x4f10('0x7')]('insertTableOfContents'))return;_0x541f31[_0x4f10('0xa')]['get'](_0x4f10('0x5'))[_0x4f10('0x6')](_0x4f10('0x4'));const _0x47563a=_0x541f31['plugins']['get'](_0x4f10('0x5')),_0x4a30f2=_0x541f31['locale'];_0x47563a[_0x4f10('0x1')][_0x4f10('0x2')](_0x4f10('0x8'),_0x52fb86=>_0x3f1324(_0x4a30f2,_0x4f10('0x0'),_0x52fb86));}}
23
+ const _0x16f1=['tableOfContents','commands','get','_descriptionFactory','plugins','locale','afterInit','editor','enableCommand','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents'];(function(_0x282036,_0x16f108){const _0x4b7ad1=function(_0x57e28e){while(--_0x57e28e){_0x282036['push'](_0x282036['shift']());}};_0x4b7ad1(++_0x16f108);}(_0x16f1,0x10c));const _0x4b7a=function(_0x282036,_0x16f108){_0x282036=_0x282036-0x0;let _0x4b7ad1=_0x16f1[_0x282036];return _0x4b7ad1;};import{Plugin as _0x3829a3}from'ckeditor5/src/core';import{getTranslation as _0x2837ef}from'../utils/common-translations';export default class bt extends _0x3829a3{[_0x4b7a('0x2')](){const _0x1955f3=this[_0x4b7a('0x3')];if(!_0x1955f3[_0x4b7a('0x9')][_0x4b7a('0xa')](_0x4b7a('0x7')))return;_0x1955f3['plugins'][_0x4b7a('0xa')]('TrackChangesEditing')[_0x4b7a('0x4')](_0x4b7a('0x7'));const _0x21ca89=_0x1955f3[_0x4b7a('0x0')][_0x4b7a('0xa')](_0x4b7a('0x5')),_0x379a94=_0x1955f3[_0x4b7a('0x1')];_0x21ca89[_0x4b7a('0xb')]['registerElementLabel'](_0x4b7a('0x8'),_0xad0a96=>_0x2837ef(_0x379a94,_0x4b7a('0x6'),_0xad0a96));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44e7=['TrackChangesTableProperties','TablePropertiesEditing','selection','tableCellBorderStyle','handleDiscardAction','change','model','accept','plugins','tableCellProperties','enableCommand','getContainedElement','TrackChangesEditing','enqueueChange','registerCustomCallback','tableProperties','_suggestionFactory','afterInit','formatBlock','has','nodeAfter','start','_getSuggestion','batch','tableBorderStyle','removeAttribute','*Format:*\x20change\x20table\x20properties','tableCellHorizontalAlignment','data','getSelectionAffectedTableCells','discard','editor','getSuggestionCallback','format','handleSuggestionDescription','getFirstPosition','document','join','tableHeight','*Format:*\x20change\x20table\x20cell\x20properties','getSuggestions','commandParams','registerDescriptionCallback','get','findAncestor','getAttribute','tableCellHeight','pluginName','_handlePropertyChange','TableUtils','tableBorderWidth','_descriptionFactory','TableCellPropertiesEditing','table','tableAlignment','tableBorderColor'];(function(_0x44a92d,_0x44e766){const _0x485e64=function(_0x5b1540){while(--_0x5b1540){_0x44a92d['push'](_0x44a92d['shift']());}};_0x485e64(++_0x44e766);}(_0x44e7,0x184));const _0x485e=function(_0x44a92d,_0x44e766){_0x44a92d=_0x44a92d-0x0;let _0x485e64=_0x44e7[_0x44a92d];return _0x485e64;};import{Plugin as _0xa8e360}from'ckeditor5/src/core';import{getTranslation as _0x18a71a}from'../utils/common-translations';export default class Ct extends _0xa8e360{constructor(_0x295103){super(_0x295103),this[_0x485e('0x13')]=[_0x485e('0x3'),_0x485e('0x1c'),_0x485e('0x36'),_0x485e('0x2'),'tableWidth',_0x485e('0x2a'),'tableBackgroundColor'],this[_0x485e('0xd')]=['tableCellBorderColor',_0x485e('0x7'),'tableCellBorderWidth','tableCellPadding','tableCellWidth',_0x485e('0x32'),'tableCellBackgroundColor',_0x485e('0x1f'),'tableCellVerticalAlignment'];}static get[_0x485e('0x33')](){return _0x485e('0x4');}[_0x485e('0x15')](){const _0x23ca5e=this[_0x485e('0x23')]['plugins'][_0x485e('0x2f')](_0x485e('0x10'));if(this[_0x485e('0x23')][_0x485e('0xc')][_0x485e('0x17')](_0x485e('0x5'))){for(const _0x27d4ff of this[_0x485e('0x13')])_0x23ca5e[_0x485e('0xe')](_0x27d4ff,(_0x3250b8,_0x55f6bc)=>{const _0x60cd33=this['editor'][_0x485e('0xa')][_0x485e('0x28')][_0x485e('0x6')][_0x485e('0x27')]()[_0x485e('0x30')](_0x485e('0x1'));this[_0x485e('0x34')](_0x27d4ff,[_0x60cd33],this[_0x485e('0x13')],_0x485e('0x13'),_0x3250b8,_0x55f6bc);});_0x23ca5e[_0x485e('0x14')]['registerCustomCallback'](_0x485e('0x16'),_0x485e('0x13'),'accept',_0x23ca5e['_suggestionFactory'][_0x485e('0x24')]('formatBlock',null,_0x485e('0x22'))),_0x23ca5e[_0x485e('0x14')]['registerCustomCallback'](_0x485e('0x16'),'tableProperties','discard',(_0x435b92,_0x479dcb)=>this[_0x485e('0x8')](this[_0x485e('0x13')],_0x435b92,_0x479dcb)),_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),'tableProperties','join',()=>!0x1);}if(this[_0x485e('0x23')]['plugins'][_0x485e('0x17')](_0x485e('0x0'))){for(const _0x3df895 of this[_0x485e('0xd')])_0x23ca5e[_0x485e('0xe')](_0x3df895,(_0x47f6b1,_0x2994a3)=>{const _0x5922b1=this[_0x485e('0x23')][_0x485e('0xc')]['get'](_0x485e('0x35'))[_0x485e('0x21')](this[_0x485e('0x23')][_0x485e('0xa')][_0x485e('0x28')][_0x485e('0x6')]);this[_0x485e('0x34')](_0x3df895,_0x5922b1,this[_0x485e('0xd')],_0x485e('0xd'),_0x47f6b1,_0x2994a3);});_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),_0x485e('0xd'),_0x485e('0xb'),_0x23ca5e['_suggestionFactory'][_0x485e('0x24')](_0x485e('0x16'),null,_0x485e('0x22'))),_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),'tableCellProperties',_0x485e('0x22'),(_0x3ecc07,_0x5b657c)=>this['handleDiscardAction'](this['tableCellProperties'],_0x3ecc07,_0x5b657c)),_0x23ca5e['_suggestionFactory']['registerCustomCallback'](_0x485e('0x16'),_0x485e('0xd'),_0x485e('0x29'),()=>!0x1);}_0x23ca5e[_0x485e('0x37')][_0x485e('0x2e')](_0x52f9d3=>this[_0x485e('0x26')](_0x52f9d3));}[_0x485e('0x34')](_0x5d13b2,_0x5a862e,_0x2628fe,_0x244ac4,_0x132bc5,_0x444798){const _0x4d77b6=this['editor']['plugins'][_0x485e('0x2f')](_0x485e('0x10'));this['editor'][_0x485e('0xa')][_0x485e('0x11')](_0x444798[_0x485e('0x1b')],()=>{for(const _0x45e19d of _0x5a862e){if(this[_0x485e('0x1a')](_0x45e19d,_0x244ac4))_0x132bc5(_0x444798);else{const _0x1eaf3a={};for(const _0x5e6b7d of _0x2628fe){const _0x36d230=_0x45e19d[_0x485e('0x31')](_0x5e6b7d);void 0x0!==_0x36d230&&(_0x1eaf3a[_0x5e6b7d]=_0x36d230);}_0x132bc5(_0x444798),_0x4d77b6['markBlockFormat'](_0x45e19d,{'commandParams':[_0x1eaf3a]},[],_0x244ac4);}}});}[_0x485e('0x8')](_0x179490,_0x5e1437,_0x1fdfb9){const _0x549166=_0x5e1437[0x0][_0x485e('0x19')][_0x485e('0x18')],_0x4d9414=_0x1fdfb9[_0x485e('0x2d')][0x0];this[_0x485e('0x23')]['model'][_0x485e('0x9')](_0x49363b=>{for(const _0x1c01a2 of _0x179490)void 0x0!==_0x4d9414[_0x1c01a2]?_0x49363b['setAttribute'](_0x1c01a2,_0x4d9414[_0x1c01a2],_0x549166):_0x49363b[_0x485e('0x1d')](_0x1c01a2,_0x549166);});}[_0x485e('0x26')](_0x46ef93){if(_0x46ef93[_0x485e('0x20')])switch(_0x46ef93['subType']){case _0x485e('0x13'):return{'type':_0x485e('0x25'),'content':_0x18a71a(this[_0x485e('0x23')]['locale'],_0x485e('0x1e'))};case'tableCellProperties':return{'type':_0x485e('0x25'),'content':_0x18a71a(this['editor']['locale'],_0x485e('0x2b'))};}}[_0x485e('0x1a')](_0x5e96f,_0x302fed){const _0x3d0d2b=this[_0x485e('0x23')]['plugins'][_0x485e('0x2f')](_0x485e('0x10'));for(const _0x3bbbfe of _0x3d0d2b[_0x485e('0x2c')]({'skipNotAttached':!0x0})){const _0x25f104=_0x3bbbfe[_0x485e('0xf')]();if(_0x3bbbfe['subType']===_0x302fed&&_0x25f104===_0x5e96f)return _0x3bbbfe;}return null;}}
23
+ const _0x42e5=['_descriptionFactory','enqueueChange','table','change','_suggestionFactory','registerDescriptionCallback','getSuggestionCallback','plugins','tableBorderColor','tableCellBorderWidth','get','getFirstPosition','tableCellWidth','discard','batch','tableCellBackgroundColor','document','locale','tableBorderWidth','handleSuggestionDescription','tableCellHeight','enableCommand','TrackChangesEditing','model','TablePropertiesEditing','tableWidth','tableBorderStyle','findAncestor','handleDiscardAction','accept','tableCellBorderColor','removeAttribute','_handlePropertyChange','pluginName','has','selection','getAttribute','registerCustomCallback','format','join','data','subType','tableCellProperties','getSuggestions','formatBlock','tableProperties','getSelectionAffectedTableCells','start','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','_getSuggestion','setAttribute','markBlockFormat','getContainedElement','editor','TableCellPropertiesEditing'];(function(_0x5380a2,_0x42e58b){const _0x1a8499=function(_0x1fca7a){while(--_0x1fca7a){_0x5380a2['push'](_0x5380a2['shift']());}};_0x1a8499(++_0x42e58b);}(_0x42e5,0x1c3));const _0x1a84=function(_0x5380a2,_0x42e58b){_0x5380a2=_0x5380a2-0x0;let _0x1a8499=_0x42e5[_0x5380a2];return _0x1a8499;};import{Plugin as _0x27861f}from'ckeditor5/src/core';import{getTranslation as _0x46a2e9}from'../utils/common-translations';export default class Ct extends _0x27861f{constructor(_0xeacb5d){super(_0xeacb5d),this[_0x1a84('0x2a')]=[_0x1a84('0x5'),_0x1a84('0x17'),_0x1a84('0xf'),'tableAlignment',_0x1a84('0x16'),'tableHeight','tableBackgroundColor'],this[_0x1a84('0x27')]=[_0x1a84('0x1b'),'tableCellBorderStyle',_0x1a84('0x6'),_0x1a84('0x2e'),_0x1a84('0x9'),_0x1a84('0x11'),_0x1a84('0xc'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get[_0x1a84('0x1e')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x12b1f4=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));if(this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x1f')](_0x1a84('0x15'))){for(const _0x5b89f3 of this['tableProperties'])_0x12b1f4['enableCommand'](_0x5b89f3,(_0x1af3dc,_0xc9f1cb)=>{const _0x4040f9=this[_0x1a84('0x33')][_0x1a84('0x14')][_0x1a84('0xd')]['selection'][_0x1a84('0x8')]()[_0x1a84('0x18')](_0x1a84('0x37'));this[_0x1a84('0x1d')](_0x5b89f3,[_0x4040f9],this[_0x1a84('0x2a')],'tableProperties',_0x1af3dc,_0xc9f1cb);});_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x2a'),_0x1a84('0x1a'),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x3')](_0x1a84('0x29'),null,_0x1a84('0xa'))),_0x12b1f4['_suggestionFactory'][_0x1a84('0x22')](_0x1a84('0x29'),'tableProperties',_0x1a84('0xa'),(_0x1d39a5,_0x4e909e)=>this[_0x1a84('0x19')](this[_0x1a84('0x2a')],_0x1d39a5,_0x4e909e)),_0x12b1f4['_suggestionFactory'][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x2a'),_0x1a84('0x24'),()=>!0x1);}if(this['editor']['plugins'][_0x1a84('0x1f')](_0x1a84('0x34'))){for(const _0x4c0086 of this[_0x1a84('0x27')])_0x12b1f4[_0x1a84('0x12')](_0x4c0086,(_0x341186,_0x391711)=>{const _0x49b7c2=this[_0x1a84('0x33')][_0x1a84('0x4')]['get']('TableUtils')[_0x1a84('0x2b')](this['editor'][_0x1a84('0x14')][_0x1a84('0xd')][_0x1a84('0x20')]);this[_0x1a84('0x1d')](_0x4c0086,_0x49b7c2,this[_0x1a84('0x27')],_0x1a84('0x27'),_0x341186,_0x391711);});_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x27'),_0x1a84('0x1a'),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x3')]('formatBlock',null,'discard')),_0x12b1f4['_suggestionFactory']['registerCustomCallback'](_0x1a84('0x29'),_0x1a84('0x27'),'discard',(_0x1b5a33,_0x3246b5)=>this[_0x1a84('0x19')](this[_0x1a84('0x27')],_0x1b5a33,_0x3246b5)),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x27'),_0x1a84('0x24'),()=>!0x1);}_0x12b1f4[_0x1a84('0x35')][_0x1a84('0x2')](_0x5f1f10=>this['handleSuggestionDescription'](_0x5f1f10));}['_handlePropertyChange'](_0x583b1e,_0x12a6c2,_0x229361,_0x4b133c,_0x2c4ba7,_0x88637a){const _0x3deb96=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));this['editor'][_0x1a84('0x14')][_0x1a84('0x36')](_0x88637a[_0x1a84('0xb')],()=>{for(const _0x5e8081 of _0x12a6c2){if(this['_getSuggestion'](_0x5e8081,_0x4b133c))_0x2c4ba7(_0x88637a);else{const _0x4359da={};for(const _0x45035b of _0x229361){const _0x288a7a=_0x5e8081[_0x1a84('0x21')](_0x45035b);void 0x0!==_0x288a7a&&(_0x4359da[_0x45035b]=_0x288a7a);}_0x2c4ba7(_0x88637a),_0x3deb96[_0x1a84('0x31')](_0x5e8081,{'commandParams':[_0x4359da]},[],_0x4b133c);}}});}[_0x1a84('0x19')](_0x60867e,_0x155ad1,_0x3bfddf){const _0x4abca6=_0x155ad1[0x0][_0x1a84('0x2c')]['nodeAfter'],_0x57547f=_0x3bfddf['commandParams'][0x0];this[_0x1a84('0x33')]['model'][_0x1a84('0x0')](_0x67bc20=>{for(const _0x3eae85 of _0x60867e)void 0x0!==_0x57547f[_0x3eae85]?_0x67bc20[_0x1a84('0x30')](_0x3eae85,_0x57547f[_0x3eae85],_0x4abca6):_0x67bc20[_0x1a84('0x1c')](_0x3eae85,_0x4abca6);});}[_0x1a84('0x10')](_0x401598){if(_0x401598[_0x1a84('0x25')])switch(_0x401598[_0x1a84('0x26')]){case _0x1a84('0x2a'):return{'type':'format','content':_0x46a2e9(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x1a84('0x27'):return{'type':_0x1a84('0x23'),'content':_0x46a2e9(this[_0x1a84('0x33')][_0x1a84('0xe')],_0x1a84('0x2d'))};}}[_0x1a84('0x2f')](_0x57453f,_0x3f03d2){const _0x454a5c=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));for(const _0x77ea37 of _0x454a5c[_0x1a84('0x28')]({'skipNotAttached':!0x0})){const _0x1292ab=_0x77ea37[_0x1a84('0x32')]();if(_0x77ea37[_0x1a84('0x26')]===_0x3f03d2&&_0x1292ab===_0x57453f)return _0x77ea37;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ee2=['has','insertTemplate','editor','enableCommand','Template','plugins'];(function(_0x332710,_0x8ee2b5){const _0x14a706=function(_0x23bb8e){while(--_0x23bb8e){_0x332710['push'](_0x332710['shift']());}};_0x14a706(++_0x8ee2b5);}(_0x8ee2,0x13b));const _0x14a7=function(_0x332710,_0x8ee2b5){_0x332710=_0x332710-0x0;let _0x14a706=_0x8ee2[_0x332710];return _0x14a706;};import{Plugin as _0x5c64b0}from'ckeditor5/src/core';export default class yt extends _0x5c64b0{['afterInit'](){const _0x43f025=this[_0x14a7('0x5')];_0x43f025['plugins'][_0x14a7('0x3')](_0x14a7('0x1'))&&_0x43f025[_0x14a7('0x2')]['get']('TrackChangesEditing')[_0x14a7('0x0')](_0x14a7('0x4'));}}
23
+ const _0x1ed1=['insertTemplate','has','Template','get','editor','plugins','TrackChangesEditing','enableCommand','afterInit'];(function(_0x515be8,_0x1ed15a){const _0x101055=function(_0x5cd222){while(--_0x5cd222){_0x515be8['push'](_0x515be8['shift']());}};_0x101055(++_0x1ed15a);}(_0x1ed1,0x79));const _0x1010=function(_0x515be8,_0x1ed15a){_0x515be8=_0x515be8-0x0;let _0x101055=_0x1ed1[_0x515be8];return _0x101055;};import{Plugin as _0x37c137}from'ckeditor5/src/core';export default class yt extends _0x37c137{[_0x1010('0x4')](){const _0x1cb656=this[_0x1010('0x0')];_0x1cb656[_0x1010('0x1')][_0x1010('0x6')](_0x1010('0x7'))&&_0x1cb656[_0x1010('0x1')][_0x1010('0x8')](_0x1010('0x2'))[_0x1010('0x3')](_0x1010('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4100=['has','title-content','nodeBefore','document','get','start','suggestion','editor','isCollapsed','plugins','from','getChangedMarkers','getNearestSelectionRange','differ','schema','newRange','removeMarker','end','TrackChangesEditing','updateMarker','Title','forward','registerElementLabel','ELEMENT_TITLE','createRange','registerPostFixer','_descriptionFactory','model','isEqual'];(function(_0x1af08a,_0x4100e8){const _0x223528=function(_0x54ac90){while(--_0x54ac90){_0x1af08a['push'](_0x1af08a['shift']());}};_0x223528(++_0x4100e8);}(_0x4100,0xd5));const _0x2235=function(_0x1af08a,_0x4100e8){_0x1af08a=_0x1af08a-0x0;let _0x223528=_0x4100[_0x1af08a];return _0x223528;};import{Plugin as _0x34e0b3}from'ckeditor5/src/core';import{getTranslation as _0x123557}from'../utils/common-translations';export default class St extends _0x34e0b3{['afterInit'](){const _0x377c05=this[_0x2235('0x1a')];if(!_0x377c05[_0x2235('0x1c')][_0x2235('0x13')](_0x2235('0xa')))return;const _0x5051f9=_0x377c05[_0x2235('0x1c')][_0x2235('0x17')](_0x2235('0x8'));_0x5051f9[_0x2235('0x10')][_0x2235('0xc')](_0x2235('0x14'),()=>_0x123557(_0x377c05['locale'],_0x2235('0xd'))),_0x377c05[_0x2235('0x11')][_0x2235('0x16')][_0x2235('0xf')](_0x4933f8=>{let _0x5a9bef=!0x1;const _0x32c1fb=Array[_0x2235('0x0')](_0x377c05[_0x2235('0x11')]['document'][_0x2235('0x3')][_0x2235('0x1')]());for(const {name:_0x28ad50,data:_0x12d8b5}of _0x32c1fb){const {group:_0x2ddde7}=_0x5051f9['_splitMarkerName'](_0x28ad50);if(_0x2235('0x19')!==_0x2ddde7||!_0x12d8b5['newRange'])continue;const _0x733bc5=_0x12d8b5[_0x2235('0x5')],_0x5a98f7=_0x733bc5[_0x2235('0x7')][_0x2235('0x15')];if(!_0x5a98f7||!_0x5a98f7['is']('element',_0x2235('0x14')))continue;if(!_0x733bc5[_0x2235('0x18')]['isTouching'](_0x733bc5[_0x2235('0x7')]))continue;const _0x406a04=_0x377c05[_0x2235('0x11')][_0x2235('0x4')][_0x2235('0x2')](_0x733bc5[_0x2235('0x7')],_0x2235('0xb'));if(_0x406a04&&_0x406a04[_0x2235('0x1b')]){const _0x3eb883=_0x4933f8[_0x2235('0xe')](_0x733bc5['start'],_0x406a04[_0x2235('0x18')]);_0x3eb883[_0x2235('0x12')](_0x733bc5)||(_0x4933f8[_0x2235('0x9')](_0x28ad50,{'range':_0x3eb883}),_0x5a9bef=!0x0);}_0x5a9bef||(_0x4933f8[_0x2235('0x6')](_0x28ad50),_0x5a9bef=!0x0);}return _0x5a9bef;});}}
23
+ const _0x4153=['afterInit','_splitMarkerName','schema','getChangedMarkers','get','isTouching','title-content','_descriptionFactory','isCollapsed','nodeBefore','Title','model','removeMarker','element','newRange','start','registerElementLabel','has','plugins','isEqual','suggestion','forward','differ','end','locale','TrackChangesEditing','document','from'];(function(_0x25d0a4,_0x4153db){const _0x1cf3c1=function(_0x509e56){while(--_0x509e56){_0x25d0a4['push'](_0x25d0a4['shift']());}};_0x1cf3c1(++_0x4153db);}(_0x4153,0x102));const _0x1cf3=function(_0x25d0a4,_0x4153db){_0x25d0a4=_0x25d0a4-0x0;let _0x1cf3c1=_0x4153[_0x25d0a4];return _0x1cf3c1;};import{Plugin as _0x30e115}from'ckeditor5/src/core';import{getTranslation as _0x5288fe}from'../utils/common-translations';export default class St extends _0x30e115{[_0x1cf3('0x16')](){const _0x4ab21e=this['editor'];if(!_0x4ab21e[_0x1cf3('0xc')][_0x1cf3('0xb')](_0x1cf3('0x4')))return;const _0x4440a5=_0x4ab21e[_0x1cf3('0xc')][_0x1cf3('0x1a')](_0x1cf3('0x13'));_0x4440a5[_0x1cf3('0x1')][_0x1cf3('0xa')](_0x1cf3('0x0'),()=>_0x5288fe(_0x4ab21e[_0x1cf3('0x12')],'ELEMENT_TITLE')),_0x4ab21e['model'][_0x1cf3('0x14')]['registerPostFixer'](_0x461e63=>{let _0x330b1a=!0x1;const _0x4c4459=Array[_0x1cf3('0x15')](_0x4ab21e[_0x1cf3('0x5')][_0x1cf3('0x14')][_0x1cf3('0x10')][_0x1cf3('0x19')]());for(const {name:_0x219e68,data:_0x9480ac}of _0x4c4459){const {group:_0x35ecbe}=_0x4440a5[_0x1cf3('0x17')](_0x219e68);if(_0x1cf3('0xe')!==_0x35ecbe||!_0x9480ac[_0x1cf3('0x8')])continue;const _0x39f292=_0x9480ac[_0x1cf3('0x8')],_0x3fb826=_0x39f292[_0x1cf3('0x11')][_0x1cf3('0x3')];if(!_0x3fb826||!_0x3fb826['is'](_0x1cf3('0x7'),_0x1cf3('0x0')))continue;if(!_0x39f292[_0x1cf3('0x9')][_0x1cf3('0x1b')](_0x39f292['end']))continue;const _0x46586c=_0x4ab21e[_0x1cf3('0x5')][_0x1cf3('0x18')]['getNearestSelectionRange'](_0x39f292[_0x1cf3('0x11')],_0x1cf3('0xf'));if(_0x46586c&&_0x46586c[_0x1cf3('0x2')]){const _0x421325=_0x461e63['createRange'](_0x39f292[_0x1cf3('0x9')],_0x46586c['start']);_0x421325[_0x1cf3('0xd')](_0x39f292)||(_0x461e63['updateMarker'](_0x219e68,{'range':_0x421325}),_0x330b1a=!0x0);}_0x330b1a||(_0x461e63[_0x1cf3('0x6')](_0x219e68),_0x330b1a=!0x0);}return _0x330b1a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c62=['enableCommand','afterInit','TrackChangesEditing','plugins','get','editor','redo'];(function(_0x2a3d6a,_0x1c62aa){const _0x254a02=function(_0x519984){while(--_0x519984){_0x2a3d6a['push'](_0x2a3d6a['shift']());}};_0x254a02(++_0x1c62aa);}(_0x1c62,0x115));const _0x254a=function(_0x2a3d6a,_0x1c62aa){_0x2a3d6a=_0x2a3d6a-0x0;let _0x254a02=_0x1c62[_0x2a3d6a];return _0x254a02;};import{Plugin as _0x55741f}from'ckeditor5/src/core';export default class It extends _0x55741f{[_0x254a('0x4')](){const _0x5a40d4=this[_0x254a('0x1')],_0x88f816=_0x5a40d4['plugins'][_0x254a('0x0')](_0x254a('0x5'));_0x5a40d4[_0x254a('0x6')]['has']('UndoEditing')&&(_0x88f816[_0x254a('0x3')]('undo'),_0x88f816[_0x254a('0x3')](_0x254a('0x2')));}}
23
+ const _0x287c=['redo','editor','get','TrackChangesEditing','afterInit','plugins','UndoEditing','has'];(function(_0x121ac5,_0x287c99){const _0x3f6cb4=function(_0x5c96e9){while(--_0x5c96e9){_0x121ac5['push'](_0x121ac5['shift']());}};_0x3f6cb4(++_0x287c99);}(_0x287c,0xb0));const _0x3f6c=function(_0x121ac5,_0x287c99){_0x121ac5=_0x121ac5-0x0;let _0x3f6cb4=_0x287c[_0x121ac5];return _0x3f6cb4;};import{Plugin as _0x143994}from'ckeditor5/src/core';export default class It extends _0x143994{[_0x3f6c('0x4')](){const _0x4fce40=this[_0x3f6c('0x1')],_0x1405da=_0x4fce40[_0x3f6c('0x5')][_0x3f6c('0x2')](_0x3f6c('0x3'));_0x4fce40[_0x3f6c('0x5')][_0x3f6c('0x7')](_0x3f6c('0x6'))&&(_0x1405da['enableCommand']('undo'),_0x1405da['enableCommand'](_0x3f6c('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca3=['name','includes','ck-suggestion-marker--active','getItems','listIndent','createUIElement','markerName','push','schema','createRangeOn','toViewPosition','markerRange','isLimit','span','mapper','addClass','model','ck-suggestion-marker-','getWalker','listItem','type','TrackChangesEditing','hasAttribute','element','nextSibling','get','previousPosition','item','getAttribute','writer'];(function(_0x3c22c1,_0x3ca38c){const _0x33d0ac=function(_0x328736){while(--_0x328736){_0x3c22c1['push'](_0x3c22c1['shift']());}};_0x33d0ac(++_0x3ca38c);}(_0x3ca3,0x160));const _0x33d0=function(_0x3c22c1,_0x3ca38c){_0x3c22c1=_0x3c22c1-0x0;let _0x33d0ac=_0x3ca3[_0x3c22c1];return _0x33d0ac;};export function getRangesWithAttribute(_0x4d17c8,_0x418ada,_0x4fc680){const _0x484c6e=[];for(const _0x25fa09 of _0x418ada[_0x33d0('0xb')]())_0x25fa09[_0x33d0('0x0')](_0x4d17c8)&&_0x484c6e[_0x33d0('0xf')](_0x4fc680[_0x33d0('0x11')](_0x25fa09));return _0x484c6e;}export function getElementsAffectedByListItemRename(_0x27913e){const _0x5e3cf2=[];if(_0x27913e['is'](_0x33d0('0x1'),_0x33d0('0x1b'))){let _0x187aa6=_0x27913e[_0x33d0('0x2')];for(;_0x187aa6&&_0x187aa6['is'](_0x33d0('0x1'),_0x33d0('0x1b'))&&_0x187aa6[_0x33d0('0x6')](_0x33d0('0xc'))>0x0;)_0x5e3cf2[_0x33d0('0xf')](_0x187aa6),_0x187aa6=_0x187aa6[_0x33d0('0x2')];}return _0x5e3cf2;}export function downcastSplitMergeMarker(_0x1e1acb,_0x27a490,{showActiveMarker:_0x590cd7=!0x0}={}){const _0x4ff228=_0x1e1acb['plugins'][_0x33d0('0x3')](_0x33d0('0x1d'));return(_0x13c3ce,_0x544151,_0x1a3a83)=>{if(!_0x1a3a83['consumable']['test'](_0x544151[_0x33d0('0x13')],_0x13c3ce[_0x33d0('0x8')]))return;const _0x22b365=_0x544151[_0x33d0('0x13')][_0x33d0('0x1a')](),_0x209b5b=_0x544151['markerRange']['start'],_0x1ae69c=_0x1e1acb[_0x33d0('0x18')][_0x33d0('0x10')];let _0x131186=null,_0x4809f3=null,_0x1275b4=!0x1,_0x2c8b67=!0x1;for(const _0x335761 of _0x22b365){const _0x427205=_0x335761[_0x33d0('0x5')];_0x1275b4=_0x1275b4||_0x1ae69c['isContent'](_0x427205);const _0x5c38fe=_0x1a3a83[_0x33d0('0x16')]['toViewElement'](_0x427205);if(_0x5c38fe&&_0x5c38fe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x335761[_0x33d0('0x1c')]&&(_0x1ae69c['isBlock'](_0x427205)&&!_0x1ae69c[_0x33d0('0x14')](_0x427205)&&(_0x427205['nextSibling']||_0x209b5b['isAtEnd']?_0x131186&&_0x131186['parent']==_0x427205||(_0x131186=_0x427205,_0x1c4e55(_0x335761[_0x33d0('0x4')]),_0x2c8b67=!0x0):_0x4809f3=_0x4809f3||_0x335761[_0x33d0('0x4')]));}function _0x1c4e55(_0x17e4c7){const _0x5c43e2=_0x1a3a83[_0x33d0('0x7')][_0x33d0('0xd')](_0x33d0('0x15'),{'class':_0x33d0('0x19')+_0x27a490}),_0x1878d0=_0x1a3a83[_0x33d0('0x16')][_0x33d0('0x12')](_0x17e4c7);_0x590cd7&&_0x4ff228['activeMarkers'][_0x33d0('0x9')](_0x544151[_0x33d0('0xe')])&&_0x1a3a83[_0x33d0('0x7')][_0x33d0('0x17')](_0x33d0('0xa'),_0x5c43e2),_0x1a3a83[_0x33d0('0x7')]['insert'](_0x1878d0,_0x5c43e2),_0x1a3a83[_0x33d0('0x16')]['bindElementToMarker'](_0x5c43e2,_0x544151[_0x33d0('0xe')]);}_0x1275b4||_0x2c8b67||!_0x4809f3||_0x1c4e55(_0x4809f3);};}
23
+ const _0x2865=['type','ck-suggestion-marker-','parent','isAtEnd','listItem','writer','isLimit','markerName','isBlock','test','addClass','markerRange','previousPosition','consumable','elementEnd','hasAttribute','getWalker','mapper','name','nextSibling','listIndent','TrackChangesEditing','getCustomProperty','getItems','insert','isContent','includes','plugins','schema','element','push','get','bindElementToMarker','createRangeOn'];(function(_0x5c6fbc,_0x28653f){const _0x2c7518=function(_0x3dbcbd){while(--_0x3dbcbd){_0x5c6fbc['push'](_0x5c6fbc['shift']());}};_0x2c7518(++_0x28653f);}(_0x2865,0x1e8));const _0x2c75=function(_0x5c6fbc,_0x28653f){_0x5c6fbc=_0x5c6fbc-0x0;let _0x2c7518=_0x2865[_0x5c6fbc];return _0x2c7518;};export function getRangesWithAttribute(_0xf48921,_0x5aefce,_0x3f4433){const _0x4d4f29=[];for(const _0x37ed6a of _0x5aefce[_0x2c75('0xb')]())_0x37ed6a[_0x2c75('0x3')](_0xf48921)&&_0x4d4f29['push'](_0x3f4433[_0x2c75('0x15')](_0x37ed6a));return _0x4d4f29;}export function getElementsAffectedByListItemRename(_0x2fed14){const _0x594107=[];if(_0x2fed14['is'](_0x2c75('0x11'),_0x2c75('0x1a'))){let _0x396b0d=_0x2fed14[_0x2c75('0x7')];for(;_0x396b0d&&_0x396b0d['is'](_0x2c75('0x11'),_0x2c75('0x1a'))&&_0x396b0d['getAttribute'](_0x2c75('0x8'))>0x0;)_0x594107[_0x2c75('0x12')](_0x396b0d),_0x396b0d=_0x396b0d[_0x2c75('0x7')];}return _0x594107;}export function downcastSplitMergeMarker(_0xabdb2d,_0x2800b6,{showActiveMarker:_0x4ab04b=!0x0}={}){const _0x256b15=_0xabdb2d[_0x2c75('0xf')][_0x2c75('0x13')](_0x2c75('0x9'));return(_0x4e3e42,_0x417220,_0x1e89bb)=>{if(!_0x1e89bb[_0x2c75('0x1')][_0x2c75('0x1f')](_0x417220['markerRange'],_0x4e3e42[_0x2c75('0x6')]))return;const _0x2eb2ba=_0x417220[_0x2c75('0x21')][_0x2c75('0x4')](),_0x2ed626=_0x417220[_0x2c75('0x21')]['start'],_0x413ea6=_0xabdb2d['model'][_0x2c75('0x10')];let _0x48ed14=null,_0x42c9f5=null,_0xcd5c74=!0x1,_0x4670ab=!0x1;for(const _0x215f1b of _0x2eb2ba){const _0x4b3873=_0x215f1b['item'];_0xcd5c74=_0xcd5c74||_0x413ea6[_0x2c75('0xd')](_0x4b3873);const _0x314ba3=_0x1e89bb[_0x2c75('0x5')]['toViewElement'](_0x4b3873);if(_0x314ba3&&_0x314ba3[_0x2c75('0xa')]('addHighlight'))return;_0x2c75('0x2')==_0x215f1b[_0x2c75('0x16')]&&(_0x413ea6[_0x2c75('0x1e')](_0x4b3873)&&!_0x413ea6[_0x2c75('0x1c')](_0x4b3873)&&(_0x4b3873[_0x2c75('0x7')]||_0x2ed626[_0x2c75('0x19')]?_0x48ed14&&_0x48ed14[_0x2c75('0x18')]==_0x4b3873||(_0x48ed14=_0x4b3873,_0x39d0fb(_0x215f1b[_0x2c75('0x0')]),_0x4670ab=!0x0):_0x42c9f5=_0x42c9f5||_0x215f1b[_0x2c75('0x0')]));}function _0x39d0fb(_0x140e5b){const _0x48d3c5=_0x1e89bb[_0x2c75('0x1b')]['createUIElement']('span',{'class':_0x2c75('0x17')+_0x2800b6}),_0x581893=_0x1e89bb[_0x2c75('0x5')]['toViewPosition'](_0x140e5b);_0x4ab04b&&_0x256b15['activeMarkers'][_0x2c75('0xe')](_0x417220[_0x2c75('0x1d')])&&_0x1e89bb[_0x2c75('0x1b')][_0x2c75('0x20')]('ck-suggestion-marker--active',_0x48d3c5),_0x1e89bb[_0x2c75('0x1b')][_0x2c75('0xc')](_0x581893,_0x48d3c5),_0x1e89bb[_0x2c75('0x5')][_0x2c75('0x14')](_0x48d3c5,_0x417220[_0x2c75('0x1d')]);}_0xcd5c74||_0x4670ab||!_0x42c9f5||_0x39d0fb(_0x42c9f5);};}