@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230705.0 → 0.0.0-nightly-20230707.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ee7=['forceDefaultExecution','findAncestor','markMultiRangeDeletion','dataDowncast','author','getAllAdjacentSuggestions','set','createTableWalker','*Replace\x20table\x20cells*','table','get','insertion','first','containsRange','trackChanges','suggestion','batch','has','from','redo','oldRange','createRange','includes','clipboardOutput','updateMarker','stop','setAttributes','createRangeIn','some','end','afterInit','change','view','model','listenTo','isEmpty','entries','selection','commands','tablePasteChainId','schema','hasSuggestion','tableCellBackgroundColor','high','endColumn','tablePasteColumn','markMultiRangeBlockFormat','getRange','tablePasteCell','join','root','plugins','editingDowncast','tableCellBorderColor','getRowIndexes','getRows','getContainedElement','TableClipboard','length','attributes','_createdBatches','ck-suggestion-marker-insertion','conversion','requires','tableCellSuggestion','document','startsWith','ck-suggestion-marker--active','find','getChildren','markerAttributes','deletion','tableCellHorizontalAlignment','row','tableCell','type','columnInsertionRanges','tablePasteRow','getShiftedBy','showSuggestionHighlights','suggestionUnloaded','$graveyard','deletionRanges','markerName','getAttributes','_getCoordsForCells','filter','discard','isInContent','editor','getChangedMarkers','rowInsertionRanges','_isForcedDefaultExecutionBlock','suggestion-td','endRow','registerCustomCallback','column','getSuggestions','wrap','reduce','suggestionLoaded','ck-suggestion-marker','getRanges','name','move','_suggestionFactory','previous','position','_splitMarkerName','previousSibling','cell','cells','setAttribute','insertionRanges','_tablePostFixingSubtypes','tableCellBorderWidth','getSuggestion','every','accept','content','removeMarkers','add','remove','element','suggestion:formatBlock:tablePasteCell','low','push','getTableIfOnlyTableInContent','getItems','insertContent','value','TrackChangesEditing','subType','columnInsertionIndexes','Users','paragraph','removeMarker','rowInsertionIndexes','newRange','last','registerPostFixer','insert','unwrap','markers','isEqual','insertRows','createRangeOn','formatBlock','markMultiRangeInsertion','map','tablePaste','differ','insertColumns','markerToHighlight','for','getChild','fill','getChanges','getColumns','getMarkers','activeMarkers','editing'];(function(_0x8767a7,_0x3ee77f){const _0x302f54=function(_0x5c4367){while(--_0x5c4367){_0x8767a7['push'](_0x8767a7['shift']());}};_0x302f54(++_0x3ee77f);}(_0x3ee7,0x87));const _0x302f=function(_0x8767a7,_0x3ee77f){_0x8767a7=_0x8767a7-0x0;let _0x302f54=_0x3ee7[_0x8767a7];return _0x302f54;};import{getTranslation as _0x9d017b}from'../utils/common-translations';import{Plugin as _0x343341}from'ckeditor5/src/core';import{uid as _0xced9ba,priorities as _0x3a74d0}from'ckeditor5/src/utils';import _0x204d4d from'./table';const le=[_0x302f('0x8e'),_0x302f('0x50'),'tableCellBorderStyle',_0x302f('0x63'),'tableCellVerticalAlignment',_0x302f('0x45'),'tableCellPadding'],ae=Object['fromEntries'](le[_0x302f('0xe')](_0x421afd=>[_0x421afd,null]));export default class kt extends _0x343341{static get[_0x302f('0x5a')](){return[_0x204d4d];}[_0x302f('0x39')](){const _0x1f2ce2=this['editor'];if(!_0x1f2ce2[_0x302f('0x4e')][_0x302f('0x2c')](_0x302f('0x54')))return;const _0x3fb169=_0x1f2ce2[_0x302f('0x4e')][_0x302f('0x25')](_0x302f('0x9e')),_0x1022ce=_0x1f2ce2[_0x302f('0x4e')][_0x302f('0x25')]('TableUtils'),_0x4dad0e=_0x1f2ce2[_0x302f('0x4e')]['get'](_0x204d4d),_0x4de664=_0x1f2ce2['plugins'][_0x302f('0x25')]('TableClipboard');_0x4dad0e[_0x302f('0x8d')][_0x302f('0x99')]('tablePasteRow',_0x302f('0x48')),_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x43')]['register'](_0x302f('0x5b'),{'allowIn':_0x302f('0x65'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x1f2ce2['conversion']['elementToElement']({'model':_0x302f('0x5b'),'view':'suggestion-td'});let _0x4d797d=null;_0x1f2ce2[_0x302f('0x3c')]['on']('insertContent',(_0x482e1c,_0x5ec7be)=>{const [_0x1c4d73,_0x7bc6c3]=_0x5ec7be,_0x23dff6=_0x5ec7be[_0x5ec7be['length']-0x1];_0x23dff6&&_0x23dff6[_0x302f('0x1b')]||_0x3fb169[_0x302f('0x77')]||this[_0x302f('0x74')][_0x302f('0x41')][_0x302f('0x25')](_0x302f('0x29'))[_0x302f('0x9d')]&&function(_0x507da7,_0x4e92cd,_0x25fcfd,_0x41e8a3,_0x173c5b){if(_0x4e92cd&&!_0x4e92cd['is']('documentSelection'))return!0x1;const _0x400e82=_0x173c5b[_0x302f('0x9a')](_0x507da7,_0x25fcfd);if(!_0x400e82||!fe(_0x400e82,void 0x0,_0x41e8a3))return!0x1;const _0x1c1a66=_0x41e8a3['getSelectionAffectedTableCells'](_0x25fcfd[_0x302f('0x5c')][_0x302f('0x40')]);if(!_0x1c1a66['length'])return!0x1;const _0x282ac2=_0x1c1a66[0x0][_0x302f('0x1c')](_0x302f('0x24')),_0x5e664=_0x41e8a3[_0x302f('0x51')](_0x1c1a66),_0x2cb2b4=_0x41e8a3['getColumnIndexes'](_0x1c1a66),_0xcec411={'startRow':_0x5e664[_0x302f('0x27')],'endRow':_0x5e664[_0x302f('0x4')],'startColumn':_0x2cb2b4[_0x302f('0x27')],'endColumn':_0x2cb2b4['last']};return 0x1==_0x1c1a66[_0x302f('0x55')]&&(_0xcec411[_0x302f('0x79')]+=_0x41e8a3[_0x302f('0x52')](_0x400e82)-0x1,_0xcec411[_0x302f('0x47')]+=_0x41e8a3[_0x302f('0x17')](_0x400e82)-0x1),fe(_0x282ac2,_0xcec411,_0x41e8a3);}(_0x1c4d73,_0x7bc6c3,_0x1f2ce2['model'],_0x1022ce,_0x4de664)&&(_0x482e1c[_0x302f('0x34')](),_0x4d797d={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x3a')](()=>{_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x9c')](_0x5ec7be[0x0],_0x5ec7be[0x1],_0x5ec7be[0x2],{'forceDefaultExecution':!0x0});const _0x20352e=_0xced9ba(),{rowInsertionRanges:_0x43d1bc,columnInsertionRanges:_0xd95d62,insertionRanges:_0xe840ab,deletionRanges:_0x3b91ed,cells:_0x414743}=_0x4d797d;_0x43d1bc[_0x302f('0x55')]&&_0x3fb169[_0x302f('0xd')](_0x43d1bc,_0x302f('0x68'),{'tablePasteChainId':_0x20352e}),_0xd95d62['length']&&_0x3fb169[_0x302f('0xd')](_0xd95d62,_0x302f('0x48'),{'tablePasteChainId':_0x20352e}),_0xe840ab[_0x302f('0x55')]&&_0x3fb169['markMultiRangeInsertion'](_0xe840ab,_0x302f('0xf'),{'tablePasteChainId':_0x20352e,'skipNestingCheck':!0x0}),_0x3b91ed[_0x302f('0x55')]&&_0x3fb169[_0x302f('0x1d')](_0x3b91ed,_0x302f('0xf'),{'tablePasteChainId':_0x20352e,'skipNestingCheck':!0x0});const _0x5490bd=_0x3fb169[_0x302f('0x49')](_0x414743[_0x302f('0xe')](({element:_0x53b2e2})=>_0x53b2e2),{'formatGroupId':_0xced9ba()},[],_0x302f('0x4b'),{'tablePasteChainId':_0x20352e});if(_0x5490bd){const _0x5cfe9f=_0x5490bd[_0x302f('0x18')](),_0x4cbd01=[];for(const {element:_0x5de32c,attributes:_0x32a5d1}of _0x414743){if(!_0x32a5d1)continue;const _0x1b73e1=_0x1f2ce2[_0x302f('0x3c')][_0x302f('0xb')](_0x5de32c),_0x21a550=_0x5cfe9f[_0x302f('0x5f')](_0x380ced=>_0x380ced['getRange']()[_0x302f('0x9')](_0x1b73e1));_0x21a550&&_0x4cbd01[_0x302f('0x99')]([_0x21a550['name'],_0x32a5d1]);}_0x4cbd01[_0x302f('0x55')]&&_0x5490bd[_0x302f('0x8b')](_0x302f('0x61'),Object['fromEntries'](_0x4cbd01));}_0x4d797d=null;}));},{'priority':_0x3a74d0[_0x302f('0x46')]+0xa}),_0x1f2ce2[_0x302f('0x4e')]['get'](_0x302f('0x54'))['on']('_replaceTableSlotCell',(_0xb294e5,_0xfd4cd5)=>{const [_0x2afba9,_0x39b451,,_0x3c5edd]=_0xfd4cd5;if(!_0x4d797d)return;_0xb294e5['stop']();const _0x24fc38=_0x2afba9[_0x302f('0x89')],_0x10ebd7=_0x39b451,_0x5d1a47=ce(_0x24fc38),_0x44f445=ce(_0x10ebd7);_0xb294e5['return']=_0x24fc38;let _0xdc294e=null,_0x316b38=null;if(_0x44f445||_0x5d1a47){if(_0x5d1a47&&!_0x44f445){_0x3c5edd[_0x302f('0x95')](_0x24fc38['getChild'](0x0));for(const _0x220b3b of Array[_0x302f('0x2d')](_0x10ebd7[_0x302f('0x60')]()))_0x3c5edd[_0x302f('0x6')](_0x220b3b,_0x24fc38,_0x302f('0x38'));const _0x3429ad=_0x4d797d['rowInsertionIndexes']['includes'](_0x2afba9[_0x302f('0x64')]),_0x116002=_0x4d797d[_0x302f('0xa0')][_0x302f('0x31')](_0x2afba9[_0x302f('0x7b')]);_0x3429ad||_0x116002||(_0xdc294e=_0x3c5edd[_0x302f('0x36')](_0x24fc38));}else _0x44f445&&!_0x5d1a47&&(_0x316b38=_0x3c5edd[_0x302f('0x36')](_0x24fc38));}else{const _0x543538=_0x3c5edd['createElement']('tableCellSuggestion'),_0x898043=_0x3c5edd['createElement'](_0x302f('0x5b'));_0x3c5edd[_0x302f('0x7d')](_0x3c5edd[_0x302f('0x36')](_0x24fc38),_0x898043),_0x3c5edd[_0x302f('0x6')](_0x543538,_0x24fc38,0x0);for(const _0x2011b4 of Array[_0x302f('0x2d')](_0x10ebd7[_0x302f('0x60')]()))_0x3c5edd[_0x302f('0x6')](_0x2011b4,_0x543538,_0x302f('0x38'));_0xdc294e=_0x3c5edd['createRangeOn'](_0x543538),_0x316b38=_0x3c5edd[_0x302f('0xb')](_0x898043);}const _0x33201c=Array[_0x302f('0x2d')](_0x10ebd7[_0x302f('0x6f')]())[_0x302f('0x71')](([_0x367232])=>le[_0x302f('0x31')](_0x367232));_0x4d797d[_0x302f('0x8a')][_0x302f('0x99')]({'element':_0x24fc38,'attributes':_0x33201c['length']?Object['fromEntries'](_0x33201c):null}),_0xdc294e&&_0x4d797d[_0x302f('0x8c')]['push'](_0xdc294e),_0x316b38&&_0x4d797d[_0x302f('0x6d')][_0x302f('0x99')](_0x316b38);},{'priority':_0x302f('0x46')}),_0x1022ce['on'](_0x302f('0x11'),(_0x6ffcbb,_0x48bf50)=>{const [_0x29c894,_0x463839={}]=_0x48bf50;if(!_0x4d797d)return;const _0x15a28c=_0x463839['at']||0x0,_0x4d1776=_0x463839['columns']||0x1;_0x4d797d['columnInsertionIndexes']=new Array(_0x4d1776)[_0x302f('0x15')](_0x15a28c)[_0x302f('0xe')]((_0x2b367e,_0x6dc651)=>_0x2b367e+_0x6dc651);for(const {cell:_0x3f8b48}of _0x1022ce[_0x302f('0x22')](_0x29c894,{'startColumn':_0x15a28c,'endColumn':_0x15a28c+_0x4d1776-0x1}))_0x4d797d[_0x302f('0x67')]['push'](_0x1f2ce2[_0x302f('0x3c')][_0x302f('0xb')](_0x3f8b48));},{'priority':_0x302f('0x98')}),_0x1022ce['on'](_0x302f('0xa'),(_0x5ce8b2,_0x10d15f)=>{const [_0x4f5241,_0x1a416={}]=_0x10d15f;if(!_0x4d797d)return;const _0x5e7599=_0x1a416['at']||0x0,_0x3d63c7=_0x1a416['rows']||0x1;_0x4d797d[_0x302f('0x2')]=new Array(_0x3d63c7)[_0x302f('0x15')](_0x5e7599)[_0x302f('0xe')]((_0xc11e30,_0x5eccc4)=>_0xc11e30+_0x5eccc4);for(const {cell:_0x516857}of _0x1022ce['createTableWalker'](_0x4f5241,{'startRow':_0x5e7599,'endRow':_0x5e7599+_0x3d63c7-0x1}))_0x4d797d[_0x302f('0x76')][_0x302f('0x99')](_0x1f2ce2[_0x302f('0x3c')]['createRangeOn'](_0x516857));},{'priority':_0x302f('0x98')}),_0x3fb169['_descriptionFactory']['registerDescriptionCallback'](_0xd9de95=>{if(_0xd9de95[_0x302f('0x9f')]&&_0xd9de95['subType']['startsWith'](_0x302f('0xf')))return _0xd9de95[_0x302f('0x85')]?{}:{'type':_0x302f('0x26'),'content':_0x9d017b(_0x1f2ce2['locale'],_0x302f('0x23'))};});const _0x25a19c=()=>{};for(const _0x3b23dd of[_0x302f('0xf'),_0x302f('0x48'),'tablePasteRow',_0x302f('0x4b')])_0x3fb169['_suggestionFactory']['registerCustomCallback'](_0x302f('0x26'),_0x3b23dd,'join',_0x25a19c),_0x3fb169[_0x302f('0x84')]['registerCustomCallback']('deletion',_0x3b23dd,_0x302f('0x4c'),_0x25a19c);_0x3fb169['_suggestionFactory'][_0x302f('0x7a')](_0x302f('0xc'),_0x302f('0x4b'),_0x302f('0x72'),_0x25a19c),_0x3fb169[_0x302f('0x84')][_0x302f('0x7a')](_0x302f('0xc'),_0x302f('0x4b'),_0x302f('0x91'),(_0x3ad70d,_0x2cbd49,_0x1dda83)=>{const _0x500766=_0x3ad70d['map'](_0x9c05c4=>_0x9c05c4[_0x302f('0x53')]())['filter'](_0x1ce149=>_0x1ce149),_0xfb6a7d=new Map(_0x500766[_0x302f('0xe')](_0x1e1125=>[_0x1e1125,null]));if(_0x4d797d)for(const {element:_0x3cc8bb,attributes:_0x55c84a}of _0x4d797d['cells'])_0x55c84a&&_0xfb6a7d[_0x302f('0x21')](_0x3cc8bb,_0x55c84a);else{if(_0x1dda83&&_0x1dda83[_0x302f('0x61')])for(const [_0x27084b,_0x56bbd2]of Object[_0x302f('0x3f')](_0x1dda83[_0x302f('0x61')])){const _0x4d5175=_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x8')][_0x302f('0x25')](_0x27084b),_0x391d6b=_0x4d5175?_0x4d5175[_0x302f('0x4a')]()[_0x302f('0x53')]():null;_0x391d6b&&_0xfb6a7d[_0x302f('0x21')](_0x391d6b,_0x56bbd2);}}_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x3a')](_0x2d3738=>{for(const [_0x1e457e,_0x51ae4e]of _0xfb6a7d)_0x2d3738[_0x302f('0x35')]({...ae,..._0x51ae4e},_0x1e457e);});});const _0x3ae610=(_0xab89ac,_0x4742af)=>{_0x3fb169[_0x302f('0x84')][_0x302f('0x7a')](_0xab89ac,'tablePaste',_0x4742af,(_0x3b6299,_0x3b0171,_0x58567a)=>{_0x1f2ce2['model'][_0x302f('0x3a')](_0x5173e5=>{const _0x557b1e=[];for(const _0x11bdf0 of _0x3b6299){const _0x1afdf3=_0x11bdf0['start']['nodeAfter'];_0x1afdf3['is'](_0x302f('0x96'),_0x302f('0x5b'))&&_0x557b1e[_0x302f('0x99')](_0x1afdf3);}_0x3fb169['_suggestionFactory']['getSuggestionCallback'](_0xab89ac,null,_0x4742af)(_0x3b6299,_0x3b0171,_0x58567a);for(const _0x4220f6 of _0x557b1e)_0x302f('0x6c')!=_0x4220f6[_0x302f('0x4d')]['rootName']&&_0x5173e5[_0x302f('0x7')](_0x4220f6);});});};_0x3ae610(_0x302f('0x26'),_0x302f('0x91')),_0x3ae610(_0x302f('0x26'),'discard'),_0x3ae610(_0x302f('0x62'),_0x302f('0x91')),_0x3ae610(_0x302f('0x62'),_0x302f('0x72')),_0x3fb169[_0x302f('0x84')][_0x302f('0x7a')]('insertion',_0x302f('0x68'),'discard',_0x160446=>{const _0x4b84e9=_0x160446[_0x302f('0xe')](_0x46b1b7=>_0x46b1b7[_0x302f('0x53')]()),_0x1e7f01=_0x4b84e9[0x0][_0x302f('0x1c')]('table'),{minRow:_0x200bde,maxRow:_0x2688e1}=_0x4dad0e[_0x302f('0x70')](_0x4b84e9);_0x1022ce['removeRows'](_0x1e7f01,{'at':_0x200bde,'rows':_0x2688e1-_0x200bde+0x1});}),_0x3fb169[_0x302f('0x84')][_0x302f('0x7a')]('insertion',_0x302f('0x48'),_0x302f('0x72'),_0x2dcd3d=>{const _0x35ea4c=_0x2dcd3d[_0x302f('0xe')](_0xc30473=>_0xc30473['getContainedElement']()),_0x40b84e=_0x35ea4c[0x0][_0x302f('0x1c')](_0x302f('0x24')),{minColumn:_0x2e39bd,maxColumn:_0x3fce98}=_0x4dad0e['_getCoordsForCells'](_0x35ea4c);_0x1022ce['removeColumns'](_0x40b84e,{'at':_0x2e39bd,'columns':_0x3fce98-_0x2e39bd+0x1});});const _0x1e5210=(_0x398f52,_0x373e97)=>{if(!_0x373e97[_0x302f('0x9f')]||!_0x373e97[_0x302f('0x9f')]['startsWith']('tablePaste'))return;const _0x35cfe7=_0x373e97['attributes'][_0x302f('0x42')],_0x34b588=_0x3fb169[_0x302f('0x7c')]()[_0x302f('0x71')](_0x5ed5fe=>_0x5ed5fe['isInContent']&&_0x5ed5fe['attributes']&&_0x5ed5fe[_0x302f('0x56')][_0x302f('0x42')]==_0x35cfe7);_0x34b588[_0x302f('0x55')]&&_0x373e97[_0x302f('0x20')]()[_0x302f('0x55')]!=_0x34b588[_0x302f('0x55')]&&_0x34b588[_0x302f('0x7e')]((_0x40fe1d,_0x422ca4)=>(_0x40fe1d['next']=_0x422ca4,_0x422ca4[_0x302f('0x85')]=_0x40fe1d,_0x422ca4));};function _0x119183(_0x43c899,_0x1d9b38=!0x0){const {id:_0x31fd93}=_0x3fb169[_0x302f('0x87')](_0x43c899['markerName']),_0x48a5bd=[_0x302f('0x80'),_0x302f('0x58')],_0x197ec5=_0x3fb169[_0x302f('0x19')][_0x302f('0x31')](_0x43c899[_0x302f('0x6e')]);return _0x197ec5&&_0x48a5bd[_0x302f('0x99')](_0x302f('0x5e')),{'classes':_0x48a5bd,'attributes':{'data-suggestion':_0x31fd93},'priority':_0x197ec5&&_0x1d9b38?0xbc2:0xbb8};}_0x3fb169['on'](_0x302f('0x7f'),_0x1e5210,{'priority':_0x302f('0x46')}),_0x3fb169['on'](_0x302f('0x6b'),_0x1e5210,{'priority':_0x302f('0x46')}),_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x5c')][_0x302f('0x5')](()=>{let _0x67ef1=!0x1;const _0x584363=Array[_0x302f('0x2d')](_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x5c')][_0x302f('0x10')][_0x302f('0x75')]());for(const {name:_0x5b0ed5,data:_0x38280a}of _0x584363){const {group:_0x21f4a4,type:_0x5aa1a9,id:_0x23496e}=_0x3fb169[_0x302f('0x87')](_0x5b0ed5);if(_0x302f('0x2a')!=_0x21f4a4||_0x302f('0x62')!=_0x5aa1a9||_0x38280a[_0x302f('0x2f')])continue;if(!_0x3fb169[_0x302f('0x44')](_0x23496e))continue;const _0x399b99=_0x3fb169[_0x302f('0x8f')](_0x23496e)['getRanges'](),_0x1fe0a5=_0x1f2ce2[_0x302f('0x4e')][_0x302f('0x25')](_0x302f('0xa1'))['me'];for(const _0x1c3f44 of _0x3fb169['getSuggestions']()){if(!_0x1c3f44[_0x302f('0x73')]||_0x1c3f44[_0x302f('0x1f')]!=_0x1fe0a5)continue;if(_0x302f('0xc')!=_0x1c3f44[_0x302f('0x66')]||'tablePasteCell'!=_0x1c3f44[_0x302f('0x9f')])continue;if(_0x1c3f44[_0x302f('0x81')]()[_0x302f('0x90')](_0x26cf4b=>_0x399b99[_0x302f('0x37')](_0x2c19f0=>_0x2c19f0[_0x302f('0x28')](_0x26cf4b,!0x0))))for(const _0x3d27f7 of _0x1c3f44[_0x302f('0x20')]())_0x3d27f7[_0x302f('0x73')]&&(_0x3d27f7[_0x302f('0x72')](),_0x67ef1=!0x0);}}return _0x67ef1;}),_0x1f2ce2[_0x302f('0x3c')]['document'][_0x302f('0x5')](_0x386643=>{const _0x5a04ac=_0x1f2ce2[_0x302f('0x41')][_0x302f('0x25')](_0x302f('0x2e'));if(!_0x5a04ac||!_0x5a04ac[_0x302f('0x57')][_0x302f('0x2c')](_0x386643[_0x302f('0x2b')]))return!0x1;let _0x105169=!0x1;const _0x456ba2=_0x1f2ce2[_0x302f('0x4e')][_0x302f('0x25')](_0x302f('0xa1'))['me'],_0x1b2e5c=_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x5c')][_0x302f('0x10')][_0x302f('0x16')](),_0x43236a=Array[_0x302f('0x2d')](_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x5c')][_0x302f('0x10')]['getChangedMarkers']())[_0x302f('0x71')](({name:_0xa9daab,data:_0x345af4})=>{const {group:_0x5d5bd1,subType:_0x865f4d,authorId:_0x1e3bee}=_0x3fb169[_0x302f('0x87')](_0xa9daab);return'suggestion'==_0x5d5bd1&&'tablePaste'==_0x865f4d&&_0x1e3bee==_0x456ba2['id']&&!_0x345af4[_0x302f('0x2f')];});for(const _0x2794a2 of _0x1b2e5c){if(_0x302f('0x6')!=_0x2794a2[_0x302f('0x66')]||_0x302f('0x5b')!=_0x2794a2[_0x302f('0x82')]||0x1!=_0x2794a2[_0x302f('0x55')])continue;const _0x1d6bd9=_0x386643[_0x302f('0x30')](_0x2794a2['position'],_0x2794a2[_0x302f('0x86')][_0x302f('0x69')](0x1));if(!_0x43236a[_0x302f('0x5f')](({data:_0x13f76e})=>_0x13f76e[_0x302f('0x3')][_0x302f('0x9')](_0x1d6bd9)))for(const {name:_0x3ab078,data:_0x135cdd}of _0x43236a)if(_0x1d6bd9['containsRange'](_0x135cdd[_0x302f('0x3')])){_0x386643[_0x302f('0x33')](_0x3ab078,{'range':_0x1d6bd9}),_0x105169=!0x0;break;}}return _0x105169;}),_0x1f2ce2[_0x302f('0x3c')][_0x302f('0x5c')][_0x302f('0x5')](_0x1bda7f=>{let _0x3bb76a=!0x1;const _0x2d6c64=_0x1f2ce2[_0x302f('0x4e')]['get']('Users')['me'],_0x10ae62=_0x3fb169['getSuggestions']()[_0x302f('0x71')](_0x1bbf97=>_0x1bbf97[_0x302f('0x73')]&&_0x1bbf97['author']==_0x2d6c64),_0x5733e7=new Set(),_0x581ad7=new Set();for(const _0x4a5ee3 of _0x10ae62)if(_0x302f('0xf')==_0x4a5ee3['subType'])for(const _0x4778e2 of _0x4a5ee3['getMarkers']()){const _0x481d93=_0x4778e2[_0x302f('0x4a')]()[_0x302f('0x53')]();if(_0x481d93){if(_0x481d93['is']('element',_0x302f('0x5b'))&&ce(_0x481d93)){_0x4a5ee3[_0x302f('0x1')](_0x4778e2[_0x302f('0x82')]),_0x5733e7['add'](_0x481d93),_0x3bb76a=!0x0;const _0x138965=_0x481d93['nextSibling'],_0x45b3f8=_0x481d93[_0x302f('0x88')],_0x1d3f20=_0x138965&&_0x138965['is'](_0x302f('0x96'),_0x302f('0x5b')),_0x8a1a95=_0x45b3f8&&_0x45b3f8['is']('element',_0x302f('0x5b'));_0x1d3f20&&!_0x5733e7['has'](_0x138965)&&_0x581ad7[_0x302f('0x94')](_0x138965),_0x8a1a95&&!_0x5733e7[_0x302f('0x2c')](_0x45b3f8)&&_0x581ad7[_0x302f('0x94')](_0x45b3f8);}else _0x481d93['is']('element',_0x302f('0x0'))&&_0x481d93[_0x302f('0x3e')]&&(_0x4a5ee3['removeMarker'](_0x4778e2['name']),_0x3bb76a=!0x0);}}else{if(_0x302f('0x4b')==_0x4a5ee3[_0x302f('0x9f')]){if(!_0x4a5ee3[_0x302f('0x56')]||!_0x4a5ee3[_0x302f('0x56')][_0x302f('0x42')])continue;const _0x51dd74=_0x4a5ee3[_0x302f('0x56')]['markerAttributes'];if(_0x51dd74&&Object['keys'](_0x51dd74)[_0x302f('0x55')])continue;const _0x3db650=_0x4a5ee3[_0x302f('0x56')][_0x302f('0x42')];let _0x46232e=!0x0,_0x35b9ae=!0x0;for(const _0x4c56bc of _0x10ae62)if(_0x4c56bc[_0x302f('0x9f')]&&_0x4c56bc[_0x302f('0x9f')][_0x302f('0x5d')]('tablePaste')){if(!_0x4c56bc['attributes'][_0x302f('0x42')]){_0x35b9ae=!0x1;break;}if(_0x4c56bc['id']!=_0x4a5ee3['id']&&_0x4c56bc[_0x302f('0x56')][_0x302f('0x42')]==_0x3db650){_0x46232e=!0x1;break;}}_0x35b9ae&&_0x46232e&&(_0x4a5ee3[_0x302f('0x93')](),_0x3bb76a=!0x0);}}for(const _0x246a69 of _0x5733e7)_0x1bda7f[_0x302f('0x95')](_0x246a69);for(const _0x101190 of _0x581ad7)_0x1bda7f[_0x302f('0x7')](_0x101190);return _0x3bb76a;}),_0x1f2ce2[_0x302f('0x59')][_0x302f('0x13')](_0x302f('0x4f'))[_0x302f('0x12')]({'model':_0x302f('0x97'),'view':(_0x13383b,_0x45a03a)=>_0x119183(_0x13383b),'converterPriority':'high'}),_0x1f2ce2[_0x302f('0x59')][_0x302f('0x13')](_0x302f('0x1e'))[_0x302f('0x12')]({'model':_0x302f('0x97'),'view':(_0x357396,_0x1c7c2c)=>_0x1c7c2c['options'][_0x302f('0x6a')]?_0x119183(_0x357396,!0x1):null,'converterPriority':_0x302f('0x46')});const _0x20a7c4=_0x1f2ce2[_0x302f('0x1a')][_0x302f('0x3b')];this[_0x302f('0x3d')](_0x20a7c4[_0x302f('0x5c')],_0x302f('0x32'),(_0x274250,_0x4ed9bc)=>{const _0x37e4ab=[];for(const _0x11192f of _0x20a7c4[_0x302f('0x36')](_0x4ed9bc[_0x302f('0x92')])[_0x302f('0x9b')]())_0x11192f['is'](_0x302f('0x96'),_0x302f('0x78'))&&_0x37e4ab[_0x302f('0x99')](_0x11192f);_0x20a7c4[_0x302f('0x3a')](_0x146861=>{for(const _0xe6452c of _0x37e4ab)_0x146861[_0x302f('0x83')](_0x146861['createRangeIn'](_0xe6452c),_0x146861['createPositionBefore'](_0xe6452c)),_0x146861[_0x302f('0x95')](_0xe6452c);});});}}function ce(_0x57b647){if(_0x57b647[_0x302f('0x3e')])return!0x0;const _0x4c8235=_0x57b647[_0x302f('0x14')](0x0);return _0x4c8235['is']('element',_0x302f('0x0'))&&_0x4c8235[_0x302f('0x3e')];}function fe(_0x2cdc0a,_0x9e9cfb={},_0x43ebcd){for(const {isAnchor:_0x53c94f,cellHeight:_0x987908,cellWidth:_0x5a20d9}of _0x43ebcd[_0x302f('0x22')](_0x2cdc0a,{'includeAllSlots':!0x0,..._0x9e9cfb}))if(!_0x53c94f||0x1!=_0x987908||0x1!=_0x5a20d9)return!0x1;return!0x0;}
23
+ const _0x518e=['ck-suggestion-marker--active','tableCellVerticalAlignment','nodeAfter','tableCellBackgroundColor','add','batch','rowInsertionRanges','editing','markerToHighlight','formatBlock','discard','getChild','getAttributes','createElement','containsRange','getRange','listenTo','markerAttributes','return','push','row','columns','elementToElement','_replaceTableSlotCell','suggestion','columnInsertionRanges','fill','findAncestor','markers','keys','for','_descriptionFactory','insert','trackChanges','rowInsertionIndexes','oldRange','markerName','has','getRows','_splitMarkerName','tableCell','nextSibling','isInContent','subType','move','getColumns','last','tableCellBorderStyle','unwrap','end','ck-suggestion-marker-insertion','createPositionBefore','tablePaste','from','removeMarkers','getShiftedBy','getChangedMarkers','TableClipboard','registerPostFixer','selection','registerCustomCallback','entries','getTableIfOnlyTableInContent','set','createTableWalker','type','redo','plugins','removeMarker','differ','createRange','editingDowncast','deletionRanges','getRowIndexes','getRanges','conversion','createRangeOn','suggestion-td','length','setAttribute','activeMarkers','high','attributes','next','markMultiRangeDeletion','rootName','_suggestionFactory','markMultiRangeBlockFormat','suggestion:formatBlock:tablePasteCell','document','forceDefaultExecution','tableCellHorizontalAlignment','requires','endColumn','remove','suggestionLoaded','Users','reduce','commands','columnInsertionIndexes','editor','getItems','startsWith','first','find','tablePasteColumn','content','locale','setAttributes','cells','getMarkers','position','accept','updateMarker','getChildren','tableCellSuggestion','filter','dataDowncast','insertion','start','join','afterInit','isEmpty','_tablePostFixingSubtypes','ck-suggestion-marker','_getCoordsForCells','includes','fromEntries','options','element','tablePasteRow','clipboardOutput','value','previous','author','low','get','cell','getAllAdjacentSuggestions','map','endRow','isEqual','model','markMultiRangeInsertion','deletion','wrap','getContainedElement','table','insertContent','getChanges','paragraph','showSuggestionHighlights','createRangeIn','change','_isForcedDefaultExecutionBlock','getColumnIndexes','tablePasteChainId','insertColumns','name','tablePasteCell','previousSibling','view','stop','getSuggestions'];(function(_0x133208,_0x518e63){const _0x518b79=function(_0x5a3b01){while(--_0x5a3b01){_0x133208['push'](_0x133208['shift']());}};_0x518b79(++_0x518e63);}(_0x518e,0xb4));const _0x518b=function(_0x133208,_0x518e63){_0x133208=_0x133208-0x0;let _0x518b79=_0x518e[_0x133208];return _0x518b79;};import{getTranslation as _0x1f4476}from'../utils/common-translations';import{Plugin as _0x48778c}from'ckeditor5/src/core';import{uid as _0x2bea19,priorities as _0x1bc9be}from'ckeditor5/src/utils';import _0x3959ae from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0x518b('0x1f'),_0x518b('0x4b'),_0x518b('0x95'),_0x518b('0x97'),'tableCellPadding'],ae=Object[_0x518b('0x6f')](le[_0x518b('0x7b')](_0x23c960=>[_0x23c960,null]));export default class kt extends _0x48778c{static get[_0x518b('0x4c')](){return[_0x3959ae];}[_0x518b('0x69')](){const _0x7bc825=this[_0x518b('0x54')];if(!_0x7bc825[_0x518b('0x33')][_0x518b('0x15')](_0x518b('0x29')))return;const _0x183710=_0x7bc825[_0x518b('0x33')]['get']('TrackChangesEditing'),_0x145b97=_0x7bc825['plugins'][_0x518b('0x78')]('TableUtils'),_0x21af34=_0x7bc825[_0x518b('0x33')][_0x518b('0x78')](_0x3959ae),_0x2ac2da=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x29'));_0x21af34[_0x518b('0x6b')][_0x518b('0x3')](_0x518b('0x72'),_0x518b('0x59')),_0x7bc825[_0x518b('0x7e')]['schema']['register'](_0x518b('0x63'),{'allowIn':_0x518b('0x18'),'allowContentOf':_0x518b('0x18'),'isLimit':!0x0}),_0x7bc825[_0x518b('0x3b')][_0x518b('0x6')]({'model':_0x518b('0x63'),'view':'suggestion-td'});let _0x14591e=null;_0x7bc825[_0x518b('0x7e')]['on'](_0x518b('0x84'),(_0x8122cb,_0x2d0a74)=>{const [_0x2ca019,_0x4ea34e]=_0x2d0a74,_0x2f18d9=_0x2d0a74[_0x2d0a74[_0x518b('0x3e')]-0x1];_0x2f18d9&&_0x2f18d9[_0x518b('0x4a')]||_0x183710[_0x518b('0x8a')]||this['editor'][_0x518b('0x52')][_0x518b('0x78')](_0x518b('0x11'))[_0x518b('0x74')]&&function(_0x3d5368,_0x2cd6fd,_0x5ee100,_0x14d07f,_0x5939ca){if(_0x2cd6fd&&!_0x2cd6fd['is']('documentSelection'))return!0x1;const _0x3d9092=_0x5939ca[_0x518b('0x2e')](_0x3d5368,_0x5ee100);if(!_0x3d9092||!fe(_0x3d9092,void 0x0,_0x14d07f))return!0x1;const _0x3c2192=_0x14d07f['getSelectionAffectedTableCells'](_0x5ee100[_0x518b('0x49')][_0x518b('0x2b')]);if(!_0x3c2192['length'])return!0x1;const _0x45ef84=_0x3c2192[0x0][_0x518b('0xb')](_0x518b('0x83')),_0x5b974b=_0x14d07f[_0x518b('0x39')](_0x3c2192),_0x1c79c7=_0x14d07f[_0x518b('0x8b')](_0x3c2192),_0x350bfb={'startRow':_0x5b974b[_0x518b('0x57')],'endRow':_0x5b974b['last'],'startColumn':_0x1c79c7[_0x518b('0x57')],'endColumn':_0x1c79c7[_0x518b('0x1e')]};return 0x1==_0x3c2192[_0x518b('0x3e')]&&(_0x350bfb[_0x518b('0x7c')]+=_0x14d07f[_0x518b('0x16')](_0x3d9092)-0x1,_0x350bfb[_0x518b('0x4d')]+=_0x14d07f[_0x518b('0x1d')](_0x3d9092)-0x1),fe(_0x45ef84,_0x350bfb,_0x14d07f);}(_0x2ca019,_0x4ea34e,_0x7bc825['model'],_0x145b97,_0x2ac2da)&&(_0x8122cb['stop'](),_0x14591e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x7bc825[_0x518b('0x7e')][_0x518b('0x89')](()=>{_0x7bc825[_0x518b('0x7e')][_0x518b('0x84')](_0x2d0a74[0x0],_0x2d0a74[0x1],_0x2d0a74[0x2],{'forceDefaultExecution':!0x0});const _0x38234f=_0x2bea19(),{rowInsertionRanges:_0x2a6cc9,columnInsertionRanges:_0x6ba546,insertionRanges:_0x43d053,deletionRanges:_0x221cf8,cells:_0x5a33a6}=_0x14591e;_0x2a6cc9[_0x518b('0x3e')]&&_0x183710['markMultiRangeInsertion'](_0x2a6cc9,_0x518b('0x72'),{'tablePasteChainId':_0x38234f}),_0x6ba546[_0x518b('0x3e')]&&_0x183710[_0x518b('0x7f')](_0x6ba546,'tablePasteColumn',{'tablePasteChainId':_0x38234f}),_0x43d053[_0x518b('0x3e')]&&_0x183710[_0x518b('0x7f')](_0x43d053,'tablePaste',{'tablePasteChainId':_0x38234f,'skipNestingCheck':!0x0}),_0x221cf8[_0x518b('0x3e')]&&_0x183710[_0x518b('0x44')](_0x221cf8,_0x518b('0x24'),{'tablePasteChainId':_0x38234f,'skipNestingCheck':!0x0});const _0x30770c=_0x183710[_0x518b('0x47')](_0x5a33a6[_0x518b('0x7b')](({element:_0x35630c})=>_0x35630c),{'formatGroupId':_0x2bea19()},[],_0x518b('0x8f'),{'tablePasteChainId':_0x38234f});if(_0x30770c){const _0x34c396=_0x30770c[_0x518b('0x5e')](),_0x5f4bf6=[];for(const {element:_0x30376f,attributes:_0x10a3ec}of _0x5a33a6){if(!_0x10a3ec)continue;const _0x3f20dd=_0x7bc825[_0x518b('0x7e')]['createRangeOn'](_0x30376f),_0x362dfd=_0x34c396[_0x518b('0x58')](_0xbdbde8=>_0xbdbde8[_0x518b('0xa3')]()[_0x518b('0x7d')](_0x3f20dd));_0x362dfd&&_0x5f4bf6['push']([_0x362dfd[_0x518b('0x8e')],_0x10a3ec]);}_0x5f4bf6['length']&&_0x30770c[_0x518b('0x3f')]('markerAttributes',Object[_0x518b('0x6f')](_0x5f4bf6));}_0x14591e=null;}));},{'priority':_0x1bc9be[_0x518b('0x41')]+0xa}),_0x7bc825[_0x518b('0x33')][_0x518b('0x78')]('TableClipboard')['on'](_0x518b('0x7'),(_0x2234ef,_0x48f9ce)=>{const [_0x62e9bd,_0x3a01e2,,_0x6cfceb]=_0x48f9ce;if(!_0x14591e)return;_0x2234ef[_0x518b('0x92')]();const _0x2d224f=_0x62e9bd[_0x518b('0x79')],_0x5c4806=_0x3a01e2,_0x310778=ce(_0x2d224f),_0x46d49c=ce(_0x5c4806);_0x2234ef[_0x518b('0x2')]=_0x2d224f;let _0x95b05b=null,_0x3d5531=null;if(_0x46d49c||_0x310778){if(_0x310778&&!_0x46d49c){_0x6cfceb[_0x518b('0x4e')](_0x2d224f[_0x518b('0x9f')](0x0));for(const _0x58a421 of Array[_0x518b('0x25')](_0x5c4806[_0x518b('0x62')]()))_0x6cfceb[_0x518b('0x10')](_0x58a421,_0x2d224f,_0x518b('0x21'));const _0x5bbf7f=_0x14591e[_0x518b('0x12')][_0x518b('0x6e')](_0x62e9bd[_0x518b('0x4')]),_0x55526c=_0x14591e[_0x518b('0x53')]['includes'](_0x62e9bd['column']);_0x5bbf7f||_0x55526c||(_0x95b05b=_0x6cfceb[_0x518b('0x88')](_0x2d224f));}else _0x46d49c&&!_0x310778&&(_0x3d5531=_0x6cfceb[_0x518b('0x88')](_0x2d224f));}else{const _0x3f81de=_0x6cfceb[_0x518b('0xa1')](_0x518b('0x63')),_0x5be8f4=_0x6cfceb[_0x518b('0xa1')](_0x518b('0x63'));_0x6cfceb[_0x518b('0x81')](_0x6cfceb[_0x518b('0x88')](_0x2d224f),_0x5be8f4),_0x6cfceb[_0x518b('0x10')](_0x3f81de,_0x2d224f,0x0);for(const _0xf624b of Array[_0x518b('0x25')](_0x5c4806[_0x518b('0x62')]()))_0x6cfceb[_0x518b('0x10')](_0xf624b,_0x3f81de,_0x518b('0x21'));_0x95b05b=_0x6cfceb[_0x518b('0x3c')](_0x3f81de),_0x3d5531=_0x6cfceb['createRangeOn'](_0x5be8f4);}const _0x52fa96=Array[_0x518b('0x25')](_0x5c4806[_0x518b('0xa0')]())[_0x518b('0x64')](([_0x561f9d])=>le[_0x518b('0x6e')](_0x561f9d));_0x14591e[_0x518b('0x5d')]['push']({'element':_0x2d224f,'attributes':_0x52fa96['length']?Object[_0x518b('0x6f')](_0x52fa96):null}),_0x95b05b&&_0x14591e['insertionRanges'][_0x518b('0x3')](_0x95b05b),_0x3d5531&&_0x14591e[_0x518b('0x38')][_0x518b('0x3')](_0x3d5531);},{'priority':_0x518b('0x41')}),_0x145b97['on'](_0x518b('0x8d'),(_0x13425d,_0x4c8b5c)=>{const [_0xe87530,_0x22897e={}]=_0x4c8b5c;if(!_0x14591e)return;const _0x49ae31=_0x22897e['at']||0x0,_0x2330f7=_0x22897e[_0x518b('0x5')]||0x1;_0x14591e[_0x518b('0x53')]=new Array(_0x2330f7)[_0x518b('0xa')](_0x49ae31)[_0x518b('0x7b')]((_0x2f1068,_0x59739f)=>_0x2f1068+_0x59739f);for(const {cell:_0x99abdd}of _0x145b97[_0x518b('0x30')](_0xe87530,{'startColumn':_0x49ae31,'endColumn':_0x49ae31+_0x2330f7-0x1}))_0x14591e[_0x518b('0x9')][_0x518b('0x3')](_0x7bc825[_0x518b('0x7e')]['createRangeOn'](_0x99abdd));},{'priority':_0x518b('0x77')}),_0x145b97['on']('insertRows',(_0xee147,_0x2e2fd1)=>{const [_0x2bfcf6,_0x3c4812={}]=_0x2e2fd1;if(!_0x14591e)return;const _0x2b8403=_0x3c4812['at']||0x0,_0x23734b=_0x3c4812['rows']||0x1;_0x14591e[_0x518b('0x12')]=new Array(_0x23734b)[_0x518b('0xa')](_0x2b8403)['map']((_0x4bf993,_0x3faad2)=>_0x4bf993+_0x3faad2);for(const {cell:_0x53d8e2}of _0x145b97[_0x518b('0x30')](_0x2bfcf6,{'startRow':_0x2b8403,'endRow':_0x2b8403+_0x23734b-0x1}))_0x14591e[_0x518b('0x9a')][_0x518b('0x3')](_0x7bc825[_0x518b('0x7e')][_0x518b('0x3c')](_0x53d8e2));},{'priority':_0x518b('0x77')}),_0x183710[_0x518b('0xf')]['registerDescriptionCallback'](_0x37813d=>{if(_0x37813d[_0x518b('0x1b')]&&_0x37813d[_0x518b('0x1b')]['startsWith']('tablePaste'))return _0x37813d[_0x518b('0x75')]?{}:{'type':_0x518b('0x66'),'content':_0x1f4476(_0x7bc825[_0x518b('0x5b')],'*Replace\x20table\x20cells*')};});const _0x474632=()=>{};for(const _0x3caf0c of[_0x518b('0x24'),_0x518b('0x59'),_0x518b('0x72'),_0x518b('0x8f')])_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x66'),_0x3caf0c,_0x518b('0x68'),_0x474632),_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x80'),_0x3caf0c,_0x518b('0x68'),_0x474632);_0x183710['_suggestionFactory'][_0x518b('0x2c')](_0x518b('0x9d'),'tablePasteCell',_0x518b('0x9e'),_0x474632),_0x183710[_0x518b('0x46')]['registerCustomCallback'](_0x518b('0x9d'),_0x518b('0x8f'),_0x518b('0x60'),(_0x371da9,_0xe8aed9,_0xeeafea)=>{const _0x26672d=_0x371da9['map'](_0x3ff6bc=>_0x3ff6bc['getContainedElement']())[_0x518b('0x64')](_0xa5b1fb=>_0xa5b1fb),_0x4d270f=new Map(_0x26672d[_0x518b('0x7b')](_0xa3836f=>[_0xa3836f,null]));if(_0x14591e)for(const {element:_0x507361,attributes:_0x59c74b}of _0x14591e[_0x518b('0x5d')])_0x59c74b&&_0x4d270f[_0x518b('0x2f')](_0x507361,_0x59c74b);else{if(_0xeeafea&&_0xeeafea['markerAttributes'])for(const [_0x4c903e,_0x302074]of Object[_0x518b('0x2d')](_0xeeafea['markerAttributes'])){const _0x18912b=_0x7bc825[_0x518b('0x7e')][_0x518b('0xc')][_0x518b('0x78')](_0x4c903e),_0x3f47c1=_0x18912b?_0x18912b[_0x518b('0xa3')]()[_0x518b('0x82')]():null;_0x3f47c1&&_0x4d270f[_0x518b('0x2f')](_0x3f47c1,_0x302074);}}_0x7bc825['model'][_0x518b('0x89')](_0x3e56c4=>{for(const [_0x290a02,_0x5412c]of _0x4d270f)_0x3e56c4[_0x518b('0x5c')]({...ae,..._0x5412c},_0x290a02);});});const _0x40defa=(_0x44ac60,_0x1f4cda)=>{_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x44ac60,'tablePaste',_0x1f4cda,(_0x1a2929,_0x5c7fd7,_0x124b1c)=>{_0x7bc825[_0x518b('0x7e')][_0x518b('0x89')](_0x52021=>{const _0x2db8a1=[];for(const _0x3fa532 of _0x1a2929){const _0x422589=_0x3fa532[_0x518b('0x67')][_0x518b('0x96')];_0x422589['is']('element',_0x518b('0x63'))&&_0x2db8a1['push'](_0x422589);}_0x183710[_0x518b('0x46')]['getSuggestionCallback'](_0x44ac60,null,_0x1f4cda)(_0x1a2929,_0x5c7fd7,_0x124b1c);for(const _0x4cdcad of _0x2db8a1)'$graveyard'!=_0x4cdcad['root'][_0x518b('0x45')]&&_0x52021[_0x518b('0x20')](_0x4cdcad);});});};_0x40defa(_0x518b('0x66'),_0x518b('0x60')),_0x40defa(_0x518b('0x66'),'discard'),_0x40defa(_0x518b('0x80'),_0x518b('0x60')),_0x40defa('deletion','discard'),_0x183710[_0x518b('0x46')][_0x518b('0x2c')]('insertion','tablePasteRow','discard',_0x151c89=>{const _0x292637=_0x151c89[_0x518b('0x7b')](_0x25ddb8=>_0x25ddb8['getContainedElement']()),_0x4d9ed7=_0x292637[0x0][_0x518b('0xb')](_0x518b('0x83')),{minRow:_0x4082d1,maxRow:_0x3f547f}=_0x21af34[_0x518b('0x6d')](_0x292637);_0x145b97['removeRows'](_0x4d9ed7,{'at':_0x4082d1,'rows':_0x3f547f-_0x4082d1+0x1});}),_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x66'),_0x518b('0x59'),'discard',_0x4d7f6c=>{const _0x38a7f1=_0x4d7f6c['map'](_0x5920ad=>_0x5920ad[_0x518b('0x82')]()),_0x51c896=_0x38a7f1[0x0][_0x518b('0xb')]('table'),{minColumn:_0x2d5765,maxColumn:_0x3ac3b0}=_0x21af34[_0x518b('0x6d')](_0x38a7f1);_0x145b97['removeColumns'](_0x51c896,{'at':_0x2d5765,'columns':_0x3ac3b0-_0x2d5765+0x1});});const _0xd528bb=(_0x579aa4,_0x415b17)=>{if(!_0x415b17['subType']||!_0x415b17[_0x518b('0x1b')][_0x518b('0x56')](_0x518b('0x24')))return;const _0x328842=_0x415b17['attributes'][_0x518b('0x8c')],_0x54e755=_0x183710['getSuggestions']()[_0x518b('0x64')](_0x18d5fa=>_0x18d5fa['isInContent']&&_0x18d5fa[_0x518b('0x42')]&&_0x18d5fa[_0x518b('0x42')][_0x518b('0x8c')]==_0x328842);_0x54e755[_0x518b('0x3e')]&&_0x415b17[_0x518b('0x7a')]()[_0x518b('0x3e')]!=_0x54e755[_0x518b('0x3e')]&&_0x54e755[_0x518b('0x51')]((_0xba6f96,_0x408754)=>(_0xba6f96[_0x518b('0x43')]=_0x408754,_0x408754[_0x518b('0x75')]=_0xba6f96,_0x408754));};function _0x4f8abc(_0x23267d,_0x1b6e1b=!0x0){const {id:_0x4dee62}=_0x183710[_0x518b('0x17')](_0x23267d[_0x518b('0x14')]),_0x4d9b03=[_0x518b('0x6c'),_0x518b('0x22')],_0x4796fc=_0x183710[_0x518b('0x40')]['includes'](_0x23267d['markerName']);return _0x4796fc&&_0x4d9b03[_0x518b('0x3')](_0x518b('0x94')),{'classes':_0x4d9b03,'attributes':{'data-suggestion':_0x4dee62},'priority':_0x4796fc&&_0x1b6e1b?0xbc2:0xbb8};}_0x183710['on'](_0x518b('0x4f'),_0xd528bb,{'priority':_0x518b('0x41')}),_0x183710['on']('suggestionUnloaded',_0xd528bb,{'priority':'high'}),_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')][_0x518b('0x2a')](()=>{let _0x1b64d3=!0x1;const _0x47dc08=Array[_0x518b('0x25')](_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')]['differ'][_0x518b('0x28')]());for(const {name:_0x39c677,data:_0x579a96}of _0x47dc08){const {group:_0x484506,type:_0x4a6c30,id:_0x597f25}=_0x183710[_0x518b('0x17')](_0x39c677);if(_0x518b('0x8')!=_0x484506||'deletion'!=_0x4a6c30||_0x579a96[_0x518b('0x13')])continue;if(!_0x183710['hasSuggestion'](_0x597f25))continue;const _0x36c049=_0x183710['getSuggestion'](_0x597f25)[_0x518b('0x3a')](),_0x47caeb=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x50'))['me'];for(const _0x77c337 of _0x183710[_0x518b('0x93')]()){if(!_0x77c337[_0x518b('0x1a')]||_0x77c337['author']!=_0x47caeb)continue;if(_0x518b('0x9d')!=_0x77c337[_0x518b('0x31')]||_0x518b('0x8f')!=_0x77c337[_0x518b('0x1b')])continue;if(_0x77c337['getRanges']()['every'](_0x34e067=>_0x36c049['some'](_0x1d24b7=>_0x1d24b7[_0x518b('0xa2')](_0x34e067,!0x0))))for(const _0x232050 of _0x77c337[_0x518b('0x7a')]())_0x232050[_0x518b('0x1a')]&&(_0x232050[_0x518b('0x9e')](),_0x1b64d3=!0x0);}}return _0x1b64d3;}),_0x7bc825['model']['document'][_0x518b('0x2a')](_0x483ff1=>{const _0x4ce58a=_0x7bc825['commands'][_0x518b('0x78')](_0x518b('0x32'));if(!_0x4ce58a||!_0x4ce58a['_createdBatches'][_0x518b('0x15')](_0x483ff1[_0x518b('0x99')]))return!0x1;let _0x483122=!0x1;const _0x2000b1=_0x7bc825[_0x518b('0x33')][_0x518b('0x78')](_0x518b('0x50'))['me'],_0x593f18=_0x7bc825['model'][_0x518b('0x49')]['differ'][_0x518b('0x85')](),_0x1b718b=Array[_0x518b('0x25')](_0x7bc825['model'][_0x518b('0x49')][_0x518b('0x35')]['getChangedMarkers']())[_0x518b('0x64')](({name:_0x5e7dff,data:_0x166d4d})=>{const {group:_0x5739b1,subType:_0x472ee8,authorId:_0xbeddf6}=_0x183710[_0x518b('0x17')](_0x5e7dff);return _0x518b('0x8')==_0x5739b1&&'tablePaste'==_0x472ee8&&_0xbeddf6==_0x2000b1['id']&&!_0x166d4d['oldRange'];});for(const _0x14bcf7 of _0x593f18){if(_0x518b('0x10')!=_0x14bcf7[_0x518b('0x31')]||_0x518b('0x63')!=_0x14bcf7[_0x518b('0x8e')]||0x1!=_0x14bcf7['length'])continue;const _0x37c02f=_0x483ff1[_0x518b('0x36')](_0x14bcf7[_0x518b('0x5f')],_0x14bcf7[_0x518b('0x5f')][_0x518b('0x27')](0x1));if(!_0x1b718b[_0x518b('0x58')](({data:_0x18f278})=>_0x18f278['newRange'][_0x518b('0x7d')](_0x37c02f)))for(const {name:_0x373914,data:_0x46c88}of _0x1b718b)if(_0x37c02f[_0x518b('0xa2')](_0x46c88['newRange'])){_0x483ff1[_0x518b('0x61')](_0x373914,{'range':_0x37c02f}),_0x483122=!0x0;break;}}return _0x483122;}),_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')][_0x518b('0x2a')](_0x2f00a3=>{let _0x8607d8=!0x1;const _0x1a1ce9=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x50'))['me'],_0x4b7450=_0x183710['getSuggestions']()[_0x518b('0x64')](_0x16535e=>_0x16535e[_0x518b('0x1a')]&&_0x16535e[_0x518b('0x76')]==_0x1a1ce9),_0x3bf734=new Set(),_0x480fef=new Set();for(const _0x444cf0 of _0x4b7450)if(_0x518b('0x24')==_0x444cf0[_0x518b('0x1b')])for(const _0x1360ba of _0x444cf0[_0x518b('0x5e')]()){const _0x241e76=_0x1360ba[_0x518b('0xa3')]()[_0x518b('0x82')]();if(_0x241e76){if(_0x241e76['is'](_0x518b('0x71'),_0x518b('0x63'))&&ce(_0x241e76)){_0x444cf0[_0x518b('0x34')](_0x1360ba['name']),_0x3bf734[_0x518b('0x98')](_0x241e76),_0x8607d8=!0x0;const _0x1d00a2=_0x241e76[_0x518b('0x19')],_0x59843f=_0x241e76[_0x518b('0x90')],_0x1a791d=_0x1d00a2&&_0x1d00a2['is'](_0x518b('0x71'),_0x518b('0x63')),_0xdb7f72=_0x59843f&&_0x59843f['is'](_0x518b('0x71'),'tableCellSuggestion');_0x1a791d&&!_0x3bf734[_0x518b('0x15')](_0x1d00a2)&&_0x480fef[_0x518b('0x98')](_0x1d00a2),_0xdb7f72&&!_0x3bf734['has'](_0x59843f)&&_0x480fef[_0x518b('0x98')](_0x59843f);}else _0x241e76['is'](_0x518b('0x71'),_0x518b('0x86'))&&_0x241e76['isEmpty']&&(_0x444cf0[_0x518b('0x34')](_0x1360ba[_0x518b('0x8e')]),_0x8607d8=!0x0);}}else{if(_0x518b('0x8f')==_0x444cf0['subType']){if(!_0x444cf0[_0x518b('0x42')]||!_0x444cf0['attributes'][_0x518b('0x8c')])continue;const _0x6fe129=_0x444cf0['attributes'][_0x518b('0x1')];if(_0x6fe129&&Object[_0x518b('0xd')](_0x6fe129)[_0x518b('0x3e')])continue;const _0x109ef9=_0x444cf0[_0x518b('0x42')][_0x518b('0x8c')];let _0x45c05a=!0x0,_0x35792e=!0x0;for(const _0xa06371 of _0x4b7450)if(_0xa06371[_0x518b('0x1b')]&&_0xa06371[_0x518b('0x1b')][_0x518b('0x56')](_0x518b('0x24'))){if(!_0xa06371['attributes'][_0x518b('0x8c')]){_0x35792e=!0x1;break;}if(_0xa06371['id']!=_0x444cf0['id']&&_0xa06371[_0x518b('0x42')][_0x518b('0x8c')]==_0x109ef9){_0x45c05a=!0x1;break;}}_0x35792e&&_0x45c05a&&(_0x444cf0[_0x518b('0x26')](),_0x8607d8=!0x0);}}for(const _0x34e514 of _0x3bf734)_0x2f00a3['remove'](_0x34e514);for(const _0x2f919b of _0x480fef)_0x2f00a3[_0x518b('0x20')](_0x2f919b);return _0x8607d8;}),_0x7bc825[_0x518b('0x3b')][_0x518b('0xe')](_0x518b('0x37'))[_0x518b('0x9c')]({'model':_0x518b('0x48'),'view':(_0x1a92fd,_0x2f13e2)=>_0x4f8abc(_0x1a92fd),'converterPriority':_0x518b('0x41')}),_0x7bc825['conversion'][_0x518b('0xe')](_0x518b('0x65'))[_0x518b('0x9c')]({'model':_0x518b('0x48'),'view':(_0x5ea320,_0x3fa3d5)=>_0x3fa3d5[_0x518b('0x70')][_0x518b('0x87')]?_0x4f8abc(_0x5ea320,!0x1):null,'converterPriority':'high'});const _0x412d0c=_0x7bc825[_0x518b('0x9b')][_0x518b('0x91')];this[_0x518b('0x0')](_0x412d0c['document'],_0x518b('0x73'),(_0x5e44b9,_0x238518)=>{const _0xfb7f97=[];for(const _0x714077 of _0x412d0c['createRangeIn'](_0x238518[_0x518b('0x5a')])[_0x518b('0x55')]())_0x714077['is'](_0x518b('0x71'),_0x518b('0x3d'))&&_0xfb7f97[_0x518b('0x3')](_0x714077);_0x412d0c[_0x518b('0x89')](_0x41e4e1=>{for(const _0x5be4b0 of _0xfb7f97)_0x41e4e1[_0x518b('0x1c')](_0x41e4e1['createRangeIn'](_0x5be4b0),_0x41e4e1[_0x518b('0x23')](_0x5be4b0)),_0x41e4e1['remove'](_0x5be4b0);});});}}function ce(_0xbcd777){if(_0xbcd777['isEmpty'])return!0x0;const _0x116cf0=_0xbcd777[_0x518b('0x9f')](0x0);return _0x116cf0['is'](_0x518b('0x71'),_0x518b('0x86'))&&_0x116cf0[_0x518b('0x6a')];}function fe(_0x5b2fbc,_0x28da5c={},_0x50c4e3){for(const {isAnchor:_0x5dc3af,cellHeight:_0x44e802,cellWidth:_0x39ccfa}of _0x50c4e3[_0x518b('0x30')](_0x5b2fbc,{'includeAllSlots':!0x0,..._0x28da5c}))if(!_0x5dc3af||0x1!=_0x44e802||0x1!=_0x39ccfa)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3086=['format','subType','accept','editor','discard','selection','afterInit','registerCustomCallback','formatGroupId','handleResizeTableWidthCommand','plugins','columnWidths','change','registerDescriptionCallback','formatBlock','getTableColumnsWidths','getContainedElement','enableCommand','getSelectedElement','model','*Format:*\x20resize\x20table','resizeTable','get','resizeColumnWidths','TrackChangesEditing','handleSuggestionDescription','bind','has','tableWidth','data','commandParams','getColumnGroupElement','document','resizeTableWidth','TableColumnResizeEditing','_suggestionFactory'];(function(_0x19d532,_0x308685){const _0x1b9e59=function(_0x22cded){while(--_0x22cded){_0x19d532['push'](_0x19d532['shift']());}};_0x1b9e59(++_0x308685);}(_0x3086,0xd0));const _0x1b9e=function(_0x19d532,_0x308685){_0x19d532=_0x19d532-0x0;let _0x1b9e59=_0x3086[_0x19d532];return _0x1b9e59;};import{Plugin as _0x4192f6}from'ckeditor5/src/core';import{getTranslation as _0x1a614c}from'../utils/common-translations';export default class wt extends _0x4192f6{[_0x1b9e('0xe')](){if(!this[_0x1b9e('0xb')][_0x1b9e('0x12')][_0x1b9e('0x23')](_0x1b9e('0x6')))return;const _0x2e9676=this[_0x1b9e('0xb')][_0x1b9e('0x12')][_0x1b9e('0x1e')]('TrackChangesEditing');_0x2e9676[_0x1b9e('0x19')](_0x1b9e('0x5'),this[_0x1b9e('0x11')][_0x1b9e('0x22')](this)),_0x2e9676[_0x1b9e('0x19')](_0x1b9e('0x1f'),this[_0x1b9e('0x11')][_0x1b9e('0x22')](this)),_0x2e9676[_0x1b9e('0x7')][_0x1b9e('0xf')](_0x1b9e('0x16'),_0x1b9e('0x1d'),_0x1b9e('0xa'),_0x2e9676[_0x1b9e('0x7')]['getSuggestionCallback']('formatBlock',null,_0x1b9e('0xc'))),_0x2e9676[_0x1b9e('0x7')][_0x1b9e('0xf')]('formatBlock',_0x1b9e('0x1d'),_0x1b9e('0xc'),_0x2e9676[_0x1b9e('0x7')]['getSuggestionCallback'](_0x1b9e('0x16'),null,'accept')),_0x2e9676['_descriptionFactory'][_0x1b9e('0x15')](this[_0x1b9e('0x21')][_0x1b9e('0x22')](this));}[_0x1b9e('0x11')](_0x14b8f5,_0x153ae5){const _0x51edc9=this[_0x1b9e('0xb')][_0x1b9e('0x12')][_0x1b9e('0x1e')](_0x1b9e('0x20')),_0x25717e=this[_0x1b9e('0xb')]['plugins']['get'](_0x1b9e('0x6')),_0x30a9bc=_0x153ae5['table']||this[_0x1b9e('0xb')][_0x1b9e('0x1b')][_0x1b9e('0x4')][_0x1b9e('0xd')][_0x1b9e('0x1a')]();this['editor'][_0x1b9e('0x1b')][_0x1b9e('0x14')](()=>{const _0x4b6fe0=_0x25717e[_0x1b9e('0x3')](_0x30a9bc);let _0x2dd660=_0x4b6fe0?_0x25717e[_0x1b9e('0x17')](_0x4b6fe0):null,_0x112b71=_0x30a9bc['getAttribute'](_0x1b9e('0x0'))||null;const _0x4b21c3=_0x153ae5[_0x1b9e('0x0')]||_0x112b71,_0x1640a2=_0x153ae5[_0x1b9e('0x13')]||_0x2dd660,_0xf4f531=this[_0x1b9e('0xb')][_0x1b9e('0x12')][_0x1b9e('0x1e')]('Users')['me'];for(const _0x7acd25 of _0x51edc9['getSuggestions']()){const _0x297712=_0x7acd25[_0x1b9e('0x18')]();if(_0x1b9e('0x1d')===_0x7acd25[_0x1b9e('0x9')]&&_0x297712===_0x30a9bc){_0x7acd25['author']!==_0xf4f531&&_0x7acd25[_0x1b9e('0xc')]();const _0x1941b5=_0x7acd25[_0x1b9e('0x1')][_0x1b9e('0x2')];_0x112b71=_0x1941b5[0x0][_0x1b9e('0x0')],_0x2dd660=_0x1941b5[0x0][_0x1b9e('0x13')];break;}}_0x14b8f5({'table':_0x30a9bc,'tableWidth':_0x4b21c3,'columnWidths':_0x1640a2}),_0x51edc9['markBlockFormat'](_0x30a9bc,{'commandName':_0x1b9e('0x5'),'commandParams':[{'tableWidth':_0x112b71,'columnWidths':_0x2dd660}],'formatGroupId':_0x1b9e('0x1d')},[],'resizeTable');});}[_0x1b9e('0x21')](_0x29924a){const {data:_0x2d708e}=_0x29924a;if(_0x2d708e&&'resizeTable'===_0x2d708e[_0x1b9e('0x10')]){const _0x2e4d07=_0x1b9e('0x1c');return{'type':_0x1b9e('0x8'),'content':_0x1a614c(this['editor']['locale'],_0x2e4d07)};}}}
23
+ const _0x3900=['getContainedElement','has','columnWidths','Users','tableWidth','handleResizeTableWidthCommand','subType','getColumnGroupElement','model','formatBlock','table','locale','getTableColumnsWidths','handleSuggestionDescription','resizeTableWidth','registerCustomCallback','author','getSuggestionCallback','_suggestionFactory','TrackChangesEditing','editor','accept','*Format:*\x20resize\x20table','enableCommand','bind','afterInit','change','markBlockFormat','getSuggestions','getSelectedElement','TableColumnResizeEditing','data','document','discard','resizeTable','get','format','selection','commandParams','plugins'];(function(_0x28c133,_0x3900ac){const _0x20d4b4=function(_0x158e3e){while(--_0x158e3e){_0x28c133['push'](_0x28c133['shift']());}};_0x20d4b4(++_0x3900ac);}(_0x3900,0x6e));const _0x20d4=function(_0x28c133,_0x3900ac){_0x28c133=_0x28c133-0x0;let _0x20d4b4=_0x3900[_0x28c133];return _0x20d4b4;};import{Plugin as _0xe2da63}from'ckeditor5/src/core';import{getTranslation as _0x23c29f}from'../utils/common-translations';export default class wt extends _0xe2da63{[_0x20d4('0x23')](){if(!this[_0x20d4('0x1e')]['plugins'][_0x20d4('0xb')](_0x20d4('0x0')))return;const _0xe2d4df=this['editor'][_0x20d4('0x9')][_0x20d4('0x5')](_0x20d4('0x1d'));_0xe2d4df[_0x20d4('0x21')](_0x20d4('0x18'),this[_0x20d4('0xf')][_0x20d4('0x22')](this)),_0xe2d4df['enableCommand']('resizeColumnWidths',this[_0x20d4('0xf')]['bind'](this)),_0xe2d4df['_suggestionFactory'][_0x20d4('0x19')](_0x20d4('0x13'),_0x20d4('0x4'),_0x20d4('0x1f'),_0xe2d4df[_0x20d4('0x1c')]['getSuggestionCallback'](_0x20d4('0x13'),null,'discard')),_0xe2d4df[_0x20d4('0x1c')][_0x20d4('0x19')]('formatBlock',_0x20d4('0x4'),'discard',_0xe2d4df[_0x20d4('0x1c')][_0x20d4('0x1b')](_0x20d4('0x13'),null,'accept')),_0xe2d4df['_descriptionFactory']['registerDescriptionCallback'](this[_0x20d4('0x17')][_0x20d4('0x22')](this));}['handleResizeTableWidthCommand'](_0x5de4a1,_0x27a821){const _0x3f7c67=this[_0x20d4('0x1e')][_0x20d4('0x9')]['get'](_0x20d4('0x1d')),_0x2069e7=this[_0x20d4('0x1e')]['plugins']['get']('TableColumnResizeEditing'),_0x42fbc7=_0x27a821[_0x20d4('0x14')]||this[_0x20d4('0x1e')][_0x20d4('0x12')][_0x20d4('0x2')][_0x20d4('0x7')][_0x20d4('0x27')]();this[_0x20d4('0x1e')][_0x20d4('0x12')][_0x20d4('0x24')](()=>{const _0x167bdf=_0x2069e7[_0x20d4('0x11')](_0x42fbc7);let _0x817058=_0x167bdf?_0x2069e7[_0x20d4('0x16')](_0x167bdf):null,_0x54c297=_0x42fbc7['getAttribute'](_0x20d4('0xe'))||null;const _0xfa27f7=_0x27a821['tableWidth']||_0x54c297,_0xa9d31d=_0x27a821[_0x20d4('0xc')]||_0x817058,_0x5ef470=this[_0x20d4('0x1e')]['plugins'][_0x20d4('0x5')](_0x20d4('0xd'))['me'];for(const _0x51379a of _0x3f7c67[_0x20d4('0x26')]()){const _0x5cafd6=_0x51379a[_0x20d4('0xa')]();if(_0x20d4('0x4')===_0x51379a[_0x20d4('0x10')]&&_0x5cafd6===_0x42fbc7){_0x51379a[_0x20d4('0x1a')]!==_0x5ef470&&_0x51379a[_0x20d4('0x3')]();const _0x18e45f=_0x51379a[_0x20d4('0x1')][_0x20d4('0x8')];_0x54c297=_0x18e45f[0x0]['tableWidth'],_0x817058=_0x18e45f[0x0][_0x20d4('0xc')];break;}}_0x5de4a1({'table':_0x42fbc7,'tableWidth':_0xfa27f7,'columnWidths':_0xa9d31d}),_0x3f7c67[_0x20d4('0x25')](_0x42fbc7,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x54c297,'columnWidths':_0x817058}],'formatGroupId':_0x20d4('0x4')},[],_0x20d4('0x4'));});}['handleSuggestionDescription'](_0x4b7462){const {data:_0x275f6b}=_0x4b7462;if(_0x275f6b&&'resizeTable'===_0x275f6b['formatGroupId']){const _0x32999f=_0x20d4('0x20');return{'type':_0x20d4('0x6'),'content':_0x23c29f(this['editor'][_0x20d4('0x15')],_0x32999f)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e75=['TrackChangesEditing','commandParams','commandName','formatBlock','FORMAT_REGULAR_ROW','createPositionAfter','plugins','toViewElement','markerRange','forceValue','getRowIndexes','downcastDispatcher','value','getSelectionAffectedTableCells','getSuggestion','showSuggestionHighlights','_descriptionFactory','parent','TableEditing','consume','registerCustomCallback','*Format:*\x20%0','accept','end','ck-suggestion-marker--active','commands','setTableRowHeader','markBlockFormat','registerDescriptionCallback','addMarker:suggestion','ck-suggestion-marker-','editor','writer','setAttribute','start','getColumnIndexes','last','table','getChild','editing','setTableColumnHeader','change','consumable','_suggestionFactory','getCellLocation','createRange','isBefore','nodeBefore','headingColumns','includes','stop','markerName','data','childCount','removeClass','name','data-suggestion','highest','locale','FORMAT_HEADER_COLUMN','TableUtils','enableCommand','createTableWalker','selection','bindElementToMarker','cell','item','format','options','getAttribute','createPositionBefore','index','afterInit','findAncestor','model','_acceptFormatSuggestionCallbackFactory','document','unbindElementFromMarkerName','first','mapper','get'];(function(_0x417ce0,_0x3e75ef){const _0x5ab9f1=function(_0x591029){while(--_0x591029){_0x417ce0['push'](_0x417ce0['shift']());}};_0x5ab9f1(++_0x3e75ef);}(_0x3e75,0x177));const _0x5ab9=function(_0x417ce0,_0x3e75ef){_0x417ce0=_0x417ce0-0x0;let _0x5ab9f1=_0x3e75[_0x417ce0];return _0x5ab9f1;};import{Plugin as _0x2faa7c}from'ckeditor5/src/core';import _0x237a90 from'./table';import{getTranslation as _0x4361ab}from'../utils/common-translations';export default class pt extends _0x2faa7c{static get['requires'](){return[_0x237a90];}[_0x5ab9('0x15')](){const _0x418c5f=this[_0x5ab9('0x3d')];if(!_0x418c5f[_0x5ab9('0x24')]['has'](_0x5ab9('0x30')))return;const _0x54e4ef=_0x418c5f[_0x5ab9('0x7')],_0x29974e=_0x418c5f[_0x5ab9('0x24')][_0x5ab9('0x1d')](_0x5ab9('0x1e')),_0x442497=_0x418c5f['plugins'][_0x5ab9('0x1d')]('TableUtils'),_0x4682be=_0x418c5f[_0x5ab9('0x24')][_0x5ab9('0x1d')](_0x237a90);function _0xdb5f67({showActiveMarker:_0x3cb52e=!0x0,setDataAttribute:_0x472a09=!0x0}={}){return(_0x13dfde,_0x5a7b2f,_0x5d7ce9)=>{const {type:_0x498d33,id:_0x1cac05}=_0x29974e['_splitMarkerName'](_0x5a7b2f[_0x5ab9('0x0')]),_0x47f8f3=_0x29974e[_0x5ab9('0x2c')](_0x1cac05);if(!_0x47f8f3[_0x5ab9('0x1')]||_0x5ab9('0x46')!=_0x47f8f3[_0x5ab9('0x1')][_0x5ab9('0x20')])return;if(_0x5a7b2f[_0x5ab9('0xf')])return void _0x13dfde[_0x5ab9('0x50')]();if(!_0x5d7ce9[_0x5ab9('0x48')][_0x5ab9('0x31')](_0x5a7b2f['markerRange'],_0x13dfde[_0x5ab9('0x4')]))return;const _0x34ea6c=_0x5a7b2f[_0x5ab9('0x26')][_0x5ab9('0x40')]['nodeAfter'],_0x1f73d0=_0x5a7b2f[_0x5ab9('0x26')][_0x5ab9('0x35')][_0x5ab9('0x4d')],_0x4e7d6d=_0x34ea6c[_0x5ab9('0x2f')][_0x5ab9('0x2f')],{column:_0x33a6fd}=_0x442497[_0x5ab9('0x4a')](_0x34ea6c),{column:_0x3321cc}=_0x442497['getCellLocation'](_0x1f73d0);for(let _0x49d457=_0x33a6fd;_0x49d457<=_0x3321cc;_0x49d457++){const _0x3fe10d=_0x442497[_0x5ab9('0xb')](_0x4e7d6d,{'column':_0x49d457,'includeAllSlots':!0x1});for(const _0x57160e of _0x3fe10d){const _0x4cfcf8=_0x57160e[_0x5ab9('0xe')],_0x2fa9f3=_0x5d7ce9[_0x5ab9('0x1c')][_0x5ab9('0x25')](_0x4cfcf8);_0x5d7ce9[_0x5ab9('0x3e')]['addClass']('ck-suggestion-marker-'+_0x498d33,_0x2fa9f3),_0x472a09&&_0x5d7ce9[_0x5ab9('0x3e')][_0x5ab9('0x3f')](_0x5ab9('0x5'),_0x1cac05,_0x2fa9f3),_0x5d7ce9[_0x5ab9('0x1c')][_0x5ab9('0xd')](_0x2fa9f3,_0x5a7b2f[_0x5ab9('0x0')]),_0x3cb52e&&(_0x29974e['activeMarkers'][_0x5ab9('0x4f')](_0x5a7b2f[_0x5ab9('0x0')])?_0x5d7ce9[_0x5ab9('0x3e')]['addClass']('ck-suggestion-marker--active',_0x2fa9f3):_0x5d7ce9[_0x5ab9('0x3e')][_0x5ab9('0x3')](_0x5ab9('0x36'),_0x2fa9f3));}}};}_0x29974e['enableCommand'](_0x5ab9('0x38'),(_0x4e41ba,_0x2bd3fc)=>{const _0x2b9849=_0x442497['getSelectionAffectedTableCells'](_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x19')]['selection']),_0x4d3193=_0x442497[_0x5ab9('0x28')](_0x2b9849),_0x5c3521=_0x2b9849[0x0][_0x5ab9('0x16')](_0x5ab9('0x43')),_0x4d470d=_0x5c3521[_0x5ab9('0x12')]('headingRows')||0x0,_0x154a5d=_0x2bd3fc&&null!==_0x2bd3fc[_0x5ab9('0x27')]?_0x2bd3fc[_0x5ab9('0x27')]:!_0x418c5f[_0x5ab9('0x37')][_0x5ab9('0x1d')](_0x5ab9('0x38'))[_0x5ab9('0x2a')],_0x2614d7=_0x154a5d?_0x4d3193[_0x5ab9('0x42')]:_0x4d3193['first'],_0x118cb8=_0x5c3521[_0x5ab9('0x44')](_0x2614d7);let _0x37a807;if(_0x154a5d){const _0x217faa=_0x5c3521['getChild'](_0x4d470d);if(_0x118cb8[_0x5ab9('0x14')]<_0x217faa[_0x5ab9('0x14')])return;_0x37a807=_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x4b')](_0x418c5f[_0x5ab9('0x17')]['createPositionBefore'](_0x217faa[_0x5ab9('0x44')](0x0)),_0x418c5f['model'][_0x5ab9('0x23')](_0x118cb8[_0x5ab9('0x44')](_0x118cb8[_0x5ab9('0x2')]-0x1)));}else{const _0x143b0f=_0x5c3521[_0x5ab9('0x44')](_0x4d470d-0x1);if(!_0x143b0f)return;_0x37a807=_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x4b')](_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x13')](_0x118cb8[_0x5ab9('0x44')](0x0)),_0x418c5f['model']['createPositionAfter'](_0x143b0f[_0x5ab9('0x44')](_0x143b0f[_0x5ab9('0x2')]-0x1)));}_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x47')](()=>{_0x29974e[_0x5ab9('0x39')](_0x37a807,{'commandName':_0x5ab9('0x38'),'commandParams':[{'forceValue':_0x154a5d}]},[],_0x5ab9('0x38'));});}),_0x29974e[_0x5ab9('0xa')]('setTableColumnHeader',(_0x27ee18,_0x553060)=>{const _0x10b927=_0x418c5f[_0x5ab9('0x24')][_0x5ab9('0x1d')](_0x5ab9('0x9')),_0xad02c9=_0x10b927[_0x5ab9('0x2b')](_0x418c5f['model'][_0x5ab9('0x19')][_0x5ab9('0xc')]),_0x3bdc36=_0x10b927[_0x5ab9('0x41')](_0xad02c9),_0x204074=_0xad02c9[0x0][_0x5ab9('0x16')](_0x5ab9('0x43')),_0x374cd2=_0x204074[_0x5ab9('0x12')](_0x5ab9('0x4e'))||0x0,_0xafd75f=_0x553060&&null!==_0x553060[_0x5ab9('0x27')]?_0x553060[_0x5ab9('0x27')]:!_0x418c5f[_0x5ab9('0x37')][_0x5ab9('0x1d')](_0x5ab9('0x46'))[_0x5ab9('0x2a')];let _0x828ea0;const _0x7caeda=_0x204074[_0x5ab9('0x44')](0x0),_0x47de2c=_0xafd75f?_0x3bdc36[_0x5ab9('0x42')]:_0x3bdc36[_0x5ab9('0x1b')],_0x224356=_0x10b927['createTableWalker'](_0x204074,{'startRow':0x0,'column':_0x47de2c,'includeAllSlots':!0x1}),_0x21f171=Array['from'](_0x224356)[0x0][_0x5ab9('0xe')];if(_0xafd75f){const _0x2bb844=_0x7caeda['getChild'](_0x374cd2);if(_0x21f171[_0x5ab9('0x4c')](_0x2bb844))return;_0x828ea0=_0x418c5f[_0x5ab9('0x17')]['createRange'](_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x13')](_0x2bb844),_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x23')](_0x21f171));}else{const _0x572dcd=_0x7caeda[_0x5ab9('0x44')](_0x374cd2-0x1);if(!_0x572dcd)return;_0x828ea0=_0x418c5f['model'][_0x5ab9('0x4b')](_0x418c5f[_0x5ab9('0x17')][_0x5ab9('0x13')](_0x21f171),_0x418c5f['model'][_0x5ab9('0x23')](_0x572dcd));}_0x418c5f['model']['change'](()=>{_0x29974e['markBlockFormat'](_0x828ea0,{'commandName':_0x5ab9('0x46'),'commandParams':[{'forceValue':_0xafd75f}]},[],_0x5ab9('0x46'));});}),_0x418c5f['editing'][_0x5ab9('0x29')]['on'](_0x5ab9('0x3b'),_0xdb5f67(),{'priority':_0x5ab9('0x6')}),_0x418c5f[_0x5ab9('0x1')][_0x5ab9('0x29')]['on'](_0x5ab9('0x3b'),(_0x31dc56,_0x3ba901,_0x34b551)=>{_0x34b551[_0x5ab9('0x11')][_0x5ab9('0x2d')]&&_0xdb5f67({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x31dc56,_0x3ba901,_0x34b551);},{'priority':_0x5ab9('0x6')}),_0x418c5f[_0x5ab9('0x45')][_0x5ab9('0x29')]['on']('removeMarker:suggestion',(_0x530dc1,_0x243b67,_0x1f52d9)=>{const {type:_0x125dc4,id:_0x2613c1}=_0x29974e['_splitMarkerName'](_0x243b67[_0x5ab9('0x0')]),_0x5c37bd=_0x29974e[_0x5ab9('0x2c')](_0x2613c1);if(!_0x5c37bd[_0x5ab9('0x1')]||_0x5ab9('0x46')!=_0x5c37bd[_0x5ab9('0x1')][_0x5ab9('0x20')])return;const _0x48090c=_0x1f52d9[_0x5ab9('0x1c')]['markerNameToElements'](_0x243b67[_0x5ab9('0x0')]);if(_0x48090c)for(const _0x5340e2 of _0x48090c)_0x1f52d9['writer'][_0x5ab9('0x3')](_0x5ab9('0x3c')+_0x125dc4,_0x5340e2),_0x1f52d9[_0x5ab9('0x3e')]['removeClass'](_0x5ab9('0x36'),_0x5340e2),_0x1f52d9[_0x5ab9('0x3e')]['removeAttribute'](_0x5ab9('0x5'),_0x5340e2),_0x1f52d9[_0x5ab9('0x1c')][_0x5ab9('0x1a')](_0x5340e2,_0x243b67[_0x5ab9('0x0')]);},{'priority':'highest'}),_0x29974e[_0x5ab9('0x2e')][_0x5ab9('0x3a')](_0x475738=>{const {data:_0x3a4fdb}=_0x475738;if(_0x3a4fdb){if('setTableRowHeader'==_0x3a4fdb[_0x5ab9('0x20')]){const _0x34c2c5=_0x3a4fdb[_0x5ab9('0x1f')][0x0]['forceValue'];return _0x2a3c70(_0x4361ab(_0x54e4ef,_0x34c2c5?'FORMAT_HEADER_ROW':_0x5ab9('0x22')));}if(_0x5ab9('0x46')==_0x3a4fdb['commandName']){const _0x364d01=_0x3a4fdb[_0x5ab9('0x1f')][0x0][_0x5ab9('0x27')];return _0x2a3c70(_0x4361ab(_0x54e4ef,_0x364d01?_0x5ab9('0x8'):'FORMAT_REGULAR_COLUMN'));}}function _0x2a3c70(_0x1b6ece){return{'type':_0x5ab9('0x10'),'content':_0x4361ab(_0x54e4ef,_0x5ab9('0x33'),_0x1b6ece)};}});const _0x1363e5=_0x4682be[_0x5ab9('0x18')]();_0x29974e[_0x5ab9('0x49')][_0x5ab9('0x32')](_0x5ab9('0x21'),_0x5ab9('0x38'),_0x5ab9('0x34'),_0x1363e5),_0x29974e[_0x5ab9('0x49')][_0x5ab9('0x32')](_0x5ab9('0x21'),_0x5ab9('0x46'),_0x5ab9('0x34'),_0x1363e5);}}
23
+ const _0x4557=['model','_descriptionFactory','get','from','downcastDispatcher','value','headingRows','start','data-suggestion','TableEditing','_splitMarkerName','FORMAT_REGULAR_COLUMN','cell','markerRange','removeClass','createPositionAfter','afterInit','unbindElementFromMarkerName','plugins','data','mapper','showSuggestionHighlights','TableUtils','ck-suggestion-marker--active','accept','addMarker:suggestion','getChild','getAttribute','*Format:*\x20%0','forceValue','table','parent','ck-suggestion-marker-','setAttribute','editor','markerNameToElements','registerDescriptionCallback','setTableRowHeader','toViewElement','childCount','document','last','includes','requires','_acceptFormatSuggestionCallbackFactory','setTableColumnHeader','createTableWalker','nodeBefore','activeMarkers','markerName','selection','removeAttribute','markBlockFormat','FORMAT_HEADER_ROW','consume','addClass','removeMarker:suggestion','consumable','index','formatBlock','writer','commandParams','highest','findAncestor','isBefore','change','FORMAT_REGULAR_ROW','first','nodeAfter','commandName','_suggestionFactory','enableCommand','editing','getRowIndexes','getSelectionAffectedTableCells','registerCustomCallback','headingColumns','createPositionBefore','item','createRange','commands'];(function(_0x25432c,_0x4557a0){const _0x1835d0=function(_0x126204){while(--_0x126204){_0x25432c['push'](_0x25432c['shift']());}};_0x1835d0(++_0x4557a0);}(_0x4557,0x100));const _0x1835=function(_0x25432c,_0x4557a0){_0x25432c=_0x25432c-0x0;let _0x1835d0=_0x4557[_0x25432c];return _0x1835d0;};import{Plugin as _0x46a2c7}from'ckeditor5/src/core';import _0x96136f from'./table';import{getTranslation as _0x26cef4}from'../utils/common-translations';export default class pt extends _0x46a2c7{static get[_0x1835('0x1e')](){return[_0x96136f];}[_0x1835('0x3')](){const _0x3be653=this[_0x1835('0x15')];if(!_0x3be653[_0x1835('0x5')]['has'](_0x1835('0x4d')))return;const _0x5079f4=_0x3be653['locale'],_0x59cc7b=_0x3be653[_0x1835('0x5')][_0x1835('0x46')]('TrackChangesEditing'),_0x96deb9=_0x3be653[_0x1835('0x5')][_0x1835('0x46')](_0x1835('0x9')),_0x28aa7c=_0x3be653[_0x1835('0x5')][_0x1835('0x46')](_0x96136f);function _0x5d45db({showActiveMarker:_0x11aebd=!0x0,setDataAttribute:_0x4f0132=!0x0}={}){return(_0x4dadfc,_0x3231a4,_0x1f227a)=>{const {type:_0xd92893,id:_0x2a7dd3}=_0x59cc7b[_0x1835('0x4e')](_0x3231a4['markerName']),_0x1caf6e=_0x59cc7b['getSuggestion'](_0x2a7dd3);if(!_0x1caf6e[_0x1835('0x6')]||_0x1835('0x20')!=_0x1caf6e[_0x1835('0x6')]['commandName'])return;if(_0x3231a4[_0x1835('0x41')])return void _0x4dadfc['stop']();if(!_0x1f227a[_0x1835('0x2c')][_0x1835('0x29')](_0x3231a4[_0x1835('0x0')],_0x4dadfc['name']))return;const _0x265c4c=_0x3231a4[_0x1835('0x0')][_0x1835('0x4b')][_0x1835('0x37')],_0x1526ba=_0x3231a4['markerRange']['end'][_0x1835('0x22')],_0x101a7b=_0x265c4c[_0x1835('0x12')][_0x1835('0x12')],{column:_0xf37a2d}=_0x96deb9['getCellLocation'](_0x265c4c),{column:_0x507fa8}=_0x96deb9['getCellLocation'](_0x1526ba);for(let _0x558677=_0xf37a2d;_0x558677<=_0x507fa8;_0x558677++){const _0x581009=_0x96deb9[_0x1835('0x21')](_0x101a7b,{'column':_0x558677,'includeAllSlots':!0x1});for(const _0x583409 of _0x581009){const _0x471cdf=_0x583409[_0x1835('0x50')],_0x1ba958=_0x1f227a[_0x1835('0x7')][_0x1835('0x19')](_0x471cdf);_0x1f227a['writer']['addClass'](_0x1835('0x13')+_0xd92893,_0x1ba958),_0x4f0132&&_0x1f227a[_0x1835('0x2f')][_0x1835('0x14')](_0x1835('0x4c'),_0x2a7dd3,_0x1ba958),_0x1f227a[_0x1835('0x7')]['bindElementToMarker'](_0x1ba958,_0x3231a4[_0x1835('0x24')]),_0x11aebd&&(_0x59cc7b[_0x1835('0x23')][_0x1835('0x1d')](_0x3231a4[_0x1835('0x24')])?_0x1f227a[_0x1835('0x2f')][_0x1835('0x2a')](_0x1835('0xa'),_0x1ba958):_0x1f227a[_0x1835('0x2f')][_0x1835('0x1')]('ck-suggestion-marker--active',_0x1ba958));}}};}_0x59cc7b[_0x1835('0x3a')](_0x1835('0x18'),(_0x37d44f,_0x759934)=>{const _0x43973f=_0x96deb9['getSelectionAffectedTableCells'](_0x3be653[_0x1835('0x44')][_0x1835('0x1b')][_0x1835('0x25')]),_0x4fa4bc=_0x96deb9[_0x1835('0x3c')](_0x43973f),_0x112f4d=_0x43973f[0x0][_0x1835('0x32')](_0x1835('0x11')),_0x1da807=_0x112f4d[_0x1835('0xe')](_0x1835('0x4a'))||0x0,_0x17fda4=_0x759934&&null!==_0x759934[_0x1835('0x10')]?_0x759934[_0x1835('0x10')]:!_0x3be653['commands'][_0x1835('0x46')]('setTableRowHeader')[_0x1835('0x49')],_0x1515a0=_0x17fda4?_0x4fa4bc[_0x1835('0x1c')]:_0x4fa4bc[_0x1835('0x36')],_0x1c72ce=_0x112f4d[_0x1835('0xd')](_0x1515a0);let _0x287fe6;if(_0x17fda4){const _0x5c024d=_0x112f4d['getChild'](_0x1da807);if(_0x1c72ce[_0x1835('0x2d')]<_0x5c024d['index'])return;_0x287fe6=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')][_0x1835('0x40')](_0x5c024d['getChild'](0x0)),_0x3be653['model']['createPositionAfter'](_0x1c72ce[_0x1835('0xd')](_0x1c72ce[_0x1835('0x1a')]-0x1)));}else{const _0x54b530=_0x112f4d[_0x1835('0xd')](_0x1da807-0x1);if(!_0x54b530)return;_0x287fe6=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')]['createPositionBefore'](_0x1c72ce[_0x1835('0xd')](0x0)),_0x3be653[_0x1835('0x44')][_0x1835('0x2')](_0x54b530[_0x1835('0xd')](_0x54b530[_0x1835('0x1a')]-0x1)));}_0x3be653[_0x1835('0x44')]['change'](()=>{_0x59cc7b[_0x1835('0x27')](_0x287fe6,{'commandName':_0x1835('0x18'),'commandParams':[{'forceValue':_0x17fda4}]},[],'setTableRowHeader');});}),_0x59cc7b['enableCommand'](_0x1835('0x20'),(_0x16ec96,_0x3bb07f)=>{const _0x5b8269=_0x3be653[_0x1835('0x5')]['get'](_0x1835('0x9')),_0x26f33f=_0x5b8269[_0x1835('0x3d')](_0x3be653[_0x1835('0x44')][_0x1835('0x1b')]['selection']),_0x55d006=_0x5b8269['getColumnIndexes'](_0x26f33f),_0x3dce9b=_0x26f33f[0x0][_0x1835('0x32')](_0x1835('0x11')),_0x234b43=_0x3dce9b['getAttribute'](_0x1835('0x3f'))||0x0,_0x734f49=_0x3bb07f&&null!==_0x3bb07f[_0x1835('0x10')]?_0x3bb07f[_0x1835('0x10')]:!_0x3be653[_0x1835('0x43')]['get'](_0x1835('0x20'))[_0x1835('0x49')];let _0xc087e0;const _0x423595=_0x3dce9b[_0x1835('0xd')](0x0),_0x2311a4=_0x734f49?_0x55d006['last']:_0x55d006['first'],_0x207c81=_0x5b8269[_0x1835('0x21')](_0x3dce9b,{'startRow':0x0,'column':_0x2311a4,'includeAllSlots':!0x1}),_0x3c814d=Array[_0x1835('0x47')](_0x207c81)[0x0]['cell'];if(_0x734f49){const _0x3103d1=_0x423595[_0x1835('0xd')](_0x234b43);if(_0x3c814d[_0x1835('0x33')](_0x3103d1))return;_0xc087e0=_0x3be653[_0x1835('0x44')][_0x1835('0x42')](_0x3be653[_0x1835('0x44')][_0x1835('0x40')](_0x3103d1),_0x3be653['model'][_0x1835('0x2')](_0x3c814d));}else{const _0x915426=_0x423595[_0x1835('0xd')](_0x234b43-0x1);if(!_0x915426)return;_0xc087e0=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')]['createPositionBefore'](_0x3c814d),_0x3be653[_0x1835('0x44')]['createPositionAfter'](_0x915426));}_0x3be653['model'][_0x1835('0x34')](()=>{_0x59cc7b[_0x1835('0x27')](_0xc087e0,{'commandName':_0x1835('0x20'),'commandParams':[{'forceValue':_0x734f49}]},[],_0x1835('0x20'));});}),_0x3be653[_0x1835('0x3b')][_0x1835('0x48')]['on'](_0x1835('0xc'),_0x5d45db(),{'priority':_0x1835('0x31')}),_0x3be653['data'][_0x1835('0x48')]['on'](_0x1835('0xc'),(_0x13f073,_0x314813,_0x364268)=>{_0x364268['options'][_0x1835('0x8')]&&_0x5d45db({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x13f073,_0x314813,_0x364268);},{'priority':'highest'}),_0x3be653[_0x1835('0x3b')][_0x1835('0x48')]['on'](_0x1835('0x2b'),(_0x15ef0d,_0x10da46,_0x24e1fe)=>{const {type:_0x3ea920,id:_0x107584}=_0x59cc7b[_0x1835('0x4e')](_0x10da46[_0x1835('0x24')]),_0x1e100f=_0x59cc7b['getSuggestion'](_0x107584);if(!_0x1e100f[_0x1835('0x6')]||_0x1835('0x20')!=_0x1e100f[_0x1835('0x6')]['commandName'])return;const _0x4b5740=_0x24e1fe['mapper'][_0x1835('0x16')](_0x10da46[_0x1835('0x24')]);if(_0x4b5740)for(const _0x4e8b0d of _0x4b5740)_0x24e1fe['writer'][_0x1835('0x1')]('ck-suggestion-marker-'+_0x3ea920,_0x4e8b0d),_0x24e1fe[_0x1835('0x2f')][_0x1835('0x1')](_0x1835('0xa'),_0x4e8b0d),_0x24e1fe[_0x1835('0x2f')][_0x1835('0x26')](_0x1835('0x4c'),_0x4e8b0d),_0x24e1fe[_0x1835('0x7')][_0x1835('0x4')](_0x4e8b0d,_0x10da46[_0x1835('0x24')]);},{'priority':_0x1835('0x31')}),_0x59cc7b[_0x1835('0x45')][_0x1835('0x17')](_0x1fb10a=>{const {data:_0x59d881}=_0x1fb10a;if(_0x59d881){if(_0x1835('0x18')==_0x59d881[_0x1835('0x38')]){const _0x5e2be0=_0x59d881['commandParams'][0x0][_0x1835('0x10')];return _0x1cecf3(_0x26cef4(_0x5079f4,_0x5e2be0?_0x1835('0x28'):_0x1835('0x35')));}if(_0x1835('0x20')==_0x59d881[_0x1835('0x38')]){const _0x205c11=_0x59d881[_0x1835('0x30')][0x0][_0x1835('0x10')];return _0x1cecf3(_0x26cef4(_0x5079f4,_0x205c11?'FORMAT_HEADER_COLUMN':_0x1835('0x4f')));}}function _0x1cecf3(_0x5cb96a){return{'type':'format','content':_0x26cef4(_0x5079f4,_0x1835('0xf'),_0x5cb96a)};}});const _0xbce3a=_0x28aa7c[_0x1835('0x1f')]();_0x59cc7b[_0x1835('0x39')]['registerCustomCallback'](_0x1835('0x2e'),_0x1835('0x18'),_0x1835('0xb'),_0xbce3a),_0x59cc7b[_0x1835('0x39')][_0x1835('0x3e')](_0x1835('0x2e'),_0x1835('0x20'),_0x1835('0xb'),_0xbce3a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x445c=['isEnabled','find','editor','type','formatBlock','$graveyard','_isForcedDefaultExecutionBlock','return','add','_tablePostFixingSubtypes','subType','mergeTableCellDown','TrackChangesEditing','mergeTableCellLeft','selection','getSuggestions','filter','mergeTableCellUp','low','direction','_suggestionFactory','execute','afterInit','fromRange','containsRange','model','isInContent','_acceptFormatSuggestionCallbackFactory','splitTableCellVertically','enableCommand','has','cell','createRangeOn','get','detach','markBlockFormat','registerDescriptionCallback','locale','commandName','_descriptionFactory','format','accept','getSelectionAffectedTableCells','commands','document','push','trackChanges','findAncestor','registerCustomCallback','horizontally','value','getRanges','TableUtils','setSelection','*Split\x20cell:*\x20vertically','mergeTableCells','length','author','*Split\x20cell:*\x20horizontally','stop','getAncestors','change','forceDefaultExecution','splitTableCellHorizontally','_areSelectedCellsMergable','deletion','element','size','mergeTableCellRight','requires','from','createTableWalker','getFirstPosition','_areMergableCells','map','markMultiRangeBlockFormat','highest','plugins','tableCell','rootName'];(function(_0x491e4a,_0x445cef){const _0x2e3abb=function(_0x23feb7){while(--_0x23feb7){_0x491e4a['push'](_0x491e4a['shift']());}};_0x2e3abb(++_0x445cef);}(_0x445c,0x197));const _0x2e3a=function(_0x491e4a,_0x445cef){_0x491e4a=_0x491e4a-0x0;let _0x2e3abb=_0x445c[_0x491e4a];return _0x2e3abb;};import{Plugin as _0x23682a}from'ckeditor5/src/core';import _0x47de42 from'./table';import{LiveRange as _0x5b5d39}from'ckeditor5/src/engine';import{getTranslation as _0x57daf5}from'../utils/common-translations';export default class dt extends _0x23682a{static get[_0x2e3a('0x3e')](){return[_0x47de42];}[_0x2e3a('0xf')](){const _0x15dbbc=this[_0x2e3a('0x4b')],_0x3c67d4=_0x15dbbc[_0x2e3a('0x12')][_0x2e3a('0x25')][_0x2e3a('0x7')],_0x5865cc=_0x15dbbc[_0x2e3a('0x1e')];if(!_0x15dbbc[_0x2e3a('0x46')][_0x2e3a('0x17')]('TableEditing'))return;const _0x1d0921=_0x15dbbc[_0x2e3a('0x46')]['get'](_0x2e3a('0x5')),_0x312bd4=_0x15dbbc[_0x2e3a('0x46')][_0x2e3a('0x1a')](_0x2e3a('0x2d')),_0x17cfd4=_0x15dbbc['plugins'][_0x2e3a('0x1a')](_0x47de42);_0x17cfd4[_0x2e3a('0x2')][_0x2e3a('0x26')]('mergeTableCells'),_0x1d0921[_0x2e3a('0x16')](_0x2e3a('0x30'),()=>{const _0x2ed77c=_0x312bd4[_0x2e3a('0x23')](_0x15dbbc[_0x2e3a('0x12')][_0x2e3a('0x25')][_0x2e3a('0x7')]);_0x15dbbc[_0x2e3a('0x12')]['change'](()=>{_0x1d0921[_0x2e3a('0x44')](_0x2ed77c,{'commandName':_0x2e3a('0x30'),'commandParams':[]},[],_0x2e3a('0x30'));});}),_0x15dbbc[_0x2e3a('0x24')][_0x2e3a('0x1a')](_0x2e3a('0x30'))['on'](_0x2e3a('0xe'),(_0x163d01,_0x415c96)=>{_0x15dbbc['commands'][_0x2e3a('0x1a')](_0x2e3a('0x27'))['value']&&(_0x415c96[_0x2e3a('0x31')]>0x0&&_0x415c96[_0x415c96[_0x2e3a('0x31')]-0x1]&&_0x415c96[_0x415c96[_0x2e3a('0x31')]-0x1][_0x2e3a('0x37')]||_0x1d0921[_0x2e3a('0x4f')]||this[_0x2e3a('0x39')]()||_0x163d01[_0x2e3a('0x34')]());},{'priority':_0x2e3a('0x45')});for(const _0x1aa326 of[_0x2e3a('0xa'),_0x2e3a('0x3d'),_0x2e3a('0x4'),'mergeTableCellLeft']){const _0x49fd6a=_0x15dbbc[_0x2e3a('0x24')][_0x2e3a('0x1a')](_0x1aa326);_0x1d0921[_0x2e3a('0x16')](_0x1aa326,()=>{const _0x40b740=_0x15dbbc['model']['document']['selection'][_0x2e3a('0x41')]()['getAncestors']()[_0x2e3a('0x4a')](_0x105e1b=>_0x105e1b['is'](_0x2e3a('0x3b'),_0x2e3a('0x47'))),_0x2951b8=_0x49fd6a[_0x2e3a('0x2b')];_0x15dbbc[_0x2e3a('0x12')][_0x2e3a('0x36')](()=>{_0x1d0921[_0x2e3a('0x44')]([_0x40b740,_0x2951b8],{'commandName':_0x2e3a('0x30'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x39e9ed of[_0x2e3a('0x15'),'splitTableCellHorizontally']){const _0x3b7246=_0x15dbbc[_0x2e3a('0x24')]['get'](_0x39e9ed);_0x1d0921[_0x2e3a('0x16')](_0x39e9ed,()=>{const _0x273632=_0x312bd4[_0x2e3a('0x23')](_0x15dbbc[_0x2e3a('0x12')][_0x2e3a('0x25')][_0x2e3a('0x7')])[0x0],_0x2586d9=_0x273632[_0x2e3a('0x28')]('table'),{column:_0x4ada50,row:_0x51d6eb}=_0x312bd4['getCellLocation'](_0x273632);let _0x57fe7b=[];if(_0x2e3a('0x2a')==_0x3b7246[_0x2e3a('0xc')]){const _0x51882a=_0x312bd4[_0x2e3a('0x40')](_0x2586d9,{'startRow':_0x51d6eb,'endRow':_0x51d6eb,'includeAllSlots':!0x0});_0x57fe7b=Array[_0x2e3a('0x3f')](_0x51882a)[_0x2e3a('0x43')](_0x339839=>_0x339839['cell']);}else{const _0x8018d6=_0x312bd4[_0x2e3a('0x40')](_0x2586d9,{'column':_0x4ada50,'includeAllSlots':!0x0});_0x57fe7b=Array['from'](_0x8018d6)[_0x2e3a('0x43')](_0x132b3e=>_0x132b3e[_0x2e3a('0x18')]);}_0x15dbbc['model']['change'](_0x208942=>{_0x1d0921[_0x2e3a('0x1c')](_0x208942[_0x2e3a('0x19')](_0x273632),{'commandName':_0x39e9ed,'commandParams':[]},_0x57fe7b,_0x39e9ed);});});}_0x1d0921[_0x2e3a('0x20')][_0x2e3a('0x1d')](_0x33463c=>{const {data:_0x58a4e1}=_0x33463c;if(_0x58a4e1)return'mergeTableCells'==_0x58a4e1[_0x2e3a('0x1f')]?{'type':_0x2e3a('0x21'),'content':_0x57daf5(_0x5865cc,'*Merge\x20cells*')}:void 0x0;}),_0x1d0921[_0x2e3a('0x20')][_0x2e3a('0x1d')](_0x44c27d=>{const {data:_0x10ed34}=_0x44c27d;if(_0x10ed34)return'splitTableCellVertically'==_0x10ed34[_0x2e3a('0x1f')]?{'type':_0x2e3a('0x21'),'content':_0x57daf5(_0x5865cc,_0x2e3a('0x2f'))}:'splitTableCellHorizontally'==_0x10ed34['commandName']?{'type':'format','content':_0x57daf5(_0x5865cc,_0x2e3a('0x33'))}:void 0x0;});const _0x1bf06d=_0x17cfd4[_0x2e3a('0x14')]();for(const _0x124e45 of[_0x2e3a('0xa'),_0x2e3a('0x3d'),_0x2e3a('0x4'),_0x2e3a('0x6')])_0x1d0921['_suggestionFactory'][_0x2e3a('0x29')](_0x2e3a('0x4d'),_0x124e45,'accept',_0x1bf06d);for(const _0x2aafc5 of[_0x2e3a('0x15'),_0x2e3a('0x38')])_0x1d0921[_0x2e3a('0xd')]['registerCustomCallback'](_0x2e3a('0x4d'),_0x2aafc5,_0x2e3a('0x22'),_0x1bf06d);_0x1d0921[_0x2e3a('0xd')][_0x2e3a('0x29')](_0x2e3a('0x4d'),'mergeTableCells',_0x2e3a('0x22'),_0x4a86ec=>{_0x15dbbc[_0x2e3a('0x12')]['change'](_0x142c7a=>{const _0x457b3c=Array[_0x2e3a('0x3f')](_0x3c67d4[_0x2e3a('0x2c')]())['map'](_0x3e8313=>_0x5b5d39[_0x2e3a('0x10')](_0x3e8313));_0x142c7a[_0x2e3a('0x2e')](_0x4a86ec),_0x15dbbc[_0x2e3a('0x24')]['get'](_0x2e3a('0x30'))['refresh'](),_0x15dbbc[_0x2e3a('0xe')](_0x2e3a('0x30'),{'forceDefaultExecution':!0x0});const _0x2e8bed=_0x457b3c[_0x2e3a('0x9')](_0x563fd9=>_0x2e3a('0x4e')!=_0x563fd9['root'][_0x2e3a('0x48')]);_0x2e8bed[_0x2e3a('0x31')]>0x0&&_0x142c7a[_0x2e3a('0x2e')](_0x2e8bed);for(const _0x435f66 of _0x457b3c)_0x435f66[_0x2e3a('0x1b')]();});});for(const _0x542969 of[_0x2e3a('0xa'),_0x2e3a('0x4'),_0x2e3a('0x6'),_0x2e3a('0x3d')]){const _0x173b27=_0x15dbbc[_0x2e3a('0x24')][_0x2e3a('0x1a')](_0x542969);_0x173b27['on']('set:isEnabled',(_0x26c3c7,_0x5631df,_0x4a6570)=>{if(_0x4a6570){const _0x2938c4=_0x15dbbc['model']['document']['selection'][_0x2e3a('0x41')]()[_0x2e3a('0x35')]()['find'](_0x30f3ac=>_0x30f3ac['is'](_0x2e3a('0x3b'),_0x2e3a('0x47')));this[_0x2e3a('0x42')](_0x173b27[_0x2e3a('0x2b')],_0x2938c4)||(_0x26c3c7[_0x2e3a('0x0')]=!0x1,_0x26c3c7[_0x2e3a('0x34')]());}},{'priority':_0x2e3a('0xb')});}}[_0x2e3a('0x39')](){const _0x375c5e=this['editor'][_0x2e3a('0x24')][_0x2e3a('0x1a')](_0x2e3a('0x30')),_0x4209e9=this['editor']['plugins'][_0x2e3a('0x1a')](_0x2e3a('0x2d'));if(!_0x375c5e[_0x2e3a('0x49')])return!0x1;const _0x82d04d=_0x4209e9[_0x2e3a('0x23')](this[_0x2e3a('0x4b')][_0x2e3a('0x12')][_0x2e3a('0x25')]['selection']);for(const _0xf7b985 of _0x82d04d)for(const _0x59290d of _0x82d04d)if(_0xf7b985!=_0x59290d&&!this[_0x2e3a('0x42')](_0xf7b985,_0x59290d))return!0x1;return!0x0;}[_0x2e3a('0x42')](_0x3127da,_0x30ed10){const _0x5dc77d=this[_0x2e3a('0x4b')][_0x2e3a('0x46')][_0x2e3a('0x1a')](_0x2e3a('0x5')),_0x55a5ff=this[_0x2e3a('0x4b')][_0x2e3a('0x12')]['createRangeOn'](_0x3127da),_0x5ac393=this['editor'][_0x2e3a('0x12')][_0x2e3a('0x19')](_0x30ed10),_0x24751c=new Set(),_0x4be985=new Set();for(const _0xcb21e3 of _0x5dc77d[_0x2e3a('0x8')]())if(('insertion'==_0xcb21e3[_0x2e3a('0x4c')]||_0x2e3a('0x3a')==_0xcb21e3['type']||_0x2e3a('0x30')==_0xcb21e3[_0x2e3a('0x3')])&&_0xcb21e3[_0x2e3a('0x13')])for(const _0x3670f9 of _0xcb21e3[_0x2e3a('0x2c')]())_0x3670f9['containsRange'](_0x55a5ff,!0x0)&&_0x24751c[_0x2e3a('0x1')](_0xcb21e3[_0x2e3a('0x4c')]+':'+_0xcb21e3[_0x2e3a('0x32')]['id']),_0x3670f9[_0x2e3a('0x11')](_0x5ac393,!0x0)&&_0x4be985[_0x2e3a('0x1')](_0xcb21e3[_0x2e3a('0x4c')]+':'+_0xcb21e3[_0x2e3a('0x32')]['id']);if(_0x24751c['size']!=_0x4be985[_0x2e3a('0x3c')])return!0x1;for(const _0x53c930 of _0x24751c)if(!_0x4be985['has'](_0x53c930))return!0x1;return!0x0;}}
23
+ const _0x49d7=['enableCommand','highest','mergeTableCellUp','mergeTableCellRight','isEnabled','findAncestor','_areSelectedCellsMergable','document','refresh','commandName','commands','horizontally','createRangeOn','isInContent','format','tableCell','containsRange','forceDefaultExecution','TableEditing','splitTableCellHorizontally','model','$graveyard','deletion','setSelection','markMultiRangeBlockFormat','splitTableCellVertically','_areMergableCells','_descriptionFactory','*Merge\x20cells*','afterInit','execute','getRanges','direction','author','plugins','registerCustomCallback','requires','mergeTableCellDown','mergeTableCellLeft','detach','has','*Split\x20cell:*\x20vertically','registerDescriptionCallback','getFirstPosition','type','get','TableUtils','subType','find','editor','_suggestionFactory','_tablePostFixingSubtypes','trackChanges','table','mergeTableCells','return','root','stop','formatBlock','cell','accept','from','createTableWalker','length','size','value','getAncestors','TrackChangesEditing','selection','element','change','add','map','_isForcedDefaultExecutionBlock','rootName','filter','set:isEnabled','getSelectionAffectedTableCells'];(function(_0x3a86e4,_0x49d751){const _0x512283=function(_0x2b8642){while(--_0x2b8642){_0x3a86e4['push'](_0x3a86e4['shift']());}};_0x512283(++_0x49d751);}(_0x49d7,0x15a));const _0x5122=function(_0x3a86e4,_0x49d751){_0x3a86e4=_0x3a86e4-0x0;let _0x512283=_0x49d7[_0x3a86e4];return _0x512283;};import{Plugin as _0x552bdc}from'ckeditor5/src/core';import _0x98219d from'./table';import{LiveRange as _0x39bcb7}from'ckeditor5/src/engine';import{getTranslation as _0x3a9acd}from'../utils/common-translations';export default class dt extends _0x552bdc{static get[_0x5122('0x2')](){return[_0x98219d];}[_0x5122('0x49')](){const _0x111328=this[_0x5122('0xf')],_0x41eb02=_0x111328[_0x5122('0x40')]['document'][_0x5122('0x22')],_0x59cefc=_0x111328['locale'];if(!_0x111328[_0x5122('0x0')][_0x5122('0x6')](_0x5122('0x3e')))return;const _0x5ce6fc=_0x111328[_0x5122('0x0')][_0x5122('0xb')](_0x5122('0x21')),_0x4756c5=_0x111328[_0x5122('0x0')]['get'](_0x5122('0xc')),_0x551bb6=_0x111328['plugins'][_0x5122('0xb')](_0x98219d);_0x551bb6[_0x5122('0x11')]['push'](_0x5122('0x14')),_0x5ce6fc[_0x5122('0x2c')](_0x5122('0x14'),()=>{const _0x28d811=_0x4756c5[_0x5122('0x2b')](_0x111328[_0x5122('0x40')]['document'][_0x5122('0x22')]);_0x111328[_0x5122('0x40')][_0x5122('0x24')](()=>{_0x5ce6fc[_0x5122('0x44')](_0x28d811,{'commandName':'mergeTableCells','commandParams':[]},[],_0x5122('0x14'));});}),_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x5122('0x14'))['on'](_0x5122('0x4a'),(_0x284a32,_0x4720f1)=>{_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x5122('0x12'))[_0x5122('0x1f')]&&(_0x4720f1[_0x5122('0x1d')]>0x0&&_0x4720f1[_0x4720f1['length']-0x1]&&_0x4720f1[_0x4720f1[_0x5122('0x1d')]-0x1][_0x5122('0x3d')]||_0x5ce6fc[_0x5122('0x27')]||this[_0x5122('0x32')]()||_0x284a32[_0x5122('0x17')]());},{'priority':_0x5122('0x2d')});for(const _0x55e3bb of['mergeTableCellUp',_0x5122('0x2f'),_0x5122('0x3'),_0x5122('0x4')]){const _0x2cd589=_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x55e3bb);_0x5ce6fc[_0x5122('0x2c')](_0x55e3bb,()=>{const _0x23ef56=_0x111328[_0x5122('0x40')][_0x5122('0x33')]['selection'][_0x5122('0x9')]()['getAncestors']()[_0x5122('0xe')](_0x2c9d20=>_0x2c9d20['is'](_0x5122('0x23'),_0x5122('0x3b'))),_0x36c393=_0x2cd589[_0x5122('0x1f')];_0x111328[_0x5122('0x40')]['change'](()=>{_0x5ce6fc[_0x5122('0x44')]([_0x23ef56,_0x36c393],{'commandName':_0x5122('0x14'),'commandParams':[]},[],_0x5122('0x14'));});});}for(const _0x3e95e4 of[_0x5122('0x45'),'splitTableCellHorizontally']){const _0x258688=_0x111328['commands'][_0x5122('0xb')](_0x3e95e4);_0x5ce6fc[_0x5122('0x2c')](_0x3e95e4,()=>{const _0x1c00d9=_0x4756c5[_0x5122('0x2b')](_0x111328[_0x5122('0x40')][_0x5122('0x33')]['selection'])[0x0],_0x143522=_0x1c00d9[_0x5122('0x31')](_0x5122('0x13')),{column:_0x265901,row:_0x1759ee}=_0x4756c5['getCellLocation'](_0x1c00d9);let _0x2df9cc=[];if(_0x5122('0x37')==_0x258688[_0x5122('0x4c')]){const _0x22f1f5=_0x4756c5[_0x5122('0x1c')](_0x143522,{'startRow':_0x1759ee,'endRow':_0x1759ee,'includeAllSlots':!0x0});_0x2df9cc=Array[_0x5122('0x1b')](_0x22f1f5)[_0x5122('0x26')](_0x3d0c4d=>_0x3d0c4d[_0x5122('0x19')]);}else{const _0x518801=_0x4756c5[_0x5122('0x1c')](_0x143522,{'column':_0x265901,'includeAllSlots':!0x0});_0x2df9cc=Array[_0x5122('0x1b')](_0x518801)[_0x5122('0x26')](_0x4066b1=>_0x4066b1['cell']);}_0x111328[_0x5122('0x40')][_0x5122('0x24')](_0x3ee53f=>{_0x5ce6fc['markBlockFormat'](_0x3ee53f[_0x5122('0x38')](_0x1c00d9),{'commandName':_0x3e95e4,'commandParams':[]},_0x2df9cc,_0x3e95e4);});});}_0x5ce6fc[_0x5122('0x47')][_0x5122('0x8')](_0x2e89bf=>{const {data:_0x191921}=_0x2e89bf;if(_0x191921)return _0x5122('0x14')==_0x191921['commandName']?{'type':_0x5122('0x3a'),'content':_0x3a9acd(_0x59cefc,_0x5122('0x48'))}:void 0x0;}),_0x5ce6fc[_0x5122('0x47')][_0x5122('0x8')](_0x5539ce=>{const {data:_0x2b9622}=_0x5539ce;if(_0x2b9622)return _0x5122('0x45')==_0x2b9622['commandName']?{'type':'format','content':_0x3a9acd(_0x59cefc,_0x5122('0x7'))}:_0x5122('0x3f')==_0x2b9622[_0x5122('0x35')]?{'type':_0x5122('0x3a'),'content':_0x3a9acd(_0x59cefc,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x19fd74=_0x551bb6['_acceptFormatSuggestionCallbackFactory']();for(const _0xc1c417 of['mergeTableCellUp',_0x5122('0x2f'),_0x5122('0x3'),'mergeTableCellLeft'])_0x5ce6fc['_suggestionFactory']['registerCustomCallback'](_0x5122('0x18'),_0xc1c417,'accept',_0x19fd74);for(const _0x35bbf2 of['splitTableCellVertically',_0x5122('0x3f')])_0x5ce6fc[_0x5122('0x10')][_0x5122('0x1')](_0x5122('0x18'),_0x35bbf2,_0x5122('0x1a'),_0x19fd74);_0x5ce6fc['_suggestionFactory'][_0x5122('0x1')](_0x5122('0x18'),_0x5122('0x14'),_0x5122('0x1a'),_0x30aad6=>{_0x111328[_0x5122('0x40')][_0x5122('0x24')](_0x35c240=>{const _0x15d2a3=Array['from'](_0x41eb02[_0x5122('0x4b')]())[_0x5122('0x26')](_0x4f3d80=>_0x39bcb7['fromRange'](_0x4f3d80));_0x35c240[_0x5122('0x43')](_0x30aad6),_0x111328['commands'][_0x5122('0xb')](_0x5122('0x14'))[_0x5122('0x34')](),_0x111328[_0x5122('0x4a')](_0x5122('0x14'),{'forceDefaultExecution':!0x0});const _0x34b06b=_0x15d2a3[_0x5122('0x29')](_0x181c49=>_0x5122('0x41')!=_0x181c49[_0x5122('0x16')][_0x5122('0x28')]);_0x34b06b[_0x5122('0x1d')]>0x0&&_0x35c240['setSelection'](_0x34b06b);for(const _0x52b49e of _0x15d2a3)_0x52b49e[_0x5122('0x5')]();});});for(const _0x4b963b of[_0x5122('0x2e'),_0x5122('0x3'),_0x5122('0x4'),'mergeTableCellRight']){const _0x29f3ee=_0x111328[_0x5122('0x36')]['get'](_0x4b963b);_0x29f3ee['on'](_0x5122('0x2a'),(_0x3ec2d8,_0x268237,_0x13ed02)=>{if(_0x13ed02){const _0xc44605=_0x111328[_0x5122('0x40')][_0x5122('0x33')][_0x5122('0x22')][_0x5122('0x9')]()[_0x5122('0x20')]()[_0x5122('0xe')](_0xb04e28=>_0xb04e28['is'](_0x5122('0x23'),_0x5122('0x3b')));this[_0x5122('0x46')](_0x29f3ee['value'],_0xc44605)||(_0x3ec2d8[_0x5122('0x15')]=!0x1,_0x3ec2d8['stop']());}},{'priority':'low'});}}[_0x5122('0x32')](){const _0x34c3cd=this[_0x5122('0xf')][_0x5122('0x36')][_0x5122('0xb')]('mergeTableCells'),_0x2bc4be=this[_0x5122('0xf')][_0x5122('0x0')]['get'](_0x5122('0xc'));if(!_0x34c3cd[_0x5122('0x30')])return!0x1;const _0x24319a=_0x2bc4be['getSelectionAffectedTableCells'](this[_0x5122('0xf')][_0x5122('0x40')][_0x5122('0x33')][_0x5122('0x22')]);for(const _0x354a69 of _0x24319a)for(const _0x2d7f7e of _0x24319a)if(_0x354a69!=_0x2d7f7e&&!this[_0x5122('0x46')](_0x354a69,_0x2d7f7e))return!0x1;return!0x0;}['_areMergableCells'](_0x52746a,_0x49ef5e){const _0x16d3b1=this['editor']['plugins'][_0x5122('0xb')](_0x5122('0x21')),_0x1ca5d5=this['editor'][_0x5122('0x40')][_0x5122('0x38')](_0x52746a),_0x3e60e5=this[_0x5122('0xf')][_0x5122('0x40')][_0x5122('0x38')](_0x49ef5e),_0xaf8190=new Set(),_0x559205=new Set();for(const _0x4fbe5d of _0x16d3b1['getSuggestions']())if(('insertion'==_0x4fbe5d[_0x5122('0xa')]||_0x5122('0x42')==_0x4fbe5d[_0x5122('0xa')]||'mergeTableCells'==_0x4fbe5d[_0x5122('0xd')])&&_0x4fbe5d[_0x5122('0x39')])for(const _0x2551b3 of _0x4fbe5d['getRanges']())_0x2551b3[_0x5122('0x3c')](_0x1ca5d5,!0x0)&&_0xaf8190[_0x5122('0x25')](_0x4fbe5d['type']+':'+_0x4fbe5d['author']['id']),_0x2551b3[_0x5122('0x3c')](_0x3e60e5,!0x0)&&_0x559205[_0x5122('0x25')](_0x4fbe5d[_0x5122('0xa')]+':'+_0x4fbe5d[_0x5122('0x4d')]['id']);if(_0xaf8190[_0x5122('0x1e')]!=_0x559205['size'])return!0x1;for(const _0x190827 of _0xaf8190)if(!_0x559205['has'](_0x190827))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f9a=['tableOfContents','editor','commands','ELEMENT_TABLE_OF_CONTENTS','plugins','get','TrackChangesEditing','insertTableOfContents'];(function(_0x2a2a92,_0x3f9a10){const _0x1d4066=function(_0x9c2448){while(--_0x9c2448){_0x2a2a92['push'](_0x2a2a92['shift']());}};_0x1d4066(++_0x3f9a10);}(_0x3f9a,0x115));const _0x1d40=function(_0x2a2a92,_0x3f9a10){_0x2a2a92=_0x2a2a92-0x0;let _0x1d4066=_0x3f9a[_0x2a2a92];return _0x1d4066;};import{Plugin as _0x5487de}from'ckeditor5/src/core';import{getTranslation as _0x741753}from'../utils/common-translations';export default class bt extends _0x5487de{['afterInit'](){const _0xdd554a=this[_0x1d40('0x4')];if(!_0xdd554a[_0x1d40('0x5')][_0x1d40('0x0')](_0x1d40('0x2')))return;_0xdd554a[_0x1d40('0x7')][_0x1d40('0x0')](_0x1d40('0x1'))['enableCommand'](_0x1d40('0x2'));const _0xbf037c=_0xdd554a[_0x1d40('0x7')][_0x1d40('0x0')](_0x1d40('0x1')),_0xc62889=_0xdd554a['locale'];_0xbf037c['_descriptionFactory']['registerElementLabel'](_0x1d40('0x3'),_0x4da996=>_0x741753(_0xc62889,_0x1d40('0x6'),_0x4da996));}}
23
+ const _0x51d3=['get','_descriptionFactory','locale','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','plugins','commands','tableOfContents','TrackChangesEditing','enableCommand','afterInit','editor'];(function(_0xd8fd35,_0x51d3b5){const _0x56298c=function(_0x297117){while(--_0x297117){_0xd8fd35['push'](_0xd8fd35['shift']());}};_0x56298c(++_0x51d3b5);}(_0x51d3,0x9c));const _0x5629=function(_0xd8fd35,_0x51d3b5){_0xd8fd35=_0xd8fd35-0x0;let _0x56298c=_0x51d3[_0xd8fd35];return _0x56298c;};import{Plugin as _0xb1d9d3}from'ckeditor5/src/core';import{getTranslation as _0x36a20f}from'../utils/common-translations';export default class bt extends _0xb1d9d3{[_0x5629('0xb')](){const _0x29fa30=this[_0x5629('0xc')];if(!_0x29fa30[_0x5629('0x7')][_0x5629('0x0')](_0x5629('0x5')))return;_0x29fa30['plugins'][_0x5629('0x0')](_0x5629('0x9'))[_0x5629('0xa')](_0x5629('0x5'));const _0x304b91=_0x29fa30[_0x5629('0x6')][_0x5629('0x0')](_0x5629('0x9')),_0x2023b7=_0x29fa30[_0x5629('0x2')];_0x304b91[_0x5629('0x1')][_0x5629('0x3')](_0x5629('0x8'),_0x20f8d6=>_0x36a20f(_0x2023b7,_0x5629('0x4'),_0x20f8d6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3063=['pluginName','TrackChangesTableProperties','formatBlock','table','tableCellPadding','getSuggestionCallback','model','start','tableWidth','tableHeight','has','change','setAttribute','accept','TableUtils','tableCellVerticalAlignment','discard','commandParams','TrackChangesEditing','*Format:*\x20change\x20table\x20properties','tableCellProperties','handleDiscardAction','removeAttribute','nodeAfter','getContainedElement','_handlePropertyChange','getAttribute','format','document','tableCellBorderColor','registerCustomCallback','tableCellHeight','tableBorderStyle','tableCellBackgroundColor','tableProperties','getFirstPosition','enqueueChange','_descriptionFactory','_suggestionFactory','tableCellBorderStyle','get','handleSuggestionDescription','tableCellBorderWidth','TablePropertiesEditing','findAncestor','tableCellHorizontalAlignment','subType','*Format:*\x20change\x20table\x20cell\x20properties','locale','editor','tableBorderColor','plugins','selection','tableAlignment','afterInit','registerDescriptionCallback'];(function(_0x20cf58,_0x3063c1){const _0x52eeb8=function(_0x24c5d8){while(--_0x24c5d8){_0x20cf58['push'](_0x20cf58['shift']());}};_0x52eeb8(++_0x3063c1);}(_0x3063,0xed));const _0x52ee=function(_0x20cf58,_0x3063c1){_0x20cf58=_0x20cf58-0x0;let _0x52eeb8=_0x3063[_0x20cf58];return _0x52eeb8;};import{Plugin as _0x5bf7b5}from'ckeditor5/src/core';import{getTranslation as _0x36b50e}from'../utils/common-translations';export default class Ct extends _0x5bf7b5{constructor(_0x514921){super(_0x514921),this[_0x52ee('0x15')]=[_0x52ee('0x25'),_0x52ee('0x13'),'tableBorderWidth',_0x52ee('0x28'),_0x52ee('0x33'),_0x52ee('0x34'),'tableBackgroundColor'],this[_0x52ee('0x7')]=[_0x52ee('0x10'),_0x52ee('0x1a'),_0x52ee('0x1d'),_0x52ee('0x2f'),'tableCellWidth',_0x52ee('0x12'),_0x52ee('0x14'),_0x52ee('0x20'),_0x52ee('0x2')];}static get[_0x52ee('0x2b')](){return _0x52ee('0x2c');}[_0x52ee('0x29')](){const _0x2ece5a=this[_0x52ee('0x24')]['plugins'][_0x52ee('0x1b')](_0x52ee('0x5'));if(this['editor'][_0x52ee('0x26')][_0x52ee('0x35')](_0x52ee('0x1e'))){for(const _0x1da423 of this['tableProperties'])_0x2ece5a['enableCommand'](_0x1da423,(_0x6b13cd,_0x390c8f)=>{const _0x3c5f74=this[_0x52ee('0x24')][_0x52ee('0x31')]['document']['selection'][_0x52ee('0x16')]()[_0x52ee('0x1f')](_0x52ee('0x2e'));this[_0x52ee('0xc')](_0x1da423,[_0x3c5f74],this[_0x52ee('0x15')],'tableProperties',_0x6b13cd,_0x390c8f);});_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x11')](_0x52ee('0x2d'),'tableProperties',_0x52ee('0x0'),_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x30')](_0x52ee('0x2d'),null,'discard')),_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x11')](_0x52ee('0x2d'),_0x52ee('0x15'),'discard',(_0x3d0d14,_0x41f423)=>this[_0x52ee('0x8')](this[_0x52ee('0x15')],_0x3d0d14,_0x41f423)),_0x2ece5a['_suggestionFactory'][_0x52ee('0x11')](_0x52ee('0x2d'),'tableProperties','join',()=>!0x1);}if(this[_0x52ee('0x24')]['plugins'][_0x52ee('0x35')]('TableCellPropertiesEditing')){for(const _0x4cadda of this[_0x52ee('0x7')])_0x2ece5a['enableCommand'](_0x4cadda,(_0x1a3f05,_0x276d2c)=>{const _0x540571=this[_0x52ee('0x24')][_0x52ee('0x26')][_0x52ee('0x1b')](_0x52ee('0x1'))['getSelectionAffectedTableCells'](this[_0x52ee('0x24')][_0x52ee('0x31')][_0x52ee('0xf')][_0x52ee('0x27')]);this[_0x52ee('0xc')](_0x4cadda,_0x540571,this[_0x52ee('0x7')],_0x52ee('0x7'),_0x1a3f05,_0x276d2c);});_0x2ece5a['_suggestionFactory'][_0x52ee('0x11')](_0x52ee('0x2d'),'tableCellProperties',_0x52ee('0x0'),_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x30')]('formatBlock',null,_0x52ee('0x3'))),_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x11')](_0x52ee('0x2d'),_0x52ee('0x7'),_0x52ee('0x3'),(_0x361d09,_0x23d402)=>this[_0x52ee('0x8')](this[_0x52ee('0x7')],_0x361d09,_0x23d402)),_0x2ece5a[_0x52ee('0x19')][_0x52ee('0x11')](_0x52ee('0x2d'),_0x52ee('0x7'),'join',()=>!0x1);}_0x2ece5a[_0x52ee('0x18')][_0x52ee('0x2a')](_0x458318=>this[_0x52ee('0x1c')](_0x458318));}[_0x52ee('0xc')](_0x21a96f,_0x31daa5,_0x56a930,_0x4212a5,_0x5a0c11,_0x5c15de){const _0x3088de=this[_0x52ee('0x24')][_0x52ee('0x26')][_0x52ee('0x1b')](_0x52ee('0x5'));this['editor'][_0x52ee('0x31')][_0x52ee('0x17')](_0x5c15de['batch'],()=>{for(const _0x49a491 of _0x31daa5){if(this['_getSuggestion'](_0x49a491,_0x4212a5))_0x5a0c11(_0x5c15de);else{const _0x1d12c8={};for(const _0x3a398d of _0x56a930){const _0x520ef3=_0x49a491[_0x52ee('0xd')](_0x3a398d);void 0x0!==_0x520ef3&&(_0x1d12c8[_0x3a398d]=_0x520ef3);}_0x5a0c11(_0x5c15de),_0x3088de['markBlockFormat'](_0x49a491,{'commandParams':[_0x1d12c8]},[],_0x4212a5);}}});}['handleDiscardAction'](_0x2c42df,_0x4e1a99,_0x2b5367){const _0x49aad8=_0x4e1a99[0x0][_0x52ee('0x32')][_0x52ee('0xa')],_0x56287f=_0x2b5367[_0x52ee('0x4')][0x0];this['editor'][_0x52ee('0x31')][_0x52ee('0x36')](_0x521bbf=>{for(const _0x1685e4 of _0x2c42df)void 0x0!==_0x56287f[_0x1685e4]?_0x521bbf[_0x52ee('0x37')](_0x1685e4,_0x56287f[_0x1685e4],_0x49aad8):_0x521bbf[_0x52ee('0x9')](_0x1685e4,_0x49aad8);});}[_0x52ee('0x1c')](_0x592c12){if(_0x592c12['data'])switch(_0x592c12[_0x52ee('0x21')]){case'tableProperties':return{'type':_0x52ee('0xe'),'content':_0x36b50e(this[_0x52ee('0x24')][_0x52ee('0x23')],_0x52ee('0x6'))};case _0x52ee('0x7'):return{'type':_0x52ee('0xe'),'content':_0x36b50e(this[_0x52ee('0x24')][_0x52ee('0x23')],_0x52ee('0x22'))};}}['_getSuggestion'](_0x17080e,_0x41e9b1){const _0x2cca71=this[_0x52ee('0x24')]['plugins'][_0x52ee('0x1b')]('TrackChangesEditing');for(const _0xc2ea3a of _0x2cca71['getSuggestions']({'skipNotAttached':!0x0})){const _0x14a585=_0xc2ea3a[_0x52ee('0xb')]();if(_0xc2ea3a[_0x52ee('0x21')]===_0x41e9b1&&_0x14a585===_0x17080e)return _0xc2ea3a;}return null;}}
23
+ const _0x2ace=['join','tableCellPadding','data','tableCellHorizontalAlignment','_descriptionFactory','registerCustomCallback','handleSuggestionDescription','afterInit','tableCellWidth','has','tableBackgroundColor','getSuggestions','model','plugins','tableProperties','TablePropertiesEditing','tableBorderColor','tableCellBorderStyle','accept','subType','formatBlock','tableAlignment','_getSuggestion','enableCommand','tableCellBorderColor','tableCellBorderWidth','nodeAfter','tableWidth','start','_handlePropertyChange','selection','get','TrackChangesEditing','*Format:*\x20change\x20table\x20cell\x20properties','change','discard','markBlockFormat','getFirstPosition','getSuggestionCallback','batch','editor','tableCellProperties','tableCellHeight','*Format:*\x20change\x20table\x20properties','tableHeight','TableCellPropertiesEditing','_suggestionFactory','handleDiscardAction','TrackChangesTableProperties','getAttribute','tableCellBackgroundColor','registerDescriptionCallback','setAttribute','tableBorderStyle','locale','document','format'];(function(_0x56ccf4,_0x2ace00){const _0x1e0133=function(_0xf493b1){while(--_0xf493b1){_0x56ccf4['push'](_0x56ccf4['shift']());}};_0x1e0133(++_0x2ace00);}(_0x2ace,0x1d0));const _0x1e01=function(_0x56ccf4,_0x2ace00){_0x56ccf4=_0x56ccf4-0x0;let _0x1e0133=_0x2ace[_0x56ccf4];return _0x1e0133;};import{Plugin as _0x5791ce}from'ckeditor5/src/core';import{getTranslation as _0x23d573}from'../utils/common-translations';export default class Ct extends _0x5791ce{constructor(_0x1bead9){super(_0x1bead9),this['tableProperties']=[_0x1e01('0x8'),_0x1e01('0x2d'),'tableBorderWidth',_0x1e01('0xd'),_0x1e01('0x13'),_0x1e01('0x24'),_0x1e01('0x2')],this['tableCellProperties']=[_0x1e01('0x10'),_0x1e01('0x9'),_0x1e01('0x11'),_0x1e01('0x32'),_0x1e01('0x0'),_0x1e01('0x22'),_0x1e01('0x2a'),_0x1e01('0x34'),'tableCellVerticalAlignment'];}static get['pluginName'](){return _0x1e01('0x28');}[_0x1e01('0x38')](){const _0x4d37e4=this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));if(this['editor'][_0x1e01('0x5')][_0x1e01('0x1')](_0x1e01('0x7'))){for(const _0x171378 of this['tableProperties'])_0x4d37e4[_0x1e01('0xf')](_0x171378,(_0x1857a7,_0x359ec7)=>{const _0x1600d0=this[_0x1e01('0x20')][_0x1e01('0x4')][_0x1e01('0x2f')][_0x1e01('0x16')][_0x1e01('0x1d')]()['findAncestor']('table');this['_handlePropertyChange'](_0x171378,[_0x1600d0],this[_0x1e01('0x6')],_0x1e01('0x6'),_0x1857a7,_0x359ec7);});_0x4d37e4[_0x1e01('0x26')]['registerCustomCallback'](_0x1e01('0xc'),_0x1e01('0x6'),_0x1e01('0xa'),_0x4d37e4['_suggestionFactory'][_0x1e01('0x1e')](_0x1e01('0xc'),null,_0x1e01('0x1b'))),_0x4d37e4[_0x1e01('0x26')]['registerCustomCallback'](_0x1e01('0xc'),'tableProperties',_0x1e01('0x1b'),(_0x2073ae,_0x24b8aa)=>this[_0x1e01('0x27')](this['tableProperties'],_0x2073ae,_0x24b8aa)),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),'tableProperties',_0x1e01('0x31'),()=>!0x1);}if(this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x1')](_0x1e01('0x25'))){for(const _0x4c51d6 of this[_0x1e01('0x21')])_0x4d37e4[_0x1e01('0xf')](_0x4c51d6,(_0x389088,_0x4d16c9)=>{const _0x56c785=this['editor'][_0x1e01('0x5')][_0x1e01('0x17')]('TableUtils')['getSelectionAffectedTableCells'](this[_0x1e01('0x20')][_0x1e01('0x4')]['document']['selection']);this['_handlePropertyChange'](_0x4c51d6,_0x56c785,this[_0x1e01('0x21')],_0x1e01('0x21'),_0x389088,_0x4d16c9);});_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),'accept',_0x4d37e4['_suggestionFactory']['getSuggestionCallback'](_0x1e01('0xc'),null,_0x1e01('0x1b'))),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),_0x1e01('0x1b'),(_0xec97dd,_0x4091a9)=>this[_0x1e01('0x27')](this[_0x1e01('0x21')],_0xec97dd,_0x4091a9)),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),_0x1e01('0x31'),()=>!0x1);}_0x4d37e4[_0x1e01('0x35')][_0x1e01('0x2b')](_0x3540d6=>this['handleSuggestionDescription'](_0x3540d6));}[_0x1e01('0x15')](_0x7a8fe9,_0x55d44a,_0x58ffd8,_0xea0e60,_0xe5b03f,_0x3c05c1){const _0x165da3=this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));this['editor']['model']['enqueueChange'](_0x3c05c1[_0x1e01('0x1f')],()=>{for(const _0x25f3dd of _0x55d44a){if(this[_0x1e01('0xe')](_0x25f3dd,_0xea0e60))_0xe5b03f(_0x3c05c1);else{const _0x12531f={};for(const _0x377a05 of _0x58ffd8){const _0x37ea02=_0x25f3dd[_0x1e01('0x29')](_0x377a05);void 0x0!==_0x37ea02&&(_0x12531f[_0x377a05]=_0x37ea02);}_0xe5b03f(_0x3c05c1),_0x165da3[_0x1e01('0x1c')](_0x25f3dd,{'commandParams':[_0x12531f]},[],_0xea0e60);}}});}[_0x1e01('0x27')](_0x2ed1a5,_0x433a50,_0x1c1ca3){const _0xccf360=_0x433a50[0x0][_0x1e01('0x14')][_0x1e01('0x12')],_0xea5894=_0x1c1ca3['commandParams'][0x0];this[_0x1e01('0x20')]['model'][_0x1e01('0x1a')](_0x11b31c=>{for(const _0x9f50a7 of _0x2ed1a5)void 0x0!==_0xea5894[_0x9f50a7]?_0x11b31c[_0x1e01('0x2c')](_0x9f50a7,_0xea5894[_0x9f50a7],_0xccf360):_0x11b31c['removeAttribute'](_0x9f50a7,_0xccf360);});}[_0x1e01('0x37')](_0x52b9a3){if(_0x52b9a3[_0x1e01('0x33')])switch(_0x52b9a3[_0x1e01('0xb')]){case _0x1e01('0x6'):return{'type':_0x1e01('0x30'),'content':_0x23d573(this[_0x1e01('0x20')][_0x1e01('0x2e')],_0x1e01('0x23'))};case _0x1e01('0x21'):return{'type':_0x1e01('0x30'),'content':_0x23d573(this[_0x1e01('0x20')][_0x1e01('0x2e')],_0x1e01('0x19'))};}}[_0x1e01('0xe')](_0x41324b,_0x4d7d1d){const _0x1ab310=this['editor'][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));for(const _0x24ca10 of _0x1ab310[_0x1e01('0x3')]({'skipNotAttached':!0x0})){const _0x1573e7=_0x24ca10['getContainedElement']();if(_0x24ca10[_0x1e01('0xb')]===_0x4d7d1d&&_0x1573e7===_0x41324b)return _0x24ca10;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbe97=['Template','TrackChangesEditing','editor','plugins','afterInit','has','get','insertTemplate'];(function(_0x5dde4a,_0xbe97c0){const _0xc8b5c9=function(_0x341220){while(--_0x341220){_0x5dde4a['push'](_0x5dde4a['shift']());}};_0xc8b5c9(++_0xbe97c0);}(_0xbe97,0x1ee));const _0xc8b5=function(_0x5dde4a,_0xbe97c0){_0x5dde4a=_0x5dde4a-0x0;let _0xc8b5c9=_0xbe97[_0x5dde4a];return _0xc8b5c9;};import{Plugin as _0x5f0dbb}from'ckeditor5/src/core';export default class yt extends _0x5f0dbb{[_0xc8b5('0x6')](){const _0x13a190=this[_0xc8b5('0x4')];_0x13a190[_0xc8b5('0x5')][_0xc8b5('0x7')](_0xc8b5('0x2'))&&_0x13a190[_0xc8b5('0x5')][_0xc8b5('0x0')](_0xc8b5('0x3'))['enableCommand'](_0xc8b5('0x1'));}}
23
+ const _0x5e36=['plugins','insertTemplate','TrackChangesEditing','has','Template'];(function(_0xd2db7a,_0x5e366a){const _0x22bc9e=function(_0x423662){while(--_0x423662){_0xd2db7a['push'](_0xd2db7a['shift']());}};_0x22bc9e(++_0x5e366a);}(_0x5e36,0x9b));const _0x22bc=function(_0xd2db7a,_0x5e366a){_0xd2db7a=_0xd2db7a-0x0;let _0x22bc9e=_0x5e36[_0xd2db7a];return _0x22bc9e;};import{Plugin as _0x3f8cfe}from'ckeditor5/src/core';export default class yt extends _0x3f8cfe{['afterInit'](){const _0x590e01=this['editor'];_0x590e01[_0x22bc('0x0')][_0x22bc('0x3')](_0x22bc('0x4'))&&_0x590e01[_0x22bc('0x0')]['get'](_0x22bc('0x2'))['enableCommand'](_0x22bc('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a49=['isEqual','getNearestSelectionRange','editor','plugins','removeMarker','differ','start','get','updateMarker','has','nodeBefore','newRange','registerElementLabel','end','isTouching','model','schema','Title','TrackChangesEditing','registerPostFixer','_splitMarkerName','document','suggestion','createRange','locale','ELEMENT_TITLE','element'];(function(_0x567b4c,_0x5a49a9){const _0x356001=function(_0x4c6a5b){while(--_0x4c6a5b){_0x567b4c['push'](_0x567b4c['shift']());}};_0x356001(++_0x5a49a9);}(_0x5a49,0x1cf));const _0x3560=function(_0x567b4c,_0x5a49a9){_0x567b4c=_0x567b4c-0x0;let _0x356001=_0x5a49[_0x567b4c];return _0x356001;};import{Plugin as _0xecc76}from'ckeditor5/src/core';import{getTranslation as _0x1515b8}from'../utils/common-translations';export default class St extends _0xecc76{['afterInit'](){const _0x305b3b=this[_0x3560('0x19')];if(!_0x305b3b[_0x3560('0x1a')][_0x3560('0x5')](_0x3560('0xd')))return;const _0x41719f=_0x305b3b[_0x3560('0x1a')][_0x3560('0x3')](_0x3560('0xe'));_0x41719f['_descriptionFactory'][_0x3560('0x8')]('title-content',()=>_0x1515b8(_0x305b3b[_0x3560('0x14')],_0x3560('0x15'))),_0x305b3b[_0x3560('0xb')][_0x3560('0x11')][_0x3560('0xf')](_0x556769=>{let _0x155629=!0x1;const _0x55e5f1=Array['from'](_0x305b3b[_0x3560('0xb')]['document'][_0x3560('0x1')]['getChangedMarkers']());for(const {name:_0x933247,data:_0x4c6c82}of _0x55e5f1){const {group:_0x13d288}=_0x41719f[_0x3560('0x10')](_0x933247);if(_0x3560('0x12')!==_0x13d288||!_0x4c6c82['newRange'])continue;const _0xc02550=_0x4c6c82[_0x3560('0x7')],_0x28c4f9=_0xc02550[_0x3560('0x9')][_0x3560('0x6')];if(!_0x28c4f9||!_0x28c4f9['is'](_0x3560('0x16'),'title-content'))continue;if(!_0xc02550[_0x3560('0x2')][_0x3560('0xa')](_0xc02550[_0x3560('0x9')]))continue;const _0x132928=_0x305b3b[_0x3560('0xb')][_0x3560('0xc')][_0x3560('0x18')](_0xc02550[_0x3560('0x9')],'forward');if(_0x132928&&_0x132928['isCollapsed']){const _0x43836c=_0x556769[_0x3560('0x13')](_0xc02550['start'],_0x132928['start']);_0x43836c[_0x3560('0x17')](_0xc02550)||(_0x556769[_0x3560('0x4')](_0x933247,{'range':_0x43836c}),_0x155629=!0x0);}_0x155629||(_0x556769[_0x3560('0x0')](_0x933247),_0x155629=!0x0);}return _0x155629;});}}
23
+ const _0x35b6=['afterInit','_splitMarkerName','removeMarker','model','updateMarker','element','editor','schema','start','nodeBefore','_descriptionFactory','document','ELEMENT_TITLE','plugins','newRange','Title','createRange','from','has','locale','registerPostFixer','isEqual','suggestion','title-content','get','forward','differ'];(function(_0x361a18,_0x35b6d9){const _0x4e4d1a=function(_0x48703f){while(--_0x48703f){_0x361a18['push'](_0x361a18['shift']());}};_0x4e4d1a(++_0x35b6d9);}(_0x35b6,0x147));const _0x4e4d=function(_0x361a18,_0x35b6d9){_0x361a18=_0x361a18-0x0;let _0x4e4d1a=_0x35b6[_0x361a18];return _0x4e4d1a;};import{Plugin as _0x179ce7}from'ckeditor5/src/core';import{getTranslation as _0x561296}from'../utils/common-translations';export default class St extends _0x179ce7{[_0x4e4d('0x18')](){const _0x11d5be=this[_0x4e4d('0x3')];if(!_0x11d5be[_0x4e4d('0xa')][_0x4e4d('0xf')](_0x4e4d('0xc')))return;const _0x12d84e=_0x11d5be[_0x4e4d('0xa')][_0x4e4d('0x15')]('TrackChangesEditing');_0x12d84e[_0x4e4d('0x7')]['registerElementLabel']('title-content',()=>_0x561296(_0x11d5be[_0x4e4d('0x10')],_0x4e4d('0x9'))),_0x11d5be[_0x4e4d('0x0')][_0x4e4d('0x8')][_0x4e4d('0x11')](_0x2e1d7=>{let _0x2af18e=!0x1;const _0xec4aa3=Array[_0x4e4d('0xe')](_0x11d5be['model'][_0x4e4d('0x8')][_0x4e4d('0x17')]['getChangedMarkers']());for(const {name:_0x1d232d,data:_0x5f2103}of _0xec4aa3){const {group:_0x2d90cf}=_0x12d84e[_0x4e4d('0x19')](_0x1d232d);if(_0x4e4d('0x13')!==_0x2d90cf||!_0x5f2103[_0x4e4d('0xb')])continue;const _0x4cc83f=_0x5f2103['newRange'],_0x4d0734=_0x4cc83f['end'][_0x4e4d('0x6')];if(!_0x4d0734||!_0x4d0734['is'](_0x4e4d('0x2'),_0x4e4d('0x14')))continue;if(!_0x4cc83f['start']['isTouching'](_0x4cc83f['end']))continue;const _0x149fe5=_0x11d5be['model'][_0x4e4d('0x4')]['getNearestSelectionRange'](_0x4cc83f['end'],_0x4e4d('0x16'));if(_0x149fe5&&_0x149fe5['isCollapsed']){const _0x5b082f=_0x2e1d7[_0x4e4d('0xd')](_0x4cc83f[_0x4e4d('0x5')],_0x149fe5[_0x4e4d('0x5')]);_0x5b082f[_0x4e4d('0x12')](_0x4cc83f)||(_0x2e1d7[_0x4e4d('0x1')](_0x1d232d,{'range':_0x5b082f}),_0x2af18e=!0x0);}_0x2af18e||(_0x2e1d7[_0x4e4d('0x1a')](_0x1d232d),_0x2af18e=!0x0);}return _0x2af18e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2abe=['enableCommand','get','plugins','editor','has','UndoEditing','redo','TrackChangesEditing'];(function(_0x1d2619,_0x2abe7b){const _0x41d0a9=function(_0x4fe26b){while(--_0x4fe26b){_0x1d2619['push'](_0x1d2619['shift']());}};_0x41d0a9(++_0x2abe7b);}(_0x2abe,0xde));const _0x41d0=function(_0x1d2619,_0x2abe7b){_0x1d2619=_0x1d2619-0x0;let _0x41d0a9=_0x2abe[_0x1d2619];return _0x41d0a9;};import{Plugin as _0x4c5396}from'ckeditor5/src/core';export default class It extends _0x4c5396{['afterInit'](){const _0x175ae3=this[_0x41d0('0x5')],_0x119380=_0x175ae3[_0x41d0('0x4')][_0x41d0('0x3')](_0x41d0('0x1'));_0x175ae3['plugins'][_0x41d0('0x6')](_0x41d0('0x7'))&&(_0x119380[_0x41d0('0x2')]('undo'),_0x119380['enableCommand'](_0x41d0('0x0')));}}
23
+ const _0x1268=['enableCommand','get','redo','has','undo','plugins','editor'];(function(_0x489973,_0x126862){const _0x3c2ad1=function(_0x475c18){while(--_0x475c18){_0x489973['push'](_0x489973['shift']());}};_0x3c2ad1(++_0x126862);}(_0x1268,0x195));const _0x3c2a=function(_0x489973,_0x126862){_0x489973=_0x489973-0x0;let _0x3c2ad1=_0x1268[_0x489973];return _0x3c2ad1;};import{Plugin as _0x34d6d5}from'ckeditor5/src/core';export default class It extends _0x34d6d5{['afterInit'](){const _0x3fb923=this[_0x3c2a('0x0')],_0x21d873=_0x3fb923[_0x3c2a('0x6')][_0x3c2a('0x2')]('TrackChangesEditing');_0x3fb923[_0x3c2a('0x6')][_0x3c2a('0x4')]('UndoEditing')&&(_0x21d873[_0x3c2a('0x1')](_0x3c2a('0x5')),_0x21d873[_0x3c2a('0x1')](_0x3c2a('0x3')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50de=['markerName','bindElementToMarker','listItem','createUIElement','test','activeMarkers','mapper','writer','previousPosition','schema','TrackChangesEditing','nextSibling','addClass','getItems','item','isAtEnd','plugins','hasAttribute','listIndent','ck-suggestion-marker-','start','parent','getAttribute','markerRange','get','includes','type','isLimit','consumable','element','getCustomProperty'];(function(_0xb7e5e8,_0x50deb8){const _0x131e24=function(_0x4449dc){while(--_0x4449dc){_0xb7e5e8['push'](_0xb7e5e8['shift']());}};_0x131e24(++_0x50deb8);}(_0x50de,0x94));const _0x131e=function(_0xb7e5e8,_0x50deb8){_0xb7e5e8=_0xb7e5e8-0x0;let _0x131e24=_0x50de[_0xb7e5e8];return _0x131e24;};export function getRangesWithAttribute(_0x8225f1,_0x3bafc9,_0x5bd5bd){const _0x399332=[];for(const _0x1d9441 of _0x3bafc9[_0x131e('0x14')]())_0x1d9441[_0x131e('0x18')](_0x8225f1)&&_0x399332['push'](_0x5bd5bd['createRangeOn'](_0x1d9441));return _0x399332;}export function getElementsAffectedByListItemRename(_0x1e537f){const _0xc79668=[];if(_0x1e537f['is'](_0x131e('0x5'),_0x131e('0x9'))){let _0x7ad8df=_0x1e537f[_0x131e('0x12')];for(;_0x7ad8df&&_0x7ad8df['is'](_0x131e('0x5'),_0x131e('0x9'))&&_0x7ad8df[_0x131e('0x1d')](_0x131e('0x19'))>0x0;)_0xc79668['push'](_0x7ad8df),_0x7ad8df=_0x7ad8df[_0x131e('0x12')];}return _0xc79668;}export function downcastSplitMergeMarker(_0x37f045,_0x3fddad,{showActiveMarker:_0x29e24f=!0x0}={}){const _0x1160ce=_0x37f045[_0x131e('0x17')][_0x131e('0x0')](_0x131e('0x11'));return(_0x43d799,_0x24d69c,_0xc8c7c2)=>{if(!_0xc8c7c2[_0x131e('0x4')][_0x131e('0xb')](_0x24d69c[_0x131e('0x1e')],_0x43d799['name']))return;const _0x535d69=_0x24d69c['markerRange']['getWalker'](),_0x32a076=_0x24d69c[_0x131e('0x1e')][_0x131e('0x1b')],_0x5c5c51=_0x37f045['model'][_0x131e('0x10')];let _0x16fd5f=null,_0x1661f1=null,_0x43ab4e=!0x1,_0x39630b=!0x1;for(const _0x359cb4 of _0x535d69){const _0x3c20ff=_0x359cb4[_0x131e('0x15')];_0x43ab4e=_0x43ab4e||_0x5c5c51['isContent'](_0x3c20ff);const _0x3d7e00=_0xc8c7c2['mapper']['toViewElement'](_0x3c20ff);if(_0x3d7e00&&_0x3d7e00[_0x131e('0x6')]('addHighlight'))return;'elementEnd'==_0x359cb4[_0x131e('0x2')]&&(_0x5c5c51['isBlock'](_0x3c20ff)&&!_0x5c5c51[_0x131e('0x3')](_0x3c20ff)&&(_0x3c20ff[_0x131e('0x12')]||_0x32a076[_0x131e('0x16')]?_0x16fd5f&&_0x16fd5f[_0x131e('0x1c')]==_0x3c20ff||(_0x16fd5f=_0x3c20ff,_0x304e3b(_0x359cb4[_0x131e('0xf')]),_0x39630b=!0x0):_0x1661f1=_0x1661f1||_0x359cb4[_0x131e('0xf')]));}function _0x304e3b(_0xb86039){const _0x117a5b=_0xc8c7c2[_0x131e('0xe')][_0x131e('0xa')]('span',{'class':_0x131e('0x1a')+_0x3fddad}),_0x5b4610=_0xc8c7c2[_0x131e('0xd')]['toViewPosition'](_0xb86039);_0x29e24f&&_0x1160ce[_0x131e('0xc')][_0x131e('0x1')](_0x24d69c[_0x131e('0x7')])&&_0xc8c7c2[_0x131e('0xe')][_0x131e('0x13')]('ck-suggestion-marker--active',_0x117a5b),_0xc8c7c2['writer']['insert'](_0x5b4610,_0x117a5b),_0xc8c7c2[_0x131e('0xd')][_0x131e('0x8')](_0x117a5b,_0x24d69c[_0x131e('0x7')]);}_0x43ab4e||_0x39630b||!_0x1661f1||_0x304e3b(_0x1661f1);};}
23
+ const _0x28ef=['isAtEnd','push','isLimit','parent','getWalker','nextSibling','includes','writer','getCustomProperty','test','markerRange','insert','plugins','mapper','getItems','previousPosition','span','toViewElement','listItem','type','element','get','model','elementEnd','ck-suggestion-marker-','name','markerName','addClass','start','activeMarkers','bindElementToMarker','consumable','getAttribute','ck-suggestion-marker--active','item','isContent'];(function(_0x3b0cdd,_0x28ef4e){const _0x2b7477=function(_0x52aef3){while(--_0x52aef3){_0x3b0cdd['push'](_0x3b0cdd['shift']());}};_0x2b7477(++_0x28ef4e);}(_0x28ef,0x15c));const _0x2b74=function(_0x3b0cdd,_0x28ef4e){_0x3b0cdd=_0x3b0cdd-0x0;let _0x2b7477=_0x28ef[_0x3b0cdd];return _0x2b7477;};export function getRangesWithAttribute(_0x1babee,_0x99128,_0x1c2dd6){const _0x4a60a5=[];for(const _0xbf2200 of _0x99128[_0x2b74('0x1a')]())_0xbf2200['hasAttribute'](_0x1babee)&&_0x4a60a5[_0x2b74('0xd')](_0x1c2dd6['createRangeOn'](_0xbf2200));return _0x4a60a5;}export function getElementsAffectedByListItemRename(_0x2f5ed9){const _0x1d22ca=[];if(_0x2f5ed9['is'](_0x2b74('0x20'),_0x2b74('0x1e'))){let _0x1846cb=_0x2f5ed9[_0x2b74('0x11')];for(;_0x1846cb&&_0x1846cb['is'](_0x2b74('0x20'),_0x2b74('0x1e'))&&_0x1846cb[_0x2b74('0x8')]('listIndent')>0x0;)_0x1d22ca[_0x2b74('0xd')](_0x1846cb),_0x1846cb=_0x1846cb[_0x2b74('0x11')];}return _0x1d22ca;}export function downcastSplitMergeMarker(_0x3fa3f6,_0x5b7680,{showActiveMarker:_0x300b5c=!0x0}={}){const _0x319c92=_0x3fa3f6[_0x2b74('0x18')][_0x2b74('0x21')]('TrackChangesEditing');return(_0x18ca80,_0x136fdc,_0x73b435)=>{if(!_0x73b435[_0x2b74('0x7')][_0x2b74('0x15')](_0x136fdc[_0x2b74('0x16')],_0x18ca80[_0x2b74('0x1')]))return;const _0x38f7f6=_0x136fdc[_0x2b74('0x16')][_0x2b74('0x10')](),_0xa1d319=_0x136fdc[_0x2b74('0x16')][_0x2b74('0x4')],_0x11e8a1=_0x3fa3f6[_0x2b74('0x22')]['schema'];let _0x204508=null,_0x1ff3e8=null,_0xfc0201=!0x1,_0x337fb9=!0x1;for(const _0x53fb81 of _0x38f7f6){const _0x195efc=_0x53fb81[_0x2b74('0xa')];_0xfc0201=_0xfc0201||_0x11e8a1[_0x2b74('0xb')](_0x195efc);const _0x4f76f0=_0x73b435[_0x2b74('0x19')][_0x2b74('0x1d')](_0x195efc);if(_0x4f76f0&&_0x4f76f0[_0x2b74('0x14')]('addHighlight'))return;_0x2b74('0x23')==_0x53fb81[_0x2b74('0x1f')]&&(_0x11e8a1['isBlock'](_0x195efc)&&!_0x11e8a1[_0x2b74('0xe')](_0x195efc)&&(_0x195efc[_0x2b74('0x11')]||_0xa1d319[_0x2b74('0xc')]?_0x204508&&_0x204508[_0x2b74('0xf')]==_0x195efc||(_0x204508=_0x195efc,_0x313407(_0x53fb81[_0x2b74('0x1b')]),_0x337fb9=!0x0):_0x1ff3e8=_0x1ff3e8||_0x53fb81[_0x2b74('0x1b')]));}function _0x313407(_0x5126ea){const _0x3d8909=_0x73b435[_0x2b74('0x13')]['createUIElement'](_0x2b74('0x1c'),{'class':_0x2b74('0x0')+_0x5b7680}),_0x1745ec=_0x73b435['mapper']['toViewPosition'](_0x5126ea);_0x300b5c&&_0x319c92[_0x2b74('0x5')][_0x2b74('0x12')](_0x136fdc[_0x2b74('0x2')])&&_0x73b435['writer'][_0x2b74('0x3')](_0x2b74('0x9'),_0x3d8909),_0x73b435[_0x2b74('0x13')][_0x2b74('0x17')](_0x1745ec,_0x3d8909),_0x73b435[_0x2b74('0x19')][_0x2b74('0x6')](_0x3d8909,_0x136fdc[_0x2b74('0x2')]);}_0xfc0201||_0x337fb9||!_0x1ff3e8||_0x313407(_0x1ff3e8);};}