@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.1 → 0.0.0-nightly-20230726.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 _0x3f06=['register','hasSuggestion','tableCellBorderStyle','previous','locale','cells','createRange','selection','markMultiRangeInsertion','getRanges','getRowIndexes','commands','suggestion-td','reduce','last','insertionRanges','isInContent','filter','includes','editing','insertColumns','getTableIfOnlyTableInContent','createTableWalker','_suggestionFactory','_getCoordsForCells','length','trackChanges','previousSibling','suggestionUnloaded','every','getRange','rows','discard','registerPostFixer','tablePasteCell','listenTo','updateMarker','startsWith','nodeAfter','*Replace\x20table\x20cells*','getMarkers','markerToHighlight','removeMarker','markerName','elementToElement','tableCellBackgroundColor','markers','type','set','registerDescriptionCallback','activeMarkers','fill','getShiftedBy','endColumn','has','_replaceTableSlotCell','_isForcedDefaultExecutionBlock','isEmpty','table','cell','getChildren','deletion','requires','high','tableCellPadding','removeMarkers','setAttribute','tableCellVerticalAlignment','containsRange','getChild','getSuggestion','push','tablePasteColumn','next','getSelectionAffectedTableCells','registerCustomCallback','tableCellSuggestion','low','subType','newRange','element','add','getRows','rowInsertionRanges','view','tableCellBorderWidth','from','_createdBatches','markMultiRangeDeletion','paragraph','oldRange','accept','insertion','editingDowncast','suggestion:formatBlock:tablePasteCell','clipboardOutput','get','plugins','suggestion','return','change','keys','content','position','stop','createElement','name','getColumnIndexes','getSuggestions','columnInsertionRanges','attributes','removeColumns','createRangeIn','setAttributes','createRangeOn','find','tablePasteChainId','showSuggestionHighlights','columnInsertionIndexes','insert','ck-suggestion-marker-insertion','tableCellBorderColor','findAncestor','createPositionBefore','TableClipboard','markerAttributes','getAttributes','afterInit','fromEntries','markMultiRangeBlockFormat','rowInsertionIndexes','value','_splitMarkerName','tablePasteRow','getChangedMarkers','$graveyard','row','differ','insertRows','map','insertContent','suggestionLoaded','end','documentSelection','remove','tablePaste','start','removeRows','move','forceDefaultExecution','editor','formatBlock','TableUtils','root','options','getItems','columns','isEqual','getChanges','getAllAdjacentSuggestions','document','getContainedElement','deletionRanges','conversion','Users','join','entries','tableCellHorizontalAlignment','ck-suggestion-marker--active','model','column','first'];(function(_0x4d6e01,_0x3f0635){const _0xafec9a=function(_0x17cb44){while(--_0x17cb44){_0x4d6e01['push'](_0x4d6e01['shift']());}};_0xafec9a(++_0x3f0635);}(_0x3f06,0x1a9));const _0xafec=function(_0x4d6e01,_0x3f0635){_0x4d6e01=_0x4d6e01-0x0;let _0xafec9a=_0x3f06[_0x4d6e01];return _0xafec9a;};import{getTranslation as _0x28e181}from'../utils/common-translations';import{Plugin as _0x13e915}from'ckeditor5/src/core';import{uid as _0x2ee87f,priorities as _0x332574}from'ckeditor5/src/utils';import _0x46f352 from'./table';const le=[_0xafec('0x4'),_0xafec('0x28'),_0xafec('0x5d'),_0xafec('0x56'),_0xafec('0x9e'),_0xafec('0x88'),_0xafec('0x9b')],ae=Object[_0xafec('0x2f')](le[_0xafec('0x3a')](_0x22195a=>[_0x22195a,null]));export default class kt extends _0x13e915{static get[_0xafec('0x99')](){return[_0x46f352];}[_0xafec('0x2e')](){const _0x1b1a16=this[_0xafec('0x45')];if(!_0x1b1a16[_0xafec('0x10')][_0xafec('0x91')](_0xafec('0x2b')))return;const _0x42167d=_0x1b1a16[_0xafec('0x10')][_0xafec('0xf')]('TrackChangesEditing'),_0x575a7d=_0x1b1a16[_0xafec('0x10')][_0xafec('0xf')](_0xafec('0x47')),_0x3dd7aa=_0x1b1a16[_0xafec('0x10')]['get'](_0x46f352),_0x1c527c=_0x1b1a16[_0xafec('0x10')]['get'](_0xafec('0x2b'));_0x3dd7aa['_tablePostFixingSubtypes'][_0xafec('0xa2')](_0xafec('0x34'),_0xafec('0xa3')),_0x1b1a16['model']['schema'][_0xafec('0x5b')](_0xafec('0xa7'),{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x1b1a16[_0xafec('0x52')][_0xafec('0x87')]({'model':_0xafec('0xa7'),'view':_0xafec('0x67')});let _0x5b389f=null;_0x1b1a16[_0xafec('0x58')]['on'](_0xafec('0x3b'),(_0x36879c,_0x4ef131)=>{const [_0x329dc0,_0x2a556b]=_0x4ef131,_0x189167=_0x4ef131[_0x4ef131[_0xafec('0x74')]-0x1];_0x189167&&_0x189167[_0xafec('0x44')]||_0x42167d[_0xafec('0x93')]||this[_0xafec('0x45')][_0xafec('0x66')][_0xafec('0xf')](_0xafec('0x75'))[_0xafec('0x32')]&&function(_0x324c74,_0x22ac86,_0x4ac30e,_0x4f870e,_0x2e5b5c){if(_0x22ac86&&!_0x22ac86['is'](_0xafec('0x3e')))return!0x1;const _0x23ca8b=_0x2e5b5c[_0xafec('0x70')](_0x324c74,_0x4ac30e);if(!_0x23ca8b||!fe(_0x23ca8b,void 0x0,_0x4f870e))return!0x1;const _0x31eab5=_0x4f870e[_0xafec('0xa5')](_0x4ac30e['document'][_0xafec('0x62')]);if(!_0x31eab5[_0xafec('0x74')])return!0x1;const _0x233e25=_0x31eab5[0x0][_0xafec('0x29')](_0xafec('0x95')),_0x9b8e58=_0x4f870e[_0xafec('0x65')](_0x31eab5),_0x35dc0b=_0x4f870e[_0xafec('0x1a')](_0x31eab5),_0x3d4b2a={'startRow':_0x9b8e58[_0xafec('0x5a')],'endRow':_0x9b8e58[_0xafec('0x69')],'startColumn':_0x35dc0b[_0xafec('0x5a')],'endColumn':_0x35dc0b[_0xafec('0x69')]};return 0x1==_0x31eab5[_0xafec('0x74')]&&(_0x3d4b2a['endRow']+=_0x4f870e[_0xafec('0x1')](_0x23ca8b)-0x1,_0x3d4b2a[_0xafec('0x90')]+=_0x4f870e['getColumns'](_0x23ca8b)-0x1),fe(_0x233e25,_0x3d4b2a,_0x4f870e);}(_0x329dc0,_0x2a556b,_0x1b1a16[_0xafec('0x58')],_0x575a7d,_0x1c527c)&&(_0x36879c['stop'](),_0x5b389f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1b1a16['model']['change'](()=>{_0x1b1a16[_0xafec('0x58')][_0xafec('0x3b')](_0x4ef131[0x0],_0x4ef131[0x1],_0x4ef131[0x2],{'forceDefaultExecution':!0x0});const _0x43a11f=_0x2ee87f(),{rowInsertionRanges:_0x1dd475,columnInsertionRanges:_0x1a29e7,insertionRanges:_0x27d644,deletionRanges:_0x1734ff,cells:_0x452be9}=_0x5b389f;_0x1dd475['length']&&_0x42167d[_0xafec('0x63')](_0x1dd475,_0xafec('0x34'),{'tablePasteChainId':_0x43a11f}),_0x1a29e7['length']&&_0x42167d[_0xafec('0x63')](_0x1a29e7,_0xafec('0xa3'),{'tablePasteChainId':_0x43a11f}),_0x27d644[_0xafec('0x74')]&&_0x42167d[_0xafec('0x63')](_0x27d644,'tablePaste',{'tablePasteChainId':_0x43a11f,'skipNestingCheck':!0x0}),_0x1734ff['length']&&_0x42167d[_0xafec('0x7')](_0x1734ff,_0xafec('0x40'),{'tablePasteChainId':_0x43a11f,'skipNestingCheck':!0x0});const _0x2a0686=_0x42167d[_0xafec('0x30')](_0x452be9[_0xafec('0x3a')](({element:_0x4298cd})=>_0x4298cd),{'formatGroupId':_0x2ee87f()},[],_0xafec('0x7d'),{'tablePasteChainId':_0x43a11f});if(_0x2a0686){const _0xb104e1=_0x2a0686[_0xafec('0x83')](),_0x436df7=[];for(const {element:_0x4b8806,attributes:_0x4e8a88}of _0x452be9){if(!_0x4e8a88)continue;const _0x3e79ec=_0x1b1a16['model']['createRangeOn'](_0x4b8806),_0x323de7=_0xb104e1[_0xafec('0x22')](_0x525b56=>_0x525b56[_0xafec('0x79')]()[_0xafec('0x4c')](_0x3e79ec));_0x323de7&&_0x436df7[_0xafec('0xa2')]([_0x323de7[_0xafec('0x19')],_0x4e8a88]);}_0x436df7['length']&&_0x2a0686[_0xafec('0x9d')](_0xafec('0x2c'),Object[_0xafec('0x2f')](_0x436df7));}_0x5b389f=null;}));},{'priority':_0x332574[_0xafec('0x9a')]+0xa}),_0x1b1a16[_0xafec('0x10')][_0xafec('0xf')](_0xafec('0x2b'))['on'](_0xafec('0x92'),(_0x4757b0,_0x419e81)=>{const [_0x5342af,_0x3e4698,,_0x29ba79]=_0x419e81;if(!_0x5b389f)return;_0x4757b0[_0xafec('0x17')]();const _0xfedc72=_0x5342af[_0xafec('0x96')],_0x10a33a=_0x3e4698,_0x6132a6=ce(_0xfedc72),_0x3daf85=ce(_0x10a33a);_0x4757b0[_0xafec('0x12')]=_0xfedc72;let _0x510a1e=null,_0x39050a=null;if(_0x3daf85||_0x6132a6){if(_0x6132a6&&!_0x3daf85){_0x29ba79['remove'](_0xfedc72[_0xafec('0xa0')](0x0));for(const _0xbd4ad4 of Array[_0xafec('0x5')](_0x10a33a[_0xafec('0x97')]()))_0x29ba79[_0xafec('0x26')](_0xbd4ad4,_0xfedc72,_0xafec('0x3d'));const _0x570afe=_0x5b389f[_0xafec('0x31')][_0xafec('0x6d')](_0x5342af[_0xafec('0x37')]),_0x2768f9=_0x5b389f[_0xafec('0x25')]['includes'](_0x5342af[_0xafec('0x59')]);_0x570afe||_0x2768f9||(_0x510a1e=_0x29ba79[_0xafec('0x1f')](_0xfedc72));}else _0x3daf85&&!_0x6132a6&&(_0x39050a=_0x29ba79[_0xafec('0x1f')](_0xfedc72));}else{const _0x3d5e4a=_0x29ba79['createElement'](_0xafec('0xa7')),_0x3d39ae=_0x29ba79[_0xafec('0x18')](_0xafec('0xa7'));_0x29ba79['wrap'](_0x29ba79[_0xafec('0x1f')](_0xfedc72),_0x3d39ae),_0x29ba79['insert'](_0x3d5e4a,_0xfedc72,0x0);for(const _0x5134c5 of Array[_0xafec('0x5')](_0x10a33a[_0xafec('0x97')]()))_0x29ba79[_0xafec('0x26')](_0x5134c5,_0x3d5e4a,_0xafec('0x3d'));_0x510a1e=_0x29ba79[_0xafec('0x21')](_0x3d5e4a),_0x39050a=_0x29ba79[_0xafec('0x21')](_0x3d39ae);}const _0x104c26=Array[_0xafec('0x5')](_0x10a33a[_0xafec('0x2d')]())[_0xafec('0x6c')](([_0x42b7a5])=>le[_0xafec('0x6d')](_0x42b7a5));_0x5b389f[_0xafec('0x60')][_0xafec('0xa2')]({'element':_0xfedc72,'attributes':_0x104c26[_0xafec('0x74')]?Object[_0xafec('0x2f')](_0x104c26):null}),_0x510a1e&&_0x5b389f[_0xafec('0x6a')][_0xafec('0xa2')](_0x510a1e),_0x39050a&&_0x5b389f[_0xafec('0x51')][_0xafec('0xa2')](_0x39050a);},{'priority':_0xafec('0x9a')}),_0x575a7d['on'](_0xafec('0x6f'),(_0x5ee69b,_0x1f1f91)=>{const [_0xa25d07,_0x29cb1d={}]=_0x1f1f91;if(!_0x5b389f)return;const _0x5edfca=_0x29cb1d['at']||0x0,_0x92e4e3=_0x29cb1d[_0xafec('0x4b')]||0x1;_0x5b389f['columnInsertionIndexes']=new Array(_0x92e4e3)[_0xafec('0x8e')](_0x5edfca)[_0xafec('0x3a')]((_0x1a6ebb,_0x10f32c)=>_0x1a6ebb+_0x10f32c);for(const {cell:_0x4e10bd}of _0x575a7d[_0xafec('0x71')](_0xa25d07,{'startColumn':_0x5edfca,'endColumn':_0x5edfca+_0x92e4e3-0x1}))_0x5b389f[_0xafec('0x1c')][_0xafec('0xa2')](_0x1b1a16['model'][_0xafec('0x21')](_0x4e10bd));},{'priority':_0xafec('0xa8')}),_0x575a7d['on'](_0xafec('0x39'),(_0x54c18a,_0x52caf4)=>{const [_0x1a7377,_0x5194de={}]=_0x52caf4;if(!_0x5b389f)return;const _0x4db233=_0x5194de['at']||0x0,_0x35af15=_0x5194de[_0xafec('0x7a')]||0x1;_0x5b389f['rowInsertionIndexes']=new Array(_0x35af15)[_0xafec('0x8e')](_0x4db233)[_0xafec('0x3a')]((_0x5be09d,_0x3ec587)=>_0x5be09d+_0x3ec587);for(const {cell:_0x188f1b}of _0x575a7d[_0xafec('0x71')](_0x1a7377,{'startRow':_0x4db233,'endRow':_0x4db233+_0x35af15-0x1}))_0x5b389f[_0xafec('0x2')]['push'](_0x1b1a16[_0xafec('0x58')]['createRangeOn'](_0x188f1b));},{'priority':'low'}),_0x42167d['_descriptionFactory'][_0xafec('0x8c')](_0x59771c=>{if(_0x59771c['subType']&&_0x59771c['subType'][_0xafec('0x80')](_0xafec('0x40')))return _0x59771c[_0xafec('0x5e')]?{}:{'type':_0xafec('0xb'),'content':_0x28e181(_0x1b1a16[_0xafec('0x5f')],_0xafec('0x82'))};});const _0x249a2f=()=>{};for(const _0x58a65e of[_0xafec('0x40'),_0xafec('0xa3'),'tablePasteRow',_0xafec('0x7d')])_0x42167d[_0xafec('0x72')]['registerCustomCallback'](_0xafec('0xb'),_0x58a65e,_0xafec('0x54'),_0x249a2f),_0x42167d['_suggestionFactory']['registerCustomCallback'](_0xafec('0x98'),_0x58a65e,_0xafec('0x54'),_0x249a2f);_0x42167d[_0xafec('0x72')][_0xafec('0xa6')](_0xafec('0x46'),_0xafec('0x7d'),_0xafec('0x7b'),_0x249a2f),_0x42167d['_suggestionFactory']['registerCustomCallback'](_0xafec('0x46'),_0xafec('0x7d'),_0xafec('0xa'),(_0x3030d1,_0x33c2cd,_0xf00231)=>{const _0x40a4f6=_0x3030d1[_0xafec('0x3a')](_0x162711=>_0x162711['getContainedElement']())[_0xafec('0x6c')](_0x1dd07d=>_0x1dd07d),_0x475f2e=new Map(_0x40a4f6[_0xafec('0x3a')](_0x9e7a5b=>[_0x9e7a5b,null]));if(_0x5b389f)for(const {element:_0x49b54e,attributes:_0x1934be}of _0x5b389f[_0xafec('0x60')])_0x1934be&&_0x475f2e[_0xafec('0x8b')](_0x49b54e,_0x1934be);else{if(_0xf00231&&_0xf00231[_0xafec('0x2c')])for(const [_0x4f01a7,_0x5500a6]of Object[_0xafec('0x55')](_0xf00231['markerAttributes'])){const _0x59e14d=_0x1b1a16[_0xafec('0x58')][_0xafec('0x89')][_0xafec('0xf')](_0x4f01a7),_0x54d6c5=_0x59e14d?_0x59e14d[_0xafec('0x79')]()[_0xafec('0x50')]():null;_0x54d6c5&&_0x475f2e[_0xafec('0x8b')](_0x54d6c5,_0x5500a6);}}_0x1b1a16[_0xafec('0x58')]['change'](_0x427c46=>{for(const [_0xbc68f,_0x595a13]of _0x475f2e)_0x427c46[_0xafec('0x20')]({...ae,..._0x595a13},_0xbc68f);});});const _0xe31c78=(_0x49465b,_0x27e285)=>{_0x42167d[_0xafec('0x72')]['registerCustomCallback'](_0x49465b,_0xafec('0x40'),_0x27e285,(_0xd18e8f,_0x57e3b5,_0x2393b6)=>{_0x1b1a16[_0xafec('0x58')]['change'](_0x1345c7=>{const _0x5e9702=[];for(const _0x23bf29 of _0xd18e8f){const _0x18d8eb=_0x23bf29[_0xafec('0x41')][_0xafec('0x81')];_0x18d8eb['is'](_0xafec('0xab'),_0xafec('0xa7'))&&_0x5e9702[_0xafec('0xa2')](_0x18d8eb);}_0x42167d[_0xafec('0x72')]['getSuggestionCallback'](_0x49465b,null,_0x27e285)(_0xd18e8f,_0x57e3b5,_0x2393b6);for(const _0x495a7a of _0x5e9702)_0xafec('0x36')!=_0x495a7a[_0xafec('0x48')]['rootName']&&_0x1345c7['unwrap'](_0x495a7a);});});};_0xe31c78(_0xafec('0xb'),'accept'),_0xe31c78(_0xafec('0xb'),_0xafec('0x7b')),_0xe31c78(_0xafec('0x98'),_0xafec('0xa')),_0xe31c78('deletion',_0xafec('0x7b')),_0x42167d['_suggestionFactory'][_0xafec('0xa6')](_0xafec('0xb'),_0xafec('0x34'),_0xafec('0x7b'),_0x4b7909=>{const _0x4781c9=_0x4b7909['map'](_0x1c806e=>_0x1c806e[_0xafec('0x50')]()),_0x32a552=_0x4781c9[0x0]['findAncestor'](_0xafec('0x95')),{minRow:_0x242682,maxRow:_0x251d83}=_0x3dd7aa['_getCoordsForCells'](_0x4781c9);_0x575a7d[_0xafec('0x42')](_0x32a552,{'at':_0x242682,'rows':_0x251d83-_0x242682+0x1});}),_0x42167d['_suggestionFactory'][_0xafec('0xa6')](_0xafec('0xb'),_0xafec('0xa3'),_0xafec('0x7b'),_0x20e5df=>{const _0x3d881f=_0x20e5df[_0xafec('0x3a')](_0x1d8312=>_0x1d8312[_0xafec('0x50')]()),_0x4793c5=_0x3d881f[0x0]['findAncestor']('table'),{minColumn:_0x41d8da,maxColumn:_0x25ee0b}=_0x3dd7aa[_0xafec('0x73')](_0x3d881f);_0x575a7d[_0xafec('0x1e')](_0x4793c5,{'at':_0x41d8da,'columns':_0x25ee0b-_0x41d8da+0x1});});const _0x18fe87=(_0x502ebe,_0x41a804)=>{if(!_0x41a804[_0xafec('0xa9')]||!_0x41a804['subType'][_0xafec('0x80')](_0xafec('0x40')))return;const _0x1c04c2=_0x41a804[_0xafec('0x1d')][_0xafec('0x23')],_0x141fb5=_0x42167d[_0xafec('0x1b')]()['filter'](_0x3b0969=>_0x3b0969[_0xafec('0x6b')]&&_0x3b0969[_0xafec('0x1d')]&&_0x3b0969[_0xafec('0x1d')][_0xafec('0x23')]==_0x1c04c2);_0x141fb5[_0xafec('0x74')]&&_0x41a804[_0xafec('0x4e')]()[_0xafec('0x74')]!=_0x141fb5[_0xafec('0x74')]&&_0x141fb5[_0xafec('0x68')]((_0x32d3aa,_0x5b8899)=>(_0x32d3aa[_0xafec('0xa4')]=_0x5b8899,_0x5b8899[_0xafec('0x5e')]=_0x32d3aa,_0x5b8899));};function _0x4613cb(_0x5507bc,_0xa2a24f=!0x0){const {id:_0x5a53ba}=_0x42167d[_0xafec('0x33')](_0x5507bc['markerName']),_0x552114=['ck-suggestion-marker',_0xafec('0x27')],_0x4568d0=_0x42167d[_0xafec('0x8d')][_0xafec('0x6d')](_0x5507bc[_0xafec('0x86')]);return _0x4568d0&&_0x552114[_0xafec('0xa2')](_0xafec('0x57')),{'classes':_0x552114,'attributes':{'data-suggestion':_0x5a53ba},'priority':_0x4568d0&&_0xa2a24f?0xbc2:0xbb8};}_0x42167d['on'](_0xafec('0x3c'),_0x18fe87,{'priority':_0xafec('0x9a')}),_0x42167d['on'](_0xafec('0x77'),_0x18fe87,{'priority':_0xafec('0x9a')}),_0x1b1a16[_0xafec('0x58')][_0xafec('0x4f')]['registerPostFixer'](()=>{let _0x599587=!0x1;const _0x311712=Array[_0xafec('0x5')](_0x1b1a16[_0xafec('0x58')][_0xafec('0x4f')][_0xafec('0x38')][_0xafec('0x35')]());for(const {name:_0x291826,data:_0x1a6501}of _0x311712){const {group:_0x336427,type:_0x208f12,id:_0x4a25b0}=_0x42167d[_0xafec('0x33')](_0x291826);if(_0xafec('0x11')!=_0x336427||_0xafec('0x98')!=_0x208f12||_0x1a6501[_0xafec('0x9')])continue;if(!_0x42167d[_0xafec('0x5c')](_0x4a25b0))continue;const _0x56e0d9=_0x42167d[_0xafec('0xa1')](_0x4a25b0)['getRanges'](),_0x1147b8=_0x1b1a16[_0xafec('0x10')]['get']('Users')['me'];for(const _0x1abe6a of _0x42167d[_0xafec('0x1b')]()){if(!_0x1abe6a[_0xafec('0x6b')]||_0x1abe6a['author']!=_0x1147b8)continue;if(_0xafec('0x46')!=_0x1abe6a[_0xafec('0x8a')]||_0xafec('0x7d')!=_0x1abe6a[_0xafec('0xa9')])continue;if(_0x1abe6a[_0xafec('0x64')]()[_0xafec('0x78')](_0x9357da=>_0x56e0d9['some'](_0x5e7966=>_0x5e7966[_0xafec('0x9f')](_0x9357da,!0x0))))for(const _0x5f3743 of _0x1abe6a[_0xafec('0x4e')]())_0x5f3743['isInContent']&&(_0x5f3743['discard'](),_0x599587=!0x0);}}return _0x599587;}),_0x1b1a16[_0xafec('0x58')][_0xafec('0x4f')]['registerPostFixer'](_0x4300e0=>{const _0x262409=_0x1b1a16[_0xafec('0x66')][_0xafec('0xf')]('redo');if(!_0x262409||!_0x262409[_0xafec('0x6')]['has'](_0x4300e0['batch']))return!0x1;let _0x5244e0=!0x1;const _0x46ee83=_0x1b1a16[_0xafec('0x10')][_0xafec('0xf')](_0xafec('0x53'))['me'],_0x3ab5bf=_0x1b1a16[_0xafec('0x58')][_0xafec('0x4f')][_0xafec('0x38')][_0xafec('0x4d')](),_0x21a319=Array[_0xafec('0x5')](_0x1b1a16[_0xafec('0x58')][_0xafec('0x4f')]['differ'][_0xafec('0x35')]())['filter'](({name:_0xd0b577,data:_0x5346bf})=>{const {group:_0x5c5fb8,subType:_0xa07b3,authorId:_0x532c39}=_0x42167d[_0xafec('0x33')](_0xd0b577);return _0xafec('0x11')==_0x5c5fb8&&_0xafec('0x40')==_0xa07b3&&_0x532c39==_0x46ee83['id']&&!_0x5346bf[_0xafec('0x9')];});for(const _0x1abe00 of _0x3ab5bf){if('insert'!=_0x1abe00[_0xafec('0x8a')]||_0xafec('0xa7')!=_0x1abe00[_0xafec('0x19')]||0x1!=_0x1abe00[_0xafec('0x74')])continue;const _0x547534=_0x4300e0[_0xafec('0x61')](_0x1abe00[_0xafec('0x16')],_0x1abe00[_0xafec('0x16')][_0xafec('0x8f')](0x1));if(!_0x21a319[_0xafec('0x22')](({data:_0x42d249})=>_0x42d249[_0xafec('0xaa')][_0xafec('0x4c')](_0x547534)))for(const {name:_0x1bf451,data:_0xb18c7f}of _0x21a319)if(_0x547534[_0xafec('0x9f')](_0xb18c7f[_0xafec('0xaa')])){_0x4300e0[_0xafec('0x7f')](_0x1bf451,{'range':_0x547534}),_0x5244e0=!0x0;break;}}return _0x5244e0;}),_0x1b1a16['model'][_0xafec('0x4f')][_0xafec('0x7c')](_0x2a7661=>{let _0x537b15=!0x1;const _0x58c629=_0x1b1a16[_0xafec('0x10')][_0xafec('0xf')](_0xafec('0x53'))['me'],_0x4ebbfa=_0x42167d['getSuggestions']()['filter'](_0x327a89=>_0x327a89[_0xafec('0x6b')]&&_0x327a89['author']==_0x58c629),_0xa67954=new Set(),_0x46421b=new Set();for(const _0x29c3bc of _0x4ebbfa)if('tablePaste'==_0x29c3bc[_0xafec('0xa9')])for(const _0x4ae055 of _0x29c3bc[_0xafec('0x83')]()){const _0x2a47df=_0x4ae055[_0xafec('0x79')]()[_0xafec('0x50')]();if(_0x2a47df){if(_0x2a47df['is'](_0xafec('0xab'),_0xafec('0xa7'))&&ce(_0x2a47df)){_0x29c3bc[_0xafec('0x85')](_0x4ae055[_0xafec('0x19')]),_0xa67954[_0xafec('0x0')](_0x2a47df),_0x537b15=!0x0;const _0x599554=_0x2a47df['nextSibling'],_0x375192=_0x2a47df[_0xafec('0x76')],_0x458508=_0x599554&&_0x599554['is'](_0xafec('0xab'),_0xafec('0xa7')),_0x5f094=_0x375192&&_0x375192['is']('element',_0xafec('0xa7'));_0x458508&&!_0xa67954[_0xafec('0x91')](_0x599554)&&_0x46421b[_0xafec('0x0')](_0x599554),_0x5f094&&!_0xa67954[_0xafec('0x91')](_0x375192)&&_0x46421b[_0xafec('0x0')](_0x375192);}else _0x2a47df['is'](_0xafec('0xab'),_0xafec('0x8'))&&_0x2a47df[_0xafec('0x94')]&&(_0x29c3bc[_0xafec('0x85')](_0x4ae055[_0xafec('0x19')]),_0x537b15=!0x0);}}else{if(_0xafec('0x7d')==_0x29c3bc[_0xafec('0xa9')]){if(!_0x29c3bc['attributes']||!_0x29c3bc[_0xafec('0x1d')][_0xafec('0x23')])continue;const _0x380b58=_0x29c3bc[_0xafec('0x1d')][_0xafec('0x2c')];if(_0x380b58&&Object[_0xafec('0x14')](_0x380b58)[_0xafec('0x74')])continue;const _0x107ff4=_0x29c3bc['attributes']['tablePasteChainId'];let _0x466a9a=!0x0,_0x4ace72=!0x0;for(const _0x5eb163 of _0x4ebbfa)if(_0x5eb163['subType']&&_0x5eb163[_0xafec('0xa9')][_0xafec('0x80')](_0xafec('0x40'))){if(!_0x5eb163[_0xafec('0x1d')][_0xafec('0x23')]){_0x4ace72=!0x1;break;}if(_0x5eb163['id']!=_0x29c3bc['id']&&_0x5eb163[_0xafec('0x1d')][_0xafec('0x23')]==_0x107ff4){_0x466a9a=!0x1;break;}}_0x4ace72&&_0x466a9a&&(_0x29c3bc[_0xafec('0x9c')](),_0x537b15=!0x0);}}for(const _0x56789c of _0xa67954)_0x2a7661[_0xafec('0x3f')](_0x56789c);for(const _0x43dbcf of _0x46421b)_0x2a7661['unwrap'](_0x43dbcf);return _0x537b15;}),_0x1b1a16[_0xafec('0x52')]['for'](_0xafec('0xc'))[_0xafec('0x84')]({'model':_0xafec('0xd'),'view':(_0x25f47b,_0x520ef9)=>_0x4613cb(_0x25f47b),'converterPriority':_0xafec('0x9a')}),_0x1b1a16['conversion']['for']('dataDowncast')[_0xafec('0x84')]({'model':_0xafec('0xd'),'view':(_0x11dcc2,_0x1b93c6)=>_0x1b93c6[_0xafec('0x49')][_0xafec('0x24')]?_0x4613cb(_0x11dcc2,!0x1):null,'converterPriority':_0xafec('0x9a')});const _0x2d7885=_0x1b1a16[_0xafec('0x6e')][_0xafec('0x3')];this[_0xafec('0x7e')](_0x2d7885[_0xafec('0x4f')],_0xafec('0xe'),(_0x212f5d,_0x385e4b)=>{const _0x52972f=[];for(const _0x4e7ec9 of _0x2d7885[_0xafec('0x1f')](_0x385e4b[_0xafec('0x15')])[_0xafec('0x4a')]())_0x4e7ec9['is'](_0xafec('0xab'),_0xafec('0x67'))&&_0x52972f[_0xafec('0xa2')](_0x4e7ec9);_0x2d7885[_0xafec('0x13')](_0x57f7cd=>{for(const _0x55557d of _0x52972f)_0x57f7cd[_0xafec('0x43')](_0x57f7cd[_0xafec('0x1f')](_0x55557d),_0x57f7cd[_0xafec('0x2a')](_0x55557d)),_0x57f7cd['remove'](_0x55557d);});});}}function ce(_0x10b90f){if(_0x10b90f[_0xafec('0x94')])return!0x0;const _0x5d3388=_0x10b90f[_0xafec('0xa0')](0x0);return _0x5d3388['is'](_0xafec('0xab'),_0xafec('0x8'))&&_0x5d3388['isEmpty'];}function fe(_0x439ac1,_0x38a50d={},_0x42b963){for(const {isAnchor:_0x538097,cellHeight:_0x2ea908,cellWidth:_0x4e15f6}of _0x42b963[_0xafec('0x71')](_0x439ac1,{'includeAllSlots':!0x0,..._0x38a50d}))if(!_0x538097||0x1!=_0x2ea908||0x1!=_0x4e15f6)return!0x1;return!0x0;}
23
+ const _0x5cd5=['cells','isEmpty','getChildren','remove','row','high','reduce','selection','insertContent','setAttribute','markMultiRangeInsertion','_getCoordsForCells','every','suggestion:formatBlock:tablePasteCell','document','$graveyard','tableCellBorderWidth','_descriptionFactory','getShiftedBy','isInContent','end','previous','length','push','getChanges','hasSuggestion','columnInsertionRanges','options','rows','startsWith','tablePaste','columnInsertionIndexes','commands','getRows','attributes','change','low','columns','clipboardOutput','tableCellBorderStyle','table','includes','getRanges','oldRange','markerAttributes','formatBlock','_replaceTableSlotCell','map','locale','Users','editor','from','cell','tablePasteColumn','_tablePostFixingSubtypes','endRow','entries','differ','rowInsertionRanges','_splitMarkerName','removeMarkers','containsRange','TableUtils','endColumn','nodeAfter','tableCellBorderColor','_suggestionFactory','markerName','getSuggestions','insertRows','position','next','tableCellHorizontalAlignment','join','createRangeIn','stop','getTableIfOnlyTableInContent','tableCellSuggestion','tableCell','subType','fromEntries','createPositionBefore','markerToHighlight','rootName','removeMarker','suggestion-td','insertion','findAncestor','registerCustomCallback','plugins','getAllAdjacentSuggestions','getAttributes','requires','discard','TableClipboard','documentSelection','return','isEqual','getSuggestion','rowInsertionIndexes','has','first','ck-suggestion-marker-insertion','insert','filter','view','find','createRangeOn','model','markMultiRangeBlockFormat','listenTo','conversion','element','markers','getMarkers','root','insertColumns','last','wrap','type','move','redo','fill','unwrap','dataDowncast','trackChanges','registerPostFixer','batch','set','getChangedMarkers','getColumns','deletion','getContainedElement','previousSibling','tablePasteRow','createTableWalker','getRange','nextSibling','add','paragraph','some','getColumnIndexes','createElement','tablePasteCell','editing','tableCellVerticalAlignment','setAttributes','suggestion','getChild','accept','author','TrackChangesEditing','_isForcedDefaultExecutionBlock','name','getSuggestionCallback','get','getSelectionAffectedTableCells','ck-suggestion-marker--active','newRange','keys','tablePasteChainId','column'];(function(_0x572445,_0x5cd599){const _0xc4ad97=function(_0xedc138){while(--_0xedc138){_0x572445['push'](_0x572445['shift']());}};_0xc4ad97(++_0x5cd599);}(_0x5cd5,0x1d2));const _0xc4ad=function(_0x572445,_0x5cd599){_0x572445=_0x572445-0x0;let _0xc4ad97=_0x5cd5[_0x572445];return _0xc4ad97;};import{getTranslation as _0x2228aa}from'../utils/common-translations';import{Plugin as _0x1a9834}from'ckeditor5/src/core';import{uid as _0x4b72e7,priorities as _0x4c81f8}from'ckeditor5/src/utils';import _0x40cc42 from'./table';const le=[_0xc4ad('0x24'),_0xc4ad('0x55'),_0xc4ad('0x3b'),_0xc4ad('0x5c'),_0xc4ad('0x3'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0xc4ad('0x64')](le['map'](_0x459b30=>[_0x459b30,null]));export default class kt extends _0x1a9834{static get[_0xc4ad('0x70')](){return[_0x40cc42];}['afterInit'](){const _0x383515=this[_0xc4ad('0x46')];if(!_0x383515[_0xc4ad('0x6d')]['has']('TableClipboard'))return;const _0x2daa49=_0x383515[_0xc4ad('0x6d')][_0xc4ad('0xd')](_0xc4ad('0x9')),_0x52a999=_0x383515[_0xc4ad('0x6d')]['get'](_0xc4ad('0x52')),_0x40a2af=_0x383515[_0xc4ad('0x6d')][_0xc4ad('0xd')](_0x40cc42),_0x42c6ee=_0x383515[_0xc4ad('0x6d')]['get'](_0xc4ad('0x72'));_0x40a2af[_0xc4ad('0x4a')][_0xc4ad('0x2b')](_0xc4ad('0x9a'),_0xc4ad('0x49')),_0x383515[_0xc4ad('0x80')]['schema']['register']('tableCellSuggestion',{'allowIn':_0xc4ad('0x62'),'allowContentOf':_0xc4ad('0x62'),'isLimit':!0x0}),_0x383515[_0xc4ad('0x83')]['elementToElement']({'model':_0xc4ad('0x61'),'view':_0xc4ad('0x69')});let _0x2748e9=null;_0x383515[_0xc4ad('0x80')]['on'](_0xc4ad('0x1c'),(_0x1c22c2,_0x5120d2)=>{const [_0x395840,_0x2e3607]=_0x5120d2,_0x5ede02=_0x5120d2[_0x5120d2[_0xc4ad('0x2a')]-0x1];_0x5ede02&&_0x5ede02['forceDefaultExecution']||_0x2daa49[_0xc4ad('0xa')]||this[_0xc4ad('0x46')][_0xc4ad('0x34')]['get'](_0xc4ad('0x91'))['value']&&function(_0x2648aa,_0x306a64,_0x16c73b,_0x500240,_0x2293ae){if(_0x306a64&&!_0x306a64['is'](_0xc4ad('0x73')))return!0x1;const _0x302b93=_0x2293ae[_0xc4ad('0x60')](_0x2648aa,_0x16c73b);if(!_0x302b93||!fe(_0x302b93,void 0x0,_0x500240))return!0x1;const _0x56cbbc=_0x500240[_0xc4ad('0xe')](_0x16c73b[_0xc4ad('0x22')][_0xc4ad('0x1b')]);if(!_0x56cbbc[_0xc4ad('0x2a')])return!0x1;const _0x54db57=_0x56cbbc[0x0][_0xc4ad('0x6b')](_0xc4ad('0x3c')),_0x3679be=_0x500240['getRowIndexes'](_0x56cbbc),_0x5966fa=_0x500240[_0xc4ad('0xa1')](_0x56cbbc),_0x52ce5b={'startRow':_0x3679be[_0xc4ad('0x79')],'endRow':_0x3679be[_0xc4ad('0x89')],'startColumn':_0x5966fa[_0xc4ad('0x79')],'endColumn':_0x5966fa[_0xc4ad('0x89')]};return 0x1==_0x56cbbc[_0xc4ad('0x2a')]&&(_0x52ce5b[_0xc4ad('0x4b')]+=_0x500240[_0xc4ad('0x35')](_0x302b93)-0x1,_0x52ce5b[_0xc4ad('0x53')]+=_0x500240[_0xc4ad('0x96')](_0x302b93)-0x1),fe(_0x54db57,_0x52ce5b,_0x500240);}(_0x395840,_0x2e3607,_0x383515[_0xc4ad('0x80')],_0x52a999,_0x42c6ee)&&(_0x1c22c2['stop'](),_0x2748e9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x383515[_0xc4ad('0x80')][_0xc4ad('0x37')](()=>{_0x383515[_0xc4ad('0x80')][_0xc4ad('0x1c')](_0x5120d2[0x0],_0x5120d2[0x1],_0x5120d2[0x2],{'forceDefaultExecution':!0x0});const _0x276ede=_0x4b72e7(),{rowInsertionRanges:_0x30a25e,columnInsertionRanges:_0xf0653f,insertionRanges:_0xdb6713,deletionRanges:_0x350d51,cells:_0x26120f}=_0x2748e9;_0x30a25e[_0xc4ad('0x2a')]&&_0x2daa49[_0xc4ad('0x1e')](_0x30a25e,_0xc4ad('0x9a'),{'tablePasteChainId':_0x276ede}),_0xf0653f[_0xc4ad('0x2a')]&&_0x2daa49[_0xc4ad('0x1e')](_0xf0653f,'tablePasteColumn',{'tablePasteChainId':_0x276ede}),_0xdb6713['length']&&_0x2daa49[_0xc4ad('0x1e')](_0xdb6713,'tablePaste',{'tablePasteChainId':_0x276ede,'skipNestingCheck':!0x0}),_0x350d51[_0xc4ad('0x2a')]&&_0x2daa49['markMultiRangeDeletion'](_0x350d51,_0xc4ad('0x32'),{'tablePasteChainId':_0x276ede,'skipNestingCheck':!0x0});const _0x2c8412=_0x2daa49[_0xc4ad('0x81')](_0x26120f[_0xc4ad('0x43')](({element:_0xea6e9a})=>_0xea6e9a),{'formatGroupId':_0x4b72e7()},[],'tablePasteCell',{'tablePasteChainId':_0x276ede});if(_0x2c8412){const _0x4b627b=_0x2c8412[_0xc4ad('0x86')](),_0x29c528=[];for(const {element:_0x18a766,attributes:_0x414f5f}of _0x26120f){if(!_0x414f5f)continue;const _0x29a321=_0x383515[_0xc4ad('0x80')][_0xc4ad('0x7f')](_0x18a766),_0x21567b=_0x4b627b[_0xc4ad('0x7e')](_0xb40295=>_0xb40295[_0xc4ad('0x9c')]()[_0xc4ad('0x75')](_0x29a321));_0x21567b&&_0x29c528[_0xc4ad('0x2b')]([_0x21567b[_0xc4ad('0xb')],_0x414f5f]);}_0x29c528[_0xc4ad('0x2a')]&&_0x2c8412[_0xc4ad('0x1d')](_0xc4ad('0x40'),Object[_0xc4ad('0x64')](_0x29c528));}_0x2748e9=null;}));},{'priority':_0x4c81f8[_0xc4ad('0x19')]+0xa}),_0x383515[_0xc4ad('0x6d')][_0xc4ad('0xd')](_0xc4ad('0x72'))['on'](_0xc4ad('0x42'),(_0x10ea78,_0x34393e)=>{const [_0xce156f,_0xad3bf1,,_0x4fd780]=_0x34393e;if(!_0x2748e9)return;_0x10ea78[_0xc4ad('0x5f')]();const _0x40a770=_0xce156f[_0xc4ad('0x48')],_0x34ad09=_0xad3bf1,_0x3ab5ca=ce(_0x40a770),_0x5690d0=ce(_0x34ad09);_0x10ea78[_0xc4ad('0x74')]=_0x40a770;let _0x233eb4=null,_0x3250f1=null;if(_0x5690d0||_0x3ab5ca){if(_0x3ab5ca&&!_0x5690d0){_0x4fd780[_0xc4ad('0x17')](_0x40a770[_0xc4ad('0x6')](0x0));for(const _0x15db0d of Array[_0xc4ad('0x47')](_0x34ad09[_0xc4ad('0x16')]()))_0x4fd780[_0xc4ad('0x7b')](_0x15db0d,_0x40a770,_0xc4ad('0x28'));const _0x17965f=_0x2748e9[_0xc4ad('0x77')]['includes'](_0xce156f[_0xc4ad('0x18')]),_0x44a6a6=_0x2748e9[_0xc4ad('0x33')][_0xc4ad('0x3d')](_0xce156f[_0xc4ad('0x13')]);_0x17965f||_0x44a6a6||(_0x233eb4=_0x4fd780['createRangeIn'](_0x40a770));}else _0x5690d0&&!_0x3ab5ca&&(_0x3250f1=_0x4fd780[_0xc4ad('0x5e')](_0x40a770));}else{const _0x4597f1=_0x4fd780[_0xc4ad('0x0')](_0xc4ad('0x61')),_0xf116c6=_0x4fd780['createElement']('tableCellSuggestion');_0x4fd780[_0xc4ad('0x8a')](_0x4fd780[_0xc4ad('0x5e')](_0x40a770),_0xf116c6),_0x4fd780[_0xc4ad('0x7b')](_0x4597f1,_0x40a770,0x0);for(const _0x164605 of Array[_0xc4ad('0x47')](_0x34ad09[_0xc4ad('0x16')]()))_0x4fd780[_0xc4ad('0x7b')](_0x164605,_0x4597f1,_0xc4ad('0x28'));_0x233eb4=_0x4fd780['createRangeOn'](_0x4597f1),_0x3250f1=_0x4fd780[_0xc4ad('0x7f')](_0xf116c6);}const _0x513841=Array[_0xc4ad('0x47')](_0x34ad09[_0xc4ad('0x6f')]())[_0xc4ad('0x7c')](([_0x5a08e0])=>le[_0xc4ad('0x3d')](_0x5a08e0));_0x2748e9[_0xc4ad('0x14')][_0xc4ad('0x2b')]({'element':_0x40a770,'attributes':_0x513841['length']?Object[_0xc4ad('0x64')](_0x513841):null}),_0x233eb4&&_0x2748e9['insertionRanges']['push'](_0x233eb4),_0x3250f1&&_0x2748e9['deletionRanges'][_0xc4ad('0x2b')](_0x3250f1);},{'priority':_0xc4ad('0x19')}),_0x52a999['on'](_0xc4ad('0x88'),(_0x4b6b5c,_0x1236df)=>{const [_0x10939e,_0x5a202d={}]=_0x1236df;if(!_0x2748e9)return;const _0x128115=_0x5a202d['at']||0x0,_0x2dac53=_0x5a202d[_0xc4ad('0x39')]||0x1;_0x2748e9[_0xc4ad('0x33')]=new Array(_0x2dac53)[_0xc4ad('0x8e')](_0x128115)[_0xc4ad('0x43')]((_0x47b449,_0x170ca7)=>_0x47b449+_0x170ca7);for(const {cell:_0x2b558a}of _0x52a999[_0xc4ad('0x9b')](_0x10939e,{'startColumn':_0x128115,'endColumn':_0x128115+_0x2dac53-0x1}))_0x2748e9[_0xc4ad('0x2e')][_0xc4ad('0x2b')](_0x383515[_0xc4ad('0x80')]['createRangeOn'](_0x2b558a));},{'priority':'low'}),_0x52a999['on'](_0xc4ad('0x59'),(_0x274ffe,_0x547bb5)=>{const [_0x21c610,_0x4723d2={}]=_0x547bb5;if(!_0x2748e9)return;const _0x2a5f24=_0x4723d2['at']||0x0,_0x50b985=_0x4723d2[_0xc4ad('0x30')]||0x1;_0x2748e9[_0xc4ad('0x77')]=new Array(_0x50b985)[_0xc4ad('0x8e')](_0x2a5f24)[_0xc4ad('0x43')]((_0x14afdd,_0x2100fe)=>_0x14afdd+_0x2100fe);for(const {cell:_0x1012c9}of _0x52a999[_0xc4ad('0x9b')](_0x21c610,{'startRow':_0x2a5f24,'endRow':_0x2a5f24+_0x50b985-0x1}))_0x2748e9[_0xc4ad('0x4e')][_0xc4ad('0x2b')](_0x383515[_0xc4ad('0x80')][_0xc4ad('0x7f')](_0x1012c9));},{'priority':_0xc4ad('0x38')}),_0x2daa49[_0xc4ad('0x25')]['registerDescriptionCallback'](_0x38cc08=>{if(_0x38cc08[_0xc4ad('0x63')]&&_0x38cc08['subType']['startsWith'](_0xc4ad('0x32')))return _0x38cc08[_0xc4ad('0x29')]?{}:{'type':_0xc4ad('0x6a'),'content':_0x2228aa(_0x383515[_0xc4ad('0x44')],'*Replace\x20table\x20cells*')};});const _0x2a88de=()=>{};for(const _0x3e39d8 of[_0xc4ad('0x32'),'tablePasteColumn',_0xc4ad('0x9a'),_0xc4ad('0x1')])_0x2daa49[_0xc4ad('0x56')]['registerCustomCallback']('insertion',_0x3e39d8,_0xc4ad('0x5d'),_0x2a88de),_0x2daa49[_0xc4ad('0x56')]['registerCustomCallback'](_0xc4ad('0x97'),_0x3e39d8,_0xc4ad('0x5d'),_0x2a88de);_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0x6c')](_0xc4ad('0x41'),_0xc4ad('0x1'),'discard',_0x2a88de),_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0x6c')](_0xc4ad('0x41'),_0xc4ad('0x1'),_0xc4ad('0x7'),(_0x1dc2ff,_0x20763a,_0x246e12)=>{const _0x483951=_0x1dc2ff['map'](_0x4b6da7=>_0x4b6da7[_0xc4ad('0x98')]())[_0xc4ad('0x7c')](_0x40beee=>_0x40beee),_0x484caf=new Map(_0x483951[_0xc4ad('0x43')](_0x1e2be7=>[_0x1e2be7,null]));if(_0x2748e9)for(const {element:_0x143e81,attributes:_0x22e527}of _0x2748e9[_0xc4ad('0x14')])_0x22e527&&_0x484caf[_0xc4ad('0x94')](_0x143e81,_0x22e527);else{if(_0x246e12&&_0x246e12[_0xc4ad('0x40')])for(const [_0x484c8a,_0x55fa28]of Object[_0xc4ad('0x4c')](_0x246e12[_0xc4ad('0x40')])){const _0x2bbd41=_0x383515[_0xc4ad('0x80')][_0xc4ad('0x85')][_0xc4ad('0xd')](_0x484c8a),_0x4f2ecf=_0x2bbd41?_0x2bbd41['getRange']()['getContainedElement']():null;_0x4f2ecf&&_0x484caf['set'](_0x4f2ecf,_0x55fa28);}}_0x383515[_0xc4ad('0x80')]['change'](_0x5b7320=>{for(const [_0x12af40,_0x5c1b34]of _0x484caf)_0x5b7320[_0xc4ad('0x4')]({...ae,..._0x5c1b34},_0x12af40);});});const _0xfef158=(_0x383599,_0x513492)=>{_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0x6c')](_0x383599,'tablePaste',_0x513492,(_0x3d137a,_0x120009,_0xb117d2)=>{_0x383515[_0xc4ad('0x80')][_0xc4ad('0x37')](_0xf82f4d=>{const _0x56bbd7=[];for(const _0x1359fd of _0x3d137a){const _0x4266a3=_0x1359fd['start'][_0xc4ad('0x54')];_0x4266a3['is'](_0xc4ad('0x84'),_0xc4ad('0x61'))&&_0x56bbd7[_0xc4ad('0x2b')](_0x4266a3);}_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0xc')](_0x383599,null,_0x513492)(_0x3d137a,_0x120009,_0xb117d2);for(const _0x1fa60a of _0x56bbd7)_0xc4ad('0x23')!=_0x1fa60a[_0xc4ad('0x87')][_0xc4ad('0x67')]&&_0xf82f4d[_0xc4ad('0x8f')](_0x1fa60a);});});};_0xfef158(_0xc4ad('0x6a'),_0xc4ad('0x7')),_0xfef158(_0xc4ad('0x6a'),_0xc4ad('0x71')),_0xfef158('deletion',_0xc4ad('0x7')),_0xfef158(_0xc4ad('0x97'),_0xc4ad('0x71')),_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0x6c')](_0xc4ad('0x6a'),_0xc4ad('0x9a'),_0xc4ad('0x71'),_0x1326d2=>{const _0x45fe3=_0x1326d2['map'](_0x9af52f=>_0x9af52f[_0xc4ad('0x98')]()),_0x3d2b68=_0x45fe3[0x0]['findAncestor']('table'),{minRow:_0x19e680,maxRow:_0xe44a0c}=_0x40a2af[_0xc4ad('0x1f')](_0x45fe3);_0x52a999['removeRows'](_0x3d2b68,{'at':_0x19e680,'rows':_0xe44a0c-_0x19e680+0x1});}),_0x2daa49[_0xc4ad('0x56')][_0xc4ad('0x6c')](_0xc4ad('0x6a'),'tablePasteColumn','discard',_0xd7f8e2=>{const _0x65a88b=_0xd7f8e2['map'](_0x1d5e35=>_0x1d5e35[_0xc4ad('0x98')]()),_0x49d474=_0x65a88b[0x0][_0xc4ad('0x6b')](_0xc4ad('0x3c')),{minColumn:_0x3b2dab,maxColumn:_0x15f6ba}=_0x40a2af[_0xc4ad('0x1f')](_0x65a88b);_0x52a999['removeColumns'](_0x49d474,{'at':_0x3b2dab,'columns':_0x15f6ba-_0x3b2dab+0x1});});const _0x49c58d=(_0x48d0dc,_0x50ba6e)=>{if(!_0x50ba6e[_0xc4ad('0x63')]||!_0x50ba6e[_0xc4ad('0x63')][_0xc4ad('0x31')](_0xc4ad('0x32')))return;const _0x5af897=_0x50ba6e[_0xc4ad('0x36')][_0xc4ad('0x12')],_0x5d575f=_0x2daa49[_0xc4ad('0x58')]()[_0xc4ad('0x7c')](_0x597293=>_0x597293[_0xc4ad('0x27')]&&_0x597293[_0xc4ad('0x36')]&&_0x597293[_0xc4ad('0x36')]['tablePasteChainId']==_0x5af897);_0x5d575f['length']&&_0x50ba6e[_0xc4ad('0x6e')]()[_0xc4ad('0x2a')]!=_0x5d575f['length']&&_0x5d575f[_0xc4ad('0x1a')]((_0x17865d,_0x302709)=>(_0x17865d[_0xc4ad('0x5b')]=_0x302709,_0x302709[_0xc4ad('0x29')]=_0x17865d,_0x302709));};function _0x27d16a(_0x2c4faa,_0x306b85=!0x0){const {id:_0x40e162}=_0x2daa49[_0xc4ad('0x4f')](_0x2c4faa['markerName']),_0xd247b8=['ck-suggestion-marker',_0xc4ad('0x7a')],_0x2e5f60=_0x2daa49['activeMarkers'][_0xc4ad('0x3d')](_0x2c4faa[_0xc4ad('0x57')]);return _0x2e5f60&&_0xd247b8[_0xc4ad('0x2b')](_0xc4ad('0xf')),{'classes':_0xd247b8,'attributes':{'data-suggestion':_0x40e162},'priority':_0x2e5f60&&_0x306b85?0xbc2:0xbb8};}_0x2daa49['on']('suggestionLoaded',_0x49c58d,{'priority':_0xc4ad('0x19')}),_0x2daa49['on']('suggestionUnloaded',_0x49c58d,{'priority':_0xc4ad('0x19')}),_0x383515['model'][_0xc4ad('0x22')][_0xc4ad('0x92')](()=>{let _0xfbfbea=!0x1;const _0x130885=Array[_0xc4ad('0x47')](_0x383515[_0xc4ad('0x80')]['document'][_0xc4ad('0x4d')][_0xc4ad('0x95')]());for(const {name:_0x162193,data:_0x8f6031}of _0x130885){const {group:_0x199fcb,type:_0x3eb8ee,id:_0x2163e4}=_0x2daa49[_0xc4ad('0x4f')](_0x162193);if(_0xc4ad('0x5')!=_0x199fcb||_0xc4ad('0x97')!=_0x3eb8ee||_0x8f6031[_0xc4ad('0x3f')])continue;if(!_0x2daa49[_0xc4ad('0x2d')](_0x2163e4))continue;const _0x32bbf0=_0x2daa49[_0xc4ad('0x76')](_0x2163e4)[_0xc4ad('0x3e')](),_0x20f1cf=_0x383515[_0xc4ad('0x6d')]['get'](_0xc4ad('0x45'))['me'];for(const _0x4b3cb2 of _0x2daa49[_0xc4ad('0x58')]()){if(!_0x4b3cb2['isInContent']||_0x4b3cb2[_0xc4ad('0x8')]!=_0x20f1cf)continue;if(_0xc4ad('0x41')!=_0x4b3cb2['type']||'tablePasteCell'!=_0x4b3cb2[_0xc4ad('0x63')])continue;if(_0x4b3cb2['getRanges']()[_0xc4ad('0x20')](_0x15aa3c=>_0x32bbf0[_0xc4ad('0xa0')](_0xc0b328=>_0xc0b328[_0xc4ad('0x51')](_0x15aa3c,!0x0))))for(const _0x399cd8 of _0x4b3cb2[_0xc4ad('0x6e')]())_0x399cd8[_0xc4ad('0x27')]&&(_0x399cd8[_0xc4ad('0x71')](),_0xfbfbea=!0x0);}}return _0xfbfbea;}),_0x383515[_0xc4ad('0x80')][_0xc4ad('0x22')][_0xc4ad('0x92')](_0x4d0944=>{const _0x521cb8=_0x383515[_0xc4ad('0x34')][_0xc4ad('0xd')](_0xc4ad('0x8d'));if(!_0x521cb8||!_0x521cb8['_createdBatches'][_0xc4ad('0x78')](_0x4d0944[_0xc4ad('0x93')]))return!0x1;let _0x536d47=!0x1;const _0x42523a=_0x383515[_0xc4ad('0x6d')]['get'](_0xc4ad('0x45'))['me'],_0x53372f=_0x383515[_0xc4ad('0x80')][_0xc4ad('0x22')][_0xc4ad('0x4d')][_0xc4ad('0x2c')](),_0x518498=Array[_0xc4ad('0x47')](_0x383515[_0xc4ad('0x80')][_0xc4ad('0x22')][_0xc4ad('0x4d')]['getChangedMarkers']())[_0xc4ad('0x7c')](({name:_0x2e9fbe,data:_0x5f42ee})=>{const {group:_0x13fb11,subType:_0x31a3ff,authorId:_0x11ef0c}=_0x2daa49[_0xc4ad('0x4f')](_0x2e9fbe);return _0xc4ad('0x5')==_0x13fb11&&_0xc4ad('0x32')==_0x31a3ff&&_0x11ef0c==_0x42523a['id']&&!_0x5f42ee['oldRange'];});for(const _0xa6358a of _0x53372f){if(_0xc4ad('0x7b')!=_0xa6358a[_0xc4ad('0x8b')]||_0xc4ad('0x61')!=_0xa6358a[_0xc4ad('0xb')]||0x1!=_0xa6358a[_0xc4ad('0x2a')])continue;const _0x572fb9=_0x4d0944['createRange'](_0xa6358a[_0xc4ad('0x5a')],_0xa6358a[_0xc4ad('0x5a')][_0xc4ad('0x26')](0x1));if(!_0x518498['find'](({data:_0x1e80b5})=>_0x1e80b5[_0xc4ad('0x10')][_0xc4ad('0x75')](_0x572fb9)))for(const {name:_0x3ec784,data:_0x59dc19}of _0x518498)if(_0x572fb9[_0xc4ad('0x51')](_0x59dc19['newRange'])){_0x4d0944['updateMarker'](_0x3ec784,{'range':_0x572fb9}),_0x536d47=!0x0;break;}}return _0x536d47;}),_0x383515[_0xc4ad('0x80')][_0xc4ad('0x22')][_0xc4ad('0x92')](_0x286caf=>{let _0x55be2f=!0x1;const _0x2709e4=_0x383515[_0xc4ad('0x6d')][_0xc4ad('0xd')](_0xc4ad('0x45'))['me'],_0x126616=_0x2daa49[_0xc4ad('0x58')]()['filter'](_0x3ae7d0=>_0x3ae7d0[_0xc4ad('0x27')]&&_0x3ae7d0[_0xc4ad('0x8')]==_0x2709e4),_0x269c75=new Set(),_0x471a00=new Set();for(const _0x4f8ef3 of _0x126616)if(_0xc4ad('0x32')==_0x4f8ef3[_0xc4ad('0x63')])for(const _0x4f6b77 of _0x4f8ef3['getMarkers']()){const _0x2d097b=_0x4f6b77[_0xc4ad('0x9c')]()['getContainedElement']();if(_0x2d097b){if(_0x2d097b['is']('element','tableCellSuggestion')&&ce(_0x2d097b)){_0x4f8ef3[_0xc4ad('0x68')](_0x4f6b77[_0xc4ad('0xb')]),_0x269c75['add'](_0x2d097b),_0x55be2f=!0x0;const _0x34452b=_0x2d097b[_0xc4ad('0x9d')],_0x54a9ef=_0x2d097b[_0xc4ad('0x99')],_0x3a5d89=_0x34452b&&_0x34452b['is'](_0xc4ad('0x84'),_0xc4ad('0x61')),_0x1b8362=_0x54a9ef&&_0x54a9ef['is'](_0xc4ad('0x84'),_0xc4ad('0x61'));_0x3a5d89&&!_0x269c75[_0xc4ad('0x78')](_0x34452b)&&_0x471a00[_0xc4ad('0x9e')](_0x34452b),_0x1b8362&&!_0x269c75[_0xc4ad('0x78')](_0x54a9ef)&&_0x471a00[_0xc4ad('0x9e')](_0x54a9ef);}else _0x2d097b['is'](_0xc4ad('0x84'),'paragraph')&&_0x2d097b['isEmpty']&&(_0x4f8ef3[_0xc4ad('0x68')](_0x4f6b77[_0xc4ad('0xb')]),_0x55be2f=!0x0);}}else{if(_0xc4ad('0x1')==_0x4f8ef3[_0xc4ad('0x63')]){if(!_0x4f8ef3['attributes']||!_0x4f8ef3[_0xc4ad('0x36')][_0xc4ad('0x12')])continue;const _0x2f46b5=_0x4f8ef3[_0xc4ad('0x36')]['markerAttributes'];if(_0x2f46b5&&Object[_0xc4ad('0x11')](_0x2f46b5)[_0xc4ad('0x2a')])continue;const _0x33a78f=_0x4f8ef3[_0xc4ad('0x36')][_0xc4ad('0x12')];let _0x42e144=!0x0,_0x2745d0=!0x0;for(const _0x318883 of _0x126616)if(_0x318883['subType']&&_0x318883[_0xc4ad('0x63')][_0xc4ad('0x31')](_0xc4ad('0x32'))){if(!_0x318883[_0xc4ad('0x36')][_0xc4ad('0x12')]){_0x2745d0=!0x1;break;}if(_0x318883['id']!=_0x4f8ef3['id']&&_0x318883[_0xc4ad('0x36')][_0xc4ad('0x12')]==_0x33a78f){_0x42e144=!0x1;break;}}_0x2745d0&&_0x42e144&&(_0x4f8ef3[_0xc4ad('0x50')](),_0x55be2f=!0x0);}}for(const _0x13b228 of _0x269c75)_0x286caf[_0xc4ad('0x17')](_0x13b228);for(const _0x575c69 of _0x471a00)_0x286caf[_0xc4ad('0x8f')](_0x575c69);return _0x55be2f;}),_0x383515[_0xc4ad('0x83')]['for']('editingDowncast')[_0xc4ad('0x66')]({'model':_0xc4ad('0x21'),'view':(_0x52183b,_0xbb5b91)=>_0x27d16a(_0x52183b),'converterPriority':_0xc4ad('0x19')}),_0x383515[_0xc4ad('0x83')]['for'](_0xc4ad('0x90'))[_0xc4ad('0x66')]({'model':_0xc4ad('0x21'),'view':(_0x5843ca,_0x50d5a9)=>_0x50d5a9[_0xc4ad('0x2f')]['showSuggestionHighlights']?_0x27d16a(_0x5843ca,!0x1):null,'converterPriority':_0xc4ad('0x19')});const _0x15b936=_0x383515[_0xc4ad('0x2')][_0xc4ad('0x7d')];this[_0xc4ad('0x82')](_0x15b936[_0xc4ad('0x22')],_0xc4ad('0x3a'),(_0x21cc54,_0x3d52fc)=>{const _0x5367f4=[];for(const _0x645c88 of _0x15b936['createRangeIn'](_0x3d52fc['content'])['getItems']())_0x645c88['is']('element',_0xc4ad('0x69'))&&_0x5367f4[_0xc4ad('0x2b')](_0x645c88);_0x15b936['change'](_0x232ab7=>{for(const _0x4cba71 of _0x5367f4)_0x232ab7[_0xc4ad('0x8c')](_0x232ab7['createRangeIn'](_0x4cba71),_0x232ab7[_0xc4ad('0x65')](_0x4cba71)),_0x232ab7[_0xc4ad('0x17')](_0x4cba71);});});}}function ce(_0x305c0b){if(_0x305c0b[_0xc4ad('0x15')])return!0x0;const _0x3b65aa=_0x305c0b[_0xc4ad('0x6')](0x0);return _0x3b65aa['is'](_0xc4ad('0x84'),_0xc4ad('0x9f'))&&_0x3b65aa[_0xc4ad('0x15')];}function fe(_0x32ab25,_0x272da3={},_0x2fd0f5){for(const {isAnchor:_0x1e5fc5,cellHeight:_0x5b48c6,cellWidth:_0xffcded}of _0x2fd0f5['createTableWalker'](_0x32ab25,{'includeAllSlots':!0x0,..._0x272da3}))if(!_0x1e5fc5||0x1!=_0x5b48c6||0x1!=_0xffcded)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d50=['commandParams','getSuggestions','TableColumnResizeEditing','*Format:*\x20resize\x20table','editor','columnWidths','change','formatBlock','model','tableWidth','has','enableCommand','get','_suggestionFactory','document','TrackChangesEditing','bind','discard','markBlockFormat','_descriptionFactory','subType','selection','plugins','table','resizeTableWidth','formatGroupId','author','handleSuggestionDescription','getTableColumnsWidths','afterInit','accept','resizeColumnWidths','getColumnGroupElement','getContainedElement','registerCustomCallback','getSuggestionCallback','format','resizeTable','locale','handleResizeTableWidthCommand','registerDescriptionCallback','getSelectedElement'];(function(_0x1fbfc8,_0x4d50ee){const _0x4588c4=function(_0x682407){while(--_0x682407){_0x1fbfc8['push'](_0x1fbfc8['shift']());}};_0x4588c4(++_0x4d50ee);}(_0x4d50,0xe9));const _0x4588=function(_0x1fbfc8,_0x4d50ee){_0x1fbfc8=_0x1fbfc8-0x0;let _0x4588c4=_0x4d50[_0x1fbfc8];return _0x4588c4;};import{Plugin as _0x5e7494}from'ckeditor5/src/core';import{getTranslation as _0x44fd7c}from'../utils/common-translations';export default class wt extends _0x5e7494{[_0x4588('0x6')](){if(!this[_0x4588('0x17')][_0x4588('0x29')][_0x4588('0x1d')](_0x4588('0x15')))return;const _0x4930cd=this['editor']['plugins'][_0x4588('0x1f')](_0x4588('0x22'));_0x4930cd[_0x4588('0x1e')]('resizeTableWidth',this[_0x4588('0x10')][_0x4588('0x23')](this)),_0x4930cd['enableCommand'](_0x4588('0x8'),this[_0x4588('0x10')]['bind'](this)),_0x4930cd[_0x4588('0x20')]['registerCustomCallback'](_0x4588('0x1a'),_0x4588('0xe'),_0x4588('0x7'),_0x4930cd[_0x4588('0x20')][_0x4588('0xc')](_0x4588('0x1a'),null,'discard')),_0x4930cd['_suggestionFactory'][_0x4588('0xb')](_0x4588('0x1a'),'resizeTable',_0x4588('0x24'),_0x4930cd[_0x4588('0x20')]['getSuggestionCallback'](_0x4588('0x1a'),null,'accept')),_0x4930cd[_0x4588('0x26')][_0x4588('0x11')](this[_0x4588('0x4')]['bind'](this));}[_0x4588('0x10')](_0x16251b,_0xe200f3){const _0x39e740=this[_0x4588('0x17')][_0x4588('0x29')]['get'](_0x4588('0x22')),_0x1838db=this['editor'][_0x4588('0x29')][_0x4588('0x1f')](_0x4588('0x15')),_0x18fec9=_0xe200f3[_0x4588('0x0')]||this[_0x4588('0x17')][_0x4588('0x1b')][_0x4588('0x21')][_0x4588('0x28')][_0x4588('0x12')]();this['editor'][_0x4588('0x1b')][_0x4588('0x19')](()=>{const _0x916cae=_0x1838db[_0x4588('0x9')](_0x18fec9);let _0x211c7e=_0x916cae?_0x1838db[_0x4588('0x5')](_0x916cae):null,_0x12e942=_0x18fec9['getAttribute']('tableWidth')||null;const _0x51c14e=_0xe200f3[_0x4588('0x1c')]||_0x12e942,_0x49aac5=_0xe200f3['columnWidths']||_0x211c7e,_0x15992d=this[_0x4588('0x17')][_0x4588('0x29')][_0x4588('0x1f')]('Users')['me'];for(const _0x35a222 of _0x39e740[_0x4588('0x14')]()){const _0x5cd7d8=_0x35a222[_0x4588('0xa')]();if(_0x4588('0xe')===_0x35a222[_0x4588('0x27')]&&_0x5cd7d8===_0x18fec9){_0x35a222[_0x4588('0x3')]!==_0x15992d&&_0x35a222[_0x4588('0x24')]();const _0x458e53=_0x35a222['data'][_0x4588('0x13')];_0x12e942=_0x458e53[0x0][_0x4588('0x1c')],_0x211c7e=_0x458e53[0x0][_0x4588('0x18')];break;}}_0x16251b({'table':_0x18fec9,'tableWidth':_0x51c14e,'columnWidths':_0x49aac5}),_0x39e740[_0x4588('0x25')](_0x18fec9,{'commandName':_0x4588('0x1'),'commandParams':[{'tableWidth':_0x12e942,'columnWidths':_0x211c7e}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x4588('0x4')](_0x55bcc4){const {data:_0x392191}=_0x55bcc4;if(_0x392191&&'resizeTable'===_0x392191[_0x4588('0x2')]){const _0x38b72e=_0x4588('0x16');return{'type':_0x4588('0xd'),'content':_0x44fd7c(this[_0x4588('0x17')][_0x4588('0xf')],_0x38b72e)};}}}
23
+ const _0x1024=['plugins','getColumnGroupElement','handleSuggestionDescription','columnWidths','getAttribute','formatGroupId','handleResizeTableWidthCommand','tableWidth','enableCommand','TableColumnResizeEditing','resizeTable','registerDescriptionCallback','accept','model','*Format:*\x20resize\x20table','afterInit','editor','getSelectedElement','bind','_suggestionFactory','_descriptionFactory','selection','Users','markBlockFormat','document','formatBlock','getSuggestions','getSuggestionCallback','change','get','discard','getContainedElement','resizeTableWidth','registerCustomCallback','subType','getTableColumnsWidths','table'];(function(_0x46d190,_0x10249e){const _0x26b00f=function(_0x9b5ccf){while(--_0x9b5ccf){_0x46d190['push'](_0x46d190['shift']());}};_0x26b00f(++_0x10249e);}(_0x1024,0x18d));const _0x26b0=function(_0x46d190,_0x10249e){_0x46d190=_0x46d190-0x0;let _0x26b00f=_0x1024[_0x46d190];return _0x26b00f;};import{Plugin as _0x3a3feb}from'ckeditor5/src/core';import{getTranslation as _0x3b8072}from'../utils/common-translations';export default class wt extends _0x3a3feb{[_0x26b0('0x19')](){if(!this[_0x26b0('0x1a')][_0x26b0('0xa')]['has'](_0x26b0('0x13')))return;const _0x408150=this['editor'][_0x26b0('0xa')][_0x26b0('0x2')]('TrackChangesEditing');_0x408150[_0x26b0('0x12')](_0x26b0('0x5'),this[_0x26b0('0x10')][_0x26b0('0x1c')](this)),_0x408150[_0x26b0('0x12')]('resizeColumnWidths',this[_0x26b0('0x10')]['bind'](this)),_0x408150[_0x26b0('0x1d')][_0x26b0('0x6')](_0x26b0('0x23'),'resizeTable','accept',_0x408150[_0x26b0('0x1d')]['getSuggestionCallback']('formatBlock',null,_0x26b0('0x3'))),_0x408150[_0x26b0('0x1d')][_0x26b0('0x6')]('formatBlock',_0x26b0('0x14'),'discard',_0x408150[_0x26b0('0x1d')][_0x26b0('0x0')](_0x26b0('0x23'),null,_0x26b0('0x16'))),_0x408150[_0x26b0('0x1e')][_0x26b0('0x15')](this['handleSuggestionDescription']['bind'](this));}[_0x26b0('0x10')](_0x15ae73,_0x3ae03f){const _0x4d5281=this[_0x26b0('0x1a')]['plugins'][_0x26b0('0x2')]('TrackChangesEditing'),_0x4e599d=this['editor']['plugins'][_0x26b0('0x2')](_0x26b0('0x13')),_0x171bf9=_0x3ae03f[_0x26b0('0x9')]||this['editor'][_0x26b0('0x17')][_0x26b0('0x22')][_0x26b0('0x1f')][_0x26b0('0x1b')]();this['editor'][_0x26b0('0x17')][_0x26b0('0x1')](()=>{const _0x4d315c=_0x4e599d[_0x26b0('0xb')](_0x171bf9);let _0x521af9=_0x4d315c?_0x4e599d[_0x26b0('0x8')](_0x4d315c):null,_0x507ad8=_0x171bf9[_0x26b0('0xe')](_0x26b0('0x11'))||null;const _0x33c11a=_0x3ae03f[_0x26b0('0x11')]||_0x507ad8,_0x36658e=_0x3ae03f[_0x26b0('0xd')]||_0x521af9,_0x14bde7=this[_0x26b0('0x1a')][_0x26b0('0xa')][_0x26b0('0x2')](_0x26b0('0x20'))['me'];for(const _0x108512 of _0x4d5281[_0x26b0('0x24')]()){const _0x420fb3=_0x108512[_0x26b0('0x4')]();if('resizeTable'===_0x108512[_0x26b0('0x7')]&&_0x420fb3===_0x171bf9){_0x108512['author']!==_0x14bde7&&_0x108512[_0x26b0('0x3')]();const _0xf34114=_0x108512['data']['commandParams'];_0x507ad8=_0xf34114[0x0][_0x26b0('0x11')],_0x521af9=_0xf34114[0x0][_0x26b0('0xd')];break;}}_0x15ae73({'table':_0x171bf9,'tableWidth':_0x33c11a,'columnWidths':_0x36658e}),_0x4d5281[_0x26b0('0x21')](_0x171bf9,{'commandName':_0x26b0('0x5'),'commandParams':[{'tableWidth':_0x507ad8,'columnWidths':_0x521af9}],'formatGroupId':_0x26b0('0x14')},[],_0x26b0('0x14'));});}[_0x26b0('0xc')](_0x15fb09){const {data:_0x20a8ea}=_0x15fb09;if(_0x20a8ea&&_0x26b0('0x14')===_0x20a8ea[_0x26b0('0xf')]){const _0xd7f11c=_0x26b0('0x18');return{'type':'format','content':_0x3b8072(this[_0x26b0('0x1a')]['locale'],_0xd7f11c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdcea=['accept','activeMarkers','end','index','first','createPositionBefore','markerNameToElements','value','item','ck-suggestion-marker--active','forceValue','FORMAT_HEADER_ROW','consumable','_suggestionFactory','FORMAT_HEADER_COLUMN','editor','*Format:*\x20%0','format','parent','headingColumns','name','markerName','selection','cell','nodeBefore','registerCustomCallback','ck-suggestion-marker-','removeClass','addClass','toViewElement','commands','createPositionAfter','editing','highest','table','_splitMarkerName','removeMarker:suggestion','_acceptFormatSuggestionCallbackFactory','createTableWalker','start','from','last','formatBlock','markerRange','change','FORMAT_REGULAR_COLUMN','TableEditing','data-suggestion','data','model','getCellLocation','headingRows','commandParams','setTableRowHeader','showSuggestionHighlights','findAncestor','plugins','isBefore','getColumnIndexes','getAttribute','unbindElementFromMarkerName','has','TrackChangesEditing','commandName','includes','TableUtils','setAttribute','afterInit','addMarker:suggestion','downcastDispatcher','enableCommand','getSelectionAffectedTableCells','markBlockFormat','mapper','createRange','getChild','setTableColumnHeader','writer','getSuggestion','options','get','removeAttribute'];(function(_0x4729a7,_0xdceadd){const _0x76d679=function(_0x5b06a8){while(--_0x5b06a8){_0x4729a7['push'](_0x4729a7['shift']());}};_0x76d679(++_0xdceadd);}(_0xdcea,0x18f));const _0x76d6=function(_0x4729a7,_0xdceadd){_0x4729a7=_0x4729a7-0x0;let _0x76d679=_0xdcea[_0x4729a7];return _0x76d679;};import{Plugin as _0x567777}from'ckeditor5/src/core';import _0x5031f1 from'./table';import{getTranslation as _0x3153a5}from'../utils/common-translations';export default class pt extends _0x567777{static get['requires'](){return[_0x5031f1];}[_0x76d6('0x4e')](){const _0x4ff62a=this[_0x76d6('0x1a')];if(!_0x4ff62a[_0x76d6('0x43')][_0x76d6('0x48')](_0x76d6('0x39')))return;const _0x4e2b00=_0x4ff62a['locale'],_0x2e9134=_0x4ff62a['plugins'][_0x76d6('0x9')](_0x76d6('0x49')),_0x9ec2d=_0x4ff62a['plugins'][_0x76d6('0x9')](_0x76d6('0x4c')),_0x1f9f74=_0x4ff62a['plugins'][_0x76d6('0x9')](_0x5031f1);function _0x1fad40({showActiveMarker:_0x11fc56=!0x0,setDataAttribute:_0x26868e=!0x0}={}){return(_0x1a61be,_0x2381d0,_0xe86293)=>{const {type:_0x9f565a,id:_0x33496a}=_0x2e9134[_0x76d6('0x2e')](_0x2381d0[_0x76d6('0x20')]),_0x4367b7=_0x2e9134['getSuggestion'](_0x33496a);if(!_0x4367b7[_0x76d6('0x3b')]||_0x76d6('0x5')!=_0x4367b7[_0x76d6('0x3b')][_0x76d6('0x4a')])return;if(_0x2381d0[_0x76d6('0x13')])return void _0x1a61be['stop']();if(!_0xe86293[_0x76d6('0x17')]['consume'](_0x2381d0[_0x76d6('0x36')],_0x1a61be[_0x76d6('0x1f')]))return;const _0x58f9aa=_0x2381d0[_0x76d6('0x36')][_0x76d6('0x32')]['nodeAfter'],_0x5b28f5=_0x2381d0['markerRange'][_0x76d6('0xd')][_0x76d6('0x23')],_0x46e419=_0x58f9aa['parent'][_0x76d6('0x1d')],{column:_0x14e604}=_0x9ec2d[_0x76d6('0x3d')](_0x58f9aa),{column:_0x5b5aa5}=_0x9ec2d[_0x76d6('0x3d')](_0x5b28f5);for(let _0x132040=_0x14e604;_0x132040<=_0x5b5aa5;_0x132040++){const _0x2382a1=_0x9ec2d[_0x76d6('0x31')](_0x46e419,{'column':_0x132040,'includeAllSlots':!0x1});for(const _0x290814 of _0x2382a1){const _0x48e070=_0x290814[_0x76d6('0x22')],_0x12038f=_0xe86293['mapper'][_0x76d6('0x28')](_0x48e070);_0xe86293[_0x76d6('0x6')][_0x76d6('0x27')](_0x76d6('0x25')+_0x9f565a,_0x12038f),_0x26868e&&_0xe86293[_0x76d6('0x6')][_0x76d6('0x4d')](_0x76d6('0x3a'),_0x33496a,_0x12038f),_0xe86293[_0x76d6('0x2')]['bindElementToMarker'](_0x12038f,_0x2381d0['markerName']),_0x11fc56&&(_0x2e9134[_0x76d6('0xc')][_0x76d6('0x4b')](_0x2381d0[_0x76d6('0x20')])?_0xe86293['writer'][_0x76d6('0x27')](_0x76d6('0x14'),_0x12038f):_0xe86293['writer'][_0x76d6('0x26')](_0x76d6('0x14'),_0x12038f));}}};}_0x2e9134[_0x76d6('0x51')](_0x76d6('0x40'),(_0x3d34a4,_0x5dab20)=>{const _0x242599=_0x9ec2d[_0x76d6('0x0')](_0x4ff62a['model']['document'][_0x76d6('0x21')]),_0x54d156=_0x9ec2d['getRowIndexes'](_0x242599),_0x2fb2c1=_0x242599[0x0][_0x76d6('0x42')](_0x76d6('0x2d')),_0x125db4=_0x2fb2c1[_0x76d6('0x46')](_0x76d6('0x3e'))||0x0,_0x51086b=_0x5dab20&&null!==_0x5dab20['forceValue']?_0x5dab20['forceValue']:!_0x4ff62a[_0x76d6('0x29')][_0x76d6('0x9')](_0x76d6('0x40'))[_0x76d6('0x12')],_0x347045=_0x51086b?_0x54d156[_0x76d6('0x34')]:_0x54d156[_0x76d6('0xf')],_0x22194a=_0x2fb2c1[_0x76d6('0x4')](_0x347045);let _0x56821f;if(_0x51086b){const _0x1a42b0=_0x2fb2c1[_0x76d6('0x4')](_0x125db4);if(_0x22194a[_0x76d6('0xe')]<_0x1a42b0[_0x76d6('0xe')])return;_0x56821f=_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x3')](_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x10')](_0x1a42b0['getChild'](0x0)),_0x4ff62a[_0x76d6('0x3c')]['createPositionAfter'](_0x22194a['getChild'](_0x22194a['childCount']-0x1)));}else{const _0x477057=_0x2fb2c1[_0x76d6('0x4')](_0x125db4-0x1);if(!_0x477057)return;_0x56821f=_0x4ff62a['model'][_0x76d6('0x3')](_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x10')](_0x22194a[_0x76d6('0x4')](0x0)),_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x2a')](_0x477057[_0x76d6('0x4')](_0x477057['childCount']-0x1)));}_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x37')](()=>{_0x2e9134[_0x76d6('0x1')](_0x56821f,{'commandName':_0x76d6('0x40'),'commandParams':[{'forceValue':_0x51086b}]},[],_0x76d6('0x40'));});}),_0x2e9134['enableCommand'](_0x76d6('0x5'),(_0xf10a24,_0x22b4db)=>{const _0x152680=_0x4ff62a['plugins'][_0x76d6('0x9')](_0x76d6('0x4c')),_0xab113b=_0x152680[_0x76d6('0x0')](_0x4ff62a[_0x76d6('0x3c')]['document'][_0x76d6('0x21')]),_0x3a9ac9=_0x152680[_0x76d6('0x45')](_0xab113b),_0x1a9ca0=_0xab113b[0x0]['findAncestor'](_0x76d6('0x2d')),_0x19d639=_0x1a9ca0[_0x76d6('0x46')](_0x76d6('0x1e'))||0x0,_0x1db909=_0x22b4db&&null!==_0x22b4db[_0x76d6('0x15')]?_0x22b4db[_0x76d6('0x15')]:!_0x4ff62a[_0x76d6('0x29')][_0x76d6('0x9')]('setTableColumnHeader')[_0x76d6('0x12')];let _0x887cd9;const _0x34e428=_0x1a9ca0['getChild'](0x0),_0x442361=_0x1db909?_0x3a9ac9[_0x76d6('0x34')]:_0x3a9ac9[_0x76d6('0xf')],_0x347911=_0x152680[_0x76d6('0x31')](_0x1a9ca0,{'startRow':0x0,'column':_0x442361,'includeAllSlots':!0x1}),_0xca0424=Array[_0x76d6('0x33')](_0x347911)[0x0][_0x76d6('0x22')];if(_0x1db909){const _0x36988d=_0x34e428[_0x76d6('0x4')](_0x19d639);if(_0xca0424[_0x76d6('0x44')](_0x36988d))return;_0x887cd9=_0x4ff62a[_0x76d6('0x3c')]['createRange'](_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x10')](_0x36988d),_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x2a')](_0xca0424));}else{const _0x425d62=_0x34e428['getChild'](_0x19d639-0x1);if(!_0x425d62)return;_0x887cd9=_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x3')](_0x4ff62a['model']['createPositionBefore'](_0xca0424),_0x4ff62a[_0x76d6('0x3c')]['createPositionAfter'](_0x425d62));}_0x4ff62a[_0x76d6('0x3c')][_0x76d6('0x37')](()=>{_0x2e9134[_0x76d6('0x1')](_0x887cd9,{'commandName':_0x76d6('0x5'),'commandParams':[{'forceValue':_0x1db909}]},[],'setTableColumnHeader');});}),_0x4ff62a[_0x76d6('0x2b')][_0x76d6('0x50')]['on']('addMarker:suggestion',_0x1fad40(),{'priority':'highest'}),_0x4ff62a['data'][_0x76d6('0x50')]['on'](_0x76d6('0x4f'),(_0x4316b9,_0x4b41a7,_0x45b9ed)=>{_0x45b9ed[_0x76d6('0x8')][_0x76d6('0x41')]&&_0x1fad40({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4316b9,_0x4b41a7,_0x45b9ed);},{'priority':_0x76d6('0x2c')}),_0x4ff62a[_0x76d6('0x2b')][_0x76d6('0x50')]['on'](_0x76d6('0x2f'),(_0x1d41b5,_0x22df03,_0x2ea4cb)=>{const {type:_0x48316b,id:_0x4b88c5}=_0x2e9134[_0x76d6('0x2e')](_0x22df03[_0x76d6('0x20')]),_0x2701e8=_0x2e9134[_0x76d6('0x7')](_0x4b88c5);if(!_0x2701e8[_0x76d6('0x3b')]||_0x76d6('0x5')!=_0x2701e8[_0x76d6('0x3b')]['commandName'])return;const _0x1a4651=_0x2ea4cb[_0x76d6('0x2')][_0x76d6('0x11')](_0x22df03[_0x76d6('0x20')]);if(_0x1a4651)for(const _0x417df7 of _0x1a4651)_0x2ea4cb['writer'][_0x76d6('0x26')]('ck-suggestion-marker-'+_0x48316b,_0x417df7),_0x2ea4cb[_0x76d6('0x6')]['removeClass'](_0x76d6('0x14'),_0x417df7),_0x2ea4cb['writer'][_0x76d6('0xa')](_0x76d6('0x3a'),_0x417df7),_0x2ea4cb[_0x76d6('0x2')][_0x76d6('0x47')](_0x417df7,_0x22df03[_0x76d6('0x20')]);},{'priority':'highest'}),_0x2e9134['_descriptionFactory']['registerDescriptionCallback'](_0x3be984=>{const {data:_0x11dd13}=_0x3be984;if(_0x11dd13){if(_0x76d6('0x40')==_0x11dd13['commandName']){const _0x3dc608=_0x11dd13[_0x76d6('0x3f')][0x0]['forceValue'];return _0x305a43(_0x3153a5(_0x4e2b00,_0x3dc608?_0x76d6('0x16'):'FORMAT_REGULAR_ROW'));}if(_0x76d6('0x5')==_0x11dd13['commandName']){const _0x39e4b0=_0x11dd13[_0x76d6('0x3f')][0x0][_0x76d6('0x15')];return _0x305a43(_0x3153a5(_0x4e2b00,_0x39e4b0?_0x76d6('0x19'):_0x76d6('0x38')));}}function _0x305a43(_0x244e5f){return{'type':_0x76d6('0x1c'),'content':_0x3153a5(_0x4e2b00,_0x76d6('0x1b'),_0x244e5f)};}});const _0x8fb11e=_0x1f9f74[_0x76d6('0x30')]();_0x2e9134[_0x76d6('0x18')]['registerCustomCallback'](_0x76d6('0x35'),_0x76d6('0x40'),_0x76d6('0xb'),_0x8fb11e),_0x2e9134[_0x76d6('0x18')][_0x76d6('0x24')]('formatBlock',_0x76d6('0x5'),_0x76d6('0xb'),_0x8fb11e);}}
23
+ const _0x1ff0=['document','getAttribute','accept','_suggestionFactory','removeAttribute','findAncestor','markBlockFormat','markerName','addMarker:suggestion','writer','editing','setTableRowHeader','parent','last','getChild','start','forceValue','FORMAT_HEADER_COLUMN','markerNameToElements','mapper','plugins','consume','get','nodeAfter','options','ck-suggestion-marker--active','value','downcastDispatcher','createPositionAfter','removeClass','*Format:*\x20%0','markerRange','cell','locale','end','unbindElementFromMarkerName','createRange','_splitMarkerName','model','afterInit','selection','_descriptionFactory','childCount','index','headingRows','activeMarkers','getColumnIndexes','formatBlock','has','setAttribute','getCellLocation','format','addClass','data','headingColumns','ck-suggestion-marker-','createTableWalker','TrackChangesEditing','first','TableEditing','bindElementToMarker','isBefore','commandName','requires','includes','registerCustomCallback','highest','FORMAT_HEADER_ROW','table','FORMAT_REGULAR_COLUMN','getSelectionAffectedTableCells','change','_acceptFormatSuggestionCallbackFactory','consumable','setTableColumnHeader','nodeBefore','toViewElement','getRowIndexes','commandParams','createPositionBefore','enableCommand','TableUtils'];(function(_0x190eed,_0x1ff0ae){const _0x38c4ad=function(_0x540b52){while(--_0x540b52){_0x190eed['push'](_0x190eed['shift']());}};_0x38c4ad(++_0x1ff0ae);}(_0x1ff0,0xcd));const _0x38c4=function(_0x190eed,_0x1ff0ae){_0x190eed=_0x190eed-0x0;let _0x38c4ad=_0x1ff0[_0x190eed];return _0x38c4ad;};import{Plugin as _0x12d812}from'ckeditor5/src/core';import _0x4b1b71 from'./table';import{getTranslation as _0x2fd8bf}from'../utils/common-translations';export default class pt extends _0x12d812{static get[_0x38c4('0x16')](){return[_0x4b1b71];}[_0x38c4('0x50')](){const _0xb86c77=this['editor'];if(!_0xb86c77[_0x38c4('0x3d')][_0x38c4('0x7')](_0x38c4('0x12')))return;const _0x467e9f=_0xb86c77[_0x38c4('0x4a')],_0x6b05b1=_0xb86c77['plugins'][_0x38c4('0x3f')](_0x38c4('0x10')),_0x41c6dc=_0xb86c77[_0x38c4('0x3d')]['get']('TableUtils'),_0x545c03=_0xb86c77[_0x38c4('0x3d')][_0x38c4('0x3f')](_0x4b1b71);function _0x180925({showActiveMarker:_0x19793d=!0x0,setDataAttribute:_0x50dcb4=!0x0}={}){return(_0x275337,_0x5513d9,_0x473268)=>{const {type:_0x5aa08d,id:_0x228776}=_0x6b05b1[_0x38c4('0x4e')](_0x5513d9[_0x38c4('0x30')]),_0x4c0b85=_0x6b05b1['getSuggestion'](_0x228776);if(!_0x4c0b85[_0x38c4('0xc')]||'setTableColumnHeader'!=_0x4c0b85['data'][_0x38c4('0x15')])return;if(_0x5513d9['item'])return void _0x275337['stop']();if(!_0x473268[_0x38c4('0x20')][_0x38c4('0x3e')](_0x5513d9[_0x38c4('0x48')],_0x275337['name']))return;const _0x3a213b=_0x5513d9['markerRange'][_0x38c4('0x38')][_0x38c4('0x40')],_0x588262=_0x5513d9[_0x38c4('0x48')][_0x38c4('0x4b')][_0x38c4('0x22')],_0x2fedb4=_0x3a213b[_0x38c4('0x35')][_0x38c4('0x35')],{column:_0x482fb5}=_0x41c6dc['getCellLocation'](_0x3a213b),{column:_0x34945e}=_0x41c6dc[_0x38c4('0x9')](_0x588262);for(let _0x33b83c=_0x482fb5;_0x33b83c<=_0x34945e;_0x33b83c++){const _0x3c2286=_0x41c6dc[_0x38c4('0xf')](_0x2fedb4,{'column':_0x33b83c,'includeAllSlots':!0x1});for(const _0x40276a of _0x3c2286){const _0x313750=_0x40276a[_0x38c4('0x49')],_0x5a5ab8=_0x473268[_0x38c4('0x3c')][_0x38c4('0x23')](_0x313750);_0x473268['writer'][_0x38c4('0xb')](_0x38c4('0xe')+_0x5aa08d,_0x5a5ab8),_0x50dcb4&&_0x473268[_0x38c4('0x32')][_0x38c4('0x8')]('data-suggestion',_0x228776,_0x5a5ab8),_0x473268[_0x38c4('0x3c')][_0x38c4('0x13')](_0x5a5ab8,_0x5513d9[_0x38c4('0x30')]),_0x19793d&&(_0x6b05b1[_0x38c4('0x4')][_0x38c4('0x17')](_0x5513d9[_0x38c4('0x30')])?_0x473268[_0x38c4('0x32')][_0x38c4('0xb')](_0x38c4('0x42'),_0x5a5ab8):_0x473268[_0x38c4('0x32')]['removeClass'](_0x38c4('0x42'),_0x5a5ab8));}}};}_0x6b05b1[_0x38c4('0x27')](_0x38c4('0x34'),(_0x229e1b,_0x14eea2)=>{const _0x34eda6=_0x41c6dc[_0x38c4('0x1d')](_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x29')][_0x38c4('0x51')]),_0x3333a5=_0x41c6dc[_0x38c4('0x24')](_0x34eda6),_0x12fbe0=_0x34eda6[0x0][_0x38c4('0x2e')](_0x38c4('0x1b')),_0x58147c=_0x12fbe0[_0x38c4('0x2a')](_0x38c4('0x3'))||0x0,_0x4a9322=_0x14eea2&&null!==_0x14eea2[_0x38c4('0x39')]?_0x14eea2[_0x38c4('0x39')]:!_0xb86c77['commands'][_0x38c4('0x3f')](_0x38c4('0x34'))[_0x38c4('0x43')],_0x3c71b5=_0x4a9322?_0x3333a5[_0x38c4('0x36')]:_0x3333a5[_0x38c4('0x11')],_0x49ca25=_0x12fbe0[_0x38c4('0x37')](_0x3c71b5);let _0x3baa0d;if(_0x4a9322){const _0xb6cded=_0x12fbe0[_0x38c4('0x37')](_0x58147c);if(_0x49ca25[_0x38c4('0x2')]<_0xb6cded[_0x38c4('0x2')])return;_0x3baa0d=_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x4d')](_0xb86c77[_0x38c4('0x4f')]['createPositionBefore'](_0xb6cded[_0x38c4('0x37')](0x0)),_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x45')](_0x49ca25[_0x38c4('0x37')](_0x49ca25['childCount']-0x1)));}else{const _0x32fe83=_0x12fbe0[_0x38c4('0x37')](_0x58147c-0x1);if(!_0x32fe83)return;_0x3baa0d=_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x4d')](_0xb86c77['model'][_0x38c4('0x26')](_0x49ca25[_0x38c4('0x37')](0x0)),_0xb86c77[_0x38c4('0x4f')]['createPositionAfter'](_0x32fe83[_0x38c4('0x37')](_0x32fe83[_0x38c4('0x1')]-0x1)));}_0xb86c77[_0x38c4('0x4f')]['change'](()=>{_0x6b05b1[_0x38c4('0x2f')](_0x3baa0d,{'commandName':_0x38c4('0x34'),'commandParams':[{'forceValue':_0x4a9322}]},[],'setTableRowHeader');});}),_0x6b05b1[_0x38c4('0x27')](_0x38c4('0x21'),(_0x582730,_0x996a3b)=>{const _0x24f6cc=_0xb86c77['plugins'][_0x38c4('0x3f')](_0x38c4('0x28')),_0x2d91d3=_0x24f6cc['getSelectionAffectedTableCells'](_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x29')][_0x38c4('0x51')]),_0x3e3663=_0x24f6cc[_0x38c4('0x5')](_0x2d91d3),_0x5b8d15=_0x2d91d3[0x0]['findAncestor'](_0x38c4('0x1b')),_0x504955=_0x5b8d15[_0x38c4('0x2a')](_0x38c4('0xd'))||0x0,_0x21da37=_0x996a3b&&null!==_0x996a3b[_0x38c4('0x39')]?_0x996a3b[_0x38c4('0x39')]:!_0xb86c77['commands'][_0x38c4('0x3f')](_0x38c4('0x21'))['value'];let _0x34a45f;const _0x1cea79=_0x5b8d15[_0x38c4('0x37')](0x0),_0x54773b=_0x21da37?_0x3e3663[_0x38c4('0x36')]:_0x3e3663[_0x38c4('0x11')],_0xbb8fb2=_0x24f6cc[_0x38c4('0xf')](_0x5b8d15,{'startRow':0x0,'column':_0x54773b,'includeAllSlots':!0x1}),_0x25e06e=Array['from'](_0xbb8fb2)[0x0][_0x38c4('0x49')];if(_0x21da37){const _0x24468a=_0x1cea79[_0x38c4('0x37')](_0x504955);if(_0x25e06e[_0x38c4('0x14')](_0x24468a))return;_0x34a45f=_0xb86c77[_0x38c4('0x4f')]['createRange'](_0xb86c77['model'][_0x38c4('0x26')](_0x24468a),_0xb86c77[_0x38c4('0x4f')]['createPositionAfter'](_0x25e06e));}else{const _0x4e03cc=_0x1cea79['getChild'](_0x504955-0x1);if(!_0x4e03cc)return;_0x34a45f=_0xb86c77['model'][_0x38c4('0x4d')](_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x26')](_0x25e06e),_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x45')](_0x4e03cc));}_0xb86c77[_0x38c4('0x4f')][_0x38c4('0x1e')](()=>{_0x6b05b1['markBlockFormat'](_0x34a45f,{'commandName':_0x38c4('0x21'),'commandParams':[{'forceValue':_0x21da37}]},[],'setTableColumnHeader');});}),_0xb86c77[_0x38c4('0x33')][_0x38c4('0x44')]['on']('addMarker:suggestion',_0x180925(),{'priority':_0x38c4('0x19')}),_0xb86c77[_0x38c4('0xc')][_0x38c4('0x44')]['on'](_0x38c4('0x31'),(_0x4f01af,_0x5c5f51,_0x27484b)=>{_0x27484b[_0x38c4('0x41')]['showSuggestionHighlights']&&_0x180925({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4f01af,_0x5c5f51,_0x27484b);},{'priority':_0x38c4('0x19')}),_0xb86c77[_0x38c4('0x33')][_0x38c4('0x44')]['on']('removeMarker:suggestion',(_0x11f4de,_0x5a8877,_0x2fe310)=>{const {type:_0x5d17ea,id:_0x2be2ef}=_0x6b05b1[_0x38c4('0x4e')](_0x5a8877[_0x38c4('0x30')]),_0x4d81a9=_0x6b05b1['getSuggestion'](_0x2be2ef);if(!_0x4d81a9[_0x38c4('0xc')]||'setTableColumnHeader'!=_0x4d81a9['data']['commandName'])return;const _0xea6e0f=_0x2fe310[_0x38c4('0x3c')][_0x38c4('0x3b')](_0x5a8877[_0x38c4('0x30')]);if(_0xea6e0f)for(const _0x5b2070 of _0xea6e0f)_0x2fe310[_0x38c4('0x32')]['removeClass'](_0x38c4('0xe')+_0x5d17ea,_0x5b2070),_0x2fe310['writer'][_0x38c4('0x46')](_0x38c4('0x42'),_0x5b2070),_0x2fe310[_0x38c4('0x32')][_0x38c4('0x2d')]('data-suggestion',_0x5b2070),_0x2fe310[_0x38c4('0x3c')][_0x38c4('0x4c')](_0x5b2070,_0x5a8877[_0x38c4('0x30')]);},{'priority':_0x38c4('0x19')}),_0x6b05b1[_0x38c4('0x0')]['registerDescriptionCallback'](_0x1a4310=>{const {data:_0xd0bd95}=_0x1a4310;if(_0xd0bd95){if(_0x38c4('0x34')==_0xd0bd95[_0x38c4('0x15')]){const _0x5024b0=_0xd0bd95[_0x38c4('0x25')][0x0][_0x38c4('0x39')];return _0x3c1a5b(_0x2fd8bf(_0x467e9f,_0x5024b0?_0x38c4('0x1a'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0xd0bd95[_0x38c4('0x15')]){const _0x170fb1=_0xd0bd95[_0x38c4('0x25')][0x0][_0x38c4('0x39')];return _0x3c1a5b(_0x2fd8bf(_0x467e9f,_0x170fb1?_0x38c4('0x3a'):_0x38c4('0x1c')));}}function _0x3c1a5b(_0x33e78e){return{'type':_0x38c4('0xa'),'content':_0x2fd8bf(_0x467e9f,_0x38c4('0x47'),_0x33e78e)};}});const _0x4894cb=_0x545c03[_0x38c4('0x1f')]();_0x6b05b1[_0x38c4('0x2c')][_0x38c4('0x18')](_0x38c4('0x6'),_0x38c4('0x34'),_0x38c4('0x2b'),_0x4894cb),_0x6b05b1[_0x38c4('0x2c')][_0x38c4('0x18')]('formatBlock',_0x38c4('0x21'),'accept',_0x4894cb);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x324f=['markMultiRangeBlockFormat','isEnabled','_suggestionFactory','splitTableCellHorizontally','stop','document','has','_areSelectedCellsMergable','mergeTableCellRight','setSelection','type','getFirstPosition','add','root','element','_tablePostFixingSubtypes','containsRange','selection','*Split\x20cell:*\x20horizontally','mergeTableCellUp','getCellLocation','trackChanges','enableCommand','createRangeOn','*Split\x20cell:*\x20vertically','TableUtils','_descriptionFactory','getAncestors','size','change','locale','model','markBlockFormat','accept','get','filter','table','_isForcedDefaultExecutionBlock','format','value','map','length','getRanges','insertion','plugins','TableEditing','cell','mergeTableCellDown','mergeTableCellLeft','*Merge\x20cells*','registerDescriptionCallback','refresh','findAncestor','subType','TrackChangesEditing','formatBlock','editor','tableCell','splitTableCellVertically','commandName','set:isEnabled','fromRange','from','commands','createTableWalker','_acceptFormatSuggestionCallbackFactory','mergeTableCells','execute','return','_areMergableCells','getSelectionAffectedTableCells','registerCustomCallback','find','getSuggestions','direction','afterInit','isInContent','low','push'];(function(_0x831e62,_0x324f72){const _0x1cc74d=function(_0x1d114a){while(--_0x1d114a){_0x831e62['push'](_0x831e62['shift']());}};_0x1cc74d(++_0x324f72);}(_0x324f,0x86));const _0x1cc7=function(_0x831e62,_0x324f72){_0x831e62=_0x831e62-0x0;let _0x1cc74d=_0x324f[_0x831e62];return _0x1cc74d;};import{Plugin as _0x14ba06}from'ckeditor5/src/core';import _0x1b08f7 from'./table';import{LiveRange as _0x3b3964}from'ckeditor5/src/engine';import{getTranslation as _0x3c8bbf}from'../utils/common-translations';export default class dt extends _0x14ba06{static get['requires'](){return[_0x1b08f7];}[_0x1cc7('0x14')](){const _0x42b070=this[_0x1cc7('0x1')],_0x456c03=_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')],_0x2be0fe=_0x42b070[_0x1cc7('0x36')];if(!_0x42b070[_0x1cc7('0x44')]['has'](_0x1cc7('0x45')))return;const _0x5a4cdd=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')]('TrackChangesEditing'),_0x5a6f30=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x31')),_0x5ce96d=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1b08f7);_0x5ce96d[_0x1cc7('0x27')][_0x1cc7('0x17')](_0x1cc7('0xb')),_0x5a4cdd[_0x1cc7('0x2e')]('mergeTableCells',()=>{const _0x103229=_0x5a6f30[_0x1cc7('0xf')](_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')]);_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](()=>{_0x5a4cdd[_0x1cc7('0x18')](_0x103229,{'commandName':_0x1cc7('0xb'),'commandParams':[]},[],_0x1cc7('0xb'));});}),_0x42b070[_0x1cc7('0x8')]['get'](_0x1cc7('0xb'))['on'](_0x1cc7('0xc'),(_0x51f1fe,_0x9a5575)=>{_0x42b070['commands'][_0x1cc7('0x3a')](_0x1cc7('0x2d'))[_0x1cc7('0x3f')]&&(_0x9a5575['length']>0x0&&_0x9a5575[_0x9a5575[_0x1cc7('0x41')]-0x1]&&_0x9a5575[_0x9a5575[_0x1cc7('0x41')]-0x1]['forceDefaultExecution']||_0x5a4cdd[_0x1cc7('0x3d')]||this['_areSelectedCellsMergable']()||_0x51f1fe[_0x1cc7('0x1c')]());},{'priority':'highest'});for(const _0x1715bb of[_0x1cc7('0x2b'),'mergeTableCellRight','mergeTableCellDown',_0x1cc7('0x48')]){const _0x377c74=_0x42b070[_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x1715bb);_0x5a4cdd['enableCommand'](_0x1715bb,()=>{const _0x6b4d0e=_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')][_0x1cc7('0x23')]()['getAncestors']()[_0x1cc7('0x11')](_0x4ba913=>_0x4ba913['is'](_0x1cc7('0x26'),_0x1cc7('0x2'))),_0x2a4cf1=_0x377c74['value'];_0x42b070['model']['change'](()=>{_0x5a4cdd[_0x1cc7('0x18')]([_0x6b4d0e,_0x2a4cf1],{'commandName':_0x1cc7('0xb'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x18d712 of[_0x1cc7('0x3'),_0x1cc7('0x1b')]){const _0x538d0a=_0x42b070[_0x1cc7('0x8')]['get'](_0x18d712);_0x5a4cdd[_0x1cc7('0x2e')](_0x18d712,()=>{const _0x10a339=_0x5a6f30[_0x1cc7('0xf')](_0x42b070[_0x1cc7('0x37')]['document'][_0x1cc7('0x29')])[0x0],_0x2ae750=_0x10a339[_0x1cc7('0x4c')](_0x1cc7('0x3c')),{column:_0x4402e0,row:_0x3ee0ad}=_0x5a6f30[_0x1cc7('0x2c')](_0x10a339);let _0x44cd9d=[];if('horizontally'==_0x538d0a[_0x1cc7('0x13')]){const _0x1e4668=_0x5a6f30[_0x1cc7('0x9')](_0x2ae750,{'startRow':_0x3ee0ad,'endRow':_0x3ee0ad,'includeAllSlots':!0x0});_0x44cd9d=Array['from'](_0x1e4668)[_0x1cc7('0x40')](_0x532f95=>_0x532f95[_0x1cc7('0x46')]);}else{const _0x3c9583=_0x5a6f30[_0x1cc7('0x9')](_0x2ae750,{'column':_0x4402e0,'includeAllSlots':!0x0});_0x44cd9d=Array['from'](_0x3c9583)[_0x1cc7('0x40')](_0xc9aa2f=>_0xc9aa2f[_0x1cc7('0x46')]);}_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](_0x58ee75=>{_0x5a4cdd[_0x1cc7('0x38')](_0x58ee75[_0x1cc7('0x2f')](_0x10a339),{'commandName':_0x18d712,'commandParams':[]},_0x44cd9d,_0x18d712);});});}_0x5a4cdd[_0x1cc7('0x32')][_0x1cc7('0x4a')](_0x22c866=>{const {data:_0x92e15e}=_0x22c866;if(_0x92e15e)return'mergeTableCells'==_0x92e15e[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x49'))}:void 0x0;}),_0x5a4cdd[_0x1cc7('0x32')][_0x1cc7('0x4a')](_0x2c1528=>{const {data:_0x153d76}=_0x2c1528;if(_0x153d76)return _0x1cc7('0x3')==_0x153d76[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x30'))}:'splitTableCellHorizontally'==_0x153d76[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x2a'))}:void 0x0;});const _0x12721d=_0x5ce96d[_0x1cc7('0xa')]();for(const _0x57f7eb of[_0x1cc7('0x2b'),_0x1cc7('0x20'),_0x1cc7('0x47'),_0x1cc7('0x48')])_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),_0x57f7eb,_0x1cc7('0x39'),_0x12721d);for(const _0xe30670 of[_0x1cc7('0x3'),'splitTableCellHorizontally'])_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),_0xe30670,_0x1cc7('0x39'),_0x12721d);_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),'mergeTableCells',_0x1cc7('0x39'),_0x52395=>{_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](_0x200572=>{const _0x4aeb79=Array[_0x1cc7('0x7')](_0x456c03[_0x1cc7('0x42')]())[_0x1cc7('0x40')](_0x28fcc1=>_0x3b3964[_0x1cc7('0x6')](_0x28fcc1));_0x200572[_0x1cc7('0x21')](_0x52395),_0x42b070[_0x1cc7('0x8')]['get'](_0x1cc7('0xb'))[_0x1cc7('0x4b')](),_0x42b070['execute'](_0x1cc7('0xb'),{'forceDefaultExecution':!0x0});const _0x3c613a=_0x4aeb79[_0x1cc7('0x3b')](_0x26e77b=>'$graveyard'!=_0x26e77b[_0x1cc7('0x25')]['rootName']);_0x3c613a[_0x1cc7('0x41')]>0x0&&_0x200572[_0x1cc7('0x21')](_0x3c613a);for(const _0x3bee7a of _0x4aeb79)_0x3bee7a['detach']();});});for(const _0x4b955d of[_0x1cc7('0x2b'),_0x1cc7('0x47'),_0x1cc7('0x48'),'mergeTableCellRight']){const _0x43ebb5=_0x42b070[_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x4b955d);_0x43ebb5['on'](_0x1cc7('0x5'),(_0x393f3a,_0x253c64,_0x1aea2b)=>{if(_0x1aea2b){const _0x5842ca=_0x42b070[_0x1cc7('0x37')]['document'][_0x1cc7('0x29')][_0x1cc7('0x23')]()[_0x1cc7('0x33')]()[_0x1cc7('0x11')](_0x5c9aef=>_0x5c9aef['is'](_0x1cc7('0x26'),_0x1cc7('0x2')));this[_0x1cc7('0xe')](_0x43ebb5['value'],_0x5842ca)||(_0x393f3a[_0x1cc7('0xd')]=!0x1,_0x393f3a[_0x1cc7('0x1c')]());}},{'priority':_0x1cc7('0x16')});}}[_0x1cc7('0x1f')](){const _0x5dbdc3=this[_0x1cc7('0x1')][_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x1cc7('0xb')),_0x5bcd55=this['editor'][_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x31'));if(!_0x5dbdc3[_0x1cc7('0x19')])return!0x1;const _0x496671=_0x5bcd55['getSelectionAffectedTableCells'](this['editor'][_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')]);for(const _0xc3621e of _0x496671)for(const _0x5749e3 of _0x496671)if(_0xc3621e!=_0x5749e3&&!this[_0x1cc7('0xe')](_0xc3621e,_0x5749e3))return!0x1;return!0x0;}[_0x1cc7('0xe')](_0x364ace,_0x357c34){const _0x57b548=this['editor'][_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x4e')),_0x212847=this[_0x1cc7('0x1')][_0x1cc7('0x37')][_0x1cc7('0x2f')](_0x364ace),_0x39f1b9=this[_0x1cc7('0x1')][_0x1cc7('0x37')][_0x1cc7('0x2f')](_0x357c34),_0x6bebaf=new Set(),_0x5c5329=new Set();for(const _0x38fac4 of _0x57b548[_0x1cc7('0x12')]())if((_0x1cc7('0x43')==_0x38fac4['type']||'deletion'==_0x38fac4[_0x1cc7('0x22')]||_0x1cc7('0xb')==_0x38fac4[_0x1cc7('0x4d')])&&_0x38fac4[_0x1cc7('0x15')])for(const _0x22513e of _0x38fac4['getRanges']())_0x22513e['containsRange'](_0x212847,!0x0)&&_0x6bebaf[_0x1cc7('0x24')](_0x38fac4['type']+':'+_0x38fac4['author']['id']),_0x22513e[_0x1cc7('0x28')](_0x39f1b9,!0x0)&&_0x5c5329[_0x1cc7('0x24')](_0x38fac4[_0x1cc7('0x22')]+':'+_0x38fac4['author']['id']);if(_0x6bebaf[_0x1cc7('0x34')]!=_0x5c5329[_0x1cc7('0x34')])return!0x1;for(const _0x36ad37 of _0x6bebaf)if(!_0x5c5329[_0x1cc7('0x1e')](_0x36ad37))return!0x1;return!0x0;}}
23
+ const _0x2f7d=['element','from','createTableWalker','getAncestors','afterInit','type','requires','findAncestor','_acceptFormatSuggestionCallbackFactory','isInContent','root','mergeTableCells','map','insertion','*Split\x20cell:*\x20horizontally','execute','enableCommand','editor','forceDefaultExecution','author','$graveyard','setSelection','mergeTableCellUp','mergeTableCellRight','markBlockFormat','commands','model','cell','mergeTableCellLeft','isEnabled','refresh','format','add','_tablePostFixingSubtypes','*Merge\x20cells*','_suggestionFactory','_areSelectedCellsMergable','registerCustomCallback','low','_isForcedDefaultExecutionBlock','value','highest','commandName','getRanges','length','selection','_areMergableCells','*Split\x20cell:*\x20vertically','deletion','plugins','detach','mergeTableCellDown','accept','TableEditing','set:isEnabled','markMultiRangeBlockFormat','subType','_descriptionFactory','rootName','formatBlock','getSelectionAffectedTableCells','has','change','splitTableCellVertically','filter','get','trackChanges','stop','find','containsRange','splitTableCellHorizontally','size','registerDescriptionCallback','direction','horizontally','getFirstPosition','tableCell','document','TrackChangesEditing','createRangeOn'];(function(_0x1291be,_0x2f7d29){const _0x17a7f0=function(_0x1bb4f5){while(--_0x1bb4f5){_0x1291be['push'](_0x1291be['shift']());}};_0x17a7f0(++_0x2f7d29);}(_0x2f7d,0xb2));const _0x17a7=function(_0x1291be,_0x2f7d29){_0x1291be=_0x1291be-0x0;let _0x17a7f0=_0x2f7d[_0x1291be];return _0x17a7f0;};import{Plugin as _0x4f756c}from'ckeditor5/src/core';import _0x5ddaa1 from'./table';import{LiveRange as _0xb2b23f}from'ckeditor5/src/engine';import{getTranslation as _0x14de1c}from'../utils/common-translations';export default class dt extends _0x4f756c{static get[_0x17a7('0x44')](){return[_0x5ddaa1];}[_0x17a7('0x42')](){const _0x16362e=this['editor'],_0x503182=_0x16362e['model'][_0x17a7('0x3b')][_0x17a7('0x1b')],_0x5609ee=_0x16362e['locale'];if(!_0x16362e['plugins'][_0x17a7('0x2b')](_0x17a7('0x23')))return;const _0x3a03c5=_0x16362e['plugins'][_0x17a7('0x2f')](_0x17a7('0x3c')),_0x391f85=_0x16362e['plugins']['get']('TableUtils'),_0x295c69=_0x16362e[_0x17a7('0x1f')]['get'](_0x5ddaa1);_0x295c69[_0x17a7('0xf')]['push'](_0x17a7('0x49')),_0x3a03c5[_0x17a7('0x4e')](_0x17a7('0x49'),()=>{const _0x210b8a=_0x391f85[_0x17a7('0x2a')](_0x16362e['model'][_0x17a7('0x3b')][_0x17a7('0x1b')]);_0x16362e[_0x17a7('0x8')]['change'](()=>{_0x3a03c5[_0x17a7('0x25')](_0x210b8a,{'commandName':_0x17a7('0x49'),'commandParams':[]},[],_0x17a7('0x49'));});}),_0x16362e[_0x17a7('0x7')][_0x17a7('0x2f')](_0x17a7('0x49'))['on'](_0x17a7('0x4d'),(_0x162f9a,_0x45ec36)=>{_0x16362e[_0x17a7('0x7')][_0x17a7('0x2f')](_0x17a7('0x30'))[_0x17a7('0x16')]&&(_0x45ec36[_0x17a7('0x1a')]>0x0&&_0x45ec36[_0x45ec36[_0x17a7('0x1a')]-0x1]&&_0x45ec36[_0x45ec36['length']-0x1][_0x17a7('0x0')]||_0x3a03c5[_0x17a7('0x15')]||this[_0x17a7('0x12')]()||_0x162f9a[_0x17a7('0x31')]());},{'priority':_0x17a7('0x17')});for(const _0x495cdf of[_0x17a7('0x4'),_0x17a7('0x5'),_0x17a7('0x21'),_0x17a7('0xa')]){const _0xe89806=_0x16362e[_0x17a7('0x7')]['get'](_0x495cdf);_0x3a03c5['enableCommand'](_0x495cdf,()=>{const _0x16eff0=_0x16362e[_0x17a7('0x8')]['document'][_0x17a7('0x1b')][_0x17a7('0x39')]()[_0x17a7('0x41')]()[_0x17a7('0x32')](_0x3a0178=>_0x3a0178['is'](_0x17a7('0x3e'),_0x17a7('0x3a'))),_0x5bca89=_0xe89806[_0x17a7('0x16')];_0x16362e['model'][_0x17a7('0x2c')](()=>{_0x3a03c5[_0x17a7('0x25')]([_0x16eff0,_0x5bca89],{'commandName':_0x17a7('0x49'),'commandParams':[]},[],_0x17a7('0x49'));});});}for(const _0x8d642b of[_0x17a7('0x2d'),_0x17a7('0x34')]){const _0x15910f=_0x16362e['commands'][_0x17a7('0x2f')](_0x8d642b);_0x3a03c5[_0x17a7('0x4e')](_0x8d642b,()=>{const _0x22b85f=_0x391f85[_0x17a7('0x2a')](_0x16362e[_0x17a7('0x8')][_0x17a7('0x3b')][_0x17a7('0x1b')])[0x0],_0x3ccfc0=_0x22b85f[_0x17a7('0x45')]('table'),{column:_0x3f3410,row:_0x8c7b35}=_0x391f85['getCellLocation'](_0x22b85f);let _0x52feb3=[];if(_0x17a7('0x38')==_0x15910f[_0x17a7('0x37')]){const _0x1a6735=_0x391f85[_0x17a7('0x40')](_0x3ccfc0,{'startRow':_0x8c7b35,'endRow':_0x8c7b35,'includeAllSlots':!0x0});_0x52feb3=Array[_0x17a7('0x3f')](_0x1a6735)['map'](_0x28b2b9=>_0x28b2b9[_0x17a7('0x9')]);}else{const _0x35f622=_0x391f85[_0x17a7('0x40')](_0x3ccfc0,{'column':_0x3f3410,'includeAllSlots':!0x0});_0x52feb3=Array[_0x17a7('0x3f')](_0x35f622)[_0x17a7('0x4a')](_0x50fd9d=>_0x50fd9d[_0x17a7('0x9')]);}_0x16362e[_0x17a7('0x8')][_0x17a7('0x2c')](_0x1b640c=>{_0x3a03c5[_0x17a7('0x6')](_0x1b640c['createRangeOn'](_0x22b85f),{'commandName':_0x8d642b,'commandParams':[]},_0x52feb3,_0x8d642b);});});}_0x3a03c5[_0x17a7('0x27')][_0x17a7('0x36')](_0x202dec=>{const {data:_0x36e6a5}=_0x202dec;if(_0x36e6a5)return _0x17a7('0x49')==_0x36e6a5[_0x17a7('0x18')]?{'type':_0x17a7('0xd'),'content':_0x14de1c(_0x5609ee,_0x17a7('0x10'))}:void 0x0;}),_0x3a03c5[_0x17a7('0x27')]['registerDescriptionCallback'](_0x233ba7=>{const {data:_0x2e38fc}=_0x233ba7;if(_0x2e38fc)return _0x17a7('0x2d')==_0x2e38fc[_0x17a7('0x18')]?{'type':_0x17a7('0xd'),'content':_0x14de1c(_0x5609ee,_0x17a7('0x1d'))}:_0x17a7('0x34')==_0x2e38fc[_0x17a7('0x18')]?{'type':'format','content':_0x14de1c(_0x5609ee,_0x17a7('0x4c'))}:void 0x0;});const _0x46ca1d=_0x295c69[_0x17a7('0x46')]();for(const _0x26b7fd of[_0x17a7('0x4'),_0x17a7('0x5'),'mergeTableCellDown',_0x17a7('0xa')])_0x3a03c5[_0x17a7('0x11')][_0x17a7('0x13')](_0x17a7('0x29'),_0x26b7fd,_0x17a7('0x22'),_0x46ca1d);for(const _0x2b2fd8 of[_0x17a7('0x2d'),_0x17a7('0x34')])_0x3a03c5[_0x17a7('0x11')][_0x17a7('0x13')]('formatBlock',_0x2b2fd8,_0x17a7('0x22'),_0x46ca1d);_0x3a03c5[_0x17a7('0x11')]['registerCustomCallback'](_0x17a7('0x29'),_0x17a7('0x49'),'accept',_0xf605c6=>{_0x16362e[_0x17a7('0x8')][_0x17a7('0x2c')](_0x463c67=>{const _0x227363=Array[_0x17a7('0x3f')](_0x503182[_0x17a7('0x19')]())[_0x17a7('0x4a')](_0x187c5e=>_0xb2b23f['fromRange'](_0x187c5e));_0x463c67[_0x17a7('0x3')](_0xf605c6),_0x16362e['commands'][_0x17a7('0x2f')](_0x17a7('0x49'))[_0x17a7('0xc')](),_0x16362e[_0x17a7('0x4d')](_0x17a7('0x49'),{'forceDefaultExecution':!0x0});const _0x2b145a=_0x227363[_0x17a7('0x2e')](_0x5c587f=>_0x17a7('0x2')!=_0x5c587f[_0x17a7('0x48')][_0x17a7('0x28')]);_0x2b145a[_0x17a7('0x1a')]>0x0&&_0x463c67[_0x17a7('0x3')](_0x2b145a);for(const _0x2a3d13 of _0x227363)_0x2a3d13[_0x17a7('0x20')]();});});for(const _0x340711 of[_0x17a7('0x4'),'mergeTableCellDown',_0x17a7('0xa'),_0x17a7('0x5')]){const _0xb26f27=_0x16362e[_0x17a7('0x7')][_0x17a7('0x2f')](_0x340711);_0xb26f27['on'](_0x17a7('0x24'),(_0x2886f6,_0x4b2b30,_0x3ae416)=>{if(_0x3ae416){const _0x4f67d6=_0x16362e[_0x17a7('0x8')][_0x17a7('0x3b')]['selection'][_0x17a7('0x39')]()[_0x17a7('0x41')]()[_0x17a7('0x32')](_0x285019=>_0x285019['is']('element',_0x17a7('0x3a')));this[_0x17a7('0x1c')](_0xb26f27['value'],_0x4f67d6)||(_0x2886f6['return']=!0x1,_0x2886f6[_0x17a7('0x31')]());}},{'priority':_0x17a7('0x14')});}}['_areSelectedCellsMergable'](){const _0x110398=this[_0x17a7('0x4f')][_0x17a7('0x7')][_0x17a7('0x2f')](_0x17a7('0x49')),_0x2cf3ff=this[_0x17a7('0x4f')][_0x17a7('0x1f')]['get']('TableUtils');if(!_0x110398[_0x17a7('0xb')])return!0x1;const _0x2e260e=_0x2cf3ff['getSelectionAffectedTableCells'](this[_0x17a7('0x4f')][_0x17a7('0x8')][_0x17a7('0x3b')][_0x17a7('0x1b')]);for(const _0x1d7748 of _0x2e260e)for(const _0x1d4086 of _0x2e260e)if(_0x1d7748!=_0x1d4086&&!this['_areMergableCells'](_0x1d7748,_0x1d4086))return!0x1;return!0x0;}[_0x17a7('0x1c')](_0x561873,_0x3763c6){const _0x3d1aa5=this[_0x17a7('0x4f')]['plugins']['get'](_0x17a7('0x3c')),_0x40af34=this[_0x17a7('0x4f')][_0x17a7('0x8')][_0x17a7('0x3d')](_0x561873),_0x51e561=this['editor'][_0x17a7('0x8')][_0x17a7('0x3d')](_0x3763c6),_0xf1cd52=new Set(),_0x508e6f=new Set();for(const _0x4a6a9f of _0x3d1aa5['getSuggestions']())if((_0x17a7('0x4b')==_0x4a6a9f[_0x17a7('0x43')]||_0x17a7('0x1e')==_0x4a6a9f[_0x17a7('0x43')]||_0x17a7('0x49')==_0x4a6a9f[_0x17a7('0x26')])&&_0x4a6a9f[_0x17a7('0x47')])for(const _0x45a780 of _0x4a6a9f[_0x17a7('0x19')]())_0x45a780[_0x17a7('0x33')](_0x40af34,!0x0)&&_0xf1cd52[_0x17a7('0xe')](_0x4a6a9f['type']+':'+_0x4a6a9f['author']['id']),_0x45a780[_0x17a7('0x33')](_0x51e561,!0x0)&&_0x508e6f[_0x17a7('0xe')](_0x4a6a9f[_0x17a7('0x43')]+':'+_0x4a6a9f[_0x17a7('0x1')]['id']);if(_0xf1cd52[_0x17a7('0x35')]!=_0x508e6f['size'])return!0x1;for(const _0x2563fd of _0xf1cd52)if(!_0x508e6f[_0x17a7('0x2b')](_0x2563fd))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d33=['insertTableOfContents','get','afterInit','tableOfContents','TrackChangesEditing','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','locale','plugins'];(function(_0x3f1579,_0x3d333f){const _0x912a18=function(_0x3b6803){while(--_0x3b6803){_0x3f1579['push'](_0x3f1579['shift']());}};_0x912a18(++_0x3d333f);}(_0x3d33,0x16d));const _0x912a=function(_0x3f1579,_0x3d333f){_0x3f1579=_0x3f1579-0x0;let _0x912a18=_0x3d33[_0x3f1579];return _0x912a18;};import{Plugin as _0x44a885}from'ckeditor5/src/core';import{getTranslation as _0x5f2b8c}from'../utils/common-translations';export default class bt extends _0x44a885{[_0x912a('0x6')](){const _0x14979e=this['editor'];if(!_0x14979e['commands']['get'](_0x912a('0x4')))return;_0x14979e[_0x912a('0x3')][_0x912a('0x5')](_0x912a('0x8'))['enableCommand'](_0x912a('0x4'));const _0x2c251a=_0x14979e[_0x912a('0x3')][_0x912a('0x5')](_0x912a('0x8')),_0x511bd5=_0x14979e[_0x912a('0x2')];_0x2c251a['_descriptionFactory'][_0x912a('0x0')](_0x912a('0x7'),_0x5aeb8f=>_0x5f2b8c(_0x511bd5,_0x912a('0x1'),_0x5aeb8f));}}
23
+ const _0x4f40=['locale','tableOfContents','insertTableOfContents','ELEMENT_TABLE_OF_CONTENTS','enableCommand','commands','get'];(function(_0x1ed64c,_0x4f4031){const _0x16e145=function(_0x282a85){while(--_0x282a85){_0x1ed64c['push'](_0x1ed64c['shift']());}};_0x16e145(++_0x4f4031);}(_0x4f40,0xe5));const _0x16e1=function(_0x1ed64c,_0x4f4031){_0x1ed64c=_0x1ed64c-0x0;let _0x16e145=_0x4f40[_0x1ed64c];return _0x16e145;};import{Plugin as _0x1f200f}from'ckeditor5/src/core';import{getTranslation as _0x141189}from'../utils/common-translations';export default class bt extends _0x1f200f{['afterInit'](){const _0x1a5cc8=this['editor'];if(!_0x1a5cc8[_0x16e1('0x0')][_0x16e1('0x1')]('insertTableOfContents'))return;_0x1a5cc8['plugins'][_0x16e1('0x1')]('TrackChangesEditing')[_0x16e1('0x6')](_0x16e1('0x4'));const _0x3b8b80=_0x1a5cc8['plugins'][_0x16e1('0x1')]('TrackChangesEditing'),_0x5a03e4=_0x1a5cc8[_0x16e1('0x2')];_0x3b8b80['_descriptionFactory']['registerElementLabel'](_0x16e1('0x3'),_0x1ae3c5=>_0x141189(_0x5a03e4,_0x16e1('0x5'),_0x1ae3c5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35ef=['_suggestionFactory','editor','removeAttribute','getSuggestionCallback','TrackChangesTableProperties','commandParams','tableHeight','_descriptionFactory','getAttribute','formatBlock','tableCellBackgroundColor','batch','tableWidth','nodeAfter','get','getFirstPosition','getContainedElement','_handlePropertyChange','TableUtils','getSelectionAffectedTableCells','tableBorderStyle','tableAlignment','data','accept','registerCustomCallback','tableCellBorderColor','model','tableBackgroundColor','plugins','_getSuggestion','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','tableCellBorderStyle','TrackChangesEditing','setAttribute','enqueueChange','enableCommand','table','tableCellProperties','tableCellWidth','locale','discard','change','tableProperties','has','*Format:*\x20change\x20table\x20properties','findAncestor','pluginName','subType','tableCellVerticalAlignment','format','handleDiscardAction','TableCellPropertiesEditing','markBlockFormat','join','handleSuggestionDescription','selection'];(function(_0x47b56b,_0x35ef60){const _0x211be1=function(_0x279c58){while(--_0x279c58){_0x47b56b['push'](_0x47b56b['shift']());}};_0x211be1(++_0x35ef60);}(_0x35ef,0x191));const _0x211b=function(_0x47b56b,_0x35ef60){_0x47b56b=_0x47b56b-0x0;let _0x211be1=_0x35ef[_0x47b56b];return _0x211be1;};import{Plugin as _0x2601c6}from'ckeditor5/src/core';import{getTranslation as _0x1dbd5a}from'../utils/common-translations';export default class Ct extends _0x2601c6{constructor(_0xd65224){super(_0xd65224),this[_0x211b('0x29')]=[_0x211b('0x1d'),_0x211b('0x12'),'tableBorderWidth',_0x211b('0x13'),_0x211b('0xa'),_0x211b('0x4'),_0x211b('0x19')],this['tableCellProperties']=[_0x211b('0x17'),_0x211b('0x1e'),'tableCellBorderWidth','tableCellPadding',_0x211b('0x25'),'tableCellHeight',_0x211b('0x8'),'tableCellHorizontalAlignment',_0x211b('0x2f')];}static get[_0x211b('0x2d')](){return _0x211b('0x2');}['afterInit'](){const _0x34696a=this[_0x211b('0x38')]['plugins'][_0x211b('0xc')](_0x211b('0x1f'));if(this[_0x211b('0x38')][_0x211b('0x1a')][_0x211b('0x2a')]('TablePropertiesEditing')){for(const _0x286056 of this[_0x211b('0x29')])_0x34696a[_0x211b('0x22')](_0x286056,(_0x2f1e3b,_0x150402)=>{const _0x3663be=this[_0x211b('0x38')]['model']['document'][_0x211b('0x36')][_0x211b('0xd')]()[_0x211b('0x2c')](_0x211b('0x23'));this['_handlePropertyChange'](_0x286056,[_0x3663be],this['tableProperties'],'tableProperties',_0x2f1e3b,_0x150402);});_0x34696a[_0x211b('0x37')]['registerCustomCallback']('formatBlock','tableProperties','accept',_0x34696a[_0x211b('0x37')]['getSuggestionCallback'](_0x211b('0x7'),null,_0x211b('0x27'))),_0x34696a[_0x211b('0x37')][_0x211b('0x16')](_0x211b('0x7'),_0x211b('0x29'),'discard',(_0x37b909,_0x432ac7)=>this[_0x211b('0x31')](this[_0x211b('0x29')],_0x37b909,_0x432ac7)),_0x34696a[_0x211b('0x37')]['registerCustomCallback'](_0x211b('0x7'),_0x211b('0x29'),_0x211b('0x34'),()=>!0x1);}if(this[_0x211b('0x38')][_0x211b('0x1a')][_0x211b('0x2a')](_0x211b('0x32'))){for(const _0x363c9a of this[_0x211b('0x24')])_0x34696a[_0x211b('0x22')](_0x363c9a,(_0x4724e1,_0xbf18b6)=>{const _0x3a6734=this[_0x211b('0x38')][_0x211b('0x1a')]['get'](_0x211b('0x10'))[_0x211b('0x11')](this[_0x211b('0x38')]['model']['document'][_0x211b('0x36')]);this[_0x211b('0xf')](_0x363c9a,_0x3a6734,this[_0x211b('0x24')],'tableCellProperties',_0x4724e1,_0xbf18b6);});_0x34696a[_0x211b('0x37')][_0x211b('0x16')](_0x211b('0x7'),_0x211b('0x24'),_0x211b('0x15'),_0x34696a[_0x211b('0x37')][_0x211b('0x1')]('formatBlock',null,_0x211b('0x27'))),_0x34696a['_suggestionFactory'][_0x211b('0x16')](_0x211b('0x7'),'tableCellProperties',_0x211b('0x27'),(_0x168319,_0x4d3bfc)=>this[_0x211b('0x31')](this[_0x211b('0x24')],_0x168319,_0x4d3bfc)),_0x34696a[_0x211b('0x37')]['registerCustomCallback'](_0x211b('0x7'),'tableCellProperties',_0x211b('0x34'),()=>!0x1);}_0x34696a[_0x211b('0x5')]['registerDescriptionCallback'](_0x4abbb0=>this[_0x211b('0x35')](_0x4abbb0));}[_0x211b('0xf')](_0x38232e,_0x3d1ad4,_0x187505,_0x202528,_0x27bc4f,_0x50f8b7){const _0x1c5827=this[_0x211b('0x38')]['plugins'][_0x211b('0xc')](_0x211b('0x1f'));this[_0x211b('0x38')][_0x211b('0x18')][_0x211b('0x21')](_0x50f8b7[_0x211b('0x9')],()=>{for(const _0x43acfa of _0x3d1ad4){if(this[_0x211b('0x1b')](_0x43acfa,_0x202528))_0x27bc4f(_0x50f8b7);else{const _0x1f7cf5={};for(const _0x4cfb65 of _0x187505){const _0x448f1f=_0x43acfa[_0x211b('0x6')](_0x4cfb65);void 0x0!==_0x448f1f&&(_0x1f7cf5[_0x4cfb65]=_0x448f1f);}_0x27bc4f(_0x50f8b7),_0x1c5827[_0x211b('0x33')](_0x43acfa,{'commandParams':[_0x1f7cf5]},[],_0x202528);}}});}['handleDiscardAction'](_0xf8d165,_0xe1c759,_0x2cd51f){const _0x58c5bc=_0xe1c759[0x0]['start'][_0x211b('0xb')],_0x231697=_0x2cd51f[_0x211b('0x3')][0x0];this['editor'][_0x211b('0x18')][_0x211b('0x28')](_0x422ca0=>{for(const _0xbe8cb1 of _0xf8d165)void 0x0!==_0x231697[_0xbe8cb1]?_0x422ca0[_0x211b('0x20')](_0xbe8cb1,_0x231697[_0xbe8cb1],_0x58c5bc):_0x422ca0[_0x211b('0x0')](_0xbe8cb1,_0x58c5bc);});}['handleSuggestionDescription'](_0x2268bc){if(_0x2268bc[_0x211b('0x14')])switch(_0x2268bc[_0x211b('0x2e')]){case _0x211b('0x29'):return{'type':_0x211b('0x30'),'content':_0x1dbd5a(this[_0x211b('0x38')][_0x211b('0x26')],_0x211b('0x2b'))};case _0x211b('0x24'):return{'type':_0x211b('0x30'),'content':_0x1dbd5a(this[_0x211b('0x38')][_0x211b('0x26')],_0x211b('0x1c'))};}}[_0x211b('0x1b')](_0x526711,_0x25ae4b){const _0x282d4c=this[_0x211b('0x38')][_0x211b('0x1a')]['get'](_0x211b('0x1f'));for(const _0x4acdd3 of _0x282d4c['getSuggestions']({'skipNotAttached':!0x0})){const _0x56a4cf=_0x4acdd3[_0x211b('0xe')]();if(_0x4acdd3[_0x211b('0x2e')]===_0x25ae4b&&_0x56a4cf===_0x526711)return _0x4acdd3;}return null;}}
23
+ const _0x53ac=['plugins','_descriptionFactory','tableAlignment','tableHeight','handleSuggestionDescription','setAttribute','join','model','removeAttribute','getSuggestionCallback','pluginName','*Format:*\x20change\x20table\x20properties','findAncestor','TablePropertiesEditing','has','registerCustomCallback','TableUtils','tableCellBorderWidth','afterInit','enableCommand','subType','data','tableCellProperties','table','editor','enqueueChange','commandParams','document','accept','tableProperties','getFirstPosition','getAttribute','discard','markBlockFormat','locale','selection','format','_getSuggestion','get','tableCellPadding','_suggestionFactory','tableBorderStyle','*Format:*\x20change\x20table\x20cell\x20properties','handleDiscardAction','formatBlock','tableCellHeight','tableBorderWidth','TrackChangesEditing','getSelectionAffectedTableCells','_handlePropertyChange','tableBorderColor','registerDescriptionCallback','tableWidth','change','TrackChangesTableProperties','tableCellBorderColor','tableBackgroundColor','tableCellWidth'];(function(_0x10b269,_0x53accc){const _0x4aefbe=function(_0x57589a){while(--_0x57589a){_0x10b269['push'](_0x10b269['shift']());}};_0x4aefbe(++_0x53accc);}(_0x53ac,0xaa));const _0x4aef=function(_0x10b269,_0x53accc){_0x10b269=_0x10b269-0x0;let _0x4aefbe=_0x53ac[_0x10b269];return _0x4aefbe;};import{Plugin as _0x216e61}from'ckeditor5/src/core';import{getTranslation as _0x1f035a}from'../utils/common-translations';export default class Ct extends _0x216e61{constructor(_0x48b064){super(_0x48b064),this[_0x4aef('0x21')]=[_0x4aef('0x36'),_0x4aef('0x2d'),_0x4aef('0x32'),_0x4aef('0x6'),_0x4aef('0x38'),_0x4aef('0x7'),_0x4aef('0x2')],this['tableCellProperties']=[_0x4aef('0x1'),'tableCellBorderStyle',_0x4aef('0x15'),_0x4aef('0x2b'),_0x4aef('0x3'),_0x4aef('0x31'),'tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get[_0x4aef('0xe')](){return _0x4aef('0x0');}[_0x4aef('0x16')](){const _0x4947e1=this['editor'][_0x4aef('0x4')]['get'](_0x4aef('0x33'));if(this[_0x4aef('0x1c')]['plugins'][_0x4aef('0x12')](_0x4aef('0x11'))){for(const _0x2d6c8f of this[_0x4aef('0x21')])_0x4947e1[_0x4aef('0x17')](_0x2d6c8f,(_0x3352e8,_0xdb8418)=>{const _0x30410a=this[_0x4aef('0x1c')][_0x4aef('0xb')][_0x4aef('0x1f')][_0x4aef('0x27')][_0x4aef('0x22')]()[_0x4aef('0x10')](_0x4aef('0x1b'));this[_0x4aef('0x35')](_0x2d6c8f,[_0x30410a],this[_0x4aef('0x21')],_0x4aef('0x21'),_0x3352e8,_0xdb8418);});_0x4947e1[_0x4aef('0x2c')][_0x4aef('0x13')](_0x4aef('0x30'),'tableProperties','accept',_0x4947e1[_0x4aef('0x2c')]['getSuggestionCallback'](_0x4aef('0x30'),null,_0x4aef('0x24'))),_0x4947e1[_0x4aef('0x2c')][_0x4aef('0x13')]('formatBlock',_0x4aef('0x21'),_0x4aef('0x24'),(_0x353976,_0x3cca21)=>this[_0x4aef('0x2f')](this[_0x4aef('0x21')],_0x353976,_0x3cca21)),_0x4947e1[_0x4aef('0x2c')][_0x4aef('0x13')](_0x4aef('0x30'),_0x4aef('0x21'),'join',()=>!0x1);}if(this[_0x4aef('0x1c')][_0x4aef('0x4')][_0x4aef('0x12')]('TableCellPropertiesEditing')){for(const _0x46170c of this['tableCellProperties'])_0x4947e1[_0x4aef('0x17')](_0x46170c,(_0x508231,_0x13de9d)=>{const _0x10c754=this['editor'][_0x4aef('0x4')][_0x4aef('0x2a')](_0x4aef('0x14'))[_0x4aef('0x34')](this[_0x4aef('0x1c')][_0x4aef('0xb')][_0x4aef('0x1f')][_0x4aef('0x27')]);this['_handlePropertyChange'](_0x46170c,_0x10c754,this[_0x4aef('0x1a')],'tableCellProperties',_0x508231,_0x13de9d);});_0x4947e1['_suggestionFactory'][_0x4aef('0x13')](_0x4aef('0x30'),'tableCellProperties',_0x4aef('0x20'),_0x4947e1[_0x4aef('0x2c')][_0x4aef('0xd')](_0x4aef('0x30'),null,'discard')),_0x4947e1[_0x4aef('0x2c')][_0x4aef('0x13')]('formatBlock','tableCellProperties',_0x4aef('0x24'),(_0x249b7d,_0x1e7f7d)=>this[_0x4aef('0x2f')](this[_0x4aef('0x1a')],_0x249b7d,_0x1e7f7d)),_0x4947e1['_suggestionFactory'][_0x4aef('0x13')](_0x4aef('0x30'),_0x4aef('0x1a'),_0x4aef('0xa'),()=>!0x1);}_0x4947e1[_0x4aef('0x5')][_0x4aef('0x37')](_0x2842a0=>this[_0x4aef('0x8')](_0x2842a0));}[_0x4aef('0x35')](_0x419e14,_0x625eb9,_0x4ab493,_0x2cda9b,_0x371d97,_0x258d5d){const _0x55f8af=this['editor'][_0x4aef('0x4')][_0x4aef('0x2a')]('TrackChangesEditing');this[_0x4aef('0x1c')]['model'][_0x4aef('0x1d')](_0x258d5d['batch'],()=>{for(const _0x52fa5e of _0x625eb9){if(this[_0x4aef('0x29')](_0x52fa5e,_0x2cda9b))_0x371d97(_0x258d5d);else{const _0xf36ea9={};for(const _0x1ac462 of _0x4ab493){const _0x196f5b=_0x52fa5e[_0x4aef('0x23')](_0x1ac462);void 0x0!==_0x196f5b&&(_0xf36ea9[_0x1ac462]=_0x196f5b);}_0x371d97(_0x258d5d),_0x55f8af[_0x4aef('0x25')](_0x52fa5e,{'commandParams':[_0xf36ea9]},[],_0x2cda9b);}}});}['handleDiscardAction'](_0x26077e,_0x3a53d0,_0x75997c){const _0x4666b6=_0x3a53d0[0x0]['start']['nodeAfter'],_0x217230=_0x75997c[_0x4aef('0x1e')][0x0];this[_0x4aef('0x1c')][_0x4aef('0xb')][_0x4aef('0x39')](_0x220cbd=>{for(const _0x1f3170 of _0x26077e)void 0x0!==_0x217230[_0x1f3170]?_0x220cbd[_0x4aef('0x9')](_0x1f3170,_0x217230[_0x1f3170],_0x4666b6):_0x220cbd[_0x4aef('0xc')](_0x1f3170,_0x4666b6);});}['handleSuggestionDescription'](_0x177a79){if(_0x177a79[_0x4aef('0x19')])switch(_0x177a79[_0x4aef('0x18')]){case _0x4aef('0x21'):return{'type':_0x4aef('0x28'),'content':_0x1f035a(this[_0x4aef('0x1c')][_0x4aef('0x26')],_0x4aef('0xf'))};case _0x4aef('0x1a'):return{'type':'format','content':_0x1f035a(this[_0x4aef('0x1c')][_0x4aef('0x26')],_0x4aef('0x2e'))};}}[_0x4aef('0x29')](_0x151d5a,_0x17770c){const _0x31717b=this['editor']['plugins'][_0x4aef('0x2a')](_0x4aef('0x33'));for(const _0x463b94 of _0x31717b['getSuggestions']({'skipNotAttached':!0x0})){const _0x442a05=_0x463b94['getContainedElement']();if(_0x463b94[_0x4aef('0x18')]===_0x17770c&&_0x442a05===_0x151d5a)return _0x463b94;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fa6=['get','enableCommand','afterInit','insertTemplate','editor','plugins'];(function(_0x1ec143,_0x1fa616){const _0x1677fa=function(_0x1f96f5){while(--_0x1f96f5){_0x1ec143['push'](_0x1ec143['shift']());}};_0x1677fa(++_0x1fa616);}(_0x1fa6,0xe5));const _0x1677=function(_0x1ec143,_0x1fa616){_0x1ec143=_0x1ec143-0x0;let _0x1677fa=_0x1fa6[_0x1ec143];return _0x1677fa;};import{Plugin as _0x2e3253}from'ckeditor5/src/core';export default class yt extends _0x2e3253{[_0x1677('0x1')](){const _0x51b896=this[_0x1677('0x3')];_0x51b896[_0x1677('0x4')]['has']('Template')&&_0x51b896[_0x1677('0x4')][_0x1677('0x5')]('TrackChangesEditing')[_0x1677('0x0')](_0x1677('0x2'));}}
23
+ const _0x454d=['TrackChangesEditing','enableCommand','editor','insertTemplate','get'];(function(_0x2d271a,_0x454d93){const _0x48c67d=function(_0x53685f){while(--_0x53685f){_0x2d271a['push'](_0x2d271a['shift']());}};_0x48c67d(++_0x454d93);}(_0x454d,0x121));const _0x48c6=function(_0x2d271a,_0x454d93){_0x2d271a=_0x2d271a-0x0;let _0x48c67d=_0x454d[_0x2d271a];return _0x48c67d;};import{Plugin as _0x81ba05}from'ckeditor5/src/core';export default class yt extends _0x81ba05{['afterInit'](){const _0x49dc71=this[_0x48c6('0x3')];_0x49dc71['plugins']['has']('Template')&&_0x49dc71['plugins'][_0x48c6('0x0')](_0x48c6('0x1'))[_0x48c6('0x2')](_0x48c6('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3552=['differ','forward','registerElementLabel','afterInit','isCollapsed','element','registerPostFixer','title-content','updateMarker','suggestion','locale','editor','document','isEqual','createRange','end','isTouching','removeMarker','model','has','ELEMENT_TITLE','start','get','newRange','nodeBefore'];(function(_0x1bdc86,_0x355250){const _0x45540c=function(_0xd45237){while(--_0xd45237){_0x1bdc86['push'](_0x1bdc86['shift']());}};_0x45540c(++_0x355250);}(_0x3552,0xd9));const _0x4554=function(_0x1bdc86,_0x355250){_0x1bdc86=_0x1bdc86-0x0;let _0x45540c=_0x3552[_0x1bdc86];return _0x45540c;};import{Plugin as _0x3b93f9}from'ckeditor5/src/core';import{getTranslation as _0x50553d}from'../utils/common-translations';export default class St extends _0x3b93f9{[_0x4554('0xb')](){const _0x338837=this[_0x4554('0x13')];if(!_0x338837['plugins'][_0x4554('0x2')]('Title'))return;const _0x4838f6=_0x338837['plugins'][_0x4554('0x5')]('TrackChangesEditing');_0x4838f6['_descriptionFactory'][_0x4554('0xa')](_0x4554('0xf'),()=>_0x50553d(_0x338837[_0x4554('0x12')],_0x4554('0x3'))),_0x338837[_0x4554('0x1')][_0x4554('0x14')][_0x4554('0xe')](_0x474d56=>{let _0x5bc684=!0x1;const _0x4a8b9e=Array['from'](_0x338837[_0x4554('0x1')]['document'][_0x4554('0x8')]['getChangedMarkers']());for(const {name:_0x3ea7b2,data:_0x23f39a}of _0x4a8b9e){const {group:_0x2bd3ef}=_0x4838f6['_splitMarkerName'](_0x3ea7b2);if(_0x4554('0x11')!==_0x2bd3ef||!_0x23f39a[_0x4554('0x6')])continue;const _0x1934d2=_0x23f39a[_0x4554('0x6')],_0xbae1a=_0x1934d2[_0x4554('0x17')][_0x4554('0x7')];if(!_0xbae1a||!_0xbae1a['is'](_0x4554('0xd'),_0x4554('0xf')))continue;if(!_0x1934d2[_0x4554('0x4')][_0x4554('0x18')](_0x1934d2[_0x4554('0x17')]))continue;const _0xb4fffd=_0x338837[_0x4554('0x1')]['schema']['getNearestSelectionRange'](_0x1934d2[_0x4554('0x17')],_0x4554('0x9'));if(_0xb4fffd&&_0xb4fffd[_0x4554('0xc')]){const _0x4765d6=_0x474d56[_0x4554('0x16')](_0x1934d2[_0x4554('0x4')],_0xb4fffd[_0x4554('0x4')]);_0x4765d6[_0x4554('0x15')](_0x1934d2)||(_0x474d56[_0x4554('0x10')](_0x3ea7b2,{'range':_0x4765d6}),_0x5bc684=!0x0);}_0x5bc684||(_0x474d56[_0x4554('0x0')](_0x3ea7b2),_0x5bc684=!0x0);}return _0x5bc684;});}}
23
+ const _0x3605=['document','get','getChangedMarkers','_descriptionFactory','end','registerElementLabel','isEqual','newRange','updateMarker','suggestion','forward','locale','isCollapsed','model','title-content','Title','getNearestSelectionRange','start','schema','afterInit','registerPostFixer','nodeBefore','removeMarker','isTouching','plugins','editor'];(function(_0xf7b029,_0x36052e){const _0x328e48=function(_0x4f28bf){while(--_0x4f28bf){_0xf7b029['push'](_0xf7b029['shift']());}};_0x328e48(++_0x36052e);}(_0x3605,0xa5));const _0x328e=function(_0xf7b029,_0x36052e){_0xf7b029=_0xf7b029-0x0;let _0x328e48=_0x3605[_0xf7b029];return _0x328e48;};import{Plugin as _0x372941}from'ckeditor5/src/core';import{getTranslation as _0x12c16a}from'../utils/common-translations';export default class St extends _0x372941{[_0x328e('0xa')](){const _0xf7a834=this[_0x328e('0x10')];if(!_0xf7a834[_0x328e('0xf')]['has'](_0x328e('0x6')))return;const _0x544db5=_0xf7a834[_0x328e('0xf')][_0x328e('0x12')]('TrackChangesEditing');_0x544db5[_0x328e('0x14')][_0x328e('0x16')](_0x328e('0x5'),()=>_0x12c16a(_0xf7a834[_0x328e('0x2')],'ELEMENT_TITLE')),_0xf7a834[_0x328e('0x4')][_0x328e('0x11')][_0x328e('0xb')](_0x202ddc=>{let _0x5b2d03=!0x1;const _0x56f27f=Array['from'](_0xf7a834[_0x328e('0x4')][_0x328e('0x11')]['differ'][_0x328e('0x13')]());for(const {name:_0x3ea084,data:_0x29f702}of _0x56f27f){const {group:_0x150783}=_0x544db5['_splitMarkerName'](_0x3ea084);if(_0x328e('0x0')!==_0x150783||!_0x29f702[_0x328e('0x18')])continue;const _0x3292f4=_0x29f702[_0x328e('0x18')],_0x2a8af7=_0x3292f4[_0x328e('0x15')][_0x328e('0xc')];if(!_0x2a8af7||!_0x2a8af7['is']('element',_0x328e('0x5')))continue;if(!_0x3292f4[_0x328e('0x8')][_0x328e('0xe')](_0x3292f4['end']))continue;const _0x228386=_0xf7a834[_0x328e('0x4')][_0x328e('0x9')][_0x328e('0x7')](_0x3292f4[_0x328e('0x15')],_0x328e('0x1'));if(_0x228386&&_0x228386[_0x328e('0x3')]){const _0x1f3500=_0x202ddc['createRange'](_0x3292f4[_0x328e('0x8')],_0x228386['start']);_0x1f3500[_0x328e('0x17')](_0x3292f4)||(_0x202ddc[_0x328e('0x19')](_0x3ea084,{'range':_0x1f3500}),_0x5b2d03=!0x0);}_0x5b2d03||(_0x202ddc[_0x328e('0xd')](_0x3ea084),_0x5b2d03=!0x0);}return _0x5b2d03;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40d2=['get','redo','undo','afterInit','enableCommand','has','editor','plugins'];(function(_0x1dd728,_0x40d2a5){const _0x205995=function(_0x176f06){while(--_0x176f06){_0x1dd728['push'](_0x1dd728['shift']());}};_0x205995(++_0x40d2a5);}(_0x40d2,0xe1));const _0x2059=function(_0x1dd728,_0x40d2a5){_0x1dd728=_0x1dd728-0x0;let _0x205995=_0x40d2[_0x1dd728];return _0x205995;};import{Plugin as _0x1c8a1a}from'ckeditor5/src/core';export default class It extends _0x1c8a1a{[_0x2059('0x2')](){const _0x4418bf=this[_0x2059('0x5')],_0x2773ff=_0x4418bf[_0x2059('0x6')][_0x2059('0x7')]('TrackChangesEditing');_0x4418bf[_0x2059('0x6')][_0x2059('0x4')]('UndoEditing')&&(_0x2773ff[_0x2059('0x3')](_0x2059('0x1')),_0x2773ff[_0x2059('0x3')](_0x2059('0x0')));}}
23
+ const _0x5367=['enableCommand','has','undo','UndoEditing','plugins','editor','afterInit','get'];(function(_0xd99760,_0x53673e){const _0x59911e=function(_0x21e637){while(--_0x21e637){_0xd99760['push'](_0xd99760['shift']());}};_0x59911e(++_0x53673e);}(_0x5367,0x9d));const _0x5991=function(_0xd99760,_0x53673e){_0xd99760=_0xd99760-0x0;let _0x59911e=_0x5367[_0xd99760];return _0x59911e;};import{Plugin as _0x4f6c4a}from'ckeditor5/src/core';export default class It extends _0x4f6c4a{[_0x5991('0x1')](){const _0x2913de=this[_0x5991('0x0')],_0xfccc6=_0x2913de[_0x5991('0x7')][_0x5991('0x2')]('TrackChangesEditing');_0x2913de[_0x5991('0x7')][_0x5991('0x4')](_0x5991('0x6'))&&(_0xfccc6[_0x5991('0x3')](_0x5991('0x5')),_0xfccc6[_0x5991('0x3')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57c9=['consumable','item','isAtEnd','includes','isContent','ck-suggestion-marker--active','mapper','model','getWalker','element','getCustomProperty','type','TrackChangesEditing','createRangeOn','activeMarkers','hasAttribute','previousPosition','createUIElement','span','push','test','schema','toViewPosition','nextSibling','isBlock','parent','ck-suggestion-marker-','listItem','markerRange','get','bindElementToMarker','writer','getItems'];(function(_0x24c833,_0x57c900){const _0x2967ce=function(_0x1478c1){while(--_0x1478c1){_0x24c833['push'](_0x24c833['shift']());}};_0x2967ce(++_0x57c900);}(_0x57c9,0xfe));const _0x2967=function(_0x24c833,_0x57c900){_0x24c833=_0x24c833-0x0;let _0x2967ce=_0x57c9[_0x24c833];return _0x2967ce;};export function getRangesWithAttribute(_0x396b43,_0x487867,_0x46b652){const _0x2c5c57=[];for(const _0x48b4a9 of _0x487867[_0x2967('0x9')]())_0x48b4a9[_0x2967('0x19')](_0x396b43)&&_0x2c5c57['push'](_0x46b652[_0x2967('0x17')](_0x48b4a9));return _0x2c5c57;}export function getElementsAffectedByListItemRename(_0x5ba210){const _0x179d88=[];if(_0x5ba210['is'](_0x2967('0x13'),_0x2967('0x4'))){let _0x41e46e=_0x5ba210['nextSibling'];for(;_0x41e46e&&_0x41e46e['is']('element','listItem')&&_0x41e46e['getAttribute']('listIndent')>0x0;)_0x179d88[_0x2967('0x1d')](_0x41e46e),_0x41e46e=_0x41e46e[_0x2967('0x0')];}return _0x179d88;}export function downcastSplitMergeMarker(_0xd073a1,_0x3c7f75,{showActiveMarker:_0x346ba3=!0x0}={}){const _0xa52d4=_0xd073a1['plugins'][_0x2967('0x6')](_0x2967('0x16'));return(_0x297118,_0x48edbe,_0x2e8346)=>{if(!_0x2e8346[_0x2967('0xa')][_0x2967('0x1e')](_0x48edbe[_0x2967('0x5')],_0x297118['name']))return;const _0x971fa7=_0x48edbe[_0x2967('0x5')][_0x2967('0x12')](),_0x2363b1=_0x48edbe[_0x2967('0x5')]['start'],_0x3f6688=_0xd073a1[_0x2967('0x11')][_0x2967('0x1f')];let _0x447cdf=null,_0xfe1664=null,_0x4309ba=!0x1,_0x1f7d00=!0x1;for(const _0x436e10 of _0x971fa7){const _0x3e8802=_0x436e10[_0x2967('0xb')];_0x4309ba=_0x4309ba||_0x3f6688[_0x2967('0xe')](_0x3e8802);const _0x59dc5d=_0x2e8346[_0x2967('0x10')]['toViewElement'](_0x3e8802);if(_0x59dc5d&&_0x59dc5d[_0x2967('0x14')]('addHighlight'))return;'elementEnd'==_0x436e10[_0x2967('0x15')]&&(_0x3f6688[_0x2967('0x1')](_0x3e8802)&&!_0x3f6688['isLimit'](_0x3e8802)&&(_0x3e8802[_0x2967('0x0')]||_0x2363b1[_0x2967('0xc')]?_0x447cdf&&_0x447cdf[_0x2967('0x2')]==_0x3e8802||(_0x447cdf=_0x3e8802,_0x493438(_0x436e10[_0x2967('0x1a')]),_0x1f7d00=!0x0):_0xfe1664=_0xfe1664||_0x436e10[_0x2967('0x1a')]));}function _0x493438(_0x578c42){const _0x3c1cc9=_0x2e8346[_0x2967('0x8')][_0x2967('0x1b')](_0x2967('0x1c'),{'class':_0x2967('0x3')+_0x3c7f75}),_0x5ec89=_0x2e8346[_0x2967('0x10')][_0x2967('0x20')](_0x578c42);_0x346ba3&&_0xa52d4[_0x2967('0x18')][_0x2967('0xd')](_0x48edbe['markerName'])&&_0x2e8346[_0x2967('0x8')]['addClass'](_0x2967('0xf'),_0x3c1cc9),_0x2e8346[_0x2967('0x8')]['insert'](_0x5ec89,_0x3c1cc9),_0x2e8346[_0x2967('0x10')][_0x2967('0x7')](_0x3c1cc9,_0x48edbe['markerName']);}_0x4309ba||_0x1f7d00||!_0xfe1664||_0x493438(_0xfe1664);};}
23
+ const _0x276b=['isBlock','elementEnd','listItem','isContent','plugins','insert','includes','markerName','addClass','span','createRangeOn','model','toViewPosition','markerRange','get','name','nextSibling','addHighlight','TrackChangesEditing','schema','mapper','consumable','bindElementToMarker','previousPosition','hasAttribute','isAtEnd','getCustomProperty','item','type','ck-suggestion-marker-','writer','parent','getItems','push'];(function(_0x5f2d7a,_0x276bc6){const _0xae5fb=function(_0x32f2f6){while(--_0x32f2f6){_0x5f2d7a['push'](_0x5f2d7a['shift']());}};_0xae5fb(++_0x276bc6);}(_0x276b,0x1f4));const _0xae5f=function(_0x5f2d7a,_0x276bc6){_0x5f2d7a=_0x5f2d7a-0x0;let _0xae5fb=_0x276b[_0x5f2d7a];return _0xae5fb;};export function getRangesWithAttribute(_0x1d0047,_0x557de4,_0x440b14){const _0x8435f1=[];for(const _0x1b54ec of _0x557de4[_0xae5f('0x8')]())_0x1b54ec[_0xae5f('0x0')](_0x1d0047)&&_0x8435f1['push'](_0x440b14[_0xae5f('0x14')](_0x1b54ec));return _0x8435f1;}export function getElementsAffectedByListItemRename(_0x206310){const _0x27ff68=[];if(_0x206310['is']('element',_0xae5f('0xc'))){let _0xb90e19=_0x206310[_0xae5f('0x1a')];for(;_0xb90e19&&_0xb90e19['is']('element',_0xae5f('0xc'))&&_0xb90e19['getAttribute']('listIndent')>0x0;)_0x27ff68[_0xae5f('0x9')](_0xb90e19),_0xb90e19=_0xb90e19[_0xae5f('0x1a')];}return _0x27ff68;}export function downcastSplitMergeMarker(_0x20858a,_0x376375,{showActiveMarker:_0x44d59f=!0x0}={}){const _0x53db31=_0x20858a[_0xae5f('0xe')][_0xae5f('0x18')](_0xae5f('0x1c'));return(_0x1d48b0,_0x4f6198,_0x5c760d)=>{if(!_0x5c760d[_0xae5f('0x1f')]['test'](_0x4f6198[_0xae5f('0x17')],_0x1d48b0[_0xae5f('0x19')]))return;const _0x1e6cdb=_0x4f6198['markerRange']['getWalker'](),_0x506f16=_0x4f6198[_0xae5f('0x17')]['start'],_0x5861ef=_0x20858a[_0xae5f('0x15')][_0xae5f('0x1d')];let _0xf30c18=null,_0x5f0fd6=null,_0x5e13e8=!0x1,_0x1d9e7c=!0x1;for(const _0x5a52d6 of _0x1e6cdb){const _0x537e60=_0x5a52d6[_0xae5f('0x3')];_0x5e13e8=_0x5e13e8||_0x5861ef[_0xae5f('0xd')](_0x537e60);const _0x2a1e6f=_0x5c760d[_0xae5f('0x1e')]['toViewElement'](_0x537e60);if(_0x2a1e6f&&_0x2a1e6f[_0xae5f('0x2')](_0xae5f('0x1b')))return;_0xae5f('0xb')==_0x5a52d6[_0xae5f('0x4')]&&(_0x5861ef[_0xae5f('0xa')](_0x537e60)&&!_0x5861ef['isLimit'](_0x537e60)&&(_0x537e60[_0xae5f('0x1a')]||_0x506f16[_0xae5f('0x1')]?_0xf30c18&&_0xf30c18[_0xae5f('0x7')]==_0x537e60||(_0xf30c18=_0x537e60,_0x210447(_0x5a52d6[_0xae5f('0x21')]),_0x1d9e7c=!0x0):_0x5f0fd6=_0x5f0fd6||_0x5a52d6[_0xae5f('0x21')]));}function _0x210447(_0x79b5b0){const _0x485b13=_0x5c760d[_0xae5f('0x6')]['createUIElement'](_0xae5f('0x13'),{'class':_0xae5f('0x5')+_0x376375}),_0x560654=_0x5c760d['mapper'][_0xae5f('0x16')](_0x79b5b0);_0x44d59f&&_0x53db31['activeMarkers'][_0xae5f('0x10')](_0x4f6198[_0xae5f('0x11')])&&_0x5c760d[_0xae5f('0x6')][_0xae5f('0x12')]('ck-suggestion-marker--active',_0x485b13),_0x5c760d[_0xae5f('0x6')][_0xae5f('0xf')](_0x560654,_0x485b13),_0x5c760d[_0xae5f('0x1e')][_0xae5f('0x20')](_0x485b13,_0x4f6198[_0xae5f('0x11')]);}_0x5e13e8||_0x1d9e7c||!_0x5f0fd6||_0x210447(_0x5f0fd6);};}