@ckeditor/ckeditor5-track-changes 41.0.0 → 41.1.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 (69) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/ro.js +1 -1
  3. package/lang/translations/ro.po +1 -1
  4. package/package.json +3 -3
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.js +1 -1
  7. package/src/commands/executeonallsuggestionscommand.js +1 -1
  8. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  9. package/src/commands/trackchangescommand.js +1 -1
  10. package/src/integrations/aiassistant.js +1 -1
  11. package/src/integrations/alignment.js +1 -1
  12. package/src/integrations/basicstyles.js +1 -1
  13. package/src/integrations/blockquote.js +1 -1
  14. package/src/integrations/casechange.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/legacylist.js +1 -1
  34. package/src/integrations/legacylistproperties.js +1 -1
  35. package/src/integrations/link.js +1 -1
  36. package/src/integrations/list.js +1 -1
  37. package/src/integrations/listproperties.js +1 -1
  38. package/src/integrations/mediaembed.js +1 -1
  39. package/src/integrations/mention.js +1 -1
  40. package/src/integrations/pagebreak.js +1 -1
  41. package/src/integrations/paragraph.js +1 -1
  42. package/src/integrations/removeformat.js +1 -1
  43. package/src/integrations/restrictededitingmode.js +1 -1
  44. package/src/integrations/shiftentercommand.js +1 -1
  45. package/src/integrations/standardeditingmode.js +1 -1
  46. package/src/integrations/style.js +1 -1
  47. package/src/integrations/table.js +1 -1
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.js +1 -1
  50. package/src/integrations/tablecolumnresize.js +1 -1
  51. package/src/integrations/tableheadings.js +1 -1
  52. package/src/integrations/tablemergesplit.js +1 -1
  53. package/src/integrations/tableofcontents.js +1 -1
  54. package/src/integrations/tableproperties.js +1 -1
  55. package/src/integrations/template.js +1 -1
  56. package/src/integrations/title.js +1 -1
  57. package/src/integrations/undo.js +1 -1
  58. package/src/integrations/utils.js +1 -1
  59. package/src/suggestion.js +1 -1
  60. package/src/suggestiondescriptionfactory.js +1 -1
  61. package/src/trackchanges.js +1 -1
  62. package/src/trackchangesdata.js +1 -1
  63. package/src/trackchangesediting.js +1 -1
  64. package/src/trackchangesui.js +1 -1
  65. package/src/ui/suggestioncontroller.js +1 -1
  66. package/src/ui/view/basesuggestionthreadview.js +1 -1
  67. package/src/ui/view/suggestionthreadview.js +1 -1
  68. package/src/utils/common-translations.js +1 -1
  69. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x543c=['enableCommand','afterInit','editor','requires','toggleTableCaption','TrackChangesEditing','has','get'];(function(_0x2cf28c,_0x543c4e){const _0x19a310=function(_0x2c001a){while(--_0x2c001a){_0x2cf28c['push'](_0x2cf28c['shift']());}};_0x19a310(++_0x543c4e);}(_0x543c,0x120));const _0x19a3=function(_0x2cf28c,_0x543c4e){_0x2cf28c=_0x2cf28c-0x0;let _0x19a310=_0x543c[_0x2cf28c];return _0x19a310;};import{Plugin as _0x128c6d}from'ckeditor5/src/core.js';import _0x48c0e6 from'./table.js';export default class Nt extends _0x128c6d{static get[_0x19a3('0x3')](){return[_0x48c0e6];}[_0x19a3('0x1')](){const _0x2c18d3=this[_0x19a3('0x2')];if(!_0x2c18d3['plugins'][_0x19a3('0x6')]('TableCaptionEditing'))return;_0x2c18d3['plugins'][_0x19a3('0x7')](_0x19a3('0x5'))[_0x19a3('0x0')](_0x19a3('0x4'));}}
