@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231023.0 → 0.0.0-nightly-20231025.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf0d3=['getSuggestionCallback','ck-suggestion-marker--active','accept','newRange','for','removeRows','from','has','insertContent','registerCustomCallback','plugins','wrap','_splitMarkerName','previous','every','nodeAfter','editing','tableCellSuggestion','getColumnIndexes','commands','fromEntries','getRange','ck-suggestion-marker','cell','getMarkers','add','findAncestor','dataDowncast','find','getSuggestion','markMultiRangeInsertion','element','rows','hasSuggestion','_suggestionFactory','markerName','root','remove','tablePaste','removeMarkers','last','fill','set','map','includes','cells','ck-suggestion-marker-insertion','tableCellHorizontalAlignment','type','locale','getContainedElement','stop','tablePasteColumn','isEmpty','getChild','filter','return','TableClipboard','createTableWalker','author','getAllAdjacentSuggestions','trackChanges','_createdBatches','setAttributes','tableCellPadding','change','getChangedMarkers','reduce','end','push','move','length','insertionRanges','oldRange','batch','_getCoordsForCells','insertRows','getRowIndexes','options','tableCell','isInContent','createRangeIn','model','first','_replaceTableSlotCell','rootName','getSelectionAffectedTableCells','formatBlock','TableUtils','registerDescriptionCallback','_isForcedDefaultExecutionBlock','start','column','insert','getChanges','conversion','attributes','deletionRanges','startsWith','selection','high','differ','Users','editingDowncast','registerPostFixer','markMultiRangeBlockFormat','previousSibling','low','tableCellBackgroundColor','suggestion-td','subType','containsRange','deletion','markerAttributes','join','paragraph','table','createRangeOn','getColumns','tablePasteRow','redo','editor','insertion','row','removeMarker','getRows','columnInsertionRanges','rowInsertionRanges','tableCellBorderStyle','schema','position','removeColumns','tablePasteCell','rowInsertionIndexes','getRanges','entries','markers','register','unwrap','markerToHighlight','getSuggestions','isEqual','keys','columnInsertionIndexes','document','get','suggestion:formatBlock:tablePasteCell','endRow','tableCellBorderColor','suggestionLoaded','discard','tableCellBorderWidth','suggestion','tablePasteChainId','getTableIfOnlyTableInContent','updateMarker','name','content'];(function(_0xa02fbd,_0xf0d34b){const _0x224163=function(_0x30b141){while(--_0x30b141){_0xa02fbd['push'](_0xa02fbd['shift']());}};_0x224163(++_0xf0d34b);}(_0xf0d3,0x8e));const _0x2241=function(_0xa02fbd,_0xf0d34b){_0xa02fbd=_0xa02fbd-0x0;let _0x224163=_0xf0d3[_0xa02fbd];return _0x224163;};import{getTranslation as _0x5db861}from'../utils/common-translations';import{Plugin as _0x1133b1}from'ckeditor5/src/core';import{uid as _0x4f49c8,priorities as _0x55925a}from'ckeditor5/src/utils';import _0x56583e from'./table';const le=[_0x2241('0x9'),_0x2241('0x6'),_0x2241('0x90'),_0x2241('0x3f'),'tableCellVerticalAlignment',_0x2241('0x7c'),_0x2241('0x50')],ae=Object[_0x2241('0x24')](le['map'](_0x632c22=>[_0x632c22,null]));export default class wt extends _0x1133b1{static get['requires'](){return[_0x56583e];}['afterInit'](){const _0x842824=this['editor'];if(!_0x842824['plugins'][_0x2241('0x17')](_0x2241('0x49')))return;const _0x28099d=_0x842824['plugins'][_0x2241('0x3')]('TrackChangesEditing'),_0x20b194=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x68')),_0x3a76c8=_0x842824['plugins'][_0x2241('0x3')](_0x56583e),_0x36293d=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('TableClipboard');_0x3a76c8['_tablePostFixingSubtypes'][_0x2241('0x55')](_0x2241('0x87'),_0x2241('0x44')),_0x842824[_0x2241('0x62')][_0x2241('0x91')][_0x2241('0x99')](_0x2241('0x21'),{'allowIn':_0x2241('0x5f'),'allowContentOf':_0x2241('0x5f'),'isLimit':!0x0}),_0x842824['conversion']['elementToElement']({'model':_0x2241('0x21'),'view':_0x2241('0x7d')});let _0x24a220=null;_0x842824[_0x2241('0x62')]['on'](_0x2241('0x18'),(_0xa36529,_0x4c0944)=>{const [_0x51e850,_0x418364]=_0x4c0944,_0x59034e=_0x4c0944[_0x4c0944[_0x2241('0x57')]-0x1];_0x59034e&&_0x59034e['forceDefaultExecution']||_0x28099d[_0x2241('0x6a')]||this[_0x2241('0x89')]['commands'][_0x2241('0x3')](_0x2241('0x4d'))['value']&&function(_0x2a96b0,_0x4feae6,_0x7b2f85,_0x4d05a7,_0x350809){if(_0x4feae6&&!_0x4feae6['is']('documentSelection'))return!0x1;const _0x96009f=_0x350809[_0x2241('0xc')](_0x2a96b0,_0x7b2f85);if(!_0x96009f||!fe(_0x96009f,void 0x0,_0x4d05a7))return!0x1;const _0x146ea1=_0x4d05a7[_0x2241('0x66')](_0x7b2f85[_0x2241('0x2')][_0x2241('0x73')]);if(!_0x146ea1[_0x2241('0x57')])return!0x1;const _0x72d299=_0x146ea1[0x0]['findAncestor'](_0x2241('0x84')),_0x2c4b3b=_0x4d05a7[_0x2241('0x5d')](_0x146ea1),_0x9bff8b=_0x4d05a7[_0x2241('0x22')](_0x146ea1),_0x2b1409={'startRow':_0x2c4b3b[_0x2241('0x63')],'endRow':_0x2c4b3b['last'],'startColumn':_0x9bff8b[_0x2241('0x63')],'endColumn':_0x9bff8b[_0x2241('0x38')]};return 0x1==_0x146ea1[_0x2241('0x57')]&&(_0x2b1409[_0x2241('0x5')]+=_0x4d05a7[_0x2241('0x8d')](_0x96009f)-0x1,_0x2b1409['endColumn']+=_0x4d05a7[_0x2241('0x86')](_0x96009f)-0x1),fe(_0x72d299,_0x2b1409,_0x4d05a7);}(_0x51e850,_0x418364,_0x842824['model'],_0x20b194,_0x36293d)&&(_0xa36529[_0x2241('0x43')](),_0x24a220={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x842824[_0x2241('0x62')]['change'](()=>{_0x842824[_0x2241('0x62')]['insertContent'](_0x4c0944[0x0],_0x4c0944[0x1],_0x4c0944[0x2],{'forceDefaultExecution':!0x0});const _0x21c282=_0x4f49c8(),{rowInsertionRanges:_0x3ddb90,columnInsertionRanges:_0x14e052,insertionRanges:_0x246646,deletionRanges:_0x5815ae,cells:_0x5ed2be}=_0x24a220;_0x3ddb90[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x3ddb90,_0x2241('0x87'),{'tablePasteChainId':_0x21c282}),_0x14e052[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x14e052,_0x2241('0x44'),{'tablePasteChainId':_0x21c282}),_0x246646[_0x2241('0x57')]&&_0x28099d['markMultiRangeInsertion'](_0x246646,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0}),_0x5815ae[_0x2241('0x57')]&&_0x28099d['markMultiRangeDeletion'](_0x5815ae,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0});const _0x10f5ac=_0x28099d[_0x2241('0x79')](_0x5ed2be['map'](({element:_0x3f03f0})=>_0x3f03f0),{'formatGroupId':_0x4f49c8()},[],_0x2241('0x94'),{'tablePasteChainId':_0x21c282});if(_0x10f5ac){const _0x178cda=_0x10f5ac[_0x2241('0x28')](),_0x4b0219=[];for(const {element:_0x565e81,attributes:_0x2f5d80}of _0x5ed2be){if(!_0x2f5d80)continue;const _0x4cf7b9=_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x565e81),_0x2fe5aa=_0x178cda[_0x2241('0x2c')](_0x2d27cd=>_0x2d27cd[_0x2241('0x25')]()['isEqual'](_0x4cf7b9));_0x2fe5aa&&_0x4b0219[_0x2241('0x55')]([_0x2fe5aa[_0x2241('0xe')],_0x2f5d80]);}_0x4b0219[_0x2241('0x57')]&&_0x10f5ac['setAttribute'](_0x2241('0x81'),Object[_0x2241('0x24')](_0x4b0219));}_0x24a220=null;}));},{'priority':_0x55925a[_0x2241('0x74')]+0xa}),_0x842824[_0x2241('0x1a')][_0x2241('0x3')](_0x2241('0x49'))['on'](_0x2241('0x64'),(_0xb68873,_0x3edd2c)=>{const [_0x135871,_0x688ad4,,_0x45244c]=_0x3edd2c;if(!_0x24a220)return;_0xb68873[_0x2241('0x43')]();const _0x508497=_0x135871[_0x2241('0x27')],_0x257b46=_0x688ad4,_0x122a3d=ce(_0x508497),_0x208a6e=ce(_0x257b46);_0xb68873[_0x2241('0x48')]=_0x508497;let _0x188fbd=null,_0x1e6220=null;if(_0x208a6e||_0x122a3d){if(_0x122a3d&&!_0x208a6e){_0x45244c[_0x2241('0x35')](_0x508497[_0x2241('0x46')](0x0));for(const _0x471d21 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c[_0x2241('0x6d')](_0x471d21,_0x508497,_0x2241('0x54'));const _0x52fb5f=_0x24a220['rowInsertionIndexes']['includes'](_0x135871[_0x2241('0x8b')]),_0x436778=_0x24a220['columnInsertionIndexes'][_0x2241('0x3c')](_0x135871[_0x2241('0x6c')]);_0x52fb5f||_0x436778||(_0x188fbd=_0x45244c[_0x2241('0x61')](_0x508497));}else _0x208a6e&&!_0x122a3d&&(_0x1e6220=_0x45244c[_0x2241('0x61')](_0x508497));}else{const _0x3d23eb=_0x45244c['createElement'](_0x2241('0x21')),_0x47fae3=_0x45244c['createElement']('tableCellSuggestion');_0x45244c[_0x2241('0x1b')](_0x45244c['createRangeIn'](_0x508497),_0x47fae3),_0x45244c[_0x2241('0x6d')](_0x3d23eb,_0x508497,0x0);for(const _0x55b929 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c['insert'](_0x55b929,_0x3d23eb,'end');_0x188fbd=_0x45244c['createRangeOn'](_0x3d23eb),_0x1e6220=_0x45244c[_0x2241('0x85')](_0x47fae3);}const _0x2ef5ed=Array['from'](_0x257b46['getAttributes']())['filter'](([_0x3cce7d])=>le['includes'](_0x3cce7d));_0x24a220[_0x2241('0x3d')][_0x2241('0x55')]({'element':_0x508497,'attributes':_0x2ef5ed[_0x2241('0x57')]?Object[_0x2241('0x24')](_0x2ef5ed):null}),_0x188fbd&&_0x24a220[_0x2241('0x58')]['push'](_0x188fbd),_0x1e6220&&_0x24a220[_0x2241('0x71')]['push'](_0x1e6220);},{'priority':_0x2241('0x74')}),_0x20b194['on']('insertColumns',(_0x5c69c3,_0x4d222e)=>{const [_0xdc4971,_0x486638={}]=_0x4d222e;if(!_0x24a220)return;const _0x280cac=_0x486638['at']||0x0,_0x14b6e3=_0x486638['columns']||0x1;_0x24a220[_0x2241('0x1')]=new Array(_0x14b6e3)[_0x2241('0x39')](_0x280cac)[_0x2241('0x3b')]((_0x6fea4b,_0x557439)=>_0x6fea4b+_0x557439);for(const {cell:_0x32c09c}of _0x20b194['createTableWalker'](_0xdc4971,{'startColumn':_0x280cac,'endColumn':_0x280cac+_0x14b6e3-0x1}))_0x24a220[_0x2241('0x8e')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x32c09c));},{'priority':_0x2241('0x7b')}),_0x20b194['on'](_0x2241('0x5c'),(_0x2a897a,_0x5f4103)=>{const [_0x40ffc2,_0x3f649e={}]=_0x5f4103;if(!_0x24a220)return;const _0x5890e1=_0x3f649e['at']||0x0,_0x2f7f71=_0x3f649e[_0x2241('0x30')]||0x1;_0x24a220[_0x2241('0x95')]=new Array(_0x2f7f71)['fill'](_0x5890e1)[_0x2241('0x3b')]((_0x5a9317,_0x182a19)=>_0x5a9317+_0x182a19);for(const {cell:_0x4a27a5}of _0x20b194[_0x2241('0x4a')](_0x40ffc2,{'startRow':_0x5890e1,'endRow':_0x5890e1+_0x2f7f71-0x1}))_0x24a220[_0x2241('0x8f')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x4a27a5));},{'priority':_0x2241('0x7b')}),_0x28099d['_descriptionFactory'][_0x2241('0x69')](_0x4dbe03=>{if(_0x4dbe03[_0x2241('0x7e')]&&_0x4dbe03['subType'][_0x2241('0x72')](_0x2241('0x36')))return _0x4dbe03[_0x2241('0x1d')]?{}:{'type':'insertion','content':_0x5db861(_0x842824[_0x2241('0x41')],'*Replace\x20table\x20cells*')};});const _0x5729a2=()=>!0x1;for(const _0x326fde of['tablePaste',_0x2241('0x44'),_0x2241('0x87'),_0x2241('0x94')])_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback'](_0x2241('0x80'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback']('formatBlock',_0x326fde,_0x2241('0x82'),_0x5729a2);_0x28099d[_0x2241('0x32')][_0x2241('0x19')]('formatBlock',_0x2241('0x94'),_0x2241('0x8'),_0x5729a2),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x67'),_0x2241('0x94'),_0x2241('0x12'),(_0x358d98,_0x2e0e0d,_0x770edd)=>{const _0xafecd3=_0x358d98['map'](_0xef3fd6=>_0xef3fd6[_0x2241('0x42')]())[_0x2241('0x47')](_0x8c9b1=>_0x8c9b1),_0x2de0dc=new Map(_0xafecd3[_0x2241('0x3b')](_0x3bb16a=>[_0x3bb16a,null]));if(_0x24a220)for(const {element:_0x304ed1,attributes:_0x377cd2}of _0x24a220[_0x2241('0x3d')])_0x377cd2&&_0x2de0dc[_0x2241('0x3a')](_0x304ed1,_0x377cd2);else{if(_0x770edd&&_0x770edd['markerAttributes'])for(const [_0x44694a,_0x16da18]of Object[_0x2241('0x97')](_0x770edd['markerAttributes'])){const _0x3f5022=_0x842824[_0x2241('0x62')][_0x2241('0x98')][_0x2241('0x3')](_0x44694a),_0x5f551c=_0x3f5022?_0x3f5022[_0x2241('0x25')]()[_0x2241('0x42')]():null;_0x5f551c&&_0x2de0dc[_0x2241('0x3a')](_0x5f551c,_0x16da18);}}_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x42ce93=>{for(const [_0x545f1d,_0x2cf1f9]of _0x2de0dc)_0x42ce93[_0x2241('0x4f')]({...ae,..._0x2cf1f9},_0x545f1d);});});const _0x413a09=(_0x115e13,_0xb208ac)=>{_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x115e13,_0x2241('0x36'),_0xb208ac,(_0x109466,_0x1da789,_0x2c365f)=>{_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x43433a=>{const _0x5e3472=[];for(const _0x536434 of _0x109466){const _0x2b75e3=_0x536434[_0x2241('0x6b')][_0x2241('0x1f')];_0x2b75e3['is'](_0x2241('0x2f'),_0x2241('0x21'))&&_0x5e3472[_0x2241('0x55')](_0x2b75e3);}_0x28099d[_0x2241('0x32')][_0x2241('0x10')](_0x115e13,null,_0xb208ac)(_0x109466,_0x1da789,_0x2c365f);for(const _0x3a984a of _0x5e3472)'$graveyard'!=_0x3a984a[_0x2241('0x34')][_0x2241('0x65')]&&_0x43433a[_0x2241('0x9a')](_0x3a984a);});});};_0x413a09(_0x2241('0x8a'),_0x2241('0x12')),_0x413a09(_0x2241('0x8a'),'discard'),_0x413a09(_0x2241('0x80'),_0x2241('0x12')),_0x413a09(_0x2241('0x80'),'discard'),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x2241('0x87'),'discard',_0x38332a=>{const _0x348eb1=_0x38332a[_0x2241('0x3b')](_0x7163c7=>_0x7163c7[_0x2241('0x42')]()),_0x4e10ee=_0x348eb1[0x0][_0x2241('0x2a')]('table'),{minRow:_0x3b6065,maxRow:_0x909da2}=_0x3a76c8[_0x2241('0x5b')](_0x348eb1);_0x20b194[_0x2241('0x15')](_0x4e10ee,{'at':_0x3b6065,'rows':_0x909da2-_0x3b6065+0x1});}),_0x28099d['_suggestionFactory'][_0x2241('0x19')]('insertion',_0x2241('0x44'),_0x2241('0x8'),_0x466e37=>{const _0x432089=_0x466e37[_0x2241('0x3b')](_0xdf0247=>_0xdf0247[_0x2241('0x42')]()),_0x4fa94a=_0x432089[0x0][_0x2241('0x2a')](_0x2241('0x84')),{minColumn:_0x2a1234,maxColumn:_0x514637}=_0x3a76c8[_0x2241('0x5b')](_0x432089);_0x20b194[_0x2241('0x93')](_0x4fa94a,{'at':_0x2a1234,'columns':_0x514637-_0x2a1234+0x1});});const _0x438be2=(_0x3eed12,_0x2bfd0e)=>{if(!_0x2bfd0e['subType']||!_0x2bfd0e[_0x2241('0x7e')][_0x2241('0x72')](_0x2241('0x36')))return;const _0x478e66=_0x2bfd0e[_0x2241('0x70')][_0x2241('0xb')],_0x2939f7=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x7a7f=>_0x7a7f['isInContent']&&_0x7a7f[_0x2241('0x70')]&&_0x7a7f[_0x2241('0x70')][_0x2241('0xb')]==_0x478e66);_0x2939f7[_0x2241('0x57')]&&_0x2bfd0e[_0x2241('0x4c')]()[_0x2241('0x57')]!=_0x2939f7[_0x2241('0x57')]&&_0x2939f7[_0x2241('0x53')]((_0x49e4e7,_0x2ee0cc)=>(_0x49e4e7['next']=_0x2ee0cc,_0x2ee0cc[_0x2241('0x1d')]=_0x49e4e7,_0x2ee0cc));};function _0x3f317a(_0x4767f6,_0x14db0c=!0x0){const {id:_0x38c862}=_0x28099d[_0x2241('0x1c')](_0x4767f6['markerName']),_0x71d456=[_0x2241('0x26'),_0x2241('0x3e')],_0x5e91dc=_0x28099d['activeMarkers'][_0x2241('0x3c')](_0x4767f6[_0x2241('0x33')]);return _0x5e91dc&&_0x71d456['push'](_0x2241('0x11')),{'classes':_0x71d456,'attributes':{'data-suggestion':_0x38c862},'priority':_0x5e91dc&&_0x14db0c?0xbc2:0xbb8};}_0x28099d['on'](_0x2241('0x7'),_0x438be2,{'priority':_0x2241('0x74')}),_0x28099d['on']('suggestionUnloaded',_0x438be2,{'priority':'high'}),_0x842824[_0x2241('0x62')][_0x2241('0x2')][_0x2241('0x78')](()=>{let _0x2008f3=!0x1;const _0x53b3e3=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]());for(const {name:_0x4cc838,data:_0x5cb1b3}of _0x53b3e3){const {group:_0x5aad29,type:_0x28bad3,id:_0x1a6fd7}=_0x28099d[_0x2241('0x1c')](_0x4cc838);if(_0x2241('0xa')!=_0x5aad29||_0x2241('0x80')!=_0x28bad3||_0x5cb1b3[_0x2241('0x59')])continue;if(!_0x28099d[_0x2241('0x31')](_0x1a6fd7))continue;const _0x18e5ef=_0x28099d[_0x2241('0x2d')](_0x1a6fd7)[_0x2241('0x96')](),_0x1c193b=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'];for(const _0x47d090 of _0x28099d[_0x2241('0x9c')]()){if(!_0x47d090['isInContent']||_0x47d090[_0x2241('0x4b')]!=_0x1c193b)continue;if(_0x2241('0x67')!=_0x47d090[_0x2241('0x40')]||_0x2241('0x94')!=_0x47d090['subType'])continue;if(_0x47d090[_0x2241('0x96')]()[_0x2241('0x1e')](_0x1049fc=>_0x18e5ef['some'](_0x2d16cf=>_0x2d16cf[_0x2241('0x7f')](_0x1049fc,!0x0))))for(const _0x38f51a of _0x47d090[_0x2241('0x4c')]())_0x38f51a[_0x2241('0x60')]&&(_0x38f51a[_0x2241('0x8')](),_0x2008f3=!0x0);}}return _0x2008f3;}),_0x842824['model']['document']['registerPostFixer'](_0x6070fb=>{const _0x2e1480=_0x842824[_0x2241('0x23')][_0x2241('0x3')](_0x2241('0x88'));if(!_0x2e1480||!_0x2e1480[_0x2241('0x4e')][_0x2241('0x17')](_0x6070fb[_0x2241('0x5a')]))return!0x1;let _0x5bc305=!0x1;const _0x101bdb=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'],_0x2188e0=_0x842824['model'][_0x2241('0x2')]['differ'][_0x2241('0x6e')](),_0x5aadf6=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]())[_0x2241('0x47')](({name:_0x4f930d,data:_0x8912e8})=>{const {group:_0x1389f2,subType:_0x184679,authorId:_0x6f8402}=_0x28099d[_0x2241('0x1c')](_0x4f930d);return _0x2241('0xa')==_0x1389f2&&_0x2241('0x36')==_0x184679&&_0x6f8402==_0x101bdb['id']&&!_0x8912e8[_0x2241('0x59')];});for(const _0x11a4ed of _0x2188e0){if(_0x2241('0x6d')!=_0x11a4ed[_0x2241('0x40')]||'tableCellSuggestion'!=_0x11a4ed['name']||0x1!=_0x11a4ed['length'])continue;const _0x480b38=_0x6070fb['createRange'](_0x11a4ed[_0x2241('0x92')],_0x11a4ed[_0x2241('0x92')]['getShiftedBy'](0x1));if(!_0x5aadf6[_0x2241('0x2c')](({data:_0x212f5f})=>_0x212f5f['newRange'][_0x2241('0x9d')](_0x480b38)))for(const {name:_0x42cf42,data:_0x5df467}of _0x5aadf6)if(_0x480b38[_0x2241('0x7f')](_0x5df467[_0x2241('0x13')])){_0x6070fb[_0x2241('0xd')](_0x42cf42,{'range':_0x480b38}),_0x5bc305=!0x0;break;}}return _0x5bc305;}),_0x842824[_0x2241('0x62')][_0x2241('0x2')]['registerPostFixer'](_0x3a0568=>{let _0x25d818=!0x1;const _0x1cbec9=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('Users')['me'],_0xf4a070=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x242412=>_0x242412[_0x2241('0x60')]&&_0x242412[_0x2241('0x4b')]==_0x1cbec9),_0xbc0910=new Set(),_0x3fa578=new Set();for(const _0xcd902 of _0xf4a070)if(_0x2241('0x36')==_0xcd902[_0x2241('0x7e')])for(const _0x346a8b of _0xcd902[_0x2241('0x28')]()){const _0x3501a1=_0x346a8b[_0x2241('0x25')]()['getContainedElement']();if(_0x3501a1){if(_0x3501a1['is'](_0x2241('0x2f'),'tableCellSuggestion')&&ce(_0x3501a1)){_0xcd902['removeMarker'](_0x346a8b[_0x2241('0xe')]),_0xbc0910[_0x2241('0x29')](_0x3501a1),_0x25d818=!0x0;const _0x335b43=_0x3501a1['nextSibling'],_0x2ed906=_0x3501a1[_0x2241('0x7a')],_0x4a7450=_0x335b43&&_0x335b43['is'](_0x2241('0x2f'),'tableCellSuggestion'),_0x31527e=_0x2ed906&&_0x2ed906['is'](_0x2241('0x2f'),_0x2241('0x21'));_0x4a7450&&!_0xbc0910[_0x2241('0x17')](_0x335b43)&&_0x3fa578[_0x2241('0x29')](_0x335b43),_0x31527e&&!_0xbc0910['has'](_0x2ed906)&&_0x3fa578[_0x2241('0x29')](_0x2ed906);}else _0x3501a1['is'](_0x2241('0x2f'),_0x2241('0x83'))&&_0x3501a1['isEmpty']&&(_0xcd902[_0x2241('0x8c')](_0x346a8b[_0x2241('0xe')]),_0x25d818=!0x0);}}else{if('tablePasteCell'==_0xcd902[_0x2241('0x7e')]){if(!_0xcd902[_0x2241('0x70')]||!_0xcd902[_0x2241('0x70')][_0x2241('0xb')])continue;const _0x14a26f=_0xcd902[_0x2241('0x70')][_0x2241('0x81')];if(_0x14a26f&&Object[_0x2241('0x0')](_0x14a26f)[_0x2241('0x57')])continue;const _0x3aa114=_0xcd902[_0x2241('0x70')][_0x2241('0xb')];let _0x1b4726=!0x0,_0xf81440=!0x0;for(const _0x391a86 of _0xf4a070)if(_0x391a86[_0x2241('0x7e')]&&_0x391a86[_0x2241('0x7e')]['startsWith'](_0x2241('0x36'))){if(!_0x391a86[_0x2241('0x70')]['tablePasteChainId']){_0xf81440=!0x1;break;}if(_0x391a86['id']!=_0xcd902['id']&&_0x391a86[_0x2241('0x70')][_0x2241('0xb')]==_0x3aa114){_0x1b4726=!0x1;break;}}_0xf81440&&_0x1b4726&&(_0xcd902[_0x2241('0x37')](),_0x25d818=!0x0);}}for(const _0xfecd51 of _0xbc0910)_0x3a0568[_0x2241('0x35')](_0xfecd51);for(const _0x1aa3fb of _0x3fa578)_0x3a0568[_0x2241('0x9a')](_0x1aa3fb);return _0x25d818;}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x77'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x15b8ac,_0x2e348a)=>_0x3f317a(_0x15b8ac),'converterPriority':'high'}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x2b'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x366828,_0x5aba1a)=>_0x5aba1a[_0x2241('0x5e')]['showSuggestionHighlights']?_0x3f317a(_0x366828,!0x1):null,'converterPriority':_0x2241('0x74')});const _0x55a26a=_0x842824[_0x2241('0x20')]['view'];this['listenTo'](_0x55a26a[_0x2241('0x2')],'clipboardOutput',(_0x5a5903,_0xafa6c3)=>{const _0x5d7471=[];for(const _0x656c82 of _0x55a26a[_0x2241('0x61')](_0xafa6c3[_0x2241('0xf')])['getItems']())_0x656c82['is'](_0x2241('0x2f'),_0x2241('0x7d'))&&_0x5d7471[_0x2241('0x55')](_0x656c82);_0x55a26a[_0x2241('0x51')](_0x46e8c6=>{for(const _0x56133e of _0x5d7471)_0x46e8c6[_0x2241('0x56')](_0x46e8c6['createRangeIn'](_0x56133e),_0x46e8c6['createPositionBefore'](_0x56133e)),_0x46e8c6['remove'](_0x56133e);});});}}function ce(_0x459e23){if(_0x459e23[_0x2241('0x45')])return!0x0;const _0x328149=_0x459e23[_0x2241('0x46')](0x0);return _0x328149['is']('element',_0x2241('0x83'))&&_0x328149[_0x2241('0x45')];}function fe(_0x1071e8,_0x29640f={},_0x559c2a){for(const {isAnchor:_0x2a66b4,cellHeight:_0x35c3f6,cellWidth:_0x28ff9f}of _0x559c2a[_0x2241('0x4a')](_0x1071e8,{'includeAllSlots':!0x0,..._0x29640f}))if(!_0x2a66b4||0x1!=_0x35c3f6||0x1!=_0x28ff9f)return!0x1;return!0x0;}
23
+ const _0x269b=['findAncestor','forceDefaultExecution','isInContent','dataDowncast','last','getAttributes','getColumns','getSelectionAffectedTableCells','stop','createPositionBefore','wrap','insertColumns','subType','paragraph','registerDescriptionCallback','rootName','_splitMarkerName','keys','options','author','createRangeIn','nextSibling','tableCellPadding','getChildren','set','getChild','differ','tableCellVerticalAlignment','accept','registerPostFixer','registerCustomCallback','ck-suggestion-marker--active','startsWith','entries','conversion','start','position','cells','plugins','tableCellBorderStyle','name','insertionRanges','columnInsertionIndexes','suggestion-td','insertRows','getChanges','first','endRow','suggestionUnloaded','add','TableUtils','push','createElement','tableCellBorderWidth','getRange','getItems','tableCellBackgroundColor','isEmpty','document','map','hasSuggestion','markerToHighlight','afterInit','_descriptionFactory','*Replace\x20table\x20cells*','requires','listenTo','low','deletion','end','trackChanges','newRange','filter','markers','rowInsertionRanges','markerName','tableCellBorderColor','model','some','tablePasteChainId','clipboardOutput','find','getContainedElement','suggestion','tablePasteColumn','getRows','type','Users','editingDowncast','getShiftedBy','getAllAdjacentSuggestions','remove','fill','_getCoordsForCells','locale','createTableWalker','row','TrackChangesEditing','getMarkers','getChangedMarkers','TableClipboard','reduce','tablePasteRow','move','tablePasteCell','removeColumns','documentSelection','root','tableCellSuggestion','suggestionLoaded','element','columns','commands','column','attributes','isEqual','insert','has','_tablePostFixingSubtypes','unwrap','fromEntries','removeMarkers','join','table','$graveyard','rowInsertionIndexes','discard','markerAttributes','ck-suggestion-marker','setAttributes','containsRange','insertContent','formatBlock','getSuggestion','change','activeMarkers','markMultiRangeBlockFormat','endColumn','_suggestionFactory','insertion','schema','includes','from','getRanges','register','get','showSuggestionHighlights','_createdBatches','_isForcedDefaultExecutionBlock','setAttribute','redo','getSuggestionCallback','length','oldRange','tablePaste','removeMarker','getSuggestions','markMultiRangeInsertion','high','_replaceTableSlotCell','batch','getColumnIndexes','tableCell','editor','removeRows','createRangeOn','tableCellHorizontalAlignment','view','previous','for'];(function(_0x8522eb,_0x269bb3){const _0x694c88=function(_0x359d17){while(--_0x359d17){_0x8522eb['push'](_0x8522eb['shift']());}};_0x694c88(++_0x269bb3);}(_0x269b,0x86));const _0x694c=function(_0x8522eb,_0x269bb3){_0x8522eb=_0x8522eb-0x0;let _0x694c88=_0x269b[_0x8522eb];return _0x694c88;};import{getTranslation as _0x908e9d}from'../utils/common-translations';import{Plugin as _0x2eaa5f}from'ckeditor5/src/core';import{uid as _0x5b32ea,priorities as _0x2feb0a}from'ckeditor5/src/utils';import _0xa7eb8f from'./table';const le=[_0x694c('0x59'),_0x694c('0x70'),_0x694c('0x4b'),_0x694c('0x20'),_0x694c('0x3f'),_0x694c('0x5c'),_0x694c('0x3a')],ae=Object['fromEntries'](le[_0x694c('0x5f')](_0x359144=>[_0x359144,null]));export default class wt extends _0x2eaa5f{static get[_0x694c('0x65')](){return[_0xa7eb8f];}[_0x694c('0x62')](){const _0x47d3f7=this[_0x694c('0x1d')];if(!_0x47d3f7[_0x694c('0x4a')]['has'](_0x694c('0x88')))return;const _0x514fc0=_0x47d3f7['plugins'][_0x694c('0xb')](_0x694c('0x85')),_0x2c6dfd=_0x47d3f7[_0x694c('0x4a')][_0x694c('0xb')](_0x694c('0x56')),_0x9c4fc9=_0x47d3f7[_0x694c('0x4a')][_0x694c('0xb')](_0xa7eb8f),_0x3fefb6=_0x47d3f7[_0x694c('0x4a')][_0x694c('0xb')](_0x694c('0x88'));_0x9c4fc9[_0x694c('0x9a')][_0x694c('0x57')]('tablePasteRow','tablePasteColumn'),_0x47d3f7['model'][_0x694c('0x6')][_0x694c('0xa')]('tableCellSuggestion',{'allowIn':_0x694c('0x1c'),'allowContentOf':_0x694c('0x1c'),'isLimit':!0x0}),_0x47d3f7[_0x694c('0x46')]['elementToElement']({'model':_0x694c('0x90'),'view':'suggestion-td'});let _0x5ce603=null;_0x47d3f7[_0x694c('0x71')]['on'](_0x694c('0xa7'),(_0x422a34,_0xbd14f1)=>{const [_0x1da4ee,_0x580700]=_0xbd14f1,_0x3b4fc3=_0xbd14f1[_0xbd14f1[_0x694c('0x12')]-0x1];_0x3b4fc3&&_0x3b4fc3[_0x694c('0x25')]||_0x514fc0[_0x694c('0xe')]||this['editor']['commands'][_0x694c('0xb')](_0x694c('0x6a'))['value']&&function(_0x43692d,_0x474258,_0x17709e,_0x5da1c7,_0x49968a){if(_0x474258&&!_0x474258['is'](_0x694c('0x8e')))return!0x1;const _0x334b45=_0x49968a['getTableIfOnlyTableInContent'](_0x43692d,_0x17709e);if(!_0x334b45||!fe(_0x334b45,void 0x0,_0x5da1c7))return!0x1;const _0x4fc510=_0x5da1c7[_0x694c('0x2b')](_0x17709e[_0x694c('0x5e')]['selection']);if(!_0x4fc510[_0x694c('0x12')])return!0x1;const _0x8c6b50=_0x4fc510[0x0][_0x694c('0x24')](_0x694c('0x9f')),_0x4f4366=_0x5da1c7['getRowIndexes'](_0x4fc510),_0x1761f9=_0x5da1c7[_0x694c('0x1b')](_0x4fc510),_0x12d588={'startRow':_0x4f4366[_0x694c('0x52')],'endRow':_0x4f4366[_0x694c('0x28')],'startColumn':_0x1761f9[_0x694c('0x52')],'endColumn':_0x1761f9['last']};return 0x1==_0x4fc510['length']&&(_0x12d588[_0x694c('0x53')]+=_0x5da1c7[_0x694c('0x79')](_0x334b45)-0x1,_0x12d588[_0x694c('0x3')]+=_0x5da1c7[_0x694c('0x2a')](_0x334b45)-0x1),fe(_0x8c6b50,_0x12d588,_0x5da1c7);}(_0x1da4ee,_0x580700,_0x47d3f7[_0x694c('0x71')],_0x2c6dfd,_0x3fefb6)&&(_0x422a34[_0x694c('0x2c')](),_0x5ce603={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x47d3f7[_0x694c('0x71')][_0x694c('0x0')](()=>{_0x47d3f7[_0x694c('0x71')]['insertContent'](_0xbd14f1[0x0],_0xbd14f1[0x1],_0xbd14f1[0x2],{'forceDefaultExecution':!0x0});const _0x19715b=_0x5b32ea(),{rowInsertionRanges:_0x3f8dc9,columnInsertionRanges:_0x412522,insertionRanges:_0x36f462,deletionRanges:_0xbd1be1,cells:_0x657f74}=_0x5ce603;_0x3f8dc9['length']&&_0x514fc0['markMultiRangeInsertion'](_0x3f8dc9,'tablePasteRow',{'tablePasteChainId':_0x19715b}),_0x412522[_0x694c('0x12')]&&_0x514fc0[_0x694c('0x17')](_0x412522,_0x694c('0x78'),{'tablePasteChainId':_0x19715b}),_0x36f462[_0x694c('0x12')]&&_0x514fc0['markMultiRangeInsertion'](_0x36f462,_0x694c('0x14'),{'tablePasteChainId':_0x19715b,'skipNestingCheck':!0x0}),_0xbd1be1['length']&&_0x514fc0['markMultiRangeDeletion'](_0xbd1be1,_0x694c('0x14'),{'tablePasteChainId':_0x19715b,'skipNestingCheck':!0x0});const _0x518390=_0x514fc0[_0x694c('0x2')](_0x657f74[_0x694c('0x5f')](({element:_0x1387fc})=>_0x1387fc),{'formatGroupId':_0x5b32ea()},[],_0x694c('0x8c'),{'tablePasteChainId':_0x19715b});if(_0x518390){const _0x39cd4b=_0x518390[_0x694c('0x86')](),_0x152a4d=[];for(const {element:_0x31d4ef,attributes:_0xf253a0}of _0x657f74){if(!_0xf253a0)continue;const _0x13d97d=_0x47d3f7['model'][_0x694c('0x1f')](_0x31d4ef),_0x50a5ac=_0x39cd4b['find'](_0x306dd5=>_0x306dd5[_0x694c('0x5a')]()['isEqual'](_0x13d97d));_0x50a5ac&&_0x152a4d['push']([_0x50a5ac[_0x694c('0x4c')],_0xf253a0]);}_0x152a4d[_0x694c('0x12')]&&_0x518390[_0x694c('0xf')](_0x694c('0xa3'),Object[_0x694c('0x9c')](_0x152a4d));}_0x5ce603=null;}));},{'priority':_0x2feb0a[_0x694c('0x18')]+0xa}),_0x47d3f7[_0x694c('0x4a')]['get'](_0x694c('0x88'))['on'](_0x694c('0x19'),(_0x48dee3,_0x5ce9d7)=>{const [_0x128f78,_0x13aee2,,_0x315028]=_0x5ce9d7;if(!_0x5ce603)return;_0x48dee3[_0x694c('0x2c')]();const _0x581843=_0x128f78['cell'],_0x20cfb2=_0x13aee2,_0x4ebd7d=ce(_0x581843),_0x287b9d=ce(_0x20cfb2);_0x48dee3['return']=_0x581843;let _0x5cc5a7=null,_0x817209=null;if(_0x287b9d||_0x4ebd7d){if(_0x4ebd7d&&!_0x287b9d){_0x315028[_0x694c('0x7f')](_0x581843['getChild'](0x0));for(const _0x15a4e6 of Array['from'](_0x20cfb2[_0x694c('0x3b')]()))_0x315028[_0x694c('0x98')](_0x15a4e6,_0x581843,_0x694c('0x69'));const _0xd2fd2b=_0x5ce603[_0x694c('0xa1')]['includes'](_0x128f78[_0x694c('0x84')]),_0x12fac0=_0x5ce603[_0x694c('0x4e')]['includes'](_0x128f78[_0x694c('0x95')]);_0xd2fd2b||_0x12fac0||(_0x5cc5a7=_0x315028['createRangeIn'](_0x581843));}else _0x287b9d&&!_0x4ebd7d&&(_0x817209=_0x315028[_0x694c('0x38')](_0x581843));}else{const _0x52c517=_0x315028[_0x694c('0x58')](_0x694c('0x90')),_0x4227ed=_0x315028[_0x694c('0x58')](_0x694c('0x90'));_0x315028[_0x694c('0x2e')](_0x315028[_0x694c('0x38')](_0x581843),_0x4227ed),_0x315028['insert'](_0x52c517,_0x581843,0x0);for(const _0x1a287d of Array[_0x694c('0x8')](_0x20cfb2[_0x694c('0x3b')]()))_0x315028[_0x694c('0x98')](_0x1a287d,_0x52c517,_0x694c('0x69'));_0x5cc5a7=_0x315028[_0x694c('0x1f')](_0x52c517),_0x817209=_0x315028[_0x694c('0x1f')](_0x4227ed);}const _0x483711=Array[_0x694c('0x8')](_0x20cfb2[_0x694c('0x29')]())[_0x694c('0x6c')](([_0x11b717])=>le[_0x694c('0x7')](_0x11b717));_0x5ce603[_0x694c('0x49')]['push']({'element':_0x581843,'attributes':_0x483711[_0x694c('0x12')]?Object[_0x694c('0x9c')](_0x483711):null}),_0x5cc5a7&&_0x5ce603[_0x694c('0x4d')][_0x694c('0x57')](_0x5cc5a7),_0x817209&&_0x5ce603['deletionRanges'][_0x694c('0x57')](_0x817209);},{'priority':_0x694c('0x18')}),_0x2c6dfd['on'](_0x694c('0x2f'),(_0x2b15af,_0x165a45)=>{const [_0x2f5314,_0x328939={}]=_0x165a45;if(!_0x5ce603)return;const _0x314c93=_0x328939['at']||0x0,_0x50a65a=_0x328939[_0x694c('0x93')]||0x1;_0x5ce603[_0x694c('0x4e')]=new Array(_0x50a65a)[_0x694c('0x80')](_0x314c93)[_0x694c('0x5f')]((_0x397098,_0x392871)=>_0x397098+_0x392871);for(const {cell:_0x342106}of _0x2c6dfd[_0x694c('0x83')](_0x2f5314,{'startColumn':_0x314c93,'endColumn':_0x314c93+_0x50a65a-0x1}))_0x5ce603['columnInsertionRanges'][_0x694c('0x57')](_0x47d3f7[_0x694c('0x71')][_0x694c('0x1f')](_0x342106));},{'priority':'low'}),_0x2c6dfd['on'](_0x694c('0x50'),(_0x4435f5,_0x416074)=>{const [_0x1f8bb4,_0x5f4462={}]=_0x416074;if(!_0x5ce603)return;const _0x50daef=_0x5f4462['at']||0x0,_0xfa62a2=_0x5f4462['rows']||0x1;_0x5ce603[_0x694c('0xa1')]=new Array(_0xfa62a2)['fill'](_0x50daef)['map']((_0x17a2e9,_0x1d6c10)=>_0x17a2e9+_0x1d6c10);for(const {cell:_0x2aef0f}of _0x2c6dfd[_0x694c('0x83')](_0x1f8bb4,{'startRow':_0x50daef,'endRow':_0x50daef+_0xfa62a2-0x1}))_0x5ce603[_0x694c('0x6e')]['push'](_0x47d3f7[_0x694c('0x71')]['createRangeOn'](_0x2aef0f));},{'priority':_0x694c('0x67')}),_0x514fc0[_0x694c('0x63')][_0x694c('0x32')](_0x450c83=>{if(_0x450c83['subType']&&_0x450c83['subType'][_0x694c('0x44')](_0x694c('0x14')))return _0x450c83[_0x694c('0x22')]?{}:{'type':_0x694c('0x5'),'content':_0x908e9d(_0x47d3f7[_0x694c('0x82')],_0x694c('0x64'))};});const _0x4fcf5b=()=>!0x1;for(const _0x34a3fc of['tablePaste',_0x694c('0x78'),_0x694c('0x8a'),'tablePasteCell'])_0x514fc0['_suggestionFactory'][_0x694c('0x42')](_0x694c('0x5'),_0x34a3fc,_0x694c('0x9e'),_0x4fcf5b),_0x514fc0[_0x694c('0x4')][_0x694c('0x42')](_0x694c('0x68'),_0x34a3fc,'join',_0x4fcf5b),_0x514fc0[_0x694c('0x4')][_0x694c('0x42')](_0x694c('0xa8'),_0x34a3fc,_0x694c('0x9e'),_0x4fcf5b);_0x514fc0[_0x694c('0x4')][_0x694c('0x42')](_0x694c('0xa8'),_0x694c('0x8c'),_0x694c('0xa2'),_0x4fcf5b),_0x514fc0['_suggestionFactory'][_0x694c('0x42')](_0x694c('0xa8'),'tablePasteCell',_0x694c('0x40'),(_0x58862f,_0x2604f7,_0x5bae72)=>{const _0x43ea0e=_0x58862f['map'](_0x1961ef=>_0x1961ef[_0x694c('0x76')]())[_0x694c('0x6c')](_0x3aac23=>_0x3aac23),_0x1578db=new Map(_0x43ea0e[_0x694c('0x5f')](_0x582bc3=>[_0x582bc3,null]));if(_0x5ce603)for(const {element:_0x2c72cd,attributes:_0x5b1c5c}of _0x5ce603['cells'])_0x5b1c5c&&_0x1578db[_0x694c('0x3c')](_0x2c72cd,_0x5b1c5c);else{if(_0x5bae72&&_0x5bae72['markerAttributes'])for(const [_0x384c40,_0x571ba9]of Object[_0x694c('0x45')](_0x5bae72[_0x694c('0xa3')])){const _0xb1ce48=_0x47d3f7['model'][_0x694c('0x6d')][_0x694c('0xb')](_0x384c40),_0x199fbe=_0xb1ce48?_0xb1ce48[_0x694c('0x5a')]()['getContainedElement']():null;_0x199fbe&&_0x1578db[_0x694c('0x3c')](_0x199fbe,_0x571ba9);}}_0x47d3f7[_0x694c('0x71')][_0x694c('0x0')](_0x47253d=>{for(const [_0xa16c2e,_0x175253]of _0x1578db)_0x47253d[_0x694c('0xa5')]({...ae,..._0x175253},_0xa16c2e);});});const _0x74399c=(_0x65ea9,_0x3055ce)=>{_0x514fc0['_suggestionFactory'][_0x694c('0x42')](_0x65ea9,_0x694c('0x14'),_0x3055ce,(_0x36b179,_0x1fc5c4,_0x24f548)=>{_0x47d3f7[_0x694c('0x71')][_0x694c('0x0')](_0x3f13e8=>{const _0x4994f7=[];for(const _0x2dbca1 of _0x36b179){const _0x17e0f8=_0x2dbca1[_0x694c('0x47')]['nodeAfter'];_0x17e0f8['is'](_0x694c('0x92'),'tableCellSuggestion')&&_0x4994f7['push'](_0x17e0f8);}_0x514fc0['_suggestionFactory'][_0x694c('0x11')](_0x65ea9,null,_0x3055ce)(_0x36b179,_0x1fc5c4,_0x24f548);for(const _0x365088 of _0x4994f7)_0x694c('0xa0')!=_0x365088[_0x694c('0x8f')][_0x694c('0x33')]&&_0x3f13e8[_0x694c('0x9b')](_0x365088);});});};_0x74399c('insertion',_0x694c('0x40')),_0x74399c(_0x694c('0x5'),'discard'),_0x74399c('deletion',_0x694c('0x40')),_0x74399c(_0x694c('0x68'),_0x694c('0xa2')),_0x514fc0[_0x694c('0x4')]['registerCustomCallback'](_0x694c('0x5'),_0x694c('0x8a'),_0x694c('0xa2'),_0x5175d0=>{const _0x368ea0=_0x5175d0['map'](_0xc2e85b=>_0xc2e85b[_0x694c('0x76')]()),_0xbb7df7=_0x368ea0[0x0][_0x694c('0x24')]('table'),{minRow:_0x4c4f3e,maxRow:_0x3ad63c}=_0x9c4fc9[_0x694c('0x81')](_0x368ea0);_0x2c6dfd[_0x694c('0x1e')](_0xbb7df7,{'at':_0x4c4f3e,'rows':_0x3ad63c-_0x4c4f3e+0x1});}),_0x514fc0[_0x694c('0x4')]['registerCustomCallback'](_0x694c('0x5'),_0x694c('0x78'),'discard',_0x145a27=>{const _0x1a489c=_0x145a27['map'](_0x323440=>_0x323440['getContainedElement']()),_0x5b77a3=_0x1a489c[0x0][_0x694c('0x24')]('table'),{minColumn:_0x4e401f,maxColumn:_0x727652}=_0x9c4fc9[_0x694c('0x81')](_0x1a489c);_0x2c6dfd[_0x694c('0x8d')](_0x5b77a3,{'at':_0x4e401f,'columns':_0x727652-_0x4e401f+0x1});});const _0x2270b0=(_0x244224,_0x559dec)=>{if(!_0x559dec[_0x694c('0x30')]||!_0x559dec['subType'][_0x694c('0x44')](_0x694c('0x14')))return;const _0x514def=_0x559dec[_0x694c('0x96')][_0x694c('0x73')],_0x4181e5=_0x514fc0[_0x694c('0x16')]()[_0x694c('0x6c')](_0x1fbc9=>_0x1fbc9['isInContent']&&_0x1fbc9[_0x694c('0x96')]&&_0x1fbc9['attributes'][_0x694c('0x73')]==_0x514def);_0x4181e5['length']&&_0x559dec[_0x694c('0x7e')]()[_0x694c('0x12')]!=_0x4181e5['length']&&_0x4181e5[_0x694c('0x89')]((_0x55bd64,_0x10a684)=>(_0x55bd64['next']=_0x10a684,_0x10a684['previous']=_0x55bd64,_0x10a684));};function _0x434bab(_0x3c909d,_0x3a876e=!0x0){const {id:_0x450702}=_0x514fc0[_0x694c('0x34')](_0x3c909d[_0x694c('0x6f')]),_0x161003=[_0x694c('0xa4'),'ck-suggestion-marker-insertion'],_0x5cfaf5=_0x514fc0[_0x694c('0x1')]['includes'](_0x3c909d[_0x694c('0x6f')]);return _0x5cfaf5&&_0x161003[_0x694c('0x57')](_0x694c('0x43')),{'classes':_0x161003,'attributes':{'data-suggestion':_0x450702},'priority':_0x5cfaf5&&_0x3a876e?0xbc2:0xbb8};}_0x514fc0['on'](_0x694c('0x91'),_0x2270b0,{'priority':_0x694c('0x18')}),_0x514fc0['on'](_0x694c('0x54'),_0x2270b0,{'priority':_0x694c('0x18')}),_0x47d3f7['model'][_0x694c('0x5e')]['registerPostFixer'](()=>{let _0x5b3b88=!0x1;const _0x14d45a=Array[_0x694c('0x8')](_0x47d3f7[_0x694c('0x71')]['document'][_0x694c('0x3e')][_0x694c('0x87')]());for(const {name:_0x3e2dbe,data:_0x51021f}of _0x14d45a){const {group:_0x3b634b,type:_0x32037c,id:_0x466adf}=_0x514fc0[_0x694c('0x34')](_0x3e2dbe);if('suggestion'!=_0x3b634b||'deletion'!=_0x32037c||_0x51021f[_0x694c('0x13')])continue;if(!_0x514fc0[_0x694c('0x60')](_0x466adf))continue;const _0x4d0696=_0x514fc0[_0x694c('0xa9')](_0x466adf)['getRanges'](),_0x42af28=_0x47d3f7['plugins'][_0x694c('0xb')](_0x694c('0x7b'))['me'];for(const _0x4f01f0 of _0x514fc0[_0x694c('0x16')]()){if(!_0x4f01f0[_0x694c('0x26')]||_0x4f01f0[_0x694c('0x37')]!=_0x42af28)continue;if(_0x694c('0xa8')!=_0x4f01f0['type']||_0x694c('0x8c')!=_0x4f01f0[_0x694c('0x30')])continue;if(_0x4f01f0[_0x694c('0x9')]()['every'](_0x347018=>_0x4d0696[_0x694c('0x72')](_0x414c6d=>_0x414c6d[_0x694c('0xa6')](_0x347018,!0x0))))for(const _0x3796aa of _0x4f01f0['getAllAdjacentSuggestions']())_0x3796aa[_0x694c('0x26')]&&(_0x3796aa[_0x694c('0xa2')](),_0x5b3b88=!0x0);}}return _0x5b3b88;}),_0x47d3f7[_0x694c('0x71')][_0x694c('0x5e')]['registerPostFixer'](_0x2d34e2=>{const _0x1326c4=_0x47d3f7[_0x694c('0x94')]['get'](_0x694c('0x10'));if(!_0x1326c4||!_0x1326c4[_0x694c('0xd')][_0x694c('0x99')](_0x2d34e2[_0x694c('0x1a')]))return!0x1;let _0xd2a0ac=!0x1;const _0x119f10=_0x47d3f7[_0x694c('0x4a')][_0x694c('0xb')]('Users')['me'],_0x427499=_0x47d3f7['model'][_0x694c('0x5e')][_0x694c('0x3e')][_0x694c('0x51')](),_0x457682=Array[_0x694c('0x8')](_0x47d3f7['model'][_0x694c('0x5e')][_0x694c('0x3e')][_0x694c('0x87')]())[_0x694c('0x6c')](({name:_0x4499c0,data:_0x2da045})=>{const {group:_0x22e28e,subType:_0x83c4a2,authorId:_0x3136fc}=_0x514fc0['_splitMarkerName'](_0x4499c0);return _0x694c('0x77')==_0x22e28e&&'tablePaste'==_0x83c4a2&&_0x3136fc==_0x119f10['id']&&!_0x2da045[_0x694c('0x13')];});for(const _0x301358 of _0x427499){if(_0x694c('0x98')!=_0x301358[_0x694c('0x7a')]||'tableCellSuggestion'!=_0x301358[_0x694c('0x4c')]||0x1!=_0x301358[_0x694c('0x12')])continue;const _0x19a2dc=_0x2d34e2['createRange'](_0x301358['position'],_0x301358[_0x694c('0x48')][_0x694c('0x7d')](0x1));if(!_0x457682[_0x694c('0x75')](({data:_0x4f9acc})=>_0x4f9acc[_0x694c('0x6b')][_0x694c('0x97')](_0x19a2dc)))for(const {name:_0x3cae99,data:_0x3f3c52}of _0x457682)if(_0x19a2dc[_0x694c('0xa6')](_0x3f3c52['newRange'])){_0x2d34e2['updateMarker'](_0x3cae99,{'range':_0x19a2dc}),_0xd2a0ac=!0x0;break;}}return _0xd2a0ac;}),_0x47d3f7[_0x694c('0x71')][_0x694c('0x5e')][_0x694c('0x41')](_0x3260fe=>{let _0x23b6c9=!0x1;const _0x2337fa=_0x47d3f7[_0x694c('0x4a')]['get'](_0x694c('0x7b'))['me'],_0xd1b280=_0x514fc0['getSuggestions']()[_0x694c('0x6c')](_0x49d22e=>_0x49d22e[_0x694c('0x26')]&&_0x49d22e[_0x694c('0x37')]==_0x2337fa),_0x505896=new Set(),_0x1e8120=new Set();for(const _0x1411f1 of _0xd1b280)if(_0x694c('0x14')==_0x1411f1[_0x694c('0x30')])for(const _0x104a30 of _0x1411f1[_0x694c('0x86')]()){const _0x14f1a8=_0x104a30[_0x694c('0x5a')]()['getContainedElement']();if(_0x14f1a8){if(_0x14f1a8['is'](_0x694c('0x92'),_0x694c('0x90'))&&ce(_0x14f1a8)){_0x1411f1[_0x694c('0x15')](_0x104a30[_0x694c('0x4c')]),_0x505896[_0x694c('0x55')](_0x14f1a8),_0x23b6c9=!0x0;const _0x35500b=_0x14f1a8[_0x694c('0x39')],_0x359ee6=_0x14f1a8['previousSibling'],_0x423912=_0x35500b&&_0x35500b['is'](_0x694c('0x92'),'tableCellSuggestion'),_0x2adfdf=_0x359ee6&&_0x359ee6['is'](_0x694c('0x92'),_0x694c('0x90'));_0x423912&&!_0x505896['has'](_0x35500b)&&_0x1e8120[_0x694c('0x55')](_0x35500b),_0x2adfdf&&!_0x505896[_0x694c('0x99')](_0x359ee6)&&_0x1e8120[_0x694c('0x55')](_0x359ee6);}else _0x14f1a8['is'](_0x694c('0x92'),'paragraph')&&_0x14f1a8[_0x694c('0x5d')]&&(_0x1411f1[_0x694c('0x15')](_0x104a30[_0x694c('0x4c')]),_0x23b6c9=!0x0);}}else{if(_0x694c('0x8c')==_0x1411f1[_0x694c('0x30')]){if(!_0x1411f1[_0x694c('0x96')]||!_0x1411f1[_0x694c('0x96')][_0x694c('0x73')])continue;const _0x3daaa4=_0x1411f1[_0x694c('0x96')][_0x694c('0xa3')];if(_0x3daaa4&&Object[_0x694c('0x35')](_0x3daaa4)[_0x694c('0x12')])continue;const _0x4f819e=_0x1411f1[_0x694c('0x96')]['tablePasteChainId'];let _0x15fa21=!0x0,_0xd9ecaf=!0x0;for(const _0x509fb0 of _0xd1b280)if(_0x509fb0[_0x694c('0x30')]&&_0x509fb0['subType']['startsWith'](_0x694c('0x14'))){if(!_0x509fb0['attributes']['tablePasteChainId']){_0xd9ecaf=!0x1;break;}if(_0x509fb0['id']!=_0x1411f1['id']&&_0x509fb0[_0x694c('0x96')][_0x694c('0x73')]==_0x4f819e){_0x15fa21=!0x1;break;}}_0xd9ecaf&&_0x15fa21&&(_0x1411f1[_0x694c('0x9d')](),_0x23b6c9=!0x0);}}for(const _0x535273 of _0x505896)_0x3260fe[_0x694c('0x7f')](_0x535273);for(const _0x280817 of _0x1e8120)_0x3260fe[_0x694c('0x9b')](_0x280817);return _0x23b6c9;}),_0x47d3f7['conversion'][_0x694c('0x23')](_0x694c('0x7c'))[_0x694c('0x61')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5a348e,_0x48e694)=>_0x434bab(_0x5a348e),'converterPriority':'high'}),_0x47d3f7['conversion'][_0x694c('0x23')](_0x694c('0x27'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x221275,_0x12e8f7)=>_0x12e8f7[_0x694c('0x36')][_0x694c('0xc')]?_0x434bab(_0x221275,!0x1):null,'converterPriority':_0x694c('0x18')});const _0x59dfd0=_0x47d3f7['editing'][_0x694c('0x21')];this[_0x694c('0x66')](_0x59dfd0[_0x694c('0x5e')],_0x694c('0x74'),(_0x280249,_0x913ce3)=>{const _0x99fc36=[];for(const _0x10cc52 of _0x59dfd0[_0x694c('0x38')](_0x913ce3['content'])[_0x694c('0x5b')]())_0x10cc52['is'](_0x694c('0x92'),_0x694c('0x4f'))&&_0x99fc36[_0x694c('0x57')](_0x10cc52);_0x59dfd0[_0x694c('0x0')](_0x3bf723=>{for(const _0x115bf3 of _0x99fc36)_0x3bf723[_0x694c('0x8b')](_0x3bf723[_0x694c('0x38')](_0x115bf3),_0x3bf723[_0x694c('0x2d')](_0x115bf3)),_0x3bf723[_0x694c('0x7f')](_0x115bf3);});});}}function ce(_0xadb2fd){if(_0xadb2fd[_0x694c('0x5d')])return!0x0;const _0x5c3c31=_0xadb2fd[_0x694c('0x3d')](0x0);return _0x5c3c31['is'](_0x694c('0x92'),_0x694c('0x31'))&&_0x5c3c31[_0x694c('0x5d')];}function fe(_0x17cf55,_0x2f7e1c={},_0x27dfca){for(const {isAnchor:_0x513b4f,cellHeight:_0x59a018,cellWidth:_0x10eee8}of _0x27dfca['createTableWalker'](_0x17cf55,{'includeAllSlots':!0x0,..._0x2f7e1c}))if(!_0x513b4f||0x1!=_0x59a018||0x1!=_0x10eee8)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x929c=['getAttribute','afterInit','_descriptionFactory','handleSuggestionDescription','model','data','TableColumnResizeEditing','markBlockFormat','table','editor','subType','_suggestionFactory','Users','formatGroupId','enableCommand','getSelectedElement','registerDescriptionCallback','registerCustomCallback','change','resizeTable','selection','accept','getContainedElement','formatBlock','getTableColumnsWidths','plugins','get','resizeColumnWidths','document','columnWidths','bind','handleResizeTableWidthCommand','format','TrackChangesEditing','*Format:*\x20resize\x20table','tableWidth','discard','author'];(function(_0x3a6e70,_0x929c22){const _0x10bb7a=function(_0xa5df31){while(--_0xa5df31){_0x3a6e70['push'](_0x3a6e70['shift']());}};_0x10bb7a(++_0x929c22);}(_0x929c,0x159));const _0x10bb=function(_0x3a6e70,_0x929c22){_0x3a6e70=_0x3a6e70-0x0;let _0x10bb7a=_0x929c[_0x3a6e70];return _0x10bb7a;};import{Plugin as _0x26fd05}from'ckeditor5/src/core';import{getTranslation as _0x2cb866}from'../utils/common-translations';export default class yt extends _0x26fd05{[_0x10bb('0x24')](){if(!this[_0x10bb('0x6')][_0x10bb('0x16')]['has'](_0x10bb('0x3')))return;const _0x1234de=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x1e'));_0x1234de[_0x10bb('0xb')]('resizeTableWidth',this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['enableCommand'](_0x10bb('0x18'),this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','accept',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x21'))),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','discard',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x12'))),_0x1234de[_0x10bb('0x25')][_0x10bb('0xd')](this['handleSuggestionDescription'][_0x10bb('0x1b')](this));}['handleResizeTableWidthCommand'](_0x5b363c,_0xe428a2){const _0x4180aa=this['editor']['plugins'][_0x10bb('0x17')](_0x10bb('0x1e')),_0x41dd1a=this[_0x10bb('0x6')][_0x10bb('0x16')]['get'](_0x10bb('0x3')),_0x456ed6=_0xe428a2[_0x10bb('0x5')]||this[_0x10bb('0x6')][_0x10bb('0x1')][_0x10bb('0x19')][_0x10bb('0x11')][_0x10bb('0xc')]();this[_0x10bb('0x6')]['model'][_0x10bb('0xf')](()=>{const _0x5cf620=_0x41dd1a['getColumnGroupElement'](_0x456ed6);let _0x552962=_0x5cf620?_0x41dd1a[_0x10bb('0x15')](_0x5cf620):null,_0x1d52d7=_0x456ed6[_0x10bb('0x23')](_0x10bb('0x20'))||null;const _0xb9bec1=_0xe428a2['tableWidth']||_0x1d52d7,_0x205942=_0xe428a2[_0x10bb('0x1a')]||_0x552962,_0x38010c=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x9'))['me'];for(const _0x14a61e of _0x4180aa['getSuggestions']()){const _0x3acfda=_0x14a61e[_0x10bb('0x13')]();if(_0x10bb('0x10')===_0x14a61e[_0x10bb('0x7')]&&_0x3acfda===_0x456ed6){_0x14a61e[_0x10bb('0x22')]!==_0x38010c&&_0x14a61e['discard']();const _0x1106ba=_0x14a61e[_0x10bb('0x2')]['commandParams'];_0x1d52d7=_0x1106ba[0x0][_0x10bb('0x20')],_0x552962=_0x1106ba[0x0]['columnWidths'];break;}}_0x5b363c({'table':_0x456ed6,'tableWidth':_0xb9bec1,'columnWidths':_0x205942}),_0x4180aa[_0x10bb('0x4')](_0x456ed6,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1d52d7,'columnWidths':_0x552962}],'formatGroupId':'resizeTable'},[],_0x10bb('0x10'));});}[_0x10bb('0x0')](_0x32ddf4){const {data:_0x43b871}=_0x32ddf4;if(_0x43b871&&_0x10bb('0x10')===_0x43b871[_0x10bb('0xa')]){const _0x19ced6=_0x10bb('0x1f');return{'type':_0x10bb('0x1d'),'content':_0x2cb866(this['editor']['locale'],_0x19ced6)};}}}
23
+ const _0x1bf2=['formatGroupId','has','model','locale','handleSuggestionDescription','tableWidth','get','getAttribute','getSuggestionCallback','bind','markBlockFormat','Users','formatBlock','document','author','columnWidths','_suggestionFactory','data','commandParams','plugins','getContainedElement','discard','getSelectedElement','resizeColumnWidths','table','subType','resizeTable','resizeTableWidth','TableColumnResizeEditing','editor','afterInit','TrackChangesEditing','handleResizeTableWidthCommand','registerDescriptionCallback','registerCustomCallback','_descriptionFactory','selection','format','enableCommand'];(function(_0x3e3dcf,_0x1bf2c8){const _0x17f2a0=function(_0x395d62){while(--_0x395d62){_0x3e3dcf['push'](_0x3e3dcf['shift']());}};_0x17f2a0(++_0x1bf2c8);}(_0x1bf2,0x169));const _0x17f2=function(_0x3e3dcf,_0x1bf2c8){_0x3e3dcf=_0x3e3dcf-0x0;let _0x17f2a0=_0x1bf2[_0x3e3dcf];return _0x17f2a0;};import{Plugin as _0x81bc3c}from'ckeditor5/src/core';import{getTranslation as _0x185526}from'../utils/common-translations';export default class yt extends _0x81bc3c{[_0x17f2('0x14')](){if(!this['editor'][_0x17f2('0x9')][_0x17f2('0x1e')](_0x17f2('0x12')))return;const _0x12c97c=this[_0x17f2('0x13')][_0x17f2('0x9')][_0x17f2('0x23')]('TrackChangesEditing');_0x12c97c[_0x17f2('0x1c')](_0x17f2('0x11'),this[_0x17f2('0x16')][_0x17f2('0x26')](this)),_0x12c97c[_0x17f2('0x1c')](_0x17f2('0xd'),this['handleResizeTableWidthCommand'][_0x17f2('0x26')](this)),_0x12c97c[_0x17f2('0x6')][_0x17f2('0x18')](_0x17f2('0x2'),_0x17f2('0x10'),'accept',_0x12c97c[_0x17f2('0x6')][_0x17f2('0x25')](_0x17f2('0x2'),null,_0x17f2('0xb'))),_0x12c97c[_0x17f2('0x6')][_0x17f2('0x18')]('formatBlock',_0x17f2('0x10'),_0x17f2('0xb'),_0x12c97c[_0x17f2('0x6')][_0x17f2('0x25')]('formatBlock',null,'accept')),_0x12c97c[_0x17f2('0x19')][_0x17f2('0x17')](this[_0x17f2('0x21')][_0x17f2('0x26')](this));}['handleResizeTableWidthCommand'](_0x4b8469,_0x7e1979){const _0x44e25b=this[_0x17f2('0x13')][_0x17f2('0x9')][_0x17f2('0x23')](_0x17f2('0x15')),_0x5d3f41=this[_0x17f2('0x13')][_0x17f2('0x9')][_0x17f2('0x23')](_0x17f2('0x12')),_0x47a6f4=_0x7e1979[_0x17f2('0xe')]||this[_0x17f2('0x13')]['model'][_0x17f2('0x3')][_0x17f2('0x1a')][_0x17f2('0xc')]();this['editor'][_0x17f2('0x1f')]['change'](()=>{const _0x436587=_0x5d3f41['getColumnGroupElement'](_0x47a6f4);let _0x431e68=_0x436587?_0x5d3f41['getTableColumnsWidths'](_0x436587):null,_0x5478c9=_0x47a6f4[_0x17f2('0x24')](_0x17f2('0x22'))||null;const _0x76c324=_0x7e1979[_0x17f2('0x22')]||_0x5478c9,_0x4e2f38=_0x7e1979[_0x17f2('0x5')]||_0x431e68,_0x4bfd5c=this[_0x17f2('0x13')][_0x17f2('0x9')][_0x17f2('0x23')](_0x17f2('0x1'))['me'];for(const _0x58c067 of _0x44e25b['getSuggestions']()){const _0x1a9b3d=_0x58c067[_0x17f2('0xa')]();if(_0x17f2('0x10')===_0x58c067[_0x17f2('0xf')]&&_0x1a9b3d===_0x47a6f4){_0x58c067[_0x17f2('0x4')]!==_0x4bfd5c&&_0x58c067[_0x17f2('0xb')]();const _0x33a297=_0x58c067[_0x17f2('0x7')][_0x17f2('0x8')];_0x5478c9=_0x33a297[0x0]['tableWidth'],_0x431e68=_0x33a297[0x0][_0x17f2('0x5')];break;}}_0x4b8469({'table':_0x47a6f4,'tableWidth':_0x76c324,'columnWidths':_0x4e2f38}),_0x44e25b[_0x17f2('0x0')](_0x47a6f4,{'commandName':_0x17f2('0x11'),'commandParams':[{'tableWidth':_0x5478c9,'columnWidths':_0x431e68}],'formatGroupId':_0x17f2('0x10')},[],_0x17f2('0x10'));});}['handleSuggestionDescription'](_0x39c0eb){const {data:_0x29befb}=_0x39c0eb;if(_0x29befb&&_0x17f2('0x10')===_0x29befb[_0x17f2('0x1d')]){const _0x10b80a='*Format:*\x20resize\x20table';return{'type':_0x17f2('0x1b'),'content':_0x185526(this[_0x17f2('0x13')][_0x17f2('0x20')],_0x10b80a)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4afd=['forceValue','getAttribute','setAttribute','removeMarker:suggestion','stop','FORMAT_REGULAR_COLUMN','addMarker:suggestion','_splitMarkerName','format','locale','unbindElementFromMarkerName','consume','options','createPositionAfter','requires','consumable','from','selection','setTableRowHeader','ck-suggestion-marker--active','commandName','formatBlock','get','cell','end','createTableWalker','bindElementToMarker','addClass','model','plugins','isBefore','createRange','table','data-suggestion','has','getSuggestion','removeClass','headingColumns','registerDescriptionCallback','*Format:*\x20%0','childCount','commandParams','mapper','editor','markerNameToElements','activeMarkers','editing','index','getColumnIndexes','downcastDispatcher','FORMAT_HEADER_ROW','value','start','afterInit','setTableColumnHeader','registerCustomCallback','findAncestor','writer','parent','highest','commands','_suggestionFactory','getChild','markerName','document','headingRows','enableCommand','accept','change','createPositionBefore','last','first','name','getSelectionAffectedTableCells','toViewElement','getCellLocation','markerRange','data','TableEditing','FORMAT_HEADER_COLUMN','item'];(function(_0x24d11e,_0x4afd5b){const _0x58e759=function(_0x64b51){while(--_0x64b51){_0x24d11e['push'](_0x24d11e['shift']());}};_0x58e759(++_0x4afd5b);}(_0x4afd,0xfe));const _0x58e7=function(_0x24d11e,_0x4afd5b){_0x24d11e=_0x24d11e-0x0;let _0x58e759=_0x4afd[_0x24d11e];return _0x58e759;};import{Plugin as _0x234a16}from'ckeditor5/src/core';import _0x543033 from'./table';import{getTranslation as _0x30d96f}from'../utils/common-translations';export default class kt extends _0x234a16{static get[_0x58e7('0x3')](){return[_0x543033];}[_0x58e7('0x2a')](){const _0xe2777c=this[_0x58e7('0x20')];if(!_0xe2777c[_0x58e7('0x12')][_0x58e7('0x17')](_0x58e7('0x43')))return;const _0x26d997=_0xe2777c[_0x58e7('0x4f')],_0x56de6a=_0xe2777c[_0x58e7('0x12')]['get']('TrackChangesEditing'),_0xf06441=_0xe2777c[_0x58e7('0x12')]['get']('TableUtils'),_0x42328c=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')](_0x543033);function _0x5617a3({showActiveMarker:_0x41089e=!0x0,setDataAttribute:_0x5728e2=!0x0}={}){return(_0x2c5352,_0x36fc4b,_0x3fd8a9)=>{const {type:_0x59f8eb,id:_0x5c6e6a}=_0x56de6a[_0x58e7('0x4d')](_0x36fc4b[_0x58e7('0x34')]),_0x774011=_0x56de6a[_0x58e7('0x18')](_0x5c6e6a);if(!_0x774011[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x774011['data'][_0x58e7('0x9')])return;if(_0x36fc4b[_0x58e7('0x45')])return void _0x2c5352[_0x58e7('0x4a')]();if(!_0x3fd8a9[_0x58e7('0x4')][_0x58e7('0x0')](_0x36fc4b[_0x58e7('0x41')],_0x2c5352[_0x58e7('0x3d')]))return;const _0x339849=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0x29')]['nodeAfter'],_0x2e3d17=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0xd')]['nodeBefore'],_0x1ce2d7=_0x339849[_0x58e7('0x2f')][_0x58e7('0x2f')],{column:_0x3c6890}=_0xf06441[_0x58e7('0x40')](_0x339849),{column:_0xaf61cb}=_0xf06441[_0x58e7('0x40')](_0x2e3d17);for(let _0x424507=_0x3c6890;_0x424507<=_0xaf61cb;_0x424507++){const _0x3ff5f5=_0xf06441[_0x58e7('0xe')](_0x1ce2d7,{'column':_0x424507,'includeAllSlots':!0x1});for(const _0x1eacd8 of _0x3ff5f5){const _0x28f6c0=_0x1eacd8[_0x58e7('0xc')],_0x305d81=_0x3fd8a9['mapper'][_0x58e7('0x3f')](_0x28f6c0);_0x3fd8a9['writer'][_0x58e7('0x10')]('ck-suggestion-marker-'+_0x59f8eb,_0x305d81),_0x5728e2&&_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x48')](_0x58e7('0x16'),_0x5c6e6a,_0x305d81),_0x3fd8a9[_0x58e7('0x1f')][_0x58e7('0xf')](_0x305d81,_0x36fc4b[_0x58e7('0x34')]),_0x41089e&&(_0x56de6a[_0x58e7('0x22')]['includes'](_0x36fc4b['markerName'])?_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x10')](_0x58e7('0x8'),_0x305d81):_0x3fd8a9['writer']['removeClass'](_0x58e7('0x8'),_0x305d81));}}};}_0x56de6a[_0x58e7('0x37')](_0x58e7('0x7'),(_0x34e7fb,_0x197e06)=>{const _0x1908b8=_0xf06441[_0x58e7('0x3e')](_0xe2777c['model'][_0x58e7('0x35')][_0x58e7('0x6')]),_0x1ed98c=_0xf06441['getRowIndexes'](_0x1908b8),_0x276996=_0x1908b8[0x0][_0x58e7('0x2d')](_0x58e7('0x15')),_0x3781d3=_0x276996['getAttribute'](_0x58e7('0x36'))||0x0,_0x596beb=_0x197e06&&null!==_0x197e06[_0x58e7('0x46')]?_0x197e06[_0x58e7('0x46')]:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')](_0x58e7('0x7'))[_0x58e7('0x28')],_0x392aab=_0x596beb?_0x1ed98c[_0x58e7('0x3b')]:_0x1ed98c[_0x58e7('0x3c')],_0x277214=_0x276996['getChild'](_0x392aab);let _0x1d6651;if(_0x596beb){const _0x27e36e=_0x276996[_0x58e7('0x33')](_0x3781d3);if(_0x277214[_0x58e7('0x24')]<_0x27e36e[_0x58e7('0x24')])return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x27e36e[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')]['createPositionAfter'](_0x277214[_0x58e7('0x33')](_0x277214[_0x58e7('0x1d')]-0x1)));}else{const _0x41522b=_0x276996[_0x58e7('0x33')](_0x3781d3-0x1);if(!_0x41522b)return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')]['createPositionBefore'](_0x277214[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x41522b['getChild'](_0x41522b[_0x58e7('0x1d')]-0x1)));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0x1d6651,{'commandName':_0x58e7('0x7'),'commandParams':[{'forceValue':_0x596beb}]},[],_0x58e7('0x7'));});}),_0x56de6a[_0x58e7('0x37')](_0x58e7('0x2b'),(_0x575e03,_0x597046)=>{const _0x290be3=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')]('TableUtils'),_0x5e5d27=_0x290be3[_0x58e7('0x3e')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x35')][_0x58e7('0x6')]),_0x21616c=_0x290be3[_0x58e7('0x25')](_0x5e5d27),_0x5268fd=_0x5e5d27[0x0]['findAncestor'](_0x58e7('0x15')),_0x196752=_0x5268fd[_0x58e7('0x47')](_0x58e7('0x1a'))||0x0,_0x477a2d=_0x597046&&null!==_0x597046[_0x58e7('0x46')]?_0x597046['forceValue']:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')]('setTableColumnHeader')[_0x58e7('0x28')];let _0xf824ad;const _0x10d73d=_0x5268fd['getChild'](0x0),_0x2f9ba9=_0x477a2d?_0x21616c[_0x58e7('0x3b')]:_0x21616c[_0x58e7('0x3c')],_0x2018f3=_0x290be3[_0x58e7('0xe')](_0x5268fd,{'startRow':0x0,'column':_0x2f9ba9,'includeAllSlots':!0x1}),_0x351223=Array[_0x58e7('0x5')](_0x2018f3)[0x0][_0x58e7('0xc')];if(_0x477a2d){const _0x44c11a=_0x10d73d[_0x58e7('0x33')](_0x196752);if(_0x351223[_0x58e7('0x13')](_0x44c11a))return;_0xf824ad=_0xe2777c[_0x58e7('0x11')][_0x58e7('0x14')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x44c11a),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x351223));}else{const _0xece69=_0x10d73d[_0x58e7('0x33')](_0x196752-0x1);if(!_0xece69)return;_0xf824ad=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x351223),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0xece69));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0xf824ad,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x477a2d}]},[],_0x58e7('0x2b'));});}),_0xe2777c[_0x58e7('0x23')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),_0x5617a3(),{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x42')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),(_0x256d48,_0x52b7bd,_0x7dc02d)=>{_0x7dc02d[_0x58e7('0x1')]['showSuggestionHighlights']&&_0x5617a3({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x256d48,_0x52b7bd,_0x7dc02d);},{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x23')]['downcastDispatcher']['on'](_0x58e7('0x49'),(_0x5b4dee,_0xd33298,_0x32c367)=>{const {type:_0x58c853,id:_0x1b1f5d}=_0x56de6a[_0x58e7('0x4d')](_0xd33298[_0x58e7('0x34')]),_0x51f402=_0x56de6a[_0x58e7('0x18')](_0x1b1f5d);if(!_0x51f402[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x51f402[_0x58e7('0x42')][_0x58e7('0x9')])return;const _0x3ecf89=_0x32c367['mapper'][_0x58e7('0x21')](_0xd33298[_0x58e7('0x34')]);if(_0x3ecf89)for(const _0x2904f2 of _0x3ecf89)_0x32c367[_0x58e7('0x2e')][_0x58e7('0x19')]('ck-suggestion-marker-'+_0x58c853,_0x2904f2),_0x32c367['writer'][_0x58e7('0x19')]('ck-suggestion-marker--active',_0x2904f2),_0x32c367[_0x58e7('0x2e')]['removeAttribute'](_0x58e7('0x16'),_0x2904f2),_0x32c367['mapper'][_0x58e7('0x50')](_0x2904f2,_0xd33298[_0x58e7('0x34')]);},{'priority':_0x58e7('0x30')}),_0x56de6a['_descriptionFactory'][_0x58e7('0x1b')](_0x3bbb9e=>{const {data:_0xcc9753}=_0x3bbb9e;if(_0xcc9753){if(_0x58e7('0x7')==_0xcc9753[_0x58e7('0x9')]){const _0xd1f303=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0xd1f303?_0x58e7('0x27'):'FORMAT_REGULAR_ROW'));}if(_0x58e7('0x2b')==_0xcc9753[_0x58e7('0x9')]){const _0x26977c=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0x26977c?_0x58e7('0x44'):_0x58e7('0x4b')));}}function _0x296f5d(_0x1364f4){return{'type':_0x58e7('0x4e'),'content':_0x30d96f(_0x26d997,_0x58e7('0x1c'),_0x1364f4)};}});const _0x5847d6=_0x42328c['_acceptFormatSuggestionCallbackFactory']();_0x56de6a[_0x58e7('0x32')][_0x58e7('0x2c')](_0x58e7('0xa'),'setTableRowHeader',_0x58e7('0x38'),_0x5847d6),_0x56de6a[_0x58e7('0x32')]['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x5847d6);}}
23
+ const _0xcff6=['TableEditing','getAttribute','enableCommand','unbindElementFromMarkerName','start','markerNameToElements','afterInit','createTableWalker','get','options','_acceptFormatSuggestionCallbackFactory','forceValue','data','removeAttribute','commands','removeMarker:suggestion','consume','from','setTableRowHeader','addClass','mapper','registerDescriptionCallback','createPositionAfter','ck-suggestion-marker-','has','bindElementToMarker','FORMAT_REGULAR_COLUMN','addMarker:suggestion','getCellLocation','commandName','last','first','ck-suggestion-marker--active','_suggestionFactory','getSelectionAffectedTableCells','model','plugins','name','registerCustomCallback','data-suggestion','value','createRange','getSuggestion','change','FORMAT_HEADER_ROW','markerRange','editing','consumable','formatBlock','selection','removeClass','getChild','downcastDispatcher','accept','writer','parent','activeMarkers','document','setTableColumnHeader','end','TableUtils','childCount','nodeAfter','markerName','createPositionBefore','getColumnIndexes','headingColumns','includes','markBlockFormat','commandParams','format','item','requires','highest','FORMAT_REGULAR_ROW','_splitMarkerName','toViewElement','table','TrackChangesEditing'];(function(_0x24cb3d,_0xcff622){const _0x4ad882=function(_0x1ce0a8){while(--_0x1ce0a8){_0x24cb3d['push'](_0x24cb3d['shift']());}};_0x4ad882(++_0xcff622);}(_0xcff6,0xfe));const _0x4ad8=function(_0x24cb3d,_0xcff622){_0x24cb3d=_0x24cb3d-0x0;let _0x4ad882=_0xcff6[_0x24cb3d];return _0x4ad882;};import{Plugin as _0x1ae55f}from'ckeditor5/src/core';import _0x1d25ea from'./table';import{getTranslation as _0x33fa8e}from'../utils/common-translations';export default class kt extends _0x1ae55f{static get[_0x4ad8('0x37')](){return[_0x1d25ea];}[_0x4ad8('0x44')](){const _0x33a524=this['editor'];if(!_0x33a524['plugins'][_0x4ad8('0x7')](_0x4ad8('0x3e')))return;const _0x432ed8=_0x33a524['locale'],_0x1602cf=_0x33a524[_0x4ad8('0x13')][_0x4ad8('0x46')](_0x4ad8('0x3d')),_0x286a66=_0x33a524[_0x4ad8('0x13')][_0x4ad8('0x46')]('TableUtils'),_0x64d64d=_0x33a524[_0x4ad8('0x13')][_0x4ad8('0x46')](_0x1d25ea);function _0x5aeba9({showActiveMarker:_0x2d07cc=!0x0,setDataAttribute:_0x39b011=!0x0}={}){return(_0x15fe4c,_0x1e8b70,_0x3f26eb)=>{const {type:_0x35069a,id:_0x3d43c9}=_0x1602cf['_splitMarkerName'](_0x1e8b70[_0x4ad8('0x2e')]),_0x55bcd0=_0x1602cf[_0x4ad8('0x19')](_0x3d43c9);if(!_0x55bcd0[_0x4ad8('0x4a')]||_0x4ad8('0x29')!=_0x55bcd0['data'][_0x4ad8('0xc')])return;if(_0x1e8b70[_0x4ad8('0x36')])return void _0x15fe4c['stop']();if(!_0x3f26eb[_0x4ad8('0x1e')][_0x4ad8('0x4e')](_0x1e8b70[_0x4ad8('0x1c')],_0x15fe4c[_0x4ad8('0x14')]))return;const _0x30b96f=_0x1e8b70[_0x4ad8('0x1c')][_0x4ad8('0x42')][_0x4ad8('0x2d')],_0x59e85f=_0x1e8b70[_0x4ad8('0x1c')][_0x4ad8('0x2a')]['nodeBefore'],_0x18df1b=_0x30b96f['parent'][_0x4ad8('0x26')],{column:_0x4eb0ac}=_0x286a66[_0x4ad8('0xb')](_0x30b96f),{column:_0x51f412}=_0x286a66[_0x4ad8('0xb')](_0x59e85f);for(let _0x3cdbea=_0x4eb0ac;_0x3cdbea<=_0x51f412;_0x3cdbea++){const _0x2a2705=_0x286a66[_0x4ad8('0x45')](_0x18df1b,{'column':_0x3cdbea,'includeAllSlots':!0x1});for(const _0x4e1afd of _0x2a2705){const _0x4304b9=_0x4e1afd['cell'],_0xc038e2=_0x3f26eb['mapper'][_0x4ad8('0x3b')](_0x4304b9);_0x3f26eb[_0x4ad8('0x25')][_0x4ad8('0x2')](_0x4ad8('0x6')+_0x35069a,_0xc038e2),_0x39b011&&_0x3f26eb[_0x4ad8('0x25')]['setAttribute'](_0x4ad8('0x16'),_0x3d43c9,_0xc038e2),_0x3f26eb[_0x4ad8('0x3')][_0x4ad8('0x8')](_0xc038e2,_0x1e8b70[_0x4ad8('0x2e')]),_0x2d07cc&&(_0x1602cf[_0x4ad8('0x27')][_0x4ad8('0x32')](_0x1e8b70[_0x4ad8('0x2e')])?_0x3f26eb[_0x4ad8('0x25')]['addClass'](_0x4ad8('0xf'),_0xc038e2):_0x3f26eb[_0x4ad8('0x25')][_0x4ad8('0x21')](_0x4ad8('0xf'),_0xc038e2));}}};}_0x1602cf[_0x4ad8('0x40')](_0x4ad8('0x1'),(_0x4a0f08,_0x4a889b)=>{const _0x18ed68=_0x286a66[_0x4ad8('0x11')](_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x28')][_0x4ad8('0x20')]),_0x38116f=_0x286a66['getRowIndexes'](_0x18ed68),_0x85ceda=_0x18ed68[0x0]['findAncestor'](_0x4ad8('0x3c')),_0x4a3b2f=_0x85ceda[_0x4ad8('0x3f')]('headingRows')||0x0,_0x2e05ef=_0x4a889b&&null!==_0x4a889b[_0x4ad8('0x49')]?_0x4a889b[_0x4ad8('0x49')]:!_0x33a524[_0x4ad8('0x4c')]['get'](_0x4ad8('0x1'))[_0x4ad8('0x17')],_0x578a4e=_0x2e05ef?_0x38116f[_0x4ad8('0xd')]:_0x38116f['first'],_0x45c950=_0x85ceda[_0x4ad8('0x22')](_0x578a4e);let _0x249550;if(_0x2e05ef){const _0x4f1145=_0x85ceda[_0x4ad8('0x22')](_0x4a3b2f);if(_0x45c950['index']<_0x4f1145['index'])return;_0x249550=_0x33a524['model']['createRange'](_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x2f')](_0x4f1145[_0x4ad8('0x22')](0x0)),_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x5')](_0x45c950['getChild'](_0x45c950[_0x4ad8('0x2c')]-0x1)));}else{const _0x37af21=_0x85ceda['getChild'](_0x4a3b2f-0x1);if(!_0x37af21)return;_0x249550=_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x18')](_0x33a524[_0x4ad8('0x12')]['createPositionBefore'](_0x45c950['getChild'](0x0)),_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x5')](_0x37af21[_0x4ad8('0x22')](_0x37af21[_0x4ad8('0x2c')]-0x1)));}_0x33a524[_0x4ad8('0x12')]['change'](()=>{_0x1602cf[_0x4ad8('0x33')](_0x249550,{'commandName':_0x4ad8('0x1'),'commandParams':[{'forceValue':_0x2e05ef}]},[],_0x4ad8('0x1'));});}),_0x1602cf['enableCommand'](_0x4ad8('0x29'),(_0x134d26,_0x44f299)=>{const _0x46ac89=_0x33a524['plugins'][_0x4ad8('0x46')](_0x4ad8('0x2b')),_0x4ece70=_0x46ac89['getSelectionAffectedTableCells'](_0x33a524[_0x4ad8('0x12')]['document'][_0x4ad8('0x20')]),_0x3a6418=_0x46ac89[_0x4ad8('0x30')](_0x4ece70),_0x50ee7e=_0x4ece70[0x0]['findAncestor']('table'),_0x1874d4=_0x50ee7e[_0x4ad8('0x3f')](_0x4ad8('0x31'))||0x0,_0x43fbea=_0x44f299&&null!==_0x44f299[_0x4ad8('0x49')]?_0x44f299[_0x4ad8('0x49')]:!_0x33a524['commands'][_0x4ad8('0x46')](_0x4ad8('0x29'))[_0x4ad8('0x17')];let _0x3b7799;const _0x1b0cbb=_0x50ee7e['getChild'](0x0),_0x436f70=_0x43fbea?_0x3a6418[_0x4ad8('0xd')]:_0x3a6418[_0x4ad8('0xe')],_0x29ccdf=_0x46ac89[_0x4ad8('0x45')](_0x50ee7e,{'startRow':0x0,'column':_0x436f70,'includeAllSlots':!0x1}),_0x3db418=Array[_0x4ad8('0x0')](_0x29ccdf)[0x0]['cell'];if(_0x43fbea){const _0x29bab4=_0x1b0cbb[_0x4ad8('0x22')](_0x1874d4);if(_0x3db418['isBefore'](_0x29bab4))return;_0x3b7799=_0x33a524['model']['createRange'](_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x2f')](_0x29bab4),_0x33a524['model'][_0x4ad8('0x5')](_0x3db418));}else{const _0x51af00=_0x1b0cbb[_0x4ad8('0x22')](_0x1874d4-0x1);if(!_0x51af00)return;_0x3b7799=_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x18')](_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x2f')](_0x3db418),_0x33a524[_0x4ad8('0x12')][_0x4ad8('0x5')](_0x51af00));}_0x33a524['model'][_0x4ad8('0x1a')](()=>{_0x1602cf['markBlockFormat'](_0x3b7799,{'commandName':_0x4ad8('0x29'),'commandParams':[{'forceValue':_0x43fbea}]},[],_0x4ad8('0x29'));});}),_0x33a524[_0x4ad8('0x1d')][_0x4ad8('0x23')]['on'](_0x4ad8('0xa'),_0x5aeba9(),{'priority':_0x4ad8('0x38')}),_0x33a524['data'][_0x4ad8('0x23')]['on'](_0x4ad8('0xa'),(_0xfd9157,_0x19a844,_0x5aebbf)=>{_0x5aebbf[_0x4ad8('0x47')]['showSuggestionHighlights']&&_0x5aeba9({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0xfd9157,_0x19a844,_0x5aebbf);},{'priority':'highest'}),_0x33a524['editing']['downcastDispatcher']['on'](_0x4ad8('0x4d'),(_0x50c1dc,_0x398036,_0x1279c5)=>{const {type:_0x262180,id:_0x320d4a}=_0x1602cf[_0x4ad8('0x3a')](_0x398036[_0x4ad8('0x2e')]),_0xb444e9=_0x1602cf['getSuggestion'](_0x320d4a);if(!_0xb444e9[_0x4ad8('0x4a')]||_0x4ad8('0x29')!=_0xb444e9[_0x4ad8('0x4a')][_0x4ad8('0xc')])return;const _0x20bdd0=_0x1279c5[_0x4ad8('0x3')][_0x4ad8('0x43')](_0x398036[_0x4ad8('0x2e')]);if(_0x20bdd0)for(const _0x6ef6f9 of _0x20bdd0)_0x1279c5[_0x4ad8('0x25')][_0x4ad8('0x21')](_0x4ad8('0x6')+_0x262180,_0x6ef6f9),_0x1279c5['writer'][_0x4ad8('0x21')](_0x4ad8('0xf'),_0x6ef6f9),_0x1279c5['writer'][_0x4ad8('0x4b')](_0x4ad8('0x16'),_0x6ef6f9),_0x1279c5[_0x4ad8('0x3')][_0x4ad8('0x41')](_0x6ef6f9,_0x398036[_0x4ad8('0x2e')]);},{'priority':_0x4ad8('0x38')}),_0x1602cf['_descriptionFactory'][_0x4ad8('0x4')](_0x4e2e16=>{const {data:_0x116c85}=_0x4e2e16;if(_0x116c85){if(_0x4ad8('0x1')==_0x116c85[_0x4ad8('0xc')]){const _0x4b772f=_0x116c85['commandParams'][0x0]['forceValue'];return _0xee72f6(_0x33fa8e(_0x432ed8,_0x4b772f?_0x4ad8('0x1b'):_0x4ad8('0x39')));}if(_0x4ad8('0x29')==_0x116c85['commandName']){const _0x1aa286=_0x116c85[_0x4ad8('0x34')][0x0][_0x4ad8('0x49')];return _0xee72f6(_0x33fa8e(_0x432ed8,_0x1aa286?'FORMAT_HEADER_COLUMN':_0x4ad8('0x9')));}}function _0xee72f6(_0x356026){return{'type':_0x4ad8('0x35'),'content':_0x33fa8e(_0x432ed8,'*Format:*\x20%0',_0x356026)};}});const _0x58846f=_0x64d64d[_0x4ad8('0x48')]();_0x1602cf[_0x4ad8('0x10')][_0x4ad8('0x15')](_0x4ad8('0x1f'),'setTableRowHeader',_0x4ad8('0x24'),_0x58846f),_0x1602cf['_suggestionFactory'][_0x4ad8('0x15')](_0x4ad8('0x1f'),_0x4ad8('0x29'),'accept',_0x58846f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1601=['find','afterInit','*Merge\x20cells*','registerCustomCallback','format','filter','forceDefaultExecution','size','mergeTableCells','root','createRangeOn','registerDescriptionCallback','_areSelectedCellsMergable','getRanges','document','containsRange','getSuggestions','requires','set:isEnabled','stop','editor','has','value','enableCommand','commandName','change','low','accept','refresh','add','formatBlock','commands','tableCell','mergeTableCellRight','plugins','splitTableCellVertically','markBlockFormat','findAncestor','selection','cell','map','from','setSelection','TableUtils','horizontally','execute','getAncestors','mergeTableCellLeft','isEnabled','length','mergeTableCellUp','*Split\x20cell:*\x20vertically','return','model','type','markMultiRangeBlockFormat','_areMergableCells','isInContent','highest','locale','insertion','getCellLocation','TableEditing','element','get','splitTableCellHorizontally','getFirstPosition','$graveyard','mergeTableCellDown','*Split\x20cell:*\x20horizontally','fromRange','getSelectionAffectedTableCells','trackChanges','createTableWalker','author','_suggestionFactory','subType','table','direction'];(function(_0x372e3e,_0x1601f4){const _0x708388=function(_0x5e8251){while(--_0x5e8251){_0x372e3e['push'](_0x372e3e['shift']());}};_0x708388(++_0x1601f4);}(_0x1601,0x72));const _0x7083=function(_0x372e3e,_0x1601f4){_0x372e3e=_0x372e3e-0x0;let _0x708388=_0x1601[_0x372e3e];return _0x708388;};import{Plugin as _0x20b007}from'ckeditor5/src/core';import _0x2a3495 from'./table';import{LiveRange as _0x419ccc}from'ckeditor5/src/engine';import{getTranslation as _0x2b2743}from'../utils/common-translations';export default class pt extends _0x20b007{static get[_0x7083('0x3d')](){return[_0x2a3495];}[_0x7083('0x2d')](){const _0x4ba877=this[_0x7083('0x40')],_0x52fc48=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')],_0x11a844=_0x4ba877[_0x7083('0x18')];if(!_0x4ba877[_0x7083('0x4e')][_0x7083('0x41')](_0x7083('0x1b')))return;const _0x17b6eb=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')]('TrackChangesEditing'),_0x4ec698=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8')),_0x46a641=_0x4ba877['plugins'][_0x7083('0x1d')](_0x2a3495);_0x46a641['_tablePostFixingSubtypes']['push'](_0x7083('0x34')),_0x17b6eb['enableCommand'](_0x7083('0x34'),()=>{const _0x2f0a57=_0x4ec698[_0x7083('0x24')](_0x4ba877['model'][_0x7083('0x3a')][_0x7083('0x3')]);_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')](_0x2f0a57,{'commandName':'mergeTableCells','commandParams':[]},[],_0x7083('0x34'));});}),_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x34'))['on'](_0x7083('0xa'),(_0xd8d321,_0x5b447d)=>{_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x25'))[_0x7083('0x42')]&&(_0x5b447d[_0x7083('0xe')]>0x0&&_0x5b447d[_0x5b447d[_0x7083('0xe')]-0x1]&&_0x5b447d[_0x5b447d['length']-0x1][_0x7083('0x32')]||_0x17b6eb['_isForcedDefaultExecutionBlock']||this[_0x7083('0x38')]()||_0xd8d321[_0x7083('0x3f')]());},{'priority':_0x7083('0x17')});for(const _0x519a23 of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')]){const _0x220d35=_0x4ba877['commands'][_0x7083('0x1d')](_0x519a23);_0x17b6eb[_0x7083('0x43')](_0x519a23,()=>{const _0x5329b7=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]['getFirstPosition']()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x1e109a=>_0x1e109a['is'](_0x7083('0x1c'),_0x7083('0x4c'))),_0x5dc1b9=_0x220d35[_0x7083('0x42')];_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')]([_0x5329b7,_0x5dc1b9],{'commandName':_0x7083('0x34'),'commandParams':[]},[],_0x7083('0x34'));});});}for(const _0x359637 of[_0x7083('0x0'),_0x7083('0x1e')]){const _0x297324=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x359637);_0x17b6eb[_0x7083('0x43')](_0x359637,()=>{const _0x15b591=_0x4ec698[_0x7083('0x24')](_0x4ba877[_0x7083('0x12')]['document']['selection'])[0x0],_0x2d00a0=_0x15b591[_0x7083('0x2')](_0x7083('0x2a')),{column:_0x1c9460,row:_0x484b8b}=_0x4ec698[_0x7083('0x1a')](_0x15b591);let _0x3f1b89=[];if(_0x7083('0x9')==_0x297324[_0x7083('0x2b')]){const _0xacdd36=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'startRow':_0x484b8b,'endRow':_0x484b8b,'includeAllSlots':!0x0});_0x3f1b89=Array['from'](_0xacdd36)[_0x7083('0x5')](_0x3b4bae=>_0x3b4bae[_0x7083('0x4')]);}else{const _0x5710f7=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'column':_0x1c9460,'includeAllSlots':!0x0});_0x3f1b89=Array[_0x7083('0x6')](_0x5710f7)[_0x7083('0x5')](_0x21bd5e=>_0x21bd5e['cell']);}_0x4ba877['model']['change'](_0x33eedd=>{_0x17b6eb[_0x7083('0x1')](_0x33eedd[_0x7083('0x36')](_0x15b591),{'commandName':_0x359637,'commandParams':[]},_0x3f1b89,_0x359637);});});}_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x5a1652=>{const {data:_0x5e25e7}=_0x5a1652;if(_0x5e25e7)return _0x7083('0x34')==_0x5e25e7['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x2e'))}:void 0x0;}),_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x1c1bd1=>{const {data:_0x58cf81}=_0x1c1bd1;if(_0x58cf81)return _0x7083('0x0')==_0x58cf81[_0x7083('0x44')]?{'type':'format','content':_0x2b2743(_0x11a844,_0x7083('0x10'))}:'splitTableCellHorizontally'==_0x58cf81['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x22'))}:void 0x0;});const _0x27e211=_0x46a641['_acceptFormatSuggestionCallbackFactory']();for(const _0x4a887c of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x4a887c,_0x7083('0x47'),_0x27e211);for(const _0x47088e of[_0x7083('0x0'),_0x7083('0x1e')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x47088e,_0x7083('0x47'),_0x27e211);_0x17b6eb['_suggestionFactory'][_0x7083('0x2f')]('formatBlock','mergeTableCells',_0x7083('0x47'),_0x396556=>{_0x4ba877['model'][_0x7083('0x45')](_0x494345=>{const _0x5ed4db=Array[_0x7083('0x6')](_0x52fc48[_0x7083('0x39')]())[_0x7083('0x5')](_0x301ac5=>_0x419ccc[_0x7083('0x23')](_0x301ac5));_0x494345[_0x7083('0x7')](_0x396556),_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34'))[_0x7083('0x48')](),_0x4ba877[_0x7083('0xa')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1fd5cb=_0x5ed4db[_0x7083('0x31')](_0x304724=>_0x7083('0x20')!=_0x304724[_0x7083('0x35')]['rootName']);_0x1fd5cb[_0x7083('0xe')]>0x0&&_0x494345['setSelection'](_0x1fd5cb);for(const _0x43254a of _0x5ed4db)_0x43254a['detach']();});});for(const _0x115ae7 of[_0x7083('0xf'),_0x7083('0x21'),_0x7083('0xc'),'mergeTableCellRight']){const _0x1e5874=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x115ae7);_0x1e5874['on'](_0x7083('0x3e'),(_0x3b5acc,_0x55dd17,_0x5b6cf0)=>{if(_0x5b6cf0){const _0x1afd76=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')][_0x7083('0x1f')]()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x39304b=>_0x39304b['is']('element',_0x7083('0x4c')));this[_0x7083('0x15')](_0x1e5874[_0x7083('0x42')],_0x1afd76)||(_0x3b5acc[_0x7083('0x11')]=!0x1,_0x3b5acc[_0x7083('0x3f')]());}},{'priority':_0x7083('0x46')});}}['_areSelectedCellsMergable'](){const _0x5a975e=this[_0x7083('0x40')][_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34')),_0x28b3b3=this[_0x7083('0x40')][_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8'));if(!_0x5a975e[_0x7083('0xd')])return!0x1;const _0x53dc81=_0x28b3b3[_0x7083('0x24')](this[_0x7083('0x40')][_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]);for(const _0x40b979 of _0x53dc81)for(const _0xe0f64c of _0x53dc81)if(_0x40b979!=_0xe0f64c&&!this[_0x7083('0x15')](_0x40b979,_0xe0f64c))return!0x1;return!0x0;}[_0x7083('0x15')](_0x12c63b,_0x235b5b){const _0x30ce90=this['editor']['plugins'][_0x7083('0x1d')]('TrackChangesEditing'),_0x2a5809=this[_0x7083('0x40')]['model'][_0x7083('0x36')](_0x12c63b),_0x2ebb1e=this[_0x7083('0x40')][_0x7083('0x12')]['createRangeOn'](_0x235b5b),_0x1247a8=new Set(),_0x4e6d88=new Set();for(const _0x290e79 of _0x30ce90[_0x7083('0x3c')]())if((_0x7083('0x19')==_0x290e79['type']||'deletion'==_0x290e79['type']||_0x7083('0x34')==_0x290e79[_0x7083('0x29')])&&_0x290e79[_0x7083('0x16')])for(const _0x37e8f9 of _0x290e79[_0x7083('0x39')]())_0x37e8f9['containsRange'](_0x2a5809,!0x0)&&_0x1247a8[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']),_0x37e8f9[_0x7083('0x3b')](_0x2ebb1e,!0x0)&&_0x4e6d88[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']);if(_0x1247a8[_0x7083('0x33')]!=_0x4e6d88[_0x7083('0x33')])return!0x1;for(const _0x568c13 of _0x1247a8)if(!_0x4e6d88[_0x7083('0x41')](_0x568c13))return!0x1;return!0x0;}}
23
+ const _0x3d81=['mergeTableCellDown','value','commandName','refresh','_areMergableCells','TrackChangesEditing','splitTableCellVertically','find','low','registerDescriptionCallback','from','_isForcedDefaultExecutionBlock','createTableWalker','author','map','_suggestionFactory','push','table','getSuggestions','plugins','root','mergeTableCellLeft','change','_tablePostFixingSubtypes','markMultiRangeBlockFormat','getSelectionAffectedTableCells','element','get','format','fromRange','*Split\x20cell:*\x20horizontally','$graveyard','detach','_descriptionFactory','enableCommand','mergeTableCellRight','setSelection','tableCell','createRangeOn','selection','afterInit','model','forceDefaultExecution','highest','getRanges','containsRange','getAncestors','accept','locale','has','stop','horizontally','add','direction','filter','formatBlock','type','getFirstPosition','registerCustomCallback','TableUtils','size','mergeTableCellUp','_areSelectedCellsMergable','findAncestor','commands','isEnabled','splitTableCellHorizontally','mergeTableCells','set:isEnabled','_acceptFormatSuggestionCallbackFactory','*Split\x20cell:*\x20vertically','rootName','*Merge\x20cells*','markBlockFormat','insertion','cell','document','editor','length'];(function(_0x40bc6b,_0x3d81ca){const _0x25283c=function(_0x4b3054){while(--_0x4b3054){_0x40bc6b['push'](_0x40bc6b['shift']());}};_0x25283c(++_0x3d81ca);}(_0x3d81,0x174));const _0x2528=function(_0x40bc6b,_0x3d81ca){_0x40bc6b=_0x40bc6b-0x0;let _0x25283c=_0x3d81[_0x40bc6b];return _0x25283c;};import{Plugin as _0x6e8759}from'ckeditor5/src/core';import _0x33d872 from'./table';import{LiveRange as _0x1c2f75}from'ckeditor5/src/engine';import{getTranslation as _0x2fda4b}from'../utils/common-translations';export default class pt extends _0x6e8759{static get['requires'](){return[_0x33d872];}[_0x2528('0x3f')](){const _0x18ff15=this[_0x2528('0x15')],_0x2ffc78=_0x18ff15[_0x2528('0x40')]['document'][_0x2528('0x3e')],_0x4e3b19=_0x18ff15[_0x2528('0x47')];if(!_0x18ff15['plugins']['has']('TableEditing'))return;const _0xe391ec=_0x18ff15[_0x2528('0x2a')]['get']('TrackChangesEditing'),_0x587b0f=_0x18ff15[_0x2528('0x2a')]['get'](_0x2528('0x3')),_0x3ee2ed=_0x18ff15[_0x2528('0x2a')][_0x2528('0x32')](_0x33d872);_0x3ee2ed[_0x2528('0x2e')][_0x2528('0x27')]('mergeTableCells'),_0xe391ec[_0x2528('0x39')](_0x2528('0xb'),()=>{const _0x1d7def=_0x587b0f['getSelectionAffectedTableCells'](_0x18ff15['model'][_0x2528('0x14')][_0x2528('0x3e')]);_0x18ff15[_0x2528('0x40')][_0x2528('0x2d')](()=>{_0xe391ec[_0x2528('0x2f')](_0x1d7def,{'commandName':'mergeTableCells','commandParams':[]},[],_0x2528('0xb'));});}),_0x18ff15[_0x2528('0x8')][_0x2528('0x32')](_0x2528('0xb'))['on']('execute',(_0x373c9f,_0x51d685)=>{_0x18ff15[_0x2528('0x8')]['get']('trackChanges')[_0x2528('0x18')]&&(_0x51d685[_0x2528('0x16')]>0x0&&_0x51d685[_0x51d685[_0x2528('0x16')]-0x1]&&_0x51d685[_0x51d685[_0x2528('0x16')]-0x1][_0x2528('0x41')]||_0xe391ec[_0x2528('0x22')]||this[_0x2528('0x6')]()||_0x373c9f[_0x2528('0x49')]());},{'priority':_0x2528('0x42')});for(const _0x55e6ab of[_0x2528('0x5'),_0x2528('0x3a'),'mergeTableCellDown',_0x2528('0x2c')]){const _0x3ebb1a=_0x18ff15[_0x2528('0x8')][_0x2528('0x32')](_0x55e6ab);_0xe391ec[_0x2528('0x39')](_0x55e6ab,()=>{const _0x2dbc50=_0x18ff15[_0x2528('0x40')]['document'][_0x2528('0x3e')][_0x2528('0x1')]()[_0x2528('0x45')]()[_0x2528('0x1e')](_0x4b6f1b=>_0x4b6f1b['is']('element','tableCell')),_0x866c53=_0x3ebb1a[_0x2528('0x18')];_0x18ff15[_0x2528('0x40')]['change'](()=>{_0xe391ec[_0x2528('0x2f')]([_0x2dbc50,_0x866c53],{'commandName':_0x2528('0xb'),'commandParams':[]},[],_0x2528('0xb'));});});}for(const _0x576e22 of['splitTableCellVertically',_0x2528('0xa')]){const _0x49105d=_0x18ff15[_0x2528('0x8')][_0x2528('0x32')](_0x576e22);_0xe391ec[_0x2528('0x39')](_0x576e22,()=>{const _0xb1a8b6=_0x587b0f[_0x2528('0x30')](_0x18ff15[_0x2528('0x40')][_0x2528('0x14')][_0x2528('0x3e')])[0x0],_0x5b0987=_0xb1a8b6[_0x2528('0x7')](_0x2528('0x28')),{column:_0x440f88,row:_0x199061}=_0x587b0f['getCellLocation'](_0xb1a8b6);let _0x49ed32=[];if(_0x2528('0x4a')==_0x49105d[_0x2528('0x4c')]){const _0x27fce0=_0x587b0f[_0x2528('0x23')](_0x5b0987,{'startRow':_0x199061,'endRow':_0x199061,'includeAllSlots':!0x0});_0x49ed32=Array[_0x2528('0x21')](_0x27fce0)[_0x2528('0x25')](_0x112a6b=>_0x112a6b[_0x2528('0x13')]);}else{const _0x24edf7=_0x587b0f[_0x2528('0x23')](_0x5b0987,{'column':_0x440f88,'includeAllSlots':!0x0});_0x49ed32=Array[_0x2528('0x21')](_0x24edf7)[_0x2528('0x25')](_0x1817b3=>_0x1817b3['cell']);}_0x18ff15[_0x2528('0x40')][_0x2528('0x2d')](_0x72a850=>{_0xe391ec[_0x2528('0x11')](_0x72a850['createRangeOn'](_0xb1a8b6),{'commandName':_0x576e22,'commandParams':[]},_0x49ed32,_0x576e22);});});}_0xe391ec['_descriptionFactory'][_0x2528('0x20')](_0x171526=>{const {data:_0x1cafa4}=_0x171526;if(_0x1cafa4)return _0x2528('0xb')==_0x1cafa4[_0x2528('0x19')]?{'type':_0x2528('0x33'),'content':_0x2fda4b(_0x4e3b19,_0x2528('0x10'))}:void 0x0;}),_0xe391ec[_0x2528('0x38')][_0x2528('0x20')](_0x56f753=>{const {data:_0x5b26eb}=_0x56f753;if(_0x5b26eb)return _0x2528('0x1d')==_0x5b26eb['commandName']?{'type':'format','content':_0x2fda4b(_0x4e3b19,_0x2528('0xe'))}:'splitTableCellHorizontally'==_0x5b26eb[_0x2528('0x19')]?{'type':'format','content':_0x2fda4b(_0x4e3b19,_0x2528('0x35'))}:void 0x0;});const _0x4ffdf1=_0x3ee2ed[_0x2528('0xd')]();for(const _0xb212a3 of['mergeTableCellUp','mergeTableCellRight',_0x2528('0x17'),_0x2528('0x2c')])_0xe391ec[_0x2528('0x26')]['registerCustomCallback']('formatBlock',_0xb212a3,_0x2528('0x46'),_0x4ffdf1);for(const _0x3d2fc5 of[_0x2528('0x1d'),_0x2528('0xa')])_0xe391ec[_0x2528('0x26')][_0x2528('0x2')]('formatBlock',_0x3d2fc5,_0x2528('0x46'),_0x4ffdf1);_0xe391ec[_0x2528('0x26')][_0x2528('0x2')](_0x2528('0x4e'),_0x2528('0xb'),_0x2528('0x46'),_0x5d0ee4=>{_0x18ff15[_0x2528('0x40')][_0x2528('0x2d')](_0x417862=>{const _0x1abcc5=Array[_0x2528('0x21')](_0x2ffc78['getRanges']())[_0x2528('0x25')](_0x21779b=>_0x1c2f75[_0x2528('0x34')](_0x21779b));_0x417862[_0x2528('0x3b')](_0x5d0ee4),_0x18ff15[_0x2528('0x8')][_0x2528('0x32')](_0x2528('0xb'))[_0x2528('0x1a')](),_0x18ff15['execute'](_0x2528('0xb'),{'forceDefaultExecution':!0x0});const _0x56712a=_0x1abcc5[_0x2528('0x4d')](_0x20f3e0=>_0x2528('0x36')!=_0x20f3e0[_0x2528('0x2b')][_0x2528('0xf')]);_0x56712a['length']>0x0&&_0x417862[_0x2528('0x3b')](_0x56712a);for(const _0x295c46 of _0x1abcc5)_0x295c46[_0x2528('0x37')]();});});for(const _0x5e97ad of[_0x2528('0x5'),'mergeTableCellDown',_0x2528('0x2c'),_0x2528('0x3a')]){const _0x590241=_0x18ff15[_0x2528('0x8')][_0x2528('0x32')](_0x5e97ad);_0x590241['on'](_0x2528('0xc'),(_0xb4c413,_0x1a3fa6,_0x3645c1)=>{if(_0x3645c1){const _0x2b86b8=_0x18ff15['model']['document']['selection'][_0x2528('0x1')]()[_0x2528('0x45')]()[_0x2528('0x1e')](_0x307938=>_0x307938['is'](_0x2528('0x31'),_0x2528('0x3c')));this['_areMergableCells'](_0x590241[_0x2528('0x18')],_0x2b86b8)||(_0xb4c413['return']=!0x1,_0xb4c413[_0x2528('0x49')]());}},{'priority':_0x2528('0x1f')});}}[_0x2528('0x6')](){const _0x3a8417=this[_0x2528('0x15')][_0x2528('0x8')][_0x2528('0x32')](_0x2528('0xb')),_0x4d5fa4=this[_0x2528('0x15')]['plugins'][_0x2528('0x32')]('TableUtils');if(!_0x3a8417[_0x2528('0x9')])return!0x1;const _0x5382f6=_0x4d5fa4[_0x2528('0x30')](this[_0x2528('0x15')][_0x2528('0x40')][_0x2528('0x14')][_0x2528('0x3e')]);for(const _0x440f59 of _0x5382f6)for(const _0x306160 of _0x5382f6)if(_0x440f59!=_0x306160&&!this[_0x2528('0x1b')](_0x440f59,_0x306160))return!0x1;return!0x0;}['_areMergableCells'](_0x4751d9,_0x471ebc){const _0x3c5bf6=this[_0x2528('0x15')][_0x2528('0x2a')]['get'](_0x2528('0x1c')),_0xe60fe5=this[_0x2528('0x15')][_0x2528('0x40')][_0x2528('0x3d')](_0x4751d9),_0x18b829=this['editor'][_0x2528('0x40')][_0x2528('0x3d')](_0x471ebc),_0x218874=new Set(),_0x4f2ede=new Set();for(const _0x47f245 of _0x3c5bf6[_0x2528('0x29')]())if((_0x2528('0x12')==_0x47f245[_0x2528('0x0')]||'deletion'==_0x47f245[_0x2528('0x0')]||_0x2528('0xb')==_0x47f245['subType'])&&_0x47f245['isInContent'])for(const _0x1d3646 of _0x47f245[_0x2528('0x43')]())_0x1d3646[_0x2528('0x44')](_0xe60fe5,!0x0)&&_0x218874[_0x2528('0x4b')](_0x47f245[_0x2528('0x0')]+':'+_0x47f245[_0x2528('0x24')]['id']),_0x1d3646['containsRange'](_0x18b829,!0x0)&&_0x4f2ede[_0x2528('0x4b')](_0x47f245[_0x2528('0x0')]+':'+_0x47f245[_0x2528('0x24')]['id']);if(_0x218874['size']!=_0x4f2ede[_0x2528('0x4')])return!0x1;for(const _0x22383a of _0x218874)if(!_0x4f2ede[_0x2528('0x48')](_0x22383a))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18da=['get','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','tableOfContents','locale','insertTableOfContents','commands'];(function(_0x137f01,_0x18da36){const _0x2fca4d=function(_0x3c4095){while(--_0x3c4095){_0x137f01['push'](_0x137f01['shift']());}};_0x2fca4d(++_0x18da36);}(_0x18da,0xb5));const _0x2fca=function(_0x137f01,_0x18da36){_0x137f01=_0x137f01-0x0;let _0x2fca4d=_0x18da[_0x137f01];return _0x2fca4d;};import{Plugin as _0x5c8579}from'ckeditor5/src/core';import{getTranslation as _0x87480}from'../utils/common-translations';export default class St extends _0x5c8579{['afterInit'](){const _0x1451b6=this['editor'];if(!_0x1451b6[_0x2fca('0x0')][_0x2fca('0x1')](_0x2fca('0x6')))return;_0x1451b6['plugins']['get'](_0x2fca('0x3'))['enableCommand']('insertTableOfContents');const _0x2f82af=_0x1451b6['plugins'][_0x2fca('0x1')]('TrackChangesEditing'),_0x1edd6c=_0x1451b6[_0x2fca('0x5')];_0x2f82af['_descriptionFactory']['registerElementLabel'](_0x2fca('0x4'),_0x3f78d8=>_0x87480(_0x1edd6c,_0x2fca('0x2'),_0x3f78d8));}}
23
+ const _0x26b1=['editor','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','commands','plugins','get','tableOfContents','insertTableOfContents','locale','enableCommand','TrackChangesEditing'];(function(_0x1f3fca,_0x26b13b){const _0x209343=function(_0x2e4d9c){while(--_0x2e4d9c){_0x1f3fca['push'](_0x1f3fca['shift']());}};_0x209343(++_0x26b13b);}(_0x26b1,0xe7));const _0x2093=function(_0x1f3fca,_0x26b13b){_0x1f3fca=_0x1f3fca-0x0;let _0x209343=_0x26b1[_0x1f3fca];return _0x209343;};import{Plugin as _0x4b9e38}from'ckeditor5/src/core';import{getTranslation as _0x478e8c}from'../utils/common-translations';export default class St extends _0x4b9e38{['afterInit'](){const _0x37289f=this[_0x2093('0x0')];if(!_0x37289f[_0x2093('0x3')][_0x2093('0x5')](_0x2093('0x7')))return;_0x37289f[_0x2093('0x4')][_0x2093('0x5')](_0x2093('0xa'))[_0x2093('0x9')]('insertTableOfContents');const _0x5c6ffa=_0x37289f[_0x2093('0x4')][_0x2093('0x5')](_0x2093('0xa')),_0x52f32f=_0x37289f[_0x2093('0x8')];_0x5c6ffa[_0x2093('0x2')]['registerElementLabel'](_0x2093('0x6'),_0x3e776f=>_0x478e8c(_0x52f32f,_0x2093('0x1'),_0x3e776f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bda=['markBlockFormat','discard','tableBorderWidth','handleDiscardAction','tableCellPadding','enqueueChange','getFirstPosition','tableCellHeight','_getSuggestion','subType','change','tableBackgroundColor','tableCellHorizontalAlignment','has','tableCellProperties','get','handleSuggestionDescription','TableUtils','getSuggestionCallback','tableWidth','getSelectionAffectedTableCells','registerCustomCallback','getSuggestions','getAttribute','tableHeight','tableCellBackgroundColor','TableCellPropertiesEditing','_descriptionFactory','_handlePropertyChange','format','*Format:*\x20change\x20table\x20properties','join','tableProperties','setAttribute','document','data','model','accept','tableBorderStyle','pluginName','findAncestor','nodeAfter','locale','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderStyle','tableCellBorderColor','_suggestionFactory','tableCellBorderWidth','plugins','TablePropertiesEditing','TrackChangesEditing','tableCellWidth','batch','getContainedElement','formatBlock','removeAttribute','selection','tableAlignment','editor'];(function(_0x5e4ff2,_0x2bdaaa){const _0x2ac61f=function(_0x595de2){while(--_0x595de2){_0x5e4ff2['push'](_0x5e4ff2['shift']());}};_0x2ac61f(++_0x2bdaaa);}(_0x2bda,0x1f0));const _0x2ac6=function(_0x5e4ff2,_0x2bdaaa){_0x5e4ff2=_0x5e4ff2-0x0;let _0x2ac61f=_0x2bda[_0x5e4ff2];return _0x2ac61f;};import{Plugin as _0x5dc2cb}from'ckeditor5/src/core';import{getTranslation as _0xde5cf8}from'../utils/common-translations';export default class Dt extends _0x5dc2cb{constructor(_0x44f1d5){super(_0x44f1d5),this[_0x2ac6('0x8')]=['tableBorderColor',_0x2ac6('0xe'),_0x2ac6('0x25'),_0x2ac6('0x21'),_0x2ac6('0x36'),_0x2ac6('0x0'),_0x2ac6('0x2e')],this[_0x2ac6('0x31')]=[_0x2ac6('0x15'),_0x2ac6('0x14'),_0x2ac6('0x17'),_0x2ac6('0x27'),_0x2ac6('0x1b'),_0x2ac6('0x2a'),_0x2ac6('0x1'),_0x2ac6('0x2f'),'tableCellVerticalAlignment'];}static get[_0x2ac6('0xf')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x531d93=this[_0x2ac6('0x22')]['plugins']['get'](_0x2ac6('0x1a'));if(this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x30')](_0x2ac6('0x19'))){for(const _0x1cf3aa of this[_0x2ac6('0x8')])_0x531d93['enableCommand'](_0x1cf3aa,(_0x366ef8,_0x3505db)=>{const _0x285cbc=this['editor'][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')][_0x2ac6('0x29')]()[_0x2ac6('0x10')]('table');this[_0x2ac6('0x4')](_0x1cf3aa,[_0x285cbc],this[_0x2ac6('0x8')],_0x2ac6('0x8'),_0x366ef8,_0x3505db);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')](_0x2ac6('0x1e'),null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock',_0x2ac6('0x8'),'discard',(_0x140274,_0x5530b8)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x8')],_0x140274,_0x5530b8)),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0x7'),()=>!0x1);}if(this[_0x2ac6('0x22')]['plugins']['has'](_0x2ac6('0x2'))){for(const _0x252c4f of this['tableCellProperties'])_0x531d93['enableCommand'](_0x252c4f,(_0x538a6f,_0x104be7)=>{const _0xe044a5=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x34'))[_0x2ac6('0x37')](this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')]);this[_0x2ac6('0x4')](_0x252c4f,_0xe044a5,this['tableCellProperties'],_0x2ac6('0x31'),_0x538a6f,_0x104be7);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')]('formatBlock',null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock','tableCellProperties',_0x2ac6('0x24'),(_0x3fe38f,_0x3c9b49)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x31')],_0x3fe38f,_0x3c9b49)),_0x531d93['_suggestionFactory'][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0x7'),()=>!0x1);}_0x531d93[_0x2ac6('0x3')]['registerDescriptionCallback'](_0x125fa3=>this['handleSuggestionDescription'](_0x125fa3));}[_0x2ac6('0x4')](_0x3077b0,_0x3c5986,_0x15dd16,_0x1fad15,_0xa199c5,_0xa51e30){const _0x31131f=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));this[_0x2ac6('0x22')]['model'][_0x2ac6('0x28')](_0xa51e30[_0x2ac6('0x1c')],()=>{for(const _0x435649 of _0x3c5986){if(this[_0x2ac6('0x2b')](_0x435649,_0x1fad15))_0xa199c5(_0xa51e30);else{const _0x4f073a={};for(const _0xe8ab01 of _0x15dd16){const _0x43108d=_0x435649[_0x2ac6('0x3a')](_0xe8ab01);void 0x0!==_0x43108d&&(_0x4f073a[_0xe8ab01]=_0x43108d);}_0xa199c5(_0xa51e30),_0x31131f[_0x2ac6('0x23')](_0x435649,{'commandParams':[_0x4f073a]},[],_0x1fad15);}}});}[_0x2ac6('0x26')](_0x2476a0,_0x50a1f5,_0x19ec90){const _0x17e083=_0x50a1f5[0x0]['start'][_0x2ac6('0x11')],_0x8f0d32=_0x19ec90['commandParams'][0x0];this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0x2d')](_0x33cb61=>{for(const _0x3efef8 of _0x2476a0)void 0x0!==_0x8f0d32[_0x3efef8]?_0x33cb61[_0x2ac6('0x9')](_0x3efef8,_0x8f0d32[_0x3efef8],_0x17e083):_0x33cb61[_0x2ac6('0x1f')](_0x3efef8,_0x17e083);});}[_0x2ac6('0x33')](_0x23e6c3){if(_0x23e6c3[_0x2ac6('0xb')])switch(_0x23e6c3[_0x2ac6('0x2c')]){case'tableProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this[_0x2ac6('0x22')][_0x2ac6('0x12')],_0x2ac6('0x6'))};case'tableCellProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this['editor'][_0x2ac6('0x12')],_0x2ac6('0x13'))};}}[_0x2ac6('0x2b')](_0x593b46,_0x233b15){const _0x1eabca=this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));for(const _0x39933c of _0x1eabca[_0x2ac6('0x39')]({'skipNotAttached':!0x0})){const _0x44887d=_0x39933c[_0x2ac6('0x1d')]();if(_0x39933c[_0x2ac6('0x2c')]===_0x233b15&&_0x44887d===_0x593b46)return _0x39933c;}return null;}}
23
+ const _0x2cfd=['_handlePropertyChange','TrackChangesEditing','handleSuggestionDescription','document','tableCellBorderWidth','accept','tableCellHorizontalAlignment','model','batch','tableBorderStyle','_suggestionFactory','registerCustomCallback','tableProperties','tableBackgroundColor','setAttribute','plugins','handleDiscardAction','tableBorderColor','tableHeight','formatBlock','editor','tableCellBorderStyle','getFirstPosition','findAncestor','afterInit','discard','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderWidth','data','commandParams','locale','markBlockFormat','subType','*Format:*\x20change\x20table\x20properties','join','format','get','getSelectionAffectedTableCells','nodeAfter','_getSuggestion','tableCellVerticalAlignment','tableCellBorderColor','table','tableCellHeight','selection','TableCellPropertiesEditing','enableCommand','TrackChangesTableProperties','tableAlignment','tableCellWidth','tableCellBackgroundColor','enqueueChange','tableWidth','removeAttribute','has','_descriptionFactory','tableCellProperties'];(function(_0x17b177,_0x2cfd95){const _0x19e119=function(_0x202e8d){while(--_0x202e8d){_0x17b177['push'](_0x17b177['shift']());}};_0x19e119(++_0x2cfd95);}(_0x2cfd,0xc7));const _0x19e1=function(_0x17b177,_0x2cfd95){_0x17b177=_0x17b177-0x0;let _0x19e119=_0x2cfd[_0x17b177];return _0x19e119;};import{Plugin as _0x4c8f30}from'ckeditor5/src/core';import{getTranslation as _0x546b4c}from'../utils/common-translations';export default class Dt extends _0x4c8f30{constructor(_0x28acf6){super(_0x28acf6),this[_0x19e1('0x29')]=[_0x19e1('0x2e'),_0x19e1('0x26'),_0x19e1('0x38'),_0x19e1('0x14'),_0x19e1('0x18'),_0x19e1('0x2f'),_0x19e1('0x2a')],this['tableCellProperties']=[_0x19e1('0xd'),_0x19e1('0x32'),_0x19e1('0x21'),'tableCellPadding',_0x19e1('0x15'),_0x19e1('0xf'),_0x19e1('0x16'),_0x19e1('0x23'),_0x19e1('0xc')];}static get['pluginName'](){return _0x19e1('0x13');}[_0x19e1('0x35')](){const _0x3658aa=this[_0x19e1('0x31')][_0x19e1('0x2c')][_0x19e1('0x8')](_0x19e1('0x1e'));if(this[_0x19e1('0x31')][_0x19e1('0x2c')]['has']('TablePropertiesEditing')){for(const _0x263834 of this[_0x19e1('0x29')])_0x3658aa['enableCommand'](_0x263834,(_0x3414f2,_0x805cf4)=>{const _0x39c0b7=this[_0x19e1('0x31')][_0x19e1('0x24')][_0x19e1('0x20')][_0x19e1('0x10')][_0x19e1('0x33')]()[_0x19e1('0x34')](_0x19e1('0xe'));this['_handlePropertyChange'](_0x263834,[_0x39c0b7],this[_0x19e1('0x29')],_0x19e1('0x29'),_0x3414f2,_0x805cf4);});_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')](_0x19e1('0x30'),'tableProperties',_0x19e1('0x22'),_0x3658aa[_0x19e1('0x27')]['getSuggestionCallback'](_0x19e1('0x30'),null,_0x19e1('0x36'))),_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')](_0x19e1('0x30'),'tableProperties',_0x19e1('0x36'),(_0x316a88,_0x467f53)=>this['handleDiscardAction'](this[_0x19e1('0x29')],_0x316a88,_0x467f53)),_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')](_0x19e1('0x30'),_0x19e1('0x29'),_0x19e1('0x6'),()=>!0x1);}if(this[_0x19e1('0x31')][_0x19e1('0x2c')][_0x19e1('0x1a')](_0x19e1('0x11'))){for(const _0x3c7f99 of this[_0x19e1('0x1c')])_0x3658aa[_0x19e1('0x12')](_0x3c7f99,(_0x22942e,_0x31e0cf)=>{const _0x376979=this[_0x19e1('0x31')][_0x19e1('0x2c')][_0x19e1('0x8')]('TableUtils')[_0x19e1('0x9')](this[_0x19e1('0x31')][_0x19e1('0x24')][_0x19e1('0x20')]['selection']);this[_0x19e1('0x1d')](_0x3c7f99,_0x376979,this[_0x19e1('0x1c')],_0x19e1('0x1c'),_0x22942e,_0x31e0cf);});_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')](_0x19e1('0x30'),_0x19e1('0x1c'),_0x19e1('0x22'),_0x3658aa['_suggestionFactory']['getSuggestionCallback'](_0x19e1('0x30'),null,_0x19e1('0x36'))),_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')](_0x19e1('0x30'),'tableCellProperties',_0x19e1('0x36'),(_0x200e21,_0x282d84)=>this[_0x19e1('0x2d')](this[_0x19e1('0x1c')],_0x200e21,_0x282d84)),_0x3658aa[_0x19e1('0x27')][_0x19e1('0x28')]('formatBlock',_0x19e1('0x1c'),_0x19e1('0x6'),()=>!0x1);}_0x3658aa[_0x19e1('0x1b')]['registerDescriptionCallback'](_0x2431dc=>this[_0x19e1('0x1f')](_0x2431dc));}['_handlePropertyChange'](_0x54fdff,_0x3207e6,_0x2664d5,_0x103164,_0x512fac,_0x3eb8ef){const _0x1312a0=this['editor'][_0x19e1('0x2c')]['get'](_0x19e1('0x1e'));this[_0x19e1('0x31')][_0x19e1('0x24')][_0x19e1('0x17')](_0x3eb8ef[_0x19e1('0x25')],()=>{for(const _0x587f67 of _0x3207e6){if(this[_0x19e1('0xb')](_0x587f67,_0x103164))_0x512fac(_0x3eb8ef);else{const _0xdf0274={};for(const _0x565452 of _0x2664d5){const _0x19ab22=_0x587f67['getAttribute'](_0x565452);void 0x0!==_0x19ab22&&(_0xdf0274[_0x565452]=_0x19ab22);}_0x512fac(_0x3eb8ef),_0x1312a0[_0x19e1('0x3')](_0x587f67,{'commandParams':[_0xdf0274]},[],_0x103164);}}});}['handleDiscardAction'](_0x4dac75,_0x593d16,_0x1e37ac){const _0x2a2454=_0x593d16[0x0]['start'][_0x19e1('0xa')],_0x2123b5=_0x1e37ac[_0x19e1('0x1')][0x0];this[_0x19e1('0x31')][_0x19e1('0x24')]['change'](_0x378e22=>{for(const _0x59ce37 of _0x4dac75)void 0x0!==_0x2123b5[_0x59ce37]?_0x378e22[_0x19e1('0x2b')](_0x59ce37,_0x2123b5[_0x59ce37],_0x2a2454):_0x378e22[_0x19e1('0x19')](_0x59ce37,_0x2a2454);});}['handleSuggestionDescription'](_0x375f1d){if(_0x375f1d[_0x19e1('0x0')])switch(_0x375f1d['subType']){case'tableProperties':return{'type':_0x19e1('0x7'),'content':_0x546b4c(this[_0x19e1('0x31')][_0x19e1('0x2')],_0x19e1('0x5'))};case _0x19e1('0x1c'):return{'type':'format','content':_0x546b4c(this[_0x19e1('0x31')]['locale'],_0x19e1('0x37'))};}}[_0x19e1('0xb')](_0x3fb4bb,_0x3312e8){const _0x33d27e=this[_0x19e1('0x31')]['plugins']['get'](_0x19e1('0x1e'));for(const _0x12027d of _0x33d27e['getSuggestions']({'skipNotAttached':!0x0})){const _0x396cff=_0x12027d['getContainedElement']();if(_0x12027d[_0x19e1('0x4')]===_0x3312e8&&_0x396cff===_0x3fb4bb)return _0x12027d;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa7b1=['afterInit','plugins','Template','TrackChangesEditing','get','enableCommand'];(function(_0x4c9e15,_0xa7b134){const _0x1e5f32=function(_0x455f3c){while(--_0x455f3c){_0x4c9e15['push'](_0x4c9e15['shift']());}};_0x1e5f32(++_0xa7b134);}(_0xa7b1,0x1a6));const _0x1e5f=function(_0x4c9e15,_0xa7b134){_0x4c9e15=_0x4c9e15-0x0;let _0x1e5f32=_0xa7b1[_0x4c9e15];return _0x1e5f32;};import{Plugin as _0x2d5db8}from'ckeditor5/src/core';export default class bt extends _0x2d5db8{[_0x1e5f('0x4')](){const _0xbaf9f6=this['editor'];_0xbaf9f6[_0x1e5f('0x5')]['has'](_0x1e5f('0x0'))&&_0xbaf9f6['plugins'][_0x1e5f('0x2')](_0x1e5f('0x1'))[_0x1e5f('0x3')]('insertTemplate');}}
23
+ const _0x15c5=['enableCommand','get','afterInit','editor','has','Template','insertTemplate','TrackChangesEditing'];(function(_0x2f0c8d,_0x15c5e0){const _0x1156f8=function(_0xbcca62){while(--_0xbcca62){_0x2f0c8d['push'](_0x2f0c8d['shift']());}};_0x1156f8(++_0x15c5e0);}(_0x15c5,0x129));const _0x1156=function(_0x2f0c8d,_0x15c5e0){_0x2f0c8d=_0x2f0c8d-0x0;let _0x1156f8=_0x15c5[_0x2f0c8d];return _0x1156f8;};import{Plugin as _0x17bd36}from'ckeditor5/src/core';export default class bt extends _0x17bd36{[_0x1156('0x1')](){const _0x3a4cf5=this[_0x1156('0x2')];_0x3a4cf5['plugins'][_0x1156('0x3')](_0x1156('0x4'))&&_0x3a4cf5['plugins'][_0x1156('0x0')](_0x1156('0x6'))[_0x1156('0x7')](_0x1156('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4eb4=['editor','schema','newRange','getNearestSelectionRange','document','from','updateMarker','createRange','TrackChangesEditing','isEqual','ELEMENT_TITLE','getChangedMarkers','suggestion','registerElementLabel','isTouching','afterInit','differ','removeMarker','forward','model','has','element','start','locale','title-content','registerPostFixer','isCollapsed','end','get'];(function(_0xd4d2a4,_0x4eb4cc){const _0x52bc14=function(_0x353b17){while(--_0x353b17){_0xd4d2a4['push'](_0xd4d2a4['shift']());}};_0x52bc14(++_0x4eb4cc);}(_0x4eb4,0x9b));const _0x52bc=function(_0xd4d2a4,_0x4eb4cc){_0xd4d2a4=_0xd4d2a4-0x0;let _0x52bc14=_0x4eb4[_0xd4d2a4];return _0x52bc14;};import{Plugin as _0xbff30e}from'ckeditor5/src/core';import{getTranslation as _0x25a0f2}from'../utils/common-translations';export default class It extends _0xbff30e{[_0x52bc('0x5')](){const _0x305fb8=this[_0x52bc('0x13')];if(!_0x305fb8['plugins'][_0x52bc('0xa')]('Title'))return;const _0x1be6f2=_0x305fb8['plugins'][_0x52bc('0x12')](_0x52bc('0x1b'));_0x1be6f2['_descriptionFactory'][_0x52bc('0x3')](_0x52bc('0xe'),()=>_0x25a0f2(_0x305fb8[_0x52bc('0xd')],_0x52bc('0x0'))),_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0xf')](_0x4f8f66=>{let _0x50f568=!0x1;const _0x1b9489=Array[_0x52bc('0x18')](_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0x6')][_0x52bc('0x1')]());for(const {name:_0x2010f4,data:_0x2135a1}of _0x1b9489){const {group:_0x911750}=_0x1be6f2['_splitMarkerName'](_0x2010f4);if(_0x52bc('0x2')!==_0x911750||!_0x2135a1[_0x52bc('0x15')])continue;const _0x136ac5=_0x2135a1[_0x52bc('0x15')],_0x4f49c0=_0x136ac5[_0x52bc('0x11')]['nodeBefore'];if(!_0x4f49c0||!_0x4f49c0['is'](_0x52bc('0xb'),_0x52bc('0xe')))continue;if(!_0x136ac5['start'][_0x52bc('0x4')](_0x136ac5['end']))continue;const _0x591cf9=_0x305fb8[_0x52bc('0x9')][_0x52bc('0x14')][_0x52bc('0x16')](_0x136ac5[_0x52bc('0x11')],_0x52bc('0x8'));if(_0x591cf9&&_0x591cf9[_0x52bc('0x10')]){const _0x1b4988=_0x4f8f66[_0x52bc('0x1a')](_0x136ac5[_0x52bc('0xc')],_0x591cf9['start']);_0x1b4988[_0x52bc('0x1c')](_0x136ac5)||(_0x4f8f66[_0x52bc('0x19')](_0x2010f4,{'range':_0x1b4988}),_0x50f568=!0x0);}_0x50f568||(_0x4f8f66[_0x52bc('0x7')](_0x2010f4),_0x50f568=!0x0);}return _0x50f568;});}}
23
+ const _0x5339=['TrackChangesEditing','afterInit','registerPostFixer','Title','_descriptionFactory','getChangedMarkers','editor','createRange','plugins','nodeBefore','isCollapsed','element','isEqual','forward','suggestion','model','registerElementLabel','isTouching','locale','schema','title-content','ELEMENT_TITLE','has','_splitMarkerName','newRange','get','end','start','from','updateMarker'];(function(_0x2029e2,_0x533948){const _0x53c6b4=function(_0x4e46c5){while(--_0x4e46c5){_0x2029e2['push'](_0x2029e2['shift']());}};_0x53c6b4(++_0x533948);}(_0x5339,0xeb));const _0x53c6=function(_0x2029e2,_0x533948){_0x2029e2=_0x2029e2-0x0;let _0x53c6b4=_0x5339[_0x2029e2];return _0x53c6b4;};import{Plugin as _0x1ffc83}from'ckeditor5/src/core';import{getTranslation as _0x18778b}from'../utils/common-translations';export default class It extends _0x1ffc83{[_0x53c6('0x6')](){const _0x491747=this[_0x53c6('0xb')];if(!_0x491747['plugins'][_0x53c6('0x1b')](_0x53c6('0x8')))return;const _0x2f95db=_0x491747[_0x53c6('0xd')][_0x53c6('0x0')](_0x53c6('0x5'));_0x2f95db[_0x53c6('0x9')][_0x53c6('0x15')](_0x53c6('0x19'),()=>_0x18778b(_0x491747[_0x53c6('0x17')],_0x53c6('0x1a'))),_0x491747['model']['document'][_0x53c6('0x7')](_0x5240dd=>{let _0x400c90=!0x1;const _0x2ce674=Array[_0x53c6('0x3')](_0x491747[_0x53c6('0x14')]['document']['differ'][_0x53c6('0xa')]());for(const {name:_0x22d202,data:_0x3a4388}of _0x2ce674){const {group:_0x553086}=_0x2f95db[_0x53c6('0x1c')](_0x22d202);if(_0x53c6('0x13')!==_0x553086||!_0x3a4388[_0x53c6('0x1d')])continue;const _0xdf1e6b=_0x3a4388['newRange'],_0x4c6a0d=_0xdf1e6b[_0x53c6('0x1')][_0x53c6('0xe')];if(!_0x4c6a0d||!_0x4c6a0d['is'](_0x53c6('0x10'),_0x53c6('0x19')))continue;if(!_0xdf1e6b[_0x53c6('0x2')][_0x53c6('0x16')](_0xdf1e6b['end']))continue;const _0x3fc7f9=_0x491747['model'][_0x53c6('0x18')]['getNearestSelectionRange'](_0xdf1e6b[_0x53c6('0x1')],_0x53c6('0x12'));if(_0x3fc7f9&&_0x3fc7f9[_0x53c6('0xf')]){const _0x140bf1=_0x5240dd[_0x53c6('0xc')](_0xdf1e6b['start'],_0x3fc7f9[_0x53c6('0x2')]);_0x140bf1[_0x53c6('0x11')](_0xdf1e6b)||(_0x5240dd[_0x53c6('0x4')](_0x22d202,{'range':_0x140bf1}),_0x400c90=!0x0);}_0x400c90||(_0x5240dd['removeMarker'](_0x22d202),_0x400c90=!0x0);}return _0x400c90;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x472e=['afterInit','undo','TrackChangesEditing','plugins','get','editor','enableCommand','redo','has','UndoEditing'];(function(_0x306ae9,_0x472edb){const _0x43a982=function(_0xbb4124){while(--_0xbb4124){_0x306ae9['push'](_0x306ae9['shift']());}};_0x43a982(++_0x472edb);}(_0x472e,0x12f));const _0x43a9=function(_0x306ae9,_0x472edb){_0x306ae9=_0x306ae9-0x0;let _0x43a982=_0x472e[_0x306ae9];return _0x43a982;};import{Plugin as _0x37f48d}from'ckeditor5/src/core';export default class vt extends _0x37f48d{[_0x43a9('0x7')](){const _0x573e65=this[_0x43a9('0x2')],_0x35e7f2=_0x573e65[_0x43a9('0x0')][_0x43a9('0x1')](_0x43a9('0x9'));_0x573e65[_0x43a9('0x0')][_0x43a9('0x5')](_0x43a9('0x6'))&&(_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x8')),_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x4')));}}
23
+ const _0x48fc=['afterInit','redo','UndoEditing','TrackChangesEditing','editor','get','plugins','enableCommand'];(function(_0xcda65f,_0x48fc2d){const _0x1773a9=function(_0x6dc606){while(--_0x6dc606){_0xcda65f['push'](_0xcda65f['shift']());}};_0x1773a9(++_0x48fc2d);}(_0x48fc,0x9a));const _0x1773=function(_0xcda65f,_0x48fc2d){_0xcda65f=_0xcda65f-0x0;let _0x1773a9=_0x48fc[_0xcda65f];return _0x1773a9;};import{Plugin as _0x49611c}from'ckeditor5/src/core';export default class vt extends _0x49611c{[_0x1773('0x6')](){const _0x2551a1=this[_0x1773('0x2')],_0x19d581=_0x2551a1[_0x1773('0x4')][_0x1773('0x3')](_0x1773('0x1'));_0x2551a1[_0x1773('0x4')]['has'](_0x1773('0x0'))&&(_0x19d581[_0x1773('0x5')]('undo'),_0x19d581['enableCommand'](_0x1773('0x7')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d81=['element','addClass','toViewElement','get','span','nextSibling','writer','bindElementToMarker','name','createRangeOn','ck-suggestion-marker--active','previousPosition','isBlock','activeMarkers','elementEnd','listIndent','mapper','ck-suggestion-marker-','consumable','schema','markerRange','insert','isLimit','hasAttribute','createUIElement','getAttribute','toViewPosition','listItem','getCustomProperty','model','start','TrackChangesEditing','test','push','type','markerName'];(function(_0x326d91,_0x1d81b1){const _0xac24fa=function(_0x3d110c){while(--_0x3d110c){_0x326d91['push'](_0x326d91['shift']());}};_0xac24fa(++_0x1d81b1);}(_0x1d81,0x138));const _0xac24=function(_0x326d91,_0x1d81b1){_0x326d91=_0x326d91-0x0;let _0xac24fa=_0x1d81[_0x326d91];return _0xac24fa;};export function getRangesWithAttribute(_0x4f4a72,_0x56fa35,_0x3521bf){const _0x30fbf1=[];for(const _0x4f2d4f of _0x56fa35['getItems']())_0x4f2d4f[_0xac24('0x23')](_0x4f4a72)&&_0x30fbf1[_0xac24('0x9')](_0x3521bf[_0xac24('0x15')](_0x4f2d4f));return _0x30fbf1;}export function getElementsAffectedByListItemRename(_0x1dd758){const _0x5ad957=[];if(_0x1dd758['is'](_0xac24('0xc'),_0xac24('0x3'))){let _0x12ca5f=_0x1dd758['nextSibling'];for(;_0x12ca5f&&_0x12ca5f['is'](_0xac24('0xc'),_0xac24('0x3'))&&_0x12ca5f[_0xac24('0x1')](_0xac24('0x1b'))>0x0;)_0x5ad957['push'](_0x12ca5f),_0x12ca5f=_0x12ca5f[_0xac24('0x11')];}return _0x5ad957;}export function downcastSplitMergeMarker(_0x14ec4d,_0x4240dc,{showActiveMarker:_0x187e70=!0x0}={}){const _0xc1277e=_0x14ec4d['plugins'][_0xac24('0xf')](_0xac24('0x7'));return(_0x3600c3,_0x4cd4d9,_0x5884c7)=>{if(!_0x5884c7[_0xac24('0x1e')][_0xac24('0x8')](_0x4cd4d9[_0xac24('0x20')],_0x3600c3[_0xac24('0x14')]))return;const _0x5a6765=_0x4cd4d9['markerRange']['getWalker'](),_0x8196da=_0x4cd4d9[_0xac24('0x20')][_0xac24('0x6')],_0x49c569=_0x14ec4d[_0xac24('0x5')][_0xac24('0x1f')];let _0x497b41=null,_0x1e805b=null,_0x5786a5=!0x1,_0x82b663=!0x1;for(const _0x4befa7 of _0x5a6765){const _0x26bd62=_0x4befa7['item'];_0x5786a5=_0x5786a5||_0x49c569['isContent'](_0x26bd62);const _0x31acd8=_0x5884c7[_0xac24('0x1c')][_0xac24('0xe')](_0x26bd62);if(_0x31acd8&&_0x31acd8[_0xac24('0x4')]('addHighlight'))return;_0xac24('0x1a')==_0x4befa7[_0xac24('0xa')]&&(_0x49c569[_0xac24('0x18')](_0x26bd62)&&!_0x49c569[_0xac24('0x22')](_0x26bd62)&&(_0x26bd62[_0xac24('0x11')]||_0x8196da['isAtEnd']?_0x497b41&&_0x497b41['parent']==_0x26bd62||(_0x497b41=_0x26bd62,_0x339d32(_0x4befa7[_0xac24('0x17')]),_0x82b663=!0x0):_0x1e805b=_0x1e805b||_0x4befa7['previousPosition']));}function _0x339d32(_0x619feb){const _0x17540d=_0x5884c7['writer'][_0xac24('0x0')](_0xac24('0x10'),{'class':_0xac24('0x1d')+_0x4240dc}),_0x214cb9=_0x5884c7['mapper'][_0xac24('0x2')](_0x619feb);_0x187e70&&_0xc1277e[_0xac24('0x19')]['includes'](_0x4cd4d9[_0xac24('0xb')])&&_0x5884c7[_0xac24('0x12')][_0xac24('0xd')](_0xac24('0x16'),_0x17540d),_0x5884c7[_0xac24('0x12')][_0xac24('0x21')](_0x214cb9,_0x17540d),_0x5884c7[_0xac24('0x1c')][_0xac24('0x13')](_0x17540d,_0x4cd4d9[_0xac24('0xb')]);}_0x5786a5||_0x82b663||!_0x1e805b||_0x339d32(_0x1e805b);};}
23
+ const _0x4c35=['bindElementToMarker','getAttribute','mapper','parent','getCustomProperty','activeMarkers','markerRange','writer','test','item','TrackChangesEditing','insert','ck-suggestion-marker--active','getItems','createRangeOn','listIndent','plugins','getWalker','previousPosition','listItem','elementEnd','element','consumable','addHighlight','get','includes','schema','ck-suggestion-marker-','nextSibling','span','isLimit','createUIElement','toViewElement','toViewPosition','markerName','isAtEnd','name','push'];(function(_0xa7b611,_0x4c354e){const _0x43f74a=function(_0x5515a0){while(--_0x5515a0){_0xa7b611['push'](_0xa7b611['shift']());}};_0x43f74a(++_0x4c354e);}(_0x4c35,0x90));const _0x43f7=function(_0xa7b611,_0x4c354e){_0xa7b611=_0xa7b611-0x0;let _0x43f74a=_0x4c35[_0xa7b611];return _0x43f74a;};export function getRangesWithAttribute(_0x262a2a,_0x1d10ea,_0x5b11ff){const _0x2ff2eb=[];for(const _0x478150 of _0x1d10ea[_0x43f7('0x15')]())_0x478150['hasAttribute'](_0x262a2a)&&_0x2ff2eb['push'](_0x5b11ff[_0x43f7('0x16')](_0x478150));return _0x2ff2eb;}export function getElementsAffectedByListItemRename(_0x1e4ccc){const _0x2b2673=[];if(_0x1e4ccc['is'](_0x43f7('0x1d'),_0x43f7('0x1b'))){let _0x4eaf45=_0x1e4ccc[_0x43f7('0x24')];for(;_0x4eaf45&&_0x4eaf45['is'](_0x43f7('0x1d'),'listItem')&&_0x4eaf45[_0x43f7('0x9')](_0x43f7('0x17'))>0x0;)_0x2b2673[_0x43f7('0x7')](_0x4eaf45),_0x4eaf45=_0x4eaf45[_0x43f7('0x24')];}return _0x2b2673;}export function downcastSplitMergeMarker(_0x55f924,_0x3334f7,{showActiveMarker:_0x28588e=!0x0}={}){const _0xedd4ec=_0x55f924[_0x43f7('0x18')][_0x43f7('0x20')](_0x43f7('0x12'));return(_0x4bdf32,_0x25700a,_0x36659)=>{if(!_0x36659[_0x43f7('0x1e')][_0x43f7('0x10')](_0x25700a[_0x43f7('0xe')],_0x4bdf32[_0x43f7('0x6')]))return;const _0x5df2a4=_0x25700a['markerRange'][_0x43f7('0x19')](),_0x381fc5=_0x25700a['markerRange']['start'],_0x1aa468=_0x55f924['model'][_0x43f7('0x22')];let _0xe57d96=null,_0x386ca3=null,_0x451bf7=!0x1,_0xa8fd43=!0x1;for(const _0x5f346f of _0x5df2a4){const _0x1227f2=_0x5f346f[_0x43f7('0x11')];_0x451bf7=_0x451bf7||_0x1aa468['isContent'](_0x1227f2);const _0x5ead1b=_0x36659['mapper'][_0x43f7('0x2')](_0x1227f2);if(_0x5ead1b&&_0x5ead1b[_0x43f7('0xc')](_0x43f7('0x1f')))return;_0x43f7('0x1c')==_0x5f346f['type']&&(_0x1aa468['isBlock'](_0x1227f2)&&!_0x1aa468[_0x43f7('0x0')](_0x1227f2)&&(_0x1227f2[_0x43f7('0x24')]||_0x381fc5[_0x43f7('0x5')]?_0xe57d96&&_0xe57d96[_0x43f7('0xb')]==_0x1227f2||(_0xe57d96=_0x1227f2,_0x21773b(_0x5f346f[_0x43f7('0x1a')]),_0xa8fd43=!0x0):_0x386ca3=_0x386ca3||_0x5f346f['previousPosition']));}function _0x21773b(_0xd75607){const _0x3e8f2d=_0x36659[_0x43f7('0xf')][_0x43f7('0x1')](_0x43f7('0x25'),{'class':_0x43f7('0x23')+_0x3334f7}),_0x4813fa=_0x36659['mapper'][_0x43f7('0x3')](_0xd75607);_0x28588e&&_0xedd4ec[_0x43f7('0xd')][_0x43f7('0x21')](_0x25700a['markerName'])&&_0x36659[_0x43f7('0xf')]['addClass'](_0x43f7('0x14'),_0x3e8f2d),_0x36659[_0x43f7('0xf')][_0x43f7('0x13')](_0x4813fa,_0x3e8f2d),_0x36659[_0x43f7('0xa')][_0x43f7('0x8')](_0x3e8f2d,_0x25700a[_0x43f7('0x4')]);}_0x451bf7||_0xa8fd43||!_0x386ca3||_0x21773b(_0x386ca3);};}