@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231010.0 → 0.0.0-nightly-20231011.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 (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.d.ts +21 -0
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.d.ts +5 -2
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b01=['tablePasteRow','getColumnIndexes','startsWith','markerName','tableCellBorderWidth','from','editor','editing','_getCoordsForCells','endColumn','stop','TableUtils','value','keys','tableCellBackgroundColor','listenTo','for','trackChanges','high','discard','getAllAdjacentSuggestions','dataDowncast','_createdBatches','getChild','createRangeOn','cell','conversion','content','cells','set','document','register','createRangeIn','isEmpty','_suggestionFactory','getRanges','start','tableCellBorderColor','columns','suggestionUnloaded','position','ck-suggestion-marker-insertion','formatBlock','tablePasteColumn','deletion','_replaceTableSlotCell','insertColumns','last','rowInsertionIndexes','nodeAfter','containsRange','Users','markerToHighlight','createElement','removeColumns','columnInsertionRanges','getContainedElement','suggestion:formatBlock:tablePasteCell','getChildren','filter','*Replace\x20table\x20cells*','$graveyard','requires','TrackChangesEditing','tablePaste','first','getShiftedBy','find','insertionRanges','remove','removeMarkers','subType','plugins','registerCustomCallback','some','push','insert','map','differ','afterInit','tableCellHorizontalAlignment','join','removeRows','oldRange','getMarkers','getChangedMarkers','_splitMarkerName','element','end','add','author','registerDescriptionCallback','includes','column','get','model','length','table','tableCell','tableCellSuggestion','fromEntries','insertContent','batch','columnInsertionIndexes','ck-suggestion-marker--active','removeMarker','rootName','name','previousSibling','getSuggestions','markerAttributes','previous','tableCellPadding','commands','next','activeMarkers','rowInsertionRanges','getSuggestion','getRowIndexes','tablePasteCell','tableCellVerticalAlignment','type','fill','unwrap','every','getTableIfOnlyTableInContent','accept','updateMarker','getSuggestionCallback','registerPostFixer','isEqual','isInContent','entries','setAttributes','markMultiRangeInsertion','suggestion-td','move','view','schema','locale','getRows','tablePasteChainId','suggestionLoaded','tableCellBorderStyle','redo','insertion','wrap','createRange','findAncestor','getRange','deletionRanges','elementToElement','createTableWalker','newRange','attributes','clipboardOutput','return','insertRows','change','_tablePostFixingSubtypes','suggestion','has','TableClipboard'];(function(_0x6c9c25,_0x4b01d5){const _0x184da6=function(_0x10abfa){while(--_0x10abfa){_0x6c9c25['push'](_0x6c9c25['shift']());}};_0x184da6(++_0x4b01d5);}(_0x4b01,0x80));const _0x184d=function(_0x6c9c25,_0x4b01d5){_0x6c9c25=_0x6c9c25-0x0;let _0x184da6=_0x4b01[_0x6c9c25];return _0x184da6;};import{getTranslation as _0x38897b}from'../utils/common-translations';import{Plugin as _0x4ddeb8}from'ckeditor5/src/core';import{uid as _0x34be95,priorities as _0x481e82}from'ckeditor5/src/utils';import _0x1f9f87 from'./table';const le=[_0x184d('0x27'),_0x184d('0x48'),_0x184d('0xf'),_0x184d('0x73'),_0x184d('0x9b'),_0x184d('0x31'),_0x184d('0x93')],ae=Object[_0x184d('0x87')](le[_0x184d('0x70')](_0xac1943=>[_0xac1943,null]));export default class wt extends _0x4ddeb8{static get[_0x184d('0x61')](){return[_0x1f9f87];}[_0x184d('0x72')](){const _0xd4fad9=this[_0x184d('0x29')];if(!_0xd4fad9['plugins'][_0x184d('0x21')]('TableClipboard'))return;const _0x4e2471=_0xd4fad9[_0x184d('0x6b')][_0x184d('0x81')](_0x184d('0x62')),_0x3f6e58=_0xd4fad9[_0x184d('0x6b')]['get'](_0x184d('0x2e')),_0x523495=_0xd4fad9[_0x184d('0x6b')][_0x184d('0x81')](_0x1f9f87),_0x8c8a3a=_0xd4fad9[_0x184d('0x6b')][_0x184d('0x81')](_0x184d('0x22'));_0x523495[_0x184d('0x1f')][_0x184d('0x6e')](_0x184d('0x23'),_0x184d('0x4e')),_0xd4fad9[_0x184d('0x82')][_0x184d('0xa')][_0x184d('0x42')]('tableCellSuggestion',{'allowIn':_0x184d('0x85'),'allowContentOf':'tableCell','isLimit':!0x0}),_0xd4fad9[_0x184d('0x3d')][_0x184d('0x17')]({'model':_0x184d('0x86'),'view':_0x184d('0x7')});let _0x265b82=null;_0xd4fad9['model']['on'](_0x184d('0x88'),(_0x203dce,_0x511b6d)=>{const [_0x1159ba,_0x92be55]=_0x511b6d,_0x94c313=_0x511b6d[_0x511b6d[_0x184d('0x83')]-0x1];_0x94c313&&_0x94c313['forceDefaultExecution']||_0x4e2471['_isForcedDefaultExecutionBlock']||this[_0x184d('0x29')][_0x184d('0x94')][_0x184d('0x81')](_0x184d('0x34'))[_0x184d('0x2f')]&&function(_0x4289a6,_0x4e8600,_0x114d45,_0xa15b59,_0x20d335){if(_0x4e8600&&!_0x4e8600['is']('documentSelection'))return!0x1;const _0xae13a2=_0x20d335[_0x184d('0xa0')](_0x4289a6,_0x114d45);if(!_0xae13a2||!fe(_0xae13a2,void 0x0,_0xa15b59))return!0x1;const _0xbb44c1=_0xa15b59['getSelectionAffectedTableCells'](_0x114d45['document']['selection']);if(!_0xbb44c1[_0x184d('0x83')])return!0x1;const _0x44780c=_0xbb44c1[0x0][_0x184d('0x14')](_0x184d('0x84')),_0x4a834f=_0xa15b59[_0x184d('0x99')](_0xbb44c1),_0x2de1d0=_0xa15b59[_0x184d('0x24')](_0xbb44c1),_0x12e68f={'startRow':_0x4a834f['first'],'endRow':_0x4a834f[_0x184d('0x52')],'startColumn':_0x2de1d0[_0x184d('0x64')],'endColumn':_0x2de1d0[_0x184d('0x52')]};return 0x1==_0xbb44c1[_0x184d('0x83')]&&(_0x12e68f['endRow']+=_0xa15b59[_0x184d('0xc')](_0xae13a2)-0x1,_0x12e68f[_0x184d('0x2c')]+=_0xa15b59['getColumns'](_0xae13a2)-0x1),fe(_0x44780c,_0x12e68f,_0xa15b59);}(_0x1159ba,_0x92be55,_0xd4fad9[_0x184d('0x82')],_0x3f6e58,_0x8c8a3a)&&(_0x203dce[_0x184d('0x2d')](),_0x265b82={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xd4fad9[_0x184d('0x82')]['change'](()=>{_0xd4fad9['model'][_0x184d('0x88')](_0x511b6d[0x0],_0x511b6d[0x1],_0x511b6d[0x2],{'forceDefaultExecution':!0x0});const _0x198529=_0x34be95(),{rowInsertionRanges:_0x2f28eb,columnInsertionRanges:_0x26edba,insertionRanges:_0x5be680,deletionRanges:_0x50da88,cells:_0x157d5a}=_0x265b82;_0x2f28eb[_0x184d('0x83')]&&_0x4e2471['markMultiRangeInsertion'](_0x2f28eb,_0x184d('0x23'),{'tablePasteChainId':_0x198529}),_0x26edba['length']&&_0x4e2471['markMultiRangeInsertion'](_0x26edba,_0x184d('0x4e'),{'tablePasteChainId':_0x198529}),_0x5be680['length']&&_0x4e2471[_0x184d('0x6')](_0x5be680,'tablePaste',{'tablePasteChainId':_0x198529,'skipNestingCheck':!0x0}),_0x50da88['length']&&_0x4e2471['markMultiRangeDeletion'](_0x50da88,'tablePaste',{'tablePasteChainId':_0x198529,'skipNestingCheck':!0x0});const _0x1b505c=_0x4e2471['markMultiRangeBlockFormat'](_0x157d5a[_0x184d('0x70')](({element:_0x4c0e84})=>_0x4c0e84),{'formatGroupId':_0x34be95()},[],_0x184d('0x9a'),{'tablePasteChainId':_0x198529});if(_0x1b505c){const _0x5f181a=_0x1b505c[_0x184d('0x77')](),_0x47654a=[];for(const {element:_0x2c3732,attributes:_0x2d5cd8}of _0x157d5a){if(!_0x2d5cd8)continue;const _0xd91fb9=_0xd4fad9['model'][_0x184d('0x3b')](_0x2c3732),_0x39a470=_0x5f181a[_0x184d('0x66')](_0x503c86=>_0x503c86[_0x184d('0x15')]()[_0x184d('0x2')](_0xd91fb9));_0x39a470&&_0x47654a[_0x184d('0x6e')]([_0x39a470['name'],_0x2d5cd8]);}_0x47654a[_0x184d('0x83')]&&_0x1b505c['setAttribute'](_0x184d('0x91'),Object[_0x184d('0x87')](_0x47654a));}_0x265b82=null;}));},{'priority':_0x481e82[_0x184d('0x35')]+0xa}),_0xd4fad9['plugins'][_0x184d('0x81')](_0x184d('0x22'))['on'](_0x184d('0x50'),(_0x4aa292,_0x23d722)=>{const [_0xf0ffbe,_0x51fa1a,,_0x2c9485]=_0x23d722;if(!_0x265b82)return;_0x4aa292[_0x184d('0x2d')]();const _0xe9a789=_0xf0ffbe[_0x184d('0x3c')],_0x239f41=_0x51fa1a,_0x44789a=ce(_0xe9a789),_0x353310=ce(_0x239f41);_0x4aa292[_0x184d('0x1c')]=_0xe9a789;let _0x3b4640=null,_0x5eaa38=null;if(_0x353310||_0x44789a){if(_0x44789a&&!_0x353310){_0x2c9485[_0x184d('0x68')](_0xe9a789[_0x184d('0x3a')](0x0));for(const _0x3ba4c1 of Array[_0x184d('0x28')](_0x239f41[_0x184d('0x5d')]()))_0x2c9485[_0x184d('0x6f')](_0x3ba4c1,_0xe9a789,'end');const _0xf583f9=_0x265b82[_0x184d('0x53')][_0x184d('0x7f')](_0xf0ffbe['row']),_0x4f75e9=_0x265b82[_0x184d('0x8a')][_0x184d('0x7f')](_0xf0ffbe[_0x184d('0x80')]);_0xf583f9||_0x4f75e9||(_0x3b4640=_0x2c9485[_0x184d('0x43')](_0xe9a789));}else _0x353310&&!_0x44789a&&(_0x5eaa38=_0x2c9485[_0x184d('0x43')](_0xe9a789));}else{const _0x299c1f=_0x2c9485['createElement']('tableCellSuggestion'),_0x457f5f=_0x2c9485[_0x184d('0x58')](_0x184d('0x86'));_0x2c9485[_0x184d('0x12')](_0x2c9485['createRangeIn'](_0xe9a789),_0x457f5f),_0x2c9485[_0x184d('0x6f')](_0x299c1f,_0xe9a789,0x0);for(const _0x5d77b0 of Array[_0x184d('0x28')](_0x239f41[_0x184d('0x5d')]()))_0x2c9485[_0x184d('0x6f')](_0x5d77b0,_0x299c1f,_0x184d('0x7b'));_0x3b4640=_0x2c9485['createRangeOn'](_0x299c1f),_0x5eaa38=_0x2c9485[_0x184d('0x3b')](_0x457f5f);}const _0x419098=Array[_0x184d('0x28')](_0x239f41['getAttributes']())['filter'](([_0x5081ac])=>le[_0x184d('0x7f')](_0x5081ac));_0x265b82[_0x184d('0x3f')][_0x184d('0x6e')]({'element':_0xe9a789,'attributes':_0x419098[_0x184d('0x83')]?Object[_0x184d('0x87')](_0x419098):null}),_0x3b4640&&_0x265b82[_0x184d('0x67')][_0x184d('0x6e')](_0x3b4640),_0x5eaa38&&_0x265b82[_0x184d('0x16')]['push'](_0x5eaa38);},{'priority':_0x184d('0x35')}),_0x3f6e58['on'](_0x184d('0x51'),(_0x162296,_0x41ad7e)=>{const [_0x22833e,_0x4d1730={}]=_0x41ad7e;if(!_0x265b82)return;const _0x3cb664=_0x4d1730['at']||0x0,_0x42cec9=_0x4d1730[_0x184d('0x49')]||0x1;_0x265b82[_0x184d('0x8a')]=new Array(_0x42cec9)[_0x184d('0x9d')](_0x3cb664)[_0x184d('0x70')]((_0x57207b,_0x58fa54)=>_0x57207b+_0x58fa54);for(const {cell:_0x1ad320}of _0x3f6e58[_0x184d('0x18')](_0x22833e,{'startColumn':_0x3cb664,'endColumn':_0x3cb664+_0x42cec9-0x1}))_0x265b82[_0x184d('0x5a')][_0x184d('0x6e')](_0xd4fad9[_0x184d('0x82')]['createRangeOn'](_0x1ad320));},{'priority':'low'}),_0x3f6e58['on'](_0x184d('0x1d'),(_0x4f915f,_0x57a23d)=>{const [_0x2a5839,_0x24e40b={}]=_0x57a23d;if(!_0x265b82)return;const _0x3ac23c=_0x24e40b['at']||0x0,_0x30138f=_0x24e40b['rows']||0x1;_0x265b82[_0x184d('0x53')]=new Array(_0x30138f)[_0x184d('0x9d')](_0x3ac23c)['map']((_0x455d6f,_0x2077b1)=>_0x455d6f+_0x2077b1);for(const {cell:_0x50a8f7}of _0x3f6e58[_0x184d('0x18')](_0x2a5839,{'startRow':_0x3ac23c,'endRow':_0x3ac23c+_0x30138f-0x1}))_0x265b82[_0x184d('0x97')]['push'](_0xd4fad9[_0x184d('0x82')][_0x184d('0x3b')](_0x50a8f7));},{'priority':'low'}),_0x4e2471['_descriptionFactory'][_0x184d('0x7e')](_0x37320b=>{if(_0x37320b['subType']&&_0x37320b[_0x184d('0x6a')][_0x184d('0x25')](_0x184d('0x63')))return _0x37320b[_0x184d('0x92')]?{}:{'type':_0x184d('0x11'),'content':_0x38897b(_0xd4fad9[_0x184d('0xb')],_0x184d('0x5f'))};});const _0x3c40e5=()=>!0x1;for(const _0x3998e1 of[_0x184d('0x63'),_0x184d('0x4e'),_0x184d('0x23'),_0x184d('0x9a')])_0x4e2471[_0x184d('0x45')][_0x184d('0x6c')](_0x184d('0x11'),_0x3998e1,_0x184d('0x74'),_0x3c40e5),_0x4e2471[_0x184d('0x45')][_0x184d('0x6c')](_0x184d('0x4f'),_0x3998e1,_0x184d('0x74'),_0x3c40e5),_0x4e2471['_suggestionFactory'][_0x184d('0x6c')](_0x184d('0x4d'),_0x3998e1,_0x184d('0x74'),_0x3c40e5);_0x4e2471[_0x184d('0x45')][_0x184d('0x6c')]('formatBlock',_0x184d('0x9a'),_0x184d('0x36'),_0x3c40e5),_0x4e2471[_0x184d('0x45')][_0x184d('0x6c')](_0x184d('0x4d'),_0x184d('0x9a'),_0x184d('0xa1'),(_0x51f182,_0x15d7fd,_0x23098a)=>{const _0x3b17fa=_0x51f182['map'](_0x4f4b4c=>_0x4f4b4c['getContainedElement']())['filter'](_0xe3d0ca=>_0xe3d0ca),_0x3e2212=new Map(_0x3b17fa[_0x184d('0x70')](_0x5c320a=>[_0x5c320a,null]));if(_0x265b82)for(const {element:_0x1d9a21,attributes:_0x11ca34}of _0x265b82[_0x184d('0x3f')])_0x11ca34&&_0x3e2212[_0x184d('0x40')](_0x1d9a21,_0x11ca34);else{if(_0x23098a&&_0x23098a[_0x184d('0x91')])for(const [_0x349e64,_0x2641b3]of Object[_0x184d('0x4')](_0x23098a['markerAttributes'])){const _0x372eed=_0xd4fad9[_0x184d('0x82')]['markers'][_0x184d('0x81')](_0x349e64),_0x360db7=_0x372eed?_0x372eed[_0x184d('0x15')]()[_0x184d('0x5b')]():null;_0x360db7&&_0x3e2212['set'](_0x360db7,_0x2641b3);}}_0xd4fad9[_0x184d('0x82')][_0x184d('0x1e')](_0x2c9add=>{for(const [_0x1493a9,_0x56f5e1]of _0x3e2212)_0x2c9add[_0x184d('0x5')]({...ae,..._0x56f5e1},_0x1493a9);});});const _0xce662d=(_0x3b0240,_0x1777a6)=>{_0x4e2471[_0x184d('0x45')][_0x184d('0x6c')](_0x3b0240,_0x184d('0x63'),_0x1777a6,(_0x1bef7e,_0x1b2479,_0x368f43)=>{_0xd4fad9[_0x184d('0x82')][_0x184d('0x1e')](_0xa01bbd=>{const _0x50ca0f=[];for(const _0x484d0d of _0x1bef7e){const _0x55ae0c=_0x484d0d[_0x184d('0x47')][_0x184d('0x54')];_0x55ae0c['is'](_0x184d('0x7a'),_0x184d('0x86'))&&_0x50ca0f[_0x184d('0x6e')](_0x55ae0c);}_0x4e2471[_0x184d('0x45')][_0x184d('0x0')](_0x3b0240,null,_0x1777a6)(_0x1bef7e,_0x1b2479,_0x368f43);for(const _0x190e74 of _0x50ca0f)_0x184d('0x60')!=_0x190e74['root'][_0x184d('0x8d')]&&_0xa01bbd['unwrap'](_0x190e74);});});};_0xce662d(_0x184d('0x11'),_0x184d('0xa1')),_0xce662d(_0x184d('0x11'),_0x184d('0x36')),_0xce662d(_0x184d('0x4f'),_0x184d('0xa1')),_0xce662d(_0x184d('0x4f'),_0x184d('0x36')),_0x4e2471[_0x184d('0x45')]['registerCustomCallback'](_0x184d('0x11'),'tablePasteRow',_0x184d('0x36'),_0x398f67=>{const _0x167a72=_0x398f67[_0x184d('0x70')](_0x4244e9=>_0x4244e9[_0x184d('0x5b')]()),_0x418def=_0x167a72[0x0][_0x184d('0x14')](_0x184d('0x84')),{minRow:_0x257b4d,maxRow:_0x3dbb1b}=_0x523495[_0x184d('0x2b')](_0x167a72);_0x3f6e58[_0x184d('0x75')](_0x418def,{'at':_0x257b4d,'rows':_0x3dbb1b-_0x257b4d+0x1});}),_0x4e2471[_0x184d('0x45')]['registerCustomCallback'](_0x184d('0x11'),_0x184d('0x4e'),_0x184d('0x36'),_0x50c56e=>{const _0x109bc1=_0x50c56e[_0x184d('0x70')](_0x49eacb=>_0x49eacb[_0x184d('0x5b')]()),_0x17b6be=_0x109bc1[0x0]['findAncestor'](_0x184d('0x84')),{minColumn:_0x1513ae,maxColumn:_0x35a933}=_0x523495[_0x184d('0x2b')](_0x109bc1);_0x3f6e58[_0x184d('0x59')](_0x17b6be,{'at':_0x1513ae,'columns':_0x35a933-_0x1513ae+0x1});});const _0x495104=(_0x2aec1a,_0x2f3166)=>{if(!_0x2f3166[_0x184d('0x6a')]||!_0x2f3166[_0x184d('0x6a')][_0x184d('0x25')](_0x184d('0x63')))return;const _0xc9e099=_0x2f3166[_0x184d('0x1a')][_0x184d('0xd')],_0xbecfe=_0x4e2471[_0x184d('0x90')]()[_0x184d('0x5e')](_0x579be8=>_0x579be8[_0x184d('0x3')]&&_0x579be8[_0x184d('0x1a')]&&_0x579be8[_0x184d('0x1a')][_0x184d('0xd')]==_0xc9e099);_0xbecfe[_0x184d('0x83')]&&_0x2f3166[_0x184d('0x37')]()[_0x184d('0x83')]!=_0xbecfe[_0x184d('0x83')]&&_0xbecfe['reduce']((_0x25f3b3,_0x80583b)=>(_0x25f3b3[_0x184d('0x95')]=_0x80583b,_0x80583b['previous']=_0x25f3b3,_0x80583b));};function _0x36f288(_0x242c4d,_0x4061a8=!0x0){const {id:_0x57809e}=_0x4e2471[_0x184d('0x79')](_0x242c4d[_0x184d('0x26')]),_0x34c97d=['ck-suggestion-marker',_0x184d('0x4c')],_0xa34315=_0x4e2471[_0x184d('0x96')][_0x184d('0x7f')](_0x242c4d[_0x184d('0x26')]);return _0xa34315&&_0x34c97d[_0x184d('0x6e')](_0x184d('0x8b')),{'classes':_0x34c97d,'attributes':{'data-suggestion':_0x57809e},'priority':_0xa34315&&_0x4061a8?0xbc2:0xbb8};}_0x4e2471['on'](_0x184d('0xe'),_0x495104,{'priority':'high'}),_0x4e2471['on'](_0x184d('0x4a'),_0x495104,{'priority':'high'}),_0xd4fad9[_0x184d('0x82')]['document']['registerPostFixer'](()=>{let _0x3b2eb7=!0x1;const _0x361168=Array['from'](_0xd4fad9['model']['document'][_0x184d('0x71')][_0x184d('0x78')]());for(const {name:_0x1b6069,data:_0x4ee39c}of _0x361168){const {group:_0x2223b3,type:_0x287c8e,id:_0x5d7060}=_0x4e2471[_0x184d('0x79')](_0x1b6069);if(_0x184d('0x20')!=_0x2223b3||'deletion'!=_0x287c8e||_0x4ee39c['oldRange'])continue;if(!_0x4e2471['hasSuggestion'](_0x5d7060))continue;const _0x1c7220=_0x4e2471[_0x184d('0x98')](_0x5d7060)[_0x184d('0x46')](),_0x1b461c=_0xd4fad9[_0x184d('0x6b')]['get'](_0x184d('0x56'))['me'];for(const _0x2de52f of _0x4e2471[_0x184d('0x90')]()){if(!_0x2de52f[_0x184d('0x3')]||_0x2de52f['author']!=_0x1b461c)continue;if(_0x184d('0x4d')!=_0x2de52f[_0x184d('0x9c')]||'tablePasteCell'!=_0x2de52f[_0x184d('0x6a')])continue;if(_0x2de52f[_0x184d('0x46')]()[_0x184d('0x9f')](_0x4f8dfd=>_0x1c7220[_0x184d('0x6d')](_0x173de0=>_0x173de0[_0x184d('0x55')](_0x4f8dfd,!0x0))))for(const _0xaef2da of _0x2de52f[_0x184d('0x37')]())_0xaef2da[_0x184d('0x3')]&&(_0xaef2da['discard'](),_0x3b2eb7=!0x0);}}return _0x3b2eb7;}),_0xd4fad9[_0x184d('0x82')]['document'][_0x184d('0x1')](_0x4e901c=>{const _0x5e13ae=_0xd4fad9[_0x184d('0x94')][_0x184d('0x81')](_0x184d('0x10'));if(!_0x5e13ae||!_0x5e13ae[_0x184d('0x39')][_0x184d('0x21')](_0x4e901c[_0x184d('0x89')]))return!0x1;let _0x135ecf=!0x1;const _0x2cc81e=_0xd4fad9[_0x184d('0x6b')][_0x184d('0x81')](_0x184d('0x56'))['me'],_0x287397=_0xd4fad9[_0x184d('0x82')]['document']['differ']['getChanges'](),_0x54c62b=Array[_0x184d('0x28')](_0xd4fad9['model'][_0x184d('0x41')][_0x184d('0x71')][_0x184d('0x78')]())[_0x184d('0x5e')](({name:_0x4c5541,data:_0x328607})=>{const {group:_0xf824cb,subType:_0x418705,authorId:_0x5e5a31}=_0x4e2471[_0x184d('0x79')](_0x4c5541);return _0x184d('0x20')==_0xf824cb&&_0x184d('0x63')==_0x418705&&_0x5e5a31==_0x2cc81e['id']&&!_0x328607[_0x184d('0x76')];});for(const _0x321505 of _0x287397){if(_0x184d('0x6f')!=_0x321505[_0x184d('0x9c')]||_0x184d('0x86')!=_0x321505[_0x184d('0x8e')]||0x1!=_0x321505[_0x184d('0x83')])continue;const _0x399d68=_0x4e901c[_0x184d('0x13')](_0x321505['position'],_0x321505[_0x184d('0x4b')][_0x184d('0x65')](0x1));if(!_0x54c62b['find'](({data:_0x12ebc8})=>_0x12ebc8['newRange'][_0x184d('0x2')](_0x399d68)))for(const {name:_0xe36d9d,data:_0x106554}of _0x54c62b)if(_0x399d68['containsRange'](_0x106554[_0x184d('0x19')])){_0x4e901c[_0x184d('0xa2')](_0xe36d9d,{'range':_0x399d68}),_0x135ecf=!0x0;break;}}return _0x135ecf;}),_0xd4fad9['model'][_0x184d('0x41')][_0x184d('0x1')](_0x35aa14=>{let _0x55d2dc=!0x1;const _0x27625a=_0xd4fad9[_0x184d('0x6b')]['get'](_0x184d('0x56'))['me'],_0x5c8696=_0x4e2471['getSuggestions']()[_0x184d('0x5e')](_0x5c40cc=>_0x5c40cc[_0x184d('0x3')]&&_0x5c40cc[_0x184d('0x7d')]==_0x27625a),_0x3a0518=new Set(),_0x567c2f=new Set();for(const _0x39fb1c of _0x5c8696)if('tablePaste'==_0x39fb1c[_0x184d('0x6a')])for(const _0x3daad9 of _0x39fb1c[_0x184d('0x77')]()){const _0x1b3ab1=_0x3daad9[_0x184d('0x15')]()[_0x184d('0x5b')]();if(_0x1b3ab1){if(_0x1b3ab1['is'](_0x184d('0x7a'),'tableCellSuggestion')&&ce(_0x1b3ab1)){_0x39fb1c[_0x184d('0x8c')](_0x3daad9[_0x184d('0x8e')]),_0x3a0518[_0x184d('0x7c')](_0x1b3ab1),_0x55d2dc=!0x0;const _0x23c3ab=_0x1b3ab1['nextSibling'],_0x26a6a6=_0x1b3ab1[_0x184d('0x8f')],_0x4103a1=_0x23c3ab&&_0x23c3ab['is'](_0x184d('0x7a'),_0x184d('0x86')),_0xaa50d4=_0x26a6a6&&_0x26a6a6['is'](_0x184d('0x7a'),'tableCellSuggestion');_0x4103a1&&!_0x3a0518[_0x184d('0x21')](_0x23c3ab)&&_0x567c2f[_0x184d('0x7c')](_0x23c3ab),_0xaa50d4&&!_0x3a0518[_0x184d('0x21')](_0x26a6a6)&&_0x567c2f[_0x184d('0x7c')](_0x26a6a6);}else _0x1b3ab1['is'](_0x184d('0x7a'),'paragraph')&&_0x1b3ab1['isEmpty']&&(_0x39fb1c['removeMarker'](_0x3daad9[_0x184d('0x8e')]),_0x55d2dc=!0x0);}}else{if(_0x184d('0x9a')==_0x39fb1c['subType']){if(!_0x39fb1c[_0x184d('0x1a')]||!_0x39fb1c[_0x184d('0x1a')][_0x184d('0xd')])continue;const _0x5c0c28=_0x39fb1c['attributes'][_0x184d('0x91')];if(_0x5c0c28&&Object[_0x184d('0x30')](_0x5c0c28)[_0x184d('0x83')])continue;const _0x183c3c=_0x39fb1c[_0x184d('0x1a')][_0x184d('0xd')];let _0x41448b=!0x0,_0x5c5894=!0x0;for(const _0x3815e2 of _0x5c8696)if(_0x3815e2[_0x184d('0x6a')]&&_0x3815e2[_0x184d('0x6a')][_0x184d('0x25')]('tablePaste')){if(!_0x3815e2[_0x184d('0x1a')][_0x184d('0xd')]){_0x5c5894=!0x1;break;}if(_0x3815e2['id']!=_0x39fb1c['id']&&_0x3815e2[_0x184d('0x1a')][_0x184d('0xd')]==_0x183c3c){_0x41448b=!0x1;break;}}_0x5c5894&&_0x41448b&&(_0x39fb1c[_0x184d('0x69')](),_0x55d2dc=!0x0);}}for(const _0x47438d of _0x3a0518)_0x35aa14[_0x184d('0x68')](_0x47438d);for(const _0x3d7989 of _0x567c2f)_0x35aa14[_0x184d('0x9e')](_0x3d7989);return _0x55d2dc;}),_0xd4fad9['conversion'][_0x184d('0x33')]('editingDowncast')[_0x184d('0x57')]({'model':_0x184d('0x5c'),'view':(_0x27534e,_0x432ef7)=>_0x36f288(_0x27534e),'converterPriority':_0x184d('0x35')}),_0xd4fad9['conversion'][_0x184d('0x33')](_0x184d('0x38'))[_0x184d('0x57')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x195a9a,_0xe88f5d)=>_0xe88f5d['options']['showSuggestionHighlights']?_0x36f288(_0x195a9a,!0x1):null,'converterPriority':'high'});const _0x536271=_0xd4fad9[_0x184d('0x2a')][_0x184d('0x9')];this[_0x184d('0x32')](_0x536271[_0x184d('0x41')],_0x184d('0x1b'),(_0x3ab4d6,_0x1076ec)=>{const _0x276151=[];for(const _0x47d1da of _0x536271['createRangeIn'](_0x1076ec[_0x184d('0x3e')])['getItems']())_0x47d1da['is'](_0x184d('0x7a'),'suggestion-td')&&_0x276151[_0x184d('0x6e')](_0x47d1da);_0x536271[_0x184d('0x1e')](_0x584dd1=>{for(const _0x1359ef of _0x276151)_0x584dd1[_0x184d('0x8')](_0x584dd1['createRangeIn'](_0x1359ef),_0x584dd1['createPositionBefore'](_0x1359ef)),_0x584dd1[_0x184d('0x68')](_0x1359ef);});});}}function ce(_0x390952){if(_0x390952[_0x184d('0x44')])return!0x0;const _0x4670b6=_0x390952[_0x184d('0x3a')](0x0);return _0x4670b6['is'](_0x184d('0x7a'),'paragraph')&&_0x4670b6[_0x184d('0x44')];}function fe(_0x541746,_0x3e97c9={},_0x49bc39){for(const {isAnchor:_0x1adaf4,cellHeight:_0x3bb692,cellWidth:_0x2b8614}of _0x49bc39[_0x184d('0x18')](_0x541746,{'includeAllSlots':!0x0,..._0x3e97c9}))if(!_0x1adaf4||0x1!=_0x3bb692||0x1!=_0x2b8614)return!0x1;return!0x0;}
23
+ const _0x31f1=['fill','schema','isInContent','map','suggestion:formatBlock:tablePasteCell','*Replace\x20table\x20cells*','accept','insertContent','showSuggestionHighlights','registerPostFixer','position','editor','tableCellBackgroundColor','join','cell','unwrap','getRows','tablePasteCell','elementToElement','cells','keys','includes','forceDefaultExecution','_suggestionFactory','paragraph','tableCellBorderStyle','getChild','suggestionUnloaded','startsWith','getSuggestion','listenTo','createRangeIn','tableCell','some','add','_tablePostFixingSubtypes','high','ck-suggestion-marker','isEmpty','rowInsertionRanges','insertion','change','conversion','push','length','_splitMarkerName','markerName','tablePasteChainId','return','tableCellBorderWidth','element','row','rowInsertionIndexes','name','remove','ck-suggestion-marker-insertion','trackChanges','last','differ','table','discard','getItems','getAttributes','requires','deletion','tableCellPadding','createTableWalker','TableUtils','dataDowncast','end','tableCellVerticalAlignment','tablePasteRow','_createdBatches','get','suggestion','createElement','markerAttributes','selection','getContainedElement','Users','deletionRanges','_isForcedDefaultExecutionBlock','view','insertColumns','rows','formatBlock','fromEntries','setAttributes','next','updateMarker','removeRows','getRange','markMultiRangeDeletion','first','locale','getSuggestionCallback','find','subType','previous','oldRange','from','TableClipboard','nextSibling','reduce','_descriptionFactory','_getCoordsForCells','columns','getAllAdjacentSuggestions','markMultiRangeInsertion','insert','findAncestor','set','getRanges','editingDowncast','tableCellBorderColor','columnInsertionIndexes','getChanges','attributes','markerToHighlight','filter','low','removeMarker','model','insertRows','document','clipboardOutput','documentSelection','tablePasteColumn','has','getSuggestions','tablePaste','for','isEqual','registerDescriptionCallback','getMarkers','content','getChangedMarkers','removeColumns','author','createRangeOn','entries','markers','getRowIndexes','columnInsertionRanges','getSelectionAffectedTableCells','stop','every','type','newRange','TrackChangesEditing','containsRange','tableCellSuggestion','suggestion-td','redo','setAttribute','endRow','getChildren','move','registerCustomCallback','$graveyard','wrap','plugins','previousSibling','commands','nodeAfter'];(function(_0x4e3a4f,_0x31f140){const _0x42c3e0=function(_0x1847b3){while(--_0x1847b3){_0x4e3a4f['push'](_0x4e3a4f['shift']());}};_0x42c3e0(++_0x31f140);}(_0x31f1,0x1ac));const _0x42c3=function(_0x4e3a4f,_0x31f140){_0x4e3a4f=_0x4e3a4f-0x0;let _0x42c3e0=_0x31f1[_0x4e3a4f];return _0x42c3e0;};import{getTranslation as _0x2a9e1c}from'../utils/common-translations';import{Plugin as _0x15bd7b}from'ckeditor5/src/core';import{uid as _0xa1f25b,priorities as _0x1c2837}from'ckeditor5/src/utils';import _0x5c7aaf from'./table';const le=[_0x42c3('0x74'),_0x42c3('0x10'),_0x42c3('0x5c'),'tableCellHorizontalAlignment',_0x42c3('0x89'),_0x42c3('0x4f'),_0x42c3('0x84')],ae=Object[_0x42c3('0x99')](le[_0x42c3('0x46')](_0x519832=>[_0x519832,null]));export default class wt extends _0x15bd7b{static get[_0x42c3('0x82')](){return[_0x5c7aaf];}['afterInit'](){const _0x198564=this['editor'];if(!_0x198564[_0x42c3('0x3f')][_0x42c3('0x1e')](_0x42c3('0x3')))return;const _0x36f7ee=_0x198564['plugins'][_0x42c3('0x8c')](_0x42c3('0x33')),_0x4e25a3=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x42c3('0x86')),_0x3556c4=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x5c7aaf),_0x2de09c=_0x198564[_0x42c3('0x3f')]['get'](_0x42c3('0x3'));_0x3556c4[_0x42c3('0x66')][_0x42c3('0x6e')](_0x42c3('0x8a'),_0x42c3('0x1d')),_0x198564['model'][_0x42c3('0x44')]['register'](_0x42c3('0x35'),{'allowIn':_0x42c3('0x63'),'allowContentOf':_0x42c3('0x63'),'isLimit':!0x0}),_0x198564['conversion'][_0x42c3('0x55')]({'model':_0x42c3('0x35'),'view':_0x42c3('0x36')});let _0x5063b1=null;_0x198564[_0x42c3('0x18')]['on'](_0x42c3('0x4a'),(_0x3ec91a,_0x3fe4eb)=>{const [_0x4e5397,_0x5a2e95]=_0x3fe4eb,_0x4ccc30=_0x3fe4eb[_0x3fe4eb['length']-0x1];_0x4ccc30&&_0x4ccc30[_0x42c3('0x59')]||_0x36f7ee[_0x42c3('0x94')]||this[_0x42c3('0x4e')][_0x42c3('0x41')][_0x42c3('0x8c')](_0x42c3('0x7b'))['value']&&function(_0x26025a,_0x24d146,_0x1bfa51,_0x134706,_0x3a1889){if(_0x24d146&&!_0x24d146['is'](_0x42c3('0x1c')))return!0x1;const _0x3e6e44=_0x3a1889['getTableIfOnlyTableInContent'](_0x26025a,_0x1bfa51);if(!_0x3e6e44||!fe(_0x3e6e44,void 0x0,_0x134706))return!0x1;const _0x298cb5=_0x134706[_0x42c3('0x2e')](_0x1bfa51['document'][_0x42c3('0x90')]);if(!_0x298cb5[_0x42c3('0x6f')])return!0x1;const _0x335226=_0x298cb5[0x0][_0x42c3('0xc')]('table'),_0x347fa5=_0x134706[_0x42c3('0x2c')](_0x298cb5),_0x2d681e=_0x134706['getColumnIndexes'](_0x298cb5),_0x1535ed={'startRow':_0x347fa5['first'],'endRow':_0x347fa5[_0x42c3('0x7c')],'startColumn':_0x2d681e[_0x42c3('0xa0')],'endColumn':_0x2d681e[_0x42c3('0x7c')]};return 0x1==_0x298cb5[_0x42c3('0x6f')]&&(_0x1535ed[_0x42c3('0x39')]+=_0x134706[_0x42c3('0x53')](_0x3e6e44)-0x1,_0x1535ed['endColumn']+=_0x134706['getColumns'](_0x3e6e44)-0x1),fe(_0x335226,_0x1535ed,_0x134706);}(_0x4e5397,_0x5a2e95,_0x198564[_0x42c3('0x18')],_0x4e25a3,_0x2de09c)&&(_0x3ec91a['stop'](),_0x5063b1={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x198564[_0x42c3('0x18')][_0x42c3('0x6c')](()=>{_0x198564[_0x42c3('0x18')][_0x42c3('0x4a')](_0x3fe4eb[0x0],_0x3fe4eb[0x1],_0x3fe4eb[0x2],{'forceDefaultExecution':!0x0});const _0x5006af=_0xa1f25b(),{rowInsertionRanges:_0x52af91,columnInsertionRanges:_0x5c6cae,insertionRanges:_0x568d4b,deletionRanges:_0x57dbbd,cells:_0x1eb677}=_0x5063b1;_0x52af91[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x52af91,_0x42c3('0x8a'),{'tablePasteChainId':_0x5006af}),_0x5c6cae[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x5c6cae,'tablePasteColumn',{'tablePasteChainId':_0x5006af}),_0x568d4b[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x568d4b,_0x42c3('0x20'),{'tablePasteChainId':_0x5006af,'skipNestingCheck':!0x0}),_0x57dbbd['length']&&_0x36f7ee[_0x42c3('0x9f')](_0x57dbbd,_0x42c3('0x20'),{'tablePasteChainId':_0x5006af,'skipNestingCheck':!0x0});const _0x1080bf=_0x36f7ee['markMultiRangeBlockFormat'](_0x1eb677['map'](({element:_0x344f36})=>_0x344f36),{'formatGroupId':_0xa1f25b()},[],'tablePasteCell',{'tablePasteChainId':_0x5006af});if(_0x1080bf){const _0x43fb73=_0x1080bf['getMarkers'](),_0xf1d7e7=[];for(const {element:_0x5e1631,attributes:_0x592a8d}of _0x1eb677){if(!_0x592a8d)continue;const _0x2e63b2=_0x198564[_0x42c3('0x18')][_0x42c3('0x29')](_0x5e1631),_0x5c8c33=_0x43fb73[_0x42c3('0xa3')](_0x2fedc3=>_0x2fedc3[_0x42c3('0x9e')]()['isEqual'](_0x2e63b2));_0x5c8c33&&_0xf1d7e7[_0x42c3('0x6e')]([_0x5c8c33[_0x42c3('0x78')],_0x592a8d]);}_0xf1d7e7['length']&&_0x1080bf[_0x42c3('0x38')]('markerAttributes',Object[_0x42c3('0x99')](_0xf1d7e7));}_0x5063b1=null;}));},{'priority':_0x1c2837[_0x42c3('0x67')]+0xa}),_0x198564['plugins'][_0x42c3('0x8c')]('TableClipboard')['on']('_replaceTableSlotCell',(_0x508b4d,_0x3d9096)=>{const [_0x365366,_0x5138e2,,_0xc83c02]=_0x3d9096;if(!_0x5063b1)return;_0x508b4d[_0x42c3('0x2f')]();const _0x2cf4ff=_0x365366[_0x42c3('0x51')],_0xafcef5=_0x5138e2,_0x205be9=ce(_0x2cf4ff),_0x41f92a=ce(_0xafcef5);_0x508b4d[_0x42c3('0x73')]=_0x2cf4ff;let _0xb6a873=null,_0x4afce1=null;if(_0x41f92a||_0x205be9){if(_0x205be9&&!_0x41f92a){_0xc83c02[_0x42c3('0x79')](_0x2cf4ff['getChild'](0x0));for(const _0x23e445 of Array['from'](_0xafcef5['getChildren']()))_0xc83c02[_0x42c3('0xb')](_0x23e445,_0x2cf4ff,_0x42c3('0x88'));const _0x4c1f06=_0x5063b1['rowInsertionIndexes']['includes'](_0x365366[_0x42c3('0x76')]),_0x36cc45=_0x5063b1['columnInsertionIndexes'][_0x42c3('0x58')](_0x365366['column']);_0x4c1f06||_0x36cc45||(_0xb6a873=_0xc83c02[_0x42c3('0x62')](_0x2cf4ff));}else _0x41f92a&&!_0x205be9&&(_0x4afce1=_0xc83c02['createRangeIn'](_0x2cf4ff));}else{const _0x4cb54b=_0xc83c02[_0x42c3('0x8e')](_0x42c3('0x35')),_0x45b23e=_0xc83c02['createElement'](_0x42c3('0x35'));_0xc83c02[_0x42c3('0x3e')](_0xc83c02['createRangeIn'](_0x2cf4ff),_0x45b23e),_0xc83c02[_0x42c3('0xb')](_0x4cb54b,_0x2cf4ff,0x0);for(const _0xcc3d92 of Array[_0x42c3('0x2')](_0xafcef5[_0x42c3('0x3a')]()))_0xc83c02[_0x42c3('0xb')](_0xcc3d92,_0x4cb54b,_0x42c3('0x88'));_0xb6a873=_0xc83c02[_0x42c3('0x29')](_0x4cb54b),_0x4afce1=_0xc83c02[_0x42c3('0x29')](_0x45b23e);}const _0x54fcea=Array[_0x42c3('0x2')](_0xafcef5[_0x42c3('0x81')]())[_0x42c3('0x15')](([_0xc782fa])=>le[_0x42c3('0x58')](_0xc782fa));_0x5063b1['cells'][_0x42c3('0x6e')]({'element':_0x2cf4ff,'attributes':_0x54fcea[_0x42c3('0x6f')]?Object['fromEntries'](_0x54fcea):null}),_0xb6a873&&_0x5063b1['insertionRanges']['push'](_0xb6a873),_0x4afce1&&_0x5063b1[_0x42c3('0x93')]['push'](_0x4afce1);},{'priority':_0x42c3('0x67')}),_0x4e25a3['on'](_0x42c3('0x96'),(_0xe2786d,_0x340582)=>{const [_0x13a4ad,_0x27b204={}]=_0x340582;if(!_0x5063b1)return;const _0x2cf703=_0x27b204['at']||0x0,_0x5d1791=_0x27b204[_0x42c3('0x8')]||0x1;_0x5063b1[_0x42c3('0x11')]=new Array(_0x5d1791)[_0x42c3('0x43')](_0x2cf703)['map']((_0x875f1b,_0x124714)=>_0x875f1b+_0x124714);for(const {cell:_0x1788f1}of _0x4e25a3[_0x42c3('0x85')](_0x13a4ad,{'startColumn':_0x2cf703,'endColumn':_0x2cf703+_0x5d1791-0x1}))_0x5063b1[_0x42c3('0x2d')][_0x42c3('0x6e')](_0x198564['model'][_0x42c3('0x29')](_0x1788f1));},{'priority':'low'}),_0x4e25a3['on'](_0x42c3('0x19'),(_0x48dc47,_0x46458a)=>{const [_0x40e2d2,_0x2d10fb={}]=_0x46458a;if(!_0x5063b1)return;const _0x1227bd=_0x2d10fb['at']||0x0,_0x22d441=_0x2d10fb[_0x42c3('0x97')]||0x1;_0x5063b1[_0x42c3('0x77')]=new Array(_0x22d441)[_0x42c3('0x43')](_0x1227bd)[_0x42c3('0x46')]((_0x38b68f,_0x17bec2)=>_0x38b68f+_0x17bec2);for(const {cell:_0x221568}of _0x4e25a3[_0x42c3('0x85')](_0x40e2d2,{'startRow':_0x1227bd,'endRow':_0x1227bd+_0x22d441-0x1}))_0x5063b1[_0x42c3('0x6a')][_0x42c3('0x6e')](_0x198564['model']['createRangeOn'](_0x221568));},{'priority':_0x42c3('0x16')}),_0x36f7ee[_0x42c3('0x6')][_0x42c3('0x23')](_0x4ac479=>{if(_0x4ac479[_0x42c3('0xa4')]&&_0x4ac479[_0x42c3('0xa4')][_0x42c3('0x5f')]('tablePaste'))return _0x4ac479['previous']?{}:{'type':_0x42c3('0x6b'),'content':_0x2a9e1c(_0x198564[_0x42c3('0xa1')],_0x42c3('0x48'))};});const _0xd01763=()=>!0x1;for(const _0x2f531e of[_0x42c3('0x20'),_0x42c3('0x1d'),_0x42c3('0x8a'),_0x42c3('0x54')])_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x6b'),_0x2f531e,_0x42c3('0x50'),_0xd01763),_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x83'),_0x2f531e,'join',_0xd01763),_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x98'),_0x2f531e,_0x42c3('0x50'),_0xd01763);_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x98'),_0x42c3('0x54'),'discard',_0xd01763),_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x98'),_0x42c3('0x54'),_0x42c3('0x49'),(_0x35fe6b,_0x285e37,_0x10cf1e)=>{const _0x3a45cb=_0x35fe6b['map'](_0x133692=>_0x133692[_0x42c3('0x91')]())[_0x42c3('0x15')](_0xd25bf5=>_0xd25bf5),_0x18221f=new Map(_0x3a45cb[_0x42c3('0x46')](_0x34d61f=>[_0x34d61f,null]));if(_0x5063b1)for(const {element:_0x81f5e0,attributes:_0x488387}of _0x5063b1[_0x42c3('0x56')])_0x488387&&_0x18221f[_0x42c3('0xd')](_0x81f5e0,_0x488387);else{if(_0x10cf1e&&_0x10cf1e[_0x42c3('0x8f')])for(const [_0xbc5227,_0x28fbf7]of Object[_0x42c3('0x2a')](_0x10cf1e[_0x42c3('0x8f')])){const _0x45c3cf=_0x198564[_0x42c3('0x18')][_0x42c3('0x2b')][_0x42c3('0x8c')](_0xbc5227),_0x25b9f3=_0x45c3cf?_0x45c3cf[_0x42c3('0x9e')]()[_0x42c3('0x91')]():null;_0x25b9f3&&_0x18221f['set'](_0x25b9f3,_0x28fbf7);}}_0x198564['model'][_0x42c3('0x6c')](_0x12b918=>{for(const [_0x3baf5c,_0x1aadfe]of _0x18221f)_0x12b918[_0x42c3('0x9a')]({...ae,..._0x1aadfe},_0x3baf5c);});});const _0x28c69a=(_0x56a9de,_0x117766)=>{_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x56a9de,_0x42c3('0x20'),_0x117766,(_0x5b32ab,_0x5dbba9,_0x45494c)=>{_0x198564['model'][_0x42c3('0x6c')](_0x239058=>{const _0x417204=[];for(const _0x49186c of _0x5b32ab){const _0x2ecf81=_0x49186c['start'][_0x42c3('0x42')];_0x2ecf81['is'](_0x42c3('0x75'),_0x42c3('0x35'))&&_0x417204[_0x42c3('0x6e')](_0x2ecf81);}_0x36f7ee['_suggestionFactory'][_0x42c3('0xa2')](_0x56a9de,null,_0x117766)(_0x5b32ab,_0x5dbba9,_0x45494c);for(const _0x5ed090 of _0x417204)_0x42c3('0x3d')!=_0x5ed090['root']['rootName']&&_0x239058[_0x42c3('0x52')](_0x5ed090);});});};_0x28c69a(_0x42c3('0x6b'),_0x42c3('0x49')),_0x28c69a(_0x42c3('0x6b'),_0x42c3('0x7f')),_0x28c69a('deletion',_0x42c3('0x49')),_0x28c69a('deletion','discard'),_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x6b'),_0x42c3('0x8a'),'discard',_0x338076=>{const _0x4a17f4=_0x338076[_0x42c3('0x46')](_0x4b0419=>_0x4b0419[_0x42c3('0x91')]()),_0x5cc0f2=_0x4a17f4[0x0][_0x42c3('0xc')](_0x42c3('0x7e')),{minRow:_0x216a46,maxRow:_0x1c70d6}=_0x3556c4['_getCoordsForCells'](_0x4a17f4);_0x4e25a3[_0x42c3('0x9d')](_0x5cc0f2,{'at':_0x216a46,'rows':_0x1c70d6-_0x216a46+0x1});}),_0x36f7ee[_0x42c3('0x5a')]['registerCustomCallback']('insertion','tablePasteColumn',_0x42c3('0x7f'),_0x337b0f=>{const _0x4cc483=_0x337b0f['map'](_0x1f491a=>_0x1f491a[_0x42c3('0x91')]()),_0x4553af=_0x4cc483[0x0][_0x42c3('0xc')](_0x42c3('0x7e')),{minColumn:_0x12638a,maxColumn:_0x132e6b}=_0x3556c4[_0x42c3('0x7')](_0x4cc483);_0x4e25a3[_0x42c3('0x27')](_0x4553af,{'at':_0x12638a,'columns':_0x132e6b-_0x12638a+0x1});});const _0x41b835=(_0x4ec6e1,_0x23c65a)=>{if(!_0x23c65a[_0x42c3('0xa4')]||!_0x23c65a[_0x42c3('0xa4')][_0x42c3('0x5f')](_0x42c3('0x20')))return;const _0x3f3677=_0x23c65a[_0x42c3('0x13')][_0x42c3('0x72')],_0x5dad5d=_0x36f7ee[_0x42c3('0x1f')]()['filter'](_0x2a9de2=>_0x2a9de2[_0x42c3('0x45')]&&_0x2a9de2[_0x42c3('0x13')]&&_0x2a9de2['attributes']['tablePasteChainId']==_0x3f3677);_0x5dad5d[_0x42c3('0x6f')]&&_0x23c65a[_0x42c3('0x9')]()[_0x42c3('0x6f')]!=_0x5dad5d[_0x42c3('0x6f')]&&_0x5dad5d[_0x42c3('0x5')]((_0xc413df,_0xeb02ac)=>(_0xc413df[_0x42c3('0x9b')]=_0xeb02ac,_0xeb02ac[_0x42c3('0x0')]=_0xc413df,_0xeb02ac));};function _0x2be153(_0x1fa987,_0x2ce122=!0x0){const {id:_0x4f61b6}=_0x36f7ee[_0x42c3('0x70')](_0x1fa987[_0x42c3('0x71')]),_0x5438ae=[_0x42c3('0x68'),_0x42c3('0x7a')],_0x5ee2f7=_0x36f7ee['activeMarkers']['includes'](_0x1fa987['markerName']);return _0x5ee2f7&&_0x5438ae[_0x42c3('0x6e')]('ck-suggestion-marker--active'),{'classes':_0x5438ae,'attributes':{'data-suggestion':_0x4f61b6},'priority':_0x5ee2f7&&_0x2ce122?0xbc2:0xbb8};}_0x36f7ee['on']('suggestionLoaded',_0x41b835,{'priority':'high'}),_0x36f7ee['on'](_0x42c3('0x5e'),_0x41b835,{'priority':_0x42c3('0x67')}),_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')]['registerPostFixer'](()=>{let _0x79c41c=!0x1;const _0x10f5f0=Array[_0x42c3('0x2')](_0x198564[_0x42c3('0x18')]['document']['differ'][_0x42c3('0x26')]());for(const {name:_0x3a5f08,data:_0xb0214e}of _0x10f5f0){const {group:_0x26974c,type:_0x53c948,id:_0x624664}=_0x36f7ee[_0x42c3('0x70')](_0x3a5f08);if(_0x42c3('0x8d')!=_0x26974c||_0x42c3('0x83')!=_0x53c948||_0xb0214e[_0x42c3('0x1')])continue;if(!_0x36f7ee['hasSuggestion'](_0x624664))continue;const _0x5cc2f7=_0x36f7ee[_0x42c3('0x60')](_0x624664)[_0x42c3('0xe')](),_0x27eea2=_0x198564['plugins'][_0x42c3('0x8c')](_0x42c3('0x92'))['me'];for(const _0x2628f0 of _0x36f7ee['getSuggestions']()){if(!_0x2628f0[_0x42c3('0x45')]||_0x2628f0['author']!=_0x27eea2)continue;if('formatBlock'!=_0x2628f0[_0x42c3('0x31')]||_0x42c3('0x54')!=_0x2628f0[_0x42c3('0xa4')])continue;if(_0x2628f0[_0x42c3('0xe')]()[_0x42c3('0x30')](_0x3af731=>_0x5cc2f7[_0x42c3('0x64')](_0x409df4=>_0x409df4[_0x42c3('0x34')](_0x3af731,!0x0))))for(const _0x5be5a0 of _0x2628f0[_0x42c3('0x9')]())_0x5be5a0[_0x42c3('0x45')]&&(_0x5be5a0[_0x42c3('0x7f')](),_0x79c41c=!0x0);}}return _0x79c41c;}),_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')][_0x42c3('0x4c')](_0x50d1b6=>{const _0x333a2b=_0x198564[_0x42c3('0x41')][_0x42c3('0x8c')](_0x42c3('0x37'));if(!_0x333a2b||!_0x333a2b[_0x42c3('0x8b')][_0x42c3('0x1e')](_0x50d1b6['batch']))return!0x1;let _0x47c71f=!0x1;const _0x4947d1=_0x198564[_0x42c3('0x3f')]['get'](_0x42c3('0x92'))['me'],_0x41fc1b=_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')]['differ'][_0x42c3('0x12')](),_0x27cb16=Array['from'](_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')][_0x42c3('0x7d')]['getChangedMarkers']())[_0x42c3('0x15')](({name:_0x42387e,data:_0x5bf084})=>{const {group:_0x4538d4,subType:_0x1651da,authorId:_0x4181fb}=_0x36f7ee[_0x42c3('0x70')](_0x42387e);return _0x42c3('0x8d')==_0x4538d4&&_0x42c3('0x20')==_0x1651da&&_0x4181fb==_0x4947d1['id']&&!_0x5bf084[_0x42c3('0x1')];});for(const _0xa4beb8 of _0x41fc1b){if('insert'!=_0xa4beb8[_0x42c3('0x31')]||_0x42c3('0x35')!=_0xa4beb8[_0x42c3('0x78')]||0x1!=_0xa4beb8[_0x42c3('0x6f')])continue;const _0xeb8e08=_0x50d1b6['createRange'](_0xa4beb8[_0x42c3('0x4d')],_0xa4beb8[_0x42c3('0x4d')]['getShiftedBy'](0x1));if(!_0x27cb16[_0x42c3('0xa3')](({data:_0x200023})=>_0x200023[_0x42c3('0x32')][_0x42c3('0x22')](_0xeb8e08)))for(const {name:_0xf99892,data:_0x321c01}of _0x27cb16)if(_0xeb8e08['containsRange'](_0x321c01[_0x42c3('0x32')])){_0x50d1b6[_0x42c3('0x9c')](_0xf99892,{'range':_0xeb8e08}),_0x47c71f=!0x0;break;}}return _0x47c71f;}),_0x198564[_0x42c3('0x18')]['document'][_0x42c3('0x4c')](_0x26cffb=>{let _0x4e3bd6=!0x1;const _0x2fe7f4=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x42c3('0x92'))['me'],_0x4678ee=_0x36f7ee[_0x42c3('0x1f')]()[_0x42c3('0x15')](_0x286100=>_0x286100[_0x42c3('0x45')]&&_0x286100[_0x42c3('0x28')]==_0x2fe7f4),_0x4455f8=new Set(),_0x45287e=new Set();for(const _0x5e5fa0 of _0x4678ee)if(_0x42c3('0x20')==_0x5e5fa0['subType'])for(const _0x44ef22 of _0x5e5fa0[_0x42c3('0x24')]()){const _0x394a5e=_0x44ef22[_0x42c3('0x9e')]()[_0x42c3('0x91')]();if(_0x394a5e){if(_0x394a5e['is'](_0x42c3('0x75'),'tableCellSuggestion')&&ce(_0x394a5e)){_0x5e5fa0[_0x42c3('0x17')](_0x44ef22[_0x42c3('0x78')]),_0x4455f8[_0x42c3('0x65')](_0x394a5e),_0x4e3bd6=!0x0;const _0x957096=_0x394a5e[_0x42c3('0x4')],_0x2f01a8=_0x394a5e[_0x42c3('0x40')],_0x221cdb=_0x957096&&_0x957096['is'](_0x42c3('0x75'),_0x42c3('0x35')),_0x3315d2=_0x2f01a8&&_0x2f01a8['is'](_0x42c3('0x75'),'tableCellSuggestion');_0x221cdb&&!_0x4455f8[_0x42c3('0x1e')](_0x957096)&&_0x45287e[_0x42c3('0x65')](_0x957096),_0x3315d2&&!_0x4455f8['has'](_0x2f01a8)&&_0x45287e[_0x42c3('0x65')](_0x2f01a8);}else _0x394a5e['is'](_0x42c3('0x75'),'paragraph')&&_0x394a5e[_0x42c3('0x69')]&&(_0x5e5fa0[_0x42c3('0x17')](_0x44ef22[_0x42c3('0x78')]),_0x4e3bd6=!0x0);}}else{if('tablePasteCell'==_0x5e5fa0[_0x42c3('0xa4')]){if(!_0x5e5fa0[_0x42c3('0x13')]||!_0x5e5fa0['attributes'][_0x42c3('0x72')])continue;const _0x14ad23=_0x5e5fa0[_0x42c3('0x13')][_0x42c3('0x8f')];if(_0x14ad23&&Object[_0x42c3('0x57')](_0x14ad23)[_0x42c3('0x6f')])continue;const _0xc62230=_0x5e5fa0[_0x42c3('0x13')][_0x42c3('0x72')];let _0x4b0f20=!0x0,_0x12be91=!0x0;for(const _0x8ebf8d of _0x4678ee)if(_0x8ebf8d['subType']&&_0x8ebf8d[_0x42c3('0xa4')][_0x42c3('0x5f')]('tablePaste')){if(!_0x8ebf8d['attributes']['tablePasteChainId']){_0x12be91=!0x1;break;}if(_0x8ebf8d['id']!=_0x5e5fa0['id']&&_0x8ebf8d[_0x42c3('0x13')][_0x42c3('0x72')]==_0xc62230){_0x4b0f20=!0x1;break;}}_0x12be91&&_0x4b0f20&&(_0x5e5fa0['removeMarkers'](),_0x4e3bd6=!0x0);}}for(const _0x391100 of _0x4455f8)_0x26cffb[_0x42c3('0x79')](_0x391100);for(const _0x4de70f of _0x45287e)_0x26cffb[_0x42c3('0x52')](_0x4de70f);return _0x4e3bd6;}),_0x198564[_0x42c3('0x6d')][_0x42c3('0x21')](_0x42c3('0xf'))[_0x42c3('0x14')]({'model':_0x42c3('0x47'),'view':(_0x5270b7,_0x2abfd2)=>_0x2be153(_0x5270b7),'converterPriority':_0x42c3('0x67')}),_0x198564[_0x42c3('0x6d')][_0x42c3('0x21')](_0x42c3('0x87'))[_0x42c3('0x14')]({'model':_0x42c3('0x47'),'view':(_0x4d47ee,_0x490a32)=>_0x490a32['options'][_0x42c3('0x4b')]?_0x2be153(_0x4d47ee,!0x1):null,'converterPriority':'high'});const _0x223085=_0x198564['editing'][_0x42c3('0x95')];this[_0x42c3('0x61')](_0x223085[_0x42c3('0x1a')],_0x42c3('0x1b'),(_0x294e1e,_0xb7912a)=>{const _0x2700dd=[];for(const _0x247328 of _0x223085['createRangeIn'](_0xb7912a[_0x42c3('0x25')])[_0x42c3('0x80')]())_0x247328['is'](_0x42c3('0x75'),_0x42c3('0x36'))&&_0x2700dd[_0x42c3('0x6e')](_0x247328);_0x223085[_0x42c3('0x6c')](_0x4e5642=>{for(const _0x350635 of _0x2700dd)_0x4e5642[_0x42c3('0x3b')](_0x4e5642['createRangeIn'](_0x350635),_0x4e5642['createPositionBefore'](_0x350635)),_0x4e5642[_0x42c3('0x79')](_0x350635);});});}}function ce(_0x189d01){if(_0x189d01['isEmpty'])return!0x0;const _0x162e7e=_0x189d01[_0x42c3('0x5d')](0x0);return _0x162e7e['is'](_0x42c3('0x75'),_0x42c3('0x5b'))&&_0x162e7e[_0x42c3('0x69')];}function fe(_0x414a1b,_0x3890f3={},_0x10666c){for(const {isAnchor:_0x8c9ad0,cellHeight:_0x101f4a,cellWidth:_0x592b0d}of _0x10666c[_0x42c3('0x85')](_0x414a1b,{'includeAllSlots':!0x0,..._0x3890f3}))if(!_0x8c9ad0||0x1!=_0x101f4a||0x1!=_0x592b0d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa717=['registerCustomCallback','format','handleSuggestionDescription','commandParams','resizeTableWidth','get','resizeColumnWidths','discard','locale','selection','has','getTableColumnsWidths','*Format:*\x20resize\x20table','TrackChangesEditing','afterInit','accept','resizeTable','getSelectedElement','TableColumnResizeEditing','formatBlock','_descriptionFactory','getAttribute','registerDescriptionCallback','data','markBlockFormat','handleResizeTableWidthCommand','formatGroupId','model','_suggestionFactory','table','tableWidth','change','getSuggestions','bind','plugins','columnWidths','editor','enableCommand','getSuggestionCallback','Users','getColumnGroupElement'];(function(_0x285c96,_0xa717a1){const _0x16bf12=function(_0x330ab7){while(--_0x330ab7){_0x285c96['push'](_0x285c96['shift']());}};_0x16bf12(++_0xa717a1);}(_0xa717,0x10d));const _0x16bf=function(_0x285c96,_0xa717a1){_0x285c96=_0x285c96-0x0;let _0x16bf12=_0xa717[_0x285c96];return _0x16bf12;};import{Plugin as _0x1d8ef1}from'ckeditor5/src/core';import{getTranslation as _0x2e15d9}from'../utils/common-translations';export default class yt extends _0x1d8ef1{[_0x16bf('0x20')](){if(!this[_0x16bf('0xd')][_0x16bf('0xb')][_0x16bf('0x1c')](_0x16bf('0x24')))return;const _0x22c1f8=this[_0x16bf('0xd')][_0x16bf('0xb')][_0x16bf('0x17')](_0x16bf('0x1f'));_0x22c1f8['enableCommand'](_0x16bf('0x16'),this[_0x16bf('0x2')][_0x16bf('0xa')](this)),_0x22c1f8[_0x16bf('0xe')](_0x16bf('0x18'),this['handleResizeTableWidthCommand'][_0x16bf('0xa')](this)),_0x22c1f8[_0x16bf('0x5')][_0x16bf('0x12')](_0x16bf('0x25'),'resizeTable','accept',_0x22c1f8[_0x16bf('0x5')][_0x16bf('0xf')](_0x16bf('0x25'),null,_0x16bf('0x19'))),_0x22c1f8[_0x16bf('0x5')][_0x16bf('0x12')](_0x16bf('0x25'),'resizeTable','discard',_0x22c1f8[_0x16bf('0x5')][_0x16bf('0xf')](_0x16bf('0x25'),null,_0x16bf('0x21'))),_0x22c1f8[_0x16bf('0x26')][_0x16bf('0x28')](this[_0x16bf('0x14')][_0x16bf('0xa')](this));}['handleResizeTableWidthCommand'](_0x387095,_0x53dc2e){const _0x19e294=this[_0x16bf('0xd')][_0x16bf('0xb')][_0x16bf('0x17')](_0x16bf('0x1f')),_0x4ac5b2=this[_0x16bf('0xd')][_0x16bf('0xb')][_0x16bf('0x17')]('TableColumnResizeEditing'),_0x1b4064=_0x53dc2e[_0x16bf('0x6')]||this['editor'][_0x16bf('0x4')]['document'][_0x16bf('0x1b')][_0x16bf('0x23')]();this[_0x16bf('0xd')][_0x16bf('0x4')][_0x16bf('0x8')](()=>{const _0x16e8a6=_0x4ac5b2[_0x16bf('0x11')](_0x1b4064);let _0x1e4b16=_0x16e8a6?_0x4ac5b2[_0x16bf('0x1d')](_0x16e8a6):null,_0x24a5d3=_0x1b4064[_0x16bf('0x27')](_0x16bf('0x7'))||null;const _0x961f4=_0x53dc2e[_0x16bf('0x7')]||_0x24a5d3,_0x57beea=_0x53dc2e[_0x16bf('0xc')]||_0x1e4b16,_0x53959d=this[_0x16bf('0xd')][_0x16bf('0xb')][_0x16bf('0x17')](_0x16bf('0x10'))['me'];for(const _0x2f99e6 of _0x19e294[_0x16bf('0x9')]()){const _0x18b5f2=_0x2f99e6['getContainedElement']();if(_0x16bf('0x22')===_0x2f99e6['subType']&&_0x18b5f2===_0x1b4064){_0x2f99e6['author']!==_0x53959d&&_0x2f99e6[_0x16bf('0x19')]();const _0xac7365=_0x2f99e6[_0x16bf('0x0')][_0x16bf('0x15')];_0x24a5d3=_0xac7365[0x0][_0x16bf('0x7')],_0x1e4b16=_0xac7365[0x0][_0x16bf('0xc')];break;}}_0x387095({'table':_0x1b4064,'tableWidth':_0x961f4,'columnWidths':_0x57beea}),_0x19e294[_0x16bf('0x1')](_0x1b4064,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x24a5d3,'columnWidths':_0x1e4b16}],'formatGroupId':_0x16bf('0x22')},[],_0x16bf('0x22'));});}[_0x16bf('0x14')](_0x4e6c02){const {data:_0x58a369}=_0x4e6c02;if(_0x58a369&&'resizeTable'===_0x58a369[_0x16bf('0x3')]){const _0x29a2bf=_0x16bf('0x1e');return{'type':_0x16bf('0x13'),'content':_0x2e15d9(this[_0x16bf('0xd')][_0x16bf('0x1a')],_0x29a2bf)};}}}
23
+ const _0x39d7=['resizeColumnWidths','getSuggestionCallback','bind','handleSuggestionDescription','plugins','subType','document','accept','commandParams','resizeTableWidth','markBlockFormat','getTableColumnsWidths','registerCustomCallback','getColumnGroupElement','model','formatBlock','data','enableCommand','formatGroupId','discard','TrackChangesEditing','_descriptionFactory','resizeTable','locale','tableWidth','selection','columnWidths','afterInit','getContainedElement','author','TableColumnResizeEditing','format','has','getSelectedElement','editor','_suggestionFactory','get','handleResizeTableWidthCommand'];(function(_0x4f2fa4,_0x39d766){const _0x2bdcf9=function(_0x10c218){while(--_0x10c218){_0x4f2fa4['push'](_0x4f2fa4['shift']());}};_0x2bdcf9(++_0x39d766);}(_0x39d7,0x1b0));const _0x2bdc=function(_0x4f2fa4,_0x39d766){_0x4f2fa4=_0x4f2fa4-0x0;let _0x2bdcf9=_0x39d7[_0x4f2fa4];return _0x2bdcf9;};import{Plugin as _0x345dbb}from'ckeditor5/src/core';import{getTranslation as _0x5f49f1}from'../utils/common-translations';export default class yt extends _0x345dbb{[_0x2bdc('0xd')](){if(!this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x12')](_0x2bdc('0x10')))return;const _0x383e07=this[_0x2bdc('0x14')]['plugins']['get'](_0x2bdc('0x6'));_0x383e07[_0x2bdc('0x3')](_0x2bdc('0x21'),this[_0x2bdc('0x17')][_0x2bdc('0x1a')](this)),_0x383e07['enableCommand'](_0x2bdc('0x18'),this[_0x2bdc('0x17')][_0x2bdc('0x1a')](this)),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x24')](_0x2bdc('0x1'),_0x2bdc('0x8'),_0x2bdc('0x1f'),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x19')](_0x2bdc('0x1'),null,_0x2bdc('0x5'))),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x24')](_0x2bdc('0x1'),_0x2bdc('0x8'),'discard',_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x19')](_0x2bdc('0x1'),null,_0x2bdc('0x1f'))),_0x383e07[_0x2bdc('0x7')]['registerDescriptionCallback'](this[_0x2bdc('0x1b')][_0x2bdc('0x1a')](this));}[_0x2bdc('0x17')](_0x11f1de,_0x3e1a1a){const _0x56a6c5=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')](_0x2bdc('0x6')),_0x40a17c=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')]('TableColumnResizeEditing'),_0x3d0d73=_0x3e1a1a['table']||this[_0x2bdc('0x14')][_0x2bdc('0x0')][_0x2bdc('0x1e')][_0x2bdc('0xb')][_0x2bdc('0x13')]();this[_0x2bdc('0x14')][_0x2bdc('0x0')]['change'](()=>{const _0xf98892=_0x40a17c[_0x2bdc('0x25')](_0x3d0d73);let _0x59662e=_0xf98892?_0x40a17c[_0x2bdc('0x23')](_0xf98892):null,_0x2926d7=_0x3d0d73['getAttribute'](_0x2bdc('0xa'))||null;const _0x10356c=_0x3e1a1a[_0x2bdc('0xa')]||_0x2926d7,_0x6da05e=_0x3e1a1a['columnWidths']||_0x59662e,_0x5a61ea=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')]('Users')['me'];for(const _0x43c6e4 of _0x56a6c5['getSuggestions']()){const _0xfbb874=_0x43c6e4[_0x2bdc('0xe')]();if('resizeTable'===_0x43c6e4[_0x2bdc('0x1d')]&&_0xfbb874===_0x3d0d73){_0x43c6e4[_0x2bdc('0xf')]!==_0x5a61ea&&_0x43c6e4[_0x2bdc('0x5')]();const _0x37f2c2=_0x43c6e4[_0x2bdc('0x2')][_0x2bdc('0x20')];_0x2926d7=_0x37f2c2[0x0][_0x2bdc('0xa')],_0x59662e=_0x37f2c2[0x0][_0x2bdc('0xc')];break;}}_0x11f1de({'table':_0x3d0d73,'tableWidth':_0x10356c,'columnWidths':_0x6da05e}),_0x56a6c5[_0x2bdc('0x22')](_0x3d0d73,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x2926d7,'columnWidths':_0x59662e}],'formatGroupId':_0x2bdc('0x8')},[],_0x2bdc('0x8'));});}[_0x2bdc('0x1b')](_0x2fb788){const {data:_0x2eefe9}=_0x2fb788;if(_0x2eefe9&&_0x2bdc('0x8')===_0x2eefe9[_0x2bdc('0x4')]){const _0x53f9fe='*Format:*\x20resize\x20table';return{'type':_0x2bdc('0x11'),'content':_0x5f49f1(this[_0x2bdc('0x14')][_0x2bdc('0x9')],_0x53f9fe)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe822=['forceValue','findAncestor','consume','TableUtils','getSuggestion','addMarker:suggestion','enableCommand','_acceptFormatSuggestionCallbackFactory','stop','change','includes','ck-suggestion-marker--active','headingRows','accept','editing','createRange','addClass','document','_splitMarkerName','mapper','getCellLocation','FORMAT_HEADER_COLUMN','FORMAT_HEADER_ROW','selection','value','*Format:*\x20%0','cell','removeMarker:suggestion','ck-suggestion-marker-','setTableColumnHeader','TrackChangesEditing','options','createPositionAfter','end','_suggestionFactory','model','index','markerNameToElements','_descriptionFactory','FORMAT_REGULAR_ROW','afterInit','highest','getChild','removeClass','getAttribute','plugins','commandName','registerCustomCallback','getRowIndexes','parent','FORMAT_REGULAR_COLUMN','getSelectionAffectedTableCells','name','from','format','activeMarkers','item','markerRange','commandParams','markBlockFormat','formatBlock','getColumnIndexes','setTableRowHeader','toViewElement','registerDescriptionCallback','unbindElementFromMarkerName','headingColumns','downcastDispatcher','createTableWalker','data-suggestion','removeAttribute','nodeBefore','consumable','start','markerName','createPositionBefore','nodeAfter','writer','get','editor','data','commands'];(function(_0x2635e9,_0xe8221a){const _0x2cc73a=function(_0x397cd6){while(--_0x397cd6){_0x2635e9['push'](_0x2635e9['shift']());}};_0x2cc73a(++_0xe8221a);}(_0xe822,0x104));const _0x2cc7=function(_0x2635e9,_0xe8221a){_0x2635e9=_0x2635e9-0x0;let _0x2cc73a=_0xe822[_0x2635e9];return _0x2cc73a;};import{Plugin as _0x539ccb}from'ckeditor5/src/core';import _0x101b6e from'./table';import{getTranslation as _0x586ca8}from'../utils/common-translations';export default class kt extends _0x539ccb{static get['requires'](){return[_0x101b6e];}[_0x2cc7('0x1a')](){const _0x5a6fc5=this[_0x2cc7('0x41')];if(!_0x5a6fc5['plugins']['has']('TableEditing'))return;const _0x33f95c=_0x5a6fc5['locale'],_0x581ba7=_0x5a6fc5[_0x2cc7('0x1f')][_0x2cc7('0x40')](_0x2cc7('0x10')),_0xd1dbdd=_0x5a6fc5['plugins'][_0x2cc7('0x40')](_0x2cc7('0x47')),_0x268c15=_0x5a6fc5['plugins'][_0x2cc7('0x40')](_0x101b6e);function _0x266653({showActiveMarker:_0x118376=!0x0,setDataAttribute:_0x22230d=!0x0}={}){return(_0x5cb8ce,_0x418ac5,_0x5460cf)=>{const {type:_0x121453,id:_0x4907f6}=_0x581ba7[_0x2cc7('0x4')](_0x418ac5['markerName']),_0x5e36f6=_0x581ba7[_0x2cc7('0x48')](_0x4907f6);if(!_0x5e36f6[_0x2cc7('0x42')]||'setTableColumnHeader'!=_0x5e36f6[_0x2cc7('0x42')][_0x2cc7('0x20')])return;if(_0x418ac5[_0x2cc7('0x2a')])return void _0x5cb8ce[_0x2cc7('0x4c')]();if(!_0x5460cf[_0x2cc7('0x3a')][_0x2cc7('0x46')](_0x418ac5[_0x2cc7('0x2b')],_0x5cb8ce[_0x2cc7('0x26')]))return;const _0x10629d=_0x418ac5[_0x2cc7('0x2b')][_0x2cc7('0x3b')][_0x2cc7('0x3e')],_0x4f6991=_0x418ac5[_0x2cc7('0x2b')][_0x2cc7('0x13')][_0x2cc7('0x39')],_0x1a0257=_0x10629d['parent'][_0x2cc7('0x23')],{column:_0x562f7e}=_0xd1dbdd[_0x2cc7('0x6')](_0x10629d),{column:_0x2807c6}=_0xd1dbdd[_0x2cc7('0x6')](_0x4f6991);for(let _0x56084b=_0x562f7e;_0x56084b<=_0x2807c6;_0x56084b++){const _0xc96c31=_0xd1dbdd['createTableWalker'](_0x1a0257,{'column':_0x56084b,'includeAllSlots':!0x1});for(const _0x4a6322 of _0xc96c31){const _0x32e92a=_0x4a6322[_0x2cc7('0xc')],_0x3336cd=_0x5460cf['mapper'][_0x2cc7('0x31')](_0x32e92a);_0x5460cf[_0x2cc7('0x3f')]['addClass'](_0x2cc7('0xe')+_0x121453,_0x3336cd),_0x22230d&&_0x5460cf['writer']['setAttribute']('data-suggestion',_0x4907f6,_0x3336cd),_0x5460cf[_0x2cc7('0x5')]['bindElementToMarker'](_0x3336cd,_0x418ac5['markerName']),_0x118376&&(_0x581ba7[_0x2cc7('0x29')][_0x2cc7('0x4e')](_0x418ac5[_0x2cc7('0x3c')])?_0x5460cf[_0x2cc7('0x3f')][_0x2cc7('0x2')]('ck-suggestion-marker--active',_0x3336cd):_0x5460cf[_0x2cc7('0x3f')][_0x2cc7('0x1d')](_0x2cc7('0x4f'),_0x3336cd));}}};}_0x581ba7[_0x2cc7('0x4a')]('setTableRowHeader',(_0x5d2d54,_0x4c8dec)=>{const _0x799a82=_0xd1dbdd[_0x2cc7('0x25')](_0x5a6fc5['model']['document']['selection']),_0x526f04=_0xd1dbdd[_0x2cc7('0x22')](_0x799a82),_0xe8057f=_0x799a82[0x0][_0x2cc7('0x45')]('table'),_0x201d51=_0xe8057f['getAttribute'](_0x2cc7('0x50'))||0x0,_0x286405=_0x4c8dec&&null!==_0x4c8dec[_0x2cc7('0x44')]?_0x4c8dec[_0x2cc7('0x44')]:!_0x5a6fc5[_0x2cc7('0x43')][_0x2cc7('0x40')](_0x2cc7('0x30'))[_0x2cc7('0xa')],_0x20179d=_0x286405?_0x526f04['last']:_0x526f04['first'],_0x2e6a50=_0xe8057f[_0x2cc7('0x1c')](_0x20179d);let _0x465ed1;if(_0x286405){const _0x379667=_0xe8057f[_0x2cc7('0x1c')](_0x201d51);if(_0x2e6a50[_0x2cc7('0x16')]<_0x379667[_0x2cc7('0x16')])return;_0x465ed1=_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x1')](_0x5a6fc5['model']['createPositionBefore'](_0x379667[_0x2cc7('0x1c')](0x0)),_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x12')](_0x2e6a50[_0x2cc7('0x1c')](_0x2e6a50['childCount']-0x1)));}else{const _0xd9bcbd=_0xe8057f[_0x2cc7('0x1c')](_0x201d51-0x1);if(!_0xd9bcbd)return;_0x465ed1=_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x1')](_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x3d')](_0x2e6a50[_0x2cc7('0x1c')](0x0)),_0x5a6fc5['model'][_0x2cc7('0x12')](_0xd9bcbd['getChild'](_0xd9bcbd['childCount']-0x1)));}_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x4d')](()=>{_0x581ba7['markBlockFormat'](_0x465ed1,{'commandName':_0x2cc7('0x30'),'commandParams':[{'forceValue':_0x286405}]},[],'setTableRowHeader');});}),_0x581ba7[_0x2cc7('0x4a')](_0x2cc7('0xf'),(_0x875bbc,_0x4c7a7c)=>{const _0x4899cf=_0x5a6fc5[_0x2cc7('0x1f')][_0x2cc7('0x40')](_0x2cc7('0x47')),_0x209ec1=_0x4899cf['getSelectionAffectedTableCells'](_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x3')][_0x2cc7('0x9')]),_0x4f93b0=_0x4899cf[_0x2cc7('0x2f')](_0x209ec1),_0x486c36=_0x209ec1[0x0][_0x2cc7('0x45')]('table'),_0x9f7a6=_0x486c36[_0x2cc7('0x1e')](_0x2cc7('0x34'))||0x0,_0x297936=_0x4c7a7c&&null!==_0x4c7a7c[_0x2cc7('0x44')]?_0x4c7a7c['forceValue']:!_0x5a6fc5[_0x2cc7('0x43')]['get']('setTableColumnHeader')[_0x2cc7('0xa')];let _0x57e894;const _0x2171aa=_0x486c36['getChild'](0x0),_0x4adb68=_0x297936?_0x4f93b0['last']:_0x4f93b0['first'],_0xacd3f4=_0x4899cf[_0x2cc7('0x36')](_0x486c36,{'startRow':0x0,'column':_0x4adb68,'includeAllSlots':!0x1}),_0x4fff62=Array[_0x2cc7('0x27')](_0xacd3f4)[0x0]['cell'];if(_0x297936){const _0x3940ea=_0x2171aa[_0x2cc7('0x1c')](_0x9f7a6);if(_0x4fff62['isBefore'](_0x3940ea))return;_0x57e894=_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x1')](_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x3d')](_0x3940ea),_0x5a6fc5['model'][_0x2cc7('0x12')](_0x4fff62));}else{const _0x3e4ca4=_0x2171aa[_0x2cc7('0x1c')](_0x9f7a6-0x1);if(!_0x3e4ca4)return;_0x57e894=_0x5a6fc5[_0x2cc7('0x15')]['createRange'](_0x5a6fc5['model'][_0x2cc7('0x3d')](_0x4fff62),_0x5a6fc5[_0x2cc7('0x15')][_0x2cc7('0x12')](_0x3e4ca4));}_0x5a6fc5[_0x2cc7('0x15')]['change'](()=>{_0x581ba7[_0x2cc7('0x2d')](_0x57e894,{'commandName':_0x2cc7('0xf'),'commandParams':[{'forceValue':_0x297936}]},[],'setTableColumnHeader');});}),_0x5a6fc5[_0x2cc7('0x0')][_0x2cc7('0x35')]['on'](_0x2cc7('0x49'),_0x266653(),{'priority':_0x2cc7('0x1b')}),_0x5a6fc5[_0x2cc7('0x42')]['downcastDispatcher']['on'](_0x2cc7('0x49'),(_0x5ef988,_0x555014,_0x53b9ee)=>{_0x53b9ee[_0x2cc7('0x11')]['showSuggestionHighlights']&&_0x266653({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5ef988,_0x555014,_0x53b9ee);},{'priority':'highest'}),_0x5a6fc5[_0x2cc7('0x0')][_0x2cc7('0x35')]['on'](_0x2cc7('0xd'),(_0xaa4358,_0x4a9ffe,_0x172c1c)=>{const {type:_0x45354c,id:_0x3fc5aa}=_0x581ba7[_0x2cc7('0x4')](_0x4a9ffe['markerName']),_0x42e207=_0x581ba7['getSuggestion'](_0x3fc5aa);if(!_0x42e207['data']||_0x2cc7('0xf')!=_0x42e207[_0x2cc7('0x42')][_0x2cc7('0x20')])return;const _0x1c44ad=_0x172c1c['mapper'][_0x2cc7('0x17')](_0x4a9ffe[_0x2cc7('0x3c')]);if(_0x1c44ad)for(const _0x175ac2 of _0x1c44ad)_0x172c1c[_0x2cc7('0x3f')][_0x2cc7('0x1d')](_0x2cc7('0xe')+_0x45354c,_0x175ac2),_0x172c1c[_0x2cc7('0x3f')][_0x2cc7('0x1d')](_0x2cc7('0x4f'),_0x175ac2),_0x172c1c[_0x2cc7('0x3f')][_0x2cc7('0x38')](_0x2cc7('0x37'),_0x175ac2),_0x172c1c[_0x2cc7('0x5')][_0x2cc7('0x33')](_0x175ac2,_0x4a9ffe['markerName']);},{'priority':_0x2cc7('0x1b')}),_0x581ba7[_0x2cc7('0x18')][_0x2cc7('0x32')](_0x466c90=>{const {data:_0x118902}=_0x466c90;if(_0x118902){if('setTableRowHeader'==_0x118902['commandName']){const _0xbf718e=_0x118902[_0x2cc7('0x2c')][0x0][_0x2cc7('0x44')];return _0x1f4e5e(_0x586ca8(_0x33f95c,_0xbf718e?_0x2cc7('0x8'):_0x2cc7('0x19')));}if('setTableColumnHeader'==_0x118902[_0x2cc7('0x20')]){const _0x5e7254=_0x118902[_0x2cc7('0x2c')][0x0]['forceValue'];return _0x1f4e5e(_0x586ca8(_0x33f95c,_0x5e7254?_0x2cc7('0x7'):_0x2cc7('0x24')));}}function _0x1f4e5e(_0x4864cb){return{'type':_0x2cc7('0x28'),'content':_0x586ca8(_0x33f95c,_0x2cc7('0xb'),_0x4864cb)};}});const _0xfadaf8=_0x268c15[_0x2cc7('0x4b')]();_0x581ba7[_0x2cc7('0x14')][_0x2cc7('0x21')](_0x2cc7('0x2e'),_0x2cc7('0x30'),'accept',_0xfadaf8),_0x581ba7['_suggestionFactory']['registerCustomCallback'](_0x2cc7('0x2e'),_0x2cc7('0xf'),_0x2cc7('0x51'),_0xfadaf8);}}
23
+ const _0x5853=['plugins','createTableWalker','commandName','TrackChangesEditing','registerCustomCallback','data-suggestion','formatBlock','createRange','headingRows','_descriptionFactory','change','showSuggestionHighlights','getColumnIndexes','last','cell','forceValue','setTableRowHeader','mapper','commands','markBlockFormat','highest','name','TableUtils','getCellLocation','getChild','item','start','createPositionAfter','unbindElementFromMarkerName','childCount','writer','addClass','_splitMarkerName','setTableColumnHeader','removeClass','getSelectionAffectedTableCells','nodeBefore','removeMarker:suggestion','table','downcastDispatcher','editor','addMarker:suggestion','locale','selection','get','ck-suggestion-marker-','registerDescriptionCallback','stop','index','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','markerName','getAttribute','has','getSuggestion','toViewElement','isBefore','format','first','requires','document','markerRange','parent','model','commandParams','*Format:*\x20%0','accept','from','value','setAttribute','findAncestor','createPositionBefore','removeAttribute','consumable','data','FORMAT_HEADER_ROW','afterInit','_acceptFormatSuggestionCallbackFactory','bindElementToMarker','getRowIndexes','enableCommand','markerNameToElements','activeMarkers','_suggestionFactory'];(function(_0x349a7e,_0x585378){const _0x78ab78=function(_0xf62e2d){while(--_0xf62e2d){_0x349a7e['push'](_0x349a7e['shift']());}};_0x78ab78(++_0x585378);}(_0x5853,0x141));const _0x78ab=function(_0x349a7e,_0x585378){_0x349a7e=_0x349a7e-0x0;let _0x78ab78=_0x5853[_0x349a7e];return _0x78ab78;};import{Plugin as _0x4c8e6a}from'ckeditor5/src/core';import _0x2fe631 from'./table';import{getTranslation as _0x52c35b}from'../utils/common-translations';export default class kt extends _0x4c8e6a{static get[_0x78ab('0x4a')](){return[_0x2fe631];}[_0x78ab('0x7')](){const _0x475732=this[_0x78ab('0x37')];if(!_0x475732[_0x78ab('0xf')][_0x78ab('0x44')]('TableEditing'))return;const _0x7e16e6=_0x475732[_0x78ab('0x39')],_0x1d8545=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x78ab('0x12')),_0x4c2e0f=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x78ab('0x25')),_0x23da26=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x2fe631);function _0x45a9ff({showActiveMarker:_0x15f0cf=!0x0,setDataAttribute:_0x421bb2=!0x0}={}){return(_0x5de9f8,_0x22f983,_0x1f3f83)=>{const {type:_0x1bdf6c,id:_0x38c5d3}=_0x1d8545[_0x78ab('0x2f')](_0x22f983['markerName']),_0x327f2b=_0x1d8545[_0x78ab('0x45')](_0x38c5d3);if(!_0x327f2b['data']||'setTableColumnHeader'!=_0x327f2b[_0x78ab('0x5')][_0x78ab('0x11')])return;if(_0x22f983[_0x78ab('0x28')])return void _0x5de9f8[_0x78ab('0x3e')]();if(!_0x1f3f83[_0x78ab('0x4')]['consume'](_0x22f983[_0x78ab('0x4c')],_0x5de9f8[_0x78ab('0x24')]))return;const _0x290115=_0x22f983[_0x78ab('0x4c')][_0x78ab('0x29')]['nodeAfter'],_0xca9d13=_0x22f983[_0x78ab('0x4c')]['end'][_0x78ab('0x33')],_0x42e247=_0x290115[_0x78ab('0x4d')][_0x78ab('0x4d')],{column:_0x84df85}=_0x4c2e0f[_0x78ab('0x26')](_0x290115),{column:_0x4ce5d8}=_0x4c2e0f['getCellLocation'](_0xca9d13);for(let _0x5dcf35=_0x84df85;_0x5dcf35<=_0x4ce5d8;_0x5dcf35++){const _0x108394=_0x4c2e0f[_0x78ab('0x10')](_0x42e247,{'column':_0x5dcf35,'includeAllSlots':!0x1});for(const _0x4898c3 of _0x108394){const _0x3b4071=_0x4898c3['cell'],_0x37a33f=_0x1f3f83[_0x78ab('0x20')][_0x78ab('0x46')](_0x3b4071);_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x2e')](_0x78ab('0x3c')+_0x1bdf6c,_0x37a33f),_0x421bb2&&_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x0')]('data-suggestion',_0x38c5d3,_0x37a33f),_0x1f3f83[_0x78ab('0x20')][_0x78ab('0x9')](_0x37a33f,_0x22f983[_0x78ab('0x42')]),_0x15f0cf&&(_0x1d8545[_0x78ab('0xd')]['includes'](_0x22f983[_0x78ab('0x42')])?_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x2e')](_0x78ab('0x41'),_0x37a33f):_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x31')](_0x78ab('0x41'),_0x37a33f));}}};}_0x1d8545[_0x78ab('0xb')](_0x78ab('0x1f'),(_0x59b233,_0x2557a5)=>{const _0x45781b=_0x4c2e0f[_0x78ab('0x32')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x4b')][_0x78ab('0x3a')]),_0x3facef=_0x4c2e0f[_0x78ab('0xa')](_0x45781b),_0x59fef3=_0x45781b[0x0][_0x78ab('0x1')](_0x78ab('0x35')),_0x59016b=_0x59fef3[_0x78ab('0x43')](_0x78ab('0x17'))||0x0,_0x2a621e=_0x2557a5&&null!==_0x2557a5['forceValue']?_0x2557a5['forceValue']:!_0x475732[_0x78ab('0x21')][_0x78ab('0x3b')](_0x78ab('0x1f'))[_0x78ab('0x53')],_0x2d07cb=_0x2a621e?_0x3facef[_0x78ab('0x1c')]:_0x3facef[_0x78ab('0x49')],_0x1a27de=_0x59fef3['getChild'](_0x2d07cb);let _0xe1edf3;if(_0x2a621e){const _0x396f36=_0x59fef3[_0x78ab('0x27')](_0x59016b);if(_0x1a27de[_0x78ab('0x3f')]<_0x396f36[_0x78ab('0x3f')])return;_0xe1edf3=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x396f36[_0x78ab('0x27')](0x0)),_0x475732[_0x78ab('0x4e')]['createPositionAfter'](_0x1a27de['getChild'](_0x1a27de[_0x78ab('0x2c')]-0x1)));}else{const _0x1b9141=_0x59fef3[_0x78ab('0x27')](_0x59016b-0x1);if(!_0x1b9141)return;_0xe1edf3=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x1a27de[_0x78ab('0x27')](0x0)),_0x475732[_0x78ab('0x4e')]['createPositionAfter'](_0x1b9141['getChild'](_0x1b9141[_0x78ab('0x2c')]-0x1)));}_0x475732[_0x78ab('0x4e')][_0x78ab('0x19')](()=>{_0x1d8545[_0x78ab('0x22')](_0xe1edf3,{'commandName':_0x78ab('0x1f'),'commandParams':[{'forceValue':_0x2a621e}]},[],_0x78ab('0x1f'));});}),_0x1d8545[_0x78ab('0xb')](_0x78ab('0x30'),(_0x5c4597,_0x58a4be)=>{const _0x56e93a=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')]('TableUtils'),_0x35ca3c=_0x56e93a[_0x78ab('0x32')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x4b')]['selection']),_0x5a4711=_0x56e93a[_0x78ab('0x1b')](_0x35ca3c),_0x5958e2=_0x35ca3c[0x0][_0x78ab('0x1')](_0x78ab('0x35')),_0x26d520=_0x5958e2['getAttribute']('headingColumns')||0x0,_0x4b6786=_0x58a4be&&null!==_0x58a4be[_0x78ab('0x1e')]?_0x58a4be[_0x78ab('0x1e')]:!_0x475732['commands'][_0x78ab('0x3b')](_0x78ab('0x30'))[_0x78ab('0x53')];let _0x2a5e38;const _0x321491=_0x5958e2[_0x78ab('0x27')](0x0),_0x4ee366=_0x4b6786?_0x5a4711[_0x78ab('0x1c')]:_0x5a4711[_0x78ab('0x49')],_0x573183=_0x56e93a[_0x78ab('0x10')](_0x5958e2,{'startRow':0x0,'column':_0x4ee366,'includeAllSlots':!0x1}),_0x996324=Array[_0x78ab('0x52')](_0x573183)[0x0][_0x78ab('0x1d')];if(_0x4b6786){const _0x3098c6=_0x321491[_0x78ab('0x27')](_0x26d520);if(_0x996324[_0x78ab('0x47')](_0x3098c6))return;_0x2a5e38=_0x475732['model'][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x3098c6),_0x475732[_0x78ab('0x4e')][_0x78ab('0x2a')](_0x996324));}else{const _0x27458c=_0x321491['getChild'](_0x26d520-0x1);if(!_0x27458c)return;_0x2a5e38=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x996324),_0x475732[_0x78ab('0x4e')][_0x78ab('0x2a')](_0x27458c));}_0x475732['model'][_0x78ab('0x19')](()=>{_0x1d8545[_0x78ab('0x22')](_0x2a5e38,{'commandName':_0x78ab('0x30'),'commandParams':[{'forceValue':_0x4b6786}]},[],_0x78ab('0x30'));});}),_0x475732['editing'][_0x78ab('0x36')]['on'](_0x78ab('0x38'),_0x45a9ff(),{'priority':'highest'}),_0x475732['data'][_0x78ab('0x36')]['on'](_0x78ab('0x38'),(_0x5dd142,_0x5559c1,_0x432a50)=>{_0x432a50['options'][_0x78ab('0x1a')]&&_0x45a9ff({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5dd142,_0x5559c1,_0x432a50);},{'priority':_0x78ab('0x23')}),_0x475732['editing']['downcastDispatcher']['on'](_0x78ab('0x34'),(_0x2c0cb9,_0x1b5968,_0x36c6da)=>{const {type:_0x358266,id:_0x4c5eed}=_0x1d8545['_splitMarkerName'](_0x1b5968[_0x78ab('0x42')]),_0x20d9c7=_0x1d8545[_0x78ab('0x45')](_0x4c5eed);if(!_0x20d9c7['data']||'setTableColumnHeader'!=_0x20d9c7[_0x78ab('0x5')]['commandName'])return;const _0xc63d98=_0x36c6da[_0x78ab('0x20')][_0x78ab('0xc')](_0x1b5968[_0x78ab('0x42')]);if(_0xc63d98)for(const _0xeb616 of _0xc63d98)_0x36c6da['writer'][_0x78ab('0x31')](_0x78ab('0x3c')+_0x358266,_0xeb616),_0x36c6da[_0x78ab('0x2d')]['removeClass'](_0x78ab('0x41'),_0xeb616),_0x36c6da['writer'][_0x78ab('0x3')](_0x78ab('0x14'),_0xeb616),_0x36c6da[_0x78ab('0x20')][_0x78ab('0x2b')](_0xeb616,_0x1b5968[_0x78ab('0x42')]);},{'priority':_0x78ab('0x23')}),_0x1d8545[_0x78ab('0x18')][_0x78ab('0x3d')](_0x526c93=>{const {data:_0x5c8beb}=_0x526c93;if(_0x5c8beb){if(_0x78ab('0x1f')==_0x5c8beb[_0x78ab('0x11')]){const _0x4c87cb=_0x5c8beb[_0x78ab('0x4f')][0x0]['forceValue'];return _0x3ced49(_0x52c35b(_0x7e16e6,_0x4c87cb?_0x78ab('0x6'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5c8beb[_0x78ab('0x11')]){const _0x331255=_0x5c8beb[_0x78ab('0x4f')][0x0][_0x78ab('0x1e')];return _0x3ced49(_0x52c35b(_0x7e16e6,_0x331255?_0x78ab('0x40'):'FORMAT_REGULAR_COLUMN'));}}function _0x3ced49(_0x9ea83a){return{'type':_0x78ab('0x48'),'content':_0x52c35b(_0x7e16e6,_0x78ab('0x50'),_0x9ea83a)};}});const _0x4aae88=_0x23da26[_0x78ab('0x8')]();_0x1d8545[_0x78ab('0xe')][_0x78ab('0x13')](_0x78ab('0x15'),_0x78ab('0x1f'),_0x78ab('0x51'),_0x4aae88),_0x1d8545['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x78ab('0x30'),_0x78ab('0x51'),_0x4aae88);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f63=['type','push','_areMergableCells','TrackChangesEditing','tableCell','editor','createRangeOn','subType','findAncestor','getFirstPosition','rootName','containsRange','forceDefaultExecution','fromRange','selection','highest','horizontally','getRanges','afterInit','*Split\x20cell:*\x20vertically','createTableWalker','model','accept','mergeTableCellUp','root','change','cell','_suggestionFactory','markMultiRangeBlockFormat','author','plugins','size','direction','element','splitTableCellVertically','set:isEnabled','*Split\x20cell:*\x20horizontally','add','insertion','isInContent','refresh','deletion','detach','format','stop','_tablePostFixingSubtypes','registerCustomCallback','mergeTableCellLeft','TableEditing','requires','execute','enableCommand','return','TableUtils','has','document','getAncestors','mergeTableCellRight','isEnabled','markBlockFormat','value','mergeTableCells','length','registerDescriptionCallback','map','splitTableCellHorizontally','mergeTableCellDown','formatBlock','$graveyard','_acceptFormatSuggestionCallbackFactory','_areSelectedCellsMergable','commands','*Merge\x20cells*','commandName','from','_descriptionFactory','getSelectionAffectedTableCells','get'];(function(_0x1174b6,_0x4f6324){const _0x287e31=function(_0x49de4d){while(--_0x49de4d){_0x1174b6['push'](_0x1174b6['shift']());}};_0x287e31(++_0x4f6324);}(_0x4f63,0xad));const _0x287e=function(_0x1174b6,_0x4f6324){_0x1174b6=_0x1174b6-0x0;let _0x287e31=_0x4f63[_0x1174b6];return _0x287e31;};import{Plugin as _0x37d910}from'ckeditor5/src/core';import _0x549b01 from'./table';import{LiveRange as _0x1c885f}from'ckeditor5/src/engine';import{getTranslation as _0x1f7d08}from'../utils/common-translations';export default class pt extends _0x37d910{static get[_0x287e('0x20')](){return[_0x549b01];}[_0x287e('0x1')](){const _0xeb7e82=this[_0x287e('0x42')],_0x14b379=_0xeb7e82[_0x287e('0x4')][_0x287e('0x26')]['selection'],_0x24a4d7=_0xeb7e82['locale'];if(!_0xeb7e82[_0x287e('0xd')][_0x287e('0x25')](_0x287e('0x1f')))return;const _0x2a371b=_0xeb7e82['plugins'][_0x287e('0x3c')](_0x287e('0x40')),_0x6e8759=_0xeb7e82['plugins'][_0x287e('0x3c')](_0x287e('0x24')),_0x4a6a18=_0xeb7e82[_0x287e('0xd')][_0x287e('0x3c')](_0x549b01);_0x4a6a18[_0x287e('0x1c')][_0x287e('0x3e')]('mergeTableCells'),_0x2a371b[_0x287e('0x22')](_0x287e('0x2c'),()=>{const _0x5997a7=_0x6e8759['getSelectionAffectedTableCells'](_0xeb7e82['model'][_0x287e('0x26')]['selection']);_0xeb7e82[_0x287e('0x4')][_0x287e('0x8')](()=>{_0x2a371b[_0x287e('0xb')](_0x5997a7,{'commandName':_0x287e('0x2c'),'commandParams':[]},[],_0x287e('0x2c'));});}),_0xeb7e82[_0x287e('0x36')][_0x287e('0x3c')](_0x287e('0x2c'))['on']('execute',(_0x2b510e,_0x36b628)=>{_0xeb7e82['commands']['get']('trackChanges')[_0x287e('0x2b')]&&(_0x36b628['length']>0x0&&_0x36b628[_0x36b628[_0x287e('0x2d')]-0x1]&&_0x36b628[_0x36b628[_0x287e('0x2d')]-0x1][_0x287e('0x49')]||_0x2a371b['_isForcedDefaultExecutionBlock']||this[_0x287e('0x35')]()||_0x2b510e[_0x287e('0x1b')]());},{'priority':_0x287e('0x4c')});for(const _0x541afd of['mergeTableCellUp',_0x287e('0x28'),_0x287e('0x31'),_0x287e('0x1e')]){const _0x30bbca=_0xeb7e82[_0x287e('0x36')][_0x287e('0x3c')](_0x541afd);_0x2a371b[_0x287e('0x22')](_0x541afd,()=>{const _0x47302e=_0xeb7e82['model']['document'][_0x287e('0x4b')][_0x287e('0x46')]()[_0x287e('0x27')]()['find'](_0x25d0d4=>_0x25d0d4['is'](_0x287e('0x10'),_0x287e('0x41'))),_0x2bddc4=_0x30bbca[_0x287e('0x2b')];_0xeb7e82[_0x287e('0x4')]['change'](()=>{_0x2a371b[_0x287e('0xb')]([_0x47302e,_0x2bddc4],{'commandName':_0x287e('0x2c'),'commandParams':[]},[],_0x287e('0x2c'));});});}for(const _0x572fa3 of['splitTableCellVertically',_0x287e('0x30')]){const _0x524b9d=_0xeb7e82[_0x287e('0x36')][_0x287e('0x3c')](_0x572fa3);_0x2a371b[_0x287e('0x22')](_0x572fa3,()=>{const _0x1b417f=_0x6e8759[_0x287e('0x3b')](_0xeb7e82[_0x287e('0x4')][_0x287e('0x26')]['selection'])[0x0],_0x3c42d9=_0x1b417f[_0x287e('0x45')]('table'),{column:_0x30daef,row:_0x4da2fe}=_0x6e8759['getCellLocation'](_0x1b417f);let _0x4b5059=[];if(_0x287e('0x4d')==_0x524b9d[_0x287e('0xf')]){const _0x12a96b=_0x6e8759[_0x287e('0x3')](_0x3c42d9,{'startRow':_0x4da2fe,'endRow':_0x4da2fe,'includeAllSlots':!0x0});_0x4b5059=Array[_0x287e('0x39')](_0x12a96b)['map'](_0xf898cf=>_0xf898cf['cell']);}else{const _0x4ce764=_0x6e8759[_0x287e('0x3')](_0x3c42d9,{'column':_0x30daef,'includeAllSlots':!0x0});_0x4b5059=Array['from'](_0x4ce764)['map'](_0x1692e2=>_0x1692e2[_0x287e('0x9')]);}_0xeb7e82['model']['change'](_0x599631=>{_0x2a371b[_0x287e('0x2a')](_0x599631[_0x287e('0x43')](_0x1b417f),{'commandName':_0x572fa3,'commandParams':[]},_0x4b5059,_0x572fa3);});});}_0x2a371b[_0x287e('0x3a')][_0x287e('0x2e')](_0x32bc1d=>{const {data:_0x322bf8}=_0x32bc1d;if(_0x322bf8)return _0x287e('0x2c')==_0x322bf8['commandName']?{'type':_0x287e('0x1a'),'content':_0x1f7d08(_0x24a4d7,_0x287e('0x37'))}:void 0x0;}),_0x2a371b['_descriptionFactory'][_0x287e('0x2e')](_0x5a7ebf=>{const {data:_0x1a3949}=_0x5a7ebf;if(_0x1a3949)return'splitTableCellVertically'==_0x1a3949['commandName']?{'type':_0x287e('0x1a'),'content':_0x1f7d08(_0x24a4d7,_0x287e('0x2'))}:'splitTableCellHorizontally'==_0x1a3949[_0x287e('0x38')]?{'type':_0x287e('0x1a'),'content':_0x1f7d08(_0x24a4d7,_0x287e('0x13'))}:void 0x0;});const _0x2d1046=_0x4a6a18[_0x287e('0x34')]();for(const _0x325d74 of[_0x287e('0x6'),'mergeTableCellRight',_0x287e('0x31'),_0x287e('0x1e')])_0x2a371b['_suggestionFactory'][_0x287e('0x1d')](_0x287e('0x32'),_0x325d74,'accept',_0x2d1046);for(const _0x4d6c98 of[_0x287e('0x11'),_0x287e('0x30')])_0x2a371b[_0x287e('0xa')]['registerCustomCallback'](_0x287e('0x32'),_0x4d6c98,_0x287e('0x5'),_0x2d1046);_0x2a371b[_0x287e('0xa')][_0x287e('0x1d')](_0x287e('0x32'),_0x287e('0x2c'),'accept',_0x2c7d37=>{_0xeb7e82['model'][_0x287e('0x8')](_0x36ec98=>{const _0x29395b=Array[_0x287e('0x39')](_0x14b379[_0x287e('0x0')]())[_0x287e('0x2f')](_0x57abc5=>_0x1c885f[_0x287e('0x4a')](_0x57abc5));_0x36ec98['setSelection'](_0x2c7d37),_0xeb7e82['commands'][_0x287e('0x3c')]('mergeTableCells')[_0x287e('0x17')](),_0xeb7e82[_0x287e('0x21')](_0x287e('0x2c'),{'forceDefaultExecution':!0x0});const _0x18258b=_0x29395b['filter'](_0xc1374=>_0x287e('0x33')!=_0xc1374[_0x287e('0x7')][_0x287e('0x47')]);_0x18258b[_0x287e('0x2d')]>0x0&&_0x36ec98['setSelection'](_0x18258b);for(const _0x4b63e4 of _0x29395b)_0x4b63e4[_0x287e('0x19')]();});});for(const _0x31ba80 of[_0x287e('0x6'),'mergeTableCellDown','mergeTableCellLeft',_0x287e('0x28')]){const _0x8a3360=_0xeb7e82['commands']['get'](_0x31ba80);_0x8a3360['on'](_0x287e('0x12'),(_0x50a5ad,_0x2fa60a,_0x572ef5)=>{if(_0x572ef5){const _0x5c027c=_0xeb7e82[_0x287e('0x4')][_0x287e('0x26')][_0x287e('0x4b')][_0x287e('0x46')]()[_0x287e('0x27')]()['find'](_0x59f29f=>_0x59f29f['is'](_0x287e('0x10'),_0x287e('0x41')));this['_areMergableCells'](_0x8a3360[_0x287e('0x2b')],_0x5c027c)||(_0x50a5ad[_0x287e('0x23')]=!0x1,_0x50a5ad[_0x287e('0x1b')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0xd58051=this[_0x287e('0x42')][_0x287e('0x36')]['get'](_0x287e('0x2c')),_0x1ab389=this['editor'][_0x287e('0xd')]['get'](_0x287e('0x24'));if(!_0xd58051[_0x287e('0x29')])return!0x1;const _0x31995d=_0x1ab389['getSelectionAffectedTableCells'](this[_0x287e('0x42')][_0x287e('0x4')][_0x287e('0x26')]['selection']);for(const _0x1fc9ac of _0x31995d)for(const _0x213741 of _0x31995d)if(_0x1fc9ac!=_0x213741&&!this['_areMergableCells'](_0x1fc9ac,_0x213741))return!0x1;return!0x0;}[_0x287e('0x3f')](_0x7b7b59,_0x1e8575){const _0x55957f=this[_0x287e('0x42')]['plugins'][_0x287e('0x3c')](_0x287e('0x40')),_0x116477=this[_0x287e('0x42')][_0x287e('0x4')][_0x287e('0x43')](_0x7b7b59),_0x2e130c=this[_0x287e('0x42')][_0x287e('0x4')][_0x287e('0x43')](_0x1e8575),_0x5ac04e=new Set(),_0x10ca6c=new Set();for(const _0x269576 of _0x55957f['getSuggestions']())if((_0x287e('0x15')==_0x269576[_0x287e('0x3d')]||_0x287e('0x18')==_0x269576['type']||_0x287e('0x2c')==_0x269576[_0x287e('0x44')])&&_0x269576[_0x287e('0x16')])for(const _0x485420 of _0x269576[_0x287e('0x0')]())_0x485420[_0x287e('0x48')](_0x116477,!0x0)&&_0x5ac04e[_0x287e('0x14')](_0x269576[_0x287e('0x3d')]+':'+_0x269576['author']['id']),_0x485420['containsRange'](_0x2e130c,!0x0)&&_0x10ca6c[_0x287e('0x14')](_0x269576['type']+':'+_0x269576[_0x287e('0xc')]['id']);if(_0x5ac04e[_0x287e('0xe')]!=_0x10ca6c[_0x287e('0xe')])return!0x1;for(const _0x75de8 of _0x5ac04e)if(!_0x10ca6c['has'](_0x75de8))return!0x1;return!0x0;}}
23
+ const _0x359e=['has','set:isEnabled','_suggestionFactory','filter','horizontally','_areSelectedCellsMergable','findAncestor','enableCommand','getRanges','$graveyard','get','registerCustomCallback','markBlockFormat','refresh','requires','format','subType','size','formatBlock','TrackChangesEditing','from','add','mergeTableCellRight','getCellLocation','fromRange','TableEditing','commands','detach','splitTableCellHorizontally','insertion','find','length','_descriptionFactory','*Split\x20cell:*\x20horizontally','cell','accept','locale','element','registerDescriptionCallback','isEnabled','mergeTableCells','change','author','model','createTableWalker','commandName','type','_isForcedDefaultExecutionBlock','tableCell','editor','plugins','selection','stop','*Merge\x20cells*','mergeTableCellDown','getAncestors','map','value','root','rootName','containsRange','highest','trackChanges','forceDefaultExecution','document','mergeTableCellLeft','_areMergableCells','push','setSelection','splitTableCellVertically','_tablePostFixingSubtypes','getSelectionAffectedTableCells','execute','createRangeOn','markMultiRangeBlockFormat','getFirstPosition','mergeTableCellUp'];(function(_0x4ab87f,_0x359e45){const _0x32a357=function(_0xb4e88a){while(--_0xb4e88a){_0x4ab87f['push'](_0x4ab87f['shift']());}};_0x32a357(++_0x359e45);}(_0x359e,0x19e));const _0x32a3=function(_0x4ab87f,_0x359e45){_0x4ab87f=_0x4ab87f-0x0;let _0x32a357=_0x359e[_0x4ab87f];return _0x32a357;};import{Plugin as _0x2b16f0}from'ckeditor5/src/core';import _0x38b2eb from'./table';import{LiveRange as _0x4e963c}from'ckeditor5/src/engine';import{getTranslation as _0x5c8dca}from'../utils/common-translations';export default class pt extends _0x2b16f0{static get[_0x32a3('0x3e')](){return[_0x38b2eb];}['afterInit'](){const _0x63d9c9=this[_0x32a3('0x14')],_0xe1c5e0=_0x63d9c9[_0x32a3('0xe')]['document'][_0x32a3('0x16')],_0x2b7897=_0x63d9c9[_0x32a3('0x7')];if(!_0x63d9c9[_0x32a3('0x15')][_0x32a3('0x30')](_0x32a3('0x49')))return;const _0x5602e6=_0x63d9c9[_0x32a3('0x15')]['get'](_0x32a3('0x43')),_0x4c24a8=_0x63d9c9[_0x32a3('0x15')]['get']('TableUtils'),_0x1cc245=_0x63d9c9['plugins'][_0x32a3('0x3a')](_0x38b2eb);_0x1cc245[_0x32a3('0x29')][_0x32a3('0x26')](_0x32a3('0xb')),_0x5602e6[_0x32a3('0x37')](_0x32a3('0xb'),()=>{const _0x1e7dc7=_0x4c24a8[_0x32a3('0x2a')](_0x63d9c9[_0x32a3('0xe')][_0x32a3('0x23')][_0x32a3('0x16')]);_0x63d9c9[_0x32a3('0xe')][_0x32a3('0xc')](()=>{_0x5602e6[_0x32a3('0x2d')](_0x1e7dc7,{'commandName':'mergeTableCells','commandParams':[]},[],_0x32a3('0xb'));});}),_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb'))['on'](_0x32a3('0x2b'),(_0x5c6f5f,_0x2b0f03)=>{_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0x21'))[_0x32a3('0x1c')]&&(_0x2b0f03[_0x32a3('0x2')]>0x0&&_0x2b0f03[_0x2b0f03['length']-0x1]&&_0x2b0f03[_0x2b0f03[_0x32a3('0x2')]-0x1][_0x32a3('0x22')]||_0x5602e6[_0x32a3('0x12')]||this[_0x32a3('0x35')]()||_0x5c6f5f[_0x32a3('0x17')]());},{'priority':_0x32a3('0x20')});for(const _0x12c3a3 of[_0x32a3('0x2f'),_0x32a3('0x46'),_0x32a3('0x19'),_0x32a3('0x24')]){const _0x2ae587=_0x63d9c9['commands']['get'](_0x12c3a3);_0x5602e6[_0x32a3('0x37')](_0x12c3a3,()=>{const _0x3347b9=_0x63d9c9[_0x32a3('0xe')][_0x32a3('0x23')][_0x32a3('0x16')][_0x32a3('0x2e')]()[_0x32a3('0x1a')]()[_0x32a3('0x1')](_0x5ac1d0=>_0x5ac1d0['is'](_0x32a3('0x8'),_0x32a3('0x13'))),_0x23c064=_0x2ae587[_0x32a3('0x1c')];_0x63d9c9[_0x32a3('0xe')][_0x32a3('0xc')](()=>{_0x5602e6[_0x32a3('0x2d')]([_0x3347b9,_0x23c064],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x27c57b of[_0x32a3('0x28'),'splitTableCellHorizontally']){const _0x415e5e=_0x63d9c9['commands'][_0x32a3('0x3a')](_0x27c57b);_0x5602e6['enableCommand'](_0x27c57b,()=>{const _0x225a03=_0x4c24a8[_0x32a3('0x2a')](_0x63d9c9['model'][_0x32a3('0x23')][_0x32a3('0x16')])[0x0],_0x1a43d7=_0x225a03[_0x32a3('0x36')]('table'),{column:_0x1f5bf6,row:_0x260907}=_0x4c24a8[_0x32a3('0x47')](_0x225a03);let _0x2f5e95=[];if(_0x32a3('0x34')==_0x415e5e['direction']){const _0x4f81a0=_0x4c24a8[_0x32a3('0xf')](_0x1a43d7,{'startRow':_0x260907,'endRow':_0x260907,'includeAllSlots':!0x0});_0x2f5e95=Array[_0x32a3('0x44')](_0x4f81a0)[_0x32a3('0x1b')](_0x22c3fc=>_0x22c3fc[_0x32a3('0x5')]);}else{const _0xd2f3f=_0x4c24a8[_0x32a3('0xf')](_0x1a43d7,{'column':_0x1f5bf6,'includeAllSlots':!0x0});_0x2f5e95=Array[_0x32a3('0x44')](_0xd2f3f)[_0x32a3('0x1b')](_0x1d2421=>_0x1d2421[_0x32a3('0x5')]);}_0x63d9c9[_0x32a3('0xe')]['change'](_0x596a3e=>{_0x5602e6[_0x32a3('0x3c')](_0x596a3e[_0x32a3('0x2c')](_0x225a03),{'commandName':_0x27c57b,'commandParams':[]},_0x2f5e95,_0x27c57b);});});}_0x5602e6[_0x32a3('0x3')][_0x32a3('0x9')](_0x54a716=>{const {data:_0x2ef83a}=_0x54a716;if(_0x2ef83a)return _0x32a3('0xb')==_0x2ef83a[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,_0x32a3('0x18'))}:void 0x0;}),_0x5602e6[_0x32a3('0x3')][_0x32a3('0x9')](_0x40afb1=>{const {data:_0x53101b}=_0x40afb1;if(_0x53101b)return'splitTableCellVertically'==_0x53101b[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,'*Split\x20cell:*\x20vertically')}:_0x32a3('0x4c')==_0x53101b[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,_0x32a3('0x4'))}:void 0x0;});const _0x4552b7=_0x1cc245['_acceptFormatSuggestionCallbackFactory']();for(const _0x30eef4 of[_0x32a3('0x2f'),_0x32a3('0x46'),_0x32a3('0x19'),_0x32a3('0x24')])_0x5602e6['_suggestionFactory'][_0x32a3('0x3b')](_0x32a3('0x42'),_0x30eef4,_0x32a3('0x6'),_0x4552b7);for(const _0x421138 of[_0x32a3('0x28'),_0x32a3('0x4c')])_0x5602e6[_0x32a3('0x32')][_0x32a3('0x3b')](_0x32a3('0x42'),_0x421138,_0x32a3('0x6'),_0x4552b7);_0x5602e6[_0x32a3('0x32')]['registerCustomCallback'](_0x32a3('0x42'),_0x32a3('0xb'),_0x32a3('0x6'),_0x5329f2=>{_0x63d9c9['model'][_0x32a3('0xc')](_0x34f5b3=>{const _0x42fc84=Array['from'](_0xe1c5e0['getRanges']())[_0x32a3('0x1b')](_0x36ab15=>_0x4e963c[_0x32a3('0x48')](_0x36ab15));_0x34f5b3[_0x32a3('0x27')](_0x5329f2),_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb'))[_0x32a3('0x3d')](),_0x63d9c9['execute'](_0x32a3('0xb'),{'forceDefaultExecution':!0x0});const _0xe05754=_0x42fc84[_0x32a3('0x33')](_0x13080f=>_0x32a3('0x39')!=_0x13080f[_0x32a3('0x1d')][_0x32a3('0x1e')]);_0xe05754[_0x32a3('0x2')]>0x0&&_0x34f5b3[_0x32a3('0x27')](_0xe05754);for(const _0x59877f of _0x42fc84)_0x59877f[_0x32a3('0x4b')]();});});for(const _0x3e3b8b of[_0x32a3('0x2f'),_0x32a3('0x19'),_0x32a3('0x24'),_0x32a3('0x46')]){const _0x2fbb46=_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x3e3b8b);_0x2fbb46['on'](_0x32a3('0x31'),(_0x6679f1,_0xf118ab,_0x4a1510)=>{if(_0x4a1510){const _0x4d603d=_0x63d9c9[_0x32a3('0xe')]['document'][_0x32a3('0x16')]['getFirstPosition']()[_0x32a3('0x1a')]()[_0x32a3('0x1')](_0x4eebcb=>_0x4eebcb['is'](_0x32a3('0x8'),_0x32a3('0x13')));this[_0x32a3('0x25')](_0x2fbb46[_0x32a3('0x1c')],_0x4d603d)||(_0x6679f1['return']=!0x1,_0x6679f1[_0x32a3('0x17')]());}},{'priority':'low'});}}[_0x32a3('0x35')](){const _0x5f9f24=this[_0x32a3('0x14')][_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb')),_0x19f533=this[_0x32a3('0x14')][_0x32a3('0x15')][_0x32a3('0x3a')]('TableUtils');if(!_0x5f9f24[_0x32a3('0xa')])return!0x1;const _0x1a7e44=_0x19f533[_0x32a3('0x2a')](this['editor'][_0x32a3('0xe')]['document']['selection']);for(const _0x2df9e9 of _0x1a7e44)for(const _0x4706a3 of _0x1a7e44)if(_0x2df9e9!=_0x4706a3&&!this[_0x32a3('0x25')](_0x2df9e9,_0x4706a3))return!0x1;return!0x0;}[_0x32a3('0x25')](_0x99a2d4,_0x4dc7d4){const _0xabfc85=this[_0x32a3('0x14')][_0x32a3('0x15')][_0x32a3('0x3a')](_0x32a3('0x43')),_0x15008f=this[_0x32a3('0x14')][_0x32a3('0xe')][_0x32a3('0x2c')](_0x99a2d4),_0x42f3fc=this[_0x32a3('0x14')][_0x32a3('0xe')]['createRangeOn'](_0x4dc7d4),_0x3f8039=new Set(),_0x3df95a=new Set();for(const _0x5e2e28 of _0xabfc85['getSuggestions']())if((_0x32a3('0x0')==_0x5e2e28[_0x32a3('0x11')]||'deletion'==_0x5e2e28['type']||_0x32a3('0xb')==_0x5e2e28[_0x32a3('0x40')])&&_0x5e2e28['isInContent'])for(const _0x5ae1c0 of _0x5e2e28[_0x32a3('0x38')]())_0x5ae1c0[_0x32a3('0x1f')](_0x15008f,!0x0)&&_0x3f8039[_0x32a3('0x45')](_0x5e2e28['type']+':'+_0x5e2e28[_0x32a3('0xd')]['id']),_0x5ae1c0[_0x32a3('0x1f')](_0x42f3fc,!0x0)&&_0x3df95a[_0x32a3('0x45')](_0x5e2e28['type']+':'+_0x5e2e28['author']['id']);if(_0x3f8039[_0x32a3('0x41')]!=_0x3df95a['size'])return!0x1;for(const _0x4e7da2 of _0x3f8039)if(!_0x3df95a['has'](_0x4e7da2))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1779=['editor','insertTableOfContents','tableOfContents','registerElementLabel','_descriptionFactory','locale','afterInit','commands','TrackChangesEditing','get','plugins','enableCommand'];(function(_0x58422b,_0x177926){const _0x36eee8=function(_0x2b0a45){while(--_0x2b0a45){_0x58422b['push'](_0x58422b['shift']());}};_0x36eee8(++_0x177926);}(_0x1779,0x1d7));const _0x36ee=function(_0x58422b,_0x177926){_0x58422b=_0x58422b-0x0;let _0x36eee8=_0x1779[_0x58422b];return _0x36eee8;};import{Plugin as _0x435035}from'ckeditor5/src/core';import{getTranslation as _0x1dca84}from'../utils/common-translations';export default class St extends _0x435035{[_0x36ee('0x3')](){const _0x178496=this[_0x36ee('0x9')];if(!_0x178496[_0x36ee('0x4')][_0x36ee('0x6')]('insertTableOfContents'))return;_0x178496['plugins'][_0x36ee('0x6')](_0x36ee('0x5'))[_0x36ee('0x8')](_0x36ee('0xa'));const _0x1adcdb=_0x178496[_0x36ee('0x7')][_0x36ee('0x6')]('TrackChangesEditing'),_0x5be082=_0x178496[_0x36ee('0x2')];_0x1adcdb[_0x36ee('0x1')][_0x36ee('0x0')](_0x36ee('0xb'),_0x40671=>_0x1dca84(_0x5be082,'ELEMENT_TABLE_OF_CONTENTS',_0x40671));}}
23
+ const _0x1a79=['insertTableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','afterInit','TrackChangesEditing','enableCommand','_descriptionFactory','get','locale','commands','registerElementLabel'];(function(_0x3224e1,_0x1a792d){const _0x7c106a=function(_0x3cbb61){while(--_0x3cbb61){_0x3224e1['push'](_0x3224e1['shift']());}};_0x7c106a(++_0x1a792d);}(_0x1a79,0x136));const _0x7c10=function(_0x3224e1,_0x1a792d){_0x3224e1=_0x3224e1-0x0;let _0x7c106a=_0x1a79[_0x3224e1];return _0x7c106a;};import{Plugin as _0x1c15f4}from'ckeditor5/src/core';import{getTranslation as _0x31b81f}from'../utils/common-translations';export default class St extends _0x1c15f4{[_0x7c10('0x1')](){const _0xfc4441=this['editor'];if(!_0xfc4441[_0x7c10('0x7')][_0x7c10('0x5')]('insertTableOfContents'))return;_0xfc4441['plugins'][_0x7c10('0x5')](_0x7c10('0x2'))[_0x7c10('0x3')](_0x7c10('0x9'));const _0x4ddb08=_0xfc4441[_0x7c10('0xa')][_0x7c10('0x5')](_0x7c10('0x2')),_0x8418e1=_0xfc4441[_0x7c10('0x6')];_0x4ddb08[_0x7c10('0x4')][_0x7c10('0x8')]('tableOfContents',_0x4acef5=>_0x31b81f(_0x8418e1,_0x7c10('0x0'),_0x4acef5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3398=['nodeAfter','findAncestor','editor','TableCellPropertiesEditing','tableCellBorderColor','tableCellHorizontalAlignment','*Format:*\x20change\x20table\x20properties','_handlePropertyChange','model','handleSuggestionDescription','TableUtils','document','tableProperties','registerCustomCallback','getSuggestions','tableAlignment','TablePropertiesEditing','tableBorderWidth','tableBackgroundColor','has','plugins','pluginName','tableCellBorderWidth','TrackChangesTableProperties','tableCellBackgroundColor','tableCellBorderStyle','getContainedElement','afterInit','getSuggestionCallback','TrackChangesEditing','table','removeAttribute','tableWidth','registerDescriptionCallback','discard','tableHeight','handleDiscardAction','selection','subType','tableCellProperties','locale','getAttribute','get','tableBorderColor','tableCellWidth','getSelectionAffectedTableCells','batch','tableCellVerticalAlignment','formatBlock','commandParams','start','data','_suggestionFactory','markBlockFormat','tableBorderStyle','format','enableCommand','accept','getFirstPosition','*Format:*\x20change\x20table\x20cell\x20properties','_getSuggestion'];(function(_0x52335b,_0x3398cc){const _0x5637c3=function(_0x221045){while(--_0x221045){_0x52335b['push'](_0x52335b['shift']());}};_0x5637c3(++_0x3398cc);}(_0x3398,0x1bd));const _0x5637=function(_0x52335b,_0x3398cc){_0x52335b=_0x52335b-0x0;let _0x5637c3=_0x3398[_0x52335b];return _0x5637c3;};import{Plugin as _0x46f0d7}from'ckeditor5/src/core';import{getTranslation as _0x4cb7e2}from'../utils/common-translations';export default class Dt extends _0x46f0d7{constructor(_0x59bfb){super(_0x59bfb),this[_0x5637('0x37')]=[_0x5637('0x19'),_0x5637('0x24'),_0x5637('0x3c'),_0x5637('0x3a'),_0x5637('0xe'),_0x5637('0x11'),_0x5637('0x0')],this['tableCellProperties']=[_0x5637('0x2f'),_0x5637('0x7'),_0x5637('0x4'),'tableCellPadding',_0x5637('0x1a'),'tableCellHeight',_0x5637('0x6'),_0x5637('0x30'),_0x5637('0x1d')];}static get[_0x5637('0x3')](){return _0x5637('0x5');}[_0x5637('0x9')](){const _0x5072f3=this[_0x5637('0x2d')][_0x5637('0x2')]['get']('TrackChangesEditing');if(this[_0x5637('0x2d')]['plugins'][_0x5637('0x1')](_0x5637('0x3b'))){for(const _0x3c28ae of this[_0x5637('0x37')])_0x5072f3[_0x5637('0x26')](_0x3c28ae,(_0x301af5,_0x4f0e26)=>{const _0x30e358=this[_0x5637('0x2d')][_0x5637('0x33')][_0x5637('0x36')][_0x5637('0x13')][_0x5637('0x28')]()[_0x5637('0x2c')](_0x5637('0xc'));this[_0x5637('0x32')](_0x3c28ae,[_0x30e358],this['tableProperties'],'tableProperties',_0x301af5,_0x4f0e26);});_0x5072f3[_0x5637('0x22')]['registerCustomCallback']('formatBlock',_0x5637('0x37'),_0x5637('0x27'),_0x5072f3['_suggestionFactory'][_0x5637('0xa')](_0x5637('0x1e'),null,'discard')),_0x5072f3[_0x5637('0x22')][_0x5637('0x38')](_0x5637('0x1e'),'tableProperties','discard',(_0x169593,_0x22e6af)=>this[_0x5637('0x12')](this['tableProperties'],_0x169593,_0x22e6af)),_0x5072f3[_0x5637('0x22')]['registerCustomCallback'](_0x5637('0x1e'),_0x5637('0x37'),'join',()=>!0x1);}if(this[_0x5637('0x2d')][_0x5637('0x2')][_0x5637('0x1')](_0x5637('0x2e'))){for(const _0x5c0c9a of this[_0x5637('0x15')])_0x5072f3[_0x5637('0x26')](_0x5c0c9a,(_0x13d71b,_0x37a999)=>{const _0x59be5d=this[_0x5637('0x2d')][_0x5637('0x2')][_0x5637('0x18')](_0x5637('0x35'))[_0x5637('0x1b')](this['editor'][_0x5637('0x33')]['document'][_0x5637('0x13')]);this[_0x5637('0x32')](_0x5c0c9a,_0x59be5d,this[_0x5637('0x15')],_0x5637('0x15'),_0x13d71b,_0x37a999);});_0x5072f3[_0x5637('0x22')][_0x5637('0x38')](_0x5637('0x1e'),_0x5637('0x15'),_0x5637('0x27'),_0x5072f3['_suggestionFactory']['getSuggestionCallback'](_0x5637('0x1e'),null,_0x5637('0x10'))),_0x5072f3[_0x5637('0x22')][_0x5637('0x38')](_0x5637('0x1e'),_0x5637('0x15'),'discard',(_0x3841ca,_0x3944fa)=>this[_0x5637('0x12')](this['tableCellProperties'],_0x3841ca,_0x3944fa)),_0x5072f3['_suggestionFactory'][_0x5637('0x38')](_0x5637('0x1e'),_0x5637('0x15'),'join',()=>!0x1);}_0x5072f3['_descriptionFactory'][_0x5637('0xf')](_0x20c6d6=>this[_0x5637('0x34')](_0x20c6d6));}['_handlePropertyChange'](_0x52d07f,_0x1b9029,_0x346371,_0x5c0768,_0x34b998,_0x33e1f4){const _0x2ae60e=this[_0x5637('0x2d')][_0x5637('0x2')]['get'](_0x5637('0xb'));this['editor'][_0x5637('0x33')]['enqueueChange'](_0x33e1f4[_0x5637('0x1c')],()=>{for(const _0x2a768a of _0x1b9029){if(this[_0x5637('0x2a')](_0x2a768a,_0x5c0768))_0x34b998(_0x33e1f4);else{const _0x3e6bdd={};for(const _0x5ce2f0 of _0x346371){const _0x4bd470=_0x2a768a[_0x5637('0x17')](_0x5ce2f0);void 0x0!==_0x4bd470&&(_0x3e6bdd[_0x5ce2f0]=_0x4bd470);}_0x34b998(_0x33e1f4),_0x2ae60e[_0x5637('0x23')](_0x2a768a,{'commandParams':[_0x3e6bdd]},[],_0x5c0768);}}});}[_0x5637('0x12')](_0x2c4d93,_0x25e255,_0x2cf579){const _0x234003=_0x25e255[0x0][_0x5637('0x20')][_0x5637('0x2b')],_0x1920b7=_0x2cf579[_0x5637('0x1f')][0x0];this[_0x5637('0x2d')][_0x5637('0x33')]['change'](_0x58fc56=>{for(const _0x318632 of _0x2c4d93)void 0x0!==_0x1920b7[_0x318632]?_0x58fc56['setAttribute'](_0x318632,_0x1920b7[_0x318632],_0x234003):_0x58fc56[_0x5637('0xd')](_0x318632,_0x234003);});}[_0x5637('0x34')](_0x35c1af){if(_0x35c1af[_0x5637('0x21')])switch(_0x35c1af[_0x5637('0x14')]){case _0x5637('0x37'):return{'type':_0x5637('0x25'),'content':_0x4cb7e2(this[_0x5637('0x2d')][_0x5637('0x16')],_0x5637('0x31'))};case _0x5637('0x15'):return{'type':_0x5637('0x25'),'content':_0x4cb7e2(this[_0x5637('0x2d')][_0x5637('0x16')],_0x5637('0x29'))};}}[_0x5637('0x2a')](_0xe43d5,_0x55bdbf){const _0x318b04=this[_0x5637('0x2d')]['plugins'][_0x5637('0x18')](_0x5637('0xb'));for(const _0x364390 of _0x318b04[_0x5637('0x39')]({'skipNotAttached':!0x0})){const _0x33784b=_0x364390[_0x5637('0x8')]();if(_0x364390[_0x5637('0x14')]===_0x55bdbf&&_0x33784b===_0xe43d5)return _0x364390;}return null;}}
23
+ const _0x108f=['tableBorderWidth','getSuggestions','afterInit','enqueueChange','get','TableUtils','tableCellPadding','has','tableBorderStyle','model','tableCellVerticalAlignment','tableCellBorderColor','TrackChangesTableProperties','tableCellHeight','tableProperties','tableCellProperties','registerCustomCallback','_handlePropertyChange','tableAlignment','getFirstPosition','registerDescriptionCallback','_suggestionFactory','TrackChangesEditing','handleSuggestionDescription','join','plugins','change','enableCommand','discard','tableCellBackgroundColor','document','TableCellPropertiesEditing','locale','getSuggestionCallback','batch','*Format:*\x20change\x20table\x20properties','handleDiscardAction','getAttribute','editor','tableCellHorizontalAlignment','nodeAfter','tableBackgroundColor','tableHeight','subType','formatBlock','commandParams','start','markBlockFormat','tableWidth','selection','format','*Format:*\x20change\x20table\x20cell\x20properties','pluginName','setAttribute','getContainedElement','_descriptionFactory','findAncestor'];(function(_0xc82229,_0x108f18){const _0x574a81=function(_0x99f6ee){while(--_0x99f6ee){_0xc82229['push'](_0xc82229['shift']());}};_0x574a81(++_0x108f18);}(_0x108f,0x98));const _0x574a=function(_0xc82229,_0x108f18){_0xc82229=_0xc82229-0x0;let _0x574a81=_0x108f[_0xc82229];return _0x574a81;};import{Plugin as _0x36b6df}from'ckeditor5/src/core';import{getTranslation as _0x4dd0c8}from'../utils/common-translations';export default class Dt extends _0x36b6df{constructor(_0x9e33b7){super(_0x9e33b7),this[_0x574a('0x21')]=['tableBorderColor',_0x574a('0x1b'),_0x574a('0x13'),_0x574a('0x25'),_0x574a('0xa'),_0x574a('0x4'),_0x574a('0x3')],this[_0x574a('0x22')]=[_0x574a('0x1e'),'tableCellBorderStyle','tableCellBorderWidth',_0x574a('0x19'),'tableCellWidth',_0x574a('0x20'),_0x574a('0x30'),_0x574a('0x1'),_0x574a('0x1d')];}static get[_0x574a('0xe')](){return _0x574a('0x1f');}[_0x574a('0x15')](){const _0x72ba18=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')](_0x574a('0x29'));if(this[_0x574a('0x0')][_0x574a('0x2c')]['has']('TablePropertiesEditing')){for(const _0x19bf05 of this['tableProperties'])_0x72ba18[_0x574a('0x2e')](_0x19bf05,(_0x26822f,_0x46b04b)=>{const _0x4d5d7d=this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x31')][_0x574a('0xb')][_0x574a('0x26')]()[_0x574a('0x12')]('table');this[_0x574a('0x24')](_0x19bf05,[_0x4d5d7d],this[_0x574a('0x21')],_0x574a('0x21'),_0x26822f,_0x46b04b);});_0x72ba18['_suggestionFactory']['registerCustomCallback'](_0x574a('0x6'),_0x574a('0x21'),'accept',_0x72ba18[_0x574a('0x28')][_0x574a('0x34')]('formatBlock',null,_0x574a('0x2f'))),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x21'),_0x574a('0x2f'),(_0x3c7ed8,_0x152a95)=>this['handleDiscardAction'](this[_0x574a('0x21')],_0x3c7ed8,_0x152a95)),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x21'),'join',()=>!0x1);}if(this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x1a')](_0x574a('0x32'))){for(const _0x2e13db of this[_0x574a('0x22')])_0x72ba18[_0x574a('0x2e')](_0x2e13db,(_0x3a00b3,_0x38665e)=>{const _0x3eabce=this[_0x574a('0x0')]['plugins'][_0x574a('0x17')](_0x574a('0x18'))['getSelectionAffectedTableCells'](this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x31')][_0x574a('0xb')]);this[_0x574a('0x24')](_0x2e13db,_0x3eabce,this[_0x574a('0x22')],_0x574a('0x22'),_0x3a00b3,_0x38665e);});_0x72ba18[_0x574a('0x28')]['registerCustomCallback'](_0x574a('0x6'),'tableCellProperties','accept',_0x72ba18[_0x574a('0x28')][_0x574a('0x34')](_0x574a('0x6'),null,_0x574a('0x2f'))),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x22'),_0x574a('0x2f'),(_0x45978b,_0x1cdb60)=>this['handleDiscardAction'](this[_0x574a('0x22')],_0x45978b,_0x1cdb60)),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),'tableCellProperties',_0x574a('0x2b'),()=>!0x1);}_0x72ba18[_0x574a('0x11')][_0x574a('0x27')](_0x46f303=>this[_0x574a('0x2a')](_0x46f303));}[_0x574a('0x24')](_0x11d240,_0x533170,_0x2ab92f,_0x42f1c3,_0x4d45c1,_0x3e5444){const _0x2f4318=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')]('TrackChangesEditing');this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x16')](_0x3e5444[_0x574a('0x35')],()=>{for(const _0x1438e8 of _0x533170){if(this['_getSuggestion'](_0x1438e8,_0x42f1c3))_0x4d45c1(_0x3e5444);else{const _0x546c62={};for(const _0x5ca95c of _0x2ab92f){const _0x554c87=_0x1438e8[_0x574a('0x38')](_0x5ca95c);void 0x0!==_0x554c87&&(_0x546c62[_0x5ca95c]=_0x554c87);}_0x4d45c1(_0x3e5444),_0x2f4318[_0x574a('0x9')](_0x1438e8,{'commandParams':[_0x546c62]},[],_0x42f1c3);}}});}[_0x574a('0x37')](_0x4085f3,_0x15f56e,_0x4dabda){const _0x22223b=_0x15f56e[0x0][_0x574a('0x8')][_0x574a('0x2')],_0x347d17=_0x4dabda[_0x574a('0x7')][0x0];this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x2d')](_0x5c2afd=>{for(const _0x248b95 of _0x4085f3)void 0x0!==_0x347d17[_0x248b95]?_0x5c2afd[_0x574a('0xf')](_0x248b95,_0x347d17[_0x248b95],_0x22223b):_0x5c2afd['removeAttribute'](_0x248b95,_0x22223b);});}[_0x574a('0x2a')](_0x403be5){if(_0x403be5['data'])switch(_0x403be5[_0x574a('0x5')]){case _0x574a('0x21'):return{'type':_0x574a('0xc'),'content':_0x4dd0c8(this['editor'][_0x574a('0x33')],_0x574a('0x36'))};case _0x574a('0x22'):return{'type':'format','content':_0x4dd0c8(this[_0x574a('0x0')]['locale'],_0x574a('0xd'))};}}['_getSuggestion'](_0x180661,_0x5d1617){const _0x22762f=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')](_0x574a('0x29'));for(const _0x5d9a5d of _0x22762f[_0x574a('0x14')]({'skipNotAttached':!0x0})){const _0x47a444=_0x5d9a5d[_0x574a('0x10')]();if(_0x5d9a5d[_0x574a('0x5')]===_0x5d1617&&_0x47a444===_0x180661)return _0x5d9a5d;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x704c=['plugins','enableCommand','TrackChangesEditing','insertTemplate','has','editor'];(function(_0x42ddc4,_0x704c29){const _0x4a29a8=function(_0x1ce8bd){while(--_0x1ce8bd){_0x42ddc4['push'](_0x42ddc4['shift']());}};_0x4a29a8(++_0x704c29);}(_0x704c,0x17d));const _0x4a29=function(_0x42ddc4,_0x704c29){_0x42ddc4=_0x42ddc4-0x0;let _0x4a29a8=_0x704c[_0x42ddc4];return _0x4a29a8;};import{Plugin as _0x1e1648}from'ckeditor5/src/core';export default class bt extends _0x1e1648{['afterInit'](){const _0x308a6d=this[_0x4a29('0x2')];_0x308a6d['plugins'][_0x4a29('0x1')]('Template')&&_0x308a6d[_0x4a29('0x3')]['get'](_0x4a29('0x5'))[_0x4a29('0x4')](_0x4a29('0x0'));}}
23
+ const _0x4399=['get','TrackChangesEditing','Template','insertTemplate','editor','enableCommand','plugins'];(function(_0x2be1d1,_0x439985){const _0x2f5ca8=function(_0x32d8a2){while(--_0x32d8a2){_0x2be1d1['push'](_0x2be1d1['shift']());}};_0x2f5ca8(++_0x439985);}(_0x4399,0x11c));const _0x2f5c=function(_0x2be1d1,_0x439985){_0x2be1d1=_0x2be1d1-0x0;let _0x2f5ca8=_0x4399[_0x2be1d1];return _0x2f5ca8;};import{Plugin as _0x2e93ce}from'ckeditor5/src/core';export default class bt extends _0x2e93ce{['afterInit'](){const _0x40b8c7=this[_0x2f5c('0x0')];_0x40b8c7[_0x2f5c('0x2')]['has'](_0x2f5c('0x5'))&&_0x40b8c7['plugins'][_0x2f5c('0x3')](_0x2f5c('0x4'))[_0x2f5c('0x1')](_0x2f5c('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4572=['end','document','nodeBefore','isTouching','ELEMENT_TITLE','model','getChangedMarkers','locale','_descriptionFactory','get','start','afterInit','forward','title-content','newRange','createRange','removeMarker','suggestion','editor','getNearestSelectionRange','TrackChangesEditing','registerElementLabel','Title','isEqual','differ','from'];(function(_0xb88797,_0x4572cd){const _0x17440b=function(_0x502f5c){while(--_0x502f5c){_0xb88797['push'](_0xb88797['shift']());}};_0x17440b(++_0x4572cd);}(_0x4572,0x94));const _0x1744=function(_0xb88797,_0x4572cd){_0xb88797=_0xb88797-0x0;let _0x17440b=_0x4572[_0xb88797];return _0x17440b;};import{Plugin as _0x438acf}from'ckeditor5/src/core';import{getTranslation as _0x2e2481}from'../utils/common-translations';export default class It extends _0x438acf{[_0x1744('0x13')](){const _0x4899b5=this[_0x1744('0x0')];if(!_0x4899b5['plugins']['has'](_0x1744('0x4')))return;const _0xadbb63=_0x4899b5['plugins'][_0x1744('0x11')](_0x1744('0x2'));_0xadbb63[_0x1744('0x10')][_0x1744('0x3')]('title-content',()=>_0x2e2481(_0x4899b5[_0x1744('0xf')],_0x1744('0xc'))),_0x4899b5[_0x1744('0xd')]['document']['registerPostFixer'](_0x51bcf5=>{let _0x3194a3=!0x1;const _0x111b37=Array[_0x1744('0x7')](_0x4899b5[_0x1744('0xd')][_0x1744('0x9')][_0x1744('0x6')][_0x1744('0xe')]());for(const {name:_0x586ff6,data:_0x2e298a}of _0x111b37){const {group:_0x357221}=_0xadbb63['_splitMarkerName'](_0x586ff6);if(_0x1744('0x19')!==_0x357221||!_0x2e298a[_0x1744('0x16')])continue;const _0x243e87=_0x2e298a[_0x1744('0x16')],_0x4a2ce4=_0x243e87[_0x1744('0x8')][_0x1744('0xa')];if(!_0x4a2ce4||!_0x4a2ce4['is']('element',_0x1744('0x15')))continue;if(!_0x243e87[_0x1744('0x12')][_0x1744('0xb')](_0x243e87[_0x1744('0x8')]))continue;const _0x2d3eb2=_0x4899b5[_0x1744('0xd')]['schema'][_0x1744('0x1')](_0x243e87['end'],_0x1744('0x14'));if(_0x2d3eb2&&_0x2d3eb2['isCollapsed']){const _0x11a27c=_0x51bcf5[_0x1744('0x17')](_0x243e87[_0x1744('0x12')],_0x2d3eb2[_0x1744('0x12')]);_0x11a27c[_0x1744('0x5')](_0x243e87)||(_0x51bcf5['updateMarker'](_0x586ff6,{'range':_0x11a27c}),_0x3194a3=!0x0);}_0x3194a3||(_0x51bcf5[_0x1744('0x18')](_0x586ff6),_0x3194a3=!0x0);}return _0x3194a3;});}}
23
+ const _0x5432=['ELEMENT_TITLE','forward','plugins','differ','locale','_splitMarkerName','registerPostFixer','end','nodeBefore','isTouching','_descriptionFactory','schema','editor','start','isEqual','document','model','getChangedMarkers','TrackChangesEditing','get','suggestion','title-content','has','isCollapsed','afterInit','removeMarker','newRange','createRange'];(function(_0x430f13,_0x543268){const _0x5abbc8=function(_0x5b1fbe){while(--_0x5b1fbe){_0x430f13['push'](_0x430f13['shift']());}};_0x5abbc8(++_0x543268);}(_0x5432,0x17d));const _0x5abb=function(_0x430f13,_0x543268){_0x430f13=_0x430f13-0x0;let _0x5abbc8=_0x5432[_0x430f13];return _0x5abbc8;};import{Plugin as _0x3838ab}from'ckeditor5/src/core';import{getTranslation as _0x4fe038}from'../utils/common-translations';export default class It extends _0x3838ab{[_0x5abb('0x7')](){const _0x117116=this[_0x5abb('0x17')];if(!_0x117116[_0x5abb('0xd')][_0x5abb('0x5')]('Title'))return;const _0x43a561=_0x117116[_0x5abb('0xd')][_0x5abb('0x2')](_0x5abb('0x1'));_0x43a561[_0x5abb('0x15')]['registerElementLabel'](_0x5abb('0x4'),()=>_0x4fe038(_0x117116[_0x5abb('0xf')],_0x5abb('0xb'))),_0x117116[_0x5abb('0x1b')][_0x5abb('0x1a')][_0x5abb('0x11')](_0x1425cf=>{let _0xe7d196=!0x1;const _0x495451=Array['from'](_0x117116[_0x5abb('0x1b')][_0x5abb('0x1a')][_0x5abb('0xe')][_0x5abb('0x0')]());for(const {name:_0x4b3743,data:_0x119a5a}of _0x495451){const {group:_0x2e55c0}=_0x43a561[_0x5abb('0x10')](_0x4b3743);if(_0x5abb('0x3')!==_0x2e55c0||!_0x119a5a[_0x5abb('0x9')])continue;const _0x11ea09=_0x119a5a['newRange'],_0x32a0c7=_0x11ea09[_0x5abb('0x12')][_0x5abb('0x13')];if(!_0x32a0c7||!_0x32a0c7['is']('element',_0x5abb('0x4')))continue;if(!_0x11ea09[_0x5abb('0x18')][_0x5abb('0x14')](_0x11ea09[_0x5abb('0x12')]))continue;const _0x31e907=_0x117116[_0x5abb('0x1b')][_0x5abb('0x16')]['getNearestSelectionRange'](_0x11ea09['end'],_0x5abb('0xc'));if(_0x31e907&&_0x31e907[_0x5abb('0x6')]){const _0x18b828=_0x1425cf[_0x5abb('0xa')](_0x11ea09[_0x5abb('0x18')],_0x31e907[_0x5abb('0x18')]);_0x18b828[_0x5abb('0x19')](_0x11ea09)||(_0x1425cf['updateMarker'](_0x4b3743,{'range':_0x18b828}),_0xe7d196=!0x0);}_0xe7d196||(_0x1425cf[_0x5abb('0x8')](_0x4b3743),_0xe7d196=!0x0);}return _0xe7d196;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4192=['afterInit','get','has','TrackChangesEditing','enableCommand'];(function(_0x3501bd,_0x41924b){const _0x2e084c=function(_0x1a44f4){while(--_0x1a44f4){_0x3501bd['push'](_0x3501bd['shift']());}};_0x2e084c(++_0x41924b);}(_0x4192,0x142));const _0x2e08=function(_0x3501bd,_0x41924b){_0x3501bd=_0x3501bd-0x0;let _0x2e084c=_0x4192[_0x3501bd];return _0x2e084c;};import{Plugin as _0x57d043}from'ckeditor5/src/core';export default class vt extends _0x57d043{[_0x2e08('0x3')](){const _0x515f71=this['editor'],_0x462730=_0x515f71['plugins'][_0x2e08('0x4')](_0x2e08('0x1'));_0x515f71['plugins'][_0x2e08('0x0')]('UndoEditing')&&(_0x462730[_0x2e08('0x2')]('undo'),_0x462730[_0x2e08('0x2')]('redo'));}}
23
+ const _0x595c=['has','get','redo','editor','undo','UndoEditing','plugins','enableCommand'];(function(_0x2b3f31,_0x595c14){const _0x20c9b2=function(_0x2605dc){while(--_0x2605dc){_0x2b3f31['push'](_0x2b3f31['shift']());}};_0x20c9b2(++_0x595c14);}(_0x595c,0x119));const _0x20c9=function(_0x2b3f31,_0x595c14){_0x2b3f31=_0x2b3f31-0x0;let _0x20c9b2=_0x595c[_0x2b3f31];return _0x20c9b2;};import{Plugin as _0x55ead3}from'ckeditor5/src/core';export default class vt extends _0x55ead3{['afterInit'](){const _0x5d67d6=this[_0x20c9('0x2')],_0xc04440=_0x5d67d6[_0x20c9('0x5')][_0x20c9('0x0')]('TrackChangesEditing');_0x5d67d6[_0x20c9('0x5')][_0x20c9('0x7')](_0x20c9('0x4'))&&(_0xc04440[_0x20c9('0x6')](_0x20c9('0x3')),_0xc04440[_0x20c9('0x6')](_0x20c9('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f87=['isLimit','element','insert','consumable','activeMarkers','writer','previousPosition','push','includes','span','getWalker','ck-suggestion-marker--active','name','start','isAtEnd','mapper','toViewElement','listIndent','listItem','nextSibling','addClass','TrackChangesEditing','markerName','toViewPosition','hasAttribute','ck-suggestion-marker-','elementEnd','markerRange','getAttribute','schema','getItems','createRangeOn','isContent','model','createUIElement','plugins','get','item','type'];(function(_0xc344f6,_0x1f87fc){const _0x1fd5c7=function(_0xd3d162){while(--_0xd3d162){_0xc344f6['push'](_0xc344f6['shift']());}};_0x1fd5c7(++_0x1f87fc);}(_0x1f87,0x97));const _0x1fd5=function(_0xc344f6,_0x1f87fc){_0xc344f6=_0xc344f6-0x0;let _0x1fd5c7=_0x1f87[_0xc344f6];return _0x1fd5c7;};export function getRangesWithAttribute(_0x363ed3,_0x2b020b,_0x562092){const _0x145b2c=[];for(const _0x2618de of _0x2b020b[_0x1fd5('0x23')]())_0x2618de[_0x1fd5('0x1d')](_0x363ed3)&&_0x145b2c[_0x1fd5('0xc')](_0x562092[_0x1fd5('0x24')](_0x2618de));return _0x145b2c;}export function getElementsAffectedByListItemRename(_0x2d5324){const _0x511dcc=[];if(_0x2d5324['is']('element','listItem')){let _0x165e69=_0x2d5324['nextSibling'];for(;_0x165e69&&_0x165e69['is'](_0x1fd5('0x6'),_0x1fd5('0x17'))&&_0x165e69[_0x1fd5('0x21')](_0x1fd5('0x16'))>0x0;)_0x511dcc['push'](_0x165e69),_0x165e69=_0x165e69[_0x1fd5('0x18')];}return _0x511dcc;}export function downcastSplitMergeMarker(_0x3b1bfe,_0x28362b,{showActiveMarker:_0x3d3f4b=!0x0}={}){const _0xea9eaf=_0x3b1bfe[_0x1fd5('0x1')][_0x1fd5('0x2')](_0x1fd5('0x1a'));return(_0x56bcb6,_0x4296ee,_0x17f7f1)=>{if(!_0x17f7f1[_0x1fd5('0x8')]['test'](_0x4296ee['markerRange'],_0x56bcb6[_0x1fd5('0x11')]))return;const _0x966572=_0x4296ee['markerRange'][_0x1fd5('0xf')](),_0x24a5e1=_0x4296ee[_0x1fd5('0x20')][_0x1fd5('0x12')],_0x579957=_0x3b1bfe[_0x1fd5('0x26')][_0x1fd5('0x22')];let _0x448b7a=null,_0x2433c4=null,_0x5e4460=!0x1,_0x28e719=!0x1;for(const _0x248fbd of _0x966572){const _0x2ebeb6=_0x248fbd[_0x1fd5('0x3')];_0x5e4460=_0x5e4460||_0x579957[_0x1fd5('0x25')](_0x2ebeb6);const _0x2bcd1f=_0x17f7f1[_0x1fd5('0x14')][_0x1fd5('0x15')](_0x2ebeb6);if(_0x2bcd1f&&_0x2bcd1f['getCustomProperty']('addHighlight'))return;_0x1fd5('0x1f')==_0x248fbd[_0x1fd5('0x4')]&&(_0x579957['isBlock'](_0x2ebeb6)&&!_0x579957[_0x1fd5('0x5')](_0x2ebeb6)&&(_0x2ebeb6['nextSibling']||_0x24a5e1[_0x1fd5('0x13')]?_0x448b7a&&_0x448b7a['parent']==_0x2ebeb6||(_0x448b7a=_0x2ebeb6,_0x4ded04(_0x248fbd[_0x1fd5('0xb')]),_0x28e719=!0x0):_0x2433c4=_0x2433c4||_0x248fbd[_0x1fd5('0xb')]));}function _0x4ded04(_0x534644){const _0x57b785=_0x17f7f1[_0x1fd5('0xa')][_0x1fd5('0x0')](_0x1fd5('0xe'),{'class':_0x1fd5('0x1e')+_0x28362b}),_0xe61473=_0x17f7f1[_0x1fd5('0x14')][_0x1fd5('0x1c')](_0x534644);_0x3d3f4b&&_0xea9eaf[_0x1fd5('0x9')][_0x1fd5('0xd')](_0x4296ee[_0x1fd5('0x1b')])&&_0x17f7f1['writer'][_0x1fd5('0x19')](_0x1fd5('0x10'),_0x57b785),_0x17f7f1[_0x1fd5('0xa')][_0x1fd5('0x7')](_0xe61473,_0x57b785),_0x17f7f1[_0x1fd5('0x14')]['bindElementToMarker'](_0x57b785,_0x4296ee[_0x1fd5('0x1b')]);}_0x5e4460||_0x28e719||!_0x2433c4||_0x4ded04(_0x2433c4);};}
23
+ const _0x218b=['elementEnd','name','activeMarkers','TrackChangesEditing','listIndent','ck-suggestion-marker-','isBlock','span','addClass','parent','plugins','previousPosition','includes','nextSibling','element','writer','item','schema','get','hasAttribute','markerName','markerRange','start','model','isAtEnd','getItems','consumable','toViewPosition','test','listItem'];(function(_0x1fce4a,_0x218b4a){const _0x22c487=function(_0x25d03f){while(--_0x25d03f){_0x1fce4a['push'](_0x1fce4a['shift']());}};_0x22c487(++_0x218b4a);}(_0x218b,0xe9));const _0x22c4=function(_0x1fce4a,_0x218b4a){_0x1fce4a=_0x1fce4a-0x0;let _0x22c487=_0x218b[_0x1fce4a];return _0x22c487;};export function getRangesWithAttribute(_0x56788d,_0x3eebca,_0x302f9b){const _0x42abfa=[];for(const _0x30a4d5 of _0x3eebca[_0x22c4('0x2')]())_0x30a4d5[_0x22c4('0x1a')](_0x56788d)&&_0x42abfa['push'](_0x302f9b['createRangeOn'](_0x30a4d5));return _0x42abfa;}export function getElementsAffectedByListItemRename(_0x1110b9){const _0x436522=[];if(_0x1110b9['is']('element','listItem')){let _0x1f3c68=_0x1110b9[_0x22c4('0x14')];for(;_0x1f3c68&&_0x1f3c68['is'](_0x22c4('0x15'),_0x22c4('0x6'))&&_0x1f3c68['getAttribute'](_0x22c4('0xb'))>0x0;)_0x436522['push'](_0x1f3c68),_0x1f3c68=_0x1f3c68[_0x22c4('0x14')];}return _0x436522;}export function downcastSplitMergeMarker(_0x55c13e,_0x38020b,{showActiveMarker:_0x79e002=!0x0}={}){const _0x399db4=_0x55c13e[_0x22c4('0x11')][_0x22c4('0x19')](_0x22c4('0xa'));return(_0x472f63,_0x35ed66,_0x431495)=>{if(!_0x431495[_0x22c4('0x3')][_0x22c4('0x5')](_0x35ed66[_0x22c4('0x1c')],_0x472f63[_0x22c4('0x8')]))return;const _0x22d8eb=_0x35ed66[_0x22c4('0x1c')]['getWalker'](),_0x5f6834=_0x35ed66[_0x22c4('0x1c')][_0x22c4('0x1d')],_0x3dad24=_0x55c13e[_0x22c4('0x0')][_0x22c4('0x18')];let _0x1cf491=null,_0x5d905b=null,_0x1cfded=!0x1,_0x4aed25=!0x1;for(const _0x144089 of _0x22d8eb){const _0x1e2ba4=_0x144089[_0x22c4('0x17')];_0x1cfded=_0x1cfded||_0x3dad24['isContent'](_0x1e2ba4);const _0x398854=_0x431495['mapper']['toViewElement'](_0x1e2ba4);if(_0x398854&&_0x398854['getCustomProperty']('addHighlight'))return;_0x22c4('0x7')==_0x144089['type']&&(_0x3dad24[_0x22c4('0xd')](_0x1e2ba4)&&!_0x3dad24['isLimit'](_0x1e2ba4)&&(_0x1e2ba4[_0x22c4('0x14')]||_0x5f6834[_0x22c4('0x1')]?_0x1cf491&&_0x1cf491[_0x22c4('0x10')]==_0x1e2ba4||(_0x1cf491=_0x1e2ba4,_0x3ec5cf(_0x144089[_0x22c4('0x12')]),_0x4aed25=!0x0):_0x5d905b=_0x5d905b||_0x144089['previousPosition']));}function _0x3ec5cf(_0x4d1e6e){const _0x18fd21=_0x431495[_0x22c4('0x16')]['createUIElement'](_0x22c4('0xe'),{'class':_0x22c4('0xc')+_0x38020b}),_0x28f305=_0x431495['mapper'][_0x22c4('0x4')](_0x4d1e6e);_0x79e002&&_0x399db4[_0x22c4('0x9')][_0x22c4('0x13')](_0x35ed66[_0x22c4('0x1b')])&&_0x431495[_0x22c4('0x16')][_0x22c4('0xf')]('ck-suggestion-marker--active',_0x18fd21),_0x431495['writer']['insert'](_0x28f305,_0x18fd21),_0x431495['mapper']['bindElementToMarker'](_0x18fd21,_0x35ed66['markerName']);}_0x1cfded||_0x4aed25||!_0x5d905b||_0x3ec5cf(_0x5d905b);};}
@@ -262,12 +262,33 @@ export interface SuggestionOptions {
262
262
  onAttributesChange: Function;
263
263
  }
264
264
  export interface SuggestionJSON {
265
+ /**
266
+ * Suggestion ID.
267
+ */
265
268
  id: string;
269
+ /**
270
+ * Contains the information about the type and subtype of the suggestion.
271
+ */
266
272
  type: string;
273
+ /**
274
+ * The ID of the author.
275
+ */
267
276
  authorId: string;
277
+ /**
278
+ * Date when the suggestion was saved in the database.
279
+ */
268
280
  createdAt: Date | null;
281
+ /**
282
+ * Informs whether suggestion has at least one comment.
283
+ */
269
284
  hasComments?: boolean;
285
+ /**
286
+ * Additional suggestion data.
287
+ */
270
288
  data?: FormatData | null;
289
+ /**
290
+ * Custom suggestion attributes.
291
+ */
271
292
  attributes: {
272
293
  [k: string]: unknown;
273
294
  };