@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230816.0 → 0.0.0-nightly-20230818.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 _0x36b4=['end','setAttribute','getSelectionAffectedTableCells','add','row','discard','entries','createRangeIn','push','includes','fill','documentSelection','getItems','_getCoordsForCells','insertion','get','ck-suggestion-marker','rowInsertionIndexes','return','_splitMarkerName','model','suggestion-td','last','_createdBatches','columns','insertionRanges','newRange','getRows','tableCellBorderColor','plugins','differ','getSuggestions','ck-suggestion-marker-insertion','name','unwrap','getSuggestionCallback','tablePasteColumn','activeMarkers','element','findAncestor','suggestionUnloaded','commands','getColumns','registerDescriptionCallback','filter','tablePasteChainId','next','type','tableCellBorderWidth','tableCellSuggestion','paragraph','getContainedElement','ck-suggestion-marker--active','createElement','view','fromEntries','remove','isEqual','markerAttributes','first','move','endRow','high','subType','deletion','insertContent','_isForcedDefaultExecutionBlock','attributes','insert','getAllAdjacentSuggestions','tablePasteRow','createRangeOn','_replaceTableSlotCell','rootName','trackChanges','accept','isEmpty','registerPostFixer','_suggestionFactory','tablePaste','markMultiRangeInsertion','getMarkers','getSuggestion','start','getTableIfOnlyTableInContent','rowInsertionRanges','tableCell','createTableWalker','containsRange','low','position','redo','schema','author','reduce','table','find','join','afterInit','previousSibling','createPositionBefore','removeColumns','markerName','for','register','getChangedMarkers','some','registerCustomCallback','suggestionLoaded','from','insertColumns','change','getRanges','previous','updateMarker','deletionRanges','listenTo','content','every','options','elementToElement','columnInsertionRanges','tableCellHorizontalAlignment','startsWith','cells','TrackChangesEditing','value','setAttributes','document','has','column','Users','showSuggestionHighlights','markerToHighlight','map','isInContent','formatBlock','removeRows','getChildren','requires','tablePasteCell','getRowIndexes','getChild','stop','columnInsertionIndexes','keys','insertRows','suggestion','getShiftedBy','set','getRange','removeMarker','oldRange','markers','length','_tablePostFixingSubtypes','TableClipboard','endColumn','wrap'];(function(_0x3b4c08,_0x36b4a4){const _0xcc8f2b=function(_0x57ac78){while(--_0x57ac78){_0x3b4c08['push'](_0x3b4c08['shift']());}};_0xcc8f2b(++_0x36b4a4);}(_0x36b4,0x15d));const _0xcc8f=function(_0x3b4c08,_0x36b4a4){_0x3b4c08=_0x3b4c08-0x0;let _0xcc8f2b=_0x36b4[_0x3b4c08];return _0xcc8f2b;};import{getTranslation as _0x34a40d}from'../utils/common-translations';import{Plugin as _0x3d7833}from'ckeditor5/src/core';import{uid as _0x308946,priorities as _0x18ed9a}from'ckeditor5/src/utils';import _0x157772 from'./table';const le=[_0xcc8f('0x11'),_0xcc8f('0x9c'),'tableCellBorderStyle',_0xcc8f('0x5b'),'tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x5550e6=>[_0x5550e6,null]));export default class kt extends _0x3d7833{static get[_0xcc8f('0x6c')](){return[_0x157772];}[_0xcc8f('0x43')](){const _0x4c76a5=this['editor'];if(!_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x62')](_0xcc8f('0x7d')))return;const _0x36b1f4=_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')](_0xcc8f('0x5e')),_0x1c6dda=_0x4c76a5[_0xcc8f('0x9d')]['get']('TableUtils'),_0x25d3d1=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0x157772),_0x3e6b21=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x7d'));_0x25d3d1[_0xcc8f('0x7c')][_0xcc8f('0x88')](_0xcc8f('0x27'),_0xcc8f('0x5')),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x3d')][_0xcc8f('0x49')]('tableCellSuggestion',{'allowIn':_0xcc8f('0x37'),'allowContentOf':_0xcc8f('0x37'),'isLimit':!0x0}),_0x4c76a5['conversion'][_0xcc8f('0x59')]({'model':_0xcc8f('0x12'),'view':_0xcc8f('0x95')});let _0xa7158f=null;_0x4c76a5[_0xcc8f('0x94')]['on'](_0xcc8f('0x22'),(_0x488876,_0x5ae0f5)=>{const [_0x2d1862,_0x33f10f]=_0x5ae0f5,_0x345f2d=_0x5ae0f5[_0x5ae0f5[_0xcc8f('0x7b')]-0x1];_0x345f2d&&_0x345f2d['forceDefaultExecution']||_0x36b1f4[_0xcc8f('0x23')]||this['editor'][_0xcc8f('0xa')][_0xcc8f('0x8f')](_0xcc8f('0x2b'))[_0xcc8f('0x5f')]&&function(_0x995551,_0x2e5aa8,_0x47881b,_0x218947,_0x587947){if(_0x2e5aa8&&!_0x2e5aa8['is'](_0xcc8f('0x8b')))return!0x1;const _0x565c45=_0x587947[_0xcc8f('0x35')](_0x995551,_0x47881b);if(!_0x565c45||!fe(_0x565c45,void 0x0,_0x218947))return!0x1;const _0x4011d5=_0x218947[_0xcc8f('0x82')](_0x47881b[_0xcc8f('0x61')]['selection']);if(!_0x4011d5[_0xcc8f('0x7b')])return!0x1;const _0x3f01b7=_0x4011d5[0x0]['findAncestor'](_0xcc8f('0x40')),_0x54c329=_0x218947[_0xcc8f('0x6e')](_0x4011d5),_0x28a199=_0x218947['getColumnIndexes'](_0x4011d5),_0x19ef31={'startRow':_0x54c329[_0xcc8f('0x1c')],'endRow':_0x54c329[_0xcc8f('0x96')],'startColumn':_0x28a199[_0xcc8f('0x1c')],'endColumn':_0x28a199['last']};return 0x1==_0x4011d5['length']&&(_0x19ef31[_0xcc8f('0x1e')]+=_0x218947[_0xcc8f('0x9b')](_0x565c45)-0x1,_0x19ef31[_0xcc8f('0x7e')]+=_0x218947[_0xcc8f('0xb')](_0x565c45)-0x1),fe(_0x3f01b7,_0x19ef31,_0x218947);}(_0x2d1862,_0x33f10f,_0x4c76a5[_0xcc8f('0x94')],_0x1c6dda,_0x3e6b21)&&(_0x488876[_0xcc8f('0x70')](),_0xa7158f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x50')](()=>{_0x4c76a5[_0xcc8f('0x94')]['insertContent'](_0x5ae0f5[0x0],_0x5ae0f5[0x1],_0x5ae0f5[0x2],{'forceDefaultExecution':!0x0});const _0x16b52d=_0x308946(),{rowInsertionRanges:_0x4d4384,columnInsertionRanges:_0x3b08f1,insertionRanges:_0xc0ea40,deletionRanges:_0x26eb30,cells:_0x52abac}=_0xa7158f;_0x4d4384[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0x4d4384,_0xcc8f('0x27'),{'tablePasteChainId':_0x16b52d}),_0x3b08f1[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0x3b08f1,_0xcc8f('0x5'),{'tablePasteChainId':_0x16b52d}),_0xc0ea40[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0xc0ea40,_0xcc8f('0x30'),{'tablePasteChainId':_0x16b52d,'skipNestingCheck':!0x0}),_0x26eb30[_0xcc8f('0x7b')]&&_0x36b1f4['markMultiRangeDeletion'](_0x26eb30,_0xcc8f('0x30'),{'tablePasteChainId':_0x16b52d,'skipNestingCheck':!0x0});const _0x69a947=_0x36b1f4['markMultiRangeBlockFormat'](_0x52abac[_0xcc8f('0x67')](({element:_0x22c14d})=>_0x22c14d),{'formatGroupId':_0x308946()},[],_0xcc8f('0x6d'),{'tablePasteChainId':_0x16b52d});if(_0x69a947){const _0xeda1c8=_0x69a947[_0xcc8f('0x32')](),_0x209468=[];for(const {element:_0x49fb9e,attributes:_0x420e4b}of _0x52abac){if(!_0x420e4b)continue;const _0x33096d=_0x4c76a5['model']['createRangeOn'](_0x49fb9e),_0x11d7fc=_0xeda1c8[_0xcc8f('0x41')](_0x398685=>_0x398685['getRange']()[_0xcc8f('0x1a')](_0x33096d));_0x11d7fc&&_0x209468[_0xcc8f('0x88')]([_0x11d7fc[_0xcc8f('0x2')],_0x420e4b]);}_0x209468[_0xcc8f('0x7b')]&&_0x69a947[_0xcc8f('0x81')](_0xcc8f('0x1b'),Object[_0xcc8f('0x18')](_0x209468));}_0xa7158f=null;}));},{'priority':_0x18ed9a[_0xcc8f('0x1f')]+0xa}),_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')]('TableClipboard')['on'](_0xcc8f('0x29'),(_0x4f38ad,_0x42c9e9)=>{const [_0x5c4282,_0x49f768,,_0x1cda3c]=_0x42c9e9;if(!_0xa7158f)return;_0x4f38ad[_0xcc8f('0x70')]();const _0x55cb73=_0x5c4282['cell'],_0x5a4489=_0x49f768,_0x4d431e=ce(_0x55cb73),_0x56fa4a=ce(_0x5a4489);_0x4f38ad[_0xcc8f('0x92')]=_0x55cb73;let _0x517312=null,_0x377734=null;if(_0x56fa4a||_0x4d431e){if(_0x4d431e&&!_0x56fa4a){_0x1cda3c['remove'](_0x55cb73[_0xcc8f('0x6f')](0x0));for(const _0x264013 of Array['from'](_0x5a4489['getChildren']()))_0x1cda3c[_0xcc8f('0x25')](_0x264013,_0x55cb73,'end');const _0x28cbd5=_0xa7158f[_0xcc8f('0x91')][_0xcc8f('0x89')](_0x5c4282[_0xcc8f('0x84')]),_0x40f5ad=_0xa7158f['columnInsertionIndexes'][_0xcc8f('0x89')](_0x5c4282[_0xcc8f('0x63')]);_0x28cbd5||_0x40f5ad||(_0x517312=_0x1cda3c[_0xcc8f('0x87')](_0x55cb73));}else _0x56fa4a&&!_0x4d431e&&(_0x377734=_0x1cda3c[_0xcc8f('0x87')](_0x55cb73));}else{const _0x47bf52=_0x1cda3c[_0xcc8f('0x16')](_0xcc8f('0x12')),_0xdf2686=_0x1cda3c[_0xcc8f('0x16')](_0xcc8f('0x12'));_0x1cda3c[_0xcc8f('0x7f')](_0x1cda3c[_0xcc8f('0x87')](_0x55cb73),_0xdf2686),_0x1cda3c[_0xcc8f('0x25')](_0x47bf52,_0x55cb73,0x0);for(const _0x854068 of Array[_0xcc8f('0x4e')](_0x5a4489[_0xcc8f('0x6b')]()))_0x1cda3c[_0xcc8f('0x25')](_0x854068,_0x47bf52,_0xcc8f('0x80'));_0x517312=_0x1cda3c[_0xcc8f('0x28')](_0x47bf52),_0x377734=_0x1cda3c['createRangeOn'](_0xdf2686);}const _0x3bb260=Array[_0xcc8f('0x4e')](_0x5a4489['getAttributes']())[_0xcc8f('0xd')](([_0x3c56ee])=>le[_0xcc8f('0x89')](_0x3c56ee));_0xa7158f['cells'][_0xcc8f('0x88')]({'element':_0x55cb73,'attributes':_0x3bb260[_0xcc8f('0x7b')]?Object[_0xcc8f('0x18')](_0x3bb260):null}),_0x517312&&_0xa7158f[_0xcc8f('0x99')]['push'](_0x517312),_0x377734&&_0xa7158f[_0xcc8f('0x54')][_0xcc8f('0x88')](_0x377734);},{'priority':_0xcc8f('0x1f')}),_0x1c6dda['on'](_0xcc8f('0x4f'),(_0x1066db,_0x3fc360)=>{const [_0x3a00a7,_0x1e8a70={}]=_0x3fc360;if(!_0xa7158f)return;const _0x11c890=_0x1e8a70['at']||0x0,_0x3f7b64=_0x1e8a70[_0xcc8f('0x98')]||0x1;_0xa7158f[_0xcc8f('0x71')]=new Array(_0x3f7b64)[_0xcc8f('0x8a')](_0x11c890)[_0xcc8f('0x67')]((_0x153fe9,_0x30ef82)=>_0x153fe9+_0x30ef82);for(const {cell:_0x2fbe8c}of _0x1c6dda[_0xcc8f('0x38')](_0x3a00a7,{'startColumn':_0x11c890,'endColumn':_0x11c890+_0x3f7b64-0x1}))_0xa7158f[_0xcc8f('0x5a')][_0xcc8f('0x88')](_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x28')](_0x2fbe8c));},{'priority':_0xcc8f('0x3a')}),_0x1c6dda['on'](_0xcc8f('0x73'),(_0x51c577,_0x59ce60)=>{const [_0x1f6b31,_0x1b17ed={}]=_0x59ce60;if(!_0xa7158f)return;const _0x5f0c1b=_0x1b17ed['at']||0x0,_0x541a7c=_0x1b17ed['rows']||0x1;_0xa7158f[_0xcc8f('0x91')]=new Array(_0x541a7c)[_0xcc8f('0x8a')](_0x5f0c1b)['map']((_0x317993,_0x1008cc)=>_0x317993+_0x1008cc);for(const {cell:_0x3f4d4e}of _0x1c6dda['createTableWalker'](_0x1f6b31,{'startRow':_0x5f0c1b,'endRow':_0x5f0c1b+_0x541a7c-0x1}))_0xa7158f[_0xcc8f('0x36')]['push'](_0x4c76a5[_0xcc8f('0x94')]['createRangeOn'](_0x3f4d4e));},{'priority':_0xcc8f('0x3a')}),_0x36b1f4['_descriptionFactory'][_0xcc8f('0xc')](_0x3c8a51=>{if(_0x3c8a51[_0xcc8f('0x20')]&&_0x3c8a51[_0xcc8f('0x20')][_0xcc8f('0x5c')]('tablePaste'))return _0x3c8a51[_0xcc8f('0x52')]?{}:{'type':'insertion','content':_0x34a40d(_0x4c76a5['locale'],'*Replace\x20table\x20cells*')};});const _0x53528a=()=>{};for(const _0x1ccb80 of[_0xcc8f('0x30'),_0xcc8f('0x5'),_0xcc8f('0x27'),'tablePasteCell'])_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')]('insertion',_0x1ccb80,_0xcc8f('0x42'),_0x53528a),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')]('deletion',_0x1ccb80,_0xcc8f('0x42'),_0x53528a);_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x69'),_0xcc8f('0x6d'),_0xcc8f('0x85'),_0x53528a),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x69'),_0xcc8f('0x6d'),'accept',(_0x245850,_0x3c571a,_0x104b5c)=>{const _0x1e15fb=_0x245850['map'](_0x26dd0d=>_0x26dd0d[_0xcc8f('0x14')]())[_0xcc8f('0xd')](_0x124af7=>_0x124af7),_0x456f7f=new Map(_0x1e15fb[_0xcc8f('0x67')](_0x50c338=>[_0x50c338,null]));if(_0xa7158f)for(const {element:_0x2ac957,attributes:_0xaa0f30}of _0xa7158f[_0xcc8f('0x5d')])_0xaa0f30&&_0x456f7f['set'](_0x2ac957,_0xaa0f30);else{if(_0x104b5c&&_0x104b5c[_0xcc8f('0x1b')])for(const [_0x27c8ee,_0x3ef5ad]of Object[_0xcc8f('0x86')](_0x104b5c['markerAttributes'])){const _0x22d486=_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x7a')][_0xcc8f('0x8f')](_0x27c8ee),_0x314e1d=_0x22d486?_0x22d486['getRange']()[_0xcc8f('0x14')]():null;_0x314e1d&&_0x456f7f[_0xcc8f('0x76')](_0x314e1d,_0x3ef5ad);}}_0x4c76a5[_0xcc8f('0x94')]['change'](_0x279f4c=>{for(const [_0x4354b3,_0x2bd124]of _0x456f7f)_0x279f4c[_0xcc8f('0x60')]({...ae,..._0x2bd124},_0x4354b3);});});const _0x33f049=(_0x3676f4,_0x2010f0)=>{_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0x3676f4,_0xcc8f('0x30'),_0x2010f0,(_0x332b0b,_0x396e69,_0x1dbd32)=>{_0x4c76a5[_0xcc8f('0x94')]['change'](_0x15175d=>{const _0x2b5e48=[];for(const _0x14f5a7 of _0x332b0b){const _0x41889b=_0x14f5a7[_0xcc8f('0x34')]['nodeAfter'];_0x41889b['is'](_0xcc8f('0x7'),'tableCellSuggestion')&&_0x2b5e48['push'](_0x41889b);}_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4')](_0x3676f4,null,_0x2010f0)(_0x332b0b,_0x396e69,_0x1dbd32);for(const _0x5efab0 of _0x2b5e48)'$graveyard'!=_0x5efab0['root'][_0xcc8f('0x2a')]&&_0x15175d[_0xcc8f('0x3')](_0x5efab0);});});};_0x33f049(_0xcc8f('0x8e'),_0xcc8f('0x2c')),_0x33f049(_0xcc8f('0x8e'),'discard'),_0x33f049(_0xcc8f('0x21'),_0xcc8f('0x2c')),_0x33f049('deletion',_0xcc8f('0x85')),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x8e'),_0xcc8f('0x27'),_0xcc8f('0x85'),_0x3f0101=>{const _0x45be96=_0x3f0101['map'](_0x55cd61=>_0x55cd61[_0xcc8f('0x14')]()),_0x2dabcc=_0x45be96[0x0]['findAncestor'](_0xcc8f('0x40')),{minRow:_0x3c1ec3,maxRow:_0x1af1e7}=_0x25d3d1[_0xcc8f('0x8d')](_0x45be96);_0x1c6dda[_0xcc8f('0x6a')](_0x2dabcc,{'at':_0x3c1ec3,'rows':_0x1af1e7-_0x3c1ec3+0x1});}),_0x36b1f4['_suggestionFactory']['registerCustomCallback'](_0xcc8f('0x8e'),_0xcc8f('0x5'),_0xcc8f('0x85'),_0x3a89c1=>{const _0x4b0fd2=_0x3a89c1[_0xcc8f('0x67')](_0xa4f5b0=>_0xa4f5b0[_0xcc8f('0x14')]()),_0x4f0c72=_0x4b0fd2[0x0][_0xcc8f('0x8')](_0xcc8f('0x40')),{minColumn:_0x3247ba,maxColumn:_0x565c33}=_0x25d3d1[_0xcc8f('0x8d')](_0x4b0fd2);_0x1c6dda[_0xcc8f('0x46')](_0x4f0c72,{'at':_0x3247ba,'columns':_0x565c33-_0x3247ba+0x1});});const _0x484efa=(_0x291641,_0x2b2c7a)=>{if(!_0x2b2c7a[_0xcc8f('0x20')]||!_0x2b2c7a['subType']['startsWith'](_0xcc8f('0x30')))return;const _0x1a2ec8=_0x2b2c7a['attributes'][_0xcc8f('0xe')],_0x49eed7=_0x36b1f4[_0xcc8f('0x0')]()[_0xcc8f('0xd')](_0x4cb1ff=>_0x4cb1ff['isInContent']&&_0x4cb1ff[_0xcc8f('0x24')]&&_0x4cb1ff[_0xcc8f('0x24')][_0xcc8f('0xe')]==_0x1a2ec8);_0x49eed7[_0xcc8f('0x7b')]&&_0x2b2c7a[_0xcc8f('0x26')]()[_0xcc8f('0x7b')]!=_0x49eed7['length']&&_0x49eed7[_0xcc8f('0x3f')]((_0x567e62,_0x29da68)=>(_0x567e62[_0xcc8f('0xf')]=_0x29da68,_0x29da68[_0xcc8f('0x52')]=_0x567e62,_0x29da68));};function _0x4f75a4(_0x53ebcd,_0xdb7960=!0x0){const {id:_0x29503b}=_0x36b1f4[_0xcc8f('0x93')](_0x53ebcd[_0xcc8f('0x47')]),_0x5a1b02=[_0xcc8f('0x90'),_0xcc8f('0x1')],_0x2705b0=_0x36b1f4[_0xcc8f('0x6')]['includes'](_0x53ebcd[_0xcc8f('0x47')]);return _0x2705b0&&_0x5a1b02[_0xcc8f('0x88')](_0xcc8f('0x15')),{'classes':_0x5a1b02,'attributes':{'data-suggestion':_0x29503b},'priority':_0x2705b0&&_0xdb7960?0xbc2:0xbb8};}_0x36b1f4['on'](_0xcc8f('0x4d'),_0x484efa,{'priority':_0xcc8f('0x1f')}),_0x36b1f4['on'](_0xcc8f('0x9'),_0x484efa,{'priority':_0xcc8f('0x1f')}),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')]['registerPostFixer'](()=>{let _0x5d2bda=!0x1;const _0x903e8a=Array[_0xcc8f('0x4e')](_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')][_0xcc8f('0x9e')][_0xcc8f('0x4a')]());for(const {name:_0x55716a,data:_0x3923a5}of _0x903e8a){const {group:_0x1d291d,type:_0x454732,id:_0x3e5423}=_0x36b1f4[_0xcc8f('0x93')](_0x55716a);if(_0xcc8f('0x74')!=_0x1d291d||'deletion'!=_0x454732||_0x3923a5['oldRange'])continue;if(!_0x36b1f4['hasSuggestion'](_0x3e5423))continue;const _0x51a7ed=_0x36b1f4[_0xcc8f('0x33')](_0x3e5423)[_0xcc8f('0x51')](),_0x511246=_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')]('Users')['me'];for(const _0x2c51da of _0x36b1f4[_0xcc8f('0x0')]()){if(!_0x2c51da[_0xcc8f('0x68')]||_0x2c51da[_0xcc8f('0x3e')]!=_0x511246)continue;if(_0xcc8f('0x69')!=_0x2c51da[_0xcc8f('0x10')]||_0xcc8f('0x6d')!=_0x2c51da['subType'])continue;if(_0x2c51da['getRanges']()[_0xcc8f('0x57')](_0x580892=>_0x51a7ed[_0xcc8f('0x4b')](_0x49acc4=>_0x49acc4[_0xcc8f('0x39')](_0x580892,!0x0))))for(const _0x55851e of _0x2c51da[_0xcc8f('0x26')]())_0x55851e[_0xcc8f('0x68')]&&(_0x55851e['discard'](),_0x5d2bda=!0x0);}}return _0x5d2bda;}),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')][_0xcc8f('0x2e')](_0x2c2f33=>{const _0x5b0695=_0x4c76a5[_0xcc8f('0xa')][_0xcc8f('0x8f')](_0xcc8f('0x3c'));if(!_0x5b0695||!_0x5b0695[_0xcc8f('0x97')][_0xcc8f('0x62')](_0x2c2f33['batch']))return!0x1;let _0x30db29=!0x1;const _0x74a11b=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x64'))['me'],_0x5c3e9a=_0x4c76a5['model'][_0xcc8f('0x61')][_0xcc8f('0x9e')]['getChanges'](),_0x41255d=Array[_0xcc8f('0x4e')](_0x4c76a5[_0xcc8f('0x94')]['document'][_0xcc8f('0x9e')]['getChangedMarkers']())[_0xcc8f('0xd')](({name:_0x37bd0d,data:_0x1f3c7c})=>{const {group:_0x3b7add,subType:_0x3fca49,authorId:_0x197428}=_0x36b1f4[_0xcc8f('0x93')](_0x37bd0d);return _0xcc8f('0x74')==_0x3b7add&&_0xcc8f('0x30')==_0x3fca49&&_0x197428==_0x74a11b['id']&&!_0x1f3c7c[_0xcc8f('0x79')];});for(const _0x1a7d98 of _0x5c3e9a){if(_0xcc8f('0x25')!=_0x1a7d98[_0xcc8f('0x10')]||_0xcc8f('0x12')!=_0x1a7d98['name']||0x1!=_0x1a7d98[_0xcc8f('0x7b')])continue;const _0x4ad072=_0x2c2f33['createRange'](_0x1a7d98[_0xcc8f('0x3b')],_0x1a7d98[_0xcc8f('0x3b')][_0xcc8f('0x75')](0x1));if(!_0x41255d[_0xcc8f('0x41')](({data:_0x694413})=>_0x694413[_0xcc8f('0x9a')][_0xcc8f('0x1a')](_0x4ad072)))for(const {name:_0x4cb95c,data:_0x5585fb}of _0x41255d)if(_0x4ad072[_0xcc8f('0x39')](_0x5585fb[_0xcc8f('0x9a')])){_0x2c2f33[_0xcc8f('0x53')](_0x4cb95c,{'range':_0x4ad072}),_0x30db29=!0x0;break;}}return _0x30db29;}),_0x4c76a5[_0xcc8f('0x94')]['document']['registerPostFixer'](_0x54206d=>{let _0x41f781=!0x1;const _0x58b079=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x64'))['me'],_0x408ae7=_0x36b1f4[_0xcc8f('0x0')]()[_0xcc8f('0xd')](_0x30ea25=>_0x30ea25['isInContent']&&_0x30ea25[_0xcc8f('0x3e')]==_0x58b079),_0x1b6eb2=new Set(),_0x2d0c15=new Set();for(const _0x23fefd of _0x408ae7)if('tablePaste'==_0x23fefd[_0xcc8f('0x20')])for(const _0x13cde8 of _0x23fefd[_0xcc8f('0x32')]()){const _0x36b618=_0x13cde8[_0xcc8f('0x77')]()['getContainedElement']();if(_0x36b618){if(_0x36b618['is'](_0xcc8f('0x7'),_0xcc8f('0x12'))&&ce(_0x36b618)){_0x23fefd[_0xcc8f('0x78')](_0x13cde8[_0xcc8f('0x2')]),_0x1b6eb2[_0xcc8f('0x83')](_0x36b618),_0x41f781=!0x0;const _0x117a06=_0x36b618['nextSibling'],_0x543ad0=_0x36b618[_0xcc8f('0x44')],_0x346a63=_0x117a06&&_0x117a06['is'](_0xcc8f('0x7'),'tableCellSuggestion'),_0x4e009=_0x543ad0&&_0x543ad0['is'](_0xcc8f('0x7'),'tableCellSuggestion');_0x346a63&&!_0x1b6eb2[_0xcc8f('0x62')](_0x117a06)&&_0x2d0c15[_0xcc8f('0x83')](_0x117a06),_0x4e009&&!_0x1b6eb2[_0xcc8f('0x62')](_0x543ad0)&&_0x2d0c15['add'](_0x543ad0);}else _0x36b618['is'](_0xcc8f('0x7'),'paragraph')&&_0x36b618[_0xcc8f('0x2d')]&&(_0x23fefd[_0xcc8f('0x78')](_0x13cde8[_0xcc8f('0x2')]),_0x41f781=!0x0);}}else{if(_0xcc8f('0x6d')==_0x23fefd[_0xcc8f('0x20')]){if(!_0x23fefd[_0xcc8f('0x24')]||!_0x23fefd[_0xcc8f('0x24')][_0xcc8f('0xe')])continue;const _0x4f0cb4=_0x23fefd[_0xcc8f('0x24')]['markerAttributes'];if(_0x4f0cb4&&Object[_0xcc8f('0x72')](_0x4f0cb4)['length'])continue;const _0x302250=_0x23fefd[_0xcc8f('0x24')][_0xcc8f('0xe')];let _0x3ca97e=!0x0,_0x1a5bd4=!0x0;for(const _0x54d591 of _0x408ae7)if(_0x54d591['subType']&&_0x54d591[_0xcc8f('0x20')]['startsWith'](_0xcc8f('0x30'))){if(!_0x54d591[_0xcc8f('0x24')][_0xcc8f('0xe')]){_0x1a5bd4=!0x1;break;}if(_0x54d591['id']!=_0x23fefd['id']&&_0x54d591[_0xcc8f('0x24')][_0xcc8f('0xe')]==_0x302250){_0x3ca97e=!0x1;break;}}_0x1a5bd4&&_0x3ca97e&&(_0x23fefd['removeMarkers'](),_0x41f781=!0x0);}}for(const _0x4eaa12 of _0x1b6eb2)_0x54206d[_0xcc8f('0x19')](_0x4eaa12);for(const _0x1aa66f of _0x2d0c15)_0x54206d[_0xcc8f('0x3')](_0x1aa66f);return _0x41f781;}),_0x4c76a5['conversion'][_0xcc8f('0x48')]('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2455a1,_0xcf9831)=>_0x4f75a4(_0x2455a1),'converterPriority':_0xcc8f('0x1f')}),_0x4c76a5['conversion'][_0xcc8f('0x48')]('dataDowncast')[_0xcc8f('0x66')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x52c277,_0x5c0cfe)=>_0x5c0cfe[_0xcc8f('0x58')][_0xcc8f('0x65')]?_0x4f75a4(_0x52c277,!0x1):null,'converterPriority':_0xcc8f('0x1f')});const _0x179949=_0x4c76a5['editing'][_0xcc8f('0x17')];this[_0xcc8f('0x55')](_0x179949[_0xcc8f('0x61')],'clipboardOutput',(_0x1eb2a7,_0x3ceebb)=>{const _0x3f3e86=[];for(const _0x290ef2 of _0x179949[_0xcc8f('0x87')](_0x3ceebb[_0xcc8f('0x56')])[_0xcc8f('0x8c')]())_0x290ef2['is'](_0xcc8f('0x7'),_0xcc8f('0x95'))&&_0x3f3e86['push'](_0x290ef2);_0x179949['change'](_0x96220=>{for(const _0x31fb87 of _0x3f3e86)_0x96220[_0xcc8f('0x1d')](_0x96220['createRangeIn'](_0x31fb87),_0x96220[_0xcc8f('0x45')](_0x31fb87)),_0x96220[_0xcc8f('0x19')](_0x31fb87);});});}}function ce(_0x44bc76){if(_0x44bc76[_0xcc8f('0x2d')])return!0x0;const _0xee658=_0x44bc76[_0xcc8f('0x6f')](0x0);return _0xee658['is']('element',_0xcc8f('0x13'))&&_0xee658[_0xcc8f('0x2d')];}function fe(_0x2282fa,_0xc2b72b={},_0x512a3a){for(const {isAnchor:_0x238cb2,cellHeight:_0x89cbb7,cellWidth:_0xaef13b}of _0x512a3a[_0xcc8f('0x38')](_0x2282fa,{'includeAllSlots':!0x0,..._0xc2b72b}))if(!_0x238cb2||0x1!=_0x89cbb7||0x1!=_0xaef13b)return!0x1;return!0x0;}
23
+ const _0x591d=['setAttributes','keys','_suggestionFactory','push','position','set','getAttributes','getChanges','createRange','containsRange','clipboardOutput','batch','formatBlock','getSelectionAffectedTableCells','getSuggestionCallback','rootName','insertion','editing','tablePasteColumn','find','startsWith','subType','$graveyard','*Replace\x20table\x20cells*','tableCellBorderWidth','getSuggestion','register','tableCell','reduce','suggestion-td','element','markMultiRangeInsertion','has','tablePaste','column','getSuggestions','endRow','editingDowncast','getChildren','listenTo','insertColumns','getMarkers','options','oldRange','markers','findAncestor','move','rowInsertionIndexes','createTableWalker','getRows','tablePasteChainId','_splitMarkerName','registerPostFixer','getRowIndexes','getItems','get','columnInsertionRanges','getTableIfOnlyTableInContent','TrackChangesEditing','_tablePostFixingSubtypes','tableCellBackgroundColor','suggestionLoaded','change','getChild','tableCellBorderStyle','low','columnInsertionIndexes','next','editor','isEmpty','document','showSuggestionHighlights','createRangeIn','from','filter','Users','endColumn','tablePasteCell','table','_createdBatches','createRangeOn','setAttribute','ck-suggestion-marker-insertion','removeRows','getContainedElement','getAllAdjacentSuggestions','wrap','suggestion','getRange','return','attributes','last','markerToHighlight','nextSibling','TableUtils','first','plugins','deletion','view','isInContent','suggestionUnloaded','markMultiRangeDeletion','suggestion:formatBlock:tablePasteCell','createElement','markerAttributes','start','every','hasSuggestion','removeMarker','model','previousSibling','getChangedMarkers','stop','_getCoordsForCells','discard','getShiftedBy','add','deletionRanges','author','tableCellSuggestion','columns','differ','selection','markMultiRangeBlockFormat','length','end','fill','remove','schema','activeMarkers','for','previous','cells','_descriptionFactory','trackChanges','high','name','includes','insertContent','_replaceTableSlotCell','newRange','tableCellHorizontalAlignment','fromEntries','commands','ck-suggestion-marker--active','getColumnIndexes','documentSelection','dataDowncast','ck-suggestion-marker','conversion','createPositionBefore','join','insert','map','tablePasteRow','registerCustomCallback','_isForcedDefaultExecutionBlock','unwrap','content','TableClipboard','removeColumns','accept','getRanges'];(function(_0x382f50,_0x591df9){const _0x556503=function(_0x2cef59){while(--_0x2cef59){_0x382f50['push'](_0x382f50['shift']());}};_0x556503(++_0x591df9);}(_0x591d,0x150));const _0x5565=function(_0x382f50,_0x591df9){_0x382f50=_0x382f50-0x0;let _0x556503=_0x591d[_0x382f50];return _0x556503;};import{getTranslation as _0x15668a}from'../utils/common-translations';import{Plugin as _0x418a0}from'ckeditor5/src/core';import{uid as _0x1cc7e9,priorities as _0x3f347c}from'ckeditor5/src/utils';import _0x5a7cc8 from'./table';const le=[_0x5565('0xe'),'tableCellBorderColor',_0x5565('0x36'),_0x5565('0x83'),'tableCellVerticalAlignment',_0x5565('0x32'),'tableCellPadding'],ae=Object[_0x5565('0x84')](le[_0x5565('0x8f')](_0x52122d=>[_0x52122d,null]));export default class kt extends _0x418a0{static get['requires'](){return[_0x5a7cc8];}['afterInit'](){const _0x3ade23=this['editor'];if(!_0x3ade23[_0x5565('0x56')]['has'](_0x5565('0x95')))return;const _0x2ffc44=_0x3ade23['plugins'][_0x5565('0x2d')](_0x5565('0x30')),_0x2544e1=_0x3ade23['plugins']['get'](_0x5565('0x54')),_0x1e2573=_0x3ade23[_0x5565('0x56')][_0x5565('0x2d')](_0x5a7cc8),_0x192873=_0x3ade23[_0x5565('0x56')][_0x5565('0x2d')](_0x5565('0x95'));_0x1e2573[_0x5565('0x31')][_0x5565('0x9c')](_0x5565('0x90'),'tablePasteColumn'),_0x3ade23['model'][_0x5565('0x76')][_0x5565('0x10')](_0x5565('0x6d'),{'allowIn':_0x5565('0x11'),'allowContentOf':_0x5565('0x11'),'isLimit':!0x0}),_0x3ade23[_0x5565('0x8b')]['elementToElement']({'model':'tableCellSuggestion','view':_0x5565('0x13')});let _0xa2031=null;_0x3ade23['model']['on'](_0x5565('0x80'),(_0x213504,_0x33606a)=>{const [_0x2180dd,_0x5c81fb]=_0x33606a,_0x195092=_0x33606a[_0x33606a[_0x5565('0x72')]-0x1];_0x195092&&_0x195092['forceDefaultExecution']||_0x2ffc44[_0x5565('0x92')]||this[_0x5565('0x3a')][_0x5565('0x85')][_0x5565('0x2d')](_0x5565('0x7c'))['value']&&function(_0x2a2c2f,_0x473548,_0x33224c,_0x50374e,_0x4a0d98){if(_0x473548&&!_0x473548['is'](_0x5565('0x88')))return!0x1;const _0x31be78=_0x4a0d98[_0x5565('0x2f')](_0x2a2c2f,_0x33224c);if(!_0x31be78||!fe(_0x31be78,void 0x0,_0x50374e))return!0x1;const _0x47bff8=_0x50374e[_0x5565('0x3')](_0x33224c[_0x5565('0x3c')][_0x5565('0x70')]);if(!_0x47bff8[_0x5565('0x72')])return!0x1;const _0x5bbe8a=_0x47bff8[0x0][_0x5565('0x23')](_0x5565('0x44')),_0x5612bd=_0x50374e[_0x5565('0x2b')](_0x47bff8),_0x2dc3a5=_0x50374e[_0x5565('0x87')](_0x47bff8),_0x1bab95={'startRow':_0x5612bd['first'],'endRow':_0x5612bd[_0x5565('0x51')],'startColumn':_0x2dc3a5[_0x5565('0x55')],'endColumn':_0x2dc3a5[_0x5565('0x51')]};return 0x1==_0x47bff8[_0x5565('0x72')]&&(_0x1bab95[_0x5565('0x1a')]+=_0x50374e[_0x5565('0x27')](_0x31be78)-0x1,_0x1bab95[_0x5565('0x42')]+=_0x50374e['getColumns'](_0x31be78)-0x1),fe(_0x5bbe8a,_0x1bab95,_0x50374e);}(_0x2180dd,_0x5c81fb,_0x3ade23[_0x5565('0x63')],_0x2544e1,_0x192873)&&(_0x213504[_0x5565('0x66')](),_0xa2031={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3ade23['model'][_0x5565('0x34')](()=>{_0x3ade23['model'][_0x5565('0x80')](_0x33606a[0x0],_0x33606a[0x1],_0x33606a[0x2],{'forceDefaultExecution':!0x0});const _0x5bfdd9=_0x1cc7e9(),{rowInsertionRanges:_0x15606e,columnInsertionRanges:_0x1ffa8a,insertionRanges:_0x594d81,deletionRanges:_0x537f17,cells:_0x28a1af}=_0xa2031;_0x15606e[_0x5565('0x72')]&&_0x2ffc44['markMultiRangeInsertion'](_0x15606e,_0x5565('0x90'),{'tablePasteChainId':_0x5bfdd9}),_0x1ffa8a[_0x5565('0x72')]&&_0x2ffc44[_0x5565('0x15')](_0x1ffa8a,_0x5565('0x8'),{'tablePasteChainId':_0x5bfdd9}),_0x594d81['length']&&_0x2ffc44[_0x5565('0x15')](_0x594d81,_0x5565('0x17'),{'tablePasteChainId':_0x5bfdd9,'skipNestingCheck':!0x0}),_0x537f17[_0x5565('0x72')]&&_0x2ffc44[_0x5565('0x5b')](_0x537f17,_0x5565('0x17'),{'tablePasteChainId':_0x5bfdd9,'skipNestingCheck':!0x0});const _0xaa2f38=_0x2ffc44[_0x5565('0x71')](_0x28a1af['map'](({element:_0x3d34d1})=>_0x3d34d1),{'formatGroupId':_0x1cc7e9()},[],_0x5565('0x43'),{'tablePasteChainId':_0x5bfdd9});if(_0xaa2f38){const _0x42a8ed=_0xaa2f38['getMarkers'](),_0x2976d0=[];for(const {element:_0x5a4637,attributes:_0x4abfe2}of _0x28a1af){if(!_0x4abfe2)continue;const _0x5cf800=_0x3ade23['model']['createRangeOn'](_0x5a4637),_0x77c868=_0x42a8ed['find'](_0x274c26=>_0x274c26[_0x5565('0x4e')]()['isEqual'](_0x5cf800));_0x77c868&&_0x2976d0['push']([_0x77c868[_0x5565('0x7e')],_0x4abfe2]);}_0x2976d0[_0x5565('0x72')]&&_0xaa2f38[_0x5565('0x47')](_0x5565('0x5e'),Object[_0x5565('0x84')](_0x2976d0));}_0xa2031=null;}));},{'priority':_0x3f347c[_0x5565('0x7d')]+0xa}),_0x3ade23[_0x5565('0x56')][_0x5565('0x2d')](_0x5565('0x95'))['on'](_0x5565('0x81'),(_0x507774,_0x11a557)=>{const [_0x4f5da3,_0x5c9c0b,,_0x547f09]=_0x11a557;if(!_0xa2031)return;_0x507774[_0x5565('0x66')]();const _0x5b5c32=_0x4f5da3['cell'],_0x97843c=_0x5c9c0b,_0x5eb5b3=ce(_0x5b5c32),_0x1f38b8=ce(_0x97843c);_0x507774[_0x5565('0x4f')]=_0x5b5c32;let _0xc20a95=null,_0x3780e3=null;if(_0x1f38b8||_0x5eb5b3){if(_0x5eb5b3&&!_0x1f38b8){_0x547f09['remove'](_0x5b5c32[_0x5565('0x35')](0x0));for(const _0x2d20f2 of Array[_0x5565('0x3f')](_0x97843c[_0x5565('0x1c')]()))_0x547f09[_0x5565('0x8e')](_0x2d20f2,_0x5b5c32,_0x5565('0x73'));const _0x11df00=_0xa2031[_0x5565('0x25')][_0x5565('0x7f')](_0x4f5da3['row']),_0x34c86f=_0xa2031[_0x5565('0x38')][_0x5565('0x7f')](_0x4f5da3[_0x5565('0x18')]);_0x11df00||_0x34c86f||(_0xc20a95=_0x547f09['createRangeIn'](_0x5b5c32));}else _0x1f38b8&&!_0x5eb5b3&&(_0x3780e3=_0x547f09[_0x5565('0x3e')](_0x5b5c32));}else{const _0x14e673=_0x547f09[_0x5565('0x5d')](_0x5565('0x6d')),_0x1640b6=_0x547f09[_0x5565('0x5d')](_0x5565('0x6d'));_0x547f09[_0x5565('0x4c')](_0x547f09[_0x5565('0x3e')](_0x5b5c32),_0x1640b6),_0x547f09[_0x5565('0x8e')](_0x14e673,_0x5b5c32,0x0);for(const _0x3761b0 of Array[_0x5565('0x3f')](_0x97843c[_0x5565('0x1c')]()))_0x547f09['insert'](_0x3761b0,_0x14e673,_0x5565('0x73'));_0xc20a95=_0x547f09[_0x5565('0x46')](_0x14e673),_0x3780e3=_0x547f09[_0x5565('0x46')](_0x1640b6);}const _0x2f8f89=Array[_0x5565('0x3f')](_0x97843c[_0x5565('0x9f')]())[_0x5565('0x40')](([_0x10d439])=>le['includes'](_0x10d439));_0xa2031[_0x5565('0x7a')]['push']({'element':_0x5b5c32,'attributes':_0x2f8f89[_0x5565('0x72')]?Object[_0x5565('0x84')](_0x2f8f89):null}),_0xc20a95&&_0xa2031['insertionRanges'][_0x5565('0x9c')](_0xc20a95),_0x3780e3&&_0xa2031[_0x5565('0x6b')][_0x5565('0x9c')](_0x3780e3);},{'priority':_0x5565('0x7d')}),_0x2544e1['on'](_0x5565('0x1e'),(_0x498b5d,_0x9d60ce)=>{const [_0x387f42,_0x377045={}]=_0x9d60ce;if(!_0xa2031)return;const _0x72ebd0=_0x377045['at']||0x0,_0x18449f=_0x377045[_0x5565('0x6e')]||0x1;_0xa2031[_0x5565('0x38')]=new Array(_0x18449f)[_0x5565('0x74')](_0x72ebd0)[_0x5565('0x8f')]((_0x68830f,_0x3f13cb)=>_0x68830f+_0x3f13cb);for(const {cell:_0x547f98}of _0x2544e1[_0x5565('0x26')](_0x387f42,{'startColumn':_0x72ebd0,'endColumn':_0x72ebd0+_0x18449f-0x1}))_0xa2031[_0x5565('0x2e')][_0x5565('0x9c')](_0x3ade23[_0x5565('0x63')][_0x5565('0x46')](_0x547f98));},{'priority':_0x5565('0x37')}),_0x2544e1['on']('insertRows',(_0x1a7149,_0x2997de)=>{const [_0x5539c2,_0x179b9b={}]=_0x2997de;if(!_0xa2031)return;const _0x49b88b=_0x179b9b['at']||0x0,_0x1a66c4=_0x179b9b['rows']||0x1;_0xa2031[_0x5565('0x25')]=new Array(_0x1a66c4)['fill'](_0x49b88b)['map']((_0x252dad,_0x190602)=>_0x252dad+_0x190602);for(const {cell:_0xb2e960}of _0x2544e1[_0x5565('0x26')](_0x5539c2,{'startRow':_0x49b88b,'endRow':_0x49b88b+_0x1a66c4-0x1}))_0xa2031['rowInsertionRanges']['push'](_0x3ade23[_0x5565('0x63')][_0x5565('0x46')](_0xb2e960));},{'priority':'low'}),_0x2ffc44[_0x5565('0x7b')]['registerDescriptionCallback'](_0x41ceb0=>{if(_0x41ceb0['subType']&&_0x41ceb0[_0x5565('0xb')][_0x5565('0xa')](_0x5565('0x17')))return _0x41ceb0[_0x5565('0x79')]?{}:{'type':_0x5565('0x6'),'content':_0x15668a(_0x3ade23['locale'],_0x5565('0xd'))};});const _0x2b630d=()=>{};for(const _0x230c34 of[_0x5565('0x17'),_0x5565('0x8'),_0x5565('0x90'),_0x5565('0x43')])_0x2ffc44[_0x5565('0x9b')][_0x5565('0x91')](_0x5565('0x6'),_0x230c34,'join',_0x2b630d),_0x2ffc44[_0x5565('0x9b')][_0x5565('0x91')]('deletion',_0x230c34,_0x5565('0x8d'),_0x2b630d);_0x2ffc44['_suggestionFactory'][_0x5565('0x91')](_0x5565('0x2'),_0x5565('0x43'),_0x5565('0x68'),_0x2b630d),_0x2ffc44[_0x5565('0x9b')][_0x5565('0x91')](_0x5565('0x2'),_0x5565('0x43'),_0x5565('0x97'),(_0x2ebe70,_0x5b3160,_0x730ccc)=>{const _0x38e9ee=_0x2ebe70[_0x5565('0x8f')](_0x12f8a4=>_0x12f8a4[_0x5565('0x4a')]())[_0x5565('0x40')](_0x134a32=>_0x134a32),_0x52f811=new Map(_0x38e9ee[_0x5565('0x8f')](_0x2237d7=>[_0x2237d7,null]));if(_0xa2031)for(const {element:_0x1800d2,attributes:_0x18807e}of _0xa2031[_0x5565('0x7a')])_0x18807e&&_0x52f811[_0x5565('0x9e')](_0x1800d2,_0x18807e);else{if(_0x730ccc&&_0x730ccc[_0x5565('0x5e')])for(const [_0x3fb52d,_0x3edf35]of Object['entries'](_0x730ccc[_0x5565('0x5e')])){const _0x3badb4=_0x3ade23['model'][_0x5565('0x22')]['get'](_0x3fb52d),_0x1a4a25=_0x3badb4?_0x3badb4[_0x5565('0x4e')]()[_0x5565('0x4a')]():null;_0x1a4a25&&_0x52f811[_0x5565('0x9e')](_0x1a4a25,_0x3edf35);}}_0x3ade23[_0x5565('0x63')][_0x5565('0x34')](_0x4dd264=>{for(const [_0x367c02,_0x55b39f]of _0x52f811)_0x4dd264[_0x5565('0x99')]({...ae,..._0x55b39f},_0x367c02);});});const _0xeda88d=(_0x368245,_0x166802)=>{_0x2ffc44[_0x5565('0x9b')][_0x5565('0x91')](_0x368245,_0x5565('0x17'),_0x166802,(_0x36aec5,_0xc945c0,_0x3e6bbc)=>{_0x3ade23[_0x5565('0x63')][_0x5565('0x34')](_0x5acfcb=>{const _0x2be580=[];for(const _0x522511 of _0x36aec5){const _0x5ea1aa=_0x522511[_0x5565('0x5f')]['nodeAfter'];_0x5ea1aa['is'](_0x5565('0x14'),_0x5565('0x6d'))&&_0x2be580[_0x5565('0x9c')](_0x5ea1aa);}_0x2ffc44['_suggestionFactory'][_0x5565('0x4')](_0x368245,null,_0x166802)(_0x36aec5,_0xc945c0,_0x3e6bbc);for(const _0x3fabb5 of _0x2be580)_0x5565('0xc')!=_0x3fabb5['root'][_0x5565('0x5')]&&_0x5acfcb[_0x5565('0x93')](_0x3fabb5);});});};_0xeda88d(_0x5565('0x6'),_0x5565('0x97')),_0xeda88d(_0x5565('0x6'),'discard'),_0xeda88d('deletion',_0x5565('0x97')),_0xeda88d('deletion',_0x5565('0x68')),_0x2ffc44[_0x5565('0x9b')][_0x5565('0x91')](_0x5565('0x6'),_0x5565('0x90'),_0x5565('0x68'),_0x49e8bb=>{const _0x4e63e0=_0x49e8bb[_0x5565('0x8f')](_0x6eeadd=>_0x6eeadd[_0x5565('0x4a')]()),_0x55c770=_0x4e63e0[0x0][_0x5565('0x23')](_0x5565('0x44')),{minRow:_0x36c159,maxRow:_0x295272}=_0x1e2573[_0x5565('0x67')](_0x4e63e0);_0x2544e1[_0x5565('0x49')](_0x55c770,{'at':_0x36c159,'rows':_0x295272-_0x36c159+0x1});}),_0x2ffc44[_0x5565('0x9b')]['registerCustomCallback'](_0x5565('0x6'),'tablePasteColumn',_0x5565('0x68'),_0xa6be90=>{const _0xc9c656=_0xa6be90['map'](_0x49b4ff=>_0x49b4ff[_0x5565('0x4a')]()),_0x14f46c=_0xc9c656[0x0][_0x5565('0x23')](_0x5565('0x44')),{minColumn:_0x37fce8,maxColumn:_0x2dd772}=_0x1e2573['_getCoordsForCells'](_0xc9c656);_0x2544e1[_0x5565('0x96')](_0x14f46c,{'at':_0x37fce8,'columns':_0x2dd772-_0x37fce8+0x1});});const _0x29fc25=(_0x501889,_0x2c9fdc)=>{if(!_0x2c9fdc[_0x5565('0xb')]||!_0x2c9fdc[_0x5565('0xb')][_0x5565('0xa')](_0x5565('0x17')))return;const _0x24720e=_0x2c9fdc['attributes'][_0x5565('0x28')],_0x58305b=_0x2ffc44[_0x5565('0x19')]()[_0x5565('0x40')](_0x1a620e=>_0x1a620e[_0x5565('0x59')]&&_0x1a620e[_0x5565('0x50')]&&_0x1a620e['attributes'][_0x5565('0x28')]==_0x24720e);_0x58305b[_0x5565('0x72')]&&_0x2c9fdc[_0x5565('0x4b')]()['length']!=_0x58305b['length']&&_0x58305b[_0x5565('0x12')]((_0x52d786,_0x52d62a)=>(_0x52d786[_0x5565('0x39')]=_0x52d62a,_0x52d62a[_0x5565('0x79')]=_0x52d786,_0x52d62a));};function _0x57b0d6(_0x9cfe82,_0x5956ba=!0x0){const {id:_0x1a100f}=_0x2ffc44['_splitMarkerName'](_0x9cfe82['markerName']),_0x9a9efc=[_0x5565('0x8a'),_0x5565('0x48')],_0x555092=_0x2ffc44[_0x5565('0x77')][_0x5565('0x7f')](_0x9cfe82['markerName']);return _0x555092&&_0x9a9efc['push'](_0x5565('0x86')),{'classes':_0x9a9efc,'attributes':{'data-suggestion':_0x1a100f},'priority':_0x555092&&_0x5956ba?0xbc2:0xbb8};}_0x2ffc44['on'](_0x5565('0x33'),_0x29fc25,{'priority':'high'}),_0x2ffc44['on'](_0x5565('0x5a'),_0x29fc25,{'priority':'high'}),_0x3ade23[_0x5565('0x63')][_0x5565('0x3c')][_0x5565('0x2a')](()=>{let _0x267636=!0x1;const _0x37621c=Array[_0x5565('0x3f')](_0x3ade23['model'][_0x5565('0x3c')][_0x5565('0x6f')][_0x5565('0x65')]());for(const {name:_0x238a09,data:_0x14af83}of _0x37621c){const {group:_0x5ec9fa,type:_0x267891,id:_0x505f4d}=_0x2ffc44[_0x5565('0x29')](_0x238a09);if(_0x5565('0x4d')!=_0x5ec9fa||_0x5565('0x57')!=_0x267891||_0x14af83[_0x5565('0x21')])continue;if(!_0x2ffc44[_0x5565('0x61')](_0x505f4d))continue;const _0x1438f1=_0x2ffc44[_0x5565('0xf')](_0x505f4d)[_0x5565('0x98')](),_0x3320c0=_0x3ade23[_0x5565('0x56')]['get'](_0x5565('0x41'))['me'];for(const _0x54583d of _0x2ffc44[_0x5565('0x19')]()){if(!_0x54583d[_0x5565('0x59')]||_0x54583d[_0x5565('0x6c')]!=_0x3320c0)continue;if('formatBlock'!=_0x54583d['type']||'tablePasteCell'!=_0x54583d[_0x5565('0xb')])continue;if(_0x54583d[_0x5565('0x98')]()[_0x5565('0x60')](_0x403159=>_0x1438f1['some'](_0x1e7d99=>_0x1e7d99[_0x5565('0xa2')](_0x403159,!0x0))))for(const _0x1fd562 of _0x54583d['getAllAdjacentSuggestions']())_0x1fd562[_0x5565('0x59')]&&(_0x1fd562[_0x5565('0x68')](),_0x267636=!0x0);}}return _0x267636;}),_0x3ade23[_0x5565('0x63')][_0x5565('0x3c')][_0x5565('0x2a')](_0x20cfd7=>{const _0x49835b=_0x3ade23[_0x5565('0x85')][_0x5565('0x2d')]('redo');if(!_0x49835b||!_0x49835b[_0x5565('0x45')][_0x5565('0x16')](_0x20cfd7[_0x5565('0x1')]))return!0x1;let _0x28e8ea=!0x1;const _0x28eaed=_0x3ade23['plugins'][_0x5565('0x2d')]('Users')['me'],_0x46d942=_0x3ade23['model'][_0x5565('0x3c')][_0x5565('0x6f')][_0x5565('0xa0')](),_0x3ca32b=Array[_0x5565('0x3f')](_0x3ade23['model']['document']['differ'][_0x5565('0x65')]())[_0x5565('0x40')](({name:_0x10666c,data:_0x5a8a79})=>{const {group:_0x523820,subType:_0x71c3a4,authorId:_0x38c6a4}=_0x2ffc44['_splitMarkerName'](_0x10666c);return _0x5565('0x4d')==_0x523820&&_0x5565('0x17')==_0x71c3a4&&_0x38c6a4==_0x28eaed['id']&&!_0x5a8a79[_0x5565('0x21')];});for(const _0x346a72 of _0x46d942){if(_0x5565('0x8e')!=_0x346a72['type']||_0x5565('0x6d')!=_0x346a72[_0x5565('0x7e')]||0x1!=_0x346a72[_0x5565('0x72')])continue;const _0x5241f8=_0x20cfd7[_0x5565('0xa1')](_0x346a72[_0x5565('0x9d')],_0x346a72['position'][_0x5565('0x69')](0x1));if(!_0x3ca32b[_0x5565('0x9')](({data:_0x3d6574})=>_0x3d6574['newRange']['isEqual'](_0x5241f8)))for(const {name:_0x796e05,data:_0x3bfbbb}of _0x3ca32b)if(_0x5241f8['containsRange'](_0x3bfbbb[_0x5565('0x82')])){_0x20cfd7['updateMarker'](_0x796e05,{'range':_0x5241f8}),_0x28e8ea=!0x0;break;}}return _0x28e8ea;}),_0x3ade23[_0x5565('0x63')][_0x5565('0x3c')]['registerPostFixer'](_0x46771e=>{let _0x498f0b=!0x1;const _0x45621f=_0x3ade23[_0x5565('0x56')][_0x5565('0x2d')](_0x5565('0x41'))['me'],_0xb638bf=_0x2ffc44[_0x5565('0x19')]()[_0x5565('0x40')](_0x1322ce=>_0x1322ce[_0x5565('0x59')]&&_0x1322ce['author']==_0x45621f),_0x548f17=new Set(),_0x2739fc=new Set();for(const _0x354df8 of _0xb638bf)if('tablePaste'==_0x354df8[_0x5565('0xb')])for(const _0xaa7343 of _0x354df8[_0x5565('0x1f')]()){const _0x3d8281=_0xaa7343['getRange']()['getContainedElement']();if(_0x3d8281){if(_0x3d8281['is'](_0x5565('0x14'),'tableCellSuggestion')&&ce(_0x3d8281)){_0x354df8[_0x5565('0x62')](_0xaa7343[_0x5565('0x7e')]),_0x548f17[_0x5565('0x6a')](_0x3d8281),_0x498f0b=!0x0;const _0x435caf=_0x3d8281[_0x5565('0x53')],_0x211179=_0x3d8281[_0x5565('0x64')],_0x54204e=_0x435caf&&_0x435caf['is']('element',_0x5565('0x6d')),_0x57697a=_0x211179&&_0x211179['is'](_0x5565('0x14'),_0x5565('0x6d'));_0x54204e&&!_0x548f17[_0x5565('0x16')](_0x435caf)&&_0x2739fc['add'](_0x435caf),_0x57697a&&!_0x548f17[_0x5565('0x16')](_0x211179)&&_0x2739fc[_0x5565('0x6a')](_0x211179);}else _0x3d8281['is'](_0x5565('0x14'),'paragraph')&&_0x3d8281['isEmpty']&&(_0x354df8[_0x5565('0x62')](_0xaa7343[_0x5565('0x7e')]),_0x498f0b=!0x0);}}else{if('tablePasteCell'==_0x354df8[_0x5565('0xb')]){if(!_0x354df8[_0x5565('0x50')]||!_0x354df8[_0x5565('0x50')][_0x5565('0x28')])continue;const _0x236394=_0x354df8[_0x5565('0x50')]['markerAttributes'];if(_0x236394&&Object[_0x5565('0x9a')](_0x236394)[_0x5565('0x72')])continue;const _0x227b8a=_0x354df8[_0x5565('0x50')][_0x5565('0x28')];let _0x325f2f=!0x0,_0x45029e=!0x0;for(const _0x4ede71 of _0xb638bf)if(_0x4ede71['subType']&&_0x4ede71[_0x5565('0xb')][_0x5565('0xa')](_0x5565('0x17'))){if(!_0x4ede71[_0x5565('0x50')][_0x5565('0x28')]){_0x45029e=!0x1;break;}if(_0x4ede71['id']!=_0x354df8['id']&&_0x4ede71[_0x5565('0x50')][_0x5565('0x28')]==_0x227b8a){_0x325f2f=!0x1;break;}}_0x45029e&&_0x325f2f&&(_0x354df8['removeMarkers'](),_0x498f0b=!0x0);}}for(const _0x57cc54 of _0x548f17)_0x46771e[_0x5565('0x75')](_0x57cc54);for(const _0x5508eb of _0x2739fc)_0x46771e[_0x5565('0x93')](_0x5508eb);return _0x498f0b;}),_0x3ade23[_0x5565('0x8b')][_0x5565('0x78')](_0x5565('0x1b'))[_0x5565('0x52')]({'model':_0x5565('0x5c'),'view':(_0x2fca0b,_0x158194)=>_0x57b0d6(_0x2fca0b),'converterPriority':'high'}),_0x3ade23[_0x5565('0x8b')][_0x5565('0x78')](_0x5565('0x89'))[_0x5565('0x52')]({'model':_0x5565('0x5c'),'view':(_0x1aef5,_0x4c72f4)=>_0x4c72f4[_0x5565('0x20')][_0x5565('0x3d')]?_0x57b0d6(_0x1aef5,!0x1):null,'converterPriority':'high'});const _0x5c8d11=_0x3ade23[_0x5565('0x7')][_0x5565('0x58')];this[_0x5565('0x1d')](_0x5c8d11['document'],_0x5565('0x0'),(_0x5c6402,_0x5a7ea6)=>{const _0x28ca25=[];for(const _0xede652 of _0x5c8d11[_0x5565('0x3e')](_0x5a7ea6[_0x5565('0x94')])[_0x5565('0x2c')]())_0xede652['is'](_0x5565('0x14'),'suggestion-td')&&_0x28ca25['push'](_0xede652);_0x5c8d11[_0x5565('0x34')](_0x4a4444=>{for(const _0x4ab8ef of _0x28ca25)_0x4a4444[_0x5565('0x24')](_0x4a4444[_0x5565('0x3e')](_0x4ab8ef),_0x4a4444[_0x5565('0x8c')](_0x4ab8ef)),_0x4a4444[_0x5565('0x75')](_0x4ab8ef);});});}}function ce(_0x457468){if(_0x457468[_0x5565('0x3b')])return!0x0;const _0x3600be=_0x457468[_0x5565('0x35')](0x0);return _0x3600be['is']('element','paragraph')&&_0x3600be[_0x5565('0x3b')];}function fe(_0x53cce0,_0xd95a19={},_0x374f9d){for(const {isAnchor:_0x5380f1,cellHeight:_0x13db4d,cellWidth:_0x1bd7d7}of _0x374f9d[_0x5565('0x26')](_0x53cce0,{'includeAllSlots':!0x0,..._0xd95a19}))if(!_0x5380f1||0x1!=_0x13db4d||0x1!=_0x1bd7d7)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3836=['plugins','columnWidths','resizeTable','get','Users','handleSuggestionDescription','_suggestionFactory','getContainedElement','formatGroupId','subType','getTableColumnsWidths','TrackChangesEditing','locale','TableColumnResizeEditing','getAttribute','registerCustomCallback','selection','*Format:*\x20resize\x20table','formatBlock','bind','_descriptionFactory','data','discard','table','model','change','commandParams','resizeColumnWidths','editor','resizeTableWidth','handleResizeTableWidthCommand','accept','tableWidth','getSelectedElement','enableCommand'];(function(_0x167f0c,_0x383660){const _0x2db146=function(_0x5e1325){while(--_0x5e1325){_0x167f0c['push'](_0x167f0c['shift']());}};_0x2db146(++_0x383660);}(_0x3836,0xc2));const _0x2db1=function(_0x167f0c,_0x383660){_0x167f0c=_0x167f0c-0x0;let _0x2db146=_0x3836[_0x167f0c];return _0x2db146;};import{Plugin as _0x5f0bb4}from'ckeditor5/src/core';import{getTranslation as _0x3a7b60}from'../utils/common-translations';export default class wt extends _0x5f0bb4{['afterInit'](){if(!this[_0x2db1('0x9')][_0x2db1('0x10')]['has']('TableColumnResizeEditing'))return;const _0x32ab85=this[_0x2db1('0x9')][_0x2db1('0x10')][_0x2db1('0x13')](_0x2db1('0x1b'));_0x32ab85[_0x2db1('0xf')]('resizeTableWidth',this[_0x2db1('0xb')]['bind'](this)),_0x32ab85[_0x2db1('0xf')](_0x2db1('0x8'),this[_0x2db1('0xb')][_0x2db1('0x0')](this)),_0x32ab85[_0x2db1('0x16')][_0x2db1('0x1f')](_0x2db1('0x22'),_0x2db1('0x12'),_0x2db1('0xc'),_0x32ab85[_0x2db1('0x16')]['getSuggestionCallback'](_0x2db1('0x22'),null,'discard')),_0x32ab85[_0x2db1('0x16')][_0x2db1('0x1f')](_0x2db1('0x22'),'resizeTable','discard',_0x32ab85[_0x2db1('0x16')]['getSuggestionCallback'](_0x2db1('0x22'),null,_0x2db1('0xc'))),_0x32ab85[_0x2db1('0x1')]['registerDescriptionCallback'](this[_0x2db1('0x15')][_0x2db1('0x0')](this));}['handleResizeTableWidthCommand'](_0xa65db7,_0x579753){const _0x1779ae=this['editor'][_0x2db1('0x10')][_0x2db1('0x13')]('TrackChangesEditing'),_0x52943e=this[_0x2db1('0x9')][_0x2db1('0x10')][_0x2db1('0x13')](_0x2db1('0x1d')),_0x18c782=_0x579753[_0x2db1('0x4')]||this[_0x2db1('0x9')][_0x2db1('0x5')]['document'][_0x2db1('0x20')][_0x2db1('0xe')]();this[_0x2db1('0x9')][_0x2db1('0x5')][_0x2db1('0x6')](()=>{const _0x3087bf=_0x52943e['getColumnGroupElement'](_0x18c782);let _0x4c7474=_0x3087bf?_0x52943e[_0x2db1('0x1a')](_0x3087bf):null,_0x54089c=_0x18c782[_0x2db1('0x1e')](_0x2db1('0xd'))||null;const _0x57a92d=_0x579753[_0x2db1('0xd')]||_0x54089c,_0x276c7f=_0x579753[_0x2db1('0x11')]||_0x4c7474,_0x3eaae9=this['editor']['plugins'][_0x2db1('0x13')](_0x2db1('0x14'))['me'];for(const _0x46d2f6 of _0x1779ae['getSuggestions']()){const _0x16e9fc=_0x46d2f6[_0x2db1('0x17')]();if(_0x2db1('0x12')===_0x46d2f6[_0x2db1('0x19')]&&_0x16e9fc===_0x18c782){_0x46d2f6['author']!==_0x3eaae9&&_0x46d2f6[_0x2db1('0x3')]();const _0x3f84cb=_0x46d2f6[_0x2db1('0x2')][_0x2db1('0x7')];_0x54089c=_0x3f84cb[0x0][_0x2db1('0xd')],_0x4c7474=_0x3f84cb[0x0][_0x2db1('0x11')];break;}}_0xa65db7({'table':_0x18c782,'tableWidth':_0x57a92d,'columnWidths':_0x276c7f}),_0x1779ae['markBlockFormat'](_0x18c782,{'commandName':_0x2db1('0xa'),'commandParams':[{'tableWidth':_0x54089c,'columnWidths':_0x4c7474}],'formatGroupId':_0x2db1('0x12')},[],_0x2db1('0x12'));});}['handleSuggestionDescription'](_0x350cfb){const {data:_0x3309e8}=_0x350cfb;if(_0x3309e8&&_0x2db1('0x12')===_0x3309e8[_0x2db1('0x18')]){const _0x354cb5=_0x2db1('0x21');return{'type':'format','content':_0x3a7b60(this['editor'][_0x2db1('0x1c')],_0x354cb5)};}}}
23
+ const _0x3ed1=['table','commandParams','tableWidth','resizeColumnWidths','afterInit','getContainedElement','columnWidths','_suggestionFactory','getTableColumnsWidths','document','handleResizeTableWidthCommand','TableColumnResizeEditing','discard','change','subType','getSuggestions','getSuggestionCallback','model','markBlockFormat','getSelectedElement','bind','getColumnGroupElement','_descriptionFactory','resizeTableWidth','*Format:*\x20resize\x20table','editor','handleSuggestionDescription','registerCustomCallback','enableCommand','formatGroupId','formatBlock','getAttribute','resizeTable','TrackChangesEditing','has','get','Users','data','plugins','format'];(function(_0x335c2d,_0x3ed1df){const _0x22a9b6=function(_0x11f014){while(--_0x11f014){_0x335c2d['push'](_0x335c2d['shift']());}};_0x22a9b6(++_0x3ed1df);}(_0x3ed1,0x13b));const _0x22a9=function(_0x335c2d,_0x3ed1df){_0x335c2d=_0x335c2d-0x0;let _0x22a9b6=_0x3ed1[_0x335c2d];return _0x22a9b6;};import{Plugin as _0x23679c}from'ckeditor5/src/core';import{getTranslation as _0x2c81ca}from'../utils/common-translations';export default class wt extends _0x23679c{[_0x22a9('0x9')](){if(!this[_0x22a9('0x1e')]['plugins'][_0x22a9('0x27')](_0x22a9('0x10')))return;const _0x17b172=this[_0x22a9('0x1e')][_0x22a9('0x3')][_0x22a9('0x0')](_0x22a9('0x26'));_0x17b172[_0x22a9('0x21')](_0x22a9('0x1c'),this['handleResizeTableWidthCommand'][_0x22a9('0x19')](this)),_0x17b172[_0x22a9('0x21')](_0x22a9('0x8'),this[_0x22a9('0xf')]['bind'](this)),_0x17b172[_0x22a9('0xc')][_0x22a9('0x20')](_0x22a9('0x23'),'resizeTable','accept',_0x17b172[_0x22a9('0xc')][_0x22a9('0x15')]('formatBlock',null,_0x22a9('0x11'))),_0x17b172[_0x22a9('0xc')][_0x22a9('0x20')](_0x22a9('0x23'),_0x22a9('0x25'),_0x22a9('0x11'),_0x17b172[_0x22a9('0xc')][_0x22a9('0x15')]('formatBlock',null,'accept')),_0x17b172[_0x22a9('0x1b')]['registerDescriptionCallback'](this[_0x22a9('0x1f')][_0x22a9('0x19')](this));}[_0x22a9('0xf')](_0x46712f,_0x2cb965){const _0x33af66=this[_0x22a9('0x1e')]['plugins'][_0x22a9('0x0')](_0x22a9('0x26')),_0x275feb=this[_0x22a9('0x1e')][_0x22a9('0x3')]['get'](_0x22a9('0x10')),_0x2ad8dd=_0x2cb965[_0x22a9('0x5')]||this[_0x22a9('0x1e')][_0x22a9('0x16')][_0x22a9('0xe')]['selection'][_0x22a9('0x18')]();this[_0x22a9('0x1e')][_0x22a9('0x16')][_0x22a9('0x12')](()=>{const _0x17674c=_0x275feb[_0x22a9('0x1a')](_0x2ad8dd);let _0x1f833e=_0x17674c?_0x275feb[_0x22a9('0xd')](_0x17674c):null,_0x48638f=_0x2ad8dd[_0x22a9('0x24')](_0x22a9('0x7'))||null;const _0x1cd060=_0x2cb965[_0x22a9('0x7')]||_0x48638f,_0x4e2b9c=_0x2cb965[_0x22a9('0xb')]||_0x1f833e,_0x333ec8=this[_0x22a9('0x1e')][_0x22a9('0x3')]['get'](_0x22a9('0x1'))['me'];for(const _0x3d50ab of _0x33af66[_0x22a9('0x14')]()){const _0x33665a=_0x3d50ab[_0x22a9('0xa')]();if(_0x22a9('0x25')===_0x3d50ab[_0x22a9('0x13')]&&_0x33665a===_0x2ad8dd){_0x3d50ab['author']!==_0x333ec8&&_0x3d50ab['discard']();const _0x589dd6=_0x3d50ab[_0x22a9('0x2')][_0x22a9('0x6')];_0x48638f=_0x589dd6[0x0][_0x22a9('0x7')],_0x1f833e=_0x589dd6[0x0][_0x22a9('0xb')];break;}}_0x46712f({'table':_0x2ad8dd,'tableWidth':_0x1cd060,'columnWidths':_0x4e2b9c}),_0x33af66[_0x22a9('0x17')](_0x2ad8dd,{'commandName':_0x22a9('0x1c'),'commandParams':[{'tableWidth':_0x48638f,'columnWidths':_0x1f833e}],'formatGroupId':_0x22a9('0x25')},[],_0x22a9('0x25'));});}[_0x22a9('0x1f')](_0x575682){const {data:_0x1dc64f}=_0x575682;if(_0x1dc64f&&_0x22a9('0x25')===_0x1dc64f[_0x22a9('0x22')]){const _0x56ebef=_0x22a9('0x1d');return{'type':_0x22a9('0x4'),'content':_0x2c81ca(this[_0x22a9('0x1e')]['locale'],_0x56ebef)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6672=['ck-suggestion-marker-','locale','data-suggestion','start','createPositionBefore','consume','has','markerRange','nodeBefore','markerName','TableEditing','FORMAT_REGULAR_ROW','registerDescriptionCallback','data','markerNameToElements','_suggestionFactory','editor','commandName','formatBlock','document','toViewElement','FORMAT_HEADER_COLUMN','getSuggestion','stop','model','nodeAfter','setTableColumnHeader','table','forceValue','getCellLocation','findAncestor','get','index','TableUtils','commandParams','parent','setTableRowHeader','afterInit','childCount','FORMAT_REGULAR_COLUMN','last','editing','activeMarkers','isBefore','TrackChangesEditing','getRowIndexes','change','value','markBlockFormat','selection','getChild','createRange','*Format:*\x20%0','end','headingRows','removeClass','plugins','cell','registerCustomCallback','addClass','getSelectionAffectedTableCells','options','addMarker:suggestion','removeAttribute','accept','highest','showSuggestionHighlights','headingColumns','setAttribute','name','getAttribute','createPositionAfter','createTableWalker','downcastDispatcher','_acceptFormatSuggestionCallbackFactory','mapper','writer','enableCommand','unbindElementFromMarkerName'];(function(_0x136454,_0x66728f){const _0x597470=function(_0x2d6a1e){while(--_0x2d6a1e){_0x136454['push'](_0x136454['shift']());}};_0x597470(++_0x66728f);}(_0x6672,0xb5));const _0x5974=function(_0x136454,_0x66728f){_0x136454=_0x136454-0x0;let _0x597470=_0x6672[_0x136454];return _0x597470;};import{Plugin as _0x419a5f}from'ckeditor5/src/core';import _0x59cc61 from'./table';import{getTranslation as _0x1d570c}from'../utils/common-translations';export default class pt extends _0x419a5f{static get['requires'](){return[_0x59cc61];}[_0x5974('0xe')](){const _0x286395=this[_0x5974('0x48')];if(!_0x286395[_0x5974('0x21')][_0x5974('0x3e')](_0x5974('0x42')))return;const _0x19753e=_0x286395[_0x5974('0x39')],_0x59ba61=_0x286395[_0x5974('0x21')]['get'](_0x5974('0x15')),_0x256893=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x5974('0xa')),_0x2d4043=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x59cc61);function _0xf5cd34({showActiveMarker:_0x206850=!0x0,setDataAttribute:_0x446f45=!0x0}={}){return(_0x517ba5,_0x4ebbf0,_0x117190)=>{const {type:_0x6dc98c,id:_0x4d3e61}=_0x59ba61['_splitMarkerName'](_0x4ebbf0[_0x5974('0x41')]),_0x4c60a8=_0x59ba61['getSuggestion'](_0x4d3e61);if(!_0x4c60a8[_0x5974('0x45')]||'setTableColumnHeader'!=_0x4c60a8[_0x5974('0x45')][_0x5974('0x49')])return;if(_0x4ebbf0['item'])return void _0x517ba5[_0x5974('0x0')]();if(!_0x117190['consumable'][_0x5974('0x3d')](_0x4ebbf0[_0x5974('0x3f')],_0x517ba5[_0x5974('0x2e')]))return;const _0x3d4b1a=_0x4ebbf0[_0x5974('0x3f')][_0x5974('0x3b')][_0x5974('0x2')],_0xcc7870=_0x4ebbf0[_0x5974('0x3f')][_0x5974('0x1e')][_0x5974('0x40')],_0x563bc9=_0x3d4b1a[_0x5974('0xc')][_0x5974('0xc')],{column:_0x806a6}=_0x256893[_0x5974('0x6')](_0x3d4b1a),{column:_0x39be36}=_0x256893[_0x5974('0x6')](_0xcc7870);for(let _0x1deee7=_0x806a6;_0x1deee7<=_0x39be36;_0x1deee7++){const _0x5a4dfc=_0x256893[_0x5974('0x31')](_0x563bc9,{'column':_0x1deee7,'includeAllSlots':!0x1});for(const _0x58b9f of _0x5a4dfc){const _0x147357=_0x58b9f[_0x5974('0x22')],_0x11fb31=_0x117190[_0x5974('0x34')][_0x5974('0x4c')](_0x147357);_0x117190['writer']['addClass']('ck-suggestion-marker-'+_0x6dc98c,_0x11fb31),_0x446f45&&_0x117190[_0x5974('0x35')][_0x5974('0x2d')](_0x5974('0x3a'),_0x4d3e61,_0x11fb31),_0x117190[_0x5974('0x34')]['bindElementToMarker'](_0x11fb31,_0x4ebbf0['markerName']),_0x206850&&(_0x59ba61[_0x5974('0x13')]['includes'](_0x4ebbf0[_0x5974('0x41')])?_0x117190[_0x5974('0x35')][_0x5974('0x24')]('ck-suggestion-marker--active',_0x11fb31):_0x117190[_0x5974('0x35')][_0x5974('0x20')]('ck-suggestion-marker--active',_0x11fb31));}}};}_0x59ba61[_0x5974('0x36')](_0x5974('0xd'),(_0x4d9a2a,_0x3dbb31)=>{const _0x5146c8=_0x256893[_0x5974('0x25')](_0x286395[_0x5974('0x1')][_0x5974('0x4b')][_0x5974('0x1a')]),_0x762510=_0x256893[_0x5974('0x16')](_0x5146c8),_0x1d03ed=_0x5146c8[0x0][_0x5974('0x7')](_0x5974('0x4')),_0x3fbcaa=_0x1d03ed[_0x5974('0x2f')](_0x5974('0x1f'))||0x0,_0x5d3f0d=_0x3dbb31&&null!==_0x3dbb31[_0x5974('0x5')]?_0x3dbb31[_0x5974('0x5')]:!_0x286395['commands'][_0x5974('0x8')]('setTableRowHeader')[_0x5974('0x18')],_0x32978d=_0x5d3f0d?_0x762510[_0x5974('0x11')]:_0x762510['first'],_0x4db051=_0x1d03ed[_0x5974('0x1b')](_0x32978d);let _0x584a09;if(_0x5d3f0d){const _0x1404cb=_0x1d03ed['getChild'](_0x3fbcaa);if(_0x4db051[_0x5974('0x9')]<_0x1404cb['index'])return;_0x584a09=_0x286395['model'][_0x5974('0x1c')](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x1404cb[_0x5974('0x1b')](0x0)),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x4db051['getChild'](_0x4db051[_0x5974('0xf')]-0x1)));}else{const _0x3a295d=_0x1d03ed[_0x5974('0x1b')](_0x3fbcaa-0x1);if(!_0x3a295d)return;_0x584a09=_0x286395[_0x5974('0x1')]['createRange'](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x4db051['getChild'](0x0)),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x3a295d[_0x5974('0x1b')](_0x3a295d[_0x5974('0xf')]-0x1)));}_0x286395[_0x5974('0x1')]['change'](()=>{_0x59ba61[_0x5974('0x19')](_0x584a09,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5d3f0d}]},[],_0x5974('0xd'));});}),_0x59ba61[_0x5974('0x36')](_0x5974('0x3'),(_0x256f93,_0x47b378)=>{const _0x280bbf=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x5974('0xa')),_0xf0fbb=_0x280bbf[_0x5974('0x25')](_0x286395[_0x5974('0x1')]['document'][_0x5974('0x1a')]),_0x579517=_0x280bbf['getColumnIndexes'](_0xf0fbb),_0x93dc9a=_0xf0fbb[0x0][_0x5974('0x7')]('table'),_0x402233=_0x93dc9a[_0x5974('0x2f')](_0x5974('0x2c'))||0x0,_0x42c395=_0x47b378&&null!==_0x47b378[_0x5974('0x5')]?_0x47b378[_0x5974('0x5')]:!_0x286395['commands'][_0x5974('0x8')]('setTableColumnHeader')[_0x5974('0x18')];let _0xe956e9;const _0x26e871=_0x93dc9a[_0x5974('0x1b')](0x0),_0x3e96b8=_0x42c395?_0x579517[_0x5974('0x11')]:_0x579517['first'],_0xd3bdc5=_0x280bbf[_0x5974('0x31')](_0x93dc9a,{'startRow':0x0,'column':_0x3e96b8,'includeAllSlots':!0x1}),_0x21d16b=Array['from'](_0xd3bdc5)[0x0]['cell'];if(_0x42c395){const _0x585d72=_0x26e871[_0x5974('0x1b')](_0x402233);if(_0x21d16b[_0x5974('0x14')](_0x585d72))return;_0xe956e9=_0x286395[_0x5974('0x1')][_0x5974('0x1c')](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x585d72),_0x286395['model'][_0x5974('0x30')](_0x21d16b));}else{const _0x4d9322=_0x26e871[_0x5974('0x1b')](_0x402233-0x1);if(!_0x4d9322)return;_0xe956e9=_0x286395[_0x5974('0x1')][_0x5974('0x1c')](_0x286395['model']['createPositionBefore'](_0x21d16b),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x4d9322));}_0x286395[_0x5974('0x1')][_0x5974('0x17')](()=>{_0x59ba61[_0x5974('0x19')](_0xe956e9,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x42c395}]},[],'setTableColumnHeader');});}),_0x286395[_0x5974('0x12')][_0x5974('0x32')]['on'](_0x5974('0x27'),_0xf5cd34(),{'priority':'highest'}),_0x286395[_0x5974('0x45')][_0x5974('0x32')]['on'](_0x5974('0x27'),(_0x1e4fa4,_0x5f0b9b,_0x382279)=>{_0x382279[_0x5974('0x26')][_0x5974('0x2b')]&&_0xf5cd34({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1e4fa4,_0x5f0b9b,_0x382279);},{'priority':'highest'}),_0x286395[_0x5974('0x12')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4e8678,_0x51a868,_0x3c4df7)=>{const {type:_0x21dea6,id:_0x4b168c}=_0x59ba61['_splitMarkerName'](_0x51a868[_0x5974('0x41')]),_0xe75909=_0x59ba61[_0x5974('0x4e')](_0x4b168c);if(!_0xe75909[_0x5974('0x45')]||_0x5974('0x3')!=_0xe75909['data'][_0x5974('0x49')])return;const _0x51a278=_0x3c4df7[_0x5974('0x34')][_0x5974('0x46')](_0x51a868[_0x5974('0x41')]);if(_0x51a278)for(const _0x353d9b of _0x51a278)_0x3c4df7[_0x5974('0x35')][_0x5974('0x20')](_0x5974('0x38')+_0x21dea6,_0x353d9b),_0x3c4df7[_0x5974('0x35')][_0x5974('0x20')]('ck-suggestion-marker--active',_0x353d9b),_0x3c4df7[_0x5974('0x35')][_0x5974('0x28')](_0x5974('0x3a'),_0x353d9b),_0x3c4df7[_0x5974('0x34')][_0x5974('0x37')](_0x353d9b,_0x51a868[_0x5974('0x41')]);},{'priority':_0x5974('0x2a')}),_0x59ba61['_descriptionFactory'][_0x5974('0x44')](_0x6f891f=>{const {data:_0x3023e7}=_0x6f891f;if(_0x3023e7){if(_0x5974('0xd')==_0x3023e7[_0x5974('0x49')]){const _0x4c1f85=_0x3023e7[_0x5974('0xb')][0x0][_0x5974('0x5')];return _0x6a65b2(_0x1d570c(_0x19753e,_0x4c1f85?'FORMAT_HEADER_ROW':_0x5974('0x43')));}if('setTableColumnHeader'==_0x3023e7[_0x5974('0x49')]){const _0x5023d3=_0x3023e7['commandParams'][0x0][_0x5974('0x5')];return _0x6a65b2(_0x1d570c(_0x19753e,_0x5023d3?_0x5974('0x4d'):_0x5974('0x10')));}}function _0x6a65b2(_0x46181f){return{'type':'format','content':_0x1d570c(_0x19753e,_0x5974('0x1d'),_0x46181f)};}});const _0x189b00=_0x2d4043[_0x5974('0x33')]();_0x59ba61[_0x5974('0x47')][_0x5974('0x23')](_0x5974('0x4a'),_0x5974('0xd'),_0x5974('0x29'),_0x189b00),_0x59ba61['_suggestionFactory'][_0x5974('0x23')](_0x5974('0x4a'),_0x5974('0x3'),_0x5974('0x29'),_0x189b00);}}
23
+ const _0x54c9=['setTableRowHeader','writer','FORMAT_HEADER_ROW','registerCustomCallback','_suggestionFactory','end','format','commandName','createTableWalker','forceValue','headingRows','unbindElementFromMarkerName','removeMarker:suggestion','showSuggestionHighlights','getRowIndexes','getCellLocation','findAncestor','addClass','first','bindElementToMarker','getAttribute','getColumnIndexes','toViewElement','data','document','markerName','get','setTableColumnHeader','includes','FORMAT_REGULAR_ROW','removeClass','_descriptionFactory','editing','nodeAfter','accept','childCount','FORMAT_REGULAR_COLUMN','data-suggestion','commandParams','setAttribute','stop','getChild','markBlockFormat','getSuggestion','markerRange','highest','createPositionBefore','addMarker:suggestion','index','change','table','model','locale','_acceptFormatSuggestionCallbackFactory','activeMarkers','*Format:*\x20%0','selection','createRange','has','commands','formatBlock','cell','getSelectionAffectedTableCells','value','ck-suggestion-marker-','nodeBefore','mapper','parent','afterInit','requires','FORMAT_HEADER_COLUMN','plugins','name','markerNameToElements','_splitMarkerName','TrackChangesEditing','item','TableUtils','editor','downcastDispatcher','headingColumns','ck-suggestion-marker--active','createPositionAfter','consume'];(function(_0x44d950,_0x54c9ad){const _0x1c9a79=function(_0x3d08d3){while(--_0x3d08d3){_0x44d950['push'](_0x44d950['shift']());}};_0x1c9a79(++_0x54c9ad);}(_0x54c9,0x185));const _0x1c9a=function(_0x44d950,_0x54c9ad){_0x44d950=_0x44d950-0x0;let _0x1c9a79=_0x54c9[_0x44d950];return _0x1c9a79;};import{Plugin as _0x468e4d}from'ckeditor5/src/core';import _0x43be6c from'./table';import{getTranslation as _0x48b3ef}from'../utils/common-translations';export default class pt extends _0x468e4d{static get[_0x1c9a('0x10')](){return[_0x43be6c];}[_0x1c9a('0xf')](){const _0xfea6b7=this[_0x1c9a('0x19')];if(!_0xfea6b7[_0x1c9a('0x12')][_0x1c9a('0x5')]('TableEditing'))return;const _0x55a00b=_0xfea6b7[_0x1c9a('0x53')],_0x1efa58=_0xfea6b7[_0x1c9a('0x12')]['get'](_0x1c9a('0x16')),_0x10defe=_0xfea6b7['plugins']['get'](_0x1c9a('0x18')),_0x4ba6b8=_0xfea6b7['plugins'][_0x1c9a('0x39')](_0x43be6c);function _0x415442({showActiveMarker:_0x5c187e=!0x0,setDataAttribute:_0x4e88e8=!0x0}={}){return(_0x508ad5,_0x4b9970,_0x477b4c)=>{const {type:_0x1bb4db,id:_0x319e1b}=_0x1efa58[_0x1c9a('0x15')](_0x4b9970['markerName']),_0x3a6656=_0x1efa58[_0x1c9a('0x4a')](_0x319e1b);if(!_0x3a6656[_0x1c9a('0x36')]||_0x1c9a('0x3a')!=_0x3a6656['data'][_0x1c9a('0x26')])return;if(_0x4b9970[_0x1c9a('0x17')])return void _0x508ad5[_0x1c9a('0x47')]();if(!_0x477b4c['consumable'][_0x1c9a('0x1e')](_0x4b9970[_0x1c9a('0x4b')],_0x508ad5[_0x1c9a('0x13')]))return;const _0x2fec93=_0x4b9970[_0x1c9a('0x4b')]['start'][_0x1c9a('0x40')],_0xcf4561=_0x4b9970[_0x1c9a('0x4b')][_0x1c9a('0x24')][_0x1c9a('0xc')],_0x5b6099=_0x2fec93[_0x1c9a('0xe')]['parent'],{column:_0x350c42}=_0x10defe[_0x1c9a('0x2e')](_0x2fec93),{column:_0x27f60c}=_0x10defe[_0x1c9a('0x2e')](_0xcf4561);for(let _0x324667=_0x350c42;_0x324667<=_0x27f60c;_0x324667++){const _0x248826=_0x10defe[_0x1c9a('0x27')](_0x5b6099,{'column':_0x324667,'includeAllSlots':!0x1});for(const _0x437711 of _0x248826){const _0x7f8d70=_0x437711['cell'],_0x3e0dd1=_0x477b4c[_0x1c9a('0xd')][_0x1c9a('0x35')](_0x7f8d70);_0x477b4c['writer'][_0x1c9a('0x30')](_0x1c9a('0xb')+_0x1bb4db,_0x3e0dd1),_0x4e88e8&&_0x477b4c[_0x1c9a('0x20')][_0x1c9a('0x46')](_0x1c9a('0x44'),_0x319e1b,_0x3e0dd1),_0x477b4c[_0x1c9a('0xd')][_0x1c9a('0x32')](_0x3e0dd1,_0x4b9970[_0x1c9a('0x38')]),_0x5c187e&&(_0x1efa58[_0x1c9a('0x1')][_0x1c9a('0x3b')](_0x4b9970[_0x1c9a('0x38')])?_0x477b4c[_0x1c9a('0x20')][_0x1c9a('0x30')](_0x1c9a('0x1c'),_0x3e0dd1):_0x477b4c[_0x1c9a('0x20')][_0x1c9a('0x3d')](_0x1c9a('0x1c'),_0x3e0dd1));}}};}_0x1efa58['enableCommand'](_0x1c9a('0x1f'),(_0x68d078,_0x44f7ee)=>{const _0x5d460a=_0x10defe[_0x1c9a('0x9')](_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x37')][_0x1c9a('0x3')]),_0x13ef13=_0x10defe[_0x1c9a('0x2d')](_0x5d460a),_0x5c6de0=_0x5d460a[0x0][_0x1c9a('0x2f')]('table'),_0x108266=_0x5c6de0[_0x1c9a('0x33')](_0x1c9a('0x29'))||0x0,_0x420bfb=_0x44f7ee&&null!==_0x44f7ee[_0x1c9a('0x28')]?_0x44f7ee[_0x1c9a('0x28')]:!_0xfea6b7[_0x1c9a('0x6')]['get'](_0x1c9a('0x1f'))[_0x1c9a('0xa')],_0x396400=_0x420bfb?_0x13ef13['last']:_0x13ef13[_0x1c9a('0x31')],_0x556f84=_0x5c6de0[_0x1c9a('0x48')](_0x396400);let _0x230f5a;if(_0x420bfb){const _0x28c3c3=_0x5c6de0[_0x1c9a('0x48')](_0x108266);if(_0x556f84['index']<_0x28c3c3[_0x1c9a('0x4f')])return;_0x230f5a=_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x4')](_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x4d')](_0x28c3c3[_0x1c9a('0x48')](0x0)),_0xfea6b7['model'][_0x1c9a('0x1d')](_0x556f84[_0x1c9a('0x48')](_0x556f84[_0x1c9a('0x42')]-0x1)));}else{const _0x4ab8b3=_0x5c6de0['getChild'](_0x108266-0x1);if(!_0x4ab8b3)return;_0x230f5a=_0xfea6b7[_0x1c9a('0x52')]['createRange'](_0xfea6b7[_0x1c9a('0x52')]['createPositionBefore'](_0x556f84[_0x1c9a('0x48')](0x0)),_0xfea6b7['model'][_0x1c9a('0x1d')](_0x4ab8b3[_0x1c9a('0x48')](_0x4ab8b3[_0x1c9a('0x42')]-0x1)));}_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x50')](()=>{_0x1efa58['markBlockFormat'](_0x230f5a,{'commandName':_0x1c9a('0x1f'),'commandParams':[{'forceValue':_0x420bfb}]},[],_0x1c9a('0x1f'));});}),_0x1efa58['enableCommand'](_0x1c9a('0x3a'),(_0x327ed4,_0x4fa6bf)=>{const _0x125919=_0xfea6b7[_0x1c9a('0x12')][_0x1c9a('0x39')](_0x1c9a('0x18')),_0x30bf9c=_0x125919[_0x1c9a('0x9')](_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x37')][_0x1c9a('0x3')]),_0x43193e=_0x125919[_0x1c9a('0x34')](_0x30bf9c),_0x195871=_0x30bf9c[0x0][_0x1c9a('0x2f')](_0x1c9a('0x51')),_0x280966=_0x195871[_0x1c9a('0x33')](_0x1c9a('0x1b'))||0x0,_0xb70aff=_0x4fa6bf&&null!==_0x4fa6bf[_0x1c9a('0x28')]?_0x4fa6bf[_0x1c9a('0x28')]:!_0xfea6b7[_0x1c9a('0x6')]['get'](_0x1c9a('0x3a'))[_0x1c9a('0xa')];let _0x5388c1;const _0x42aa88=_0x195871[_0x1c9a('0x48')](0x0),_0x3126e2=_0xb70aff?_0x43193e['last']:_0x43193e[_0x1c9a('0x31')],_0x742431=_0x125919[_0x1c9a('0x27')](_0x195871,{'startRow':0x0,'column':_0x3126e2,'includeAllSlots':!0x1}),_0x47cccd=Array['from'](_0x742431)[0x0][_0x1c9a('0x8')];if(_0xb70aff){const _0x37c4d7=_0x42aa88['getChild'](_0x280966);if(_0x47cccd['isBefore'](_0x37c4d7))return;_0x5388c1=_0xfea6b7[_0x1c9a('0x52')]['createRange'](_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x4d')](_0x37c4d7),_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x1d')](_0x47cccd));}else{const _0x3e3f1f=_0x42aa88[_0x1c9a('0x48')](_0x280966-0x1);if(!_0x3e3f1f)return;_0x5388c1=_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x4')](_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x4d')](_0x47cccd),_0xfea6b7[_0x1c9a('0x52')][_0x1c9a('0x1d')](_0x3e3f1f));}_0xfea6b7['model'][_0x1c9a('0x50')](()=>{_0x1efa58[_0x1c9a('0x49')](_0x5388c1,{'commandName':_0x1c9a('0x3a'),'commandParams':[{'forceValue':_0xb70aff}]},[],_0x1c9a('0x3a'));});}),_0xfea6b7[_0x1c9a('0x3f')][_0x1c9a('0x1a')]['on'](_0x1c9a('0x4e'),_0x415442(),{'priority':_0x1c9a('0x4c')}),_0xfea6b7[_0x1c9a('0x36')][_0x1c9a('0x1a')]['on']('addMarker:suggestion',(_0x2a6ba4,_0x871e16,_0x2cd103)=>{_0x2cd103['options'][_0x1c9a('0x2c')]&&_0x415442({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2a6ba4,_0x871e16,_0x2cd103);},{'priority':_0x1c9a('0x4c')}),_0xfea6b7[_0x1c9a('0x3f')][_0x1c9a('0x1a')]['on'](_0x1c9a('0x2b'),(_0x49c5e5,_0x10ce4e,_0x4c5c9a)=>{const {type:_0x25d636,id:_0x160fb7}=_0x1efa58['_splitMarkerName'](_0x10ce4e['markerName']),_0x3c8794=_0x1efa58[_0x1c9a('0x4a')](_0x160fb7);if(!_0x3c8794[_0x1c9a('0x36')]||_0x1c9a('0x3a')!=_0x3c8794[_0x1c9a('0x36')][_0x1c9a('0x26')])return;const _0x579857=_0x4c5c9a['mapper'][_0x1c9a('0x14')](_0x10ce4e['markerName']);if(_0x579857)for(const _0x56af0b of _0x579857)_0x4c5c9a[_0x1c9a('0x20')][_0x1c9a('0x3d')](_0x1c9a('0xb')+_0x25d636,_0x56af0b),_0x4c5c9a[_0x1c9a('0x20')]['removeClass'](_0x1c9a('0x1c'),_0x56af0b),_0x4c5c9a[_0x1c9a('0x20')]['removeAttribute'](_0x1c9a('0x44'),_0x56af0b),_0x4c5c9a[_0x1c9a('0xd')][_0x1c9a('0x2a')](_0x56af0b,_0x10ce4e[_0x1c9a('0x38')]);},{'priority':'highest'}),_0x1efa58[_0x1c9a('0x3e')]['registerDescriptionCallback'](_0x35b60d=>{const {data:_0xd177c9}=_0x35b60d;if(_0xd177c9){if(_0x1c9a('0x1f')==_0xd177c9[_0x1c9a('0x26')]){const _0x595b43=_0xd177c9[_0x1c9a('0x45')][0x0][_0x1c9a('0x28')];return _0xc44393(_0x48b3ef(_0x55a00b,_0x595b43?_0x1c9a('0x21'):_0x1c9a('0x3c')));}if(_0x1c9a('0x3a')==_0xd177c9[_0x1c9a('0x26')]){const _0x51469b=_0xd177c9[_0x1c9a('0x45')][0x0][_0x1c9a('0x28')];return _0xc44393(_0x48b3ef(_0x55a00b,_0x51469b?_0x1c9a('0x11'):_0x1c9a('0x43')));}}function _0xc44393(_0x2bd7a1){return{'type':_0x1c9a('0x25'),'content':_0x48b3ef(_0x55a00b,_0x1c9a('0x2'),_0x2bd7a1)};}});const _0x4d53cc=_0x4ba6b8[_0x1c9a('0x0')]();_0x1efa58[_0x1c9a('0x23')][_0x1c9a('0x22')](_0x1c9a('0x7'),_0x1c9a('0x1f'),_0x1c9a('0x41'),_0x4d53cc),_0x1efa58[_0x1c9a('0x23')]['registerCustomCallback']('formatBlock','setTableColumnHeader',_0x1c9a('0x41'),_0x4d53cc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27b7=['_suggestionFactory','push','length','createRangeOn','trackChanges','registerDescriptionCallback','setSelection','low','accept','highest','TrackChangesEditing','commandName','element','afterInit','size','execute','*Split\x20cell:*\x20horizontally','selection','mergeTableCellRight','change','_tablePostFixingSubtypes','document','insertion','formatBlock','set:isEnabled','getAncestors','getSelectionAffectedTableCells','registerCustomCallback','mergeTableCellDown','requires','cell','$graveyard','forceDefaultExecution','return','has','mergeTableCells','mergeTableCellUp','refresh','format','enableCommand','fromRange','_areSelectedCellsMergable','createTableWalker','detach','add','_isForcedDefaultExecutionBlock','tableCell','plugins','root','from','getSuggestions','findAncestor','mergeTableCellLeft','stop','splitTableCellHorizontally','get','_areMergableCells','*Split\x20cell:*\x20vertically','containsRange','rootName','getFirstPosition','type','_descriptionFactory','isEnabled','find','deletion','markBlockFormat','TableUtils','commands','splitTableCellVertically','getCellLocation','_acceptFormatSuggestionCallbackFactory','getRanges','direction','horizontally','value','model','author','table','editor','locale','filter','map'];(function(_0x2c4bce,_0x27b70c){const _0x2e1be4=function(_0x44d47e){while(--_0x44d47e){_0x2c4bce['push'](_0x2c4bce['shift']());}};_0x2e1be4(++_0x27b70c);}(_0x27b7,0x11e));const _0x2e1b=function(_0x2c4bce,_0x27b70c){_0x2c4bce=_0x2c4bce-0x0;let _0x2e1be4=_0x27b7[_0x2c4bce];return _0x2e1be4;};import{Plugin as _0x13d5a1}from'ckeditor5/src/core';import _0x359feb from'./table';import{LiveRange as _0x7c9dc5}from'ckeditor5/src/engine';import{getTranslation as _0x40a93d}from'../utils/common-translations';export default class dt extends _0x13d5a1{static get[_0x2e1b('0x4b')](){return[_0x359feb];}[_0x2e1b('0x3b')](){const _0x59600b=this[_0x2e1b('0x2a')],_0x37327f=_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')],_0x56ed64=_0x59600b[_0x2e1b('0x2b')];if(!_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x50')]('TableEditing'))return;const _0x190945=_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x38')),_0x16c981=_0x59600b['plugins'][_0x2e1b('0x12')]('TableUtils'),_0x11e821=_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x12')](_0x359feb);_0x11e821[_0x2e1b('0x42')][_0x2e1b('0x2f')]('mergeTableCells'),_0x190945[_0x2e1b('0x2')](_0x2e1b('0x51'),()=>{const _0x314ec9=_0x16c981[_0x2e1b('0x48')](_0x59600b[_0x2e1b('0x27')]['document']['selection']);_0x59600b[_0x2e1b('0x27')]['change'](()=>{_0x190945['markMultiRangeBlockFormat'](_0x314ec9,{'commandName':_0x2e1b('0x51'),'commandParams':[]},[],_0x2e1b('0x51'));});}),_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')]('mergeTableCells')['on'](_0x2e1b('0x3d'),(_0x54d7d3,_0x4a80d0)=>{_0x59600b['commands'][_0x2e1b('0x12')](_0x2e1b('0x32'))[_0x2e1b('0x26')]&&(_0x4a80d0[_0x2e1b('0x30')]>0x0&&_0x4a80d0[_0x4a80d0['length']-0x1]&&_0x4a80d0[_0x4a80d0['length']-0x1][_0x2e1b('0x4e')]||_0x190945[_0x2e1b('0x8')]||this['_areSelectedCellsMergable']()||_0x54d7d3[_0x2e1b('0x10')]());},{'priority':_0x2e1b('0x37')});for(const _0xc3b865 of[_0x2e1b('0x52'),_0x2e1b('0x40'),'mergeTableCellDown','mergeTableCellLeft']){const _0x3aa062=_0x59600b[_0x2e1b('0x1f')]['get'](_0xc3b865);_0x190945[_0x2e1b('0x2')](_0xc3b865,()=>{const _0x4ddb0b=_0x59600b['model'][_0x2e1b('0x43')][_0x2e1b('0x3f')]['getFirstPosition']()[_0x2e1b('0x47')]()[_0x2e1b('0x1b')](_0x4501ab=>_0x4501ab['is'](_0x2e1b('0x3a'),_0x2e1b('0x9'))),_0x19ed0a=_0x3aa062[_0x2e1b('0x26')];_0x59600b['model'][_0x2e1b('0x41')](()=>{_0x190945['markMultiRangeBlockFormat']([_0x4ddb0b,_0x19ed0a],{'commandName':'mergeTableCells','commandParams':[]},[],_0x2e1b('0x51'));});});}for(const _0x1c2a8f of[_0x2e1b('0x20'),_0x2e1b('0x11')]){const _0x4927b0=_0x59600b[_0x2e1b('0x1f')]['get'](_0x1c2a8f);_0x190945[_0x2e1b('0x2')](_0x1c2a8f,()=>{const _0x5272c6=_0x16c981['getSelectionAffectedTableCells'](_0x59600b[_0x2e1b('0x27')]['document'][_0x2e1b('0x3f')])[0x0],_0x21ff8c=_0x5272c6[_0x2e1b('0xe')](_0x2e1b('0x29')),{column:_0x2642bc,row:_0x1a1038}=_0x16c981[_0x2e1b('0x21')](_0x5272c6);let _0x294fe5=[];if(_0x2e1b('0x25')==_0x4927b0[_0x2e1b('0x24')]){const _0x44cdfb=_0x16c981[_0x2e1b('0x5')](_0x21ff8c,{'startRow':_0x1a1038,'endRow':_0x1a1038,'includeAllSlots':!0x0});_0x294fe5=Array[_0x2e1b('0xc')](_0x44cdfb)[_0x2e1b('0x2d')](_0xbfd74f=>_0xbfd74f['cell']);}else{const _0x3155f9=_0x16c981[_0x2e1b('0x5')](_0x21ff8c,{'column':_0x2642bc,'includeAllSlots':!0x0});_0x294fe5=Array[_0x2e1b('0xc')](_0x3155f9)[_0x2e1b('0x2d')](_0x47612a=>_0x47612a[_0x2e1b('0x4c')]);}_0x59600b['model']['change'](_0x3e369d=>{_0x190945[_0x2e1b('0x1d')](_0x3e369d[_0x2e1b('0x31')](_0x5272c6),{'commandName':_0x1c2a8f,'commandParams':[]},_0x294fe5,_0x1c2a8f);});});}_0x190945['_descriptionFactory'][_0x2e1b('0x33')](_0x264214=>{const {data:_0x5c3d86}=_0x264214;if(_0x5c3d86)return'mergeTableCells'==_0x5c3d86[_0x2e1b('0x39')]?{'type':_0x2e1b('0x1'),'content':_0x40a93d(_0x56ed64,'*Merge\x20cells*')}:void 0x0;}),_0x190945[_0x2e1b('0x19')][_0x2e1b('0x33')](_0x1fbdd1=>{const {data:_0x2a8398}=_0x1fbdd1;if(_0x2a8398)return _0x2e1b('0x20')==_0x2a8398[_0x2e1b('0x39')]?{'type':_0x2e1b('0x1'),'content':_0x40a93d(_0x56ed64,_0x2e1b('0x14'))}:_0x2e1b('0x11')==_0x2a8398[_0x2e1b('0x39')]?{'type':'format','content':_0x40a93d(_0x56ed64,_0x2e1b('0x3e'))}:void 0x0;});const _0x3281a6=_0x11e821[_0x2e1b('0x22')]();for(const _0xfb1ceb of[_0x2e1b('0x52'),_0x2e1b('0x40'),_0x2e1b('0x4a'),'mergeTableCellLeft'])_0x190945[_0x2e1b('0x2e')]['registerCustomCallback'](_0x2e1b('0x45'),_0xfb1ceb,_0x2e1b('0x36'),_0x3281a6);for(const _0xab41fa of[_0x2e1b('0x20'),_0x2e1b('0x11')])_0x190945['_suggestionFactory'][_0x2e1b('0x49')](_0x2e1b('0x45'),_0xab41fa,_0x2e1b('0x36'),_0x3281a6);_0x190945[_0x2e1b('0x2e')][_0x2e1b('0x49')](_0x2e1b('0x45'),_0x2e1b('0x51'),'accept',_0x55c572=>{_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x41')](_0x319d70=>{const _0x5c3446=Array[_0x2e1b('0xc')](_0x37327f['getRanges']())[_0x2e1b('0x2d')](_0x252d62=>_0x7c9dc5[_0x2e1b('0x3')](_0x252d62));_0x319d70['setSelection'](_0x55c572),_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')]('mergeTableCells')[_0x2e1b('0x0')](),_0x59600b[_0x2e1b('0x3d')](_0x2e1b('0x51'),{'forceDefaultExecution':!0x0});const _0x2f4b55=_0x5c3446[_0x2e1b('0x2c')](_0x56900c=>_0x2e1b('0x4d')!=_0x56900c[_0x2e1b('0xb')][_0x2e1b('0x16')]);_0x2f4b55[_0x2e1b('0x30')]>0x0&&_0x319d70[_0x2e1b('0x34')](_0x2f4b55);for(const _0x913375 of _0x5c3446)_0x913375[_0x2e1b('0x6')]();});});for(const _0x36981f of['mergeTableCellUp',_0x2e1b('0x4a'),_0x2e1b('0xf'),_0x2e1b('0x40')]){const _0x1a64df=_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')](_0x36981f);_0x1a64df['on'](_0x2e1b('0x46'),(_0x123df2,_0x1bf8d4,_0x52648f)=>{if(_0x52648f){const _0x3e6e0b=_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')][_0x2e1b('0x17')]()[_0x2e1b('0x47')]()[_0x2e1b('0x1b')](_0x5f092e=>_0x5f092e['is'](_0x2e1b('0x3a'),_0x2e1b('0x9')));this[_0x2e1b('0x13')](_0x1a64df[_0x2e1b('0x26')],_0x3e6e0b)||(_0x123df2[_0x2e1b('0x4f')]=!0x1,_0x123df2[_0x2e1b('0x10')]());}},{'priority':_0x2e1b('0x35')});}}[_0x2e1b('0x4')](){const _0xd03d44=this['editor'][_0x2e1b('0x1f')][_0x2e1b('0x12')](_0x2e1b('0x51')),_0x303549=this[_0x2e1b('0x2a')][_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x1e'));if(!_0xd03d44[_0x2e1b('0x1a')])return!0x1;const _0x4ee715=_0x303549[_0x2e1b('0x48')](this[_0x2e1b('0x2a')][_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')]);for(const _0x22daf7 of _0x4ee715)for(const _0x5b8048 of _0x4ee715)if(_0x22daf7!=_0x5b8048&&!this[_0x2e1b('0x13')](_0x22daf7,_0x5b8048))return!0x1;return!0x0;}['_areMergableCells'](_0x40a8c2,_0x33aee5){const _0x3dc846=this[_0x2e1b('0x2a')][_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x38')),_0x527e95=this['editor'][_0x2e1b('0x27')][_0x2e1b('0x31')](_0x40a8c2),_0x54fed9=this[_0x2e1b('0x2a')]['model']['createRangeOn'](_0x33aee5),_0x4dc37e=new Set(),_0x38d0d3=new Set();for(const _0x465145 of _0x3dc846[_0x2e1b('0xd')]())if((_0x2e1b('0x44')==_0x465145['type']||_0x2e1b('0x1c')==_0x465145['type']||_0x2e1b('0x51')==_0x465145['subType'])&&_0x465145['isInContent'])for(const _0x11e455 of _0x465145[_0x2e1b('0x23')]())_0x11e455[_0x2e1b('0x15')](_0x527e95,!0x0)&&_0x4dc37e[_0x2e1b('0x7')](_0x465145[_0x2e1b('0x18')]+':'+_0x465145['author']['id']),_0x11e455[_0x2e1b('0x15')](_0x54fed9,!0x0)&&_0x38d0d3[_0x2e1b('0x7')](_0x465145['type']+':'+_0x465145[_0x2e1b('0x28')]['id']);if(_0x4dc37e[_0x2e1b('0x3c')]!=_0x38d0d3[_0x2e1b('0x3c')])return!0x1;for(const _0x245da6 of _0x4dc37e)if(!_0x38d0d3[_0x2e1b('0x50')](_0x245da6))return!0x1;return!0x0;}}
23
+ const _0xa244=['author','_tablePostFixingSubtypes','_areMergableCells','horizontally','commandName','change','map','_areSelectedCellsMergable','setSelection','_acceptFormatSuggestionCallbackFactory','_isForcedDefaultExecutionBlock','insertion','push','locale','registerDescriptionCallback','formatBlock','selection','deletion','tableCell','type','createRangeOn','subType','root','registerCustomCallback','trackChanges','format','markBlockFormat','filter','document','mergeTableCells','mergeTableCellRight','getSelectionAffectedTableCells','getFirstPosition','execute','isEnabled','_descriptionFactory','_suggestionFactory','cell','mergeTableCellLeft','element','mergeTableCellDown','splitTableCellHorizontally','highest','createTableWalker','getRanges','commands','TableUtils','direction','requires','add','value','find','size','*Split\x20cell:*\x20vertically','findAncestor','TrackChangesEditing','rootName','has','afterInit','enableCommand','forceDefaultExecution','accept','plugins','mergeTableCellUp','table','splitTableCellVertically','from','containsRange','editor','getAncestors','low','get','stop','getSuggestions','model','length','isInContent','$graveyard'];(function(_0x280539,_0xa244ac){const _0x28ab28=function(_0xf6a821){while(--_0xf6a821){_0x280539['push'](_0x280539['shift']());}};_0x28ab28(++_0xa244ac);}(_0xa244,0x10c));const _0x28ab=function(_0x280539,_0xa244ac){_0x280539=_0x280539-0x0;let _0x28ab28=_0xa244[_0x280539];return _0x28ab28;};import{Plugin as _0x5582f2}from'ckeditor5/src/core';import _0x1f41d9 from'./table';import{LiveRange as _0x277c04}from'ckeditor5/src/engine';import{getTranslation as _0x3577fb}from'../utils/common-translations';export default class dt extends _0x5582f2{static get[_0x28ab('0xe')](){return[_0x1f41d9];}[_0x28ab('0x18')](){const _0x50f3c9=this[_0x28ab('0x22')],_0x324aec=_0x50f3c9[_0x28ab('0x28')]['document'][_0x28ab('0x3c')],_0x3b8a8a=_0x50f3c9[_0x28ab('0x39')];if(!_0x50f3c9[_0x28ab('0x1c')][_0x28ab('0x17')]('TableEditing'))return;const _0x21dc02=_0x50f3c9[_0x28ab('0x1c')]['get'](_0x28ab('0x15')),_0x2120ec=_0x50f3c9[_0x28ab('0x1c')][_0x28ab('0x25')](_0x28ab('0xc')),_0x2701d4=_0x50f3c9[_0x28ab('0x1c')]['get'](_0x1f41d9);_0x2701d4[_0x28ab('0x2d')][_0x28ab('0x38')](_0x28ab('0x49')),_0x21dc02[_0x28ab('0x19')](_0x28ab('0x49'),()=>{const _0x46a003=_0x2120ec[_0x28ab('0x4b')](_0x50f3c9['model'][_0x28ab('0x48')][_0x28ab('0x3c')]);_0x50f3c9[_0x28ab('0x28')][_0x28ab('0x31')](()=>{_0x21dc02['markMultiRangeBlockFormat'](_0x46a003,{'commandName':'mergeTableCells','commandParams':[]},[],_0x28ab('0x49'));});}),_0x50f3c9[_0x28ab('0xb')]['get']('mergeTableCells')['on'](_0x28ab('0x4d'),(_0x17bf31,_0x56246f)=>{_0x50f3c9[_0x28ab('0xb')][_0x28ab('0x25')](_0x28ab('0x44'))['value']&&(_0x56246f[_0x28ab('0x29')]>0x0&&_0x56246f[_0x56246f[_0x28ab('0x29')]-0x1]&&_0x56246f[_0x56246f[_0x28ab('0x29')]-0x1][_0x28ab('0x1a')]||_0x21dc02[_0x28ab('0x36')]||this[_0x28ab('0x33')]()||_0x17bf31[_0x28ab('0x26')]());},{'priority':_0x28ab('0x8')});for(const _0x48e229 of[_0x28ab('0x1d'),_0x28ab('0x4a'),_0x28ab('0x6'),_0x28ab('0x4')]){const _0x57a4ba=_0x50f3c9[_0x28ab('0xb')]['get'](_0x48e229);_0x21dc02[_0x28ab('0x19')](_0x48e229,()=>{const _0x46b90d=_0x50f3c9[_0x28ab('0x28')]['document'][_0x28ab('0x3c')][_0x28ab('0x4c')]()['getAncestors']()[_0x28ab('0x11')](_0x206fac=>_0x206fac['is'](_0x28ab('0x5'),_0x28ab('0x3e'))),_0x14ebd1=_0x57a4ba[_0x28ab('0x10')];_0x50f3c9[_0x28ab('0x28')][_0x28ab('0x31')](()=>{_0x21dc02['markMultiRangeBlockFormat']([_0x46b90d,_0x14ebd1],{'commandName':_0x28ab('0x49'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x503010 of[_0x28ab('0x1f'),_0x28ab('0x7')]){const _0x20c2ee=_0x50f3c9[_0x28ab('0xb')][_0x28ab('0x25')](_0x503010);_0x21dc02[_0x28ab('0x19')](_0x503010,()=>{const _0x25ee61=_0x2120ec[_0x28ab('0x4b')](_0x50f3c9[_0x28ab('0x28')][_0x28ab('0x48')][_0x28ab('0x3c')])[0x0],_0x1919bb=_0x25ee61[_0x28ab('0x14')](_0x28ab('0x1e')),{column:_0x1b84a4,row:_0x7cee51}=_0x2120ec['getCellLocation'](_0x25ee61);let _0x15041c=[];if(_0x28ab('0x2f')==_0x20c2ee[_0x28ab('0xd')]){const _0x1c3440=_0x2120ec[_0x28ab('0x9')](_0x1919bb,{'startRow':_0x7cee51,'endRow':_0x7cee51,'includeAllSlots':!0x0});_0x15041c=Array[_0x28ab('0x20')](_0x1c3440)[_0x28ab('0x32')](_0x46b897=>_0x46b897['cell']);}else{const _0x27a5c1=_0x2120ec[_0x28ab('0x9')](_0x1919bb,{'column':_0x1b84a4,'includeAllSlots':!0x0});_0x15041c=Array[_0x28ab('0x20')](_0x27a5c1)[_0x28ab('0x32')](_0x476b48=>_0x476b48[_0x28ab('0x3')]);}_0x50f3c9[_0x28ab('0x28')]['change'](_0x2097ef=>{_0x21dc02[_0x28ab('0x46')](_0x2097ef['createRangeOn'](_0x25ee61),{'commandName':_0x503010,'commandParams':[]},_0x15041c,_0x503010);});});}_0x21dc02['_descriptionFactory'][_0x28ab('0x3a')](_0x67b32f=>{const {data:_0x93bdb4}=_0x67b32f;if(_0x93bdb4)return'mergeTableCells'==_0x93bdb4[_0x28ab('0x30')]?{'type':'format','content':_0x3577fb(_0x3b8a8a,'*Merge\x20cells*')}:void 0x0;}),_0x21dc02[_0x28ab('0x1')]['registerDescriptionCallback'](_0x560574=>{const {data:_0x3399a3}=_0x560574;if(_0x3399a3)return _0x28ab('0x1f')==_0x3399a3[_0x28ab('0x30')]?{'type':_0x28ab('0x45'),'content':_0x3577fb(_0x3b8a8a,_0x28ab('0x13'))}:_0x28ab('0x7')==_0x3399a3[_0x28ab('0x30')]?{'type':_0x28ab('0x45'),'content':_0x3577fb(_0x3b8a8a,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x567fdc=_0x2701d4[_0x28ab('0x35')]();for(const _0x27951e of[_0x28ab('0x1d'),_0x28ab('0x4a'),_0x28ab('0x6'),_0x28ab('0x4')])_0x21dc02['_suggestionFactory'][_0x28ab('0x43')](_0x28ab('0x3b'),_0x27951e,'accept',_0x567fdc);for(const _0x3f8fbd of['splitTableCellVertically',_0x28ab('0x7')])_0x21dc02[_0x28ab('0x2')]['registerCustomCallback'](_0x28ab('0x3b'),_0x3f8fbd,_0x28ab('0x1b'),_0x567fdc);_0x21dc02[_0x28ab('0x2')][_0x28ab('0x43')](_0x28ab('0x3b'),'mergeTableCells',_0x28ab('0x1b'),_0x1d4bbf=>{_0x50f3c9[_0x28ab('0x28')]['change'](_0x4df851=>{const _0x233d94=Array[_0x28ab('0x20')](_0x324aec['getRanges']())[_0x28ab('0x32')](_0x19d424=>_0x277c04['fromRange'](_0x19d424));_0x4df851[_0x28ab('0x34')](_0x1d4bbf),_0x50f3c9[_0x28ab('0xb')][_0x28ab('0x25')](_0x28ab('0x49'))['refresh'](),_0x50f3c9[_0x28ab('0x4d')](_0x28ab('0x49'),{'forceDefaultExecution':!0x0});const _0x4e2abf=_0x233d94[_0x28ab('0x47')](_0x3b45c7=>_0x28ab('0x2b')!=_0x3b45c7[_0x28ab('0x42')][_0x28ab('0x16')]);_0x4e2abf[_0x28ab('0x29')]>0x0&&_0x4df851[_0x28ab('0x34')](_0x4e2abf);for(const _0x2b1271 of _0x233d94)_0x2b1271['detach']();});});for(const _0x169b2e of['mergeTableCellUp',_0x28ab('0x6'),_0x28ab('0x4'),_0x28ab('0x4a')]){const _0x46bf93=_0x50f3c9[_0x28ab('0xb')]['get'](_0x169b2e);_0x46bf93['on']('set:isEnabled',(_0xe657bc,_0x1a59cb,_0x3d7153)=>{if(_0x3d7153){const _0x521b09=_0x50f3c9['model'][_0x28ab('0x48')][_0x28ab('0x3c')][_0x28ab('0x4c')]()[_0x28ab('0x23')]()[_0x28ab('0x11')](_0x10af7f=>_0x10af7f['is'](_0x28ab('0x5'),'tableCell'));this[_0x28ab('0x2e')](_0x46bf93['value'],_0x521b09)||(_0xe657bc['return']=!0x1,_0xe657bc[_0x28ab('0x26')]());}},{'priority':_0x28ab('0x24')});}}[_0x28ab('0x33')](){const _0x3dcb0c=this[_0x28ab('0x22')][_0x28ab('0xb')][_0x28ab('0x25')](_0x28ab('0x49')),_0x14634c=this['editor']['plugins'][_0x28ab('0x25')]('TableUtils');if(!_0x3dcb0c[_0x28ab('0x0')])return!0x1;const _0x14a8a7=_0x14634c[_0x28ab('0x4b')](this[_0x28ab('0x22')][_0x28ab('0x28')][_0x28ab('0x48')]['selection']);for(const _0x376a10 of _0x14a8a7)for(const _0xd6ef0e of _0x14a8a7)if(_0x376a10!=_0xd6ef0e&&!this['_areMergableCells'](_0x376a10,_0xd6ef0e))return!0x1;return!0x0;}[_0x28ab('0x2e')](_0x2106c7,_0x51f287){const _0x3a541c=this[_0x28ab('0x22')][_0x28ab('0x1c')][_0x28ab('0x25')](_0x28ab('0x15')),_0x1bda6e=this[_0x28ab('0x22')][_0x28ab('0x28')][_0x28ab('0x40')](_0x2106c7),_0x49f56b=this[_0x28ab('0x22')][_0x28ab('0x28')]['createRangeOn'](_0x51f287),_0xf4a3e=new Set(),_0x4f603a=new Set();for(const _0x344da7 of _0x3a541c[_0x28ab('0x27')]())if((_0x28ab('0x37')==_0x344da7['type']||_0x28ab('0x3d')==_0x344da7[_0x28ab('0x3f')]||'mergeTableCells'==_0x344da7[_0x28ab('0x41')])&&_0x344da7[_0x28ab('0x2a')])for(const _0x44257c of _0x344da7[_0x28ab('0xa')]())_0x44257c[_0x28ab('0x21')](_0x1bda6e,!0x0)&&_0xf4a3e[_0x28ab('0xf')](_0x344da7['type']+':'+_0x344da7[_0x28ab('0x2c')]['id']),_0x44257c[_0x28ab('0x21')](_0x49f56b,!0x0)&&_0x4f603a[_0x28ab('0xf')](_0x344da7[_0x28ab('0x3f')]+':'+_0x344da7['author']['id']);if(_0xf4a3e[_0x28ab('0x12')]!=_0x4f603a[_0x28ab('0x12')])return!0x1;for(const _0x15d251 of _0xf4a3e)if(!_0x4f603a['has'](_0x15d251))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2da4=['plugins','commands','ELEMENT_TABLE_OF_CONTENTS','afterInit','insertTableOfContents','get','tableOfContents','locale','_descriptionFactory','enableCommand','registerElementLabel'];(function(_0xc20978,_0x2da494){const _0x19237b=function(_0x10cf9c){while(--_0x10cf9c){_0xc20978['push'](_0xc20978['shift']());}};_0x19237b(++_0x2da494);}(_0x2da4,0x96));const _0x1923=function(_0xc20978,_0x2da494){_0xc20978=_0xc20978-0x0;let _0x19237b=_0x2da4[_0xc20978];return _0x19237b;};import{Plugin as _0xa3367a}from'ckeditor5/src/core';import{getTranslation as _0x48ae06}from'../utils/common-translations';export default class bt extends _0xa3367a{[_0x1923('0x7')](){const _0x108b29=this['editor'];if(!_0x108b29[_0x1923('0x5')][_0x1923('0x9')](_0x1923('0x8')))return;_0x108b29['plugins']['get']('TrackChangesEditing')[_0x1923('0x2')](_0x1923('0x8'));const _0x26eeea=_0x108b29[_0x1923('0x4')][_0x1923('0x9')]('TrackChangesEditing'),_0x320408=_0x108b29[_0x1923('0x0')];_0x26eeea[_0x1923('0x1')][_0x1923('0x3')](_0x1923('0xa'),_0x5cab16=>_0x48ae06(_0x320408,_0x1923('0x6'),_0x5cab16));}}
23
+ const _0x1df0=['insertTableOfContents','enableCommand','locale','tableOfContents','get','ELEMENT_TABLE_OF_CONTENTS','plugins','afterInit','TrackChangesEditing','editor'];(function(_0x8000b0,_0x1df040){const _0xa1bae9=function(_0x19698d){while(--_0x19698d){_0x8000b0['push'](_0x8000b0['shift']());}};_0xa1bae9(++_0x1df040);}(_0x1df0,0x85));const _0xa1ba=function(_0x8000b0,_0x1df040){_0x8000b0=_0x8000b0-0x0;let _0xa1bae9=_0x1df0[_0x8000b0];return _0xa1bae9;};import{Plugin as _0x1a0413}from'ckeditor5/src/core';import{getTranslation as _0x4fb066}from'../utils/common-translations';export default class bt extends _0x1a0413{[_0xa1ba('0x4')](){const _0x1f6f61=this[_0xa1ba('0x6')];if(!_0x1f6f61['commands'][_0xa1ba('0x1')](_0xa1ba('0x7')))return;_0x1f6f61[_0xa1ba('0x3')][_0xa1ba('0x1')](_0xa1ba('0x5'))[_0xa1ba('0x8')](_0xa1ba('0x7'));const _0x4a8b4c=_0x1f6f61[_0xa1ba('0x3')][_0xa1ba('0x1')](_0xa1ba('0x5')),_0x7f49fe=_0x1f6f61[_0xa1ba('0x9')];_0x4a8b4c['_descriptionFactory']['registerElementLabel'](_0xa1ba('0x0'),_0x911a4b=>_0x4fb066(_0x7f49fe,_0xa1ba('0x2'),_0x911a4b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x211a=['tableBorderWidth','getAttribute','tableCellPadding','tableWidth','format','tableHeight','getSuggestionCallback','tableCellBorderStyle','editor','get','join','enqueueChange','nodeAfter','discard','handleDiscardAction','registerCustomCallback','_suggestionFactory','getSuggestions','removeAttribute','data','commandParams','tableCellProperties','registerDescriptionCallback','selection','tableCellBorderColor','tableCellHeight','TrackChangesTableProperties','enableCommand','TablePropertiesEditing','tableProperties','afterInit','_handlePropertyChange','model','TableCellPropertiesEditing','table','tableCellWidth','tableBackgroundColor','locale','getFirstPosition','tableBorderStyle','*Format:*\x20change\x20table\x20cell\x20properties','start','_getSuggestion','tableCellBorderWidth','has','accept','plugins','markBlockFormat','subType','formatBlock','document','tableCellVerticalAlignment','change','pluginName','tableCellBackgroundColor'];(function(_0x525bee,_0x211ad7){const _0x335f67=function(_0x5b119a){while(--_0x5b119a){_0x525bee['push'](_0x525bee['shift']());}};_0x335f67(++_0x211ad7);}(_0x211a,0x1be));const _0x335f=function(_0x525bee,_0x211ad7){_0x525bee=_0x525bee-0x0;let _0x335f67=_0x211a[_0x525bee];return _0x335f67;};import{Plugin as _0x3dd014}from'ckeditor5/src/core';import{getTranslation as _0x3ea840}from'../utils/common-translations';export default class Ct extends _0x3dd014{constructor(_0x5b7250){super(_0x5b7250),this[_0x335f('0x17')]=['tableBorderColor',_0x335f('0x21'),_0x335f('0x31'),'tableAlignment',_0x335f('0x34'),_0x335f('0x36'),_0x335f('0x1e')],this[_0x335f('0xf')]=[_0x335f('0x12'),_0x335f('0x1'),_0x335f('0x25'),_0x335f('0x33'),_0x335f('0x1d'),_0x335f('0x13'),_0x335f('0x30'),'tableCellHorizontalAlignment',_0x335f('0x2d')];}static get[_0x335f('0x2f')](){return _0x335f('0x14');}[_0x335f('0x18')](){const _0x1fed04=this['editor'][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');if(this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x26')](_0x335f('0x16'))){for(const _0x225252 of this[_0x335f('0x17')])_0x1fed04[_0x335f('0x15')](_0x225252,(_0x406ff9,_0x1abab0)=>{const _0x242480=this['editor'][_0x335f('0x1a')]['document']['selection'][_0x335f('0x20')]()['findAncestor'](_0x335f('0x1c'));this[_0x335f('0x19')](_0x225252,[_0x242480],this['tableProperties'],_0x335f('0x17'),_0x406ff9,_0x1abab0);});_0x1fed04[_0x335f('0xa')][_0x335f('0x9')](_0x335f('0x2b'),'tableProperties','accept',_0x1fed04[_0x335f('0xa')]['getSuggestionCallback'](_0x335f('0x2b'),null,'discard')),_0x1fed04[_0x335f('0xa')]['registerCustomCallback'](_0x335f('0x2b'),_0x335f('0x17'),_0x335f('0x7'),(_0x69d846,_0x34bd9f)=>this[_0x335f('0x8')](this[_0x335f('0x17')],_0x69d846,_0x34bd9f)),_0x1fed04[_0x335f('0xa')][_0x335f('0x9')]('formatBlock',_0x335f('0x17'),_0x335f('0x4'),()=>!0x1);}if(this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x26')](_0x335f('0x1b'))){for(const _0x1bdc62 of this[_0x335f('0xf')])_0x1fed04['enableCommand'](_0x1bdc62,(_0x2911c1,_0x1057ed)=>{const _0x2b6824=this[_0x335f('0x2')][_0x335f('0x28')]['get']('TableUtils')['getSelectionAffectedTableCells'](this[_0x335f('0x2')][_0x335f('0x1a')][_0x335f('0x2c')][_0x335f('0x11')]);this[_0x335f('0x19')](_0x1bdc62,_0x2b6824,this[_0x335f('0xf')],_0x335f('0xf'),_0x2911c1,_0x1057ed);});_0x1fed04[_0x335f('0xa')][_0x335f('0x9')](_0x335f('0x2b'),'tableCellProperties',_0x335f('0x27'),_0x1fed04[_0x335f('0xa')][_0x335f('0x0')](_0x335f('0x2b'),null,'discard')),_0x1fed04['_suggestionFactory'][_0x335f('0x9')](_0x335f('0x2b'),'tableCellProperties','discard',(_0x24e8db,_0x42c000)=>this['handleDiscardAction'](this[_0x335f('0xf')],_0x24e8db,_0x42c000)),_0x1fed04['_suggestionFactory'][_0x335f('0x9')](_0x335f('0x2b'),_0x335f('0xf'),_0x335f('0x4'),()=>!0x1);}_0x1fed04['_descriptionFactory'][_0x335f('0x10')](_0x20db43=>this['handleSuggestionDescription'](_0x20db43));}[_0x335f('0x19')](_0x47eadb,_0x31cbaa,_0x56a995,_0x21a5b9,_0x2a12a6,_0x5807e3){const _0x16790b=this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');this[_0x335f('0x2')]['model'][_0x335f('0x5')](_0x5807e3['batch'],()=>{for(const _0x246608 of _0x31cbaa){if(this['_getSuggestion'](_0x246608,_0x21a5b9))_0x2a12a6(_0x5807e3);else{const _0x1c21ce={};for(const _0x4b0d2d of _0x56a995){const _0x46d03b=_0x246608[_0x335f('0x32')](_0x4b0d2d);void 0x0!==_0x46d03b&&(_0x1c21ce[_0x4b0d2d]=_0x46d03b);}_0x2a12a6(_0x5807e3),_0x16790b[_0x335f('0x29')](_0x246608,{'commandParams':[_0x1c21ce]},[],_0x21a5b9);}}});}[_0x335f('0x8')](_0x325ad5,_0x2dc63d,_0x4dc3a3){const _0x57bc37=_0x2dc63d[0x0][_0x335f('0x23')][_0x335f('0x6')],_0x3d6996=_0x4dc3a3[_0x335f('0xe')][0x0];this[_0x335f('0x2')]['model'][_0x335f('0x2e')](_0x39bdb7=>{for(const _0x1ace60 of _0x325ad5)void 0x0!==_0x3d6996[_0x1ace60]?_0x39bdb7['setAttribute'](_0x1ace60,_0x3d6996[_0x1ace60],_0x57bc37):_0x39bdb7[_0x335f('0xc')](_0x1ace60,_0x57bc37);});}['handleSuggestionDescription'](_0x1e1b0f){if(_0x1e1b0f[_0x335f('0xd')])switch(_0x1e1b0f[_0x335f('0x2a')]){case _0x335f('0x17'):return{'type':_0x335f('0x35'),'content':_0x3ea840(this[_0x335f('0x2')][_0x335f('0x1f')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x335f('0x35'),'content':_0x3ea840(this[_0x335f('0x2')][_0x335f('0x1f')],_0x335f('0x22'))};}}[_0x335f('0x24')](_0x4d1db5,_0x994221){const _0x23d153=this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');for(const _0x13f957 of _0x23d153[_0x335f('0xb')]({'skipNotAttached':!0x0})){const _0xb5eb5e=_0x13f957['getContainedElement']();if(_0x13f957['subType']===_0x994221&&_0xb5eb5e===_0x4d1db5)return _0x13f957;}return null;}}
23
+ const _0x5e1a=['_descriptionFactory','tableCellBorderStyle','getContainedElement','getFirstPosition','tableCellBorderColor','tableProperties','tableCellWidth','subType','findAncestor','tableCellProperties','format','getSuggestionCallback','registerDescriptionCallback','getSelectionAffectedTableCells','handleDiscardAction','has','tableHeight','_handlePropertyChange','model','commandParams','table','tableBackgroundColor','pluginName','tableBorderStyle','registerCustomCallback','formatBlock','*Format:*\x20change\x20table\x20properties','_suggestionFactory','join','TrackChangesTableProperties','start','tableAlignment','editor','afterInit','markBlockFormat','plugins','selection','tableCellPadding','TablePropertiesEditing','TableCellPropertiesEditing','TableUtils','enableCommand','removeAttribute','accept','getSuggestions','tableBorderWidth','tableCellBorderWidth','tableCellBackgroundColor','TrackChangesEditing','_getSuggestion','tableCellVerticalAlignment','document','discard','get','getAttribute','batch','enqueueChange','change'];(function(_0x138ce7,_0x5e1aaa){const _0x6946f3=function(_0x177e0e){while(--_0x177e0e){_0x138ce7['push'](_0x138ce7['shift']());}};_0x6946f3(++_0x5e1aaa);}(_0x5e1a,0xb6));const _0x6946=function(_0x138ce7,_0x5e1aaa){_0x138ce7=_0x138ce7-0x0;let _0x6946f3=_0x5e1a[_0x138ce7];return _0x6946f3;};import{Plugin as _0x1c4994}from'ckeditor5/src/core';import{getTranslation as _0xb916dc}from'../utils/common-translations';export default class Ct extends _0x1c4994{constructor(_0x427b43){super(_0x427b43),this[_0x6946('0x37')]=['tableBorderColor',_0x6946('0xf'),_0x6946('0x25'),_0x6946('0x17'),'tableWidth',_0x6946('0x8'),_0x6946('0xd')],this['tableCellProperties']=[_0x6946('0x36'),_0x6946('0x33'),_0x6946('0x26'),_0x6946('0x1d'),_0x6946('0x38'),'tableCellHeight',_0x6946('0x27'),'tableCellHorizontalAlignment',_0x6946('0x2a')];}static get[_0x6946('0xe')](){return _0x6946('0x15');}[_0x6946('0x19')](){const _0x4c1530=this[_0x6946('0x18')][_0x6946('0x1b')][_0x6946('0x2d')](_0x6946('0x28'));if(this[_0x6946('0x18')][_0x6946('0x1b')][_0x6946('0x7')](_0x6946('0x1e'))){for(const _0x1f826f of this[_0x6946('0x37')])_0x4c1530[_0x6946('0x21')](_0x1f826f,(_0x5490da,_0x4dd60c)=>{const _0x35c8ea=this['editor']['model'][_0x6946('0x2b')][_0x6946('0x1c')][_0x6946('0x35')]()[_0x6946('0x0')](_0x6946('0xc'));this['_handlePropertyChange'](_0x1f826f,[_0x35c8ea],this[_0x6946('0x37')],_0x6946('0x37'),_0x5490da,_0x4dd60c);});_0x4c1530[_0x6946('0x13')][_0x6946('0x10')]('formatBlock',_0x6946('0x37'),_0x6946('0x23'),_0x4c1530[_0x6946('0x13')][_0x6946('0x3')]('formatBlock',null,_0x6946('0x2c'))),_0x4c1530[_0x6946('0x13')][_0x6946('0x10')](_0x6946('0x11'),_0x6946('0x37'),'discard',(_0x5e3860,_0x43ffc1)=>this[_0x6946('0x6')](this[_0x6946('0x37')],_0x5e3860,_0x43ffc1)),_0x4c1530['_suggestionFactory'][_0x6946('0x10')]('formatBlock','tableProperties',_0x6946('0x14'),()=>!0x1);}if(this[_0x6946('0x18')][_0x6946('0x1b')][_0x6946('0x7')](_0x6946('0x1f'))){for(const _0x44bc37 of this['tableCellProperties'])_0x4c1530[_0x6946('0x21')](_0x44bc37,(_0x21f3e9,_0x545503)=>{const _0x208a65=this[_0x6946('0x18')][_0x6946('0x1b')][_0x6946('0x2d')](_0x6946('0x20'))[_0x6946('0x5')](this[_0x6946('0x18')][_0x6946('0xa')][_0x6946('0x2b')][_0x6946('0x1c')]);this[_0x6946('0x9')](_0x44bc37,_0x208a65,this[_0x6946('0x1')],_0x6946('0x1'),_0x21f3e9,_0x545503);});_0x4c1530[_0x6946('0x13')][_0x6946('0x10')](_0x6946('0x11'),'tableCellProperties',_0x6946('0x23'),_0x4c1530[_0x6946('0x13')][_0x6946('0x3')](_0x6946('0x11'),null,_0x6946('0x2c'))),_0x4c1530[_0x6946('0x13')][_0x6946('0x10')]('formatBlock',_0x6946('0x1'),_0x6946('0x2c'),(_0x56acaa,_0x2fe66f)=>this['handleDiscardAction'](this[_0x6946('0x1')],_0x56acaa,_0x2fe66f)),_0x4c1530[_0x6946('0x13')][_0x6946('0x10')](_0x6946('0x11'),_0x6946('0x1'),_0x6946('0x14'),()=>!0x1);}_0x4c1530[_0x6946('0x32')][_0x6946('0x4')](_0x43a6fb=>this['handleSuggestionDescription'](_0x43a6fb));}[_0x6946('0x9')](_0x609b5c,_0x1531d8,_0x25822d,_0x2ed0d3,_0x12f653,_0x163d1c){const _0x46cd6c=this[_0x6946('0x18')]['plugins'][_0x6946('0x2d')]('TrackChangesEditing');this[_0x6946('0x18')]['model'][_0x6946('0x30')](_0x163d1c[_0x6946('0x2f')],()=>{for(const _0x5a39e8 of _0x1531d8){if(this[_0x6946('0x29')](_0x5a39e8,_0x2ed0d3))_0x12f653(_0x163d1c);else{const _0x527283={};for(const _0x5dcc93 of _0x25822d){const _0x5a6261=_0x5a39e8[_0x6946('0x2e')](_0x5dcc93);void 0x0!==_0x5a6261&&(_0x527283[_0x5dcc93]=_0x5a6261);}_0x12f653(_0x163d1c),_0x46cd6c[_0x6946('0x1a')](_0x5a39e8,{'commandParams':[_0x527283]},[],_0x2ed0d3);}}});}[_0x6946('0x6')](_0x1453ad,_0x551dbf,_0x18867a){const _0x5e9126=_0x551dbf[0x0][_0x6946('0x16')]['nodeAfter'],_0x4ba0bd=_0x18867a[_0x6946('0xb')][0x0];this['editor']['model'][_0x6946('0x31')](_0xd9cc37=>{for(const _0x33022d of _0x1453ad)void 0x0!==_0x4ba0bd[_0x33022d]?_0xd9cc37['setAttribute'](_0x33022d,_0x4ba0bd[_0x33022d],_0x5e9126):_0xd9cc37[_0x6946('0x22')](_0x33022d,_0x5e9126);});}['handleSuggestionDescription'](_0x55a6d7){if(_0x55a6d7['data'])switch(_0x55a6d7[_0x6946('0x39')]){case _0x6946('0x37'):return{'type':_0x6946('0x2'),'content':_0xb916dc(this[_0x6946('0x18')]['locale'],_0x6946('0x12'))};case _0x6946('0x1'):return{'type':_0x6946('0x2'),'content':_0xb916dc(this[_0x6946('0x18')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x6946('0x29')](_0x2bcce7,_0x15abc8){const _0x13756b=this['editor'][_0x6946('0x1b')][_0x6946('0x2d')](_0x6946('0x28'));for(const _0x6cb915 of _0x13756b[_0x6946('0x24')]({'skipNotAttached':!0x0})){const _0x1e0200=_0x6cb915[_0x6946('0x34')]();if(_0x6cb915['subType']===_0x15abc8&&_0x1e0200===_0x2bcce7)return _0x6cb915;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5043=['TrackChangesEditing','insertTemplate','get','editor','plugins','has','afterInit'];(function(_0x127743,_0x504377){const _0x370065=function(_0x34dfe4){while(--_0x34dfe4){_0x127743['push'](_0x127743['shift']());}};_0x370065(++_0x504377);}(_0x5043,0xb1));const _0x3700=function(_0x127743,_0x504377){_0x127743=_0x127743-0x0;let _0x370065=_0x5043[_0x127743];return _0x370065;};import{Plugin as _0x9d0f0b}from'ckeditor5/src/core';export default class yt extends _0x9d0f0b{[_0x3700('0x4')](){const _0x33905b=this[_0x3700('0x1')];_0x33905b['plugins'][_0x3700('0x3')]('Template')&&_0x33905b[_0x3700('0x2')][_0x3700('0x0')](_0x3700('0x5'))['enableCommand'](_0x3700('0x6'));}}
23
+ const _0x2b83=['enableCommand','insertTemplate','plugins','has','Template','get','afterInit'];(function(_0x18a2c4,_0x2b83d2){const _0x436c86=function(_0x8b86c1){while(--_0x8b86c1){_0x18a2c4['push'](_0x18a2c4['shift']());}};_0x436c86(++_0x2b83d2);}(_0x2b83,0xcb));const _0x436c=function(_0x18a2c4,_0x2b83d2){_0x18a2c4=_0x18a2c4-0x0;let _0x436c86=_0x2b83[_0x18a2c4];return _0x436c86;};import{Plugin as _0x5840e2}from'ckeditor5/src/core';export default class yt extends _0x5840e2{[_0x436c('0x6')](){const _0x4c071b=this['editor'];_0x4c071b[_0x436c('0x2')][_0x436c('0x3')](_0x436c('0x4'))&&_0x4c071b[_0x436c('0x2')][_0x436c('0x5')]('TrackChangesEditing')[_0x436c('0x0')](_0x436c('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a5=['editor','createRange','_splitMarkerName','plugins','getChangedMarkers','updateMarker','TrackChangesEditing','document','suggestion','_descriptionFactory','removeMarker','newRange','start','model','differ','from','registerElementLabel','getNearestSelectionRange','schema','get','locale','isCollapsed','registerPostFixer','end','isEqual','title-content'];(function(_0xb6369b,_0x15a534){const _0x54b4e4=function(_0xe5c7fa){while(--_0xe5c7fa){_0xb6369b['push'](_0xb6369b['shift']());}};_0x54b4e4(++_0x15a534);}(_0x15a5,0x93));const _0x54b4=function(_0xb6369b,_0x15a534){_0xb6369b=_0xb6369b-0x0;let _0x54b4e4=_0x15a5[_0xb6369b];return _0x54b4e4;};import{Plugin as _0x483e3b}from'ckeditor5/src/core';import{getTranslation as _0x26384d}from'../utils/common-translations';export default class St extends _0x483e3b{['afterInit'](){const _0x486900=this[_0x54b4('0x9')];if(!_0x486900['plugins']['has']('Title'))return;const _0x2da380=_0x486900[_0x54b4('0xc')][_0x54b4('0x2')](_0x54b4('0xf'));_0x2da380[_0x54b4('0x12')][_0x54b4('0x19')]('title-content',()=>_0x26384d(_0x486900[_0x54b4('0x3')],'ELEMENT_TITLE')),_0x486900[_0x54b4('0x16')][_0x54b4('0x10')][_0x54b4('0x5')](_0x127055=>{let _0x1152d7=!0x1;const _0x12d371=Array[_0x54b4('0x18')](_0x486900['model'][_0x54b4('0x10')][_0x54b4('0x17')][_0x54b4('0xd')]());for(const {name:_0xd6bbd5,data:_0x26a625}of _0x12d371){const {group:_0x4dc33c}=_0x2da380[_0x54b4('0xb')](_0xd6bbd5);if(_0x54b4('0x11')!==_0x4dc33c||!_0x26a625[_0x54b4('0x14')])continue;const _0x3b9f32=_0x26a625[_0x54b4('0x14')],_0x17f42f=_0x3b9f32[_0x54b4('0x6')]['nodeBefore'];if(!_0x17f42f||!_0x17f42f['is']('element',_0x54b4('0x8')))continue;if(!_0x3b9f32['start']['isTouching'](_0x3b9f32[_0x54b4('0x6')]))continue;const _0x2149b5=_0x486900[_0x54b4('0x16')][_0x54b4('0x1')][_0x54b4('0x0')](_0x3b9f32[_0x54b4('0x6')],'forward');if(_0x2149b5&&_0x2149b5[_0x54b4('0x4')]){const _0x2cab58=_0x127055[_0x54b4('0xa')](_0x3b9f32[_0x54b4('0x15')],_0x2149b5['start']);_0x2cab58[_0x54b4('0x7')](_0x3b9f32)||(_0x127055[_0x54b4('0xe')](_0xd6bbd5,{'range':_0x2cab58}),_0x1152d7=!0x0);}_0x1152d7||(_0x127055[_0x54b4('0x13')](_0xd6bbd5),_0x1152d7=!0x0);}return _0x1152d7;});}}
23
+ const _0x4c72=['locale','differ','isTouching','_descriptionFactory','plugins','isCollapsed','model','_splitMarkerName','title-content','document','suggestion','removeMarker','registerElementLabel','newRange','start','get','isEqual','ELEMENT_TITLE','getChangedMarkers','schema','forward','end','nodeBefore','updateMarker','Title','afterInit','getNearestSelectionRange','editor'];(function(_0x7a8d4,_0x4c72f7){const _0x5400ff=function(_0x148b3f){while(--_0x148b3f){_0x7a8d4['push'](_0x7a8d4['shift']());}};_0x5400ff(++_0x4c72f7);}(_0x4c72,0x65));const _0x5400=function(_0x7a8d4,_0x4c72f7){_0x7a8d4=_0x7a8d4-0x0;let _0x5400ff=_0x4c72[_0x7a8d4];return _0x5400ff;};import{Plugin as _0x30b219}from'ckeditor5/src/core';import{getTranslation as _0x41f470}from'../utils/common-translations';export default class St extends _0x30b219{[_0x5400('0x8')](){const _0x429bf2=this[_0x5400('0xa')];if(!_0x429bf2[_0x5400('0xf')]['has'](_0x5400('0x7')))return;const _0x202b3=_0x429bf2[_0x5400('0xf')][_0x5400('0x1a')]('TrackChangesEditing');_0x202b3[_0x5400('0xe')][_0x5400('0x17')](_0x5400('0x13'),()=>_0x41f470(_0x429bf2[_0x5400('0xb')],_0x5400('0x0'))),_0x429bf2[_0x5400('0x11')]['document']['registerPostFixer'](_0x5ac43f=>{let _0x55f5f2=!0x1;const _0x3e43cb=Array['from'](_0x429bf2[_0x5400('0x11')][_0x5400('0x14')][_0x5400('0xc')][_0x5400('0x1')]());for(const {name:_0x12df95,data:_0x57dc9b}of _0x3e43cb){const {group:_0xb78e1f}=_0x202b3[_0x5400('0x12')](_0x12df95);if(_0x5400('0x15')!==_0xb78e1f||!_0x57dc9b[_0x5400('0x18')])continue;const _0x5b9ec4=_0x57dc9b[_0x5400('0x18')],_0x38d337=_0x5b9ec4[_0x5400('0x4')][_0x5400('0x5')];if(!_0x38d337||!_0x38d337['is']('element',_0x5400('0x13')))continue;if(!_0x5b9ec4[_0x5400('0x19')][_0x5400('0xd')](_0x5b9ec4['end']))continue;const _0xe3a9a2=_0x429bf2[_0x5400('0x11')][_0x5400('0x2')][_0x5400('0x9')](_0x5b9ec4[_0x5400('0x4')],_0x5400('0x3'));if(_0xe3a9a2&&_0xe3a9a2[_0x5400('0x10')]){const _0x59fd51=_0x5ac43f['createRange'](_0x5b9ec4[_0x5400('0x19')],_0xe3a9a2[_0x5400('0x19')]);_0x59fd51[_0x5400('0x1b')](_0x5b9ec4)||(_0x5ac43f[_0x5400('0x6')](_0x12df95,{'range':_0x59fd51}),_0x55f5f2=!0x0);}_0x55f5f2||(_0x5ac43f[_0x5400('0x16')](_0x12df95),_0x55f5f2=!0x0);}return _0x55f5f2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44bf=['has','editor','plugins','redo','afterInit','get','enableCommand'];(function(_0x540a08,_0x44bffa){const _0x4c6cf7=function(_0x258d3a){while(--_0x258d3a){_0x540a08['push'](_0x540a08['shift']());}};_0x4c6cf7(++_0x44bffa);}(_0x44bf,0x1c5));const _0x4c6c=function(_0x540a08,_0x44bffa){_0x540a08=_0x540a08-0x0;let _0x4c6cf7=_0x44bf[_0x540a08];return _0x4c6cf7;};import{Plugin as _0x573b37}from'ckeditor5/src/core';export default class It extends _0x573b37{[_0x4c6c('0x6')](){const _0x55dcdc=this[_0x4c6c('0x3')],_0x250069=_0x55dcdc[_0x4c6c('0x4')][_0x4c6c('0x0')]('TrackChangesEditing');_0x55dcdc[_0x4c6c('0x4')][_0x4c6c('0x2')]('UndoEditing')&&(_0x250069[_0x4c6c('0x1')]('undo'),_0x250069[_0x4c6c('0x1')](_0x4c6c('0x5')));}}
23
+ const _0x1165=['has','TrackChangesEditing','editor','redo','plugins','enableCommand','UndoEditing'];(function(_0x227c92,_0x1165d8){const _0x2f87ab=function(_0x2a62a3){while(--_0x2a62a3){_0x227c92['push'](_0x227c92['shift']());}};_0x2f87ab(++_0x1165d8);}(_0x1165,0xf4));const _0x2f87=function(_0x227c92,_0x1165d8){_0x227c92=_0x227c92-0x0;let _0x2f87ab=_0x1165[_0x227c92];return _0x2f87ab;};import{Plugin as _0x4fdd74}from'ckeditor5/src/core';export default class It extends _0x4fdd74{['afterInit'](){const _0x3081e2=this[_0x2f87('0x3')],_0x27c569=_0x3081e2[_0x2f87('0x5')]['get'](_0x2f87('0x2'));_0x3081e2[_0x2f87('0x5')][_0x2f87('0x1')](_0x2f87('0x0'))&&(_0x27c569['enableCommand']('undo'),_0x27c569[_0x2f87('0x6')](_0x2f87('0x4')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57c4=['mapper','toViewElement','isAtEnd','writer','previousPosition','includes','elementEnd','getItems','nextSibling','addClass','start','hasAttribute','consumable','insert','model','push','get','activeMarkers','ck-suggestion-marker-','TrackChangesEditing','listItem','listIndent','element','markerRange','name','isContent','test','type','plugins','span','parent','bindElementToMarker','schema','getWalker'];(function(_0x48e9fa,_0x57c4ef){const _0x209fb0=function(_0x13427e){while(--_0x13427e){_0x48e9fa['push'](_0x48e9fa['shift']());}};_0x209fb0(++_0x57c4ef);}(_0x57c4,0x196));const _0x209f=function(_0x48e9fa,_0x57c4ef){_0x48e9fa=_0x48e9fa-0x0;let _0x209fb0=_0x57c4[_0x48e9fa];return _0x209fb0;};export function getRangesWithAttribute(_0x577a44,_0x18445a,_0x3c9c17){const _0x4956d0=[];for(const _0x475490 of _0x18445a[_0x209f('0x9')]())_0x475490[_0x209f('0xd')](_0x577a44)&&_0x4956d0[_0x209f('0x11')](_0x3c9c17['createRangeOn'](_0x475490));return _0x4956d0;}export function getElementsAffectedByListItemRename(_0x3d4c3d){const _0x55469f=[];if(_0x3d4c3d['is'](_0x209f('0x18'),_0x209f('0x16'))){let _0x753bff=_0x3d4c3d[_0x209f('0xa')];for(;_0x753bff&&_0x753bff['is'](_0x209f('0x18'),_0x209f('0x16'))&&_0x753bff['getAttribute'](_0x209f('0x17'))>0x0;)_0x55469f['push'](_0x753bff),_0x753bff=_0x753bff[_0x209f('0xa')];}return _0x55469f;}export function downcastSplitMergeMarker(_0x2638df,_0x1164d0,{showActiveMarker:_0x35945e=!0x0}={}){const _0x122efb=_0x2638df[_0x209f('0x1e')][_0x209f('0x12')](_0x209f('0x15'));return(_0x2e38f8,_0x4d4f14,_0xb0fa19)=>{if(!_0xb0fa19[_0x209f('0xe')][_0x209f('0x1c')](_0x4d4f14['markerRange'],_0x2e38f8[_0x209f('0x1a')]))return;const _0x82d2f1=_0x4d4f14['markerRange'][_0x209f('0x1')](),_0x523e75=_0x4d4f14[_0x209f('0x19')][_0x209f('0xc')],_0x30ee7f=_0x2638df[_0x209f('0x10')][_0x209f('0x0')];let _0x2282a8=null,_0x397718=null,_0x5693d6=!0x1,_0x2f8d80=!0x1;for(const _0x8ec43a of _0x82d2f1){const _0x2a217c=_0x8ec43a['item'];_0x5693d6=_0x5693d6||_0x30ee7f[_0x209f('0x1b')](_0x2a217c);const _0x7f4ff1=_0xb0fa19[_0x209f('0x2')][_0x209f('0x3')](_0x2a217c);if(_0x7f4ff1&&_0x7f4ff1['getCustomProperty']('addHighlight'))return;_0x209f('0x8')==_0x8ec43a[_0x209f('0x1d')]&&(_0x30ee7f['isBlock'](_0x2a217c)&&!_0x30ee7f['isLimit'](_0x2a217c)&&(_0x2a217c[_0x209f('0xa')]||_0x523e75[_0x209f('0x4')]?_0x2282a8&&_0x2282a8[_0x209f('0x20')]==_0x2a217c||(_0x2282a8=_0x2a217c,_0x9dfdcf(_0x8ec43a[_0x209f('0x6')]),_0x2f8d80=!0x0):_0x397718=_0x397718||_0x8ec43a['previousPosition']));}function _0x9dfdcf(_0xcd76f9){const _0x8a94da=_0xb0fa19['writer']['createUIElement'](_0x209f('0x1f'),{'class':_0x209f('0x14')+_0x1164d0}),_0x504c98=_0xb0fa19[_0x209f('0x2')]['toViewPosition'](_0xcd76f9);_0x35945e&&_0x122efb[_0x209f('0x13')][_0x209f('0x7')](_0x4d4f14['markerName'])&&_0xb0fa19[_0x209f('0x5')][_0x209f('0xb')]('ck-suggestion-marker--active',_0x8a94da),_0xb0fa19[_0x209f('0x5')][_0x209f('0xf')](_0x504c98,_0x8a94da),_0xb0fa19[_0x209f('0x2')][_0x209f('0x21')](_0x8a94da,_0x4d4f14['markerName']);}_0x5693d6||_0x2f8d80||!_0x397718||_0x9dfdcf(_0x397718);};}
23
+ const _0x3f59=['getAttribute','mapper','getWalker','test','listIndent','toViewPosition','activeMarkers','model','isLimit','includes','start','nextSibling','listItem','get','writer','ck-suggestion-marker--active','isContent','hasAttribute','markerRange','element','TrackChangesEditing','getItems','push','previousPosition','item','bindElementToMarker','addHighlight','markerName','addClass','elementEnd','ck-suggestion-marker-','createUIElement','schema','isAtEnd','parent','insert','plugins','toViewElement','createRangeOn','getCustomProperty','isBlock'];(function(_0x251d58,_0x3f59b5){const _0x4935a9=function(_0x2a4c15){while(--_0x2a4c15){_0x251d58['push'](_0x251d58['shift']());}};_0x4935a9(++_0x3f59b5);}(_0x3f59,0x100));const _0x4935=function(_0x251d58,_0x3f59b5){_0x251d58=_0x251d58-0x0;let _0x4935a9=_0x3f59[_0x251d58];return _0x4935a9;};export function getRangesWithAttribute(_0x10eab9,_0x481a09,_0x5a404f){const _0x52e65a=[];for(const _0x44dcb1 of _0x481a09[_0x4935('0xb')]())_0x44dcb1[_0x4935('0x7')](_0x10eab9)&&_0x52e65a[_0x4935('0xc')](_0x5a404f[_0x4935('0x1c')](_0x44dcb1));return _0x52e65a;}export function getElementsAffectedByListItemRename(_0x3ba2bf){const _0x419d01=[];if(_0x3ba2bf['is'](_0x4935('0x9'),_0x4935('0x2'))){let _0x1efaf0=_0x3ba2bf[_0x4935('0x1')];for(;_0x1efaf0&&_0x1efaf0['is'](_0x4935('0x9'),_0x4935('0x2'))&&_0x1efaf0[_0x4935('0x1f')](_0x4935('0x23'))>0x0;)_0x419d01[_0x4935('0xc')](_0x1efaf0),_0x1efaf0=_0x1efaf0['nextSibling'];}return _0x419d01;}export function downcastSplitMergeMarker(_0x7ef719,_0x1c98b5,{showActiveMarker:_0x5ddc6a=!0x0}={}){const _0x1360de=_0x7ef719[_0x4935('0x1a')][_0x4935('0x3')](_0x4935('0xa'));return(_0x14fea6,_0x159a57,_0x45abaf)=>{if(!_0x45abaf['consumable'][_0x4935('0x22')](_0x159a57[_0x4935('0x8')],_0x14fea6['name']))return;const _0xd4b5d6=_0x159a57[_0x4935('0x8')][_0x4935('0x21')](),_0x5d3188=_0x159a57['markerRange'][_0x4935('0x0')],_0x2a0637=_0x7ef719[_0x4935('0x26')][_0x4935('0x16')];let _0x1b3573=null,_0x1c137a=null,_0x906059=!0x1,_0x244a54=!0x1;for(const _0x39dc47 of _0xd4b5d6){const _0x422699=_0x39dc47[_0x4935('0xe')];_0x906059=_0x906059||_0x2a0637[_0x4935('0x6')](_0x422699);const _0x87263c=_0x45abaf[_0x4935('0x20')][_0x4935('0x1b')](_0x422699);if(_0x87263c&&_0x87263c[_0x4935('0x1d')](_0x4935('0x10')))return;_0x4935('0x13')==_0x39dc47['type']&&(_0x2a0637[_0x4935('0x1e')](_0x422699)&&!_0x2a0637[_0x4935('0x27')](_0x422699)&&(_0x422699[_0x4935('0x1')]||_0x5d3188[_0x4935('0x17')]?_0x1b3573&&_0x1b3573[_0x4935('0x18')]==_0x422699||(_0x1b3573=_0x422699,_0x5c4f05(_0x39dc47[_0x4935('0xd')]),_0x244a54=!0x0):_0x1c137a=_0x1c137a||_0x39dc47[_0x4935('0xd')]));}function _0x5c4f05(_0x54d03b){const _0x74c59=_0x45abaf['writer'][_0x4935('0x15')]('span',{'class':_0x4935('0x14')+_0x1c98b5}),_0x20ba12=_0x45abaf[_0x4935('0x20')][_0x4935('0x24')](_0x54d03b);_0x5ddc6a&&_0x1360de[_0x4935('0x25')][_0x4935('0x28')](_0x159a57[_0x4935('0x11')])&&_0x45abaf[_0x4935('0x4')][_0x4935('0x12')](_0x4935('0x5'),_0x74c59),_0x45abaf[_0x4935('0x4')][_0x4935('0x19')](_0x20ba12,_0x74c59),_0x45abaf['mapper'][_0x4935('0xf')](_0x74c59,_0x159a57[_0x4935('0x11')]);}_0x906059||_0x244a54||!_0x1c137a||_0x5c4f05(_0x1c137a);};}