@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230817.0 → 0.0.0-nightly-20230818.1

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 _0x4ef2=['batch','getAttributes','_descriptionFactory','get','redo','tableCellBorderStyle','has','isInContent','includes','tablePasteCell','createElement','unwrap','clipboardOutput','_isForcedDefaultExecutionBlock','suggestion:formatBlock:tablePasteCell','markerAttributes','insertRows','name','insertColumns','insertion','row','filter','tableCell','trackChanges','removeRows','cells','getColumnIndexes','attributes','plugins','conversion','move','set','model','document','tablePasteColumn','getItems','nextSibling','dataDowncast','_replaceTableSlotCell','suggestion-td','stop','newRange','markerName','paragraph','find','startsWith','markMultiRangeBlockFormat','containsRange','type','some','keys','createRangeOn','getSuggestion','getTableIfOnlyTableInContent','insert','register','_splitMarkerName','setAttributes','TableUtils','_suggestionFactory','*Replace\x20table\x20cells*','fromEntries','reduce','deletion','removeColumns','ck-suggestion-marker--active','markMultiRangeInsertion','first','map','column','rows','locale','getContainedElement','subType','options','position','registerPostFixer','documentSelection','tableCellBackgroundColor','accept','return','removeMarker','Users','element','rowInsertionRanges','createRange','markers','oldRange','join','createRangeIn','hasSuggestion','showSuggestionHighlights','markerToHighlight','fill','from','findAncestor','rootName','getChangedMarkers','columnInsertionRanges','tablePasteRow','start','suggestionLoaded','updateMarker','createTableWalker','suggestion','commands','formatBlock','registerCustomCallback','getChanges','view','ck-suggestion-marker-insertion','getColumns','editing','getAllAdjacentSuggestions','insertContent','root','activeMarkers','isEmpty','length','_getCoordsForCells','columnInsertionIndexes','wrap','previousSibling','getChildren','change','getSuggestions','rowInsertionIndexes','getChild','tableCellBorderColor','requires','end','differ','forceDefaultExecution','low','_createdBatches','previous','add','getRange','discard','tablePaste','columns','removeMarkers','tablePasteChainId','value','insertionRanges','selection','push','_tablePostFixingSubtypes','getRanges','editor','afterInit','getSuggestionCallback','listenTo','entries','getMarkers','high','tableCellVerticalAlignment','TableClipboard','tableCellSuggestion','endColumn','markMultiRangeDeletion','last','editingDowncast','remove','table','for'];(function(_0x37621d,_0x4ef25c){const _0x5546fd=function(_0x43a4f2){while(--_0x43a4f2){_0x37621d['push'](_0x37621d['shift']());}};_0x5546fd(++_0x4ef25c);}(_0x4ef2,0x14c));const _0x5546=function(_0x37621d,_0x4ef25c){_0x37621d=_0x37621d-0x0;let _0x5546fd=_0x4ef2[_0x37621d];return _0x5546fd;};import{getTranslation as _0x505689}from'../utils/common-translations';import{Plugin as _0x1f73c4}from'ckeditor5/src/core';import{uid as _0x368707,priorities as _0xfcd920}from'ckeditor5/src/utils';import _0x20cf4b from'./table';const le=['tableCellBorderWidth',_0x5546('0x80'),_0x5546('0x5'),'tableCellHorizontalAlignment',_0x5546('0x9c'),_0x5546('0x4e'),'tableCellPadding'],ae=Object['fromEntries'](le[_0x5546('0x44')](_0x1f74d5=>[_0x1f74d5,null]));export default class kt extends _0x1f73c4{static get[_0x5546('0x81')](){return[_0x20cf4b];}[_0x5546('0x96')](){const _0x185eec=this[_0x5546('0x95')];if(!_0x185eec[_0x5546('0x1c')][_0x5546('0x6')](_0x5546('0x9d')))return;const _0xd2678=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')]('TrackChangesEditing'),_0x2bfa96=_0x185eec['plugins'][_0x5546('0x3')](_0x5546('0x3a')),_0x25bc79=_0x185eec[_0x5546('0x1c')]['get'](_0x20cf4b),_0x204f36=_0x185eec['plugins'][_0x5546('0x3')]('TableClipboard');_0x25bc79[_0x5546('0x93')][_0x5546('0x92')](_0x5546('0x63'),'tablePasteColumn'),_0x185eec['model']['schema'][_0x5546('0x37')](_0x5546('0x9e'),{'allowIn':'tableCell','allowContentOf':_0x5546('0x16'),'isLimit':!0x0}),_0x185eec[_0x5546('0x1d')]['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x3ac969=null;_0x185eec['model']['on'](_0x5546('0x72'),(_0x2c2a62,_0x36a0c3)=>{const [_0xdfcd1c,_0x108d92]=_0x36a0c3,_0x2888b1=_0x36a0c3[_0x36a0c3[_0x5546('0x76')]-0x1];_0x2888b1&&_0x2888b1[_0x5546('0x84')]||_0xd2678[_0x5546('0xd')]||this[_0x5546('0x95')]['commands']['get'](_0x5546('0x17'))[_0x5546('0x8f')]&&function(_0x2b6b4a,_0x20586d,_0x3e3d78,_0x4786e3,_0x1ddf63){if(_0x20586d&&!_0x20586d['is'](_0x5546('0x4d')))return!0x1;const _0x2ba9fd=_0x1ddf63[_0x5546('0x35')](_0x2b6b4a,_0x3e3d78);if(!_0x2ba9fd||!fe(_0x2ba9fd,void 0x0,_0x4786e3))return!0x1;const _0x2606da=_0x4786e3['getSelectionAffectedTableCells'](_0x3e3d78[_0x5546('0x21')][_0x5546('0x91')]);if(!_0x2606da['length'])return!0x1;const _0x45f4b3=_0x2606da[0x0][_0x5546('0x5f')](_0x5546('0xa4')),_0x10f39c=_0x4786e3['getRowIndexes'](_0x2606da),_0x25e971=_0x4786e3[_0x5546('0x1a')](_0x2606da),_0x4f6cd8={'startRow':_0x10f39c[_0x5546('0x43')],'endRow':_0x10f39c[_0x5546('0xa1')],'startColumn':_0x25e971[_0x5546('0x43')],'endColumn':_0x25e971[_0x5546('0xa1')]};return 0x1==_0x2606da[_0x5546('0x76')]&&(_0x4f6cd8['endRow']+=_0x4786e3['getRows'](_0x2ba9fd)-0x1,_0x4f6cd8[_0x5546('0x9f')]+=_0x4786e3[_0x5546('0x6f')](_0x2ba9fd)-0x1),fe(_0x45f4b3,_0x4f6cd8,_0x4786e3);}(_0xdfcd1c,_0x108d92,_0x185eec[_0x5546('0x20')],_0x2bfa96,_0x204f36)&&(_0x2c2a62[_0x5546('0x28')](),_0x3ac969={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x185eec['model'][_0x5546('0x7c')](()=>{_0x185eec[_0x5546('0x20')][_0x5546('0x72')](_0x36a0c3[0x0],_0x36a0c3[0x1],_0x36a0c3[0x2],{'forceDefaultExecution':!0x0});const _0x52254e=_0x368707(),{rowInsertionRanges:_0x5075bf,columnInsertionRanges:_0x4ded22,insertionRanges:_0xe22073,deletionRanges:_0x4b254e,cells:_0xd2de4}=_0x3ac969;_0x5075bf['length']&&_0xd2678[_0x5546('0x42')](_0x5075bf,_0x5546('0x63'),{'tablePasteChainId':_0x52254e}),_0x4ded22['length']&&_0xd2678['markMultiRangeInsertion'](_0x4ded22,'tablePasteColumn',{'tablePasteChainId':_0x52254e}),_0xe22073[_0x5546('0x76')]&&_0xd2678['markMultiRangeInsertion'](_0xe22073,_0x5546('0x8b'),{'tablePasteChainId':_0x52254e,'skipNestingCheck':!0x0}),_0x4b254e[_0x5546('0x76')]&&_0xd2678[_0x5546('0xa0')](_0x4b254e,_0x5546('0x8b'),{'tablePasteChainId':_0x52254e,'skipNestingCheck':!0x0});const _0x23f1fc=_0xd2678[_0x5546('0x2e')](_0xd2de4[_0x5546('0x44')](({element:_0x401f32})=>_0x401f32),{'formatGroupId':_0x368707()},[],'tablePasteCell',{'tablePasteChainId':_0x52254e});if(_0x23f1fc){const _0x36e854=_0x23f1fc[_0x5546('0x9a')](),_0x122d24=[];for(const {element:_0xa292ea,attributes:_0x24f16e}of _0xd2de4){if(!_0x24f16e)continue;const _0x34f0a5=_0x185eec[_0x5546('0x20')][_0x5546('0x33')](_0xa292ea),_0x41aaf2=_0x36e854[_0x5546('0x2c')](_0x16958d=>_0x16958d[_0x5546('0x89')]()['isEqual'](_0x34f0a5));_0x41aaf2&&_0x122d24[_0x5546('0x92')]([_0x41aaf2[_0x5546('0x11')],_0x24f16e]);}_0x122d24[_0x5546('0x76')]&&_0x23f1fc['setAttribute'](_0x5546('0xf'),Object[_0x5546('0x3d')](_0x122d24));}_0x3ac969=null;}));},{'priority':_0xfcd920['high']+0xa}),_0x185eec[_0x5546('0x1c')]['get'](_0x5546('0x9d'))['on'](_0x5546('0x26'),(_0x13f925,_0x2bfff3)=>{const [_0x44071b,_0x3503dd,,_0x2a0f1f]=_0x2bfff3;if(!_0x3ac969)return;_0x13f925['stop']();const _0x4b9994=_0x44071b['cell'],_0x3c461e=_0x3503dd,_0x510b75=ce(_0x4b9994),_0x43c7aa=ce(_0x3c461e);_0x13f925[_0x5546('0x50')]=_0x4b9994;let _0x10ad61=null,_0x5cb55c=null;if(_0x43c7aa||_0x510b75){if(_0x510b75&&!_0x43c7aa){_0x2a0f1f[_0x5546('0xa3')](_0x4b9994[_0x5546('0x7f')](0x0));for(const _0x3e870b of Array['from'](_0x3c461e[_0x5546('0x7b')]()))_0x2a0f1f[_0x5546('0x36')](_0x3e870b,_0x4b9994,_0x5546('0x82'));const _0x4b91ad=_0x3ac969['rowInsertionIndexes']['includes'](_0x44071b[_0x5546('0x14')]),_0x544318=_0x3ac969[_0x5546('0x78')]['includes'](_0x44071b[_0x5546('0x45')]);_0x4b91ad||_0x544318||(_0x10ad61=_0x2a0f1f[_0x5546('0x59')](_0x4b9994));}else _0x43c7aa&&!_0x510b75&&(_0x5cb55c=_0x2a0f1f['createRangeIn'](_0x4b9994));}else{const _0x289003=_0x2a0f1f[_0x5546('0xa')]('tableCellSuggestion'),_0x51b310=_0x2a0f1f[_0x5546('0xa')](_0x5546('0x9e'));_0x2a0f1f[_0x5546('0x79')](_0x2a0f1f[_0x5546('0x59')](_0x4b9994),_0x51b310),_0x2a0f1f['insert'](_0x289003,_0x4b9994,0x0);for(const _0x891586 of Array[_0x5546('0x5e')](_0x3c461e[_0x5546('0x7b')]()))_0x2a0f1f['insert'](_0x891586,_0x289003,'end');_0x10ad61=_0x2a0f1f[_0x5546('0x33')](_0x289003),_0x5cb55c=_0x2a0f1f[_0x5546('0x33')](_0x51b310);}const _0x595b9c=Array[_0x5546('0x5e')](_0x3c461e[_0x5546('0x1')]())['filter'](([_0x5451bf])=>le[_0x5546('0x8')](_0x5451bf));_0x3ac969[_0x5546('0x19')]['push']({'element':_0x4b9994,'attributes':_0x595b9c['length']?Object['fromEntries'](_0x595b9c):null}),_0x10ad61&&_0x3ac969[_0x5546('0x90')][_0x5546('0x92')](_0x10ad61),_0x5cb55c&&_0x3ac969['deletionRanges']['push'](_0x5cb55c);},{'priority':_0x5546('0x9b')}),_0x2bfa96['on'](_0x5546('0x12'),(_0x189b3e,_0x158048)=>{const [_0x12d428,_0x2f28d7={}]=_0x158048;if(!_0x3ac969)return;const _0x3a2ffa=_0x2f28d7['at']||0x0,_0x3096ca=_0x2f28d7[_0x5546('0x8c')]||0x1;_0x3ac969[_0x5546('0x78')]=new Array(_0x3096ca)['fill'](_0x3a2ffa)[_0x5546('0x44')]((_0x469f1b,_0x21bfa0)=>_0x469f1b+_0x21bfa0);for(const {cell:_0x13786e}of _0x2bfa96[_0x5546('0x67')](_0x12d428,{'startColumn':_0x3a2ffa,'endColumn':_0x3a2ffa+_0x3096ca-0x1}))_0x3ac969[_0x5546('0x62')][_0x5546('0x92')](_0x185eec[_0x5546('0x20')][_0x5546('0x33')](_0x13786e));},{'priority':_0x5546('0x85')}),_0x2bfa96['on'](_0x5546('0x10'),(_0x5371ea,_0x137072)=>{const [_0x29a9f3,_0x2a9d8e={}]=_0x137072;if(!_0x3ac969)return;const _0x529b68=_0x2a9d8e['at']||0x0,_0x49286c=_0x2a9d8e[_0x5546('0x46')]||0x1;_0x3ac969[_0x5546('0x7e')]=new Array(_0x49286c)[_0x5546('0x5d')](_0x529b68)['map']((_0x28f24a,_0x22c91e)=>_0x28f24a+_0x22c91e);for(const {cell:_0x12e38c}of _0x2bfa96[_0x5546('0x67')](_0x29a9f3,{'startRow':_0x529b68,'endRow':_0x529b68+_0x49286c-0x1}))_0x3ac969[_0x5546('0x54')][_0x5546('0x92')](_0x185eec['model'][_0x5546('0x33')](_0x12e38c));},{'priority':_0x5546('0x85')}),_0xd2678[_0x5546('0x2')]['registerDescriptionCallback'](_0x160585=>{if(_0x160585[_0x5546('0x49')]&&_0x160585[_0x5546('0x49')][_0x5546('0x2d')](_0x5546('0x8b')))return _0x160585[_0x5546('0x87')]?{}:{'type':'insertion','content':_0x505689(_0x185eec[_0x5546('0x47')],_0x5546('0x3c'))};});const _0x44e077=()=>{};for(const _0x770312 of[_0x5546('0x8b'),'tablePasteColumn',_0x5546('0x63'),'tablePasteCell'])_0xd2678[_0x5546('0x3b')][_0x5546('0x6b')](_0x5546('0x13'),_0x770312,'join',_0x44e077),_0xd2678['_suggestionFactory']['registerCustomCallback'](_0x5546('0x3f'),_0x770312,_0x5546('0x58'),_0x44e077);_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x5546('0x6a'),_0x5546('0x9'),_0x5546('0x8a'),_0x44e077),_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x5546('0x6a'),_0x5546('0x9'),'accept',(_0x115bc2,_0x1df290,_0x5bcbaf)=>{const _0x486492=_0x115bc2[_0x5546('0x44')](_0x1c3847=>_0x1c3847['getContainedElement']())[_0x5546('0x15')](_0x2ac37e=>_0x2ac37e),_0x1b8782=new Map(_0x486492['map'](_0x39ac6f=>[_0x39ac6f,null]));if(_0x3ac969)for(const {element:_0x158e1d,attributes:_0xa7a2e2}of _0x3ac969[_0x5546('0x19')])_0xa7a2e2&&_0x1b8782['set'](_0x158e1d,_0xa7a2e2);else{if(_0x5bcbaf&&_0x5bcbaf[_0x5546('0xf')])for(const [_0x3cf067,_0x446f5d]of Object[_0x5546('0x99')](_0x5bcbaf[_0x5546('0xf')])){const _0x3630ef=_0x185eec[_0x5546('0x20')][_0x5546('0x56')][_0x5546('0x3')](_0x3cf067),_0x1793aa=_0x3630ef?_0x3630ef['getRange']()[_0x5546('0x48')]():null;_0x1793aa&&_0x1b8782[_0x5546('0x1f')](_0x1793aa,_0x446f5d);}}_0x185eec[_0x5546('0x20')]['change'](_0x285b56=>{for(const [_0x13b565,_0x37acfb]of _0x1b8782)_0x285b56[_0x5546('0x39')]({...ae,..._0x37acfb},_0x13b565);});});const _0x748b16=(_0x3b9d8e,_0xba3a2e)=>{_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x3b9d8e,_0x5546('0x8b'),_0xba3a2e,(_0x1dc26c,_0x59e339,_0xbbbb58)=>{_0x185eec[_0x5546('0x20')][_0x5546('0x7c')](_0x1a3530=>{const _0x13ded7=[];for(const _0x2a01e0 of _0x1dc26c){const _0xe8bd83=_0x2a01e0[_0x5546('0x64')]['nodeAfter'];_0xe8bd83['is'](_0x5546('0x53'),_0x5546('0x9e'))&&_0x13ded7['push'](_0xe8bd83);}_0xd2678['_suggestionFactory'][_0x5546('0x97')](_0x3b9d8e,null,_0xba3a2e)(_0x1dc26c,_0x59e339,_0xbbbb58);for(const _0x10a3ad of _0x13ded7)'$graveyard'!=_0x10a3ad[_0x5546('0x73')][_0x5546('0x60')]&&_0x1a3530[_0x5546('0xb')](_0x10a3ad);});});};_0x748b16(_0x5546('0x13'),_0x5546('0x4f')),_0x748b16('insertion',_0x5546('0x8a')),_0x748b16(_0x5546('0x3f'),_0x5546('0x4f')),_0x748b16(_0x5546('0x3f'),_0x5546('0x8a')),_0xd2678[_0x5546('0x3b')][_0x5546('0x6b')](_0x5546('0x13'),_0x5546('0x63'),_0x5546('0x8a'),_0x3260dc=>{const _0x4b7698=_0x3260dc[_0x5546('0x44')](_0x2c339d=>_0x2c339d['getContainedElement']()),_0x44397e=_0x4b7698[0x0]['findAncestor'](_0x5546('0xa4')),{minRow:_0x2dea36,maxRow:_0x40c699}=_0x25bc79[_0x5546('0x77')](_0x4b7698);_0x2bfa96[_0x5546('0x18')](_0x44397e,{'at':_0x2dea36,'rows':_0x40c699-_0x2dea36+0x1});}),_0xd2678['_suggestionFactory']['registerCustomCallback'](_0x5546('0x13'),_0x5546('0x22'),_0x5546('0x8a'),_0x4b4c80=>{const _0x294545=_0x4b4c80[_0x5546('0x44')](_0x199099=>_0x199099[_0x5546('0x48')]()),_0x10b11=_0x294545[0x0][_0x5546('0x5f')](_0x5546('0xa4')),{minColumn:_0x11481c,maxColumn:_0x5bbb27}=_0x25bc79[_0x5546('0x77')](_0x294545);_0x2bfa96[_0x5546('0x40')](_0x10b11,{'at':_0x11481c,'columns':_0x5bbb27-_0x11481c+0x1});});const _0x4738e4=(_0x5fb209,_0x57c4bb)=>{if(!_0x57c4bb[_0x5546('0x49')]||!_0x57c4bb[_0x5546('0x49')][_0x5546('0x2d')](_0x5546('0x8b')))return;const _0x295580=_0x57c4bb['attributes'][_0x5546('0x8e')],_0x3b6a60=_0xd2678[_0x5546('0x7d')]()['filter'](_0x51fd1d=>_0x51fd1d[_0x5546('0x7')]&&_0x51fd1d['attributes']&&_0x51fd1d[_0x5546('0x1b')][_0x5546('0x8e')]==_0x295580);_0x3b6a60[_0x5546('0x76')]&&_0x57c4bb[_0x5546('0x71')]()['length']!=_0x3b6a60['length']&&_0x3b6a60[_0x5546('0x3e')]((_0x29109c,_0x2d81e6)=>(_0x29109c['next']=_0x2d81e6,_0x2d81e6[_0x5546('0x87')]=_0x29109c,_0x2d81e6));};function _0x50ceeb(_0x44120a,_0x2add1d=!0x0){const {id:_0x36e8ea}=_0xd2678['_splitMarkerName'](_0x44120a[_0x5546('0x2a')]),_0x31e8e1=['ck-suggestion-marker',_0x5546('0x6e')],_0x3dfb9d=_0xd2678[_0x5546('0x74')][_0x5546('0x8')](_0x44120a[_0x5546('0x2a')]);return _0x3dfb9d&&_0x31e8e1[_0x5546('0x92')](_0x5546('0x41')),{'classes':_0x31e8e1,'attributes':{'data-suggestion':_0x36e8ea},'priority':_0x3dfb9d&&_0x2add1d?0xbc2:0xbb8};}_0xd2678['on'](_0x5546('0x65'),_0x4738e4,{'priority':_0x5546('0x9b')}),_0xd2678['on']('suggestionUnloaded',_0x4738e4,{'priority':_0x5546('0x9b')}),_0x185eec[_0x5546('0x20')]['document'][_0x5546('0x4c')](()=>{let _0x46f975=!0x1;const _0x29ad4e=Array[_0x5546('0x5e')](_0x185eec['model'][_0x5546('0x21')]['differ'][_0x5546('0x61')]());for(const {name:_0x12c190,data:_0x6083f3}of _0x29ad4e){const {group:_0x262720,type:_0x1286a5,id:_0x28a992}=_0xd2678[_0x5546('0x38')](_0x12c190);if(_0x5546('0x68')!=_0x262720||_0x5546('0x3f')!=_0x1286a5||_0x6083f3[_0x5546('0x57')])continue;if(!_0xd2678[_0x5546('0x5a')](_0x28a992))continue;const _0x263bff=_0xd2678[_0x5546('0x34')](_0x28a992)[_0x5546('0x94')](),_0x522102=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')](_0x5546('0x52'))['me'];for(const _0x13962a of _0xd2678[_0x5546('0x7d')]()){if(!_0x13962a[_0x5546('0x7')]||_0x13962a['author']!=_0x522102)continue;if(_0x5546('0x6a')!=_0x13962a[_0x5546('0x30')]||_0x5546('0x9')!=_0x13962a[_0x5546('0x49')])continue;if(_0x13962a[_0x5546('0x94')]()['every'](_0x4f9dca=>_0x263bff[_0x5546('0x31')](_0x44dfeb=>_0x44dfeb[_0x5546('0x2f')](_0x4f9dca,!0x0))))for(const _0x4c45ae of _0x13962a['getAllAdjacentSuggestions']())_0x4c45ae['isInContent']&&(_0x4c45ae['discard'](),_0x46f975=!0x0);}}return _0x46f975;}),_0x185eec[_0x5546('0x20')][_0x5546('0x21')]['registerPostFixer'](_0x173016=>{const _0x511902=_0x185eec[_0x5546('0x69')][_0x5546('0x3')](_0x5546('0x4'));if(!_0x511902||!_0x511902[_0x5546('0x86')][_0x5546('0x6')](_0x173016[_0x5546('0x0')]))return!0x1;let _0x2fadfb=!0x1;const _0x5650b5=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')](_0x5546('0x52'))['me'],_0x15067e=_0x185eec['model'][_0x5546('0x21')][_0x5546('0x83')][_0x5546('0x6c')](),_0x49c9f0=Array[_0x5546('0x5e')](_0x185eec[_0x5546('0x20')][_0x5546('0x21')][_0x5546('0x83')][_0x5546('0x61')]())[_0x5546('0x15')](({name:_0x5c41c1,data:_0x3caa6b})=>{const {group:_0x4cb8de,subType:_0x20184b,authorId:_0x5aaa16}=_0xd2678['_splitMarkerName'](_0x5c41c1);return'suggestion'==_0x4cb8de&&'tablePaste'==_0x20184b&&_0x5aaa16==_0x5650b5['id']&&!_0x3caa6b[_0x5546('0x57')];});for(const _0x2d0f92 of _0x15067e){if(_0x5546('0x36')!=_0x2d0f92['type']||_0x5546('0x9e')!=_0x2d0f92[_0x5546('0x11')]||0x1!=_0x2d0f92[_0x5546('0x76')])continue;const _0x3397b2=_0x173016[_0x5546('0x55')](_0x2d0f92[_0x5546('0x4b')],_0x2d0f92['position']['getShiftedBy'](0x1));if(!_0x49c9f0['find'](({data:_0x232ff8})=>_0x232ff8[_0x5546('0x29')]['isEqual'](_0x3397b2)))for(const {name:_0x1c4de8,data:_0x475541}of _0x49c9f0)if(_0x3397b2[_0x5546('0x2f')](_0x475541['newRange'])){_0x173016[_0x5546('0x66')](_0x1c4de8,{'range':_0x3397b2}),_0x2fadfb=!0x0;break;}}return _0x2fadfb;}),_0x185eec['model'][_0x5546('0x21')]['registerPostFixer'](_0x1f0b37=>{let _0x495d3d=!0x1;const _0x3f1943=_0x185eec['plugins'][_0x5546('0x3')](_0x5546('0x52'))['me'],_0x108edc=_0xd2678[_0x5546('0x7d')]()[_0x5546('0x15')](_0x5ef82b=>_0x5ef82b[_0x5546('0x7')]&&_0x5ef82b['author']==_0x3f1943),_0x4a3e9f=new Set(),_0x27b765=new Set();for(const _0x1edc6a of _0x108edc)if(_0x5546('0x8b')==_0x1edc6a[_0x5546('0x49')])for(const _0x5aa787 of _0x1edc6a[_0x5546('0x9a')]()){const _0x19a871=_0x5aa787[_0x5546('0x89')]()[_0x5546('0x48')]();if(_0x19a871){if(_0x19a871['is']('element',_0x5546('0x9e'))&&ce(_0x19a871)){_0x1edc6a['removeMarker'](_0x5aa787[_0x5546('0x11')]),_0x4a3e9f['add'](_0x19a871),_0x495d3d=!0x0;const _0x2d04f5=_0x19a871[_0x5546('0x24')],_0x218e8c=_0x19a871[_0x5546('0x7a')],_0x93dbf2=_0x2d04f5&&_0x2d04f5['is'](_0x5546('0x53'),_0x5546('0x9e')),_0x1df6f0=_0x218e8c&&_0x218e8c['is'](_0x5546('0x53'),'tableCellSuggestion');_0x93dbf2&&!_0x4a3e9f['has'](_0x2d04f5)&&_0x27b765[_0x5546('0x88')](_0x2d04f5),_0x1df6f0&&!_0x4a3e9f[_0x5546('0x6')](_0x218e8c)&&_0x27b765[_0x5546('0x88')](_0x218e8c);}else _0x19a871['is'](_0x5546('0x53'),_0x5546('0x2b'))&&_0x19a871[_0x5546('0x75')]&&(_0x1edc6a[_0x5546('0x51')](_0x5aa787[_0x5546('0x11')]),_0x495d3d=!0x0);}}else{if('tablePasteCell'==_0x1edc6a[_0x5546('0x49')]){if(!_0x1edc6a[_0x5546('0x1b')]||!_0x1edc6a[_0x5546('0x1b')][_0x5546('0x8e')])continue;const _0x44e31f=_0x1edc6a[_0x5546('0x1b')]['markerAttributes'];if(_0x44e31f&&Object[_0x5546('0x32')](_0x44e31f)['length'])continue;const _0x1b7c7f=_0x1edc6a[_0x5546('0x1b')][_0x5546('0x8e')];let _0x4df99d=!0x0,_0x120b65=!0x0;for(const _0x3fe081 of _0x108edc)if(_0x3fe081[_0x5546('0x49')]&&_0x3fe081['subType'][_0x5546('0x2d')](_0x5546('0x8b'))){if(!_0x3fe081[_0x5546('0x1b')][_0x5546('0x8e')]){_0x120b65=!0x1;break;}if(_0x3fe081['id']!=_0x1edc6a['id']&&_0x3fe081[_0x5546('0x1b')][_0x5546('0x8e')]==_0x1b7c7f){_0x4df99d=!0x1;break;}}_0x120b65&&_0x4df99d&&(_0x1edc6a[_0x5546('0x8d')](),_0x495d3d=!0x0);}}for(const _0x4e4f75 of _0x4a3e9f)_0x1f0b37[_0x5546('0xa3')](_0x4e4f75);for(const _0x3f8a17 of _0x27b765)_0x1f0b37[_0x5546('0xb')](_0x3f8a17);return _0x495d3d;}),_0x185eec[_0x5546('0x1d')][_0x5546('0xa5')](_0x5546('0xa2'))[_0x5546('0x5c')]({'model':_0x5546('0xe'),'view':(_0x11362c,_0xefa557)=>_0x50ceeb(_0x11362c),'converterPriority':_0x5546('0x9b')}),_0x185eec['conversion'][_0x5546('0xa5')](_0x5546('0x25'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5a2bf3,_0xc30f16)=>_0xc30f16[_0x5546('0x4a')][_0x5546('0x5b')]?_0x50ceeb(_0x5a2bf3,!0x1):null,'converterPriority':_0x5546('0x9b')});const _0x25106b=_0x185eec[_0x5546('0x70')][_0x5546('0x6d')];this[_0x5546('0x98')](_0x25106b[_0x5546('0x21')],_0x5546('0xc'),(_0x5a72eb,_0x526f8a)=>{const _0x25ab68=[];for(const _0x3e5c05 of _0x25106b[_0x5546('0x59')](_0x526f8a['content'])[_0x5546('0x23')]())_0x3e5c05['is'](_0x5546('0x53'),_0x5546('0x27'))&&_0x25ab68[_0x5546('0x92')](_0x3e5c05);_0x25106b['change'](_0x39d1e1=>{for(const _0x15aab9 of _0x25ab68)_0x39d1e1[_0x5546('0x1e')](_0x39d1e1[_0x5546('0x59')](_0x15aab9),_0x39d1e1['createPositionBefore'](_0x15aab9)),_0x39d1e1[_0x5546('0xa3')](_0x15aab9);});});}}function ce(_0x30bc25){if(_0x30bc25['isEmpty'])return!0x0;const _0x1e160d=_0x30bc25[_0x5546('0x7f')](0x0);return _0x1e160d['is'](_0x5546('0x53'),_0x5546('0x2b'))&&_0x1e160d[_0x5546('0x75')];}function fe(_0x4744c2,_0x3f084e={},_0x30b385){for(const {isAnchor:_0x2d9879,cellHeight:_0x2fb656,cellWidth:_0x2b1174}of _0x30b385[_0x5546('0x67')](_0x4744c2,{'includeAllSlots':!0x0,..._0x3f084e}))if(!_0x2d9879||0x1!=_0x2fb656||0x1!=_0x2b1174)return!0x1;return!0x0;}
23
+ const _0x2e52=['isEqual','getAllAdjacentSuggestions','forceDefaultExecution','showSuggestionHighlights','cells','getChildren','getContainedElement','next','remove','find','options','columns','getChangedMarkers','reduce','subType','for','includes','columnInsertionRanges','push','filter','tableCellPadding','rootName','rowInsertionRanges','createRange','stop','getColumns','previous','deletion','updateMarker','tablePasteCell','_getCoordsForCells','getColumnIndexes','tableCellVerticalAlignment','last','commands','type','getMarkers','createRangeOn','createElement','name','conversion','view','requires','dataDowncast','columnInsertionIndexes','model','afterInit','document','suggestionUnloaded','from','getRows','change','getTableIfOnlyTableInContent','paragraph','markerName','length','editing','markerToHighlight','tableCellBorderWidth','getSuggestionCallback','editor','register','markMultiRangeDeletion','author','table','markMultiRangeBlockFormat','discard','removeMarker','add','setAttribute','insert','element','startsWith','start','TableClipboard','documentSelection','wrap','root','activeMarkers','accept','getSuggestion','getShiftedBy','_splitMarkerName','ck-suggestion-marker','insertRows','has','column','high','suggestion-td','get','registerCustomCallback','some','position','tableCell','_replaceTableSlotCell','findAncestor','fill','containsRange','ck-suggestion-marker-insertion','tablePasteColumn','removeColumns','tableCellHorizontalAlignment','set','getAttributes','_suggestionFactory','isEmpty','map','join','formatBlock','selection','tablePasteChainId','isInContent','markerAttributes','removeRows','rowInsertionIndexes','getRowIndexes','plugins','_descriptionFactory','every','unwrap','insertionRanges','getSuggestions','clipboardOutput','suggestion','suggestion:formatBlock:tablePasteCell','attributes','getSelectionAffectedTableCells','listenTo','endColumn','getRange','keys','endRow','insertion','tableCellBackgroundColor','newRange','createRangeIn','end','getChanges','registerDescriptionCallback','editingDowncast','Users','createTableWalker','tableCellSuggestion','entries','registerPostFixer','first','redo','differ','oldRange','fromEntries','insertContent','deletionRanges','getChild','markMultiRangeInsertion','nodeAfter','row','schema','_isForcedDefaultExecutionBlock','hasSuggestion','setAttributes','TrackChangesEditing','removeMarkers','*Replace\x20table\x20cells*','getRanges','move','tablePasteRow','tablePaste'];(function(_0x27c2e5,_0x2e5266){const _0x2e0943=function(_0x48db0e){while(--_0x48db0e){_0x27c2e5['push'](_0x27c2e5['shift']());}};_0x2e0943(++_0x2e5266);}(_0x2e52,0x10b));const _0x2e09=function(_0x27c2e5,_0x2e5266){_0x27c2e5=_0x27c2e5-0x0;let _0x2e0943=_0x2e52[_0x27c2e5];return _0x2e0943;};import{getTranslation as _0x41e0cc}from'../utils/common-translations';import{Plugin as _0x4f526a}from'ckeditor5/src/core';import{uid as _0x5fac8f,priorities as _0x251b3d}from'ckeditor5/src/utils';import _0x1b7c01 from'./table';const le=[_0x2e09('0x7d'),'tableCellBorderColor','tableCellBorderStyle',_0x2e09('0x1'),_0x2e09('0x63'),_0x2e09('0x21'),_0x2e09('0x57')],ae=Object[_0x2e09('0x31')](le['map'](_0x2ecf51=>[_0x2ecf51,null]));export default class kt extends _0x4f526a{static get[_0x2e09('0x6d')](){return[_0x1b7c01];}[_0x2e09('0x71')](){const _0x13e67b=this['editor'];if(!_0x13e67b[_0x2e09('0x10')]['has'](_0x2e09('0x8d')))return;const _0xbf8c50=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x3c')),_0x25fe8c=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')]('TableUtils'),_0x1a0109=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x1b7c01),_0x119d82=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x8d'));_0x1a0109['_tablePostFixingSubtypes'][_0x2e09('0x55')]('tablePasteRow','tablePasteColumn'),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x38')][_0x2e09('0x80')](_0x2e09('0x2a'),{'allowIn':_0x2e09('0xa0'),'allowContentOf':_0x2e09('0xa0'),'isLimit':!0x0}),_0x13e67b['conversion']['elementToElement']({'model':_0x2e09('0x2a'),'view':_0x2e09('0x9b')});let _0x79fc7=null;_0x13e67b[_0x2e09('0x70')]['on'](_0x2e09('0x32'),(_0x37279b,_0x2818e4)=>{const [_0x1f6def,_0x237bae]=_0x2818e4,_0xf7795c=_0x2818e4[_0x2818e4['length']-0x1];_0xf7795c&&_0xf7795c[_0x2e09('0x45')]||_0xbf8c50[_0x2e09('0x39')]||this[_0x2e09('0x7f')][_0x2e09('0x65')][_0x2e09('0x9c')]('trackChanges')['value']&&function(_0x1d2995,_0x562280,_0x17a199,_0x39830f,_0x55c9bb){if(_0x562280&&!_0x562280['is'](_0x2e09('0x8e')))return!0x1;const _0xb074a=_0x55c9bb[_0x2e09('0x77')](_0x1d2995,_0x17a199);if(!_0xb074a||!fe(_0xb074a,void 0x0,_0x39830f))return!0x1;const _0xeee100=_0x39830f[_0x2e09('0x1a')](_0x17a199['document'][_0x2e09('0x9')]);if(!_0xeee100[_0x2e09('0x7a')])return!0x1;const _0x362232=_0xeee100[0x0][_0x2e09('0xa2')](_0x2e09('0x83')),_0x50c020=_0x39830f[_0x2e09('0xf')](_0xeee100),_0x4c8c7e=_0x39830f[_0x2e09('0x62')](_0xeee100),_0x50a7d6={'startRow':_0x50c020[_0x2e09('0x2d')],'endRow':_0x50c020[_0x2e09('0x64')],'startColumn':_0x4c8c7e['first'],'endColumn':_0x4c8c7e[_0x2e09('0x64')]};return 0x1==_0xeee100[_0x2e09('0x7a')]&&(_0x50a7d6[_0x2e09('0x1f')]+=_0x39830f[_0x2e09('0x75')](_0xb074a)-0x1,_0x50a7d6[_0x2e09('0x1c')]+=_0x39830f[_0x2e09('0x5c')](_0xb074a)-0x1),fe(_0x362232,_0x50a7d6,_0x39830f);}(_0x1f6def,_0x237bae,_0x13e67b[_0x2e09('0x70')],_0x25fe8c,_0x119d82)&&(_0x37279b['stop'](),_0x79fc7={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x13e67b['model']['change'](()=>{_0x13e67b[_0x2e09('0x70')][_0x2e09('0x32')](_0x2818e4[0x0],_0x2818e4[0x1],_0x2818e4[0x2],{'forceDefaultExecution':!0x0});const _0x47c67c=_0x5fac8f(),{rowInsertionRanges:_0x2ca46b,columnInsertionRanges:_0x26f029,insertionRanges:_0x4194e0,deletionRanges:_0x53b945,cells:_0x1d6c90}=_0x79fc7;_0x2ca46b['length']&&_0xbf8c50[_0x2e09('0x35')](_0x2ca46b,'tablePasteRow',{'tablePasteChainId':_0x47c67c}),_0x26f029['length']&&_0xbf8c50[_0x2e09('0x35')](_0x26f029,'tablePasteColumn',{'tablePasteChainId':_0x47c67c}),_0x4194e0[_0x2e09('0x7a')]&&_0xbf8c50[_0x2e09('0x35')](_0x4194e0,_0x2e09('0x42'),{'tablePasteChainId':_0x47c67c,'skipNestingCheck':!0x0}),_0x53b945['length']&&_0xbf8c50[_0x2e09('0x81')](_0x53b945,_0x2e09('0x42'),{'tablePasteChainId':_0x47c67c,'skipNestingCheck':!0x0});const _0x45ffde=_0xbf8c50[_0x2e09('0x84')](_0x1d6c90[_0x2e09('0x6')](({element:_0x23448e})=>_0x23448e),{'formatGroupId':_0x5fac8f()},[],_0x2e09('0x60'),{'tablePasteChainId':_0x47c67c});if(_0x45ffde){const _0x38b5f3=_0x45ffde[_0x2e09('0x67')](),_0x1b5434=[];for(const {element:_0x314d6e,attributes:_0x192f0e}of _0x1d6c90){if(!_0x192f0e)continue;const _0x34b0b9=_0x13e67b['model']['createRangeOn'](_0x314d6e),_0x154942=_0x38b5f3[_0x2e09('0x4c')](_0x60bd63=>_0x60bd63['getRange']()[_0x2e09('0x43')](_0x34b0b9));_0x154942&&_0x1b5434[_0x2e09('0x55')]([_0x154942[_0x2e09('0x6a')],_0x192f0e]);}_0x1b5434[_0x2e09('0x7a')]&&_0x45ffde[_0x2e09('0x88')]('markerAttributes',Object[_0x2e09('0x31')](_0x1b5434));}_0x79fc7=null;}));},{'priority':_0x251b3d['high']+0xa}),_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x8d'))['on'](_0x2e09('0xa1'),(_0x1c816d,_0x478299)=>{const [_0x5dc245,_0x15ad7c,,_0x463ccc]=_0x478299;if(!_0x79fc7)return;_0x1c816d[_0x2e09('0x5b')]();const _0x39a0fb=_0x5dc245['cell'],_0x3642ba=_0x15ad7c,_0xc4ebac=ce(_0x39a0fb),_0xbf6636=ce(_0x3642ba);_0x1c816d['return']=_0x39a0fb;let _0x5bbd50=null,_0x3884bc=null;if(_0xbf6636||_0xc4ebac){if(_0xc4ebac&&!_0xbf6636){_0x463ccc['remove'](_0x39a0fb[_0x2e09('0x34')](0x0));for(const _0xf4782d of Array[_0x2e09('0x74')](_0x3642ba[_0x2e09('0x48')]()))_0x463ccc[_0x2e09('0x89')](_0xf4782d,_0x39a0fb,_0x2e09('0x24'));const _0x71455d=_0x79fc7[_0x2e09('0xe')][_0x2e09('0x53')](_0x5dc245[_0x2e09('0x37')]),_0x3c54a4=_0x79fc7[_0x2e09('0x6f')][_0x2e09('0x53')](_0x5dc245[_0x2e09('0x99')]);_0x71455d||_0x3c54a4||(_0x5bbd50=_0x463ccc[_0x2e09('0x23')](_0x39a0fb));}else _0xbf6636&&!_0xc4ebac&&(_0x3884bc=_0x463ccc[_0x2e09('0x23')](_0x39a0fb));}else{const _0x2e4536=_0x463ccc[_0x2e09('0x69')]('tableCellSuggestion'),_0x294ab4=_0x463ccc[_0x2e09('0x69')]('tableCellSuggestion');_0x463ccc[_0x2e09('0x8f')](_0x463ccc['createRangeIn'](_0x39a0fb),_0x294ab4),_0x463ccc[_0x2e09('0x89')](_0x2e4536,_0x39a0fb,0x0);for(const _0x319ab9 of Array[_0x2e09('0x74')](_0x3642ba[_0x2e09('0x48')]()))_0x463ccc[_0x2e09('0x89')](_0x319ab9,_0x2e4536,_0x2e09('0x24'));_0x5bbd50=_0x463ccc[_0x2e09('0x68')](_0x2e4536),_0x3884bc=_0x463ccc['createRangeOn'](_0x294ab4);}const _0x28186c=Array['from'](_0x3642ba[_0x2e09('0x3')]())[_0x2e09('0x56')](([_0x317345])=>le[_0x2e09('0x53')](_0x317345));_0x79fc7['cells'][_0x2e09('0x55')]({'element':_0x39a0fb,'attributes':_0x28186c[_0x2e09('0x7a')]?Object['fromEntries'](_0x28186c):null}),_0x5bbd50&&_0x79fc7[_0x2e09('0x14')][_0x2e09('0x55')](_0x5bbd50),_0x3884bc&&_0x79fc7[_0x2e09('0x33')]['push'](_0x3884bc);},{'priority':_0x2e09('0x9a')}),_0x25fe8c['on']('insertColumns',(_0x27831c,_0x58cb01)=>{const [_0xd79690,_0x457af6={}]=_0x58cb01;if(!_0x79fc7)return;const _0x13d21a=_0x457af6['at']||0x0,_0x2199df=_0x457af6[_0x2e09('0x4e')]||0x1;_0x79fc7[_0x2e09('0x6f')]=new Array(_0x2199df)[_0x2e09('0xa3')](_0x13d21a)[_0x2e09('0x6')]((_0x5d8b09,_0x5eb742)=>_0x5d8b09+_0x5eb742);for(const {cell:_0x2e0458}of _0x25fe8c[_0x2e09('0x29')](_0xd79690,{'startColumn':_0x13d21a,'endColumn':_0x13d21a+_0x2199df-0x1}))_0x79fc7[_0x2e09('0x54')][_0x2e09('0x55')](_0x13e67b[_0x2e09('0x70')]['createRangeOn'](_0x2e0458));},{'priority':'low'}),_0x25fe8c['on'](_0x2e09('0x97'),(_0x3edc93,_0x43e541)=>{const [_0x4ca3d6,_0x3fcb63={}]=_0x43e541;if(!_0x79fc7)return;const _0x345179=_0x3fcb63['at']||0x0,_0x1d6944=_0x3fcb63['rows']||0x1;_0x79fc7[_0x2e09('0xe')]=new Array(_0x1d6944)[_0x2e09('0xa3')](_0x345179)[_0x2e09('0x6')]((_0x192c1f,_0x504fba)=>_0x192c1f+_0x504fba);for(const {cell:_0x5f360a}of _0x25fe8c[_0x2e09('0x29')](_0x4ca3d6,{'startRow':_0x345179,'endRow':_0x345179+_0x1d6944-0x1}))_0x79fc7[_0x2e09('0x59')][_0x2e09('0x55')](_0x13e67b[_0x2e09('0x70')]['createRangeOn'](_0x5f360a));},{'priority':'low'}),_0xbf8c50[_0x2e09('0x11')][_0x2e09('0x26')](_0x1d0c08=>{if(_0x1d0c08[_0x2e09('0x51')]&&_0x1d0c08[_0x2e09('0x51')][_0x2e09('0x8b')]('tablePaste'))return _0x1d0c08[_0x2e09('0x5d')]?{}:{'type':_0x2e09('0x20'),'content':_0x41e0cc(_0x13e67b['locale'],_0x2e09('0x3e'))};});const _0x43770c=()=>{};for(const _0x1a7050 of[_0x2e09('0x42'),_0x2e09('0xa6'),_0x2e09('0x41'),'tablePasteCell'])_0xbf8c50['_suggestionFactory'][_0x2e09('0x9d')]('insertion',_0x1a7050,_0x2e09('0x7'),_0x43770c),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x5e'),_0x1a7050,'join',_0x43770c);_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x8'),_0x2e09('0x60'),_0x2e09('0x85'),_0x43770c),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x8'),'tablePasteCell',_0x2e09('0x92'),(_0x47f525,_0x24657c,_0x461b02)=>{const _0x1bd725=_0x47f525['map'](_0x34f799=>_0x34f799[_0x2e09('0x49')]())[_0x2e09('0x56')](_0x19986c=>_0x19986c),_0x105e39=new Map(_0x1bd725[_0x2e09('0x6')](_0x2c3fee=>[_0x2c3fee,null]));if(_0x79fc7)for(const {element:_0x41dc7e,attributes:_0x42fd90}of _0x79fc7[_0x2e09('0x47')])_0x42fd90&&_0x105e39[_0x2e09('0x2')](_0x41dc7e,_0x42fd90);else{if(_0x461b02&&_0x461b02[_0x2e09('0xc')])for(const [_0x323b77,_0x1ee12b]of Object[_0x2e09('0x2b')](_0x461b02[_0x2e09('0xc')])){const _0x1c1077=_0x13e67b[_0x2e09('0x70')]['markers']['get'](_0x323b77),_0x3a1c09=_0x1c1077?_0x1c1077[_0x2e09('0x1d')]()[_0x2e09('0x49')]():null;_0x3a1c09&&_0x105e39[_0x2e09('0x2')](_0x3a1c09,_0x1ee12b);}}_0x13e67b[_0x2e09('0x70')][_0x2e09('0x76')](_0x2ac08d=>{for(const [_0x386f69,_0x44aff8]of _0x105e39)_0x2ac08d[_0x2e09('0x3b')]({...ae,..._0x44aff8},_0x386f69);});});const _0x3831b4=(_0x127193,_0x11bec9)=>{_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x127193,_0x2e09('0x42'),_0x11bec9,(_0x277a5f,_0x1b0d25,_0x5d2cfe)=>{_0x13e67b['model'][_0x2e09('0x76')](_0x1d2031=>{const _0x2b2c62=[];for(const _0x1a5f18 of _0x277a5f){const _0x1fa8c4=_0x1a5f18[_0x2e09('0x8c')][_0x2e09('0x36')];_0x1fa8c4['is'](_0x2e09('0x8a'),'tableCellSuggestion')&&_0x2b2c62[_0x2e09('0x55')](_0x1fa8c4);}_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x7e')](_0x127193,null,_0x11bec9)(_0x277a5f,_0x1b0d25,_0x5d2cfe);for(const _0x55253b of _0x2b2c62)'$graveyard'!=_0x55253b[_0x2e09('0x90')][_0x2e09('0x58')]&&_0x1d2031['unwrap'](_0x55253b);});});};_0x3831b4(_0x2e09('0x20'),_0x2e09('0x92')),_0x3831b4(_0x2e09('0x20'),'discard'),_0x3831b4(_0x2e09('0x5e'),'accept'),_0x3831b4(_0x2e09('0x5e'),_0x2e09('0x85')),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x20'),'tablePasteRow',_0x2e09('0x85'),_0x14cfe6=>{const _0x2089e3=_0x14cfe6['map'](_0x497fde=>_0x497fde[_0x2e09('0x49')]()),_0x20eb61=_0x2089e3[0x0]['findAncestor']('table'),{minRow:_0x35a4aa,maxRow:_0x32f44d}=_0x1a0109[_0x2e09('0x61')](_0x2089e3);_0x25fe8c[_0x2e09('0xd')](_0x20eb61,{'at':_0x35a4aa,'rows':_0x32f44d-_0x35a4aa+0x1});}),_0xbf8c50[_0x2e09('0x4')][_0x2e09('0x9d')](_0x2e09('0x20'),_0x2e09('0xa6'),'discard',_0x15447e=>{const _0x3089f4=_0x15447e[_0x2e09('0x6')](_0x21fb04=>_0x21fb04['getContainedElement']()),_0x792d65=_0x3089f4[0x0]['findAncestor'](_0x2e09('0x83')),{minColumn:_0x4049f4,maxColumn:_0x416447}=_0x1a0109[_0x2e09('0x61')](_0x3089f4);_0x25fe8c[_0x2e09('0x0')](_0x792d65,{'at':_0x4049f4,'columns':_0x416447-_0x4049f4+0x1});});const _0x190ba1=(_0x1fbb5b,_0x509a0c)=>{if(!_0x509a0c[_0x2e09('0x51')]||!_0x509a0c['subType']['startsWith'](_0x2e09('0x42')))return;const _0x13b9e2=_0x509a0c['attributes'][_0x2e09('0xa')],_0x5191b4=_0xbf8c50[_0x2e09('0x15')]()[_0x2e09('0x56')](_0x1f0aea=>_0x1f0aea[_0x2e09('0xb')]&&_0x1f0aea[_0x2e09('0x19')]&&_0x1f0aea[_0x2e09('0x19')]['tablePasteChainId']==_0x13b9e2);_0x5191b4[_0x2e09('0x7a')]&&_0x509a0c['getAllAdjacentSuggestions']()[_0x2e09('0x7a')]!=_0x5191b4[_0x2e09('0x7a')]&&_0x5191b4[_0x2e09('0x50')]((_0x6a6cfe,_0xa44db8)=>(_0x6a6cfe[_0x2e09('0x4a')]=_0xa44db8,_0xa44db8[_0x2e09('0x5d')]=_0x6a6cfe,_0xa44db8));};function _0x2bf0bb(_0x259790,_0x36ac6=!0x0){const {id:_0xe15ef0}=_0xbf8c50[_0x2e09('0x95')](_0x259790[_0x2e09('0x79')]),_0xbc0c9b=[_0x2e09('0x96'),_0x2e09('0xa5')],_0x110f8b=_0xbf8c50[_0x2e09('0x91')][_0x2e09('0x53')](_0x259790[_0x2e09('0x79')]);return _0x110f8b&&_0xbc0c9b[_0x2e09('0x55')]('ck-suggestion-marker--active'),{'classes':_0xbc0c9b,'attributes':{'data-suggestion':_0xe15ef0},'priority':_0x110f8b&&_0x36ac6?0xbc2:0xbb8};}_0xbf8c50['on']('suggestionLoaded',_0x190ba1,{'priority':_0x2e09('0x9a')}),_0xbf8c50['on'](_0x2e09('0x73'),_0x190ba1,{'priority':_0x2e09('0x9a')}),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')][_0x2e09('0x2c')](()=>{let _0x8f5e43=!0x1;const _0x3c6268=Array['from'](_0x13e67b['model'][_0x2e09('0x72')][_0x2e09('0x2f')][_0x2e09('0x4f')]());for(const {name:_0x1a87b9,data:_0x13b2c8}of _0x3c6268){const {group:_0xc6042e,type:_0x2015d2,id:_0x30356e}=_0xbf8c50[_0x2e09('0x95')](_0x1a87b9);if(_0x2e09('0x17')!=_0xc6042e||_0x2e09('0x5e')!=_0x2015d2||_0x13b2c8[_0x2e09('0x30')])continue;if(!_0xbf8c50[_0x2e09('0x3a')](_0x30356e))continue;const _0x2a1516=_0xbf8c50[_0x2e09('0x93')](_0x30356e)[_0x2e09('0x3f')](),_0x444263=_0x13e67b[_0x2e09('0x10')]['get'](_0x2e09('0x28'))['me'];for(const _0x410256 of _0xbf8c50[_0x2e09('0x15')]()){if(!_0x410256[_0x2e09('0xb')]||_0x410256[_0x2e09('0x82')]!=_0x444263)continue;if(_0x2e09('0x8')!=_0x410256[_0x2e09('0x66')]||_0x2e09('0x60')!=_0x410256['subType'])continue;if(_0x410256[_0x2e09('0x3f')]()[_0x2e09('0x12')](_0x5241b3=>_0x2a1516[_0x2e09('0x9e')](_0x2772f3=>_0x2772f3[_0x2e09('0xa4')](_0x5241b3,!0x0))))for(const _0x564fb6 of _0x410256[_0x2e09('0x44')]())_0x564fb6[_0x2e09('0xb')]&&(_0x564fb6[_0x2e09('0x85')](),_0x8f5e43=!0x0);}}return _0x8f5e43;}),_0x13e67b['model'][_0x2e09('0x72')][_0x2e09('0x2c')](_0xde787=>{const _0x1051fa=_0x13e67b['commands']['get'](_0x2e09('0x2e'));if(!_0x1051fa||!_0x1051fa['_createdBatches'][_0x2e09('0x98')](_0xde787['batch']))return!0x1;let _0x126755=!0x1;const _0x1052a6=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x28'))['me'],_0x69779f=_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')][_0x2e09('0x2f')][_0x2e09('0x25')](),_0x3ce506=Array[_0x2e09('0x74')](_0x13e67b['model']['document']['differ'][_0x2e09('0x4f')]())[_0x2e09('0x56')](({name:_0x3fec40,data:_0x12fd0d})=>{const {group:_0x2a02f2,subType:_0x31808d,authorId:_0x3de719}=_0xbf8c50[_0x2e09('0x95')](_0x3fec40);return _0x2e09('0x17')==_0x2a02f2&&_0x2e09('0x42')==_0x31808d&&_0x3de719==_0x1052a6['id']&&!_0x12fd0d[_0x2e09('0x30')];});for(const _0x2e99a1 of _0x69779f){if(_0x2e09('0x89')!=_0x2e99a1[_0x2e09('0x66')]||_0x2e09('0x2a')!=_0x2e99a1[_0x2e09('0x6a')]||0x1!=_0x2e99a1[_0x2e09('0x7a')])continue;const _0x4b6d74=_0xde787[_0x2e09('0x5a')](_0x2e99a1[_0x2e09('0x9f')],_0x2e99a1['position'][_0x2e09('0x94')](0x1));if(!_0x3ce506[_0x2e09('0x4c')](({data:_0x51c605})=>_0x51c605['newRange'][_0x2e09('0x43')](_0x4b6d74)))for(const {name:_0x186af6,data:_0x6bd954}of _0x3ce506)if(_0x4b6d74['containsRange'](_0x6bd954[_0x2e09('0x22')])){_0xde787[_0x2e09('0x5f')](_0x186af6,{'range':_0x4b6d74}),_0x126755=!0x0;break;}}return _0x126755;}),_0x13e67b[_0x2e09('0x70')][_0x2e09('0x72')]['registerPostFixer'](_0x40b428=>{let _0x13b5d0=!0x1;const _0x532e60=_0x13e67b[_0x2e09('0x10')][_0x2e09('0x9c')](_0x2e09('0x28'))['me'],_0xc74a0=_0xbf8c50[_0x2e09('0x15')]()[_0x2e09('0x56')](_0x58179c=>_0x58179c[_0x2e09('0xb')]&&_0x58179c[_0x2e09('0x82')]==_0x532e60),_0x3404b3=new Set(),_0x2704d4=new Set();for(const _0x33d6b8 of _0xc74a0)if(_0x2e09('0x42')==_0x33d6b8[_0x2e09('0x51')])for(const _0x5db1e0 of _0x33d6b8[_0x2e09('0x67')]()){const _0x18fda0=_0x5db1e0['getRange']()[_0x2e09('0x49')]();if(_0x18fda0){if(_0x18fda0['is'](_0x2e09('0x8a'),_0x2e09('0x2a'))&&ce(_0x18fda0)){_0x33d6b8[_0x2e09('0x86')](_0x5db1e0[_0x2e09('0x6a')]),_0x3404b3['add'](_0x18fda0),_0x13b5d0=!0x0;const _0x47266d=_0x18fda0['nextSibling'],_0x56ec9f=_0x18fda0['previousSibling'],_0x1daab1=_0x47266d&&_0x47266d['is'](_0x2e09('0x8a'),'tableCellSuggestion'),_0xecb93d=_0x56ec9f&&_0x56ec9f['is'](_0x2e09('0x8a'),_0x2e09('0x2a'));_0x1daab1&&!_0x3404b3[_0x2e09('0x98')](_0x47266d)&&_0x2704d4[_0x2e09('0x87')](_0x47266d),_0xecb93d&&!_0x3404b3['has'](_0x56ec9f)&&_0x2704d4[_0x2e09('0x87')](_0x56ec9f);}else _0x18fda0['is'](_0x2e09('0x8a'),_0x2e09('0x78'))&&_0x18fda0[_0x2e09('0x5')]&&(_0x33d6b8['removeMarker'](_0x5db1e0['name']),_0x13b5d0=!0x0);}}else{if(_0x2e09('0x60')==_0x33d6b8[_0x2e09('0x51')]){if(!_0x33d6b8[_0x2e09('0x19')]||!_0x33d6b8[_0x2e09('0x19')]['tablePasteChainId'])continue;const _0x4ac6e8=_0x33d6b8['attributes'][_0x2e09('0xc')];if(_0x4ac6e8&&Object[_0x2e09('0x1e')](_0x4ac6e8)[_0x2e09('0x7a')])continue;const _0x2c8d74=_0x33d6b8[_0x2e09('0x19')][_0x2e09('0xa')];let _0x10c04a=!0x0,_0x26192a=!0x0;for(const _0x5af920 of _0xc74a0)if(_0x5af920[_0x2e09('0x51')]&&_0x5af920[_0x2e09('0x51')]['startsWith'](_0x2e09('0x42'))){if(!_0x5af920[_0x2e09('0x19')]['tablePasteChainId']){_0x26192a=!0x1;break;}if(_0x5af920['id']!=_0x33d6b8['id']&&_0x5af920[_0x2e09('0x19')]['tablePasteChainId']==_0x2c8d74){_0x10c04a=!0x1;break;}}_0x26192a&&_0x10c04a&&(_0x33d6b8[_0x2e09('0x3d')](),_0x13b5d0=!0x0);}}for(const _0x24549d of _0x3404b3)_0x40b428[_0x2e09('0x4b')](_0x24549d);for(const _0x400d40 of _0x2704d4)_0x40b428[_0x2e09('0x13')](_0x400d40);return _0x13b5d0;}),_0x13e67b[_0x2e09('0x6b')][_0x2e09('0x52')](_0x2e09('0x27'))[_0x2e09('0x7c')]({'model':_0x2e09('0x18'),'view':(_0x2b6416,_0x54773c)=>_0x2bf0bb(_0x2b6416),'converterPriority':'high'}),_0x13e67b[_0x2e09('0x6b')][_0x2e09('0x52')](_0x2e09('0x6e'))[_0x2e09('0x7c')]({'model':_0x2e09('0x18'),'view':(_0x991f1c,_0xfe67c8)=>_0xfe67c8[_0x2e09('0x4d')][_0x2e09('0x46')]?_0x2bf0bb(_0x991f1c,!0x1):null,'converterPriority':_0x2e09('0x9a')});const _0x4b192f=_0x13e67b[_0x2e09('0x7b')][_0x2e09('0x6c')];this[_0x2e09('0x1b')](_0x4b192f[_0x2e09('0x72')],_0x2e09('0x16'),(_0x272d9f,_0x1815fa)=>{const _0x17388d=[];for(const _0x2f9464 of _0x4b192f[_0x2e09('0x23')](_0x1815fa['content'])['getItems']())_0x2f9464['is'](_0x2e09('0x8a'),'suggestion-td')&&_0x17388d[_0x2e09('0x55')](_0x2f9464);_0x4b192f[_0x2e09('0x76')](_0x45cca8=>{for(const _0x4e9156 of _0x17388d)_0x45cca8[_0x2e09('0x40')](_0x45cca8[_0x2e09('0x23')](_0x4e9156),_0x45cca8['createPositionBefore'](_0x4e9156)),_0x45cca8['remove'](_0x4e9156);});});}}function ce(_0x3dd8cc){if(_0x3dd8cc[_0x2e09('0x5')])return!0x0;const _0x20957f=_0x3dd8cc[_0x2e09('0x34')](0x0);return _0x20957f['is']('element','paragraph')&&_0x20957f['isEmpty'];}function fe(_0x1ee9fb,_0x47e2f8={},_0x588558){for(const {isAnchor:_0x2dad17,cellHeight:_0x214c5b,cellWidth:_0x944a8e}of _0x588558[_0x2e09('0x29')](_0x1ee9fb,{'includeAllSlots':!0x0,..._0x47e2f8}))if(!_0x2dad17||0x1!=_0x214c5b||0x1!=_0x944a8e)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1954=['table','getColumnGroupElement','subType','model','tableWidth','plugins','columnWidths','handleResizeTableWidthCommand','_suggestionFactory','editor','_descriptionFactory','*Format:*\x20resize\x20table','resizeTable','getAttribute','selection','data','bind','registerDescriptionCallback','handleSuggestionDescription','registerCustomCallback','discard','getContainedElement','resizeTableWidth','format','formatBlock','has','getSuggestions','TableColumnResizeEditing','document','getSelectedElement','get','Users','resizeColumnWidths','enableCommand','TrackChangesEditing','markBlockFormat'];(function(_0x27df41,_0x195428){const _0x11bd57=function(_0x20c52f){while(--_0x20c52f){_0x27df41['push'](_0x27df41['shift']());}};_0x11bd57(++_0x195428);}(_0x1954,0x10b));const _0x11bd=function(_0x27df41,_0x195428){_0x27df41=_0x27df41-0x0;let _0x11bd57=_0x1954[_0x27df41];return _0x11bd57;};import{Plugin as _0x3f6a78}from'ckeditor5/src/core';import{getTranslation as _0x2de2c8}from'../utils/common-translations';export default class wt extends _0x3f6a78{['afterInit'](){if(!this[_0x11bd('0x1e')][_0x11bd('0x1a')][_0x11bd('0xa')](_0x11bd('0xc')))return;const _0x1abb2d=this[_0x11bd('0x1e')][_0x11bd('0x1a')][_0x11bd('0xf')](_0x11bd('0x13'));_0x1abb2d[_0x11bd('0x12')](_0x11bd('0x7'),this[_0x11bd('0x1c')]['bind'](this)),_0x1abb2d[_0x11bd('0x12')](_0x11bd('0x11'),this[_0x11bd('0x1c')]['bind'](this)),_0x1abb2d[_0x11bd('0x1d')][_0x11bd('0x4')](_0x11bd('0x9'),'resizeTable','accept',_0x1abb2d[_0x11bd('0x1d')]['getSuggestionCallback']('formatBlock',null,_0x11bd('0x5'))),_0x1abb2d[_0x11bd('0x1d')][_0x11bd('0x4')](_0x11bd('0x9'),_0x11bd('0x21'),_0x11bd('0x5'),_0x1abb2d['_suggestionFactory']['getSuggestionCallback'](_0x11bd('0x9'),null,'accept')),_0x1abb2d[_0x11bd('0x1f')][_0x11bd('0x2')](this[_0x11bd('0x3')][_0x11bd('0x1')](this));}[_0x11bd('0x1c')](_0xb46de,_0x3a72b6){const _0x275ea2=this[_0x11bd('0x1e')][_0x11bd('0x1a')]['get'](_0x11bd('0x13')),_0x10b8d8=this[_0x11bd('0x1e')]['plugins']['get']('TableColumnResizeEditing'),_0x33019e=_0x3a72b6[_0x11bd('0x15')]||this[_0x11bd('0x1e')][_0x11bd('0x18')][_0x11bd('0xd')][_0x11bd('0x23')][_0x11bd('0xe')]();this['editor'][_0x11bd('0x18')]['change'](()=>{const _0x24ba7a=_0x10b8d8[_0x11bd('0x16')](_0x33019e);let _0x449c36=_0x24ba7a?_0x10b8d8['getTableColumnsWidths'](_0x24ba7a):null,_0xca9d23=_0x33019e[_0x11bd('0x22')]('tableWidth')||null;const _0x4f3ff6=_0x3a72b6[_0x11bd('0x19')]||_0xca9d23,_0x472e88=_0x3a72b6[_0x11bd('0x1b')]||_0x449c36,_0x58bbca=this['editor'][_0x11bd('0x1a')][_0x11bd('0xf')](_0x11bd('0x10'))['me'];for(const _0xec0846 of _0x275ea2[_0x11bd('0xb')]()){const _0x4a8c48=_0xec0846[_0x11bd('0x6')]();if('resizeTable'===_0xec0846[_0x11bd('0x17')]&&_0x4a8c48===_0x33019e){_0xec0846['author']!==_0x58bbca&&_0xec0846[_0x11bd('0x5')]();const _0x268088=_0xec0846[_0x11bd('0x0')]['commandParams'];_0xca9d23=_0x268088[0x0]['tableWidth'],_0x449c36=_0x268088[0x0][_0x11bd('0x1b')];break;}}_0xb46de({'table':_0x33019e,'tableWidth':_0x4f3ff6,'columnWidths':_0x472e88}),_0x275ea2[_0x11bd('0x14')](_0x33019e,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0xca9d23,'columnWidths':_0x449c36}],'formatGroupId':_0x11bd('0x21')},[],_0x11bd('0x21'));});}[_0x11bd('0x3')](_0x5d97c8){const {data:_0x233b67}=_0x5d97c8;if(_0x233b67&&_0x11bd('0x21')===_0x233b67['formatGroupId']){const _0xe910ea=_0x11bd('0x20');return{'type':_0x11bd('0x8'),'content':_0x2de2c8(this[_0x11bd('0x1e')]['locale'],_0xe910ea)};}}}
23
+ const _0x58ec=['formatBlock','getContainedElement','getSelectedElement','bind','plugins','afterInit','Users','formatGroupId','change','handleSuggestionDescription','getColumnGroupElement','getSuggestions','has','subType','editor','*Format:*\x20resize\x20table','model','resizeTable','_suggestionFactory','data','accept','table','getAttribute','document','resizeColumnWidths','discard','enableCommand','format','commandParams','get','handleResizeTableWidthCommand','registerDescriptionCallback','registerCustomCallback','TableColumnResizeEditing','getSuggestionCallback','getTableColumnsWidths','resizeTableWidth','tableWidth','TrackChangesEditing','columnWidths'];(function(_0x4ffaaa,_0x58ecaa){const _0x16d267=function(_0x40ca3f){while(--_0x40ca3f){_0x4ffaaa['push'](_0x4ffaaa['shift']());}};_0x16d267(++_0x58ecaa);}(_0x58ec,0x1b4));const _0x16d2=function(_0x4ffaaa,_0x58ecaa){_0x4ffaaa=_0x4ffaaa-0x0;let _0x16d267=_0x58ec[_0x4ffaaa];return _0x16d267;};import{Plugin as _0xf72d11}from'ckeditor5/src/core';import{getTranslation as _0x5126df}from'../utils/common-translations';export default class wt extends _0xf72d11{[_0x16d2('0x9')](){if(!this[_0x16d2('0x12')]['plugins'][_0x16d2('0x10')]('TableColumnResizeEditing'))return;const _0x3f163d=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')](_0x16d2('0x2'));_0x3f163d[_0x16d2('0x1e')](_0x16d2('0x0'),this[_0x16d2('0x22')][_0x16d2('0x7')](this)),_0x3f163d[_0x16d2('0x1e')](_0x16d2('0x1c'),this[_0x16d2('0x22')]['bind'](this)),_0x3f163d[_0x16d2('0x16')][_0x16d2('0x24')](_0x16d2('0x4'),_0x16d2('0x15'),_0x16d2('0x18'),_0x3f163d['_suggestionFactory'][_0x16d2('0x26')](_0x16d2('0x4'),null,_0x16d2('0x1d'))),_0x3f163d['_suggestionFactory'][_0x16d2('0x24')](_0x16d2('0x4'),'resizeTable',_0x16d2('0x1d'),_0x3f163d['_suggestionFactory'][_0x16d2('0x26')](_0x16d2('0x4'),null,'accept')),_0x3f163d['_descriptionFactory'][_0x16d2('0x23')](this[_0x16d2('0xd')][_0x16d2('0x7')](this));}[_0x16d2('0x22')](_0x765c5c,_0x33d6d7){const _0x3eceea=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')]('TrackChangesEditing'),_0x5dbd0d=this['editor'][_0x16d2('0x8')]['get'](_0x16d2('0x25')),_0x523c7f=_0x33d6d7[_0x16d2('0x19')]||this[_0x16d2('0x12')][_0x16d2('0x14')][_0x16d2('0x1b')]['selection'][_0x16d2('0x6')]();this[_0x16d2('0x12')]['model'][_0x16d2('0xc')](()=>{const _0x4cf3b1=_0x5dbd0d[_0x16d2('0xe')](_0x523c7f);let _0x3b34b5=_0x4cf3b1?_0x5dbd0d[_0x16d2('0x27')](_0x4cf3b1):null,_0x3d5df2=_0x523c7f[_0x16d2('0x1a')](_0x16d2('0x1'))||null;const _0x14b024=_0x33d6d7[_0x16d2('0x1')]||_0x3d5df2,_0x15386f=_0x33d6d7[_0x16d2('0x3')]||_0x3b34b5,_0x352e3a=this[_0x16d2('0x12')][_0x16d2('0x8')][_0x16d2('0x21')](_0x16d2('0xa'))['me'];for(const _0x4b6137 of _0x3eceea[_0x16d2('0xf')]()){const _0x4d7edb=_0x4b6137[_0x16d2('0x5')]();if('resizeTable'===_0x4b6137[_0x16d2('0x11')]&&_0x4d7edb===_0x523c7f){_0x4b6137['author']!==_0x352e3a&&_0x4b6137[_0x16d2('0x1d')]();const _0x39854b=_0x4b6137[_0x16d2('0x17')][_0x16d2('0x20')];_0x3d5df2=_0x39854b[0x0]['tableWidth'],_0x3b34b5=_0x39854b[0x0][_0x16d2('0x3')];break;}}_0x765c5c({'table':_0x523c7f,'tableWidth':_0x14b024,'columnWidths':_0x15386f}),_0x3eceea['markBlockFormat'](_0x523c7f,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x3d5df2,'columnWidths':_0x3b34b5}],'formatGroupId':_0x16d2('0x15')},[],'resizeTable');});}['handleSuggestionDescription'](_0x472d83){const {data:_0x594b97}=_0x472d83;if(_0x594b97&&_0x16d2('0x15')===_0x594b97[_0x16d2('0xb')]){const _0x436d3c=_0x16d2('0x13');return{'type':_0x16d2('0x1f'),'content':_0x5126df(this['editor']['locale'],_0x436d3c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5565=['getSuggestion','mapper','getAttribute','selection','setTableRowHeader','formatBlock','afterInit','nodeBefore','activeMarkers','includes','writer','commandParams','headingColumns','plugins','createPositionAfter','get','cell','document','_splitMarkerName','from','registerCustomCallback','getColumnIndexes','showSuggestionHighlights','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','markBlockFormat','setTableColumnHeader','getChild','editing','data-suggestion','start','parent','isBefore','_descriptionFactory','getCellLocation','*Format:*\x20%0','headingRows','model','change','format','FORMAT_REGULAR_COLUMN','registerDescriptionCallback','addClass','markerRange','childCount','createPositionBefore','item','removeMarker:suggestion','commands','value','enableCommand','first','removeAttribute','forceValue','FORMAT_HEADER_ROW','highest','setAttribute','commandName','ck-suggestion-marker-','FORMAT_HEADER_COLUMN','removeClass','table','createTableWalker','addMarker:suggestion','unbindElementFromMarkerName','createRange','TableUtils','downcastDispatcher','findAncestor','getSelectionAffectedTableCells','accept','data','ck-suggestion-marker--active','last','markerName','consumable','consume','options','index'];(function(_0x35315c,_0x556566){const _0x39fb33=function(_0x36fa71){while(--_0x36fa71){_0x35315c['push'](_0x35315c['shift']());}};_0x39fb33(++_0x556566);}(_0x5565,0x71));const _0x39fb=function(_0x35315c,_0x556566){_0x35315c=_0x35315c-0x0;let _0x39fb33=_0x5565[_0x35315c];return _0x39fb33;};import{Plugin as _0x373530}from'ckeditor5/src/core';import _0x4560ac from'./table';import{getTranslation as _0x332f53}from'../utils/common-translations';export default class pt extends _0x373530{static get['requires'](){return[_0x4560ac];}[_0x39fb('0x33')](){const _0x3ec982=this['editor'];if(!_0x3ec982[_0x39fb('0x3a')]['has']('TableEditing'))return;const _0x2aaef5=_0x3ec982['locale'],_0x3f69e4=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')]('TrackChangesEditing'),_0x25c1ae=_0x3ec982[_0x39fb('0x3a')]['get'](_0x39fb('0x20')),_0x1cdd8a=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')](_0x4560ac);function _0xd86692({showActiveMarker:_0x2e943d=!0x0,setDataAttribute:_0x3d5f9a=!0x0}={}){return(_0x572283,_0x4149d3,_0x5e624a)=>{const {type:_0x4bb71e,id:_0x4cf71d}=_0x3f69e4['_splitMarkerName'](_0x4149d3[_0x39fb('0x28')]),_0x56da91=_0x3f69e4[_0x39fb('0x2d')](_0x4cf71d);if(!_0x56da91[_0x39fb('0x25')]||'setTableColumnHeader'!=_0x56da91['data'][_0x39fb('0x17')])return;if(_0x4149d3[_0x39fb('0xc')])return void _0x572283['stop']();if(!_0x5e624a[_0x39fb('0x29')][_0x39fb('0x2a')](_0x4149d3[_0x39fb('0x9')],_0x572283['name']))return;const _0x208f9d=_0x4149d3[_0x39fb('0x9')][_0x39fb('0x4b')]['nodeAfter'],_0x401b02=_0x4149d3[_0x39fb('0x9')]['end'][_0x39fb('0x34')],_0x6a2413=_0x208f9d[_0x39fb('0x4c')][_0x39fb('0x4c')],{column:_0x22ac3d}=_0x25c1ae[_0x39fb('0x0')](_0x208f9d),{column:_0x161ffc}=_0x25c1ae[_0x39fb('0x0')](_0x401b02);for(let _0x5ce643=_0x22ac3d;_0x5ce643<=_0x161ffc;_0x5ce643++){const _0x3b71f9=_0x25c1ae[_0x39fb('0x1c')](_0x6a2413,{'column':_0x5ce643,'includeAllSlots':!0x1});for(const _0x2ce4d3 of _0x3b71f9){const _0xa3f322=_0x2ce4d3['cell'],_0x4f3a55=_0x5e624a[_0x39fb('0x2e')]['toViewElement'](_0xa3f322);_0x5e624a[_0x39fb('0x37')][_0x39fb('0x8')]('ck-suggestion-marker-'+_0x4bb71e,_0x4f3a55),_0x3d5f9a&&_0x5e624a[_0x39fb('0x37')][_0x39fb('0x16')](_0x39fb('0x4a'),_0x4cf71d,_0x4f3a55),_0x5e624a['mapper']['bindElementToMarker'](_0x4f3a55,_0x4149d3[_0x39fb('0x28')]),_0x2e943d&&(_0x3f69e4[_0x39fb('0x35')][_0x39fb('0x36')](_0x4149d3['markerName'])?_0x5e624a[_0x39fb('0x37')][_0x39fb('0x8')](_0x39fb('0x26'),_0x4f3a55):_0x5e624a[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x26'),_0x4f3a55));}}};}_0x3f69e4[_0x39fb('0x10')](_0x39fb('0x31'),(_0x24e7a6,_0x17bf07)=>{const _0x13c2ca=_0x25c1ae[_0x39fb('0x23')](_0x3ec982[_0x39fb('0x3')][_0x39fb('0x3e')][_0x39fb('0x30')]),_0x306051=_0x25c1ae['getRowIndexes'](_0x13c2ca),_0x465f67=_0x13c2ca[0x0][_0x39fb('0x22')](_0x39fb('0x1b')),_0x416762=_0x465f67['getAttribute'](_0x39fb('0x2'))||0x0,_0x13ea36=_0x17bf07&&null!==_0x17bf07[_0x39fb('0x13')]?_0x17bf07[_0x39fb('0x13')]:!_0x3ec982[_0x39fb('0xe')][_0x39fb('0x3c')](_0x39fb('0x31'))[_0x39fb('0xf')],_0x1dff48=_0x13ea36?_0x306051['last']:_0x306051[_0x39fb('0x11')],_0x1459ac=_0x465f67[_0x39fb('0x48')](_0x1dff48);let _0x47c796;if(_0x13ea36){const _0x31377a=_0x465f67[_0x39fb('0x48')](_0x416762);if(_0x1459ac[_0x39fb('0x2c')]<_0x31377a[_0x39fb('0x2c')])return;_0x47c796=_0x3ec982[_0x39fb('0x3')][_0x39fb('0x1f')](_0x3ec982['model'][_0x39fb('0xb')](_0x31377a['getChild'](0x0)),_0x3ec982[_0x39fb('0x3')]['createPositionAfter'](_0x1459ac[_0x39fb('0x48')](_0x1459ac['childCount']-0x1)));}else{const _0x27e152=_0x465f67['getChild'](_0x416762-0x1);if(!_0x27e152)return;_0x47c796=_0x3ec982['model']['createRange'](_0x3ec982[_0x39fb('0x3')][_0x39fb('0xb')](_0x1459ac[_0x39fb('0x48')](0x0)),_0x3ec982[_0x39fb('0x3')][_0x39fb('0x3b')](_0x27e152[_0x39fb('0x48')](_0x27e152[_0x39fb('0xa')]-0x1)));}_0x3ec982[_0x39fb('0x3')][_0x39fb('0x4')](()=>{_0x3f69e4[_0x39fb('0x46')](_0x47c796,{'commandName':_0x39fb('0x31'),'commandParams':[{'forceValue':_0x13ea36}]},[],_0x39fb('0x31'));});}),_0x3f69e4[_0x39fb('0x10')](_0x39fb('0x47'),(_0x3f332d,_0x7676f1)=>{const _0x44c73b=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')](_0x39fb('0x20')),_0x29f71b=_0x44c73b['getSelectionAffectedTableCells'](_0x3ec982[_0x39fb('0x3')]['document'][_0x39fb('0x30')]),_0x2b531d=_0x44c73b[_0x39fb('0x42')](_0x29f71b),_0x573c91=_0x29f71b[0x0]['findAncestor']('table'),_0x33f905=_0x573c91[_0x39fb('0x2f')](_0x39fb('0x39'))||0x0,_0x42bf7f=_0x7676f1&&null!==_0x7676f1[_0x39fb('0x13')]?_0x7676f1[_0x39fb('0x13')]:!_0x3ec982[_0x39fb('0xe')][_0x39fb('0x3c')](_0x39fb('0x47'))[_0x39fb('0xf')];let _0x13ba10;const _0x49128c=_0x573c91[_0x39fb('0x48')](0x0),_0x1c40e5=_0x42bf7f?_0x2b531d[_0x39fb('0x27')]:_0x2b531d['first'],_0x99f0b2=_0x44c73b[_0x39fb('0x1c')](_0x573c91,{'startRow':0x0,'column':_0x1c40e5,'includeAllSlots':!0x1}),_0x43bb69=Array[_0x39fb('0x40')](_0x99f0b2)[0x0][_0x39fb('0x3d')];if(_0x42bf7f){const _0x2c9a91=_0x49128c[_0x39fb('0x48')](_0x33f905);if(_0x43bb69[_0x39fb('0x4d')](_0x2c9a91))return;_0x13ba10=_0x3ec982[_0x39fb('0x3')]['createRange'](_0x3ec982[_0x39fb('0x3')][_0x39fb('0xb')](_0x2c9a91),_0x3ec982[_0x39fb('0x3')]['createPositionAfter'](_0x43bb69));}else{const _0x28d526=_0x49128c[_0x39fb('0x48')](_0x33f905-0x1);if(!_0x28d526)return;_0x13ba10=_0x3ec982[_0x39fb('0x3')]['createRange'](_0x3ec982[_0x39fb('0x3')]['createPositionBefore'](_0x43bb69),_0x3ec982['model'][_0x39fb('0x3b')](_0x28d526));}_0x3ec982[_0x39fb('0x3')][_0x39fb('0x4')](()=>{_0x3f69e4['markBlockFormat'](_0x13ba10,{'commandName':_0x39fb('0x47'),'commandParams':[{'forceValue':_0x42bf7f}]},[],_0x39fb('0x47'));});}),_0x3ec982[_0x39fb('0x49')][_0x39fb('0x21')]['on']('addMarker:suggestion',_0xd86692(),{'priority':_0x39fb('0x15')}),_0x3ec982[_0x39fb('0x25')][_0x39fb('0x21')]['on'](_0x39fb('0x1d'),(_0x1b8d3e,_0x5de25f,_0x157cf3)=>{_0x157cf3[_0x39fb('0x2b')][_0x39fb('0x43')]&&_0xd86692({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1b8d3e,_0x5de25f,_0x157cf3);},{'priority':_0x39fb('0x15')}),_0x3ec982['editing']['downcastDispatcher']['on'](_0x39fb('0xd'),(_0x12b7b8,_0x1645e8,_0x37b4ba)=>{const {type:_0x4850e7,id:_0x3157b7}=_0x3f69e4[_0x39fb('0x3f')](_0x1645e8[_0x39fb('0x28')]),_0x1461d2=_0x3f69e4[_0x39fb('0x2d')](_0x3157b7);if(!_0x1461d2[_0x39fb('0x25')]||_0x39fb('0x47')!=_0x1461d2[_0x39fb('0x25')][_0x39fb('0x17')])return;const _0x214f58=_0x37b4ba[_0x39fb('0x2e')]['markerNameToElements'](_0x1645e8[_0x39fb('0x28')]);if(_0x214f58)for(const _0x2a0c13 of _0x214f58)_0x37b4ba[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x18')+_0x4850e7,_0x2a0c13),_0x37b4ba[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x26'),_0x2a0c13),_0x37b4ba['writer'][_0x39fb('0x12')]('data-suggestion',_0x2a0c13),_0x37b4ba[_0x39fb('0x2e')][_0x39fb('0x1e')](_0x2a0c13,_0x1645e8[_0x39fb('0x28')]);},{'priority':_0x39fb('0x15')}),_0x3f69e4[_0x39fb('0x4e')][_0x39fb('0x7')](_0x53ea05=>{const {data:_0x3820ee}=_0x53ea05;if(_0x3820ee){if(_0x39fb('0x31')==_0x3820ee[_0x39fb('0x17')]){const _0x1d3731=_0x3820ee[_0x39fb('0x38')][0x0][_0x39fb('0x13')];return _0x1a3ddd(_0x332f53(_0x2aaef5,_0x1d3731?_0x39fb('0x14'):'FORMAT_REGULAR_ROW'));}if(_0x39fb('0x47')==_0x3820ee['commandName']){const _0x4470fb=_0x3820ee[_0x39fb('0x38')][0x0][_0x39fb('0x13')];return _0x1a3ddd(_0x332f53(_0x2aaef5,_0x4470fb?_0x39fb('0x19'):_0x39fb('0x6')));}}function _0x1a3ddd(_0x136021){return{'type':_0x39fb('0x5'),'content':_0x332f53(_0x2aaef5,_0x39fb('0x1'),_0x136021)};}});const _0x25e9fa=_0x1cdd8a[_0x39fb('0x45')]();_0x3f69e4[_0x39fb('0x44')][_0x39fb('0x41')]('formatBlock',_0x39fb('0x31'),'accept',_0x25e9fa),_0x3f69e4[_0x39fb('0x44')]['registerCustomCallback'](_0x39fb('0x32'),_0x39fb('0x47'),_0x39fb('0x24'),_0x25e9fa);}}
23
+ const _0x1494=['downcastDispatcher','activeMarkers','setTableColumnHeader','createPositionBefore','options','removeClass','unbindElementFromMarkerName','locale','TrackChangesEditing','document','index','commands','change','editing','removeMarker:suggestion','format','registerCustomCallback','end','table','enableCommand','value','createRange','has','from','accept','selection','writer','addClass','nodeAfter','FORMAT_REGULAR_ROW','TableEditing','headingRows','getCellLocation','editor','addMarker:suggestion','nodeBefore','parent','showSuggestionHighlights','name','data','getChild','markerName','mapper','markerNameToElements','requires','commandParams','isBefore','getSuggestion','get','first','setTableRowHeader','plugins','FORMAT_HEADER_ROW','ck-suggestion-marker-','model','last','createPositionAfter','markerRange','_suggestionFactory','forceValue','getRowIndexes','ck-suggestion-marker--active','formatBlock','FORMAT_HEADER_COLUMN','createTableWalker','data-suggestion','_splitMarkerName','markBlockFormat','findAncestor','commandName','*Format:*\x20%0','FORMAT_REGULAR_COLUMN','includes','getAttribute','TableUtils','cell','bindElementToMarker','getSelectionAffectedTableCells','highest'];(function(_0x4fd8ae,_0x14946d){const _0x51d63a=function(_0x885624){while(--_0x885624){_0x4fd8ae['push'](_0x4fd8ae['shift']());}};_0x51d63a(++_0x14946d);}(_0x1494,0x1b3));const _0x51d6=function(_0x4fd8ae,_0x14946d){_0x4fd8ae=_0x4fd8ae-0x0;let _0x51d63a=_0x1494[_0x4fd8ae];return _0x51d63a;};import{Plugin as _0xa3c93d}from'ckeditor5/src/core';import _0x5f185a from'./table';import{getTranslation as _0x4e1601}from'../utils/common-translations';export default class pt extends _0xa3c93d{static get[_0x51d6('0x4')](){return[_0x5f185a];}['afterInit'](){const _0x1e0e80=this[_0x51d6('0x48')];if(!_0x1e0e80[_0x51d6('0xb')][_0x51d6('0x3d')](_0x51d6('0x45')))return;const _0x115f59=_0x1e0e80[_0x51d6('0x2e')],_0x234354=_0x1e0e80['plugins'][_0x51d6('0x8')](_0x51d6('0x2f')),_0x5ef188=_0x1e0e80[_0x51d6('0xb')]['get']('TableUtils'),_0x669136=_0x1e0e80[_0x51d6('0xb')]['get'](_0x5f185a);function _0x263f86({showActiveMarker:_0x478693=!0x0,setDataAttribute:_0x3fbfc3=!0x0}={}){return(_0x25432b,_0x3c28a0,_0x18cf20)=>{const {type:_0x32f604,id:_0x30329e}=_0x234354['_splitMarkerName'](_0x3c28a0[_0x51d6('0x1')]),_0x432b5b=_0x234354[_0x51d6('0x7')](_0x30329e);if(!_0x432b5b[_0x51d6('0x4e')]||_0x51d6('0x29')!=_0x432b5b[_0x51d6('0x4e')][_0x51d6('0x1d')])return;if(_0x3c28a0['item'])return void _0x25432b['stop']();if(!_0x18cf20['consumable']['consume'](_0x3c28a0['markerRange'],_0x25432b[_0x51d6('0x4d')]))return;const _0x434729=_0x3c28a0[_0x51d6('0x11')]['start'][_0x51d6('0x43')],_0x1ba0ce=_0x3c28a0[_0x51d6('0x11')][_0x51d6('0x38')][_0x51d6('0x4a')],_0x11a289=_0x434729[_0x51d6('0x4b')][_0x51d6('0x4b')],{column:_0x515b4d}=_0x5ef188[_0x51d6('0x47')](_0x434729),{column:_0x4c7004}=_0x5ef188['getCellLocation'](_0x1ba0ce);for(let _0x36dd6b=_0x515b4d;_0x36dd6b<=_0x4c7004;_0x36dd6b++){const _0x42aa76=_0x5ef188[_0x51d6('0x18')](_0x11a289,{'column':_0x36dd6b,'includeAllSlots':!0x1});for(const _0x593d20 of _0x42aa76){const _0x23b0cb=_0x593d20[_0x51d6('0x23')],_0x4a06b5=_0x18cf20['mapper']['toViewElement'](_0x23b0cb);_0x18cf20[_0x51d6('0x41')][_0x51d6('0x42')](_0x51d6('0xd')+_0x32f604,_0x4a06b5),_0x3fbfc3&&_0x18cf20[_0x51d6('0x41')]['setAttribute'](_0x51d6('0x19'),_0x30329e,_0x4a06b5),_0x18cf20[_0x51d6('0x2')][_0x51d6('0x24')](_0x4a06b5,_0x3c28a0[_0x51d6('0x1')]),_0x478693&&(_0x234354[_0x51d6('0x28')][_0x51d6('0x20')](_0x3c28a0[_0x51d6('0x1')])?_0x18cf20[_0x51d6('0x41')][_0x51d6('0x42')](_0x51d6('0x15'),_0x4a06b5):_0x18cf20[_0x51d6('0x41')][_0x51d6('0x2c')](_0x51d6('0x15'),_0x4a06b5));}}};}_0x234354[_0x51d6('0x3a')]('setTableRowHeader',(_0x608d6c,_0x3746fa)=>{const _0x4e95c6=_0x5ef188[_0x51d6('0x25')](_0x1e0e80['model'][_0x51d6('0x30')][_0x51d6('0x40')]),_0x9cb1bd=_0x5ef188[_0x51d6('0x14')](_0x4e95c6),_0x76e4fb=_0x4e95c6[0x0]['findAncestor'](_0x51d6('0x39')),_0x210848=_0x76e4fb['getAttribute'](_0x51d6('0x46'))||0x0,_0x1e444f=_0x3746fa&&null!==_0x3746fa['forceValue']?_0x3746fa[_0x51d6('0x13')]:!_0x1e0e80['commands'][_0x51d6('0x8')]('setTableRowHeader')[_0x51d6('0x3b')],_0x9fb388=_0x1e444f?_0x9cb1bd['last']:_0x9cb1bd[_0x51d6('0x9')],_0x4d8462=_0x76e4fb[_0x51d6('0x0')](_0x9fb388);let _0x4bf3c4;if(_0x1e444f){const _0x368ea2=_0x76e4fb['getChild'](_0x210848);if(_0x4d8462['index']<_0x368ea2[_0x51d6('0x31')])return;_0x4bf3c4=_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x368ea2[_0x51d6('0x0')](0x0)),_0x1e0e80['model'][_0x51d6('0x10')](_0x4d8462[_0x51d6('0x0')](_0x4d8462['childCount']-0x1)));}else{const _0x5211a2=_0x76e4fb[_0x51d6('0x0')](_0x210848-0x1);if(!_0x5211a2)return;_0x4bf3c4=_0x1e0e80['model'][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x4d8462['getChild'](0x0)),_0x1e0e80['model'][_0x51d6('0x10')](_0x5211a2[_0x51d6('0x0')](_0x5211a2['childCount']-0x1)));}_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x33')](()=>{_0x234354[_0x51d6('0x1b')](_0x4bf3c4,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x1e444f}]},[],_0x51d6('0xa'));});}),_0x234354[_0x51d6('0x3a')](_0x51d6('0x29'),(_0x4b9601,_0xbbf1e9)=>{const _0x438ecf=_0x1e0e80['plugins']['get'](_0x51d6('0x22')),_0x43fe76=_0x438ecf[_0x51d6('0x25')](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x30')][_0x51d6('0x40')]),_0xc7a34c=_0x438ecf['getColumnIndexes'](_0x43fe76),_0x369704=_0x43fe76[0x0][_0x51d6('0x1c')](_0x51d6('0x39')),_0x148e00=_0x369704[_0x51d6('0x21')]('headingColumns')||0x0,_0x53863f=_0xbbf1e9&&null!==_0xbbf1e9['forceValue']?_0xbbf1e9[_0x51d6('0x13')]:!_0x1e0e80[_0x51d6('0x32')][_0x51d6('0x8')](_0x51d6('0x29'))[_0x51d6('0x3b')];let _0x51fa4;const _0x157296=_0x369704[_0x51d6('0x0')](0x0),_0x4ba39a=_0x53863f?_0xc7a34c[_0x51d6('0xf')]:_0xc7a34c[_0x51d6('0x9')],_0x574e4f=_0x438ecf['createTableWalker'](_0x369704,{'startRow':0x0,'column':_0x4ba39a,'includeAllSlots':!0x1}),_0x38597c=Array[_0x51d6('0x3e')](_0x574e4f)[0x0][_0x51d6('0x23')];if(_0x53863f){const _0x28362d=_0x157296[_0x51d6('0x0')](_0x148e00);if(_0x38597c[_0x51d6('0x6')](_0x28362d))return;_0x51fa4=_0x1e0e80[_0x51d6('0xe')]['createRange'](_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x2a')](_0x28362d),_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x10')](_0x38597c));}else{const _0x248850=_0x157296[_0x51d6('0x0')](_0x148e00-0x1);if(!_0x248850)return;_0x51fa4=_0x1e0e80['model'][_0x51d6('0x3c')](_0x1e0e80[_0x51d6('0xe')]['createPositionBefore'](_0x38597c),_0x1e0e80[_0x51d6('0xe')][_0x51d6('0x10')](_0x248850));}_0x1e0e80[_0x51d6('0xe')]['change'](()=>{_0x234354['markBlockFormat'](_0x51fa4,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x53863f}]},[],_0x51d6('0x29'));});}),_0x1e0e80[_0x51d6('0x34')][_0x51d6('0x27')]['on'](_0x51d6('0x49'),_0x263f86(),{'priority':_0x51d6('0x26')}),_0x1e0e80[_0x51d6('0x4e')][_0x51d6('0x27')]['on'](_0x51d6('0x49'),(_0x8dc0ea,_0x91366d,_0x34824a)=>{_0x34824a[_0x51d6('0x2b')][_0x51d6('0x4c')]&&_0x263f86({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x8dc0ea,_0x91366d,_0x34824a);},{'priority':'highest'}),_0x1e0e80[_0x51d6('0x34')]['downcastDispatcher']['on'](_0x51d6('0x35'),(_0x57ed0b,_0x2b47b5,_0x47eb81)=>{const {type:_0x4ba270,id:_0xb5a675}=_0x234354[_0x51d6('0x1a')](_0x2b47b5[_0x51d6('0x1')]),_0x26f229=_0x234354[_0x51d6('0x7')](_0xb5a675);if(!_0x26f229[_0x51d6('0x4e')]||'setTableColumnHeader'!=_0x26f229['data'][_0x51d6('0x1d')])return;const _0xbc9b1b=_0x47eb81[_0x51d6('0x2')][_0x51d6('0x3')](_0x2b47b5[_0x51d6('0x1')]);if(_0xbc9b1b)for(const _0x4cebfc of _0xbc9b1b)_0x47eb81[_0x51d6('0x41')][_0x51d6('0x2c')]('ck-suggestion-marker-'+_0x4ba270,_0x4cebfc),_0x47eb81[_0x51d6('0x41')][_0x51d6('0x2c')](_0x51d6('0x15'),_0x4cebfc),_0x47eb81[_0x51d6('0x41')]['removeAttribute'](_0x51d6('0x19'),_0x4cebfc),_0x47eb81[_0x51d6('0x2')][_0x51d6('0x2d')](_0x4cebfc,_0x2b47b5['markerName']);},{'priority':_0x51d6('0x26')}),_0x234354['_descriptionFactory']['registerDescriptionCallback'](_0x1dfbc6=>{const {data:_0x53f084}=_0x1dfbc6;if(_0x53f084){if(_0x51d6('0xa')==_0x53f084[_0x51d6('0x1d')]){const _0x2ea2c4=_0x53f084[_0x51d6('0x5')][0x0][_0x51d6('0x13')];return _0x35c764(_0x4e1601(_0x115f59,_0x2ea2c4?_0x51d6('0xc'):_0x51d6('0x44')));}if(_0x51d6('0x29')==_0x53f084[_0x51d6('0x1d')]){const _0x3fe068=_0x53f084[_0x51d6('0x5')][0x0][_0x51d6('0x13')];return _0x35c764(_0x4e1601(_0x115f59,_0x3fe068?_0x51d6('0x17'):_0x51d6('0x1f')));}}function _0x35c764(_0x31e566){return{'type':_0x51d6('0x36'),'content':_0x4e1601(_0x115f59,_0x51d6('0x1e'),_0x31e566)};}});const _0x34f671=_0x669136['_acceptFormatSuggestionCallbackFactory']();_0x234354[_0x51d6('0x12')][_0x51d6('0x37')](_0x51d6('0x16'),_0x51d6('0xa'),_0x51d6('0x3f'),_0x34f671),_0x234354[_0x51d6('0x12')][_0x51d6('0x37')]('formatBlock',_0x51d6('0x29'),'accept',_0x34f671);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b50=['*Split\x20cell:*\x20vertically','mergeTableCellDown','size','push','_tablePostFixingSubtypes','stop','requires','getSuggestions','has','mergeTableCells','insertion','add','isInContent','horizontally','getCellLocation','format','root','map','_suggestionFactory','detach','from','_acceptFormatSuggestionCallbackFactory','TableUtils','registerCustomCallback','change','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20horizontally','_areSelectedCellsMergable','containsRange','highest','return','getSelectionAffectedTableCells','enableCommand','mergeTableCellUp','formatBlock','commandName','plugins','author','low','createTableWalker','value','forceDefaultExecution','fromRange','setSelection','execute','registerDescriptionCallback','markBlockFormat','direction','accept','getRanges','cell','_areMergableCells','find','tableCell','commands','type','afterInit','get','getAncestors','selection','table','mergeTableCellRight','refresh','findAncestor','_descriptionFactory','getFirstPosition','TrackChangesEditing','createRangeOn','length','editor','document','model','rootName','splitTableCellVertically','markMultiRangeBlockFormat','mergeTableCellLeft','subType','splitTableCellHorizontally'];(function(_0x344323,_0x2b50fb){const _0x1e1ab4=function(_0x40fe5d){while(--_0x40fe5d){_0x344323['push'](_0x344323['shift']());}};_0x1e1ab4(++_0x2b50fb);}(_0x2b50,0x13f));const _0x1e1a=function(_0x344323,_0x2b50fb){_0x344323=_0x344323-0x0;let _0x1e1ab4=_0x2b50[_0x344323];return _0x1e1ab4;};import{Plugin as _0x1bc6d8}from'ckeditor5/src/core';import _0x25606e from'./table';import{LiveRange as _0x55ca79}from'ckeditor5/src/engine';import{getTranslation as _0x297c4b}from'../utils/common-translations';export default class dt extends _0x1bc6d8{static get[_0x1e1a('0x4d')](){return[_0x25606e];}[_0x1e1a('0x31')](){const _0xdaefbe=this[_0x1e1a('0x3e')],_0x478787=_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x3f')][_0x1e1a('0x34')],_0x5c09b4=_0xdaefbe['locale'];if(!_0xdaefbe[_0x1e1a('0x1d')][_0x1e1a('0x1')]('TableEditing'))return;const _0x1481aa=_0xdaefbe[_0x1e1a('0x1d')]['get']('TrackChangesEditing'),_0x4e83ae=_0xdaefbe[_0x1e1a('0x1d')][_0x1e1a('0x32')]('TableUtils'),_0x26b067=_0xdaefbe['plugins'][_0x1e1a('0x32')](_0x25606e);_0x26b067[_0x1e1a('0x4b')][_0x1e1a('0x4a')]('mergeTableCells'),_0x1481aa[_0x1e1a('0x19')](_0x1e1a('0x2'),()=>{const _0x5926fc=_0x4e83ae[_0x1e1a('0x18')](_0xdaefbe[_0x1e1a('0x40')]['document']['selection']);_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](()=>{_0x1481aa['markMultiRangeBlockFormat'](_0x5926fc,{'commandName':_0x1e1a('0x2'),'commandParams':[]},[],_0x1e1a('0x2'));});}),_0xdaefbe[_0x1e1a('0x2f')]['get'](_0x1e1a('0x2'))['on'](_0x1e1a('0x25'),(_0x48616e,_0x2945e0)=>{_0xdaefbe[_0x1e1a('0x2f')]['get']('trackChanges')[_0x1e1a('0x21')]&&(_0x2945e0[_0x1e1a('0x3d')]>0x0&&_0x2945e0[_0x2945e0[_0x1e1a('0x3d')]-0x1]&&_0x2945e0[_0x2945e0['length']-0x1][_0x1e1a('0x22')]||_0x1481aa[_0x1e1a('0x12')]||this['_areSelectedCellsMergable']()||_0x48616e[_0x1e1a('0x4c')]());},{'priority':_0x1e1a('0x16')});for(const _0x46e7be of[_0x1e1a('0x1a'),'mergeTableCellRight',_0x1e1a('0x48'),_0x1e1a('0x44')]){const _0x5a3e2d=_0xdaefbe[_0x1e1a('0x2f')]['get'](_0x46e7be);_0x1481aa[_0x1e1a('0x19')](_0x46e7be,()=>{const _0x37a5d3=_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x3f')][_0x1e1a('0x34')][_0x1e1a('0x3a')]()[_0x1e1a('0x33')]()[_0x1e1a('0x2d')](_0x5515fb=>_0x5515fb['is']('element',_0x1e1a('0x2e'))),_0x4ac46d=_0x5a3e2d[_0x1e1a('0x21')];_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](()=>{_0x1481aa[_0x1e1a('0x43')]([_0x37a5d3,_0x4ac46d],{'commandName':'mergeTableCells','commandParams':[]},[],_0x1e1a('0x2'));});});}for(const _0x2768ca of[_0x1e1a('0x42'),_0x1e1a('0x46')]){const _0x151cae=_0xdaefbe['commands'][_0x1e1a('0x32')](_0x2768ca);_0x1481aa['enableCommand'](_0x2768ca,()=>{const _0x125f87=_0x4e83ae[_0x1e1a('0x18')](_0xdaefbe[_0x1e1a('0x40')]['document'][_0x1e1a('0x34')])[0x0],_0x222fae=_0x125f87[_0x1e1a('0x38')](_0x1e1a('0x35')),{column:_0x571b5f,row:_0x5b5f28}=_0x4e83ae[_0x1e1a('0x7')](_0x125f87);let _0x342c44=[];if(_0x1e1a('0x6')==_0x151cae[_0x1e1a('0x28')]){const _0x45ea97=_0x4e83ae[_0x1e1a('0x20')](_0x222fae,{'startRow':_0x5b5f28,'endRow':_0x5b5f28,'includeAllSlots':!0x0});_0x342c44=Array['from'](_0x45ea97)['map'](_0x21081e=>_0x21081e[_0x1e1a('0x2b')]);}else{const _0x13ee65=_0x4e83ae[_0x1e1a('0x20')](_0x222fae,{'column':_0x571b5f,'includeAllSlots':!0x0});_0x342c44=Array[_0x1e1a('0xd')](_0x13ee65)[_0x1e1a('0xa')](_0x5abe3e=>_0x5abe3e[_0x1e1a('0x2b')]);}_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](_0x2c5a31=>{_0x1481aa[_0x1e1a('0x27')](_0x2c5a31[_0x1e1a('0x3c')](_0x125f87),{'commandName':_0x2768ca,'commandParams':[]},_0x342c44,_0x2768ca);});});}_0x1481aa[_0x1e1a('0x39')][_0x1e1a('0x26')](_0x2f9115=>{const {data:_0x41e047}=_0x2f9115;if(_0x41e047)return _0x1e1a('0x2')==_0x41e047[_0x1e1a('0x1c')]?{'type':_0x1e1a('0x8'),'content':_0x297c4b(_0x5c09b4,'*Merge\x20cells*')}:void 0x0;}),_0x1481aa[_0x1e1a('0x39')][_0x1e1a('0x26')](_0x4dd707=>{const {data:_0x57bb4b}=_0x4dd707;if(_0x57bb4b)return _0x1e1a('0x42')==_0x57bb4b['commandName']?{'type':'format','content':_0x297c4b(_0x5c09b4,_0x1e1a('0x47'))}:_0x1e1a('0x46')==_0x57bb4b[_0x1e1a('0x1c')]?{'type':'format','content':_0x297c4b(_0x5c09b4,_0x1e1a('0x13'))}:void 0x0;});const _0x4f65cf=_0x26b067[_0x1e1a('0xe')]();for(const _0x2ec75a of[_0x1e1a('0x1a'),_0x1e1a('0x36'),_0x1e1a('0x48'),_0x1e1a('0x44')])_0x1481aa[_0x1e1a('0xb')][_0x1e1a('0x10')](_0x1e1a('0x1b'),_0x2ec75a,_0x1e1a('0x29'),_0x4f65cf);for(const _0x17a682 of[_0x1e1a('0x42'),'splitTableCellHorizontally'])_0x1481aa[_0x1e1a('0xb')]['registerCustomCallback'](_0x1e1a('0x1b'),_0x17a682,_0x1e1a('0x29'),_0x4f65cf);_0x1481aa[_0x1e1a('0xb')][_0x1e1a('0x10')]('formatBlock',_0x1e1a('0x2'),'accept',_0x3c0430=>{_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](_0x34fda2=>{const _0x10e1fd=Array[_0x1e1a('0xd')](_0x478787['getRanges']())[_0x1e1a('0xa')](_0x5c0252=>_0x55ca79[_0x1e1a('0x23')](_0x5c0252));_0x34fda2['setSelection'](_0x3c0430),_0xdaefbe[_0x1e1a('0x2f')][_0x1e1a('0x32')](_0x1e1a('0x2'))[_0x1e1a('0x37')](),_0xdaefbe[_0x1e1a('0x25')](_0x1e1a('0x2'),{'forceDefaultExecution':!0x0});const _0xec3522=_0x10e1fd['filter'](_0xf11072=>'$graveyard'!=_0xf11072[_0x1e1a('0x9')][_0x1e1a('0x41')]);_0xec3522[_0x1e1a('0x3d')]>0x0&&_0x34fda2[_0x1e1a('0x24')](_0xec3522);for(const _0x40a0c8 of _0x10e1fd)_0x40a0c8[_0x1e1a('0xc')]();});});for(const _0x4d79d6 of[_0x1e1a('0x1a'),'mergeTableCellDown',_0x1e1a('0x44'),_0x1e1a('0x36')]){const _0x1a4876=_0xdaefbe['commands'][_0x1e1a('0x32')](_0x4d79d6);_0x1a4876['on']('set:isEnabled',(_0x4ee93c,_0x598ff4,_0x5f4107)=>{if(_0x5f4107){const _0x455e71=_0xdaefbe['model'][_0x1e1a('0x3f')][_0x1e1a('0x34')]['getFirstPosition']()[_0x1e1a('0x33')]()['find'](_0x529ed4=>_0x529ed4['is']('element','tableCell'));this[_0x1e1a('0x2c')](_0x1a4876[_0x1e1a('0x21')],_0x455e71)||(_0x4ee93c[_0x1e1a('0x17')]=!0x1,_0x4ee93c['stop']());}},{'priority':_0x1e1a('0x1f')});}}[_0x1e1a('0x14')](){const _0x33cfbd=this['editor'][_0x1e1a('0x2f')][_0x1e1a('0x32')](_0x1e1a('0x2')),_0x5f3cd6=this['editor'][_0x1e1a('0x1d')]['get'](_0x1e1a('0xf'));if(!_0x33cfbd['isEnabled'])return!0x1;const _0x14e48a=_0x5f3cd6[_0x1e1a('0x18')](this[_0x1e1a('0x3e')][_0x1e1a('0x40')]['document'][_0x1e1a('0x34')]);for(const _0x700ff1 of _0x14e48a)for(const _0x30e2f0 of _0x14e48a)if(_0x700ff1!=_0x30e2f0&&!this['_areMergableCells'](_0x700ff1,_0x30e2f0))return!0x1;return!0x0;}['_areMergableCells'](_0x166864,_0x4bf894){const _0x1a3c7e=this[_0x1e1a('0x3e')][_0x1e1a('0x1d')][_0x1e1a('0x32')](_0x1e1a('0x3b')),_0x166063=this[_0x1e1a('0x3e')][_0x1e1a('0x40')][_0x1e1a('0x3c')](_0x166864),_0x8bdf73=this[_0x1e1a('0x3e')][_0x1e1a('0x40')][_0x1e1a('0x3c')](_0x4bf894),_0x41df80=new Set(),_0x2205a6=new Set();for(const _0x4ec039 of _0x1a3c7e[_0x1e1a('0x0')]())if((_0x1e1a('0x3')==_0x4ec039[_0x1e1a('0x30')]||'deletion'==_0x4ec039[_0x1e1a('0x30')]||_0x1e1a('0x2')==_0x4ec039[_0x1e1a('0x45')])&&_0x4ec039[_0x1e1a('0x5')])for(const _0x69647d of _0x4ec039[_0x1e1a('0x2a')]())_0x69647d[_0x1e1a('0x15')](_0x166063,!0x0)&&_0x41df80[_0x1e1a('0x4')](_0x4ec039[_0x1e1a('0x30')]+':'+_0x4ec039[_0x1e1a('0x1e')]['id']),_0x69647d[_0x1e1a('0x15')](_0x8bdf73,!0x0)&&_0x2205a6[_0x1e1a('0x4')](_0x4ec039[_0x1e1a('0x30')]+':'+_0x4ec039[_0x1e1a('0x1e')]['id']);if(_0x41df80['size']!=_0x2205a6[_0x1e1a('0x49')])return!0x1;for(const _0x5a52ec of _0x41df80)if(!_0x2205a6[_0x1e1a('0x1')](_0x5a52ec))return!0x1;return!0x0;}}
23
+ const _0x3250=['$graveyard','size','*Merge\x20cells*','return','TrackChangesEditing','splitTableCellVertically','mergeTableCells','set:isEnabled','stop','tableCell','markBlockFormat','commandName','filter','createRangeOn','_acceptFormatSuggestionCallbackFactory','change','format','type','get','push','createTableWalker','setSelection','getAncestors','detach','root','_areMergableCells','enableCommand','locale','has','editor','_isForcedDefaultExecutionBlock','containsRange','cell','low','*Split\x20cell:*\x20vertically','TableUtils','execute','element','isEnabled','accept','TableEditing','mergeTableCellRight','getCellLocation','getFirstPosition','from','direction','table','mergeTableCellDown','value','length','getSelectionAffectedTableCells','mergeTableCellLeft','highest','commands','getSuggestions','fromRange','insertion','formatBlock','markMultiRangeBlockFormat','registerCustomCallback','selection','plugins','getRanges','model','deletion','_descriptionFactory','mergeTableCellUp','*Split\x20cell:*\x20horizontally','subType','registerDescriptionCallback','add','_areSelectedCellsMergable','map','splitTableCellHorizontally','document'];(function(_0x3975f8,_0x32504d){const _0x2cb935=function(_0x59bc47){while(--_0x59bc47){_0x3975f8['push'](_0x3975f8['shift']());}};_0x2cb935(++_0x32504d);}(_0x3250,0x155));const _0x2cb9=function(_0x3975f8,_0x32504d){_0x3975f8=_0x3975f8-0x0;let _0x2cb935=_0x3250[_0x3975f8];return _0x2cb935;};import{Plugin as _0x11f146}from'ckeditor5/src/core';import _0x3f270c from'./table';import{LiveRange as _0x287b15}from'ckeditor5/src/engine';import{getTranslation as _0x5e9cf2}from'../utils/common-translations';export default class dt extends _0x11f146{static get['requires'](){return[_0x3f270c];}['afterInit'](){const _0x4f2333=this[_0x2cb9('0x3f')],_0x11270a=_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')],_0x498c37=_0x4f2333[_0x2cb9('0x3d')];if(!_0x4f2333[_0x2cb9('0x14')]['has'](_0x2cb9('0x4a')))return;const _0x5dd026=_0x4f2333[_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x26')),_0xeabcef=_0x4f2333[_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x45')),_0x4174fa=_0x4f2333['plugins'][_0x2cb9('0x34')](_0x3f270c);_0x4174fa['_tablePostFixingSubtypes'][_0x2cb9('0x35')](_0x2cb9('0x28')),_0x5dd026[_0x2cb9('0x3c')](_0x2cb9('0x28'),()=>{const _0x3a1001=_0xeabcef[_0x2cb9('0x9')](_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')]);_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x31')](()=>{_0x5dd026[_0x2cb9('0x11')](_0x3a1001,{'commandName':_0x2cb9('0x28'),'commandParams':[]},[],_0x2cb9('0x28'));});}),_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28'))['on'](_0x2cb9('0x46'),(_0x4337ba,_0x5d6f05)=>{_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')]('trackChanges')[_0x2cb9('0x7')]&&(_0x5d6f05[_0x2cb9('0x8')]>0x0&&_0x5d6f05[_0x5d6f05[_0x2cb9('0x8')]-0x1]&&_0x5d6f05[_0x5d6f05[_0x2cb9('0x8')]-0x1]['forceDefaultExecution']||_0x5dd026[_0x2cb9('0x40')]||this[_0x2cb9('0x1e')]()||_0x4337ba[_0x2cb9('0x2a')]());},{'priority':_0x2cb9('0xb')});for(const _0x1b605c of[_0x2cb9('0x19'),_0x2cb9('0x0'),_0x2cb9('0x6'),'mergeTableCellLeft']){const _0x5cbdf4=_0x4f2333['commands'][_0x2cb9('0x34')](_0x1b605c);_0x5dd026[_0x2cb9('0x3c')](_0x1b605c,()=>{const _0x10ed11=_0x4f2333[_0x2cb9('0x16')]['document']['selection'][_0x2cb9('0x2')]()[_0x2cb9('0x38')]()['find'](_0x3610ef=>_0x3610ef['is'](_0x2cb9('0x47'),_0x2cb9('0x2b'))),_0x62c141=_0x5cbdf4[_0x2cb9('0x7')];_0x4f2333[_0x2cb9('0x16')][_0x2cb9('0x31')](()=>{_0x5dd026[_0x2cb9('0x11')]([_0x10ed11,_0x62c141],{'commandName':_0x2cb9('0x28'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0xd82c33 of['splitTableCellVertically',_0x2cb9('0x20')]){const _0x27ce21=_0x4f2333['commands'][_0x2cb9('0x34')](_0xd82c33);_0x5dd026[_0x2cb9('0x3c')](_0xd82c33,()=>{const _0x3a5174=_0xeabcef[_0x2cb9('0x9')](_0x4f2333['model']['document'][_0x2cb9('0x13')])[0x0],_0x4dd715=_0x3a5174['findAncestor'](_0x2cb9('0x5')),{column:_0x541870,row:_0x358e41}=_0xeabcef[_0x2cb9('0x1')](_0x3a5174);let _0x4f7c01=[];if('horizontally'==_0x27ce21[_0x2cb9('0x4')]){const _0xe105ff=_0xeabcef[_0x2cb9('0x36')](_0x4dd715,{'startRow':_0x358e41,'endRow':_0x358e41,'includeAllSlots':!0x0});_0x4f7c01=Array[_0x2cb9('0x3')](_0xe105ff)[_0x2cb9('0x1f')](_0x4241f6=>_0x4241f6[_0x2cb9('0x42')]);}else{const _0x335195=_0xeabcef[_0x2cb9('0x36')](_0x4dd715,{'column':_0x541870,'includeAllSlots':!0x0});_0x4f7c01=Array[_0x2cb9('0x3')](_0x335195)[_0x2cb9('0x1f')](_0x49dec7=>_0x49dec7[_0x2cb9('0x42')]);}_0x4f2333[_0x2cb9('0x16')]['change'](_0x3c8e29=>{_0x5dd026[_0x2cb9('0x2c')](_0x3c8e29['createRangeOn'](_0x3a5174),{'commandName':_0xd82c33,'commandParams':[]},_0x4f7c01,_0xd82c33);});});}_0x5dd026['_descriptionFactory'][_0x2cb9('0x1c')](_0x30975b=>{const {data:_0x1dabfa}=_0x30975b;if(_0x1dabfa)return _0x2cb9('0x28')==_0x1dabfa[_0x2cb9('0x2d')]?{'type':_0x2cb9('0x32'),'content':_0x5e9cf2(_0x498c37,_0x2cb9('0x24'))}:void 0x0;}),_0x5dd026[_0x2cb9('0x18')][_0x2cb9('0x1c')](_0x4c3362=>{const {data:_0x525777}=_0x4c3362;if(_0x525777)return'splitTableCellVertically'==_0x525777[_0x2cb9('0x2d')]?{'type':'format','content':_0x5e9cf2(_0x498c37,_0x2cb9('0x44'))}:_0x2cb9('0x20')==_0x525777[_0x2cb9('0x2d')]?{'type':_0x2cb9('0x32'),'content':_0x5e9cf2(_0x498c37,_0x2cb9('0x1a'))}:void 0x0;});const _0x216302=_0x4174fa[_0x2cb9('0x30')]();for(const _0xc83151 of[_0x2cb9('0x19'),_0x2cb9('0x0'),'mergeTableCellDown',_0x2cb9('0xa')])_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')](_0x2cb9('0x10'),_0xc83151,'accept',_0x216302);for(const _0xc1d25b of[_0x2cb9('0x27'),_0x2cb9('0x20')])_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')]('formatBlock',_0xc1d25b,_0x2cb9('0x49'),_0x216302);_0x5dd026['_suggestionFactory'][_0x2cb9('0x12')](_0x2cb9('0x10'),'mergeTableCells','accept',_0x89f6c6=>{_0x4f2333['model'][_0x2cb9('0x31')](_0x268834=>{const _0x8a137f=Array[_0x2cb9('0x3')](_0x11270a[_0x2cb9('0x15')]())[_0x2cb9('0x1f')](_0x320185=>_0x287b15[_0x2cb9('0xe')](_0x320185));_0x268834[_0x2cb9('0x37')](_0x89f6c6),_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28'))['refresh'](),_0x4f2333[_0x2cb9('0x46')](_0x2cb9('0x28'),{'forceDefaultExecution':!0x0});const _0x12910a=_0x8a137f[_0x2cb9('0x2e')](_0x171b97=>_0x2cb9('0x22')!=_0x171b97[_0x2cb9('0x3a')]['rootName']);_0x12910a['length']>0x0&&_0x268834[_0x2cb9('0x37')](_0x12910a);for(const _0x32c813 of _0x8a137f)_0x32c813[_0x2cb9('0x39')]();});});for(const _0x4d5a19 of['mergeTableCellUp',_0x2cb9('0x6'),_0x2cb9('0xa'),_0x2cb9('0x0')]){const _0x42bde7=_0x4f2333[_0x2cb9('0xc')][_0x2cb9('0x34')](_0x4d5a19);_0x42bde7['on'](_0x2cb9('0x29'),(_0x1d8a8a,_0x1e2b71,_0x157fc7)=>{if(_0x157fc7){const _0x1b38e1=_0x4f2333[_0x2cb9('0x16')]['document'][_0x2cb9('0x13')]['getFirstPosition']()[_0x2cb9('0x38')]()['find'](_0x1a8e40=>_0x1a8e40['is'](_0x2cb9('0x47'),_0x2cb9('0x2b')));this[_0x2cb9('0x3b')](_0x42bde7[_0x2cb9('0x7')],_0x1b38e1)||(_0x1d8a8a[_0x2cb9('0x25')]=!0x1,_0x1d8a8a['stop']());}},{'priority':_0x2cb9('0x43')});}}[_0x2cb9('0x1e')](){const _0xef40e3=this[_0x2cb9('0x3f')][_0x2cb9('0xc')][_0x2cb9('0x34')](_0x2cb9('0x28')),_0x10117f=this[_0x2cb9('0x3f')][_0x2cb9('0x14')][_0x2cb9('0x34')](_0x2cb9('0x45'));if(!_0xef40e3[_0x2cb9('0x48')])return!0x1;const _0x3a4eeb=_0x10117f[_0x2cb9('0x9')](this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x21')][_0x2cb9('0x13')]);for(const _0x39417d of _0x3a4eeb)for(const _0xfae2af of _0x3a4eeb)if(_0x39417d!=_0xfae2af&&!this['_areMergableCells'](_0x39417d,_0xfae2af))return!0x1;return!0x0;}['_areMergableCells'](_0x274be4,_0x139ee2){const _0x554845=this[_0x2cb9('0x3f')][_0x2cb9('0x14')]['get'](_0x2cb9('0x26')),_0x403227=this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x2f')](_0x274be4),_0x3c390b=this[_0x2cb9('0x3f')][_0x2cb9('0x16')][_0x2cb9('0x2f')](_0x139ee2),_0x3a9403=new Set(),_0x3d7f17=new Set();for(const _0x24fc9a of _0x554845[_0x2cb9('0xd')]())if((_0x2cb9('0xf')==_0x24fc9a['type']||_0x2cb9('0x17')==_0x24fc9a['type']||_0x2cb9('0x28')==_0x24fc9a[_0x2cb9('0x1b')])&&_0x24fc9a['isInContent'])for(const _0x18055c of _0x24fc9a[_0x2cb9('0x15')]())_0x18055c[_0x2cb9('0x41')](_0x403227,!0x0)&&_0x3a9403[_0x2cb9('0x1d')](_0x24fc9a[_0x2cb9('0x33')]+':'+_0x24fc9a['author']['id']),_0x18055c['containsRange'](_0x3c390b,!0x0)&&_0x3d7f17[_0x2cb9('0x1d')](_0x24fc9a['type']+':'+_0x24fc9a['author']['id']);if(_0x3a9403[_0x2cb9('0x23')]!=_0x3d7f17[_0x2cb9('0x23')])return!0x1;for(const _0x2b7420 of _0x3a9403)if(!_0x3d7f17[_0x2cb9('0x3e')](_0x2b7420))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e46=['editor','insertTableOfContents','locale','commands','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','plugins','enableCommand','get','TrackChangesEditing','registerElementLabel'];(function(_0xf1d16f,_0x1e468c){const _0x1ca9c6=function(_0x2d7ee8){while(--_0x2d7ee8){_0xf1d16f['push'](_0xf1d16f['shift']());}};_0x1ca9c6(++_0x1e468c);}(_0x1e46,0xa3));const _0x1ca9=function(_0xf1d16f,_0x1e468c){_0xf1d16f=_0xf1d16f-0x0;let _0x1ca9c6=_0x1e46[_0xf1d16f];return _0x1ca9c6;};import{Plugin as _0x27fc07}from'ckeditor5/src/core';import{getTranslation as _0x103132}from'../utils/common-translations';export default class bt extends _0x27fc07{['afterInit'](){const _0x381c29=this[_0x1ca9('0x2')];if(!_0x381c29[_0x1ca9('0x5')][_0x1ca9('0xa')](_0x1ca9('0x3')))return;_0x381c29[_0x1ca9('0x8')]['get'](_0x1ca9('0x0'))[_0x1ca9('0x9')](_0x1ca9('0x3'));const _0x3eaff0=_0x381c29[_0x1ca9('0x8')][_0x1ca9('0xa')](_0x1ca9('0x0')),_0x26b1b7=_0x381c29[_0x1ca9('0x4')];_0x3eaff0['_descriptionFactory'][_0x1ca9('0x1')](_0x1ca9('0x6'),_0x3ee7dc=>_0x103132(_0x26b1b7,_0x1ca9('0x7'),_0x3ee7dc));}}
23
+ const _0x5eae=['plugins','insertTableOfContents','_descriptionFactory','registerElementLabel','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','get','editor','locale','tableOfContents'];(function(_0x3a14b7,_0x5eae51){const _0x29599b=function(_0x29e3b0){while(--_0x29e3b0){_0x3a14b7['push'](_0x3a14b7['shift']());}};_0x29599b(++_0x5eae51);}(_0x5eae,0x158));const _0x2959=function(_0x3a14b7,_0x5eae51){_0x3a14b7=_0x3a14b7-0x0;let _0x29599b=_0x5eae[_0x3a14b7];return _0x29599b;};import{Plugin as _0x246829}from'ckeditor5/src/core';import{getTranslation as _0x5b8b05}from'../utils/common-translations';export default class bt extends _0x246829{['afterInit'](){const _0x59dc60=this[_0x2959('0x3')];if(!_0x59dc60['commands']['get'](_0x2959('0x7')))return;_0x59dc60[_0x2959('0x6')][_0x2959('0x2')](_0x2959('0x0'))['enableCommand']('insertTableOfContents');const _0x48c84a=_0x59dc60[_0x2959('0x6')][_0x2959('0x2')]('TrackChangesEditing'),_0x5d8a5c=_0x59dc60[_0x2959('0x4')];_0x48c84a[_0x2959('0x8')][_0x2959('0x9')](_0x2959('0x5'),_0x2a1eda=>_0x5b8b05(_0x5d8a5c,_0x2959('0x1'),_0x2a1eda));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3adf=['enableCommand','*Format:*\x20change\x20table\x20properties','tableCellVerticalAlignment','tableWidth','TrackChangesTableProperties','get','_descriptionFactory','handleSuggestionDescription','nodeAfter','TablePropertiesEditing','handleDiscardAction','format','getFirstPosition','tableAlignment','locale','afterInit','commandParams','start','tableCellHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableCellProperties','removeAttribute','tableCellWidth','change','_suggestionFactory','enqueueChange','subType','discard','tableBorderWidth','tableProperties','tableCellBorderColor','TableUtils','plugins','registerDescriptionCallback','_handlePropertyChange','getSuggestionCallback','tableBackgroundColor','join','registerCustomCallback','tableHeight','TableCellPropertiesEditing','getSuggestions','accept','tableCellBorderStyle','TrackChangesEditing','model','has','data','editor','formatBlock','_getSuggestion','document','tableCellBorderWidth','selection','tableCellPadding','tableBorderColor','getSelectionAffectedTableCells','markBlockFormat'];(function(_0xd529b5,_0x3adf51){const _0x19a35c=function(_0x46206a){while(--_0x46206a){_0xd529b5['push'](_0xd529b5['shift']());}};_0x19a35c(++_0x3adf51);}(_0x3adf,0x9b));const _0x19a3=function(_0xd529b5,_0x3adf51){_0xd529b5=_0xd529b5-0x0;let _0x19a35c=_0x3adf[_0xd529b5];return _0x19a35c;};import{Plugin as _0x11ccb9}from'ckeditor5/src/core';import{getTranslation as _0x335727}from'../utils/common-translations';export default class Ct extends _0x11ccb9{constructor(_0x504d16){super(_0x504d16),this['tableProperties']=[_0x19a3('0x10'),'tableBorderStyle',_0x19a3('0x2f'),_0x19a3('0x20'),_0x19a3('0x16'),_0x19a3('0x0'),_0x19a3('0x37')],this[_0x19a3('0x27')]=[_0x19a3('0x31'),_0x19a3('0x4'),_0x19a3('0xd'),_0x19a3('0xf'),_0x19a3('0x29'),_0x19a3('0x25'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0x19a3('0x15')];}static get['pluginName'](){return _0x19a3('0x17');}[_0x19a3('0x22')](){const _0x580e9e=this[_0x19a3('0x9')][_0x19a3('0x33')]['get']('TrackChangesEditing');if(this['editor'][_0x19a3('0x33')][_0x19a3('0x7')](_0x19a3('0x1c'))){for(const _0x1f2cd7 of this[_0x19a3('0x30')])_0x580e9e[_0x19a3('0x13')](_0x1f2cd7,(_0x51be97,_0x17f6ea)=>{const _0x4a0e0d=this[_0x19a3('0x9')][_0x19a3('0x6')][_0x19a3('0xc')][_0x19a3('0xe')][_0x19a3('0x1f')]()['findAncestor']('table');this[_0x19a3('0x35')](_0x1f2cd7,[_0x4a0e0d],this[_0x19a3('0x30')],_0x19a3('0x30'),_0x51be97,_0x17f6ea);});_0x580e9e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x580e9e[_0x19a3('0x2b')]['getSuggestionCallback']('formatBlock',null,_0x19a3('0x2e'))),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x30'),_0x19a3('0x2e'),(_0x13e2fb,_0x21086b)=>this[_0x19a3('0x1d')](this['tableProperties'],_0x13e2fb,_0x21086b)),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')]('formatBlock',_0x19a3('0x30'),_0x19a3('0x38'),()=>!0x1);}if(this[_0x19a3('0x9')][_0x19a3('0x33')][_0x19a3('0x7')](_0x19a3('0x1'))){for(const _0x3bacab of this[_0x19a3('0x27')])_0x580e9e[_0x19a3('0x13')](_0x3bacab,(_0x166a91,_0x3954d6)=>{const _0x2f38e9=this[_0x19a3('0x9')]['plugins']['get'](_0x19a3('0x32'))[_0x19a3('0x11')](this[_0x19a3('0x9')]['model'][_0x19a3('0xc')]['selection']);this[_0x19a3('0x35')](_0x3bacab,_0x2f38e9,this[_0x19a3('0x27')],_0x19a3('0x27'),_0x166a91,_0x3954d6);});_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x27'),_0x19a3('0x3'),_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x36')](_0x19a3('0xa'),null,_0x19a3('0x2e'))),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')](_0x19a3('0xa'),'tableCellProperties',_0x19a3('0x2e'),(_0x400057,_0x108327)=>this[_0x19a3('0x1d')](this[_0x19a3('0x27')],_0x400057,_0x108327)),_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x27'),'join',()=>!0x1);}_0x580e9e[_0x19a3('0x19')][_0x19a3('0x34')](_0x5c3490=>this['handleSuggestionDescription'](_0x5c3490));}[_0x19a3('0x35')](_0x65f59f,_0x40e7a8,_0x5b3876,_0x1d15be,_0x5191bf,_0x30e340){const _0x25eb50=this['editor'][_0x19a3('0x33')][_0x19a3('0x18')](_0x19a3('0x5'));this['editor'][_0x19a3('0x6')][_0x19a3('0x2c')](_0x30e340['batch'],()=>{for(const _0x1315d9 of _0x40e7a8){if(this[_0x19a3('0xb')](_0x1315d9,_0x1d15be))_0x5191bf(_0x30e340);else{const _0x30cf4a={};for(const _0x53e01a of _0x5b3876){const _0x4014a6=_0x1315d9['getAttribute'](_0x53e01a);void 0x0!==_0x4014a6&&(_0x30cf4a[_0x53e01a]=_0x4014a6);}_0x5191bf(_0x30e340),_0x25eb50[_0x19a3('0x12')](_0x1315d9,{'commandParams':[_0x30cf4a]},[],_0x1d15be);}}});}['handleDiscardAction'](_0x540d71,_0x16af64,_0x494f23){const _0x57ea53=_0x16af64[0x0][_0x19a3('0x24')][_0x19a3('0x1b')],_0x367689=_0x494f23[_0x19a3('0x23')][0x0];this[_0x19a3('0x9')][_0x19a3('0x6')][_0x19a3('0x2a')](_0x1ea03b=>{for(const _0x199a4c of _0x540d71)void 0x0!==_0x367689[_0x199a4c]?_0x1ea03b['setAttribute'](_0x199a4c,_0x367689[_0x199a4c],_0x57ea53):_0x1ea03b[_0x19a3('0x28')](_0x199a4c,_0x57ea53);});}[_0x19a3('0x1a')](_0x43db0c){if(_0x43db0c[_0x19a3('0x8')])switch(_0x43db0c[_0x19a3('0x2d')]){case'tableProperties':return{'type':'format','content':_0x335727(this[_0x19a3('0x9')][_0x19a3('0x21')],_0x19a3('0x14'))};case _0x19a3('0x27'):return{'type':_0x19a3('0x1e'),'content':_0x335727(this['editor']['locale'],_0x19a3('0x26'))};}}[_0x19a3('0xb')](_0x347330,_0xe85de){const _0x1ad1e0=this['editor'][_0x19a3('0x33')]['get'](_0x19a3('0x5'));for(const _0x54ac4b of _0x1ad1e0[_0x19a3('0x2')]({'skipNotAttached':!0x0})){const _0x5e123c=_0x54ac4b['getContainedElement']();if(_0x54ac4b['subType']===_0xe85de&&_0x5e123c===_0x347330)return _0x54ac4b;}return null;}}
23
+ const _0x535f=['registerCustomCallback','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','getSuggestionCallback','findAncestor','getFirstPosition','_suggestionFactory','TrackChangesEditing','_getSuggestion','markBlockFormat','formatBlock','tableCellHeight','getContainedElement','format','tableWidth','join','tableCellHorizontalAlignment','commandParams','tableCellProperties','pluginName','TablePropertiesEditing','getAttribute','removeAttribute','model','accept','tableCellBorderColor','getSelectionAffectedTableCells','selection','TableCellPropertiesEditing','get','_handlePropertyChange','subType','getSuggestions','tableBorderWidth','editor','handleSuggestionDescription','has','tableCellVerticalAlignment','batch','tableCellPadding','tableBorderColor','tableCellBorderWidth','tableBorderStyle','locale','tableCellBackgroundColor','plugins','start','_descriptionFactory','tableProperties','document','TrackChangesTableProperties','enqueueChange','discard','handleDiscardAction'];(function(_0x218cb8,_0x535f95){const _0x26bedb=function(_0x2cae10){while(--_0x2cae10){_0x218cb8['push'](_0x218cb8['shift']());}};_0x26bedb(++_0x535f95);}(_0x535f,0xf1));const _0x26be=function(_0x218cb8,_0x535f95){_0x218cb8=_0x218cb8-0x0;let _0x26bedb=_0x535f[_0x218cb8];return _0x26bedb;};import{Plugin as _0x1cc0be}from'ckeditor5/src/core';import{getTranslation as _0x47e738}from'../utils/common-translations';export default class Ct extends _0x1cc0be{constructor(_0x19fd80){super(_0x19fd80),this[_0x26be('0x17')]=[_0x26be('0xf'),_0x26be('0x11'),_0x26be('0x8'),'tableAlignment',_0x26be('0x2b'),'tableHeight',_0x26be('0x1e')],this[_0x26be('0x2f')]=[_0x26be('0x0'),'tableCellBorderStyle',_0x26be('0x10'),_0x26be('0xe'),'tableCellWidth',_0x26be('0x28'),_0x26be('0x13'),_0x26be('0x2d'),_0x26be('0xc')];}static get[_0x26be('0x30')](){return _0x26be('0x19');}['afterInit'](){const _0x35116a=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')](_0x26be('0x24'));if(this[_0x26be('0x9')]['plugins'][_0x26be('0xb')](_0x26be('0x31'))){for(const _0x97b720 of this[_0x26be('0x17')])_0x35116a['enableCommand'](_0x97b720,(_0xfa4614,_0x20457e)=>{const _0x492170=this['editor'][_0x26be('0x34')][_0x26be('0x18')]['selection'][_0x26be('0x22')]()[_0x26be('0x21')]('table');this[_0x26be('0x5')](_0x97b720,[_0x492170],this['tableProperties'],_0x26be('0x17'),_0xfa4614,_0x20457e);});_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),'tableProperties','accept',_0x35116a[_0x26be('0x23')][_0x26be('0x20')](_0x26be('0x27'),null,_0x26be('0x1b'))),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x17'),_0x26be('0x1b'),(_0x28c8a8,_0x3e5d3b)=>this[_0x26be('0x1c')](this['tableProperties'],_0x28c8a8,_0x3e5d3b)),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x17'),_0x26be('0x2c'),()=>!0x1);}if(this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0xb')](_0x26be('0x3'))){for(const _0x3ffc4b of this['tableCellProperties'])_0x35116a['enableCommand'](_0x3ffc4b,(_0x5ee86e,_0x224324)=>{const _0x3697ae=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')]('TableUtils')[_0x26be('0x1')](this['editor'][_0x26be('0x34')]['document'][_0x26be('0x2')]);this[_0x26be('0x5')](_0x3ffc4b,_0x3697ae,this[_0x26be('0x2f')],'tableCellProperties',_0x5ee86e,_0x224324);});_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x35'),_0x35116a[_0x26be('0x23')][_0x26be('0x20')](_0x26be('0x27'),null,'discard')),_0x35116a['_suggestionFactory'][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x1b'),(_0x195be4,_0x5a0485)=>this[_0x26be('0x1c')](this[_0x26be('0x2f')],_0x195be4,_0x5a0485)),_0x35116a[_0x26be('0x23')][_0x26be('0x1d')](_0x26be('0x27'),_0x26be('0x2f'),_0x26be('0x2c'),()=>!0x1);}_0x35116a[_0x26be('0x16')]['registerDescriptionCallback'](_0x82021=>this[_0x26be('0xa')](_0x82021));}['_handlePropertyChange'](_0x2fbf06,_0x967ed8,_0x4e0de0,_0x46e964,_0x1835a7,_0x392da2){const _0x1b536b=this[_0x26be('0x9')][_0x26be('0x14')][_0x26be('0x4')](_0x26be('0x24'));this[_0x26be('0x9')][_0x26be('0x34')][_0x26be('0x1a')](_0x392da2[_0x26be('0xd')],()=>{for(const _0xfe7b29 of _0x967ed8){if(this[_0x26be('0x25')](_0xfe7b29,_0x46e964))_0x1835a7(_0x392da2);else{const _0x26488d={};for(const _0x5edb49 of _0x4e0de0){const _0x3ec85c=_0xfe7b29[_0x26be('0x32')](_0x5edb49);void 0x0!==_0x3ec85c&&(_0x26488d[_0x5edb49]=_0x3ec85c);}_0x1835a7(_0x392da2),_0x1b536b[_0x26be('0x26')](_0xfe7b29,{'commandParams':[_0x26488d]},[],_0x46e964);}}});}['handleDiscardAction'](_0x49f400,_0x1fdba9,_0x4630e7){const _0x2ec792=_0x1fdba9[0x0][_0x26be('0x15')]['nodeAfter'],_0x4d9809=_0x4630e7[_0x26be('0x2e')][0x0];this[_0x26be('0x9')][_0x26be('0x34')]['change'](_0x40e48f=>{for(const _0x47a193 of _0x49f400)void 0x0!==_0x4d9809[_0x47a193]?_0x40e48f['setAttribute'](_0x47a193,_0x4d9809[_0x47a193],_0x2ec792):_0x40e48f[_0x26be('0x33')](_0x47a193,_0x2ec792);});}['handleSuggestionDescription'](_0x144cd6){if(_0x144cd6['data'])switch(_0x144cd6[_0x26be('0x6')]){case _0x26be('0x17'):return{'type':_0x26be('0x2a'),'content':_0x47e738(this[_0x26be('0x9')][_0x26be('0x12')],_0x26be('0x1f'))};case _0x26be('0x2f'):return{'type':_0x26be('0x2a'),'content':_0x47e738(this[_0x26be('0x9')][_0x26be('0x12')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x26be('0x25')](_0x34f25d,_0x37d69d){const _0x38e61e=this[_0x26be('0x9')]['plugins']['get']('TrackChangesEditing');for(const _0x42e76c of _0x38e61e[_0x26be('0x7')]({'skipNotAttached':!0x0})){const _0x1d89d4=_0x42e76c[_0x26be('0x29')]();if(_0x42e76c[_0x26be('0x6')]===_0x37d69d&&_0x1d89d4===_0x34f25d)return _0x42e76c;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3df2=['TrackChangesEditing','editor','afterInit','plugins','get','has','Template','insertTemplate','enableCommand'];(function(_0x630116,_0x3df22e){const _0x156c6e=function(_0x44a6ac){while(--_0x44a6ac){_0x630116['push'](_0x630116['shift']());}};_0x156c6e(++_0x3df22e);}(_0x3df2,0x7d));const _0x156c=function(_0x630116,_0x3df22e){_0x630116=_0x630116-0x0;let _0x156c6e=_0x3df2[_0x630116];return _0x156c6e;};import{Plugin as _0x173fcb}from'ckeditor5/src/core';export default class yt extends _0x173fcb{[_0x156c('0x3')](){const _0x27f1fe=this[_0x156c('0x2')];_0x27f1fe[_0x156c('0x4')][_0x156c('0x6')](_0x156c('0x7'))&&_0x27f1fe[_0x156c('0x4')][_0x156c('0x5')](_0x156c('0x1'))[_0x156c('0x0')](_0x156c('0x8'));}}
23
+ const _0xcf11=['plugins','TrackChangesEditing','afterInit','enableCommand','get','editor','Template'];(function(_0x498fa3,_0xcf11b2){const _0x58f288=function(_0x5a9536){while(--_0x5a9536){_0x498fa3['push'](_0x498fa3['shift']());}};_0x58f288(++_0xcf11b2);}(_0xcf11,0x199));const _0x58f2=function(_0x498fa3,_0xcf11b2){_0x498fa3=_0x498fa3-0x0;let _0x58f288=_0xcf11[_0x498fa3];return _0x58f288;};import{Plugin as _0x342d5f}from'ckeditor5/src/core';export default class yt extends _0x342d5f{[_0x58f2('0x6')](){const _0x12f1d2=this[_0x58f2('0x2')];_0x12f1d2[_0x58f2('0x4')]['has'](_0x58f2('0x3'))&&_0x12f1d2['plugins'][_0x58f2('0x1')](_0x58f2('0x5'))[_0x58f2('0x0')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a32=['editor','schema','updateMarker','registerElementLabel','isCollapsed','has','element','createRange','document','newRange','forward','ELEMENT_TITLE','get','_splitMarkerName','end','suggestion','afterInit','removeMarker','TrackChangesEditing','plugins','model','isTouching','isEqual','Title','getNearestSelectionRange','title-content','start'];(function(_0x26c886,_0x2a3240){const _0xbb3d73=function(_0x439e17){while(--_0x439e17){_0x26c886['push'](_0x26c886['shift']());}};_0xbb3d73(++_0x2a3240);}(_0x2a32,0x107));const _0xbb3d=function(_0x26c886,_0x2a3240){_0x26c886=_0x26c886-0x0;let _0xbb3d73=_0x2a32[_0x26c886];return _0xbb3d73;};import{Plugin as _0x4a3c96}from'ckeditor5/src/core';import{getTranslation as _0x57392d}from'../utils/common-translations';export default class St extends _0x4a3c96{[_0xbb3d('0x17')](){const _0x3addf5=this[_0xbb3d('0x7')];if(!_0x3addf5['plugins'][_0xbb3d('0xc')](_0xbb3d('0x3')))return;const _0x3789eb=_0x3addf5[_0xbb3d('0x1a')][_0xbb3d('0x13')](_0xbb3d('0x19'));_0x3789eb['_descriptionFactory'][_0xbb3d('0xa')](_0xbb3d('0x5'),()=>_0x57392d(_0x3addf5['locale'],_0xbb3d('0x12'))),_0x3addf5['model'][_0xbb3d('0xf')]['registerPostFixer'](_0x283ba7=>{let _0x3908d8=!0x1;const _0x862b0b=Array['from'](_0x3addf5[_0xbb3d('0x0')]['document']['differ']['getChangedMarkers']());for(const {name:_0x5092a0,data:_0x113f0f}of _0x862b0b){const {group:_0x355a8b}=_0x3789eb[_0xbb3d('0x14')](_0x5092a0);if(_0xbb3d('0x16')!==_0x355a8b||!_0x113f0f[_0xbb3d('0x10')])continue;const _0x1d9f6b=_0x113f0f[_0xbb3d('0x10')],_0x145941=_0x1d9f6b[_0xbb3d('0x15')]['nodeBefore'];if(!_0x145941||!_0x145941['is'](_0xbb3d('0xd'),_0xbb3d('0x5')))continue;if(!_0x1d9f6b[_0xbb3d('0x6')][_0xbb3d('0x1')](_0x1d9f6b[_0xbb3d('0x15')]))continue;const _0x4ca339=_0x3addf5['model'][_0xbb3d('0x8')][_0xbb3d('0x4')](_0x1d9f6b[_0xbb3d('0x15')],_0xbb3d('0x11'));if(_0x4ca339&&_0x4ca339[_0xbb3d('0xb')]){const _0x578a27=_0x283ba7[_0xbb3d('0xe')](_0x1d9f6b['start'],_0x4ca339['start']);_0x578a27[_0xbb3d('0x2')](_0x1d9f6b)||(_0x283ba7[_0xbb3d('0x9')](_0x5092a0,{'range':_0x578a27}),_0x3908d8=!0x0);}_0x3908d8||(_0x283ba7[_0xbb3d('0x18')](_0x5092a0),_0x3908d8=!0x0);}return _0x3908d8;});}}
23
+ const _0x31b6=['Title','_splitMarkerName','from','ELEMENT_TITLE','removeMarker','has','plugins','createRange','schema','element','editor','document','get','newRange','start','nodeBefore','isCollapsed','end','forward','differ','TrackChangesEditing','isEqual','title-content','model','_descriptionFactory','updateMarker'];(function(_0x3314e8,_0x31b6d7){const _0xe6c158=function(_0x2bc561){while(--_0x2bc561){_0x3314e8['push'](_0x3314e8['shift']());}};_0xe6c158(++_0x31b6d7);}(_0x31b6,0x13a));const _0xe6c1=function(_0x3314e8,_0x31b6d7){_0x3314e8=_0x3314e8-0x0;let _0xe6c158=_0x31b6[_0x3314e8];return _0xe6c158;};import{Plugin as _0x3f9f08}from'ckeditor5/src/core';import{getTranslation as _0x380469}from'../utils/common-translations';export default class St extends _0x3f9f08{['afterInit'](){const _0x1dc274=this[_0xe6c1('0x8')];if(!_0x1dc274[_0xe6c1('0x4')][_0xe6c1('0x3')](_0xe6c1('0x18')))return;const _0x6a60e0=_0x1dc274[_0xe6c1('0x4')][_0xe6c1('0xa')](_0xe6c1('0x12'));_0x6a60e0[_0xe6c1('0x16')]['registerElementLabel'](_0xe6c1('0x14'),()=>_0x380469(_0x1dc274['locale'],_0xe6c1('0x1'))),_0x1dc274['model']['document']['registerPostFixer'](_0x212635=>{let _0x272d97=!0x1;const _0xbd07f4=Array[_0xe6c1('0x0')](_0x1dc274[_0xe6c1('0x15')][_0xe6c1('0x9')][_0xe6c1('0x11')]['getChangedMarkers']());for(const {name:_0x471489,data:_0x1f9576}of _0xbd07f4){const {group:_0x2036ff}=_0x6a60e0[_0xe6c1('0x19')](_0x471489);if('suggestion'!==_0x2036ff||!_0x1f9576[_0xe6c1('0xb')])continue;const _0x3d217d=_0x1f9576[_0xe6c1('0xb')],_0x3768af=_0x3d217d[_0xe6c1('0xf')][_0xe6c1('0xd')];if(!_0x3768af||!_0x3768af['is'](_0xe6c1('0x7'),'title-content'))continue;if(!_0x3d217d[_0xe6c1('0xc')]['isTouching'](_0x3d217d[_0xe6c1('0xf')]))continue;const _0x5d911b=_0x1dc274[_0xe6c1('0x15')][_0xe6c1('0x6')]['getNearestSelectionRange'](_0x3d217d['end'],_0xe6c1('0x10'));if(_0x5d911b&&_0x5d911b[_0xe6c1('0xe')]){const _0x9048ee=_0x212635[_0xe6c1('0x5')](_0x3d217d[_0xe6c1('0xc')],_0x5d911b[_0xe6c1('0xc')]);_0x9048ee[_0xe6c1('0x13')](_0x3d217d)||(_0x212635[_0xe6c1('0x17')](_0x471489,{'range':_0x9048ee}),_0x272d97=!0x0);}_0x272d97||(_0x212635[_0xe6c1('0x2')](_0x471489),_0x272d97=!0x0);}return _0x272d97;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4710=['enableCommand','UndoEditing','undo','afterInit','redo','has','plugins','editor','TrackChangesEditing'];(function(_0x3c20cb,_0x4710cf){const _0x3589b9=function(_0x13cc63){while(--_0x13cc63){_0x3c20cb['push'](_0x3c20cb['shift']());}};_0x3589b9(++_0x4710cf);}(_0x4710,0x160));const _0x3589=function(_0x3c20cb,_0x4710cf){_0x3c20cb=_0x3c20cb-0x0;let _0x3589b9=_0x4710[_0x3c20cb];return _0x3589b9;};import{Plugin as _0x1364cc}from'ckeditor5/src/core';export default class It extends _0x1364cc{[_0x3589('0x2')](){const _0x16798a=this[_0x3589('0x6')],_0x5662a5=_0x16798a[_0x3589('0x5')]['get'](_0x3589('0x7'));_0x16798a[_0x3589('0x5')][_0x3589('0x4')](_0x3589('0x0'))&&(_0x5662a5[_0x3589('0x8')](_0x3589('0x1')),_0x5662a5[_0x3589('0x8')](_0x3589('0x3')));}}
23
+ const _0x176e=['get','UndoEditing','undo','plugins','redo','TrackChangesEditing','afterInit','enableCommand','has'];(function(_0x3a5909,_0x176edd){const _0xe112f3=function(_0x2141e7){while(--_0x2141e7){_0x3a5909['push'](_0x3a5909['shift']());}};_0xe112f3(++_0x176edd);}(_0x176e,0x159));const _0xe112=function(_0x3a5909,_0x176edd){_0x3a5909=_0x3a5909-0x0;let _0xe112f3=_0x176e[_0x3a5909];return _0xe112f3;};import{Plugin as _0x593447}from'ckeditor5/src/core';export default class It extends _0x593447{[_0xe112('0x3')](){const _0x13ba2a=this['editor'],_0xeeca79=_0x13ba2a[_0xe112('0x0')][_0xe112('0x6')](_0xe112('0x2'));_0x13ba2a[_0xe112('0x0')][_0xe112('0x5')](_0xe112('0x7'))&&(_0xeeca79[_0xe112('0x4')](_0xe112('0x8')),_0xeeca79['enableCommand'](_0xe112('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42bf=['bindElementToMarker','markerRange','name','ck-suggestion-marker-','listItem','test','isAtEnd','item','getItems','nextSibling','ck-suggestion-marker--active','get','addClass','hasAttribute','consumable','previousPosition','push','type','getCustomProperty','mapper','element','insert','toViewPosition','createRangeOn','isContent','elementEnd','start','isLimit','getAttribute','span','markerName','writer','getWalker','addHighlight','createUIElement','activeMarkers','includes','isBlock'];(function(_0x2219f3,_0x42bfac){const _0x25181e=function(_0x60a453){while(--_0x60a453){_0x2219f3['push'](_0x2219f3['shift']());}};_0x25181e(++_0x42bfac);}(_0x42bf,0xf3));const _0x2518=function(_0x2219f3,_0x42bfac){_0x2219f3=_0x2219f3-0x0;let _0x25181e=_0x42bf[_0x2219f3];return _0x25181e;};export function getRangesWithAttribute(_0x4084cd,_0x4f86a0,_0x21379f){const _0x3abedc=[];for(const _0x31a625 of _0x4f86a0[_0x2518('0x1f')]())_0x31a625[_0x2518('0x24')](_0x4084cd)&&_0x3abedc[_0x2518('0x1')](_0x21379f[_0x2518('0x8')](_0x31a625));return _0x3abedc;}export function getElementsAffectedByListItemRename(_0x4ed689){const _0x418230=[];if(_0x4ed689['is'](_0x2518('0x5'),_0x2518('0x1b'))){let _0x27d695=_0x4ed689['nextSibling'];for(;_0x27d695&&_0x27d695['is'](_0x2518('0x5'),_0x2518('0x1b'))&&_0x27d695[_0x2518('0xd')]('listIndent')>0x0;)_0x418230['push'](_0x27d695),_0x27d695=_0x27d695[_0x2518('0x20')];}return _0x418230;}export function downcastSplitMergeMarker(_0xb2d3dd,_0xb5a20e,{showActiveMarker:_0x545553=!0x0}={}){const _0x49ac18=_0xb2d3dd['plugins'][_0x2518('0x22')]('TrackChangesEditing');return(_0x4906c3,_0x75a43f,_0x1bd4b5)=>{if(!_0x1bd4b5[_0x2518('0x25')][_0x2518('0x1c')](_0x75a43f[_0x2518('0x18')],_0x4906c3[_0x2518('0x19')]))return;const _0xca5336=_0x75a43f['markerRange'][_0x2518('0x11')](),_0x37b4d1=_0x75a43f[_0x2518('0x18')][_0x2518('0xb')],_0x5cb62a=_0xb2d3dd['model']['schema'];let _0x61bc32=null,_0x18d41a=null,_0x1851fc=!0x1,_0x2581d5=!0x1;for(const _0x1e4c24 of _0xca5336){const _0x2ac0bc=_0x1e4c24[_0x2518('0x1e')];_0x1851fc=_0x1851fc||_0x5cb62a[_0x2518('0x9')](_0x2ac0bc);const _0xd2980f=_0x1bd4b5['mapper']['toViewElement'](_0x2ac0bc);if(_0xd2980f&&_0xd2980f[_0x2518('0x3')](_0x2518('0x12')))return;_0x2518('0xa')==_0x1e4c24[_0x2518('0x2')]&&(_0x5cb62a[_0x2518('0x16')](_0x2ac0bc)&&!_0x5cb62a[_0x2518('0xc')](_0x2ac0bc)&&(_0x2ac0bc[_0x2518('0x20')]||_0x37b4d1[_0x2518('0x1d')]?_0x61bc32&&_0x61bc32['parent']==_0x2ac0bc||(_0x61bc32=_0x2ac0bc,_0x1b7dbd(_0x1e4c24['previousPosition']),_0x2581d5=!0x0):_0x18d41a=_0x18d41a||_0x1e4c24[_0x2518('0x0')]));}function _0x1b7dbd(_0x20970c){const _0x506895=_0x1bd4b5[_0x2518('0x10')][_0x2518('0x13')](_0x2518('0xe'),{'class':_0x2518('0x1a')+_0xb5a20e}),_0x1c273b=_0x1bd4b5[_0x2518('0x4')][_0x2518('0x7')](_0x20970c);_0x545553&&_0x49ac18[_0x2518('0x14')][_0x2518('0x15')](_0x75a43f['markerName'])&&_0x1bd4b5[_0x2518('0x10')][_0x2518('0x23')](_0x2518('0x21'),_0x506895),_0x1bd4b5[_0x2518('0x10')][_0x2518('0x6')](_0x1c273b,_0x506895),_0x1bd4b5[_0x2518('0x4')][_0x2518('0x17')](_0x506895,_0x75a43f[_0x2518('0xf')]);}_0x1851fc||_0x2581d5||!_0x18d41a||_0x1b7dbd(_0x18d41a);};}
23
+ const _0x1167=['getCustomProperty','isLimit','getItems','hasAttribute','addClass','markerName','span','getAttribute','getWalker','listIndent','consumable','includes','schema','markerRange','element','isContent','createUIElement','ck-suggestion-marker--active','addHighlight','plugins','toViewElement','elementEnd','activeMarkers','mapper','insert','get','listItem','start','ck-suggestion-marker-','createRangeOn','type','name','nextSibling','previousPosition','model','push','writer','isBlock','toViewPosition'];(function(_0x45ec31,_0x11678c){const _0x2921f2=function(_0x3c82df){while(--_0x3c82df){_0x45ec31['push'](_0x45ec31['shift']());}};_0x2921f2(++_0x11678c);}(_0x1167,0x189));const _0x2921=function(_0x45ec31,_0x11678c){_0x45ec31=_0x45ec31-0x0;let _0x2921f2=_0x1167[_0x45ec31];return _0x2921f2;};export function getRangesWithAttribute(_0xb47a1,_0xe37f24,_0x23b2a2){const _0x576fcb=[];for(const _0x583744 of _0xe37f24[_0x2921('0x26')]())_0x583744[_0x2921('0x0')](_0xb47a1)&&_0x576fcb[_0x2921('0x20')](_0x23b2a2[_0x2921('0x1a')](_0x583744));return _0x576fcb;}export function getElementsAffectedByListItemRename(_0x3b739e){const _0xd100c=[];if(_0x3b739e['is']('element',_0x2921('0x17'))){let _0x4b356c=_0x3b739e['nextSibling'];for(;_0x4b356c&&_0x4b356c['is'](_0x2921('0xb'),_0x2921('0x17'))&&_0x4b356c[_0x2921('0x4')](_0x2921('0x6'))>0x0;)_0xd100c[_0x2921('0x20')](_0x4b356c),_0x4b356c=_0x4b356c[_0x2921('0x1d')];}return _0xd100c;}export function downcastSplitMergeMarker(_0x18e749,_0x568661,{showActiveMarker:_0xe90149=!0x0}={}){const _0x4f99c4=_0x18e749[_0x2921('0x10')][_0x2921('0x16')]('TrackChangesEditing');return(_0x4c8133,_0x145174,_0xc8e5b)=>{if(!_0xc8e5b[_0x2921('0x7')]['test'](_0x145174[_0x2921('0xa')],_0x4c8133[_0x2921('0x1c')]))return;const _0x461daf=_0x145174[_0x2921('0xa')][_0x2921('0x5')](),_0x161b4e=_0x145174[_0x2921('0xa')][_0x2921('0x18')],_0x5da562=_0x18e749[_0x2921('0x1f')][_0x2921('0x9')];let _0x101c85=null,_0x521335=null,_0x3bf990=!0x1,_0x4883c0=!0x1;for(const _0x4b83b6 of _0x461daf){const _0x2bd459=_0x4b83b6['item'];_0x3bf990=_0x3bf990||_0x5da562[_0x2921('0xc')](_0x2bd459);const _0x5d5d5a=_0xc8e5b['mapper'][_0x2921('0x11')](_0x2bd459);if(_0x5d5d5a&&_0x5d5d5a[_0x2921('0x24')](_0x2921('0xf')))return;_0x2921('0x12')==_0x4b83b6[_0x2921('0x1b')]&&(_0x5da562[_0x2921('0x22')](_0x2bd459)&&!_0x5da562[_0x2921('0x25')](_0x2bd459)&&(_0x2bd459[_0x2921('0x1d')]||_0x161b4e['isAtEnd']?_0x101c85&&_0x101c85['parent']==_0x2bd459||(_0x101c85=_0x2bd459,_0xfae0ef(_0x4b83b6['previousPosition']),_0x4883c0=!0x0):_0x521335=_0x521335||_0x4b83b6[_0x2921('0x1e')]));}function _0xfae0ef(_0x379e7c){const _0x132e9c=_0xc8e5b[_0x2921('0x21')][_0x2921('0xd')](_0x2921('0x3'),{'class':_0x2921('0x19')+_0x568661}),_0x5f11b4=_0xc8e5b[_0x2921('0x14')][_0x2921('0x23')](_0x379e7c);_0xe90149&&_0x4f99c4[_0x2921('0x13')][_0x2921('0x8')](_0x145174[_0x2921('0x2')])&&_0xc8e5b[_0x2921('0x21')][_0x2921('0x1')](_0x2921('0xe'),_0x132e9c),_0xc8e5b['writer'][_0x2921('0x15')](_0x5f11b4,_0x132e9c),_0xc8e5b[_0x2921('0x14')]['bindElementToMarker'](_0x132e9c,_0x145174[_0x2921('0x2')]);}_0x3bf990||_0x4883c0||!_0x521335||_0xfae0ef(_0x521335);};}