@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240125.0 → 0.0.0-nightly-20240127.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 _0x4858=['getMarkers','from','getSelectionAffectedTableCells','registerPostFixer','setAttribute','rowInsertionIndexes','updateMarker','getContainedElement','table','documentSelection','wrap','trackChanges','$graveyard','column','tableCellBorderWidth','move','isInContent','_getCoordsForCells','tablePasteChainId','editingDowncast','remove','*Replace\x20table\x20cells*','getItems','markerToHighlight','deletionRanges','suggestionLoaded','TrackChangesEditing','startsWith','ck-suggestion-marker-insertion','filter','fromEntries','Users','fill','return','getRange','endRow','entries','getTableIfOnlyTableInContent','document','_splitMarkerName','elementToElement','for','_descriptionFactory','accept','get','tableCell','selection','isEqual','removeRows','length','high','element','removeMarkers','setAttributes','createElement','view','suggestion-td','removeMarker','first','includes','_tablePostFixingSubtypes','getChild','tableCellSuggestion','add','suggestion','conversion','map','createTableWalker','content','has','cell','markerName','root','redo','position','insertion','editing','plugins','_createdBatches','endColumn','tableCellBackgroundColor','paragraph','row','locale','removeColumns','tableCellBorderStyle','createRangeIn','columns','rootName','createRangeOn','markMultiRangeInsertion','low','unwrap','oldRange','getChildren','tablePasteColumn','tableCellHorizontalAlignment','getSuggestions','newRange','name','getChangedMarkers','createRange','suggestion:formatBlock:tablePasteCell','_replaceTableSlotCell','markMultiRangeBlockFormat','author','editor','createPositionBefore','getSuggestion','push','keys','join','getAllAdjacentSuggestions','findAncestor','previousSibling','nodeAfter','columnInsertionIndexes','insertRows','find','getRanges','set','tablePaste','tablePasteCell','change','last','every','value','rows','isEmpty','deletion','registerDescriptionCallback','markerAttributes','forceDefaultExecution','commands','start','attributes','tableCellVerticalAlignment','TableClipboard','dataDowncast','type','end','ck-suggestion-marker','TableUtils','subType','previous','containsRange','afterInit','getAttributes','model','tablePasteRow','clipboardOutput','markers','registerCustomCallback','insert','getShiftedBy','_suggestionFactory','formatBlock','_isForcedDefaultExecutionBlock','discard','differ','rowInsertionRanges','stop','getColumns','next','cells','tableCellBorderColor'];(function(_0x507008,_0x485840){const _0x57a8c6=function(_0x403b44){while(--_0x403b44){_0x507008['push'](_0x507008['shift']());}};_0x57a8c6(++_0x485840);}(_0x4858,0x1b6));const _0x57a8=function(_0x507008,_0x485840){_0x507008=_0x507008-0x0;let _0x57a8c6=_0x4858[_0x507008];return _0x57a8c6;};import{getTranslation as _0x36bc7b}from'../utils/common-translations.js';import{Plugin as _0x251019}from'ckeditor5/src/core.js';import{uid as _0xb103d2,priorities as _0x4c577d}from'ckeditor5/src/utils.js';import _0xe75d62 from'./table.js';const fe=[_0x57a8('0x4a'),_0x57a8('0x3b'),_0x57a8('0x91'),_0x57a8('0x9c'),_0x57a8('0x1e'),_0x57a8('0x8c'),'tableCellPadding'],be=Object[_0x57a8('0x5a')](fe[_0x57a8('0x7e')](_0x1eebd1=>[_0x1eebd1,null]));export default class At extends _0x251019{static get['requires'](){return[_0xe75d62];}[_0x57a8('0x28')](){const _0x4562ba=this[_0x57a8('0x0')];if(!_0x4562ba[_0x57a8('0x89')][_0x57a8('0x81')]('TableClipboard'))return;const _0x3b6047=_0x4562ba[_0x57a8('0x89')][_0x57a8('0x68')](_0x57a8('0x56')),_0x15c3c3=_0x4562ba[_0x57a8('0x89')]['get'](_0x57a8('0x24')),_0x58a803=_0x4562ba['plugins']['get'](_0xe75d62),_0x2de75a=_0x4562ba[_0x57a8('0x89')][_0x57a8('0x68')](_0x57a8('0x1f'));_0x58a803[_0x57a8('0x78')][_0x57a8('0x3')](_0x57a8('0x2b'),_0x57a8('0x9b')),_0x4562ba[_0x57a8('0x2a')]['schema']['register'](_0x57a8('0x7a'),{'allowIn':_0x57a8('0x69'),'allowContentOf':_0x57a8('0x69'),'isLimit':!0x0}),_0x4562ba[_0x57a8('0x7d')][_0x57a8('0x64')]({'model':_0x57a8('0x7a'),'view':_0x57a8('0x74')});let _0x2b1187=null;_0x4562ba[_0x57a8('0x2a')]['on']('insertContent',(_0x173848,_0xd2c9a9)=>{const [_0x4f8ff1,_0x54cd10]=_0xd2c9a9,_0x337872=_0xd2c9a9[_0xd2c9a9[_0x57a8('0x6d')]-0x1];_0x337872&&_0x337872[_0x57a8('0x1a')]||_0x3b6047[_0x57a8('0x33')]||this[_0x57a8('0x0')]['commands'][_0x57a8('0x68')](_0x57a8('0x47'))[_0x57a8('0x14')]&&function(_0x32f301,_0x4db286,_0x54010d,_0x384d13,_0x4f6381){if(_0x4db286&&!_0x4db286['is'](_0x57a8('0x45')))return!0x1;const _0x2af3ca=_0x4f6381[_0x57a8('0x61')](_0x32f301,_0x54010d);if(!_0x2af3ca||!de(_0x2af3ca,void 0x0,_0x384d13))return!0x1;const _0x44484b=_0x384d13[_0x57a8('0x3e')](_0x54010d[_0x57a8('0x62')][_0x57a8('0x6a')]);if(!_0x44484b['length'])return!0x1;const _0x3f04cd=_0x44484b[0x0][_0x57a8('0x7')]('table'),_0x3fddbb=_0x384d13['getRowIndexes'](_0x44484b),_0x347991=_0x384d13['getColumnIndexes'](_0x44484b),_0x55e9c8={'startRow':_0x3fddbb[_0x57a8('0x76')],'endRow':_0x3fddbb[_0x57a8('0x12')],'startColumn':_0x347991['first'],'endColumn':_0x347991[_0x57a8('0x12')]};return 0x1==_0x44484b[_0x57a8('0x6d')]&&(_0x55e9c8[_0x57a8('0x5f')]+=_0x384d13['getRows'](_0x2af3ca)-0x1,_0x55e9c8[_0x57a8('0x8b')]+=_0x384d13[_0x57a8('0x38')](_0x2af3ca)-0x1),de(_0x3f04cd,_0x55e9c8,_0x384d13);}(_0x4f8ff1,_0x54cd10,_0x4562ba[_0x57a8('0x2a')],_0x15c3c3,_0x2de75a)&&(_0x173848[_0x57a8('0x37')](),_0x2b1187={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4562ba['model'][_0x57a8('0x11')](()=>{_0x4562ba[_0x57a8('0x2a')]['insertContent'](_0xd2c9a9[0x0],_0xd2c9a9[0x1],_0xd2c9a9[0x2],{'forceDefaultExecution':!0x0});const _0xbe7ee4=_0xb103d2(),{rowInsertionRanges:_0x1c0621,columnInsertionRanges:_0x3e8b2c,insertionRanges:_0x337310,deletionRanges:_0x1c65b3,cells:_0x52bbfe}=_0x2b1187;_0x1c0621[_0x57a8('0x6d')]&&_0x3b6047[_0x57a8('0x96')](_0x1c0621,_0x57a8('0x2b'),{'tablePasteChainId':_0xbe7ee4}),_0x3e8b2c[_0x57a8('0x6d')]&&_0x3b6047['markMultiRangeInsertion'](_0x3e8b2c,_0x57a8('0x9b'),{'tablePasteChainId':_0xbe7ee4}),_0x337310[_0x57a8('0x6d')]&&_0x3b6047[_0x57a8('0x96')](_0x337310,_0x57a8('0xf'),{'tablePasteChainId':_0xbe7ee4,'skipNestingCheck':!0x0}),_0x1c65b3[_0x57a8('0x6d')]&&_0x3b6047['markMultiRangeDeletion'](_0x1c65b3,_0x57a8('0xf'),{'tablePasteChainId':_0xbe7ee4,'skipNestingCheck':!0x0});const _0x13d368=_0x3b6047[_0x57a8('0xa4')](_0x52bbfe[_0x57a8('0x7e')](({element:_0x10ab23})=>_0x10ab23),{'formatGroupId':_0xb103d2()},[],_0x57a8('0x10'),{'tablePasteChainId':_0xbe7ee4});if(_0x13d368){const _0x25bbe6=_0x13d368[_0x57a8('0x3c')](),_0x170715=[];for(const {element:_0x4cceff,attributes:_0x46b495}of _0x52bbfe){if(!_0x46b495)continue;const _0x33112b=_0x4562ba['model'][_0x57a8('0x95')](_0x4cceff),_0x93919c=_0x25bbe6['find'](_0x3e8810=>_0x3e8810[_0x57a8('0x5e')]()['isEqual'](_0x33112b));_0x93919c&&_0x170715[_0x57a8('0x3')]([_0x93919c[_0x57a8('0x9f')],_0x46b495]);}_0x170715[_0x57a8('0x6d')]&&_0x13d368[_0x57a8('0x40')](_0x57a8('0x19'),Object['fromEntries'](_0x170715));}_0x2b1187=null;}));},{'priority':_0x4c577d[_0x57a8('0x6e')]+0xa}),_0x4562ba[_0x57a8('0x89')]['get']('TableClipboard')['on'](_0x57a8('0xa3'),(_0x3c2aba,_0xb223a5)=>{const [_0x1df826,_0x55bd7f,,_0x55c192]=_0xb223a5;if(!_0x2b1187)return;_0x3c2aba[_0x57a8('0x37')]();const _0x4de662=_0x1df826[_0x57a8('0x82')],_0x7da001=_0x55bd7f,_0x353a25=ge(_0x4de662),_0x431e0f=ge(_0x7da001);_0x3c2aba[_0x57a8('0x5d')]=_0x4de662;let _0x3c33b7=null,_0x572f9d=null;if(_0x431e0f||_0x353a25){if(_0x353a25&&!_0x431e0f){_0x55c192['remove'](_0x4de662[_0x57a8('0x79')](0x0));for(const _0x3389c3 of Array['from'](_0x7da001[_0x57a8('0x9a')]()))_0x55c192[_0x57a8('0x2f')](_0x3389c3,_0x4de662,_0x57a8('0x22'));const _0x1c0ab0=_0x2b1187['rowInsertionIndexes'][_0x57a8('0x77')](_0x1df826[_0x57a8('0x8e')]),_0x629e21=_0x2b1187[_0x57a8('0xa')][_0x57a8('0x77')](_0x1df826[_0x57a8('0x49')]);_0x1c0ab0||_0x629e21||(_0x3c33b7=_0x55c192[_0x57a8('0x92')](_0x4de662));}else _0x431e0f&&!_0x353a25&&(_0x572f9d=_0x55c192[_0x57a8('0x92')](_0x4de662));}else{const _0x379c2a=_0x55c192[_0x57a8('0x72')](_0x57a8('0x7a')),_0x435527=_0x55c192[_0x57a8('0x72')](_0x57a8('0x7a'));_0x55c192[_0x57a8('0x46')](_0x55c192[_0x57a8('0x92')](_0x4de662),_0x435527),_0x55c192[_0x57a8('0x2f')](_0x379c2a,_0x4de662,0x0);for(const _0x244f18 of Array['from'](_0x7da001['getChildren']()))_0x55c192[_0x57a8('0x2f')](_0x244f18,_0x379c2a,_0x57a8('0x22'));_0x3c33b7=_0x55c192[_0x57a8('0x95')](_0x379c2a),_0x572f9d=_0x55c192['createRangeOn'](_0x435527);}const _0x9057d=Array[_0x57a8('0x3d')](_0x7da001[_0x57a8('0x29')]())[_0x57a8('0x59')](([_0x1e18ad])=>fe[_0x57a8('0x77')](_0x1e18ad));_0x2b1187[_0x57a8('0x3a')][_0x57a8('0x3')]({'element':_0x4de662,'attributes':_0x9057d[_0x57a8('0x6d')]?Object[_0x57a8('0x5a')](_0x9057d):null}),_0x3c33b7&&_0x2b1187['insertionRanges'][_0x57a8('0x3')](_0x3c33b7),_0x572f9d&&_0x2b1187[_0x57a8('0x54')]['push'](_0x572f9d);},{'priority':_0x57a8('0x6e')}),_0x15c3c3['on']('insertColumns',(_0x36943d,_0x4776f4)=>{const [_0xb770ec,_0x4990b2={}]=_0x4776f4;if(!_0x2b1187)return;const _0x114286=_0x4990b2['at']||0x0,_0x5b6893=_0x4990b2[_0x57a8('0x93')]||0x1;_0x2b1187[_0x57a8('0xa')]=new Array(_0x5b6893)[_0x57a8('0x5c')](_0x114286)[_0x57a8('0x7e')]((_0x56fea9,_0xfa7d27)=>_0x56fea9+_0xfa7d27);for(const {cell:_0x488145}of _0x15c3c3[_0x57a8('0x7f')](_0xb770ec,{'startColumn':_0x114286,'endColumn':_0x114286+_0x5b6893-0x1}))_0x2b1187['columnInsertionRanges']['push'](_0x4562ba[_0x57a8('0x2a')]['createRangeOn'](_0x488145));},{'priority':_0x57a8('0x97')}),_0x15c3c3['on'](_0x57a8('0xb'),(_0x1381b3,_0x595220)=>{const [_0x42f61d,_0x129a75={}]=_0x595220;if(!_0x2b1187)return;const _0x425ab4=_0x129a75['at']||0x0,_0x231646=_0x129a75[_0x57a8('0x15')]||0x1;_0x2b1187[_0x57a8('0x41')]=new Array(_0x231646)[_0x57a8('0x5c')](_0x425ab4)[_0x57a8('0x7e')]((_0x38ac86,_0x36d13c)=>_0x38ac86+_0x36d13c);for(const {cell:_0x376491}of _0x15c3c3[_0x57a8('0x7f')](_0x42f61d,{'startRow':_0x425ab4,'endRow':_0x425ab4+_0x231646-0x1}))_0x2b1187[_0x57a8('0x36')]['push'](_0x4562ba['model'][_0x57a8('0x95')](_0x376491));},{'priority':_0x57a8('0x97')}),_0x3b6047[_0x57a8('0x66')][_0x57a8('0x18')](_0x4fe191=>{if(_0x4fe191[_0x57a8('0x25')]&&_0x4fe191['subType'][_0x57a8('0x57')](_0x57a8('0xf')))return _0x4fe191[_0x57a8('0x26')]?{}:{'type':_0x57a8('0x87'),'content':_0x36bc7b(_0x4562ba[_0x57a8('0x8f')],_0x57a8('0x51'))};});const _0x4f3bc7=()=>!0x1;for(const _0x1e0233 of[_0x57a8('0xf'),_0x57a8('0x9b'),'tablePasteRow',_0x57a8('0x10')])_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')]('insertion',_0x1e0233,'join',_0x4f3bc7),_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')](_0x57a8('0x17'),_0x1e0233,_0x57a8('0x5'),_0x4f3bc7),_0x3b6047['_suggestionFactory']['registerCustomCallback'](_0x57a8('0x32'),_0x1e0233,_0x57a8('0x5'),_0x4f3bc7);_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')]('formatBlock',_0x57a8('0x10'),_0x57a8('0x34'),_0x4f3bc7),_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')]('formatBlock',_0x57a8('0x10'),'accept',(_0x15d4bd,_0x5aad4a,_0x2d9e6b)=>{const _0x290747=_0x15d4bd[_0x57a8('0x7e')](_0x38212e=>_0x38212e[_0x57a8('0x43')]())[_0x57a8('0x59')](_0x259634=>_0x259634),_0x231805=new Map(_0x290747['map'](_0x6e06a3=>[_0x6e06a3,null]));if(_0x2b1187)for(const {element:_0x1483ac,attributes:_0x3380c0}of _0x2b1187['cells'])_0x3380c0&&_0x231805[_0x57a8('0xe')](_0x1483ac,_0x3380c0);else{if(_0x2d9e6b&&_0x2d9e6b[_0x57a8('0x19')])for(const [_0xdbb59d,_0x1980f1]of Object[_0x57a8('0x60')](_0x2d9e6b[_0x57a8('0x19')])){const _0x1e9c30=_0x4562ba[_0x57a8('0x2a')][_0x57a8('0x2d')][_0x57a8('0x68')](_0xdbb59d),_0x43c199=_0x1e9c30?_0x1e9c30[_0x57a8('0x5e')]()[_0x57a8('0x43')]():null;_0x43c199&&_0x231805['set'](_0x43c199,_0x1980f1);}}_0x4562ba[_0x57a8('0x2a')]['change'](_0x285267=>{for(const [_0x4499b9,_0x3c685b]of _0x231805)_0x285267[_0x57a8('0x71')]({...be,..._0x3c685b},_0x4499b9);});});const _0x4997f2=(_0x4b9327,_0x4d989c)=>{_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')](_0x4b9327,_0x57a8('0xf'),_0x4d989c,(_0x3bf34b,_0xfa5bb8,_0x1b8d5b)=>{_0x4562ba[_0x57a8('0x2a')][_0x57a8('0x11')](_0x19b9b1=>{const _0xf12617=[];for(const _0x10a2e4 of _0x3bf34b){const _0x1706c6=_0x10a2e4[_0x57a8('0x1c')][_0x57a8('0x9')];_0x1706c6['is'](_0x57a8('0x6f'),_0x57a8('0x7a'))&&_0xf12617['push'](_0x1706c6);}_0x3b6047[_0x57a8('0x31')]['getSuggestionCallback'](_0x4b9327,null,_0x4d989c)(_0x3bf34b,_0xfa5bb8,_0x1b8d5b);for(const _0x359fea of _0xf12617)_0x57a8('0x48')!=_0x359fea[_0x57a8('0x84')][_0x57a8('0x94')]&&_0x19b9b1[_0x57a8('0x98')](_0x359fea);});});};_0x4997f2(_0x57a8('0x87'),_0x57a8('0x67')),_0x4997f2(_0x57a8('0x87'),_0x57a8('0x34')),_0x4997f2(_0x57a8('0x17'),'accept'),_0x4997f2(_0x57a8('0x17'),_0x57a8('0x34')),_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')]('insertion','tablePasteRow',_0x57a8('0x34'),_0x5acd83=>{const _0x4aab7b=_0x5acd83[_0x57a8('0x7e')](_0x2ef1d9=>_0x2ef1d9[_0x57a8('0x43')]()),_0xab0cdb=_0x4aab7b[0x0][_0x57a8('0x7')]('table'),{minRow:_0x169b7e,maxRow:_0x18c568}=_0x58a803[_0x57a8('0x4d')](_0x4aab7b);_0x15c3c3[_0x57a8('0x6c')](_0xab0cdb,{'at':_0x169b7e,'rows':_0x18c568-_0x169b7e+0x1});}),_0x3b6047[_0x57a8('0x31')][_0x57a8('0x2e')](_0x57a8('0x87'),'tablePasteColumn','discard',_0x404474=>{const _0x1169f0=_0x404474['map'](_0x5c872e=>_0x5c872e[_0x57a8('0x43')]()),_0x2423ed=_0x1169f0[0x0][_0x57a8('0x7')](_0x57a8('0x44')),{minColumn:_0x2abbf6,maxColumn:_0x47869a}=_0x58a803[_0x57a8('0x4d')](_0x1169f0);_0x15c3c3[_0x57a8('0x90')](_0x2423ed,{'at':_0x2abbf6,'columns':_0x47869a-_0x2abbf6+0x1});});const _0x589ae0=(_0x5c09d0,_0x1ab942)=>{if(!_0x1ab942[_0x57a8('0x25')]||!_0x1ab942[_0x57a8('0x25')][_0x57a8('0x57')](_0x57a8('0xf')))return;const _0x47498e=_0x1ab942[_0x57a8('0x1d')][_0x57a8('0x4e')],_0x32908d=_0x3b6047[_0x57a8('0x9d')]()[_0x57a8('0x59')](_0xeda12b=>_0xeda12b['isInContent']&&_0xeda12b[_0x57a8('0x1d')]&&_0xeda12b[_0x57a8('0x1d')][_0x57a8('0x4e')]==_0x47498e);_0x32908d['length']&&_0x1ab942['getAllAdjacentSuggestions']()['length']!=_0x32908d[_0x57a8('0x6d')]&&_0x32908d['reduce']((_0x2032e2,_0x14a5cf)=>(_0x2032e2[_0x57a8('0x39')]=_0x14a5cf,_0x14a5cf[_0x57a8('0x26')]=_0x2032e2,_0x14a5cf));};function _0x502403(_0x4dbd09,_0x55d3f5=!0x0){const {id:_0x5dbeb0}=_0x3b6047[_0x57a8('0x63')](_0x4dbd09[_0x57a8('0x83')]),_0x21cebe=[_0x57a8('0x23'),_0x57a8('0x58')],_0x374793=_0x3b6047['activeMarkers'][_0x57a8('0x77')](_0x4dbd09[_0x57a8('0x83')]);return _0x374793&&_0x21cebe[_0x57a8('0x3')]('ck-suggestion-marker--active'),{'classes':_0x21cebe,'attributes':{'data-suggestion':_0x5dbeb0},'priority':_0x374793&&_0x55d3f5?0xbc2:0xbb8};}_0x3b6047['on'](_0x57a8('0x55'),_0x589ae0,{'priority':_0x57a8('0x6e')}),_0x3b6047['on']('suggestionUnloaded',_0x589ae0,{'priority':_0x57a8('0x6e')}),_0x4562ba['model'][_0x57a8('0x62')][_0x57a8('0x3f')](()=>{let _0x7edcc9=!0x1;const _0x1b926f=Array['from'](_0x4562ba['model'][_0x57a8('0x62')][_0x57a8('0x35')][_0x57a8('0xa0')]());for(const {name:_0x499952,data:_0x2e9d01}of _0x1b926f){const {group:_0x3a4764,type:_0x48614f,id:_0x23137d}=_0x3b6047[_0x57a8('0x63')](_0x499952);if(_0x57a8('0x7c')!=_0x3a4764||_0x57a8('0x17')!=_0x48614f||_0x2e9d01[_0x57a8('0x99')])continue;if(!_0x3b6047['hasSuggestion'](_0x23137d))continue;const _0x2437f8=_0x3b6047[_0x57a8('0x2')](_0x23137d)[_0x57a8('0xd')](),_0x22bb72=_0x4562ba[_0x57a8('0x89')][_0x57a8('0x68')](_0x57a8('0x5b'))['me'];for(const _0xdcd409 of _0x3b6047[_0x57a8('0x9d')]()){if(!_0xdcd409['isInContent']||_0xdcd409['author']!=_0x22bb72)continue;if(_0x57a8('0x32')!=_0xdcd409[_0x57a8('0x21')]||_0x57a8('0x10')!=_0xdcd409[_0x57a8('0x25')])continue;if(_0xdcd409['getRanges']()[_0x57a8('0x13')](_0x48dd47=>_0x2437f8['some'](_0x144a88=>_0x144a88['containsRange'](_0x48dd47,!0x0))))for(const _0x3b2532 of _0xdcd409[_0x57a8('0x6')]())_0x3b2532[_0x57a8('0x4c')]&&(_0x3b2532[_0x57a8('0x34')](),_0x7edcc9=!0x0);}}return _0x7edcc9;}),_0x4562ba[_0x57a8('0x2a')][_0x57a8('0x62')][_0x57a8('0x3f')](_0x69fb8b=>{const _0x13f0ac=_0x4562ba[_0x57a8('0x1b')][_0x57a8('0x68')](_0x57a8('0x85'));if(!_0x13f0ac||!_0x13f0ac[_0x57a8('0x8a')][_0x57a8('0x81')](_0x69fb8b['batch']))return!0x1;let _0x3c153f=!0x1;const _0x4961b7=_0x4562ba[_0x57a8('0x89')]['get'](_0x57a8('0x5b'))['me'],_0x495f51=_0x4562ba[_0x57a8('0x2a')][_0x57a8('0x62')][_0x57a8('0x35')]['getChanges'](),_0x34ac9a=Array[_0x57a8('0x3d')](_0x4562ba[_0x57a8('0x2a')]['document'][_0x57a8('0x35')]['getChangedMarkers']())['filter'](({name:_0xce4ef1,data:_0x309840})=>{const {group:_0x224661,subType:_0x271955,authorId:_0x89cd3f}=_0x3b6047[_0x57a8('0x63')](_0xce4ef1);return _0x57a8('0x7c')==_0x224661&&'tablePaste'==_0x271955&&_0x89cd3f==_0x4961b7['id']&&!_0x309840[_0x57a8('0x99')];});for(const _0x526978 of _0x495f51){if(_0x57a8('0x2f')!=_0x526978['type']||_0x57a8('0x7a')!=_0x526978[_0x57a8('0x9f')]||0x1!=_0x526978[_0x57a8('0x6d')])continue;const _0x404401=_0x69fb8b[_0x57a8('0xa1')](_0x526978['position'],_0x526978[_0x57a8('0x86')][_0x57a8('0x30')](0x1));if(!_0x34ac9a[_0x57a8('0xc')](({data:_0x301e9d})=>_0x301e9d[_0x57a8('0x9e')][_0x57a8('0x6b')](_0x404401)))for(const {name:_0x277158,data:_0x53381b}of _0x34ac9a)if(_0x404401[_0x57a8('0x27')](_0x53381b['newRange'])){_0x69fb8b[_0x57a8('0x42')](_0x277158,{'range':_0x404401}),_0x3c153f=!0x0;break;}}return _0x3c153f;}),_0x4562ba[_0x57a8('0x2a')]['document'][_0x57a8('0x3f')](_0x5bf5e9=>{let _0x1f7369=!0x1;const _0x53f7e2=_0x4562ba['plugins'][_0x57a8('0x68')](_0x57a8('0x5b'))['me'],_0x47ed0b=_0x3b6047[_0x57a8('0x9d')]()[_0x57a8('0x59')](_0xfe02bb=>_0xfe02bb[_0x57a8('0x4c')]&&_0xfe02bb[_0x57a8('0xa5')]==_0x53f7e2),_0x5b2473=new Set(),_0x51f097=new Set();for(const _0x5e676e of _0x47ed0b)if('tablePaste'==_0x5e676e[_0x57a8('0x25')])for(const _0x2654df of _0x5e676e[_0x57a8('0x3c')]()){const _0xd6ae0=_0x2654df[_0x57a8('0x5e')]()[_0x57a8('0x43')]();if(_0xd6ae0){if(_0xd6ae0['is']('element',_0x57a8('0x7a'))&&ge(_0xd6ae0)){_0x5e676e[_0x57a8('0x75')](_0x2654df[_0x57a8('0x9f')]),_0x5b2473[_0x57a8('0x7b')](_0xd6ae0),_0x1f7369=!0x0;const _0x38a677=_0xd6ae0['nextSibling'],_0x1015d8=_0xd6ae0[_0x57a8('0x8')],_0x75a302=_0x38a677&&_0x38a677['is'](_0x57a8('0x6f'),_0x57a8('0x7a')),_0x79dad9=_0x1015d8&&_0x1015d8['is']('element',_0x57a8('0x7a'));_0x75a302&&!_0x5b2473['has'](_0x38a677)&&_0x51f097[_0x57a8('0x7b')](_0x38a677),_0x79dad9&&!_0x5b2473[_0x57a8('0x81')](_0x1015d8)&&_0x51f097['add'](_0x1015d8);}else _0xd6ae0['is']('element','paragraph')&&_0xd6ae0[_0x57a8('0x16')]&&(_0x5e676e[_0x57a8('0x75')](_0x2654df['name']),_0x1f7369=!0x0);}}else{if('tablePasteCell'==_0x5e676e[_0x57a8('0x25')]){if(!_0x5e676e[_0x57a8('0x1d')]||!_0x5e676e['attributes'][_0x57a8('0x4e')])continue;const _0x8c3c97=_0x5e676e['attributes'][_0x57a8('0x19')];if(_0x8c3c97&&Object[_0x57a8('0x4')](_0x8c3c97)[_0x57a8('0x6d')])continue;const _0xf9baa8=_0x5e676e['attributes'][_0x57a8('0x4e')];let _0x1a5288=!0x0,_0x592774=!0x0;for(const _0x2ecd1a of _0x47ed0b)if(_0x2ecd1a['subType']&&_0x2ecd1a[_0x57a8('0x25')]['startsWith']('tablePaste')){if(!_0x2ecd1a[_0x57a8('0x1d')][_0x57a8('0x4e')]){_0x592774=!0x1;break;}if(_0x2ecd1a['id']!=_0x5e676e['id']&&_0x2ecd1a[_0x57a8('0x1d')][_0x57a8('0x4e')]==_0xf9baa8){_0x1a5288=!0x1;break;}}_0x592774&&_0x1a5288&&(_0x5e676e[_0x57a8('0x70')](),_0x1f7369=!0x0);}}for(const _0x55de93 of _0x5b2473)_0x5bf5e9[_0x57a8('0x50')](_0x55de93);for(const _0x4bb2cc of _0x51f097)_0x5bf5e9[_0x57a8('0x98')](_0x4bb2cc);return _0x1f7369;}),_0x4562ba[_0x57a8('0x7d')][_0x57a8('0x65')](_0x57a8('0x4f'))[_0x57a8('0x53')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1ed74f,_0x5106f6)=>_0x502403(_0x1ed74f),'converterPriority':_0x57a8('0x6e')}),_0x4562ba[_0x57a8('0x7d')][_0x57a8('0x65')](_0x57a8('0x20'))[_0x57a8('0x53')]({'model':_0x57a8('0xa2'),'view':(_0x335e49,_0x4992af)=>_0x4992af['options']['showSuggestionHighlights']?_0x502403(_0x335e49,!0x1):null,'converterPriority':_0x57a8('0x6e')});const _0x3a571a=_0x4562ba[_0x57a8('0x88')][_0x57a8('0x73')];this['listenTo'](_0x3a571a['document'],_0x57a8('0x2c'),(_0x34ac61,_0x4daca1)=>{const _0x47c04c=[];for(const _0xb240cd of _0x3a571a[_0x57a8('0x92')](_0x4daca1[_0x57a8('0x80')])[_0x57a8('0x52')]())_0xb240cd['is'](_0x57a8('0x6f'),_0x57a8('0x74'))&&_0x47c04c[_0x57a8('0x3')](_0xb240cd);_0x3a571a[_0x57a8('0x11')](_0x4f3a61=>{for(const _0x3704b3 of _0x47c04c)_0x4f3a61[_0x57a8('0x4b')](_0x4f3a61['createRangeIn'](_0x3704b3),_0x4f3a61[_0x57a8('0x1')](_0x3704b3)),_0x4f3a61['remove'](_0x3704b3);});});}}function ge(_0x492a33){if(_0x492a33[_0x57a8('0x16')])return!0x0;const _0x3b2c4a=_0x492a33[_0x57a8('0x79')](0x0);return _0x3b2c4a['is'](_0x57a8('0x6f'),_0x57a8('0x8d'))&&_0x3b2c4a[_0x57a8('0x16')];}function de(_0x3f2243,_0x26907d={},_0x83d6ab){for(const {isAnchor:_0xf50e3f,cellHeight:_0x86c6bb,cellWidth:_0x12662f}of _0x83d6ab[_0x57a8('0x7f')](_0x3f2243,{'includeAllSlots':!0x0,..._0x26907d}))if(!_0xf50e3f||0x1!=_0x86c6bb||0x1!=_0x12662f)return!0x1;return!0x0;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c43=['resizeTable','commandParams','getTableColumnsWidths','data','markBlockFormat','TableColumnResizeEditing','registerCustomCallback','formatInline','discard','columnWidths','document','handleSuggestionDescription','resizeTableWidth','handleResizeTableWidthCommand','locale','getColumnGroupElement','*Format:*\x20resize\x20table','_descriptionFactory','plugins','has','enableCommand','tableWidth','get','_suggestionFactory','accept','model','editor','change','formatGroupId','format','bind','getContainedElement','getSuggestionCallback','TrackChangesEditing','author','subType','table','getAttribute','formatBlock'];(function(_0x29087f,_0x5c4315){const _0x56e0f4=function(_0x4e565f){while(--_0x4e565f){_0x29087f['push'](_0x29087f['shift']());}};_0x56e0f4(++_0x5c4315);}(_0x5c43,0x110));const _0x56e0=function(_0x29087f,_0x5c4315){_0x29087f=_0x29087f-0x0;let _0x56e0f4=_0x5c43[_0x29087f];return _0x56e0f4;};import{Plugin as _0x4a40b6}from'ckeditor5/src/core.js';import{getTranslation as _0x34cd55}from'../utils/common-translations.js';export default class It extends _0x4a40b6{['afterInit'](){if(!this[_0x56e0('0x1b')][_0x56e0('0x13')][_0x56e0('0x14')](_0x56e0('0x6')))return;const _0xb91416=this[_0x56e0('0x1b')]['plugins']['get']('TrackChangesEditing');_0xb91416[_0x56e0('0x15')](_0x56e0('0xd'),this[_0x56e0('0xe')][_0x56e0('0x1f')](this)),_0xb91416[_0x56e0('0x18')][_0x56e0('0x7')](_0x56e0('0x0'),_0x56e0('0x1'),_0x56e0('0x19'),_0xb91416[_0x56e0('0x18')]['getSuggestionCallback'](_0x56e0('0x0'),null,_0x56e0('0x9'))),_0xb91416[_0x56e0('0x18')]['registerCustomCallback'](_0x56e0('0x0'),_0x56e0('0x1'),_0x56e0('0x9'),_0xb91416[_0x56e0('0x18')][_0x56e0('0x21')](_0x56e0('0x0'),null,'accept')),_0xb91416[_0x56e0('0x12')]['registerDescriptionCallback'](this[_0x56e0('0xc')][_0x56e0('0x1f')](this));}[_0x56e0('0xe')](_0x46af9c,_0x2faf15){const _0x51114d=this[_0x56e0('0x1b')]['plugins']['get'](_0x56e0('0x22')),_0x6e979=this[_0x56e0('0x1b')][_0x56e0('0x13')][_0x56e0('0x17')](_0x56e0('0x6')),_0x56cc38=_0x2faf15[_0x56e0('0x25')]||this['editor'][_0x56e0('0x1a')][_0x56e0('0xb')]['selection']['getSelectedElement']();this['editor'][_0x56e0('0x1a')][_0x56e0('0x1c')](()=>{const _0x43c5b0=_0x6e979[_0x56e0('0x10')](_0x56cc38);let _0x1d381f=_0x43c5b0?_0x6e979[_0x56e0('0x3')](_0x43c5b0):null,_0x6329c=_0x56cc38[_0x56e0('0x26')]('tableWidth')||null;const _0x165e33=_0x2faf15[_0x56e0('0x16')]||_0x6329c,_0x1c1af7=_0x2faf15[_0x56e0('0xa')]||_0x1d381f,_0x473db9=this[_0x56e0('0x1b')][_0x56e0('0x13')][_0x56e0('0x17')]('Users')['me'];for(const _0x5b5b3c of _0x51114d['getSuggestions']()){const _0x37e44a=_0x5b5b3c[_0x56e0('0x20')]();if(_0x56e0('0x1')===_0x5b5b3c[_0x56e0('0x24')]&&_0x37e44a===_0x56cc38){_0x5b5b3c[_0x56e0('0x23')]!==_0x473db9&&_0x5b5b3c[_0x56e0('0x9')]();const _0x3bfbe0=_0x5b5b3c[_0x56e0('0x4')][_0x56e0('0x2')];_0x6329c=_0x3bfbe0[0x0][_0x56e0('0x16')],_0x1d381f=_0x3bfbe0[0x0]['columnWidths'];break;}}_0x46af9c({'table':_0x56cc38,'tableWidth':_0x165e33,'columnWidths':_0x1c1af7}),_0x51114d[_0x56e0('0x5')](_0x56cc38,{'commandName':_0x56e0('0xd'),'commandParams':[{'tableWidth':_0x6329c,'columnWidths':_0x1d381f}],'formatGroupId':_0x56e0('0x1')},[],'resizeTable');});}[_0x56e0('0xc')](_0x3610f5){if(_0x56e0('0x0')!=_0x3610f5['type']&&_0x56e0('0x8')!=_0x3610f5['type'])return;const {data:_0x59659a}=_0x3610f5;if(_0x59659a&&'resizeTable'===_0x59659a[_0x56e0('0x1d')]){const _0x2414ed=_0x56e0('0x11');return{'type':_0x56e0('0x1e'),'content':_0x34cd55(this[_0x56e0('0x1b')][_0x56e0('0xf')],_0x2414ed)};}}}
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)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3db9=['addClass','_suggestionFactory','createTableWalker','afterInit','getSuggestion','forceValue','ck-suggestion-marker--active','headingColumns','data','removeClass','stop','getCellLocation','registerCustomCallback','ck-suggestion-marker-','parent','TrackChangesEditing','editing','cell','toViewElement','addMarker:suggestion','mapper','includes','locale','_registerLegacyDescription','registerAttributeLabel','start','_splitMarkerName','headingRows','_handleLegacySuggestions','FORMAT_HEADER_ROW','setAttribute','data-suggestion','consume','markerRange','format','unbindElementFromMarkerName','_descriptionFactory','FORMAT_REGULAR_COLUMN','plugins','removeMarker:suggestion','end','setTableRowHeader','setTableColumnHeader','FORMAT_HEADER_COLUMN','markerNameToElements','highest','get','accept','has','*Format:*\x20%0','downcastDispatcher','requires','commandName','writer','type','formatBlock','name','markerName','nodeBefore','editor','item','_enableDefaultAttributesIntegration'];(function(_0x9b49c9,_0x3db90c){const _0x301b7e=function(_0x4dc34e){while(--_0x4dc34e){_0x9b49c9['push'](_0x9b49c9['shift']());}};_0x301b7e(++_0x3db90c);}(_0x3db9,0x8c));const _0x301b=function(_0x9b49c9,_0x3db90c){_0x9b49c9=_0x9b49c9-0x0;let _0x301b7e=_0x3db9[_0x9b49c9];return _0x301b7e;};import{Plugin as _0x3f3638}from'ckeditor5/src/core.js';import _0x551c89 from'./table.js';import{getTranslation as _0x4a0d79}from'../utils/common-translations.js';export default class St extends _0x3f3638{static get[_0x301b('0x23')](){return[_0x551c89];}[_0x301b('0x31')](){const _0x4c3e69=this[_0x301b('0x2b')];if(!_0x4c3e69[_0x301b('0x16')][_0x301b('0x20')]('TableEditing'))return;const _0x11d8c2=_0x4c3e69[_0x301b('0x6')],_0x5c148f=_0x4c3e69[_0x301b('0x16')]['get'](_0x301b('0x3d'));_0x5c148f[_0x301b('0x2d')](_0x301b('0x19'),[],['headingRows']),_0x5c148f['_enableDefaultAttributesIntegration'](_0x301b('0x1a'),[],['headingColumns']),_0x5c148f['_descriptionFactory'][_0x301b('0x8')](_0x301b('0xb'),_0x4a0d79(_0x11d8c2,_0x301b('0xd'))),_0x5c148f[_0x301b('0x14')][_0x301b('0x8')](_0x301b('0x35'),_0x4a0d79(_0x11d8c2,_0x301b('0x1b'))),this[_0x301b('0xc')]();}[_0x301b('0xc')](){const _0x3711e5=this[_0x301b('0x2b')]['plugins'][_0x301b('0x1e')](_0x301b('0x3d')),_0x1afd20=this[_0x301b('0x2b')][_0x301b('0x16')]['get']('TableUtils'),_0x197b73=this[_0x301b('0x2b')][_0x301b('0x16')][_0x301b('0x1e')](_0x551c89)['_acceptFormatSuggestionCallbackFactory']();function _0x13455d({showActiveMarker:_0x3896a9=!0x0,setDataAttribute:_0x426a34=!0x0}={}){return(_0x3c91bb,_0x509a6d,_0x13d460)=>{const {type:_0x154093,id:_0x7b232c}=_0x3711e5[_0x301b('0xa')](_0x509a6d[_0x301b('0x29')]),_0x2eae93=_0x3711e5['getSuggestion'](_0x7b232c),_0x5d9649=_0x2eae93['data'];if(_0x301b('0x27')!=_0x2eae93['type']||!_0x5d9649||_0x301b('0x1a')!=_0x5d9649[_0x301b('0x24')])return;if(_0x509a6d[_0x301b('0x2c')])return void _0x3c91bb[_0x301b('0x38')]();if(!_0x13d460['consumable'][_0x301b('0x10')](_0x509a6d['markerRange'],_0x3c91bb[_0x301b('0x28')]))return;const _0x1c7144=_0x509a6d[_0x301b('0x11')][_0x301b('0x9')]['nodeAfter'],_0x1a403e=_0x509a6d[_0x301b('0x11')][_0x301b('0x18')][_0x301b('0x2a')],_0x23e685=_0x1c7144[_0x301b('0x3c')]['parent'],{column:_0x1a9977}=_0x1afd20[_0x301b('0x39')](_0x1c7144),{column:_0x3c1472}=_0x1afd20[_0x301b('0x39')](_0x1a403e);for(let _0x12c750=_0x1a9977;_0x12c750<=_0x3c1472;_0x12c750++){const _0x44e759=_0x1afd20[_0x301b('0x30')](_0x23e685,{'column':_0x12c750,'includeAllSlots':!0x1});for(const _0xdcb3b5 of _0x44e759){const _0x43c694=_0xdcb3b5[_0x301b('0x1')],_0x71290c=_0x13d460['mapper'][_0x301b('0x2')](_0x43c694);_0x13d460[_0x301b('0x25')]['addClass'](_0x301b('0x3b')+_0x154093,_0x71290c),_0x426a34&&_0x13d460[_0x301b('0x25')][_0x301b('0xe')](_0x301b('0xf'),_0x7b232c,_0x71290c),_0x13d460[_0x301b('0x4')]['bindElementToMarker'](_0x71290c,_0x509a6d['markerName']),_0x3896a9&&(_0x3711e5['activeMarkers'][_0x301b('0x5')](_0x509a6d[_0x301b('0x29')])?_0x13d460['writer'][_0x301b('0x2e')](_0x301b('0x34'),_0x71290c):_0x13d460[_0x301b('0x25')][_0x301b('0x37')]('ck-suggestion-marker--active',_0x71290c));}}};}_0x3711e5[_0x301b('0x2f')][_0x301b('0x3a')](_0x301b('0x27'),_0x301b('0x19'),_0x301b('0x1f'),_0x197b73),_0x3711e5[_0x301b('0x2f')][_0x301b('0x3a')]('formatBlock','setTableColumnHeader',_0x301b('0x1f'),_0x197b73),this[_0x301b('0x2b')]['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x13455d(),{'priority':'highest'}),this['editor']['data'][_0x301b('0x22')]['on'](_0x301b('0x3'),(_0x5cd1b4,_0x2a6cdb,_0x355dc0)=>{_0x355dc0['options']['showSuggestionHighlights']&&_0x13455d({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5cd1b4,_0x2a6cdb,_0x355dc0);},{'priority':'highest'}),this[_0x301b('0x2b')][_0x301b('0x0')][_0x301b('0x22')]['on'](_0x301b('0x17'),(_0x5b83b7,_0x2e3062,_0x4f7b2c)=>{const {type:_0x14d4c6,id:_0x2d752e}=_0x3711e5['_splitMarkerName'](_0x2e3062[_0x301b('0x29')]),_0x2bc4bb=_0x3711e5[_0x301b('0x32')](_0x2d752e),_0xd15d39=_0x2bc4bb[_0x301b('0x36')];if(_0x301b('0x27')!=_0x2bc4bb['type']||!_0xd15d39||_0x301b('0x1a')!=_0xd15d39[_0x301b('0x24')])return;const _0x866ded=_0x4f7b2c[_0x301b('0x4')][_0x301b('0x1c')](_0x2e3062[_0x301b('0x29')]);if(_0x866ded)for(const _0x163374 of _0x866ded)_0x4f7b2c[_0x301b('0x25')][_0x301b('0x37')](_0x301b('0x3b')+_0x14d4c6,_0x163374),_0x4f7b2c['writer']['removeClass']('ck-suggestion-marker--active',_0x163374),_0x4f7b2c[_0x301b('0x25')]['removeAttribute'](_0x301b('0xf'),_0x163374),_0x4f7b2c[_0x301b('0x4')][_0x301b('0x13')](_0x163374,_0x2e3062[_0x301b('0x29')]);},{'priority':_0x301b('0x1d')}),this['_registerLegacyDescription']();}[_0x301b('0x7')](){const _0x1f3031=this['editor'],_0x5c1e02=_0x1f3031[_0x301b('0x6')];function _0x2ebbd4(_0x3d8f6e){return{'type':_0x301b('0x12'),'content':_0x4a0d79(_0x5c1e02,_0x301b('0x21'),_0x3d8f6e)};}_0x1f3031['plugins'][_0x301b('0x1e')]('TrackChangesEditing')[_0x301b('0x14')]['registerDescriptionCallback'](_0x4b6bd6=>{if('formatBlock'!=_0x4b6bd6[_0x301b('0x26')])return;const {data:_0x42c67d}=_0x4b6bd6;if(_0x42c67d){if(_0x301b('0x19')==_0x42c67d[_0x301b('0x24')]){const _0x146f17=_0x42c67d['commandParams'][0x0][_0x301b('0x33')];return _0x2ebbd4(_0x4a0d79(_0x5c1e02,_0x146f17?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if(_0x301b('0x1a')==_0x42c67d[_0x301b('0x24')]){const _0x4dc20b=_0x42c67d['commandParams'][0x0][_0x301b('0x33')];return _0x2ebbd4(_0x4a0d79(_0x5c1e02,_0x4dc20b?_0x301b('0x1b'):_0x301b('0x15')));}}});}}
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')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27a9=['getRanges','fromRange','accept','containsRange','model','$graveyard','horizontally','return','commands','TrackChangesEditing','formatBlock','author','selection','isInContent','_tablePostFixingSubtypes','rootName','length','highest','splitTableCellVertically','value','find','push','editor','mergeTableCellDown','forceDefaultExecution','document','formatInline','findAncestor','getAncestors','change','from','mergeTableCellRight','_descriptionFactory','map','add','_isForcedDefaultExecutionBlock','plugins','filter','enableCommand','*Split\x20cell:*\x20vertically','type','afterInit','table','deletion','TableEditing','_acceptFormatSuggestionCallbackFactory','commandName','mergeTableCellUp','root','createTableWalker','getSelectionAffectedTableCells','splitTableCellHorizontally','_areMergableCells','format','get','requires','TableUtils','subType','*Split\x20cell:*\x20horizontally','getCellLocation','low','markMultiRangeBlockFormat','mergeTableCells','locale','registerDescriptionCallback','getSuggestions','has','refresh','stop','createRangeOn','cell','mergeTableCellLeft','setSelection','*Merge\x20cells*','_areSelectedCellsMergable','registerCustomCallback','_suggestionFactory','size'];(function(_0x3b7a4c,_0x27a9b3){const _0x2fff7d=function(_0x2c6458){while(--_0x2c6458){_0x3b7a4c['push'](_0x3b7a4c['shift']());}};_0x2fff7d(++_0x27a9b3);}(_0x27a9,0x15e));const _0x2fff=function(_0x3b7a4c,_0x27a9b3){_0x3b7a4c=_0x3b7a4c-0x0;let _0x2fff7d=_0x27a9[_0x3b7a4c];return _0x2fff7d;};import{Plugin as _0x409193}from'ckeditor5/src/core.js';import _0x6e1d7c from'./table.js';import{LiveRange as _0x3acde8}from'ckeditor5/src/engine.js';import{getTranslation as _0x4830d6}from'../utils/common-translations.js';export default class jt extends _0x409193{static get[_0x2fff('0x11')](){return[_0x6e1d7c];}[_0x2fff('0x3')](){const _0x3fc771=this['editor'],_0x5c4a8f=_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x41')][_0x2fff('0x34')],_0x5e28a2=_0x3fc771[_0x2fff('0x19')];if(!_0x3fc771[_0x2fff('0x4c')][_0x2fff('0x1c')](_0x2fff('0x6')))return;const _0x1d4590=_0x3fc771[_0x2fff('0x4c')][_0x2fff('0x10')](_0x2fff('0x31')),_0x5621ea=_0x3fc771[_0x2fff('0x4c')]['get'](_0x2fff('0x12')),_0x2b28e1=_0x3fc771[_0x2fff('0x4c')][_0x2fff('0x10')](_0x6e1d7c);_0x2b28e1[_0x2fff('0x36')][_0x2fff('0x3d')](_0x2fff('0x18')),_0x1d4590['enableCommand'](_0x2fff('0x18'),()=>{const _0x25b267=_0x5621ea[_0x2fff('0xc')](_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x41')][_0x2fff('0x34')]);_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x45')](()=>{_0x1d4590[_0x2fff('0x17')](_0x25b267,{'commandName':_0x2fff('0x18'),'commandParams':[]},[],_0x2fff('0x18'));});}),_0x3fc771['commands'][_0x2fff('0x10')](_0x2fff('0x18'))['on']('execute',(_0x3a70f9,_0x239b4f)=>{_0x3fc771[_0x2fff('0x30')][_0x2fff('0x10')]('trackChanges')[_0x2fff('0x3b')]&&(_0x239b4f[_0x2fff('0x38')]>0x0&&_0x239b4f[_0x239b4f[_0x2fff('0x38')]-0x1]&&_0x239b4f[_0x239b4f[_0x2fff('0x38')]-0x1][_0x2fff('0x40')]||_0x1d4590[_0x2fff('0x4b')]||this['_areSelectedCellsMergable']()||_0x3a70f9[_0x2fff('0x1e')]());},{'priority':_0x2fff('0x39')});for(const _0x12e66b of['mergeTableCellUp',_0x2fff('0x47'),_0x2fff('0x3f'),_0x2fff('0x21')]){const _0x315244=_0x3fc771[_0x2fff('0x30')][_0x2fff('0x10')](_0x12e66b);_0x1d4590[_0x2fff('0x0')](_0x12e66b,()=>{const _0x3b5b8a=_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x41')][_0x2fff('0x34')]['getFirstPosition']()[_0x2fff('0x44')]()['find'](_0x4147d4=>_0x4147d4['is']('element','tableCell')),_0x5440af=_0x315244[_0x2fff('0x3b')];_0x3fc771['model'][_0x2fff('0x45')](()=>{_0x1d4590[_0x2fff('0x17')]([_0x3b5b8a,_0x5440af],{'commandName':_0x2fff('0x18'),'commandParams':[]},[],_0x2fff('0x18'));});});}for(const _0x4f2398 of[_0x2fff('0x3a'),'splitTableCellHorizontally']){const _0x127e17=_0x3fc771[_0x2fff('0x30')][_0x2fff('0x10')](_0x4f2398);_0x1d4590['enableCommand'](_0x4f2398,()=>{const _0x4ff6e9=_0x5621ea['getSelectionAffectedTableCells'](_0x3fc771['model']['document'][_0x2fff('0x34')])[0x0],_0x9f9ae6=_0x4ff6e9[_0x2fff('0x43')](_0x2fff('0x4')),{column:_0x57414e,row:_0x2c52dc}=_0x5621ea[_0x2fff('0x15')](_0x4ff6e9);let _0x5139fc=[];if(_0x2fff('0x2e')==_0x127e17['direction']){const _0x27374b=_0x5621ea[_0x2fff('0xb')](_0x9f9ae6,{'startRow':_0x2c52dc,'endRow':_0x2c52dc,'includeAllSlots':!0x0});_0x5139fc=Array[_0x2fff('0x46')](_0x27374b)[_0x2fff('0x49')](_0x145876=>_0x145876[_0x2fff('0x20')]);}else{const _0x2b85b0=_0x5621ea['createTableWalker'](_0x9f9ae6,{'column':_0x57414e,'includeAllSlots':!0x0});_0x5139fc=Array[_0x2fff('0x46')](_0x2b85b0)['map'](_0x33cbc4=>_0x33cbc4[_0x2fff('0x20')]);}_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x45')](_0x54499b=>{_0x1d4590['markBlockFormat'](_0x54499b[_0x2fff('0x1f')](_0x4ff6e9),{'commandName':_0x4f2398,'commandParams':[]},_0x5139fc,_0x4f2398);});});}_0x1d4590[_0x2fff('0x48')][_0x2fff('0x1a')](_0x479e99=>{if(_0x2fff('0x32')!=_0x479e99[_0x2fff('0x2')]&&'formatInline'!=_0x479e99[_0x2fff('0x2')])return;const {data:_0x240fbf}=_0x479e99;return _0x240fbf&&_0x2fff('0x18')==_0x240fbf['commandName']?{'type':_0x2fff('0xf'),'content':_0x4830d6(_0x5e28a2,_0x2fff('0x23'))}:void 0x0;}),_0x1d4590[_0x2fff('0x48')][_0x2fff('0x1a')](_0x3e9a7d=>{if(_0x2fff('0x32')!=_0x3e9a7d[_0x2fff('0x2')]&&_0x2fff('0x42')!=_0x3e9a7d['type'])return;const {data:_0x3c17f1}=_0x3e9a7d;return _0x3c17f1?_0x2fff('0x3a')==_0x3c17f1[_0x2fff('0x8')]?{'type':_0x2fff('0xf'),'content':_0x4830d6(_0x5e28a2,_0x2fff('0x1'))}:_0x2fff('0xd')==_0x3c17f1[_0x2fff('0x8')]?{'type':_0x2fff('0xf'),'content':_0x4830d6(_0x5e28a2,_0x2fff('0x14'))}:void 0x0:void 0x0;});const _0x1e685c=_0x2b28e1[_0x2fff('0x7')]();for(const _0x41b77c of[_0x2fff('0x9'),_0x2fff('0x47'),'mergeTableCellDown',_0x2fff('0x21')])_0x1d4590[_0x2fff('0x26')][_0x2fff('0x25')](_0x2fff('0x32'),_0x41b77c,_0x2fff('0x2a'),_0x1e685c);for(const _0x5c3678 of[_0x2fff('0x3a'),_0x2fff('0xd')])_0x1d4590['_suggestionFactory'][_0x2fff('0x25')](_0x2fff('0x32'),_0x5c3678,_0x2fff('0x2a'),_0x1e685c);_0x1d4590[_0x2fff('0x26')]['registerCustomCallback'](_0x2fff('0x32'),_0x2fff('0x18'),_0x2fff('0x2a'),_0x5da627=>{_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x45')](_0x49d8a0=>{const _0x30bfbc=Array[_0x2fff('0x46')](_0x5c4a8f[_0x2fff('0x28')]())[_0x2fff('0x49')](_0x3fb9fd=>_0x3acde8[_0x2fff('0x29')](_0x3fb9fd));_0x49d8a0['setSelection'](_0x5da627),_0x3fc771['commands'][_0x2fff('0x10')](_0x2fff('0x18'))[_0x2fff('0x1d')](),_0x3fc771['execute'](_0x2fff('0x18'),{'forceDefaultExecution':!0x0});const _0x57897e=_0x30bfbc[_0x2fff('0x4d')](_0x59be86=>_0x2fff('0x2d')!=_0x59be86[_0x2fff('0xa')][_0x2fff('0x37')]);_0x57897e[_0x2fff('0x38')]>0x0&&_0x49d8a0[_0x2fff('0x22')](_0x57897e);for(const _0x396285 of _0x30bfbc)_0x396285['detach']();});});for(const _0x31cd46 of[_0x2fff('0x9'),_0x2fff('0x3f'),'mergeTableCellLeft',_0x2fff('0x47')]){const _0x5df30c=_0x3fc771[_0x2fff('0x30')][_0x2fff('0x10')](_0x31cd46);_0x5df30c['on']('set:isEnabled',(_0x333c2e,_0x54b881,_0x11d7f4)=>{if(_0x11d7f4){const _0x56dc2d=_0x3fc771[_0x2fff('0x2c')][_0x2fff('0x41')][_0x2fff('0x34')]['getFirstPosition']()['getAncestors']()[_0x2fff('0x3c')](_0xeeca67=>_0xeeca67['is']('element','tableCell'));this[_0x2fff('0xe')](_0x5df30c[_0x2fff('0x3b')],_0x56dc2d)||(_0x333c2e[_0x2fff('0x2f')]=!0x1,_0x333c2e[_0x2fff('0x1e')]());}},{'priority':_0x2fff('0x16')});}}[_0x2fff('0x24')](){const _0x327a6d=this[_0x2fff('0x3e')][_0x2fff('0x30')][_0x2fff('0x10')](_0x2fff('0x18')),_0x45cb0c=this['editor']['plugins'][_0x2fff('0x10')]('TableUtils');if(!_0x327a6d['isEnabled'])return!0x1;const _0x16eeda=_0x45cb0c[_0x2fff('0xc')](this[_0x2fff('0x3e')][_0x2fff('0x2c')][_0x2fff('0x41')][_0x2fff('0x34')]);for(const _0x12f979 of _0x16eeda)for(const _0x2ecbd4 of _0x16eeda)if(_0x12f979!=_0x2ecbd4&&!this[_0x2fff('0xe')](_0x12f979,_0x2ecbd4))return!0x1;return!0x0;}[_0x2fff('0xe')](_0x3f01c1,_0x5a7b48){const _0x236752=this[_0x2fff('0x3e')][_0x2fff('0x4c')]['get'](_0x2fff('0x31')),_0x4b6f1a=this[_0x2fff('0x3e')]['model']['createRangeOn'](_0x3f01c1),_0x379cfb=this['editor'][_0x2fff('0x2c')][_0x2fff('0x1f')](_0x5a7b48),_0x33fc39=new Set(),_0x1cf9a8=new Set();for(const _0x4a44df of _0x236752[_0x2fff('0x1b')]())if(('insertion'==_0x4a44df[_0x2fff('0x2')]||_0x2fff('0x5')==_0x4a44df[_0x2fff('0x2')]||_0x2fff('0x18')==_0x4a44df[_0x2fff('0x13')])&&_0x4a44df[_0x2fff('0x35')])for(const _0x4bed04 of _0x4a44df[_0x2fff('0x28')]())_0x4bed04[_0x2fff('0x2b')](_0x4b6f1a,!0x0)&&_0x33fc39[_0x2fff('0x4a')](_0x4a44df[_0x2fff('0x2')]+':'+_0x4a44df[_0x2fff('0x33')]['id']),_0x4bed04['containsRange'](_0x379cfb,!0x0)&&_0x1cf9a8[_0x2fff('0x4a')](_0x4a44df[_0x2fff('0x2')]+':'+_0x4a44df[_0x2fff('0x33')]['id']);if(_0x33fc39[_0x2fff('0x27')]!=_0x1cf9a8[_0x2fff('0x27')])return!0x1;for(const _0x125aec of _0x33fc39)if(!_0x1cf9a8[_0x2fff('0x1c')](_0x125aec))return!0x1;return!0x0;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30cc=['plugins','enableCommand','locale','afterInit','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','TrackChangesEditing','registerElementLabel','get','commands'];(function(_0x55288f,_0x30ccd0){const _0x29c74e=function(_0x34c4f4){while(--_0x34c4f4){_0x55288f['push'](_0x55288f['shift']());}};_0x29c74e(++_0x30ccd0);}(_0x30cc,0x1ca));const _0x29c7=function(_0x55288f,_0x30ccd0){_0x55288f=_0x55288f-0x0;let _0x29c74e=_0x30cc[_0x55288f];return _0x29c74e;};import{Plugin as _0x1cabe6}from'ckeditor5/src/core.js';import{getTranslation as _0x517acb}from'../utils/common-translations.js';export default class _t extends _0x1cabe6{[_0x29c7('0x5')](){const _0x9f1b8b=this['editor'];if(!_0x9f1b8b[_0x29c7('0x1')][_0x29c7('0x0')](_0x29c7('0x7')))return;_0x9f1b8b[_0x29c7('0x2')][_0x29c7('0x0')](_0x29c7('0x8'))[_0x29c7('0x3')](_0x29c7('0x7'));const _0x4e5289=_0x9f1b8b[_0x29c7('0x2')]['get'](_0x29c7('0x8')),_0x40015b=_0x9f1b8b[_0x29c7('0x4')];_0x4e5289['_descriptionFactory'][_0x29c7('0x9')]('tableOfContents',_0x140226=>_0x517acb(_0x40015b,_0x29c7('0x6'),_0x140226));}}
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));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4717=['getSelectionAffectedTableCells','TrackChangesEditing','tableProperties','document','plugins','*Format:*\x20change\x20table\x20cell\x20properties','TablePropertiesEditing','subType','model','_suggestionFactory','tableCellHeight','editor','tableBackgroundColor','tableBorderColor','getFirstPosition','formatBlock','tableBorderWidth','enableCommand','TableCellPropertiesEditing','discard','afterInit','tableCellPadding','tableCellWidth','has','accept','_handlePropertyChange','handleDiscardAction','get','tableCellBorderColor','setAttribute','commandParams','batch','tableCellHorizontalAlignment','TableUtils','getSuggestionCallback','tableAlignment','findAncestor','locale','nodeAfter','change','table','tableCellVerticalAlignment','data','getContainedElement','handleSuggestionDescription','TrackChangesTableProperties','tableHeight','registerCustomCallback','tableWidth','_getSuggestion','tableBorderStyle','tableCellBorderStyle','format','enqueueChange','removeAttribute','tableCellBorderWidth','selection','tableCellProperties'];(function(_0x98c2c9,_0x47177c){const _0x40714d=function(_0x1814c0){while(--_0x1814c0){_0x98c2c9['push'](_0x98c2c9['shift']());}};_0x40714d(++_0x47177c);}(_0x4717,0x8c));const _0x4071=function(_0x98c2c9,_0x47177c){_0x98c2c9=_0x98c2c9-0x0;let _0x40714d=_0x4717[_0x98c2c9];return _0x40714d;};import{Plugin as _0xba9d53}from'ckeditor5/src/core.js';import{getTranslation as _0x313887}from'../utils/common-translations.js';export default class Mt extends _0xba9d53{constructor(_0x59d256){super(_0x59d256),this[_0x4071('0x24')]=[_0x4071('0x2f'),_0x4071('0x1a'),_0x4071('0x32'),_0x4071('0xb'),_0x4071('0x18'),_0x4071('0x16'),_0x4071('0x2e')],this['tableCellProperties']=[_0x4071('0x4'),_0x4071('0x1b'),_0x4071('0x1f'),_0x4071('0x37'),_0x4071('0x38'),_0x4071('0x2c'),'tableCellBackgroundColor',_0x4071('0x8'),_0x4071('0x11')];}static get['pluginName'](){return _0x4071('0x15');}[_0x4071('0x36')](){const _0x31d332=this[_0x4071('0x2d')][_0x4071('0x26')][_0x4071('0x3')](_0x4071('0x23'));if(this['editor'][_0x4071('0x26')][_0x4071('0x39')](_0x4071('0x28'))){for(const _0x343f2f of this[_0x4071('0x24')])_0x31d332[_0x4071('0x33')](_0x343f2f,(_0x27c590,_0x3d8121)=>{const _0x436be2=this[_0x4071('0x2d')][_0x4071('0x2a')][_0x4071('0x25')][_0x4071('0x20')][_0x4071('0x30')]()[_0x4071('0xc')](_0x4071('0x10'));this[_0x4071('0x1')](_0x343f2f,[_0x436be2],this['tableProperties'],_0x4071('0x24'),_0x27c590,_0x3d8121);});_0x31d332['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4071('0x24'),_0x4071('0x0'),_0x31d332[_0x4071('0x2b')][_0x4071('0xa')](_0x4071('0x31'),null,_0x4071('0x35'))),_0x31d332[_0x4071('0x2b')][_0x4071('0x17')]('formatBlock',_0x4071('0x24'),'discard',(_0x126308,_0x44d173)=>this['handleDiscardAction'](this[_0x4071('0x24')],_0x126308,_0x44d173)),_0x31d332['_suggestionFactory'][_0x4071('0x17')](_0x4071('0x31'),_0x4071('0x24'),'join',()=>!0x1);}if(this[_0x4071('0x2d')]['plugins']['has'](_0x4071('0x34'))){for(const _0x3f8c47 of this[_0x4071('0x21')])_0x31d332[_0x4071('0x33')](_0x3f8c47,(_0x90d501,_0x2fca79)=>{const _0x56ff0a=this[_0x4071('0x2d')][_0x4071('0x26')][_0x4071('0x3')](_0x4071('0x9'))[_0x4071('0x22')](this[_0x4071('0x2d')][_0x4071('0x2a')][_0x4071('0x25')][_0x4071('0x20')]);this[_0x4071('0x1')](_0x3f8c47,_0x56ff0a,this[_0x4071('0x21')],_0x4071('0x21'),_0x90d501,_0x2fca79);});_0x31d332[_0x4071('0x2b')][_0x4071('0x17')]('formatBlock',_0x4071('0x21'),_0x4071('0x0'),_0x31d332[_0x4071('0x2b')]['getSuggestionCallback'](_0x4071('0x31'),null,_0x4071('0x35'))),_0x31d332[_0x4071('0x2b')][_0x4071('0x17')](_0x4071('0x31'),_0x4071('0x21'),'discard',(_0x5566e7,_0x5347e6)=>this[_0x4071('0x2')](this[_0x4071('0x21')],_0x5566e7,_0x5347e6)),_0x31d332['_suggestionFactory'][_0x4071('0x17')](_0x4071('0x31'),'tableCellProperties','join',()=>!0x1);}_0x31d332['_descriptionFactory']['registerDescriptionCallback'](_0x2ce1cc=>this[_0x4071('0x14')](_0x2ce1cc));}[_0x4071('0x1')](_0xb5cf2e,_0x1c5cc4,_0x74ed4c,_0x20be82,_0x5dd56c,_0x34d03e){const _0x49d8bf=this[_0x4071('0x2d')][_0x4071('0x26')]['get'](_0x4071('0x23'));this[_0x4071('0x2d')][_0x4071('0x2a')][_0x4071('0x1d')](_0x34d03e[_0x4071('0x7')],()=>{for(const _0x50b29f of _0x1c5cc4){if(this[_0x4071('0x19')](_0x50b29f,_0x20be82))_0x5dd56c(_0x34d03e);else{const _0x389991={};for(const _0x2c93a6 of _0x74ed4c){const _0x3cac7d=_0x50b29f['getAttribute'](_0x2c93a6);void 0x0!==_0x3cac7d&&(_0x389991[_0x2c93a6]=_0x3cac7d);}_0x5dd56c(_0x34d03e),_0x49d8bf['markBlockFormat'](_0x50b29f,{'commandParams':[_0x389991]},[],_0x20be82);}}});}[_0x4071('0x2')](_0x1f6554,_0x5d5c38,_0x57147b){const _0x8dbbf5=_0x5d5c38[0x0]['start'][_0x4071('0xe')],_0x2f5c23=_0x57147b[_0x4071('0x6')][0x0];this[_0x4071('0x2d')]['model'][_0x4071('0xf')](_0x222af8=>{for(const _0xb4809d of _0x1f6554)void 0x0!==_0x2f5c23[_0xb4809d]?_0x222af8[_0x4071('0x5')](_0xb4809d,_0x2f5c23[_0xb4809d],_0x8dbbf5):_0x222af8[_0x4071('0x1e')](_0xb4809d,_0x8dbbf5);});}[_0x4071('0x14')](_0x3ebd7a){if(_0x3ebd7a[_0x4071('0x12')])switch(_0x3ebd7a[_0x4071('0x29')]){case _0x4071('0x24'):return{'type':_0x4071('0x1c'),'content':_0x313887(this[_0x4071('0x2d')][_0x4071('0xd')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x4071('0x1c'),'content':_0x313887(this['editor'][_0x4071('0xd')],_0x4071('0x27'))};}}['_getSuggestion'](_0xb94e8a,_0x2c35f0){const _0x5e4025=this[_0x4071('0x2d')][_0x4071('0x26')][_0x4071('0x3')](_0x4071('0x23'));for(const _0x94efe4 of _0x5e4025['getSuggestions']({'skipNotAttached':!0x0})){const _0x5f143e=_0x94efe4[_0x4071('0x13')]();if(_0x94efe4[_0x4071('0x29')]===_0x2c35f0&&_0x5f143e===_0xb94e8a)return _0x94efe4;}return null;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27f4=['afterInit','has','enableCommand','Template','get','editor','plugins'];(function(_0x145424,_0x27f4dd){const _0xacfefc=function(_0x349ee2){while(--_0x349ee2){_0x145424['push'](_0x145424['shift']());}};_0xacfefc(++_0x27f4dd);}(_0x27f4,0xb9));const _0xacfe=function(_0x145424,_0x27f4dd){_0x145424=_0x145424-0x0;let _0xacfefc=_0x27f4[_0x145424];return _0xacfefc;};import{Plugin as _0x2a9069}from'ckeditor5/src/core.js';export default class vt extends _0x2a9069{[_0xacfe('0x4')](){const _0x496273=this[_0xacfe('0x2')];_0x496273[_0xacfe('0x3')][_0xacfe('0x5')](_0xacfe('0x0'))&&_0x496273[_0xacfe('0x3')][_0xacfe('0x1')]('TrackChangesEditing')[_0xacfe('0x6')]('insertTemplate');}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37d7=['differ','nodeBefore','createRange','plugins','title-content','get','afterInit','isEqual','TrackChangesEditing','document','newRange','model','getNearestSelectionRange','forward','registerPostFixer','registerElementLabel','isCollapsed','suggestion','end','locale','from','editor','updateMarker','isTouching','has','element','start','Title'];(function(_0x207b2c,_0x37d7ef){const _0x43c95c=function(_0xbb83e2){while(--_0xbb83e2){_0x207b2c['push'](_0x207b2c['shift']());}};_0x43c95c(++_0x37d7ef);}(_0x37d7,0xec));const _0x43c9=function(_0x207b2c,_0x37d7ef){_0x207b2c=_0x207b2c-0x0;let _0x43c95c=_0x37d7[_0x207b2c];return _0x43c95c;};import{Plugin as _0x547338}from'ckeditor5/src/core.js';import{getTranslation as _0xa9819b}from'../utils/common-translations.js';export default class Ct extends _0x547338{[_0x43c9('0x16')](){const _0x495207=this[_0x43c9('0x9')];if(!_0x495207[_0x43c9('0x13')][_0x43c9('0xc')](_0x43c9('0xf')))return;const _0x5f11b2=_0x495207['plugins'][_0x43c9('0x15')](_0x43c9('0x18'));_0x5f11b2['_descriptionFactory'][_0x43c9('0x3')](_0x43c9('0x14'),()=>_0xa9819b(_0x495207[_0x43c9('0x7')],'ELEMENT_TITLE')),_0x495207[_0x43c9('0x1b')][_0x43c9('0x19')][_0x43c9('0x2')](_0x3d5c58=>{let _0xca54eb=!0x1;const _0x23052c=Array[_0x43c9('0x8')](_0x495207[_0x43c9('0x1b')][_0x43c9('0x19')][_0x43c9('0x10')]['getChangedMarkers']());for(const {name:_0x50b616,data:_0x4ab1fb}of _0x23052c){const {group:_0x405fd9}=_0x5f11b2['_splitMarkerName'](_0x50b616);if(_0x43c9('0x5')!==_0x405fd9||!_0x4ab1fb[_0x43c9('0x1a')])continue;const _0x2697f8=_0x4ab1fb[_0x43c9('0x1a')],_0x486282=_0x2697f8[_0x43c9('0x6')][_0x43c9('0x11')];if(!_0x486282||!_0x486282['is'](_0x43c9('0xd'),_0x43c9('0x14')))continue;if(!_0x2697f8[_0x43c9('0xe')][_0x43c9('0xb')](_0x2697f8[_0x43c9('0x6')]))continue;const _0x5c0f62=_0x495207[_0x43c9('0x1b')]['schema'][_0x43c9('0x0')](_0x2697f8[_0x43c9('0x6')],_0x43c9('0x1'));if(_0x5c0f62&&_0x5c0f62[_0x43c9('0x4')]){const _0x3828c7=_0x3d5c58[_0x43c9('0x12')](_0x2697f8[_0x43c9('0xe')],_0x5c0f62[_0x43c9('0xe')]);_0x3828c7[_0x43c9('0x17')](_0x2697f8)||(_0x3d5c58[_0x43c9('0xa')](_0x50b616,{'range':_0x3828c7}),_0xca54eb=!0x0);}_0xca54eb||(_0x3d5c58['removeMarker'](_0x50b616),_0xca54eb=!0x0);}return _0xca54eb;});}}
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;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ec0=['undo','plugins','enableCommand','redo','has','afterInit','UndoEditing','get','TrackChangesEditing','editor'];(function(_0x3d9489,_0x5ec035){const _0x44afb1=function(_0x1c0413){while(--_0x1c0413){_0x3d9489['push'](_0x3d9489['shift']());}};_0x44afb1(++_0x5ec035);}(_0x5ec0,0x166));const _0x44af=function(_0x3d9489,_0x5ec035){_0x3d9489=_0x3d9489-0x0;let _0x44afb1=_0x5ec0[_0x3d9489];return _0x44afb1;};import{Plugin as _0x3afac7}from'ckeditor5/src/core.js';export default class Dt extends _0x3afac7{[_0x44af('0x7')](){const _0x12ca7c=this[_0x44af('0x1')],_0x34616e=_0x12ca7c[_0x44af('0x3')][_0x44af('0x9')](_0x44af('0x0'));_0x12ca7c[_0x44af('0x3')][_0x44af('0x6')](_0x44af('0x8'))&&(_0x34616e['enableCommand'](_0x44af('0x2')),_0x34616e[_0x44af('0x4')](_0x44af('0x5')));}}
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')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x978a=['includes','type','hasAttribute','activeMarkers','toViewPosition','writer','createUIElement','getAttribute','element','markerName','isContent','mapper','model','name','markerRange','nextSibling','listIndent','start','push','addClass','schema','isAtEnd','previousPosition','span','plugins','toViewElement','insert','createRangeOn'];(function(_0x3914f9,_0x978a27){const _0x358e5c=function(_0x12958b){while(--_0x12958b){_0x3914f9['push'](_0x3914f9['shift']());}};_0x358e5c(++_0x978a27);}(_0x978a,0x154));const _0x358e=function(_0x3914f9,_0x978a27){_0x3914f9=_0x3914f9-0x0;let _0x358e5c=_0x978a[_0x3914f9];return _0x358e5c;};export function getRangesWithAttribute(_0x32e05b,_0x5cc4a8,_0x13b35f){const _0x593828=[];for(const _0x3934b0 of _0x5cc4a8['getItems']())_0x3934b0[_0x358e('0x1a')](_0x32e05b)&&_0x593828[_0x358e('0xe')](_0x13b35f[_0x358e('0x17')](_0x3934b0));return _0x593828;}export function getElementsAffectedByListItemRename(_0x1eef82){const _0x286ee9=[];if(_0x1eef82['is'](_0x358e('0x4'),'listItem')){let _0x2c6174=_0x1eef82[_0x358e('0xb')];for(;_0x2c6174&&_0x2c6174['is'](_0x358e('0x4'),'listItem')&&_0x2c6174[_0x358e('0x3')](_0x358e('0xc'))>0x0;)_0x286ee9['push'](_0x2c6174),_0x2c6174=_0x2c6174[_0x358e('0xb')];}return _0x286ee9;}export function downcastSplitMergeMarker(_0xe11c07,_0x5398e4,{showActiveMarker:_0x1b81cc=!0x0}={}){const _0x28f7e0=_0xe11c07[_0x358e('0x14')]['get']('TrackChangesEditing');return(_0x4f9ce1,_0x3ea131,_0x333175)=>{if(!_0x333175['consumable']['test'](_0x3ea131[_0x358e('0xa')],_0x4f9ce1[_0x358e('0x9')]))return;const _0x104192=_0x3ea131[_0x358e('0xa')]['getWalker'](),_0x44146e=_0x3ea131[_0x358e('0xa')][_0x358e('0xd')],_0x3f031f=_0xe11c07[_0x358e('0x8')][_0x358e('0x10')];let _0xcfcf7=null,_0x14dfc3=null,_0x5b2d03=!0x1,_0x14723c=!0x1;for(const _0x5a26aa of _0x104192){const _0x2afa6a=_0x5a26aa['item'];_0x5b2d03=_0x5b2d03||_0x3f031f[_0x358e('0x6')](_0x2afa6a);const _0x5c08c5=_0x333175[_0x358e('0x7')][_0x358e('0x15')](_0x2afa6a);if(_0x5c08c5&&_0x5c08c5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5a26aa[_0x358e('0x19')]&&(_0x3f031f['isBlock'](_0x2afa6a)&&!_0x3f031f['isLimit'](_0x2afa6a)&&(_0x2afa6a['nextSibling']||_0x44146e[_0x358e('0x11')]?_0xcfcf7&&_0xcfcf7['parent']==_0x2afa6a||(_0xcfcf7=_0x2afa6a,_0xf861c(_0x5a26aa[_0x358e('0x12')]),_0x14723c=!0x0):_0x14dfc3=_0x14dfc3||_0x5a26aa['previousPosition']));}function _0xf861c(_0x34fb55){const _0x195f2b=_0x333175[_0x358e('0x1')][_0x358e('0x2')](_0x358e('0x13'),{'class':'ck-suggestion-marker-'+_0x5398e4}),_0x4e67da=_0x333175['mapper'][_0x358e('0x0')](_0x34fb55);_0x1b81cc&&_0x28f7e0[_0x358e('0x1b')][_0x358e('0x18')](_0x3ea131[_0x358e('0x5')])&&_0x333175['writer'][_0x358e('0xf')]('ck-suggestion-marker--active',_0x195f2b),_0x333175[_0x358e('0x1')][_0x358e('0x16')](_0x4e67da,_0x195f2b),_0x333175[_0x358e('0x7')]['bindElementToMarker'](_0x195f2b,_0x3ea131[_0x358e('0x5')]);}_0x5b2d03||_0x14723c||!_0x14dfc3||_0xf861c(_0x14dfc3);};}
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);};}