@ckeditor/ckeditor5-track-changes 35.3.0 → 35.3.1

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 (55) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8328=['commandParams','Style','block','getItems','styleName','*Remove\x20format:*\x20%0','_descriptionFactory','markBlockFormat','enableCommand','getStyleDefinition','config','get','find','TrackChangesEditing','inline','every','from','afterInit','DataSchema','classes','createRangeOn','modelElements','style','isBlock','markInlineFormat','format','getRangesWithClasses','add','getRanges','style.definitions','has','plugins','model','commands','locale','selection','element','push','editor','isCollapsed','style:','registerDescriptionCallback','includes','document','commandName','name','change'];(function(_0x3a99ec,_0x832800){const _0x3ca0e0=function(_0x5df051){while(--_0x5df051){_0x3a99ec['push'](_0x3a99ec['shift']());}};_0x3ca0e0(++_0x832800);}(_0x8328,0x15a));const _0x3ca0=function(_0x3a99ec,_0x832800){_0x3a99ec=_0x3a99ec-0x0;let _0x3ca0e0=_0x8328[_0x3a99ec];return _0x3ca0e0;};import{Plugin as _0x100a15}from'ckeditor5/src/core';import{normalizeConfig as _0x2fec05}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x423352}from'../utils/common-translations';export default class ut extends _0x100a15{[_0x3ca0('0x0')](){const _0x35ea64=this[_0x3ca0('0x15')];if(!_0x35ea64[_0x3ca0('0xe')][_0x3ca0('0xd')](_0x3ca0('0x1f')))return;const _0x3dc604=_0x35ea64[_0x3ca0('0x10')]['get'](_0x3ca0('0x5')),_0x1d8226=_0x35ea64[_0x3ca0('0xe')][_0x3ca0('0x29')](_0x3ca0('0x2b')),_0x115f17=_0x35ea64[_0x3ca0('0x11')],_0x21ed9c=_0x35ea64['plugins']['get'](_0x3ca0('0x1')),_0x25d91b=_0x2fec05(_0x21ed9c,_0x35ea64[_0x3ca0('0x28')][_0x3ca0('0x29')](_0x3ca0('0xc')));_0x1d8226[_0x3ca0('0x26')](_0x3ca0('0x5'),(_0x183c0c,{styleName:_0x2e8b1e})=>{const _0x3e2aa3=_0x35ea64[_0x3ca0('0xf')][_0x3ca0('0x1a')][_0x3ca0('0x12')],_0x4af3c6=this[_0x3ca0('0x27')](_0x2e8b1e,_0x25d91b);if(!_0x4af3c6)return;if(!_0x3dc604['enabledStyles']['includes'](_0x2e8b1e))return;if(_0x3e2aa3[_0x3ca0('0x16')]&&!_0x4af3c6[_0x3ca0('0x6')])return void _0x183c0c({'styleName':_0x2e8b1e});const _0xa878f8=!_0x3dc604['value']['includes'](_0x4af3c6[_0x3ca0('0x1c')]);if(_0x4af3c6['isBlock']){const _0x237c7a=function(_0x2ae294,_0x5a9d07){const _0x5ab264=new Set();for(const _0x50e94b of _0x2ae294){const _0xb4ccee=_0x50e94b['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x9ca66b of _0xb4ccee)if(_0x5a9d07[_0x3ca0('0x19')](_0x9ca66b[_0x3ca0('0x1c')])){_0x5ab264[_0x3ca0('0xa')](_0x9ca66b);break;}}return _0x5ab264;}(_0x3e2aa3['getSelectedBlocks'](),_0x4af3c6[_0x3ca0('0x4')]);_0x35ea64['model'][_0x3ca0('0x1d')](()=>{for(const _0x501a6b of _0x237c7a)_0x1d8226[_0x3ca0('0x25')](_0x501a6b,{'commandName':_0x3ca0('0x5'),'commandParams':[{'styleName':_0x2e8b1e,'forceValue':_0xa878f8}],'formatGroupId':_0x3ca0('0x17')+_0x2e8b1e});});}else{let _0x4121f9=Array[_0x3ca0('0x2e')](_0x3e2aa3[_0x3ca0('0xb')]());if(!_0xa878f8){const _0x1f40ac=Array[_0x3ca0('0x2e')](_0x21ed9c['getDefinitionsForView'](_0x4af3c6[_0x3ca0('0x13')],!0x1))[0x0][_0x3ca0('0xf')],_0x42c1bb=[];for(const _0x101908 of _0x4121f9){const _0x10aef8=this[_0x3ca0('0x9')](_0x35ea64['model'],_0x101908,_0x4af3c6['classes'],_0x1f40ac);_0x42c1bb[_0x3ca0('0x14')](..._0x10aef8);}_0x4121f9=_0x42c1bb;}_0x35ea64[_0x3ca0('0xf')][_0x3ca0('0x1d')](()=>{for(const _0x36907a of _0x4121f9)_0x1d8226[_0x3ca0('0x7')](_0x36907a,{'commandName':_0x3ca0('0x5'),'commandParams':[{'styleName':_0x2e8b1e,'forceValue':_0xa878f8}]});});}}),_0x1d8226[_0x3ca0('0x24')][_0x3ca0('0x18')](_0x1d547e=>{const {data:_0x581033}=_0x1d547e;if(_0x581033&&_0x3ca0('0x5')===_0x581033[_0x3ca0('0x1b')])return _0x581033['commandParams'][0x0]['forceValue']?{'type':_0x3ca0('0x8'),'content':_0x423352(_0x115f17,'*Format:*\x20%0',_0x581033[_0x3ca0('0x1e')][0x0][_0x3ca0('0x22')]['toLowerCase']())}:{'type':_0x3ca0('0x8'),'content':_0x423352(_0x115f17,_0x3ca0('0x23'),_0x581033[_0x3ca0('0x1e')][0x0][_0x3ca0('0x22')]['toLowerCase']())};});}['getStyleDefinition'](_0x5bc0f5,_0x49cd2a){let _0x25a440=_0x49cd2a[_0x3ca0('0x20')]['find'](_0x252f75=>_0x252f75[_0x3ca0('0x1c')]===_0x5bc0f5);return _0x25a440||(_0x25a440=_0x49cd2a[_0x3ca0('0x2c')][_0x3ca0('0x2a')](_0x24774f=>_0x24774f['name']===_0x5bc0f5)),_0x25a440;}[_0x3ca0('0x9')](_0x19f6f8,_0x42b5bb,_0x2a9e0b,_0x183e60){const _0x2614a0=[];for(const _0x1a7283 of _0x42b5bb[_0x3ca0('0x21')]()){const _0x4320ad=_0x1a7283['getAttribute'](_0x183e60);_0x4320ad&&(_0x2a9e0b[_0x3ca0('0x2d')](_0x4247fa=>_0x4320ad[_0x3ca0('0x2')][_0x3ca0('0x19')](_0x4247fa))&&_0x2614a0['push'](_0x19f6f8[_0x3ca0('0x3')](_0x1a7283)));}return _0x2614a0;}}
23
+ const _0x5d4f=['find','locale','getRanges','format','from','commandName','has','style:','change','get','push','*Remove\x20format:*\x20%0','style.definitions','createRangeOn','style','classes','editor','styleName','registerDescriptionCallback','includes','document','model','afterInit','config','selection','toLowerCase','isCollapsed','TrackChangesEditing','markInlineFormat','getAttribute','getDefinitionsForView','_descriptionFactory','getStyleDefinition','getSelectedBlocks','commandParams','name','forceValue','isBlock','DataSchema','block','getRangesWithClasses','plugins','enabledStyles','markBlockFormat','*Format:*\x20%0'];(function(_0x33710e,_0x5d4fad){const _0x11889a=function(_0x100b79){while(--_0x100b79){_0x33710e['push'](_0x33710e['shift']());}};_0x11889a(++_0x5d4fad);}(_0x5d4f,0x13c));const _0x1188=function(_0x33710e,_0x5d4fad){_0x33710e=_0x33710e-0x0;let _0x11889a=_0x5d4f[_0x33710e];return _0x11889a;};import{Plugin as _0x5f82cc}from'ckeditor5/src/core';import{normalizeConfig as _0x2c387d}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x2b2186}from'../utils/common-translations';export default class ut extends _0x5f82cc{[_0x1188('0x15')](){const _0xa8e178=this[_0x1188('0xf')];if(!_0xa8e178[_0x1188('0x28')][_0x1188('0x5')]('Style'))return;const _0x888dac=_0xa8e178['commands'][_0x1188('0x8')](_0x1188('0xd')),_0xb312a6=_0xa8e178[_0x1188('0x28')][_0x1188('0x8')](_0x1188('0x1a')),_0x574b90=_0xa8e178[_0x1188('0x0')],_0x12489f=_0xa8e178[_0x1188('0x28')]['get'](_0x1188('0x25')),_0xfeeb0e=_0x2c387d(_0x12489f,_0xa8e178[_0x1188('0x16')][_0x1188('0x8')](_0x1188('0xb')));_0xb312a6['enableCommand'](_0x1188('0xd'),(_0x52e3cd,{styleName:_0x57714b})=>{const _0x48b081=_0xa8e178[_0x1188('0x14')][_0x1188('0x13')][_0x1188('0x17')],_0xe20ff3=this[_0x1188('0x1f')](_0x57714b,_0xfeeb0e);if(!_0xe20ff3)return;if(!_0x888dac[_0x1188('0x29')]['includes'](_0x57714b))return;if(_0x48b081[_0x1188('0x19')]&&!_0xe20ff3[_0x1188('0x24')])return void _0x52e3cd({'styleName':_0x57714b});const _0x5a4598=!_0x888dac['value'][_0x1188('0x12')](_0xe20ff3[_0x1188('0x22')]);if(_0xe20ff3[_0x1188('0x24')]){const _0x596e30=function(_0x2ecfcc,_0x8d4fa6){const _0x1cf272=new Set();for(const _0x454e78 of _0x2ecfcc){const _0x26feae=_0x454e78['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x581f19 of _0x26feae)if(_0x8d4fa6[_0x1188('0x12')](_0x581f19[_0x1188('0x22')])){_0x1cf272['add'](_0x581f19);break;}}return _0x1cf272;}(_0x48b081[_0x1188('0x20')](),_0xe20ff3['modelElements']);_0xa8e178[_0x1188('0x14')][_0x1188('0x7')](()=>{for(const _0x4018a9 of _0x596e30)_0xb312a6[_0x1188('0x2a')](_0x4018a9,{'commandName':_0x1188('0xd'),'commandParams':[{'styleName':_0x57714b,'forceValue':_0x5a4598}],'formatGroupId':_0x1188('0x6')+_0x57714b});});}else{let _0x5714df=Array[_0x1188('0x3')](_0x48b081[_0x1188('0x1')]());if(!_0x5a4598){const _0x12d5bd=Array[_0x1188('0x3')](_0x12489f[_0x1188('0x1d')](_0xe20ff3['element'],!0x1))[0x0][_0x1188('0x14')],_0x3e0474=[];for(const _0xe638c9 of _0x5714df){const _0x55a4f9=this[_0x1188('0x27')](_0xa8e178[_0x1188('0x14')],_0xe638c9,_0xe20ff3[_0x1188('0xe')],_0x12d5bd);_0x3e0474[_0x1188('0x9')](..._0x55a4f9);}_0x5714df=_0x3e0474;}_0xa8e178[_0x1188('0x14')][_0x1188('0x7')](()=>{for(const _0x3efe5b of _0x5714df)_0xb312a6[_0x1188('0x1b')](_0x3efe5b,{'commandName':_0x1188('0xd'),'commandParams':[{'styleName':_0x57714b,'forceValue':_0x5a4598}]});});}}),_0xb312a6[_0x1188('0x1e')][_0x1188('0x11')](_0x4b5edc=>{const {data:_0x4c1d45}=_0x4b5edc;if(_0x4c1d45&&'style'===_0x4c1d45[_0x1188('0x4')])return _0x4c1d45[_0x1188('0x21')][0x0][_0x1188('0x23')]?{'type':'format','content':_0x2b2186(_0x574b90,_0x1188('0x2b'),_0x4c1d45['commandParams'][0x0][_0x1188('0x10')][_0x1188('0x18')]())}:{'type':_0x1188('0x2'),'content':_0x2b2186(_0x574b90,_0x1188('0xa'),_0x4c1d45[_0x1188('0x21')][0x0][_0x1188('0x10')][_0x1188('0x18')]())};});}[_0x1188('0x1f')](_0x503a4f,_0x1804d0){let _0x3ec084=_0x1804d0[_0x1188('0x26')][_0x1188('0x2c')](_0x8e7e23=>_0x8e7e23['name']===_0x503a4f);return _0x3ec084||(_0x3ec084=_0x1804d0['inline'][_0x1188('0x2c')](_0x487a04=>_0x487a04['name']===_0x503a4f)),_0x3ec084;}[_0x1188('0x27')](_0x4a6d8f,_0x297555,_0x5f0758,_0x512f62){const _0x1a27e7=[];for(const _0x9ce017 of _0x297555['getItems']()){const _0x39ef2b=_0x9ce017[_0x1188('0x1c')](_0x512f62);_0x39ef2b&&(_0x5f0758['every'](_0x24668f=>_0x39ef2b['classes']['includes'](_0x24668f))&&_0x1a27e7[_0x1188('0x9')](_0x4a6d8f[_0x1188('0xc')](_0x9ce017)));}return _0x1a27e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cf7=['_tableSuggestions','MIN_SAFE_INTEGER','end','MAX_SAFE_INTEGER','startsWith','removeTableColumn','ELEMENT_TABLE_ROW_WITH_TEXT','ELEMENT_TABLE_ROW','ELEMENT_TABLE_COLUMN_WITH_TEXT','writer','registerPostFixer','refresh','fromRange','add','rowspan','subType','deletion','min','_acceptFormatSuggestionCallbackFactory','name','detach','textProxy','downcastDispatcher','$graveyard','ELEMENT_TABLE','*Remove:*\x20%0','maxRow','forceValue','every','_tablePostFixingSubtypes','hasAttribute','ELEMENT_TABLE_WITH_TEXT','type','highest','locale','commands','_getCoordsForCells','enqueueChange','getAttribute','enableCommand','low','execute','insertion','insertTable','getRowIndexes','createRangeOn','tablePaste','isEqual','change','table','max','join','*Insert:*\x20%0','left','oldRange','findAncestor','TrackChangesEditing','TableUtils','discard','accept','getRanges','model','addRange','afterInit','getCellLocation','editor','getContainedElement','tableCell','TableEditing','maxColumn','classes','removeTableRow','insertTableColumnRight','_getSuggestionCoords','map','colspan','getColumnIndexes','minRow','setSelection','some','insert','getChanges','length','selection','get','last','tableRow','start','getItems','push','registerElementLabel','_suggestionFactory','rootName','registerCustomCallback','position','ELEMENT_TABLE_COLUMN','getSelectionAffectedTableCells','first','registerDescriptionCallback','getSuggestion','insertTableRowBelow','document','_descriptionFactory','_setupColumnsRowsFixing','createTableWalker','differ','removeClass','values','filter','from','mapper','showSuggestionHighlights','order','has','batch','substr','tableColumn','plugins','item','data','toViewElement','isInContent','markMultiRangeDeletion','addMarker:suggestion','cell','toLowerCase','root','nodeAfter','selectTableColumn'];(function(_0x3598cb,_0x3cf718){const _0xbc8156=function(_0x424a9c){while(--_0x424a9c){_0x3598cb['push'](_0x3598cb['shift']());}};_0xbc8156(++_0x3cf718);}(_0x3cf7,0x145));const _0xbc81=function(_0x3598cb,_0x3cf718){_0x3598cb=_0x3598cb-0x0;let _0xbc8156=_0x3cf7[_0x3598cb];return _0xbc8156;};import{Plugin as _0x171cd7}from'ckeditor5/src/core';import{LiveRange as _0x4101ba}from'ckeditor5/src/engine';import{setHighlightHandling as _0xc491b6}from'ckeditor5/src/widget';import{getTranslation as _0x38c0d5}from'../utils/common-translations';export default class ft extends _0x171cd7{constructor(_0x1a2bac){super(_0x1a2bac),this[_0xbc81('0x5b')]=['tableRow',_0xbc81('0x31')];}[_0xbc81('0x7d')](){const _0x309e5b=this[_0xbc81('0x7f')],_0x43508e=_0x309e5b[_0xbc81('0x7b')][_0xbc81('0x22')][_0xbc81('0x10')];if(!_0x309e5b[_0xbc81('0x32')][_0xbc81('0x2e')](_0xbc81('0x1')))return;const _0x415168=_0x309e5b[_0xbc81('0x60')],_0x190462=_0x309e5b[_0xbc81('0x32')][_0xbc81('0x11')]('TrackChangesEditing'),_0x501efd=_0x309e5b[_0xbc81('0x32')][_0xbc81('0x11')](_0xbc81('0x77'));_0x190462[_0xbc81('0x23')][_0xbc81('0x17')](_0xbc81('0x6f'),_0x2f322=>_0x38c0d5(_0x415168,_0xbc81('0x56'),_0x2f322)),this[_0xbc81('0x24')](),_0x190462[_0xbc81('0x65')](_0xbc81('0x69')),_0x190462[_0xbc81('0x65')]('selectTableRow'),_0x190462[_0xbc81('0x65')](_0xbc81('0x3d'));for(const _0x4862b4 of['insertTableRowAbove',_0xbc81('0x21')]){const _0x27de73=_0x309e5b['commands'][_0xbc81('0x11')](_0x4862b4);_0x190462[_0xbc81('0x65')](_0x4862b4,_0x2180b7=>{_0x309e5b[_0xbc81('0x7b')][_0xbc81('0x6e')](_0x48c1cd=>{_0x2180b7();const _0x3eba05='above'===_0x27de73[_0xbc81('0x2d')],_0x25f421=_0x501efd[_0xbc81('0x1d')](_0x43508e),_0x2895a4=_0x501efd[_0xbc81('0x6a')](_0x25f421),_0x200a45=_0x3eba05?_0x2895a4[_0xbc81('0x1e')]-0x1:_0x2895a4[_0xbc81('0x12')]+0x1,_0x2e6688=_0x25f421[0x0][_0xbc81('0x75')]('table'),_0xbc764d=_0x501efd[_0xbc81('0x25')](_0x2e6688,{'startRow':_0x200a45,'endRow':_0x200a45}),_0x2fbc69=Array[_0xbc81('0x2a')](_0xbc764d)[_0xbc81('0x7')](_0x182566=>_0x48c1cd[_0xbc81('0x6b')](_0x182566[_0xbc81('0x39')]));_0x190462['markMultiRangeInsertion'](_0x2fbc69,_0xbc81('0x13'));});});}for(const _0x1901d4 of['insertTableColumnLeft',_0xbc81('0x5')]){const _0x4b7fb1=_0x309e5b[_0xbc81('0x61')][_0xbc81('0x11')](_0x1901d4);_0x190462['enableCommand'](_0x1901d4,_0x21252b=>{_0x309e5b['model'][_0xbc81('0x6e')](_0x50b81a=>{_0x21252b();const _0x4b4877=_0xbc81('0x73')===_0x4b7fb1[_0xbc81('0x2d')],_0x3c20b3=_0x501efd[_0xbc81('0x1d')](_0x43508e),_0x1b6f33=_0x501efd[_0xbc81('0x9')](_0x3c20b3),_0xc640fe=_0x4b4877?_0x1b6f33[_0xbc81('0x1e')]-0x1:_0x1b6f33['last']+0x1,_0x4f9fe0=_0x3c20b3[0x0]['findAncestor'](_0xbc81('0x6f')),_0x222e39=_0x501efd[_0xbc81('0x25')](_0x4f9fe0,{'startRow':0x0,'column':_0xc640fe,'includeAllSlots':!0x1}),_0x1e509b=Array['from'](_0x222e39)[_0xbc81('0x7')](_0x177f53=>_0x50b81a[_0xbc81('0x6b')](_0x177f53[_0xbc81('0x39')]));_0x190462['markMultiRangeInsertion'](_0x1e509b,_0xbc81('0x31'));});});}for(const _0xa69c0e of['removeTableRow','removeTableColumn']){const _0x4194c6=_0xa69c0e[_0xbc81('0x30')](0xb),_0x4446a1=_0x4194c6[_0xbc81('0x3a')](),_0x439e2a=_0x4446a1[_0xbc81('0x30')](0x0,0x3)+'span',_0x34dbf3=_0xbc81('0x6f')+_0x4194c6,_0x1ec536=_0xbc81('0x4f')+_0x4194c6,_0x59b13e=_0xbc81('0x70')+_0x4194c6;_0x190462[_0xbc81('0x65')](_0xa69c0e,()=>{_0x309e5b[_0xbc81('0x7b')][_0xbc81('0x6e')](_0x294390=>{const _0x441574=_0x501efd[_0xbc81('0x1d')](_0x43508e),_0x469ae6=_0x441574[0x0]['findAncestor'](_0xbc81('0x6f'));let _0x12d578;if(_0xbc81('0x4')==_0xa69c0e){const _0x42134d=_0x501efd[_0xbc81('0x6a')](_0x441574);_0x12d578={'startRow':_0x42134d['first'],'endRow':_0x42134d[_0xbc81('0x12')],'includeAllSlots':!0x0};}else{const _0x1fd9f8=_0x501efd['getColumnIndexes'](_0x441574);_0x12d578={'startColumn':_0x1fd9f8[_0xbc81('0x1e')],'endColumn':_0x1fd9f8[_0xbc81('0x12')],'includeAllSlots':!0x0};}const _0x19bd2b=_0x501efd[_0xbc81('0x25')](_0x469ae6,_0x12d578),_0x5d32cd=Array[_0xbc81('0x2a')](_0x19bd2b)[_0xbc81('0x7')](({cell:_0x1bfb4d})=>_0x1bfb4d),_0x52c0f6=oe(_0x5d32cd['filter'](_0x23ae0f=>_0x23ae0f[_0xbc81('0x5c')](_0x439e2a))),_0x11247e=oe(_0x5d32cd[_0xbc81('0x29')](_0x421eeb=>!_0x421eeb[_0xbc81('0x5c')](_0x439e2a)))['map'](_0x16bb92=>_0x294390[_0xbc81('0x6b')](_0x16bb92)),_0x380f06=_0x190462[_0xbc81('0x37')](_0x11247e,_0x34dbf3);if(_0x380f06&&(_0xbc81('0x13')==_0x380f06[_0xbc81('0x4d')]||_0xbc81('0x31')==_0x380f06[_0xbc81('0x4d')])){const _0x63fb27=this[_0xbc81('0x6')](_0x380f06);for(const _0x3de018 of _0x52c0f6){const _0x9724f1=_0x294390[_0xbc81('0x6b')](_0x3de018),_0x420ddf=_0x501efd[_0xbc81('0x7e')](_0x3de018),_0x539e7d=_0x3de018['getAttribute'](_0x439e2a)-0x1,_0x448954=_0x63fb27[_0x1ec536],_0x152c43=_0x63fb27[_0x59b13e];_0x448954<=_0x420ddf[_0x4446a1]&&_0x420ddf[_0x4446a1]+_0x539e7d<=_0x152c43&&_0x380f06[_0xbc81('0x7c')](_0x9724f1);}}});});}function _0x421270(_0x12e48d){const _0x5af9ef=Array[_0xbc81('0x2a')](_0x43508e[_0xbc81('0x7a')]())[_0xbc81('0x7')](_0x33c736=>_0x4101ba['fromRange'](_0x33c736));_0x309e5b[_0xbc81('0x7b')][_0xbc81('0x6e')](_0x12b9e7=>{const _0xbfb30c=_0x12b9e7[_0xbc81('0x2f')];_0x12e48d=_0x12e48d['filter'](_0x423e73=>_0xbc81('0x55')!=_0x423e73[_0xbc81('0x3b')][_0xbc81('0x19')]),_0x12b9e7[_0xbc81('0xb')](_0x12e48d),_0x309e5b['commands'][_0xbc81('0x11')](_0xbc81('0x4'))[_0xbc81('0x49')](),_0x309e5b['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x309e5b[_0xbc81('0x7b')]['enqueueChange'](()=>{_0x309e5b['model'][_0xbc81('0x63')](_0xbfb30c,_0x12ce3c=>{const _0x5458a2=_0x5af9ef[_0xbc81('0x29')](_0x52ce54=>'$graveyard'!=_0x52ce54[_0xbc81('0x3b')][_0xbc81('0x19')]);_0x5458a2['length']>0x0&&_0x12ce3c['setSelection'](_0x5458a2);for(const _0x5863f8 of _0x5af9ef)_0x5863f8[_0xbc81('0x52')]();});});});}function _0x1b8c88(_0x3c00f1){_0x309e5b[_0xbc81('0x7b')][_0xbc81('0x6e')](_0x5a9fd4=>{const _0x429a6f=Array[_0xbc81('0x2a')](_0x43508e[_0xbc81('0x7a')]())[_0xbc81('0x7')](_0x27480b=>_0x4101ba[_0xbc81('0x4a')](_0x27480b)),_0x5065eb=[];for(const _0x4b5686 of _0x3c00f1)for(const _0x47efba of _0x4b5686['getItems']({'shallow':!0x0}))_0x5065eb['push'](_0x47efba);for(const _0x4b97c5 of _0x5065eb)_0xbc81('0x55')!=_0x4b97c5[_0xbc81('0x3b')]['rootName']&&(_0x5a9fd4[_0xbc81('0xb')](_0x5a9fd4['createPositionAt'](_0x4b97c5,0x0)),_0x309e5b[_0xbc81('0x61')][_0xbc81('0x11')]('removeTableColumn')['refresh'](),_0x309e5b[_0xbc81('0x67')](_0xbc81('0x43'),{'forceDefaultExecution':!0x0}));const _0x33dcd8=_0x429a6f[_0xbc81('0x29')](_0x23367c=>_0xbc81('0x55')!=_0x23367c[_0xbc81('0x3b')][_0xbc81('0x19')]);_0x33dcd8['length']>0x0&&_0x5a9fd4[_0xbc81('0xb')](_0x33dcd8);for(const _0x311b9a of _0x429a6f)_0x311b9a[_0xbc81('0x52')]();});}function _0x1b4c65(_0x4cc41e,_0x33ce21){return _0x33ce21[_0xbc81('0x5a')](_0x1aeec3=>_0x4cc41e[_0xbc81('0xc')](_0x5b1307=>_0x5b1307['end'][_0xbc81('0x6d')](_0x1aeec3[_0xbc81('0x14')])||_0x1aeec3['end']['isEqual'](_0x5b1307[_0xbc81('0x14')])));}function _0x48c446(_0x5a1329,_0x50bca3){return _0x5a1329[_0xbc81('0xc')](_0x539d1f=>_0x50bca3['some'](_0x4c833e=>_0x539d1f[_0xbc81('0x40')]['isTouching'](_0x4c833e[_0xbc81('0x14')])));}_0x309e5b[_0xbc81('0x34')][_0xbc81('0x54')]['on'](_0xbc81('0x38'),(_0x7a39e4,_0x44f597,_0xff8b6b)=>{if(!_0xff8b6b['options'][_0xbc81('0x2c')])return;const _0x13f428=_0x44f597[_0xbc81('0x33')];if(!_0x13f428)return;const _0x3dcf53=_0xff8b6b[_0xbc81('0x2b')][_0xbc81('0x35')](_0x13f428);function _0x39c697(_0x43ee3a){return Array['isArray'](_0x43ee3a)?_0x43ee3a:[_0x43ee3a];}_0x3dcf53&&_0xbc81('0x0')===_0x13f428['name']&&_0xc491b6(_0x3dcf53,_0xff8b6b[_0xbc81('0x47')],(_0x27bc62,_0x4d61f9,_0x180d5e)=>_0x180d5e['addClass'](_0x39c697(_0x4d61f9[_0xbc81('0x3')]),_0x27bc62),(_0x566c0a,_0x40bf21,_0x5d79c6)=>_0x5d79c6[_0xbc81('0x27')](_0x39c697(_0x40bf21[_0xbc81('0x3')]),_0x566c0a));},{'priority':_0xbc81('0x5f')}),_0x190462[_0xbc81('0x23')][_0xbc81('0x1f')](_0x1d34bd=>{if(_0xbc81('0x68')!=_0x1d34bd[_0xbc81('0x5e')]&&_0xbc81('0x4e')!=_0x1d34bd['type'])return;const _0x4ce240=_0x1d34bd[_0xbc81('0x80')]();if(null!=_0x4ce240&&_0x4ce240['is']('element',_0xbc81('0x6f'))){if('insertion'==_0x1d34bd[_0xbc81('0x5e')]){const _0x595456=_0x1d34bd[_0xbc81('0x15')]()[_0xbc81('0x29')](_0x3a1474=>_0x3a1474['is'](_0xbc81('0x53')))[_0xbc81('0x7')](_0x225cfa=>_0x225cfa['data']);if(_0x595456['length'])return{'type':_0xbc81('0x68'),'content':_0x38c0d5(_0x415168,_0xbc81('0x72'),_0x38c0d5(_0x415168,_0xbc81('0x5d'),'\x22'+_0x595456[_0xbc81('0x71')]('\x20')+'\x22'))};}if('deletion'==_0x1d34bd[_0xbc81('0x5e')]){const _0x283a7d=_0x1d34bd[_0xbc81('0x15')]()[_0xbc81('0x29')](_0xf65b69=>_0xf65b69['is'](_0xbc81('0x53')))[_0xbc81('0x7')](_0x4d5278=>_0x4d5278['data']);if(_0x283a7d[_0xbc81('0xf')])return{'type':'deletion','content':_0x38c0d5(_0x415168,'*Remove:*\x20%0',_0x38c0d5(_0x415168,_0xbc81('0x5d'),'\x22'+_0x283a7d['join']('\x20')+'\x22'))};}}}),_0x190462[_0xbc81('0x23')][_0xbc81('0x1f')](_0x234fac=>{if(_0xbc81('0x13')==_0x234fac['subType']){const _0x5ec7e5=_0x234fac[_0xbc81('0x15')]()[_0xbc81('0x29')](_0x43545e=>_0x43545e['is'](_0xbc81('0x53')))[_0xbc81('0x7')](_0x3ff325=>_0x3ff325['data']),_0xd945f3=this[_0xbc81('0x6')](_0x234fac),_0x4de3b4=_0xd945f3[_0xbc81('0x58')]-_0xd945f3[_0xbc81('0xa')]+0x1;if(_0xbc81('0x68')==_0x234fac[_0xbc81('0x5e')])return _0x5ec7e5['length']?{'type':_0xbc81('0x68'),'content':_0x38c0d5(_0x415168,_0xbc81('0x72'),_0x38c0d5(_0x415168,_0xbc81('0x44'),[_0x4de3b4,'\x22'+_0x5ec7e5[_0xbc81('0x71')]('\x20')+'\x22']))}:{'type':_0xbc81('0x68'),'content':_0x38c0d5(_0x415168,_0xbc81('0x72'),_0x38c0d5(_0x415168,_0xbc81('0x45'),_0x4de3b4))};if(_0xbc81('0x4e')==_0x234fac[_0xbc81('0x5e')])return _0x5ec7e5[_0xbc81('0xf')]?{'type':'deletion','content':_0x38c0d5(_0x415168,_0xbc81('0x57'),_0x38c0d5(_0x415168,_0xbc81('0x44'),[_0x4de3b4,'\x22'+_0x5ec7e5['join']('\x20')+'\x22']))}:{'type':_0xbc81('0x4e'),'content':_0x38c0d5(_0x415168,_0xbc81('0x57'),_0x38c0d5(_0x415168,'ELEMENT_TABLE_ROW',_0x4de3b4))};}if('tableColumn'==_0x234fac[_0xbc81('0x4d')]){const _0x1e2c0e=_0x234fac[_0xbc81('0x15')]()[_0xbc81('0x29')](_0x3d9fc8=>_0x3d9fc8['is']('textProxy'))[_0xbc81('0x7')](_0x58a35c=>_0x58a35c[_0xbc81('0x34')]),_0x4809e6=this[_0xbc81('0x6')](_0x234fac),_0x1b66c6=_0x4809e6[_0xbc81('0x2')]-_0x4809e6['minColumn']+0x1;if(_0xbc81('0x68')==_0x234fac[_0xbc81('0x5e')])return _0x1e2c0e['length']?{'type':_0xbc81('0x68'),'content':_0x38c0d5(_0x415168,_0xbc81('0x72'),_0x38c0d5(_0x415168,_0xbc81('0x46'),[_0x1b66c6,'\x22'+_0x1e2c0e['join']('\x20')+'\x22']))}:{'type':_0xbc81('0x68'),'content':_0x38c0d5(_0x415168,_0xbc81('0x72'),_0x38c0d5(_0x415168,_0xbc81('0x1c'),_0x1b66c6))};if('deletion'==_0x234fac['type'])return _0x1e2c0e[_0xbc81('0xf')]?{'type':'deletion','content':_0x38c0d5(_0x415168,_0xbc81('0x57'),_0x38c0d5(_0x415168,_0xbc81('0x46'),[_0x1b66c6,'\x22'+_0x1e2c0e[_0xbc81('0x71')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x38c0d5(_0x415168,_0xbc81('0x57'),_0x38c0d5(_0x415168,_0xbc81('0x1c'),_0x1b66c6))};}}),_0x190462[_0xbc81('0x18')][_0xbc81('0x1a')](_0xbc81('0x68'),'tableRow',_0xbc81('0x78'),_0x421270),_0x190462[_0xbc81('0x18')]['registerCustomCallback']('deletion',_0xbc81('0x13'),'accept',_0x421270),_0x190462[_0xbc81('0x18')]['registerCustomCallback'](_0xbc81('0x68'),_0xbc81('0x31'),_0xbc81('0x78'),_0x1b8c88),_0x190462['_suggestionFactory'][_0xbc81('0x1a')](_0xbc81('0x4e'),'tableColumn',_0xbc81('0x79'),_0x1b8c88),_0x190462['_suggestionFactory'][_0xbc81('0x1a')](_0xbc81('0x68'),_0xbc81('0x31'),_0xbc81('0x71'),_0x1b4c65),_0x190462['_suggestionFactory'][_0xbc81('0x1a')](_0xbc81('0x4e'),_0xbc81('0x31'),_0xbc81('0x71'),_0x1b4c65),_0x190462[_0xbc81('0x18')][_0xbc81('0x1a')](_0xbc81('0x68'),_0xbc81('0x13'),'join',_0x48c446),_0x190462[_0xbc81('0x18')][_0xbc81('0x1a')](_0xbc81('0x4e'),_0xbc81('0x13'),_0xbc81('0x71'),_0x48c446);}[_0xbc81('0x50')](){const _0x3092d8=this[_0xbc81('0x7f')],_0x592943=_0x3092d8[_0xbc81('0x7b')][_0xbc81('0x22')][_0xbc81('0x10')];return(_0x32f821,_0x1595b7)=>{_0x3092d8[_0xbc81('0x7b')][_0xbc81('0x6e')](_0x5e372e=>{const {commandName:_0x153ae5,commandParams:_0x47a1b5}=_0x1595b7;let _0x126505=_0x32f821[0x0][_0xbc81('0x40')]['nodeBefore'];_0x47a1b5&&_0x47a1b5[0x0]&&!0x1===_0x47a1b5[0x0][_0xbc81('0x59')]&&(_0x126505=_0x32f821[0x0][_0xbc81('0x14')][_0xbc81('0x3c')]);const _0x55684b=_0x5e372e['createRangeIn'](_0x126505);if('$graveyard'==_0x55684b['root']['rootName'])return;const _0x222b18=Array[_0xbc81('0x2a')](_0x592943[_0xbc81('0x7a')]())[_0xbc81('0x7')](_0xc4f73f=>_0x4101ba['fromRange'](_0xc4f73f));_0x5e372e[_0xbc81('0xb')](_0x55684b),_0x3092d8[_0xbc81('0x61')][_0xbc81('0x11')](_0x153ae5)['refresh'](),_0x47a1b5[_0xbc81('0x16')]({'forceDefaultExecution':!0x0}),_0x3092d8[_0xbc81('0x67')](_0x153ae5,..._0x47a1b5);const _0x27c4ec=_0x222b18['filter'](_0x1caa05=>_0xbc81('0x55')!=_0x1caa05[_0xbc81('0x3b')]['rootName']);_0x27c4ec[_0xbc81('0xf')]>0x0&&_0x5e372e[_0xbc81('0xb')](_0x27c4ec);for(const _0x3e4bc7 of _0x222b18)_0x3e4bc7[_0xbc81('0x52')]();});};}[_0xbc81('0x62')](_0x1c2055){const _0x20a317=this[_0xbc81('0x7f')][_0xbc81('0x32')][_0xbc81('0x11')](_0xbc81('0x77'));let _0x2534b4=Number[_0xbc81('0x41')],_0x5b2237=Number[_0xbc81('0x3f')],_0x19c935=Number['MAX_SAFE_INTEGER'],_0x2750a1=Number[_0xbc81('0x3f')];for(const _0x185ed9 of _0x1c2055){if('$graveyard'==_0x185ed9[_0xbc81('0x3b')]['rootName'])continue;const {row:_0xa0df7f,column:_0x29b201}=_0x20a317[_0xbc81('0x7e')](_0x185ed9),_0x5b96e1=_0x185ed9[_0xbc81('0x5c')](_0xbc81('0x4c'))?_0x185ed9[_0xbc81('0x64')]('rowspan')-0x1:0x0,_0x7af4f0=_0x185ed9[_0xbc81('0x5c')](_0xbc81('0x8'))?_0x185ed9[_0xbc81('0x64')](_0xbc81('0x8'))-0x1:0x0;_0x2534b4=_0xa0df7f<_0x2534b4?_0xa0df7f:_0x2534b4,_0x5b2237=_0xa0df7f+_0x5b96e1>_0x5b2237?_0xa0df7f+_0x5b96e1:_0x5b2237,_0x19c935=_0x29b201<_0x19c935?_0x29b201:_0x19c935,_0x2750a1=_0x29b201+_0x7af4f0>_0x2750a1?_0x29b201+_0x7af4f0:_0x2750a1;}return{'minRow':_0x2534b4,'maxRow':_0x5b2237,'minColumn':_0x19c935,'maxColumn':_0x2750a1};}[_0xbc81('0x24')](){const _0x39bf67=this[_0xbc81('0x7f')],_0x55295a=_0x39bf67['plugins'][_0xbc81('0x11')](_0xbc81('0x76')),_0x399983=_0x39bf67[_0xbc81('0x32')]['get']('TableUtils');this[_0xbc81('0x3e')]=new Set(),_0x39bf67[_0xbc81('0x7b')]['document']['on']('change:data',()=>{const _0x59b569=Array[_0xbc81('0x2a')](_0x39bf67[_0xbc81('0x7b')][_0xbc81('0x22')][_0xbc81('0x26')]['getChangedMarkers']());for(const {name:_0x3e7ff2,data:_0x59f51e}of _0x59b569){const {group:_0x1a8bad,id:_0x2138ab,subType:_0x183272}=_0x55295a['_splitMarkerName'](_0x3e7ff2);if('suggestion'!=_0x1a8bad)continue;if(null!=_0x59f51e[_0xbc81('0x74')])continue;const _0x5e941b=_0x55295a[_0xbc81('0x20')](_0x2138ab);this[_0xbc81('0x5b')]['includes'](_0x183272)&&this[_0xbc81('0x3e')][_0xbc81('0x4b')](_0x5e941b);}},{'priority':_0xbc81('0x66')});const _0x1da3ee=(_0x439884,_0x5c0f0f)=>{let _0x2cee63=!0x1;const _0x43a508=_0x5c0f0f['createRangeOn'](_0x439884),_0x11c8fe=_0x439884['findAncestor']('table'),_0x2b38a2=_0x399983[_0xbc81('0x7e')](_0x439884);for(const _0x5c09b9 of this[_0xbc81('0x3e')]){const _0x3aec21=_0x5c09b9['subType'],_0xa8c8d=_0x3aec21[_0xbc81('0x42')](_0xbc81('0x6c')),_0xe34a3f=_0x3aec21['substr'](_0xa8c8d?0xa:0x5),_0x59500e=_0xe34a3f['toLowerCase'](),_0x592571=_0x59500e['substr'](0x0,0x3)+'span',_0x5ad6b1=_0xbc81('0x4f')+_0xe34a3f,_0x549b47=_0xbc81('0x70')+_0xe34a3f;if(!_0x5c09b9[_0xbc81('0x36')])continue;if(_0x11c8fe!=_0x5c09b9['getFirstRange']()[_0xbc81('0x14')][_0xbc81('0x75')]('table'))continue;if(_0x5c09b9['isIntersectingWithRange'](_0x43a508))continue;const _0x3954c3=_0x439884[_0xbc81('0x5c')](_0x592571)?_0x439884[_0xbc81('0x64')](_0x592571)-0x1:0x0,_0x464160=this[_0xbc81('0x6')](_0x5c09b9),_0x1fac0e=_0x464160[_0x5ad6b1],_0x1a7f82=_0x464160[_0x549b47];_0x1fac0e<=_0x2b38a2[_0x59500e]&&_0x2b38a2[_0x59500e]+_0x3954c3<=_0x1a7f82&&(_0x5c09b9[_0xbc81('0x7c')](_0x43a508),_0x2cee63=!0x0);}return _0x2cee63;};_0x39bf67[_0xbc81('0x7b')]['document'][_0xbc81('0x48')](_0x3f88f2=>{let _0x5c5b56=!0x1;for(const _0x43982f of _0x39bf67[_0xbc81('0x7b')]['document'][_0xbc81('0x26')][_0xbc81('0xe')]())if(_0xbc81('0xd')==_0x43982f[_0xbc81('0x5e')]){if('tableRow'==_0x43982f[_0xbc81('0x51')])for(const _0xf9362f of _0x43982f[_0xbc81('0x1b')]['nodeAfter']['getChildren']())_0x5c5b56=_0x5c5b56||_0x1da3ee(_0xf9362f,_0x3f88f2);else _0xbc81('0x0')==_0x43982f['name']&&(_0x5c5b56=_0x5c5b56||_0x1da3ee(_0x43982f[_0xbc81('0x1b')]['nodeAfter'],_0x3f88f2));}return _0x5c5b56;});}['_getSuggestionCoords'](_0x526bcd){return this[_0xbc81('0x62')](_0x526bcd[_0xbc81('0x7a')]()[_0xbc81('0x7')](_0x19ee4d=>_0x19ee4d[_0xbc81('0x14')][_0xbc81('0x3c')]));}}function oe(_0x59f8e0){return Array[_0xbc81('0x2a')](new Set(_0x59f8e0)[_0xbc81('0x28')]());}
23
+ const _0x3aa9=['nodeAfter','fromRange','_setupColumnsRowsFixing','getChangedMarkers','setSelection','type','registerDescriptionCallback','tableColumn','isIntersectingWithRange','getCellLocation','data','deletion','afterInit','minRow','detach','downcastDispatcher','root','plugins','addMarker:suggestion','TrackChangesEditing','*Insert:*\x20%0','isEqual','insertTable','document','last','maxColumn','includes','TableEditing','left','span','writer','table','ELEMENT_TABLE_COLUMN_WITH_TEXT','removeTableColumn','some','getSelectionAffectedTableCells','_getCoordsForCells','subType','get','discard','element','from','getSuggestion','locale','minColumn','insertTableColumnLeft','batch','insertion','map','execute','above','hasAttribute','$graveyard','TableUtils','createPositionAt','editor','rowspan','getChanges','mapper','isInContent','item','ELEMENT_TABLE','insert','model','getRowIndexes','getItems','position','nodeBefore','classes','tableRow','getColumnIndexes','length','insertTableRowBelow','commands','end','getFirstRange','_tableSuggestions','ELEMENT_TABLE_ROW','registerCustomCallback','change','startsWith','differ','refresh','createRangeIn','createTableWalker','textProxy','toLowerCase','getChildren','ELEMENT_TABLE_WITH_TEXT','MAX_SAFE_INTEGER','removeTableRow','push','name','_tablePostFixingSubtypes','highest','add','enqueueChange','addRange','addClass','start','order','markMultiRangeInsertion','_acceptFormatSuggestionCallbackFactory','getContainedElement','substr','colspan','accept','min','tableCell','registerElementLabel','_suggestionFactory','findAncestor','*Remove:*\x20%0','_descriptionFactory','selectTableColumn','markMultiRangeDeletion','_getSuggestionCoords','enableCommand','ELEMENT_TABLE_COLUMN','filter','first','max','options','toViewElement','rootName','_splitMarkerName','cell','showSuggestionHighlights','getAttribute','getRanges','insertTableRowAbove','MIN_SAFE_INTEGER','low','maxRow','createRangeOn','join','insertTableColumnRight'];(function(_0x17dbfe,_0x3aa9c1){const _0x3f3ec2=function(_0x5d1229){while(--_0x5d1229){_0x17dbfe['push'](_0x17dbfe['shift']());}};_0x3f3ec2(++_0x3aa9c1);}(_0x3aa9,0xc8));const _0x3f3e=function(_0x17dbfe,_0x3aa9c1){_0x17dbfe=_0x17dbfe-0x0;let _0x3f3ec2=_0x3aa9[_0x17dbfe];return _0x3f3ec2;};import{Plugin as _0x3c99ea}from'ckeditor5/src/core';import{LiveRange as _0x173c35}from'ckeditor5/src/engine';import{setHighlightHandling as _0x6ae0f7}from'ckeditor5/src/widget';import{getTranslation as _0x2ce532}from'../utils/common-translations';export default class ft extends _0x3c99ea{constructor(_0x585709){super(_0x585709),this[_0x3f3e('0x1e')]=[_0x3f3e('0x6'),_0x3f3e('0x51')];}[_0x3f3e('0x56')](){const _0x70d02c=this[_0x3f3e('0x81')],_0x2f3a6d=_0x70d02c['model'][_0x3f3e('0x61')]['selection'];if(!_0x70d02c[_0x3f3e('0x5b')]['has'](_0x3f3e('0x65')))return;const _0x5ddf85=_0x70d02c[_0x3f3e('0x75')],_0x28e424=_0x70d02c[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x5d')),_0x48b49f=_0x70d02c[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));_0x28e424[_0x3f3e('0x32')][_0x3f3e('0x2e')](_0x3f3e('0x69'),_0x2fa18a=>_0x2ce532(_0x5ddf85,_0x3f3e('0x87'),_0x2fa18a)),this[_0x3f3e('0x4c')](),_0x28e424['enableCommand'](_0x3f3e('0x60')),_0x28e424[_0x3f3e('0x36')]('selectTableRow'),_0x28e424[_0x3f3e('0x36')](_0x3f3e('0x33'));for(const _0x351bb2 of[_0x3f3e('0x43'),_0x3f3e('0x9')]){const _0x3c5466=_0x70d02c['commands']['get'](_0x351bb2);_0x28e424[_0x3f3e('0x36')](_0x351bb2,_0x525e8e=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x27aec1=>{_0x525e8e();const _0x3e325a=_0x3f3e('0x7c')===_0x3c5466[_0x3f3e('0x25')],_0x48636b=_0x48b49f[_0x3f3e('0x6d')](_0x2f3a6d),_0x5e02bf=_0x48b49f[_0x3f3e('0x1')](_0x48636b),_0x2615a6=_0x3e325a?_0x5e02bf['first']-0x1:_0x5e02bf[_0x3f3e('0x62')]+0x1,_0x5049fa=_0x48636b[0x0][_0x3f3e('0x30')](_0x3f3e('0x69')),_0x22f95a=_0x48b49f[_0x3f3e('0x15')](_0x5049fa,{'startRow':_0x2615a6,'endRow':_0x2615a6}),_0x27db20=Array['from'](_0x22f95a)[_0x3f3e('0x7a')](_0x22a541=>_0x27aec1['createRangeOn'](_0x22a541[_0x3f3e('0x3f')]));_0x28e424['markMultiRangeInsertion'](_0x27db20,'tableRow');});});}for(const _0x1884d1 of[_0x3f3e('0x77'),_0x3f3e('0x49')]){const _0x43092e=_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x1884d1);_0x28e424['enableCommand'](_0x1884d1,_0x1a5a89=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x1d165d=>{_0x1a5a89();const _0x40f994=_0x3f3e('0x66')===_0x43092e[_0x3f3e('0x25')],_0x5024e4=_0x48b49f[_0x3f3e('0x6d')](_0x2f3a6d),_0x439ac4=_0x48b49f[_0x3f3e('0x7')](_0x5024e4),_0x136f6f=_0x40f994?_0x439ac4[_0x3f3e('0x39')]-0x1:_0x439ac4['last']+0x1,_0x6ca8d=_0x5024e4[0x0]['findAncestor']('table'),_0x149f31=_0x48b49f[_0x3f3e('0x15')](_0x6ca8d,{'startRow':0x0,'column':_0x136f6f,'includeAllSlots':!0x1}),_0x1dc831=Array[_0x3f3e('0x73')](_0x149f31)['map'](_0x5c413d=>_0x1d165d[_0x3f3e('0x47')](_0x5c413d['cell']));_0x28e424[_0x3f3e('0x26')](_0x1dc831,'tableColumn');});});}for(const _0x150cd4 of['removeTableRow','removeTableColumn']){const _0x115d42=_0x150cd4[_0x3f3e('0x29')](0xb),_0x1071b0=_0x115d42['toLowerCase'](),_0x2fc61e=_0x1071b0[_0x3f3e('0x29')](0x0,0x3)+_0x3f3e('0x67'),_0x650f3d=_0x3f3e('0x69')+_0x115d42,_0x4a02d6=_0x3f3e('0x2c')+_0x115d42,_0x46c6d4=_0x3f3e('0x3a')+_0x115d42;_0x28e424['enableCommand'](_0x150cd4,()=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x2b1375=>{const _0x1121a4=_0x48b49f['getSelectionAffectedTableCells'](_0x2f3a6d),_0x38b0e6=_0x1121a4[0x0][_0x3f3e('0x30')](_0x3f3e('0x69'));let _0x27d519;if(_0x3f3e('0x1b')==_0x150cd4){const _0x52678e=_0x48b49f[_0x3f3e('0x1')](_0x1121a4);_0x27d519={'startRow':_0x52678e['first'],'endRow':_0x52678e[_0x3f3e('0x62')],'includeAllSlots':!0x0};}else{const _0x1b2443=_0x48b49f[_0x3f3e('0x7')](_0x1121a4);_0x27d519={'startColumn':_0x1b2443[_0x3f3e('0x39')],'endColumn':_0x1b2443['last'],'includeAllSlots':!0x0};}const _0x1d8a3e=_0x48b49f[_0x3f3e('0x15')](_0x38b0e6,_0x27d519),_0x365658=Array[_0x3f3e('0x73')](_0x1d8a3e)[_0x3f3e('0x7a')](({cell:_0x11dbbd})=>_0x11dbbd),_0x43529a=oe(_0x365658['filter'](_0x5b713b=>_0x5b713b[_0x3f3e('0x7d')](_0x2fc61e))),_0x5df89b=oe(_0x365658[_0x3f3e('0x38')](_0x516d94=>!_0x516d94[_0x3f3e('0x7d')](_0x2fc61e)))[_0x3f3e('0x7a')](_0x12c53e=>_0x2b1375[_0x3f3e('0x47')](_0x12c53e)),_0x2c4865=_0x28e424[_0x3f3e('0x34')](_0x5df89b,_0x650f3d);if(_0x2c4865&&(_0x3f3e('0x6')==_0x2c4865['subType']||_0x3f3e('0x51')==_0x2c4865[_0x3f3e('0x6f')])){const _0x160add=this[_0x3f3e('0x35')](_0x2c4865);for(const _0x2f0b4a of _0x43529a){const _0x5e1395=_0x2b1375[_0x3f3e('0x47')](_0x2f0b4a),_0x140332=_0x48b49f['getCellLocation'](_0x2f0b4a),_0xc32575=_0x2f0b4a[_0x3f3e('0x41')](_0x2fc61e)-0x1,_0xf27c38=_0x160add[_0x4a02d6],_0x340faf=_0x160add[_0x46c6d4];_0xf27c38<=_0x140332[_0x1071b0]&&_0x140332[_0x1071b0]+_0xc32575<=_0x340faf&&_0x2c4865[_0x3f3e('0x22')](_0x5e1395);}}});});}function _0x13a96b(_0x1c9658){const _0x454857=Array[_0x3f3e('0x73')](_0x2f3a6d[_0x3f3e('0x42')]())[_0x3f3e('0x7a')](_0x471b9e=>_0x173c35['fromRange'](_0x471b9e));_0x70d02c['model'][_0x3f3e('0x10')](_0x20f953=>{const _0x3dae41=_0x20f953[_0x3f3e('0x78')];_0x1c9658=_0x1c9658[_0x3f3e('0x38')](_0x4ae64e=>'$graveyard'!=_0x4ae64e[_0x3f3e('0x5a')]['rootName']),_0x20f953[_0x3f3e('0x4e')](_0x1c9658),_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')]('removeTableRow')[_0x3f3e('0x13')](),_0x70d02c[_0x3f3e('0x7b')](_0x3f3e('0x1b'),{'forceDefaultExecution':!0x0}),_0x70d02c[_0x3f3e('0x0')]['enqueueChange'](()=>{_0x70d02c['model'][_0x3f3e('0x21')](_0x3dae41,_0x1ee2e2=>{const _0xecf0a0=_0x454857[_0x3f3e('0x38')](_0x29206c=>'$graveyard'!=_0x29206c['root']['rootName']);_0xecf0a0[_0x3f3e('0x8')]>0x0&&_0x1ee2e2[_0x3f3e('0x4e')](_0xecf0a0);for(const _0xd97c97 of _0x454857)_0xd97c97[_0x3f3e('0x58')]();});});});}function _0x4ec45a(_0x181502){_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x3d4438=>{const _0x1598e2=Array['from'](_0x2f3a6d['getRanges']())[_0x3f3e('0x7a')](_0x28f28e=>_0x173c35['fromRange'](_0x28f28e)),_0x47f38=[];for(const _0xaeeba6 of _0x181502)for(const _0x232688 of _0xaeeba6[_0x3f3e('0x2')]({'shallow':!0x0}))_0x47f38[_0x3f3e('0x1c')](_0x232688);for(const _0x2b608e of _0x47f38)_0x3f3e('0x7e')!=_0x2b608e['root'][_0x3f3e('0x3d')]&&(_0x3d4438['setSelection'](_0x3d4438[_0x3f3e('0x80')](_0x2b608e,0x0)),_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x3f3e('0x6b'))['refresh'](),_0x70d02c[_0x3f3e('0x7b')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x21b2f1=_0x1598e2[_0x3f3e('0x38')](_0x1d6364=>_0x3f3e('0x7e')!=_0x1d6364[_0x3f3e('0x5a')]['rootName']);_0x21b2f1['length']>0x0&&_0x3d4438['setSelection'](_0x21b2f1);for(const _0x8886ef of _0x1598e2)_0x8886ef[_0x3f3e('0x58')]();});}function _0x384969(_0x228957,_0x35e51b){return _0x35e51b['every'](_0x5c6552=>_0x228957['some'](_0x14fbe5=>_0x14fbe5[_0x3f3e('0xb')][_0x3f3e('0x5f')](_0x5c6552[_0x3f3e('0x24')])||_0x5c6552[_0x3f3e('0xb')][_0x3f3e('0x5f')](_0x14fbe5[_0x3f3e('0x24')])));}function _0x3acd1c(_0x491726,_0x13489e){return _0x491726[_0x3f3e('0x6c')](_0x28247b=>_0x13489e[_0x3f3e('0x6c')](_0x22b6c3=>_0x28247b['end']['isTouching'](_0x22b6c3[_0x3f3e('0x24')])));}_0x70d02c[_0x3f3e('0x54')][_0x3f3e('0x59')]['on'](_0x3f3e('0x5c'),(_0x5f3354,_0x4e10cb,_0x4313fc)=>{if(!_0x4313fc[_0x3f3e('0x3b')][_0x3f3e('0x40')])return;const _0x215d83=_0x4e10cb[_0x3f3e('0x86')];if(!_0x215d83)return;const _0x3853a4=_0x4313fc[_0x3f3e('0x84')][_0x3f3e('0x3c')](_0x215d83);function _0x13ac93(_0x324bb1){return Array['isArray'](_0x324bb1)?_0x324bb1:[_0x324bb1];}_0x3853a4&&_0x3f3e('0x2d')===_0x215d83['name']&&_0x6ae0f7(_0x3853a4,_0x4313fc[_0x3f3e('0x68')],(_0x5a83d8,_0x38a041,_0x77dc66)=>_0x77dc66[_0x3f3e('0x23')](_0x13ac93(_0x38a041['classes']),_0x5a83d8),(_0x224fdf,_0x582c48,_0x7725d)=>_0x7725d['removeClass'](_0x13ac93(_0x582c48[_0x3f3e('0x5')]),_0x224fdf));},{'priority':_0x3f3e('0x1f')}),_0x28e424[_0x3f3e('0x32')]['registerDescriptionCallback'](_0xb18d54=>{if(_0x3f3e('0x79')!=_0xb18d54['type']&&'deletion'!=_0xb18d54[_0x3f3e('0x4f')])return;const _0x553767=_0xb18d54[_0x3f3e('0x28')]();if(null!=_0x553767&&_0x553767['is'](_0x3f3e('0x72'),_0x3f3e('0x69'))){if(_0x3f3e('0x79')==_0xb18d54['type']){const _0x3f57da=_0xb18d54[_0x3f3e('0x2')]()[_0x3f3e('0x38')](_0x16fd71=>_0x16fd71['is'](_0x3f3e('0x16')))['map'](_0x142498=>_0x142498[_0x3f3e('0x54')]);if(_0x3f57da['length'])return{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,_0x3f3e('0x19'),'\x22'+_0x3f57da[_0x3f3e('0x48')]('\x20')+'\x22'))};}if(_0x3f3e('0x55')==_0xb18d54[_0x3f3e('0x4f')]){const _0x23f475=_0xb18d54['getItems']()[_0x3f3e('0x38')](_0x1ffe1e=>_0x1ffe1e['is']('textProxy'))[_0x3f3e('0x7a')](_0x5a11fa=>_0x5a11fa[_0x3f3e('0x54')]);if(_0x23f475[_0x3f3e('0x8')])return{'type':'deletion','content':_0x2ce532(_0x5ddf85,'*Remove:*\x20%0',_0x2ce532(_0x5ddf85,_0x3f3e('0x19'),'\x22'+_0x23f475[_0x3f3e('0x48')]('\x20')+'\x22'))};}}}),_0x28e424[_0x3f3e('0x32')][_0x3f3e('0x50')](_0x5d83a1=>{if(_0x3f3e('0x6')==_0x5d83a1[_0x3f3e('0x6f')]){const _0x259a6a=_0x5d83a1[_0x3f3e('0x2')]()['filter'](_0x4d7e2e=>_0x4d7e2e['is'](_0x3f3e('0x16')))['map'](_0x39b4a9=>_0x39b4a9['data']),_0x4a3693=this['_getSuggestionCoords'](_0x5d83a1),_0x2fa08f=_0x4a3693[_0x3f3e('0x46')]-_0x4a3693[_0x3f3e('0x57')]+0x1;if(_0x3f3e('0x79')==_0x5d83a1[_0x3f3e('0x4f')])return _0x259a6a['length']?{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,'*Insert:*\x20%0',_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2fa08f,'\x22'+_0x259a6a[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,'*Insert:*\x20%0',_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW',_0x2fa08f))};if(_0x3f3e('0x55')==_0x5d83a1[_0x3f3e('0x4f')])return _0x259a6a[_0x3f3e('0x8')]?{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2fa08f,'\x22'+_0x259a6a[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0xe'),_0x2fa08f))};}if(_0x3f3e('0x51')==_0x5d83a1[_0x3f3e('0x6f')]){const _0x4142ad=_0x5d83a1[_0x3f3e('0x2')]()[_0x3f3e('0x38')](_0x113bc2=>_0x113bc2['is'](_0x3f3e('0x16')))[_0x3f3e('0x7a')](_0x5ae2a3=>_0x5ae2a3['data']),_0x2fa4c3=this[_0x3f3e('0x35')](_0x5d83a1),_0x27634f=_0x2fa4c3[_0x3f3e('0x63')]-_0x2fa4c3[_0x3f3e('0x76')]+0x1;if('insertion'==_0x5d83a1[_0x3f3e('0x4f')])return _0x4142ad[_0x3f3e('0x8')]?{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,_0x3f3e('0x6a'),[_0x27634f,'\x22'+_0x4142ad['join']('\x20')+'\x22']))}:{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_COLUMN',_0x27634f))};if(_0x3f3e('0x55')==_0x5d83a1[_0x3f3e('0x4f')])return _0x4142ad[_0x3f3e('0x8')]?{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0x6a'),[_0x27634f,'\x22'+_0x4142ad[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0x37'),_0x27634f))};}}),_0x28e424[_0x3f3e('0x2f')][_0x3f3e('0xf')](_0x3f3e('0x79'),'tableRow',_0x3f3e('0x71'),_0x13a96b),_0x28e424[_0x3f3e('0x2f')][_0x3f3e('0xf')]('deletion',_0x3f3e('0x6'),_0x3f3e('0x2b'),_0x13a96b),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')]('insertion',_0x3f3e('0x51'),_0x3f3e('0x71'),_0x4ec45a),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')](_0x3f3e('0x55'),'tableColumn',_0x3f3e('0x2b'),_0x4ec45a),_0x28e424[_0x3f3e('0x2f')]['registerCustomCallback'](_0x3f3e('0x79'),'tableColumn',_0x3f3e('0x48'),_0x384969),_0x28e424['_suggestionFactory']['registerCustomCallback'](_0x3f3e('0x55'),_0x3f3e('0x51'),'join',_0x384969),_0x28e424['_suggestionFactory']['registerCustomCallback']('insertion','tableRow',_0x3f3e('0x48'),_0x3acd1c),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')](_0x3f3e('0x55'),_0x3f3e('0x6'),_0x3f3e('0x48'),_0x3acd1c);}[_0x3f3e('0x27')](){const _0x123c94=this[_0x3f3e('0x81')],_0x3e8167=_0x123c94[_0x3f3e('0x0')]['document']['selection'];return(_0x116122,_0x3d872d)=>{_0x123c94[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x3da5d7=>{const {commandName:_0x298b7d,commandParams:_0x5f357f}=_0x3d872d;let _0x47de8b=_0x116122[0x0][_0x3f3e('0xb')][_0x3f3e('0x4')];_0x5f357f&&_0x5f357f[0x0]&&!0x1===_0x5f357f[0x0]['forceValue']&&(_0x47de8b=_0x116122[0x0]['start'][_0x3f3e('0x4a')]);const _0x151b50=_0x3da5d7[_0x3f3e('0x14')](_0x47de8b);if('$graveyard'==_0x151b50[_0x3f3e('0x5a')][_0x3f3e('0x3d')])return;const _0x9d170a=Array['from'](_0x3e8167[_0x3f3e('0x42')]())[_0x3f3e('0x7a')](_0x591385=>_0x173c35[_0x3f3e('0x4b')](_0x591385));_0x3da5d7[_0x3f3e('0x4e')](_0x151b50),_0x123c94[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x298b7d)[_0x3f3e('0x13')](),_0x5f357f[_0x3f3e('0x1c')]({'forceDefaultExecution':!0x0}),_0x123c94[_0x3f3e('0x7b')](_0x298b7d,..._0x5f357f);const _0x3b39ff=_0x9d170a[_0x3f3e('0x38')](_0x1b01cc=>_0x3f3e('0x7e')!=_0x1b01cc[_0x3f3e('0x5a')]['rootName']);_0x3b39ff[_0x3f3e('0x8')]>0x0&&_0x3da5d7[_0x3f3e('0x4e')](_0x3b39ff);for(const _0x284567 of _0x9d170a)_0x284567['detach']();});};}[_0x3f3e('0x6e')](_0x502908){const _0x52766a=this['editor'][_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));let _0x2dd73d=Number[_0x3f3e('0x1a')],_0x4f5bfe=Number[_0x3f3e('0x44')],_0x548ec3=Number['MAX_SAFE_INTEGER'],_0x1c0ebc=Number[_0x3f3e('0x44')];for(const _0x45ce3b of _0x502908){if(_0x3f3e('0x7e')==_0x45ce3b[_0x3f3e('0x5a')][_0x3f3e('0x3d')])continue;const {row:_0x54a41a,column:_0x319b21}=_0x52766a[_0x3f3e('0x53')](_0x45ce3b),_0x54235d=_0x45ce3b[_0x3f3e('0x7d')](_0x3f3e('0x82'))?_0x45ce3b['getAttribute'](_0x3f3e('0x82'))-0x1:0x0,_0x50412f=_0x45ce3b[_0x3f3e('0x7d')](_0x3f3e('0x2a'))?_0x45ce3b[_0x3f3e('0x41')](_0x3f3e('0x2a'))-0x1:0x0;_0x2dd73d=_0x54a41a<_0x2dd73d?_0x54a41a:_0x2dd73d,_0x4f5bfe=_0x54a41a+_0x54235d>_0x4f5bfe?_0x54a41a+_0x54235d:_0x4f5bfe,_0x548ec3=_0x319b21<_0x548ec3?_0x319b21:_0x548ec3,_0x1c0ebc=_0x319b21+_0x50412f>_0x1c0ebc?_0x319b21+_0x50412f:_0x1c0ebc;}return{'minRow':_0x2dd73d,'maxRow':_0x4f5bfe,'minColumn':_0x548ec3,'maxColumn':_0x1c0ebc};}['_setupColumnsRowsFixing'](){const _0xc5e428=this['editor'],_0x1226b1=_0xc5e428['plugins'][_0x3f3e('0x70')](_0x3f3e('0x5d')),_0x26a90b=_0xc5e428[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));this[_0x3f3e('0xd')]=new Set(),_0xc5e428['model']['document']['on']('change:data',()=>{const _0x4292ab=Array[_0x3f3e('0x73')](_0xc5e428[_0x3f3e('0x0')][_0x3f3e('0x61')][_0x3f3e('0x12')][_0x3f3e('0x4d')]());for(const {name:_0x40f829,data:_0x5838d6}of _0x4292ab){const {group:_0x432d28,id:_0xbb5f2a,subType:_0x2b7e93}=_0x1226b1[_0x3f3e('0x3e')](_0x40f829);if('suggestion'!=_0x432d28)continue;if(null!=_0x5838d6['oldRange'])continue;const _0x577da4=_0x1226b1[_0x3f3e('0x74')](_0xbb5f2a);this[_0x3f3e('0x1e')][_0x3f3e('0x64')](_0x2b7e93)&&this[_0x3f3e('0xd')][_0x3f3e('0x20')](_0x577da4);}},{'priority':_0x3f3e('0x45')});const _0x52db95=(_0x400b55,_0x1641e4)=>{let _0x2852d6=!0x1;const _0x323a08=_0x1641e4[_0x3f3e('0x47')](_0x400b55),_0x41b8a7=_0x400b55[_0x3f3e('0x30')](_0x3f3e('0x69')),_0x285bbe=_0x26a90b[_0x3f3e('0x53')](_0x400b55);for(const _0x45764a of this[_0x3f3e('0xd')]){const _0x1fc23a=_0x45764a[_0x3f3e('0x6f')],_0x57e8d6=_0x1fc23a[_0x3f3e('0x11')]('tablePaste'),_0x105aa1=_0x1fc23a['substr'](_0x57e8d6?0xa:0x5),_0x53ed40=_0x105aa1[_0x3f3e('0x17')](),_0x4bd829=_0x53ed40[_0x3f3e('0x29')](0x0,0x3)+'span',_0x2e7281='min'+_0x105aa1,_0x2597ce=_0x3f3e('0x3a')+_0x105aa1;if(!_0x45764a[_0x3f3e('0x85')])continue;if(_0x41b8a7!=_0x45764a[_0x3f3e('0xc')]()[_0x3f3e('0x24')]['findAncestor'](_0x3f3e('0x69')))continue;if(_0x45764a[_0x3f3e('0x52')](_0x323a08))continue;const _0x33ad26=_0x400b55[_0x3f3e('0x7d')](_0x4bd829)?_0x400b55[_0x3f3e('0x41')](_0x4bd829)-0x1:0x0,_0x4124df=this[_0x3f3e('0x35')](_0x45764a),_0x24e606=_0x4124df[_0x2e7281],_0x287e53=_0x4124df[_0x2597ce];_0x24e606<=_0x285bbe[_0x53ed40]&&_0x285bbe[_0x53ed40]+_0x33ad26<=_0x287e53&&(_0x45764a[_0x3f3e('0x22')](_0x323a08),_0x2852d6=!0x0);}return _0x2852d6;};_0xc5e428['model'][_0x3f3e('0x61')]['registerPostFixer'](_0x59deba=>{let _0x4944d1=!0x1;for(const _0x349411 of _0xc5e428[_0x3f3e('0x0')][_0x3f3e('0x61')][_0x3f3e('0x12')][_0x3f3e('0x83')]())if(_0x3f3e('0x88')==_0x349411[_0x3f3e('0x4f')]){if(_0x3f3e('0x6')==_0x349411[_0x3f3e('0x1d')])for(const _0x1e8396 of _0x349411['position'][_0x3f3e('0x4a')][_0x3f3e('0x18')]())_0x4944d1=_0x4944d1||_0x52db95(_0x1e8396,_0x59deba);else _0x3f3e('0x2d')==_0x349411['name']&&(_0x4944d1=_0x4944d1||_0x52db95(_0x349411[_0x3f3e('0x3')][_0x3f3e('0x4a')],_0x59deba));}return _0x4944d1;});}['_getSuggestionCoords'](_0x2fa648){return this[_0x3f3e('0x6e')](_0x2fa648[_0x3f3e('0x42')]()['map'](_0x547807=>_0x547807[_0x3f3e('0x24')]['nodeAfter']));}}function oe(_0x12d69e){return Array[_0x3f3e('0x73')](new Set(_0x12d69e)['values']());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbc55=['afterInit','editor','toggleTableCaption','enableCommand','TrackChangesEditing','plugins','TableCaptionEditing','requires'];(function(_0x3da586,_0xbc5567){const _0xed73e8=function(_0x5b9ec8){while(--_0x5b9ec8){_0x3da586['push'](_0x3da586['shift']());}};_0xed73e8(++_0xbc5567);}(_0xbc55,0x167));const _0xed73=function(_0x3da586,_0xbc5567){_0x3da586=_0x3da586-0x0;let _0xed73e8=_0xbc55[_0x3da586];return _0xed73e8;};import{Plugin as _0x97e431}from'ckeditor5/src/core';import _0x292277 from'./table';export default class wt extends _0x97e431{static get[_0xed73('0x0')](){return[_0x292277];}[_0xed73('0x1')](){const _0x4120e4=this[_0xed73('0x2')];if(!_0x4120e4[_0xed73('0x6')]['has'](_0xed73('0x7')))return;_0x4120e4[_0xed73('0x6')]['get'](_0xed73('0x5'))[_0xed73('0x4')](_0xed73('0x3'));}}
23
+ const _0x1cba=['editor','plugins','requires','get','TableCaptionEditing','TrackChangesEditing'];(function(_0x3ebd05,_0x1cbab1){const _0xe6f0d0=function(_0x1f72a2){while(--_0x1f72a2){_0x3ebd05['push'](_0x3ebd05['shift']());}};_0xe6f0d0(++_0x1cbab1);}(_0x1cba,0x16b));const _0xe6f0=function(_0x3ebd05,_0x1cbab1){_0x3ebd05=_0x3ebd05-0x0;let _0xe6f0d0=_0x1cba[_0x3ebd05];return _0xe6f0d0;};import{Plugin as _0x21b2c8}from'ckeditor5/src/core';import _0x5decf5 from'./table';export default class wt extends _0x21b2c8{static get[_0xe6f0('0x5')](){return[_0x5decf5];}['afterInit'](){const _0x460c60=this[_0xe6f0('0x3')];if(!_0x460c60[_0xe6f0('0x4')]['has'](_0xe6f0('0x1')))return;_0x460c60[_0xe6f0('0x4')][_0xe6f0('0x0')](_0xe6f0('0x2'))['enableCommand']('toggleTableCaption');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4eba=['suggestion:formatBlock:tablePasteCell','newRange','content','previousSibling','model','TableClipboard','TableUtils','ck-suggestion-marker','documentSelection','reduce','filter','element','end','_splitMarkerName','some','afterInit','suggestion-td','markerAttributes','value','start','showSuggestionHighlights','commands','endRow','endColumn','dataDowncast','keys','getChild','push','from','get','subType','findAncestor','document','nextSibling','createRangeOn','tableCellBorderColor','tableCell','_tablePostFixingSubtypes','getMarkers','plugins','editingDowncast','getSelectionAffectedTableCells','removeMarkers','high','insertColumns','containsRange','tablePaste','columnInsertionIndexes','set','tableCellBackgroundColor','unwrap','deletion','fromEntries','requires','for','options','batch','getRanges','insertionRanges','tableCellVerticalAlignment','$graveyard','first','tablePasteCell','return','ck-suggestion-marker--active','isEqual','setAttributes','name','_getCoordsForCells','fill','getContainedElement','removeMarker','cell','getRows','removeRows','tableCellSuggestion','markMultiRangeInsertion','_replaceTableSlotCell','conversion','editing','getAttributes','createElement','wrap','tableCellHorizontalAlignment','ck-suggestion-marker-insertion','createRangeIn','trackChanges','hasSuggestion','column','_isForcedDefaultExecutionBlock','registerCustomCallback','remove','isEmpty','tablePasteColumn','createTableWalker','add','low','position','insertContent','insertion','tablePasteChainId','tableCellBorderStyle','getChanges','accept','forceDefaultExecution','tablePasteRow','insertRows','getSuggestions','tableCellPadding','columns','change','map','getItems','suggestionUnloaded','*Replace\x20table\x20cells*','getAllAdjacentSuggestions','_descriptionFactory','differ','register','isInContent','cells','attributes','Users','getShiftedBy','oldRange','table','registerDescriptionCallback','TrackChangesEditing','type','discard','getChildren','author','next','registerPostFixer','length','getChangedMarkers','last','markerName','markers','suggestionLoaded','deletionRanges','has','_createdBatches','selection','entries','find','markerToHighlight','elementToElement','formatBlock','suggestion','getColumns','startsWith','columnInsertionRanges','stop','editor','paragraph','includes','markMultiRangeBlockFormat','_suggestionFactory','insert','previous'];(function(_0x3a58bf,_0x4eba1d){const _0x2d3f62=function(_0x10cf0f){while(--_0x10cf0f){_0x3a58bf['push'](_0x3a58bf['shift']());}};_0x2d3f62(++_0x4eba1d);}(_0x4eba,0x159));const _0x2d3f=function(_0x3a58bf,_0x4eba1d){_0x3a58bf=_0x3a58bf-0x0;let _0x2d3f62=_0x4eba[_0x3a58bf];return _0x2d3f62;};import{getTranslation as _0xb94d73}from'../utils/common-translations';import{Plugin as _0x451d74}from'ckeditor5/src/core';import _0x4f29a5 from'./table';import{uid as _0x18f921,priorities as _0x48994d}from'ckeditor5/src/utils';const ne=['tableCellBorderWidth',_0x2d3f('0xc'),_0x2d3f('0x4e'),_0x2d3f('0x3c'),_0x2d3f('0x24'),_0x2d3f('0x1a'),_0x2d3f('0x55')],le=Object['fromEntries'](ne['map'](_0x2d4968=>[_0x2d4968,null]));export default class mt extends _0x451d74{static get[_0x2d3f('0x1e')](){return[_0x4f29a5];}[_0x2d3f('0x99')](){const _0x4ff5b8=this[_0x2d3f('0x83')];if(!_0x4ff5b8['plugins']['has']('TableClipboard'))return;const _0x3c2e1a=_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x2d3f('0x68')),_0x421ec8=_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x2d3f('0x90')),_0x26fa83=_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x4f29a5),_0xfb62dd=_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x2d3f('0x8f'));_0x26fa83[_0x2d3f('0xe')][_0x2d3f('0x4')](_0x2d3f('0x52'),'tablePasteColumn'),_0x4ff5b8[_0x2d3f('0x8e')]['schema'][_0x2d3f('0x5f')](_0x2d3f('0x34'),{'allowIn':_0x2d3f('0xd'),'allowContentOf':_0x2d3f('0xd'),'isLimit':!0x0}),_0x4ff5b8['conversion'][_0x2d3f('0x7c')]({'model':_0x2d3f('0x34'),'view':'suggestion-td'});let _0x777b71=null;_0x4ff5b8[_0x2d3f('0x8e')]['on']('insertContent',(_0x42db94,_0x126f44)=>{const [_0x42b3f3,_0x5d9f36]=_0x126f44,_0x1c6c1d=_0x126f44[_0x126f44[_0x2d3f('0x6f')]-0x1];_0x1c6c1d&&_0x1c6c1d[_0x2d3f('0x51')]||_0x3c2e1a[_0x2d3f('0x42')]||this[_0x2d3f('0x83')][_0x2d3f('0x9f')][_0x2d3f('0x6')](_0x2d3f('0x3f'))[_0x2d3f('0x9c')]&&function(_0x1f1422,_0x582822,_0x41b681,_0x480443,_0x5101ee){if(_0x582822&&!_0x582822['is'](_0x2d3f('0x92')))return!0x1;const _0x59b2a2=_0x5101ee['getTableIfOnlyTableInContent'](_0x1f1422,_0x41b681);if(!_0x59b2a2||!ae(_0x59b2a2,null,_0x480443))return!0x1;const _0x16699b=_0x480443[_0x2d3f('0x12')](_0x41b681['document'][_0x2d3f('0x78')]);if(!_0x16699b[_0x2d3f('0x6f')])return!0x1;const _0x20a70b=_0x16699b[0x0]['findAncestor'](_0x2d3f('0x66')),_0x2dd0e5=_0x480443['getRowIndexes'](_0x16699b),_0x5a4944=_0x480443['getColumnIndexes'](_0x16699b),_0x2ed2c2={'startRow':_0x2dd0e5[_0x2d3f('0x26')],'endRow':_0x2dd0e5['last'],'startColumn':_0x5a4944['first'],'endColumn':_0x5a4944[_0x2d3f('0x71')]};return 0x1==_0x16699b[_0x2d3f('0x6f')]&&(_0x2ed2c2[_0x2d3f('0xa0')]+=_0x480443[_0x2d3f('0x32')](_0x59b2a2)-0x1,_0x2ed2c2[_0x2d3f('0x0')]+=_0x480443[_0x2d3f('0x7f')](_0x59b2a2)-0x1),ae(_0x20a70b,_0x2ed2c2,_0x480443);}(_0x42b3f3,_0x5d9f36,_0x4ff5b8['model'],_0x421ec8,_0xfb62dd)&&(_0x42db94[_0x2d3f('0x82')](),_0x777b71={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4ff5b8['model']['change'](()=>{_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0x4b')](_0x126f44[0x0],_0x126f44[0x1],_0x126f44[0x2],_0x126f44[0x3],{'forceDefaultExecution':!0x0});const _0x334e98=_0x18f921(),{rowInsertionRanges:_0x1f6ac1,columnInsertionRanges:_0x39d33e,insertionRanges:_0x4173a5,deletionRanges:_0x4d558d,cells:_0x3aa5be}=_0x777b71;_0x1f6ac1['length']&&_0x3c2e1a[_0x2d3f('0x35')](_0x1f6ac1,_0x2d3f('0x52'),{'tablePasteChainId':_0x334e98}),_0x39d33e['length']&&_0x3c2e1a[_0x2d3f('0x35')](_0x39d33e,_0x2d3f('0x46'),{'tablePasteChainId':_0x334e98}),_0x4173a5[_0x2d3f('0x6f')]&&_0x3c2e1a[_0x2d3f('0x35')](_0x4173a5,'tablePaste',{'tablePasteChainId':_0x334e98,'skipNestingCheck':!0x0}),_0x4d558d['length']&&_0x3c2e1a['markMultiRangeDeletion'](_0x4d558d,_0x2d3f('0x17'),{'tablePasteChainId':_0x334e98,'skipNestingCheck':!0x0});const _0x7d9848=_0x3c2e1a[_0x2d3f('0x86')](_0x3aa5be[_0x2d3f('0x58')](({element:_0x16528e})=>_0x16528e),{'formatGroupId':_0x18f921()},[],_0x2d3f('0x27'),{'tablePasteChainId':_0x334e98});if(_0x7d9848){const _0x35bf04=_0x7d9848[_0x2d3f('0xf')](),_0x201e42=[];for(const {element:_0x4e0a87,attributes:_0x3cd3de}of _0x3aa5be){if(!_0x3cd3de)continue;const _0x28e7ee=_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0xb')](_0x4e0a87),_0x83f4a9=_0x35bf04['find'](_0x27cc96=>_0x27cc96['getRange']()[_0x2d3f('0x2a')](_0x28e7ee));_0x83f4a9&&_0x201e42[_0x2d3f('0x4')]([_0x83f4a9['name'],_0x3cd3de]);}_0x201e42[_0x2d3f('0x6f')]&&_0x7d9848['setAttribute'](_0x2d3f('0x9b'),Object[_0x2d3f('0x1d')](_0x201e42));}_0x777b71=null;}));},{'priority':_0x48994d[_0x2d3f('0x14')]+0xa}),_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x2d3f('0x8f'))['on'](_0x2d3f('0x36'),(_0x5cf7d4,_0x185d1d)=>{const [_0x484b75,_0x41d389,,_0x234823]=_0x185d1d;if(!_0x777b71)return;_0x5cf7d4[_0x2d3f('0x82')]();const _0x1704e3=_0x484b75[_0x2d3f('0x31')],_0x4da620=_0x41d389,_0x3d1313=se(_0x1704e3),_0x44f46d=se(_0x4da620);_0x5cf7d4[_0x2d3f('0x28')]=_0x1704e3;let _0x313a5e=null,_0x3d9886=null;if(_0x44f46d||_0x3d1313){if(_0x3d1313&&!_0x44f46d){_0x234823[_0x2d3f('0x44')](_0x1704e3[_0x2d3f('0x3')](0x0));for(const _0x230fc8 of Array[_0x2d3f('0x5')](_0x4da620[_0x2d3f('0x6b')]()))_0x234823[_0x2d3f('0x88')](_0x230fc8,_0x1704e3,_0x2d3f('0x96'));const _0xe0b218=_0x777b71['rowInsertionIndexes']['includes'](_0x484b75['row']),_0x23a1c3=_0x777b71[_0x2d3f('0x18')][_0x2d3f('0x85')](_0x484b75[_0x2d3f('0x41')]);_0xe0b218||_0x23a1c3||(_0x313a5e=_0x234823[_0x2d3f('0x3e')](_0x1704e3));}else _0x44f46d&&!_0x3d1313&&(_0x3d9886=_0x234823[_0x2d3f('0x3e')](_0x1704e3));}else{const _0x2c533f=_0x234823[_0x2d3f('0x3a')](_0x2d3f('0x34')),_0x4a4573=_0x234823[_0x2d3f('0x3a')](_0x2d3f('0x34'));_0x234823[_0x2d3f('0x3b')](_0x234823[_0x2d3f('0x3e')](_0x1704e3),_0x4a4573),_0x234823['insert'](_0x2c533f,_0x1704e3,0x0);for(const _0xa8e8b4 of Array['from'](_0x4da620['getChildren']()))_0x234823[_0x2d3f('0x88')](_0xa8e8b4,_0x2c533f,'end');_0x313a5e=_0x234823[_0x2d3f('0xb')](_0x2c533f),_0x3d9886=_0x234823[_0x2d3f('0xb')](_0x4a4573);}const _0x4cd034=Array['from'](_0x4da620[_0x2d3f('0x39')]())[_0x2d3f('0x94')](([_0x4f28cf])=>ne[_0x2d3f('0x85')](_0x4f28cf));_0x777b71[_0x2d3f('0x61')][_0x2d3f('0x4')]({'element':_0x1704e3,'attributes':_0x4cd034['length']?Object['fromEntries'](_0x4cd034):null}),_0x313a5e&&_0x777b71[_0x2d3f('0x23')]['push'](_0x313a5e),_0x3d9886&&_0x777b71[_0x2d3f('0x75')]['push'](_0x3d9886);},{'priority':_0x2d3f('0x14')}),_0x421ec8['on'](_0x2d3f('0x15'),(_0x409651,_0x5bf0c0)=>{const [_0xc7c406,_0x7ee417={}]=_0x5bf0c0;if(!_0x777b71)return;const _0x9fcb06=_0x7ee417['at']||0x0,_0x12d64b=_0x7ee417[_0x2d3f('0x56')]||0x1;_0x777b71[_0x2d3f('0x18')]=new Array(_0x12d64b)[_0x2d3f('0x2e')](_0x9fcb06)[_0x2d3f('0x58')]((_0x2dfbd6,_0x1b03e5)=>_0x2dfbd6+_0x1b03e5);for(const {cell:_0xcb6c2}of _0x421ec8[_0x2d3f('0x47')](_0xc7c406,{'startColumn':_0x9fcb06,'endColumn':_0x9fcb06+_0x12d64b-0x1}))_0x777b71[_0x2d3f('0x81')]['push'](_0x4ff5b8['model'][_0x2d3f('0xb')](_0xcb6c2));},{'priority':_0x2d3f('0x49')}),_0x421ec8['on'](_0x2d3f('0x53'),(_0x3256b3,_0x76e0eb)=>{const [_0x3a2d6b,_0x242255={}]=_0x76e0eb;if(!_0x777b71)return;const _0x486a98=_0x242255['at']||0x0,_0x168204=_0x242255['rows']||0x1;_0x777b71['rowInsertionIndexes']=new Array(_0x168204)[_0x2d3f('0x2e')](_0x486a98)[_0x2d3f('0x58')]((_0x23c34a,_0x4984f6)=>_0x23c34a+_0x4984f6);for(const {cell:_0x197097}of _0x421ec8['createTableWalker'](_0x3a2d6b,{'startRow':_0x486a98,'endRow':_0x486a98+_0x168204-0x1}))_0x777b71['rowInsertionRanges'][_0x2d3f('0x4')](_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0xb')](_0x197097));},{'priority':_0x2d3f('0x49')}),_0x3c2e1a[_0x2d3f('0x5d')][_0x2d3f('0x67')](_0x4c30b6=>{if(_0x4c30b6[_0x2d3f('0x7')]&&_0x4c30b6['subType'][_0x2d3f('0x80')]('tablePaste'))return _0x4c30b6[_0x2d3f('0x89')]?{}:{'type':_0x2d3f('0x4c'),'content':_0xb94d73(_0x4ff5b8['locale'],_0x2d3f('0x5b'))};});const _0x12dedc=()=>{};for(const _0x20ac82 of[_0x2d3f('0x17'),_0x2d3f('0x46'),_0x2d3f('0x52'),'tablePasteCell'])_0x3c2e1a['_suggestionFactory'][_0x2d3f('0x43')](_0x2d3f('0x4c'),_0x20ac82,'join',_0x12dedc),_0x3c2e1a[_0x2d3f('0x87')][_0x2d3f('0x43')](_0x2d3f('0x1c'),_0x20ac82,'join',_0x12dedc);_0x3c2e1a[_0x2d3f('0x87')][_0x2d3f('0x43')](_0x2d3f('0x7d'),_0x2d3f('0x27'),_0x2d3f('0x6a'),_0x12dedc),_0x3c2e1a[_0x2d3f('0x87')]['registerCustomCallback'](_0x2d3f('0x7d'),_0x2d3f('0x27'),_0x2d3f('0x50'),(_0x56c192,_0x2ef1d5,_0x35aea9)=>{const _0x53292e=_0x56c192[_0x2d3f('0x58')](_0xcb6ca4=>_0xcb6ca4[_0x2d3f('0x2f')]())[_0x2d3f('0x94')](_0x578226=>_0x578226),_0x131da6=new Map(_0x53292e['map'](_0xdef2ab=>[_0xdef2ab,null]));if(_0x777b71)for(const {element:_0x25ea23,attributes:_0xcce065}of _0x777b71['cells'])_0xcce065&&_0x131da6['set'](_0x25ea23,_0xcce065);else{if(_0x35aea9&&_0x35aea9[_0x2d3f('0x9b')])for(const [_0x4ed494,_0x473e63]of Object[_0x2d3f('0x79')](_0x35aea9[_0x2d3f('0x9b')])){const _0x2db737=_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0x73')]['get'](_0x4ed494),_0x36a2cb=_0x2db737?_0x2db737['getRange']()[_0x2d3f('0x2f')]():null;_0x36a2cb&&_0x131da6[_0x2d3f('0x19')](_0x36a2cb,_0x473e63);}}_0x4ff5b8[_0x2d3f('0x8e')]['change'](_0x2644d1=>{for(const [_0x36bf89,_0x3e82f2]of _0x131da6)_0x2644d1[_0x2d3f('0x2b')]({...le,..._0x3e82f2},_0x36bf89);});});const _0x3d242b=(_0x242985,_0x5ad08c)=>{_0x3c2e1a[_0x2d3f('0x87')][_0x2d3f('0x43')](_0x242985,_0x2d3f('0x17'),_0x5ad08c,(_0x35e6d7,_0x5a02cb,_0x3869e1)=>{_0x4ff5b8['model'][_0x2d3f('0x57')](_0x5dfd12=>{const _0x5e7e76=[];for(const _0xa89d7d of _0x35e6d7){const _0x99ff19=_0xa89d7d[_0x2d3f('0x9d')]['nodeAfter'];_0x99ff19['is'](_0x2d3f('0x95'),_0x2d3f('0x34'))&&_0x5e7e76[_0x2d3f('0x4')](_0x99ff19);}_0x3c2e1a[_0x2d3f('0x87')]['getSuggestionCallback'](_0x242985,null,_0x5ad08c)(_0x35e6d7,_0x5a02cb,_0x3869e1);for(const _0x225890 of _0x5e7e76)_0x2d3f('0x25')!=_0x225890['root']['rootName']&&_0x5dfd12[_0x2d3f('0x1b')](_0x225890);});});};_0x3d242b(_0x2d3f('0x4c'),_0x2d3f('0x50')),_0x3d242b(_0x2d3f('0x4c'),_0x2d3f('0x6a')),_0x3d242b(_0x2d3f('0x1c'),_0x2d3f('0x50')),_0x3d242b(_0x2d3f('0x1c'),'discard'),_0x3c2e1a[_0x2d3f('0x87')]['registerCustomCallback'](_0x2d3f('0x4c'),_0x2d3f('0x52'),_0x2d3f('0x6a'),_0x7c041e=>{const _0x1c8712=_0x7c041e[_0x2d3f('0x58')](_0x37b083=>_0x37b083[_0x2d3f('0x2f')]()),_0x1c0f35=_0x1c8712[0x0][_0x2d3f('0x8')](_0x2d3f('0x66')),{minRow:_0x460d55,maxRow:_0x31f384}=_0x26fa83[_0x2d3f('0x2d')](_0x1c8712);_0x421ec8[_0x2d3f('0x33')](_0x1c0f35,{'at':_0x460d55,'rows':_0x31f384-_0x460d55+0x1});}),_0x3c2e1a['_suggestionFactory']['registerCustomCallback'](_0x2d3f('0x4c'),_0x2d3f('0x46'),_0x2d3f('0x6a'),_0x14fbff=>{const _0x3361e1=_0x14fbff['map'](_0x281216=>_0x281216[_0x2d3f('0x2f')]()),_0x1bf270=_0x3361e1[0x0][_0x2d3f('0x8')](_0x2d3f('0x66')),{minColumn:_0x3319ca,maxColumn:_0x4a640a}=_0x26fa83['_getCoordsForCells'](_0x3361e1);_0x421ec8['removeColumns'](_0x1bf270,{'at':_0x3319ca,'columns':_0x4a640a-_0x3319ca+0x1});});const _0x1e19e7=(_0x5275b2,_0x6ed1f1)=>{if(!_0x6ed1f1['subType']||!_0x6ed1f1[_0x2d3f('0x7')]['startsWith'](_0x2d3f('0x17')))return;const _0x5c3b8e=_0x6ed1f1['attributes'][_0x2d3f('0x4d')],_0x527565=_0x3c2e1a[_0x2d3f('0x54')]()[_0x2d3f('0x94')](_0x34f08e=>_0x34f08e[_0x2d3f('0x60')]&&_0x34f08e[_0x2d3f('0x62')]&&_0x34f08e[_0x2d3f('0x62')][_0x2d3f('0x4d')]==_0x5c3b8e);_0x527565['length']&&_0x6ed1f1[_0x2d3f('0x5c')]()['length']!=_0x527565['length']&&_0x527565[_0x2d3f('0x93')]((_0x3559cc,_0x19d2d2)=>(_0x3559cc[_0x2d3f('0x6d')]=_0x19d2d2,_0x19d2d2[_0x2d3f('0x89')]=_0x3559cc,_0x19d2d2));};function _0x449864(_0x852590,{showActiveMarker:_0xc632de=!0x0}={}){const {id:_0x5da1ad}=_0x3c2e1a[_0x2d3f('0x97')](_0x852590[_0x2d3f('0x72')]),_0x57d181=[_0x2d3f('0x91'),_0x2d3f('0x3d')],_0x5ded0b=_0x3c2e1a['activeMarkers'][_0x2d3f('0x85')](_0x852590['markerName']);return _0x5ded0b&&_0x57d181['push'](_0x2d3f('0x29')),{'classes':_0x57d181,'attributes':{'data-suggestion':_0x5da1ad},'priority':_0x5ded0b&&_0xc632de?0xbc2:0xbb8};}_0x3c2e1a['on'](_0x2d3f('0x74'),_0x1e19e7,{'priority':_0x2d3f('0x14')}),_0x3c2e1a['on'](_0x2d3f('0x5a'),_0x1e19e7,{'priority':_0x2d3f('0x14')}),_0x4ff5b8['model'][_0x2d3f('0x9')][_0x2d3f('0x6e')](()=>{let _0x397212=!0x1;const _0x4aa5e5=Array['from'](_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0x9')][_0x2d3f('0x5e')]['getChangedMarkers']());for(const {name:_0x10476f,data:_0x57f883}of _0x4aa5e5){const {group:_0x13960c,type:_0x2b96b7,id:_0x36ba4a}=_0x3c2e1a[_0x2d3f('0x97')](_0x10476f);if(_0x2d3f('0x7e')!=_0x13960c||_0x2d3f('0x1c')!=_0x2b96b7||_0x57f883[_0x2d3f('0x65')])continue;if(!_0x3c2e1a[_0x2d3f('0x40')](_0x36ba4a))continue;const _0x37d9f0=_0x3c2e1a['getSuggestion'](_0x36ba4a)[_0x2d3f('0x22')](),_0x20b002=_0x4ff5b8[_0x2d3f('0x10')][_0x2d3f('0x6')](_0x2d3f('0x63'))['me'];for(const _0x3326e0 of _0x3c2e1a[_0x2d3f('0x54')]()){if(!_0x3326e0[_0x2d3f('0x60')]||_0x3326e0['author']!=_0x20b002)continue;if(_0x2d3f('0x7d')!=_0x3326e0[_0x2d3f('0x69')]||_0x2d3f('0x27')!=_0x3326e0['subType'])continue;if(_0x3326e0[_0x2d3f('0x22')]()['every'](_0x9ef108=>_0x37d9f0[_0x2d3f('0x98')](_0x1847e7=>_0x1847e7[_0x2d3f('0x16')](_0x9ef108,!0x0))))for(const _0x42cc7a of _0x3326e0['getAllAdjacentSuggestions']())_0x42cc7a[_0x2d3f('0x60')]&&(_0x42cc7a[_0x2d3f('0x6a')](),_0x397212=!0x0);}}return _0x397212;}),_0x4ff5b8['model']['document']['registerPostFixer'](_0x375d9e=>{const _0x473a4c=_0x4ff5b8[_0x2d3f('0x9f')][_0x2d3f('0x6')]('redo');if(!_0x473a4c||!_0x473a4c[_0x2d3f('0x77')][_0x2d3f('0x76')](_0x375d9e[_0x2d3f('0x21')]))return!0x1;let _0x2ee6cd=!0x1;const _0x1912eb=_0x4ff5b8[_0x2d3f('0x10')]['get']('Users')['me'],_0x17ede9=_0x4ff5b8['model']['document'][_0x2d3f('0x5e')][_0x2d3f('0x4f')](),_0x588ab5=Array[_0x2d3f('0x5')](_0x4ff5b8[_0x2d3f('0x8e')][_0x2d3f('0x9')][_0x2d3f('0x5e')][_0x2d3f('0x70')]())[_0x2d3f('0x94')](({name:_0x1f14e8,data:_0x4e3e92})=>{const {group:_0x5c9671,subType:_0x5e9259,authorId:_0x145d13}=_0x3c2e1a['_splitMarkerName'](_0x1f14e8);return _0x2d3f('0x7e')==_0x5c9671&&_0x2d3f('0x17')==_0x5e9259&&_0x145d13==_0x1912eb['id']&&!_0x4e3e92[_0x2d3f('0x65')];});for(const _0x55d462 of _0x17ede9){if('insert'!=_0x55d462[_0x2d3f('0x69')]||_0x2d3f('0x34')!=_0x55d462[_0x2d3f('0x2c')]||0x1!=_0x55d462[_0x2d3f('0x6f')])continue;const _0xb86a94=_0x375d9e['createRange'](_0x55d462['position'],_0x55d462[_0x2d3f('0x4a')][_0x2d3f('0x64')](0x1));if(!_0x588ab5[_0x2d3f('0x7a')](({data:_0xf35d9d})=>_0xf35d9d[_0x2d3f('0x8b')][_0x2d3f('0x2a')](_0xb86a94)))for(const {name:_0x34eda9,data:_0x471be5}of _0x588ab5)if(_0xb86a94[_0x2d3f('0x16')](_0x471be5[_0x2d3f('0x8b')])){_0x375d9e['updateMarker'](_0x34eda9,{'range':_0xb86a94}),_0x2ee6cd=!0x0;break;}}return _0x2ee6cd;}),_0x4ff5b8['model'][_0x2d3f('0x9')][_0x2d3f('0x6e')](_0x58aba3=>{let _0xb5a992=!0x1;const _0x3e7f41=_0x4ff5b8[_0x2d3f('0x10')]['get'](_0x2d3f('0x63'))['me'],_0xb0c997=_0x3c2e1a[_0x2d3f('0x54')]()[_0x2d3f('0x94')](_0x16f019=>_0x16f019['isInContent']&&_0x16f019[_0x2d3f('0x6c')]==_0x3e7f41),_0x1995ef=new Set(),_0x172fcf=new Set();for(const _0x148673 of _0xb0c997)if(_0x2d3f('0x17')==_0x148673['subType'])for(const _0x56cc0e of _0x148673[_0x2d3f('0xf')]()){const _0x4d99f1=_0x56cc0e['getRange']()[_0x2d3f('0x2f')]();if(_0x4d99f1){if(_0x4d99f1['is']('element',_0x2d3f('0x34'))&&se(_0x4d99f1)){_0x148673[_0x2d3f('0x30')](_0x56cc0e[_0x2d3f('0x2c')]),_0x1995ef[_0x2d3f('0x48')](_0x4d99f1),_0xb5a992=!0x0;const _0x56e0c4=_0x4d99f1[_0x2d3f('0xa')],_0x4d18f5=_0x4d99f1[_0x2d3f('0x8d')],_0x4253c1=_0x56e0c4&&_0x56e0c4['is']('element',_0x2d3f('0x34')),_0x4b7a3=_0x4d18f5&&_0x4d18f5['is']('element',_0x2d3f('0x34'));_0x4253c1&&!_0x1995ef['has'](_0x56e0c4)&&_0x172fcf[_0x2d3f('0x48')](_0x56e0c4),_0x4b7a3&&!_0x1995ef[_0x2d3f('0x76')](_0x4d18f5)&&_0x172fcf[_0x2d3f('0x48')](_0x4d18f5);}else _0x4d99f1['is'](_0x2d3f('0x95'),'paragraph')&&_0x4d99f1[_0x2d3f('0x45')]&&(_0x148673[_0x2d3f('0x30')](_0x56cc0e[_0x2d3f('0x2c')]),_0xb5a992=!0x0);}}else{if(_0x2d3f('0x27')==_0x148673[_0x2d3f('0x7')]){if(!_0x148673[_0x2d3f('0x62')]||!_0x148673[_0x2d3f('0x62')][_0x2d3f('0x4d')])continue;const _0x3cf2e9=_0x148673[_0x2d3f('0x62')][_0x2d3f('0x9b')];if(_0x3cf2e9&&Object[_0x2d3f('0x2')](_0x3cf2e9)['length'])continue;const _0x419164=_0x148673[_0x2d3f('0x62')][_0x2d3f('0x4d')];let _0x909e41=!0x0,_0x327e9e=!0x0;for(const _0x2ccda5 of _0xb0c997)if(_0x2ccda5[_0x2d3f('0x7')]&&_0x2ccda5[_0x2d3f('0x7')][_0x2d3f('0x80')]('tablePaste')){if(!_0x2ccda5['attributes'][_0x2d3f('0x4d')]){_0x327e9e=!0x1;break;}if(_0x2ccda5['id']!=_0x148673['id']&&_0x2ccda5[_0x2d3f('0x62')]['tablePasteChainId']==_0x419164){_0x909e41=!0x1;break;}}_0x327e9e&&_0x909e41&&(_0x148673[_0x2d3f('0x13')](),_0xb5a992=!0x0);}}for(const _0x37713d of _0x1995ef)_0x58aba3['remove'](_0x37713d);for(const _0x177f82 of _0x172fcf)_0x58aba3[_0x2d3f('0x1b')](_0x177f82);return _0xb5a992;}),_0x4ff5b8[_0x2d3f('0x37')][_0x2d3f('0x1f')](_0x2d3f('0x11'))[_0x2d3f('0x7b')]({'model':'suggestion:formatBlock:tablePasteCell','view':_0x449864,'converterPriority':'high'}),_0x4ff5b8[_0x2d3f('0x37')][_0x2d3f('0x1f')](_0x2d3f('0x1'))[_0x2d3f('0x7b')]({'model':_0x2d3f('0x8a'),'view':(_0x3adcfb,_0x13d71b)=>{if(_0x13d71b[_0x2d3f('0x20')][_0x2d3f('0x9e')])return _0x449864(_0x3adcfb,{'showActiveMarker':!0x1});},'converterPriority':_0x2d3f('0x14')});const _0x475d43=_0x4ff5b8[_0x2d3f('0x38')]['view'];this['listenTo'](_0x475d43[_0x2d3f('0x9')],'clipboardOutput',(_0x5781a5,_0x157525)=>{const _0x78949f=[];for(const _0x2790bb of _0x475d43[_0x2d3f('0x3e')](_0x157525[_0x2d3f('0x8c')])[_0x2d3f('0x59')]())_0x2790bb['is']('element',_0x2d3f('0x9a'))&&_0x78949f[_0x2d3f('0x4')](_0x2790bb);_0x475d43[_0x2d3f('0x57')](_0x521738=>{for(const _0x571231 of _0x78949f)_0x521738['move'](_0x521738[_0x2d3f('0x3e')](_0x571231),_0x521738['createPositionBefore'](_0x571231)),_0x521738['remove'](_0x571231);});});}}function se(_0x55d642){if(_0x55d642[_0x2d3f('0x45')])return!0x0;const _0x468e2b=_0x55d642['getChild'](0x0);return _0x468e2b['is'](_0x2d3f('0x95'),_0x2d3f('0x84'))&&_0x468e2b[_0x2d3f('0x45')];}function ae(_0x2cfcf0,_0x4e49f5={},_0x5cd868){for(const {isAnchor:_0x476b6a,cellHeight:_0x5a3189,cellWidth:_0x55e3fc}of _0x5cd868[_0x2d3f('0x47')](_0x2cfcf0,{'includeAllSlots':!0x0,..._0x4e49f5}))if(!_0x476b6a||0x1!=_0x5a3189||0x1!=_0x55e3fc)return!0x1;return!0x0;}
23
+ const _0x4965=['root','markerAttributes','suggestion:formatBlock:tablePasteCell','tablePaste','stop','differ','column','elementToElement','insertRows','keys','$graveyard','editingDowncast','registerCustomCallback','tableCellBorderColor','isEqual','markerName','previous','forceDefaultExecution','tablePasteChainId','commands','markMultiRangeInsertion','getSuggestions','getChild','start','endRow','_suggestionFactory','tableCell','setAttribute','removeMarker','end','tableCellSuggestion','locale','markMultiRangeDeletion','suggestionUnloaded','suggestion-td','_getCoordsForCells','columnInsertionRanges','rowInsertionRanges','cell','getMarkers','author','insertContent','rootName','filter','position','getItems','plugins','_splitMarkerName','setAttributes','removeMarkers','findAncestor','oldRange','insert','deletion','getShiftedBy','registerDescriptionCallback','options','ck-suggestion-marker','attributes','trackChanges','removeRows','subType','tableCellBackgroundColor','first','row','markerToHighlight','find','insertColumns','getRows','content','rows','model','tablePasteRow','activeMarkers','length','editor','getAttributes','tablePasteColumn','change','getColumnIndexes','from','markMultiRangeBlockFormat','createTableWalker','deletionRanges','set','getSelectionAffectedTableCells','register','paragraph','*Replace\x20table\x20cells*','listenTo','suggestionLoaded','containsRange','add','push','some','remove','low','createRangeOn','redo','hasSuggestion','for','_tablePostFixingSubtypes','tableCellBorderStyle','fill','documentSelection','endColumn','batch','selection','registerPostFixer','_replaceTableSlotCell','getSuggestionCallback','insertion','getChangedMarkers','getRange','getRowIndexes','getContainedElement','entries','high','discard','map','tableCellPadding','previousSibling','conversion','_createdBatches','createRange','getChanges','document','columnInsertionIndexes','getRanges','TableClipboard','formatBlock','afterInit','getChildren','TableUtils','getAllAdjacentSuggestions','rowInsertionIndexes','fromEntries','cells','get','isInContent','updateMarker','next','last','startsWith','element','name','createRangeIn','suggestion','Users','TrackChangesEditing','tableCellVerticalAlignment','value','_descriptionFactory','tablePasteCell','includes','ck-suggestion-marker--active','isEmpty','accept','newRange','tableCellBorderWidth','table','type','has','columns','move'];(function(_0x549487,_0x4965c9){const _0x37e9b0=function(_0xea6451){while(--_0xea6451){_0x549487['push'](_0x549487['shift']());}};_0x37e9b0(++_0x4965c9);}(_0x4965,0x1c7));const _0x37e9=function(_0x549487,_0x4965c9){_0x549487=_0x549487-0x0;let _0x37e9b0=_0x4965[_0x549487];return _0x37e9b0;};import{getTranslation as _0x5eb071}from'../utils/common-translations';import{Plugin as _0x3db960}from'ckeditor5/src/core';import _0x24a371 from'./table';import{uid as _0x4e8dfa,priorities as _0x40eb59}from'ckeditor5/src/utils';const ne=[_0x37e9('0x22'),_0x37e9('0x35'),_0x37e9('0x8e'),'tableCellHorizontalAlignment',_0x37e9('0x19'),_0x37e9('0x66'),_0x37e9('0xa0')],le=Object[_0x37e9('0xb')](ne[_0x37e9('0x9f')](_0x4f20ae=>[_0x4f20ae,null]));export default class mt extends _0x3db960{static get['requires'](){return[_0x24a371];}[_0x37e9('0x6')](){const _0x4253ce=this[_0x37e9('0x73')];if(!_0x4253ce[_0x37e9('0x56')]['has']('TableClipboard'))return;const _0x2e279c=_0x4253ce[_0x37e9('0x56')]['get'](_0x37e9('0x18')),_0x1e5ab3=_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x8')),_0x1a74b1=_0x4253ce[_0x37e9('0x56')]['get'](_0x24a371),_0x288fe6=_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x4'));_0x1a74b1[_0x37e9('0x8d')][_0x37e9('0x85')](_0x37e9('0x70'),'tablePasteColumn'),_0x4253ce['model']['schema'][_0x37e9('0x7e')](_0x37e9('0x46'),{'allowIn':'tableCell','allowContentOf':_0x37e9('0x42'),'isLimit':!0x0}),_0x4253ce[_0x37e9('0xa2')][_0x37e9('0x2f')]({'model':_0x37e9('0x46'),'view':'suggestion-td'});let _0x5916e8=null;_0x4253ce['model']['on'](_0x37e9('0x51'),(_0x24d3dd,_0x25556e)=>{const [_0x3b4ac0,_0x581407]=_0x25556e,_0x1b5117=_0x25556e[_0x25556e[_0x37e9('0x72')]-0x1];_0x1b5117&&_0x1b5117[_0x37e9('0x39')]||_0x2e279c['_isForcedDefaultExecutionBlock']||this[_0x37e9('0x73')]['commands'][_0x37e9('0xd')](_0x37e9('0x63'))[_0x37e9('0x1a')]&&function(_0x143d52,_0x1c2e53,_0x180aee,_0x18fce9,_0x11e8b6){if(_0x1c2e53&&!_0x1c2e53['is'](_0x37e9('0x90')))return!0x1;const _0x435b79=_0x11e8b6['getTableIfOnlyTableInContent'](_0x143d52,_0x180aee);if(!_0x435b79||!ae(_0x435b79,null,_0x18fce9))return!0x1;const _0x23533b=_0x18fce9[_0x37e9('0x7d')](_0x180aee[_0x37e9('0x1')][_0x37e9('0x93')]);if(!_0x23533b['length'])return!0x1;const _0x462111=_0x23533b[0x0][_0x37e9('0x5a')](_0x37e9('0x23')),_0x280b2f=_0x18fce9[_0x37e9('0x9a')](_0x23533b),_0x2005a6=_0x18fce9[_0x37e9('0x77')](_0x23533b),_0x3487b9={'startRow':_0x280b2f[_0x37e9('0x67')],'endRow':_0x280b2f[_0x37e9('0x11')],'startColumn':_0x2005a6['first'],'endColumn':_0x2005a6[_0x37e9('0x11')]};return 0x1==_0x23533b[_0x37e9('0x72')]&&(_0x3487b9[_0x37e9('0x40')]+=_0x18fce9[_0x37e9('0x6c')](_0x435b79)-0x1,_0x3487b9[_0x37e9('0x91')]+=_0x18fce9['getColumns'](_0x435b79)-0x1),ae(_0x462111,_0x3487b9,_0x18fce9);}(_0x3b4ac0,_0x581407,_0x4253ce['model'],_0x1e5ab3,_0x288fe6)&&(_0x24d3dd[_0x37e9('0x2c')](),_0x5916e8={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4253ce['model'][_0x37e9('0x76')](()=>{_0x4253ce[_0x37e9('0x6f')]['insertContent'](_0x25556e[0x0],_0x25556e[0x1],_0x25556e[0x2],_0x25556e[0x3],{'forceDefaultExecution':!0x0});const _0x7fd24e=_0x4e8dfa(),{rowInsertionRanges:_0x56c02e,columnInsertionRanges:_0x63746c,insertionRanges:_0x3c71e0,deletionRanges:_0x227316,cells:_0x23951a}=_0x5916e8;_0x56c02e[_0x37e9('0x72')]&&_0x2e279c[_0x37e9('0x3c')](_0x56c02e,_0x37e9('0x70'),{'tablePasteChainId':_0x7fd24e}),_0x63746c[_0x37e9('0x72')]&&_0x2e279c[_0x37e9('0x3c')](_0x63746c,'tablePasteColumn',{'tablePasteChainId':_0x7fd24e}),_0x3c71e0[_0x37e9('0x72')]&&_0x2e279c['markMultiRangeInsertion'](_0x3c71e0,'tablePaste',{'tablePasteChainId':_0x7fd24e,'skipNestingCheck':!0x0}),_0x227316['length']&&_0x2e279c[_0x37e9('0x48')](_0x227316,_0x37e9('0x2b'),{'tablePasteChainId':_0x7fd24e,'skipNestingCheck':!0x0});const _0x656f2a=_0x2e279c[_0x37e9('0x79')](_0x23951a[_0x37e9('0x9f')](({element:_0x35016a})=>_0x35016a),{'formatGroupId':_0x4e8dfa()},[],_0x37e9('0x1c'),{'tablePasteChainId':_0x7fd24e});if(_0x656f2a){const _0x2ea1fd=_0x656f2a['getMarkers'](),_0x475ee8=[];for(const {element:_0x986f8f,attributes:_0x3083cf}of _0x23951a){if(!_0x3083cf)continue;const _0x176c13=_0x4253ce['model'][_0x37e9('0x89')](_0x986f8f),_0x5b0695=_0x2ea1fd[_0x37e9('0x6a')](_0x4f072f=>_0x4f072f['getRange']()[_0x37e9('0x36')](_0x176c13));_0x5b0695&&_0x475ee8[_0x37e9('0x85')]([_0x5b0695['name'],_0x3083cf]);}_0x475ee8[_0x37e9('0x72')]&&_0x656f2a[_0x37e9('0x43')]('markerAttributes',Object[_0x37e9('0xb')](_0x475ee8));}_0x5916e8=null;}));},{'priority':_0x40eb59['high']+0xa}),_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x4'))['on'](_0x37e9('0x95'),(_0x1cb7b4,_0xc04fbd)=>{const [_0x38e5f3,_0x349ecc,,_0x491140]=_0xc04fbd;if(!_0x5916e8)return;_0x1cb7b4[_0x37e9('0x2c')]();const _0x35b300=_0x38e5f3[_0x37e9('0x4e')],_0x318c71=_0x349ecc,_0x5a11f9=se(_0x35b300),_0x3e9ab7=se(_0x318c71);_0x1cb7b4['return']=_0x35b300;let _0x34bff6=null,_0xa5f95c=null;if(_0x3e9ab7||_0x5a11f9){if(_0x5a11f9&&!_0x3e9ab7){_0x491140[_0x37e9('0x87')](_0x35b300[_0x37e9('0x3e')](0x0));for(const _0x2aa121 of Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x7')]()))_0x491140[_0x37e9('0x5c')](_0x2aa121,_0x35b300,'end');const _0x5e0f65=_0x5916e8[_0x37e9('0xa')][_0x37e9('0x1d')](_0x38e5f3[_0x37e9('0x68')]),_0x35aba1=_0x5916e8['columnInsertionIndexes']['includes'](_0x38e5f3[_0x37e9('0x2e')]);_0x5e0f65||_0x35aba1||(_0x34bff6=_0x491140[_0x37e9('0x15')](_0x35b300));}else _0x3e9ab7&&!_0x5a11f9&&(_0xa5f95c=_0x491140[_0x37e9('0x15')](_0x35b300));}else{const _0x429a57=_0x491140['createElement'](_0x37e9('0x46')),_0x33ec43=_0x491140['createElement'](_0x37e9('0x46'));_0x491140['wrap'](_0x491140[_0x37e9('0x15')](_0x35b300),_0x33ec43),_0x491140[_0x37e9('0x5c')](_0x429a57,_0x35b300,0x0);for(const _0x3d74ba of Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x7')]()))_0x491140[_0x37e9('0x5c')](_0x3d74ba,_0x429a57,_0x37e9('0x45'));_0x34bff6=_0x491140[_0x37e9('0x89')](_0x429a57),_0xa5f95c=_0x491140[_0x37e9('0x89')](_0x33ec43);}const _0x294ed6=Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x74')]())[_0x37e9('0x53')](([_0x3d855e])=>ne[_0x37e9('0x1d')](_0x3d855e));_0x5916e8[_0x37e9('0xc')][_0x37e9('0x85')]({'element':_0x35b300,'attributes':_0x294ed6[_0x37e9('0x72')]?Object['fromEntries'](_0x294ed6):null}),_0x34bff6&&_0x5916e8['insertionRanges']['push'](_0x34bff6),_0xa5f95c&&_0x5916e8[_0x37e9('0x7b')][_0x37e9('0x85')](_0xa5f95c);},{'priority':_0x37e9('0x9d')}),_0x1e5ab3['on'](_0x37e9('0x6b'),(_0x18ea41,_0x5d4ccd)=>{const [_0x21c536,_0xff1713={}]=_0x5d4ccd;if(!_0x5916e8)return;const _0x1b4a21=_0xff1713['at']||0x0,_0x531b26=_0xff1713[_0x37e9('0x26')]||0x1;_0x5916e8[_0x37e9('0x2')]=new Array(_0x531b26)[_0x37e9('0x8f')](_0x1b4a21)[_0x37e9('0x9f')]((_0x229cae,_0x4ae602)=>_0x229cae+_0x4ae602);for(const {cell:_0x4d8a35}of _0x1e5ab3[_0x37e9('0x7a')](_0x21c536,{'startColumn':_0x1b4a21,'endColumn':_0x1b4a21+_0x531b26-0x1}))_0x5916e8[_0x37e9('0x4c')][_0x37e9('0x85')](_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x89')](_0x4d8a35));},{'priority':_0x37e9('0x88')}),_0x1e5ab3['on'](_0x37e9('0x30'),(_0x57451,_0x12e903)=>{const [_0x4e78fd,_0x7a28b4={}]=_0x12e903;if(!_0x5916e8)return;const _0x51901b=_0x7a28b4['at']||0x0,_0x62b8f3=_0x7a28b4[_0x37e9('0x6e')]||0x1;_0x5916e8[_0x37e9('0xa')]=new Array(_0x62b8f3)[_0x37e9('0x8f')](_0x51901b)[_0x37e9('0x9f')]((_0x34fe3e,_0x2b9303)=>_0x34fe3e+_0x2b9303);for(const {cell:_0x2dc90e}of _0x1e5ab3['createTableWalker'](_0x4e78fd,{'startRow':_0x51901b,'endRow':_0x51901b+_0x62b8f3-0x1}))_0x5916e8[_0x37e9('0x4d')][_0x37e9('0x85')](_0x4253ce['model']['createRangeOn'](_0x2dc90e));},{'priority':_0x37e9('0x88')}),_0x2e279c[_0x37e9('0x1b')][_0x37e9('0x5f')](_0x491bd7=>{if(_0x491bd7[_0x37e9('0x65')]&&_0x491bd7[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b')))return _0x491bd7['previous']?{}:{'type':_0x37e9('0x97'),'content':_0x5eb071(_0x4253ce[_0x37e9('0x47')],_0x37e9('0x80'))};});const _0xb2809c=()=>{};for(const _0x32d296 of[_0x37e9('0x2b'),'tablePasteColumn',_0x37e9('0x70'),_0x37e9('0x1c')])_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x37e9('0x97'),_0x32d296,'join',_0xb2809c),_0x2e279c[_0x37e9('0x41')]['registerCustomCallback'](_0x37e9('0x5d'),_0x32d296,'join',_0xb2809c);_0x2e279c['_suggestionFactory']['registerCustomCallback'](_0x37e9('0x5'),_0x37e9('0x1c'),'discard',_0xb2809c),_0x2e279c[_0x37e9('0x41')]['registerCustomCallback']('formatBlock',_0x37e9('0x1c'),_0x37e9('0x20'),(_0x48e2c3,_0x18a823,_0x10422b)=>{const _0x580989=_0x48e2c3[_0x37e9('0x9f')](_0xcf75be=>_0xcf75be['getContainedElement']())['filter'](_0x480b94=>_0x480b94),_0x527031=new Map(_0x580989[_0x37e9('0x9f')](_0xa38a70=>[_0xa38a70,null]));if(_0x5916e8)for(const {element:_0x15763a,attributes:_0x1778b9}of _0x5916e8[_0x37e9('0xc')])_0x1778b9&&_0x527031[_0x37e9('0x7c')](_0x15763a,_0x1778b9);else{if(_0x10422b&&_0x10422b['markerAttributes'])for(const [_0x2fa651,_0x3edb90]of Object[_0x37e9('0x9c')](_0x10422b[_0x37e9('0x29')])){const _0x13416a=_0x4253ce['model']['markers']['get'](_0x2fa651),_0x4a41d8=_0x13416a?_0x13416a[_0x37e9('0x99')]()['getContainedElement']():null;_0x4a41d8&&_0x527031['set'](_0x4a41d8,_0x3edb90);}}_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x76')](_0x268acb=>{for(const [_0x2bd061,_0x48e5e8]of _0x527031)_0x268acb[_0x37e9('0x58')]({...le,..._0x48e5e8},_0x2bd061);});});const _0x1f2807=(_0x1457b0,_0x30bd47)=>{_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x1457b0,_0x37e9('0x2b'),_0x30bd47,(_0x2c9be5,_0x461b13,_0x2c16f5)=>{_0x4253ce[_0x37e9('0x6f')]['change'](_0x3929a9=>{const _0x116561=[];for(const _0x29c513 of _0x2c9be5){const _0x3b976c=_0x29c513[_0x37e9('0x3f')]['nodeAfter'];_0x3b976c['is'](_0x37e9('0x13'),_0x37e9('0x46'))&&_0x116561[_0x37e9('0x85')](_0x3b976c);}_0x2e279c[_0x37e9('0x41')][_0x37e9('0x96')](_0x1457b0,null,_0x30bd47)(_0x2c9be5,_0x461b13,_0x2c16f5);for(const _0x5746ea of _0x116561)_0x37e9('0x32')!=_0x5746ea[_0x37e9('0x28')][_0x37e9('0x52')]&&_0x3929a9['unwrap'](_0x5746ea);});});};_0x1f2807('insertion',_0x37e9('0x20')),_0x1f2807(_0x37e9('0x97'),_0x37e9('0x9e')),_0x1f2807('deletion',_0x37e9('0x20')),_0x1f2807(_0x37e9('0x5d'),_0x37e9('0x9e')),_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x37e9('0x97'),_0x37e9('0x70'),_0x37e9('0x9e'),_0x234fc1=>{const _0x2f7c4=_0x234fc1[_0x37e9('0x9f')](_0x574493=>_0x574493[_0x37e9('0x9b')]()),_0x3e82be=_0x2f7c4[0x0][_0x37e9('0x5a')](_0x37e9('0x23')),{minRow:_0x2bf49e,maxRow:_0x5c11b5}=_0x1a74b1[_0x37e9('0x4b')](_0x2f7c4);_0x1e5ab3[_0x37e9('0x64')](_0x3e82be,{'at':_0x2bf49e,'rows':_0x5c11b5-_0x2bf49e+0x1});}),_0x2e279c['_suggestionFactory'][_0x37e9('0x34')]('insertion',_0x37e9('0x75'),_0x37e9('0x9e'),_0x15ca62=>{const _0x5b3e17=_0x15ca62['map'](_0xcc8af9=>_0xcc8af9['getContainedElement']()),_0x7e3c67=_0x5b3e17[0x0][_0x37e9('0x5a')]('table'),{minColumn:_0x5e8890,maxColumn:_0x2a7919}=_0x1a74b1[_0x37e9('0x4b')](_0x5b3e17);_0x1e5ab3['removeColumns'](_0x7e3c67,{'at':_0x5e8890,'columns':_0x2a7919-_0x5e8890+0x1});});const _0x1a887e=(_0x1012a3,_0x3db8a7)=>{if(!_0x3db8a7['subType']||!_0x3db8a7[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b')))return;const _0x3e3574=_0x3db8a7['attributes'][_0x37e9('0x3a')],_0x140a41=_0x2e279c[_0x37e9('0x3d')]()[_0x37e9('0x53')](_0x255f73=>_0x255f73[_0x37e9('0xe')]&&_0x255f73[_0x37e9('0x62')]&&_0x255f73['attributes'][_0x37e9('0x3a')]==_0x3e3574);_0x140a41[_0x37e9('0x72')]&&_0x3db8a7['getAllAdjacentSuggestions']()[_0x37e9('0x72')]!=_0x140a41[_0x37e9('0x72')]&&_0x140a41['reduce']((_0x6a499c,_0x39388f)=>(_0x6a499c[_0x37e9('0x10')]=_0x39388f,_0x39388f[_0x37e9('0x38')]=_0x6a499c,_0x39388f));};function _0x20e094(_0x1734d6,{showActiveMarker:_0x2510bc=!0x0}={}){const {id:_0x388a3b}=_0x2e279c['_splitMarkerName'](_0x1734d6['markerName']),_0x1e6cf2=[_0x37e9('0x61'),'ck-suggestion-marker-insertion'],_0xa3a81d=_0x2e279c[_0x37e9('0x71')][_0x37e9('0x1d')](_0x1734d6[_0x37e9('0x37')]);return _0xa3a81d&&_0x1e6cf2[_0x37e9('0x85')](_0x37e9('0x1e')),{'classes':_0x1e6cf2,'attributes':{'data-suggestion':_0x388a3b},'priority':_0xa3a81d&&_0x2510bc?0xbc2:0xbb8};}_0x2e279c['on'](_0x37e9('0x82'),_0x1a887e,{'priority':_0x37e9('0x9d')}),_0x2e279c['on'](_0x37e9('0x49'),_0x1a887e,{'priority':'high'}),_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x1')][_0x37e9('0x94')](()=>{let _0x496c3d=!0x1;const _0x554180=Array[_0x37e9('0x78')](_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x1')]['differ'][_0x37e9('0x98')]());for(const {name:_0x3587c6,data:_0x13218d}of _0x554180){const {group:_0x518e3b,type:_0x5a7f17,id:_0x5afa7a}=_0x2e279c[_0x37e9('0x57')](_0x3587c6);if(_0x37e9('0x16')!=_0x518e3b||_0x37e9('0x5d')!=_0x5a7f17||_0x13218d[_0x37e9('0x5b')])continue;if(!_0x2e279c[_0x37e9('0x8b')](_0x5afa7a))continue;const _0x25b74b=_0x2e279c['getSuggestion'](_0x5afa7a)[_0x37e9('0x3')](),_0x761f66=_0x4253ce[_0x37e9('0x56')]['get'](_0x37e9('0x17'))['me'];for(const _0x56249e of _0x2e279c['getSuggestions']()){if(!_0x56249e[_0x37e9('0xe')]||_0x56249e[_0x37e9('0x50')]!=_0x761f66)continue;if(_0x37e9('0x5')!=_0x56249e[_0x37e9('0x24')]||'tablePasteCell'!=_0x56249e[_0x37e9('0x65')])continue;if(_0x56249e['getRanges']()['every'](_0x4747e6=>_0x25b74b[_0x37e9('0x86')](_0x3f7c19=>_0x3f7c19[_0x37e9('0x83')](_0x4747e6,!0x0))))for(const _0x3d7bd6 of _0x56249e[_0x37e9('0x9')]())_0x3d7bd6[_0x37e9('0xe')]&&(_0x3d7bd6[_0x37e9('0x9e')](),_0x496c3d=!0x0);}}return _0x496c3d;}),_0x4253ce[_0x37e9('0x6f')]['document'][_0x37e9('0x94')](_0x5974c2=>{const _0x57932a=_0x4253ce[_0x37e9('0x3b')][_0x37e9('0xd')](_0x37e9('0x8a'));if(!_0x57932a||!_0x57932a[_0x37e9('0xa3')][_0x37e9('0x25')](_0x5974c2[_0x37e9('0x92')]))return!0x1;let _0x2fa8ee=!0x1;const _0x153775=_0x4253ce['plugins'][_0x37e9('0xd')](_0x37e9('0x17'))['me'],_0x5d0d2d=_0x4253ce['model']['document'][_0x37e9('0x2d')][_0x37e9('0x0')](),_0x24be8d=Array[_0x37e9('0x78')](_0x4253ce['model'][_0x37e9('0x1')][_0x37e9('0x2d')][_0x37e9('0x98')]())[_0x37e9('0x53')](({name:_0x259e13,data:_0x53d742})=>{const {group:_0x2d48b0,subType:_0x1fbced,authorId:_0x1f3ac5}=_0x2e279c[_0x37e9('0x57')](_0x259e13);return'suggestion'==_0x2d48b0&&_0x37e9('0x2b')==_0x1fbced&&_0x1f3ac5==_0x153775['id']&&!_0x53d742[_0x37e9('0x5b')];});for(const _0x1b08c4 of _0x5d0d2d){if(_0x37e9('0x5c')!=_0x1b08c4[_0x37e9('0x24')]||_0x37e9('0x46')!=_0x1b08c4[_0x37e9('0x14')]||0x1!=_0x1b08c4[_0x37e9('0x72')])continue;const _0x153b45=_0x5974c2[_0x37e9('0xa4')](_0x1b08c4['position'],_0x1b08c4[_0x37e9('0x54')][_0x37e9('0x5e')](0x1));if(!_0x24be8d[_0x37e9('0x6a')](({data:_0x543480})=>_0x543480[_0x37e9('0x21')][_0x37e9('0x36')](_0x153b45)))for(const {name:_0x1ebe52,data:_0x17a5d4}of _0x24be8d)if(_0x153b45['containsRange'](_0x17a5d4['newRange'])){_0x5974c2[_0x37e9('0xf')](_0x1ebe52,{'range':_0x153b45}),_0x2fa8ee=!0x0;break;}}return _0x2fa8ee;}),_0x4253ce['model']['document'][_0x37e9('0x94')](_0x38e943=>{let _0x2f168c=!0x1;const _0x26c79e=_0x4253ce['plugins'][_0x37e9('0xd')](_0x37e9('0x17'))['me'],_0x11163c=_0x2e279c[_0x37e9('0x3d')]()['filter'](_0x2bc92c=>_0x2bc92c[_0x37e9('0xe')]&&_0x2bc92c['author']==_0x26c79e),_0x4a607c=new Set(),_0x1421a7=new Set();for(const _0x2c96df of _0x11163c)if('tablePaste'==_0x2c96df[_0x37e9('0x65')])for(const _0x4b93ce of _0x2c96df[_0x37e9('0x4f')]()){const _0x5dbfbf=_0x4b93ce[_0x37e9('0x99')]()[_0x37e9('0x9b')]();if(_0x5dbfbf){if(_0x5dbfbf['is'](_0x37e9('0x13'),_0x37e9('0x46'))&&se(_0x5dbfbf)){_0x2c96df[_0x37e9('0x44')](_0x4b93ce[_0x37e9('0x14')]),_0x4a607c[_0x37e9('0x84')](_0x5dbfbf),_0x2f168c=!0x0;const _0x168a69=_0x5dbfbf['nextSibling'],_0x5ecf2d=_0x5dbfbf[_0x37e9('0xa1')],_0x1bfee1=_0x168a69&&_0x168a69['is'](_0x37e9('0x13'),_0x37e9('0x46')),_0x1a099b=_0x5ecf2d&&_0x5ecf2d['is'](_0x37e9('0x13'),_0x37e9('0x46'));_0x1bfee1&&!_0x4a607c['has'](_0x168a69)&&_0x1421a7[_0x37e9('0x84')](_0x168a69),_0x1a099b&&!_0x4a607c['has'](_0x5ecf2d)&&_0x1421a7[_0x37e9('0x84')](_0x5ecf2d);}else _0x5dbfbf['is'](_0x37e9('0x13'),'paragraph')&&_0x5dbfbf[_0x37e9('0x1f')]&&(_0x2c96df[_0x37e9('0x44')](_0x4b93ce[_0x37e9('0x14')]),_0x2f168c=!0x0);}}else{if(_0x37e9('0x1c')==_0x2c96df['subType']){if(!_0x2c96df[_0x37e9('0x62')]||!_0x2c96df['attributes']['tablePasteChainId'])continue;const _0x2601a9=_0x2c96df['attributes'][_0x37e9('0x29')];if(_0x2601a9&&Object[_0x37e9('0x31')](_0x2601a9)[_0x37e9('0x72')])continue;const _0x2d8362=_0x2c96df[_0x37e9('0x62')][_0x37e9('0x3a')];let _0x36b22d=!0x0,_0x5b167d=!0x0;for(const _0x40f51e of _0x11163c)if(_0x40f51e[_0x37e9('0x65')]&&_0x40f51e[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b'))){if(!_0x40f51e[_0x37e9('0x62')][_0x37e9('0x3a')]){_0x5b167d=!0x1;break;}if(_0x40f51e['id']!=_0x2c96df['id']&&_0x40f51e[_0x37e9('0x62')]['tablePasteChainId']==_0x2d8362){_0x36b22d=!0x1;break;}}_0x5b167d&&_0x36b22d&&(_0x2c96df[_0x37e9('0x59')](),_0x2f168c=!0x0);}}for(const _0x57b896 of _0x4a607c)_0x38e943[_0x37e9('0x87')](_0x57b896);for(const _0x423758 of _0x1421a7)_0x38e943['unwrap'](_0x423758);return _0x2f168c;}),_0x4253ce[_0x37e9('0xa2')][_0x37e9('0x8c')](_0x37e9('0x33'))[_0x37e9('0x69')]({'model':_0x37e9('0x2a'),'view':_0x20e094,'converterPriority':_0x37e9('0x9d')}),_0x4253ce['conversion'][_0x37e9('0x8c')]('dataDowncast')[_0x37e9('0x69')]({'model':_0x37e9('0x2a'),'view':(_0x216283,_0x818373)=>{if(_0x818373[_0x37e9('0x60')]['showSuggestionHighlights'])return _0x20e094(_0x216283,{'showActiveMarker':!0x1});},'converterPriority':'high'});const _0x1a4a1d=_0x4253ce['editing']['view'];this[_0x37e9('0x81')](_0x1a4a1d['document'],'clipboardOutput',(_0x4f5f72,_0x68ae16)=>{const _0x201a20=[];for(const _0x4df24d of _0x1a4a1d['createRangeIn'](_0x68ae16[_0x37e9('0x6d')])[_0x37e9('0x55')]())_0x4df24d['is']('element',_0x37e9('0x4a'))&&_0x201a20['push'](_0x4df24d);_0x1a4a1d[_0x37e9('0x76')](_0x278d20=>{for(const _0x57ff8f of _0x201a20)_0x278d20[_0x37e9('0x27')](_0x278d20['createRangeIn'](_0x57ff8f),_0x278d20['createPositionBefore'](_0x57ff8f)),_0x278d20[_0x37e9('0x87')](_0x57ff8f);});});}}function se(_0x457520){if(_0x457520['isEmpty'])return!0x0;const _0x1ab9e1=_0x457520[_0x37e9('0x3e')](0x0);return _0x1ab9e1['is'](_0x37e9('0x13'),_0x37e9('0x7f'))&&_0x1ab9e1[_0x37e9('0x1f')];}function ae(_0x29eec7,_0xe9ad11={},_0x4f57fc){for(const {isAnchor:_0xd74ae6,cellHeight:_0x294f22,cellWidth:_0x46256a}of _0x4f57fc[_0x37e9('0x7a')](_0x29eec7,{'includeAllSlots':!0x0,..._0xe9ad11}))if(!_0xd74ae6||0x1!=_0x294f22||0x1!=_0x46256a)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22fa=['mapper','editing','nodeAfter','format','consume','stop','accept','isBefore','editor','childCount','createRange','registerCustomCallback','table','commands','FORMAT_REGULAR_ROW','markerNameToElements','createPositionBefore','model','item','downcastDispatcher','getChild','registerDescriptionCallback','setAttribute','getSuggestion','consumable','removeAttribute','last','options','createTableWalker','end','setTableColumnHeader','createPositionAfter','plugins','findAncestor','get','_splitMarkerName','highest','commandName','removeMarker:suggestion','index','name','markerName','nodeBefore','getAttribute','_acceptFormatSuggestionCallbackFactory','commandParams','setTableRowHeader','document','requires','headingColumns','value','change','cell','data-suggestion','ck-suggestion-marker-','enableCommand','_suggestionFactory','toViewElement','removeClass','first','data','afterInit','_descriptionFactory','TrackChangesEditing','getRowIndexes','selection','markBlockFormat','TableEditing','FORMAT_HEADER_COLUMN','unbindElementFromMarkerName','writer','parent','forceValue','formatBlock','headingRows','addClass','*Format:*\x20%0','activeMarkers','ck-suggestion-marker--active','markerRange'];(function(_0x58d751,_0x22fa6d){const _0x2aa3e9=function(_0x3ed621){while(--_0x3ed621){_0x58d751['push'](_0x58d751['shift']());}};_0x2aa3e9(++_0x22fa6d);}(_0x22fa,0x1d9));const _0x2aa3=function(_0x58d751,_0x22fa6d){_0x58d751=_0x58d751-0x0;let _0x2aa3e9=_0x22fa[_0x58d751];return _0x2aa3e9;};import{Plugin as _0x5bfc40}from'ckeditor5/src/core';import _0x47454d from'./table';import{getTranslation as _0x4b02e1}from'../utils/common-translations';export default class lt extends _0x5bfc40{static get[_0x2aa3('0x37')](){return[_0x47454d];}[_0x2aa3('0x44')](){const _0x587bd2=this[_0x2aa3('0xf')];if(!_0x587bd2[_0x2aa3('0x27')]['has'](_0x2aa3('0x4a')))return;const _0x3d1062=_0x587bd2['locale'],_0x516995=_0x587bd2['plugins'][_0x2aa3('0x29')](_0x2aa3('0x46')),_0x5cf355=_0x587bd2[_0x2aa3('0x27')]['get']('TableUtils'),_0x24f0f7=_0x587bd2[_0x2aa3('0x27')]['get'](_0x47454d);function _0x76d401({showActiveMarker:_0x42d2b8=!0x0,setDataAttribute:_0x534f1f=!0x0}={}){return(_0x41207e,_0x1ff683,_0x14af7e)=>{const {type:_0x5ca8bd,id:_0x15a8f5}=_0x516995[_0x2aa3('0x2a')](_0x1ff683[_0x2aa3('0x30')]),_0x24e1ff=_0x516995['getSuggestion'](_0x15a8f5);if(!_0x24e1ff['data']||_0x2aa3('0x25')!=_0x24e1ff[_0x2aa3('0x43')][_0x2aa3('0x2c')])return;if(_0x1ff683[_0x2aa3('0x19')])return void _0x41207e[_0x2aa3('0xc')]();if(!_0x14af7e[_0x2aa3('0x1f')][_0x2aa3('0xb')](_0x1ff683[_0x2aa3('0x6')],_0x41207e[_0x2aa3('0x2f')]))return;const _0x432922=_0x1ff683['markerRange']['start'][_0x2aa3('0x9')],_0x2eeef2=_0x1ff683['markerRange'][_0x2aa3('0x24')][_0x2aa3('0x31')],_0xfbab81=_0x432922[_0x2aa3('0x4e')]['parent'],{column:_0x5c32fd}=_0x5cf355['getCellLocation'](_0x432922),{column:_0x4c268c}=_0x5cf355['getCellLocation'](_0x2eeef2);for(let _0x4327a5=_0x5c32fd;_0x4327a5<=_0x4c268c;_0x4327a5++){const _0x15bdf1=_0x5cf355[_0x2aa3('0x23')](_0xfbab81,{'column':_0x4327a5,'includeAllSlots':!0x1});for(const _0x1b879a of _0x15bdf1){const _0x1553a0=_0x1b879a[_0x2aa3('0x3b')],_0x2c5105=_0x14af7e[_0x2aa3('0x7')][_0x2aa3('0x40')](_0x1553a0);_0x14af7e['writer'][_0x2aa3('0x2')](_0x2aa3('0x3d')+_0x5ca8bd,_0x2c5105),_0x534f1f&&_0x14af7e['writer'][_0x2aa3('0x1d')](_0x2aa3('0x3c'),_0x15a8f5,_0x2c5105),_0x14af7e['mapper']['bindElementToMarker'](_0x2c5105,_0x1ff683[_0x2aa3('0x30')]),_0x42d2b8&&(_0x516995[_0x2aa3('0x4')]['includes'](_0x1ff683[_0x2aa3('0x30')])?_0x14af7e[_0x2aa3('0x4d')][_0x2aa3('0x2')](_0x2aa3('0x5'),_0x2c5105):_0x14af7e['writer'][_0x2aa3('0x41')](_0x2aa3('0x5'),_0x2c5105));}}};}_0x516995[_0x2aa3('0x3e')](_0x2aa3('0x35'),(_0x532ecc,_0x45c45a)=>{const _0xf5cc6a=_0x5cf355['getSelectionAffectedTableCells'](_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x36')]['selection']),_0x3fe79d=_0x5cf355[_0x2aa3('0x47')](_0xf5cc6a),_0x5d2721=_0xf5cc6a[0x0][_0x2aa3('0x28')](_0x2aa3('0x13')),_0x193aad=_0x5d2721[_0x2aa3('0x32')](_0x2aa3('0x1'))||0x0,_0x399d56=_0x45c45a&&null!==_0x45c45a[_0x2aa3('0x4f')]?_0x45c45a[_0x2aa3('0x4f')]:!_0x587bd2[_0x2aa3('0x14')]['get'](_0x2aa3('0x35'))[_0x2aa3('0x39')],_0x3a9470=_0x399d56?_0x3fe79d[_0x2aa3('0x21')]:_0x3fe79d['first'],_0x4c9154=_0x5d2721['getChild'](_0x3a9470);let _0xd61744;if(_0x399d56){const _0x2e92ea=_0x5d2721[_0x2aa3('0x1b')](_0x193aad);if(_0x4c9154['index']<_0x2e92ea[_0x2aa3('0x2e')])return;_0xd61744=_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x11')](_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x17')](_0x2e92ea['getChild'](0x0)),_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x26')](_0x4c9154[_0x2aa3('0x1b')](_0x4c9154[_0x2aa3('0x10')]-0x1)));}else{const _0x4cea4d=_0x5d2721[_0x2aa3('0x1b')](_0x193aad-0x1);if(!_0x4cea4d)return;_0xd61744=_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x11')](_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x17')](_0x4c9154[_0x2aa3('0x1b')](0x0)),_0x587bd2['model'][_0x2aa3('0x26')](_0x4cea4d['getChild'](_0x4cea4d[_0x2aa3('0x10')]-0x1)));}_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x3a')](()=>{_0x516995[_0x2aa3('0x49')](_0xd61744,{'commandName':_0x2aa3('0x35'),'commandParams':[{'forceValue':_0x399d56}]},[],'setTableRowHeader');});}),_0x516995[_0x2aa3('0x3e')](_0x2aa3('0x25'),(_0xb73bd4,_0x38860e)=>{const _0x47326b=_0x587bd2[_0x2aa3('0x27')][_0x2aa3('0x29')]('TableUtils'),_0x289166=_0x47326b['getSelectionAffectedTableCells'](_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x36')][_0x2aa3('0x48')]),_0x24c891=_0x47326b['getColumnIndexes'](_0x289166),_0x5b4aa0=_0x289166[0x0][_0x2aa3('0x28')](_0x2aa3('0x13')),_0x442720=_0x5b4aa0['getAttribute'](_0x2aa3('0x38'))||0x0,_0x5e3f80=_0x38860e&&null!==_0x38860e[_0x2aa3('0x4f')]?_0x38860e[_0x2aa3('0x4f')]:!_0x587bd2[_0x2aa3('0x14')][_0x2aa3('0x29')]('setTableColumnHeader')['value'];let _0x57f09d;const _0x378dff=_0x5b4aa0['getChild'](0x0),_0x4c3028=_0x5e3f80?_0x24c891[_0x2aa3('0x21')]:_0x24c891[_0x2aa3('0x42')],_0x444722=_0x47326b[_0x2aa3('0x23')](_0x5b4aa0,{'startRow':0x0,'column':_0x4c3028,'includeAllSlots':!0x1}),_0x64d1b8=Array['from'](_0x444722)[0x0][_0x2aa3('0x3b')];if(_0x5e3f80){const _0x2accad=_0x378dff['getChild'](_0x442720);if(_0x64d1b8[_0x2aa3('0xe')](_0x2accad))return;_0x57f09d=_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x11')](_0x587bd2[_0x2aa3('0x18')]['createPositionBefore'](_0x2accad),_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x26')](_0x64d1b8));}else{const _0x3a93a0=_0x378dff['getChild'](_0x442720-0x1);if(!_0x3a93a0)return;_0x57f09d=_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x11')](_0x587bd2['model'][_0x2aa3('0x17')](_0x64d1b8),_0x587bd2[_0x2aa3('0x18')][_0x2aa3('0x26')](_0x3a93a0));}_0x587bd2[_0x2aa3('0x18')]['change'](()=>{_0x516995[_0x2aa3('0x49')](_0x57f09d,{'commandName':_0x2aa3('0x25'),'commandParams':[{'forceValue':_0x5e3f80}]},[],_0x2aa3('0x25'));});}),_0x587bd2[_0x2aa3('0x8')][_0x2aa3('0x1a')]['on']('addMarker:suggestion',_0x76d401(),{'priority':_0x2aa3('0x2b')}),_0x587bd2[_0x2aa3('0x43')][_0x2aa3('0x1a')]['on']('addMarker:suggestion',(_0x1b598d,_0x5bb4b4,_0x2cd90a)=>{_0x2cd90a[_0x2aa3('0x22')]['showSuggestionHighlights']&&_0x76d401({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1b598d,_0x5bb4b4,_0x2cd90a);},{'priority':'highest'}),_0x587bd2[_0x2aa3('0x8')]['downcastDispatcher']['on'](_0x2aa3('0x2d'),(_0x5dd4cd,_0x26c214,_0x2fec78)=>{const {type:_0x5636cf,id:_0xc59ffb}=_0x516995[_0x2aa3('0x2a')](_0x26c214[_0x2aa3('0x30')]),_0x1161c8=_0x516995[_0x2aa3('0x1e')](_0xc59ffb);if(!_0x1161c8[_0x2aa3('0x43')]||_0x2aa3('0x25')!=_0x1161c8[_0x2aa3('0x43')][_0x2aa3('0x2c')])return;const _0x36b1f1=_0x2fec78[_0x2aa3('0x7')][_0x2aa3('0x16')](_0x26c214[_0x2aa3('0x30')]);if(_0x36b1f1)for(const _0x26542e of _0x36b1f1)_0x2fec78[_0x2aa3('0x4d')]['removeClass'](_0x2aa3('0x3d')+_0x5636cf,_0x26542e),_0x2fec78[_0x2aa3('0x4d')]['removeClass'](_0x2aa3('0x5'),_0x26542e),_0x2fec78['writer'][_0x2aa3('0x20')](_0x2aa3('0x3c'),_0x26542e),_0x2fec78[_0x2aa3('0x7')][_0x2aa3('0x4c')](_0x26542e,_0x26c214[_0x2aa3('0x30')]);},{'priority':_0x2aa3('0x2b')}),_0x516995[_0x2aa3('0x45')][_0x2aa3('0x1c')](_0x3ef0cd=>{const {data:_0x58ba06}=_0x3ef0cd;if(_0x58ba06){if('setTableRowHeader'==_0x58ba06[_0x2aa3('0x2c')]){const _0x311ec4=_0x58ba06[_0x2aa3('0x34')][0x0][_0x2aa3('0x4f')];return _0x15eb38(_0x4b02e1(_0x3d1062,_0x311ec4?'FORMAT_HEADER_ROW':_0x2aa3('0x15')));}if(_0x2aa3('0x25')==_0x58ba06[_0x2aa3('0x2c')]){const _0x129639=_0x58ba06[_0x2aa3('0x34')][0x0][_0x2aa3('0x4f')];return _0x15eb38(_0x4b02e1(_0x3d1062,_0x129639?_0x2aa3('0x4b'):'FORMAT_REGULAR_COLUMN'));}}function _0x15eb38(_0x9857d0){return{'type':_0x2aa3('0xa'),'content':_0x4b02e1(_0x3d1062,_0x2aa3('0x3'),_0x9857d0)};}});const _0x34622b=_0x24f0f7[_0x2aa3('0x33')]();_0x516995['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2aa3('0x35'),_0x2aa3('0xd'),_0x34622b),_0x516995[_0x2aa3('0x3f')][_0x2aa3('0x12')](_0x2aa3('0x0'),_0x2aa3('0x25'),_0x2aa3('0xd'),_0x34622b);}}
23
+ const _0xc27b=['stop','removeAttribute','from','markerNameToElements','createRange','commandName','getSuggestion','options','value','activeMarkers','plugins','editing','writer','item','index','first','getAttribute','editor','childCount','ck-suggestion-marker--active','showSuggestionHighlights','addClass','createPositionAfter','ck-suggestion-marker-','headingColumns','TrackChangesEditing','consume','forceValue','parent','mapper','getCellLocation','format','document','getColumnIndexes','registerDescriptionCallback','data','downcastDispatcher','bindElementToMarker','registerCustomCallback','FORMAT_HEADER_ROW','FORMAT_REGULAR_COLUMN','markBlockFormat','toViewElement','TableUtils','cell','setAttribute','formatBlock','last','end','commands','setTableColumnHeader','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','markerName','removeClass','has','get','_descriptionFactory','removeMarker:suggestion','createPositionBefore','unbindElementFromMarkerName','getChild','setTableRowHeader','commandParams','markerRange','start','TableEditing','isBefore','locale','selection','data-suggestion','FORMAT_REGULAR_ROW','nodeAfter','change','nodeBefore','highest','addMarker:suggestion','enableCommand','getSelectionAffectedTableCells','includes','model','_splitMarkerName'];(function(_0x4fbfff,_0xc27b0c){const _0x58d270=function(_0xd89335){while(--_0xd89335){_0x4fbfff['push'](_0x4fbfff['shift']());}};_0x58d270(++_0xc27b0c);}(_0xc27b,0x1b3));const _0x58d2=function(_0x4fbfff,_0xc27b0c){_0x4fbfff=_0x4fbfff-0x0;let _0x58d270=_0xc27b[_0x4fbfff];return _0x58d270;};import{Plugin as _0x50960e}from'ckeditor5/src/core';import _0x4c3b87 from'./table';import{getTranslation as _0x28223f}from'../utils/common-translations';export default class lt extends _0x50960e{static get['requires'](){return[_0x4c3b87];}['afterInit'](){const _0x8a490a=this[_0x58d2('0x4a')];if(!_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1e')](_0x58d2('0x29')))return;const _0x33e578=_0x8a490a[_0x58d2('0x2b')],_0x35fec0=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x58d2('0x0')),_0x3f1d78=_0x8a490a['plugins']['get'](_0x58d2('0x12')),_0x5d1360=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x4c3b87);function _0x348943({showActiveMarker:_0x5b5716=!0x0,setDataAttribute:_0xac96ea=!0x0}={}){return(_0x44aa88,_0x561795,_0x298495)=>{const {type:_0x21afe7,id:_0xde6682}=_0x35fec0[_0x58d2('0x38')](_0x561795['markerName']),_0x10ff88=_0x35fec0[_0x58d2('0x3f')](_0xde6682);if(!_0x10ff88[_0x58d2('0xa')]||_0x58d2('0x19')!=_0x10ff88[_0x58d2('0xa')][_0x58d2('0x3e')])return;if(_0x561795[_0x58d2('0x46')])return void _0x44aa88[_0x58d2('0x39')]();if(!_0x298495['consumable'][_0x58d2('0x1')](_0x561795[_0x58d2('0x27')],_0x44aa88['name']))return;const _0x2cf89b=_0x561795[_0x58d2('0x27')][_0x58d2('0x28')][_0x58d2('0x2f')],_0x58fc67=_0x561795[_0x58d2('0x27')][_0x58d2('0x17')][_0x58d2('0x31')],_0x18a71f=_0x2cf89b[_0x58d2('0x3')][_0x58d2('0x3')],{column:_0x11b992}=_0x3f1d78['getCellLocation'](_0x2cf89b),{column:_0x4d9a9a}=_0x3f1d78[_0x58d2('0x5')](_0x58fc67);for(let _0x319ebe=_0x11b992;_0x319ebe<=_0x4d9a9a;_0x319ebe++){const _0x2bc82b=_0x3f1d78['createTableWalker'](_0x18a71f,{'column':_0x319ebe,'includeAllSlots':!0x1});for(const _0x17a04c of _0x2bc82b){const _0x47cea2=_0x17a04c[_0x58d2('0x13')],_0x154701=_0x298495[_0x58d2('0x4')][_0x58d2('0x11')](_0x47cea2);_0x298495[_0x58d2('0x45')][_0x58d2('0x4e')](_0x58d2('0x50')+_0x21afe7,_0x154701),_0xac96ea&&_0x298495[_0x58d2('0x45')][_0x58d2('0x14')]('data-suggestion',_0xde6682,_0x154701),_0x298495[_0x58d2('0x4')][_0x58d2('0xc')](_0x154701,_0x561795[_0x58d2('0x1c')]),_0x5b5716&&(_0x35fec0[_0x58d2('0x42')][_0x58d2('0x36')](_0x561795[_0x58d2('0x1c')])?_0x298495[_0x58d2('0x45')][_0x58d2('0x4e')](_0x58d2('0x4c'),_0x154701):_0x298495[_0x58d2('0x45')][_0x58d2('0x1d')]('ck-suggestion-marker--active',_0x154701));}}};}_0x35fec0['enableCommand'](_0x58d2('0x25'),(_0x2f0793,_0x2c5cdb)=>{const _0x522a9c=_0x3f1d78[_0x58d2('0x35')](_0x8a490a[_0x58d2('0x37')]['document']['selection']),_0x5f178f=_0x3f1d78['getRowIndexes'](_0x522a9c),_0x1440bb=_0x522a9c[0x0]['findAncestor']('table'),_0x140163=_0x1440bb[_0x58d2('0x49')]('headingRows')||0x0,_0x5aeb1a=_0x2c5cdb&&null!==_0x2c5cdb['forceValue']?_0x2c5cdb['forceValue']:!_0x8a490a[_0x58d2('0x18')][_0x58d2('0x1f')](_0x58d2('0x25'))[_0x58d2('0x41')],_0x4c43f0=_0x5aeb1a?_0x5f178f[_0x58d2('0x16')]:_0x5f178f[_0x58d2('0x48')],_0x441b80=_0x1440bb[_0x58d2('0x24')](_0x4c43f0);let _0x51c332;if(_0x5aeb1a){const _0xa20f0e=_0x1440bb['getChild'](_0x140163);if(_0x441b80[_0x58d2('0x47')]<_0xa20f0e[_0x58d2('0x47')])return;_0x51c332=_0x8a490a[_0x58d2('0x37')]['createRange'](_0x8a490a['model'][_0x58d2('0x22')](_0xa20f0e[_0x58d2('0x24')](0x0)),_0x8a490a['model'][_0x58d2('0x4f')](_0x441b80[_0x58d2('0x24')](_0x441b80[_0x58d2('0x4b')]-0x1)));}else{const _0x3f026f=_0x1440bb['getChild'](_0x140163-0x1);if(!_0x3f026f)return;_0x51c332=_0x8a490a['model']['createRange'](_0x8a490a['model'][_0x58d2('0x22')](_0x441b80['getChild'](0x0)),_0x8a490a[_0x58d2('0x37')]['createPositionAfter'](_0x3f026f[_0x58d2('0x24')](_0x3f026f['childCount']-0x1)));}_0x8a490a[_0x58d2('0x37')][_0x58d2('0x30')](()=>{_0x35fec0[_0x58d2('0x10')](_0x51c332,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5aeb1a}]},[],_0x58d2('0x25'));});}),_0x35fec0[_0x58d2('0x34')](_0x58d2('0x19'),(_0x5e7136,_0xf16269)=>{const _0xddc4c9=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x58d2('0x12')),_0x21b96b=_0xddc4c9[_0x58d2('0x35')](_0x8a490a[_0x58d2('0x37')][_0x58d2('0x7')][_0x58d2('0x2c')]),_0x3a319a=_0xddc4c9[_0x58d2('0x8')](_0x21b96b),_0x5d2536=_0x21b96b[0x0]['findAncestor']('table'),_0x4ca885=_0x5d2536['getAttribute'](_0x58d2('0x51'))||0x0,_0x227936=_0xf16269&&null!==_0xf16269[_0x58d2('0x2')]?_0xf16269[_0x58d2('0x2')]:!_0x8a490a[_0x58d2('0x18')][_0x58d2('0x1f')](_0x58d2('0x19'))['value'];let _0x143c31;const _0x353c9b=_0x5d2536[_0x58d2('0x24')](0x0),_0x3fe4e0=_0x227936?_0x3a319a[_0x58d2('0x16')]:_0x3a319a[_0x58d2('0x48')],_0x27d670=_0xddc4c9['createTableWalker'](_0x5d2536,{'startRow':0x0,'column':_0x3fe4e0,'includeAllSlots':!0x1}),_0x5dc0f3=Array[_0x58d2('0x3b')](_0x27d670)[0x0][_0x58d2('0x13')];if(_0x227936){const _0x428bfc=_0x353c9b['getChild'](_0x4ca885);if(_0x5dc0f3[_0x58d2('0x2a')](_0x428bfc))return;_0x143c31=_0x8a490a[_0x58d2('0x37')][_0x58d2('0x3d')](_0x8a490a[_0x58d2('0x37')][_0x58d2('0x22')](_0x428bfc),_0x8a490a[_0x58d2('0x37')][_0x58d2('0x4f')](_0x5dc0f3));}else{const _0x8ad23a=_0x353c9b['getChild'](_0x4ca885-0x1);if(!_0x8ad23a)return;_0x143c31=_0x8a490a[_0x58d2('0x37')][_0x58d2('0x3d')](_0x8a490a[_0x58d2('0x37')]['createPositionBefore'](_0x5dc0f3),_0x8a490a[_0x58d2('0x37')]['createPositionAfter'](_0x8ad23a));}_0x8a490a['model']['change'](()=>{_0x35fec0['markBlockFormat'](_0x143c31,{'commandName':_0x58d2('0x19'),'commandParams':[{'forceValue':_0x227936}]},[],_0x58d2('0x19'));});}),_0x8a490a[_0x58d2('0x44')][_0x58d2('0xb')]['on']('addMarker:suggestion',_0x348943(),{'priority':_0x58d2('0x32')}),_0x8a490a[_0x58d2('0xa')]['downcastDispatcher']['on'](_0x58d2('0x33'),(_0x51ed2d,_0x5b9eeb,_0x2be7f7)=>{_0x2be7f7[_0x58d2('0x40')][_0x58d2('0x4d')]&&_0x348943({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x51ed2d,_0x5b9eeb,_0x2be7f7);},{'priority':_0x58d2('0x32')}),_0x8a490a[_0x58d2('0x44')]['downcastDispatcher']['on'](_0x58d2('0x21'),(_0x2c1f0a,_0x524abe,_0x3a04de)=>{const {type:_0x41fe44,id:_0x5886bb}=_0x35fec0[_0x58d2('0x38')](_0x524abe[_0x58d2('0x1c')]),_0x22242a=_0x35fec0[_0x58d2('0x3f')](_0x5886bb);if(!_0x22242a[_0x58d2('0xa')]||_0x58d2('0x19')!=_0x22242a[_0x58d2('0xa')]['commandName'])return;const _0x3e1f13=_0x3a04de[_0x58d2('0x4')][_0x58d2('0x3c')](_0x524abe[_0x58d2('0x1c')]);if(_0x3e1f13)for(const _0x44cea4 of _0x3e1f13)_0x3a04de['writer'][_0x58d2('0x1d')](_0x58d2('0x50')+_0x41fe44,_0x44cea4),_0x3a04de[_0x58d2('0x45')][_0x58d2('0x1d')]('ck-suggestion-marker--active',_0x44cea4),_0x3a04de['writer'][_0x58d2('0x3a')](_0x58d2('0x2d'),_0x44cea4),_0x3a04de[_0x58d2('0x4')][_0x58d2('0x23')](_0x44cea4,_0x524abe[_0x58d2('0x1c')]);},{'priority':_0x58d2('0x32')}),_0x35fec0[_0x58d2('0x20')][_0x58d2('0x9')](_0x8db9c3=>{const {data:_0x4ea25d}=_0x8db9c3;if(_0x4ea25d){if('setTableRowHeader'==_0x4ea25d['commandName']){const _0x496a55=_0x4ea25d[_0x58d2('0x26')][0x0][_0x58d2('0x2')];return _0x11ac09(_0x28223f(_0x33e578,_0x496a55?_0x58d2('0xe'):_0x58d2('0x2e')));}if(_0x58d2('0x19')==_0x4ea25d[_0x58d2('0x3e')]){const _0x1d5399=_0x4ea25d['commandParams'][0x0][_0x58d2('0x2')];return _0x11ac09(_0x28223f(_0x33e578,_0x1d5399?'FORMAT_HEADER_COLUMN':_0x58d2('0xf')));}}function _0x11ac09(_0x224bd8){return{'type':_0x58d2('0x6'),'content':_0x28223f(_0x33e578,'*Format:*\x20%0',_0x224bd8)};}});const _0xddb052=_0x5d1360[_0x58d2('0x1a')]();_0x35fec0['_suggestionFactory'][_0x58d2('0xd')](_0x58d2('0x15'),'setTableRowHeader','accept',_0xddb052),_0x35fec0[_0x58d2('0x1b')]['registerCustomCallback'](_0x58d2('0x15'),_0x58d2('0x19'),'accept',_0xddb052);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26a2=['getRanges','size','formatBlock','tableCell','mergeTableCellDown','set:isEnabled','splitTableCellHorizontally','stop','registerCustomCallback','TableEditing','rootName','getSelectionAffectedTableCells','TrackChangesEditing','_areMergableCells','commands','get','createRangeOn','TableUtils','table','model','*Split\x20cell:*\x20horizontally','detach','afterInit','_acceptFormatSuggestionCallbackFactory','commandName','_descriptionFactory','getAncestors','isInContent','change','registerDescriptionCallback','_areSelectedCellsMergable','markBlockFormat','push','filter','locale','*Split\x20cell:*\x20vertically','findAncestor','from','has','highest','map','low','return','_isForcedDefaultExecutionBlock','isEnabled','createTableWalker','mergeTableCells','mergeTableCellLeft','subType','_suggestionFactory','cell','find','forceDefaultExecution','format','refresh','*Merge\x20cells*','add','length','setSelection','direction','accept','enableCommand','getCellLocation','element','containsRange','getFirstPosition','author','execute','deletion','selection','requires','editor','plugins','document','markMultiRangeBlockFormat','value','root','mergeTableCellUp','mergeTableCellRight','splitTableCellVertically','type','$graveyard'];(function(_0x1907a9,_0x26a259){const _0xb77508=function(_0x2f925d){while(--_0x2f925d){_0x1907a9['push'](_0x1907a9['shift']());}};_0xb77508(++_0x26a259);}(_0x26a2,0xcd));const _0xb775=function(_0x1907a9,_0x26a259){_0x1907a9=_0x1907a9-0x0;let _0xb77508=_0x26a2[_0x1907a9];return _0xb77508;};import{Plugin as _0x420082}from'ckeditor5/src/core';import _0x2052a1 from'./table';import{LiveRange as _0x10e41e}from'ckeditor5/src/engine';import{getTranslation as _0x1263ea}from'../utils/common-translations';export default class gt extends _0x420082{static get[_0xb775('0x1d')](){return[_0x2052a1];}[_0xb775('0x3f')](){const _0x4bb143=this[_0xb775('0x1e')],_0x34cf46=_0x4bb143[_0xb775('0x3c')]['document'][_0xb775('0x1c')],_0x104e68=_0x4bb143[_0xb775('0x4b')];if(!_0x4bb143['plugins'][_0xb775('0x4f')](_0xb775('0x32')))return;const _0x541d0c=_0x4bb143[_0xb775('0x1f')]['get']('TrackChangesEditing'),_0x2619f1=_0x4bb143['plugins']['get'](_0xb775('0x3a')),_0x14c5c4=_0x4bb143['plugins']['get'](_0x2052a1);_0x14c5c4['_tablePostFixingSubtypes'][_0xb775('0x49')](_0xb775('0x5')),_0x541d0c[_0xb775('0x14')](_0xb775('0x5'),()=>{const _0x51e7d4=_0x2619f1[_0xb775('0x34')](_0x4bb143['model'][_0xb775('0x20')][_0xb775('0x1c')]);_0x4bb143[_0xb775('0x3c')]['change'](()=>{_0x541d0c[_0xb775('0x21')](_0x51e7d4,{'commandName':_0xb775('0x5'),'commandParams':[]},[],'mergeTableCells');});}),_0x4bb143[_0xb775('0x37')][_0xb775('0x38')]('mergeTableCells')['on'](_0xb775('0x1a'),(_0x21d158,_0xccc3bd)=>{_0x4bb143[_0xb775('0x37')][_0xb775('0x38')]('trackChanges')[_0xb775('0x22')]&&(_0xccc3bd[_0xb775('0x10')]>0x0&&_0xccc3bd[_0xccc3bd[_0xb775('0x10')]-0x1]&&_0xccc3bd[_0xccc3bd[_0xb775('0x10')]-0x1][_0xb775('0xb')]||_0x541d0c[_0xb775('0x2')]||this['_areSelectedCellsMergable']()||_0x21d158[_0xb775('0x30')]());},{'priority':_0xb775('0x50')});for(const _0x3578d4 of[_0xb775('0x24'),_0xb775('0x25'),'mergeTableCellDown',_0xb775('0x6')]){const _0x173217=_0x4bb143['commands'][_0xb775('0x38')](_0x3578d4);_0x541d0c[_0xb775('0x14')](_0x3578d4,()=>{const _0x37746b=_0x4bb143[_0xb775('0x3c')][_0xb775('0x20')][_0xb775('0x1c')][_0xb775('0x18')]()[_0xb775('0x43')]()[_0xb775('0xa')](_0x2e361a=>_0x2e361a['is'](_0xb775('0x16'),_0xb775('0x2c'))),_0x5dbe22=_0x173217[_0xb775('0x22')];_0x4bb143[_0xb775('0x3c')][_0xb775('0x45')](()=>{_0x541d0c[_0xb775('0x21')]([_0x37746b,_0x5dbe22],{'commandName':_0xb775('0x5'),'commandParams':[]},[],_0xb775('0x5'));});});}for(const _0x4d1eef of[_0xb775('0x26'),_0xb775('0x2f')]){const _0x3c88b1=_0x4bb143[_0xb775('0x37')]['get'](_0x4d1eef);_0x541d0c[_0xb775('0x14')](_0x4d1eef,()=>{const _0x72868=_0x2619f1[_0xb775('0x34')](_0x4bb143[_0xb775('0x3c')][_0xb775('0x20')][_0xb775('0x1c')])[0x0],_0x4563b3=_0x72868[_0xb775('0x4d')](_0xb775('0x3b')),{column:_0x3e21da,row:_0x9b5669}=_0x2619f1[_0xb775('0x15')](_0x72868);let _0x364c44=[];if('horizontally'==_0x3c88b1[_0xb775('0x12')]){const _0x3ee1fa=_0x2619f1[_0xb775('0x4')](_0x4563b3,{'startRow':_0x9b5669,'endRow':_0x9b5669,'includeAllSlots':!0x0});_0x364c44=Array[_0xb775('0x4e')](_0x3ee1fa)[_0xb775('0x51')](_0xa32c86=>_0xa32c86[_0xb775('0x9')]);}else{const _0x8170a=_0x2619f1[_0xb775('0x4')](_0x4563b3,{'column':_0x3e21da,'includeAllSlots':!0x0});_0x364c44=Array['from'](_0x8170a)[_0xb775('0x51')](_0x165532=>_0x165532['cell']);}_0x4bb143[_0xb775('0x3c')][_0xb775('0x45')](_0x38df66=>{_0x541d0c[_0xb775('0x48')](_0x38df66[_0xb775('0x39')](_0x72868),{'commandName':_0x4d1eef,'commandParams':[]},_0x364c44,_0x4d1eef);});});}_0x541d0c['_descriptionFactory']['registerDescriptionCallback'](_0x2530d3=>{const {data:_0x54ab68}=_0x2530d3;if(_0x54ab68)return'mergeTableCells'==_0x54ab68[_0xb775('0x41')]?{'type':'format','content':_0x1263ea(_0x104e68,_0xb775('0xe'))}:void 0x0;}),_0x541d0c[_0xb775('0x42')][_0xb775('0x46')](_0x4dd0ea=>{const {data:_0x1cad67}=_0x4dd0ea;if(_0x1cad67)return'splitTableCellVertically'==_0x1cad67[_0xb775('0x41')]?{'type':'format','content':_0x1263ea(_0x104e68,_0xb775('0x4c'))}:_0xb775('0x2f')==_0x1cad67['commandName']?{'type':_0xb775('0xc'),'content':_0x1263ea(_0x104e68,_0xb775('0x3d'))}:void 0x0;});const _0x4b5008=_0x14c5c4[_0xb775('0x40')]();for(const _0x1f224d of['mergeTableCellUp',_0xb775('0x25'),_0xb775('0x2d'),_0xb775('0x6')])_0x541d0c[_0xb775('0x8')]['registerCustomCallback'](_0xb775('0x2b'),_0x1f224d,_0xb775('0x13'),_0x4b5008);for(const _0x18f21f of[_0xb775('0x26'),_0xb775('0x2f')])_0x541d0c[_0xb775('0x8')][_0xb775('0x31')](_0xb775('0x2b'),_0x18f21f,_0xb775('0x13'),_0x4b5008);_0x541d0c[_0xb775('0x8')][_0xb775('0x31')](_0xb775('0x2b'),_0xb775('0x5'),'accept',_0x1f890f=>{_0x4bb143[_0xb775('0x3c')][_0xb775('0x45')](_0x219ee0=>{const _0x194ede=Array[_0xb775('0x4e')](_0x34cf46[_0xb775('0x29')]())[_0xb775('0x51')](_0x584adb=>_0x10e41e['fromRange'](_0x584adb));_0x219ee0[_0xb775('0x11')](_0x1f890f),_0x4bb143[_0xb775('0x37')][_0xb775('0x38')](_0xb775('0x5'))[_0xb775('0xd')](),_0x4bb143['execute'](_0xb775('0x5'),{'forceDefaultExecution':!0x0});const _0xa2fe6b=_0x194ede[_0xb775('0x4a')](_0x36f703=>_0xb775('0x28')!=_0x36f703[_0xb775('0x23')][_0xb775('0x33')]);_0xa2fe6b['length']>0x0&&_0x219ee0[_0xb775('0x11')](_0xa2fe6b);for(const _0x19b547 of _0x194ede)_0x19b547[_0xb775('0x3e')]();});});for(const _0x1dacd8 of[_0xb775('0x24'),_0xb775('0x2d'),'mergeTableCellLeft',_0xb775('0x25')]){const _0x303803=_0x4bb143[_0xb775('0x37')][_0xb775('0x38')](_0x1dacd8);_0x303803['on'](_0xb775('0x2e'),(_0x3c8370,_0x1467dc,_0x228e41)=>{if(_0x228e41){const _0x4b2474=_0x4bb143[_0xb775('0x3c')][_0xb775('0x20')]['selection'][_0xb775('0x18')]()[_0xb775('0x43')]()[_0xb775('0xa')](_0x18fd0f=>_0x18fd0f['is']('element',_0xb775('0x2c')));this[_0xb775('0x36')](_0x303803[_0xb775('0x22')],_0x4b2474)||(_0x3c8370[_0xb775('0x1')]=!0x1,_0x3c8370['stop']());}},{'priority':_0xb775('0x0')});}}[_0xb775('0x47')](){const _0x387f17=this[_0xb775('0x1e')][_0xb775('0x37')][_0xb775('0x38')](_0xb775('0x5')),_0x17f896=this['editor'][_0xb775('0x1f')]['get'](_0xb775('0x3a'));if(!_0x387f17[_0xb775('0x3')])return!0x1;const _0x1e0560=_0x17f896[_0xb775('0x34')](this['editor']['model'][_0xb775('0x20')]['selection']);for(const _0x29d12a of _0x1e0560)for(const _0x1a5635 of _0x1e0560)if(_0x29d12a!=_0x1a5635&&!this['_areMergableCells'](_0x29d12a,_0x1a5635))return!0x1;return!0x0;}[_0xb775('0x36')](_0x35bb89,_0x5263d1){const _0x519b67=this[_0xb775('0x1e')]['plugins'][_0xb775('0x38')](_0xb775('0x35')),_0x9fc8b1=this[_0xb775('0x1e')][_0xb775('0x3c')][_0xb775('0x39')](_0x35bb89),_0x38ea73=this['editor'][_0xb775('0x3c')][_0xb775('0x39')](_0x5263d1),_0x3fef59=new Set(),_0x8ebc6f=new Set();for(const _0x52980d of _0x519b67['getSuggestions']())if(('insertion'==_0x52980d[_0xb775('0x27')]||_0xb775('0x1b')==_0x52980d['type']||_0xb775('0x5')==_0x52980d[_0xb775('0x7')])&&_0x52980d[_0xb775('0x44')])for(const _0x2aca46 of _0x52980d[_0xb775('0x29')]())_0x2aca46[_0xb775('0x17')](_0x9fc8b1,!0x0)&&_0x3fef59[_0xb775('0xf')](_0x52980d['type']+':'+_0x52980d[_0xb775('0x19')]['id']),_0x2aca46[_0xb775('0x17')](_0x38ea73,!0x0)&&_0x8ebc6f['add'](_0x52980d[_0xb775('0x27')]+':'+_0x52980d[_0xb775('0x19')]['id']);if(_0x3fef59[_0xb775('0x2a')]!=_0x8ebc6f[_0xb775('0x2a')])return!0x1;for(const _0x958d4e of _0x3fef59)if(!_0x8ebc6f[_0xb775('0x4f')](_0x958d4e))return!0x1;return!0x0;}}
23
+ const _0x568c=['commands','TableUtils','length','author','trackChanges','add','deletion','getCellLocation','model','from','mergeTableCellRight','change','document','highest','_tablePostFixingSubtypes','selection','format','table','cell','get','isInContent','_suggestionFactory','has','*Split\x20cell:*\x20horizontally','stop','getSuggestions','getSelectionAffectedTableCells','$graveyard','execute','createTableWalker','splitTableCellVertically','findAncestor','push','mergeTableCellUp','root','mergeTableCellDown','TrackChangesEditing','size','getFirstPosition','mergeTableCellLeft','registerCustomCallback','_areMergableCells','mergeTableCells','type','accept','getRanges','splitTableCellHorizontally','set:isEnabled','locale','getAncestors','plugins','filter','createRangeOn','_descriptionFactory','_areSelectedCellsMergable','insertion','markMultiRangeBlockFormat','formatBlock','subType','enableCommand','value','editor','afterInit','element','setSelection','detach','containsRange','commandName','fromRange','tableCell','map','TableEditing','registerDescriptionCallback','refresh','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20vertically','find'];(function(_0x425813,_0x568c8c){const _0x25c9fe=function(_0x292eea){while(--_0x292eea){_0x425813['push'](_0x425813['shift']());}};_0x25c9fe(++_0x568c8c);}(_0x568c,0x17a));const _0x25c9=function(_0x425813,_0x568c8c){_0x425813=_0x425813-0x0;let _0x25c9fe=_0x568c[_0x425813];return _0x25c9fe;};import{Plugin as _0x1f3155}from'ckeditor5/src/core';import _0x323306 from'./table';import{LiveRange as _0x3a2684}from'ckeditor5/src/engine';import{getTranslation as _0x5131cf}from'../utils/common-translations';export default class gt extends _0x1f3155{static get['requires'](){return[_0x323306];}[_0x25c9('0x45')](){const _0x343791=this[_0x25c9('0x44')],_0x1dca36=_0x343791[_0x25c9('0xf')][_0x25c9('0x13')][_0x25c9('0x16')],_0x1b0782=_0x343791[_0x25c9('0x37')];if(!_0x343791[_0x25c9('0x39')][_0x25c9('0x1d')](_0x25c9('0x1')))return;const _0x4a921c=_0x343791[_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x2b')),_0x38176a=_0x343791['plugins'][_0x25c9('0x1a')]('TableUtils'),_0x2739df=_0x343791['plugins']['get'](_0x323306);_0x2739df[_0x25c9('0x15')][_0x25c9('0x27')](_0x25c9('0x31')),_0x4a921c[_0x25c9('0x42')]('mergeTableCells',()=>{const _0x5a8118=_0x38176a[_0x25c9('0x21')](_0x343791[_0x25c9('0xf')][_0x25c9('0x13')][_0x25c9('0x16')]);_0x343791[_0x25c9('0xf')][_0x25c9('0x12')](()=>{_0x4a921c[_0x25c9('0x3f')](_0x5a8118,{'commandName':_0x25c9('0x31'),'commandParams':[]},[],_0x25c9('0x31'));});}),_0x343791[_0x25c9('0x7')]['get'](_0x25c9('0x31'))['on'](_0x25c9('0x23'),(_0x46616f,_0x13ec2d)=>{_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x25c9('0xb'))[_0x25c9('0x43')]&&(_0x13ec2d[_0x25c9('0x9')]>0x0&&_0x13ec2d[_0x13ec2d[_0x25c9('0x9')]-0x1]&&_0x13ec2d[_0x13ec2d['length']-0x1]['forceDefaultExecution']||_0x4a921c[_0x25c9('0x4')]||this[_0x25c9('0x3d')]()||_0x46616f[_0x25c9('0x1f')]());},{'priority':_0x25c9('0x14')});for(const _0x2c1021 of['mergeTableCellUp',_0x25c9('0x11'),'mergeTableCellDown',_0x25c9('0x2e')]){const _0x363fe2=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x2c1021);_0x4a921c['enableCommand'](_0x2c1021,()=>{const _0x44ca3d=_0x343791[_0x25c9('0xf')][_0x25c9('0x13')]['selection']['getFirstPosition']()[_0x25c9('0x38')]()[_0x25c9('0x6')](_0x17f42b=>_0x17f42b['is']('element','tableCell')),_0x394e60=_0x363fe2[_0x25c9('0x43')];_0x343791['model'][_0x25c9('0x12')](()=>{_0x4a921c['markMultiRangeBlockFormat']([_0x44ca3d,_0x394e60],{'commandName':'mergeTableCells','commandParams':[]},[],_0x25c9('0x31'));});});}for(const _0x3e4bad of[_0x25c9('0x25'),_0x25c9('0x35')]){const _0x679544=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x3e4bad);_0x4a921c[_0x25c9('0x42')](_0x3e4bad,()=>{const _0x490761=_0x38176a[_0x25c9('0x21')](_0x343791[_0x25c9('0xf')]['document'][_0x25c9('0x16')])[0x0],_0x110ce7=_0x490761[_0x25c9('0x26')](_0x25c9('0x18')),{column:_0x549d6e,row:_0x3db495}=_0x38176a[_0x25c9('0xe')](_0x490761);let _0xd93858=[];if('horizontally'==_0x679544['direction']){const _0x34cbf8=_0x38176a[_0x25c9('0x24')](_0x110ce7,{'startRow':_0x3db495,'endRow':_0x3db495,'includeAllSlots':!0x0});_0xd93858=Array[_0x25c9('0x10')](_0x34cbf8)['map'](_0x1cd17f=>_0x1cd17f[_0x25c9('0x19')]);}else{const _0x211866=_0x38176a[_0x25c9('0x24')](_0x110ce7,{'column':_0x549d6e,'includeAllSlots':!0x0});_0xd93858=Array[_0x25c9('0x10')](_0x211866)[_0x25c9('0x0')](_0x372fec=>_0x372fec['cell']);}_0x343791[_0x25c9('0xf')]['change'](_0x689228=>{_0x4a921c['markBlockFormat'](_0x689228[_0x25c9('0x3b')](_0x490761),{'commandName':_0x3e4bad,'commandParams':[]},_0xd93858,_0x3e4bad);});});}_0x4a921c[_0x25c9('0x3c')][_0x25c9('0x2')](_0x4368cd=>{const {data:_0xa6c06c}=_0x4368cd;if(_0xa6c06c)return _0x25c9('0x31')==_0xa6c06c[_0x25c9('0x4a')]?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,'*Merge\x20cells*')}:void 0x0;}),_0x4a921c[_0x25c9('0x3c')][_0x25c9('0x2')](_0x18bd93=>{const {data:_0x259d5d}=_0x18bd93;if(_0x259d5d)return'splitTableCellVertically'==_0x259d5d['commandName']?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,_0x25c9('0x5'))}:_0x25c9('0x35')==_0x259d5d['commandName']?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,_0x25c9('0x1e'))}:void 0x0;});const _0xff0729=_0x2739df['_acceptFormatSuggestionCallbackFactory']();for(const _0x7eedd5 of[_0x25c9('0x28'),'mergeTableCellRight',_0x25c9('0x2a'),_0x25c9('0x2e')])_0x4a921c[_0x25c9('0x1c')]['registerCustomCallback'](_0x25c9('0x40'),_0x7eedd5,_0x25c9('0x33'),_0xff0729);for(const _0x48f48a of[_0x25c9('0x25'),'splitTableCellHorizontally'])_0x4a921c[_0x25c9('0x1c')][_0x25c9('0x2f')](_0x25c9('0x40'),_0x48f48a,'accept',_0xff0729);_0x4a921c[_0x25c9('0x1c')][_0x25c9('0x2f')](_0x25c9('0x40'),_0x25c9('0x31'),_0x25c9('0x33'),_0x5aaa28=>{_0x343791[_0x25c9('0xf')]['change'](_0x5ad402=>{const _0x5e5077=Array[_0x25c9('0x10')](_0x1dca36[_0x25c9('0x34')]())[_0x25c9('0x0')](_0x2023ae=>_0x3a2684[_0x25c9('0x4b')](_0x2023ae));_0x5ad402['setSelection'](_0x5aaa28),_0x343791[_0x25c9('0x7')]['get'](_0x25c9('0x31'))[_0x25c9('0x3')](),_0x343791[_0x25c9('0x23')](_0x25c9('0x31'),{'forceDefaultExecution':!0x0});const _0x2935b7=_0x5e5077[_0x25c9('0x3a')](_0x556a6b=>_0x25c9('0x22')!=_0x556a6b[_0x25c9('0x29')]['rootName']);_0x2935b7[_0x25c9('0x9')]>0x0&&_0x5ad402[_0x25c9('0x47')](_0x2935b7);for(const _0x4c6693 of _0x5e5077)_0x4c6693[_0x25c9('0x48')]();});});for(const _0x3c73a8 of[_0x25c9('0x28'),_0x25c9('0x2a'),_0x25c9('0x2e'),_0x25c9('0x11')]){const _0xbf0731=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x3c73a8);_0xbf0731['on'](_0x25c9('0x36'),(_0x1a62a4,_0x4fedb3,_0x18bc68)=>{if(_0x18bc68){const _0x31fc4f=_0x343791['model'][_0x25c9('0x13')]['selection'][_0x25c9('0x2d')]()[_0x25c9('0x38')]()[_0x25c9('0x6')](_0x44b061=>_0x44b061['is'](_0x25c9('0x46'),_0x25c9('0x4c')));this['_areMergableCells'](_0xbf0731[_0x25c9('0x43')],_0x31fc4f)||(_0x1a62a4['return']=!0x1,_0x1a62a4[_0x25c9('0x1f')]());}},{'priority':'low'});}}[_0x25c9('0x3d')](){const _0x496224=this[_0x25c9('0x44')][_0x25c9('0x7')][_0x25c9('0x1a')](_0x25c9('0x31')),_0x18910f=this[_0x25c9('0x44')][_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x8'));if(!_0x496224['isEnabled'])return!0x1;const _0x4565be=_0x18910f[_0x25c9('0x21')](this[_0x25c9('0x44')][_0x25c9('0xf')]['document'][_0x25c9('0x16')]);for(const _0x23d1db of _0x4565be)for(const _0x16ca71 of _0x4565be)if(_0x23d1db!=_0x16ca71&&!this[_0x25c9('0x30')](_0x23d1db,_0x16ca71))return!0x1;return!0x0;}['_areMergableCells'](_0x2d9c69,_0x5bbf42){const _0x824934=this[_0x25c9('0x44')][_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x2b')),_0xd59014=this[_0x25c9('0x44')][_0x25c9('0xf')][_0x25c9('0x3b')](_0x2d9c69),_0x3335f2=this['editor'][_0x25c9('0xf')][_0x25c9('0x3b')](_0x5bbf42),_0x5b5d1c=new Set(),_0x2b2670=new Set();for(const _0x46b607 of _0x824934[_0x25c9('0x20')]())if((_0x25c9('0x3e')==_0x46b607[_0x25c9('0x32')]||_0x25c9('0xd')==_0x46b607[_0x25c9('0x32')]||'mergeTableCells'==_0x46b607[_0x25c9('0x41')])&&_0x46b607[_0x25c9('0x1b')])for(const _0x48e629 of _0x46b607[_0x25c9('0x34')]())_0x48e629[_0x25c9('0x49')](_0xd59014,!0x0)&&_0x5b5d1c[_0x25c9('0xc')](_0x46b607[_0x25c9('0x32')]+':'+_0x46b607[_0x25c9('0xa')]['id']),_0x48e629['containsRange'](_0x3335f2,!0x0)&&_0x2b2670[_0x25c9('0xc')](_0x46b607[_0x25c9('0x32')]+':'+_0x46b607[_0x25c9('0xa')]['id']);if(_0x5b5d1c[_0x25c9('0x2c')]!=_0x2b2670[_0x25c9('0x2c')])return!0x1;for(const _0x5e14bd of _0x5b5d1c)if(!_0x2b2670['has'](_0x5e14bd))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34f8=['Title','_splitMarkerName','start','has','newRange','removeMarker','end','model','title-content','getNearestSelectionRange','registerPostFixer','plugins','registerElementLabel','schema','locale','isEqual','TrackChangesEditing','getChangedMarkers','updateMarker','isTouching','afterInit','_descriptionFactory','from','differ','get','document'];(function(_0x31db35,_0x34f87a){const _0x37e8a1=function(_0x28d49b){while(--_0x28d49b){_0x31db35['push'](_0x31db35['shift']());}};_0x37e8a1(++_0x34f87a);}(_0x34f8,0x135));const _0x37e8=function(_0x31db35,_0x34f87a){_0x31db35=_0x31db35-0x0;let _0x37e8a1=_0x34f8[_0x31db35];return _0x37e8a1;};import{Plugin as _0xc2c01b}from'ckeditor5/src/core';import{getTranslation as _0x481c2c}from'../utils/common-translations';export default class dt extends _0xc2c01b{[_0x37e8('0x17')](){const _0x12f7ce=this['editor'];if(!_0x12f7ce[_0x37e8('0xe')][_0x37e8('0x6')](_0x37e8('0x3')))return;const _0x3bb51b=_0x12f7ce[_0x37e8('0xe')][_0x37e8('0x1')](_0x37e8('0x13'));_0x3bb51b[_0x37e8('0x18')][_0x37e8('0xf')](_0x37e8('0xb'),()=>_0x481c2c(_0x12f7ce[_0x37e8('0x11')],'ELEMENT_TITLE')),_0x12f7ce[_0x37e8('0xa')][_0x37e8('0x2')][_0x37e8('0xd')](_0x5bdb17=>{let _0x440325=!0x1;const _0x49760b=Array[_0x37e8('0x19')](_0x12f7ce[_0x37e8('0xa')][_0x37e8('0x2')][_0x37e8('0x0')][_0x37e8('0x14')]());for(const {name:_0x4b7e54,data:_0x3c6802}of _0x49760b){const {group:_0x623c3e}=_0x3bb51b[_0x37e8('0x4')](_0x4b7e54);if('suggestion'!==_0x623c3e||!_0x3c6802[_0x37e8('0x7')])continue;const _0x47932b=_0x3c6802['newRange'],_0x4d2654=_0x47932b['end']['nodeBefore'];if(!_0x4d2654||!_0x4d2654['is']('element','title-content'))continue;if(!_0x47932b[_0x37e8('0x5')][_0x37e8('0x16')](_0x47932b[_0x37e8('0x9')]))continue;const _0x40d045=_0x12f7ce[_0x37e8('0xa')][_0x37e8('0x10')][_0x37e8('0xc')](_0x47932b[_0x37e8('0x9')],'forward');if(_0x40d045&&_0x40d045['isCollapsed']){const _0x5ab44b=_0x5bdb17['createRange'](_0x47932b[_0x37e8('0x5')],_0x40d045[_0x37e8('0x5')]);_0x5ab44b[_0x37e8('0x12')](_0x47932b)||(_0x5bdb17[_0x37e8('0x15')](_0x4b7e54,{'range':_0x5ab44b}),_0x440325=!0x0);}_0x440325||(_0x5bdb17[_0x37e8('0x8')](_0x4b7e54),_0x440325=!0x0);}return _0x440325;});}}
23
+ const _0x1658=['document','_descriptionFactory','has','createRange','_splitMarkerName','getChangedMarkers','Title','forward','ELEMENT_TITLE','TrackChangesEditing','model','get','registerElementLabel','from','start','isCollapsed','getNearestSelectionRange','schema','updateMarker','end','newRange','title-content','isTouching','removeMarker','nodeBefore'];(function(_0x34f2ba,_0x1658f5){const _0x473fc6=function(_0x5df86d){while(--_0x5df86d){_0x34f2ba['push'](_0x34f2ba['shift']());}};_0x473fc6(++_0x1658f5);}(_0x1658,0x142));const _0x473f=function(_0x34f2ba,_0x1658f5){_0x34f2ba=_0x34f2ba-0x0;let _0x473fc6=_0x1658[_0x34f2ba];return _0x473fc6;};import{Plugin as _0x4ab924}from'ckeditor5/src/core';import{getTranslation as _0x23f868}from'../utils/common-translations';export default class dt extends _0x4ab924{['afterInit'](){const _0x2deee3=this['editor'];if(!_0x2deee3['plugins'][_0x473f('0x5')](_0x473f('0x9')))return;const _0x3a21f2=_0x2deee3['plugins'][_0x473f('0xe')](_0x473f('0xc'));_0x3a21f2[_0x473f('0x4')][_0x473f('0xf')](_0x473f('0x18'),()=>_0x23f868(_0x2deee3['locale'],_0x473f('0xb'))),_0x2deee3['model'][_0x473f('0x3')]['registerPostFixer'](_0x248c7a=>{let _0x1dc887=!0x1;const _0x514acd=Array[_0x473f('0x10')](_0x2deee3[_0x473f('0xd')]['document']['differ'][_0x473f('0x8')]());for(const {name:_0x7941b6,data:_0xabeef6}of _0x514acd){const {group:_0x59ee50}=_0x3a21f2[_0x473f('0x7')](_0x7941b6);if('suggestion'!==_0x59ee50||!_0xabeef6[_0x473f('0x17')])continue;const _0x2f26e4=_0xabeef6['newRange'],_0x45080f=_0x2f26e4[_0x473f('0x16')][_0x473f('0x2')];if(!_0x45080f||!_0x45080f['is']('element','title-content'))continue;if(!_0x2f26e4[_0x473f('0x11')][_0x473f('0x0')](_0x2f26e4[_0x473f('0x16')]))continue;const _0x3248e4=_0x2deee3[_0x473f('0xd')][_0x473f('0x14')][_0x473f('0x13')](_0x2f26e4['end'],_0x473f('0xa'));if(_0x3248e4&&_0x3248e4[_0x473f('0x12')]){const _0x13cfd3=_0x248c7a[_0x473f('0x6')](_0x2f26e4[_0x473f('0x11')],_0x3248e4['start']);_0x13cfd3['isEqual'](_0x2f26e4)||(_0x248c7a[_0x473f('0x15')](_0x7941b6,{'range':_0x13cfd3}),_0x1dc887=!0x0);}_0x1dc887||(_0x248c7a[_0x473f('0x1')](_0x7941b6),_0x1dc887=!0x0);}return _0x1dc887;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3418=['enableCommand','editor','TrackChangesEditing','get','plugins','has'];(function(_0x85f1eb,_0x341877){const _0x3093d0=function(_0x295f6d){while(--_0x295f6d){_0x85f1eb['push'](_0x85f1eb['shift']());}};_0x3093d0(++_0x341877);}(_0x3418,0x87));const _0x3093=function(_0x85f1eb,_0x341877){_0x85f1eb=_0x85f1eb-0x0;let _0x3093d0=_0x3418[_0x85f1eb];return _0x3093d0;};import{Plugin as _0x59b73b}from'ckeditor5/src/core';export default class pt extends _0x59b73b{['afterInit'](){const _0x3b40bb=this[_0x3093('0x4')],_0x469e3f=_0x3b40bb[_0x3093('0x1')][_0x3093('0x0')](_0x3093('0x5'));_0x3b40bb['plugins'][_0x3093('0x2')]('UndoEditing')&&(_0x469e3f[_0x3093('0x3')]('undo'),_0x469e3f['enableCommand']('redo'));}}
23
+ const _0x4ad5=['has','undo','UndoEditing','redo','TrackChangesEditing','editor','get','afterInit','enableCommand'];(function(_0xa65315,_0x4ad5ad){const _0x1286cb=function(_0x1c19a2){while(--_0x1c19a2){_0xa65315['push'](_0xa65315['shift']());}};_0x1286cb(++_0x4ad5ad);}(_0x4ad5,0x8f));const _0x1286=function(_0xa65315,_0x4ad5ad){_0xa65315=_0xa65315-0x0;let _0x1286cb=_0x4ad5[_0xa65315];return _0x1286cb;};import{Plugin as _0x1128f6}from'ckeditor5/src/core';export default class pt extends _0x1128f6{[_0x1286('0x8')](){const _0x38e4f4=this[_0x1286('0x6')],_0x5376ef=_0x38e4f4['plugins'][_0x1286('0x7')](_0x1286('0x5'));_0x38e4f4['plugins'][_0x1286('0x1')](_0x1286('0x3'))&&(_0x5376ef['enableCommand'](_0x1286('0x2')),_0x5376ef[_0x1286('0x0')](_0x1286('0x4')));}}