@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230825.0 → 0.0.0-nightly-20230827.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x545a=['high','includes','getSuggestionCallback','wrap','batch','fill','insertionRanges','options','tableCellBackgroundColor','tablePasteRow','containsRange','nodeAfter','getColumns','getRange','removeColumns','clipboardOutput','has','accept','cell','tablePasteCell','map','createPositionBefore','markMultiRangeInsertion','reduce','filter','attributes','suggestionUnloaded','name','getRowIndexes','insertContent','dataDowncast','oldRange','activeMarkers','getShiftedBy','add','length','createElement','conversion','getChildren','editor','next','tablePasteChainId','author','type','position','get','deletionRanges','getTableIfOnlyTableInContent','getAllAdjacentSuggestions','stop','endRow','getRows','Users','columns','registerPostFixer','getItems','rowInsertionIndexes','ck-suggestion-marker','rows','first','deletion','previous','element','columnInsertionRanges','schema','createTableWalker','for','end','requires','low','isInContent','isEmpty','row','tableCell','differ','join','getAttributes','insert','_getCoordsForCells','previousSibling','return','from','set','forceDefaultExecution','suggestion-td','root','every','push','_suggestionFactory','getMarkers','startsWith','tablePasteColumn','getChangedMarkers','setAttributes','value','hasSuggestion','getSuggestions','getSuggestion','remove','documentSelection','getContainedElement','content','model','discard','markerAttributes','editingDowncast','move','getRanges','cells','createRangeIn','markers','editing','plugins','insertRows','getColumnIndexes','nextSibling','suggestion','commands','markerToHighlight','_splitMarkerName','tableCellSuggestion','listenTo','_isForcedDefaultExecutionBlock','trackChanges','markerName','subType','registerCustomCallback','createRange','afterInit','getChanges','isEqual','tableCellBorderColor','fromEntries','suggestion:formatBlock:tablePasteCell','tableCellHorizontalAlignment','markMultiRangeBlockFormat','insertion','table','tablePaste','removeMarker','getSelectionAffectedTableCells','register','createRangeOn','getChild','paragraph','TableClipboard','document','keys','change','registerDescriptionCallback','*Replace\x20table\x20cells*','last','newRange','locale','findAncestor','formatBlock','ck-suggestion-marker--active'];(function(_0x4a14bc,_0x545a49){const _0x47e8fa=function(_0x46fdfd){while(--_0x46fdfd){_0x4a14bc['push'](_0x4a14bc['shift']());}};_0x47e8fa(++_0x545a49);}(_0x545a,0x19b));const _0x47e8=function(_0x4a14bc,_0x545a49){_0x4a14bc=_0x4a14bc-0x0;let _0x47e8fa=_0x545a[_0x4a14bc];return _0x47e8fa;};import{getTranslation as _0x14b018}from'../utils/common-translations';import{Plugin as _0xc6a820}from'ckeditor5/src/core';import{uid as _0x41e5ee,priorities as _0x50c6ed}from'ckeditor5/src/utils';import _0x123988 from'./table';const le=['tableCellBorderWidth',_0x47e8('0x22'),'tableCellBorderStyle',_0x47e8('0x25'),'tableCellVerticalAlignment',_0x47e8('0x44'),'tableCellPadding'],ae=Object['fromEntries'](le[_0x47e8('0x50')](_0x2c7e69=>[_0x2c7e69,null]));export default class kt extends _0xc6a820{static get[_0x47e8('0x80')](){return[_0x123988];}[_0x47e8('0x1f')](){const _0x501cf0=this[_0x47e8('0x63')];if(!_0x501cf0[_0x47e8('0xf')][_0x47e8('0x4c')]('TableClipboard'))return;const _0x1f93d0=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')]('TrackChangesEditing'),_0x3ca7ef=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')]('TableUtils'),_0x2b5a3b=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')](_0x123988),_0x547183=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')](_0x47e8('0x30'));_0x2b5a3b['_tablePostFixingSubtypes'][_0x47e8('0x93')](_0x47e8('0x45'),_0x47e8('0x97')),_0x501cf0[_0x47e8('0x5')][_0x47e8('0x7c')][_0x47e8('0x2c')](_0x47e8('0x17'),{'allowIn':_0x47e8('0x85'),'allowContentOf':_0x47e8('0x85'),'isLimit':!0x0}),_0x501cf0[_0x47e8('0x61')]['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x43ed3b=null;_0x501cf0[_0x47e8('0x5')]['on'](_0x47e8('0x59'),(_0x34dbb8,_0x5aab53)=>{const [_0x35b63a,_0xeb5ad8]=_0x5aab53,_0x109a43=_0x5aab53[_0x5aab53['length']-0x1];_0x109a43&&_0x109a43[_0x47e8('0x8f')]||_0x1f93d0[_0x47e8('0x19')]||this[_0x47e8('0x63')][_0x47e8('0x14')][_0x47e8('0x69')](_0x47e8('0x1a'))[_0x47e8('0x9a')]&&function(_0x2c2cb6,_0x57553d,_0x29d204,_0x202365,_0x1205c2){if(_0x57553d&&!_0x57553d['is'](_0x47e8('0x2')))return!0x1;const _0x208b24=_0x1205c2[_0x47e8('0x6b')](_0x2c2cb6,_0x29d204);if(!_0x208b24||!fe(_0x208b24,void 0x0,_0x202365))return!0x1;const _0x4a7a62=_0x202365[_0x47e8('0x2b')](_0x29d204[_0x47e8('0x31')]['selection']);if(!_0x4a7a62[_0x47e8('0x5f')])return!0x1;const _0x52ad81=_0x4a7a62[0x0][_0x47e8('0x39')](_0x47e8('0x28')),_0x30fcba=_0x202365[_0x47e8('0x58')](_0x4a7a62),_0x5e6019=_0x202365[_0x47e8('0x11')](_0x4a7a62),_0x4ba9a2={'startRow':_0x30fcba[_0x47e8('0x77')],'endRow':_0x30fcba['last'],'startColumn':_0x5e6019[_0x47e8('0x77')],'endColumn':_0x5e6019[_0x47e8('0x36')]};return 0x1==_0x4a7a62[_0x47e8('0x5f')]&&(_0x4ba9a2[_0x47e8('0x6e')]+=_0x202365[_0x47e8('0x6f')](_0x208b24)-0x1,_0x4ba9a2['endColumn']+=_0x202365[_0x47e8('0x48')](_0x208b24)-0x1),fe(_0x52ad81,_0x4ba9a2,_0x202365);}(_0x35b63a,_0xeb5ad8,_0x501cf0[_0x47e8('0x5')],_0x3ca7ef,_0x547183)&&(_0x34dbb8[_0x47e8('0x6d')](),_0x43ed3b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x501cf0[_0x47e8('0x5')]['change'](()=>{_0x501cf0['model']['insertContent'](_0x5aab53[0x0],_0x5aab53[0x1],_0x5aab53[0x2],{'forceDefaultExecution':!0x0});const _0xacff93=_0x41e5ee(),{rowInsertionRanges:_0x39973c,columnInsertionRanges:_0x48ddd8,insertionRanges:_0x2ed44d,deletionRanges:_0x120b20,cells:_0x40f9b8}=_0x43ed3b;_0x39973c[_0x47e8('0x5f')]&&_0x1f93d0['markMultiRangeInsertion'](_0x39973c,'tablePasteRow',{'tablePasteChainId':_0xacff93}),_0x48ddd8[_0x47e8('0x5f')]&&_0x1f93d0[_0x47e8('0x52')](_0x48ddd8,'tablePasteColumn',{'tablePasteChainId':_0xacff93}),_0x2ed44d[_0x47e8('0x5f')]&&_0x1f93d0['markMultiRangeInsertion'](_0x2ed44d,'tablePaste',{'tablePasteChainId':_0xacff93,'skipNestingCheck':!0x0}),_0x120b20[_0x47e8('0x5f')]&&_0x1f93d0['markMultiRangeDeletion'](_0x120b20,'tablePaste',{'tablePasteChainId':_0xacff93,'skipNestingCheck':!0x0});const _0x5ca5ab=_0x1f93d0[_0x47e8('0x26')](_0x40f9b8[_0x47e8('0x50')](({element:_0x198558})=>_0x198558),{'formatGroupId':_0x41e5ee()},[],_0x47e8('0x4f'),{'tablePasteChainId':_0xacff93});if(_0x5ca5ab){const _0x554990=_0x5ca5ab[_0x47e8('0x95')](),_0x404eb2=[];for(const {element:_0x1c750b,attributes:_0x42eae5}of _0x40f9b8){if(!_0x42eae5)continue;const _0x28eaab=_0x501cf0['model']['createRangeOn'](_0x1c750b),_0x5c71eb=_0x554990['find'](_0x5082a2=>_0x5082a2['getRange']()[_0x47e8('0x21')](_0x28eaab));_0x5c71eb&&_0x404eb2[_0x47e8('0x93')]([_0x5c71eb[_0x47e8('0x57')],_0x42eae5]);}_0x404eb2[_0x47e8('0x5f')]&&_0x5ca5ab['setAttribute'](_0x47e8('0x7'),Object[_0x47e8('0x23')](_0x404eb2));}_0x43ed3b=null;}));},{'priority':_0x50c6ed[_0x47e8('0x3c')]+0xa}),_0x501cf0[_0x47e8('0xf')]['get'](_0x47e8('0x30'))['on']('_replaceTableSlotCell',(_0x1e88f6,_0x5b14ff)=>{const [_0x1191d6,_0x506b38,,_0x23bbbc]=_0x5b14ff;if(!_0x43ed3b)return;_0x1e88f6[_0x47e8('0x6d')]();const _0x1fc3d2=_0x1191d6[_0x47e8('0x4e')],_0x4db623=_0x506b38,_0x56770b=ce(_0x1fc3d2),_0x5f97cd=ce(_0x4db623);_0x1e88f6[_0x47e8('0x8c')]=_0x1fc3d2;let _0x579f84=null,_0x37d4c8=null;if(_0x5f97cd||_0x56770b){if(_0x56770b&&!_0x5f97cd){_0x23bbbc[_0x47e8('0x1')](_0x1fc3d2[_0x47e8('0x2e')](0x0));for(const _0x1efe06 of Array[_0x47e8('0x8d')](_0x4db623['getChildren']()))_0x23bbbc['insert'](_0x1efe06,_0x1fc3d2,_0x47e8('0x7f'));const _0x4a3010=_0x43ed3b[_0x47e8('0x74')][_0x47e8('0x3d')](_0x1191d6[_0x47e8('0x84')]),_0x4f9a87=_0x43ed3b['columnInsertionIndexes']['includes'](_0x1191d6['column']);_0x4a3010||_0x4f9a87||(_0x579f84=_0x23bbbc['createRangeIn'](_0x1fc3d2));}else _0x5f97cd&&!_0x56770b&&(_0x37d4c8=_0x23bbbc[_0x47e8('0xc')](_0x1fc3d2));}else{const _0x34729f=_0x23bbbc[_0x47e8('0x60')]('tableCellSuggestion'),_0x201e7c=_0x23bbbc[_0x47e8('0x60')](_0x47e8('0x17'));_0x23bbbc[_0x47e8('0x3f')](_0x23bbbc[_0x47e8('0xc')](_0x1fc3d2),_0x201e7c),_0x23bbbc[_0x47e8('0x89')](_0x34729f,_0x1fc3d2,0x0);for(const _0x26913c of Array[_0x47e8('0x8d')](_0x4db623[_0x47e8('0x62')]()))_0x23bbbc[_0x47e8('0x89')](_0x26913c,_0x34729f,'end');_0x579f84=_0x23bbbc[_0x47e8('0x2d')](_0x34729f),_0x37d4c8=_0x23bbbc[_0x47e8('0x2d')](_0x201e7c);}const _0x38c48c=Array[_0x47e8('0x8d')](_0x4db623[_0x47e8('0x88')]())[_0x47e8('0x54')](([_0x180da4])=>le[_0x47e8('0x3d')](_0x180da4));_0x43ed3b[_0x47e8('0xb')][_0x47e8('0x93')]({'element':_0x1fc3d2,'attributes':_0x38c48c[_0x47e8('0x5f')]?Object[_0x47e8('0x23')](_0x38c48c):null}),_0x579f84&&_0x43ed3b[_0x47e8('0x42')]['push'](_0x579f84),_0x37d4c8&&_0x43ed3b[_0x47e8('0x6a')][_0x47e8('0x93')](_0x37d4c8);},{'priority':'high'}),_0x3ca7ef['on']('insertColumns',(_0x3c9cb2,_0x1832e3)=>{const [_0x435966,_0x28f460={}]=_0x1832e3;if(!_0x43ed3b)return;const _0x480735=_0x28f460['at']||0x0,_0x46f0fe=_0x28f460[_0x47e8('0x71')]||0x1;_0x43ed3b['columnInsertionIndexes']=new Array(_0x46f0fe)[_0x47e8('0x41')](_0x480735)[_0x47e8('0x50')]((_0x1683db,_0x549b1c)=>_0x1683db+_0x549b1c);for(const {cell:_0x1a425e}of _0x3ca7ef[_0x47e8('0x7d')](_0x435966,{'startColumn':_0x480735,'endColumn':_0x480735+_0x46f0fe-0x1}))_0x43ed3b[_0x47e8('0x7b')]['push'](_0x501cf0[_0x47e8('0x5')][_0x47e8('0x2d')](_0x1a425e));},{'priority':'low'}),_0x3ca7ef['on'](_0x47e8('0x10'),(_0x3f51a7,_0x5b7eb0)=>{const [_0x3af9f3,_0x47e5f4={}]=_0x5b7eb0;if(!_0x43ed3b)return;const _0x353e49=_0x47e5f4['at']||0x0,_0x5c17f2=_0x47e5f4[_0x47e8('0x76')]||0x1;_0x43ed3b[_0x47e8('0x74')]=new Array(_0x5c17f2)['fill'](_0x353e49)[_0x47e8('0x50')]((_0x1c2429,_0x35fc59)=>_0x1c2429+_0x35fc59);for(const {cell:_0x1e4ef8}of _0x3ca7ef[_0x47e8('0x7d')](_0x3af9f3,{'startRow':_0x353e49,'endRow':_0x353e49+_0x5c17f2-0x1}))_0x43ed3b['rowInsertionRanges'][_0x47e8('0x93')](_0x501cf0[_0x47e8('0x5')][_0x47e8('0x2d')](_0x1e4ef8));},{'priority':_0x47e8('0x81')}),_0x1f93d0['_descriptionFactory'][_0x47e8('0x34')](_0x135468=>{if(_0x135468[_0x47e8('0x1c')]&&_0x135468[_0x47e8('0x1c')][_0x47e8('0x96')]('tablePaste'))return _0x135468[_0x47e8('0x79')]?{}:{'type':_0x47e8('0x27'),'content':_0x14b018(_0x501cf0[_0x47e8('0x38')],_0x47e8('0x35'))};});const _0x3741dd=()=>{};for(const _0x23bbe1 of[_0x47e8('0x29'),_0x47e8('0x97'),_0x47e8('0x45'),'tablePasteCell'])_0x1f93d0[_0x47e8('0x94')][_0x47e8('0x1d')](_0x47e8('0x27'),_0x23bbe1,'join',_0x3741dd),_0x1f93d0[_0x47e8('0x94')][_0x47e8('0x1d')](_0x47e8('0x78'),_0x23bbe1,_0x47e8('0x87'),_0x3741dd);_0x1f93d0[_0x47e8('0x94')]['registerCustomCallback'](_0x47e8('0x3a'),_0x47e8('0x4f'),_0x47e8('0x6'),_0x3741dd),_0x1f93d0[_0x47e8('0x94')]['registerCustomCallback'](_0x47e8('0x3a'),_0x47e8('0x4f'),_0x47e8('0x4d'),(_0x5dbdd8,_0x46916b,_0x3b79d3)=>{const _0x141d59=_0x5dbdd8[_0x47e8('0x50')](_0x1732c7=>_0x1732c7['getContainedElement']())['filter'](_0x4779f6=>_0x4779f6),_0x3ce536=new Map(_0x141d59[_0x47e8('0x50')](_0x4c020c=>[_0x4c020c,null]));if(_0x43ed3b)for(const {element:_0x189744,attributes:_0x299220}of _0x43ed3b['cells'])_0x299220&&_0x3ce536['set'](_0x189744,_0x299220);else{if(_0x3b79d3&&_0x3b79d3[_0x47e8('0x7')])for(const [_0x2ab001,_0x44f3c0]of Object['entries'](_0x3b79d3[_0x47e8('0x7')])){const _0x409553=_0x501cf0[_0x47e8('0x5')][_0x47e8('0xd')][_0x47e8('0x69')](_0x2ab001),_0x20055f=_0x409553?_0x409553[_0x47e8('0x49')]()[_0x47e8('0x3')]():null;_0x20055f&&_0x3ce536[_0x47e8('0x8e')](_0x20055f,_0x44f3c0);}}_0x501cf0[_0x47e8('0x5')][_0x47e8('0x33')](_0xd2708d=>{for(const [_0x48040c,_0x543d43]of _0x3ce536)_0xd2708d[_0x47e8('0x99')]({...ae,..._0x543d43},_0x48040c);});});const _0x574254=(_0x1d2cf2,_0x344d40)=>{_0x1f93d0[_0x47e8('0x94')][_0x47e8('0x1d')](_0x1d2cf2,_0x47e8('0x29'),_0x344d40,(_0xb260c8,_0xab2e4a,_0x140a2f)=>{_0x501cf0[_0x47e8('0x5')][_0x47e8('0x33')](_0x15360d=>{const _0x2bea41=[];for(const _0x19c601 of _0xb260c8){const _0x431a99=_0x19c601['start'][_0x47e8('0x47')];_0x431a99['is'](_0x47e8('0x7a'),'tableCellSuggestion')&&_0x2bea41[_0x47e8('0x93')](_0x431a99);}_0x1f93d0[_0x47e8('0x94')][_0x47e8('0x3e')](_0x1d2cf2,null,_0x344d40)(_0xb260c8,_0xab2e4a,_0x140a2f);for(const _0xb264bb of _0x2bea41)'$graveyard'!=_0xb264bb[_0x47e8('0x91')]['rootName']&&_0x15360d['unwrap'](_0xb264bb);});});};_0x574254(_0x47e8('0x27'),_0x47e8('0x4d')),_0x574254(_0x47e8('0x27'),'discard'),_0x574254(_0x47e8('0x78'),_0x47e8('0x4d')),_0x574254(_0x47e8('0x78'),_0x47e8('0x6')),_0x1f93d0[_0x47e8('0x94')][_0x47e8('0x1d')](_0x47e8('0x27'),_0x47e8('0x45'),'discard',_0x149855=>{const _0x4cc7fa=_0x149855['map'](_0x4f3576=>_0x4f3576['getContainedElement']()),_0x1050d1=_0x4cc7fa[0x0]['findAncestor'](_0x47e8('0x28')),{minRow:_0x4df88c,maxRow:_0x24d7d5}=_0x2b5a3b['_getCoordsForCells'](_0x4cc7fa);_0x3ca7ef['removeRows'](_0x1050d1,{'at':_0x4df88c,'rows':_0x24d7d5-_0x4df88c+0x1});}),_0x1f93d0[_0x47e8('0x94')]['registerCustomCallback'](_0x47e8('0x27'),'tablePasteColumn',_0x47e8('0x6'),_0x44ef82=>{const _0x5a5e19=_0x44ef82[_0x47e8('0x50')](_0x2d5928=>_0x2d5928[_0x47e8('0x3')]()),_0x2dfaf0=_0x5a5e19[0x0][_0x47e8('0x39')](_0x47e8('0x28')),{minColumn:_0x2ae917,maxColumn:_0x3cb27e}=_0x2b5a3b[_0x47e8('0x8a')](_0x5a5e19);_0x3ca7ef[_0x47e8('0x4a')](_0x2dfaf0,{'at':_0x2ae917,'columns':_0x3cb27e-_0x2ae917+0x1});});const _0x466a3d=(_0xb8d547,_0x1d7bae)=>{if(!_0x1d7bae['subType']||!_0x1d7bae[_0x47e8('0x1c')][_0x47e8('0x96')](_0x47e8('0x29')))return;const _0x26f83d=_0x1d7bae[_0x47e8('0x55')][_0x47e8('0x65')],_0x179610=_0x1f93d0[_0x47e8('0x9c')]()[_0x47e8('0x54')](_0x398502=>_0x398502[_0x47e8('0x82')]&&_0x398502[_0x47e8('0x55')]&&_0x398502[_0x47e8('0x55')][_0x47e8('0x65')]==_0x26f83d);_0x179610[_0x47e8('0x5f')]&&_0x1d7bae[_0x47e8('0x6c')]()[_0x47e8('0x5f')]!=_0x179610[_0x47e8('0x5f')]&&_0x179610[_0x47e8('0x53')]((_0x28e605,_0x2b7083)=>(_0x28e605[_0x47e8('0x64')]=_0x2b7083,_0x2b7083[_0x47e8('0x79')]=_0x28e605,_0x2b7083));};function _0x572a6d(_0x33b3bc,_0x1b3a86=!0x0){const {id:_0x48ef77}=_0x1f93d0['_splitMarkerName'](_0x33b3bc[_0x47e8('0x1b')]),_0x4ca3d8=[_0x47e8('0x75'),'ck-suggestion-marker-insertion'],_0x313ef7=_0x1f93d0[_0x47e8('0x5c')]['includes'](_0x33b3bc[_0x47e8('0x1b')]);return _0x313ef7&&_0x4ca3d8[_0x47e8('0x93')](_0x47e8('0x3b')),{'classes':_0x4ca3d8,'attributes':{'data-suggestion':_0x48ef77},'priority':_0x313ef7&&_0x1b3a86?0xbc2:0xbb8};}_0x1f93d0['on']('suggestionLoaded',_0x466a3d,{'priority':'high'}),_0x1f93d0['on'](_0x47e8('0x56'),_0x466a3d,{'priority':'high'}),_0x501cf0[_0x47e8('0x5')]['document'][_0x47e8('0x72')](()=>{let _0x4528d5=!0x1;const _0x3317fb=Array[_0x47e8('0x8d')](_0x501cf0['model'][_0x47e8('0x31')][_0x47e8('0x86')][_0x47e8('0x98')]());for(const {name:_0x14b7d8,data:_0x1f2735}of _0x3317fb){const {group:_0x6a915a,type:_0x5b2b78,id:_0x9b6af}=_0x1f93d0[_0x47e8('0x16')](_0x14b7d8);if(_0x47e8('0x13')!=_0x6a915a||'deletion'!=_0x5b2b78||_0x1f2735[_0x47e8('0x5b')])continue;if(!_0x1f93d0[_0x47e8('0x9b')](_0x9b6af))continue;const _0x22847c=_0x1f93d0[_0x47e8('0x0')](_0x9b6af)[_0x47e8('0xa')](),_0x127106=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')](_0x47e8('0x70'))['me'];for(const _0x2f3f18 of _0x1f93d0[_0x47e8('0x9c')]()){if(!_0x2f3f18[_0x47e8('0x82')]||_0x2f3f18[_0x47e8('0x66')]!=_0x127106)continue;if('formatBlock'!=_0x2f3f18[_0x47e8('0x67')]||_0x47e8('0x4f')!=_0x2f3f18[_0x47e8('0x1c')])continue;if(_0x2f3f18[_0x47e8('0xa')]()[_0x47e8('0x92')](_0x4da56e=>_0x22847c['some'](_0x5db03b=>_0x5db03b[_0x47e8('0x46')](_0x4da56e,!0x0))))for(const _0x27c252 of _0x2f3f18[_0x47e8('0x6c')]())_0x27c252[_0x47e8('0x82')]&&(_0x27c252[_0x47e8('0x6')](),_0x4528d5=!0x0);}}return _0x4528d5;}),_0x501cf0['model'][_0x47e8('0x31')]['registerPostFixer'](_0x3e773d=>{const _0x481301=_0x501cf0[_0x47e8('0x14')][_0x47e8('0x69')]('redo');if(!_0x481301||!_0x481301['_createdBatches'][_0x47e8('0x4c')](_0x3e773d[_0x47e8('0x40')]))return!0x1;let _0x6a18ec=!0x1;const _0x2fb19e=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')]('Users')['me'],_0x589e29=_0x501cf0[_0x47e8('0x5')][_0x47e8('0x31')]['differ'][_0x47e8('0x20')](),_0x2ef01a=Array[_0x47e8('0x8d')](_0x501cf0[_0x47e8('0x5')][_0x47e8('0x31')]['differ'][_0x47e8('0x98')]())[_0x47e8('0x54')](({name:_0x5471c6,data:_0x56f52e})=>{const {group:_0x44e118,subType:_0x9391a,authorId:_0x5e8102}=_0x1f93d0[_0x47e8('0x16')](_0x5471c6);return'suggestion'==_0x44e118&&_0x47e8('0x29')==_0x9391a&&_0x5e8102==_0x2fb19e['id']&&!_0x56f52e[_0x47e8('0x5b')];});for(const _0x3e3f6c of _0x589e29){if(_0x47e8('0x89')!=_0x3e3f6c[_0x47e8('0x67')]||_0x47e8('0x17')!=_0x3e3f6c[_0x47e8('0x57')]||0x1!=_0x3e3f6c['length'])continue;const _0x3b60fb=_0x3e773d[_0x47e8('0x1e')](_0x3e3f6c['position'],_0x3e3f6c[_0x47e8('0x68')][_0x47e8('0x5d')](0x1));if(!_0x2ef01a['find'](({data:_0x356409})=>_0x356409[_0x47e8('0x37')][_0x47e8('0x21')](_0x3b60fb)))for(const {name:_0x4f8f91,data:_0xd7095a}of _0x2ef01a)if(_0x3b60fb[_0x47e8('0x46')](_0xd7095a[_0x47e8('0x37')])){_0x3e773d['updateMarker'](_0x4f8f91,{'range':_0x3b60fb}),_0x6a18ec=!0x0;break;}}return _0x6a18ec;}),_0x501cf0['model'][_0x47e8('0x31')]['registerPostFixer'](_0x25c6c9=>{let _0x1d5c16=!0x1;const _0x196523=_0x501cf0[_0x47e8('0xf')][_0x47e8('0x69')]('Users')['me'],_0x49eec3=_0x1f93d0[_0x47e8('0x9c')]()[_0x47e8('0x54')](_0x83212=>_0x83212[_0x47e8('0x82')]&&_0x83212[_0x47e8('0x66')]==_0x196523),_0x32ff72=new Set(),_0x46b1b3=new Set();for(const _0x2f67dd of _0x49eec3)if(_0x47e8('0x29')==_0x2f67dd['subType'])for(const _0x32cfda of _0x2f67dd[_0x47e8('0x95')]()){const _0x44120d=_0x32cfda[_0x47e8('0x49')]()[_0x47e8('0x3')]();if(_0x44120d){if(_0x44120d['is'](_0x47e8('0x7a'),_0x47e8('0x17'))&&ce(_0x44120d)){_0x2f67dd[_0x47e8('0x2a')](_0x32cfda[_0x47e8('0x57')]),_0x32ff72[_0x47e8('0x5e')](_0x44120d),_0x1d5c16=!0x0;const _0x2bda10=_0x44120d[_0x47e8('0x12')],_0x53fcb7=_0x44120d[_0x47e8('0x8b')],_0x2bfe46=_0x2bda10&&_0x2bda10['is'](_0x47e8('0x7a'),_0x47e8('0x17')),_0x16bf7d=_0x53fcb7&&_0x53fcb7['is'](_0x47e8('0x7a'),_0x47e8('0x17'));_0x2bfe46&&!_0x32ff72['has'](_0x2bda10)&&_0x46b1b3['add'](_0x2bda10),_0x16bf7d&&!_0x32ff72[_0x47e8('0x4c')](_0x53fcb7)&&_0x46b1b3[_0x47e8('0x5e')](_0x53fcb7);}else _0x44120d['is'](_0x47e8('0x7a'),_0x47e8('0x2f'))&&_0x44120d[_0x47e8('0x83')]&&(_0x2f67dd[_0x47e8('0x2a')](_0x32cfda[_0x47e8('0x57')]),_0x1d5c16=!0x0);}}else{if(_0x47e8('0x4f')==_0x2f67dd[_0x47e8('0x1c')]){if(!_0x2f67dd['attributes']||!_0x2f67dd['attributes'][_0x47e8('0x65')])continue;const _0x2aefcc=_0x2f67dd['attributes'][_0x47e8('0x7')];if(_0x2aefcc&&Object[_0x47e8('0x32')](_0x2aefcc)[_0x47e8('0x5f')])continue;const _0x40ab17=_0x2f67dd[_0x47e8('0x55')]['tablePasteChainId'];let _0x36effc=!0x0,_0x4f7e61=!0x0;for(const _0x21e0da of _0x49eec3)if(_0x21e0da[_0x47e8('0x1c')]&&_0x21e0da[_0x47e8('0x1c')][_0x47e8('0x96')](_0x47e8('0x29'))){if(!_0x21e0da[_0x47e8('0x55')]['tablePasteChainId']){_0x4f7e61=!0x1;break;}if(_0x21e0da['id']!=_0x2f67dd['id']&&_0x21e0da['attributes'][_0x47e8('0x65')]==_0x40ab17){_0x36effc=!0x1;break;}}_0x4f7e61&&_0x36effc&&(_0x2f67dd['removeMarkers'](),_0x1d5c16=!0x0);}}for(const _0x46d34a of _0x32ff72)_0x25c6c9[_0x47e8('0x1')](_0x46d34a);for(const _0x118fb0 of _0x46b1b3)_0x25c6c9['unwrap'](_0x118fb0);return _0x1d5c16;}),_0x501cf0['conversion']['for'](_0x47e8('0x8'))[_0x47e8('0x15')]({'model':_0x47e8('0x24'),'view':(_0xa701fb,_0x5ae63a)=>_0x572a6d(_0xa701fb),'converterPriority':_0x47e8('0x3c')}),_0x501cf0['conversion'][_0x47e8('0x7e')](_0x47e8('0x5a'))[_0x47e8('0x15')]({'model':_0x47e8('0x24'),'view':(_0x19e8df,_0x21f4fc)=>_0x21f4fc[_0x47e8('0x43')]['showSuggestionHighlights']?_0x572a6d(_0x19e8df,!0x1):null,'converterPriority':'high'});const _0x13f01e=_0x501cf0[_0x47e8('0xe')]['view'];this[_0x47e8('0x18')](_0x13f01e[_0x47e8('0x31')],_0x47e8('0x4b'),(_0x2efcc9,_0x527a30)=>{const _0x49173a=[];for(const _0x11251c of _0x13f01e['createRangeIn'](_0x527a30[_0x47e8('0x4')])[_0x47e8('0x73')]())_0x11251c['is'](_0x47e8('0x7a'),_0x47e8('0x90'))&&_0x49173a[_0x47e8('0x93')](_0x11251c);_0x13f01e[_0x47e8('0x33')](_0x73178f=>{for(const _0x43e53c of _0x49173a)_0x73178f[_0x47e8('0x9')](_0x73178f[_0x47e8('0xc')](_0x43e53c),_0x73178f[_0x47e8('0x51')](_0x43e53c)),_0x73178f['remove'](_0x43e53c);});});}}function ce(_0xe524f5){if(_0xe524f5[_0x47e8('0x83')])return!0x0;const _0xe7d66f=_0xe524f5[_0x47e8('0x2e')](0x0);return _0xe7d66f['is']('element',_0x47e8('0x2f'))&&_0xe7d66f[_0x47e8('0x83')];}function fe(_0x51a46a,_0x4f1f28={},_0x175924){for(const {isAnchor:_0x424a82,cellHeight:_0x1b3c52,cellWidth:_0x5981b4}of _0x175924[_0x47e8('0x7d')](_0x51a46a,{'includeAllSlots':!0x0,..._0x4f1f28}))if(!_0x424a82||0x1!=_0x1b3c52||0x1!=_0x5981b4)return!0x1;return!0x0;}
23
+ const _0x3cc4=['getChildren','selection','endColumn','getRanges','createRange','nodeAfter','createElement','plugins','TableUtils','getRows','cells','commands','_getCoordsForCells','columns','tablePasteRow','deletion','options','locale','deletionRanges','registerCustomCallback','content','getSuggestionCallback','last','isEmpty','newRange','dataDowncast','schema','insertion','removeMarker','row','markerName','startsWith','markMultiRangeBlockFormat','length','_splitMarkerName','$graveyard','getChangedMarkers','getTableIfOnlyTableInContent','suggestion','view','tablePasteChainId','table','setAttributes','next','ck-suggestion-marker-insertion','suggestion:formatBlock:tablePasteCell','tableCellBorderColor','for','getAllAdjacentSuggestions','activeMarkers','end','editingDowncast','change','join','editing','fromEntries','first','insertColumns','TableClipboard','hasSuggestion','forceDefaultExecution','getRange','formatBlock','position','paragraph','_isForcedDefaultExecutionBlock','has','tablePasteColumn','removeRows','createTableWalker','author','insertContent','differ','remove','_replaceTableSlotCell','model','ck-suggestion-marker--active','suggestion-td','element','oldRange','includes','findAncestor','register','rowInsertionIndexes','getSelectionAffectedTableCells','getRowIndexes','get','document','elementToElement','redo','getContainedElement','unwrap','insertionRanges','tablePaste','markerAttributes','type','getColumnIndexes','isInContent','name','add','suggestionLoaded','showSuggestionHighlights','batch','registerPostFixer','requires','rootName','listenTo','find','_descriptionFactory','fill','getMarkers','containsRange','map','afterInit','stop','getColumns','previousSibling','set','attributes','tableCellPadding','getSuggestions','editor','tableCellBorderStyle','clipboardOutput','createRangeIn','accept','rowInsertionRanges','tableCellSuggestion','getSuggestion','createRangeOn','start','reduce','setAttribute','filter','column','high','markerToHighlight','getChild','subType','isEqual','keys','insert','return','getAttributes','previous','tableCellBackgroundColor','_suggestionFactory','discard','conversion','every','markMultiRangeInsertion','columnInsertionRanges','tablePasteCell','push','Users','move','documentSelection','tableCell','endRow','root'];(function(_0x4f6c14,_0x3cc442){const _0x44ef49=function(_0x4111dc){while(--_0x4111dc){_0x4f6c14['push'](_0x4f6c14['shift']());}};_0x44ef49(++_0x3cc442);}(_0x3cc4,0x1b1));const _0x44ef=function(_0x4f6c14,_0x3cc442){_0x4f6c14=_0x4f6c14-0x0;let _0x44ef49=_0x3cc4[_0x4f6c14];return _0x44ef49;};import{getTranslation as _0xb8ca73}from'../utils/common-translations';import{Plugin as _0x59aaaf}from'ckeditor5/src/core';import{uid as _0x339c67,priorities as _0x24d7b4}from'ckeditor5/src/utils';import _0x4c4f6a from'./table';const le=['tableCellBorderWidth',_0x44ef('0x5d'),_0x44ef('0x9'),'tableCellHorizontalAlignment','tableCellVerticalAlignment',_0x44ef('0x20'),_0x44ef('0x6')],ae=Object[_0x44ef('0x66')](le['map'](_0x79b13b=>[_0x79b13b,null]));export default class kt extends _0x59aaaf{static get[_0x44ef('0x97')](){return[_0x4c4f6a];}[_0x44ef('0x0')](){const _0x325541=this[_0x44ef('0x8')];if(!_0x325541['plugins']['has']('TableClipboard'))return;const _0x4fbe1a=_0x325541['plugins'][_0x44ef('0x85')]('TrackChangesEditing'),_0x483d1f=_0x325541['plugins'][_0x44ef('0x85')](_0x44ef('0x37')),_0x3fe309=_0x325541[_0x44ef('0x36')][_0x44ef('0x85')](_0x4c4f6a),_0x1ba4e2=_0x325541[_0x44ef('0x36')][_0x44ef('0x85')](_0x44ef('0x69'));_0x3fe309['_tablePostFixingSubtypes'][_0x44ef('0x28')](_0x44ef('0x3d'),'tablePasteColumn'),_0x325541[_0x44ef('0x7a')][_0x44ef('0x49')][_0x44ef('0x81')](_0x44ef('0xe'),{'allowIn':_0x44ef('0x2c'),'allowContentOf':_0x44ef('0x2c'),'isLimit':!0x0}),_0x325541[_0x44ef('0x23')][_0x44ef('0x87')]({'model':_0x44ef('0xe'),'view':_0x44ef('0x7c')});let _0x2128fa=null;_0x325541[_0x44ef('0x7a')]['on']('insertContent',(_0x518430,_0x3aae15)=>{const [_0x337326,_0x3629b8]=_0x3aae15,_0x43d822=_0x3aae15[_0x3aae15['length']-0x1];_0x43d822&&_0x43d822[_0x44ef('0x6b')]||_0x4fbe1a[_0x44ef('0x70')]||this['editor'][_0x44ef('0x3a')][_0x44ef('0x85')]('trackChanges')['value']&&function(_0x32fac3,_0x9c7854,_0x4fd0b3,_0x5f3481,_0x2c1731){if(_0x9c7854&&!_0x9c7854['is'](_0x44ef('0x2b')))return!0x1;const _0x1acad6=_0x2c1731[_0x44ef('0x54')](_0x32fac3,_0x4fd0b3);if(!_0x1acad6||!fe(_0x1acad6,void 0x0,_0x5f3481))return!0x1;const _0x31aafc=_0x5f3481[_0x44ef('0x83')](_0x4fd0b3[_0x44ef('0x86')][_0x44ef('0x30')]);if(!_0x31aafc['length'])return!0x1;const _0x16ad9c=_0x31aafc[0x0]['findAncestor'](_0x44ef('0x58')),_0x453b5a=_0x5f3481[_0x44ef('0x84')](_0x31aafc),_0xee3aeb=_0x5f3481[_0x44ef('0x8f')](_0x31aafc),_0x4e973d={'startRow':_0x453b5a[_0x44ef('0x67')],'endRow':_0x453b5a['last'],'startColumn':_0xee3aeb[_0x44ef('0x67')],'endColumn':_0xee3aeb[_0x44ef('0x45')]};return 0x1==_0x31aafc[_0x44ef('0x50')]&&(_0x4e973d[_0x44ef('0x2d')]+=_0x5f3481[_0x44ef('0x38')](_0x1acad6)-0x1,_0x4e973d[_0x44ef('0x31')]+=_0x5f3481[_0x44ef('0x2')](_0x1acad6)-0x1),fe(_0x16ad9c,_0x4e973d,_0x5f3481);}(_0x337326,_0x3629b8,_0x325541['model'],_0x483d1f,_0x1ba4e2)&&(_0x518430[_0x44ef('0x1')](),_0x2128fa={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](()=>{_0x325541[_0x44ef('0x7a')][_0x44ef('0x76')](_0x3aae15[0x0],_0x3aae15[0x1],_0x3aae15[0x2],{'forceDefaultExecution':!0x0});const _0x16de3c=_0x339c67(),{rowInsertionRanges:_0xc1350,columnInsertionRanges:_0x1b7a23,insertionRanges:_0x563712,deletionRanges:_0x3678c7,cells:_0x4eef24}=_0x2128fa;_0xc1350[_0x44ef('0x50')]&&_0x4fbe1a[_0x44ef('0x25')](_0xc1350,_0x44ef('0x3d'),{'tablePasteChainId':_0x16de3c}),_0x1b7a23[_0x44ef('0x50')]&&_0x4fbe1a[_0x44ef('0x25')](_0x1b7a23,_0x44ef('0x72'),{'tablePasteChainId':_0x16de3c}),_0x563712['length']&&_0x4fbe1a[_0x44ef('0x25')](_0x563712,_0x44ef('0x8c'),{'tablePasteChainId':_0x16de3c,'skipNestingCheck':!0x0}),_0x3678c7[_0x44ef('0x50')]&&_0x4fbe1a['markMultiRangeDeletion'](_0x3678c7,'tablePaste',{'tablePasteChainId':_0x16de3c,'skipNestingCheck':!0x0});const _0x4d4366=_0x4fbe1a[_0x44ef('0x4f')](_0x4eef24[_0x44ef('0x9f')](({element:_0x4ccffb})=>_0x4ccffb),{'formatGroupId':_0x339c67()},[],'tablePasteCell',{'tablePasteChainId':_0x16de3c});if(_0x4d4366){const _0x438f13=_0x4d4366[_0x44ef('0x9d')](),_0x2fd229=[];for(const {element:_0x258411,attributes:_0x4b1cf9}of _0x4eef24){if(!_0x4b1cf9)continue;const _0x420108=_0x325541[_0x44ef('0x7a')]['createRangeOn'](_0x258411),_0x4c2302=_0x438f13[_0x44ef('0x9a')](_0xad0860=>_0xad0860[_0x44ef('0x6c')]()[_0x44ef('0x1a')](_0x420108));_0x4c2302&&_0x2fd229[_0x44ef('0x28')]([_0x4c2302[_0x44ef('0x91')],_0x4b1cf9]);}_0x2fd229[_0x44ef('0x50')]&&_0x4d4366[_0x44ef('0x13')](_0x44ef('0x8d'),Object[_0x44ef('0x66')](_0x2fd229));}_0x2128fa=null;}));},{'priority':_0x24d7b4[_0x44ef('0x16')]+0xa}),_0x325541[_0x44ef('0x36')]['get'](_0x44ef('0x69'))['on'](_0x44ef('0x79'),(_0x583065,_0x2cb1cc)=>{const [_0x321115,_0x150dd2,,_0xfe1747]=_0x2cb1cc;if(!_0x2128fa)return;_0x583065['stop']();const _0x49d1f9=_0x321115['cell'],_0x4f8944=_0x150dd2,_0x5dad55=ce(_0x49d1f9),_0x3f12de=ce(_0x4f8944);_0x583065[_0x44ef('0x1d')]=_0x49d1f9;let _0x22c25f=null,_0x2805f0=null;if(_0x3f12de||_0x5dad55){if(_0x5dad55&&!_0x3f12de){_0xfe1747['remove'](_0x49d1f9[_0x44ef('0x18')](0x0));for(const _0x23d960 of Array['from'](_0x4f8944[_0x44ef('0x2f')]()))_0xfe1747[_0x44ef('0x1c')](_0x23d960,_0x49d1f9,'end');const _0x21ae8a=_0x2128fa[_0x44ef('0x82')]['includes'](_0x321115[_0x44ef('0x4c')]),_0x1bbe34=_0x2128fa['columnInsertionIndexes'][_0x44ef('0x7f')](_0x321115[_0x44ef('0x15')]);_0x21ae8a||_0x1bbe34||(_0x22c25f=_0xfe1747[_0x44ef('0xb')](_0x49d1f9));}else _0x3f12de&&!_0x5dad55&&(_0x2805f0=_0xfe1747[_0x44ef('0xb')](_0x49d1f9));}else{const _0x18da22=_0xfe1747[_0x44ef('0x35')]('tableCellSuggestion'),_0x5ac908=_0xfe1747[_0x44ef('0x35')](_0x44ef('0xe'));_0xfe1747['wrap'](_0xfe1747[_0x44ef('0xb')](_0x49d1f9),_0x5ac908),_0xfe1747['insert'](_0x18da22,_0x49d1f9,0x0);for(const _0x1b22e8 of Array['from'](_0x4f8944['getChildren']()))_0xfe1747[_0x44ef('0x1c')](_0x1b22e8,_0x18da22,_0x44ef('0x61'));_0x22c25f=_0xfe1747[_0x44ef('0x10')](_0x18da22),_0x2805f0=_0xfe1747[_0x44ef('0x10')](_0x5ac908);}const _0x5065d3=Array['from'](_0x4f8944[_0x44ef('0x1e')]())[_0x44ef('0x14')](([_0x48c39a])=>le['includes'](_0x48c39a));_0x2128fa[_0x44ef('0x39')]['push']({'element':_0x49d1f9,'attributes':_0x5065d3['length']?Object[_0x44ef('0x66')](_0x5065d3):null}),_0x22c25f&&_0x2128fa[_0x44ef('0x8b')][_0x44ef('0x28')](_0x22c25f),_0x2805f0&&_0x2128fa[_0x44ef('0x41')][_0x44ef('0x28')](_0x2805f0);},{'priority':_0x44ef('0x16')}),_0x483d1f['on'](_0x44ef('0x68'),(_0x531d09,_0x403699)=>{const [_0x3217b7,_0x48ffe2={}]=_0x403699;if(!_0x2128fa)return;const _0x4bfecf=_0x48ffe2['at']||0x0,_0x44b8b4=_0x48ffe2[_0x44ef('0x3c')]||0x1;_0x2128fa['columnInsertionIndexes']=new Array(_0x44b8b4)['fill'](_0x4bfecf)[_0x44ef('0x9f')]((_0x326f49,_0x19c40a)=>_0x326f49+_0x19c40a);for(const {cell:_0x40c4de}of _0x483d1f[_0x44ef('0x74')](_0x3217b7,{'startColumn':_0x4bfecf,'endColumn':_0x4bfecf+_0x44b8b4-0x1}))_0x2128fa[_0x44ef('0x26')][_0x44ef('0x28')](_0x325541['model'][_0x44ef('0x10')](_0x40c4de));},{'priority':'low'}),_0x483d1f['on']('insertRows',(_0x402792,_0x288b0b)=>{const [_0x4af727,_0x3868ab={}]=_0x288b0b;if(!_0x2128fa)return;const _0x5132a5=_0x3868ab['at']||0x0,_0x480b37=_0x3868ab['rows']||0x1;_0x2128fa[_0x44ef('0x82')]=new Array(_0x480b37)[_0x44ef('0x9c')](_0x5132a5)[_0x44ef('0x9f')]((_0x5cc3a9,_0xb5e981)=>_0x5cc3a9+_0xb5e981);for(const {cell:_0x2e8d90}of _0x483d1f[_0x44ef('0x74')](_0x4af727,{'startRow':_0x5132a5,'endRow':_0x5132a5+_0x480b37-0x1}))_0x2128fa[_0x44ef('0xd')][_0x44ef('0x28')](_0x325541[_0x44ef('0x7a')][_0x44ef('0x10')](_0x2e8d90));},{'priority':'low'}),_0x4fbe1a[_0x44ef('0x9b')]['registerDescriptionCallback'](_0x137a92=>{if(_0x137a92[_0x44ef('0x19')]&&_0x137a92['subType'][_0x44ef('0x4e')]('tablePaste'))return _0x137a92['previous']?{}:{'type':_0x44ef('0x4a'),'content':_0xb8ca73(_0x325541[_0x44ef('0x40')],'*Replace\x20table\x20cells*')};});const _0x553209=()=>{};for(const _0x464403 of['tablePaste',_0x44ef('0x72'),_0x44ef('0x3d'),_0x44ef('0x27')])_0x4fbe1a[_0x44ef('0x21')]['registerCustomCallback'](_0x44ef('0x4a'),_0x464403,_0x44ef('0x64'),_0x553209),_0x4fbe1a['_suggestionFactory'][_0x44ef('0x42')](_0x44ef('0x3e'),_0x464403,_0x44ef('0x64'),_0x553209);_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x44ef('0x6d'),_0x44ef('0x27'),_0x44ef('0x22'),_0x553209),_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')]('formatBlock',_0x44ef('0x27'),_0x44ef('0xc'),(_0xb32d7c,_0x5575df,_0x54a7a7)=>{const _0x1c307e=_0xb32d7c['map'](_0x530110=>_0x530110[_0x44ef('0x89')]())[_0x44ef('0x14')](_0xd0bf76=>_0xd0bf76),_0x22cdda=new Map(_0x1c307e[_0x44ef('0x9f')](_0x2e1d88=>[_0x2e1d88,null]));if(_0x2128fa)for(const {element:_0x4407e6,attributes:_0x3c4ea3}of _0x2128fa[_0x44ef('0x39')])_0x3c4ea3&&_0x22cdda[_0x44ef('0x4')](_0x4407e6,_0x3c4ea3);else{if(_0x54a7a7&&_0x54a7a7['markerAttributes'])for(const [_0x2008f1,_0x32d6c3]of Object['entries'](_0x54a7a7['markerAttributes'])){const _0x461da8=_0x325541[_0x44ef('0x7a')]['markers'][_0x44ef('0x85')](_0x2008f1),_0x146fee=_0x461da8?_0x461da8[_0x44ef('0x6c')]()[_0x44ef('0x89')]():null;_0x146fee&&_0x22cdda[_0x44ef('0x4')](_0x146fee,_0x32d6c3);}}_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](_0x46ab0a=>{for(const [_0x5068d3,_0x3d87e4]of _0x22cdda)_0x46ab0a[_0x44ef('0x59')]({...ae,..._0x3d87e4},_0x5068d3);});});const _0x1d65a9=(_0x5a5869,_0x32e419)=>{_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x5a5869,_0x44ef('0x8c'),_0x32e419,(_0x59df04,_0x2b50e2,_0x47d915)=>{_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](_0x417c83=>{const _0x58caea=[];for(const _0x46d34a of _0x59df04){const _0x4fa86a=_0x46d34a[_0x44ef('0x11')][_0x44ef('0x34')];_0x4fa86a['is'](_0x44ef('0x7d'),_0x44ef('0xe'))&&_0x58caea[_0x44ef('0x28')](_0x4fa86a);}_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x44')](_0x5a5869,null,_0x32e419)(_0x59df04,_0x2b50e2,_0x47d915);for(const _0x3e4c01 of _0x58caea)_0x44ef('0x52')!=_0x3e4c01[_0x44ef('0x2e')][_0x44ef('0x98')]&&_0x417c83[_0x44ef('0x8a')](_0x3e4c01);});});};_0x1d65a9(_0x44ef('0x4a'),'accept'),_0x1d65a9(_0x44ef('0x4a'),_0x44ef('0x22')),_0x1d65a9(_0x44ef('0x3e'),_0x44ef('0xc')),_0x1d65a9(_0x44ef('0x3e'),'discard'),_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x44ef('0x4a'),_0x44ef('0x3d'),_0x44ef('0x22'),_0x476037=>{const _0x263194=_0x476037[_0x44ef('0x9f')](_0x387f5d=>_0x387f5d[_0x44ef('0x89')]()),_0x3e7022=_0x263194[0x0]['findAncestor'](_0x44ef('0x58')),{minRow:_0x5b253e,maxRow:_0x37f4c9}=_0x3fe309[_0x44ef('0x3b')](_0x263194);_0x483d1f[_0x44ef('0x73')](_0x3e7022,{'at':_0x5b253e,'rows':_0x37f4c9-_0x5b253e+0x1});}),_0x4fbe1a['_suggestionFactory'][_0x44ef('0x42')]('insertion',_0x44ef('0x72'),_0x44ef('0x22'),_0x158620=>{const _0x349ea5=_0x158620[_0x44ef('0x9f')](_0x41b901=>_0x41b901[_0x44ef('0x89')]()),_0x17694a=_0x349ea5[0x0][_0x44ef('0x80')](_0x44ef('0x58')),{minColumn:_0x556d45,maxColumn:_0xef3b9b}=_0x3fe309[_0x44ef('0x3b')](_0x349ea5);_0x483d1f['removeColumns'](_0x17694a,{'at':_0x556d45,'columns':_0xef3b9b-_0x556d45+0x1});});const _0x44e124=(_0x1d44da,_0x3cd8ec)=>{if(!_0x3cd8ec[_0x44ef('0x19')]||!_0x3cd8ec[_0x44ef('0x19')][_0x44ef('0x4e')](_0x44ef('0x8c')))return;const _0x34eeb4=_0x3cd8ec[_0x44ef('0x5')][_0x44ef('0x57')],_0x4f9694=_0x4fbe1a[_0x44ef('0x7')]()['filter'](_0x4ecbc4=>_0x4ecbc4[_0x44ef('0x90')]&&_0x4ecbc4[_0x44ef('0x5')]&&_0x4ecbc4['attributes'][_0x44ef('0x57')]==_0x34eeb4);_0x4f9694['length']&&_0x3cd8ec[_0x44ef('0x5f')]()['length']!=_0x4f9694[_0x44ef('0x50')]&&_0x4f9694[_0x44ef('0x12')]((_0x250785,_0x26adff)=>(_0x250785[_0x44ef('0x5a')]=_0x26adff,_0x26adff[_0x44ef('0x1f')]=_0x250785,_0x26adff));};function _0x52aa9e(_0x554622,_0x57bfaa=!0x0){const {id:_0x32b34b}=_0x4fbe1a[_0x44ef('0x51')](_0x554622[_0x44ef('0x4d')]),_0x2bbd27=['ck-suggestion-marker',_0x44ef('0x5b')],_0x3cdfe0=_0x4fbe1a[_0x44ef('0x60')][_0x44ef('0x7f')](_0x554622[_0x44ef('0x4d')]);return _0x3cdfe0&&_0x2bbd27['push'](_0x44ef('0x7b')),{'classes':_0x2bbd27,'attributes':{'data-suggestion':_0x32b34b},'priority':_0x3cdfe0&&_0x57bfaa?0xbc2:0xbb8};}_0x4fbe1a['on'](_0x44ef('0x93'),_0x44e124,{'priority':_0x44ef('0x16')}),_0x4fbe1a['on']('suggestionUnloaded',_0x44e124,{'priority':_0x44ef('0x16')}),_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')][_0x44ef('0x96')](()=>{let _0x285f0c=!0x1;const _0x395dce=Array['from'](_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')][_0x44ef('0x77')][_0x44ef('0x53')]());for(const {name:_0x234dd5,data:_0x53c2e0}of _0x395dce){const {group:_0x3a3083,type:_0x1b0c71,id:_0x126dfb}=_0x4fbe1a[_0x44ef('0x51')](_0x234dd5);if(_0x44ef('0x55')!=_0x3a3083||'deletion'!=_0x1b0c71||_0x53c2e0[_0x44ef('0x7e')])continue;if(!_0x4fbe1a[_0x44ef('0x6a')](_0x126dfb))continue;const _0x423ddd=_0x4fbe1a[_0x44ef('0xf')](_0x126dfb)[_0x44ef('0x32')](),_0x25846d=_0x325541[_0x44ef('0x36')]['get'](_0x44ef('0x29'))['me'];for(const _0x2f8467 of _0x4fbe1a['getSuggestions']()){if(!_0x2f8467[_0x44ef('0x90')]||_0x2f8467[_0x44ef('0x75')]!=_0x25846d)continue;if(_0x44ef('0x6d')!=_0x2f8467[_0x44ef('0x8e')]||_0x44ef('0x27')!=_0x2f8467[_0x44ef('0x19')])continue;if(_0x2f8467['getRanges']()[_0x44ef('0x24')](_0xd7a619=>_0x423ddd['some'](_0x3cd272=>_0x3cd272['containsRange'](_0xd7a619,!0x0))))for(const _0x5017fb of _0x2f8467[_0x44ef('0x5f')]())_0x5017fb[_0x44ef('0x90')]&&(_0x5017fb[_0x44ef('0x22')](),_0x285f0c=!0x0);}}return _0x285f0c;}),_0x325541[_0x44ef('0x7a')]['document'][_0x44ef('0x96')](_0x167b49=>{const _0x546f29=_0x325541['commands'][_0x44ef('0x85')](_0x44ef('0x88'));if(!_0x546f29||!_0x546f29['_createdBatches'][_0x44ef('0x71')](_0x167b49[_0x44ef('0x95')]))return!0x1;let _0x250993=!0x1;const _0x45e427=_0x325541['plugins'][_0x44ef('0x85')](_0x44ef('0x29'))['me'],_0x39d4d7=_0x325541['model'][_0x44ef('0x86')][_0x44ef('0x77')]['getChanges'](),_0x42d7e8=Array['from'](_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')]['differ']['getChangedMarkers']())[_0x44ef('0x14')](({name:_0x38de11,data:_0x178b57})=>{const {group:_0x331ffc,subType:_0x428dbb,authorId:_0x50f509}=_0x4fbe1a[_0x44ef('0x51')](_0x38de11);return _0x44ef('0x55')==_0x331ffc&&'tablePaste'==_0x428dbb&&_0x50f509==_0x45e427['id']&&!_0x178b57[_0x44ef('0x7e')];});for(const _0x438268 of _0x39d4d7){if(_0x44ef('0x1c')!=_0x438268[_0x44ef('0x8e')]||_0x44ef('0xe')!=_0x438268[_0x44ef('0x91')]||0x1!=_0x438268['length'])continue;const _0x20d2b7=_0x167b49[_0x44ef('0x33')](_0x438268[_0x44ef('0x6e')],_0x438268['position']['getShiftedBy'](0x1));if(!_0x42d7e8['find'](({data:_0x476658})=>_0x476658[_0x44ef('0x47')][_0x44ef('0x1a')](_0x20d2b7)))for(const {name:_0x2b5c6e,data:_0x1f0ee9}of _0x42d7e8)if(_0x20d2b7[_0x44ef('0x9e')](_0x1f0ee9['newRange'])){_0x167b49['updateMarker'](_0x2b5c6e,{'range':_0x20d2b7}),_0x250993=!0x0;break;}}return _0x250993;}),_0x325541['model'][_0x44ef('0x86')][_0x44ef('0x96')](_0xda7546=>{let _0x4bef5d=!0x1;const _0x59c660=_0x325541[_0x44ef('0x36')]['get']('Users')['me'],_0xc59cd2=_0x4fbe1a[_0x44ef('0x7')]()['filter'](_0x2f3682=>_0x2f3682['isInContent']&&_0x2f3682[_0x44ef('0x75')]==_0x59c660),_0x5a7678=new Set(),_0x177ba5=new Set();for(const _0xa31d3d of _0xc59cd2)if(_0x44ef('0x8c')==_0xa31d3d[_0x44ef('0x19')])for(const _0x30a975 of _0xa31d3d[_0x44ef('0x9d')]()){const _0x3e8adf=_0x30a975['getRange']()[_0x44ef('0x89')]();if(_0x3e8adf){if(_0x3e8adf['is'](_0x44ef('0x7d'),_0x44ef('0xe'))&&ce(_0x3e8adf)){_0xa31d3d[_0x44ef('0x4b')](_0x30a975[_0x44ef('0x91')]),_0x5a7678['add'](_0x3e8adf),_0x4bef5d=!0x0;const _0x1b96ce=_0x3e8adf['nextSibling'],_0x4b9742=_0x3e8adf[_0x44ef('0x3')],_0x36ca94=_0x1b96ce&&_0x1b96ce['is'](_0x44ef('0x7d'),'tableCellSuggestion'),_0x3d8775=_0x4b9742&&_0x4b9742['is'](_0x44ef('0x7d'),_0x44ef('0xe'));_0x36ca94&&!_0x5a7678[_0x44ef('0x71')](_0x1b96ce)&&_0x177ba5['add'](_0x1b96ce),_0x3d8775&&!_0x5a7678['has'](_0x4b9742)&&_0x177ba5[_0x44ef('0x92')](_0x4b9742);}else _0x3e8adf['is'](_0x44ef('0x7d'),_0x44ef('0x6f'))&&_0x3e8adf['isEmpty']&&(_0xa31d3d['removeMarker'](_0x30a975[_0x44ef('0x91')]),_0x4bef5d=!0x0);}}else{if('tablePasteCell'==_0xa31d3d[_0x44ef('0x19')]){if(!_0xa31d3d[_0x44ef('0x5')]||!_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x57')])continue;const _0x2612dc=_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x8d')];if(_0x2612dc&&Object[_0x44ef('0x1b')](_0x2612dc)[_0x44ef('0x50')])continue;const _0x13a444=_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x57')];let _0x3f3a0e=!0x0,_0x144f6c=!0x0;for(const _0x45858e of _0xc59cd2)if(_0x45858e['subType']&&_0x45858e[_0x44ef('0x19')][_0x44ef('0x4e')](_0x44ef('0x8c'))){if(!_0x45858e[_0x44ef('0x5')][_0x44ef('0x57')]){_0x144f6c=!0x1;break;}if(_0x45858e['id']!=_0xa31d3d['id']&&_0x45858e[_0x44ef('0x5')][_0x44ef('0x57')]==_0x13a444){_0x3f3a0e=!0x1;break;}}_0x144f6c&&_0x3f3a0e&&(_0xa31d3d['removeMarkers'](),_0x4bef5d=!0x0);}}for(const _0x2b0611 of _0x5a7678)_0xda7546[_0x44ef('0x78')](_0x2b0611);for(const _0x1a0630 of _0x177ba5)_0xda7546[_0x44ef('0x8a')](_0x1a0630);return _0x4bef5d;}),_0x325541[_0x44ef('0x23')]['for'](_0x44ef('0x62'))[_0x44ef('0x17')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2c844c,_0x1fb2e1)=>_0x52aa9e(_0x2c844c),'converterPriority':'high'}),_0x325541['conversion'][_0x44ef('0x5e')](_0x44ef('0x48'))[_0x44ef('0x17')]({'model':_0x44ef('0x5c'),'view':(_0x4288b3,_0x1372b6)=>_0x1372b6[_0x44ef('0x3f')][_0x44ef('0x94')]?_0x52aa9e(_0x4288b3,!0x1):null,'converterPriority':_0x44ef('0x16')});const _0x561570=_0x325541[_0x44ef('0x65')][_0x44ef('0x56')];this[_0x44ef('0x99')](_0x561570[_0x44ef('0x86')],_0x44ef('0xa'),(_0x574fb9,_0x52c3c9)=>{const _0x35c4a0=[];for(const _0xe17daa of _0x561570[_0x44ef('0xb')](_0x52c3c9[_0x44ef('0x43')])['getItems']())_0xe17daa['is'](_0x44ef('0x7d'),_0x44ef('0x7c'))&&_0x35c4a0[_0x44ef('0x28')](_0xe17daa);_0x561570[_0x44ef('0x63')](_0x4c6acc=>{for(const _0x4808c8 of _0x35c4a0)_0x4c6acc[_0x44ef('0x2a')](_0x4c6acc[_0x44ef('0xb')](_0x4808c8),_0x4c6acc['createPositionBefore'](_0x4808c8)),_0x4c6acc[_0x44ef('0x78')](_0x4808c8);});});}}function ce(_0x53b8b9){if(_0x53b8b9[_0x44ef('0x46')])return!0x0;const _0x1dc368=_0x53b8b9[_0x44ef('0x18')](0x0);return _0x1dc368['is'](_0x44ef('0x7d'),_0x44ef('0x6f'))&&_0x1dc368[_0x44ef('0x46')];}function fe(_0x1a361d,_0x16c6b2={},_0x8e3cd8){for(const {isAnchor:_0x58d8fa,cellHeight:_0x200707,cellWidth:_0x28cbcb}of _0x8e3cd8[_0x44ef('0x74')](_0x1a361d,{'includeAllSlots':!0x0,..._0x16c6b2}))if(!_0x58d8fa||0x1!=_0x200707||0x1!=_0x28cbcb)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf46e=['getContainedElement','getColumnGroupElement','subType','handleSuggestionDescription','get','change','formatBlock','handleResizeTableWidthCommand','registerCustomCallback','TableColumnResizeEditing','markBlockFormat','model','selection','columnWidths','editor','commandParams','bind','data','author','discard','getTableColumnsWidths','format','_descriptionFactory','enableCommand','resizeColumnWidths','resizeTable','has','Users','getSuggestionCallback','locale','*Format:*\x20resize\x20table','plugins','tableWidth','TrackChangesEditing','resizeTableWidth','accept'];(function(_0x28a0a9,_0xf46efb){const _0x512d7d=function(_0x5b0c3f){while(--_0x5b0c3f){_0x28a0a9['push'](_0x28a0a9['shift']());}};_0x512d7d(++_0xf46efb);}(_0xf46e,0x10e));const _0x512d=function(_0x28a0a9,_0xf46efb){_0x28a0a9=_0x28a0a9-0x0;let _0x512d7d=_0xf46e[_0x28a0a9];return _0x512d7d;};import{Plugin as _0x3ab0b0}from'ckeditor5/src/core';import{getTranslation as _0x2c4ed8}from'../utils/common-translations';export default class wt extends _0x3ab0b0{['afterInit'](){if(!this[_0x512d('0x20')][_0x512d('0xd')][_0x512d('0x8')]('TableColumnResizeEditing'))return;const _0x1f5665=this[_0x512d('0x20')][_0x512d('0xd')][_0x512d('0x16')](_0x512d('0xf'));_0x1f5665[_0x512d('0x5')]('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x512d('0x22')](this)),_0x1f5665['enableCommand'](_0x512d('0x6'),this[_0x512d('0x19')]['bind'](this)),_0x1f5665['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable',_0x512d('0x11'),_0x1f5665['_suggestionFactory'][_0x512d('0xa')]('formatBlock',null,_0x512d('0x1'))),_0x1f5665['_suggestionFactory'][_0x512d('0x1a')](_0x512d('0x18'),_0x512d('0x7'),'discard',_0x1f5665['_suggestionFactory']['getSuggestionCallback'](_0x512d('0x18'),null,_0x512d('0x11'))),_0x1f5665[_0x512d('0x4')]['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x512d('0x22')](this));}[_0x512d('0x19')](_0x1e9d24,_0x1ee75f){const _0x366f32=this[_0x512d('0x20')][_0x512d('0xd')][_0x512d('0x16')]('TrackChangesEditing'),_0x18ca8c=this[_0x512d('0x20')][_0x512d('0xd')][_0x512d('0x16')](_0x512d('0x1b')),_0x3fc674=_0x1ee75f['table']||this[_0x512d('0x20')]['model']['document'][_0x512d('0x1e')]['getSelectedElement']();this['editor'][_0x512d('0x1d')][_0x512d('0x17')](()=>{const _0x4b154a=_0x18ca8c[_0x512d('0x13')](_0x3fc674);let _0x44d1f1=_0x4b154a?_0x18ca8c[_0x512d('0x2')](_0x4b154a):null,_0x17aaee=_0x3fc674['getAttribute'](_0x512d('0xe'))||null;const _0x715b84=_0x1ee75f[_0x512d('0xe')]||_0x17aaee,_0x869c15=_0x1ee75f[_0x512d('0x1f')]||_0x44d1f1,_0x5b882c=this[_0x512d('0x20')][_0x512d('0xd')][_0x512d('0x16')](_0x512d('0x9'))['me'];for(const _0x1b9b48 of _0x366f32['getSuggestions']()){const _0x234406=_0x1b9b48[_0x512d('0x12')]();if('resizeTable'===_0x1b9b48[_0x512d('0x14')]&&_0x234406===_0x3fc674){_0x1b9b48[_0x512d('0x0')]!==_0x5b882c&&_0x1b9b48[_0x512d('0x1')]();const _0x135786=_0x1b9b48[_0x512d('0x23')][_0x512d('0x21')];_0x17aaee=_0x135786[0x0][_0x512d('0xe')],_0x44d1f1=_0x135786[0x0]['columnWidths'];break;}}_0x1e9d24({'table':_0x3fc674,'tableWidth':_0x715b84,'columnWidths':_0x869c15}),_0x366f32[_0x512d('0x1c')](_0x3fc674,{'commandName':_0x512d('0x10'),'commandParams':[{'tableWidth':_0x17aaee,'columnWidths':_0x44d1f1}],'formatGroupId':'resizeTable'},[],_0x512d('0x7'));});}[_0x512d('0x15')](_0x3c7715){const {data:_0xb26ee8}=_0x3c7715;if(_0xb26ee8&&'resizeTable'===_0xb26ee8['formatGroupId']){const _0x356eb5=_0x512d('0xc');return{'type':_0x512d('0x3'),'content':_0x2c4ed8(this[_0x512d('0x20')][_0x512d('0xb')],_0x356eb5)};}}}
23
+ const _0x5568=['get','formatBlock','getSuggestionCallback','resizeTableWidth','model','_suggestionFactory','discard','handleResizeTableWidthCommand','tableWidth','columnWidths','enableCommand','registerCustomCallback','getColumnGroupElement','plugins','resizeColumnWidths','locale','editor','subType','Users','getAttribute','handleSuggestionDescription','bind','getSuggestions','getSelectedElement','document','registerDescriptionCallback','selection','change','TrackChangesEditing','getContainedElement','TableColumnResizeEditing','resizeTable','getTableColumnsWidths'];(function(_0x182c8d,_0x556832){const _0x38cc10=function(_0x4a6bba){while(--_0x4a6bba){_0x182c8d['push'](_0x182c8d['shift']());}};_0x38cc10(++_0x556832);}(_0x5568,0xc9));const _0x38cc=function(_0x182c8d,_0x556832){_0x182c8d=_0x182c8d-0x0;let _0x38cc10=_0x5568[_0x182c8d];return _0x38cc10;};import{Plugin as _0x4001e7}from'ckeditor5/src/core';import{getTranslation as _0x355f65}from'../utils/common-translations';export default class wt extends _0x4001e7{['afterInit'](){if(!this[_0x38cc('0xd')][_0x38cc('0xa')]['has'](_0x38cc('0x1b')))return;const _0x3c0818=this[_0x38cc('0xd')][_0x38cc('0xa')]['get'](_0x38cc('0x19'));_0x3c0818[_0x38cc('0x7')](_0x38cc('0x0'),this[_0x38cc('0x4')][_0x38cc('0x12')](this)),_0x3c0818['enableCommand'](_0x38cc('0xb'),this[_0x38cc('0x4')][_0x38cc('0x12')](this)),_0x3c0818[_0x38cc('0x2')][_0x38cc('0x8')]('formatBlock',_0x38cc('0x1c'),'accept',_0x3c0818[_0x38cc('0x2')][_0x38cc('0x20')](_0x38cc('0x1f'),null,_0x38cc('0x3'))),_0x3c0818['_suggestionFactory'][_0x38cc('0x8')](_0x38cc('0x1f'),_0x38cc('0x1c'),'discard',_0x3c0818[_0x38cc('0x2')][_0x38cc('0x20')]('formatBlock',null,'accept')),_0x3c0818['_descriptionFactory'][_0x38cc('0x16')](this[_0x38cc('0x11')][_0x38cc('0x12')](this));}[_0x38cc('0x4')](_0x129574,_0x4d3795){const _0x503af3=this[_0x38cc('0xd')][_0x38cc('0xa')][_0x38cc('0x1e')]('TrackChangesEditing'),_0x400bc3=this[_0x38cc('0xd')][_0x38cc('0xa')][_0x38cc('0x1e')]('TableColumnResizeEditing'),_0x38e924=_0x4d3795['table']||this[_0x38cc('0xd')][_0x38cc('0x1')][_0x38cc('0x15')][_0x38cc('0x17')][_0x38cc('0x14')]();this[_0x38cc('0xd')][_0x38cc('0x1')][_0x38cc('0x18')](()=>{const _0x37cce7=_0x400bc3[_0x38cc('0x9')](_0x38e924);let _0x3caec1=_0x37cce7?_0x400bc3[_0x38cc('0x1d')](_0x37cce7):null,_0x3e7908=_0x38e924[_0x38cc('0x10')]('tableWidth')||null;const _0x3832f1=_0x4d3795[_0x38cc('0x5')]||_0x3e7908,_0x27a82a=_0x4d3795[_0x38cc('0x6')]||_0x3caec1,_0x3fd706=this['editor']['plugins'][_0x38cc('0x1e')](_0x38cc('0xf'))['me'];for(const _0x2663e4 of _0x503af3[_0x38cc('0x13')]()){const _0x3afe90=_0x2663e4[_0x38cc('0x1a')]();if(_0x38cc('0x1c')===_0x2663e4[_0x38cc('0xe')]&&_0x3afe90===_0x38e924){_0x2663e4['author']!==_0x3fd706&&_0x2663e4[_0x38cc('0x3')]();const _0x18ae79=_0x2663e4['data']['commandParams'];_0x3e7908=_0x18ae79[0x0][_0x38cc('0x5')],_0x3caec1=_0x18ae79[0x0]['columnWidths'];break;}}_0x129574({'table':_0x38e924,'tableWidth':_0x3832f1,'columnWidths':_0x27a82a}),_0x503af3['markBlockFormat'](_0x38e924,{'commandName':_0x38cc('0x0'),'commandParams':[{'tableWidth':_0x3e7908,'columnWidths':_0x3caec1}],'formatGroupId':_0x38cc('0x1c')},[],_0x38cc('0x1c'));});}['handleSuggestionDescription'](_0x4f0abb){const {data:_0x5f04d3}=_0x4f0abb;if(_0x5f04d3&&_0x38cc('0x1c')===_0x5f04d3['formatGroupId']){const _0x327194='*Format:*\x20resize\x20table';return{'type':'format','content':_0x355f65(this['editor'][_0x38cc('0xc')],_0x327194)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3193=['removeClass','getSelectionAffectedTableCells','unbindElementFromMarkerName','value','TableUtils','getAttribute','setTableColumnHeader','editor','get','setTableRowHeader','options','writer','commands','bindElementToMarker','name','removeMarker:suggestion','first','formatBlock','markerRange','markBlockFormat','plugins','markerName','addClass','_splitMarkerName','model','createPositionAfter','registerDescriptionCallback','forceValue','ck-suggestion-marker--active','FORMAT_REGULAR_ROW','ck-suggestion-marker-','accept','getRowIndexes','nodeAfter','mapper','toViewElement','format','enableCommand','_suggestionFactory','downcastDispatcher','document','change','consumable','childCount','removeAttribute','editing','getSuggestion','markerNameToElements','highest','getCellLocation','has','TableEditing','commandName','includes','data','headingColumns','consume','headingRows','getChild','table','selection','createPositionBefore','cell','getColumnIndexes','end','createTableWalker','last','addMarker:suggestion','registerCustomCallback','FORMAT_HEADER_COLUMN','index','afterInit','item','from','requires','createRange'];(function(_0x2d6aae,_0x31932b){const _0x55c966=function(_0x53b029){while(--_0x53b029){_0x2d6aae['push'](_0x2d6aae['shift']());}};_0x55c966(++_0x31932b);}(_0x3193,0x122));const _0x55c9=function(_0x2d6aae,_0x31932b){_0x2d6aae=_0x2d6aae-0x0;let _0x55c966=_0x3193[_0x2d6aae];return _0x55c966;};import{Plugin as _0x5596e8}from'ckeditor5/src/core';import _0x1ef736 from'./table';import{getTranslation as _0xc3dcae}from'../utils/common-translations';export default class pt extends _0x5596e8{static get[_0x55c9('0xc')](){return[_0x1ef736];}[_0x55c9('0x9')](){const _0x4ce76e=this[_0x55c9('0x15')];if(!_0x4ce76e[_0x55c9('0x22')][_0x55c9('0x40')](_0x55c9('0x41')))return;const _0x2011a6=_0x4ce76e['locale'],_0x4f3eff=_0x4ce76e[_0x55c9('0x22')]['get']('TrackChangesEditing'),_0x140a6e=_0x4ce76e['plugins'][_0x55c9('0x16')]('TableUtils'),_0x56053a=_0x4ce76e[_0x55c9('0x22')][_0x55c9('0x16')](_0x1ef736);function _0x3e5948({showActiveMarker:_0xfbcfb3=!0x0,setDataAttribute:_0x127145=!0x0}={}){return(_0x5a10e8,_0x3f0432,_0x2fe358)=>{const {type:_0x9b9b13,id:_0x5e2871}=_0x4f3eff[_0x55c9('0x25')](_0x3f0432['markerName']),_0x570b9d=_0x4f3eff[_0x55c9('0x3c')](_0x5e2871);if(!_0x570b9d[_0x55c9('0x44')]||_0x55c9('0x14')!=_0x570b9d['data'][_0x55c9('0x42')])return;if(_0x3f0432[_0x55c9('0xa')])return void _0x5a10e8['stop']();if(!_0x2fe358[_0x55c9('0x38')][_0x55c9('0x46')](_0x3f0432[_0x55c9('0x20')],_0x5a10e8[_0x55c9('0x1c')]))return;const _0x1e1524=_0x3f0432[_0x55c9('0x20')]['start'][_0x55c9('0x2f')],_0x5495aa=_0x3f0432['markerRange'][_0x55c9('0x2')]['nodeBefore'],_0xff9d1=_0x1e1524['parent']['parent'],{column:_0x2ce1e1}=_0x140a6e[_0x55c9('0x3f')](_0x1e1524),{column:_0x30bebb}=_0x140a6e[_0x55c9('0x3f')](_0x5495aa);for(let _0x245c68=_0x2ce1e1;_0x245c68<=_0x30bebb;_0x245c68++){const _0x21db3c=_0x140a6e[_0x55c9('0x3')](_0xff9d1,{'column':_0x245c68,'includeAllSlots':!0x1});for(const _0x1fc0d0 of _0x21db3c){const _0x2bc075=_0x1fc0d0['cell'],_0x72b079=_0x2fe358['mapper'][_0x55c9('0x31')](_0x2bc075);_0x2fe358[_0x55c9('0x19')][_0x55c9('0x24')](_0x55c9('0x2c')+_0x9b9b13,_0x72b079),_0x127145&&_0x2fe358[_0x55c9('0x19')]['setAttribute']('data-suggestion',_0x5e2871,_0x72b079),_0x2fe358[_0x55c9('0x30')][_0x55c9('0x1b')](_0x72b079,_0x3f0432['markerName']),_0xfbcfb3&&(_0x4f3eff['activeMarkers'][_0x55c9('0x43')](_0x3f0432[_0x55c9('0x23')])?_0x2fe358[_0x55c9('0x19')]['addClass'](_0x55c9('0x2a'),_0x72b079):_0x2fe358[_0x55c9('0x19')][_0x55c9('0xe')](_0x55c9('0x2a'),_0x72b079));}}};}_0x4f3eff[_0x55c9('0x33')](_0x55c9('0x17'),(_0x23479d,_0x57d96f)=>{const _0x43f0c5=_0x140a6e[_0x55c9('0xf')](_0x4ce76e[_0x55c9('0x26')][_0x55c9('0x36')][_0x55c9('0x4a')]),_0x412e63=_0x140a6e[_0x55c9('0x2e')](_0x43f0c5),_0x3c2998=_0x43f0c5[0x0]['findAncestor'](_0x55c9('0x49')),_0x3a9d0c=_0x3c2998[_0x55c9('0x13')](_0x55c9('0x47'))||0x0,_0x4b52e7=_0x57d96f&&null!==_0x57d96f[_0x55c9('0x29')]?_0x57d96f[_0x55c9('0x29')]:!_0x4ce76e[_0x55c9('0x1a')][_0x55c9('0x16')]('setTableRowHeader')[_0x55c9('0x11')],_0x29fa81=_0x4b52e7?_0x412e63[_0x55c9('0x4')]:_0x412e63[_0x55c9('0x1e')],_0x119929=_0x3c2998[_0x55c9('0x48')](_0x29fa81);let _0x66f26c;if(_0x4b52e7){const _0x6cd575=_0x3c2998[_0x55c9('0x48')](_0x3a9d0c);if(_0x119929[_0x55c9('0x8')]<_0x6cd575[_0x55c9('0x8')])return;_0x66f26c=_0x4ce76e[_0x55c9('0x26')]['createRange'](_0x4ce76e[_0x55c9('0x26')][_0x55c9('0x4b')](_0x6cd575[_0x55c9('0x48')](0x0)),_0x4ce76e['model'][_0x55c9('0x27')](_0x119929[_0x55c9('0x48')](_0x119929[_0x55c9('0x39')]-0x1)));}else{const _0x29f897=_0x3c2998[_0x55c9('0x48')](_0x3a9d0c-0x1);if(!_0x29f897)return;_0x66f26c=_0x4ce76e['model'][_0x55c9('0xd')](_0x4ce76e['model']['createPositionBefore'](_0x119929[_0x55c9('0x48')](0x0)),_0x4ce76e['model'][_0x55c9('0x27')](_0x29f897[_0x55c9('0x48')](_0x29f897[_0x55c9('0x39')]-0x1)));}_0x4ce76e[_0x55c9('0x26')][_0x55c9('0x37')](()=>{_0x4f3eff[_0x55c9('0x21')](_0x66f26c,{'commandName':_0x55c9('0x17'),'commandParams':[{'forceValue':_0x4b52e7}]},[],_0x55c9('0x17'));});}),_0x4f3eff['enableCommand'](_0x55c9('0x14'),(_0x4e92e1,_0x1c7b22)=>{const _0x3d8c9d=_0x4ce76e[_0x55c9('0x22')][_0x55c9('0x16')](_0x55c9('0x12')),_0x2795c9=_0x3d8c9d[_0x55c9('0xf')](_0x4ce76e['model'][_0x55c9('0x36')]['selection']),_0x17cd7b=_0x3d8c9d[_0x55c9('0x1')](_0x2795c9),_0x56a2dc=_0x2795c9[0x0]['findAncestor'](_0x55c9('0x49')),_0x547a1c=_0x56a2dc[_0x55c9('0x13')](_0x55c9('0x45'))||0x0,_0x45596c=_0x1c7b22&&null!==_0x1c7b22[_0x55c9('0x29')]?_0x1c7b22[_0x55c9('0x29')]:!_0x4ce76e[_0x55c9('0x1a')][_0x55c9('0x16')](_0x55c9('0x14'))[_0x55c9('0x11')];let _0x337dd7;const _0x5219b2=_0x56a2dc['getChild'](0x0),_0x426306=_0x45596c?_0x17cd7b[_0x55c9('0x4')]:_0x17cd7b['first'],_0xd7eb2=_0x3d8c9d[_0x55c9('0x3')](_0x56a2dc,{'startRow':0x0,'column':_0x426306,'includeAllSlots':!0x1}),_0x16dfc6=Array[_0x55c9('0xb')](_0xd7eb2)[0x0][_0x55c9('0x0')];if(_0x45596c){const _0x4df470=_0x5219b2[_0x55c9('0x48')](_0x547a1c);if(_0x16dfc6['isBefore'](_0x4df470))return;_0x337dd7=_0x4ce76e[_0x55c9('0x26')][_0x55c9('0xd')](_0x4ce76e[_0x55c9('0x26')]['createPositionBefore'](_0x4df470),_0x4ce76e[_0x55c9('0x26')][_0x55c9('0x27')](_0x16dfc6));}else{const _0x753024=_0x5219b2[_0x55c9('0x48')](_0x547a1c-0x1);if(!_0x753024)return;_0x337dd7=_0x4ce76e[_0x55c9('0x26')]['createRange'](_0x4ce76e['model'][_0x55c9('0x4b')](_0x16dfc6),_0x4ce76e['model'][_0x55c9('0x27')](_0x753024));}_0x4ce76e[_0x55c9('0x26')][_0x55c9('0x37')](()=>{_0x4f3eff[_0x55c9('0x21')](_0x337dd7,{'commandName':_0x55c9('0x14'),'commandParams':[{'forceValue':_0x45596c}]},[],'setTableColumnHeader');});}),_0x4ce76e[_0x55c9('0x3b')][_0x55c9('0x35')]['on'](_0x55c9('0x5'),_0x3e5948(),{'priority':_0x55c9('0x3e')}),_0x4ce76e['data'][_0x55c9('0x35')]['on'](_0x55c9('0x5'),(_0x4b0188,_0x17665a,_0x225ce7)=>{_0x225ce7[_0x55c9('0x18')]['showSuggestionHighlights']&&_0x3e5948({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4b0188,_0x17665a,_0x225ce7);},{'priority':_0x55c9('0x3e')}),_0x4ce76e[_0x55c9('0x3b')][_0x55c9('0x35')]['on'](_0x55c9('0x1d'),(_0x550df8,_0x1ec9ea,_0x425c6b)=>{const {type:_0x493771,id:_0x34b455}=_0x4f3eff[_0x55c9('0x25')](_0x1ec9ea['markerName']),_0x17f674=_0x4f3eff[_0x55c9('0x3c')](_0x34b455);if(!_0x17f674['data']||_0x55c9('0x14')!=_0x17f674[_0x55c9('0x44')]['commandName'])return;const _0x4e2d70=_0x425c6b[_0x55c9('0x30')][_0x55c9('0x3d')](_0x1ec9ea[_0x55c9('0x23')]);if(_0x4e2d70)for(const _0x46d697 of _0x4e2d70)_0x425c6b[_0x55c9('0x19')][_0x55c9('0xe')](_0x55c9('0x2c')+_0x493771,_0x46d697),_0x425c6b[_0x55c9('0x19')][_0x55c9('0xe')](_0x55c9('0x2a'),_0x46d697),_0x425c6b['writer'][_0x55c9('0x3a')]('data-suggestion',_0x46d697),_0x425c6b[_0x55c9('0x30')][_0x55c9('0x10')](_0x46d697,_0x1ec9ea[_0x55c9('0x23')]);},{'priority':_0x55c9('0x3e')}),_0x4f3eff['_descriptionFactory'][_0x55c9('0x28')](_0x38248c=>{const {data:_0x4c97b2}=_0x38248c;if(_0x4c97b2){if('setTableRowHeader'==_0x4c97b2[_0x55c9('0x42')]){const _0x442bcf=_0x4c97b2['commandParams'][0x0][_0x55c9('0x29')];return _0x3b9e95(_0xc3dcae(_0x2011a6,_0x442bcf?'FORMAT_HEADER_ROW':_0x55c9('0x2b')));}if(_0x55c9('0x14')==_0x4c97b2[_0x55c9('0x42')]){const _0x27d381=_0x4c97b2['commandParams'][0x0]['forceValue'];return _0x3b9e95(_0xc3dcae(_0x2011a6,_0x27d381?_0x55c9('0x7'):'FORMAT_REGULAR_COLUMN'));}}function _0x3b9e95(_0x4972ad){return{'type':_0x55c9('0x32'),'content':_0xc3dcae(_0x2011a6,'*Format:*\x20%0',_0x4972ad)};}});const _0x2b55b6=_0x56053a['_acceptFormatSuggestionCallbackFactory']();_0x4f3eff[_0x55c9('0x34')][_0x55c9('0x6')](_0x55c9('0x1f'),'setTableRowHeader',_0x55c9('0x2d'),_0x2b55b6),_0x4f3eff[_0x55c9('0x34')]['registerCustomCallback']('formatBlock',_0x55c9('0x14'),'accept',_0x2b55b6);}}
23
+ const _0x5d2a=['createPositionBefore','*Format:*\x20%0','removeMarker:suggestion','getChild','_acceptFormatSuggestionCallbackFactory','editor','setTableRowHeader','markerRange','locale','createTableWalker','activeMarkers','consumable','table','parent','formatBlock','editing','commands','FORMAT_HEADER_ROW','removeClass','end','stop','downcastDispatcher','accept','createPositionAfter','writer','selection','TableUtils','data','setTableColumnHeader','unbindElementFromMarkerName','FORMAT_HEADER_COLUMN','cell','createRange','registerCustomCallback','TableEditing','forceValue','getAttribute','ck-suggestion-marker--active','includes','document','get','commandParams','getRowIndexes','markBlockFormat','addClass','showSuggestionHighlights','data-suggestion','TrackChangesEditing','change','model','toViewElement','start','headingRows','childCount','markerNameToElements','mapper','getSelectionAffectedTableCells','enableCommand','options','requires','value','_splitMarkerName','findAncestor','commandName','registerDescriptionCallback','bindElementToMarker','_descriptionFactory','first','format','setAttribute','markerName','addMarker:suggestion','highest','getColumnIndexes','last','ck-suggestion-marker-','isBefore','getSuggestion','nodeAfter','plugins','_suggestionFactory','headingColumns','FORMAT_REGULAR_ROW','index','getCellLocation','item','from'];(function(_0x530356,_0x5d2ace){const _0x2a9970=function(_0x37c897){while(--_0x37c897){_0x530356['push'](_0x530356['shift']());}};_0x2a9970(++_0x5d2ace);}(_0x5d2a,0x1c1));const _0x2a99=function(_0x530356,_0x5d2ace){_0x530356=_0x530356-0x0;let _0x2a9970=_0x5d2a[_0x530356];return _0x2a9970;};import{Plugin as _0x286842}from'ckeditor5/src/core';import _0x7357ae from'./table';import{getTranslation as _0xa730be}from'../utils/common-translations';export default class pt extends _0x286842{static get[_0x2a99('0x2d')](){return[_0x7357ae];}['afterInit'](){const _0xb569ba=this[_0x2a99('0x4e')];if(!_0xb569ba[_0x2a99('0x41')]['has'](_0x2a99('0x14')))return;const _0x36f9ed=_0xb569ba[_0x2a99('0x51')],_0x49ef2f=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')](_0x2a99('0x21')),_0x55ddff=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')]('TableUtils'),_0x401555=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')](_0x7357ae);function _0x342d38({showActiveMarker:_0x16cc2c=!0x0,setDataAttribute:_0x261828=!0x0}={}){return(_0x3c0b91,_0x251660,_0x1fe2e4)=>{const {type:_0x3aa8b9,id:_0x4406a8}=_0x49ef2f[_0x2a99('0x2f')](_0x251660[_0x2a99('0x38')]),_0x22797c=_0x49ef2f[_0x2a99('0x3f')](_0x4406a8);if(!_0x22797c['data']||_0x2a99('0xe')!=_0x22797c[_0x2a99('0xd')][_0x2a99('0x31')])return;if(_0x251660[_0x2a99('0x47')])return void _0x3c0b91[_0x2a99('0x6')]();if(!_0x1fe2e4[_0x2a99('0x54')]['consume'](_0x251660['markerRange'],_0x3c0b91['name']))return;const _0x169359=_0x251660[_0x2a99('0x50')][_0x2a99('0x25')][_0x2a99('0x40')],_0xe41956=_0x251660[_0x2a99('0x50')][_0x2a99('0x5')]['nodeBefore'],_0x593080=_0x169359[_0x2a99('0x56')][_0x2a99('0x56')],{column:_0x4c7556}=_0x55ddff[_0x2a99('0x46')](_0x169359),{column:_0x174b6a}=_0x55ddff[_0x2a99('0x46')](_0xe41956);for(let _0x232417=_0x4c7556;_0x232417<=_0x174b6a;_0x232417++){const _0x8d9931=_0x55ddff[_0x2a99('0x52')](_0x593080,{'column':_0x232417,'includeAllSlots':!0x1});for(const _0x15c02c of _0x8d9931){const _0x4da92a=_0x15c02c['cell'],_0x5ee208=_0x1fe2e4[_0x2a99('0x29')][_0x2a99('0x24')](_0x4da92a);_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x1e')]('ck-suggestion-marker-'+_0x3aa8b9,_0x5ee208),_0x261828&&_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x37')](_0x2a99('0x20'),_0x4406a8,_0x5ee208),_0x1fe2e4[_0x2a99('0x29')][_0x2a99('0x33')](_0x5ee208,_0x251660[_0x2a99('0x38')]),_0x16cc2c&&(_0x49ef2f[_0x2a99('0x53')][_0x2a99('0x18')](_0x251660[_0x2a99('0x38')])?_0x1fe2e4['writer'][_0x2a99('0x1e')](_0x2a99('0x17'),_0x5ee208):_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x17'),_0x5ee208));}}};}_0x49ef2f[_0x2a99('0x2b')]('setTableRowHeader',(_0x66c54c,_0x2854c3)=>{const _0x1065d9=_0x55ddff[_0x2a99('0x2a')](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x19')]['selection']),_0x4655a2=_0x55ddff[_0x2a99('0x1c')](_0x1065d9),_0x415fcb=_0x1065d9[0x0][_0x2a99('0x30')](_0x2a99('0x55')),_0x32671f=_0x415fcb[_0x2a99('0x16')](_0x2a99('0x26'))||0x0,_0x185435=_0x2854c3&&null!==_0x2854c3[_0x2a99('0x15')]?_0x2854c3['forceValue']:!_0xb569ba[_0x2a99('0x2')]['get'](_0x2a99('0x4f'))['value'],_0x4cb389=_0x185435?_0x4655a2[_0x2a99('0x3c')]:_0x4655a2[_0x2a99('0x35')],_0x10089b=_0x415fcb[_0x2a99('0x4c')](_0x4cb389);let _0x571389;if(_0x185435){const _0x40d5ee=_0x415fcb[_0x2a99('0x4c')](_0x32671f);if(_0x10089b[_0x2a99('0x45')]<_0x40d5ee[_0x2a99('0x45')])return;_0x571389=_0xb569ba['model']['createRange'](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x49')](_0x40d5ee[_0x2a99('0x4c')](0x0)),_0xb569ba[_0x2a99('0x23')]['createPositionAfter'](_0x10089b[_0x2a99('0x4c')](_0x10089b['childCount']-0x1)));}else{const _0x56becd=_0x415fcb[_0x2a99('0x4c')](_0x32671f-0x1);if(!_0x56becd)return;_0x571389=_0xb569ba['model'][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x10089b[_0x2a99('0x4c')](0x0)),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0x56becd['getChild'](_0x56becd[_0x2a99('0x27')]-0x1)));}_0xb569ba[_0x2a99('0x23')]['change'](()=>{_0x49ef2f[_0x2a99('0x1d')](_0x571389,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x185435}]},[],'setTableRowHeader');});}),_0x49ef2f[_0x2a99('0x2b')](_0x2a99('0xe'),(_0x3bfcee,_0x106728)=>{const _0xa2dc5a=_0xb569ba[_0x2a99('0x41')]['get'](_0x2a99('0xc')),_0x42d42d=_0xa2dc5a[_0x2a99('0x2a')](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x19')][_0x2a99('0xb')]),_0x46be64=_0xa2dc5a[_0x2a99('0x3b')](_0x42d42d),_0x30bc8c=_0x42d42d[0x0][_0x2a99('0x30')](_0x2a99('0x55')),_0x3ec483=_0x30bc8c[_0x2a99('0x16')](_0x2a99('0x43'))||0x0,_0x1c7f70=_0x106728&&null!==_0x106728[_0x2a99('0x15')]?_0x106728[_0x2a99('0x15')]:!_0xb569ba[_0x2a99('0x2')][_0x2a99('0x1a')](_0x2a99('0xe'))[_0x2a99('0x2e')];let _0x2a2832;const _0x3a34e3=_0x30bc8c[_0x2a99('0x4c')](0x0),_0x20b50b=_0x1c7f70?_0x46be64[_0x2a99('0x3c')]:_0x46be64[_0x2a99('0x35')],_0x557130=_0xa2dc5a['createTableWalker'](_0x30bc8c,{'startRow':0x0,'column':_0x20b50b,'includeAllSlots':!0x1}),_0x26f9ea=Array[_0x2a99('0x48')](_0x557130)[0x0][_0x2a99('0x11')];if(_0x1c7f70){const _0x363ac5=_0x3a34e3[_0x2a99('0x4c')](_0x3ec483);if(_0x26f9ea[_0x2a99('0x3e')](_0x363ac5))return;_0x2a2832=_0xb569ba[_0x2a99('0x23')][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x363ac5),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0x26f9ea));}else{const _0xd01433=_0x3a34e3['getChild'](_0x3ec483-0x1);if(!_0xd01433)return;_0x2a2832=_0xb569ba[_0x2a99('0x23')][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x26f9ea),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0xd01433));}_0xb569ba[_0x2a99('0x23')][_0x2a99('0x22')](()=>{_0x49ef2f['markBlockFormat'](_0x2a2832,{'commandName':_0x2a99('0xe'),'commandParams':[{'forceValue':_0x1c7f70}]},[],_0x2a99('0xe'));});}),_0xb569ba[_0x2a99('0x1')]['downcastDispatcher']['on'](_0x2a99('0x39'),_0x342d38(),{'priority':_0x2a99('0x3a')}),_0xb569ba['data'][_0x2a99('0x7')]['on'](_0x2a99('0x39'),(_0x47abf8,_0x5b7a47,_0x3c1225)=>{_0x3c1225[_0x2a99('0x2c')][_0x2a99('0x1f')]&&_0x342d38({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x47abf8,_0x5b7a47,_0x3c1225);},{'priority':_0x2a99('0x3a')}),_0xb569ba['editing'][_0x2a99('0x7')]['on'](_0x2a99('0x4b'),(_0x50e825,_0x3fac84,_0x249867)=>{const {type:_0x4ce40c,id:_0x3c350d}=_0x49ef2f[_0x2a99('0x2f')](_0x3fac84[_0x2a99('0x38')]),_0x6db37a=_0x49ef2f[_0x2a99('0x3f')](_0x3c350d);if(!_0x6db37a[_0x2a99('0xd')]||_0x2a99('0xe')!=_0x6db37a[_0x2a99('0xd')][_0x2a99('0x31')])return;const _0x213c32=_0x249867[_0x2a99('0x29')][_0x2a99('0x28')](_0x3fac84[_0x2a99('0x38')]);if(_0x213c32)for(const _0x3f9d3f of _0x213c32)_0x249867[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x3d')+_0x4ce40c,_0x3f9d3f),_0x249867[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x17'),_0x3f9d3f),_0x249867[_0x2a99('0xa')]['removeAttribute']('data-suggestion',_0x3f9d3f),_0x249867[_0x2a99('0x29')][_0x2a99('0xf')](_0x3f9d3f,_0x3fac84['markerName']);},{'priority':'highest'}),_0x49ef2f[_0x2a99('0x34')][_0x2a99('0x32')](_0x3b130d=>{const {data:_0x6e00d7}=_0x3b130d;if(_0x6e00d7){if(_0x2a99('0x4f')==_0x6e00d7['commandName']){const _0x2411d3=_0x6e00d7['commandParams'][0x0]['forceValue'];return _0x45fcd2(_0xa730be(_0x36f9ed,_0x2411d3?_0x2a99('0x3'):_0x2a99('0x44')));}if('setTableColumnHeader'==_0x6e00d7[_0x2a99('0x31')]){const _0x1e49f5=_0x6e00d7[_0x2a99('0x1b')][0x0]['forceValue'];return _0x45fcd2(_0xa730be(_0x36f9ed,_0x1e49f5?_0x2a99('0x10'):'FORMAT_REGULAR_COLUMN'));}}function _0x45fcd2(_0x23a1b5){return{'type':_0x2a99('0x36'),'content':_0xa730be(_0x36f9ed,_0x2a99('0x4a'),_0x23a1b5)};}});const _0x5f2db7=_0x401555[_0x2a99('0x4d')]();_0x49ef2f[_0x2a99('0x42')][_0x2a99('0x13')](_0x2a99('0x0'),_0x2a99('0x4f'),_0x2a99('0x8'),_0x5f2db7),_0x49ef2f['_suggestionFactory'][_0x2a99('0x13')](_0x2a99('0x0'),_0x2a99('0xe'),'accept',_0x5f2db7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fd0=['subType','formatBlock','_suggestionFactory','createTableWalker','table','containsRange','mergeTableCellDown','splitTableCellVertically','mergeTableCellUp','execute','mergeTableCellLeft','_isForcedDefaultExecutionBlock','map','size','TableEditing','return','$graveyard','markBlockFormat','commandName','commands','*Split\x20cell:*\x20vertically','mergeTableCellRight','enableCommand','cell','createRangeOn','setSelection','set:isEnabled','add','getCellLocation','direction','value','change','registerDescriptionCallback','type','selection','_acceptFormatSuggestionCallbackFactory','deletion','document','mergeTableCells','_areMergableCells','model','from','getFirstPosition','tableCell','TableUtils','splitTableCellHorizontally','getAncestors','TrackChangesEditing','highest','filter','getSelectionAffectedTableCells','afterInit','fromRange','_areSelectedCellsMergable','accept','author','_tablePostFixingSubtypes','isEnabled','find','get','plugins','stop','_descriptionFactory','detach','findAncestor','registerCustomCallback','length','markMultiRangeBlockFormat','refresh','insertion','push','root','format','editor','element','has'];(function(_0x42a6d6,_0x3fd0b7){const _0xe21e4b=function(_0x59de59){while(--_0x59de59){_0x42a6d6['push'](_0x42a6d6['shift']());}};_0xe21e4b(++_0x3fd0b7);}(_0x3fd0,0x17c));const _0xe21e=function(_0x42a6d6,_0x3fd0b7){_0x42a6d6=_0x42a6d6-0x0;let _0xe21e4b=_0x3fd0[_0x42a6d6];return _0xe21e4b;};import{Plugin as _0xa47439}from'ckeditor5/src/core';import _0x5698d3 from'./table';import{LiveRange as _0x39b6e9}from'ckeditor5/src/engine';import{getTranslation as _0x12e27a}from'../utils/common-translations';export default class dt extends _0xa47439{static get['requires'](){return[_0x5698d3];}[_0xe21e('0x33')](){const _0xda278=this[_0xe21e('0x49')],_0x3a7cb9=_0xda278[_0xe21e('0x28')][_0xe21e('0x25')][_0xe21e('0x22')],_0x17589e=_0xda278['locale'];if(!_0xda278[_0xe21e('0x3c')]['has'](_0xe21e('0xe')))return;const _0xcc6dcb=_0xda278[_0xe21e('0x3c')][_0xe21e('0x3b')](_0xe21e('0x2f')),_0x20c7c4=_0xda278[_0xe21e('0x3c')][_0xe21e('0x3b')](_0xe21e('0x2c')),_0x422595=_0xda278[_0xe21e('0x3c')][_0xe21e('0x3b')](_0x5698d3);_0x422595[_0xe21e('0x38')][_0xe21e('0x46')]('mergeTableCells'),_0xcc6dcb[_0xe21e('0x16')](_0xe21e('0x26'),()=>{const _0x163c8c=_0x20c7c4['getSelectionAffectedTableCells'](_0xda278[_0xe21e('0x28')][_0xe21e('0x25')][_0xe21e('0x22')]);_0xda278[_0xe21e('0x28')][_0xe21e('0x1f')](()=>{_0xcc6dcb['markMultiRangeBlockFormat'](_0x163c8c,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0xda278['commands'][_0xe21e('0x3b')](_0xe21e('0x26'))['on'](_0xe21e('0x9'),(_0x1c5b59,_0x14aa19)=>{_0xda278[_0xe21e('0x13')][_0xe21e('0x3b')]('trackChanges')[_0xe21e('0x1e')]&&(_0x14aa19['length']>0x0&&_0x14aa19[_0x14aa19[_0xe21e('0x42')]-0x1]&&_0x14aa19[_0x14aa19[_0xe21e('0x42')]-0x1]['forceDefaultExecution']||_0xcc6dcb[_0xe21e('0xb')]||this[_0xe21e('0x35')]()||_0x1c5b59[_0xe21e('0x3d')]());},{'priority':_0xe21e('0x30')});for(const _0x28b848 of[_0xe21e('0x8'),'mergeTableCellRight',_0xe21e('0x6'),'mergeTableCellLeft']){const _0xc1552b=_0xda278[_0xe21e('0x13')]['get'](_0x28b848);_0xcc6dcb[_0xe21e('0x16')](_0x28b848,()=>{const _0x1cbf59=_0xda278[_0xe21e('0x28')]['document']['selection'][_0xe21e('0x2a')]()[_0xe21e('0x2e')]()[_0xe21e('0x3a')](_0x535a59=>_0x535a59['is'](_0xe21e('0x4a'),_0xe21e('0x2b'))),_0xa4a7f2=_0xc1552b[_0xe21e('0x1e')];_0xda278[_0xe21e('0x28')][_0xe21e('0x1f')](()=>{_0xcc6dcb[_0xe21e('0x43')]([_0x1cbf59,_0xa4a7f2],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x455cf3 of[_0xe21e('0x7'),_0xe21e('0x2d')]){const _0x2f2ca6=_0xda278[_0xe21e('0x13')]['get'](_0x455cf3);_0xcc6dcb[_0xe21e('0x16')](_0x455cf3,()=>{const _0x508633=_0x20c7c4['getSelectionAffectedTableCells'](_0xda278['model'][_0xe21e('0x25')][_0xe21e('0x22')])[0x0],_0x5343e4=_0x508633[_0xe21e('0x40')](_0xe21e('0x4')),{column:_0x2b6c8d,row:_0xc2e524}=_0x20c7c4[_0xe21e('0x1c')](_0x508633);let _0x597fe1=[];if('horizontally'==_0x2f2ca6[_0xe21e('0x1d')]){const _0x474cfc=_0x20c7c4['createTableWalker'](_0x5343e4,{'startRow':_0xc2e524,'endRow':_0xc2e524,'includeAllSlots':!0x0});_0x597fe1=Array[_0xe21e('0x29')](_0x474cfc)[_0xe21e('0xc')](_0x45173f=>_0x45173f[_0xe21e('0x17')]);}else{const _0x11c7af=_0x20c7c4[_0xe21e('0x3')](_0x5343e4,{'column':_0x2b6c8d,'includeAllSlots':!0x0});_0x597fe1=Array[_0xe21e('0x29')](_0x11c7af)[_0xe21e('0xc')](_0x4bed0d=>_0x4bed0d[_0xe21e('0x17')]);}_0xda278[_0xe21e('0x28')]['change'](_0x2fe4b5=>{_0xcc6dcb[_0xe21e('0x11')](_0x2fe4b5[_0xe21e('0x18')](_0x508633),{'commandName':_0x455cf3,'commandParams':[]},_0x597fe1,_0x455cf3);});});}_0xcc6dcb[_0xe21e('0x3e')][_0xe21e('0x20')](_0x1eae22=>{const {data:_0x37683e}=_0x1eae22;if(_0x37683e)return'mergeTableCells'==_0x37683e['commandName']?{'type':'format','content':_0x12e27a(_0x17589e,'*Merge\x20cells*')}:void 0x0;}),_0xcc6dcb[_0xe21e('0x3e')][_0xe21e('0x20')](_0x199462=>{const {data:_0x4bd769}=_0x199462;if(_0x4bd769)return _0xe21e('0x7')==_0x4bd769['commandName']?{'type':'format','content':_0x12e27a(_0x17589e,_0xe21e('0x14'))}:_0xe21e('0x2d')==_0x4bd769[_0xe21e('0x12')]?{'type':_0xe21e('0x48'),'content':_0x12e27a(_0x17589e,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x53ced9=_0x422595[_0xe21e('0x23')]();for(const _0x58102b of['mergeTableCellUp','mergeTableCellRight',_0xe21e('0x6'),_0xe21e('0xa')])_0xcc6dcb[_0xe21e('0x2')][_0xe21e('0x41')](_0xe21e('0x1'),_0x58102b,_0xe21e('0x36'),_0x53ced9);for(const _0x15f4be of[_0xe21e('0x7'),_0xe21e('0x2d')])_0xcc6dcb['_suggestionFactory'][_0xe21e('0x41')](_0xe21e('0x1'),_0x15f4be,'accept',_0x53ced9);_0xcc6dcb[_0xe21e('0x2')][_0xe21e('0x41')](_0xe21e('0x1'),_0xe21e('0x26'),_0xe21e('0x36'),_0x4be2c2=>{_0xda278[_0xe21e('0x28')][_0xe21e('0x1f')](_0x51fcdf=>{const _0x404ab4=Array['from'](_0x3a7cb9['getRanges']())[_0xe21e('0xc')](_0x30e396=>_0x39b6e9[_0xe21e('0x34')](_0x30e396));_0x51fcdf[_0xe21e('0x19')](_0x4be2c2),_0xda278[_0xe21e('0x13')][_0xe21e('0x3b')](_0xe21e('0x26'))[_0xe21e('0x44')](),_0xda278[_0xe21e('0x9')](_0xe21e('0x26'),{'forceDefaultExecution':!0x0});const _0xacef4=_0x404ab4[_0xe21e('0x31')](_0x59fcc0=>_0xe21e('0x10')!=_0x59fcc0[_0xe21e('0x47')]['rootName']);_0xacef4['length']>0x0&&_0x51fcdf[_0xe21e('0x19')](_0xacef4);for(const _0x591d0e of _0x404ab4)_0x591d0e[_0xe21e('0x3f')]();});});for(const _0x168535 of['mergeTableCellUp',_0xe21e('0x6'),_0xe21e('0xa'),_0xe21e('0x15')]){const _0x57b5d2=_0xda278[_0xe21e('0x13')][_0xe21e('0x3b')](_0x168535);_0x57b5d2['on'](_0xe21e('0x1a'),(_0x22a248,_0x4dfaa7,_0x36e9f2)=>{if(_0x36e9f2){const _0x45a7c5=_0xda278['model'][_0xe21e('0x25')][_0xe21e('0x22')][_0xe21e('0x2a')]()[_0xe21e('0x2e')]()[_0xe21e('0x3a')](_0x1096e3=>_0x1096e3['is']('element',_0xe21e('0x2b')));this[_0xe21e('0x27')](_0x57b5d2[_0xe21e('0x1e')],_0x45a7c5)||(_0x22a248[_0xe21e('0xf')]=!0x1,_0x22a248[_0xe21e('0x3d')]());}},{'priority':'low'});}}[_0xe21e('0x35')](){const _0x37f9a9=this[_0xe21e('0x49')][_0xe21e('0x13')][_0xe21e('0x3b')](_0xe21e('0x26')),_0x517d90=this['editor'][_0xe21e('0x3c')][_0xe21e('0x3b')]('TableUtils');if(!_0x37f9a9[_0xe21e('0x39')])return!0x1;const _0xd4a3b2=_0x517d90[_0xe21e('0x32')](this[_0xe21e('0x49')]['model']['document'][_0xe21e('0x22')]);for(const _0xd81fc3 of _0xd4a3b2)for(const _0x1e0ba9 of _0xd4a3b2)if(_0xd81fc3!=_0x1e0ba9&&!this[_0xe21e('0x27')](_0xd81fc3,_0x1e0ba9))return!0x1;return!0x0;}['_areMergableCells'](_0x1516fd,_0x51e3da){const _0xbf48bc=this['editor']['plugins']['get'](_0xe21e('0x2f')),_0x284e8e=this['editor'][_0xe21e('0x28')][_0xe21e('0x18')](_0x1516fd),_0x50f6ac=this['editor'][_0xe21e('0x28')]['createRangeOn'](_0x51e3da),_0x20a73a=new Set(),_0x4379fe=new Set();for(const _0x2363f0 of _0xbf48bc['getSuggestions']())if((_0xe21e('0x45')==_0x2363f0[_0xe21e('0x21')]||_0xe21e('0x24')==_0x2363f0[_0xe21e('0x21')]||_0xe21e('0x26')==_0x2363f0[_0xe21e('0x0')])&&_0x2363f0['isInContent'])for(const _0x84ff22 of _0x2363f0['getRanges']())_0x84ff22['containsRange'](_0x284e8e,!0x0)&&_0x20a73a[_0xe21e('0x1b')](_0x2363f0['type']+':'+_0x2363f0[_0xe21e('0x37')]['id']),_0x84ff22[_0xe21e('0x5')](_0x50f6ac,!0x0)&&_0x4379fe[_0xe21e('0x1b')](_0x2363f0['type']+':'+_0x2363f0[_0xe21e('0x37')]['id']);if(_0x20a73a['size']!=_0x4379fe[_0xe21e('0xd')])return!0x1;for(const _0x1006c0 of _0x20a73a)if(!_0x4379fe[_0xe21e('0x4b')](_0x1006c0))return!0x1;return!0x0;}}
23
+ const _0x2952=['stop','_areSelectedCellsMergable','_descriptionFactory','TrackChangesEditing','from','registerDescriptionCallback','mergeTableCellLeft','direction','change','tableCell','plugins','length','isEnabled','markMultiRangeBlockFormat','get','element','find','deletion','*Split\x20cell:*\x20vertically','mergeTableCells','getRanges','map','selection','afterInit','_areMergableCells','fromRange','model','commandName','_isForcedDefaultExecutionBlock','registerCustomCallback','rootName','enableCommand','author','getFirstPosition','refresh','mergeTableCellUp','insertion','subType','getSelectionAffectedTableCells','size','mergeTableCellRight','getSuggestions','editor','value','has','document','splitTableCellVertically','splitTableCellHorizontally','getCellLocation','markBlockFormat','createTableWalker','*Merge\x20cells*','cell','type','$graveyard','add','table','containsRange','TableEditing','push','detach','commands','set:isEnabled','mergeTableCellDown','createRangeOn','accept','format','low','TableUtils','setSelection','_tablePostFixingSubtypes','formatBlock','forceDefaultExecution','execute','_suggestionFactory','trackChanges','highest'];(function(_0x11b85b,_0x2952e9){const _0x1f9a7e=function(_0x393ba2){while(--_0x393ba2){_0x11b85b['push'](_0x11b85b['shift']());}};_0x1f9a7e(++_0x2952e9);}(_0x2952,0xae));const _0x1f9a=function(_0x11b85b,_0x2952e9){_0x11b85b=_0x11b85b-0x0;let _0x1f9a7e=_0x2952[_0x11b85b];return _0x1f9a7e;};import{Plugin as _0x20a908}from'ckeditor5/src/core';import _0x4c485b from'./table';import{LiveRange as _0x4886ef}from'ckeditor5/src/engine';import{getTranslation as _0x1bb42b}from'../utils/common-translations';export default class dt extends _0x20a908{static get['requires'](){return[_0x4c485b];}[_0x1f9a('0x3')](){const _0x5bfd0b=this[_0x1f9a('0x16')],_0x25b128=_0x5bfd0b['model'][_0x1f9a('0x19')]['selection'],_0x4688b3=_0x5bfd0b['locale'];if(!_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x18')](_0x1f9a('0x26')))return;const _0x2cf435=_0x5bfd0b['plugins'][_0x1f9a('0x47')](_0x1f9a('0x3c')),_0x1b94ba=_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x47')](_0x1f9a('0x30')),_0x1b978d=_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x47')](_0x4c485b);_0x1b978d[_0x1f9a('0x32')][_0x1f9a('0x27')](_0x1f9a('0x4c')),_0x2cf435[_0x1f9a('0xb')]('mergeTableCells',()=>{const _0x1a3d5f=_0x1b94ba[_0x1f9a('0x12')](_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')]);_0x5bfd0b['model']['change'](()=>{_0x2cf435['markMultiRangeBlockFormat'](_0x1a3d5f,{'commandName':'mergeTableCells','commandParams':[]},[],_0x1f9a('0x4c'));});}),_0x5bfd0b[_0x1f9a('0x29')]['get'](_0x1f9a('0x4c'))['on'](_0x1f9a('0x35'),(_0x56ec04,_0x37faef)=>{_0x5bfd0b['commands'][_0x1f9a('0x47')](_0x1f9a('0x37'))[_0x1f9a('0x17')]&&(_0x37faef[_0x1f9a('0x44')]>0x0&&_0x37faef[_0x37faef['length']-0x1]&&_0x37faef[_0x37faef['length']-0x1][_0x1f9a('0x34')]||_0x2cf435[_0x1f9a('0x8')]||this[_0x1f9a('0x3a')]()||_0x56ec04[_0x1f9a('0x39')]());},{'priority':_0x1f9a('0x38')});for(const _0x2fe3e4 of[_0x1f9a('0xf'),_0x1f9a('0x14'),_0x1f9a('0x2b'),_0x1f9a('0x3f')]){const _0x1de26d=_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x2fe3e4);_0x2cf435['enableCommand'](_0x2fe3e4,()=>{const _0x2a48de=_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')][_0x1f9a('0xd')]()['getAncestors']()[_0x1f9a('0x49')](_0x4570a9=>_0x4570a9['is'](_0x1f9a('0x48'),_0x1f9a('0x42'))),_0x5f576b=_0x1de26d[_0x1f9a('0x17')];_0x5bfd0b[_0x1f9a('0x6')]['change'](()=>{_0x2cf435[_0x1f9a('0x46')]([_0x2a48de,_0x5f576b],{'commandName':_0x1f9a('0x4c'),'commandParams':[]},[],_0x1f9a('0x4c'));});});}for(const _0x58a641 of[_0x1f9a('0x1a'),'splitTableCellHorizontally']){const _0x55016a=_0x5bfd0b[_0x1f9a('0x29')]['get'](_0x58a641);_0x2cf435['enableCommand'](_0x58a641,()=>{const _0x518d93=_0x1b94ba[_0x1f9a('0x12')](_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')])[0x0],_0x500b94=_0x518d93['findAncestor'](_0x1f9a('0x24')),{column:_0x13d207,row:_0x1f770b}=_0x1b94ba[_0x1f9a('0x1c')](_0x518d93);let _0x1e1189=[];if('horizontally'==_0x55016a[_0x1f9a('0x40')]){const _0x340701=_0x1b94ba[_0x1f9a('0x1e')](_0x500b94,{'startRow':_0x1f770b,'endRow':_0x1f770b,'includeAllSlots':!0x0});_0x1e1189=Array[_0x1f9a('0x3d')](_0x340701)['map'](_0x4336ac=>_0x4336ac[_0x1f9a('0x20')]);}else{const _0x3cffff=_0x1b94ba[_0x1f9a('0x1e')](_0x500b94,{'column':_0x13d207,'includeAllSlots':!0x0});_0x1e1189=Array[_0x1f9a('0x3d')](_0x3cffff)['map'](_0x2f6319=>_0x2f6319[_0x1f9a('0x20')]);}_0x5bfd0b[_0x1f9a('0x6')]['change'](_0x19c05a=>{_0x2cf435[_0x1f9a('0x1d')](_0x19c05a['createRangeOn'](_0x518d93),{'commandName':_0x58a641,'commandParams':[]},_0x1e1189,_0x58a641);});});}_0x2cf435[_0x1f9a('0x3b')]['registerDescriptionCallback'](_0x38dd08=>{const {data:_0x4e2f8a}=_0x38dd08;if(_0x4e2f8a)return _0x1f9a('0x4c')==_0x4e2f8a['commandName']?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,_0x1f9a('0x1f'))}:void 0x0;}),_0x2cf435[_0x1f9a('0x3b')][_0x1f9a('0x3e')](_0x246a2b=>{const {data:_0x14c48c}=_0x246a2b;if(_0x14c48c)return _0x1f9a('0x1a')==_0x14c48c[_0x1f9a('0x7')]?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,_0x1f9a('0x4b'))}:_0x1f9a('0x1b')==_0x14c48c[_0x1f9a('0x7')]?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x1710b2=_0x1b978d['_acceptFormatSuggestionCallbackFactory']();for(const _0x555db0 of['mergeTableCellUp','mergeTableCellRight',_0x1f9a('0x2b'),_0x1f9a('0x3f')])_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0x555db0,'accept',_0x1710b2);for(const _0xfdbaf0 of['splitTableCellVertically',_0x1f9a('0x1b')])_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0xfdbaf0,_0x1f9a('0x2d'),_0x1710b2);_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0x1f9a('0x4c'),_0x1f9a('0x2d'),_0x5e4e6c=>{_0x5bfd0b['model'][_0x1f9a('0x41')](_0x4fd50d=>{const _0x11018f=Array[_0x1f9a('0x3d')](_0x25b128[_0x1f9a('0x0')]())[_0x1f9a('0x1')](_0x18d8bc=>_0x4886ef[_0x1f9a('0x5')](_0x18d8bc));_0x4fd50d[_0x1f9a('0x31')](_0x5e4e6c),_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1f9a('0x4c'))[_0x1f9a('0xe')](),_0x5bfd0b[_0x1f9a('0x35')](_0x1f9a('0x4c'),{'forceDefaultExecution':!0x0});const _0x2cf4f7=_0x11018f['filter'](_0x1e9f4e=>_0x1f9a('0x22')!=_0x1e9f4e['root'][_0x1f9a('0xa')]);_0x2cf4f7[_0x1f9a('0x44')]>0x0&&_0x4fd50d[_0x1f9a('0x31')](_0x2cf4f7);for(const _0x2e9a15 of _0x11018f)_0x2e9a15[_0x1f9a('0x28')]();});});for(const _0x1aca9b of[_0x1f9a('0xf'),_0x1f9a('0x2b'),_0x1f9a('0x3f'),_0x1f9a('0x14')]){const _0x31d631=_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1aca9b);_0x31d631['on'](_0x1f9a('0x2a'),(_0x38918b,_0x38fed3,_0x17d5e1)=>{if(_0x17d5e1){const _0x420a22=_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')][_0x1f9a('0xd')]()['getAncestors']()[_0x1f9a('0x49')](_0x1c4ba6=>_0x1c4ba6['is']('element',_0x1f9a('0x42')));this[_0x1f9a('0x4')](_0x31d631[_0x1f9a('0x17')],_0x420a22)||(_0x38918b['return']=!0x1,_0x38918b[_0x1f9a('0x39')]());}},{'priority':_0x1f9a('0x2f')});}}['_areSelectedCellsMergable'](){const _0x513da0=this[_0x1f9a('0x16')][_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1f9a('0x4c')),_0x326e2b=this[_0x1f9a('0x16')][_0x1f9a('0x43')][_0x1f9a('0x47')]('TableUtils');if(!_0x513da0[_0x1f9a('0x45')])return!0x1;const _0x191d67=_0x326e2b['getSelectionAffectedTableCells'](this[_0x1f9a('0x16')]['model']['document'][_0x1f9a('0x2')]);for(const _0x13c468 of _0x191d67)for(const _0x2bb7c1 of _0x191d67)if(_0x13c468!=_0x2bb7c1&&!this[_0x1f9a('0x4')](_0x13c468,_0x2bb7c1))return!0x1;return!0x0;}['_areMergableCells'](_0x39d812,_0x5e12d6){const _0x482c9c=this[_0x1f9a('0x16')][_0x1f9a('0x43')][_0x1f9a('0x47')](_0x1f9a('0x3c')),_0x41fc03=this[_0x1f9a('0x16')][_0x1f9a('0x6')][_0x1f9a('0x2c')](_0x39d812),_0x5f43e0=this['editor'][_0x1f9a('0x6')][_0x1f9a('0x2c')](_0x5e12d6),_0x3f8d2b=new Set(),_0x38b359=new Set();for(const _0x4b2357 of _0x482c9c[_0x1f9a('0x15')]())if((_0x1f9a('0x10')==_0x4b2357[_0x1f9a('0x21')]||_0x1f9a('0x4a')==_0x4b2357[_0x1f9a('0x21')]||_0x1f9a('0x4c')==_0x4b2357[_0x1f9a('0x11')])&&_0x4b2357['isInContent'])for(const _0x2bb60d of _0x4b2357[_0x1f9a('0x0')]())_0x2bb60d['containsRange'](_0x41fc03,!0x0)&&_0x3f8d2b[_0x1f9a('0x23')](_0x4b2357[_0x1f9a('0x21')]+':'+_0x4b2357[_0x1f9a('0xc')]['id']),_0x2bb60d[_0x1f9a('0x25')](_0x5f43e0,!0x0)&&_0x38b359[_0x1f9a('0x23')](_0x4b2357[_0x1f9a('0x21')]+':'+_0x4b2357[_0x1f9a('0xc')]['id']);if(_0x3f8d2b[_0x1f9a('0x13')]!=_0x38b359[_0x1f9a('0x13')])return!0x1;for(const _0x25297b of _0x3f8d2b)if(!_0x38b359[_0x1f9a('0x18')](_0x25297b))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x597f=['get','TrackChangesEditing','insertTableOfContents','plugins','_descriptionFactory','enableCommand','afterInit'];(function(_0x12250c,_0x597f94){const _0x4f242b=function(_0x3c26d1){while(--_0x3c26d1){_0x12250c['push'](_0x12250c['shift']());}};_0x4f242b(++_0x597f94);}(_0x597f,0xb0));const _0x4f24=function(_0x12250c,_0x597f94){_0x12250c=_0x12250c-0x0;let _0x4f242b=_0x597f[_0x12250c];return _0x4f242b;};import{Plugin as _0x3cbc0a}from'ckeditor5/src/core';import{getTranslation as _0x678ab2}from'../utils/common-translations';export default class bt extends _0x3cbc0a{[_0x4f24('0x5')](){const _0x1526ca=this['editor'];if(!_0x1526ca['commands'][_0x4f24('0x6')]('insertTableOfContents'))return;_0x1526ca['plugins'][_0x4f24('0x6')](_0x4f24('0x0'))[_0x4f24('0x4')](_0x4f24('0x1'));const _0x5674a7=_0x1526ca[_0x4f24('0x2')]['get'](_0x4f24('0x0')),_0x284795=_0x1526ca['locale'];_0x5674a7[_0x4f24('0x3')]['registerElementLabel']('tableOfContents',_0x226708=>_0x678ab2(_0x284795,'ELEMENT_TABLE_OF_CONTENTS',_0x226708));}}
23
+ const _0x4769=['afterInit','insertTableOfContents','locale','plugins','get','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','editor','commands','TrackChangesEditing'];(function(_0x570ec9,_0x476917){const _0x348716=function(_0x51902a){while(--_0x51902a){_0x570ec9['push'](_0x570ec9['shift']());}};_0x348716(++_0x476917);}(_0x4769,0x1d2));const _0x3487=function(_0x570ec9,_0x476917){_0x570ec9=_0x570ec9-0x0;let _0x348716=_0x4769[_0x570ec9];return _0x348716;};import{Plugin as _0x54782a}from'ckeditor5/src/core';import{getTranslation as _0x36bf93}from'../utils/common-translations';export default class bt extends _0x54782a{[_0x3487('0x4')](){const _0x170f34=this[_0x3487('0x1')];if(!_0x170f34[_0x3487('0x2')][_0x3487('0x8')]('insertTableOfContents'))return;_0x170f34[_0x3487('0x7')][_0x3487('0x8')](_0x3487('0x3'))['enableCommand'](_0x3487('0x5'));const _0x5e514e=_0x170f34['plugins'][_0x3487('0x8')]('TrackChangesEditing'),_0x3400f7=_0x170f34[_0x3487('0x6')];_0x5e514e['_descriptionFactory'][_0x3487('0x9')]('tableOfContents',_0x3babdc=>_0x36bf93(_0x3400f7,_0x3487('0x0'),_0x3babdc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ffb=['start','tableBorderColor','tableProperties','tableCellBorderStyle','discard','findAncestor','TrackChangesEditing','_handlePropertyChange','join','has','tableBorderWidth','format','batch','tableCellProperties','tableBorderStyle','subType','model','accept','TableCellPropertiesEditing','getAttribute','editor','registerCustomCallback','_descriptionFactory','getSelectionAffectedTableCells','locale','getFirstPosition','tableCellBorderColor','tableCellBorderWidth','getSuggestionCallback','tableHeight','TableUtils','tableCellBackgroundColor','setAttribute','enqueueChange','selection','document','table','formatBlock','TablePropertiesEditing','tableWidth','change','registerDescriptionCallback','removeAttribute','getSuggestions','tableCellPadding','tableBackgroundColor','enableCommand','get','getContainedElement','*Format:*\x20change\x20table\x20properties','plugins','handleDiscardAction','handleSuggestionDescription','_suggestionFactory','_getSuggestion'];(function(_0x4b1a38,_0x3ffbe2){const _0x2e949d=function(_0x5ae592){while(--_0x5ae592){_0x4b1a38['push'](_0x4b1a38['shift']());}};_0x2e949d(++_0x3ffbe2);}(_0x3ffb,0x19f));const _0x2e94=function(_0x4b1a38,_0x3ffbe2){_0x4b1a38=_0x4b1a38-0x0;let _0x2e949d=_0x3ffb[_0x4b1a38];return _0x2e949d;};import{Plugin as _0x34543e}from'ckeditor5/src/core';import{getTranslation as _0x3a5dc3}from'../utils/common-translations';export default class Ct extends _0x34543e{constructor(_0x4e54bf){super(_0x4e54bf),this[_0x2e94('0x1b')]=[_0x2e94('0x1a'),_0x2e94('0x27'),_0x2e94('0x23'),'tableAlignment',_0x2e94('0x9'),_0x2e94('0x36'),_0x2e94('0xf')],this['tableCellProperties']=[_0x2e94('0x33'),_0x2e94('0x1c'),_0x2e94('0x34'),_0x2e94('0xe'),'tableCellWidth','tableCellHeight',_0x2e94('0x1'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}['afterInit'](){const _0x5e67bb=this[_0x2e94('0x2d')][_0x2e94('0x14')][_0x2e94('0x11')](_0x2e94('0x1f'));if(this[_0x2e94('0x2d')]['plugins'][_0x2e94('0x22')](_0x2e94('0x8'))){for(const _0x10d770 of this['tableProperties'])_0x5e67bb[_0x2e94('0x10')](_0x10d770,(_0x26216e,_0x24fb71)=>{const _0x506032=this['editor']['model']['document'][_0x2e94('0x4')][_0x2e94('0x32')]()[_0x2e94('0x1e')](_0x2e94('0x6'));this[_0x2e94('0x20')](_0x10d770,[_0x506032],this[_0x2e94('0x1b')],_0x2e94('0x1b'),_0x26216e,_0x24fb71);});_0x5e67bb['_suggestionFactory'][_0x2e94('0x2e')](_0x2e94('0x7'),_0x2e94('0x1b'),'accept',_0x5e67bb[_0x2e94('0x17')]['getSuggestionCallback'](_0x2e94('0x7'),null,_0x2e94('0x1d'))),_0x5e67bb['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x2929e7,_0x3b7d7b)=>this[_0x2e94('0x15')](this['tableProperties'],_0x2929e7,_0x3b7d7b)),_0x5e67bb[_0x2e94('0x17')][_0x2e94('0x2e')](_0x2e94('0x7'),_0x2e94('0x1b'),_0x2e94('0x21'),()=>!0x1);}if(this[_0x2e94('0x2d')][_0x2e94('0x14')][_0x2e94('0x22')](_0x2e94('0x2b'))){for(const _0x2ec62f of this['tableCellProperties'])_0x5e67bb['enableCommand'](_0x2ec62f,(_0x2ee1b4,_0x98cd31)=>{const _0x402578=this[_0x2e94('0x2d')][_0x2e94('0x14')]['get'](_0x2e94('0x0'))[_0x2e94('0x30')](this[_0x2e94('0x2d')][_0x2e94('0x29')][_0x2e94('0x5')][_0x2e94('0x4')]);this[_0x2e94('0x20')](_0x2ec62f,_0x402578,this[_0x2e94('0x26')],_0x2e94('0x26'),_0x2ee1b4,_0x98cd31);});_0x5e67bb[_0x2e94('0x17')][_0x2e94('0x2e')]('formatBlock','tableCellProperties',_0x2e94('0x2a'),_0x5e67bb[_0x2e94('0x17')][_0x2e94('0x35')](_0x2e94('0x7'),null,_0x2e94('0x1d'))),_0x5e67bb[_0x2e94('0x17')][_0x2e94('0x2e')](_0x2e94('0x7'),_0x2e94('0x26'),'discard',(_0x531194,_0x60f102)=>this[_0x2e94('0x15')](this[_0x2e94('0x26')],_0x531194,_0x60f102)),_0x5e67bb[_0x2e94('0x17')][_0x2e94('0x2e')]('formatBlock','tableCellProperties','join',()=>!0x1);}_0x5e67bb[_0x2e94('0x2f')][_0x2e94('0xb')](_0x44e26c=>this[_0x2e94('0x16')](_0x44e26c));}[_0x2e94('0x20')](_0x47d139,_0x2be456,_0x4a98fa,_0x576036,_0xdc50a3,_0x90e705){const _0x5dfb48=this[_0x2e94('0x2d')][_0x2e94('0x14')][_0x2e94('0x11')](_0x2e94('0x1f'));this[_0x2e94('0x2d')][_0x2e94('0x29')][_0x2e94('0x3')](_0x90e705[_0x2e94('0x25')],()=>{for(const _0x1d80c4 of _0x2be456){if(this['_getSuggestion'](_0x1d80c4,_0x576036))_0xdc50a3(_0x90e705);else{const _0x22bf4d={};for(const _0x44ba95 of _0x4a98fa){const _0x109239=_0x1d80c4[_0x2e94('0x2c')](_0x44ba95);void 0x0!==_0x109239&&(_0x22bf4d[_0x44ba95]=_0x109239);}_0xdc50a3(_0x90e705),_0x5dfb48['markBlockFormat'](_0x1d80c4,{'commandParams':[_0x22bf4d]},[],_0x576036);}}});}[_0x2e94('0x15')](_0x153f82,_0x290e78,_0x49a2bf){const _0x19f75f=_0x290e78[0x0][_0x2e94('0x19')]['nodeAfter'],_0x188f3c=_0x49a2bf['commandParams'][0x0];this['editor'][_0x2e94('0x29')][_0x2e94('0xa')](_0x160d98=>{for(const _0x3c4e9a of _0x153f82)void 0x0!==_0x188f3c[_0x3c4e9a]?_0x160d98[_0x2e94('0x2')](_0x3c4e9a,_0x188f3c[_0x3c4e9a],_0x19f75f):_0x160d98[_0x2e94('0xc')](_0x3c4e9a,_0x19f75f);});}[_0x2e94('0x16')](_0x47978d){if(_0x47978d['data'])switch(_0x47978d['subType']){case _0x2e94('0x1b'):return{'type':'format','content':_0x3a5dc3(this[_0x2e94('0x2d')][_0x2e94('0x31')],_0x2e94('0x13'))};case _0x2e94('0x26'):return{'type':_0x2e94('0x24'),'content':_0x3a5dc3(this[_0x2e94('0x2d')][_0x2e94('0x31')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x2e94('0x18')](_0x12748e,_0x3769ec){const _0x5f2e4b=this[_0x2e94('0x2d')][_0x2e94('0x14')][_0x2e94('0x11')](_0x2e94('0x1f'));for(const _0x8ade75 of _0x5f2e4b[_0x2e94('0xd')]({'skipNotAttached':!0x0})){const _0x48559c=_0x8ade75[_0x2e94('0x12')]();if(_0x8ade75[_0x2e94('0x28')]===_0x3769ec&&_0x48559c===_0x12748e)return _0x8ade75;}return null;}}
23
+ const _0x4fc6=['getFirstPosition','format','_getSuggestion','nodeAfter','registerDescriptionCallback','discard','enableCommand','tableAlignment','getSuggestionCallback','tableBackgroundColor','tableBorderColor','removeAttribute','locale','_handlePropertyChange','tableProperties','tableCellProperties','table','document','registerCustomCallback','data','tableCellBorderStyle','tableCellVerticalAlignment','setAttribute','tableCellPadding','batch','_suggestionFactory','markBlockFormat','tableHeight','selection','has','tableWidth','getContainedElement','tableCellBorderColor','tableCellBorderWidth','enqueueChange','get','formatBlock','_descriptionFactory','plugins','getAttribute','editor','join','TableUtils','handleDiscardAction','*Format:*\x20change\x20table\x20properties','accept','findAncestor','TableCellPropertiesEditing','tableCellHeight','start','model','tableBorderStyle','subType'];(function(_0x23dbaf,_0x4fc69d){const _0x5f388f=function(_0x616220){while(--_0x616220){_0x23dbaf['push'](_0x23dbaf['shift']());}};_0x5f388f(++_0x4fc69d);}(_0x4fc6,0xfa));const _0x5f38=function(_0x23dbaf,_0x4fc69d){_0x23dbaf=_0x23dbaf-0x0;let _0x5f388f=_0x4fc6[_0x23dbaf];return _0x5f388f;};import{Plugin as _0xc2befd}from'ckeditor5/src/core';import{getTranslation as _0x2ed0f2}from'../utils/common-translations';export default class Ct extends _0xc2befd{constructor(_0x15b7ce){super(_0x15b7ce),this['tableProperties']=[_0x5f38('0x19'),_0x5f38('0xd'),'tableBorderWidth',_0x5f38('0x16'),_0x5f38('0x2d'),_0x5f38('0x2a'),_0x5f38('0x18')],this[_0x5f38('0x1e')]=[_0x5f38('0x2f'),_0x5f38('0x23'),_0x5f38('0x30'),_0x5f38('0x26'),'tableCellWidth',_0x5f38('0xa'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0x5f38('0x24')];}static get['pluginName'](){return'TrackChangesTableProperties';}['afterInit'](){const _0x533e94=this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x32')]('TrackChangesEditing');if(this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x2c')]('TablePropertiesEditing')){for(const _0x1eb46b of this['tableProperties'])_0x533e94[_0x5f38('0x15')](_0x1eb46b,(_0x33d401,_0x56a750)=>{const _0x21a7a7=this[_0x5f38('0x2')][_0x5f38('0xc')][_0x5f38('0x20')][_0x5f38('0x2b')][_0x5f38('0xf')]()[_0x5f38('0x8')](_0x5f38('0x1f'));this['_handlePropertyChange'](_0x1eb46b,[_0x21a7a7],this[_0x5f38('0x1d')],_0x5f38('0x1d'),_0x33d401,_0x56a750);});_0x533e94['_suggestionFactory'][_0x5f38('0x21')](_0x5f38('0x33'),_0x5f38('0x1d'),'accept',_0x533e94[_0x5f38('0x28')][_0x5f38('0x17')](_0x5f38('0x33'),null,'discard')),_0x533e94['_suggestionFactory'][_0x5f38('0x21')]('formatBlock',_0x5f38('0x1d'),'discard',(_0x323cd5,_0x4dfaf2)=>this[_0x5f38('0x5')](this['tableProperties'],_0x323cd5,_0x4dfaf2)),_0x533e94['_suggestionFactory']['registerCustomCallback'](_0x5f38('0x33'),_0x5f38('0x1d'),'join',()=>!0x1);}if(this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x2c')](_0x5f38('0x9'))){for(const _0x2408f8 of this[_0x5f38('0x1e')])_0x533e94[_0x5f38('0x15')](_0x2408f8,(_0x33b161,_0x14164a)=>{const _0x458265=this['editor'][_0x5f38('0x0')][_0x5f38('0x32')](_0x5f38('0x4'))['getSelectionAffectedTableCells'](this['editor']['model'][_0x5f38('0x20')][_0x5f38('0x2b')]);this[_0x5f38('0x1c')](_0x2408f8,_0x458265,this['tableCellProperties'],_0x5f38('0x1e'),_0x33b161,_0x14164a);});_0x533e94['_suggestionFactory'][_0x5f38('0x21')]('formatBlock',_0x5f38('0x1e'),_0x5f38('0x7'),_0x533e94['_suggestionFactory'][_0x5f38('0x17')]('formatBlock',null,'discard')),_0x533e94[_0x5f38('0x28')]['registerCustomCallback']('formatBlock',_0x5f38('0x1e'),_0x5f38('0x14'),(_0x1cc0d4,_0x4e3434)=>this[_0x5f38('0x5')](this[_0x5f38('0x1e')],_0x1cc0d4,_0x4e3434)),_0x533e94[_0x5f38('0x28')]['registerCustomCallback']('formatBlock',_0x5f38('0x1e'),_0x5f38('0x3'),()=>!0x1);}_0x533e94[_0x5f38('0x34')][_0x5f38('0x13')](_0x14fab0=>this['handleSuggestionDescription'](_0x14fab0));}[_0x5f38('0x1c')](_0x1d4837,_0x2795a0,_0x2f70d2,_0x4f0914,_0x227969,_0x345ec5){const _0x4dd63f=this[_0x5f38('0x2')]['plugins'][_0x5f38('0x32')]('TrackChangesEditing');this[_0x5f38('0x2')][_0x5f38('0xc')][_0x5f38('0x31')](_0x345ec5[_0x5f38('0x27')],()=>{for(const _0x4501d3 of _0x2795a0){if(this['_getSuggestion'](_0x4501d3,_0x4f0914))_0x227969(_0x345ec5);else{const _0x1bfcc9={};for(const _0x738bd7 of _0x2f70d2){const _0x3be8cd=_0x4501d3[_0x5f38('0x1')](_0x738bd7);void 0x0!==_0x3be8cd&&(_0x1bfcc9[_0x738bd7]=_0x3be8cd);}_0x227969(_0x345ec5),_0x4dd63f[_0x5f38('0x29')](_0x4501d3,{'commandParams':[_0x1bfcc9]},[],_0x4f0914);}}});}[_0x5f38('0x5')](_0x5dde73,_0x1b8b74,_0xc316bf){const _0x4d5e98=_0x1b8b74[0x0][_0x5f38('0xb')][_0x5f38('0x12')],_0x89cf68=_0xc316bf['commandParams'][0x0];this[_0x5f38('0x2')][_0x5f38('0xc')]['change'](_0x4fd3d6=>{for(const _0x1dd7f0 of _0x5dde73)void 0x0!==_0x89cf68[_0x1dd7f0]?_0x4fd3d6[_0x5f38('0x25')](_0x1dd7f0,_0x89cf68[_0x1dd7f0],_0x4d5e98):_0x4fd3d6[_0x5f38('0x1a')](_0x1dd7f0,_0x4d5e98);});}['handleSuggestionDescription'](_0x360fb0){if(_0x360fb0[_0x5f38('0x22')])switch(_0x360fb0[_0x5f38('0xe')]){case _0x5f38('0x1d'):return{'type':_0x5f38('0x10'),'content':_0x2ed0f2(this[_0x5f38('0x2')][_0x5f38('0x1b')],_0x5f38('0x6'))};case _0x5f38('0x1e'):return{'type':_0x5f38('0x10'),'content':_0x2ed0f2(this[_0x5f38('0x2')][_0x5f38('0x1b')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5f38('0x11')](_0x3f0a2c,_0x52e5ea){const _0x5f232f=this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x32')]('TrackChangesEditing');for(const _0x4c0acd of _0x5f232f['getSuggestions']({'skipNotAttached':!0x0})){const _0x4cc36a=_0x4c0acd[_0x5f38('0x2e')]();if(_0x4c0acd[_0x5f38('0xe')]===_0x52e5ea&&_0x4cc36a===_0x3f0a2c)return _0x4c0acd;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e1c=['insertTemplate','TrackChangesEditing','editor','afterInit','enableCommand','has','plugins','Template'];(function(_0x1fcd1e,_0x1e1c76){const _0x65a163=function(_0x149cac){while(--_0x149cac){_0x1fcd1e['push'](_0x1fcd1e['shift']());}};_0x65a163(++_0x1e1c76);}(_0x1e1c,0xe9));const _0x65a1=function(_0x1fcd1e,_0x1e1c76){_0x1fcd1e=_0x1fcd1e-0x0;let _0x65a163=_0x1e1c[_0x1fcd1e];return _0x65a163;};import{Plugin as _0x36472d}from'ckeditor5/src/core';export default class yt extends _0x36472d{[_0x65a1('0x2')](){const _0x360cb6=this[_0x65a1('0x1')];_0x360cb6[_0x65a1('0x5')][_0x65a1('0x4')](_0x65a1('0x6'))&&_0x360cb6['plugins']['get'](_0x65a1('0x0'))[_0x65a1('0x3')](_0x65a1('0x7'));}}
23
+ const _0x134c=['Template','afterInit','get','has','enableCommand','insertTemplate','editor','TrackChangesEditing','plugins'];(function(_0x388d51,_0x134cac){const _0x2cae25=function(_0x37a521){while(--_0x37a521){_0x388d51['push'](_0x388d51['shift']());}};_0x2cae25(++_0x134cac);}(_0x134c,0x151));const _0x2cae=function(_0x388d51,_0x134cac){_0x388d51=_0x388d51-0x0;let _0x2cae25=_0x134c[_0x388d51];return _0x2cae25;};import{Plugin as _0x2f4b14}from'ckeditor5/src/core';export default class yt extends _0x2f4b14{[_0x2cae('0x6')](){const _0x5bb2b1=this[_0x2cae('0x2')];_0x5bb2b1[_0x2cae('0x4')][_0x2cae('0x8')](_0x2cae('0x5'))&&_0x5bb2b1[_0x2cae('0x4')][_0x2cae('0x7')](_0x2cae('0x3'))[_0x2cae('0x0')](_0x2cae('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f2e=['document','start','suggestion','Title','afterInit','get','removeMarker','has','createRange','forward','_splitMarkerName','getChangedMarkers','isCollapsed','plugins','title-content','editor','newRange','differ','model','ELEMENT_TITLE','registerElementLabel','end'];(function(_0x109c28,_0x1f2e46){const _0x19a291=function(_0x36ee30){while(--_0x36ee30){_0x109c28['push'](_0x109c28['shift']());}};_0x19a291(++_0x1f2e46);}(_0x1f2e,0xa9));const _0x19a2=function(_0x109c28,_0x1f2e46){_0x109c28=_0x109c28-0x0;let _0x19a291=_0x1f2e[_0x109c28];return _0x19a291;};import{Plugin as _0xad7939}from'ckeditor5/src/core';import{getTranslation as _0x49508f}from'../utils/common-translations';export default class St extends _0xad7939{[_0x19a2('0xb')](){const _0x9f3731=this[_0x19a2('0x0')];if(!_0x9f3731[_0x19a2('0x14')][_0x19a2('0xe')](_0x19a2('0xa')))return;const _0x3d1481=_0x9f3731['plugins'][_0x19a2('0xc')]('TrackChangesEditing');_0x3d1481['_descriptionFactory'][_0x19a2('0x5')](_0x19a2('0x15'),()=>_0x49508f(_0x9f3731['locale'],_0x19a2('0x4'))),_0x9f3731[_0x19a2('0x3')][_0x19a2('0x7')]['registerPostFixer'](_0x2638d7=>{let _0x28ba87=!0x1;const _0x177531=Array['from'](_0x9f3731[_0x19a2('0x3')][_0x19a2('0x7')][_0x19a2('0x2')][_0x19a2('0x12')]());for(const {name:_0x348a8f,data:_0x3c75be}of _0x177531){const {group:_0x18cda5}=_0x3d1481[_0x19a2('0x11')](_0x348a8f);if(_0x19a2('0x9')!==_0x18cda5||!_0x3c75be[_0x19a2('0x1')])continue;const _0x1c4b7b=_0x3c75be['newRange'],_0x1d10ae=_0x1c4b7b[_0x19a2('0x6')]['nodeBefore'];if(!_0x1d10ae||!_0x1d10ae['is']('element',_0x19a2('0x15')))continue;if(!_0x1c4b7b[_0x19a2('0x8')]['isTouching'](_0x1c4b7b[_0x19a2('0x6')]))continue;const _0x45f566=_0x9f3731[_0x19a2('0x3')]['schema']['getNearestSelectionRange'](_0x1c4b7b['end'],_0x19a2('0x10'));if(_0x45f566&&_0x45f566[_0x19a2('0x13')]){const _0x523dea=_0x2638d7[_0x19a2('0xf')](_0x1c4b7b[_0x19a2('0x8')],_0x45f566[_0x19a2('0x8')]);_0x523dea['isEqual'](_0x1c4b7b)||(_0x2638d7['updateMarker'](_0x348a8f,{'range':_0x523dea}),_0x28ba87=!0x0);}_0x28ba87||(_0x2638d7[_0x19a2('0xd')](_0x348a8f),_0x28ba87=!0x0);}return _0x28ba87;});}}
23
+ const _0x2fd4=['Title','isCollapsed','locale','_descriptionFactory','nodeBefore','element','title-content','getChangedMarkers','get','end','schema','suggestion','updateMarker','model','registerElementLabel','document','plugins','_splitMarkerName','isEqual','registerPostFixer','has','start','newRange','getNearestSelectionRange'];(function(_0x20decc,_0x2fd436){const _0x2a48eb=function(_0x5d7caa){while(--_0x5d7caa){_0x20decc['push'](_0x20decc['shift']());}};_0x2a48eb(++_0x2fd436);}(_0x2fd4,0x6c));const _0x2a48=function(_0x20decc,_0x2fd436){_0x20decc=_0x20decc-0x0;let _0x2a48eb=_0x2fd4[_0x20decc];return _0x2a48eb;};import{Plugin as _0x44792d}from'ckeditor5/src/core';import{getTranslation as _0x583708}from'../utils/common-translations';export default class St extends _0x44792d{['afterInit'](){const _0x107c17=this['editor'];if(!_0x107c17[_0x2a48('0x4')][_0x2a48('0x8')](_0x2a48('0xc')))return;const _0x22540a=_0x107c17[_0x2a48('0x4')][_0x2a48('0x14')]('TrackChangesEditing');_0x22540a[_0x2a48('0xf')][_0x2a48('0x2')](_0x2a48('0x12'),()=>_0x583708(_0x107c17[_0x2a48('0xe')],'ELEMENT_TITLE')),_0x107c17[_0x2a48('0x1')][_0x2a48('0x3')][_0x2a48('0x7')](_0x205579=>{let _0x2a7153=!0x1;const _0x4af6d3=Array['from'](_0x107c17[_0x2a48('0x1')][_0x2a48('0x3')]['differ'][_0x2a48('0x13')]());for(const {name:_0x9c200,data:_0x294db4}of _0x4af6d3){const {group:_0x38f28b}=_0x22540a[_0x2a48('0x5')](_0x9c200);if(_0x2a48('0x17')!==_0x38f28b||!_0x294db4[_0x2a48('0xa')])continue;const _0x2e872a=_0x294db4[_0x2a48('0xa')],_0x15c4fd=_0x2e872a[_0x2a48('0x15')][_0x2a48('0x10')];if(!_0x15c4fd||!_0x15c4fd['is'](_0x2a48('0x11'),_0x2a48('0x12')))continue;if(!_0x2e872a[_0x2a48('0x9')]['isTouching'](_0x2e872a[_0x2a48('0x15')]))continue;const _0x155502=_0x107c17['model'][_0x2a48('0x16')][_0x2a48('0xb')](_0x2e872a['end'],'forward');if(_0x155502&&_0x155502[_0x2a48('0xd')]){const _0x44f0fe=_0x205579['createRange'](_0x2e872a[_0x2a48('0x9')],_0x155502[_0x2a48('0x9')]);_0x44f0fe[_0x2a48('0x6')](_0x2e872a)||(_0x205579[_0x2a48('0x0')](_0x9c200,{'range':_0x44f0fe}),_0x2a7153=!0x0);}_0x2a7153||(_0x205579['removeMarker'](_0x9c200),_0x2a7153=!0x0);}return _0x2a7153;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c1f=['redo','plugins','get','undo','editor','enableCommand'];(function(_0x152943,_0x3c1fe1){const _0x3f3239=function(_0x2ee0dd){while(--_0x2ee0dd){_0x152943['push'](_0x152943['shift']());}};_0x3f3239(++_0x3c1fe1);}(_0x3c1f,0xbc));const _0x3f32=function(_0x152943,_0x3c1fe1){_0x152943=_0x152943-0x0;let _0x3f3239=_0x3c1f[_0x152943];return _0x3f3239;};import{Plugin as _0xbe5f9e}from'ckeditor5/src/core';export default class It extends _0xbe5f9e{['afterInit'](){const _0x597f54=this[_0x3f32('0x2')],_0x5426d7=_0x597f54[_0x3f32('0x5')][_0x3f32('0x0')]('TrackChangesEditing');_0x597f54[_0x3f32('0x5')]['has']('UndoEditing')&&(_0x5426d7[_0x3f32('0x3')](_0x3f32('0x1')),_0x5426d7[_0x3f32('0x3')](_0x3f32('0x4')));}}
23
+ const _0x253e=['afterInit','editor','TrackChangesEditing','undo','UndoEditing','plugins','redo','enableCommand'];(function(_0x44efdc,_0x253e34){const _0x2b4500=function(_0x47f3ad){while(--_0x47f3ad){_0x44efdc['push'](_0x44efdc['shift']());}};_0x2b4500(++_0x253e34);}(_0x253e,0x185));const _0x2b45=function(_0x44efdc,_0x253e34){_0x44efdc=_0x44efdc-0x0;let _0x2b4500=_0x253e[_0x44efdc];return _0x2b4500;};import{Plugin as _0x14b892}from'ckeditor5/src/core';export default class It extends _0x14b892{[_0x2b45('0x3')](){const _0x47fe19=this[_0x2b45('0x4')],_0x23e656=_0x47fe19[_0x2b45('0x0')]['get'](_0x2b45('0x5'));_0x47fe19[_0x2b45('0x0')]['has'](_0x2b45('0x7'))&&(_0x23e656[_0x2b45('0x2')](_0x2b45('0x6')),_0x23e656[_0x2b45('0x2')](_0x2b45('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f2=['getItems','listIndent','previousPosition','toViewElement','test','name','addClass','model','isAtEnd','writer','getCustomProperty','get','ck-suggestion-marker-','markerRange','mapper','type','ck-suggestion-marker--active','elementEnd','item','addHighlight','isContent','hasAttribute','span','activeMarkers','isBlock','parent','toViewPosition','markerName','listItem','consumable','start','isLimit','nextSibling'];(function(_0x46b392,_0x24f272){const _0x371eb0=function(_0x12f166){while(--_0x12f166){_0x46b392['push'](_0x46b392['shift']());}};_0x371eb0(++_0x24f272);}(_0x24f2,0x18d));const _0x371e=function(_0x46b392,_0x24f272){_0x46b392=_0x46b392-0x0;let _0x371eb0=_0x24f2[_0x46b392];return _0x371eb0;};export function getRangesWithAttribute(_0x424f2d,_0x2cda42,_0x3f397f){const _0x568cb8=[];for(const _0x377d45 of _0x2cda42[_0x371e('0x20')]())_0x377d45[_0x371e('0x14')](_0x424f2d)&&_0x568cb8['push'](_0x3f397f['createRangeOn'](_0x377d45));return _0x568cb8;}export function getElementsAffectedByListItemRename(_0x361724){const _0x4e7ed5=[];if(_0x361724['is']('element','listItem')){let _0x524e4e=_0x361724[_0x371e('0x1f')];for(;_0x524e4e&&_0x524e4e['is']('element',_0x371e('0x1b'))&&_0x524e4e['getAttribute'](_0x371e('0x0'))>0x0;)_0x4e7ed5['push'](_0x524e4e),_0x524e4e=_0x524e4e[_0x371e('0x1f')];}return _0x4e7ed5;}export function downcastSplitMergeMarker(_0x152298,_0x4a52d2,{showActiveMarker:_0x532397=!0x0}={}){const _0x4efa5e=_0x152298['plugins'][_0x371e('0xa')]('TrackChangesEditing');return(_0x35ec03,_0x14b09c,_0x26ebec)=>{if(!_0x26ebec[_0x371e('0x1c')][_0x371e('0x3')](_0x14b09c[_0x371e('0xc')],_0x35ec03[_0x371e('0x4')]))return;const _0x429692=_0x14b09c[_0x371e('0xc')]['getWalker'](),_0x1e1b46=_0x14b09c['markerRange'][_0x371e('0x1d')],_0x285fcf=_0x152298[_0x371e('0x6')]['schema'];let _0x2e1548=null,_0x4002db=null,_0x5f3c68=!0x1,_0x539cfc=!0x1;for(const _0xca905f of _0x429692){const _0x535a88=_0xca905f[_0x371e('0x11')];_0x5f3c68=_0x5f3c68||_0x285fcf[_0x371e('0x13')](_0x535a88);const _0x2ae0c8=_0x26ebec[_0x371e('0xd')][_0x371e('0x2')](_0x535a88);if(_0x2ae0c8&&_0x2ae0c8[_0x371e('0x9')](_0x371e('0x12')))return;_0x371e('0x10')==_0xca905f[_0x371e('0xe')]&&(_0x285fcf[_0x371e('0x17')](_0x535a88)&&!_0x285fcf[_0x371e('0x1e')](_0x535a88)&&(_0x535a88[_0x371e('0x1f')]||_0x1e1b46[_0x371e('0x7')]?_0x2e1548&&_0x2e1548[_0x371e('0x18')]==_0x535a88||(_0x2e1548=_0x535a88,_0x27fe79(_0xca905f[_0x371e('0x1')]),_0x539cfc=!0x0):_0x4002db=_0x4002db||_0xca905f[_0x371e('0x1')]));}function _0x27fe79(_0x56b6f2){const _0x3211b7=_0x26ebec['writer']['createUIElement'](_0x371e('0x15'),{'class':_0x371e('0xb')+_0x4a52d2}),_0x37ede5=_0x26ebec[_0x371e('0xd')][_0x371e('0x19')](_0x56b6f2);_0x532397&&_0x4efa5e[_0x371e('0x16')]['includes'](_0x14b09c['markerName'])&&_0x26ebec[_0x371e('0x8')][_0x371e('0x5')](_0x371e('0xf'),_0x3211b7),_0x26ebec['writer']['insert'](_0x37ede5,_0x3211b7),_0x26ebec[_0x371e('0xd')]['bindElementToMarker'](_0x3211b7,_0x14b09c[_0x371e('0x1a')]);}_0x5f3c68||_0x539cfc||!_0x4002db||_0x27fe79(_0x4002db);};}
23
+ const _0x7c46=['ck-suggestion-marker-','bindElementToMarker','writer','listItem','element','getCustomProperty','schema','isContent','previousPosition','TrackChangesEditing','get','mapper','item','nextSibling','isLimit','getWalker','isBlock','addClass','name','includes','parent','getAttribute','test','push','isAtEnd','markerRange','createRangeOn','activeMarkers','elementEnd','consumable','toViewElement','hasAttribute','span','addHighlight','createUIElement','start','model','markerName'];(function(_0x1299fe,_0x7c46e){const _0x4bf5b0=function(_0x3b7586){while(--_0x3b7586){_0x1299fe['push'](_0x1299fe['shift']());}};_0x4bf5b0(++_0x7c46e);}(_0x7c46,0xb2));const _0x4bf5=function(_0x1299fe,_0x7c46e){_0x1299fe=_0x1299fe-0x0;let _0x4bf5b0=_0x7c46[_0x1299fe];return _0x4bf5b0;};export function getRangesWithAttribute(_0x32de97,_0x576000,_0x3679cd){const _0x25551c=[];for(const _0x306a2e of _0x576000['getItems']())_0x306a2e[_0x4bf5('0x5')](_0x32de97)&&_0x25551c[_0x4bf5('0x23')](_0x3679cd[_0x4bf5('0x0')](_0x306a2e));return _0x25551c;}export function getElementsAffectedByListItemRename(_0x4c34b6){const _0x51943f=[];if(_0x4c34b6['is'](_0x4bf5('0x10'),_0x4bf5('0xf'))){let _0x403d60=_0x4c34b6['nextSibling'];for(;_0x403d60&&_0x403d60['is'](_0x4bf5('0x10'),'listItem')&&_0x403d60[_0x4bf5('0x21')]('listIndent')>0x0;)_0x51943f[_0x4bf5('0x23')](_0x403d60),_0x403d60=_0x403d60['nextSibling'];}return _0x51943f;}export function downcastSplitMergeMarker(_0x23f3e2,_0x4d79a2,{showActiveMarker:_0x4736e5=!0x0}={}){const _0x1d3859=_0x23f3e2['plugins'][_0x4bf5('0x16')](_0x4bf5('0x15'));return(_0x3756ce,_0x57c424,_0x44de11)=>{if(!_0x44de11[_0x4bf5('0x3')][_0x4bf5('0x22')](_0x57c424['markerRange'],_0x3756ce[_0x4bf5('0x1e')]))return;const _0x100a5a=_0x57c424[_0x4bf5('0x25')][_0x4bf5('0x1b')](),_0x2ec3b3=_0x57c424[_0x4bf5('0x25')][_0x4bf5('0x9')],_0x31ecbd=_0x23f3e2[_0x4bf5('0xa')][_0x4bf5('0x12')];let _0x10b2a7=null,_0x4c29de=null,_0x32c123=!0x1,_0x7809b6=!0x1;for(const _0x50a91f of _0x100a5a){const _0x4bca57=_0x50a91f[_0x4bf5('0x18')];_0x32c123=_0x32c123||_0x31ecbd[_0x4bf5('0x13')](_0x4bca57);const _0x4d4cb1=_0x44de11[_0x4bf5('0x17')][_0x4bf5('0x4')](_0x4bca57);if(_0x4d4cb1&&_0x4d4cb1[_0x4bf5('0x11')](_0x4bf5('0x7')))return;_0x4bf5('0x2')==_0x50a91f['type']&&(_0x31ecbd[_0x4bf5('0x1c')](_0x4bca57)&&!_0x31ecbd[_0x4bf5('0x1a')](_0x4bca57)&&(_0x4bca57[_0x4bf5('0x19')]||_0x2ec3b3[_0x4bf5('0x24')]?_0x10b2a7&&_0x10b2a7[_0x4bf5('0x20')]==_0x4bca57||(_0x10b2a7=_0x4bca57,_0x4850b4(_0x50a91f[_0x4bf5('0x14')]),_0x7809b6=!0x0):_0x4c29de=_0x4c29de||_0x50a91f[_0x4bf5('0x14')]));}function _0x4850b4(_0x14f14a){const _0x3fc465=_0x44de11[_0x4bf5('0xe')][_0x4bf5('0x8')](_0x4bf5('0x6'),{'class':_0x4bf5('0xc')+_0x4d79a2}),_0x34e0a5=_0x44de11['mapper']['toViewPosition'](_0x14f14a);_0x4736e5&&_0x1d3859[_0x4bf5('0x1')][_0x4bf5('0x1f')](_0x57c424[_0x4bf5('0xb')])&&_0x44de11['writer'][_0x4bf5('0x1d')]('ck-suggestion-marker--active',_0x3fc465),_0x44de11[_0x4bf5('0xe')]['insert'](_0x34e0a5,_0x3fc465),_0x44de11['mapper'][_0x4bf5('0xd')](_0x3fc465,_0x57c424[_0x4bf5('0xb')]);}_0x32c123||_0x7809b6||!_0x4c29de||_0x4850b4(_0x4c29de);};}