@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231116.0 → 0.0.0-nightly-20231117.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 _0x3f59=['activeMarkers','editing','markers','findAncestor','suggestion:formatBlock:tablePasteCell','getShiftedBy','removeMarker','removeColumns','register','isEqual','paragraph','formatBlock','get','tablePasteColumn','first','$graveyard','tableCellPadding','tablePasteRow','previousSibling','cells','author','setAttribute','createRangeIn','discard','remove','insertContent','add','registerPostFixer','unwrap','markMultiRangeDeletion','fill','markerToHighlight','change','stop','deletionRanges','locale','every','columns','getChangedMarkers','markMultiRangeInsertion','getRanges','low','endColumn','name','TableClipboard','move','cell','filter','getChanges','has','removeRows','startsWith','TableUtils','tablePasteCell','editor','insertion','getSuggestions','row','isInContent','push','getRows','selection','ck-suggestion-marker-insertion','columnInsertionRanges','createRange','find','insert','trackChanges','value','for','tableCellHorizontalAlignment','batch','listenTo','last','tableCellBorderWidth','setAttributes','_getCoordsForCells','elementToElement','createRangeOn','getAttributes','type','getRowIndexes','registerDescriptionCallback','tableCell','plugins','redo','high','table','set','suggestion-td','element','attributes','oldRange','schema','isEmpty','wrap','getRange','_replaceTableSlotCell','model','length','registerCustomCallback','getTableIfOnlyTableInContent','entries','_createdBatches','endRow','getMarkers','documentSelection','columnInsertionIndexes','updateMarker','tableCellBorderColor','rowInsertionRanges','end','commands','nextSibling','_splitMarkerName','tableCellSuggestion','ck-suggestion-marker--active','deletion','column','createTableWalker','previous','containsRange','next','getAllAdjacentSuggestions','showSuggestionHighlights','insertionRanges','fromEntries','markerAttributes','insertColumns','subType','document','join','options','newRange','return','tableCellVerticalAlignment','forceDefaultExecution','content','differ','position','dataDowncast','rowInsertionIndexes','markerName','_suggestionFactory','getItems','tablePasteChainId','TrackChangesEditing','createElement','accept','getSuggestion','rootName','tablePaste','map','_isForcedDefaultExecutionBlock','from','Users','getContainedElement','afterInit','conversion','clipboardOutput','start','_tablePostFixingSubtypes','includes','getChild','nodeAfter','editingDowncast'];(function(_0x539b28,_0x3f596b){const _0x54cc50=function(_0x13a1ed){while(--_0x13a1ed){_0x539b28['push'](_0x539b28['shift']());}};_0x54cc50(++_0x3f596b);}(_0x3f59,0x1c3));const _0x54cc=function(_0x539b28,_0x3f596b){_0x539b28=_0x539b28-0x0;let _0x54cc50=_0x3f59[_0x539b28];return _0x54cc50;};import{getTranslation as _0x5ac578}from'../utils/common-translations';import{Plugin as _0x3814b5}from'ckeditor5/src/core';import{uid as _0x105884,priorities as _0x1a9ffb}from'ckeditor5/src/utils';import _0x41eec7 from'./table';const le=[_0x54cc('0x79'),_0x54cc('0x9c'),'tableCellBorderStyle',_0x54cc('0x75'),_0x54cc('0x10'),'tableCellBackgroundColor',_0x54cc('0x3f')],ae=Object[_0x54cc('0x7')](le['map'](_0x13986d=>[_0x13986d,null]));export default class At extends _0x3814b5{static get['requires'](){return[_0x41eec7];}[_0x54cc('0x26')](){const _0x2614e2=this['editor'];if(!_0x2614e2[_0x54cc('0x83')]['has'](_0x54cc('0x5b')))return;const _0x2da8bc=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x54cc('0x1b')),_0x329876=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x54cc('0x63')),_0x68f9d5=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x41eec7),_0x46d3ac=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x54cc('0x5b'));_0x68f9d5[_0x54cc('0x2a')][_0x54cc('0x6a')](_0x54cc('0x40'),_0x54cc('0x3c')),_0x2614e2[_0x54cc('0x91')][_0x54cc('0x8c')][_0x54cc('0x37')]('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':_0x54cc('0x82'),'isLimit':!0x0}),_0x2614e2[_0x54cc('0x27')][_0x54cc('0x7c')]({'model':_0x54cc('0xa2'),'view':_0x54cc('0x88')});let _0x1fdb42=null;_0x2614e2[_0x54cc('0x91')]['on'](_0x54cc('0x48'),(_0x38b11a,_0x132fb9)=>{const [_0xa748c2,_0x5eb2c0]=_0x132fb9,_0x56b83d=_0x132fb9[_0x132fb9[_0x54cc('0x92')]-0x1];_0x56b83d&&_0x56b83d[_0x54cc('0x11')]||_0x2da8bc[_0x54cc('0x22')]||this[_0x54cc('0x65')][_0x54cc('0x9f')][_0x54cc('0x3b')](_0x54cc('0x72'))[_0x54cc('0x73')]&&function(_0x2e18f7,_0x599f2b,_0xe4365a,_0x1b56a2,_0x51c9a2){if(_0x599f2b&&!_0x599f2b['is'](_0x54cc('0x99')))return!0x1;const _0x1adfb8=_0x51c9a2[_0x54cc('0x94')](_0x2e18f7,_0xe4365a);if(!_0x1adfb8||!fe(_0x1adfb8,void 0x0,_0x1b56a2))return!0x1;const _0x511b51=_0x1b56a2['getSelectionAffectedTableCells'](_0xe4365a['document'][_0x54cc('0x6c')]);if(!_0x511b51[_0x54cc('0x92')])return!0x1;const _0x1dd781=_0x511b51[0x0][_0x54cc('0x32')](_0x54cc('0x86')),_0x5f2297=_0x1b56a2[_0x54cc('0x80')](_0x511b51),_0x2f6630=_0x1b56a2['getColumnIndexes'](_0x511b51),_0x247619={'startRow':_0x5f2297[_0x54cc('0x3d')],'endRow':_0x5f2297[_0x54cc('0x78')],'startColumn':_0x2f6630[_0x54cc('0x3d')],'endColumn':_0x2f6630[_0x54cc('0x78')]};return 0x1==_0x511b51[_0x54cc('0x92')]&&(_0x247619[_0x54cc('0x97')]+=_0x1b56a2[_0x54cc('0x6b')](_0x1adfb8)-0x1,_0x247619[_0x54cc('0x59')]+=_0x1b56a2['getColumns'](_0x1adfb8)-0x1),fe(_0x1dd781,_0x247619,_0x1b56a2);}(_0xa748c2,_0x5eb2c0,_0x2614e2[_0x54cc('0x91')],_0x329876,_0x46d3ac)&&(_0x38b11a[_0x54cc('0x50')](),_0x1fdb42={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2614e2[_0x54cc('0x91')][_0x54cc('0x4f')](()=>{_0x2614e2[_0x54cc('0x91')][_0x54cc('0x48')](_0x132fb9[0x0],_0x132fb9[0x1],_0x132fb9[0x2],{'forceDefaultExecution':!0x0});const _0x1d97c9=_0x105884(),{rowInsertionRanges:_0x4865e6,columnInsertionRanges:_0x307721,insertionRanges:_0x36e206,deletionRanges:_0x13e06b,cells:_0x18646d}=_0x1fdb42;_0x4865e6[_0x54cc('0x92')]&&_0x2da8bc[_0x54cc('0x56')](_0x4865e6,_0x54cc('0x40'),{'tablePasteChainId':_0x1d97c9}),_0x307721['length']&&_0x2da8bc[_0x54cc('0x56')](_0x307721,_0x54cc('0x3c'),{'tablePasteChainId':_0x1d97c9}),_0x36e206['length']&&_0x2da8bc[_0x54cc('0x56')](_0x36e206,_0x54cc('0x20'),{'tablePasteChainId':_0x1d97c9,'skipNestingCheck':!0x0}),_0x13e06b[_0x54cc('0x92')]&&_0x2da8bc[_0x54cc('0x4c')](_0x13e06b,'tablePaste',{'tablePasteChainId':_0x1d97c9,'skipNestingCheck':!0x0});const _0xe81058=_0x2da8bc['markMultiRangeBlockFormat'](_0x18646d[_0x54cc('0x21')](({element:_0x2bc721})=>_0x2bc721),{'formatGroupId':_0x105884()},[],_0x54cc('0x64'),{'tablePasteChainId':_0x1d97c9});if(_0xe81058){const _0x1ef929=_0xe81058[_0x54cc('0x98')](),_0x48113d=[];for(const {element:_0x9d6533,attributes:_0x1ed5df}of _0x18646d){if(!_0x1ed5df)continue;const _0x50c9c6=_0x2614e2['model']['createRangeOn'](_0x9d6533),_0x5beba3=_0x1ef929[_0x54cc('0x70')](_0x144458=>_0x144458[_0x54cc('0x8f')]()['isEqual'](_0x50c9c6));_0x5beba3&&_0x48113d['push']([_0x5beba3[_0x54cc('0x5a')],_0x1ed5df]);}_0x48113d[_0x54cc('0x92')]&&_0xe81058[_0x54cc('0x44')](_0x54cc('0x8'),Object[_0x54cc('0x7')](_0x48113d));}_0x1fdb42=null;}));},{'priority':_0x1a9ffb[_0x54cc('0x85')]+0xa}),_0x2614e2[_0x54cc('0x83')]['get'](_0x54cc('0x5b'))['on'](_0x54cc('0x90'),(_0x16bb66,_0x20cf97)=>{const [_0x18e091,_0x957c34,,_0x993afd]=_0x20cf97;if(!_0x1fdb42)return;_0x16bb66[_0x54cc('0x50')]();const _0x4caae8=_0x18e091[_0x54cc('0x5d')],_0xfca395=_0x957c34,_0x3a6a35=ce(_0x4caae8),_0x479ca1=ce(_0xfca395);_0x16bb66[_0x54cc('0xf')]=_0x4caae8;let _0x24434e=null,_0x4a1e5e=null;if(_0x479ca1||_0x3a6a35){if(_0x3a6a35&&!_0x479ca1){_0x993afd[_0x54cc('0x47')](_0x4caae8[_0x54cc('0x2c')](0x0));for(const _0x3feecb of Array[_0x54cc('0x23')](_0xfca395['getChildren']()))_0x993afd['insert'](_0x3feecb,_0x4caae8,'end');const _0x3780e7=_0x1fdb42[_0x54cc('0x16')]['includes'](_0x18e091[_0x54cc('0x68')]),_0x73b251=_0x1fdb42[_0x54cc('0x9a')][_0x54cc('0x2b')](_0x18e091[_0x54cc('0xa5')]);_0x3780e7||_0x73b251||(_0x24434e=_0x993afd['createRangeIn'](_0x4caae8));}else _0x479ca1&&!_0x3a6a35&&(_0x4a1e5e=_0x993afd[_0x54cc('0x45')](_0x4caae8));}else{const _0x22e7bd=_0x993afd[_0x54cc('0x1c')](_0x54cc('0xa2')),_0x166544=_0x993afd[_0x54cc('0x1c')](_0x54cc('0xa2'));_0x993afd[_0x54cc('0x8e')](_0x993afd[_0x54cc('0x45')](_0x4caae8),_0x166544),_0x993afd[_0x54cc('0x71')](_0x22e7bd,_0x4caae8,0x0);for(const _0x3f0b09 of Array[_0x54cc('0x23')](_0xfca395['getChildren']()))_0x993afd[_0x54cc('0x71')](_0x3f0b09,_0x22e7bd,_0x54cc('0x9e'));_0x24434e=_0x993afd[_0x54cc('0x7d')](_0x22e7bd),_0x4a1e5e=_0x993afd[_0x54cc('0x7d')](_0x166544);}const _0x574eb9=Array[_0x54cc('0x23')](_0xfca395[_0x54cc('0x7e')]())['filter'](([_0x443217])=>le['includes'](_0x443217));_0x1fdb42[_0x54cc('0x42')][_0x54cc('0x6a')]({'element':_0x4caae8,'attributes':_0x574eb9[_0x54cc('0x92')]?Object[_0x54cc('0x7')](_0x574eb9):null}),_0x24434e&&_0x1fdb42[_0x54cc('0x6')][_0x54cc('0x6a')](_0x24434e),_0x4a1e5e&&_0x1fdb42[_0x54cc('0x51')][_0x54cc('0x6a')](_0x4a1e5e);},{'priority':'high'}),_0x329876['on'](_0x54cc('0x9'),(_0x423016,_0x4b9aa2)=>{const [_0x2dc8ab,_0x436da8={}]=_0x4b9aa2;if(!_0x1fdb42)return;const _0x45dc1e=_0x436da8['at']||0x0,_0x4a4898=_0x436da8[_0x54cc('0x54')]||0x1;_0x1fdb42[_0x54cc('0x9a')]=new Array(_0x4a4898)[_0x54cc('0x4d')](_0x45dc1e)[_0x54cc('0x21')]((_0xc39e31,_0x2bf59c)=>_0xc39e31+_0x2bf59c);for(const {cell:_0x5c7694}of _0x329876[_0x54cc('0x0')](_0x2dc8ab,{'startColumn':_0x45dc1e,'endColumn':_0x45dc1e+_0x4a4898-0x1}))_0x1fdb42[_0x54cc('0x6e')][_0x54cc('0x6a')](_0x2614e2[_0x54cc('0x91')][_0x54cc('0x7d')](_0x5c7694));},{'priority':_0x54cc('0x58')}),_0x329876['on']('insertRows',(_0x36533f,_0x126ea5)=>{const [_0x1bac9c,_0x268053={}]=_0x126ea5;if(!_0x1fdb42)return;const _0x52b8c6=_0x268053['at']||0x0,_0x23adf7=_0x268053['rows']||0x1;_0x1fdb42['rowInsertionIndexes']=new Array(_0x23adf7)[_0x54cc('0x4d')](_0x52b8c6)['map']((_0x2ee829,_0x194db5)=>_0x2ee829+_0x194db5);for(const {cell:_0x2182e8}of _0x329876[_0x54cc('0x0')](_0x1bac9c,{'startRow':_0x52b8c6,'endRow':_0x52b8c6+_0x23adf7-0x1}))_0x1fdb42[_0x54cc('0x9d')]['push'](_0x2614e2[_0x54cc('0x91')][_0x54cc('0x7d')](_0x2182e8));},{'priority':'low'}),_0x2da8bc['_descriptionFactory'][_0x54cc('0x81')](_0x5994e8=>{if(_0x5994e8[_0x54cc('0xa')]&&_0x5994e8[_0x54cc('0xa')][_0x54cc('0x62')](_0x54cc('0x20')))return _0x5994e8[_0x54cc('0x1')]?{}:{'type':_0x54cc('0x66'),'content':_0x5ac578(_0x2614e2[_0x54cc('0x52')],'*Replace\x20table\x20cells*')};});const _0x3da1ac=()=>!0x1;for(const _0x1142cc of[_0x54cc('0x20'),_0x54cc('0x3c'),_0x54cc('0x40'),_0x54cc('0x64')])_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x54cc('0x66'),_0x1142cc,_0x54cc('0xc'),_0x3da1ac),_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x54cc('0xa4'),_0x1142cc,_0x54cc('0xc'),_0x3da1ac),_0x2da8bc[_0x54cc('0x18')]['registerCustomCallback'](_0x54cc('0x3a'),_0x1142cc,_0x54cc('0xc'),_0x3da1ac);_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x54cc('0x3a'),_0x54cc('0x64'),_0x54cc('0x46'),_0x3da1ac),_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x54cc('0x3a'),_0x54cc('0x64'),'accept',(_0x151a34,_0x508f01,_0x180809)=>{const _0x4b1eb2=_0x151a34[_0x54cc('0x21')](_0x542532=>_0x542532[_0x54cc('0x25')]())['filter'](_0x3dbd7f=>_0x3dbd7f),_0x565f40=new Map(_0x4b1eb2['map'](_0x36be1f=>[_0x36be1f,null]));if(_0x1fdb42)for(const {element:_0x2037ae,attributes:_0x55f8d5}of _0x1fdb42[_0x54cc('0x42')])_0x55f8d5&&_0x565f40[_0x54cc('0x87')](_0x2037ae,_0x55f8d5);else{if(_0x180809&&_0x180809['markerAttributes'])for(const [_0x1f87b7,_0x115c36]of Object[_0x54cc('0x95')](_0x180809[_0x54cc('0x8')])){const _0x2935b0=_0x2614e2[_0x54cc('0x91')][_0x54cc('0x31')]['get'](_0x1f87b7),_0x21ccd=_0x2935b0?_0x2935b0[_0x54cc('0x8f')]()[_0x54cc('0x25')]():null;_0x21ccd&&_0x565f40['set'](_0x21ccd,_0x115c36);}}_0x2614e2[_0x54cc('0x91')][_0x54cc('0x4f')](_0x416774=>{for(const [_0x1ef9e8,_0x428e01]of _0x565f40)_0x416774[_0x54cc('0x7a')]({...ae,..._0x428e01},_0x1ef9e8);});});const _0x192de5=(_0x47b035,_0x10f206)=>{_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x47b035,_0x54cc('0x20'),_0x10f206,(_0x159d45,_0x119318,_0x44d4f9)=>{_0x2614e2[_0x54cc('0x91')][_0x54cc('0x4f')](_0x3d5ed9=>{const _0x25b078=[];for(const _0x5c5f63 of _0x159d45){const _0x26b0ca=_0x5c5f63[_0x54cc('0x29')][_0x54cc('0x2d')];_0x26b0ca['is']('element','tableCellSuggestion')&&_0x25b078['push'](_0x26b0ca);}_0x2da8bc[_0x54cc('0x18')]['getSuggestionCallback'](_0x47b035,null,_0x10f206)(_0x159d45,_0x119318,_0x44d4f9);for(const _0x583b95 of _0x25b078)_0x54cc('0x3e')!=_0x583b95['root'][_0x54cc('0x1f')]&&_0x3d5ed9[_0x54cc('0x4b')](_0x583b95);});});};_0x192de5(_0x54cc('0x66'),_0x54cc('0x1d')),_0x192de5('insertion',_0x54cc('0x46')),_0x192de5('deletion',_0x54cc('0x1d')),_0x192de5(_0x54cc('0xa4'),_0x54cc('0x46')),_0x2da8bc[_0x54cc('0x18')]['registerCustomCallback'](_0x54cc('0x66'),_0x54cc('0x40'),'discard',_0x5cc729=>{const _0x45e7b9=_0x5cc729[_0x54cc('0x21')](_0x59fa13=>_0x59fa13[_0x54cc('0x25')]()),_0x5d6694=_0x45e7b9[0x0]['findAncestor'](_0x54cc('0x86')),{minRow:_0x409069,maxRow:_0x3710ab}=_0x68f9d5['_getCoordsForCells'](_0x45e7b9);_0x329876[_0x54cc('0x61')](_0x5d6694,{'at':_0x409069,'rows':_0x3710ab-_0x409069+0x1});}),_0x2da8bc[_0x54cc('0x18')][_0x54cc('0x93')](_0x54cc('0x66'),_0x54cc('0x3c'),'discard',_0x44092c=>{const _0x2a8a8c=_0x44092c[_0x54cc('0x21')](_0x4ac38e=>_0x4ac38e[_0x54cc('0x25')]()),_0x1d28f0=_0x2a8a8c[0x0]['findAncestor'](_0x54cc('0x86')),{minColumn:_0x37ee5b,maxColumn:_0x5a1d27}=_0x68f9d5[_0x54cc('0x7b')](_0x2a8a8c);_0x329876[_0x54cc('0x36')](_0x1d28f0,{'at':_0x37ee5b,'columns':_0x5a1d27-_0x37ee5b+0x1});});const _0x51c4bb=(_0x2b1717,_0x30c469)=>{if(!_0x30c469[_0x54cc('0xa')]||!_0x30c469[_0x54cc('0xa')][_0x54cc('0x62')](_0x54cc('0x20')))return;const _0x38611b=_0x30c469[_0x54cc('0x8a')][_0x54cc('0x1a')],_0x396d2d=_0x2da8bc[_0x54cc('0x67')]()[_0x54cc('0x5e')](_0x4773f7=>_0x4773f7[_0x54cc('0x69')]&&_0x4773f7[_0x54cc('0x8a')]&&_0x4773f7[_0x54cc('0x8a')][_0x54cc('0x1a')]==_0x38611b);_0x396d2d['length']&&_0x30c469['getAllAdjacentSuggestions']()[_0x54cc('0x92')]!=_0x396d2d[_0x54cc('0x92')]&&_0x396d2d['reduce']((_0x4e341e,_0x10e384)=>(_0x4e341e[_0x54cc('0x3')]=_0x10e384,_0x10e384['previous']=_0x4e341e,_0x10e384));};function _0x31cd45(_0xfd5e30,_0x1bdb1e=!0x0){const {id:_0x14ec86}=_0x2da8bc[_0x54cc('0xa1')](_0xfd5e30[_0x54cc('0x17')]),_0x15a862=['ck-suggestion-marker',_0x54cc('0x6d')],_0x3ba1d8=_0x2da8bc[_0x54cc('0x2f')]['includes'](_0xfd5e30[_0x54cc('0x17')]);return _0x3ba1d8&&_0x15a862[_0x54cc('0x6a')](_0x54cc('0xa3')),{'classes':_0x15a862,'attributes':{'data-suggestion':_0x14ec86},'priority':_0x3ba1d8&&_0x1bdb1e?0xbc2:0xbb8};}_0x2da8bc['on']('suggestionLoaded',_0x51c4bb,{'priority':'high'}),_0x2da8bc['on']('suggestionUnloaded',_0x51c4bb,{'priority':_0x54cc('0x85')}),_0x2614e2[_0x54cc('0x91')][_0x54cc('0xb')][_0x54cc('0x4a')](()=>{let _0x2cedee=!0x1;const _0xffd3d1=Array['from'](_0x2614e2[_0x54cc('0x91')][_0x54cc('0xb')]['differ'][_0x54cc('0x55')]());for(const {name:_0x4e6745,data:_0x9d3875}of _0xffd3d1){const {group:_0x491d8e,type:_0x4efac8,id:_0x508804}=_0x2da8bc[_0x54cc('0xa1')](_0x4e6745);if('suggestion'!=_0x491d8e||_0x54cc('0xa4')!=_0x4efac8||_0x9d3875[_0x54cc('0x8b')])continue;if(!_0x2da8bc['hasSuggestion'](_0x508804))continue;const _0x4d0780=_0x2da8bc[_0x54cc('0x1e')](_0x508804)[_0x54cc('0x57')](),_0x25fc5=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x54cc('0x24'))['me'];for(const _0x493728 of _0x2da8bc['getSuggestions']()){if(!_0x493728['isInContent']||_0x493728[_0x54cc('0x43')]!=_0x25fc5)continue;if(_0x54cc('0x3a')!=_0x493728['type']||_0x54cc('0x64')!=_0x493728[_0x54cc('0xa')])continue;if(_0x493728[_0x54cc('0x57')]()[_0x54cc('0x53')](_0x2170c5=>_0x4d0780['some'](_0x5ac81e=>_0x5ac81e[_0x54cc('0x2')](_0x2170c5,!0x0))))for(const _0x178969 of _0x493728[_0x54cc('0x4')]())_0x178969[_0x54cc('0x69')]&&(_0x178969[_0x54cc('0x46')](),_0x2cedee=!0x0);}}return _0x2cedee;}),_0x2614e2[_0x54cc('0x91')]['document'][_0x54cc('0x4a')](_0x2c4773=>{const _0x14e0e4=_0x2614e2[_0x54cc('0x9f')][_0x54cc('0x3b')](_0x54cc('0x84'));if(!_0x14e0e4||!_0x14e0e4[_0x54cc('0x96')][_0x54cc('0x60')](_0x2c4773[_0x54cc('0x76')]))return!0x1;let _0x51e75f=!0x1;const _0xe60e34=_0x2614e2['plugins'][_0x54cc('0x3b')](_0x54cc('0x24'))['me'],_0x44ee89=_0x2614e2[_0x54cc('0x91')][_0x54cc('0xb')][_0x54cc('0x13')][_0x54cc('0x5f')](),_0x39ac51=Array['from'](_0x2614e2['model'][_0x54cc('0xb')][_0x54cc('0x13')][_0x54cc('0x55')]())['filter'](({name:_0x5aa2d7,data:_0x4a2e77})=>{const {group:_0x104b4a,subType:_0x2f1bdc,authorId:_0x257f27}=_0x2da8bc['_splitMarkerName'](_0x5aa2d7);return'suggestion'==_0x104b4a&&_0x54cc('0x20')==_0x2f1bdc&&_0x257f27==_0xe60e34['id']&&!_0x4a2e77['oldRange'];});for(const _0x23468b of _0x44ee89){if(_0x54cc('0x71')!=_0x23468b[_0x54cc('0x7f')]||_0x54cc('0xa2')!=_0x23468b[_0x54cc('0x5a')]||0x1!=_0x23468b[_0x54cc('0x92')])continue;const _0x1a63d6=_0x2c4773[_0x54cc('0x6f')](_0x23468b['position'],_0x23468b[_0x54cc('0x14')][_0x54cc('0x34')](0x1));if(!_0x39ac51[_0x54cc('0x70')](({data:_0x292d09})=>_0x292d09['newRange'][_0x54cc('0x38')](_0x1a63d6)))for(const {name:_0x5b661e,data:_0x29d03a}of _0x39ac51)if(_0x1a63d6[_0x54cc('0x2')](_0x29d03a[_0x54cc('0xe')])){_0x2c4773[_0x54cc('0x9b')](_0x5b661e,{'range':_0x1a63d6}),_0x51e75f=!0x0;break;}}return _0x51e75f;}),_0x2614e2[_0x54cc('0x91')][_0x54cc('0xb')][_0x54cc('0x4a')](_0x4e0a78=>{let _0x53892e=!0x1;const _0x1ea35a=_0x2614e2[_0x54cc('0x83')][_0x54cc('0x3b')](_0x54cc('0x24'))['me'],_0x43aacf=_0x2da8bc[_0x54cc('0x67')]()['filter'](_0x2b4682=>_0x2b4682[_0x54cc('0x69')]&&_0x2b4682[_0x54cc('0x43')]==_0x1ea35a),_0x2c7566=new Set(),_0x5d342a=new Set();for(const _0x198b44 of _0x43aacf)if(_0x54cc('0x20')==_0x198b44[_0x54cc('0xa')])for(const _0x58da4 of _0x198b44[_0x54cc('0x98')]()){const _0x3bea3f=_0x58da4[_0x54cc('0x8f')]()[_0x54cc('0x25')]();if(_0x3bea3f){if(_0x3bea3f['is'](_0x54cc('0x89'),_0x54cc('0xa2'))&&ce(_0x3bea3f)){_0x198b44[_0x54cc('0x35')](_0x58da4[_0x54cc('0x5a')]),_0x2c7566['add'](_0x3bea3f),_0x53892e=!0x0;const _0x2221ac=_0x3bea3f[_0x54cc('0xa0')],_0x752ded=_0x3bea3f[_0x54cc('0x41')],_0x46422d=_0x2221ac&&_0x2221ac['is'](_0x54cc('0x89'),_0x54cc('0xa2')),_0x185504=_0x752ded&&_0x752ded['is'](_0x54cc('0x89'),_0x54cc('0xa2'));_0x46422d&&!_0x2c7566['has'](_0x2221ac)&&_0x5d342a[_0x54cc('0x49')](_0x2221ac),_0x185504&&!_0x2c7566['has'](_0x752ded)&&_0x5d342a[_0x54cc('0x49')](_0x752ded);}else _0x3bea3f['is'](_0x54cc('0x89'),'paragraph')&&_0x3bea3f[_0x54cc('0x8d')]&&(_0x198b44['removeMarker'](_0x58da4[_0x54cc('0x5a')]),_0x53892e=!0x0);}}else{if(_0x54cc('0x64')==_0x198b44[_0x54cc('0xa')]){if(!_0x198b44[_0x54cc('0x8a')]||!_0x198b44[_0x54cc('0x8a')]['tablePasteChainId'])continue;const _0x160984=_0x198b44[_0x54cc('0x8a')][_0x54cc('0x8')];if(_0x160984&&Object['keys'](_0x160984)[_0x54cc('0x92')])continue;const _0x128a3c=_0x198b44[_0x54cc('0x8a')]['tablePasteChainId'];let _0x376942=!0x0,_0x4297bf=!0x0;for(const _0x2c3448 of _0x43aacf)if(_0x2c3448[_0x54cc('0xa')]&&_0x2c3448[_0x54cc('0xa')][_0x54cc('0x62')](_0x54cc('0x20'))){if(!_0x2c3448[_0x54cc('0x8a')]['tablePasteChainId']){_0x4297bf=!0x1;break;}if(_0x2c3448['id']!=_0x198b44['id']&&_0x2c3448['attributes']['tablePasteChainId']==_0x128a3c){_0x376942=!0x1;break;}}_0x4297bf&&_0x376942&&(_0x198b44['removeMarkers'](),_0x53892e=!0x0);}}for(const _0x4a7e90 of _0x2c7566)_0x4e0a78['remove'](_0x4a7e90);for(const _0x57f01b of _0x5d342a)_0x4e0a78['unwrap'](_0x57f01b);return _0x53892e;}),_0x2614e2[_0x54cc('0x27')]['for'](_0x54cc('0x2e'))[_0x54cc('0x4e')]({'model':_0x54cc('0x33'),'view':(_0x915ed7,_0xa15f61)=>_0x31cd45(_0x915ed7),'converterPriority':'high'}),_0x2614e2[_0x54cc('0x27')][_0x54cc('0x74')](_0x54cc('0x15'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5e9138,_0xa8d568)=>_0xa8d568[_0x54cc('0xd')][_0x54cc('0x5')]?_0x31cd45(_0x5e9138,!0x1):null,'converterPriority':_0x54cc('0x85')});const _0x484cfa=_0x2614e2[_0x54cc('0x30')]['view'];this[_0x54cc('0x77')](_0x484cfa['document'],_0x54cc('0x28'),(_0x2d9534,_0x36b74e)=>{const _0x3fa478=[];for(const _0xa8b041 of _0x484cfa[_0x54cc('0x45')](_0x36b74e[_0x54cc('0x12')])[_0x54cc('0x19')]())_0xa8b041['is']('element',_0x54cc('0x88'))&&_0x3fa478[_0x54cc('0x6a')](_0xa8b041);_0x484cfa[_0x54cc('0x4f')](_0x3b0c7d=>{for(const _0x48a061 of _0x3fa478)_0x3b0c7d[_0x54cc('0x5c')](_0x3b0c7d[_0x54cc('0x45')](_0x48a061),_0x3b0c7d['createPositionBefore'](_0x48a061)),_0x3b0c7d[_0x54cc('0x47')](_0x48a061);});});}}function ce(_0x297408){if(_0x297408[_0x54cc('0x8d')])return!0x0;const _0x411f90=_0x297408['getChild'](0x0);return _0x411f90['is'](_0x54cc('0x89'),_0x54cc('0x39'))&&_0x411f90[_0x54cc('0x8d')];}function fe(_0x2214f6,_0x4d23eb={},_0x3b5c35){for(const {isAnchor:_0x124fda,cellHeight:_0x3dfe37,cellWidth:_0x590b40}of _0x3b5c35[_0x54cc('0x0')](_0x2214f6,{'includeAllSlots':!0x0,..._0x4d23eb}))if(!_0x124fda||0x1!=_0x3dfe37||0x1!=_0x590b40)return!0x1;return!0x0;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ebc=['*Format:*\x20resize\x20table','TableColumnResizeEditing','afterInit','formatInline','plugins','discard','getContainedElement','commandParams','registerDescriptionCallback','resizeTable','formatBlock','format','registerCustomCallback','has','formatGroupId','bind','Users','subType','type','change','getColumnGroupElement','accept','getSuggestionCallback','markBlockFormat','editor','tableWidth','data','resizeTableWidth','getTableColumnsWidths','columnWidths','table','get','selection','handleResizeTableWidthCommand','_suggestionFactory','getSelectedElement','enableCommand','document','_descriptionFactory'];(function(_0x1458ff,_0x1ebc5f){const _0x31f051=function(_0x7e5f33){while(--_0x7e5f33){_0x1458ff['push'](_0x1458ff['shift']());}};_0x31f051(++_0x1ebc5f);}(_0x1ebc,0xb9));const _0x31f0=function(_0x1458ff,_0x1ebc5f){_0x1458ff=_0x1458ff-0x0;let _0x31f051=_0x1ebc[_0x1458ff];return _0x31f051;};import{Plugin as _0x3d02a9}from'ckeditor5/src/core';import{getTranslation as _0x82d1d6}from'../utils/common-translations';export default class It extends _0x3d02a9{[_0x31f0('0xc')](){if(!this[_0x31f0('0x22')][_0x31f0('0xe')][_0x31f0('0x17')](_0x31f0('0xb')))return;const _0x1f77b4=this[_0x31f0('0x22')][_0x31f0('0xe')][_0x31f0('0x2')]('TrackChangesEditing');_0x1f77b4[_0x31f0('0x7')](_0x31f0('0x25'),this[_0x31f0('0x4')][_0x31f0('0x19')](this)),_0x1f77b4[_0x31f0('0x5')][_0x31f0('0x16')]('formatBlock','resizeTable',_0x31f0('0x1f'),_0x1f77b4['_suggestionFactory'][_0x31f0('0x20')](_0x31f0('0x14'),null,_0x31f0('0xf'))),_0x1f77b4[_0x31f0('0x5')][_0x31f0('0x16')](_0x31f0('0x14'),_0x31f0('0x13'),_0x31f0('0xf'),_0x1f77b4['_suggestionFactory']['getSuggestionCallback'](_0x31f0('0x14'),null,_0x31f0('0x1f'))),_0x1f77b4[_0x31f0('0x9')][_0x31f0('0x12')](this['handleSuggestionDescription'][_0x31f0('0x19')](this));}[_0x31f0('0x4')](_0x4b6d62,_0x19b592){const _0x177a16=this['editor'][_0x31f0('0xe')][_0x31f0('0x2')]('TrackChangesEditing'),_0x5abdf6=this[_0x31f0('0x22')][_0x31f0('0xe')][_0x31f0('0x2')](_0x31f0('0xb')),_0x1262e2=_0x19b592[_0x31f0('0x1')]||this[_0x31f0('0x22')]['model'][_0x31f0('0x8')][_0x31f0('0x3')][_0x31f0('0x6')]();this[_0x31f0('0x22')]['model'][_0x31f0('0x1d')](()=>{const _0x54b6c2=_0x5abdf6[_0x31f0('0x1e')](_0x1262e2);let _0x13f897=_0x54b6c2?_0x5abdf6[_0x31f0('0x26')](_0x54b6c2):null,_0x2914c8=_0x1262e2['getAttribute']('tableWidth')||null;const _0x54bfe0=_0x19b592[_0x31f0('0x23')]||_0x2914c8,_0x213557=_0x19b592[_0x31f0('0x0')]||_0x13f897,_0x40514d=this[_0x31f0('0x22')][_0x31f0('0xe')][_0x31f0('0x2')](_0x31f0('0x1a'))['me'];for(const _0x87eae of _0x177a16['getSuggestions']()){const _0xdae96c=_0x87eae[_0x31f0('0x10')]();if(_0x31f0('0x13')===_0x87eae[_0x31f0('0x1b')]&&_0xdae96c===_0x1262e2){_0x87eae['author']!==_0x40514d&&_0x87eae['discard']();const _0x103c0a=_0x87eae[_0x31f0('0x24')][_0x31f0('0x11')];_0x2914c8=_0x103c0a[0x0][_0x31f0('0x23')],_0x13f897=_0x103c0a[0x0][_0x31f0('0x0')];break;}}_0x4b6d62({'table':_0x1262e2,'tableWidth':_0x54bfe0,'columnWidths':_0x213557}),_0x177a16[_0x31f0('0x21')](_0x1262e2,{'commandName':_0x31f0('0x25'),'commandParams':[{'tableWidth':_0x2914c8,'columnWidths':_0x13f897}],'formatGroupId':'resizeTable'},[],_0x31f0('0x13'));});}['handleSuggestionDescription'](_0x32bdf7){if('formatBlock'!=_0x32bdf7['type']&&_0x31f0('0xd')!=_0x32bdf7[_0x31f0('0x1c')])return;const {data:_0x4c0aaf}=_0x32bdf7;if(_0x4c0aaf&&_0x31f0('0x13')===_0x4c0aaf[_0x31f0('0x18')]){const _0x47dd85=_0x31f0('0xa');return{'type':_0x31f0('0x15'),'content':_0x82d1d6(this[_0x31f0('0x22')]['locale'],_0x47dd85)};}}}
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)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa548=['activeMarkers','setTableColumnHeader','mapper','parent','forceValue','_splitMarkerName','markerRange','headingRows','editor','data','showSuggestionHighlights','registerCustomCallback','createTableWalker','setAttribute','TableUtils','get','data-suggestion','ck-suggestion-marker-','nodeBefore','editing','requires','locale','downcastDispatcher','name','unbindElementFromMarkerName','writer','headingColumns','removeMarker:suggestion','getCellLocation','consumable','markerName','registerDescriptionCallback','setTableRowHeader','addMarker:suggestion','bindElementToMarker','accept','removeClass','start','options','FORMAT_REGULAR_ROW','consume','format','toViewElement','has','type','formatBlock','_suggestionFactory','FORMAT_HEADER_ROW','_handleLegacySuggestions','addClass','commandParams','item','_acceptFormatSuggestionCallbackFactory','includes','*Format:*\x20%0','ck-suggestion-marker--active','registerAttributeLabel','_registerLegacyDescription','afterInit','markerNameToElements','_descriptionFactory','TrackChangesEditing','plugins','_enableDefaultAttributesIntegration','getSuggestion','FORMAT_HEADER_COLUMN','end','highest','removeAttribute'];(function(_0x352504,_0xa5483b){const _0x28833f=function(_0x34878f){while(--_0x34878f){_0x352504['push'](_0x352504['shift']());}};_0x28833f(++_0xa5483b);}(_0xa548,0x143));const _0x2883=function(_0x352504,_0xa5483b){_0x352504=_0x352504-0x0;let _0x28833f=_0xa548[_0x352504];return _0x28833f;};import{Plugin as _0x64ef60}from'ckeditor5/src/core';import _0x335096 from'./table';import{getTranslation as _0xd55c5f}from'../utils/common-translations';export default class St extends _0x64ef60{static get[_0x2883('0x2a')](){return[_0x335096];}[_0x2883('0xb')](){const _0x3010b2=this[_0x2883('0x1e')];if(!_0x3010b2[_0x2883('0xf')][_0x2883('0x41')]('TableEditing'))return;const _0x49592e=_0x3010b2[_0x2883('0x2b')],_0x244bb3=_0x3010b2['plugins']['get']('TrackChangesEditing');_0x244bb3[_0x2883('0x10')](_0x2883('0x36'),[],[_0x2883('0x1d')]),_0x244bb3[_0x2883('0x10')](_0x2883('0x17'),[],[_0x2883('0x30')]),_0x244bb3[_0x2883('0xd')][_0x2883('0x9')](_0x2883('0x1d'),_0xd55c5f(_0x49592e,'FORMAT_HEADER_ROW')),_0x244bb3[_0x2883('0xd')][_0x2883('0x9')](_0x2883('0x30'),_0xd55c5f(_0x49592e,_0x2883('0x12'))),this[_0x2883('0x1')]();}[_0x2883('0x1')](){const _0x53ea86=this[_0x2883('0x1e')][_0x2883('0xf')][_0x2883('0x25')](_0x2883('0xe')),_0x519632=this['editor'][_0x2883('0xf')][_0x2883('0x25')](_0x2883('0x24')),_0x42ad0a=this['editor'][_0x2883('0xf')][_0x2883('0x25')](_0x335096)[_0x2883('0x5')]();function _0x16fd5b({showActiveMarker:_0x3a491c=!0x0,setDataAttribute:_0x1f2bd9=!0x0}={}){return(_0x231516,_0xe78679,_0x3aac24)=>{const {type:_0x446657,id:_0x217c30}=_0x53ea86['_splitMarkerName'](_0xe78679['markerName']),_0x4b1ee7=_0x53ea86[_0x2883('0x11')](_0x217c30),_0x397955=_0x4b1ee7[_0x2883('0x1f')];if(_0x2883('0x43')!=_0x4b1ee7[_0x2883('0x42')]||!_0x397955||_0x2883('0x17')!=_0x397955['commandName'])return;if(_0xe78679[_0x2883('0x4')])return void _0x231516['stop']();if(!_0x3aac24[_0x2883('0x33')][_0x2883('0x3e')](_0xe78679[_0x2883('0x1c')],_0x231516[_0x2883('0x2d')]))return;const _0x25a4be=_0xe78679[_0x2883('0x1c')][_0x2883('0x3b')]['nodeAfter'],_0x951f10=_0xe78679['markerRange'][_0x2883('0x13')][_0x2883('0x28')],_0x2ff54f=_0x25a4be[_0x2883('0x19')]['parent'],{column:_0x442808}=_0x519632[_0x2883('0x32')](_0x25a4be),{column:_0x509a07}=_0x519632[_0x2883('0x32')](_0x951f10);for(let _0x1d6c0f=_0x442808;_0x1d6c0f<=_0x509a07;_0x1d6c0f++){const _0x28c581=_0x519632[_0x2883('0x22')](_0x2ff54f,{'column':_0x1d6c0f,'includeAllSlots':!0x1});for(const _0x5562a0 of _0x28c581){const _0xa7b258=_0x5562a0['cell'],_0x3c9854=_0x3aac24[_0x2883('0x18')][_0x2883('0x40')](_0xa7b258);_0x3aac24['writer']['addClass'](_0x2883('0x27')+_0x446657,_0x3c9854),_0x1f2bd9&&_0x3aac24[_0x2883('0x2f')][_0x2883('0x23')](_0x2883('0x26'),_0x217c30,_0x3c9854),_0x3aac24[_0x2883('0x18')][_0x2883('0x38')](_0x3c9854,_0xe78679['markerName']),_0x3a491c&&(_0x53ea86[_0x2883('0x16')][_0x2883('0x6')](_0xe78679[_0x2883('0x34')])?_0x3aac24[_0x2883('0x2f')][_0x2883('0x2')](_0x2883('0x8'),_0x3c9854):_0x3aac24['writer'][_0x2883('0x3a')](_0x2883('0x8'),_0x3c9854));}}};}_0x53ea86[_0x2883('0x44')]['registerCustomCallback']('formatBlock',_0x2883('0x36'),_0x2883('0x39'),_0x42ad0a),_0x53ea86[_0x2883('0x44')][_0x2883('0x21')](_0x2883('0x43'),_0x2883('0x17'),_0x2883('0x39'),_0x42ad0a),this[_0x2883('0x1e')]['editing'][_0x2883('0x2c')]['on'](_0x2883('0x37'),_0x16fd5b(),{'priority':_0x2883('0x14')}),this[_0x2883('0x1e')][_0x2883('0x1f')][_0x2883('0x2c')]['on'](_0x2883('0x37'),(_0x38c447,_0x43ee1d,_0x85ab24)=>{_0x85ab24[_0x2883('0x3c')][_0x2883('0x20')]&&_0x16fd5b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x38c447,_0x43ee1d,_0x85ab24);},{'priority':'highest'}),this[_0x2883('0x1e')][_0x2883('0x29')][_0x2883('0x2c')]['on'](_0x2883('0x31'),(_0x20f081,_0x25ba08,_0x47fafa)=>{const {type:_0x4e53b0,id:_0x4335bf}=_0x53ea86[_0x2883('0x1b')](_0x25ba08[_0x2883('0x34')]),_0x188978=_0x53ea86['getSuggestion'](_0x4335bf),_0x276a1f=_0x188978['data'];if(_0x2883('0x43')!=_0x188978[_0x2883('0x42')]||!_0x276a1f||_0x2883('0x17')!=_0x276a1f['commandName'])return;const _0x200fa5=_0x47fafa[_0x2883('0x18')][_0x2883('0xc')](_0x25ba08[_0x2883('0x34')]);if(_0x200fa5)for(const _0x2fd9a1 of _0x200fa5)_0x47fafa[_0x2883('0x2f')][_0x2883('0x3a')](_0x2883('0x27')+_0x4e53b0,_0x2fd9a1),_0x47fafa[_0x2883('0x2f')][_0x2883('0x3a')](_0x2883('0x8'),_0x2fd9a1),_0x47fafa[_0x2883('0x2f')][_0x2883('0x15')](_0x2883('0x26'),_0x2fd9a1),_0x47fafa['mapper'][_0x2883('0x2e')](_0x2fd9a1,_0x25ba08[_0x2883('0x34')]);},{'priority':_0x2883('0x14')}),this[_0x2883('0xa')]();}[_0x2883('0xa')](){const _0x8e1a46=this[_0x2883('0x1e')],_0x4bd4b8=_0x8e1a46[_0x2883('0x2b')];function _0x4ed379(_0xbe1c67){return{'type':_0x2883('0x3f'),'content':_0xd55c5f(_0x4bd4b8,_0x2883('0x7'),_0xbe1c67)};}_0x8e1a46[_0x2883('0xf')][_0x2883('0x25')](_0x2883('0xe'))[_0x2883('0xd')][_0x2883('0x35')](_0x45537a=>{if('formatBlock'!=_0x45537a['type'])return;const {data:_0x2a9576}=_0x45537a;if(_0x2a9576){if(_0x2883('0x36')==_0x2a9576['commandName']){const _0x4c25c4=_0x2a9576[_0x2883('0x3')][0x0]['forceValue'];return _0x4ed379(_0xd55c5f(_0x4bd4b8,_0x4c25c4?_0x2883('0x0'):_0x2883('0x3d')));}if(_0x2883('0x17')==_0x2a9576['commandName']){const _0x44530c=_0x2a9576['commandParams'][0x0][_0x2883('0x1a')];return _0x4ed379(_0xd55c5f(_0x4bd4b8,_0x44530c?_0x2883('0x12'):'FORMAT_REGULAR_COLUMN'));}}});}}
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'));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b9=['cell','splitTableCellHorizontally','getRanges','tableCell','formatInline','getAncestors','accept','from','_acceptFormatSuggestionCallbackFactory','_descriptionFactory','find','getCellLocation','getFirstPosition','has','enableCommand','mergeTableCellUp','*Split\x20cell:*\x20horizontally','*Merge\x20cells*','length','isEnabled','stop','splitTableCellVertically','formatBlock','findAncestor','commandName','commands','refresh','size','insertion','detach','createRangeOn','registerCustomCallback','mergeTableCells','horizontally','model','highest','TableUtils','markMultiRangeBlockFormat','document','_suggestionFactory','*Split\x20cell:*\x20vertically','containsRange','element','trackChanges','locale','low','mergeTableCellDown','format','getSuggestions','subType','value','getSelectionAffectedTableCells','author','mergeTableCellRight','TableEditing','selection','afterInit','direction','add','push','createTableWalker','return','isInContent','registerDescriptionCallback','_areSelectedCellsMergable','change','rootName','plugins','deletion','TrackChangesEditing','_areMergableCells','editor','requires','get','forceDefaultExecution','filter','type','setSelection','fromRange','map','mergeTableCellLeft'];(function(_0x20b41c,_0x11b917){const _0x47a78e=function(_0x53111c){while(--_0x53111c){_0x20b41c['push'](_0x20b41c['shift']());}};_0x47a78e(++_0x11b917);}(_0x11b9,0xed));const _0x47a7=function(_0x20b41c,_0x11b917){_0x20b41c=_0x20b41c-0x0;let _0x47a78e=_0x11b9[_0x20b41c];return _0x47a78e;};import{Plugin as _0x20e229}from'ckeditor5/src/core';import _0x334ecf from'./table';import{LiveRange as _0xb4c111}from'ckeditor5/src/engine';import{getTranslation as _0x4986ba}from'../utils/common-translations';export default class yt extends _0x20e229{static get[_0x47a7('0x4e')](){return[_0x334ecf];}[_0x47a7('0x3e')](){const _0x39f8d7=this[_0x47a7('0x4d')],_0x34797e=_0x39f8d7[_0x47a7('0x28')][_0x47a7('0x2c')][_0x47a7('0x3d')],_0x11e16f=_0x39f8d7[_0x47a7('0x32')];if(!_0x39f8d7[_0x47a7('0x49')][_0x47a7('0x13')](_0x47a7('0x3c')))return;const _0x307428=_0x39f8d7[_0x47a7('0x49')]['get'](_0x47a7('0x4b')),_0xe4033f=_0x39f8d7[_0x47a7('0x49')]['get'](_0x47a7('0x2a')),_0xa4008e=_0x39f8d7[_0x47a7('0x49')][_0x47a7('0x4f')](_0x334ecf);_0xa4008e['_tablePostFixingSubtypes'][_0x47a7('0x41')](_0x47a7('0x26')),_0x307428[_0x47a7('0x14')](_0x47a7('0x26'),()=>{const _0x7c03e5=_0xe4033f[_0x47a7('0x39')](_0x39f8d7[_0x47a7('0x28')][_0x47a7('0x2c')][_0x47a7('0x3d')]);_0x39f8d7['model'][_0x47a7('0x47')](()=>{_0x307428[_0x47a7('0x2b')](_0x7c03e5,{'commandName':_0x47a7('0x26'),'commandParams':[]},[],_0x47a7('0x26'));});}),_0x39f8d7[_0x47a7('0x1f')][_0x47a7('0x4f')]('mergeTableCells')['on']('execute',(_0x265380,_0x4ff7dd)=>{_0x39f8d7[_0x47a7('0x1f')][_0x47a7('0x4f')](_0x47a7('0x31'))[_0x47a7('0x38')]&&(_0x4ff7dd[_0x47a7('0x18')]>0x0&&_0x4ff7dd[_0x4ff7dd[_0x47a7('0x18')]-0x1]&&_0x4ff7dd[_0x4ff7dd[_0x47a7('0x18')]-0x1][_0x47a7('0x50')]||_0x307428['_isForcedDefaultExecutionBlock']||this[_0x47a7('0x46')]()||_0x265380[_0x47a7('0x1a')]());},{'priority':_0x47a7('0x29')});for(const _0x294def of[_0x47a7('0x15'),_0x47a7('0x3b'),_0x47a7('0x34'),_0x47a7('0x5')]){const _0x4902a4=_0x39f8d7['commands'][_0x47a7('0x4f')](_0x294def);_0x307428[_0x47a7('0x14')](_0x294def,()=>{const _0x1bbf3c=_0x39f8d7['model'][_0x47a7('0x2c')][_0x47a7('0x3d')]['getFirstPosition']()[_0x47a7('0xb')]()[_0x47a7('0x10')](_0x88540e=>_0x88540e['is'](_0x47a7('0x30'),_0x47a7('0x9'))),_0x5e934e=_0x4902a4['value'];_0x39f8d7[_0x47a7('0x28')][_0x47a7('0x47')](()=>{_0x307428[_0x47a7('0x2b')]([_0x1bbf3c,_0x5e934e],{'commandName':_0x47a7('0x26'),'commandParams':[]},[],_0x47a7('0x26'));});});}for(const _0x4ad8c3 of['splitTableCellVertically',_0x47a7('0x7')]){const _0x21fbd9=_0x39f8d7[_0x47a7('0x1f')][_0x47a7('0x4f')](_0x4ad8c3);_0x307428[_0x47a7('0x14')](_0x4ad8c3,()=>{const _0x2e6a24=_0xe4033f[_0x47a7('0x39')](_0x39f8d7[_0x47a7('0x28')][_0x47a7('0x2c')]['selection'])[0x0],_0x158f64=_0x2e6a24[_0x47a7('0x1d')]('table'),{column:_0x461f7a,row:_0xbb14d5}=_0xe4033f[_0x47a7('0x11')](_0x2e6a24);let _0x27c7ba=[];if(_0x47a7('0x27')==_0x21fbd9[_0x47a7('0x3f')]){const _0x1df059=_0xe4033f['createTableWalker'](_0x158f64,{'startRow':_0xbb14d5,'endRow':_0xbb14d5,'includeAllSlots':!0x0});_0x27c7ba=Array[_0x47a7('0xd')](_0x1df059)[_0x47a7('0x4')](_0x1a8b7d=>_0x1a8b7d['cell']);}else{const _0x43741e=_0xe4033f[_0x47a7('0x42')](_0x158f64,{'column':_0x461f7a,'includeAllSlots':!0x0});_0x27c7ba=Array[_0x47a7('0xd')](_0x43741e)['map'](_0x38ed24=>_0x38ed24[_0x47a7('0x6')]);}_0x39f8d7[_0x47a7('0x28')][_0x47a7('0x47')](_0xea14e5=>{_0x307428['markBlockFormat'](_0xea14e5[_0x47a7('0x24')](_0x2e6a24),{'commandName':_0x4ad8c3,'commandParams':[]},_0x27c7ba,_0x4ad8c3);});});}_0x307428[_0x47a7('0xf')][_0x47a7('0x45')](_0x3e5203=>{if(_0x47a7('0x1c')!=_0x3e5203['type']&&_0x47a7('0xa')!=_0x3e5203[_0x47a7('0x1')])return;const {data:_0x3d385a}=_0x3e5203;return _0x3d385a&&_0x47a7('0x26')==_0x3d385a['commandName']?{'type':'format','content':_0x4986ba(_0x11e16f,_0x47a7('0x17'))}:void 0x0;}),_0x307428[_0x47a7('0xf')][_0x47a7('0x45')](_0x52138e=>{if(_0x47a7('0x1c')!=_0x52138e['type']&&_0x47a7('0xa')!=_0x52138e['type'])return;const {data:_0x320b1b}=_0x52138e;return _0x320b1b?_0x47a7('0x1b')==_0x320b1b['commandName']?{'type':'format','content':_0x4986ba(_0x11e16f,_0x47a7('0x2e'))}:'splitTableCellHorizontally'==_0x320b1b[_0x47a7('0x1e')]?{'type':_0x47a7('0x35'),'content':_0x4986ba(_0x11e16f,_0x47a7('0x16'))}:void 0x0:void 0x0;});const _0x5ce343=_0xa4008e[_0x47a7('0xe')]();for(const _0xdf807d of[_0x47a7('0x15'),_0x47a7('0x3b'),'mergeTableCellDown',_0x47a7('0x5')])_0x307428[_0x47a7('0x2d')][_0x47a7('0x25')](_0x47a7('0x1c'),_0xdf807d,_0x47a7('0xc'),_0x5ce343);for(const _0x3d6e31 of[_0x47a7('0x1b'),_0x47a7('0x7')])_0x307428[_0x47a7('0x2d')][_0x47a7('0x25')](_0x47a7('0x1c'),_0x3d6e31,_0x47a7('0xc'),_0x5ce343);_0x307428[_0x47a7('0x2d')]['registerCustomCallback']('formatBlock',_0x47a7('0x26'),_0x47a7('0xc'),_0x110395=>{_0x39f8d7[_0x47a7('0x28')]['change'](_0x13c0e5=>{const _0x50f2b0=Array[_0x47a7('0xd')](_0x34797e[_0x47a7('0x8')]())[_0x47a7('0x4')](_0x3eaf3d=>_0xb4c111[_0x47a7('0x3')](_0x3eaf3d));_0x13c0e5[_0x47a7('0x2')](_0x110395),_0x39f8d7['commands'][_0x47a7('0x4f')](_0x47a7('0x26'))[_0x47a7('0x20')](),_0x39f8d7['execute'](_0x47a7('0x26'),{'forceDefaultExecution':!0x0});const _0xf4202b=_0x50f2b0[_0x47a7('0x0')](_0x50294c=>'$graveyard'!=_0x50294c['root'][_0x47a7('0x48')]);_0xf4202b[_0x47a7('0x18')]>0x0&&_0x13c0e5['setSelection'](_0xf4202b);for(const _0x321128 of _0x50f2b0)_0x321128[_0x47a7('0x23')]();});});for(const _0x2823b1 of[_0x47a7('0x15'),_0x47a7('0x34'),_0x47a7('0x5'),_0x47a7('0x3b')]){const _0x5d0758=_0x39f8d7[_0x47a7('0x1f')][_0x47a7('0x4f')](_0x2823b1);_0x5d0758['on']('set:isEnabled',(_0x417de2,_0x2a1350,_0x10c3ca)=>{if(_0x10c3ca){const _0x42c3e8=_0x39f8d7['model'][_0x47a7('0x2c')][_0x47a7('0x3d')][_0x47a7('0x12')]()[_0x47a7('0xb')]()['find'](_0x2edf13=>_0x2edf13['is'](_0x47a7('0x30'),_0x47a7('0x9')));this[_0x47a7('0x4c')](_0x5d0758['value'],_0x42c3e8)||(_0x417de2[_0x47a7('0x43')]=!0x1,_0x417de2['stop']());}},{'priority':_0x47a7('0x33')});}}['_areSelectedCellsMergable'](){const _0x435396=this[_0x47a7('0x4d')][_0x47a7('0x1f')][_0x47a7('0x4f')](_0x47a7('0x26')),_0x21021d=this['editor'][_0x47a7('0x49')][_0x47a7('0x4f')]('TableUtils');if(!_0x435396[_0x47a7('0x19')])return!0x1;const _0x481c13=_0x21021d[_0x47a7('0x39')](this[_0x47a7('0x4d')][_0x47a7('0x28')][_0x47a7('0x2c')]['selection']);for(const _0x4cde55 of _0x481c13)for(const _0x3cd196 of _0x481c13)if(_0x4cde55!=_0x3cd196&&!this[_0x47a7('0x4c')](_0x4cde55,_0x3cd196))return!0x1;return!0x0;}[_0x47a7('0x4c')](_0x24f242,_0x4d029c){const _0x2acd7e=this[_0x47a7('0x4d')][_0x47a7('0x49')][_0x47a7('0x4f')](_0x47a7('0x4b')),_0x186d96=this[_0x47a7('0x4d')][_0x47a7('0x28')][_0x47a7('0x24')](_0x24f242),_0x9db080=this['editor'][_0x47a7('0x28')][_0x47a7('0x24')](_0x4d029c),_0x40f3b1=new Set(),_0x4879be=new Set();for(const _0x46488 of _0x2acd7e[_0x47a7('0x36')]())if((_0x47a7('0x22')==_0x46488[_0x47a7('0x1')]||_0x47a7('0x4a')==_0x46488['type']||_0x47a7('0x26')==_0x46488[_0x47a7('0x37')])&&_0x46488[_0x47a7('0x44')])for(const _0x2d79a8 of _0x46488['getRanges']())_0x2d79a8[_0x47a7('0x2f')](_0x186d96,!0x0)&&_0x40f3b1[_0x47a7('0x40')](_0x46488[_0x47a7('0x1')]+':'+_0x46488['author']['id']),_0x2d79a8[_0x47a7('0x2f')](_0x9db080,!0x0)&&_0x4879be[_0x47a7('0x40')](_0x46488['type']+':'+_0x46488[_0x47a7('0x3a')]['id']);if(_0x40f3b1[_0x47a7('0x21')]!=_0x4879be['size'])return!0x1;for(const _0x25fbdd of _0x40f3b1)if(!_0x4879be[_0x47a7('0x13')](_0x25fbdd))return!0x1;return!0x0;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x136f=['tableOfContents','enableCommand','locale','registerElementLabel','afterInit','commands','TrackChangesEditing','get','insertTableOfContents'];(function(_0x42409d,_0x136f68){const _0x35b097=function(_0x224775){while(--_0x224775){_0x42409d['push'](_0x42409d['shift']());}};_0x35b097(++_0x136f68);}(_0x136f,0x17a));const _0x35b0=function(_0x42409d,_0x136f68){_0x42409d=_0x42409d-0x0;let _0x35b097=_0x136f[_0x42409d];return _0x35b097;};import{Plugin as _0x222497}from'ckeditor5/src/core';import{getTranslation as _0xf5c81a}from'../utils/common-translations';export default class _t extends _0x222497{[_0x35b0('0x4')](){const _0x384981=this['editor'];if(!_0x384981[_0x35b0('0x5')][_0x35b0('0x7')](_0x35b0('0x8')))return;_0x384981['plugins'][_0x35b0('0x7')]('TrackChangesEditing')[_0x35b0('0x1')](_0x35b0('0x8'));const _0x13cbaf=_0x384981['plugins']['get'](_0x35b0('0x6')),_0x32ee5=_0x384981[_0x35b0('0x2')];_0x13cbaf['_descriptionFactory'][_0x35b0('0x3')](_0x35b0('0x0'),_0x126597=>_0xf5c81a(_0x32ee5,'ELEMENT_TABLE_OF_CONTENTS',_0x126597));}}
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));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a07=['has','TablePropertiesEditing','getContainedElement','TableCellPropertiesEditing','editor','setAttribute','selection','getSelectionAffectedTableCells','*Format:*\x20change\x20table\x20cell\x20properties','TrackChangesEditing','afterInit','registerDescriptionCallback','getSuggestionCallback','subType','tableHeight','join','registerCustomCallback','markBlockFormat','tableCellHorizontalAlignment','plugins','commandParams','nodeAfter','enableCommand','tableCellBorderWidth','format','model','handleSuggestionDescription','discard','tableBackgroundColor','tableCellHeight','formatBlock','batch','get','_getSuggestion','tableWidth','*Format:*\x20change\x20table\x20properties','tableProperties','tableBorderWidth','table','_suggestionFactory','tableBorderColor','tableCellBorderColor','handleDiscardAction','TrackChangesTableProperties','_handlePropertyChange','data','TableUtils','enqueueChange','locale','accept','tableCellWidth','findAncestor','tableAlignment','tableBorderStyle','tableCellBackgroundColor','tableCellPadding','tableCellProperties'];(function(_0x1f7400,_0x1a0785){const _0x2589dd=function(_0x1e2cf1){while(--_0x1e2cf1){_0x1f7400['push'](_0x1f7400['shift']());}};_0x2589dd(++_0x1a0785);}(_0x1a07,0x6c));const _0x2589=function(_0x1f7400,_0x1a0785){_0x1f7400=_0x1f7400-0x0;let _0x2589dd=_0x1a07[_0x1f7400];return _0x2589dd;};import{Plugin as _0x306e4e}from'ckeditor5/src/core';import{getTranslation as _0x55f999}from'../utils/common-translations';export default class Mt extends _0x306e4e{constructor(_0x154e4a){super(_0x154e4a),this[_0x2589('0x2a')]=[_0x2589('0x2e'),_0x2589('0x2'),_0x2589('0x2b'),_0x2589('0x1'),_0x2589('0x28'),_0x2589('0x14'),_0x2589('0x22')],this[_0x2589('0x5')]=[_0x2589('0x2f'),'tableCellBorderStyle',_0x2589('0x1d'),_0x2589('0x4'),_0x2589('0x38'),_0x2589('0x23'),_0x2589('0x3'),_0x2589('0x18'),'tableCellVerticalAlignment'];}static get['pluginName'](){return _0x2589('0x31');}[_0x2589('0x10')](){const _0x4ea752=this[_0x2589('0xa')][_0x2589('0x19')][_0x2589('0x26')](_0x2589('0xf'));if(this[_0x2589('0xa')]['plugins'][_0x2589('0x6')](_0x2589('0x7'))){for(const _0x12d04a of this[_0x2589('0x2a')])_0x4ea752[_0x2589('0x1c')](_0x12d04a,(_0x3ac7e0,_0x294f56)=>{const _0x324cdd=this[_0x2589('0xa')]['model']['document']['selection']['getFirstPosition']()[_0x2589('0x0')](_0x2589('0x2c'));this[_0x2589('0x32')](_0x12d04a,[_0x324cdd],this[_0x2589('0x2a')],_0x2589('0x2a'),_0x3ac7e0,_0x294f56);});_0x4ea752['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2589('0x2a'),_0x2589('0x37'),_0x4ea752['_suggestionFactory'][_0x2589('0x12')](_0x2589('0x24'),null,_0x2589('0x21'))),_0x4ea752['_suggestionFactory'][_0x2589('0x16')](_0x2589('0x24'),_0x2589('0x2a'),_0x2589('0x21'),(_0x4266e8,_0x484bc4)=>this[_0x2589('0x30')](this[_0x2589('0x2a')],_0x4266e8,_0x484bc4)),_0x4ea752[_0x2589('0x2d')]['registerCustomCallback'](_0x2589('0x24'),_0x2589('0x2a'),_0x2589('0x15'),()=>!0x1);}if(this[_0x2589('0xa')]['plugins'][_0x2589('0x6')](_0x2589('0x9'))){for(const _0x6db1ba of this[_0x2589('0x5')])_0x4ea752[_0x2589('0x1c')](_0x6db1ba,(_0x1064de,_0x472ece)=>{const _0x459e71=this[_0x2589('0xa')][_0x2589('0x19')]['get'](_0x2589('0x34'))[_0x2589('0xd')](this[_0x2589('0xa')][_0x2589('0x1f')]['document'][_0x2589('0xc')]);this[_0x2589('0x32')](_0x6db1ba,_0x459e71,this[_0x2589('0x5')],_0x2589('0x5'),_0x1064de,_0x472ece);});_0x4ea752[_0x2589('0x2d')][_0x2589('0x16')](_0x2589('0x24'),_0x2589('0x5'),_0x2589('0x37'),_0x4ea752[_0x2589('0x2d')][_0x2589('0x12')](_0x2589('0x24'),null,'discard')),_0x4ea752[_0x2589('0x2d')][_0x2589('0x16')](_0x2589('0x24'),_0x2589('0x5'),_0x2589('0x21'),(_0x2bca32,_0x673062)=>this[_0x2589('0x30')](this[_0x2589('0x5')],_0x2bca32,_0x673062)),_0x4ea752[_0x2589('0x2d')][_0x2589('0x16')](_0x2589('0x24'),'tableCellProperties',_0x2589('0x15'),()=>!0x1);}_0x4ea752['_descriptionFactory'][_0x2589('0x11')](_0x4e7d2e=>this[_0x2589('0x20')](_0x4e7d2e));}['_handlePropertyChange'](_0xeb3b18,_0x49dc53,_0x5d82df,_0x3ccad4,_0x25482b,_0x5be816){const _0x2b1249=this[_0x2589('0xa')][_0x2589('0x19')][_0x2589('0x26')](_0x2589('0xf'));this[_0x2589('0xa')][_0x2589('0x1f')][_0x2589('0x35')](_0x5be816[_0x2589('0x25')],()=>{for(const _0x1fc9bf of _0x49dc53){if(this[_0x2589('0x27')](_0x1fc9bf,_0x3ccad4))_0x25482b(_0x5be816);else{const _0x234d6d={};for(const _0x10d566 of _0x5d82df){const _0x4b7851=_0x1fc9bf['getAttribute'](_0x10d566);void 0x0!==_0x4b7851&&(_0x234d6d[_0x10d566]=_0x4b7851);}_0x25482b(_0x5be816),_0x2b1249[_0x2589('0x17')](_0x1fc9bf,{'commandParams':[_0x234d6d]},[],_0x3ccad4);}}});}['handleDiscardAction'](_0x26e0cb,_0x1f5b7e,_0x309a82){const _0x3f1df3=_0x1f5b7e[0x0]['start'][_0x2589('0x1b')],_0xeba96f=_0x309a82[_0x2589('0x1a')][0x0];this[_0x2589('0xa')][_0x2589('0x1f')]['change'](_0x551e15=>{for(const _0x123fbe of _0x26e0cb)void 0x0!==_0xeba96f[_0x123fbe]?_0x551e15[_0x2589('0xb')](_0x123fbe,_0xeba96f[_0x123fbe],_0x3f1df3):_0x551e15['removeAttribute'](_0x123fbe,_0x3f1df3);});}['handleSuggestionDescription'](_0x173714){if(_0x173714[_0x2589('0x33')])switch(_0x173714[_0x2589('0x13')]){case _0x2589('0x2a'):return{'type':_0x2589('0x1e'),'content':_0x55f999(this[_0x2589('0xa')][_0x2589('0x36')],_0x2589('0x29'))};case _0x2589('0x5'):return{'type':'format','content':_0x55f999(this[_0x2589('0xa')]['locale'],_0x2589('0xe'))};}}[_0x2589('0x27')](_0x3518a5,_0x992870){const _0x6aeeec=this[_0x2589('0xa')][_0x2589('0x19')][_0x2589('0x26')](_0x2589('0xf'));for(const _0x4de28c of _0x6aeeec['getSuggestions']({'skipNotAttached':!0x0})){const _0x2af9b6=_0x4de28c[_0x2589('0x8')]();if(_0x4de28c[_0x2589('0x13')]===_0x992870&&_0x2af9b6===_0x3518a5)return _0x4de28c;}return null;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21c1=['enableCommand','has','get','Template','TrackChangesEditing','afterInit','insertTemplate'];(function(_0x5ab268,_0x21c178){const _0x20c464=function(_0x7bc62f){while(--_0x7bc62f){_0x5ab268['push'](_0x5ab268['shift']());}};_0x20c464(++_0x21c178);}(_0x21c1,0x1e1));const _0x20c4=function(_0x5ab268,_0x21c178){_0x5ab268=_0x5ab268-0x0;let _0x20c464=_0x21c1[_0x5ab268];return _0x20c464;};import{Plugin as _0x558348}from'ckeditor5/src/core';export default class vt extends _0x558348{[_0x20c4('0x0')](){const _0x129bc6=this['editor'];_0x129bc6['plugins'][_0x20c4('0x3')](_0x20c4('0x5'))&&_0x129bc6['plugins'][_0x20c4('0x4')](_0x20c4('0x6'))[_0x20c4('0x2')](_0x20c4('0x1'));}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12be=['suggestion','start','isEqual','end','registerPostFixer','TrackChangesEditing','has','nodeBefore','_descriptionFactory','_splitMarkerName','document','differ','createRange','schema','plugins','model','getChangedMarkers','from','Title','registerElementLabel','title-content','editor','afterInit','newRange','isTouching','getNearestSelectionRange','updateMarker'];(function(_0x232ead,_0x12be0d){const _0x54c9b7=function(_0x48aa4a){while(--_0x48aa4a){_0x232ead['push'](_0x232ead['shift']());}};_0x54c9b7(++_0x12be0d);}(_0x12be,0xf7));const _0x54c9=function(_0x232ead,_0x12be0d){_0x232ead=_0x232ead-0x0;let _0x54c9b7=_0x12be[_0x232ead];return _0x54c9b7;};import{Plugin as _0x21c7f6}from'ckeditor5/src/core';import{getTranslation as _0x102b4b}from'../utils/common-translations';export default class Ct extends _0x21c7f6{[_0x54c9('0x12')](){const _0x1c8feb=this[_0x54c9('0x11')];if(!_0x1c8feb[_0x54c9('0xa')][_0x54c9('0x2')](_0x54c9('0xe')))return;const _0x1e7b9d=_0x1c8feb[_0x54c9('0xa')]['get'](_0x54c9('0x1'));_0x1e7b9d[_0x54c9('0x4')][_0x54c9('0xf')]('title-content',()=>_0x102b4b(_0x1c8feb['locale'],'ELEMENT_TITLE')),_0x1c8feb[_0x54c9('0xb')][_0x54c9('0x6')][_0x54c9('0x0')](_0x481a65=>{let _0x2302ac=!0x1;const _0x446f6f=Array[_0x54c9('0xd')](_0x1c8feb[_0x54c9('0xb')]['document'][_0x54c9('0x7')][_0x54c9('0xc')]());for(const {name:_0x3063b2,data:_0x360387}of _0x446f6f){const {group:_0x381ad3}=_0x1e7b9d[_0x54c9('0x5')](_0x3063b2);if(_0x54c9('0x17')!==_0x381ad3||!_0x360387[_0x54c9('0x13')])continue;const _0x50f685=_0x360387[_0x54c9('0x13')],_0xcb029f=_0x50f685['end'][_0x54c9('0x3')];if(!_0xcb029f||!_0xcb029f['is']('element',_0x54c9('0x10')))continue;if(!_0x50f685[_0x54c9('0x18')][_0x54c9('0x14')](_0x50f685[_0x54c9('0x1a')]))continue;const _0x4030f8=_0x1c8feb[_0x54c9('0xb')][_0x54c9('0x9')][_0x54c9('0x15')](_0x50f685['end'],'forward');if(_0x4030f8&&_0x4030f8['isCollapsed']){const _0x513ade=_0x481a65[_0x54c9('0x8')](_0x50f685[_0x54c9('0x18')],_0x4030f8[_0x54c9('0x18')]);_0x513ade[_0x54c9('0x19')](_0x50f685)||(_0x481a65[_0x54c9('0x16')](_0x3063b2,{'range':_0x513ade}),_0x2302ac=!0x0);}_0x2302ac||(_0x481a65['removeMarker'](_0x3063b2),_0x2302ac=!0x0);}return _0x2302ac;});}}
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;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1125=['has','editor','TrackChangesEditing','enableCommand','plugins'];(function(_0x266662,_0x112538){const _0x4a06a5=function(_0x35186){while(--_0x35186){_0x266662['push'](_0x266662['shift']());}};_0x4a06a5(++_0x112538);}(_0x1125,0x105));const _0x4a06=function(_0x266662,_0x112538){_0x266662=_0x266662-0x0;let _0x4a06a5=_0x1125[_0x266662];return _0x4a06a5;};import{Plugin as _0x89436a}from'ckeditor5/src/core';export default class Dt extends _0x89436a{['afterInit'](){const _0x13ff57=this[_0x4a06('0x0')],_0x4b3c42=_0x13ff57[_0x4a06('0x3')]['get'](_0x4a06('0x1'));_0x13ff57[_0x4a06('0x3')][_0x4a06('0x4')]('UndoEditing')&&(_0x4b3c42[_0x4a06('0x2')]('undo'),_0x4b3c42[_0x4a06('0x2')]('redo'));}}
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')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c0e=['activeMarkers','mapper','test','plugins','TrackChangesEditing','previousPosition','insert','consumable','addClass','isAtEnd','item','nextSibling','listIndent','isLimit','isContent','toViewPosition','markerName','bindElementToMarker','getItems','isBlock','getCustomProperty','writer','hasAttribute','listItem','type','createRangeOn','includes','push','markerRange','start','ck-suggestion-marker--active','model','schema','get','createUIElement','element','getAttribute','elementEnd'];(function(_0x2c9bd4,_0x2c0e42){const _0x2d234c=function(_0x269b07){while(--_0x269b07){_0x2c9bd4['push'](_0x2c9bd4['shift']());}};_0x2d234c(++_0x2c0e42);}(_0x2c0e,0x6f));const _0x2d23=function(_0x2c9bd4,_0x2c0e42){_0x2c9bd4=_0x2c9bd4-0x0;let _0x2d234c=_0x2c0e[_0x2c9bd4];return _0x2d234c;};export function getRangesWithAttribute(_0x5ac057,_0x52816e,_0xd606e8){const _0x4e59d3=[];for(const _0x58d0f0 of _0x52816e[_0x2d23('0x15')]())_0x58d0f0[_0x2d23('0x19')](_0x5ac057)&&_0x4e59d3[_0x2d23('0x1e')](_0xd606e8[_0x2d23('0x1c')](_0x58d0f0));return _0x4e59d3;}export function getElementsAffectedByListItemRename(_0x3f549f){const _0x3aafe0=[];if(_0x3f549f['is'](_0x2d23('0x0'),'listItem')){let _0x301da4=_0x3f549f[_0x2d23('0xe')];for(;_0x301da4&&_0x301da4['is'](_0x2d23('0x0'),_0x2d23('0x1a'))&&_0x301da4[_0x2d23('0x1')](_0x2d23('0xf'))>0x0;)_0x3aafe0[_0x2d23('0x1e')](_0x301da4),_0x301da4=_0x301da4[_0x2d23('0xe')];}return _0x3aafe0;}export function downcastSplitMergeMarker(_0x490e8e,_0x3b2382,{showActiveMarker:_0x3148cf=!0x0}={}){const _0x309a69=_0x490e8e[_0x2d23('0x6')][_0x2d23('0x24')](_0x2d23('0x7'));return(_0x34ea30,_0x374cb2,_0x1921aa)=>{if(!_0x1921aa[_0x2d23('0xa')][_0x2d23('0x5')](_0x374cb2[_0x2d23('0x1f')],_0x34ea30['name']))return;const _0x4eba94=_0x374cb2[_0x2d23('0x1f')]['getWalker'](),_0x484729=_0x374cb2[_0x2d23('0x1f')][_0x2d23('0x20')],_0x2779be=_0x490e8e[_0x2d23('0x22')][_0x2d23('0x23')];let _0x268e47=null,_0x39a200=null,_0x562c3d=!0x1,_0x542d7e=!0x1;for(const _0x2ff6ba of _0x4eba94){const _0xaa93e7=_0x2ff6ba[_0x2d23('0xd')];_0x562c3d=_0x562c3d||_0x2779be[_0x2d23('0x11')](_0xaa93e7);const _0x431986=_0x1921aa[_0x2d23('0x4')]['toViewElement'](_0xaa93e7);if(_0x431986&&_0x431986[_0x2d23('0x17')]('addHighlight'))return;_0x2d23('0x2')==_0x2ff6ba[_0x2d23('0x1b')]&&(_0x2779be[_0x2d23('0x16')](_0xaa93e7)&&!_0x2779be[_0x2d23('0x10')](_0xaa93e7)&&(_0xaa93e7[_0x2d23('0xe')]||_0x484729[_0x2d23('0xc')]?_0x268e47&&_0x268e47['parent']==_0xaa93e7||(_0x268e47=_0xaa93e7,_0x587a66(_0x2ff6ba[_0x2d23('0x8')]),_0x542d7e=!0x0):_0x39a200=_0x39a200||_0x2ff6ba['previousPosition']));}function _0x587a66(_0x534098){const _0x2c12cc=_0x1921aa['writer'][_0x2d23('0x25')]('span',{'class':'ck-suggestion-marker-'+_0x3b2382}),_0x5476dd=_0x1921aa[_0x2d23('0x4')][_0x2d23('0x12')](_0x534098);_0x3148cf&&_0x309a69[_0x2d23('0x3')][_0x2d23('0x1d')](_0x374cb2[_0x2d23('0x13')])&&_0x1921aa[_0x2d23('0x18')][_0x2d23('0xb')](_0x2d23('0x21'),_0x2c12cc),_0x1921aa[_0x2d23('0x18')][_0x2d23('0x9')](_0x5476dd,_0x2c12cc),_0x1921aa['mapper'][_0x2d23('0x14')](_0x2c12cc,_0x374cb2[_0x2d23('0x13')]);}_0x562c3d||_0x542d7e||!_0x39a200||_0x587a66(_0x39a200);};}
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);};}