@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231028.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 _0x5bff=['add','registerPostFixer','getSelectionAffectedTableCells','options','tableCellBorderWidth','getChangedMarkers','editing','tableCellHorizontalAlignment','selection','cell','*Replace\x20table\x20cells*','reduce','startsWith','map','editingDowncast','rowInsertionRanges','tablePaste','removeMarker','getContainedElement','updateMarker','previous','plugins','first','next','registerDescriptionCallback','nodeAfter','accept','suggestion','keys','remove','documentSelection','getRanges','document','subType','markerToHighlight','TableUtils','markers','length','insertion','get','set','suggestionLoaded','conversion','view','rootName','ck-suggestion-marker-insertion','createRangeIn','getAttributes','low','discard','for','insert','insertColumns','createTableWalker','columns','deletionRanges','unwrap','_isForcedDefaultExecutionBlock','_createdBatches','has','registerCustomCallback','markMultiRangeInsertion','elementToElement','tableCellSuggestion','attributes','join','find','change','cells','_replaceTableSlotCell','some','previousSibling','clipboardOutput','rowInsertionIndexes','markMultiRangeBlockFormat','formatBlock','TrackChangesEditing','getChanges','isEqual','_tablePostFixingSubtypes','oldRange','getShiftedBy','requires','schema','push','getRange','paragraph','afterInit','suggestion:formatBlock:tablePasteCell','insertionRanges','findAncestor','isInContent','createRange','getRowIndexes','name','editor','tablePasteRow','stop','fill','getChildren','tableCellVerticalAlignment','high','getColumns','tablePasteCell','root','suggestionUnloaded','redo','insertRows','wrap','type','tableCellBorderColor','getMarkers','setAttribute','tablePasteChainId','end','nextSibling','endRow','ck-suggestion-marker--active','differ','getItems','column','TableClipboard','$graveyard','hasSuggestion','removeMarkers','model','getSuggestion','_suggestionFactory','columnInsertionIndexes','getRows','tableCell','containsRange','newRange','getSuggestionCallback','removeColumns','endColumn','value','register','commands','position','author','_splitMarkerName','isEmpty','tablePasteColumn','Users','tableCellBackgroundColor','markerName','createElement','createRangeOn','markerAttributes','forceDefaultExecution','locale','from','return','getSuggestions','filter','element','suggestion-td','fromEntries','getTableIfOnlyTableInContent','_getCoordsForCells','activeMarkers','includes','deletion','columnInsertionRanges'];(function(_0x2a8194,_0x5bff4d){const _0x3e0c6b=function(_0xe7633a){while(--_0xe7633a){_0x2a8194['push'](_0x2a8194['shift']());}};_0x3e0c6b(++_0x5bff4d);}(_0x5bff,0x116));const _0x3e0c=function(_0x2a8194,_0x5bff4d){_0x2a8194=_0x2a8194-0x0;let _0x3e0c6b=_0x5bff[_0x2a8194];return _0x3e0c6b;};import{getTranslation as _0x271a22}from'../utils/common-translations';import{Plugin as _0x3bf79b}from'ckeditor5/src/core';import{uid as _0x46046d,priorities as _0x459db8}from'ckeditor5/src/utils';import _0x4b647e from'./table';const le=[_0x3e0c('0x38'),_0x3e0c('0xa2'),'tableCellBorderStyle',_0x3e0c('0x3b'),_0x3e0c('0x98'),_0x3e0c('0x20'),'tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x48a04f=>[_0x48a04f,null]));export default class wt extends _0x3bf79b{static get[_0x3e0c('0x86')](){return[_0x4b647e];}[_0x3e0c('0x8b')](){const _0x1b61f8=this[_0x3e0c('0x93')];if(!_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x6f')](_0x3e0c('0x8')))return;const _0x19d1db=_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')](_0x3e0c('0x80')),_0x47d5ed=_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')](_0x3e0c('0x57')),_0xe6a1b=_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')](_0x4b647e),_0x4c0efb=_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')]('TableClipboard');_0xe6a1b[_0x3e0c('0x83')][_0x3e0c('0x88')](_0x3e0c('0x94'),_0x3e0c('0x1e')),_0x1b61f8['model'][_0x3e0c('0x87')][_0x3e0c('0x18')](_0x3e0c('0x73'),{'allowIn':_0x3e0c('0x11'),'allowContentOf':_0x3e0c('0x11'),'isLimit':!0x0}),_0x1b61f8['conversion'][_0x3e0c('0x72')]({'model':_0x3e0c('0x73'),'view':_0x3e0c('0x2c')});let _0x579112=null;_0x1b61f8[_0x3e0c('0xc')]['on']('insertContent',(_0x45f22a,_0x2f2565)=>{const [_0x2fe5f5,_0x11746d]=_0x2f2565,_0x19e0ec=_0x2f2565[_0x2f2565['length']-0x1];_0x19e0ec&&_0x19e0ec[_0x3e0c('0x25')]||_0x19d1db[_0x3e0c('0x6d')]||this[_0x3e0c('0x93')][_0x3e0c('0x19')][_0x3e0c('0x5b')]('trackChanges')[_0x3e0c('0x17')]&&function(_0x2e4c6a,_0x13ed4c,_0x4ca538,_0x1fffca,_0x58dbf1){if(_0x13ed4c&&!_0x13ed4c['is'](_0x3e0c('0x52')))return!0x1;const _0x4c6b38=_0x58dbf1[_0x3e0c('0x2e')](_0x2e4c6a,_0x4ca538);if(!_0x4c6b38||!fe(_0x4c6b38,void 0x0,_0x1fffca))return!0x1;const _0x43739e=_0x1fffca[_0x3e0c('0x36')](_0x4ca538[_0x3e0c('0x54')][_0x3e0c('0x3c')]);if(!_0x43739e[_0x3e0c('0x59')])return!0x1;const _0x2c7f14=_0x43739e[0x0][_0x3e0c('0x8e')]('table'),_0xc7bf38=_0x1fffca[_0x3e0c('0x91')](_0x43739e),_0x14970d=_0x1fffca['getColumnIndexes'](_0x43739e),_0x1459b0={'startRow':_0xc7bf38[_0x3e0c('0x4a')],'endRow':_0xc7bf38['last'],'startColumn':_0x14970d[_0x3e0c('0x4a')],'endColumn':_0x14970d['last']};return 0x1==_0x43739e[_0x3e0c('0x59')]&&(_0x1459b0[_0x3e0c('0x3')]+=_0x1fffca[_0x3e0c('0x10')](_0x4c6b38)-0x1,_0x1459b0[_0x3e0c('0x16')]+=_0x1fffca[_0x3e0c('0x9a')](_0x4c6b38)-0x1),fe(_0x2c7f14,_0x1459b0,_0x1fffca);}(_0x2fe5f5,_0x11746d,_0x1b61f8[_0x3e0c('0xc')],_0x47d5ed,_0x4c0efb)&&(_0x45f22a[_0x3e0c('0x95')](),_0x579112={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x77')](()=>{_0x1b61f8['model']['insertContent'](_0x2f2565[0x0],_0x2f2565[0x1],_0x2f2565[0x2],{'forceDefaultExecution':!0x0});const _0x3ffce1=_0x46046d(),{rowInsertionRanges:_0x2dc5e7,columnInsertionRanges:_0x43f62b,insertionRanges:_0x21e5e0,deletionRanges:_0x30df45,cells:_0x4cdd3e}=_0x579112;_0x2dc5e7['length']&&_0x19d1db[_0x3e0c('0x71')](_0x2dc5e7,_0x3e0c('0x94'),{'tablePasteChainId':_0x3ffce1}),_0x43f62b[_0x3e0c('0x59')]&&_0x19d1db[_0x3e0c('0x71')](_0x43f62b,'tablePasteColumn',{'tablePasteChainId':_0x3ffce1}),_0x21e5e0[_0x3e0c('0x59')]&&_0x19d1db[_0x3e0c('0x71')](_0x21e5e0,'tablePaste',{'tablePasteChainId':_0x3ffce1,'skipNestingCheck':!0x0}),_0x30df45[_0x3e0c('0x59')]&&_0x19d1db['markMultiRangeDeletion'](_0x30df45,'tablePaste',{'tablePasteChainId':_0x3ffce1,'skipNestingCheck':!0x0});const _0x529684=_0x19d1db[_0x3e0c('0x7e')](_0x4cdd3e[_0x3e0c('0x41')](({element:_0x330667})=>_0x330667),{'formatGroupId':_0x46046d()},[],_0x3e0c('0x9b'),{'tablePasteChainId':_0x3ffce1});if(_0x529684){const _0x2a88f8=_0x529684[_0x3e0c('0xa3')](),_0x564212=[];for(const {element:_0x4a93eb,attributes:_0x5e7847}of _0x4cdd3e){if(!_0x5e7847)continue;const _0x5188ab=_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x23')](_0x4a93eb),_0xc85c15=_0x2a88f8[_0x3e0c('0x76')](_0x2de41f=>_0x2de41f[_0x3e0c('0x89')]()[_0x3e0c('0x82')](_0x5188ab));_0xc85c15&&_0x564212[_0x3e0c('0x88')]([_0xc85c15['name'],_0x5e7847]);}_0x564212[_0x3e0c('0x59')]&&_0x529684[_0x3e0c('0xa4')](_0x3e0c('0x24'),Object[_0x3e0c('0x2d')](_0x564212));}_0x579112=null;}));},{'priority':_0x459db8['high']+0xa}),_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')]('TableClipboard')['on'](_0x3e0c('0x79'),(_0x3fa1be,_0x3fd137)=>{const [_0x47c646,_0x42a23f,,_0x3ce59a]=_0x3fd137;if(!_0x579112)return;_0x3fa1be['stop']();const _0x11dcbd=_0x47c646[_0x3e0c('0x3d')],_0x20ac6c=_0x42a23f,_0x3bca9d=ce(_0x11dcbd),_0x581be3=ce(_0x20ac6c);_0x3fa1be[_0x3e0c('0x28')]=_0x11dcbd;let _0x4617a5=null,_0x88a158=null;if(_0x581be3||_0x3bca9d){if(_0x3bca9d&&!_0x581be3){_0x3ce59a[_0x3e0c('0x51')](_0x11dcbd['getChild'](0x0));for(const _0x3bf095 of Array[_0x3e0c('0x27')](_0x20ac6c[_0x3e0c('0x97')]()))_0x3ce59a[_0x3e0c('0x67')](_0x3bf095,_0x11dcbd,_0x3e0c('0x1'));const _0x49940d=_0x579112[_0x3e0c('0x7d')][_0x3e0c('0x31')](_0x47c646['row']),_0x14c8d1=_0x579112[_0x3e0c('0xf')][_0x3e0c('0x31')](_0x47c646[_0x3e0c('0x7')]);_0x49940d||_0x14c8d1||(_0x4617a5=_0x3ce59a[_0x3e0c('0x62')](_0x11dcbd));}else _0x581be3&&!_0x3bca9d&&(_0x88a158=_0x3ce59a[_0x3e0c('0x62')](_0x11dcbd));}else{const _0x5766c9=_0x3ce59a[_0x3e0c('0x22')](_0x3e0c('0x73')),_0x57b90a=_0x3ce59a[_0x3e0c('0x22')](_0x3e0c('0x73'));_0x3ce59a[_0x3e0c('0xa0')](_0x3ce59a['createRangeIn'](_0x11dcbd),_0x57b90a),_0x3ce59a['insert'](_0x5766c9,_0x11dcbd,0x0);for(const _0x117e42 of Array[_0x3e0c('0x27')](_0x20ac6c[_0x3e0c('0x97')]()))_0x3ce59a['insert'](_0x117e42,_0x5766c9,_0x3e0c('0x1'));_0x4617a5=_0x3ce59a[_0x3e0c('0x23')](_0x5766c9),_0x88a158=_0x3ce59a[_0x3e0c('0x23')](_0x57b90a);}const _0x40c0b0=Array[_0x3e0c('0x27')](_0x20ac6c[_0x3e0c('0x63')]())[_0x3e0c('0x2a')](([_0x596e98])=>le[_0x3e0c('0x31')](_0x596e98));_0x579112[_0x3e0c('0x78')]['push']({'element':_0x11dcbd,'attributes':_0x40c0b0[_0x3e0c('0x59')]?Object['fromEntries'](_0x40c0b0):null}),_0x4617a5&&_0x579112[_0x3e0c('0x8d')][_0x3e0c('0x88')](_0x4617a5),_0x88a158&&_0x579112[_0x3e0c('0x6b')][_0x3e0c('0x88')](_0x88a158);},{'priority':_0x3e0c('0x99')}),_0x47d5ed['on'](_0x3e0c('0x68'),(_0x405510,_0x1e67e0)=>{const [_0x15d436,_0x538220={}]=_0x1e67e0;if(!_0x579112)return;const _0xf5ac06=_0x538220['at']||0x0,_0x39ec66=_0x538220[_0x3e0c('0x6a')]||0x1;_0x579112[_0x3e0c('0xf')]=new Array(_0x39ec66)[_0x3e0c('0x96')](_0xf5ac06)[_0x3e0c('0x41')]((_0x20a10a,_0x1bd198)=>_0x20a10a+_0x1bd198);for(const {cell:_0x34329f}of _0x47d5ed['createTableWalker'](_0x15d436,{'startColumn':_0xf5ac06,'endColumn':_0xf5ac06+_0x39ec66-0x1}))_0x579112[_0x3e0c('0x33')][_0x3e0c('0x88')](_0x1b61f8[_0x3e0c('0xc')]['createRangeOn'](_0x34329f));},{'priority':_0x3e0c('0x64')}),_0x47d5ed['on'](_0x3e0c('0x9f'),(_0x50fba7,_0x399885)=>{const [_0x14c7a5,_0x43c4c5={}]=_0x399885;if(!_0x579112)return;const _0x1b2fba=_0x43c4c5['at']||0x0,_0x2518e7=_0x43c4c5['rows']||0x1;_0x579112[_0x3e0c('0x7d')]=new Array(_0x2518e7)['fill'](_0x1b2fba)[_0x3e0c('0x41')]((_0x2322ed,_0x319263)=>_0x2322ed+_0x319263);for(const {cell:_0x5dd4c1}of _0x47d5ed['createTableWalker'](_0x14c7a5,{'startRow':_0x1b2fba,'endRow':_0x1b2fba+_0x2518e7-0x1}))_0x579112[_0x3e0c('0x43')][_0x3e0c('0x88')](_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x23')](_0x5dd4c1));},{'priority':'low'}),_0x19d1db['_descriptionFactory'][_0x3e0c('0x4c')](_0xa2c81d=>{if(_0xa2c81d['subType']&&_0xa2c81d[_0x3e0c('0x55')][_0x3e0c('0x40')](_0x3e0c('0x44')))return _0xa2c81d[_0x3e0c('0x48')]?{}:{'type':'insertion','content':_0x271a22(_0x1b61f8[_0x3e0c('0x26')],_0x3e0c('0x3e'))};});const _0x3f095e=()=>!0x1;for(const _0x2c1209 of[_0x3e0c('0x44'),_0x3e0c('0x1e'),'tablePasteRow',_0x3e0c('0x9b')])_0x19d1db['_suggestionFactory']['registerCustomCallback'](_0x3e0c('0x5a'),_0x2c1209,_0x3e0c('0x75'),_0x3f095e),_0x19d1db[_0x3e0c('0xe')][_0x3e0c('0x70')]('deletion',_0x2c1209,_0x3e0c('0x75'),_0x3f095e),_0x19d1db[_0x3e0c('0xe')][_0x3e0c('0x70')](_0x3e0c('0x7f'),_0x2c1209,_0x3e0c('0x75'),_0x3f095e);_0x19d1db[_0x3e0c('0xe')]['registerCustomCallback'](_0x3e0c('0x7f'),_0x3e0c('0x9b'),'discard',_0x3f095e),_0x19d1db['_suggestionFactory'][_0x3e0c('0x70')](_0x3e0c('0x7f'),_0x3e0c('0x9b'),_0x3e0c('0x4e'),(_0x54a468,_0x12e4b0,_0x130d81)=>{const _0x34a28a=_0x54a468[_0x3e0c('0x41')](_0x22fa13=>_0x22fa13['getContainedElement']())['filter'](_0x7f53c4=>_0x7f53c4),_0x183d51=new Map(_0x34a28a[_0x3e0c('0x41')](_0x53e6e5=>[_0x53e6e5,null]));if(_0x579112)for(const {element:_0x15dbcb,attributes:_0x10ab4c}of _0x579112[_0x3e0c('0x78')])_0x10ab4c&&_0x183d51[_0x3e0c('0x5c')](_0x15dbcb,_0x10ab4c);else{if(_0x130d81&&_0x130d81[_0x3e0c('0x24')])for(const [_0x73a3cb,_0x2b56c8]of Object['entries'](_0x130d81[_0x3e0c('0x24')])){const _0x8f9201=_0x1b61f8['model'][_0x3e0c('0x58')][_0x3e0c('0x5b')](_0x73a3cb),_0x2d3e82=_0x8f9201?_0x8f9201[_0x3e0c('0x89')]()[_0x3e0c('0x46')]():null;_0x2d3e82&&_0x183d51[_0x3e0c('0x5c')](_0x2d3e82,_0x2b56c8);}}_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x77')](_0x4490b0=>{for(const [_0x20c243,_0x21c407]of _0x183d51)_0x4490b0['setAttributes']({...ae,..._0x21c407},_0x20c243);});});const _0x599321=(_0x3b5ea9,_0xd50e59)=>{_0x19d1db[_0x3e0c('0xe')][_0x3e0c('0x70')](_0x3b5ea9,_0x3e0c('0x44'),_0xd50e59,(_0x4764aa,_0x5991ef,_0x3fbf1a)=>{_0x1b61f8[_0x3e0c('0xc')]['change'](_0x2dcc2c=>{const _0x3adb54=[];for(const _0x576fc5 of _0x4764aa){const _0xccac7f=_0x576fc5['start'][_0x3e0c('0x4d')];_0xccac7f['is'](_0x3e0c('0x2b'),_0x3e0c('0x73'))&&_0x3adb54[_0x3e0c('0x88')](_0xccac7f);}_0x19d1db[_0x3e0c('0xe')][_0x3e0c('0x14')](_0x3b5ea9,null,_0xd50e59)(_0x4764aa,_0x5991ef,_0x3fbf1a);for(const _0x17611d of _0x3adb54)_0x3e0c('0x9')!=_0x17611d[_0x3e0c('0x9c')][_0x3e0c('0x60')]&&_0x2dcc2c[_0x3e0c('0x6c')](_0x17611d);});});};_0x599321('insertion','accept'),_0x599321(_0x3e0c('0x5a'),_0x3e0c('0x65')),_0x599321(_0x3e0c('0x32'),'accept'),_0x599321('deletion',_0x3e0c('0x65')),_0x19d1db[_0x3e0c('0xe')][_0x3e0c('0x70')](_0x3e0c('0x5a'),_0x3e0c('0x94'),_0x3e0c('0x65'),_0x5dcb97=>{const _0x1c6d6c=_0x5dcb97[_0x3e0c('0x41')](_0x29f726=>_0x29f726['getContainedElement']()),_0xccea9d=_0x1c6d6c[0x0]['findAncestor']('table'),{minRow:_0x631fe1,maxRow:_0x185cf7}=_0xe6a1b[_0x3e0c('0x2f')](_0x1c6d6c);_0x47d5ed['removeRows'](_0xccea9d,{'at':_0x631fe1,'rows':_0x185cf7-_0x631fe1+0x1});}),_0x19d1db['_suggestionFactory'][_0x3e0c('0x70')](_0x3e0c('0x5a'),'tablePasteColumn',_0x3e0c('0x65'),_0x41d2e8=>{const _0x28060d=_0x41d2e8[_0x3e0c('0x41')](_0x12dd5c=>_0x12dd5c['getContainedElement']()),_0x232bea=_0x28060d[0x0]['findAncestor']('table'),{minColumn:_0x708976,maxColumn:_0x3ee245}=_0xe6a1b['_getCoordsForCells'](_0x28060d);_0x47d5ed[_0x3e0c('0x15')](_0x232bea,{'at':_0x708976,'columns':_0x3ee245-_0x708976+0x1});});const _0x590b8e=(_0x3f63b3,_0x523d69)=>{if(!_0x523d69['subType']||!_0x523d69[_0x3e0c('0x55')]['startsWith'](_0x3e0c('0x44')))return;const _0x3acbda=_0x523d69[_0x3e0c('0x74')][_0x3e0c('0x0')],_0x1c770c=_0x19d1db[_0x3e0c('0x29')]()[_0x3e0c('0x2a')](_0x48b85b=>_0x48b85b[_0x3e0c('0x8f')]&&_0x48b85b['attributes']&&_0x48b85b[_0x3e0c('0x74')]['tablePasteChainId']==_0x3acbda);_0x1c770c[_0x3e0c('0x59')]&&_0x523d69['getAllAdjacentSuggestions']()[_0x3e0c('0x59')]!=_0x1c770c[_0x3e0c('0x59')]&&_0x1c770c[_0x3e0c('0x3f')]((_0xb8d63c,_0x361dd5)=>(_0xb8d63c[_0x3e0c('0x4b')]=_0x361dd5,_0x361dd5[_0x3e0c('0x48')]=_0xb8d63c,_0x361dd5));};function _0xfd3450(_0x187c3d,_0x4d0dbf=!0x0){const {id:_0x43afe1}=_0x19d1db[_0x3e0c('0x1c')](_0x187c3d[_0x3e0c('0x21')]),_0x16508c=['ck-suggestion-marker',_0x3e0c('0x61')],_0x20f0b0=_0x19d1db[_0x3e0c('0x30')][_0x3e0c('0x31')](_0x187c3d[_0x3e0c('0x21')]);return _0x20f0b0&&_0x16508c[_0x3e0c('0x88')](_0x3e0c('0x4')),{'classes':_0x16508c,'attributes':{'data-suggestion':_0x43afe1},'priority':_0x20f0b0&&_0x4d0dbf?0xbc2:0xbb8};}_0x19d1db['on'](_0x3e0c('0x5d'),_0x590b8e,{'priority':_0x3e0c('0x99')}),_0x19d1db['on'](_0x3e0c('0x9d'),_0x590b8e,{'priority':_0x3e0c('0x99')}),_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x54')][_0x3e0c('0x35')](()=>{let _0x3a2b84=!0x1;const _0x251a20=Array[_0x3e0c('0x27')](_0x1b61f8[_0x3e0c('0xc')]['document'][_0x3e0c('0x5')][_0x3e0c('0x39')]());for(const {name:_0x77795,data:_0x44f5dd}of _0x251a20){const {group:_0x56ddc6,type:_0x495faa,id:_0x158fef}=_0x19d1db['_splitMarkerName'](_0x77795);if(_0x3e0c('0x4f')!=_0x56ddc6||_0x3e0c('0x32')!=_0x495faa||_0x44f5dd['oldRange'])continue;if(!_0x19d1db[_0x3e0c('0xa')](_0x158fef))continue;const _0x40e0f8=_0x19d1db[_0x3e0c('0xd')](_0x158fef)['getRanges'](),_0x1a58b0=_0x1b61f8[_0x3e0c('0x49')]['get']('Users')['me'];for(const _0x342178 of _0x19d1db['getSuggestions']()){if(!_0x342178[_0x3e0c('0x8f')]||_0x342178[_0x3e0c('0x1b')]!=_0x1a58b0)continue;if(_0x3e0c('0x7f')!=_0x342178[_0x3e0c('0xa1')]||_0x3e0c('0x9b')!=_0x342178[_0x3e0c('0x55')])continue;if(_0x342178[_0x3e0c('0x53')]()['every'](_0x1e11a7=>_0x40e0f8[_0x3e0c('0x7a')](_0x25e289=>_0x25e289['containsRange'](_0x1e11a7,!0x0))))for(const _0x4f6fe3 of _0x342178['getAllAdjacentSuggestions']())_0x4f6fe3[_0x3e0c('0x8f')]&&(_0x4f6fe3[_0x3e0c('0x65')](),_0x3a2b84=!0x0);}}return _0x3a2b84;}),_0x1b61f8[_0x3e0c('0xc')]['document'][_0x3e0c('0x35')](_0x3e8677=>{const _0x450d31=_0x1b61f8[_0x3e0c('0x19')][_0x3e0c('0x5b')](_0x3e0c('0x9e'));if(!_0x450d31||!_0x450d31[_0x3e0c('0x6e')]['has'](_0x3e8677['batch']))return!0x1;let _0x39c637=!0x1;const _0x3031e2=_0x1b61f8[_0x3e0c('0x49')]['get'](_0x3e0c('0x1f'))['me'],_0x1fa096=_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x54')][_0x3e0c('0x5')][_0x3e0c('0x81')](),_0x313ddd=Array[_0x3e0c('0x27')](_0x1b61f8[_0x3e0c('0xc')][_0x3e0c('0x54')][_0x3e0c('0x5')][_0x3e0c('0x39')]())['filter'](({name:_0xbba164,data:_0x42e68b})=>{const {group:_0x1d701a,subType:_0x4a6047,authorId:_0x46872d}=_0x19d1db[_0x3e0c('0x1c')](_0xbba164);return _0x3e0c('0x4f')==_0x1d701a&&_0x3e0c('0x44')==_0x4a6047&&_0x46872d==_0x3031e2['id']&&!_0x42e68b[_0x3e0c('0x84')];});for(const _0x587a2f of _0x1fa096){if(_0x3e0c('0x67')!=_0x587a2f['type']||_0x3e0c('0x73')!=_0x587a2f[_0x3e0c('0x92')]||0x1!=_0x587a2f[_0x3e0c('0x59')])continue;const _0x2bc20b=_0x3e8677[_0x3e0c('0x90')](_0x587a2f['position'],_0x587a2f[_0x3e0c('0x1a')][_0x3e0c('0x85')](0x1));if(!_0x313ddd[_0x3e0c('0x76')](({data:_0x5ce915})=>_0x5ce915[_0x3e0c('0x13')][_0x3e0c('0x82')](_0x2bc20b)))for(const {name:_0xefcc7e,data:_0x25825b}of _0x313ddd)if(_0x2bc20b[_0x3e0c('0x12')](_0x25825b['newRange'])){_0x3e8677[_0x3e0c('0x47')](_0xefcc7e,{'range':_0x2bc20b}),_0x39c637=!0x0;break;}}return _0x39c637;}),_0x1b61f8['model'][_0x3e0c('0x54')][_0x3e0c('0x35')](_0x18101e=>{let _0x1381e8=!0x1;const _0x5d3c04=_0x1b61f8[_0x3e0c('0x49')][_0x3e0c('0x5b')](_0x3e0c('0x1f'))['me'],_0x6117f6=_0x19d1db['getSuggestions']()['filter'](_0x31009e=>_0x31009e[_0x3e0c('0x8f')]&&_0x31009e[_0x3e0c('0x1b')]==_0x5d3c04),_0x1dcb03=new Set(),_0xd7790=new Set();for(const _0x31387a of _0x6117f6)if('tablePaste'==_0x31387a['subType'])for(const _0x1c0a32 of _0x31387a[_0x3e0c('0xa3')]()){const _0x16af47=_0x1c0a32[_0x3e0c('0x89')]()[_0x3e0c('0x46')]();if(_0x16af47){if(_0x16af47['is']('element',_0x3e0c('0x73'))&&ce(_0x16af47)){_0x31387a[_0x3e0c('0x45')](_0x1c0a32[_0x3e0c('0x92')]),_0x1dcb03[_0x3e0c('0x34')](_0x16af47),_0x1381e8=!0x0;const _0x4f8c80=_0x16af47[_0x3e0c('0x2')],_0x120913=_0x16af47[_0x3e0c('0x7b')],_0x5c3bfb=_0x4f8c80&&_0x4f8c80['is']('element',_0x3e0c('0x73')),_0xeb560c=_0x120913&&_0x120913['is'](_0x3e0c('0x2b'),_0x3e0c('0x73'));_0x5c3bfb&&!_0x1dcb03[_0x3e0c('0x6f')](_0x4f8c80)&&_0xd7790[_0x3e0c('0x34')](_0x4f8c80),_0xeb560c&&!_0x1dcb03[_0x3e0c('0x6f')](_0x120913)&&_0xd7790['add'](_0x120913);}else _0x16af47['is'](_0x3e0c('0x2b'),'paragraph')&&_0x16af47[_0x3e0c('0x1d')]&&(_0x31387a[_0x3e0c('0x45')](_0x1c0a32[_0x3e0c('0x92')]),_0x1381e8=!0x0);}}else{if('tablePasteCell'==_0x31387a[_0x3e0c('0x55')]){if(!_0x31387a[_0x3e0c('0x74')]||!_0x31387a[_0x3e0c('0x74')][_0x3e0c('0x0')])continue;const _0x6a48c5=_0x31387a[_0x3e0c('0x74')]['markerAttributes'];if(_0x6a48c5&&Object[_0x3e0c('0x50')](_0x6a48c5)['length'])continue;const _0x1ba04f=_0x31387a['attributes'][_0x3e0c('0x0')];let _0x5a3afe=!0x0,_0x2dd75a=!0x0;for(const _0x2f257c of _0x6117f6)if(_0x2f257c[_0x3e0c('0x55')]&&_0x2f257c[_0x3e0c('0x55')]['startsWith'](_0x3e0c('0x44'))){if(!_0x2f257c[_0x3e0c('0x74')][_0x3e0c('0x0')]){_0x2dd75a=!0x1;break;}if(_0x2f257c['id']!=_0x31387a['id']&&_0x2f257c[_0x3e0c('0x74')]['tablePasteChainId']==_0x1ba04f){_0x5a3afe=!0x1;break;}}_0x2dd75a&&_0x5a3afe&&(_0x31387a[_0x3e0c('0xb')](),_0x1381e8=!0x0);}}for(const _0x4fe99d of _0x1dcb03)_0x18101e['remove'](_0x4fe99d);for(const _0x5e9e42 of _0xd7790)_0x18101e[_0x3e0c('0x6c')](_0x5e9e42);return _0x1381e8;}),_0x1b61f8[_0x3e0c('0x5e')]['for'](_0x3e0c('0x42'))['markerToHighlight']({'model':_0x3e0c('0x8c'),'view':(_0x131398,_0x32cbfa)=>_0xfd3450(_0x131398),'converterPriority':'high'}),_0x1b61f8[_0x3e0c('0x5e')][_0x3e0c('0x66')]('dataDowncast')[_0x3e0c('0x56')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1d3462,_0x4cc7af)=>_0x4cc7af[_0x3e0c('0x37')]['showSuggestionHighlights']?_0xfd3450(_0x1d3462,!0x1):null,'converterPriority':'high'});const _0x3f1776=_0x1b61f8[_0x3e0c('0x3a')][_0x3e0c('0x5f')];this['listenTo'](_0x3f1776[_0x3e0c('0x54')],_0x3e0c('0x7c'),(_0x554946,_0x35ad4e)=>{const _0x74cf8e=[];for(const _0x393284 of _0x3f1776[_0x3e0c('0x62')](_0x35ad4e['content'])[_0x3e0c('0x6')]())_0x393284['is'](_0x3e0c('0x2b'),_0x3e0c('0x2c'))&&_0x74cf8e['push'](_0x393284);_0x3f1776[_0x3e0c('0x77')](_0x94ffaa=>{for(const _0x3bc92a of _0x74cf8e)_0x94ffaa['move'](_0x94ffaa['createRangeIn'](_0x3bc92a),_0x94ffaa['createPositionBefore'](_0x3bc92a)),_0x94ffaa[_0x3e0c('0x51')](_0x3bc92a);});});}}function ce(_0x3ca9bc){if(_0x3ca9bc['isEmpty'])return!0x0;const _0x5dd0a6=_0x3ca9bc['getChild'](0x0);return _0x5dd0a6['is'](_0x3e0c('0x2b'),_0x3e0c('0x8a'))&&_0x5dd0a6[_0x3e0c('0x1d')];}function fe(_0x244b9e,_0x3fafb3={},_0x281904){for(const {isAnchor:_0x43f89,cellHeight:_0x63cd5,cellWidth:_0x4b9ea1}of _0x281904[_0x3e0c('0x69')](_0x244b9e,{'includeAllSlots':!0x0,..._0x3fafb3}))if(!_0x43f89||0x1!=_0x63cd5||0x1!=_0x4b9ea1)return!0x1;return!0x0;}
23
+ const _0x11e7=['keys','elementToElement','markerToHighlight','createElement','filter','editing','model','createPositionBefore','getRange','registerDescriptionCallback','name','getShiftedBy','editor','formatBlock','markerName','afterInit','cell','getChangedMarkers','*Replace\x20table\x20cells*','getAttributes','nextSibling','endRow','conversion','getContainedElement','getChild','next','unwrap','getRows','rows','containsRange','return','insert','markMultiRangeDeletion','for','nodeAfter','table','accept','low','newRange','findAncestor','subType','getSelectionAffectedTableCells','join','getChildren','_suggestionFactory','TableUtils','find','previousSibling','tablePasteCell','insertionRanges','getSuggestions','insertContent','cells','_splitMarkerName','_createdBatches','length','first','set','column','removeColumns','suggestion:formatBlock:tablePasteCell','getSuggestionCallback','TableClipboard','suggestion','_replaceTableSlotCell','options','row','type','insertion','register','documentSelection','some','isEqual','fromEntries','tableCellPadding','every','createRangeOn','move','removeMarkers','setAttribute','isInContent','ck-suggestion-marker--active','createRangeIn','deletionRanges','startsWith','fill','remove','discard','createTableWalker','last','markerAttributes','_tablePostFixingSubtypes','redo','tableCellSuggestion','tablePaste','differ','getMarkers','listenTo','getTableIfOnlyTableInContent','removeRows','removeMarker','getRanges','push','tablePasteRow','tablePasteChainId','has','$graveyard','includes','document','insertRows','paragraph','requires','updateMarker','stop','end','suggestion-td','wrap','selection','registerPostFixer','root','from','showSuggestionHighlights','entries','map','tableCell','high','attributes','rootName','_getCoordsForCells','ck-suggestion-marker-insertion','author','activeMarkers','tableCellBorderWidth','getColumnIndexes','tableCellBorderStyle','Users','change','tableCellBackgroundColor','add','get','tableCellVerticalAlignment','tablePasteColumn','markers','batch','deletion','element','previous','_descriptionFactory','TrackChangesEditing','clipboardOutput','isEmpty','value','createRange','trackChanges','plugins','getSuggestion','reduce','markMultiRangeBlockFormat','tableCellBorderColor','getAllAdjacentSuggestions','setAttributes','getRowIndexes','registerCustomCallback'];(function(_0x1cb5ec,_0x11e78f){const _0xf1023f=function(_0x3ea80f){while(--_0x3ea80f){_0x1cb5ec['push'](_0x1cb5ec['shift']());}};_0xf1023f(++_0x11e78f);}(_0x11e7,0xdc));const _0xf102=function(_0x1cb5ec,_0x11e78f){_0x1cb5ec=_0x1cb5ec-0x0;let _0xf1023f=_0x11e7[_0x1cb5ec];return _0xf1023f;};import{getTranslation as _0x2ff337}from'../utils/common-translations';import{Plugin as _0x5d8833}from'ckeditor5/src/core';import{uid as _0x4aecfa,priorities as _0x37d1d1}from'ckeditor5/src/utils';import _0x3bbc0b from'./table';const le=[_0xf102('0x4b'),_0xf102('0x65'),_0xf102('0x4d'),'tableCellHorizontalAlignment',_0xf102('0x53'),_0xf102('0x50'),_0xf102('0x11')],ae=Object[_0xf102('0x10')](le[_0xf102('0x42')](_0x40aacd=>[_0x40aacd,null]));export default class wt extends _0x5d8833{static get[_0xf102('0x36')](){return[_0x3bbc0b];}[_0xf102('0x79')](){const _0x40af49=this['editor'];if(!_0x40af49[_0xf102('0x61')][_0xf102('0x30')]('TableClipboard'))return;const _0x223397=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x5b')),_0x5296a8=_0x40af49[_0xf102('0x61')]['get'](_0xf102('0x97')),_0xcd4d41=_0x40af49[_0xf102('0x61')]['get'](_0x3bbc0b),_0x998718=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x5'));_0xcd4d41[_0xf102('0x22')]['push'](_0xf102('0x2e'),_0xf102('0x54')),_0x40af49[_0xf102('0x70')]['schema'][_0xf102('0xc')](_0xf102('0x24'),{'allowIn':_0xf102('0x43'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x40af49[_0xf102('0x80')][_0xf102('0x6b')]({'model':_0xf102('0x24'),'view':_0xf102('0x3a')});let _0x509e8b=null;_0x40af49[_0xf102('0x70')]['on'](_0xf102('0x9d'),(_0x6fe525,_0x4445a4)=>{const [_0x425ea2,_0xeb8ab]=_0x4445a4,_0x21f06e=_0x4445a4[_0x4445a4[_0xf102('0xa1')]-0x1];_0x21f06e&&_0x21f06e['forceDefaultExecution']||_0x223397['_isForcedDefaultExecutionBlock']||this[_0xf102('0x76')]['commands'][_0xf102('0x52')](_0xf102('0x60'))[_0xf102('0x5e')]&&function(_0x13d66b,_0x197779,_0x53abf5,_0x326679,_0x1ff022){if(_0x197779&&!_0x197779['is'](_0xf102('0xd')))return!0x1;const _0x2e7948=_0x1ff022[_0xf102('0x29')](_0x13d66b,_0x53abf5);if(!_0x2e7948||!fe(_0x2e7948,void 0x0,_0x326679))return!0x1;const _0x5cade8=_0x326679[_0xf102('0x93')](_0x53abf5[_0xf102('0x33')][_0xf102('0x3c')]);if(!_0x5cade8[_0xf102('0xa1')])return!0x1;const _0x537343=_0x5cade8[0x0][_0xf102('0x91')](_0xf102('0x8d')),_0x3e5fea=_0x326679[_0xf102('0x68')](_0x5cade8),_0xb9a8e0=_0x326679[_0xf102('0x4c')](_0x5cade8),_0x5e1310={'startRow':_0x3e5fea[_0xf102('0xa2')],'endRow':_0x3e5fea[_0xf102('0x20')],'startColumn':_0xb9a8e0[_0xf102('0xa2')],'endColumn':_0xb9a8e0[_0xf102('0x20')]};return 0x1==_0x5cade8[_0xf102('0xa1')]&&(_0x5e1310[_0xf102('0x7f')]+=_0x326679[_0xf102('0x85')](_0x2e7948)-0x1,_0x5e1310['endColumn']+=_0x326679['getColumns'](_0x2e7948)-0x1),fe(_0x537343,_0x5e1310,_0x326679);}(_0x425ea2,_0xeb8ab,_0x40af49[_0xf102('0x70')],_0x5296a8,_0x998718)&&(_0x6fe525['stop'](),_0x509e8b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x40af49[_0xf102('0x70')][_0xf102('0x4f')](()=>{_0x40af49[_0xf102('0x70')]['insertContent'](_0x4445a4[0x0],_0x4445a4[0x1],_0x4445a4[0x2],{'forceDefaultExecution':!0x0});const _0x463a50=_0x4aecfa(),{rowInsertionRanges:_0x41d577,columnInsertionRanges:_0x1469bc,insertionRanges:_0x33f8d8,deletionRanges:_0x50e02a,cells:_0xae3c4c}=_0x509e8b;_0x41d577['length']&&_0x223397['markMultiRangeInsertion'](_0x41d577,_0xf102('0x2e'),{'tablePasteChainId':_0x463a50}),_0x1469bc['length']&&_0x223397['markMultiRangeInsertion'](_0x1469bc,_0xf102('0x54'),{'tablePasteChainId':_0x463a50}),_0x33f8d8['length']&&_0x223397['markMultiRangeInsertion'](_0x33f8d8,_0xf102('0x25'),{'tablePasteChainId':_0x463a50,'skipNestingCheck':!0x0}),_0x50e02a[_0xf102('0xa1')]&&_0x223397[_0xf102('0x8a')](_0x50e02a,'tablePaste',{'tablePasteChainId':_0x463a50,'skipNestingCheck':!0x0});const _0x1961a3=_0x223397[_0xf102('0x64')](_0xae3c4c['map'](({element:_0x33113b})=>_0x33113b),{'formatGroupId':_0x4aecfa()},[],_0xf102('0x9a'),{'tablePasteChainId':_0x463a50});if(_0x1961a3){const _0x88233f=_0x1961a3[_0xf102('0x27')](),_0x54c52c=[];for(const {element:_0x43320d,attributes:_0x3b7e41}of _0xae3c4c){if(!_0x3b7e41)continue;const _0x4d54e8=_0x40af49[_0xf102('0x70')]['createRangeOn'](_0x43320d),_0x15c382=_0x88233f['find'](_0x2d81de=>_0x2d81de[_0xf102('0x72')]()[_0xf102('0xf')](_0x4d54e8));_0x15c382&&_0x54c52c[_0xf102('0x2d')]([_0x15c382[_0xf102('0x74')],_0x3b7e41]);}_0x54c52c[_0xf102('0xa1')]&&_0x1961a3[_0xf102('0x16')]('markerAttributes',Object['fromEntries'](_0x54c52c));}_0x509e8b=null;}));},{'priority':_0x37d1d1['high']+0xa}),_0x40af49['plugins'][_0xf102('0x52')](_0xf102('0x5'))['on'](_0xf102('0x7'),(_0x14dcaf,_0x128013)=>{const [_0x310bdb,_0x42f1cc,,_0x318358]=_0x128013;if(!_0x509e8b)return;_0x14dcaf[_0xf102('0x38')]();const _0x499645=_0x310bdb[_0xf102('0x7a')],_0x5708d8=_0x42f1cc,_0x3068ec=ce(_0x499645),_0x30295c=ce(_0x5708d8);_0x14dcaf[_0xf102('0x88')]=_0x499645;let _0x130faa=null,_0x52d668=null;if(_0x30295c||_0x3068ec){if(_0x3068ec&&!_0x30295c){_0x318358[_0xf102('0x1d')](_0x499645[_0xf102('0x82')](0x0));for(const _0x28696 of Array['from'](_0x5708d8[_0xf102('0x95')]()))_0x318358['insert'](_0x28696,_0x499645,_0xf102('0x39'));const _0x5c7681=_0x509e8b['rowInsertionIndexes'][_0xf102('0x32')](_0x310bdb[_0xf102('0x9')]),_0x452651=_0x509e8b['columnInsertionIndexes'][_0xf102('0x32')](_0x310bdb[_0xf102('0x1')]);_0x5c7681||_0x452651||(_0x130faa=_0x318358['createRangeIn'](_0x499645));}else _0x30295c&&!_0x3068ec&&(_0x52d668=_0x318358[_0xf102('0x19')](_0x499645));}else{const _0x5864b8=_0x318358[_0xf102('0x6d')](_0xf102('0x24')),_0x481e5e=_0x318358['createElement'](_0xf102('0x24'));_0x318358[_0xf102('0x3b')](_0x318358[_0xf102('0x19')](_0x499645),_0x481e5e),_0x318358[_0xf102('0x89')](_0x5864b8,_0x499645,0x0);for(const _0x37c29f of Array['from'](_0x5708d8['getChildren']()))_0x318358['insert'](_0x37c29f,_0x5864b8,_0xf102('0x39'));_0x130faa=_0x318358['createRangeOn'](_0x5864b8),_0x52d668=_0x318358[_0xf102('0x13')](_0x481e5e);}const _0x1fcb43=Array[_0xf102('0x3f')](_0x5708d8[_0xf102('0x7d')]())[_0xf102('0x6e')](([_0x5b23fc])=>le[_0xf102('0x32')](_0x5b23fc));_0x509e8b[_0xf102('0x9e')]['push']({'element':_0x499645,'attributes':_0x1fcb43[_0xf102('0xa1')]?Object[_0xf102('0x10')](_0x1fcb43):null}),_0x130faa&&_0x509e8b[_0xf102('0x9b')][_0xf102('0x2d')](_0x130faa),_0x52d668&&_0x509e8b[_0xf102('0x1a')]['push'](_0x52d668);},{'priority':_0xf102('0x44')}),_0x5296a8['on']('insertColumns',(_0xf179e,_0x3d0c2c)=>{const [_0x5a6959,_0x5afba2={}]=_0x3d0c2c;if(!_0x509e8b)return;const _0x32c3a4=_0x5afba2['at']||0x0,_0x425f68=_0x5afba2['columns']||0x1;_0x509e8b['columnInsertionIndexes']=new Array(_0x425f68)[_0xf102('0x1c')](_0x32c3a4)[_0xf102('0x42')]((_0x414d5c,_0x4ac175)=>_0x414d5c+_0x4ac175);for(const {cell:_0x1d7110}of _0x5296a8[_0xf102('0x1f')](_0x5a6959,{'startColumn':_0x32c3a4,'endColumn':_0x32c3a4+_0x425f68-0x1}))_0x509e8b['columnInsertionRanges']['push'](_0x40af49[_0xf102('0x70')][_0xf102('0x13')](_0x1d7110));},{'priority':_0xf102('0x8f')}),_0x5296a8['on'](_0xf102('0x34'),(_0x4a01df,_0x523391)=>{const [_0x181b95,_0x5d1613={}]=_0x523391;if(!_0x509e8b)return;const _0x3be05b=_0x5d1613['at']||0x0,_0x2cb952=_0x5d1613[_0xf102('0x86')]||0x1;_0x509e8b['rowInsertionIndexes']=new Array(_0x2cb952)[_0xf102('0x1c')](_0x3be05b)[_0xf102('0x42')]((_0x5a9a0f,_0x5d6756)=>_0x5a9a0f+_0x5d6756);for(const {cell:_0x1d4caf}of _0x5296a8[_0xf102('0x1f')](_0x181b95,{'startRow':_0x3be05b,'endRow':_0x3be05b+_0x2cb952-0x1}))_0x509e8b['rowInsertionRanges'][_0xf102('0x2d')](_0x40af49['model'][_0xf102('0x13')](_0x1d4caf));},{'priority':_0xf102('0x8f')}),_0x223397[_0xf102('0x5a')][_0xf102('0x73')](_0x12ae71=>{if(_0x12ae71[_0xf102('0x92')]&&_0x12ae71[_0xf102('0x92')][_0xf102('0x1b')](_0xf102('0x25')))return _0x12ae71[_0xf102('0x59')]?{}:{'type':'insertion','content':_0x2ff337(_0x40af49['locale'],_0xf102('0x7c'))};});const _0x383c9a=()=>!0x1;for(const _0x33b9f7 of[_0xf102('0x25'),_0xf102('0x54'),_0xf102('0x2e'),_0xf102('0x9a')])_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0xb'),_0x33b9f7,_0xf102('0x94'),_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x57'),_0x33b9f7,_0xf102('0x94'),_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x77'),_0x33b9f7,_0xf102('0x94'),_0x383c9a);_0x223397[_0xf102('0x96')]['registerCustomCallback'](_0xf102('0x77'),_0xf102('0x9a'),'discard',_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x77'),_0xf102('0x9a'),'accept',(_0x219f86,_0x4861ff,_0x54e9bb)=>{const _0x21f109=_0x219f86[_0xf102('0x42')](_0x2f1bd2=>_0x2f1bd2['getContainedElement']())['filter'](_0x1cfa65=>_0x1cfa65),_0x194ef4=new Map(_0x21f109['map'](_0x596dd5=>[_0x596dd5,null]));if(_0x509e8b)for(const {element:_0x4b0677,attributes:_0x8c6491}of _0x509e8b[_0xf102('0x9e')])_0x8c6491&&_0x194ef4[_0xf102('0x0')](_0x4b0677,_0x8c6491);else{if(_0x54e9bb&&_0x54e9bb[_0xf102('0x21')])for(const [_0x317196,_0x3fc3ea]of Object[_0xf102('0x41')](_0x54e9bb[_0xf102('0x21')])){const _0x572a4c=_0x40af49[_0xf102('0x70')][_0xf102('0x55')][_0xf102('0x52')](_0x317196),_0x2c1eba=_0x572a4c?_0x572a4c['getRange']()['getContainedElement']():null;_0x2c1eba&&_0x194ef4[_0xf102('0x0')](_0x2c1eba,_0x3fc3ea);}}_0x40af49['model'][_0xf102('0x4f')](_0x8156d4=>{for(const [_0x362da1,_0x33c9de]of _0x194ef4)_0x8156d4[_0xf102('0x67')]({...ae,..._0x33c9de},_0x362da1);});});const _0x36268d=(_0x124916,_0x4c54c7)=>{_0x223397['_suggestionFactory']['registerCustomCallback'](_0x124916,'tablePaste',_0x4c54c7,(_0x38e48b,_0x211d63,_0x168cc7)=>{_0x40af49['model'][_0xf102('0x4f')](_0x16f019=>{const _0x855962=[];for(const _0x1ba969 of _0x38e48b){const _0x42442f=_0x1ba969['start'][_0xf102('0x8c')];_0x42442f['is'](_0xf102('0x58'),_0xf102('0x24'))&&_0x855962['push'](_0x42442f);}_0x223397[_0xf102('0x96')][_0xf102('0x4')](_0x124916,null,_0x4c54c7)(_0x38e48b,_0x211d63,_0x168cc7);for(const _0x3d8287 of _0x855962)_0xf102('0x31')!=_0x3d8287[_0xf102('0x3e')][_0xf102('0x46')]&&_0x16f019[_0xf102('0x84')](_0x3d8287);});});};_0x36268d(_0xf102('0xb'),_0xf102('0x8e')),_0x36268d(_0xf102('0xb'),'discard'),_0x36268d(_0xf102('0x57'),_0xf102('0x8e')),_0x36268d(_0xf102('0x57'),_0xf102('0x1e')),_0x223397[_0xf102('0x96')][_0xf102('0x69')]('insertion',_0xf102('0x2e'),_0xf102('0x1e'),_0x2b4505=>{const _0xd8a3fc=_0x2b4505[_0xf102('0x42')](_0x5ec8dc=>_0x5ec8dc[_0xf102('0x81')]()),_0x242d52=_0xd8a3fc[0x0]['findAncestor'](_0xf102('0x8d')),{minRow:_0x2196d2,maxRow:_0x5795ab}=_0xcd4d41[_0xf102('0x47')](_0xd8a3fc);_0x5296a8[_0xf102('0x2a')](_0x242d52,{'at':_0x2196d2,'rows':_0x5795ab-_0x2196d2+0x1});}),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0xb'),_0xf102('0x54'),_0xf102('0x1e'),_0x3776c8=>{const _0x1512d9=_0x3776c8['map'](_0x3469da=>_0x3469da[_0xf102('0x81')]()),_0x32f768=_0x1512d9[0x0][_0xf102('0x91')](_0xf102('0x8d')),{minColumn:_0x8066ea,maxColumn:_0x320967}=_0xcd4d41[_0xf102('0x47')](_0x1512d9);_0x5296a8[_0xf102('0x2')](_0x32f768,{'at':_0x8066ea,'columns':_0x320967-_0x8066ea+0x1});});const _0x5edf70=(_0x125f34,_0x147504)=>{if(!_0x147504[_0xf102('0x92')]||!_0x147504[_0xf102('0x92')]['startsWith']('tablePaste'))return;const _0x181d5e=_0x147504['attributes'][_0xf102('0x2f')],_0x338029=_0x223397['getSuggestions']()[_0xf102('0x6e')](_0x5f584e=>_0x5f584e[_0xf102('0x17')]&&_0x5f584e[_0xf102('0x45')]&&_0x5f584e[_0xf102('0x45')][_0xf102('0x2f')]==_0x181d5e);_0x338029[_0xf102('0xa1')]&&_0x147504[_0xf102('0x66')]()[_0xf102('0xa1')]!=_0x338029[_0xf102('0xa1')]&&_0x338029[_0xf102('0x63')]((_0x24044e,_0x252f3d)=>(_0x24044e[_0xf102('0x83')]=_0x252f3d,_0x252f3d[_0xf102('0x59')]=_0x24044e,_0x252f3d));};function _0x3ab965(_0x2b72b4,_0x209dfd=!0x0){const {id:_0x2d3878}=_0x223397[_0xf102('0x9f')](_0x2b72b4[_0xf102('0x78')]),_0x4e73e7=['ck-suggestion-marker',_0xf102('0x48')],_0x47001c=_0x223397[_0xf102('0x4a')][_0xf102('0x32')](_0x2b72b4['markerName']);return _0x47001c&&_0x4e73e7['push'](_0xf102('0x18')),{'classes':_0x4e73e7,'attributes':{'data-suggestion':_0x2d3878},'priority':_0x47001c&&_0x209dfd?0xbc2:0xbb8};}_0x223397['on']('suggestionLoaded',_0x5edf70,{'priority':_0xf102('0x44')}),_0x223397['on']('suggestionUnloaded',_0x5edf70,{'priority':_0xf102('0x44')}),_0x40af49[_0xf102('0x70')][_0xf102('0x33')]['registerPostFixer'](()=>{let _0x4b1d42=!0x1;const _0x4fd22d=Array['from'](_0x40af49['model'][_0xf102('0x33')][_0xf102('0x26')]['getChangedMarkers']());for(const {name:_0x2913c4,data:_0x7d7e6e}of _0x4fd22d){const {group:_0x329e87,type:_0x4b5597,id:_0x252e9f}=_0x223397[_0xf102('0x9f')](_0x2913c4);if(_0xf102('0x6')!=_0x329e87||_0xf102('0x57')!=_0x4b5597||_0x7d7e6e['oldRange'])continue;if(!_0x223397['hasSuggestion'](_0x252e9f))continue;const _0x5a8a56=_0x223397[_0xf102('0x62')](_0x252e9f)[_0xf102('0x2c')](),_0x42660e=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x4e'))['me'];for(const _0x9417c3 of _0x223397[_0xf102('0x9c')]()){if(!_0x9417c3[_0xf102('0x17')]||_0x9417c3[_0xf102('0x49')]!=_0x42660e)continue;if(_0xf102('0x77')!=_0x9417c3[_0xf102('0xa')]||'tablePasteCell'!=_0x9417c3['subType'])continue;if(_0x9417c3[_0xf102('0x2c')]()[_0xf102('0x12')](_0x5be59e=>_0x5a8a56[_0xf102('0xe')](_0xd4830a=>_0xd4830a[_0xf102('0x87')](_0x5be59e,!0x0))))for(const _0x411ef4 of _0x9417c3['getAllAdjacentSuggestions']())_0x411ef4[_0xf102('0x17')]&&(_0x411ef4[_0xf102('0x1e')](),_0x4b1d42=!0x0);}}return _0x4b1d42;}),_0x40af49['model'][_0xf102('0x33')]['registerPostFixer'](_0x2f841f=>{const _0x5290ed=_0x40af49['commands'][_0xf102('0x52')](_0xf102('0x23'));if(!_0x5290ed||!_0x5290ed[_0xf102('0xa0')][_0xf102('0x30')](_0x2f841f[_0xf102('0x56')]))return!0x1;let _0x58d5ee=!0x1;const _0x2d32ac=_0x40af49['plugins']['get'](_0xf102('0x4e'))['me'],_0x4c6570=_0x40af49[_0xf102('0x70')][_0xf102('0x33')][_0xf102('0x26')]['getChanges'](),_0x251546=Array[_0xf102('0x3f')](_0x40af49[_0xf102('0x70')]['document']['differ'][_0xf102('0x7b')]())[_0xf102('0x6e')](({name:_0x2bbc03,data:_0x5dc4bc})=>{const {group:_0x5ee581,subType:_0x5f3f90,authorId:_0x38fcfe}=_0x223397[_0xf102('0x9f')](_0x2bbc03);return _0xf102('0x6')==_0x5ee581&&_0xf102('0x25')==_0x5f3f90&&_0x38fcfe==_0x2d32ac['id']&&!_0x5dc4bc['oldRange'];});for(const _0x3469c0 of _0x4c6570){if('insert'!=_0x3469c0[_0xf102('0xa')]||_0xf102('0x24')!=_0x3469c0['name']||0x1!=_0x3469c0[_0xf102('0xa1')])continue;const _0x597c84=_0x2f841f[_0xf102('0x5f')](_0x3469c0['position'],_0x3469c0['position'][_0xf102('0x75')](0x1));if(!_0x251546[_0xf102('0x98')](({data:_0x4270d1})=>_0x4270d1['newRange'][_0xf102('0xf')](_0x597c84)))for(const {name:_0x332e32,data:_0x208796}of _0x251546)if(_0x597c84[_0xf102('0x87')](_0x208796[_0xf102('0x90')])){_0x2f841f[_0xf102('0x37')](_0x332e32,{'range':_0x597c84}),_0x58d5ee=!0x0;break;}}return _0x58d5ee;}),_0x40af49[_0xf102('0x70')][_0xf102('0x33')][_0xf102('0x3d')](_0x24b7bc=>{let _0x2a5bcb=!0x1;const _0x2d380d=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x4e'))['me'],_0x3a87de=_0x223397[_0xf102('0x9c')]()[_0xf102('0x6e')](_0x7cb0c7=>_0x7cb0c7[_0xf102('0x17')]&&_0x7cb0c7[_0xf102('0x49')]==_0x2d380d),_0x4a932b=new Set(),_0x586407=new Set();for(const _0x5ce94a of _0x3a87de)if(_0xf102('0x25')==_0x5ce94a[_0xf102('0x92')])for(const _0x2d8069 of _0x5ce94a[_0xf102('0x27')]()){const _0x50bed9=_0x2d8069[_0xf102('0x72')]()[_0xf102('0x81')]();if(_0x50bed9){if(_0x50bed9['is'](_0xf102('0x58'),_0xf102('0x24'))&&ce(_0x50bed9)){_0x5ce94a[_0xf102('0x2b')](_0x2d8069['name']),_0x4a932b[_0xf102('0x51')](_0x50bed9),_0x2a5bcb=!0x0;const _0x52b037=_0x50bed9[_0xf102('0x7e')],_0x16d63f=_0x50bed9[_0xf102('0x99')],_0x4f1faf=_0x52b037&&_0x52b037['is'](_0xf102('0x58'),_0xf102('0x24')),_0x142c4a=_0x16d63f&&_0x16d63f['is'](_0xf102('0x58'),_0xf102('0x24'));_0x4f1faf&&!_0x4a932b[_0xf102('0x30')](_0x52b037)&&_0x586407[_0xf102('0x51')](_0x52b037),_0x142c4a&&!_0x4a932b[_0xf102('0x30')](_0x16d63f)&&_0x586407[_0xf102('0x51')](_0x16d63f);}else _0x50bed9['is'](_0xf102('0x58'),_0xf102('0x35'))&&_0x50bed9[_0xf102('0x5d')]&&(_0x5ce94a[_0xf102('0x2b')](_0x2d8069[_0xf102('0x74')]),_0x2a5bcb=!0x0);}}else{if(_0xf102('0x9a')==_0x5ce94a['subType']){if(!_0x5ce94a[_0xf102('0x45')]||!_0x5ce94a[_0xf102('0x45')]['tablePasteChainId'])continue;const _0x4ccc44=_0x5ce94a['attributes']['markerAttributes'];if(_0x4ccc44&&Object[_0xf102('0x6a')](_0x4ccc44)[_0xf102('0xa1')])continue;const _0x2c285c=_0x5ce94a[_0xf102('0x45')][_0xf102('0x2f')];let _0x38d869=!0x0,_0x3368c6=!0x0;for(const _0x3123c1 of _0x3a87de)if(_0x3123c1[_0xf102('0x92')]&&_0x3123c1['subType'][_0xf102('0x1b')](_0xf102('0x25'))){if(!_0x3123c1[_0xf102('0x45')][_0xf102('0x2f')]){_0x3368c6=!0x1;break;}if(_0x3123c1['id']!=_0x5ce94a['id']&&_0x3123c1[_0xf102('0x45')]['tablePasteChainId']==_0x2c285c){_0x38d869=!0x1;break;}}_0x3368c6&&_0x38d869&&(_0x5ce94a[_0xf102('0x15')](),_0x2a5bcb=!0x0);}}for(const _0x36e5c0 of _0x4a932b)_0x24b7bc[_0xf102('0x1d')](_0x36e5c0);for(const _0x237804 of _0x586407)_0x24b7bc[_0xf102('0x84')](_0x237804);return _0x2a5bcb;}),_0x40af49[_0xf102('0x80')][_0xf102('0x8b')]('editingDowncast')['markerToHighlight']({'model':_0xf102('0x3'),'view':(_0x52b1ec,_0xaad1b1)=>_0x3ab965(_0x52b1ec),'converterPriority':_0xf102('0x44')}),_0x40af49['conversion'][_0xf102('0x8b')]('dataDowncast')[_0xf102('0x6c')]({'model':_0xf102('0x3'),'view':(_0xa5c760,_0x4932e0)=>_0x4932e0[_0xf102('0x8')][_0xf102('0x40')]?_0x3ab965(_0xa5c760,!0x1):null,'converterPriority':_0xf102('0x44')});const _0x45dffe=_0x40af49[_0xf102('0x6f')]['view'];this[_0xf102('0x28')](_0x45dffe[_0xf102('0x33')],_0xf102('0x5c'),(_0x801124,_0x58d1ce)=>{const _0x528fd5=[];for(const _0x511daa of _0x45dffe[_0xf102('0x19')](_0x58d1ce['content'])['getItems']())_0x511daa['is'](_0xf102('0x58'),'suggestion-td')&&_0x528fd5[_0xf102('0x2d')](_0x511daa);_0x45dffe['change'](_0x19d6cd=>{for(const _0x1d8e70 of _0x528fd5)_0x19d6cd[_0xf102('0x14')](_0x19d6cd[_0xf102('0x19')](_0x1d8e70),_0x19d6cd[_0xf102('0x71')](_0x1d8e70)),_0x19d6cd['remove'](_0x1d8e70);});});}}function ce(_0x4bad79){if(_0x4bad79[_0xf102('0x5d')])return!0x0;const _0x4831e0=_0x4bad79[_0xf102('0x82')](0x0);return _0x4831e0['is'](_0xf102('0x58'),'paragraph')&&_0x4831e0[_0xf102('0x5d')];}function fe(_0x2830bd,_0x4bf71f={},_0x12f7b1){for(const {isAnchor:_0x3cd9da,cellHeight:_0x3f3ce4,cellWidth:_0x195802}of _0x12f7b1[_0xf102('0x1f')](_0x2830bd,{'includeAllSlots':!0x0,..._0x4bf71f}))if(!_0x3cd9da||0x1!=_0x3f3ce4||0x1!=_0x195802)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x459d=['TrackChangesEditing','handleSuggestionDescription','format','model','resizeTable','document','selection','getSelectedElement','getAttribute','data','plugins','discard','table','resizeTableWidth','getSuggestionCallback','handleResizeTableWidthCommand','getTableColumnsWidths','bind','change','getColumnGroupElement','*Format:*\x20resize\x20table','resizeColumnWidths','afterInit','markBlockFormat','formatBlock','TableColumnResizeEditing','tableWidth','get','_suggestionFactory','registerDescriptionCallback','getContainedElement','getSuggestions','editor','formatGroupId','_descriptionFactory','locale','commandParams'];(function(_0x28ba33,_0x459d8a){const _0xbd3af7=function(_0x47d254){while(--_0x47d254){_0x28ba33['push'](_0x28ba33['shift']());}};_0xbd3af7(++_0x459d8a);}(_0x459d,0x6e));const _0xbd3a=function(_0x28ba33,_0x459d8a){_0x28ba33=_0x28ba33-0x0;let _0xbd3af7=_0x459d[_0x28ba33];return _0xbd3af7;};import{Plugin as _0x448586}from'ckeditor5/src/core';import{getTranslation as _0x4a6ada}from'../utils/common-translations';export default class yt extends _0x448586{[_0xbd3a('0x17')](){if(!this[_0xbd3a('0x21')][_0xbd3a('0xb')]['has'](_0xbd3a('0x1a')))return;const _0x21b45d=this[_0xbd3a('0x21')][_0xbd3a('0xb')][_0xbd3a('0x1c')](_0xbd3a('0x1'));_0x21b45d['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand'][_0xbd3a('0x12')](this)),_0x21b45d['enableCommand'](_0xbd3a('0x16'),this[_0xbd3a('0x10')][_0xbd3a('0x12')](this)),_0x21b45d[_0xbd3a('0x1d')]['registerCustomCallback'](_0xbd3a('0x19'),_0xbd3a('0x5'),'accept',_0x21b45d[_0xbd3a('0x1d')][_0xbd3a('0xf')](_0xbd3a('0x19'),null,_0xbd3a('0xc'))),_0x21b45d['_suggestionFactory']['registerCustomCallback'](_0xbd3a('0x19'),'resizeTable',_0xbd3a('0xc'),_0x21b45d[_0xbd3a('0x1d')][_0xbd3a('0xf')](_0xbd3a('0x19'),null,'accept')),_0x21b45d[_0xbd3a('0x23')][_0xbd3a('0x1e')](this['handleSuggestionDescription'][_0xbd3a('0x12')](this));}['handleResizeTableWidthCommand'](_0x8bcf06,_0x362be9){const _0x15f3f5=this[_0xbd3a('0x21')][_0xbd3a('0xb')][_0xbd3a('0x1c')](_0xbd3a('0x1')),_0x56270f=this['editor']['plugins'][_0xbd3a('0x1c')](_0xbd3a('0x1a')),_0x15f129=_0x362be9[_0xbd3a('0xd')]||this[_0xbd3a('0x21')]['model'][_0xbd3a('0x6')][_0xbd3a('0x7')][_0xbd3a('0x8')]();this[_0xbd3a('0x21')][_0xbd3a('0x4')][_0xbd3a('0x13')](()=>{const _0xe97e44=_0x56270f[_0xbd3a('0x14')](_0x15f129);let _0x47b1df=_0xe97e44?_0x56270f[_0xbd3a('0x11')](_0xe97e44):null,_0x55317e=_0x15f129[_0xbd3a('0x9')](_0xbd3a('0x1b'))||null;const _0x4ff6c2=_0x362be9[_0xbd3a('0x1b')]||_0x55317e,_0x297edb=_0x362be9['columnWidths']||_0x47b1df,_0x315236=this['editor'][_0xbd3a('0xb')]['get']('Users')['me'];for(const _0x20c324 of _0x15f3f5[_0xbd3a('0x20')]()){const _0x371b9c=_0x20c324[_0xbd3a('0x1f')]();if(_0xbd3a('0x5')===_0x20c324['subType']&&_0x371b9c===_0x15f129){_0x20c324['author']!==_0x315236&&_0x20c324['discard']();const _0x4382a8=_0x20c324[_0xbd3a('0xa')][_0xbd3a('0x0')];_0x55317e=_0x4382a8[0x0][_0xbd3a('0x1b')],_0x47b1df=_0x4382a8[0x0]['columnWidths'];break;}}_0x8bcf06({'table':_0x15f129,'tableWidth':_0x4ff6c2,'columnWidths':_0x297edb}),_0x15f3f5[_0xbd3a('0x18')](_0x15f129,{'commandName':_0xbd3a('0xe'),'commandParams':[{'tableWidth':_0x55317e,'columnWidths':_0x47b1df}],'formatGroupId':_0xbd3a('0x5')},[],_0xbd3a('0x5'));});}[_0xbd3a('0x2')](_0x247dbf){const {data:_0x5aa839}=_0x247dbf;if(_0x5aa839&&_0xbd3a('0x5')===_0x5aa839[_0xbd3a('0x22')]){const _0x430854=_0xbd3a('0x15');return{'type':_0xbd3a('0x3'),'content':_0x4a6ada(this[_0xbd3a('0x21')][_0xbd3a('0x24')],_0x430854)};}}}
23
+ const _0x3243=['Users','getSuggestions','formatBlock','model','has','resizeTableWidth','_suggestionFactory','resizeColumnWidths','getAttribute','accept','bind','getContainedElement','handleSuggestionDescription','TrackChangesEditing','get','getTableColumnsWidths','resizeTable','registerCustomCallback','enableCommand','data','subType','getSelectedElement','selection','_descriptionFactory','getSuggestionCallback','handleResizeTableWidthCommand','plugins','format','getColumnGroupElement','registerDescriptionCallback','editor','author','change','TableColumnResizeEditing','columnWidths','discard','markBlockFormat'];(function(_0x56123b,_0x324332){const _0x5e9783=function(_0x30528d){while(--_0x30528d){_0x56123b['push'](_0x56123b['shift']());}};_0x5e9783(++_0x324332);}(_0x3243,0x1cd));const _0x5e97=function(_0x56123b,_0x324332){_0x56123b=_0x56123b-0x0;let _0x5e9783=_0x3243[_0x56123b];return _0x5e9783;};import{Plugin as _0x6a33c0}from'ckeditor5/src/core';import{getTranslation as _0x47a8f9}from'../utils/common-translations';export default class yt extends _0x6a33c0{['afterInit'](){if(!this[_0x5e97('0xd')]['plugins'][_0x5e97('0x18')](_0x5e97('0x10')))return;const _0x59f232=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x21'));_0x59f232[_0x5e97('0x1')]('resizeTableWidth',this[_0x5e97('0x8')][_0x5e97('0x1e')](this)),_0x59f232['enableCommand'](_0x5e97('0x1b'),this[_0x5e97('0x8')]['bind'](this)),_0x59f232[_0x5e97('0x1a')]['registerCustomCallback'](_0x5e97('0x16'),_0x5e97('0x24'),_0x5e97('0x1d'),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x7')]('formatBlock',null,'discard')),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x0')](_0x5e97('0x16'),_0x5e97('0x24'),_0x5e97('0x12'),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x7')]('formatBlock',null,_0x5e97('0x1d'))),_0x59f232[_0x5e97('0x6')][_0x5e97('0xc')](this[_0x5e97('0x20')][_0x5e97('0x1e')](this));}['handleResizeTableWidthCommand'](_0x15f460,_0x26626c){const _0x3db280=this['editor']['plugins'][_0x5e97('0x22')]('TrackChangesEditing'),_0x27f9e9=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x10')),_0x335399=_0x26626c['table']||this[_0x5e97('0xd')][_0x5e97('0x17')]['document'][_0x5e97('0x5')][_0x5e97('0x4')]();this[_0x5e97('0xd')][_0x5e97('0x17')][_0x5e97('0xf')](()=>{const _0x5215a7=_0x27f9e9[_0x5e97('0xb')](_0x335399);let _0x1ee083=_0x5215a7?_0x27f9e9[_0x5e97('0x23')](_0x5215a7):null,_0x411862=_0x335399[_0x5e97('0x1c')]('tableWidth')||null;const _0x5332a0=_0x26626c['tableWidth']||_0x411862,_0x3a0844=_0x26626c[_0x5e97('0x11')]||_0x1ee083,_0x133659=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x14'))['me'];for(const _0xd7f171 of _0x3db280[_0x5e97('0x15')]()){const _0xa18f8c=_0xd7f171[_0x5e97('0x1f')]();if(_0x5e97('0x24')===_0xd7f171[_0x5e97('0x3')]&&_0xa18f8c===_0x335399){_0xd7f171[_0x5e97('0xe')]!==_0x133659&&_0xd7f171[_0x5e97('0x12')]();const _0x1960c4=_0xd7f171[_0x5e97('0x2')]['commandParams'];_0x411862=_0x1960c4[0x0]['tableWidth'],_0x1ee083=_0x1960c4[0x0]['columnWidths'];break;}}_0x15f460({'table':_0x335399,'tableWidth':_0x5332a0,'columnWidths':_0x3a0844}),_0x3db280[_0x5e97('0x13')](_0x335399,{'commandName':_0x5e97('0x19'),'commandParams':[{'tableWidth':_0x411862,'columnWidths':_0x1ee083}],'formatGroupId':_0x5e97('0x24')},[],_0x5e97('0x24'));});}[_0x5e97('0x20')](_0x24b115){const {data:_0x565476}=_0x24b115;if(_0x565476&&_0x5e97('0x24')===_0x565476['formatGroupId']){const _0x3d7f03='*Format:*\x20resize\x20table';return{'type':_0x5e97('0xa'),'content':_0x47a8f9(this['editor']['locale'],_0x3d7f03)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26ed=['_suggestionFactory','createPositionAfter','TrackChangesEditing','markerName','markerRange','markerNameToElements','format','getChild','findAncestor','getRowIndexes','table','getSuggestion','removeMarker:suggestion','enableCommand','removeAttribute','highest','ck-suggestion-marker-','childCount','TableUtils','get','addClass','TableEditing','value','last','getAttribute','showSuggestionHighlights','commandName','activeMarkers','consume','model','consumable','change','end','data','forceValue','item','setAttribute','writer','from','FORMAT_HEADER_COLUMN','FORMAT_REGULAR_ROW','getCellLocation','accept','createPositionBefore','commands','toViewElement','removeClass','setTableRowHeader','includes','nodeBefore','formatBlock','headingRows','getColumnIndexes','addMarker:suggestion','registerDescriptionCallback','registerCustomCallback','createRange','editing','stop','options','parent','_splitMarkerName','getSelectionAffectedTableCells','_descriptionFactory','plugins','downcastDispatcher','start','nodeAfter','selection','document','name','first','markBlockFormat','ck-suggestion-marker--active','setTableColumnHeader','mapper','cell','headingColumns','FORMAT_REGULAR_COLUMN','FORMAT_HEADER_ROW','commandParams'];(function(_0x4906af,_0x26edd6){const _0x50b731=function(_0x333d21){while(--_0x333d21){_0x4906af['push'](_0x4906af['shift']());}};_0x50b731(++_0x26edd6);}(_0x26ed,0x197));const _0x50b7=function(_0x4906af,_0x26edd6){_0x4906af=_0x4906af-0x0;let _0x50b731=_0x26ed[_0x4906af];return _0x50b731;};import{Plugin as _0x1f380e}from'ckeditor5/src/core';import _0x1dd7ae from'./table';import{getTranslation as _0x506018}from'../utils/common-translations';export default class kt extends _0x1f380e{static get['requires'](){return[_0x1dd7ae];}['afterInit'](){const _0x4eab56=this['editor'];if(!_0x4eab56['plugins']['has'](_0x50b7('0x13')))return;const _0x21c792=_0x4eab56['locale'],_0x12e28a=_0x4eab56[_0x50b7('0x3e')][_0x50b7('0x11')](_0x50b7('0x0')),_0x5386eb=_0x4eab56[_0x50b7('0x3e')]['get']('TableUtils'),_0x1e1039=_0x4eab56[_0x50b7('0x3e')][_0x50b7('0x11')](_0x1dd7ae);function _0x1119c1({showActiveMarker:_0x125fb6=!0x0,setDataAttribute:_0x5c058e=!0x0}={}){return(_0x370758,_0x18141b,_0x19752a)=>{const {type:_0xcc9469,id:_0x416964}=_0x12e28a[_0x50b7('0x3b')](_0x18141b['markerName']),_0x22a72c=_0x12e28a[_0x50b7('0x9')](_0x416964);if(!_0x22a72c[_0x50b7('0x1f')]||_0x50b7('0x48')!=_0x22a72c[_0x50b7('0x1f')]['commandName'])return;if(_0x18141b[_0x50b7('0x21')])return void _0x370758[_0x50b7('0x38')]();if(!_0x19752a[_0x50b7('0x1c')][_0x50b7('0x1a')](_0x18141b[_0x50b7('0x2')],_0x370758[_0x50b7('0x44')]))return;const _0xd92a23=_0x18141b[_0x50b7('0x2')][_0x50b7('0x40')][_0x50b7('0x41')],_0x5de415=_0x18141b[_0x50b7('0x2')][_0x50b7('0x1e')][_0x50b7('0x2f')],_0x552889=_0xd92a23[_0x50b7('0x3a')][_0x50b7('0x3a')],{column:_0x3949bb}=_0x5386eb['getCellLocation'](_0xd92a23),{column:_0x5cad94}=_0x5386eb[_0x50b7('0x27')](_0x5de415);for(let _0x2ee9ea=_0x3949bb;_0x2ee9ea<=_0x5cad94;_0x2ee9ea++){const _0x3f15e5=_0x5386eb['createTableWalker'](_0x552889,{'column':_0x2ee9ea,'includeAllSlots':!0x1});for(const _0x1f1dcd of _0x3f15e5){const _0x421e25=_0x1f1dcd['cell'],_0x53b397=_0x19752a['mapper'][_0x50b7('0x2b')](_0x421e25);_0x19752a[_0x50b7('0x23')]['addClass'](_0x50b7('0xe')+_0xcc9469,_0x53b397),_0x5c058e&&_0x19752a[_0x50b7('0x23')][_0x50b7('0x22')]('data-suggestion',_0x416964,_0x53b397),_0x19752a['mapper']['bindElementToMarker'](_0x53b397,_0x18141b[_0x50b7('0x1')]),_0x125fb6&&(_0x12e28a[_0x50b7('0x19')][_0x50b7('0x2e')](_0x18141b['markerName'])?_0x19752a[_0x50b7('0x23')][_0x50b7('0x12')](_0x50b7('0x47'),_0x53b397):_0x19752a[_0x50b7('0x23')][_0x50b7('0x2c')](_0x50b7('0x47'),_0x53b397));}}};}_0x12e28a[_0x50b7('0xb')](_0x50b7('0x2d'),(_0x3088bd,_0x129cf1)=>{const _0x5c7eb3=_0x5386eb['getSelectionAffectedTableCells'](_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x43')][_0x50b7('0x42')]),_0x1e1449=_0x5386eb[_0x50b7('0x7')](_0x5c7eb3),_0x310b54=_0x5c7eb3[0x0][_0x50b7('0x6')](_0x50b7('0x8')),_0x58ac5a=_0x310b54[_0x50b7('0x16')](_0x50b7('0x31'))||0x0,_0x264cdf=_0x129cf1&&null!==_0x129cf1[_0x50b7('0x20')]?_0x129cf1[_0x50b7('0x20')]:!_0x4eab56[_0x50b7('0x2a')][_0x50b7('0x11')](_0x50b7('0x2d'))[_0x50b7('0x14')],_0x3cbac8=_0x264cdf?_0x1e1449[_0x50b7('0x15')]:_0x1e1449[_0x50b7('0x45')],_0xe2dc8e=_0x310b54['getChild'](_0x3cbac8);let _0x50ca56;if(_0x264cdf){const _0x22deb2=_0x310b54[_0x50b7('0x5')](_0x58ac5a);if(_0xe2dc8e['index']<_0x22deb2['index'])return;_0x50ca56=_0x4eab56[_0x50b7('0x1b')]['createRange'](_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x29')](_0x22deb2['getChild'](0x0)),_0x4eab56['model'][_0x50b7('0x50')](_0xe2dc8e[_0x50b7('0x5')](_0xe2dc8e[_0x50b7('0xf')]-0x1)));}else{const _0x245ba4=_0x310b54[_0x50b7('0x5')](_0x58ac5a-0x1);if(!_0x245ba4)return;_0x50ca56=_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x36')](_0x4eab56[_0x50b7('0x1b')]['createPositionBefore'](_0xe2dc8e[_0x50b7('0x5')](0x0)),_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x50')](_0x245ba4[_0x50b7('0x5')](_0x245ba4[_0x50b7('0xf')]-0x1)));}_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x1d')](()=>{_0x12e28a[_0x50b7('0x46')](_0x50ca56,{'commandName':_0x50b7('0x2d'),'commandParams':[{'forceValue':_0x264cdf}]},[],'setTableRowHeader');});}),_0x12e28a[_0x50b7('0xb')](_0x50b7('0x48'),(_0xa310f0,_0x4a99bd)=>{const _0xa09397=_0x4eab56[_0x50b7('0x3e')][_0x50b7('0x11')](_0x50b7('0x10')),_0x2a9eb1=_0xa09397[_0x50b7('0x3c')](_0x4eab56['model'][_0x50b7('0x43')][_0x50b7('0x42')]),_0x5255b6=_0xa09397[_0x50b7('0x32')](_0x2a9eb1),_0xd12c48=_0x2a9eb1[0x0][_0x50b7('0x6')]('table'),_0x43a982=_0xd12c48[_0x50b7('0x16')](_0x50b7('0x4b'))||0x0,_0x1db6fd=_0x4a99bd&&null!==_0x4a99bd[_0x50b7('0x20')]?_0x4a99bd[_0x50b7('0x20')]:!_0x4eab56[_0x50b7('0x2a')][_0x50b7('0x11')](_0x50b7('0x48'))[_0x50b7('0x14')];let _0x4a7afb;const _0x263e7a=_0xd12c48['getChild'](0x0),_0x1c6fba=_0x1db6fd?_0x5255b6[_0x50b7('0x15')]:_0x5255b6[_0x50b7('0x45')],_0x8a5ab4=_0xa09397['createTableWalker'](_0xd12c48,{'startRow':0x0,'column':_0x1c6fba,'includeAllSlots':!0x1}),_0x4c3651=Array[_0x50b7('0x24')](_0x8a5ab4)[0x0][_0x50b7('0x4a')];if(_0x1db6fd){const _0x422f9c=_0x263e7a['getChild'](_0x43a982);if(_0x4c3651['isBefore'](_0x422f9c))return;_0x4a7afb=_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x36')](_0x4eab56[_0x50b7('0x1b')]['createPositionBefore'](_0x422f9c),_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x50')](_0x4c3651));}else{const _0x4d58f5=_0x263e7a['getChild'](_0x43a982-0x1);if(!_0x4d58f5)return;_0x4a7afb=_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x36')](_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x29')](_0x4c3651),_0x4eab56['model'][_0x50b7('0x50')](_0x4d58f5));}_0x4eab56[_0x50b7('0x1b')][_0x50b7('0x1d')](()=>{_0x12e28a[_0x50b7('0x46')](_0x4a7afb,{'commandName':_0x50b7('0x48'),'commandParams':[{'forceValue':_0x1db6fd}]},[],_0x50b7('0x48'));});}),_0x4eab56['editing'][_0x50b7('0x3f')]['on'](_0x50b7('0x33'),_0x1119c1(),{'priority':_0x50b7('0xd')}),_0x4eab56[_0x50b7('0x1f')][_0x50b7('0x3f')]['on'](_0x50b7('0x33'),(_0x588100,_0x30f25b,_0x51bdb2)=>{_0x51bdb2[_0x50b7('0x39')][_0x50b7('0x17')]&&_0x1119c1({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x588100,_0x30f25b,_0x51bdb2);},{'priority':_0x50b7('0xd')}),_0x4eab56[_0x50b7('0x37')][_0x50b7('0x3f')]['on'](_0x50b7('0xa'),(_0x5272f8,_0x30d945,_0x3abd)=>{const {type:_0x38cd04,id:_0x78c678}=_0x12e28a[_0x50b7('0x3b')](_0x30d945['markerName']),_0x23b3cd=_0x12e28a['getSuggestion'](_0x78c678);if(!_0x23b3cd[_0x50b7('0x1f')]||'setTableColumnHeader'!=_0x23b3cd[_0x50b7('0x1f')][_0x50b7('0x18')])return;const _0x169b03=_0x3abd[_0x50b7('0x49')][_0x50b7('0x3')](_0x30d945[_0x50b7('0x1')]);if(_0x169b03)for(const _0xa03762 of _0x169b03)_0x3abd[_0x50b7('0x23')][_0x50b7('0x2c')]('ck-suggestion-marker-'+_0x38cd04,_0xa03762),_0x3abd['writer']['removeClass']('ck-suggestion-marker--active',_0xa03762),_0x3abd['writer'][_0x50b7('0xc')]('data-suggestion',_0xa03762),_0x3abd[_0x50b7('0x49')]['unbindElementFromMarkerName'](_0xa03762,_0x30d945[_0x50b7('0x1')]);},{'priority':_0x50b7('0xd')}),_0x12e28a[_0x50b7('0x3d')][_0x50b7('0x34')](_0x1b5456=>{const {data:_0xd58862}=_0x1b5456;if(_0xd58862){if(_0x50b7('0x2d')==_0xd58862[_0x50b7('0x18')]){const _0x124a11=_0xd58862[_0x50b7('0x4e')][0x0][_0x50b7('0x20')];return _0x4b8327(_0x506018(_0x21c792,_0x124a11?_0x50b7('0x4d'):_0x50b7('0x26')));}if(_0x50b7('0x48')==_0xd58862['commandName']){const _0x58193b=_0xd58862[_0x50b7('0x4e')][0x0][_0x50b7('0x20')];return _0x4b8327(_0x506018(_0x21c792,_0x58193b?_0x50b7('0x25'):_0x50b7('0x4c')));}}function _0x4b8327(_0xada944){return{'type':_0x50b7('0x4'),'content':_0x506018(_0x21c792,'*Format:*\x20%0',_0xada944)};}});const _0x53b74c=_0x1e1039['_acceptFormatSuggestionCallbackFactory']();_0x12e28a[_0x50b7('0x4f')][_0x50b7('0x35')](_0x50b7('0x30'),'setTableRowHeader',_0x50b7('0x28'),_0x53b74c),_0x12e28a[_0x50b7('0x4f')][_0x50b7('0x35')](_0x50b7('0x30'),'setTableColumnHeader',_0x50b7('0x28'),_0x53b74c);}}
23
+ const _0x2fdc=['FORMAT_HEADER_ROW','createPositionBefore','unbindElementFromMarkerName','isBefore','_descriptionFactory','*Format:*\x20%0','markBlockFormat','plugins','afterInit','createPositionAfter','enableCommand','setAttribute','nodeAfter','findAncestor','registerCustomCallback','activeMarkers','markerName','headingColumns','addMarker:suggestion','data','TrackChangesEditing','markerNameToElements','_suggestionFactory','consumable','consume','from','FORMAT_REGULAR_COLUMN','model','highest','getCellLocation','setTableColumnHeader','get','commandParams','downcastDispatcher','index','registerDescriptionCallback','getSuggestion','last','removeMarker:suggestion','includes','selection','commands','nodeBefore','name','_acceptFormatSuggestionCallbackFactory','writer','table','createRange','_splitMarkerName','end','forceValue','change','getRowIndexes','data-suggestion','locale','TableUtils','getSelectionAffectedTableCells','formatBlock','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','setTableRowHeader','childCount','document','toViewElement','options','commandName','cell','removeClass','first','markerRange','parent','createTableWalker','item','TableEditing','getChild','requires','editing','format','accept','FORMAT_REGULAR_ROW','addClass','getAttribute','removeAttribute','ck-suggestion-marker-','mapper'];(function(_0x3efdc6,_0x2fdcaa){const _0x3f8716=function(_0x5c0cf7){while(--_0x5c0cf7){_0x3efdc6['push'](_0x3efdc6['shift']());}};_0x3f8716(++_0x2fdcaa);}(_0x2fdc,0x16c));const _0x3f87=function(_0x3efdc6,_0x2fdcaa){_0x3efdc6=_0x3efdc6-0x0;let _0x3f8716=_0x2fdc[_0x3efdc6];return _0x3f8716;};import{Plugin as _0xf40504}from'ckeditor5/src/core';import _0x37c839 from'./table';import{getTranslation as _0x4e1252}from'../utils/common-translations';export default class kt extends _0xf40504{static get[_0x3f87('0x33')](){return[_0x37c839];}[_0x3f87('0x45')](){const _0xbc913c=this['editor'];if(!_0xbc913c[_0x3f87('0x44')]['has'](_0x3f87('0x31')))return;const _0x352911=_0xbc913c[_0x3f87('0x1e')],_0x5c8e85=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x3f87('0x51')),_0x231ea9=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x3f87('0x1f')),_0x40656f=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x37c839);function _0x5d3b35({showActiveMarker:_0x14bdfe=!0x0,setDataAttribute:_0x78e0d5=!0x0}={}){return(_0x1adc8f,_0x2853d3,_0x483e27)=>{const {type:_0x4db0c0,id:_0x4902bc}=_0x5c8e85['_splitMarkerName'](_0x2853d3[_0x3f87('0x4d')]),_0x370c9d=_0x5c8e85[_0x3f87('0xc')](_0x4902bc);if(!_0x370c9d[_0x3f87('0x50')]||_0x3f87('0x6')!=_0x370c9d[_0x3f87('0x50')][_0x3f87('0x29')])return;if(_0x2853d3[_0x3f87('0x30')])return void _0x1adc8f['stop']();if(!_0x483e27[_0x3f87('0x54')][_0x3f87('0x0')](_0x2853d3[_0x3f87('0x2d')],_0x1adc8f[_0x3f87('0x13')]))return;const _0x28e5ac=_0x2853d3[_0x3f87('0x2d')]['start'][_0x3f87('0x49')],_0x1a919f=_0x2853d3[_0x3f87('0x2d')][_0x3f87('0x19')][_0x3f87('0x12')],_0x2c9470=_0x28e5ac[_0x3f87('0x2e')][_0x3f87('0x2e')],{column:_0x3ae123}=_0x231ea9[_0x3f87('0x5')](_0x28e5ac),{column:_0x1ae439}=_0x231ea9[_0x3f87('0x5')](_0x1a919f);for(let _0x1c27b1=_0x3ae123;_0x1c27b1<=_0x1ae439;_0x1c27b1++){const _0x52fa9c=_0x231ea9[_0x3f87('0x2f')](_0x2c9470,{'column':_0x1c27b1,'includeAllSlots':!0x1});for(const _0x116d71 of _0x52fa9c){const _0x35ffbc=_0x116d71[_0x3f87('0x2a')],_0x3d0813=_0x483e27[_0x3f87('0x3c')][_0x3f87('0x27')](_0x35ffbc);_0x483e27[_0x3f87('0x15')][_0x3f87('0x38')]('ck-suggestion-marker-'+_0x4db0c0,_0x3d0813),_0x78e0d5&&_0x483e27[_0x3f87('0x15')][_0x3f87('0x48')](_0x3f87('0x1d'),_0x4902bc,_0x3d0813),_0x483e27['mapper']['bindElementToMarker'](_0x3d0813,_0x2853d3['markerName']),_0x14bdfe&&(_0x5c8e85[_0x3f87('0x4c')][_0x3f87('0xf')](_0x2853d3[_0x3f87('0x4d')])?_0x483e27[_0x3f87('0x15')][_0x3f87('0x38')]('ck-suggestion-marker--active',_0x3d0813):_0x483e27[_0x3f87('0x15')][_0x3f87('0x2b')](_0x3f87('0x23'),_0x3d0813));}}};}_0x5c8e85['enableCommand'](_0x3f87('0x24'),(_0x38a433,_0x1edf55)=>{const _0x50345a=_0x231ea9['getSelectionAffectedTableCells'](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x26')][_0x3f87('0x10')]),_0x20f53d=_0x231ea9[_0x3f87('0x1c')](_0x50345a),_0x565dbc=_0x50345a[0x0]['findAncestor']('table'),_0x52e1de=_0x565dbc[_0x3f87('0x39')]('headingRows')||0x0,_0x4d4ade=_0x1edf55&&null!==_0x1edf55[_0x3f87('0x1a')]?_0x1edf55[_0x3f87('0x1a')]:!_0xbc913c[_0x3f87('0x11')][_0x3f87('0x7')](_0x3f87('0x24'))['value'],_0x400c8c=_0x4d4ade?_0x20f53d[_0x3f87('0xd')]:_0x20f53d[_0x3f87('0x2c')],_0x28feed=_0x565dbc[_0x3f87('0x32')](_0x400c8c);let _0x440439;if(_0x4d4ade){const _0x59055b=_0x565dbc[_0x3f87('0x32')](_0x52e1de);if(_0x28feed[_0x3f87('0xa')]<_0x59055b['index'])return;_0x440439=_0xbc913c[_0x3f87('0x3')]['createRange'](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x59055b[_0x3f87('0x32')](0x0)),_0xbc913c[_0x3f87('0x3')][_0x3f87('0x46')](_0x28feed['getChild'](_0x28feed['childCount']-0x1)));}else{const _0x51f750=_0x565dbc['getChild'](_0x52e1de-0x1);if(!_0x51f750)return;_0x440439=_0xbc913c[_0x3f87('0x3')]['createRange'](_0xbc913c['model'][_0x3f87('0x3e')](_0x28feed['getChild'](0x0)),_0xbc913c['model'][_0x3f87('0x46')](_0x51f750[_0x3f87('0x32')](_0x51f750[_0x3f87('0x25')]-0x1)));}_0xbc913c[_0x3f87('0x3')][_0x3f87('0x1b')](()=>{_0x5c8e85[_0x3f87('0x43')](_0x440439,{'commandName':_0x3f87('0x24'),'commandParams':[{'forceValue':_0x4d4ade}]},[],_0x3f87('0x24'));});}),_0x5c8e85[_0x3f87('0x47')](_0x3f87('0x6'),(_0x4d7926,_0x35b91e)=>{const _0x4f6cf9=_0xbc913c[_0x3f87('0x44')]['get']('TableUtils'),_0x4f20f6=_0x4f6cf9[_0x3f87('0x20')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x26')]['selection']),_0x1d8ed1=_0x4f6cf9['getColumnIndexes'](_0x4f20f6),_0x462e99=_0x4f20f6[0x0][_0x3f87('0x4a')](_0x3f87('0x16')),_0x5f444f=_0x462e99[_0x3f87('0x39')](_0x3f87('0x4e'))||0x0,_0x4d49bb=_0x35b91e&&null!==_0x35b91e[_0x3f87('0x1a')]?_0x35b91e[_0x3f87('0x1a')]:!_0xbc913c['commands']['get'](_0x3f87('0x6'))['value'];let _0x4ef1eb;const _0x38bf0b=_0x462e99['getChild'](0x0),_0x50fc98=_0x4d49bb?_0x1d8ed1[_0x3f87('0xd')]:_0x1d8ed1[_0x3f87('0x2c')],_0xa23c65=_0x4f6cf9['createTableWalker'](_0x462e99,{'startRow':0x0,'column':_0x50fc98,'includeAllSlots':!0x1}),_0x366def=Array[_0x3f87('0x1')](_0xa23c65)[0x0]['cell'];if(_0x4d49bb){const _0x222ae3=_0x38bf0b[_0x3f87('0x32')](_0x5f444f);if(_0x366def[_0x3f87('0x40')](_0x222ae3))return;_0x4ef1eb=_0xbc913c[_0x3f87('0x3')][_0x3f87('0x17')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x222ae3),_0xbc913c['model'][_0x3f87('0x46')](_0x366def));}else{const _0x532a7a=_0x38bf0b[_0x3f87('0x32')](_0x5f444f-0x1);if(!_0x532a7a)return;_0x4ef1eb=_0xbc913c[_0x3f87('0x3')][_0x3f87('0x17')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x366def),_0xbc913c[_0x3f87('0x3')]['createPositionAfter'](_0x532a7a));}_0xbc913c[_0x3f87('0x3')][_0x3f87('0x1b')](()=>{_0x5c8e85[_0x3f87('0x43')](_0x4ef1eb,{'commandName':_0x3f87('0x6'),'commandParams':[{'forceValue':_0x4d49bb}]},[],_0x3f87('0x6'));});}),_0xbc913c[_0x3f87('0x34')][_0x3f87('0x9')]['on']('addMarker:suggestion',_0x5d3b35(),{'priority':_0x3f87('0x4')}),_0xbc913c[_0x3f87('0x50')]['downcastDispatcher']['on'](_0x3f87('0x4f'),(_0x227933,_0x11d8ce,_0x4ad3be)=>{_0x4ad3be[_0x3f87('0x28')]['showSuggestionHighlights']&&_0x5d3b35({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x227933,_0x11d8ce,_0x4ad3be);},{'priority':_0x3f87('0x4')}),_0xbc913c[_0x3f87('0x34')][_0x3f87('0x9')]['on'](_0x3f87('0xe'),(_0x3476a7,_0x326b7e,_0xe122d1)=>{const {type:_0x404902,id:_0x3c1fa3}=_0x5c8e85[_0x3f87('0x18')](_0x326b7e['markerName']),_0x2bf53b=_0x5c8e85[_0x3f87('0xc')](_0x3c1fa3);if(!_0x2bf53b[_0x3f87('0x50')]||_0x3f87('0x6')!=_0x2bf53b[_0x3f87('0x50')]['commandName'])return;const _0x20b751=_0xe122d1[_0x3f87('0x3c')][_0x3f87('0x52')](_0x326b7e[_0x3f87('0x4d')]);if(_0x20b751)for(const _0x4c5d1e of _0x20b751)_0xe122d1[_0x3f87('0x15')][_0x3f87('0x2b')](_0x3f87('0x3b')+_0x404902,_0x4c5d1e),_0xe122d1[_0x3f87('0x15')][_0x3f87('0x2b')]('ck-suggestion-marker--active',_0x4c5d1e),_0xe122d1[_0x3f87('0x15')][_0x3f87('0x3a')](_0x3f87('0x1d'),_0x4c5d1e),_0xe122d1[_0x3f87('0x3c')][_0x3f87('0x3f')](_0x4c5d1e,_0x326b7e[_0x3f87('0x4d')]);},{'priority':_0x3f87('0x4')}),_0x5c8e85[_0x3f87('0x41')][_0x3f87('0xb')](_0x51c076=>{const {data:_0x4c7bf1}=_0x51c076;if(_0x4c7bf1){if(_0x3f87('0x24')==_0x4c7bf1[_0x3f87('0x29')]){const _0x3ff436=_0x4c7bf1[_0x3f87('0x8')][0x0][_0x3f87('0x1a')];return _0xfcd78f(_0x4e1252(_0x352911,_0x3ff436?_0x3f87('0x3d'):_0x3f87('0x37')));}if(_0x3f87('0x6')==_0x4c7bf1[_0x3f87('0x29')]){const _0x535f43=_0x4c7bf1[_0x3f87('0x8')][0x0][_0x3f87('0x1a')];return _0xfcd78f(_0x4e1252(_0x352911,_0x535f43?_0x3f87('0x22'):_0x3f87('0x2')));}}function _0xfcd78f(_0x5e6f1b){return{'type':_0x3f87('0x35'),'content':_0x4e1252(_0x352911,_0x3f87('0x42'),_0x5e6f1b)};}});const _0x43c12d=_0x40656f[_0x3f87('0x14')]();_0x5c8e85[_0x3f87('0x53')]['registerCustomCallback']('formatBlock',_0x3f87('0x24'),_0x3f87('0x36'),_0x43c12d),_0x5c8e85[_0x3f87('0x53')][_0x3f87('0x4b')](_0x3f87('0x21'),_0x3f87('0x6'),_0x3f87('0x36'),_0x43c12d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511e=['filter','set:isEnabled','$graveyard','commandName','length','getAncestors','getRanges','registerDescriptionCallback','push','accept','author','afterInit','registerCustomCallback','TrackChangesEditing','selection','TableUtils','detach','mergeTableCellLeft','splitTableCellVertically','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically','editor','splitTableCellHorizontally','root','markMultiRangeBlockFormat','element','return','commands','value','document','refresh','createRangeOn','type','_isForcedDefaultExecutionBlock','_suggestionFactory','*Split\x20cell:*\x20horizontally','getCellLocation','has','map','tableCell','plugins','locale','format','insertion','getFirstPosition','enableCommand','size','mergeTableCells','table','mergeTableCellDown','TableEditing','add','direction','forceDefaultExecution','model','execute','_areMergableCells','mergeTableCellRight','find','formatBlock','get','from','cell','containsRange','findAncestor','fromRange','horizontally','change','deletion','_descriptionFactory','mergeTableCellUp','createTableWalker','_areSelectedCellsMergable','subType','_tablePostFixingSubtypes'];(function(_0x444e94,_0x511e55){const _0x135906=function(_0x4cd4ea){while(--_0x4cd4ea){_0x444e94['push'](_0x444e94['shift']());}};_0x135906(++_0x511e55);}(_0x511e,0x183));const _0x1359=function(_0x444e94,_0x511e55){_0x444e94=_0x444e94-0x0;let _0x135906=_0x511e[_0x444e94];return _0x135906;};import{Plugin as _0x2c6ffc}from'ckeditor5/src/core';import _0x35dbe7 from'./table';import{LiveRange as _0x5de807}from'ckeditor5/src/engine';import{getTranslation as _0x5ed233}from'../utils/common-translations';export default class pt extends _0x2c6ffc{static get['requires'](){return[_0x35dbe7];}[_0x1359('0x4a')](){const _0xa0d648=this[_0x1359('0x9')],_0x334998=_0xa0d648[_0x1359('0x2a')][_0x1359('0x11')][_0x1359('0x2')],_0x20cf5a=_0xa0d648[_0x1359('0x1d')];if(!_0xa0d648['plugins'][_0x1359('0x19')](_0x1359('0x26')))return;const _0x436fbb=_0xa0d648[_0x1359('0x1c')][_0x1359('0x30')](_0x1359('0x1')),_0x3d86dd=_0xa0d648['plugins'][_0x1359('0x30')](_0x1359('0x3')),_0x4fa0cf=_0xa0d648[_0x1359('0x1c')]['get'](_0x35dbe7);_0x4fa0cf[_0x1359('0x3e')][_0x1359('0x47')](_0x1359('0x23')),_0x436fbb['enableCommand'](_0x1359('0x23'),()=>{const _0xa64aec=_0x3d86dd[_0x1359('0x7')](_0xa0d648[_0x1359('0x2a')][_0x1359('0x11')][_0x1359('0x2')]);_0xa0d648['model']['change'](()=>{_0x436fbb[_0x1359('0xc')](_0xa64aec,{'commandName':'mergeTableCells','commandParams':[]},[],_0x1359('0x23'));});}),_0xa0d648['commands'][_0x1359('0x30')](_0x1359('0x23'))['on'](_0x1359('0x2b'),(_0x51cb7e,_0x8c1092)=>{_0xa0d648[_0x1359('0xf')]['get']('trackChanges')[_0x1359('0x10')]&&(_0x8c1092[_0x1359('0x43')]>0x0&&_0x8c1092[_0x8c1092[_0x1359('0x43')]-0x1]&&_0x8c1092[_0x8c1092[_0x1359('0x43')]-0x1][_0x1359('0x29')]||_0x436fbb[_0x1359('0x15')]||this[_0x1359('0x3c')]()||_0x51cb7e['stop']());},{'priority':'highest'});for(const _0x221714 of['mergeTableCellUp',_0x1359('0x2d'),_0x1359('0x25'),_0x1359('0x5')]){const _0x539128=_0xa0d648['commands']['get'](_0x221714);_0x436fbb[_0x1359('0x21')](_0x221714,()=>{const _0x32846b=_0xa0d648[_0x1359('0x2a')]['document'][_0x1359('0x2')]['getFirstPosition']()[_0x1359('0x44')]()[_0x1359('0x2e')](_0xae70de=>_0xae70de['is'](_0x1359('0xd'),_0x1359('0x1b'))),_0x1f8bb1=_0x539128[_0x1359('0x10')];_0xa0d648[_0x1359('0x2a')][_0x1359('0x37')](()=>{_0x436fbb[_0x1359('0xc')]([_0x32846b,_0x1f8bb1],{'commandName':_0x1359('0x23'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x4b594a of[_0x1359('0x6'),'splitTableCellHorizontally']){const _0x22809a=_0xa0d648[_0x1359('0xf')][_0x1359('0x30')](_0x4b594a);_0x436fbb['enableCommand'](_0x4b594a,()=>{const _0x35d395=_0x3d86dd[_0x1359('0x7')](_0xa0d648[_0x1359('0x2a')]['document']['selection'])[0x0],_0x3c4b23=_0x35d395[_0x1359('0x34')](_0x1359('0x24')),{column:_0x14fbb4,row:_0x5d9ed7}=_0x3d86dd[_0x1359('0x18')](_0x35d395);let _0x3f2bb7=[];if(_0x1359('0x36')==_0x22809a[_0x1359('0x28')]){const _0x3473d4=_0x3d86dd[_0x1359('0x3b')](_0x3c4b23,{'startRow':_0x5d9ed7,'endRow':_0x5d9ed7,'includeAllSlots':!0x0});_0x3f2bb7=Array[_0x1359('0x31')](_0x3473d4)[_0x1359('0x1a')](_0xc06e5d=>_0xc06e5d['cell']);}else{const _0x43e3d2=_0x3d86dd[_0x1359('0x3b')](_0x3c4b23,{'column':_0x14fbb4,'includeAllSlots':!0x0});_0x3f2bb7=Array['from'](_0x43e3d2)[_0x1359('0x1a')](_0x12a47f=>_0x12a47f[_0x1359('0x32')]);}_0xa0d648['model'][_0x1359('0x37')](_0xc29487=>{_0x436fbb['markBlockFormat'](_0xc29487[_0x1359('0x13')](_0x35d395),{'commandName':_0x4b594a,'commandParams':[]},_0x3f2bb7,_0x4b594a);});});}_0x436fbb[_0x1359('0x39')][_0x1359('0x46')](_0x394e8b=>{const {data:_0xf274ad}=_0x394e8b;if(_0xf274ad)return'mergeTableCells'==_0xf274ad[_0x1359('0x42')]?{'type':_0x1359('0x1e'),'content':_0x5ed233(_0x20cf5a,'*Merge\x20cells*')}:void 0x0;}),_0x436fbb[_0x1359('0x39')][_0x1359('0x46')](_0x55b190=>{const {data:_0x5448c1}=_0x55b190;if(_0x5448c1)return _0x1359('0x6')==_0x5448c1[_0x1359('0x42')]?{'type':_0x1359('0x1e'),'content':_0x5ed233(_0x20cf5a,_0x1359('0x8'))}:_0x1359('0xa')==_0x5448c1[_0x1359('0x42')]?{'type':_0x1359('0x1e'),'content':_0x5ed233(_0x20cf5a,_0x1359('0x17'))}:void 0x0;});const _0x327efd=_0x4fa0cf['_acceptFormatSuggestionCallbackFactory']();for(const _0x5cf508 of[_0x1359('0x3a'),'mergeTableCellRight',_0x1359('0x25'),'mergeTableCellLeft'])_0x436fbb[_0x1359('0x16')][_0x1359('0x0')]('formatBlock',_0x5cf508,'accept',_0x327efd);for(const _0x17893e of[_0x1359('0x6'),_0x1359('0xa')])_0x436fbb['_suggestionFactory']['registerCustomCallback'](_0x1359('0x2f'),_0x17893e,_0x1359('0x48'),_0x327efd);_0x436fbb[_0x1359('0x16')][_0x1359('0x0')](_0x1359('0x2f'),_0x1359('0x23'),'accept',_0x13f07b=>{_0xa0d648[_0x1359('0x2a')][_0x1359('0x37')](_0x3e58d9=>{const _0x521468=Array[_0x1359('0x31')](_0x334998[_0x1359('0x45')]())[_0x1359('0x1a')](_0x2aa083=>_0x5de807[_0x1359('0x35')](_0x2aa083));_0x3e58d9['setSelection'](_0x13f07b),_0xa0d648['commands'][_0x1359('0x30')](_0x1359('0x23'))[_0x1359('0x12')](),_0xa0d648[_0x1359('0x2b')](_0x1359('0x23'),{'forceDefaultExecution':!0x0});const _0x19e1a5=_0x521468[_0x1359('0x3f')](_0x3a7af5=>_0x1359('0x41')!=_0x3a7af5[_0x1359('0xb')]['rootName']);_0x19e1a5['length']>0x0&&_0x3e58d9['setSelection'](_0x19e1a5);for(const _0x3335bb of _0x521468)_0x3335bb[_0x1359('0x4')]();});});for(const _0x33a324 of['mergeTableCellUp',_0x1359('0x25'),_0x1359('0x5'),'mergeTableCellRight']){const _0xcf633f=_0xa0d648[_0x1359('0xf')][_0x1359('0x30')](_0x33a324);_0xcf633f['on'](_0x1359('0x40'),(_0x3488e5,_0x5aa39c,_0x38f27b)=>{if(_0x38f27b){const _0x3c0010=_0xa0d648[_0x1359('0x2a')]['document'][_0x1359('0x2')][_0x1359('0x20')]()[_0x1359('0x44')]()[_0x1359('0x2e')](_0x18728a=>_0x18728a['is'](_0x1359('0xd'),_0x1359('0x1b')));this['_areMergableCells'](_0xcf633f[_0x1359('0x10')],_0x3c0010)||(_0x3488e5[_0x1359('0xe')]=!0x1,_0x3488e5['stop']());}},{'priority':'low'});}}[_0x1359('0x3c')](){const _0x28df49=this[_0x1359('0x9')][_0x1359('0xf')]['get'](_0x1359('0x23')),_0x585e3e=this['editor'][_0x1359('0x1c')]['get']('TableUtils');if(!_0x28df49['isEnabled'])return!0x1;const _0x7c34d1=_0x585e3e[_0x1359('0x7')](this[_0x1359('0x9')]['model'][_0x1359('0x11')][_0x1359('0x2')]);for(const _0x303d7e of _0x7c34d1)for(const _0x5f1ae3 of _0x7c34d1)if(_0x303d7e!=_0x5f1ae3&&!this[_0x1359('0x2c')](_0x303d7e,_0x5f1ae3))return!0x1;return!0x0;}['_areMergableCells'](_0x53ecc1,_0x3ccd75){const _0x350cb3=this[_0x1359('0x9')]['plugins'][_0x1359('0x30')](_0x1359('0x1')),_0x3bdfe1=this['editor'][_0x1359('0x2a')][_0x1359('0x13')](_0x53ecc1),_0x54c3e1=this[_0x1359('0x9')]['model'][_0x1359('0x13')](_0x3ccd75),_0x285732=new Set(),_0x6930d6=new Set();for(const _0x364b0c of _0x350cb3['getSuggestions']())if((_0x1359('0x1f')==_0x364b0c[_0x1359('0x14')]||_0x1359('0x38')==_0x364b0c[_0x1359('0x14')]||_0x1359('0x23')==_0x364b0c[_0x1359('0x3d')])&&_0x364b0c['isInContent'])for(const _0x4aab2c of _0x364b0c[_0x1359('0x45')]())_0x4aab2c[_0x1359('0x33')](_0x3bdfe1,!0x0)&&_0x285732[_0x1359('0x27')](_0x364b0c[_0x1359('0x14')]+':'+_0x364b0c[_0x1359('0x49')]['id']),_0x4aab2c[_0x1359('0x33')](_0x54c3e1,!0x0)&&_0x6930d6[_0x1359('0x27')](_0x364b0c[_0x1359('0x14')]+':'+_0x364b0c[_0x1359('0x49')]['id']);if(_0x285732[_0x1359('0x22')]!=_0x6930d6[_0x1359('0x22')])return!0x1;for(const _0x555449 of _0x285732)if(!_0x6930d6[_0x1359('0x19')](_0x555449))return!0x1;return!0x0;}}
23
+ const _0x51fa=['document','isInContent','format','cell','TableEditing','mergeTableCellRight','fromRange','registerCustomCallback','set:isEnabled','*Split\x20cell:*\x20horizontally','size','requires','model','add','markMultiRangeBlockFormat','low','deletion','registerDescriptionCallback','find','createRangeOn','detach','accept','formatBlock','findAncestor','getAncestors','length','subType','from','splitTableCellHorizontally','getSuggestions','$graveyard','rootName','get','refresh','mergeTableCellUp','getCellLocation','horizontally','mergeTableCells','_tablePostFixingSubtypes','_suggestionFactory','editor','*Split\x20cell:*\x20vertically','_areMergableCells','root','isEnabled','_descriptionFactory','locale','markBlockFormat','createTableWalker','type','execute','trackChanges','TrackChangesEditing','getRanges','splitTableCellVertically','setSelection','mergeTableCellLeft','has','push','*Merge\x20cells*','plugins','element','commands','selection','containsRange','value','highest','author','map','change','TableUtils','filter','getFirstPosition','getSelectionAffectedTableCells','tableCell','direction','mergeTableCellDown','_acceptFormatSuggestionCallbackFactory','afterInit','enableCommand'];(function(_0x48c926,_0x51fabb){const _0x496172=function(_0x8a1095){while(--_0x8a1095){_0x48c926['push'](_0x48c926['shift']());}};_0x496172(++_0x51fabb);}(_0x51fa,0x196));const _0x4961=function(_0x48c926,_0x51fabb){_0x48c926=_0x48c926-0x0;let _0x496172=_0x51fa[_0x48c926];return _0x496172;};import{Plugin as _0x62aecf}from'ckeditor5/src/core';import _0x3c7851 from'./table';import{LiveRange as _0x2f918a}from'ckeditor5/src/engine';import{getTranslation as _0x426e9e}from'../utils/common-translations';export default class pt extends _0x62aecf{static get[_0x4961('0x5')](){return[_0x3c7851];}[_0x4961('0x48')](){const _0x1286fb=this[_0x4961('0x22')],_0x2fee77=_0x1286fb['model'][_0x4961('0x4a')][_0x4961('0x39')],_0x4031e0=_0x1286fb[_0x4961('0x28')];if(!_0x1286fb[_0x4961('0x36')][_0x4961('0x33')](_0x4961('0x4e')))return;const _0x2d7d48=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x2e')),_0x618699=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x40')),_0x2ae41c=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x3c7851);_0x2ae41c[_0x4961('0x20')][_0x4961('0x34')](_0x4961('0x1f')),_0x2d7d48[_0x4961('0x49')](_0x4961('0x1f'),()=>{const _0x71c898=_0x618699[_0x4961('0x43')](_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection']);_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](()=>{_0x2d7d48[_0x4961('0x8')](_0x71c898,{'commandName':_0x4961('0x1f'),'commandParams':[]},[],_0x4961('0x1f'));});}),_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x1f'))['on']('execute',(_0xcb9f21,_0x1cf55f)=>{_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x2d'))[_0x4961('0x3b')]&&(_0x1cf55f['length']>0x0&&_0x1cf55f[_0x1cf55f['length']-0x1]&&_0x1cf55f[_0x1cf55f['length']-0x1]['forceDefaultExecution']||_0x2d7d48['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0xcb9f21['stop']());},{'priority':_0x4961('0x3c')});for(const _0x4339b7 of['mergeTableCellUp',_0x4961('0x4f'),_0x4961('0x46'),_0x4961('0x32')]){const _0x36d4f9=_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4339b7);_0x2d7d48[_0x4961('0x49')](_0x4339b7,()=>{const _0x37d07d=_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection']['getFirstPosition']()[_0x4961('0x12')]()['find'](_0x3aa1c5=>_0x3aa1c5['is'](_0x4961('0x37'),'tableCell')),_0x1c9754=_0x36d4f9['value'];_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](()=>{_0x2d7d48[_0x4961('0x8')]([_0x37d07d,_0x1c9754],{'commandName':_0x4961('0x1f'),'commandParams':[]},[],_0x4961('0x1f'));});});}for(const _0xf6971a of[_0x4961('0x30'),_0x4961('0x16')]){const _0x52d1e3=_0x1286fb[_0x4961('0x38')]['get'](_0xf6971a);_0x2d7d48['enableCommand'](_0xf6971a,()=>{const _0x3c9ed0=_0x618699[_0x4961('0x43')](_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')][_0x4961('0x39')])[0x0],_0x35dd20=_0x3c9ed0[_0x4961('0x11')]('table'),{column:_0x515cc9,row:_0x30c411}=_0x618699[_0x4961('0x1d')](_0x3c9ed0);let _0x48a52a=[];if(_0x4961('0x1e')==_0x52d1e3[_0x4961('0x45')]){const _0x4fe2d8=_0x618699[_0x4961('0x2a')](_0x35dd20,{'startRow':_0x30c411,'endRow':_0x30c411,'includeAllSlots':!0x0});_0x48a52a=Array['from'](_0x4fe2d8)[_0x4961('0x3e')](_0xe3e0d=>_0xe3e0d['cell']);}else{const _0x21e53f=_0x618699[_0x4961('0x2a')](_0x35dd20,{'column':_0x515cc9,'includeAllSlots':!0x0});_0x48a52a=Array[_0x4961('0x15')](_0x21e53f)['map'](_0x14a6ef=>_0x14a6ef[_0x4961('0x4d')]);}_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](_0x200d02=>{_0x2d7d48[_0x4961('0x29')](_0x200d02[_0x4961('0xd')](_0x3c9ed0),{'commandName':_0xf6971a,'commandParams':[]},_0x48a52a,_0xf6971a);});});}_0x2d7d48[_0x4961('0x27')][_0x4961('0xb')](_0x3d83b7=>{const {data:_0x4d3f68}=_0x3d83b7;if(_0x4d3f68)return _0x4961('0x1f')==_0x4d3f68['commandName']?{'type':'format','content':_0x426e9e(_0x4031e0,_0x4961('0x35'))}:void 0x0;}),_0x2d7d48[_0x4961('0x27')]['registerDescriptionCallback'](_0x1b91b2=>{const {data:_0x24125f}=_0x1b91b2;if(_0x24125f)return _0x4961('0x30')==_0x24125f['commandName']?{'type':_0x4961('0x4c'),'content':_0x426e9e(_0x4031e0,_0x4961('0x23'))}:_0x4961('0x16')==_0x24125f['commandName']?{'type':_0x4961('0x4c'),'content':_0x426e9e(_0x4031e0,_0x4961('0x3'))}:void 0x0;});const _0x5b7606=_0x2ae41c[_0x4961('0x47')]();for(const _0x281725 of['mergeTableCellUp','mergeTableCellRight',_0x4961('0x46'),_0x4961('0x32')])_0x2d7d48[_0x4961('0x21')][_0x4961('0x1')](_0x4961('0x10'),_0x281725,_0x4961('0xf'),_0x5b7606);for(const _0x3c8d70 of['splitTableCellVertically',_0x4961('0x16')])_0x2d7d48[_0x4961('0x21')]['registerCustomCallback'](_0x4961('0x10'),_0x3c8d70,_0x4961('0xf'),_0x5b7606);_0x2d7d48['_suggestionFactory'][_0x4961('0x1')]('formatBlock',_0x4961('0x1f'),_0x4961('0xf'),_0x4f9397=>{_0x1286fb['model'][_0x4961('0x3f')](_0x3eca91=>{const _0x108133=Array[_0x4961('0x15')](_0x2fee77[_0x4961('0x2f')]())[_0x4961('0x3e')](_0x2d5c53=>_0x2f918a[_0x4961('0x0')](_0x2d5c53));_0x3eca91[_0x4961('0x31')](_0x4f9397),_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')]('mergeTableCells')[_0x4961('0x1b')](),_0x1286fb[_0x4961('0x2c')](_0x4961('0x1f'),{'forceDefaultExecution':!0x0});const _0x2a058c=_0x108133[_0x4961('0x41')](_0x3953b1=>_0x4961('0x18')!=_0x3953b1[_0x4961('0x25')][_0x4961('0x19')]);_0x2a058c[_0x4961('0x13')]>0x0&&_0x3eca91[_0x4961('0x31')](_0x2a058c);for(const _0x430935 of _0x108133)_0x430935[_0x4961('0xe')]();});});for(const _0x4bd290 of[_0x4961('0x1c'),'mergeTableCellDown',_0x4961('0x32'),_0x4961('0x4f')]){const _0x2971c8=_0x1286fb['commands']['get'](_0x4bd290);_0x2971c8['on'](_0x4961('0x2'),(_0xd08118,_0x38aae6,_0x5981ca)=>{if(_0x5981ca){const _0x57a7ed=_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection'][_0x4961('0x42')]()['getAncestors']()[_0x4961('0xc')](_0x4e16e1=>_0x4e16e1['is'](_0x4961('0x37'),_0x4961('0x44')));this[_0x4961('0x24')](_0x2971c8['value'],_0x57a7ed)||(_0xd08118['return']=!0x1,_0xd08118['stop']());}},{'priority':_0x4961('0x9')});}}['_areSelectedCellsMergable'](){const _0x3aeb1e=this['editor'][_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x1f')),_0x4f7ace=this[_0x4961('0x22')][_0x4961('0x36')]['get'](_0x4961('0x40'));if(!_0x3aeb1e[_0x4961('0x26')])return!0x1;const _0x51da3d=_0x4f7ace[_0x4961('0x43')](this[_0x4961('0x22')][_0x4961('0x6')][_0x4961('0x4a')][_0x4961('0x39')]);for(const _0x4c7674 of _0x51da3d)for(const _0x549f93 of _0x51da3d)if(_0x4c7674!=_0x549f93&&!this['_areMergableCells'](_0x4c7674,_0x549f93))return!0x1;return!0x0;}[_0x4961('0x24')](_0x563ba6,_0x1cb771){const _0x1df8fb=this[_0x4961('0x22')][_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x2e')),_0x1aed47=this['editor']['model'][_0x4961('0xd')](_0x563ba6),_0x27b206=this[_0x4961('0x22')][_0x4961('0x6')][_0x4961('0xd')](_0x1cb771),_0x3566ba=new Set(),_0x591f7c=new Set();for(const _0x3e9cac of _0x1df8fb[_0x4961('0x17')]())if(('insertion'==_0x3e9cac[_0x4961('0x2b')]||_0x4961('0xa')==_0x3e9cac['type']||_0x4961('0x1f')==_0x3e9cac[_0x4961('0x14')])&&_0x3e9cac[_0x4961('0x4b')])for(const _0x38823e of _0x3e9cac[_0x4961('0x2f')]())_0x38823e[_0x4961('0x3a')](_0x1aed47,!0x0)&&_0x3566ba['add'](_0x3e9cac[_0x4961('0x2b')]+':'+_0x3e9cac[_0x4961('0x3d')]['id']),_0x38823e['containsRange'](_0x27b206,!0x0)&&_0x591f7c[_0x4961('0x7')](_0x3e9cac[_0x4961('0x2b')]+':'+_0x3e9cac['author']['id']);if(_0x3566ba[_0x4961('0x4')]!=_0x591f7c[_0x4961('0x4')])return!0x1;for(const _0x11dad9 of _0x3566ba)if(!_0x591f7c[_0x4961('0x33')](_0x11dad9))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3304=['get','enableCommand','tableOfContents','plugins','editor','_descriptionFactory','TrackChangesEditing','registerElementLabel','insertTableOfContents','commands','afterInit'];(function(_0x37d8ee,_0x3304df){const _0x4f419c=function(_0x17c9fd){while(--_0x17c9fd){_0x37d8ee['push'](_0x37d8ee['shift']());}};_0x4f419c(++_0x3304df);}(_0x3304,0x14e));const _0x4f41=function(_0x37d8ee,_0x3304df){_0x37d8ee=_0x37d8ee-0x0;let _0x4f419c=_0x3304[_0x37d8ee];return _0x4f419c;};import{Plugin as _0x362c35}from'ckeditor5/src/core';import{getTranslation as _0x996e8}from'../utils/common-translations';export default class St extends _0x362c35{[_0x4f41('0x6')](){const _0xa1e4bf=this[_0x4f41('0x0')];if(!_0xa1e4bf[_0x4f41('0x5')][_0x4f41('0x7')]('insertTableOfContents'))return;_0xa1e4bf[_0x4f41('0xa')][_0x4f41('0x7')](_0x4f41('0x2'))[_0x4f41('0x8')](_0x4f41('0x4'));const _0x57005d=_0xa1e4bf['plugins'][_0x4f41('0x7')](_0x4f41('0x2')),_0x59fc53=_0xa1e4bf['locale'];_0x57005d[_0x4f41('0x1')][_0x4f41('0x3')](_0x4f41('0x9'),_0x146ec1=>_0x996e8(_0x59fc53,'ELEMENT_TABLE_OF_CONTENTS',_0x146ec1));}}
23
+ const _0x2e45=['plugins','insertTableOfContents','editor','get','TrackChangesEditing','enableCommand','ELEMENT_TABLE_OF_CONTENTS','locale','tableOfContents','afterInit','registerElementLabel','commands'];(function(_0xf3e7ec,_0x2e4518){const _0xe9eab7=function(_0x5db4d3){while(--_0x5db4d3){_0xf3e7ec['push'](_0xf3e7ec['shift']());}};_0xe9eab7(++_0x2e4518);}(_0x2e45,0xa4));const _0xe9ea=function(_0xf3e7ec,_0x2e4518){_0xf3e7ec=_0xf3e7ec-0x0;let _0xe9eab7=_0x2e45[_0xf3e7ec];return _0xe9eab7;};import{Plugin as _0x26a5aa}from'ckeditor5/src/core';import{getTranslation as _0x2ed183}from'../utils/common-translations';export default class St extends _0x26a5aa{[_0xe9ea('0x1')](){const _0x543a81=this[_0xe9ea('0x6')];if(!_0x543a81[_0xe9ea('0x3')][_0xe9ea('0x7')](_0xe9ea('0x5')))return;_0x543a81[_0xe9ea('0x4')][_0xe9ea('0x7')]('TrackChangesEditing')[_0xe9ea('0x9')](_0xe9ea('0x5'));const _0x207c87=_0x543a81[_0xe9ea('0x4')][_0xe9ea('0x7')](_0xe9ea('0x8')),_0x14e761=_0x543a81[_0xe9ea('0xb')];_0x207c87['_descriptionFactory'][_0xe9ea('0x2')](_0xe9ea('0x0'),_0x4426c8=>_0x2ed183(_0x14e761,_0xe9ea('0xa'),_0x4426c8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fac=['registerCustomCallback','enqueueChange','accept','model','afterInit','has','tableCellHeight','tableBackgroundColor','getAttribute','subType','tableProperties','enableCommand','removeAttribute','document','editor','tableHeight','_getSuggestion','tableCellVerticalAlignment','tableWidth','getFirstPosition','join','get','tableBorderStyle','table','plugins','tableCellBorderWidth','*Format:*\x20change\x20table\x20properties','start','getContainedElement','_suggestionFactory','_descriptionFactory','commandParams','formatBlock','data','getSuggestions','handleDiscardAction','getSuggestionCallback','_handlePropertyChange','TrackChangesTableProperties','discard','tableCellPadding','TablePropertiesEditing','TableUtils','handleSuggestionDescription','TrackChangesEditing','selection','tableCellHorizontalAlignment','tableCellProperties','format'];(function(_0x262ec4,_0x2fac60){const _0xf2d03d=function(_0x3b0cbe){while(--_0x3b0cbe){_0x262ec4['push'](_0x262ec4['shift']());}};_0xf2d03d(++_0x2fac60);}(_0x2fac,0x104));const _0xf2d0=function(_0x262ec4,_0x2fac60){_0x262ec4=_0x262ec4-0x0;let _0xf2d03d=_0x2fac[_0x262ec4];return _0xf2d03d;};import{Plugin as _0x39eb35}from'ckeditor5/src/core';import{getTranslation as _0x4f32b6}from'../utils/common-translations';export default class Dt extends _0x39eb35{constructor(_0x59e23b){super(_0x59e23b),this[_0xf2d0('0x2c')]=['tableBorderColor',_0xf2d0('0x7'),'tableBorderWidth','tableAlignment',_0xf2d0('0x3'),_0xf2d0('0x0'),_0xf2d0('0x29')],this[_0xf2d0('0x20')]=['tableCellBorderColor','tableCellBorderStyle',_0xf2d0('0xa'),_0xf2d0('0x19'),'tableCellWidth',_0xf2d0('0x28'),'tableCellBackgroundColor',_0xf2d0('0x1f'),_0xf2d0('0x2')];}static get['pluginName'](){return _0xf2d0('0x17');}[_0xf2d0('0x26')](){const _0x56acff=this[_0xf2d0('0x30')][_0xf2d0('0x9')][_0xf2d0('0x6')](_0xf2d0('0x1d'));if(this[_0xf2d0('0x30')][_0xf2d0('0x9')][_0xf2d0('0x27')](_0xf2d0('0x1a'))){for(const _0x279566 of this['tableProperties'])_0x56acff[_0xf2d0('0x2d')](_0x279566,(_0x3422d9,_0x4504f8)=>{const _0x2ca72a=this[_0xf2d0('0x30')][_0xf2d0('0x25')][_0xf2d0('0x2f')][_0xf2d0('0x1e')][_0xf2d0('0x4')]()['findAncestor'](_0xf2d0('0x8'));this['_handlePropertyChange'](_0x279566,[_0x2ca72a],this['tableProperties'],'tableProperties',_0x3422d9,_0x4504f8);});_0x56acff[_0xf2d0('0xe')][_0xf2d0('0x22')](_0xf2d0('0x11'),_0xf2d0('0x2c'),_0xf2d0('0x24'),_0x56acff[_0xf2d0('0xe')][_0xf2d0('0x15')]('formatBlock',null,_0xf2d0('0x18'))),_0x56acff[_0xf2d0('0xe')][_0xf2d0('0x22')]('formatBlock',_0xf2d0('0x2c'),_0xf2d0('0x18'),(_0x5d15c3,_0xad83c9)=>this[_0xf2d0('0x14')](this['tableProperties'],_0x5d15c3,_0xad83c9)),_0x56acff['_suggestionFactory'][_0xf2d0('0x22')](_0xf2d0('0x11'),'tableProperties',_0xf2d0('0x5'),()=>!0x1);}if(this[_0xf2d0('0x30')][_0xf2d0('0x9')]['has']('TableCellPropertiesEditing')){for(const _0x1e72da of this['tableCellProperties'])_0x56acff[_0xf2d0('0x2d')](_0x1e72da,(_0x2980cc,_0x43a7c4)=>{const _0x22cac2=this[_0xf2d0('0x30')][_0xf2d0('0x9')]['get'](_0xf2d0('0x1b'))['getSelectionAffectedTableCells'](this[_0xf2d0('0x30')][_0xf2d0('0x25')][_0xf2d0('0x2f')][_0xf2d0('0x1e')]);this[_0xf2d0('0x16')](_0x1e72da,_0x22cac2,this['tableCellProperties'],_0xf2d0('0x20'),_0x2980cc,_0x43a7c4);});_0x56acff[_0xf2d0('0xe')][_0xf2d0('0x22')](_0xf2d0('0x11'),_0xf2d0('0x20'),_0xf2d0('0x24'),_0x56acff['_suggestionFactory']['getSuggestionCallback'](_0xf2d0('0x11'),null,_0xf2d0('0x18'))),_0x56acff['_suggestionFactory'][_0xf2d0('0x22')](_0xf2d0('0x11'),_0xf2d0('0x20'),_0xf2d0('0x18'),(_0x635f35,_0x4571f5)=>this[_0xf2d0('0x14')](this[_0xf2d0('0x20')],_0x635f35,_0x4571f5)),_0x56acff[_0xf2d0('0xe')][_0xf2d0('0x22')](_0xf2d0('0x11'),'tableCellProperties','join',()=>!0x1);}_0x56acff[_0xf2d0('0xf')]['registerDescriptionCallback'](_0x249f8d=>this[_0xf2d0('0x1c')](_0x249f8d));}[_0xf2d0('0x16')](_0xd0c1ac,_0x1564bd,_0x2cb12e,_0x2f5137,_0x194475,_0x38b26e){const _0x3207c8=this[_0xf2d0('0x30')]['plugins'][_0xf2d0('0x6')]('TrackChangesEditing');this[_0xf2d0('0x30')][_0xf2d0('0x25')][_0xf2d0('0x23')](_0x38b26e['batch'],()=>{for(const _0x3d57ff of _0x1564bd){if(this[_0xf2d0('0x1')](_0x3d57ff,_0x2f5137))_0x194475(_0x38b26e);else{const _0x2dea72={};for(const _0x5ce591 of _0x2cb12e){const _0xd45d1b=_0x3d57ff[_0xf2d0('0x2a')](_0x5ce591);void 0x0!==_0xd45d1b&&(_0x2dea72[_0x5ce591]=_0xd45d1b);}_0x194475(_0x38b26e),_0x3207c8['markBlockFormat'](_0x3d57ff,{'commandParams':[_0x2dea72]},[],_0x2f5137);}}});}[_0xf2d0('0x14')](_0x44f644,_0x4e07d4,_0x29ef51){const _0x20d797=_0x4e07d4[0x0][_0xf2d0('0xc')]['nodeAfter'],_0x323ae8=_0x29ef51[_0xf2d0('0x10')][0x0];this[_0xf2d0('0x30')][_0xf2d0('0x25')]['change'](_0x25f0dd=>{for(const _0x27e8dd of _0x44f644)void 0x0!==_0x323ae8[_0x27e8dd]?_0x25f0dd['setAttribute'](_0x27e8dd,_0x323ae8[_0x27e8dd],_0x20d797):_0x25f0dd[_0xf2d0('0x2e')](_0x27e8dd,_0x20d797);});}['handleSuggestionDescription'](_0x52b5df){if(_0x52b5df[_0xf2d0('0x12')])switch(_0x52b5df[_0xf2d0('0x2b')]){case _0xf2d0('0x2c'):return{'type':_0xf2d0('0x21'),'content':_0x4f32b6(this[_0xf2d0('0x30')]['locale'],_0xf2d0('0xb'))};case _0xf2d0('0x20'):return{'type':'format','content':_0x4f32b6(this[_0xf2d0('0x30')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0xf2d0('0x1')](_0x3589d6,_0x47b082){const _0x39b0f6=this['editor'][_0xf2d0('0x9')][_0xf2d0('0x6')](_0xf2d0('0x1d'));for(const _0x2bad8d of _0x39b0f6[_0xf2d0('0x13')]({'skipNotAttached':!0x0})){const _0x3f2ae0=_0x2bad8d[_0xf2d0('0xd')]();if(_0x2bad8d[_0xf2d0('0x2b')]===_0x47b082&&_0x3f2ae0===_0x3589d6)return _0x2bad8d;}return null;}}
23
+ const _0x5859=['tableBorderStyle','TrackChangesEditing','has','tableBorderWidth','removeAttribute','tableCellBorderWidth','TablePropertiesEditing','tableCellWidth','join','tableWidth','plugins','getAttribute','enableCommand','handleSuggestionDescription','tableCellBackgroundColor','table','_handlePropertyChange','TrackChangesTableProperties','getSelectionAffectedTableCells','tableCellProperties','registerDescriptionCallback','document','tableProperties','locale','tableCellHeight','TableUtils','get','discard','registerCustomCallback','markBlockFormat','_suggestionFactory','getSuggestions','tableCellBorderStyle','formatBlock','accept','tableCellHorizontalAlignment','change','tableHeight','editor','tableBackgroundColor','afterInit','selection','TableCellPropertiesEditing','model','_getSuggestion','*Format:*\x20change\x20table\x20properties','handleDiscardAction','setAttribute','findAncestor','batch','tableBorderColor','getSuggestionCallback'];(function(_0x32fbc7,_0x5859d5){const _0x4ee970=function(_0x43d265){while(--_0x43d265){_0x32fbc7['push'](_0x32fbc7['shift']());}};_0x4ee970(++_0x5859d5);}(_0x5859,0x13a));const _0x4ee9=function(_0x32fbc7,_0x5859d5){_0x32fbc7=_0x32fbc7-0x0;let _0x4ee970=_0x5859[_0x32fbc7];return _0x4ee970;};import{Plugin as _0x2e7dcb}from'ckeditor5/src/core';import{getTranslation as _0x310da2}from'../utils/common-translations';export default class Dt extends _0x2e7dcb{constructor(_0x10447e){super(_0x10447e),this[_0x4ee9('0x14')]=[_0x4ee9('0x30'),_0x4ee9('0x32'),_0x4ee9('0x1'),'tableAlignment',_0x4ee9('0x7'),_0x4ee9('0x23'),_0x4ee9('0x25')],this['tableCellProperties']=['tableCellBorderColor',_0x4ee9('0x1e'),_0x4ee9('0x3'),'tableCellPadding',_0x4ee9('0x5'),_0x4ee9('0x16'),_0x4ee9('0xc'),_0x4ee9('0x21'),'tableCellVerticalAlignment'];}static get['pluginName'](){return _0x4ee9('0xf');}[_0x4ee9('0x26')](){const _0x2d5d28=this[_0x4ee9('0x24')][_0x4ee9('0x8')]['get']('TrackChangesEditing');if(this['editor'][_0x4ee9('0x8')][_0x4ee9('0x0')](_0x4ee9('0x4'))){for(const _0xcc0e98 of this[_0x4ee9('0x14')])_0x2d5d28[_0x4ee9('0xa')](_0xcc0e98,(_0x2ce63d,_0x39a679)=>{const _0x147e4c=this[_0x4ee9('0x24')]['model'][_0x4ee9('0x13')]['selection']['getFirstPosition']()[_0x4ee9('0x2e')](_0x4ee9('0xd'));this[_0x4ee9('0xe')](_0xcc0e98,[_0x147e4c],this[_0x4ee9('0x14')],'tableProperties',_0x2ce63d,_0x39a679);});_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x14'),_0x4ee9('0x20'),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x31')](_0x4ee9('0x1f'),null,_0x4ee9('0x19'))),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x14'),_0x4ee9('0x19'),(_0x202e1d,_0x53d0c7)=>this[_0x4ee9('0x2c')](this['tableProperties'],_0x202e1d,_0x53d0c7)),_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')]('formatBlock',_0x4ee9('0x14'),_0x4ee9('0x6'),()=>!0x1);}if(this[_0x4ee9('0x24')][_0x4ee9('0x8')]['has'](_0x4ee9('0x28'))){for(const _0x2e8c98 of this[_0x4ee9('0x11')])_0x2d5d28[_0x4ee9('0xa')](_0x2e8c98,(_0x1a78b1,_0x3e81dc)=>{const _0x51a823=this[_0x4ee9('0x24')]['plugins'][_0x4ee9('0x18')](_0x4ee9('0x17'))[_0x4ee9('0x10')](this[_0x4ee9('0x24')]['model']['document'][_0x4ee9('0x27')]);this[_0x4ee9('0xe')](_0x2e8c98,_0x51a823,this['tableCellProperties'],_0x4ee9('0x11'),_0x1a78b1,_0x3e81dc);});_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x11'),_0x4ee9('0x20'),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x31')](_0x4ee9('0x1f'),null,_0x4ee9('0x19'))),_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x11'),_0x4ee9('0x19'),(_0x4c4f99,_0xc1ade3)=>this[_0x4ee9('0x2c')](this[_0x4ee9('0x11')],_0x4c4f99,_0xc1ade3)),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x1a')](_0x4ee9('0x1f'),'tableCellProperties',_0x4ee9('0x6'),()=>!0x1);}_0x2d5d28['_descriptionFactory'][_0x4ee9('0x12')](_0x2c41a6=>this[_0x4ee9('0xb')](_0x2c41a6));}[_0x4ee9('0xe')](_0x13688c,_0x2a9687,_0x10cd7c,_0x3b41d1,_0x2dbd1c,_0x5807fa){const _0xbbd2fe=this[_0x4ee9('0x24')][_0x4ee9('0x8')][_0x4ee9('0x18')](_0x4ee9('0x33'));this[_0x4ee9('0x24')][_0x4ee9('0x29')]['enqueueChange'](_0x5807fa[_0x4ee9('0x2f')],()=>{for(const _0x28b4cc of _0x2a9687){if(this['_getSuggestion'](_0x28b4cc,_0x3b41d1))_0x2dbd1c(_0x5807fa);else{const _0xb998c5={};for(const _0x4b600a of _0x10cd7c){const _0xd76a00=_0x28b4cc[_0x4ee9('0x9')](_0x4b600a);void 0x0!==_0xd76a00&&(_0xb998c5[_0x4b600a]=_0xd76a00);}_0x2dbd1c(_0x5807fa),_0xbbd2fe[_0x4ee9('0x1b')](_0x28b4cc,{'commandParams':[_0xb998c5]},[],_0x3b41d1);}}});}['handleDiscardAction'](_0x2037cb,_0x495cde,_0x6da82a){const _0x433fdb=_0x495cde[0x0]['start']['nodeAfter'],_0x466432=_0x6da82a['commandParams'][0x0];this[_0x4ee9('0x24')][_0x4ee9('0x29')][_0x4ee9('0x22')](_0x2920a3=>{for(const _0x47e166 of _0x2037cb)void 0x0!==_0x466432[_0x47e166]?_0x2920a3[_0x4ee9('0x2d')](_0x47e166,_0x466432[_0x47e166],_0x433fdb):_0x2920a3[_0x4ee9('0x2')](_0x47e166,_0x433fdb);});}[_0x4ee9('0xb')](_0x1e6efc){if(_0x1e6efc['data'])switch(_0x1e6efc['subType']){case _0x4ee9('0x14'):return{'type':'format','content':_0x310da2(this[_0x4ee9('0x24')][_0x4ee9('0x15')],_0x4ee9('0x2b'))};case _0x4ee9('0x11'):return{'type':'format','content':_0x310da2(this[_0x4ee9('0x24')][_0x4ee9('0x15')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x4ee9('0x2a')](_0x5d3f42,_0x1a3e69){const _0x352ef4=this[_0x4ee9('0x24')][_0x4ee9('0x8')]['get'](_0x4ee9('0x33'));for(const _0x51117f of _0x352ef4[_0x4ee9('0x1d')]({'skipNotAttached':!0x0})){const _0x4a8a06=_0x51117f['getContainedElement']();if(_0x51117f['subType']===_0x1a3e69&&_0x4a8a06===_0x5d3f42)return _0x51117f;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30da=['insertTemplate','plugins','Template','TrackChangesEditing','get'];(function(_0x5a56f3,_0x30daa9){const _0x19d826=function(_0x1afa9c){while(--_0x1afa9c){_0x5a56f3['push'](_0x5a56f3['shift']());}};_0x19d826(++_0x30daa9);}(_0x30da,0x1df));const _0x19d8=function(_0x5a56f3,_0x30daa9){_0x5a56f3=_0x5a56f3-0x0;let _0x19d826=_0x30da[_0x5a56f3];return _0x19d826;};import{Plugin as _0x10073e}from'ckeditor5/src/core';export default class bt extends _0x10073e{['afterInit'](){const _0x3992aa=this['editor'];_0x3992aa[_0x19d8('0x2')]['has'](_0x19d8('0x3'))&&_0x3992aa[_0x19d8('0x2')][_0x19d8('0x0')](_0x19d8('0x4'))['enableCommand'](_0x19d8('0x1'));}}
23
+ const _0x3cf7=['afterInit','enableCommand','TrackChangesEditing','Template','insertTemplate','has','plugins'];(function(_0x7f179b,_0x3cf71b){const _0x259e2e=function(_0x57ab1f){while(--_0x57ab1f){_0x7f179b['push'](_0x7f179b['shift']());}};_0x259e2e(++_0x3cf71b);}(_0x3cf7,0x85));const _0x259e=function(_0x7f179b,_0x3cf71b){_0x7f179b=_0x7f179b-0x0;let _0x259e2e=_0x3cf7[_0x7f179b];return _0x259e2e;};import{Plugin as _0x7ac89d}from'ckeditor5/src/core';export default class bt extends _0x7ac89d{[_0x259e('0x0')](){const _0x52b9e2=this['editor'];_0x52b9e2[_0x259e('0x6')][_0x259e('0x5')](_0x259e('0x3'))&&_0x52b9e2[_0x259e('0x6')]['get'](_0x259e('0x2'))[_0x259e('0x1')](_0x259e('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xac46=['plugins','Title','_splitMarkerName','document','locale','has','registerPostFixer','nodeBefore','TrackChangesEditing','newRange','registerElementLabel','editor','isCollapsed','model','end','isEqual','isTouching','element','start','schema','differ','afterInit','suggestion','ELEMENT_TITLE','title-content','forward','get','getChangedMarkers'];(function(_0x5e7c4d,_0xac46ba){const _0x34133b=function(_0x3c10ec){while(--_0x3c10ec){_0x5e7c4d['push'](_0x5e7c4d['shift']());}};_0x34133b(++_0xac46ba);}(_0xac46,0x1f1));const _0x3413=function(_0x5e7c4d,_0xac46ba){_0x5e7c4d=_0x5e7c4d-0x0;let _0x34133b=_0xac46[_0x5e7c4d];return _0x34133b;};import{Plugin as _0xecedf7}from'ckeditor5/src/core';import{getTranslation as _0x360a67}from'../utils/common-translations';export default class It extends _0xecedf7{[_0x3413('0x0')](){const _0x41bc94=this[_0x3413('0x12')];if(!_0x41bc94[_0x3413('0x7')][_0x3413('0xc')](_0x3413('0x8')))return;const _0x3f0c4b=_0x41bc94[_0x3413('0x7')][_0x3413('0x5')](_0x3413('0xf'));_0x3f0c4b['_descriptionFactory'][_0x3413('0x11')](_0x3413('0x3'),()=>_0x360a67(_0x41bc94[_0x3413('0xb')],_0x3413('0x2'))),_0x41bc94[_0x3413('0x14')]['document'][_0x3413('0xd')](_0x1be8da=>{let _0x4cdf96=!0x1;const _0x1e6a7d=Array['from'](_0x41bc94[_0x3413('0x14')][_0x3413('0xa')][_0x3413('0x1b')][_0x3413('0x6')]());for(const {name:_0x250af4,data:_0x3576d6}of _0x1e6a7d){const {group:_0x4a2fad}=_0x3f0c4b[_0x3413('0x9')](_0x250af4);if(_0x3413('0x1')!==_0x4a2fad||!_0x3576d6[_0x3413('0x10')])continue;const _0x1973e2=_0x3576d6[_0x3413('0x10')],_0x2367d4=_0x1973e2[_0x3413('0x15')][_0x3413('0xe')];if(!_0x2367d4||!_0x2367d4['is'](_0x3413('0x18'),_0x3413('0x3')))continue;if(!_0x1973e2[_0x3413('0x19')][_0x3413('0x17')](_0x1973e2[_0x3413('0x15')]))continue;const _0x26d4dc=_0x41bc94[_0x3413('0x14')][_0x3413('0x1a')]['getNearestSelectionRange'](_0x1973e2[_0x3413('0x15')],_0x3413('0x4'));if(_0x26d4dc&&_0x26d4dc[_0x3413('0x13')]){const _0xc20173=_0x1be8da['createRange'](_0x1973e2['start'],_0x26d4dc[_0x3413('0x19')]);_0xc20173[_0x3413('0x16')](_0x1973e2)||(_0x1be8da['updateMarker'](_0x250af4,{'range':_0xc20173}),_0x4cdf96=!0x0);}_0x4cdf96||(_0x1be8da['removeMarker'](_0x250af4),_0x4cdf96=!0x0);}return _0x4cdf96;});}}
23
+ const _0x2182=['start','end','schema','plugins','has','get','registerPostFixer','locale','differ','Title','getNearestSelectionRange','title-content','suggestion','document','isCollapsed','newRange','TrackChangesEditing','_descriptionFactory','registerElementLabel','ELEMENT_TITLE','updateMarker','removeMarker','getChangedMarkers','nodeBefore','model','forward','createRange','_splitMarkerName','afterInit'];(function(_0x29a562,_0x218245){const _0x2273fb=function(_0x399c4d){while(--_0x399c4d){_0x29a562['push'](_0x29a562['shift']());}};_0x2273fb(++_0x218245);}(_0x2182,0x113));const _0x2273=function(_0x29a562,_0x218245){_0x29a562=_0x29a562-0x0;let _0x2273fb=_0x2182[_0x29a562];return _0x2273fb;};import{Plugin as _0x3bf6f6}from'ckeditor5/src/core';import{getTranslation as _0xc61843}from'../utils/common-translations';export default class It extends _0x3bf6f6{[_0x2273('0xe')](){const _0x6c232e=this['editor'];if(!_0x6c232e['plugins'][_0x2273('0x13')](_0x2273('0x18')))return;const _0x427978=_0x6c232e[_0x2273('0x12')][_0x2273('0x14')](_0x2273('0x2'));_0x427978[_0x2273('0x3')][_0x2273('0x4')](_0x2273('0x1a'),()=>_0xc61843(_0x6c232e[_0x2273('0x16')],_0x2273('0x5'))),_0x6c232e['model'][_0x2273('0x1c')][_0x2273('0x15')](_0x27b7ce=>{let _0x4fb2ca=!0x1;const _0x2ba838=Array['from'](_0x6c232e[_0x2273('0xa')][_0x2273('0x1c')][_0x2273('0x17')][_0x2273('0x8')]());for(const {name:_0x46af55,data:_0x4a4f70}of _0x2ba838){const {group:_0x2c96d0}=_0x427978[_0x2273('0xd')](_0x46af55);if(_0x2273('0x1b')!==_0x2c96d0||!_0x4a4f70[_0x2273('0x1')])continue;const _0x40d90c=_0x4a4f70['newRange'],_0xa9580b=_0x40d90c[_0x2273('0x10')][_0x2273('0x9')];if(!_0xa9580b||!_0xa9580b['is']('element',_0x2273('0x1a')))continue;if(!_0x40d90c[_0x2273('0xf')]['isTouching'](_0x40d90c[_0x2273('0x10')]))continue;const _0x43c0ac=_0x6c232e['model'][_0x2273('0x11')][_0x2273('0x19')](_0x40d90c['end'],_0x2273('0xb'));if(_0x43c0ac&&_0x43c0ac[_0x2273('0x0')]){const _0xc152cb=_0x27b7ce[_0x2273('0xc')](_0x40d90c[_0x2273('0xf')],_0x43c0ac['start']);_0xc152cb['isEqual'](_0x40d90c)||(_0x27b7ce[_0x2273('0x6')](_0x46af55,{'range':_0xc152cb}),_0x4fb2ca=!0x0);}_0x4fb2ca||(_0x27b7ce[_0x2273('0x7')](_0x46af55),_0x4fb2ca=!0x0);}return _0x4fb2ca;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f23=['UndoEditing','plugins','afterInit','has','get','undo','redo','enableCommand'];(function(_0x4ddfec,_0x5f2335){const _0x1425dc=function(_0x2ecf34){while(--_0x2ecf34){_0x4ddfec['push'](_0x4ddfec['shift']());}};_0x1425dc(++_0x5f2335);}(_0x5f23,0x1ab));const _0x1425=function(_0x4ddfec,_0x5f2335){_0x4ddfec=_0x4ddfec-0x0;let _0x1425dc=_0x5f23[_0x4ddfec];return _0x1425dc;};import{Plugin as _0x5f1243}from'ckeditor5/src/core';export default class vt extends _0x5f1243{[_0x1425('0x7')](){const _0x260e6d=this['editor'],_0x9e26d7=_0x260e6d[_0x1425('0x6')][_0x1425('0x1')]('TrackChangesEditing');_0x260e6d['plugins'][_0x1425('0x0')](_0x1425('0x5'))&&(_0x9e26d7[_0x1425('0x4')](_0x1425('0x2')),_0x9e26d7['enableCommand'](_0x1425('0x3')));}}
23
+ const _0x4d27=['afterInit','TrackChangesEditing','enableCommand','undo','has','redo','UndoEditing','editor','plugins'];(function(_0x18c8d8,_0x4d27fe){const _0x4686be=function(_0x196988){while(--_0x196988){_0x18c8d8['push'](_0x18c8d8['shift']());}};_0x4686be(++_0x4d27fe);}(_0x4d27,0xcc));const _0x4686=function(_0x18c8d8,_0x4d27fe){_0x18c8d8=_0x18c8d8-0x0;let _0x4686be=_0x4d27[_0x18c8d8];return _0x4686be;};import{Plugin as _0xc0e8ae}from'ckeditor5/src/core';export default class vt extends _0xc0e8ae{[_0x4686('0x3')](){const _0x7ece95=this[_0x4686('0x1')],_0x262408=_0x7ece95[_0x4686('0x2')]['get'](_0x4686('0x4'));_0x7ece95[_0x4686('0x2')][_0x4686('0x7')](_0x4686('0x0'))&&(_0x262408[_0x4686('0x5')](_0x4686('0x6')),_0x262408[_0x4686('0x5')](_0x4686('0x8')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3735=['element','addClass','name','createRangeOn','markerRange','TrackChangesEditing','getAttribute','span','elementEnd','getCustomProperty','start','get','mapper','toViewElement','activeMarkers','plugins','markerName','item','isLimit','listIndent','test','createUIElement','insert','ck-suggestion-marker--active','bindElementToMarker','getItems','previousPosition','addHighlight','isContent','ck-suggestion-marker-','isAtEnd','nextSibling','writer','push','schema','listItem'];(function(_0x2a75ac,_0x3735c7){const _0x4f764c=function(_0x1155b2){while(--_0x1155b2){_0x2a75ac['push'](_0x2a75ac['shift']());}};_0x4f764c(++_0x3735c7);}(_0x3735,0x116));const _0x4f76=function(_0x2a75ac,_0x3735c7){_0x2a75ac=_0x2a75ac-0x0;let _0x4f764c=_0x3735[_0x2a75ac];return _0x4f764c;};export function getRangesWithAttribute(_0x2140aa,_0x3fd8a8,_0x2e04e0){const _0x38cc6c=[];for(const _0x346b11 of _0x3fd8a8[_0x4f76('0x23')]())_0x346b11['hasAttribute'](_0x2140aa)&&_0x38cc6c[_0x4f76('0x7')](_0x2e04e0[_0x4f76('0xd')](_0x346b11));return _0x38cc6c;}export function getElementsAffectedByListItemRename(_0x4c5f28){const _0x2d02c1=[];if(_0x4c5f28['is'](_0x4f76('0xa'),_0x4f76('0x9'))){let _0x4a398d=_0x4c5f28['nextSibling'];for(;_0x4a398d&&_0x4a398d['is']('element',_0x4f76('0x9'))&&_0x4a398d[_0x4f76('0x10')](_0x4f76('0x1d'))>0x0;)_0x2d02c1[_0x4f76('0x7')](_0x4a398d),_0x4a398d=_0x4a398d[_0x4f76('0x5')];}return _0x2d02c1;}export function downcastSplitMergeMarker(_0x797ac6,_0x259e5d,{showActiveMarker:_0x3452cb=!0x0}={}){const _0x2b178f=_0x797ac6[_0x4f76('0x19')][_0x4f76('0x15')](_0x4f76('0xf'));return(_0x624df1,_0x26155f,_0x3c4274)=>{if(!_0x3c4274['consumable'][_0x4f76('0x1e')](_0x26155f[_0x4f76('0xe')],_0x624df1[_0x4f76('0xc')]))return;const _0x83d921=_0x26155f[_0x4f76('0xe')]['getWalker'](),_0x2c2ddf=_0x26155f[_0x4f76('0xe')][_0x4f76('0x14')],_0x4b4216=_0x797ac6['model'][_0x4f76('0x8')];let _0x474f6c=null,_0x355640=null,_0x4177d5=!0x1,_0x4e0db6=!0x1;for(const _0x2c121d of _0x83d921){const _0xaaa23c=_0x2c121d[_0x4f76('0x1b')];_0x4177d5=_0x4177d5||_0x4b4216[_0x4f76('0x2')](_0xaaa23c);const _0x10c878=_0x3c4274['mapper'][_0x4f76('0x17')](_0xaaa23c);if(_0x10c878&&_0x10c878[_0x4f76('0x13')](_0x4f76('0x1')))return;_0x4f76('0x12')==_0x2c121d['type']&&(_0x4b4216['isBlock'](_0xaaa23c)&&!_0x4b4216[_0x4f76('0x1c')](_0xaaa23c)&&(_0xaaa23c[_0x4f76('0x5')]||_0x2c2ddf[_0x4f76('0x4')]?_0x474f6c&&_0x474f6c['parent']==_0xaaa23c||(_0x474f6c=_0xaaa23c,_0x3781e6(_0x2c121d[_0x4f76('0x0')]),_0x4e0db6=!0x0):_0x355640=_0x355640||_0x2c121d['previousPosition']));}function _0x3781e6(_0xe6c8a4){const _0x8eff24=_0x3c4274['writer'][_0x4f76('0x1f')](_0x4f76('0x11'),{'class':_0x4f76('0x3')+_0x259e5d}),_0x54bde1=_0x3c4274['mapper']['toViewPosition'](_0xe6c8a4);_0x3452cb&&_0x2b178f[_0x4f76('0x18')]['includes'](_0x26155f[_0x4f76('0x1a')])&&_0x3c4274[_0x4f76('0x6')][_0x4f76('0xb')](_0x4f76('0x21'),_0x8eff24),_0x3c4274[_0x4f76('0x6')][_0x4f76('0x20')](_0x54bde1,_0x8eff24),_0x3c4274[_0x4f76('0x16')][_0x4f76('0x22')](_0x8eff24,_0x26155f[_0x4f76('0x1a')]);}_0x4177d5||_0x4e0db6||!_0x355640||_0x3781e6(_0x355640);};}
23
+ const _0x4b01=['hasAttribute','listItem','name','writer','element','get','type','nextSibling','consumable','test','schema','addHighlight','push','elementEnd','markerRange','mapper','getAttribute','model','listIndent','ck-suggestion-marker-','addClass','item','activeMarkers','previousPosition','parent','isContent','createUIElement','start','markerName','createRangeOn','isLimit','getCustomProperty'];(function(_0x1173ca,_0x4b01f4){const _0x4a097e=function(_0x50618a){while(--_0x50618a){_0x1173ca['push'](_0x1173ca['shift']());}};_0x4a097e(++_0x4b01f4);}(_0x4b01,0xad));const _0x4a09=function(_0x1173ca,_0x4b01f4){_0x1173ca=_0x1173ca-0x0;let _0x4a097e=_0x4b01[_0x1173ca];return _0x4a097e;};export function getRangesWithAttribute(_0x3ff13c,_0x596362,_0x2b4f85){const _0x29c462=[];for(const _0x2c948e of _0x596362['getItems']())_0x2c948e[_0x4a09('0x13')](_0x3ff13c)&&_0x29c462['push'](_0x2b4f85[_0x4a09('0x10')](_0x2c948e));return _0x29c462;}export function getElementsAffectedByListItemRename(_0x8f192d){const _0x38363b=[];if(_0x8f192d['is'](_0x4a09('0x17'),_0x4a09('0x14'))){let _0x2607c9=_0x8f192d[_0x4a09('0x1a')];for(;_0x2607c9&&_0x2607c9['is'](_0x4a09('0x17'),_0x4a09('0x14'))&&_0x2607c9[_0x4a09('0x3')](_0x4a09('0x5'))>0x0;)_0x38363b[_0x4a09('0x1f')](_0x2607c9),_0x2607c9=_0x2607c9[_0x4a09('0x1a')];}return _0x38363b;}export function downcastSplitMergeMarker(_0x3fc186,_0x1fb8cd,{showActiveMarker:_0x182a27=!0x0}={}){const _0x34d2ae=_0x3fc186['plugins'][_0x4a09('0x18')]('TrackChangesEditing');return(_0x1020ed,_0x214dcd,_0x2ac054)=>{if(!_0x2ac054[_0x4a09('0x1b')][_0x4a09('0x1c')](_0x214dcd[_0x4a09('0x1')],_0x1020ed[_0x4a09('0x15')]))return;const _0x5d5596=_0x214dcd['markerRange']['getWalker'](),_0x4c604a=_0x214dcd['markerRange'][_0x4a09('0xe')],_0x26b70c=_0x3fc186[_0x4a09('0x4')][_0x4a09('0x1d')];let _0x3097ce=null,_0x28a1de=null,_0x28a3a7=!0x1,_0x4315ab=!0x1;for(const _0x4f8ec8 of _0x5d5596){const _0x41fc85=_0x4f8ec8[_0x4a09('0x8')];_0x28a3a7=_0x28a3a7||_0x26b70c[_0x4a09('0xc')](_0x41fc85);const _0xb15d73=_0x2ac054[_0x4a09('0x2')]['toViewElement'](_0x41fc85);if(_0xb15d73&&_0xb15d73[_0x4a09('0x12')](_0x4a09('0x1e')))return;_0x4a09('0x0')==_0x4f8ec8[_0x4a09('0x19')]&&(_0x26b70c['isBlock'](_0x41fc85)&&!_0x26b70c[_0x4a09('0x11')](_0x41fc85)&&(_0x41fc85['nextSibling']||_0x4c604a['isAtEnd']?_0x3097ce&&_0x3097ce[_0x4a09('0xb')]==_0x41fc85||(_0x3097ce=_0x41fc85,_0x3c4579(_0x4f8ec8[_0x4a09('0xa')]),_0x4315ab=!0x0):_0x28a1de=_0x28a1de||_0x4f8ec8[_0x4a09('0xa')]));}function _0x3c4579(_0x2c8042){const _0x1fabb4=_0x2ac054['writer'][_0x4a09('0xd')]('span',{'class':_0x4a09('0x6')+_0x1fb8cd}),_0x1761c5=_0x2ac054[_0x4a09('0x2')]['toViewPosition'](_0x2c8042);_0x182a27&&_0x34d2ae[_0x4a09('0x9')]['includes'](_0x214dcd[_0x4a09('0xf')])&&_0x2ac054[_0x4a09('0x16')][_0x4a09('0x7')]('ck-suggestion-marker--active',_0x1fabb4),_0x2ac054[_0x4a09('0x16')]['insert'](_0x1761c5,_0x1fabb4),_0x2ac054[_0x4a09('0x2')]['bindElementToMarker'](_0x1fabb4,_0x214dcd['markerName']);}_0x28a3a7||_0x4315ab||!_0x28a1de||_0x3c4579(_0x28a1de);};}