@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231016.0 → 0.0.0-nightly-20231018.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9511=['*Replace\x20table\x20cells*','set','getRanges','nodeAfter','insertion','forceDefaultExecution','has','length','cell','containsRange','deletion','getRowIndexes','getColumns','getChildren','batch','options','isEqual','insertRows','for','getSuggestions','end','getContainedElement','insert','findAncestor','documentSelection','position','removeRows','isEmpty','selection','nextSibling','createRangeIn','editing','some','getShiftedBy','getSuggestion','_replaceTableSlotCell','find','element','reduce','markMultiRangeBlockFormat','paragraph','getAttributes','endColumn','every','activeMarkers','listenTo','add','row','keys','dataDowncast','join','insertColumns','getChild','ck-suggestion-marker','cells','_splitMarkerName','document','change','tablePasteChainId','trackChanges','removeMarkers','tableCellVerticalAlignment','plugins','remove','return','accept','high','previous','markerName','showSuggestionHighlights','subType','markMultiRangeInsertion','content','table','markerAttributes','newRange','setAttributes','TableClipboard','fromEntries','tablePaste','columnInsertionIndexes','discard','registerDescriptionCallback','_createdBatches','createPositionBefore','isInContent','suggestion:formatBlock:tablePasteCell','getChangedMarkers','rowInsertionIndexes','tableCellSuggestion','formatBlock','suggestion-td','_suggestionFactory','getRange','tableCellBorderColor','registerPostFixer','view','updateMarker','markerToHighlight','push','name','hasSuggestion','createTableWalker','last','unwrap','conversion','insertContent','createRangeOn','getSelectionAffectedTableCells','locale','getItems','_isForcedDefaultExecutionBlock','attributes','column','model','insertionRanges','_tablePostFixingSubtypes','start','first','suggestion','register','map','differ','tablePasteCell','_getCoordsForCells','tablePasteRow','rows','tableCellBorderWidth','author','fill','removeMarker','columnInsertionRanges','commands','tableCell','createElement','entries','getMarkers','from','editingDowncast','removeColumns','tablePasteColumn','schema','low','move','previousSibling','tableCellBorderStyle','Users','filter','get','requires','setAttribute','ck-suggestion-marker-insertion','includes','registerCustomCallback','startsWith','ck-suggestion-marker--active','getRows','createRange','TrackChangesEditing'];(function(_0x4c3e95,_0x9511b4){const _0x5d2820=function(_0x33f5db){while(--_0x33f5db){_0x4c3e95['push'](_0x4c3e95['shift']());}};_0x5d2820(++_0x9511b4);}(_0x9511,0x1a4));const _0x5d28=function(_0x4c3e95,_0x9511b4){_0x4c3e95=_0x4c3e95-0x0;let _0x5d2820=_0x9511[_0x4c3e95];return _0x5d2820;};import{getTranslation as _0xe96f5a}from'../utils/common-translations';import{Plugin as _0x391802}from'ckeditor5/src/core';import{uid as _0x18679f,priorities as _0x1d4a25}from'ckeditor5/src/utils';import _0x51b5d9 from'./table';const le=[_0x5d28('0x19'),_0x5d28('0x97'),_0x5d28('0x2b'),'tableCellHorizontalAlignment',_0x5d28('0x76'),'tableCellBackgroundColor','tableCellPadding'],ae=Object['fromEntries'](le[_0x5d28('0x13')](_0x266ac1=>[_0x266ac1,null]));export default class wt extends _0x391802{static get[_0x5d28('0x2f')](){return[_0x51b5d9];}['afterInit'](){const _0x11c7b2=this['editor'];if(!_0x11c7b2['plugins'][_0x5d28('0x3f')](_0x5d28('0x86')))return;const _0x21f132=_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x38')),_0x103b2b=_0x11c7b2['plugins'][_0x5d28('0x2e')]('TableUtils'),_0x461620=_0x11c7b2['plugins'][_0x5d28('0x2e')](_0x51b5d9),_0x5b0dff=_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x86'));_0x461620[_0x5d28('0xe')][_0x5d28('0x9c')]('tablePasteRow','tablePasteColumn'),_0x11c7b2['model'][_0x5d28('0x27')][_0x5d28('0x12')](_0x5d28('0x92'),{'allowIn':_0x5d28('0x1f'),'allowContentOf':_0x5d28('0x1f'),'isLimit':!0x0}),_0x11c7b2[_0x5d28('0x3')]['elementToElement']({'model':'tableCellSuggestion','view':_0x5d28('0x94')});let _0x1eeafd=null;_0x11c7b2[_0x5d28('0xc')]['on'](_0x5d28('0x4'),(_0x198f6c,_0x598fa7)=>{const [_0x398d24,_0x1aff5f]=_0x598fa7,_0x181ec5=_0x598fa7[_0x598fa7[_0x5d28('0x40')]-0x1];_0x181ec5&&_0x181ec5[_0x5d28('0x3e')]||_0x21f132[_0x5d28('0x9')]||this['editor'][_0x5d28('0x1e')][_0x5d28('0x2e')](_0x5d28('0x74'))['value']&&function(_0x3311e3,_0xec1823,_0x2db8e6,_0x19241b,_0x397582){if(_0xec1823&&!_0xec1823['is'](_0x5d28('0x51')))return!0x1;const _0x5d9ee2=_0x397582['getTableIfOnlyTableInContent'](_0x3311e3,_0x2db8e6);if(!_0x5d9ee2||!fe(_0x5d9ee2,void 0x0,_0x19241b))return!0x1;const _0x1e4f4b=_0x19241b[_0x5d28('0x6')](_0x2db8e6[_0x5d28('0x71')][_0x5d28('0x55')]);if(!_0x1e4f4b[_0x5d28('0x40')])return!0x1;const _0x58fc3f=_0x1e4f4b[0x0][_0x5d28('0x50')](_0x5d28('0x82')),_0x1db4d7=_0x19241b[_0x5d28('0x44')](_0x1e4f4b),_0x506e39=_0x19241b['getColumnIndexes'](_0x1e4f4b),_0x406373={'startRow':_0x1db4d7[_0x5d28('0x10')],'endRow':_0x1db4d7[_0x5d28('0x1')],'startColumn':_0x506e39[_0x5d28('0x10')],'endColumn':_0x506e39['last']};return 0x1==_0x1e4f4b[_0x5d28('0x40')]&&(_0x406373['endRow']+=_0x19241b[_0x5d28('0x36')](_0x5d9ee2)-0x1,_0x406373[_0x5d28('0x63')]+=_0x19241b[_0x5d28('0x45')](_0x5d9ee2)-0x1),fe(_0x58fc3f,_0x406373,_0x19241b);}(_0x398d24,_0x1aff5f,_0x11c7b2[_0x5d28('0xc')],_0x103b2b,_0x5b0dff)&&(_0x198f6c['stop'](),_0x1eeafd={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x11c7b2[_0x5d28('0xc')]['change'](()=>{_0x11c7b2[_0x5d28('0xc')][_0x5d28('0x4')](_0x598fa7[0x0],_0x598fa7[0x1],_0x598fa7[0x2],{'forceDefaultExecution':!0x0});const _0x4ab914=_0x18679f(),{rowInsertionRanges:_0x4f2451,columnInsertionRanges:_0x4d0f37,insertionRanges:_0x1a372f,deletionRanges:_0x12d71e,cells:_0x39ae92}=_0x1eeafd;_0x4f2451['length']&&_0x21f132['markMultiRangeInsertion'](_0x4f2451,_0x5d28('0x17'),{'tablePasteChainId':_0x4ab914}),_0x4d0f37['length']&&_0x21f132['markMultiRangeInsertion'](_0x4d0f37,_0x5d28('0x26'),{'tablePasteChainId':_0x4ab914}),_0x1a372f[_0x5d28('0x40')]&&_0x21f132[_0x5d28('0x80')](_0x1a372f,_0x5d28('0x88'),{'tablePasteChainId':_0x4ab914,'skipNestingCheck':!0x0}),_0x12d71e[_0x5d28('0x40')]&&_0x21f132['markMultiRangeDeletion'](_0x12d71e,'tablePaste',{'tablePasteChainId':_0x4ab914,'skipNestingCheck':!0x0});const _0x2059b5=_0x21f132[_0x5d28('0x60')](_0x39ae92['map'](({element:_0x4093e1})=>_0x4093e1),{'formatGroupId':_0x18679f()},[],_0x5d28('0x15'),{'tablePasteChainId':_0x4ab914});if(_0x2059b5){const _0x5b9cfc=_0x2059b5['getMarkers'](),_0x2abaa3=[];for(const {element:_0x44b3ee,attributes:_0x53759c}of _0x39ae92){if(!_0x53759c)continue;const _0x206430=_0x11c7b2['model'][_0x5d28('0x5')](_0x44b3ee),_0x26b138=_0x5b9cfc[_0x5d28('0x5d')](_0x56302a=>_0x56302a[_0x5d28('0x96')]()[_0x5d28('0x49')](_0x206430));_0x26b138&&_0x2abaa3[_0x5d28('0x9c')]([_0x26b138['name'],_0x53759c]);}_0x2abaa3[_0x5d28('0x40')]&&_0x2059b5[_0x5d28('0x30')](_0x5d28('0x83'),Object[_0x5d28('0x87')](_0x2abaa3));}_0x1eeafd=null;}));},{'priority':_0x1d4a25[_0x5d28('0x7b')]+0xa}),_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x86'))['on'](_0x5d28('0x5c'),(_0x34f966,_0x31235b)=>{const [_0x513e68,_0x3d7c95,,_0x478e5f]=_0x31235b;if(!_0x1eeafd)return;_0x34f966['stop']();const _0x6286f9=_0x513e68[_0x5d28('0x41')],_0x49165d=_0x3d7c95,_0x3463c3=ce(_0x6286f9),_0x307cc7=ce(_0x49165d);_0x34f966[_0x5d28('0x79')]=_0x6286f9;let _0xdfcf92=null,_0x10d8f6=null;if(_0x307cc7||_0x3463c3){if(_0x3463c3&&!_0x307cc7){_0x478e5f[_0x5d28('0x78')](_0x6286f9[_0x5d28('0x6d')](0x0));for(const _0x588e7c of Array['from'](_0x49165d[_0x5d28('0x46')]()))_0x478e5f[_0x5d28('0x4f')](_0x588e7c,_0x6286f9,_0x5d28('0x4d'));const _0x2311f7=_0x1eeafd[_0x5d28('0x91')][_0x5d28('0x32')](_0x513e68[_0x5d28('0x68')]),_0x186648=_0x1eeafd[_0x5d28('0x89')][_0x5d28('0x32')](_0x513e68[_0x5d28('0xb')]);_0x2311f7||_0x186648||(_0xdfcf92=_0x478e5f[_0x5d28('0x57')](_0x6286f9));}else _0x307cc7&&!_0x3463c3&&(_0x10d8f6=_0x478e5f[_0x5d28('0x57')](_0x6286f9));}else{const _0x1ac4cf=_0x478e5f[_0x5d28('0x20')](_0x5d28('0x92')),_0x5a7c4c=_0x478e5f['createElement'](_0x5d28('0x92'));_0x478e5f['wrap'](_0x478e5f[_0x5d28('0x57')](_0x6286f9),_0x5a7c4c),_0x478e5f[_0x5d28('0x4f')](_0x1ac4cf,_0x6286f9,0x0);for(const _0x50e3cd of Array[_0x5d28('0x23')](_0x49165d['getChildren']()))_0x478e5f[_0x5d28('0x4f')](_0x50e3cd,_0x1ac4cf,_0x5d28('0x4d'));_0xdfcf92=_0x478e5f[_0x5d28('0x5')](_0x1ac4cf),_0x10d8f6=_0x478e5f['createRangeOn'](_0x5a7c4c);}const _0x13edba=Array[_0x5d28('0x23')](_0x49165d[_0x5d28('0x62')]())[_0x5d28('0x2d')](([_0x2db1a7])=>le[_0x5d28('0x32')](_0x2db1a7));_0x1eeafd[_0x5d28('0x6f')][_0x5d28('0x9c')]({'element':_0x6286f9,'attributes':_0x13edba[_0x5d28('0x40')]?Object[_0x5d28('0x87')](_0x13edba):null}),_0xdfcf92&&_0x1eeafd[_0x5d28('0xd')][_0x5d28('0x9c')](_0xdfcf92),_0x10d8f6&&_0x1eeafd['deletionRanges'][_0x5d28('0x9c')](_0x10d8f6);},{'priority':_0x5d28('0x7b')}),_0x103b2b['on'](_0x5d28('0x6c'),(_0x4a7f69,_0x5ad8e0)=>{const [_0x5ceb95,_0x5c4758={}]=_0x5ad8e0;if(!_0x1eeafd)return;const _0x4e97ef=_0x5c4758['at']||0x0,_0x3d79cc=_0x5c4758['columns']||0x1;_0x1eeafd['columnInsertionIndexes']=new Array(_0x3d79cc)[_0x5d28('0x1b')](_0x4e97ef)[_0x5d28('0x13')]((_0x4e13ea,_0x3c0285)=>_0x4e13ea+_0x3c0285);for(const {cell:_0x3d92b6}of _0x103b2b[_0x5d28('0x0')](_0x5ceb95,{'startColumn':_0x4e97ef,'endColumn':_0x4e97ef+_0x3d79cc-0x1}))_0x1eeafd[_0x5d28('0x1d')]['push'](_0x11c7b2['model'][_0x5d28('0x5')](_0x3d92b6));},{'priority':_0x5d28('0x28')}),_0x103b2b['on'](_0x5d28('0x4a'),(_0x2a2270,_0x3326f9)=>{const [_0x1593a7,_0x567eca={}]=_0x3326f9;if(!_0x1eeafd)return;const _0x420de7=_0x567eca['at']||0x0,_0x4cffa9=_0x567eca[_0x5d28('0x18')]||0x1;_0x1eeafd[_0x5d28('0x91')]=new Array(_0x4cffa9)[_0x5d28('0x1b')](_0x420de7)[_0x5d28('0x13')]((_0x1308a5,_0x45eb4f)=>_0x1308a5+_0x45eb4f);for(const {cell:_0x4bf159}of _0x103b2b['createTableWalker'](_0x1593a7,{'startRow':_0x420de7,'endRow':_0x420de7+_0x4cffa9-0x1}))_0x1eeafd['rowInsertionRanges']['push'](_0x11c7b2[_0x5d28('0xc')]['createRangeOn'](_0x4bf159));},{'priority':_0x5d28('0x28')}),_0x21f132['_descriptionFactory'][_0x5d28('0x8b')](_0x2c592f=>{if(_0x2c592f['subType']&&_0x2c592f[_0x5d28('0x7f')][_0x5d28('0x34')](_0x5d28('0x88')))return _0x2c592f[_0x5d28('0x7c')]?{}:{'type':_0x5d28('0x3d'),'content':_0xe96f5a(_0x11c7b2[_0x5d28('0x7')],_0x5d28('0x39'))};});const _0x8d0617=()=>!0x1;for(const _0x5444ca of['tablePaste',_0x5d28('0x26'),_0x5d28('0x17'),'tablePasteCell'])_0x21f132[_0x5d28('0x95')][_0x5d28('0x33')](_0x5d28('0x3d'),_0x5444ca,_0x5d28('0x6b'),_0x8d0617),_0x21f132['_suggestionFactory'][_0x5d28('0x33')](_0x5d28('0x43'),_0x5444ca,_0x5d28('0x6b'),_0x8d0617),_0x21f132['_suggestionFactory'][_0x5d28('0x33')](_0x5d28('0x93'),_0x5444ca,'join',_0x8d0617);_0x21f132[_0x5d28('0x95')]['registerCustomCallback'](_0x5d28('0x93'),_0x5d28('0x15'),_0x5d28('0x8a'),_0x8d0617),_0x21f132['_suggestionFactory'][_0x5d28('0x33')]('formatBlock',_0x5d28('0x15'),_0x5d28('0x7a'),(_0x206e5f,_0x54355d,_0xa5bd3c)=>{const _0x53e95e=_0x206e5f[_0x5d28('0x13')](_0x270045=>_0x270045['getContainedElement']())[_0x5d28('0x2d')](_0x5059e5=>_0x5059e5),_0x1d4905=new Map(_0x53e95e['map'](_0x2ef944=>[_0x2ef944,null]));if(_0x1eeafd)for(const {element:_0x1d4f08,attributes:_0x29c187}of _0x1eeafd[_0x5d28('0x6f')])_0x29c187&&_0x1d4905[_0x5d28('0x3a')](_0x1d4f08,_0x29c187);else{if(_0xa5bd3c&&_0xa5bd3c[_0x5d28('0x83')])for(const [_0x158a9b,_0x3c0dc0]of Object[_0x5d28('0x21')](_0xa5bd3c[_0x5d28('0x83')])){const _0x3d5e0f=_0x11c7b2['model']['markers'][_0x5d28('0x2e')](_0x158a9b),_0x2a790b=_0x3d5e0f?_0x3d5e0f['getRange']()[_0x5d28('0x4e')]():null;_0x2a790b&&_0x1d4905[_0x5d28('0x3a')](_0x2a790b,_0x3c0dc0);}}_0x11c7b2[_0x5d28('0xc')][_0x5d28('0x72')](_0x292890=>{for(const [_0x41b442,_0x56ae33]of _0x1d4905)_0x292890[_0x5d28('0x85')]({...ae,..._0x56ae33},_0x41b442);});});const _0x12e718=(_0x54947e,_0x22a3a8)=>{_0x21f132[_0x5d28('0x95')][_0x5d28('0x33')](_0x54947e,_0x5d28('0x88'),_0x22a3a8,(_0x49d624,_0x29970e,_0xf85bf9)=>{_0x11c7b2[_0x5d28('0xc')]['change'](_0x41e590=>{const _0x494bc8=[];for(const _0x122740 of _0x49d624){const _0xe59388=_0x122740[_0x5d28('0xf')][_0x5d28('0x3c')];_0xe59388['is'](_0x5d28('0x5e'),_0x5d28('0x92'))&&_0x494bc8[_0x5d28('0x9c')](_0xe59388);}_0x21f132[_0x5d28('0x95')]['getSuggestionCallback'](_0x54947e,null,_0x22a3a8)(_0x49d624,_0x29970e,_0xf85bf9);for(const _0x3747c0 of _0x494bc8)'$graveyard'!=_0x3747c0['root']['rootName']&&_0x41e590[_0x5d28('0x2')](_0x3747c0);});});};_0x12e718(_0x5d28('0x3d'),_0x5d28('0x7a')),_0x12e718(_0x5d28('0x3d'),_0x5d28('0x8a')),_0x12e718(_0x5d28('0x43'),'accept'),_0x12e718(_0x5d28('0x43'),_0x5d28('0x8a')),_0x21f132[_0x5d28('0x95')]['registerCustomCallback']('insertion',_0x5d28('0x17'),_0x5d28('0x8a'),_0x435b87=>{const _0x52a8d5=_0x435b87[_0x5d28('0x13')](_0x55d8dd=>_0x55d8dd['getContainedElement']()),_0x3e7a90=_0x52a8d5[0x0][_0x5d28('0x50')]('table'),{minRow:_0x15a630,maxRow:_0x3ef067}=_0x461620[_0x5d28('0x16')](_0x52a8d5);_0x103b2b[_0x5d28('0x53')](_0x3e7a90,{'at':_0x15a630,'rows':_0x3ef067-_0x15a630+0x1});}),_0x21f132[_0x5d28('0x95')][_0x5d28('0x33')](_0x5d28('0x3d'),_0x5d28('0x26'),_0x5d28('0x8a'),_0xa6717f=>{const _0x460ec7=_0xa6717f['map'](_0x446fa2=>_0x446fa2['getContainedElement']()),_0x545341=_0x460ec7[0x0][_0x5d28('0x50')](_0x5d28('0x82')),{minColumn:_0x172b3d,maxColumn:_0xda6b2e}=_0x461620[_0x5d28('0x16')](_0x460ec7);_0x103b2b[_0x5d28('0x25')](_0x545341,{'at':_0x172b3d,'columns':_0xda6b2e-_0x172b3d+0x1});});const _0x4f24c8=(_0x48c086,_0x2f6a26)=>{if(!_0x2f6a26[_0x5d28('0x7f')]||!_0x2f6a26['subType'][_0x5d28('0x34')]('tablePaste'))return;const _0xb2d14a=_0x2f6a26['attributes'][_0x5d28('0x73')],_0x57d7a4=_0x21f132['getSuggestions']()[_0x5d28('0x2d')](_0x53968a=>_0x53968a[_0x5d28('0x8e')]&&_0x53968a['attributes']&&_0x53968a[_0x5d28('0xa')][_0x5d28('0x73')]==_0xb2d14a);_0x57d7a4[_0x5d28('0x40')]&&_0x2f6a26['getAllAdjacentSuggestions']()[_0x5d28('0x40')]!=_0x57d7a4['length']&&_0x57d7a4[_0x5d28('0x5f')]((_0x12ea6b,_0x397369)=>(_0x12ea6b['next']=_0x397369,_0x397369[_0x5d28('0x7c')]=_0x12ea6b,_0x397369));};function _0x4a3344(_0x34c9d8,_0x431a61=!0x0){const {id:_0xba99c9}=_0x21f132[_0x5d28('0x70')](_0x34c9d8[_0x5d28('0x7d')]),_0x56698a=[_0x5d28('0x6e'),_0x5d28('0x31')],_0x222431=_0x21f132[_0x5d28('0x65')][_0x5d28('0x32')](_0x34c9d8[_0x5d28('0x7d')]);return _0x222431&&_0x56698a[_0x5d28('0x9c')](_0x5d28('0x35')),{'classes':_0x56698a,'attributes':{'data-suggestion':_0xba99c9},'priority':_0x222431&&_0x431a61?0xbc2:0xbb8};}_0x21f132['on']('suggestionLoaded',_0x4f24c8,{'priority':_0x5d28('0x7b')}),_0x21f132['on']('suggestionUnloaded',_0x4f24c8,{'priority':_0x5d28('0x7b')}),_0x11c7b2['model']['document'][_0x5d28('0x98')](()=>{let _0x15ed1c=!0x1;const _0xb7990e=Array[_0x5d28('0x23')](_0x11c7b2[_0x5d28('0xc')][_0x5d28('0x71')][_0x5d28('0x14')][_0x5d28('0x90')]());for(const {name:_0x1f7aba,data:_0x4f445b}of _0xb7990e){const {group:_0x3c3fbf,type:_0x517156,id:_0xb6977}=_0x21f132[_0x5d28('0x70')](_0x1f7aba);if(_0x5d28('0x11')!=_0x3c3fbf||_0x5d28('0x43')!=_0x517156||_0x4f445b['oldRange'])continue;if(!_0x21f132[_0x5d28('0x9e')](_0xb6977))continue;const _0x349d49=_0x21f132[_0x5d28('0x5b')](_0xb6977)[_0x5d28('0x3b')](),_0x82b7f9=_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x2c'))['me'];for(const _0x2c0d33 of _0x21f132[_0x5d28('0x4c')]()){if(!_0x2c0d33[_0x5d28('0x8e')]||_0x2c0d33['author']!=_0x82b7f9)continue;if('formatBlock'!=_0x2c0d33['type']||'tablePasteCell'!=_0x2c0d33[_0x5d28('0x7f')])continue;if(_0x2c0d33[_0x5d28('0x3b')]()[_0x5d28('0x64')](_0x28cf34=>_0x349d49[_0x5d28('0x59')](_0x2756fe=>_0x2756fe[_0x5d28('0x42')](_0x28cf34,!0x0))))for(const _0xfa9a17 of _0x2c0d33['getAllAdjacentSuggestions']())_0xfa9a17[_0x5d28('0x8e')]&&(_0xfa9a17[_0x5d28('0x8a')](),_0x15ed1c=!0x0);}}return _0x15ed1c;}),_0x11c7b2['model'][_0x5d28('0x71')][_0x5d28('0x98')](_0x5d6b3e=>{const _0x7056a5=_0x11c7b2['commands'][_0x5d28('0x2e')]('redo');if(!_0x7056a5||!_0x7056a5[_0x5d28('0x8c')]['has'](_0x5d6b3e[_0x5d28('0x47')]))return!0x1;let _0x1228b7=!0x1;const _0x13470d=_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x2c'))['me'],_0x5ca8fd=_0x11c7b2[_0x5d28('0xc')][_0x5d28('0x71')][_0x5d28('0x14')]['getChanges'](),_0x1cc11b=Array[_0x5d28('0x23')](_0x11c7b2[_0x5d28('0xc')]['document'][_0x5d28('0x14')][_0x5d28('0x90')]())[_0x5d28('0x2d')](({name:_0x17e7ab,data:_0x85be7e})=>{const {group:_0x3bea8c,subType:_0x58448e,authorId:_0x4a7398}=_0x21f132['_splitMarkerName'](_0x17e7ab);return'suggestion'==_0x3bea8c&&'tablePaste'==_0x58448e&&_0x4a7398==_0x13470d['id']&&!_0x85be7e['oldRange'];});for(const _0x2f124e of _0x5ca8fd){if(_0x5d28('0x4f')!=_0x2f124e['type']||'tableCellSuggestion'!=_0x2f124e[_0x5d28('0x9d')]||0x1!=_0x2f124e['length'])continue;const _0x4f562f=_0x5d6b3e[_0x5d28('0x37')](_0x2f124e[_0x5d28('0x52')],_0x2f124e[_0x5d28('0x52')][_0x5d28('0x5a')](0x1));if(!_0x1cc11b['find'](({data:_0x39b5f0})=>_0x39b5f0[_0x5d28('0x84')][_0x5d28('0x49')](_0x4f562f)))for(const {name:_0xf2ac94,data:_0x23464a}of _0x1cc11b)if(_0x4f562f[_0x5d28('0x42')](_0x23464a[_0x5d28('0x84')])){_0x5d6b3e[_0x5d28('0x9a')](_0xf2ac94,{'range':_0x4f562f}),_0x1228b7=!0x0;break;}}return _0x1228b7;}),_0x11c7b2['model'][_0x5d28('0x71')]['registerPostFixer'](_0x7dd41a=>{let _0x147f1c=!0x1;const _0xcc5e02=_0x11c7b2[_0x5d28('0x77')][_0x5d28('0x2e')](_0x5d28('0x2c'))['me'],_0x4b8a22=_0x21f132['getSuggestions']()['filter'](_0x5547f9=>_0x5547f9['isInContent']&&_0x5547f9[_0x5d28('0x1a')]==_0xcc5e02),_0x194070=new Set(),_0x1ec611=new Set();for(const _0x4c03a5 of _0x4b8a22)if(_0x5d28('0x88')==_0x4c03a5['subType'])for(const _0x146d29 of _0x4c03a5[_0x5d28('0x22')]()){const _0x4ce357=_0x146d29[_0x5d28('0x96')]()[_0x5d28('0x4e')]();if(_0x4ce357){if(_0x4ce357['is'](_0x5d28('0x5e'),_0x5d28('0x92'))&&ce(_0x4ce357)){_0x4c03a5[_0x5d28('0x1c')](_0x146d29['name']),_0x194070[_0x5d28('0x67')](_0x4ce357),_0x147f1c=!0x0;const _0x53e479=_0x4ce357[_0x5d28('0x56')],_0x58a12f=_0x4ce357[_0x5d28('0x2a')],_0x501bfa=_0x53e479&&_0x53e479['is'](_0x5d28('0x5e'),_0x5d28('0x92')),_0x424ef6=_0x58a12f&&_0x58a12f['is']('element',_0x5d28('0x92'));_0x501bfa&&!_0x194070[_0x5d28('0x3f')](_0x53e479)&&_0x1ec611[_0x5d28('0x67')](_0x53e479),_0x424ef6&&!_0x194070['has'](_0x58a12f)&&_0x1ec611[_0x5d28('0x67')](_0x58a12f);}else _0x4ce357['is'](_0x5d28('0x5e'),_0x5d28('0x61'))&&_0x4ce357['isEmpty']&&(_0x4c03a5['removeMarker'](_0x146d29[_0x5d28('0x9d')]),_0x147f1c=!0x0);}}else{if(_0x5d28('0x15')==_0x4c03a5[_0x5d28('0x7f')]){if(!_0x4c03a5[_0x5d28('0xa')]||!_0x4c03a5['attributes'][_0x5d28('0x73')])continue;const _0x1f7048=_0x4c03a5['attributes'][_0x5d28('0x83')];if(_0x1f7048&&Object[_0x5d28('0x69')](_0x1f7048)[_0x5d28('0x40')])continue;const _0x18e8e2=_0x4c03a5[_0x5d28('0xa')][_0x5d28('0x73')];let _0x510c58=!0x0,_0x3afe1c=!0x0;for(const _0x295fbb of _0x4b8a22)if(_0x295fbb[_0x5d28('0x7f')]&&_0x295fbb['subType'][_0x5d28('0x34')]('tablePaste')){if(!_0x295fbb[_0x5d28('0xa')][_0x5d28('0x73')]){_0x3afe1c=!0x1;break;}if(_0x295fbb['id']!=_0x4c03a5['id']&&_0x295fbb['attributes'][_0x5d28('0x73')]==_0x18e8e2){_0x510c58=!0x1;break;}}_0x3afe1c&&_0x510c58&&(_0x4c03a5[_0x5d28('0x75')](),_0x147f1c=!0x0);}}for(const _0x3fa87c of _0x194070)_0x7dd41a[_0x5d28('0x78')](_0x3fa87c);for(const _0x5a1b24 of _0x1ec611)_0x7dd41a[_0x5d28('0x2')](_0x5a1b24);return _0x147f1c;}),_0x11c7b2[_0x5d28('0x3')][_0x5d28('0x4b')](_0x5d28('0x24'))[_0x5d28('0x9b')]({'model':_0x5d28('0x8f'),'view':(_0x310496,_0x50818f)=>_0x4a3344(_0x310496),'converterPriority':_0x5d28('0x7b')}),_0x11c7b2[_0x5d28('0x3')]['for'](_0x5d28('0x6a'))[_0x5d28('0x9b')]({'model':_0x5d28('0x8f'),'view':(_0x9c3170,_0x25abc2)=>_0x25abc2[_0x5d28('0x48')][_0x5d28('0x7e')]?_0x4a3344(_0x9c3170,!0x1):null,'converterPriority':_0x5d28('0x7b')});const _0x39c378=_0x11c7b2[_0x5d28('0x58')][_0x5d28('0x99')];this[_0x5d28('0x66')](_0x39c378[_0x5d28('0x71')],'clipboardOutput',(_0x551283,_0x28da99)=>{const _0x263858=[];for(const _0x23fb62 of _0x39c378['createRangeIn'](_0x28da99[_0x5d28('0x81')])[_0x5d28('0x8')]())_0x23fb62['is'](_0x5d28('0x5e'),_0x5d28('0x94'))&&_0x263858['push'](_0x23fb62);_0x39c378[_0x5d28('0x72')](_0x3e63a4=>{for(const _0x3763da of _0x263858)_0x3e63a4[_0x5d28('0x29')](_0x3e63a4[_0x5d28('0x57')](_0x3763da),_0x3e63a4[_0x5d28('0x8d')](_0x3763da)),_0x3e63a4[_0x5d28('0x78')](_0x3763da);});});}}function ce(_0x30bac4){if(_0x30bac4[_0x5d28('0x54')])return!0x0;const _0x270e15=_0x30bac4[_0x5d28('0x6d')](0x0);return _0x270e15['is'](_0x5d28('0x5e'),_0x5d28('0x61'))&&_0x270e15[_0x5d28('0x54')];}function fe(_0x414f13,_0x5964c5={},_0x5bb7e5){for(const {isAnchor:_0x2f010e,cellHeight:_0x370fc9,cellWidth:_0x4cc1a5}of _0x5bb7e5[_0x5d28('0x0')](_0x414f13,{'includeAllSlots':!0x0,..._0x5964c5}))if(!_0x2f010e||0x1!=_0x370fc9||0x1!=_0x4cc1a5)return!0x1;return!0x0;}
23
+ const _0x1ef9=['selection','table','createElement','suggestionLoaded','markerName','document','insertRows','startsWith','root','getChild','from','columns','differ','suggestion','tablePasteColumn','paragraph','suggestionUnloaded','ck-suggestion-marker--active','includes','getAllAdjacentSuggestions','_tablePostFixingSubtypes','insert','nodeAfter','removeMarker','row','insertion','every','_replaceTableSlotCell','column','createTableWalker','suggestion:formatBlock:tablePasteCell','registerPostFixer','fromEntries','fill','isInContent','createRange','rowInsertionRanges','join','getSuggestion','insertionRanges','registerDescriptionCallback','push','oldRange','locale','high','getChangedMarkers','markMultiRangeBlockFormat','getChildren','markerAttributes','accept','value','last','name','removeRows','tableCellSuggestion','get','batch','getContainedElement','some','getMarkers','afterInit','getSuggestions','tableCellHorizontalAlignment','updateMarker','commands','conversion','options','Users','length','discard','keys','start','documentSelection','TableClipboard','change','markerToHighlight','markers','getColumns','model','getColumnIndexes','createRangeOn','elementToElement','markMultiRangeDeletion','filter','position','for','_suggestionFactory','low','tableCell','remove','add','TableUtils','previousSibling','nextSibling','ck-suggestion-marker','findAncestor','deletion','suggestion-td','hasSuggestion','subType','removeMarkers','attributes','getRange','containsRange','_isForcedDefaultExecutionBlock','getItems','next','getRanges','isEmpty','tablePasteChainId','rowInsertionIndexes','tableCellBorderColor','listenTo','author','cell','register','tableCellVerticalAlignment','first','map','unwrap','tableCellBorderWidth','find','tablePasteCell','formatBlock','createPositionBefore','columnInsertionIndexes','previous','entries','insertContent','clipboardOutput','newRange','element','registerCustomCallback','editor','markMultiRangeInsertion','getSuggestionCallback','tableCellBorderStyle','set','insertColumns','deletionRanges','editing','end','showSuggestionHighlights','redo','TrackChangesEditing','forceDefaultExecution','tablePasteRow','move','createRangeIn','type','has','_splitMarkerName','getTableIfOnlyTableInContent','_getCoordsForCells','_createdBatches','$graveyard','wrap','setAttributes','tablePaste','plugins','getAttributes','content'];(function(_0x4ce951,_0x1ef913){const _0x225647=function(_0x219274){while(--_0x219274){_0x4ce951['push'](_0x4ce951['shift']());}};_0x225647(++_0x1ef913);}(_0x1ef9,0x1a7));const _0x2256=function(_0x4ce951,_0x1ef913){_0x4ce951=_0x4ce951-0x0;let _0x225647=_0x1ef9[_0x4ce951];return _0x225647;};import{getTranslation as _0x4cadb0}from'../utils/common-translations';import{Plugin as _0x237ee0}from'ckeditor5/src/core';import{uid as _0x3962b1,priorities as _0x115ca2}from'ckeditor5/src/utils';import _0x189b1d from'./table';const le=[_0x2256('0x15'),_0x2256('0xc'),_0x2256('0x25'),_0x2256('0x7d'),_0x2256('0x11'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x2256('0x5f')](le[_0x2256('0x13')](_0x370ded=>[_0x370ded,null]));export default class wt extends _0x237ee0{static get['requires'](){return[_0x189b1d];}[_0x2256('0x7b')](){const _0x592677=this['editor'];if(!_0x592677['plugins']['has']('TableClipboard'))return;const _0x1586a1=_0x592677['plugins'][_0x2256('0x76')](_0x2256('0x2d')),_0x31340f=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x9a')),_0xd872e2=_0x592677['plugins'][_0x2256('0x76')](_0x189b1d),_0x3a69cd=_0x592677[_0x2256('0x3c')][_0x2256('0x76')]('TableClipboard');_0xd872e2[_0x2256('0x53')][_0x2256('0x68')](_0x2256('0x2f'),'tablePasteColumn'),_0x592677[_0x2256('0x8d')]['schema'][_0x2256('0x10')](_0x2256('0x75'),{'allowIn':_0x2256('0x97'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x592677[_0x2256('0x80')][_0x2256('0x90')]({'model':_0x2256('0x75'),'view':_0x2256('0xa0')});let _0x323093=null;_0x592677[_0x2256('0x8d')]['on'](_0x2256('0x1d'),(_0xd34759,_0x2a9286)=>{const [_0x217495,_0x44d22c]=_0x2a9286,_0x4f2643=_0x2a9286[_0x2a9286['length']-0x1];_0x4f2643&&_0x4f2643[_0x2256('0x2e')]||_0x1586a1[_0x2256('0x5')]||this[_0x2256('0x22')][_0x2256('0x7f')][_0x2256('0x76')]('trackChanges')[_0x2256('0x71')]&&function(_0x26be96,_0x281cdd,_0x370dbf,_0x319637,_0x5751ed){if(_0x281cdd&&!_0x281cdd['is'](_0x2256('0x87')))return!0x1;const _0xec48c1=_0x5751ed[_0x2256('0x35')](_0x26be96,_0x370dbf);if(!_0xec48c1||!fe(_0xec48c1,void 0x0,_0x319637))return!0x1;const _0x12eddd=_0x319637['getSelectionAffectedTableCells'](_0x370dbf[_0x2256('0x44')][_0x2256('0x3f')]);if(!_0x12eddd['length'])return!0x1;const _0x2a8d14=_0x12eddd[0x0][_0x2256('0x9e')](_0x2256('0x40')),_0x1974f2=_0x319637['getRowIndexes'](_0x12eddd),_0x42ba1f=_0x319637[_0x2256('0x8e')](_0x12eddd),_0x5a1b42={'startRow':_0x1974f2[_0x2256('0x12')],'endRow':_0x1974f2[_0x2256('0x72')],'startColumn':_0x42ba1f[_0x2256('0x12')],'endColumn':_0x42ba1f[_0x2256('0x72')]};return 0x1==_0x12eddd[_0x2256('0x83')]&&(_0x5a1b42['endRow']+=_0x319637['getRows'](_0xec48c1)-0x1,_0x5a1b42['endColumn']+=_0x319637[_0x2256('0x8c')](_0xec48c1)-0x1),fe(_0x2a8d14,_0x5a1b42,_0x319637);}(_0x217495,_0x44d22c,_0x592677[_0x2256('0x8d')],_0x31340f,_0x3a69cd)&&(_0xd34759['stop'](),_0x323093={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x592677['model'][_0x2256('0x89')](()=>{_0x592677[_0x2256('0x8d')]['insertContent'](_0x2a9286[0x0],_0x2a9286[0x1],_0x2a9286[0x2],{'forceDefaultExecution':!0x0});const _0x955a9b=_0x3962b1(),{rowInsertionRanges:_0x105833,columnInsertionRanges:_0x6b3c1d,insertionRanges:_0x300f0d,deletionRanges:_0x58b644,cells:_0x42aa58}=_0x323093;_0x105833[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x105833,_0x2256('0x2f'),{'tablePasteChainId':_0x955a9b}),_0x6b3c1d[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x6b3c1d,_0x2256('0x4d'),{'tablePasteChainId':_0x955a9b}),_0x300f0d[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x300f0d,_0x2256('0x3b'),{'tablePasteChainId':_0x955a9b,'skipNestingCheck':!0x0}),_0x58b644[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x91')](_0x58b644,_0x2256('0x3b'),{'tablePasteChainId':_0x955a9b,'skipNestingCheck':!0x0});const _0x506887=_0x1586a1[_0x2256('0x6d')](_0x42aa58[_0x2256('0x13')](({element:_0x4a98fe})=>_0x4a98fe),{'formatGroupId':_0x3962b1()},[],_0x2256('0x17'),{'tablePasteChainId':_0x955a9b});if(_0x506887){const _0x14339c=_0x506887['getMarkers'](),_0x1a4f4d=[];for(const {element:_0x18fcaf,attributes:_0x25589a}of _0x42aa58){if(!_0x25589a)continue;const _0x1c9447=_0x592677['model'][_0x2256('0x8f')](_0x18fcaf),_0x3a40a5=_0x14339c[_0x2256('0x16')](_0x2d7cc0=>_0x2d7cc0[_0x2256('0x3')]()['isEqual'](_0x1c9447));_0x3a40a5&&_0x1a4f4d[_0x2256('0x68')]([_0x3a40a5['name'],_0x25589a]);}_0x1a4f4d[_0x2256('0x83')]&&_0x506887['setAttribute'](_0x2256('0x6f'),Object[_0x2256('0x5f')](_0x1a4f4d));}_0x323093=null;}));},{'priority':_0x115ca2['high']+0xa}),_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x88'))['on'](_0x2256('0x5a'),(_0x2d2f19,_0x3adb95)=>{const [_0x4aeeef,_0x10a931,,_0x14acdf]=_0x3adb95;if(!_0x323093)return;_0x2d2f19['stop']();const _0x38bc02=_0x4aeeef[_0x2256('0xf')],_0xd6baf9=_0x10a931,_0x3b6e03=ce(_0x38bc02),_0x4bb7b9=ce(_0xd6baf9);_0x2d2f19['return']=_0x38bc02;let _0x7f993=null,_0x37e8ac=null;if(_0x4bb7b9||_0x3b6e03){if(_0x3b6e03&&!_0x4bb7b9){_0x14acdf[_0x2256('0x98')](_0x38bc02['getChild'](0x0));for(const _0x24de8a of Array[_0x2256('0x49')](_0xd6baf9[_0x2256('0x6e')]()))_0x14acdf['insert'](_0x24de8a,_0x38bc02,_0x2256('0x2a'));const _0x3a903c=_0x323093[_0x2256('0xb')][_0x2256('0x51')](_0x4aeeef[_0x2256('0x57')]),_0x46bb65=_0x323093['columnInsertionIndexes'][_0x2256('0x51')](_0x4aeeef[_0x2256('0x5b')]);_0x3a903c||_0x46bb65||(_0x7f993=_0x14acdf[_0x2256('0x31')](_0x38bc02));}else _0x4bb7b9&&!_0x3b6e03&&(_0x37e8ac=_0x14acdf[_0x2256('0x31')](_0x38bc02));}else{const _0x93998b=_0x14acdf[_0x2256('0x41')]('tableCellSuggestion'),_0x2520dd=_0x14acdf[_0x2256('0x41')](_0x2256('0x75'));_0x14acdf[_0x2256('0x39')](_0x14acdf[_0x2256('0x31')](_0x38bc02),_0x2520dd),_0x14acdf[_0x2256('0x54')](_0x93998b,_0x38bc02,0x0);for(const _0x364e20 of Array[_0x2256('0x49')](_0xd6baf9['getChildren']()))_0x14acdf['insert'](_0x364e20,_0x93998b,_0x2256('0x2a'));_0x7f993=_0x14acdf[_0x2256('0x8f')](_0x93998b),_0x37e8ac=_0x14acdf['createRangeOn'](_0x2520dd);}const _0x226193=Array[_0x2256('0x49')](_0xd6baf9[_0x2256('0x3d')]())[_0x2256('0x92')](([_0x590a6b])=>le[_0x2256('0x51')](_0x590a6b));_0x323093['cells']['push']({'element':_0x38bc02,'attributes':_0x226193[_0x2256('0x83')]?Object[_0x2256('0x5f')](_0x226193):null}),_0x7f993&&_0x323093[_0x2256('0x66')][_0x2256('0x68')](_0x7f993),_0x37e8ac&&_0x323093[_0x2256('0x28')]['push'](_0x37e8ac);},{'priority':_0x2256('0x6b')}),_0x31340f['on'](_0x2256('0x27'),(_0x214937,_0x34d15e)=>{const [_0x5bb2a0,_0x106ee4={}]=_0x34d15e;if(!_0x323093)return;const _0x262a0d=_0x106ee4['at']||0x0,_0x22a4d2=_0x106ee4[_0x2256('0x4a')]||0x1;_0x323093[_0x2256('0x1a')]=new Array(_0x22a4d2)[_0x2256('0x60')](_0x262a0d)[_0x2256('0x13')]((_0x40d8e7,_0x1135c1)=>_0x40d8e7+_0x1135c1);for(const {cell:_0x1d7317}of _0x31340f['createTableWalker'](_0x5bb2a0,{'startColumn':_0x262a0d,'endColumn':_0x262a0d+_0x22a4d2-0x1}))_0x323093['columnInsertionRanges']['push'](_0x592677[_0x2256('0x8d')][_0x2256('0x8f')](_0x1d7317));},{'priority':'low'}),_0x31340f['on'](_0x2256('0x45'),(_0x39ad6c,_0x39b3d8)=>{const [_0x51e31d,_0x3ba991={}]=_0x39b3d8;if(!_0x323093)return;const _0x513f86=_0x3ba991['at']||0x0,_0x1d0170=_0x3ba991['rows']||0x1;_0x323093[_0x2256('0xb')]=new Array(_0x1d0170)['fill'](_0x513f86)['map']((_0x116d0f,_0x364a8a)=>_0x116d0f+_0x364a8a);for(const {cell:_0xc264e9}of _0x31340f['createTableWalker'](_0x51e31d,{'startRow':_0x513f86,'endRow':_0x513f86+_0x1d0170-0x1}))_0x323093[_0x2256('0x63')]['push'](_0x592677[_0x2256('0x8d')][_0x2256('0x8f')](_0xc264e9));},{'priority':_0x2256('0x96')}),_0x1586a1['_descriptionFactory'][_0x2256('0x67')](_0x2ac5e4=>{if(_0x2ac5e4['subType']&&_0x2ac5e4[_0x2256('0x0')]['startsWith'](_0x2256('0x3b')))return _0x2ac5e4[_0x2256('0x1b')]?{}:{'type':'insertion','content':_0x4cadb0(_0x592677[_0x2256('0x6a')],'*Replace\x20table\x20cells*')};});const _0x16062b=()=>!0x1;for(const _0x25f45e of['tablePaste','tablePasteColumn',_0x2256('0x2f'),_0x2256('0x17')])_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x25f45e,_0x2256('0x64'),_0x16062b),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x9f'),_0x25f45e,_0x2256('0x64'),_0x16062b),_0x1586a1['_suggestionFactory'][_0x2256('0x21')](_0x2256('0x18'),_0x25f45e,_0x2256('0x64'),_0x16062b);_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x18'),'tablePasteCell',_0x2256('0x84'),_0x16062b),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x18'),'tablePasteCell','accept',(_0x4e3200,_0x5934e7,_0x580352)=>{const _0x5dec5e=_0x4e3200[_0x2256('0x13')](_0x24bb7e=>_0x24bb7e[_0x2256('0x78')]())['filter'](_0x2f96ff=>_0x2f96ff),_0x33d292=new Map(_0x5dec5e[_0x2256('0x13')](_0x4a583b=>[_0x4a583b,null]));if(_0x323093)for(const {element:_0x57082a,attributes:_0x3861e9}of _0x323093['cells'])_0x3861e9&&_0x33d292['set'](_0x57082a,_0x3861e9);else{if(_0x580352&&_0x580352[_0x2256('0x6f')])for(const [_0xd15918,_0x200fae]of Object[_0x2256('0x1c')](_0x580352[_0x2256('0x6f')])){const _0x5cfe8e=_0x592677[_0x2256('0x8d')][_0x2256('0x8b')][_0x2256('0x76')](_0xd15918),_0x5d780d=_0x5cfe8e?_0x5cfe8e[_0x2256('0x3')]()['getContainedElement']():null;_0x5d780d&&_0x33d292[_0x2256('0x26')](_0x5d780d,_0x200fae);}}_0x592677['model'][_0x2256('0x89')](_0x5c69e8=>{for(const [_0x1e68ff,_0x5bf692]of _0x33d292)_0x5c69e8[_0x2256('0x3a')]({...ae,..._0x5bf692},_0x1e68ff);});});const _0x24121a=(_0x3ca85,_0x2d8f39)=>{_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x3ca85,_0x2256('0x3b'),_0x2d8f39,(_0x2ccc4e,_0xf3492,_0x5c76f5)=>{_0x592677['model'][_0x2256('0x89')](_0x53aa52=>{const _0x3bb3e9=[];for(const _0x1be578 of _0x2ccc4e){const _0x416208=_0x1be578[_0x2256('0x86')][_0x2256('0x55')];_0x416208['is'](_0x2256('0x20'),_0x2256('0x75'))&&_0x3bb3e9[_0x2256('0x68')](_0x416208);}_0x1586a1[_0x2256('0x95')][_0x2256('0x24')](_0x3ca85,null,_0x2d8f39)(_0x2ccc4e,_0xf3492,_0x5c76f5);for(const _0x1d2cf3 of _0x3bb3e9)_0x2256('0x38')!=_0x1d2cf3[_0x2256('0x47')]['rootName']&&_0x53aa52['unwrap'](_0x1d2cf3);});});};_0x24121a(_0x2256('0x58'),_0x2256('0x70')),_0x24121a(_0x2256('0x58'),_0x2256('0x84')),_0x24121a(_0x2256('0x9f'),'accept'),_0x24121a('deletion',_0x2256('0x84')),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x2256('0x2f'),_0x2256('0x84'),_0x3e0afb=>{const _0x5586f7=_0x3e0afb[_0x2256('0x13')](_0x4f05d4=>_0x4f05d4['getContainedElement']()),_0x306d42=_0x5586f7[0x0][_0x2256('0x9e')](_0x2256('0x40')),{minRow:_0x143ff4,maxRow:_0x3964fd}=_0xd872e2[_0x2256('0x36')](_0x5586f7);_0x31340f[_0x2256('0x74')](_0x306d42,{'at':_0x143ff4,'rows':_0x3964fd-_0x143ff4+0x1});}),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x2256('0x4d'),'discard',_0x5ce0f9=>{const _0x4b2bba=_0x5ce0f9[_0x2256('0x13')](_0x1ee009=>_0x1ee009[_0x2256('0x78')]()),_0x2371cc=_0x4b2bba[0x0]['findAncestor'](_0x2256('0x40')),{minColumn:_0x3d14ca,maxColumn:_0x1932f9}=_0xd872e2[_0x2256('0x36')](_0x4b2bba);_0x31340f['removeColumns'](_0x2371cc,{'at':_0x3d14ca,'columns':_0x1932f9-_0x3d14ca+0x1});});const _0x42d6f4=(_0x1fee8c,_0x38fa15)=>{if(!_0x38fa15['subType']||!_0x38fa15[_0x2256('0x0')]['startsWith'](_0x2256('0x3b')))return;const _0x360153=_0x38fa15[_0x2256('0x2')]['tablePasteChainId'],_0x2bd4a2=_0x1586a1[_0x2256('0x7c')]()['filter'](_0x246e9a=>_0x246e9a[_0x2256('0x61')]&&_0x246e9a['attributes']&&_0x246e9a[_0x2256('0x2')][_0x2256('0xa')]==_0x360153);_0x2bd4a2['length']&&_0x38fa15['getAllAdjacentSuggestions']()[_0x2256('0x83')]!=_0x2bd4a2['length']&&_0x2bd4a2['reduce']((_0x48d2f1,_0x201c00)=>(_0x48d2f1[_0x2256('0x7')]=_0x201c00,_0x201c00[_0x2256('0x1b')]=_0x48d2f1,_0x201c00));};function _0x2b2121(_0x147622,_0x57db07=!0x0){const {id:_0x4ac732}=_0x1586a1['_splitMarkerName'](_0x147622[_0x2256('0x43')]),_0x2f4e28=[_0x2256('0x9d'),'ck-suggestion-marker-insertion'],_0x42c126=_0x1586a1['activeMarkers'][_0x2256('0x51')](_0x147622[_0x2256('0x43')]);return _0x42c126&&_0x2f4e28[_0x2256('0x68')](_0x2256('0x50')),{'classes':_0x2f4e28,'attributes':{'data-suggestion':_0x4ac732},'priority':_0x42c126&&_0x57db07?0xbc2:0xbb8};}_0x1586a1['on'](_0x2256('0x42'),_0x42d6f4,{'priority':_0x2256('0x6b')}),_0x1586a1['on'](_0x2256('0x4f'),_0x42d6f4,{'priority':'high'}),_0x592677[_0x2256('0x8d')][_0x2256('0x44')][_0x2256('0x5e')](()=>{let _0x267667=!0x1;const _0x7e55fa=Array['from'](_0x592677[_0x2256('0x8d')][_0x2256('0x44')]['differ'][_0x2256('0x6c')]());for(const {name:_0x4a3d4d,data:_0x5ddabb}of _0x7e55fa){const {group:_0x54187d,type:_0xddf81d,id:_0x21bd68}=_0x1586a1[_0x2256('0x34')](_0x4a3d4d);if(_0x2256('0x4c')!=_0x54187d||_0x2256('0x9f')!=_0xddf81d||_0x5ddabb[_0x2256('0x69')])continue;if(!_0x1586a1[_0x2256('0xa1')](_0x21bd68))continue;const _0x29a334=_0x1586a1[_0x2256('0x65')](_0x21bd68)['getRanges'](),_0x45bd8b=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x82'))['me'];for(const _0x4f44b7 of _0x1586a1['getSuggestions']()){if(!_0x4f44b7[_0x2256('0x61')]||_0x4f44b7[_0x2256('0xe')]!=_0x45bd8b)continue;if(_0x2256('0x18')!=_0x4f44b7[_0x2256('0x32')]||_0x2256('0x17')!=_0x4f44b7[_0x2256('0x0')])continue;if(_0x4f44b7[_0x2256('0x8')]()[_0x2256('0x59')](_0x19a4c4=>_0x29a334[_0x2256('0x79')](_0x5f41fe=>_0x5f41fe[_0x2256('0x4')](_0x19a4c4,!0x0))))for(const _0x57e1ed of _0x4f44b7[_0x2256('0x52')]())_0x57e1ed[_0x2256('0x61')]&&(_0x57e1ed[_0x2256('0x84')](),_0x267667=!0x0);}}return _0x267667;}),_0x592677['model'][_0x2256('0x44')][_0x2256('0x5e')](_0x29bc20=>{const _0x266bd2=_0x592677[_0x2256('0x7f')][_0x2256('0x76')](_0x2256('0x2c'));if(!_0x266bd2||!_0x266bd2[_0x2256('0x37')]['has'](_0x29bc20[_0x2256('0x77')]))return!0x1;let _0x31c2ac=!0x1;const _0x254f85=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x82'))['me'],_0x1d2b65=_0x592677[_0x2256('0x8d')]['document'][_0x2256('0x4b')]['getChanges'](),_0x157c78=Array[_0x2256('0x49')](_0x592677['model']['document'][_0x2256('0x4b')]['getChangedMarkers']())[_0x2256('0x92')](({name:_0xf9b6a5,data:_0x44e752})=>{const {group:_0x420a71,subType:_0x4feef3,authorId:_0x4f95db}=_0x1586a1['_splitMarkerName'](_0xf9b6a5);return'suggestion'==_0x420a71&&_0x2256('0x3b')==_0x4feef3&&_0x4f95db==_0x254f85['id']&&!_0x44e752[_0x2256('0x69')];});for(const _0x5e433d of _0x1d2b65){if(_0x2256('0x54')!=_0x5e433d[_0x2256('0x32')]||_0x2256('0x75')!=_0x5e433d[_0x2256('0x73')]||0x1!=_0x5e433d[_0x2256('0x83')])continue;const _0x503cca=_0x29bc20[_0x2256('0x62')](_0x5e433d['position'],_0x5e433d[_0x2256('0x93')]['getShiftedBy'](0x1));if(!_0x157c78[_0x2256('0x16')](({data:_0x315bf8})=>_0x315bf8['newRange']['isEqual'](_0x503cca)))for(const {name:_0x439252,data:_0x3d1be1}of _0x157c78)if(_0x503cca[_0x2256('0x4')](_0x3d1be1[_0x2256('0x1f')])){_0x29bc20[_0x2256('0x7e')](_0x439252,{'range':_0x503cca}),_0x31c2ac=!0x0;break;}}return _0x31c2ac;}),_0x592677[_0x2256('0x8d')][_0x2256('0x44')][_0x2256('0x5e')](_0x137fb0=>{let _0x4e920b=!0x1;const _0x664fbc=_0x592677['plugins']['get'](_0x2256('0x82'))['me'],_0x4d37f7=_0x1586a1[_0x2256('0x7c')]()[_0x2256('0x92')](_0x175ef8=>_0x175ef8[_0x2256('0x61')]&&_0x175ef8[_0x2256('0xe')]==_0x664fbc),_0x206a60=new Set(),_0x262bbb=new Set();for(const _0x1d348f of _0x4d37f7)if(_0x2256('0x3b')==_0x1d348f[_0x2256('0x0')])for(const _0x21787c of _0x1d348f[_0x2256('0x7a')]()){const _0x55a51b=_0x21787c['getRange']()[_0x2256('0x78')]();if(_0x55a51b){if(_0x55a51b['is'](_0x2256('0x20'),_0x2256('0x75'))&&ce(_0x55a51b)){_0x1d348f[_0x2256('0x56')](_0x21787c['name']),_0x206a60['add'](_0x55a51b),_0x4e920b=!0x0;const _0x2d860a=_0x55a51b[_0x2256('0x9c')],_0x43ac3b=_0x55a51b[_0x2256('0x9b')],_0x497725=_0x2d860a&&_0x2d860a['is']('element',_0x2256('0x75')),_0x1b94b4=_0x43ac3b&&_0x43ac3b['is'](_0x2256('0x20'),_0x2256('0x75'));_0x497725&&!_0x206a60['has'](_0x2d860a)&&_0x262bbb[_0x2256('0x99')](_0x2d860a),_0x1b94b4&&!_0x206a60[_0x2256('0x33')](_0x43ac3b)&&_0x262bbb['add'](_0x43ac3b);}else _0x55a51b['is'](_0x2256('0x20'),_0x2256('0x4e'))&&_0x55a51b[_0x2256('0x9')]&&(_0x1d348f['removeMarker'](_0x21787c['name']),_0x4e920b=!0x0);}}else{if(_0x2256('0x17')==_0x1d348f[_0x2256('0x0')]){if(!_0x1d348f[_0x2256('0x2')]||!_0x1d348f['attributes']['tablePasteChainId'])continue;const _0x529c9c=_0x1d348f[_0x2256('0x2')]['markerAttributes'];if(_0x529c9c&&Object[_0x2256('0x85')](_0x529c9c)['length'])continue;const _0x2cdc7b=_0x1d348f[_0x2256('0x2')][_0x2256('0xa')];let _0x3654b5=!0x0,_0x3cbcf2=!0x0;for(const _0x345053 of _0x4d37f7)if(_0x345053['subType']&&_0x345053[_0x2256('0x0')][_0x2256('0x46')]('tablePaste')){if(!_0x345053['attributes']['tablePasteChainId']){_0x3cbcf2=!0x1;break;}if(_0x345053['id']!=_0x1d348f['id']&&_0x345053[_0x2256('0x2')][_0x2256('0xa')]==_0x2cdc7b){_0x3654b5=!0x1;break;}}_0x3cbcf2&&_0x3654b5&&(_0x1d348f[_0x2256('0x1')](),_0x4e920b=!0x0);}}for(const _0x5f2bee of _0x206a60)_0x137fb0['remove'](_0x5f2bee);for(const _0x40542a of _0x262bbb)_0x137fb0[_0x2256('0x14')](_0x40542a);return _0x4e920b;}),_0x592677[_0x2256('0x80')][_0x2256('0x94')]('editingDowncast')[_0x2256('0x8a')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4d7417,_0x385125)=>_0x2b2121(_0x4d7417),'converterPriority':_0x2256('0x6b')}),_0x592677[_0x2256('0x80')][_0x2256('0x94')]('dataDowncast')['markerToHighlight']({'model':_0x2256('0x5d'),'view':(_0x265118,_0x8c77db)=>_0x8c77db[_0x2256('0x81')][_0x2256('0x2b')]?_0x2b2121(_0x265118,!0x1):null,'converterPriority':'high'});const _0x5d392e=_0x592677[_0x2256('0x29')]['view'];this[_0x2256('0xd')](_0x5d392e['document'],_0x2256('0x1e'),(_0x108b3e,_0x595581)=>{const _0x4fc40a=[];for(const _0x2c9eef of _0x5d392e['createRangeIn'](_0x595581[_0x2256('0x3e')])[_0x2256('0x6')]())_0x2c9eef['is'](_0x2256('0x20'),_0x2256('0xa0'))&&_0x4fc40a[_0x2256('0x68')](_0x2c9eef);_0x5d392e[_0x2256('0x89')](_0x172678=>{for(const _0x442465 of _0x4fc40a)_0x172678[_0x2256('0x30')](_0x172678['createRangeIn'](_0x442465),_0x172678[_0x2256('0x19')](_0x442465)),_0x172678[_0x2256('0x98')](_0x442465);});});}}function ce(_0x3a1cb1){if(_0x3a1cb1['isEmpty'])return!0x0;const _0x4041a7=_0x3a1cb1[_0x2256('0x48')](0x0);return _0x4041a7['is'](_0x2256('0x20'),_0x2256('0x4e'))&&_0x4041a7['isEmpty'];}function fe(_0x432321,_0x558f43={},_0x38da3d){for(const {isAnchor:_0x4eac31,cellHeight:_0x5490c7,cellWidth:_0x19e62a}of _0x38da3d[_0x2256('0x5c')](_0x432321,{'includeAllSlots':!0x0,..._0x558f43}))if(!_0x4eac31||0x1!=_0x5490c7||0x1!=_0x19e62a)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37c9=['document','format','formatGroupId','model','getSelectedElement','locale','accept','afterInit','editor','resizeColumnWidths','registerCustomCallback','get','resizeTableWidth','tableWidth','getAttribute','discard','commandParams','*Format:*\x20resize\x20table','selection','_descriptionFactory','getColumnGroupElement','data','getTableColumnsWidths','TrackChangesEditing','TableColumnResizeEditing','getContainedElement','bind','_suggestionFactory','author','formatBlock','handleSuggestionDescription','handleResizeTableWidthCommand','columnWidths','has','registerDescriptionCallback','table','plugins','getSuggestionCallback','getSuggestions','enableCommand','resizeTable'];(function(_0x174adf,_0x37c9b1){const _0x2b7161=function(_0x5b96ae){while(--_0x5b96ae){_0x174adf['push'](_0x174adf['shift']());}};_0x2b7161(++_0x37c9b1);}(_0x37c9,0xc5));const _0x2b71=function(_0x174adf,_0x37c9b1){_0x174adf=_0x174adf-0x0;let _0x2b7161=_0x37c9[_0x174adf];return _0x2b7161;};import{Plugin as _0x39071c}from'ckeditor5/src/core';import{getTranslation as _0x58660b}from'../utils/common-translations';export default class yt extends _0x39071c{[_0x2b71('0xf')](){if(!this[_0x2b71('0x10')]['plugins'][_0x2b71('0x0')](_0x2b71('0x20')))return;const _0x432f6c=this[_0x2b71('0x10')][_0x2b71('0x3')]['get']('TrackChangesEditing');_0x432f6c[_0x2b71('0x6')]('resizeTableWidth',this[_0x2b71('0x27')][_0x2b71('0x22')](this)),_0x432f6c['enableCommand'](_0x2b71('0x11'),this['handleResizeTableWidthCommand']['bind'](this)),_0x432f6c[_0x2b71('0x23')]['registerCustomCallback'](_0x2b71('0x25'),_0x2b71('0x7'),_0x2b71('0xe'),_0x432f6c['_suggestionFactory']['getSuggestionCallback'](_0x2b71('0x25'),null,'discard')),_0x432f6c[_0x2b71('0x23')][_0x2b71('0x12')]('formatBlock',_0x2b71('0x7'),_0x2b71('0x17'),_0x432f6c[_0x2b71('0x23')][_0x2b71('0x4')](_0x2b71('0x25'),null,_0x2b71('0xe'))),_0x432f6c[_0x2b71('0x1b')][_0x2b71('0x1')](this['handleSuggestionDescription'][_0x2b71('0x22')](this));}[_0x2b71('0x27')](_0x5898ee,_0x13610a){const _0x5dbcfb=this[_0x2b71('0x10')][_0x2b71('0x3')][_0x2b71('0x13')](_0x2b71('0x1f')),_0x5e1b70=this[_0x2b71('0x10')]['plugins'][_0x2b71('0x13')](_0x2b71('0x20')),_0x553be6=_0x13610a[_0x2b71('0x2')]||this[_0x2b71('0x10')][_0x2b71('0xb')][_0x2b71('0x8')][_0x2b71('0x1a')][_0x2b71('0xc')]();this[_0x2b71('0x10')]['model']['change'](()=>{const _0x4c7237=_0x5e1b70[_0x2b71('0x1c')](_0x553be6);let _0x3a54a4=_0x4c7237?_0x5e1b70[_0x2b71('0x1e')](_0x4c7237):null,_0x8df29e=_0x553be6[_0x2b71('0x16')](_0x2b71('0x15'))||null;const _0x4fdc5c=_0x13610a[_0x2b71('0x15')]||_0x8df29e,_0x34e3f1=_0x13610a[_0x2b71('0x28')]||_0x3a54a4,_0x35dfb3=this[_0x2b71('0x10')][_0x2b71('0x3')]['get']('Users')['me'];for(const _0x5629bb of _0x5dbcfb[_0x2b71('0x5')]()){const _0x3fbbe9=_0x5629bb[_0x2b71('0x21')]();if(_0x2b71('0x7')===_0x5629bb['subType']&&_0x3fbbe9===_0x553be6){_0x5629bb[_0x2b71('0x24')]!==_0x35dfb3&&_0x5629bb[_0x2b71('0x17')]();const _0x34e507=_0x5629bb[_0x2b71('0x1d')][_0x2b71('0x18')];_0x8df29e=_0x34e507[0x0][_0x2b71('0x15')],_0x3a54a4=_0x34e507[0x0]['columnWidths'];break;}}_0x5898ee({'table':_0x553be6,'tableWidth':_0x4fdc5c,'columnWidths':_0x34e3f1}),_0x5dbcfb['markBlockFormat'](_0x553be6,{'commandName':_0x2b71('0x14'),'commandParams':[{'tableWidth':_0x8df29e,'columnWidths':_0x3a54a4}],'formatGroupId':_0x2b71('0x7')},[],_0x2b71('0x7'));});}[_0x2b71('0x26')](_0x473b65){const {data:_0x16ed92}=_0x473b65;if(_0x16ed92&&_0x2b71('0x7')===_0x16ed92[_0x2b71('0xa')]){const _0x30ab7c=_0x2b71('0x19');return{'type':_0x2b71('0x9'),'content':_0x58660b(this[_0x2b71('0x10')][_0x2b71('0xd')],_0x30ab7c)};}}}
23
+ const _0x5208=['_suggestionFactory','editor','selection','plugins','tableWidth','getAttribute','getSuggestionCallback','handleResizeTableWidthCommand','resizeTable','resizeColumnWidths','subType','change','registerCustomCallback','formatBlock','Users','discard','getTableColumnsWidths','TableColumnResizeEditing','enableCommand','accept','format','get','resizeTableWidth','bind','markBlockFormat','getColumnGroupElement','*Format:*\x20resize\x20table','handleSuggestionDescription','document','data','author','commandParams','getContainedElement','getSuggestions','TrackChangesEditing','_descriptionFactory','formatGroupId','getSelectedElement','model'];(function(_0x51cd9f,_0x52083d){const _0x2993dc=function(_0x1c0f2b){while(--_0x1c0f2b){_0x51cd9f['push'](_0x51cd9f['shift']());}};_0x2993dc(++_0x52083d);}(_0x5208,0x1bb));const _0x2993=function(_0x51cd9f,_0x52083d){_0x51cd9f=_0x51cd9f-0x0;let _0x2993dc=_0x5208[_0x51cd9f];return _0x2993dc;};import{Plugin as _0x23f797}from'ckeditor5/src/core';import{getTranslation as _0x5a7cbe}from'../utils/common-translations';export default class yt extends _0x23f797{['afterInit'](){if(!this[_0x2993('0x1a')]['plugins']['has'](_0x2993('0x3')))return;const _0x5af794=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')](_0x2993('0x14'));_0x5af794[_0x2993('0x4')](_0x2993('0x8'),this[_0x2993('0x20')]['bind'](this)),_0x5af794['enableCommand'](_0x2993('0x22'),this[_0x2993('0x20')]['bind'](this)),_0x5af794[_0x2993('0x19')][_0x2993('0x25')]('formatBlock',_0x2993('0x21'),_0x2993('0x5'),_0x5af794['_suggestionFactory'][_0x2993('0x1f')](_0x2993('0x26'),null,_0x2993('0x1'))),_0x5af794[_0x2993('0x19')][_0x2993('0x25')]('formatBlock','resizeTable',_0x2993('0x1'),_0x5af794[_0x2993('0x19')][_0x2993('0x1f')](_0x2993('0x26'),null,_0x2993('0x5'))),_0x5af794[_0x2993('0x15')]['registerDescriptionCallback'](this[_0x2993('0xd')][_0x2993('0x9')](this));}['handleResizeTableWidthCommand'](_0x1cb6cc,_0x560a52){const _0x37d615=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')](_0x2993('0x14')),_0xe3f99a=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')]('TableColumnResizeEditing'),_0x3d2f9b=_0x560a52['table']||this[_0x2993('0x1a')]['model'][_0x2993('0xe')][_0x2993('0x1b')][_0x2993('0x17')]();this[_0x2993('0x1a')][_0x2993('0x18')][_0x2993('0x24')](()=>{const _0x3209b6=_0xe3f99a[_0x2993('0xb')](_0x3d2f9b);let _0x4f3adc=_0x3209b6?_0xe3f99a[_0x2993('0x2')](_0x3209b6):null,_0x59a674=_0x3d2f9b[_0x2993('0x1e')](_0x2993('0x1d'))||null;const _0x3b5c09=_0x560a52[_0x2993('0x1d')]||_0x59a674,_0x1c248b=_0x560a52['columnWidths']||_0x4f3adc,_0x2e7d34=this[_0x2993('0x1a')][_0x2993('0x1c')]['get'](_0x2993('0x0'))['me'];for(const _0x5f5317 of _0x37d615[_0x2993('0x13')]()){const _0x36a060=_0x5f5317[_0x2993('0x12')]();if(_0x2993('0x21')===_0x5f5317[_0x2993('0x23')]&&_0x36a060===_0x3d2f9b){_0x5f5317[_0x2993('0x10')]!==_0x2e7d34&&_0x5f5317[_0x2993('0x1')]();const _0x49e69f=_0x5f5317[_0x2993('0xf')][_0x2993('0x11')];_0x59a674=_0x49e69f[0x0]['tableWidth'],_0x4f3adc=_0x49e69f[0x0]['columnWidths'];break;}}_0x1cb6cc({'table':_0x3d2f9b,'tableWidth':_0x3b5c09,'columnWidths':_0x1c248b}),_0x37d615[_0x2993('0xa')](_0x3d2f9b,{'commandName':_0x2993('0x8'),'commandParams':[{'tableWidth':_0x59a674,'columnWidths':_0x4f3adc}],'formatGroupId':_0x2993('0x21')},[],'resizeTable');});}[_0x2993('0xd')](_0x436d3b){const {data:_0x23fd57}=_0x436d3b;if(_0x23fd57&&_0x2993('0x21')===_0x23fd57[_0x2993('0x16')]){const _0x309fbf=_0x2993('0xc');return{'type':_0x2993('0x6'),'content':_0x5a7cbe(this[_0x2993('0x1a')]['locale'],_0x309fbf)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf2fc=['getAttribute','addMarker:suggestion','nodeAfter','_splitMarkerName','headingColumns','_suggestionFactory','afterInit','createTableWalker','FORMAT_HEADER_ROW','markerName','removeAttribute','downcastDispatcher','model','highest','TrackChangesEditing','item','getSelectionAffectedTableCells','document','TableUtils','childCount','getCellLocation','name','stop','activeMarkers','addClass','cell','removeMarker:suggestion','ck-suggestion-marker-','table','selection','ck-suggestion-marker--active','getChild','toViewElement','mapper','accept','nodeBefore','formatBlock','bindElementToMarker','_descriptionFactory','has','_acceptFormatSuggestionCallbackFactory','createPositionAfter','value','get','getRowIndexes','data','FORMAT_REGULAR_COLUMN','registerCustomCallback','commands','getSuggestion','editor','headingRows','change','forceValue','markBlockFormat','getColumnIndexes','options','commandName','removeClass','FORMAT_HEADER_COLUMN','index','setAttribute','parent','registerDescriptionCallback','unbindElementFromMarkerName','plugins','findAncestor','markerRange','commandParams','enableCommand','FORMAT_REGULAR_ROW','setTableRowHeader','createRange','consume','writer','setTableColumnHeader','createPositionBefore','*Format:*\x20%0'];(function(_0x433f89,_0xf2fc67){const _0x321905=function(_0x471ff7){while(--_0x471ff7){_0x433f89['push'](_0x433f89['shift']());}};_0x321905(++_0xf2fc67);}(_0xf2fc,0x17e));const _0x3219=function(_0x433f89,_0xf2fc67){_0x433f89=_0x433f89-0x0;let _0x321905=_0xf2fc[_0x433f89];return _0x321905;};import{Plugin as _0x3e8512}from'ckeditor5/src/core';import _0x478536 from'./table';import{getTranslation as _0xe28486}from'../utils/common-translations';export default class kt extends _0x3e8512{static get['requires'](){return[_0x478536];}[_0x3219('0xe')](){const _0x3487fe=this[_0x3219('0x3a')];if(!_0x3487fe[_0x3219('0x49')][_0x3219('0x2f')]('TableEditing'))return;const _0x48b9d6=_0x3487fe['locale'],_0x3c51a2=_0x3487fe[_0x3219('0x49')][_0x3219('0x33')](_0x3219('0x16')),_0x47bfb9=_0x3487fe[_0x3219('0x49')][_0x3219('0x33')](_0x3219('0x1a')),_0x404d31=_0x3487fe[_0x3219('0x49')][_0x3219('0x33')](_0x478536);function _0xb7caa6({showActiveMarker:_0x5d61db=!0x0,setDataAttribute:_0x109ab6=!0x0}={}){return(_0x38e754,_0x90aa46,_0x264512)=>{const {type:_0x4571d7,id:_0x13c758}=_0x3c51a2[_0x3219('0xb')](_0x90aa46[_0x3219('0x11')]),_0x1e8dab=_0x3c51a2[_0x3219('0x39')](_0x13c758);if(!_0x1e8dab['data']||_0x3219('0x5')!=_0x1e8dab[_0x3219('0x35')][_0x3219('0x41')])return;if(_0x90aa46[_0x3219('0x17')])return void _0x38e754[_0x3219('0x1e')]();if(!_0x264512['consumable'][_0x3219('0x3')](_0x90aa46[_0x3219('0x4b')],_0x38e754[_0x3219('0x1d')]))return;const _0x594905=_0x90aa46[_0x3219('0x4b')]['start'][_0x3219('0xa')],_0x53b852=_0x90aa46[_0x3219('0x4b')]['end'][_0x3219('0x2b')],_0x1b05a4=_0x594905[_0x3219('0x46')][_0x3219('0x46')],{column:_0x3530e6}=_0x47bfb9[_0x3219('0x1c')](_0x594905),{column:_0x31f1e2}=_0x47bfb9[_0x3219('0x1c')](_0x53b852);for(let _0x440c15=_0x3530e6;_0x440c15<=_0x31f1e2;_0x440c15++){const _0x4a3b5e=_0x47bfb9[_0x3219('0xf')](_0x1b05a4,{'column':_0x440c15,'includeAllSlots':!0x1});for(const _0x3360a6 of _0x4a3b5e){const _0x5404ea=_0x3360a6[_0x3219('0x21')],_0x5d1dd8=_0x264512[_0x3219('0x29')][_0x3219('0x28')](_0x5404ea);_0x264512['writer'][_0x3219('0x20')](_0x3219('0x23')+_0x4571d7,_0x5d1dd8),_0x109ab6&&_0x264512[_0x3219('0x4')][_0x3219('0x45')]('data-suggestion',_0x13c758,_0x5d1dd8),_0x264512[_0x3219('0x29')][_0x3219('0x2d')](_0x5d1dd8,_0x90aa46[_0x3219('0x11')]),_0x5d61db&&(_0x3c51a2[_0x3219('0x1f')]['includes'](_0x90aa46[_0x3219('0x11')])?_0x264512[_0x3219('0x4')][_0x3219('0x20')](_0x3219('0x26'),_0x5d1dd8):_0x264512['writer']['removeClass']('ck-suggestion-marker--active',_0x5d1dd8));}}};}_0x3c51a2['enableCommand'](_0x3219('0x1'),(_0x4fb3a0,_0x4aed1a)=>{const _0x1d24de=_0x47bfb9['getSelectionAffectedTableCells'](_0x3487fe[_0x3219('0x14')][_0x3219('0x19')][_0x3219('0x25')]),_0x1bebfa=_0x47bfb9[_0x3219('0x34')](_0x1d24de),_0x2846c5=_0x1d24de[0x0][_0x3219('0x4a')]('table'),_0x52031e=_0x2846c5[_0x3219('0x8')](_0x3219('0x3b'))||0x0,_0x1dd272=_0x4aed1a&&null!==_0x4aed1a[_0x3219('0x3d')]?_0x4aed1a['forceValue']:!_0x3487fe['commands'][_0x3219('0x33')]('setTableRowHeader')[_0x3219('0x32')],_0x4e24ee=_0x1dd272?_0x1bebfa['last']:_0x1bebfa['first'],_0x56f85a=_0x2846c5[_0x3219('0x27')](_0x4e24ee);let _0x483a8a;if(_0x1dd272){const _0x473e35=_0x2846c5['getChild'](_0x52031e);if(_0x56f85a[_0x3219('0x44')]<_0x473e35['index'])return;_0x483a8a=_0x3487fe[_0x3219('0x14')][_0x3219('0x2')](_0x3487fe['model'][_0x3219('0x6')](_0x473e35[_0x3219('0x27')](0x0)),_0x3487fe[_0x3219('0x14')][_0x3219('0x31')](_0x56f85a[_0x3219('0x27')](_0x56f85a[_0x3219('0x1b')]-0x1)));}else{const _0x3ce963=_0x2846c5[_0x3219('0x27')](_0x52031e-0x1);if(!_0x3ce963)return;_0x483a8a=_0x3487fe[_0x3219('0x14')][_0x3219('0x2')](_0x3487fe[_0x3219('0x14')][_0x3219('0x6')](_0x56f85a[_0x3219('0x27')](0x0)),_0x3487fe[_0x3219('0x14')][_0x3219('0x31')](_0x3ce963[_0x3219('0x27')](_0x3ce963[_0x3219('0x1b')]-0x1)));}_0x3487fe[_0x3219('0x14')][_0x3219('0x3c')](()=>{_0x3c51a2[_0x3219('0x3e')](_0x483a8a,{'commandName':_0x3219('0x1'),'commandParams':[{'forceValue':_0x1dd272}]},[],_0x3219('0x1'));});}),_0x3c51a2[_0x3219('0x4d')](_0x3219('0x5'),(_0x4feb48,_0x435104)=>{const _0x24f0f2=_0x3487fe[_0x3219('0x49')][_0x3219('0x33')](_0x3219('0x1a')),_0x3bf102=_0x24f0f2[_0x3219('0x18')](_0x3487fe[_0x3219('0x14')][_0x3219('0x19')][_0x3219('0x25')]),_0x2ac1a0=_0x24f0f2[_0x3219('0x3f')](_0x3bf102),_0x1fd171=_0x3bf102[0x0][_0x3219('0x4a')](_0x3219('0x24')),_0x4fa056=_0x1fd171[_0x3219('0x8')](_0x3219('0xc'))||0x0,_0x4758a3=_0x435104&&null!==_0x435104['forceValue']?_0x435104['forceValue']:!_0x3487fe[_0x3219('0x38')][_0x3219('0x33')]('setTableColumnHeader')[_0x3219('0x32')];let _0x256eba;const _0x17f3d9=_0x1fd171['getChild'](0x0),_0x57b7b6=_0x4758a3?_0x2ac1a0['last']:_0x2ac1a0['first'],_0x3c1506=_0x24f0f2[_0x3219('0xf')](_0x1fd171,{'startRow':0x0,'column':_0x57b7b6,'includeAllSlots':!0x1}),_0x2450ca=Array['from'](_0x3c1506)[0x0][_0x3219('0x21')];if(_0x4758a3){const _0xed25c7=_0x17f3d9[_0x3219('0x27')](_0x4fa056);if(_0x2450ca['isBefore'](_0xed25c7))return;_0x256eba=_0x3487fe[_0x3219('0x14')][_0x3219('0x2')](_0x3487fe['model'][_0x3219('0x6')](_0xed25c7),_0x3487fe[_0x3219('0x14')][_0x3219('0x31')](_0x2450ca));}else{const _0x47eb02=_0x17f3d9[_0x3219('0x27')](_0x4fa056-0x1);if(!_0x47eb02)return;_0x256eba=_0x3487fe[_0x3219('0x14')][_0x3219('0x2')](_0x3487fe['model'][_0x3219('0x6')](_0x2450ca),_0x3487fe[_0x3219('0x14')][_0x3219('0x31')](_0x47eb02));}_0x3487fe[_0x3219('0x14')]['change'](()=>{_0x3c51a2[_0x3219('0x3e')](_0x256eba,{'commandName':_0x3219('0x5'),'commandParams':[{'forceValue':_0x4758a3}]},[],'setTableColumnHeader');});}),_0x3487fe['editing'][_0x3219('0x13')]['on'](_0x3219('0x9'),_0xb7caa6(),{'priority':_0x3219('0x15')}),_0x3487fe[_0x3219('0x35')]['downcastDispatcher']['on'](_0x3219('0x9'),(_0x37a2d2,_0xe1c05a,_0x4bb106)=>{_0x4bb106[_0x3219('0x40')]['showSuggestionHighlights']&&_0xb7caa6({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x37a2d2,_0xe1c05a,_0x4bb106);},{'priority':'highest'}),_0x3487fe['editing']['downcastDispatcher']['on'](_0x3219('0x22'),(_0xc0cfb1,_0x54d0e7,_0x566026)=>{const {type:_0x2ebc81,id:_0x2d819a}=_0x3c51a2[_0x3219('0xb')](_0x54d0e7[_0x3219('0x11')]),_0x2671f8=_0x3c51a2[_0x3219('0x39')](_0x2d819a);if(!_0x2671f8['data']||_0x3219('0x5')!=_0x2671f8[_0x3219('0x35')][_0x3219('0x41')])return;const _0x4b34f1=_0x566026[_0x3219('0x29')]['markerNameToElements'](_0x54d0e7[_0x3219('0x11')]);if(_0x4b34f1)for(const _0x37cef9 of _0x4b34f1)_0x566026['writer'][_0x3219('0x42')](_0x3219('0x23')+_0x2ebc81,_0x37cef9),_0x566026[_0x3219('0x4')][_0x3219('0x42')](_0x3219('0x26'),_0x37cef9),_0x566026['writer'][_0x3219('0x12')]('data-suggestion',_0x37cef9),_0x566026[_0x3219('0x29')][_0x3219('0x48')](_0x37cef9,_0x54d0e7[_0x3219('0x11')]);},{'priority':_0x3219('0x15')}),_0x3c51a2[_0x3219('0x2e')][_0x3219('0x47')](_0x75f0d8=>{const {data:_0x3fae0f}=_0x75f0d8;if(_0x3fae0f){if(_0x3219('0x1')==_0x3fae0f[_0x3219('0x41')]){const _0x1341d6=_0x3fae0f[_0x3219('0x4c')][0x0][_0x3219('0x3d')];return _0x1e815c(_0xe28486(_0x48b9d6,_0x1341d6?_0x3219('0x10'):_0x3219('0x0')));}if(_0x3219('0x5')==_0x3fae0f[_0x3219('0x41')]){const _0x1b88fc=_0x3fae0f[_0x3219('0x4c')][0x0]['forceValue'];return _0x1e815c(_0xe28486(_0x48b9d6,_0x1b88fc?_0x3219('0x43'):_0x3219('0x36')));}}function _0x1e815c(_0x278821){return{'type':'format','content':_0xe28486(_0x48b9d6,_0x3219('0x7'),_0x278821)};}});const _0x4b16c0=_0x404d31[_0x3219('0x30')]();_0x3c51a2[_0x3219('0xd')][_0x3219('0x37')](_0x3219('0x2c'),_0x3219('0x1'),_0x3219('0x2a'),_0x4b16c0),_0x3c51a2['_suggestionFactory'][_0x3219('0x37')]('formatBlock','setTableColumnHeader',_0x3219('0x2a'),_0x4b16c0);}}
23
+ const _0x1d2d=['cell','parent','removeClass','getSuggestion','addClass','commandName','getCellLocation','unbindElementFromMarkerName','_descriptionFactory','getAttribute','locale','data','first','createPositionAfter','removeMarker:suggestion','createPositionBefore','_splitMarkerName','addMarker:suggestion','removeAttribute','selection','highest','registerDescriptionCallback','markerRange','downcastDispatcher','bindElementToMarker','accept','plugins','headingColumns','editing','formatBlock','createRange','nodeBefore','format','forceValue','ck-suggestion-marker-','FORMAT_HEADER_COLUMN','registerCustomCallback','TrackChangesEditing','includes','getRowIndexes','FORMAT_HEADER_ROW','from','index','isBefore','*Format:*\x20%0','mapper','findAncestor','end','getChild','getSelectionAffectedTableCells','item','writer','afterInit','enableCommand','setTableRowHeader','setAttribute','_suggestionFactory','headingRows','model','_acceptFormatSuggestionCallbackFactory','last','toViewElement','has','nodeAfter','TableUtils','setTableColumnHeader','TableEditing','document','get','markerName','ck-suggestion-marker--active','consumable','markerNameToElements','requires','commands','commandParams','value','start','FORMAT_REGULAR_COLUMN','markBlockFormat','createTableWalker','activeMarkers','editor','childCount','FORMAT_REGULAR_ROW','name','table'];(function(_0x341975,_0x1d2d68){const _0x414572=function(_0x7e5f62){while(--_0x7e5f62){_0x341975['push'](_0x341975['shift']());}};_0x414572(++_0x1d2d68);}(_0x1d2d,0x13f));const _0x4145=function(_0x341975,_0x1d2d68){_0x341975=_0x341975-0x0;let _0x414572=_0x1d2d[_0x341975];return _0x414572;};import{Plugin as _0x43233d}from'ckeditor5/src/core';import _0x4d8c05 from'./table';import{getTranslation as _0x5ca3c7}from'../utils/common-translations';export default class kt extends _0x43233d{static get[_0x4145('0xf')](){return[_0x4d8c05];}[_0x4145('0x51')](){const _0x55d253=this[_0x4145('0x18')];if(!_0x55d253['plugins'][_0x4145('0x4')](_0x4145('0x8')))return;const _0x1d3bdc=_0x55d253[_0x4145('0x27')],_0x3378a7=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4145('0x42')),_0x360212=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4145('0x6')),_0x2dcad0=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4d8c05);function _0x1a8897({showActiveMarker:_0x4ed035=!0x0,setDataAttribute:_0x1bc314=!0x0}={}){return(_0x2c893b,_0x3503c7,_0x59993d)=>{const {type:_0x2fda41,id:_0x7d2a0b}=_0x3378a7[_0x4145('0x2d')](_0x3503c7[_0x4145('0xb')]),_0x27fe9a=_0x3378a7[_0x4145('0x20')](_0x7d2a0b);if(!_0x27fe9a[_0x4145('0x28')]||_0x4145('0x7')!=_0x27fe9a['data'][_0x4145('0x22')])return;if(_0x3503c7[_0x4145('0x4f')])return void _0x2c893b['stop']();if(!_0x59993d[_0x4145('0xd')]['consume'](_0x3503c7['markerRange'],_0x2c893b[_0x4145('0x1b')]))return;const _0x15231b=_0x3503c7[_0x4145('0x33')][_0x4145('0x13')][_0x4145('0x5')],_0x31e95c=_0x3503c7[_0x4145('0x33')][_0x4145('0x4c')][_0x4145('0x3c')],_0x5883b0=_0x15231b['parent'][_0x4145('0x1e')],{column:_0x5d5daa}=_0x360212['getCellLocation'](_0x15231b),{column:_0xb4a707}=_0x360212[_0x4145('0x23')](_0x31e95c);for(let _0x9ca9f=_0x5d5daa;_0x9ca9f<=_0xb4a707;_0x9ca9f++){const _0x5a1857=_0x360212[_0x4145('0x16')](_0x5883b0,{'column':_0x9ca9f,'includeAllSlots':!0x1});for(const _0x53bf73 of _0x5a1857){const _0x264958=_0x53bf73[_0x4145('0x1d')],_0xd76efe=_0x59993d[_0x4145('0x4a')][_0x4145('0x3')](_0x264958);_0x59993d[_0x4145('0x50')][_0x4145('0x21')](_0x4145('0x3f')+_0x2fda41,_0xd76efe),_0x1bc314&&_0x59993d[_0x4145('0x50')][_0x4145('0x54')]('data-suggestion',_0x7d2a0b,_0xd76efe),_0x59993d['mapper'][_0x4145('0x35')](_0xd76efe,_0x3503c7['markerName']),_0x4ed035&&(_0x3378a7[_0x4145('0x17')][_0x4145('0x43')](_0x3503c7[_0x4145('0xb')])?_0x59993d[_0x4145('0x50')][_0x4145('0x21')]('ck-suggestion-marker--active',_0xd76efe):_0x59993d[_0x4145('0x50')][_0x4145('0x1f')]('ck-suggestion-marker--active',_0xd76efe));}}};}_0x3378a7[_0x4145('0x52')](_0x4145('0x53'),(_0x53e0f6,_0x3fc0a9)=>{const _0xa56b3d=_0x360212[_0x4145('0x4e')](_0x55d253[_0x4145('0x0')][_0x4145('0x9')][_0x4145('0x30')]),_0x2907a3=_0x360212[_0x4145('0x44')](_0xa56b3d),_0x1fe4e7=_0xa56b3d[0x0][_0x4145('0x4b')]('table'),_0x70e7b3=_0x1fe4e7[_0x4145('0x26')](_0x4145('0x56'))||0x0,_0x5582c5=_0x3fc0a9&&null!==_0x3fc0a9[_0x4145('0x3e')]?_0x3fc0a9[_0x4145('0x3e')]:!_0x55d253['commands']['get'](_0x4145('0x53'))[_0x4145('0x12')],_0x4b1180=_0x5582c5?_0x2907a3[_0x4145('0x2')]:_0x2907a3[_0x4145('0x29')],_0xe6d67=_0x1fe4e7[_0x4145('0x4d')](_0x4b1180);let _0x3b4999;if(_0x5582c5){const _0xb984d7=_0x1fe4e7[_0x4145('0x4d')](_0x70e7b3);if(_0xe6d67['index']<_0xb984d7[_0x4145('0x47')])return;_0x3b4999=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')]['createPositionBefore'](_0xb984d7[_0x4145('0x4d')](0x0)),_0x55d253[_0x4145('0x0')][_0x4145('0x2a')](_0xe6d67[_0x4145('0x4d')](_0xe6d67[_0x4145('0x19')]-0x1)));}else{const _0x3392bf=_0x1fe4e7[_0x4145('0x4d')](_0x70e7b3-0x1);if(!_0x3392bf)return;_0x3b4999=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')][_0x4145('0x2c')](_0xe6d67['getChild'](0x0)),_0x55d253[_0x4145('0x0')][_0x4145('0x2a')](_0x3392bf[_0x4145('0x4d')](_0x3392bf[_0x4145('0x19')]-0x1)));}_0x55d253['model']['change'](()=>{_0x3378a7[_0x4145('0x15')](_0x3b4999,{'commandName':_0x4145('0x53'),'commandParams':[{'forceValue':_0x5582c5}]},[],'setTableRowHeader');});}),_0x3378a7['enableCommand']('setTableColumnHeader',(_0x3e268c,_0x37d72d)=>{const _0x58c24e=_0x55d253[_0x4145('0x37')][_0x4145('0xa')]('TableUtils'),_0x121554=_0x58c24e[_0x4145('0x4e')](_0x55d253['model'][_0x4145('0x9')][_0x4145('0x30')]),_0x47fcbd=_0x58c24e['getColumnIndexes'](_0x121554),_0x2f658e=_0x121554[0x0][_0x4145('0x4b')](_0x4145('0x1c')),_0x15e76d=_0x2f658e['getAttribute'](_0x4145('0x38'))||0x0,_0x43fd47=_0x37d72d&&null!==_0x37d72d[_0x4145('0x3e')]?_0x37d72d[_0x4145('0x3e')]:!_0x55d253[_0x4145('0x10')][_0x4145('0xa')](_0x4145('0x7'))[_0x4145('0x12')];let _0x4ec3b5;const _0x259f49=_0x2f658e[_0x4145('0x4d')](0x0),_0x5afdce=_0x43fd47?_0x47fcbd[_0x4145('0x2')]:_0x47fcbd[_0x4145('0x29')],_0x248b9a=_0x58c24e[_0x4145('0x16')](_0x2f658e,{'startRow':0x0,'column':_0x5afdce,'includeAllSlots':!0x1}),_0x264ba6=Array[_0x4145('0x46')](_0x248b9a)[0x0][_0x4145('0x1d')];if(_0x43fd47){const _0x9ae8b8=_0x259f49[_0x4145('0x4d')](_0x15e76d);if(_0x264ba6[_0x4145('0x48')](_0x9ae8b8))return;_0x4ec3b5=_0x55d253['model']['createRange'](_0x55d253['model'][_0x4145('0x2c')](_0x9ae8b8),_0x55d253[_0x4145('0x0')]['createPositionAfter'](_0x264ba6));}else{const _0x490229=_0x259f49[_0x4145('0x4d')](_0x15e76d-0x1);if(!_0x490229)return;_0x4ec3b5=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')][_0x4145('0x2c')](_0x264ba6),_0x55d253[_0x4145('0x0')]['createPositionAfter'](_0x490229));}_0x55d253[_0x4145('0x0')]['change'](()=>{_0x3378a7[_0x4145('0x15')](_0x4ec3b5,{'commandName':_0x4145('0x7'),'commandParams':[{'forceValue':_0x43fd47}]},[],'setTableColumnHeader');});}),_0x55d253[_0x4145('0x39')][_0x4145('0x34')]['on'](_0x4145('0x2e'),_0x1a8897(),{'priority':_0x4145('0x31')}),_0x55d253[_0x4145('0x28')][_0x4145('0x34')]['on'](_0x4145('0x2e'),(_0x18de49,_0x37ff4b,_0x436580)=>{_0x436580['options']['showSuggestionHighlights']&&_0x1a8897({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x18de49,_0x37ff4b,_0x436580);},{'priority':_0x4145('0x31')}),_0x55d253[_0x4145('0x39')][_0x4145('0x34')]['on'](_0x4145('0x2b'),(_0x36a9c8,_0x5e7759,_0x236496)=>{const {type:_0x2661e3,id:_0x1ec978}=_0x3378a7[_0x4145('0x2d')](_0x5e7759[_0x4145('0xb')]),_0x45454b=_0x3378a7[_0x4145('0x20')](_0x1ec978);if(!_0x45454b['data']||_0x4145('0x7')!=_0x45454b[_0x4145('0x28')][_0x4145('0x22')])return;const _0x565d50=_0x236496['mapper'][_0x4145('0xe')](_0x5e7759[_0x4145('0xb')]);if(_0x565d50)for(const _0x2a4e4d of _0x565d50)_0x236496[_0x4145('0x50')]['removeClass'](_0x4145('0x3f')+_0x2661e3,_0x2a4e4d),_0x236496[_0x4145('0x50')][_0x4145('0x1f')](_0x4145('0xc'),_0x2a4e4d),_0x236496['writer'][_0x4145('0x2f')]('data-suggestion',_0x2a4e4d),_0x236496['mapper'][_0x4145('0x24')](_0x2a4e4d,_0x5e7759[_0x4145('0xb')]);},{'priority':_0x4145('0x31')}),_0x3378a7[_0x4145('0x25')][_0x4145('0x32')](_0x252278=>{const {data:_0x12401a}=_0x252278;if(_0x12401a){if(_0x4145('0x53')==_0x12401a['commandName']){const _0x43b618=_0x12401a[_0x4145('0x11')][0x0][_0x4145('0x3e')];return _0x43d02a(_0x5ca3c7(_0x1d3bdc,_0x43b618?_0x4145('0x45'):_0x4145('0x1a')));}if(_0x4145('0x7')==_0x12401a['commandName']){const _0x279a64=_0x12401a['commandParams'][0x0][_0x4145('0x3e')];return _0x43d02a(_0x5ca3c7(_0x1d3bdc,_0x279a64?_0x4145('0x40'):_0x4145('0x14')));}}function _0x43d02a(_0x12a591){return{'type':_0x4145('0x3d'),'content':_0x5ca3c7(_0x1d3bdc,_0x4145('0x49'),_0x12a591)};}});const _0x5da98f=_0x2dcad0[_0x4145('0x1')]();_0x3378a7['_suggestionFactory'][_0x4145('0x41')](_0x4145('0x3a'),'setTableRowHeader','accept',_0x5da98f),_0x3378a7[_0x4145('0x55')]['registerCustomCallback'](_0x4145('0x3a'),_0x4145('0x7'),_0x4145('0x36'),_0x5da98f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcd5e=['map','low','_tablePostFixingSubtypes','direction','subType','_areSelectedCellsMergable','TableEditing','author','formatBlock','_descriptionFactory','mergeTableCellUp','mergeTableCellRight','_areMergableCells','getSuggestions','registerCustomCallback','$graveyard','containsRange','commandName','type','editor','mergeTableCellLeft','return','getSelectionAffectedTableCells','filter','enableCommand','from','selection','plugins','detach','markBlockFormat','stop','root','_acceptFormatSuggestionCallbackFactory','element','locale','mergeTableCellDown','setSelection','tableCell','refresh','value','deletion','*Split\x20cell:*\x20horizontally','getCellLocation','get','has','insertion','getRanges','table','size','createRangeOn','getAncestors','createTableWalker','length','add','TrackChangesEditing','format','rootName','fromRange','findAncestor','commands','mergeTableCells','execute','TableUtils','markMultiRangeBlockFormat','splitTableCellHorizontally','getFirstPosition','model','_suggestionFactory','push','_isForcedDefaultExecutionBlock','accept','registerDescriptionCallback','cell','set:isEnabled','trackChanges','isInContent','splitTableCellVertically','requires','change','document','highest','isEnabled','*Merge\x20cells*'];(function(_0x4f7147,_0xcd5eec){const _0x9a3c8f=function(_0x33fe7c){while(--_0x33fe7c){_0x4f7147['push'](_0x4f7147['shift']());}};_0x9a3c8f(++_0xcd5eec);}(_0xcd5e,0x1b2));const _0x9a3c=function(_0x4f7147,_0xcd5eec){_0x4f7147=_0x4f7147-0x0;let _0x9a3c8f=_0xcd5e[_0x4f7147];return _0x9a3c8f;};import{Plugin as _0x3c7328}from'ckeditor5/src/core';import _0x2033a9 from'./table';import{LiveRange as _0x53ee66}from'ckeditor5/src/engine';import{getTranslation as _0x16f459}from'../utils/common-translations';export default class pt extends _0x3c7328{static get[_0x9a3c('0x3a')](){return[_0x2033a9];}['afterInit'](){const _0x44789d=this[_0x9a3c('0x0')],_0xb35277=_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')],_0x4776ee=_0x44789d[_0x9a3c('0xf')];if(!_0x44789d[_0x9a3c('0x8')][_0x9a3c('0x19')](_0x9a3c('0x46')))return;const _0x19c74e=_0x44789d['plugins'][_0x9a3c('0x18')](_0x9a3c('0x23')),_0xebde4=_0x44789d[_0x9a3c('0x8')][_0x9a3c('0x18')](_0x9a3c('0x2b')),_0x53d4d2=_0x44789d[_0x9a3c('0x8')]['get'](_0x2033a9);_0x53d4d2[_0x9a3c('0x42')][_0x9a3c('0x31')]('mergeTableCells'),_0x19c74e[_0x9a3c('0x5')](_0x9a3c('0x29'),()=>{const _0x5c59a0=_0xebde4[_0x9a3c('0x3')](_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')]);_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3b')](()=>{_0x19c74e[_0x9a3c('0x2c')](_0x5c59a0,{'commandName':'mergeTableCells','commandParams':[]},[],_0x9a3c('0x29'));});}),_0x44789d[_0x9a3c('0x28')][_0x9a3c('0x18')](_0x9a3c('0x29'))['on'](_0x9a3c('0x2a'),(_0x1a6ebc,_0x18da9b)=>{_0x44789d[_0x9a3c('0x28')]['get'](_0x9a3c('0x37'))[_0x9a3c('0x14')]&&(_0x18da9b[_0x9a3c('0x21')]>0x0&&_0x18da9b[_0x18da9b[_0x9a3c('0x21')]-0x1]&&_0x18da9b[_0x18da9b[_0x9a3c('0x21')]-0x1]['forceDefaultExecution']||_0x19c74e[_0x9a3c('0x32')]||this[_0x9a3c('0x45')]()||_0x1a6ebc[_0x9a3c('0xb')]());},{'priority':_0x9a3c('0x3d')});for(const _0x298cb9 of['mergeTableCellUp',_0x9a3c('0x4b'),_0x9a3c('0x10'),_0x9a3c('0x1')]){const _0x427901=_0x44789d[_0x9a3c('0x28')][_0x9a3c('0x18')](_0x298cb9);_0x19c74e[_0x9a3c('0x5')](_0x298cb9,()=>{const _0x4d6eea=_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')]['getFirstPosition']()[_0x9a3c('0x1f')]()['find'](_0xcb83ee=>_0xcb83ee['is'](_0x9a3c('0xe'),_0x9a3c('0x12'))),_0x2e7658=_0x427901[_0x9a3c('0x14')];_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3b')](()=>{_0x19c74e['markMultiRangeBlockFormat']([_0x4d6eea,_0x2e7658],{'commandName':_0x9a3c('0x29'),'commandParams':[]},[],_0x9a3c('0x29'));});});}for(const _0x3c28c4 of['splitTableCellVertically',_0x9a3c('0x2d')]){const _0x4a2f37=_0x44789d['commands']['get'](_0x3c28c4);_0x19c74e[_0x9a3c('0x5')](_0x3c28c4,()=>{const _0x33db87=_0xebde4[_0x9a3c('0x3')](_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')])[0x0],_0x50c124=_0x33db87[_0x9a3c('0x27')](_0x9a3c('0x1c')),{column:_0x914710,row:_0x3d3453}=_0xebde4[_0x9a3c('0x17')](_0x33db87);let _0x15550c=[];if('horizontally'==_0x4a2f37[_0x9a3c('0x43')]){const _0x4731ff=_0xebde4[_0x9a3c('0x20')](_0x50c124,{'startRow':_0x3d3453,'endRow':_0x3d3453,'includeAllSlots':!0x0});_0x15550c=Array[_0x9a3c('0x6')](_0x4731ff)[_0x9a3c('0x40')](_0x5894f6=>_0x5894f6[_0x9a3c('0x35')]);}else{const _0x347c58=_0xebde4['createTableWalker'](_0x50c124,{'column':_0x914710,'includeAllSlots':!0x0});_0x15550c=Array[_0x9a3c('0x6')](_0x347c58)['map'](_0xe56327=>_0xe56327['cell']);}_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3b')](_0x3b354e=>{_0x19c74e[_0x9a3c('0xa')](_0x3b354e['createRangeOn'](_0x33db87),{'commandName':_0x3c28c4,'commandParams':[]},_0x15550c,_0x3c28c4);});});}_0x19c74e[_0x9a3c('0x49')][_0x9a3c('0x34')](_0x15e471=>{const {data:_0x384d02}=_0x15e471;if(_0x384d02)return _0x9a3c('0x29')==_0x384d02[_0x9a3c('0x51')]?{'type':_0x9a3c('0x24'),'content':_0x16f459(_0x4776ee,_0x9a3c('0x3f'))}:void 0x0;}),_0x19c74e[_0x9a3c('0x49')][_0x9a3c('0x34')](_0x39dd91=>{const {data:_0x2fcdf7}=_0x39dd91;if(_0x2fcdf7)return _0x9a3c('0x39')==_0x2fcdf7[_0x9a3c('0x51')]?{'type':_0x9a3c('0x24'),'content':_0x16f459(_0x4776ee,'*Split\x20cell:*\x20vertically')}:_0x9a3c('0x2d')==_0x2fcdf7[_0x9a3c('0x51')]?{'type':_0x9a3c('0x24'),'content':_0x16f459(_0x4776ee,_0x9a3c('0x16'))}:void 0x0;});const _0x1efccc=_0x53d4d2[_0x9a3c('0xd')]();for(const _0x184076 of[_0x9a3c('0x4a'),_0x9a3c('0x4b'),_0x9a3c('0x10'),'mergeTableCellLeft'])_0x19c74e[_0x9a3c('0x30')][_0x9a3c('0x4e')](_0x9a3c('0x48'),_0x184076,'accept',_0x1efccc);for(const _0x2b44e8 of[_0x9a3c('0x39'),_0x9a3c('0x2d')])_0x19c74e[_0x9a3c('0x30')]['registerCustomCallback']('formatBlock',_0x2b44e8,_0x9a3c('0x33'),_0x1efccc);_0x19c74e['_suggestionFactory'][_0x9a3c('0x4e')](_0x9a3c('0x48'),_0x9a3c('0x29'),_0x9a3c('0x33'),_0x35e070=>{_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3b')](_0x1beb1f=>{const _0x8dc34c=Array[_0x9a3c('0x6')](_0xb35277[_0x9a3c('0x1b')]())['map'](_0x429b08=>_0x53ee66[_0x9a3c('0x26')](_0x429b08));_0x1beb1f[_0x9a3c('0x11')](_0x35e070),_0x44789d[_0x9a3c('0x28')][_0x9a3c('0x18')](_0x9a3c('0x29'))[_0x9a3c('0x13')](),_0x44789d[_0x9a3c('0x2a')](_0x9a3c('0x29'),{'forceDefaultExecution':!0x0});const _0x29d58d=_0x8dc34c[_0x9a3c('0x4')](_0x49b4a9=>_0x9a3c('0x4f')!=_0x49b4a9[_0x9a3c('0xc')][_0x9a3c('0x25')]);_0x29d58d['length']>0x0&&_0x1beb1f[_0x9a3c('0x11')](_0x29d58d);for(const _0x148a39 of _0x8dc34c)_0x148a39[_0x9a3c('0x9')]();});});for(const _0x45246b of['mergeTableCellUp',_0x9a3c('0x10'),_0x9a3c('0x1'),_0x9a3c('0x4b')]){const _0x34f36f=_0x44789d[_0x9a3c('0x28')][_0x9a3c('0x18')](_0x45246b);_0x34f36f['on'](_0x9a3c('0x36'),(_0x5794c0,_0x3980cd,_0x2c0c42)=>{if(_0x2c0c42){const _0x14fc45=_0x44789d[_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')][_0x9a3c('0x2e')]()[_0x9a3c('0x1f')]()['find'](_0x5d3b1f=>_0x5d3b1f['is'](_0x9a3c('0xe'),'tableCell'));this['_areMergableCells'](_0x34f36f['value'],_0x14fc45)||(_0x5794c0[_0x9a3c('0x2')]=!0x1,_0x5794c0[_0x9a3c('0xb')]());}},{'priority':_0x9a3c('0x41')});}}[_0x9a3c('0x45')](){const _0x1f7b79=this[_0x9a3c('0x0')][_0x9a3c('0x28')][_0x9a3c('0x18')](_0x9a3c('0x29')),_0x3420f3=this[_0x9a3c('0x0')][_0x9a3c('0x8')]['get'](_0x9a3c('0x2b'));if(!_0x1f7b79[_0x9a3c('0x3e')])return!0x1;const _0x5b8aaf=_0x3420f3[_0x9a3c('0x3')](this['editor'][_0x9a3c('0x2f')][_0x9a3c('0x3c')][_0x9a3c('0x7')]);for(const _0x2d6ffa of _0x5b8aaf)for(const _0x46c126 of _0x5b8aaf)if(_0x2d6ffa!=_0x46c126&&!this[_0x9a3c('0x4c')](_0x2d6ffa,_0x46c126))return!0x1;return!0x0;}[_0x9a3c('0x4c')](_0x52d272,_0x48dff0){const _0x44ef5e=this[_0x9a3c('0x0')][_0x9a3c('0x8')][_0x9a3c('0x18')]('TrackChangesEditing'),_0x2f8e3e=this[_0x9a3c('0x0')][_0x9a3c('0x2f')]['createRangeOn'](_0x52d272),_0x4ef0f8=this['editor'][_0x9a3c('0x2f')][_0x9a3c('0x1e')](_0x48dff0),_0x469491=new Set(),_0x42aaf2=new Set();for(const _0x243308 of _0x44ef5e[_0x9a3c('0x4d')]())if((_0x9a3c('0x1a')==_0x243308[_0x9a3c('0x52')]||_0x9a3c('0x15')==_0x243308['type']||_0x9a3c('0x29')==_0x243308[_0x9a3c('0x44')])&&_0x243308[_0x9a3c('0x38')])for(const _0xfcb99d of _0x243308[_0x9a3c('0x1b')]())_0xfcb99d[_0x9a3c('0x50')](_0x2f8e3e,!0x0)&&_0x469491[_0x9a3c('0x22')](_0x243308[_0x9a3c('0x52')]+':'+_0x243308[_0x9a3c('0x47')]['id']),_0xfcb99d[_0x9a3c('0x50')](_0x4ef0f8,!0x0)&&_0x42aaf2[_0x9a3c('0x22')](_0x243308['type']+':'+_0x243308['author']['id']);if(_0x469491['size']!=_0x42aaf2[_0x9a3c('0x1d')])return!0x1;for(const _0x125421 of _0x469491)if(!_0x42aaf2[_0x9a3c('0x19')](_0x125421))return!0x1;return!0x0;}}
23
+ const _0x4bef=['*Merge\x20cells*','type','commandName','createRangeOn','mergeTableCellRight','stop','commands','markMultiRangeBlockFormat','map','TrackChangesEditing','table','TableUtils','_suggestionFactory','plugins','mergeTableCellDown','formatBlock','createTableWalker','deletion','has','findAncestor','splitTableCellHorizontally','add','filter','document','cell','isInContent','rootName','accept','fromRange','$graveyard','highest','mergeTableCells','_areMergableCells','mergeTableCellUp','horizontally','TableEditing','format','element','getRanges','execute','value','author','root','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','forceDefaultExecution','get','size','getSuggestions','selection','trackChanges','markBlockFormat','find','*Split\x20cell:*\x20vertically','enableCommand','subType','registerDescriptionCallback','from','setSelection','push','refresh','_tablePostFixingSubtypes','length','set:isEnabled','model','change','_acceptFormatSuggestionCallbackFactory','insertion','getSelectionAffectedTableCells','getAncestors','isEnabled','editor','registerCustomCallback','_areSelectedCellsMergable','containsRange','getCellLocation','detach','getFirstPosition','splitTableCellVertically','tableCell','_descriptionFactory'];(function(_0x5509e1,_0x4befc0){const _0x514fd6=function(_0x4d8da5){while(--_0x4d8da5){_0x5509e1['push'](_0x5509e1['shift']());}};_0x514fd6(++_0x4befc0);}(_0x4bef,0x1c9));const _0x514f=function(_0x5509e1,_0x4befc0){_0x5509e1=_0x5509e1-0x0;let _0x514fd6=_0x4bef[_0x5509e1];return _0x514fd6;};import{Plugin as _0x55888d}from'ckeditor5/src/core';import _0x3c81e7 from'./table';import{LiveRange as _0xb4d6d8}from'ckeditor5/src/engine';import{getTranslation as _0x44cf89}from'../utils/common-translations';export default class pt extends _0x55888d{static get['requires'](){return[_0x3c81e7];}['afterInit'](){const _0x26f024=this[_0x514f('0x13')],_0x13c5b4=_0x26f024[_0x514f('0xc')][_0x514f('0x34')]['selection'],_0x9f4606=_0x26f024['locale'];if(!_0x26f024['plugins'][_0x514f('0x2f')](_0x514f('0x40')))return;const _0x5d1824=_0x26f024[_0x514f('0x2a')]['get'](_0x514f('0x26')),_0x392943=_0x26f024[_0x514f('0x2a')][_0x514f('0x4b')](_0x514f('0x28')),_0x444262=_0x26f024[_0x514f('0x2a')][_0x514f('0x4b')](_0x3c81e7);_0x444262[_0x514f('0x9')][_0x514f('0x7')](_0x514f('0x3c')),_0x5d1824['enableCommand'](_0x514f('0x3c'),()=>{const _0x57cc57=_0x392943[_0x514f('0x10')](_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')]);_0x26f024['model'][_0x514f('0xd')](()=>{_0x5d1824[_0x514f('0x24')](_0x57cc57,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x26f024['commands'][_0x514f('0x4b')]('mergeTableCells')['on'](_0x514f('0x44'),(_0x48e869,_0x164953)=>{_0x26f024['commands'][_0x514f('0x4b')](_0x514f('0x4f'))[_0x514f('0x45')]&&(_0x164953[_0x514f('0xa')]>0x0&&_0x164953[_0x164953['length']-0x1]&&_0x164953[_0x164953['length']-0x1][_0x514f('0x4a')]||_0x5d1824['_isForcedDefaultExecutionBlock']||this[_0x514f('0x15')]()||_0x48e869[_0x514f('0x22')]());},{'priority':_0x514f('0x3b')});for(const _0x30e192 of[_0x514f('0x3e'),_0x514f('0x21'),_0x514f('0x2b'),'mergeTableCellLeft']){const _0x25941a=_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x30e192);_0x5d1824[_0x514f('0x2')](_0x30e192,()=>{const _0x22e3e1=_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')][_0x514f('0x19')]()[_0x514f('0x11')]()[_0x514f('0x0')](_0x465abd=>_0x465abd['is'](_0x514f('0x42'),'tableCell')),_0x4d17e7=_0x25941a[_0x514f('0x45')];_0x26f024[_0x514f('0xc')][_0x514f('0xd')](()=>{_0x5d1824[_0x514f('0x24')]([_0x22e3e1,_0x4d17e7],{'commandName':_0x514f('0x3c'),'commandParams':[]},[],_0x514f('0x3c'));});});}for(const _0x2e54c5 of[_0x514f('0x1a'),_0x514f('0x31')]){const _0x55b482=_0x26f024['commands'][_0x514f('0x4b')](_0x2e54c5);_0x5d1824[_0x514f('0x2')](_0x2e54c5,()=>{const _0x4dbde9=_0x392943['getSelectionAffectedTableCells'](_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')])[0x0],_0x37c543=_0x4dbde9[_0x514f('0x30')](_0x514f('0x27')),{column:_0x22947b,row:_0x3f1fa3}=_0x392943[_0x514f('0x17')](_0x4dbde9);let _0x11d568=[];if(_0x514f('0x3f')==_0x55b482['direction']){const _0x9b593f=_0x392943['createTableWalker'](_0x37c543,{'startRow':_0x3f1fa3,'endRow':_0x3f1fa3,'includeAllSlots':!0x0});_0x11d568=Array[_0x514f('0x5')](_0x9b593f)[_0x514f('0x25')](_0x5324eb=>_0x5324eb[_0x514f('0x35')]);}else{const _0x246f04=_0x392943[_0x514f('0x2d')](_0x37c543,{'column':_0x22947b,'includeAllSlots':!0x0});_0x11d568=Array['from'](_0x246f04)[_0x514f('0x25')](_0x59c26d=>_0x59c26d[_0x514f('0x35')]);}_0x26f024['model']['change'](_0x35d8ad=>{_0x5d1824[_0x514f('0x50')](_0x35d8ad[_0x514f('0x20')](_0x4dbde9),{'commandName':_0x2e54c5,'commandParams':[]},_0x11d568,_0x2e54c5);});});}_0x5d1824[_0x514f('0x1c')][_0x514f('0x4')](_0x47675d=>{const {data:_0x4000db}=_0x47675d;if(_0x4000db)return _0x514f('0x3c')==_0x4000db[_0x514f('0x1f')]?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x1d'))}:void 0x0;}),_0x5d1824[_0x514f('0x1c')][_0x514f('0x4')](_0x199d4b=>{const {data:_0x303e9e}=_0x199d4b;if(_0x303e9e)return _0x514f('0x1a')==_0x303e9e[_0x514f('0x1f')]?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x1'))}:_0x514f('0x31')==_0x303e9e['commandName']?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x49'))}:void 0x0;});const _0x27e585=_0x444262[_0x514f('0xe')]();for(const _0x29d9ae of['mergeTableCellUp',_0x514f('0x21'),_0x514f('0x2b'),_0x514f('0x48')])_0x5d1824[_0x514f('0x29')][_0x514f('0x14')](_0x514f('0x2c'),_0x29d9ae,_0x514f('0x38'),_0x27e585);for(const _0x8e0610 of[_0x514f('0x1a'),_0x514f('0x31')])_0x5d1824[_0x514f('0x29')]['registerCustomCallback'](_0x514f('0x2c'),_0x8e0610,_0x514f('0x38'),_0x27e585);_0x5d1824['_suggestionFactory'][_0x514f('0x14')]('formatBlock','mergeTableCells','accept',_0x1d443c=>{_0x26f024['model'][_0x514f('0xd')](_0x23e10e=>{const _0x408ef6=Array[_0x514f('0x5')](_0x13c5b4['getRanges']())['map'](_0x479246=>_0xb4d6d8[_0x514f('0x39')](_0x479246));_0x23e10e[_0x514f('0x6')](_0x1d443c),_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x514f('0x3c'))[_0x514f('0x8')](),_0x26f024['execute'](_0x514f('0x3c'),{'forceDefaultExecution':!0x0});const _0x503202=_0x408ef6[_0x514f('0x33')](_0xeeda5a=>_0x514f('0x3a')!=_0xeeda5a[_0x514f('0x47')][_0x514f('0x37')]);_0x503202['length']>0x0&&_0x23e10e[_0x514f('0x6')](_0x503202);for(const _0x4ef74a of _0x408ef6)_0x4ef74a[_0x514f('0x18')]();});});for(const _0x2e4d37 of['mergeTableCellUp',_0x514f('0x2b'),'mergeTableCellLeft',_0x514f('0x21')]){const _0x28917d=_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x2e4d37);_0x28917d['on'](_0x514f('0xb'),(_0x65d4a3,_0xd6bacf,_0x3de880)=>{if(_0x3de880){const _0x41d305=_0x26f024[_0x514f('0xc')][_0x514f('0x34')]['selection'][_0x514f('0x19')]()[_0x514f('0x11')]()[_0x514f('0x0')](_0x2f44b1=>_0x2f44b1['is'](_0x514f('0x42'),_0x514f('0x1b')));this[_0x514f('0x3d')](_0x28917d[_0x514f('0x45')],_0x41d305)||(_0x65d4a3['return']=!0x1,_0x65d4a3[_0x514f('0x22')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x6b2ca4=this[_0x514f('0x13')]['commands'][_0x514f('0x4b')]('mergeTableCells'),_0x3d1a21=this['editor']['plugins'][_0x514f('0x4b')]('TableUtils');if(!_0x6b2ca4[_0x514f('0x12')])return!0x1;const _0x254602=_0x3d1a21['getSelectionAffectedTableCells'](this['editor'][_0x514f('0xc')][_0x514f('0x34')]['selection']);for(const _0x330acb of _0x254602)for(const _0x5141b2 of _0x254602)if(_0x330acb!=_0x5141b2&&!this['_areMergableCells'](_0x330acb,_0x5141b2))return!0x1;return!0x0;}[_0x514f('0x3d')](_0x560c73,_0x3ade7a){const _0x30ab88=this[_0x514f('0x13')][_0x514f('0x2a')][_0x514f('0x4b')](_0x514f('0x26')),_0x52e837=this[_0x514f('0x13')][_0x514f('0xc')][_0x514f('0x20')](_0x560c73),_0x21f322=this[_0x514f('0x13')][_0x514f('0xc')][_0x514f('0x20')](_0x3ade7a),_0x507e68=new Set(),_0x422c6a=new Set();for(const _0x2683fb of _0x30ab88[_0x514f('0x4d')]())if((_0x514f('0xf')==_0x2683fb[_0x514f('0x1e')]||_0x514f('0x2e')==_0x2683fb[_0x514f('0x1e')]||_0x514f('0x3c')==_0x2683fb[_0x514f('0x3')])&&_0x2683fb[_0x514f('0x36')])for(const _0x319780 of _0x2683fb[_0x514f('0x43')]())_0x319780[_0x514f('0x16')](_0x52e837,!0x0)&&_0x507e68['add'](_0x2683fb['type']+':'+_0x2683fb[_0x514f('0x46')]['id']),_0x319780['containsRange'](_0x21f322,!0x0)&&_0x422c6a[_0x514f('0x32')](_0x2683fb[_0x514f('0x1e')]+':'+_0x2683fb[_0x514f('0x46')]['id']);if(_0x507e68['size']!=_0x422c6a[_0x514f('0x4c')])return!0x1;for(const _0x7955c of _0x507e68)if(!_0x422c6a[_0x514f('0x2f')](_0x7955c))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28bc=['enableCommand','TrackChangesEditing','get','_descriptionFactory','locale','registerElementLabel','insertTableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','commands'];(function(_0x35314c,_0x28bc73){const _0x4834fd=function(_0x1472d1){while(--_0x1472d1){_0x35314c['push'](_0x35314c['shift']());}};_0x4834fd(++_0x28bc73);}(_0x28bc,0x143));const _0x4834=function(_0x35314c,_0x28bc73){_0x35314c=_0x35314c-0x0;let _0x4834fd=_0x28bc[_0x35314c];return _0x4834fd;};import{Plugin as _0x126256}from'ckeditor5/src/core';import{getTranslation as _0x59a325}from'../utils/common-translations';export default class St extends _0x126256{['afterInit'](){const _0x35760c=this['editor'];if(!_0x35760c[_0x4834('0x6')][_0x4834('0x9')](_0x4834('0x3')))return;_0x35760c[_0x4834('0x4')][_0x4834('0x9')]('TrackChangesEditing')[_0x4834('0x7')]('insertTableOfContents');const _0x29ebda=_0x35760c[_0x4834('0x4')][_0x4834('0x9')](_0x4834('0x8')),_0x23bfc3=_0x35760c[_0x4834('0x1')];_0x29ebda[_0x4834('0x0')][_0x4834('0x2')]('tableOfContents',_0x25d5c0=>_0x59a325(_0x23bfc3,_0x4834('0x5'),_0x25d5c0));}}
23
+ const _0x5cb5=['enableCommand','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','_descriptionFactory','TrackChangesEditing','plugins','afterInit','get','registerElementLabel','editor','insertTableOfContents','locale'];(function(_0x328e8c,_0x5cb5ca){const _0x292f4b=function(_0x555cb1){while(--_0x555cb1){_0x328e8c['push'](_0x328e8c['shift']());}};_0x292f4b(++_0x5cb5ca);}(_0x5cb5,0x138));const _0x292f=function(_0x328e8c,_0x5cb5ca){_0x328e8c=_0x328e8c-0x0;let _0x292f4b=_0x5cb5[_0x328e8c];return _0x292f4b;};import{Plugin as _0x49a69b}from'ckeditor5/src/core';import{getTranslation as _0x5ab900}from'../utils/common-translations';export default class St extends _0x49a69b{[_0x292f('0x6')](){const _0x33beda=this[_0x292f('0x9')];if(!_0x33beda['commands'][_0x292f('0x7')](_0x292f('0xa')))return;_0x33beda[_0x292f('0x5')][_0x292f('0x7')]('TrackChangesEditing')[_0x292f('0x0')](_0x292f('0xa'));const _0x433adc=_0x33beda[_0x292f('0x5')][_0x292f('0x7')](_0x292f('0x4')),_0x2b69ea=_0x33beda[_0x292f('0xb')];_0x433adc[_0x292f('0x3')][_0x292f('0x8')](_0x292f('0x2'),_0x33948f=>_0x5ab900(_0x2b69ea,_0x292f('0x1'),_0x33948f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c35=['registerDescriptionCallback','tableBorderWidth','batch','has','tableHeight','_handlePropertyChange','tableCellPadding','tableCellProperties','tableCellBorderColor','discard','registerCustomCallback','commandParams','model','join','start','tableBorderStyle','_getSuggestion','afterInit','document','markBlockFormat','TableCellPropertiesEditing','get','plugins','getSelectionAffectedTableCells','_descriptionFactory','accept','TableUtils','enqueueChange','_suggestionFactory','TrackChangesEditing','pluginName','data','tableAlignment','handleDiscardAction','tableCellWidth','getSuggestionCallback','nodeAfter','handleSuggestionDescription','TrackChangesTableProperties','enableCommand','tableProperties','findAncestor','subType','table','tableCellBorderStyle','removeAttribute','format','locale','tableCellBackgroundColor','getContainedElement','tableCellVerticalAlignment','selection','formatBlock','editor','getSuggestions'];(function(_0x471d33,_0x1c359c){const _0x160ca8=function(_0x105b9a){while(--_0x105b9a){_0x471d33['push'](_0x471d33['shift']());}};_0x160ca8(++_0x1c359c);}(_0x1c35,0x18f));const _0x160c=function(_0x471d33,_0x1c359c){_0x471d33=_0x471d33-0x0;let _0x160ca8=_0x1c35[_0x471d33];return _0x160ca8;};import{Plugin as _0x14590e}from'ckeditor5/src/core';import{getTranslation as _0x1bff59}from'../utils/common-translations';export default class Dt extends _0x14590e{constructor(_0x1a785c){super(_0x1a785c),this[_0x160c('0x1a')]=['tableBorderColor',_0x160c('0x1'),_0x160c('0x2a'),_0x160c('0x12'),'tableWidth',_0x160c('0x2d'),'tableBackgroundColor'],this[_0x160c('0x30')]=[_0x160c('0x31'),_0x160c('0x1e'),'tableCellBorderWidth',_0x160c('0x2f'),_0x160c('0x14'),'tableCellHeight',_0x160c('0x22'),'tableCellHorizontalAlignment',_0x160c('0x24')];}static get[_0x160c('0x10')](){return _0x160c('0x18');}[_0x160c('0x3')](){const _0x1b2d78=this[_0x160c('0x27')][_0x160c('0x8')][_0x160c('0x7')]('TrackChangesEditing');if(this[_0x160c('0x27')]['plugins'][_0x160c('0x2c')]('TablePropertiesEditing')){for(const _0x4097d9 of this[_0x160c('0x1a')])_0x1b2d78[_0x160c('0x19')](_0x4097d9,(_0x10fd39,_0x23c3dd)=>{const _0x4a4007=this[_0x160c('0x27')][_0x160c('0x35')][_0x160c('0x4')][_0x160c('0x25')]['getFirstPosition']()[_0x160c('0x1b')](_0x160c('0x1d'));this[_0x160c('0x2e')](_0x4097d9,[_0x4a4007],this[_0x160c('0x1a')],'tableProperties',_0x10fd39,_0x23c3dd);});_0x1b2d78[_0x160c('0xe')][_0x160c('0x33')](_0x160c('0x26'),'tableProperties','accept',_0x1b2d78[_0x160c('0xe')][_0x160c('0x15')](_0x160c('0x26'),null,_0x160c('0x32'))),_0x1b2d78[_0x160c('0xe')][_0x160c('0x33')](_0x160c('0x26'),_0x160c('0x1a'),_0x160c('0x32'),(_0xb8a0c3,_0x1fa9a4)=>this[_0x160c('0x13')](this[_0x160c('0x1a')],_0xb8a0c3,_0x1fa9a4)),_0x1b2d78[_0x160c('0xe')][_0x160c('0x33')]('formatBlock',_0x160c('0x1a'),'join',()=>!0x1);}if(this[_0x160c('0x27')]['plugins'][_0x160c('0x2c')](_0x160c('0x6'))){for(const _0x4af110 of this['tableCellProperties'])_0x1b2d78[_0x160c('0x19')](_0x4af110,(_0x3611da,_0x21bcbe)=>{const _0x2888df=this[_0x160c('0x27')][_0x160c('0x8')][_0x160c('0x7')](_0x160c('0xc'))[_0x160c('0x9')](this[_0x160c('0x27')]['model'][_0x160c('0x4')]['selection']);this[_0x160c('0x2e')](_0x4af110,_0x2888df,this[_0x160c('0x30')],_0x160c('0x30'),_0x3611da,_0x21bcbe);});_0x1b2d78['_suggestionFactory'][_0x160c('0x33')](_0x160c('0x26'),_0x160c('0x30'),_0x160c('0xb'),_0x1b2d78[_0x160c('0xe')][_0x160c('0x15')](_0x160c('0x26'),null,_0x160c('0x32'))),_0x1b2d78[_0x160c('0xe')][_0x160c('0x33')](_0x160c('0x26'),_0x160c('0x30'),_0x160c('0x32'),(_0x3ec836,_0x4d68da)=>this[_0x160c('0x13')](this[_0x160c('0x30')],_0x3ec836,_0x4d68da)),_0x1b2d78[_0x160c('0xe')]['registerCustomCallback'](_0x160c('0x26'),'tableCellProperties',_0x160c('0x36'),()=>!0x1);}_0x1b2d78[_0x160c('0xa')][_0x160c('0x29')](_0x41f9b1=>this[_0x160c('0x17')](_0x41f9b1));}[_0x160c('0x2e')](_0x4b5b7b,_0x2696e0,_0x2b8fba,_0x154c2c,_0x5aa4a7,_0x3c82e4){const _0x2ebc1c=this[_0x160c('0x27')][_0x160c('0x8')][_0x160c('0x7')]('TrackChangesEditing');this[_0x160c('0x27')][_0x160c('0x35')][_0x160c('0xd')](_0x3c82e4[_0x160c('0x2b')],()=>{for(const _0x29b4ad of _0x2696e0){if(this['_getSuggestion'](_0x29b4ad,_0x154c2c))_0x5aa4a7(_0x3c82e4);else{const _0x5c3c25={};for(const _0x53f07f of _0x2b8fba){const _0x203fbb=_0x29b4ad['getAttribute'](_0x53f07f);void 0x0!==_0x203fbb&&(_0x5c3c25[_0x53f07f]=_0x203fbb);}_0x5aa4a7(_0x3c82e4),_0x2ebc1c[_0x160c('0x5')](_0x29b4ad,{'commandParams':[_0x5c3c25]},[],_0x154c2c);}}});}[_0x160c('0x13')](_0xd6d10c,_0x394ae7,_0x25adfc){const _0xc8232e=_0x394ae7[0x0][_0x160c('0x0')][_0x160c('0x16')],_0x4d2381=_0x25adfc[_0x160c('0x34')][0x0];this['editor'][_0x160c('0x35')]['change'](_0x215f0e=>{for(const _0x2a1936 of _0xd6d10c)void 0x0!==_0x4d2381[_0x2a1936]?_0x215f0e['setAttribute'](_0x2a1936,_0x4d2381[_0x2a1936],_0xc8232e):_0x215f0e[_0x160c('0x1f')](_0x2a1936,_0xc8232e);});}[_0x160c('0x17')](_0x3b686c){if(_0x3b686c[_0x160c('0x11')])switch(_0x3b686c[_0x160c('0x1c')]){case _0x160c('0x1a'):return{'type':_0x160c('0x20'),'content':_0x1bff59(this[_0x160c('0x27')]['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x160c('0x30'):return{'type':'format','content':_0x1bff59(this['editor'][_0x160c('0x21')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x160c('0x2')](_0xd9dd94,_0x1a58e9){const _0x4b700f=this[_0x160c('0x27')][_0x160c('0x8')][_0x160c('0x7')](_0x160c('0xf'));for(const _0x205415 of _0x4b700f[_0x160c('0x28')]({'skipNotAttached':!0x0})){const _0xe9a53a=_0x205415[_0x160c('0x23')]();if(_0x205415[_0x160c('0x1c')]===_0x1a58e9&&_0xe9a53a===_0xd9dd94)return _0x205415;}return null;}}
23
+ const _0x47ef=['tableCellHeight','findAncestor','start','TablePropertiesEditing','subType','getAttribute','document','getSuggestionCallback','discard','nodeAfter','TrackChangesEditing','get','tableCellPadding','TableUtils','locale','_handlePropertyChange','removeAttribute','tableCellWidth','setAttribute','handleSuggestionDescription','tableCellBorderColor','TableCellPropertiesEditing','join','commandParams','accept','tableCellBorderWidth','model','tableCellHorizontalAlignment','formatBlock','table','tableBorderColor','tableAlignment','enqueueChange','pluginName','tableCellVerticalAlignment','registerCustomCallback','getContainedElement','_descriptionFactory','has','plugins','tableCellProperties','afterInit','getFirstPosition','tableHeight','TrackChangesTableProperties','tableProperties','tableCellBackgroundColor','tableWidth','_suggestionFactory','markBlockFormat','editor','getSelectionAffectedTableCells','tableBackgroundColor','enableCommand','_getSuggestion','handleDiscardAction','format'];(function(_0xa66887,_0x47efce){const _0x151c6e=function(_0x40d2e1){while(--_0x40d2e1){_0xa66887['push'](_0xa66887['shift']());}};_0x151c6e(++_0x47efce);}(_0x47ef,0x8f));const _0x151c=function(_0xa66887,_0x47efce){_0xa66887=_0xa66887-0x0;let _0x151c6e=_0x47ef[_0xa66887];return _0x151c6e;};import{Plugin as _0x44d5ca}from'ckeditor5/src/core';import{getTranslation as _0x5405ff}from'../utils/common-translations';export default class Dt extends _0x44d5ca{constructor(_0x227786){super(_0x227786),this[_0x151c('0x10')]=[_0x151c('0x1'),'tableBorderStyle','tableBorderWidth',_0x151c('0x2'),_0x151c('0x12'),_0x151c('0xe'),_0x151c('0x17')],this[_0x151c('0xb')]=[_0x151c('0x30'),'tableCellBorderStyle',_0x151c('0x35'),_0x151c('0x28'),_0x151c('0x2d'),_0x151c('0x1c'),_0x151c('0x11'),_0x151c('0x37'),_0x151c('0x5')];}static get[_0x151c('0x4')](){return _0x151c('0xf');}[_0x151c('0xc')](){const _0x4d2c8c=this['editor'][_0x151c('0xa')]['get'](_0x151c('0x26'));if(this[_0x151c('0x15')][_0x151c('0xa')][_0x151c('0x9')](_0x151c('0x1f'))){for(const _0x837bdd of this['tableProperties'])_0x4d2c8c[_0x151c('0x18')](_0x837bdd,(_0x4f0c12,_0x6c6aee)=>{const _0xdf50f2=this[_0x151c('0x15')][_0x151c('0x36')]['document']['selection'][_0x151c('0xd')]()[_0x151c('0x1d')](_0x151c('0x0'));this[_0x151c('0x2b')](_0x837bdd,[_0xdf50f2],this['tableProperties'],_0x151c('0x10'),_0x4f0c12,_0x6c6aee);});_0x4d2c8c[_0x151c('0x13')]['registerCustomCallback'](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x34'),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x23')](_0x151c('0x38'),null,_0x151c('0x24'))),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x24'),(_0x5783a6,_0xa45834)=>this[_0x151c('0x1a')](this[_0x151c('0x10')],_0x5783a6,_0xa45834)),_0x4d2c8c['_suggestionFactory']['registerCustomCallback'](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x32'),()=>!0x1);}if(this[_0x151c('0x15')][_0x151c('0xa')][_0x151c('0x9')](_0x151c('0x31'))){for(const _0x5f126d of this[_0x151c('0xb')])_0x4d2c8c['enableCommand'](_0x5f126d,(_0x57bbcd,_0x5903c6)=>{const _0x273b92=this[_0x151c('0x15')]['plugins'][_0x151c('0x27')](_0x151c('0x29'))[_0x151c('0x16')](this['editor'][_0x151c('0x36')][_0x151c('0x22')]['selection']);this[_0x151c('0x2b')](_0x5f126d,_0x273b92,this[_0x151c('0xb')],_0x151c('0xb'),_0x57bbcd,_0x5903c6);});_0x4d2c8c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x151c('0xb'),_0x151c('0x34'),_0x4d2c8c['_suggestionFactory'][_0x151c('0x23')]('formatBlock',null,'discard')),_0x4d2c8c['_suggestionFactory'][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0xb'),_0x151c('0x24'),(_0x4cbee6,_0x37325e)=>this[_0x151c('0x1a')](this[_0x151c('0xb')],_0x4cbee6,_0x37325e)),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0xb'),_0x151c('0x32'),()=>!0x1);}_0x4d2c8c[_0x151c('0x8')]['registerDescriptionCallback'](_0x260c70=>this['handleSuggestionDescription'](_0x260c70));}['_handlePropertyChange'](_0x2f0934,_0x35211a,_0x5825f5,_0x12d1d5,_0x7e7a57,_0x36cb90){const _0x490629=this['editor']['plugins']['get'](_0x151c('0x26'));this['editor'][_0x151c('0x36')][_0x151c('0x3')](_0x36cb90['batch'],()=>{for(const _0x241b5b of _0x35211a){if(this[_0x151c('0x19')](_0x241b5b,_0x12d1d5))_0x7e7a57(_0x36cb90);else{const _0x2a5623={};for(const _0x39b6fa of _0x5825f5){const _0x2782ee=_0x241b5b[_0x151c('0x21')](_0x39b6fa);void 0x0!==_0x2782ee&&(_0x2a5623[_0x39b6fa]=_0x2782ee);}_0x7e7a57(_0x36cb90),_0x490629[_0x151c('0x14')](_0x241b5b,{'commandParams':[_0x2a5623]},[],_0x12d1d5);}}});}[_0x151c('0x1a')](_0x524621,_0x5c674c,_0x3595e0){const _0x15902e=_0x5c674c[0x0][_0x151c('0x1e')][_0x151c('0x25')],_0x3aa151=_0x3595e0[_0x151c('0x33')][0x0];this[_0x151c('0x15')][_0x151c('0x36')]['change'](_0x497b34=>{for(const _0x493df8 of _0x524621)void 0x0!==_0x3aa151[_0x493df8]?_0x497b34[_0x151c('0x2e')](_0x493df8,_0x3aa151[_0x493df8],_0x15902e):_0x497b34[_0x151c('0x2c')](_0x493df8,_0x15902e);});}[_0x151c('0x2f')](_0x1a9652){if(_0x1a9652['data'])switch(_0x1a9652[_0x151c('0x20')]){case'tableProperties':return{'type':'format','content':_0x5405ff(this[_0x151c('0x15')][_0x151c('0x2a')],'*Format:*\x20change\x20table\x20properties')};case _0x151c('0xb'):return{'type':_0x151c('0x1b'),'content':_0x5405ff(this[_0x151c('0x15')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x151c('0x19')](_0x3e72d2,_0x32db15){const _0xf2746c=this['editor'][_0x151c('0xa')][_0x151c('0x27')](_0x151c('0x26'));for(const _0x48eeb1 of _0xf2746c['getSuggestions']({'skipNotAttached':!0x0})){const _0x2083da=_0x48eeb1[_0x151c('0x7')]();if(_0x48eeb1[_0x151c('0x20')]===_0x32db15&&_0x2083da===_0x3e72d2)return _0x48eeb1;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38da=['Template','insertTemplate','has','editor','plugins','afterInit','get'];(function(_0x3b06c0,_0x38daec){const _0x1443be=function(_0x43c21c){while(--_0x43c21c){_0x3b06c0['push'](_0x3b06c0['shift']());}};_0x1443be(++_0x38daec);}(_0x38da,0x15c));const _0x1443=function(_0x3b06c0,_0x38daec){_0x3b06c0=_0x3b06c0-0x0;let _0x1443be=_0x38da[_0x3b06c0];return _0x1443be;};import{Plugin as _0x269175}from'ckeditor5/src/core';export default class bt extends _0x269175{[_0x1443('0x0')](){const _0x1e78d9=this[_0x1443('0x5')];_0x1e78d9[_0x1443('0x6')][_0x1443('0x4')](_0x1443('0x2'))&&_0x1e78d9['plugins'][_0x1443('0x1')]('TrackChangesEditing')['enableCommand'](_0x1443('0x3'));}}
23
+ const _0x3788=['editor','Template','get','has','afterInit','insertTemplate','TrackChangesEditing','enableCommand','plugins'];(function(_0x3d0cd2,_0x3788e5){const _0x27f8d4=function(_0x572c64){while(--_0x572c64){_0x3d0cd2['push'](_0x3d0cd2['shift']());}};_0x27f8d4(++_0x3788e5);}(_0x3788,0x164));const _0x27f8=function(_0x3d0cd2,_0x3788e5){_0x3d0cd2=_0x3d0cd2-0x0;let _0x27f8d4=_0x3788[_0x3d0cd2];return _0x27f8d4;};import{Plugin as _0x25090a}from'ckeditor5/src/core';export default class bt extends _0x25090a{[_0x27f8('0x8')](){const _0x32c17d=this[_0x27f8('0x4')];_0x32c17d[_0x27f8('0x3')][_0x27f8('0x7')](_0x27f8('0x5'))&&_0x32c17d[_0x27f8('0x3')][_0x27f8('0x6')](_0x27f8('0x1'))[_0x27f8('0x2')](_0x27f8('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f8a=['end','document','ELEMENT_TITLE','_descriptionFactory','createRange','locale','isTouching','editor','getChangedMarkers','updateMarker','element','get','title-content','start','afterInit','schema','Title','plugins','_splitMarkerName','suggestion','differ','getNearestSelectionRange','registerElementLabel','registerPostFixer','from','newRange','isCollapsed','model'];(function(_0x322e76,_0x2f8a80){const _0x3fcd0f=function(_0x970ddd){while(--_0x970ddd){_0x322e76['push'](_0x322e76['shift']());}};_0x3fcd0f(++_0x2f8a80);}(_0x2f8a,0x136));const _0x3fcd=function(_0x322e76,_0x2f8a80){_0x322e76=_0x322e76-0x0;let _0x3fcd0f=_0x2f8a[_0x322e76];return _0x3fcd0f;};import{Plugin as _0x189bf8}from'ckeditor5/src/core';import{getTranslation as _0x11643c}from'../utils/common-translations';export default class It extends _0x189bf8{[_0x3fcd('0xc')](){const _0x19d7bb=this[_0x3fcd('0x5')];if(!_0x19d7bb[_0x3fcd('0xf')]['has'](_0x3fcd('0xe')))return;const _0x7d9fef=_0x19d7bb[_0x3fcd('0xf')][_0x3fcd('0x9')]('TrackChangesEditing');_0x7d9fef[_0x3fcd('0x1')][_0x3fcd('0x14')](_0x3fcd('0xa'),()=>_0x11643c(_0x19d7bb[_0x3fcd('0x3')],_0x3fcd('0x0'))),_0x19d7bb[_0x3fcd('0x19')][_0x3fcd('0x1b')][_0x3fcd('0x15')](_0x52c033=>{let _0x2ce73d=!0x1;const _0x233159=Array[_0x3fcd('0x16')](_0x19d7bb[_0x3fcd('0x19')]['document'][_0x3fcd('0x12')][_0x3fcd('0x6')]());for(const {name:_0x3ea9ac,data:_0x1cd3b7}of _0x233159){const {group:_0x41b0a4}=_0x7d9fef[_0x3fcd('0x10')](_0x3ea9ac);if(_0x3fcd('0x11')!==_0x41b0a4||!_0x1cd3b7[_0x3fcd('0x17')])continue;const _0x29bd96=_0x1cd3b7['newRange'],_0x57e6ff=_0x29bd96[_0x3fcd('0x1a')]['nodeBefore'];if(!_0x57e6ff||!_0x57e6ff['is'](_0x3fcd('0x8'),_0x3fcd('0xa')))continue;if(!_0x29bd96[_0x3fcd('0xb')][_0x3fcd('0x4')](_0x29bd96[_0x3fcd('0x1a')]))continue;const _0x3b4d5a=_0x19d7bb[_0x3fcd('0x19')][_0x3fcd('0xd')][_0x3fcd('0x13')](_0x29bd96['end'],'forward');if(_0x3b4d5a&&_0x3b4d5a[_0x3fcd('0x18')]){const _0x184fe0=_0x52c033[_0x3fcd('0x2')](_0x29bd96[_0x3fcd('0xb')],_0x3b4d5a[_0x3fcd('0xb')]);_0x184fe0['isEqual'](_0x29bd96)||(_0x52c033[_0x3fcd('0x7')](_0x3ea9ac,{'range':_0x184fe0}),_0x2ce73d=!0x0);}_0x2ce73d||(_0x52c033['removeMarker'](_0x3ea9ac),_0x2ce73d=!0x0);}return _0x2ce73d;});}}
23
+ const _0x1764=['registerPostFixer','removeMarker','has','afterInit','Title','updateMarker','element','_descriptionFactory','model','getNearestSelectionRange','isTouching','from','suggestion','editor','ELEMENT_TITLE','registerElementLabel','isEqual','createRange','_splitMarkerName','plugins','differ','title-content','newRange','document','getChangedMarkers','start','get','end','locale','TrackChangesEditing'];(function(_0x2f2faf,_0x176414){const _0x5d77c6=function(_0x10463d){while(--_0x10463d){_0x2f2faf['push'](_0x2f2faf['shift']());}};_0x5d77c6(++_0x176414);}(_0x1764,0x12a));const _0x5d77=function(_0x2f2faf,_0x176414){_0x2f2faf=_0x2f2faf-0x0;let _0x5d77c6=_0x1764[_0x2f2faf];return _0x5d77c6;};import{Plugin as _0x29ae90}from'ckeditor5/src/core';import{getTranslation as _0x525943}from'../utils/common-translations';export default class It extends _0x29ae90{[_0x5d77('0x5')](){const _0x5eed1e=this[_0x5d77('0xf')];if(!_0x5eed1e[_0x5d77('0x15')][_0x5d77('0x4')](_0x5d77('0x6')))return;const _0xcd0c0b=_0x5eed1e['plugins'][_0x5d77('0x1c')](_0x5d77('0x1'));_0xcd0c0b[_0x5d77('0x9')][_0x5d77('0x11')](_0x5d77('0x17'),()=>_0x525943(_0x5eed1e[_0x5d77('0x0')],_0x5d77('0x10'))),_0x5eed1e['model']['document'][_0x5d77('0x2')](_0x2073c7=>{let _0x5ab0d4=!0x1;const _0x2ae9c0=Array[_0x5d77('0xd')](_0x5eed1e[_0x5d77('0xa')][_0x5d77('0x19')][_0x5d77('0x16')][_0x5d77('0x1a')]());for(const {name:_0x2bbb3e,data:_0x3dd504}of _0x2ae9c0){const {group:_0x6c320b}=_0xcd0c0b[_0x5d77('0x14')](_0x2bbb3e);if(_0x5d77('0xe')!==_0x6c320b||!_0x3dd504['newRange'])continue;const _0x1f5d78=_0x3dd504[_0x5d77('0x18')],_0xd7141f=_0x1f5d78['end']['nodeBefore'];if(!_0xd7141f||!_0xd7141f['is'](_0x5d77('0x8'),'title-content'))continue;if(!_0x1f5d78[_0x5d77('0x1b')][_0x5d77('0xc')](_0x1f5d78[_0x5d77('0x1d')]))continue;const _0x4de732=_0x5eed1e[_0x5d77('0xa')]['schema'][_0x5d77('0xb')](_0x1f5d78[_0x5d77('0x1d')],'forward');if(_0x4de732&&_0x4de732['isCollapsed']){const _0xa061=_0x2073c7[_0x5d77('0x13')](_0x1f5d78[_0x5d77('0x1b')],_0x4de732[_0x5d77('0x1b')]);_0xa061[_0x5d77('0x12')](_0x1f5d78)||(_0x2073c7[_0x5d77('0x7')](_0x2bbb3e,{'range':_0xa061}),_0x5ab0d4=!0x0);}_0x5ab0d4||(_0x2073c7[_0x5d77('0x3')](_0x2bbb3e),_0x5ab0d4=!0x0);}return _0x5ab0d4;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47e1=['plugins','editor','has','get','afterInit','undo','redo','TrackChangesEditing','enableCommand','UndoEditing'];(function(_0x2779bc,_0x47e125){const _0x22d781=function(_0x4ac3dc){while(--_0x4ac3dc){_0x2779bc['push'](_0x2779bc['shift']());}};_0x22d781(++_0x47e125);}(_0x47e1,0x109));const _0x22d7=function(_0x2779bc,_0x47e125){_0x2779bc=_0x2779bc-0x0;let _0x22d781=_0x47e1[_0x2779bc];return _0x22d781;};import{Plugin as _0x371c5f}from'ckeditor5/src/core';export default class vt extends _0x371c5f{[_0x22d7('0x9')](){const _0x200db6=this[_0x22d7('0x6')],_0x840b21=_0x200db6[_0x22d7('0x5')][_0x22d7('0x8')](_0x22d7('0x2'));_0x200db6[_0x22d7('0x5')][_0x22d7('0x7')](_0x22d7('0x4'))&&(_0x840b21[_0x22d7('0x3')](_0x22d7('0x0')),_0x840b21[_0x22d7('0x3')](_0x22d7('0x1')));}}
23
+ const _0x41b1=['redo','plugins','has','enableCommand','get','editor','undo','UndoEditing','TrackChangesEditing'];(function(_0x35540d,_0x41b12f){const _0x1291c7=function(_0x430e23){while(--_0x430e23){_0x35540d['push'](_0x35540d['shift']());}};_0x1291c7(++_0x41b12f);}(_0x41b1,0x144));const _0x1291=function(_0x35540d,_0x41b12f){_0x35540d=_0x35540d-0x0;let _0x1291c7=_0x41b1[_0x35540d];return _0x1291c7;};import{Plugin as _0x18ec5b}from'ckeditor5/src/core';export default class vt extends _0x18ec5b{['afterInit'](){const _0x444521=this[_0x1291('0x5')],_0x156f49=_0x444521[_0x1291('0x1')][_0x1291('0x4')](_0x1291('0x8'));_0x444521['plugins'][_0x1291('0x2')](_0x1291('0x7'))&&(_0x156f49[_0x1291('0x3')](_0x1291('0x6')),_0x156f49['enableCommand'](_0x1291('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cc5=['addClass','insert','previousPosition','span','push','listIndent','item','markerName','includes','createRangeOn','nextSibling','test','bindElementToMarker','TrackChangesEditing','listItem','ck-suggestion-marker-','parent','name','hasAttribute','elementEnd','isAtEnd','writer','type','ck-suggestion-marker--active','element','mapper','getItems','schema','getWalker','isLimit','plugins','get','getCustomProperty','model','start','createUIElement','markerRange'];(function(_0x429192,_0x5cc5f){const _0x11de2c=function(_0x47d6df){while(--_0x47d6df){_0x429192['push'](_0x429192['shift']());}};_0x11de2c(++_0x5cc5f);}(_0x5cc5,0x17b));const _0x11de=function(_0x429192,_0x5cc5f){_0x429192=_0x429192-0x0;let _0x11de2c=_0x5cc5[_0x429192];return _0x11de2c;};export function getRangesWithAttribute(_0x2ca228,_0x3daaa8,_0x5b7912){const _0x4140e4=[];for(const _0x5da0f6 of _0x3daaa8[_0x11de('0x11')]())_0x5da0f6[_0x11de('0x9')](_0x2ca228)&&_0x4140e4[_0x11de('0x20')](_0x5b7912[_0x11de('0x0')](_0x5da0f6));return _0x4140e4;}export function getElementsAffectedByListItemRename(_0x54397d){const _0x22ff48=[];if(_0x54397d['is'](_0x11de('0xf'),_0x11de('0x5'))){let _0x3d33e3=_0x54397d['nextSibling'];for(;_0x3d33e3&&_0x3d33e3['is'](_0x11de('0xf'),_0x11de('0x5'))&&_0x3d33e3['getAttribute'](_0x11de('0x21'))>0x0;)_0x22ff48[_0x11de('0x20')](_0x3d33e3),_0x3d33e3=_0x3d33e3['nextSibling'];}return _0x22ff48;}export function downcastSplitMergeMarker(_0x423c90,_0x4b953a,{showActiveMarker:_0x30fa05=!0x0}={}){const _0x5d50d6=_0x423c90[_0x11de('0x15')][_0x11de('0x16')](_0x11de('0x4'));return(_0x1bca2e,_0x160772,_0x51e5aa)=>{if(!_0x51e5aa['consumable'][_0x11de('0x2')](_0x160772[_0x11de('0x1b')],_0x1bca2e[_0x11de('0x8')]))return;const _0x4a4819=_0x160772[_0x11de('0x1b')][_0x11de('0x13')](),_0x1c1cac=_0x160772[_0x11de('0x1b')][_0x11de('0x19')],_0x1f0c40=_0x423c90[_0x11de('0x18')][_0x11de('0x12')];let _0x1574f2=null,_0x5352db=null,_0x517f9b=!0x1,_0x4ce2d2=!0x1;for(const _0x853ca4 of _0x4a4819){const _0x4423c9=_0x853ca4[_0x11de('0x22')];_0x517f9b=_0x517f9b||_0x1f0c40['isContent'](_0x4423c9);const _0x190109=_0x51e5aa[_0x11de('0x10')]['toViewElement'](_0x4423c9);if(_0x190109&&_0x190109[_0x11de('0x17')]('addHighlight'))return;_0x11de('0xa')==_0x853ca4[_0x11de('0xd')]&&(_0x1f0c40['isBlock'](_0x4423c9)&&!_0x1f0c40[_0x11de('0x14')](_0x4423c9)&&(_0x4423c9[_0x11de('0x1')]||_0x1c1cac[_0x11de('0xb')]?_0x1574f2&&_0x1574f2[_0x11de('0x7')]==_0x4423c9||(_0x1574f2=_0x4423c9,_0x5bbb28(_0x853ca4[_0x11de('0x1e')]),_0x4ce2d2=!0x0):_0x5352db=_0x5352db||_0x853ca4[_0x11de('0x1e')]));}function _0x5bbb28(_0xedf838){const _0x2733cd=_0x51e5aa[_0x11de('0xc')][_0x11de('0x1a')](_0x11de('0x1f'),{'class':_0x11de('0x6')+_0x4b953a}),_0x43c3a0=_0x51e5aa['mapper']['toViewPosition'](_0xedf838);_0x30fa05&&_0x5d50d6['activeMarkers'][_0x11de('0x24')](_0x160772[_0x11de('0x23')])&&_0x51e5aa['writer'][_0x11de('0x1c')](_0x11de('0xe'),_0x2733cd),_0x51e5aa['writer'][_0x11de('0x1d')](_0x43c3a0,_0x2733cd),_0x51e5aa[_0x11de('0x10')][_0x11de('0x3')](_0x2733cd,_0x160772[_0x11de('0x23')]);}_0x517f9b||_0x4ce2d2||!_0x5352db||_0x5bbb28(_0x5352db);};}
23
+ const _0x4ca8=['span','element','item','listItem','writer','includes','isContent','activeMarkers','bindElementToMarker','model','name','test','consumable','elementEnd','markerName','markerRange','listIndent','toViewElement','toViewPosition','getAttribute','get','previousPosition','createUIElement','getWalker','ck-suggestion-marker-','hasAttribute','push','addHighlight','type','addClass','createRangeOn','nextSibling','start','getCustomProperty','getItems','ck-suggestion-marker--active'];(function(_0x1cc634,_0x4ca8be){const _0xf3d0c6=function(_0x3ece68){while(--_0x3ece68){_0x1cc634['push'](_0x1cc634['shift']());}};_0xf3d0c6(++_0x4ca8be);}(_0x4ca8,0xdc));const _0xf3d0=function(_0x1cc634,_0x4ca8be){_0x1cc634=_0x1cc634-0x0;let _0xf3d0c6=_0x4ca8[_0x1cc634];return _0xf3d0c6;};export function getRangesWithAttribute(_0x3b2920,_0x286230,_0x19cdd5){const _0x332e74=[];for(const _0x5b07ea of _0x286230[_0xf3d0('0x1e')]())_0x5b07ea[_0xf3d0('0x15')](_0x3b2920)&&_0x332e74[_0xf3d0('0x16')](_0x19cdd5[_0xf3d0('0x1a')](_0x5b07ea));return _0x332e74;}export function getElementsAffectedByListItemRename(_0x46ad52){const _0x4287ea=[];if(_0x46ad52['is']('element','listItem')){let _0x3babf1=_0x46ad52['nextSibling'];for(;_0x3babf1&&_0x3babf1['is'](_0xf3d0('0x21'),_0xf3d0('0x23'))&&_0x3babf1[_0xf3d0('0xf')](_0xf3d0('0xc'))>0x0;)_0x4287ea[_0xf3d0('0x16')](_0x3babf1),_0x3babf1=_0x3babf1[_0xf3d0('0x1b')];}return _0x4287ea;}export function downcastSplitMergeMarker(_0x822211,_0x45dad7,{showActiveMarker:_0x131e11=!0x0}={}){const _0x33028b=_0x822211['plugins'][_0xf3d0('0x10')]('TrackChangesEditing');return(_0x28cf3c,_0xd9ce6e,_0x1a3525)=>{if(!_0x1a3525[_0xf3d0('0x8')][_0xf3d0('0x7')](_0xd9ce6e[_0xf3d0('0xb')],_0x28cf3c[_0xf3d0('0x6')]))return;const _0x23aabe=_0xd9ce6e[_0xf3d0('0xb')][_0xf3d0('0x13')](),_0x13d897=_0xd9ce6e[_0xf3d0('0xb')][_0xf3d0('0x1c')],_0x5c12c0=_0x822211[_0xf3d0('0x5')]['schema'];let _0x468f4b=null,_0x593a5f=null,_0x2c03ed=!0x1,_0x49f69d=!0x1;for(const _0x19ddfe of _0x23aabe){const _0x46c0c3=_0x19ddfe[_0xf3d0('0x22')];_0x2c03ed=_0x2c03ed||_0x5c12c0[_0xf3d0('0x2')](_0x46c0c3);const _0x33db87=_0x1a3525['mapper'][_0xf3d0('0xd')](_0x46c0c3);if(_0x33db87&&_0x33db87[_0xf3d0('0x1d')](_0xf3d0('0x17')))return;_0xf3d0('0x9')==_0x19ddfe[_0xf3d0('0x18')]&&(_0x5c12c0['isBlock'](_0x46c0c3)&&!_0x5c12c0['isLimit'](_0x46c0c3)&&(_0x46c0c3[_0xf3d0('0x1b')]||_0x13d897['isAtEnd']?_0x468f4b&&_0x468f4b['parent']==_0x46c0c3||(_0x468f4b=_0x46c0c3,_0x48bf25(_0x19ddfe[_0xf3d0('0x11')]),_0x49f69d=!0x0):_0x593a5f=_0x593a5f||_0x19ddfe[_0xf3d0('0x11')]));}function _0x48bf25(_0x363e2e){const _0x127bfa=_0x1a3525['writer'][_0xf3d0('0x12')](_0xf3d0('0x20'),{'class':_0xf3d0('0x14')+_0x45dad7}),_0x58d1aa=_0x1a3525['mapper'][_0xf3d0('0xe')](_0x363e2e);_0x131e11&&_0x33028b[_0xf3d0('0x3')][_0xf3d0('0x1')](_0xd9ce6e[_0xf3d0('0xa')])&&_0x1a3525['writer'][_0xf3d0('0x19')](_0xf3d0('0x1f'),_0x127bfa),_0x1a3525[_0xf3d0('0x0')]['insert'](_0x58d1aa,_0x127bfa),_0x1a3525['mapper'][_0xf3d0('0x4')](_0x127bfa,_0xd9ce6e['markerName']);}_0x2c03ed||_0x49f69d||!_0x593a5f||_0x48bf25(_0x593a5f);};}