@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231119.0 → 0.0.0-nightly-20231121.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 (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcb61=['getChild','wrap','tablePasteColumn','for','plugins','tableCellBorderWidth','removeMarkers','tablePasteCell','cells','getColumnIndexes','isEmpty','columns','element','isEqual','suggestion-td','oldRange','endColumn','setAttributes','editingDowncast','createTableWalker','change','getSuggestionCallback','tablePaste','nextSibling','markerToHighlight','set','getRange','_createdBatches','createRangeOn','_getCoordsForCells','createPositionBefore','name','getShiftedBy','insertColumns','createRangeIn','cell','startsWith','removeColumns','discard','differ','hasSuggestion','findAncestor','fromEntries','includes','documentSelection','trackChanges','registerPostFixer','getChildren','tablePasteChainId','containsRange','insertRows','forceDefaultExecution','add','_splitMarkerName','low','commands','columnInsertionIndexes','fill','accept','registerCustomCallback','updateMarker','_suggestionFactory','join','author','activeMarkers','insertionRanges','TableUtils','createRange','listenTo','return','push','high','showSuggestionHighlights','insertContent','view','getContainedElement','paragraph','reduce','tablePasteRow','length','getAllAdjacentSuggestions','getRanges','newRange','last','options','tableCell','has','insertion','tableCellBorderColor','unwrap','markerName','table','Users','remove','$graveyard','_tablePostFixingSubtypes','_replaceTableSlotCell','redo','value','TableClipboard','getItems','end','ck-suggestion-marker-insertion','get','markMultiRangeInsertion','position','requires','rowInsertionIndexes','tableCellBackgroundColor','model','filter','columnInsertionRanges','registerDescriptionCallback','from','isInContent','first','attributes','document','editor','register','nodeAfter','previousSibling','subType','insert','_isForcedDefaultExecutionBlock','ck-suggestion-marker','suggestion','deletionRanges','*Replace\x20table\x20cells*','conversion','ck-suggestion-marker--active','markers','_descriptionFactory','stop','getSuggestions','type','map','every','endRow','locale','markerAttributes','tableCellSuggestion','dataDowncast','getMarkers','content','some','tableCellPadding','getChangedMarkers','find','markMultiRangeBlockFormat','elementToElement','keys','getRowIndexes','formatBlock','createElement','removeRows','deletion','getColumns','markMultiRangeDeletion'];(function(_0x9598d5,_0xcb61b9){const _0x96352f=function(_0x3b9cff){while(--_0x3b9cff){_0x9598d5['push'](_0x9598d5['shift']());}};_0x96352f(++_0xcb61b9);}(_0xcb61,0x8b));const _0x9635=function(_0x9598d5,_0xcb61b9){_0x9598d5=_0x9598d5-0x0;let _0x96352f=_0xcb61[_0x9598d5];return _0x96352f;};import{getTranslation as _0x202f80}from'../utils/common-translations';import{Plugin as _0x57dbb0}from'ckeditor5/src/core';import{uid as _0x35db00,priorities as _0x30aedc}from'ckeditor5/src/utils';import _0x24283a from'./table';const le=[_0x9635('0x19'),_0x9635('0x6c'),'tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment',_0x9635('0x80'),_0x9635('0x7')],ae=Object[_0x9635('0x3e')](le[_0x9635('0x9c')](_0x43708e=>[_0x43708e,null]));export default class At extends _0x57dbb0{static get[_0x9635('0x7e')](){return[_0x24283a];}['afterInit'](){const _0x493e2f=this['editor'];if(!_0x493e2f[_0x9635('0x18')][_0x9635('0x6a')](_0x9635('0x77')))return;const _0x585182=_0x493e2f['plugins']['get']('TrackChangesEditing'),_0x2dd5c4=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x56')),_0x4e924c=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x24283a),_0x5d2dfd=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x77'));_0x4e924c[_0x9635('0x73')][_0x9635('0x5a')](_0x9635('0x62'),_0x9635('0x16')),_0x493e2f[_0x9635('0x81')]['schema'][_0x9635('0x8b')](_0x9635('0x2'),{'allowIn':_0x9635('0x69'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x493e2f['conversion'][_0x9635('0xb')]({'model':_0x9635('0x2'),'view':_0x9635('0x22')});let _0x386791=null;_0x493e2f[_0x9635('0x81')]['on']('insertContent',(_0x2c9a69,_0x1ad753)=>{const [_0x536a1c,_0x1eed5d]=_0x1ad753,_0x12d2ce=_0x1ad753[_0x1ad753['length']-0x1];_0x12d2ce&&_0x12d2ce[_0x9635('0x47')]||_0x585182[_0x9635('0x90')]||this[_0x9635('0x8a')][_0x9635('0x4b')][_0x9635('0x7b')](_0x9635('0x41'))[_0x9635('0x76')]&&function(_0x27af42,_0x17f302,_0x1d1d7f,_0x5f3751,_0x3e5d7f){if(_0x17f302&&!_0x17f302['is'](_0x9635('0x40')))return!0x1;const _0x293e1a=_0x3e5d7f['getTableIfOnlyTableInContent'](_0x27af42,_0x1d1d7f);if(!_0x293e1a||!fe(_0x293e1a,void 0x0,_0x5f3751))return!0x1;const _0x4262f0=_0x5f3751['getSelectionAffectedTableCells'](_0x1d1d7f[_0x9635('0x89')]['selection']);if(!_0x4262f0[_0x9635('0x63')])return!0x1;const _0x45b0f7=_0x4262f0[0x0][_0x9635('0x3d')](_0x9635('0x6f')),_0x56a503=_0x5f3751[_0x9635('0xd')](_0x4262f0),_0x14927d=_0x5f3751[_0x9635('0x1d')](_0x4262f0),_0x4acc2a={'startRow':_0x56a503[_0x9635('0x87')],'endRow':_0x56a503['last'],'startColumn':_0x14927d[_0x9635('0x87')],'endColumn':_0x14927d[_0x9635('0x67')]};return 0x1==_0x4262f0[_0x9635('0x63')]&&(_0x4acc2a[_0x9635('0x9e')]+=_0x5f3751['getRows'](_0x293e1a)-0x1,_0x4acc2a[_0x9635('0x24')]+=_0x5f3751[_0x9635('0x12')](_0x293e1a)-0x1),fe(_0x45b0f7,_0x4acc2a,_0x5f3751);}(_0x536a1c,_0x1eed5d,_0x493e2f[_0x9635('0x81')],_0x2dd5c4,_0x5d2dfd)&&(_0x2c9a69[_0x9635('0x99')](),_0x386791={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x493e2f[_0x9635('0x81')][_0x9635('0x28')](()=>{_0x493e2f['model'][_0x9635('0x5d')](_0x1ad753[0x0],_0x1ad753[0x1],_0x1ad753[0x2],{'forceDefaultExecution':!0x0});const _0x57eda3=_0x35db00(),{rowInsertionRanges:_0x14578f,columnInsertionRanges:_0x344f9a,insertionRanges:_0x3d8ab6,deletionRanges:_0x4a814e,cells:_0x474100}=_0x386791;_0x14578f[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x14578f,_0x9635('0x62'),{'tablePasteChainId':_0x57eda3}),_0x344f9a[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x344f9a,'tablePasteColumn',{'tablePasteChainId':_0x57eda3}),_0x3d8ab6[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x3d8ab6,_0x9635('0x2a'),{'tablePasteChainId':_0x57eda3,'skipNestingCheck':!0x0}),_0x4a814e[_0x9635('0x63')]&&_0x585182[_0x9635('0x13')](_0x4a814e,_0x9635('0x2a'),{'tablePasteChainId':_0x57eda3,'skipNestingCheck':!0x0});const _0xc54b8e=_0x585182[_0x9635('0xa')](_0x474100['map'](({element:_0xa954d8})=>_0xa954d8),{'formatGroupId':_0x35db00()},[],_0x9635('0x1b'),{'tablePasteChainId':_0x57eda3});if(_0xc54b8e){const _0x3148ab=_0xc54b8e['getMarkers'](),_0xf8cf=[];for(const {element:_0x3e1195,attributes:_0x2501e3}of _0x474100){if(!_0x2501e3)continue;const _0x41a168=_0x493e2f['model'][_0x9635('0x30')](_0x3e1195),_0x37a28d=_0x3148ab[_0x9635('0x9')](_0x4f49eb=>_0x4f49eb[_0x9635('0x2e')]()[_0x9635('0x21')](_0x41a168));_0x37a28d&&_0xf8cf[_0x9635('0x5a')]([_0x37a28d[_0x9635('0x33')],_0x2501e3]);}_0xf8cf[_0x9635('0x63')]&&_0xc54b8e['setAttribute'](_0x9635('0x1'),Object[_0x9635('0x3e')](_0xf8cf));}_0x386791=null;}));},{'priority':_0x30aedc[_0x9635('0x5b')]+0xa}),_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x77'))['on'](_0x9635('0x74'),(_0x3c5b88,_0x313591)=>{const [_0x1fc491,_0x48620d,,_0x17b571]=_0x313591;if(!_0x386791)return;_0x3c5b88[_0x9635('0x99')]();const _0x4d680d=_0x1fc491[_0x9635('0x37')],_0x40a6c4=_0x48620d,_0x1adf78=ce(_0x4d680d),_0x540c48=ce(_0x40a6c4);_0x3c5b88[_0x9635('0x59')]=_0x4d680d;let _0x4066ae=null,_0x51fa4a=null;if(_0x540c48||_0x1adf78){if(_0x1adf78&&!_0x540c48){_0x17b571[_0x9635('0x71')](_0x4d680d['getChild'](0x0));for(const _0x31f79a of Array[_0x9635('0x85')](_0x40a6c4['getChildren']()))_0x17b571['insert'](_0x31f79a,_0x4d680d,'end');const _0x18dca7=_0x386791[_0x9635('0x7f')]['includes'](_0x1fc491['row']),_0x6331e6=_0x386791[_0x9635('0x4c')][_0x9635('0x3f')](_0x1fc491['column']);_0x18dca7||_0x6331e6||(_0x4066ae=_0x17b571[_0x9635('0x36')](_0x4d680d));}else _0x540c48&&!_0x1adf78&&(_0x51fa4a=_0x17b571[_0x9635('0x36')](_0x4d680d));}else{const _0x5d9853=_0x17b571['createElement'](_0x9635('0x2')),_0x4f3cb0=_0x17b571[_0x9635('0xf')]('tableCellSuggestion');_0x17b571[_0x9635('0x15')](_0x17b571[_0x9635('0x36')](_0x4d680d),_0x4f3cb0),_0x17b571[_0x9635('0x8f')](_0x5d9853,_0x4d680d,0x0);for(const _0x41c51c of Array['from'](_0x40a6c4[_0x9635('0x43')]()))_0x17b571[_0x9635('0x8f')](_0x41c51c,_0x5d9853,_0x9635('0x79'));_0x4066ae=_0x17b571['createRangeOn'](_0x5d9853),_0x51fa4a=_0x17b571[_0x9635('0x30')](_0x4f3cb0);}const _0x272dfc=Array[_0x9635('0x85')](_0x40a6c4['getAttributes']())[_0x9635('0x82')](([_0x25f870])=>le[_0x9635('0x3f')](_0x25f870));_0x386791[_0x9635('0x1c')][_0x9635('0x5a')]({'element':_0x4d680d,'attributes':_0x272dfc[_0x9635('0x63')]?Object[_0x9635('0x3e')](_0x272dfc):null}),_0x4066ae&&_0x386791[_0x9635('0x55')][_0x9635('0x5a')](_0x4066ae),_0x51fa4a&&_0x386791[_0x9635('0x93')][_0x9635('0x5a')](_0x51fa4a);},{'priority':_0x9635('0x5b')}),_0x2dd5c4['on'](_0x9635('0x35'),(_0x52ba27,_0x4ae586)=>{const [_0x2996d8,_0x461f5d={}]=_0x4ae586;if(!_0x386791)return;const _0x2e46f9=_0x461f5d['at']||0x0,_0x3d53a1=_0x461f5d[_0x9635('0x1f')]||0x1;_0x386791['columnInsertionIndexes']=new Array(_0x3d53a1)[_0x9635('0x4d')](_0x2e46f9)[_0x9635('0x9c')]((_0x3d16ee,_0x1a3d4e)=>_0x3d16ee+_0x1a3d4e);for(const {cell:_0x3efe63}of _0x2dd5c4[_0x9635('0x27')](_0x2996d8,{'startColumn':_0x2e46f9,'endColumn':_0x2e46f9+_0x3d53a1-0x1}))_0x386791[_0x9635('0x83')][_0x9635('0x5a')](_0x493e2f[_0x9635('0x81')][_0x9635('0x30')](_0x3efe63));},{'priority':_0x9635('0x4a')}),_0x2dd5c4['on'](_0x9635('0x46'),(_0xba1c9b,_0x33fa5e)=>{const [_0x1bd2d1,_0x4e13a3={}]=_0x33fa5e;if(!_0x386791)return;const _0x74d80a=_0x4e13a3['at']||0x0,_0x5f09af=_0x4e13a3['rows']||0x1;_0x386791[_0x9635('0x7f')]=new Array(_0x5f09af)[_0x9635('0x4d')](_0x74d80a)[_0x9635('0x9c')]((_0xdfba5d,_0x698408)=>_0xdfba5d+_0x698408);for(const {cell:_0x6a9f1f}of _0x2dd5c4['createTableWalker'](_0x1bd2d1,{'startRow':_0x74d80a,'endRow':_0x74d80a+_0x5f09af-0x1}))_0x386791['rowInsertionRanges'][_0x9635('0x5a')](_0x493e2f['model'][_0x9635('0x30')](_0x6a9f1f));},{'priority':_0x9635('0x4a')}),_0x585182[_0x9635('0x98')][_0x9635('0x84')](_0x1316c2=>{if(_0x1316c2[_0x9635('0x8e')]&&_0x1316c2[_0x9635('0x8e')][_0x9635('0x38')](_0x9635('0x2a')))return _0x1316c2['previous']?{}:{'type':_0x9635('0x6b'),'content':_0x202f80(_0x493e2f[_0x9635('0x0')],_0x9635('0x94'))};});const _0x25e5c9=()=>!0x1;for(const _0x30b500 of[_0x9635('0x2a'),'tablePasteColumn','tablePasteRow',_0x9635('0x1b')])_0x585182[_0x9635('0x51')][_0x9635('0x4f')]('insertion',_0x30b500,_0x9635('0x52'),_0x25e5c9),_0x585182[_0x9635('0x51')][_0x9635('0x4f')]('deletion',_0x30b500,'join',_0x25e5c9),_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x9635('0xe'),_0x30b500,'join',_0x25e5c9);_0x585182[_0x9635('0x51')]['registerCustomCallback'](_0x9635('0xe'),'tablePasteCell',_0x9635('0x3a'),_0x25e5c9),_0x585182[_0x9635('0x51')][_0x9635('0x4f')](_0x9635('0xe'),_0x9635('0x1b'),'accept',(_0x3857ea,_0x2336a2,_0x2dddcd)=>{const _0x3f9e75=_0x3857ea['map'](_0x1205f2=>_0x1205f2[_0x9635('0x5f')]())[_0x9635('0x82')](_0x2fd004=>_0x2fd004),_0x127162=new Map(_0x3f9e75[_0x9635('0x9c')](_0x4d2a2e=>[_0x4d2a2e,null]));if(_0x386791)for(const {element:_0x3a65d2,attributes:_0x10a15a}of _0x386791[_0x9635('0x1c')])_0x10a15a&&_0x127162[_0x9635('0x2d')](_0x3a65d2,_0x10a15a);else{if(_0x2dddcd&&_0x2dddcd[_0x9635('0x1')])for(const [_0x361dd0,_0x52e30f]of Object['entries'](_0x2dddcd[_0x9635('0x1')])){const _0x193bfb=_0x493e2f[_0x9635('0x81')][_0x9635('0x97')]['get'](_0x361dd0),_0x377319=_0x193bfb?_0x193bfb['getRange']()[_0x9635('0x5f')]():null;_0x377319&&_0x127162[_0x9635('0x2d')](_0x377319,_0x52e30f);}}_0x493e2f[_0x9635('0x81')][_0x9635('0x28')](_0x5d20e9=>{for(const [_0x54e939,_0x307223]of _0x127162)_0x5d20e9[_0x9635('0x25')]({...ae,..._0x307223},_0x54e939);});});const _0x321636=(_0x2813e1,_0x5f522e)=>{_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x2813e1,_0x9635('0x2a'),_0x5f522e,(_0x50ae8e,_0x48a50a,_0x3d9230)=>{_0x493e2f['model'][_0x9635('0x28')](_0x1949d7=>{const _0x310ba9=[];for(const _0x32d5bf of _0x50ae8e){const _0x4205f4=_0x32d5bf['start'][_0x9635('0x8c')];_0x4205f4['is']('element',_0x9635('0x2'))&&_0x310ba9[_0x9635('0x5a')](_0x4205f4);}_0x585182['_suggestionFactory'][_0x9635('0x29')](_0x2813e1,null,_0x5f522e)(_0x50ae8e,_0x48a50a,_0x3d9230);for(const _0x115701 of _0x310ba9)_0x9635('0x72')!=_0x115701['root']['rootName']&&_0x1949d7[_0x9635('0x6d')](_0x115701);});});};_0x321636('insertion',_0x9635('0x4e')),_0x321636(_0x9635('0x6b'),_0x9635('0x3a')),_0x321636('deletion',_0x9635('0x4e')),_0x321636(_0x9635('0x11'),'discard'),_0x585182[_0x9635('0x51')][_0x9635('0x4f')](_0x9635('0x6b'),_0x9635('0x62'),_0x9635('0x3a'),_0x1b711a=>{const _0x331c67=_0x1b711a[_0x9635('0x9c')](_0x491450=>_0x491450['getContainedElement']()),_0x5660f4=_0x331c67[0x0]['findAncestor']('table'),{minRow:_0x55f542,maxRow:_0x2cd0e6}=_0x4e924c[_0x9635('0x31')](_0x331c67);_0x2dd5c4[_0x9635('0x10')](_0x5660f4,{'at':_0x55f542,'rows':_0x2cd0e6-_0x55f542+0x1});}),_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x9635('0x6b'),_0x9635('0x16'),_0x9635('0x3a'),_0x2383db=>{const _0x3afc6e=_0x2383db[_0x9635('0x9c')](_0x428996=>_0x428996[_0x9635('0x5f')]()),_0x1709b4=_0x3afc6e[0x0][_0x9635('0x3d')](_0x9635('0x6f')),{minColumn:_0x3f7a98,maxColumn:_0x5da1b9}=_0x4e924c['_getCoordsForCells'](_0x3afc6e);_0x2dd5c4[_0x9635('0x39')](_0x1709b4,{'at':_0x3f7a98,'columns':_0x5da1b9-_0x3f7a98+0x1});});const _0x23a326=(_0x509dd2,_0x1b3bc3)=>{if(!_0x1b3bc3['subType']||!_0x1b3bc3['subType'][_0x9635('0x38')](_0x9635('0x2a')))return;const _0x3b839f=_0x1b3bc3[_0x9635('0x88')][_0x9635('0x44')],_0x57825d=_0x585182[_0x9635('0x9a')]()['filter'](_0x18431f=>_0x18431f[_0x9635('0x86')]&&_0x18431f[_0x9635('0x88')]&&_0x18431f['attributes']['tablePasteChainId']==_0x3b839f);_0x57825d[_0x9635('0x63')]&&_0x1b3bc3[_0x9635('0x64')]()[_0x9635('0x63')]!=_0x57825d[_0x9635('0x63')]&&_0x57825d[_0x9635('0x61')]((_0x3e84b9,_0x331d19)=>(_0x3e84b9['next']=_0x331d19,_0x331d19['previous']=_0x3e84b9,_0x331d19));};function _0x3bffab(_0xb6d59f,_0x1d6e66=!0x0){const {id:_0x1a3555}=_0x585182[_0x9635('0x49')](_0xb6d59f['markerName']),_0xd17c23=[_0x9635('0x91'),_0x9635('0x7a')],_0x343ce3=_0x585182[_0x9635('0x54')][_0x9635('0x3f')](_0xb6d59f[_0x9635('0x6e')]);return _0x343ce3&&_0xd17c23['push'](_0x9635('0x96')),{'classes':_0xd17c23,'attributes':{'data-suggestion':_0x1a3555},'priority':_0x343ce3&&_0x1d6e66?0xbc2:0xbb8};}_0x585182['on']('suggestionLoaded',_0x23a326,{'priority':_0x9635('0x5b')}),_0x585182['on']('suggestionUnloaded',_0x23a326,{'priority':'high'}),_0x493e2f[_0x9635('0x81')]['document'][_0x9635('0x42')](()=>{let _0x3c8c35=!0x1;const _0x278e46=Array[_0x9635('0x85')](_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x3b')][_0x9635('0x8')]());for(const {name:_0x255104,data:_0x52777d}of _0x278e46){const {group:_0x4ab8c3,type:_0x14788b,id:_0x35f7e5}=_0x585182['_splitMarkerName'](_0x255104);if(_0x9635('0x92')!=_0x4ab8c3||'deletion'!=_0x14788b||_0x52777d[_0x9635('0x23')])continue;if(!_0x585182[_0x9635('0x3c')](_0x35f7e5))continue;const _0xe8dc05=_0x585182['getSuggestion'](_0x35f7e5)[_0x9635('0x65')](),_0x34f6a4=_0x493e2f['plugins'][_0x9635('0x7b')](_0x9635('0x70'))['me'];for(const _0x1c9dc0 of _0x585182['getSuggestions']()){if(!_0x1c9dc0[_0x9635('0x86')]||_0x1c9dc0[_0x9635('0x53')]!=_0x34f6a4)continue;if('formatBlock'!=_0x1c9dc0['type']||_0x9635('0x1b')!=_0x1c9dc0[_0x9635('0x8e')])continue;if(_0x1c9dc0[_0x9635('0x65')]()[_0x9635('0x9d')](_0x5ea90b=>_0xe8dc05[_0x9635('0x6')](_0x11eb0f=>_0x11eb0f['containsRange'](_0x5ea90b,!0x0))))for(const _0x114b04 of _0x1c9dc0[_0x9635('0x64')]())_0x114b04[_0x9635('0x86')]&&(_0x114b04['discard'](),_0x3c8c35=!0x0);}}return _0x3c8c35;}),_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x42')](_0x2ac6a5=>{const _0x283efd=_0x493e2f[_0x9635('0x4b')]['get'](_0x9635('0x75'));if(!_0x283efd||!_0x283efd[_0x9635('0x2f')]['has'](_0x2ac6a5['batch']))return!0x1;let _0x4081ed=!0x1;const _0x35f9c4=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')]('Users')['me'],_0x227f8f=_0x493e2f['model'][_0x9635('0x89')][_0x9635('0x3b')]['getChanges'](),_0x871c3a=Array[_0x9635('0x85')](_0x493e2f[_0x9635('0x81')]['document'][_0x9635('0x3b')][_0x9635('0x8')]())[_0x9635('0x82')](({name:_0x49bd1e,data:_0x3d2a1a})=>{const {group:_0x3a05aa,subType:_0x4db568,authorId:_0x52d278}=_0x585182['_splitMarkerName'](_0x49bd1e);return _0x9635('0x92')==_0x3a05aa&&'tablePaste'==_0x4db568&&_0x52d278==_0x35f9c4['id']&&!_0x3d2a1a[_0x9635('0x23')];});for(const _0xbe6666 of _0x227f8f){if(_0x9635('0x8f')!=_0xbe6666[_0x9635('0x9b')]||'tableCellSuggestion'!=_0xbe6666[_0x9635('0x33')]||0x1!=_0xbe6666[_0x9635('0x63')])continue;const _0x483858=_0x2ac6a5[_0x9635('0x57')](_0xbe6666[_0x9635('0x7d')],_0xbe6666[_0x9635('0x7d')][_0x9635('0x34')](0x1));if(!_0x871c3a[_0x9635('0x9')](({data:_0x49f0e6})=>_0x49f0e6[_0x9635('0x66')][_0x9635('0x21')](_0x483858)))for(const {name:_0x1f25c7,data:_0x63b23b}of _0x871c3a)if(_0x483858[_0x9635('0x45')](_0x63b23b[_0x9635('0x66')])){_0x2ac6a5[_0x9635('0x50')](_0x1f25c7,{'range':_0x483858}),_0x4081ed=!0x0;break;}}return _0x4081ed;}),_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x42')](_0x296ad1=>{let _0x5074cc=!0x1;const _0x2cdef5=_0x493e2f[_0x9635('0x18')]['get']('Users')['me'],_0x56f8c4=_0x585182[_0x9635('0x9a')]()[_0x9635('0x82')](_0x4d48f5=>_0x4d48f5[_0x9635('0x86')]&&_0x4d48f5[_0x9635('0x53')]==_0x2cdef5),_0x45dc07=new Set(),_0x42fe30=new Set();for(const _0x780bd of _0x56f8c4)if('tablePaste'==_0x780bd[_0x9635('0x8e')])for(const _0x2d04fb of _0x780bd[_0x9635('0x4')]()){const _0x4b65b5=_0x2d04fb[_0x9635('0x2e')]()[_0x9635('0x5f')]();if(_0x4b65b5){if(_0x4b65b5['is'](_0x9635('0x20'),_0x9635('0x2'))&&ce(_0x4b65b5)){_0x780bd['removeMarker'](_0x2d04fb[_0x9635('0x33')]),_0x45dc07[_0x9635('0x48')](_0x4b65b5),_0x5074cc=!0x0;const _0xd9da11=_0x4b65b5[_0x9635('0x2b')],_0xfe3bf5=_0x4b65b5[_0x9635('0x8d')],_0x582582=_0xd9da11&&_0xd9da11['is'](_0x9635('0x20'),'tableCellSuggestion'),_0x3b197c=_0xfe3bf5&&_0xfe3bf5['is'](_0x9635('0x20'),_0x9635('0x2'));_0x582582&&!_0x45dc07[_0x9635('0x6a')](_0xd9da11)&&_0x42fe30['add'](_0xd9da11),_0x3b197c&&!_0x45dc07['has'](_0xfe3bf5)&&_0x42fe30[_0x9635('0x48')](_0xfe3bf5);}else _0x4b65b5['is'](_0x9635('0x20'),_0x9635('0x60'))&&_0x4b65b5['isEmpty']&&(_0x780bd['removeMarker'](_0x2d04fb[_0x9635('0x33')]),_0x5074cc=!0x0);}}else{if('tablePasteCell'==_0x780bd[_0x9635('0x8e')]){if(!_0x780bd[_0x9635('0x88')]||!_0x780bd[_0x9635('0x88')]['tablePasteChainId'])continue;const _0x8f4ea=_0x780bd[_0x9635('0x88')][_0x9635('0x1')];if(_0x8f4ea&&Object[_0x9635('0xc')](_0x8f4ea)[_0x9635('0x63')])continue;const _0x633e5e=_0x780bd[_0x9635('0x88')]['tablePasteChainId'];let _0x38fbeb=!0x0,_0x30aad6=!0x0;for(const _0x46f839 of _0x56f8c4)if(_0x46f839[_0x9635('0x8e')]&&_0x46f839[_0x9635('0x8e')]['startsWith']('tablePaste')){if(!_0x46f839[_0x9635('0x88')]['tablePasteChainId']){_0x30aad6=!0x1;break;}if(_0x46f839['id']!=_0x780bd['id']&&_0x46f839[_0x9635('0x88')][_0x9635('0x44')]==_0x633e5e){_0x38fbeb=!0x1;break;}}_0x30aad6&&_0x38fbeb&&(_0x780bd[_0x9635('0x1a')](),_0x5074cc=!0x0);}}for(const _0x32c3fe of _0x45dc07)_0x296ad1[_0x9635('0x71')](_0x32c3fe);for(const _0x23174c of _0x42fe30)_0x296ad1['unwrap'](_0x23174c);return _0x5074cc;}),_0x493e2f[_0x9635('0x95')][_0x9635('0x17')](_0x9635('0x26'))[_0x9635('0x2c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x40165c,_0x36f8ac)=>_0x3bffab(_0x40165c),'converterPriority':'high'}),_0x493e2f['conversion'][_0x9635('0x17')](_0x9635('0x3'))[_0x9635('0x2c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4d33a3,_0xa3e70)=>_0xa3e70[_0x9635('0x68')][_0x9635('0x5c')]?_0x3bffab(_0x4d33a3,!0x1):null,'converterPriority':_0x9635('0x5b')});const _0x4828d6=_0x493e2f['editing'][_0x9635('0x5e')];this[_0x9635('0x58')](_0x4828d6[_0x9635('0x89')],'clipboardOutput',(_0x4cbe42,_0x56a946)=>{const _0x30355b=[];for(const _0x20b50a of _0x4828d6['createRangeIn'](_0x56a946[_0x9635('0x5')])[_0x9635('0x78')]())_0x20b50a['is']('element',_0x9635('0x22'))&&_0x30355b[_0x9635('0x5a')](_0x20b50a);_0x4828d6[_0x9635('0x28')](_0x1ff4d1=>{for(const _0x12d6cc of _0x30355b)_0x1ff4d1['move'](_0x1ff4d1['createRangeIn'](_0x12d6cc),_0x1ff4d1[_0x9635('0x32')](_0x12d6cc)),_0x1ff4d1['remove'](_0x12d6cc);});});}}function ce(_0xbb52d7){if(_0xbb52d7[_0x9635('0x1e')])return!0x0;const _0x3e457f=_0xbb52d7[_0x9635('0x14')](0x0);return _0x3e457f['is'](_0x9635('0x20'),_0x9635('0x60'))&&_0x3e457f[_0x9635('0x1e')];}function fe(_0x1852bd,_0x2629d6={},_0xdbcafc){for(const {isAnchor:_0x56e91a,cellHeight:_0x920f9f,cellWidth:_0x565b49}of _0xdbcafc[_0x9635('0x27')](_0x1852bd,{'includeAllSlots':!0x0,..._0x2629d6}))if(!_0x56e91a||0x1!=_0x920f9f||0x1!=_0x565b49)return!0x1;return!0x0;}
23
+ const _0x57b7=['insertContent','afterInit','endRow','add','author','batch','newRange','differ','getContainedElement','keys','find','createPositionBefore','fromEntries','registerCustomCallback','markMultiRangeDeletion','deletion','has','oldRange','_replaceTableSlotCell','isInContent','register','model','subType','every','value','next','tableCellBorderWidth','tablePaste','setAttributes','start','startsWith','insertion','position','tableCellBorderColor','entries','getColumns','unwrap','dataDowncast','tablePasteRow','rowInsertionRanges','getAllAdjacentSuggestions','_tablePostFixingSubtypes','markerToHighlight','_descriptionFactory','cells','getChild','createRangeOn','isEqual','activeMarkers','removeColumns','getTableIfOnlyTableInContent','removeRows','table','rows','listenTo','tableCellHorizontalAlignment','content','insertRows','tableCellPadding','rootName','createTableWalker','deletionRanges','attributes','markers','length','createRangeIn','accept','columnInsertionIndexes','elementToElement','some','tablePasteChainId','join','tableCellVerticalAlignment','*Replace\x20table\x20cells*','tableCell','locale','plugins','editor','suggestion','getItems','stop','fill','previous','remove','getRange','tableCellBorderStyle','columnInsertionRanges','Users','getChildren','getMarkers','createElement','get','editingDowncast','change','high','insert','type','columns','containsRange','conversion','return','last','findAncestor','getSuggestion','removeMarkers','$graveyard','ck-suggestion-marker-insertion','suggestion:formatBlock:tablePasteCell','set','suggestionUnloaded','options','markerAttributes','element','wrap','removeMarker','tablePasteCell','map','isEmpty','ck-suggestion-marker','getSuggestionCallback','filter','discard','insertionRanges','_createdBatches','TableClipboard','trackChanges','includes','ck-suggestion-marker--active','requires','endColumn','tableCellSuggestion','cell','_suggestionFactory','low','getColumnIndexes','tableCellBackgroundColor','first','name','from','move','forceDefaultExecution','for','createRange','editing','end','document','view','registerDescriptionCallback','tablePasteColumn','_splitMarkerName','paragraph','nextSibling','getSelectionAffectedTableCells','getRanges','getSuggestions','formatBlock','getChangedMarkers','push','registerPostFixer','markMultiRangeInsertion','markerName'];(function(_0x381ebd,_0x57b7f0){const _0x37a44b=function(_0x163d08){while(--_0x163d08){_0x381ebd['push'](_0x381ebd['shift']());}};_0x37a44b(++_0x57b7f0);}(_0x57b7,0x14f));const _0x37a4=function(_0x381ebd,_0x57b7f0){_0x381ebd=_0x381ebd-0x0;let _0x37a44b=_0x57b7[_0x381ebd];return _0x37a44b;};import{getTranslation as _0x2e43ca}from'../utils/common-translations';import{Plugin as _0x2ac6e4}from'ckeditor5/src/core';import{uid as _0x20e5b6,priorities as _0x22d3c7}from'ckeditor5/src/utils';import _0x4d668e from'./table';const le=[_0x37a4('0xd'),_0x37a4('0x14'),_0x37a4('0x48'),_0x37a4('0x2a'),_0x37a4('0x3b'),_0x37a4('0x7a'),_0x37a4('0x2d')],ae=Object[_0x37a4('0xa0')](le[_0x37a4('0x67')](_0x20e610=>[_0x20e610,null]));export default class At extends _0x2ac6e4{static get[_0x37a4('0x73')](){return[_0x4d668e];}[_0x37a4('0x95')](){const _0x303dd6=this[_0x37a4('0x40')];if(!_0x303dd6['plugins'][_0x37a4('0x3')](_0x37a4('0x6f')))return;const _0x277b72=_0x303dd6['plugins'][_0x37a4('0x4e')]('TrackChangesEditing'),_0x2c045d=_0x303dd6[_0x37a4('0x3f')]['get']('TableUtils'),_0x3c5dc5=_0x303dd6[_0x37a4('0x3f')]['get'](_0x4d668e),_0x316bc2=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x6f'));_0x3c5dc5[_0x37a4('0x1c')][_0x37a4('0x90')](_0x37a4('0x19'),'tablePasteColumn'),_0x303dd6[_0x37a4('0x8')]['schema'][_0x37a4('0x7')]('tableCellSuggestion',{'allowIn':_0x37a4('0x3d'),'allowContentOf':_0x37a4('0x3d'),'isLimit':!0x0}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x37')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x446065=null;_0x303dd6[_0x37a4('0x8')]['on'](_0x37a4('0x94'),(_0x557f34,_0x25f877)=>{const [_0xf679d0,_0x3093c7]=_0x25f877,_0x36a277=_0x25f877[_0x25f877[_0x37a4('0x33')]-0x1];_0x36a277&&_0x36a277[_0x37a4('0x7f')]||_0x277b72['_isForcedDefaultExecutionBlock']||this[_0x37a4('0x40')]['commands'][_0x37a4('0x4e')](_0x37a4('0x70'))[_0x37a4('0xb')]&&function(_0xb410e3,_0x2abe78,_0x1254de,_0x12533b,_0x2ad44f){if(_0x2abe78&&!_0x2abe78['is']('documentSelection'))return!0x1;const _0x5e8fc7=_0x2ad44f[_0x37a4('0x25')](_0xb410e3,_0x1254de);if(!_0x5e8fc7||!fe(_0x5e8fc7,void 0x0,_0x12533b))return!0x1;const _0xaf90d2=_0x12533b[_0x37a4('0x8b')](_0x1254de[_0x37a4('0x84')]['selection']);if(!_0xaf90d2['length'])return!0x1;const _0x3ae941=_0xaf90d2[0x0]['findAncestor'](_0x37a4('0x27')),_0x158faf=_0x12533b['getRowIndexes'](_0xaf90d2),_0x1aa855=_0x12533b[_0x37a4('0x79')](_0xaf90d2),_0x4e7500={'startRow':_0x158faf[_0x37a4('0x7b')],'endRow':_0x158faf['last'],'startColumn':_0x1aa855[_0x37a4('0x7b')],'endColumn':_0x1aa855[_0x37a4('0x58')]};return 0x1==_0xaf90d2['length']&&(_0x4e7500[_0x37a4('0x96')]+=_0x12533b['getRows'](_0x5e8fc7)-0x1,_0x4e7500[_0x37a4('0x74')]+=_0x12533b[_0x37a4('0x16')](_0x5e8fc7)-0x1),fe(_0x3ae941,_0x4e7500,_0x12533b);}(_0xf679d0,_0x3093c7,_0x303dd6[_0x37a4('0x8')],_0x2c045d,_0x316bc2)&&(_0x557f34[_0x37a4('0x43')](),_0x446065={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x303dd6[_0x37a4('0x8')][_0x37a4('0x50')](()=>{_0x303dd6[_0x37a4('0x8')]['insertContent'](_0x25f877[0x0],_0x25f877[0x1],_0x25f877[0x2],{'forceDefaultExecution':!0x0});const _0x45809f=_0x20e5b6(),{rowInsertionRanges:_0x3dc883,columnInsertionRanges:_0x519677,insertionRanges:_0x4c1cdc,deletionRanges:_0x53fd0a,cells:_0x384a88}=_0x446065;_0x3dc883[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x3dc883,'tablePasteRow',{'tablePasteChainId':_0x45809f}),_0x519677[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x519677,_0x37a4('0x87'),{'tablePasteChainId':_0x45809f}),_0x4c1cdc[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x4c1cdc,_0x37a4('0xe'),{'tablePasteChainId':_0x45809f,'skipNestingCheck':!0x0}),_0x53fd0a['length']&&_0x277b72[_0x37a4('0x1')](_0x53fd0a,_0x37a4('0xe'),{'tablePasteChainId':_0x45809f,'skipNestingCheck':!0x0});const _0x17d409=_0x277b72['markMultiRangeBlockFormat'](_0x384a88['map'](({element:_0x27be3b})=>_0x27be3b),{'formatGroupId':_0x20e5b6()},[],_0x37a4('0x66'),{'tablePasteChainId':_0x45809f});if(_0x17d409){const _0x5add3b=_0x17d409[_0x37a4('0x4c')](),_0x4ad57d=[];for(const {element:_0x28cf30,attributes:_0x2f65fe}of _0x384a88){if(!_0x2f65fe)continue;const _0x10da8e=_0x303dd6[_0x37a4('0x8')][_0x37a4('0x21')](_0x28cf30),_0x4eafe7=_0x5add3b[_0x37a4('0x9e')](_0x4bbf44=>_0x4bbf44[_0x37a4('0x47')]()[_0x37a4('0x22')](_0x10da8e));_0x4eafe7&&_0x4ad57d[_0x37a4('0x90')]([_0x4eafe7[_0x37a4('0x7c')],_0x2f65fe]);}_0x4ad57d[_0x37a4('0x33')]&&_0x17d409['setAttribute'](_0x37a4('0x62'),Object['fromEntries'](_0x4ad57d));}_0x446065=null;}));},{'priority':_0x22d3c7[_0x37a4('0x51')]+0xa}),_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')]('TableClipboard')['on'](_0x37a4('0x5'),(_0x31ae4c,_0x15d4b1)=>{const [_0x21a1a4,_0xc80b75,,_0x3ca908]=_0x15d4b1;if(!_0x446065)return;_0x31ae4c[_0x37a4('0x43')]();const _0xd95f97=_0x21a1a4[_0x37a4('0x76')],_0x222be6=_0xc80b75,_0x37d722=ce(_0xd95f97),_0xb5a51f=ce(_0x222be6);_0x31ae4c[_0x37a4('0x57')]=_0xd95f97;let _0x4f7d40=null,_0x54be31=null;if(_0xb5a51f||_0x37d722){if(_0x37d722&&!_0xb5a51f){_0x3ca908[_0x37a4('0x46')](_0xd95f97[_0x37a4('0x20')](0x0));for(const _0x49714a of Array[_0x37a4('0x7d')](_0x222be6[_0x37a4('0x4b')]()))_0x3ca908[_0x37a4('0x52')](_0x49714a,_0xd95f97,_0x37a4('0x83'));const _0x474067=_0x446065['rowInsertionIndexes'][_0x37a4('0x71')](_0x21a1a4['row']),_0x20d0e6=_0x446065[_0x37a4('0x36')][_0x37a4('0x71')](_0x21a1a4['column']);_0x474067||_0x20d0e6||(_0x4f7d40=_0x3ca908[_0x37a4('0x34')](_0xd95f97));}else _0xb5a51f&&!_0x37d722&&(_0x54be31=_0x3ca908[_0x37a4('0x34')](_0xd95f97));}else{const _0x45dafa=_0x3ca908[_0x37a4('0x4d')](_0x37a4('0x75')),_0x2060d2=_0x3ca908['createElement'](_0x37a4('0x75'));_0x3ca908[_0x37a4('0x64')](_0x3ca908[_0x37a4('0x34')](_0xd95f97),_0x2060d2),_0x3ca908[_0x37a4('0x52')](_0x45dafa,_0xd95f97,0x0);for(const _0x251436 of Array[_0x37a4('0x7d')](_0x222be6['getChildren']()))_0x3ca908[_0x37a4('0x52')](_0x251436,_0x45dafa,'end');_0x4f7d40=_0x3ca908[_0x37a4('0x21')](_0x45dafa),_0x54be31=_0x3ca908['createRangeOn'](_0x2060d2);}const _0xd7bf1f=Array['from'](_0x222be6['getAttributes']())[_0x37a4('0x6b')](([_0x26aa3a])=>le[_0x37a4('0x71')](_0x26aa3a));_0x446065[_0x37a4('0x1f')][_0x37a4('0x90')]({'element':_0xd95f97,'attributes':_0xd7bf1f[_0x37a4('0x33')]?Object[_0x37a4('0xa0')](_0xd7bf1f):null}),_0x4f7d40&&_0x446065[_0x37a4('0x6d')][_0x37a4('0x90')](_0x4f7d40),_0x54be31&&_0x446065[_0x37a4('0x30')][_0x37a4('0x90')](_0x54be31);},{'priority':'high'}),_0x2c045d['on']('insertColumns',(_0x5b5373,_0x17817b)=>{const [_0x400b48,_0x3aca84={}]=_0x17817b;if(!_0x446065)return;const _0x4af710=_0x3aca84['at']||0x0,_0x177464=_0x3aca84[_0x37a4('0x54')]||0x1;_0x446065[_0x37a4('0x36')]=new Array(_0x177464)[_0x37a4('0x44')](_0x4af710)['map']((_0x161a5f,_0x59a2ea)=>_0x161a5f+_0x59a2ea);for(const {cell:_0x5b5c1d}of _0x2c045d[_0x37a4('0x2f')](_0x400b48,{'startColumn':_0x4af710,'endColumn':_0x4af710+_0x177464-0x1}))_0x446065[_0x37a4('0x49')]['push'](_0x303dd6[_0x37a4('0x8')][_0x37a4('0x21')](_0x5b5c1d));},{'priority':_0x37a4('0x78')}),_0x2c045d['on'](_0x37a4('0x2c'),(_0x506b31,_0x1f6321)=>{const [_0x2c75aa,_0x42caae={}]=_0x1f6321;if(!_0x446065)return;const _0x1c0c0f=_0x42caae['at']||0x0,_0xa119b7=_0x42caae[_0x37a4('0x28')]||0x1;_0x446065['rowInsertionIndexes']=new Array(_0xa119b7)['fill'](_0x1c0c0f)['map']((_0x1a9ef3,_0x5465d0)=>_0x1a9ef3+_0x5465d0);for(const {cell:_0x5bc740}of _0x2c045d[_0x37a4('0x2f')](_0x2c75aa,{'startRow':_0x1c0c0f,'endRow':_0x1c0c0f+_0xa119b7-0x1}))_0x446065[_0x37a4('0x1a')]['push'](_0x303dd6[_0x37a4('0x8')]['createRangeOn'](_0x5bc740));},{'priority':_0x37a4('0x78')}),_0x277b72[_0x37a4('0x1e')][_0x37a4('0x86')](_0x3bd4c2=>{if(_0x3bd4c2[_0x37a4('0x9')]&&_0x3bd4c2[_0x37a4('0x9')][_0x37a4('0x11')](_0x37a4('0xe')))return _0x3bd4c2['previous']?{}:{'type':_0x37a4('0x12'),'content':_0x2e43ca(_0x303dd6[_0x37a4('0x3e')],_0x37a4('0x3c'))};});const _0x5669bc=()=>!0x1;for(const _0x3316a4 of[_0x37a4('0xe'),_0x37a4('0x87'),_0x37a4('0x19'),_0x37a4('0x66')])_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x12'),_0x3316a4,_0x37a4('0x3a'),_0x5669bc),_0x277b72['_suggestionFactory'][_0x37a4('0x0')]('deletion',_0x3316a4,'join',_0x5669bc),_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x37a4('0x8e'),_0x3316a4,_0x37a4('0x3a'),_0x5669bc);_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x8e'),'tablePasteCell',_0x37a4('0x6c'),_0x5669bc),_0x277b72[_0x37a4('0x77')]['registerCustomCallback'](_0x37a4('0x8e'),_0x37a4('0x66'),_0x37a4('0x35'),(_0x18156b,_0x1915ba,_0x417a6c)=>{const _0x221107=_0x18156b[_0x37a4('0x67')](_0x180151=>_0x180151[_0x37a4('0x9c')]())[_0x37a4('0x6b')](_0x43815e=>_0x43815e),_0x8444ae=new Map(_0x221107[_0x37a4('0x67')](_0x452fe9=>[_0x452fe9,null]));if(_0x446065)for(const {element:_0x1925ba,attributes:_0x2348c1}of _0x446065[_0x37a4('0x1f')])_0x2348c1&&_0x8444ae[_0x37a4('0x5f')](_0x1925ba,_0x2348c1);else{if(_0x417a6c&&_0x417a6c[_0x37a4('0x62')])for(const [_0x23b948,_0x5634ab]of Object[_0x37a4('0x15')](_0x417a6c['markerAttributes'])){const _0x17fd63=_0x303dd6['model'][_0x37a4('0x32')]['get'](_0x23b948),_0x38e766=_0x17fd63?_0x17fd63['getRange']()[_0x37a4('0x9c')]():null;_0x38e766&&_0x8444ae[_0x37a4('0x5f')](_0x38e766,_0x5634ab);}}_0x303dd6[_0x37a4('0x8')]['change'](_0x3877f1=>{for(const [_0x451d30,_0x2701dc]of _0x8444ae)_0x3877f1[_0x37a4('0xf')]({...ae,..._0x2701dc},_0x451d30);});});const _0x2c2000=(_0x4fb607,_0x1a5fb7)=>{_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x4fb607,'tablePaste',_0x1a5fb7,(_0x2f8927,_0x1859f5,_0x2c7709)=>{_0x303dd6[_0x37a4('0x8')][_0x37a4('0x50')](_0x31d318=>{const _0x2c749e=[];for(const _0xb04213 of _0x2f8927){const _0x4ee225=_0xb04213[_0x37a4('0x10')]['nodeAfter'];_0x4ee225['is'](_0x37a4('0x63'),_0x37a4('0x75'))&&_0x2c749e[_0x37a4('0x90')](_0x4ee225);}_0x277b72[_0x37a4('0x77')][_0x37a4('0x6a')](_0x4fb607,null,_0x1a5fb7)(_0x2f8927,_0x1859f5,_0x2c7709);for(const _0x2f438c of _0x2c749e)_0x37a4('0x5c')!=_0x2f438c['root'][_0x37a4('0x2e')]&&_0x31d318[_0x37a4('0x17')](_0x2f438c);});});};_0x2c2000('insertion','accept'),_0x2c2000('insertion',_0x37a4('0x6c')),_0x2c2000('deletion',_0x37a4('0x35')),_0x2c2000(_0x37a4('0x2'),'discard'),_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x37a4('0x12'),'tablePasteRow',_0x37a4('0x6c'),_0xec8588=>{const _0x260380=_0xec8588[_0x37a4('0x67')](_0x2ccf44=>_0x2ccf44[_0x37a4('0x9c')]()),_0x141ec0=_0x260380[0x0][_0x37a4('0x59')](_0x37a4('0x27')),{minRow:_0xf182e6,maxRow:_0xa35a7c}=_0x3c5dc5['_getCoordsForCells'](_0x260380);_0x2c045d[_0x37a4('0x26')](_0x141ec0,{'at':_0xf182e6,'rows':_0xa35a7c-_0xf182e6+0x1});}),_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x12'),_0x37a4('0x87'),'discard',_0x5732f2=>{const _0x392337=_0x5732f2['map'](_0x13a30a=>_0x13a30a[_0x37a4('0x9c')]()),_0x1c5687=_0x392337[0x0][_0x37a4('0x59')](_0x37a4('0x27')),{minColumn:_0x4a21bd,maxColumn:_0x4dccd7}=_0x3c5dc5['_getCoordsForCells'](_0x392337);_0x2c045d[_0x37a4('0x24')](_0x1c5687,{'at':_0x4a21bd,'columns':_0x4dccd7-_0x4a21bd+0x1});});const _0x29eaec=(_0x866951,_0x580a80)=>{if(!_0x580a80[_0x37a4('0x9')]||!_0x580a80[_0x37a4('0x9')][_0x37a4('0x11')]('tablePaste'))return;const _0x16b529=_0x580a80[_0x37a4('0x31')][_0x37a4('0x39')],_0x2b4934=_0x277b72[_0x37a4('0x8d')]()['filter'](_0x464d72=>_0x464d72[_0x37a4('0x6')]&&_0x464d72[_0x37a4('0x31')]&&_0x464d72['attributes'][_0x37a4('0x39')]==_0x16b529);_0x2b4934['length']&&_0x580a80[_0x37a4('0x1b')]()[_0x37a4('0x33')]!=_0x2b4934[_0x37a4('0x33')]&&_0x2b4934['reduce']((_0x248e56,_0x3e60f6)=>(_0x248e56[_0x37a4('0xc')]=_0x3e60f6,_0x3e60f6[_0x37a4('0x45')]=_0x248e56,_0x3e60f6));};function _0x5ea1ac(_0x18cddf,_0x35f6aa=!0x0){const {id:_0x2fc82b}=_0x277b72[_0x37a4('0x88')](_0x18cddf[_0x37a4('0x93')]),_0x572aa7=[_0x37a4('0x69'),_0x37a4('0x5d')],_0x365ebf=_0x277b72[_0x37a4('0x23')][_0x37a4('0x71')](_0x18cddf['markerName']);return _0x365ebf&&_0x572aa7['push'](_0x37a4('0x72')),{'classes':_0x572aa7,'attributes':{'data-suggestion':_0x2fc82b},'priority':_0x365ebf&&_0x35f6aa?0xbc2:0xbb8};}_0x277b72['on']('suggestionLoaded',_0x29eaec,{'priority':_0x37a4('0x51')}),_0x277b72['on'](_0x37a4('0x60'),_0x29eaec,{'priority':_0x37a4('0x51')}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')][_0x37a4('0x91')](()=>{let _0x3aee8d=!0x1;const _0x201269=Array['from'](_0x303dd6['model'][_0x37a4('0x84')]['differ'][_0x37a4('0x8f')]());for(const {name:_0x40259b,data:_0x164993}of _0x201269){const {group:_0x49b076,type:_0x3bf63c,id:_0x1c5cfb}=_0x277b72[_0x37a4('0x88')](_0x40259b);if(_0x37a4('0x41')!=_0x49b076||'deletion'!=_0x3bf63c||_0x164993['oldRange'])continue;if(!_0x277b72['hasSuggestion'](_0x1c5cfb))continue;const _0x27cab2=_0x277b72[_0x37a4('0x5a')](_0x1c5cfb)[_0x37a4('0x8c')](),_0x15ee67=_0x303dd6[_0x37a4('0x3f')]['get']('Users')['me'];for(const _0x94c5c5 of _0x277b72[_0x37a4('0x8d')]()){if(!_0x94c5c5[_0x37a4('0x6')]||_0x94c5c5[_0x37a4('0x98')]!=_0x15ee67)continue;if(_0x37a4('0x8e')!=_0x94c5c5[_0x37a4('0x53')]||_0x37a4('0x66')!=_0x94c5c5[_0x37a4('0x9')])continue;if(_0x94c5c5['getRanges']()[_0x37a4('0xa')](_0x24e500=>_0x27cab2[_0x37a4('0x38')](_0x1c7c78=>_0x1c7c78[_0x37a4('0x55')](_0x24e500,!0x0))))for(const _0x36307f of _0x94c5c5[_0x37a4('0x1b')]())_0x36307f[_0x37a4('0x6')]&&(_0x36307f[_0x37a4('0x6c')](),_0x3aee8d=!0x0);}}return _0x3aee8d;}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')]['registerPostFixer'](_0x3f1907=>{const _0x4da7cc=_0x303dd6['commands'][_0x37a4('0x4e')]('redo');if(!_0x4da7cc||!_0x4da7cc[_0x37a4('0x6e')][_0x37a4('0x3')](_0x3f1907[_0x37a4('0x99')]))return!0x1;let _0x23b03f=!0x1;const _0x3868e5=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x4a'))['me'],_0x1559cf=_0x303dd6[_0x37a4('0x8')]['document'][_0x37a4('0x9b')]['getChanges'](),_0x3495ba=Array[_0x37a4('0x7d')](_0x303dd6['model']['document'][_0x37a4('0x9b')][_0x37a4('0x8f')]())[_0x37a4('0x6b')](({name:_0x531094,data:_0x3efd48})=>{const {group:_0x37bacd,subType:_0x45ff92,authorId:_0xd77975}=_0x277b72[_0x37a4('0x88')](_0x531094);return _0x37a4('0x41')==_0x37bacd&&_0x37a4('0xe')==_0x45ff92&&_0xd77975==_0x3868e5['id']&&!_0x3efd48[_0x37a4('0x4')];});for(const _0x4f95d2 of _0x1559cf){if(_0x37a4('0x52')!=_0x4f95d2[_0x37a4('0x53')]||_0x37a4('0x75')!=_0x4f95d2[_0x37a4('0x7c')]||0x1!=_0x4f95d2[_0x37a4('0x33')])continue;const _0x333663=_0x3f1907[_0x37a4('0x81')](_0x4f95d2[_0x37a4('0x13')],_0x4f95d2[_0x37a4('0x13')]['getShiftedBy'](0x1));if(!_0x3495ba[_0x37a4('0x9e')](({data:_0x510630})=>_0x510630['newRange']['isEqual'](_0x333663)))for(const {name:_0x267484,data:_0x16fb11}of _0x3495ba)if(_0x333663['containsRange'](_0x16fb11[_0x37a4('0x9a')])){_0x3f1907['updateMarker'](_0x267484,{'range':_0x333663}),_0x23b03f=!0x0;break;}}return _0x23b03f;}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')]['registerPostFixer'](_0x3ce4e2=>{let _0x291239=!0x1;const _0x470431=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x4a'))['me'],_0x2a5e73=_0x277b72['getSuggestions']()[_0x37a4('0x6b')](_0x1ea22b=>_0x1ea22b[_0x37a4('0x6')]&&_0x1ea22b[_0x37a4('0x98')]==_0x470431),_0x2ac1e6=new Set(),_0x34b0ff=new Set();for(const _0x3b8063 of _0x2a5e73)if(_0x37a4('0xe')==_0x3b8063[_0x37a4('0x9')])for(const _0x53c255 of _0x3b8063['getMarkers']()){const _0x5b8872=_0x53c255['getRange']()[_0x37a4('0x9c')]();if(_0x5b8872){if(_0x5b8872['is'](_0x37a4('0x63'),_0x37a4('0x75'))&&ce(_0x5b8872)){_0x3b8063[_0x37a4('0x65')](_0x53c255[_0x37a4('0x7c')]),_0x2ac1e6[_0x37a4('0x97')](_0x5b8872),_0x291239=!0x0;const _0x33d29d=_0x5b8872[_0x37a4('0x8a')],_0x3818d9=_0x5b8872['previousSibling'],_0x27033e=_0x33d29d&&_0x33d29d['is'](_0x37a4('0x63'),_0x37a4('0x75')),_0x1a6528=_0x3818d9&&_0x3818d9['is'](_0x37a4('0x63'),_0x37a4('0x75'));_0x27033e&&!_0x2ac1e6[_0x37a4('0x3')](_0x33d29d)&&_0x34b0ff[_0x37a4('0x97')](_0x33d29d),_0x1a6528&&!_0x2ac1e6[_0x37a4('0x3')](_0x3818d9)&&_0x34b0ff[_0x37a4('0x97')](_0x3818d9);}else _0x5b8872['is'](_0x37a4('0x63'),_0x37a4('0x89'))&&_0x5b8872[_0x37a4('0x68')]&&(_0x3b8063[_0x37a4('0x65')](_0x53c255['name']),_0x291239=!0x0);}}else{if(_0x37a4('0x66')==_0x3b8063[_0x37a4('0x9')]){if(!_0x3b8063[_0x37a4('0x31')]||!_0x3b8063[_0x37a4('0x31')]['tablePasteChainId'])continue;const _0x405c08=_0x3b8063[_0x37a4('0x31')][_0x37a4('0x62')];if(_0x405c08&&Object[_0x37a4('0x9d')](_0x405c08)[_0x37a4('0x33')])continue;const _0x29c761=_0x3b8063[_0x37a4('0x31')][_0x37a4('0x39')];let _0x24f8bf=!0x0,_0x1bcd5d=!0x0;for(const _0x5436dd of _0x2a5e73)if(_0x5436dd[_0x37a4('0x9')]&&_0x5436dd[_0x37a4('0x9')]['startsWith'](_0x37a4('0xe'))){if(!_0x5436dd[_0x37a4('0x31')][_0x37a4('0x39')]){_0x1bcd5d=!0x1;break;}if(_0x5436dd['id']!=_0x3b8063['id']&&_0x5436dd[_0x37a4('0x31')][_0x37a4('0x39')]==_0x29c761){_0x24f8bf=!0x1;break;}}_0x1bcd5d&&_0x24f8bf&&(_0x3b8063[_0x37a4('0x5b')](),_0x291239=!0x0);}}for(const _0x44d8c9 of _0x2ac1e6)_0x3ce4e2[_0x37a4('0x46')](_0x44d8c9);for(const _0x42b7a3 of _0x34b0ff)_0x3ce4e2['unwrap'](_0x42b7a3);return _0x291239;}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x80')](_0x37a4('0x4f'))[_0x37a4('0x1d')]({'model':_0x37a4('0x5e'),'view':(_0x2dabba,_0x253c22)=>_0x5ea1ac(_0x2dabba),'converterPriority':_0x37a4('0x51')}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x80')](_0x37a4('0x18'))[_0x37a4('0x1d')]({'model':_0x37a4('0x5e'),'view':(_0x2e6d0a,_0x1303ab)=>_0x1303ab[_0x37a4('0x61')]['showSuggestionHighlights']?_0x5ea1ac(_0x2e6d0a,!0x1):null,'converterPriority':_0x37a4('0x51')});const _0x15d185=_0x303dd6[_0x37a4('0x82')][_0x37a4('0x85')];this[_0x37a4('0x29')](_0x15d185[_0x37a4('0x84')],'clipboardOutput',(_0x31adf2,_0x395459)=>{const _0x3a1ae1=[];for(const _0xee1670 of _0x15d185[_0x37a4('0x34')](_0x395459[_0x37a4('0x2b')])[_0x37a4('0x42')]())_0xee1670['is'](_0x37a4('0x63'),'suggestion-td')&&_0x3a1ae1[_0x37a4('0x90')](_0xee1670);_0x15d185[_0x37a4('0x50')](_0x5e8e2f=>{for(const _0x16d578 of _0x3a1ae1)_0x5e8e2f[_0x37a4('0x7e')](_0x5e8e2f[_0x37a4('0x34')](_0x16d578),_0x5e8e2f[_0x37a4('0x9f')](_0x16d578)),_0x5e8e2f[_0x37a4('0x46')](_0x16d578);});});}}function ce(_0x3e54f1){if(_0x3e54f1[_0x37a4('0x68')])return!0x0;const _0x3d2385=_0x3e54f1[_0x37a4('0x20')](0x0);return _0x3d2385['is'](_0x37a4('0x63'),_0x37a4('0x89'))&&_0x3d2385[_0x37a4('0x68')];}function fe(_0x558056,_0x29da87={},_0x1d087d){for(const {isAnchor:_0x19ccc8,cellHeight:_0x3b1a8b,cellWidth:_0x3e482f}of _0x1d087d['createTableWalker'](_0x558056,{'includeAllSlots':!0x0,..._0x29da87}))if(!_0x19ccc8||0x1!=_0x3b1a8b||0x1!=_0x3e482f)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36b0=['columnWidths','selection','plugins','tableWidth','enableCommand','table','registerCustomCallback','commandParams','discard','data','getSuggestionCallback','getTableColumnsWidths','getSelectedElement','Users','has','getColumnGroupElement','bind','handleResizeTableWidthCommand','resizeTableWidth','model','_suggestionFactory','*Format:*\x20resize\x20table','change','type','author','afterInit','registerDescriptionCallback','_descriptionFactory','TableColumnResizeEditing','accept','markBlockFormat','editor','getSuggestions','get','formatBlock','formatGroupId','resizeTable','TrackChangesEditing','format'];(function(_0x31b373,_0x36b036){const _0x4a9dcb=function(_0x40328a){while(--_0x40328a){_0x31b373['push'](_0x31b373['shift']());}};_0x4a9dcb(++_0x36b036);}(_0x36b0,0x134));const _0x4a9d=function(_0x31b373,_0x36b036){_0x31b373=_0x31b373-0x0;let _0x4a9dcb=_0x36b0[_0x31b373];return _0x4a9dcb;};import{Plugin as _0x4d2719}from'ckeditor5/src/core';import{getTranslation as _0x51b2ef}from'../utils/common-translations';export default class It extends _0x4d2719{[_0x4a9d('0x1d')](){if(!this['editor'][_0x4a9d('0x6')][_0x4a9d('0x12')](_0x4a9d('0x20')))return;const _0x42f062=this['editor'][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x2'));_0x42f062[_0x4a9d('0x8')]('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x4a9d('0x14')](this)),_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xa')]('formatBlock',_0x4a9d('0x1'),'accept',_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xe')](_0x4a9d('0x26'),null,'discard')),_0x42f062['_suggestionFactory'][_0x4a9d('0xa')](_0x4a9d('0x26'),'resizeTable',_0x4a9d('0xc'),_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xe')](_0x4a9d('0x26'),null,_0x4a9d('0x21'))),_0x42f062[_0x4a9d('0x1f')][_0x4a9d('0x1e')](this['handleSuggestionDescription'][_0x4a9d('0x14')](this));}[_0x4a9d('0x15')](_0x5bcbb1,_0x538a1e){const _0x23e0db=this[_0x4a9d('0x23')][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x2')),_0x5af0e6=this[_0x4a9d('0x23')][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x20')),_0x157606=_0x538a1e[_0x4a9d('0x9')]||this[_0x4a9d('0x23')][_0x4a9d('0x17')]['document'][_0x4a9d('0x5')][_0x4a9d('0x10')]();this['editor']['model'][_0x4a9d('0x1a')](()=>{const _0xa1b066=_0x5af0e6[_0x4a9d('0x13')](_0x157606);let _0xa8aed1=_0xa1b066?_0x5af0e6[_0x4a9d('0xf')](_0xa1b066):null,_0x3c2b8a=_0x157606['getAttribute'](_0x4a9d('0x7'))||null;const _0x322d0c=_0x538a1e[_0x4a9d('0x7')]||_0x3c2b8a,_0x2d4989=_0x538a1e[_0x4a9d('0x4')]||_0xa8aed1,_0x5b8a50=this[_0x4a9d('0x23')]['plugins'][_0x4a9d('0x25')](_0x4a9d('0x11'))['me'];for(const _0x1bd6e8 of _0x23e0db[_0x4a9d('0x24')]()){const _0x392cea=_0x1bd6e8['getContainedElement']();if('resizeTable'===_0x1bd6e8['subType']&&_0x392cea===_0x157606){_0x1bd6e8[_0x4a9d('0x1c')]!==_0x5b8a50&&_0x1bd6e8[_0x4a9d('0xc')]();const _0x2bcfdc=_0x1bd6e8[_0x4a9d('0xd')][_0x4a9d('0xb')];_0x3c2b8a=_0x2bcfdc[0x0][_0x4a9d('0x7')],_0xa8aed1=_0x2bcfdc[0x0][_0x4a9d('0x4')];break;}}_0x5bcbb1({'table':_0x157606,'tableWidth':_0x322d0c,'columnWidths':_0x2d4989}),_0x23e0db[_0x4a9d('0x22')](_0x157606,{'commandName':_0x4a9d('0x16'),'commandParams':[{'tableWidth':_0x3c2b8a,'columnWidths':_0xa8aed1}],'formatGroupId':_0x4a9d('0x1')},[],'resizeTable');});}['handleSuggestionDescription'](_0x2a011f){if(_0x4a9d('0x26')!=_0x2a011f[_0x4a9d('0x1b')]&&'formatInline'!=_0x2a011f[_0x4a9d('0x1b')])return;const {data:_0x5ccd6d}=_0x2a011f;if(_0x5ccd6d&&'resizeTable'===_0x5ccd6d[_0x4a9d('0x0')]){const _0x570087=_0x4a9d('0x19');return{'type':_0x4a9d('0x3'),'content':_0x51b2ef(this[_0x4a9d('0x23')]['locale'],_0x570087)};}}}
23
+ const _0x4e0e=['getContainedElement','accept','discard','formatGroupId','format','bind','model','handleResizeTableWidthCommand','getSuggestions','_descriptionFactory','formatBlock','type','change','resizeTableWidth','columnWidths','Users','markBlockFormat','data','tableWidth','registerDescriptionCallback','enableCommand','commandParams','TrackChangesEditing','resizeTable','has','handleSuggestionDescription','getColumnGroupElement','getAttribute','document','*Format:*\x20resize\x20table','get','table','author','TableColumnResizeEditing','editor','selection','_suggestionFactory','getSuggestionCallback','plugins','getSelectedElement','registerCustomCallback'];(function(_0x318d83,_0x4e0e9c){const _0x152dcb=function(_0x4282c1){while(--_0x4282c1){_0x318d83['push'](_0x318d83['shift']());}};_0x152dcb(++_0x4e0e9c);}(_0x4e0e,0x134));const _0x152d=function(_0x318d83,_0x4e0e9c){_0x318d83=_0x318d83-0x0;let _0x152dcb=_0x4e0e[_0x318d83];return _0x152dcb;};import{Plugin as _0x2a020e}from'ckeditor5/src/core';import{getTranslation as _0xdb2bd4}from'../utils/common-translations';export default class It extends _0x2a020e{['afterInit'](){if(!this['editor'][_0x152d('0x11')][_0x152d('0x3')](_0x152d('0xc')))return;const _0x4e9702=this['editor'][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x1'));_0x4e9702[_0x152d('0x28')](_0x152d('0x21'),this[_0x152d('0x1b')]['bind'](this)),_0x4e9702[_0x152d('0xf')][_0x152d('0x13')]('formatBlock',_0x152d('0x2'),_0x152d('0x15'),_0x4e9702['_suggestionFactory'][_0x152d('0x10')](_0x152d('0x1e'),null,_0x152d('0x16'))),_0x4e9702[_0x152d('0xf')][_0x152d('0x13')](_0x152d('0x1e'),_0x152d('0x2'),_0x152d('0x16'),_0x4e9702[_0x152d('0xf')][_0x152d('0x10')](_0x152d('0x1e'),null,_0x152d('0x15'))),_0x4e9702[_0x152d('0x1d')][_0x152d('0x27')](this[_0x152d('0x4')][_0x152d('0x19')](this));}[_0x152d('0x1b')](_0x15c0e,_0x243488){const _0x55b80f=this[_0x152d('0xd')][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x1')),_0x5c95e2=this['editor'][_0x152d('0x11')][_0x152d('0x9')]('TableColumnResizeEditing'),_0x1400de=_0x243488[_0x152d('0xa')]||this[_0x152d('0xd')][_0x152d('0x1a')][_0x152d('0x7')][_0x152d('0xe')][_0x152d('0x12')]();this['editor'][_0x152d('0x1a')][_0x152d('0x20')](()=>{const _0x46353a=_0x5c95e2[_0x152d('0x5')](_0x1400de);let _0x534ba3=_0x46353a?_0x5c95e2['getTableColumnsWidths'](_0x46353a):null,_0x362e5d=_0x1400de[_0x152d('0x6')](_0x152d('0x26'))||null;const _0x112e3a=_0x243488['tableWidth']||_0x362e5d,_0x219a73=_0x243488['columnWidths']||_0x534ba3,_0x254670=this['editor'][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x23'))['me'];for(const _0x25006e of _0x55b80f[_0x152d('0x1c')]()){const _0xe2bb42=_0x25006e[_0x152d('0x14')]();if(_0x152d('0x2')===_0x25006e['subType']&&_0xe2bb42===_0x1400de){_0x25006e[_0x152d('0xb')]!==_0x254670&&_0x25006e[_0x152d('0x16')]();const _0x404b9b=_0x25006e[_0x152d('0x25')][_0x152d('0x0')];_0x362e5d=_0x404b9b[0x0][_0x152d('0x26')],_0x534ba3=_0x404b9b[0x0][_0x152d('0x22')];break;}}_0x15c0e({'table':_0x1400de,'tableWidth':_0x112e3a,'columnWidths':_0x219a73}),_0x55b80f[_0x152d('0x24')](_0x1400de,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x362e5d,'columnWidths':_0x534ba3}],'formatGroupId':_0x152d('0x2')},[],'resizeTable');});}['handleSuggestionDescription'](_0x1c3433){if(_0x152d('0x1e')!=_0x1c3433[_0x152d('0x1f')]&&'formatInline'!=_0x1c3433['type'])return;const {data:_0x4a1da7}=_0x1c3433;if(_0x4a1da7&&_0x152d('0x2')===_0x4a1da7[_0x152d('0x17')]){const _0x27b22a=_0x152d('0x8');return{'type':_0x152d('0x18'),'content':_0xdb2bd4(this['editor']['locale'],_0x27b22a)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3152=['_acceptFormatSuggestionCallbackFactory','activeMarkers','type','options','unbindElementFromMarkerName','_handleLegacySuggestions','downcastDispatcher','name','toViewElement','start','registerDescriptionCallback','bindElementToMarker','_descriptionFactory','*Format:*\x20%0','stop','createTableWalker','headingColumns','FORMAT_HEADER_ROW','has','parent','markerName','removeClass','locale','data-suggestion','consumable','addClass','ck-suggestion-marker-','getCellLocation','TableEditing','registerAttributeLabel','forceValue','requires','mapper','TrackChangesEditing','get','FORMAT_HEADER_COLUMN','_suggestionFactory','commandParams','data','setTableRowHeader','ck-suggestion-marker--active','editor','showSuggestionHighlights','addMarker:suggestion','afterInit','setAttribute','highest','editing','accept','_splitMarkerName','getSuggestion','consume','headingRows','registerCustomCallback','markerRange','cell','setTableColumnHeader','plugins','nodeBefore','commandName','_enableDefaultAttributesIntegration','formatBlock','writer'];(function(_0x4c6f5c,_0x3152d4){const _0x18ea90=function(_0xad3d0e){while(--_0xad3d0e){_0x4c6f5c['push'](_0x4c6f5c['shift']());}};_0x18ea90(++_0x3152d4);}(_0x3152,0x1a5));const _0x18ea=function(_0x4c6f5c,_0x3152d4){_0x4c6f5c=_0x4c6f5c-0x0;let _0x18ea90=_0x3152[_0x4c6f5c];return _0x18ea90;};import{Plugin as _0x3731b7}from'ckeditor5/src/core';import _0x1fb8e4 from'./table';import{getTranslation as _0x31e777}from'../utils/common-translations';export default class St extends _0x3731b7{static get[_0x18ea('0x33')](){return[_0x1fb8e4];}[_0x18ea('0x1')](){const _0xaf963a=this[_0x18ea('0x3d')];if(!_0xaf963a[_0x18ea('0xe')][_0x18ea('0x26')](_0x18ea('0x30')))return;const _0x203596=_0xaf963a[_0x18ea('0x2a')],_0x5ccb8d=_0xaf963a[_0x18ea('0xe')]['get']('TrackChangesEditing');_0x5ccb8d[_0x18ea('0x11')](_0x18ea('0x3b'),[],[_0x18ea('0x9')]),_0x5ccb8d[_0x18ea('0x11')](_0x18ea('0xd'),[],[_0x18ea('0x24')]),_0x5ccb8d[_0x18ea('0x20')][_0x18ea('0x31')](_0x18ea('0x9'),_0x31e777(_0x203596,'FORMAT_HEADER_ROW')),_0x5ccb8d['_descriptionFactory'][_0x18ea('0x31')](_0x18ea('0x24'),_0x31e777(_0x203596,_0x18ea('0x37'))),this[_0x18ea('0x19')]();}['_handleLegacySuggestions'](){const _0x35ff09=this[_0x18ea('0x3d')][_0x18ea('0xe')][_0x18ea('0x36')](_0x18ea('0x35')),_0x1ef737=this['editor'][_0x18ea('0xe')][_0x18ea('0x36')]('TableUtils'),_0x14143d=this[_0x18ea('0x3d')][_0x18ea('0xe')][_0x18ea('0x36')](_0x1fb8e4)[_0x18ea('0x14')]();function _0x1aebc6({showActiveMarker:_0x5b43e1=!0x0,setDataAttribute:_0xfaa956=!0x0}={}){return(_0x54925e,_0x2311c6,_0x3500da)=>{const {type:_0x50014c,id:_0x55bd7a}=_0x35ff09[_0x18ea('0x6')](_0x2311c6[_0x18ea('0x28')]),_0x47095f=_0x35ff09[_0x18ea('0x7')](_0x55bd7a),_0x59f67a=_0x47095f[_0x18ea('0x3a')];if(_0x18ea('0x12')!=_0x47095f[_0x18ea('0x16')]||!_0x59f67a||_0x18ea('0xd')!=_0x59f67a[_0x18ea('0x10')])return;if(_0x2311c6['item'])return void _0x54925e[_0x18ea('0x22')]();if(!_0x3500da[_0x18ea('0x2c')][_0x18ea('0x8')](_0x2311c6[_0x18ea('0xb')],_0x54925e[_0x18ea('0x1b')]))return;const _0x15919d=_0x2311c6[_0x18ea('0xb')][_0x18ea('0x1d')]['nodeAfter'],_0x3c7d2d=_0x2311c6[_0x18ea('0xb')]['end'][_0x18ea('0xf')],_0x586651=_0x15919d[_0x18ea('0x27')][_0x18ea('0x27')],{column:_0x460f3a}=_0x1ef737[_0x18ea('0x2f')](_0x15919d),{column:_0x515a3c}=_0x1ef737['getCellLocation'](_0x3c7d2d);for(let _0x1ed140=_0x460f3a;_0x1ed140<=_0x515a3c;_0x1ed140++){const _0x3e0461=_0x1ef737[_0x18ea('0x23')](_0x586651,{'column':_0x1ed140,'includeAllSlots':!0x1});for(const _0xf960e6 of _0x3e0461){const _0x489b2f=_0xf960e6[_0x18ea('0xc')],_0x5c4c98=_0x3500da[_0x18ea('0x34')][_0x18ea('0x1c')](_0x489b2f);_0x3500da[_0x18ea('0x13')][_0x18ea('0x2d')](_0x18ea('0x2e')+_0x50014c,_0x5c4c98),_0xfaa956&&_0x3500da[_0x18ea('0x13')][_0x18ea('0x2')](_0x18ea('0x2b'),_0x55bd7a,_0x5c4c98),_0x3500da[_0x18ea('0x34')][_0x18ea('0x1f')](_0x5c4c98,_0x2311c6[_0x18ea('0x28')]),_0x5b43e1&&(_0x35ff09[_0x18ea('0x15')]['includes'](_0x2311c6[_0x18ea('0x28')])?_0x3500da[_0x18ea('0x13')][_0x18ea('0x2d')](_0x18ea('0x3c'),_0x5c4c98):_0x3500da[_0x18ea('0x13')][_0x18ea('0x29')]('ck-suggestion-marker--active',_0x5c4c98));}}};}_0x35ff09[_0x18ea('0x38')][_0x18ea('0xa')](_0x18ea('0x12'),_0x18ea('0x3b'),_0x18ea('0x5'),_0x14143d),_0x35ff09[_0x18ea('0x38')]['registerCustomCallback'](_0x18ea('0x12'),'setTableColumnHeader',_0x18ea('0x5'),_0x14143d),this[_0x18ea('0x3d')][_0x18ea('0x4')][_0x18ea('0x1a')]['on'](_0x18ea('0x0'),_0x1aebc6(),{'priority':_0x18ea('0x3')}),this[_0x18ea('0x3d')][_0x18ea('0x3a')][_0x18ea('0x1a')]['on'](_0x18ea('0x0'),(_0x5f16a5,_0x66a580,_0x361ec8)=>{_0x361ec8[_0x18ea('0x17')][_0x18ea('0x3e')]&&_0x1aebc6({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5f16a5,_0x66a580,_0x361ec8);},{'priority':_0x18ea('0x3')}),this[_0x18ea('0x3d')][_0x18ea('0x4')][_0x18ea('0x1a')]['on']('removeMarker:suggestion',(_0x59e75b,_0x2db640,_0x490530)=>{const {type:_0x5b88a3,id:_0x4c12d9}=_0x35ff09[_0x18ea('0x6')](_0x2db640[_0x18ea('0x28')]),_0x5eac41=_0x35ff09[_0x18ea('0x7')](_0x4c12d9),_0x4a471c=_0x5eac41['data'];if(_0x18ea('0x12')!=_0x5eac41[_0x18ea('0x16')]||!_0x4a471c||_0x18ea('0xd')!=_0x4a471c['commandName'])return;const _0xb21d32=_0x490530[_0x18ea('0x34')]['markerNameToElements'](_0x2db640[_0x18ea('0x28')]);if(_0xb21d32)for(const _0xe9d53e of _0xb21d32)_0x490530[_0x18ea('0x13')]['removeClass'](_0x18ea('0x2e')+_0x5b88a3,_0xe9d53e),_0x490530[_0x18ea('0x13')][_0x18ea('0x29')](_0x18ea('0x3c'),_0xe9d53e),_0x490530[_0x18ea('0x13')]['removeAttribute'](_0x18ea('0x2b'),_0xe9d53e),_0x490530[_0x18ea('0x34')][_0x18ea('0x18')](_0xe9d53e,_0x2db640['markerName']);},{'priority':_0x18ea('0x3')}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x502ff9=this['editor'],_0x1d4b48=_0x502ff9[_0x18ea('0x2a')];function _0x4dad06(_0x491db6){return{'type':'format','content':_0x31e777(_0x1d4b48,_0x18ea('0x21'),_0x491db6)};}_0x502ff9['plugins'][_0x18ea('0x36')](_0x18ea('0x35'))[_0x18ea('0x20')][_0x18ea('0x1e')](_0x567828=>{if(_0x18ea('0x12')!=_0x567828['type'])return;const {data:_0x4258b0}=_0x567828;if(_0x4258b0){if(_0x18ea('0x3b')==_0x4258b0['commandName']){const _0x1146cf=_0x4258b0[_0x18ea('0x39')][0x0][_0x18ea('0x32')];return _0x4dad06(_0x31e777(_0x1d4b48,_0x1146cf?_0x18ea('0x25'):'FORMAT_REGULAR_ROW'));}if(_0x18ea('0xd')==_0x4258b0['commandName']){const _0x428930=_0x4258b0[_0x18ea('0x39')][0x0]['forceValue'];return _0x4dad06(_0x31e777(_0x1d4b48,_0x428930?_0x18ea('0x37'):'FORMAT_REGULAR_COLUMN'));}}});}}
23
+ const _0x50de=['item','editor','plugins','addMarker:suggestion','setTableColumnHeader','mapper','FORMAT_REGULAR_ROW','registerAttributeLabel','addClass','markerName','removeMarker:suggestion','forceValue','FORMAT_REGULAR_COLUMN','start','TableEditing','_splitMarkerName','_handleLegacySuggestions','ck-suggestion-marker-','showSuggestionHighlights','getCellLocation','TableUtils','headingRows','registerCustomCallback','markerRange','_enableDefaultAttributesIntegration','bindElementToMarker','getSuggestion','commandName','FORMAT_HEADER_ROW','stop','unbindElementFromMarkerName','get','nodeBefore','editing','writer','has','end','consume','removeClass','includes','data','ck-suggestion-marker--active','downcastDispatcher','accept','locale','createTableWalker','commandParams','TrackChangesEditing','consumable','setTableRowHeader','removeAttribute','type','FORMAT_HEADER_COLUMN','cell','formatBlock','activeMarkers','setAttribute','afterInit','highest','_acceptFormatSuggestionCallbackFactory','name','data-suggestion','headingColumns','_suggestionFactory','markerNameToElements','_registerLegacyDescription','_descriptionFactory'];(function(_0x419c71,_0x50de7f){const _0x5d9543=function(_0x2086ff){while(--_0x2086ff){_0x419c71['push'](_0x419c71['shift']());}};_0x5d9543(++_0x50de7f);}(_0x50de,0x177));const _0x5d95=function(_0x419c71,_0x50de7f){_0x419c71=_0x419c71-0x0;let _0x5d9543=_0x50de[_0x419c71];return _0x5d9543;};import{Plugin as _0x5d9b16}from'ckeditor5/src/core';import _0x3b01d9 from'./table';import{getTranslation as _0x59be36}from'../utils/common-translations';export default class St extends _0x5d9b16{static get['requires'](){return[_0x3b01d9];}[_0x5d95('0x11')](){const _0x54609c=this['editor'];if(!_0x54609c['plugins'][_0x5d95('0x3e')](_0x5d95('0x29')))return;const _0xb94d54=_0x54609c[_0x5d95('0x4')],_0x4a07aa=_0x54609c['plugins']['get']('TrackChangesEditing');_0x4a07aa[_0x5d95('0x33')](_0x5d95('0x9'),[],['headingRows']),_0x4a07aa[_0x5d95('0x33')](_0x5d95('0x1f'),[],[_0x5d95('0x16')]),_0x4a07aa[_0x5d95('0x1a')][_0x5d95('0x22')](_0x5d95('0x30'),_0x59be36(_0xb94d54,_0x5d95('0x37'))),_0x4a07aa['_descriptionFactory'][_0x5d95('0x22')]('headingColumns',_0x59be36(_0xb94d54,'FORMAT_HEADER_COLUMN')),this[_0x5d95('0x2b')]();}[_0x5d95('0x2b')](){const _0x4033db=this[_0x5d95('0x1c')][_0x5d95('0x1d')]['get'](_0x5d95('0x7')),_0x2968fe=this[_0x5d95('0x1c')][_0x5d95('0x1d')][_0x5d95('0x3a')](_0x5d95('0x2f')),_0x48156b=this['editor'][_0x5d95('0x1d')][_0x5d95('0x3a')](_0x3b01d9)[_0x5d95('0x13')]();function _0x411e0f({showActiveMarker:_0x78519e=!0x0,setDataAttribute:_0x289cce=!0x0}={}){return(_0x27c19b,_0x1d582e,_0x13e742)=>{const {type:_0x1cfa7a,id:_0xb79f39}=_0x4033db[_0x5d95('0x2a')](_0x1d582e[_0x5d95('0x24')]),_0x5dc744=_0x4033db[_0x5d95('0x35')](_0xb79f39),_0x579bc0=_0x5dc744[_0x5d95('0x0')];if(_0x5d95('0xe')!=_0x5dc744[_0x5d95('0xb')]||!_0x579bc0||'setTableColumnHeader'!=_0x579bc0[_0x5d95('0x36')])return;if(_0x1d582e[_0x5d95('0x1b')])return void _0x27c19b[_0x5d95('0x38')]();if(!_0x13e742[_0x5d95('0x8')][_0x5d95('0x40')](_0x1d582e['markerRange'],_0x27c19b[_0x5d95('0x14')]))return;const _0x464bdc=_0x1d582e[_0x5d95('0x32')][_0x5d95('0x28')]['nodeAfter'],_0x1d29eb=_0x1d582e['markerRange'][_0x5d95('0x3f')][_0x5d95('0x3b')],_0x10882e=_0x464bdc['parent']['parent'],{column:_0xaaec40}=_0x2968fe[_0x5d95('0x2e')](_0x464bdc),{column:_0x5ce457}=_0x2968fe[_0x5d95('0x2e')](_0x1d29eb);for(let _0x1c23e8=_0xaaec40;_0x1c23e8<=_0x5ce457;_0x1c23e8++){const _0x99150d=_0x2968fe[_0x5d95('0x5')](_0x10882e,{'column':_0x1c23e8,'includeAllSlots':!0x1});for(const _0x5b3de7 of _0x99150d){const _0xa544bc=_0x5b3de7[_0x5d95('0xd')],_0x348151=_0x13e742['mapper']['toViewElement'](_0xa544bc);_0x13e742[_0x5d95('0x3d')][_0x5d95('0x23')](_0x5d95('0x2c')+_0x1cfa7a,_0x348151),_0x289cce&&_0x13e742['writer'][_0x5d95('0x10')](_0x5d95('0x15'),_0xb79f39,_0x348151),_0x13e742[_0x5d95('0x20')][_0x5d95('0x34')](_0x348151,_0x1d582e[_0x5d95('0x24')]),_0x78519e&&(_0x4033db[_0x5d95('0xf')][_0x5d95('0x42')](_0x1d582e[_0x5d95('0x24')])?_0x13e742['writer'][_0x5d95('0x23')]('ck-suggestion-marker--active',_0x348151):_0x13e742[_0x5d95('0x3d')][_0x5d95('0x41')](_0x5d95('0x1'),_0x348151));}}};}_0x4033db[_0x5d95('0x17')][_0x5d95('0x31')](_0x5d95('0xe'),_0x5d95('0x9'),'accept',_0x48156b),_0x4033db['_suggestionFactory'][_0x5d95('0x31')]('formatBlock',_0x5d95('0x1f'),_0x5d95('0x3'),_0x48156b),this['editor']['editing'][_0x5d95('0x2')]['on'](_0x5d95('0x1e'),_0x411e0f(),{'priority':_0x5d95('0x12')}),this[_0x5d95('0x1c')][_0x5d95('0x0')][_0x5d95('0x2')]['on'](_0x5d95('0x1e'),(_0x18a954,_0x544124,_0x56cb0c)=>{_0x56cb0c['options'][_0x5d95('0x2d')]&&_0x411e0f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x18a954,_0x544124,_0x56cb0c);},{'priority':_0x5d95('0x12')}),this['editor'][_0x5d95('0x3c')][_0x5d95('0x2')]['on'](_0x5d95('0x25'),(_0x5aee77,_0x22c32d,_0x2652ec)=>{const {type:_0x5199a0,id:_0x506f68}=_0x4033db[_0x5d95('0x2a')](_0x22c32d[_0x5d95('0x24')]),_0x5feb8a=_0x4033db[_0x5d95('0x35')](_0x506f68),_0x31804d=_0x5feb8a['data'];if('formatBlock'!=_0x5feb8a['type']||!_0x31804d||_0x5d95('0x1f')!=_0x31804d[_0x5d95('0x36')])return;const _0x4f5068=_0x2652ec[_0x5d95('0x20')][_0x5d95('0x18')](_0x22c32d['markerName']);if(_0x4f5068)for(const _0x476014 of _0x4f5068)_0x2652ec[_0x5d95('0x3d')][_0x5d95('0x41')](_0x5d95('0x2c')+_0x5199a0,_0x476014),_0x2652ec[_0x5d95('0x3d')][_0x5d95('0x41')]('ck-suggestion-marker--active',_0x476014),_0x2652ec[_0x5d95('0x3d')][_0x5d95('0xa')]('data-suggestion',_0x476014),_0x2652ec[_0x5d95('0x20')][_0x5d95('0x39')](_0x476014,_0x22c32d[_0x5d95('0x24')]);},{'priority':_0x5d95('0x12')}),this[_0x5d95('0x19')]();}[_0x5d95('0x19')](){const _0xcd3356=this['editor'],_0x7a5c1c=_0xcd3356[_0x5d95('0x4')];function _0x4f42c9(_0x24e3c7){return{'type':'format','content':_0x59be36(_0x7a5c1c,'*Format:*\x20%0',_0x24e3c7)};}_0xcd3356['plugins'][_0x5d95('0x3a')](_0x5d95('0x7'))[_0x5d95('0x1a')]['registerDescriptionCallback'](_0x4a5bcb=>{if(_0x5d95('0xe')!=_0x4a5bcb[_0x5d95('0xb')])return;const {data:_0x46e57c}=_0x4a5bcb;if(_0x46e57c){if(_0x5d95('0x9')==_0x46e57c[_0x5d95('0x36')]){const _0x1b128e=_0x46e57c[_0x5d95('0x6')][0x0][_0x5d95('0x26')];return _0x4f42c9(_0x59be36(_0x7a5c1c,_0x1b128e?_0x5d95('0x37'):_0x5d95('0x21')));}if(_0x5d95('0x1f')==_0x46e57c[_0x5d95('0x36')]){const _0x597038=_0x46e57c['commandParams'][0x0][_0x5d95('0x26')];return _0x4f42c9(_0x59be36(_0x7a5c1c,_0x597038?_0x5d95('0xc'):_0x5d95('0x27')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14cf=['TrackChangesEditing','refresh','createTableWalker','direction','map','document','selection','registerCustomCallback','mergeTableCells','requires','_areMergableCells','splitTableCellHorizontally','execute','TableEditing','type','plugins','forceDefaultExecution','stop','*Split\x20cell:*\x20vertically','insertion','afterInit','$graveyard','getSelectionAffectedTableCells','filter','element','detach','change','getSuggestions','set:isEnabled','_areSelectedCellsMergable','getRanges','_descriptionFactory','*Merge\x20cells*','formatInline','setSelection','mergeTableCellLeft','value','fromRange','getFirstPosition','add','deletion','return','createRangeOn','accept','registerDescriptionCallback','push','_suggestionFactory','model','editor','_isForcedDefaultExecutionBlock','rootName','_tablePostFixingSubtypes','mergeTableCellUp','mergeTableCellDown','author','from','subType','TableUtils','tableCell','getAncestors','formatBlock','markMultiRangeBlockFormat','isInContent','low','root','find','enableCommand','format','length','table','containsRange','cell','size','mergeTableCellRight','get','has','markBlockFormat','splitTableCellVertically','commands','highest','getCellLocation'];(function(_0xf809d,_0x14cf30){const _0x1f6b20=function(_0x4bdd0d){while(--_0x4bdd0d){_0xf809d['push'](_0xf809d['shift']());}};_0x1f6b20(++_0x14cf30);}(_0x14cf,0x68));const _0x1f6b=function(_0xf809d,_0x14cf30){_0xf809d=_0xf809d-0x0;let _0x1f6b20=_0x14cf[_0xf809d];return _0x1f6b20;};import{Plugin as _0x326d24}from'ckeditor5/src/core';import _0x3ab70f from'./table';import{LiveRange as _0x3ea3e2}from'ckeditor5/src/engine';import{getTranslation as _0x3e9f8a}from'../utils/common-translations';export default class yt extends _0x326d24{static get[_0x1f6b('0x43')](){return[_0x3ab70f];}[_0x1f6b('0x4e')](){const _0x4bec83=this[_0x1f6b('0x19')],_0x427a3b=_0x4bec83['model'][_0x1f6b('0x3f')]['selection'],_0x27da44=_0x4bec83['locale'];if(!_0x4bec83[_0x1f6b('0x49')][_0x1f6b('0x34')](_0x1f6b('0x47')))return;const _0x1089e1=_0x4bec83['plugins']['get'](_0x1f6b('0x3a')),_0x81d198=_0x4bec83[_0x1f6b('0x49')]['get'](_0x1f6b('0x22')),_0x2b6c28=_0x4bec83[_0x1f6b('0x49')]['get'](_0x3ab70f);_0x2b6c28[_0x1f6b('0x1c')][_0x1f6b('0x16')]('mergeTableCells'),_0x1089e1[_0x1f6b('0x2b')](_0x1f6b('0x42'),()=>{const _0x4ea77a=_0x81d198['getSelectionAffectedTableCells'](_0x4bec83[_0x1f6b('0x18')]['document'][_0x1f6b('0x40')]);_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3')](()=>{_0x1089e1['markMultiRangeBlockFormat'](_0x4ea77a,{'commandName':_0x1f6b('0x42'),'commandParams':[]},[],_0x1f6b('0x42'));});}),_0x4bec83['commands'][_0x1f6b('0x33')](_0x1f6b('0x42'))['on'](_0x1f6b('0x46'),(_0x4f6925,_0x295c9d)=>{_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')]('trackChanges')[_0x1f6b('0xd')]&&(_0x295c9d['length']>0x0&&_0x295c9d[_0x295c9d['length']-0x1]&&_0x295c9d[_0x295c9d['length']-0x1][_0x1f6b('0x4a')]||_0x1089e1[_0x1f6b('0x1a')]||this[_0x1f6b('0x6')]()||_0x4f6925[_0x1f6b('0x4b')]());},{'priority':_0x1f6b('0x38')});for(const _0x20428d of[_0x1f6b('0x1d'),'mergeTableCellRight',_0x1f6b('0x1e'),_0x1f6b('0xc')]){const _0x4fc337=_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x20428d);_0x1089e1[_0x1f6b('0x2b')](_0x20428d,()=>{const _0x2bf823=_0x4bec83['model'][_0x1f6b('0x3f')]['selection'][_0x1f6b('0xf')]()[_0x1f6b('0x24')]()['find'](_0x5c9178=>_0x5c9178['is'](_0x1f6b('0x1'),_0x1f6b('0x23'))),_0x16a67a=_0x4fc337[_0x1f6b('0xd')];_0x4bec83[_0x1f6b('0x18')]['change'](()=>{_0x1089e1[_0x1f6b('0x26')]([_0x2bf823,_0x16a67a],{'commandName':_0x1f6b('0x42'),'commandParams':[]},[],_0x1f6b('0x42'));});});}for(const _0x5ae4ac of[_0x1f6b('0x36'),'splitTableCellHorizontally']){const _0x5a9878=_0x4bec83['commands'][_0x1f6b('0x33')](_0x5ae4ac);_0x1089e1[_0x1f6b('0x2b')](_0x5ae4ac,()=>{const _0x4c13d5=_0x81d198[_0x1f6b('0x50')](_0x4bec83['model']['document'][_0x1f6b('0x40')])[0x0],_0x117f9e=_0x4c13d5['findAncestor'](_0x1f6b('0x2e')),{column:_0x38c539,row:_0x2d75c0}=_0x81d198[_0x1f6b('0x39')](_0x4c13d5);let _0x58c829=[];if('horizontally'==_0x5a9878[_0x1f6b('0x3d')]){const _0x1f3e70=_0x81d198[_0x1f6b('0x3c')](_0x117f9e,{'startRow':_0x2d75c0,'endRow':_0x2d75c0,'includeAllSlots':!0x0});_0x58c829=Array[_0x1f6b('0x20')](_0x1f3e70)[_0x1f6b('0x3e')](_0x5ee6e9=>_0x5ee6e9[_0x1f6b('0x30')]);}else{const _0x3e7c7d=_0x81d198[_0x1f6b('0x3c')](_0x117f9e,{'column':_0x38c539,'includeAllSlots':!0x0});_0x58c829=Array[_0x1f6b('0x20')](_0x3e7c7d)[_0x1f6b('0x3e')](_0x44ba34=>_0x44ba34[_0x1f6b('0x30')]);}_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3')](_0x458c45=>{_0x1089e1[_0x1f6b('0x35')](_0x458c45['createRangeOn'](_0x4c13d5),{'commandName':_0x5ae4ac,'commandParams':[]},_0x58c829,_0x5ae4ac);});});}_0x1089e1[_0x1f6b('0x8')][_0x1f6b('0x15')](_0x397dfd=>{if('formatBlock'!=_0x397dfd[_0x1f6b('0x48')]&&'formatInline'!=_0x397dfd[_0x1f6b('0x48')])return;const {data:_0x54864d}=_0x397dfd;return _0x54864d&&_0x1f6b('0x42')==_0x54864d['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,_0x1f6b('0x9'))}:void 0x0;}),_0x1089e1[_0x1f6b('0x8')][_0x1f6b('0x15')](_0x40da4c=>{if(_0x1f6b('0x25')!=_0x40da4c[_0x1f6b('0x48')]&&_0x1f6b('0xa')!=_0x40da4c[_0x1f6b('0x48')])return;const {data:_0x80ca7b}=_0x40da4c;return _0x80ca7b?_0x1f6b('0x36')==_0x80ca7b['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,_0x1f6b('0x4c'))}:_0x1f6b('0x45')==_0x80ca7b['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x358f28=_0x2b6c28['_acceptFormatSuggestionCallbackFactory']();for(const _0x4d1689 of['mergeTableCellUp',_0x1f6b('0x32'),_0x1f6b('0x1e'),_0x1f6b('0xc')])_0x1089e1[_0x1f6b('0x17')][_0x1f6b('0x41')](_0x1f6b('0x25'),_0x4d1689,_0x1f6b('0x14'),_0x358f28);for(const _0x34d591 of[_0x1f6b('0x36'),'splitTableCellHorizontally'])_0x1089e1[_0x1f6b('0x17')][_0x1f6b('0x41')](_0x1f6b('0x25'),_0x34d591,_0x1f6b('0x14'),_0x358f28);_0x1089e1['_suggestionFactory']['registerCustomCallback'](_0x1f6b('0x25'),_0x1f6b('0x42'),_0x1f6b('0x14'),_0x80a090=>{_0x4bec83[_0x1f6b('0x18')]['change'](_0x5bc9c0=>{const _0xc050bf=Array[_0x1f6b('0x20')](_0x427a3b[_0x1f6b('0x7')]())[_0x1f6b('0x3e')](_0x479511=>_0x3ea3e2[_0x1f6b('0xe')](_0x479511));_0x5bc9c0[_0x1f6b('0xb')](_0x80a090),_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x1f6b('0x42'))[_0x1f6b('0x3b')](),_0x4bec83['execute'](_0x1f6b('0x42'),{'forceDefaultExecution':!0x0});const _0x2dc07b=_0xc050bf[_0x1f6b('0x0')](_0xb54f50=>_0x1f6b('0x4f')!=_0xb54f50[_0x1f6b('0x29')][_0x1f6b('0x1b')]);_0x2dc07b[_0x1f6b('0x2d')]>0x0&&_0x5bc9c0[_0x1f6b('0xb')](_0x2dc07b);for(const _0x3a7481 of _0xc050bf)_0x3a7481[_0x1f6b('0x2')]();});});for(const _0x5accb5 of[_0x1f6b('0x1d'),_0x1f6b('0x1e'),_0x1f6b('0xc'),'mergeTableCellRight']){const _0xae65f2=_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x5accb5);_0xae65f2['on'](_0x1f6b('0x5'),(_0x233f47,_0x19675a,_0x5091d7)=>{if(_0x5091d7){const _0x242414=_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3f')]['selection']['getFirstPosition']()[_0x1f6b('0x24')]()[_0x1f6b('0x2a')](_0x1d0fb5=>_0x1d0fb5['is'](_0x1f6b('0x1'),'tableCell'));this[_0x1f6b('0x44')](_0xae65f2[_0x1f6b('0xd')],_0x242414)||(_0x233f47[_0x1f6b('0x12')]=!0x1,_0x233f47[_0x1f6b('0x4b')]());}},{'priority':_0x1f6b('0x28')});}}[_0x1f6b('0x6')](){const _0x262c64=this[_0x1f6b('0x19')][_0x1f6b('0x37')][_0x1f6b('0x33')](_0x1f6b('0x42')),_0x146b7a=this['editor']['plugins'][_0x1f6b('0x33')](_0x1f6b('0x22'));if(!_0x262c64['isEnabled'])return!0x1;const _0x5a39e9=_0x146b7a[_0x1f6b('0x50')](this[_0x1f6b('0x19')][_0x1f6b('0x18')][_0x1f6b('0x3f')]['selection']);for(const _0x1e6d4e of _0x5a39e9)for(const _0x1e34ba of _0x5a39e9)if(_0x1e6d4e!=_0x1e34ba&&!this['_areMergableCells'](_0x1e6d4e,_0x1e34ba))return!0x1;return!0x0;}['_areMergableCells'](_0x188767,_0xd04016){const _0x22cd64=this['editor']['plugins'][_0x1f6b('0x33')](_0x1f6b('0x3a')),_0x325099=this['editor'][_0x1f6b('0x18')][_0x1f6b('0x13')](_0x188767),_0x972fff=this[_0x1f6b('0x19')][_0x1f6b('0x18')][_0x1f6b('0x13')](_0xd04016),_0x3a461a=new Set(),_0x40821a=new Set();for(const _0x554a80 of _0x22cd64[_0x1f6b('0x4')]())if((_0x1f6b('0x4d')==_0x554a80['type']||_0x1f6b('0x11')==_0x554a80[_0x1f6b('0x48')]||_0x1f6b('0x42')==_0x554a80[_0x1f6b('0x21')])&&_0x554a80[_0x1f6b('0x27')])for(const _0x27e30f of _0x554a80[_0x1f6b('0x7')]())_0x27e30f[_0x1f6b('0x2f')](_0x325099,!0x0)&&_0x3a461a[_0x1f6b('0x10')](_0x554a80['type']+':'+_0x554a80['author']['id']),_0x27e30f[_0x1f6b('0x2f')](_0x972fff,!0x0)&&_0x40821a[_0x1f6b('0x10')](_0x554a80['type']+':'+_0x554a80[_0x1f6b('0x1f')]['id']);if(_0x3a461a[_0x1f6b('0x31')]!=_0x40821a[_0x1f6b('0x31')])return!0x1;for(const _0x539931 of _0x3a461a)if(!_0x40821a[_0x1f6b('0x34')](_0x539931))return!0x1;return!0x0;}}
23
+ const _0x1172=['getSelectionAffectedTableCells','subType','has','execute','accept','direction','getRanges','fromRange','length','find','TableUtils','createRangeOn','selection','splitTableCellVertically','mergeTableCellDown','size','registerCustomCallback','TrackChangesEditing','commandName','_descriptionFactory','author','detach','root','_areMergableCells','horizontally','_areSelectedCellsMergable','commands','insertion','splitTableCellHorizontally','locale','mergeTableCellRight','getCellLocation','tableCell','format','mergeTableCells','from','createTableWalker','plugins','TableEditing','push','formatInline','table','add','registerDescriptionCallback','getAncestors','formatBlock','getSuggestions','highest','markMultiRangeBlockFormat','change','type','setSelection','low','*Split\x20cell:*\x20horizontally','requires','editor','stop','mergeTableCellLeft','getFirstPosition','value','set:isEnabled','mergeTableCellUp','$graveyard','*Split\x20cell:*\x20vertically','model','_suggestionFactory','get','_acceptFormatSuggestionCallbackFactory','element','enableCommand','refresh','map','isEnabled','afterInit','markBlockFormat','document','forceDefaultExecution'];(function(_0x35c45e,_0x11723a){const _0xc86517=function(_0x428b24){while(--_0x428b24){_0x35c45e['push'](_0x35c45e['shift']());}};_0xc86517(++_0x11723a);}(_0x1172,0x146));const _0xc865=function(_0x35c45e,_0x11723a){_0x35c45e=_0x35c45e-0x0;let _0xc86517=_0x1172[_0x35c45e];return _0xc86517;};import{Plugin as _0x47902c}from'ckeditor5/src/core';import _0x2a0e2e from'./table';import{LiveRange as _0x248293}from'ckeditor5/src/engine';import{getTranslation as _0x446b36}from'../utils/common-translations';export default class yt extends _0x47902c{static get[_0xc865('0x24')](){return[_0x2a0e2e];}[_0xc865('0x37')](){const _0x581bbe=this[_0xc865('0x25')],_0x54b876=_0x581bbe[_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')],_0x27c445=_0x581bbe[_0xc865('0xb')];if(!_0x581bbe[_0xc865('0x13')][_0xc865('0x3d')](_0xc865('0x14')))return;const _0x97a1a7=_0x581bbe[_0xc865('0x13')]['get'](_0xc865('0x4c')),_0x52759a=_0x581bbe[_0xc865('0x13')][_0xc865('0x30')](_0xc865('0x45')),_0x1da7ba=_0x581bbe['plugins'][_0xc865('0x30')](_0x2a0e2e);_0x1da7ba['_tablePostFixingSubtypes'][_0xc865('0x15')]('mergeTableCells'),_0x97a1a7['enableCommand'](_0xc865('0x10'),()=>{const _0x4658a7=_0x52759a[_0xc865('0x3b')](_0x581bbe['model'][_0xc865('0x39')]['selection']);_0x581bbe['model'][_0xc865('0x1f')](()=>{_0x97a1a7[_0xc865('0x1e')](_0x4658a7,{'commandName':_0xc865('0x10'),'commandParams':[]},[],'mergeTableCells');});}),_0x581bbe['commands']['get'](_0xc865('0x10'))['on'](_0xc865('0x3e'),(_0x3ebfc0,_0x5d42aa)=>{_0x581bbe['commands'][_0xc865('0x30')]('trackChanges')['value']&&(_0x5d42aa[_0xc865('0x43')]>0x0&&_0x5d42aa[_0x5d42aa[_0xc865('0x43')]-0x1]&&_0x5d42aa[_0x5d42aa[_0xc865('0x43')]-0x1][_0xc865('0x3a')]||_0x97a1a7['_isForcedDefaultExecutionBlock']||this[_0xc865('0x7')]()||_0x3ebfc0[_0xc865('0x26')]());},{'priority':_0xc865('0x1d')});for(const _0x49303a of[_0xc865('0x2b'),_0xc865('0xc'),_0xc865('0x49'),_0xc865('0x27')]){const _0x6fb50e=_0x581bbe['commands']['get'](_0x49303a);_0x97a1a7['enableCommand'](_0x49303a,()=>{const _0x512363=_0x581bbe[_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')][_0xc865('0x28')]()[_0xc865('0x1a')]()[_0xc865('0x44')](_0x57496c=>_0x57496c['is'](_0xc865('0x32'),_0xc865('0xe'))),_0xeb2203=_0x6fb50e[_0xc865('0x29')];_0x581bbe[_0xc865('0x2e')]['change'](()=>{_0x97a1a7[_0xc865('0x1e')]([_0x512363,_0xeb2203],{'commandName':_0xc865('0x10'),'commandParams':[]},[],_0xc865('0x10'));});});}for(const _0x5d360c of['splitTableCellVertically',_0xc865('0xa')]){const _0x4c21e5=_0x581bbe[_0xc865('0x8')][_0xc865('0x30')](_0x5d360c);_0x97a1a7[_0xc865('0x33')](_0x5d360c,()=>{const _0x5b688e=_0x52759a[_0xc865('0x3b')](_0x581bbe['model'][_0xc865('0x39')][_0xc865('0x47')])[0x0],_0x5a8ee5=_0x5b688e['findAncestor'](_0xc865('0x17')),{column:_0x1064cb,row:_0x311bc1}=_0x52759a[_0xc865('0xd')](_0x5b688e);let _0x2a5945=[];if(_0xc865('0x6')==_0x4c21e5[_0xc865('0x40')]){const _0x4fc5f4=_0x52759a[_0xc865('0x12')](_0x5a8ee5,{'startRow':_0x311bc1,'endRow':_0x311bc1,'includeAllSlots':!0x0});_0x2a5945=Array['from'](_0x4fc5f4)[_0xc865('0x35')](_0x124ca2=>_0x124ca2['cell']);}else{const _0x464420=_0x52759a['createTableWalker'](_0x5a8ee5,{'column':_0x1064cb,'includeAllSlots':!0x0});_0x2a5945=Array[_0xc865('0x11')](_0x464420)[_0xc865('0x35')](_0x5e89a1=>_0x5e89a1['cell']);}_0x581bbe['model'][_0xc865('0x1f')](_0x2012b6=>{_0x97a1a7[_0xc865('0x38')](_0x2012b6[_0xc865('0x46')](_0x5b688e),{'commandName':_0x5d360c,'commandParams':[]},_0x2a5945,_0x5d360c);});});}_0x97a1a7[_0xc865('0x1')][_0xc865('0x19')](_0x4da96e=>{if(_0xc865('0x1b')!=_0x4da96e[_0xc865('0x20')]&&'formatInline'!=_0x4da96e[_0xc865('0x20')])return;const {data:_0xd8a420}=_0x4da96e;return _0xd8a420&&_0xc865('0x10')==_0xd8a420[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,'*Merge\x20cells*')}:void 0x0;}),_0x97a1a7[_0xc865('0x1')][_0xc865('0x19')](_0x4b5248=>{if(_0xc865('0x1b')!=_0x4b5248[_0xc865('0x20')]&&_0xc865('0x16')!=_0x4b5248[_0xc865('0x20')])return;const {data:_0x3e8e28}=_0x4b5248;return _0x3e8e28?_0xc865('0x48')==_0x3e8e28[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,_0xc865('0x2d'))}:'splitTableCellHorizontally'==_0x3e8e28[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,_0xc865('0x23'))}:void 0x0:void 0x0;});const _0x27a908=_0x1da7ba[_0xc865('0x31')]();for(const _0x241b5c of[_0xc865('0x2b'),_0xc865('0xc'),'mergeTableCellDown','mergeTableCellLeft'])_0x97a1a7['_suggestionFactory'][_0xc865('0x4b')](_0xc865('0x1b'),_0x241b5c,_0xc865('0x3f'),_0x27a908);for(const _0x1e9072 of[_0xc865('0x48'),'splitTableCellHorizontally'])_0x97a1a7[_0xc865('0x2f')][_0xc865('0x4b')]('formatBlock',_0x1e9072,'accept',_0x27a908);_0x97a1a7[_0xc865('0x2f')][_0xc865('0x4b')](_0xc865('0x1b'),_0xc865('0x10'),'accept',_0x1ed343=>{_0x581bbe['model'][_0xc865('0x1f')](_0x2ae1ff=>{const _0x1284a6=Array[_0xc865('0x11')](_0x54b876[_0xc865('0x41')]())[_0xc865('0x35')](_0x2ed561=>_0x248293[_0xc865('0x42')](_0x2ed561));_0x2ae1ff[_0xc865('0x21')](_0x1ed343),_0x581bbe['commands'][_0xc865('0x30')](_0xc865('0x10'))[_0xc865('0x34')](),_0x581bbe[_0xc865('0x3e')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x33ae8b=_0x1284a6['filter'](_0x5a373a=>_0xc865('0x2c')!=_0x5a373a[_0xc865('0x4')]['rootName']);_0x33ae8b[_0xc865('0x43')]>0x0&&_0x2ae1ff[_0xc865('0x21')](_0x33ae8b);for(const _0x6c75fc of _0x1284a6)_0x6c75fc[_0xc865('0x3')]();});});for(const _0x273be4 of[_0xc865('0x2b'),'mergeTableCellDown',_0xc865('0x27'),'mergeTableCellRight']){const _0x3c6154=_0x581bbe[_0xc865('0x8')][_0xc865('0x30')](_0x273be4);_0x3c6154['on'](_0xc865('0x2a'),(_0x2ed77c,_0x3bbb13,_0x267891)=>{if(_0x267891){const _0xc734ec=_0x581bbe['model'][_0xc865('0x39')][_0xc865('0x47')][_0xc865('0x28')]()[_0xc865('0x1a')]()[_0xc865('0x44')](_0x2b2236=>_0x2b2236['is'](_0xc865('0x32'),_0xc865('0xe')));this[_0xc865('0x5')](_0x3c6154[_0xc865('0x29')],_0xc734ec)||(_0x2ed77c['return']=!0x1,_0x2ed77c[_0xc865('0x26')]());}},{'priority':_0xc865('0x22')});}}[_0xc865('0x7')](){const _0x3cd4e7=this[_0xc865('0x25')][_0xc865('0x8')][_0xc865('0x30')](_0xc865('0x10')),_0xc976fe=this[_0xc865('0x25')]['plugins'][_0xc865('0x30')](_0xc865('0x45'));if(!_0x3cd4e7[_0xc865('0x36')])return!0x1;const _0x1c33ef=_0xc976fe[_0xc865('0x3b')](this[_0xc865('0x25')][_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')]);for(const _0x4cdac2 of _0x1c33ef)for(const _0x117681 of _0x1c33ef)if(_0x4cdac2!=_0x117681&&!this[_0xc865('0x5')](_0x4cdac2,_0x117681))return!0x1;return!0x0;}[_0xc865('0x5')](_0x1f1e06,_0x4241df){const _0x4b548a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4a82fe=this['editor'][_0xc865('0x2e')][_0xc865('0x46')](_0x1f1e06),_0x5cfafa=this[_0xc865('0x25')]['model'][_0xc865('0x46')](_0x4241df),_0x28d3e3=new Set(),_0x534ffe=new Set();for(const _0x19f98a of _0x4b548a[_0xc865('0x1c')]())if((_0xc865('0x9')==_0x19f98a[_0xc865('0x20')]||'deletion'==_0x19f98a[_0xc865('0x20')]||_0xc865('0x10')==_0x19f98a[_0xc865('0x3c')])&&_0x19f98a['isInContent'])for(const _0x94edce of _0x19f98a[_0xc865('0x41')]())_0x94edce['containsRange'](_0x4a82fe,!0x0)&&_0x28d3e3[_0xc865('0x18')](_0x19f98a[_0xc865('0x20')]+':'+_0x19f98a[_0xc865('0x2')]['id']),_0x94edce['containsRange'](_0x5cfafa,!0x0)&&_0x534ffe['add'](_0x19f98a[_0xc865('0x20')]+':'+_0x19f98a[_0xc865('0x2')]['id']);if(_0x28d3e3[_0xc865('0x4a')]!=_0x534ffe[_0xc865('0x4a')])return!0x1;for(const _0x32a313 of _0x28d3e3)if(!_0x534ffe[_0xc865('0x3d')](_0x32a313))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e6c=['TrackChangesEditing','enableCommand','commands','plugins','afterInit','ELEMENT_TABLE_OF_CONTENTS','get','registerElementLabel','insertTableOfContents','editor','locale'];(function(_0x5159aa,_0x3e6c93){const _0x177358=function(_0x1a5b9e){while(--_0x1a5b9e){_0x5159aa['push'](_0x5159aa['shift']());}};_0x177358(++_0x3e6c93);}(_0x3e6c,0x1ba));const _0x1773=function(_0x5159aa,_0x3e6c93){_0x5159aa=_0x5159aa-0x0;let _0x177358=_0x3e6c[_0x5159aa];return _0x177358;};import{Plugin as _0xe2ed7b}from'ckeditor5/src/core';import{getTranslation as _0x316973}from'../utils/common-translations';export default class _t extends _0xe2ed7b{[_0x1773('0x2')](){const _0x249c8a=this[_0x1773('0x7')];if(!_0x249c8a[_0x1773('0x0')]['get'](_0x1773('0x6')))return;_0x249c8a['plugins'][_0x1773('0x4')](_0x1773('0x9'))[_0x1773('0xa')](_0x1773('0x6'));const _0x5d1331=_0x249c8a[_0x1773('0x1')][_0x1773('0x4')](_0x1773('0x9')),_0x55b9fb=_0x249c8a[_0x1773('0x8')];_0x5d1331['_descriptionFactory'][_0x1773('0x5')]('tableOfContents',_0x5187e6=>_0x316973(_0x55b9fb,_0x1773('0x3'),_0x5187e6));}}
23
+ const _0x321f=['_descriptionFactory','afterInit','tableOfContents','insertTableOfContents','plugins','get','TrackChangesEditing','locale','registerElementLabel','enableCommand','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x48def8,_0x321f44){const _0x31cefc=function(_0x3a099b){while(--_0x3a099b){_0x48def8['push'](_0x48def8['shift']());}};_0x31cefc(++_0x321f44);}(_0x321f,0x196));const _0x31ce=function(_0x48def8,_0x321f44){_0x48def8=_0x48def8-0x0;let _0x31cefc=_0x321f[_0x48def8];return _0x31cefc;};import{Plugin as _0x59f720}from'ckeditor5/src/core';import{getTranslation as _0x33f5a5}from'../utils/common-translations';export default class _t extends _0x59f720{[_0x31ce('0x2')](){const _0x304457=this['editor'];if(!_0x304457['commands'][_0x31ce('0x6')](_0x31ce('0x4')))return;_0x304457[_0x31ce('0x5')]['get'](_0x31ce('0x7'))[_0x31ce('0xa')]('insertTableOfContents');const _0x25d6b0=_0x304457[_0x31ce('0x5')][_0x31ce('0x6')](_0x31ce('0x7')),_0x4b6dcc=_0x304457[_0x31ce('0x8')];_0x25d6b0[_0x31ce('0x1')][_0x31ce('0x9')](_0x31ce('0x3'),_0x107843=>_0x33f5a5(_0x4b6dcc,_0x31ce('0x0'),_0x107843));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f64=['nodeAfter','table','selection','locale','formatBlock','*Format:*\x20change\x20table\x20cell\x20properties','model','TablePropertiesEditing','getContainedElement','_descriptionFactory','_getSuggestion','*Format:*\x20change\x20table\x20properties','tableHeight','markBlockFormat','getSuggestionCallback','accept','change','tableProperties','registerDescriptionCallback','getAttribute','tableCellBorderWidth','tableCellProperties','_handlePropertyChange','getSelectionAffectedTableCells','enableCommand','format','commandParams','tableCellBackgroundColor','data','tableCellPadding','TrackChangesEditing','afterInit','tableAlignment','editor','tableWidth','_suggestionFactory','tableCellWidth','registerCustomCallback','join','TableCellPropertiesEditing','findAncestor','tableBorderWidth','plugins','tableBorderStyle','handleDiscardAction','TrackChangesTableProperties','tableCellVerticalAlignment','tableBackgroundColor','removeAttribute','tableCellHorizontalAlignment','setAttribute','tableCellHeight','has','tableCellBorderColor','start','getSuggestions','discard','tableCellBorderStyle','subType','document','handleSuggestionDescription','get'];(function(_0x44fcf3,_0x2f64d4){const _0x59495d=function(_0xc5f88b){while(--_0xc5f88b){_0x44fcf3['push'](_0x44fcf3['shift']());}};_0x59495d(++_0x2f64d4);}(_0x2f64,0x186));const _0x5949=function(_0x44fcf3,_0x2f64d4){_0x44fcf3=_0x44fcf3-0x0;let _0x59495d=_0x2f64[_0x44fcf3];return _0x59495d;};import{Plugin as _0x34f891}from'ckeditor5/src/core';import{getTranslation as _0x7abb16}from'../utils/common-translations';export default class Mt extends _0x34f891{constructor(_0x14bab8){super(_0x14bab8),this[_0x5949('0x3d')]=['tableBorderColor',_0x5949('0x19'),_0x5949('0x17'),_0x5949('0xe'),_0x5949('0x10'),_0x5949('0x38'),_0x5949('0x1d')],this[_0x5949('0x3')]=[_0x5949('0x23'),_0x5949('0x27'),_0x5949('0x2'),_0x5949('0xb'),_0x5949('0x12'),_0x5949('0x21'),_0x5949('0x9'),_0x5949('0x1f'),_0x5949('0x1c')];}static get['pluginName'](){return _0x5949('0x1b');}[_0x5949('0xd')](){const _0x24cc58=this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x2b')](_0x5949('0xc'));if(this[_0x5949('0xf')][_0x5949('0x18')]['has'](_0x5949('0x33'))){for(const _0x41c71f of this['tableProperties'])_0x24cc58['enableCommand'](_0x41c71f,(_0x27f905,_0x2c03c6)=>{const _0x24fda7=this[_0x5949('0xf')][_0x5949('0x32')][_0x5949('0x29')]['selection']['getFirstPosition']()[_0x5949('0x16')](_0x5949('0x2d'));this[_0x5949('0x4')](_0x41c71f,[_0x24fda7],this[_0x5949('0x3d')],_0x5949('0x3d'),_0x27f905,_0x2c03c6);});_0x24cc58['_suggestionFactory'][_0x5949('0x13')]('formatBlock',_0x5949('0x3d'),_0x5949('0x3b'),_0x24cc58['_suggestionFactory'][_0x5949('0x3a')](_0x5949('0x30'),null,_0x5949('0x26'))),_0x24cc58[_0x5949('0x11')]['registerCustomCallback'](_0x5949('0x30'),'tableProperties',_0x5949('0x26'),(_0x3796a4,_0x3ab0a6)=>this[_0x5949('0x1a')](this['tableProperties'],_0x3796a4,_0x3ab0a6)),_0x24cc58[_0x5949('0x11')][_0x5949('0x13')]('formatBlock',_0x5949('0x3d'),_0x5949('0x14'),()=>!0x1);}if(this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x22')](_0x5949('0x15'))){for(const _0x329031 of this[_0x5949('0x3')])_0x24cc58[_0x5949('0x6')](_0x329031,(_0x5a4c18,_0x30ca18)=>{const _0x2bb4e6=this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x2b')]('TableUtils')[_0x5949('0x5')](this[_0x5949('0xf')][_0x5949('0x32')][_0x5949('0x29')][_0x5949('0x2e')]);this['_handlePropertyChange'](_0x329031,_0x2bb4e6,this[_0x5949('0x3')],_0x5949('0x3'),_0x5a4c18,_0x30ca18);});_0x24cc58[_0x5949('0x11')][_0x5949('0x13')](_0x5949('0x30'),_0x5949('0x3'),_0x5949('0x3b'),_0x24cc58[_0x5949('0x11')][_0x5949('0x3a')](_0x5949('0x30'),null,_0x5949('0x26'))),_0x24cc58[_0x5949('0x11')][_0x5949('0x13')](_0x5949('0x30'),_0x5949('0x3'),_0x5949('0x26'),(_0x1bac2d,_0x4be01a)=>this[_0x5949('0x1a')](this[_0x5949('0x3')],_0x1bac2d,_0x4be01a)),_0x24cc58[_0x5949('0x11')]['registerCustomCallback']('formatBlock',_0x5949('0x3'),'join',()=>!0x1);}_0x24cc58[_0x5949('0x35')][_0x5949('0x0')](_0x36a902=>this[_0x5949('0x2a')](_0x36a902));}[_0x5949('0x4')](_0x28c75b,_0xa2cc3f,_0x58a798,_0x2c138c,_0x41d129,_0x4c1fc1){const _0xa50b53=this[_0x5949('0xf')]['plugins'][_0x5949('0x2b')](_0x5949('0xc'));this['editor']['model']['enqueueChange'](_0x4c1fc1['batch'],()=>{for(const _0x582951 of _0xa2cc3f){if(this[_0x5949('0x36')](_0x582951,_0x2c138c))_0x41d129(_0x4c1fc1);else{const _0x212143={};for(const _0x3631ee of _0x58a798){const _0xa641fd=_0x582951[_0x5949('0x1')](_0x3631ee);void 0x0!==_0xa641fd&&(_0x212143[_0x3631ee]=_0xa641fd);}_0x41d129(_0x4c1fc1),_0xa50b53[_0x5949('0x39')](_0x582951,{'commandParams':[_0x212143]},[],_0x2c138c);}}});}['handleDiscardAction'](_0x1cd084,_0x8314c5,_0x15b3c6){const _0x53a02d=_0x8314c5[0x0][_0x5949('0x24')][_0x5949('0x2c')],_0x3921e3=_0x15b3c6[_0x5949('0x8')][0x0];this[_0x5949('0xf')]['model'][_0x5949('0x3c')](_0x39f879=>{for(const _0x5b0842 of _0x1cd084)void 0x0!==_0x3921e3[_0x5b0842]?_0x39f879[_0x5949('0x20')](_0x5b0842,_0x3921e3[_0x5b0842],_0x53a02d):_0x39f879[_0x5949('0x1e')](_0x5b0842,_0x53a02d);});}[_0x5949('0x2a')](_0x45c2a3){if(_0x45c2a3[_0x5949('0xa')])switch(_0x45c2a3[_0x5949('0x28')]){case _0x5949('0x3d'):return{'type':_0x5949('0x7'),'content':_0x7abb16(this[_0x5949('0xf')][_0x5949('0x2f')],_0x5949('0x37'))};case _0x5949('0x3'):return{'type':_0x5949('0x7'),'content':_0x7abb16(this[_0x5949('0xf')][_0x5949('0x2f')],_0x5949('0x31'))};}}[_0x5949('0x36')](_0x512b34,_0x19d54f){const _0x26775c=this[_0x5949('0xf')][_0x5949('0x18')]['get']('TrackChangesEditing');for(const _0x35b18a of _0x26775c[_0x5949('0x25')]({'skipNotAttached':!0x0})){const _0x5eb915=_0x35b18a[_0x5949('0x34')]();if(_0x35b18a[_0x5949('0x28')]===_0x19d54f&&_0x5eb915===_0x512b34)return _0x35b18a;}return null;}}
23
+ const _0x13b3=['handleDiscardAction','TrackChangesEditing','format','tableCellBorderColor','getContainedElement','subType','locale','plugins','data','batch','tableCellProperties','selection','handleSuggestionDescription','removeAttribute','tableProperties','_suggestionFactory','table','has','tableCellBackgroundColor','tableBackgroundColor','registerCustomCallback','nodeAfter','afterInit','tableCellPadding','tableCellVerticalAlignment','tableCellHeight','tableWidth','discard','tableAlignment','commandParams','getSuggestionCallback','tableCellHorizontalAlignment','model','getFirstPosition','findAncestor','tableBorderColor','tableHeight','TableUtils','getSuggestions','document','formatBlock','tableBorderWidth','getSelectionAffectedTableCells','setAttribute','join','editor','registerDescriptionCallback','tableCellWidth','get','TablePropertiesEditing','getAttribute','*Format:*\x20change\x20table\x20cell\x20properties','pluginName','_handlePropertyChange','tableBorderStyle','accept'];(function(_0x5ee90a,_0x13b35e){const _0x27b676=function(_0x3cdc2a){while(--_0x3cdc2a){_0x5ee90a['push'](_0x5ee90a['shift']());}};_0x27b676(++_0x13b35e);}(_0x13b3,0x1f3));const _0x27b6=function(_0x5ee90a,_0x13b35e){_0x5ee90a=_0x5ee90a-0x0;let _0x27b676=_0x13b3[_0x5ee90a];return _0x27b676;};import{Plugin as _0x5c6e1e}from'ckeditor5/src/core';import{getTranslation as _0x5d2879}from'../utils/common-translations';export default class Mt extends _0x5c6e1e{constructor(_0x4257a2){super(_0x4257a2),this[_0x27b6('0x13')]=[_0x27b6('0x28'),_0x27b6('0x3'),_0x27b6('0x2e'),_0x27b6('0x21'),_0x27b6('0x1f'),_0x27b6('0x29'),_0x27b6('0x18')],this['tableCellProperties']=[_0x27b6('0x8'),'tableCellBorderStyle','tableCellBorderWidth',_0x27b6('0x1c'),_0x27b6('0x34'),_0x27b6('0x1e'),_0x27b6('0x17'),_0x27b6('0x24'),_0x27b6('0x1d')];}static get[_0x27b6('0x1')](){return'TrackChangesTableProperties';}[_0x27b6('0x1b')](){const _0x2c8a7e=this[_0x27b6('0x32')][_0x27b6('0xc')][_0x27b6('0x35')]('TrackChangesEditing');if(this[_0x27b6('0x32')][_0x27b6('0xc')]['has'](_0x27b6('0x36'))){for(const _0x2b9e61 of this[_0x27b6('0x13')])_0x2c8a7e['enableCommand'](_0x2b9e61,(_0x3957f6,_0x8cf440)=>{const _0x2d52b3=this[_0x27b6('0x32')][_0x27b6('0x25')]['document'][_0x27b6('0x10')][_0x27b6('0x26')]()[_0x27b6('0x27')](_0x27b6('0x15'));this[_0x27b6('0x2')](_0x2b9e61,[_0x2d52b3],this[_0x27b6('0x13')],_0x27b6('0x13'),_0x3957f6,_0x8cf440);});_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')]('formatBlock',_0x27b6('0x13'),_0x27b6('0x4'),_0x2c8a7e['_suggestionFactory'][_0x27b6('0x23')]('formatBlock',null,_0x27b6('0x20'))),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),_0x27b6('0x13'),'discard',(_0x211100,_0x1327ef)=>this[_0x27b6('0x5')](this[_0x27b6('0x13')],_0x211100,_0x1327ef)),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),'tableProperties',_0x27b6('0x31'),()=>!0x1);}if(this['editor'][_0x27b6('0xc')][_0x27b6('0x16')]('TableCellPropertiesEditing')){for(const _0x1be55c of this[_0x27b6('0xf')])_0x2c8a7e['enableCommand'](_0x1be55c,(_0xe09a12,_0x450b4e)=>{const _0x4bec87=this[_0x27b6('0x32')]['plugins'][_0x27b6('0x35')](_0x27b6('0x2a'))[_0x27b6('0x2f')](this['editor']['model'][_0x27b6('0x2c')]['selection']);this[_0x27b6('0x2')](_0x1be55c,_0x4bec87,this['tableCellProperties'],'tableCellProperties',_0xe09a12,_0x450b4e);});_0x2c8a7e[_0x27b6('0x14')]['registerCustomCallback'](_0x27b6('0x2d'),_0x27b6('0xf'),_0x27b6('0x4'),_0x2c8a7e[_0x27b6('0x14')]['getSuggestionCallback']('formatBlock',null,_0x27b6('0x20'))),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),_0x27b6('0xf'),'discard',(_0x462d68,_0x2201a7)=>this['handleDiscardAction'](this[_0x27b6('0xf')],_0x462d68,_0x2201a7)),_0x2c8a7e[_0x27b6('0x14')]['registerCustomCallback']('formatBlock',_0x27b6('0xf'),'join',()=>!0x1);}_0x2c8a7e['_descriptionFactory'][_0x27b6('0x33')](_0x13bff1=>this[_0x27b6('0x11')](_0x13bff1));}[_0x27b6('0x2')](_0x4ae9b8,_0x1f01f8,_0x2c903a,_0x5de4ed,_0x1d500b,_0x51128c){const _0x46d477=this[_0x27b6('0x32')][_0x27b6('0xc')][_0x27b6('0x35')](_0x27b6('0x6'));this[_0x27b6('0x32')][_0x27b6('0x25')]['enqueueChange'](_0x51128c[_0x27b6('0xe')],()=>{for(const _0x54e6a5 of _0x1f01f8){if(this['_getSuggestion'](_0x54e6a5,_0x5de4ed))_0x1d500b(_0x51128c);else{const _0x1ce8e9={};for(const _0x13d06a of _0x2c903a){const _0x335d35=_0x54e6a5[_0x27b6('0x37')](_0x13d06a);void 0x0!==_0x335d35&&(_0x1ce8e9[_0x13d06a]=_0x335d35);}_0x1d500b(_0x51128c),_0x46d477['markBlockFormat'](_0x54e6a5,{'commandParams':[_0x1ce8e9]},[],_0x5de4ed);}}});}[_0x27b6('0x5')](_0x4c7e04,_0x504ba5,_0xab3d79){const _0x38079f=_0x504ba5[0x0]['start'][_0x27b6('0x1a')],_0xdec40b=_0xab3d79[_0x27b6('0x22')][0x0];this[_0x27b6('0x32')][_0x27b6('0x25')]['change'](_0x117b29=>{for(const _0x2a752b of _0x4c7e04)void 0x0!==_0xdec40b[_0x2a752b]?_0x117b29[_0x27b6('0x30')](_0x2a752b,_0xdec40b[_0x2a752b],_0x38079f):_0x117b29[_0x27b6('0x12')](_0x2a752b,_0x38079f);});}[_0x27b6('0x11')](_0x499ac0){if(_0x499ac0[_0x27b6('0xd')])switch(_0x499ac0[_0x27b6('0xa')]){case'tableProperties':return{'type':_0x27b6('0x7'),'content':_0x5d2879(this[_0x27b6('0x32')][_0x27b6('0xb')],'*Format:*\x20change\x20table\x20properties')};case _0x27b6('0xf'):return{'type':_0x27b6('0x7'),'content':_0x5d2879(this[_0x27b6('0x32')][_0x27b6('0xb')],_0x27b6('0x0'))};}}['_getSuggestion'](_0x4060f8,_0x9ed95b){const _0x4f1144=this[_0x27b6('0x32')][_0x27b6('0xc')]['get']('TrackChangesEditing');for(const _0x2a7c5f of _0x4f1144[_0x27b6('0x2b')]({'skipNotAttached':!0x0})){const _0xb13ff9=_0x2a7c5f[_0x27b6('0x9')]();if(_0x2a7c5f[_0x27b6('0xa')]===_0x9ed95b&&_0xb13ff9===_0x4060f8)return _0x2a7c5f;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16d0=['enableCommand','editor','plugins','get','afterInit','insertTemplate','TrackChangesEditing'];(function(_0x39fcdf,_0x16d0cd){const _0x697e41=function(_0x452d12){while(--_0x452d12){_0x39fcdf['push'](_0x39fcdf['shift']());}};_0x697e41(++_0x16d0cd);}(_0x16d0,0x157));const _0x697e=function(_0x39fcdf,_0x16d0cd){_0x39fcdf=_0x39fcdf-0x0;let _0x697e41=_0x16d0[_0x39fcdf];return _0x697e41;};import{Plugin as _0x565224}from'ckeditor5/src/core';export default class vt extends _0x565224{[_0x697e('0x4')](){const _0x1d1f4d=this[_0x697e('0x1')];_0x1d1f4d[_0x697e('0x2')]['has']('Template')&&_0x1d1f4d['plugins'][_0x697e('0x3')](_0x697e('0x6'))[_0x697e('0x0')](_0x697e('0x5'));}}
23
+ const _0x196c=['insertTemplate','has','TrackChangesEditing','Template','editor','afterInit','enableCommand'];(function(_0x3bf3bb,_0x196c6b){const _0x5af751=function(_0x1248fc){while(--_0x1248fc){_0x3bf3bb['push'](_0x3bf3bb['shift']());}};_0x5af751(++_0x196c6b);}(_0x196c,0x160));const _0x5af7=function(_0x3bf3bb,_0x196c6b){_0x3bf3bb=_0x3bf3bb-0x0;let _0x5af751=_0x196c[_0x3bf3bb];return _0x5af751;};import{Plugin as _0x33ed5c}from'ckeditor5/src/core';export default class vt extends _0x33ed5c{[_0x5af7('0x3')](){const _0x89d458=this[_0x5af7('0x2')];_0x89d458['plugins'][_0x5af7('0x6')](_0x5af7('0x1'))&&_0x89d458['plugins']['get'](_0x5af7('0x0'))[_0x5af7('0x4')](_0x5af7('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x123d=['from','document','getNearestSelectionRange','plugins','updateMarker','TrackChangesEditing','removeMarker','isEqual','registerPostFixer','_splitMarkerName','isCollapsed','newRange','has','nodeBefore','registerElementLabel','forward','isTouching','end','getChangedMarkers','schema','model','element','afterInit','title-content','start'];(function(_0x312544,_0x123dd4){const _0x5715c2=function(_0x1afa75){while(--_0x1afa75){_0x312544['push'](_0x312544['shift']());}};_0x5715c2(++_0x123dd4);}(_0x123d,0x132));const _0x5715=function(_0x312544,_0x123dd4){_0x312544=_0x312544-0x0;let _0x5715c2=_0x123d[_0x312544];return _0x5715c2;};import{Plugin as _0x14ea1c}from'ckeditor5/src/core';import{getTranslation as _0x4440e8}from'../utils/common-translations';export default class Ct extends _0x14ea1c{[_0x5715('0x10')](){const _0x430b09=this['editor'];if(!_0x430b09[_0x5715('0x16')][_0x5715('0x6')]('Title'))return;const _0x1711b0=_0x430b09['plugins']['get'](_0x5715('0x18'));_0x1711b0['_descriptionFactory'][_0x5715('0x8')](_0x5715('0x11'),()=>_0x4440e8(_0x430b09['locale'],'ELEMENT_TITLE')),_0x430b09['model'][_0x5715('0x14')][_0x5715('0x2')](_0x217b79=>{let _0x48f065=!0x1;const _0x29e249=Array[_0x5715('0x13')](_0x430b09[_0x5715('0xe')][_0x5715('0x14')]['differ'][_0x5715('0xc')]());for(const {name:_0x38c036,data:_0x58a481}of _0x29e249){const {group:_0x16ab95}=_0x1711b0[_0x5715('0x3')](_0x38c036);if('suggestion'!==_0x16ab95||!_0x58a481[_0x5715('0x5')])continue;const _0xa14c53=_0x58a481[_0x5715('0x5')],_0x108cf6=_0xa14c53[_0x5715('0xb')][_0x5715('0x7')];if(!_0x108cf6||!_0x108cf6['is'](_0x5715('0xf'),'title-content'))continue;if(!_0xa14c53['start'][_0x5715('0xa')](_0xa14c53[_0x5715('0xb')]))continue;const _0x51b02d=_0x430b09['model'][_0x5715('0xd')][_0x5715('0x15')](_0xa14c53['end'],_0x5715('0x9'));if(_0x51b02d&&_0x51b02d[_0x5715('0x4')]){const _0x426e6f=_0x217b79['createRange'](_0xa14c53['start'],_0x51b02d[_0x5715('0x12')]);_0x426e6f[_0x5715('0x1')](_0xa14c53)||(_0x217b79[_0x5715('0x17')](_0x38c036,{'range':_0x426e6f}),_0x48f065=!0x0);}_0x48f065||(_0x217b79[_0x5715('0x0')](_0x38c036),_0x48f065=!0x0);}return _0x48f065;});}}
23
+ const _0xc1cd=['locale','title-content','forward','Title','TrackChangesEditing','differ','end','from','registerElementLabel','plugins','updateMarker','removeMarker','has','element','editor','_splitMarkerName','nodeBefore','newRange','getChangedMarkers','start','get','isTouching','model','document','afterInit','isEqual'];(function(_0x29c6d6,_0xc1cd01){const _0x5c12c8=function(_0x41d056){while(--_0x41d056){_0x29c6d6['push'](_0x29c6d6['shift']());}};_0x5c12c8(++_0xc1cd01);}(_0xc1cd,0x113));const _0x5c12=function(_0x29c6d6,_0xc1cd01){_0x29c6d6=_0x29c6d6-0x0;let _0x5c12c8=_0xc1cd[_0x29c6d6];return _0x5c12c8;};import{Plugin as _0x5c4245}from'ckeditor5/src/core';import{getTranslation as _0x5e20db}from'../utils/common-translations';export default class Ct extends _0x5c4245{[_0x5c12('0x9')](){const _0xf7ed6f=this[_0x5c12('0x19')];if(!_0xf7ed6f['plugins'][_0x5c12('0x17')](_0x5c12('0xe')))return;const _0x2fdce1=_0xf7ed6f[_0x5c12('0x14')][_0x5c12('0x5')](_0x5c12('0xf'));_0x2fdce1['_descriptionFactory'][_0x5c12('0x13')](_0x5c12('0xc'),()=>_0x5e20db(_0xf7ed6f[_0x5c12('0xb')],'ELEMENT_TITLE')),_0xf7ed6f[_0x5c12('0x7')][_0x5c12('0x8')]['registerPostFixer'](_0x5baeed=>{let _0xc3122d=!0x1;const _0x222ceb=Array[_0x5c12('0x12')](_0xf7ed6f[_0x5c12('0x7')][_0x5c12('0x8')][_0x5c12('0x10')][_0x5c12('0x3')]());for(const {name:_0x1179cc,data:_0x57281b}of _0x222ceb){const {group:_0x2f91e7}=_0x2fdce1[_0x5c12('0x0')](_0x1179cc);if('suggestion'!==_0x2f91e7||!_0x57281b[_0x5c12('0x2')])continue;const _0x21c4f7=_0x57281b[_0x5c12('0x2')],_0x56fb75=_0x21c4f7[_0x5c12('0x11')][_0x5c12('0x1')];if(!_0x56fb75||!_0x56fb75['is'](_0x5c12('0x18'),'title-content'))continue;if(!_0x21c4f7[_0x5c12('0x4')][_0x5c12('0x6')](_0x21c4f7[_0x5c12('0x11')]))continue;const _0x10b4e8=_0xf7ed6f[_0x5c12('0x7')]['schema']['getNearestSelectionRange'](_0x21c4f7[_0x5c12('0x11')],_0x5c12('0xd'));if(_0x10b4e8&&_0x10b4e8['isCollapsed']){const _0x425a2b=_0x5baeed['createRange'](_0x21c4f7[_0x5c12('0x4')],_0x10b4e8[_0x5c12('0x4')]);_0x425a2b[_0x5c12('0xa')](_0x21c4f7)||(_0x5baeed[_0x5c12('0x15')](_0x1179cc,{'range':_0x425a2b}),_0xc3122d=!0x0);}_0xc3122d||(_0x5baeed[_0x5c12('0x16')](_0x1179cc),_0xc3122d=!0x0);}return _0xc3122d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67bb=['has','get','redo','TrackChangesEditing','plugins','afterInit','undo','enableCommand','editor'];(function(_0x3acfca,_0x67bbd0){const _0x4020ad=function(_0x545aff){while(--_0x545aff){_0x3acfca['push'](_0x3acfca['shift']());}};_0x4020ad(++_0x67bbd0);}(_0x67bb,0x15b));const _0x4020=function(_0x3acfca,_0x67bbd0){_0x3acfca=_0x3acfca-0x0;let _0x4020ad=_0x67bb[_0x3acfca];return _0x4020ad;};import{Plugin as _0x59e426}from'ckeditor5/src/core';export default class Dt extends _0x59e426{[_0x4020('0x0')](){const _0xe13249=this[_0x4020('0x3')],_0xb576a3=_0xe13249[_0x4020('0x8')][_0x4020('0x5')](_0x4020('0x7'));_0xe13249[_0x4020('0x8')][_0x4020('0x4')]('UndoEditing')&&(_0xb576a3[_0x4020('0x2')](_0x4020('0x1')),_0xb576a3['enableCommand'](_0x4020('0x6')));}}
23
+ const _0x2037=['plugins','undo','TrackChangesEditing','editor','UndoEditing','redo','afterInit','get','enableCommand','has'];(function(_0x56baec,_0x20379e){const _0x25d47e=function(_0x2dfe33){while(--_0x2dfe33){_0x56baec['push'](_0x56baec['shift']());}};_0x25d47e(++_0x20379e);}(_0x2037,0x1d0));const _0x25d4=function(_0x56baec,_0x20379e){_0x56baec=_0x56baec-0x0;let _0x25d47e=_0x2037[_0x56baec];return _0x25d47e;};import{Plugin as _0x50aa0e}from'ckeditor5/src/core';export default class Dt extends _0x50aa0e{[_0x25d4('0x2')](){const _0x3bd2a5=this[_0x25d4('0x9')],_0x17f903=_0x3bd2a5[_0x25d4('0x6')][_0x25d4('0x3')](_0x25d4('0x8'));_0x3bd2a5[_0x25d4('0x6')][_0x25d4('0x5')](_0x25d4('0x0'))&&(_0x17f903[_0x25d4('0x4')](_0x25d4('0x7')),_0x17f903[_0x25d4('0x4')](_0x25d4('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c28=['isContent','activeMarkers','isLimit','writer','isAtEnd','includes','bindElementToMarker','consumable','TrackChangesEditing','plugins','ck-suggestion-marker--active','element','markerRange','toViewPosition','nextSibling','markerName','listItem','span','item','addHighlight','test','start','mapper','previousPosition','getCustomProperty','getItems','name','push','parent','createUIElement','listIndent','schema','getWalker','model','hasAttribute'];(function(_0x535ef5,_0x4c282a){const _0x4ba9ce=function(_0x3ad753){while(--_0x3ad753){_0x535ef5['push'](_0x535ef5['shift']());}};_0x4ba9ce(++_0x4c282a);}(_0x4c28,0x1c2));const _0x4ba9=function(_0x535ef5,_0x4c282a){_0x535ef5=_0x535ef5-0x0;let _0x4ba9ce=_0x4c28[_0x535ef5];return _0x4ba9ce;};export function getRangesWithAttribute(_0x597a2c,_0x30aee7,_0x3a0768){const _0xb2493=[];for(const _0x548b03 of _0x30aee7[_0x4ba9('0x1e')]())_0x548b03[_0x4ba9('0x4')](_0x597a2c)&&_0xb2493[_0x4ba9('0x20')](_0x3a0768['createRangeOn'](_0x548b03));return _0xb2493;}export function getElementsAffectedByListItemRename(_0x1d72cd){const _0x5f1b98=[];if(_0x1d72cd['is'](_0x4ba9('0x10'),_0x4ba9('0x15'))){let _0x36c548=_0x1d72cd[_0x4ba9('0x13')];for(;_0x36c548&&_0x36c548['is']('element',_0x4ba9('0x15'))&&_0x36c548['getAttribute'](_0x4ba9('0x0'))>0x0;)_0x5f1b98[_0x4ba9('0x20')](_0x36c548),_0x36c548=_0x36c548['nextSibling'];}return _0x5f1b98;}export function downcastSplitMergeMarker(_0x2c2774,_0x21e718,{showActiveMarker:_0x247a7b=!0x0}={}){const _0x4ac3f2=_0x2c2774[_0x4ba9('0xe')]['get'](_0x4ba9('0xd'));return(_0x5a7248,_0x1da9ee,_0x3c25c9)=>{if(!_0x3c25c9[_0x4ba9('0xc')][_0x4ba9('0x19')](_0x1da9ee[_0x4ba9('0x11')],_0x5a7248[_0x4ba9('0x1f')]))return;const _0x7c3d3a=_0x1da9ee[_0x4ba9('0x11')][_0x4ba9('0x2')](),_0x9d2e8b=_0x1da9ee[_0x4ba9('0x11')][_0x4ba9('0x1a')],_0x55b47a=_0x2c2774[_0x4ba9('0x3')][_0x4ba9('0x1')];let _0x5b4ccc=null,_0x1bf94b=null,_0x29e1ab=!0x1,_0x4b723a=!0x1;for(const _0x2b8527 of _0x7c3d3a){const _0x47a0ce=_0x2b8527[_0x4ba9('0x17')];_0x29e1ab=_0x29e1ab||_0x55b47a[_0x4ba9('0x5')](_0x47a0ce);const _0x39d9d6=_0x3c25c9['mapper']['toViewElement'](_0x47a0ce);if(_0x39d9d6&&_0x39d9d6[_0x4ba9('0x1d')](_0x4ba9('0x18')))return;'elementEnd'==_0x2b8527['type']&&(_0x55b47a['isBlock'](_0x47a0ce)&&!_0x55b47a[_0x4ba9('0x7')](_0x47a0ce)&&(_0x47a0ce[_0x4ba9('0x13')]||_0x9d2e8b[_0x4ba9('0x9')]?_0x5b4ccc&&_0x5b4ccc[_0x4ba9('0x21')]==_0x47a0ce||(_0x5b4ccc=_0x47a0ce,_0x39f89d(_0x2b8527['previousPosition']),_0x4b723a=!0x0):_0x1bf94b=_0x1bf94b||_0x2b8527[_0x4ba9('0x1c')]));}function _0x39f89d(_0x12a38f){const _0x174836=_0x3c25c9[_0x4ba9('0x8')][_0x4ba9('0x22')](_0x4ba9('0x16'),{'class':'ck-suggestion-marker-'+_0x21e718}),_0x5a3e1d=_0x3c25c9['mapper'][_0x4ba9('0x12')](_0x12a38f);_0x247a7b&&_0x4ac3f2[_0x4ba9('0x6')][_0x4ba9('0xa')](_0x1da9ee[_0x4ba9('0x14')])&&_0x3c25c9['writer']['addClass'](_0x4ba9('0xf'),_0x174836),_0x3c25c9[_0x4ba9('0x8')]['insert'](_0x5a3e1d,_0x174836),_0x3c25c9[_0x4ba9('0x1b')][_0x4ba9('0xb')](_0x174836,_0x1da9ee[_0x4ba9('0x14')]);}_0x29e1ab||_0x4b723a||!_0x1bf94b||_0x39f89d(_0x1bf94b);};}
23
+ const _0x1948=['writer','elementEnd','listItem','isAtEnd','markerRange','isLimit','push','type','getAttribute','nextSibling','createRangeOn','ck-suggestion-marker--active','mapper','insert','getItems','listIndent','parent','span','addClass','toViewPosition','addHighlight','element','name','previousPosition','plugins','consumable','markerName','bindElementToMarker','isContent','model','includes','test','getCustomProperty','TrackChangesEditing','createUIElement','get','getWalker'];(function(_0xdf0869,_0x19488e){const _0x486fe1=function(_0x293ed8){while(--_0x293ed8){_0xdf0869['push'](_0xdf0869['shift']());}};_0x486fe1(++_0x19488e);}(_0x1948,0x9e));const _0x486f=function(_0xdf0869,_0x19488e){_0xdf0869=_0xdf0869-0x0;let _0x486fe1=_0x1948[_0xdf0869];return _0x486fe1;};export function getRangesWithAttribute(_0x3675fe,_0x30ff1d,_0x50c6cc){const _0x55a135=[];for(const _0x3f2433 of _0x30ff1d[_0x486f('0x4')]())_0x3f2433['hasAttribute'](_0x3675fe)&&_0x55a135[_0x486f('0x21')](_0x50c6cc[_0x486f('0x0')](_0x3f2433));return _0x55a135;}export function getElementsAffectedByListItemRename(_0x5cba94){const _0x5bd181=[];if(_0x5cba94['is'](_0x486f('0xb'),_0x486f('0x1d'))){let _0x493cc5=_0x5cba94[_0x486f('0x24')];for(;_0x493cc5&&_0x493cc5['is'](_0x486f('0xb'),_0x486f('0x1d'))&&_0x493cc5[_0x486f('0x23')](_0x486f('0x5'))>0x0;)_0x5bd181[_0x486f('0x21')](_0x493cc5),_0x493cc5=_0x493cc5[_0x486f('0x24')];}return _0x5bd181;}export function downcastSplitMergeMarker(_0x38c731,_0x5d15a7,{showActiveMarker:_0x3abde8=!0x0}={}){const _0x3fce1b=_0x38c731[_0x486f('0xe')][_0x486f('0x19')](_0x486f('0x17'));return(_0x36b0e6,_0x43d10f,_0x9e4dca)=>{if(!_0x9e4dca[_0x486f('0xf')][_0x486f('0x15')](_0x43d10f[_0x486f('0x1f')],_0x36b0e6[_0x486f('0xc')]))return;const _0x596d65=_0x43d10f[_0x486f('0x1f')][_0x486f('0x1a')](),_0x22f63f=_0x43d10f['markerRange']['start'],_0x3c6de2=_0x38c731[_0x486f('0x13')]['schema'];let _0x225a44=null,_0x458b8e=null,_0x435c5a=!0x1,_0x3d8080=!0x1;for(const _0xc2ba7e of _0x596d65){const _0x4038b0=_0xc2ba7e['item'];_0x435c5a=_0x435c5a||_0x3c6de2[_0x486f('0x12')](_0x4038b0);const _0x16ee66=_0x9e4dca[_0x486f('0x2')]['toViewElement'](_0x4038b0);if(_0x16ee66&&_0x16ee66[_0x486f('0x16')](_0x486f('0xa')))return;_0x486f('0x1c')==_0xc2ba7e[_0x486f('0x22')]&&(_0x3c6de2['isBlock'](_0x4038b0)&&!_0x3c6de2[_0x486f('0x20')](_0x4038b0)&&(_0x4038b0[_0x486f('0x24')]||_0x22f63f[_0x486f('0x1e')]?_0x225a44&&_0x225a44[_0x486f('0x6')]==_0x4038b0||(_0x225a44=_0x4038b0,_0x3c785e(_0xc2ba7e[_0x486f('0xd')]),_0x3d8080=!0x0):_0x458b8e=_0x458b8e||_0xc2ba7e[_0x486f('0xd')]));}function _0x3c785e(_0x18cfa2){const _0x58f7e0=_0x9e4dca[_0x486f('0x1b')][_0x486f('0x18')](_0x486f('0x7'),{'class':'ck-suggestion-marker-'+_0x5d15a7}),_0x2faa48=_0x9e4dca[_0x486f('0x2')][_0x486f('0x9')](_0x18cfa2);_0x3abde8&&_0x3fce1b['activeMarkers'][_0x486f('0x14')](_0x43d10f[_0x486f('0x10')])&&_0x9e4dca[_0x486f('0x1b')][_0x486f('0x8')](_0x486f('0x1'),_0x58f7e0),_0x9e4dca['writer'][_0x486f('0x3')](_0x2faa48,_0x58f7e0),_0x9e4dca[_0x486f('0x2')][_0x486f('0x11')](_0x58f7e0,_0x43d10f[_0x486f('0x10')]);}_0x435c5a||_0x3d8080||!_0x458b8e||_0x3c785e(_0x458b8e);};}