@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27cf=['isEmpty','markerAttributes','locale','column','stop','updateMarker','tablePasteRow','getRows','commands','containsRange','columnInsertionIndexes','document','tablePasteColumn','plugins','getSuggestionCallback','suggestionUnloaded','wrap','createRangeOn','startsWith','isInContent','return','has','tablePasteChainId','table','content','removeMarkers','markMultiRangeBlockFormat','markers','_tablePostFixingSubtypes','map','getColumnIndexes','registerCustomCallback','activeMarkers','createTableWalker','getSelectionAffectedTableCells','createRange','tableCellVerticalAlignment','nextSibling','createRangeIn','tableCellPadding','_descriptionFactory','getChangedMarkers','tablePasteCell','removeMarker','end','model','row','previousSibling','listenTo','trackChanges','unwrap','nodeAfter','options','subType','getTableIfOnlyTableInContent','reduce','getMarkers','from','previous','author','attributes','hasSuggestion','setAttributes','getChildren','getRange','push','isEqual','find','forceDefaultExecution','cells','_createdBatches','deletionRanges','getItems','tableCell','conversion','insertion','formatBlock','suggestion-td','removeColumns','oldRange','tableCellHorizontalAlignment','suggestionLoaded','remove','insert','change','for','tableCellBorderStyle','markerToHighlight','registerPostFixer','*Replace\x20table\x20cells*','endColumn','_suggestionFactory','position','editor','get','ck-suggestion-marker--active','markMultiRangeInsertion','markMultiRangeDeletion','name','differ','dataDowncast','fromEntries','filter','deletion','rowInsertionRanges','move','editing','suggestion','columnInsertionRanges','TableClipboard','includes','fill','insertContent','value','showSuggestionHighlights','requires','getRanges','insertColumns','removeRows','getContainedElement','tableCellBorderWidth','_getCoordsForCells','newRange','documentSelection','endRow','low','add','getChild','getRowIndexes','createElement','paragraph','length','discard','getAttributes','first','join','tablePaste','suggestion:formatBlock:tablePasteCell','accept','ck-suggestion-marker-insertion','getChanges','createPositionBefore','redo','ck-suggestion-marker','some','tableCellBorderColor','element','tableCellSuggestion','Users','_splitMarkerName','next','last','register','set','findAncestor','high','insertRows','getSuggestions','cell','columns','markerName'];(function(_0x1fe8da,_0x27cf86){const _0x297d79=function(_0x4af0be){while(--_0x4af0be){_0x1fe8da['push'](_0x1fe8da['shift']());}};_0x297d79(++_0x27cf86);}(_0x27cf,0xea));const _0x297d=function(_0x1fe8da,_0x27cf86){_0x1fe8da=_0x1fe8da-0x0;let _0x297d79=_0x27cf[_0x1fe8da];return _0x297d79;};import{getTranslation as _0x43fd15}from'../utils/common-translations.js';import{Plugin as _0x17ddcd}from'ckeditor5/src/core.js';import{uid as _0x19b912,priorities as _0x508eb9}from'ckeditor5/src/utils.js';import _0x217b34 from'./table.js';const fe=[_0x297d('0x2f'),_0x297d('0x48'),_0x297d('0xd'),_0x297d('0x7'),_0x297d('0x7c'),'tableCellBackgroundColor',_0x297d('0x7f')],be=Object[_0x297d('0x1c')](fe['map'](_0x38cc37=>[_0x38cc37,null]));export default class At extends _0x17ddcd{static get[_0x297d('0x2a')](){return[_0x217b34];}['afterInit'](){const _0x20fdd2=this[_0x297d('0x14')];if(!_0x20fdd2[_0x297d('0x65')]['has'](_0x297d('0x24')))return;const _0x4984c0=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('TrackChangesEditing'),_0x36c6e5=_0x20fdd2['plugins'][_0x297d('0x15')]('TableUtils'),_0x35413d=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')](_0x217b34),_0xfe7c84=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('TableClipboard');_0x35413d[_0x297d('0x74')][_0x297d('0x99')](_0x297d('0x5e'),'tablePasteColumn'),_0x20fdd2[_0x297d('0x85')]['schema'][_0x297d('0x4f')](_0x297d('0x4a'),{'allowIn':'tableCell','allowContentOf':_0x297d('0x0'),'isLimit':!0x0}),_0x20fdd2['conversion']['elementToElement']({'model':_0x297d('0x4a'),'view':'suggestion-td'});let _0x21ad02=null;_0x20fdd2[_0x297d('0x85')]['on'](_0x297d('0x27'),(_0x323c8c,_0x20f4dc)=>{const [_0x4fe976,_0x5f4cff]=_0x20f4dc,_0x1821e5=_0x20f4dc[_0x20f4dc[_0x297d('0x3a')]-0x1];_0x1821e5&&_0x1821e5[_0x297d('0x9c')]||_0x4984c0['_isForcedDefaultExecutionBlock']||this[_0x297d('0x14')]['commands']['get'](_0x297d('0x89'))[_0x297d('0x28')]&&function(_0x466509,_0x4a2750,_0x136e10,_0x4055d9,_0x324da4){if(_0x4a2750&&!_0x4a2750['is'](_0x297d('0x32')))return!0x1;const _0x53f738=_0x324da4[_0x297d('0x8e')](_0x466509,_0x136e10);if(!_0x53f738||!de(_0x53f738,void 0x0,_0x4055d9))return!0x1;const _0x2dfb9c=_0x4055d9[_0x297d('0x7a')](_0x136e10['document']['selection']);if(!_0x2dfb9c[_0x297d('0x3a')])return!0x1;const _0x432b23=_0x2dfb9c[0x0][_0x297d('0x51')](_0x297d('0x6f')),_0xdaf21a=_0x4055d9[_0x297d('0x37')](_0x2dfb9c),_0x9c90a4=_0x4055d9[_0x297d('0x76')](_0x2dfb9c),_0x560fdb={'startRow':_0xdaf21a[_0x297d('0x3d')],'endRow':_0xdaf21a[_0x297d('0x4e')],'startColumn':_0x9c90a4[_0x297d('0x3d')],'endColumn':_0x9c90a4[_0x297d('0x4e')]};return 0x1==_0x2dfb9c[_0x297d('0x3a')]&&(_0x560fdb[_0x297d('0x33')]+=_0x4055d9[_0x297d('0x5f')](_0x53f738)-0x1,_0x560fdb[_0x297d('0x11')]+=_0x4055d9['getColumns'](_0x53f738)-0x1),de(_0x432b23,_0x560fdb,_0x4055d9);}(_0x4fe976,_0x5f4cff,_0x20fdd2[_0x297d('0x85')],_0x36c6e5,_0xfe7c84)&&(_0x323c8c[_0x297d('0x5c')](),_0x21ad02={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x20fdd2['model'][_0x297d('0xb')](()=>{_0x20fdd2[_0x297d('0x85')][_0x297d('0x27')](_0x20f4dc[0x0],_0x20f4dc[0x1],_0x20f4dc[0x2],{'forceDefaultExecution':!0x0});const _0x2c12a6=_0x19b912(),{rowInsertionRanges:_0x57f1fe,columnInsertionRanges:_0x288de4,insertionRanges:_0x4f9a2b,deletionRanges:_0x49bc90,cells:_0x48df83}=_0x21ad02;_0x57f1fe['length']&&_0x4984c0[_0x297d('0x17')](_0x57f1fe,'tablePasteRow',{'tablePasteChainId':_0x2c12a6}),_0x288de4[_0x297d('0x3a')]&&_0x4984c0[_0x297d('0x17')](_0x288de4,_0x297d('0x64'),{'tablePasteChainId':_0x2c12a6}),_0x4f9a2b[_0x297d('0x3a')]&&_0x4984c0['markMultiRangeInsertion'](_0x4f9a2b,_0x297d('0x3f'),{'tablePasteChainId':_0x2c12a6,'skipNestingCheck':!0x0}),_0x49bc90[_0x297d('0x3a')]&&_0x4984c0[_0x297d('0x18')](_0x49bc90,_0x297d('0x3f'),{'tablePasteChainId':_0x2c12a6,'skipNestingCheck':!0x0});const _0xd1d2a8=_0x4984c0[_0x297d('0x72')](_0x48df83['map'](({element:_0x53f88d})=>_0x53f88d),{'formatGroupId':_0x19b912()},[],_0x297d('0x82'),{'tablePasteChainId':_0x2c12a6});if(_0xd1d2a8){const _0xe01040=_0xd1d2a8[_0x297d('0x90')](),_0x4de3b2=[];for(const {element:_0x5e6eb2,attributes:_0x6e6f54}of _0x48df83){if(!_0x6e6f54)continue;const _0x83f097=_0x20fdd2[_0x297d('0x85')][_0x297d('0x69')](_0x5e6eb2),_0x220177=_0xe01040[_0x297d('0x9b')](_0xfbd187=>_0xfbd187[_0x297d('0x98')]()[_0x297d('0x9a')](_0x83f097));_0x220177&&_0x4de3b2['push']([_0x220177[_0x297d('0x19')],_0x6e6f54]);}_0x4de3b2[_0x297d('0x3a')]&&_0xd1d2a8['setAttribute'](_0x297d('0x59'),Object[_0x297d('0x1c')](_0x4de3b2));}_0x21ad02=null;}));},{'priority':_0x508eb9[_0x297d('0x52')]+0xa}),_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')](_0x297d('0x24'))['on']('_replaceTableSlotCell',(_0x5e2a4a,_0x5aa18f)=>{const [_0x3dd14d,_0x66bd34,,_0x7f2898]=_0x5aa18f;if(!_0x21ad02)return;_0x5e2a4a[_0x297d('0x5c')]();const _0x327369=_0x3dd14d[_0x297d('0x55')],_0x4a7f11=_0x66bd34,_0xf8d098=ge(_0x327369),_0x4582d0=ge(_0x4a7f11);_0x5e2a4a[_0x297d('0x6c')]=_0x327369;let _0x44bfa6=null,_0x3fdd3a=null;if(_0x4582d0||_0xf8d098){if(_0xf8d098&&!_0x4582d0){_0x7f2898[_0x297d('0x9')](_0x327369[_0x297d('0x36')](0x0));for(const _0x575aa8 of Array[_0x297d('0x91')](_0x4a7f11['getChildren']()))_0x7f2898['insert'](_0x575aa8,_0x327369,_0x297d('0x84'));const _0x53214e=_0x21ad02['rowInsertionIndexes'][_0x297d('0x25')](_0x3dd14d[_0x297d('0x86')]),_0x1c6114=_0x21ad02['columnInsertionIndexes']['includes'](_0x3dd14d[_0x297d('0x5b')]);_0x53214e||_0x1c6114||(_0x44bfa6=_0x7f2898[_0x297d('0x7e')](_0x327369));}else _0x4582d0&&!_0xf8d098&&(_0x3fdd3a=_0x7f2898['createRangeIn'](_0x327369));}else{const _0x4878f7=_0x7f2898['createElement'](_0x297d('0x4a')),_0x2720e9=_0x7f2898[_0x297d('0x38')]('tableCellSuggestion');_0x7f2898[_0x297d('0x68')](_0x7f2898[_0x297d('0x7e')](_0x327369),_0x2720e9),_0x7f2898[_0x297d('0xa')](_0x4878f7,_0x327369,0x0);for(const _0x24caac of Array[_0x297d('0x91')](_0x4a7f11[_0x297d('0x97')]()))_0x7f2898['insert'](_0x24caac,_0x4878f7,_0x297d('0x84'));_0x44bfa6=_0x7f2898['createRangeOn'](_0x4878f7),_0x3fdd3a=_0x7f2898[_0x297d('0x69')](_0x2720e9);}const _0x2dd084=Array[_0x297d('0x91')](_0x4a7f11[_0x297d('0x3c')]())['filter'](([_0x316935])=>fe[_0x297d('0x25')](_0x316935));_0x21ad02['cells'][_0x297d('0x99')]({'element':_0x327369,'attributes':_0x2dd084['length']?Object[_0x297d('0x1c')](_0x2dd084):null}),_0x44bfa6&&_0x21ad02['insertionRanges'][_0x297d('0x99')](_0x44bfa6),_0x3fdd3a&&_0x21ad02[_0x297d('0x9f')][_0x297d('0x99')](_0x3fdd3a);},{'priority':_0x297d('0x52')}),_0x36c6e5['on'](_0x297d('0x2c'),(_0x5253d7,_0x3fe4cb)=>{const [_0x4dea96,_0x4b15d7={}]=_0x3fe4cb;if(!_0x21ad02)return;const _0x268134=_0x4b15d7['at']||0x0,_0x2f806a=_0x4b15d7[_0x297d('0x56')]||0x1;_0x21ad02[_0x297d('0x62')]=new Array(_0x2f806a)[_0x297d('0x26')](_0x268134)[_0x297d('0x75')]((_0x2c73b7,_0x452fa3)=>_0x2c73b7+_0x452fa3);for(const {cell:_0xde2241}of _0x36c6e5[_0x297d('0x79')](_0x4dea96,{'startColumn':_0x268134,'endColumn':_0x268134+_0x2f806a-0x1}))_0x21ad02[_0x297d('0x23')][_0x297d('0x99')](_0x20fdd2[_0x297d('0x85')][_0x297d('0x69')](_0xde2241));},{'priority':'low'}),_0x36c6e5['on'](_0x297d('0x53'),(_0x4622a9,_0x5bb1f1)=>{const [_0x31f6c9,_0x5ceefa={}]=_0x5bb1f1;if(!_0x21ad02)return;const _0x1987e8=_0x5ceefa['at']||0x0,_0x2d4cca=_0x5ceefa['rows']||0x1;_0x21ad02['rowInsertionIndexes']=new Array(_0x2d4cca)['fill'](_0x1987e8)['map']((_0x702264,_0x2b8a8f)=>_0x702264+_0x2b8a8f);for(const {cell:_0x2ec46e}of _0x36c6e5[_0x297d('0x79')](_0x31f6c9,{'startRow':_0x1987e8,'endRow':_0x1987e8+_0x2d4cca-0x1}))_0x21ad02[_0x297d('0x1f')]['push'](_0x20fdd2['model'][_0x297d('0x69')](_0x2ec46e));},{'priority':_0x297d('0x34')}),_0x4984c0[_0x297d('0x80')]['registerDescriptionCallback'](_0x9e01d0=>{if(_0x9e01d0[_0x297d('0x8d')]&&_0x9e01d0[_0x297d('0x8d')][_0x297d('0x6a')](_0x297d('0x3f')))return _0x9e01d0['previous']?{}:{'type':_0x297d('0x2'),'content':_0x43fd15(_0x20fdd2[_0x297d('0x5a')],_0x297d('0x10'))};});const _0x33067b=()=>!0x1;for(const _0x2f5c0c of['tablePaste','tablePasteColumn',_0x297d('0x5e'),_0x297d('0x82')])_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x297d('0x2'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b),_0x4984c0[_0x297d('0x12')]['registerCustomCallback'](_0x297d('0x1e'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b),_0x4984c0[_0x297d('0x12')]['registerCustomCallback'](_0x297d('0x3'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b);_0x4984c0['_suggestionFactory'][_0x297d('0x77')]('formatBlock',_0x297d('0x82'),_0x297d('0x3b'),_0x33067b),_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x297d('0x3'),_0x297d('0x82'),_0x297d('0x41'),(_0x324840,_0x2eacf7,_0x8661f7)=>{const _0x3bc2de=_0x324840[_0x297d('0x75')](_0x4df520=>_0x4df520['getContainedElement']())[_0x297d('0x1d')](_0x1b1158=>_0x1b1158),_0x254203=new Map(_0x3bc2de[_0x297d('0x75')](_0x433619=>[_0x433619,null]));if(_0x21ad02)for(const {element:_0xe40d00,attributes:_0x68a39b}of _0x21ad02[_0x297d('0x9d')])_0x68a39b&&_0x254203['set'](_0xe40d00,_0x68a39b);else{if(_0x8661f7&&_0x8661f7[_0x297d('0x59')])for(const [_0x53f0fe,_0x471e1d]of Object['entries'](_0x8661f7[_0x297d('0x59')])){const _0x3d11ff=_0x20fdd2[_0x297d('0x85')][_0x297d('0x73')][_0x297d('0x15')](_0x53f0fe),_0x5df7af=_0x3d11ff?_0x3d11ff[_0x297d('0x98')]()[_0x297d('0x2e')]():null;_0x5df7af&&_0x254203[_0x297d('0x50')](_0x5df7af,_0x471e1d);}}_0x20fdd2['model'][_0x297d('0xb')](_0x382829=>{for(const [_0xda4c61,_0x33b7d8]of _0x254203)_0x382829[_0x297d('0x96')]({...be,..._0x33b7d8},_0xda4c61);});});const _0x1c20a3=(_0x23fd2e,_0x2472eb)=>{_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x23fd2e,'tablePaste',_0x2472eb,(_0x53baa3,_0x593e95,_0x3325b9)=>{_0x20fdd2[_0x297d('0x85')][_0x297d('0xb')](_0x5c9311=>{const _0x2247da=[];for(const _0x2782c0 of _0x53baa3){const _0x2ca88f=_0x2782c0['start'][_0x297d('0x8b')];_0x2ca88f['is'](_0x297d('0x49'),_0x297d('0x4a'))&&_0x2247da[_0x297d('0x99')](_0x2ca88f);}_0x4984c0[_0x297d('0x12')][_0x297d('0x66')](_0x23fd2e,null,_0x2472eb)(_0x53baa3,_0x593e95,_0x3325b9);for(const _0x4e7c97 of _0x2247da)'$graveyard'!=_0x4e7c97['root']['rootName']&&_0x5c9311['unwrap'](_0x4e7c97);});});};_0x1c20a3(_0x297d('0x2'),_0x297d('0x41')),_0x1c20a3(_0x297d('0x2'),_0x297d('0x3b')),_0x1c20a3(_0x297d('0x1e'),'accept'),_0x1c20a3(_0x297d('0x1e'),_0x297d('0x3b')),_0x4984c0['_suggestionFactory'][_0x297d('0x77')](_0x297d('0x2'),_0x297d('0x5e'),_0x297d('0x3b'),_0x2b6ae7=>{const _0x1c2d6c=_0x2b6ae7['map'](_0x3a285c=>_0x3a285c[_0x297d('0x2e')]()),_0x2df79a=_0x1c2d6c[0x0][_0x297d('0x51')](_0x297d('0x6f')),{minRow:_0x173a15,maxRow:_0x482a65}=_0x35413d[_0x297d('0x30')](_0x1c2d6c);_0x36c6e5[_0x297d('0x2d')](_0x2df79a,{'at':_0x173a15,'rows':_0x482a65-_0x173a15+0x1});}),_0x4984c0[_0x297d('0x12')][_0x297d('0x77')]('insertion',_0x297d('0x64'),_0x297d('0x3b'),_0x1ca089=>{const _0x5de882=_0x1ca089[_0x297d('0x75')](_0x54d541=>_0x54d541['getContainedElement']()),_0x56cc0f=_0x5de882[0x0][_0x297d('0x51')](_0x297d('0x6f')),{minColumn:_0x5006c0,maxColumn:_0x2d21a7}=_0x35413d['_getCoordsForCells'](_0x5de882);_0x36c6e5[_0x297d('0x5')](_0x56cc0f,{'at':_0x5006c0,'columns':_0x2d21a7-_0x5006c0+0x1});});const _0x42e7e9=(_0x4f67df,_0x430179)=>{if(!_0x430179[_0x297d('0x8d')]||!_0x430179[_0x297d('0x8d')][_0x297d('0x6a')](_0x297d('0x3f')))return;const _0x2e172a=_0x430179[_0x297d('0x94')][_0x297d('0x6e')],_0x4f326a=_0x4984c0[_0x297d('0x54')]()[_0x297d('0x1d')](_0x37efc7=>_0x37efc7[_0x297d('0x6b')]&&_0x37efc7[_0x297d('0x94')]&&_0x37efc7[_0x297d('0x94')][_0x297d('0x6e')]==_0x2e172a);_0x4f326a[_0x297d('0x3a')]&&_0x430179['getAllAdjacentSuggestions']()[_0x297d('0x3a')]!=_0x4f326a[_0x297d('0x3a')]&&_0x4f326a[_0x297d('0x8f')]((_0x54efa3,_0x37cbdb)=>(_0x54efa3[_0x297d('0x4d')]=_0x37cbdb,_0x37cbdb[_0x297d('0x92')]=_0x54efa3,_0x37cbdb));};function _0x32bb70(_0x32c371,_0x5539b4=!0x0){const {id:_0xcce05a}=_0x4984c0[_0x297d('0x4c')](_0x32c371[_0x297d('0x57')]),_0x4b0348=[_0x297d('0x46'),_0x297d('0x42')],_0x3de576=_0x4984c0[_0x297d('0x78')][_0x297d('0x25')](_0x32c371[_0x297d('0x57')]);return _0x3de576&&_0x4b0348[_0x297d('0x99')](_0x297d('0x16')),{'classes':_0x4b0348,'attributes':{'data-suggestion':_0xcce05a},'priority':_0x3de576&&_0x5539b4?0xbc2:0xbb8};}_0x4984c0['on'](_0x297d('0x8'),_0x42e7e9,{'priority':_0x297d('0x52')}),_0x4984c0['on'](_0x297d('0x67'),_0x42e7e9,{'priority':_0x297d('0x52')}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](()=>{let _0xb05e73=!0x1;const _0x4f13fc=Array[_0x297d('0x91')](_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')]['getChangedMarkers']());for(const {name:_0x57285f,data:_0x2cfdfa}of _0x4f13fc){const {group:_0x30f20a,type:_0x3130ac,id:_0x59a040}=_0x4984c0[_0x297d('0x4c')](_0x57285f);if(_0x297d('0x22')!=_0x30f20a||_0x297d('0x1e')!=_0x3130ac||_0x2cfdfa[_0x297d('0x6')])continue;if(!_0x4984c0[_0x297d('0x95')](_0x59a040))continue;const _0x56f936=_0x4984c0['getSuggestion'](_0x59a040)[_0x297d('0x2b')](),_0x197b4c=_0x20fdd2['plugins'][_0x297d('0x15')](_0x297d('0x4b'))['me'];for(const _0x5876f8 of _0x4984c0[_0x297d('0x54')]()){if(!_0x5876f8[_0x297d('0x6b')]||_0x5876f8[_0x297d('0x93')]!=_0x197b4c)continue;if('formatBlock'!=_0x5876f8['type']||'tablePasteCell'!=_0x5876f8['subType'])continue;if(_0x5876f8[_0x297d('0x2b')]()['every'](_0x19fa98=>_0x56f936[_0x297d('0x47')](_0x4e6696=>_0x4e6696[_0x297d('0x61')](_0x19fa98,!0x0))))for(const _0x5c6648 of _0x5876f8['getAllAdjacentSuggestions']())_0x5c6648[_0x297d('0x6b')]&&(_0x5c6648[_0x297d('0x3b')](),_0xb05e73=!0x0);}}return _0xb05e73;}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](_0x4f1b5e=>{const _0x4fa65=_0x20fdd2[_0x297d('0x60')][_0x297d('0x15')](_0x297d('0x45'));if(!_0x4fa65||!_0x4fa65[_0x297d('0x9e')][_0x297d('0x6d')](_0x4f1b5e['batch']))return!0x1;let _0x612929=!0x1;const _0x147fcf=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('Users')['me'],_0x2f1eac=_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')][_0x297d('0x43')](),_0x3bab6f=Array['from'](_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')][_0x297d('0x81')]())['filter'](({name:_0x136f66,data:_0x324105})=>{const {group:_0x11fbef,subType:_0x2633d4,authorId:_0x322217}=_0x4984c0['_splitMarkerName'](_0x136f66);return _0x297d('0x22')==_0x11fbef&&_0x297d('0x3f')==_0x2633d4&&_0x322217==_0x147fcf['id']&&!_0x324105['oldRange'];});for(const _0xdc6597 of _0x2f1eac){if(_0x297d('0xa')!=_0xdc6597['type']||_0x297d('0x4a')!=_0xdc6597[_0x297d('0x19')]||0x1!=_0xdc6597[_0x297d('0x3a')])continue;const _0x37eb92=_0x4f1b5e[_0x297d('0x7b')](_0xdc6597['position'],_0xdc6597[_0x297d('0x13')]['getShiftedBy'](0x1));if(!_0x3bab6f[_0x297d('0x9b')](({data:_0x2d5829})=>_0x2d5829[_0x297d('0x31')][_0x297d('0x9a')](_0x37eb92)))for(const {name:_0xfb1638,data:_0x3ec005}of _0x3bab6f)if(_0x37eb92['containsRange'](_0x3ec005[_0x297d('0x31')])){_0x4f1b5e[_0x297d('0x5d')](_0xfb1638,{'range':_0x37eb92}),_0x612929=!0x0;break;}}return _0x612929;}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](_0x5271ce=>{let _0x124e5e=!0x1;const _0x59fe81=_0x20fdd2['plugins']['get'](_0x297d('0x4b'))['me'],_0x4a6308=_0x4984c0[_0x297d('0x54')]()[_0x297d('0x1d')](_0x31a51b=>_0x31a51b[_0x297d('0x6b')]&&_0x31a51b[_0x297d('0x93')]==_0x59fe81),_0x4638cb=new Set(),_0x376e3b=new Set();for(const _0x53cc0f of _0x4a6308)if(_0x297d('0x3f')==_0x53cc0f['subType'])for(const _0x132f78 of _0x53cc0f[_0x297d('0x90')]()){const _0x301e7b=_0x132f78[_0x297d('0x98')]()[_0x297d('0x2e')]();if(_0x301e7b){if(_0x301e7b['is'](_0x297d('0x49'),_0x297d('0x4a'))&&ge(_0x301e7b)){_0x53cc0f[_0x297d('0x83')](_0x132f78[_0x297d('0x19')]),_0x4638cb['add'](_0x301e7b),_0x124e5e=!0x0;const _0x2070fc=_0x301e7b[_0x297d('0x7d')],_0x1ac05f=_0x301e7b[_0x297d('0x87')],_0x556019=_0x2070fc&&_0x2070fc['is']('element','tableCellSuggestion'),_0x181af4=_0x1ac05f&&_0x1ac05f['is'](_0x297d('0x49'),_0x297d('0x4a'));_0x556019&&!_0x4638cb[_0x297d('0x6d')](_0x2070fc)&&_0x376e3b[_0x297d('0x35')](_0x2070fc),_0x181af4&&!_0x4638cb[_0x297d('0x6d')](_0x1ac05f)&&_0x376e3b[_0x297d('0x35')](_0x1ac05f);}else _0x301e7b['is'](_0x297d('0x49'),'paragraph')&&_0x301e7b[_0x297d('0x58')]&&(_0x53cc0f[_0x297d('0x83')](_0x132f78[_0x297d('0x19')]),_0x124e5e=!0x0);}}else{if('tablePasteCell'==_0x53cc0f[_0x297d('0x8d')]){if(!_0x53cc0f['attributes']||!_0x53cc0f[_0x297d('0x94')][_0x297d('0x6e')])continue;const _0xcbb923=_0x53cc0f[_0x297d('0x94')][_0x297d('0x59')];if(_0xcbb923&&Object['keys'](_0xcbb923)[_0x297d('0x3a')])continue;const _0x1e16c6=_0x53cc0f['attributes']['tablePasteChainId'];let _0xdcf4b0=!0x0,_0x5f2d0f=!0x0;for(const _0x4093f0 of _0x4a6308)if(_0x4093f0[_0x297d('0x8d')]&&_0x4093f0['subType'][_0x297d('0x6a')](_0x297d('0x3f'))){if(!_0x4093f0['attributes'][_0x297d('0x6e')]){_0x5f2d0f=!0x1;break;}if(_0x4093f0['id']!=_0x53cc0f['id']&&_0x4093f0[_0x297d('0x94')][_0x297d('0x6e')]==_0x1e16c6){_0xdcf4b0=!0x1;break;}}_0x5f2d0f&&_0xdcf4b0&&(_0x53cc0f[_0x297d('0x71')](),_0x124e5e=!0x0);}}for(const _0x132cd0 of _0x4638cb)_0x5271ce[_0x297d('0x9')](_0x132cd0);for(const _0x2152d0 of _0x376e3b)_0x5271ce[_0x297d('0x8a')](_0x2152d0);return _0x124e5e;}),_0x20fdd2[_0x297d('0x1')][_0x297d('0xc')]('editingDowncast')[_0x297d('0xe')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x34fbde,_0x89d486)=>_0x32bb70(_0x34fbde),'converterPriority':_0x297d('0x52')}),_0x20fdd2[_0x297d('0x1')][_0x297d('0xc')](_0x297d('0x1b'))[_0x297d('0xe')]({'model':_0x297d('0x40'),'view':(_0x1c9cce,_0x4616ed)=>_0x4616ed[_0x297d('0x8c')][_0x297d('0x29')]?_0x32bb70(_0x1c9cce,!0x1):null,'converterPriority':_0x297d('0x52')});const _0x129a54=_0x20fdd2[_0x297d('0x21')]['view'];this[_0x297d('0x88')](_0x129a54['document'],'clipboardOutput',(_0x16d9c2,_0x4ed73d)=>{const _0x262f06=[];for(const _0x221112 of _0x129a54[_0x297d('0x7e')](_0x4ed73d[_0x297d('0x70')])[_0x297d('0xa0')]())_0x221112['is'](_0x297d('0x49'),_0x297d('0x4'))&&_0x262f06[_0x297d('0x99')](_0x221112);_0x129a54[_0x297d('0xb')](_0x39362e=>{for(const _0x2e73f0 of _0x262f06)_0x39362e[_0x297d('0x20')](_0x39362e[_0x297d('0x7e')](_0x2e73f0),_0x39362e[_0x297d('0x44')](_0x2e73f0)),_0x39362e[_0x297d('0x9')](_0x2e73f0);});});}}function ge(_0xb6acf4){if(_0xb6acf4[_0x297d('0x58')])return!0x0;const _0x50db40=_0xb6acf4[_0x297d('0x36')](0x0);return _0x50db40['is']('element',_0x297d('0x39'))&&_0x50db40[_0x297d('0x58')];}function de(_0x22ca43,_0x4a420b={},_0x1023f8){for(const {isAnchor:_0x3c60e9,cellHeight:_0x37d6f0,cellWidth:_0x2eac85}of _0x1023f8[_0x297d('0x79')](_0x22ca43,{'includeAllSlots':!0x0,..._0x4a420b}))if(!_0x3c60e9||0x1!=_0x37d6f0||0x1!=_0x2eac85)return!0x1;return!0x0;}
23
+ const _0x5068=['reduce','redo','add','suggestion:formatBlock:tablePasteCell','createPositionBefore','formatBlock','plugins','documentSelection','rowInsertionRanges','editor','tableCellPadding','document','type','markerToHighlight','afterInit','*Replace\x20table\x20cells*','getSelectionAffectedTableCells','createRangeIn','get','filter','change','removeColumns','getRange','hasSuggestion','length','tablePasteCell','suggestion-td','discard','column','keys','every','columnInsertionIndexes','includes','remove','tableCellBackgroundColor','getItems','getAttributes','high','_createdBatches','insertion','ck-suggestion-marker--active','locale','createRange','map','some','root','markMultiRangeBlockFormat','trackChanges','has','low','table','markerName','getContainedElement','Users','editing','tableCellBorderWidth','clipboardOutput','findAncestor','startsWith','deletion','row','entries','getChild','set','first','createTableWalker','suggestionLoaded','accept','tablePasteColumn','tableCell','name','batch','ck-suggestion-marker','model','setAttribute','insertColumns','showSuggestionHighlights','differ','commands','wrap','isInContent','tablePaste','getRanges','getSuggestions','_suggestionFactory','tableCellBorderStyle','for','columns','_splitMarkerName','deletionRanges','ck-suggestion-marker-insertion','elementToElement','getTableIfOnlyTableInContent','activeMarkers','getChangedMarkers','markMultiRangeDeletion','registerCustomCallback','_replaceTableSlotCell','suggestion','element','from','tableCellSuggestion','unwrap','editingDowncast','getColumns','updateMarker','insert','insertContent','next','markers','forceDefaultExecution','TableClipboard','removeMarker','subType','$graveyard','getChildren','tableCellHorizontalAlignment','columnInsertionRanges','createElement','suggestionUnloaded','isEqual','previousSibling','_isForcedDefaultExecutionBlock','getSuggestionCallback','stop','dataDowncast','selection','tableCellVerticalAlignment','move','rootName','listenTo','containsRange','isEmpty','start','removeRows','oldRange','getAllAdjacentSuggestions','getRows','_getCoordsForCells','markerAttributes','_descriptionFactory','newRange','tablePasteChainId','createRangeOn','attributes','author','registerDescriptionCallback','last','cells','rowInsertionIndexes','paragraph','fromEntries','getRowIndexes','rows','end','markMultiRangeInsertion','push','getMarkers','conversion','join','registerPostFixer','position','schema','getSuggestion','previous','insertRows','tablePasteRow'];(function(_0x40f0ec,_0x506858){const _0x462ffc=function(_0x596bb1){while(--_0x596bb1){_0x40f0ec['push'](_0x40f0ec['shift']());}};_0x462ffc(++_0x506858);}(_0x5068,0x175));const _0x462f=function(_0x40f0ec,_0x506858){_0x40f0ec=_0x40f0ec-0x0;let _0x462ffc=_0x5068[_0x40f0ec];return _0x462ffc;};import{getTranslation as _0xf13c80}from'../utils/common-translations.js';import{Plugin as _0x1f7411}from'ckeditor5/src/core.js';import{uid as _0x45a4ba,priorities as _0x51b782}from'ckeditor5/src/utils.js';import _0x22e901 from'./table.js';const fe=[_0x462f('0x10'),'tableCellBorderColor',_0x462f('0x2e'),_0x462f('0x4d'),_0x462f('0x58'),_0x462f('0xa2'),_0x462f('0x8a')],be=Object[_0x462f('0x70')](fe[_0x462f('0x4')](_0x538d38=>[_0x538d38,null]));export default class At extends _0x1f7411{static get['requires'](){return[_0x22e901];}[_0x462f('0x8e')](){const _0x2ececd=this[_0x462f('0x89')];if(!_0x2ececd[_0x462f('0x86')]['has'](_0x462f('0x48')))return;const _0x2bae16=_0x2ececd['plugins'][_0x462f('0x92')]('TrackChangesEditing'),_0x24ee0b=_0x2ececd[_0x462f('0x86')][_0x462f('0x92')]('TableUtils'),_0x377472=_0x2ececd['plugins'][_0x462f('0x92')](_0x22e901),_0x24c3f2=_0x2ececd['plugins'][_0x462f('0x92')](_0x462f('0x48'));_0x377472['_tablePostFixingSubtypes']['push'](_0x462f('0x7f'),'tablePasteColumn'),_0x2ececd[_0x462f('0x22')][_0x462f('0x7b')]['register'](_0x462f('0x3e'),{'allowIn':_0x462f('0x1e'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x2ececd[_0x462f('0x77')][_0x462f('0x34')]({'model':_0x462f('0x3e'),'view':'suggestion-td'});let _0x479d2a=null;_0x2ececd['model']['on'](_0x462f('0x44'),(_0x590b7b,_0x3f915a)=>{const [_0x19215f,_0x428e91]=_0x3f915a,_0x4aa200=_0x3f915a[_0x3f915a[_0x462f('0x98')]-0x1];_0x4aa200&&_0x4aa200[_0x462f('0x47')]||_0x2bae16[_0x462f('0x53')]||this[_0x462f('0x89')][_0x462f('0x27')][_0x462f('0x92')](_0x462f('0x8'))['value']&&function(_0x3fdf33,_0x39f467,_0x2dc434,_0x5f4d5a,_0x3df040){if(_0x39f467&&!_0x39f467['is'](_0x462f('0x87')))return!0x1;const _0x4fadf2=_0x3df040[_0x462f('0x35')](_0x3fdf33,_0x2dc434);if(!_0x4fadf2||!de(_0x4fadf2,void 0x0,_0x5f4d5a))return!0x1;const _0x1f7846=_0x5f4d5a[_0x462f('0x90')](_0x2dc434[_0x462f('0x8b')][_0x462f('0x57')]);if(!_0x1f7846['length'])return!0x1;const _0x2e211c=_0x1f7846[0x0]['findAncestor']('table'),_0x10852d=_0x5f4d5a[_0x462f('0x71')](_0x1f7846),_0x3237b8=_0x5f4d5a['getColumnIndexes'](_0x1f7846),_0x33ddce={'startRow':_0x10852d[_0x462f('0x19')],'endRow':_0x10852d[_0x462f('0x6c')],'startColumn':_0x3237b8[_0x462f('0x19')],'endColumn':_0x3237b8['last']};return 0x1==_0x1f7846[_0x462f('0x98')]&&(_0x33ddce['endRow']+=_0x5f4d5a[_0x462f('0x62')](_0x4fadf2)-0x1,_0x33ddce['endColumn']+=_0x5f4d5a[_0x462f('0x41')](_0x4fadf2)-0x1),de(_0x2e211c,_0x33ddce,_0x5f4d5a);}(_0x19215f,_0x428e91,_0x2ececd['model'],_0x24ee0b,_0x24c3f2)&&(_0x590b7b['stop'](),_0x479d2a={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2ececd[_0x462f('0x22')][_0x462f('0x94')](()=>{_0x2ececd['model'][_0x462f('0x44')](_0x3f915a[0x0],_0x3f915a[0x1],_0x3f915a[0x2],{'forceDefaultExecution':!0x0});const _0x4c7f85=_0x45a4ba(),{rowInsertionRanges:_0x37dddd,columnInsertionRanges:_0x401916,insertionRanges:_0x2701fa,deletionRanges:_0x4432a6,cells:_0x4ceb5c}=_0x479d2a;_0x37dddd['length']&&_0x2bae16['markMultiRangeInsertion'](_0x37dddd,_0x462f('0x7f'),{'tablePasteChainId':_0x4c7f85}),_0x401916[_0x462f('0x98')]&&_0x2bae16[_0x462f('0x74')](_0x401916,_0x462f('0x1d'),{'tablePasteChainId':_0x4c7f85}),_0x2701fa[_0x462f('0x98')]&&_0x2bae16[_0x462f('0x74')](_0x2701fa,_0x462f('0x2a'),{'tablePasteChainId':_0x4c7f85,'skipNestingCheck':!0x0}),_0x4432a6[_0x462f('0x98')]&&_0x2bae16[_0x462f('0x38')](_0x4432a6,_0x462f('0x2a'),{'tablePasteChainId':_0x4c7f85,'skipNestingCheck':!0x0});const _0x120bea=_0x2bae16[_0x462f('0x7')](_0x4ceb5c[_0x462f('0x4')](({element:_0x3e1869})=>_0x3e1869),{'formatGroupId':_0x45a4ba()},[],_0x462f('0x99'),{'tablePasteChainId':_0x4c7f85});if(_0x120bea){const _0x265a30=_0x120bea['getMarkers'](),_0x2be7aa=[];for(const {element:_0x16a7a6,attributes:_0x3c8927}of _0x4ceb5c){if(!_0x3c8927)continue;const _0x3962e4=_0x2ececd[_0x462f('0x22')][_0x462f('0x68')](_0x16a7a6),_0x460208=_0x265a30['find'](_0x5da88b=>_0x5da88b[_0x462f('0x96')]()[_0x462f('0x51')](_0x3962e4));_0x460208&&_0x2be7aa[_0x462f('0x75')]([_0x460208['name'],_0x3c8927]);}_0x2be7aa['length']&&_0x120bea[_0x462f('0x23')](_0x462f('0x64'),Object[_0x462f('0x70')](_0x2be7aa));}_0x479d2a=null;}));},{'priority':_0x51b782['high']+0xa}),_0x2ececd[_0x462f('0x86')][_0x462f('0x92')](_0x462f('0x48'))['on'](_0x462f('0x3a'),(_0x1927c6,_0x3b65b4)=>{const [_0x10cfd6,_0x426223,,_0x2fea1d]=_0x3b65b4;if(!_0x479d2a)return;_0x1927c6[_0x462f('0x55')]();const _0x369ad2=_0x10cfd6['cell'],_0x56ad98=_0x426223,_0x21b775=ge(_0x369ad2),_0x5900b5=ge(_0x56ad98);_0x1927c6['return']=_0x369ad2;let _0x2901d0=null,_0x52613c=null;if(_0x5900b5||_0x21b775){if(_0x21b775&&!_0x5900b5){_0x2fea1d[_0x462f('0xa1')](_0x369ad2[_0x462f('0x17')](0x0));for(const _0x413f02 of Array['from'](_0x56ad98[_0x462f('0x4c')]()))_0x2fea1d[_0x462f('0x43')](_0x413f02,_0x369ad2,'end');const _0x1926e3=_0x479d2a[_0x462f('0x6e')][_0x462f('0xa0')](_0x10cfd6[_0x462f('0x15')]),_0xb0b6a0=_0x479d2a[_0x462f('0x9f')][_0x462f('0xa0')](_0x10cfd6[_0x462f('0x9c')]);_0x1926e3||_0xb0b6a0||(_0x2901d0=_0x2fea1d['createRangeIn'](_0x369ad2));}else _0x5900b5&&!_0x21b775&&(_0x52613c=_0x2fea1d[_0x462f('0x91')](_0x369ad2));}else{const _0x4e0a6e=_0x2fea1d['createElement']('tableCellSuggestion'),_0x5b46ba=_0x2fea1d[_0x462f('0x4f')](_0x462f('0x3e'));_0x2fea1d[_0x462f('0x28')](_0x2fea1d[_0x462f('0x91')](_0x369ad2),_0x5b46ba),_0x2fea1d[_0x462f('0x43')](_0x4e0a6e,_0x369ad2,0x0);for(const _0x93bf56 of Array[_0x462f('0x3d')](_0x56ad98[_0x462f('0x4c')]()))_0x2fea1d[_0x462f('0x43')](_0x93bf56,_0x4e0a6e,_0x462f('0x73'));_0x2901d0=_0x2fea1d[_0x462f('0x68')](_0x4e0a6e),_0x52613c=_0x2fea1d[_0x462f('0x68')](_0x5b46ba);}const _0x52592f=Array[_0x462f('0x3d')](_0x56ad98[_0x462f('0xa4')]())['filter'](([_0x7dc831])=>fe[_0x462f('0xa0')](_0x7dc831));_0x479d2a['cells']['push']({'element':_0x369ad2,'attributes':_0x52592f['length']?Object[_0x462f('0x70')](_0x52592f):null}),_0x2901d0&&_0x479d2a['insertionRanges'][_0x462f('0x75')](_0x2901d0),_0x52613c&&_0x479d2a[_0x462f('0x32')]['push'](_0x52613c);},{'priority':_0x462f('0xa5')}),_0x24ee0b['on'](_0x462f('0x24'),(_0x2f200f,_0x19ea3a)=>{const [_0x3bd08a,_0x4baaba={}]=_0x19ea3a;if(!_0x479d2a)return;const _0x53145a=_0x4baaba['at']||0x0,_0x46e03f=_0x4baaba[_0x462f('0x30')]||0x1;_0x479d2a[_0x462f('0x9f')]=new Array(_0x46e03f)['fill'](_0x53145a)['map']((_0x8a00a3,_0x154832)=>_0x8a00a3+_0x154832);for(const {cell:_0xef6c4a}of _0x24ee0b[_0x462f('0x1a')](_0x3bd08a,{'startColumn':_0x53145a,'endColumn':_0x53145a+_0x46e03f-0x1}))_0x479d2a[_0x462f('0x4e')][_0x462f('0x75')](_0x2ececd[_0x462f('0x22')][_0x462f('0x68')](_0xef6c4a));},{'priority':'low'}),_0x24ee0b['on'](_0x462f('0x7e'),(_0x83971b,_0x523082)=>{const [_0x5adf30,_0x44e0b0={}]=_0x523082;if(!_0x479d2a)return;const _0x5e7764=_0x44e0b0['at']||0x0,_0x2ff767=_0x44e0b0[_0x462f('0x72')]||0x1;_0x479d2a[_0x462f('0x6e')]=new Array(_0x2ff767)['fill'](_0x5e7764)[_0x462f('0x4')]((_0x36d746,_0x5295ec)=>_0x36d746+_0x5295ec);for(const {cell:_0x24dc7f}of _0x24ee0b[_0x462f('0x1a')](_0x5adf30,{'startRow':_0x5e7764,'endRow':_0x5e7764+_0x2ff767-0x1}))_0x479d2a[_0x462f('0x88')][_0x462f('0x75')](_0x2ececd[_0x462f('0x22')][_0x462f('0x68')](_0x24dc7f));},{'priority':_0x462f('0xa')}),_0x2bae16[_0x462f('0x65')][_0x462f('0x6b')](_0x22eaf9=>{if(_0x22eaf9[_0x462f('0x4a')]&&_0x22eaf9[_0x462f('0x4a')]['startsWith'](_0x462f('0x2a')))return _0x22eaf9[_0x462f('0x7d')]?{}:{'type':'insertion','content':_0xf13c80(_0x2ececd[_0x462f('0x2')],_0x462f('0x8f'))};});const _0x4e9e6b=()=>!0x1;for(const _0x56e49e of[_0x462f('0x2a'),_0x462f('0x1d'),'tablePasteRow',_0x462f('0x99')])_0x2bae16[_0x462f('0x2d')][_0x462f('0x39')](_0x462f('0x0'),_0x56e49e,'join',_0x4e9e6b),_0x2bae16['_suggestionFactory'][_0x462f('0x39')](_0x462f('0x14'),_0x56e49e,'join',_0x4e9e6b),_0x2bae16[_0x462f('0x2d')][_0x462f('0x39')](_0x462f('0x85'),_0x56e49e,_0x462f('0x78'),_0x4e9e6b);_0x2bae16[_0x462f('0x2d')]['registerCustomCallback'](_0x462f('0x85'),'tablePasteCell',_0x462f('0x9b'),_0x4e9e6b),_0x2bae16[_0x462f('0x2d')][_0x462f('0x39')](_0x462f('0x85'),_0x462f('0x99'),_0x462f('0x1c'),(_0xb7edab,_0x19efe7,_0x4a7ab2)=>{const _0x174e7d=_0xb7edab[_0x462f('0x4')](_0x2d3975=>_0x2d3975[_0x462f('0xd')]())['filter'](_0x288845=>_0x288845),_0x26a7e2=new Map(_0x174e7d[_0x462f('0x4')](_0x52bea8=>[_0x52bea8,null]));if(_0x479d2a)for(const {element:_0x46a81d,attributes:_0x2ac1c6}of _0x479d2a[_0x462f('0x6d')])_0x2ac1c6&&_0x26a7e2[_0x462f('0x18')](_0x46a81d,_0x2ac1c6);else{if(_0x4a7ab2&&_0x4a7ab2[_0x462f('0x64')])for(const [_0x549f6a,_0x209972]of Object[_0x462f('0x16')](_0x4a7ab2[_0x462f('0x64')])){const _0x19b3ee=_0x2ececd[_0x462f('0x22')][_0x462f('0x46')][_0x462f('0x92')](_0x549f6a),_0x7e7b62=_0x19b3ee?_0x19b3ee[_0x462f('0x96')]()[_0x462f('0xd')]():null;_0x7e7b62&&_0x26a7e2['set'](_0x7e7b62,_0x209972);}}_0x2ececd[_0x462f('0x22')][_0x462f('0x94')](_0x2a7785=>{for(const [_0x596516,_0x1fde0e]of _0x26a7e2)_0x2a7785['setAttributes']({...be,..._0x1fde0e},_0x596516);});});const _0x27f9b2=(_0x7e103f,_0x64c1a6)=>{_0x2bae16[_0x462f('0x2d')][_0x462f('0x39')](_0x7e103f,_0x462f('0x2a'),_0x64c1a6,(_0x1554b9,_0x1ab314,_0x27fb76)=>{_0x2ececd[_0x462f('0x22')][_0x462f('0x94')](_0x2430dc=>{const _0x5de3eb=[];for(const _0x586b50 of _0x1554b9){const _0x321e21=_0x586b50[_0x462f('0x5e')]['nodeAfter'];_0x321e21['is'](_0x462f('0x3c'),_0x462f('0x3e'))&&_0x5de3eb[_0x462f('0x75')](_0x321e21);}_0x2bae16[_0x462f('0x2d')][_0x462f('0x54')](_0x7e103f,null,_0x64c1a6)(_0x1554b9,_0x1ab314,_0x27fb76);for(const _0x39c852 of _0x5de3eb)_0x462f('0x4b')!=_0x39c852[_0x462f('0x6')][_0x462f('0x5a')]&&_0x2430dc['unwrap'](_0x39c852);});});};_0x27f9b2(_0x462f('0x0'),_0x462f('0x1c')),_0x27f9b2(_0x462f('0x0'),'discard'),_0x27f9b2(_0x462f('0x14'),_0x462f('0x1c')),_0x27f9b2('deletion','discard'),_0x2bae16[_0x462f('0x2d')]['registerCustomCallback'](_0x462f('0x0'),_0x462f('0x7f'),_0x462f('0x9b'),_0x1812f9=>{const _0x3f4916=_0x1812f9[_0x462f('0x4')](_0x308522=>_0x308522[_0x462f('0xd')]()),_0x5498b6=_0x3f4916[0x0][_0x462f('0x12')](_0x462f('0xb')),{minRow:_0x1a34f7,maxRow:_0x340a11}=_0x377472[_0x462f('0x63')](_0x3f4916);_0x24ee0b[_0x462f('0x5f')](_0x5498b6,{'at':_0x1a34f7,'rows':_0x340a11-_0x1a34f7+0x1});}),_0x2bae16[_0x462f('0x2d')]['registerCustomCallback'](_0x462f('0x0'),_0x462f('0x1d'),_0x462f('0x9b'),_0x4e1278=>{const _0x495e82=_0x4e1278['map'](_0x889cea=>_0x889cea[_0x462f('0xd')]()),_0x25d08f=_0x495e82[0x0][_0x462f('0x12')](_0x462f('0xb')),{minColumn:_0x1d5a59,maxColumn:_0x10a1e1}=_0x377472['_getCoordsForCells'](_0x495e82);_0x24ee0b[_0x462f('0x95')](_0x25d08f,{'at':_0x1d5a59,'columns':_0x10a1e1-_0x1d5a59+0x1});});const _0xbab9d3=(_0x1ee85d,_0x2f53b7)=>{if(!_0x2f53b7['subType']||!_0x2f53b7[_0x462f('0x4a')][_0x462f('0x13')](_0x462f('0x2a')))return;const _0x4d54b9=_0x2f53b7[_0x462f('0x69')][_0x462f('0x67')],_0x4e9ccb=_0x2bae16[_0x462f('0x2c')]()[_0x462f('0x93')](_0x5e2117=>_0x5e2117[_0x462f('0x29')]&&_0x5e2117[_0x462f('0x69')]&&_0x5e2117['attributes'][_0x462f('0x67')]==_0x4d54b9);_0x4e9ccb[_0x462f('0x98')]&&_0x2f53b7[_0x462f('0x61')]()['length']!=_0x4e9ccb[_0x462f('0x98')]&&_0x4e9ccb[_0x462f('0x80')]((_0x2a5b81,_0xa5d60e)=>(_0x2a5b81[_0x462f('0x45')]=_0xa5d60e,_0xa5d60e[_0x462f('0x7d')]=_0x2a5b81,_0xa5d60e));};function _0xe4d228(_0x265674,_0x3f18a2=!0x0){const {id:_0x51ba5f}=_0x2bae16['_splitMarkerName'](_0x265674[_0x462f('0xc')]),_0x1dcf9c=[_0x462f('0x21'),_0x462f('0x33')],_0x1906e3=_0x2bae16[_0x462f('0x36')][_0x462f('0xa0')](_0x265674[_0x462f('0xc')]);return _0x1906e3&&_0x1dcf9c[_0x462f('0x75')](_0x462f('0x1')),{'classes':_0x1dcf9c,'attributes':{'data-suggestion':_0x51ba5f},'priority':_0x1906e3&&_0x3f18a2?0xbc2:0xbb8};}_0x2bae16['on'](_0x462f('0x1b'),_0xbab9d3,{'priority':'high'}),_0x2bae16['on'](_0x462f('0x50'),_0xbab9d3,{'priority':'high'}),_0x2ececd['model'][_0x462f('0x8b')][_0x462f('0x79')](()=>{let _0x27026c=!0x1;const _0x54e3d0=Array[_0x462f('0x3d')](_0x2ececd[_0x462f('0x22')][_0x462f('0x8b')][_0x462f('0x26')][_0x462f('0x37')]());for(const {name:_0x2c6f11,data:_0x3f5a96}of _0x54e3d0){const {group:_0x5c2c03,type:_0x345e51,id:_0x31f500}=_0x2bae16['_splitMarkerName'](_0x2c6f11);if(_0x462f('0x3b')!=_0x5c2c03||_0x462f('0x14')!=_0x345e51||_0x3f5a96[_0x462f('0x60')])continue;if(!_0x2bae16[_0x462f('0x97')](_0x31f500))continue;const _0x537a39=_0x2bae16[_0x462f('0x7c')](_0x31f500)['getRanges'](),_0xda85bb=_0x2ececd[_0x462f('0x86')]['get'](_0x462f('0xe'))['me'];for(const _0xc94dc8 of _0x2bae16['getSuggestions']()){if(!_0xc94dc8[_0x462f('0x29')]||_0xc94dc8[_0x462f('0x6a')]!=_0xda85bb)continue;if(_0x462f('0x85')!=_0xc94dc8['type']||_0x462f('0x99')!=_0xc94dc8[_0x462f('0x4a')])continue;if(_0xc94dc8[_0x462f('0x2b')]()[_0x462f('0x9e')](_0x49d176=>_0x537a39[_0x462f('0x5')](_0x5af386=>_0x5af386['containsRange'](_0x49d176,!0x0))))for(const _0x7c3b85 of _0xc94dc8[_0x462f('0x61')]())_0x7c3b85[_0x462f('0x29')]&&(_0x7c3b85[_0x462f('0x9b')](),_0x27026c=!0x0);}}return _0x27026c;}),_0x2ececd[_0x462f('0x22')]['document'][_0x462f('0x79')](_0x1b84e4=>{const _0x43e518=_0x2ececd[_0x462f('0x27')][_0x462f('0x92')](_0x462f('0x81'));if(!_0x43e518||!_0x43e518[_0x462f('0xa6')][_0x462f('0x9')](_0x1b84e4[_0x462f('0x20')]))return!0x1;let _0x36f948=!0x1;const _0x2f8781=_0x2ececd[_0x462f('0x86')][_0x462f('0x92')](_0x462f('0xe'))['me'],_0x13efd6=_0x2ececd[_0x462f('0x22')][_0x462f('0x8b')][_0x462f('0x26')]['getChanges'](),_0x4fe3dd=Array[_0x462f('0x3d')](_0x2ececd[_0x462f('0x22')][_0x462f('0x8b')][_0x462f('0x26')][_0x462f('0x37')]())[_0x462f('0x93')](({name:_0x1de2e8,data:_0x36b1f5})=>{const {group:_0x18decb,subType:_0x287711,authorId:_0x3f2741}=_0x2bae16[_0x462f('0x31')](_0x1de2e8);return'suggestion'==_0x18decb&&'tablePaste'==_0x287711&&_0x3f2741==_0x2f8781['id']&&!_0x36b1f5[_0x462f('0x60')];});for(const _0x573fcd of _0x13efd6){if('insert'!=_0x573fcd[_0x462f('0x8c')]||'tableCellSuggestion'!=_0x573fcd[_0x462f('0x1f')]||0x1!=_0x573fcd[_0x462f('0x98')])continue;const _0x498b1c=_0x1b84e4[_0x462f('0x3')](_0x573fcd[_0x462f('0x7a')],_0x573fcd[_0x462f('0x7a')]['getShiftedBy'](0x1));if(!_0x4fe3dd['find'](({data:_0x1b8003})=>_0x1b8003[_0x462f('0x66')][_0x462f('0x51')](_0x498b1c)))for(const {name:_0x34e02b,data:_0x4e22b0}of _0x4fe3dd)if(_0x498b1c[_0x462f('0x5c')](_0x4e22b0['newRange'])){_0x1b84e4[_0x462f('0x42')](_0x34e02b,{'range':_0x498b1c}),_0x36f948=!0x0;break;}}return _0x36f948;}),_0x2ececd[_0x462f('0x22')][_0x462f('0x8b')][_0x462f('0x79')](_0x639be=>{let _0xd1fc81=!0x1;const _0xf50111=_0x2ececd['plugins'][_0x462f('0x92')]('Users')['me'],_0x6e124b=_0x2bae16[_0x462f('0x2c')]()[_0x462f('0x93')](_0x55ff1d=>_0x55ff1d[_0x462f('0x29')]&&_0x55ff1d[_0x462f('0x6a')]==_0xf50111),_0x583995=new Set(),_0x45291c=new Set();for(const _0x209ee3 of _0x6e124b)if(_0x462f('0x2a')==_0x209ee3[_0x462f('0x4a')])for(const _0x432c14 of _0x209ee3[_0x462f('0x76')]()){const _0x42bd0d=_0x432c14[_0x462f('0x96')]()[_0x462f('0xd')]();if(_0x42bd0d){if(_0x42bd0d['is'](_0x462f('0x3c'),_0x462f('0x3e'))&&ge(_0x42bd0d)){_0x209ee3[_0x462f('0x49')](_0x432c14[_0x462f('0x1f')]),_0x583995[_0x462f('0x82')](_0x42bd0d),_0xd1fc81=!0x0;const _0x5a2464=_0x42bd0d['nextSibling'],_0x11f30a=_0x42bd0d[_0x462f('0x52')],_0x39f340=_0x5a2464&&_0x5a2464['is'](_0x462f('0x3c'),_0x462f('0x3e')),_0x5a3f7b=_0x11f30a&&_0x11f30a['is']('element','tableCellSuggestion');_0x39f340&&!_0x583995['has'](_0x5a2464)&&_0x45291c[_0x462f('0x82')](_0x5a2464),_0x5a3f7b&&!_0x583995[_0x462f('0x9')](_0x11f30a)&&_0x45291c[_0x462f('0x82')](_0x11f30a);}else _0x42bd0d['is'](_0x462f('0x3c'),_0x462f('0x6f'))&&_0x42bd0d[_0x462f('0x5d')]&&(_0x209ee3[_0x462f('0x49')](_0x432c14[_0x462f('0x1f')]),_0xd1fc81=!0x0);}}else{if(_0x462f('0x99')==_0x209ee3['subType']){if(!_0x209ee3['attributes']||!_0x209ee3[_0x462f('0x69')][_0x462f('0x67')])continue;const _0x592012=_0x209ee3[_0x462f('0x69')][_0x462f('0x64')];if(_0x592012&&Object[_0x462f('0x9d')](_0x592012)[_0x462f('0x98')])continue;const _0x5dea10=_0x209ee3['attributes']['tablePasteChainId'];let _0x5965e1=!0x0,_0x1b730c=!0x0;for(const _0x1495f0 of _0x6e124b)if(_0x1495f0[_0x462f('0x4a')]&&_0x1495f0[_0x462f('0x4a')][_0x462f('0x13')]('tablePaste')){if(!_0x1495f0[_0x462f('0x69')]['tablePasteChainId']){_0x1b730c=!0x1;break;}if(_0x1495f0['id']!=_0x209ee3['id']&&_0x1495f0[_0x462f('0x69')][_0x462f('0x67')]==_0x5dea10){_0x5965e1=!0x1;break;}}_0x1b730c&&_0x5965e1&&(_0x209ee3['removeMarkers'](),_0xd1fc81=!0x0);}}for(const _0xfd63a9 of _0x583995)_0x639be['remove'](_0xfd63a9);for(const _0x2fdea6 of _0x45291c)_0x639be[_0x462f('0x3f')](_0x2fdea6);return _0xd1fc81;}),_0x2ececd[_0x462f('0x77')]['for'](_0x462f('0x40'))[_0x462f('0x8d')]({'model':_0x462f('0x83'),'view':(_0x5b1ed5,_0x166681)=>_0xe4d228(_0x5b1ed5),'converterPriority':_0x462f('0xa5')}),_0x2ececd[_0x462f('0x77')][_0x462f('0x2f')](_0x462f('0x56'))['markerToHighlight']({'model':_0x462f('0x83'),'view':(_0x1c81fb,_0x58d7a1)=>_0x58d7a1['options'][_0x462f('0x25')]?_0xe4d228(_0x1c81fb,!0x1):null,'converterPriority':_0x462f('0xa5')});const _0x3fd505=_0x2ececd[_0x462f('0xf')]['view'];this[_0x462f('0x5b')](_0x3fd505[_0x462f('0x8b')],_0x462f('0x11'),(_0x6d28d5,_0x18d4ad)=>{const _0x406985=[];for(const _0x1baa6a of _0x3fd505['createRangeIn'](_0x18d4ad['content'])[_0x462f('0xa3')]())_0x1baa6a['is'](_0x462f('0x3c'),_0x462f('0x9a'))&&_0x406985[_0x462f('0x75')](_0x1baa6a);_0x3fd505[_0x462f('0x94')](_0x3a96b1=>{for(const _0x5c7de2 of _0x406985)_0x3a96b1[_0x462f('0x59')](_0x3a96b1[_0x462f('0x91')](_0x5c7de2),_0x3a96b1[_0x462f('0x84')](_0x5c7de2)),_0x3a96b1[_0x462f('0xa1')](_0x5c7de2);});});}}function ge(_0x5a7e0c){if(_0x5a7e0c[_0x462f('0x5d')])return!0x0;const _0x38a2e6=_0x5a7e0c[_0x462f('0x17')](0x0);return _0x38a2e6['is'](_0x462f('0x3c'),_0x462f('0x6f'))&&_0x38a2e6[_0x462f('0x5d')];}function de(_0x19fab9,_0x2751a2={},_0xe047d){for(const {isAnchor:_0x4041f4,cellHeight:_0x57db98,cellWidth:_0x1ee321}of _0xe047d['createTableWalker'](_0x19fab9,{'includeAllSlots':!0x0,..._0x2751a2}))if(!_0x4041f4||0x1!=_0x57db98||0x1!=_0x1ee321)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4659=['getAttribute','accept','handleResizeTableWidthCommand','formatInline','_descriptionFactory','change','selection','TrackChangesEditing','registerCustomCallback','type','has','tableWidth','columnWidths','bind','editor','get','*Format:*\x20resize\x20table','locale','enableCommand','author','document','getSuggestions','resizeTableWidth','formatBlock','TableColumnResizeEditing','discard','_suggestionFactory','Users','plugins','resizeTable','handleSuggestionDescription','model','registerDescriptionCallback','subType','markBlockFormat','table','getSuggestionCallback'];(function(_0x20f6b5,_0x465925){const _0x2f0602=function(_0x56e9bb){while(--_0x56e9bb){_0x20f6b5['push'](_0x20f6b5['shift']());}};_0x2f0602(++_0x465925);}(_0x4659,0xee));const _0x2f06=function(_0x20f6b5,_0x465925){_0x20f6b5=_0x20f6b5-0x0;let _0x2f0602=_0x4659[_0x20f6b5];return _0x2f0602;};import{Plugin as _0x3ca0f1}from'ckeditor5/src/core.js';import{getTranslation as _0x30d5d4}from'../utils/common-translations.js';export default class It extends _0x3ca0f1{['afterInit'](){if(!this['editor']['plugins'][_0x2f06('0x1f')](_0x2f06('0x8')))return;const _0x44b3e9=this['editor'][_0x2f06('0xc')][_0x2f06('0x24')]('TrackChangesEditing');_0x44b3e9[_0x2f06('0x2')](_0x2f06('0x6'),this[_0x2f06('0x17')][_0x2f06('0x22')](this)),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x1d')](_0x2f06('0x7'),_0x2f06('0xd'),_0x2f06('0x16'),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x14')](_0x2f06('0x7'),null,_0x2f06('0x9'))),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x1d')](_0x2f06('0x7'),_0x2f06('0xd'),_0x2f06('0x9'),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x14')](_0x2f06('0x7'),null,'accept')),_0x44b3e9[_0x2f06('0x19')][_0x2f06('0x10')](this['handleSuggestionDescription'][_0x2f06('0x22')](this));}[_0x2f06('0x17')](_0x1e0912,_0x455f24){const _0x2eceb5=this[_0x2f06('0x23')]['plugins'][_0x2f06('0x24')](_0x2f06('0x1c')),_0x42a5ce=this[_0x2f06('0x23')]['plugins']['get'](_0x2f06('0x8')),_0x2eb07d=_0x455f24[_0x2f06('0x13')]||this[_0x2f06('0x23')][_0x2f06('0xf')][_0x2f06('0x4')][_0x2f06('0x1b')]['getSelectedElement']();this['editor'][_0x2f06('0xf')][_0x2f06('0x1a')](()=>{const _0x147bed=_0x42a5ce['getColumnGroupElement'](_0x2eb07d);let _0x6a38d4=_0x147bed?_0x42a5ce['getTableColumnsWidths'](_0x147bed):null,_0x13bb76=_0x2eb07d[_0x2f06('0x15')](_0x2f06('0x20'))||null;const _0x236db1=_0x455f24[_0x2f06('0x20')]||_0x13bb76,_0x28f9c4=_0x455f24[_0x2f06('0x21')]||_0x6a38d4,_0xf1782c=this[_0x2f06('0x23')]['plugins'][_0x2f06('0x24')](_0x2f06('0xb'))['me'];for(const _0x472003 of _0x2eceb5[_0x2f06('0x5')]()){const _0x1425d7=_0x472003['getContainedElement']();if(_0x2f06('0xd')===_0x472003[_0x2f06('0x11')]&&_0x1425d7===_0x2eb07d){_0x472003[_0x2f06('0x3')]!==_0xf1782c&&_0x472003[_0x2f06('0x9')]();const _0x278c45=_0x472003['data']['commandParams'];_0x13bb76=_0x278c45[0x0][_0x2f06('0x20')],_0x6a38d4=_0x278c45[0x0][_0x2f06('0x21')];break;}}_0x1e0912({'table':_0x2eb07d,'tableWidth':_0x236db1,'columnWidths':_0x28f9c4}),_0x2eceb5[_0x2f06('0x12')](_0x2eb07d,{'commandName':_0x2f06('0x6'),'commandParams':[{'tableWidth':_0x13bb76,'columnWidths':_0x6a38d4}],'formatGroupId':_0x2f06('0xd')},[],'resizeTable');});}[_0x2f06('0xe')](_0x4b1a1c){if('formatBlock'!=_0x4b1a1c['type']&&_0x2f06('0x18')!=_0x4b1a1c[_0x2f06('0x1e')])return;const {data:_0x3521d6}=_0x4b1a1c;if(_0x3521d6&&_0x2f06('0xd')===_0x3521d6['formatGroupId']){const _0x3d3ce0=_0x2f06('0x0');return{'type':'format','content':_0x30d5d4(this[_0x2f06('0x23')][_0x2f06('0x1')],_0x3d3ce0)};}}}
23
+ const _0x2403=['handleResizeTableWidthCommand','columnWidths','*Format:*\x20resize\x20table','document','author','tableWidth','locale','_descriptionFactory','data','registerCustomCallback','plugins','TableColumnResizeEditing','resizeTable','model','commandParams','TrackChangesEditing','formatBlock','resizeTableWidth','registerDescriptionCallback','getSuggestions','markBlockFormat','Users','change','table','bind','get','getSelectedElement','selection','afterInit','getAttribute','formatInline','format','type','getContainedElement','getTableColumnsWidths','handleSuggestionDescription','_suggestionFactory','discard','formatGroupId','accept','editor'];(function(_0x1f3160,_0x240325){const _0x2c7a6f=function(_0x7ef4f7){while(--_0x7ef4f7){_0x1f3160['push'](_0x1f3160['shift']());}};_0x2c7a6f(++_0x240325);}(_0x2403,0xe7));const _0x2c7a=function(_0x1f3160,_0x240325){_0x1f3160=_0x1f3160-0x0;let _0x2c7a6f=_0x2403[_0x1f3160];return _0x2c7a6f;};import{Plugin as _0x218755}from'ckeditor5/src/core.js';import{getTranslation as _0x47ba42}from'../utils/common-translations.js';export default class It extends _0x218755{[_0x2c7a('0x2')](){if(!this[_0x2c7a('0xe')][_0x2c7a('0x19')]['has'](_0x2c7a('0x1a')))return;const _0x421619=this[_0x2c7a('0xe')]['plugins'][_0x2c7a('0x28')](_0x2c7a('0x1e'));_0x421619['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x2c7a('0x27')](this)),_0x421619[_0x2c7a('0xa')]['registerCustomCallback'](_0x2c7a('0x1f'),_0x2c7a('0x1b'),'accept',_0x421619[_0x2c7a('0xa')]['getSuggestionCallback'](_0x2c7a('0x1f'),null,_0x2c7a('0xb'))),_0x421619[_0x2c7a('0xa')][_0x2c7a('0x18')](_0x2c7a('0x1f'),'resizeTable','discard',_0x421619['_suggestionFactory']['getSuggestionCallback'](_0x2c7a('0x1f'),null,_0x2c7a('0xd'))),_0x421619[_0x2c7a('0x16')][_0x2c7a('0x21')](this[_0x2c7a('0x9')]['bind'](this));}[_0x2c7a('0xf')](_0x1000ce,_0x5ba341){const _0x347578=this['editor']['plugins'][_0x2c7a('0x28')]('TrackChangesEditing'),_0x4ae465=this[_0x2c7a('0xe')][_0x2c7a('0x19')]['get'](_0x2c7a('0x1a')),_0x558572=_0x5ba341[_0x2c7a('0x26')]||this[_0x2c7a('0xe')][_0x2c7a('0x1c')][_0x2c7a('0x12')][_0x2c7a('0x1')][_0x2c7a('0x0')]();this['editor']['model'][_0x2c7a('0x25')](()=>{const _0x536cb1=_0x4ae465['getColumnGroupElement'](_0x558572);let _0xa491=_0x536cb1?_0x4ae465[_0x2c7a('0x8')](_0x536cb1):null,_0x591385=_0x558572[_0x2c7a('0x3')](_0x2c7a('0x14'))||null;const _0xaf1ced=_0x5ba341[_0x2c7a('0x14')]||_0x591385,_0x56d0a6=_0x5ba341[_0x2c7a('0x10')]||_0xa491,_0x4ee698=this[_0x2c7a('0xe')][_0x2c7a('0x19')][_0x2c7a('0x28')](_0x2c7a('0x24'))['me'];for(const _0x354cde of _0x347578[_0x2c7a('0x22')]()){const _0x740ca=_0x354cde[_0x2c7a('0x7')]();if(_0x2c7a('0x1b')===_0x354cde['subType']&&_0x740ca===_0x558572){_0x354cde[_0x2c7a('0x13')]!==_0x4ee698&&_0x354cde[_0x2c7a('0xb')]();const _0x31d014=_0x354cde[_0x2c7a('0x17')][_0x2c7a('0x1d')];_0x591385=_0x31d014[0x0][_0x2c7a('0x14')],_0xa491=_0x31d014[0x0][_0x2c7a('0x10')];break;}}_0x1000ce({'table':_0x558572,'tableWidth':_0xaf1ced,'columnWidths':_0x56d0a6}),_0x347578[_0x2c7a('0x23')](_0x558572,{'commandName':_0x2c7a('0x20'),'commandParams':[{'tableWidth':_0x591385,'columnWidths':_0xa491}],'formatGroupId':_0x2c7a('0x1b')},[],'resizeTable');});}[_0x2c7a('0x9')](_0x36d784){if(_0x2c7a('0x1f')!=_0x36d784[_0x2c7a('0x6')]&&_0x2c7a('0x4')!=_0x36d784[_0x2c7a('0x6')])return;const {data:_0x451104}=_0x36d784;if(_0x451104&&_0x2c7a('0x1b')===_0x451104[_0x2c7a('0xc')]){const _0x2251e9=_0x2c7a('0x11');return{'type':_0x2c7a('0x5'),'content':_0x47ba42(this[_0x2c7a('0xe')][_0x2c7a('0x15')],_0x2251e9)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3553=['ck-suggestion-marker-','commandName','markerName','data','highest','commandParams','setTableColumnHeader','parent','removeClass','downcastDispatcher','_enableDefaultAttributesIntegration','start','locale','format','FORMAT_HEADER_ROW','markerRange','createTableWalker','removeAttribute','setTableRowHeader','formatBlock','nodeAfter','_suggestionFactory','mapper','stop','_handleLegacySuggestions','TrackChangesEditing','FORMAT_HEADER_COLUMN','registerDescriptionCallback','ck-suggestion-marker--active','addMarker:suggestion','consume','forceValue','registerCustomCallback','nodeBefore','registerAttributeLabel','editing','requires','includes','item','headingColumns','headingRows','toViewElement','markerNameToElements','TableUtils','getCellLocation','_registerLegacyDescription','get','FORMAT_REGULAR_COLUMN','writer','FORMAT_REGULAR_ROW','_splitMarkerName','addClass','setAttribute','plugins','getSuggestion','consumable','activeMarkers','cell','_descriptionFactory','accept','editor','type','unbindElementFromMarkerName','data-suggestion'];(function(_0x281b72,_0x355386){const _0x44918f=function(_0x1cc608){while(--_0x1cc608){_0x281b72['push'](_0x281b72['shift']());}};_0x44918f(++_0x355386);}(_0x3553,0x6e));const _0x4491=function(_0x281b72,_0x355386){_0x281b72=_0x281b72-0x0;let _0x44918f=_0x3553[_0x281b72];return _0x44918f;};import{Plugin as _0xe89e44}from'ckeditor5/src/core.js';import _0x1b1ba9 from'./table.js';import{getTranslation as _0x15ba60}from'../utils/common-translations.js';export default class St extends _0xe89e44{static get[_0x4491('0x36')](){return[_0x1b1ba9];}['afterInit'](){const _0x955a85=this[_0x4491('0xe')];if(!_0x955a85[_0x4491('0x7')]['has']('TableEditing'))return;const _0x5bf976=_0x955a85[_0x4491('0x1e')],_0x2ceb3b=_0x955a85[_0x4491('0x7')][_0x4491('0x0')](_0x4491('0x2b'));_0x2ceb3b[_0x4491('0x1c')](_0x4491('0x24'),[],['headingRows']),_0x2ceb3b['_enableDefaultAttributesIntegration']('setTableColumnHeader',[],[_0x4491('0x39')]),_0x2ceb3b[_0x4491('0xc')][_0x4491('0x34')](_0x4491('0x3a'),_0x15ba60(_0x5bf976,_0x4491('0x20'))),_0x2ceb3b['_descriptionFactory'][_0x4491('0x34')](_0x4491('0x39'),_0x15ba60(_0x5bf976,_0x4491('0x2c'))),this[_0x4491('0x2a')]();}['_handleLegacySuggestions'](){const _0x121345=this[_0x4491('0xe')][_0x4491('0x7')]['get']('TrackChangesEditing'),_0x469d34=this[_0x4491('0xe')][_0x4491('0x7')][_0x4491('0x0')](_0x4491('0x3d')),_0x472567=this['editor'][_0x4491('0x7')][_0x4491('0x0')](_0x1b1ba9)['_acceptFormatSuggestionCallbackFactory']();function _0x1c52d1({showActiveMarker:_0x3d024f=!0x0,setDataAttribute:_0x3ec914=!0x0}={}){return(_0x4a834e,_0x3c1e66,_0x3baaeb)=>{const {type:_0x2c506d,id:_0x4e54f9}=_0x121345[_0x4491('0x4')](_0x3c1e66[_0x4491('0x14')]),_0xd4a7aa=_0x121345[_0x4491('0x8')](_0x4e54f9),_0x51e3c5=_0xd4a7aa[_0x4491('0x15')];if(_0x4491('0x25')!=_0xd4a7aa[_0x4491('0xf')]||!_0x51e3c5||_0x4491('0x18')!=_0x51e3c5[_0x4491('0x13')])return;if(_0x3c1e66[_0x4491('0x38')])return void _0x4a834e[_0x4491('0x29')]();if(!_0x3baaeb[_0x4491('0x9')][_0x4491('0x30')](_0x3c1e66[_0x4491('0x21')],_0x4a834e['name']))return;const _0x1a34de=_0x3c1e66[_0x4491('0x21')][_0x4491('0x1d')][_0x4491('0x26')],_0x54fc56=_0x3c1e66[_0x4491('0x21')]['end'][_0x4491('0x33')],_0x4b222e=_0x1a34de[_0x4491('0x19')]['parent'],{column:_0x2e0836}=_0x469d34[_0x4491('0x3e')](_0x1a34de),{column:_0x1fba5d}=_0x469d34[_0x4491('0x3e')](_0x54fc56);for(let _0x237668=_0x2e0836;_0x237668<=_0x1fba5d;_0x237668++){const _0x3b2d7b=_0x469d34[_0x4491('0x22')](_0x4b222e,{'column':_0x237668,'includeAllSlots':!0x1});for(const _0x551303 of _0x3b2d7b){const _0x28d8d3=_0x551303[_0x4491('0xb')],_0x1882ad=_0x3baaeb[_0x4491('0x28')][_0x4491('0x3b')](_0x28d8d3);_0x3baaeb[_0x4491('0x2')][_0x4491('0x5')](_0x4491('0x12')+_0x2c506d,_0x1882ad),_0x3ec914&&_0x3baaeb[_0x4491('0x2')][_0x4491('0x6')](_0x4491('0x11'),_0x4e54f9,_0x1882ad),_0x3baaeb[_0x4491('0x28')]['bindElementToMarker'](_0x1882ad,_0x3c1e66[_0x4491('0x14')]),_0x3d024f&&(_0x121345[_0x4491('0xa')][_0x4491('0x37')](_0x3c1e66[_0x4491('0x14')])?_0x3baaeb[_0x4491('0x2')][_0x4491('0x5')](_0x4491('0x2e'),_0x1882ad):_0x3baaeb[_0x4491('0x2')]['removeClass'](_0x4491('0x2e'),_0x1882ad));}}};}_0x121345['_suggestionFactory']['registerCustomCallback'](_0x4491('0x25'),_0x4491('0x24'),_0x4491('0xd'),_0x472567),_0x121345[_0x4491('0x27')][_0x4491('0x32')](_0x4491('0x25'),_0x4491('0x18'),_0x4491('0xd'),_0x472567),this['editor']['editing'][_0x4491('0x1b')]['on'](_0x4491('0x2f'),_0x1c52d1(),{'priority':'highest'}),this[_0x4491('0xe')][_0x4491('0x15')][_0x4491('0x1b')]['on'](_0x4491('0x2f'),(_0x4e8b6e,_0x28a67f,_0x49dd92)=>{_0x49dd92['options']['showSuggestionHighlights']&&_0x1c52d1({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4e8b6e,_0x28a67f,_0x49dd92);},{'priority':'highest'}),this[_0x4491('0xe')][_0x4491('0x35')][_0x4491('0x1b')]['on']('removeMarker:suggestion',(_0x458256,_0xe38ca5,_0x391502)=>{const {type:_0x1d9221,id:_0x5c3038}=_0x121345[_0x4491('0x4')](_0xe38ca5[_0x4491('0x14')]),_0x2283a0=_0x121345[_0x4491('0x8')](_0x5c3038),_0x240682=_0x2283a0[_0x4491('0x15')];if(_0x4491('0x25')!=_0x2283a0['type']||!_0x240682||'setTableColumnHeader'!=_0x240682[_0x4491('0x13')])return;const _0x95e915=_0x391502['mapper'][_0x4491('0x3c')](_0xe38ca5[_0x4491('0x14')]);if(_0x95e915)for(const _0x155313 of _0x95e915)_0x391502['writer'][_0x4491('0x1a')](_0x4491('0x12')+_0x1d9221,_0x155313),_0x391502[_0x4491('0x2')][_0x4491('0x1a')]('ck-suggestion-marker--active',_0x155313),_0x391502['writer'][_0x4491('0x23')](_0x4491('0x11'),_0x155313),_0x391502[_0x4491('0x28')][_0x4491('0x10')](_0x155313,_0xe38ca5[_0x4491('0x14')]);},{'priority':_0x4491('0x16')}),this[_0x4491('0x3f')]();}[_0x4491('0x3f')](){const _0x41eee5=this[_0x4491('0xe')],_0x2ac55f=_0x41eee5[_0x4491('0x1e')];function _0x541564(_0xdcf724){return{'type':_0x4491('0x1f'),'content':_0x15ba60(_0x2ac55f,'*Format:*\x20%0',_0xdcf724)};}_0x41eee5[_0x4491('0x7')]['get'](_0x4491('0x2b'))[_0x4491('0xc')][_0x4491('0x2d')](_0xb2ca11=>{if(_0x4491('0x25')!=_0xb2ca11[_0x4491('0xf')])return;const {data:_0x22079a}=_0xb2ca11;if(_0x22079a){if(_0x4491('0x24')==_0x22079a['commandName']){const _0x7d6eef=_0x22079a[_0x4491('0x17')][0x0][_0x4491('0x31')];return _0x541564(_0x15ba60(_0x2ac55f,_0x7d6eef?_0x4491('0x20'):_0x4491('0x3')));}if(_0x4491('0x18')==_0x22079a[_0x4491('0x13')]){const _0x5390a9=_0x22079a[_0x4491('0x17')][0x0][_0x4491('0x31')];return _0x541564(_0x15ba60(_0x2ac55f,_0x5390a9?_0x4491('0x2c'):_0x4491('0x1')));}}});}}
23
+ const _0x143c=['formatBlock','registerDescriptionCallback','FORMAT_HEADER_COLUMN','showSuggestionHighlights','commandName','highest','data-suggestion','type','markerName','FORMAT_REGULAR_ROW','consumable','data','nodeBefore','setTableRowHeader','_enableDefaultAttributesIntegration','addMarker:suggestion','ck-suggestion-marker--active','TableUtils','plugins','cell','removeClass','end','_acceptFormatSuggestionCallbackFactory','includes','getSuggestion','parent','createTableWalker','setAttribute','forceValue','markerNameToElements','consume','headingRows','name','markerRange','_handleLegacySuggestions','editing','nodeAfter','get','_descriptionFactory','afterInit','registerAttributeLabel','writer','requires','locale','registerCustomCallback','editor','TableEditing','*Format:*\x20%0','commandParams','bindElementToMarker','item','ck-suggestion-marker-','TrackChangesEditing','mapper','unbindElementFromMarkerName','addClass','headingColumns','getCellLocation','_registerLegacyDescription','removeMarker:suggestion','setTableColumnHeader','format','has'];(function(_0x5aa576,_0x143c37){const _0x124333=function(_0x31772d){while(--_0x31772d){_0x5aa576['push'](_0x5aa576['shift']());}};_0x124333(++_0x143c37);}(_0x143c,0x1e1));const _0x1243=function(_0x5aa576,_0x143c37){_0x5aa576=_0x5aa576-0x0;let _0x124333=_0x143c[_0x5aa576];return _0x124333;};import{Plugin as _0x4d8f32}from'ckeditor5/src/core.js';import _0x4ca7f2 from'./table.js';import{getTranslation as _0x12b0e1}from'../utils/common-translations.js';export default class St extends _0x4d8f32{static get[_0x1243('0x2')](){return[_0x4ca7f2];}[_0x1243('0x3e')](){const _0x472a14=this[_0x1243('0x5')];if(!_0x472a14['plugins'][_0x1243('0x16')](_0x1243('0x6')))return;const _0x33ad8c=_0x472a14[_0x1243('0x3')],_0x208231=_0x472a14['plugins'][_0x1243('0x3c')](_0x1243('0xc'));_0x208231[_0x1243('0x25')](_0x1243('0x24'),[],[_0x1243('0x36')]),_0x208231[_0x1243('0x25')](_0x1243('0x14'),[],[_0x1243('0x10')]),_0x208231[_0x1243('0x3d')][_0x1243('0x0')](_0x1243('0x36'),_0x12b0e1(_0x33ad8c,'FORMAT_HEADER_ROW')),_0x208231[_0x1243('0x3d')][_0x1243('0x0')](_0x1243('0x10'),_0x12b0e1(_0x33ad8c,_0x1243('0x19'))),this[_0x1243('0x39')]();}[_0x1243('0x39')](){const _0x1e722a=this[_0x1243('0x5')][_0x1243('0x29')][_0x1243('0x3c')]('TrackChangesEditing'),_0x2632df=this[_0x1243('0x5')][_0x1243('0x29')][_0x1243('0x3c')](_0x1243('0x28')),_0x401c79=this['editor'][_0x1243('0x29')][_0x1243('0x3c')](_0x4ca7f2)[_0x1243('0x2d')]();function _0x15c693({showActiveMarker:_0x5c19aa=!0x0,setDataAttribute:_0x2580b3=!0x0}={}){return(_0x595d31,_0x4c168e,_0x825a2d)=>{const {type:_0x4a9e98,id:_0x7ac5b0}=_0x1e722a['_splitMarkerName'](_0x4c168e[_0x1243('0x1f')]),_0x4a8115=_0x1e722a['getSuggestion'](_0x7ac5b0),_0x1d8dd6=_0x4a8115[_0x1243('0x22')];if(_0x1243('0x17')!=_0x4a8115[_0x1243('0x1e')]||!_0x1d8dd6||_0x1243('0x14')!=_0x1d8dd6[_0x1243('0x1b')])return;if(_0x4c168e[_0x1243('0xa')])return void _0x595d31['stop']();if(!_0x825a2d[_0x1243('0x21')][_0x1243('0x35')](_0x4c168e[_0x1243('0x38')],_0x595d31[_0x1243('0x37')]))return;const _0x684be8=_0x4c168e['markerRange']['start'][_0x1243('0x3b')],_0x125017=_0x4c168e['markerRange'][_0x1243('0x2c')][_0x1243('0x23')],_0x41d942=_0x684be8['parent'][_0x1243('0x30')],{column:_0x26a102}=_0x2632df[_0x1243('0x11')](_0x684be8),{column:_0xd4fa3f}=_0x2632df[_0x1243('0x11')](_0x125017);for(let _0xc06b5b=_0x26a102;_0xc06b5b<=_0xd4fa3f;_0xc06b5b++){const _0x7a77a4=_0x2632df[_0x1243('0x31')](_0x41d942,{'column':_0xc06b5b,'includeAllSlots':!0x1});for(const _0x33a38d of _0x7a77a4){const _0x23e03d=_0x33a38d[_0x1243('0x2a')],_0x2ac3ab=_0x825a2d[_0x1243('0xd')]['toViewElement'](_0x23e03d);_0x825a2d[_0x1243('0x1')][_0x1243('0xf')]('ck-suggestion-marker-'+_0x4a9e98,_0x2ac3ab),_0x2580b3&&_0x825a2d[_0x1243('0x1')][_0x1243('0x32')](_0x1243('0x1d'),_0x7ac5b0,_0x2ac3ab),_0x825a2d[_0x1243('0xd')][_0x1243('0x9')](_0x2ac3ab,_0x4c168e[_0x1243('0x1f')]),_0x5c19aa&&(_0x1e722a['activeMarkers'][_0x1243('0x2e')](_0x4c168e[_0x1243('0x1f')])?_0x825a2d[_0x1243('0x1')][_0x1243('0xf')]('ck-suggestion-marker--active',_0x2ac3ab):_0x825a2d['writer']['removeClass'](_0x1243('0x27'),_0x2ac3ab));}}};}_0x1e722a['_suggestionFactory'][_0x1243('0x4')]('formatBlock','setTableRowHeader','accept',_0x401c79),_0x1e722a['_suggestionFactory'][_0x1243('0x4')](_0x1243('0x17'),'setTableColumnHeader','accept',_0x401c79),this['editor'][_0x1243('0x3a')]['downcastDispatcher']['on'](_0x1243('0x26'),_0x15c693(),{'priority':_0x1243('0x1c')}),this[_0x1243('0x5')][_0x1243('0x22')]['downcastDispatcher']['on'](_0x1243('0x26'),(_0xba60a1,_0x16a8c1,_0x4b8ce3)=>{_0x4b8ce3['options'][_0x1243('0x1a')]&&_0x15c693({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0xba60a1,_0x16a8c1,_0x4b8ce3);},{'priority':_0x1243('0x1c')}),this['editor']['editing']['downcastDispatcher']['on'](_0x1243('0x13'),(_0x43b70d,_0x2d884e,_0x1385cf)=>{const {type:_0x1555bd,id:_0x1e9fa2}=_0x1e722a['_splitMarkerName'](_0x2d884e[_0x1243('0x1f')]),_0x57d693=_0x1e722a[_0x1243('0x2f')](_0x1e9fa2),_0x16424b=_0x57d693[_0x1243('0x22')];if(_0x1243('0x17')!=_0x57d693['type']||!_0x16424b||_0x1243('0x14')!=_0x16424b['commandName'])return;const _0x4f9101=_0x1385cf[_0x1243('0xd')][_0x1243('0x34')](_0x2d884e[_0x1243('0x1f')]);if(_0x4f9101)for(const _0x58ad02 of _0x4f9101)_0x1385cf['writer'][_0x1243('0x2b')](_0x1243('0xb')+_0x1555bd,_0x58ad02),_0x1385cf[_0x1243('0x1')][_0x1243('0x2b')](_0x1243('0x27'),_0x58ad02),_0x1385cf[_0x1243('0x1')]['removeAttribute'](_0x1243('0x1d'),_0x58ad02),_0x1385cf[_0x1243('0xd')][_0x1243('0xe')](_0x58ad02,_0x2d884e['markerName']);},{'priority':_0x1243('0x1c')}),this[_0x1243('0x12')]();}[_0x1243('0x12')](){const _0x2688e4=this[_0x1243('0x5')],_0x50ad6a=_0x2688e4[_0x1243('0x3')];function _0x41e183(_0x2a2977){return{'type':_0x1243('0x15'),'content':_0x12b0e1(_0x50ad6a,_0x1243('0x7'),_0x2a2977)};}_0x2688e4[_0x1243('0x29')][_0x1243('0x3c')](_0x1243('0xc'))[_0x1243('0x3d')][_0x1243('0x18')](_0x122309=>{if(_0x1243('0x17')!=_0x122309[_0x1243('0x1e')])return;const {data:_0x174289}=_0x122309;if(_0x174289){if(_0x1243('0x24')==_0x174289[_0x1243('0x1b')]){const _0x16c424=_0x174289[_0x1243('0x8')][0x0]['forceValue'];return _0x41e183(_0x12b0e1(_0x50ad6a,_0x16c424?'FORMAT_HEADER_ROW':_0x1243('0x20')));}if('setTableColumnHeader'==_0x174289[_0x1243('0x1b')]){const _0x566906=_0x174289[_0x1243('0x8')][0x0][_0x1243('0x33')];return _0x41e183(_0x12b0e1(_0x50ad6a,_0x566906?_0x1243('0x19'):'FORMAT_REGULAR_COLUMN'));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb93a=['format','getFirstPosition','rootName','mergeTableCellUp','afterInit','getRanges','return','isEnabled','value','size','createRangeOn','_isForcedDefaultExecutionBlock','plugins','_tablePostFixingSubtypes','low','_suggestionFactory','subType','change','findAncestor','type','detach','splitTableCellHorizontally','createTableWalker','commands','registerCustomCallback','markBlockFormat','model','author','accept','execute','stop','add','find','_areMergableCells','trackChanges','editor','mergeTableCellDown','isInContent','*Merge\x20cells*','length','commandName','getSelectionAffectedTableCells','TableUtils','splitTableCellVertically','mergeTableCellLeft','map','table','_acceptFormatSuggestionCallbackFactory','from','registerDescriptionCallback','*Split\x20cell:*\x20horizontally','set:isEnabled','root','push','containsRange','setSelection','enableCommand','element','cell','document','get','formatBlock','$graveyard','fromRange','markMultiRangeBlockFormat','insertion','_areSelectedCellsMergable','requires','_descriptionFactory','selection','TrackChangesEditing','mergeTableCells','mergeTableCellRight','getAncestors'];(function(_0x61a0ce,_0xb93a4e){const _0x356bf3=function(_0x384bcb){while(--_0x384bcb){_0x61a0ce['push'](_0x61a0ce['shift']());}};_0x356bf3(++_0xb93a4e);}(_0xb93a,0x7d));const _0x356b=function(_0x61a0ce,_0xb93a4e){_0x61a0ce=_0x61a0ce-0x0;let _0x356bf3=_0xb93a[_0x61a0ce];return _0x356bf3;};import{Plugin as _0x10b3c8}from'ckeditor5/src/core.js';import _0xf33597 from'./table.js';import{LiveRange as _0x21b650}from'ckeditor5/src/engine.js';import{getTranslation as _0x11c49c}from'../utils/common-translations.js';export default class jt extends _0x10b3c8{static get[_0x356b('0x10')](){return[_0xf33597];}[_0x356b('0x1b')](){const _0x2d8f44=this[_0x356b('0x3a')],_0x10325f=_0x2d8f44[_0x356b('0x31')][_0x356b('0x8')][_0x356b('0x12')],_0xe1a3ff=_0x2d8f44['locale'];if(!_0x2d8f44[_0x356b('0x23')]['has']('TableEditing'))return;const _0x1c8f2b=_0x2d8f44[_0x356b('0x23')]['get'](_0x356b('0x13')),_0x27f351=_0x2d8f44[_0x356b('0x23')][_0x356b('0x9')]('TableUtils'),_0x76582=_0x2d8f44[_0x356b('0x23')]['get'](_0xf33597);_0x76582[_0x356b('0x24')][_0x356b('0x2')](_0x356b('0x14')),_0x1c8f2b['enableCommand'](_0x356b('0x14'),()=>{const _0x2540bf=_0x27f351[_0x356b('0x40')](_0x2d8f44[_0x356b('0x31')]['document'][_0x356b('0x12')]);_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](()=>{_0x1c8f2b[_0x356b('0xd')](_0x2540bf,{'commandName':_0x356b('0x14'),'commandParams':[]},[],_0x356b('0x14'));});}),_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')]('mergeTableCells')['on'](_0x356b('0x34'),(_0x36e189,_0x227d96)=>{_0x2d8f44['commands'][_0x356b('0x9')](_0x356b('0x39'))['value']&&(_0x227d96[_0x356b('0x3e')]>0x0&&_0x227d96[_0x227d96[_0x356b('0x3e')]-0x1]&&_0x227d96[_0x227d96[_0x356b('0x3e')]-0x1]['forceDefaultExecution']||_0x1c8f2b[_0x356b('0x22')]||this[_0x356b('0xf')]()||_0x36e189[_0x356b('0x35')]());},{'priority':'highest'});for(const _0x5c8842 of[_0x356b('0x1a'),_0x356b('0x15'),_0x356b('0x3b'),_0x356b('0x43')]){const _0x4ce7ad=_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x5c8842);_0x1c8f2b[_0x356b('0x5')](_0x5c8842,()=>{const _0x55f64c=_0x2d8f44[_0x356b('0x31')]['document']['selection'][_0x356b('0x18')]()[_0x356b('0x16')]()[_0x356b('0x37')](_0x58bffa=>_0x58bffa['is']('element','tableCell')),_0x22cebd=_0x4ce7ad[_0x356b('0x1f')];_0x2d8f44['model'][_0x356b('0x28')](()=>{_0x1c8f2b[_0x356b('0xd')]([_0x55f64c,_0x22cebd],{'commandName':_0x356b('0x14'),'commandParams':[]},[],_0x356b('0x14'));});});}for(const _0x1cb73e of['splitTableCellVertically',_0x356b('0x2c')]){const _0x4efd15=_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x1cb73e);_0x1c8f2b[_0x356b('0x5')](_0x1cb73e,()=>{const _0x28da75=_0x27f351[_0x356b('0x40')](_0x2d8f44[_0x356b('0x31')][_0x356b('0x8')][_0x356b('0x12')])[0x0],_0x2f70dd=_0x28da75[_0x356b('0x29')](_0x356b('0x45')),{column:_0x174f5c,row:_0x1935a4}=_0x27f351['getCellLocation'](_0x28da75);let _0x3e1895=[];if('horizontally'==_0x4efd15['direction']){const _0x345cd9=_0x27f351[_0x356b('0x2d')](_0x2f70dd,{'startRow':_0x1935a4,'endRow':_0x1935a4,'includeAllSlots':!0x0});_0x3e1895=Array[_0x356b('0x47')](_0x345cd9)[_0x356b('0x44')](_0x2e3961=>_0x2e3961[_0x356b('0x7')]);}else{const _0x123f70=_0x27f351['createTableWalker'](_0x2f70dd,{'column':_0x174f5c,'includeAllSlots':!0x0});_0x3e1895=Array[_0x356b('0x47')](_0x123f70)[_0x356b('0x44')](_0xff9228=>_0xff9228[_0x356b('0x7')]);}_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](_0x16c917=>{_0x1c8f2b[_0x356b('0x30')](_0x16c917[_0x356b('0x21')](_0x28da75),{'commandName':_0x1cb73e,'commandParams':[]},_0x3e1895,_0x1cb73e);});});}_0x1c8f2b[_0x356b('0x11')][_0x356b('0x48')](_0x2d8b52=>{if(_0x356b('0xa')!=_0x2d8b52[_0x356b('0x2a')]&&'formatInline'!=_0x2d8b52[_0x356b('0x2a')])return;const {data:_0x41d07e}=_0x2d8b52;return _0x41d07e&&_0x356b('0x14')==_0x41d07e[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,_0x356b('0x3d'))}:void 0x0;}),_0x1c8f2b[_0x356b('0x11')][_0x356b('0x48')](_0x4d7443=>{if('formatBlock'!=_0x4d7443[_0x356b('0x2a')]&&'formatInline'!=_0x4d7443[_0x356b('0x2a')])return;const {data:_0x18134b}=_0x4d7443;return _0x18134b?_0x356b('0x42')==_0x18134b[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,'*Split\x20cell:*\x20vertically')}:_0x356b('0x2c')==_0x18134b[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,_0x356b('0x49'))}:void 0x0:void 0x0;});const _0x2dcb03=_0x76582[_0x356b('0x46')]();for(const _0x1eae8b of['mergeTableCellUp',_0x356b('0x15'),_0x356b('0x3b'),_0x356b('0x43')])_0x1c8f2b[_0x356b('0x26')]['registerCustomCallback']('formatBlock',_0x1eae8b,_0x356b('0x33'),_0x2dcb03);for(const _0x326cf5 of[_0x356b('0x42'),_0x356b('0x2c')])_0x1c8f2b[_0x356b('0x26')][_0x356b('0x2f')](_0x356b('0xa'),_0x326cf5,_0x356b('0x33'),_0x2dcb03);_0x1c8f2b[_0x356b('0x26')][_0x356b('0x2f')](_0x356b('0xa'),'mergeTableCells',_0x356b('0x33'),_0x3d7d6b=>{_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](_0x46bded=>{const _0x2eaf94=Array[_0x356b('0x47')](_0x10325f[_0x356b('0x1c')]())[_0x356b('0x44')](_0x31a5e5=>_0x21b650[_0x356b('0xc')](_0x31a5e5));_0x46bded[_0x356b('0x4')](_0x3d7d6b),_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x356b('0x14'))['refresh'](),_0x2d8f44['execute'](_0x356b('0x14'),{'forceDefaultExecution':!0x0});const _0x28cf26=_0x2eaf94['filter'](_0x381432=>_0x356b('0xb')!=_0x381432[_0x356b('0x1')][_0x356b('0x19')]);_0x28cf26[_0x356b('0x3e')]>0x0&&_0x46bded[_0x356b('0x4')](_0x28cf26);for(const _0x5f379f of _0x2eaf94)_0x5f379f[_0x356b('0x2b')]();});});for(const _0x2d03ea of[_0x356b('0x1a'),_0x356b('0x3b'),_0x356b('0x43'),_0x356b('0x15')]){const _0x414d54=_0x2d8f44['commands']['get'](_0x2d03ea);_0x414d54['on'](_0x356b('0x0'),(_0x156646,_0xed33b5,_0x4f278f)=>{if(_0x4f278f){const _0x581b84=_0x2d8f44['model'][_0x356b('0x8')][_0x356b('0x12')][_0x356b('0x18')]()[_0x356b('0x16')]()[_0x356b('0x37')](_0x881ad0=>_0x881ad0['is'](_0x356b('0x6'),'tableCell'));this['_areMergableCells'](_0x414d54[_0x356b('0x1f')],_0x581b84)||(_0x156646[_0x356b('0x1d')]=!0x1,_0x156646[_0x356b('0x35')]());}},{'priority':_0x356b('0x25')});}}[_0x356b('0xf')](){const _0x147e6f=this[_0x356b('0x3a')][_0x356b('0x2e')][_0x356b('0x9')](_0x356b('0x14')),_0x471d8d=this[_0x356b('0x3a')][_0x356b('0x23')][_0x356b('0x9')](_0x356b('0x41'));if(!_0x147e6f[_0x356b('0x1e')])return!0x1;const _0x1a1297=_0x471d8d[_0x356b('0x40')](this['editor'][_0x356b('0x31')]['document']['selection']);for(const _0x119d3b of _0x1a1297)for(const _0xeaf86 of _0x1a1297)if(_0x119d3b!=_0xeaf86&&!this[_0x356b('0x38')](_0x119d3b,_0xeaf86))return!0x1;return!0x0;}[_0x356b('0x38')](_0x5b27a2,_0x23afec){const _0x497421=this[_0x356b('0x3a')][_0x356b('0x23')][_0x356b('0x9')](_0x356b('0x13')),_0x25d185=this[_0x356b('0x3a')][_0x356b('0x31')][_0x356b('0x21')](_0x5b27a2),_0x233201=this[_0x356b('0x3a')][_0x356b('0x31')][_0x356b('0x21')](_0x23afec),_0x431841=new Set(),_0x24f7cb=new Set();for(const _0x3e486f of _0x497421['getSuggestions']())if((_0x356b('0xe')==_0x3e486f['type']||'deletion'==_0x3e486f[_0x356b('0x2a')]||'mergeTableCells'==_0x3e486f[_0x356b('0x27')])&&_0x3e486f[_0x356b('0x3c')])for(const _0xda9152 of _0x3e486f[_0x356b('0x1c')]())_0xda9152['containsRange'](_0x25d185,!0x0)&&_0x431841[_0x356b('0x36')](_0x3e486f[_0x356b('0x2a')]+':'+_0x3e486f[_0x356b('0x32')]['id']),_0xda9152[_0x356b('0x3')](_0x233201,!0x0)&&_0x24f7cb['add'](_0x3e486f[_0x356b('0x2a')]+':'+_0x3e486f['author']['id']);if(_0x431841['size']!=_0x24f7cb[_0x356b('0x20')])return!0x1;for(const _0x374023 of _0x431841)if(!_0x24f7cb['has'](_0x374023))return!0x1;return!0x0;}}
23
+ const _0x22e5=['mergeTableCells','enableCommand','requires','mergeTableCellUp','horizontally','*Split\x20cell:*\x20vertically','return','commands','detach','findAncestor','createRangeOn','$graveyard','_areSelectedCellsMergable','mergeTableCellDown','change','createTableWalker','accept','registerCustomCallback','size','TrackChangesEditing','mergeTableCellRight','highest','getFirstPosition','forceDefaultExecution','*Split\x20cell:*\x20horizontally','plugins','registerDescriptionCallback','value','locale','getRanges','selection','table','type','stop','author','format','deletion','isEnabled','markBlockFormat','subType','TableUtils','map','find','formatBlock','_suggestionFactory','fromRange','length','from','filter','TableEditing','document','has','splitTableCellHorizontally','_descriptionFactory','editor','_tablePostFixingSubtypes','getSuggestions','markMultiRangeBlockFormat','insertion','*Merge\x20cells*','get','getSelectionAffectedTableCells','isInContent','root','getAncestors','tableCell','refresh','_areMergableCells','mergeTableCellLeft','getCellLocation','formatInline','containsRange','setSelection','splitTableCellVertically','cell','model','execute','low','trackChanges','commandName','element'];(function(_0x2d5cc7,_0x22e5b3){const _0x7dc02d=function(_0x5671a9){while(--_0x5671a9){_0x2d5cc7['push'](_0x2d5cc7['shift']());}};_0x7dc02d(++_0x22e5b3);}(_0x22e5,0x122));const _0x7dc0=function(_0x2d5cc7,_0x22e5b3){_0x2d5cc7=_0x2d5cc7-0x0;let _0x7dc02d=_0x22e5[_0x2d5cc7];return _0x7dc02d;};import{Plugin as _0x18ff58}from'ckeditor5/src/core.js';import _0x159373 from'./table.js';import{LiveRange as _0x8ae680}from'ckeditor5/src/engine.js';import{getTranslation as _0x147b2c}from'../utils/common-translations.js';export default class jt extends _0x18ff58{static get[_0x7dc0('0x24')](){return[_0x159373];}['afterInit'](){const _0x27f93f=this[_0x7dc0('0x7')],_0x361186=_0x27f93f['model'][_0x7dc0('0x3')][_0x7dc0('0x40')],_0x7acfe9=_0x27f93f[_0x7dc0('0x3e')];if(!_0x27f93f[_0x7dc0('0x3b')][_0x7dc0('0x4')](_0x7dc0('0x2')))return;const _0x426725=_0x27f93f[_0x7dc0('0x3b')][_0x7dc0('0xd')](_0x7dc0('0x35')),_0x3cbb5d=_0x27f93f[_0x7dc0('0x3b')][_0x7dc0('0xd')](_0x7dc0('0x4a')),_0x4db1c8=_0x27f93f['plugins'][_0x7dc0('0xd')](_0x159373);_0x4db1c8[_0x7dc0('0x8')]['push'](_0x7dc0('0x22')),_0x426725[_0x7dc0('0x23')]('mergeTableCells',()=>{const _0x14a3fc=_0x3cbb5d['getSelectionAffectedTableCells'](_0x27f93f[_0x7dc0('0x1c')][_0x7dc0('0x3')][_0x7dc0('0x40')]);_0x27f93f['model'][_0x7dc0('0x30')](()=>{_0x426725['markMultiRangeBlockFormat'](_0x14a3fc,{'commandName':'mergeTableCells','commandParams':[]},[],_0x7dc0('0x22'));});}),_0x27f93f['commands'][_0x7dc0('0xd')](_0x7dc0('0x22'))['on'](_0x7dc0('0x1d'),(_0x54efb6,_0xb516f0)=>{_0x27f93f['commands'][_0x7dc0('0xd')](_0x7dc0('0x1f'))['value']&&(_0xb516f0[_0x7dc0('0x50')]>0x0&&_0xb516f0[_0xb516f0[_0x7dc0('0x50')]-0x1]&&_0xb516f0[_0xb516f0[_0x7dc0('0x50')]-0x1][_0x7dc0('0x39')]||_0x426725['_isForcedDefaultExecutionBlock']||this[_0x7dc0('0x2e')]()||_0x54efb6[_0x7dc0('0x43')]());},{'priority':_0x7dc0('0x37')});for(const _0x123634 of['mergeTableCellUp',_0x7dc0('0x36'),_0x7dc0('0x2f'),_0x7dc0('0x15')]){const _0x19894c=_0x27f93f['commands']['get'](_0x123634);_0x426725[_0x7dc0('0x23')](_0x123634,()=>{const _0x51d7cd=_0x27f93f[_0x7dc0('0x1c')][_0x7dc0('0x3')][_0x7dc0('0x40')][_0x7dc0('0x38')]()[_0x7dc0('0x11')]()[_0x7dc0('0x4c')](_0x1252a2=>_0x1252a2['is'](_0x7dc0('0x21'),_0x7dc0('0x12'))),_0x3122a9=_0x19894c[_0x7dc0('0x3d')];_0x27f93f['model'][_0x7dc0('0x30')](()=>{_0x426725[_0x7dc0('0xa')]([_0x51d7cd,_0x3122a9],{'commandName':_0x7dc0('0x22'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x24c2cf of[_0x7dc0('0x1a'),_0x7dc0('0x5')]){const _0x54bca7=_0x27f93f[_0x7dc0('0x29')][_0x7dc0('0xd')](_0x24c2cf);_0x426725[_0x7dc0('0x23')](_0x24c2cf,()=>{const _0x259db9=_0x3cbb5d[_0x7dc0('0xe')](_0x27f93f[_0x7dc0('0x1c')]['document'][_0x7dc0('0x40')])[0x0],_0x1d64f6=_0x259db9[_0x7dc0('0x2b')](_0x7dc0('0x41')),{column:_0x1da171,row:_0x2d1323}=_0x3cbb5d[_0x7dc0('0x16')](_0x259db9);let _0x5e269c=[];if(_0x7dc0('0x26')==_0x54bca7['direction']){const _0x1cfced=_0x3cbb5d['createTableWalker'](_0x1d64f6,{'startRow':_0x2d1323,'endRow':_0x2d1323,'includeAllSlots':!0x0});_0x5e269c=Array[_0x7dc0('0x0')](_0x1cfced)[_0x7dc0('0x4b')](_0x374b49=>_0x374b49[_0x7dc0('0x1b')]);}else{const _0x51132c=_0x3cbb5d[_0x7dc0('0x31')](_0x1d64f6,{'column':_0x1da171,'includeAllSlots':!0x0});_0x5e269c=Array[_0x7dc0('0x0')](_0x51132c)['map'](_0x40bca1=>_0x40bca1[_0x7dc0('0x1b')]);}_0x27f93f[_0x7dc0('0x1c')]['change'](_0x36ac60=>{_0x426725[_0x7dc0('0x48')](_0x36ac60[_0x7dc0('0x2c')](_0x259db9),{'commandName':_0x24c2cf,'commandParams':[]},_0x5e269c,_0x24c2cf);});});}_0x426725[_0x7dc0('0x6')][_0x7dc0('0x3c')](_0x12881a=>{if(_0x7dc0('0x4d')!=_0x12881a[_0x7dc0('0x42')]&&_0x7dc0('0x17')!=_0x12881a[_0x7dc0('0x42')])return;const {data:_0x54e823}=_0x12881a;return _0x54e823&&_0x7dc0('0x22')==_0x54e823[_0x7dc0('0x20')]?{'type':_0x7dc0('0x45'),'content':_0x147b2c(_0x7acfe9,_0x7dc0('0xc'))}:void 0x0;}),_0x426725['_descriptionFactory'][_0x7dc0('0x3c')](_0x4533fc=>{if(_0x7dc0('0x4d')!=_0x4533fc[_0x7dc0('0x42')]&&_0x7dc0('0x17')!=_0x4533fc[_0x7dc0('0x42')])return;const {data:_0x1f0e9a}=_0x4533fc;return _0x1f0e9a?_0x7dc0('0x1a')==_0x1f0e9a[_0x7dc0('0x20')]?{'type':'format','content':_0x147b2c(_0x7acfe9,_0x7dc0('0x27'))}:_0x7dc0('0x5')==_0x1f0e9a[_0x7dc0('0x20')]?{'type':_0x7dc0('0x45'),'content':_0x147b2c(_0x7acfe9,_0x7dc0('0x3a'))}:void 0x0:void 0x0;});const _0x50458b=_0x4db1c8['_acceptFormatSuggestionCallbackFactory']();for(const _0x37801b of[_0x7dc0('0x25'),'mergeTableCellRight',_0x7dc0('0x2f'),_0x7dc0('0x15')])_0x426725['_suggestionFactory'][_0x7dc0('0x33')](_0x7dc0('0x4d'),_0x37801b,'accept',_0x50458b);for(const _0x1c1cd8 of['splitTableCellVertically',_0x7dc0('0x5')])_0x426725[_0x7dc0('0x4e')][_0x7dc0('0x33')](_0x7dc0('0x4d'),_0x1c1cd8,'accept',_0x50458b);_0x426725['_suggestionFactory'][_0x7dc0('0x33')](_0x7dc0('0x4d'),_0x7dc0('0x22'),_0x7dc0('0x32'),_0x140213=>{_0x27f93f[_0x7dc0('0x1c')][_0x7dc0('0x30')](_0x2a4054=>{const _0x5b9c39=Array[_0x7dc0('0x0')](_0x361186[_0x7dc0('0x3f')]())[_0x7dc0('0x4b')](_0x3bf5dd=>_0x8ae680[_0x7dc0('0x4f')](_0x3bf5dd));_0x2a4054[_0x7dc0('0x19')](_0x140213),_0x27f93f[_0x7dc0('0x29')][_0x7dc0('0xd')]('mergeTableCells')[_0x7dc0('0x13')](),_0x27f93f['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1f0112=_0x5b9c39[_0x7dc0('0x1')](_0x125e21=>_0x7dc0('0x2d')!=_0x125e21[_0x7dc0('0x10')]['rootName']);_0x1f0112[_0x7dc0('0x50')]>0x0&&_0x2a4054[_0x7dc0('0x19')](_0x1f0112);for(const _0x55a29b of _0x5b9c39)_0x55a29b[_0x7dc0('0x2a')]();});});for(const _0x2ba8dc of[_0x7dc0('0x25'),_0x7dc0('0x2f'),_0x7dc0('0x15'),_0x7dc0('0x36')]){const _0x3fd051=_0x27f93f[_0x7dc0('0x29')][_0x7dc0('0xd')](_0x2ba8dc);_0x3fd051['on']('set:isEnabled',(_0x14d861,_0x1d03a4,_0x1dc948)=>{if(_0x1dc948){const _0x27c44b=_0x27f93f[_0x7dc0('0x1c')][_0x7dc0('0x3')][_0x7dc0('0x40')][_0x7dc0('0x38')]()['getAncestors']()[_0x7dc0('0x4c')](_0x4fb45d=>_0x4fb45d['is'](_0x7dc0('0x21'),_0x7dc0('0x12')));this[_0x7dc0('0x14')](_0x3fd051[_0x7dc0('0x3d')],_0x27c44b)||(_0x14d861[_0x7dc0('0x28')]=!0x1,_0x14d861[_0x7dc0('0x43')]());}},{'priority':_0x7dc0('0x1e')});}}[_0x7dc0('0x2e')](){const _0xd4b72f=this[_0x7dc0('0x7')]['commands']['get'](_0x7dc0('0x22')),_0x4bb8a3=this[_0x7dc0('0x7')][_0x7dc0('0x3b')][_0x7dc0('0xd')](_0x7dc0('0x4a'));if(!_0xd4b72f[_0x7dc0('0x47')])return!0x1;const _0x5ee225=_0x4bb8a3[_0x7dc0('0xe')](this['editor'][_0x7dc0('0x1c')]['document'][_0x7dc0('0x40')]);for(const _0x11fc41 of _0x5ee225)for(const _0x5054d1 of _0x5ee225)if(_0x11fc41!=_0x5054d1&&!this[_0x7dc0('0x14')](_0x11fc41,_0x5054d1))return!0x1;return!0x0;}[_0x7dc0('0x14')](_0x4bd039,_0x332246){const _0x15652c=this['editor'][_0x7dc0('0x3b')][_0x7dc0('0xd')](_0x7dc0('0x35')),_0x2e3e63=this[_0x7dc0('0x7')][_0x7dc0('0x1c')][_0x7dc0('0x2c')](_0x4bd039),_0x3212dc=this[_0x7dc0('0x7')][_0x7dc0('0x1c')]['createRangeOn'](_0x332246),_0x1a46f6=new Set(),_0x48c4a6=new Set();for(const _0xc4860b of _0x15652c[_0x7dc0('0x9')]())if((_0x7dc0('0xb')==_0xc4860b[_0x7dc0('0x42')]||_0x7dc0('0x46')==_0xc4860b[_0x7dc0('0x42')]||_0x7dc0('0x22')==_0xc4860b[_0x7dc0('0x49')])&&_0xc4860b[_0x7dc0('0xf')])for(const _0x417b20 of _0xc4860b['getRanges']())_0x417b20['containsRange'](_0x2e3e63,!0x0)&&_0x1a46f6['add'](_0xc4860b[_0x7dc0('0x42')]+':'+_0xc4860b[_0x7dc0('0x44')]['id']),_0x417b20[_0x7dc0('0x18')](_0x3212dc,!0x0)&&_0x48c4a6['add'](_0xc4860b[_0x7dc0('0x42')]+':'+_0xc4860b[_0x7dc0('0x44')]['id']);if(_0x1a46f6[_0x7dc0('0x34')]!=_0x48c4a6['size'])return!0x1;for(const _0x751ea4 of _0x1a46f6)if(!_0x48c4a6['has'](_0x751ea4))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fa2=['locale','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','afterInit','registerElementLabel','TrackChangesEditing','insertTableOfContents','editor','plugins','_descriptionFactory','commands','get'];(function(_0x18224c,_0x1fa2d8){const _0xe69c2d=function(_0x51b9d1){while(--_0x51b9d1){_0x18224c['push'](_0x18224c['shift']());}};_0xe69c2d(++_0x1fa2d8);}(_0x1fa2,0xc9));const _0xe69c=function(_0x18224c,_0x1fa2d8){_0x18224c=_0x18224c-0x0;let _0xe69c2d=_0x1fa2[_0x18224c];return _0xe69c2d;};import{Plugin as _0x5a362c}from'ckeditor5/src/core.js';import{getTranslation as _0x35d493}from'../utils/common-translations.js';export default class _t extends _0x5a362c{[_0xe69c('0x6')](){const _0x2bca45=this[_0xe69c('0xa')];if(!_0x2bca45[_0xe69c('0x1')][_0xe69c('0x2')]('insertTableOfContents'))return;_0x2bca45['plugins']['get'](_0xe69c('0x8'))['enableCommand'](_0xe69c('0x9'));const _0x2e4592=_0x2bca45[_0xe69c('0xb')]['get']('TrackChangesEditing'),_0x5a772e=_0x2bca45[_0xe69c('0x3')];_0x2e4592[_0xe69c('0x0')][_0xe69c('0x7')](_0xe69c('0x5'),_0x2b2379=>_0x35d493(_0x5a772e,_0xe69c('0x4'),_0x2b2379));}}
23
+ const _0x59b0=['plugins','tableOfContents','get','enableCommand','afterInit','editor','locale','_descriptionFactory','commands','insertTableOfContents','TrackChangesEditing'];(function(_0x25e661,_0x59b010){const _0xd806ab=function(_0x34f6d0){while(--_0x34f6d0){_0x25e661['push'](_0x25e661['shift']());}};_0xd806ab(++_0x59b010);}(_0x59b0,0x103));const _0xd806=function(_0x25e661,_0x59b010){_0x25e661=_0x25e661-0x0;let _0xd806ab=_0x59b0[_0x25e661];return _0xd806ab;};import{Plugin as _0x7b0a1c}from'ckeditor5/src/core.js';import{getTranslation as _0x36e703}from'../utils/common-translations.js';export default class _t extends _0x7b0a1c{[_0xd806('0x9')](){const _0x463341=this[_0xd806('0xa')];if(!_0x463341[_0xd806('0x2')][_0xd806('0x7')](_0xd806('0x3')))return;_0x463341[_0xd806('0x5')][_0xd806('0x7')](_0xd806('0x4'))[_0xd806('0x8')](_0xd806('0x3'));const _0x23c1f5=_0x463341['plugins']['get'](_0xd806('0x4')),_0x38f2a2=_0x463341[_0xd806('0x0')];_0x23c1f5[_0xd806('0x1')]['registerElementLabel'](_0xd806('0x6'),_0x256631=>_0x36e703(_0x38f2a2,'ELEMENT_TABLE_OF_CONTENTS',_0x256631));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10ae=['table','TableUtils','tableCellPadding','_descriptionFactory','tableBorderColor','_suggestionFactory','format','registerDescriptionCallback','findAncestor','discard','commandParams','tableCellBorderWidth','selection','tableHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderWidth','getSuggestionCallback','tableProperties','join','afterInit','_getSuggestion','change','*Format:*\x20change\x20table\x20properties','registerCustomCallback','getSuggestions','plugins','tableCellVerticalAlignment','removeAttribute','tableBorderStyle','document','getSelectionAffectedTableCells','tableBackgroundColor','nodeAfter','TablePropertiesEditing','TableCellPropertiesEditing','TrackChangesTableProperties','editor','formatBlock','tableCellBorderColor','subType','setAttribute','tableWidth','batch','_handlePropertyChange','handleDiscardAction','getContainedElement','has','accept','tableCellProperties','get','markBlockFormat','tableAlignment','getAttribute','TrackChangesEditing','handleSuggestionDescription','model','start','enableCommand','enqueueChange','pluginName','tableCellWidth'];(function(_0x110d47,_0x10aedf){const _0x1f9b55=function(_0x3444b1){while(--_0x3444b1){_0x110d47['push'](_0x110d47['shift']());}};_0x1f9b55(++_0x10aedf);}(_0x10ae,0xab));const _0x1f9b=function(_0x110d47,_0x10aedf){_0x110d47=_0x110d47-0x0;let _0x1f9b55=_0x10ae[_0x110d47];return _0x1f9b55;};import{Plugin as _0x1d39e8}from'ckeditor5/src/core.js';import{getTranslation as _0x54eac5}from'../utils/common-translations.js';export default class Mt extends _0x1d39e8{constructor(_0x4c52e4){super(_0x4c52e4),this[_0x1f9b('0x1d')]=[_0x1f9b('0x10'),_0x1f9b('0x28'),_0x1f9b('0x1b'),_0x1f9b('0x2'),_0x1f9b('0x35'),_0x1f9b('0x19'),_0x1f9b('0x2b')],this[_0x1f9b('0x3c')]=[_0x1f9b('0x32'),'tableCellBorderStyle',_0x1f9b('0x17'),_0x1f9b('0xe'),_0x1f9b('0xb'),'tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment',_0x1f9b('0x26')];}static get[_0x1f9b('0xa')](){return _0x1f9b('0x2f');}[_0x1f9b('0x1f')](){const _0x238f2e=this[_0x1f9b('0x30')]['plugins'][_0x1f9b('0x0')]('TrackChangesEditing');if(this[_0x1f9b('0x30')]['plugins'][_0x1f9b('0x3a')](_0x1f9b('0x2d'))){for(const _0x4caac8 of this[_0x1f9b('0x1d')])_0x238f2e[_0x1f9b('0x8')](_0x4caac8,(_0x5baf99,_0x32c9d2)=>{const _0x34d2c2=this[_0x1f9b('0x30')]['model'][_0x1f9b('0x29')]['selection']['getFirstPosition']()[_0x1f9b('0x14')](_0x1f9b('0xc'));this['_handlePropertyChange'](_0x4caac8,[_0x34d2c2],this['tableProperties'],_0x1f9b('0x1d'),_0x5baf99,_0x32c9d2);});_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')]('formatBlock','tableProperties','accept',_0x238f2e['_suggestionFactory']['getSuggestionCallback'](_0x1f9b('0x31'),null,_0x1f9b('0x15'))),_0x238f2e['_suggestionFactory'][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x1d'),_0x1f9b('0x15'),(_0x22d9a0,_0x3d9a93)=>this[_0x1f9b('0x38')](this[_0x1f9b('0x1d')],_0x22d9a0,_0x3d9a93)),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x1d'),_0x1f9b('0x1e'),()=>!0x1);}if(this[_0x1f9b('0x30')][_0x1f9b('0x25')][_0x1f9b('0x3a')](_0x1f9b('0x2e'))){for(const _0x334442 of this['tableCellProperties'])_0x238f2e[_0x1f9b('0x8')](_0x334442,(_0x363bdf,_0x13341a)=>{const _0x4f628b=this[_0x1f9b('0x30')][_0x1f9b('0x25')][_0x1f9b('0x0')](_0x1f9b('0xd'))[_0x1f9b('0x2a')](this[_0x1f9b('0x30')][_0x1f9b('0x6')][_0x1f9b('0x29')][_0x1f9b('0x18')]);this[_0x1f9b('0x37')](_0x334442,_0x4f628b,this[_0x1f9b('0x3c')],_0x1f9b('0x3c'),_0x363bdf,_0x13341a);});_0x238f2e['_suggestionFactory'][_0x1f9b('0x23')](_0x1f9b('0x31'),'tableCellProperties',_0x1f9b('0x3b'),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x1c')](_0x1f9b('0x31'),null,_0x1f9b('0x15'))),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x3c'),_0x1f9b('0x15'),(_0x252a57,_0x55a0c7)=>this[_0x1f9b('0x38')](this[_0x1f9b('0x3c')],_0x252a57,_0x55a0c7)),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x3c'),'join',()=>!0x1);}_0x238f2e[_0x1f9b('0xf')][_0x1f9b('0x13')](_0x122b81=>this[_0x1f9b('0x5')](_0x122b81));}[_0x1f9b('0x37')](_0x33202f,_0xdb2bdf,_0x47cefd,_0x5f63ac,_0x169698,_0x19037b){const _0x3d384=this[_0x1f9b('0x30')][_0x1f9b('0x25')]['get'](_0x1f9b('0x4'));this[_0x1f9b('0x30')][_0x1f9b('0x6')][_0x1f9b('0x9')](_0x19037b[_0x1f9b('0x36')],()=>{for(const _0x26e1b5 of _0xdb2bdf){if(this[_0x1f9b('0x20')](_0x26e1b5,_0x5f63ac))_0x169698(_0x19037b);else{const _0x13b8bb={};for(const _0x13e26c of _0x47cefd){const _0x1cf790=_0x26e1b5[_0x1f9b('0x3')](_0x13e26c);void 0x0!==_0x1cf790&&(_0x13b8bb[_0x13e26c]=_0x1cf790);}_0x169698(_0x19037b),_0x3d384[_0x1f9b('0x1')](_0x26e1b5,{'commandParams':[_0x13b8bb]},[],_0x5f63ac);}}});}['handleDiscardAction'](_0x1951f7,_0x5e1478,_0x3d7a5c){const _0x2d639a=_0x5e1478[0x0][_0x1f9b('0x7')][_0x1f9b('0x2c')],_0x431a6b=_0x3d7a5c[_0x1f9b('0x16')][0x0];this['editor'][_0x1f9b('0x6')][_0x1f9b('0x21')](_0x74d83c=>{for(const _0x42771b of _0x1951f7)void 0x0!==_0x431a6b[_0x42771b]?_0x74d83c[_0x1f9b('0x34')](_0x42771b,_0x431a6b[_0x42771b],_0x2d639a):_0x74d83c[_0x1f9b('0x27')](_0x42771b,_0x2d639a);});}['handleSuggestionDescription'](_0xc87d81){if(_0xc87d81['data'])switch(_0xc87d81[_0x1f9b('0x33')]){case _0x1f9b('0x1d'):return{'type':'format','content':_0x54eac5(this[_0x1f9b('0x30')]['locale'],_0x1f9b('0x22'))};case _0x1f9b('0x3c'):return{'type':_0x1f9b('0x12'),'content':_0x54eac5(this['editor']['locale'],_0x1f9b('0x1a'))};}}[_0x1f9b('0x20')](_0x3a947e,_0x425803){const _0x54b06c=this[_0x1f9b('0x30')][_0x1f9b('0x25')]['get'](_0x1f9b('0x4'));for(const _0x45ecd8 of _0x54b06c[_0x1f9b('0x24')]({'skipNotAttached':!0x0})){const _0x7c15a0=_0x45ecd8[_0x1f9b('0x39')]();if(_0x45ecd8[_0x1f9b('0x33')]===_0x425803&&_0x7c15a0===_0x3a947e)return _0x45ecd8;}return null;}}
23
+ const _0x19ec=['start','tableCellPadding','*Format:*\x20change\x20table\x20properties','tableProperties','getFirstPosition','subType','selection','tableBackgroundColor','TableCellPropertiesEditing','handleSuggestionDescription','accept','pluginName','TableUtils','tableWidth','afterInit','getSelectionAffectedTableCells','nodeAfter','formatBlock','table','handleDiscardAction','tableCellBackgroundColor','_handlePropertyChange','join','enableCommand','registerCustomCallback','TrackChangesEditing','editor','discard','markBlockFormat','change','plugins','tableCellBorderColor','commandParams','getSuggestionCallback','batch','locale','has','setAttribute','tableCellHorizontalAlignment','enqueueChange','tableCellProperties','_suggestionFactory','getContainedElement','removeAttribute','tableCellBorderWidth','*Format:*\x20change\x20table\x20cell\x20properties','get','document','tableAlignment','tableCellBorderStyle','_getSuggestion','registerDescriptionCallback','model','tableBorderWidth','tableCellVerticalAlignment'];(function(_0x3ecc00,_0x19ec65){const _0x412808=function(_0x1ea3f1){while(--_0x1ea3f1){_0x3ecc00['push'](_0x3ecc00['shift']());}};_0x412808(++_0x19ec65);}(_0x19ec,0x16c));const _0x4128=function(_0x3ecc00,_0x19ec65){_0x3ecc00=_0x3ecc00-0x0;let _0x412808=_0x19ec[_0x3ecc00];return _0x412808;};import{Plugin as _0x87437d}from'ckeditor5/src/core.js';import{getTranslation as _0x3a6078}from'../utils/common-translations.js';export default class Mt extends _0x87437d{constructor(_0x48b81a){super(_0x48b81a),this[_0x4128('0x18')]=['tableBorderColor','tableBorderStyle',_0x4128('0x13'),_0x4128('0xe'),_0x4128('0x22'),'tableHeight',_0x4128('0x1c')],this['tableCellProperties']=[_0x4128('0x34'),_0x4128('0xf'),_0x4128('0xa'),_0x4128('0x16'),'tableCellWidth','tableCellHeight',_0x4128('0x29'),_0x4128('0x4'),_0x4128('0x14')];}static get[_0x4128('0x20')](){return'TrackChangesTableProperties';}[_0x4128('0x23')](){const _0xf05a4b=this[_0x4128('0x2f')][_0x4128('0x33')][_0x4128('0xc')](_0x4128('0x2e'));if(this[_0x4128('0x2f')]['plugins']['has']('TablePropertiesEditing')){for(const _0x8a9b9c of this['tableProperties'])_0xf05a4b['enableCommand'](_0x8a9b9c,(_0xf83c97,_0x4d637c)=>{const _0x116b4e=this[_0x4128('0x2f')][_0x4128('0x12')]['document'][_0x4128('0x1b')][_0x4128('0x19')]()['findAncestor'](_0x4128('0x27'));this['_handlePropertyChange'](_0x8a9b9c,[_0x116b4e],this['tableProperties'],'tableProperties',_0xf83c97,_0x4d637c);});_0xf05a4b[_0x4128('0x7')]['registerCustomCallback']('formatBlock',_0x4128('0x18'),_0x4128('0x1f'),_0xf05a4b[_0x4128('0x7')][_0x4128('0x36')]('formatBlock',null,_0x4128('0x30'))),_0xf05a4b[_0x4128('0x7')][_0x4128('0x2d')]('formatBlock',_0x4128('0x18'),_0x4128('0x30'),(_0x420ff3,_0x553b77)=>this['handleDiscardAction'](this['tableProperties'],_0x420ff3,_0x553b77)),_0xf05a4b[_0x4128('0x7')][_0x4128('0x2d')](_0x4128('0x26'),_0x4128('0x18'),'join',()=>!0x1);}if(this[_0x4128('0x2f')][_0x4128('0x33')][_0x4128('0x2')](_0x4128('0x1d'))){for(const _0x555fd6 of this[_0x4128('0x6')])_0xf05a4b[_0x4128('0x2c')](_0x555fd6,(_0xd39604,_0x5c60ba)=>{const _0x529f20=this[_0x4128('0x2f')]['plugins'][_0x4128('0xc')](_0x4128('0x21'))[_0x4128('0x24')](this['editor']['model'][_0x4128('0xd')][_0x4128('0x1b')]);this[_0x4128('0x2a')](_0x555fd6,_0x529f20,this[_0x4128('0x6')],'tableCellProperties',_0xd39604,_0x5c60ba);});_0xf05a4b['_suggestionFactory'][_0x4128('0x2d')](_0x4128('0x26'),'tableCellProperties',_0x4128('0x1f'),_0xf05a4b[_0x4128('0x7')]['getSuggestionCallback'](_0x4128('0x26'),null,_0x4128('0x30'))),_0xf05a4b[_0x4128('0x7')][_0x4128('0x2d')]('formatBlock','tableCellProperties',_0x4128('0x30'),(_0x588e46,_0xa14ecd)=>this['handleDiscardAction'](this[_0x4128('0x6')],_0x588e46,_0xa14ecd)),_0xf05a4b[_0x4128('0x7')][_0x4128('0x2d')](_0x4128('0x26'),'tableCellProperties',_0x4128('0x2b'),()=>!0x1);}_0xf05a4b['_descriptionFactory'][_0x4128('0x11')](_0x503064=>this[_0x4128('0x1e')](_0x503064));}[_0x4128('0x2a')](_0x4acded,_0xd2446c,_0x6b436b,_0x149907,_0x3f971e,_0x511d33){const _0x4e1ad7=this[_0x4128('0x2f')][_0x4128('0x33')][_0x4128('0xc')](_0x4128('0x2e'));this['editor']['model'][_0x4128('0x5')](_0x511d33[_0x4128('0x0')],()=>{for(const _0x17709e of _0xd2446c){if(this[_0x4128('0x10')](_0x17709e,_0x149907))_0x3f971e(_0x511d33);else{const _0x4bfc13={};for(const _0x1142ea of _0x6b436b){const _0xf3eb34=_0x17709e['getAttribute'](_0x1142ea);void 0x0!==_0xf3eb34&&(_0x4bfc13[_0x1142ea]=_0xf3eb34);}_0x3f971e(_0x511d33),_0x4e1ad7[_0x4128('0x31')](_0x17709e,{'commandParams':[_0x4bfc13]},[],_0x149907);}}});}[_0x4128('0x28')](_0x3fc1ab,_0x175daf,_0x478b95){const _0x288bf8=_0x175daf[0x0][_0x4128('0x15')][_0x4128('0x25')],_0x197480=_0x478b95[_0x4128('0x35')][0x0];this['editor'][_0x4128('0x12')][_0x4128('0x32')](_0x3d7bec=>{for(const _0x37d1b4 of _0x3fc1ab)void 0x0!==_0x197480[_0x37d1b4]?_0x3d7bec[_0x4128('0x3')](_0x37d1b4,_0x197480[_0x37d1b4],_0x288bf8):_0x3d7bec[_0x4128('0x9')](_0x37d1b4,_0x288bf8);});}[_0x4128('0x1e')](_0x4c46cc){if(_0x4c46cc['data'])switch(_0x4c46cc[_0x4128('0x1a')]){case _0x4128('0x18'):return{'type':'format','content':_0x3a6078(this[_0x4128('0x2f')]['locale'],_0x4128('0x17'))};case _0x4128('0x6'):return{'type':'format','content':_0x3a6078(this['editor'][_0x4128('0x1')],_0x4128('0xb'))};}}[_0x4128('0x10')](_0x2a9da6,_0x527cac){const _0x3e51f7=this[_0x4128('0x2f')][_0x4128('0x33')][_0x4128('0xc')](_0x4128('0x2e'));for(const _0xc23d6 of _0x3e51f7['getSuggestions']({'skipNotAttached':!0x0})){const _0x3d1cac=_0xc23d6[_0x4128('0x8')]();if(_0xc23d6['subType']===_0x527cac&&_0x3d1cac===_0x2a9da6)return _0xc23d6;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7755=['afterInit','enableCommand','insertTemplate','TrackChangesEditing','plugins','get'];(function(_0x446bfb,_0x775548){const _0x4b9688=function(_0x8119fc){while(--_0x8119fc){_0x446bfb['push'](_0x446bfb['shift']());}};_0x4b9688(++_0x775548);}(_0x7755,0x183));const _0x4b96=function(_0x446bfb,_0x775548){_0x446bfb=_0x446bfb-0x0;let _0x4b9688=_0x7755[_0x446bfb];return _0x4b9688;};import{Plugin as _0x42e55e}from'ckeditor5/src/core.js';export default class vt extends _0x42e55e{[_0x4b96('0x3')](){const _0x11c8a1=this['editor'];_0x11c8a1[_0x4b96('0x1')]['has']('Template')&&_0x11c8a1[_0x4b96('0x1')][_0x4b96('0x2')](_0x4b96('0x0'))[_0x4b96('0x4')](_0x4b96('0x5'));}}
23
+ const _0x55de=['editor','TrackChangesEditing','has','afterInit','enableCommand','get','Template'];(function(_0x1f14fa,_0x55def0){const _0x310f22=function(_0x482bc0){while(--_0x482bc0){_0x1f14fa['push'](_0x1f14fa['shift']());}};_0x310f22(++_0x55def0);}(_0x55de,0xe6));const _0x310f=function(_0x1f14fa,_0x55def0){_0x1f14fa=_0x1f14fa-0x0;let _0x310f22=_0x55de[_0x1f14fa];return _0x310f22;};import{Plugin as _0x1fd7bd}from'ckeditor5/src/core.js';export default class vt extends _0x1fd7bd{[_0x310f('0x4')](){const _0x2dc40c=this[_0x310f('0x1')];_0x2dc40c['plugins'][_0x310f('0x3')](_0x310f('0x0'))&&_0x2dc40c['plugins'][_0x310f('0x6')](_0x310f('0x2'))[_0x310f('0x5')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2320=['isCollapsed','getChangedMarkers','afterInit','end','editor','registerPostFixer','has','nodeBefore','createRange','document','isTouching','element','plugins','locale','isEqual','from','ELEMENT_TITLE','model','removeMarker','title-content','suggestion','get','TrackChangesEditing','newRange','schema','getNearestSelectionRange','updateMarker','registerElementLabel','start'];(function(_0x1786d6,_0x2320fa){const _0x36346d=function(_0x20c605){while(--_0x20c605){_0x1786d6['push'](_0x1786d6['shift']());}};_0x36346d(++_0x2320fa);}(_0x2320,0xc6));const _0x3634=function(_0x1786d6,_0x2320fa){_0x1786d6=_0x1786d6-0x0;let _0x36346d=_0x2320[_0x1786d6];return _0x36346d;};import{Plugin as _0x31ee02}from'ckeditor5/src/core.js';import{getTranslation as _0x129d3a}from'../utils/common-translations.js';export default class Ct extends _0x31ee02{[_0x3634('0x7')](){const _0x19c188=this[_0x3634('0x9')];if(!_0x19c188[_0x3634('0x11')][_0x3634('0xb')]('Title'))return;const _0x1424f6=_0x19c188[_0x3634('0x11')][_0x3634('0x1a')](_0x3634('0x1b'));_0x1424f6['_descriptionFactory'][_0x3634('0x3')](_0x3634('0x18'),()=>_0x129d3a(_0x19c188[_0x3634('0x12')],_0x3634('0x15'))),_0x19c188[_0x3634('0x16')][_0x3634('0xe')][_0x3634('0xa')](_0x8d6413=>{let _0x5479b3=!0x1;const _0x515f7e=Array[_0x3634('0x14')](_0x19c188[_0x3634('0x16')][_0x3634('0xe')]['differ'][_0x3634('0x6')]());for(const {name:_0x12e71f,data:_0x355d93}of _0x515f7e){const {group:_0x21531e}=_0x1424f6['_splitMarkerName'](_0x12e71f);if(_0x3634('0x19')!==_0x21531e||!_0x355d93[_0x3634('0x1c')])continue;const _0x284e0c=_0x355d93[_0x3634('0x1c')],_0x59feac=_0x284e0c[_0x3634('0x8')][_0x3634('0xc')];if(!_0x59feac||!_0x59feac['is'](_0x3634('0x10'),_0x3634('0x18')))continue;if(!_0x284e0c['start'][_0x3634('0xf')](_0x284e0c['end']))continue;const _0x40eac2=_0x19c188['model'][_0x3634('0x0')][_0x3634('0x1')](_0x284e0c['end'],'forward');if(_0x40eac2&&_0x40eac2[_0x3634('0x5')]){const _0x3c99aa=_0x8d6413[_0x3634('0xd')](_0x284e0c[_0x3634('0x4')],_0x40eac2['start']);_0x3c99aa[_0x3634('0x13')](_0x284e0c)||(_0x8d6413[_0x3634('0x2')](_0x12e71f,{'range':_0x3c99aa}),_0x5479b3=!0x0);}_0x5479b3||(_0x8d6413[_0x3634('0x17')](_0x12e71f),_0x5479b3=!0x0);}return _0x5479b3;});}}
23
+ const _0x4159=['forward','start','isCollapsed','Title','afterInit','TrackChangesEditing','model','removeMarker','isTouching','updateMarker','element','createRange','newRange','title-content','isEqual','_descriptionFactory','registerPostFixer','get','ELEMENT_TITLE','has','document','end','plugins','suggestion','locale','getNearestSelectionRange','registerElementLabel'];(function(_0x64e4c,_0x415995){const _0x302284=function(_0x4fab09){while(--_0x4fab09){_0x64e4c['push'](_0x64e4c['shift']());}};_0x302284(++_0x415995);}(_0x4159,0x65));const _0x3022=function(_0x64e4c,_0x415995){_0x64e4c=_0x64e4c-0x0;let _0x302284=_0x4159[_0x64e4c];return _0x302284;};import{Plugin as _0x16e7d4}from'ckeditor5/src/core.js';import{getTranslation as _0x120614}from'../utils/common-translations.js';export default class Ct extends _0x16e7d4{[_0x3022('0xb')](){const _0x188c7d=this['editor'];if(!_0x188c7d[_0x3022('0x2')][_0x3022('0x1a')](_0x3022('0xa')))return;const _0x3091f6=_0x188c7d[_0x3022('0x2')][_0x3022('0x18')](_0x3022('0xc'));_0x3091f6[_0x3022('0x16')][_0x3022('0x6')](_0x3022('0x14'),()=>_0x120614(_0x188c7d[_0x3022('0x4')],_0x3022('0x19'))),_0x188c7d[_0x3022('0xd')][_0x3022('0x0')][_0x3022('0x17')](_0x202cc0=>{let _0xe0940d=!0x1;const _0x11dfef=Array['from'](_0x188c7d[_0x3022('0xd')][_0x3022('0x0')]['differ']['getChangedMarkers']());for(const {name:_0x1baf1a,data:_0x5aa4d8}of _0x11dfef){const {group:_0x128487}=_0x3091f6['_splitMarkerName'](_0x1baf1a);if(_0x3022('0x3')!==_0x128487||!_0x5aa4d8[_0x3022('0x13')])continue;const _0x317804=_0x5aa4d8[_0x3022('0x13')],_0x344712=_0x317804[_0x3022('0x1')]['nodeBefore'];if(!_0x344712||!_0x344712['is'](_0x3022('0x11'),_0x3022('0x14')))continue;if(!_0x317804[_0x3022('0x8')][_0x3022('0xf')](_0x317804[_0x3022('0x1')]))continue;const _0x54f738=_0x188c7d['model']['schema'][_0x3022('0x5')](_0x317804['end'],_0x3022('0x7'));if(_0x54f738&&_0x54f738[_0x3022('0x9')]){const _0x25e255=_0x202cc0[_0x3022('0x12')](_0x317804['start'],_0x54f738[_0x3022('0x8')]);_0x25e255[_0x3022('0x15')](_0x317804)||(_0x202cc0[_0x3022('0x10')](_0x1baf1a,{'range':_0x25e255}),_0xe0940d=!0x0);}_0xe0940d||(_0x202cc0[_0x3022('0xe')](_0x1baf1a),_0xe0940d=!0x0);}return _0xe0940d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ea=['UndoEditing','has','plugins','TrackChangesEditing','undo','enableCommand','redo'];(function(_0x3cf072,_0x28ea42){const _0xe24018=function(_0x2945b3){while(--_0x2945b3){_0x3cf072['push'](_0x3cf072['shift']());}};_0xe24018(++_0x28ea42);}(_0x28ea,0x164));const _0xe240=function(_0x3cf072,_0x28ea42){_0x3cf072=_0x3cf072-0x0;let _0xe24018=_0x28ea[_0x3cf072];return _0xe24018;};import{Plugin as _0x4c66b4}from'ckeditor5/src/core.js';export default class Dt extends _0x4c66b4{['afterInit'](){const _0x474fad=this['editor'],_0x3b0673=_0x474fad[_0xe240('0x3')]['get'](_0xe240('0x4'));_0x474fad[_0xe240('0x3')][_0xe240('0x2')](_0xe240('0x1'))&&(_0x3b0673[_0xe240('0x6')](_0xe240('0x5')),_0x3b0673[_0xe240('0x6')](_0xe240('0x0')));}}
23
+ const _0x3c0b=['UndoEditing','TrackChangesEditing','afterInit','redo','editor','plugins','enableCommand'];(function(_0x4e4d3d,_0x3c0be0){const _0x11e231=function(_0x43b438){while(--_0x43b438){_0x4e4d3d['push'](_0x4e4d3d['shift']());}};_0x11e231(++_0x3c0be0);}(_0x3c0b,0x1ad));const _0x11e2=function(_0x4e4d3d,_0x3c0be0){_0x4e4d3d=_0x4e4d3d-0x0;let _0x11e231=_0x3c0b[_0x4e4d3d];return _0x11e231;};import{Plugin as _0x596554}from'ckeditor5/src/core.js';export default class Dt extends _0x596554{[_0x11e2('0x0')](){const _0x23ac11=this[_0x11e2('0x2')],_0x137813=_0x23ac11['plugins']['get'](_0x11e2('0x6'));_0x23ac11[_0x11e2('0x3')]['has'](_0x11e2('0x5'))&&(_0x137813[_0x11e2('0x4')]('undo'),_0x137813[_0x11e2('0x4')](_0x11e2('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40a8=['type','consumable','isLimit','TrackChangesEditing','markerName','elementEnd','test','plugins','markerRange','getAttribute','activeMarkers','getCustomProperty','writer','previousPosition','nextSibling','schema','mapper','ck-suggestion-marker--active','listItem','item','start','isBlock','insert','element','name','ck-suggestion-marker-','span','isAtEnd','includes','listIndent','addClass','toViewElement','addHighlight','push','bindElementToMarker'];(function(_0x5cb82c,_0x40a848){const _0x36c8e8=function(_0x3751ad){while(--_0x3751ad){_0x5cb82c['push'](_0x5cb82c['shift']());}};_0x36c8e8(++_0x40a848);}(_0x40a8,0x1e9));const _0x36c8=function(_0x5cb82c,_0x40a848){_0x5cb82c=_0x5cb82c-0x0;let _0x36c8e8=_0x40a8[_0x5cb82c];return _0x36c8e8;};export function getRangesWithAttribute(_0x2a7af5,_0x3f06be,_0x527dfd){const _0x1d41d0=[];for(const _0xc7c360 of _0x3f06be['getItems']())_0xc7c360['hasAttribute'](_0x2a7af5)&&_0x1d41d0[_0x36c8('0x22')](_0x527dfd['createRangeOn'](_0xc7c360));return _0x1d41d0;}export function getElementsAffectedByListItemRename(_0x56a3f5){const _0x59bc5e=[];if(_0x56a3f5['is'](_0x36c8('0x18'),_0x36c8('0x13'))){let _0x1432b5=_0x56a3f5[_0x36c8('0xf')];for(;_0x1432b5&&_0x1432b5['is'](_0x36c8('0x18'),'listItem')&&_0x1432b5[_0x36c8('0xa')](_0x36c8('0x1e'))>0x0;)_0x59bc5e[_0x36c8('0x22')](_0x1432b5),_0x1432b5=_0x1432b5['nextSibling'];}return _0x59bc5e;}export function downcastSplitMergeMarker(_0xddff72,_0x16f6ca,{showActiveMarker:_0x130c18=!0x0}={}){const _0x381a48=_0xddff72[_0x36c8('0x8')]['get'](_0x36c8('0x4'));return(_0x534d46,_0x317ed8,_0x32a162)=>{if(!_0x32a162[_0x36c8('0x2')][_0x36c8('0x7')](_0x317ed8['markerRange'],_0x534d46[_0x36c8('0x19')]))return;const _0x52117a=_0x317ed8[_0x36c8('0x9')]['getWalker'](),_0x204c6e=_0x317ed8[_0x36c8('0x9')][_0x36c8('0x15')],_0x5118e0=_0xddff72['model'][_0x36c8('0x10')];let _0x1f514d=null,_0x276f40=null,_0x216917=!0x1,_0x2ebdf1=!0x1;for(const _0x2e105f of _0x52117a){const _0x198ece=_0x2e105f[_0x36c8('0x14')];_0x216917=_0x216917||_0x5118e0['isContent'](_0x198ece);const _0x392f84=_0x32a162['mapper'][_0x36c8('0x20')](_0x198ece);if(_0x392f84&&_0x392f84[_0x36c8('0xc')](_0x36c8('0x21')))return;_0x36c8('0x6')==_0x2e105f[_0x36c8('0x1')]&&(_0x5118e0[_0x36c8('0x16')](_0x198ece)&&!_0x5118e0[_0x36c8('0x3')](_0x198ece)&&(_0x198ece[_0x36c8('0xf')]||_0x204c6e[_0x36c8('0x1c')]?_0x1f514d&&_0x1f514d['parent']==_0x198ece||(_0x1f514d=_0x198ece,_0x14513f(_0x2e105f[_0x36c8('0xe')]),_0x2ebdf1=!0x0):_0x276f40=_0x276f40||_0x2e105f[_0x36c8('0xe')]));}function _0x14513f(_0x298365){const _0x5adb81=_0x32a162[_0x36c8('0xd')]['createUIElement'](_0x36c8('0x1b'),{'class':_0x36c8('0x1a')+_0x16f6ca}),_0x42a2cd=_0x32a162[_0x36c8('0x11')]['toViewPosition'](_0x298365);_0x130c18&&_0x381a48[_0x36c8('0xb')][_0x36c8('0x1d')](_0x317ed8[_0x36c8('0x5')])&&_0x32a162[_0x36c8('0xd')][_0x36c8('0x1f')](_0x36c8('0x12'),_0x5adb81),_0x32a162[_0x36c8('0xd')][_0x36c8('0x17')](_0x42a2cd,_0x5adb81),_0x32a162[_0x36c8('0x11')][_0x36c8('0x0')](_0x5adb81,_0x317ed8[_0x36c8('0x5')]);}_0x216917||_0x2ebdf1||!_0x276f40||_0x14513f(_0x276f40);};}
23
+ const _0x3ca3=['schema','listItem','push','hasAttribute','toViewElement','mapper','getAttribute','createUIElement','toViewPosition','writer','getCustomProperty','isContent','get','listIndent','elementEnd','insert','ck-suggestion-marker--active','addClass','plugins','test','getWalker','nextSibling','type','markerRange','element','ck-suggestion-marker-','previousPosition','bindElementToMarker','consumable','markerName','getItems','TrackChangesEditing','isAtEnd','includes','name','span'];(function(_0x382325,_0x3ca3c6){const _0x54dd82=function(_0x9b8873){while(--_0x9b8873){_0x382325['push'](_0x382325['shift']());}};_0x54dd82(++_0x3ca3c6);}(_0x3ca3,0x150));const _0x54dd=function(_0x382325,_0x3ca3c6){_0x382325=_0x382325-0x0;let _0x54dd82=_0x3ca3[_0x382325];return _0x54dd82;};export function getRangesWithAttribute(_0x137ca3,_0x2ec12a,_0x3e43b1){const _0x3f7b16=[];for(const _0x5643e7 of _0x2ec12a[_0x54dd('0x12')]())_0x5643e7[_0x54dd('0x1b')](_0x137ca3)&&_0x3f7b16[_0x54dd('0x1a')](_0x3e43b1['createRangeOn'](_0x5643e7));return _0x3f7b16;}export function getElementsAffectedByListItemRename(_0x20dea2){const _0x25e669=[];if(_0x20dea2['is'](_0x54dd('0xc'),_0x54dd('0x19'))){let _0x174212=_0x20dea2[_0x54dd('0x9')];for(;_0x174212&&_0x174212['is'](_0x54dd('0xc'),_0x54dd('0x19'))&&_0x174212[_0x54dd('0x1e')](_0x54dd('0x1'))>0x0;)_0x25e669[_0x54dd('0x1a')](_0x174212),_0x174212=_0x174212[_0x54dd('0x9')];}return _0x25e669;}export function downcastSplitMergeMarker(_0x40ee58,_0x1cc28f,{showActiveMarker:_0x335ff1=!0x0}={}){const _0x5b4921=_0x40ee58[_0x54dd('0x6')][_0x54dd('0x0')](_0x54dd('0x13'));return(_0x46a1b3,_0x96fb2e,_0x59d476)=>{if(!_0x59d476[_0x54dd('0x10')][_0x54dd('0x7')](_0x96fb2e[_0x54dd('0xb')],_0x46a1b3[_0x54dd('0x16')]))return;const _0x2ef14e=_0x96fb2e['markerRange'][_0x54dd('0x8')](),_0x5bd980=_0x96fb2e[_0x54dd('0xb')]['start'],_0x5c03f0=_0x40ee58['model'][_0x54dd('0x18')];let _0x20339c=null,_0xfc22e4=null,_0x7eebf1=!0x1,_0xcf98b0=!0x1;for(const _0x2347ab of _0x2ef14e){const _0x296ddb=_0x2347ab['item'];_0x7eebf1=_0x7eebf1||_0x5c03f0[_0x54dd('0x23')](_0x296ddb);const _0x44459f=_0x59d476[_0x54dd('0x1d')][_0x54dd('0x1c')](_0x296ddb);if(_0x44459f&&_0x44459f[_0x54dd('0x22')]('addHighlight'))return;_0x54dd('0x2')==_0x2347ab[_0x54dd('0xa')]&&(_0x5c03f0['isBlock'](_0x296ddb)&&!_0x5c03f0['isLimit'](_0x296ddb)&&(_0x296ddb[_0x54dd('0x9')]||_0x5bd980[_0x54dd('0x14')]?_0x20339c&&_0x20339c['parent']==_0x296ddb||(_0x20339c=_0x296ddb,_0x291916(_0x2347ab['previousPosition']),_0xcf98b0=!0x0):_0xfc22e4=_0xfc22e4||_0x2347ab[_0x54dd('0xe')]));}function _0x291916(_0x3c48cd){const _0x503dfd=_0x59d476[_0x54dd('0x21')][_0x54dd('0x1f')](_0x54dd('0x17'),{'class':_0x54dd('0xd')+_0x1cc28f}),_0x1eb772=_0x59d476[_0x54dd('0x1d')][_0x54dd('0x20')](_0x3c48cd);_0x335ff1&&_0x5b4921['activeMarkers'][_0x54dd('0x15')](_0x96fb2e[_0x54dd('0x11')])&&_0x59d476[_0x54dd('0x21')][_0x54dd('0x5')](_0x54dd('0x4'),_0x503dfd),_0x59d476[_0x54dd('0x21')][_0x54dd('0x3')](_0x1eb772,_0x503dfd),_0x59d476['mapper'][_0x54dd('0xf')](_0x503dfd,_0x96fb2e[_0x54dd('0x11')]);}_0x7eebf1||_0xcf98b0||!_0xfc22e4||_0x291916(_0xfc22e4);};}