@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231005.0 → 0.0.0-nightly-20231006.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 (65) 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/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47a6=['getRows','oldRange','elementToElement','document','suggestion','insertRows','formatBlock','tableCellHorizontalAlignment','getChangedMarkers','tableCellVerticalAlignment','filter','author','value','position','fromEntries','markerToHighlight','name','startsWith','forceDefaultExecution','add','cell','find','suggestionLoaded','tablePasteColumn','markerAttributes','_createdBatches','previous','activeMarkers','tablePasteRow','getMarkers','tableCellSuggestion','rows','type','end','createElement','TableClipboard','ck-suggestion-marker-insertion','unwrap','deletionRanges','move','map','tablePasteChainId','getTableIfOnlyTableInContent','nextSibling','registerPostFixer','plugins','stop','getSelectionAffectedTableCells','remove','isEmpty','push','accept','get','every','_getCoordsForCells','_tablePostFixingSubtypes','options','endRow','isEqual','insertion','discard','removeMarker','getColumns','register','requires','has','createPositionBefore','includes','_descriptionFactory','change','redo','$graveyard','editor','createRange','clipboardOutput','columnInsertionIndexes','updateMarker','content','rootName','locale','findAncestor','model','some','low','tableCell','deletion','commands','newRange','ck-suggestion-marker','next','documentSelection','suggestionUnloaded','high','first','_isForcedDefaultExecutionBlock','for','isInContent','getAllAdjacentSuggestions','ck-suggestion-marker--active','tablePaste','tableCellBorderStyle','_suggestionFactory','*Replace\x20table\x20cells*','column','getShiftedBy','view','root','tablePasteCell','createRangeOn','Users','setAttributes','getContainedElement','start','editingDowncast','conversion','registerDescriptionCallback','batch','nodeAfter','markMultiRangeInsertion','element','from','length','registerCustomCallback','fill','cells','createRangeIn','_replaceTableSlotCell','columns','entries','subType','columnInsertionRanges','rowInsertionRanges','insertContent','TrackChangesEditing','insert','row','dataDowncast','paragraph','tableCellPadding','table','selection','markerName','suggestion-td','getSuggestions','differ','suggestion:formatBlock:tablePasteCell','join','reduce','getSuggestion','TableUtils','attributes','last','keys','removeColumns','getChanges','rowInsertionIndexes','getRanges','hasSuggestion','getChildren','getRange','endColumn','wrap','set','createTableWalker'];(function(_0x1ed4c5,_0x47a6ac){const _0x447499=function(_0x30a298){while(--_0x30a298){_0x1ed4c5['push'](_0x1ed4c5['shift']());}};_0x447499(++_0x47a6ac);}(_0x47a6,0xe5));const _0x4474=function(_0x1ed4c5,_0x47a6ac){_0x1ed4c5=_0x1ed4c5-0x0;let _0x447499=_0x47a6[_0x1ed4c5];return _0x447499;};import{getTranslation as _0x5845e2}from'../utils/common-translations';import{Plugin as _0x4a28fe}from'ckeditor5/src/core';import{uid as _0x5a41c2,priorities as _0x18f1bf}from'ckeditor5/src/utils';import _0x1dab94 from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0x4474('0x23'),_0x4474('0x6a'),_0x4474('0x6c'),'tableCellBackgroundColor',_0x4474('0x49')],ae=Object[_0x4474('0x71')](le[_0x4474('0x8b')](_0x527a4f=>[_0x527a4f,null]));export default class wt extends _0x4a28fe{static get[_0x4474('0xa3')](){return[_0x1dab94];}['afterInit'](){const _0x1d16ee=this[_0x4474('0x7')];if(!_0x1d16ee[_0x4474('0x90')][_0x4474('0x0')](_0x4474('0x86')))return;const _0x566433=_0x1d16ee[_0x4474('0x90')]['get'](_0x4474('0x44')),_0x22bc4e=_0x1d16ee['plugins']['get'](_0x4474('0x54')),_0x1482d9=_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x1dab94),_0x52800f=_0x1d16ee[_0x4474('0x90')]['get'](_0x4474('0x86'));_0x1482d9[_0x4474('0x9a')][_0x4474('0x95')](_0x4474('0x7f'),_0x4474('0x7a')),_0x1d16ee[_0x4474('0x10')]['schema'][_0x4474('0xa2')](_0x4474('0x81'),{'allowIn':_0x4474('0x13'),'allowContentOf':_0x4474('0x13'),'isLimit':!0x0}),_0x1d16ee[_0x4474('0x31')][_0x4474('0x65')]({'model':_0x4474('0x81'),'view':_0x4474('0x4d')});let _0x3f9541=null;_0x1d16ee['model']['on'](_0x4474('0x43'),(_0x57bbbe,_0x53aac5)=>{const [_0x428746,_0x222766]=_0x53aac5,_0x3b79fb=_0x53aac5[_0x53aac5['length']-0x1];_0x3b79fb&&_0x3b79fb[_0x4474('0x75')]||_0x566433[_0x4474('0x1d')]||this[_0x4474('0x7')][_0x4474('0x15')][_0x4474('0x97')]('trackChanges')[_0x4474('0x6f')]&&function(_0x593f0a,_0x14db10,_0x421810,_0x44fa6b,_0x2b23e1){if(_0x14db10&&!_0x14db10['is'](_0x4474('0x19')))return!0x1;const _0x2bf0be=_0x2b23e1[_0x4474('0x8d')](_0x593f0a,_0x421810);if(!_0x2bf0be||!fe(_0x2bf0be,void 0x0,_0x44fa6b))return!0x1;const _0x487865=_0x44fa6b[_0x4474('0x92')](_0x421810[_0x4474('0x66')][_0x4474('0x4b')]);if(!_0x487865[_0x4474('0x38')])return!0x1;const _0x5518a7=_0x487865[0x0]['findAncestor']('table'),_0x250a62=_0x44fa6b['getRowIndexes'](_0x487865),_0x9b88f1=_0x44fa6b['getColumnIndexes'](_0x487865),_0x526eda={'startRow':_0x250a62[_0x4474('0x1c')],'endRow':_0x250a62[_0x4474('0x56')],'startColumn':_0x9b88f1[_0x4474('0x1c')],'endColumn':_0x9b88f1[_0x4474('0x56')]};return 0x1==_0x487865[_0x4474('0x38')]&&(_0x526eda[_0x4474('0x9c')]+=_0x44fa6b[_0x4474('0x63')](_0x2bf0be)-0x1,_0x526eda[_0x4474('0x5f')]+=_0x44fa6b[_0x4474('0xa1')](_0x2bf0be)-0x1),fe(_0x5518a7,_0x526eda,_0x44fa6b);}(_0x428746,_0x222766,_0x1d16ee[_0x4474('0x10')],_0x22bc4e,_0x52800f)&&(_0x57bbbe[_0x4474('0x91')](),_0x3f9541={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1d16ee[_0x4474('0x10')]['change'](()=>{_0x1d16ee[_0x4474('0x10')][_0x4474('0x43')](_0x53aac5[0x0],_0x53aac5[0x1],_0x53aac5[0x2],{'forceDefaultExecution':!0x0});const _0x5e63c2=_0x5a41c2(),{rowInsertionRanges:_0x3e5791,columnInsertionRanges:_0x5191d7,insertionRanges:_0x3c6b31,deletionRanges:_0x243d9e,cells:_0x3f98b1}=_0x3f9541;_0x3e5791[_0x4474('0x38')]&&_0x566433[_0x4474('0x35')](_0x3e5791,_0x4474('0x7f'),{'tablePasteChainId':_0x5e63c2}),_0x5191d7[_0x4474('0x38')]&&_0x566433[_0x4474('0x35')](_0x5191d7,_0x4474('0x7a'),{'tablePasteChainId':_0x5e63c2}),_0x3c6b31['length']&&_0x566433[_0x4474('0x35')](_0x3c6b31,_0x4474('0x22'),{'tablePasteChainId':_0x5e63c2,'skipNestingCheck':!0x0}),_0x243d9e['length']&&_0x566433['markMultiRangeDeletion'](_0x243d9e,'tablePaste',{'tablePasteChainId':_0x5e63c2,'skipNestingCheck':!0x0});const _0x1612d3=_0x566433['markMultiRangeBlockFormat'](_0x3f98b1['map'](({element:_0x381be5})=>_0x381be5),{'formatGroupId':_0x5a41c2()},[],_0x4474('0x2a'),{'tablePasteChainId':_0x5e63c2});if(_0x1612d3){const _0x32b103=_0x1612d3[_0x4474('0x80')](),_0xdf90a=[];for(const {element:_0x1347be,attributes:_0x5bdb7b}of _0x3f98b1){if(!_0x5bdb7b)continue;const _0x2df4f0=_0x1d16ee[_0x4474('0x10')]['createRangeOn'](_0x1347be),_0x43a696=_0x32b103[_0x4474('0x78')](_0x576f7c=>_0x576f7c[_0x4474('0x5e')]()[_0x4474('0x9d')](_0x2df4f0));_0x43a696&&_0xdf90a[_0x4474('0x95')]([_0x43a696['name'],_0x5bdb7b]);}_0xdf90a[_0x4474('0x38')]&&_0x1612d3['setAttribute']('markerAttributes',Object[_0x4474('0x71')](_0xdf90a));}_0x3f9541=null;}));},{'priority':_0x18f1bf[_0x4474('0x1b')]+0xa}),_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x4474('0x86'))['on'](_0x4474('0x3d'),(_0x4790bb,_0x2701a2)=>{const [_0x3c96a7,_0x420ec3,,_0x3db879]=_0x2701a2;if(!_0x3f9541)return;_0x4790bb[_0x4474('0x91')]();const _0x305e45=_0x3c96a7[_0x4474('0x77')],_0x350d4a=_0x420ec3,_0x33772e=ce(_0x305e45),_0x5be97d=ce(_0x350d4a);_0x4790bb['return']=_0x305e45;let _0x2f9e89=null,_0x493702=null;if(_0x5be97d||_0x33772e){if(_0x33772e&&!_0x5be97d){_0x3db879[_0x4474('0x93')](_0x305e45['getChild'](0x0));for(const _0xf0581a of Array[_0x4474('0x37')](_0x350d4a[_0x4474('0x5d')]()))_0x3db879['insert'](_0xf0581a,_0x305e45,_0x4474('0x84'));const _0x1b937a=_0x3f9541[_0x4474('0x5a')][_0x4474('0x2')](_0x3c96a7[_0x4474('0x46')]),_0x5fe36e=_0x3f9541[_0x4474('0xa')][_0x4474('0x2')](_0x3c96a7[_0x4474('0x26')]);_0x1b937a||_0x5fe36e||(_0x2f9e89=_0x3db879['createRangeIn'](_0x305e45));}else _0x5be97d&&!_0x33772e&&(_0x493702=_0x3db879[_0x4474('0x3c')](_0x305e45));}else{const _0x534e0e=_0x3db879[_0x4474('0x85')](_0x4474('0x81')),_0x169869=_0x3db879['createElement'](_0x4474('0x81'));_0x3db879[_0x4474('0x60')](_0x3db879['createRangeIn'](_0x305e45),_0x169869),_0x3db879[_0x4474('0x45')](_0x534e0e,_0x305e45,0x0);for(const _0x5f004c of Array[_0x4474('0x37')](_0x350d4a[_0x4474('0x5d')]()))_0x3db879[_0x4474('0x45')](_0x5f004c,_0x534e0e,_0x4474('0x84'));_0x2f9e89=_0x3db879[_0x4474('0x2b')](_0x534e0e),_0x493702=_0x3db879[_0x4474('0x2b')](_0x169869);}const _0x158f37=Array[_0x4474('0x37')](_0x350d4a['getAttributes']())[_0x4474('0x6d')](([_0x56e309])=>le[_0x4474('0x2')](_0x56e309));_0x3f9541[_0x4474('0x3b')]['push']({'element':_0x305e45,'attributes':_0x158f37[_0x4474('0x38')]?Object['fromEntries'](_0x158f37):null}),_0x2f9e89&&_0x3f9541['insertionRanges'][_0x4474('0x95')](_0x2f9e89),_0x493702&&_0x3f9541[_0x4474('0x89')][_0x4474('0x95')](_0x493702);},{'priority':_0x4474('0x1b')}),_0x22bc4e['on']('insertColumns',(_0x121784,_0xb230f8)=>{const [_0x440f74,_0x3dbdf4={}]=_0xb230f8;if(!_0x3f9541)return;const _0x39a97b=_0x3dbdf4['at']||0x0,_0xb41e4d=_0x3dbdf4[_0x4474('0x3e')]||0x1;_0x3f9541[_0x4474('0xa')]=new Array(_0xb41e4d)['fill'](_0x39a97b)['map']((_0xc5ef03,_0xfca082)=>_0xc5ef03+_0xfca082);for(const {cell:_0x5a594e}of _0x22bc4e[_0x4474('0x62')](_0x440f74,{'startColumn':_0x39a97b,'endColumn':_0x39a97b+_0xb41e4d-0x1}))_0x3f9541[_0x4474('0x41')]['push'](_0x1d16ee[_0x4474('0x10')][_0x4474('0x2b')](_0x5a594e));},{'priority':_0x4474('0x12')}),_0x22bc4e['on'](_0x4474('0x68'),(_0x41f362,_0x55f9ed)=>{const [_0x37e24e,_0x44524b={}]=_0x55f9ed;if(!_0x3f9541)return;const _0x3025b9=_0x44524b['at']||0x0,_0x2f7e1d=_0x44524b[_0x4474('0x82')]||0x1;_0x3f9541[_0x4474('0x5a')]=new Array(_0x2f7e1d)[_0x4474('0x3a')](_0x3025b9)['map']((_0x3e130b,_0x1528f6)=>_0x3e130b+_0x1528f6);for(const {cell:_0x3b84b6}of _0x22bc4e[_0x4474('0x62')](_0x37e24e,{'startRow':_0x3025b9,'endRow':_0x3025b9+_0x2f7e1d-0x1}))_0x3f9541[_0x4474('0x42')]['push'](_0x1d16ee['model'][_0x4474('0x2b')](_0x3b84b6));},{'priority':'low'}),_0x566433[_0x4474('0x3')][_0x4474('0x32')](_0x4016c0=>{if(_0x4016c0[_0x4474('0x40')]&&_0x4016c0[_0x4474('0x40')][_0x4474('0x74')](_0x4474('0x22')))return _0x4016c0[_0x4474('0x7d')]?{}:{'type':_0x4474('0x9e'),'content':_0x5845e2(_0x1d16ee[_0x4474('0xe')],_0x4474('0x25'))};});const _0x1a0a4a=()=>!0x1;for(const _0x20fca6 of[_0x4474('0x22'),_0x4474('0x7a'),'tablePasteRow','tablePasteCell'])_0x566433[_0x4474('0x24')][_0x4474('0x39')]('insertion',_0x20fca6,'join',_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x14'),_0x20fca6,_0x4474('0x51'),_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x69'),_0x20fca6,'join',_0x1a0a4a);_0x566433['_suggestionFactory'][_0x4474('0x39')]('formatBlock',_0x4474('0x2a'),'discard',_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x69'),_0x4474('0x2a'),_0x4474('0x96'),(_0x11ec7e,_0x3b10c7,_0x2f9f11)=>{const _0x3a8b41=_0x11ec7e['map'](_0x570d20=>_0x570d20[_0x4474('0x2e')]())[_0x4474('0x6d')](_0x27995c=>_0x27995c),_0x39dd41=new Map(_0x3a8b41[_0x4474('0x8b')](_0x19bcf4=>[_0x19bcf4,null]));if(_0x3f9541)for(const {element:_0x118cce,attributes:_0xb8023}of _0x3f9541[_0x4474('0x3b')])_0xb8023&&_0x39dd41[_0x4474('0x61')](_0x118cce,_0xb8023);else{if(_0x2f9f11&&_0x2f9f11[_0x4474('0x7b')])for(const [_0x5538e4,_0x5de479]of Object[_0x4474('0x3f')](_0x2f9f11['markerAttributes'])){const _0x348d37=_0x1d16ee['model']['markers']['get'](_0x5538e4),_0x13b401=_0x348d37?_0x348d37[_0x4474('0x5e')]()[_0x4474('0x2e')]():null;_0x13b401&&_0x39dd41[_0x4474('0x61')](_0x13b401,_0x5de479);}}_0x1d16ee['model']['change'](_0x256624=>{for(const [_0x2558ca,_0x52a047]of _0x39dd41)_0x256624[_0x4474('0x2d')]({...ae,..._0x52a047},_0x2558ca);});});const _0x2b2348=(_0x38b059,_0x59662c)=>{_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x38b059,_0x4474('0x22'),_0x59662c,(_0x21465f,_0x278a97,_0x57b631)=>{_0x1d16ee[_0x4474('0x10')]['change'](_0x4a00ca=>{const _0x4ced2c=[];for(const _0x138f36 of _0x21465f){const _0x33dc6f=_0x138f36[_0x4474('0x2f')][_0x4474('0x34')];_0x33dc6f['is'](_0x4474('0x36'),_0x4474('0x81'))&&_0x4ced2c[_0x4474('0x95')](_0x33dc6f);}_0x566433[_0x4474('0x24')]['getSuggestionCallback'](_0x38b059,null,_0x59662c)(_0x21465f,_0x278a97,_0x57b631);for(const _0xcd2b36 of _0x4ced2c)_0x4474('0x6')!=_0xcd2b36[_0x4474('0x29')][_0x4474('0xd')]&&_0x4a00ca['unwrap'](_0xcd2b36);});});};_0x2b2348(_0x4474('0x9e'),'accept'),_0x2b2348(_0x4474('0x9e'),_0x4474('0x9f')),_0x2b2348(_0x4474('0x14'),'accept'),_0x2b2348(_0x4474('0x14'),_0x4474('0x9f')),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x9e'),_0x4474('0x7f'),_0x4474('0x9f'),_0x4a8ed5=>{const _0x3f0b5f=_0x4a8ed5[_0x4474('0x8b')](_0x1d63ed=>_0x1d63ed[_0x4474('0x2e')]()),_0x56eca3=_0x3f0b5f[0x0][_0x4474('0xf')](_0x4474('0x4a')),{minRow:_0x4104fc,maxRow:_0x3a2d05}=_0x1482d9[_0x4474('0x99')](_0x3f0b5f);_0x22bc4e['removeRows'](_0x56eca3,{'at':_0x4104fc,'rows':_0x3a2d05-_0x4104fc+0x1});}),_0x566433[_0x4474('0x24')]['registerCustomCallback'](_0x4474('0x9e'),_0x4474('0x7a'),_0x4474('0x9f'),_0x1505e8=>{const _0x122166=_0x1505e8[_0x4474('0x8b')](_0x4c0892=>_0x4c0892[_0x4474('0x2e')]()),_0x59680c=_0x122166[0x0][_0x4474('0xf')](_0x4474('0x4a')),{minColumn:_0xf734bf,maxColumn:_0x58b2d2}=_0x1482d9[_0x4474('0x99')](_0x122166);_0x22bc4e[_0x4474('0x58')](_0x59680c,{'at':_0xf734bf,'columns':_0x58b2d2-_0xf734bf+0x1});});const _0x1d4e77=(_0x507793,_0x4af876)=>{if(!_0x4af876[_0x4474('0x40')]||!_0x4af876['subType'][_0x4474('0x74')](_0x4474('0x22')))return;const _0x306f41=_0x4af876[_0x4474('0x55')][_0x4474('0x8c')],_0xf06d2=_0x566433['getSuggestions']()['filter'](_0x2be674=>_0x2be674[_0x4474('0x1f')]&&_0x2be674['attributes']&&_0x2be674[_0x4474('0x55')]['tablePasteChainId']==_0x306f41);_0xf06d2[_0x4474('0x38')]&&_0x4af876[_0x4474('0x20')]()['length']!=_0xf06d2[_0x4474('0x38')]&&_0xf06d2[_0x4474('0x52')]((_0x294252,_0xace61e)=>(_0x294252[_0x4474('0x18')]=_0xace61e,_0xace61e[_0x4474('0x7d')]=_0x294252,_0xace61e));};function _0x30063b(_0x1315f4,_0x5ac7f3=!0x0){const {id:_0x592d8f}=_0x566433['_splitMarkerName'](_0x1315f4[_0x4474('0x4c')]),_0x2cf3e4=[_0x4474('0x17'),_0x4474('0x87')],_0x44ebf1=_0x566433[_0x4474('0x7e')]['includes'](_0x1315f4[_0x4474('0x4c')]);return _0x44ebf1&&_0x2cf3e4[_0x4474('0x95')](_0x4474('0x21')),{'classes':_0x2cf3e4,'attributes':{'data-suggestion':_0x592d8f},'priority':_0x44ebf1&&_0x5ac7f3?0xbc2:0xbb8};}_0x566433['on'](_0x4474('0x79'),_0x1d4e77,{'priority':_0x4474('0x1b')}),_0x566433['on'](_0x4474('0x1a'),_0x1d4e77,{'priority':_0x4474('0x1b')}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x8f')](()=>{let _0x5abc04=!0x1;const _0x4c37d9=Array[_0x4474('0x37')](_0x1d16ee[_0x4474('0x10')]['document'][_0x4474('0x4f')][_0x4474('0x6b')]());for(const {name:_0x86ff92,data:_0x68cea}of _0x4c37d9){const {group:_0x21256a,type:_0x3787e8,id:_0x2e9c1c}=_0x566433['_splitMarkerName'](_0x86ff92);if('suggestion'!=_0x21256a||'deletion'!=_0x3787e8||_0x68cea[_0x4474('0x64')])continue;if(!_0x566433[_0x4474('0x5c')](_0x2e9c1c))continue;const _0x283f72=_0x566433[_0x4474('0x53')](_0x2e9c1c)[_0x4474('0x5b')](),_0x3a8b97=_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x4474('0x2c'))['me'];for(const _0x2ac853 of _0x566433[_0x4474('0x4e')]()){if(!_0x2ac853[_0x4474('0x1f')]||_0x2ac853['author']!=_0x3a8b97)continue;if(_0x4474('0x69')!=_0x2ac853['type']||_0x4474('0x2a')!=_0x2ac853[_0x4474('0x40')])continue;if(_0x2ac853[_0x4474('0x5b')]()[_0x4474('0x98')](_0x571dc2=>_0x283f72[_0x4474('0x11')](_0x948c97=>_0x948c97['containsRange'](_0x571dc2,!0x0))))for(const _0x256238 of _0x2ac853[_0x4474('0x20')]())_0x256238[_0x4474('0x1f')]&&(_0x256238[_0x4474('0x9f')](),_0x5abc04=!0x0);}}return _0x5abc04;}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x8f')](_0x4e24fc=>{const _0x3909c7=_0x1d16ee[_0x4474('0x15')]['get'](_0x4474('0x5'));if(!_0x3909c7||!_0x3909c7[_0x4474('0x7c')][_0x4474('0x0')](_0x4e24fc[_0x4474('0x33')]))return!0x1;let _0x4db1d3=!0x1;const _0x5efe31=_0x1d16ee['plugins'][_0x4474('0x97')](_0x4474('0x2c'))['me'],_0x464c15=_0x1d16ee['model'][_0x4474('0x66')][_0x4474('0x4f')][_0x4474('0x59')](),_0x1a2517=Array[_0x4474('0x37')](_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x4f')][_0x4474('0x6b')]())['filter'](({name:_0x4c31db,data:_0x210466})=>{const {group:_0x4b9a9c,subType:_0x340803,authorId:_0x19bf59}=_0x566433['_splitMarkerName'](_0x4c31db);return _0x4474('0x67')==_0x4b9a9c&&_0x4474('0x22')==_0x340803&&_0x19bf59==_0x5efe31['id']&&!_0x210466[_0x4474('0x64')];});for(const _0x414e54 of _0x464c15){if('insert'!=_0x414e54[_0x4474('0x83')]||_0x4474('0x81')!=_0x414e54[_0x4474('0x73')]||0x1!=_0x414e54[_0x4474('0x38')])continue;const _0x1eb926=_0x4e24fc[_0x4474('0x8')](_0x414e54[_0x4474('0x70')],_0x414e54[_0x4474('0x70')][_0x4474('0x27')](0x1));if(!_0x1a2517[_0x4474('0x78')](({data:_0x11dcfd})=>_0x11dcfd[_0x4474('0x16')][_0x4474('0x9d')](_0x1eb926)))for(const {name:_0x4f7434,data:_0x470347}of _0x1a2517)if(_0x1eb926['containsRange'](_0x470347[_0x4474('0x16')])){_0x4e24fc[_0x4474('0xb')](_0x4f7434,{'range':_0x1eb926}),_0x4db1d3=!0x0;break;}}return _0x4db1d3;}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')]['registerPostFixer'](_0x5dc87f=>{let _0x35086f=!0x1;const _0x4ae77d=_0x1d16ee['plugins'][_0x4474('0x97')](_0x4474('0x2c'))['me'],_0x159bf2=_0x566433[_0x4474('0x4e')]()[_0x4474('0x6d')](_0x5d95b1=>_0x5d95b1['isInContent']&&_0x5d95b1[_0x4474('0x6e')]==_0x4ae77d),_0x2adefc=new Set(),_0x45ed40=new Set();for(const _0x29cc89 of _0x159bf2)if(_0x4474('0x22')==_0x29cc89[_0x4474('0x40')])for(const _0xc88192 of _0x29cc89[_0x4474('0x80')]()){const _0x41cfe6=_0xc88192['getRange']()[_0x4474('0x2e')]();if(_0x41cfe6){if(_0x41cfe6['is'](_0x4474('0x36'),_0x4474('0x81'))&&ce(_0x41cfe6)){_0x29cc89[_0x4474('0xa0')](_0xc88192[_0x4474('0x73')]),_0x2adefc['add'](_0x41cfe6),_0x35086f=!0x0;const _0x46bf92=_0x41cfe6[_0x4474('0x8e')],_0x6a73f=_0x41cfe6['previousSibling'],_0x481390=_0x46bf92&&_0x46bf92['is']('element',_0x4474('0x81')),_0x45b57c=_0x6a73f&&_0x6a73f['is'](_0x4474('0x36'),_0x4474('0x81'));_0x481390&&!_0x2adefc[_0x4474('0x0')](_0x46bf92)&&_0x45ed40[_0x4474('0x76')](_0x46bf92),_0x45b57c&&!_0x2adefc['has'](_0x6a73f)&&_0x45ed40[_0x4474('0x76')](_0x6a73f);}else _0x41cfe6['is']('element',_0x4474('0x48'))&&_0x41cfe6[_0x4474('0x94')]&&(_0x29cc89[_0x4474('0xa0')](_0xc88192[_0x4474('0x73')]),_0x35086f=!0x0);}}else{if('tablePasteCell'==_0x29cc89['subType']){if(!_0x29cc89[_0x4474('0x55')]||!_0x29cc89[_0x4474('0x55')][_0x4474('0x8c')])continue;const _0x3280fc=_0x29cc89[_0x4474('0x55')][_0x4474('0x7b')];if(_0x3280fc&&Object[_0x4474('0x57')](_0x3280fc)[_0x4474('0x38')])continue;const _0x1c05de=_0x29cc89['attributes']['tablePasteChainId'];let _0x394621=!0x0,_0x19bf08=!0x0;for(const _0x2246b1 of _0x159bf2)if(_0x2246b1[_0x4474('0x40')]&&_0x2246b1[_0x4474('0x40')][_0x4474('0x74')](_0x4474('0x22'))){if(!_0x2246b1[_0x4474('0x55')]['tablePasteChainId']){_0x19bf08=!0x1;break;}if(_0x2246b1['id']!=_0x29cc89['id']&&_0x2246b1[_0x4474('0x55')][_0x4474('0x8c')]==_0x1c05de){_0x394621=!0x1;break;}}_0x19bf08&&_0x394621&&(_0x29cc89['removeMarkers'](),_0x35086f=!0x0);}}for(const _0x4d7c98 of _0x2adefc)_0x5dc87f['remove'](_0x4d7c98);for(const _0x2fc73f of _0x45ed40)_0x5dc87f[_0x4474('0x88')](_0x2fc73f);return _0x35086f;}),_0x1d16ee['conversion'][_0x4474('0x1e')](_0x4474('0x30'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2e7684,_0x5e2092)=>_0x30063b(_0x2e7684),'converterPriority':_0x4474('0x1b')}),_0x1d16ee[_0x4474('0x31')][_0x4474('0x1e')](_0x4474('0x47'))[_0x4474('0x72')]({'model':_0x4474('0x50'),'view':(_0x3b7a9a,_0x257221)=>_0x257221[_0x4474('0x9b')]['showSuggestionHighlights']?_0x30063b(_0x3b7a9a,!0x1):null,'converterPriority':_0x4474('0x1b')});const _0x4b924c=_0x1d16ee['editing'][_0x4474('0x28')];this['listenTo'](_0x4b924c[_0x4474('0x66')],_0x4474('0x9'),(_0x430d75,_0x1d0744)=>{const _0x2e0dea=[];for(const _0x5ba776 of _0x4b924c[_0x4474('0x3c')](_0x1d0744[_0x4474('0xc')])['getItems']())_0x5ba776['is']('element',_0x4474('0x4d'))&&_0x2e0dea[_0x4474('0x95')](_0x5ba776);_0x4b924c[_0x4474('0x4')](_0x835fac=>{for(const _0x147ed6 of _0x2e0dea)_0x835fac[_0x4474('0x8a')](_0x835fac['createRangeIn'](_0x147ed6),_0x835fac[_0x4474('0x1')](_0x147ed6)),_0x835fac[_0x4474('0x93')](_0x147ed6);});});}}function ce(_0x392979){if(_0x392979['isEmpty'])return!0x0;const _0x1e5cfb=_0x392979['getChild'](0x0);return _0x1e5cfb['is'](_0x4474('0x36'),_0x4474('0x48'))&&_0x1e5cfb[_0x4474('0x94')];}function fe(_0xb0d74,_0x1a2073={},_0x5d4ed7){for(const {isAnchor:_0x4e6a3b,cellHeight:_0x34a28f,cellWidth:_0xc0364c}of _0x5d4ed7[_0x4474('0x62')](_0xb0d74,{'includeAllSlots':!0x0,..._0x1a2073}))if(!_0x4e6a3b||0x1!=_0x34a28f||0x1!=_0xc0364c)return!0x1;return!0x0;}
23
+ const _0x50f2=['suggestion:formatBlock:tablePasteCell','getColumns','next','getRange','TrackChangesEditing','nodeAfter','elementToElement','markers','root','low','for','_tablePostFixingSubtypes','some','remove','commands','registerCustomCallback','editingDowncast','fromEntries','tableCell','end','columnInsertionIndexes','paragraph','row','formatBlock','hasSuggestion','insert','getMarkers','removeMarker','trackChanges','first','last','high','getAllAdjacentSuggestions','ck-suggestion-marker--active','suggestion-td','getRanges','table','move','suggestionLoaded','createRangeIn','insertion','every','createRangeOn','author','return','forceDefaultExecution','tableCellBorderWidth','filter','includes','TableClipboard','newRange','tableCellPadding','requires','removeColumns','containsRange','endRow','position','stop','getSuggestion','value','getColumnIndexes','entries','registerDescriptionCallback','TableUtils','plugins','createPositionBefore','setAttributes','subType','$graveyard','batch','getItems','getSelectionAffectedTableCells','_suggestionFactory','findAncestor','cell','endColumn','conversion','removeMarkers','unwrap','start','rowInsertionIndexes','suggestion','startsWith','has','createTableWalker','content','isInContent','tableCellSuggestion','nextSibling','tablePasteChainId','ck-suggestion-marker-insertion','editor','rowInsertionRanges','getRowIndexes','columnInsertionRanges','map','afterInit','tableCellHorizontalAlignment','from','Users','markerName','insertionRanges','previous','element','markerToHighlight','document','tablePasteRow','differ','getChanges','getAttributes','_createdBatches','oldRange','createElement','getSuggestionCallback','add','getTableIfOnlyTableInContent','dataDowncast','tablePaste','isEmpty','tablePasteColumn','accept','_getCoordsForCells','getChangedMarkers','attributes','markerAttributes','name','tablePasteCell','editing','previousSibling','getChild','view','schema','markMultiRangeBlockFormat','getContainedElement','get','redo','locale','model','_splitMarkerName','markMultiRangeInsertion','_descriptionFactory','getShiftedBy','change','cells','push','isEqual','createRange','registerPostFixer','reduce','join','getChildren','set','getSuggestions','markMultiRangeDeletion','rootName','discard','_isForcedDefaultExecutionBlock','columns','deletion','*Replace\x20table\x20cells*','length'];(function(_0x12a409,_0x50f21d){const _0x4d4b20=function(_0x17aee8){while(--_0x17aee8){_0x12a409['push'](_0x12a409['shift']());}};_0x4d4b20(++_0x50f21d);}(_0x50f2,0xb2));const _0x4d4b=function(_0x12a409,_0x50f21d){_0x12a409=_0x12a409-0x0;let _0x4d4b20=_0x50f2[_0x12a409];return _0x4d4b20;};import{getTranslation as _0x1f3d92}from'../utils/common-translations';import{Plugin as _0x4f383d}from'ckeditor5/src/core';import{uid as _0x15e703,priorities as _0x560dcc}from'ckeditor5/src/utils';import _0x32b6a5 from'./table';const le=[_0x4d4b('0x1d'),'tableCellBorderColor','tableCellBorderStyle',_0x4d4b('0x50'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0x4d4b('0x22')],ae=Object[_0x4d4b('0x0')](le[_0x4d4b('0x4e')](_0x4942cf=>[_0x4942cf,null]));export default class wt extends _0x4f383d{static get[_0x4d4b('0x23')](){return[_0x32b6a5];}[_0x4d4b('0x4f')](){const _0x14ef92=this[_0x4d4b('0x4a')];if(!_0x14ef92[_0x4d4b('0x2f')]['has']('TableClipboard'))return;const _0x3c8d58=_0x14ef92['plugins'][_0x4d4b('0x75')](_0x4d4b('0x94')),_0x5c2a34=_0x14ef92['plugins'][_0x4d4b('0x75')](_0x4d4b('0x2e')),_0xb40148=_0x14ef92[_0x4d4b('0x2f')][_0x4d4b('0x75')](_0x32b6a5),_0x263c2e=_0x14ef92[_0x4d4b('0x2f')][_0x4d4b('0x75')](_0x4d4b('0x20'));_0xb40148[_0x4d4b('0x9b')][_0x4d4b('0x7f')](_0x4d4b('0x59'),_0x4d4b('0x66')),_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x72')]['register']('tableCellSuggestion',{'allowIn':_0x4d4b('0x1'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x14ef92['conversion'][_0x4d4b('0x96')]({'model':_0x4d4b('0x46'),'view':_0x4d4b('0x11')});let _0x467998=null;_0x14ef92[_0x4d4b('0x78')]['on']('insertContent',(_0x1e9cfc,_0x2f4f84)=>{const [_0x3ef761,_0x4d5f06]=_0x2f4f84,_0x4141df=_0x2f4f84[_0x2f4f84[_0x4d4b('0x8f')]-0x1];_0x4141df&&_0x4141df[_0x4d4b('0x1c')]||_0x3c8d58[_0x4d4b('0x8b')]||this['editor']['commands'][_0x4d4b('0x75')](_0x4d4b('0xb'))[_0x4d4b('0x2a')]&&function(_0x32bceb,_0x15dffe,_0x5b05c5,_0x44b73c,_0x5c41c1){if(_0x15dffe&&!_0x15dffe['is']('documentSelection'))return!0x1;const _0x36d5b2=_0x5c41c1[_0x4d4b('0x62')](_0x32bceb,_0x5b05c5);if(!_0x36d5b2||!fe(_0x36d5b2,void 0x0,_0x44b73c))return!0x1;const _0x13c821=_0x44b73c[_0x4d4b('0x36')](_0x5b05c5[_0x4d4b('0x58')]['selection']);if(!_0x13c821[_0x4d4b('0x8f')])return!0x1;const _0xc17da1=_0x13c821[0x0][_0x4d4b('0x38')](_0x4d4b('0x13')),_0x4b1472=_0x44b73c[_0x4d4b('0x4c')](_0x13c821),_0x3bf0b3=_0x44b73c[_0x4d4b('0x2b')](_0x13c821),_0x2eb74e={'startRow':_0x4b1472[_0x4d4b('0xc')],'endRow':_0x4b1472[_0x4d4b('0xd')],'startColumn':_0x3bf0b3['first'],'endColumn':_0x3bf0b3[_0x4d4b('0xd')]};return 0x1==_0x13c821[_0x4d4b('0x8f')]&&(_0x2eb74e[_0x4d4b('0x26')]+=_0x44b73c['getRows'](_0x36d5b2)-0x1,_0x2eb74e[_0x4d4b('0x3a')]+=_0x44b73c[_0x4d4b('0x91')](_0x36d5b2)-0x1),fe(_0xc17da1,_0x2eb74e,_0x44b73c);}(_0x3ef761,_0x4d5f06,_0x14ef92[_0x4d4b('0x78')],_0x5c2a34,_0x263c2e)&&(_0x1e9cfc[_0x4d4b('0x28')](),_0x467998={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x14ef92['model']['change'](()=>{_0x14ef92[_0x4d4b('0x78')]['insertContent'](_0x2f4f84[0x0],_0x2f4f84[0x1],_0x2f4f84[0x2],{'forceDefaultExecution':!0x0});const _0x2e0cb9=_0x15e703(),{rowInsertionRanges:_0x2244eb,columnInsertionRanges:_0x4e6e7e,insertionRanges:_0x4a186c,deletionRanges:_0x166888,cells:_0x100d49}=_0x467998;_0x2244eb[_0x4d4b('0x8f')]&&_0x3c8d58[_0x4d4b('0x7a')](_0x2244eb,_0x4d4b('0x59'),{'tablePasteChainId':_0x2e0cb9}),_0x4e6e7e[_0x4d4b('0x8f')]&&_0x3c8d58[_0x4d4b('0x7a')](_0x4e6e7e,'tablePasteColumn',{'tablePasteChainId':_0x2e0cb9}),_0x4a186c['length']&&_0x3c8d58['markMultiRangeInsertion'](_0x4a186c,_0x4d4b('0x64'),{'tablePasteChainId':_0x2e0cb9,'skipNestingCheck':!0x0}),_0x166888[_0x4d4b('0x8f')]&&_0x3c8d58[_0x4d4b('0x88')](_0x166888,_0x4d4b('0x64'),{'tablePasteChainId':_0x2e0cb9,'skipNestingCheck':!0x0});const _0xe472b1=_0x3c8d58[_0x4d4b('0x73')](_0x100d49[_0x4d4b('0x4e')](({element:_0x102d12})=>_0x102d12),{'formatGroupId':_0x15e703()},[],'tablePasteCell',{'tablePasteChainId':_0x2e0cb9});if(_0xe472b1){const _0x51f64b=_0xe472b1[_0x4d4b('0x9')](),_0xdf2dc3=[];for(const {element:_0x111edf,attributes:_0x170177}of _0x100d49){if(!_0x170177)continue;const _0x50eeff=_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x19')](_0x111edf),_0x380584=_0x51f64b['find'](_0x3c5a01=>_0x3c5a01[_0x4d4b('0x93')]()['isEqual'](_0x50eeff));_0x380584&&_0xdf2dc3[_0x4d4b('0x7f')]([_0x380584[_0x4d4b('0x6c')],_0x170177]);}_0xdf2dc3[_0x4d4b('0x8f')]&&_0xe472b1['setAttribute']('markerAttributes',Object[_0x4d4b('0x0')](_0xdf2dc3));}_0x467998=null;}));},{'priority':_0x560dcc['high']+0xa}),_0x14ef92[_0x4d4b('0x2f')]['get'](_0x4d4b('0x20'))['on']('_replaceTableSlotCell',(_0x191aec,_0x1bb550)=>{const [_0x349912,_0x2392cc,,_0x17fe64]=_0x1bb550;if(!_0x467998)return;_0x191aec[_0x4d4b('0x28')]();const _0x1272ff=_0x349912[_0x4d4b('0x39')],_0x1f40c6=_0x2392cc,_0x8813f=ce(_0x1272ff),_0x357c74=ce(_0x1f40c6);_0x191aec[_0x4d4b('0x1b')]=_0x1272ff;let _0x1b14b0=null,_0x38ed5d=null;if(_0x357c74||_0x8813f){if(_0x8813f&&!_0x357c74){_0x17fe64['remove'](_0x1272ff[_0x4d4b('0x70')](0x0));for(const _0x156b32 of Array['from'](_0x1f40c6[_0x4d4b('0x85')]()))_0x17fe64[_0x4d4b('0x8')](_0x156b32,_0x1272ff,_0x4d4b('0x2'));const _0x509b79=_0x467998[_0x4d4b('0x3f')][_0x4d4b('0x1f')](_0x349912[_0x4d4b('0x5')]),_0x42ab50=_0x467998[_0x4d4b('0x3')]['includes'](_0x349912['column']);_0x509b79||_0x42ab50||(_0x1b14b0=_0x17fe64[_0x4d4b('0x16')](_0x1272ff));}else _0x357c74&&!_0x8813f&&(_0x38ed5d=_0x17fe64[_0x4d4b('0x16')](_0x1272ff));}else{const _0x4a76d3=_0x17fe64[_0x4d4b('0x5f')]('tableCellSuggestion'),_0x5e7087=_0x17fe64[_0x4d4b('0x5f')]('tableCellSuggestion');_0x17fe64['wrap'](_0x17fe64[_0x4d4b('0x16')](_0x1272ff),_0x5e7087),_0x17fe64[_0x4d4b('0x8')](_0x4a76d3,_0x1272ff,0x0);for(const _0x5e43f5 of Array[_0x4d4b('0x51')](_0x1f40c6[_0x4d4b('0x85')]()))_0x17fe64[_0x4d4b('0x8')](_0x5e43f5,_0x4a76d3,_0x4d4b('0x2'));_0x1b14b0=_0x17fe64['createRangeOn'](_0x4a76d3),_0x38ed5d=_0x17fe64[_0x4d4b('0x19')](_0x5e7087);}const _0x417d07=Array[_0x4d4b('0x51')](_0x1f40c6[_0x4d4b('0x5c')]())[_0x4d4b('0x1e')](([_0x338d5c])=>le[_0x4d4b('0x1f')](_0x338d5c));_0x467998[_0x4d4b('0x7e')][_0x4d4b('0x7f')]({'element':_0x1272ff,'attributes':_0x417d07['length']?Object[_0x4d4b('0x0')](_0x417d07):null}),_0x1b14b0&&_0x467998[_0x4d4b('0x54')]['push'](_0x1b14b0),_0x38ed5d&&_0x467998['deletionRanges']['push'](_0x38ed5d);},{'priority':'high'}),_0x5c2a34['on']('insertColumns',(_0x5f039d,_0x3116bf)=>{const [_0x30e04c,_0x2aa378={}]=_0x3116bf;if(!_0x467998)return;const _0x27f7bb=_0x2aa378['at']||0x0,_0x1ba83e=_0x2aa378[_0x4d4b('0x8c')]||0x1;_0x467998[_0x4d4b('0x3')]=new Array(_0x1ba83e)['fill'](_0x27f7bb)[_0x4d4b('0x4e')]((_0x6d8114,_0x19bae3)=>_0x6d8114+_0x19bae3);for(const {cell:_0x5dbf3e}of _0x5c2a34['createTableWalker'](_0x30e04c,{'startColumn':_0x27f7bb,'endColumn':_0x27f7bb+_0x1ba83e-0x1}))_0x467998[_0x4d4b('0x4d')][_0x4d4b('0x7f')](_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x19')](_0x5dbf3e));},{'priority':'low'}),_0x5c2a34['on']('insertRows',(_0x507e2b,_0x339555)=>{const [_0x96e96f,_0x344d3c={}]=_0x339555;if(!_0x467998)return;const _0x52d8d1=_0x344d3c['at']||0x0,_0x701d7a=_0x344d3c['rows']||0x1;_0x467998[_0x4d4b('0x3f')]=new Array(_0x701d7a)['fill'](_0x52d8d1)[_0x4d4b('0x4e')]((_0xc81b43,_0x9ab4f2)=>_0xc81b43+_0x9ab4f2);for(const {cell:_0xcda9f0}of _0x5c2a34[_0x4d4b('0x43')](_0x96e96f,{'startRow':_0x52d8d1,'endRow':_0x52d8d1+_0x701d7a-0x1}))_0x467998[_0x4d4b('0x4b')][_0x4d4b('0x7f')](_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x19')](_0xcda9f0));},{'priority':_0x4d4b('0x99')}),_0x3c8d58[_0x4d4b('0x7b')][_0x4d4b('0x2d')](_0xf76f95=>{if(_0xf76f95[_0x4d4b('0x32')]&&_0xf76f95[_0x4d4b('0x32')]['startsWith'](_0x4d4b('0x64')))return _0xf76f95['previous']?{}:{'type':_0x4d4b('0x17'),'content':_0x1f3d92(_0x14ef92[_0x4d4b('0x77')],_0x4d4b('0x8e'))};});const _0x12b97a=()=>!0x1;for(const _0x9dc409 of[_0x4d4b('0x64'),_0x4d4b('0x66'),_0x4d4b('0x59'),'tablePasteCell'])_0x3c8d58['_suggestionFactory'][_0x4d4b('0x9f')]('insertion',_0x9dc409,'join',_0x12b97a),_0x3c8d58[_0x4d4b('0x37')]['registerCustomCallback'](_0x4d4b('0x8d'),_0x9dc409,'join',_0x12b97a),_0x3c8d58[_0x4d4b('0x37')][_0x4d4b('0x9f')]('formatBlock',_0x9dc409,_0x4d4b('0x84'),_0x12b97a);_0x3c8d58[_0x4d4b('0x37')][_0x4d4b('0x9f')](_0x4d4b('0x6'),_0x4d4b('0x6d'),_0x4d4b('0x8a'),_0x12b97a),_0x3c8d58['_suggestionFactory'][_0x4d4b('0x9f')]('formatBlock',_0x4d4b('0x6d'),_0x4d4b('0x67'),(_0x1ada86,_0xe4a20b,_0x45dcb4)=>{const _0x3b4e34=_0x1ada86[_0x4d4b('0x4e')](_0x210105=>_0x210105[_0x4d4b('0x74')]())[_0x4d4b('0x1e')](_0x4187c4=>_0x4187c4),_0x55dde7=new Map(_0x3b4e34[_0x4d4b('0x4e')](_0x28b78a=>[_0x28b78a,null]));if(_0x467998)for(const {element:_0xd66e2a,attributes:_0x49fba6}of _0x467998['cells'])_0x49fba6&&_0x55dde7[_0x4d4b('0x86')](_0xd66e2a,_0x49fba6);else{if(_0x45dcb4&&_0x45dcb4[_0x4d4b('0x6b')])for(const [_0x2cac6c,_0x4b7ff0]of Object[_0x4d4b('0x2c')](_0x45dcb4[_0x4d4b('0x6b')])){const _0x1c20e0=_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x97')][_0x4d4b('0x75')](_0x2cac6c),_0x4f8344=_0x1c20e0?_0x1c20e0['getRange']()[_0x4d4b('0x74')]():null;_0x4f8344&&_0x55dde7['set'](_0x4f8344,_0x4b7ff0);}}_0x14ef92['model'][_0x4d4b('0x7d')](_0x17bcc8=>{for(const [_0x3da8f2,_0x3979f2]of _0x55dde7)_0x17bcc8[_0x4d4b('0x31')]({...ae,..._0x3979f2},_0x3da8f2);});});const _0x2ec855=(_0x32bdfa,_0x145bf1)=>{_0x3c8d58[_0x4d4b('0x37')][_0x4d4b('0x9f')](_0x32bdfa,'tablePaste',_0x145bf1,(_0x258464,_0x256fb1,_0x24b0ac)=>{_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x7d')](_0x518686=>{const _0x5c33d0=[];for(const _0x3c77f3 of _0x258464){const _0x439dca=_0x3c77f3[_0x4d4b('0x3e')][_0x4d4b('0x95')];_0x439dca['is'](_0x4d4b('0x56'),'tableCellSuggestion')&&_0x5c33d0[_0x4d4b('0x7f')](_0x439dca);}_0x3c8d58[_0x4d4b('0x37')][_0x4d4b('0x60')](_0x32bdfa,null,_0x145bf1)(_0x258464,_0x256fb1,_0x24b0ac);for(const _0x319523 of _0x5c33d0)_0x4d4b('0x33')!=_0x319523[_0x4d4b('0x98')][_0x4d4b('0x89')]&&_0x518686[_0x4d4b('0x3d')](_0x319523);});});};_0x2ec855(_0x4d4b('0x17'),_0x4d4b('0x67')),_0x2ec855(_0x4d4b('0x17'),_0x4d4b('0x8a')),_0x2ec855('deletion',_0x4d4b('0x67')),_0x2ec855(_0x4d4b('0x8d'),'discard'),_0x3c8d58[_0x4d4b('0x37')][_0x4d4b('0x9f')]('insertion',_0x4d4b('0x59'),'discard',_0x2b360c=>{const _0x36b8f4=_0x2b360c['map'](_0x5aac70=>_0x5aac70[_0x4d4b('0x74')]()),_0x5b3d3d=_0x36b8f4[0x0]['findAncestor']('table'),{minRow:_0x2b8699,maxRow:_0xb9f7b}=_0xb40148[_0x4d4b('0x68')](_0x36b8f4);_0x5c2a34['removeRows'](_0x5b3d3d,{'at':_0x2b8699,'rows':_0xb9f7b-_0x2b8699+0x1});}),_0x3c8d58['_suggestionFactory'][_0x4d4b('0x9f')]('insertion','tablePasteColumn',_0x4d4b('0x8a'),_0x5add81=>{const _0x94e0cf=_0x5add81[_0x4d4b('0x4e')](_0x1c5d3e=>_0x1c5d3e[_0x4d4b('0x74')]()),_0x46af5d=_0x94e0cf[0x0][_0x4d4b('0x38')]('table'),{minColumn:_0x3e5875,maxColumn:_0x38e9d8}=_0xb40148[_0x4d4b('0x68')](_0x94e0cf);_0x5c2a34[_0x4d4b('0x24')](_0x46af5d,{'at':_0x3e5875,'columns':_0x38e9d8-_0x3e5875+0x1});});const _0x52e759=(_0x18aef4,_0xd86342)=>{if(!_0xd86342['subType']||!_0xd86342[_0x4d4b('0x32')][_0x4d4b('0x41')]('tablePaste'))return;const _0x1c8df0=_0xd86342[_0x4d4b('0x6a')][_0x4d4b('0x48')],_0x1ed26a=_0x3c8d58['getSuggestions']()[_0x4d4b('0x1e')](_0xa4d7ac=>_0xa4d7ac[_0x4d4b('0x45')]&&_0xa4d7ac[_0x4d4b('0x6a')]&&_0xa4d7ac[_0x4d4b('0x6a')][_0x4d4b('0x48')]==_0x1c8df0);_0x1ed26a[_0x4d4b('0x8f')]&&_0xd86342[_0x4d4b('0xf')]()[_0x4d4b('0x8f')]!=_0x1ed26a[_0x4d4b('0x8f')]&&_0x1ed26a[_0x4d4b('0x83')]((_0x11cbab,_0x5b8d2d)=>(_0x11cbab[_0x4d4b('0x92')]=_0x5b8d2d,_0x5b8d2d[_0x4d4b('0x55')]=_0x11cbab,_0x5b8d2d));};function _0x74c3e3(_0x2ff0a1,_0x308545=!0x0){const {id:_0x55f508}=_0x3c8d58[_0x4d4b('0x79')](_0x2ff0a1[_0x4d4b('0x53')]),_0x317844=['ck-suggestion-marker',_0x4d4b('0x49')],_0x30fe51=_0x3c8d58['activeMarkers'][_0x4d4b('0x1f')](_0x2ff0a1[_0x4d4b('0x53')]);return _0x30fe51&&_0x317844[_0x4d4b('0x7f')](_0x4d4b('0x10')),{'classes':_0x317844,'attributes':{'data-suggestion':_0x55f508},'priority':_0x30fe51&&_0x308545?0xbc2:0xbb8};}_0x3c8d58['on'](_0x4d4b('0x15'),_0x52e759,{'priority':_0x4d4b('0xe')}),_0x3c8d58['on']('suggestionUnloaded',_0x52e759,{'priority':'high'}),_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x58')][_0x4d4b('0x82')](()=>{let _0x544775=!0x1;const _0x36b874=Array[_0x4d4b('0x51')](_0x14ef92['model'][_0x4d4b('0x58')][_0x4d4b('0x5a')][_0x4d4b('0x69')]());for(const {name:_0x2ae297,data:_0x29015d}of _0x36b874){const {group:_0x329d49,type:_0x10a6b8,id:_0xeec0eb}=_0x3c8d58[_0x4d4b('0x79')](_0x2ae297);if(_0x4d4b('0x40')!=_0x329d49||_0x4d4b('0x8d')!=_0x10a6b8||_0x29015d[_0x4d4b('0x5e')])continue;if(!_0x3c8d58[_0x4d4b('0x7')](_0xeec0eb))continue;const _0x22ccda=_0x3c8d58[_0x4d4b('0x29')](_0xeec0eb)['getRanges'](),_0x35f8b4=_0x14ef92['plugins'][_0x4d4b('0x75')](_0x4d4b('0x52'))['me'];for(const _0x970520 of _0x3c8d58[_0x4d4b('0x87')]()){if(!_0x970520['isInContent']||_0x970520[_0x4d4b('0x1a')]!=_0x35f8b4)continue;if(_0x4d4b('0x6')!=_0x970520['type']||_0x4d4b('0x6d')!=_0x970520['subType'])continue;if(_0x970520[_0x4d4b('0x12')]()[_0x4d4b('0x18')](_0x409669=>_0x22ccda[_0x4d4b('0x9c')](_0x2c5976=>_0x2c5976[_0x4d4b('0x25')](_0x409669,!0x0))))for(const _0x178c4e of _0x970520[_0x4d4b('0xf')]())_0x178c4e[_0x4d4b('0x45')]&&(_0x178c4e[_0x4d4b('0x8a')](),_0x544775=!0x0);}}return _0x544775;}),_0x14ef92['model'][_0x4d4b('0x58')][_0x4d4b('0x82')](_0x3afd10=>{const _0x11c843=_0x14ef92[_0x4d4b('0x9e')][_0x4d4b('0x75')](_0x4d4b('0x76'));if(!_0x11c843||!_0x11c843[_0x4d4b('0x5d')][_0x4d4b('0x42')](_0x3afd10[_0x4d4b('0x34')]))return!0x1;let _0x2124b6=!0x1;const _0x43b8e0=_0x14ef92[_0x4d4b('0x2f')][_0x4d4b('0x75')](_0x4d4b('0x52'))['me'],_0xcae9a9=_0x14ef92[_0x4d4b('0x78')]['document'][_0x4d4b('0x5a')][_0x4d4b('0x5b')](),_0x141071=Array[_0x4d4b('0x51')](_0x14ef92['model'][_0x4d4b('0x58')]['differ'][_0x4d4b('0x69')]())[_0x4d4b('0x1e')](({name:_0x3c4d8f,data:_0x59a727})=>{const {group:_0x2aacba,subType:_0x5a0a5b,authorId:_0x927444}=_0x3c8d58['_splitMarkerName'](_0x3c4d8f);return _0x4d4b('0x40')==_0x2aacba&&'tablePaste'==_0x5a0a5b&&_0x927444==_0x43b8e0['id']&&!_0x59a727[_0x4d4b('0x5e')];});for(const _0x1f7ff5 of _0xcae9a9){if(_0x4d4b('0x8')!=_0x1f7ff5['type']||_0x4d4b('0x46')!=_0x1f7ff5[_0x4d4b('0x6c')]||0x1!=_0x1f7ff5[_0x4d4b('0x8f')])continue;const _0x4df3cf=_0x3afd10[_0x4d4b('0x81')](_0x1f7ff5['position'],_0x1f7ff5[_0x4d4b('0x27')][_0x4d4b('0x7c')](0x1));if(!_0x141071['find'](({data:_0x40a792})=>_0x40a792['newRange'][_0x4d4b('0x80')](_0x4df3cf)))for(const {name:_0x93b02b,data:_0x4b503d}of _0x141071)if(_0x4df3cf[_0x4d4b('0x25')](_0x4b503d[_0x4d4b('0x21')])){_0x3afd10['updateMarker'](_0x93b02b,{'range':_0x4df3cf}),_0x2124b6=!0x0;break;}}return _0x2124b6;}),_0x14ef92[_0x4d4b('0x78')][_0x4d4b('0x58')][_0x4d4b('0x82')](_0x4d23e4=>{let _0x2886d3=!0x1;const _0x452b7b=_0x14ef92[_0x4d4b('0x2f')][_0x4d4b('0x75')](_0x4d4b('0x52'))['me'],_0x4d0cd5=_0x3c8d58[_0x4d4b('0x87')]()[_0x4d4b('0x1e')](_0x2d0a3a=>_0x2d0a3a['isInContent']&&_0x2d0a3a[_0x4d4b('0x1a')]==_0x452b7b),_0x35a024=new Set(),_0x278309=new Set();for(const _0x4126a2 of _0x4d0cd5)if(_0x4d4b('0x64')==_0x4126a2['subType'])for(const _0x3127ef of _0x4126a2[_0x4d4b('0x9')]()){const _0x61d09f=_0x3127ef[_0x4d4b('0x93')]()['getContainedElement']();if(_0x61d09f){if(_0x61d09f['is'](_0x4d4b('0x56'),_0x4d4b('0x46'))&&ce(_0x61d09f)){_0x4126a2[_0x4d4b('0xa')](_0x3127ef[_0x4d4b('0x6c')]),_0x35a024['add'](_0x61d09f),_0x2886d3=!0x0;const _0x5a7335=_0x61d09f[_0x4d4b('0x47')],_0x43b668=_0x61d09f[_0x4d4b('0x6f')],_0x37527f=_0x5a7335&&_0x5a7335['is'](_0x4d4b('0x56'),_0x4d4b('0x46')),_0x4e2d16=_0x43b668&&_0x43b668['is'](_0x4d4b('0x56'),_0x4d4b('0x46'));_0x37527f&&!_0x35a024[_0x4d4b('0x42')](_0x5a7335)&&_0x278309['add'](_0x5a7335),_0x4e2d16&&!_0x35a024[_0x4d4b('0x42')](_0x43b668)&&_0x278309[_0x4d4b('0x61')](_0x43b668);}else _0x61d09f['is']('element',_0x4d4b('0x4'))&&_0x61d09f[_0x4d4b('0x65')]&&(_0x4126a2[_0x4d4b('0xa')](_0x3127ef[_0x4d4b('0x6c')]),_0x2886d3=!0x0);}}else{if(_0x4d4b('0x6d')==_0x4126a2[_0x4d4b('0x32')]){if(!_0x4126a2[_0x4d4b('0x6a')]||!_0x4126a2[_0x4d4b('0x6a')][_0x4d4b('0x48')])continue;const _0x4c2b1e=_0x4126a2[_0x4d4b('0x6a')][_0x4d4b('0x6b')];if(_0x4c2b1e&&Object['keys'](_0x4c2b1e)[_0x4d4b('0x8f')])continue;const _0x94a401=_0x4126a2['attributes'][_0x4d4b('0x48')];let _0x2f3537=!0x0,_0x18897b=!0x0;for(const _0x5814ad of _0x4d0cd5)if(_0x5814ad[_0x4d4b('0x32')]&&_0x5814ad[_0x4d4b('0x32')][_0x4d4b('0x41')](_0x4d4b('0x64'))){if(!_0x5814ad[_0x4d4b('0x6a')][_0x4d4b('0x48')]){_0x18897b=!0x1;break;}if(_0x5814ad['id']!=_0x4126a2['id']&&_0x5814ad[_0x4d4b('0x6a')][_0x4d4b('0x48')]==_0x94a401){_0x2f3537=!0x1;break;}}_0x18897b&&_0x2f3537&&(_0x4126a2[_0x4d4b('0x3c')](),_0x2886d3=!0x0);}}for(const _0x286a40 of _0x35a024)_0x4d23e4[_0x4d4b('0x9d')](_0x286a40);for(const _0x2d1031 of _0x278309)_0x4d23e4[_0x4d4b('0x3d')](_0x2d1031);return _0x2886d3;}),_0x14ef92[_0x4d4b('0x3b')][_0x4d4b('0x9a')](_0x4d4b('0xa0'))[_0x4d4b('0x57')]({'model':_0x4d4b('0x90'),'view':(_0x47ac37,_0x4581eb)=>_0x74c3e3(_0x47ac37),'converterPriority':_0x4d4b('0xe')}),_0x14ef92[_0x4d4b('0x3b')][_0x4d4b('0x9a')](_0x4d4b('0x63'))[_0x4d4b('0x57')]({'model':_0x4d4b('0x90'),'view':(_0x543f66,_0x182e17)=>_0x182e17['options']['showSuggestionHighlights']?_0x74c3e3(_0x543f66,!0x1):null,'converterPriority':_0x4d4b('0xe')});const _0x4af1c7=_0x14ef92[_0x4d4b('0x6e')][_0x4d4b('0x71')];this['listenTo'](_0x4af1c7[_0x4d4b('0x58')],'clipboardOutput',(_0x3039a4,_0x15e9b0)=>{const _0x332082=[];for(const _0x4c106c of _0x4af1c7['createRangeIn'](_0x15e9b0[_0x4d4b('0x44')])[_0x4d4b('0x35')]())_0x4c106c['is'](_0x4d4b('0x56'),'suggestion-td')&&_0x332082[_0x4d4b('0x7f')](_0x4c106c);_0x4af1c7[_0x4d4b('0x7d')](_0x2c66ff=>{for(const _0x4e7b35 of _0x332082)_0x2c66ff[_0x4d4b('0x14')](_0x2c66ff[_0x4d4b('0x16')](_0x4e7b35),_0x2c66ff[_0x4d4b('0x30')](_0x4e7b35)),_0x2c66ff[_0x4d4b('0x9d')](_0x4e7b35);});});}}function ce(_0x39b1dc){if(_0x39b1dc[_0x4d4b('0x65')])return!0x0;const _0x1e40fa=_0x39b1dc[_0x4d4b('0x70')](0x0);return _0x1e40fa['is'](_0x4d4b('0x56'),_0x4d4b('0x4'))&&_0x1e40fa['isEmpty'];}function fe(_0x572a51,_0x3f7f5f={},_0x52cde6){for(const {isAnchor:_0x5e81f2,cellHeight:_0x2d2105,cellWidth:_0x92ffad}of _0x52cde6[_0x4d4b('0x43')](_0x572a51,{'includeAllSlots':!0x0,..._0x3f7f5f}))if(!_0x5e81f2||0x1!=_0x2d2105||0x1!=_0x92ffad)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x79ce=['selection','handleSuggestionDescription','handleResizeTableWidthCommand','get','commandParams','TableColumnResizeEditing','data','getSuggestions','columnWidths','resizeColumnWidths','formatBlock','bind','_suggestionFactory','discard','enableCommand','locale','TrackChangesEditing','change','getSelectedElement','tableWidth','editor','has','author','resizeTable','getContainedElement','plugins','getAttribute','formatGroupId','getColumnGroupElement','model','resizeTableWidth','afterInit','registerDescriptionCallback','document','subType'];(function(_0x3fe684,_0x79ce6e){const _0x4303fe=function(_0x38690a){while(--_0x38690a){_0x3fe684['push'](_0x3fe684['shift']());}};_0x4303fe(++_0x79ce6e);}(_0x79ce,0x74));const _0x4303=function(_0x3fe684,_0x79ce6e){_0x3fe684=_0x3fe684-0x0;let _0x4303fe=_0x79ce[_0x3fe684];return _0x4303fe;};import{Plugin as _0x51dfe9}from'ckeditor5/src/core';import{getTranslation as _0x31f51c}from'../utils/common-translations';export default class yt extends _0x51dfe9{[_0x4303('0x14')](){if(!this['editor']['plugins'][_0x4303('0xa')](_0x4303('0x1d')))return;const _0x1c0eb7=this[_0x4303('0x9')]['plugins']['get'](_0x4303('0x5'));_0x1c0eb7[_0x4303('0x3')]('resizeTableWidth',this[_0x4303('0x1a')]['bind'](this)),_0x1c0eb7['enableCommand'](_0x4303('0x21'),this['handleResizeTableWidthCommand'][_0x4303('0x0')](this)),_0x1c0eb7[_0x4303('0x1')]['registerCustomCallback'](_0x4303('0x22'),_0x4303('0xc'),'accept',_0x1c0eb7[_0x4303('0x1')]['getSuggestionCallback'](_0x4303('0x22'),null,_0x4303('0x2'))),_0x1c0eb7['_suggestionFactory']['registerCustomCallback'](_0x4303('0x22'),'resizeTable','discard',_0x1c0eb7[_0x4303('0x1')]['getSuggestionCallback']('formatBlock',null,'accept')),_0x1c0eb7['_descriptionFactory'][_0x4303('0x15')](this[_0x4303('0x19')][_0x4303('0x0')](this));}[_0x4303('0x1a')](_0x4ce62c,_0x5235bc){const _0x29934c=this[_0x4303('0x9')][_0x4303('0xe')][_0x4303('0x1b')](_0x4303('0x5')),_0x3241e3=this['editor'][_0x4303('0xe')][_0x4303('0x1b')](_0x4303('0x1d')),_0x547e70=_0x5235bc['table']||this[_0x4303('0x9')][_0x4303('0x12')][_0x4303('0x16')][_0x4303('0x18')][_0x4303('0x7')]();this['editor'][_0x4303('0x12')][_0x4303('0x6')](()=>{const _0x304d22=_0x3241e3[_0x4303('0x11')](_0x547e70);let _0x15f427=_0x304d22?_0x3241e3['getTableColumnsWidths'](_0x304d22):null,_0x59a2a3=_0x547e70[_0x4303('0xf')](_0x4303('0x8'))||null;const _0x1f126a=_0x5235bc['tableWidth']||_0x59a2a3,_0x5c85aa=_0x5235bc[_0x4303('0x20')]||_0x15f427,_0x5aca88=this['editor'][_0x4303('0xe')][_0x4303('0x1b')]('Users')['me'];for(const _0x523368 of _0x29934c[_0x4303('0x1f')]()){const _0x521bbb=_0x523368[_0x4303('0xd')]();if('resizeTable'===_0x523368[_0x4303('0x17')]&&_0x521bbb===_0x547e70){_0x523368[_0x4303('0xb')]!==_0x5aca88&&_0x523368[_0x4303('0x2')]();const _0xd59449=_0x523368[_0x4303('0x1e')][_0x4303('0x1c')];_0x59a2a3=_0xd59449[0x0][_0x4303('0x8')],_0x15f427=_0xd59449[0x0][_0x4303('0x20')];break;}}_0x4ce62c({'table':_0x547e70,'tableWidth':_0x1f126a,'columnWidths':_0x5c85aa}),_0x29934c['markBlockFormat'](_0x547e70,{'commandName':_0x4303('0x13'),'commandParams':[{'tableWidth':_0x59a2a3,'columnWidths':_0x15f427}],'formatGroupId':_0x4303('0xc')},[],_0x4303('0xc'));});}['handleSuggestionDescription'](_0x121dc4){const {data:_0x9f2af7}=_0x121dc4;if(_0x9f2af7&&_0x4303('0xc')===_0x9f2af7[_0x4303('0x10')]){const _0x15c779='*Format:*\x20resize\x20table';return{'type':'format','content':_0x31f51c(this[_0x4303('0x9')][_0x4303('0x4')],_0x15c779)};}}}
23
+ const _0x5b6d=['discard','handleSuggestionDescription','Users','editor','tableWidth','has','get','getContainedElement','document','*Format:*\x20resize\x20table','enableCommand','subType','formatGroupId','format','registerCustomCallback','handleResizeTableWidthCommand','change','accept','getSelectedElement','_suggestionFactory','getSuggestionCallback','bind','getColumnGroupElement','columnWidths','formatBlock','registerDescriptionCallback','TrackChangesEditing','getAttribute','getTableColumnsWidths','model','plugins','resizeTable','selection','_descriptionFactory','commandParams','resizeTableWidth','table','data','resizeColumnWidths'];(function(_0x8d8be7,_0x5b6d05){const _0x6f4e46=function(_0x45e759){while(--_0x45e759){_0x8d8be7['push'](_0x8d8be7['shift']());}};_0x6f4e46(++_0x5b6d05);}(_0x5b6d,0x89));const _0x6f4e=function(_0x8d8be7,_0x5b6d05){_0x8d8be7=_0x8d8be7-0x0;let _0x6f4e46=_0x5b6d[_0x8d8be7];return _0x6f4e46;};import{Plugin as _0x5a9fe5}from'ckeditor5/src/core';import{getTranslation as _0x5a3f70}from'../utils/common-translations';export default class yt extends _0x5a9fe5{['afterInit'](){if(!this['editor'][_0x6f4e('0xa')][_0x6f4e('0x18')]('TableColumnResizeEditing'))return;const _0x52e25f=this[_0x6f4e('0x16')][_0x6f4e('0xa')][_0x6f4e('0x19')](_0x6f4e('0x6'));_0x52e25f[_0x6f4e('0x1d')](_0x6f4e('0xf'),this[_0x6f4e('0x22')][_0x6f4e('0x1')](this)),_0x52e25f[_0x6f4e('0x1d')](_0x6f4e('0x12'),this[_0x6f4e('0x22')][_0x6f4e('0x1')](this)),_0x52e25f[_0x6f4e('0x26')][_0x6f4e('0x21')](_0x6f4e('0x4'),_0x6f4e('0xb'),_0x6f4e('0x24'),_0x52e25f[_0x6f4e('0x26')][_0x6f4e('0x0')]('formatBlock',null,_0x6f4e('0x13'))),_0x52e25f[_0x6f4e('0x26')][_0x6f4e('0x21')](_0x6f4e('0x4'),_0x6f4e('0xb'),_0x6f4e('0x13'),_0x52e25f[_0x6f4e('0x26')]['getSuggestionCallback'](_0x6f4e('0x4'),null,_0x6f4e('0x24'))),_0x52e25f[_0x6f4e('0xd')][_0x6f4e('0x5')](this[_0x6f4e('0x14')][_0x6f4e('0x1')](this));}[_0x6f4e('0x22')](_0x15a0cf,_0x1fbbd6){const _0x1dfe71=this[_0x6f4e('0x16')]['plugins'][_0x6f4e('0x19')](_0x6f4e('0x6')),_0x35a85b=this[_0x6f4e('0x16')]['plugins'][_0x6f4e('0x19')]('TableColumnResizeEditing'),_0x243081=_0x1fbbd6[_0x6f4e('0x10')]||this[_0x6f4e('0x16')][_0x6f4e('0x9')][_0x6f4e('0x1b')][_0x6f4e('0xc')][_0x6f4e('0x25')]();this[_0x6f4e('0x16')][_0x6f4e('0x9')][_0x6f4e('0x23')](()=>{const _0x4f3e98=_0x35a85b[_0x6f4e('0x2')](_0x243081);let _0x4a2a0d=_0x4f3e98?_0x35a85b[_0x6f4e('0x8')](_0x4f3e98):null,_0x7e75f1=_0x243081[_0x6f4e('0x7')](_0x6f4e('0x17'))||null;const _0x3f9747=_0x1fbbd6['tableWidth']||_0x7e75f1,_0x305122=_0x1fbbd6[_0x6f4e('0x3')]||_0x4a2a0d,_0xc9c47f=this['editor'][_0x6f4e('0xa')][_0x6f4e('0x19')](_0x6f4e('0x15'))['me'];for(const _0x392afd of _0x1dfe71['getSuggestions']()){const _0x56d650=_0x392afd[_0x6f4e('0x1a')]();if(_0x6f4e('0xb')===_0x392afd[_0x6f4e('0x1e')]&&_0x56d650===_0x243081){_0x392afd['author']!==_0xc9c47f&&_0x392afd[_0x6f4e('0x13')]();const _0x640fea=_0x392afd[_0x6f4e('0x11')][_0x6f4e('0xe')];_0x7e75f1=_0x640fea[0x0]['tableWidth'],_0x4a2a0d=_0x640fea[0x0]['columnWidths'];break;}}_0x15a0cf({'table':_0x243081,'tableWidth':_0x3f9747,'columnWidths':_0x305122}),_0x1dfe71['markBlockFormat'](_0x243081,{'commandName':_0x6f4e('0xf'),'commandParams':[{'tableWidth':_0x7e75f1,'columnWidths':_0x4a2a0d}],'formatGroupId':_0x6f4e('0xb')},[],'resizeTable');});}[_0x6f4e('0x14')](_0x49992b){const {data:_0xa4aed6}=_0x49992b;if(_0xa4aed6&&_0x6f4e('0xb')===_0xa4aed6[_0x6f4e('0x1f')]){const _0x58512c=_0x6f4e('0x1c');return{'type':_0x6f4e('0x20'),'content':_0x5a3f70(this[_0x6f4e('0x16')]['locale'],_0x58512c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d17=['highest','last','consume','cell','_descriptionFactory','registerCustomCallback','commands','showSuggestionHighlights','removeAttribute','registerDescriptionCallback','getRowIndexes','index','getAttribute','removeMarker:suggestion','setAttribute','formatBlock','_splitMarkerName','item','addClass','setTableRowHeader','first','FORMAT_HEADER_ROW','enableCommand','headingColumns','requires','selection','childCount','getChild','commandName','afterInit','document','isBefore','nodeBefore','toViewElement','get','setTableColumnHeader','editing','downcastDispatcher','createPositionAfter','unbindElementFromMarkerName','FORMAT_REGULAR_ROW','markBlockFormat','parent','ck-suggestion-marker--active','getSelectionAffectedTableCells','markerName','model','_acceptFormatSuggestionCallbackFactory','mapper','consumable','TableUtils','_suggestionFactory','markerRange','data','createRange','accept','removeClass','commandParams','value','headingRows','locale','getColumnIndexes','createPositionBefore','findAncestor','writer','activeMarkers','getSuggestion','start','getCellLocation','markerNameToElements','table','forceValue','data-suggestion','plugins','editor','stop','*Format:*\x20%0','ck-suggestion-marker-','nodeAfter','from'];(function(_0x236058,_0x1d17f3){const _0x21cd7e=function(_0x2598f7){while(--_0x2598f7){_0x236058['push'](_0x236058['shift']());}};_0x21cd7e(++_0x1d17f3);}(_0x1d17,0x6d));const _0x21cd=function(_0x236058,_0x1d17f3){_0x236058=_0x236058-0x0;let _0x21cd7e=_0x1d17[_0x236058];return _0x21cd7e;};import{Plugin as _0x544ebb}from'ckeditor5/src/core';import _0x569346 from'./table';import{getTranslation as _0xc87818}from'../utils/common-translations';export default class kt extends _0x544ebb{static get[_0x21cd('0x4b')](){return[_0x569346];}[_0x21cd('0x0')](){const _0x520253=this[_0x21cd('0x2d')];if(!_0x520253['plugins']['has']('TableEditing'))return;const _0x1a3b8e=_0x520253[_0x21cd('0x1f')],_0xb93fda=_0x520253['plugins'][_0x21cd('0x5')]('TrackChangesEditing'),_0x4394e2=_0x520253['plugins'][_0x21cd('0x5')](_0x21cd('0x15')),_0x7969a6=_0x520253[_0x21cd('0x2c')][_0x21cd('0x5')](_0x569346);function _0x1a4aed({showActiveMarker:_0x2d37c9=!0x0,setDataAttribute:_0x513767=!0x0}={}){return(_0x2baf8a,_0x32a909,_0x126f4e)=>{const {type:_0x4767a9,id:_0x316367}=_0xb93fda[_0x21cd('0x43')](_0x32a909[_0x21cd('0x10')]),_0x32998b=_0xb93fda[_0x21cd('0x25')](_0x316367);if(!_0x32998b['data']||_0x21cd('0x6')!=_0x32998b[_0x21cd('0x18')][_0x21cd('0x4f')])return;if(_0x32a909[_0x21cd('0x44')])return void _0x2baf8a[_0x21cd('0x2e')]();if(!_0x126f4e[_0x21cd('0x14')][_0x21cd('0x35')](_0x32a909[_0x21cd('0x17')],_0x2baf8a['name']))return;const _0x1d6440=_0x32a909[_0x21cd('0x17')][_0x21cd('0x26')][_0x21cd('0x31')],_0xbfe399=_0x32a909[_0x21cd('0x17')]['end'][_0x21cd('0x3')],_0x1d9ec4=_0x1d6440[_0x21cd('0xd')]['parent'],{column:_0x2415e0}=_0x4394e2[_0x21cd('0x27')](_0x1d6440),{column:_0x54e54d}=_0x4394e2[_0x21cd('0x27')](_0xbfe399);for(let _0x3f7f38=_0x2415e0;_0x3f7f38<=_0x54e54d;_0x3f7f38++){const _0x24de97=_0x4394e2['createTableWalker'](_0x1d9ec4,{'column':_0x3f7f38,'includeAllSlots':!0x1});for(const _0x112739 of _0x24de97){const _0x15b7ae=_0x112739[_0x21cd('0x36')],_0x2d8edc=_0x126f4e[_0x21cd('0x13')][_0x21cd('0x4')](_0x15b7ae);_0x126f4e['writer'][_0x21cd('0x45')](_0x21cd('0x30')+_0x4767a9,_0x2d8edc),_0x513767&&_0x126f4e[_0x21cd('0x23')][_0x21cd('0x41')](_0x21cd('0x2b'),_0x316367,_0x2d8edc),_0x126f4e[_0x21cd('0x13')]['bindElementToMarker'](_0x2d8edc,_0x32a909['markerName']),_0x2d37c9&&(_0xb93fda[_0x21cd('0x24')]['includes'](_0x32a909[_0x21cd('0x10')])?_0x126f4e[_0x21cd('0x23')]['addClass'](_0x21cd('0xe'),_0x2d8edc):_0x126f4e[_0x21cd('0x23')][_0x21cd('0x1b')]('ck-suggestion-marker--active',_0x2d8edc));}}};}_0xb93fda[_0x21cd('0x49')](_0x21cd('0x46'),(_0xfd86ca,_0x5b18a9)=>{const _0x282586=_0x4394e2[_0x21cd('0xf')](_0x520253[_0x21cd('0x11')][_0x21cd('0x1')][_0x21cd('0x4c')]),_0x4481f5=_0x4394e2[_0x21cd('0x3d')](_0x282586),_0x5868fc=_0x282586[0x0][_0x21cd('0x22')](_0x21cd('0x29')),_0x4533ca=_0x5868fc[_0x21cd('0x3f')](_0x21cd('0x1e'))||0x0,_0x427481=_0x5b18a9&&null!==_0x5b18a9[_0x21cd('0x2a')]?_0x5b18a9[_0x21cd('0x2a')]:!_0x520253['commands'][_0x21cd('0x5')](_0x21cd('0x46'))[_0x21cd('0x1d')],_0x582b58=_0x427481?_0x4481f5[_0x21cd('0x34')]:_0x4481f5[_0x21cd('0x47')],_0x466c51=_0x5868fc['getChild'](_0x582b58);let _0x4c2909;if(_0x427481){const _0x418946=_0x5868fc[_0x21cd('0x4e')](_0x4533ca);if(_0x466c51['index']<_0x418946[_0x21cd('0x3e')])return;_0x4c2909=_0x520253['model'][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x418946[_0x21cd('0x4e')](0x0)),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0x466c51[_0x21cd('0x4e')](_0x466c51[_0x21cd('0x4d')]-0x1)));}else{const _0x43bbf9=_0x5868fc[_0x21cd('0x4e')](_0x4533ca-0x1);if(!_0x43bbf9)return;_0x4c2909=_0x520253[_0x21cd('0x11')][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')]['createPositionBefore'](_0x466c51[_0x21cd('0x4e')](0x0)),_0x520253[_0x21cd('0x11')]['createPositionAfter'](_0x43bbf9[_0x21cd('0x4e')](_0x43bbf9['childCount']-0x1)));}_0x520253[_0x21cd('0x11')]['change'](()=>{_0xb93fda[_0x21cd('0xc')](_0x4c2909,{'commandName':_0x21cd('0x46'),'commandParams':[{'forceValue':_0x427481}]},[],_0x21cd('0x46'));});}),_0xb93fda['enableCommand'](_0x21cd('0x6'),(_0x334cf1,_0x4f50b9)=>{const _0x485093=_0x520253[_0x21cd('0x2c')][_0x21cd('0x5')](_0x21cd('0x15')),_0x5abd3f=_0x485093[_0x21cd('0xf')](_0x520253[_0x21cd('0x11')]['document'][_0x21cd('0x4c')]),_0x5c2aad=_0x485093[_0x21cd('0x20')](_0x5abd3f),_0x5239f0=_0x5abd3f[0x0][_0x21cd('0x22')](_0x21cd('0x29')),_0x1ca72d=_0x5239f0[_0x21cd('0x3f')](_0x21cd('0x4a'))||0x0,_0x130213=_0x4f50b9&&null!==_0x4f50b9[_0x21cd('0x2a')]?_0x4f50b9[_0x21cd('0x2a')]:!_0x520253[_0x21cd('0x39')][_0x21cd('0x5')](_0x21cd('0x6'))['value'];let _0x466fab;const _0x5217db=_0x5239f0['getChild'](0x0),_0x26b191=_0x130213?_0x5c2aad[_0x21cd('0x34')]:_0x5c2aad[_0x21cd('0x47')],_0x1134b4=_0x485093['createTableWalker'](_0x5239f0,{'startRow':0x0,'column':_0x26b191,'includeAllSlots':!0x1}),_0x19fae0=Array[_0x21cd('0x32')](_0x1134b4)[0x0][_0x21cd('0x36')];if(_0x130213){const _0x59cfa2=_0x5217db['getChild'](_0x1ca72d);if(_0x19fae0[_0x21cd('0x2')](_0x59cfa2))return;_0x466fab=_0x520253[_0x21cd('0x11')][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x59cfa2),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0x19fae0));}else{const _0xea744=_0x5217db[_0x21cd('0x4e')](_0x1ca72d-0x1);if(!_0xea744)return;_0x466fab=_0x520253['model']['createRange'](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x19fae0),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0xea744));}_0x520253[_0x21cd('0x11')]['change'](()=>{_0xb93fda[_0x21cd('0xc')](_0x466fab,{'commandName':_0x21cd('0x6'),'commandParams':[{'forceValue':_0x130213}]},[],'setTableColumnHeader');});}),_0x520253[_0x21cd('0x7')][_0x21cd('0x8')]['on']('addMarker:suggestion',_0x1a4aed(),{'priority':_0x21cd('0x33')}),_0x520253['data'][_0x21cd('0x8')]['on']('addMarker:suggestion',(_0x8e361d,_0x4b9b06,_0x54009c)=>{_0x54009c['options'][_0x21cd('0x3a')]&&_0x1a4aed({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x8e361d,_0x4b9b06,_0x54009c);},{'priority':_0x21cd('0x33')}),_0x520253['editing']['downcastDispatcher']['on'](_0x21cd('0x40'),(_0x36b1aa,_0x38f300,_0x48f7c7)=>{const {type:_0x16f266,id:_0x1cd443}=_0xb93fda[_0x21cd('0x43')](_0x38f300[_0x21cd('0x10')]),_0x910abe=_0xb93fda[_0x21cd('0x25')](_0x1cd443);if(!_0x910abe[_0x21cd('0x18')]||'setTableColumnHeader'!=_0x910abe[_0x21cd('0x18')]['commandName'])return;const _0x46b585=_0x48f7c7[_0x21cd('0x13')][_0x21cd('0x28')](_0x38f300['markerName']);if(_0x46b585)for(const _0x33e76d of _0x46b585)_0x48f7c7[_0x21cd('0x23')]['removeClass']('ck-suggestion-marker-'+_0x16f266,_0x33e76d),_0x48f7c7[_0x21cd('0x23')]['removeClass'](_0x21cd('0xe'),_0x33e76d),_0x48f7c7[_0x21cd('0x23')][_0x21cd('0x3b')](_0x21cd('0x2b'),_0x33e76d),_0x48f7c7[_0x21cd('0x13')][_0x21cd('0xa')](_0x33e76d,_0x38f300[_0x21cd('0x10')]);},{'priority':'highest'}),_0xb93fda[_0x21cd('0x37')][_0x21cd('0x3c')](_0xd96529=>{const {data:_0x5569e1}=_0xd96529;if(_0x5569e1){if('setTableRowHeader'==_0x5569e1[_0x21cd('0x4f')]){const _0x1554e9=_0x5569e1['commandParams'][0x0]['forceValue'];return _0xf19c98(_0xc87818(_0x1a3b8e,_0x1554e9?_0x21cd('0x48'):_0x21cd('0xb')));}if(_0x21cd('0x6')==_0x5569e1['commandName']){const _0x3528be=_0x5569e1[_0x21cd('0x1c')][0x0][_0x21cd('0x2a')];return _0xf19c98(_0xc87818(_0x1a3b8e,_0x3528be?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0xf19c98(_0x1ddeb3){return{'type':'format','content':_0xc87818(_0x1a3b8e,_0x21cd('0x2f'),_0x1ddeb3)};}});const _0x586ba4=_0x7969a6[_0x21cd('0x12')]();_0xb93fda[_0x21cd('0x16')]['registerCustomCallback'](_0x21cd('0x42'),_0x21cd('0x46'),_0x21cd('0x1a'),_0x586ba4),_0xb93fda[_0x21cd('0x16')][_0x21cd('0x38')]('formatBlock','setTableColumnHeader',_0x21cd('0x1a'),_0x586ba4);}}
23
+ const _0x4f7c=['accept','cell','getSuggestion','ck-suggestion-marker--active','get','registerCustomCallback','FORMAT_REGULAR_COLUMN','createPositionAfter','activeMarkers','consume','unbindElementFromMarkerName','setTableRowHeader','commandParams','removeMarker:suggestion','table','first','isBefore','bindElementToMarker','headingColumns','setAttribute','toViewElement','end','_acceptFormatSuggestionCallbackFactory','markerNameToElements','selection','stop','data','ck-suggestion-marker-','createPositionBefore','showSuggestionHighlights','_descriptionFactory','enableCommand','addMarker:suggestion','getChild','last','downcastDispatcher','consumable','includes','commandName','FORMAT_HEADER_COLUMN','requires','getSelectionAffectedTableCells','parent','editing','FORMAT_HEADER_ROW','removeClass','options','TableEditing','nodeAfter','markerName','writer','formatBlock','item','change','TrackChangesEditing','_splitMarkerName','value','highest','format','getRowIndexes','_suggestionFactory','childCount','markerRange','markBlockFormat','setTableColumnHeader','start','removeAttribute','index','createRange','model','forceValue','getAttribute','commands','afterInit','headingRows','findAncestor','getCellLocation','document','data-suggestion','mapper','locale','plugins','TableUtils'];(function(_0x501dc0,_0x4f7cc3){const _0x10fbda=function(_0x150372){while(--_0x150372){_0x501dc0['push'](_0x501dc0['shift']());}};_0x10fbda(++_0x4f7cc3);}(_0x4f7c,0x1b4));const _0x10fb=function(_0x501dc0,_0x4f7cc3){_0x501dc0=_0x501dc0-0x0;let _0x10fbda=_0x4f7c[_0x501dc0];return _0x10fbda;};import{Plugin as _0x2fbeae}from'ckeditor5/src/core';import _0x28eadf from'./table';import{getTranslation as _0x1d9097}from'../utils/common-translations';export default class kt extends _0x2fbeae{static get[_0x10fb('0x13')](){return[_0x28eadf];}[_0x10fb('0x34')](){const _0x10d95a=this['editor'];if(!_0x10d95a[_0x10fb('0x3c')]['has'](_0x10fb('0x1a')))return;const _0x3a67ba=_0x10d95a[_0x10fb('0x3b')],_0x43c4e9=_0x10d95a['plugins'][_0x10fb('0x42')](_0x10fb('0x21')),_0x57fe23=_0x10d95a['plugins'][_0x10fb('0x42')]('TableUtils'),_0x39e18f=_0x10d95a[_0x10fb('0x3c')][_0x10fb('0x42')](_0x28eadf);function _0x19e1be({showActiveMarker:_0x5909c0=!0x0,setDataAttribute:_0x260abc=!0x0}={}){return(_0x30c0c0,_0xd4ed9d,_0x205539)=>{const {type:_0x2847db,id:_0x2c46e8}=_0x43c4e9[_0x10fb('0x22')](_0xd4ed9d[_0x10fb('0x1c')]),_0x3d7c56=_0x43c4e9[_0x10fb('0x40')](_0x2c46e8);if(!_0x3d7c56[_0x10fb('0x5')]||_0x10fb('0x2b')!=_0x3d7c56[_0x10fb('0x5')][_0x10fb('0x11')])return;if(_0xd4ed9d[_0x10fb('0x1f')])return void _0x30c0c0[_0x10fb('0x4')]();if(!_0x205539[_0x10fb('0xf')][_0x10fb('0x47')](_0xd4ed9d[_0x10fb('0x29')],_0x30c0c0['name']))return;const _0x31cf9c=_0xd4ed9d['markerRange'][_0x10fb('0x2c')][_0x10fb('0x1b')],_0x65dec4=_0xd4ed9d[_0x10fb('0x29')][_0x10fb('0x0')]['nodeBefore'],_0xc97d80=_0x31cf9c[_0x10fb('0x15')][_0x10fb('0x15')],{column:_0x599ded}=_0x57fe23[_0x10fb('0x37')](_0x31cf9c),{column:_0x29c16f}=_0x57fe23[_0x10fb('0x37')](_0x65dec4);for(let _0x412f60=_0x599ded;_0x412f60<=_0x29c16f;_0x412f60++){const _0x286abd=_0x57fe23['createTableWalker'](_0xc97d80,{'column':_0x412f60,'includeAllSlots':!0x1});for(const _0x223d1c of _0x286abd){const _0x5ef7e9=_0x223d1c[_0x10fb('0x3f')],_0x40d8b0=_0x205539[_0x10fb('0x3a')][_0x10fb('0x52')](_0x5ef7e9);_0x205539[_0x10fb('0x1d')]['addClass'](_0x10fb('0x6')+_0x2847db,_0x40d8b0),_0x260abc&&_0x205539[_0x10fb('0x1d')][_0x10fb('0x51')]('data-suggestion',_0x2c46e8,_0x40d8b0),_0x205539[_0x10fb('0x3a')][_0x10fb('0x4f')](_0x40d8b0,_0xd4ed9d[_0x10fb('0x1c')]),_0x5909c0&&(_0x43c4e9[_0x10fb('0x46')][_0x10fb('0x10')](_0xd4ed9d['markerName'])?_0x205539[_0x10fb('0x1d')]['addClass'](_0x10fb('0x41'),_0x40d8b0):_0x205539['writer'][_0x10fb('0x18')]('ck-suggestion-marker--active',_0x40d8b0));}}};}_0x43c4e9[_0x10fb('0xa')](_0x10fb('0x49'),(_0x22bb4c,_0x55306e)=>{const _0x56b630=_0x57fe23[_0x10fb('0x14')](_0x10d95a[_0x10fb('0x30')][_0x10fb('0x38')]['selection']),_0x4bcde7=_0x57fe23[_0x10fb('0x26')](_0x56b630),_0x5f17bb=_0x56b630[0x0]['findAncestor']('table'),_0x4f4d57=_0x5f17bb[_0x10fb('0x32')](_0x10fb('0x35'))||0x0,_0x8bd293=_0x55306e&&null!==_0x55306e[_0x10fb('0x31')]?_0x55306e[_0x10fb('0x31')]:!_0x10d95a['commands'][_0x10fb('0x42')](_0x10fb('0x49'))[_0x10fb('0x23')],_0x1da361=_0x8bd293?_0x4bcde7[_0x10fb('0xd')]:_0x4bcde7[_0x10fb('0x4d')],_0x2c7365=_0x5f17bb[_0x10fb('0xc')](_0x1da361);let _0x5ced7c;if(_0x8bd293){const _0x591d92=_0x5f17bb[_0x10fb('0xc')](_0x4f4d57);if(_0x2c7365[_0x10fb('0x2e')]<_0x591d92[_0x10fb('0x2e')])return;_0x5ced7c=_0x10d95a[_0x10fb('0x30')][_0x10fb('0x2f')](_0x10d95a[_0x10fb('0x30')]['createPositionBefore'](_0x591d92[_0x10fb('0xc')](0x0)),_0x10d95a[_0x10fb('0x30')][_0x10fb('0x45')](_0x2c7365['getChild'](_0x2c7365['childCount']-0x1)));}else{const _0x450be2=_0x5f17bb[_0x10fb('0xc')](_0x4f4d57-0x1);if(!_0x450be2)return;_0x5ced7c=_0x10d95a[_0x10fb('0x30')][_0x10fb('0x2f')](_0x10d95a[_0x10fb('0x30')][_0x10fb('0x7')](_0x2c7365['getChild'](0x0)),_0x10d95a[_0x10fb('0x30')][_0x10fb('0x45')](_0x450be2[_0x10fb('0xc')](_0x450be2[_0x10fb('0x28')]-0x1)));}_0x10d95a[_0x10fb('0x30')][_0x10fb('0x20')](()=>{_0x43c4e9[_0x10fb('0x2a')](_0x5ced7c,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x8bd293}]},[],_0x10fb('0x49'));});}),_0x43c4e9[_0x10fb('0xa')](_0x10fb('0x2b'),(_0x3435d8,_0x2b6315)=>{const _0x276420=_0x10d95a[_0x10fb('0x3c')]['get'](_0x10fb('0x3d')),_0x53b74a=_0x276420[_0x10fb('0x14')](_0x10d95a[_0x10fb('0x30')][_0x10fb('0x38')][_0x10fb('0x3')]),_0x4e365f=_0x276420['getColumnIndexes'](_0x53b74a),_0x5ad8a9=_0x53b74a[0x0][_0x10fb('0x36')](_0x10fb('0x4c')),_0x36e991=_0x5ad8a9['getAttribute'](_0x10fb('0x50'))||0x0,_0xb53ef7=_0x2b6315&&null!==_0x2b6315[_0x10fb('0x31')]?_0x2b6315[_0x10fb('0x31')]:!_0x10d95a[_0x10fb('0x33')][_0x10fb('0x42')](_0x10fb('0x2b'))['value'];let _0x22354f;const _0x515cca=_0x5ad8a9['getChild'](0x0),_0x2fb5f0=_0xb53ef7?_0x4e365f['last']:_0x4e365f[_0x10fb('0x4d')],_0x513ded=_0x276420['createTableWalker'](_0x5ad8a9,{'startRow':0x0,'column':_0x2fb5f0,'includeAllSlots':!0x1}),_0x4dfd78=Array['from'](_0x513ded)[0x0][_0x10fb('0x3f')];if(_0xb53ef7){const _0x57e8ba=_0x515cca[_0x10fb('0xc')](_0x36e991);if(_0x4dfd78[_0x10fb('0x4e')](_0x57e8ba))return;_0x22354f=_0x10d95a[_0x10fb('0x30')][_0x10fb('0x2f')](_0x10d95a[_0x10fb('0x30')][_0x10fb('0x7')](_0x57e8ba),_0x10d95a['model'][_0x10fb('0x45')](_0x4dfd78));}else{const _0x55c15a=_0x515cca[_0x10fb('0xc')](_0x36e991-0x1);if(!_0x55c15a)return;_0x22354f=_0x10d95a[_0x10fb('0x30')][_0x10fb('0x2f')](_0x10d95a[_0x10fb('0x30')][_0x10fb('0x7')](_0x4dfd78),_0x10d95a[_0x10fb('0x30')][_0x10fb('0x45')](_0x55c15a));}_0x10d95a[_0x10fb('0x30')]['change'](()=>{_0x43c4e9[_0x10fb('0x2a')](_0x22354f,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0xb53ef7}]},[],_0x10fb('0x2b'));});}),_0x10d95a[_0x10fb('0x16')][_0x10fb('0xe')]['on'](_0x10fb('0xb'),_0x19e1be(),{'priority':_0x10fb('0x24')}),_0x10d95a['data'][_0x10fb('0xe')]['on'](_0x10fb('0xb'),(_0x117a8d,_0x4b5cd1,_0x4da395)=>{_0x4da395[_0x10fb('0x19')][_0x10fb('0x8')]&&_0x19e1be({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x117a8d,_0x4b5cd1,_0x4da395);},{'priority':_0x10fb('0x24')}),_0x10d95a[_0x10fb('0x16')][_0x10fb('0xe')]['on'](_0x10fb('0x4b'),(_0x50983f,_0x13523a,_0x15d8c1)=>{const {type:_0x1e88a0,id:_0x283131}=_0x43c4e9[_0x10fb('0x22')](_0x13523a['markerName']),_0x326411=_0x43c4e9[_0x10fb('0x40')](_0x283131);if(!_0x326411[_0x10fb('0x5')]||_0x10fb('0x2b')!=_0x326411[_0x10fb('0x5')]['commandName'])return;const _0x439f7d=_0x15d8c1[_0x10fb('0x3a')][_0x10fb('0x2')](_0x13523a['markerName']);if(_0x439f7d)for(const _0x473cdf of _0x439f7d)_0x15d8c1[_0x10fb('0x1d')][_0x10fb('0x18')](_0x10fb('0x6')+_0x1e88a0,_0x473cdf),_0x15d8c1[_0x10fb('0x1d')]['removeClass'](_0x10fb('0x41'),_0x473cdf),_0x15d8c1[_0x10fb('0x1d')][_0x10fb('0x2d')](_0x10fb('0x39'),_0x473cdf),_0x15d8c1[_0x10fb('0x3a')][_0x10fb('0x48')](_0x473cdf,_0x13523a['markerName']);},{'priority':_0x10fb('0x24')}),_0x43c4e9[_0x10fb('0x9')]['registerDescriptionCallback'](_0x2edfee=>{const {data:_0x473b44}=_0x2edfee;if(_0x473b44){if(_0x10fb('0x49')==_0x473b44[_0x10fb('0x11')]){const _0xd65e3f=_0x473b44['commandParams'][0x0][_0x10fb('0x31')];return _0x42b57e(_0x1d9097(_0x3a67ba,_0xd65e3f?_0x10fb('0x17'):'FORMAT_REGULAR_ROW'));}if(_0x10fb('0x2b')==_0x473b44[_0x10fb('0x11')]){const _0xa6fe9d=_0x473b44[_0x10fb('0x4a')][0x0]['forceValue'];return _0x42b57e(_0x1d9097(_0x3a67ba,_0xa6fe9d?_0x10fb('0x12'):_0x10fb('0x44')));}}function _0x42b57e(_0x239603){return{'type':_0x10fb('0x25'),'content':_0x1d9097(_0x3a67ba,'*Format:*\x20%0',_0x239603)};}});const _0x2184c6=_0x39e18f[_0x10fb('0x1')]();_0x43c4e9[_0x10fb('0x27')][_0x10fb('0x43')](_0x10fb('0x1e'),_0x10fb('0x49'),'accept',_0x2184c6),_0x43c4e9['_suggestionFactory']['registerCustomCallback'](_0x10fb('0x1e'),_0x10fb('0x2b'),_0x10fb('0x3e'),_0x2184c6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x446a=['*Merge\x20cells*','size','commandName','mergeTableCellDown','_areSelectedCellsMergable','registerCustomCallback','_areMergableCells','formatBlock','type','execute','splitTableCellHorizontally','splitTableCellVertically','push','format','model','getFirstPosition','enableCommand','containsRange','createRangeOn','cell','TableEditing','isEnabled','createTableWalker','document','deletion','findAncestor','add','forceDefaultExecution','markMultiRangeBlockFormat','registerDescriptionCallback','_suggestionFactory','change','filter','detach','commands','plugins','stop','has','low','getAncestors','getCellLocation','tableCell','_descriptionFactory','editor','accept','mergeTableCells','value','length','getRanges','trackChanges','TableUtils','mergeTableCellUp','getSelectionAffectedTableCells','setSelection','insertion','isInContent','horizontally','element','fromRange','refresh','selection','mergeTableCellLeft','_tablePostFixingSubtypes','direction','map','author','mergeTableCellRight','getSuggestions','TrackChangesEditing','*Split\x20cell:*\x20horizontally','get','from','$graveyard','set:isEnabled','_acceptFormatSuggestionCallbackFactory'];(function(_0x8be984,_0x446aa0){const _0x23d55e=function(_0x2d4fee){while(--_0x2d4fee){_0x8be984['push'](_0x8be984['shift']());}};_0x23d55e(++_0x446aa0);}(_0x446a,0x88));const _0x23d5=function(_0x8be984,_0x446aa0){_0x8be984=_0x8be984-0x0;let _0x23d55e=_0x446a[_0x8be984];return _0x23d55e;};import{Plugin as _0x4122e6}from'ckeditor5/src/core';import _0x4d7f90 from'./table';import{LiveRange as _0x23125b}from'ckeditor5/src/engine';import{getTranslation as _0x44bacb}from'../utils/common-translations';export default class pt extends _0x4122e6{static get['requires'](){return[_0x4d7f90];}['afterInit'](){const _0x4e803c=this[_0x23d5('0x39')],_0x520b08=_0x4e803c[_0x23d5('0x1c')]['document'][_0x23d5('0x4a')],_0x1cbccb=_0x4e803c['locale'];if(!_0x4e803c[_0x23d5('0x31')][_0x23d5('0x33')](_0x23d5('0x22')))return;const _0x1d4952=_0x4e803c[_0x23d5('0x31')][_0x23d5('0x9')](_0x23d5('0x7')),_0x7ff31=_0x4e803c['plugins']['get'](_0x23d5('0x40')),_0x333b6c=_0x4e803c['plugins']['get'](_0x4d7f90);_0x333b6c[_0x23d5('0x1')][_0x23d5('0x1a')](_0x23d5('0x3b')),_0x1d4952[_0x23d5('0x1e')]('mergeTableCells',()=>{const _0x1f3e22=_0x7ff31['getSelectionAffectedTableCells'](_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')]);_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](()=>{_0x1d4952[_0x23d5('0x2a')](_0x1f3e22,{'commandName':_0x23d5('0x3b'),'commandParams':[]},[],_0x23d5('0x3b'));});}),_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3b'))['on'](_0x23d5('0x17'),(_0x243a1f,_0x30a7e1)=>{_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3f'))[_0x23d5('0x3c')]&&(_0x30a7e1[_0x23d5('0x3d')]>0x0&&_0x30a7e1[_0x30a7e1[_0x23d5('0x3d')]-0x1]&&_0x30a7e1[_0x30a7e1[_0x23d5('0x3d')]-0x1][_0x23d5('0x29')]||_0x1d4952['_isForcedDefaultExecutionBlock']||this[_0x23d5('0x12')]()||_0x243a1f[_0x23d5('0x32')]());},{'priority':'highest'});for(const _0x40abf9 of[_0x23d5('0x41'),'mergeTableCellRight',_0x23d5('0x11'),_0x23d5('0x0')]){const _0x49562a=_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x40abf9);_0x1d4952['enableCommand'](_0x40abf9,()=>{const _0x56787b=_0x4e803c['model'][_0x23d5('0x25')][_0x23d5('0x4a')][_0x23d5('0x1d')]()[_0x23d5('0x35')]()['find'](_0x491938=>_0x491938['is'](_0x23d5('0x47'),_0x23d5('0x37'))),_0x6f0321=_0x49562a[_0x23d5('0x3c')];_0x4e803c['model'][_0x23d5('0x2d')](()=>{_0x1d4952[_0x23d5('0x2a')]([_0x56787b,_0x6f0321],{'commandName':_0x23d5('0x3b'),'commandParams':[]},[],_0x23d5('0x3b'));});});}for(const _0x5c7b7a of['splitTableCellVertically',_0x23d5('0x18')]){const _0x1e851b=_0x4e803c['commands'][_0x23d5('0x9')](_0x5c7b7a);_0x1d4952[_0x23d5('0x1e')](_0x5c7b7a,()=>{const _0xce4192=_0x7ff31[_0x23d5('0x42')](_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')])[0x0],_0x246138=_0xce4192[_0x23d5('0x27')]('table'),{column:_0x2dcc2e,row:_0x39675f}=_0x7ff31[_0x23d5('0x36')](_0xce4192);let _0x3015e4=[];if(_0x23d5('0x46')==_0x1e851b[_0x23d5('0x2')]){const _0x2a28d1=_0x7ff31[_0x23d5('0x24')](_0x246138,{'startRow':_0x39675f,'endRow':_0x39675f,'includeAllSlots':!0x0});_0x3015e4=Array[_0x23d5('0xa')](_0x2a28d1)[_0x23d5('0x3')](_0x67bec7=>_0x67bec7[_0x23d5('0x21')]);}else{const _0x55659e=_0x7ff31[_0x23d5('0x24')](_0x246138,{'column':_0x2dcc2e,'includeAllSlots':!0x0});_0x3015e4=Array[_0x23d5('0xa')](_0x55659e)[_0x23d5('0x3')](_0x591485=>_0x591485[_0x23d5('0x21')]);}_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](_0x7dae2a=>{_0x1d4952['markBlockFormat'](_0x7dae2a[_0x23d5('0x20')](_0xce4192),{'commandName':_0x5c7b7a,'commandParams':[]},_0x3015e4,_0x5c7b7a);});});}_0x1d4952[_0x23d5('0x38')][_0x23d5('0x2b')](_0x2be5de=>{const {data:_0x1086e2}=_0x2be5de;if(_0x1086e2)return _0x23d5('0x3b')==_0x1086e2[_0x23d5('0x10')]?{'type':'format','content':_0x44bacb(_0x1cbccb,_0x23d5('0xe'))}:void 0x0;}),_0x1d4952[_0x23d5('0x38')]['registerDescriptionCallback'](_0x1668a1=>{const {data:_0x586734}=_0x1668a1;if(_0x586734)return _0x23d5('0x19')==_0x586734['commandName']?{'type':_0x23d5('0x1b'),'content':_0x44bacb(_0x1cbccb,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x586734[_0x23d5('0x10')]?{'type':_0x23d5('0x1b'),'content':_0x44bacb(_0x1cbccb,_0x23d5('0x8'))}:void 0x0;});const _0x2b4fbc=_0x333b6c[_0x23d5('0xd')]();for(const _0x7d700a of[_0x23d5('0x41'),_0x23d5('0x5'),'mergeTableCellDown',_0x23d5('0x0')])_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),_0x7d700a,'accept',_0x2b4fbc);for(const _0x2fe8c0 of[_0x23d5('0x19'),_0x23d5('0x18')])_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),_0x2fe8c0,_0x23d5('0x3a'),_0x2b4fbc);_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),'mergeTableCells','accept',_0x56aee0=>{_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](_0x10dd3b=>{const _0x33bbd8=Array[_0x23d5('0xa')](_0x520b08[_0x23d5('0x3e')]())[_0x23d5('0x3')](_0x7249ae=>_0x23125b[_0x23d5('0x48')](_0x7249ae));_0x10dd3b[_0x23d5('0x43')](_0x56aee0),_0x4e803c['commands']['get'](_0x23d5('0x3b'))[_0x23d5('0x49')](),_0x4e803c[_0x23d5('0x17')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x24e65c=_0x33bbd8[_0x23d5('0x2e')](_0x1f8512=>_0x23d5('0xb')!=_0x1f8512['root']['rootName']);_0x24e65c[_0x23d5('0x3d')]>0x0&&_0x10dd3b['setSelection'](_0x24e65c);for(const _0x430968 of _0x33bbd8)_0x430968[_0x23d5('0x2f')]();});});for(const _0xef4cd3 of['mergeTableCellUp',_0x23d5('0x11'),_0x23d5('0x0'),_0x23d5('0x5')]){const _0xd35e8d=_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0xef4cd3);_0xd35e8d['on'](_0x23d5('0xc'),(_0x1e0949,_0x585a7a,_0x4003c7)=>{if(_0x4003c7){const _0x281d08=_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')]['getFirstPosition']()[_0x23d5('0x35')]()['find'](_0x44ef81=>_0x44ef81['is'](_0x23d5('0x47'),_0x23d5('0x37')));this[_0x23d5('0x14')](_0xd35e8d['value'],_0x281d08)||(_0x1e0949['return']=!0x1,_0x1e0949['stop']());}},{'priority':_0x23d5('0x34')});}}[_0x23d5('0x12')](){const _0x152293=this['editor'][_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3b')),_0x3b861f=this[_0x23d5('0x39')][_0x23d5('0x31')][_0x23d5('0x9')]('TableUtils');if(!_0x152293[_0x23d5('0x23')])return!0x1;const _0x53a166=_0x3b861f[_0x23d5('0x42')](this[_0x23d5('0x39')][_0x23d5('0x1c')][_0x23d5('0x25')]['selection']);for(const _0x17b7c2 of _0x53a166)for(const _0xd27ab5 of _0x53a166)if(_0x17b7c2!=_0xd27ab5&&!this[_0x23d5('0x14')](_0x17b7c2,_0xd27ab5))return!0x1;return!0x0;}[_0x23d5('0x14')](_0x12f533,_0x4a4c9b){const _0x2125b6=this[_0x23d5('0x39')][_0x23d5('0x31')][_0x23d5('0x9')](_0x23d5('0x7')),_0x1e489e=this[_0x23d5('0x39')][_0x23d5('0x1c')]['createRangeOn'](_0x12f533),_0x1e96e8=this[_0x23d5('0x39')][_0x23d5('0x1c')][_0x23d5('0x20')](_0x4a4c9b),_0x5445ac=new Set(),_0x589c3a=new Set();for(const _0x4cb7fb of _0x2125b6[_0x23d5('0x6')]())if((_0x23d5('0x44')==_0x4cb7fb['type']||_0x23d5('0x26')==_0x4cb7fb[_0x23d5('0x16')]||_0x23d5('0x3b')==_0x4cb7fb['subType'])&&_0x4cb7fb[_0x23d5('0x45')])for(const _0x212c95 of _0x4cb7fb['getRanges']())_0x212c95[_0x23d5('0x1f')](_0x1e489e,!0x0)&&_0x5445ac[_0x23d5('0x28')](_0x4cb7fb['type']+':'+_0x4cb7fb['author']['id']),_0x212c95[_0x23d5('0x1f')](_0x1e96e8,!0x0)&&_0x589c3a[_0x23d5('0x28')](_0x4cb7fb['type']+':'+_0x4cb7fb[_0x23d5('0x4')]['id']);if(_0x5445ac[_0x23d5('0xf')]!=_0x589c3a[_0x23d5('0xf')])return!0x1;for(const _0x388bc0 of _0x5445ac)if(!_0x589c3a['has'](_0x388bc0))return!0x1;return!0x0;}}
23
+ const _0x27c0=['getAncestors','createTableWalker','commandName','accept','enableCommand','find','splitTableCellHorizontally','*Split\x20cell:*\x20horizontally','mergeTableCells','markBlockFormat','table','filter','size','isEnabled','_tablePostFixingSubtypes','stop','highest','get','execute','findAncestor','trackChanges','rootName','setSelection','commands','author','low','mergeTableCellUp','format','length','element','_isForcedDefaultExecutionBlock','formatBlock','set:isEnabled','editor','getRanges','selection','document','change','TableEditing','map','$graveyard','type','_areSelectedCellsMergable','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically','locale','add','registerDescriptionCallback','insertion','mergeTableCellLeft','cell','_descriptionFactory','tableCell','horizontally','plugins','_areMergableCells','from','afterInit','createRangeOn','mergeTableCellRight','isInContent','requires','model','getSuggestions','getFirstPosition','direction','markMultiRangeBlockFormat','forceDefaultExecution','TrackChangesEditing','_suggestionFactory','splitTableCellVertically','value','registerCustomCallback','return','*Merge\x20cells*','containsRange','TableUtils','deletion','mergeTableCellDown','has'];(function(_0x314047,_0x27c018){const _0x1270b4=function(_0x40cd72){while(--_0x40cd72){_0x314047['push'](_0x314047['shift']());}};_0x1270b4(++_0x27c018);}(_0x27c0,0x133));const _0x1270=function(_0x314047,_0x27c018){_0x314047=_0x314047-0x0;let _0x1270b4=_0x27c0[_0x314047];return _0x1270b4;};import{Plugin as _0x35072d}from'ckeditor5/src/core';import _0xa368d from'./table';import{LiveRange as _0x4ba09f}from'ckeditor5/src/engine';import{getTranslation as _0x3f5f54}from'../utils/common-translations';export default class pt extends _0x35072d{static get[_0x1270('0x4a')](){return[_0xa368d];}[_0x1270('0x46')](){const _0xbffe=this[_0x1270('0x2e')],_0x15dd46=_0xbffe['model'][_0x1270('0x31')][_0x1270('0x30')],_0x25573d=_0xbffe[_0x1270('0x3a')];if(!_0xbffe[_0x1270('0x43')][_0x1270('0xc')](_0x1270('0x33')))return;const _0x2a4d07=_0xbffe[_0x1270('0x43')][_0x1270('0x1e')](_0x1270('0x1')),_0x47128c=_0xbffe[_0x1270('0x43')][_0x1270('0x1e')](_0x1270('0x9')),_0x3ee05b=_0xbffe['plugins']['get'](_0xa368d);_0x3ee05b[_0x1270('0x1b')]['push']('mergeTableCells'),_0x2a4d07[_0x1270('0x11')]('mergeTableCells',()=>{const _0x48238f=_0x47128c[_0x1270('0x38')](_0xbffe['model']['document']['selection']);_0xbffe[_0x1270('0x4b')][_0x1270('0x32')](()=>{_0x2a4d07[_0x1270('0x4f')](_0x48238f,{'commandName':'mergeTableCells','commandParams':[]},[],_0x1270('0x15'));});}),_0xbffe['commands'][_0x1270('0x1e')](_0x1270('0x15'))['on'](_0x1270('0x1f'),(_0x2797c9,_0x5f2c47)=>{_0xbffe['commands'][_0x1270('0x1e')](_0x1270('0x21'))[_0x1270('0x4')]&&(_0x5f2c47[_0x1270('0x29')]>0x0&&_0x5f2c47[_0x5f2c47[_0x1270('0x29')]-0x1]&&_0x5f2c47[_0x5f2c47[_0x1270('0x29')]-0x1][_0x1270('0x0')]||_0x2a4d07[_0x1270('0x2b')]||this[_0x1270('0x37')]()||_0x2797c9[_0x1270('0x1c')]());},{'priority':_0x1270('0x1d')});for(const _0x3f0663 of['mergeTableCellUp','mergeTableCellRight',_0x1270('0xb'),_0x1270('0x3e')]){const _0xe01e3c=_0xbffe['commands'][_0x1270('0x1e')](_0x3f0663);_0x2a4d07[_0x1270('0x11')](_0x3f0663,()=>{const _0x5b9c31=_0xbffe[_0x1270('0x4b')]['document'][_0x1270('0x30')][_0x1270('0x4d')]()[_0x1270('0xd')]()[_0x1270('0x12')](_0x560f44=>_0x560f44['is']('element',_0x1270('0x41'))),_0x3527c2=_0xe01e3c['value'];_0xbffe['model'][_0x1270('0x32')](()=>{_0x2a4d07[_0x1270('0x4f')]([_0x5b9c31,_0x3527c2],{'commandName':'mergeTableCells','commandParams':[]},[],_0x1270('0x15'));});});}for(const _0x218e0a of['splitTableCellVertically',_0x1270('0x13')]){const _0x327099=_0xbffe[_0x1270('0x24')][_0x1270('0x1e')](_0x218e0a);_0x2a4d07[_0x1270('0x11')](_0x218e0a,()=>{const _0x2c3593=_0x47128c['getSelectionAffectedTableCells'](_0xbffe[_0x1270('0x4b')]['document']['selection'])[0x0],_0x1571cd=_0x2c3593[_0x1270('0x20')](_0x1270('0x17')),{column:_0x3e59d2,row:_0x2afd8e}=_0x47128c['getCellLocation'](_0x2c3593);let _0x156a9a=[];if(_0x1270('0x42')==_0x327099[_0x1270('0x4e')]){const _0x2cbc69=_0x47128c['createTableWalker'](_0x1571cd,{'startRow':_0x2afd8e,'endRow':_0x2afd8e,'includeAllSlots':!0x0});_0x156a9a=Array[_0x1270('0x45')](_0x2cbc69)['map'](_0x105565=>_0x105565[_0x1270('0x3f')]);}else{const _0x4b1f79=_0x47128c[_0x1270('0xe')](_0x1571cd,{'column':_0x3e59d2,'includeAllSlots':!0x0});_0x156a9a=Array[_0x1270('0x45')](_0x4b1f79)[_0x1270('0x34')](_0x3941c9=>_0x3941c9[_0x1270('0x3f')]);}_0xbffe['model'][_0x1270('0x32')](_0x3d6f12=>{_0x2a4d07[_0x1270('0x16')](_0x3d6f12[_0x1270('0x47')](_0x2c3593),{'commandName':_0x218e0a,'commandParams':[]},_0x156a9a,_0x218e0a);});});}_0x2a4d07[_0x1270('0x40')][_0x1270('0x3c')](_0x3242f5=>{const {data:_0x1e5337}=_0x3242f5;if(_0x1e5337)return _0x1270('0x15')==_0x1e5337['commandName']?{'type':_0x1270('0x28'),'content':_0x3f5f54(_0x25573d,_0x1270('0x7'))}:void 0x0;}),_0x2a4d07[_0x1270('0x40')][_0x1270('0x3c')](_0x360a92=>{const {data:_0x3d483f}=_0x360a92;if(_0x3d483f)return _0x1270('0x3')==_0x3d483f['commandName']?{'type':_0x1270('0x28'),'content':_0x3f5f54(_0x25573d,_0x1270('0x39'))}:'splitTableCellHorizontally'==_0x3d483f[_0x1270('0xf')]?{'type':_0x1270('0x28'),'content':_0x3f5f54(_0x25573d,_0x1270('0x14'))}:void 0x0;});const _0x4792d1=_0x3ee05b['_acceptFormatSuggestionCallbackFactory']();for(const _0x4008da of[_0x1270('0x27'),_0x1270('0x48'),_0x1270('0xb'),'mergeTableCellLeft'])_0x2a4d07[_0x1270('0x2')][_0x1270('0x5')](_0x1270('0x2c'),_0x4008da,'accept',_0x4792d1);for(const _0x3b93a4 of[_0x1270('0x3'),'splitTableCellHorizontally'])_0x2a4d07[_0x1270('0x2')][_0x1270('0x5')]('formatBlock',_0x3b93a4,'accept',_0x4792d1);_0x2a4d07[_0x1270('0x2')]['registerCustomCallback'](_0x1270('0x2c'),_0x1270('0x15'),_0x1270('0x10'),_0x4e2fdf=>{_0xbffe[_0x1270('0x4b')][_0x1270('0x32')](_0x429c7f=>{const _0x4458a9=Array[_0x1270('0x45')](_0x15dd46[_0x1270('0x2f')]())[_0x1270('0x34')](_0x43d213=>_0x4ba09f['fromRange'](_0x43d213));_0x429c7f[_0x1270('0x23')](_0x4e2fdf),_0xbffe[_0x1270('0x24')]['get']('mergeTableCells')['refresh'](),_0xbffe[_0x1270('0x1f')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x2ec6d5=_0x4458a9[_0x1270('0x18')](_0x2d4828=>_0x1270('0x35')!=_0x2d4828['root'][_0x1270('0x22')]);_0x2ec6d5[_0x1270('0x29')]>0x0&&_0x429c7f[_0x1270('0x23')](_0x2ec6d5);for(const _0x3c4fb7 of _0x4458a9)_0x3c4fb7['detach']();});});for(const _0x33ac32 of[_0x1270('0x27'),'mergeTableCellDown',_0x1270('0x3e'),_0x1270('0x48')]){const _0x14190b=_0xbffe['commands'][_0x1270('0x1e')](_0x33ac32);_0x14190b['on'](_0x1270('0x2d'),(_0x1f6329,_0x19f08b,_0xdd7d74)=>{if(_0xdd7d74){const _0x17be78=_0xbffe[_0x1270('0x4b')]['document'][_0x1270('0x30')][_0x1270('0x4d')]()[_0x1270('0xd')]()[_0x1270('0x12')](_0x39524=>_0x39524['is'](_0x1270('0x2a'),_0x1270('0x41')));this[_0x1270('0x44')](_0x14190b['value'],_0x17be78)||(_0x1f6329[_0x1270('0x6')]=!0x1,_0x1f6329[_0x1270('0x1c')]());}},{'priority':_0x1270('0x26')});}}[_0x1270('0x37')](){const _0x372835=this[_0x1270('0x2e')]['commands'][_0x1270('0x1e')](_0x1270('0x15')),_0x498170=this[_0x1270('0x2e')]['plugins'][_0x1270('0x1e')](_0x1270('0x9'));if(!_0x372835[_0x1270('0x1a')])return!0x1;const _0x265af3=_0x498170[_0x1270('0x38')](this['editor'][_0x1270('0x4b')][_0x1270('0x31')]['selection']);for(const _0x34609d of _0x265af3)for(const _0xe501cd of _0x265af3)if(_0x34609d!=_0xe501cd&&!this[_0x1270('0x44')](_0x34609d,_0xe501cd))return!0x1;return!0x0;}[_0x1270('0x44')](_0x2cb911,_0x510fed){const _0x2e15de=this[_0x1270('0x2e')]['plugins'][_0x1270('0x1e')]('TrackChangesEditing'),_0x546311=this[_0x1270('0x2e')][_0x1270('0x4b')]['createRangeOn'](_0x2cb911),_0x2f368d=this['editor'][_0x1270('0x4b')][_0x1270('0x47')](_0x510fed),_0x111963=new Set(),_0x30bb08=new Set();for(const _0x40cb65 of _0x2e15de[_0x1270('0x4c')]())if((_0x1270('0x3d')==_0x40cb65[_0x1270('0x36')]||_0x1270('0xa')==_0x40cb65['type']||_0x1270('0x15')==_0x40cb65['subType'])&&_0x40cb65[_0x1270('0x49')])for(const _0x2d5e63 of _0x40cb65['getRanges']())_0x2d5e63[_0x1270('0x8')](_0x546311,!0x0)&&_0x111963['add'](_0x40cb65[_0x1270('0x36')]+':'+_0x40cb65[_0x1270('0x25')]['id']),_0x2d5e63[_0x1270('0x8')](_0x2f368d,!0x0)&&_0x30bb08[_0x1270('0x3b')](_0x40cb65[_0x1270('0x36')]+':'+_0x40cb65[_0x1270('0x25')]['id']);if(_0x111963['size']!=_0x30bb08[_0x1270('0x19')])return!0x1;for(const _0x110515 of _0x111963)if(!_0x30bb08[_0x1270('0xc')](_0x110515))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3da3=['get','enableCommand','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','locale','insertTableOfContents','afterInit','plugins','TrackChangesEditing','commands'];(function(_0x266c6b,_0x3da393){const _0x1c2596=function(_0x48e51d){while(--_0x48e51d){_0x266c6b['push'](_0x266c6b['shift']());}};_0x1c2596(++_0x3da393);}(_0x3da3,0x105));const _0x1c25=function(_0x266c6b,_0x3da393){_0x266c6b=_0x266c6b-0x0;let _0x1c2596=_0x3da3[_0x266c6b];return _0x1c2596;};import{Plugin as _0x11ba8f}from'ckeditor5/src/core';import{getTranslation as _0x342a84}from'../utils/common-translations';export default class St extends _0x11ba8f{[_0x1c25('0xa')](){const _0x50c67f=this['editor'];if(!_0x50c67f[_0x1c25('0x2')][_0x1c25('0x3')](_0x1c25('0x9')))return;_0x50c67f[_0x1c25('0x0')]['get'](_0x1c25('0x1'))[_0x1c25('0x4')](_0x1c25('0x9'));const _0x3120a4=_0x50c67f[_0x1c25('0x0')][_0x1c25('0x3')](_0x1c25('0x1')),_0x25050f=_0x50c67f[_0x1c25('0x8')];_0x3120a4[_0x1c25('0x7')]['registerElementLabel'](_0x1c25('0x5'),_0x4e5717=>_0x342a84(_0x25050f,_0x1c25('0x6'),_0x4e5717));}}
23
+ const _0x1e60=['editor','locale','tableOfContents','get','TrackChangesEditing','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','plugins','enableCommand'];(function(_0x414211,_0x1e60b3){const _0x9716e5=function(_0x5302cb){while(--_0x5302cb){_0x414211['push'](_0x414211['shift']());}};_0x9716e5(++_0x1e60b3);}(_0x1e60,0x176));const _0x9716=function(_0x414211,_0x1e60b3){_0x414211=_0x414211-0x0;let _0x9716e5=_0x1e60[_0x414211];return _0x9716e5;};import{Plugin as _0x58d72a}from'ckeditor5/src/core';import{getTranslation as _0x468dbf}from'../utils/common-translations';export default class St extends _0x58d72a{['afterInit'](){const _0x712268=this[_0x9716('0x6')];if(!_0x712268['commands']['get']('insertTableOfContents'))return;_0x712268[_0x9716('0x4')][_0x9716('0x9')]('TrackChangesEditing')[_0x9716('0x5')]('insertTableOfContents');const _0xbdd59a=_0x712268[_0x9716('0x4')][_0x9716('0x9')](_0x9716('0x0')),_0x22757a=_0x712268[_0x9716('0x7')];_0xbdd59a[_0x9716('0x3')][_0x9716('0x1')](_0x9716('0x8'),_0x25ca92=>_0x468dbf(_0x22757a,_0x9716('0x2'),_0x25ca92));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49ad=['start','tableBackgroundColor','tableCellBorderStyle','registerCustomCallback','accept','change','_getSuggestion','getFirstPosition','data','document','handleSuggestionDescription','format','_suggestionFactory','formatBlock','commandParams','tableCellBorderColor','tableHeight','model','_handlePropertyChange','enqueueChange','tableCellBackgroundColor','pluginName','getSuggestions','tableBorderColor','tableCellBorderWidth','markBlockFormat','tableCellPadding','getContainedElement','*Format:*\x20change\x20table\x20properties','TablePropertiesEditing','selection','join','tableAlignment','batch','enableCommand','plugins','nodeAfter','has','afterInit','tableCellProperties','locale','editor','getSuggestionCallback','tableProperties','*Format:*\x20change\x20table\x20cell\x20properties','table','registerDescriptionCallback','tableBorderWidth','tableCellWidth','tableWidth','tableCellVerticalAlignment','discard','findAncestor','removeAttribute','tableCellHeight','get','subType','TrackChangesEditing','handleDiscardAction'];(function(_0x147808,_0x49ad06){const _0x50cac2=function(_0x26e9d7){while(--_0x26e9d7){_0x147808['push'](_0x147808['shift']());}};_0x50cac2(++_0x49ad06);}(_0x49ad,0xba));const _0x50ca=function(_0x147808,_0x49ad06){_0x147808=_0x147808-0x0;let _0x50cac2=_0x49ad[_0x147808];return _0x50cac2;};import{Plugin as _0x356455}from'ckeditor5/src/core';import{getTranslation as _0x1f88ee}from'../utils/common-translations';export default class Dt extends _0x356455{constructor(_0x41dbda){super(_0x41dbda),this[_0x50ca('0x22')]=[_0x50ca('0xe'),'tableBorderStyle',_0x50ca('0x26'),_0x50ca('0x17'),_0x50ca('0x28'),_0x50ca('0x7'),_0x50ca('0x33')],this[_0x50ca('0x1e')]=[_0x50ca('0x6'),_0x50ca('0x34'),_0x50ca('0xf'),_0x50ca('0x11'),_0x50ca('0x27'),_0x50ca('0x2d'),_0x50ca('0xb'),'tableCellHorizontalAlignment',_0x50ca('0x29')];}static get[_0x50ca('0xc')](){return'TrackChangesTableProperties';}[_0x50ca('0x1d')](){const _0x51909f=this['editor'][_0x50ca('0x1a')]['get'](_0x50ca('0x30'));if(this[_0x50ca('0x20')][_0x50ca('0x1a')]['has'](_0x50ca('0x14'))){for(const _0x2578b7 of this[_0x50ca('0x22')])_0x51909f[_0x50ca('0x19')](_0x2578b7,(_0x530b6c,_0x3c2ca8)=>{const _0x33f3b6=this[_0x50ca('0x20')]['model'][_0x50ca('0x0')][_0x50ca('0x15')][_0x50ca('0x39')]()[_0x50ca('0x2b')](_0x50ca('0x24'));this['_handlePropertyChange'](_0x2578b7,[_0x33f3b6],this[_0x50ca('0x22')],_0x50ca('0x22'),_0x530b6c,_0x3c2ca8);});_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x22'),'accept',_0x51909f['_suggestionFactory'][_0x50ca('0x21')](_0x50ca('0x4'),null,'discard')),_0x51909f['_suggestionFactory'][_0x50ca('0x35')]('formatBlock',_0x50ca('0x22'),_0x50ca('0x2a'),(_0x23b879,_0x23fe11)=>this[_0x50ca('0x31')](this[_0x50ca('0x22')],_0x23b879,_0x23fe11)),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x22'),_0x50ca('0x16'),()=>!0x1);}if(this['editor'][_0x50ca('0x1a')][_0x50ca('0x1c')]('TableCellPropertiesEditing')){for(const _0x4fc5dc of this[_0x50ca('0x1e')])_0x51909f[_0x50ca('0x19')](_0x4fc5dc,(_0xc46f63,_0xa014db)=>{const _0x33a4d4=this[_0x50ca('0x20')][_0x50ca('0x1a')][_0x50ca('0x2e')]('TableUtils')['getSelectionAffectedTableCells'](this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0x0')]['selection']);this[_0x50ca('0x9')](_0x4fc5dc,_0x33a4d4,this[_0x50ca('0x1e')],_0x50ca('0x1e'),_0xc46f63,_0xa014db);});_0x51909f['_suggestionFactory'][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x1e'),_0x50ca('0x36'),_0x51909f[_0x50ca('0x3')]['getSuggestionCallback'](_0x50ca('0x4'),null,'discard')),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')]('formatBlock',_0x50ca('0x1e'),_0x50ca('0x2a'),(_0x511816,_0x10a406)=>this[_0x50ca('0x31')](this[_0x50ca('0x1e')],_0x511816,_0x10a406)),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')]('formatBlock','tableCellProperties','join',()=>!0x1);}_0x51909f['_descriptionFactory'][_0x50ca('0x25')](_0x5e6e80=>this['handleSuggestionDescription'](_0x5e6e80));}[_0x50ca('0x9')](_0x3cb52b,_0x4e594b,_0x5a2933,_0x14770a,_0x579ed9,_0x37ae9d){const _0x2ff160=this[_0x50ca('0x20')][_0x50ca('0x1a')][_0x50ca('0x2e')](_0x50ca('0x30'));this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0xa')](_0x37ae9d[_0x50ca('0x18')],()=>{for(const _0x1eb8cb of _0x4e594b){if(this[_0x50ca('0x38')](_0x1eb8cb,_0x14770a))_0x579ed9(_0x37ae9d);else{const _0x3538ea={};for(const _0x5618ac of _0x5a2933){const _0x528d7a=_0x1eb8cb['getAttribute'](_0x5618ac);void 0x0!==_0x528d7a&&(_0x3538ea[_0x5618ac]=_0x528d7a);}_0x579ed9(_0x37ae9d),_0x2ff160[_0x50ca('0x10')](_0x1eb8cb,{'commandParams':[_0x3538ea]},[],_0x14770a);}}});}[_0x50ca('0x31')](_0x1ed3cd,_0x13c720,_0x2cbaa6){const _0x2bb61e=_0x13c720[0x0][_0x50ca('0x32')][_0x50ca('0x1b')],_0x637559=_0x2cbaa6[_0x50ca('0x5')][0x0];this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0x37')](_0x1df2cc=>{for(const _0x100a43 of _0x1ed3cd)void 0x0!==_0x637559[_0x100a43]?_0x1df2cc['setAttribute'](_0x100a43,_0x637559[_0x100a43],_0x2bb61e):_0x1df2cc[_0x50ca('0x2c')](_0x100a43,_0x2bb61e);});}[_0x50ca('0x1')](_0x5953c4){if(_0x5953c4[_0x50ca('0x3a')])switch(_0x5953c4[_0x50ca('0x2f')]){case'tableProperties':return{'type':'format','content':_0x1f88ee(this['editor'][_0x50ca('0x1f')],_0x50ca('0x13'))};case _0x50ca('0x1e'):return{'type':_0x50ca('0x2'),'content':_0x1f88ee(this['editor']['locale'],_0x50ca('0x23'))};}}[_0x50ca('0x38')](_0x1973dd,_0x7dc35){const _0x435abb=this[_0x50ca('0x20')]['plugins']['get']('TrackChangesEditing');for(const _0x337f5b of _0x435abb[_0x50ca('0xd')]({'skipNotAttached':!0x0})){const _0x3bface=_0x337f5b[_0x50ca('0x12')]();if(_0x337f5b['subType']===_0x7dc35&&_0x3bface===_0x1973dd)return _0x337f5b;}return null;}}
23
+ const _0x28f6=['handleSuggestionDescription','tableBackgroundColor','handleDiscardAction','tableHeight','_descriptionFactory','table','formatBlock','format','_handlePropertyChange','subType','get','setAttribute','afterInit','tableCellBorderWidth','TablePropertiesEditing','commandParams','locale','TableUtils','registerDescriptionCallback','registerCustomCallback','tableCellBorderColor','TrackChangesEditing','tableProperties','_getSuggestion','change','join','*Format:*\x20change\x20table\x20properties','tableCellHorizontalAlignment','enableCommand','selection','_suggestionFactory','model','document','TableCellPropertiesEditing','plugins','tableAlignment','enqueueChange','discard','tableCellProperties','*Format:*\x20change\x20table\x20cell\x20properties','getSuggestions','editor','getAttribute','tableCellPadding','pluginName','TrackChangesTableProperties','tableCellHeight','getSuggestionCallback','tableWidth','data','tableCellWidth','accept','start','tableCellBorderStyle','has','markBlockFormat','getSelectionAffectedTableCells','batch'];(function(_0x5d019e,_0x28f60d){const _0x513d05=function(_0x18cc4f){while(--_0x18cc4f){_0x5d019e['push'](_0x5d019e['shift']());}};_0x513d05(++_0x28f60d);}(_0x28f6,0x1eb));const _0x513d=function(_0x5d019e,_0x28f60d){_0x5d019e=_0x5d019e-0x0;let _0x513d05=_0x28f6[_0x5d019e];return _0x513d05;};import{Plugin as _0x5bef3e}from'ckeditor5/src/core';import{getTranslation as _0x3e0f43}from'../utils/common-translations';export default class Dt extends _0x5bef3e{constructor(_0x196b85){super(_0x196b85),this[_0x513d('0x35')]=['tableBorderColor','tableBorderStyle','tableBorderWidth',_0x513d('0x8'),_0x513d('0x15'),_0x513d('0x22'),_0x513d('0x20')],this[_0x513d('0xb')]=[_0x513d('0x33'),_0x513d('0x1a'),_0x513d('0x2c'),_0x513d('0x10'),_0x513d('0x17'),_0x513d('0x13'),'tableCellBackgroundColor',_0x513d('0x0'),'tableCellVerticalAlignment'];}static get[_0x513d('0x11')](){return _0x513d('0x12');}[_0x513d('0x2b')](){const _0x41a1be=this[_0x513d('0xe')][_0x513d('0x7')][_0x513d('0x29')](_0x513d('0x34'));if(this[_0x513d('0xe')]['plugins']['has'](_0x513d('0x2d'))){for(const _0x3bf692 of this[_0x513d('0x35')])_0x41a1be[_0x513d('0x1')](_0x3bf692,(_0x3b8751,_0xa53bf)=>{const _0x151272=this[_0x513d('0xe')][_0x513d('0x4')][_0x513d('0x5')]['selection']['getFirstPosition']()['findAncestor'](_0x513d('0x24'));this[_0x513d('0x27')](_0x3bf692,[_0x151272],this[_0x513d('0x35')],_0x513d('0x35'),_0x3b8751,_0xa53bf);});_0x41a1be['_suggestionFactory'][_0x513d('0x32')](_0x513d('0x25'),'tableProperties',_0x513d('0x18'),_0x41a1be[_0x513d('0x3')][_0x513d('0x14')]('formatBlock',null,'discard')),_0x41a1be[_0x513d('0x3')][_0x513d('0x32')](_0x513d('0x25'),_0x513d('0x35'),_0x513d('0xa'),(_0x370f1f,_0x9d1e11)=>this[_0x513d('0x21')](this['tableProperties'],_0x370f1f,_0x9d1e11)),_0x41a1be[_0x513d('0x3')][_0x513d('0x32')](_0x513d('0x25'),_0x513d('0x35'),_0x513d('0x38'),()=>!0x1);}if(this[_0x513d('0xe')]['plugins'][_0x513d('0x1b')](_0x513d('0x6'))){for(const _0x21011b of this['tableCellProperties'])_0x41a1be[_0x513d('0x1')](_0x21011b,(_0xee5e41,_0x3b78a5)=>{const _0x434df7=this[_0x513d('0xe')][_0x513d('0x7')]['get'](_0x513d('0x30'))[_0x513d('0x1d')](this[_0x513d('0xe')][_0x513d('0x4')][_0x513d('0x5')][_0x513d('0x2')]);this['_handlePropertyChange'](_0x21011b,_0x434df7,this['tableCellProperties'],'tableCellProperties',_0xee5e41,_0x3b78a5);});_0x41a1be[_0x513d('0x3')][_0x513d('0x32')]('formatBlock',_0x513d('0xb'),_0x513d('0x18'),_0x41a1be[_0x513d('0x3')]['getSuggestionCallback'](_0x513d('0x25'),null,_0x513d('0xa'))),_0x41a1be[_0x513d('0x3')][_0x513d('0x32')](_0x513d('0x25'),_0x513d('0xb'),_0x513d('0xa'),(_0x2f709b,_0x1d0c02)=>this[_0x513d('0x21')](this[_0x513d('0xb')],_0x2f709b,_0x1d0c02)),_0x41a1be[_0x513d('0x3')][_0x513d('0x32')](_0x513d('0x25'),_0x513d('0xb'),_0x513d('0x38'),()=>!0x1);}_0x41a1be[_0x513d('0x23')][_0x513d('0x31')](_0x507f7e=>this[_0x513d('0x1f')](_0x507f7e));}[_0x513d('0x27')](_0x2aad90,_0x380f2b,_0x436a35,_0x960ffe,_0x47e07c,_0x289672){const _0x411c58=this[_0x513d('0xe')][_0x513d('0x7')][_0x513d('0x29')](_0x513d('0x34'));this[_0x513d('0xe')][_0x513d('0x4')][_0x513d('0x9')](_0x289672[_0x513d('0x1e')],()=>{for(const _0x465da4 of _0x380f2b){if(this[_0x513d('0x36')](_0x465da4,_0x960ffe))_0x47e07c(_0x289672);else{const _0xf096f={};for(const _0x1d1c22 of _0x436a35){const _0x1cc896=_0x465da4[_0x513d('0xf')](_0x1d1c22);void 0x0!==_0x1cc896&&(_0xf096f[_0x1d1c22]=_0x1cc896);}_0x47e07c(_0x289672),_0x411c58[_0x513d('0x1c')](_0x465da4,{'commandParams':[_0xf096f]},[],_0x960ffe);}}});}['handleDiscardAction'](_0x15ed2f,_0x5d10ce,_0x485ad1){const _0x2ade33=_0x5d10ce[0x0][_0x513d('0x19')]['nodeAfter'],_0x2f8273=_0x485ad1[_0x513d('0x2e')][0x0];this['editor']['model'][_0x513d('0x37')](_0x967bf3=>{for(const _0x23834f of _0x15ed2f)void 0x0!==_0x2f8273[_0x23834f]?_0x967bf3[_0x513d('0x2a')](_0x23834f,_0x2f8273[_0x23834f],_0x2ade33):_0x967bf3['removeAttribute'](_0x23834f,_0x2ade33);});}[_0x513d('0x1f')](_0x139858){if(_0x139858[_0x513d('0x16')])switch(_0x139858[_0x513d('0x28')]){case _0x513d('0x35'):return{'type':_0x513d('0x26'),'content':_0x3e0f43(this[_0x513d('0xe')][_0x513d('0x2f')],_0x513d('0x39'))};case _0x513d('0xb'):return{'type':_0x513d('0x26'),'content':_0x3e0f43(this[_0x513d('0xe')][_0x513d('0x2f')],_0x513d('0xc'))};}}[_0x513d('0x36')](_0x4d02f0,_0x1f3908){const _0x6321d5=this['editor'][_0x513d('0x7')]['get']('TrackChangesEditing');for(const _0x48653f of _0x6321d5[_0x513d('0xd')]({'skipNotAttached':!0x0})){const _0x38c9b8=_0x48653f['getContainedElement']();if(_0x48653f[_0x513d('0x28')]===_0x1f3908&&_0x38c9b8===_0x4d02f0)return _0x48653f;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4754=['plugins','get','has','enableCommand','editor','Template'];(function(_0x2d56d6,_0x475408){const _0x17a723=function(_0x1760e0){while(--_0x1760e0){_0x2d56d6['push'](_0x2d56d6['shift']());}};_0x17a723(++_0x475408);}(_0x4754,0x122));const _0x17a7=function(_0x2d56d6,_0x475408){_0x2d56d6=_0x2d56d6-0x0;let _0x17a723=_0x4754[_0x2d56d6];return _0x17a723;};import{Plugin as _0x564951}from'ckeditor5/src/core';export default class bt extends _0x564951{['afterInit'](){const _0x45a71a=this[_0x17a7('0x2')];_0x45a71a['plugins'][_0x17a7('0x0')](_0x17a7('0x3'))&&_0x45a71a[_0x17a7('0x4')][_0x17a7('0x5')]('TrackChangesEditing')[_0x17a7('0x1')]('insertTemplate');}}
23
+ const _0x16d7=['afterInit','insertTemplate','TrackChangesEditing','plugins','editor','enableCommand'];(function(_0x143b3d,_0x16d768){const _0x4593a6=function(_0x2ecb8e){while(--_0x2ecb8e){_0x143b3d['push'](_0x143b3d['shift']());}};_0x4593a6(++_0x16d768);}(_0x16d7,0xb9));const _0x4593=function(_0x143b3d,_0x16d768){_0x143b3d=_0x143b3d-0x0;let _0x4593a6=_0x16d7[_0x143b3d];return _0x4593a6;};import{Plugin as _0x2783c1}from'ckeditor5/src/core';export default class bt extends _0x2783c1{[_0x4593('0x1')](){const _0x1dc5f6=this[_0x4593('0x5')];_0x1dc5f6[_0x4593('0x4')]['has']('Template')&&_0x1dc5f6[_0x4593('0x4')]['get'](_0x4593('0x3'))[_0x4593('0x0')](_0x4593('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a7b=['plugins','has','createRange','document','ELEMENT_TITLE','schema','start','Title','TrackChangesEditing','model','isCollapsed','nodeBefore','removeMarker','_splitMarkerName','_descriptionFactory','end','element','title-content','suggestion','registerPostFixer','locale','isEqual','updateMarker','newRange'];(function(_0x599367,_0x2a7bb7){const _0x59d600=function(_0x5aa415){while(--_0x5aa415){_0x599367['push'](_0x599367['shift']());}};_0x59d600(++_0x2a7bb7);}(_0x2a7b,0x1dc));const _0x59d6=function(_0x599367,_0x2a7bb7){_0x599367=_0x599367-0x0;let _0x59d600=_0x2a7b[_0x599367];return _0x59d600;};import{Plugin as _0x593f54}from'ckeditor5/src/core';import{getTranslation as _0x33a197}from'../utils/common-translations';export default class It extends _0x593f54{['afterInit'](){const _0xfad708=this['editor'];if(!_0xfad708[_0x59d6('0x4')][_0x59d6('0x5')](_0x59d6('0xb')))return;const _0x42d2e6=_0xfad708[_0x59d6('0x4')]['get'](_0x59d6('0xc'));_0x42d2e6[_0x59d6('0x12')]['registerElementLabel'](_0x59d6('0x15'),()=>_0x33a197(_0xfad708[_0x59d6('0x0')],_0x59d6('0x8'))),_0xfad708[_0x59d6('0xd')][_0x59d6('0x7')][_0x59d6('0x17')](_0x4362c9=>{let _0x533b24=!0x1;const _0xae8b4f=Array['from'](_0xfad708['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5d678b,data:_0x52b844}of _0xae8b4f){const {group:_0x39de76}=_0x42d2e6[_0x59d6('0x11')](_0x5d678b);if(_0x59d6('0x16')!==_0x39de76||!_0x52b844['newRange'])continue;const _0x3a0bed=_0x52b844[_0x59d6('0x3')],_0x2fc0c9=_0x3a0bed['end'][_0x59d6('0xf')];if(!_0x2fc0c9||!_0x2fc0c9['is'](_0x59d6('0x14'),_0x59d6('0x15')))continue;if(!_0x3a0bed[_0x59d6('0xa')]['isTouching'](_0x3a0bed[_0x59d6('0x13')]))continue;const _0x2c1949=_0xfad708['model'][_0x59d6('0x9')]['getNearestSelectionRange'](_0x3a0bed[_0x59d6('0x13')],'forward');if(_0x2c1949&&_0x2c1949[_0x59d6('0xe')]){const _0x308ca6=_0x4362c9[_0x59d6('0x6')](_0x3a0bed[_0x59d6('0xa')],_0x2c1949[_0x59d6('0xa')]);_0x308ca6[_0x59d6('0x1')](_0x3a0bed)||(_0x4362c9[_0x59d6('0x2')](_0x5d678b,{'range':_0x308ca6}),_0x533b24=!0x0);}_0x533b24||(_0x4362c9[_0x59d6('0x10')](_0x5d678b),_0x533b24=!0x0);}return _0x533b24;});}}
23
+ const _0x3804=['createRange','TrackChangesEditing','isTouching','registerPostFixer','start','model','get','afterInit','forward','_splitMarkerName','end','isEqual','nodeBefore','suggestion','element','title-content','getNearestSelectionRange','newRange','document','Title','editor','has','getChangedMarkers','locale','schema','plugins','_descriptionFactory','from','updateMarker'];(function(_0x1d28f9,_0x380426){const _0x424e3e=function(_0x55948e){while(--_0x55948e){_0x1d28f9['push'](_0x1d28f9['shift']());}};_0x424e3e(++_0x380426);}(_0x3804,0xde));const _0x424e=function(_0x1d28f9,_0x380426){_0x1d28f9=_0x1d28f9-0x0;let _0x424e3e=_0x3804[_0x1d28f9];return _0x424e3e;};import{Plugin as _0x434cf8}from'ckeditor5/src/core';import{getTranslation as _0x212563}from'../utils/common-translations';export default class It extends _0x434cf8{[_0x424e('0x11')](){const _0x4abc4d=this[_0x424e('0x1')];if(!_0x4abc4d[_0x424e('0x6')][_0x424e('0x2')](_0x424e('0x0')))return;const _0x20b653=_0x4abc4d[_0x424e('0x6')][_0x424e('0x10')](_0x424e('0xb'));_0x20b653[_0x424e('0x7')]['registerElementLabel']('title-content',()=>_0x212563(_0x4abc4d[_0x424e('0x4')],'ELEMENT_TITLE')),_0x4abc4d[_0x424e('0xf')][_0x424e('0x1c')][_0x424e('0xd')](_0x4af016=>{let _0x4bada5=!0x1;const _0xd9e4f4=Array[_0x424e('0x8')](_0x4abc4d[_0x424e('0xf')]['document']['differ'][_0x424e('0x3')]());for(const {name:_0x258b9f,data:_0x4b68e5}of _0xd9e4f4){const {group:_0x45697e}=_0x20b653[_0x424e('0x13')](_0x258b9f);if(_0x424e('0x17')!==_0x45697e||!_0x4b68e5[_0x424e('0x1b')])continue;const _0x1e12e3=_0x4b68e5[_0x424e('0x1b')],_0x8c47e6=_0x1e12e3[_0x424e('0x14')][_0x424e('0x16')];if(!_0x8c47e6||!_0x8c47e6['is'](_0x424e('0x18'),_0x424e('0x19')))continue;if(!_0x1e12e3[_0x424e('0xe')][_0x424e('0xc')](_0x1e12e3['end']))continue;const _0x51eccd=_0x4abc4d[_0x424e('0xf')][_0x424e('0x5')][_0x424e('0x1a')](_0x1e12e3[_0x424e('0x14')],_0x424e('0x12'));if(_0x51eccd&&_0x51eccd['isCollapsed']){const _0x462ad=_0x4af016[_0x424e('0xa')](_0x1e12e3[_0x424e('0xe')],_0x51eccd[_0x424e('0xe')]);_0x462ad[_0x424e('0x15')](_0x1e12e3)||(_0x4af016[_0x424e('0x9')](_0x258b9f,{'range':_0x462ad}),_0x4bada5=!0x0);}_0x4bada5||(_0x4af016['removeMarker'](_0x258b9f),_0x4bada5=!0x0);}return _0x4bada5;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1000=['afterInit','redo','UndoEditing','has','get','editor','TrackChangesEditing','undo','enableCommand','plugins'];(function(_0x751cac,_0x100083){const _0x2788e4=function(_0x48a1ab){while(--_0x48a1ab){_0x751cac['push'](_0x751cac['shift']());}};_0x2788e4(++_0x100083);}(_0x1000,0x82));const _0x2788=function(_0x751cac,_0x100083){_0x751cac=_0x751cac-0x0;let _0x2788e4=_0x1000[_0x751cac];return _0x2788e4;};import{Plugin as _0x126241}from'ckeditor5/src/core';export default class vt extends _0x126241{[_0x2788('0x0')](){const _0x659ab=this[_0x2788('0x5')],_0x891d3e=_0x659ab[_0x2788('0x9')][_0x2788('0x4')](_0x2788('0x6'));_0x659ab['plugins'][_0x2788('0x3')](_0x2788('0x2'))&&(_0x891d3e['enableCommand'](_0x2788('0x7')),_0x891d3e[_0x2788('0x8')](_0x2788('0x1')));}}
23
+ const _0x1ac0=['undo','plugins','has','enableCommand','get'];(function(_0x26db62,_0x1ac010){const _0x5effeb=function(_0x498fe4){while(--_0x498fe4){_0x26db62['push'](_0x26db62['shift']());}};_0x5effeb(++_0x1ac010);}(_0x1ac0,0x107));const _0x5eff=function(_0x26db62,_0x1ac010){_0x26db62=_0x26db62-0x0;let _0x5effeb=_0x1ac0[_0x26db62];return _0x5effeb;};import{Plugin as _0x2a2a36}from'ckeditor5/src/core';export default class vt extends _0x2a2a36{['afterInit'](){const _0x12c0c9=this['editor'],_0x2eda6c=_0x12c0c9[_0x5eff('0x3')][_0x5eff('0x1')]('TrackChangesEditing');_0x12c0c9[_0x5eff('0x3')][_0x5eff('0x4')]('UndoEditing')&&(_0x2eda6c['enableCommand'](_0x5eff('0x2')),_0x2eda6c[_0x5eff('0x0')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b98=['isBlock','parent','insert','isAtEnd','ck-suggestion-marker-','toViewElement','markerName','item','plugins','createRangeOn','previousPosition','listItem','createUIElement','schema','listIndent','addHighlight','activeMarkers','element','markerRange','ck-suggestion-marker--active','hasAttribute','push','bindElementToMarker','get','writer','mapper','toViewPosition','isContent','name','model','start','addClass','nextSibling','TrackChangesEditing','getCustomProperty'];(function(_0x55237c,_0x3b98e0){const _0x3ffc9c=function(_0x3615b3){while(--_0x3615b3){_0x55237c['push'](_0x55237c['shift']());}};_0x3ffc9c(++_0x3b98e0);}(_0x3b98,0x7a));const _0x3ffc=function(_0x55237c,_0x3b98e0){_0x55237c=_0x55237c-0x0;let _0x3ffc9c=_0x3b98[_0x55237c];return _0x3ffc9c;};export function getRangesWithAttribute(_0x2ab884,_0x22b065,_0xe978e3){const _0x1c106b=[];for(const _0x411186 of _0x22b065['getItems']())_0x411186[_0x3ffc('0x3')](_0x2ab884)&&_0x1c106b[_0x3ffc('0x4')](_0xe978e3[_0x3ffc('0x1b')](_0x411186));return _0x1c106b;}export function getElementsAffectedByListItemRename(_0x35a82f){const _0x5a4b48=[];if(_0x35a82f['is'](_0x3ffc('0x0'),_0x3ffc('0x1d'))){let _0x49d0ba=_0x35a82f[_0x3ffc('0xf')];for(;_0x49d0ba&&_0x49d0ba['is'](_0x3ffc('0x0'),_0x3ffc('0x1d'))&&_0x49d0ba['getAttribute'](_0x3ffc('0x20'))>0x0;)_0x5a4b48['push'](_0x49d0ba),_0x49d0ba=_0x49d0ba[_0x3ffc('0xf')];}return _0x5a4b48;}export function downcastSplitMergeMarker(_0x385ecf,_0x3f00d0,{showActiveMarker:_0xb853c9=!0x0}={}){const _0x27b8ab=_0x385ecf[_0x3ffc('0x1a')][_0x3ffc('0x6')](_0x3ffc('0x10'));return(_0xcea62e,_0x195057,_0x49bd93)=>{if(!_0x49bd93['consumable']['test'](_0x195057[_0x3ffc('0x1')],_0xcea62e[_0x3ffc('0xb')]))return;const _0x1004ac=_0x195057[_0x3ffc('0x1')]['getWalker'](),_0x44a292=_0x195057[_0x3ffc('0x1')][_0x3ffc('0xd')],_0xa56ef5=_0x385ecf[_0x3ffc('0xc')][_0x3ffc('0x1f')];let _0x31fc10=null,_0x2bc863=null,_0x1e24d1=!0x1,_0x3609b4=!0x1;for(const _0x30c341 of _0x1004ac){const _0x380142=_0x30c341[_0x3ffc('0x19')];_0x1e24d1=_0x1e24d1||_0xa56ef5[_0x3ffc('0xa')](_0x380142);const _0x104e47=_0x49bd93['mapper'][_0x3ffc('0x17')](_0x380142);if(_0x104e47&&_0x104e47[_0x3ffc('0x11')](_0x3ffc('0x21')))return;'elementEnd'==_0x30c341['type']&&(_0xa56ef5[_0x3ffc('0x12')](_0x380142)&&!_0xa56ef5['isLimit'](_0x380142)&&(_0x380142[_0x3ffc('0xf')]||_0x44a292[_0x3ffc('0x15')]?_0x31fc10&&_0x31fc10[_0x3ffc('0x13')]==_0x380142||(_0x31fc10=_0x380142,_0x33beba(_0x30c341[_0x3ffc('0x1c')]),_0x3609b4=!0x0):_0x2bc863=_0x2bc863||_0x30c341['previousPosition']));}function _0x33beba(_0x316e1e){const _0x4e7ead=_0x49bd93[_0x3ffc('0x7')][_0x3ffc('0x1e')]('span',{'class':_0x3ffc('0x16')+_0x3f00d0}),_0x16c481=_0x49bd93[_0x3ffc('0x8')][_0x3ffc('0x9')](_0x316e1e);_0xb853c9&&_0x27b8ab[_0x3ffc('0x22')]['includes'](_0x195057[_0x3ffc('0x18')])&&_0x49bd93['writer'][_0x3ffc('0xe')](_0x3ffc('0x2'),_0x4e7ead),_0x49bd93[_0x3ffc('0x7')][_0x3ffc('0x14')](_0x16c481,_0x4e7ead),_0x49bd93['mapper'][_0x3ffc('0x5')](_0x4e7ead,_0x195057['markerName']);}_0x1e24d1||_0x3609b4||!_0x2bc863||_0x33beba(_0x2bc863);};}
23
+ const _0xd4a1=['TrackChangesEditing','elementEnd','start','includes','writer','consumable','parent','activeMarkers','item','ck-suggestion-marker--active','createUIElement','markerRange','nextSibling','previousPosition','addClass','isLimit','toViewPosition','getAttribute','hasAttribute','isAtEnd','ck-suggestion-marker-','type','markerName','element','mapper','plugins','addHighlight','insert','listItem','isContent','getCustomProperty','getItems','name','get','bindElementToMarker'];(function(_0x4a367b,_0xd4a1ae){const _0x62e0a3=function(_0xad913c){while(--_0xad913c){_0x4a367b['push'](_0x4a367b['shift']());}};_0x62e0a3(++_0xd4a1ae);}(_0xd4a1,0x19c));const _0x62e0=function(_0x4a367b,_0xd4a1ae){_0x4a367b=_0x4a367b-0x0;let _0x62e0a3=_0xd4a1[_0x4a367b];return _0x62e0a3;};export function getRangesWithAttribute(_0x36d55d,_0x547561,_0x54c129){const _0x3f597e=[];for(const _0x1115fc of _0x547561[_0x62e0('0x4')]())_0x1115fc[_0x62e0('0x1a')](_0x36d55d)&&_0x3f597e['push'](_0x54c129['createRangeOn'](_0x1115fc));return _0x3f597e;}export function getElementsAffectedByListItemRename(_0x326f8d){const _0x4134f4=[];if(_0x326f8d['is'](_0x62e0('0x1f'),_0x62e0('0x1'))){let _0xe0a9ba=_0x326f8d[_0x62e0('0x14')];for(;_0xe0a9ba&&_0xe0a9ba['is'](_0x62e0('0x1f'),_0x62e0('0x1'))&&_0xe0a9ba[_0x62e0('0x19')]('listIndent')>0x0;)_0x4134f4['push'](_0xe0a9ba),_0xe0a9ba=_0xe0a9ba[_0x62e0('0x14')];}return _0x4134f4;}export function downcastSplitMergeMarker(_0x387eb9,_0x5889ad,{showActiveMarker:_0x525e83=!0x0}={}){const _0x3233bd=_0x387eb9[_0x62e0('0x21')][_0x62e0('0x6')](_0x62e0('0x8'));return(_0x1e0eba,_0x51f08c,_0x5d0f44)=>{if(!_0x5d0f44[_0x62e0('0xd')]['test'](_0x51f08c[_0x62e0('0x13')],_0x1e0eba[_0x62e0('0x5')]))return;const _0x18ebb3=_0x51f08c['markerRange']['getWalker'](),_0x3e6c0d=_0x51f08c[_0x62e0('0x13')][_0x62e0('0xa')],_0x342e49=_0x387eb9['model']['schema'];let _0x28d9e9=null,_0x2b237a=null,_0x3a5b8c=!0x1,_0x4a5984=!0x1;for(const _0x202a56 of _0x18ebb3){const _0x117e07=_0x202a56[_0x62e0('0x10')];_0x3a5b8c=_0x3a5b8c||_0x342e49[_0x62e0('0x2')](_0x117e07);const _0x1c5b4c=_0x5d0f44[_0x62e0('0x20')]['toViewElement'](_0x117e07);if(_0x1c5b4c&&_0x1c5b4c[_0x62e0('0x3')](_0x62e0('0x22')))return;_0x62e0('0x9')==_0x202a56[_0x62e0('0x1d')]&&(_0x342e49['isBlock'](_0x117e07)&&!_0x342e49[_0x62e0('0x17')](_0x117e07)&&(_0x117e07[_0x62e0('0x14')]||_0x3e6c0d[_0x62e0('0x1b')]?_0x28d9e9&&_0x28d9e9[_0x62e0('0xe')]==_0x117e07||(_0x28d9e9=_0x117e07,_0x2f4278(_0x202a56['previousPosition']),_0x4a5984=!0x0):_0x2b237a=_0x2b237a||_0x202a56[_0x62e0('0x15')]));}function _0x2f4278(_0x30ccea){const _0x222e27=_0x5d0f44[_0x62e0('0xc')][_0x62e0('0x12')]('span',{'class':_0x62e0('0x1c')+_0x5889ad}),_0x4e59b5=_0x5d0f44['mapper'][_0x62e0('0x18')](_0x30ccea);_0x525e83&&_0x3233bd[_0x62e0('0xf')][_0x62e0('0xb')](_0x51f08c[_0x62e0('0x1e')])&&_0x5d0f44[_0x62e0('0xc')][_0x62e0('0x16')](_0x62e0('0x11'),_0x222e27),_0x5d0f44[_0x62e0('0xc')][_0x62e0('0x0')](_0x4e59b5,_0x222e27),_0x5d0f44[_0x62e0('0x20')][_0x62e0('0x7')](_0x222e27,_0x51f08c[_0x62e0('0x1e')]);}_0x3a5b8c||_0x4a5984||!_0x2b237a||_0x2f4278(_0x2b237a);};}