@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231128.0 → 0.0.0-nightly-20231129.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 (66) 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/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3074=['getSuggestions','getSuggestion','getRanges','column','wrap','editingDowncast','root','suggestion-td','insertion','previous','createRangeOn','differ','unwrap','return','requires','insertRows','_getCoordsForCells','plugins','getRows','forceDefaultExecution','*Replace\x20table\x20cells*','listenTo','fromEntries','has','model','registerPostFixer','markers','markerName','_suggestionFactory','_splitMarkerName','stop','includes','getColumnIndexes','remove','filter','getShiftedBy','findAncestor','ck-suggestion-marker--active','row','createElement','getRange','paragraph','next','nextSibling','subType','ck-suggestion-marker-insertion','every','end','suggestion','keys','_tablePostFixingSubtypes','cells','insert','_replaceTableSlotCell','tableCellBorderWidth','TableUtils','endRow','high','tablePasteColumn','isInContent','containsRange','last','columns','setAttribute','getChangedMarkers','createTableWalker','getAttributes','Users','markerToHighlight','registerCustomCallback','start','view','createPositionBefore','_isForcedDefaultExecutionBlock','deletion','clipboardOutput','nodeAfter','first','for','getAllAdjacentSuggestions','isEmpty','discard','redo','type','options','tableCell','rows','name','batch','tablePasteCell','find','selection','getChild','change','activeMarkers','move','insertColumns','map','_descriptionFactory','tablePaste','removeMarkers','getColumns','register','tableCellSuggestion','join','hasSuggestion','createRange','setAttributes','tableCellVerticalAlignment','documentSelection','cell','commands','columnInsertionRanges','removeMarker','getChildren','getSuggestionCallback','reduce','markerAttributes','getTableIfOnlyTableInContent','entries','getChanges','editor','document','low','isEqual','author','from','ck-suggestion-marker','get','previousSibling','removeRows','tableCellBorderColor','tableCellPadding','TableClipboard','tablePasteRow','markMultiRangeBlockFormat','push','getMarkers','updateMarker','endColumn','getRowIndexes','oldRange','schema','$graveyard','conversion','markMultiRangeDeletion','length','getItems','deletionRanges','add','value','fill','content','attributes','markMultiRangeInsertion','formatBlock','registerDescriptionCallback','newRange','element','insertContent','tablePasteChainId','removeColumns','some','table','getContainedElement','suggestion:formatBlock:tablePasteCell','tableCellBackgroundColor','_createdBatches','showSuggestionHighlights','rootName','rowInsertionRanges','afterInit','accept','startsWith','position'];(function(_0x5aecf9,_0x3074e6){const _0x397538=function(_0x57eac0){while(--_0x57eac0){_0x5aecf9['push'](_0x5aecf9['shift']());}};_0x397538(++_0x3074e6);}(_0x3074,0x1e2));const _0x3975=function(_0x5aecf9,_0x3074e6){_0x5aecf9=_0x5aecf9-0x0;let _0x397538=_0x3074[_0x5aecf9];return _0x397538;};import{getTranslation as _0x1739ff}from'../utils/common-translations';import{Plugin as _0x380b97}from'ckeditor5/src/core';import{uid as _0x59de26,priorities as _0x1fcb11}from'ckeditor5/src/utils';import _0x3e6302 from'./table';const le=[_0x3975('0x61'),_0x3975('0xae'),'tableCellBorderStyle','tableCellHorizontalAlignment',_0x3975('0x97'),_0x3975('0x22'),_0x3975('0x0')],ae=Object[_0x3975('0x41')](le[_0x3975('0x8c')](_0x5636a8=>[_0x5636a8,null]));export default class At extends _0x380b97{static get[_0x3975('0x39')](){return[_0x3e6302];}[_0x3975('0x27')](){const _0x2e0868=this[_0x3975('0xa4')];if(!_0x2e0868[_0x3975('0x3c')][_0x3975('0x42')](_0x3975('0x1')))return;const _0x2dcb04=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')]('TrackChangesEditing'),_0x36cfd5=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x62')),_0x1a20c7=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3e6302),_0x421cd4=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x1'));_0x1a20c7[_0x3975('0x5d')][_0x3975('0x4')]('tablePasteRow',_0x3975('0x65')),_0x2e0868[_0x3975('0x43')][_0x3975('0xa')][_0x3975('0x91')](_0x3975('0x92'),{'allowIn':_0x3975('0x80'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x2e0868['conversion']['elementToElement']({'model':_0x3975('0x92'),'view':'suggestion-td'});let _0x5242ad=null;_0x2e0868[_0x3975('0x43')]['on'](_0x3975('0x1b'),(_0x157d66,_0x4eaf30)=>{const [_0x105fe1,_0x414426]=_0x4eaf30,_0x19acdf=_0x4eaf30[_0x4eaf30[_0x3975('0xe')]-0x1];_0x19acdf&&_0x19acdf[_0x3975('0x3e')]||_0x2dcb04[_0x3975('0x74')]||this[_0x3975('0xa4')][_0x3975('0x9a')][_0x3975('0xab')]('trackChanges')[_0x3975('0x12')]&&function(_0x5475e1,_0x7d00cd,_0x55da81,_0x4944ed,_0x9e5a51){if(_0x7d00cd&&!_0x7d00cd['is'](_0x3975('0x98')))return!0x1;const _0xf34a0d=_0x9e5a51[_0x3975('0xa1')](_0x5475e1,_0x55da81);if(!_0xf34a0d||!fe(_0xf34a0d,void 0x0,_0x4944ed))return!0x1;const _0x13fbff=_0x4944ed['getSelectionAffectedTableCells'](_0x55da81[_0x3975('0xa5')][_0x3975('0x86')]);if(!_0x13fbff[_0x3975('0xe')])return!0x1;const _0x3e97aa=_0x13fbff[0x0][_0x3975('0x4f')](_0x3975('0x1f')),_0x51de04=_0x4944ed[_0x3975('0x8')](_0x13fbff),_0x36b687=_0x4944ed[_0x3975('0x4b')](_0x13fbff),_0x34c2d2={'startRow':_0x51de04[_0x3975('0x78')],'endRow':_0x51de04[_0x3975('0x68')],'startColumn':_0x36b687[_0x3975('0x78')],'endColumn':_0x36b687[_0x3975('0x68')]};return 0x1==_0x13fbff[_0x3975('0xe')]&&(_0x34c2d2[_0x3975('0x63')]+=_0x4944ed[_0x3975('0x3d')](_0xf34a0d)-0x1,_0x34c2d2[_0x3975('0x7')]+=_0x4944ed[_0x3975('0x90')](_0xf34a0d)-0x1),fe(_0x3e97aa,_0x34c2d2,_0x4944ed);}(_0x105fe1,_0x414426,_0x2e0868['model'],_0x36cfd5,_0x421cd4)&&(_0x157d66['stop'](),_0x5242ad={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2e0868['model'][_0x3975('0x88')](()=>{_0x2e0868[_0x3975('0x43')][_0x3975('0x1b')](_0x4eaf30[0x0],_0x4eaf30[0x1],_0x4eaf30[0x2],{'forceDefaultExecution':!0x0});const _0x345d3a=_0x59de26(),{rowInsertionRanges:_0x3c50b8,columnInsertionRanges:_0x3f8b8c,insertionRanges:_0x3fd81e,deletionRanges:_0x1d8d03,cells:_0x38d1d1}=_0x5242ad;_0x3c50b8[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3c50b8,_0x3975('0x2'),{'tablePasteChainId':_0x345d3a}),_0x3f8b8c[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3f8b8c,_0x3975('0x65'),{'tablePasteChainId':_0x345d3a}),_0x3fd81e[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3fd81e,_0x3975('0x8e'),{'tablePasteChainId':_0x345d3a,'skipNestingCheck':!0x0}),_0x1d8d03[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0xd')](_0x1d8d03,'tablePaste',{'tablePasteChainId':_0x345d3a,'skipNestingCheck':!0x0});const _0x28945b=_0x2dcb04[_0x3975('0x3')](_0x38d1d1[_0x3975('0x8c')](({element:_0x4aa535})=>_0x4aa535),{'formatGroupId':_0x59de26()},[],'tablePasteCell',{'tablePasteChainId':_0x345d3a});if(_0x28945b){const _0x297d0b=_0x28945b['getMarkers'](),_0x4a9355=[];for(const {element:_0x373b98,attributes:_0x75199c}of _0x38d1d1){if(!_0x75199c)continue;const _0x4e67c2=_0x2e0868['model']['createRangeOn'](_0x373b98),_0x1471cf=_0x297d0b['find'](_0x2f3b7f=>_0x2f3b7f[_0x3975('0x53')]()[_0x3975('0xa7')](_0x4e67c2));_0x1471cf&&_0x4a9355[_0x3975('0x4')]([_0x1471cf['name'],_0x75199c]);}_0x4a9355[_0x3975('0xe')]&&_0x28945b[_0x3975('0x6a')](_0x3975('0xa0'),Object['fromEntries'](_0x4a9355));}_0x5242ad=null;}));},{'priority':_0x1fcb11['high']+0xa}),_0x2e0868[_0x3975('0x3c')]['get'](_0x3975('0x1'))['on'](_0x3975('0x60'),(_0x35eab3,_0x2f24a1)=>{const [_0x218565,_0x1d0a9b,,_0x8abfe3]=_0x2f24a1;if(!_0x5242ad)return;_0x35eab3[_0x3975('0x49')]();const _0x50954c=_0x218565[_0x3975('0x99')],_0x58ba24=_0x1d0a9b,_0x445f93=ce(_0x50954c),_0x50a9ad=ce(_0x58ba24);_0x35eab3[_0x3975('0x38')]=_0x50954c;let _0x5d83a5=null,_0x20e21d=null;if(_0x50a9ad||_0x445f93){if(_0x445f93&&!_0x50a9ad){_0x8abfe3['remove'](_0x50954c[_0x3975('0x87')](0x0));for(const _0x267297 of Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x9d')]()))_0x8abfe3[_0x3975('0x5f')](_0x267297,_0x50954c,'end');const _0x261d29=_0x5242ad['rowInsertionIndexes'][_0x3975('0x4a')](_0x218565[_0x3975('0x51')]),_0x3f8abd=_0x5242ad['columnInsertionIndexes']['includes'](_0x218565[_0x3975('0x2e')]);_0x261d29||_0x3f8abd||(_0x5d83a5=_0x8abfe3['createRangeIn'](_0x50954c));}else _0x50a9ad&&!_0x445f93&&(_0x20e21d=_0x8abfe3['createRangeIn'](_0x50954c));}else{const _0x407ac1=_0x8abfe3[_0x3975('0x52')](_0x3975('0x92')),_0x31313f=_0x8abfe3['createElement'](_0x3975('0x92'));_0x8abfe3[_0x3975('0x2f')](_0x8abfe3['createRangeIn'](_0x50954c),_0x31313f),_0x8abfe3[_0x3975('0x5f')](_0x407ac1,_0x50954c,0x0);for(const _0x424f76 of Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x9d')]()))_0x8abfe3[_0x3975('0x5f')](_0x424f76,_0x407ac1,_0x3975('0x5a'));_0x5d83a5=_0x8abfe3[_0x3975('0x35')](_0x407ac1),_0x20e21d=_0x8abfe3[_0x3975('0x35')](_0x31313f);}const _0x2e904b=Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x6d')]())[_0x3975('0x4d')](([_0x5b18ba])=>le[_0x3975('0x4a')](_0x5b18ba));_0x5242ad[_0x3975('0x5e')]['push']({'element':_0x50954c,'attributes':_0x2e904b['length']?Object[_0x3975('0x41')](_0x2e904b):null}),_0x5d83a5&&_0x5242ad['insertionRanges'][_0x3975('0x4')](_0x5d83a5),_0x20e21d&&_0x5242ad[_0x3975('0x10')][_0x3975('0x4')](_0x20e21d);},{'priority':_0x3975('0x64')}),_0x36cfd5['on'](_0x3975('0x8b'),(_0x5c7382,_0x24e4a0)=>{const [_0x5bb5d1,_0x2bc60c={}]=_0x24e4a0;if(!_0x5242ad)return;const _0x22aa8e=_0x2bc60c['at']||0x0,_0x351ecd=_0x2bc60c[_0x3975('0x69')]||0x1;_0x5242ad['columnInsertionIndexes']=new Array(_0x351ecd)[_0x3975('0x13')](_0x22aa8e)[_0x3975('0x8c')]((_0x50bc63,_0x39cb0c)=>_0x50bc63+_0x39cb0c);for(const {cell:_0x5f4474}of _0x36cfd5['createTableWalker'](_0x5bb5d1,{'startColumn':_0x22aa8e,'endColumn':_0x22aa8e+_0x351ecd-0x1}))_0x5242ad[_0x3975('0x9b')]['push'](_0x2e0868[_0x3975('0x43')][_0x3975('0x35')](_0x5f4474));},{'priority':_0x3975('0xa6')}),_0x36cfd5['on'](_0x3975('0x3a'),(_0x535bfb,_0x319ef6)=>{const [_0x30d287,_0x3e3967={}]=_0x319ef6;if(!_0x5242ad)return;const _0x44b0f1=_0x3e3967['at']||0x0,_0x219a18=_0x3e3967[_0x3975('0x81')]||0x1;_0x5242ad['rowInsertionIndexes']=new Array(_0x219a18)[_0x3975('0x13')](_0x44b0f1)[_0x3975('0x8c')]((_0x36fafa,_0x504f22)=>_0x36fafa+_0x504f22);for(const {cell:_0x22b331}of _0x36cfd5[_0x3975('0x6c')](_0x30d287,{'startRow':_0x44b0f1,'endRow':_0x44b0f1+_0x219a18-0x1}))_0x5242ad[_0x3975('0x26')]['push'](_0x2e0868['model'][_0x3975('0x35')](_0x22b331));},{'priority':_0x3975('0xa6')}),_0x2dcb04[_0x3975('0x8d')][_0x3975('0x18')](_0x264378=>{if(_0x264378[_0x3975('0x57')]&&_0x264378[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e')))return _0x264378['previous']?{}:{'type':_0x3975('0x33'),'content':_0x1739ff(_0x2e0868['locale'],_0x3975('0x3f'))};});const _0x3a9dd7=()=>!0x1;for(const _0x5f4c09 of[_0x3975('0x8e'),_0x3975('0x65'),_0x3975('0x2'),_0x3975('0x84')])_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x5f4c09,'join',_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x75'),_0x5f4c09,_0x3975('0x93'),_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x17'),_0x5f4c09,_0x3975('0x93'),_0x3a9dd7);_0x2dcb04['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell',_0x3975('0x7c'),_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x17'),_0x3975('0x84'),_0x3975('0x28'),(_0x408730,_0x277add,_0x19070d)=>{const _0x43f505=_0x408730[_0x3975('0x8c')](_0x440195=>_0x440195[_0x3975('0x20')]())[_0x3975('0x4d')](_0x5b0dbb=>_0x5b0dbb),_0x147173=new Map(_0x43f505[_0x3975('0x8c')](_0x47bee2=>[_0x47bee2,null]));if(_0x5242ad)for(const {element:_0x523d5c,attributes:_0x1deab5}of _0x5242ad['cells'])_0x1deab5&&_0x147173['set'](_0x523d5c,_0x1deab5);else{if(_0x19070d&&_0x19070d[_0x3975('0xa0')])for(const [_0x1e7c48,_0x2b3869]of Object[_0x3975('0xa2')](_0x19070d[_0x3975('0xa0')])){const _0x550317=_0x2e0868[_0x3975('0x43')][_0x3975('0x45')]['get'](_0x1e7c48),_0x2c1629=_0x550317?_0x550317[_0x3975('0x53')]()[_0x3975('0x20')]():null;_0x2c1629&&_0x147173['set'](_0x2c1629,_0x2b3869);}}_0x2e0868[_0x3975('0x43')][_0x3975('0x88')](_0x512ced=>{for(const [_0x2618a3,_0x5d4ac6]of _0x147173)_0x512ced[_0x3975('0x96')]({...ae,..._0x5d4ac6},_0x2618a3);});});const _0x322bec=(_0x4335c6,_0x54a233)=>{_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x4335c6,'tablePaste',_0x54a233,(_0x540d83,_0x5880bd,_0x3680ca)=>{_0x2e0868[_0x3975('0x43')]['change'](_0x1b19ed=>{const _0x1a5ebc=[];for(const _0x37a840 of _0x540d83){const _0x5a4a1f=_0x37a840[_0x3975('0x71')][_0x3975('0x77')];_0x5a4a1f['is'](_0x3975('0x1a'),_0x3975('0x92'))&&_0x1a5ebc[_0x3975('0x4')](_0x5a4a1f);}_0x2dcb04[_0x3975('0x47')][_0x3975('0x9e')](_0x4335c6,null,_0x54a233)(_0x540d83,_0x5880bd,_0x3680ca);for(const _0x4d6204 of _0x1a5ebc)_0x3975('0xb')!=_0x4d6204[_0x3975('0x31')][_0x3975('0x25')]&&_0x1b19ed['unwrap'](_0x4d6204);});});};_0x322bec(_0x3975('0x33'),_0x3975('0x28')),_0x322bec(_0x3975('0x33'),_0x3975('0x7c')),_0x322bec('deletion',_0x3975('0x28')),_0x322bec('deletion',_0x3975('0x7c')),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x3975('0x2'),'discard',_0x51d221=>{const _0x4cc92c=_0x51d221[_0x3975('0x8c')](_0x4870f5=>_0x4870f5['getContainedElement']()),_0x45827f=_0x4cc92c[0x0]['findAncestor'](_0x3975('0x1f')),{minRow:_0xeb546e,maxRow:_0x4e4a2c}=_0x1a20c7[_0x3975('0x3b')](_0x4cc92c);_0x36cfd5[_0x3975('0xad')](_0x45827f,{'at':_0xeb546e,'rows':_0x4e4a2c-_0xeb546e+0x1});}),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x3975('0x65'),_0x3975('0x7c'),_0x16037e=>{const _0x384a46=_0x16037e[_0x3975('0x8c')](_0x5ef9fe=>_0x5ef9fe[_0x3975('0x20')]()),_0x512403=_0x384a46[0x0][_0x3975('0x4f')](_0x3975('0x1f')),{minColumn:_0x4fdab3,maxColumn:_0x3f904d}=_0x1a20c7[_0x3975('0x3b')](_0x384a46);_0x36cfd5[_0x3975('0x1d')](_0x512403,{'at':_0x4fdab3,'columns':_0x3f904d-_0x4fdab3+0x1});});const _0x2a6edc=(_0xb04653,_0x597e7a)=>{if(!_0x597e7a[_0x3975('0x57')]||!_0x597e7a[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e')))return;const _0x2e6bbc=_0x597e7a[_0x3975('0x15')]['tablePasteChainId'],_0x1da2eb=_0x2dcb04[_0x3975('0x2b')]()[_0x3975('0x4d')](_0x3b1fe1=>_0x3b1fe1[_0x3975('0x66')]&&_0x3b1fe1['attributes']&&_0x3b1fe1['attributes'][_0x3975('0x1c')]==_0x2e6bbc);_0x1da2eb[_0x3975('0xe')]&&_0x597e7a[_0x3975('0x7a')]()[_0x3975('0xe')]!=_0x1da2eb[_0x3975('0xe')]&&_0x1da2eb[_0x3975('0x9f')]((_0x37bfb2,_0x36e2a6)=>(_0x37bfb2[_0x3975('0x55')]=_0x36e2a6,_0x36e2a6[_0x3975('0x34')]=_0x37bfb2,_0x36e2a6));};function _0x4b9aaa(_0x705a40,_0x52ba27=!0x0){const {id:_0x464c71}=_0x2dcb04[_0x3975('0x48')](_0x705a40['markerName']),_0x3c2b12=[_0x3975('0xaa'),_0x3975('0x58')],_0x25bf3a=_0x2dcb04[_0x3975('0x89')][_0x3975('0x4a')](_0x705a40[_0x3975('0x46')]);return _0x25bf3a&&_0x3c2b12[_0x3975('0x4')](_0x3975('0x50')),{'classes':_0x3c2b12,'attributes':{'data-suggestion':_0x464c71},'priority':_0x25bf3a&&_0x52ba27?0xbc2:0xbb8};}_0x2dcb04['on']('suggestionLoaded',_0x2a6edc,{'priority':_0x3975('0x64')}),_0x2dcb04['on']('suggestionUnloaded',_0x2a6edc,{'priority':_0x3975('0x64')}),_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x44')](()=>{let _0x12448e=!0x1;const _0x4aa001=Array[_0x3975('0xa9')](_0x2e0868['model']['document'][_0x3975('0x36')][_0x3975('0x6b')]());for(const {name:_0x112fe6,data:_0x5ca26f}of _0x4aa001){const {group:_0x1f3e1d,type:_0x368a2e,id:_0x3b6481}=_0x2dcb04['_splitMarkerName'](_0x112fe6);if(_0x3975('0x5b')!=_0x1f3e1d||_0x3975('0x75')!=_0x368a2e||_0x5ca26f[_0x3975('0x9')])continue;if(!_0x2dcb04[_0x3975('0x94')](_0x3b6481))continue;const _0x22ee11=_0x2dcb04[_0x3975('0x2c')](_0x3b6481)[_0x3975('0x2d')](),_0x13aea2=_0x2e0868[_0x3975('0x3c')]['get'](_0x3975('0x6e'))['me'];for(const _0x117d28 of _0x2dcb04[_0x3975('0x2b')]()){if(!_0x117d28['isInContent']||_0x117d28['author']!=_0x13aea2)continue;if(_0x3975('0x17')!=_0x117d28['type']||_0x3975('0x84')!=_0x117d28[_0x3975('0x57')])continue;if(_0x117d28[_0x3975('0x2d')]()[_0x3975('0x59')](_0x1901c5=>_0x22ee11[_0x3975('0x1e')](_0x5e5b1d=>_0x5e5b1d[_0x3975('0x67')](_0x1901c5,!0x0))))for(const _0x5e2c40 of _0x117d28[_0x3975('0x7a')]())_0x5e2c40[_0x3975('0x66')]&&(_0x5e2c40['discard'](),_0x12448e=!0x0);}}return _0x12448e;}),_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x44')](_0x9d5e5a=>{const _0x4d45c5=_0x2e0868[_0x3975('0x9a')][_0x3975('0xab')](_0x3975('0x7d'));if(!_0x4d45c5||!_0x4d45c5[_0x3975('0x23')][_0x3975('0x42')](_0x9d5e5a[_0x3975('0x83')]))return!0x1;let _0x4bd16f=!0x1;const _0x39e9d3=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x6e'))['me'],_0xf7b33=_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')]['differ'][_0x3975('0xa3')](),_0x2e19de=Array[_0x3975('0xa9')](_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x36')][_0x3975('0x6b')]())['filter'](({name:_0x33ddd4,data:_0x74b416})=>{const {group:_0x349d0d,subType:_0xceb439,authorId:_0x2a330c}=_0x2dcb04[_0x3975('0x48')](_0x33ddd4);return _0x3975('0x5b')==_0x349d0d&&_0x3975('0x8e')==_0xceb439&&_0x2a330c==_0x39e9d3['id']&&!_0x74b416[_0x3975('0x9')];});for(const _0x3d160e of _0xf7b33){if(_0x3975('0x5f')!=_0x3d160e[_0x3975('0x7e')]||_0x3975('0x92')!=_0x3d160e[_0x3975('0x82')]||0x1!=_0x3d160e[_0x3975('0xe')])continue;const _0x1bc423=_0x9d5e5a[_0x3975('0x95')](_0x3d160e[_0x3975('0x2a')],_0x3d160e[_0x3975('0x2a')][_0x3975('0x4e')](0x1));if(!_0x2e19de[_0x3975('0x85')](({data:_0x579ee4})=>_0x579ee4[_0x3975('0x19')][_0x3975('0xa7')](_0x1bc423)))for(const {name:_0x1d30f6,data:_0x11a2a2}of _0x2e19de)if(_0x1bc423[_0x3975('0x67')](_0x11a2a2['newRange'])){_0x9d5e5a[_0x3975('0x6')](_0x1d30f6,{'range':_0x1bc423}),_0x4bd16f=!0x0;break;}}return _0x4bd16f;}),_0x2e0868[_0x3975('0x43')]['document'][_0x3975('0x44')](_0xfb1d69=>{let _0x153851=!0x1;const _0x134880=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')]('Users')['me'],_0x326a85=_0x2dcb04[_0x3975('0x2b')]()['filter'](_0x4a1e43=>_0x4a1e43[_0x3975('0x66')]&&_0x4a1e43[_0x3975('0xa8')]==_0x134880),_0x236219=new Set(),_0x42556a=new Set();for(const _0x601d8e of _0x326a85)if(_0x3975('0x8e')==_0x601d8e[_0x3975('0x57')])for(const _0x5caadc of _0x601d8e[_0x3975('0x5')]()){const _0x56b1c7=_0x5caadc[_0x3975('0x53')]()[_0x3975('0x20')]();if(_0x56b1c7){if(_0x56b1c7['is'](_0x3975('0x1a'),_0x3975('0x92'))&&ce(_0x56b1c7)){_0x601d8e[_0x3975('0x9c')](_0x5caadc[_0x3975('0x82')]),_0x236219[_0x3975('0x11')](_0x56b1c7),_0x153851=!0x0;const _0x4d640a=_0x56b1c7[_0x3975('0x56')],_0x47de71=_0x56b1c7[_0x3975('0xac')],_0x163148=_0x4d640a&&_0x4d640a['is'](_0x3975('0x1a'),'tableCellSuggestion'),_0x366882=_0x47de71&&_0x47de71['is']('element',_0x3975('0x92'));_0x163148&&!_0x236219[_0x3975('0x42')](_0x4d640a)&&_0x42556a[_0x3975('0x11')](_0x4d640a),_0x366882&&!_0x236219[_0x3975('0x42')](_0x47de71)&&_0x42556a[_0x3975('0x11')](_0x47de71);}else _0x56b1c7['is']('element',_0x3975('0x54'))&&_0x56b1c7[_0x3975('0x7b')]&&(_0x601d8e['removeMarker'](_0x5caadc[_0x3975('0x82')]),_0x153851=!0x0);}}else{if(_0x3975('0x84')==_0x601d8e[_0x3975('0x57')]){if(!_0x601d8e[_0x3975('0x15')]||!_0x601d8e['attributes']['tablePasteChainId'])continue;const _0x231bc8=_0x601d8e[_0x3975('0x15')][_0x3975('0xa0')];if(_0x231bc8&&Object[_0x3975('0x5c')](_0x231bc8)['length'])continue;const _0x3b1bcc=_0x601d8e[_0x3975('0x15')][_0x3975('0x1c')];let _0x512a54=!0x0,_0x51923f=!0x0;for(const _0x15b895 of _0x326a85)if(_0x15b895[_0x3975('0x57')]&&_0x15b895[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e'))){if(!_0x15b895['attributes'][_0x3975('0x1c')]){_0x51923f=!0x1;break;}if(_0x15b895['id']!=_0x601d8e['id']&&_0x15b895[_0x3975('0x15')][_0x3975('0x1c')]==_0x3b1bcc){_0x512a54=!0x1;break;}}_0x51923f&&_0x512a54&&(_0x601d8e[_0x3975('0x8f')](),_0x153851=!0x0);}}for(const _0x6c5b94 of _0x236219)_0xfb1d69[_0x3975('0x4c')](_0x6c5b94);for(const _0x202b6d of _0x42556a)_0xfb1d69[_0x3975('0x37')](_0x202b6d);return _0x153851;}),_0x2e0868['conversion'][_0x3975('0x79')](_0x3975('0x30'))[_0x3975('0x6f')]({'model':_0x3975('0x21'),'view':(_0x4c5f9c,_0x1d86f8)=>_0x4b9aaa(_0x4c5f9c),'converterPriority':_0x3975('0x64')}),_0x2e0868[_0x3975('0xc')][_0x3975('0x79')]('dataDowncast')[_0x3975('0x6f')]({'model':_0x3975('0x21'),'view':(_0x56492c,_0xd4836a)=>_0xd4836a[_0x3975('0x7f')][_0x3975('0x24')]?_0x4b9aaa(_0x56492c,!0x1):null,'converterPriority':'high'});const _0x5ce24c=_0x2e0868['editing'][_0x3975('0x72')];this[_0x3975('0x40')](_0x5ce24c['document'],_0x3975('0x76'),(_0x2bbc83,_0x2f3341)=>{const _0x2f6c5f=[];for(const _0xdd353a of _0x5ce24c['createRangeIn'](_0x2f3341[_0x3975('0x14')])[_0x3975('0xf')]())_0xdd353a['is'](_0x3975('0x1a'),_0x3975('0x32'))&&_0x2f6c5f[_0x3975('0x4')](_0xdd353a);_0x5ce24c[_0x3975('0x88')](_0x3c0d37=>{for(const _0x91e68e of _0x2f6c5f)_0x3c0d37[_0x3975('0x8a')](_0x3c0d37['createRangeIn'](_0x91e68e),_0x3c0d37[_0x3975('0x73')](_0x91e68e)),_0x3c0d37[_0x3975('0x4c')](_0x91e68e);});});}}function ce(_0x19d085){if(_0x19d085['isEmpty'])return!0x0;const _0xded826=_0x19d085[_0x3975('0x87')](0x0);return _0xded826['is'](_0x3975('0x1a'),'paragraph')&&_0xded826['isEmpty'];}function fe(_0x49fa29,_0x1cbb76={},_0x3852e1){for(const {isAnchor:_0x37d172,cellHeight:_0x10e966,cellWidth:_0x238f5d}of _0x3852e1[_0x3975('0x6c')](_0x49fa29,{'includeAllSlots':!0x0,..._0x1cbb76}))if(!_0x37d172||0x1!=_0x10e966||0x1!=_0x238f5d)return!0x1;return!0x0;}
23
+ const _0x4036=['author','add','setAttributes','discard','getRows','getItems','type','TableClipboard','registerDescriptionCallback','cell','ck-suggestion-marker--active','paragraph','isEqual','*Replace\x20table\x20cells*','createRangeIn','markerAttributes','registerCustomCallback','forceDefaultExecution','tableCellSuggestion','fill','previous','subType','createRange','nodeAfter','_tablePostFixingSubtypes','tablePaste','getAllAdjacentSuggestions','return','map','Users','documentSelection','tableCellBackgroundColor','_suggestionFactory','newRange','from','markMultiRangeInsertion','deletionRanges','TrackChangesEditing','schema','suggestionUnloaded','requires','rows','_getCoordsForCells','getRanges','tableCell','editor','getColumns','tablePasteCell','removeMarkers','attributes','join','getColumnIndexes','value','afterInit','some','filter','tableCellBorderStyle','low','keys','for','tablePasteChainId','getSelectionAffectedTableCells','last','end','batch','isInContent','startsWith','remove','unwrap','oldRange','trackChanges','tablePasteRow','_createdBatches','getSuggestionCallback','move','stop','_splitMarkerName','differ','markMultiRangeDeletion','getChangedMarkers','tablePasteColumn','view','conversion','ck-suggestion-marker-insertion','insertContent','start','cells','insertRows','position','createRangeOn','insertion','get','columns','getAttributes','getContainedElement','getRange','getTableIfOnlyTableInContent','rootName','insert','find','getChild','includes','removeRows','getMarkers','document','register','high','fromEntries','columnInsertionIndexes','element','createTableWalker','createElement','first','deletion','locale','row','model','removeMarker','has','column','table','formatBlock','$graveyard','length','markerName','markerToHighlight','commands','elementToElement','ck-suggestion-marker','removeColumns','next','change','editing','suggestion-td','entries','getChanges','registerPostFixer','suggestion:formatBlock:tablePasteCell','clipboardOutput','isEmpty','markers','containsRange','suggestion','plugins','endColumn','name','findAncestor','accept','getSuggestions','push','markMultiRangeBlockFormat','getChildren'];(function(_0x5e07e8,_0x40366b){const _0x482ed2=function(_0x531d8a){while(--_0x531d8a){_0x5e07e8['push'](_0x5e07e8['shift']());}};_0x482ed2(++_0x40366b);}(_0x4036,0x1ef));const _0x482e=function(_0x5e07e8,_0x40366b){_0x5e07e8=_0x5e07e8-0x0;let _0x482ed2=_0x4036[_0x5e07e8];return _0x482ed2;};import{getTranslation as _0x32d509}from'../utils/common-translations';import{Plugin as _0x56a1a1}from'ckeditor5/src/core';import{uid as _0x160968,priorities as _0x51ed32}from'ckeditor5/src/utils';import _0x33fb1e from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0x482e('0x11'),'tableCellHorizontalAlignment','tableCellVerticalAlignment',_0x482e('0x90'),'tableCellPadding'],ae=Object[_0x482e('0x44')](le[_0x482e('0x8d')](_0x536a23=>[_0x536a23,null]));export default class At extends _0x56a1a1{static get[_0x482e('0x1')](){return[_0x33fb1e];}[_0x482e('0xe')](){const _0x9286c4=this[_0x482e('0x6')];if(!_0x9286c4[_0x482e('0x68')][_0x482e('0x4f')](_0x482e('0x78')))return;const _0x40201c=_0x9286c4['plugins'][_0x482e('0x34')](_0x482e('0x96')),_0x9cc208=_0x9286c4['plugins'][_0x482e('0x34')]('TableUtils'),_0x14ab4b=_0x9286c4[_0x482e('0x68')][_0x482e('0x34')](_0x33fb1e),_0x4389ee=_0x9286c4['plugins'][_0x482e('0x34')](_0x482e('0x78'));_0x14ab4b[_0x482e('0x89')][_0x482e('0x6e')]('tablePasteRow','tablePasteColumn'),_0x9286c4[_0x482e('0x4d')][_0x482e('0x97')][_0x482e('0x42')](_0x482e('0x83'),{'allowIn':_0x482e('0x5'),'allowContentOf':_0x482e('0x5'),'isLimit':!0x0}),_0x9286c4[_0x482e('0x2b')][_0x482e('0x58')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x191931=null;_0x9286c4['model']['on'](_0x482e('0x2d'),(_0x199174,_0x5b1ca2)=>{const [_0x551384,_0xe5f8f0]=_0x5b1ca2,_0x650ce9=_0x5b1ca2[_0x5b1ca2[_0x482e('0x54')]-0x1];_0x650ce9&&_0x650ce9[_0x482e('0x82')]||_0x40201c['_isForcedDefaultExecutionBlock']||this[_0x482e('0x6')][_0x482e('0x57')][_0x482e('0x34')](_0x482e('0x1f'))[_0x482e('0xd')]&&function(_0x14ba55,_0x350266,_0x1bb1b2,_0x34a596,_0x1aca8b){if(_0x350266&&!_0x350266['is'](_0x482e('0x8f')))return!0x1;const _0x22570f=_0x1aca8b[_0x482e('0x39')](_0x14ba55,_0x1bb1b2);if(!_0x22570f||!fe(_0x22570f,void 0x0,_0x34a596))return!0x1;const _0x451620=_0x34a596[_0x482e('0x16')](_0x1bb1b2[_0x482e('0x41')]['selection']);if(!_0x451620['length'])return!0x1;const _0x4ddb11=_0x451620[0x0][_0x482e('0x6b')](_0x482e('0x51')),_0x5c2e39=_0x34a596['getRowIndexes'](_0x451620),_0x584f0c=_0x34a596[_0x482e('0xc')](_0x451620),_0x4f6933={'startRow':_0x5c2e39[_0x482e('0x49')],'endRow':_0x5c2e39[_0x482e('0x17')],'startColumn':_0x584f0c[_0x482e('0x49')],'endColumn':_0x584f0c[_0x482e('0x17')]};return 0x1==_0x451620[_0x482e('0x54')]&&(_0x4f6933['endRow']+=_0x34a596[_0x482e('0x75')](_0x22570f)-0x1,_0x4f6933[_0x482e('0x69')]+=_0x34a596[_0x482e('0x7')](_0x22570f)-0x1),fe(_0x4ddb11,_0x4f6933,_0x34a596);}(_0x551384,_0xe5f8f0,_0x9286c4['model'],_0x9cc208,_0x4389ee)&&(_0x199174[_0x482e('0x24')](),_0x191931={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x9286c4[_0x482e('0x4d')][_0x482e('0x5c')](()=>{_0x9286c4[_0x482e('0x4d')][_0x482e('0x2d')](_0x5b1ca2[0x0],_0x5b1ca2[0x1],_0x5b1ca2[0x2],{'forceDefaultExecution':!0x0});const _0x41cc1d=_0x160968(),{rowInsertionRanges:_0x44da5b,columnInsertionRanges:_0x25ca39,insertionRanges:_0x1061a9,deletionRanges:_0x166916,cells:_0x51a12c}=_0x191931;_0x44da5b[_0x482e('0x54')]&&_0x40201c[_0x482e('0x94')](_0x44da5b,_0x482e('0x20'),{'tablePasteChainId':_0x41cc1d}),_0x25ca39[_0x482e('0x54')]&&_0x40201c['markMultiRangeInsertion'](_0x25ca39,_0x482e('0x29'),{'tablePasteChainId':_0x41cc1d}),_0x1061a9[_0x482e('0x54')]&&_0x40201c[_0x482e('0x94')](_0x1061a9,'tablePaste',{'tablePasteChainId':_0x41cc1d,'skipNestingCheck':!0x0}),_0x166916[_0x482e('0x54')]&&_0x40201c[_0x482e('0x27')](_0x166916,_0x482e('0x8a'),{'tablePasteChainId':_0x41cc1d,'skipNestingCheck':!0x0});const _0x35b4e0=_0x40201c[_0x482e('0x6f')](_0x51a12c[_0x482e('0x8d')](({element:_0xff7b6e})=>_0xff7b6e),{'formatGroupId':_0x160968()},[],_0x482e('0x8'),{'tablePasteChainId':_0x41cc1d});if(_0x35b4e0){const _0x20b1da=_0x35b4e0[_0x482e('0x40')](),_0x11241e=[];for(const {element:_0x2047fc,attributes:_0x51cf52}of _0x51a12c){if(!_0x51cf52)continue;const _0x1012a4=_0x9286c4[_0x482e('0x4d')]['createRangeOn'](_0x2047fc),_0x345ffe=_0x20b1da[_0x482e('0x3c')](_0x5ecc29=>_0x5ecc29['getRange']()['isEqual'](_0x1012a4));_0x345ffe&&_0x11241e[_0x482e('0x6e')]([_0x345ffe[_0x482e('0x6a')],_0x51cf52]);}_0x11241e[_0x482e('0x54')]&&_0x35b4e0['setAttribute'](_0x482e('0x80'),Object[_0x482e('0x44')](_0x11241e));}_0x191931=null;}));},{'priority':_0x51ed32[_0x482e('0x43')]+0xa}),_0x9286c4[_0x482e('0x68')][_0x482e('0x34')](_0x482e('0x78'))['on']('_replaceTableSlotCell',(_0xb7cef7,_0x359eb9)=>{const [_0x262fca,_0x29f015,,_0xcea234]=_0x359eb9;if(!_0x191931)return;_0xb7cef7[_0x482e('0x24')]();const _0x3c8a16=_0x262fca[_0x482e('0x7a')],_0x52c340=_0x29f015,_0x25803c=ce(_0x3c8a16),_0x25132b=ce(_0x52c340);_0xb7cef7[_0x482e('0x8c')]=_0x3c8a16;let _0x1811a4=null,_0x3627d1=null;if(_0x25132b||_0x25803c){if(_0x25803c&&!_0x25132b){_0xcea234[_0x482e('0x1c')](_0x3c8a16['getChild'](0x0));for(const _0x1c31a6 of Array['from'](_0x52c340[_0x482e('0x70')]()))_0xcea234[_0x482e('0x3b')](_0x1c31a6,_0x3c8a16,'end');const _0x18f504=_0x191931['rowInsertionIndexes'][_0x482e('0x3e')](_0x262fca[_0x482e('0x4c')]),_0x4f70cf=_0x191931[_0x482e('0x45')][_0x482e('0x3e')](_0x262fca[_0x482e('0x50')]);_0x18f504||_0x4f70cf||(_0x1811a4=_0xcea234[_0x482e('0x7f')](_0x3c8a16));}else _0x25132b&&!_0x25803c&&(_0x3627d1=_0xcea234['createRangeIn'](_0x3c8a16));}else{const _0x90da8d=_0xcea234[_0x482e('0x48')](_0x482e('0x83')),_0x463104=_0xcea234[_0x482e('0x48')](_0x482e('0x83'));_0xcea234['wrap'](_0xcea234[_0x482e('0x7f')](_0x3c8a16),_0x463104),_0xcea234[_0x482e('0x3b')](_0x90da8d,_0x3c8a16,0x0);for(const _0x181d0e of Array[_0x482e('0x93')](_0x52c340[_0x482e('0x70')]()))_0xcea234[_0x482e('0x3b')](_0x181d0e,_0x90da8d,_0x482e('0x18'));_0x1811a4=_0xcea234[_0x482e('0x32')](_0x90da8d),_0x3627d1=_0xcea234[_0x482e('0x32')](_0x463104);}const _0x1c0078=Array[_0x482e('0x93')](_0x52c340[_0x482e('0x36')]())[_0x482e('0x10')](([_0x31250e])=>le['includes'](_0x31250e));_0x191931[_0x482e('0x2f')]['push']({'element':_0x3c8a16,'attributes':_0x1c0078['length']?Object['fromEntries'](_0x1c0078):null}),_0x1811a4&&_0x191931['insertionRanges'][_0x482e('0x6e')](_0x1811a4),_0x3627d1&&_0x191931[_0x482e('0x95')]['push'](_0x3627d1);},{'priority':_0x482e('0x43')}),_0x9cc208['on']('insertColumns',(_0x28c78b,_0x13cccc)=>{const [_0x26d908,_0x32660c={}]=_0x13cccc;if(!_0x191931)return;const _0x4a92dd=_0x32660c['at']||0x0,_0x4feda0=_0x32660c[_0x482e('0x35')]||0x1;_0x191931[_0x482e('0x45')]=new Array(_0x4feda0)['fill'](_0x4a92dd)[_0x482e('0x8d')]((_0x56193d,_0x4b7030)=>_0x56193d+_0x4b7030);for(const {cell:_0x1c6e91}of _0x9cc208[_0x482e('0x47')](_0x26d908,{'startColumn':_0x4a92dd,'endColumn':_0x4a92dd+_0x4feda0-0x1}))_0x191931['columnInsertionRanges']['push'](_0x9286c4[_0x482e('0x4d')][_0x482e('0x32')](_0x1c6e91));},{'priority':_0x482e('0x12')}),_0x9cc208['on'](_0x482e('0x30'),(_0x2a2bf7,_0x1355bc)=>{const [_0x524108,_0x15a61e={}]=_0x1355bc;if(!_0x191931)return;const _0x88957e=_0x15a61e['at']||0x0,_0x22d66e=_0x15a61e[_0x482e('0x2')]||0x1;_0x191931['rowInsertionIndexes']=new Array(_0x22d66e)[_0x482e('0x84')](_0x88957e)[_0x482e('0x8d')]((_0x5e1c86,_0x41bb06)=>_0x5e1c86+_0x41bb06);for(const {cell:_0x1eb858}of _0x9cc208['createTableWalker'](_0x524108,{'startRow':_0x88957e,'endRow':_0x88957e+_0x22d66e-0x1}))_0x191931['rowInsertionRanges']['push'](_0x9286c4[_0x482e('0x4d')]['createRangeOn'](_0x1eb858));},{'priority':_0x482e('0x12')}),_0x40201c['_descriptionFactory'][_0x482e('0x79')](_0x5b4aac=>{if(_0x5b4aac[_0x482e('0x86')]&&_0x5b4aac[_0x482e('0x86')][_0x482e('0x1b')]('tablePaste'))return _0x5b4aac[_0x482e('0x85')]?{}:{'type':_0x482e('0x33'),'content':_0x32d509(_0x9286c4[_0x482e('0x4b')],_0x482e('0x7e'))};});const _0x1a519c=()=>!0x1;for(const _0x4be70c of['tablePaste','tablePasteColumn',_0x482e('0x20'),_0x482e('0x8')])_0x40201c[_0x482e('0x91')]['registerCustomCallback'](_0x482e('0x33'),_0x4be70c,_0x482e('0xb'),_0x1a519c),_0x40201c['_suggestionFactory'][_0x482e('0x81')](_0x482e('0x4a'),_0x4be70c,_0x482e('0xb'),_0x1a519c),_0x40201c['_suggestionFactory']['registerCustomCallback'](_0x482e('0x52'),_0x4be70c,_0x482e('0xb'),_0x1a519c);_0x40201c[_0x482e('0x91')][_0x482e('0x81')](_0x482e('0x52'),_0x482e('0x8'),_0x482e('0x74'),_0x1a519c),_0x40201c[_0x482e('0x91')]['registerCustomCallback'](_0x482e('0x52'),'tablePasteCell','accept',(_0x3bf10c,_0x28ccd5,_0x4dddab)=>{const _0x4bb3d1=_0x3bf10c['map'](_0xf312c1=>_0xf312c1[_0x482e('0x37')]())[_0x482e('0x10')](_0x5dde9a=>_0x5dde9a),_0x519b8d=new Map(_0x4bb3d1[_0x482e('0x8d')](_0x281c8a=>[_0x281c8a,null]));if(_0x191931)for(const {element:_0x46490d,attributes:_0x15a6a1}of _0x191931[_0x482e('0x2f')])_0x15a6a1&&_0x519b8d['set'](_0x46490d,_0x15a6a1);else{if(_0x4dddab&&_0x4dddab[_0x482e('0x80')])for(const [_0x49d96b,_0x5769e9]of Object[_0x482e('0x5f')](_0x4dddab[_0x482e('0x80')])){const _0x43dde1=_0x9286c4['model'][_0x482e('0x65')][_0x482e('0x34')](_0x49d96b),_0x26ce16=_0x43dde1?_0x43dde1[_0x482e('0x38')]()[_0x482e('0x37')]():null;_0x26ce16&&_0x519b8d['set'](_0x26ce16,_0x5769e9);}}_0x9286c4['model']['change'](_0x56c11e=>{for(const [_0x4e787b,_0x44eeb8]of _0x519b8d)_0x56c11e[_0x482e('0x73')]({...ae,..._0x44eeb8},_0x4e787b);});});const _0x2adbe0=(_0x2d92db,_0x11869c)=>{_0x40201c[_0x482e('0x91')]['registerCustomCallback'](_0x2d92db,'tablePaste',_0x11869c,(_0x444992,_0x2098f8,_0x155914)=>{_0x9286c4['model'][_0x482e('0x5c')](_0x2e8fe3=>{const _0x5f209d=[];for(const _0x4d3ab5 of _0x444992){const _0x5f2c3f=_0x4d3ab5[_0x482e('0x2e')][_0x482e('0x88')];_0x5f2c3f['is'](_0x482e('0x46'),_0x482e('0x83'))&&_0x5f209d[_0x482e('0x6e')](_0x5f2c3f);}_0x40201c[_0x482e('0x91')][_0x482e('0x22')](_0x2d92db,null,_0x11869c)(_0x444992,_0x2098f8,_0x155914);for(const _0x2ff10e of _0x5f209d)_0x482e('0x53')!=_0x2ff10e['root'][_0x482e('0x3a')]&&_0x2e8fe3[_0x482e('0x1d')](_0x2ff10e);});});};_0x2adbe0(_0x482e('0x33'),_0x482e('0x6c')),_0x2adbe0(_0x482e('0x33'),'discard'),_0x2adbe0(_0x482e('0x4a'),_0x482e('0x6c')),_0x2adbe0(_0x482e('0x4a'),_0x482e('0x74')),_0x40201c[_0x482e('0x91')]['registerCustomCallback'](_0x482e('0x33'),'tablePasteRow',_0x482e('0x74'),_0x5dfd80=>{const _0x3e7645=_0x5dfd80[_0x482e('0x8d')](_0x26e408=>_0x26e408['getContainedElement']()),_0xd6683d=_0x3e7645[0x0][_0x482e('0x6b')](_0x482e('0x51')),{minRow:_0x2eda37,maxRow:_0x555cee}=_0x14ab4b['_getCoordsForCells'](_0x3e7645);_0x9cc208[_0x482e('0x3f')](_0xd6683d,{'at':_0x2eda37,'rows':_0x555cee-_0x2eda37+0x1});}),_0x40201c[_0x482e('0x91')][_0x482e('0x81')]('insertion','tablePasteColumn',_0x482e('0x74'),_0x12a04e=>{const _0x43a8ea=_0x12a04e['map'](_0x5f42c0=>_0x5f42c0[_0x482e('0x37')]()),_0x159ecd=_0x43a8ea[0x0][_0x482e('0x6b')](_0x482e('0x51')),{minColumn:_0x9a6835,maxColumn:_0x42a4a0}=_0x14ab4b[_0x482e('0x3')](_0x43a8ea);_0x9cc208[_0x482e('0x5a')](_0x159ecd,{'at':_0x9a6835,'columns':_0x42a4a0-_0x9a6835+0x1});});const _0x24eb72=(_0x34caad,_0xe9a31b)=>{if(!_0xe9a31b['subType']||!_0xe9a31b[_0x482e('0x86')][_0x482e('0x1b')]('tablePaste'))return;const _0x78e9f5=_0xe9a31b['attributes'][_0x482e('0x15')],_0x431a2b=_0x40201c['getSuggestions']()[_0x482e('0x10')](_0x21fa3d=>_0x21fa3d['isInContent']&&_0x21fa3d['attributes']&&_0x21fa3d[_0x482e('0xa')][_0x482e('0x15')]==_0x78e9f5);_0x431a2b[_0x482e('0x54')]&&_0xe9a31b[_0x482e('0x8b')]()[_0x482e('0x54')]!=_0x431a2b[_0x482e('0x54')]&&_0x431a2b['reduce']((_0x595569,_0x5c6780)=>(_0x595569[_0x482e('0x5b')]=_0x5c6780,_0x5c6780[_0x482e('0x85')]=_0x595569,_0x5c6780));};function _0x594ccb(_0x4fba10,_0x421078=!0x0){const {id:_0x238f9d}=_0x40201c[_0x482e('0x25')](_0x4fba10[_0x482e('0x55')]),_0x59de93=[_0x482e('0x59'),_0x482e('0x2c')],_0x4236b2=_0x40201c['activeMarkers'][_0x482e('0x3e')](_0x4fba10[_0x482e('0x55')]);return _0x4236b2&&_0x59de93[_0x482e('0x6e')](_0x482e('0x7b')),{'classes':_0x59de93,'attributes':{'data-suggestion':_0x238f9d},'priority':_0x4236b2&&_0x421078?0xbc2:0xbb8};}_0x40201c['on']('suggestionLoaded',_0x24eb72,{'priority':_0x482e('0x43')}),_0x40201c['on'](_0x482e('0x0'),_0x24eb72,{'priority':_0x482e('0x43')}),_0x9286c4[_0x482e('0x4d')]['document']['registerPostFixer'](()=>{let _0x548e01=!0x1;const _0x61bfd2=Array['from'](_0x9286c4[_0x482e('0x4d')]['document'][_0x482e('0x26')][_0x482e('0x28')]());for(const {name:_0x2a6c82,data:_0x211b70}of _0x61bfd2){const {group:_0x3ee054,type:_0x2c77cd,id:_0x5359af}=_0x40201c[_0x482e('0x25')](_0x2a6c82);if(_0x482e('0x67')!=_0x3ee054||_0x482e('0x4a')!=_0x2c77cd||_0x211b70[_0x482e('0x1e')])continue;if(!_0x40201c['hasSuggestion'](_0x5359af))continue;const _0x180532=_0x40201c['getSuggestion'](_0x5359af)[_0x482e('0x4')](),_0x93f208=_0x9286c4[_0x482e('0x68')][_0x482e('0x34')](_0x482e('0x8e'))['me'];for(const _0x5c4e05 of _0x40201c[_0x482e('0x6d')]()){if(!_0x5c4e05[_0x482e('0x1a')]||_0x5c4e05[_0x482e('0x71')]!=_0x93f208)continue;if(_0x482e('0x52')!=_0x5c4e05['type']||_0x482e('0x8')!=_0x5c4e05['subType'])continue;if(_0x5c4e05[_0x482e('0x4')]()['every'](_0x1c8bf4=>_0x180532[_0x482e('0xf')](_0x2afeac=>_0x2afeac[_0x482e('0x66')](_0x1c8bf4,!0x0))))for(const _0x241cfc of _0x5c4e05['getAllAdjacentSuggestions']())_0x241cfc['isInContent']&&(_0x241cfc[_0x482e('0x74')](),_0x548e01=!0x0);}}return _0x548e01;}),_0x9286c4[_0x482e('0x4d')]['document']['registerPostFixer'](_0x299b67=>{const _0x4af57e=_0x9286c4[_0x482e('0x57')]['get']('redo');if(!_0x4af57e||!_0x4af57e[_0x482e('0x21')][_0x482e('0x4f')](_0x299b67[_0x482e('0x19')]))return!0x1;let _0x133291=!0x1;const _0x438b81=_0x9286c4[_0x482e('0x68')][_0x482e('0x34')](_0x482e('0x8e'))['me'],_0x35f96d=_0x9286c4['model'][_0x482e('0x41')]['differ'][_0x482e('0x60')](),_0x38cf54=Array['from'](_0x9286c4[_0x482e('0x4d')][_0x482e('0x41')][_0x482e('0x26')][_0x482e('0x28')]())[_0x482e('0x10')](({name:_0x2a7bcd,data:_0x9caeca})=>{const {group:_0x4a001f,subType:_0x7853fb,authorId:_0x1bc89f}=_0x40201c[_0x482e('0x25')](_0x2a7bcd);return _0x482e('0x67')==_0x4a001f&&_0x482e('0x8a')==_0x7853fb&&_0x1bc89f==_0x438b81['id']&&!_0x9caeca[_0x482e('0x1e')];});for(const _0x5b49d4 of _0x35f96d){if(_0x482e('0x3b')!=_0x5b49d4[_0x482e('0x77')]||_0x482e('0x83')!=_0x5b49d4['name']||0x1!=_0x5b49d4[_0x482e('0x54')])continue;const _0x7e9986=_0x299b67[_0x482e('0x87')](_0x5b49d4[_0x482e('0x31')],_0x5b49d4[_0x482e('0x31')]['getShiftedBy'](0x1));if(!_0x38cf54['find'](({data:_0x3a8582})=>_0x3a8582[_0x482e('0x92')][_0x482e('0x7d')](_0x7e9986)))for(const {name:_0x3ad39d,data:_0x50caef}of _0x38cf54)if(_0x7e9986['containsRange'](_0x50caef[_0x482e('0x92')])){_0x299b67['updateMarker'](_0x3ad39d,{'range':_0x7e9986}),_0x133291=!0x0;break;}}return _0x133291;}),_0x9286c4[_0x482e('0x4d')]['document'][_0x482e('0x61')](_0x23c548=>{let _0x2796d9=!0x1;const _0x13e1b5=_0x9286c4[_0x482e('0x68')]['get']('Users')['me'],_0x35c535=_0x40201c[_0x482e('0x6d')]()['filter'](_0x236b67=>_0x236b67[_0x482e('0x1a')]&&_0x236b67[_0x482e('0x71')]==_0x13e1b5),_0x4de513=new Set(),_0x4f01d9=new Set();for(const _0xc97a5d of _0x35c535)if(_0x482e('0x8a')==_0xc97a5d[_0x482e('0x86')])for(const _0x3968c1 of _0xc97a5d[_0x482e('0x40')]()){const _0x47e32d=_0x3968c1[_0x482e('0x38')]()['getContainedElement']();if(_0x47e32d){if(_0x47e32d['is'](_0x482e('0x46'),_0x482e('0x83'))&&ce(_0x47e32d)){_0xc97a5d[_0x482e('0x4e')](_0x3968c1[_0x482e('0x6a')]),_0x4de513[_0x482e('0x72')](_0x47e32d),_0x2796d9=!0x0;const _0x4c6a54=_0x47e32d['nextSibling'],_0x1f7fb0=_0x47e32d['previousSibling'],_0x27a6e4=_0x4c6a54&&_0x4c6a54['is'](_0x482e('0x46'),_0x482e('0x83')),_0x4cd230=_0x1f7fb0&&_0x1f7fb0['is']('element',_0x482e('0x83'));_0x27a6e4&&!_0x4de513[_0x482e('0x4f')](_0x4c6a54)&&_0x4f01d9[_0x482e('0x72')](_0x4c6a54),_0x4cd230&&!_0x4de513[_0x482e('0x4f')](_0x1f7fb0)&&_0x4f01d9[_0x482e('0x72')](_0x1f7fb0);}else _0x47e32d['is'](_0x482e('0x46'),_0x482e('0x7c'))&&_0x47e32d[_0x482e('0x64')]&&(_0xc97a5d[_0x482e('0x4e')](_0x3968c1['name']),_0x2796d9=!0x0);}}else{if(_0x482e('0x8')==_0xc97a5d[_0x482e('0x86')]){if(!_0xc97a5d[_0x482e('0xa')]||!_0xc97a5d[_0x482e('0xa')][_0x482e('0x15')])continue;const _0x1768ec=_0xc97a5d[_0x482e('0xa')]['markerAttributes'];if(_0x1768ec&&Object[_0x482e('0x13')](_0x1768ec)[_0x482e('0x54')])continue;const _0xdeec8c=_0xc97a5d[_0x482e('0xa')][_0x482e('0x15')];let _0xa7670c=!0x0,_0x5ba65e=!0x0;for(const _0x14d795 of _0x35c535)if(_0x14d795[_0x482e('0x86')]&&_0x14d795['subType'][_0x482e('0x1b')](_0x482e('0x8a'))){if(!_0x14d795['attributes'][_0x482e('0x15')]){_0x5ba65e=!0x1;break;}if(_0x14d795['id']!=_0xc97a5d['id']&&_0x14d795[_0x482e('0xa')]['tablePasteChainId']==_0xdeec8c){_0xa7670c=!0x1;break;}}_0x5ba65e&&_0xa7670c&&(_0xc97a5d[_0x482e('0x9')](),_0x2796d9=!0x0);}}for(const _0x128e60 of _0x4de513)_0x23c548[_0x482e('0x1c')](_0x128e60);for(const _0x41aa8b of _0x4f01d9)_0x23c548[_0x482e('0x1d')](_0x41aa8b);return _0x2796d9;}),_0x9286c4['conversion'][_0x482e('0x14')]('editingDowncast')[_0x482e('0x56')]({'model':_0x482e('0x62'),'view':(_0x1c1a7d,_0x30557d)=>_0x594ccb(_0x1c1a7d),'converterPriority':_0x482e('0x43')}),_0x9286c4[_0x482e('0x2b')][_0x482e('0x14')]('dataDowncast')[_0x482e('0x56')]({'model':_0x482e('0x62'),'view':(_0x4aa888,_0x481992)=>_0x481992['options']['showSuggestionHighlights']?_0x594ccb(_0x4aa888,!0x1):null,'converterPriority':_0x482e('0x43')});const _0x1c605e=_0x9286c4[_0x482e('0x5d')][_0x482e('0x2a')];this['listenTo'](_0x1c605e['document'],_0x482e('0x63'),(_0xdc72a7,_0x36bd7e)=>{const _0x559879=[];for(const _0x5d3b2f of _0x1c605e[_0x482e('0x7f')](_0x36bd7e['content'])[_0x482e('0x76')]())_0x5d3b2f['is'](_0x482e('0x46'),_0x482e('0x5e'))&&_0x559879[_0x482e('0x6e')](_0x5d3b2f);_0x1c605e['change'](_0x498b2e=>{for(const _0x296a28 of _0x559879)_0x498b2e[_0x482e('0x23')](_0x498b2e[_0x482e('0x7f')](_0x296a28),_0x498b2e['createPositionBefore'](_0x296a28)),_0x498b2e[_0x482e('0x1c')](_0x296a28);});});}}function ce(_0x27256c){if(_0x27256c['isEmpty'])return!0x0;const _0x5dedf6=_0x27256c[_0x482e('0x3d')](0x0);return _0x5dedf6['is'](_0x482e('0x46'),'paragraph')&&_0x5dedf6[_0x482e('0x64')];}function fe(_0x4bb178,_0x14d16c={},_0x33c190){for(const {isAnchor:_0x361882,cellHeight:_0x160952,cellWidth:_0x4e9813}of _0x33c190[_0x482e('0x47')](_0x4bb178,{'includeAllSlots':!0x0,..._0x14d16c}))if(!_0x361882||0x1!=_0x160952||0x1!=_0x4e9813)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23da=['has','locale','plugins','formatBlock','selection','getSuggestionCallback','TableColumnResizeEditing','*Format:*\x20resize\x20table','getAttribute','markBlockFormat','enableCommand','resizeTable','change','type','registerCustomCallback','formatGroupId','accept','resizeTableWidth','_descriptionFactory','formatInline','getContainedElement','getSuggestions','author','subType','tableWidth','handleSuggestionDescription','columnWidths','handleResizeTableWidthCommand','discard','editor','_suggestionFactory','table','TrackChangesEditing','getColumnGroupElement','afterInit','get'];(function(_0x5255d7,_0x23daa4){const _0x30a834=function(_0x43a4e6){while(--_0x43a4e6){_0x5255d7['push'](_0x5255d7['shift']());}};_0x30a834(++_0x23daa4);}(_0x23da,0x1be));const _0x30a8=function(_0x5255d7,_0x23daa4){_0x5255d7=_0x5255d7-0x0;let _0x30a834=_0x23da[_0x5255d7];return _0x30a834;};import{Plugin as _0x1db51f}from'ckeditor5/src/core';import{getTranslation as _0xd073be}from'../utils/common-translations';export default class It extends _0x1db51f{[_0x30a8('0x14')](){if(!this[_0x30a8('0xf')][_0x30a8('0x18')][_0x30a8('0x16')]('TableColumnResizeEditing'))return;const _0x233bd3=this['editor'][_0x30a8('0x18')][_0x30a8('0x15')](_0x30a8('0x12'));_0x233bd3[_0x30a8('0x20')](_0x30a8('0x3'),this[_0x30a8('0xd')]['bind'](this)),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x0')]('formatBlock',_0x30a8('0x21'),_0x30a8('0x2'),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x1b')]('formatBlock',null,_0x30a8('0xe'))),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x0')](_0x30a8('0x19'),_0x30a8('0x21'),'discard',_0x233bd3['_suggestionFactory'][_0x30a8('0x1b')](_0x30a8('0x19'),null,'accept')),_0x233bd3[_0x30a8('0x4')]['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}[_0x30a8('0xd')](_0x537459,_0x122409){const _0x470076=this[_0x30a8('0xf')][_0x30a8('0x18')][_0x30a8('0x15')](_0x30a8('0x12')),_0x35b474=this[_0x30a8('0xf')]['plugins'][_0x30a8('0x15')](_0x30a8('0x1c')),_0x1b5704=_0x122409[_0x30a8('0x11')]||this[_0x30a8('0xf')]['model']['document'][_0x30a8('0x1a')]['getSelectedElement']();this[_0x30a8('0xf')]['model'][_0x30a8('0x22')](()=>{const _0x152b30=_0x35b474[_0x30a8('0x13')](_0x1b5704);let _0x1a0159=_0x152b30?_0x35b474['getTableColumnsWidths'](_0x152b30):null,_0x3ba210=_0x1b5704[_0x30a8('0x1e')]('tableWidth')||null;const _0x227195=_0x122409[_0x30a8('0xa')]||_0x3ba210,_0x588dd7=_0x122409[_0x30a8('0xc')]||_0x1a0159,_0x52b0c1=this[_0x30a8('0xf')]['plugins'][_0x30a8('0x15')]('Users')['me'];for(const _0x1a5cc4 of _0x470076[_0x30a8('0x7')]()){const _0xcf6489=_0x1a5cc4[_0x30a8('0x6')]();if(_0x30a8('0x21')===_0x1a5cc4[_0x30a8('0x9')]&&_0xcf6489===_0x1b5704){_0x1a5cc4[_0x30a8('0x8')]!==_0x52b0c1&&_0x1a5cc4[_0x30a8('0xe')]();const _0x58c0fd=_0x1a5cc4['data']['commandParams'];_0x3ba210=_0x58c0fd[0x0][_0x30a8('0xa')],_0x1a0159=_0x58c0fd[0x0][_0x30a8('0xc')];break;}}_0x537459({'table':_0x1b5704,'tableWidth':_0x227195,'columnWidths':_0x588dd7}),_0x470076[_0x30a8('0x1f')](_0x1b5704,{'commandName':_0x30a8('0x3'),'commandParams':[{'tableWidth':_0x3ba210,'columnWidths':_0x1a0159}],'formatGroupId':_0x30a8('0x21')},[],_0x30a8('0x21'));});}[_0x30a8('0xb')](_0x20d4fd){if('formatBlock'!=_0x20d4fd[_0x30a8('0x23')]&&_0x30a8('0x5')!=_0x20d4fd[_0x30a8('0x23')])return;const {data:_0x5bc566}=_0x20d4fd;if(_0x5bc566&&'resizeTable'===_0x5bc566[_0x30a8('0x1')]){const _0x2bee27=_0x30a8('0x1d');return{'type':'format','content':_0xd073be(this[_0x30a8('0xf')][_0x30a8('0x17')],_0x2bee27)};}}}
23
+ const _0x4cc4=['table','_suggestionFactory','tableWidth','subType','Users','TableColumnResizeEditing','commandParams','getColumnGroupElement','selection','markBlockFormat','resizeTable','formatGroupId','format','has','TrackChangesEditing','handleResizeTableWidthCommand','editor','get','registerCustomCallback','bind','getSelectedElement','getTableColumnsWidths','document','formatBlock','*Format:*\x20resize\x20table','handleSuggestionDescription','resizeTableWidth','accept','getSuggestions','getSuggestionCallback','model','change','formatInline','data','discard','type','afterInit','plugins'];(function(_0xdd34ed,_0x4cc453){const _0x3c33a2=function(_0x2977b4){while(--_0x2977b4){_0xdd34ed['push'](_0xdd34ed['shift']());}};_0x3c33a2(++_0x4cc453);}(_0x4cc4,0x9e));const _0x3c33=function(_0xdd34ed,_0x4cc453){_0xdd34ed=_0xdd34ed-0x0;let _0x3c33a2=_0x4cc4[_0xdd34ed];return _0x3c33a2;};import{Plugin as _0x5e8f93}from'ckeditor5/src/core';import{getTranslation as _0x49cb27}from'../utils/common-translations';export default class It extends _0x5e8f93{[_0x3c33('0x1e')](){if(!this[_0x3c33('0xa')]['plugins'][_0x3c33('0x7')](_0x3c33('0x25')))return;const _0x320fbc=this[_0x3c33('0xa')][_0x3c33('0x1f')][_0x3c33('0xb')](_0x3c33('0x8'));_0x320fbc['enableCommand'](_0x3c33('0x14'),this[_0x3c33('0x9')][_0x3c33('0xd')](this)),_0x320fbc[_0x3c33('0x21')][_0x3c33('0xc')]('formatBlock',_0x3c33('0x4'),_0x3c33('0x15'),_0x320fbc[_0x3c33('0x21')][_0x3c33('0x17')](_0x3c33('0x11'),null,'discard')),_0x320fbc['_suggestionFactory'][_0x3c33('0xc')]('formatBlock','resizeTable',_0x3c33('0x1c'),_0x320fbc[_0x3c33('0x21')][_0x3c33('0x17')]('formatBlock',null,_0x3c33('0x15'))),_0x320fbc['_descriptionFactory']['registerDescriptionCallback'](this[_0x3c33('0x13')][_0x3c33('0xd')](this));}[_0x3c33('0x9')](_0x158bd5,_0x34ef34){const _0x6f000e=this['editor'][_0x3c33('0x1f')]['get'](_0x3c33('0x8')),_0x2fd46a=this['editor']['plugins'][_0x3c33('0xb')](_0x3c33('0x25')),_0x521bff=_0x34ef34[_0x3c33('0x20')]||this[_0x3c33('0xa')]['model'][_0x3c33('0x10')][_0x3c33('0x2')][_0x3c33('0xe')]();this[_0x3c33('0xa')][_0x3c33('0x18')][_0x3c33('0x19')](()=>{const _0x36f60c=_0x2fd46a[_0x3c33('0x1')](_0x521bff);let _0x50b435=_0x36f60c?_0x2fd46a[_0x3c33('0xf')](_0x36f60c):null,_0x3da4a8=_0x521bff['getAttribute'](_0x3c33('0x22'))||null;const _0x3784ab=_0x34ef34['tableWidth']||_0x3da4a8,_0x8c9910=_0x34ef34['columnWidths']||_0x50b435,_0xa34f6b=this['editor']['plugins'][_0x3c33('0xb')](_0x3c33('0x24'))['me'];for(const _0x12b7a4 of _0x6f000e[_0x3c33('0x16')]()){const _0x1311c4=_0x12b7a4['getContainedElement']();if(_0x3c33('0x4')===_0x12b7a4[_0x3c33('0x23')]&&_0x1311c4===_0x521bff){_0x12b7a4['author']!==_0xa34f6b&&_0x12b7a4[_0x3c33('0x1c')]();const _0x1f7340=_0x12b7a4[_0x3c33('0x1b')][_0x3c33('0x0')];_0x3da4a8=_0x1f7340[0x0]['tableWidth'],_0x50b435=_0x1f7340[0x0]['columnWidths'];break;}}_0x158bd5({'table':_0x521bff,'tableWidth':_0x3784ab,'columnWidths':_0x8c9910}),_0x6f000e[_0x3c33('0x3')](_0x521bff,{'commandName':_0x3c33('0x14'),'commandParams':[{'tableWidth':_0x3da4a8,'columnWidths':_0x50b435}],'formatGroupId':_0x3c33('0x4')},[],_0x3c33('0x4'));});}['handleSuggestionDescription'](_0x2a2dca){if(_0x3c33('0x11')!=_0x2a2dca['type']&&_0x3c33('0x1a')!=_0x2a2dca[_0x3c33('0x1d')])return;const {data:_0x483bf3}=_0x2a2dca;if(_0x483bf3&&'resizeTable'===_0x483bf3[_0x3c33('0x5')]){const _0x3f6da1=_0x3c33('0x12');return{'type':_0x3c33('0x6'),'content':_0x49cb27(this['editor']['locale'],_0x3f6da1)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b72=['name','ck-suggestion-marker--active','TableUtils','registerAttributeLabel','markerName','markerNameToElements','registerCustomCallback','commandName','removeAttribute','_splitMarkerName','removeClass','highest','consumable','markerRange','getSuggestion','editor','getCellLocation','cell','consume','plugins','editing','has','requires','_descriptionFactory','addClass','activeMarkers','parent','FORMAT_HEADER_ROW','locale','nodeAfter','headingColumns','ck-suggestion-marker-','FORMAT_REGULAR_COLUMN','accept','setAttribute','get','FORMAT_HEADER_COLUMN','_suggestionFactory','*Format:*\x20%0','createTableWalker','formatBlock','setTableRowHeader','options','data-suggestion','start','writer','data','addMarker:suggestion','headingRows','type','_acceptFormatSuggestionCallbackFactory','_enableDefaultAttributesIntegration','registerDescriptionCallback','stop','nodeBefore','setTableColumnHeader','mapper','item','showSuggestionHighlights','TrackChangesEditing','forceValue','downcastDispatcher','toViewElement','commandParams','_registerLegacyDescription','unbindElementFromMarkerName'];(function(_0xfe383d,_0x4b7295){const _0x4357d6=function(_0x28e667){while(--_0x28e667){_0xfe383d['push'](_0xfe383d['shift']());}};_0x4357d6(++_0x4b7295);}(_0x4b72,0xa6));const _0x4357=function(_0xfe383d,_0x4b7295){_0xfe383d=_0xfe383d-0x0;let _0x4357d6=_0x4b72[_0xfe383d];return _0x4357d6;};import{Plugin as _0x455bb8}from'ckeditor5/src/core';import _0x26db7c from'./table';import{getTranslation as _0x2579ec}from'../utils/common-translations';export default class St extends _0x455bb8{static get[_0x4357('0x36')](){return[_0x26db7c];}['afterInit'](){const _0x5c1e6c=this[_0x4357('0x2f')];if(!_0x5c1e6c[_0x4357('0x33')][_0x4357('0x35')]('TableEditing'))return;const _0x2411a0=_0x5c1e6c[_0x4357('0x3c')],_0x4437a4=_0x5c1e6c[_0x4357('0x33')][_0x4357('0x1')]('TrackChangesEditing');_0x4437a4[_0x4357('0x11')]('setTableRowHeader',[],['headingRows']),_0x4437a4[_0x4357('0x11')]('setTableColumnHeader',[],[_0x4357('0x3e')]),_0x4437a4[_0x4357('0x37')][_0x4357('0x23')](_0x4357('0xe'),_0x2579ec(_0x2411a0,'FORMAT_HEADER_ROW')),_0x4437a4[_0x4357('0x37')][_0x4357('0x23')](_0x4357('0x3e'),_0x2579ec(_0x2411a0,_0x4357('0x2'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x112a4c=this[_0x4357('0x2f')][_0x4357('0x33')]['get'](_0x4357('0x19')),_0x1eaf11=this[_0x4357('0x2f')][_0x4357('0x33')][_0x4357('0x1')](_0x4357('0x22')),_0x1f12c3=this[_0x4357('0x2f')][_0x4357('0x33')]['get'](_0x26db7c)[_0x4357('0x10')]();function _0x2b295c({showActiveMarker:_0x5aec79=!0x0,setDataAttribute:_0x3aa0c9=!0x0}={}){return(_0x11a956,_0x5ad31e,_0x59bbed)=>{const {type:_0x58c4a5,id:_0x1016cf}=_0x112a4c[_0x4357('0x29')](_0x5ad31e['markerName']),_0x48baba=_0x112a4c[_0x4357('0x2e')](_0x1016cf),_0x3f41ae=_0x48baba[_0x4357('0xc')];if(_0x4357('0x6')!=_0x48baba['type']||!_0x3f41ae||_0x4357('0x15')!=_0x3f41ae[_0x4357('0x27')])return;if(_0x5ad31e[_0x4357('0x17')])return void _0x11a956[_0x4357('0x13')]();if(!_0x59bbed[_0x4357('0x2c')][_0x4357('0x32')](_0x5ad31e['markerRange'],_0x11a956[_0x4357('0x20')]))return;const _0x4a9453=_0x5ad31e[_0x4357('0x2d')][_0x4357('0xa')][_0x4357('0x3d')],_0x4df067=_0x5ad31e[_0x4357('0x2d')]['end'][_0x4357('0x14')],_0x2d37f8=_0x4a9453[_0x4357('0x3a')][_0x4357('0x3a')],{column:_0x416f46}=_0x1eaf11['getCellLocation'](_0x4a9453),{column:_0x59b18e}=_0x1eaf11[_0x4357('0x30')](_0x4df067);for(let _0x4dbf93=_0x416f46;_0x4dbf93<=_0x59b18e;_0x4dbf93++){const _0xf257bb=_0x1eaf11[_0x4357('0x5')](_0x2d37f8,{'column':_0x4dbf93,'includeAllSlots':!0x1});for(const _0x372c42 of _0xf257bb){const _0x9f2332=_0x372c42[_0x4357('0x31')],_0x37cb7e=_0x59bbed[_0x4357('0x16')][_0x4357('0x1c')](_0x9f2332);_0x59bbed[_0x4357('0xb')][_0x4357('0x38')](_0x4357('0x3f')+_0x58c4a5,_0x37cb7e),_0x3aa0c9&&_0x59bbed[_0x4357('0xb')][_0x4357('0x0')](_0x4357('0x9'),_0x1016cf,_0x37cb7e),_0x59bbed[_0x4357('0x16')]['bindElementToMarker'](_0x37cb7e,_0x5ad31e[_0x4357('0x24')]),_0x5aec79&&(_0x112a4c[_0x4357('0x39')]['includes'](_0x5ad31e[_0x4357('0x24')])?_0x59bbed[_0x4357('0xb')][_0x4357('0x38')]('ck-suggestion-marker--active',_0x37cb7e):_0x59bbed[_0x4357('0xb')]['removeClass'](_0x4357('0x21'),_0x37cb7e));}}};}_0x112a4c[_0x4357('0x3')][_0x4357('0x26')](_0x4357('0x6'),'setTableRowHeader',_0x4357('0x41'),_0x1f12c3),_0x112a4c['_suggestionFactory']['registerCustomCallback'](_0x4357('0x6'),'setTableColumnHeader','accept',_0x1f12c3),this['editor'][_0x4357('0x34')][_0x4357('0x1b')]['on']('addMarker:suggestion',_0x2b295c(),{'priority':_0x4357('0x2b')}),this[_0x4357('0x2f')][_0x4357('0xc')][_0x4357('0x1b')]['on'](_0x4357('0xd'),(_0x983635,_0x48dc66,_0x12b9b5)=>{_0x12b9b5[_0x4357('0x8')][_0x4357('0x18')]&&_0x2b295c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x983635,_0x48dc66,_0x12b9b5);},{'priority':'highest'}),this[_0x4357('0x2f')][_0x4357('0x34')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x262000,_0x40f546,_0x13327a)=>{const {type:_0x46e361,id:_0x5a0b9a}=_0x112a4c[_0x4357('0x29')](_0x40f546[_0x4357('0x24')]),_0x21d522=_0x112a4c[_0x4357('0x2e')](_0x5a0b9a),_0x1e9044=_0x21d522[_0x4357('0xc')];if(_0x4357('0x6')!=_0x21d522[_0x4357('0xf')]||!_0x1e9044||_0x4357('0x15')!=_0x1e9044['commandName'])return;const _0x2666f9=_0x13327a[_0x4357('0x16')][_0x4357('0x25')](_0x40f546[_0x4357('0x24')]);if(_0x2666f9)for(const _0x39f378 of _0x2666f9)_0x13327a[_0x4357('0xb')][_0x4357('0x2a')](_0x4357('0x3f')+_0x46e361,_0x39f378),_0x13327a['writer'][_0x4357('0x2a')](_0x4357('0x21'),_0x39f378),_0x13327a['writer'][_0x4357('0x28')](_0x4357('0x9'),_0x39f378),_0x13327a[_0x4357('0x16')][_0x4357('0x1f')](_0x39f378,_0x40f546[_0x4357('0x24')]);},{'priority':_0x4357('0x2b')}),this[_0x4357('0x1e')]();}[_0x4357('0x1e')](){const _0x23d6f4=this['editor'],_0x5c455f=_0x23d6f4[_0x4357('0x3c')];function _0x499559(_0x53790d){return{'type':'format','content':_0x2579ec(_0x5c455f,_0x4357('0x4'),_0x53790d)};}_0x23d6f4[_0x4357('0x33')][_0x4357('0x1')](_0x4357('0x19'))[_0x4357('0x37')][_0x4357('0x12')](_0x243d96=>{if(_0x4357('0x6')!=_0x243d96['type'])return;const {data:_0x2a1d56}=_0x243d96;if(_0x2a1d56){if(_0x4357('0x7')==_0x2a1d56[_0x4357('0x27')]){const _0x35abe7=_0x2a1d56[_0x4357('0x1d')][0x0][_0x4357('0x1a')];return _0x499559(_0x2579ec(_0x5c455f,_0x35abe7?_0x4357('0x3b'):'FORMAT_REGULAR_ROW'));}if(_0x4357('0x15')==_0x2a1d56[_0x4357('0x27')]){const _0x1fd6d7=_0x2a1d56[_0x4357('0x1d')][0x0]['forceValue'];return _0x499559(_0x2579ec(_0x5c455f,_0x1fd6d7?_0x4357('0x2'):_0x4357('0x40')));}}});}}
23
+ const _0x71c3=['data','_enableDefaultAttributesIntegration','activeMarkers','setAttribute','mapper','setTableRowHeader','data-suggestion','writer','parent','setTableColumnHeader','_acceptFormatSuggestionCallbackFactory','removeAttribute','consumable','includes','cell','showSuggestionHighlights','forceValue','createTableWalker','FORMAT_HEADER_COLUMN','downcastDispatcher','type','unbindElementFromMarkerName','plugins','FORMAT_HEADER_ROW','toViewElement','_handleLegacySuggestions','editor','item','nodeBefore','end','markerRange','options','TrackChangesEditing','FORMAT_REGULAR_COLUMN','editing','commandName','accept','_registerLegacyDescription','ck-suggestion-marker-','ck-suggestion-marker--active','format','headingColumns','getSuggestion','nodeAfter','registerAttributeLabel','bindElementToMarker','stop','markerNameToElements','commandParams','formatBlock','markerName','consume','addClass','_descriptionFactory','name','_splitMarkerName','start','addMarker:suggestion','locale','_suggestionFactory','registerCustomCallback','requires','FORMAT_REGULAR_ROW','removeClass','highest','*Format:*\x20%0','get'];(function(_0x1f7926,_0x71c37a){const _0x48e1ae=function(_0x529646){while(--_0x529646){_0x1f7926['push'](_0x1f7926['shift']());}};_0x48e1ae(++_0x71c37a);}(_0x71c3,0x6c));const _0x48e1=function(_0x1f7926,_0x71c37a){_0x1f7926=_0x1f7926-0x0;let _0x48e1ae=_0x71c3[_0x1f7926];return _0x48e1ae;};import{Plugin as _0x54a305}from'ckeditor5/src/core';import _0x3e5919 from'./table';import{getTranslation as _0x119b48}from'../utils/common-translations';export default class St extends _0x54a305{static get[_0x48e1('0x14')](){return[_0x3e5919];}['afterInit'](){const _0x397c5b=this['editor'];if(!_0x397c5b[_0x48e1('0x30')]['has']('TableEditing'))return;const _0x214ff1=_0x397c5b[_0x48e1('0x11')],_0x255935=_0x397c5b[_0x48e1('0x30')][_0x48e1('0x19')](_0x48e1('0x3a'));_0x255935[_0x48e1('0x1b')](_0x48e1('0x1f'),[],['headingRows']),_0x255935[_0x48e1('0x1b')](_0x48e1('0x23'),[],[_0x48e1('0x0')]),_0x255935[_0x48e1('0xc')]['registerAttributeLabel']('headingRows',_0x119b48(_0x214ff1,_0x48e1('0x31'))),_0x255935[_0x48e1('0xc')][_0x48e1('0x3')](_0x48e1('0x0'),_0x119b48(_0x214ff1,_0x48e1('0x2c'))),this[_0x48e1('0x33')]();}[_0x48e1('0x33')](){const _0x1dc324=this[_0x48e1('0x34')][_0x48e1('0x30')][_0x48e1('0x19')](_0x48e1('0x3a')),_0x12e6c2=this[_0x48e1('0x34')][_0x48e1('0x30')][_0x48e1('0x19')]('TableUtils'),_0x274b5a=this['editor'][_0x48e1('0x30')]['get'](_0x3e5919)[_0x48e1('0x24')]();function _0x19d5b5({showActiveMarker:_0x864fe5=!0x0,setDataAttribute:_0x596b80=!0x0}={}){return(_0x3b3fc2,_0x591edb,_0x8f048d)=>{const {type:_0x527086,id:_0x4fc25a}=_0x1dc324[_0x48e1('0xe')](_0x591edb[_0x48e1('0x9')]),_0x581b4e=_0x1dc324['getSuggestion'](_0x4fc25a),_0x298866=_0x581b4e['data'];if(_0x48e1('0x8')!=_0x581b4e[_0x48e1('0x2e')]||!_0x298866||_0x48e1('0x23')!=_0x298866[_0x48e1('0x3d')])return;if(_0x591edb[_0x48e1('0x35')])return void _0x3b3fc2[_0x48e1('0x5')]();if(!_0x8f048d[_0x48e1('0x26')][_0x48e1('0xa')](_0x591edb[_0x48e1('0x38')],_0x3b3fc2[_0x48e1('0xd')]))return;const _0x1b10ae=_0x591edb[_0x48e1('0x38')][_0x48e1('0xf')][_0x48e1('0x2')],_0x464963=_0x591edb[_0x48e1('0x38')][_0x48e1('0x37')][_0x48e1('0x36')],_0x2d7bf1=_0x1b10ae[_0x48e1('0x22')][_0x48e1('0x22')],{column:_0x35d25a}=_0x12e6c2['getCellLocation'](_0x1b10ae),{column:_0x59d17b}=_0x12e6c2['getCellLocation'](_0x464963);for(let _0x4f4748=_0x35d25a;_0x4f4748<=_0x59d17b;_0x4f4748++){const _0x249de5=_0x12e6c2[_0x48e1('0x2b')](_0x2d7bf1,{'column':_0x4f4748,'includeAllSlots':!0x1});for(const _0x64978f of _0x249de5){const _0x1b1543=_0x64978f[_0x48e1('0x28')],_0xbea763=_0x8f048d[_0x48e1('0x1e')][_0x48e1('0x32')](_0x1b1543);_0x8f048d[_0x48e1('0x21')][_0x48e1('0xb')](_0x48e1('0x40')+_0x527086,_0xbea763),_0x596b80&&_0x8f048d[_0x48e1('0x21')][_0x48e1('0x1d')](_0x48e1('0x20'),_0x4fc25a,_0xbea763),_0x8f048d[_0x48e1('0x1e')][_0x48e1('0x4')](_0xbea763,_0x591edb[_0x48e1('0x9')]),_0x864fe5&&(_0x1dc324[_0x48e1('0x1c')][_0x48e1('0x27')](_0x591edb[_0x48e1('0x9')])?_0x8f048d['writer']['addClass']('ck-suggestion-marker--active',_0xbea763):_0x8f048d[_0x48e1('0x21')]['removeClass'](_0x48e1('0x41'),_0xbea763));}}};}_0x1dc324[_0x48e1('0x12')]['registerCustomCallback'](_0x48e1('0x8'),_0x48e1('0x1f'),_0x48e1('0x3e'),_0x274b5a),_0x1dc324['_suggestionFactory'][_0x48e1('0x13')](_0x48e1('0x8'),_0x48e1('0x23'),_0x48e1('0x3e'),_0x274b5a),this[_0x48e1('0x34')][_0x48e1('0x3c')][_0x48e1('0x2d')]['on']('addMarker:suggestion',_0x19d5b5(),{'priority':_0x48e1('0x17')}),this[_0x48e1('0x34')][_0x48e1('0x1a')][_0x48e1('0x2d')]['on'](_0x48e1('0x10'),(_0x2f12ea,_0x1f1bbf,_0xb32521)=>{_0xb32521[_0x48e1('0x39')][_0x48e1('0x29')]&&_0x19d5b5({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2f12ea,_0x1f1bbf,_0xb32521);},{'priority':_0x48e1('0x17')}),this[_0x48e1('0x34')]['editing'][_0x48e1('0x2d')]['on']('removeMarker:suggestion',(_0x57d7f3,_0xfd6c8b,_0x1cd648)=>{const {type:_0x2ffe0d,id:_0x1dfdc7}=_0x1dc324['_splitMarkerName'](_0xfd6c8b['markerName']),_0x5008a6=_0x1dc324[_0x48e1('0x1')](_0x1dfdc7),_0x33f46f=_0x5008a6[_0x48e1('0x1a')];if(_0x48e1('0x8')!=_0x5008a6[_0x48e1('0x2e')]||!_0x33f46f||_0x48e1('0x23')!=_0x33f46f[_0x48e1('0x3d')])return;const _0x218890=_0x1cd648[_0x48e1('0x1e')][_0x48e1('0x6')](_0xfd6c8b[_0x48e1('0x9')]);if(_0x218890)for(const _0x4929e7 of _0x218890)_0x1cd648['writer'][_0x48e1('0x16')](_0x48e1('0x40')+_0x2ffe0d,_0x4929e7),_0x1cd648[_0x48e1('0x21')]['removeClass'](_0x48e1('0x41'),_0x4929e7),_0x1cd648[_0x48e1('0x21')][_0x48e1('0x25')]('data-suggestion',_0x4929e7),_0x1cd648['mapper'][_0x48e1('0x2f')](_0x4929e7,_0xfd6c8b['markerName']);},{'priority':'highest'}),this[_0x48e1('0x3f')]();}[_0x48e1('0x3f')](){const _0x1013ad=this[_0x48e1('0x34')],_0x580497=_0x1013ad[_0x48e1('0x11')];function _0x2255f1(_0x262c8b){return{'type':_0x48e1('0x42'),'content':_0x119b48(_0x580497,_0x48e1('0x18'),_0x262c8b)};}_0x1013ad['plugins'][_0x48e1('0x19')]('TrackChangesEditing')[_0x48e1('0xc')]['registerDescriptionCallback'](_0x21056e=>{if(_0x48e1('0x8')!=_0x21056e[_0x48e1('0x2e')])return;const {data:_0x5b631c}=_0x21056e;if(_0x5b631c){if(_0x48e1('0x1f')==_0x5b631c['commandName']){const _0x573fbd=_0x5b631c[_0x48e1('0x7')][0x0][_0x48e1('0x2a')];return _0x2255f1(_0x119b48(_0x580497,_0x573fbd?_0x48e1('0x31'):_0x48e1('0x15')));}if(_0x48e1('0x23')==_0x5b631c[_0x48e1('0x3d')]){const _0x24a486=_0x5b631c['commandParams'][0x0]['forceValue'];return _0x2255f1(_0x119b48(_0x580497,_0x24a486?_0x48e1('0x2c'):_0x48e1('0x3b')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3896=['root','fromRange','getSelectionAffectedTableCells','subType','length','selection','TableUtils','*Merge\x20cells*','horizontally','markMultiRangeBlockFormat','_areMergableCells','trackChanges','size','formatInline','stop','map','find','editor','registerCustomCallback','commands','registerDescriptionCallback','change','*Split\x20cell:*\x20vertically','get','set:isEnabled','isInContent','format','requires','document','accept','markBlockFormat','getSuggestions','refresh','has','table','mergeTableCellDown','forceDefaultExecution','createRangeOn','TrackChangesEditing','_descriptionFactory','plugins','execute','$graveyard','insertion','mergeTableCells','mergeTableCellRight','*Split\x20cell:*\x20horizontally','mergeTableCellUp','getFirstPosition','_suggestionFactory','formatBlock','element','value','afterInit','commandName','splitTableCellVertically','createTableWalker','enableCommand','isEnabled','push','getRanges','findAncestor','_isForcedDefaultExecutionBlock','type','deletion','author','model','_acceptFormatSuggestionCallbackFactory','cell','setSelection','getCellLocation','tableCell','add','splitTableCellHorizontally','mergeTableCellLeft','from','rootName'];(function(_0x32de74,_0x3896b5){const _0x3c23ba=function(_0x563265){while(--_0x563265){_0x32de74['push'](_0x32de74['shift']());}};_0x3c23ba(++_0x3896b5);}(_0x3896,0x139));const _0x3c23=function(_0x32de74,_0x3896b5){_0x32de74=_0x32de74-0x0;let _0x3c23ba=_0x3896[_0x32de74];return _0x3c23ba;};import{Plugin as _0xa652cc}from'ckeditor5/src/core';import _0x3906d1 from'./table';import{LiveRange as _0x78fe6}from'ckeditor5/src/engine';import{getTranslation as _0x5b036b}from'../utils/common-translations';export default class yt extends _0xa652cc{static get[_0x3c23('0x16')](){return[_0x3906d1];}[_0x3c23('0x30')](){const _0x5b5449=this['editor'],_0x5cec86=_0x5b5449['model'][_0x3c23('0x17')][_0x3c23('0x0')],_0x1f5c20=_0x5b5449['locale'];if(!_0x5b5449[_0x3c23('0x23')][_0x3c23('0x1c')]('TableEditing'))return;const _0x4a8fb6=_0x5b5449['plugins']['get']('TrackChangesEditing'),_0x3bf86f=_0x5b5449[_0x3c23('0x23')][_0x3c23('0x12')](_0x3c23('0x1')),_0x374f4f=_0x5b5449[_0x3c23('0x23')][_0x3c23('0x12')](_0x3906d1);_0x374f4f['_tablePostFixingSubtypes'][_0x3c23('0x36')](_0x3c23('0x27')),_0x4a8fb6[_0x3c23('0x34')](_0x3c23('0x27'),()=>{const _0x396663=_0x3bf86f[_0x3c23('0x4a')](_0x5b5449['model']['document'][_0x3c23('0x0')]);_0x5b5449['model'][_0x3c23('0x10')](()=>{_0x4a8fb6['markMultiRangeBlockFormat'](_0x396663,{'commandName':'mergeTableCells','commandParams':[]},[],_0x3c23('0x27'));});}),_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27'))['on'](_0x3c23('0x24'),(_0x3ebe82,_0x56f41c)=>{_0x5b5449['commands']['get'](_0x3c23('0x6'))['value']&&(_0x56f41c[_0x3c23('0x4c')]>0x0&&_0x56f41c[_0x56f41c[_0x3c23('0x4c')]-0x1]&&_0x56f41c[_0x56f41c['length']-0x1][_0x3c23('0x1f')]||_0x4a8fb6[_0x3c23('0x39')]||this['_areSelectedCellsMergable']()||_0x3ebe82[_0x3c23('0x9')]());},{'priority':'highest'});for(const _0x57d381 of[_0x3c23('0x2a'),_0x3c23('0x28'),'mergeTableCellDown',_0x3c23('0x45')]){const _0x5c4d20=_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x57d381);_0x4a8fb6[_0x3c23('0x34')](_0x57d381,()=>{const _0x5434e5=_0x5b5449[_0x3c23('0x3d')]['document']['selection'][_0x3c23('0x2b')]()['getAncestors']()[_0x3c23('0xb')](_0x246293=>_0x246293['is']('element',_0x3c23('0x42'))),_0x6ac5c1=_0x5c4d20[_0x3c23('0x2f')];_0x5b5449['model'][_0x3c23('0x10')](()=>{_0x4a8fb6[_0x3c23('0x4')]([_0x5434e5,_0x6ac5c1],{'commandName':'mergeTableCells','commandParams':[]},[],_0x3c23('0x27'));});});}for(const _0x159bcb of[_0x3c23('0x32'),_0x3c23('0x44')]){const _0xae4b5a=_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x159bcb);_0x4a8fb6[_0x3c23('0x34')](_0x159bcb,()=>{const _0x2b50de=_0x3bf86f[_0x3c23('0x4a')](_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x17')][_0x3c23('0x0')])[0x0],_0x329c1e=_0x2b50de[_0x3c23('0x38')](_0x3c23('0x1d')),{column:_0x2c1ba6,row:_0xf93162}=_0x3bf86f[_0x3c23('0x41')](_0x2b50de);let _0xa31dc7=[];if(_0x3c23('0x3')==_0xae4b5a['direction']){const _0x4ac427=_0x3bf86f[_0x3c23('0x33')](_0x329c1e,{'startRow':_0xf93162,'endRow':_0xf93162,'includeAllSlots':!0x0});_0xa31dc7=Array[_0x3c23('0x46')](_0x4ac427)[_0x3c23('0xa')](_0x5ec5a6=>_0x5ec5a6[_0x3c23('0x3f')]);}else{const _0x19b5f7=_0x3bf86f[_0x3c23('0x33')](_0x329c1e,{'column':_0x2c1ba6,'includeAllSlots':!0x0});_0xa31dc7=Array[_0x3c23('0x46')](_0x19b5f7)[_0x3c23('0xa')](_0x356646=>_0x356646['cell']);}_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x10')](_0x27cc5f=>{_0x4a8fb6[_0x3c23('0x19')](_0x27cc5f[_0x3c23('0x20')](_0x2b50de),{'commandName':_0x159bcb,'commandParams':[]},_0xa31dc7,_0x159bcb);});});}_0x4a8fb6['_descriptionFactory'][_0x3c23('0xf')](_0x4d0cc4=>{if(_0x3c23('0x2d')!=_0x4d0cc4['type']&&'formatInline'!=_0x4d0cc4[_0x3c23('0x3a')])return;const {data:_0x48c459}=_0x4d0cc4;return _0x48c459&&_0x3c23('0x27')==_0x48c459[_0x3c23('0x31')]?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x2'))}:void 0x0;}),_0x4a8fb6[_0x3c23('0x22')][_0x3c23('0xf')](_0x570619=>{if(_0x3c23('0x2d')!=_0x570619['type']&&_0x3c23('0x8')!=_0x570619[_0x3c23('0x3a')])return;const {data:_0x33af96}=_0x570619;return _0x33af96?'splitTableCellVertically'==_0x33af96['commandName']?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x11'))}:_0x3c23('0x44')==_0x33af96['commandName']?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x29'))}:void 0x0:void 0x0;});const _0x569337=_0x374f4f[_0x3c23('0x3e')]();for(const _0x3f8bbe of[_0x3c23('0x2a'),'mergeTableCellRight',_0x3c23('0x1e'),_0x3c23('0x45')])_0x4a8fb6[_0x3c23('0x2c')]['registerCustomCallback'](_0x3c23('0x2d'),_0x3f8bbe,'accept',_0x569337);for(const _0x531f66 of[_0x3c23('0x32'),_0x3c23('0x44')])_0x4a8fb6[_0x3c23('0x2c')]['registerCustomCallback'](_0x3c23('0x2d'),_0x531f66,_0x3c23('0x18'),_0x569337);_0x4a8fb6['_suggestionFactory'][_0x3c23('0xd')]('formatBlock',_0x3c23('0x27'),_0x3c23('0x18'),_0x65b5a2=>{_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x10')](_0x31f24e=>{const _0x4fff07=Array[_0x3c23('0x46')](_0x5cec86[_0x3c23('0x37')]())[_0x3c23('0xa')](_0x270176=>_0x78fe6[_0x3c23('0x49')](_0x270176));_0x31f24e['setSelection'](_0x65b5a2),_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27'))[_0x3c23('0x1b')](),_0x5b5449[_0x3c23('0x24')](_0x3c23('0x27'),{'forceDefaultExecution':!0x0});const _0x50e650=_0x4fff07['filter'](_0x2ec88a=>_0x3c23('0x25')!=_0x2ec88a[_0x3c23('0x48')][_0x3c23('0x47')]);_0x50e650['length']>0x0&&_0x31f24e[_0x3c23('0x40')](_0x50e650);for(const _0x50db4b of _0x4fff07)_0x50db4b['detach']();});});for(const _0x1ef1e0 of[_0x3c23('0x2a'),_0x3c23('0x1e'),_0x3c23('0x45'),_0x3c23('0x28')]){const _0x2a851c=_0x5b5449['commands']['get'](_0x1ef1e0);_0x2a851c['on'](_0x3c23('0x13'),(_0x1c94e4,_0x4b5913,_0x40c4c4)=>{if(_0x40c4c4){const _0x3fc3ab=_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x17')][_0x3c23('0x0')][_0x3c23('0x2b')]()['getAncestors']()[_0x3c23('0xb')](_0x2a67d5=>_0x2a67d5['is'](_0x3c23('0x2e'),_0x3c23('0x42')));this[_0x3c23('0x5')](_0x2a851c[_0x3c23('0x2f')],_0x3fc3ab)||(_0x1c94e4['return']=!0x1,_0x1c94e4[_0x3c23('0x9')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x15ce6c=this[_0x3c23('0xc')][_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27')),_0x96c26f=this['editor']['plugins'][_0x3c23('0x12')]('TableUtils');if(!_0x15ce6c[_0x3c23('0x35')])return!0x1;const _0xed9621=_0x96c26f[_0x3c23('0x4a')](this['editor']['model'][_0x3c23('0x17')]['selection']);for(const _0x1ca606 of _0xed9621)for(const _0x1f4bcc of _0xed9621)if(_0x1ca606!=_0x1f4bcc&&!this['_areMergableCells'](_0x1ca606,_0x1f4bcc))return!0x1;return!0x0;}[_0x3c23('0x5')](_0x45f955,_0x4797c3){const _0x39b716=this[_0x3c23('0xc')][_0x3c23('0x23')]['get'](_0x3c23('0x21')),_0x3c8b8e=this['editor'][_0x3c23('0x3d')][_0x3c23('0x20')](_0x45f955),_0x3a47a9=this[_0x3c23('0xc')][_0x3c23('0x3d')]['createRangeOn'](_0x4797c3),_0x2a651e=new Set(),_0x50d9e3=new Set();for(const _0x125512 of _0x39b716[_0x3c23('0x1a')]())if((_0x3c23('0x26')==_0x125512[_0x3c23('0x3a')]||_0x3c23('0x3b')==_0x125512['type']||'mergeTableCells'==_0x125512[_0x3c23('0x4b')])&&_0x125512[_0x3c23('0x14')])for(const _0x3a4c44 of _0x125512[_0x3c23('0x37')]())_0x3a4c44['containsRange'](_0x3c8b8e,!0x0)&&_0x2a651e[_0x3c23('0x43')](_0x125512[_0x3c23('0x3a')]+':'+_0x125512[_0x3c23('0x3c')]['id']),_0x3a4c44['containsRange'](_0x3a47a9,!0x0)&&_0x50d9e3[_0x3c23('0x43')](_0x125512['type']+':'+_0x125512[_0x3c23('0x3c')]['id']);if(_0x2a651e['size']!=_0x50d9e3[_0x3c23('0x7')])return!0x1;for(const _0x53331e of _0x2a651e)if(!_0x50d9e3[_0x3c23('0x1c')](_0x53331e))return!0x1;return!0x0;}}
23
+ const _0x2c75=['findAncestor','set:isEnabled','formatBlock','low','editor','getRanges','get','requires','document','containsRange','commandName','plugins','model','TrackChangesEditing','execute','*Merge\x20cells*','createRangeOn','cell','enableCommand','isInContent','TableEditing','change','push','mergeTableCellDown','_isForcedDefaultExecutionBlock','mergeTableCellRight','size','registerCustomCallback','splitTableCellHorizontally','fromRange','subType','mergeTableCells','_areMergableCells','*Split\x20cell:*\x20vertically','refresh','has','isEnabled','mergeTableCellUp','setSelection','mergeTableCellLeft','getCellLocation','from','markMultiRangeBlockFormat','getAncestors','*Split\x20cell:*\x20horizontally','table','selection','trackChanges','commands','length','locale','map','find','filter','$graveyard','horizontally','accept','splitTableCellVertically','_areSelectedCellsMergable','format','createTableWalker','TableUtils','value','add','forceDefaultExecution','author','direction','root','_suggestionFactory','_descriptionFactory','type','getSelectionAffectedTableCells','registerDescriptionCallback','insertion','stop','getFirstPosition','tableCell','element','highest'];(function(_0x3abc12,_0x2c7551){const _0x42206b=function(_0x487f4f){while(--_0x487f4f){_0x3abc12['push'](_0x3abc12['shift']());}};_0x42206b(++_0x2c7551);}(_0x2c75,0x15a));const _0x4220=function(_0x3abc12,_0x2c7551){_0x3abc12=_0x3abc12-0x0;let _0x42206b=_0x2c75[_0x3abc12];return _0x42206b;};import{Plugin as _0x4fe27f}from'ckeditor5/src/core';import _0x2239ae from'./table';import{LiveRange as _0x5c1c4f}from'ckeditor5/src/engine';import{getTranslation as _0x5b6bcf}from'../utils/common-translations';export default class yt extends _0x4fe27f{static get[_0x4220('0x38')](){return[_0x2239ae];}['afterInit'](){const _0x28040f=this[_0x4220('0x35')],_0x419275=_0x28040f[_0x4220('0x3d')][_0x4220('0x39')][_0x4220('0x10')],_0x4f1735=_0x28040f[_0x4220('0x14')];if(!_0x28040f[_0x4220('0x3c')][_0x4220('0x5')](_0x4220('0x45')))return;const _0x3bee50=_0x28040f[_0x4220('0x3c')]['get'](_0x4220('0x3e')),_0x458944=_0x28040f[_0x4220('0x3c')]['get']('TableUtils'),_0x50efa1=_0x28040f[_0x4220('0x3c')][_0x4220('0x37')](_0x2239ae);_0x50efa1['_tablePostFixingSubtypes'][_0x4220('0x47')](_0x4220('0x1')),_0x3bee50[_0x4220('0x43')](_0x4220('0x1'),()=>{const _0x32d734=_0x458944['getSelectionAffectedTableCells'](_0x28040f['model'][_0x4220('0x39')][_0x4220('0x10')]);_0x28040f[_0x4220('0x3d')][_0x4220('0x46')](()=>{_0x3bee50[_0x4220('0xc')](_0x32d734,{'commandName':_0x4220('0x1'),'commandParams':[]},[],_0x4220('0x1'));});}),_0x28040f[_0x4220('0x12')][_0x4220('0x37')](_0x4220('0x1'))['on'](_0x4220('0x3f'),(_0x533266,_0x28726d)=>{_0x28040f[_0x4220('0x12')][_0x4220('0x37')](_0x4220('0x11'))[_0x4220('0x20')]&&(_0x28726d[_0x4220('0x13')]>0x0&&_0x28726d[_0x28726d[_0x4220('0x13')]-0x1]&&_0x28726d[_0x28726d['length']-0x1][_0x4220('0x22')]||_0x3bee50[_0x4220('0x49')]||this['_areSelectedCellsMergable']()||_0x533266['stop']());},{'priority':_0x4220('0x30')});for(const _0x4de529 of[_0x4220('0x7'),'mergeTableCellRight',_0x4220('0x48'),_0x4220('0x9')]){const _0x5658a9=_0x28040f[_0x4220('0x12')][_0x4220('0x37')](_0x4de529);_0x3bee50['enableCommand'](_0x4de529,()=>{const _0x172669=_0x28040f[_0x4220('0x3d')][_0x4220('0x39')]['selection'][_0x4220('0x2d')]()[_0x4220('0xd')]()[_0x4220('0x16')](_0x43a25d=>_0x43a25d['is'](_0x4220('0x2f'),_0x4220('0x2e'))),_0x28225f=_0x5658a9['value'];_0x28040f[_0x4220('0x3d')][_0x4220('0x46')](()=>{_0x3bee50[_0x4220('0xc')]([_0x172669,_0x28225f],{'commandName':'mergeTableCells','commandParams':[]},[],_0x4220('0x1'));});});}for(const _0x5d92bd of[_0x4220('0x1b'),_0x4220('0x4d')]){const _0x479ce7=_0x28040f[_0x4220('0x12')][_0x4220('0x37')](_0x5d92bd);_0x3bee50[_0x4220('0x43')](_0x5d92bd,()=>{const _0x1fd3a6=_0x458944[_0x4220('0x29')](_0x28040f[_0x4220('0x3d')]['document'][_0x4220('0x10')])[0x0],_0xbefe95=_0x1fd3a6[_0x4220('0x31')](_0x4220('0xf')),{column:_0x3b3b31,row:_0x354738}=_0x458944[_0x4220('0xa')](_0x1fd3a6);let _0x73482=[];if(_0x4220('0x19')==_0x479ce7[_0x4220('0x24')]){const _0x206df6=_0x458944[_0x4220('0x1e')](_0xbefe95,{'startRow':_0x354738,'endRow':_0x354738,'includeAllSlots':!0x0});_0x73482=Array[_0x4220('0xb')](_0x206df6)['map'](_0x507d33=>_0x507d33[_0x4220('0x42')]);}else{const _0x283d15=_0x458944[_0x4220('0x1e')](_0xbefe95,{'column':_0x3b3b31,'includeAllSlots':!0x0});_0x73482=Array[_0x4220('0xb')](_0x283d15)[_0x4220('0x15')](_0x3aa70a=>_0x3aa70a[_0x4220('0x42')]);}_0x28040f[_0x4220('0x3d')][_0x4220('0x46')](_0x212576=>{_0x3bee50['markBlockFormat'](_0x212576[_0x4220('0x41')](_0x1fd3a6),{'commandName':_0x5d92bd,'commandParams':[]},_0x73482,_0x5d92bd);});});}_0x3bee50[_0x4220('0x27')]['registerDescriptionCallback'](_0x5aa29e=>{if('formatBlock'!=_0x5aa29e['type']&&'formatInline'!=_0x5aa29e[_0x4220('0x28')])return;const {data:_0x4d38ae}=_0x5aa29e;return _0x4d38ae&&_0x4220('0x1')==_0x4d38ae[_0x4220('0x3b')]?{'type':_0x4220('0x1d'),'content':_0x5b6bcf(_0x4f1735,_0x4220('0x40'))}:void 0x0;}),_0x3bee50['_descriptionFactory'][_0x4220('0x2a')](_0x121c2f=>{if('formatBlock'!=_0x121c2f[_0x4220('0x28')]&&'formatInline'!=_0x121c2f[_0x4220('0x28')])return;const {data:_0x1902bf}=_0x121c2f;return _0x1902bf?'splitTableCellVertically'==_0x1902bf[_0x4220('0x3b')]?{'type':'format','content':_0x5b6bcf(_0x4f1735,_0x4220('0x3'))}:_0x4220('0x4d')==_0x1902bf[_0x4220('0x3b')]?{'type':_0x4220('0x1d'),'content':_0x5b6bcf(_0x4f1735,_0x4220('0xe'))}:void 0x0:void 0x0;});const _0x3d6b10=_0x50efa1['_acceptFormatSuggestionCallbackFactory']();for(const _0x1a5e20 of[_0x4220('0x7'),_0x4220('0x4a'),'mergeTableCellDown','mergeTableCellLeft'])_0x3bee50[_0x4220('0x26')][_0x4220('0x4c')](_0x4220('0x33'),_0x1a5e20,'accept',_0x3d6b10);for(const _0x3ea0ff of[_0x4220('0x1b'),_0x4220('0x4d')])_0x3bee50[_0x4220('0x26')][_0x4220('0x4c')](_0x4220('0x33'),_0x3ea0ff,'accept',_0x3d6b10);_0x3bee50[_0x4220('0x26')][_0x4220('0x4c')]('formatBlock','mergeTableCells',_0x4220('0x1a'),_0x4a3aaf=>{_0x28040f['model']['change'](_0x12d8e0=>{const _0x3148c7=Array['from'](_0x419275[_0x4220('0x36')]())[_0x4220('0x15')](_0x2030c9=>_0x5c1c4f[_0x4220('0x4e')](_0x2030c9));_0x12d8e0[_0x4220('0x8')](_0x4a3aaf),_0x28040f[_0x4220('0x12')][_0x4220('0x37')]('mergeTableCells')[_0x4220('0x4')](),_0x28040f['execute'](_0x4220('0x1'),{'forceDefaultExecution':!0x0});const _0xd36370=_0x3148c7[_0x4220('0x17')](_0x241d61=>_0x4220('0x18')!=_0x241d61[_0x4220('0x25')]['rootName']);_0xd36370[_0x4220('0x13')]>0x0&&_0x12d8e0['setSelection'](_0xd36370);for(const _0xa9d31c of _0x3148c7)_0xa9d31c['detach']();});});for(const _0x3ebb6f of[_0x4220('0x7'),_0x4220('0x48'),_0x4220('0x9'),'mergeTableCellRight']){const _0x4becae=_0x28040f['commands']['get'](_0x3ebb6f);_0x4becae['on'](_0x4220('0x32'),(_0x41b4b1,_0x56e8e9,_0xa5002f)=>{if(_0xa5002f){const _0xfd9c26=_0x28040f[_0x4220('0x3d')]['document'][_0x4220('0x10')]['getFirstPosition']()[_0x4220('0xd')]()['find'](_0x44924e=>_0x44924e['is'](_0x4220('0x2f'),_0x4220('0x2e')));this[_0x4220('0x2')](_0x4becae[_0x4220('0x20')],_0xfd9c26)||(_0x41b4b1['return']=!0x1,_0x41b4b1[_0x4220('0x2c')]());}},{'priority':_0x4220('0x34')});}}[_0x4220('0x1c')](){const _0x482b02=this['editor'][_0x4220('0x12')][_0x4220('0x37')](_0x4220('0x1')),_0x471b34=this[_0x4220('0x35')]['plugins'][_0x4220('0x37')](_0x4220('0x1f'));if(!_0x482b02[_0x4220('0x6')])return!0x1;const _0x5b4327=_0x471b34['getSelectionAffectedTableCells'](this[_0x4220('0x35')][_0x4220('0x3d')][_0x4220('0x39')]['selection']);for(const _0x1420cd of _0x5b4327)for(const _0x5166ae of _0x5b4327)if(_0x1420cd!=_0x5166ae&&!this[_0x4220('0x2')](_0x1420cd,_0x5166ae))return!0x1;return!0x0;}[_0x4220('0x2')](_0x2baca9,_0x234521){const _0xa5c43f=this[_0x4220('0x35')][_0x4220('0x3c')][_0x4220('0x37')]('TrackChangesEditing'),_0x53a376=this[_0x4220('0x35')]['model']['createRangeOn'](_0x2baca9),_0x396221=this[_0x4220('0x35')][_0x4220('0x3d')][_0x4220('0x41')](_0x234521),_0x1beaca=new Set(),_0x136967=new Set();for(const _0x226223 of _0xa5c43f['getSuggestions']())if((_0x4220('0x2b')==_0x226223['type']||'deletion'==_0x226223[_0x4220('0x28')]||_0x4220('0x1')==_0x226223[_0x4220('0x0')])&&_0x226223[_0x4220('0x44')])for(const _0x30ce16 of _0x226223[_0x4220('0x36')]())_0x30ce16[_0x4220('0x3a')](_0x53a376,!0x0)&&_0x1beaca[_0x4220('0x21')](_0x226223['type']+':'+_0x226223[_0x4220('0x23')]['id']),_0x30ce16[_0x4220('0x3a')](_0x396221,!0x0)&&_0x136967[_0x4220('0x21')](_0x226223[_0x4220('0x28')]+':'+_0x226223[_0x4220('0x23')]['id']);if(_0x1beaca[_0x4220('0x4b')]!=_0x136967[_0x4220('0x4b')])return!0x1;for(const _0x2b4164 of _0x1beaca)if(!_0x136967[_0x4220('0x5')](_0x2b4164))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a5a=['ELEMENT_TABLE_OF_CONTENTS','get','editor','insertTableOfContents','tableOfContents','locale','afterInit','commands','TrackChangesEditing','plugins','enableCommand'];(function(_0x261e57,_0x5a5a82){const _0x59dd0f=function(_0x590b07){while(--_0x590b07){_0x261e57['push'](_0x261e57['shift']());}};_0x59dd0f(++_0x5a5a82);}(_0x5a5a,0x104));const _0x59dd=function(_0x261e57,_0x5a5a82){_0x261e57=_0x261e57-0x0;let _0x59dd0f=_0x5a5a[_0x261e57];return _0x59dd0f;};import{Plugin as _0x4c3ed0}from'ckeditor5/src/core';import{getTranslation as _0x1d685b}from'../utils/common-translations';export default class _t extends _0x4c3ed0{[_0x59dd('0xa')](){const _0x2fba0e=this[_0x59dd('0x6')];if(!_0x2fba0e[_0x59dd('0x0')][_0x59dd('0x5')](_0x59dd('0x7')))return;_0x2fba0e[_0x59dd('0x2')][_0x59dd('0x5')](_0x59dd('0x1'))[_0x59dd('0x3')](_0x59dd('0x7'));const _0x2eba4c=_0x2fba0e[_0x59dd('0x2')][_0x59dd('0x5')](_0x59dd('0x1')),_0x5e1592=_0x2fba0e[_0x59dd('0x9')];_0x2eba4c['_descriptionFactory']['registerElementLabel'](_0x59dd('0x8'),_0x4dd15c=>_0x1d685b(_0x5e1592,_0x59dd('0x4'),_0x4dd15c));}}
23
+ const _0x5851=['commands','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','get','enableCommand','plugins','editor','TrackChangesEditing','locale','afterInit','insertTableOfContents'];(function(_0x56e9d9,_0x585109){const _0x18ed7c=function(_0x2272b1){while(--_0x2272b1){_0x56e9d9['push'](_0x56e9d9['shift']());}};_0x18ed7c(++_0x585109);}(_0x5851,0x1d1));const _0x18ed=function(_0x56e9d9,_0x585109){_0x56e9d9=_0x56e9d9-0x0;let _0x18ed7c=_0x5851[_0x56e9d9];return _0x18ed7c;};import{Plugin as _0x426da0}from'ckeditor5/src/core';import{getTranslation as _0x40fa98}from'../utils/common-translations';export default class _t extends _0x426da0{[_0x18ed('0x6')](){const _0x5c339c=this[_0x18ed('0x3')];if(!_0x5c339c[_0x18ed('0x8')]['get'](_0x18ed('0x7')))return;_0x5c339c[_0x18ed('0x2')][_0x18ed('0x0')]('TrackChangesEditing')[_0x18ed('0x1')]('insertTableOfContents');const _0x564a76=_0x5c339c['plugins'][_0x18ed('0x0')](_0x18ed('0x4')),_0x4dbbaa=_0x5c339c[_0x18ed('0x5')];_0x564a76['_descriptionFactory']['registerElementLabel'](_0x18ed('0x9'),_0x5237d3=>_0x40fa98(_0x4dbbaa,_0x18ed('0xa'),_0x5237d3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4380=['_getSuggestion','getFirstPosition','model','tableCellBorderColor','_descriptionFactory','pluginName','discard','handleDiscardAction','start','markBlockFormat','subType','registerDescriptionCallback','accept','table','enableCommand','tableHeight','getSuggestions','tableBorderWidth','getSuggestionCallback','getSelectionAffectedTableCells','selection','commandParams','TrackChangesEditing','tableCellVerticalAlignment','editor','handleSuggestionDescription','tableBorderColor','registerCustomCallback','setAttribute','plugins','has','tableCellHorizontalAlignment','tableBorderStyle','batch','TrackChangesTableProperties','nodeAfter','getContainedElement','join','tableAlignment','_suggestionFactory','formatBlock','findAncestor','TableUtils','data','format','tableCellHeight','tableCellPadding','enqueueChange','afterInit','tableProperties','tableCellBorderWidth','get','_handlePropertyChange','tableCellProperties','document','tableCellBorderStyle','locale'];(function(_0x5e4d14,_0x438061){const _0x43cf02=function(_0x5dccc6){while(--_0x5dccc6){_0x5e4d14['push'](_0x5e4d14['shift']());}};_0x43cf02(++_0x438061);}(_0x4380,0x1f0));const _0x43cf=function(_0x5e4d14,_0x438061){_0x5e4d14=_0x5e4d14-0x0;let _0x43cf02=_0x4380[_0x5e4d14];return _0x43cf02;};import{Plugin as _0x243a6a}from'ckeditor5/src/core';import{getTranslation as _0x43dcca}from'../utils/common-translations';export default class Mt extends _0x243a6a{constructor(_0x6458b1){super(_0x6458b1),this['tableProperties']=[_0x43cf('0x2b'),_0x43cf('0x31'),_0x43cf('0x22'),_0x43cf('0x37'),'tableWidth',_0x43cf('0x20'),'tableBackgroundColor'],this[_0x43cf('0xd')]=[_0x43cf('0x14'),_0x43cf('0xf'),_0x43cf('0xa'),_0x43cf('0x6'),'tableCellWidth',_0x43cf('0x5'),'tableCellBackgroundColor',_0x43cf('0x30'),_0x43cf('0x28')];}static get[_0x43cf('0x16')](){return _0x43cf('0x33');}[_0x43cf('0x8')](){const _0x21587a=this['editor'][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));if(this[_0x43cf('0x29')]['plugins']['has']('TablePropertiesEditing')){for(const _0x211f79 of this[_0x43cf('0x9')])_0x21587a[_0x43cf('0x1f')](_0x211f79,(_0x326b26,_0x5d60e9)=>{const _0x3cda1a=this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0xe')]['selection'][_0x43cf('0x12')]()[_0x43cf('0x1')](_0x43cf('0x1e'));this[_0x43cf('0xc')](_0x211f79,[_0x3cda1a],this[_0x43cf('0x9')],_0x43cf('0x9'),_0x326b26,_0x5d60e9);});_0x21587a['_suggestionFactory']['registerCustomCallback'](_0x43cf('0x0'),_0x43cf('0x9'),_0x43cf('0x1d'),_0x21587a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x43cf('0x17'))),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),'tableProperties','discard',(_0x2ad16a,_0x4a65e7)=>this['handleDiscardAction'](this[_0x43cf('0x9')],_0x2ad16a,_0x4a65e7)),_0x21587a['_suggestionFactory'][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0x9'),_0x43cf('0x36'),()=>!0x1);}if(this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0x2f')]('TableCellPropertiesEditing')){for(const _0x532dcd of this[_0x43cf('0xd')])_0x21587a[_0x43cf('0x1f')](_0x532dcd,(_0x1c3c68,_0xad084f)=>{const _0x1eb688=this[_0x43cf('0x29')][_0x43cf('0x2e')]['get'](_0x43cf('0x2'))[_0x43cf('0x24')](this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0xe')][_0x43cf('0x25')]);this['_handlePropertyChange'](_0x532dcd,_0x1eb688,this[_0x43cf('0xd')],_0x43cf('0xd'),_0x1c3c68,_0xad084f);});_0x21587a[_0x43cf('0x38')]['registerCustomCallback'](_0x43cf('0x0'),'tableCellProperties',_0x43cf('0x1d'),_0x21587a[_0x43cf('0x38')][_0x43cf('0x23')](_0x43cf('0x0'),null,_0x43cf('0x17'))),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0xd'),_0x43cf('0x17'),(_0x2353dd,_0x36714f)=>this['handleDiscardAction'](this[_0x43cf('0xd')],_0x2353dd,_0x36714f)),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0xd'),_0x43cf('0x36'),()=>!0x1);}_0x21587a[_0x43cf('0x15')][_0x43cf('0x1c')](_0x124f2c=>this[_0x43cf('0x2a')](_0x124f2c));}[_0x43cf('0xc')](_0x3036f6,_0x5ba725,_0x3d880e,_0x3e598f,_0x519d3d,_0x5154c3){const _0x16162d=this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0x7')](_0x5154c3[_0x43cf('0x32')],()=>{for(const _0x2f4743 of _0x5ba725){if(this[_0x43cf('0x11')](_0x2f4743,_0x3e598f))_0x519d3d(_0x5154c3);else{const _0x4edacc={};for(const _0x1ddcbe of _0x3d880e){const _0x34e2bc=_0x2f4743['getAttribute'](_0x1ddcbe);void 0x0!==_0x34e2bc&&(_0x4edacc[_0x1ddcbe]=_0x34e2bc);}_0x519d3d(_0x5154c3),_0x16162d[_0x43cf('0x1a')](_0x2f4743,{'commandParams':[_0x4edacc]},[],_0x3e598f);}}});}[_0x43cf('0x18')](_0x50b009,_0x5b34e5,_0x57d66c){const _0x4e6c12=_0x5b34e5[0x0][_0x43cf('0x19')][_0x43cf('0x34')],_0x49e015=_0x57d66c[_0x43cf('0x26')][0x0];this[_0x43cf('0x29')][_0x43cf('0x13')]['change'](_0x555f27=>{for(const _0x45c651 of _0x50b009)void 0x0!==_0x49e015[_0x45c651]?_0x555f27[_0x43cf('0x2d')](_0x45c651,_0x49e015[_0x45c651],_0x4e6c12):_0x555f27['removeAttribute'](_0x45c651,_0x4e6c12);});}[_0x43cf('0x2a')](_0x3197e1){if(_0x3197e1[_0x43cf('0x3')])switch(_0x3197e1['subType']){case _0x43cf('0x9'):return{'type':_0x43cf('0x4'),'content':_0x43dcca(this['editor'][_0x43cf('0x10')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x43cf('0x4'),'content':_0x43dcca(this[_0x43cf('0x29')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x43cf('0x11')](_0x14ffc0,_0x5751b1){const _0x3568f0=this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));for(const _0x38dd37 of _0x3568f0[_0x43cf('0x21')]({'skipNotAttached':!0x0})){const _0x49581e=_0x38dd37[_0x43cf('0x35')]();if(_0x38dd37[_0x43cf('0x1b')]===_0x5751b1&&_0x49581e===_0x14ffc0)return _0x38dd37;}return null;}}
23
+ const _0xafab=['has','tableCellHeight','tableCellBackgroundColor','join','data','editor','registerDescriptionCallback','TrackChangesTableProperties','tableProperties','accept','locale','tableBackgroundColor','tableBorderColor','getAttribute','formatBlock','registerCustomCallback','handleDiscardAction','start','tableBorderStyle','tableAlignment','TableCellPropertiesEditing','tableCellPadding','get','removeAttribute','change','table','tableCellProperties','tableWidth','tableCellVerticalAlignment','_getSuggestion','tableCellWidth','tableBorderWidth','batch','findAncestor','pluginName','tableCellBorderWidth','tableHeight','_suggestionFactory','format','*Format:*\x20change\x20table\x20cell\x20properties','handleSuggestionDescription','model','getSuggestionCallback','_descriptionFactory','TrackChangesEditing','selection','discard','_handlePropertyChange','nodeAfter','plugins','subType','tableCellHorizontalAlignment','enqueueChange','enableCommand','document'];(function(_0x5cc543,_0xafabe6){const _0x50b605=function(_0x16c715){while(--_0x16c715){_0x5cc543['push'](_0x5cc543['shift']());}};_0x50b605(++_0xafabe6);}(_0xafab,0x1ea));const _0x50b6=function(_0x5cc543,_0xafabe6){_0x5cc543=_0x5cc543-0x0;let _0x50b605=_0xafab[_0x5cc543];return _0x50b605;};import{Plugin as _0x413448}from'ckeditor5/src/core';import{getTranslation as _0x4ca49d}from'../utils/common-translations';export default class Mt extends _0x413448{constructor(_0x1bcd76){super(_0x1bcd76),this[_0x50b6('0xd')]=[_0x50b6('0x11'),_0x50b6('0x17'),_0x50b6('0x24'),_0x50b6('0x18'),_0x50b6('0x20'),_0x50b6('0x29'),_0x50b6('0x10')],this[_0x50b6('0x1f')]=['tableCellBorderColor','tableCellBorderStyle',_0x50b6('0x28'),_0x50b6('0x1a'),_0x50b6('0x23'),_0x50b6('0x6'),_0x50b6('0x7'),_0x50b6('0x1'),_0x50b6('0x21')];}static get[_0x50b6('0x27')](){return _0x50b6('0xc');}['afterInit'](){const _0x178d6b=this[_0x50b6('0xa')]['plugins'][_0x50b6('0x1b')](_0x50b6('0x31'));if(this[_0x50b6('0xa')][_0x50b6('0x36')][_0x50b6('0x5')]('TablePropertiesEditing')){for(const _0x368d20 of this[_0x50b6('0xd')])_0x178d6b[_0x50b6('0x3')](_0x368d20,(_0x2bbfc4,_0x28f9e7)=>{const _0x59a475=this[_0x50b6('0xa')][_0x50b6('0x2e')][_0x50b6('0x4')]['selection']['getFirstPosition']()[_0x50b6('0x26')](_0x50b6('0x1e'));this[_0x50b6('0x34')](_0x368d20,[_0x59a475],this[_0x50b6('0xd')],'tableProperties',_0x2bbfc4,_0x28f9e7);});_0x178d6b[_0x50b6('0x2a')]['registerCustomCallback'](_0x50b6('0x13'),_0x50b6('0xd'),_0x50b6('0xe'),_0x178d6b[_0x50b6('0x2a')][_0x50b6('0x2f')](_0x50b6('0x13'),null,'discard')),_0x178d6b['_suggestionFactory'][_0x50b6('0x14')](_0x50b6('0x13'),'tableProperties',_0x50b6('0x33'),(_0x1bfab2,_0x27def3)=>this[_0x50b6('0x15')](this['tableProperties'],_0x1bfab2,_0x27def3)),_0x178d6b[_0x50b6('0x2a')]['registerCustomCallback'](_0x50b6('0x13'),_0x50b6('0xd'),_0x50b6('0x8'),()=>!0x1);}if(this[_0x50b6('0xa')]['plugins']['has'](_0x50b6('0x19'))){for(const _0x2a51d6 of this[_0x50b6('0x1f')])_0x178d6b[_0x50b6('0x3')](_0x2a51d6,(_0x378a42,_0x4d7cdb)=>{const _0x144443=this[_0x50b6('0xa')]['plugins'][_0x50b6('0x1b')]('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model'][_0x50b6('0x4')][_0x50b6('0x32')]);this[_0x50b6('0x34')](_0x2a51d6,_0x144443,this[_0x50b6('0x1f')],_0x50b6('0x1f'),_0x378a42,_0x4d7cdb);});_0x178d6b['_suggestionFactory'][_0x50b6('0x14')](_0x50b6('0x13'),'tableCellProperties',_0x50b6('0xe'),_0x178d6b[_0x50b6('0x2a')][_0x50b6('0x2f')](_0x50b6('0x13'),null,_0x50b6('0x33'))),_0x178d6b[_0x50b6('0x2a')][_0x50b6('0x14')](_0x50b6('0x13'),'tableCellProperties',_0x50b6('0x33'),(_0x32b17b,_0x4b7b13)=>this['handleDiscardAction'](this[_0x50b6('0x1f')],_0x32b17b,_0x4b7b13)),_0x178d6b['_suggestionFactory'][_0x50b6('0x14')](_0x50b6('0x13'),_0x50b6('0x1f'),'join',()=>!0x1);}_0x178d6b[_0x50b6('0x30')][_0x50b6('0xb')](_0x2ca218=>this['handleSuggestionDescription'](_0x2ca218));}[_0x50b6('0x34')](_0x499c0d,_0x13e2d6,_0xa9f4f0,_0x55c5e4,_0x53515a,_0x5d5613){const _0x472532=this['editor']['plugins']['get'](_0x50b6('0x31'));this[_0x50b6('0xa')][_0x50b6('0x2e')][_0x50b6('0x2')](_0x5d5613[_0x50b6('0x25')],()=>{for(const _0xfbe6a7 of _0x13e2d6){if(this[_0x50b6('0x22')](_0xfbe6a7,_0x55c5e4))_0x53515a(_0x5d5613);else{const _0x1cdcb7={};for(const _0x35d586 of _0xa9f4f0){const _0x25d002=_0xfbe6a7[_0x50b6('0x12')](_0x35d586);void 0x0!==_0x25d002&&(_0x1cdcb7[_0x35d586]=_0x25d002);}_0x53515a(_0x5d5613),_0x472532['markBlockFormat'](_0xfbe6a7,{'commandParams':[_0x1cdcb7]},[],_0x55c5e4);}}});}['handleDiscardAction'](_0x3cdbc9,_0x505b3,_0x3cccd1){const _0x2e3847=_0x505b3[0x0][_0x50b6('0x16')][_0x50b6('0x35')],_0x4abb54=_0x3cccd1['commandParams'][0x0];this[_0x50b6('0xa')][_0x50b6('0x2e')][_0x50b6('0x1d')](_0x30e5d2=>{for(const _0x3e517d of _0x3cdbc9)void 0x0!==_0x4abb54[_0x3e517d]?_0x30e5d2['setAttribute'](_0x3e517d,_0x4abb54[_0x3e517d],_0x2e3847):_0x30e5d2[_0x50b6('0x1c')](_0x3e517d,_0x2e3847);});}[_0x50b6('0x2d')](_0x3d423a){if(_0x3d423a[_0x50b6('0x9')])switch(_0x3d423a[_0x50b6('0x0')]){case _0x50b6('0xd'):return{'type':_0x50b6('0x2b'),'content':_0x4ca49d(this[_0x50b6('0xa')][_0x50b6('0xf')],'*Format:*\x20change\x20table\x20properties')};case _0x50b6('0x1f'):return{'type':_0x50b6('0x2b'),'content':_0x4ca49d(this[_0x50b6('0xa')][_0x50b6('0xf')],_0x50b6('0x2c'))};}}[_0x50b6('0x22')](_0x244478,_0x12ffba){const _0x307019=this[_0x50b6('0xa')]['plugins'][_0x50b6('0x1b')]('TrackChangesEditing');for(const _0x590e44 of _0x307019['getSuggestions']({'skipNotAttached':!0x0})){const _0x5ebec7=_0x590e44['getContainedElement']();if(_0x590e44[_0x50b6('0x0')]===_0x12ffba&&_0x5ebec7===_0x244478)return _0x590e44;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3155=['afterInit','get','has','insertTemplate','Template','enableCommand'];(function(_0x1a7064,_0x31556d){const _0x38c19a=function(_0x35333f){while(--_0x35333f){_0x1a7064['push'](_0x1a7064['shift']());}};_0x38c19a(++_0x31556d);}(_0x3155,0xd3));const _0x38c1=function(_0x1a7064,_0x31556d){_0x1a7064=_0x1a7064-0x0;let _0x38c19a=_0x3155[_0x1a7064];return _0x38c19a;};import{Plugin as _0x251e99}from'ckeditor5/src/core';export default class vt extends _0x251e99{[_0x38c1('0x5')](){const _0x372c05=this['editor'];_0x372c05['plugins'][_0x38c1('0x1')](_0x38c1('0x3'))&&_0x372c05['plugins'][_0x38c1('0x0')]('TrackChangesEditing')[_0x38c1('0x4')](_0x38c1('0x2'));}}
23
+ const _0x2f55=['Template','plugins','has','enableCommand','editor','afterInit','get'];(function(_0x83a6df,_0x2f55af){const _0x305ede=function(_0x2515b9){while(--_0x2515b9){_0x83a6df['push'](_0x83a6df['shift']());}};_0x305ede(++_0x2f55af);}(_0x2f55,0x86));const _0x305e=function(_0x83a6df,_0x2f55af){_0x83a6df=_0x83a6df-0x0;let _0x305ede=_0x2f55[_0x83a6df];return _0x305ede;};import{Plugin as _0x3d7809}from'ckeditor5/src/core';export default class vt extends _0x3d7809{[_0x305e('0x4')](){const _0x39e9bb=this[_0x305e('0x3')];_0x39e9bb['plugins'][_0x305e('0x1')](_0x305e('0x6'))&&_0x39e9bb[_0x305e('0x0')][_0x305e('0x5')]('TrackChangesEditing')[_0x305e('0x2')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x549d=['suggestion','_splitMarkerName','TrackChangesEditing','nodeBefore','ELEMENT_TITLE','getChangedMarkers','removeMarker','registerElementLabel','forward','afterInit','Title','element','updateMarker','title-content','schema','document','start','plugins','end','from','_descriptionFactory','createRange','isTouching','model','locale','differ','editor','newRange','has','isEqual','isCollapsed'];(function(_0x4b6809,_0x549d30){const _0x598881=function(_0x44964e){while(--_0x44964e){_0x4b6809['push'](_0x4b6809['shift']());}};_0x598881(++_0x549d30);}(_0x549d,0x1a1));const _0x5988=function(_0x4b6809,_0x549d30){_0x4b6809=_0x4b6809-0x0;let _0x598881=_0x549d[_0x4b6809];return _0x598881;};import{Plugin as _0x513ffa}from'ckeditor5/src/core';import{getTranslation as _0x4f7371}from'../utils/common-translations';export default class Ct extends _0x513ffa{[_0x5988('0x1a')](){const _0x246cd5=this[_0x5988('0xc')];if(!_0x246cd5[_0x5988('0x3')][_0x5988('0xe')](_0x5988('0x1b')))return;const _0x3abf09=_0x246cd5[_0x5988('0x3')]['get'](_0x5988('0x13'));_0x3abf09[_0x5988('0x6')][_0x5988('0x18')](_0x5988('0x1e'),()=>_0x4f7371(_0x246cd5[_0x5988('0xa')],_0x5988('0x15'))),_0x246cd5[_0x5988('0x9')][_0x5988('0x1')]['registerPostFixer'](_0x3db1a9=>{let _0x2fb72e=!0x1;const _0x57e5c9=Array[_0x5988('0x5')](_0x246cd5[_0x5988('0x9')][_0x5988('0x1')][_0x5988('0xb')][_0x5988('0x16')]());for(const {name:_0x948e85,data:_0x220579}of _0x57e5c9){const {group:_0x43ce25}=_0x3abf09[_0x5988('0x12')](_0x948e85);if(_0x5988('0x11')!==_0x43ce25||!_0x220579[_0x5988('0xd')])continue;const _0x56dcd3=_0x220579['newRange'],_0x287a16=_0x56dcd3[_0x5988('0x4')][_0x5988('0x14')];if(!_0x287a16||!_0x287a16['is'](_0x5988('0x1c'),_0x5988('0x1e')))continue;if(!_0x56dcd3[_0x5988('0x2')][_0x5988('0x8')](_0x56dcd3[_0x5988('0x4')]))continue;const _0x57a096=_0x246cd5[_0x5988('0x9')][_0x5988('0x0')]['getNearestSelectionRange'](_0x56dcd3[_0x5988('0x4')],_0x5988('0x19'));if(_0x57a096&&_0x57a096[_0x5988('0x10')]){const _0x3eb3e3=_0x3db1a9[_0x5988('0x7')](_0x56dcd3[_0x5988('0x2')],_0x57a096[_0x5988('0x2')]);_0x3eb3e3[_0x5988('0xf')](_0x56dcd3)||(_0x3db1a9[_0x5988('0x1d')](_0x948e85,{'range':_0x3eb3e3}),_0x2fb72e=!0x0);}_0x2fb72e||(_0x3db1a9[_0x5988('0x17')](_0x948e85),_0x2fb72e=!0x0);}return _0x2fb72e;});}}
23
+ const _0x1904=['getChangedMarkers','model','title-content','editor','document','has','schema','element','end','registerPostFixer','getNearestSelectionRange','forward','_descriptionFactory','removeMarker','isCollapsed','locale','afterInit','isTouching','plugins','updateMarker','createRange','start','newRange','suggestion','TrackChangesEditing','registerElementLabel','from'];(function(_0x132590,_0x19044d){const _0x1a1ac8=function(_0xa7493d){while(--_0xa7493d){_0x132590['push'](_0x132590['shift']());}};_0x1a1ac8(++_0x19044d);}(_0x1904,0xb4));const _0x1a1a=function(_0x132590,_0x19044d){_0x132590=_0x132590-0x0;let _0x1a1ac8=_0x1904[_0x132590];return _0x1a1ac8;};import{Plugin as _0x4805bf}from'ckeditor5/src/core';import{getTranslation as _0x4343b5}from'../utils/common-translations';export default class Ct extends _0x4805bf{[_0x1a1a('0x19')](){const _0x2c746b=this[_0x1a1a('0xc')];if(!_0x2c746b[_0x1a1a('0x0')][_0x1a1a('0xe')]('Title'))return;const _0x35789f=_0x2c746b[_0x1a1a('0x0')]['get'](_0x1a1a('0x6'));_0x35789f[_0x1a1a('0x15')][_0x1a1a('0x7')](_0x1a1a('0xb'),()=>_0x4343b5(_0x2c746b[_0x1a1a('0x18')],'ELEMENT_TITLE')),_0x2c746b[_0x1a1a('0xa')][_0x1a1a('0xd')][_0x1a1a('0x12')](_0x5aa857=>{let _0x1c2bf2=!0x1;const _0x363481=Array[_0x1a1a('0x8')](_0x2c746b['model'][_0x1a1a('0xd')]['differ'][_0x1a1a('0x9')]());for(const {name:_0x2d5d45,data:_0x568205}of _0x363481){const {group:_0x26a5f9}=_0x35789f['_splitMarkerName'](_0x2d5d45);if(_0x1a1a('0x5')!==_0x26a5f9||!_0x568205['newRange'])continue;const _0x1819ac=_0x568205[_0x1a1a('0x4')],_0x58c4d3=_0x1819ac['end']['nodeBefore'];if(!_0x58c4d3||!_0x58c4d3['is'](_0x1a1a('0x10'),_0x1a1a('0xb')))continue;if(!_0x1819ac[_0x1a1a('0x3')][_0x1a1a('0x1a')](_0x1819ac['end']))continue;const _0x1a7969=_0x2c746b[_0x1a1a('0xa')][_0x1a1a('0xf')][_0x1a1a('0x13')](_0x1819ac[_0x1a1a('0x11')],_0x1a1a('0x14'));if(_0x1a7969&&_0x1a7969[_0x1a1a('0x17')]){const _0x1107ab=_0x5aa857[_0x1a1a('0x2')](_0x1819ac[_0x1a1a('0x3')],_0x1a7969[_0x1a1a('0x3')]);_0x1107ab['isEqual'](_0x1819ac)||(_0x5aa857[_0x1a1a('0x1')](_0x2d5d45,{'range':_0x1107ab}),_0x1c2bf2=!0x0);}_0x1c2bf2||(_0x5aa857[_0x1a1a('0x16')](_0x2d5d45),_0x1c2bf2=!0x0);}return _0x1c2bf2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dd0=['plugins','has','afterInit','editor','UndoEditing','enableCommand','TrackChangesEditing','get'];(function(_0x366cf0,_0x3dd080){const _0x17e01c=function(_0x59d81f){while(--_0x59d81f){_0x366cf0['push'](_0x366cf0['shift']());}};_0x17e01c(++_0x3dd080);}(_0x3dd0,0x148));const _0x17e0=function(_0x366cf0,_0x3dd080){_0x366cf0=_0x366cf0-0x0;let _0x17e01c=_0x3dd0[_0x366cf0];return _0x17e01c;};import{Plugin as _0x31da7}from'ckeditor5/src/core';export default class Dt extends _0x31da7{[_0x17e0('0x2')](){const _0x4929a0=this[_0x17e0('0x3')],_0x5ce558=_0x4929a0[_0x17e0('0x0')][_0x17e0('0x7')](_0x17e0('0x6'));_0x4929a0[_0x17e0('0x0')][_0x17e0('0x1')](_0x17e0('0x4'))&&(_0x5ce558[_0x17e0('0x5')]('undo'),_0x5ce558[_0x17e0('0x5')]('redo'));}}
23
+ const _0x16ce=['UndoEditing','editor','has','afterInit','plugins','enableCommand','redo','TrackChangesEditing'];(function(_0x50d7b2,_0x16cecf){const _0x5072d4=function(_0x1bf8b4){while(--_0x1bf8b4){_0x50d7b2['push'](_0x50d7b2['shift']());}};_0x5072d4(++_0x16cecf);}(_0x16ce,0x1b7));const _0x5072=function(_0x50d7b2,_0x16cecf){_0x50d7b2=_0x50d7b2-0x0;let _0x5072d4=_0x16ce[_0x50d7b2];return _0x5072d4;};import{Plugin as _0x1c22e2}from'ckeditor5/src/core';export default class Dt extends _0x1c22e2{[_0x5072('0x4')](){const _0x3069ca=this[_0x5072('0x2')],_0x2130d3=_0x3069ca[_0x5072('0x5')]['get'](_0x5072('0x0'));_0x3069ca[_0x5072('0x5')][_0x5072('0x3')](_0x5072('0x1'))&&(_0x2130d3[_0x5072('0x6')]('undo'),_0x2130d3[_0x5072('0x6')](_0x5072('0x7')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24cf=['push','span','element','listIndent','activeMarkers','name','get','test','markerName','hasAttribute','plugins','schema','writer','isAtEnd','getItems','getCustomProperty','nextSibling','addHighlight','parent','isLimit','consumable','toViewPosition','bindElementToMarker','TrackChangesEditing','mapper','ck-suggestion-marker-','previousPosition','type','listItem','start','toViewElement','isContent','markerRange','addClass','item','createRangeOn'];(function(_0xc2826b,_0x24cf67){const _0x407279=function(_0x288bd3){while(--_0x288bd3){_0xc2826b['push'](_0xc2826b['shift']());}};_0x407279(++_0x24cf67);}(_0x24cf,0x97));const _0x4072=function(_0xc2826b,_0x24cf67){_0xc2826b=_0xc2826b-0x0;let _0x407279=_0x24cf[_0xc2826b];return _0x407279;};export function getRangesWithAttribute(_0x3e7d8a,_0x533266,_0x50ef5b){const _0x3bd4b8=[];for(const _0x1d95b2 of _0x533266[_0x4072('0x7')]())_0x1d95b2[_0x4072('0x2')](_0x3e7d8a)&&_0x3bd4b8[_0x4072('0x1d')](_0x50ef5b[_0x4072('0x1c')](_0x1d95b2));return _0x3bd4b8;}export function getElementsAffectedByListItemRename(_0x4a785c){const _0x58f538=[];if(_0x4a785c['is']('element',_0x4072('0x15'))){let _0x149ee6=_0x4a785c[_0x4072('0x9')];for(;_0x149ee6&&_0x149ee6['is'](_0x4072('0x1f'),_0x4072('0x15'))&&_0x149ee6['getAttribute'](_0x4072('0x20'))>0x0;)_0x58f538[_0x4072('0x1d')](_0x149ee6),_0x149ee6=_0x149ee6[_0x4072('0x9')];}return _0x58f538;}export function downcastSplitMergeMarker(_0x16d738,_0x1eff67,{showActiveMarker:_0x2fbb14=!0x0}={}){const _0x2e0912=_0x16d738[_0x4072('0x3')][_0x4072('0x23')](_0x4072('0x10'));return(_0x1480ad,_0x221cf3,_0x2b9384)=>{if(!_0x2b9384[_0x4072('0xd')][_0x4072('0x0')](_0x221cf3['markerRange'],_0x1480ad[_0x4072('0x22')]))return;const _0x347926=_0x221cf3[_0x4072('0x19')]['getWalker'](),_0x2b0260=_0x221cf3[_0x4072('0x19')][_0x4072('0x16')],_0x3129b0=_0x16d738['model'][_0x4072('0x4')];let _0x215688=null,_0x1983b4=null,_0x391fe1=!0x1,_0x117879=!0x1;for(const _0x29678b of _0x347926){const _0x4dad13=_0x29678b[_0x4072('0x1b')];_0x391fe1=_0x391fe1||_0x3129b0[_0x4072('0x18')](_0x4dad13);const _0x54b9cb=_0x2b9384[_0x4072('0x11')][_0x4072('0x17')](_0x4dad13);if(_0x54b9cb&&_0x54b9cb[_0x4072('0x8')](_0x4072('0xa')))return;'elementEnd'==_0x29678b[_0x4072('0x14')]&&(_0x3129b0['isBlock'](_0x4dad13)&&!_0x3129b0[_0x4072('0xc')](_0x4dad13)&&(_0x4dad13[_0x4072('0x9')]||_0x2b0260[_0x4072('0x6')]?_0x215688&&_0x215688[_0x4072('0xb')]==_0x4dad13||(_0x215688=_0x4dad13,_0x2bda53(_0x29678b[_0x4072('0x13')]),_0x117879=!0x0):_0x1983b4=_0x1983b4||_0x29678b[_0x4072('0x13')]));}function _0x2bda53(_0x3bbabf){const _0x1b1369=_0x2b9384['writer']['createUIElement'](_0x4072('0x1e'),{'class':_0x4072('0x12')+_0x1eff67}),_0x206c3d=_0x2b9384[_0x4072('0x11')][_0x4072('0xe')](_0x3bbabf);_0x2fbb14&&_0x2e0912[_0x4072('0x21')]['includes'](_0x221cf3['markerName'])&&_0x2b9384[_0x4072('0x5')][_0x4072('0x1a')]('ck-suggestion-marker--active',_0x1b1369),_0x2b9384[_0x4072('0x5')]['insert'](_0x206c3d,_0x1b1369),_0x2b9384[_0x4072('0x11')][_0x4072('0xf')](_0x1b1369,_0x221cf3[_0x4072('0x1')]);}_0x391fe1||_0x117879||!_0x1983b4||_0x2bda53(_0x1983b4);};}
23
+ const _0x46cb=['getAttribute','bindElementToMarker','getCustomProperty','parent','schema','hasAttribute','get','element','listIndent','push','start','previousPosition','getWalker','isBlock','elementEnd','listItem','addHighlight','addClass','isContent','type','toViewElement','mapper','consumable','ck-suggestion-marker-','createRangeOn','markerName','writer','name','markerRange','TrackChangesEditing','ck-suggestion-marker--active','includes','model'];(function(_0x22139e,_0x46cba9){const _0x2d9d43=function(_0x118306){while(--_0x118306){_0x22139e['push'](_0x22139e['shift']());}};_0x2d9d43(++_0x46cba9);}(_0x46cb,0xf3));const _0x2d9d=function(_0x22139e,_0x46cba9){_0x22139e=_0x22139e-0x0;let _0x2d9d43=_0x46cb[_0x22139e];return _0x2d9d43;};export function getRangesWithAttribute(_0xb6866a,_0x5bad4b,_0xfa2091){const _0x19dcd7=[];for(const _0x33c4f8 of _0x5bad4b['getItems']())_0x33c4f8[_0x2d9d('0x1a')](_0xb6866a)&&_0x19dcd7['push'](_0xfa2091[_0x2d9d('0xc')](_0x33c4f8));return _0x19dcd7;}export function getElementsAffectedByListItemRename(_0x424311){const _0x28b56f=[];if(_0x424311['is'](_0x2d9d('0x1c'),_0x2d9d('0x3'))){let _0x5287bb=_0x424311['nextSibling'];for(;_0x5287bb&&_0x5287bb['is'](_0x2d9d('0x1c'),'listItem')&&_0x5287bb[_0x2d9d('0x15')](_0x2d9d('0x1d'))>0x0;)_0x28b56f[_0x2d9d('0x1e')](_0x5287bb),_0x5287bb=_0x5287bb['nextSibling'];}return _0x28b56f;}export function downcastSplitMergeMarker(_0x81af50,_0x14cc61,{showActiveMarker:_0x35a266=!0x0}={}){const _0x54be60=_0x81af50['plugins'][_0x2d9d('0x1b')](_0x2d9d('0x11'));return(_0xa379e9,_0xedc5f8,_0x52f2be)=>{if(!_0x52f2be[_0x2d9d('0xa')]['test'](_0xedc5f8['markerRange'],_0xa379e9[_0x2d9d('0xf')]))return;const _0x4502ab=_0xedc5f8[_0x2d9d('0x10')][_0x2d9d('0x0')](),_0x5f4d4a=_0xedc5f8[_0x2d9d('0x10')][_0x2d9d('0x1f')],_0x11121b=_0x81af50[_0x2d9d('0x14')][_0x2d9d('0x19')];let _0x374d4b=null,_0x13f855=null,_0x4f577c=!0x1,_0x136c39=!0x1;for(const _0x1adb7e of _0x4502ab){const _0x5af5fc=_0x1adb7e['item'];_0x4f577c=_0x4f577c||_0x11121b[_0x2d9d('0x6')](_0x5af5fc);const _0x4966b6=_0x52f2be['mapper'][_0x2d9d('0x8')](_0x5af5fc);if(_0x4966b6&&_0x4966b6[_0x2d9d('0x17')](_0x2d9d('0x4')))return;_0x2d9d('0x2')==_0x1adb7e[_0x2d9d('0x7')]&&(_0x11121b[_0x2d9d('0x1')](_0x5af5fc)&&!_0x11121b['isLimit'](_0x5af5fc)&&(_0x5af5fc['nextSibling']||_0x5f4d4a['isAtEnd']?_0x374d4b&&_0x374d4b[_0x2d9d('0x18')]==_0x5af5fc||(_0x374d4b=_0x5af5fc,_0x3e12f6(_0x1adb7e[_0x2d9d('0x20')]),_0x136c39=!0x0):_0x13f855=_0x13f855||_0x1adb7e[_0x2d9d('0x20')]));}function _0x3e12f6(_0x3e1b97){const _0x302f4e=_0x52f2be[_0x2d9d('0xe')]['createUIElement']('span',{'class':_0x2d9d('0xb')+_0x14cc61}),_0x1b8423=_0x52f2be[_0x2d9d('0x9')]['toViewPosition'](_0x3e1b97);_0x35a266&&_0x54be60['activeMarkers'][_0x2d9d('0x13')](_0xedc5f8['markerName'])&&_0x52f2be[_0x2d9d('0xe')][_0x2d9d('0x5')](_0x2d9d('0x12'),_0x302f4e),_0x52f2be['writer']['insert'](_0x1b8423,_0x302f4e),_0x52f2be[_0x2d9d('0x9')][_0x2d9d('0x16')](_0x302f4e,_0xedc5f8[_0x2d9d('0xd')]);}_0x4f577c||_0x136c39||!_0x13f855||_0x3e12f6(_0x13f855);};}