@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.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 (64) 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/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3789=['registerPostFixer','_getCoordsForCells','reduce','from','tableCellBorderStyle','newRange','createTableWalker','cell','columnInsertionRanges','getMarkers','type','element','row','requires','formatBlock','every','insertContent','markers','setAttributes','getChild','startsWith','insertionRanges','unwrap','getRanges','activeMarkers','join','markerToHighlight','fill','end','map','getColumns','TrackChangesEditing','ck-suggestion-marker','fromEntries','getSuggestion','for','entries','tableCellBorderWidth','plugins','tableCellSuggestion','root','document','createElement','tablePasteRow','tablePasteCell','editor','schema','endColumn','ck-suggestion-marker--active','Users','insertColumns','find','TableClipboard','tableCellHorizontalAlignment','markMultiRangeInsertion','insertRows','high','removeRows','last','low','first','_tablePostFixingSubtypes','documentSelection','attributes','getSuggestionCallback','view','add','conversion','get','getSelectionAffectedTableCells','length','registerDescriptionCallback','set','removeColumns','getTableIfOnlyTableInContent','cells','filter','getAttributes','$graveyard','tablePasteChainId','suggestionLoaded','change','getChanges','author','paragraph','insertion','options','insert','setAttribute','discard','oldRange','registerCustomCallback','editingDowncast','move','getSuggestions','markerName','position','keys','table','listenTo','rowInsertionIndexes','_descriptionFactory','getColumnIndexes','start','trackChanges','redo','remove','tablePasteColumn','suggestionUnloaded','suggestion:formatBlock:tablePasteCell','*Replace\x20table\x20cells*','_isForcedDefaultExecutionBlock','push','tablePaste','columns','tableCellPadding','content','afterInit','markMultiRangeDeletion','model','previous','tableCellBorderColor','stop','getItems','_createdBatches','return','accept','rowInsertionRanges','createRangeOn','getRange','commands','has','isEmpty','getChildren','deletionRanges','nextSibling','isInContent','_suggestionFactory','getAllAdjacentSuggestions','getContainedElement','batch','differ','elementToElement','findAncestor','createPositionBefore','includes','hasSuggestion','getRows','tableCellBackgroundColor','ck-suggestion-marker-insertion','previousSibling','markerAttributes','next','_replaceTableSlotCell','removeMarkers','_splitMarkerName','editing','deletion','isEqual','suggestion','getChangedMarkers','endRow','createRangeIn','register','removeMarker','dataDowncast','updateMarker','tableCell','tableCellVerticalAlignment','nodeAfter','subType','columnInsertionIndexes','suggestion-td','name','selection'];(function(_0x2b5fa4,_0x37894e){const _0x3331d3=function(_0x2c4b99){while(--_0x2c4b99){_0x2b5fa4['push'](_0x2b5fa4['shift']());}};_0x3331d3(++_0x37894e);}(_0x3789,0x11a));const _0x3331=function(_0x2b5fa4,_0x37894e){_0x2b5fa4=_0x2b5fa4-0x0;let _0x3331d3=_0x3789[_0x2b5fa4];return _0x3331d3;};import{getTranslation as _0x2d5d59}from'../utils/common-translations';import{Plugin as _0xa64c90}from'ckeditor5/src/core';import{uid as _0x4d2a50,priorities as _0x25db8e}from'ckeditor5/src/utils';import _0x523f05 from'./table';const le=[_0x3331('0x69'),_0x3331('0xe'),_0x3331('0x48'),_0x3331('0x79'),_0x3331('0x3d'),_0x3331('0x29'),_0x3331('0x8')],ae=Object[_0x3331('0x65')](le[_0x3331('0x61')](_0x3ce8c5=>[_0x3ce8c5,null]));export default class kt extends _0xa64c90{static get[_0x3331('0x51')](){return[_0x523f05];}[_0x3331('0xa')](){const _0x1be1f8=this[_0x3331('0x71')];if(!_0x1be1f8[_0x3331('0x6a')]['has'](_0x3331('0x78')))return;const _0x41963f=_0x1be1f8[_0x3331('0x6a')][_0x3331('0x88')](_0x3331('0x63')),_0x5f0e6d=_0x1be1f8[_0x3331('0x6a')][_0x3331('0x88')]('TableUtils'),_0x4ca314=_0x1be1f8['plugins']['get'](_0x523f05),_0x4530fc=_0x1be1f8[_0x3331('0x6a')][_0x3331('0x88')](_0x3331('0x78'));_0x4ca314[_0x3331('0x81')]['push'](_0x3331('0x6f'),'tablePasteColumn'),_0x1be1f8['model'][_0x3331('0x72')][_0x3331('0x38')](_0x3331('0x6b'),{'allowIn':_0x3331('0x3c'),'allowContentOf':_0x3331('0x3c'),'isLimit':!0x0}),_0x1be1f8['conversion'][_0x3331('0x23')]({'model':_0x3331('0x6b'),'view':_0x3331('0x41')});let _0x2ae133=null;_0x1be1f8['model']['on'](_0x3331('0x54'),(_0x1f92d8,_0x3571de)=>{const [_0x4393d4,_0x3ba189]=_0x3571de,_0x43cb97=_0x3571de[_0x3571de[_0x3331('0x8a')]-0x1];_0x43cb97&&_0x43cb97['forceDefaultExecution']||_0x41963f[_0x3331('0x4')]||this[_0x3331('0x71')][_0x3331('0x17')]['get'](_0x3331('0xac'))['value']&&function(_0x1e55af,_0x2eaa2a,_0x2a58ec,_0x35ea5d,_0x1d5a00){if(_0x2eaa2a&&!_0x2eaa2a['is'](_0x3331('0x82')))return!0x1;const _0x174770=_0x1d5a00[_0x3331('0x8e')](_0x1e55af,_0x2a58ec);if(!_0x174770||!fe(_0x174770,void 0x0,_0x35ea5d))return!0x1;const _0x31ce8e=_0x35ea5d[_0x3331('0x89')](_0x2a58ec[_0x3331('0x6d')][_0x3331('0x43')]);if(!_0x31ce8e['length'])return!0x1;const _0x5a9359=_0x31ce8e[0x0][_0x3331('0x24')]('table'),_0x210cb7=_0x35ea5d['getRowIndexes'](_0x31ce8e),_0x55f02d=_0x35ea5d[_0x3331('0xaa')](_0x31ce8e),_0x30fe5f={'startRow':_0x210cb7[_0x3331('0x80')],'endRow':_0x210cb7['last'],'startColumn':_0x55f02d[_0x3331('0x80')],'endColumn':_0x55f02d[_0x3331('0x7e')]};return 0x1==_0x31ce8e[_0x3331('0x8a')]&&(_0x30fe5f[_0x3331('0x36')]+=_0x35ea5d[_0x3331('0x28')](_0x174770)-0x1,_0x30fe5f[_0x3331('0x73')]+=_0x35ea5d[_0x3331('0x62')](_0x174770)-0x1),fe(_0x5a9359,_0x30fe5f,_0x35ea5d);}(_0x4393d4,_0x3ba189,_0x1be1f8['model'],_0x5f0e6d,_0x4530fc)&&(_0x1f92d8[_0x3331('0xf')](),_0x2ae133={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1be1f8['model']['change'](()=>{_0x1be1f8[_0x3331('0xc')][_0x3331('0x54')](_0x3571de[0x0],_0x3571de[0x1],_0x3571de[0x2],{'forceDefaultExecution':!0x0});const _0x3dd128=_0x4d2a50(),{rowInsertionRanges:_0xf2da47,columnInsertionRanges:_0x307e00,insertionRanges:_0x477ae8,deletionRanges:_0x54a39b,cells:_0x4323c8}=_0x2ae133;_0xf2da47[_0x3331('0x8a')]&&_0x41963f[_0x3331('0x7a')](_0xf2da47,_0x3331('0x6f'),{'tablePasteChainId':_0x3dd128}),_0x307e00[_0x3331('0x8a')]&&_0x41963f[_0x3331('0x7a')](_0x307e00,'tablePasteColumn',{'tablePasteChainId':_0x3dd128}),_0x477ae8[_0x3331('0x8a')]&&_0x41963f[_0x3331('0x7a')](_0x477ae8,_0x3331('0x6'),{'tablePasteChainId':_0x3dd128,'skipNestingCheck':!0x0}),_0x54a39b['length']&&_0x41963f[_0x3331('0xb')](_0x54a39b,_0x3331('0x6'),{'tablePasteChainId':_0x3dd128,'skipNestingCheck':!0x0});const _0x586a22=_0x41963f['markMultiRangeBlockFormat'](_0x4323c8[_0x3331('0x61')](({element:_0x3dd7e8})=>_0x3dd7e8),{'formatGroupId':_0x4d2a50()},[],_0x3331('0x70'),{'tablePasteChainId':_0x3dd128});if(_0x586a22){const _0x376d9a=_0x586a22[_0x3331('0x4d')](),_0x484d37=[];for(const {element:_0x3814e7,attributes:_0x3bee3c}of _0x4323c8){if(!_0x3bee3c)continue;const _0x5c016d=_0x1be1f8[_0x3331('0xc')][_0x3331('0x15')](_0x3814e7),_0x1ad220=_0x376d9a[_0x3331('0x77')](_0xd9aa3=>_0xd9aa3[_0x3331('0x16')]()['isEqual'](_0x5c016d));_0x1ad220&&_0x484d37['push']([_0x1ad220[_0x3331('0x42')],_0x3bee3c]);}_0x484d37[_0x3331('0x8a')]&&_0x586a22[_0x3331('0x9c')]('markerAttributes',Object[_0x3331('0x65')](_0x484d37));}_0x2ae133=null;}));},{'priority':_0x25db8e[_0x3331('0x7c')]+0xa}),_0x1be1f8['plugins'][_0x3331('0x88')](_0x3331('0x78'))['on'](_0x3331('0x2e'),(_0x5e9150,_0x147962)=>{const [_0x4a2369,_0x53a4c9,,_0x4fcbca]=_0x147962;if(!_0x2ae133)return;_0x5e9150['stop']();const _0x44bf5a=_0x4a2369[_0x3331('0x4b')],_0x417a97=_0x53a4c9,_0x4a35f3=ce(_0x44bf5a),_0x2d35a3=ce(_0x417a97);_0x5e9150[_0x3331('0x12')]=_0x44bf5a;let _0x33e493=null,_0x45e066=null;if(_0x2d35a3||_0x4a35f3){if(_0x4a35f3&&!_0x2d35a3){_0x4fcbca[_0x3331('0xae')](_0x44bf5a[_0x3331('0x57')](0x0));for(const _0xefe8ec of Array[_0x3331('0x47')](_0x417a97[_0x3331('0x1a')]()))_0x4fcbca['insert'](_0xefe8ec,_0x44bf5a,_0x3331('0x60'));const _0x58bc66=_0x2ae133[_0x3331('0xa8')]['includes'](_0x4a2369[_0x3331('0x50')]),_0x436c9d=_0x2ae133[_0x3331('0x40')][_0x3331('0x26')](_0x4a2369['column']);_0x58bc66||_0x436c9d||(_0x33e493=_0x4fcbca[_0x3331('0x37')](_0x44bf5a));}else _0x2d35a3&&!_0x4a35f3&&(_0x45e066=_0x4fcbca[_0x3331('0x37')](_0x44bf5a));}else{const _0x33dee5=_0x4fcbca[_0x3331('0x6e')](_0x3331('0x6b')),_0x5d4aad=_0x4fcbca['createElement']('tableCellSuggestion');_0x4fcbca['wrap'](_0x4fcbca[_0x3331('0x37')](_0x44bf5a),_0x5d4aad),_0x4fcbca[_0x3331('0x9b')](_0x33dee5,_0x44bf5a,0x0);for(const _0x4cb0a9 of Array[_0x3331('0x47')](_0x417a97[_0x3331('0x1a')]()))_0x4fcbca['insert'](_0x4cb0a9,_0x33dee5,_0x3331('0x60'));_0x33e493=_0x4fcbca[_0x3331('0x15')](_0x33dee5),_0x45e066=_0x4fcbca['createRangeOn'](_0x5d4aad);}const _0x1fe99e=Array[_0x3331('0x47')](_0x417a97[_0x3331('0x91')]())[_0x3331('0x90')](([_0xb19faf])=>le[_0x3331('0x26')](_0xb19faf));_0x2ae133['cells'][_0x3331('0x5')]({'element':_0x44bf5a,'attributes':_0x1fe99e[_0x3331('0x8a')]?Object[_0x3331('0x65')](_0x1fe99e):null}),_0x33e493&&_0x2ae133[_0x3331('0x59')][_0x3331('0x5')](_0x33e493),_0x45e066&&_0x2ae133[_0x3331('0x1b')][_0x3331('0x5')](_0x45e066);},{'priority':_0x3331('0x7c')}),_0x5f0e6d['on'](_0x3331('0x76'),(_0x3880cf,_0x2b0eb9)=>{const [_0x200524,_0x28a450={}]=_0x2b0eb9;if(!_0x2ae133)return;const _0x3994d0=_0x28a450['at']||0x0,_0x22ab4f=_0x28a450[_0x3331('0x7')]||0x1;_0x2ae133[_0x3331('0x40')]=new Array(_0x22ab4f)['fill'](_0x3994d0)[_0x3331('0x61')]((_0x592b1f,_0x457b03)=>_0x592b1f+_0x457b03);for(const {cell:_0xc9d322}of _0x5f0e6d[_0x3331('0x4a')](_0x200524,{'startColumn':_0x3994d0,'endColumn':_0x3994d0+_0x22ab4f-0x1}))_0x2ae133[_0x3331('0x4c')][_0x3331('0x5')](_0x1be1f8[_0x3331('0xc')][_0x3331('0x15')](_0xc9d322));},{'priority':'low'}),_0x5f0e6d['on'](_0x3331('0x7b'),(_0x581e75,_0x39ff32)=>{const [_0x3bd2d4,_0x57471d={}]=_0x39ff32;if(!_0x2ae133)return;const _0x3f8e73=_0x57471d['at']||0x0,_0x480768=_0x57471d['rows']||0x1;_0x2ae133['rowInsertionIndexes']=new Array(_0x480768)[_0x3331('0x5f')](_0x3f8e73)['map']((_0x2cdb81,_0x4289e2)=>_0x2cdb81+_0x4289e2);for(const {cell:_0x15ac76}of _0x5f0e6d[_0x3331('0x4a')](_0x3bd2d4,{'startRow':_0x3f8e73,'endRow':_0x3f8e73+_0x480768-0x1}))_0x2ae133[_0x3331('0x14')][_0x3331('0x5')](_0x1be1f8[_0x3331('0xc')][_0x3331('0x15')](_0x15ac76));},{'priority':_0x3331('0x7f')}),_0x41963f[_0x3331('0xa9')][_0x3331('0x8b')](_0x88aa72=>{if(_0x88aa72[_0x3331('0x3f')]&&_0x88aa72[_0x3331('0x3f')][_0x3331('0x58')]('tablePaste'))return _0x88aa72[_0x3331('0xd')]?{}:{'type':_0x3331('0x99'),'content':_0x2d5d59(_0x1be1f8['locale'],_0x3331('0x3'))};});const _0x2da9d0=()=>{};for(const _0x44721a of[_0x3331('0x6'),'tablePasteColumn',_0x3331('0x6f'),_0x3331('0x70')])_0x41963f['_suggestionFactory'][_0x3331('0x9f')](_0x3331('0x99'),_0x44721a,_0x3331('0x5d'),_0x2da9d0),_0x41963f['_suggestionFactory'][_0x3331('0x9f')]('deletion',_0x44721a,_0x3331('0x5d'),_0x2da9d0);_0x41963f[_0x3331('0x1e')]['registerCustomCallback']('formatBlock','tablePasteCell',_0x3331('0x9d'),_0x2da9d0),_0x41963f[_0x3331('0x1e')]['registerCustomCallback'](_0x3331('0x52'),_0x3331('0x70'),_0x3331('0x13'),(_0x4c2d7e,_0x28aeb5,_0x2939f7)=>{const _0x5b8769=_0x4c2d7e['map'](_0x59c65e=>_0x59c65e[_0x3331('0x20')]())[_0x3331('0x90')](_0x54c4d3=>_0x54c4d3),_0x58d486=new Map(_0x5b8769[_0x3331('0x61')](_0x23f1e3=>[_0x23f1e3,null]));if(_0x2ae133)for(const {element:_0x3d89d3,attributes:_0x4e2950}of _0x2ae133[_0x3331('0x8f')])_0x4e2950&&_0x58d486['set'](_0x3d89d3,_0x4e2950);else{if(_0x2939f7&&_0x2939f7['markerAttributes'])for(const [_0x135f79,_0x18fa4e]of Object[_0x3331('0x68')](_0x2939f7[_0x3331('0x2c')])){const _0x3cd177=_0x1be1f8['model'][_0x3331('0x55')]['get'](_0x135f79),_0x513180=_0x3cd177?_0x3cd177[_0x3331('0x16')]()[_0x3331('0x20')]():null;_0x513180&&_0x58d486[_0x3331('0x8c')](_0x513180,_0x18fa4e);}}_0x1be1f8[_0x3331('0xc')][_0x3331('0x95')](_0x1b2e45=>{for(const [_0x4703b8,_0x1cd12a]of _0x58d486)_0x1b2e45[_0x3331('0x56')]({...ae,..._0x1cd12a},_0x4703b8);});});const _0x31c7ff=(_0xe758d8,_0x21f29d)=>{_0x41963f[_0x3331('0x1e')][_0x3331('0x9f')](_0xe758d8,'tablePaste',_0x21f29d,(_0x1b5c53,_0x361ae0,_0x59db61)=>{_0x1be1f8[_0x3331('0xc')][_0x3331('0x95')](_0x22e8f5=>{const _0x41fd67=[];for(const _0x52d504 of _0x1b5c53){const _0x222a1b=_0x52d504[_0x3331('0xab')][_0x3331('0x3e')];_0x222a1b['is']('element',_0x3331('0x6b'))&&_0x41fd67[_0x3331('0x5')](_0x222a1b);}_0x41963f[_0x3331('0x1e')][_0x3331('0x84')](_0xe758d8,null,_0x21f29d)(_0x1b5c53,_0x361ae0,_0x59db61);for(const _0x49ed68 of _0x41fd67)_0x3331('0x92')!=_0x49ed68[_0x3331('0x6c')]['rootName']&&_0x22e8f5[_0x3331('0x5a')](_0x49ed68);});});};_0x31c7ff(_0x3331('0x99'),'accept'),_0x31c7ff('insertion',_0x3331('0x9d')),_0x31c7ff(_0x3331('0x32'),_0x3331('0x13')),_0x31c7ff('deletion','discard'),_0x41963f[_0x3331('0x1e')][_0x3331('0x9f')](_0x3331('0x99'),_0x3331('0x6f'),_0x3331('0x9d'),_0x4c31a7=>{const _0x326605=_0x4c31a7[_0x3331('0x61')](_0x29ec21=>_0x29ec21[_0x3331('0x20')]()),_0x297eed=_0x326605[0x0][_0x3331('0x24')](_0x3331('0xa6')),{minRow:_0x5ec879,maxRow:_0x4af109}=_0x4ca314['_getCoordsForCells'](_0x326605);_0x5f0e6d[_0x3331('0x7d')](_0x297eed,{'at':_0x5ec879,'rows':_0x4af109-_0x5ec879+0x1});}),_0x41963f[_0x3331('0x1e')][_0x3331('0x9f')](_0x3331('0x99'),_0x3331('0x0'),'discard',_0x1e955c=>{const _0x45b93a=_0x1e955c[_0x3331('0x61')](_0x128392=>_0x128392[_0x3331('0x20')]()),_0x15d4a2=_0x45b93a[0x0][_0x3331('0x24')](_0x3331('0xa6')),{minColumn:_0x2d5f99,maxColumn:_0x40a376}=_0x4ca314[_0x3331('0x45')](_0x45b93a);_0x5f0e6d[_0x3331('0x8d')](_0x15d4a2,{'at':_0x2d5f99,'columns':_0x40a376-_0x2d5f99+0x1});});const _0x52a520=(_0x39dd2b,_0xe0e35a)=>{if(!_0xe0e35a[_0x3331('0x3f')]||!_0xe0e35a[_0x3331('0x3f')][_0x3331('0x58')](_0x3331('0x6')))return;const _0xaf947c=_0xe0e35a[_0x3331('0x83')][_0x3331('0x93')],_0x5600d5=_0x41963f[_0x3331('0xa2')]()[_0x3331('0x90')](_0xbd2075=>_0xbd2075[_0x3331('0x1d')]&&_0xbd2075[_0x3331('0x83')]&&_0xbd2075['attributes']['tablePasteChainId']==_0xaf947c);_0x5600d5['length']&&_0xe0e35a['getAllAdjacentSuggestions']()[_0x3331('0x8a')]!=_0x5600d5[_0x3331('0x8a')]&&_0x5600d5[_0x3331('0x46')]((_0x48616f,_0xe9b7ac)=>(_0x48616f[_0x3331('0x2d')]=_0xe9b7ac,_0xe9b7ac[_0x3331('0xd')]=_0x48616f,_0xe9b7ac));};function _0x52724b(_0x5cfef5,_0x578957=!0x0){const {id:_0x2eaab2}=_0x41963f[_0x3331('0x30')](_0x5cfef5['markerName']),_0x20998b=[_0x3331('0x64'),_0x3331('0x2a')],_0x2e46d8=_0x41963f[_0x3331('0x5c')][_0x3331('0x26')](_0x5cfef5[_0x3331('0xa3')]);return _0x2e46d8&&_0x20998b[_0x3331('0x5')](_0x3331('0x74')),{'classes':_0x20998b,'attributes':{'data-suggestion':_0x2eaab2},'priority':_0x2e46d8&&_0x578957?0xbc2:0xbb8};}_0x41963f['on'](_0x3331('0x94'),_0x52a520,{'priority':_0x3331('0x7c')}),_0x41963f['on'](_0x3331('0x1'),_0x52a520,{'priority':_0x3331('0x7c')}),_0x1be1f8[_0x3331('0xc')][_0x3331('0x6d')]['registerPostFixer'](()=>{let _0xef31ba=!0x1;const _0x27d61f=Array[_0x3331('0x47')](_0x1be1f8[_0x3331('0xc')][_0x3331('0x6d')][_0x3331('0x22')][_0x3331('0x35')]());for(const {name:_0x57f5e9,data:_0x46e625}of _0x27d61f){const {group:_0x238df0,type:_0x58d8e1,id:_0x76ddad}=_0x41963f[_0x3331('0x30')](_0x57f5e9);if(_0x3331('0x34')!=_0x238df0||'deletion'!=_0x58d8e1||_0x46e625[_0x3331('0x9e')])continue;if(!_0x41963f[_0x3331('0x27')](_0x76ddad))continue;const _0x991e5e=_0x41963f[_0x3331('0x66')](_0x76ddad)[_0x3331('0x5b')](),_0x1c4d24=_0x1be1f8[_0x3331('0x6a')]['get']('Users')['me'];for(const _0x30ca16 of _0x41963f[_0x3331('0xa2')]()){if(!_0x30ca16[_0x3331('0x1d')]||_0x30ca16[_0x3331('0x97')]!=_0x1c4d24)continue;if(_0x3331('0x52')!=_0x30ca16[_0x3331('0x4e')]||_0x3331('0x70')!=_0x30ca16['subType'])continue;if(_0x30ca16['getRanges']()[_0x3331('0x53')](_0x5b686f=>_0x991e5e['some'](_0x1453e8=>_0x1453e8['containsRange'](_0x5b686f,!0x0))))for(const _0x1ee39b of _0x30ca16[_0x3331('0x1f')]())_0x1ee39b[_0x3331('0x1d')]&&(_0x1ee39b['discard'](),_0xef31ba=!0x0);}}return _0xef31ba;}),_0x1be1f8[_0x3331('0xc')][_0x3331('0x6d')][_0x3331('0x44')](_0x3fe7c5=>{const _0x53cf6b=_0x1be1f8[_0x3331('0x17')][_0x3331('0x88')](_0x3331('0xad'));if(!_0x53cf6b||!_0x53cf6b[_0x3331('0x11')][_0x3331('0x18')](_0x3fe7c5[_0x3331('0x21')]))return!0x1;let _0xa935b4=!0x1;const _0x448e28=_0x1be1f8[_0x3331('0x6a')][_0x3331('0x88')](_0x3331('0x75'))['me'],_0x3e704e=_0x1be1f8['model'][_0x3331('0x6d')][_0x3331('0x22')][_0x3331('0x96')](),_0xff84cc=Array[_0x3331('0x47')](_0x1be1f8['model']['document'][_0x3331('0x22')][_0x3331('0x35')]())[_0x3331('0x90')](({name:_0x2d6584,data:_0x1f2062})=>{const {group:_0x243510,subType:_0x5b42d9,authorId:_0xb297e0}=_0x41963f[_0x3331('0x30')](_0x2d6584);return _0x3331('0x34')==_0x243510&&_0x3331('0x6')==_0x5b42d9&&_0xb297e0==_0x448e28['id']&&!_0x1f2062[_0x3331('0x9e')];});for(const _0x572a70 of _0x3e704e){if(_0x3331('0x9b')!=_0x572a70[_0x3331('0x4e')]||_0x3331('0x6b')!=_0x572a70['name']||0x1!=_0x572a70['length'])continue;const _0x531165=_0x3fe7c5['createRange'](_0x572a70[_0x3331('0xa4')],_0x572a70[_0x3331('0xa4')]['getShiftedBy'](0x1));if(!_0xff84cc['find'](({data:_0x46b824})=>_0x46b824[_0x3331('0x49')][_0x3331('0x33')](_0x531165)))for(const {name:_0x51e175,data:_0x265d62}of _0xff84cc)if(_0x531165['containsRange'](_0x265d62[_0x3331('0x49')])){_0x3fe7c5[_0x3331('0x3b')](_0x51e175,{'range':_0x531165}),_0xa935b4=!0x0;break;}}return _0xa935b4;}),_0x1be1f8['model'][_0x3331('0x6d')]['registerPostFixer'](_0xc1c2e2=>{let _0x49596d=!0x1;const _0x4170ac=_0x1be1f8[_0x3331('0x6a')]['get'](_0x3331('0x75'))['me'],_0x4dce32=_0x41963f[_0x3331('0xa2')]()[_0x3331('0x90')](_0x442419=>_0x442419['isInContent']&&_0x442419[_0x3331('0x97')]==_0x4170ac),_0x59bf5c=new Set(),_0x43f791=new Set();for(const _0x35198c of _0x4dce32)if(_0x3331('0x6')==_0x35198c[_0x3331('0x3f')])for(const _0x4eea82 of _0x35198c['getMarkers']()){const _0x91df53=_0x4eea82['getRange']()[_0x3331('0x20')]();if(_0x91df53){if(_0x91df53['is'](_0x3331('0x4f'),'tableCellSuggestion')&&ce(_0x91df53)){_0x35198c[_0x3331('0x39')](_0x4eea82[_0x3331('0x42')]),_0x59bf5c[_0x3331('0x86')](_0x91df53),_0x49596d=!0x0;const _0x5c8a0e=_0x91df53[_0x3331('0x1c')],_0x13cd7e=_0x91df53[_0x3331('0x2b')],_0x1e0174=_0x5c8a0e&&_0x5c8a0e['is'](_0x3331('0x4f'),_0x3331('0x6b')),_0x6fe74d=_0x13cd7e&&_0x13cd7e['is'](_0x3331('0x4f'),_0x3331('0x6b'));_0x1e0174&&!_0x59bf5c[_0x3331('0x18')](_0x5c8a0e)&&_0x43f791[_0x3331('0x86')](_0x5c8a0e),_0x6fe74d&&!_0x59bf5c[_0x3331('0x18')](_0x13cd7e)&&_0x43f791['add'](_0x13cd7e);}else _0x91df53['is'](_0x3331('0x4f'),_0x3331('0x98'))&&_0x91df53[_0x3331('0x19')]&&(_0x35198c['removeMarker'](_0x4eea82['name']),_0x49596d=!0x0);}}else{if('tablePasteCell'==_0x35198c[_0x3331('0x3f')]){if(!_0x35198c[_0x3331('0x83')]||!_0x35198c[_0x3331('0x83')][_0x3331('0x93')])continue;const _0x40bcd3=_0x35198c[_0x3331('0x83')][_0x3331('0x2c')];if(_0x40bcd3&&Object[_0x3331('0xa5')](_0x40bcd3)['length'])continue;const _0x52711e=_0x35198c[_0x3331('0x83')][_0x3331('0x93')];let _0xb4699c=!0x0,_0x169f24=!0x0;for(const _0x11f130 of _0x4dce32)if(_0x11f130[_0x3331('0x3f')]&&_0x11f130[_0x3331('0x3f')][_0x3331('0x58')]('tablePaste')){if(!_0x11f130[_0x3331('0x83')][_0x3331('0x93')]){_0x169f24=!0x1;break;}if(_0x11f130['id']!=_0x35198c['id']&&_0x11f130[_0x3331('0x83')][_0x3331('0x93')]==_0x52711e){_0xb4699c=!0x1;break;}}_0x169f24&&_0xb4699c&&(_0x35198c[_0x3331('0x2f')](),_0x49596d=!0x0);}}for(const _0x38c43a of _0x59bf5c)_0xc1c2e2['remove'](_0x38c43a);for(const _0x3b5e11 of _0x43f791)_0xc1c2e2[_0x3331('0x5a')](_0x3b5e11);return _0x49596d;}),_0x1be1f8[_0x3331('0x87')][_0x3331('0x67')](_0x3331('0xa0'))['markerToHighlight']({'model':_0x3331('0x2'),'view':(_0x19f34a,_0x35d953)=>_0x52724b(_0x19f34a),'converterPriority':'high'}),_0x1be1f8[_0x3331('0x87')][_0x3331('0x67')](_0x3331('0x3a'))[_0x3331('0x5e')]({'model':_0x3331('0x2'),'view':(_0xdd62e4,_0x1b110b)=>_0x1b110b[_0x3331('0x9a')]['showSuggestionHighlights']?_0x52724b(_0xdd62e4,!0x1):null,'converterPriority':_0x3331('0x7c')});const _0x5b763a=_0x1be1f8[_0x3331('0x31')][_0x3331('0x85')];this[_0x3331('0xa7')](_0x5b763a[_0x3331('0x6d')],'clipboardOutput',(_0x294140,_0x54cf5f)=>{const _0x31885f=[];for(const _0x2826b5 of _0x5b763a[_0x3331('0x37')](_0x54cf5f[_0x3331('0x9')])[_0x3331('0x10')]())_0x2826b5['is'](_0x3331('0x4f'),_0x3331('0x41'))&&_0x31885f[_0x3331('0x5')](_0x2826b5);_0x5b763a[_0x3331('0x95')](_0x3576d3=>{for(const _0x393953 of _0x31885f)_0x3576d3[_0x3331('0xa1')](_0x3576d3[_0x3331('0x37')](_0x393953),_0x3576d3[_0x3331('0x25')](_0x393953)),_0x3576d3[_0x3331('0xae')](_0x393953);});});}}function ce(_0x558694){if(_0x558694[_0x3331('0x19')])return!0x0;const _0x16e66a=_0x558694['getChild'](0x0);return _0x16e66a['is']('element','paragraph')&&_0x16e66a[_0x3331('0x19')];}function fe(_0x1203ed,_0x5662f5={},_0x4e9173){for(const {isAnchor:_0x3e9e24,cellHeight:_0x49141c,cellWidth:_0x471779}of _0x4e9173['createTableWalker'](_0x1203ed,{'includeAllSlots':!0x0,..._0x5662f5}))if(!_0x3e9e24||0x1!=_0x49141c||0x1!=_0x471779)return!0x1;return!0x0;}
23
+ const _0x4ce8=['some','tableCellHorizontalAlignment','for','low','$graveyard','subType','requires','fill','createPositionBefore','getRanges','removeColumns','insertion','setAttributes','getRange','getContainedElement','markers','tablePasteRow','deletion','showSuggestionHighlights','suggestion-td','conversion','name','elementToElement','insert','cell','startsWith','TrackChangesEditing','columnInsertionIndexes','formatBlock','getItems','forceDefaultExecution','unwrap','removeMarker','tableCellBorderWidth','getSuggestions','rowInsertionIndexes','Users','discard','suggestion','selection','join','createElement','updateMarker','ck-suggestion-marker--active','column','registerCustomCallback','getChild','insertionRanges','has','markerToHighlight','getSelectionAffectedTableCells','getChangedMarkers','attributes','batch','register','end','createTableWalker','move','_getCoordsForCells','redo','newRange','locale','TableClipboard','_suggestionFactory','from','fromEntries','tableCellBorderColor','createRangeOn','tablePasteCell','tableCellSuggestion','stop','commands','get','getTableIfOnlyTableInContent','suggestion:formatBlock:tablePasteCell','insertContent','clipboardOutput','createRangeIn','paragraph','endRow','change','author','findAncestor','getRowIndexes','accept','getAllAdjacentSuggestions','editor','columns','content','keys','find','tablePasteChainId','getChildren','every','position','rowInsertionRanges','isInContent','push','TableUtils','listenTo','suggestionUnloaded','previous','high','remove','markMultiRangeBlockFormat','markMultiRangeInsertion','getShiftedBy','first','hasSuggestion','getChanges','*Replace\x20table\x20cells*','cells','documentSelection','tablePaste','oldRange','filter','isEmpty','tableCell','tableCellBorderStyle','type','createRange','markerAttributes','tableCellPadding','tableCellBackgroundColor','markMultiRangeDeletion','includes','wrap','table','getMarkers','setAttribute','trackChanges','_isForcedDefaultExecutionBlock','document','tablePasteColumn','removeMarkers','model','add','map','length','isEqual','plugins','insertColumns','registerPostFixer','_splitMarkerName','ck-suggestion-marker-insertion','last','reduce','suggestionLoaded','getColumns','row','deletionRanges','element','previousSibling','ck-suggestion-marker','afterInit','rows','differ','set','columnInsertionRanges','getAttributes','markerName'];(function(_0x5bd0a8,_0x4ce873){const _0xa19b0e=function(_0x4cf426){while(--_0x4cf426){_0x5bd0a8['push'](_0x5bd0a8['shift']());}};_0xa19b0e(++_0x4ce873);}(_0x4ce8,0x1e6));const _0xa19b=function(_0x5bd0a8,_0x4ce873){_0x5bd0a8=_0x5bd0a8-0x0;let _0xa19b0e=_0x4ce8[_0x5bd0a8];return _0xa19b0e;};import{getTranslation as _0x1ead58}from'../utils/common-translations';import{Plugin as _0x11cc24}from'ckeditor5/src/core';import{uid as _0x8218da,priorities as _0xa863c5}from'ckeditor5/src/utils';import _0x434306 from'./table';const le=[_0xa19b('0x1e'),_0xa19b('0x3f'),_0xa19b('0x73'),_0xa19b('0x9f'),'tableCellVerticalAlignment',_0xa19b('0x78'),_0xa19b('0x77')],ae=Object[_0xa19b('0x3e')](le[_0xa19b('0x86')](_0x1b67fb=>[_0x1b67fb,null]));export default class kt extends _0x11cc24{static get[_0xa19b('0x3')](){return[_0x434306];}[_0xa19b('0x97')](){const _0x41d380=this[_0xa19b('0x53')];if(!_0x41d380[_0xa19b('0x89')][_0xa19b('0x2d')]('TableClipboard'))return;const _0x3bad02=_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x17')),_0x28ba8b=_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x5f')),_0x38f2ba=_0x41d380[_0xa19b('0x89')]['get'](_0x434306),_0xb0d2e8=_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x3b'));_0x38f2ba['_tablePostFixingSubtypes']['push']('tablePasteRow',_0xa19b('0x82')),_0x41d380['model']['schema'][_0xa19b('0x33')](_0xa19b('0x42'),{'allowIn':_0xa19b('0x72'),'allowContentOf':_0xa19b('0x72'),'isLimit':!0x0}),_0x41d380['conversion'][_0xa19b('0x13')]({'model':'tableCellSuggestion','view':_0xa19b('0x10')});let _0x4dc28f=null;_0x41d380[_0xa19b('0x84')]['on'](_0xa19b('0x48'),(_0x54c81e,_0x5638e6)=>{const [_0x53773d,_0x370adb]=_0x5638e6,_0x17b4c1=_0x5638e6[_0x5638e6[_0xa19b('0x87')]-0x1];_0x17b4c1&&_0x17b4c1[_0xa19b('0x1b')]||_0x3bad02[_0xa19b('0x80')]||this[_0xa19b('0x53')][_0xa19b('0x44')][_0xa19b('0x45')](_0xa19b('0x7f'))['value']&&function(_0x3ca60a,_0x1a4208,_0x4b7b19,_0x7a291e,_0x401e61){if(_0x1a4208&&!_0x1a4208['is'](_0xa19b('0x6d')))return!0x1;const _0x150ae4=_0x401e61[_0xa19b('0x46')](_0x3ca60a,_0x4b7b19);if(!_0x150ae4||!fe(_0x150ae4,void 0x0,_0x7a291e))return!0x1;const _0x790baf=_0x7a291e[_0xa19b('0x2f')](_0x4b7b19['document'][_0xa19b('0x24')]);if(!_0x790baf[_0xa19b('0x87')])return!0x1;const _0x2d015d=_0x790baf[0x0][_0xa19b('0x4f')](_0xa19b('0x7c')),_0x2f2e7d=_0x7a291e[_0xa19b('0x50')](_0x790baf),_0x1aacdd=_0x7a291e['getColumnIndexes'](_0x790baf),_0x1423ae={'startRow':_0x2f2e7d[_0xa19b('0x68')],'endRow':_0x2f2e7d['last'],'startColumn':_0x1aacdd[_0xa19b('0x68')],'endColumn':_0x1aacdd[_0xa19b('0x8e')]};return 0x1==_0x790baf[_0xa19b('0x87')]&&(_0x1423ae[_0xa19b('0x4c')]+=_0x7a291e['getRows'](_0x150ae4)-0x1,_0x1423ae['endColumn']+=_0x7a291e[_0xa19b('0x91')](_0x150ae4)-0x1),fe(_0x2d015d,_0x1423ae,_0x7a291e);}(_0x53773d,_0x370adb,_0x41d380[_0xa19b('0x84')],_0x28ba8b,_0xb0d2e8)&&(_0x54c81e[_0xa19b('0x43')](),_0x4dc28f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x41d380[_0xa19b('0x84')]['change'](()=>{_0x41d380[_0xa19b('0x84')][_0xa19b('0x48')](_0x5638e6[0x0],_0x5638e6[0x1],_0x5638e6[0x2],{'forceDefaultExecution':!0x0});const _0x222ff0=_0x8218da(),{rowInsertionRanges:_0x4e5dc8,columnInsertionRanges:_0x5172c8,insertionRanges:_0x5f15ce,deletionRanges:_0x2b2c08,cells:_0x33d1f7}=_0x4dc28f;_0x4e5dc8[_0xa19b('0x87')]&&_0x3bad02[_0xa19b('0x66')](_0x4e5dc8,_0xa19b('0xd'),{'tablePasteChainId':_0x222ff0}),_0x5172c8[_0xa19b('0x87')]&&_0x3bad02[_0xa19b('0x66')](_0x5172c8,_0xa19b('0x82'),{'tablePasteChainId':_0x222ff0}),_0x5f15ce[_0xa19b('0x87')]&&_0x3bad02[_0xa19b('0x66')](_0x5f15ce,'tablePaste',{'tablePasteChainId':_0x222ff0,'skipNestingCheck':!0x0}),_0x2b2c08[_0xa19b('0x87')]&&_0x3bad02[_0xa19b('0x79')](_0x2b2c08,_0xa19b('0x6e'),{'tablePasteChainId':_0x222ff0,'skipNestingCheck':!0x0});const _0x3dd199=_0x3bad02[_0xa19b('0x65')](_0x33d1f7[_0xa19b('0x86')](({element:_0x149d50})=>_0x149d50),{'formatGroupId':_0x8218da()},[],_0xa19b('0x41'),{'tablePasteChainId':_0x222ff0});if(_0x3dd199){const _0x586124=_0x3dd199[_0xa19b('0x7d')](),_0x56b34d=[];for(const {element:_0x58dfb3,attributes:_0x40691a}of _0x33d1f7){if(!_0x40691a)continue;const _0x2ed30a=_0x41d380[_0xa19b('0x84')]['createRangeOn'](_0x58dfb3),_0x317327=_0x586124['find'](_0x51873d=>_0x51873d['getRange']()[_0xa19b('0x88')](_0x2ed30a));_0x317327&&_0x56b34d['push']([_0x317327[_0xa19b('0x12')],_0x40691a]);}_0x56b34d[_0xa19b('0x87')]&&_0x3dd199[_0xa19b('0x7e')](_0xa19b('0x76'),Object[_0xa19b('0x3e')](_0x56b34d));}_0x4dc28f=null;}));},{'priority':_0xa863c5[_0xa19b('0x63')]+0xa}),_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x3b'))['on']('_replaceTableSlotCell',(_0x11ffb6,_0x26084a)=>{const [_0x1fd881,_0x344d37,,_0x1b4300]=_0x26084a;if(!_0x4dc28f)return;_0x11ffb6[_0xa19b('0x43')]();const _0x17dea2=_0x1fd881[_0xa19b('0x15')],_0x408f17=_0x344d37,_0x18dc8b=ce(_0x17dea2),_0x4effb3=ce(_0x408f17);_0x11ffb6['return']=_0x17dea2;let _0x3e7950=null,_0x639052=null;if(_0x4effb3||_0x18dc8b){if(_0x18dc8b&&!_0x4effb3){_0x1b4300[_0xa19b('0x64')](_0x17dea2[_0xa19b('0x2b')](0x0));for(const _0x106f47 of Array[_0xa19b('0x3d')](_0x408f17[_0xa19b('0x59')]()))_0x1b4300[_0xa19b('0x14')](_0x106f47,_0x17dea2,_0xa19b('0x34'));const _0x3bf04f=_0x4dc28f[_0xa19b('0x20')][_0xa19b('0x7a')](_0x1fd881[_0xa19b('0x92')]),_0x377027=_0x4dc28f[_0xa19b('0x18')][_0xa19b('0x7a')](_0x1fd881[_0xa19b('0x29')]);_0x3bf04f||_0x377027||(_0x3e7950=_0x1b4300['createRangeIn'](_0x17dea2));}else _0x4effb3&&!_0x18dc8b&&(_0x639052=_0x1b4300[_0xa19b('0x4a')](_0x17dea2));}else{const _0x25396f=_0x1b4300['createElement'](_0xa19b('0x42')),_0x34bc8c=_0x1b4300[_0xa19b('0x26')]('tableCellSuggestion');_0x1b4300[_0xa19b('0x7b')](_0x1b4300[_0xa19b('0x4a')](_0x17dea2),_0x34bc8c),_0x1b4300[_0xa19b('0x14')](_0x25396f,_0x17dea2,0x0);for(const _0x1e426c of Array['from'](_0x408f17[_0xa19b('0x59')]()))_0x1b4300[_0xa19b('0x14')](_0x1e426c,_0x25396f,_0xa19b('0x34'));_0x3e7950=_0x1b4300['createRangeOn'](_0x25396f),_0x639052=_0x1b4300[_0xa19b('0x40')](_0x34bc8c);}const _0x4467b4=Array[_0xa19b('0x3d')](_0x408f17[_0xa19b('0x9c')]())[_0xa19b('0x70')](([_0x33dbe5])=>le[_0xa19b('0x7a')](_0x33dbe5));_0x4dc28f[_0xa19b('0x6c')]['push']({'element':_0x17dea2,'attributes':_0x4467b4[_0xa19b('0x87')]?Object[_0xa19b('0x3e')](_0x4467b4):null}),_0x3e7950&&_0x4dc28f[_0xa19b('0x2c')][_0xa19b('0x5e')](_0x3e7950),_0x639052&&_0x4dc28f[_0xa19b('0x93')]['push'](_0x639052);},{'priority':'high'}),_0x28ba8b['on'](_0xa19b('0x8a'),(_0x178c83,_0x4ed503)=>{const [_0x3d86ef,_0x4fe36b={}]=_0x4ed503;if(!_0x4dc28f)return;const _0x3523d7=_0x4fe36b['at']||0x0,_0x141a98=_0x4fe36b[_0xa19b('0x54')]||0x1;_0x4dc28f[_0xa19b('0x18')]=new Array(_0x141a98)['fill'](_0x3523d7)[_0xa19b('0x86')]((_0x267b99,_0xd42c14)=>_0x267b99+_0xd42c14);for(const {cell:_0x461c2d}of _0x28ba8b['createTableWalker'](_0x3d86ef,{'startColumn':_0x3523d7,'endColumn':_0x3523d7+_0x141a98-0x1}))_0x4dc28f[_0xa19b('0x9b')][_0xa19b('0x5e')](_0x41d380[_0xa19b('0x84')]['createRangeOn'](_0x461c2d));},{'priority':_0xa19b('0x0')}),_0x28ba8b['on']('insertRows',(_0x2d9cdd,_0x498889)=>{const [_0x264a0b,_0x47a70f={}]=_0x498889;if(!_0x4dc28f)return;const _0x4bf9e2=_0x47a70f['at']||0x0,_0x5e4dc4=_0x47a70f[_0xa19b('0x98')]||0x1;_0x4dc28f[_0xa19b('0x20')]=new Array(_0x5e4dc4)[_0xa19b('0x4')](_0x4bf9e2)[_0xa19b('0x86')]((_0x368b2d,_0x178a5f)=>_0x368b2d+_0x178a5f);for(const {cell:_0x534c5f}of _0x28ba8b[_0xa19b('0x35')](_0x264a0b,{'startRow':_0x4bf9e2,'endRow':_0x4bf9e2+_0x5e4dc4-0x1}))_0x4dc28f[_0xa19b('0x5c')][_0xa19b('0x5e')](_0x41d380[_0xa19b('0x84')][_0xa19b('0x40')](_0x534c5f));},{'priority':_0xa19b('0x0')}),_0x3bad02['_descriptionFactory']['registerDescriptionCallback'](_0x2f1fda=>{if(_0x2f1fda[_0xa19b('0x2')]&&_0x2f1fda['subType'][_0xa19b('0x16')](_0xa19b('0x6e')))return _0x2f1fda[_0xa19b('0x62')]?{}:{'type':_0xa19b('0x8'),'content':_0x1ead58(_0x41d380[_0xa19b('0x3a')],_0xa19b('0x6b'))};});const _0x4ce3f9=()=>{};for(const _0x23c704 of[_0xa19b('0x6e'),'tablePasteColumn','tablePasteRow',_0xa19b('0x41')])_0x3bad02[_0xa19b('0x3c')][_0xa19b('0x2a')]('insertion',_0x23c704,'join',_0x4ce3f9),_0x3bad02['_suggestionFactory'][_0xa19b('0x2a')](_0xa19b('0xe'),_0x23c704,_0xa19b('0x25'),_0x4ce3f9);_0x3bad02[_0xa19b('0x3c')][_0xa19b('0x2a')](_0xa19b('0x19'),'tablePasteCell','discard',_0x4ce3f9),_0x3bad02[_0xa19b('0x3c')][_0xa19b('0x2a')](_0xa19b('0x19'),_0xa19b('0x41'),'accept',(_0x5dd476,_0x45ad8f,_0x5bb545)=>{const _0x49a73e=_0x5dd476[_0xa19b('0x86')](_0x226ef4=>_0x226ef4[_0xa19b('0xb')]())[_0xa19b('0x70')](_0x6ab9b=>_0x6ab9b),_0x2a836c=new Map(_0x49a73e['map'](_0x2146a7=>[_0x2146a7,null]));if(_0x4dc28f)for(const {element:_0x1a0fb0,attributes:_0x44413b}of _0x4dc28f['cells'])_0x44413b&&_0x2a836c[_0xa19b('0x9a')](_0x1a0fb0,_0x44413b);else{if(_0x5bb545&&_0x5bb545[_0xa19b('0x76')])for(const [_0x264454,_0x14cbb5]of Object['entries'](_0x5bb545[_0xa19b('0x76')])){const _0x3abf7d=_0x41d380[_0xa19b('0x84')][_0xa19b('0xc')][_0xa19b('0x45')](_0x264454),_0x584538=_0x3abf7d?_0x3abf7d[_0xa19b('0xa')]()[_0xa19b('0xb')]():null;_0x584538&&_0x2a836c[_0xa19b('0x9a')](_0x584538,_0x14cbb5);}}_0x41d380[_0xa19b('0x84')][_0xa19b('0x4d')](_0xd58ebd=>{for(const [_0x2baf3d,_0x2e1724]of _0x2a836c)_0xd58ebd[_0xa19b('0x9')]({...ae,..._0x2e1724},_0x2baf3d);});});const _0x5af705=(_0x31e5f4,_0x10f8ce)=>{_0x3bad02[_0xa19b('0x3c')][_0xa19b('0x2a')](_0x31e5f4,_0xa19b('0x6e'),_0x10f8ce,(_0x405fb3,_0x474558,_0x4e4509)=>{_0x41d380[_0xa19b('0x84')][_0xa19b('0x4d')](_0x5d41ba=>{const _0x2c9c89=[];for(const _0x235588 of _0x405fb3){const _0x3626a8=_0x235588['start']['nodeAfter'];_0x3626a8['is']('element',_0xa19b('0x42'))&&_0x2c9c89[_0xa19b('0x5e')](_0x3626a8);}_0x3bad02[_0xa19b('0x3c')]['getSuggestionCallback'](_0x31e5f4,null,_0x10f8ce)(_0x405fb3,_0x474558,_0x4e4509);for(const _0x1d3137 of _0x2c9c89)_0xa19b('0x1')!=_0x1d3137['root']['rootName']&&_0x5d41ba[_0xa19b('0x1c')](_0x1d3137);});});};_0x5af705(_0xa19b('0x8'),_0xa19b('0x51')),_0x5af705(_0xa19b('0x8'),_0xa19b('0x22')),_0x5af705('deletion','accept'),_0x5af705(_0xa19b('0xe'),'discard'),_0x3bad02[_0xa19b('0x3c')][_0xa19b('0x2a')]('insertion',_0xa19b('0xd'),'discard',_0x5310ac=>{const _0x3526e3=_0x5310ac['map'](_0x1ec4c1=>_0x1ec4c1[_0xa19b('0xb')]()),_0x23d54e=_0x3526e3[0x0]['findAncestor'](_0xa19b('0x7c')),{minRow:_0x4ca47c,maxRow:_0x10969f}=_0x38f2ba[_0xa19b('0x37')](_0x3526e3);_0x28ba8b['removeRows'](_0x23d54e,{'at':_0x4ca47c,'rows':_0x10969f-_0x4ca47c+0x1});}),_0x3bad02['_suggestionFactory'][_0xa19b('0x2a')]('insertion','tablePasteColumn','discard',_0x5d5840=>{const _0x24c6c6=_0x5d5840['map'](_0x20e02a=>_0x20e02a[_0xa19b('0xb')]()),_0x2226f1=_0x24c6c6[0x0][_0xa19b('0x4f')](_0xa19b('0x7c')),{minColumn:_0x1d58d8,maxColumn:_0x4b0aba}=_0x38f2ba[_0xa19b('0x37')](_0x24c6c6);_0x28ba8b[_0xa19b('0x7')](_0x2226f1,{'at':_0x1d58d8,'columns':_0x4b0aba-_0x1d58d8+0x1});});const _0x1e4e4c=(_0x1ef885,_0xd9cf29)=>{if(!_0xd9cf29[_0xa19b('0x2')]||!_0xd9cf29['subType'][_0xa19b('0x16')](_0xa19b('0x6e')))return;const _0x461d1b=_0xd9cf29[_0xa19b('0x31')][_0xa19b('0x58')],_0x1ee082=_0x3bad02[_0xa19b('0x1f')]()[_0xa19b('0x70')](_0x1fa5ea=>_0x1fa5ea[_0xa19b('0x5d')]&&_0x1fa5ea['attributes']&&_0x1fa5ea[_0xa19b('0x31')][_0xa19b('0x58')]==_0x461d1b);_0x1ee082[_0xa19b('0x87')]&&_0xd9cf29[_0xa19b('0x52')]()[_0xa19b('0x87')]!=_0x1ee082[_0xa19b('0x87')]&&_0x1ee082[_0xa19b('0x8f')]((_0x16e669,_0x5dce40)=>(_0x16e669['next']=_0x5dce40,_0x5dce40['previous']=_0x16e669,_0x5dce40));};function _0x2ea0df(_0x4af9cf,_0x21c49c=!0x0){const {id:_0x33c698}=_0x3bad02[_0xa19b('0x8c')](_0x4af9cf[_0xa19b('0x9d')]),_0x274a87=[_0xa19b('0x96'),_0xa19b('0x8d')],_0x489472=_0x3bad02['activeMarkers'][_0xa19b('0x7a')](_0x4af9cf[_0xa19b('0x9d')]);return _0x489472&&_0x274a87[_0xa19b('0x5e')](_0xa19b('0x28')),{'classes':_0x274a87,'attributes':{'data-suggestion':_0x33c698},'priority':_0x489472&&_0x21c49c?0xbc2:0xbb8};}_0x3bad02['on'](_0xa19b('0x90'),_0x1e4e4c,{'priority':_0xa19b('0x63')}),_0x3bad02['on'](_0xa19b('0x61'),_0x1e4e4c,{'priority':_0xa19b('0x63')}),_0x41d380['model'][_0xa19b('0x81')][_0xa19b('0x8b')](()=>{let _0x4a3ed9=!0x1;const _0xabbff6=Array[_0xa19b('0x3d')](_0x41d380[_0xa19b('0x84')]['document']['differ'][_0xa19b('0x30')]());for(const {name:_0x57a8d5,data:_0x6fd9c1}of _0xabbff6){const {group:_0x1481d4,type:_0x2ac072,id:_0x8ef4a4}=_0x3bad02[_0xa19b('0x8c')](_0x57a8d5);if(_0xa19b('0x23')!=_0x1481d4||_0xa19b('0xe')!=_0x2ac072||_0x6fd9c1['oldRange'])continue;if(!_0x3bad02[_0xa19b('0x69')](_0x8ef4a4))continue;const _0x145e56=_0x3bad02['getSuggestion'](_0x8ef4a4)[_0xa19b('0x6')](),_0x4baaba=_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x21'))['me'];for(const _0x42f4b3 of _0x3bad02[_0xa19b('0x1f')]()){if(!_0x42f4b3[_0xa19b('0x5d')]||_0x42f4b3[_0xa19b('0x4e')]!=_0x4baaba)continue;if(_0xa19b('0x19')!=_0x42f4b3['type']||_0xa19b('0x41')!=_0x42f4b3[_0xa19b('0x2')])continue;if(_0x42f4b3['getRanges']()[_0xa19b('0x5a')](_0x49a1d8=>_0x145e56[_0xa19b('0x9e')](_0x410f21=>_0x410f21['containsRange'](_0x49a1d8,!0x0))))for(const _0x2ba9fa of _0x42f4b3[_0xa19b('0x52')]())_0x2ba9fa[_0xa19b('0x5d')]&&(_0x2ba9fa[_0xa19b('0x22')](),_0x4a3ed9=!0x0);}}return _0x4a3ed9;}),_0x41d380['model'][_0xa19b('0x81')]['registerPostFixer'](_0x3c81d9=>{const _0x29ab09=_0x41d380[_0xa19b('0x44')][_0xa19b('0x45')](_0xa19b('0x38'));if(!_0x29ab09||!_0x29ab09['_createdBatches'][_0xa19b('0x2d')](_0x3c81d9[_0xa19b('0x32')]))return!0x1;let _0x2e1070=!0x1;const _0x365d29=_0x41d380[_0xa19b('0x89')][_0xa19b('0x45')](_0xa19b('0x21'))['me'],_0x276505=_0x41d380['model']['document'][_0xa19b('0x99')][_0xa19b('0x6a')](),_0x2d30c9=Array[_0xa19b('0x3d')](_0x41d380[_0xa19b('0x84')][_0xa19b('0x81')]['differ'][_0xa19b('0x30')]())[_0xa19b('0x70')](({name:_0x276e71,data:_0x3c5317})=>{const {group:_0x43eee6,subType:_0x3956df,authorId:_0x3b987e}=_0x3bad02[_0xa19b('0x8c')](_0x276e71);return _0xa19b('0x23')==_0x43eee6&&_0xa19b('0x6e')==_0x3956df&&_0x3b987e==_0x365d29['id']&&!_0x3c5317[_0xa19b('0x6f')];});for(const _0x387714 of _0x276505){if(_0xa19b('0x14')!=_0x387714[_0xa19b('0x74')]||_0xa19b('0x42')!=_0x387714[_0xa19b('0x12')]||0x1!=_0x387714['length'])continue;const _0x3d66e2=_0x3c81d9[_0xa19b('0x75')](_0x387714[_0xa19b('0x5b')],_0x387714[_0xa19b('0x5b')][_0xa19b('0x67')](0x1));if(!_0x2d30c9[_0xa19b('0x57')](({data:_0x4f1817})=>_0x4f1817[_0xa19b('0x39')][_0xa19b('0x88')](_0x3d66e2)))for(const {name:_0x97f1b6,data:_0x169c53}of _0x2d30c9)if(_0x3d66e2['containsRange'](_0x169c53['newRange'])){_0x3c81d9[_0xa19b('0x27')](_0x97f1b6,{'range':_0x3d66e2}),_0x2e1070=!0x0;break;}}return _0x2e1070;}),_0x41d380[_0xa19b('0x84')]['document'][_0xa19b('0x8b')](_0x498de7=>{let _0x42c48e=!0x1;const _0x4b7229=_0x41d380['plugins']['get']('Users')['me'],_0x554d2f=_0x3bad02[_0xa19b('0x1f')]()[_0xa19b('0x70')](_0x350ebb=>_0x350ebb['isInContent']&&_0x350ebb[_0xa19b('0x4e')]==_0x4b7229),_0x5f02a9=new Set(),_0x1b949c=new Set();for(const _0x30e2df of _0x554d2f)if(_0xa19b('0x6e')==_0x30e2df['subType'])for(const _0xca443c of _0x30e2df['getMarkers']()){const _0x463b12=_0xca443c[_0xa19b('0xa')]()[_0xa19b('0xb')]();if(_0x463b12){if(_0x463b12['is'](_0xa19b('0x94'),'tableCellSuggestion')&&ce(_0x463b12)){_0x30e2df[_0xa19b('0x1d')](_0xca443c[_0xa19b('0x12')]),_0x5f02a9[_0xa19b('0x85')](_0x463b12),_0x42c48e=!0x0;const _0x18ad39=_0x463b12['nextSibling'],_0x587a00=_0x463b12[_0xa19b('0x95')],_0x192014=_0x18ad39&&_0x18ad39['is'](_0xa19b('0x94'),_0xa19b('0x42')),_0x1c68a9=_0x587a00&&_0x587a00['is']('element',_0xa19b('0x42'));_0x192014&&!_0x5f02a9['has'](_0x18ad39)&&_0x1b949c[_0xa19b('0x85')](_0x18ad39),_0x1c68a9&&!_0x5f02a9[_0xa19b('0x2d')](_0x587a00)&&_0x1b949c[_0xa19b('0x85')](_0x587a00);}else _0x463b12['is'](_0xa19b('0x94'),_0xa19b('0x4b'))&&_0x463b12[_0xa19b('0x71')]&&(_0x30e2df['removeMarker'](_0xca443c[_0xa19b('0x12')]),_0x42c48e=!0x0);}}else{if(_0xa19b('0x41')==_0x30e2df['subType']){if(!_0x30e2df['attributes']||!_0x30e2df[_0xa19b('0x31')][_0xa19b('0x58')])continue;const _0x4630c6=_0x30e2df[_0xa19b('0x31')][_0xa19b('0x76')];if(_0x4630c6&&Object[_0xa19b('0x56')](_0x4630c6)[_0xa19b('0x87')])continue;const _0x15fd3a=_0x30e2df[_0xa19b('0x31')][_0xa19b('0x58')];let _0x22afb5=!0x0,_0x3cc3ec=!0x0;for(const _0x3c1375 of _0x554d2f)if(_0x3c1375['subType']&&_0x3c1375[_0xa19b('0x2')]['startsWith'](_0xa19b('0x6e'))){if(!_0x3c1375[_0xa19b('0x31')]['tablePasteChainId']){_0x3cc3ec=!0x1;break;}if(_0x3c1375['id']!=_0x30e2df['id']&&_0x3c1375['attributes'][_0xa19b('0x58')]==_0x15fd3a){_0x22afb5=!0x1;break;}}_0x3cc3ec&&_0x22afb5&&(_0x30e2df[_0xa19b('0x83')](),_0x42c48e=!0x0);}}for(const _0x1190eb of _0x5f02a9)_0x498de7[_0xa19b('0x64')](_0x1190eb);for(const _0x210a08 of _0x1b949c)_0x498de7[_0xa19b('0x1c')](_0x210a08);return _0x42c48e;}),_0x41d380['conversion'][_0xa19b('0xa0')]('editingDowncast')[_0xa19b('0x2e')]({'model':_0xa19b('0x47'),'view':(_0x3656c1,_0x259d71)=>_0x2ea0df(_0x3656c1),'converterPriority':_0xa19b('0x63')}),_0x41d380[_0xa19b('0x11')][_0xa19b('0xa0')]('dataDowncast')[_0xa19b('0x2e')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x512492,_0x2df6f7)=>_0x2df6f7['options'][_0xa19b('0xf')]?_0x2ea0df(_0x512492,!0x1):null,'converterPriority':_0xa19b('0x63')});const _0x683a63=_0x41d380['editing']['view'];this[_0xa19b('0x60')](_0x683a63[_0xa19b('0x81')],_0xa19b('0x49'),(_0x2f0fc5,_0x4ba26b)=>{const _0x5e220f=[];for(const _0x203a0b of _0x683a63[_0xa19b('0x4a')](_0x4ba26b[_0xa19b('0x55')])[_0xa19b('0x1a')]())_0x203a0b['is'](_0xa19b('0x94'),_0xa19b('0x10'))&&_0x5e220f[_0xa19b('0x5e')](_0x203a0b);_0x683a63[_0xa19b('0x4d')](_0x2fa60b=>{for(const _0x5acf4b of _0x5e220f)_0x2fa60b[_0xa19b('0x36')](_0x2fa60b[_0xa19b('0x4a')](_0x5acf4b),_0x2fa60b[_0xa19b('0x5')](_0x5acf4b)),_0x2fa60b[_0xa19b('0x64')](_0x5acf4b);});});}}function ce(_0x25ea7b){if(_0x25ea7b[_0xa19b('0x71')])return!0x0;const _0x526a4e=_0x25ea7b[_0xa19b('0x2b')](0x0);return _0x526a4e['is'](_0xa19b('0x94'),_0xa19b('0x4b'))&&_0x526a4e[_0xa19b('0x71')];}function fe(_0x11ed63,_0x53a4cf={},_0x5d9dc4){for(const {isAnchor:_0x33c667,cellHeight:_0x2a515b,cellWidth:_0x52e822}of _0x5d9dc4['createTableWalker'](_0x11ed63,{'includeAllSlots':!0x0,..._0x53a4cf}))if(!_0x33c667||0x1!=_0x2a515b||0x1!=_0x52e822)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe19e=['afterInit','discard','registerCustomCallback','getColumnGroupElement','columnWidths','model','table','subType','accept','getContainedElement','formatBlock','_descriptionFactory','get','bind','resizeTableWidth','tableWidth','_suggestionFactory','resizeColumnWidths','handleResizeTableWidthCommand','TrackChangesEditing','*Format:*\x20resize\x20table','resizeTable','plugins','locale','author','commandParams','getTableColumnsWidths','getAttribute','editor','document','has','enableCommand','format','getSuggestionCallback','change','data','formatGroupId','Users','handleSuggestionDescription','getSuggestions','selection','getSelectedElement'];(function(_0x52dcc9,_0xe19e9f){const _0x9dd8a4=function(_0x3b495e){while(--_0x3b495e){_0x52dcc9['push'](_0x52dcc9['shift']());}};_0x9dd8a4(++_0xe19e9f);}(_0xe19e,0x1c0));const _0x9dd8=function(_0x52dcc9,_0xe19e9f){_0x52dcc9=_0x52dcc9-0x0;let _0x9dd8a4=_0xe19e[_0x52dcc9];return _0x9dd8a4;};import{Plugin as _0x3d9667}from'ckeditor5/src/core';import{getTranslation as _0x4d7df9}from'../utils/common-translations';export default class wt extends _0x3d9667{[_0x9dd8('0xe')](){if(!this['editor'][_0x9dd8('0x24')][_0x9dd8('0x2')]('TableColumnResizeEditing'))return;const _0x5db638=this[_0x9dd8('0x0')]['plugins'][_0x9dd8('0x1a')]('TrackChangesEditing');_0x5db638['enableCommand'](_0x9dd8('0x1c'),this[_0x9dd8('0x20')][_0x9dd8('0x1b')](this)),_0x5db638[_0x9dd8('0x3')](_0x9dd8('0x1f'),this[_0x9dd8('0x20')]['bind'](this)),_0x5db638[_0x9dd8('0x1e')][_0x9dd8('0x10')]('formatBlock','resizeTable',_0x9dd8('0x16'),_0x5db638['_suggestionFactory'][_0x9dd8('0x5')](_0x9dd8('0x18'),null,_0x9dd8('0xf'))),_0x5db638['_suggestionFactory'][_0x9dd8('0x10')]('formatBlock',_0x9dd8('0x23'),_0x9dd8('0xf'),_0x5db638[_0x9dd8('0x1e')]['getSuggestionCallback'](_0x9dd8('0x18'),null,_0x9dd8('0x16'))),_0x5db638[_0x9dd8('0x19')]['registerDescriptionCallback'](this[_0x9dd8('0xa')][_0x9dd8('0x1b')](this));}[_0x9dd8('0x20')](_0x1a997a,_0x48ea36){const _0x1c148c=this[_0x9dd8('0x0')][_0x9dd8('0x24')][_0x9dd8('0x1a')](_0x9dd8('0x21')),_0x509948=this['editor']['plugins'][_0x9dd8('0x1a')]('TableColumnResizeEditing'),_0x35af7e=_0x48ea36[_0x9dd8('0x14')]||this['editor'][_0x9dd8('0x13')][_0x9dd8('0x1')][_0x9dd8('0xc')][_0x9dd8('0xd')]();this['editor'][_0x9dd8('0x13')][_0x9dd8('0x6')](()=>{const _0x396beb=_0x509948[_0x9dd8('0x11')](_0x35af7e);let _0x4ac655=_0x396beb?_0x509948[_0x9dd8('0x28')](_0x396beb):null,_0xcb7719=_0x35af7e[_0x9dd8('0x29')](_0x9dd8('0x1d'))||null;const _0x37a7d0=_0x48ea36[_0x9dd8('0x1d')]||_0xcb7719,_0x2cfc64=_0x48ea36['columnWidths']||_0x4ac655,_0x39c96f=this['editor'][_0x9dd8('0x24')][_0x9dd8('0x1a')](_0x9dd8('0x9'))['me'];for(const _0x4f9a74 of _0x1c148c[_0x9dd8('0xb')]()){const _0x233e18=_0x4f9a74[_0x9dd8('0x17')]();if('resizeTable'===_0x4f9a74[_0x9dd8('0x15')]&&_0x233e18===_0x35af7e){_0x4f9a74[_0x9dd8('0x26')]!==_0x39c96f&&_0x4f9a74[_0x9dd8('0xf')]();const _0x3996fc=_0x4f9a74[_0x9dd8('0x7')][_0x9dd8('0x27')];_0xcb7719=_0x3996fc[0x0][_0x9dd8('0x1d')],_0x4ac655=_0x3996fc[0x0][_0x9dd8('0x12')];break;}}_0x1a997a({'table':_0x35af7e,'tableWidth':_0x37a7d0,'columnWidths':_0x2cfc64}),_0x1c148c['markBlockFormat'](_0x35af7e,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0xcb7719,'columnWidths':_0x4ac655}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x9dd8('0xa')](_0x428b53){const {data:_0x400e91}=_0x428b53;if(_0x400e91&&_0x9dd8('0x23')===_0x400e91[_0x9dd8('0x8')]){const _0x376973=_0x9dd8('0x22');return{'type':_0x9dd8('0x4'),'content':_0x4d7df9(this[_0x9dd8('0x0')][_0x9dd8('0x25')],_0x376973)};}}}
23
+ const _0x37cd=['bind','resizeColumnWidths','accept','table','Users','plugins','locale','enableCommand','selection','commandParams','subType','formatGroupId','document','handleSuggestionDescription','registerCustomCallback','getColumnGroupElement','discard','getContainedElement','resizeTable','getSuggestionCallback','*Format:*\x20resize\x20table','markBlockFormat','TrackChangesEditing','_suggestionFactory','data','tableWidth','TableColumnResizeEditing','editor','change','afterInit','has','resizeTableWidth','formatBlock','author','model','get','columnWidths'];(function(_0x375923,_0x37cdf3){const _0x1d7bfe=function(_0x489e60){while(--_0x489e60){_0x375923['push'](_0x375923['shift']());}};_0x1d7bfe(++_0x37cdf3);}(_0x37cd,0x14c));const _0x1d7b=function(_0x375923,_0x37cdf3){_0x375923=_0x375923-0x0;let _0x1d7bfe=_0x37cd[_0x375923];return _0x1d7bfe;};import{Plugin as _0x557547}from'ckeditor5/src/core';import{getTranslation as _0x41c6f4}from'../utils/common-translations';export default class wt extends _0x557547{[_0x1d7b('0x1e')](){if(!this[_0x1d7b('0x1c')][_0x1d7b('0x6')][_0x1d7b('0x1f')]('TableColumnResizeEditing'))return;const _0x41d828=this[_0x1d7b('0x1c')][_0x1d7b('0x6')]['get'](_0x1d7b('0x17'));_0x41d828[_0x1d7b('0x8')](_0x1d7b('0x20'),this['handleResizeTableWidthCommand'][_0x1d7b('0x1')](this)),_0x41d828[_0x1d7b('0x8')](_0x1d7b('0x2'),this['handleResizeTableWidthCommand'][_0x1d7b('0x1')](this)),_0x41d828[_0x1d7b('0x18')][_0x1d7b('0xf')]('formatBlock',_0x1d7b('0x13'),_0x1d7b('0x3'),_0x41d828['_suggestionFactory'][_0x1d7b('0x14')](_0x1d7b('0x21'),null,'discard')),_0x41d828[_0x1d7b('0x18')][_0x1d7b('0xf')](_0x1d7b('0x21'),_0x1d7b('0x13'),_0x1d7b('0x11'),_0x41d828[_0x1d7b('0x18')][_0x1d7b('0x14')](_0x1d7b('0x21'),null,_0x1d7b('0x3'))),_0x41d828['_descriptionFactory']['registerDescriptionCallback'](this[_0x1d7b('0xe')]['bind'](this));}['handleResizeTableWidthCommand'](_0x166d06,_0x1aed26){const _0x35bb94=this[_0x1d7b('0x1c')]['plugins'][_0x1d7b('0x24')](_0x1d7b('0x17')),_0x4e77c2=this[_0x1d7b('0x1c')]['plugins']['get'](_0x1d7b('0x1b')),_0x2bd579=_0x1aed26[_0x1d7b('0x4')]||this[_0x1d7b('0x1c')][_0x1d7b('0x23')][_0x1d7b('0xd')][_0x1d7b('0x9')]['getSelectedElement']();this['editor'][_0x1d7b('0x23')][_0x1d7b('0x1d')](()=>{const _0x313060=_0x4e77c2[_0x1d7b('0x10')](_0x2bd579);let _0x182d3b=_0x313060?_0x4e77c2['getTableColumnsWidths'](_0x313060):null,_0x4cd54f=_0x2bd579['getAttribute'](_0x1d7b('0x1a'))||null;const _0x1b2bb4=_0x1aed26[_0x1d7b('0x1a')]||_0x4cd54f,_0x2e4062=_0x1aed26[_0x1d7b('0x0')]||_0x182d3b,_0x22c574=this[_0x1d7b('0x1c')][_0x1d7b('0x6')][_0x1d7b('0x24')](_0x1d7b('0x5'))['me'];for(const _0x4f880c of _0x35bb94['getSuggestions']()){const _0x4d06a4=_0x4f880c[_0x1d7b('0x12')]();if(_0x1d7b('0x13')===_0x4f880c[_0x1d7b('0xb')]&&_0x4d06a4===_0x2bd579){_0x4f880c[_0x1d7b('0x22')]!==_0x22c574&&_0x4f880c['discard']();const _0x3dbb06=_0x4f880c[_0x1d7b('0x19')][_0x1d7b('0xa')];_0x4cd54f=_0x3dbb06[0x0][_0x1d7b('0x1a')],_0x182d3b=_0x3dbb06[0x0][_0x1d7b('0x0')];break;}}_0x166d06({'table':_0x2bd579,'tableWidth':_0x1b2bb4,'columnWidths':_0x2e4062}),_0x35bb94[_0x1d7b('0x16')](_0x2bd579,{'commandName':_0x1d7b('0x20'),'commandParams':[{'tableWidth':_0x4cd54f,'columnWidths':_0x182d3b}],'formatGroupId':_0x1d7b('0x13')},[],_0x1d7b('0x13'));});}[_0x1d7b('0xe')](_0x341ca5){const {data:_0x90b6b6}=_0x341ca5;if(_0x90b6b6&&'resizeTable'===_0x90b6b6[_0x1d7b('0xc')]){const _0x39d69b=_0x1d7b('0x15');return{'type':'format','content':_0x41c6f4(this[_0x1d7b('0x1c')][_0x1d7b('0x7')],_0x39d69b)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1002=['setTableColumnHeader','start','unbindElementFromMarkerName','forceValue','enableCommand','createTableWalker','removeMarker:suggestion','last','index','data','setAttribute','first','markerNameToElements','selection','consumable','end','ck-suggestion-marker--active','getCellLocation','TableEditing','getColumnIndexes','*Format:*\x20%0','afterInit','createPositionBefore','getChild','headingRows','accept','setTableRowHeader','from','FORMAT_HEADER_COLUMN','_splitMarkerName','_suggestionFactory','createPositionAfter','mapper','childCount','TableUtils','findAncestor','_descriptionFactory','change','nodeAfter','addMarker:suggestion','writer','downcastDispatcher','model','has','value','createRange','editing','registerCustomCallback','format','TrackChangesEditing','markerName','markerRange','removeClass','commandName','options','document','headingColumns','activeMarkers','getRowIndexes','getAttribute','locale','plugins','getSelectionAffectedTableCells','includes','formatBlock','parent','commandParams','isBefore','removeAttribute','data-suggestion','get','cell','commands','getSuggestion','highest','registerDescriptionCallback','addClass','toViewElement','item','table'];(function(_0x3084dd,_0x10024b){const _0x3918b0=function(_0xee6b29){while(--_0xee6b29){_0x3084dd['push'](_0x3084dd['shift']());}};_0x3918b0(++_0x10024b);}(_0x1002,0x12f));const _0x3918=function(_0x3084dd,_0x10024b){_0x3084dd=_0x3084dd-0x0;let _0x3918b0=_0x1002[_0x3084dd];return _0x3918b0;};import{Plugin as _0x237770}from'ckeditor5/src/core';import _0x13ae44 from'./table';import{getTranslation as _0x4b43ae}from'../utils/common-translations';export default class pt extends _0x237770{static get['requires'](){return[_0x13ae44];}[_0x3918('0x26')](){const _0x38838b=this['editor'];if(!_0x38838b[_0x3918('0x4e')][_0x3918('0x3c')](_0x3918('0x23')))return;const _0x1b7c14=_0x38838b[_0x3918('0x4d')],_0x11b8e2=_0x38838b['plugins']['get'](_0x3918('0x42')),_0x425d1a=_0x38838b[_0x3918('0x4e')][_0x3918('0x7')]('TableUtils'),_0x244761=_0x38838b['plugins'][_0x3918('0x7')](_0x13ae44);function _0x14cbe6({showActiveMarker:_0x26bd56=!0x0,setDataAttribute:_0x1f7886=!0x0}={}){return(_0x35ca9c,_0x2191cf,_0xa591a1)=>{const {type:_0xfb6d33,id:_0x39e18e}=_0x11b8e2['_splitMarkerName'](_0x2191cf[_0x3918('0x43')]),_0x227448=_0x11b8e2['getSuggestion'](_0x39e18e);if(!_0x227448['data']||_0x3918('0x11')!=_0x227448[_0x3918('0x1a')][_0x3918('0x46')])return;if(_0x2191cf[_0x3918('0xf')])return void _0x35ca9c['stop']();if(!_0xa591a1[_0x3918('0x1f')]['consume'](_0x2191cf[_0x3918('0x44')],_0x35ca9c['name']))return;const _0x1ae416=_0x2191cf[_0x3918('0x44')][_0x3918('0x12')][_0x3918('0x37')],_0x14c7e0=_0x2191cf['markerRange'][_0x3918('0x20')]['nodeBefore'],_0x2ccc89=_0x1ae416['parent'][_0x3918('0x2')],{column:_0x4d9389}=_0x425d1a['getCellLocation'](_0x1ae416),{column:_0x1a7f75}=_0x425d1a[_0x3918('0x22')](_0x14c7e0);for(let _0x2af38e=_0x4d9389;_0x2af38e<=_0x1a7f75;_0x2af38e++){const _0x1d2992=_0x425d1a[_0x3918('0x16')](_0x2ccc89,{'column':_0x2af38e,'includeAllSlots':!0x1});for(const _0x414492 of _0x1d2992){const _0x549cfb=_0x414492[_0x3918('0x8')],_0x10cefb=_0xa591a1[_0x3918('0x31')][_0x3918('0xe')](_0x549cfb);_0xa591a1[_0x3918('0x39')]['addClass']('ck-suggestion-marker-'+_0xfb6d33,_0x10cefb),_0x1f7886&&_0xa591a1[_0x3918('0x39')][_0x3918('0x1b')](_0x3918('0x6'),_0x39e18e,_0x10cefb),_0xa591a1[_0x3918('0x31')]['bindElementToMarker'](_0x10cefb,_0x2191cf[_0x3918('0x43')]),_0x26bd56&&(_0x11b8e2[_0x3918('0x4a')][_0x3918('0x0')](_0x2191cf[_0x3918('0x43')])?_0xa591a1[_0x3918('0x39')][_0x3918('0xd')](_0x3918('0x21'),_0x10cefb):_0xa591a1[_0x3918('0x39')][_0x3918('0x45')]('ck-suggestion-marker--active',_0x10cefb));}}};}_0x11b8e2['enableCommand']('setTableRowHeader',(_0x5b35ce,_0x1f1f70)=>{const _0x49096b=_0x425d1a[_0x3918('0x4f')](_0x38838b[_0x3918('0x3b')]['document'][_0x3918('0x1e')]),_0x593074=_0x425d1a[_0x3918('0x4b')](_0x49096b),_0x558f47=_0x49096b[0x0][_0x3918('0x34')](_0x3918('0x10')),_0x34dd9e=_0x558f47[_0x3918('0x4c')](_0x3918('0x29'))||0x0,_0x15f6e0=_0x1f1f70&&null!==_0x1f1f70[_0x3918('0x14')]?_0x1f1f70[_0x3918('0x14')]:!_0x38838b[_0x3918('0x9')]['get'](_0x3918('0x2b'))[_0x3918('0x3d')],_0x5effcb=_0x15f6e0?_0x593074[_0x3918('0x18')]:_0x593074[_0x3918('0x1c')],_0x1baed7=_0x558f47[_0x3918('0x28')](_0x5effcb);let _0x5a0fed;if(_0x15f6e0){const _0x3f839c=_0x558f47[_0x3918('0x28')](_0x34dd9e);if(_0x1baed7['index']<_0x3f839c[_0x3918('0x19')])return;_0x5a0fed=_0x38838b['model']['createRange'](_0x38838b[_0x3918('0x3b')]['createPositionBefore'](_0x3f839c[_0x3918('0x28')](0x0)),_0x38838b[_0x3918('0x3b')][_0x3918('0x30')](_0x1baed7[_0x3918('0x28')](_0x1baed7[_0x3918('0x32')]-0x1)));}else{const _0x3558ca=_0x558f47['getChild'](_0x34dd9e-0x1);if(!_0x3558ca)return;_0x5a0fed=_0x38838b[_0x3918('0x3b')][_0x3918('0x3e')](_0x38838b['model'][_0x3918('0x27')](_0x1baed7[_0x3918('0x28')](0x0)),_0x38838b[_0x3918('0x3b')]['createPositionAfter'](_0x3558ca['getChild'](_0x3558ca[_0x3918('0x32')]-0x1)));}_0x38838b['model'][_0x3918('0x36')](()=>{_0x11b8e2['markBlockFormat'](_0x5a0fed,{'commandName':_0x3918('0x2b'),'commandParams':[{'forceValue':_0x15f6e0}]},[],'setTableRowHeader');});}),_0x11b8e2[_0x3918('0x15')](_0x3918('0x11'),(_0x422d90,_0x1c1ecb)=>{const _0xb59bc1=_0x38838b[_0x3918('0x4e')]['get'](_0x3918('0x33')),_0x583c4d=_0xb59bc1[_0x3918('0x4f')](_0x38838b['model'][_0x3918('0x48')][_0x3918('0x1e')]),_0x317a21=_0xb59bc1[_0x3918('0x24')](_0x583c4d),_0x1ff7a3=_0x583c4d[0x0][_0x3918('0x34')](_0x3918('0x10')),_0x496b25=_0x1ff7a3[_0x3918('0x4c')](_0x3918('0x49'))||0x0,_0x2cb622=_0x1c1ecb&&null!==_0x1c1ecb[_0x3918('0x14')]?_0x1c1ecb[_0x3918('0x14')]:!_0x38838b[_0x3918('0x9')][_0x3918('0x7')](_0x3918('0x11'))[_0x3918('0x3d')];let _0x201811;const _0x57d234=_0x1ff7a3['getChild'](0x0),_0x5aa09a=_0x2cb622?_0x317a21[_0x3918('0x18')]:_0x317a21[_0x3918('0x1c')],_0x1028da=_0xb59bc1[_0x3918('0x16')](_0x1ff7a3,{'startRow':0x0,'column':_0x5aa09a,'includeAllSlots':!0x1}),_0x1a21b3=Array[_0x3918('0x2c')](_0x1028da)[0x0][_0x3918('0x8')];if(_0x2cb622){const _0x298149=_0x57d234['getChild'](_0x496b25);if(_0x1a21b3[_0x3918('0x4')](_0x298149))return;_0x201811=_0x38838b[_0x3918('0x3b')][_0x3918('0x3e')](_0x38838b[_0x3918('0x3b')]['createPositionBefore'](_0x298149),_0x38838b[_0x3918('0x3b')][_0x3918('0x30')](_0x1a21b3));}else{const _0x3589bf=_0x57d234[_0x3918('0x28')](_0x496b25-0x1);if(!_0x3589bf)return;_0x201811=_0x38838b['model'][_0x3918('0x3e')](_0x38838b[_0x3918('0x3b')][_0x3918('0x27')](_0x1a21b3),_0x38838b[_0x3918('0x3b')][_0x3918('0x30')](_0x3589bf));}_0x38838b['model'][_0x3918('0x36')](()=>{_0x11b8e2['markBlockFormat'](_0x201811,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x2cb622}]},[],_0x3918('0x11'));});}),_0x38838b[_0x3918('0x3f')]['downcastDispatcher']['on'](_0x3918('0x38'),_0x14cbe6(),{'priority':_0x3918('0xb')}),_0x38838b['data'][_0x3918('0x3a')]['on'](_0x3918('0x38'),(_0x113221,_0x2bb0ce,_0x15e48d)=>{_0x15e48d[_0x3918('0x47')]['showSuggestionHighlights']&&_0x14cbe6({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x113221,_0x2bb0ce,_0x15e48d);},{'priority':_0x3918('0xb')}),_0x38838b[_0x3918('0x3f')][_0x3918('0x3a')]['on'](_0x3918('0x17'),(_0x51a9af,_0x5983ea,_0x39a331)=>{const {type:_0x431fb5,id:_0x5d2865}=_0x11b8e2[_0x3918('0x2e')](_0x5983ea[_0x3918('0x43')]),_0x4f0930=_0x11b8e2[_0x3918('0xa')](_0x5d2865);if(!_0x4f0930[_0x3918('0x1a')]||'setTableColumnHeader'!=_0x4f0930[_0x3918('0x1a')]['commandName'])return;const _0x157451=_0x39a331['mapper'][_0x3918('0x1d')](_0x5983ea[_0x3918('0x43')]);if(_0x157451)for(const _0x5cdb62 of _0x157451)_0x39a331['writer'][_0x3918('0x45')]('ck-suggestion-marker-'+_0x431fb5,_0x5cdb62),_0x39a331['writer'][_0x3918('0x45')](_0x3918('0x21'),_0x5cdb62),_0x39a331['writer'][_0x3918('0x5')](_0x3918('0x6'),_0x5cdb62),_0x39a331[_0x3918('0x31')][_0x3918('0x13')](_0x5cdb62,_0x5983ea[_0x3918('0x43')]);},{'priority':_0x3918('0xb')}),_0x11b8e2[_0x3918('0x35')][_0x3918('0xc')](_0x3382e5=>{const {data:_0x7bb87a}=_0x3382e5;if(_0x7bb87a){if(_0x3918('0x2b')==_0x7bb87a[_0x3918('0x46')]){const _0x13522b=_0x7bb87a[_0x3918('0x3')][0x0][_0x3918('0x14')];return _0x32af44(_0x4b43ae(_0x1b7c14,_0x13522b?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if(_0x3918('0x11')==_0x7bb87a[_0x3918('0x46')]){const _0xc8f985=_0x7bb87a['commandParams'][0x0][_0x3918('0x14')];return _0x32af44(_0x4b43ae(_0x1b7c14,_0xc8f985?_0x3918('0x2d'):'FORMAT_REGULAR_COLUMN'));}}function _0x32af44(_0x2917b0){return{'type':_0x3918('0x41'),'content':_0x4b43ae(_0x1b7c14,_0x3918('0x25'),_0x2917b0)};}});const _0x475f53=_0x244761['_acceptFormatSuggestionCallbackFactory']();_0x11b8e2['_suggestionFactory'][_0x3918('0x40')](_0x3918('0x1'),'setTableRowHeader',_0x3918('0x2a'),_0x475f53),_0x11b8e2[_0x3918('0x2f')]['registerCustomCallback'](_0x3918('0x1'),_0x3918('0x11'),'accept',_0x475f53);}}
23
+ const _0x5399=['consumable','TableUtils','markerRange','createPositionAfter','commandName','value','FORMAT_HEADER_ROW','commandParams','formatBlock','createRange','setTableColumnHeader','toViewElement','commands','data','headingRows','get','activeMarkers','markerName','editing','setAttribute','highest','markBlockFormat','enableCommand','accept','nodeAfter','removeClass','isBefore','change','getAttribute','from','ck-suggestion-marker-','parent','createPositionBefore','ck-suggestion-marker--active','last','format','unbindElementFromMarkerName','_splitMarkerName','model','bindElementToMarker','markerNameToElements','addMarker:suggestion','forceValue','getSelectionAffectedTableCells','FORMAT_REGULAR_COLUMN','first','getChild','FORMAT_REGULAR_ROW','createTableWalker','index','writer','nodeBefore','name','editor','removeAttribute','addClass','has','*Format:*\x20%0','TrackChangesEditing','selection','includes','_suggestionFactory','findAncestor','table','document','mapper','FORMAT_HEADER_COLUMN','getSuggestion','getCellLocation','cell','getColumnIndexes','options','plugins','setTableRowHeader','downcastDispatcher','item','_descriptionFactory','removeMarker:suggestion','headingColumns'];(function(_0x48d1ea,_0x5399bd){const _0x31bbbe=function(_0x95058e){while(--_0x95058e){_0x48d1ea['push'](_0x48d1ea['shift']());}};_0x31bbbe(++_0x5399bd);}(_0x5399,0x196));const _0x31bb=function(_0x48d1ea,_0x5399bd){_0x48d1ea=_0x48d1ea-0x0;let _0x31bbbe=_0x5399[_0x48d1ea];return _0x31bbbe;};import{Plugin as _0x3bf425}from'ckeditor5/src/core';import _0x402b38 from'./table';import{getTranslation as _0x6e20b}from'../utils/common-translations';export default class pt extends _0x3bf425{static get['requires'](){return[_0x402b38];}['afterInit'](){const _0x4d1f4d=this[_0x31bb('0x2a')];if(!_0x4d1f4d[_0x31bb('0x3d')][_0x31bb('0x2d')]('TableEditing'))return;const _0x2eccec=_0x4d1f4d['locale'],_0x3bb69e=_0x4d1f4d[_0x31bb('0x3d')][_0x31bb('0x4')](_0x31bb('0x2f')),_0x51116b=_0x4d1f4d[_0x31bb('0x3d')][_0x31bb('0x4')](_0x31bb('0x45')),_0x5c25f2=_0x4d1f4d[_0x31bb('0x3d')]['get'](_0x402b38);function _0x43b66a({showActiveMarker:_0x519a9e=!0x0,setDataAttribute:_0x1b77bf=!0x0}={}){return(_0x4fc224,_0x2b022f,_0x1e9561)=>{const {type:_0x3e18cc,id:_0x57a7e8}=_0x3bb69e[_0x31bb('0x1a')](_0x2b022f['markerName']),_0xe1b965=_0x3bb69e['getSuggestion'](_0x57a7e8);if(!_0xe1b965[_0x31bb('0x2')]||_0x31bb('0x4e')!=_0xe1b965[_0x31bb('0x2')][_0x31bb('0x48')])return;if(_0x2b022f[_0x31bb('0x40')])return void _0x4fc224['stop']();if(!_0x1e9561[_0x31bb('0x44')]['consume'](_0x2b022f[_0x31bb('0x46')],_0x4fc224[_0x31bb('0x29')]))return;const _0x2ad75b=_0x2b022f[_0x31bb('0x46')]['start'][_0x31bb('0xd')],_0x309b23=_0x2b022f[_0x31bb('0x46')]['end'][_0x31bb('0x28')],_0x27ba63=_0x2ad75b['parent'][_0x31bb('0x14')],{column:_0x5bee33}=_0x51116b[_0x31bb('0x39')](_0x2ad75b),{column:_0x30c07c}=_0x51116b['getCellLocation'](_0x309b23);for(let _0x40d76c=_0x5bee33;_0x40d76c<=_0x30c07c;_0x40d76c++){const _0x125e39=_0x51116b[_0x31bb('0x25')](_0x27ba63,{'column':_0x40d76c,'includeAllSlots':!0x1});for(const _0x31a3fe of _0x125e39){const _0xca2077=_0x31a3fe[_0x31bb('0x3a')],_0x5803c9=_0x1e9561[_0x31bb('0x36')][_0x31bb('0x0')](_0xca2077);_0x1e9561[_0x31bb('0x27')][_0x31bb('0x2c')](_0x31bb('0x13')+_0x3e18cc,_0x5803c9),_0x1b77bf&&_0x1e9561[_0x31bb('0x27')][_0x31bb('0x8')]('data-suggestion',_0x57a7e8,_0x5803c9),_0x1e9561[_0x31bb('0x36')][_0x31bb('0x1c')](_0x5803c9,_0x2b022f['markerName']),_0x519a9e&&(_0x3bb69e[_0x31bb('0x5')][_0x31bb('0x31')](_0x2b022f[_0x31bb('0x6')])?_0x1e9561[_0x31bb('0x27')]['addClass']('ck-suggestion-marker--active',_0x5803c9):_0x1e9561[_0x31bb('0x27')][_0x31bb('0xe')]('ck-suggestion-marker--active',_0x5803c9));}}};}_0x3bb69e[_0x31bb('0xb')](_0x31bb('0x3e'),(_0x4f3e32,_0x1c8f1d)=>{const _0x180735=_0x51116b[_0x31bb('0x20')](_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x35')][_0x31bb('0x30')]),_0x10ed88=_0x51116b['getRowIndexes'](_0x180735),_0x32def1=_0x180735[0x0][_0x31bb('0x33')](_0x31bb('0x34')),_0x263df3=_0x32def1[_0x31bb('0x11')](_0x31bb('0x3'))||0x0,_0x22d357=_0x1c8f1d&&null!==_0x1c8f1d[_0x31bb('0x1f')]?_0x1c8f1d[_0x31bb('0x1f')]:!_0x4d1f4d[_0x31bb('0x1')]['get'](_0x31bb('0x3e'))[_0x31bb('0x49')],_0x46f11c=_0x22d357?_0x10ed88[_0x31bb('0x17')]:_0x10ed88[_0x31bb('0x22')],_0x3b3d05=_0x32def1['getChild'](_0x46f11c);let _0x13e215;if(_0x22d357){const _0x38d67d=_0x32def1[_0x31bb('0x23')](_0x263df3);if(_0x3b3d05[_0x31bb('0x26')]<_0x38d67d[_0x31bb('0x26')])return;_0x13e215=_0x4d1f4d['model'][_0x31bb('0x4d')](_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x15')](_0x38d67d['getChild'](0x0)),_0x4d1f4d[_0x31bb('0x1b')]['createPositionAfter'](_0x3b3d05[_0x31bb('0x23')](_0x3b3d05['childCount']-0x1)));}else{const _0x5b185a=_0x32def1[_0x31bb('0x23')](_0x263df3-0x1);if(!_0x5b185a)return;_0x13e215=_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x4d')](_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x15')](_0x3b3d05[_0x31bb('0x23')](0x0)),_0x4d1f4d[_0x31bb('0x1b')]['createPositionAfter'](_0x5b185a[_0x31bb('0x23')](_0x5b185a['childCount']-0x1)));}_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x10')](()=>{_0x3bb69e[_0x31bb('0xa')](_0x13e215,{'commandName':_0x31bb('0x3e'),'commandParams':[{'forceValue':_0x22d357}]},[],'setTableRowHeader');});}),_0x3bb69e[_0x31bb('0xb')](_0x31bb('0x4e'),(_0x3083cb,_0x39d78e)=>{const _0x1b8a90=_0x4d1f4d[_0x31bb('0x3d')]['get'](_0x31bb('0x45')),_0x32d9d7=_0x1b8a90[_0x31bb('0x20')](_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x35')]['selection']),_0x44867f=_0x1b8a90[_0x31bb('0x3b')](_0x32d9d7),_0x33974e=_0x32d9d7[0x0][_0x31bb('0x33')]('table'),_0x7d3f4e=_0x33974e[_0x31bb('0x11')](_0x31bb('0x43'))||0x0,_0x1c08ee=_0x39d78e&&null!==_0x39d78e[_0x31bb('0x1f')]?_0x39d78e[_0x31bb('0x1f')]:!_0x4d1f4d['commands'][_0x31bb('0x4')]('setTableColumnHeader')[_0x31bb('0x49')];let _0x5da4f9;const _0x4a3e03=_0x33974e[_0x31bb('0x23')](0x0),_0x1fd25d=_0x1c08ee?_0x44867f[_0x31bb('0x17')]:_0x44867f[_0x31bb('0x22')],_0xb4cab6=_0x1b8a90[_0x31bb('0x25')](_0x33974e,{'startRow':0x0,'column':_0x1fd25d,'includeAllSlots':!0x1}),_0x2f6307=Array[_0x31bb('0x12')](_0xb4cab6)[0x0][_0x31bb('0x3a')];if(_0x1c08ee){const _0x1cc46e=_0x4a3e03[_0x31bb('0x23')](_0x7d3f4e);if(_0x2f6307[_0x31bb('0xf')](_0x1cc46e))return;_0x5da4f9=_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x4d')](_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x15')](_0x1cc46e),_0x4d1f4d['model'][_0x31bb('0x47')](_0x2f6307));}else{const _0x4a62e1=_0x4a3e03['getChild'](_0x7d3f4e-0x1);if(!_0x4a62e1)return;_0x5da4f9=_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x4d')](_0x4d1f4d[_0x31bb('0x1b')]['createPositionBefore'](_0x2f6307),_0x4d1f4d[_0x31bb('0x1b')][_0x31bb('0x47')](_0x4a62e1));}_0x4d1f4d['model'][_0x31bb('0x10')](()=>{_0x3bb69e[_0x31bb('0xa')](_0x5da4f9,{'commandName':_0x31bb('0x4e'),'commandParams':[{'forceValue':_0x1c08ee}]},[],_0x31bb('0x4e'));});}),_0x4d1f4d[_0x31bb('0x7')][_0x31bb('0x3f')]['on'](_0x31bb('0x1e'),_0x43b66a(),{'priority':'highest'}),_0x4d1f4d['data'][_0x31bb('0x3f')]['on']('addMarker:suggestion',(_0x2bad26,_0x3dd7fb,_0x29140e)=>{_0x29140e[_0x31bb('0x3c')]['showSuggestionHighlights']&&_0x43b66a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2bad26,_0x3dd7fb,_0x29140e);},{'priority':'highest'}),_0x4d1f4d[_0x31bb('0x7')]['downcastDispatcher']['on'](_0x31bb('0x42'),(_0x1dd02a,_0x118dd4,_0x520295)=>{const {type:_0x1ab9f7,id:_0x4d7213}=_0x3bb69e['_splitMarkerName'](_0x118dd4[_0x31bb('0x6')]),_0x14797d=_0x3bb69e[_0x31bb('0x38')](_0x4d7213);if(!_0x14797d['data']||_0x31bb('0x4e')!=_0x14797d['data'][_0x31bb('0x48')])return;const _0x456484=_0x520295['mapper'][_0x31bb('0x1d')](_0x118dd4[_0x31bb('0x6')]);if(_0x456484)for(const _0x2ec85d of _0x456484)_0x520295[_0x31bb('0x27')]['removeClass'](_0x31bb('0x13')+_0x1ab9f7,_0x2ec85d),_0x520295['writer'][_0x31bb('0xe')](_0x31bb('0x16'),_0x2ec85d),_0x520295[_0x31bb('0x27')][_0x31bb('0x2b')]('data-suggestion',_0x2ec85d),_0x520295[_0x31bb('0x36')][_0x31bb('0x19')](_0x2ec85d,_0x118dd4['markerName']);},{'priority':_0x31bb('0x9')}),_0x3bb69e[_0x31bb('0x41')]['registerDescriptionCallback'](_0x3132d2=>{const {data:_0xc14892}=_0x3132d2;if(_0xc14892){if(_0x31bb('0x3e')==_0xc14892[_0x31bb('0x48')]){const _0x6cef=_0xc14892[_0x31bb('0x4b')][0x0][_0x31bb('0x1f')];return _0x8815b8(_0x6e20b(_0x2eccec,_0x6cef?_0x31bb('0x4a'):_0x31bb('0x24')));}if(_0x31bb('0x4e')==_0xc14892[_0x31bb('0x48')]){const _0x4de54c=_0xc14892[_0x31bb('0x4b')][0x0][_0x31bb('0x1f')];return _0x8815b8(_0x6e20b(_0x2eccec,_0x4de54c?_0x31bb('0x37'):_0x31bb('0x21')));}}function _0x8815b8(_0x2e351b){return{'type':_0x31bb('0x18'),'content':_0x6e20b(_0x2eccec,_0x31bb('0x2e'),_0x2e351b)};}});const _0x44b1e5=_0x5c25f2['_acceptFormatSuggestionCallbackFactory']();_0x3bb69e['_suggestionFactory']['registerCustomCallback'](_0x31bb('0x4c'),_0x31bb('0x3e'),_0x31bb('0xc'),_0x44b1e5),_0x3bb69e[_0x31bb('0x32')]['registerCustomCallback']('formatBlock',_0x31bb('0x4e'),_0x31bb('0xc'),_0x44b1e5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x161e=['filter','deletion','execute','mergeTableCellUp','element','_descriptionFactory','push','selection','plugins','forceDefaultExecution','mergeTableCellDown','model','get','commands','markBlockFormat','has','splitTableCellHorizontally','horizontally','detach','low','mergeTableCells','splitTableCellVertically','root','registerCustomCallback','TableUtils','change','TableEditing','document','_areMergableCells','value','commandName','_suggestionFactory','_areSelectedCellsMergable','tableCell','createRangeOn','getSuggestions','isEnabled','from','mergeTableCellLeft','direction','getFirstPosition','highest','markMultiRangeBlockFormat','size','getCellLocation','getAncestors','getSelectionAffectedTableCells','add','formatBlock','accept','author','editor','find','$graveyard','mergeTableCellRight','*Split\x20cell:*\x20vertically','cell','table','format','isInContent','_acceptFormatSuggestionCallbackFactory','refresh','rootName','subType','length','TrackChangesEditing','getRanges','locale','registerDescriptionCallback','set:isEnabled','fromRange','type','stop','containsRange','map','setSelection','enableCommand','afterInit','createTableWalker'];(function(_0x4220a3,_0x161e5a){const _0xf8663b=function(_0x2c5a98){while(--_0x2c5a98){_0x4220a3['push'](_0x4220a3['shift']());}};_0xf8663b(++_0x161e5a);}(_0x161e,0x17a));const _0xf866=function(_0x4220a3,_0x161e5a){_0x4220a3=_0x4220a3-0x0;let _0xf8663b=_0x161e[_0x4220a3];return _0xf8663b;};import{Plugin as _0x5d1ed9}from'ckeditor5/src/core';import _0x5e501a from'./table';import{LiveRange as _0x41b4f3}from'ckeditor5/src/engine';import{getTranslation as _0x4c6203}from'../utils/common-translations';export default class dt extends _0x5d1ed9{static get['requires'](){return[_0x5e501a];}[_0xf866('0xf')](){const _0x4831d1=this[_0xf866('0x44')],_0x254907=_0x4831d1[_0xf866('0x1c')][_0xf866('0x2c')]['selection'],_0x43939e=_0x4831d1[_0xf866('0x5')];if(!_0x4831d1[_0xf866('0x19')][_0xf866('0x20')](_0xf866('0x2b')))return;const _0x397ba4=_0x4831d1[_0xf866('0x19')]['get'](_0xf866('0x3')),_0x53c96c=_0x4831d1['plugins'][_0xf866('0x1d')](_0xf866('0x29')),_0xc78be9=_0x4831d1[_0xf866('0x19')][_0xf866('0x1d')](_0x5e501a);_0xc78be9['_tablePostFixingSubtypes'][_0xf866('0x17')]('mergeTableCells'),_0x397ba4[_0xf866('0xe')](_0xf866('0x25'),()=>{const _0x3f003d=_0x53c96c['getSelectionAffectedTableCells'](_0x4831d1[_0xf866('0x1c')]['document'][_0xf866('0x18')]);_0x4831d1['model'][_0xf866('0x2a')](()=>{_0x397ba4[_0xf866('0x3b')](_0x3f003d,{'commandName':_0xf866('0x25'),'commandParams':[]},[],_0xf866('0x25'));});}),_0x4831d1[_0xf866('0x1e')][_0xf866('0x1d')](_0xf866('0x25'))['on'](_0xf866('0x13'),(_0x1b261a,_0x59d5fc)=>{_0x4831d1['commands'][_0xf866('0x1d')]('trackChanges')[_0xf866('0x2e')]&&(_0x59d5fc[_0xf866('0x2')]>0x0&&_0x59d5fc[_0x59d5fc[_0xf866('0x2')]-0x1]&&_0x59d5fc[_0x59d5fc[_0xf866('0x2')]-0x1][_0xf866('0x1a')]||_0x397ba4['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x1b261a[_0xf866('0xa')]());},{'priority':_0xf866('0x3a')});for(const _0xed1b57 of[_0xf866('0x14'),_0xf866('0x47'),_0xf866('0x1b'),_0xf866('0x37')]){const _0x48da27=_0x4831d1[_0xf866('0x1e')][_0xf866('0x1d')](_0xed1b57);_0x397ba4[_0xf866('0xe')](_0xed1b57,()=>{const _0x3f2edc=_0x4831d1[_0xf866('0x1c')][_0xf866('0x2c')]['selection'][_0xf866('0x39')]()[_0xf866('0x3e')]()[_0xf866('0x45')](_0xe24ce7=>_0xe24ce7['is'](_0xf866('0x15'),'tableCell')),_0x1b300b=_0x48da27[_0xf866('0x2e')];_0x4831d1[_0xf866('0x1c')][_0xf866('0x2a')](()=>{_0x397ba4['markMultiRangeBlockFormat']([_0x3f2edc,_0x1b300b],{'commandName':_0xf866('0x25'),'commandParams':[]},[],_0xf866('0x25'));});});}for(const _0x29155f of[_0xf866('0x26'),_0xf866('0x21')]){const _0x45b6d0=_0x4831d1['commands'][_0xf866('0x1d')](_0x29155f);_0x397ba4[_0xf866('0xe')](_0x29155f,()=>{const _0x24a469=_0x53c96c[_0xf866('0x3f')](_0x4831d1[_0xf866('0x1c')][_0xf866('0x2c')][_0xf866('0x18')])[0x0],_0x3194a8=_0x24a469['findAncestor'](_0xf866('0x4a')),{column:_0xb8b8b0,row:_0x4ff44}=_0x53c96c[_0xf866('0x3d')](_0x24a469);let _0x2d7d85=[];if(_0xf866('0x22')==_0x45b6d0[_0xf866('0x38')]){const _0x891a14=_0x53c96c['createTableWalker'](_0x3194a8,{'startRow':_0x4ff44,'endRow':_0x4ff44,'includeAllSlots':!0x0});_0x2d7d85=Array[_0xf866('0x36')](_0x891a14)[_0xf866('0xc')](_0x234224=>_0x234224[_0xf866('0x49')]);}else{const _0x1e66f4=_0x53c96c[_0xf866('0x10')](_0x3194a8,{'column':_0xb8b8b0,'includeAllSlots':!0x0});_0x2d7d85=Array['from'](_0x1e66f4)[_0xf866('0xc')](_0x13ba04=>_0x13ba04[_0xf866('0x49')]);}_0x4831d1[_0xf866('0x1c')][_0xf866('0x2a')](_0x11a7af=>{_0x397ba4[_0xf866('0x1f')](_0x11a7af[_0xf866('0x33')](_0x24a469),{'commandName':_0x29155f,'commandParams':[]},_0x2d7d85,_0x29155f);});});}_0x397ba4[_0xf866('0x16')]['registerDescriptionCallback'](_0xd26459=>{const {data:_0x5efbd7}=_0xd26459;if(_0x5efbd7)return _0xf866('0x25')==_0x5efbd7[_0xf866('0x2f')]?{'type':_0xf866('0x4b'),'content':_0x4c6203(_0x43939e,'*Merge\x20cells*')}:void 0x0;}),_0x397ba4[_0xf866('0x16')][_0xf866('0x6')](_0x596f58=>{const {data:_0x2435a4}=_0x596f58;if(_0x2435a4)return _0xf866('0x26')==_0x2435a4[_0xf866('0x2f')]?{'type':_0xf866('0x4b'),'content':_0x4c6203(_0x43939e,_0xf866('0x48'))}:_0xf866('0x21')==_0x2435a4[_0xf866('0x2f')]?{'type':_0xf866('0x4b'),'content':_0x4c6203(_0x43939e,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x30e24c=_0xc78be9[_0xf866('0x4d')]();for(const _0x394594 of['mergeTableCellUp',_0xf866('0x47'),_0xf866('0x1b'),_0xf866('0x37')])_0x397ba4['_suggestionFactory']['registerCustomCallback'](_0xf866('0x41'),_0x394594,_0xf866('0x42'),_0x30e24c);for(const _0x4dba10 of[_0xf866('0x26'),_0xf866('0x21')])_0x397ba4[_0xf866('0x30')][_0xf866('0x28')]('formatBlock',_0x4dba10,_0xf866('0x42'),_0x30e24c);_0x397ba4['_suggestionFactory'][_0xf866('0x28')](_0xf866('0x41'),_0xf866('0x25'),_0xf866('0x42'),_0x8ac858=>{_0x4831d1['model'][_0xf866('0x2a')](_0x1afd03=>{const _0x2a5431=Array[_0xf866('0x36')](_0x254907[_0xf866('0x4')]())['map'](_0x48553a=>_0x41b4f3[_0xf866('0x8')](_0x48553a));_0x1afd03[_0xf866('0xd')](_0x8ac858),_0x4831d1[_0xf866('0x1e')][_0xf866('0x1d')](_0xf866('0x25'))[_0xf866('0x4e')](),_0x4831d1['execute'](_0xf866('0x25'),{'forceDefaultExecution':!0x0});const _0x123c83=_0x2a5431[_0xf866('0x11')](_0x2e1c8d=>_0xf866('0x46')!=_0x2e1c8d[_0xf866('0x27')][_0xf866('0x0')]);_0x123c83[_0xf866('0x2')]>0x0&&_0x1afd03[_0xf866('0xd')](_0x123c83);for(const _0x37311a of _0x2a5431)_0x37311a[_0xf866('0x23')]();});});for(const _0x2aec5b of[_0xf866('0x14'),_0xf866('0x1b'),'mergeTableCellLeft','mergeTableCellRight']){const _0x552b46=_0x4831d1[_0xf866('0x1e')][_0xf866('0x1d')](_0x2aec5b);_0x552b46['on'](_0xf866('0x7'),(_0x30266f,_0x419824,_0x25357e)=>{if(_0x25357e){const _0x4dbae4=_0x4831d1['model']['document'][_0xf866('0x18')][_0xf866('0x39')]()[_0xf866('0x3e')]()[_0xf866('0x45')](_0x3f2f41=>_0x3f2f41['is'](_0xf866('0x15'),_0xf866('0x32')));this['_areMergableCells'](_0x552b46[_0xf866('0x2e')],_0x4dbae4)||(_0x30266f['return']=!0x1,_0x30266f[_0xf866('0xa')]());}},{'priority':_0xf866('0x24')});}}[_0xf866('0x31')](){const _0x35ed3f=this[_0xf866('0x44')][_0xf866('0x1e')][_0xf866('0x1d')](_0xf866('0x25')),_0x1e0f37=this[_0xf866('0x44')][_0xf866('0x19')][_0xf866('0x1d')](_0xf866('0x29'));if(!_0x35ed3f[_0xf866('0x35')])return!0x1;const _0x32e124=_0x1e0f37[_0xf866('0x3f')](this['editor'][_0xf866('0x1c')][_0xf866('0x2c')][_0xf866('0x18')]);for(const _0x37bffc of _0x32e124)for(const _0x56659c of _0x32e124)if(_0x37bffc!=_0x56659c&&!this[_0xf866('0x2d')](_0x37bffc,_0x56659c))return!0x1;return!0x0;}[_0xf866('0x2d')](_0x408da1,_0x4af8bf){const _0x23e0d4=this[_0xf866('0x44')][_0xf866('0x19')][_0xf866('0x1d')]('TrackChangesEditing'),_0x3ac157=this[_0xf866('0x44')][_0xf866('0x1c')][_0xf866('0x33')](_0x408da1),_0x27ac25=this['editor'][_0xf866('0x1c')][_0xf866('0x33')](_0x4af8bf),_0x106d9e=new Set(),_0x13a797=new Set();for(const _0x25f0e of _0x23e0d4[_0xf866('0x34')]())if(('insertion'==_0x25f0e['type']||_0xf866('0x12')==_0x25f0e[_0xf866('0x9')]||_0xf866('0x25')==_0x25f0e[_0xf866('0x1')])&&_0x25f0e[_0xf866('0x4c')])for(const _0x1a0202 of _0x25f0e['getRanges']())_0x1a0202[_0xf866('0xb')](_0x3ac157,!0x0)&&_0x106d9e[_0xf866('0x40')](_0x25f0e['type']+':'+_0x25f0e['author']['id']),_0x1a0202[_0xf866('0xb')](_0x27ac25,!0x0)&&_0x13a797['add'](_0x25f0e[_0xf866('0x9')]+':'+_0x25f0e[_0xf866('0x43')]['id']);if(_0x106d9e[_0xf866('0x3c')]!=_0x13a797[_0xf866('0x3c')])return!0x1;for(const _0x58b89b of _0x106d9e)if(!_0x13a797[_0xf866('0x20')](_0x58b89b))return!0x1;return!0x0;}}
23
+ const _0x1361=['format','change','subType','document','from','splitTableCellHorizontally','execute','horizontally','map','*Split\x20cell:*\x20horizontally','registerCustomCallback','find','stop','commandName','_areMergableCells','registerDescriptionCallback','requires','locale','model','_descriptionFactory','author','low','has','rootName','mergeTableCellDown','value','mergeTableCells','deletion','setSelection','enableCommand','getSuggestions','markBlockFormat','filter','type','get','set:isEnabled','getAncestors','editor','formatBlock','mergeTableCellLeft','size','getSelectionAffectedTableCells','splitTableCellVertically','refresh','_suggestionFactory','cell','createRangeOn','createTableWalker','containsRange','$graveyard','getFirstPosition','mergeTableCellRight','TrackChangesEditing','_acceptFormatSuggestionCallbackFactory','getCellLocation','table','markMultiRangeBlockFormat','commands','findAncestor','getRanges','length','detach','accept','TableUtils','return','element','*Merge\x20cells*','mergeTableCellUp','plugins','selection'];(function(_0x275209,_0x1361c6){const _0x814b96=function(_0x427117){while(--_0x427117){_0x275209['push'](_0x275209['shift']());}};_0x814b96(++_0x1361c6);}(_0x1361,0x109));const _0x814b=function(_0x275209,_0x1361c6){_0x275209=_0x275209-0x0;let _0x814b96=_0x1361[_0x275209];return _0x814b96;};import{Plugin as _0x4c5eb4}from'ckeditor5/src/core';import _0x2e0454 from'./table';import{LiveRange as _0x83ce77}from'ckeditor5/src/engine';import{getTranslation as _0x12e85b}from'../utils/common-translations';export default class dt extends _0x4c5eb4{static get[_0x814b('0x1f')](){return[_0x2e0454];}['afterInit'](){const _0x88add5=this[_0x814b('0x34')],_0x17c541=_0x88add5[_0x814b('0x21')][_0x814b('0x12')]['selection'],_0x541e1b=_0x88add5[_0x814b('0x20')];if(!_0x88add5['plugins'][_0x814b('0x25')]('TableEditing'))return;const _0x402e15=_0x88add5['plugins'][_0x814b('0x31')]('TrackChangesEditing'),_0x19d543=_0x88add5[_0x814b('0xd')][_0x814b('0x31')](_0x814b('0x8')),_0x26eae3=_0x88add5[_0x814b('0xd')][_0x814b('0x31')](_0x2e0454);_0x26eae3['_tablePostFixingSubtypes']['push'](_0x814b('0x29')),_0x402e15[_0x814b('0x2c')](_0x814b('0x29'),()=>{const _0x4b4d61=_0x19d543['getSelectionAffectedTableCells'](_0x88add5[_0x814b('0x21')][_0x814b('0x12')]['selection']);_0x88add5[_0x814b('0x21')][_0x814b('0x10')](()=>{_0x402e15['markMultiRangeBlockFormat'](_0x4b4d61,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x88add5[_0x814b('0x2')]['get'](_0x814b('0x29'))['on'](_0x814b('0x15'),(_0x3a1872,_0x28d644)=>{_0x88add5['commands'][_0x814b('0x31')]('trackChanges')['value']&&(_0x28d644['length']>0x0&&_0x28d644[_0x28d644[_0x814b('0x5')]-0x1]&&_0x28d644[_0x28d644['length']-0x1]['forceDefaultExecution']||_0x402e15['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x3a1872[_0x814b('0x1b')]());},{'priority':'highest'});for(const _0x36d065 of[_0x814b('0xc'),'mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x41f876=_0x88add5[_0x814b('0x2')][_0x814b('0x31')](_0x36d065);_0x402e15[_0x814b('0x2c')](_0x36d065,()=>{const _0xd598bc=_0x88add5[_0x814b('0x21')][_0x814b('0x12')][_0x814b('0xe')][_0x814b('0x41')]()[_0x814b('0x33')]()[_0x814b('0x1a')](_0x4e10f3=>_0x4e10f3['is']('element','tableCell')),_0x2a562f=_0x41f876[_0x814b('0x28')];_0x88add5[_0x814b('0x21')][_0x814b('0x10')](()=>{_0x402e15[_0x814b('0x1')]([_0xd598bc,_0x2a562f],{'commandName':_0x814b('0x29'),'commandParams':[]},[],_0x814b('0x29'));});});}for(const _0x4cffbd of[_0x814b('0x39'),'splitTableCellHorizontally']){const _0x22de99=_0x88add5[_0x814b('0x2')][_0x814b('0x31')](_0x4cffbd);_0x402e15['enableCommand'](_0x4cffbd,()=>{const _0x47ebb3=_0x19d543[_0x814b('0x38')](_0x88add5[_0x814b('0x21')]['document']['selection'])[0x0],_0x56f8d8=_0x47ebb3[_0x814b('0x3')](_0x814b('0x0')),{column:_0x4a1ce5,row:_0x523b75}=_0x19d543[_0x814b('0x45')](_0x47ebb3);let _0x1a3c88=[];if(_0x814b('0x16')==_0x22de99['direction']){const _0x51aded=_0x19d543[_0x814b('0x3e')](_0x56f8d8,{'startRow':_0x523b75,'endRow':_0x523b75,'includeAllSlots':!0x0});_0x1a3c88=Array['from'](_0x51aded)['map'](_0x56001b=>_0x56001b[_0x814b('0x3c')]);}else{const _0x4d7393=_0x19d543[_0x814b('0x3e')](_0x56f8d8,{'column':_0x4a1ce5,'includeAllSlots':!0x0});_0x1a3c88=Array[_0x814b('0x13')](_0x4d7393)[_0x814b('0x17')](_0x4c3e4e=>_0x4c3e4e['cell']);}_0x88add5[_0x814b('0x21')][_0x814b('0x10')](_0x292c8b=>{_0x402e15[_0x814b('0x2e')](_0x292c8b['createRangeOn'](_0x47ebb3),{'commandName':_0x4cffbd,'commandParams':[]},_0x1a3c88,_0x4cffbd);});});}_0x402e15[_0x814b('0x22')][_0x814b('0x1e')](_0x4b9add=>{const {data:_0x1c7507}=_0x4b9add;if(_0x1c7507)return'mergeTableCells'==_0x1c7507[_0x814b('0x1c')]?{'type':_0x814b('0xf'),'content':_0x12e85b(_0x541e1b,_0x814b('0xb'))}:void 0x0;}),_0x402e15['_descriptionFactory'][_0x814b('0x1e')](_0x3e2979=>{const {data:_0x3d4c6d}=_0x3e2979;if(_0x3d4c6d)return'splitTableCellVertically'==_0x3d4c6d[_0x814b('0x1c')]?{'type':_0x814b('0xf'),'content':_0x12e85b(_0x541e1b,'*Split\x20cell:*\x20vertically')}:_0x814b('0x14')==_0x3d4c6d[_0x814b('0x1c')]?{'type':'format','content':_0x12e85b(_0x541e1b,_0x814b('0x18'))}:void 0x0;});const _0x174521=_0x26eae3[_0x814b('0x44')]();for(const _0xa22845 of[_0x814b('0xc'),_0x814b('0x42'),_0x814b('0x27'),_0x814b('0x36')])_0x402e15[_0x814b('0x3b')]['registerCustomCallback'](_0x814b('0x35'),_0xa22845,'accept',_0x174521);for(const _0x39afa5 of[_0x814b('0x39'),_0x814b('0x14')])_0x402e15['_suggestionFactory'][_0x814b('0x19')](_0x814b('0x35'),_0x39afa5,_0x814b('0x7'),_0x174521);_0x402e15[_0x814b('0x3b')]['registerCustomCallback'](_0x814b('0x35'),'mergeTableCells',_0x814b('0x7'),_0x262d54=>{_0x88add5[_0x814b('0x21')][_0x814b('0x10')](_0x23afe8=>{const _0x238250=Array[_0x814b('0x13')](_0x17c541[_0x814b('0x4')]())[_0x814b('0x17')](_0xdb925b=>_0x83ce77['fromRange'](_0xdb925b));_0x23afe8[_0x814b('0x2b')](_0x262d54),_0x88add5[_0x814b('0x2')]['get'](_0x814b('0x29'))[_0x814b('0x3a')](),_0x88add5[_0x814b('0x15')](_0x814b('0x29'),{'forceDefaultExecution':!0x0});const _0x2bc7ac=_0x238250[_0x814b('0x2f')](_0x3aaef3=>_0x814b('0x40')!=_0x3aaef3['root'][_0x814b('0x26')]);_0x2bc7ac[_0x814b('0x5')]>0x0&&_0x23afe8['setSelection'](_0x2bc7ac);for(const _0x25df12 of _0x238250)_0x25df12[_0x814b('0x6')]();});});for(const _0x23c961 of[_0x814b('0xc'),_0x814b('0x27'),'mergeTableCellLeft',_0x814b('0x42')]){const _0x17fa1a=_0x88add5[_0x814b('0x2')][_0x814b('0x31')](_0x23c961);_0x17fa1a['on'](_0x814b('0x32'),(_0x2f387b,_0x1aa9b7,_0x2f7731)=>{if(_0x2f7731){const _0x30db02=_0x88add5[_0x814b('0x21')][_0x814b('0x12')][_0x814b('0xe')]['getFirstPosition']()[_0x814b('0x33')]()['find'](_0x4b62c2=>_0x4b62c2['is'](_0x814b('0xa'),'tableCell'));this[_0x814b('0x1d')](_0x17fa1a['value'],_0x30db02)||(_0x2f387b[_0x814b('0x9')]=!0x1,_0x2f387b[_0x814b('0x1b')]());}},{'priority':_0x814b('0x24')});}}['_areSelectedCellsMergable'](){const _0x297f65=this[_0x814b('0x34')][_0x814b('0x2')][_0x814b('0x31')](_0x814b('0x29')),_0x3dca7b=this['editor']['plugins'][_0x814b('0x31')](_0x814b('0x8'));if(!_0x297f65['isEnabled'])return!0x1;const _0x18d41=_0x3dca7b['getSelectionAffectedTableCells'](this['editor'][_0x814b('0x21')][_0x814b('0x12')][_0x814b('0xe')]);for(const _0x2d950c of _0x18d41)for(const _0x43d1a0 of _0x18d41)if(_0x2d950c!=_0x43d1a0&&!this[_0x814b('0x1d')](_0x2d950c,_0x43d1a0))return!0x1;return!0x0;}[_0x814b('0x1d')](_0x5cbf00,_0x24345e){const _0x557393=this[_0x814b('0x34')][_0x814b('0xd')][_0x814b('0x31')](_0x814b('0x43')),_0x787a0=this[_0x814b('0x34')][_0x814b('0x21')][_0x814b('0x3d')](_0x5cbf00),_0x334861=this['editor'][_0x814b('0x21')][_0x814b('0x3d')](_0x24345e),_0x348d6f=new Set(),_0x8effe1=new Set();for(const _0x4ff584 of _0x557393[_0x814b('0x2d')]())if(('insertion'==_0x4ff584[_0x814b('0x30')]||_0x814b('0x2a')==_0x4ff584[_0x814b('0x30')]||_0x814b('0x29')==_0x4ff584[_0x814b('0x11')])&&_0x4ff584['isInContent'])for(const _0x2fd861 of _0x4ff584[_0x814b('0x4')]())_0x2fd861[_0x814b('0x3f')](_0x787a0,!0x0)&&_0x348d6f['add'](_0x4ff584['type']+':'+_0x4ff584[_0x814b('0x23')]['id']),_0x2fd861['containsRange'](_0x334861,!0x0)&&_0x8effe1['add'](_0x4ff584[_0x814b('0x30')]+':'+_0x4ff584[_0x814b('0x23')]['id']);if(_0x348d6f[_0x814b('0x37')]!=_0x8effe1[_0x814b('0x37')])return!0x1;for(const _0x25e401 of _0x348d6f)if(!_0x8effe1[_0x814b('0x25')](_0x25e401))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ae9=['get','enableCommand','ELEMENT_TABLE_OF_CONTENTS','locale','editor','tableOfContents','plugins','TrackChangesEditing','registerElementLabel','insertTableOfContents','_descriptionFactory'];(function(_0x3e4405,_0x5ae911){const _0x50c09f=function(_0x45f0af){while(--_0x45f0af){_0x3e4405['push'](_0x3e4405['shift']());}};_0x50c09f(++_0x5ae911);}(_0x5ae9,0x169));const _0x50c0=function(_0x3e4405,_0x5ae911){_0x3e4405=_0x3e4405-0x0;let _0x50c09f=_0x5ae9[_0x3e4405];return _0x50c09f;};import{Plugin as _0x4ce3aa}from'ckeditor5/src/core';import{getTranslation as _0x5c63e3}from'../utils/common-translations';export default class bt extends _0x4ce3aa{['afterInit'](){const _0x3b9788=this[_0x50c0('0x6')];if(!_0x3b9788['commands'][_0x50c0('0x2')](_0x50c0('0x0')))return;_0x3b9788[_0x50c0('0x8')][_0x50c0('0x2')](_0x50c0('0x9'))[_0x50c0('0x3')](_0x50c0('0x0'));const _0x2917eb=_0x3b9788[_0x50c0('0x8')][_0x50c0('0x2')](_0x50c0('0x9')),_0x546387=_0x3b9788[_0x50c0('0x5')];_0x2917eb[_0x50c0('0x1')][_0x50c0('0xa')](_0x50c0('0x7'),_0xbee53d=>_0x5c63e3(_0x546387,_0x50c0('0x4'),_0xbee53d));}}
23
+ const _0x2fb7=['editor','get','plugins','tableOfContents','_descriptionFactory','enableCommand','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','insertTableOfContents','locale','registerElementLabel'];(function(_0x3b8846,_0x2fb71d){const _0x3c857d=function(_0x335f88){while(--_0x335f88){_0x3b8846['push'](_0x3b8846['shift']());}};_0x3c857d(++_0x2fb71d);}(_0x2fb7,0x15e));const _0x3c85=function(_0x3b8846,_0x2fb71d){_0x3b8846=_0x3b8846-0x0;let _0x3c857d=_0x2fb7[_0x3b8846];return _0x3c857d;};import{Plugin as _0x4a4b1c}from'ckeditor5/src/core';import{getTranslation as _0x491ce9}from'../utils/common-translations';export default class bt extends _0x4a4b1c{['afterInit'](){const _0x44779d=this[_0x3c85('0x2')];if(!_0x44779d['commands'][_0x3c85('0x3')](_0x3c85('0xa')))return;_0x44779d[_0x3c85('0x4')][_0x3c85('0x3')]('TrackChangesEditing')[_0x3c85('0x7')](_0x3c85('0xa'));const _0x4b9eef=_0x44779d[_0x3c85('0x4')][_0x3c85('0x3')](_0x3c85('0x9')),_0x49b4ba=_0x44779d[_0x3c85('0x0')];_0x4b9eef[_0x3c85('0x6')][_0x3c85('0x1')](_0x3c85('0x5'),_0x297eef=>_0x491ce9(_0x49b4ba,_0x3c85('0x8'),_0x297eef));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dec=['tableCellHorizontalAlignment','tableProperties','tableCellProperties','table','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','get','tableBorderStyle','format','tableCellPadding','model','_getSuggestion','batch','getFirstPosition','pluginName','document','plugins','getSuggestionCallback','markBlockFormat','registerDescriptionCallback','getSelectionAffectedTableCells','tableCellBorderColor','_suggestionFactory','tableCellBackgroundColor','tableCellVerticalAlignment','tableBackgroundColor','tableCellBorderWidth','TrackChangesEditing','editor','getSuggestions','handleSuggestionDescription','getContainedElement','TableCellPropertiesEditing','subType','TableUtils','tableHeight','TrackChangesTableProperties','handleDiscardAction','TablePropertiesEditing','nodeAfter','start','afterInit','setAttribute','registerCustomCallback','enqueueChange','accept','tableWidth','removeAttribute','has','*Format:*\x20change\x20table\x20properties','formatBlock','_handlePropertyChange','discard','tableCellHeight','getAttribute','enableCommand'];(function(_0xa79fbc,_0x2dec25){const _0x2cb480=function(_0x15b6b3){while(--_0x15b6b3){_0xa79fbc['push'](_0xa79fbc['shift']());}};_0x2cb480(++_0x2dec25);}(_0x2dec,0x90));const _0x2cb4=function(_0xa79fbc,_0x2dec25){_0xa79fbc=_0xa79fbc-0x0;let _0x2cb480=_0x2dec[_0xa79fbc];return _0x2cb480;};import{Plugin as _0x4a75d8}from'ckeditor5/src/core';import{getTranslation as _0x40aabf}from'../utils/common-translations';export default class Ct extends _0x4a75d8{constructor(_0x274337){super(_0x274337),this[_0x2cb4('0x19')]=[_0x2cb4('0x1d'),_0x2cb4('0x1f'),'tableBorderWidth','tableAlignment',_0x2cb4('0xe'),_0x2cb4('0x3'),_0x2cb4('0x31')],this['tableCellProperties']=[_0x2cb4('0x2d'),'tableCellBorderStyle',_0x2cb4('0x32'),_0x2cb4('0x21'),'tableCellWidth',_0x2cb4('0x15'),_0x2cb4('0x2f'),_0x2cb4('0x18'),_0x2cb4('0x30')];}static get[_0x2cb4('0x26')](){return _0x2cb4('0x4');}[_0x2cb4('0x9')](){const _0x12b0df=this[_0x2cb4('0x34')][_0x2cb4('0x28')][_0x2cb4('0x1e')]('TrackChangesEditing');if(this[_0x2cb4('0x34')][_0x2cb4('0x28')][_0x2cb4('0x10')](_0x2cb4('0x6'))){for(const _0xe10cf2 of this['tableProperties'])_0x12b0df[_0x2cb4('0x17')](_0xe10cf2,(_0x3c298b,_0x314f3d)=>{const _0x1f3fb7=this[_0x2cb4('0x34')][_0x2cb4('0x22')][_0x2cb4('0x27')]['selection'][_0x2cb4('0x25')]()['findAncestor'](_0x2cb4('0x1b'));this[_0x2cb4('0x13')](_0xe10cf2,[_0x1f3fb7],this[_0x2cb4('0x19')],'tableProperties',_0x3c298b,_0x314f3d);});_0x12b0df[_0x2cb4('0x2e')]['registerCustomCallback'](_0x2cb4('0x12'),_0x2cb4('0x19'),_0x2cb4('0xd'),_0x12b0df[_0x2cb4('0x2e')][_0x2cb4('0x29')]('formatBlock',null,_0x2cb4('0x14'))),_0x12b0df[_0x2cb4('0x2e')][_0x2cb4('0xb')](_0x2cb4('0x12'),_0x2cb4('0x19'),_0x2cb4('0x14'),(_0x51efc7,_0x5d5f5c)=>this[_0x2cb4('0x5')](this[_0x2cb4('0x19')],_0x51efc7,_0x5d5f5c)),_0x12b0df[_0x2cb4('0x2e')]['registerCustomCallback'](_0x2cb4('0x12'),_0x2cb4('0x19'),'join',()=>!0x1);}if(this[_0x2cb4('0x34')][_0x2cb4('0x28')][_0x2cb4('0x10')](_0x2cb4('0x0'))){for(const _0x43f56b of this[_0x2cb4('0x1a')])_0x12b0df[_0x2cb4('0x17')](_0x43f56b,(_0xc2f6b5,_0x54b5e9)=>{const _0x2bcf4a=this[_0x2cb4('0x34')][_0x2cb4('0x28')][_0x2cb4('0x1e')](_0x2cb4('0x2'))[_0x2cb4('0x2c')](this[_0x2cb4('0x34')][_0x2cb4('0x22')][_0x2cb4('0x27')]['selection']);this[_0x2cb4('0x13')](_0x43f56b,_0x2bcf4a,this[_0x2cb4('0x1a')],_0x2cb4('0x1a'),_0xc2f6b5,_0x54b5e9);});_0x12b0df[_0x2cb4('0x2e')][_0x2cb4('0xb')](_0x2cb4('0x12'),'tableCellProperties','accept',_0x12b0df[_0x2cb4('0x2e')][_0x2cb4('0x29')]('formatBlock',null,_0x2cb4('0x14'))),_0x12b0df[_0x2cb4('0x2e')][_0x2cb4('0xb')](_0x2cb4('0x12'),_0x2cb4('0x1a'),_0x2cb4('0x14'),(_0x48969f,_0x48028a)=>this[_0x2cb4('0x5')](this['tableCellProperties'],_0x48969f,_0x48028a)),_0x12b0df['_suggestionFactory'][_0x2cb4('0xb')](_0x2cb4('0x12'),_0x2cb4('0x1a'),'join',()=>!0x1);}_0x12b0df['_descriptionFactory'][_0x2cb4('0x2b')](_0x45990c=>this[_0x2cb4('0x36')](_0x45990c));}[_0x2cb4('0x13')](_0x5c6717,_0x4ad67b,_0x2b2664,_0x4ecb4a,_0xcb546d,_0x3a0dd2){const _0x4f5a27=this[_0x2cb4('0x34')][_0x2cb4('0x28')][_0x2cb4('0x1e')]('TrackChangesEditing');this[_0x2cb4('0x34')]['model'][_0x2cb4('0xc')](_0x3a0dd2[_0x2cb4('0x24')],()=>{for(const _0x34efe9 of _0x4ad67b){if(this[_0x2cb4('0x23')](_0x34efe9,_0x4ecb4a))_0xcb546d(_0x3a0dd2);else{const _0x1e356f={};for(const _0xd4c81 of _0x2b2664){const _0x47784f=_0x34efe9[_0x2cb4('0x16')](_0xd4c81);void 0x0!==_0x47784f&&(_0x1e356f[_0xd4c81]=_0x47784f);}_0xcb546d(_0x3a0dd2),_0x4f5a27[_0x2cb4('0x2a')](_0x34efe9,{'commandParams':[_0x1e356f]},[],_0x4ecb4a);}}});}[_0x2cb4('0x5')](_0xb3bf2,_0x13d10f,_0x2bb95e){const _0x2ccf82=_0x13d10f[0x0][_0x2cb4('0x8')][_0x2cb4('0x7')],_0x789de8=_0x2bb95e['commandParams'][0x0];this[_0x2cb4('0x34')][_0x2cb4('0x22')]['change'](_0x209e18=>{for(const _0x385f0a of _0xb3bf2)void 0x0!==_0x789de8[_0x385f0a]?_0x209e18[_0x2cb4('0xa')](_0x385f0a,_0x789de8[_0x385f0a],_0x2ccf82):_0x209e18[_0x2cb4('0xf')](_0x385f0a,_0x2ccf82);});}['handleSuggestionDescription'](_0xa3ebb6){if(_0xa3ebb6['data'])switch(_0xa3ebb6[_0x2cb4('0x1')]){case'tableProperties':return{'type':_0x2cb4('0x20'),'content':_0x40aabf(this['editor']['locale'],_0x2cb4('0x11'))};case _0x2cb4('0x1a'):return{'type':_0x2cb4('0x20'),'content':_0x40aabf(this[_0x2cb4('0x34')]['locale'],_0x2cb4('0x1c'))};}}[_0x2cb4('0x23')](_0x526b86,_0xb48349){const _0x284e36=this['editor'][_0x2cb4('0x28')][_0x2cb4('0x1e')](_0x2cb4('0x33'));for(const _0x2a2771 of _0x284e36[_0x2cb4('0x35')]({'skipNotAttached':!0x0})){const _0x1bc743=_0x2a2771[_0x2cb4('0x37')]();if(_0x2a2771[_0x2cb4('0x1')]===_0xb48349&&_0x1bc743===_0x526b86)return _0x2a2771;}return null;}}
23
+ const _0x1cd4=['registerDescriptionCallback','_handlePropertyChange','data','table','enqueueChange','tableCellWidth','plugins','_suggestionFactory','formatBlock','tableCellPadding','removeAttribute','format','has','getSuggestionCallback','tableBackgroundColor','afterInit','tableCellBackgroundColor','change','_getSuggestion','TrackChangesEditing','locale','subType','tableBorderColor','*Format:*\x20change\x20table\x20properties','*Format:*\x20change\x20table\x20cell\x20properties','document','tableHeight','registerCustomCallback','getSelectionAffectedTableCells','join','markBlockFormat','tableBorderStyle','pluginName','model','handleDiscardAction','editor','start','setAttribute','findAncestor','tableCellBorderColor','nodeAfter','tableWidth','getAttribute','get','tableCellHeight','tableProperties','selection','getFirstPosition','handleSuggestionDescription','commandParams','TablePropertiesEditing','getSuggestions','enableCommand','discard','accept','tableCellHorizontalAlignment','TrackChangesTableProperties','getContainedElement','tableCellBorderWidth','tableCellProperties'];(function(_0x3b5214,_0x1cd4d9){const _0x1e6775=function(_0x567fcf){while(--_0x567fcf){_0x3b5214['push'](_0x3b5214['shift']());}};_0x1e6775(++_0x1cd4d9);}(_0x1cd4,0x15d));const _0x1e67=function(_0x3b5214,_0x1cd4d9){_0x3b5214=_0x3b5214-0x0;let _0x1e6775=_0x1cd4[_0x3b5214];return _0x1e6775;};import{Plugin as _0x2f7324}from'ckeditor5/src/core';import{getTranslation as _0x535a52}from'../utils/common-translations';export default class Ct extends _0x2f7324{constructor(_0x4d8cb0){super(_0x4d8cb0),this[_0x1e67('0x38')]=[_0x1e67('0x21'),_0x1e67('0x2a'),'tableBorderWidth','tableAlignment',_0x1e67('0x34'),_0x1e67('0x25'),_0x1e67('0x19')],this[_0x1e67('0xa')]=[_0x1e67('0x32'),'tableCellBorderStyle',_0x1e67('0x9'),_0x1e67('0x14'),_0x1e67('0x10'),_0x1e67('0x37'),_0x1e67('0x1b'),_0x1e67('0x6'),'tableCellVerticalAlignment'];}static get[_0x1e67('0x2b')](){return _0x1e67('0x7');}[_0x1e67('0x1a')](){const _0x16f126=this[_0x1e67('0x2e')][_0x1e67('0x11')][_0x1e67('0x36')](_0x1e67('0x1e'));if(this[_0x1e67('0x2e')][_0x1e67('0x11')][_0x1e67('0x17')](_0x1e67('0x1'))){for(const _0x1dd773 of this[_0x1e67('0x38')])_0x16f126[_0x1e67('0x3')](_0x1dd773,(_0x1e38d0,_0x16c083)=>{const _0x2fc11d=this['editor'][_0x1e67('0x2c')][_0x1e67('0x24')][_0x1e67('0x39')][_0x1e67('0x3a')]()[_0x1e67('0x31')](_0x1e67('0xe'));this[_0x1e67('0xc')](_0x1dd773,[_0x2fc11d],this[_0x1e67('0x38')],_0x1e67('0x38'),_0x1e38d0,_0x16c083);});_0x16f126[_0x1e67('0x12')]['registerCustomCallback'](_0x1e67('0x13'),'tableProperties',_0x1e67('0x5'),_0x16f126['_suggestionFactory'][_0x1e67('0x18')]('formatBlock',null,_0x1e67('0x4'))),_0x16f126[_0x1e67('0x12')]['registerCustomCallback']('formatBlock','tableProperties',_0x1e67('0x4'),(_0x40b83b,_0x587a2c)=>this[_0x1e67('0x2d')](this[_0x1e67('0x38')],_0x40b83b,_0x587a2c)),_0x16f126[_0x1e67('0x12')][_0x1e67('0x26')](_0x1e67('0x13'),_0x1e67('0x38'),'join',()=>!0x1);}if(this[_0x1e67('0x2e')]['plugins'][_0x1e67('0x17')]('TableCellPropertiesEditing')){for(const _0x10e284 of this[_0x1e67('0xa')])_0x16f126[_0x1e67('0x3')](_0x10e284,(_0x25cbcf,_0x5e3e4c)=>{const _0x39f5f4=this[_0x1e67('0x2e')][_0x1e67('0x11')]['get']('TableUtils')[_0x1e67('0x27')](this[_0x1e67('0x2e')][_0x1e67('0x2c')][_0x1e67('0x24')]['selection']);this[_0x1e67('0xc')](_0x10e284,_0x39f5f4,this[_0x1e67('0xa')],_0x1e67('0xa'),_0x25cbcf,_0x5e3e4c);});_0x16f126[_0x1e67('0x12')]['registerCustomCallback'](_0x1e67('0x13'),_0x1e67('0xa'),_0x1e67('0x5'),_0x16f126[_0x1e67('0x12')]['getSuggestionCallback'](_0x1e67('0x13'),null,'discard')),_0x16f126['_suggestionFactory'][_0x1e67('0x26')](_0x1e67('0x13'),_0x1e67('0xa'),_0x1e67('0x4'),(_0x17c050,_0x1c7224)=>this['handleDiscardAction'](this[_0x1e67('0xa')],_0x17c050,_0x1c7224)),_0x16f126[_0x1e67('0x12')]['registerCustomCallback'](_0x1e67('0x13'),'tableCellProperties',_0x1e67('0x28'),()=>!0x1);}_0x16f126['_descriptionFactory'][_0x1e67('0xb')](_0x4ad144=>this[_0x1e67('0x3b')](_0x4ad144));}[_0x1e67('0xc')](_0x49a331,_0x5b2db2,_0x5ce028,_0x9dc9c2,_0x24bbf1,_0x4414c6){const _0x5d53d3=this[_0x1e67('0x2e')][_0x1e67('0x11')][_0x1e67('0x36')](_0x1e67('0x1e'));this[_0x1e67('0x2e')]['model'][_0x1e67('0xf')](_0x4414c6['batch'],()=>{for(const _0x58f46f of _0x5b2db2){if(this[_0x1e67('0x1d')](_0x58f46f,_0x9dc9c2))_0x24bbf1(_0x4414c6);else{const _0x2475a3={};for(const _0x31f91a of _0x5ce028){const _0x38d794=_0x58f46f[_0x1e67('0x35')](_0x31f91a);void 0x0!==_0x38d794&&(_0x2475a3[_0x31f91a]=_0x38d794);}_0x24bbf1(_0x4414c6),_0x5d53d3[_0x1e67('0x29')](_0x58f46f,{'commandParams':[_0x2475a3]},[],_0x9dc9c2);}}});}[_0x1e67('0x2d')](_0x109b08,_0x2872a2,_0x504d55){const _0x409413=_0x2872a2[0x0][_0x1e67('0x2f')][_0x1e67('0x33')],_0xd15525=_0x504d55[_0x1e67('0x0')][0x0];this[_0x1e67('0x2e')][_0x1e67('0x2c')][_0x1e67('0x1c')](_0x384169=>{for(const _0x38419c of _0x109b08)void 0x0!==_0xd15525[_0x38419c]?_0x384169[_0x1e67('0x30')](_0x38419c,_0xd15525[_0x38419c],_0x409413):_0x384169[_0x1e67('0x15')](_0x38419c,_0x409413);});}['handleSuggestionDescription'](_0x583d4b){if(_0x583d4b[_0x1e67('0xd')])switch(_0x583d4b[_0x1e67('0x20')]){case _0x1e67('0x38'):return{'type':_0x1e67('0x16'),'content':_0x535a52(this[_0x1e67('0x2e')][_0x1e67('0x1f')],_0x1e67('0x22'))};case'tableCellProperties':return{'type':_0x1e67('0x16'),'content':_0x535a52(this[_0x1e67('0x2e')][_0x1e67('0x1f')],_0x1e67('0x23'))};}}[_0x1e67('0x1d')](_0x139bcc,_0x12f2e1){const _0x29a8f3=this[_0x1e67('0x2e')]['plugins'][_0x1e67('0x36')](_0x1e67('0x1e'));for(const _0x532859 of _0x29a8f3[_0x1e67('0x2')]({'skipNotAttached':!0x0})){const _0x1d5c98=_0x532859[_0x1e67('0x8')]();if(_0x532859[_0x1e67('0x20')]===_0x12f2e1&&_0x1d5c98===_0x139bcc)return _0x532859;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c11=['editor','get','has','TrackChangesEditing','plugins'];(function(_0x476769,_0x2c11c1){const _0x5265ba=function(_0x353d41){while(--_0x353d41){_0x476769['push'](_0x476769['shift']());}};_0x5265ba(++_0x2c11c1);}(_0x2c11,0x190));const _0x5265=function(_0x476769,_0x2c11c1){_0x476769=_0x476769-0x0;let _0x5265ba=_0x2c11[_0x476769];return _0x5265ba;};import{Plugin as _0x3c7f9d}from'ckeditor5/src/core';export default class yt extends _0x3c7f9d{['afterInit'](){const _0xa20096=this[_0x5265('0x0')];_0xa20096[_0x5265('0x4')][_0x5265('0x2')]('Template')&&_0xa20096[_0x5265('0x4')][_0x5265('0x1')](_0x5265('0x3'))['enableCommand']('insertTemplate');}}
23
+ const _0x3419=['TrackChangesEditing','has','afterInit','plugins','get','Template','insertTemplate'];(function(_0x32d5e5,_0x3419bb){const _0x50da6f=function(_0x3e4117){while(--_0x3e4117){_0x32d5e5['push'](_0x32d5e5['shift']());}};_0x50da6f(++_0x3419bb);}(_0x3419,0x139));const _0x50da=function(_0x32d5e5,_0x3419bb){_0x32d5e5=_0x32d5e5-0x0;let _0x50da6f=_0x3419[_0x32d5e5];return _0x50da6f;};import{Plugin as _0x2d4e6b}from'ckeditor5/src/core';export default class yt extends _0x2d4e6b{[_0x50da('0x4')](){const _0x1281e4=this['editor'];_0x1281e4[_0x50da('0x5')][_0x50da('0x3')](_0x50da('0x0'))&&_0x1281e4[_0x50da('0x5')][_0x50da('0x6')](_0x50da('0x2'))['enableCommand'](_0x50da('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fa2=['plugins','end','has','locale','registerPostFixer','differ','isCollapsed','model','TrackChangesEditing','Title','title-content','element','isTouching','from','_descriptionFactory','editor','newRange','_splitMarkerName','registerElementLabel','document','createRange','start','forward'];(function(_0x1ed0a4,_0x4fa258){const _0x4d9b9b=function(_0x5c3f17){while(--_0x5c3f17){_0x1ed0a4['push'](_0x1ed0a4['shift']());}};_0x4d9b9b(++_0x4fa258);}(_0x4fa2,0xe5));const _0x4d9b=function(_0x1ed0a4,_0x4fa258){_0x1ed0a4=_0x1ed0a4-0x0;let _0x4d9b9b=_0x4fa2[_0x1ed0a4];return _0x4d9b9b;};import{Plugin as _0x2cf309}from'ckeditor5/src/core';import{getTranslation as _0x1aa894}from'../utils/common-translations';export default class St extends _0x2cf309{['afterInit'](){const _0x392730=this[_0x4d9b('0x10')];if(!_0x392730[_0x4d9b('0x1')][_0x4d9b('0x3')](_0x4d9b('0xa')))return;const _0x22988b=_0x392730[_0x4d9b('0x1')]['get'](_0x4d9b('0x9'));_0x22988b[_0x4d9b('0xf')][_0x4d9b('0x13')]('title-content',()=>_0x1aa894(_0x392730[_0x4d9b('0x4')],'ELEMENT_TITLE')),_0x392730['model'][_0x4d9b('0x14')][_0x4d9b('0x5')](_0x1f3ca1=>{let _0x35fcf6=!0x1;const _0x281917=Array[_0x4d9b('0xe')](_0x392730[_0x4d9b('0x8')][_0x4d9b('0x14')][_0x4d9b('0x6')]['getChangedMarkers']());for(const {name:_0x457cfa,data:_0x4a0d53}of _0x281917){const {group:_0x5c6889}=_0x22988b[_0x4d9b('0x12')](_0x457cfa);if('suggestion'!==_0x5c6889||!_0x4a0d53[_0x4d9b('0x11')])continue;const _0x172f3e=_0x4a0d53[_0x4d9b('0x11')],_0x100bb7=_0x172f3e[_0x4d9b('0x2')]['nodeBefore'];if(!_0x100bb7||!_0x100bb7['is'](_0x4d9b('0xc'),_0x4d9b('0xb')))continue;if(!_0x172f3e[_0x4d9b('0x16')][_0x4d9b('0xd')](_0x172f3e[_0x4d9b('0x2')]))continue;const _0x6043a3=_0x392730[_0x4d9b('0x8')]['schema']['getNearestSelectionRange'](_0x172f3e['end'],_0x4d9b('0x0'));if(_0x6043a3&&_0x6043a3[_0x4d9b('0x7')]){const _0x5ab9b4=_0x1f3ca1[_0x4d9b('0x15')](_0x172f3e['start'],_0x6043a3['start']);_0x5ab9b4['isEqual'](_0x172f3e)||(_0x1f3ca1['updateMarker'](_0x457cfa,{'range':_0x5ab9b4}),_0x35fcf6=!0x0);}_0x35fcf6||(_0x1f3ca1['removeMarker'](_0x457cfa),_0x35fcf6=!0x0);}return _0x35fcf6;});}}
23
+ const _0x2111=['locale','ELEMENT_TITLE','_splitMarkerName','end','schema','removeMarker','registerPostFixer','start','editor','get','model','has','newRange','suggestion','getChangedMarkers','isTouching','document','element','_descriptionFactory','forward','from','Title','nodeBefore','TrackChangesEditing','title-content','getNearestSelectionRange','plugins','afterInit','registerElementLabel'];(function(_0x4c6f21,_0x211192){const _0x36983c=function(_0x1dfdcb){while(--_0x1dfdcb){_0x4c6f21['push'](_0x4c6f21['shift']());}};_0x36983c(++_0x211192);}(_0x2111,0x1a5));const _0x3698=function(_0x4c6f21,_0x211192){_0x4c6f21=_0x4c6f21-0x0;let _0x36983c=_0x2111[_0x4c6f21];return _0x36983c;};import{Plugin as _0x2991a9}from'ckeditor5/src/core';import{getTranslation as _0x10309b}from'../utils/common-translations';export default class St extends _0x2991a9{[_0x3698('0xc')](){const _0x2f39c6=this[_0x3698('0x16')];if(!_0x2f39c6[_0x3698('0xb')][_0x3698('0x19')](_0x3698('0x6')))return;const _0x338f5c=_0x2f39c6[_0x3698('0xb')][_0x3698('0x17')](_0x3698('0x8'));_0x338f5c[_0x3698('0x3')][_0x3698('0xd')](_0x3698('0x9'),()=>_0x10309b(_0x2f39c6[_0x3698('0xe')],_0x3698('0xf'))),_0x2f39c6[_0x3698('0x18')][_0x3698('0x1')][_0x3698('0x14')](_0x519713=>{let _0x159377=!0x1;const _0x43e653=Array[_0x3698('0x5')](_0x2f39c6[_0x3698('0x18')][_0x3698('0x1')]['differ'][_0x3698('0x1c')]());for(const {name:_0x501b02,data:_0x404c08}of _0x43e653){const {group:_0x56685b}=_0x338f5c[_0x3698('0x10')](_0x501b02);if(_0x3698('0x1b')!==_0x56685b||!_0x404c08[_0x3698('0x1a')])continue;const _0x1ac543=_0x404c08['newRange'],_0x4f2e1a=_0x1ac543[_0x3698('0x11')][_0x3698('0x7')];if(!_0x4f2e1a||!_0x4f2e1a['is'](_0x3698('0x2'),_0x3698('0x9')))continue;if(!_0x1ac543[_0x3698('0x15')][_0x3698('0x0')](_0x1ac543[_0x3698('0x11')]))continue;const _0x4eddf1=_0x2f39c6[_0x3698('0x18')][_0x3698('0x12')][_0x3698('0xa')](_0x1ac543[_0x3698('0x11')],_0x3698('0x4'));if(_0x4eddf1&&_0x4eddf1['isCollapsed']){const _0x3af595=_0x519713['createRange'](_0x1ac543['start'],_0x4eddf1[_0x3698('0x15')]);_0x3af595['isEqual'](_0x1ac543)||(_0x519713['updateMarker'](_0x501b02,{'range':_0x3af595}),_0x159377=!0x0);}_0x159377||(_0x519713[_0x3698('0x13')](_0x501b02),_0x159377=!0x0);}return _0x159377;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c74=['undo','afterInit','enableCommand','redo','plugins','has','get'];(function(_0x37064f,_0x1c7425){const _0x507b10=function(_0x4e073e){while(--_0x4e073e){_0x37064f['push'](_0x37064f['shift']());}};_0x507b10(++_0x1c7425);}(_0x1c74,0x14b));const _0x507b=function(_0x37064f,_0x1c7425){_0x37064f=_0x37064f-0x0;let _0x507b10=_0x1c74[_0x37064f];return _0x507b10;};import{Plugin as _0x32790d}from'ckeditor5/src/core';export default class It extends _0x32790d{[_0x507b('0x6')](){const _0x415bab=this['editor'],_0x5eef0f=_0x415bab[_0x507b('0x2')][_0x507b('0x4')]('TrackChangesEditing');_0x415bab[_0x507b('0x2')][_0x507b('0x3')]('UndoEditing')&&(_0x5eef0f[_0x507b('0x0')](_0x507b('0x5')),_0x5eef0f[_0x507b('0x0')](_0x507b('0x1')));}}
23
+ const _0x1cb5=['enableCommand','TrackChangesEditing','redo','get','undo','UndoEditing','plugins'];(function(_0x4c7d46,_0x1cb5d0){const _0x43996d=function(_0xbaa02){while(--_0xbaa02){_0x4c7d46['push'](_0x4c7d46['shift']());}};_0x43996d(++_0x1cb5d0);}(_0x1cb5,0x1a5));const _0x4399=function(_0x4c7d46,_0x1cb5d0){_0x4c7d46=_0x4c7d46-0x0;let _0x43996d=_0x1cb5[_0x4c7d46];return _0x43996d;};import{Plugin as _0x5ef7cb}from'ckeditor5/src/core';export default class It extends _0x5ef7cb{['afterInit'](){const _0x2ef029=this['editor'],_0x5ccad6=_0x2ef029[_0x4399('0x5')][_0x4399('0x2')](_0x4399('0x0'));_0x2ef029[_0x4399('0x5')]['has'](_0x4399('0x4'))&&(_0x5ccad6[_0x4399('0x6')](_0x4399('0x3')),_0x5ccad6[_0x4399('0x6')](_0x4399('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3465=['addClass','addHighlight','nextSibling','model','name','ck-suggestion-marker--active','span','start','toViewElement','markerRange','schema','plugins','element','elementEnd','writer','markerName','isContent','TrackChangesEditing','isLimit','consumable','createUIElement','mapper','createRangeOn','hasAttribute','activeMarkers','isBlock','toViewPosition','ck-suggestion-marker-','insert','previousPosition','isAtEnd'];(function(_0x186c1e,_0x346555){const _0x52fbc9=function(_0x6722ce){while(--_0x6722ce){_0x186c1e['push'](_0x186c1e['shift']());}};_0x52fbc9(++_0x346555);}(_0x3465,0xca));const _0x52fb=function(_0x186c1e,_0x346555){_0x186c1e=_0x186c1e-0x0;let _0x52fbc9=_0x3465[_0x186c1e];return _0x52fbc9;};export function getRangesWithAttribute(_0x546da0,_0x527933,_0x2645a4){const _0x5213b8=[];for(const _0xcbecd5 of _0x527933['getItems']())_0xcbecd5[_0x52fb('0x7')](_0x546da0)&&_0x5213b8['push'](_0x2645a4[_0x52fb('0x6')](_0xcbecd5));return _0x5213b8;}export function getElementsAffectedByListItemRename(_0x4919cb){const _0x1b236b=[];if(_0x4919cb['is']('element','listItem')){let _0x3702af=_0x4919cb[_0x52fb('0x11')];for(;_0x3702af&&_0x3702af['is'](_0x52fb('0x1b'),'listItem')&&_0x3702af['getAttribute']('listIndent')>0x0;)_0x1b236b['push'](_0x3702af),_0x3702af=_0x3702af['nextSibling'];}return _0x1b236b;}export function downcastSplitMergeMarker(_0x4808ed,_0x3f659d,{showActiveMarker:_0x2c6d8a=!0x0}={}){const _0x2fae7d=_0x4808ed[_0x52fb('0x1a')]['get'](_0x52fb('0x1'));return(_0x38aa4d,_0x2684af,_0x47a829)=>{if(!_0x47a829[_0x52fb('0x3')]['test'](_0x2684af['markerRange'],_0x38aa4d[_0x52fb('0x13')]))return;const _0x67b51c=_0x2684af[_0x52fb('0x18')]['getWalker'](),_0x4e6ce0=_0x2684af['markerRange'][_0x52fb('0x16')],_0x170046=_0x4808ed[_0x52fb('0x12')][_0x52fb('0x19')];let _0x3a00eb=null,_0x4aee45=null,_0x277303=!0x1,_0x3d61a8=!0x1;for(const _0x4bcba9 of _0x67b51c){const _0x40d62e=_0x4bcba9['item'];_0x277303=_0x277303||_0x170046[_0x52fb('0x0')](_0x40d62e);const _0x2432c4=_0x47a829[_0x52fb('0x5')][_0x52fb('0x17')](_0x40d62e);if(_0x2432c4&&_0x2432c4['getCustomProperty'](_0x52fb('0x10')))return;_0x52fb('0x1c')==_0x4bcba9['type']&&(_0x170046[_0x52fb('0x9')](_0x40d62e)&&!_0x170046[_0x52fb('0x2')](_0x40d62e)&&(_0x40d62e[_0x52fb('0x11')]||_0x4e6ce0[_0x52fb('0xe')]?_0x3a00eb&&_0x3a00eb['parent']==_0x40d62e||(_0x3a00eb=_0x40d62e,_0x1366a3(_0x4bcba9[_0x52fb('0xd')]),_0x3d61a8=!0x0):_0x4aee45=_0x4aee45||_0x4bcba9['previousPosition']));}function _0x1366a3(_0x9358bf){const _0x4d2469=_0x47a829['writer'][_0x52fb('0x4')](_0x52fb('0x15'),{'class':_0x52fb('0xb')+_0x3f659d}),_0x49ea22=_0x47a829['mapper'][_0x52fb('0xa')](_0x9358bf);_0x2c6d8a&&_0x2fae7d[_0x52fb('0x8')]['includes'](_0x2684af[_0x52fb('0x1e')])&&_0x47a829[_0x52fb('0x1d')][_0x52fb('0xf')](_0x52fb('0x14'),_0x4d2469),_0x47a829['writer'][_0x52fb('0xc')](_0x49ea22,_0x4d2469),_0x47a829[_0x52fb('0x5')]['bindElementToMarker'](_0x4d2469,_0x2684af[_0x52fb('0x1e')]);}_0x277303||_0x3d61a8||!_0x4aee45||_0x1366a3(_0x4aee45);};}
23
+ const _0x45e4=['elementEnd','span','addHighlight','activeMarkers','consumable','model','plugins','ck-suggestion-marker--active','item','markerRange','createRangeOn','listItem','hasAttribute','getAttribute','nextSibling','mapper','isAtEnd','name','isBlock','schema','previousPosition','getItems','parent','push','ck-suggestion-marker-','start','bindElementToMarker','element','insert','isContent','createUIElement','writer','test','markerName','listIndent','getWalker'];(function(_0x47ab26,_0x45e42a){const _0x2cd235=function(_0x349771){while(--_0x349771){_0x47ab26['push'](_0x47ab26['shift']());}};_0x2cd235(++_0x45e42a);}(_0x45e4,0x191));const _0x2cd2=function(_0x47ab26,_0x45e42a){_0x47ab26=_0x47ab26-0x0;let _0x2cd235=_0x45e4[_0x47ab26];return _0x2cd235;};export function getRangesWithAttribute(_0x4768f9,_0x70d0f5,_0x4eb7b4){const _0x6c5813=[];for(const _0x1203a4 of _0x70d0f5[_0x2cd2('0x10')]())_0x1203a4[_0x2cd2('0x7')](_0x4768f9)&&_0x6c5813[_0x2cd2('0x12')](_0x4eb7b4[_0x2cd2('0x5')](_0x1203a4));return _0x6c5813;}export function getElementsAffectedByListItemRename(_0x410088){const _0x5e7644=[];if(_0x410088['is'](_0x2cd2('0x16'),'listItem')){let _0x525a5c=_0x410088[_0x2cd2('0x9')];for(;_0x525a5c&&_0x525a5c['is'](_0x2cd2('0x16'),_0x2cd2('0x6'))&&_0x525a5c[_0x2cd2('0x8')](_0x2cd2('0x1d'))>0x0;)_0x5e7644['push'](_0x525a5c),_0x525a5c=_0x525a5c[_0x2cd2('0x9')];}return _0x5e7644;}export function downcastSplitMergeMarker(_0x101166,_0x2c374e,{showActiveMarker:_0x8058df=!0x0}={}){const _0x51e6d2=_0x101166[_0x2cd2('0x1')]['get']('TrackChangesEditing');return(_0x4880fe,_0x89eb61,_0x152955)=>{if(!_0x152955[_0x2cd2('0x23')][_0x2cd2('0x1b')](_0x89eb61[_0x2cd2('0x4')],_0x4880fe[_0x2cd2('0xc')]))return;const _0x3d7945=_0x89eb61[_0x2cd2('0x4')][_0x2cd2('0x1e')](),_0x56f71b=_0x89eb61['markerRange'][_0x2cd2('0x14')],_0x4bb976=_0x101166[_0x2cd2('0x0')][_0x2cd2('0xe')];let _0x5013f0=null,_0x45829c=null,_0x38fc1e=!0x1,_0x357033=!0x1;for(const _0x5caabc of _0x3d7945){const _0xcbbab=_0x5caabc[_0x2cd2('0x3')];_0x38fc1e=_0x38fc1e||_0x4bb976[_0x2cd2('0x18')](_0xcbbab);const _0xb2fbee=_0x152955['mapper']['toViewElement'](_0xcbbab);if(_0xb2fbee&&_0xb2fbee['getCustomProperty'](_0x2cd2('0x21')))return;_0x2cd2('0x1f')==_0x5caabc['type']&&(_0x4bb976[_0x2cd2('0xd')](_0xcbbab)&&!_0x4bb976['isLimit'](_0xcbbab)&&(_0xcbbab[_0x2cd2('0x9')]||_0x56f71b[_0x2cd2('0xb')]?_0x5013f0&&_0x5013f0[_0x2cd2('0x11')]==_0xcbbab||(_0x5013f0=_0xcbbab,_0x39d470(_0x5caabc[_0x2cd2('0xf')]),_0x357033=!0x0):_0x45829c=_0x45829c||_0x5caabc[_0x2cd2('0xf')]));}function _0x39d470(_0x27bc9d){const _0x100c2d=_0x152955[_0x2cd2('0x1a')][_0x2cd2('0x19')](_0x2cd2('0x20'),{'class':_0x2cd2('0x13')+_0x2c374e}),_0x1d6f5f=_0x152955['mapper']['toViewPosition'](_0x27bc9d);_0x8058df&&_0x51e6d2[_0x2cd2('0x22')]['includes'](_0x89eb61[_0x2cd2('0x1c')])&&_0x152955[_0x2cd2('0x1a')]['addClass'](_0x2cd2('0x2'),_0x100c2d),_0x152955[_0x2cd2('0x1a')][_0x2cd2('0x17')](_0x1d6f5f,_0x100c2d),_0x152955[_0x2cd2('0xa')][_0x2cd2('0x15')](_0x100c2d,_0x89eb61[_0x2cd2('0x1c')]);}_0x38fc1e||_0x357033||!_0x45829c||_0x39d470(_0x45829c);};}