23
+ const _0x1630=['plugins','afterInit','TableCaptionEditing','editor','has','enableCommand','TrackChangesEditing','get'];(function(_0x210afb,_0x1630ff){const _0x1eefd4=function(_0x3b7cf0){while(--_0x3b7cf0){_0x210afb['push'](_0x210afb['shift']());}};_0x1eefd4(++_0x1630ff);}(_0x1630,0xee));const _0x1eef=function(_0x210afb,_0x1630ff){_0x210afb=_0x210afb-0x0;let _0x1eefd4=_0x1630[_0x210afb];return _0x1eefd4;};import{Plugin as _0x45c2e0}from'ckeditor5/src/core.js';import _0x22e593 from'./table.js';export default class Nt extends _0x45c2e0{static get['requires'](){return[_0x22e593];}[_0x1eef('0x3')](){const _0x4d7c7c=this[_0x1eef('0x5')];if(!_0x4d7c7c[_0x1eef('0x2')][_0x1eef('0x6')](_0x1eef('0x4')))return;_0x4d7c7c['plugins'][_0x1eef('0x1')](_0x1eef('0x0'))[_0x1eef('0x7')]('toggleTableCaption');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e29=['previous','insertColumns','high','markerName','isEmpty','redo','end','locale','getSuggestionCallback','getChild','Users','getSuggestions','createRangeIn','_getCoordsForCells','createPositionBefore','document','removeMarkers','markerAttributes','plugins','markers','showSuggestionHighlights','getAttributes','low','getTableIfOnlyTableInContent','getAllAdjacentSuggestions','getSelectionAffectedTableCells','TableUtils','fromEntries','_suggestionFactory','createRange','markMultiRangeDeletion','registerCustomCallback','tableCellPadding','keys','requires','editingDowncast','tableCellSuggestion','add','markMultiRangeInsertion','getRows','remove','differ','conversion','createRangeOn','_tablePostFixingSubtypes','element','paragraph','getItems','updateMarker','tablePasteChainId','clipboardOutput','name','getChangedMarkers','removeRows','dataDowncast','rowInsertionRanges','for','reduce','columnInsertionRanges','getSuggestion','_splitMarkerName','rowInsertionIndexes','getColumnIndexes','getRange','model','insertContent','value','every','tableCellBorderWidth','cells','insertionRanges','deletionRanges','registerPostFixer','$graveyard','position','listenTo','insert','map','tableCellBorderStyle','tablePasteCell','some','previousSibling','removeColumns','join','suggestion:formatBlock:tablePasteCell','register','discard','_isForcedDefaultExecutionBlock','findAncestor','insertion','accept','createElement','getRanges','rootName','markerToHighlight','start','getChildren','elementToElement','root','content','getRowIndexes','attributes','unwrap','forceDefaultExecution','removeMarker','suggestion','editor','push','cell','getMarkers','commands','schema','nodeAfter','fill','subType','filter','containsRange','endColumn','tablePasteRow','*Replace\x20table\x20cells*','next','_replaceTableSlotCell','startsWith','stop','deletion','first','length','tableCellBackgroundColor','setAttribute','rows','selection','formatBlock','tablePasteColumn','hasSuggestion','tableCellVerticalAlignment','isInContent','afterInit','batch','author','tableCellBorderColor','set','columnInsertionIndexes','nextSibling','from','_descriptionFactory','get','tableCellHorizontalAlignment','newRange','column','TableClipboard','find','suggestionUnloaded','change','ck-suggestion-marker-insertion','oldRange','type','tablePaste','getContainedElement','row','suggestion-td','isEqual','includes','getChanges','tableCell','registerDescriptionCallback','ck-suggestion-marker','return','has','columns'];(function(_0x109fdf,_0x2e29ab){const _0x94f923=function(_0x3466e8){while(--_0x3466e8){_0x109fdf['push'](_0x109fdf['shift']());}};_0x94f923(++_0x2e29ab);}(_0x2e29,0xa9));const _0x94f9=function(_0x109fdf,_0x2e29ab){_0x109fdf=_0x109fdf-0x0;let _0x94f923=_0x2e29[_0x109fdf];return _0x94f923;};import{getTranslation as _0x58fe80}from'../utils/common-translations.js';import{Plugin as _0x3f0842}from'ckeditor5/src/core.js';import{uid as _0x542d63,priorities as _0x2fd574}from'ckeditor5/src/utils.js';import _0x58bc97 from'./table.js';const fe=[_0x94f9('0x44'),_0x94f9('0x8b'),_0x94f9('0x4e'),_0x94f9('0x92'),_0x94f9('0x86'),_0x94f9('0x7f'),_0x94f9('0x20')],be=Object[_0x94f9('0x1b')](fe['map'](_0x4029e6=>[_0x4029e6,null]));export default class At extends _0x3f0842{static get[_0x94f9('0x22')](){return[_0x58bc97];}[_0x94f9('0x88')](){const _0x3e29c9=this[_0x94f9('0x6a')];if(!_0x3e29c9[_0x94f9('0x12')]['has'](_0x94f9('0x95')))return;const _0x597cc4=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')]('TrackChangesEditing'),_0x2518e3=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x1a')),_0x3e96f2=_0x3e29c9[_0x94f9('0x12')]['get'](_0x58bc97),_0x31f428=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x95'));_0x3e96f2[_0x94f9('0x2c')]['push'](_0x94f9('0x76'),'tablePasteColumn'),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x6f')][_0x94f9('0x55')](_0x94f9('0x24'),{'allowIn':_0x94f9('0xa3'),'allowContentOf':_0x94f9('0xa3'),'isLimit':!0x0}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x61')]({'model':_0x94f9('0x24'),'view':_0x94f9('0x9f')});let _0xe79120=null;_0x3e29c9[_0x94f9('0x40')]['on'](_0x94f9('0x41'),(_0x14d34a,_0x94b69f)=>{const [_0xbc909b,_0x4cb539]=_0x94b69f,_0x2fbbcd=_0x94b69f[_0x94b69f[_0x94f9('0x7e')]-0x1];_0x2fbbcd&&_0x2fbbcd[_0x94f9('0x67')]||_0x597cc4[_0x94f9('0x57')]||this['editor'][_0x94f9('0x6e')]['get']('trackChanges')[_0x94f9('0x42')]&&function(_0x3431cb,_0x204478,_0x5dcd70,_0x394257,_0x278ed4){if(_0x204478&&!_0x204478['is']('documentSelection'))return!0x1;const _0x392d43=_0x278ed4[_0x94f9('0x17')](_0x3431cb,_0x5dcd70);if(!_0x392d43||!de(_0x392d43,void 0x0,_0x394257))return!0x1;const _0xe8185b=_0x394257[_0x94f9('0x19')](_0x5dcd70[_0x94f9('0xf')][_0x94f9('0x82')]);if(!_0xe8185b['length'])return!0x1;const _0x53c241=_0xe8185b[0x0]['findAncestor']('table'),_0x44c4a4=_0x394257[_0x94f9('0x64')](_0xe8185b),_0x1ad5e4=_0x394257[_0x94f9('0x3e')](_0xe8185b),_0x30fe73={'startRow':_0x44c4a4[_0x94f9('0x7d')],'endRow':_0x44c4a4['last'],'startColumn':_0x1ad5e4['first'],'endColumn':_0x1ad5e4['last']};return 0x1==_0xe8185b[_0x94f9('0x7e')]&&(_0x30fe73['endRow']+=_0x394257[_0x94f9('0x27')](_0x392d43)-0x1,_0x30fe73[_0x94f9('0x75')]+=_0x394257['getColumns'](_0x392d43)-0x1),de(_0x53c241,_0x30fe73,_0x394257);}(_0xbc909b,_0x4cb539,_0x3e29c9[_0x94f9('0x40')],_0x2518e3,_0x31f428)&&(_0x14d34a['stop'](),_0xe79120={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x98')](()=>{_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x41')](_0x94b69f[0x0],_0x94b69f[0x1],_0x94b69f[0x2],{'forceDefaultExecution':!0x0});const _0x122442=_0x542d63(),{rowInsertionRanges:_0x23d152,columnInsertionRanges:_0x3934bd,insertionRanges:_0x20f09f,deletionRanges:_0x350394,cells:_0x4c508f}=_0xe79120;_0x23d152[_0x94f9('0x7e')]&&_0x597cc4['markMultiRangeInsertion'](_0x23d152,_0x94f9('0x76'),{'tablePasteChainId':_0x122442}),_0x3934bd[_0x94f9('0x7e')]&&_0x597cc4[_0x94f9('0x26')](_0x3934bd,'tablePasteColumn',{'tablePasteChainId':_0x122442}),_0x20f09f[_0x94f9('0x7e')]&&_0x597cc4[_0x94f9('0x26')](_0x20f09f,_0x94f9('0x9c'),{'tablePasteChainId':_0x122442,'skipNestingCheck':!0x0}),_0x350394['length']&&_0x597cc4[_0x94f9('0x1e')](_0x350394,'tablePaste',{'tablePasteChainId':_0x122442,'skipNestingCheck':!0x0});const _0x4bb549=_0x597cc4['markMultiRangeBlockFormat'](_0x4c508f[_0x94f9('0x4d')](({element:_0x49976d})=>_0x49976d),{'formatGroupId':_0x542d63()},[],'tablePasteCell',{'tablePasteChainId':_0x122442});if(_0x4bb549){const _0x2d8585=_0x4bb549[_0x94f9('0x6d')](),_0x41470a=[];for(const {element:_0x5cedb0,attributes:_0x193a15}of _0x4c508f){if(!_0x193a15)continue;const _0x216e37=_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x2b')](_0x5cedb0),_0x53ee57=_0x2d8585[_0x94f9('0x96')](_0x4d3916=>_0x4d3916[_0x94f9('0x3f')]()[_0x94f9('0xa0')](_0x216e37));_0x53ee57&&_0x41470a[_0x94f9('0x6b')]([_0x53ee57[_0x94f9('0x33')],_0x193a15]);}_0x41470a[_0x94f9('0x7e')]&&_0x4bb549[_0x94f9('0x80')](_0x94f9('0x11'),Object[_0x94f9('0x1b')](_0x41470a));}_0xe79120=null;}));},{'priority':_0x2fd574[_0x94f9('0x2')]+0xa}),_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x95'))['on'](_0x94f9('0x79'),(_0x1dc7a9,_0x4c3dc4)=>{const [_0x58ce17,_0x106a75,,_0x45a055]=_0x4c3dc4;if(!_0xe79120)return;_0x1dc7a9[_0x94f9('0x7b')]();const _0x4ad045=_0x58ce17[_0x94f9('0x6c')],_0x300ded=_0x106a75,_0x5373d5=ge(_0x4ad045),_0x32ad1f=ge(_0x300ded);_0x1dc7a9[_0x94f9('0xa6')]=_0x4ad045;let _0x4cf5cb=null,_0x10b232=null;if(_0x32ad1f||_0x5373d5){if(_0x5373d5&&!_0x32ad1f){_0x45a055[_0x94f9('0x28')](_0x4ad045[_0x94f9('0x9')](0x0));for(const _0x2a43e9 of Array['from'](_0x300ded[_0x94f9('0x60')]()))_0x45a055[_0x94f9('0x4c')](_0x2a43e9,_0x4ad045,_0x94f9('0x6'));const _0x22e313=_0xe79120['rowInsertionIndexes']['includes'](_0x58ce17[_0x94f9('0x9e')]),_0x276ad8=_0xe79120[_0x94f9('0x8d')][_0x94f9('0xa1')](_0x58ce17[_0x94f9('0x94')]);_0x22e313||_0x276ad8||(_0x4cf5cb=_0x45a055[_0x94f9('0xc')](_0x4ad045));}else _0x32ad1f&&!_0x5373d5&&(_0x10b232=_0x45a055['createRangeIn'](_0x4ad045));}else{const _0x202064=_0x45a055['createElement'](_0x94f9('0x24')),_0x4b51b5=_0x45a055[_0x94f9('0x5b')](_0x94f9('0x24'));_0x45a055['wrap'](_0x45a055[_0x94f9('0xc')](_0x4ad045),_0x4b51b5),_0x45a055['insert'](_0x202064,_0x4ad045,0x0);for(const _0x40fccb of Array[_0x94f9('0x8f')](_0x300ded[_0x94f9('0x60')]()))_0x45a055[_0x94f9('0x4c')](_0x40fccb,_0x202064,_0x94f9('0x6'));_0x4cf5cb=_0x45a055[_0x94f9('0x2b')](_0x202064),_0x10b232=_0x45a055[_0x94f9('0x2b')](_0x4b51b5);}const _0x4ca820=Array['from'](_0x300ded[_0x94f9('0x15')]())[_0x94f9('0x73')](([_0x5ec26f])=>fe[_0x94f9('0xa1')](_0x5ec26f));_0xe79120[_0x94f9('0x45')][_0x94f9('0x6b')]({'element':_0x4ad045,'attributes':_0x4ca820['length']?Object[_0x94f9('0x1b')](_0x4ca820):null}),_0x4cf5cb&&_0xe79120[_0x94f9('0x46')][_0x94f9('0x6b')](_0x4cf5cb),_0x10b232&&_0xe79120[_0x94f9('0x47')]['push'](_0x10b232);},{'priority':_0x94f9('0x2')}),_0x2518e3['on'](_0x94f9('0x1'),(_0x2ec45c,_0x175f29)=>{const [_0x9d5be1,_0xe9d067={}]=_0x175f29;if(!_0xe79120)return;const _0x1bf409=_0xe9d067['at']||0x0,_0xd89143=_0xe9d067[_0x94f9('0xa8')]||0x1;_0xe79120[_0x94f9('0x8d')]=new Array(_0xd89143)[_0x94f9('0x71')](_0x1bf409)[_0x94f9('0x4d')]((_0x58c8ca,_0x51fc56)=>_0x58c8ca+_0x51fc56);for(const {cell:_0x1e4576}of _0x2518e3['createTableWalker'](_0x9d5be1,{'startColumn':_0x1bf409,'endColumn':_0x1bf409+_0xd89143-0x1}))_0xe79120[_0x94f9('0x3a')][_0x94f9('0x6b')](_0x3e29c9['model'][_0x94f9('0x2b')](_0x1e4576));},{'priority':_0x94f9('0x16')}),_0x2518e3['on']('insertRows',(_0x2e97f8,_0x16cd34)=>{const [_0x32dc2c,_0xeeee1c={}]=_0x16cd34;if(!_0xe79120)return;const _0x4b5736=_0xeeee1c['at']||0x0,_0x45d6b4=_0xeeee1c[_0x94f9('0x81')]||0x1;_0xe79120[_0x94f9('0x3d')]=new Array(_0x45d6b4)[_0x94f9('0x71')](_0x4b5736)['map']((_0x435e48,_0x1e8352)=>_0x435e48+_0x1e8352);for(const {cell:_0x38c28b}of _0x2518e3['createTableWalker'](_0x32dc2c,{'startRow':_0x4b5736,'endRow':_0x4b5736+_0x45d6b4-0x1}))_0xe79120[_0x94f9('0x37')][_0x94f9('0x6b')](_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x2b')](_0x38c28b));},{'priority':_0x94f9('0x16')}),_0x597cc4[_0x94f9('0x90')][_0x94f9('0xa4')](_0x130c9e=>{if(_0x130c9e['subType']&&_0x130c9e[_0x94f9('0x72')]['startsWith']('tablePaste'))return _0x130c9e[_0x94f9('0x0')]?{}:{'type':'insertion','content':_0x58fe80(_0x3e29c9[_0x94f9('0x7')],_0x94f9('0x77'))};});const _0x154127=()=>!0x1;for(const _0x5898e5 of[_0x94f9('0x9c'),'tablePasteColumn',_0x94f9('0x76'),_0x94f9('0x4f')])_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')]('insertion',_0x5898e5,_0x94f9('0x53'),_0x154127),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x7c'),_0x5898e5,_0x94f9('0x53'),_0x154127),_0x597cc4[_0x94f9('0x1c')]['registerCustomCallback'](_0x94f9('0x83'),_0x5898e5,_0x94f9('0x53'),_0x154127);_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x83'),_0x94f9('0x4f'),_0x94f9('0x56'),_0x154127),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x83'),_0x94f9('0x4f'),_0x94f9('0x5a'),(_0x1b71b2,_0x18a54b,_0x7b4752)=>{const _0x3199f6=_0x1b71b2[_0x94f9('0x4d')](_0x48d420=>_0x48d420[_0x94f9('0x9d')]())[_0x94f9('0x73')](_0x18fc4b=>_0x18fc4b),_0x18d48c=new Map(_0x3199f6[_0x94f9('0x4d')](_0x57e092=>[_0x57e092,null]));if(_0xe79120)for(const {element:_0x4ffae5,attributes:_0xd33bd6}of _0xe79120['cells'])_0xd33bd6&&_0x18d48c[_0x94f9('0x8c')](_0x4ffae5,_0xd33bd6);else{if(_0x7b4752&&_0x7b4752[_0x94f9('0x11')])for(const [_0x27a78f,_0x1c9322]of Object['entries'](_0x7b4752[_0x94f9('0x11')])){const _0x562c34=_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x13')]['get'](_0x27a78f),_0x5acc0b=_0x562c34?_0x562c34[_0x94f9('0x3f')]()[_0x94f9('0x9d')]():null;_0x5acc0b&&_0x18d48c[_0x94f9('0x8c')](_0x5acc0b,_0x1c9322);}}_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x98')](_0x2eb4bc=>{for(const [_0x1adc8d,_0x3fec68]of _0x18d48c)_0x2eb4bc['setAttributes']({...be,..._0x3fec68},_0x1adc8d);});});const _0x22dea3=(_0x1f7e17,_0x1bd5bb)=>{_0x597cc4['_suggestionFactory'][_0x94f9('0x1f')](_0x1f7e17,'tablePaste',_0x1bd5bb,(_0xbaf0f2,_0x2a8fe5,_0x28f3ee)=>{_0x3e29c9['model'][_0x94f9('0x98')](_0x22cc3b=>{const _0x58a7c8=[];for(const _0x4290cd of _0xbaf0f2){const _0x4c5a2e=_0x4290cd[_0x94f9('0x5f')][_0x94f9('0x70')];_0x4c5a2e['is'](_0x94f9('0x2d'),'tableCellSuggestion')&&_0x58a7c8[_0x94f9('0x6b')](_0x4c5a2e);}_0x597cc4['_suggestionFactory'][_0x94f9('0x8')](_0x1f7e17,null,_0x1bd5bb)(_0xbaf0f2,_0x2a8fe5,_0x28f3ee);for(const _0x29afd1 of _0x58a7c8)_0x94f9('0x49')!=_0x29afd1[_0x94f9('0x62')][_0x94f9('0x5d')]&&_0x22cc3b[_0x94f9('0x66')](_0x29afd1);});});};_0x22dea3(_0x94f9('0x59'),_0x94f9('0x5a')),_0x22dea3(_0x94f9('0x59'),_0x94f9('0x56')),_0x22dea3(_0x94f9('0x7c'),_0x94f9('0x5a')),_0x22dea3(_0x94f9('0x7c'),_0x94f9('0x56')),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x59'),_0x94f9('0x76'),_0x94f9('0x56'),_0x16c3b6=>{const _0x414bc3=_0x16c3b6[_0x94f9('0x4d')](_0x3b33bc=>_0x3b33bc['getContainedElement']()),_0x1f3e17=_0x414bc3[0x0]['findAncestor']('table'),{minRow:_0x3395b8,maxRow:_0x1a9bf1}=_0x3e96f2[_0x94f9('0xd')](_0x414bc3);_0x2518e3[_0x94f9('0x35')](_0x1f3e17,{'at':_0x3395b8,'rows':_0x1a9bf1-_0x3395b8+0x1});}),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x59'),_0x94f9('0x84'),_0x94f9('0x56'),_0x341fdb=>{const _0x197de5=_0x341fdb[_0x94f9('0x4d')](_0x2c8209=>_0x2c8209['getContainedElement']()),_0x514670=_0x197de5[0x0][_0x94f9('0x58')]('table'),{minColumn:_0x354088,maxColumn:_0x51544b}=_0x3e96f2[_0x94f9('0xd')](_0x197de5);_0x2518e3[_0x94f9('0x52')](_0x514670,{'at':_0x354088,'columns':_0x51544b-_0x354088+0x1});});const _0x3afad2=(_0x3ad143,_0x56f92f)=>{if(!_0x56f92f['subType']||!_0x56f92f[_0x94f9('0x72')]['startsWith']('tablePaste'))return;const _0x28cd8a=_0x56f92f[_0x94f9('0x65')][_0x94f9('0x31')],_0x1eef9a=_0x597cc4[_0x94f9('0xb')]()[_0x94f9('0x73')](_0x396833=>_0x396833[_0x94f9('0x87')]&&_0x396833[_0x94f9('0x65')]&&_0x396833['attributes'][_0x94f9('0x31')]==_0x28cd8a);_0x1eef9a[_0x94f9('0x7e')]&&_0x56f92f['getAllAdjacentSuggestions']()['length']!=_0x1eef9a[_0x94f9('0x7e')]&&_0x1eef9a[_0x94f9('0x39')]((_0x35547b,_0x11969f)=>(_0x35547b[_0x94f9('0x78')]=_0x11969f,_0x11969f['previous']=_0x35547b,_0x11969f));};function _0x57941a(_0x58e0f9,_0x1a0299=!0x0){const {id:_0x281434}=_0x597cc4['_splitMarkerName'](_0x58e0f9[_0x94f9('0x3')]),_0x5f294e=[_0x94f9('0xa5'),_0x94f9('0x99')],_0x353a2e=_0x597cc4['activeMarkers'][_0x94f9('0xa1')](_0x58e0f9[_0x94f9('0x3')]);return _0x353a2e&&_0x5f294e[_0x94f9('0x6b')]('ck-suggestion-marker--active'),{'classes':_0x5f294e,'attributes':{'data-suggestion':_0x281434},'priority':_0x353a2e&&_0x1a0299?0xbc2:0xbb8};}_0x597cc4['on']('suggestionLoaded',_0x3afad2,{'priority':'high'}),_0x597cc4['on'](_0x94f9('0x97'),_0x3afad2,{'priority':_0x94f9('0x2')}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](()=>{let _0x134f0f=!0x1;const _0x509f4a=Array['from'](_0x3e29c9['model'][_0x94f9('0xf')][_0x94f9('0x29')][_0x94f9('0x34')]());for(const {name:_0x4e2837,data:_0x7d0c0b}of _0x509f4a){const {group:_0x179a4f,type:_0x1cc30b,id:_0x3a2e15}=_0x597cc4[_0x94f9('0x3c')](_0x4e2837);if(_0x94f9('0x69')!=_0x179a4f||_0x94f9('0x7c')!=_0x1cc30b||_0x7d0c0b[_0x94f9('0x9a')])continue;if(!_0x597cc4[_0x94f9('0x85')](_0x3a2e15))continue;const _0x534245=_0x597cc4[_0x94f9('0x3b')](_0x3a2e15)['getRanges'](),_0x3be558=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0xa'))['me'];for(const _0x3848dc of _0x597cc4[_0x94f9('0xb')]()){if(!_0x3848dc[_0x94f9('0x87')]||_0x3848dc[_0x94f9('0x8a')]!=_0x3be558)continue;if(_0x94f9('0x83')!=_0x3848dc[_0x94f9('0x9b')]||'tablePasteCell'!=_0x3848dc[_0x94f9('0x72')])continue;if(_0x3848dc[_0x94f9('0x5c')]()[_0x94f9('0x43')](_0x33c834=>_0x534245[_0x94f9('0x50')](_0x365da9=>_0x365da9[_0x94f9('0x74')](_0x33c834,!0x0))))for(const _0x12736b of _0x3848dc[_0x94f9('0x18')]())_0x12736b[_0x94f9('0x87')]&&(_0x12736b['discard'](),_0x134f0f=!0x0);}}return _0x134f0f;}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](_0x3e20b4=>{const _0x8896d=_0x3e29c9[_0x94f9('0x6e')][_0x94f9('0x91')](_0x94f9('0x5'));if(!_0x8896d||!_0x8896d['_createdBatches']['has'](_0x3e20b4[_0x94f9('0x89')]))return!0x1;let _0x24cfbd=!0x1;const _0x3b9651=_0x3e29c9['plugins'][_0x94f9('0x91')]('Users')['me'],_0x4a3ea6=_0x3e29c9['model']['document'][_0x94f9('0x29')][_0x94f9('0xa2')](),_0x553d6d=Array[_0x94f9('0x8f')](_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x29')][_0x94f9('0x34')]())[_0x94f9('0x73')](({name:_0x1b5f10,data:_0x4cef95})=>{const {group:_0x5f2904,subType:_0x207821,authorId:_0x46b8ae}=_0x597cc4[_0x94f9('0x3c')](_0x1b5f10);return'suggestion'==_0x5f2904&&_0x94f9('0x9c')==_0x207821&&_0x46b8ae==_0x3b9651['id']&&!_0x4cef95[_0x94f9('0x9a')];});for(const _0x58206e of _0x4a3ea6){if(_0x94f9('0x4c')!=_0x58206e[_0x94f9('0x9b')]||_0x94f9('0x24')!=_0x58206e['name']||0x1!=_0x58206e[_0x94f9('0x7e')])continue;const _0x34ba88=_0x3e20b4[_0x94f9('0x1d')](_0x58206e[_0x94f9('0x4a')],_0x58206e[_0x94f9('0x4a')]['getShiftedBy'](0x1));if(!_0x553d6d['find'](({data:_0x2b9438})=>_0x2b9438[_0x94f9('0x93')][_0x94f9('0xa0')](_0x34ba88)))for(const {name:_0x1d0df1,data:_0x3bc4a8}of _0x553d6d)if(_0x34ba88[_0x94f9('0x74')](_0x3bc4a8[_0x94f9('0x93')])){_0x3e20b4[_0x94f9('0x30')](_0x1d0df1,{'range':_0x34ba88}),_0x24cfbd=!0x0;break;}}return _0x24cfbd;}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](_0x55f51e=>{let _0x2be7d3=!0x1;const _0x574970=_0x3e29c9[_0x94f9('0x12')]['get'](_0x94f9('0xa'))['me'],_0x18f3ed=_0x597cc4['getSuggestions']()[_0x94f9('0x73')](_0x59e7f9=>_0x59e7f9[_0x94f9('0x87')]&&_0x59e7f9[_0x94f9('0x8a')]==_0x574970),_0x4c407f=new Set(),_0x274169=new Set();for(const _0xccbb64 of _0x18f3ed)if(_0x94f9('0x9c')==_0xccbb64[_0x94f9('0x72')])for(const _0x185ce0 of _0xccbb64['getMarkers']()){const _0x59aed6=_0x185ce0['getRange']()[_0x94f9('0x9d')]();if(_0x59aed6){if(_0x59aed6['is']('element',_0x94f9('0x24'))&&ge(_0x59aed6)){_0xccbb64['removeMarker'](_0x185ce0['name']),_0x4c407f['add'](_0x59aed6),_0x2be7d3=!0x0;const _0x49eac9=_0x59aed6[_0x94f9('0x8e')],_0x4ce591=_0x59aed6[_0x94f9('0x51')],_0x27ac46=_0x49eac9&&_0x49eac9['is'](_0x94f9('0x2d'),_0x94f9('0x24')),_0x3a1b47=_0x4ce591&&_0x4ce591['is']('element',_0x94f9('0x24'));_0x27ac46&&!_0x4c407f['has'](_0x49eac9)&&_0x274169[_0x94f9('0x25')](_0x49eac9),_0x3a1b47&&!_0x4c407f[_0x94f9('0xa7')](_0x4ce591)&&_0x274169[_0x94f9('0x25')](_0x4ce591);}else _0x59aed6['is']('element',_0x94f9('0x2e'))&&_0x59aed6[_0x94f9('0x4')]&&(_0xccbb64[_0x94f9('0x68')](_0x185ce0['name']),_0x2be7d3=!0x0);}}else{if(_0x94f9('0x4f')==_0xccbb64[_0x94f9('0x72')]){if(!_0xccbb64[_0x94f9('0x65')]||!_0xccbb64[_0x94f9('0x65')][_0x94f9('0x31')])continue;const _0x37f05b=_0xccbb64[_0x94f9('0x65')][_0x94f9('0x11')];if(_0x37f05b&&Object[_0x94f9('0x21')](_0x37f05b)[_0x94f9('0x7e')])continue;const _0x27153b=_0xccbb64['attributes'][_0x94f9('0x31')];let _0x4b45ce=!0x0,_0x35d5d1=!0x0;for(const _0x17245c of _0x18f3ed)if(_0x17245c[_0x94f9('0x72')]&&_0x17245c[_0x94f9('0x72')][_0x94f9('0x7a')](_0x94f9('0x9c'))){if(!_0x17245c[_0x94f9('0x65')][_0x94f9('0x31')]){_0x35d5d1=!0x1;break;}if(_0x17245c['id']!=_0xccbb64['id']&&_0x17245c[_0x94f9('0x65')][_0x94f9('0x31')]==_0x27153b){_0x4b45ce=!0x1;break;}}_0x35d5d1&&_0x4b45ce&&(_0xccbb64[_0x94f9('0x10')](),_0x2be7d3=!0x0);}}for(const _0x26f5cb of _0x4c407f)_0x55f51e[_0x94f9('0x28')](_0x26f5cb);for(const _0x128fea of _0x274169)_0x55f51e[_0x94f9('0x66')](_0x128fea);return _0x2be7d3;}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x38')](_0x94f9('0x23'))[_0x94f9('0x5e')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x49e7b7,_0x1508c0)=>_0x57941a(_0x49e7b7),'converterPriority':_0x94f9('0x2')}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x38')](_0x94f9('0x36'))['markerToHighlight']({'model':_0x94f9('0x54'),'view':(_0x12310b,_0x1c3c3d)=>_0x1c3c3d['options'][_0x94f9('0x14')]?_0x57941a(_0x12310b,!0x1):null,'converterPriority':_0x94f9('0x2')});const _0x309e27=_0x3e29c9['editing']['view'];this[_0x94f9('0x4b')](_0x309e27[_0x94f9('0xf')],_0x94f9('0x32'),(_0x42be5b,_0x3139f1)=>{const _0x5cb082=[];for(const _0x326560 of _0x309e27['createRangeIn'](_0x3139f1[_0x94f9('0x63')])[_0x94f9('0x2f')]())_0x326560['is'](_0x94f9('0x2d'),_0x94f9('0x9f'))&&_0x5cb082[_0x94f9('0x6b')](_0x326560);_0x309e27['change'](_0x26cc1c=>{for(const _0x28ba99 of _0x5cb082)_0x26cc1c['move'](_0x26cc1c['createRangeIn'](_0x28ba99),_0x26cc1c[_0x94f9('0xe')](_0x28ba99)),_0x26cc1c[_0x94f9('0x28')](_0x28ba99);});});}}function ge(_0x2b2be5){if(_0x2b2be5[_0x94f9('0x4')])return!0x0;const _0x2a06db=_0x2b2be5['getChild'](0x0);return _0x2a06db['is'](_0x94f9('0x2d'),'paragraph')&&_0x2a06db[_0x94f9('0x4')];}function de(_0xf87ab,_0x23ca6f={},_0x5eba42){for(const {isAnchor:_0x3a7139,cellHeight:_0x420f40,cellWidth:_0x520e8a}of _0x5eba42['createTableWalker'](_0xf87ab,{'includeAllSlots':!0x0,..._0x23ca6f}))if(!_0x3a7139||0x1!=_0x420f40||0x1!=_0x520e8a)return!0x1;return!0x0;}
23
+ const _0x5d26=['trackChanges','unwrap','tableCellBorderStyle','markMultiRangeDeletion','getContainedElement','find','markerAttributes','editing','insertionRanges','some','tableCell','TrackChangesEditing','nextSibling','getRanges','suggestion-td','add','set','type','_suggestionFactory','options','removeMarkers','Users','reduce','getColumns','removeMarker','end','paragraph','endColumn','for','document','ck-suggestion-marker--active','_getCoordsForCells','filter','formatBlock','tablePaste','selection','getSuggestionCallback','createPositionBefore','includes','removeColumns','rowInsertionRanges','name','$graveyard','markers','columnInsertionIndexes','accept','showSuggestionHighlights','getChanges','discard','oldRange','change','registerCustomCallback','every','registerPostFixer','markerName','updateMarker','getRange','tableCellBackgroundColor','isEmpty','tablePasteColumn','stop','dataDowncast','push','subType','insertion','createRangeIn','move','table','createRange','get','getRows','getChangedMarkers','*Replace\x20table\x20cells*','hasSuggestion','requires','suggestion:formatBlock:tablePasteCell','tableCellHorizontalAlignment','fromEntries','tablePasteChainId','differ','getSelectionAffectedTableCells','isInContent','attributes','tableCellBorderColor','cells','join','remove','isEqual','getMarkers','getTableIfOnlyTableInContent','clipboardOutput','getAllAdjacentSuggestions','tableCellVerticalAlignment','deletion','_splitMarkerName','documentSelection','editor','TableUtils','suggestionUnloaded','findAncestor','rowInsertionIndexes','getItems','suggestion','createElement','cell','fill','wrap','getChildren','createTableWalker','elementToElement','tableCellSuggestion','root','previous','high','conversion','register','startsWith','start','endRow','insert','plugins','getChild','tableCellBorderWidth','setAttributes','tablePasteCell','low','author','getAttributes','map','element','rows','last','insertContent','deletionRanges','containsRange','rootName','markMultiRangeBlockFormat','position','insertRows','markMultiRangeInsertion','redo','locale','removeRows','has','TableClipboard','_descriptionFactory','markerToHighlight','getSuggestions','tableCellPadding','from','createRangeOn','previousSibling','length','model'];(function(_0x1020ff,_0x5d26de){const _0x60fb02=function(_0x326e8e){while(--_0x326e8e){_0x1020ff['push'](_0x1020ff['shift']());}};_0x60fb02(++_0x5d26de);}(_0x5d26,0xa7));const _0x60fb=function(_0x1020ff,_0x5d26de){_0x1020ff=_0x1020ff-0x0;let _0x60fb02=_0x5d26[_0x1020ff];return _0x60fb02;};import{getTranslation as _0x33f842}from'../utils/common-translations.js';import{Plugin as _0x355baa}from'ckeditor5/src/core.js';import{uid as _0xc97c03,priorities as _0x2c8dbe}from'ckeditor5/src/utils.js';import _0x26999e from'./table.js';const fe=[_0x60fb('0x6d'),_0x60fb('0x46'),_0x60fb('0x8f'),_0x60fb('0x3f'),_0x60fb('0x4f'),_0x60fb('0x2c'),_0x60fb('0x87')],be=Object[_0x60fb('0x40')](fe['map'](_0x238a92=>[_0x238a92,null]));export default class At extends _0x355baa{static get[_0x60fb('0x3d')](){return[_0x26999e];}['afterInit'](){const _0x49fc42=this['editor'];if(!_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x82')](_0x60fb('0x83')))return;const _0x4224c5=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x98')),_0x3dca98=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x54')),_0x161f18=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x26999e),_0x56a690=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')]('TableClipboard');_0x161f18['_tablePostFixingSubtypes'][_0x60fb('0x31')]('tablePasteRow',_0x60fb('0x2e')),_0x49fc42['model']['schema'][_0x60fb('0x66')](_0x60fb('0x61'),{'allowIn':_0x60fb('0x97'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x49fc42[_0x60fb('0x65')][_0x60fb('0x60')]({'model':_0x60fb('0x61'),'view':_0x60fb('0x1')});let _0x1e16b8=null;_0x49fc42[_0x60fb('0x8c')]['on']('insertContent',(_0x6825b7,_0x41593a)=>{const [_0x8121f3,_0x4fe1a6]=_0x41593a,_0x17e015=_0x41593a[_0x41593a[_0x60fb('0x8b')]-0x1];_0x17e015&&_0x17e015['forceDefaultExecution']||_0x4224c5['_isForcedDefaultExecutionBlock']||this[_0x60fb('0x53')]['commands']['get'](_0x60fb('0x8d'))['value']&&function(_0x28c16d,_0x4d1b0f,_0x3eb06b,_0x17b831,_0xe4d0e){if(_0x4d1b0f&&!_0x4d1b0f['is'](_0x60fb('0x52')))return!0x1;const _0x3a8612=_0xe4d0e[_0x60fb('0x4c')](_0x28c16d,_0x3eb06b);if(!_0x3a8612||!de(_0x3a8612,void 0x0,_0x17b831))return!0x1;const _0x4363e0=_0x17b831[_0x60fb('0x43')](_0x3eb06b[_0x60fb('0x10')][_0x60fb('0x16')]);if(!_0x4363e0[_0x60fb('0x8b')])return!0x1;const _0x5f4a81=_0x4363e0[0x0][_0x60fb('0x56')](_0x60fb('0x36')),_0x4b102e=_0x17b831['getRowIndexes'](_0x4363e0),_0x401df6=_0x17b831['getColumnIndexes'](_0x4363e0),_0x2e69fe={'startRow':_0x4b102e['first'],'endRow':_0x4b102e['last'],'startColumn':_0x401df6['first'],'endColumn':_0x401df6[_0x60fb('0x76')]};return 0x1==_0x4363e0['length']&&(_0x2e69fe[_0x60fb('0x69')]+=_0x17b831[_0x60fb('0x39')](_0x3a8612)-0x1,_0x2e69fe[_0x60fb('0xe')]+=_0x17b831[_0x60fb('0xa')](_0x3a8612)-0x1),de(_0x5f4a81,_0x2e69fe,_0x17b831);}(_0x8121f3,_0x4fe1a6,_0x49fc42['model'],_0x3dca98,_0x56a690)&&(_0x6825b7[_0x60fb('0x2f')](),_0x1e16b8={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x25')](()=>{_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x77')](_0x41593a[0x0],_0x41593a[0x1],_0x41593a[0x2],{'forceDefaultExecution':!0x0});const _0x18a0fe=_0xc97c03(),{rowInsertionRanges:_0x5a67f5,columnInsertionRanges:_0x4c0a30,insertionRanges:_0x25dcfe,deletionRanges:_0x3954ad,cells:_0x470fa0}=_0x1e16b8;_0x5a67f5[_0x60fb('0x8b')]&&_0x4224c5[_0x60fb('0x7e')](_0x5a67f5,'tablePasteRow',{'tablePasteChainId':_0x18a0fe}),_0x4c0a30[_0x60fb('0x8b')]&&_0x4224c5['markMultiRangeInsertion'](_0x4c0a30,_0x60fb('0x2e'),{'tablePasteChainId':_0x18a0fe}),_0x25dcfe[_0x60fb('0x8b')]&&_0x4224c5['markMultiRangeInsertion'](_0x25dcfe,'tablePaste',{'tablePasteChainId':_0x18a0fe,'skipNestingCheck':!0x0}),_0x3954ad[_0x60fb('0x8b')]&&_0x4224c5[_0x60fb('0x90')](_0x3954ad,'tablePaste',{'tablePasteChainId':_0x18a0fe,'skipNestingCheck':!0x0});const _0x56a918=_0x4224c5[_0x60fb('0x7b')](_0x470fa0[_0x60fb('0x73')](({element:_0x5d71c3})=>_0x5d71c3),{'formatGroupId':_0xc97c03()},[],_0x60fb('0x6f'),{'tablePasteChainId':_0x18a0fe});if(_0x56a918){const _0x31baea=_0x56a918[_0x60fb('0x4b')](),_0x25988d=[];for(const {element:_0x4294ad,attributes:_0x3f5a9e}of _0x470fa0){if(!_0x3f5a9e)continue;const _0x53a22a=_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x89')](_0x4294ad),_0x3e3806=_0x31baea[_0x60fb('0x92')](_0x720f55=>_0x720f55[_0x60fb('0x2b')]()[_0x60fb('0x4a')](_0x53a22a));_0x3e3806&&_0x25988d[_0x60fb('0x31')]([_0x3e3806[_0x60fb('0x1c')],_0x3f5a9e]);}_0x25988d['length']&&_0x56a918['setAttribute'](_0x60fb('0x93'),Object[_0x60fb('0x40')](_0x25988d));}_0x1e16b8=null;}));},{'priority':_0x2c8dbe[_0x60fb('0x64')]+0xa}),_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x83'))['on']('_replaceTableSlotCell',(_0x14e9a5,_0x256827)=>{const [_0x289804,_0x1e5fce,,_0x41f862]=_0x256827;if(!_0x1e16b8)return;_0x14e9a5[_0x60fb('0x2f')]();const _0x200e1c=_0x289804[_0x60fb('0x5b')],_0x1edf99=_0x1e5fce,_0x2ca720=ge(_0x200e1c),_0x363cee=ge(_0x1edf99);_0x14e9a5['return']=_0x200e1c;let _0x50e64f=null,_0x57658e=null;if(_0x363cee||_0x2ca720){if(_0x2ca720&&!_0x363cee){_0x41f862['remove'](_0x200e1c['getChild'](0x0));for(const _0x430ae5 of Array[_0x60fb('0x88')](_0x1edf99[_0x60fb('0x5e')]()))_0x41f862[_0x60fb('0x6a')](_0x430ae5,_0x200e1c,_0x60fb('0xc'));const _0x3595e2=_0x1e16b8[_0x60fb('0x57')][_0x60fb('0x19')](_0x289804['row']),_0x57ac46=_0x1e16b8[_0x60fb('0x1f')][_0x60fb('0x19')](_0x289804['column']);_0x3595e2||_0x57ac46||(_0x50e64f=_0x41f862[_0x60fb('0x34')](_0x200e1c));}else _0x363cee&&!_0x2ca720&&(_0x57658e=_0x41f862[_0x60fb('0x34')](_0x200e1c));}else{const _0x5d48f2=_0x41f862[_0x60fb('0x5a')]('tableCellSuggestion'),_0x1081cb=_0x41f862[_0x60fb('0x5a')](_0x60fb('0x61'));_0x41f862[_0x60fb('0x5d')](_0x41f862['createRangeIn'](_0x200e1c),_0x1081cb),_0x41f862['insert'](_0x5d48f2,_0x200e1c,0x0);for(const _0x500bcf of Array['from'](_0x1edf99['getChildren']()))_0x41f862[_0x60fb('0x6a')](_0x500bcf,_0x5d48f2,'end');_0x50e64f=_0x41f862[_0x60fb('0x89')](_0x5d48f2),_0x57658e=_0x41f862[_0x60fb('0x89')](_0x1081cb);}const _0x55f131=Array['from'](_0x1edf99[_0x60fb('0x72')]())['filter'](([_0x17e2cb])=>fe[_0x60fb('0x19')](_0x17e2cb));_0x1e16b8['cells'][_0x60fb('0x31')]({'element':_0x200e1c,'attributes':_0x55f131[_0x60fb('0x8b')]?Object[_0x60fb('0x40')](_0x55f131):null}),_0x50e64f&&_0x1e16b8[_0x60fb('0x95')][_0x60fb('0x31')](_0x50e64f),_0x57658e&&_0x1e16b8[_0x60fb('0x78')][_0x60fb('0x31')](_0x57658e);},{'priority':'high'}),_0x3dca98['on']('insertColumns',(_0x43f181,_0x2cdbd3)=>{const [_0x4aebc0,_0x3928e8={}]=_0x2cdbd3;if(!_0x1e16b8)return;const _0x21d39b=_0x3928e8['at']||0x0,_0x5d6492=_0x3928e8['columns']||0x1;_0x1e16b8['columnInsertionIndexes']=new Array(_0x5d6492)[_0x60fb('0x5c')](_0x21d39b)[_0x60fb('0x73')]((_0x566754,_0x33477a)=>_0x566754+_0x33477a);for(const {cell:_0x230d38}of _0x3dca98[_0x60fb('0x5f')](_0x4aebc0,{'startColumn':_0x21d39b,'endColumn':_0x21d39b+_0x5d6492-0x1}))_0x1e16b8['columnInsertionRanges'][_0x60fb('0x31')](_0x49fc42[_0x60fb('0x8c')]['createRangeOn'](_0x230d38));},{'priority':_0x60fb('0x70')}),_0x3dca98['on'](_0x60fb('0x7d'),(_0x12d304,_0x3980ac)=>{const [_0x2e3186,_0x1c9752={}]=_0x3980ac;if(!_0x1e16b8)return;const _0x5a7c7e=_0x1c9752['at']||0x0,_0x5ae613=_0x1c9752[_0x60fb('0x75')]||0x1;_0x1e16b8[_0x60fb('0x57')]=new Array(_0x5ae613)[_0x60fb('0x5c')](_0x5a7c7e)[_0x60fb('0x73')]((_0x49017a,_0x560894)=>_0x49017a+_0x560894);for(const {cell:_0x78d2be}of _0x3dca98['createTableWalker'](_0x2e3186,{'startRow':_0x5a7c7e,'endRow':_0x5a7c7e+_0x5ae613-0x1}))_0x1e16b8[_0x60fb('0x1b')][_0x60fb('0x31')](_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x89')](_0x78d2be));},{'priority':_0x60fb('0x70')}),_0x4224c5[_0x60fb('0x84')]['registerDescriptionCallback'](_0x2f7c78=>{if(_0x2f7c78[_0x60fb('0x32')]&&_0x2f7c78[_0x60fb('0x32')][_0x60fb('0x67')]('tablePaste'))return _0x2f7c78['previous']?{}:{'type':_0x60fb('0x33'),'content':_0x33f842(_0x49fc42[_0x60fb('0x80')],_0x60fb('0x3b'))};});const _0x4b431c=()=>!0x1;for(const _0xeea776 of['tablePaste',_0x60fb('0x2e'),'tablePasteRow','tablePasteCell'])_0x4224c5['_suggestionFactory']['registerCustomCallback']('insertion',_0xeea776,_0x60fb('0x48'),_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x50'),_0xeea776,_0x60fb('0x48'),_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0xeea776,_0x60fb('0x48'),_0x4b431c);_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0x60fb('0x6f'),'discard',_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0x60fb('0x6f'),_0x60fb('0x20'),(_0x5271e1,_0x4d60d7,_0xfcf208)=>{const _0x36264e=_0x5271e1[_0x60fb('0x73')](_0xf0617b=>_0xf0617b[_0x60fb('0x91')]())[_0x60fb('0x13')](_0x4c184e=>_0x4c184e),_0x1c91f8=new Map(_0x36264e[_0x60fb('0x73')](_0x62f8d4=>[_0x62f8d4,null]));if(_0x1e16b8)for(const {element:_0x29e92b,attributes:_0x58aa84}of _0x1e16b8[_0x60fb('0x47')])_0x58aa84&&_0x1c91f8[_0x60fb('0x3')](_0x29e92b,_0x58aa84);else{if(_0xfcf208&&_0xfcf208[_0x60fb('0x93')])for(const [_0xd3dcac,_0x1aef0e]of Object['entries'](_0xfcf208[_0x60fb('0x93')])){const _0x49f562=_0x49fc42['model'][_0x60fb('0x1e')]['get'](_0xd3dcac),_0x19035b=_0x49f562?_0x49f562['getRange']()[_0x60fb('0x91')]():null;_0x19035b&&_0x1c91f8[_0x60fb('0x3')](_0x19035b,_0x1aef0e);}}_0x49fc42['model']['change'](_0x124057=>{for(const [_0x129bed,_0x41493d]of _0x1c91f8)_0x124057[_0x60fb('0x6e')]({...be,..._0x41493d},_0x129bed);});});const _0x4936ab=(_0xfb0b39,_0x19f0f2)=>{_0x4224c5[_0x60fb('0x5')]['registerCustomCallback'](_0xfb0b39,_0x60fb('0x15'),_0x19f0f2,(_0x539d1c,_0x56b126,_0x17a322)=>{_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x25')](_0x149854=>{const _0x180c63=[];for(const _0x46d0f5 of _0x539d1c){const _0x1cc030=_0x46d0f5[_0x60fb('0x68')]['nodeAfter'];_0x1cc030['is'](_0x60fb('0x74'),'tableCellSuggestion')&&_0x180c63[_0x60fb('0x31')](_0x1cc030);}_0x4224c5[_0x60fb('0x5')][_0x60fb('0x17')](_0xfb0b39,null,_0x19f0f2)(_0x539d1c,_0x56b126,_0x17a322);for(const _0x3aff12 of _0x180c63)_0x60fb('0x1d')!=_0x3aff12[_0x60fb('0x62')][_0x60fb('0x7a')]&&_0x149854['unwrap'](_0x3aff12);});});};_0x4936ab('insertion',_0x60fb('0x20')),_0x4936ab(_0x60fb('0x33'),'discard'),_0x4936ab('deletion',_0x60fb('0x20')),_0x4936ab(_0x60fb('0x50'),_0x60fb('0x23')),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x33'),'tablePasteRow',_0x60fb('0x23'),_0x38aafa=>{const _0x519a26=_0x38aafa['map'](_0x545d30=>_0x545d30[_0x60fb('0x91')]()),_0x40c28f=_0x519a26[0x0][_0x60fb('0x56')](_0x60fb('0x36')),{minRow:_0xe2cc3d,maxRow:_0x36b19b}=_0x161f18[_0x60fb('0x12')](_0x519a26);_0x3dca98[_0x60fb('0x81')](_0x40c28f,{'at':_0xe2cc3d,'rows':_0x36b19b-_0xe2cc3d+0x1});}),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x33'),_0x60fb('0x2e'),'discard',_0x2f779e=>{const _0x32dad4=_0x2f779e[_0x60fb('0x73')](_0x2017ea=>_0x2017ea[_0x60fb('0x91')]()),_0x1c798d=_0x32dad4[0x0][_0x60fb('0x56')](_0x60fb('0x36')),{minColumn:_0x3c6536,maxColumn:_0x550d46}=_0x161f18[_0x60fb('0x12')](_0x32dad4);_0x3dca98[_0x60fb('0x1a')](_0x1c798d,{'at':_0x3c6536,'columns':_0x550d46-_0x3c6536+0x1});});const _0x55f800=(_0x53eebf,_0x4f1adc)=>{if(!_0x4f1adc[_0x60fb('0x32')]||!_0x4f1adc['subType'][_0x60fb('0x67')](_0x60fb('0x15')))return;const _0x6cd791=_0x4f1adc[_0x60fb('0x45')][_0x60fb('0x41')],_0x1401a7=_0x4224c5[_0x60fb('0x86')]()['filter'](_0x206c3e=>_0x206c3e[_0x60fb('0x44')]&&_0x206c3e[_0x60fb('0x45')]&&_0x206c3e['attributes'][_0x60fb('0x41')]==_0x6cd791);_0x1401a7[_0x60fb('0x8b')]&&_0x4f1adc[_0x60fb('0x4e')]()[_0x60fb('0x8b')]!=_0x1401a7[_0x60fb('0x8b')]&&_0x1401a7[_0x60fb('0x9')]((_0x226ea4,_0x34d76a)=>(_0x226ea4['next']=_0x34d76a,_0x34d76a[_0x60fb('0x63')]=_0x226ea4,_0x34d76a));};function _0x464cf9(_0x31d985,_0x5df55a=!0x0){const {id:_0x358f17}=_0x4224c5['_splitMarkerName'](_0x31d985[_0x60fb('0x29')]),_0x48c1f0=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1a94db=_0x4224c5['activeMarkers'][_0x60fb('0x19')](_0x31d985[_0x60fb('0x29')]);return _0x1a94db&&_0x48c1f0['push'](_0x60fb('0x11')),{'classes':_0x48c1f0,'attributes':{'data-suggestion':_0x358f17},'priority':_0x1a94db&&_0x5df55a?0xbc2:0xbb8};}_0x4224c5['on']('suggestionLoaded',_0x55f800,{'priority':_0x60fb('0x64')}),_0x4224c5['on'](_0x60fb('0x55'),_0x55f800,{'priority':'high'}),_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x10')][_0x60fb('0x28')](()=>{let _0x681256=!0x1;const _0x265a61=Array[_0x60fb('0x88')](_0x49fc42['model']['document'][_0x60fb('0x42')][_0x60fb('0x3a')]());for(const {name:_0x475d9c,data:_0x3a08ea}of _0x265a61){const {group:_0x304135,type:_0x38586b,id:_0x5a6bf6}=_0x4224c5[_0x60fb('0x51')](_0x475d9c);if(_0x60fb('0x59')!=_0x304135||_0x60fb('0x50')!=_0x38586b||_0x3a08ea[_0x60fb('0x24')])continue;if(!_0x4224c5[_0x60fb('0x3c')](_0x5a6bf6))continue;const _0x3052de=_0x4224c5['getSuggestion'](_0x5a6bf6)['getRanges'](),_0x158085=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'];for(const _0x518a42 of _0x4224c5[_0x60fb('0x86')]()){if(!_0x518a42[_0x60fb('0x44')]||_0x518a42[_0x60fb('0x71')]!=_0x158085)continue;if(_0x60fb('0x14')!=_0x518a42['type']||_0x60fb('0x6f')!=_0x518a42[_0x60fb('0x32')])continue;if(_0x518a42[_0x60fb('0x0')]()[_0x60fb('0x27')](_0x5b82b5=>_0x3052de[_0x60fb('0x96')](_0x1886a8=>_0x1886a8[_0x60fb('0x79')](_0x5b82b5,!0x0))))for(const _0x3e4979 of _0x518a42[_0x60fb('0x4e')]())_0x3e4979[_0x60fb('0x44')]&&(_0x3e4979[_0x60fb('0x23')](),_0x681256=!0x0);}}return _0x681256;}),_0x49fc42[_0x60fb('0x8c')]['document'][_0x60fb('0x28')](_0x1d213f=>{const _0x5dd844=_0x49fc42['commands'][_0x60fb('0x38')](_0x60fb('0x7f'));if(!_0x5dd844||!_0x5dd844['_createdBatches']['has'](_0x1d213f['batch']))return!0x1;let _0x543b27=!0x1;const _0x2ee8c5=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'],_0x11c28f=_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x10')][_0x60fb('0x42')][_0x60fb('0x22')](),_0x7317ee=Array[_0x60fb('0x88')](_0x49fc42['model'][_0x60fb('0x10')][_0x60fb('0x42')]['getChangedMarkers']())['filter'](({name:_0x2e6de2,data:_0x19b04e})=>{const {group:_0x432fb1,subType:_0x26e75e,authorId:_0x5d7c5a}=_0x4224c5[_0x60fb('0x51')](_0x2e6de2);return _0x60fb('0x59')==_0x432fb1&&_0x60fb('0x15')==_0x26e75e&&_0x5d7c5a==_0x2ee8c5['id']&&!_0x19b04e[_0x60fb('0x24')];});for(const _0x4f66aa of _0x11c28f){if(_0x60fb('0x6a')!=_0x4f66aa[_0x60fb('0x4')]||_0x60fb('0x61')!=_0x4f66aa[_0x60fb('0x1c')]||0x1!=_0x4f66aa[_0x60fb('0x8b')])continue;const _0x24d918=_0x1d213f[_0x60fb('0x37')](_0x4f66aa[_0x60fb('0x7c')],_0x4f66aa['position']['getShiftedBy'](0x1));if(!_0x7317ee[_0x60fb('0x92')](({data:_0x131ac6})=>_0x131ac6['newRange']['isEqual'](_0x24d918)))for(const {name:_0x632d0d,data:_0x1537a6}of _0x7317ee)if(_0x24d918['containsRange'](_0x1537a6['newRange'])){_0x1d213f[_0x60fb('0x2a')](_0x632d0d,{'range':_0x24d918}),_0x543b27=!0x0;break;}}return _0x543b27;}),_0x49fc42['model'][_0x60fb('0x10')][_0x60fb('0x28')](_0x18859f=>{let _0x20d484=!0x1;const _0x24b846=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'],_0x44ecfe=_0x4224c5[_0x60fb('0x86')]()['filter'](_0x17db3a=>_0x17db3a[_0x60fb('0x44')]&&_0x17db3a[_0x60fb('0x71')]==_0x24b846),_0x457913=new Set(),_0x106da6=new Set();for(const _0xf5f9d6 of _0x44ecfe)if(_0x60fb('0x15')==_0xf5f9d6['subType'])for(const _0x5ac76e of _0xf5f9d6['getMarkers']()){const _0x58a51d=_0x5ac76e[_0x60fb('0x2b')]()['getContainedElement']();if(_0x58a51d){if(_0x58a51d['is'](_0x60fb('0x74'),_0x60fb('0x61'))&&ge(_0x58a51d)){_0xf5f9d6[_0x60fb('0xb')](_0x5ac76e[_0x60fb('0x1c')]),_0x457913['add'](_0x58a51d),_0x20d484=!0x0;const _0x371d0a=_0x58a51d[_0x60fb('0x99')],_0x37fb8b=_0x58a51d[_0x60fb('0x8a')],_0x54ebae=_0x371d0a&&_0x371d0a['is'](_0x60fb('0x74'),_0x60fb('0x61')),_0x5d35da=_0x37fb8b&&_0x37fb8b['is'](_0x60fb('0x74'),_0x60fb('0x61'));_0x54ebae&&!_0x457913[_0x60fb('0x82')](_0x371d0a)&&_0x106da6[_0x60fb('0x2')](_0x371d0a),_0x5d35da&&!_0x457913[_0x60fb('0x82')](_0x37fb8b)&&_0x106da6[_0x60fb('0x2')](_0x37fb8b);}else _0x58a51d['is'](_0x60fb('0x74'),_0x60fb('0xd'))&&_0x58a51d[_0x60fb('0x2d')]&&(_0xf5f9d6[_0x60fb('0xb')](_0x5ac76e['name']),_0x20d484=!0x0);}}else{if(_0x60fb('0x6f')==_0xf5f9d6[_0x60fb('0x32')]){if(!_0xf5f9d6[_0x60fb('0x45')]||!_0xf5f9d6[_0x60fb('0x45')][_0x60fb('0x41')])continue;const _0x1890c8=_0xf5f9d6[_0x60fb('0x45')]['markerAttributes'];if(_0x1890c8&&Object['keys'](_0x1890c8)['length'])continue;const _0x56439e=_0xf5f9d6[_0x60fb('0x45')][_0x60fb('0x41')];let _0x4b0bd1=!0x0,_0x452c48=!0x0;for(const _0x4f56b4 of _0x44ecfe)if(_0x4f56b4[_0x60fb('0x32')]&&_0x4f56b4[_0x60fb('0x32')][_0x60fb('0x67')](_0x60fb('0x15'))){if(!_0x4f56b4['attributes'][_0x60fb('0x41')]){_0x452c48=!0x1;break;}if(_0x4f56b4['id']!=_0xf5f9d6['id']&&_0x4f56b4['attributes'][_0x60fb('0x41')]==_0x56439e){_0x4b0bd1=!0x1;break;}}_0x452c48&&_0x4b0bd1&&(_0xf5f9d6[_0x60fb('0x7')](),_0x20d484=!0x0);}}for(const _0x29690b of _0x457913)_0x18859f[_0x60fb('0x49')](_0x29690b);for(const _0x5a1aef of _0x106da6)_0x18859f[_0x60fb('0x8e')](_0x5a1aef);return _0x20d484;}),_0x49fc42['conversion']['for']('editingDowncast')[_0x60fb('0x85')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4dd092,_0x148c12)=>_0x464cf9(_0x4dd092),'converterPriority':_0x60fb('0x64')}),_0x49fc42[_0x60fb('0x65')][_0x60fb('0xf')](_0x60fb('0x30'))[_0x60fb('0x85')]({'model':_0x60fb('0x3e'),'view':(_0x53f18a,_0x32db4d)=>_0x32db4d[_0x60fb('0x6')][_0x60fb('0x21')]?_0x464cf9(_0x53f18a,!0x1):null,'converterPriority':_0x60fb('0x64')});const _0x19be36=_0x49fc42[_0x60fb('0x94')]['view'];this['listenTo'](_0x19be36['document'],_0x60fb('0x4d'),(_0x51759f,_0x3906a6)=>{const _0x1bbf2e=[];for(const _0x5630e9 of _0x19be36[_0x60fb('0x34')](_0x3906a6['content'])[_0x60fb('0x58')]())_0x5630e9['is'](_0x60fb('0x74'),_0x60fb('0x1'))&&_0x1bbf2e[_0x60fb('0x31')](_0x5630e9);_0x19be36[_0x60fb('0x25')](_0x1256ca=>{for(const _0x9f20f2 of _0x1bbf2e)_0x1256ca[_0x60fb('0x35')](_0x1256ca[_0x60fb('0x34')](_0x9f20f2),_0x1256ca[_0x60fb('0x18')](_0x9f20f2)),_0x1256ca['remove'](_0x9f20f2);});});}}function ge(_0x1c0443){if(_0x1c0443[_0x60fb('0x2d')])return!0x0;const _0x52aebc=_0x1c0443[_0x60fb('0x6c')](0x0);return _0x52aebc['is'](_0x60fb('0x74'),_0x60fb('0xd'))&&_0x52aebc[_0x60fb('0x2d')];}function de(_0x40f6cb,_0x4ef5cc={},_0x21a534){for(const {isAnchor:_0x2bbc31,cellHeight:_0x53a932,cellWidth:_0x5dd3fb}of _0x21a534['createTableWalker'](_0x40f6cb,{'includeAllSlots':!0x0,..._0x4ef5cc}))if(!_0x2bbc31||0x1!=_0x53a932||0x1!=_0x5dd3fb)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1050=['selection','getSelectedElement','subType','resizeTable','getColumnGroupElement','getContainedElement','getTableColumnsWidths','editor','formatBlock','table','formatInline','getSuggestions','columnWidths','enableCommand','markBlockFormat','registerCustomCallback','bind','tableWidth','model','type','Users','get','document','handleResizeTableWidthCommand','registerDescriptionCallback','discard','_suggestionFactory','TrackChangesEditing','commandParams','TableColumnResizeEditing','afterInit','has','_descriptionFactory','resizeTableWidth','plugins','format','change','locale','handleSuggestionDescription','getAttribute'];(function(_0x5c7308,_0x105058){const _0x16836e=function(_0x1d6b24){while(--_0x1d6b24){_0x5c7308['push'](_0x5c7308['shift']());}};_0x16836e(++_0x105058);}(_0x1050,0x1e8));const _0x1683=function(_0x5c7308,_0x105058){_0x5c7308=_0x5c7308-0x0;let _0x16836e=_0x1050[_0x5c7308];return _0x16836e;};import{Plugin as _0x31fa2c}from'ckeditor5/src/core.js';import{getTranslation as _0x69713e}from'../utils/common-translations.js';export default class It extends _0x31fa2c{[_0x1683('0x16')](){if(!this['editor']['plugins'][_0x1683('0x17')](_0x1683('0x15')))return;const _0x355041=this[_0x1683('0x27')][_0x1683('0x1a')][_0x1683('0xd')]('TrackChangesEditing');_0x355041[_0x1683('0x5')]('resizeTableWidth',this[_0x1683('0xf')][_0x1683('0x8')](this)),_0x355041[_0x1683('0x12')][_0x1683('0x7')](_0x1683('0x0'),'resizeTable','accept',_0x355041[_0x1683('0x12')]['getSuggestionCallback'](_0x1683('0x0'),null,_0x1683('0x11'))),_0x355041[_0x1683('0x12')]['registerCustomCallback']('formatBlock',_0x1683('0x23'),_0x1683('0x11'),_0x355041[_0x1683('0x12')]['getSuggestionCallback'](_0x1683('0x0'),null,'accept')),_0x355041[_0x1683('0x18')][_0x1683('0x10')](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x3d51bc,_0x49371b){const _0x265974=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')](_0x1683('0x13')),_0x145038=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')]('TableColumnResizeEditing'),_0x86b25f=_0x49371b[_0x1683('0x1')]||this[_0x1683('0x27')][_0x1683('0xa')][_0x1683('0xe')][_0x1683('0x20')][_0x1683('0x21')]();this['editor']['model'][_0x1683('0x1c')](()=>{const _0x6b06dd=_0x145038[_0x1683('0x24')](_0x86b25f);let _0x833b89=_0x6b06dd?_0x145038[_0x1683('0x26')](_0x6b06dd):null,_0x2cbccc=_0x86b25f[_0x1683('0x1f')](_0x1683('0x9'))||null;const _0x2b7d47=_0x49371b[_0x1683('0x9')]||_0x2cbccc,_0x30e8a9=_0x49371b[_0x1683('0x4')]||_0x833b89,_0x28c366=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')](_0x1683('0xc'))['me'];for(const _0x33177e of _0x265974[_0x1683('0x3')]()){const _0x363472=_0x33177e[_0x1683('0x25')]();if(_0x1683('0x23')===_0x33177e[_0x1683('0x22')]&&_0x363472===_0x86b25f){_0x33177e['author']!==_0x28c366&&_0x33177e[_0x1683('0x11')]();const _0x1a2a8e=_0x33177e['data'][_0x1683('0x14')];_0x2cbccc=_0x1a2a8e[0x0][_0x1683('0x9')],_0x833b89=_0x1a2a8e[0x0][_0x1683('0x4')];break;}}_0x3d51bc({'table':_0x86b25f,'tableWidth':_0x2b7d47,'columnWidths':_0x30e8a9}),_0x265974[_0x1683('0x6')](_0x86b25f,{'commandName':_0x1683('0x19'),'commandParams':[{'tableWidth':_0x2cbccc,'columnWidths':_0x833b89}],'formatGroupId':_0x1683('0x23')},[],_0x1683('0x23'));});}[_0x1683('0x1e')](_0x1ddb3a){if('formatBlock'!=_0x1ddb3a[_0x1683('0xb')]&&_0x1683('0x2')!=_0x1ddb3a['type'])return;const {data:_0x18d70d}=_0x1ddb3a;if(_0x18d70d&&_0x1683('0x23')===_0x18d70d['formatGroupId']){const _0xe8d530='*Format:*\x20resize\x20table';return{'type':_0x1683('0x1b'),'content':_0x69713e(this[_0x1683('0x27')][_0x1683('0x1d')],_0xe8d530)};}}}
23
+ const _0xff3d=['resizeTableWidth','selection','TrackChangesEditing','discard','getAttribute','author','plugins','getTableColumnsWidths','format','accept','getSuggestionCallback','data','subType','getContainedElement','*Format:*\x20resize\x20table','registerCustomCallback','commandParams','getSelectedElement','columnWidths','get','formatGroupId','editor','handleSuggestionDescription','_descriptionFactory','bind','document','Users','change','tableWidth','has','getColumnGroupElement','afterInit','resizeTable','type','formatBlock','registerDescriptionCallback','_suggestionFactory'];(function(_0x1514a6,_0xff3d54){const _0x5b62e9=function(_0x2738bd){while(--_0x2738bd){_0x1514a6['push'](_0x1514a6['shift']());}};_0x5b62e9(++_0xff3d54);}(_0xff3d,0xbc));const _0x5b62=function(_0x1514a6,_0xff3d54){_0x1514a6=_0x1514a6-0x0;let _0x5b62e9=_0xff3d[_0x1514a6];return _0x5b62e9;};import{Plugin as _0x4bc5b1}from'ckeditor5/src/core.js';import{getTranslation as _0x5675fd}from'../utils/common-translations.js';export default class It extends _0x4bc5b1{[_0x5b62('0x1c')](){if(!this[_0x5b62('0x12')][_0x5b62('0x3')][_0x5b62('0x1a')]('TableColumnResizeEditing'))return;const _0x4366fd=this[_0x5b62('0x12')][_0x5b62('0x3')]['get']('TrackChangesEditing');_0x4366fd['enableCommand'](_0x5b62('0x22'),this['handleResizeTableWidthCommand'][_0x5b62('0x15')](this)),_0x4366fd[_0x5b62('0x21')][_0x5b62('0xc')](_0x5b62('0x1f'),_0x5b62('0x1d'),'accept',_0x4366fd[_0x5b62('0x21')][_0x5b62('0x7')](_0x5b62('0x1f'),null,'discard')),_0x4366fd[_0x5b62('0x21')][_0x5b62('0xc')]('formatBlock',_0x5b62('0x1d'),_0x5b62('0x0'),_0x4366fd[_0x5b62('0x21')][_0x5b62('0x7')](_0x5b62('0x1f'),null,_0x5b62('0x6'))),_0x4366fd[_0x5b62('0x14')][_0x5b62('0x20')](this[_0x5b62('0x13')]['bind'](this));}['handleResizeTableWidthCommand'](_0x2c196b,_0x397bed){const _0x5aa54d=this['editor'][_0x5b62('0x3')][_0x5b62('0x10')](_0x5b62('0x24')),_0x463568=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x3c71e1=_0x397bed['table']||this[_0x5b62('0x12')]['model'][_0x5b62('0x16')][_0x5b62('0x23')][_0x5b62('0xe')]();this[_0x5b62('0x12')]['model'][_0x5b62('0x18')](()=>{const _0x76d1ae=_0x463568[_0x5b62('0x1b')](_0x3c71e1);let _0x434d22=_0x76d1ae?_0x463568[_0x5b62('0x4')](_0x76d1ae):null,_0x4d16e2=_0x3c71e1[_0x5b62('0x1')](_0x5b62('0x19'))||null;const _0xa93c39=_0x397bed[_0x5b62('0x19')]||_0x4d16e2,_0x99a101=_0x397bed[_0x5b62('0xf')]||_0x434d22,_0x51cefa=this['editor']['plugins'][_0x5b62('0x10')](_0x5b62('0x17'))['me'];for(const _0x50ed0f of _0x5aa54d['getSuggestions']()){const _0x4ebb0b=_0x50ed0f[_0x5b62('0xa')]();if(_0x5b62('0x1d')===_0x50ed0f[_0x5b62('0x9')]&&_0x4ebb0b===_0x3c71e1){_0x50ed0f[_0x5b62('0x2')]!==_0x51cefa&&_0x50ed0f[_0x5b62('0x0')]();const _0x2aad1c=_0x50ed0f[_0x5b62('0x8')][_0x5b62('0xd')];_0x4d16e2=_0x2aad1c[0x0][_0x5b62('0x19')],_0x434d22=_0x2aad1c[0x0]['columnWidths'];break;}}_0x2c196b({'table':_0x3c71e1,'tableWidth':_0xa93c39,'columnWidths':_0x99a101}),_0x5aa54d['markBlockFormat'](_0x3c71e1,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4d16e2,'columnWidths':_0x434d22}],'formatGroupId':_0x5b62('0x1d')},[],_0x5b62('0x1d'));});}[_0x5b62('0x13')](_0x1b6063){if('formatBlock'!=_0x1b6063[_0x5b62('0x1e')]&&'formatInline'!=_0x1b6063[_0x5b62('0x1e')])return;const {data:_0x50e0ce}=_0x1b6063;if(_0x50e0ce&&_0x5b62('0x1d')===_0x50e0ce[_0x5b62('0x11')]){const _0x13e70e=_0x5b62('0xb');return{'type':_0x5b62('0x5'),'content':_0x5675fd(this['editor']['locale'],_0x13e70e)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10ce=['stop','TableUtils','mapper','setTableRowHeader','editing','_acceptFormatSuggestionCallbackFactory','removeClass','requires','nodeAfter','bindElementToMarker','showSuggestionHighlights','getCellLocation','highest','removeAttribute','registerAttributeLabel','item','markerRange','_descriptionFactory','forceValue','writer','formatBlock','editor','consumable','includes','FORMAT_HEADER_ROW','has','name','*Format:*\x20%0','format','TableEditing','type','TrackChangesEditing','data','parent','plugins','registerCustomCallback','locale','_registerLegacyDescription','_suggestionFactory','ck-suggestion-marker-','addMarker:suggestion','activeMarkers','commandParams','registerDescriptionCallback','afterInit','setAttribute','commandName','ck-suggestion-marker--active','data-suggestion','get','FORMAT_HEADER_COLUMN','setTableColumnHeader','downcastDispatcher','markerName','start','headingRows','removeMarker:suggestion','_splitMarkerName','unbindElementFromMarkerName','end','cell','nodeBefore','_enableDefaultAttributesIntegration','accept','consume','markerNameToElements'];(function(_0x54cf8c,_0x10ce8){const _0x569260=function(_0x426457){while(--_0x426457){_0x54cf8c['push'](_0x54cf8c['shift']());}};_0x569260(++_0x10ce8);}(_0x10ce,0x1c8));const _0x5692=function(_0x54cf8c,_0x10ce8){_0x54cf8c=_0x54cf8c-0x0;let _0x569260=_0x10ce[_0x54cf8c];return _0x569260;};import{Plugin as _0x52b7c7}from'ckeditor5/src/core.js';import _0x510a31 from'./table.js';import{getTranslation as _0x27d7b5}from'../utils/common-translations.js';export default class St extends _0x52b7c7{static get[_0x5692('0xd')](){return[_0x510a31];}[_0x5692('0x32')](){const _0x17d693=this[_0x5692('0x1b')];if(!_0x17d693[_0x5692('0x28')][_0x5692('0x1f')](_0x5692('0x23')))return;const _0x106614=_0x17d693[_0x5692('0x2a')],_0x5cc5c0=_0x17d693[_0x5692('0x28')][_0x5692('0x37')]('TrackChangesEditing');_0x5cc5c0[_0x5692('0x2')](_0x5692('0x9'),[],[_0x5692('0x3d')]),_0x5cc5c0[_0x5692('0x2')]('setTableColumnHeader',[],['headingColumns']),_0x5cc5c0['_descriptionFactory'][_0x5692('0x14')](_0x5692('0x3d'),_0x27d7b5(_0x106614,_0x5692('0x1e'))),_0x5cc5c0[_0x5692('0x17')][_0x5692('0x14')]('headingColumns',_0x27d7b5(_0x106614,_0x5692('0x38'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x5cea80=this['editor'][_0x5692('0x28')][_0x5692('0x37')](_0x5692('0x25')),_0x1a5061=this[_0x5692('0x1b')][_0x5692('0x28')]['get'](_0x5692('0x7')),_0x589d1d=this['editor'][_0x5692('0x28')][_0x5692('0x37')](_0x510a31)[_0x5692('0xb')]();function _0x1bd2ea({showActiveMarker:_0xac2e17=!0x0,setDataAttribute:_0x5b4dc0=!0x0}={}){return(_0x3ce766,_0x58c819,_0x106e4f)=>{const {type:_0x7b2a17,id:_0xf45da4}=_0x5cea80[_0x5692('0x3f')](_0x58c819[_0x5692('0x3b')]),_0x29b5fe=_0x5cea80['getSuggestion'](_0xf45da4),_0x4c2e57=_0x29b5fe[_0x5692('0x26')];if(_0x5692('0x1a')!=_0x29b5fe['type']||!_0x4c2e57||'setTableColumnHeader'!=_0x4c2e57['commandName'])return;if(_0x58c819[_0x5692('0x15')])return void _0x3ce766[_0x5692('0x6')]();if(!_0x106e4f[_0x5692('0x1c')][_0x5692('0x4')](_0x58c819[_0x5692('0x16')],_0x3ce766[_0x5692('0x20')]))return;const _0x112702=_0x58c819[_0x5692('0x16')][_0x5692('0x3c')][_0x5692('0xe')],_0x22c622=_0x58c819[_0x5692('0x16')][_0x5692('0x41')][_0x5692('0x1')],_0x4b8d2e=_0x112702[_0x5692('0x27')][_0x5692('0x27')],{column:_0xf24338}=_0x1a5061[_0x5692('0x11')](_0x112702),{column:_0x333847}=_0x1a5061[_0x5692('0x11')](_0x22c622);for(let _0x40ce5c=_0xf24338;_0x40ce5c<=_0x333847;_0x40ce5c++){const _0x50fd2f=_0x1a5061['createTableWalker'](_0x4b8d2e,{'column':_0x40ce5c,'includeAllSlots':!0x1});for(const _0x56f9b5 of _0x50fd2f){const _0x4e535f=_0x56f9b5[_0x5692('0x0')],_0x3ac495=_0x106e4f[_0x5692('0x8')]['toViewElement'](_0x4e535f);_0x106e4f[_0x5692('0x19')]['addClass'](_0x5692('0x2d')+_0x7b2a17,_0x3ac495),_0x5b4dc0&&_0x106e4f[_0x5692('0x19')][_0x5692('0x33')](_0x5692('0x36'),_0xf45da4,_0x3ac495),_0x106e4f[_0x5692('0x8')][_0x5692('0xf')](_0x3ac495,_0x58c819[_0x5692('0x3b')]),_0xac2e17&&(_0x5cea80[_0x5692('0x2f')][_0x5692('0x1d')](_0x58c819[_0x5692('0x3b')])?_0x106e4f[_0x5692('0x19')]['addClass'](_0x5692('0x35'),_0x3ac495):_0x106e4f['writer'][_0x5692('0xc')](_0x5692('0x35'),_0x3ac495));}}};}_0x5cea80[_0x5692('0x2c')][_0x5692('0x29')](_0x5692('0x1a'),'setTableRowHeader','accept',_0x589d1d),_0x5cea80[_0x5692('0x2c')][_0x5692('0x29')](_0x5692('0x1a'),_0x5692('0x39'),_0x5692('0x3'),_0x589d1d),this[_0x5692('0x1b')]['editing'][_0x5692('0x3a')]['on']('addMarker:suggestion',_0x1bd2ea(),{'priority':'highest'}),this[_0x5692('0x1b')][_0x5692('0x26')][_0x5692('0x3a')]['on'](_0x5692('0x2e'),(_0x11e3b6,_0x3d824d,_0x262031)=>{_0x262031['options'][_0x5692('0x10')]&&_0x1bd2ea({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x11e3b6,_0x3d824d,_0x262031);},{'priority':_0x5692('0x12')}),this[_0x5692('0x1b')][_0x5692('0xa')]['downcastDispatcher']['on'](_0x5692('0x3e'),(_0x20b9a4,_0x51bf1f,_0x2d6106)=>{const {type:_0x1cbba8,id:_0x453953}=_0x5cea80[_0x5692('0x3f')](_0x51bf1f[_0x5692('0x3b')]),_0x1b03a5=_0x5cea80['getSuggestion'](_0x453953),_0x26fc91=_0x1b03a5[_0x5692('0x26')];if('formatBlock'!=_0x1b03a5[_0x5692('0x24')]||!_0x26fc91||_0x5692('0x39')!=_0x26fc91[_0x5692('0x34')])return;const _0x37525e=_0x2d6106['mapper'][_0x5692('0x5')](_0x51bf1f['markerName']);if(_0x37525e)for(const _0x3ab0f5 of _0x37525e)_0x2d6106[_0x5692('0x19')]['removeClass'](_0x5692('0x2d')+_0x1cbba8,_0x3ab0f5),_0x2d6106['writer'][_0x5692('0xc')](_0x5692('0x35'),_0x3ab0f5),_0x2d6106[_0x5692('0x19')][_0x5692('0x13')]('data-suggestion',_0x3ab0f5),_0x2d6106[_0x5692('0x8')][_0x5692('0x40')](_0x3ab0f5,_0x51bf1f[_0x5692('0x3b')]);},{'priority':_0x5692('0x12')}),this[_0x5692('0x2b')]();}[_0x5692('0x2b')](){const _0x4459a5=this['editor'],_0x558586=_0x4459a5[_0x5692('0x2a')];function _0x166a17(_0x4b2c7a){return{'type':_0x5692('0x22'),'content':_0x27d7b5(_0x558586,_0x5692('0x21'),_0x4b2c7a)};}_0x4459a5[_0x5692('0x28')][_0x5692('0x37')]('TrackChangesEditing')[_0x5692('0x17')][_0x5692('0x31')](_0x57a308=>{if('formatBlock'!=_0x57a308[_0x5692('0x24')])return;const {data:_0x345f24}=_0x57a308;if(_0x345f24){if(_0x5692('0x9')==_0x345f24[_0x5692('0x34')]){const _0x441e66=_0x345f24[_0x5692('0x30')][0x0][_0x5692('0x18')];return _0x166a17(_0x27d7b5(_0x558586,_0x441e66?_0x5692('0x1e'):'FORMAT_REGULAR_ROW'));}if(_0x5692('0x39')==_0x345f24[_0x5692('0x34')]){const _0x460ff4=_0x345f24['commandParams'][0x0][_0x5692('0x18')];return _0x166a17(_0x27d7b5(_0x558586,_0x460ff4?_0x5692('0x38'):'FORMAT_REGULAR_COLUMN'));}}});}}
23
+ const _0x376a=['showSuggestionHighlights','editing','setTableRowHeader','highest','data','bindElementToMarker','activeMarkers','commandName','markerNameToElements','TableUtils','TrackChangesEditing','_suggestionFactory','nodeBefore','forceValue','headingRows','_splitMarkerName','formatBlock','markerRange','ck-suggestion-marker-','accept','_registerLegacyDescription','_acceptFormatSuggestionCallbackFactory','FORMAT_REGULAR_COLUMN','commandParams','data-suggestion','FORMAT_REGULAR_ROW','addMarker:suggestion','markerName','createTableWalker','setTableColumnHeader','consume','get','parent','_enableDefaultAttributesIntegration','removeMarker:suggestion','removeClass','has','addClass','FORMAT_HEADER_COLUMN','plugins','cell','*Format:*\x20%0','_handleLegacySuggestions','requires','getCellLocation','nodeAfter','registerDescriptionCallback','mapper','options','headingColumns','unbindElementFromMarkerName','includes','writer','registerAttributeLabel','consumable','toViewElement','FORMAT_HEADER_ROW','registerCustomCallback','locale','afterInit','editor','ck-suggestion-marker--active','_descriptionFactory','type','getSuggestion'];(function(_0x33392e,_0x376ac1){const _0x3106c1=function(_0x43475e){while(--_0x43475e){_0x33392e['push'](_0x33392e['shift']());}};_0x3106c1(++_0x376ac1);}(_0x376a,0x13b));const _0x3106=function(_0x33392e,_0x376ac1){_0x33392e=_0x33392e-0x0;let _0x3106c1=_0x376a[_0x33392e];return _0x3106c1;};import{Plugin as _0x36f143}from'ckeditor5/src/core.js';import _0x4e3ab6 from'./table.js';import{getTranslation as _0x26832f}from'../utils/common-translations.js';export default class St extends _0x36f143{static get[_0x3106('0x35')](){return[_0x4e3ab6];}[_0x3106('0x4')](){const _0x798f28=this['editor'];if(!_0x798f28['plugins'][_0x3106('0x2e')]('TableEditing'))return;const _0x125ebe=_0x798f28[_0x3106('0x3')],_0x361105=_0x798f28[_0x3106('0x31')][_0x3106('0x29')](_0x3106('0x14'));_0x361105['_enableDefaultAttributesIntegration']('setTableRowHeader',[],[_0x3106('0x18')]),_0x361105[_0x3106('0x2b')](_0x3106('0x27'),[],[_0x3106('0x3b')]),_0x361105[_0x3106('0x7')][_0x3106('0x3f')]('headingRows',_0x26832f(_0x125ebe,_0x3106('0x1'))),_0x361105['_descriptionFactory'][_0x3106('0x3f')](_0x3106('0x3b'),_0x26832f(_0x125ebe,_0x3106('0x30'))),this[_0x3106('0x34')]();}[_0x3106('0x34')](){const _0x105f4a=this[_0x3106('0x5')]['plugins']['get'](_0x3106('0x14')),_0x367cc4=this[_0x3106('0x5')]['plugins'][_0x3106('0x29')](_0x3106('0x13')),_0x240c45=this['editor'][_0x3106('0x31')][_0x3106('0x29')](_0x4e3ab6)[_0x3106('0x1f')]();function _0x1dc8aa({showActiveMarker:_0x4d0e7a=!0x0,setDataAttribute:_0x5c907d=!0x0}={}){return(_0x4cc1a3,_0x2b99f3,_0x9afbc3)=>{const {type:_0x44b640,id:_0x438b1b}=_0x105f4a[_0x3106('0x19')](_0x2b99f3[_0x3106('0x25')]),_0x32a2a0=_0x105f4a[_0x3106('0x9')](_0x438b1b),_0x546cdb=_0x32a2a0[_0x3106('0xe')];if('formatBlock'!=_0x32a2a0[_0x3106('0x8')]||!_0x546cdb||_0x3106('0x27')!=_0x546cdb[_0x3106('0x11')])return;if(_0x2b99f3['item'])return void _0x4cc1a3['stop']();if(!_0x9afbc3[_0x3106('0x40')][_0x3106('0x28')](_0x2b99f3[_0x3106('0x1b')],_0x4cc1a3['name']))return;const _0x387fd5=_0x2b99f3['markerRange']['start'][_0x3106('0x37')],_0x1504ae=_0x2b99f3[_0x3106('0x1b')]['end'][_0x3106('0x16')],_0x43894b=_0x387fd5[_0x3106('0x2a')][_0x3106('0x2a')],{column:_0x5374ac}=_0x367cc4[_0x3106('0x36')](_0x387fd5),{column:_0x47842f}=_0x367cc4[_0x3106('0x36')](_0x1504ae);for(let _0x551e58=_0x5374ac;_0x551e58<=_0x47842f;_0x551e58++){const _0x34913f=_0x367cc4[_0x3106('0x26')](_0x43894b,{'column':_0x551e58,'includeAllSlots':!0x1});for(const _0x4f9e94 of _0x34913f){const _0x588a83=_0x4f9e94[_0x3106('0x32')],_0x176b17=_0x9afbc3[_0x3106('0x39')][_0x3106('0x0')](_0x588a83);_0x9afbc3['writer']['addClass'](_0x3106('0x1c')+_0x44b640,_0x176b17),_0x5c907d&&_0x9afbc3['writer']['setAttribute'](_0x3106('0x22'),_0x438b1b,_0x176b17),_0x9afbc3[_0x3106('0x39')][_0x3106('0xf')](_0x176b17,_0x2b99f3[_0x3106('0x25')]),_0x4d0e7a&&(_0x105f4a[_0x3106('0x10')][_0x3106('0x3d')](_0x2b99f3[_0x3106('0x25')])?_0x9afbc3[_0x3106('0x3e')][_0x3106('0x2f')](_0x3106('0x6'),_0x176b17):_0x9afbc3[_0x3106('0x3e')][_0x3106('0x2d')](_0x3106('0x6'),_0x176b17));}}};}_0x105f4a[_0x3106('0x15')][_0x3106('0x2')](_0x3106('0x1a'),_0x3106('0xc'),_0x3106('0x1d'),_0x240c45),_0x105f4a[_0x3106('0x15')][_0x3106('0x2')](_0x3106('0x1a'),'setTableColumnHeader','accept',_0x240c45),this[_0x3106('0x5')][_0x3106('0xb')]['downcastDispatcher']['on']('addMarker:suggestion',_0x1dc8aa(),{'priority':_0x3106('0xd')}),this['editor'][_0x3106('0xe')]['downcastDispatcher']['on'](_0x3106('0x24'),(_0x596755,_0x1b5501,_0xbfcd36)=>{_0xbfcd36[_0x3106('0x3a')][_0x3106('0xa')]&&_0x1dc8aa({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x596755,_0x1b5501,_0xbfcd36);},{'priority':_0x3106('0xd')}),this[_0x3106('0x5')][_0x3106('0xb')]['downcastDispatcher']['on'](_0x3106('0x2c'),(_0x17adea,_0x33c12e,_0x4485ce)=>{const {type:_0x1fd5a3,id:_0x5542aa}=_0x105f4a[_0x3106('0x19')](_0x33c12e[_0x3106('0x25')]),_0x5d8689=_0x105f4a[_0x3106('0x9')](_0x5542aa),_0x414709=_0x5d8689[_0x3106('0xe')];if(_0x3106('0x1a')!=_0x5d8689[_0x3106('0x8')]||!_0x414709||_0x3106('0x27')!=_0x414709[_0x3106('0x11')])return;const _0x3c2a5f=_0x4485ce[_0x3106('0x39')][_0x3106('0x12')](_0x33c12e[_0x3106('0x25')]);if(_0x3c2a5f)for(const _0x350b04 of _0x3c2a5f)_0x4485ce[_0x3106('0x3e')][_0x3106('0x2d')](_0x3106('0x1c')+_0x1fd5a3,_0x350b04),_0x4485ce[_0x3106('0x3e')][_0x3106('0x2d')](_0x3106('0x6'),_0x350b04),_0x4485ce['writer']['removeAttribute'](_0x3106('0x22'),_0x350b04),_0x4485ce[_0x3106('0x39')][_0x3106('0x3c')](_0x350b04,_0x33c12e[_0x3106('0x25')]);},{'priority':_0x3106('0xd')}),this[_0x3106('0x1e')]();}[_0x3106('0x1e')](){const _0x2a55bb=this[_0x3106('0x5')],_0x3eac5d=_0x2a55bb[_0x3106('0x3')];function _0x5a6a6d(_0x377a1a){return{'type':'format','content':_0x26832f(_0x3eac5d,_0x3106('0x33'),_0x377a1a)};}_0x2a55bb[_0x3106('0x31')][_0x3106('0x29')](_0x3106('0x14'))[_0x3106('0x7')][_0x3106('0x38')](_0x19cb58=>{if('formatBlock'!=_0x19cb58[_0x3106('0x8')])return;const {data:_0x10e2b5}=_0x19cb58;if(_0x10e2b5){if('setTableRowHeader'==_0x10e2b5[_0x3106('0x11')]){const _0x400c7d=_0x10e2b5[_0x3106('0x21')][0x0][_0x3106('0x17')];return _0x5a6a6d(_0x26832f(_0x3eac5d,_0x400c7d?_0x3106('0x1'):_0x3106('0x23')));}if(_0x3106('0x27')==_0x10e2b5[_0x3106('0x11')]){const _0x2c859b=_0x10e2b5[_0x3106('0x21')][0x0][_0x3106('0x17')];return _0x5a6a6d(_0x26832f(_0x3eac5d,_0x2c859b?_0x3106('0x30'):_0x3106('0x20')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ab6=['accept','has','root','value','stop','push','selection','getCellLocation','getSuggestions','highest','splitTableCellHorizontally','_areSelectedCellsMergable','isInContent','registerDescriptionCallback','get','from','mergeTableCells','add','type','mergeTableCellLeft','forceDefaultExecution','getAncestors','subType','document','return','markMultiRangeBlockFormat','TrackChangesEditing','formatInline','_isForcedDefaultExecutionBlock','TableUtils','createRangeOn','direction','_areMergableCells','isEnabled','getFirstPosition','refresh','length','findAncestor','editor','containsRange','setSelection','registerCustomCallback','commandName','set:isEnabled','author','TableEditing','*Split\x20cell:*\x20vertically','table','format','createTableWalker','afterInit','rootName','enableCommand','getRanges','change','size','trackChanges','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','tableCell','mergeTableCellUp','execute','*Split\x20cell:*\x20horizontally','plugins','element','low','map','commands','splitTableCellVertically','formatBlock','model','mergeTableCellDown','requires','$graveyard','insertion','cell','mergeTableCellRight','find','filter'];(function(_0x4293e0,_0x4ab6fb){const _0x542022=function(_0x1c26bf){while(--_0x1c26bf){_0x4293e0['push'](_0x4293e0['shift']());}};_0x542022(++_0x4ab6fb);}(_0x4ab6,0x17b));const _0x5420=function(_0x4293e0,_0x4ab6fb){_0x4293e0=_0x4293e0-0x0;let _0x542022=_0x4ab6[_0x4293e0];return _0x542022;};import{Plugin as _0xcd357a}from'ckeditor5/src/core.js';import _0x2a6ad3 from'./table.js';import{LiveRange as _0x51da94}from'ckeditor5/src/engine.js';import{getTranslation as _0x37bbf5}from'../utils/common-translations.js';export default class jt extends _0xcd357a{static get[_0x5420('0x9')](){return[_0x2a6ad3];}[_0x5420('0x42')](){const _0x2f68b8=this[_0x5420('0x36')],_0x29f373=_0x2f68b8['model'][_0x5420('0x27')][_0x5420('0x16')],_0x59c37d=_0x2f68b8['locale'];if(!_0x2f68b8[_0x5420('0x0')][_0x5420('0x11')](_0x5420('0x3d')))return;const _0xd08810=_0x2f68b8[_0x5420('0x0')]['get'](_0x5420('0x2a')),_0x5e363e=_0x2f68b8[_0x5420('0x0')]['get'](_0x5420('0x2d')),_0x2dd412=_0x2f68b8['plugins']['get'](_0x2a6ad3);_0x2dd412['_tablePostFixingSubtypes'][_0x5420('0x15')](_0x5420('0x20')),_0xd08810[_0x5420('0x44')](_0x5420('0x20'),()=>{const _0x4e0a47=_0x5e363e['getSelectionAffectedTableCells'](_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')]);_0x2f68b8[_0x5420('0x7')]['change'](()=>{_0xd08810[_0x5420('0x29')](_0x4e0a47,{'commandName':_0x5420('0x20'),'commandParams':[]},[],_0x5420('0x20'));});}),_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x20'))['on'](_0x5420('0x4d'),(_0x245065,_0x186479)=>{_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x48'))[_0x5420('0x13')]&&(_0x186479[_0x5420('0x34')]>0x0&&_0x186479[_0x186479[_0x5420('0x34')]-0x1]&&_0x186479[_0x186479[_0x5420('0x34')]-0x1][_0x5420('0x24')]||_0xd08810[_0x5420('0x2c')]||this['_areSelectedCellsMergable']()||_0x245065['stop']());},{'priority':_0x5420('0x19')});for(const _0x7cd28a of[_0x5420('0x4c'),_0x5420('0xd'),_0x5420('0x8'),_0x5420('0x23')]){const _0x3f2143=_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x7cd28a);_0xd08810[_0x5420('0x44')](_0x7cd28a,()=>{const _0x1b0cda=_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')][_0x5420('0x32')]()['getAncestors']()[_0x5420('0xe')](_0x283d75=>_0x283d75['is'](_0x5420('0x1'),_0x5420('0x4b'))),_0x29182a=_0x3f2143[_0x5420('0x13')];_0x2f68b8[_0x5420('0x7')][_0x5420('0x46')](()=>{_0xd08810[_0x5420('0x29')]([_0x1b0cda,_0x29182a],{'commandName':_0x5420('0x20'),'commandParams':[]},[],_0x5420('0x20'));});});}for(const _0x350a91 of[_0x5420('0x5'),_0x5420('0x1a')]){const _0x1a0aed=_0x2f68b8['commands'][_0x5420('0x1e')](_0x350a91);_0xd08810['enableCommand'](_0x350a91,()=>{const _0xbf5748=_0x5e363e['getSelectionAffectedTableCells'](_0x2f68b8['model']['document']['selection'])[0x0],_0x110d9c=_0xbf5748[_0x5420('0x35')](_0x5420('0x3f')),{column:_0x2faa69,row:_0x3fd9bf}=_0x5e363e[_0x5420('0x17')](_0xbf5748);let _0x548164=[];if('horizontally'==_0x1a0aed[_0x5420('0x2f')]){const _0x7fd782=_0x5e363e['createTableWalker'](_0x110d9c,{'startRow':_0x3fd9bf,'endRow':_0x3fd9bf,'includeAllSlots':!0x0});_0x548164=Array[_0x5420('0x1f')](_0x7fd782)[_0x5420('0x3')](_0x4202ca=>_0x4202ca[_0x5420('0xc')]);}else{const _0x3947ef=_0x5e363e[_0x5420('0x41')](_0x110d9c,{'column':_0x2faa69,'includeAllSlots':!0x0});_0x548164=Array[_0x5420('0x1f')](_0x3947ef)[_0x5420('0x3')](_0x19f93f=>_0x19f93f[_0x5420('0xc')]);}_0x2f68b8[_0x5420('0x7')][_0x5420('0x46')](_0x46a658=>{_0xd08810['markBlockFormat'](_0x46a658[_0x5420('0x2e')](_0xbf5748),{'commandName':_0x350a91,'commandParams':[]},_0x548164,_0x350a91);});});}_0xd08810['_descriptionFactory'][_0x5420('0x1d')](_0x11eec3=>{if(_0x5420('0x6')!=_0x11eec3['type']&&'formatInline'!=_0x11eec3[_0x5420('0x22')])return;const {data:_0x5b5a48}=_0x11eec3;return _0x5b5a48&&'mergeTableCells'==_0x5b5a48['commandName']?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,'*Merge\x20cells*')}:void 0x0;}),_0xd08810['_descriptionFactory'][_0x5420('0x1d')](_0x4c20e0=>{if(_0x5420('0x6')!=_0x4c20e0[_0x5420('0x22')]&&_0x5420('0x2b')!=_0x4c20e0[_0x5420('0x22')])return;const {data:_0x3ce5f9}=_0x4c20e0;return _0x3ce5f9?_0x5420('0x5')==_0x3ce5f9[_0x5420('0x3a')]?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,_0x5420('0x3e'))}:_0x5420('0x1a')==_0x3ce5f9[_0x5420('0x3a')]?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,_0x5420('0x4e'))}:void 0x0:void 0x0;});const _0xf28b42=_0x2dd412[_0x5420('0x49')]();for(const _0x205f78 of[_0x5420('0x4c'),_0x5420('0xd'),_0x5420('0x8'),'mergeTableCellLeft'])_0xd08810[_0x5420('0x4a')][_0x5420('0x39')]('formatBlock',_0x205f78,_0x5420('0x10'),_0xf28b42);for(const _0x1670fa of['splitTableCellVertically',_0x5420('0x1a')])_0xd08810['_suggestionFactory'][_0x5420('0x39')](_0x5420('0x6'),_0x1670fa,'accept',_0xf28b42);_0xd08810['_suggestionFactory'][_0x5420('0x39')]('formatBlock','mergeTableCells',_0x5420('0x10'),_0x5a317a=>{_0x2f68b8['model']['change'](_0x483113=>{const _0x1d8f40=Array['from'](_0x29f373['getRanges']())[_0x5420('0x3')](_0x5be7cf=>_0x51da94['fromRange'](_0x5be7cf));_0x483113[_0x5420('0x38')](_0x5a317a),_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x20'))[_0x5420('0x33')](),_0x2f68b8[_0x5420('0x4d')](_0x5420('0x20'),{'forceDefaultExecution':!0x0});const _0x268005=_0x1d8f40[_0x5420('0xf')](_0x3d2048=>_0x5420('0xa')!=_0x3d2048[_0x5420('0x12')][_0x5420('0x43')]);_0x268005[_0x5420('0x34')]>0x0&&_0x483113[_0x5420('0x38')](_0x268005);for(const _0x57214c of _0x1d8f40)_0x57214c['detach']();});});for(const _0x54f3dd of[_0x5420('0x4c'),_0x5420('0x8'),_0x5420('0x23'),_0x5420('0xd')]){const _0x35fece=_0x2f68b8[_0x5420('0x4')]['get'](_0x54f3dd);_0x35fece['on'](_0x5420('0x3b'),(_0x559f12,_0x37703f,_0xb9c5d4)=>{if(_0xb9c5d4){const _0x32db91=_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')][_0x5420('0x32')]()[_0x5420('0x25')]()[_0x5420('0xe')](_0xf57505=>_0xf57505['is'](_0x5420('0x1'),_0x5420('0x4b')));this['_areMergableCells'](_0x35fece['value'],_0x32db91)||(_0x559f12[_0x5420('0x28')]=!0x1,_0x559f12[_0x5420('0x14')]());}},{'priority':_0x5420('0x2')});}}[_0x5420('0x1b')](){const _0x57cf9f=this['editor'][_0x5420('0x4')]['get'](_0x5420('0x20')),_0x57641f=this[_0x5420('0x36')]['plugins'][_0x5420('0x1e')](_0x5420('0x2d'));if(!_0x57cf9f[_0x5420('0x31')])return!0x1;const _0x4ec621=_0x57641f['getSelectionAffectedTableCells'](this['editor'][_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')]);for(const _0x1dc390 of _0x4ec621)for(const _0x59bbbf of _0x4ec621)if(_0x1dc390!=_0x59bbbf&&!this[_0x5420('0x30')](_0x1dc390,_0x59bbbf))return!0x1;return!0x0;}['_areMergableCells'](_0x5e72ea,_0x5ef81f){const _0x442e47=this[_0x5420('0x36')]['plugins'][_0x5420('0x1e')](_0x5420('0x2a')),_0xfc874e=this[_0x5420('0x36')][_0x5420('0x7')][_0x5420('0x2e')](_0x5e72ea),_0xbba729=this['editor'][_0x5420('0x7')][_0x5420('0x2e')](_0x5ef81f),_0x4deb1f=new Set(),_0x9ba758=new Set();for(const _0x202bf5 of _0x442e47[_0x5420('0x18')]())if((_0x5420('0xb')==_0x202bf5[_0x5420('0x22')]||'deletion'==_0x202bf5[_0x5420('0x22')]||_0x5420('0x20')==_0x202bf5[_0x5420('0x26')])&&_0x202bf5[_0x5420('0x1c')])for(const _0x194eba of _0x202bf5[_0x5420('0x45')]())_0x194eba[_0x5420('0x37')](_0xfc874e,!0x0)&&_0x4deb1f['add'](_0x202bf5[_0x5420('0x22')]+':'+_0x202bf5['author']['id']),_0x194eba[_0x5420('0x37')](_0xbba729,!0x0)&&_0x9ba758[_0x5420('0x21')](_0x202bf5[_0x5420('0x22')]+':'+_0x202bf5[_0x5420('0x3c')]['id']);if(_0x4deb1f[_0x5420('0x47')]!=_0x9ba758[_0x5420('0x47')])return!0x1;for(const _0xac5858 of _0x4deb1f)if(!_0x9ba758[_0x5420('0x11')](_0xac5858))return!0x1;return!0x0;}}
23
+ const _0x31ad=['low','_tablePostFixingSubtypes','add','findAncestor','table','afterInit','execute','formatBlock','getSuggestions','value','mergeTableCellRight','mergeTableCellLeft','_acceptFormatSuggestionCallbackFactory','has','forceDefaultExecution','formatInline','registerDescriptionCallback','root','getSelectionAffectedTableCells','get','stop','_descriptionFactory','mergeTableCellDown','type','trackChanges','accept','getFirstPosition','from','editor','plugins','direction','horizontally','*Split\x20cell:*\x20vertically','map','mergeTableCellUp','rootName','format','subType','_areMergableCells','model','length','TableEditing','highest','commandName','refresh','_suggestionFactory','set:isEnabled','createTableWalker','registerCustomCallback','commands','containsRange','return','getRanges','splitTableCellVertically','cell','$graveyard','detach','fromRange','requires','author','getCellLocation','locale','isInContent','getAncestors','_areSelectedCellsMergable','tableCell','markMultiRangeBlockFormat','splitTableCellHorizontally','mergeTableCells','TableUtils','size','change','push','find','selection','document','*Merge\x20cells*','createRangeOn','insertion','enableCommand','isEnabled','filter'];(function(_0x2bd3b1,_0x31adfc){const _0x37a00e=function(_0x4dfea6){while(--_0x4dfea6){_0x2bd3b1['push'](_0x2bd3b1['shift']());}};_0x37a00e(++_0x31adfc);}(_0x31ad,0x11c));const _0x37a0=function(_0x2bd3b1,_0x31adfc){_0x2bd3b1=_0x2bd3b1-0x0;let _0x37a00e=_0x31ad[_0x2bd3b1];return _0x37a00e;};import{Plugin as _0x19c5be}from'ckeditor5/src/core.js';import _0x1a066c from'./table.js';import{LiveRange as _0x4326da}from'ckeditor5/src/engine.js';import{getTranslation as _0x3f68f3}from'../utils/common-translations.js';export default class jt extends _0x19c5be{static get[_0x37a0('0x14')](){return[_0x1a066c];}[_0x37a0('0x31')](){const _0x534b6f=this['editor'],_0x3c3e6e=_0x534b6f['model'][_0x37a0('0x25')][_0x37a0('0x24')],_0xc612ec=_0x534b6f[_0x37a0('0x17')];if(!_0x534b6f[_0x37a0('0x49')][_0x37a0('0x39')](_0x37a0('0x3')))return;const _0x48fb40=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')]('TrackChangesEditing'),_0x3a31f0=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')](_0x37a0('0x1f')),_0x1c8e64=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')](_0x1a066c);_0x1c8e64[_0x37a0('0x2d')][_0x37a0('0x22')](_0x37a0('0x1e')),_0x48fb40[_0x37a0('0x29')](_0x37a0('0x1e'),()=>{const _0x3a7f0d=_0x3a31f0[_0x37a0('0x3e')](_0x534b6f['model'][_0x37a0('0x25')][_0x37a0('0x24')]);_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](()=>{_0x48fb40[_0x37a0('0x1c')](_0x3a7f0d,{'commandName':_0x37a0('0x1e'),'commandParams':[]},[],_0x37a0('0x1e'));});}),_0x534b6f['commands'][_0x37a0('0x3f')]('mergeTableCells')['on'](_0x37a0('0x32'),(_0xe1c7b2,_0x42dab9)=>{_0x534b6f[_0x37a0('0xb')]['get'](_0x37a0('0x44'))[_0x37a0('0x35')]&&(_0x42dab9[_0x37a0('0x2')]>0x0&&_0x42dab9[_0x42dab9[_0x37a0('0x2')]-0x1]&&_0x42dab9[_0x42dab9[_0x37a0('0x2')]-0x1][_0x37a0('0x3a')]||_0x48fb40['_isForcedDefaultExecutionBlock']||this[_0x37a0('0x1a')]()||_0xe1c7b2[_0x37a0('0x40')]());},{'priority':_0x37a0('0x4')});for(const _0x982877 of[_0x37a0('0x4e'),_0x37a0('0x36'),_0x37a0('0x42'),_0x37a0('0x37')]){const _0x35f55b=_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x982877);_0x48fb40[_0x37a0('0x29')](_0x982877,()=>{const _0x1cdcdb=_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')]['selection'][_0x37a0('0x46')]()[_0x37a0('0x19')]()['find'](_0x310b86=>_0x310b86['is']('element',_0x37a0('0x1b'))),_0x3f4b19=_0x35f55b['value'];_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](()=>{_0x48fb40[_0x37a0('0x1c')]([_0x1cdcdb,_0x3f4b19],{'commandName':_0x37a0('0x1e'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x1bc07a of['splitTableCellVertically',_0x37a0('0x1d')]){const _0x1c24b8=_0x534b6f[_0x37a0('0xb')]['get'](_0x1bc07a);_0x48fb40[_0x37a0('0x29')](_0x1bc07a,()=>{const _0x237c7e=_0x3a31f0[_0x37a0('0x3e')](_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')][_0x37a0('0x24')])[0x0],_0x355b75=_0x237c7e[_0x37a0('0x2f')](_0x37a0('0x30')),{column:_0x2dcf66,row:_0x5c5566}=_0x3a31f0[_0x37a0('0x16')](_0x237c7e);let _0x40adf8=[];if(_0x37a0('0x4b')==_0x1c24b8[_0x37a0('0x4a')]){const _0x4196be=_0x3a31f0['createTableWalker'](_0x355b75,{'startRow':_0x5c5566,'endRow':_0x5c5566,'includeAllSlots':!0x0});_0x40adf8=Array[_0x37a0('0x47')](_0x4196be)[_0x37a0('0x4d')](_0x57ff57=>_0x57ff57[_0x37a0('0x10')]);}else{const _0x46a4b3=_0x3a31f0[_0x37a0('0x9')](_0x355b75,{'column':_0x2dcf66,'includeAllSlots':!0x0});_0x40adf8=Array['from'](_0x46a4b3)['map'](_0x3e1b92=>_0x3e1b92['cell']);}_0x534b6f['model']['change'](_0x3495ed=>{_0x48fb40['markBlockFormat'](_0x3495ed[_0x37a0('0x27')](_0x237c7e),{'commandName':_0x1bc07a,'commandParams':[]},_0x40adf8,_0x1bc07a);});});}_0x48fb40[_0x37a0('0x41')][_0x37a0('0x3c')](_0x240845=>{if(_0x37a0('0x33')!=_0x240845[_0x37a0('0x43')]&&_0x37a0('0x3b')!=_0x240845[_0x37a0('0x43')])return;const {data:_0x55bb1f}=_0x240845;return _0x55bb1f&&'mergeTableCells'==_0x55bb1f['commandName']?{'type':_0x37a0('0x50'),'content':_0x3f68f3(_0xc612ec,_0x37a0('0x26'))}:void 0x0;}),_0x48fb40['_descriptionFactory'][_0x37a0('0x3c')](_0x4446cb=>{if('formatBlock'!=_0x4446cb[_0x37a0('0x43')]&&'formatInline'!=_0x4446cb[_0x37a0('0x43')])return;const {data:_0x4a9c78}=_0x4446cb;return _0x4a9c78?_0x37a0('0xf')==_0x4a9c78[_0x37a0('0x5')]?{'type':_0x37a0('0x50'),'content':_0x3f68f3(_0xc612ec,_0x37a0('0x4c'))}:_0x37a0('0x1d')==_0x4a9c78['commandName']?{'type':'format','content':_0x3f68f3(_0xc612ec,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x59fc0e=_0x1c8e64[_0x37a0('0x38')]();for(const _0x4431c4 of['mergeTableCellUp',_0x37a0('0x36'),_0x37a0('0x42'),_0x37a0('0x37')])_0x48fb40[_0x37a0('0x7')][_0x37a0('0xa')](_0x37a0('0x33'),_0x4431c4,'accept',_0x59fc0e);for(const _0xd00c0 of[_0x37a0('0xf'),_0x37a0('0x1d')])_0x48fb40['_suggestionFactory'][_0x37a0('0xa')](_0x37a0('0x33'),_0xd00c0,_0x37a0('0x45'),_0x59fc0e);_0x48fb40[_0x37a0('0x7')][_0x37a0('0xa')](_0x37a0('0x33'),_0x37a0('0x1e'),_0x37a0('0x45'),_0x2c1dc3=>{_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](_0x136f0a=>{const _0x26c758=Array['from'](_0x3c3e6e[_0x37a0('0xe')]())[_0x37a0('0x4d')](_0x4a8c71=>_0x4326da[_0x37a0('0x13')](_0x4a8c71));_0x136f0a['setSelection'](_0x2c1dc3),_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x37a0('0x1e'))[_0x37a0('0x6')](),_0x534b6f[_0x37a0('0x32')](_0x37a0('0x1e'),{'forceDefaultExecution':!0x0});const _0x2d0592=_0x26c758[_0x37a0('0x2b')](_0x562296=>_0x37a0('0x11')!=_0x562296[_0x37a0('0x3d')][_0x37a0('0x4f')]);_0x2d0592[_0x37a0('0x2')]>0x0&&_0x136f0a['setSelection'](_0x2d0592);for(const _0x1b3bc7 of _0x26c758)_0x1b3bc7[_0x37a0('0x12')]();});});for(const _0x532aac of[_0x37a0('0x4e'),_0x37a0('0x42'),'mergeTableCellLeft',_0x37a0('0x36')]){const _0x4da633=_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x532aac);_0x4da633['on'](_0x37a0('0x8'),(_0x126e5d,_0x2fe4de,_0x255d1b)=>{if(_0x255d1b){const _0x50c130=_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')]['selection']['getFirstPosition']()[_0x37a0('0x19')]()[_0x37a0('0x23')](_0x2715a3=>_0x2715a3['is']('element',_0x37a0('0x1b')));this['_areMergableCells'](_0x4da633[_0x37a0('0x35')],_0x50c130)||(_0x126e5d[_0x37a0('0xd')]=!0x1,_0x126e5d[_0x37a0('0x40')]());}},{'priority':_0x37a0('0x2c')});}}[_0x37a0('0x1a')](){const _0x4a2819=this[_0x37a0('0x48')][_0x37a0('0xb')]['get'](_0x37a0('0x1e')),_0x28a41b=this['editor'][_0x37a0('0x49')][_0x37a0('0x3f')](_0x37a0('0x1f'));if(!_0x4a2819[_0x37a0('0x2a')])return!0x1;const _0x24d482=_0x28a41b[_0x37a0('0x3e')](this[_0x37a0('0x48')][_0x37a0('0x1')]['document']['selection']);for(const _0x4c8792 of _0x24d482)for(const _0x59ec82 of _0x24d482)if(_0x4c8792!=_0x59ec82&&!this[_0x37a0('0x0')](_0x4c8792,_0x59ec82))return!0x1;return!0x0;}[_0x37a0('0x0')](_0x185cf2,_0x1b719e){const _0x4fe492=this[_0x37a0('0x48')]['plugins']['get']('TrackChangesEditing'),_0x147fe7=this[_0x37a0('0x48')]['model'][_0x37a0('0x27')](_0x185cf2),_0x24d886=this[_0x37a0('0x48')][_0x37a0('0x1')]['createRangeOn'](_0x1b719e),_0x160b66=new Set(),_0x3efcf7=new Set();for(const _0x415b49 of _0x4fe492[_0x37a0('0x34')]())if((_0x37a0('0x28')==_0x415b49[_0x37a0('0x43')]||'deletion'==_0x415b49['type']||_0x37a0('0x1e')==_0x415b49[_0x37a0('0x51')])&&_0x415b49[_0x37a0('0x18')])for(const _0x22eb12 of _0x415b49[_0x37a0('0xe')]())_0x22eb12[_0x37a0('0xc')](_0x147fe7,!0x0)&&_0x160b66[_0x37a0('0x2e')](_0x415b49['type']+':'+_0x415b49[_0x37a0('0x15')]['id']),_0x22eb12[_0x37a0('0xc')](_0x24d886,!0x0)&&_0x3efcf7[_0x37a0('0x2e')](_0x415b49[_0x37a0('0x43')]+':'+_0x415b49[_0x37a0('0x15')]['id']);if(_0x160b66[_0x37a0('0x20')]!=_0x3efcf7[_0x37a0('0x20')])return!0x1;for(const _0x1b83cb of _0x160b66)if(!_0x3efcf7[_0x37a0('0x39')](_0x1b83cb))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51fa=['TrackChangesEditing','get','ELEMENT_TABLE_OF_CONTENTS','afterInit','tableOfContents','plugins','commands','locale','enableCommand'];(function(_0x371b40,_0x51fa7c){const _0x21fde1=function(_0x43e381){while(--_0x43e381){_0x371b40['push'](_0x371b40['shift']());}};_0x21fde1(++_0x51fa7c);}(_0x51fa,0x14b));const _0x21fd=function(_0x371b40,_0x51fa7c){_0x371b40=_0x371b40-0x0;let _0x21fde1=_0x51fa[_0x371b40];return _0x21fde1;};import{Plugin as _0x48ffbb}from'ckeditor5/src/core.js';import{getTranslation as _0x6ed679}from'../utils/common-translations.js';export default class _t extends _0x48ffbb{[_0x21fd('0x5')](){const _0x1c9263=this['editor'];if(!_0x1c9263[_0x21fd('0x8')][_0x21fd('0x3')]('insertTableOfContents'))return;_0x1c9263[_0x21fd('0x7')][_0x21fd('0x3')](_0x21fd('0x2'))[_0x21fd('0x1')]('insertTableOfContents');const _0x4bda96=_0x1c9263[_0x21fd('0x7')][_0x21fd('0x3')](_0x21fd('0x2')),_0x286535=_0x1c9263[_0x21fd('0x0')];_0x4bda96['_descriptionFactory']['registerElementLabel'](_0x21fd('0x6'),_0x177427=>_0x6ed679(_0x286535,_0x21fd('0x4'),_0x177427));}}
23
+ const _0x4ee4=['enableCommand','tableOfContents','editor','insertTableOfContents','afterInit','TrackChangesEditing','_descriptionFactory','get','registerElementLabel','plugins'];(function(_0x5cdee6,_0x4ee456){const _0xfebd8e=function(_0x5153b6){while(--_0x5153b6){_0x5cdee6['push'](_0x5cdee6['shift']());}};_0xfebd8e(++_0x4ee456);}(_0x4ee4,0x1ea));const _0xfebd=function(_0x5cdee6,_0x4ee456){_0x5cdee6=_0x5cdee6-0x0;let _0xfebd8e=_0x4ee4[_0x5cdee6];return _0xfebd8e;};import{Plugin as _0x5eea60}from'ckeditor5/src/core.js';import{getTranslation as _0x388320}from'../utils/common-translations.js';export default class _t extends _0x5eea60{[_0xfebd('0x4')](){const _0x5affec=this[_0xfebd('0x2')];if(!_0x5affec['commands'][_0xfebd('0x7')](_0xfebd('0x3')))return;_0x5affec[_0xfebd('0x9')][_0xfebd('0x7')](_0xfebd('0x5'))[_0xfebd('0x0')]('insertTableOfContents');const _0x94fcf8=_0x5affec[_0xfebd('0x9')][_0xfebd('0x7')](_0xfebd('0x5')),_0x37fedb=_0x5affec['locale'];_0x94fcf8[_0xfebd('0x6')][_0xfebd('0x8')](_0xfebd('0x1'),_0x196f32=>_0x388320(_0x37fedb,'ELEMENT_TABLE_OF_CONTENTS',_0x196f32));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53e8=['batch','tableBorderStyle','data','TableUtils','discard','markBlockFormat','tableProperties','TrackChangesTableProperties','model','getSuggestions','removeAttribute','subType','tableCellHorizontalAlignment','tableCellBorderColor','formatBlock','_suggestionFactory','tableCellBorderWidth','tableAlignment','locale','selection','TablePropertiesEditing','tableCellVerticalAlignment','handleSuggestionDescription','enableCommand','tableBackgroundColor','tableBorderColor','accept','getFirstPosition','has','document','_descriptionFactory','getSuggestionCallback','tableHeight','format','_handlePropertyChange','tableBorderWidth','registerCustomCallback','enqueueChange','getAttribute','get','handleDiscardAction','TrackChangesEditing','join','tableCellBackgroundColor','plugins','registerDescriptionCallback','TableCellPropertiesEditing','table','tableCellProperties','tableWidth','tableCellBorderStyle','change','editor','tableCellHeight','getSelectionAffectedTableCells','nodeAfter','_getSuggestion'];(function(_0x54233e,_0x53e89c){const _0x30deed=function(_0x792968){while(--_0x792968){_0x54233e['push'](_0x54233e['shift']());}};_0x30deed(++_0x53e89c);}(_0x53e8,0x1c5));const _0x30de=function(_0x54233e,_0x53e89c){_0x54233e=_0x54233e-0x0;let _0x30deed=_0x53e8[_0x54233e];return _0x30deed;};import{Plugin as _0x7c4d1}from'ckeditor5/src/core.js';import{getTranslation as _0x15b1e3}from'../utils/common-translations.js';export default class Mt extends _0x7c4d1{constructor(_0x206e96){super(_0x206e96),this[_0x30de('0x9')]=[_0x30de('0x1c'),_0x30de('0x4'),_0x30de('0x26'),_0x30de('0x14'),_0x30de('0x34'),_0x30de('0x23'),_0x30de('0x1b')],this[_0x30de('0x33')]=[_0x30de('0x10'),_0x30de('0x35'),_0x30de('0x13'),'tableCellPadding','tableCellWidth',_0x30de('0x38'),_0x30de('0x2e'),_0x30de('0xf'),_0x30de('0x18')];}static get['pluginName'](){return _0x30de('0xa');}['afterInit'](){const _0x4eccb4=this[_0x30de('0x37')]['plugins'][_0x30de('0x2a')](_0x30de('0x2c'));if(this[_0x30de('0x37')][_0x30de('0x2f')][_0x30de('0x1f')](_0x30de('0x17'))){for(const _0x472752 of this['tableProperties'])_0x4eccb4[_0x30de('0x1a')](_0x472752,(_0x57d5e6,_0x2c2b48)=>{const _0x539c76=this['editor']['model'][_0x30de('0x20')][_0x30de('0x16')][_0x30de('0x1e')]()['findAncestor'](_0x30de('0x32'));this['_handlePropertyChange'](_0x472752,[_0x539c76],this[_0x30de('0x9')],_0x30de('0x9'),_0x57d5e6,_0x2c2b48);});_0x4eccb4[_0x30de('0x12')][_0x30de('0x27')]('formatBlock','tableProperties','accept',_0x4eccb4[_0x30de('0x12')][_0x30de('0x22')](_0x30de('0x11'),null,'discard')),_0x4eccb4[_0x30de('0x12')][_0x30de('0x27')](_0x30de('0x11'),_0x30de('0x9'),_0x30de('0x7'),(_0x595466,_0x1f3109)=>this[_0x30de('0x2b')](this[_0x30de('0x9')],_0x595466,_0x1f3109)),_0x4eccb4['_suggestionFactory'][_0x30de('0x27')](_0x30de('0x11'),_0x30de('0x9'),_0x30de('0x2d'),()=>!0x1);}if(this[_0x30de('0x37')][_0x30de('0x2f')][_0x30de('0x1f')](_0x30de('0x31'))){for(const _0x6db6e9 of this[_0x30de('0x33')])_0x4eccb4[_0x30de('0x1a')](_0x6db6e9,(_0x1ce5a3,_0x5ce7e3)=>{const _0xad576=this[_0x30de('0x37')]['plugins'][_0x30de('0x2a')](_0x30de('0x6'))[_0x30de('0x0')](this[_0x30de('0x37')][_0x30de('0xb')]['document'][_0x30de('0x16')]);this['_handlePropertyChange'](_0x6db6e9,_0xad576,this[_0x30de('0x33')],'tableCellProperties',_0x1ce5a3,_0x5ce7e3);});_0x4eccb4['_suggestionFactory'][_0x30de('0x27')](_0x30de('0x11'),'tableCellProperties',_0x30de('0x1d'),_0x4eccb4[_0x30de('0x12')][_0x30de('0x22')](_0x30de('0x11'),null,'discard')),_0x4eccb4['_suggestionFactory']['registerCustomCallback'](_0x30de('0x11'),_0x30de('0x33'),_0x30de('0x7'),(_0x3b88b9,_0xd6a6b)=>this[_0x30de('0x2b')](this[_0x30de('0x33')],_0x3b88b9,_0xd6a6b)),_0x4eccb4['_suggestionFactory'][_0x30de('0x27')](_0x30de('0x11'),'tableCellProperties',_0x30de('0x2d'),()=>!0x1);}_0x4eccb4[_0x30de('0x21')][_0x30de('0x30')](_0x181ace=>this[_0x30de('0x19')](_0x181ace));}[_0x30de('0x25')](_0x3c606b,_0x26bf62,_0x2f2f46,_0x57e9d8,_0x781d71,_0x17f13e){const _0x48fbc9=this[_0x30de('0x37')][_0x30de('0x2f')][_0x30de('0x2a')]('TrackChangesEditing');this[_0x30de('0x37')][_0x30de('0xb')][_0x30de('0x28')](_0x17f13e[_0x30de('0x3')],()=>{for(const _0x1ac0d9 of _0x26bf62){if(this[_0x30de('0x2')](_0x1ac0d9,_0x57e9d8))_0x781d71(_0x17f13e);else{const _0x185704={};for(const _0x3c6a53 of _0x2f2f46){const _0x5970a2=_0x1ac0d9[_0x30de('0x29')](_0x3c6a53);void 0x0!==_0x5970a2&&(_0x185704[_0x3c6a53]=_0x5970a2);}_0x781d71(_0x17f13e),_0x48fbc9[_0x30de('0x8')](_0x1ac0d9,{'commandParams':[_0x185704]},[],_0x57e9d8);}}});}[_0x30de('0x2b')](_0x48d9e1,_0xb56787,_0x253c3b){const _0x582e50=_0xb56787[0x0]['start'][_0x30de('0x1')],_0x3ece75=_0x253c3b['commandParams'][0x0];this[_0x30de('0x37')][_0x30de('0xb')][_0x30de('0x36')](_0x4e830e=>{for(const _0x4bdd34 of _0x48d9e1)void 0x0!==_0x3ece75[_0x4bdd34]?_0x4e830e['setAttribute'](_0x4bdd34,_0x3ece75[_0x4bdd34],_0x582e50):_0x4e830e[_0x30de('0xd')](_0x4bdd34,_0x582e50);});}[_0x30de('0x19')](_0x51b2c8){if(_0x51b2c8[_0x30de('0x5')])switch(_0x51b2c8['subType']){case _0x30de('0x9'):return{'type':_0x30de('0x24'),'content':_0x15b1e3(this[_0x30de('0x37')][_0x30de('0x15')],'*Format:*\x20change\x20table\x20properties')};case _0x30de('0x33'):return{'type':_0x30de('0x24'),'content':_0x15b1e3(this['editor'][_0x30de('0x15')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x30de('0x2')](_0xd03983,_0x5315e1){const _0x2c1c99=this[_0x30de('0x37')]['plugins'][_0x30de('0x2a')]('TrackChangesEditing');for(const _0x29bc55 of _0x2c1c99[_0x30de('0xc')]({'skipNotAttached':!0x0})){const _0x30b335=_0x29bc55['getContainedElement']();if(_0x29bc55[_0x30de('0xe')]===_0x5315e1&&_0x30b335===_0xd03983)return _0x29bc55;}return null;}}
23
+ const _0x2ae8=['tableCellWidth','_suggestionFactory','batch','get','format','getSuggestionCallback','enqueueChange','start','formatBlock','markBlockFormat','editor','subType','afterInit','setAttribute','plugins','pluginName','nodeAfter','join','discard','tableCellPadding','tableCellProperties','TablePropertiesEditing','tableBorderWidth','data','tableCellVerticalAlignment','tableBorderColor','tableCellBorderWidth','registerCustomCallback','tableCellBackgroundColor','getFirstPosition','tableWidth','document','_handlePropertyChange','tableCellHeight','_descriptionFactory','_getSuggestion','accept','tableProperties','TableCellPropertiesEditing','has','*Format:*\x20change\x20table\x20cell\x20properties','TrackChangesEditing','getAttribute','enableCommand','handleDiscardAction','registerDescriptionCallback','findAncestor','handleSuggestionDescription','getContainedElement','model','getSelectionAffectedTableCells','commandParams','table'];(function(_0x1187b5,_0x2ae8b4){const _0x1aff42=function(_0x1459dc){while(--_0x1459dc){_0x1187b5['push'](_0x1187b5['shift']());}};_0x1aff42(++_0x2ae8b4);}(_0x2ae8,0xad));const _0x1aff=function(_0x1187b5,_0x2ae8b4){_0x1187b5=_0x1187b5-0x0;let _0x1aff42=_0x2ae8[_0x1187b5];return _0x1aff42;};import{Plugin as _0x32e71a}from'ckeditor5/src/core.js';import{getTranslation as _0x18845f}from'../utils/common-translations.js';export default class Mt extends _0x32e71a{constructor(_0x32a43d){super(_0x32a43d),this[_0x1aff('0x17')]=[_0x1aff('0xb'),'tableBorderStyle',_0x1aff('0x8'),'tableAlignment',_0x1aff('0x10'),'tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle',_0x1aff('0xc'),_0x1aff('0x5'),_0x1aff('0x27'),_0x1aff('0x13'),_0x1aff('0xe'),'tableCellHorizontalAlignment',_0x1aff('0xa')];}static get[_0x1aff('0x1')](){return'TrackChangesTableProperties';}[_0x1aff('0x33')](){const _0x1f6e72=this[_0x1aff('0x31')]['plugins'][_0x1aff('0x2a')](_0x1aff('0x1b'));if(this[_0x1aff('0x31')]['plugins'][_0x1aff('0x19')](_0x1aff('0x7'))){for(const _0x2f7f4b of this['tableProperties'])_0x1f6e72[_0x1aff('0x1d')](_0x2f7f4b,(_0x30c3f9,_0x1d65b8)=>{const _0x92e0f2=this[_0x1aff('0x31')][_0x1aff('0x23')][_0x1aff('0x11')]['selection'][_0x1aff('0xf')]()[_0x1aff('0x20')](_0x1aff('0x26'));this[_0x1aff('0x12')](_0x2f7f4b,[_0x92e0f2],this[_0x1aff('0x17')],'tableProperties',_0x30c3f9,_0x1d65b8);});_0x1f6e72[_0x1aff('0x28')][_0x1aff('0xd')]('formatBlock','tableProperties','accept',_0x1f6e72[_0x1aff('0x28')][_0x1aff('0x2c')](_0x1aff('0x2f'),null,_0x1aff('0x4'))),_0x1f6e72['_suggestionFactory'][_0x1aff('0xd')](_0x1aff('0x2f'),'tableProperties',_0x1aff('0x4'),(_0x4bda47,_0x571d76)=>this[_0x1aff('0x1e')](this[_0x1aff('0x17')],_0x4bda47,_0x571d76)),_0x1f6e72[_0x1aff('0x28')][_0x1aff('0xd')](_0x1aff('0x2f'),_0x1aff('0x17'),_0x1aff('0x3'),()=>!0x1);}if(this[_0x1aff('0x31')][_0x1aff('0x0')][_0x1aff('0x19')](_0x1aff('0x18'))){for(const _0x34258f of this[_0x1aff('0x6')])_0x1f6e72[_0x1aff('0x1d')](_0x34258f,(_0x29d7b4,_0x31bbce)=>{const _0x1a752d=this['editor'][_0x1aff('0x0')][_0x1aff('0x2a')]('TableUtils')[_0x1aff('0x24')](this[_0x1aff('0x31')][_0x1aff('0x23')][_0x1aff('0x11')]['selection']);this[_0x1aff('0x12')](_0x34258f,_0x1a752d,this['tableCellProperties'],_0x1aff('0x6'),_0x29d7b4,_0x31bbce);});_0x1f6e72['_suggestionFactory'][_0x1aff('0xd')]('formatBlock','tableCellProperties',_0x1aff('0x16'),_0x1f6e72[_0x1aff('0x28')][_0x1aff('0x2c')](_0x1aff('0x2f'),null,_0x1aff('0x4'))),_0x1f6e72[_0x1aff('0x28')]['registerCustomCallback'](_0x1aff('0x2f'),'tableCellProperties',_0x1aff('0x4'),(_0x45d8ac,_0x5d344c)=>this[_0x1aff('0x1e')](this[_0x1aff('0x6')],_0x45d8ac,_0x5d344c)),_0x1f6e72[_0x1aff('0x28')][_0x1aff('0xd')](_0x1aff('0x2f'),_0x1aff('0x6'),_0x1aff('0x3'),()=>!0x1);}_0x1f6e72[_0x1aff('0x14')][_0x1aff('0x1f')](_0x2e11cf=>this[_0x1aff('0x21')](_0x2e11cf));}[_0x1aff('0x12')](_0x4b65df,_0x530b8e,_0x3edb15,_0x517a54,_0x57ef68,_0x23ef32){const _0x9f0c43=this[_0x1aff('0x31')][_0x1aff('0x0')][_0x1aff('0x2a')](_0x1aff('0x1b'));this[_0x1aff('0x31')][_0x1aff('0x23')][_0x1aff('0x2d')](_0x23ef32[_0x1aff('0x29')],()=>{for(const _0x1043aa of _0x530b8e){if(this[_0x1aff('0x15')](_0x1043aa,_0x517a54))_0x57ef68(_0x23ef32);else{const _0x13ef6b={};for(const _0x432fcd of _0x3edb15){const _0x112951=_0x1043aa[_0x1aff('0x1c')](_0x432fcd);void 0x0!==_0x112951&&(_0x13ef6b[_0x432fcd]=_0x112951);}_0x57ef68(_0x23ef32),_0x9f0c43[_0x1aff('0x30')](_0x1043aa,{'commandParams':[_0x13ef6b]},[],_0x517a54);}}});}[_0x1aff('0x1e')](_0x1e59b4,_0xc271d6,_0x2f1118){const _0x1a62f0=_0xc271d6[0x0][_0x1aff('0x2e')][_0x1aff('0x2')],_0x3dc6dd=_0x2f1118[_0x1aff('0x25')][0x0];this[_0x1aff('0x31')][_0x1aff('0x23')]['change'](_0x84fd1=>{for(const _0x4938b6 of _0x1e59b4)void 0x0!==_0x3dc6dd[_0x4938b6]?_0x84fd1[_0x1aff('0x34')](_0x4938b6,_0x3dc6dd[_0x4938b6],_0x1a62f0):_0x84fd1['removeAttribute'](_0x4938b6,_0x1a62f0);});}[_0x1aff('0x21')](_0x621154){if(_0x621154[_0x1aff('0x9')])switch(_0x621154[_0x1aff('0x32')]){case'tableProperties':return{'type':_0x1aff('0x2b'),'content':_0x18845f(this[_0x1aff('0x31')]['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x18845f(this[_0x1aff('0x31')]['locale'],_0x1aff('0x1a'))};}}[_0x1aff('0x15')](_0x1b1484,_0x59dad0){const _0x440a55=this[_0x1aff('0x31')][_0x1aff('0x0')][_0x1aff('0x2a')]('TrackChangesEditing');for(const _0x510e77 of _0x440a55['getSuggestions']({'skipNotAttached':!0x0})){const _0x183dda=_0x510e77[_0x1aff('0x22')]();if(_0x510e77[_0x1aff('0x32')]===_0x59dad0&&_0x183dda===_0x1b1484)return _0x510e77;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54fa=['afterInit','get','plugins','has','editor','Template'];(function(_0x5b7bb1,_0x54fafb){const _0x113b80=function(_0x9e9efd){while(--_0x9e9efd){_0x5b7bb1['push'](_0x5b7bb1['shift']());}};_0x113b80(++_0x54fafb);}(_0x54fa,0x1e4));const _0x113b=function(_0x5b7bb1,_0x54fafb){_0x5b7bb1=_0x5b7bb1-0x0;let _0x113b80=_0x54fa[_0x5b7bb1];return _0x113b80;};import{Plugin as _0x7f8292}from'ckeditor5/src/core.js';export default class vt extends _0x7f8292{[_0x113b('0x2')](){const _0x15e7b2=this[_0x113b('0x0')];_0x15e7b2[_0x113b('0x4')][_0x113b('0x5')](_0x113b('0x1'))&&_0x15e7b2[_0x113b('0x4')][_0x113b('0x3')]('TrackChangesEditing')['enableCommand']('insertTemplate');}}
23
+ const _0x1b9e=['get','has','plugins','editor','afterInit','enableCommand'];(function(_0x1daf10,_0x1b9ecd){const _0x4ae7d3=function(_0x3880ea){while(--_0x3880ea){_0x1daf10['push'](_0x1daf10['shift']());}};_0x4ae7d3(++_0x1b9ecd);}(_0x1b9e,0xe0));const _0x4ae7=function(_0x1daf10,_0x1b9ecd){_0x1daf10=_0x1daf10-0x0;let _0x4ae7d3=_0x1b9e[_0x1daf10];return _0x4ae7d3;};import{Plugin as _0x5a8f23}from'ckeditor5/src/core.js';export default class vt extends _0x5a8f23{[_0x4ae7('0x2')](){const _0x324b04=this[_0x4ae7('0x1')];_0x324b04[_0x4ae7('0x0')][_0x4ae7('0x5')]('Template')&&_0x324b04['plugins'][_0x4ae7('0x4')]('TrackChangesEditing')[_0x4ae7('0x3')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dcb=['suggestion','isTouching','isEqual','registerElementLabel','Title','forward','createRange','_descriptionFactory','newRange','plugins','getChangedMarkers','document','has','schema','get','end','nodeBefore','differ','title-content','element','getNearestSelectionRange','afterInit','removeMarker','model','_splitMarkerName','TrackChangesEditing','start','locale'];(function(_0xea42d9,_0x3dcbba){const _0x2031f0=function(_0x14f68e){while(--_0x14f68e){_0xea42d9['push'](_0xea42d9['shift']());}};_0x2031f0(++_0x3dcbba);}(_0x3dcb,0xa1));const _0x2031=function(_0xea42d9,_0x3dcbba){_0xea42d9=_0xea42d9-0x0;let _0x2031f0=_0x3dcb[_0xea42d9];return _0x2031f0;};import{Plugin as _0x39b15b}from'ckeditor5/src/core.js';import{getTranslation as _0x2be51b}from'../utils/common-translations.js';export default class Ct extends _0x39b15b{[_0x2031('0x0')](){const _0x329aaf=this['editor'];if(!_0x329aaf[_0x2031('0x10')][_0x2031('0x13')](_0x2031('0xb')))return;const _0x642d45=_0x329aaf['plugins'][_0x2031('0x15')](_0x2031('0x4'));_0x642d45[_0x2031('0xe')][_0x2031('0xa')](_0x2031('0x19'),()=>_0x2be51b(_0x329aaf[_0x2031('0x6')],'ELEMENT_TITLE')),_0x329aaf[_0x2031('0x2')][_0x2031('0x12')]['registerPostFixer'](_0x1c3e69=>{let _0x1d2f8d=!0x1;const _0x287aee=Array['from'](_0x329aaf[_0x2031('0x2')][_0x2031('0x12')][_0x2031('0x18')][_0x2031('0x11')]());for(const {name:_0x19bd99,data:_0x4528bf}of _0x287aee){const {group:_0x4a26cd}=_0x642d45[_0x2031('0x3')](_0x19bd99);if(_0x2031('0x7')!==_0x4a26cd||!_0x4528bf[_0x2031('0xf')])continue;const _0x47c47a=_0x4528bf[_0x2031('0xf')],_0x472678=_0x47c47a['end'][_0x2031('0x17')];if(!_0x472678||!_0x472678['is'](_0x2031('0x1a'),_0x2031('0x19')))continue;if(!_0x47c47a[_0x2031('0x5')][_0x2031('0x8')](_0x47c47a['end']))continue;const _0x25809b=_0x329aaf[_0x2031('0x2')][_0x2031('0x14')][_0x2031('0x1b')](_0x47c47a[_0x2031('0x16')],_0x2031('0xc'));if(_0x25809b&&_0x25809b['isCollapsed']){const _0x3b33bf=_0x1c3e69[_0x2031('0xd')](_0x47c47a[_0x2031('0x5')],_0x25809b[_0x2031('0x5')]);_0x3b33bf[_0x2031('0x9')](_0x47c47a)||(_0x1c3e69['updateMarker'](_0x19bd99,{'range':_0x3b33bf}),_0x1d2f8d=!0x0);}_0x1d2f8d||(_0x1c3e69[_0x2031('0x1')](_0x19bd99),_0x1d2f8d=!0x0);}return _0x1d2f8d;});}}
23
+ const _0x2778=['schema','document','has','editor','differ','_splitMarkerName','TrackChangesEditing','registerElementLabel','createRange','afterInit','getChangedMarkers','forward','element','isEqual','from','isTouching','end','title-content','ELEMENT_TITLE','registerPostFixer','isCollapsed','getNearestSelectionRange','model','start','suggestion','newRange','plugins'];(function(_0x4e77fc,_0x277838){const _0x306053=function(_0x115f91){while(--_0x115f91){_0x4e77fc['push'](_0x4e77fc['shift']());}};_0x306053(++_0x277838);}(_0x2778,0x1ad));const _0x3060=function(_0x4e77fc,_0x277838){_0x4e77fc=_0x4e77fc-0x0;let _0x306053=_0x2778[_0x4e77fc];return _0x306053;};import{Plugin as _0x3f2bf0}from'ckeditor5/src/core.js';import{getTranslation as _0xcc208c}from'../utils/common-translations.js';export default class Ct extends _0x3f2bf0{[_0x3060('0xc')](){const _0x3aee76=this[_0x3060('0x6')];if(!_0x3aee76[_0x3060('0x2')][_0x3060('0x5')]('Title'))return;const _0x177de1=_0x3aee76[_0x3060('0x2')]['get'](_0x3060('0x9'));_0x177de1['_descriptionFactory'][_0x3060('0xa')](_0x3060('0x14'),()=>_0xcc208c(_0x3aee76['locale'],_0x3060('0x15'))),_0x3aee76[_0x3060('0x19')][_0x3060('0x4')][_0x3060('0x16')](_0x1ab9ba=>{let _0x2ec484=!0x1;const _0x5e5fda=Array[_0x3060('0x11')](_0x3aee76[_0x3060('0x19')][_0x3060('0x4')][_0x3060('0x7')][_0x3060('0xd')]());for(const {name:_0x37d610,data:_0x4396d8}of _0x5e5fda){const {group:_0xc928ee}=_0x177de1[_0x3060('0x8')](_0x37d610);if(_0x3060('0x0')!==_0xc928ee||!_0x4396d8[_0x3060('0x1')])continue;const _0x1d5a2c=_0x4396d8[_0x3060('0x1')],_0x774f2d=_0x1d5a2c[_0x3060('0x13')]['nodeBefore'];if(!_0x774f2d||!_0x774f2d['is'](_0x3060('0xf'),'title-content'))continue;if(!_0x1d5a2c[_0x3060('0x1a')][_0x3060('0x12')](_0x1d5a2c[_0x3060('0x13')]))continue;const _0x145546=_0x3aee76[_0x3060('0x19')][_0x3060('0x3')][_0x3060('0x18')](_0x1d5a2c['end'],_0x3060('0xe'));if(_0x145546&&_0x145546[_0x3060('0x17')]){const _0x2574a0=_0x1ab9ba[_0x3060('0xb')](_0x1d5a2c['start'],_0x145546[_0x3060('0x1a')]);_0x2574a0[_0x3060('0x10')](_0x1d5a2c)||(_0x1ab9ba['updateMarker'](_0x37d610,{'range':_0x2574a0}),_0x2ec484=!0x0);}_0x2ec484||(_0x1ab9ba['removeMarker'](_0x37d610),_0x2ec484=!0x0);}return _0x2ec484;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x193a=['plugins','undo','has','TrackChangesEditing','afterInit','UndoEditing','enableCommand'];(function(_0x3035ab,_0x193a04){const _0x4eb303=function(_0x598a76){while(--_0x598a76){_0x3035ab['push'](_0x3035ab['shift']());}};_0x4eb303(++_0x193a04);}(_0x193a,0x12e));const _0x4eb3=function(_0x3035ab,_0x193a04){_0x3035ab=_0x3035ab-0x0;let _0x4eb303=_0x193a[_0x3035ab];return _0x4eb303;};import{Plugin as _0x284d83}from'ckeditor5/src/core.js';export default class Dt extends _0x284d83{[_0x4eb3('0x3')](){const _0x16e1e1=this['editor'],_0x2e4615=_0x16e1e1[_0x4eb3('0x6')]['get'](_0x4eb3('0x2'));_0x16e1e1[_0x4eb3('0x6')][_0x4eb3('0x1')](_0x4eb3('0x4'))&&(_0x2e4615[_0x4eb3('0x5')](_0x4eb3('0x0')),_0x2e4615[_0x4eb3('0x5')]('redo'));}}
23
+ const _0x25a3=['undo','editor','UndoEditing','enableCommand','plugins','has','TrackChangesEditing','afterInit','get'];(function(_0x4673bb,_0x25a30a){const _0x784e22=function(_0x3b0108){while(--_0x3b0108){_0x4673bb['push'](_0x4673bb['shift']());}};_0x784e22(++_0x25a30a);}(_0x25a3,0x18c));const _0x784e=function(_0x4673bb,_0x25a30a){_0x4673bb=_0x4673bb-0x0;let _0x784e22=_0x25a3[_0x4673bb];return _0x784e22;};import{Plugin as _0x10cb31}from'ckeditor5/src/core.js';export default class Dt extends _0x10cb31{[_0x784e('0x7')](){const _0x40c14a=this[_0x784e('0x1')],_0x5aa6f7=_0x40c14a[_0x784e('0x4')][_0x784e('0x8')](_0x784e('0x6'));_0x40c14a['plugins'][_0x784e('0x5')](_0x784e('0x2'))&&(_0x5aa6f7[_0x784e('0x3')](_0x784e('0x0')),_0x5aa6f7['enableCommand']('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ebe=['mapper','start','createUIElement','getAttribute','bindElementToMarker','previousPosition','getCustomProperty','activeMarkers','isContent','schema','parent','span','markerName','isLimit','ck-suggestion-marker-','TrackChangesEditing','test','push','addHighlight','isAtEnd','hasAttribute','writer','element','name','model','nextSibling','toViewElement','isBlock','markerRange','item','addClass','type','getItems','toViewPosition'];(function(_0xc9957d,_0x3ebe7d){const _0x906b8a=function(_0x18949c){while(--_0x18949c){_0xc9957d['push'](_0xc9957d['shift']());}};_0x906b8a(++_0x3ebe7d);}(_0x3ebe,0x98));const _0x906b=function(_0xc9957d,_0x3ebe7d){_0xc9957d=_0xc9957d-0x0;let _0x906b8a=_0x3ebe[_0xc9957d];return _0x906b8a;};export function getRangesWithAttribute(_0x2ce837,_0x452b25,_0x53483e){const _0x111c7e=[];for(const _0x40fd7d of _0x452b25[_0x906b('0x10')]())_0x40fd7d[_0x906b('0x4')](_0x2ce837)&&_0x111c7e[_0x906b('0x1')](_0x53483e['createRangeOn'](_0x40fd7d));return _0x111c7e;}export function getElementsAffectedByListItemRename(_0x131b9b){const _0x5e02a8=[];if(_0x131b9b['is']('element','listItem')){let _0x4af635=_0x131b9b['nextSibling'];for(;_0x4af635&&_0x4af635['is'](_0x906b('0x6'),'listItem')&&_0x4af635[_0x906b('0x15')]('listIndent')>0x0;)_0x5e02a8[_0x906b('0x1')](_0x4af635),_0x4af635=_0x4af635['nextSibling'];}return _0x5e02a8;}export function downcastSplitMergeMarker(_0x4dd5a5,_0x2e8ee3,{showActiveMarker:_0x501737=!0x0}={}){const _0x1d8033=_0x4dd5a5['plugins']['get'](_0x906b('0x21'));return(_0x49e33d,_0x2c3653,_0x42008a)=>{if(!_0x42008a['consumable'][_0x906b('0x0')](_0x2c3653[_0x906b('0xc')],_0x49e33d[_0x906b('0x7')]))return;const _0x9da01=_0x2c3653[_0x906b('0xc')]['getWalker'](),_0x1fa20f=_0x2c3653[_0x906b('0xc')][_0x906b('0x13')],_0x4ff966=_0x4dd5a5[_0x906b('0x8')][_0x906b('0x1b')];let _0x523d7d=null,_0x1e632f=null,_0x3b0204=!0x1,_0x351fa4=!0x1;for(const _0x494eeb of _0x9da01){const _0x6ab9d8=_0x494eeb[_0x906b('0xd')];_0x3b0204=_0x3b0204||_0x4ff966[_0x906b('0x1a')](_0x6ab9d8);const _0x302b2b=_0x42008a['mapper'][_0x906b('0xa')](_0x6ab9d8);if(_0x302b2b&&_0x302b2b[_0x906b('0x18')](_0x906b('0x2')))return;'elementEnd'==_0x494eeb[_0x906b('0xf')]&&(_0x4ff966[_0x906b('0xb')](_0x6ab9d8)&&!_0x4ff966[_0x906b('0x1f')](_0x6ab9d8)&&(_0x6ab9d8[_0x906b('0x9')]||_0x1fa20f[_0x906b('0x3')]?_0x523d7d&&_0x523d7d[_0x906b('0x1c')]==_0x6ab9d8||(_0x523d7d=_0x6ab9d8,_0x23d8c2(_0x494eeb[_0x906b('0x17')]),_0x351fa4=!0x0):_0x1e632f=_0x1e632f||_0x494eeb['previousPosition']));}function _0x23d8c2(_0x26908d){const _0x44f1bd=_0x42008a[_0x906b('0x5')][_0x906b('0x14')](_0x906b('0x1d'),{'class':_0x906b('0x20')+_0x2e8ee3}),_0x30817a=_0x42008a[_0x906b('0x12')][_0x906b('0x11')](_0x26908d);_0x501737&&_0x1d8033[_0x906b('0x19')]['includes'](_0x2c3653['markerName'])&&_0x42008a[_0x906b('0x5')][_0x906b('0xe')]('ck-suggestion-marker--active',_0x44f1bd),_0x42008a[_0x906b('0x5')]['insert'](_0x30817a,_0x44f1bd),_0x42008a[_0x906b('0x12')][_0x906b('0x16')](_0x44f1bd,_0x2c3653[_0x906b('0x1e')]);}_0x3b0204||_0x351fa4||!_0x1e632f||_0x23d8c2(_0x1e632f);};}
23
+ const _0x2bbc=['ck-suggestion-marker-','nextSibling','model','type','markerRange','getWalker','elementEnd','listItem','consumable','isContent','mapper','activeMarkers','ck-suggestion-marker--active','addClass','getAttribute','test','bindElementToMarker','isLimit','item','writer','element','markerName','includes','schema','previousPosition','getCustomProperty','toViewElement','isAtEnd','span','getItems','addHighlight','plugins'];(function(_0x449372,_0x2bbccc){const _0x15a561=function(_0x5cfd32){while(--_0x5cfd32){_0x449372['push'](_0x449372['shift']());}};_0x15a561(++_0x2bbccc);}(_0x2bbc,0x184));const _0x15a5=function(_0x449372,_0x2bbccc){_0x449372=_0x449372-0x0;let _0x15a561=_0x2bbc[_0x449372];return _0x15a561;};export function getRangesWithAttribute(_0x5d3e53,_0xc1284b,_0x11f94f){const _0x1955cb=[];for(const _0x4dfbac of _0xc1284b[_0x15a5('0x19')]())_0x4dfbac['hasAttribute'](_0x5d3e53)&&_0x1955cb['push'](_0x11f94f['createRangeOn'](_0x4dfbac));return _0x1955cb;}export function getElementsAffectedByListItemRename(_0x3cb511){const _0x1b2cdb=[];if(_0x3cb511['is']('element',_0x15a5('0x3'))){let _0x3e295b=_0x3cb511['nextSibling'];for(;_0x3e295b&&_0x3e295b['is'](_0x15a5('0x10'),_0x15a5('0x3'))&&_0x3e295b[_0x15a5('0xa')]('listIndent')>0x0;)_0x1b2cdb['push'](_0x3e295b),_0x3e295b=_0x3e295b['nextSibling'];}return _0x1b2cdb;}export function downcastSplitMergeMarker(_0x512bd8,_0x20790b,{showActiveMarker:_0x14eab8=!0x0}={}){const _0x561ff0=_0x512bd8[_0x15a5('0x1b')]['get']('TrackChangesEditing');return(_0x5a8533,_0x205f7c,_0x51731a)=>{if(!_0x51731a[_0x15a5('0x4')][_0x15a5('0xb')](_0x205f7c[_0x15a5('0x0')],_0x5a8533['name']))return;const _0x5f2a9c=_0x205f7c[_0x15a5('0x0')][_0x15a5('0x1')](),_0x25b640=_0x205f7c[_0x15a5('0x0')]['start'],_0x114e3f=_0x512bd8[_0x15a5('0x1e')][_0x15a5('0x13')];let _0x39a6ec=null,_0x3f985c=null,_0x5e2191=!0x1,_0x108943=!0x1;for(const _0x102ce8 of _0x5f2a9c){const _0xb59ebc=_0x102ce8[_0x15a5('0xe')];_0x5e2191=_0x5e2191||_0x114e3f[_0x15a5('0x5')](_0xb59ebc);const _0x2ee16d=_0x51731a[_0x15a5('0x6')][_0x15a5('0x16')](_0xb59ebc);if(_0x2ee16d&&_0x2ee16d[_0x15a5('0x15')](_0x15a5('0x1a')))return;_0x15a5('0x2')==_0x102ce8[_0x15a5('0x1f')]&&(_0x114e3f['isBlock'](_0xb59ebc)&&!_0x114e3f[_0x15a5('0xd')](_0xb59ebc)&&(_0xb59ebc[_0x15a5('0x1d')]||_0x25b640[_0x15a5('0x17')]?_0x39a6ec&&_0x39a6ec['parent']==_0xb59ebc||(_0x39a6ec=_0xb59ebc,_0x36f874(_0x102ce8['previousPosition']),_0x108943=!0x0):_0x3f985c=_0x3f985c||_0x102ce8[_0x15a5('0x14')]));}function _0x36f874(_0x494c68){const _0x3b7cf4=_0x51731a[_0x15a5('0xf')]['createUIElement'](_0x15a5('0x18'),{'class':_0x15a5('0x1c')+_0x20790b}),_0x2eae48=_0x51731a[_0x15a5('0x6')]['toViewPosition'](_0x494c68);_0x14eab8&&_0x561ff0[_0x15a5('0x7')][_0x15a5('0x12')](_0x205f7c['markerName'])&&_0x51731a[_0x15a5('0xf')][_0x15a5('0x9')](_0x15a5('0x8'),_0x3b7cf4),_0x51731a['writer']['insert'](_0x2eae48,_0x3b7cf4),_0x51731a['mapper'][_0x15a5('0xc')](_0x3b7cf4,_0x205f7c[_0x15a5('0x11')]);}_0x5e2191||_0x108943||!_0x3f985c||_0x36f874(_0x3f985c);};}