@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231205.0 → 0.0.0-nightly-20231206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3606=['commands','fill','deletion','includes','registerDescriptionCallback','$graveyard','*Replace\x20table\x20cells*','nextSibling','tableCellPadding','suggestion','getChanges','getRowIndexes','high','has','nodeAfter','discard','find','getRanges','suggestion:formatBlock:tablePasteCell','get','getAllAdjacentSuggestions','some','createPositionBefore','markMultiRangeInsertion','markMultiRangeBlockFormat','showSuggestionHighlights','getChildren','TableClipboard','getSelectionAffectedTableCells','TableUtils','isInContent','hasSuggestion','attributes','_splitMarkerName','editor','_descriptionFactory','columnInsertionIndexes','insertion','schema','previousSibling','getRange','view','isEmpty','getRows','remove','keys','tableCellHorizontalAlignment','subType','conversion','tablePasteChainId','insertContent','removeRows','createTableWalker','every','map','row','ck-suggestion-marker','getMarkers','startsWith','document','first','tableCellBorderColor','createRangeIn','redo','getAttributes','suggestion-td','getSuggestion','previous','plugins','_suggestionFactory','oldRange','tablePasteColumn','tablePasteRow','getChild','tableCellBackgroundColor','getSuggestions','TrackChangesEditing','requires','suggestionLoaded','last','position','tablePaste','isEqual','unwrap','setAttributes','tableCellSuggestion','cells','selection','formatBlock','markerName','accept','getTableIfOnlyTableInContent','tableCellBorderStyle','filter','batch','getContainedElement','model','getItems','root','updateMarker','for','length','getShiftedBy','push','next','activeMarkers','table','markerToHighlight','rootName','newRange','stop','registerCustomCallback','type','set','column','element','paragraph','end','createElement','tablePasteCell','tableCellVerticalAlignment','options','add','rowInsertionRanges','registerPostFixer','editingDowncast','createRange','change','insert','_getCoordsForCells','getColumns','documentSelection','removeMarkers','name','clipboardOutput','_createdBatches','endRow','listenTo','from','wrap','return','removeColumns','removeMarker','createRangeOn','author','Users','getColumnIndexes','markerAttributes','cell','fromEntries','containsRange','join','tableCell','deletionRanges'];(function(_0x3fa054,_0x360625){const _0x4ba851=function(_0x136a01){while(--_0x136a01){_0x3fa054['push'](_0x3fa054['shift']());}};_0x4ba851(++_0x360625);}(_0x3606,0x16f));const _0x4ba8=function(_0x3fa054,_0x360625){_0x3fa054=_0x3fa054-0x0;let _0x4ba851=_0x3606[_0x3fa054];return _0x4ba851;};import{getTranslation as _0x343a6e}from'../utils/common-translations';import{Plugin as _0x55f1cc}from'ckeditor5/src/core';import{uid as _0x1e3b05,priorities as _0x3425d1}from'ckeditor5/src/utils';import _0x148cfe from'./table';const le=['tableCellBorderWidth',_0x4ba8('0x2'),_0x4ba8('0x21'),_0x4ba8('0x8d'),_0x4ba8('0x3d'),_0x4ba8('0xf'),_0x4ba8('0x67')],ae=Object[_0x4ba8('0x5a')](le[_0x4ba8('0x95')](_0x3fb5df=>[_0x3fb5df,null]));export default class At extends _0x55f1cc{static get[_0x4ba8('0x12')](){return[_0x148cfe];}['afterInit'](){const _0x2830c0=this[_0x4ba8('0x81')];if(!_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x6c')]('TableClipboard'))return;const _0x3897b6=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x4ba8('0x11')),_0x28e430=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x4ba8('0x7c')),_0x41ea16=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x148cfe),_0x30fff5=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x4ba8('0x7a'));_0x41ea16['_tablePostFixingSubtypes']['push'](_0x4ba8('0xd'),_0x4ba8('0xc')),_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x85')]['register'](_0x4ba8('0x1a'),{'allowIn':'tableCell','allowContentOf':_0x4ba8('0x5d'),'isLimit':!0x0}),_0x2830c0[_0x4ba8('0x8f')]['elementToElement']({'model':_0x4ba8('0x1a'),'view':_0x4ba8('0x6')});let _0x11632d=null;_0x2830c0[_0x4ba8('0x25')]['on']('insertContent',(_0x8d3a17,_0x2f9cdf)=>{const [_0x2427ef,_0x4dfefe]=_0x2f9cdf,_0x2ab23e=_0x2f9cdf[_0x2f9cdf['length']-0x1];_0x2ab23e&&_0x2ab23e['forceDefaultExecution']||_0x3897b6['_isForcedDefaultExecutionBlock']||this[_0x4ba8('0x81')][_0x4ba8('0x5f')][_0x4ba8('0x72')]('trackChanges')['value']&&function(_0x144721,_0x18458b,_0x10b96d,_0x1cda43,_0x28f964){if(_0x18458b&&!_0x18458b['is'](_0x4ba8('0x48')))return!0x1;const _0x18d8cf=_0x28f964[_0x4ba8('0x20')](_0x144721,_0x10b96d);if(!_0x18d8cf||!fe(_0x18d8cf,void 0x0,_0x1cda43))return!0x1;const _0x2f5c01=_0x1cda43[_0x4ba8('0x7b')](_0x10b96d[_0x4ba8('0x0')][_0x4ba8('0x1c')]);if(!_0x2f5c01[_0x4ba8('0x2a')])return!0x1;const _0x32db41=_0x2f5c01[0x0]['findAncestor'](_0x4ba8('0x2f')),_0x54e0fc=_0x1cda43[_0x4ba8('0x6a')](_0x2f5c01),_0x3d34c8=_0x1cda43[_0x4ba8('0x57')](_0x2f5c01),_0x3e3492={'startRow':_0x54e0fc[_0x4ba8('0x1')],'endRow':_0x54e0fc[_0x4ba8('0x14')],'startColumn':_0x3d34c8[_0x4ba8('0x1')],'endColumn':_0x3d34c8[_0x4ba8('0x14')]};return 0x1==_0x2f5c01[_0x4ba8('0x2a')]&&(_0x3e3492[_0x4ba8('0x4d')]+=_0x1cda43[_0x4ba8('0x8a')](_0x18d8cf)-0x1,_0x3e3492['endColumn']+=_0x1cda43[_0x4ba8('0x47')](_0x18d8cf)-0x1),fe(_0x32db41,_0x3e3492,_0x1cda43);}(_0x2427ef,_0x4dfefe,_0x2830c0[_0x4ba8('0x25')],_0x28e430,_0x30fff5)&&(_0x8d3a17[_0x4ba8('0x33')](),_0x11632d={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x44')](()=>{_0x2830c0['model'][_0x4ba8('0x91')](_0x2f9cdf[0x0],_0x2f9cdf[0x1],_0x2f9cdf[0x2],{'forceDefaultExecution':!0x0});const _0x532262=_0x1e3b05(),{rowInsertionRanges:_0x135ff0,columnInsertionRanges:_0x32a19d,insertionRanges:_0x53124a,deletionRanges:_0x93a9ad,cells:_0x400a45}=_0x11632d;_0x135ff0[_0x4ba8('0x2a')]&&_0x3897b6[_0x4ba8('0x76')](_0x135ff0,_0x4ba8('0xd'),{'tablePasteChainId':_0x532262}),_0x32a19d[_0x4ba8('0x2a')]&&_0x3897b6[_0x4ba8('0x76')](_0x32a19d,_0x4ba8('0xc'),{'tablePasteChainId':_0x532262}),_0x53124a[_0x4ba8('0x2a')]&&_0x3897b6[_0x4ba8('0x76')](_0x53124a,'tablePaste',{'tablePasteChainId':_0x532262,'skipNestingCheck':!0x0}),_0x93a9ad[_0x4ba8('0x2a')]&&_0x3897b6['markMultiRangeDeletion'](_0x93a9ad,_0x4ba8('0x16'),{'tablePasteChainId':_0x532262,'skipNestingCheck':!0x0});const _0x56d228=_0x3897b6[_0x4ba8('0x77')](_0x400a45[_0x4ba8('0x95')](({element:_0xb9e325})=>_0xb9e325),{'formatGroupId':_0x1e3b05()},[],_0x4ba8('0x3c'),{'tablePasteChainId':_0x532262});if(_0x56d228){const _0x51df0d=_0x56d228[_0x4ba8('0x98')](),_0x540553=[];for(const {element:_0x459fbd,attributes:_0x181233}of _0x400a45){if(!_0x181233)continue;const _0x1e2b94=_0x2830c0[_0x4ba8('0x25')]['createRangeOn'](_0x459fbd),_0x58454a=_0x51df0d[_0x4ba8('0x6f')](_0x1da0a0=>_0x1da0a0[_0x4ba8('0x87')]()[_0x4ba8('0x17')](_0x1e2b94));_0x58454a&&_0x540553['push']([_0x58454a[_0x4ba8('0x4a')],_0x181233]);}_0x540553['length']&&_0x56d228['setAttribute'](_0x4ba8('0x58'),Object['fromEntries'](_0x540553));}_0x11632d=null;}));},{'priority':_0x3425d1[_0x4ba8('0x6b')]+0xa}),_0x2830c0['plugins'][_0x4ba8('0x72')](_0x4ba8('0x7a'))['on']('_replaceTableSlotCell',(_0x2aaadb,_0x5c3d78)=>{const [_0x4e879e,_0x59430f,,_0x285127]=_0x5c3d78;if(!_0x11632d)return;_0x2aaadb[_0x4ba8('0x33')]();const _0x2ef4cd=_0x4e879e[_0x4ba8('0x59')],_0x2922fb=_0x59430f,_0x1e570a=ce(_0x2ef4cd),_0x14d606=ce(_0x2922fb);_0x2aaadb[_0x4ba8('0x51')]=_0x2ef4cd;let _0x387782=null,_0x3c83e5=null;if(_0x14d606||_0x1e570a){if(_0x1e570a&&!_0x14d606){_0x285127[_0x4ba8('0x8b')](_0x2ef4cd['getChild'](0x0));for(const _0x202050 of Array[_0x4ba8('0x4f')](_0x2922fb[_0x4ba8('0x79')]()))_0x285127[_0x4ba8('0x45')](_0x202050,_0x2ef4cd,'end');const _0x3efd8d=_0x11632d['rowInsertionIndexes']['includes'](_0x4e879e[_0x4ba8('0x96')]),_0x41251f=_0x11632d[_0x4ba8('0x83')]['includes'](_0x4e879e[_0x4ba8('0x37')]);_0x3efd8d||_0x41251f||(_0x387782=_0x285127[_0x4ba8('0x3')](_0x2ef4cd));}else _0x14d606&&!_0x1e570a&&(_0x3c83e5=_0x285127['createRangeIn'](_0x2ef4cd));}else{const _0x5380e9=_0x285127['createElement'](_0x4ba8('0x1a')),_0x1fe4db=_0x285127[_0x4ba8('0x3b')]('tableCellSuggestion');_0x285127[_0x4ba8('0x50')](_0x285127[_0x4ba8('0x3')](_0x2ef4cd),_0x1fe4db),_0x285127[_0x4ba8('0x45')](_0x5380e9,_0x2ef4cd,0x0);for(const _0x1558c4 of Array['from'](_0x2922fb[_0x4ba8('0x79')]()))_0x285127[_0x4ba8('0x45')](_0x1558c4,_0x5380e9,_0x4ba8('0x3a'));_0x387782=_0x285127[_0x4ba8('0x54')](_0x5380e9),_0x3c83e5=_0x285127['createRangeOn'](_0x1fe4db);}const _0x326896=Array[_0x4ba8('0x4f')](_0x2922fb[_0x4ba8('0x5')]())[_0x4ba8('0x22')](([_0x18030e])=>le[_0x4ba8('0x62')](_0x18030e));_0x11632d[_0x4ba8('0x1b')][_0x4ba8('0x2c')]({'element':_0x2ef4cd,'attributes':_0x326896[_0x4ba8('0x2a')]?Object['fromEntries'](_0x326896):null}),_0x387782&&_0x11632d['insertionRanges'][_0x4ba8('0x2c')](_0x387782),_0x3c83e5&&_0x11632d[_0x4ba8('0x5e')]['push'](_0x3c83e5);},{'priority':_0x4ba8('0x6b')}),_0x28e430['on']('insertColumns',(_0x41f9ed,_0x209c92)=>{const [_0x461c4a,_0x103c94={}]=_0x209c92;if(!_0x11632d)return;const _0x3d0b16=_0x103c94['at']||0x0,_0x70b5d1=_0x103c94['columns']||0x1;_0x11632d[_0x4ba8('0x83')]=new Array(_0x70b5d1)[_0x4ba8('0x60')](_0x3d0b16)[_0x4ba8('0x95')]((_0x50e5d3,_0x4b8de8)=>_0x50e5d3+_0x4b8de8);for(const {cell:_0xf7a6fc}of _0x28e430[_0x4ba8('0x93')](_0x461c4a,{'startColumn':_0x3d0b16,'endColumn':_0x3d0b16+_0x70b5d1-0x1}))_0x11632d['columnInsertionRanges']['push'](_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x54')](_0xf7a6fc));},{'priority':'low'}),_0x28e430['on']('insertRows',(_0x5747ab,_0x53e4b7)=>{const [_0x2129ad,_0x483a90={}]=_0x53e4b7;if(!_0x11632d)return;const _0x303a21=_0x483a90['at']||0x0,_0x3b244b=_0x483a90['rows']||0x1;_0x11632d['rowInsertionIndexes']=new Array(_0x3b244b)[_0x4ba8('0x60')](_0x303a21)[_0x4ba8('0x95')]((_0x3d0fc9,_0x669ba7)=>_0x3d0fc9+_0x669ba7);for(const {cell:_0x29899d}of _0x28e430['createTableWalker'](_0x2129ad,{'startRow':_0x303a21,'endRow':_0x303a21+_0x3b244b-0x1}))_0x11632d[_0x4ba8('0x40')][_0x4ba8('0x2c')](_0x2830c0[_0x4ba8('0x25')]['createRangeOn'](_0x29899d));},{'priority':'low'}),_0x3897b6[_0x4ba8('0x82')][_0x4ba8('0x63')](_0x2091aa=>{if(_0x2091aa[_0x4ba8('0x8e')]&&_0x2091aa[_0x4ba8('0x8e')][_0x4ba8('0x99')](_0x4ba8('0x16')))return _0x2091aa[_0x4ba8('0x8')]?{}:{'type':_0x4ba8('0x84'),'content':_0x343a6e(_0x2830c0['locale'],_0x4ba8('0x65'))};});const _0x2390f0=()=>!0x1;for(const _0x55569e of[_0x4ba8('0x16'),_0x4ba8('0xc'),_0x4ba8('0xd'),_0x4ba8('0x3c')])_0x3897b6['_suggestionFactory'][_0x4ba8('0x34')]('insertion',_0x55569e,_0x4ba8('0x5c'),_0x2390f0),_0x3897b6[_0x4ba8('0xa')]['registerCustomCallback'](_0x4ba8('0x61'),_0x55569e,_0x4ba8('0x5c'),_0x2390f0),_0x3897b6['_suggestionFactory']['registerCustomCallback'](_0x4ba8('0x1d'),_0x55569e,_0x4ba8('0x5c'),_0x2390f0);_0x3897b6[_0x4ba8('0xa')]['registerCustomCallback'](_0x4ba8('0x1d'),_0x4ba8('0x3c'),_0x4ba8('0x6e'),_0x2390f0),_0x3897b6['_suggestionFactory'][_0x4ba8('0x34')](_0x4ba8('0x1d'),_0x4ba8('0x3c'),_0x4ba8('0x1f'),(_0x359e2c,_0x35fdd0,_0x42a140)=>{const _0x2a3e48=_0x359e2c[_0x4ba8('0x95')](_0x3fb446=>_0x3fb446[_0x4ba8('0x24')]())[_0x4ba8('0x22')](_0xf482d2=>_0xf482d2),_0x342030=new Map(_0x2a3e48['map'](_0xa0c0cb=>[_0xa0c0cb,null]));if(_0x11632d)for(const {element:_0x4919db,attributes:_0x13e7e7}of _0x11632d[_0x4ba8('0x1b')])_0x13e7e7&&_0x342030[_0x4ba8('0x36')](_0x4919db,_0x13e7e7);else{if(_0x42a140&&_0x42a140[_0x4ba8('0x58')])for(const [_0x1866c9,_0x4654c7]of Object['entries'](_0x42a140['markerAttributes'])){const _0x38d3fa=_0x2830c0['model']['markers'][_0x4ba8('0x72')](_0x1866c9),_0x30efc9=_0x38d3fa?_0x38d3fa['getRange']()[_0x4ba8('0x24')]():null;_0x30efc9&&_0x342030[_0x4ba8('0x36')](_0x30efc9,_0x4654c7);}}_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x44')](_0x5d7eff=>{for(const [_0x285fe1,_0x28612]of _0x342030)_0x5d7eff[_0x4ba8('0x19')]({...ae,..._0x28612},_0x285fe1);});});const _0x1faeb4=(_0x1fb290,_0x2bd406)=>{_0x3897b6['_suggestionFactory'][_0x4ba8('0x34')](_0x1fb290,_0x4ba8('0x16'),_0x2bd406,(_0x4b3a48,_0x55f96a,_0x117786)=>{_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x44')](_0x39dd48=>{const _0x13e011=[];for(const _0x20a305 of _0x4b3a48){const _0x18d53f=_0x20a305['start'][_0x4ba8('0x6d')];_0x18d53f['is'](_0x4ba8('0x38'),_0x4ba8('0x1a'))&&_0x13e011[_0x4ba8('0x2c')](_0x18d53f);}_0x3897b6['_suggestionFactory']['getSuggestionCallback'](_0x1fb290,null,_0x2bd406)(_0x4b3a48,_0x55f96a,_0x117786);for(const _0x4348c8 of _0x13e011)_0x4ba8('0x64')!=_0x4348c8[_0x4ba8('0x27')][_0x4ba8('0x31')]&&_0x39dd48['unwrap'](_0x4348c8);});});};_0x1faeb4('insertion',_0x4ba8('0x1f')),_0x1faeb4(_0x4ba8('0x84'),_0x4ba8('0x6e')),_0x1faeb4(_0x4ba8('0x61'),'accept'),_0x1faeb4(_0x4ba8('0x61'),'discard'),_0x3897b6['_suggestionFactory'][_0x4ba8('0x34')]('insertion',_0x4ba8('0xd'),_0x4ba8('0x6e'),_0x418817=>{const _0x496c53=_0x418817[_0x4ba8('0x95')](_0x35d8f5=>_0x35d8f5[_0x4ba8('0x24')]()),_0x3979ad=_0x496c53[0x0]['findAncestor'](_0x4ba8('0x2f')),{minRow:_0x265bea,maxRow:_0x27a497}=_0x41ea16[_0x4ba8('0x46')](_0x496c53);_0x28e430[_0x4ba8('0x92')](_0x3979ad,{'at':_0x265bea,'rows':_0x27a497-_0x265bea+0x1});}),_0x3897b6[_0x4ba8('0xa')][_0x4ba8('0x34')](_0x4ba8('0x84'),_0x4ba8('0xc'),'discard',_0x2f57c3=>{const _0x5e9d1c=_0x2f57c3[_0x4ba8('0x95')](_0x21bf09=>_0x21bf09[_0x4ba8('0x24')]()),_0x3ac92d=_0x5e9d1c[0x0]['findAncestor'](_0x4ba8('0x2f')),{minColumn:_0x1fb359,maxColumn:_0x38bd8d}=_0x41ea16[_0x4ba8('0x46')](_0x5e9d1c);_0x28e430[_0x4ba8('0x52')](_0x3ac92d,{'at':_0x1fb359,'columns':_0x38bd8d-_0x1fb359+0x1});});const _0x5159c6=(_0x1b92e1,_0x59b117)=>{if(!_0x59b117[_0x4ba8('0x8e')]||!_0x59b117[_0x4ba8('0x8e')][_0x4ba8('0x99')](_0x4ba8('0x16')))return;const _0x3c3ea8=_0x59b117['attributes']['tablePasteChainId'],_0x15c808=_0x3897b6[_0x4ba8('0x10')]()[_0x4ba8('0x22')](_0x44c660=>_0x44c660[_0x4ba8('0x7d')]&&_0x44c660[_0x4ba8('0x7f')]&&_0x44c660[_0x4ba8('0x7f')][_0x4ba8('0x90')]==_0x3c3ea8);_0x15c808[_0x4ba8('0x2a')]&&_0x59b117[_0x4ba8('0x73')]()[_0x4ba8('0x2a')]!=_0x15c808['length']&&_0x15c808['reduce']((_0x30d6af,_0x125d72)=>(_0x30d6af[_0x4ba8('0x2d')]=_0x125d72,_0x125d72['previous']=_0x30d6af,_0x125d72));};function _0x3cc174(_0x326100,_0x51eac6=!0x0){const {id:_0x522d7b}=_0x3897b6[_0x4ba8('0x80')](_0x326100[_0x4ba8('0x1e')]),_0x30656d=[_0x4ba8('0x97'),'ck-suggestion-marker-insertion'],_0x692319=_0x3897b6[_0x4ba8('0x2e')][_0x4ba8('0x62')](_0x326100[_0x4ba8('0x1e')]);return _0x692319&&_0x30656d[_0x4ba8('0x2c')]('ck-suggestion-marker--active'),{'classes':_0x30656d,'attributes':{'data-suggestion':_0x522d7b},'priority':_0x692319&&_0x51eac6?0xbc2:0xbb8};}_0x3897b6['on'](_0x4ba8('0x13'),_0x5159c6,{'priority':_0x4ba8('0x6b')}),_0x3897b6['on']('suggestionUnloaded',_0x5159c6,{'priority':_0x4ba8('0x6b')}),_0x2830c0[_0x4ba8('0x25')]['document'][_0x4ba8('0x41')](()=>{let _0x31ccf3=!0x1;const _0x392af0=Array['from'](_0x2830c0['model'][_0x4ba8('0x0')]['differ']['getChangedMarkers']());for(const {name:_0x22c93f,data:_0x5d7eb5}of _0x392af0){const {group:_0x58bd0b,type:_0x3a6960,id:_0x407bf6}=_0x3897b6[_0x4ba8('0x80')](_0x22c93f);if(_0x4ba8('0x68')!=_0x58bd0b||_0x4ba8('0x61')!=_0x3a6960||_0x5d7eb5[_0x4ba8('0xb')])continue;if(!_0x3897b6[_0x4ba8('0x7e')](_0x407bf6))continue;const _0x297664=_0x3897b6[_0x4ba8('0x7')](_0x407bf6)[_0x4ba8('0x70')](),_0x28981e=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x4ba8('0x56'))['me'];for(const _0x4b1cdd of _0x3897b6[_0x4ba8('0x10')]()){if(!_0x4b1cdd['isInContent']||_0x4b1cdd[_0x4ba8('0x55')]!=_0x28981e)continue;if(_0x4ba8('0x1d')!=_0x4b1cdd[_0x4ba8('0x35')]||_0x4ba8('0x3c')!=_0x4b1cdd[_0x4ba8('0x8e')])continue;if(_0x4b1cdd['getRanges']()[_0x4ba8('0x94')](_0x5ddea3=>_0x297664[_0x4ba8('0x74')](_0x27ee78=>_0x27ee78[_0x4ba8('0x5b')](_0x5ddea3,!0x0))))for(const _0x296ab7 of _0x4b1cdd[_0x4ba8('0x73')]())_0x296ab7[_0x4ba8('0x7d')]&&(_0x296ab7[_0x4ba8('0x6e')](),_0x31ccf3=!0x0);}}return _0x31ccf3;}),_0x2830c0['model'][_0x4ba8('0x0')][_0x4ba8('0x41')](_0x2e2585=>{const _0x23d87a=_0x2830c0[_0x4ba8('0x5f')][_0x4ba8('0x72')](_0x4ba8('0x4'));if(!_0x23d87a||!_0x23d87a[_0x4ba8('0x4c')][_0x4ba8('0x6c')](_0x2e2585[_0x4ba8('0x23')]))return!0x1;let _0x4afe2c=!0x1;const _0xf92761=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')]('Users')['me'],_0x1acb39=_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x0')]['differ'][_0x4ba8('0x69')](),_0x200ebe=Array['from'](_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x0')]['differ']['getChangedMarkers']())['filter'](({name:_0x7b2a68,data:_0x321413})=>{const {group:_0x360d5b,subType:_0x53c7e3,authorId:_0x30fff1}=_0x3897b6[_0x4ba8('0x80')](_0x7b2a68);return _0x4ba8('0x68')==_0x360d5b&&'tablePaste'==_0x53c7e3&&_0x30fff1==_0xf92761['id']&&!_0x321413[_0x4ba8('0xb')];});for(const _0x5bcec3 of _0x1acb39){if(_0x4ba8('0x45')!=_0x5bcec3[_0x4ba8('0x35')]||'tableCellSuggestion'!=_0x5bcec3[_0x4ba8('0x4a')]||0x1!=_0x5bcec3[_0x4ba8('0x2a')])continue;const _0x566e90=_0x2e2585[_0x4ba8('0x43')](_0x5bcec3[_0x4ba8('0x15')],_0x5bcec3[_0x4ba8('0x15')][_0x4ba8('0x2b')](0x1));if(!_0x200ebe[_0x4ba8('0x6f')](({data:_0x146761})=>_0x146761[_0x4ba8('0x32')][_0x4ba8('0x17')](_0x566e90)))for(const {name:_0x446f57,data:_0xf9ce31}of _0x200ebe)if(_0x566e90[_0x4ba8('0x5b')](_0xf9ce31[_0x4ba8('0x32')])){_0x2e2585[_0x4ba8('0x28')](_0x446f57,{'range':_0x566e90}),_0x4afe2c=!0x0;break;}}return _0x4afe2c;}),_0x2830c0[_0x4ba8('0x25')][_0x4ba8('0x0')][_0x4ba8('0x41')](_0x294430=>{let _0x3d54d5=!0x1;const _0x4ce10d=_0x2830c0[_0x4ba8('0x9')][_0x4ba8('0x72')](_0x4ba8('0x56'))['me'],_0x108de0=_0x3897b6[_0x4ba8('0x10')]()[_0x4ba8('0x22')](_0x53ba11=>_0x53ba11['isInContent']&&_0x53ba11['author']==_0x4ce10d),_0x4ac933=new Set(),_0xc072d3=new Set();for(const _0x5ce364 of _0x108de0)if(_0x4ba8('0x16')==_0x5ce364[_0x4ba8('0x8e')])for(const _0xd0e255 of _0x5ce364[_0x4ba8('0x98')]()){const _0x284627=_0xd0e255[_0x4ba8('0x87')]()[_0x4ba8('0x24')]();if(_0x284627){if(_0x284627['is'](_0x4ba8('0x38'),_0x4ba8('0x1a'))&&ce(_0x284627)){_0x5ce364[_0x4ba8('0x53')](_0xd0e255[_0x4ba8('0x4a')]),_0x4ac933[_0x4ba8('0x3f')](_0x284627),_0x3d54d5=!0x0;const _0x22320a=_0x284627[_0x4ba8('0x66')],_0x160314=_0x284627[_0x4ba8('0x86')],_0x100d53=_0x22320a&&_0x22320a['is']('element',_0x4ba8('0x1a')),_0x3a6abb=_0x160314&&_0x160314['is']('element','tableCellSuggestion');_0x100d53&&!_0x4ac933[_0x4ba8('0x6c')](_0x22320a)&&_0xc072d3['add'](_0x22320a),_0x3a6abb&&!_0x4ac933['has'](_0x160314)&&_0xc072d3[_0x4ba8('0x3f')](_0x160314);}else _0x284627['is'](_0x4ba8('0x38'),_0x4ba8('0x39'))&&_0x284627[_0x4ba8('0x89')]&&(_0x5ce364[_0x4ba8('0x53')](_0xd0e255[_0x4ba8('0x4a')]),_0x3d54d5=!0x0);}}else{if(_0x4ba8('0x3c')==_0x5ce364[_0x4ba8('0x8e')]){if(!_0x5ce364[_0x4ba8('0x7f')]||!_0x5ce364[_0x4ba8('0x7f')][_0x4ba8('0x90')])continue;const _0x27f3e8=_0x5ce364[_0x4ba8('0x7f')]['markerAttributes'];if(_0x27f3e8&&Object[_0x4ba8('0x8c')](_0x27f3e8)[_0x4ba8('0x2a')])continue;const _0xa0564f=_0x5ce364[_0x4ba8('0x7f')][_0x4ba8('0x90')];let _0x277881=!0x0,_0xfd3d6f=!0x0;for(const _0xdac3d5 of _0x108de0)if(_0xdac3d5[_0x4ba8('0x8e')]&&_0xdac3d5['subType'][_0x4ba8('0x99')](_0x4ba8('0x16'))){if(!_0xdac3d5[_0x4ba8('0x7f')][_0x4ba8('0x90')]){_0xfd3d6f=!0x1;break;}if(_0xdac3d5['id']!=_0x5ce364['id']&&_0xdac3d5[_0x4ba8('0x7f')][_0x4ba8('0x90')]==_0xa0564f){_0x277881=!0x1;break;}}_0xfd3d6f&&_0x277881&&(_0x5ce364[_0x4ba8('0x49')](),_0x3d54d5=!0x0);}}for(const _0x52052b of _0x4ac933)_0x294430[_0x4ba8('0x8b')](_0x52052b);for(const _0x5a0994 of _0xc072d3)_0x294430[_0x4ba8('0x18')](_0x5a0994);return _0x3d54d5;}),_0x2830c0[_0x4ba8('0x8f')][_0x4ba8('0x29')](_0x4ba8('0x42'))[_0x4ba8('0x30')]({'model':_0x4ba8('0x71'),'view':(_0x2e393a,_0x3c351e)=>_0x3cc174(_0x2e393a),'converterPriority':_0x4ba8('0x6b')}),_0x2830c0[_0x4ba8('0x8f')][_0x4ba8('0x29')]('dataDowncast')[_0x4ba8('0x30')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5b318c,_0x474aa1)=>_0x474aa1[_0x4ba8('0x3e')][_0x4ba8('0x78')]?_0x3cc174(_0x5b318c,!0x1):null,'converterPriority':_0x4ba8('0x6b')});const _0x32db33=_0x2830c0['editing'][_0x4ba8('0x88')];this[_0x4ba8('0x4e')](_0x32db33[_0x4ba8('0x0')],_0x4ba8('0x4b'),(_0x5ea771,_0x473fbf)=>{const _0x31d4ac=[];for(const _0x19e35f of _0x32db33[_0x4ba8('0x3')](_0x473fbf['content'])[_0x4ba8('0x26')]())_0x19e35f['is'](_0x4ba8('0x38'),_0x4ba8('0x6'))&&_0x31d4ac['push'](_0x19e35f);_0x32db33['change'](_0x535733=>{for(const _0x372d7f of _0x31d4ac)_0x535733['move'](_0x535733[_0x4ba8('0x3')](_0x372d7f),_0x535733[_0x4ba8('0x75')](_0x372d7f)),_0x535733[_0x4ba8('0x8b')](_0x372d7f);});});}}function ce(_0x460896){if(_0x460896[_0x4ba8('0x89')])return!0x0;const _0xd751a0=_0x460896[_0x4ba8('0xe')](0x0);return _0xd751a0['is']('element','paragraph')&&_0xd751a0[_0x4ba8('0x89')];}function fe(_0x5bba47,_0x4e8e84={},_0x26e657){for(const {isAnchor:_0x3248fd,cellHeight:_0x3e76e3,cellWidth:_0x5e112b}of _0x26e657['createTableWalker'](_0x5bba47,{'includeAllSlots':!0x0,..._0x4e8e84}))if(!_0x3248fd||0x1!=_0x3e76e3||0x1!=_0x5e112b)return!0x1;return!0x0;}
23
+ const _0xf473=['_descriptionFactory','content','attributes','has','getChanges','getShiftedBy','element','insertRows','set','documentSelection','getSelectionAffectedTableCells','markMultiRangeInsertion','map','batch','suggestionUnloaded','showSuggestionHighlights','markerAttributes','containsRange','newRange','length','tablePasteRow','_createdBatches','paragraph','getAllAdjacentSuggestions','accept','insertContent','endColumn','*Replace\x20table\x20cells*','getAttributes','columns','findAncestor','tableCellVerticalAlignment','conversion','rowInsertionRanges','position','column','ck-suggestion-marker','previous','start','cell','registerDescriptionCallback','isEqual','cells','editor','getColumns','ck-suggestion-marker-insertion','setAttribute','suggestion-td','end','forceDefaultExecution','getContainedElement','markMultiRangeDeletion','activeMarkers','getChildren','_getCoordsForCells','isInContent','_suggestionFactory','TrackChangesEditing','name','editingDowncast','tablePasteCell','value','getChangedMarkers','clipboardOutput','endRow','selection','getSuggestions','tableCellHorizontalAlignment','redo','getRanges','_tablePostFixingSubtypes','suggestion:formatBlock:tablePasteCell','createElement','document','join','getSuggestionCallback','getRows','editing','options','low','root','rows','high','reduce','elementToElement','removeMarker','insertion','listenTo','for','markerName','find','registerCustomCallback','fill','getChild','insert','subType','rowInsertionIndexes','unwrap','wrap','filter','from','oldRange','tableCellPadding','tablePasteChainId','differ','startsWith','return','_replaceTableSlotCell','rootName','registerPostFixer','afterInit','getRange','previousSibling','_splitMarkerName','fromEntries','createTableWalker','remove','register','tableCell','ck-suggestion-marker--active','TableClipboard','markMultiRangeBlockFormat','nextSibling','table','author','removeMarkers','_isForcedDefaultExecutionBlock','deletionRanges','change','markers','tableCellBackgroundColor','getMarkers','formatBlock','getItems','isEmpty','includes','last','tableCellBorderWidth','tablePaste','next','Users','push','createRangeIn','type','createPositionBefore','removeRows','first','updateMarker','tableCellSuggestion','tablePasteColumn','markerToHighlight','model','plugins','get','add','createRangeOn','getTableIfOnlyTableInContent','deletion','schema','discard'];(function(_0x1b4e68,_0xf4732c){const _0x506caa=function(_0x2e6e81){while(--_0x2e6e81){_0x1b4e68['push'](_0x1b4e68['shift']());}};_0x506caa(++_0xf4732c);}(_0xf473,0xd6));const _0x506c=function(_0x1b4e68,_0xf4732c){_0x1b4e68=_0x1b4e68-0x0;let _0x506caa=_0xf473[_0x1b4e68];return _0x506caa;};import{getTranslation as _0x378a0d}from'../utils/common-translations';import{Plugin as _0x3fb493}from'ckeditor5/src/core';import{uid as _0x503416,priorities as _0xb29e5f}from'ckeditor5/src/utils';import _0x49d087 from'./table';const le=[_0x506c('0x53'),'tableCellBorderColor','tableCellBorderStyle',_0x506c('0xd'),_0x506c('0x89'),_0x506c('0x4c'),_0x506c('0x30')],ae=Object[_0x506c('0x3c')](le[_0x506c('0x76')](_0x58ab09=>[_0x58ab09,null]));export default class At extends _0x3fb493{static get['requires'](){return[_0x49d087];}[_0x506c('0x38')](){const _0x219381=this[_0x506c('0x95')];if(!_0x219381[_0x506c('0x62')][_0x506c('0x6d')](_0x506c('0x42')))return;const _0x4f1e92=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x3')),_0x225bf4=_0x219381['plugins'][_0x506c('0x63')]('TableUtils'),_0x3c2562=_0x219381['plugins'][_0x506c('0x63')](_0x49d087),_0xc61a43=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x42'));_0x3c2562[_0x506c('0x10')]['push'](_0x506c('0x7e'),_0x506c('0x5f')),_0x219381['model'][_0x506c('0x68')][_0x506c('0x3f')]('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':_0x506c('0x40'),'isLimit':!0x0}),_0x219381[_0x506c('0x8a')][_0x506c('0x1e')]({'model':'tableCellSuggestion','view':_0x506c('0x99')});let _0x498d4c=null;_0x219381[_0x506c('0x61')]['on'](_0x506c('0x83'),(_0x53c362,_0x1dc20f)=>{const [_0xf5a6f,_0x1e8038]=_0x1dc20f,_0x38a8f4=_0x1dc20f[_0x1dc20f['length']-0x1];_0x38a8f4&&_0x38a8f4[_0x506c('0x9b')]||_0x4f1e92[_0x506c('0x48')]||this['editor']['commands'][_0x506c('0x63')]('trackChanges')[_0x506c('0x7')]&&function(_0x243227,_0x978b59,_0x30d2df,_0x1a134f,_0x231468){if(_0x978b59&&!_0x978b59['is'](_0x506c('0x73')))return!0x1;const _0xf36b65=_0x231468[_0x506c('0x66')](_0x243227,_0x30d2df);if(!_0xf36b65||!fe(_0xf36b65,void 0x0,_0x1a134f))return!0x1;const _0x5de461=_0x1a134f[_0x506c('0x74')](_0x30d2df[_0x506c('0x13')][_0x506c('0xb')]);if(!_0x5de461[_0x506c('0x7d')])return!0x1;const _0x1b70a1=_0x5de461[0x0][_0x506c('0x88')](_0x506c('0x45')),_0x4f88a9=_0x1a134f['getRowIndexes'](_0x5de461),_0x453fde=_0x1a134f['getColumnIndexes'](_0x5de461),_0x3ebb8e={'startRow':_0x4f88a9[_0x506c('0x5c')],'endRow':_0x4f88a9[_0x506c('0x52')],'startColumn':_0x453fde[_0x506c('0x5c')],'endColumn':_0x453fde[_0x506c('0x52')]};return 0x1==_0x5de461[_0x506c('0x7d')]&&(_0x3ebb8e[_0x506c('0xa')]+=_0x1a134f[_0x506c('0x16')](_0xf36b65)-0x1,_0x3ebb8e[_0x506c('0x84')]+=_0x1a134f[_0x506c('0x96')](_0xf36b65)-0x1),fe(_0x1b70a1,_0x3ebb8e,_0x1a134f);}(_0xf5a6f,_0x1e8038,_0x219381['model'],_0x225bf4,_0xc61a43)&&(_0x53c362['stop'](),_0x498d4c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x219381[_0x506c('0x61')][_0x506c('0x4a')](()=>{_0x219381[_0x506c('0x61')]['insertContent'](_0x1dc20f[0x0],_0x1dc20f[0x1],_0x1dc20f[0x2],{'forceDefaultExecution':!0x0});const _0x441d76=_0x503416(),{rowInsertionRanges:_0x36464d,columnInsertionRanges:_0x160b73,insertionRanges:_0x3a7c9d,deletionRanges:_0x5bb216,cells:_0x5f615d}=_0x498d4c;_0x36464d['length']&&_0x4f1e92[_0x506c('0x75')](_0x36464d,'tablePasteRow',{'tablePasteChainId':_0x441d76}),_0x160b73[_0x506c('0x7d')]&&_0x4f1e92[_0x506c('0x75')](_0x160b73,_0x506c('0x5f'),{'tablePasteChainId':_0x441d76}),_0x3a7c9d['length']&&_0x4f1e92['markMultiRangeInsertion'](_0x3a7c9d,'tablePaste',{'tablePasteChainId':_0x441d76,'skipNestingCheck':!0x0}),_0x5bb216['length']&&_0x4f1e92[_0x506c('0x9d')](_0x5bb216,_0x506c('0x54'),{'tablePasteChainId':_0x441d76,'skipNestingCheck':!0x0});const _0x21f143=_0x4f1e92[_0x506c('0x43')](_0x5f615d['map'](({element:_0x5bac81})=>_0x5bac81),{'formatGroupId':_0x503416()},[],_0x506c('0x6'),{'tablePasteChainId':_0x441d76});if(_0x21f143){const _0x1f59ea=_0x21f143[_0x506c('0x4d')](),_0x231a6d=[];for(const {element:_0x5f162e,attributes:_0x1dff5e}of _0x5f615d){if(!_0x1dff5e)continue;const _0x3e6789=_0x219381[_0x506c('0x61')]['createRangeOn'](_0x5f162e),_0x223893=_0x1f59ea[_0x506c('0x24')](_0x1f5db9=>_0x1f5db9[_0x506c('0x39')]()[_0x506c('0x93')](_0x3e6789));_0x223893&&_0x231a6d[_0x506c('0x57')]([_0x223893[_0x506c('0x4')],_0x1dff5e]);}_0x231a6d['length']&&_0x21f143[_0x506c('0x98')](_0x506c('0x7a'),Object[_0x506c('0x3c')](_0x231a6d));}_0x498d4c=null;}));},{'priority':_0xb29e5f['high']+0xa}),_0x219381[_0x506c('0x62')]['get']('TableClipboard')['on'](_0x506c('0x35'),(_0x443e2d,_0x2d4d64)=>{const [_0x43dd74,_0x5b12bf,,_0x14ff4a]=_0x2d4d64;if(!_0x498d4c)return;_0x443e2d['stop']();const _0x52453a=_0x43dd74[_0x506c('0x91')],_0x57113c=_0x5b12bf,_0x5adda4=ce(_0x52453a),_0x480f40=ce(_0x57113c);_0x443e2d[_0x506c('0x34')]=_0x52453a;let _0xb57c6f=null,_0x50ed56=null;if(_0x480f40||_0x5adda4){if(_0x5adda4&&!_0x480f40){_0x14ff4a[_0x506c('0x3e')](_0x52453a[_0x506c('0x27')](0x0));for(const _0x1c754f of Array['from'](_0x57113c[_0x506c('0x9f')]()))_0x14ff4a[_0x506c('0x28')](_0x1c754f,_0x52453a,_0x506c('0x9a'));const _0x41467a=_0x498d4c[_0x506c('0x2a')][_0x506c('0x51')](_0x43dd74['row']),_0x57b238=_0x498d4c['columnInsertionIndexes'][_0x506c('0x51')](_0x43dd74[_0x506c('0x8d')]);_0x41467a||_0x57b238||(_0xb57c6f=_0x14ff4a[_0x506c('0x58')](_0x52453a));}else _0x480f40&&!_0x5adda4&&(_0x50ed56=_0x14ff4a[_0x506c('0x58')](_0x52453a));}else{const _0xde85ca=_0x14ff4a[_0x506c('0x12')](_0x506c('0x5e')),_0x5200af=_0x14ff4a['createElement'](_0x506c('0x5e'));_0x14ff4a[_0x506c('0x2c')](_0x14ff4a[_0x506c('0x58')](_0x52453a),_0x5200af),_0x14ff4a[_0x506c('0x28')](_0xde85ca,_0x52453a,0x0);for(const _0x1f522a of Array[_0x506c('0x2e')](_0x57113c['getChildren']()))_0x14ff4a[_0x506c('0x28')](_0x1f522a,_0xde85ca,'end');_0xb57c6f=_0x14ff4a[_0x506c('0x65')](_0xde85ca),_0x50ed56=_0x14ff4a['createRangeOn'](_0x5200af);}const _0x2363c9=Array[_0x506c('0x2e')](_0x57113c[_0x506c('0x86')]())['filter'](([_0x19db3b])=>le[_0x506c('0x51')](_0x19db3b));_0x498d4c[_0x506c('0x94')][_0x506c('0x57')]({'element':_0x52453a,'attributes':_0x2363c9[_0x506c('0x7d')]?Object[_0x506c('0x3c')](_0x2363c9):null}),_0xb57c6f&&_0x498d4c['insertionRanges'][_0x506c('0x57')](_0xb57c6f),_0x50ed56&&_0x498d4c[_0x506c('0x49')][_0x506c('0x57')](_0x50ed56);},{'priority':_0x506c('0x1c')}),_0x225bf4['on']('insertColumns',(_0xd5cdcc,_0x407534)=>{const [_0x4c91df,_0x1ccffc={}]=_0x407534;if(!_0x498d4c)return;const _0x5bc579=_0x1ccffc['at']||0x0,_0x26e927=_0x1ccffc[_0x506c('0x87')]||0x1;_0x498d4c['columnInsertionIndexes']=new Array(_0x26e927)[_0x506c('0x26')](_0x5bc579)['map']((_0xa535c,_0x10e6c2)=>_0xa535c+_0x10e6c2);for(const {cell:_0x4b90e1}of _0x225bf4[_0x506c('0x3d')](_0x4c91df,{'startColumn':_0x5bc579,'endColumn':_0x5bc579+_0x26e927-0x1}))_0x498d4c['columnInsertionRanges'][_0x506c('0x57')](_0x219381['model'][_0x506c('0x65')](_0x4b90e1));},{'priority':_0x506c('0x19')}),_0x225bf4['on'](_0x506c('0x71'),(_0x5bff75,_0x222177)=>{const [_0x5a16f5,_0xb48285={}]=_0x222177;if(!_0x498d4c)return;const _0x1c75d2=_0xb48285['at']||0x0,_0x2fdcf3=_0xb48285[_0x506c('0x1b')]||0x1;_0x498d4c[_0x506c('0x2a')]=new Array(_0x2fdcf3)[_0x506c('0x26')](_0x1c75d2)[_0x506c('0x76')]((_0x3d3241,_0x33cb70)=>_0x3d3241+_0x33cb70);for(const {cell:_0x2676e8}of _0x225bf4['createTableWalker'](_0x5a16f5,{'startRow':_0x1c75d2,'endRow':_0x1c75d2+_0x2fdcf3-0x1}))_0x498d4c[_0x506c('0x8b')][_0x506c('0x57')](_0x219381[_0x506c('0x61')][_0x506c('0x65')](_0x2676e8));},{'priority':_0x506c('0x19')}),_0x4f1e92[_0x506c('0x6a')][_0x506c('0x92')](_0x1495da=>{if(_0x1495da[_0x506c('0x29')]&&_0x1495da[_0x506c('0x29')][_0x506c('0x33')](_0x506c('0x54')))return _0x1495da[_0x506c('0x8f')]?{}:{'type':_0x506c('0x20'),'content':_0x378a0d(_0x219381['locale'],_0x506c('0x85'))};});const _0x48ee66=()=>!0x1;for(const _0x47c822 of[_0x506c('0x54'),_0x506c('0x5f'),_0x506c('0x7e'),_0x506c('0x6')])_0x4f1e92['_suggestionFactory'][_0x506c('0x25')](_0x506c('0x20'),_0x47c822,_0x506c('0x14'),_0x48ee66),_0x4f1e92['_suggestionFactory']['registerCustomCallback']('deletion',_0x47c822,_0x506c('0x14'),_0x48ee66),_0x4f1e92[_0x506c('0x2')]['registerCustomCallback'](_0x506c('0x4e'),_0x47c822,_0x506c('0x14'),_0x48ee66);_0x4f1e92[_0x506c('0x2')][_0x506c('0x25')](_0x506c('0x4e'),'tablePasteCell',_0x506c('0x69'),_0x48ee66),_0x4f1e92[_0x506c('0x2')][_0x506c('0x25')](_0x506c('0x4e'),'tablePasteCell',_0x506c('0x82'),(_0xb64a49,_0x190754,_0x3364df)=>{const _0x317837=_0xb64a49[_0x506c('0x76')](_0x10e8d7=>_0x10e8d7['getContainedElement']())[_0x506c('0x2d')](_0x47c381=>_0x47c381),_0x1a68e4=new Map(_0x317837[_0x506c('0x76')](_0x3073d7=>[_0x3073d7,null]));if(_0x498d4c)for(const {element:_0x340d7f,attributes:_0x1bd33f}of _0x498d4c[_0x506c('0x94')])_0x1bd33f&&_0x1a68e4[_0x506c('0x72')](_0x340d7f,_0x1bd33f);else{if(_0x3364df&&_0x3364df['markerAttributes'])for(const [_0x1c0719,_0x2e54b4]of Object['entries'](_0x3364df['markerAttributes'])){const _0x616bfd=_0x219381['model'][_0x506c('0x4b')][_0x506c('0x63')](_0x1c0719),_0x1273ca=_0x616bfd?_0x616bfd[_0x506c('0x39')]()[_0x506c('0x9c')]():null;_0x1273ca&&_0x1a68e4[_0x506c('0x72')](_0x1273ca,_0x2e54b4);}}_0x219381[_0x506c('0x61')][_0x506c('0x4a')](_0x313294=>{for(const [_0x53a40b,_0x44aa8c]of _0x1a68e4)_0x313294['setAttributes']({...ae,..._0x44aa8c},_0x53a40b);});});const _0x144065=(_0xe7c500,_0x5b5fa3)=>{_0x4f1e92['_suggestionFactory']['registerCustomCallback'](_0xe7c500,_0x506c('0x54'),_0x5b5fa3,(_0x45e2ca,_0x1adc62,_0x4fccc8)=>{_0x219381[_0x506c('0x61')][_0x506c('0x4a')](_0x30a5c3=>{const _0xa94f6d=[];for(const _0x224599 of _0x45e2ca){const _0x5d4dc4=_0x224599[_0x506c('0x90')]['nodeAfter'];_0x5d4dc4['is'](_0x506c('0x70'),_0x506c('0x5e'))&&_0xa94f6d[_0x506c('0x57')](_0x5d4dc4);}_0x4f1e92[_0x506c('0x2')][_0x506c('0x15')](_0xe7c500,null,_0x5b5fa3)(_0x45e2ca,_0x1adc62,_0x4fccc8);for(const _0xdab19b of _0xa94f6d)'$graveyard'!=_0xdab19b[_0x506c('0x1a')][_0x506c('0x36')]&&_0x30a5c3[_0x506c('0x2b')](_0xdab19b);});});};_0x144065(_0x506c('0x20'),_0x506c('0x82')),_0x144065('insertion','discard'),_0x144065('deletion',_0x506c('0x82')),_0x144065(_0x506c('0x67'),_0x506c('0x69')),_0x4f1e92['_suggestionFactory'][_0x506c('0x25')](_0x506c('0x20'),_0x506c('0x7e'),'discard',_0x45cccc=>{const _0x32f8fe=_0x45cccc['map'](_0x3755bf=>_0x3755bf[_0x506c('0x9c')]()),_0x57f378=_0x32f8fe[0x0][_0x506c('0x88')](_0x506c('0x45')),{minRow:_0x12b5a3,maxRow:_0x1c86d4}=_0x3c2562[_0x506c('0x0')](_0x32f8fe);_0x225bf4[_0x506c('0x5b')](_0x57f378,{'at':_0x12b5a3,'rows':_0x1c86d4-_0x12b5a3+0x1});}),_0x4f1e92['_suggestionFactory']['registerCustomCallback'](_0x506c('0x20'),'tablePasteColumn','discard',_0x27b825=>{const _0x20ae0c=_0x27b825[_0x506c('0x76')](_0x9ed4a3=>_0x9ed4a3[_0x506c('0x9c')]()),_0x566c81=_0x20ae0c[0x0][_0x506c('0x88')](_0x506c('0x45')),{minColumn:_0x19887f,maxColumn:_0x2e4e58}=_0x3c2562[_0x506c('0x0')](_0x20ae0c);_0x225bf4['removeColumns'](_0x566c81,{'at':_0x19887f,'columns':_0x2e4e58-_0x19887f+0x1});});const _0x4c04c5=(_0x1d1da0,_0x382992)=>{if(!_0x382992[_0x506c('0x29')]||!_0x382992[_0x506c('0x29')][_0x506c('0x33')](_0x506c('0x54')))return;const _0x4de366=_0x382992['attributes'][_0x506c('0x31')],_0x59c888=_0x4f1e92[_0x506c('0xc')]()[_0x506c('0x2d')](_0x29dbfa=>_0x29dbfa[_0x506c('0x1')]&&_0x29dbfa[_0x506c('0x6c')]&&_0x29dbfa['attributes']['tablePasteChainId']==_0x4de366);_0x59c888[_0x506c('0x7d')]&&_0x382992[_0x506c('0x81')]()[_0x506c('0x7d')]!=_0x59c888[_0x506c('0x7d')]&&_0x59c888[_0x506c('0x1d')]((_0x58da0a,_0x58fc59)=>(_0x58da0a[_0x506c('0x55')]=_0x58fc59,_0x58fc59[_0x506c('0x8f')]=_0x58da0a,_0x58fc59));};function _0x3b470c(_0x591496,_0x1a38a2=!0x0){const {id:_0x1b0cb0}=_0x4f1e92[_0x506c('0x3b')](_0x591496[_0x506c('0x23')]),_0x486abc=[_0x506c('0x8e'),_0x506c('0x97')],_0xe83e35=_0x4f1e92[_0x506c('0x9e')][_0x506c('0x51')](_0x591496[_0x506c('0x23')]);return _0xe83e35&&_0x486abc[_0x506c('0x57')](_0x506c('0x41')),{'classes':_0x486abc,'attributes':{'data-suggestion':_0x1b0cb0},'priority':_0xe83e35&&_0x1a38a2?0xbc2:0xbb8};}_0x4f1e92['on']('suggestionLoaded',_0x4c04c5,{'priority':'high'}),_0x4f1e92['on'](_0x506c('0x78'),_0x4c04c5,{'priority':'high'}),_0x219381['model']['document']['registerPostFixer'](()=>{let _0x38c96c=!0x1;const _0x5636cd=Array[_0x506c('0x2e')](_0x219381[_0x506c('0x61')][_0x506c('0x13')][_0x506c('0x32')][_0x506c('0x8')]());for(const {name:_0x285aa6,data:_0x16535f}of _0x5636cd){const {group:_0x522d56,type:_0x3f286b,id:_0x49a28b}=_0x4f1e92[_0x506c('0x3b')](_0x285aa6);if('suggestion'!=_0x522d56||'deletion'!=_0x3f286b||_0x16535f[_0x506c('0x2f')])continue;if(!_0x4f1e92['hasSuggestion'](_0x49a28b))continue;const _0x4075d6=_0x4f1e92['getSuggestion'](_0x49a28b)[_0x506c('0xf')](),_0x172951=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x56'))['me'];for(const _0x204085 of _0x4f1e92[_0x506c('0xc')]()){if(!_0x204085[_0x506c('0x1')]||_0x204085[_0x506c('0x46')]!=_0x172951)continue;if('formatBlock'!=_0x204085[_0x506c('0x59')]||_0x506c('0x6')!=_0x204085[_0x506c('0x29')])continue;if(_0x204085[_0x506c('0xf')]()['every'](_0x329e68=>_0x4075d6['some'](_0x11aaf0=>_0x11aaf0[_0x506c('0x7b')](_0x329e68,!0x0))))for(const _0xc4e061 of _0x204085[_0x506c('0x81')]())_0xc4e061[_0x506c('0x1')]&&(_0xc4e061[_0x506c('0x69')](),_0x38c96c=!0x0);}}return _0x38c96c;}),_0x219381[_0x506c('0x61')][_0x506c('0x13')]['registerPostFixer'](_0x1c782a=>{const _0x2a7a83=_0x219381['commands']['get'](_0x506c('0xe'));if(!_0x2a7a83||!_0x2a7a83[_0x506c('0x7f')][_0x506c('0x6d')](_0x1c782a[_0x506c('0x77')]))return!0x1;let _0x4896fd=!0x1;const _0xc9a092=_0x219381[_0x506c('0x62')][_0x506c('0x63')]('Users')['me'],_0x388d9=_0x219381[_0x506c('0x61')][_0x506c('0x13')]['differ'][_0x506c('0x6e')](),_0x2881b3=Array[_0x506c('0x2e')](_0x219381['model']['document'][_0x506c('0x32')][_0x506c('0x8')]())['filter'](({name:_0x3d0fad,data:_0x3d1a68})=>{const {group:_0x5ee79d,subType:_0x4b3b8f,authorId:_0xbca6f7}=_0x4f1e92[_0x506c('0x3b')](_0x3d0fad);return'suggestion'==_0x5ee79d&&'tablePaste'==_0x4b3b8f&&_0xbca6f7==_0xc9a092['id']&&!_0x3d1a68[_0x506c('0x2f')];});for(const _0x467a3c of _0x388d9){if(_0x506c('0x28')!=_0x467a3c[_0x506c('0x59')]||_0x506c('0x5e')!=_0x467a3c['name']||0x1!=_0x467a3c[_0x506c('0x7d')])continue;const _0x282195=_0x1c782a['createRange'](_0x467a3c[_0x506c('0x8c')],_0x467a3c['position'][_0x506c('0x6f')](0x1));if(!_0x2881b3['find'](({data:_0x18ac85})=>_0x18ac85[_0x506c('0x7c')][_0x506c('0x93')](_0x282195)))for(const {name:_0x2a2716,data:_0x3bec10}of _0x2881b3)if(_0x282195[_0x506c('0x7b')](_0x3bec10[_0x506c('0x7c')])){_0x1c782a[_0x506c('0x5d')](_0x2a2716,{'range':_0x282195}),_0x4896fd=!0x0;break;}}return _0x4896fd;}),_0x219381['model'][_0x506c('0x13')][_0x506c('0x37')](_0x3cbf8f=>{let _0x592c3d=!0x1;const _0x5312a5=_0x219381['plugins']['get']('Users')['me'],_0x4b74b1=_0x4f1e92[_0x506c('0xc')]()[_0x506c('0x2d')](_0x2a8c2d=>_0x2a8c2d['isInContent']&&_0x2a8c2d[_0x506c('0x46')]==_0x5312a5),_0x120fdb=new Set(),_0x517f02=new Set();for(const _0x4d8ccb of _0x4b74b1)if(_0x506c('0x54')==_0x4d8ccb[_0x506c('0x29')])for(const _0x38fedc of _0x4d8ccb[_0x506c('0x4d')]()){const _0x2bbf8c=_0x38fedc[_0x506c('0x39')]()['getContainedElement']();if(_0x2bbf8c){if(_0x2bbf8c['is'](_0x506c('0x70'),_0x506c('0x5e'))&&ce(_0x2bbf8c)){_0x4d8ccb[_0x506c('0x1f')](_0x38fedc[_0x506c('0x4')]),_0x120fdb['add'](_0x2bbf8c),_0x592c3d=!0x0;const _0x17ca4d=_0x2bbf8c[_0x506c('0x44')],_0x52c281=_0x2bbf8c[_0x506c('0x3a')],_0x25db51=_0x17ca4d&&_0x17ca4d['is'](_0x506c('0x70'),_0x506c('0x5e')),_0x5a0d61=_0x52c281&&_0x52c281['is'](_0x506c('0x70'),_0x506c('0x5e'));_0x25db51&&!_0x120fdb['has'](_0x17ca4d)&&_0x517f02[_0x506c('0x64')](_0x17ca4d),_0x5a0d61&&!_0x120fdb[_0x506c('0x6d')](_0x52c281)&&_0x517f02[_0x506c('0x64')](_0x52c281);}else _0x2bbf8c['is'](_0x506c('0x70'),_0x506c('0x80'))&&_0x2bbf8c['isEmpty']&&(_0x4d8ccb[_0x506c('0x1f')](_0x38fedc[_0x506c('0x4')]),_0x592c3d=!0x0);}}else{if(_0x506c('0x6')==_0x4d8ccb[_0x506c('0x29')]){if(!_0x4d8ccb[_0x506c('0x6c')]||!_0x4d8ccb['attributes'][_0x506c('0x31')])continue;const _0x2b73b8=_0x4d8ccb[_0x506c('0x6c')][_0x506c('0x7a')];if(_0x2b73b8&&Object['keys'](_0x2b73b8)[_0x506c('0x7d')])continue;const _0xef1093=_0x4d8ccb[_0x506c('0x6c')]['tablePasteChainId'];let _0x5cc9ba=!0x0,_0x4831f3=!0x0;for(const _0x4c821a of _0x4b74b1)if(_0x4c821a[_0x506c('0x29')]&&_0x4c821a['subType'][_0x506c('0x33')](_0x506c('0x54'))){if(!_0x4c821a['attributes']['tablePasteChainId']){_0x4831f3=!0x1;break;}if(_0x4c821a['id']!=_0x4d8ccb['id']&&_0x4c821a[_0x506c('0x6c')][_0x506c('0x31')]==_0xef1093){_0x5cc9ba=!0x1;break;}}_0x4831f3&&_0x5cc9ba&&(_0x4d8ccb[_0x506c('0x47')](),_0x592c3d=!0x0);}}for(const _0x4fe1e1 of _0x120fdb)_0x3cbf8f[_0x506c('0x3e')](_0x4fe1e1);for(const _0x2ebdf2 of _0x517f02)_0x3cbf8f[_0x506c('0x2b')](_0x2ebdf2);return _0x592c3d;}),_0x219381['conversion'][_0x506c('0x22')](_0x506c('0x5'))['markerToHighlight']({'model':_0x506c('0x11'),'view':(_0x5cf716,_0x1ddb0e)=>_0x3b470c(_0x5cf716),'converterPriority':_0x506c('0x1c')}),_0x219381['conversion'][_0x506c('0x22')]('dataDowncast')[_0x506c('0x60')]({'model':_0x506c('0x11'),'view':(_0x208f8e,_0x3b7023)=>_0x3b7023[_0x506c('0x18')][_0x506c('0x79')]?_0x3b470c(_0x208f8e,!0x1):null,'converterPriority':'high'});const _0x129e22=_0x219381[_0x506c('0x17')]['view'];this[_0x506c('0x21')](_0x129e22[_0x506c('0x13')],_0x506c('0x9'),(_0x1a30bb,_0x4db634)=>{const _0x2e3968=[];for(const _0x529b36 of _0x129e22[_0x506c('0x58')](_0x4db634[_0x506c('0x6b')])[_0x506c('0x4f')]())_0x529b36['is'](_0x506c('0x70'),_0x506c('0x99'))&&_0x2e3968[_0x506c('0x57')](_0x529b36);_0x129e22[_0x506c('0x4a')](_0x39bd3a=>{for(const _0x477bd6 of _0x2e3968)_0x39bd3a['move'](_0x39bd3a[_0x506c('0x58')](_0x477bd6),_0x39bd3a[_0x506c('0x5a')](_0x477bd6)),_0x39bd3a[_0x506c('0x3e')](_0x477bd6);});});}}function ce(_0x53dcc0){if(_0x53dcc0[_0x506c('0x50')])return!0x0;const _0x3b7a8b=_0x53dcc0[_0x506c('0x27')](0x0);return _0x3b7a8b['is'](_0x506c('0x70'),_0x506c('0x80'))&&_0x3b7a8b['isEmpty'];}function fe(_0x16adc4,_0x19b931={},_0x3d5441){for(const {isAnchor:_0x3551b9,cellHeight:_0x25384d,cellWidth:_0x408436}of _0x3d5441[_0x506c('0x3d')](_0x16adc4,{'includeAllSlots':!0x0,..._0x19b931}))if(!_0x3551b9||0x1!=_0x25384d||0x1!=_0x408436)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159b=['Users','commandParams','formatBlock','registerCustomCallback','subType','_suggestionFactory','locale','getAttribute','table','getContainedElement','getSuggestions','formatInline','getTableColumnsWidths','handleResizeTableWidthCommand','TrackChangesEditing','editor','change','accept','resizeTableWidth','resizeTable','getSuggestionCallback','_descriptionFactory','plugins','get','discard','columnWidths','bind','model','getSelectedElement','author','tableWidth','getColumnGroupElement','afterInit','handleSuggestionDescription','formatGroupId','data','document','TableColumnResizeEditing'];(function(_0x23e813,_0x159b12){const _0x58570d=function(_0x29c5f8){while(--_0x29c5f8){_0x23e813['push'](_0x23e813['shift']());}};_0x58570d(++_0x159b12);}(_0x159b,0xfa));const _0x5857=function(_0x23e813,_0x159b12){_0x23e813=_0x23e813-0x0;let _0x58570d=_0x159b[_0x23e813];return _0x58570d;};import{Plugin as _0xb18121}from'ckeditor5/src/core';import{getTranslation as _0x3da14e}from'../utils/common-translations';export default class It extends _0xb18121{[_0x5857('0xa')](){if(!this[_0x5857('0x1f')][_0x5857('0x0')]['has']('TableColumnResizeEditing'))return;const _0xea070c=this[_0x5857('0x1f')][_0x5857('0x0')][_0x5857('0x1')](_0x5857('0x1e'));_0xea070c['enableCommand'](_0x5857('0x22'),this[_0x5857('0x1d')][_0x5857('0x4')](this)),_0xea070c[_0x5857('0x15')][_0x5857('0x13')](_0x5857('0x12'),_0x5857('0x23'),_0x5857('0x21'),_0xea070c[_0x5857('0x15')][_0x5857('0x24')]('formatBlock',null,_0x5857('0x2'))),_0xea070c['_suggestionFactory'][_0x5857('0x13')](_0x5857('0x12'),_0x5857('0x23'),'discard',_0xea070c[_0x5857('0x15')][_0x5857('0x24')](_0x5857('0x12'),null,_0x5857('0x21'))),_0xea070c[_0x5857('0x25')]['registerDescriptionCallback'](this[_0x5857('0xb')][_0x5857('0x4')](this));}[_0x5857('0x1d')](_0x41e709,_0x158337){const _0x42f585=this[_0x5857('0x1f')][_0x5857('0x0')]['get'](_0x5857('0x1e')),_0x240bb7=this[_0x5857('0x1f')][_0x5857('0x0')][_0x5857('0x1')](_0x5857('0xf')),_0x209820=_0x158337[_0x5857('0x18')]||this[_0x5857('0x1f')][_0x5857('0x5')][_0x5857('0xe')]['selection'][_0x5857('0x6')]();this[_0x5857('0x1f')]['model'][_0x5857('0x20')](()=>{const _0xb9d3a6=_0x240bb7[_0x5857('0x9')](_0x209820);let _0x226fc2=_0xb9d3a6?_0x240bb7[_0x5857('0x1c')](_0xb9d3a6):null,_0x28fc5e=_0x209820[_0x5857('0x17')](_0x5857('0x8'))||null;const _0x595dcf=_0x158337[_0x5857('0x8')]||_0x28fc5e,_0x1ff823=_0x158337[_0x5857('0x3')]||_0x226fc2,_0x113e92=this[_0x5857('0x1f')]['plugins'][_0x5857('0x1')](_0x5857('0x10'))['me'];for(const _0x3e9e44 of _0x42f585[_0x5857('0x1a')]()){const _0x3f7d14=_0x3e9e44[_0x5857('0x19')]();if('resizeTable'===_0x3e9e44[_0x5857('0x14')]&&_0x3f7d14===_0x209820){_0x3e9e44[_0x5857('0x7')]!==_0x113e92&&_0x3e9e44['discard']();const _0x52ffe7=_0x3e9e44[_0x5857('0xd')][_0x5857('0x11')];_0x28fc5e=_0x52ffe7[0x0][_0x5857('0x8')],_0x226fc2=_0x52ffe7[0x0][_0x5857('0x3')];break;}}_0x41e709({'table':_0x209820,'tableWidth':_0x595dcf,'columnWidths':_0x1ff823}),_0x42f585['markBlockFormat'](_0x209820,{'commandName':_0x5857('0x22'),'commandParams':[{'tableWidth':_0x28fc5e,'columnWidths':_0x226fc2}],'formatGroupId':'resizeTable'},[],_0x5857('0x23'));});}['handleSuggestionDescription'](_0x935c72){if(_0x5857('0x12')!=_0x935c72['type']&&_0x5857('0x1b')!=_0x935c72['type'])return;const {data:_0x58e464}=_0x935c72;if(_0x58e464&&_0x5857('0x23')===_0x58e464[_0x5857('0xc')]){const _0x2d5abb='*Format:*\x20resize\x20table';return{'type':'format','content':_0x3da14e(this[_0x5857('0x1f')][_0x5857('0x16')],_0x2d5abb)};}}}
23
+ const _0x2a9f=['_suggestionFactory','_descriptionFactory','TrackChangesEditing','editor','handleSuggestionDescription','getContainedElement','author','getSuggestions','TableColumnResizeEditing','getColumnGroupElement','registerDescriptionCallback','formatGroupId','commandParams','getSelectedElement','plugins','model','resizeTable','bind','subType','has','*Format:*\x20resize\x20table','discard','formatInline','registerCustomCallback','getSuggestionCallback','markBlockFormat','type','resizeTableWidth','afterInit','tableWidth','accept','handleResizeTableWidthCommand','columnWidths','formatBlock','locale','format','getAttribute','get'];(function(_0x119c4e,_0x2a9f34){const _0x464281=function(_0x4b0946){while(--_0x4b0946){_0x119c4e['push'](_0x119c4e['shift']());}};_0x464281(++_0x2a9f34);}(_0x2a9f,0xae));const _0x4642=function(_0x119c4e,_0x2a9f34){_0x119c4e=_0x119c4e-0x0;let _0x464281=_0x2a9f[_0x119c4e];return _0x464281;};import{Plugin as _0x582de2}from'ckeditor5/src/core';import{getTranslation as _0x2bb44e}from'../utils/common-translations';export default class It extends _0x582de2{[_0x4642('0x6')](){if(!this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0x23')]('TableColumnResizeEditing'))return;const _0x1cea41=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x12'));_0x1cea41['enableCommand'](_0x4642('0x5'),this[_0x4642('0x9')]['bind'](this)),_0x1cea41[_0x4642('0x10')][_0x4642('0x1')](_0x4642('0xb'),'resizeTable',_0x4642('0x8'),_0x1cea41[_0x4642('0x10')][_0x4642('0x2')]('formatBlock',null,'discard')),_0x1cea41[_0x4642('0x10')]['registerCustomCallback'](_0x4642('0xb'),'resizeTable',_0x4642('0x25'),_0x1cea41[_0x4642('0x10')][_0x4642('0x2')](_0x4642('0xb'),null,'accept')),_0x1cea41[_0x4642('0x11')][_0x4642('0x1a')](this[_0x4642('0x14')][_0x4642('0x21')](this));}[_0x4642('0x9')](_0x3310de,_0x352de2){const _0x534554=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x12')),_0x4155de=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x18')),_0xf1242d=_0x352de2['table']||this[_0x4642('0x13')][_0x4642('0x1f')]['document']['selection'][_0x4642('0x1d')]();this[_0x4642('0x13')][_0x4642('0x1f')]['change'](()=>{const _0xd3c09e=_0x4155de[_0x4642('0x19')](_0xf1242d);let _0x25db36=_0xd3c09e?_0x4155de['getTableColumnsWidths'](_0xd3c09e):null,_0x8e0807=_0xf1242d[_0x4642('0xe')](_0x4642('0x7'))||null;const _0x387ed8=_0x352de2[_0x4642('0x7')]||_0x8e0807,_0x4bcb15=_0x352de2[_0x4642('0xa')]||_0x25db36,_0x4cc502=this['editor'][_0x4642('0x1e')][_0x4642('0xf')]('Users')['me'];for(const _0x2b7c7c of _0x534554[_0x4642('0x17')]()){const _0x2f8560=_0x2b7c7c[_0x4642('0x15')]();if(_0x4642('0x20')===_0x2b7c7c[_0x4642('0x22')]&&_0x2f8560===_0xf1242d){_0x2b7c7c[_0x4642('0x16')]!==_0x4cc502&&_0x2b7c7c[_0x4642('0x25')]();const _0x237b0a=_0x2b7c7c['data'][_0x4642('0x1c')];_0x8e0807=_0x237b0a[0x0]['tableWidth'],_0x25db36=_0x237b0a[0x0][_0x4642('0xa')];break;}}_0x3310de({'table':_0xf1242d,'tableWidth':_0x387ed8,'columnWidths':_0x4bcb15}),_0x534554[_0x4642('0x3')](_0xf1242d,{'commandName':_0x4642('0x5'),'commandParams':[{'tableWidth':_0x8e0807,'columnWidths':_0x25db36}],'formatGroupId':_0x4642('0x20')},[],'resizeTable');});}[_0x4642('0x14')](_0x57abfd){if(_0x4642('0xb')!=_0x57abfd[_0x4642('0x4')]&&_0x4642('0x0')!=_0x57abfd['type'])return;const {data:_0x1eb43f}=_0x57abfd;if(_0x1eb43f&&_0x4642('0x20')===_0x1eb43f[_0x4642('0x1b')]){const _0x59c2ec=_0x4642('0x24');return{'type':_0x4642('0xd'),'content':_0x2bb44e(this['editor'][_0x4642('0xc')],_0x59c2ec)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3906=['markerName','showSuggestionHighlights','ck-suggestion-marker-','setTableRowHeader','addClass','_registerLegacyDescription','addMarker:suggestion','getSuggestion','FORMAT_REGULAR_ROW','_enableDefaultAttributesIntegration','nodeBefore','markerRange','stop','TrackChangesEditing','FORMAT_REGULAR_COLUMN','bindElementToMarker','plugins','consumable','headingColumns','getCellLocation','forceValue','cell','mapper','afterInit','end','_splitMarkerName','item','registerAttributeLabel','data-suggestion','activeMarkers','FORMAT_HEADER_ROW','registerDescriptionCallback','removeAttribute','requires','_descriptionFactory','commandName','_acceptFormatSuggestionCallbackFactory','FORMAT_HEADER_COLUMN','editor','get','*Format:*\x20%0','toViewElement','locale','parent','writer','ck-suggestion-marker--active','_suggestionFactory','setAttribute','start','setTableColumnHeader','editing','removeClass','_handleLegacySuggestions','markerNameToElements','headingRows','type','TableUtils','has','format','options','accept','unbindElementFromMarkerName','downcastDispatcher','formatBlock','registerCustomCallback','nodeAfter','includes','highest'];(function(_0x76ac42,_0x390688){const _0x558df0=function(_0x55bee0){while(--_0x55bee0){_0x76ac42['push'](_0x76ac42['shift']());}};_0x558df0(++_0x390688);}(_0x3906,0x83));const _0x558d=function(_0x76ac42,_0x390688){_0x76ac42=_0x76ac42-0x0;let _0x558df0=_0x3906[_0x76ac42];return _0x558df0;};import{Plugin as _0x46e235}from'ckeditor5/src/core';import _0x37faf2 from'./table';import{getTranslation as _0x433db7}from'../utils/common-translations';export default class St extends _0x46e235{static get[_0x558d('0x26')](){return[_0x37faf2];}[_0x558d('0x1c')](){const _0x54fc3e=this['editor'];if(!_0x54fc3e[_0x558d('0x15')][_0x558d('0x3e')]('TableEditing'))return;const _0xcd31b0=_0x54fc3e[_0x558d('0x2f')],_0x1667eb=_0x54fc3e['plugins'][_0x558d('0x2c')](_0x558d('0x12'));_0x1667eb[_0x558d('0xe')](_0x558d('0x8'),[],[_0x558d('0x3b')]),_0x1667eb[_0x558d('0xe')]('setTableColumnHeader',[],[_0x558d('0x17')]),_0x1667eb[_0x558d('0x27')][_0x558d('0x20')](_0x558d('0x3b'),_0x433db7(_0xcd31b0,_0x558d('0x23'))),_0x1667eb['_descriptionFactory'][_0x558d('0x20')](_0x558d('0x17'),_0x433db7(_0xcd31b0,_0x558d('0x2a'))),this[_0x558d('0x39')]();}['_handleLegacySuggestions'](){const _0x5d4dad=this[_0x558d('0x2b')][_0x558d('0x15')]['get'](_0x558d('0x12')),_0x173b6c=this[_0x558d('0x2b')][_0x558d('0x15')][_0x558d('0x2c')](_0x558d('0x3d')),_0x1129bc=this[_0x558d('0x2b')][_0x558d('0x15')][_0x558d('0x2c')](_0x37faf2)[_0x558d('0x29')]();function _0x3d78ae({showActiveMarker:_0x412208=!0x0,setDataAttribute:_0x2b3a79=!0x0}={}){return(_0x43dfa3,_0x56fed7,_0x3ffa0a)=>{const {type:_0x337d28,id:_0x211efc}=_0x5d4dad[_0x558d('0x1e')](_0x56fed7[_0x558d('0x5')]),_0x35c01d=_0x5d4dad[_0x558d('0xc')](_0x211efc),_0x52b44c=_0x35c01d['data'];if('formatBlock'!=_0x35c01d[_0x558d('0x3c')]||!_0x52b44c||_0x558d('0x36')!=_0x52b44c[_0x558d('0x28')])return;if(_0x56fed7[_0x558d('0x1f')])return void _0x43dfa3[_0x558d('0x11')]();if(!_0x3ffa0a[_0x558d('0x16')]['consume'](_0x56fed7['markerRange'],_0x43dfa3['name']))return;const _0x5ea734=_0x56fed7[_0x558d('0x10')][_0x558d('0x35')][_0x558d('0x2')],_0x11f33a=_0x56fed7[_0x558d('0x10')][_0x558d('0x1d')][_0x558d('0xf')],_0x2bb7d4=_0x5ea734[_0x558d('0x30')]['parent'],{column:_0x22c861}=_0x173b6c[_0x558d('0x18')](_0x5ea734),{column:_0x3711a8}=_0x173b6c[_0x558d('0x18')](_0x11f33a);for(let _0x171917=_0x22c861;_0x171917<=_0x3711a8;_0x171917++){const _0x1e031f=_0x173b6c['createTableWalker'](_0x2bb7d4,{'column':_0x171917,'includeAllSlots':!0x1});for(const _0x17c26a of _0x1e031f){const _0x20b627=_0x17c26a[_0x558d('0x1a')],_0x4dffd0=_0x3ffa0a['mapper'][_0x558d('0x2e')](_0x20b627);_0x3ffa0a[_0x558d('0x31')][_0x558d('0x9')](_0x558d('0x7')+_0x337d28,_0x4dffd0),_0x2b3a79&&_0x3ffa0a['writer'][_0x558d('0x34')](_0x558d('0x21'),_0x211efc,_0x4dffd0),_0x3ffa0a[_0x558d('0x1b')][_0x558d('0x14')](_0x4dffd0,_0x56fed7[_0x558d('0x5')]),_0x412208&&(_0x5d4dad[_0x558d('0x22')][_0x558d('0x3')](_0x56fed7[_0x558d('0x5')])?_0x3ffa0a['writer']['addClass'](_0x558d('0x32'),_0x4dffd0):_0x3ffa0a[_0x558d('0x31')][_0x558d('0x38')](_0x558d('0x32'),_0x4dffd0));}}};}_0x5d4dad[_0x558d('0x33')][_0x558d('0x1')](_0x558d('0x0'),'setTableRowHeader',_0x558d('0x41'),_0x1129bc),_0x5d4dad[_0x558d('0x33')]['registerCustomCallback'](_0x558d('0x0'),_0x558d('0x36'),_0x558d('0x41'),_0x1129bc),this[_0x558d('0x2b')][_0x558d('0x37')]['downcastDispatcher']['on'](_0x558d('0xb'),_0x3d78ae(),{'priority':_0x558d('0x4')}),this[_0x558d('0x2b')]['data'][_0x558d('0x43')]['on'](_0x558d('0xb'),(_0x314070,_0x53b4c8,_0xc370db)=>{_0xc370db[_0x558d('0x40')][_0x558d('0x6')]&&_0x3d78ae({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x314070,_0x53b4c8,_0xc370db);},{'priority':'highest'}),this['editor']['editing'][_0x558d('0x43')]['on']('removeMarker:suggestion',(_0x572a8e,_0xf58131,_0x21c5bb)=>{const {type:_0x2738fe,id:_0x1eb7e7}=_0x5d4dad['_splitMarkerName'](_0xf58131[_0x558d('0x5')]),_0x178f7c=_0x5d4dad['getSuggestion'](_0x1eb7e7),_0xa50ff4=_0x178f7c['data'];if('formatBlock'!=_0x178f7c[_0x558d('0x3c')]||!_0xa50ff4||_0x558d('0x36')!=_0xa50ff4[_0x558d('0x28')])return;const _0x44555f=_0x21c5bb[_0x558d('0x1b')][_0x558d('0x3a')](_0xf58131[_0x558d('0x5')]);if(_0x44555f)for(const _0x13cc86 of _0x44555f)_0x21c5bb['writer'][_0x558d('0x38')](_0x558d('0x7')+_0x2738fe,_0x13cc86),_0x21c5bb['writer'][_0x558d('0x38')]('ck-suggestion-marker--active',_0x13cc86),_0x21c5bb['writer'][_0x558d('0x25')]('data-suggestion',_0x13cc86),_0x21c5bb[_0x558d('0x1b')][_0x558d('0x42')](_0x13cc86,_0xf58131[_0x558d('0x5')]);},{'priority':'highest'}),this[_0x558d('0xa')]();}['_registerLegacyDescription'](){const _0x44d6cf=this[_0x558d('0x2b')],_0x1acf3e=_0x44d6cf[_0x558d('0x2f')];function _0x296125(_0x5ad837){return{'type':_0x558d('0x3f'),'content':_0x433db7(_0x1acf3e,_0x558d('0x2d'),_0x5ad837)};}_0x44d6cf[_0x558d('0x15')][_0x558d('0x2c')](_0x558d('0x12'))[_0x558d('0x27')][_0x558d('0x24')](_0x55b229=>{if('formatBlock'!=_0x55b229[_0x558d('0x3c')])return;const {data:_0xd15fa4}=_0x55b229;if(_0xd15fa4){if(_0x558d('0x8')==_0xd15fa4[_0x558d('0x28')]){const _0x1c6e1c=_0xd15fa4['commandParams'][0x0][_0x558d('0x19')];return _0x296125(_0x433db7(_0x1acf3e,_0x1c6e1c?_0x558d('0x23'):_0x558d('0xd')));}if(_0x558d('0x36')==_0xd15fa4[_0x558d('0x28')]){const _0x209934=_0xd15fa4['commandParams'][0x0][_0x558d('0x19')];return _0x296125(_0x433db7(_0x1acf3e,_0x209934?_0x558d('0x2a'):_0x558d('0x13')));}}});}}
23
+ const _0x5616=['_enableDefaultAttributesIntegration','commandParams','FORMAT_REGULAR_COLUMN','forceValue','mapper','toViewElement','downcastDispatcher','_suggestionFactory','getSuggestion','removeAttribute','type','TrackChangesEditing','markerNameToElements','removeClass','getCellLocation','registerDescriptionCallback','includes','formatBlock','afterInit','markerName','FORMAT_HEADER_ROW','start','setTableRowHeader','headingRows','_registerLegacyDescription','FORMAT_REGULAR_ROW','commandName','*Format:*\x20%0','highest','removeMarker:suggestion','writer','cell','stop','bindElementToMarker','get','plugins','setAttribute','activeMarkers','headingColumns','parent','consume','createTableWalker','markerRange','accept','FORMAT_HEADER_COLUMN','data-suggestion','registerAttributeLabel','ck-suggestion-marker-','_acceptFormatSuggestionCallbackFactory','editor','unbindElementFromMarkerName','addMarker:suggestion','data','locale','item','nodeAfter','ck-suggestion-marker--active','end','_descriptionFactory','editing','has','setTableColumnHeader','showSuggestionHighlights','addClass'];(function(_0x2210af,_0x5616d2){const _0x52ab55=function(_0xda0f48){while(--_0xda0f48){_0x2210af['push'](_0x2210af['shift']());}};_0x52ab55(++_0x5616d2);}(_0x5616,0xf3));const _0x52ab=function(_0x2210af,_0x5616d2){_0x2210af=_0x2210af-0x0;let _0x52ab55=_0x5616[_0x2210af];return _0x52ab55;};import{Plugin as _0x194b6d}from'ckeditor5/src/core';import _0x5a2f42 from'./table';import{getTranslation as _0x4d859e}from'../utils/common-translations';export default class St extends _0x194b6d{static get['requires'](){return[_0x5a2f42];}[_0x52ab('0x1f')](){const _0x3c5a61=this[_0x52ab('0x3e')];if(!_0x3c5a61['plugins'][_0x52ab('0x9')]('TableEditing'))return;const _0x123705=_0x3c5a61['locale'],_0x31232b=_0x3c5a61[_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18'));_0x31232b['_enableDefaultAttributesIntegration'](_0x52ab('0x23'),[],['headingRows']),_0x31232b[_0x52ab('0xd')](_0x52ab('0xa'),[],[_0x52ab('0x33')]),_0x31232b[_0x52ab('0x7')]['registerAttributeLabel'](_0x52ab('0x24'),_0x4d859e(_0x123705,_0x52ab('0x21'))),_0x31232b['_descriptionFactory'][_0x52ab('0x3b')](_0x52ab('0x33'),_0x4d859e(_0x123705,_0x52ab('0x39'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x3ed8c2=this[_0x52ab('0x3e')][_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18')),_0x2e45d4=this[_0x52ab('0x3e')]['plugins'][_0x52ab('0x2f')]('TableUtils'),_0x55550e=this[_0x52ab('0x3e')]['plugins']['get'](_0x5a2f42)[_0x52ab('0x3d')]();function _0x5d7726({showActiveMarker:_0x48f1b4=!0x0,setDataAttribute:_0x2ae272=!0x0}={}){return(_0x46a361,_0x3a3d99,_0x34f98f)=>{const {type:_0x3c7f1e,id:_0x4ba7d8}=_0x3ed8c2['_splitMarkerName'](_0x3a3d99[_0x52ab('0x20')]),_0x11cea3=_0x3ed8c2[_0x52ab('0x15')](_0x4ba7d8),_0x4cca33=_0x11cea3[_0x52ab('0x1')];if(_0x52ab('0x1e')!=_0x11cea3[_0x52ab('0x17')]||!_0x4cca33||_0x52ab('0xa')!=_0x4cca33[_0x52ab('0x27')])return;if(_0x3a3d99[_0x52ab('0x3')])return void _0x46a361[_0x52ab('0x2d')]();if(!_0x34f98f['consumable'][_0x52ab('0x35')](_0x3a3d99[_0x52ab('0x37')],_0x46a361['name']))return;const _0x1597bc=_0x3a3d99[_0x52ab('0x37')][_0x52ab('0x22')][_0x52ab('0x4')],_0x58e784=_0x3a3d99[_0x52ab('0x37')][_0x52ab('0x6')]['nodeBefore'],_0x5d94f7=_0x1597bc[_0x52ab('0x34')][_0x52ab('0x34')],{column:_0x1156be}=_0x2e45d4[_0x52ab('0x1b')](_0x1597bc),{column:_0xfead47}=_0x2e45d4[_0x52ab('0x1b')](_0x58e784);for(let _0x1e8710=_0x1156be;_0x1e8710<=_0xfead47;_0x1e8710++){const _0x4c721c=_0x2e45d4[_0x52ab('0x36')](_0x5d94f7,{'column':_0x1e8710,'includeAllSlots':!0x1});for(const _0x4a03ae of _0x4c721c){const _0x3c2d64=_0x4a03ae[_0x52ab('0x2c')],_0x52c2fb=_0x34f98f['mapper'][_0x52ab('0x12')](_0x3c2d64);_0x34f98f['writer'][_0x52ab('0xc')](_0x52ab('0x3c')+_0x3c7f1e,_0x52c2fb),_0x2ae272&&_0x34f98f['writer'][_0x52ab('0x31')](_0x52ab('0x3a'),_0x4ba7d8,_0x52c2fb),_0x34f98f[_0x52ab('0x11')][_0x52ab('0x2e')](_0x52c2fb,_0x3a3d99[_0x52ab('0x20')]),_0x48f1b4&&(_0x3ed8c2[_0x52ab('0x32')][_0x52ab('0x1d')](_0x3a3d99['markerName'])?_0x34f98f[_0x52ab('0x2b')][_0x52ab('0xc')](_0x52ab('0x5'),_0x52c2fb):_0x34f98f[_0x52ab('0x2b')][_0x52ab('0x1a')](_0x52ab('0x5'),_0x52c2fb));}}};}_0x3ed8c2[_0x52ab('0x14')]['registerCustomCallback'](_0x52ab('0x1e'),_0x52ab('0x23'),_0x52ab('0x38'),_0x55550e),_0x3ed8c2[_0x52ab('0x14')]['registerCustomCallback'](_0x52ab('0x1e'),'setTableColumnHeader',_0x52ab('0x38'),_0x55550e),this[_0x52ab('0x3e')][_0x52ab('0x8')][_0x52ab('0x13')]['on'](_0x52ab('0x0'),_0x5d7726(),{'priority':_0x52ab('0x29')}),this['editor']['data'][_0x52ab('0x13')]['on']('addMarker:suggestion',(_0x2a552d,_0x584ad7,_0x16aa3e)=>{_0x16aa3e['options'][_0x52ab('0xb')]&&_0x5d7726({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2a552d,_0x584ad7,_0x16aa3e);},{'priority':_0x52ab('0x29')}),this[_0x52ab('0x3e')]['editing'][_0x52ab('0x13')]['on'](_0x52ab('0x2a'),(_0x41696a,_0xf5132e,_0x432730)=>{const {type:_0x57afd9,id:_0x384322}=_0x3ed8c2['_splitMarkerName'](_0xf5132e[_0x52ab('0x20')]),_0x1a2e1d=_0x3ed8c2[_0x52ab('0x15')](_0x384322),_0x4e789b=_0x1a2e1d[_0x52ab('0x1')];if('formatBlock'!=_0x1a2e1d[_0x52ab('0x17')]||!_0x4e789b||'setTableColumnHeader'!=_0x4e789b[_0x52ab('0x27')])return;const _0x13e8c5=_0x432730[_0x52ab('0x11')][_0x52ab('0x19')](_0xf5132e['markerName']);if(_0x13e8c5)for(const _0x1873c6 of _0x13e8c5)_0x432730['writer'][_0x52ab('0x1a')](_0x52ab('0x3c')+_0x57afd9,_0x1873c6),_0x432730[_0x52ab('0x2b')][_0x52ab('0x1a')]('ck-suggestion-marker--active',_0x1873c6),_0x432730[_0x52ab('0x2b')][_0x52ab('0x16')](_0x52ab('0x3a'),_0x1873c6),_0x432730[_0x52ab('0x11')][_0x52ab('0x3f')](_0x1873c6,_0xf5132e[_0x52ab('0x20')]);},{'priority':'highest'}),this['_registerLegacyDescription']();}[_0x52ab('0x25')](){const _0x2cd02f=this[_0x52ab('0x3e')],_0x1ec041=_0x2cd02f[_0x52ab('0x2')];function _0x574334(_0x45522c){return{'type':'format','content':_0x4d859e(_0x1ec041,_0x52ab('0x28'),_0x45522c)};}_0x2cd02f[_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18'))['_descriptionFactory'][_0x52ab('0x1c')](_0x4ac7ca=>{if(_0x52ab('0x1e')!=_0x4ac7ca['type'])return;const {data:_0x39060a}=_0x4ac7ca;if(_0x39060a){if(_0x52ab('0x23')==_0x39060a[_0x52ab('0x27')]){const _0x2a25d9=_0x39060a['commandParams'][0x0][_0x52ab('0x10')];return _0x574334(_0x4d859e(_0x1ec041,_0x2a25d9?_0x52ab('0x21'):_0x52ab('0x26')));}if('setTableColumnHeader'==_0x39060a[_0x52ab('0x27')]){const _0x44da9d=_0x39060a[_0x52ab('0xe')][0x0][_0x52ab('0x10')];return _0x574334(_0x4d859e(_0x1ec041,_0x44da9d?'FORMAT_HEADER_COLUMN':_0x52ab('0xf')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17c1=['fromRange','TableUtils','length','requires','TrackChangesEditing','insertion','plugins','getSelectionAffectedTableCells','$graveyard','map','has','createTableWalker','from','stop','selection','mergeTableCellRight','filter','_isForcedDefaultExecutionBlock','getAncestors','containsRange','_areMergableCells','markBlockFormat','afterInit','enableCommand','push','commandName','find','mergeTableCellDown','refresh','setSelection','isEnabled','editor','getRanges','mergeTableCells','*Split\x20cell:*\x20vertically','createRangeOn','model','formatInline','document','table','commands','mergeTableCellUp','getFirstPosition','trackChanges','splitTableCellHorizontally','_tablePostFixingSubtypes','deletion','mergeTableCellLeft','element','TableEditing','detach','rootName','forceDefaultExecution','add','splitTableCellVertically','markMultiRangeBlockFormat','registerCustomCallback','cell','_suggestionFactory','get','registerDescriptionCallback','direction','_acceptFormatSuggestionCallbackFactory','getSuggestions','formatBlock','execute','getCellLocation','value','_descriptionFactory','accept','format','return','author','_areSelectedCellsMergable','change','horizontally','tableCell','size','type'];(function(_0x594454,_0x17c1ab){const _0x32af51=function(_0x49e3de){while(--_0x49e3de){_0x594454['push'](_0x594454['shift']());}};_0x32af51(++_0x17c1ab);}(_0x17c1,0x1db));const _0x32af=function(_0x594454,_0x17c1ab){_0x594454=_0x594454-0x0;let _0x32af51=_0x17c1[_0x594454];return _0x32af51;};import{Plugin as _0x2123c5}from'ckeditor5/src/core';import _0x123cbc from'./table';import{LiveRange as _0x23de76}from'ckeditor5/src/engine';import{getTranslation as _0x10efbe}from'../utils/common-translations';export default class yt extends _0x2123c5{static get[_0x32af('0x2')](){return[_0x123cbc];}[_0x32af('0x15')](){const _0x22fedb=this[_0x32af('0x1e')],_0xa867fd=_0x22fedb[_0x32af('0x23')]['document']['selection'],_0x595838=_0x22fedb['locale'];if(!_0x22fedb['plugins'][_0x32af('0x9')](_0x32af('0x30')))return;const _0x509b58=_0x22fedb[_0x32af('0x5')][_0x32af('0x3a')](_0x32af('0x3')),_0x48eae7=_0x22fedb[_0x32af('0x5')]['get'](_0x32af('0x0')),_0x4a05c7=_0x22fedb[_0x32af('0x5')][_0x32af('0x3a')](_0x123cbc);_0x4a05c7[_0x32af('0x2c')][_0x32af('0x17')]('mergeTableCells'),_0x509b58[_0x32af('0x16')]('mergeTableCells',()=>{const _0x395d7f=_0x48eae7[_0x32af('0x6')](_0x22fedb[_0x32af('0x23')]['document']['selection']);_0x22fedb['model'][_0x32af('0x49')](()=>{_0x509b58[_0x32af('0x36')](_0x395d7f,{'commandName':_0x32af('0x20'),'commandParams':[]},[],_0x32af('0x20'));});}),_0x22fedb['commands']['get'](_0x32af('0x20'))['on'](_0x32af('0x40'),(_0x299a84,_0x2b30de)=>{_0x22fedb['commands'][_0x32af('0x3a')](_0x32af('0x2a'))[_0x32af('0x42')]&&(_0x2b30de[_0x32af('0x1')]>0x0&&_0x2b30de[_0x2b30de[_0x32af('0x1')]-0x1]&&_0x2b30de[_0x2b30de[_0x32af('0x1')]-0x1][_0x32af('0x33')]||_0x509b58[_0x32af('0x10')]||this[_0x32af('0x48')]()||_0x299a84['stop']());},{'priority':'highest'});for(const _0x3a28ef of[_0x32af('0x28'),'mergeTableCellRight',_0x32af('0x1a'),_0x32af('0x2e')]){const _0x44bc6b=_0x22fedb['commands']['get'](_0x3a28ef);_0x509b58['enableCommand'](_0x3a28ef,()=>{const _0x4f15d5=_0x22fedb[_0x32af('0x23')][_0x32af('0x25')][_0x32af('0xd')][_0x32af('0x29')]()[_0x32af('0x11')]()[_0x32af('0x19')](_0x27c076=>_0x27c076['is'](_0x32af('0x2f'),_0x32af('0x4b'))),_0x33c07a=_0x44bc6b['value'];_0x22fedb[_0x32af('0x23')][_0x32af('0x49')](()=>{_0x509b58[_0x32af('0x36')]([_0x4f15d5,_0x33c07a],{'commandName':_0x32af('0x20'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x2b3fc5 of[_0x32af('0x35'),_0x32af('0x2b')]){const _0x42c3ca=_0x22fedb[_0x32af('0x27')][_0x32af('0x3a')](_0x2b3fc5);_0x509b58['enableCommand'](_0x2b3fc5,()=>{const _0x3fcafb=_0x48eae7[_0x32af('0x6')](_0x22fedb['model'][_0x32af('0x25')][_0x32af('0xd')])[0x0],_0x34a66f=_0x3fcafb['findAncestor'](_0x32af('0x26')),{column:_0x2fed9a,row:_0x1e5c45}=_0x48eae7[_0x32af('0x41')](_0x3fcafb);let _0x409be8=[];if(_0x32af('0x4a')==_0x42c3ca[_0x32af('0x3c')]){const _0x4bd885=_0x48eae7['createTableWalker'](_0x34a66f,{'startRow':_0x1e5c45,'endRow':_0x1e5c45,'includeAllSlots':!0x0});_0x409be8=Array[_0x32af('0xb')](_0x4bd885)['map'](_0x334634=>_0x334634[_0x32af('0x38')]);}else{const _0x7b0cd4=_0x48eae7[_0x32af('0xa')](_0x34a66f,{'column':_0x2fed9a,'includeAllSlots':!0x0});_0x409be8=Array[_0x32af('0xb')](_0x7b0cd4)[_0x32af('0x8')](_0x10e17b=>_0x10e17b[_0x32af('0x38')]);}_0x22fedb[_0x32af('0x23')]['change'](_0x3e68cc=>{_0x509b58[_0x32af('0x14')](_0x3e68cc['createRangeOn'](_0x3fcafb),{'commandName':_0x2b3fc5,'commandParams':[]},_0x409be8,_0x2b3fc5);});});}_0x509b58['_descriptionFactory'][_0x32af('0x3b')](_0xfc090b=>{if(_0x32af('0x3f')!=_0xfc090b['type']&&_0x32af('0x24')!=_0xfc090b[_0x32af('0x4d')])return;const {data:_0x284b83}=_0xfc090b;return _0x284b83&&_0x32af('0x20')==_0x284b83[_0x32af('0x18')]?{'type':_0x32af('0x45'),'content':_0x10efbe(_0x595838,'*Merge\x20cells*')}:void 0x0;}),_0x509b58[_0x32af('0x43')]['registerDescriptionCallback'](_0x450be0=>{if(_0x32af('0x3f')!=_0x450be0[_0x32af('0x4d')]&&_0x32af('0x24')!=_0x450be0[_0x32af('0x4d')])return;const {data:_0xc3820}=_0x450be0;return _0xc3820?_0x32af('0x35')==_0xc3820[_0x32af('0x18')]?{'type':_0x32af('0x45'),'content':_0x10efbe(_0x595838,_0x32af('0x21'))}:_0x32af('0x2b')==_0xc3820[_0x32af('0x18')]?{'type':_0x32af('0x45'),'content':_0x10efbe(_0x595838,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x4e3ac2=_0x4a05c7[_0x32af('0x3d')]();for(const _0x43446e of[_0x32af('0x28'),_0x32af('0xe'),_0x32af('0x1a'),_0x32af('0x2e')])_0x509b58[_0x32af('0x39')][_0x32af('0x37')]('formatBlock',_0x43446e,_0x32af('0x44'),_0x4e3ac2);for(const _0x20d263 of[_0x32af('0x35'),_0x32af('0x2b')])_0x509b58[_0x32af('0x39')][_0x32af('0x37')]('formatBlock',_0x20d263,'accept',_0x4e3ac2);_0x509b58[_0x32af('0x39')][_0x32af('0x37')](_0x32af('0x3f'),'mergeTableCells','accept',_0x1b2d0b=>{_0x22fedb[_0x32af('0x23')][_0x32af('0x49')](_0x2b5f5f=>{const _0x130946=Array['from'](_0xa867fd[_0x32af('0x1f')]())['map'](_0x349d46=>_0x23de76[_0x32af('0x4e')](_0x349d46));_0x2b5f5f[_0x32af('0x1c')](_0x1b2d0b),_0x22fedb[_0x32af('0x27')]['get'](_0x32af('0x20'))[_0x32af('0x1b')](),_0x22fedb[_0x32af('0x40')](_0x32af('0x20'),{'forceDefaultExecution':!0x0});const _0x291fd2=_0x130946[_0x32af('0xf')](_0x207361=>_0x32af('0x7')!=_0x207361['root'][_0x32af('0x32')]);_0x291fd2[_0x32af('0x1')]>0x0&&_0x2b5f5f[_0x32af('0x1c')](_0x291fd2);for(const _0x175f41 of _0x130946)_0x175f41[_0x32af('0x31')]();});});for(const _0xae9307 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x3e811b=_0x22fedb[_0x32af('0x27')]['get'](_0xae9307);_0x3e811b['on']('set:isEnabled',(_0x221636,_0x3e0f4e,_0x317c3a)=>{if(_0x317c3a){const _0xbc9b27=_0x22fedb[_0x32af('0x23')][_0x32af('0x25')][_0x32af('0xd')]['getFirstPosition']()['getAncestors']()[_0x32af('0x19')](_0x425d27=>_0x425d27['is'](_0x32af('0x2f'),_0x32af('0x4b')));this['_areMergableCells'](_0x3e811b[_0x32af('0x42')],_0xbc9b27)||(_0x221636[_0x32af('0x46')]=!0x1,_0x221636[_0x32af('0xc')]());}},{'priority':'low'});}}[_0x32af('0x48')](){const _0x27701c=this[_0x32af('0x1e')][_0x32af('0x27')][_0x32af('0x3a')](_0x32af('0x20')),_0x1e476b=this[_0x32af('0x1e')][_0x32af('0x5')][_0x32af('0x3a')](_0x32af('0x0'));if(!_0x27701c[_0x32af('0x1d')])return!0x1;const _0x3ba414=_0x1e476b[_0x32af('0x6')](this[_0x32af('0x1e')][_0x32af('0x23')][_0x32af('0x25')][_0x32af('0xd')]);for(const _0x419cdc of _0x3ba414)for(const _0x271559 of _0x3ba414)if(_0x419cdc!=_0x271559&&!this[_0x32af('0x13')](_0x419cdc,_0x271559))return!0x1;return!0x0;}['_areMergableCells'](_0x35cc66,_0x35ba61){const _0xe7d447=this[_0x32af('0x1e')][_0x32af('0x5')][_0x32af('0x3a')]('TrackChangesEditing'),_0x26abd4=this[_0x32af('0x1e')][_0x32af('0x23')][_0x32af('0x22')](_0x35cc66),_0x251a59=this[_0x32af('0x1e')]['model']['createRangeOn'](_0x35ba61),_0x4ba27d=new Set(),_0xc897f4=new Set();for(const _0x16dcc6 of _0xe7d447[_0x32af('0x3e')]())if((_0x32af('0x4')==_0x16dcc6[_0x32af('0x4d')]||_0x32af('0x2d')==_0x16dcc6['type']||'mergeTableCells'==_0x16dcc6['subType'])&&_0x16dcc6['isInContent'])for(const _0x31f292 of _0x16dcc6[_0x32af('0x1f')]())_0x31f292[_0x32af('0x12')](_0x26abd4,!0x0)&&_0x4ba27d[_0x32af('0x34')](_0x16dcc6[_0x32af('0x4d')]+':'+_0x16dcc6[_0x32af('0x47')]['id']),_0x31f292[_0x32af('0x12')](_0x251a59,!0x0)&&_0xc897f4[_0x32af('0x34')](_0x16dcc6[_0x32af('0x4d')]+':'+_0x16dcc6[_0x32af('0x47')]['id']);if(_0x4ba27d[_0x32af('0x4c')]!=_0xc897f4['size'])return!0x1;for(const _0x563c67 of _0x4ba27d)if(!_0xc897f4['has'](_0x563c67))return!0x1;return!0x0;}}
23
+ const _0x34aa=['commands','direction','cell','forceDefaultExecution','mergeTableCellUp','_suggestionFactory','execute','rootName','horizontally','getSelectionAffectedTableCells','_isForcedDefaultExecutionBlock','low','containsRange','$graveyard','_areSelectedCellsMergable','registerDescriptionCallback','format','fromRange','return','find','mergeTableCellDown','from','stop','getAncestors','set:isEnabled','_descriptionFactory','getRanges','enableCommand','setSelection','element','filter','_areMergableCells','type','markBlockFormat','createRangeOn','registerCustomCallback','plugins','*Split\x20cell:*\x20horizontally','markMultiRangeBlockFormat','length','size','table','TrackChangesEditing','root','mergeTableCellRight','document','*Merge\x20cells*','get','*Split\x20cell:*\x20vertically','model','splitTableCellHorizontally','splitTableCellVertically','change','value','isEnabled','map','has','accept','highest','formatInline','tableCell','author','trackChanges','commandName','selection','TableUtils','TableEditing','subType','detach','formatBlock','getCellLocation','isInContent','deletion','_tablePostFixingSubtypes','refresh','mergeTableCellLeft','editor','add','createTableWalker','mergeTableCells'];(function(_0x1fcb57,_0x34aa05){const _0x566c0c=function(_0x16d157){while(--_0x16d157){_0x1fcb57['push'](_0x1fcb57['shift']());}};_0x566c0c(++_0x34aa05);}(_0x34aa,0xe9));const _0x566c=function(_0x1fcb57,_0x34aa05){_0x1fcb57=_0x1fcb57-0x0;let _0x566c0c=_0x34aa[_0x1fcb57];return _0x566c0c;};import{Plugin as _0x3045e1}from'ckeditor5/src/core';import _0x38427c from'./table';import{LiveRange as _0x1476b9}from'ckeditor5/src/engine';import{getTranslation as _0xe6661d}from'../utils/common-translations';export default class yt extends _0x3045e1{static get['requires'](){return[_0x38427c];}['afterInit'](){const _0x3ae54c=this[_0x566c('0x3')],_0xa6d2d0=_0x3ae54c[_0x566c('0x38')]['document']['selection'],_0x617490=_0x3ae54c['locale'];if(!_0x3ae54c[_0x566c('0x2b')]['has'](_0x566c('0x49')))return;const _0x5a8f95=_0x3ae54c[_0x566c('0x2b')][_0x566c('0x36')](_0x566c('0x31')),_0x1f71cd=_0x3ae54c[_0x566c('0x2b')]['get'](_0x566c('0x48')),_0x22deb4=_0x3ae54c[_0x566c('0x2b')][_0x566c('0x36')](_0x38427c);_0x22deb4[_0x566c('0x0')]['push'](_0x566c('0x6')),_0x5a8f95['enableCommand'](_0x566c('0x6'),()=>{const _0x115fd0=_0x1f71cd[_0x566c('0x10')](_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')][_0x566c('0x47')]);_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](()=>{_0x5a8f95[_0x566c('0x2d')](_0x115fd0,{'commandName':_0x566c('0x6'),'commandParams':[]},[],'mergeTableCells');});}),_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x6'))['on'](_0x566c('0xd'),(_0x44ca9d,_0x5cb09e)=>{_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x45'))[_0x566c('0x3c')]&&(_0x5cb09e['length']>0x0&&_0x5cb09e[_0x5cb09e[_0x566c('0x2e')]-0x1]&&_0x5cb09e[_0x5cb09e[_0x566c('0x2e')]-0x1][_0x566c('0xa')]||_0x5a8f95[_0x566c('0x11')]||this[_0x566c('0x15')]()||_0x44ca9d[_0x566c('0x1d')]());},{'priority':_0x566c('0x41')});for(const _0x24d31e of[_0x566c('0xb'),_0x566c('0x33'),_0x566c('0x1b'),'mergeTableCellLeft']){const _0x29af96=_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x24d31e);_0x5a8f95['enableCommand'](_0x24d31e,()=>{const _0x42df79=_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')]['selection']['getFirstPosition']()[_0x566c('0x1e')]()[_0x566c('0x1a')](_0x1688b8=>_0x1688b8['is'](_0x566c('0x24'),_0x566c('0x43'))),_0x26aabf=_0x29af96['value'];_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](()=>{_0x5a8f95[_0x566c('0x2d')]([_0x42df79,_0x26aabf],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x49ed22 of[_0x566c('0x3a'),_0x566c('0x39')]){const _0x463f84=_0x3ae54c['commands']['get'](_0x49ed22);_0x5a8f95[_0x566c('0x22')](_0x49ed22,()=>{const _0x19af21=_0x1f71cd[_0x566c('0x10')](_0x3ae54c['model']['document'][_0x566c('0x47')])[0x0],_0x3dad7c=_0x19af21['findAncestor'](_0x566c('0x30')),{column:_0x79e72a,row:_0x6a9e50}=_0x1f71cd[_0x566c('0x4d')](_0x19af21);let _0x5337d3=[];if(_0x566c('0xf')==_0x463f84[_0x566c('0x8')]){const _0x5a8331=_0x1f71cd['createTableWalker'](_0x3dad7c,{'startRow':_0x6a9e50,'endRow':_0x6a9e50,'includeAllSlots':!0x0});_0x5337d3=Array[_0x566c('0x1c')](_0x5a8331)[_0x566c('0x3e')](_0x7b32a9=>_0x7b32a9[_0x566c('0x9')]);}else{const _0x293727=_0x1f71cd[_0x566c('0x5')](_0x3dad7c,{'column':_0x79e72a,'includeAllSlots':!0x0});_0x5337d3=Array[_0x566c('0x1c')](_0x293727)[_0x566c('0x3e')](_0x3e9283=>_0x3e9283[_0x566c('0x9')]);}_0x3ae54c[_0x566c('0x38')]['change'](_0x576032=>{_0x5a8f95[_0x566c('0x28')](_0x576032[_0x566c('0x29')](_0x19af21),{'commandName':_0x49ed22,'commandParams':[]},_0x5337d3,_0x49ed22);});});}_0x5a8f95[_0x566c('0x20')][_0x566c('0x16')](_0x3da153=>{if(_0x566c('0x4c')!=_0x3da153[_0x566c('0x27')]&&_0x566c('0x42')!=_0x3da153['type'])return;const {data:_0x5c3abd}=_0x3da153;return _0x5c3abd&&_0x566c('0x6')==_0x5c3abd['commandName']?{'type':'format','content':_0xe6661d(_0x617490,_0x566c('0x35'))}:void 0x0;}),_0x5a8f95[_0x566c('0x20')]['registerDescriptionCallback'](_0x2ec31a=>{if(_0x566c('0x4c')!=_0x2ec31a[_0x566c('0x27')]&&_0x566c('0x42')!=_0x2ec31a['type'])return;const {data:_0x39ee82}=_0x2ec31a;return _0x39ee82?_0x566c('0x3a')==_0x39ee82[_0x566c('0x46')]?{'type':_0x566c('0x17'),'content':_0xe6661d(_0x617490,_0x566c('0x37'))}:_0x566c('0x39')==_0x39ee82[_0x566c('0x46')]?{'type':'format','content':_0xe6661d(_0x617490,_0x566c('0x2c'))}:void 0x0:void 0x0;});const _0x5cd426=_0x22deb4['_acceptFormatSuggestionCallbackFactory']();for(const _0x245969 of[_0x566c('0xb'),_0x566c('0x33'),_0x566c('0x1b'),'mergeTableCellLeft'])_0x5a8f95[_0x566c('0xc')][_0x566c('0x2a')](_0x566c('0x4c'),_0x245969,_0x566c('0x40'),_0x5cd426);for(const _0x3c1cd7 of['splitTableCellVertically','splitTableCellHorizontally'])_0x5a8f95[_0x566c('0xc')]['registerCustomCallback']('formatBlock',_0x3c1cd7,_0x566c('0x40'),_0x5cd426);_0x5a8f95['_suggestionFactory']['registerCustomCallback'](_0x566c('0x4c'),_0x566c('0x6'),_0x566c('0x40'),_0x578968=>{_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](_0x545a00=>{const _0x1a36a5=Array['from'](_0xa6d2d0['getRanges']())['map'](_0x288c70=>_0x1476b9[_0x566c('0x18')](_0x288c70));_0x545a00[_0x566c('0x23')](_0x578968),_0x3ae54c['commands'][_0x566c('0x36')]('mergeTableCells')[_0x566c('0x1')](),_0x3ae54c['execute'](_0x566c('0x6'),{'forceDefaultExecution':!0x0});const _0x333929=_0x1a36a5[_0x566c('0x25')](_0x5f3342=>_0x566c('0x14')!=_0x5f3342[_0x566c('0x32')][_0x566c('0xe')]);_0x333929[_0x566c('0x2e')]>0x0&&_0x545a00[_0x566c('0x23')](_0x333929);for(const _0x33b35a of _0x1a36a5)_0x33b35a[_0x566c('0x4b')]();});});for(const _0x484bb0 of[_0x566c('0xb'),'mergeTableCellDown',_0x566c('0x2'),'mergeTableCellRight']){const _0x216a4f=_0x3ae54c['commands'][_0x566c('0x36')](_0x484bb0);_0x216a4f['on'](_0x566c('0x1f'),(_0x2d6f9b,_0x358f65,_0x4bef75)=>{if(_0x4bef75){const _0x3c7b07=_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')]['selection']['getFirstPosition']()[_0x566c('0x1e')]()[_0x566c('0x1a')](_0x11a556=>_0x11a556['is'](_0x566c('0x24'),_0x566c('0x43')));this[_0x566c('0x26')](_0x216a4f['value'],_0x3c7b07)||(_0x2d6f9b[_0x566c('0x19')]=!0x1,_0x2d6f9b['stop']());}},{'priority':_0x566c('0x12')});}}[_0x566c('0x15')](){const _0x26e28a=this[_0x566c('0x3')][_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x6')),_0x3ee1ea=this[_0x566c('0x3')][_0x566c('0x2b')][_0x566c('0x36')](_0x566c('0x48'));if(!_0x26e28a[_0x566c('0x3d')])return!0x1;const _0x429504=_0x3ee1ea['getSelectionAffectedTableCells'](this[_0x566c('0x3')][_0x566c('0x38')][_0x566c('0x34')][_0x566c('0x47')]);for(const _0x5822a0 of _0x429504)for(const _0x41d501 of _0x429504)if(_0x5822a0!=_0x41d501&&!this[_0x566c('0x26')](_0x5822a0,_0x41d501))return!0x1;return!0x0;}['_areMergableCells'](_0x10f961,_0x1de38e){const _0x4718cb=this[_0x566c('0x3')][_0x566c('0x2b')][_0x566c('0x36')]('TrackChangesEditing'),_0x2aea4c=this['editor']['model'][_0x566c('0x29')](_0x10f961),_0x3d3266=this[_0x566c('0x3')]['model'][_0x566c('0x29')](_0x1de38e),_0x1533a1=new Set(),_0x2a7736=new Set();for(const _0x27b1ee of _0x4718cb['getSuggestions']())if(('insertion'==_0x27b1ee[_0x566c('0x27')]||_0x566c('0x4f')==_0x27b1ee[_0x566c('0x27')]||_0x566c('0x6')==_0x27b1ee[_0x566c('0x4a')])&&_0x27b1ee[_0x566c('0x4e')])for(const _0x446e10 of _0x27b1ee[_0x566c('0x21')]())_0x446e10[_0x566c('0x13')](_0x2aea4c,!0x0)&&_0x1533a1[_0x566c('0x4')](_0x27b1ee[_0x566c('0x27')]+':'+_0x27b1ee[_0x566c('0x44')]['id']),_0x446e10[_0x566c('0x13')](_0x3d3266,!0x0)&&_0x2a7736[_0x566c('0x4')](_0x27b1ee[_0x566c('0x27')]+':'+_0x27b1ee[_0x566c('0x44')]['id']);if(_0x1533a1[_0x566c('0x2f')]!=_0x2a7736['size'])return!0x1;for(const _0x5dc4fb of _0x1533a1)if(!_0x2a7736[_0x566c('0x3f')](_0x5dc4fb))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19d0=['insertTableOfContents','enableCommand','afterInit','tableOfContents','registerElementLabel','locale','TrackChangesEditing','get','_descriptionFactory','plugins','ELEMENT_TABLE_OF_CONTENTS','editor'];(function(_0x1b6d0b,_0x19d0ab){const _0x2cb829=function(_0x26c6d5){while(--_0x26c6d5){_0x1b6d0b['push'](_0x1b6d0b['shift']());}};_0x2cb829(++_0x19d0ab);}(_0x19d0,0xd7));const _0x2cb8=function(_0x1b6d0b,_0x19d0ab){_0x1b6d0b=_0x1b6d0b-0x0;let _0x2cb829=_0x19d0[_0x1b6d0b];return _0x2cb829;};import{Plugin as _0xe7d91c}from'ckeditor5/src/core';import{getTranslation as _0x5bfb5f}from'../utils/common-translations';export default class Ct extends _0xe7d91c{[_0x2cb8('0x3')](){const _0x57c3d9=this[_0x2cb8('0x0')];if(!_0x57c3d9['commands'][_0x2cb8('0x8')](_0x2cb8('0x1')))return;_0x57c3d9[_0x2cb8('0xa')][_0x2cb8('0x8')](_0x2cb8('0x7'))[_0x2cb8('0x2')](_0x2cb8('0x1'));const _0x2693ab=_0x57c3d9[_0x2cb8('0xa')]['get'](_0x2cb8('0x7')),_0x37c3e9=_0x57c3d9[_0x2cb8('0x6')];_0x2693ab[_0x2cb8('0x9')][_0x2cb8('0x5')](_0x2cb8('0x4'),_0x34bcaa=>_0x5bfb5f(_0x37c3e9,_0x2cb8('0xb'),_0x34bcaa));}}
23
+ const _0xfdf3=['registerElementLabel','plugins','commands','TrackChangesEditing','enableCommand','_descriptionFactory','get','ELEMENT_TABLE_OF_CONTENTS','locale','editor','afterInit'];(function(_0xedbc37,_0xfdf31b){const _0x51729a=function(_0x216244){while(--_0x216244){_0xedbc37['push'](_0xedbc37['shift']());}};_0x51729a(++_0xfdf31b);}(_0xfdf3,0xa2));const _0x5172=function(_0xedbc37,_0xfdf31b){_0xedbc37=_0xedbc37-0x0;let _0x51729a=_0xfdf3[_0xedbc37];return _0x51729a;};import{Plugin as _0x3b60df}from'ckeditor5/src/core';import{getTranslation as _0x357eca}from'../utils/common-translations';export default class Ct extends _0x3b60df{[_0x5172('0x2')](){const _0x4cb39c=this[_0x5172('0x1')];if(!_0x4cb39c[_0x5172('0x5')][_0x5172('0x9')]('insertTableOfContents'))return;_0x4cb39c['plugins'][_0x5172('0x9')](_0x5172('0x6'))[_0x5172('0x7')]('insertTableOfContents');const _0x17b2be=_0x4cb39c[_0x5172('0x4')][_0x5172('0x9')](_0x5172('0x6')),_0x235a28=_0x4cb39c[_0x5172('0x0')];_0x17b2be[_0x5172('0x8')][_0x5172('0x3')]('tableOfContents',_0x544e0b=>_0x357eca(_0x235a28,_0x5172('0xa'),_0x544e0b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453e=['TableUtils','afterInit','_descriptionFactory','join','getSelectionAffectedTableCells','tableBackgroundColor','pluginName','tableWidth','editor','tableCellBorderWidth','formatBlock','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','getFirstPosition','change','handleDiscardAction','format','tableAlignment','commandParams','_handlePropertyChange','discard','tableProperties','tableCellProperties','*Format:*\x20change\x20table\x20properties','registerCustomCallback','enableCommand','_getSuggestion','_suggestionFactory','tableCellHorizontalAlignment','registerDescriptionCallback','getContainedElement','nodeAfter','data','subType','tableCellBackgroundColor','enqueueChange','selection','handleSuggestionDescription','TableCellPropertiesEditing','tableBorderStyle','document','getSuggestionCallback','start','has','plugins','tableCellWidth','TrackChangesEditing','model','tableBorderWidth','accept','findAncestor','table','get','getAttribute','TablePropertiesEditing','tableCellHeight','tableCellBorderColor','locale','tableHeight','setAttribute'];(function(_0x5736a0,_0x453e0c){const _0x1a0771=function(_0x3e832a){while(--_0x3e832a){_0x5736a0['push'](_0x5736a0['shift']());}};_0x1a0771(++_0x453e0c);}(_0x453e,0x1d2));const _0x1a07=function(_0x5736a0,_0x453e0c){_0x5736a0=_0x5736a0-0x0;let _0x1a0771=_0x453e[_0x5736a0];return _0x1a0771;};import{Plugin as _0x1df03b}from'ckeditor5/src/core';import{getTranslation as _0x53c9ec}from'../utils/common-translations';export default class Mt extends _0x1df03b{constructor(_0xf01c90){super(_0xf01c90),this[_0x1a07('0x23')]=['tableBorderColor',_0x1a07('0x35'),_0x1a07('0x2'),_0x1a07('0x1f'),_0x1a07('0x15'),_0x1a07('0xc'),_0x1a07('0x13')],this['tableCellProperties']=[_0x1a07('0xa'),'tableCellBorderStyle',_0x1a07('0x17'),_0x1a07('0x1a'),_0x1a07('0x3b'),_0x1a07('0x9'),_0x1a07('0x30'),_0x1a07('0x2a'),'tableCellVerticalAlignment'];}static get[_0x1a07('0x14')](){return'TrackChangesTableProperties';}[_0x1a07('0xf')](){const _0x4ebf3b=this[_0x1a07('0x16')][_0x1a07('0x3a')][_0x1a07('0x6')]('TrackChangesEditing');if(this[_0x1a07('0x16')]['plugins'][_0x1a07('0x39')](_0x1a07('0x8'))){for(const _0x96396f of this[_0x1a07('0x23')])_0x4ebf3b[_0x1a07('0x27')](_0x96396f,(_0x158d1a,_0x19fb1a)=>{const _0x18637a=this['editor'][_0x1a07('0x1')][_0x1a07('0x36')][_0x1a07('0x32')][_0x1a07('0x1b')]()[_0x1a07('0x4')](_0x1a07('0x5'));this[_0x1a07('0x21')](_0x96396f,[_0x18637a],this[_0x1a07('0x23')],_0x1a07('0x23'),_0x158d1a,_0x19fb1a);});_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x26')](_0x1a07('0x18'),_0x1a07('0x23'),_0x1a07('0x3'),_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x37')](_0x1a07('0x18'),null,_0x1a07('0x22'))),_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x26')](_0x1a07('0x18'),_0x1a07('0x23'),_0x1a07('0x22'),(_0x16f28a,_0x48385c)=>this[_0x1a07('0x1d')](this[_0x1a07('0x23')],_0x16f28a,_0x48385c)),_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x26')]('formatBlock',_0x1a07('0x23'),_0x1a07('0x11'),()=>!0x1);}if(this['editor'][_0x1a07('0x3a')][_0x1a07('0x39')](_0x1a07('0x34'))){for(const _0x47fee2 of this[_0x1a07('0x24')])_0x4ebf3b[_0x1a07('0x27')](_0x47fee2,(_0x39233c,_0x2eea53)=>{const _0x2e9357=this[_0x1a07('0x16')]['plugins'][_0x1a07('0x6')](_0x1a07('0xe'))[_0x1a07('0x12')](this[_0x1a07('0x16')][_0x1a07('0x1')]['document'][_0x1a07('0x32')]);this[_0x1a07('0x21')](_0x47fee2,_0x2e9357,this['tableCellProperties'],_0x1a07('0x24'),_0x39233c,_0x2eea53);});_0x4ebf3b['_suggestionFactory']['registerCustomCallback'](_0x1a07('0x18'),_0x1a07('0x24'),_0x1a07('0x3'),_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x37')]('formatBlock',null,'discard')),_0x4ebf3b['_suggestionFactory'][_0x1a07('0x26')](_0x1a07('0x18'),_0x1a07('0x24'),_0x1a07('0x22'),(_0x1110a7,_0x139c97)=>this[_0x1a07('0x1d')](this[_0x1a07('0x24')],_0x1110a7,_0x139c97)),_0x4ebf3b[_0x1a07('0x29')][_0x1a07('0x26')](_0x1a07('0x18'),'tableCellProperties',_0x1a07('0x11'),()=>!0x1);}_0x4ebf3b[_0x1a07('0x10')][_0x1a07('0x2b')](_0xc30707=>this[_0x1a07('0x33')](_0xc30707));}[_0x1a07('0x21')](_0xc1e22c,_0x5d4a76,_0x1f56e9,_0x21da83,_0x2b6289,_0x2a1b29){const _0x317d8c=this['editor'][_0x1a07('0x3a')][_0x1a07('0x6')]('TrackChangesEditing');this[_0x1a07('0x16')][_0x1a07('0x1')][_0x1a07('0x31')](_0x2a1b29['batch'],()=>{for(const _0x462fbe of _0x5d4a76){if(this[_0x1a07('0x28')](_0x462fbe,_0x21da83))_0x2b6289(_0x2a1b29);else{const _0x4e1544={};for(const _0x2ec570 of _0x1f56e9){const _0x315b82=_0x462fbe[_0x1a07('0x7')](_0x2ec570);void 0x0!==_0x315b82&&(_0x4e1544[_0x2ec570]=_0x315b82);}_0x2b6289(_0x2a1b29),_0x317d8c['markBlockFormat'](_0x462fbe,{'commandParams':[_0x4e1544]},[],_0x21da83);}}});}['handleDiscardAction'](_0x3ec05d,_0x3d0321,_0x39a881){const _0x9e8771=_0x3d0321[0x0][_0x1a07('0x38')][_0x1a07('0x2d')],_0x50dfda=_0x39a881[_0x1a07('0x20')][0x0];this[_0x1a07('0x16')]['model'][_0x1a07('0x1c')](_0x288920=>{for(const _0x52ff21 of _0x3ec05d)void 0x0!==_0x50dfda[_0x52ff21]?_0x288920[_0x1a07('0xd')](_0x52ff21,_0x50dfda[_0x52ff21],_0x9e8771):_0x288920['removeAttribute'](_0x52ff21,_0x9e8771);});}[_0x1a07('0x33')](_0x52abd2){if(_0x52abd2[_0x1a07('0x2e')])switch(_0x52abd2[_0x1a07('0x2f')]){case _0x1a07('0x23'):return{'type':_0x1a07('0x1e'),'content':_0x53c9ec(this[_0x1a07('0x16')]['locale'],_0x1a07('0x25'))};case _0x1a07('0x24'):return{'type':_0x1a07('0x1e'),'content':_0x53c9ec(this['editor'][_0x1a07('0xb')],_0x1a07('0x19'))};}}[_0x1a07('0x28')](_0x4db8b0,_0x3c09c1){const _0xa6667c=this[_0x1a07('0x16')][_0x1a07('0x3a')][_0x1a07('0x6')](_0x1a07('0x0'));for(const _0x4a1526 of _0xa6667c['getSuggestions']({'skipNotAttached':!0x0})){const _0x51afec=_0x4a1526[_0x1a07('0x2c')]();if(_0x4a1526[_0x1a07('0x2f')]===_0x3c09c1&&_0x51afec===_0x4db8b0)return _0x4a1526;}return null;}}
23
+ const _0x29aa=['tableBorderColor','tableCellHeight','discard','_descriptionFactory','tableHeight','*Format:*\x20change\x20table\x20properties','tableProperties','get','getSuggestionCallback','tableCellVerticalAlignment','TableCellPropertiesEditing','pluginName','removeAttribute','subType','accept','tableCellBorderWidth','TableUtils','tableCellBackgroundColor','tableCellPadding','tableCellProperties','selection','formatBlock','afterInit','model','enableCommand','enqueueChange','format','_handlePropertyChange','plugins','handleDiscardAction','handleSuggestionDescription','tableAlignment','commandParams','has','tableBorderWidth','_getSuggestion','table','nodeAfter','markBlockFormat','document','locale','TrackChangesTableProperties','registerCustomCallback','getContainedElement','TrackChangesEditing','registerDescriptionCallback','editor','start','tableCellBorderStyle','tableCellHorizontalAlignment','getSuggestions','_suggestionFactory','tableWidth','batch','join'];(function(_0x35507a,_0x29aab1){const _0x4555ea=function(_0x56723c){while(--_0x56723c){_0x35507a['push'](_0x35507a['shift']());}};_0x4555ea(++_0x29aab1);}(_0x29aa,0x144));const _0x4555=function(_0x35507a,_0x29aab1){_0x35507a=_0x35507a-0x0;let _0x4555ea=_0x29aa[_0x35507a];return _0x4555ea;};import{Plugin as _0x3b2c3c}from'ckeditor5/src/core';import{getTranslation as _0x5dbe65}from'../utils/common-translations';export default class Mt extends _0x3b2c3c{constructor(_0x444919){super(_0x444919),this[_0x4555('0xc')]=[_0x4555('0x6'),'tableBorderStyle',_0x4555('0x28'),_0x4555('0x25'),_0x4555('0x3'),_0x4555('0xa'),'tableBackgroundColor'],this[_0x4555('0x19')]=['tableCellBorderColor',_0x4555('0x36'),_0x4555('0x15'),_0x4555('0x18'),'tableCellWidth',_0x4555('0x7'),_0x4555('0x17'),_0x4555('0x0'),_0x4555('0xf')];}static get[_0x4555('0x11')](){return _0x4555('0x2f');}[_0x4555('0x1c')](){const _0x19eeb2=this[_0x4555('0x34')][_0x4555('0x22')][_0x4555('0xd')](_0x4555('0x32'));if(this[_0x4555('0x34')][_0x4555('0x22')][_0x4555('0x27')]('TablePropertiesEditing')){for(const _0x3b3ab5 of this[_0x4555('0xc')])_0x19eeb2[_0x4555('0x1e')](_0x3b3ab5,(_0x97075c,_0x49d77d)=>{const _0x24dd67=this[_0x4555('0x34')][_0x4555('0x1d')]['document']['selection']['getFirstPosition']()['findAncestor'](_0x4555('0x2a'));this[_0x4555('0x21')](_0x3b3ab5,[_0x24dd67],this[_0x4555('0xc')],_0x4555('0xc'),_0x97075c,_0x49d77d);});_0x19eeb2[_0x4555('0x2')][_0x4555('0x30')]('formatBlock',_0x4555('0xc'),_0x4555('0x14'),_0x19eeb2[_0x4555('0x2')][_0x4555('0xe')]('formatBlock',null,_0x4555('0x8'))),_0x19eeb2[_0x4555('0x2')]['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x46f936,_0x1cbcd7)=>this[_0x4555('0x23')](this['tableProperties'],_0x46f936,_0x1cbcd7)),_0x19eeb2[_0x4555('0x2')][_0x4555('0x30')]('formatBlock',_0x4555('0xc'),'join',()=>!0x1);}if(this['editor'][_0x4555('0x22')][_0x4555('0x27')](_0x4555('0x10'))){for(const _0x2d16db of this[_0x4555('0x19')])_0x19eeb2['enableCommand'](_0x2d16db,(_0x1df5f2,_0x430377)=>{const _0x2042fa=this[_0x4555('0x34')][_0x4555('0x22')][_0x4555('0xd')](_0x4555('0x16'))['getSelectionAffectedTableCells'](this['editor'][_0x4555('0x1d')][_0x4555('0x2d')][_0x4555('0x1a')]);this[_0x4555('0x21')](_0x2d16db,_0x2042fa,this[_0x4555('0x19')],_0x4555('0x19'),_0x1df5f2,_0x430377);});_0x19eeb2[_0x4555('0x2')][_0x4555('0x30')]('formatBlock',_0x4555('0x19'),_0x4555('0x14'),_0x19eeb2[_0x4555('0x2')][_0x4555('0xe')](_0x4555('0x1b'),null,_0x4555('0x8'))),_0x19eeb2[_0x4555('0x2')][_0x4555('0x30')](_0x4555('0x1b'),_0x4555('0x19'),_0x4555('0x8'),(_0x1eea81,_0x23f7df)=>this[_0x4555('0x23')](this['tableCellProperties'],_0x1eea81,_0x23f7df)),_0x19eeb2[_0x4555('0x2')][_0x4555('0x30')](_0x4555('0x1b'),'tableCellProperties',_0x4555('0x5'),()=>!0x1);}_0x19eeb2[_0x4555('0x9')][_0x4555('0x33')](_0x1c8d9e=>this['handleSuggestionDescription'](_0x1c8d9e));}[_0x4555('0x21')](_0x2930cc,_0x4f93e3,_0x45818a,_0x4a5714,_0x4ac0cb,_0x3374fd){const _0x1a3963=this['editor']['plugins']['get'](_0x4555('0x32'));this['editor'][_0x4555('0x1d')][_0x4555('0x1f')](_0x3374fd[_0x4555('0x4')],()=>{for(const _0x11dc0c of _0x4f93e3){if(this[_0x4555('0x29')](_0x11dc0c,_0x4a5714))_0x4ac0cb(_0x3374fd);else{const _0x351fc0={};for(const _0x140380 of _0x45818a){const _0x407843=_0x11dc0c['getAttribute'](_0x140380);void 0x0!==_0x407843&&(_0x351fc0[_0x140380]=_0x407843);}_0x4ac0cb(_0x3374fd),_0x1a3963[_0x4555('0x2c')](_0x11dc0c,{'commandParams':[_0x351fc0]},[],_0x4a5714);}}});}[_0x4555('0x23')](_0x20eaab,_0x330b17,_0x1f0242){const _0xa78abf=_0x330b17[0x0][_0x4555('0x35')][_0x4555('0x2b')],_0xf14983=_0x1f0242[_0x4555('0x26')][0x0];this['editor'][_0x4555('0x1d')]['change'](_0xf5d9b2=>{for(const _0x1df45c of _0x20eaab)void 0x0!==_0xf14983[_0x1df45c]?_0xf5d9b2['setAttribute'](_0x1df45c,_0xf14983[_0x1df45c],_0xa78abf):_0xf5d9b2[_0x4555('0x12')](_0x1df45c,_0xa78abf);});}[_0x4555('0x24')](_0x4bc4bc){if(_0x4bc4bc['data'])switch(_0x4bc4bc['subType']){case _0x4555('0xc'):return{'type':_0x4555('0x20'),'content':_0x5dbe65(this[_0x4555('0x34')][_0x4555('0x2e')],_0x4555('0xb'))};case'tableCellProperties':return{'type':_0x4555('0x20'),'content':_0x5dbe65(this[_0x4555('0x34')][_0x4555('0x2e')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x4555('0x29')](_0x249385,_0x4e2890){const _0x3e09d5=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x1c59dc of _0x3e09d5[_0x4555('0x1')]({'skipNotAttached':!0x0})){const _0xd93cc=_0x1c59dc[_0x4555('0x31')]();if(_0x1c59dc[_0x4555('0x13')]===_0x4e2890&&_0xd93cc===_0x249385)return _0x1c59dc;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x84f6=['insertTemplate','enableCommand','has','afterInit','TrackChangesEditing','plugins','editor'];(function(_0x41baef,_0x84f6f1){const _0x54b37d=function(_0x4fd86d){while(--_0x4fd86d){_0x41baef['push'](_0x41baef['shift']());}};_0x54b37d(++_0x84f6f1);}(_0x84f6,0x178));const _0x54b3=function(_0x41baef,_0x84f6f1){_0x41baef=_0x41baef-0x0;let _0x54b37d=_0x84f6[_0x41baef];return _0x54b37d;};import{Plugin as _0x4ef6b6}from'ckeditor5/src/core';export default class vt extends _0x4ef6b6{[_0x54b3('0x5')](){const _0x2edac7=this[_0x54b3('0x1')];_0x2edac7[_0x54b3('0x0')][_0x54b3('0x4')]('Template')&&_0x2edac7[_0x54b3('0x0')]['get'](_0x54b3('0x6'))[_0x54b3('0x3')](_0x54b3('0x2'));}}
23
+ const _0x165d=['plugins','insertTemplate','editor','Template','enableCommand','afterInit','TrackChangesEditing'];(function(_0x33f258,_0x165d19){const _0x2ba609=function(_0x1c0fc4){while(--_0x1c0fc4){_0x33f258['push'](_0x33f258['shift']());}};_0x2ba609(++_0x165d19);}(_0x165d,0x13e));const _0x2ba6=function(_0x33f258,_0x165d19){_0x33f258=_0x33f258-0x0;let _0x2ba609=_0x165d[_0x33f258];return _0x2ba609;};import{Plugin as _0x4dfaa2}from'ckeditor5/src/core';export default class vt extends _0x4dfaa2{[_0x2ba6('0x2')](){const _0x50bf60=this[_0x2ba6('0x6')];_0x50bf60[_0x2ba6('0x4')]['has'](_0x2ba6('0x0'))&&_0x50bf60[_0x2ba6('0x4')]['get'](_0x2ba6('0x3'))[_0x2ba6('0x1')](_0x2ba6('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b34=['createRange','schema','suggestion','newRange','getNearestSelectionRange','editor','from','Title','document','TrackChangesEditing','title-content','getChangedMarkers','end','plugins','registerPostFixer','ELEMENT_TITLE','isEqual','locale','model','removeMarker','differ','isTouching','registerElementLabel','nodeBefore','get'];(function(_0x442de6,_0x4b347e){const _0x266910=function(_0x139f47){while(--_0x139f47){_0x442de6['push'](_0x442de6['shift']());}};_0x266910(++_0x4b347e);}(_0x4b34,0x182));const _0x2669=function(_0x442de6,_0x4b347e){_0x442de6=_0x442de6-0x0;let _0x266910=_0x4b34[_0x442de6];return _0x266910;};import{Plugin as _0x3146a6}from'ckeditor5/src/core';import{getTranslation as _0x4c14d1}from'../utils/common-translations';export default class _t extends _0x3146a6{['afterInit'](){const _0x4629fc=this[_0x2669('0x13')];if(!_0x4629fc['plugins']['has'](_0x2669('0x15')))return;const _0x1be7da=_0x4629fc[_0x2669('0x2')][_0x2669('0xd')](_0x2669('0x17'));_0x1be7da['_descriptionFactory'][_0x2669('0xb')](_0x2669('0x18'),()=>_0x4c14d1(_0x4629fc[_0x2669('0x6')],_0x2669('0x4'))),_0x4629fc['model']['document'][_0x2669('0x3')](_0x3f49ce=>{let _0x10a6e7=!0x1;const _0x162baf=Array[_0x2669('0x14')](_0x4629fc[_0x2669('0x7')][_0x2669('0x16')][_0x2669('0x9')][_0x2669('0x0')]());for(const {name:_0x334dad,data:_0x76a9ee}of _0x162baf){const {group:_0x7a8deb}=_0x1be7da['_splitMarkerName'](_0x334dad);if(_0x2669('0x10')!==_0x7a8deb||!_0x76a9ee[_0x2669('0x11')])continue;const _0x12a16a=_0x76a9ee['newRange'],_0x5c9f10=_0x12a16a[_0x2669('0x1')][_0x2669('0xc')];if(!_0x5c9f10||!_0x5c9f10['is']('element',_0x2669('0x18')))continue;if(!_0x12a16a['start'][_0x2669('0xa')](_0x12a16a[_0x2669('0x1')]))continue;const _0x84d664=_0x4629fc[_0x2669('0x7')][_0x2669('0xf')][_0x2669('0x12')](_0x12a16a[_0x2669('0x1')],'forward');if(_0x84d664&&_0x84d664['isCollapsed']){const _0x429cd6=_0x3f49ce[_0x2669('0xe')](_0x12a16a['start'],_0x84d664['start']);_0x429cd6[_0x2669('0x5')](_0x12a16a)||(_0x3f49ce['updateMarker'](_0x334dad,{'range':_0x429cd6}),_0x10a6e7=!0x0);}_0x10a6e7||(_0x3f49ce[_0x2669('0x8')](_0x334dad),_0x10a6e7=!0x0);}return _0x10a6e7;});}}
23
+ const _0x850f=['isTouching','model','has','ELEMENT_TITLE','removeMarker','registerElementLabel','element','createRange','isEqual','locale','get','getNearestSelectionRange','schema','suggestion','end','Title','updateMarker','isCollapsed','editor','title-content','start','plugins','TrackChangesEditing','registerPostFixer','document','getChangedMarkers','from','_descriptionFactory','newRange','afterInit','differ'];(function(_0x2655b7,_0x850fbf){const _0x3ae93f=function(_0x3f7889){while(--_0x3f7889){_0x2655b7['push'](_0x2655b7['shift']());}};_0x3ae93f(++_0x850fbf);}(_0x850f,0x105));const _0x3ae9=function(_0x2655b7,_0x850fbf){_0x2655b7=_0x2655b7-0x0;let _0x3ae93f=_0x850f[_0x2655b7];return _0x3ae93f;};import{Plugin as _0x35ec51}from'ckeditor5/src/core';import{getTranslation as _0x1dce0a}from'../utils/common-translations';export default class _t extends _0x35ec51{[_0x3ae9('0x10')](){const _0x3ea472=this[_0x3ae9('0x5')];if(!_0x3ea472['plugins'][_0x3ae9('0x14')](_0x3ae9('0x2')))return;const _0xa137e4=_0x3ea472[_0x3ae9('0x8')][_0x3ae9('0x1c')](_0x3ae9('0x9'));_0xa137e4[_0x3ae9('0xe')][_0x3ae9('0x17')]('title-content',()=>_0x1dce0a(_0x3ea472[_0x3ae9('0x1b')],_0x3ae9('0x15'))),_0x3ea472[_0x3ae9('0x13')]['document'][_0x3ae9('0xa')](_0x2a6136=>{let _0x568cba=!0x1;const _0x1b7a61=Array[_0x3ae9('0xd')](_0x3ea472[_0x3ae9('0x13')][_0x3ae9('0xb')][_0x3ae9('0x11')][_0x3ae9('0xc')]());for(const {name:_0x1481fa,data:_0x3b0e7c}of _0x1b7a61){const {group:_0x3518dc}=_0xa137e4['_splitMarkerName'](_0x1481fa);if(_0x3ae9('0x0')!==_0x3518dc||!_0x3b0e7c[_0x3ae9('0xf')])continue;const _0x552b86=_0x3b0e7c[_0x3ae9('0xf')],_0x5679f6=_0x552b86[_0x3ae9('0x1')]['nodeBefore'];if(!_0x5679f6||!_0x5679f6['is'](_0x3ae9('0x18'),_0x3ae9('0x6')))continue;if(!_0x552b86[_0x3ae9('0x7')][_0x3ae9('0x12')](_0x552b86['end']))continue;const _0x56fc70=_0x3ea472[_0x3ae9('0x13')][_0x3ae9('0x1e')][_0x3ae9('0x1d')](_0x552b86[_0x3ae9('0x1')],'forward');if(_0x56fc70&&_0x56fc70[_0x3ae9('0x4')]){const _0x46f8d6=_0x2a6136[_0x3ae9('0x19')](_0x552b86['start'],_0x56fc70[_0x3ae9('0x7')]);_0x46f8d6[_0x3ae9('0x1a')](_0x552b86)||(_0x2a6136[_0x3ae9('0x3')](_0x1481fa,{'range':_0x46f8d6}),_0x568cba=!0x0);}_0x568cba||(_0x2a6136[_0x3ae9('0x16')](_0x1481fa),_0x568cba=!0x0);}return _0x568cba;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3102=['has','afterInit','UndoEditing','editor','redo','get','enableCommand','plugins'];(function(_0x525574,_0x31020d){const _0x44a184=function(_0x267509){while(--_0x267509){_0x525574['push'](_0x525574['shift']());}};_0x44a184(++_0x31020d);}(_0x3102,0x1be));const _0x44a1=function(_0x525574,_0x31020d){_0x525574=_0x525574-0x0;let _0x44a184=_0x3102[_0x525574];return _0x44a184;};import{Plugin as _0x2f13ca}from'ckeditor5/src/core';export default class Dt extends _0x2f13ca{[_0x44a1('0x3')](){const _0x373508=this[_0x44a1('0x5')],_0x352bec=_0x373508['plugins'][_0x44a1('0x7')]('TrackChangesEditing');_0x373508[_0x44a1('0x1')][_0x44a1('0x2')](_0x44a1('0x4'))&&(_0x352bec[_0x44a1('0x0')]('undo'),_0x352bec['enableCommand'](_0x44a1('0x6')));}}
23
+ const _0xd722=['UndoEditing','TrackChangesEditing','plugins','redo','afterInit','undo','get','enableCommand','has'];(function(_0x42b12b,_0xd72295){const _0x148928=function(_0xe3b641){while(--_0xe3b641){_0x42b12b['push'](_0x42b12b['shift']());}};_0x148928(++_0xd72295);}(_0xd722,0x17c));const _0x1489=function(_0x42b12b,_0xd72295){_0x42b12b=_0x42b12b-0x0;let _0x148928=_0xd722[_0x42b12b];return _0x148928;};import{Plugin as _0x1193d6}from'ckeditor5/src/core';export default class Dt extends _0x1193d6{[_0x1489('0x2')](){const _0x25d807=this['editor'],_0x8f16bf=_0x25d807[_0x1489('0x0')][_0x1489('0x4')](_0x1489('0x8'));_0x25d807[_0x1489('0x0')][_0x1489('0x6')](_0x1489('0x7'))&&(_0x8f16bf[_0x1489('0x5')](_0x1489('0x3')),_0x8f16bf[_0x1489('0x5')](_0x1489('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f82=['isContent','markerRange','isBlock','insert','getWalker','TrackChangesEditing','addClass','listItem','model','schema','element','hasAttribute','toViewElement','createRangeOn','type','nextSibling','bindElementToMarker','parent','addHighlight','previousPosition','includes','elementEnd','writer','ck-suggestion-marker-','activeMarkers','mapper','plugins','test','get','isLimit','getCustomProperty','getItems','markerName','listIndent','ck-suggestion-marker--active','consumable','push','isAtEnd'];(function(_0x4166be,_0x2f82cb){const _0x1a903b=function(_0x313fe){while(--_0x313fe){_0x4166be['push'](_0x4166be['shift']());}};_0x1a903b(++_0x2f82cb);}(_0x2f82,0x176));const _0x1a90=function(_0x4166be,_0x2f82cb){_0x4166be=_0x4166be-0x0;let _0x1a903b=_0x2f82[_0x4166be];return _0x1a903b;};export function getRangesWithAttribute(_0x51ac55,_0x438c63,_0x40e7cb){const _0x50d3b=[];for(const _0x40ec6d of _0x438c63[_0x1a90('0x25')]())_0x40ec6d[_0x1a90('0x11')](_0x51ac55)&&_0x50d3b['push'](_0x40e7cb[_0x1a90('0x13')](_0x40ec6d));return _0x50d3b;}export function getElementsAffectedByListItemRename(_0x5a1001){const _0x3b514e=[];if(_0x5a1001['is']('element',_0x1a90('0xd'))){let _0x2e34a2=_0x5a1001[_0x1a90('0x15')];for(;_0x2e34a2&&_0x2e34a2['is'](_0x1a90('0x10'),_0x1a90('0xd'))&&_0x2e34a2['getAttribute'](_0x1a90('0x1'))>0x0;)_0x3b514e[_0x1a90('0x4')](_0x2e34a2),_0x2e34a2=_0x2e34a2[_0x1a90('0x15')];}return _0x3b514e;}export function downcastSplitMergeMarker(_0x9a74ed,_0x51e851,{showActiveMarker:_0x1e3020=!0x0}={}){const _0x20b5ef=_0x9a74ed[_0x1a90('0x20')][_0x1a90('0x22')](_0x1a90('0xb'));return(_0x247877,_0x57f50c,_0x150ecd)=>{if(!_0x150ecd[_0x1a90('0x3')][_0x1a90('0x21')](_0x57f50c[_0x1a90('0x7')],_0x247877['name']))return;const _0x510092=_0x57f50c[_0x1a90('0x7')][_0x1a90('0xa')](),_0x4d708b=_0x57f50c[_0x1a90('0x7')]['start'],_0x46c2dc=_0x9a74ed[_0x1a90('0xe')][_0x1a90('0xf')];let _0x2d7f6c=null,_0x462a6b=null,_0x1b4cb4=!0x1,_0x162b8b=!0x1;for(const _0x5c846b of _0x510092){const _0x420728=_0x5c846b['item'];_0x1b4cb4=_0x1b4cb4||_0x46c2dc[_0x1a90('0x6')](_0x420728);const _0x14ace0=_0x150ecd[_0x1a90('0x1f')][_0x1a90('0x12')](_0x420728);if(_0x14ace0&&_0x14ace0[_0x1a90('0x24')](_0x1a90('0x18')))return;_0x1a90('0x1b')==_0x5c846b[_0x1a90('0x14')]&&(_0x46c2dc[_0x1a90('0x8')](_0x420728)&&!_0x46c2dc[_0x1a90('0x23')](_0x420728)&&(_0x420728[_0x1a90('0x15')]||_0x4d708b[_0x1a90('0x5')]?_0x2d7f6c&&_0x2d7f6c[_0x1a90('0x17')]==_0x420728||(_0x2d7f6c=_0x420728,_0x5dd87b(_0x5c846b['previousPosition']),_0x162b8b=!0x0):_0x462a6b=_0x462a6b||_0x5c846b[_0x1a90('0x19')]));}function _0x5dd87b(_0xf3b929){const _0x539799=_0x150ecd[_0x1a90('0x1c')]['createUIElement']('span',{'class':_0x1a90('0x1d')+_0x51e851}),_0x438f42=_0x150ecd[_0x1a90('0x1f')]['toViewPosition'](_0xf3b929);_0x1e3020&&_0x20b5ef[_0x1a90('0x1e')][_0x1a90('0x1a')](_0x57f50c[_0x1a90('0x0')])&&_0x150ecd[_0x1a90('0x1c')][_0x1a90('0xc')](_0x1a90('0x2'),_0x539799),_0x150ecd['writer'][_0x1a90('0x9')](_0x438f42,_0x539799),_0x150ecd[_0x1a90('0x1f')][_0x1a90('0x16')](_0x539799,_0x57f50c[_0x1a90('0x0')]);}_0x1b4cb4||_0x162b8b||!_0x462a6b||_0x5dd87b(_0x462a6b);};}
23
+ const _0x3447=['markerName','getItems','isAtEnd','ck-suggestion-marker-','nextSibling','toViewElement','isLimit','writer','previousPosition','hasAttribute','includes','addHighlight','isContent','addClass','name','item','getCustomProperty','mapper','markerRange','push','elementEnd','listItem','getAttribute','get','span','TrackChangesEditing','createUIElement','plugins','start','model','test','schema','consumable','toViewPosition','element','ck-suggestion-marker--active','createRangeOn','getWalker'];(function(_0x3aac09,_0x344783){const _0x411c77=function(_0x198acb){while(--_0x198acb){_0x3aac09['push'](_0x3aac09['shift']());}};_0x411c77(++_0x344783);}(_0x3447,0x73));const _0x411c=function(_0x3aac09,_0x344783){_0x3aac09=_0x3aac09-0x0;let _0x411c77=_0x3447[_0x3aac09];return _0x411c77;};export function getRangesWithAttribute(_0x410304,_0x577808,_0x2ad600){const _0x4a9da2=[];for(const _0x5a95d8 of _0x577808[_0x411c('0x0')]())_0x5a95d8[_0x411c('0x8')](_0x410304)&&_0x4a9da2[_0x411c('0x12')](_0x2ad600[_0x411c('0x23')](_0x5a95d8));return _0x4a9da2;}export function getElementsAffectedByListItemRename(_0xe289d6){const _0xd72603=[];if(_0xe289d6['is'](_0x411c('0x21'),'listItem')){let _0x28eef6=_0xe289d6[_0x411c('0x3')];for(;_0x28eef6&&_0x28eef6['is']('element',_0x411c('0x14'))&&_0x28eef6[_0x411c('0x15')]('listIndent')>0x0;)_0xd72603[_0x411c('0x12')](_0x28eef6),_0x28eef6=_0x28eef6[_0x411c('0x3')];}return _0xd72603;}export function downcastSplitMergeMarker(_0x56fe95,_0x4c675c,{showActiveMarker:_0x3ebd1e=!0x0}={}){const _0x498b78=_0x56fe95[_0x411c('0x1a')][_0x411c('0x16')](_0x411c('0x18'));return(_0x320e0a,_0x35e5f4,_0x2260f7)=>{if(!_0x2260f7[_0x411c('0x1f')][_0x411c('0x1d')](_0x35e5f4[_0x411c('0x11')],_0x320e0a[_0x411c('0xd')]))return;const _0x194565=_0x35e5f4['markerRange'][_0x411c('0x24')](),_0x245a25=_0x35e5f4['markerRange'][_0x411c('0x1b')],_0x4493d7=_0x56fe95[_0x411c('0x1c')][_0x411c('0x1e')];let _0x23faf2=null,_0x42bdc4=null,_0x4d144f=!0x1,_0xa52ac9=!0x1;for(const _0x2beede of _0x194565){const _0x4f7acb=_0x2beede[_0x411c('0xe')];_0x4d144f=_0x4d144f||_0x4493d7[_0x411c('0xb')](_0x4f7acb);const _0x3648a5=_0x2260f7['mapper'][_0x411c('0x4')](_0x4f7acb);if(_0x3648a5&&_0x3648a5[_0x411c('0xf')](_0x411c('0xa')))return;_0x411c('0x13')==_0x2beede['type']&&(_0x4493d7['isBlock'](_0x4f7acb)&&!_0x4493d7[_0x411c('0x5')](_0x4f7acb)&&(_0x4f7acb[_0x411c('0x3')]||_0x245a25[_0x411c('0x1')]?_0x23faf2&&_0x23faf2['parent']==_0x4f7acb||(_0x23faf2=_0x4f7acb,_0x181115(_0x2beede[_0x411c('0x7')]),_0xa52ac9=!0x0):_0x42bdc4=_0x42bdc4||_0x2beede['previousPosition']));}function _0x181115(_0x3e917f){const _0x588a20=_0x2260f7['writer'][_0x411c('0x19')](_0x411c('0x17'),{'class':_0x411c('0x2')+_0x4c675c}),_0x1d68a7=_0x2260f7[_0x411c('0x10')][_0x411c('0x20')](_0x3e917f);_0x3ebd1e&&_0x498b78['activeMarkers'][_0x411c('0x9')](_0x35e5f4[_0x411c('0x25')])&&_0x2260f7[_0x411c('0x6')][_0x411c('0xc')](_0x411c('0x22'),_0x588a20),_0x2260f7[_0x411c('0x6')]['insert'](_0x1d68a7,_0x588a20),_0x2260f7[_0x411c('0x10')]['bindElementToMarker'](_0x588a20,_0x35e5f4[_0x411c('0x25')]);}_0x4d144f||_0xa52ac9||!_0x42bdc4||_0x181115(_0x42bdc4);};}