@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231020.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 _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;}
23
+ const _0xf0d3=['getSuggestionCallback','ck-suggestion-marker--active','accept','newRange','for','removeRows','from','has','insertContent','registerCustomCallback','plugins','wrap','_splitMarkerName','previous','every','nodeAfter','editing','tableCellSuggestion','getColumnIndexes','commands','fromEntries','getRange','ck-suggestion-marker','cell','getMarkers','add','findAncestor','dataDowncast','find','getSuggestion','markMultiRangeInsertion','element','rows','hasSuggestion','_suggestionFactory','markerName','root','remove','tablePaste','removeMarkers','last','fill','set','map','includes','cells','ck-suggestion-marker-insertion','tableCellHorizontalAlignment','type','locale','getContainedElement','stop','tablePasteColumn','isEmpty','getChild','filter','return','TableClipboard','createTableWalker','author','getAllAdjacentSuggestions','trackChanges','_createdBatches','setAttributes','tableCellPadding','change','getChangedMarkers','reduce','end','push','move','length','insertionRanges','oldRange','batch','_getCoordsForCells','insertRows','getRowIndexes','options','tableCell','isInContent','createRangeIn','model','first','_replaceTableSlotCell','rootName','getSelectionAffectedTableCells','formatBlock','TableUtils','registerDescriptionCallback','_isForcedDefaultExecutionBlock','start','column','insert','getChanges','conversion','attributes','deletionRanges','startsWith','selection','high','differ','Users','editingDowncast','registerPostFixer','markMultiRangeBlockFormat','previousSibling','low','tableCellBackgroundColor','suggestion-td','subType','containsRange','deletion','markerAttributes','join','paragraph','table','createRangeOn','getColumns','tablePasteRow','redo','editor','insertion','row','removeMarker','getRows','columnInsertionRanges','rowInsertionRanges','tableCellBorderStyle','schema','position','removeColumns','tablePasteCell','rowInsertionIndexes','getRanges','entries','markers','register','unwrap','markerToHighlight','getSuggestions','isEqual','keys','columnInsertionIndexes','document','get','suggestion:formatBlock:tablePasteCell','endRow','tableCellBorderColor','suggestionLoaded','discard','tableCellBorderWidth','suggestion','tablePasteChainId','getTableIfOnlyTableInContent','updateMarker','name','content'];(function(_0xa02fbd,_0xf0d34b){const _0x224163=function(_0x30b141){while(--_0x30b141){_0xa02fbd['push'](_0xa02fbd['shift']());}};_0x224163(++_0xf0d34b);}(_0xf0d3,0x8e));const _0x2241=function(_0xa02fbd,_0xf0d34b){_0xa02fbd=_0xa02fbd-0x0;let _0x224163=_0xf0d3[_0xa02fbd];return _0x224163;};import{getTranslation as _0x5db861}from'../utils/common-translations';import{Plugin as _0x1133b1}from'ckeditor5/src/core';import{uid as _0x4f49c8,priorities as _0x55925a}from'ckeditor5/src/utils';import _0x56583e from'./table';const le=[_0x2241('0x9'),_0x2241('0x6'),_0x2241('0x90'),_0x2241('0x3f'),'tableCellVerticalAlignment',_0x2241('0x7c'),_0x2241('0x50')],ae=Object[_0x2241('0x24')](le['map'](_0x632c22=>[_0x632c22,null]));export default class wt extends _0x1133b1{static get['requires'](){return[_0x56583e];}['afterInit'](){const _0x842824=this['editor'];if(!_0x842824['plugins'][_0x2241('0x17')](_0x2241('0x49')))return;const _0x28099d=_0x842824['plugins'][_0x2241('0x3')]('TrackChangesEditing'),_0x20b194=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x68')),_0x3a76c8=_0x842824['plugins'][_0x2241('0x3')](_0x56583e),_0x36293d=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('TableClipboard');_0x3a76c8['_tablePostFixingSubtypes'][_0x2241('0x55')](_0x2241('0x87'),_0x2241('0x44')),_0x842824[_0x2241('0x62')][_0x2241('0x91')][_0x2241('0x99')](_0x2241('0x21'),{'allowIn':_0x2241('0x5f'),'allowContentOf':_0x2241('0x5f'),'isLimit':!0x0}),_0x842824['conversion']['elementToElement']({'model':_0x2241('0x21'),'view':_0x2241('0x7d')});let _0x24a220=null;_0x842824[_0x2241('0x62')]['on'](_0x2241('0x18'),(_0xa36529,_0x4c0944)=>{const [_0x51e850,_0x418364]=_0x4c0944,_0x59034e=_0x4c0944[_0x4c0944[_0x2241('0x57')]-0x1];_0x59034e&&_0x59034e['forceDefaultExecution']||_0x28099d[_0x2241('0x6a')]||this[_0x2241('0x89')]['commands'][_0x2241('0x3')](_0x2241('0x4d'))['value']&&function(_0x2a96b0,_0x4feae6,_0x7b2f85,_0x4d05a7,_0x350809){if(_0x4feae6&&!_0x4feae6['is']('documentSelection'))return!0x1;const _0x96009f=_0x350809[_0x2241('0xc')](_0x2a96b0,_0x7b2f85);if(!_0x96009f||!fe(_0x96009f,void 0x0,_0x4d05a7))return!0x1;const _0x146ea1=_0x4d05a7[_0x2241('0x66')](_0x7b2f85[_0x2241('0x2')][_0x2241('0x73')]);if(!_0x146ea1[_0x2241('0x57')])return!0x1;const _0x72d299=_0x146ea1[0x0]['findAncestor'](_0x2241('0x84')),_0x2c4b3b=_0x4d05a7[_0x2241('0x5d')](_0x146ea1),_0x9bff8b=_0x4d05a7[_0x2241('0x22')](_0x146ea1),_0x2b1409={'startRow':_0x2c4b3b[_0x2241('0x63')],'endRow':_0x2c4b3b['last'],'startColumn':_0x9bff8b[_0x2241('0x63')],'endColumn':_0x9bff8b[_0x2241('0x38')]};return 0x1==_0x146ea1[_0x2241('0x57')]&&(_0x2b1409[_0x2241('0x5')]+=_0x4d05a7[_0x2241('0x8d')](_0x96009f)-0x1,_0x2b1409['endColumn']+=_0x4d05a7[_0x2241('0x86')](_0x96009f)-0x1),fe(_0x72d299,_0x2b1409,_0x4d05a7);}(_0x51e850,_0x418364,_0x842824['model'],_0x20b194,_0x36293d)&&(_0xa36529[_0x2241('0x43')](),_0x24a220={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x842824[_0x2241('0x62')]['change'](()=>{_0x842824[_0x2241('0x62')]['insertContent'](_0x4c0944[0x0],_0x4c0944[0x1],_0x4c0944[0x2],{'forceDefaultExecution':!0x0});const _0x21c282=_0x4f49c8(),{rowInsertionRanges:_0x3ddb90,columnInsertionRanges:_0x14e052,insertionRanges:_0x246646,deletionRanges:_0x5815ae,cells:_0x5ed2be}=_0x24a220;_0x3ddb90[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x3ddb90,_0x2241('0x87'),{'tablePasteChainId':_0x21c282}),_0x14e052[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x14e052,_0x2241('0x44'),{'tablePasteChainId':_0x21c282}),_0x246646[_0x2241('0x57')]&&_0x28099d['markMultiRangeInsertion'](_0x246646,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0}),_0x5815ae[_0x2241('0x57')]&&_0x28099d['markMultiRangeDeletion'](_0x5815ae,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0});const _0x10f5ac=_0x28099d[_0x2241('0x79')](_0x5ed2be['map'](({element:_0x3f03f0})=>_0x3f03f0),{'formatGroupId':_0x4f49c8()},[],_0x2241('0x94'),{'tablePasteChainId':_0x21c282});if(_0x10f5ac){const _0x178cda=_0x10f5ac[_0x2241('0x28')](),_0x4b0219=[];for(const {element:_0x565e81,attributes:_0x2f5d80}of _0x5ed2be){if(!_0x2f5d80)continue;const _0x4cf7b9=_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x565e81),_0x2fe5aa=_0x178cda[_0x2241('0x2c')](_0x2d27cd=>_0x2d27cd[_0x2241('0x25')]()['isEqual'](_0x4cf7b9));_0x2fe5aa&&_0x4b0219[_0x2241('0x55')]([_0x2fe5aa[_0x2241('0xe')],_0x2f5d80]);}_0x4b0219[_0x2241('0x57')]&&_0x10f5ac['setAttribute'](_0x2241('0x81'),Object[_0x2241('0x24')](_0x4b0219));}_0x24a220=null;}));},{'priority':_0x55925a[_0x2241('0x74')]+0xa}),_0x842824[_0x2241('0x1a')][_0x2241('0x3')](_0x2241('0x49'))['on'](_0x2241('0x64'),(_0xb68873,_0x3edd2c)=>{const [_0x135871,_0x688ad4,,_0x45244c]=_0x3edd2c;if(!_0x24a220)return;_0xb68873[_0x2241('0x43')]();const _0x508497=_0x135871[_0x2241('0x27')],_0x257b46=_0x688ad4,_0x122a3d=ce(_0x508497),_0x208a6e=ce(_0x257b46);_0xb68873[_0x2241('0x48')]=_0x508497;let _0x188fbd=null,_0x1e6220=null;if(_0x208a6e||_0x122a3d){if(_0x122a3d&&!_0x208a6e){_0x45244c[_0x2241('0x35')](_0x508497[_0x2241('0x46')](0x0));for(const _0x471d21 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c[_0x2241('0x6d')](_0x471d21,_0x508497,_0x2241('0x54'));const _0x52fb5f=_0x24a220['rowInsertionIndexes']['includes'](_0x135871[_0x2241('0x8b')]),_0x436778=_0x24a220['columnInsertionIndexes'][_0x2241('0x3c')](_0x135871[_0x2241('0x6c')]);_0x52fb5f||_0x436778||(_0x188fbd=_0x45244c[_0x2241('0x61')](_0x508497));}else _0x208a6e&&!_0x122a3d&&(_0x1e6220=_0x45244c[_0x2241('0x61')](_0x508497));}else{const _0x3d23eb=_0x45244c['createElement'](_0x2241('0x21')),_0x47fae3=_0x45244c['createElement']('tableCellSuggestion');_0x45244c[_0x2241('0x1b')](_0x45244c['createRangeIn'](_0x508497),_0x47fae3),_0x45244c[_0x2241('0x6d')](_0x3d23eb,_0x508497,0x0);for(const _0x55b929 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c['insert'](_0x55b929,_0x3d23eb,'end');_0x188fbd=_0x45244c['createRangeOn'](_0x3d23eb),_0x1e6220=_0x45244c[_0x2241('0x85')](_0x47fae3);}const _0x2ef5ed=Array['from'](_0x257b46['getAttributes']())['filter'](([_0x3cce7d])=>le['includes'](_0x3cce7d));_0x24a220[_0x2241('0x3d')][_0x2241('0x55')]({'element':_0x508497,'attributes':_0x2ef5ed[_0x2241('0x57')]?Object[_0x2241('0x24')](_0x2ef5ed):null}),_0x188fbd&&_0x24a220[_0x2241('0x58')]['push'](_0x188fbd),_0x1e6220&&_0x24a220[_0x2241('0x71')]['push'](_0x1e6220);},{'priority':_0x2241('0x74')}),_0x20b194['on']('insertColumns',(_0x5c69c3,_0x4d222e)=>{const [_0xdc4971,_0x486638={}]=_0x4d222e;if(!_0x24a220)return;const _0x280cac=_0x486638['at']||0x0,_0x14b6e3=_0x486638['columns']||0x1;_0x24a220[_0x2241('0x1')]=new Array(_0x14b6e3)[_0x2241('0x39')](_0x280cac)[_0x2241('0x3b')]((_0x6fea4b,_0x557439)=>_0x6fea4b+_0x557439);for(const {cell:_0x32c09c}of _0x20b194['createTableWalker'](_0xdc4971,{'startColumn':_0x280cac,'endColumn':_0x280cac+_0x14b6e3-0x1}))_0x24a220[_0x2241('0x8e')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x32c09c));},{'priority':_0x2241('0x7b')}),_0x20b194['on'](_0x2241('0x5c'),(_0x2a897a,_0x5f4103)=>{const [_0x40ffc2,_0x3f649e={}]=_0x5f4103;if(!_0x24a220)return;const _0x5890e1=_0x3f649e['at']||0x0,_0x2f7f71=_0x3f649e[_0x2241('0x30')]||0x1;_0x24a220[_0x2241('0x95')]=new Array(_0x2f7f71)['fill'](_0x5890e1)[_0x2241('0x3b')]((_0x5a9317,_0x182a19)=>_0x5a9317+_0x182a19);for(const {cell:_0x4a27a5}of _0x20b194[_0x2241('0x4a')](_0x40ffc2,{'startRow':_0x5890e1,'endRow':_0x5890e1+_0x2f7f71-0x1}))_0x24a220[_0x2241('0x8f')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x4a27a5));},{'priority':_0x2241('0x7b')}),_0x28099d['_descriptionFactory'][_0x2241('0x69')](_0x4dbe03=>{if(_0x4dbe03[_0x2241('0x7e')]&&_0x4dbe03['subType'][_0x2241('0x72')](_0x2241('0x36')))return _0x4dbe03[_0x2241('0x1d')]?{}:{'type':'insertion','content':_0x5db861(_0x842824[_0x2241('0x41')],'*Replace\x20table\x20cells*')};});const _0x5729a2=()=>!0x1;for(const _0x326fde of['tablePaste',_0x2241('0x44'),_0x2241('0x87'),_0x2241('0x94')])_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback'](_0x2241('0x80'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback']('formatBlock',_0x326fde,_0x2241('0x82'),_0x5729a2);_0x28099d[_0x2241('0x32')][_0x2241('0x19')]('formatBlock',_0x2241('0x94'),_0x2241('0x8'),_0x5729a2),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x67'),_0x2241('0x94'),_0x2241('0x12'),(_0x358d98,_0x2e0e0d,_0x770edd)=>{const _0xafecd3=_0x358d98['map'](_0xef3fd6=>_0xef3fd6[_0x2241('0x42')]())[_0x2241('0x47')](_0x8c9b1=>_0x8c9b1),_0x2de0dc=new Map(_0xafecd3[_0x2241('0x3b')](_0x3bb16a=>[_0x3bb16a,null]));if(_0x24a220)for(const {element:_0x304ed1,attributes:_0x377cd2}of _0x24a220[_0x2241('0x3d')])_0x377cd2&&_0x2de0dc[_0x2241('0x3a')](_0x304ed1,_0x377cd2);else{if(_0x770edd&&_0x770edd['markerAttributes'])for(const [_0x44694a,_0x16da18]of Object[_0x2241('0x97')](_0x770edd['markerAttributes'])){const _0x3f5022=_0x842824[_0x2241('0x62')][_0x2241('0x98')][_0x2241('0x3')](_0x44694a),_0x5f551c=_0x3f5022?_0x3f5022[_0x2241('0x25')]()[_0x2241('0x42')]():null;_0x5f551c&&_0x2de0dc[_0x2241('0x3a')](_0x5f551c,_0x16da18);}}_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x42ce93=>{for(const [_0x545f1d,_0x2cf1f9]of _0x2de0dc)_0x42ce93[_0x2241('0x4f')]({...ae,..._0x2cf1f9},_0x545f1d);});});const _0x413a09=(_0x115e13,_0xb208ac)=>{_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x115e13,_0x2241('0x36'),_0xb208ac,(_0x109466,_0x1da789,_0x2c365f)=>{_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x43433a=>{const _0x5e3472=[];for(const _0x536434 of _0x109466){const _0x2b75e3=_0x536434[_0x2241('0x6b')][_0x2241('0x1f')];_0x2b75e3['is'](_0x2241('0x2f'),_0x2241('0x21'))&&_0x5e3472[_0x2241('0x55')](_0x2b75e3);}_0x28099d[_0x2241('0x32')][_0x2241('0x10')](_0x115e13,null,_0xb208ac)(_0x109466,_0x1da789,_0x2c365f);for(const _0x3a984a of _0x5e3472)'$graveyard'!=_0x3a984a[_0x2241('0x34')][_0x2241('0x65')]&&_0x43433a[_0x2241('0x9a')](_0x3a984a);});});};_0x413a09(_0x2241('0x8a'),_0x2241('0x12')),_0x413a09(_0x2241('0x8a'),'discard'),_0x413a09(_0x2241('0x80'),_0x2241('0x12')),_0x413a09(_0x2241('0x80'),'discard'),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x2241('0x87'),'discard',_0x38332a=>{const _0x348eb1=_0x38332a[_0x2241('0x3b')](_0x7163c7=>_0x7163c7[_0x2241('0x42')]()),_0x4e10ee=_0x348eb1[0x0][_0x2241('0x2a')]('table'),{minRow:_0x3b6065,maxRow:_0x909da2}=_0x3a76c8[_0x2241('0x5b')](_0x348eb1);_0x20b194[_0x2241('0x15')](_0x4e10ee,{'at':_0x3b6065,'rows':_0x909da2-_0x3b6065+0x1});}),_0x28099d['_suggestionFactory'][_0x2241('0x19')]('insertion',_0x2241('0x44'),_0x2241('0x8'),_0x466e37=>{const _0x432089=_0x466e37[_0x2241('0x3b')](_0xdf0247=>_0xdf0247[_0x2241('0x42')]()),_0x4fa94a=_0x432089[0x0][_0x2241('0x2a')](_0x2241('0x84')),{minColumn:_0x2a1234,maxColumn:_0x514637}=_0x3a76c8[_0x2241('0x5b')](_0x432089);_0x20b194[_0x2241('0x93')](_0x4fa94a,{'at':_0x2a1234,'columns':_0x514637-_0x2a1234+0x1});});const _0x438be2=(_0x3eed12,_0x2bfd0e)=>{if(!_0x2bfd0e['subType']||!_0x2bfd0e[_0x2241('0x7e')][_0x2241('0x72')](_0x2241('0x36')))return;const _0x478e66=_0x2bfd0e[_0x2241('0x70')][_0x2241('0xb')],_0x2939f7=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x7a7f=>_0x7a7f['isInContent']&&_0x7a7f[_0x2241('0x70')]&&_0x7a7f[_0x2241('0x70')][_0x2241('0xb')]==_0x478e66);_0x2939f7[_0x2241('0x57')]&&_0x2bfd0e[_0x2241('0x4c')]()[_0x2241('0x57')]!=_0x2939f7[_0x2241('0x57')]&&_0x2939f7[_0x2241('0x53')]((_0x49e4e7,_0x2ee0cc)=>(_0x49e4e7['next']=_0x2ee0cc,_0x2ee0cc[_0x2241('0x1d')]=_0x49e4e7,_0x2ee0cc));};function _0x3f317a(_0x4767f6,_0x14db0c=!0x0){const {id:_0x38c862}=_0x28099d[_0x2241('0x1c')](_0x4767f6['markerName']),_0x71d456=[_0x2241('0x26'),_0x2241('0x3e')],_0x5e91dc=_0x28099d['activeMarkers'][_0x2241('0x3c')](_0x4767f6[_0x2241('0x33')]);return _0x5e91dc&&_0x71d456['push'](_0x2241('0x11')),{'classes':_0x71d456,'attributes':{'data-suggestion':_0x38c862},'priority':_0x5e91dc&&_0x14db0c?0xbc2:0xbb8};}_0x28099d['on'](_0x2241('0x7'),_0x438be2,{'priority':_0x2241('0x74')}),_0x28099d['on']('suggestionUnloaded',_0x438be2,{'priority':'high'}),_0x842824[_0x2241('0x62')][_0x2241('0x2')][_0x2241('0x78')](()=>{let _0x2008f3=!0x1;const _0x53b3e3=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]());for(const {name:_0x4cc838,data:_0x5cb1b3}of _0x53b3e3){const {group:_0x5aad29,type:_0x28bad3,id:_0x1a6fd7}=_0x28099d[_0x2241('0x1c')](_0x4cc838);if(_0x2241('0xa')!=_0x5aad29||_0x2241('0x80')!=_0x28bad3||_0x5cb1b3[_0x2241('0x59')])continue;if(!_0x28099d[_0x2241('0x31')](_0x1a6fd7))continue;const _0x18e5ef=_0x28099d[_0x2241('0x2d')](_0x1a6fd7)[_0x2241('0x96')](),_0x1c193b=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'];for(const _0x47d090 of _0x28099d[_0x2241('0x9c')]()){if(!_0x47d090['isInContent']||_0x47d090[_0x2241('0x4b')]!=_0x1c193b)continue;if(_0x2241('0x67')!=_0x47d090[_0x2241('0x40')]||_0x2241('0x94')!=_0x47d090['subType'])continue;if(_0x47d090[_0x2241('0x96')]()[_0x2241('0x1e')](_0x1049fc=>_0x18e5ef['some'](_0x2d16cf=>_0x2d16cf[_0x2241('0x7f')](_0x1049fc,!0x0))))for(const _0x38f51a of _0x47d090[_0x2241('0x4c')]())_0x38f51a[_0x2241('0x60')]&&(_0x38f51a[_0x2241('0x8')](),_0x2008f3=!0x0);}}return _0x2008f3;}),_0x842824['model']['document']['registerPostFixer'](_0x6070fb=>{const _0x2e1480=_0x842824[_0x2241('0x23')][_0x2241('0x3')](_0x2241('0x88'));if(!_0x2e1480||!_0x2e1480[_0x2241('0x4e')][_0x2241('0x17')](_0x6070fb[_0x2241('0x5a')]))return!0x1;let _0x5bc305=!0x1;const _0x101bdb=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'],_0x2188e0=_0x842824['model'][_0x2241('0x2')]['differ'][_0x2241('0x6e')](),_0x5aadf6=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]())[_0x2241('0x47')](({name:_0x4f930d,data:_0x8912e8})=>{const {group:_0x1389f2,subType:_0x184679,authorId:_0x6f8402}=_0x28099d[_0x2241('0x1c')](_0x4f930d);return _0x2241('0xa')==_0x1389f2&&_0x2241('0x36')==_0x184679&&_0x6f8402==_0x101bdb['id']&&!_0x8912e8[_0x2241('0x59')];});for(const _0x11a4ed of _0x2188e0){if(_0x2241('0x6d')!=_0x11a4ed[_0x2241('0x40')]||'tableCellSuggestion'!=_0x11a4ed['name']||0x1!=_0x11a4ed['length'])continue;const _0x480b38=_0x6070fb['createRange'](_0x11a4ed[_0x2241('0x92')],_0x11a4ed[_0x2241('0x92')]['getShiftedBy'](0x1));if(!_0x5aadf6[_0x2241('0x2c')](({data:_0x212f5f})=>_0x212f5f['newRange'][_0x2241('0x9d')](_0x480b38)))for(const {name:_0x42cf42,data:_0x5df467}of _0x5aadf6)if(_0x480b38[_0x2241('0x7f')](_0x5df467[_0x2241('0x13')])){_0x6070fb[_0x2241('0xd')](_0x42cf42,{'range':_0x480b38}),_0x5bc305=!0x0;break;}}return _0x5bc305;}),_0x842824[_0x2241('0x62')][_0x2241('0x2')]['registerPostFixer'](_0x3a0568=>{let _0x25d818=!0x1;const _0x1cbec9=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('Users')['me'],_0xf4a070=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x242412=>_0x242412[_0x2241('0x60')]&&_0x242412[_0x2241('0x4b')]==_0x1cbec9),_0xbc0910=new Set(),_0x3fa578=new Set();for(const _0xcd902 of _0xf4a070)if(_0x2241('0x36')==_0xcd902[_0x2241('0x7e')])for(const _0x346a8b of _0xcd902[_0x2241('0x28')]()){const _0x3501a1=_0x346a8b[_0x2241('0x25')]()['getContainedElement']();if(_0x3501a1){if(_0x3501a1['is'](_0x2241('0x2f'),'tableCellSuggestion')&&ce(_0x3501a1)){_0xcd902['removeMarker'](_0x346a8b[_0x2241('0xe')]),_0xbc0910[_0x2241('0x29')](_0x3501a1),_0x25d818=!0x0;const _0x335b43=_0x3501a1['nextSibling'],_0x2ed906=_0x3501a1[_0x2241('0x7a')],_0x4a7450=_0x335b43&&_0x335b43['is'](_0x2241('0x2f'),'tableCellSuggestion'),_0x31527e=_0x2ed906&&_0x2ed906['is'](_0x2241('0x2f'),_0x2241('0x21'));_0x4a7450&&!_0xbc0910[_0x2241('0x17')](_0x335b43)&&_0x3fa578[_0x2241('0x29')](_0x335b43),_0x31527e&&!_0xbc0910['has'](_0x2ed906)&&_0x3fa578[_0x2241('0x29')](_0x2ed906);}else _0x3501a1['is'](_0x2241('0x2f'),_0x2241('0x83'))&&_0x3501a1['isEmpty']&&(_0xcd902[_0x2241('0x8c')](_0x346a8b[_0x2241('0xe')]),_0x25d818=!0x0);}}else{if('tablePasteCell'==_0xcd902[_0x2241('0x7e')]){if(!_0xcd902[_0x2241('0x70')]||!_0xcd902[_0x2241('0x70')][_0x2241('0xb')])continue;const _0x14a26f=_0xcd902[_0x2241('0x70')][_0x2241('0x81')];if(_0x14a26f&&Object[_0x2241('0x0')](_0x14a26f)[_0x2241('0x57')])continue;const _0x3aa114=_0xcd902[_0x2241('0x70')][_0x2241('0xb')];let _0x1b4726=!0x0,_0xf81440=!0x0;for(const _0x391a86 of _0xf4a070)if(_0x391a86[_0x2241('0x7e')]&&_0x391a86[_0x2241('0x7e')]['startsWith'](_0x2241('0x36'))){if(!_0x391a86[_0x2241('0x70')]['tablePasteChainId']){_0xf81440=!0x1;break;}if(_0x391a86['id']!=_0xcd902['id']&&_0x391a86[_0x2241('0x70')][_0x2241('0xb')]==_0x3aa114){_0x1b4726=!0x1;break;}}_0xf81440&&_0x1b4726&&(_0xcd902[_0x2241('0x37')](),_0x25d818=!0x0);}}for(const _0xfecd51 of _0xbc0910)_0x3a0568[_0x2241('0x35')](_0xfecd51);for(const _0x1aa3fb of _0x3fa578)_0x3a0568[_0x2241('0x9a')](_0x1aa3fb);return _0x25d818;}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x77'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x15b8ac,_0x2e348a)=>_0x3f317a(_0x15b8ac),'converterPriority':'high'}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x2b'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x366828,_0x5aba1a)=>_0x5aba1a[_0x2241('0x5e')]['showSuggestionHighlights']?_0x3f317a(_0x366828,!0x1):null,'converterPriority':_0x2241('0x74')});const _0x55a26a=_0x842824[_0x2241('0x20')]['view'];this['listenTo'](_0x55a26a[_0x2241('0x2')],'clipboardOutput',(_0x5a5903,_0xafa6c3)=>{const _0x5d7471=[];for(const _0x656c82 of _0x55a26a[_0x2241('0x61')](_0xafa6c3[_0x2241('0xf')])['getItems']())_0x656c82['is'](_0x2241('0x2f'),_0x2241('0x7d'))&&_0x5d7471[_0x2241('0x55')](_0x656c82);_0x55a26a[_0x2241('0x51')](_0x46e8c6=>{for(const _0x56133e of _0x5d7471)_0x46e8c6[_0x2241('0x56')](_0x46e8c6['createRangeIn'](_0x56133e),_0x46e8c6['createPositionBefore'](_0x56133e)),_0x46e8c6['remove'](_0x56133e);});});}}function ce(_0x459e23){if(_0x459e23[_0x2241('0x45')])return!0x0;const _0x328149=_0x459e23[_0x2241('0x46')](0x0);return _0x328149['is']('element',_0x2241('0x83'))&&_0x328149[_0x2241('0x45')];}function fe(_0x1071e8,_0x29640f={},_0x559c2a){for(const {isAnchor:_0x2a66b4,cellHeight:_0x35c3f6,cellWidth:_0x28ff9f}of _0x559c2a[_0x2241('0x4a')](_0x1071e8,{'includeAllSlots':!0x0,..._0x29640f}))if(!_0x2a66b4||0x1!=_0x35c3f6||0x1!=_0x28ff9f)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}}}
23
+ const _0x929c=['getAttribute','afterInit','_descriptionFactory','handleSuggestionDescription','model','data','TableColumnResizeEditing','markBlockFormat','table','editor','subType','_suggestionFactory','Users','formatGroupId','enableCommand','getSelectedElement','registerDescriptionCallback','registerCustomCallback','change','resizeTable','selection','accept','getContainedElement','formatBlock','getTableColumnsWidths','plugins','get','resizeColumnWidths','document','columnWidths','bind','handleResizeTableWidthCommand','format','TrackChangesEditing','*Format:*\x20resize\x20table','tableWidth','discard','author'];(function(_0x3a6e70,_0x929c22){const _0x10bb7a=function(_0xa5df31){while(--_0xa5df31){_0x3a6e70['push'](_0x3a6e70['shift']());}};_0x10bb7a(++_0x929c22);}(_0x929c,0x159));const _0x10bb=function(_0x3a6e70,_0x929c22){_0x3a6e70=_0x3a6e70-0x0;let _0x10bb7a=_0x929c[_0x3a6e70];return _0x10bb7a;};import{Plugin as _0x26fd05}from'ckeditor5/src/core';import{getTranslation as _0x2cb866}from'../utils/common-translations';export default class yt extends _0x26fd05{[_0x10bb('0x24')](){if(!this[_0x10bb('0x6')][_0x10bb('0x16')]['has'](_0x10bb('0x3')))return;const _0x1234de=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x1e'));_0x1234de[_0x10bb('0xb')]('resizeTableWidth',this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['enableCommand'](_0x10bb('0x18'),this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','accept',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x21'))),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','discard',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x12'))),_0x1234de[_0x10bb('0x25')][_0x10bb('0xd')](this['handleSuggestionDescription'][_0x10bb('0x1b')](this));}['handleResizeTableWidthCommand'](_0x5b363c,_0xe428a2){const _0x4180aa=this['editor']['plugins'][_0x10bb('0x17')](_0x10bb('0x1e')),_0x41dd1a=this[_0x10bb('0x6')][_0x10bb('0x16')]['get'](_0x10bb('0x3')),_0x456ed6=_0xe428a2[_0x10bb('0x5')]||this[_0x10bb('0x6')][_0x10bb('0x1')][_0x10bb('0x19')][_0x10bb('0x11')][_0x10bb('0xc')]();this[_0x10bb('0x6')]['model'][_0x10bb('0xf')](()=>{const _0x5cf620=_0x41dd1a['getColumnGroupElement'](_0x456ed6);let _0x552962=_0x5cf620?_0x41dd1a[_0x10bb('0x15')](_0x5cf620):null,_0x1d52d7=_0x456ed6[_0x10bb('0x23')](_0x10bb('0x20'))||null;const _0xb9bec1=_0xe428a2['tableWidth']||_0x1d52d7,_0x205942=_0xe428a2[_0x10bb('0x1a')]||_0x552962,_0x38010c=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x9'))['me'];for(const _0x14a61e of _0x4180aa['getSuggestions']()){const _0x3acfda=_0x14a61e[_0x10bb('0x13')]();if(_0x10bb('0x10')===_0x14a61e[_0x10bb('0x7')]&&_0x3acfda===_0x456ed6){_0x14a61e[_0x10bb('0x22')]!==_0x38010c&&_0x14a61e['discard']();const _0x1106ba=_0x14a61e[_0x10bb('0x2')]['commandParams'];_0x1d52d7=_0x1106ba[0x0][_0x10bb('0x20')],_0x552962=_0x1106ba[0x0]['columnWidths'];break;}}_0x5b363c({'table':_0x456ed6,'tableWidth':_0xb9bec1,'columnWidths':_0x205942}),_0x4180aa[_0x10bb('0x4')](_0x456ed6,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1d52d7,'columnWidths':_0x552962}],'formatGroupId':'resizeTable'},[],_0x10bb('0x10'));});}[_0x10bb('0x0')](_0x32ddf4){const {data:_0x43b871}=_0x32ddf4;if(_0x43b871&&_0x10bb('0x10')===_0x43b871[_0x10bb('0xa')]){const _0x19ced6=_0x10bb('0x1f');return{'type':_0x10bb('0x1d'),'content':_0x2cb866(this['editor']['locale'],_0x19ced6)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ const _0x4afd=['forceValue','getAttribute','setAttribute','removeMarker:suggestion','stop','FORMAT_REGULAR_COLUMN','addMarker:suggestion','_splitMarkerName','format','locale','unbindElementFromMarkerName','consume','options','createPositionAfter','requires','consumable','from','selection','setTableRowHeader','ck-suggestion-marker--active','commandName','formatBlock','get','cell','end','createTableWalker','bindElementToMarker','addClass','model','plugins','isBefore','createRange','table','data-suggestion','has','getSuggestion','removeClass','headingColumns','registerDescriptionCallback','*Format:*\x20%0','childCount','commandParams','mapper','editor','markerNameToElements','activeMarkers','editing','index','getColumnIndexes','downcastDispatcher','FORMAT_HEADER_ROW','value','start','afterInit','setTableColumnHeader','registerCustomCallback','findAncestor','writer','parent','highest','commands','_suggestionFactory','getChild','markerName','document','headingRows','enableCommand','accept','change','createPositionBefore','last','first','name','getSelectionAffectedTableCells','toViewElement','getCellLocation','markerRange','data','TableEditing','FORMAT_HEADER_COLUMN','item'];(function(_0x24d11e,_0x4afd5b){const _0x58e759=function(_0x64b51){while(--_0x64b51){_0x24d11e['push'](_0x24d11e['shift']());}};_0x58e759(++_0x4afd5b);}(_0x4afd,0xfe));const _0x58e7=function(_0x24d11e,_0x4afd5b){_0x24d11e=_0x24d11e-0x0;let _0x58e759=_0x4afd[_0x24d11e];return _0x58e759;};import{Plugin as _0x234a16}from'ckeditor5/src/core';import _0x543033 from'./table';import{getTranslation as _0x30d96f}from'../utils/common-translations';export default class kt extends _0x234a16{static get[_0x58e7('0x3')](){return[_0x543033];}[_0x58e7('0x2a')](){const _0xe2777c=this[_0x58e7('0x20')];if(!_0xe2777c[_0x58e7('0x12')][_0x58e7('0x17')](_0x58e7('0x43')))return;const _0x26d997=_0xe2777c[_0x58e7('0x4f')],_0x56de6a=_0xe2777c[_0x58e7('0x12')]['get']('TrackChangesEditing'),_0xf06441=_0xe2777c[_0x58e7('0x12')]['get']('TableUtils'),_0x42328c=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')](_0x543033);function _0x5617a3({showActiveMarker:_0x41089e=!0x0,setDataAttribute:_0x5728e2=!0x0}={}){return(_0x2c5352,_0x36fc4b,_0x3fd8a9)=>{const {type:_0x59f8eb,id:_0x5c6e6a}=_0x56de6a[_0x58e7('0x4d')](_0x36fc4b[_0x58e7('0x34')]),_0x774011=_0x56de6a[_0x58e7('0x18')](_0x5c6e6a);if(!_0x774011[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x774011['data'][_0x58e7('0x9')])return;if(_0x36fc4b[_0x58e7('0x45')])return void _0x2c5352[_0x58e7('0x4a')]();if(!_0x3fd8a9[_0x58e7('0x4')][_0x58e7('0x0')](_0x36fc4b[_0x58e7('0x41')],_0x2c5352[_0x58e7('0x3d')]))return;const _0x339849=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0x29')]['nodeAfter'],_0x2e3d17=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0xd')]['nodeBefore'],_0x1ce2d7=_0x339849[_0x58e7('0x2f')][_0x58e7('0x2f')],{column:_0x3c6890}=_0xf06441[_0x58e7('0x40')](_0x339849),{column:_0xaf61cb}=_0xf06441[_0x58e7('0x40')](_0x2e3d17);for(let _0x424507=_0x3c6890;_0x424507<=_0xaf61cb;_0x424507++){const _0x3ff5f5=_0xf06441[_0x58e7('0xe')](_0x1ce2d7,{'column':_0x424507,'includeAllSlots':!0x1});for(const _0x1eacd8 of _0x3ff5f5){const _0x28f6c0=_0x1eacd8[_0x58e7('0xc')],_0x305d81=_0x3fd8a9['mapper'][_0x58e7('0x3f')](_0x28f6c0);_0x3fd8a9['writer'][_0x58e7('0x10')]('ck-suggestion-marker-'+_0x59f8eb,_0x305d81),_0x5728e2&&_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x48')](_0x58e7('0x16'),_0x5c6e6a,_0x305d81),_0x3fd8a9[_0x58e7('0x1f')][_0x58e7('0xf')](_0x305d81,_0x36fc4b[_0x58e7('0x34')]),_0x41089e&&(_0x56de6a[_0x58e7('0x22')]['includes'](_0x36fc4b['markerName'])?_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x10')](_0x58e7('0x8'),_0x305d81):_0x3fd8a9['writer']['removeClass'](_0x58e7('0x8'),_0x305d81));}}};}_0x56de6a[_0x58e7('0x37')](_0x58e7('0x7'),(_0x34e7fb,_0x197e06)=>{const _0x1908b8=_0xf06441[_0x58e7('0x3e')](_0xe2777c['model'][_0x58e7('0x35')][_0x58e7('0x6')]),_0x1ed98c=_0xf06441['getRowIndexes'](_0x1908b8),_0x276996=_0x1908b8[0x0][_0x58e7('0x2d')](_0x58e7('0x15')),_0x3781d3=_0x276996['getAttribute'](_0x58e7('0x36'))||0x0,_0x596beb=_0x197e06&&null!==_0x197e06[_0x58e7('0x46')]?_0x197e06[_0x58e7('0x46')]:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')](_0x58e7('0x7'))[_0x58e7('0x28')],_0x392aab=_0x596beb?_0x1ed98c[_0x58e7('0x3b')]:_0x1ed98c[_0x58e7('0x3c')],_0x277214=_0x276996['getChild'](_0x392aab);let _0x1d6651;if(_0x596beb){const _0x27e36e=_0x276996[_0x58e7('0x33')](_0x3781d3);if(_0x277214[_0x58e7('0x24')]<_0x27e36e[_0x58e7('0x24')])return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x27e36e[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')]['createPositionAfter'](_0x277214[_0x58e7('0x33')](_0x277214[_0x58e7('0x1d')]-0x1)));}else{const _0x41522b=_0x276996[_0x58e7('0x33')](_0x3781d3-0x1);if(!_0x41522b)return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')]['createPositionBefore'](_0x277214[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x41522b['getChild'](_0x41522b[_0x58e7('0x1d')]-0x1)));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0x1d6651,{'commandName':_0x58e7('0x7'),'commandParams':[{'forceValue':_0x596beb}]},[],_0x58e7('0x7'));});}),_0x56de6a[_0x58e7('0x37')](_0x58e7('0x2b'),(_0x575e03,_0x597046)=>{const _0x290be3=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')]('TableUtils'),_0x5e5d27=_0x290be3[_0x58e7('0x3e')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x35')][_0x58e7('0x6')]),_0x21616c=_0x290be3[_0x58e7('0x25')](_0x5e5d27),_0x5268fd=_0x5e5d27[0x0]['findAncestor'](_0x58e7('0x15')),_0x196752=_0x5268fd[_0x58e7('0x47')](_0x58e7('0x1a'))||0x0,_0x477a2d=_0x597046&&null!==_0x597046[_0x58e7('0x46')]?_0x597046['forceValue']:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')]('setTableColumnHeader')[_0x58e7('0x28')];let _0xf824ad;const _0x10d73d=_0x5268fd['getChild'](0x0),_0x2f9ba9=_0x477a2d?_0x21616c[_0x58e7('0x3b')]:_0x21616c[_0x58e7('0x3c')],_0x2018f3=_0x290be3[_0x58e7('0xe')](_0x5268fd,{'startRow':0x0,'column':_0x2f9ba9,'includeAllSlots':!0x1}),_0x351223=Array[_0x58e7('0x5')](_0x2018f3)[0x0][_0x58e7('0xc')];if(_0x477a2d){const _0x44c11a=_0x10d73d[_0x58e7('0x33')](_0x196752);if(_0x351223[_0x58e7('0x13')](_0x44c11a))return;_0xf824ad=_0xe2777c[_0x58e7('0x11')][_0x58e7('0x14')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x44c11a),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x351223));}else{const _0xece69=_0x10d73d[_0x58e7('0x33')](_0x196752-0x1);if(!_0xece69)return;_0xf824ad=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x351223),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0xece69));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0xf824ad,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x477a2d}]},[],_0x58e7('0x2b'));});}),_0xe2777c[_0x58e7('0x23')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),_0x5617a3(),{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x42')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),(_0x256d48,_0x52b7bd,_0x7dc02d)=>{_0x7dc02d[_0x58e7('0x1')]['showSuggestionHighlights']&&_0x5617a3({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x256d48,_0x52b7bd,_0x7dc02d);},{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x23')]['downcastDispatcher']['on'](_0x58e7('0x49'),(_0x5b4dee,_0xd33298,_0x32c367)=>{const {type:_0x58c853,id:_0x1b1f5d}=_0x56de6a[_0x58e7('0x4d')](_0xd33298[_0x58e7('0x34')]),_0x51f402=_0x56de6a[_0x58e7('0x18')](_0x1b1f5d);if(!_0x51f402[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x51f402[_0x58e7('0x42')][_0x58e7('0x9')])return;const _0x3ecf89=_0x32c367['mapper'][_0x58e7('0x21')](_0xd33298[_0x58e7('0x34')]);if(_0x3ecf89)for(const _0x2904f2 of _0x3ecf89)_0x32c367[_0x58e7('0x2e')][_0x58e7('0x19')]('ck-suggestion-marker-'+_0x58c853,_0x2904f2),_0x32c367['writer'][_0x58e7('0x19')]('ck-suggestion-marker--active',_0x2904f2),_0x32c367[_0x58e7('0x2e')]['removeAttribute'](_0x58e7('0x16'),_0x2904f2),_0x32c367['mapper'][_0x58e7('0x50')](_0x2904f2,_0xd33298[_0x58e7('0x34')]);},{'priority':_0x58e7('0x30')}),_0x56de6a['_descriptionFactory'][_0x58e7('0x1b')](_0x3bbb9e=>{const {data:_0xcc9753}=_0x3bbb9e;if(_0xcc9753){if(_0x58e7('0x7')==_0xcc9753[_0x58e7('0x9')]){const _0xd1f303=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0xd1f303?_0x58e7('0x27'):'FORMAT_REGULAR_ROW'));}if(_0x58e7('0x2b')==_0xcc9753[_0x58e7('0x9')]){const _0x26977c=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0x26977c?_0x58e7('0x44'):_0x58e7('0x4b')));}}function _0x296f5d(_0x1364f4){return{'type':_0x58e7('0x4e'),'content':_0x30d96f(_0x26d997,_0x58e7('0x1c'),_0x1364f4)};}});const _0x5847d6=_0x42328c['_acceptFormatSuggestionCallbackFactory']();_0x56de6a[_0x58e7('0x32')][_0x58e7('0x2c')](_0x58e7('0xa'),'setTableRowHeader',_0x58e7('0x38'),_0x5847d6),_0x56de6a[_0x58e7('0x32')]['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x5847d6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x1601=['find','afterInit','*Merge\x20cells*','registerCustomCallback','format','filter','forceDefaultExecution','size','mergeTableCells','root','createRangeOn','registerDescriptionCallback','_areSelectedCellsMergable','getRanges','document','containsRange','getSuggestions','requires','set:isEnabled','stop','editor','has','value','enableCommand','commandName','change','low','accept','refresh','add','formatBlock','commands','tableCell','mergeTableCellRight','plugins','splitTableCellVertically','markBlockFormat','findAncestor','selection','cell','map','from','setSelection','TableUtils','horizontally','execute','getAncestors','mergeTableCellLeft','isEnabled','length','mergeTableCellUp','*Split\x20cell:*\x20vertically','return','model','type','markMultiRangeBlockFormat','_areMergableCells','isInContent','highest','locale','insertion','getCellLocation','TableEditing','element','get','splitTableCellHorizontally','getFirstPosition','$graveyard','mergeTableCellDown','*Split\x20cell:*\x20horizontally','fromRange','getSelectionAffectedTableCells','trackChanges','createTableWalker','author','_suggestionFactory','subType','table','direction'];(function(_0x372e3e,_0x1601f4){const _0x708388=function(_0x5e8251){while(--_0x5e8251){_0x372e3e['push'](_0x372e3e['shift']());}};_0x708388(++_0x1601f4);}(_0x1601,0x72));const _0x7083=function(_0x372e3e,_0x1601f4){_0x372e3e=_0x372e3e-0x0;let _0x708388=_0x1601[_0x372e3e];return _0x708388;};import{Plugin as _0x20b007}from'ckeditor5/src/core';import _0x2a3495 from'./table';import{LiveRange as _0x419ccc}from'ckeditor5/src/engine';import{getTranslation as _0x2b2743}from'../utils/common-translations';export default class pt extends _0x20b007{static get[_0x7083('0x3d')](){return[_0x2a3495];}[_0x7083('0x2d')](){const _0x4ba877=this[_0x7083('0x40')],_0x52fc48=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')],_0x11a844=_0x4ba877[_0x7083('0x18')];if(!_0x4ba877[_0x7083('0x4e')][_0x7083('0x41')](_0x7083('0x1b')))return;const _0x17b6eb=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')]('TrackChangesEditing'),_0x4ec698=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8')),_0x46a641=_0x4ba877['plugins'][_0x7083('0x1d')](_0x2a3495);_0x46a641['_tablePostFixingSubtypes']['push'](_0x7083('0x34')),_0x17b6eb['enableCommand'](_0x7083('0x34'),()=>{const _0x2f0a57=_0x4ec698[_0x7083('0x24')](_0x4ba877['model'][_0x7083('0x3a')][_0x7083('0x3')]);_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')](_0x2f0a57,{'commandName':'mergeTableCells','commandParams':[]},[],_0x7083('0x34'));});}),_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x34'))['on'](_0x7083('0xa'),(_0xd8d321,_0x5b447d)=>{_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x25'))[_0x7083('0x42')]&&(_0x5b447d[_0x7083('0xe')]>0x0&&_0x5b447d[_0x5b447d[_0x7083('0xe')]-0x1]&&_0x5b447d[_0x5b447d['length']-0x1][_0x7083('0x32')]||_0x17b6eb['_isForcedDefaultExecutionBlock']||this[_0x7083('0x38')]()||_0xd8d321[_0x7083('0x3f')]());},{'priority':_0x7083('0x17')});for(const _0x519a23 of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')]){const _0x220d35=_0x4ba877['commands'][_0x7083('0x1d')](_0x519a23);_0x17b6eb[_0x7083('0x43')](_0x519a23,()=>{const _0x5329b7=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]['getFirstPosition']()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x1e109a=>_0x1e109a['is'](_0x7083('0x1c'),_0x7083('0x4c'))),_0x5dc1b9=_0x220d35[_0x7083('0x42')];_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')]([_0x5329b7,_0x5dc1b9],{'commandName':_0x7083('0x34'),'commandParams':[]},[],_0x7083('0x34'));});});}for(const _0x359637 of[_0x7083('0x0'),_0x7083('0x1e')]){const _0x297324=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x359637);_0x17b6eb[_0x7083('0x43')](_0x359637,()=>{const _0x15b591=_0x4ec698[_0x7083('0x24')](_0x4ba877[_0x7083('0x12')]['document']['selection'])[0x0],_0x2d00a0=_0x15b591[_0x7083('0x2')](_0x7083('0x2a')),{column:_0x1c9460,row:_0x484b8b}=_0x4ec698[_0x7083('0x1a')](_0x15b591);let _0x3f1b89=[];if(_0x7083('0x9')==_0x297324[_0x7083('0x2b')]){const _0xacdd36=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'startRow':_0x484b8b,'endRow':_0x484b8b,'includeAllSlots':!0x0});_0x3f1b89=Array['from'](_0xacdd36)[_0x7083('0x5')](_0x3b4bae=>_0x3b4bae[_0x7083('0x4')]);}else{const _0x5710f7=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'column':_0x1c9460,'includeAllSlots':!0x0});_0x3f1b89=Array[_0x7083('0x6')](_0x5710f7)[_0x7083('0x5')](_0x21bd5e=>_0x21bd5e['cell']);}_0x4ba877['model']['change'](_0x33eedd=>{_0x17b6eb[_0x7083('0x1')](_0x33eedd[_0x7083('0x36')](_0x15b591),{'commandName':_0x359637,'commandParams':[]},_0x3f1b89,_0x359637);});});}_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x5a1652=>{const {data:_0x5e25e7}=_0x5a1652;if(_0x5e25e7)return _0x7083('0x34')==_0x5e25e7['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x2e'))}:void 0x0;}),_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x1c1bd1=>{const {data:_0x58cf81}=_0x1c1bd1;if(_0x58cf81)return _0x7083('0x0')==_0x58cf81[_0x7083('0x44')]?{'type':'format','content':_0x2b2743(_0x11a844,_0x7083('0x10'))}:'splitTableCellHorizontally'==_0x58cf81['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x22'))}:void 0x0;});const _0x27e211=_0x46a641['_acceptFormatSuggestionCallbackFactory']();for(const _0x4a887c of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x4a887c,_0x7083('0x47'),_0x27e211);for(const _0x47088e of[_0x7083('0x0'),_0x7083('0x1e')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x47088e,_0x7083('0x47'),_0x27e211);_0x17b6eb['_suggestionFactory'][_0x7083('0x2f')]('formatBlock','mergeTableCells',_0x7083('0x47'),_0x396556=>{_0x4ba877['model'][_0x7083('0x45')](_0x494345=>{const _0x5ed4db=Array[_0x7083('0x6')](_0x52fc48[_0x7083('0x39')]())[_0x7083('0x5')](_0x301ac5=>_0x419ccc[_0x7083('0x23')](_0x301ac5));_0x494345[_0x7083('0x7')](_0x396556),_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34'))[_0x7083('0x48')](),_0x4ba877[_0x7083('0xa')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1fd5cb=_0x5ed4db[_0x7083('0x31')](_0x304724=>_0x7083('0x20')!=_0x304724[_0x7083('0x35')]['rootName']);_0x1fd5cb[_0x7083('0xe')]>0x0&&_0x494345['setSelection'](_0x1fd5cb);for(const _0x43254a of _0x5ed4db)_0x43254a['detach']();});});for(const _0x115ae7 of[_0x7083('0xf'),_0x7083('0x21'),_0x7083('0xc'),'mergeTableCellRight']){const _0x1e5874=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x115ae7);_0x1e5874['on'](_0x7083('0x3e'),(_0x3b5acc,_0x55dd17,_0x5b6cf0)=>{if(_0x5b6cf0){const _0x1afd76=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')][_0x7083('0x1f')]()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x39304b=>_0x39304b['is']('element',_0x7083('0x4c')));this[_0x7083('0x15')](_0x1e5874[_0x7083('0x42')],_0x1afd76)||(_0x3b5acc[_0x7083('0x11')]=!0x1,_0x3b5acc[_0x7083('0x3f')]());}},{'priority':_0x7083('0x46')});}}['_areSelectedCellsMergable'](){const _0x5a975e=this[_0x7083('0x40')][_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34')),_0x28b3b3=this[_0x7083('0x40')][_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8'));if(!_0x5a975e[_0x7083('0xd')])return!0x1;const _0x53dc81=_0x28b3b3[_0x7083('0x24')](this[_0x7083('0x40')][_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]);for(const _0x40b979 of _0x53dc81)for(const _0xe0f64c of _0x53dc81)if(_0x40b979!=_0xe0f64c&&!this[_0x7083('0x15')](_0x40b979,_0xe0f64c))return!0x1;return!0x0;}[_0x7083('0x15')](_0x12c63b,_0x235b5b){const _0x30ce90=this['editor']['plugins'][_0x7083('0x1d')]('TrackChangesEditing'),_0x2a5809=this[_0x7083('0x40')]['model'][_0x7083('0x36')](_0x12c63b),_0x2ebb1e=this[_0x7083('0x40')][_0x7083('0x12')]['createRangeOn'](_0x235b5b),_0x1247a8=new Set(),_0x4e6d88=new Set();for(const _0x290e79 of _0x30ce90[_0x7083('0x3c')]())if((_0x7083('0x19')==_0x290e79['type']||'deletion'==_0x290e79['type']||_0x7083('0x34')==_0x290e79[_0x7083('0x29')])&&_0x290e79[_0x7083('0x16')])for(const _0x37e8f9 of _0x290e79[_0x7083('0x39')]())_0x37e8f9['containsRange'](_0x2a5809,!0x0)&&_0x1247a8[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']),_0x37e8f9[_0x7083('0x3b')](_0x2ebb1e,!0x0)&&_0x4e6d88[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']);if(_0x1247a8[_0x7083('0x33')]!=_0x4e6d88[_0x7083('0x33')])return!0x1;for(const _0x568c13 of _0x1247a8)if(!_0x4e6d88[_0x7083('0x41')](_0x568c13))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ const _0x18da=['get','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','tableOfContents','locale','insertTableOfContents','commands'];(function(_0x137f01,_0x18da36){const _0x2fca4d=function(_0x3c4095){while(--_0x3c4095){_0x137f01['push'](_0x137f01['shift']());}};_0x2fca4d(++_0x18da36);}(_0x18da,0xb5));const _0x2fca=function(_0x137f01,_0x18da36){_0x137f01=_0x137f01-0x0;let _0x2fca4d=_0x18da[_0x137f01];return _0x2fca4d;};import{Plugin as _0x5c8579}from'ckeditor5/src/core';import{getTranslation as _0x87480}from'../utils/common-translations';export default class St extends _0x5c8579{['afterInit'](){const _0x1451b6=this['editor'];if(!_0x1451b6[_0x2fca('0x0')][_0x2fca('0x1')](_0x2fca('0x6')))return;_0x1451b6['plugins']['get'](_0x2fca('0x3'))['enableCommand']('insertTableOfContents');const _0x2f82af=_0x1451b6['plugins'][_0x2fca('0x1')]('TrackChangesEditing'),_0x1edd6c=_0x1451b6[_0x2fca('0x5')];_0x2f82af['_descriptionFactory']['registerElementLabel'](_0x2fca('0x4'),_0x3f78d8=>_0x87480(_0x1edd6c,_0x2fca('0x2'),_0x3f78d8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x2bda=['markBlockFormat','discard','tableBorderWidth','handleDiscardAction','tableCellPadding','enqueueChange','getFirstPosition','tableCellHeight','_getSuggestion','subType','change','tableBackgroundColor','tableCellHorizontalAlignment','has','tableCellProperties','get','handleSuggestionDescription','TableUtils','getSuggestionCallback','tableWidth','getSelectionAffectedTableCells','registerCustomCallback','getSuggestions','getAttribute','tableHeight','tableCellBackgroundColor','TableCellPropertiesEditing','_descriptionFactory','_handlePropertyChange','format','*Format:*\x20change\x20table\x20properties','join','tableProperties','setAttribute','document','data','model','accept','tableBorderStyle','pluginName','findAncestor','nodeAfter','locale','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderStyle','tableCellBorderColor','_suggestionFactory','tableCellBorderWidth','plugins','TablePropertiesEditing','TrackChangesEditing','tableCellWidth','batch','getContainedElement','formatBlock','removeAttribute','selection','tableAlignment','editor'];(function(_0x5e4ff2,_0x2bdaaa){const _0x2ac61f=function(_0x595de2){while(--_0x595de2){_0x5e4ff2['push'](_0x5e4ff2['shift']());}};_0x2ac61f(++_0x2bdaaa);}(_0x2bda,0x1f0));const _0x2ac6=function(_0x5e4ff2,_0x2bdaaa){_0x5e4ff2=_0x5e4ff2-0x0;let _0x2ac61f=_0x2bda[_0x5e4ff2];return _0x2ac61f;};import{Plugin as _0x5dc2cb}from'ckeditor5/src/core';import{getTranslation as _0xde5cf8}from'../utils/common-translations';export default class Dt extends _0x5dc2cb{constructor(_0x44f1d5){super(_0x44f1d5),this[_0x2ac6('0x8')]=['tableBorderColor',_0x2ac6('0xe'),_0x2ac6('0x25'),_0x2ac6('0x21'),_0x2ac6('0x36'),_0x2ac6('0x0'),_0x2ac6('0x2e')],this[_0x2ac6('0x31')]=[_0x2ac6('0x15'),_0x2ac6('0x14'),_0x2ac6('0x17'),_0x2ac6('0x27'),_0x2ac6('0x1b'),_0x2ac6('0x2a'),_0x2ac6('0x1'),_0x2ac6('0x2f'),'tableCellVerticalAlignment'];}static get[_0x2ac6('0xf')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x531d93=this[_0x2ac6('0x22')]['plugins']['get'](_0x2ac6('0x1a'));if(this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x30')](_0x2ac6('0x19'))){for(const _0x1cf3aa of this[_0x2ac6('0x8')])_0x531d93['enableCommand'](_0x1cf3aa,(_0x366ef8,_0x3505db)=>{const _0x285cbc=this['editor'][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')][_0x2ac6('0x29')]()[_0x2ac6('0x10')]('table');this[_0x2ac6('0x4')](_0x1cf3aa,[_0x285cbc],this[_0x2ac6('0x8')],_0x2ac6('0x8'),_0x366ef8,_0x3505db);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')](_0x2ac6('0x1e'),null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock',_0x2ac6('0x8'),'discard',(_0x140274,_0x5530b8)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x8')],_0x140274,_0x5530b8)),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0x7'),()=>!0x1);}if(this[_0x2ac6('0x22')]['plugins']['has'](_0x2ac6('0x2'))){for(const _0x252c4f of this['tableCellProperties'])_0x531d93['enableCommand'](_0x252c4f,(_0x538a6f,_0x104be7)=>{const _0xe044a5=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x34'))[_0x2ac6('0x37')](this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')]);this[_0x2ac6('0x4')](_0x252c4f,_0xe044a5,this['tableCellProperties'],_0x2ac6('0x31'),_0x538a6f,_0x104be7);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')]('formatBlock',null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock','tableCellProperties',_0x2ac6('0x24'),(_0x3fe38f,_0x3c9b49)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x31')],_0x3fe38f,_0x3c9b49)),_0x531d93['_suggestionFactory'][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0x7'),()=>!0x1);}_0x531d93[_0x2ac6('0x3')]['registerDescriptionCallback'](_0x125fa3=>this['handleSuggestionDescription'](_0x125fa3));}[_0x2ac6('0x4')](_0x3077b0,_0x3c5986,_0x15dd16,_0x1fad15,_0xa199c5,_0xa51e30){const _0x31131f=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));this[_0x2ac6('0x22')]['model'][_0x2ac6('0x28')](_0xa51e30[_0x2ac6('0x1c')],()=>{for(const _0x435649 of _0x3c5986){if(this[_0x2ac6('0x2b')](_0x435649,_0x1fad15))_0xa199c5(_0xa51e30);else{const _0x4f073a={};for(const _0xe8ab01 of _0x15dd16){const _0x43108d=_0x435649[_0x2ac6('0x3a')](_0xe8ab01);void 0x0!==_0x43108d&&(_0x4f073a[_0xe8ab01]=_0x43108d);}_0xa199c5(_0xa51e30),_0x31131f[_0x2ac6('0x23')](_0x435649,{'commandParams':[_0x4f073a]},[],_0x1fad15);}}});}[_0x2ac6('0x26')](_0x2476a0,_0x50a1f5,_0x19ec90){const _0x17e083=_0x50a1f5[0x0]['start'][_0x2ac6('0x11')],_0x8f0d32=_0x19ec90['commandParams'][0x0];this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0x2d')](_0x33cb61=>{for(const _0x3efef8 of _0x2476a0)void 0x0!==_0x8f0d32[_0x3efef8]?_0x33cb61[_0x2ac6('0x9')](_0x3efef8,_0x8f0d32[_0x3efef8],_0x17e083):_0x33cb61[_0x2ac6('0x1f')](_0x3efef8,_0x17e083);});}[_0x2ac6('0x33')](_0x23e6c3){if(_0x23e6c3[_0x2ac6('0xb')])switch(_0x23e6c3[_0x2ac6('0x2c')]){case'tableProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this[_0x2ac6('0x22')][_0x2ac6('0x12')],_0x2ac6('0x6'))};case'tableCellProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this['editor'][_0x2ac6('0x12')],_0x2ac6('0x13'))};}}[_0x2ac6('0x2b')](_0x593b46,_0x233b15){const _0x1eabca=this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));for(const _0x39933c of _0x1eabca[_0x2ac6('0x39')]({'skipNotAttached':!0x0})){const _0x44887d=_0x39933c[_0x2ac6('0x1d')]();if(_0x39933c[_0x2ac6('0x2c')]===_0x233b15&&_0x44887d===_0x593b46)return _0x39933c;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ const _0xa7b1=['afterInit','plugins','Template','TrackChangesEditing','get','enableCommand'];(function(_0x4c9e15,_0xa7b134){const _0x1e5f32=function(_0x455f3c){while(--_0x455f3c){_0x4c9e15['push'](_0x4c9e15['shift']());}};_0x1e5f32(++_0xa7b134);}(_0xa7b1,0x1a6));const _0x1e5f=function(_0x4c9e15,_0xa7b134){_0x4c9e15=_0x4c9e15-0x0;let _0x1e5f32=_0xa7b1[_0x4c9e15];return _0x1e5f32;};import{Plugin as _0x2d5db8}from'ckeditor5/src/core';export default class bt extends _0x2d5db8{[_0x1e5f('0x4')](){const _0xbaf9f6=this['editor'];_0xbaf9f6[_0x1e5f('0x5')]['has'](_0x1e5f('0x0'))&&_0xbaf9f6['plugins'][_0x1e5f('0x2')](_0x1e5f('0x1'))[_0x1e5f('0x3')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}
23
+ const _0x4eb4=['editor','schema','newRange','getNearestSelectionRange','document','from','updateMarker','createRange','TrackChangesEditing','isEqual','ELEMENT_TITLE','getChangedMarkers','suggestion','registerElementLabel','isTouching','afterInit','differ','removeMarker','forward','model','has','element','start','locale','title-content','registerPostFixer','isCollapsed','end','get'];(function(_0xd4d2a4,_0x4eb4cc){const _0x52bc14=function(_0x353b17){while(--_0x353b17){_0xd4d2a4['push'](_0xd4d2a4['shift']());}};_0x52bc14(++_0x4eb4cc);}(_0x4eb4,0x9b));const _0x52bc=function(_0xd4d2a4,_0x4eb4cc){_0xd4d2a4=_0xd4d2a4-0x0;let _0x52bc14=_0x4eb4[_0xd4d2a4];return _0x52bc14;};import{Plugin as _0xbff30e}from'ckeditor5/src/core';import{getTranslation as _0x25a0f2}from'../utils/common-translations';export default class It extends _0xbff30e{[_0x52bc('0x5')](){const _0x305fb8=this[_0x52bc('0x13')];if(!_0x305fb8['plugins'][_0x52bc('0xa')]('Title'))return;const _0x1be6f2=_0x305fb8['plugins'][_0x52bc('0x12')](_0x52bc('0x1b'));_0x1be6f2['_descriptionFactory'][_0x52bc('0x3')](_0x52bc('0xe'),()=>_0x25a0f2(_0x305fb8[_0x52bc('0xd')],_0x52bc('0x0'))),_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0xf')](_0x4f8f66=>{let _0x50f568=!0x1;const _0x1b9489=Array[_0x52bc('0x18')](_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0x6')][_0x52bc('0x1')]());for(const {name:_0x2010f4,data:_0x2135a1}of _0x1b9489){const {group:_0x911750}=_0x1be6f2['_splitMarkerName'](_0x2010f4);if(_0x52bc('0x2')!==_0x911750||!_0x2135a1[_0x52bc('0x15')])continue;const _0x136ac5=_0x2135a1[_0x52bc('0x15')],_0x4f49c0=_0x136ac5[_0x52bc('0x11')]['nodeBefore'];if(!_0x4f49c0||!_0x4f49c0['is'](_0x52bc('0xb'),_0x52bc('0xe')))continue;if(!_0x136ac5['start'][_0x52bc('0x4')](_0x136ac5['end']))continue;const _0x591cf9=_0x305fb8[_0x52bc('0x9')][_0x52bc('0x14')][_0x52bc('0x16')](_0x136ac5[_0x52bc('0x11')],_0x52bc('0x8'));if(_0x591cf9&&_0x591cf9[_0x52bc('0x10')]){const _0x1b4988=_0x4f8f66[_0x52bc('0x1a')](_0x136ac5[_0x52bc('0xc')],_0x591cf9['start']);_0x1b4988[_0x52bc('0x1c')](_0x136ac5)||(_0x4f8f66[_0x52bc('0x19')](_0x2010f4,{'range':_0x1b4988}),_0x50f568=!0x0);}_0x50f568||(_0x4f8f66[_0x52bc('0x7')](_0x2010f4),_0x50f568=!0x0);}return _0x50f568;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')));}}
23
+ const _0x472e=['afterInit','undo','TrackChangesEditing','plugins','get','editor','enableCommand','redo','has','UndoEditing'];(function(_0x306ae9,_0x472edb){const _0x43a982=function(_0xbb4124){while(--_0xbb4124){_0x306ae9['push'](_0x306ae9['shift']());}};_0x43a982(++_0x472edb);}(_0x472e,0x12f));const _0x43a9=function(_0x306ae9,_0x472edb){_0x306ae9=_0x306ae9-0x0;let _0x43a982=_0x472e[_0x306ae9];return _0x43a982;};import{Plugin as _0x37f48d}from'ckeditor5/src/core';export default class vt extends _0x37f48d{[_0x43a9('0x7')](){const _0x573e65=this[_0x43a9('0x2')],_0x35e7f2=_0x573e65[_0x43a9('0x0')][_0x43a9('0x1')](_0x43a9('0x9'));_0x573e65[_0x43a9('0x0')][_0x43a9('0x5')](_0x43a9('0x6'))&&(_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x8')),_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x4')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);};}
23
+ const _0x1d81=['element','addClass','toViewElement','get','span','nextSibling','writer','bindElementToMarker','name','createRangeOn','ck-suggestion-marker--active','previousPosition','isBlock','activeMarkers','elementEnd','listIndent','mapper','ck-suggestion-marker-','consumable','schema','markerRange','insert','isLimit','hasAttribute','createUIElement','getAttribute','toViewPosition','listItem','getCustomProperty','model','start','TrackChangesEditing','test','push','type','markerName'];(function(_0x326d91,_0x1d81b1){const _0xac24fa=function(_0x3d110c){while(--_0x3d110c){_0x326d91['push'](_0x326d91['shift']());}};_0xac24fa(++_0x1d81b1);}(_0x1d81,0x138));const _0xac24=function(_0x326d91,_0x1d81b1){_0x326d91=_0x326d91-0x0;let _0xac24fa=_0x1d81[_0x326d91];return _0xac24fa;};export function getRangesWithAttribute(_0x4f4a72,_0x56fa35,_0x3521bf){const _0x30fbf1=[];for(const _0x4f2d4f of _0x56fa35['getItems']())_0x4f2d4f[_0xac24('0x23')](_0x4f4a72)&&_0x30fbf1[_0xac24('0x9')](_0x3521bf[_0xac24('0x15')](_0x4f2d4f));return _0x30fbf1;}export function getElementsAffectedByListItemRename(_0x1dd758){const _0x5ad957=[];if(_0x1dd758['is'](_0xac24('0xc'),_0xac24('0x3'))){let _0x12ca5f=_0x1dd758['nextSibling'];for(;_0x12ca5f&&_0x12ca5f['is'](_0xac24('0xc'),_0xac24('0x3'))&&_0x12ca5f[_0xac24('0x1')](_0xac24('0x1b'))>0x0;)_0x5ad957['push'](_0x12ca5f),_0x12ca5f=_0x12ca5f[_0xac24('0x11')];}return _0x5ad957;}export function downcastSplitMergeMarker(_0x14ec4d,_0x4240dc,{showActiveMarker:_0x187e70=!0x0}={}){const _0xc1277e=_0x14ec4d['plugins'][_0xac24('0xf')](_0xac24('0x7'));return(_0x3600c3,_0x4cd4d9,_0x5884c7)=>{if(!_0x5884c7[_0xac24('0x1e')][_0xac24('0x8')](_0x4cd4d9[_0xac24('0x20')],_0x3600c3[_0xac24('0x14')]))return;const _0x5a6765=_0x4cd4d9['markerRange']['getWalker'](),_0x8196da=_0x4cd4d9[_0xac24('0x20')][_0xac24('0x6')],_0x49c569=_0x14ec4d[_0xac24('0x5')][_0xac24('0x1f')];let _0x497b41=null,_0x1e805b=null,_0x5786a5=!0x1,_0x82b663=!0x1;for(const _0x4befa7 of _0x5a6765){const _0x26bd62=_0x4befa7['item'];_0x5786a5=_0x5786a5||_0x49c569['isContent'](_0x26bd62);const _0x31acd8=_0x5884c7[_0xac24('0x1c')][_0xac24('0xe')](_0x26bd62);if(_0x31acd8&&_0x31acd8[_0xac24('0x4')]('addHighlight'))return;_0xac24('0x1a')==_0x4befa7[_0xac24('0xa')]&&(_0x49c569[_0xac24('0x18')](_0x26bd62)&&!_0x49c569[_0xac24('0x22')](_0x26bd62)&&(_0x26bd62[_0xac24('0x11')]||_0x8196da['isAtEnd']?_0x497b41&&_0x497b41['parent']==_0x26bd62||(_0x497b41=_0x26bd62,_0x339d32(_0x4befa7[_0xac24('0x17')]),_0x82b663=!0x0):_0x1e805b=_0x1e805b||_0x4befa7['previousPosition']));}function _0x339d32(_0x619feb){const _0x17540d=_0x5884c7['writer'][_0xac24('0x0')](_0xac24('0x10'),{'class':_0xac24('0x1d')+_0x4240dc}),_0x214cb9=_0x5884c7['mapper'][_0xac24('0x2')](_0x619feb);_0x187e70&&_0xc1277e[_0xac24('0x19')]['includes'](_0x4cd4d9[_0xac24('0xb')])&&_0x5884c7[_0xac24('0x12')][_0xac24('0xd')](_0xac24('0x16'),_0x17540d),_0x5884c7[_0xac24('0x12')][_0xac24('0x21')](_0x214cb9,_0x17540d),_0x5884c7[_0xac24('0x1c')][_0xac24('0x13')](_0x17540d,_0x4cd4d9[_0xac24('0xb')]);}_0x5786a5||_0x82b663||!_0x1e805b||_0x339d32(_0x1e805b);};}