@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231009.0 → 0.0.0-nightly-20231011.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 (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.d.ts +21 -0
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.d.ts +5 -2
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e2f=['batch','filter','removeMarkers','markers','TrackChangesEditing','getSuggestion','Users','document','author','model','tableCellSuggestion','nodeAfter','element','map','previousSibling','accept','showSuggestionHighlights','newRange','row','getChangedMarkers','high','insertion','for','cells','formatBlock','isEmpty','columns','tableCellHorizontalAlignment','end','suggestionUnloaded','listenTo','ck-suggestion-marker','columnInsertionRanges','editing','editor','some','plugins','tablePasteColumn','length','name','getColumnIndexes','getChild','attributes','getChildren','startsWith','rowInsertionIndexes','tablePaste','oldRange','root','rows','containsRange','conversion','deletion','*Replace\x20table\x20cells*','tablePasteChainId','change','_suggestionFactory','columnInsertionIndexes','removeRows','createRange','view','elementToElement','getSelectionAffectedTableCells','setAttributes','tablePasteCell','editingDowncast','commands','markMultiRangeDeletion','getRanges','content','_createdBatches','last','$graveyard','schema','getTableIfOnlyTableInContent','keys','tableCellBorderColor','getAttributes','has','registerDescriptionCallback','value','getShiftedBy','type','suggestion','tableCellPadding','TableClipboard','_isForcedDefaultExecutionBlock','suggestion-td','get','locale','getChanges','deletionRanges','dataDowncast','insertColumns','activeMarkers','removeMarker','find','registerCustomCallback','from','subType','tablePasteRow','_descriptionFactory','markerToHighlight','tableCellBorderWidth','fromEntries','every','createRangeOn','includes','afterInit','selection','paragraph','_getCoordsForCells','getItems','insertContent','redo','getSuggestions','differ','getSuggestionCallback','position','createTableWalker','previous','getRange','first','next','forceDefaultExecution','markMultiRangeBlockFormat','insertRows','getRowIndexes','getAllAdjacentSuggestions','tableCell','getContainedElement','join','_splitMarkerName','low','getColumns','registerPostFixer','createPositionBefore','setAttribute','column','documentSelection','set','tableCellBorderStyle','insertionRanges','isEqual','remove','ck-suggestion-marker-insertion','markerAttributes','getRows','fill','markerName','table','stop','endColumn','suggestion:formatBlock:tablePasteCell','wrap','findAncestor','requires','tableCellBackgroundColor','options','_tablePostFixingSubtypes','add','TableUtils','updateMarker','isInContent','trackChanges','markMultiRangeInsertion','createRangeIn','unwrap','createElement','discard','removeColumns','endRow','push','insert'];(function(_0x5772ee,_0x2e2fa4){const _0x1adce8=function(_0xb83cb8){while(--_0xb83cb8){_0x5772ee['push'](_0x5772ee['shift']());}};_0x1adce8(++_0x2e2fa4);}(_0x2e2f,0x1d3));const _0x1adc=function(_0x5772ee,_0x2e2fa4){_0x5772ee=_0x5772ee-0x0;let _0x1adce8=_0x2e2f[_0x5772ee];return _0x1adce8;};import{getTranslation as _0xff4e7d}from'../utils/common-translations';import{Plugin as _0x5ac451}from'ckeditor5/src/core';import{uid as _0x39689b,priorities as _0x1ee6d8}from'ckeditor5/src/utils';import _0x1df8b0 from'./table';const le=[_0x1adc('0x9e'),_0x1adc('0x83'),_0x1adc('0x16'),_0x1adc('0x52'),'tableCellVerticalAlignment',_0x1adc('0x26'),_0x1adc('0x8b')],ae=Object[_0x1adc('0x9f')](le[_0x1adc('0x44')](_0x5185ad=>[_0x5185ad,null]));export default class wt extends _0x5ac451{static get[_0x1adc('0x25')](){return[_0x1df8b0];}[_0x1adc('0xa3')](){const _0x4a9fcb=this[_0x1adc('0x59')];if(!_0x4a9fcb['plugins'][_0x1adc('0x85')](_0x1adc('0x8c')))return;const _0x1f3d68=_0x4a9fcb[_0x1adc('0x5b')][_0x1adc('0x8f')](_0x1adc('0x3b')),_0x4b7cd4=_0x4a9fcb[_0x1adc('0x5b')][_0x1adc('0x8f')](_0x1adc('0x2a')),_0x5971b9=_0x4a9fcb['plugins']['get'](_0x1df8b0),_0x1c3c54=_0x4a9fcb[_0x1adc('0x5b')][_0x1adc('0x8f')](_0x1adc('0x8c'));_0x5971b9[_0x1adc('0x28')][_0x1adc('0x35')](_0x1adc('0x9b'),_0x1adc('0x5c')),_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x80')]['register'](_0x1adc('0x41'),{'allowIn':_0x1adc('0xa'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x4a9fcb['conversion'][_0x1adc('0x74')]({'model':_0x1adc('0x41'),'view':'suggestion-td'});let _0x233aca=null;_0x4a9fcb[_0x1adc('0x40')]['on'](_0x1adc('0xa8'),(_0x56e954,_0x126de3)=>{const [_0x19f19d,_0x3c8b48]=_0x126de3,_0x4c21c7=_0x126de3[_0x126de3[_0x1adc('0x5d')]-0x1];_0x4c21c7&&_0x4c21c7[_0x1adc('0x5')]||_0x1f3d68[_0x1adc('0x8d')]||this[_0x1adc('0x59')][_0x1adc('0x79')][_0x1adc('0x8f')](_0x1adc('0x2d'))[_0x1adc('0x87')]&&function(_0x60f368,_0x53ce33,_0x5f3ad9,_0x39407f,_0x22acfd){if(_0x53ce33&&!_0x53ce33['is'](_0x1adc('0x14')))return!0x1;const _0x530069=_0x22acfd[_0x1adc('0x81')](_0x60f368,_0x5f3ad9);if(!_0x530069||!fe(_0x530069,void 0x0,_0x39407f))return!0x1;const _0x484df8=_0x39407f[_0x1adc('0x75')](_0x5f3ad9[_0x1adc('0x3e')][_0x1adc('0xa4')]);if(!_0x484df8[_0x1adc('0x5d')])return!0x1;const _0x47dd51=_0x484df8[0x0][_0x1adc('0x24')](_0x1adc('0x1f')),_0x2cc69b=_0x39407f[_0x1adc('0x8')](_0x484df8),_0xda6bee=_0x39407f[_0x1adc('0x5f')](_0x484df8),_0x3315c8={'startRow':_0x2cc69b[_0x1adc('0x3')],'endRow':_0x2cc69b[_0x1adc('0x7e')],'startColumn':_0xda6bee[_0x1adc('0x3')],'endColumn':_0xda6bee[_0x1adc('0x7e')]};return 0x1==_0x484df8[_0x1adc('0x5d')]&&(_0x3315c8[_0x1adc('0x34')]+=_0x39407f[_0x1adc('0x1c')](_0x530069)-0x1,_0x3315c8[_0x1adc('0x21')]+=_0x39407f[_0x1adc('0xf')](_0x530069)-0x1),fe(_0x47dd51,_0x3315c8,_0x39407f);}(_0x19f19d,_0x3c8b48,_0x4a9fcb[_0x1adc('0x40')],_0x4b7cd4,_0x1c3c54)&&(_0x56e954[_0x1adc('0x20')](),_0x233aca={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x6e')](()=>{_0x4a9fcb['model'][_0x1adc('0xa8')](_0x126de3[0x0],_0x126de3[0x1],_0x126de3[0x2],{'forceDefaultExecution':!0x0});const _0x27654b=_0x39689b(),{rowInsertionRanges:_0x2ff95a,columnInsertionRanges:_0x6b9582,insertionRanges:_0x5623bf,deletionRanges:_0x50ba0b,cells:_0x185b59}=_0x233aca;_0x2ff95a['length']&&_0x1f3d68[_0x1adc('0x2e')](_0x2ff95a,_0x1adc('0x9b'),{'tablePasteChainId':_0x27654b}),_0x6b9582['length']&&_0x1f3d68[_0x1adc('0x2e')](_0x6b9582,_0x1adc('0x5c'),{'tablePasteChainId':_0x27654b}),_0x5623bf[_0x1adc('0x5d')]&&_0x1f3d68[_0x1adc('0x2e')](_0x5623bf,_0x1adc('0x65'),{'tablePasteChainId':_0x27654b,'skipNestingCheck':!0x0}),_0x50ba0b[_0x1adc('0x5d')]&&_0x1f3d68[_0x1adc('0x7a')](_0x50ba0b,_0x1adc('0x65'),{'tablePasteChainId':_0x27654b,'skipNestingCheck':!0x0});const _0x4f518b=_0x1f3d68[_0x1adc('0x6')](_0x185b59[_0x1adc('0x44')](({element:_0x3ac8e5})=>_0x3ac8e5),{'formatGroupId':_0x39689b()},[],_0x1adc('0x77'),{'tablePasteChainId':_0x27654b});if(_0x4f518b){const _0xa630f6=_0x4f518b['getMarkers'](),_0x634874=[];for(const {element:_0x29fe3b,attributes:_0x3a55d9}of _0x185b59){if(!_0x3a55d9)continue;const _0x3895dc=_0x4a9fcb['model']['createRangeOn'](_0x29fe3b),_0x134f54=_0xa630f6[_0x1adc('0x97')](_0x1ed158=>_0x1ed158['getRange']()[_0x1adc('0x18')](_0x3895dc));_0x134f54&&_0x634874[_0x1adc('0x35')]([_0x134f54['name'],_0x3a55d9]);}_0x634874[_0x1adc('0x5d')]&&_0x4f518b[_0x1adc('0x12')](_0x1adc('0x1b'),Object[_0x1adc('0x9f')](_0x634874));}_0x233aca=null;}));},{'priority':_0x1ee6d8['high']+0xa}),_0x4a9fcb[_0x1adc('0x5b')][_0x1adc('0x8f')](_0x1adc('0x8c'))['on']('_replaceTableSlotCell',(_0x2e3def,_0x4e9120)=>{const [_0x5f3cf0,_0x2a15d7,,_0x1dc8f9]=_0x4e9120;if(!_0x233aca)return;_0x2e3def['stop']();const _0x427d83=_0x5f3cf0['cell'],_0x39e311=_0x2a15d7,_0x1792ab=ce(_0x427d83),_0x6c802d=ce(_0x39e311);_0x2e3def['return']=_0x427d83;let _0x5e94e8=null,_0x21dafe=null;if(_0x6c802d||_0x1792ab){if(_0x1792ab&&!_0x6c802d){_0x1dc8f9[_0x1adc('0x19')](_0x427d83[_0x1adc('0x60')](0x0));for(const _0x174351 of Array['from'](_0x39e311[_0x1adc('0x62')]()))_0x1dc8f9[_0x1adc('0x36')](_0x174351,_0x427d83,_0x1adc('0x53'));const _0x3c8433=_0x233aca[_0x1adc('0x64')][_0x1adc('0xa2')](_0x5f3cf0[_0x1adc('0x49')]),_0x48a7a2=_0x233aca[_0x1adc('0x70')]['includes'](_0x5f3cf0[_0x1adc('0x13')]);_0x3c8433||_0x48a7a2||(_0x5e94e8=_0x1dc8f9[_0x1adc('0x2f')](_0x427d83));}else _0x6c802d&&!_0x1792ab&&(_0x21dafe=_0x1dc8f9['createRangeIn'](_0x427d83));}else{const _0x1e444e=_0x1dc8f9[_0x1adc('0x31')](_0x1adc('0x41')),_0x1215f7=_0x1dc8f9['createElement'](_0x1adc('0x41'));_0x1dc8f9[_0x1adc('0x23')](_0x1dc8f9['createRangeIn'](_0x427d83),_0x1215f7),_0x1dc8f9[_0x1adc('0x36')](_0x1e444e,_0x427d83,0x0);for(const _0x462f59 of Array[_0x1adc('0x99')](_0x39e311['getChildren']()))_0x1dc8f9[_0x1adc('0x36')](_0x462f59,_0x1e444e,_0x1adc('0x53'));_0x5e94e8=_0x1dc8f9[_0x1adc('0xa1')](_0x1e444e),_0x21dafe=_0x1dc8f9['createRangeOn'](_0x1215f7);}const _0x5b1492=Array[_0x1adc('0x99')](_0x39e311[_0x1adc('0x84')]())[_0x1adc('0x38')](([_0x599406])=>le[_0x1adc('0xa2')](_0x599406));_0x233aca[_0x1adc('0x4e')][_0x1adc('0x35')]({'element':_0x427d83,'attributes':_0x5b1492[_0x1adc('0x5d')]?Object[_0x1adc('0x9f')](_0x5b1492):null}),_0x5e94e8&&_0x233aca[_0x1adc('0x17')]['push'](_0x5e94e8),_0x21dafe&&_0x233aca[_0x1adc('0x92')][_0x1adc('0x35')](_0x21dafe);},{'priority':_0x1adc('0x4b')}),_0x4b7cd4['on'](_0x1adc('0x94'),(_0x3ddfed,_0x400011)=>{const [_0x13800b,_0x55a04e={}]=_0x400011;if(!_0x233aca)return;const _0x39b75b=_0x55a04e['at']||0x0,_0x1f5014=_0x55a04e[_0x1adc('0x51')]||0x1;_0x233aca['columnInsertionIndexes']=new Array(_0x1f5014)['fill'](_0x39b75b)['map']((_0x55d3c1,_0xb1a41b)=>_0x55d3c1+_0xb1a41b);for(const {cell:_0x3f9ba3}of _0x4b7cd4[_0x1adc('0x0')](_0x13800b,{'startColumn':_0x39b75b,'endColumn':_0x39b75b+_0x1f5014-0x1}))_0x233aca[_0x1adc('0x57')][_0x1adc('0x35')](_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0xa1')](_0x3f9ba3));},{'priority':'low'}),_0x4b7cd4['on'](_0x1adc('0x7'),(_0xbf12ca,_0x17aff1)=>{const [_0x51bae2,_0x226aa4={}]=_0x17aff1;if(!_0x233aca)return;const _0x50a392=_0x226aa4['at']||0x0,_0x23e66e=_0x226aa4[_0x1adc('0x68')]||0x1;_0x233aca[_0x1adc('0x64')]=new Array(_0x23e66e)[_0x1adc('0x1d')](_0x50a392)[_0x1adc('0x44')]((_0x50fb46,_0x1a9d00)=>_0x50fb46+_0x1a9d00);for(const {cell:_0x5f179d}of _0x4b7cd4['createTableWalker'](_0x51bae2,{'startRow':_0x50a392,'endRow':_0x50a392+_0x23e66e-0x1}))_0x233aca['rowInsertionRanges'][_0x1adc('0x35')](_0x4a9fcb['model'][_0x1adc('0xa1')](_0x5f179d));},{'priority':_0x1adc('0xe')}),_0x1f3d68[_0x1adc('0x9c')][_0x1adc('0x86')](_0x563053=>{if(_0x563053[_0x1adc('0x9a')]&&_0x563053[_0x1adc('0x9a')]['startsWith'](_0x1adc('0x65')))return _0x563053[_0x1adc('0x1')]?{}:{'type':_0x1adc('0x4c'),'content':_0xff4e7d(_0x4a9fcb[_0x1adc('0x90')],_0x1adc('0x6c'))};});const _0x4ffa76=()=>!0x1;for(const _0x6892ba of['tablePaste','tablePasteColumn',_0x1adc('0x9b'),_0x1adc('0x77')])_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')](_0x1adc('0x4c'),_0x6892ba,_0x1adc('0xc'),_0x4ffa76),_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')]('deletion',_0x6892ba,_0x1adc('0xc'),_0x4ffa76),_0x1f3d68[_0x1adc('0x6f')]['registerCustomCallback']('formatBlock',_0x6892ba,_0x1adc('0xc'),_0x4ffa76);_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')](_0x1adc('0x4f'),_0x1adc('0x77'),'discard',_0x4ffa76),_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')](_0x1adc('0x4f'),_0x1adc('0x77'),_0x1adc('0x46'),(_0x2e3ba5,_0xef0d42,_0x3da03a)=>{const _0x45fa9a=_0x2e3ba5['map'](_0x21d7c5=>_0x21d7c5[_0x1adc('0xb')]())['filter'](_0x4fd37f=>_0x4fd37f),_0xd138be=new Map(_0x45fa9a[_0x1adc('0x44')](_0xca260=>[_0xca260,null]));if(_0x233aca)for(const {element:_0x4403c3,attributes:_0x15da57}of _0x233aca[_0x1adc('0x4e')])_0x15da57&&_0xd138be[_0x1adc('0x15')](_0x4403c3,_0x15da57);else{if(_0x3da03a&&_0x3da03a[_0x1adc('0x1b')])for(const [_0x2fff8e,_0x40f7a5]of Object['entries'](_0x3da03a[_0x1adc('0x1b')])){const _0x42a5a8=_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3a')][_0x1adc('0x8f')](_0x2fff8e),_0xc8a0c7=_0x42a5a8?_0x42a5a8['getRange']()[_0x1adc('0xb')]():null;_0xc8a0c7&&_0xd138be[_0x1adc('0x15')](_0xc8a0c7,_0x40f7a5);}}_0x4a9fcb[_0x1adc('0x40')]['change'](_0x638ffa=>{for(const [_0x442450,_0x648eaf]of _0xd138be)_0x638ffa[_0x1adc('0x76')]({...ae,..._0x648eaf},_0x442450);});});const _0x2a73bd=(_0x5aa627,_0x17cbc8)=>{_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')](_0x5aa627,'tablePaste',_0x17cbc8,(_0x397c59,_0x3faad7,_0x4eb2f2)=>{_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x6e')](_0x31df9d=>{const _0x5c2499=[];for(const _0x36f82c of _0x397c59){const _0x55a61b=_0x36f82c['start'][_0x1adc('0x42')];_0x55a61b['is'](_0x1adc('0x43'),_0x1adc('0x41'))&&_0x5c2499[_0x1adc('0x35')](_0x55a61b);}_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0xac')](_0x5aa627,null,_0x17cbc8)(_0x397c59,_0x3faad7,_0x4eb2f2);for(const _0x4010f7 of _0x5c2499)_0x1adc('0x7f')!=_0x4010f7[_0x1adc('0x67')]['rootName']&&_0x31df9d[_0x1adc('0x30')](_0x4010f7);});});};_0x2a73bd(_0x1adc('0x4c'),_0x1adc('0x46')),_0x2a73bd('insertion',_0x1adc('0x32')),_0x2a73bd(_0x1adc('0x6b'),_0x1adc('0x46')),_0x2a73bd(_0x1adc('0x6b'),_0x1adc('0x32')),_0x1f3d68[_0x1adc('0x6f')][_0x1adc('0x98')](_0x1adc('0x4c'),'tablePasteRow',_0x1adc('0x32'),_0x4f41af=>{const _0xb009f1=_0x4f41af['map'](_0x1dcdd8=>_0x1dcdd8[_0x1adc('0xb')]()),_0x2b6e1f=_0xb009f1[0x0][_0x1adc('0x24')](_0x1adc('0x1f')),{minRow:_0x11916d,maxRow:_0x4bee91}=_0x5971b9['_getCoordsForCells'](_0xb009f1);_0x4b7cd4[_0x1adc('0x71')](_0x2b6e1f,{'at':_0x11916d,'rows':_0x4bee91-_0x11916d+0x1});}),_0x1f3d68[_0x1adc('0x6f')]['registerCustomCallback'](_0x1adc('0x4c'),_0x1adc('0x5c'),_0x1adc('0x32'),_0x40d24d=>{const _0x4585e9=_0x40d24d['map'](_0x404cae=>_0x404cae['getContainedElement']()),_0x456e5f=_0x4585e9[0x0][_0x1adc('0x24')](_0x1adc('0x1f')),{minColumn:_0x56a860,maxColumn:_0x3816ba}=_0x5971b9[_0x1adc('0xa6')](_0x4585e9);_0x4b7cd4[_0x1adc('0x33')](_0x456e5f,{'at':_0x56a860,'columns':_0x3816ba-_0x56a860+0x1});});const _0x21ed4f=(_0x40f5bb,_0x1d4c11)=>{if(!_0x1d4c11['subType']||!_0x1d4c11[_0x1adc('0x9a')][_0x1adc('0x63')](_0x1adc('0x65')))return;const _0xc7f4ea=_0x1d4c11[_0x1adc('0x61')]['tablePasteChainId'],_0x37fe16=_0x1f3d68['getSuggestions']()[_0x1adc('0x38')](_0x4e2b0d=>_0x4e2b0d[_0x1adc('0x2c')]&&_0x4e2b0d[_0x1adc('0x61')]&&_0x4e2b0d[_0x1adc('0x61')][_0x1adc('0x6d')]==_0xc7f4ea);_0x37fe16[_0x1adc('0x5d')]&&_0x1d4c11['getAllAdjacentSuggestions']()[_0x1adc('0x5d')]!=_0x37fe16[_0x1adc('0x5d')]&&_0x37fe16['reduce']((_0x43f5e7,_0x1c30d3)=>(_0x43f5e7[_0x1adc('0x4')]=_0x1c30d3,_0x1c30d3[_0x1adc('0x1')]=_0x43f5e7,_0x1c30d3));};function _0x5439c8(_0x362810,_0x2be86d=!0x0){const {id:_0x3da367}=_0x1f3d68['_splitMarkerName'](_0x362810[_0x1adc('0x1e')]),_0x3e908b=[_0x1adc('0x56'),_0x1adc('0x1a')],_0x2f5704=_0x1f3d68[_0x1adc('0x95')]['includes'](_0x362810[_0x1adc('0x1e')]);return _0x2f5704&&_0x3e908b[_0x1adc('0x35')]('ck-suggestion-marker--active'),{'classes':_0x3e908b,'attributes':{'data-suggestion':_0x3da367},'priority':_0x2f5704&&_0x2be86d?0xbc2:0xbb8};}_0x1f3d68['on']('suggestionLoaded',_0x21ed4f,{'priority':_0x1adc('0x4b')}),_0x1f3d68['on'](_0x1adc('0x54'),_0x21ed4f,{'priority':_0x1adc('0x4b')}),_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3e')][_0x1adc('0x10')](()=>{let _0x257cb6=!0x1;const _0x4280ac=Array['from'](_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3e')][_0x1adc('0xab')]['getChangedMarkers']());for(const {name:_0x5eb39e,data:_0x381abf}of _0x4280ac){const {group:_0x2b2cda,type:_0x56b0df,id:_0xe143ce}=_0x1f3d68['_splitMarkerName'](_0x5eb39e);if(_0x1adc('0x8a')!=_0x2b2cda||_0x1adc('0x6b')!=_0x56b0df||_0x381abf[_0x1adc('0x66')])continue;if(!_0x1f3d68['hasSuggestion'](_0xe143ce))continue;const _0x3cb616=_0x1f3d68[_0x1adc('0x3c')](_0xe143ce)[_0x1adc('0x7b')](),_0x339159=_0x4a9fcb['plugins']['get'](_0x1adc('0x3d'))['me'];for(const _0x5ba1d3 of _0x1f3d68[_0x1adc('0xaa')]()){if(!_0x5ba1d3['isInContent']||_0x5ba1d3[_0x1adc('0x3f')]!=_0x339159)continue;if('formatBlock'!=_0x5ba1d3[_0x1adc('0x89')]||_0x1adc('0x77')!=_0x5ba1d3['subType'])continue;if(_0x5ba1d3['getRanges']()[_0x1adc('0xa0')](_0x541939=>_0x3cb616[_0x1adc('0x5a')](_0xb7cda6=>_0xb7cda6[_0x1adc('0x69')](_0x541939,!0x0))))for(const _0x21e665 of _0x5ba1d3[_0x1adc('0x9')]())_0x21e665[_0x1adc('0x2c')]&&(_0x21e665[_0x1adc('0x32')](),_0x257cb6=!0x0);}}return _0x257cb6;}),_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3e')][_0x1adc('0x10')](_0x2b241d=>{const _0x7336cd=_0x4a9fcb[_0x1adc('0x79')]['get'](_0x1adc('0xa9'));if(!_0x7336cd||!_0x7336cd[_0x1adc('0x7d')]['has'](_0x2b241d[_0x1adc('0x37')]))return!0x1;let _0x561e57=!0x1;const _0x24e2ae=_0x4a9fcb[_0x1adc('0x5b')][_0x1adc('0x8f')]('Users')['me'],_0x108ee0=_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3e')][_0x1adc('0xab')][_0x1adc('0x91')](),_0x356de9=Array[_0x1adc('0x99')](_0x4a9fcb[_0x1adc('0x40')]['document'][_0x1adc('0xab')][_0x1adc('0x4a')]())['filter'](({name:_0x379c1e,data:_0x4e4fe9})=>{const {group:_0x44eeee,subType:_0x5e031c,authorId:_0x3c700e}=_0x1f3d68[_0x1adc('0xd')](_0x379c1e);return _0x1adc('0x8a')==_0x44eeee&&_0x1adc('0x65')==_0x5e031c&&_0x3c700e==_0x24e2ae['id']&&!_0x4e4fe9[_0x1adc('0x66')];});for(const _0x16b2ef of _0x108ee0){if(_0x1adc('0x36')!=_0x16b2ef[_0x1adc('0x89')]||_0x1adc('0x41')!=_0x16b2ef[_0x1adc('0x5e')]||0x1!=_0x16b2ef[_0x1adc('0x5d')])continue;const _0x2101d6=_0x2b241d[_0x1adc('0x72')](_0x16b2ef[_0x1adc('0xad')],_0x16b2ef[_0x1adc('0xad')][_0x1adc('0x88')](0x1));if(!_0x356de9[_0x1adc('0x97')](({data:_0x2307f5})=>_0x2307f5['newRange'][_0x1adc('0x18')](_0x2101d6)))for(const {name:_0x371a01,data:_0x204bc8}of _0x356de9)if(_0x2101d6['containsRange'](_0x204bc8[_0x1adc('0x48')])){_0x2b241d[_0x1adc('0x2b')](_0x371a01,{'range':_0x2101d6}),_0x561e57=!0x0;break;}}return _0x561e57;}),_0x4a9fcb[_0x1adc('0x40')][_0x1adc('0x3e')]['registerPostFixer'](_0x314b35=>{let _0x30bb79=!0x1;const _0x56620c=_0x4a9fcb[_0x1adc('0x5b')]['get'](_0x1adc('0x3d'))['me'],_0x10615a=_0x1f3d68[_0x1adc('0xaa')]()[_0x1adc('0x38')](_0x812498=>_0x812498[_0x1adc('0x2c')]&&_0x812498[_0x1adc('0x3f')]==_0x56620c),_0x8971f6=new Set(),_0x5d49a8=new Set();for(const _0x420375 of _0x10615a)if(_0x1adc('0x65')==_0x420375['subType'])for(const _0x48bd73 of _0x420375['getMarkers']()){const _0x24816f=_0x48bd73[_0x1adc('0x2')]()[_0x1adc('0xb')]();if(_0x24816f){if(_0x24816f['is'](_0x1adc('0x43'),_0x1adc('0x41'))&&ce(_0x24816f)){_0x420375[_0x1adc('0x96')](_0x48bd73[_0x1adc('0x5e')]),_0x8971f6[_0x1adc('0x29')](_0x24816f),_0x30bb79=!0x0;const _0x39d6b5=_0x24816f['nextSibling'],_0x529d80=_0x24816f[_0x1adc('0x45')],_0x305e6c=_0x39d6b5&&_0x39d6b5['is'](_0x1adc('0x43'),_0x1adc('0x41')),_0x5ccd51=_0x529d80&&_0x529d80['is'](_0x1adc('0x43'),_0x1adc('0x41'));_0x305e6c&&!_0x8971f6[_0x1adc('0x85')](_0x39d6b5)&&_0x5d49a8[_0x1adc('0x29')](_0x39d6b5),_0x5ccd51&&!_0x8971f6[_0x1adc('0x85')](_0x529d80)&&_0x5d49a8[_0x1adc('0x29')](_0x529d80);}else _0x24816f['is'](_0x1adc('0x43'),_0x1adc('0xa5'))&&_0x24816f[_0x1adc('0x50')]&&(_0x420375[_0x1adc('0x96')](_0x48bd73[_0x1adc('0x5e')]),_0x30bb79=!0x0);}}else{if(_0x1adc('0x77')==_0x420375[_0x1adc('0x9a')]){if(!_0x420375[_0x1adc('0x61')]||!_0x420375[_0x1adc('0x61')][_0x1adc('0x6d')])continue;const _0x578d69=_0x420375[_0x1adc('0x61')]['markerAttributes'];if(_0x578d69&&Object[_0x1adc('0x82')](_0x578d69)[_0x1adc('0x5d')])continue;const _0x2eb962=_0x420375['attributes'][_0x1adc('0x6d')];let _0xcb5041=!0x0,_0x3e7e68=!0x0;for(const _0x4aa98e of _0x10615a)if(_0x4aa98e['subType']&&_0x4aa98e[_0x1adc('0x9a')][_0x1adc('0x63')](_0x1adc('0x65'))){if(!_0x4aa98e[_0x1adc('0x61')][_0x1adc('0x6d')]){_0x3e7e68=!0x1;break;}if(_0x4aa98e['id']!=_0x420375['id']&&_0x4aa98e[_0x1adc('0x61')][_0x1adc('0x6d')]==_0x2eb962){_0xcb5041=!0x1;break;}}_0x3e7e68&&_0xcb5041&&(_0x420375[_0x1adc('0x39')](),_0x30bb79=!0x0);}}for(const _0x1260ac of _0x8971f6)_0x314b35['remove'](_0x1260ac);for(const _0x1dcf70 of _0x5d49a8)_0x314b35[_0x1adc('0x30')](_0x1dcf70);return _0x30bb79;}),_0x4a9fcb[_0x1adc('0x6a')][_0x1adc('0x4d')](_0x1adc('0x78'))[_0x1adc('0x9d')]({'model':_0x1adc('0x22'),'view':(_0x57aa0f,_0x53d42d)=>_0x5439c8(_0x57aa0f),'converterPriority':_0x1adc('0x4b')}),_0x4a9fcb[_0x1adc('0x6a')][_0x1adc('0x4d')](_0x1adc('0x93'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x57eb0b,_0x343c42)=>_0x343c42[_0x1adc('0x27')][_0x1adc('0x47')]?_0x5439c8(_0x57eb0b,!0x1):null,'converterPriority':_0x1adc('0x4b')});const _0x1f79f7=_0x4a9fcb[_0x1adc('0x58')][_0x1adc('0x73')];this[_0x1adc('0x55')](_0x1f79f7[_0x1adc('0x3e')],'clipboardOutput',(_0x292b73,_0x251454)=>{const _0x5a2415=[];for(const _0x53cf7c of _0x1f79f7[_0x1adc('0x2f')](_0x251454[_0x1adc('0x7c')])[_0x1adc('0xa7')]())_0x53cf7c['is'](_0x1adc('0x43'),_0x1adc('0x8e'))&&_0x5a2415[_0x1adc('0x35')](_0x53cf7c);_0x1f79f7[_0x1adc('0x6e')](_0xcc597b=>{for(const _0x4aa90e of _0x5a2415)_0xcc597b['move'](_0xcc597b[_0x1adc('0x2f')](_0x4aa90e),_0xcc597b[_0x1adc('0x11')](_0x4aa90e)),_0xcc597b['remove'](_0x4aa90e);});});}}function ce(_0x1a5012){if(_0x1a5012['isEmpty'])return!0x0;const _0xb987b5=_0x1a5012[_0x1adc('0x60')](0x0);return _0xb987b5['is'](_0x1adc('0x43'),_0x1adc('0xa5'))&&_0xb987b5[_0x1adc('0x50')];}function fe(_0x4cbc72,_0x174179={},_0x548313){for(const {isAnchor:_0x35ce15,cellHeight:_0x886c96,cellWidth:_0x1f7035}of _0x548313[_0x1adc('0x0')](_0x4cbc72,{'includeAllSlots':!0x0,..._0x174179}))if(!_0x35ce15||0x1!=_0x886c96||0x1!=_0x1f7035)return!0x1;return!0x0;}
23
+ const _0x31f1=['fill','schema','isInContent','map','suggestion:formatBlock:tablePasteCell','*Replace\x20table\x20cells*','accept','insertContent','showSuggestionHighlights','registerPostFixer','position','editor','tableCellBackgroundColor','join','cell','unwrap','getRows','tablePasteCell','elementToElement','cells','keys','includes','forceDefaultExecution','_suggestionFactory','paragraph','tableCellBorderStyle','getChild','suggestionUnloaded','startsWith','getSuggestion','listenTo','createRangeIn','tableCell','some','add','_tablePostFixingSubtypes','high','ck-suggestion-marker','isEmpty','rowInsertionRanges','insertion','change','conversion','push','length','_splitMarkerName','markerName','tablePasteChainId','return','tableCellBorderWidth','element','row','rowInsertionIndexes','name','remove','ck-suggestion-marker-insertion','trackChanges','last','differ','table','discard','getItems','getAttributes','requires','deletion','tableCellPadding','createTableWalker','TableUtils','dataDowncast','end','tableCellVerticalAlignment','tablePasteRow','_createdBatches','get','suggestion','createElement','markerAttributes','selection','getContainedElement','Users','deletionRanges','_isForcedDefaultExecutionBlock','view','insertColumns','rows','formatBlock','fromEntries','setAttributes','next','updateMarker','removeRows','getRange','markMultiRangeDeletion','first','locale','getSuggestionCallback','find','subType','previous','oldRange','from','TableClipboard','nextSibling','reduce','_descriptionFactory','_getCoordsForCells','columns','getAllAdjacentSuggestions','markMultiRangeInsertion','insert','findAncestor','set','getRanges','editingDowncast','tableCellBorderColor','columnInsertionIndexes','getChanges','attributes','markerToHighlight','filter','low','removeMarker','model','insertRows','document','clipboardOutput','documentSelection','tablePasteColumn','has','getSuggestions','tablePaste','for','isEqual','registerDescriptionCallback','getMarkers','content','getChangedMarkers','removeColumns','author','createRangeOn','entries','markers','getRowIndexes','columnInsertionRanges','getSelectionAffectedTableCells','stop','every','type','newRange','TrackChangesEditing','containsRange','tableCellSuggestion','suggestion-td','redo','setAttribute','endRow','getChildren','move','registerCustomCallback','$graveyard','wrap','plugins','previousSibling','commands','nodeAfter'];(function(_0x4e3a4f,_0x31f140){const _0x42c3e0=function(_0x1847b3){while(--_0x1847b3){_0x4e3a4f['push'](_0x4e3a4f['shift']());}};_0x42c3e0(++_0x31f140);}(_0x31f1,0x1ac));const _0x42c3=function(_0x4e3a4f,_0x31f140){_0x4e3a4f=_0x4e3a4f-0x0;let _0x42c3e0=_0x31f1[_0x4e3a4f];return _0x42c3e0;};import{getTranslation as _0x2a9e1c}from'../utils/common-translations';import{Plugin as _0x15bd7b}from'ckeditor5/src/core';import{uid as _0xa1f25b,priorities as _0x1c2837}from'ckeditor5/src/utils';import _0x5c7aaf from'./table';const le=[_0x42c3('0x74'),_0x42c3('0x10'),_0x42c3('0x5c'),'tableCellHorizontalAlignment',_0x42c3('0x89'),_0x42c3('0x4f'),_0x42c3('0x84')],ae=Object[_0x42c3('0x99')](le[_0x42c3('0x46')](_0x519832=>[_0x519832,null]));export default class wt extends _0x15bd7b{static get[_0x42c3('0x82')](){return[_0x5c7aaf];}['afterInit'](){const _0x198564=this['editor'];if(!_0x198564[_0x42c3('0x3f')][_0x42c3('0x1e')](_0x42c3('0x3')))return;const _0x36f7ee=_0x198564['plugins'][_0x42c3('0x8c')](_0x42c3('0x33')),_0x4e25a3=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x42c3('0x86')),_0x3556c4=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x5c7aaf),_0x2de09c=_0x198564[_0x42c3('0x3f')]['get'](_0x42c3('0x3'));_0x3556c4[_0x42c3('0x66')][_0x42c3('0x6e')](_0x42c3('0x8a'),_0x42c3('0x1d')),_0x198564['model'][_0x42c3('0x44')]['register'](_0x42c3('0x35'),{'allowIn':_0x42c3('0x63'),'allowContentOf':_0x42c3('0x63'),'isLimit':!0x0}),_0x198564['conversion'][_0x42c3('0x55')]({'model':_0x42c3('0x35'),'view':_0x42c3('0x36')});let _0x5063b1=null;_0x198564[_0x42c3('0x18')]['on'](_0x42c3('0x4a'),(_0x3ec91a,_0x3fe4eb)=>{const [_0x4e5397,_0x5a2e95]=_0x3fe4eb,_0x4ccc30=_0x3fe4eb[_0x3fe4eb['length']-0x1];_0x4ccc30&&_0x4ccc30[_0x42c3('0x59')]||_0x36f7ee[_0x42c3('0x94')]||this[_0x42c3('0x4e')][_0x42c3('0x41')][_0x42c3('0x8c')](_0x42c3('0x7b'))['value']&&function(_0x26025a,_0x24d146,_0x1bfa51,_0x134706,_0x3a1889){if(_0x24d146&&!_0x24d146['is'](_0x42c3('0x1c')))return!0x1;const _0x3e6e44=_0x3a1889['getTableIfOnlyTableInContent'](_0x26025a,_0x1bfa51);if(!_0x3e6e44||!fe(_0x3e6e44,void 0x0,_0x134706))return!0x1;const _0x298cb5=_0x134706[_0x42c3('0x2e')](_0x1bfa51['document'][_0x42c3('0x90')]);if(!_0x298cb5[_0x42c3('0x6f')])return!0x1;const _0x335226=_0x298cb5[0x0][_0x42c3('0xc')]('table'),_0x347fa5=_0x134706[_0x42c3('0x2c')](_0x298cb5),_0x2d681e=_0x134706['getColumnIndexes'](_0x298cb5),_0x1535ed={'startRow':_0x347fa5['first'],'endRow':_0x347fa5[_0x42c3('0x7c')],'startColumn':_0x2d681e[_0x42c3('0xa0')],'endColumn':_0x2d681e[_0x42c3('0x7c')]};return 0x1==_0x298cb5[_0x42c3('0x6f')]&&(_0x1535ed[_0x42c3('0x39')]+=_0x134706[_0x42c3('0x53')](_0x3e6e44)-0x1,_0x1535ed['endColumn']+=_0x134706['getColumns'](_0x3e6e44)-0x1),fe(_0x335226,_0x1535ed,_0x134706);}(_0x4e5397,_0x5a2e95,_0x198564[_0x42c3('0x18')],_0x4e25a3,_0x2de09c)&&(_0x3ec91a['stop'](),_0x5063b1={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x198564[_0x42c3('0x18')][_0x42c3('0x6c')](()=>{_0x198564[_0x42c3('0x18')][_0x42c3('0x4a')](_0x3fe4eb[0x0],_0x3fe4eb[0x1],_0x3fe4eb[0x2],{'forceDefaultExecution':!0x0});const _0x5006af=_0xa1f25b(),{rowInsertionRanges:_0x52af91,columnInsertionRanges:_0x5c6cae,insertionRanges:_0x568d4b,deletionRanges:_0x57dbbd,cells:_0x1eb677}=_0x5063b1;_0x52af91[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x52af91,_0x42c3('0x8a'),{'tablePasteChainId':_0x5006af}),_0x5c6cae[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x5c6cae,'tablePasteColumn',{'tablePasteChainId':_0x5006af}),_0x568d4b[_0x42c3('0x6f')]&&_0x36f7ee[_0x42c3('0xa')](_0x568d4b,_0x42c3('0x20'),{'tablePasteChainId':_0x5006af,'skipNestingCheck':!0x0}),_0x57dbbd['length']&&_0x36f7ee[_0x42c3('0x9f')](_0x57dbbd,_0x42c3('0x20'),{'tablePasteChainId':_0x5006af,'skipNestingCheck':!0x0});const _0x1080bf=_0x36f7ee['markMultiRangeBlockFormat'](_0x1eb677['map'](({element:_0x344f36})=>_0x344f36),{'formatGroupId':_0xa1f25b()},[],'tablePasteCell',{'tablePasteChainId':_0x5006af});if(_0x1080bf){const _0x43fb73=_0x1080bf['getMarkers'](),_0xf1d7e7=[];for(const {element:_0x5e1631,attributes:_0x592a8d}of _0x1eb677){if(!_0x592a8d)continue;const _0x2e63b2=_0x198564[_0x42c3('0x18')][_0x42c3('0x29')](_0x5e1631),_0x5c8c33=_0x43fb73[_0x42c3('0xa3')](_0x2fedc3=>_0x2fedc3[_0x42c3('0x9e')]()['isEqual'](_0x2e63b2));_0x5c8c33&&_0xf1d7e7[_0x42c3('0x6e')]([_0x5c8c33[_0x42c3('0x78')],_0x592a8d]);}_0xf1d7e7['length']&&_0x1080bf[_0x42c3('0x38')]('markerAttributes',Object[_0x42c3('0x99')](_0xf1d7e7));}_0x5063b1=null;}));},{'priority':_0x1c2837[_0x42c3('0x67')]+0xa}),_0x198564['plugins'][_0x42c3('0x8c')]('TableClipboard')['on']('_replaceTableSlotCell',(_0x508b4d,_0x3d9096)=>{const [_0x365366,_0x5138e2,,_0xc83c02]=_0x3d9096;if(!_0x5063b1)return;_0x508b4d[_0x42c3('0x2f')]();const _0x2cf4ff=_0x365366[_0x42c3('0x51')],_0xafcef5=_0x5138e2,_0x205be9=ce(_0x2cf4ff),_0x41f92a=ce(_0xafcef5);_0x508b4d[_0x42c3('0x73')]=_0x2cf4ff;let _0xb6a873=null,_0x4afce1=null;if(_0x41f92a||_0x205be9){if(_0x205be9&&!_0x41f92a){_0xc83c02[_0x42c3('0x79')](_0x2cf4ff['getChild'](0x0));for(const _0x23e445 of Array['from'](_0xafcef5['getChildren']()))_0xc83c02[_0x42c3('0xb')](_0x23e445,_0x2cf4ff,_0x42c3('0x88'));const _0x4c1f06=_0x5063b1['rowInsertionIndexes']['includes'](_0x365366[_0x42c3('0x76')]),_0x36cc45=_0x5063b1['columnInsertionIndexes'][_0x42c3('0x58')](_0x365366['column']);_0x4c1f06||_0x36cc45||(_0xb6a873=_0xc83c02[_0x42c3('0x62')](_0x2cf4ff));}else _0x41f92a&&!_0x205be9&&(_0x4afce1=_0xc83c02['createRangeIn'](_0x2cf4ff));}else{const _0x4cb54b=_0xc83c02[_0x42c3('0x8e')](_0x42c3('0x35')),_0x45b23e=_0xc83c02['createElement'](_0x42c3('0x35'));_0xc83c02[_0x42c3('0x3e')](_0xc83c02['createRangeIn'](_0x2cf4ff),_0x45b23e),_0xc83c02[_0x42c3('0xb')](_0x4cb54b,_0x2cf4ff,0x0);for(const _0xcc3d92 of Array[_0x42c3('0x2')](_0xafcef5[_0x42c3('0x3a')]()))_0xc83c02[_0x42c3('0xb')](_0xcc3d92,_0x4cb54b,_0x42c3('0x88'));_0xb6a873=_0xc83c02[_0x42c3('0x29')](_0x4cb54b),_0x4afce1=_0xc83c02[_0x42c3('0x29')](_0x45b23e);}const _0x54fcea=Array[_0x42c3('0x2')](_0xafcef5[_0x42c3('0x81')]())[_0x42c3('0x15')](([_0xc782fa])=>le[_0x42c3('0x58')](_0xc782fa));_0x5063b1['cells'][_0x42c3('0x6e')]({'element':_0x2cf4ff,'attributes':_0x54fcea[_0x42c3('0x6f')]?Object['fromEntries'](_0x54fcea):null}),_0xb6a873&&_0x5063b1['insertionRanges']['push'](_0xb6a873),_0x4afce1&&_0x5063b1[_0x42c3('0x93')]['push'](_0x4afce1);},{'priority':_0x42c3('0x67')}),_0x4e25a3['on'](_0x42c3('0x96'),(_0xe2786d,_0x340582)=>{const [_0x13a4ad,_0x27b204={}]=_0x340582;if(!_0x5063b1)return;const _0x2cf703=_0x27b204['at']||0x0,_0x5d1791=_0x27b204[_0x42c3('0x8')]||0x1;_0x5063b1[_0x42c3('0x11')]=new Array(_0x5d1791)[_0x42c3('0x43')](_0x2cf703)['map']((_0x875f1b,_0x124714)=>_0x875f1b+_0x124714);for(const {cell:_0x1788f1}of _0x4e25a3[_0x42c3('0x85')](_0x13a4ad,{'startColumn':_0x2cf703,'endColumn':_0x2cf703+_0x5d1791-0x1}))_0x5063b1[_0x42c3('0x2d')][_0x42c3('0x6e')](_0x198564['model'][_0x42c3('0x29')](_0x1788f1));},{'priority':'low'}),_0x4e25a3['on'](_0x42c3('0x19'),(_0x48dc47,_0x46458a)=>{const [_0x40e2d2,_0x2d10fb={}]=_0x46458a;if(!_0x5063b1)return;const _0x1227bd=_0x2d10fb['at']||0x0,_0x22d441=_0x2d10fb[_0x42c3('0x97')]||0x1;_0x5063b1[_0x42c3('0x77')]=new Array(_0x22d441)[_0x42c3('0x43')](_0x1227bd)[_0x42c3('0x46')]((_0x38b68f,_0x17bec2)=>_0x38b68f+_0x17bec2);for(const {cell:_0x221568}of _0x4e25a3[_0x42c3('0x85')](_0x40e2d2,{'startRow':_0x1227bd,'endRow':_0x1227bd+_0x22d441-0x1}))_0x5063b1[_0x42c3('0x6a')][_0x42c3('0x6e')](_0x198564['model']['createRangeOn'](_0x221568));},{'priority':_0x42c3('0x16')}),_0x36f7ee[_0x42c3('0x6')][_0x42c3('0x23')](_0x4ac479=>{if(_0x4ac479[_0x42c3('0xa4')]&&_0x4ac479[_0x42c3('0xa4')][_0x42c3('0x5f')]('tablePaste'))return _0x4ac479['previous']?{}:{'type':_0x42c3('0x6b'),'content':_0x2a9e1c(_0x198564[_0x42c3('0xa1')],_0x42c3('0x48'))};});const _0xd01763=()=>!0x1;for(const _0x2f531e of[_0x42c3('0x20'),_0x42c3('0x1d'),_0x42c3('0x8a'),_0x42c3('0x54')])_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x6b'),_0x2f531e,_0x42c3('0x50'),_0xd01763),_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x83'),_0x2f531e,'join',_0xd01763),_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x98'),_0x2f531e,_0x42c3('0x50'),_0xd01763);_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x98'),_0x42c3('0x54'),'discard',_0xd01763),_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x42c3('0x98'),_0x42c3('0x54'),_0x42c3('0x49'),(_0x35fe6b,_0x285e37,_0x10cf1e)=>{const _0x3a45cb=_0x35fe6b['map'](_0x133692=>_0x133692[_0x42c3('0x91')]())[_0x42c3('0x15')](_0xd25bf5=>_0xd25bf5),_0x18221f=new Map(_0x3a45cb[_0x42c3('0x46')](_0x34d61f=>[_0x34d61f,null]));if(_0x5063b1)for(const {element:_0x81f5e0,attributes:_0x488387}of _0x5063b1[_0x42c3('0x56')])_0x488387&&_0x18221f[_0x42c3('0xd')](_0x81f5e0,_0x488387);else{if(_0x10cf1e&&_0x10cf1e[_0x42c3('0x8f')])for(const [_0xbc5227,_0x28fbf7]of Object[_0x42c3('0x2a')](_0x10cf1e[_0x42c3('0x8f')])){const _0x45c3cf=_0x198564[_0x42c3('0x18')][_0x42c3('0x2b')][_0x42c3('0x8c')](_0xbc5227),_0x25b9f3=_0x45c3cf?_0x45c3cf[_0x42c3('0x9e')]()[_0x42c3('0x91')]():null;_0x25b9f3&&_0x18221f['set'](_0x25b9f3,_0x28fbf7);}}_0x198564['model'][_0x42c3('0x6c')](_0x12b918=>{for(const [_0x3baf5c,_0x1aadfe]of _0x18221f)_0x12b918[_0x42c3('0x9a')]({...ae,..._0x1aadfe},_0x3baf5c);});});const _0x28c69a=(_0x56a9de,_0x117766)=>{_0x36f7ee[_0x42c3('0x5a')][_0x42c3('0x3c')](_0x56a9de,_0x42c3('0x20'),_0x117766,(_0x5b32ab,_0x5dbba9,_0x45494c)=>{_0x198564['model'][_0x42c3('0x6c')](_0x239058=>{const _0x417204=[];for(const _0x49186c of _0x5b32ab){const _0x2ecf81=_0x49186c['start'][_0x42c3('0x42')];_0x2ecf81['is'](_0x42c3('0x75'),_0x42c3('0x35'))&&_0x417204[_0x42c3('0x6e')](_0x2ecf81);}_0x36f7ee['_suggestionFactory'][_0x42c3('0xa2')](_0x56a9de,null,_0x117766)(_0x5b32ab,_0x5dbba9,_0x45494c);for(const _0x5ed090 of _0x417204)_0x42c3('0x3d')!=_0x5ed090['root']['rootName']&&_0x239058[_0x42c3('0x52')](_0x5ed090);});});};_0x28c69a(_0x42c3('0x6b'),_0x42c3('0x49')),_0x28c69a(_0x42c3('0x6b'),_0x42c3('0x7f')),_0x28c69a('deletion',_0x42c3('0x49')),_0x28c69a('deletion','discard'),_0x36f7ee['_suggestionFactory'][_0x42c3('0x3c')](_0x42c3('0x6b'),_0x42c3('0x8a'),'discard',_0x338076=>{const _0x4a17f4=_0x338076[_0x42c3('0x46')](_0x4b0419=>_0x4b0419[_0x42c3('0x91')]()),_0x5cc0f2=_0x4a17f4[0x0][_0x42c3('0xc')](_0x42c3('0x7e')),{minRow:_0x216a46,maxRow:_0x1c70d6}=_0x3556c4['_getCoordsForCells'](_0x4a17f4);_0x4e25a3[_0x42c3('0x9d')](_0x5cc0f2,{'at':_0x216a46,'rows':_0x1c70d6-_0x216a46+0x1});}),_0x36f7ee[_0x42c3('0x5a')]['registerCustomCallback']('insertion','tablePasteColumn',_0x42c3('0x7f'),_0x337b0f=>{const _0x4cc483=_0x337b0f['map'](_0x1f491a=>_0x1f491a[_0x42c3('0x91')]()),_0x4553af=_0x4cc483[0x0][_0x42c3('0xc')](_0x42c3('0x7e')),{minColumn:_0x12638a,maxColumn:_0x132e6b}=_0x3556c4[_0x42c3('0x7')](_0x4cc483);_0x4e25a3[_0x42c3('0x27')](_0x4553af,{'at':_0x12638a,'columns':_0x132e6b-_0x12638a+0x1});});const _0x41b835=(_0x4ec6e1,_0x23c65a)=>{if(!_0x23c65a[_0x42c3('0xa4')]||!_0x23c65a[_0x42c3('0xa4')][_0x42c3('0x5f')](_0x42c3('0x20')))return;const _0x3f3677=_0x23c65a[_0x42c3('0x13')][_0x42c3('0x72')],_0x5dad5d=_0x36f7ee[_0x42c3('0x1f')]()['filter'](_0x2a9de2=>_0x2a9de2[_0x42c3('0x45')]&&_0x2a9de2[_0x42c3('0x13')]&&_0x2a9de2['attributes']['tablePasteChainId']==_0x3f3677);_0x5dad5d[_0x42c3('0x6f')]&&_0x23c65a[_0x42c3('0x9')]()[_0x42c3('0x6f')]!=_0x5dad5d[_0x42c3('0x6f')]&&_0x5dad5d[_0x42c3('0x5')]((_0xc413df,_0xeb02ac)=>(_0xc413df[_0x42c3('0x9b')]=_0xeb02ac,_0xeb02ac[_0x42c3('0x0')]=_0xc413df,_0xeb02ac));};function _0x2be153(_0x1fa987,_0x2ce122=!0x0){const {id:_0x4f61b6}=_0x36f7ee[_0x42c3('0x70')](_0x1fa987[_0x42c3('0x71')]),_0x5438ae=[_0x42c3('0x68'),_0x42c3('0x7a')],_0x5ee2f7=_0x36f7ee['activeMarkers']['includes'](_0x1fa987['markerName']);return _0x5ee2f7&&_0x5438ae[_0x42c3('0x6e')]('ck-suggestion-marker--active'),{'classes':_0x5438ae,'attributes':{'data-suggestion':_0x4f61b6},'priority':_0x5ee2f7&&_0x2ce122?0xbc2:0xbb8};}_0x36f7ee['on']('suggestionLoaded',_0x41b835,{'priority':'high'}),_0x36f7ee['on'](_0x42c3('0x5e'),_0x41b835,{'priority':_0x42c3('0x67')}),_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')]['registerPostFixer'](()=>{let _0x79c41c=!0x1;const _0x10f5f0=Array[_0x42c3('0x2')](_0x198564[_0x42c3('0x18')]['document']['differ'][_0x42c3('0x26')]());for(const {name:_0x3a5f08,data:_0xb0214e}of _0x10f5f0){const {group:_0x26974c,type:_0x53c948,id:_0x624664}=_0x36f7ee[_0x42c3('0x70')](_0x3a5f08);if(_0x42c3('0x8d')!=_0x26974c||_0x42c3('0x83')!=_0x53c948||_0xb0214e[_0x42c3('0x1')])continue;if(!_0x36f7ee['hasSuggestion'](_0x624664))continue;const _0x5cc2f7=_0x36f7ee[_0x42c3('0x60')](_0x624664)[_0x42c3('0xe')](),_0x27eea2=_0x198564['plugins'][_0x42c3('0x8c')](_0x42c3('0x92'))['me'];for(const _0x2628f0 of _0x36f7ee['getSuggestions']()){if(!_0x2628f0[_0x42c3('0x45')]||_0x2628f0['author']!=_0x27eea2)continue;if('formatBlock'!=_0x2628f0[_0x42c3('0x31')]||_0x42c3('0x54')!=_0x2628f0[_0x42c3('0xa4')])continue;if(_0x2628f0[_0x42c3('0xe')]()[_0x42c3('0x30')](_0x3af731=>_0x5cc2f7[_0x42c3('0x64')](_0x409df4=>_0x409df4[_0x42c3('0x34')](_0x3af731,!0x0))))for(const _0x5be5a0 of _0x2628f0[_0x42c3('0x9')]())_0x5be5a0[_0x42c3('0x45')]&&(_0x5be5a0[_0x42c3('0x7f')](),_0x79c41c=!0x0);}}return _0x79c41c;}),_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')][_0x42c3('0x4c')](_0x50d1b6=>{const _0x333a2b=_0x198564[_0x42c3('0x41')][_0x42c3('0x8c')](_0x42c3('0x37'));if(!_0x333a2b||!_0x333a2b[_0x42c3('0x8b')][_0x42c3('0x1e')](_0x50d1b6['batch']))return!0x1;let _0x47c71f=!0x1;const _0x4947d1=_0x198564[_0x42c3('0x3f')]['get'](_0x42c3('0x92'))['me'],_0x41fc1b=_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')]['differ'][_0x42c3('0x12')](),_0x27cb16=Array['from'](_0x198564[_0x42c3('0x18')][_0x42c3('0x1a')][_0x42c3('0x7d')]['getChangedMarkers']())[_0x42c3('0x15')](({name:_0x42387e,data:_0x5bf084})=>{const {group:_0x4538d4,subType:_0x1651da,authorId:_0x4181fb}=_0x36f7ee[_0x42c3('0x70')](_0x42387e);return _0x42c3('0x8d')==_0x4538d4&&_0x42c3('0x20')==_0x1651da&&_0x4181fb==_0x4947d1['id']&&!_0x5bf084[_0x42c3('0x1')];});for(const _0xa4beb8 of _0x41fc1b){if('insert'!=_0xa4beb8[_0x42c3('0x31')]||_0x42c3('0x35')!=_0xa4beb8[_0x42c3('0x78')]||0x1!=_0xa4beb8[_0x42c3('0x6f')])continue;const _0xeb8e08=_0x50d1b6['createRange'](_0xa4beb8[_0x42c3('0x4d')],_0xa4beb8[_0x42c3('0x4d')]['getShiftedBy'](0x1));if(!_0x27cb16[_0x42c3('0xa3')](({data:_0x200023})=>_0x200023[_0x42c3('0x32')][_0x42c3('0x22')](_0xeb8e08)))for(const {name:_0xf99892,data:_0x321c01}of _0x27cb16)if(_0xeb8e08['containsRange'](_0x321c01[_0x42c3('0x32')])){_0x50d1b6[_0x42c3('0x9c')](_0xf99892,{'range':_0xeb8e08}),_0x47c71f=!0x0;break;}}return _0x47c71f;}),_0x198564[_0x42c3('0x18')]['document'][_0x42c3('0x4c')](_0x26cffb=>{let _0x4e3bd6=!0x1;const _0x2fe7f4=_0x198564[_0x42c3('0x3f')][_0x42c3('0x8c')](_0x42c3('0x92'))['me'],_0x4678ee=_0x36f7ee[_0x42c3('0x1f')]()[_0x42c3('0x15')](_0x286100=>_0x286100[_0x42c3('0x45')]&&_0x286100[_0x42c3('0x28')]==_0x2fe7f4),_0x4455f8=new Set(),_0x45287e=new Set();for(const _0x5e5fa0 of _0x4678ee)if(_0x42c3('0x20')==_0x5e5fa0['subType'])for(const _0x44ef22 of _0x5e5fa0[_0x42c3('0x24')]()){const _0x394a5e=_0x44ef22[_0x42c3('0x9e')]()[_0x42c3('0x91')]();if(_0x394a5e){if(_0x394a5e['is'](_0x42c3('0x75'),'tableCellSuggestion')&&ce(_0x394a5e)){_0x5e5fa0[_0x42c3('0x17')](_0x44ef22[_0x42c3('0x78')]),_0x4455f8[_0x42c3('0x65')](_0x394a5e),_0x4e3bd6=!0x0;const _0x957096=_0x394a5e[_0x42c3('0x4')],_0x2f01a8=_0x394a5e[_0x42c3('0x40')],_0x221cdb=_0x957096&&_0x957096['is'](_0x42c3('0x75'),_0x42c3('0x35')),_0x3315d2=_0x2f01a8&&_0x2f01a8['is'](_0x42c3('0x75'),'tableCellSuggestion');_0x221cdb&&!_0x4455f8[_0x42c3('0x1e')](_0x957096)&&_0x45287e[_0x42c3('0x65')](_0x957096),_0x3315d2&&!_0x4455f8['has'](_0x2f01a8)&&_0x45287e[_0x42c3('0x65')](_0x2f01a8);}else _0x394a5e['is'](_0x42c3('0x75'),'paragraph')&&_0x394a5e[_0x42c3('0x69')]&&(_0x5e5fa0[_0x42c3('0x17')](_0x44ef22[_0x42c3('0x78')]),_0x4e3bd6=!0x0);}}else{if('tablePasteCell'==_0x5e5fa0[_0x42c3('0xa4')]){if(!_0x5e5fa0[_0x42c3('0x13')]||!_0x5e5fa0['attributes'][_0x42c3('0x72')])continue;const _0x14ad23=_0x5e5fa0[_0x42c3('0x13')][_0x42c3('0x8f')];if(_0x14ad23&&Object[_0x42c3('0x57')](_0x14ad23)[_0x42c3('0x6f')])continue;const _0xc62230=_0x5e5fa0[_0x42c3('0x13')][_0x42c3('0x72')];let _0x4b0f20=!0x0,_0x12be91=!0x0;for(const _0x8ebf8d of _0x4678ee)if(_0x8ebf8d['subType']&&_0x8ebf8d[_0x42c3('0xa4')][_0x42c3('0x5f')]('tablePaste')){if(!_0x8ebf8d['attributes']['tablePasteChainId']){_0x12be91=!0x1;break;}if(_0x8ebf8d['id']!=_0x5e5fa0['id']&&_0x8ebf8d[_0x42c3('0x13')][_0x42c3('0x72')]==_0xc62230){_0x4b0f20=!0x1;break;}}_0x12be91&&_0x4b0f20&&(_0x5e5fa0['removeMarkers'](),_0x4e3bd6=!0x0);}}for(const _0x391100 of _0x4455f8)_0x26cffb[_0x42c3('0x79')](_0x391100);for(const _0x4de70f of _0x45287e)_0x26cffb[_0x42c3('0x52')](_0x4de70f);return _0x4e3bd6;}),_0x198564[_0x42c3('0x6d')][_0x42c3('0x21')](_0x42c3('0xf'))[_0x42c3('0x14')]({'model':_0x42c3('0x47'),'view':(_0x5270b7,_0x2abfd2)=>_0x2be153(_0x5270b7),'converterPriority':_0x42c3('0x67')}),_0x198564[_0x42c3('0x6d')][_0x42c3('0x21')](_0x42c3('0x87'))[_0x42c3('0x14')]({'model':_0x42c3('0x47'),'view':(_0x4d47ee,_0x490a32)=>_0x490a32['options'][_0x42c3('0x4b')]?_0x2be153(_0x4d47ee,!0x1):null,'converterPriority':'high'});const _0x223085=_0x198564['editing'][_0x42c3('0x95')];this[_0x42c3('0x61')](_0x223085[_0x42c3('0x1a')],_0x42c3('0x1b'),(_0x294e1e,_0xb7912a)=>{const _0x2700dd=[];for(const _0x247328 of _0x223085['createRangeIn'](_0xb7912a[_0x42c3('0x25')])[_0x42c3('0x80')]())_0x247328['is'](_0x42c3('0x75'),_0x42c3('0x36'))&&_0x2700dd[_0x42c3('0x6e')](_0x247328);_0x223085[_0x42c3('0x6c')](_0x4e5642=>{for(const _0x350635 of _0x2700dd)_0x4e5642[_0x42c3('0x3b')](_0x4e5642['createRangeIn'](_0x350635),_0x4e5642['createPositionBefore'](_0x350635)),_0x4e5642[_0x42c3('0x79')](_0x350635);});});}}function ce(_0x189d01){if(_0x189d01['isEmpty'])return!0x0;const _0x162e7e=_0x189d01[_0x42c3('0x5d')](0x0);return _0x162e7e['is'](_0x42c3('0x75'),_0x42c3('0x5b'))&&_0x162e7e[_0x42c3('0x69')];}function fe(_0x414a1b,_0x3890f3={},_0x10666c){for(const {isAnchor:_0x8c9ad0,cellHeight:_0x101f4a,cellWidth:_0x592b0d}of _0x10666c[_0x42c3('0x85')](_0x414a1b,{'includeAllSlots':!0x0,..._0x3890f3}))if(!_0x8c9ad0||0x1!=_0x101f4a||0x1!=_0x592b0d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35c0=['registerCustomCallback','locale','resizeColumnWidths','selection','resizeTable','document','columnWidths','editor','getContainedElement','resizeTableWidth','plugins','handleResizeTableWidthCommand','registerDescriptionCallback','format','getSuggestionCallback','subType','table','discard','commandParams','handleSuggestionDescription','get','getSuggestions','formatBlock','_descriptionFactory','getColumnGroupElement','has','Users','afterInit','_suggestionFactory','getSelectedElement','TrackChangesEditing','*Format:*\x20resize\x20table','model','getAttribute','formatGroupId','enableCommand','accept','bind','tableWidth','getTableColumnsWidths'];(function(_0x316c9a,_0x35c03e){const _0xc2555e=function(_0x2730e6){while(--_0x2730e6){_0x316c9a['push'](_0x316c9a['shift']());}};_0xc2555e(++_0x35c03e);}(_0x35c0,0x133));const _0xc255=function(_0x316c9a,_0x35c03e){_0x316c9a=_0x316c9a-0x0;let _0xc2555e=_0x35c0[_0x316c9a];return _0xc2555e;};import{Plugin as _0x5ba34a}from'ckeditor5/src/core';import{getTranslation as _0x1d9c3a}from'../utils/common-translations';export default class yt extends _0x5ba34a{[_0xc255('0x0')](){if(!this['editor']['plugins'][_0xc255('0x26')]('TableColumnResizeEditing'))return;const _0xfc4b02=this[_0xc255('0x14')][_0xc255('0x17')]['get'](_0xc255('0x3'));_0xfc4b02[_0xc255('0x8')](_0xc255('0x16'),this[_0xc255('0x18')][_0xc255('0xa')](this)),_0xfc4b02[_0xc255('0x8')](_0xc255('0xf'),this[_0xc255('0x18')][_0xc255('0xa')](this)),_0xfc4b02[_0xc255('0x1')]['registerCustomCallback'](_0xc255('0x23'),'resizeTable','accept',_0xfc4b02[_0xc255('0x1')][_0xc255('0x1b')](_0xc255('0x23'),null,'discard')),_0xfc4b02[_0xc255('0x1')][_0xc255('0xd')](_0xc255('0x23'),'resizeTable',_0xc255('0x1e'),_0xfc4b02['_suggestionFactory'][_0xc255('0x1b')](_0xc255('0x23'),null,_0xc255('0x9'))),_0xfc4b02[_0xc255('0x24')][_0xc255('0x19')](this['handleSuggestionDescription']['bind'](this));}[_0xc255('0x18')](_0x8ec2eb,_0x450a77){const _0x5cef14=this['editor'][_0xc255('0x17')][_0xc255('0x21')](_0xc255('0x3')),_0x44ec94=this[_0xc255('0x14')][_0xc255('0x17')][_0xc255('0x21')]('TableColumnResizeEditing'),_0x5d7a5f=_0x450a77[_0xc255('0x1d')]||this[_0xc255('0x14')][_0xc255('0x5')][_0xc255('0x12')][_0xc255('0x10')][_0xc255('0x2')]();this[_0xc255('0x14')]['model']['change'](()=>{const _0x5a2fcd=_0x44ec94[_0xc255('0x25')](_0x5d7a5f);let _0x2379f4=_0x5a2fcd?_0x44ec94[_0xc255('0xc')](_0x5a2fcd):null,_0x24b2e5=_0x5d7a5f[_0xc255('0x6')](_0xc255('0xb'))||null;const _0x51b17d=_0x450a77[_0xc255('0xb')]||_0x24b2e5,_0x5a6ca3=_0x450a77[_0xc255('0x13')]||_0x2379f4,_0xd5f993=this[_0xc255('0x14')][_0xc255('0x17')][_0xc255('0x21')](_0xc255('0x27'))['me'];for(const _0x244306 of _0x5cef14[_0xc255('0x22')]()){const _0x1d5be9=_0x244306[_0xc255('0x15')]();if(_0xc255('0x11')===_0x244306[_0xc255('0x1c')]&&_0x1d5be9===_0x5d7a5f){_0x244306['author']!==_0xd5f993&&_0x244306[_0xc255('0x1e')]();const _0x2a7e29=_0x244306['data'][_0xc255('0x1f')];_0x24b2e5=_0x2a7e29[0x0][_0xc255('0xb')],_0x2379f4=_0x2a7e29[0x0][_0xc255('0x13')];break;}}_0x8ec2eb({'table':_0x5d7a5f,'tableWidth':_0x51b17d,'columnWidths':_0x5a6ca3}),_0x5cef14['markBlockFormat'](_0x5d7a5f,{'commandName':_0xc255('0x16'),'commandParams':[{'tableWidth':_0x24b2e5,'columnWidths':_0x2379f4}],'formatGroupId':_0xc255('0x11')},[],_0xc255('0x11'));});}[_0xc255('0x20')](_0x321557){const {data:_0x3ed257}=_0x321557;if(_0x3ed257&&_0xc255('0x11')===_0x3ed257[_0xc255('0x7')]){const _0x445b90=_0xc255('0x4');return{'type':_0xc255('0x1a'),'content':_0x1d9c3a(this[_0xc255('0x14')][_0xc255('0xe')],_0x445b90)};}}}
23
+ const _0x39d7=['resizeColumnWidths','getSuggestionCallback','bind','handleSuggestionDescription','plugins','subType','document','accept','commandParams','resizeTableWidth','markBlockFormat','getTableColumnsWidths','registerCustomCallback','getColumnGroupElement','model','formatBlock','data','enableCommand','formatGroupId','discard','TrackChangesEditing','_descriptionFactory','resizeTable','locale','tableWidth','selection','columnWidths','afterInit','getContainedElement','author','TableColumnResizeEditing','format','has','getSelectedElement','editor','_suggestionFactory','get','handleResizeTableWidthCommand'];(function(_0x4f2fa4,_0x39d766){const _0x2bdcf9=function(_0x10c218){while(--_0x10c218){_0x4f2fa4['push'](_0x4f2fa4['shift']());}};_0x2bdcf9(++_0x39d766);}(_0x39d7,0x1b0));const _0x2bdc=function(_0x4f2fa4,_0x39d766){_0x4f2fa4=_0x4f2fa4-0x0;let _0x2bdcf9=_0x39d7[_0x4f2fa4];return _0x2bdcf9;};import{Plugin as _0x345dbb}from'ckeditor5/src/core';import{getTranslation as _0x5f49f1}from'../utils/common-translations';export default class yt extends _0x345dbb{[_0x2bdc('0xd')](){if(!this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x12')](_0x2bdc('0x10')))return;const _0x383e07=this[_0x2bdc('0x14')]['plugins']['get'](_0x2bdc('0x6'));_0x383e07[_0x2bdc('0x3')](_0x2bdc('0x21'),this[_0x2bdc('0x17')][_0x2bdc('0x1a')](this)),_0x383e07['enableCommand'](_0x2bdc('0x18'),this[_0x2bdc('0x17')][_0x2bdc('0x1a')](this)),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x24')](_0x2bdc('0x1'),_0x2bdc('0x8'),_0x2bdc('0x1f'),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x19')](_0x2bdc('0x1'),null,_0x2bdc('0x5'))),_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x24')](_0x2bdc('0x1'),_0x2bdc('0x8'),'discard',_0x383e07[_0x2bdc('0x15')][_0x2bdc('0x19')](_0x2bdc('0x1'),null,_0x2bdc('0x1f'))),_0x383e07[_0x2bdc('0x7')]['registerDescriptionCallback'](this[_0x2bdc('0x1b')][_0x2bdc('0x1a')](this));}[_0x2bdc('0x17')](_0x11f1de,_0x3e1a1a){const _0x56a6c5=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')](_0x2bdc('0x6')),_0x40a17c=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')]('TableColumnResizeEditing'),_0x3d0d73=_0x3e1a1a['table']||this[_0x2bdc('0x14')][_0x2bdc('0x0')][_0x2bdc('0x1e')][_0x2bdc('0xb')][_0x2bdc('0x13')]();this[_0x2bdc('0x14')][_0x2bdc('0x0')]['change'](()=>{const _0xf98892=_0x40a17c[_0x2bdc('0x25')](_0x3d0d73);let _0x59662e=_0xf98892?_0x40a17c[_0x2bdc('0x23')](_0xf98892):null,_0x2926d7=_0x3d0d73['getAttribute'](_0x2bdc('0xa'))||null;const _0x10356c=_0x3e1a1a[_0x2bdc('0xa')]||_0x2926d7,_0x6da05e=_0x3e1a1a['columnWidths']||_0x59662e,_0x5a61ea=this[_0x2bdc('0x14')][_0x2bdc('0x1c')][_0x2bdc('0x16')]('Users')['me'];for(const _0x43c6e4 of _0x56a6c5['getSuggestions']()){const _0xfbb874=_0x43c6e4[_0x2bdc('0xe')]();if('resizeTable'===_0x43c6e4[_0x2bdc('0x1d')]&&_0xfbb874===_0x3d0d73){_0x43c6e4[_0x2bdc('0xf')]!==_0x5a61ea&&_0x43c6e4[_0x2bdc('0x5')]();const _0x37f2c2=_0x43c6e4[_0x2bdc('0x2')][_0x2bdc('0x20')];_0x2926d7=_0x37f2c2[0x0][_0x2bdc('0xa')],_0x59662e=_0x37f2c2[0x0][_0x2bdc('0xc')];break;}}_0x11f1de({'table':_0x3d0d73,'tableWidth':_0x10356c,'columnWidths':_0x6da05e}),_0x56a6c5[_0x2bdc('0x22')](_0x3d0d73,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x2926d7,'columnWidths':_0x59662e}],'formatGroupId':_0x2bdc('0x8')},[],_0x2bdc('0x8'));});}[_0x2bdc('0x1b')](_0x2fb788){const {data:_0x2eefe9}=_0x2fb788;if(_0x2eefe9&&_0x2bdc('0x8')===_0x2eefe9[_0x2bdc('0x4')]){const _0x53f9fe='*Format:*\x20resize\x20table';return{'type':_0x2bdc('0x11'),'content':_0x5f49f1(this[_0x2bdc('0x14')][_0x2bdc('0x9')],_0x53f9fe)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f94=['getColumnIndexes','headingColumns','name','unbindElementFromMarkerName','parent','_descriptionFactory','registerCustomCallback','createTableWalker','stop','getCellLocation','addClass','consume','ck-suggestion-marker--active','data','commandParams','commands','isBefore','getAttribute','selection','childCount','format','forceValue','createPositionAfter','getRowIndexes','getSelectionAffectedTableCells','writer','getSuggestion','editor','setTableRowHeader','*Format:*\x20%0','_suggestionFactory','cell','highest','formatBlock','enableCommand','ck-suggestion-marker-','removeClass','locale','FORMAT_REGULAR_COLUMN','removeMarker:suggestion','_splitMarkerName','options','value','from','includes','nodeAfter','commandName','removeAttribute','addMarker:suggestion','markerName','headingRows','bindElementToMarker','findAncestor','getChild','editing','markerRange','FORMAT_REGULAR_ROW','last','createPositionBefore','setTableColumnHeader','createRange','data-suggestion','requires','downcastDispatcher','FORMAT_HEADER_COLUMN','_acceptFormatSuggestionCallbackFactory','index','setAttribute','nodeBefore','mapper','markerNameToElements','toViewElement','FORMAT_HEADER_ROW','model','plugins','registerDescriptionCallback','first','start','activeMarkers','get','has','change','document'];(function(_0x2508fc,_0x4f94b5){const _0x23ac46=function(_0xf52e05){while(--_0xf52e05){_0x2508fc['push'](_0x2508fc['shift']());}};_0x23ac46(++_0x4f94b5);}(_0x4f94,0xff));const _0x23ac=function(_0x2508fc,_0x4f94b5){_0x2508fc=_0x2508fc-0x0;let _0x23ac46=_0x4f94[_0x2508fc];return _0x23ac46;};import{Plugin as _0xd45bda}from'ckeditor5/src/core';import _0x4e0331 from'./table';import{getTranslation as _0x28070c}from'../utils/common-translations';export default class kt extends _0xd45bda{static get[_0x23ac('0x38')](){return[_0x4e0331];}['afterInit'](){const _0x32b434=this[_0x23ac('0x15')];if(!_0x32b434['plugins'][_0x23ac('0x4a')]('TableEditing'))return;const _0x190881=_0x32b434[_0x23ac('0x1f')],_0x1254ab=_0x32b434[_0x23ac('0x44')][_0x23ac('0x49')]('TrackChangesEditing'),_0x3aade2=_0x32b434[_0x23ac('0x44')][_0x23ac('0x49')]('TableUtils'),_0x4d0666=_0x32b434[_0x23ac('0x44')][_0x23ac('0x49')](_0x4e0331);function _0x3fbf1a({showActiveMarker:_0xbda73f=!0x0,setDataAttribute:_0x216ad4=!0x0}={}){return(_0xb2a628,_0x35e510,_0xb577df)=>{const {type:_0x25a73b,id:_0x42dc47}=_0x1254ab[_0x23ac('0x22')](_0x35e510[_0x23ac('0x2b')]),_0x43b271=_0x1254ab[_0x23ac('0x14')](_0x42dc47);if(!_0x43b271['data']||_0x23ac('0x35')!=_0x43b271['data'][_0x23ac('0x28')])return;if(_0x35e510['item'])return void _0xb2a628[_0x23ac('0x2')]();if(!_0xb577df['consumable'][_0x23ac('0x5')](_0x35e510[_0x23ac('0x31')],_0xb2a628[_0x23ac('0x4f')]))return;const _0x4224b2=_0x35e510[_0x23ac('0x31')][_0x23ac('0x47')][_0x23ac('0x27')],_0x4379eb=_0x35e510['markerRange']['end'][_0x23ac('0x3e')],_0x144925=_0x4224b2[_0x23ac('0x51')][_0x23ac('0x51')],{column:_0x4040c6}=_0x3aade2[_0x23ac('0x3')](_0x4224b2),{column:_0x2baabc}=_0x3aade2['getCellLocation'](_0x4379eb);for(let _0x3275ce=_0x4040c6;_0x3275ce<=_0x2baabc;_0x3275ce++){const _0x4a088f=_0x3aade2['createTableWalker'](_0x144925,{'column':_0x3275ce,'includeAllSlots':!0x1});for(const _0x5682ed of _0x4a088f){const _0x29b1a9=_0x5682ed[_0x23ac('0x19')],_0xac35f8=_0xb577df[_0x23ac('0x3f')][_0x23ac('0x41')](_0x29b1a9);_0xb577df[_0x23ac('0x13')][_0x23ac('0x4')](_0x23ac('0x1d')+_0x25a73b,_0xac35f8),_0x216ad4&&_0xb577df[_0x23ac('0x13')][_0x23ac('0x3d')](_0x23ac('0x37'),_0x42dc47,_0xac35f8),_0xb577df[_0x23ac('0x3f')][_0x23ac('0x2d')](_0xac35f8,_0x35e510['markerName']),_0xbda73f&&(_0x1254ab[_0x23ac('0x48')][_0x23ac('0x26')](_0x35e510[_0x23ac('0x2b')])?_0xb577df[_0x23ac('0x13')][_0x23ac('0x4')]('ck-suggestion-marker--active',_0xac35f8):_0xb577df['writer'][_0x23ac('0x1e')](_0x23ac('0x6'),_0xac35f8));}}};}_0x1254ab[_0x23ac('0x1c')]('setTableRowHeader',(_0x3c8b22,_0x4e36e4)=>{const _0x26d760=_0x3aade2[_0x23ac('0x12')](_0x32b434[_0x23ac('0x43')][_0x23ac('0x4c')]['selection']),_0x568cd9=_0x3aade2[_0x23ac('0x11')](_0x26d760),_0x505c6b=_0x26d760[0x0][_0x23ac('0x2e')]('table'),_0x5f3d90=_0x505c6b[_0x23ac('0xb')](_0x23ac('0x2c'))||0x0,_0x593d3f=_0x4e36e4&&null!==_0x4e36e4[_0x23ac('0xf')]?_0x4e36e4[_0x23ac('0xf')]:!_0x32b434['commands'][_0x23ac('0x49')](_0x23ac('0x16'))[_0x23ac('0x24')],_0x40b1a9=_0x593d3f?_0x568cd9[_0x23ac('0x33')]:_0x568cd9[_0x23ac('0x46')],_0x220661=_0x505c6b[_0x23ac('0x2f')](_0x40b1a9);let _0x1476fa;if(_0x593d3f){const _0x4e9dc6=_0x505c6b['getChild'](_0x5f3d90);if(_0x220661[_0x23ac('0x3c')]<_0x4e9dc6[_0x23ac('0x3c')])return;_0x1476fa=_0x32b434[_0x23ac('0x43')][_0x23ac('0x36')](_0x32b434[_0x23ac('0x43')][_0x23ac('0x34')](_0x4e9dc6[_0x23ac('0x2f')](0x0)),_0x32b434[_0x23ac('0x43')][_0x23ac('0x10')](_0x220661['getChild'](_0x220661[_0x23ac('0xd')]-0x1)));}else{const _0x520f85=_0x505c6b[_0x23ac('0x2f')](_0x5f3d90-0x1);if(!_0x520f85)return;_0x1476fa=_0x32b434[_0x23ac('0x43')][_0x23ac('0x36')](_0x32b434['model']['createPositionBefore'](_0x220661[_0x23ac('0x2f')](0x0)),_0x32b434[_0x23ac('0x43')]['createPositionAfter'](_0x520f85[_0x23ac('0x2f')](_0x520f85[_0x23ac('0xd')]-0x1)));}_0x32b434[_0x23ac('0x43')][_0x23ac('0x4b')](()=>{_0x1254ab['markBlockFormat'](_0x1476fa,{'commandName':_0x23ac('0x16'),'commandParams':[{'forceValue':_0x593d3f}]},[],_0x23ac('0x16'));});}),_0x1254ab['enableCommand'](_0x23ac('0x35'),(_0x3733f5,_0x56d292)=>{const _0x11edc7=_0x32b434['plugins'][_0x23ac('0x49')]('TableUtils'),_0x30b9d3=_0x11edc7['getSelectionAffectedTableCells'](_0x32b434[_0x23ac('0x43')][_0x23ac('0x4c')][_0x23ac('0xc')]),_0x54a7b8=_0x11edc7[_0x23ac('0x4d')](_0x30b9d3),_0x3130de=_0x30b9d3[0x0]['findAncestor']('table'),_0xb80189=_0x3130de['getAttribute'](_0x23ac('0x4e'))||0x0,_0x4b9b16=_0x56d292&&null!==_0x56d292[_0x23ac('0xf')]?_0x56d292[_0x23ac('0xf')]:!_0x32b434[_0x23ac('0x9')][_0x23ac('0x49')](_0x23ac('0x35'))['value'];let _0x347ab3;const _0x5b8368=_0x3130de[_0x23ac('0x2f')](0x0),_0x5f17a1=_0x4b9b16?_0x54a7b8[_0x23ac('0x33')]:_0x54a7b8[_0x23ac('0x46')],_0x237b27=_0x11edc7[_0x23ac('0x1')](_0x3130de,{'startRow':0x0,'column':_0x5f17a1,'includeAllSlots':!0x1}),_0x3e4e19=Array[_0x23ac('0x25')](_0x237b27)[0x0][_0x23ac('0x19')];if(_0x4b9b16){const _0x5f4c89=_0x5b8368['getChild'](_0xb80189);if(_0x3e4e19[_0x23ac('0xa')](_0x5f4c89))return;_0x347ab3=_0x32b434['model'][_0x23ac('0x36')](_0x32b434[_0x23ac('0x43')][_0x23ac('0x34')](_0x5f4c89),_0x32b434['model'][_0x23ac('0x10')](_0x3e4e19));}else{const _0x19c41d=_0x5b8368['getChild'](_0xb80189-0x1);if(!_0x19c41d)return;_0x347ab3=_0x32b434['model'][_0x23ac('0x36')](_0x32b434['model'][_0x23ac('0x34')](_0x3e4e19),_0x32b434[_0x23ac('0x43')][_0x23ac('0x10')](_0x19c41d));}_0x32b434['model']['change'](()=>{_0x1254ab['markBlockFormat'](_0x347ab3,{'commandName':_0x23ac('0x35'),'commandParams':[{'forceValue':_0x4b9b16}]},[],_0x23ac('0x35'));});}),_0x32b434[_0x23ac('0x30')][_0x23ac('0x39')]['on'](_0x23ac('0x2a'),_0x3fbf1a(),{'priority':_0x23ac('0x1a')}),_0x32b434[_0x23ac('0x7')][_0x23ac('0x39')]['on']('addMarker:suggestion',(_0x5a6832,_0x58634b,_0x446291)=>{_0x446291[_0x23ac('0x23')]['showSuggestionHighlights']&&_0x3fbf1a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5a6832,_0x58634b,_0x446291);},{'priority':_0x23ac('0x1a')}),_0x32b434[_0x23ac('0x30')][_0x23ac('0x39')]['on'](_0x23ac('0x21'),(_0x41f34c,_0x1c2fb1,_0x38323e)=>{const {type:_0x20c268,id:_0x3be928}=_0x1254ab[_0x23ac('0x22')](_0x1c2fb1[_0x23ac('0x2b')]),_0x51ad05=_0x1254ab[_0x23ac('0x14')](_0x3be928);if(!_0x51ad05[_0x23ac('0x7')]||_0x23ac('0x35')!=_0x51ad05['data']['commandName'])return;const _0x38fcc6=_0x38323e['mapper'][_0x23ac('0x40')](_0x1c2fb1[_0x23ac('0x2b')]);if(_0x38fcc6)for(const _0x4e0a7a of _0x38fcc6)_0x38323e[_0x23ac('0x13')][_0x23ac('0x1e')](_0x23ac('0x1d')+_0x20c268,_0x4e0a7a),_0x38323e[_0x23ac('0x13')]['removeClass'](_0x23ac('0x6'),_0x4e0a7a),_0x38323e[_0x23ac('0x13')][_0x23ac('0x29')](_0x23ac('0x37'),_0x4e0a7a),_0x38323e[_0x23ac('0x3f')][_0x23ac('0x50')](_0x4e0a7a,_0x1c2fb1['markerName']);},{'priority':_0x23ac('0x1a')}),_0x1254ab[_0x23ac('0x52')][_0x23ac('0x45')](_0x298d27=>{const {data:_0x3e2f7a}=_0x298d27;if(_0x3e2f7a){if(_0x23ac('0x16')==_0x3e2f7a[_0x23ac('0x28')]){const _0x45f3c0=_0x3e2f7a[_0x23ac('0x8')][0x0][_0x23ac('0xf')];return _0x5dc489(_0x28070c(_0x190881,_0x45f3c0?_0x23ac('0x42'):_0x23ac('0x32')));}if(_0x23ac('0x35')==_0x3e2f7a['commandName']){const _0x4291c2=_0x3e2f7a[_0x23ac('0x8')][0x0][_0x23ac('0xf')];return _0x5dc489(_0x28070c(_0x190881,_0x4291c2?_0x23ac('0x3a'):_0x23ac('0x20')));}}function _0x5dc489(_0x5b9d58){return{'type':_0x23ac('0xe'),'content':_0x28070c(_0x190881,_0x23ac('0x17'),_0x5b9d58)};}});const _0xc21d12=_0x4d0666[_0x23ac('0x3b')]();_0x1254ab[_0x23ac('0x18')][_0x23ac('0x0')]('formatBlock','setTableRowHeader','accept',_0xc21d12),_0x1254ab[_0x23ac('0x18')][_0x23ac('0x0')](_0x23ac('0x1b'),_0x23ac('0x35'),'accept',_0xc21d12);}}
23
+ const _0x5853=['plugins','createTableWalker','commandName','TrackChangesEditing','registerCustomCallback','data-suggestion','formatBlock','createRange','headingRows','_descriptionFactory','change','showSuggestionHighlights','getColumnIndexes','last','cell','forceValue','setTableRowHeader','mapper','commands','markBlockFormat','highest','name','TableUtils','getCellLocation','getChild','item','start','createPositionAfter','unbindElementFromMarkerName','childCount','writer','addClass','_splitMarkerName','setTableColumnHeader','removeClass','getSelectionAffectedTableCells','nodeBefore','removeMarker:suggestion','table','downcastDispatcher','editor','addMarker:suggestion','locale','selection','get','ck-suggestion-marker-','registerDescriptionCallback','stop','index','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','markerName','getAttribute','has','getSuggestion','toViewElement','isBefore','format','first','requires','document','markerRange','parent','model','commandParams','*Format:*\x20%0','accept','from','value','setAttribute','findAncestor','createPositionBefore','removeAttribute','consumable','data','FORMAT_HEADER_ROW','afterInit','_acceptFormatSuggestionCallbackFactory','bindElementToMarker','getRowIndexes','enableCommand','markerNameToElements','activeMarkers','_suggestionFactory'];(function(_0x349a7e,_0x585378){const _0x78ab78=function(_0xf62e2d){while(--_0xf62e2d){_0x349a7e['push'](_0x349a7e['shift']());}};_0x78ab78(++_0x585378);}(_0x5853,0x141));const _0x78ab=function(_0x349a7e,_0x585378){_0x349a7e=_0x349a7e-0x0;let _0x78ab78=_0x5853[_0x349a7e];return _0x78ab78;};import{Plugin as _0x4c8e6a}from'ckeditor5/src/core';import _0x2fe631 from'./table';import{getTranslation as _0x52c35b}from'../utils/common-translations';export default class kt extends _0x4c8e6a{static get[_0x78ab('0x4a')](){return[_0x2fe631];}[_0x78ab('0x7')](){const _0x475732=this[_0x78ab('0x37')];if(!_0x475732[_0x78ab('0xf')][_0x78ab('0x44')]('TableEditing'))return;const _0x7e16e6=_0x475732[_0x78ab('0x39')],_0x1d8545=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x78ab('0x12')),_0x4c2e0f=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x78ab('0x25')),_0x23da26=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')](_0x2fe631);function _0x45a9ff({showActiveMarker:_0x15f0cf=!0x0,setDataAttribute:_0x421bb2=!0x0}={}){return(_0x5de9f8,_0x22f983,_0x1f3f83)=>{const {type:_0x1bdf6c,id:_0x38c5d3}=_0x1d8545[_0x78ab('0x2f')](_0x22f983['markerName']),_0x327f2b=_0x1d8545[_0x78ab('0x45')](_0x38c5d3);if(!_0x327f2b['data']||'setTableColumnHeader'!=_0x327f2b[_0x78ab('0x5')][_0x78ab('0x11')])return;if(_0x22f983[_0x78ab('0x28')])return void _0x5de9f8[_0x78ab('0x3e')]();if(!_0x1f3f83[_0x78ab('0x4')]['consume'](_0x22f983[_0x78ab('0x4c')],_0x5de9f8[_0x78ab('0x24')]))return;const _0x290115=_0x22f983[_0x78ab('0x4c')][_0x78ab('0x29')]['nodeAfter'],_0xca9d13=_0x22f983[_0x78ab('0x4c')]['end'][_0x78ab('0x33')],_0x42e247=_0x290115[_0x78ab('0x4d')][_0x78ab('0x4d')],{column:_0x84df85}=_0x4c2e0f[_0x78ab('0x26')](_0x290115),{column:_0x4ce5d8}=_0x4c2e0f['getCellLocation'](_0xca9d13);for(let _0x5dcf35=_0x84df85;_0x5dcf35<=_0x4ce5d8;_0x5dcf35++){const _0x108394=_0x4c2e0f[_0x78ab('0x10')](_0x42e247,{'column':_0x5dcf35,'includeAllSlots':!0x1});for(const _0x4898c3 of _0x108394){const _0x3b4071=_0x4898c3['cell'],_0x37a33f=_0x1f3f83[_0x78ab('0x20')][_0x78ab('0x46')](_0x3b4071);_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x2e')](_0x78ab('0x3c')+_0x1bdf6c,_0x37a33f),_0x421bb2&&_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x0')]('data-suggestion',_0x38c5d3,_0x37a33f),_0x1f3f83[_0x78ab('0x20')][_0x78ab('0x9')](_0x37a33f,_0x22f983[_0x78ab('0x42')]),_0x15f0cf&&(_0x1d8545[_0x78ab('0xd')]['includes'](_0x22f983[_0x78ab('0x42')])?_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x2e')](_0x78ab('0x41'),_0x37a33f):_0x1f3f83[_0x78ab('0x2d')][_0x78ab('0x31')](_0x78ab('0x41'),_0x37a33f));}}};}_0x1d8545[_0x78ab('0xb')](_0x78ab('0x1f'),(_0x59b233,_0x2557a5)=>{const _0x45781b=_0x4c2e0f[_0x78ab('0x32')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x4b')][_0x78ab('0x3a')]),_0x3facef=_0x4c2e0f[_0x78ab('0xa')](_0x45781b),_0x59fef3=_0x45781b[0x0][_0x78ab('0x1')](_0x78ab('0x35')),_0x59016b=_0x59fef3[_0x78ab('0x43')](_0x78ab('0x17'))||0x0,_0x2a621e=_0x2557a5&&null!==_0x2557a5['forceValue']?_0x2557a5['forceValue']:!_0x475732[_0x78ab('0x21')][_0x78ab('0x3b')](_0x78ab('0x1f'))[_0x78ab('0x53')],_0x2d07cb=_0x2a621e?_0x3facef[_0x78ab('0x1c')]:_0x3facef[_0x78ab('0x49')],_0x1a27de=_0x59fef3['getChild'](_0x2d07cb);let _0xe1edf3;if(_0x2a621e){const _0x396f36=_0x59fef3[_0x78ab('0x27')](_0x59016b);if(_0x1a27de[_0x78ab('0x3f')]<_0x396f36[_0x78ab('0x3f')])return;_0xe1edf3=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x396f36[_0x78ab('0x27')](0x0)),_0x475732[_0x78ab('0x4e')]['createPositionAfter'](_0x1a27de['getChild'](_0x1a27de[_0x78ab('0x2c')]-0x1)));}else{const _0x1b9141=_0x59fef3[_0x78ab('0x27')](_0x59016b-0x1);if(!_0x1b9141)return;_0xe1edf3=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x1a27de[_0x78ab('0x27')](0x0)),_0x475732[_0x78ab('0x4e')]['createPositionAfter'](_0x1b9141['getChild'](_0x1b9141[_0x78ab('0x2c')]-0x1)));}_0x475732[_0x78ab('0x4e')][_0x78ab('0x19')](()=>{_0x1d8545[_0x78ab('0x22')](_0xe1edf3,{'commandName':_0x78ab('0x1f'),'commandParams':[{'forceValue':_0x2a621e}]},[],_0x78ab('0x1f'));});}),_0x1d8545[_0x78ab('0xb')](_0x78ab('0x30'),(_0x5c4597,_0x58a4be)=>{const _0x56e93a=_0x475732[_0x78ab('0xf')][_0x78ab('0x3b')]('TableUtils'),_0x35ca3c=_0x56e93a[_0x78ab('0x32')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x4b')]['selection']),_0x5a4711=_0x56e93a[_0x78ab('0x1b')](_0x35ca3c),_0x5958e2=_0x35ca3c[0x0][_0x78ab('0x1')](_0x78ab('0x35')),_0x26d520=_0x5958e2['getAttribute']('headingColumns')||0x0,_0x4b6786=_0x58a4be&&null!==_0x58a4be[_0x78ab('0x1e')]?_0x58a4be[_0x78ab('0x1e')]:!_0x475732['commands'][_0x78ab('0x3b')](_0x78ab('0x30'))[_0x78ab('0x53')];let _0x2a5e38;const _0x321491=_0x5958e2[_0x78ab('0x27')](0x0),_0x4ee366=_0x4b6786?_0x5a4711[_0x78ab('0x1c')]:_0x5a4711[_0x78ab('0x49')],_0x573183=_0x56e93a[_0x78ab('0x10')](_0x5958e2,{'startRow':0x0,'column':_0x4ee366,'includeAllSlots':!0x1}),_0x996324=Array[_0x78ab('0x52')](_0x573183)[0x0][_0x78ab('0x1d')];if(_0x4b6786){const _0x3098c6=_0x321491[_0x78ab('0x27')](_0x26d520);if(_0x996324[_0x78ab('0x47')](_0x3098c6))return;_0x2a5e38=_0x475732['model'][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x3098c6),_0x475732[_0x78ab('0x4e')][_0x78ab('0x2a')](_0x996324));}else{const _0x27458c=_0x321491['getChild'](_0x26d520-0x1);if(!_0x27458c)return;_0x2a5e38=_0x475732[_0x78ab('0x4e')][_0x78ab('0x16')](_0x475732[_0x78ab('0x4e')][_0x78ab('0x2')](_0x996324),_0x475732[_0x78ab('0x4e')][_0x78ab('0x2a')](_0x27458c));}_0x475732['model'][_0x78ab('0x19')](()=>{_0x1d8545[_0x78ab('0x22')](_0x2a5e38,{'commandName':_0x78ab('0x30'),'commandParams':[{'forceValue':_0x4b6786}]},[],_0x78ab('0x30'));});}),_0x475732['editing'][_0x78ab('0x36')]['on'](_0x78ab('0x38'),_0x45a9ff(),{'priority':'highest'}),_0x475732['data'][_0x78ab('0x36')]['on'](_0x78ab('0x38'),(_0x5dd142,_0x5559c1,_0x432a50)=>{_0x432a50['options'][_0x78ab('0x1a')]&&_0x45a9ff({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5dd142,_0x5559c1,_0x432a50);},{'priority':_0x78ab('0x23')}),_0x475732['editing']['downcastDispatcher']['on'](_0x78ab('0x34'),(_0x2c0cb9,_0x1b5968,_0x36c6da)=>{const {type:_0x358266,id:_0x4c5eed}=_0x1d8545['_splitMarkerName'](_0x1b5968[_0x78ab('0x42')]),_0x20d9c7=_0x1d8545[_0x78ab('0x45')](_0x4c5eed);if(!_0x20d9c7['data']||'setTableColumnHeader'!=_0x20d9c7[_0x78ab('0x5')]['commandName'])return;const _0xc63d98=_0x36c6da[_0x78ab('0x20')][_0x78ab('0xc')](_0x1b5968[_0x78ab('0x42')]);if(_0xc63d98)for(const _0xeb616 of _0xc63d98)_0x36c6da['writer'][_0x78ab('0x31')](_0x78ab('0x3c')+_0x358266,_0xeb616),_0x36c6da[_0x78ab('0x2d')]['removeClass'](_0x78ab('0x41'),_0xeb616),_0x36c6da['writer'][_0x78ab('0x3')](_0x78ab('0x14'),_0xeb616),_0x36c6da[_0x78ab('0x20')][_0x78ab('0x2b')](_0xeb616,_0x1b5968[_0x78ab('0x42')]);},{'priority':_0x78ab('0x23')}),_0x1d8545[_0x78ab('0x18')][_0x78ab('0x3d')](_0x526c93=>{const {data:_0x5c8beb}=_0x526c93;if(_0x5c8beb){if(_0x78ab('0x1f')==_0x5c8beb[_0x78ab('0x11')]){const _0x4c87cb=_0x5c8beb[_0x78ab('0x4f')][0x0]['forceValue'];return _0x3ced49(_0x52c35b(_0x7e16e6,_0x4c87cb?_0x78ab('0x6'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5c8beb[_0x78ab('0x11')]){const _0x331255=_0x5c8beb[_0x78ab('0x4f')][0x0][_0x78ab('0x1e')];return _0x3ced49(_0x52c35b(_0x7e16e6,_0x331255?_0x78ab('0x40'):'FORMAT_REGULAR_COLUMN'));}}function _0x3ced49(_0x9ea83a){return{'type':_0x78ab('0x48'),'content':_0x52c35b(_0x7e16e6,_0x78ab('0x50'),_0x9ea83a)};}});const _0x4aae88=_0x23da26[_0x78ab('0x8')]();_0x1d8545[_0x78ab('0xe')][_0x78ab('0x13')](_0x78ab('0x15'),_0x78ab('0x1f'),_0x78ab('0x51'),_0x4aae88),_0x1d8545['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x78ab('0x30'),_0x78ab('0x51'),_0x4aae88);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8a05=['getSelectionAffectedTableCells','commands','_descriptionFactory','mergeTableCellRight','detach','find','containsRange','filter','value','*Split\x20cell:*\x20vertically','length','stop','document','from','subType','setSelection','_suggestionFactory','author','model','low','mergeTableCells','mergeTableCellLeft','map','getAncestors','add','execute','deletion','direction','locale','_isForcedDefaultExecutionBlock','findAncestor','registerCustomCallback','TableEditing','editor','selection','_acceptFormatSuggestionCallbackFactory','getFirstPosition','splitTableCellVertically','createTableWalker','push','getCellLocation','table','formatBlock','registerDescriptionCallback','plugins','mergeTableCellUp','commandName','_areMergableCells','tableCell','get','return','mergeTableCellDown','TrackChangesEditing','cell','isInContent','markMultiRangeBlockFormat','createRangeOn','format','splitTableCellHorizontally','$graveyard','rootName','change','*Merge\x20cells*','element','TableUtils','set:isEnabled','fromRange','size','*Split\x20cell:*\x20horizontally','_areSelectedCellsMergable','getSuggestions','accept','enableCommand','markBlockFormat','type','refresh','horizontally'];(function(_0x49bbc1,_0x8a0554){const _0x4e8e17=function(_0x3305a4){while(--_0x3305a4){_0x49bbc1['push'](_0x49bbc1['shift']());}};_0x4e8e17(++_0x8a0554);}(_0x8a05,0x19a));const _0x4e8e=function(_0x49bbc1,_0x8a0554){_0x49bbc1=_0x49bbc1-0x0;let _0x4e8e17=_0x8a05[_0x49bbc1];return _0x4e8e17;};import{Plugin as _0x5d3dac}from'ckeditor5/src/core';import _0x4aa5e6 from'./table';import{LiveRange as _0x24ac9e}from'ckeditor5/src/engine';import{getTranslation as _0x166682}from'../utils/common-translations';export default class pt extends _0x5d3dac{static get['requires'](){return[_0x4aa5e6];}['afterInit'](){const _0x5c4a4a=this['editor'],_0x142f8c=_0x5c4a4a[_0x4e8e('0x46')]['document'][_0x4e8e('0x9')],_0x53b4bd=_0x5c4a4a[_0x4e8e('0x3')];if(!_0x5c4a4a['plugins']['has'](_0x4e8e('0x7')))return;const _0x34a09a=_0x5c4a4a[_0x4e8e('0x13')][_0x4e8e('0x18')](_0x4e8e('0x1b')),_0x39e069=_0x5c4a4a[_0x4e8e('0x13')][_0x4e8e('0x18')](_0x4e8e('0x27')),_0x591a2f=_0x5c4a4a[_0x4e8e('0x13')][_0x4e8e('0x18')](_0x4aa5e6);_0x591a2f['_tablePostFixingSubtypes'][_0x4e8e('0xe')](_0x4e8e('0x48')),_0x34a09a[_0x4e8e('0x2f')]('mergeTableCells',()=>{const _0x33586f=_0x39e069['getSelectionAffectedTableCells'](_0x5c4a4a[_0x4e8e('0x46')][_0x4e8e('0x40')][_0x4e8e('0x9')]);_0x5c4a4a[_0x4e8e('0x46')][_0x4e8e('0x24')](()=>{_0x34a09a[_0x4e8e('0x1e')](_0x33586f,{'commandName':_0x4e8e('0x48'),'commandParams':[]},[],_0x4e8e('0x48'));});}),_0x5c4a4a['commands'][_0x4e8e('0x18')](_0x4e8e('0x48'))['on']('execute',(_0x37eb7b,_0x3d1640)=>{_0x5c4a4a[_0x4e8e('0x35')][_0x4e8e('0x18')]('trackChanges')[_0x4e8e('0x3c')]&&(_0x3d1640[_0x4e8e('0x3e')]>0x0&&_0x3d1640[_0x3d1640[_0x4e8e('0x3e')]-0x1]&&_0x3d1640[_0x3d1640[_0x4e8e('0x3e')]-0x1]['forceDefaultExecution']||_0x34a09a[_0x4e8e('0x4')]||this[_0x4e8e('0x2c')]()||_0x37eb7b[_0x4e8e('0x3f')]());},{'priority':'highest'});for(const _0x4a11dc of[_0x4e8e('0x14'),_0x4e8e('0x37'),_0x4e8e('0x1a'),'mergeTableCellLeft']){const _0x4754cb=_0x5c4a4a[_0x4e8e('0x35')][_0x4e8e('0x18')](_0x4a11dc);_0x34a09a[_0x4e8e('0x2f')](_0x4a11dc,()=>{const _0x1a58ff=_0x5c4a4a[_0x4e8e('0x46')]['document'][_0x4e8e('0x9')][_0x4e8e('0xb')]()['getAncestors']()['find'](_0x1e6ba7=>_0x1e6ba7['is'](_0x4e8e('0x26'),'tableCell')),_0x28a092=_0x4754cb['value'];_0x5c4a4a[_0x4e8e('0x46')][_0x4e8e('0x24')](()=>{_0x34a09a[_0x4e8e('0x1e')]([_0x1a58ff,_0x28a092],{'commandName':'mergeTableCells','commandParams':[]},[],_0x4e8e('0x48'));});});}for(const _0x5b53f3 of['splitTableCellVertically',_0x4e8e('0x21')]){const _0x32922a=_0x5c4a4a[_0x4e8e('0x35')]['get'](_0x5b53f3);_0x34a09a[_0x4e8e('0x2f')](_0x5b53f3,()=>{const _0x464cbf=_0x39e069[_0x4e8e('0x34')](_0x5c4a4a['model'][_0x4e8e('0x40')]['selection'])[0x0],_0x3edcdd=_0x464cbf[_0x4e8e('0x5')](_0x4e8e('0x10')),{column:_0xf3ebc3,row:_0x180a8b}=_0x39e069[_0x4e8e('0xf')](_0x464cbf);let _0x3af1dd=[];if(_0x4e8e('0x33')==_0x32922a[_0x4e8e('0x2')]){const _0x1bbcf9=_0x39e069['createTableWalker'](_0x3edcdd,{'startRow':_0x180a8b,'endRow':_0x180a8b,'includeAllSlots':!0x0});_0x3af1dd=Array[_0x4e8e('0x41')](_0x1bbcf9)[_0x4e8e('0x4a')](_0x380216=>_0x380216[_0x4e8e('0x1c')]);}else{const _0xd0794e=_0x39e069[_0x4e8e('0xd')](_0x3edcdd,{'column':_0xf3ebc3,'includeAllSlots':!0x0});_0x3af1dd=Array[_0x4e8e('0x41')](_0xd0794e)['map'](_0x2d0fd0=>_0x2d0fd0[_0x4e8e('0x1c')]);}_0x5c4a4a[_0x4e8e('0x46')]['change'](_0x1e4a3a=>{_0x34a09a[_0x4e8e('0x30')](_0x1e4a3a[_0x4e8e('0x1f')](_0x464cbf),{'commandName':_0x5b53f3,'commandParams':[]},_0x3af1dd,_0x5b53f3);});});}_0x34a09a[_0x4e8e('0x36')][_0x4e8e('0x12')](_0x2c1027=>{const {data:_0x3a2fa9}=_0x2c1027;if(_0x3a2fa9)return _0x4e8e('0x48')==_0x3a2fa9[_0x4e8e('0x15')]?{'type':_0x4e8e('0x20'),'content':_0x166682(_0x53b4bd,_0x4e8e('0x25'))}:void 0x0;}),_0x34a09a[_0x4e8e('0x36')][_0x4e8e('0x12')](_0x12e28b=>{const {data:_0x2e2697}=_0x12e28b;if(_0x2e2697)return _0x4e8e('0xc')==_0x2e2697[_0x4e8e('0x15')]?{'type':_0x4e8e('0x20'),'content':_0x166682(_0x53b4bd,_0x4e8e('0x3d'))}:_0x4e8e('0x21')==_0x2e2697[_0x4e8e('0x15')]?{'type':_0x4e8e('0x20'),'content':_0x166682(_0x53b4bd,_0x4e8e('0x2b'))}:void 0x0;});const _0x489b84=_0x591a2f[_0x4e8e('0xa')]();for(const _0x459df2 of[_0x4e8e('0x14'),_0x4e8e('0x37'),_0x4e8e('0x1a'),_0x4e8e('0x49')])_0x34a09a[_0x4e8e('0x44')][_0x4e8e('0x6')](_0x4e8e('0x11'),_0x459df2,_0x4e8e('0x2e'),_0x489b84);for(const _0x408f40 of[_0x4e8e('0xc'),_0x4e8e('0x21')])_0x34a09a['_suggestionFactory'][_0x4e8e('0x6')](_0x4e8e('0x11'),_0x408f40,_0x4e8e('0x2e'),_0x489b84);_0x34a09a[_0x4e8e('0x44')][_0x4e8e('0x6')](_0x4e8e('0x11'),_0x4e8e('0x48'),'accept',_0x36c303=>{_0x5c4a4a[_0x4e8e('0x46')][_0x4e8e('0x24')](_0x5a79e8=>{const _0x267333=Array[_0x4e8e('0x41')](_0x142f8c['getRanges']())['map'](_0x3fa7b1=>_0x24ac9e[_0x4e8e('0x29')](_0x3fa7b1));_0x5a79e8[_0x4e8e('0x43')](_0x36c303),_0x5c4a4a[_0x4e8e('0x35')][_0x4e8e('0x18')]('mergeTableCells')[_0x4e8e('0x32')](),_0x5c4a4a[_0x4e8e('0x0')](_0x4e8e('0x48'),{'forceDefaultExecution':!0x0});const _0x43d1b1=_0x267333[_0x4e8e('0x3b')](_0x453be2=>_0x4e8e('0x22')!=_0x453be2['root'][_0x4e8e('0x23')]);_0x43d1b1[_0x4e8e('0x3e')]>0x0&&_0x5a79e8[_0x4e8e('0x43')](_0x43d1b1);for(const _0x337223 of _0x267333)_0x337223[_0x4e8e('0x38')]();});});for(const _0x3230db of[_0x4e8e('0x14'),'mergeTableCellDown',_0x4e8e('0x49'),_0x4e8e('0x37')]){const _0x52a009=_0x5c4a4a[_0x4e8e('0x35')][_0x4e8e('0x18')](_0x3230db);_0x52a009['on'](_0x4e8e('0x28'),(_0x2e03df,_0x265089,_0x35fd1f)=>{if(_0x35fd1f){const _0x14e9c5=_0x5c4a4a['model']['document'][_0x4e8e('0x9')][_0x4e8e('0xb')]()[_0x4e8e('0x4b')]()[_0x4e8e('0x39')](_0x2ecdf1=>_0x2ecdf1['is'](_0x4e8e('0x26'),_0x4e8e('0x17')));this[_0x4e8e('0x16')](_0x52a009[_0x4e8e('0x3c')],_0x14e9c5)||(_0x2e03df[_0x4e8e('0x19')]=!0x1,_0x2e03df[_0x4e8e('0x3f')]());}},{'priority':_0x4e8e('0x47')});}}[_0x4e8e('0x2c')](){const _0x5e7a31=this[_0x4e8e('0x8')]['commands']['get'](_0x4e8e('0x48')),_0x4cb52c=this[_0x4e8e('0x8')][_0x4e8e('0x13')]['get'](_0x4e8e('0x27'));if(!_0x5e7a31['isEnabled'])return!0x1;const _0xebb7ce=_0x4cb52c['getSelectionAffectedTableCells'](this[_0x4e8e('0x8')][_0x4e8e('0x46')][_0x4e8e('0x40')]['selection']);for(const _0x52cdc4 of _0xebb7ce)for(const _0x31a2a5 of _0xebb7ce)if(_0x52cdc4!=_0x31a2a5&&!this[_0x4e8e('0x16')](_0x52cdc4,_0x31a2a5))return!0x1;return!0x0;}[_0x4e8e('0x16')](_0xb6409,_0x32cc9b){const _0x57369b=this[_0x4e8e('0x8')][_0x4e8e('0x13')]['get']('TrackChangesEditing'),_0x37e1b9=this[_0x4e8e('0x8')][_0x4e8e('0x46')][_0x4e8e('0x1f')](_0xb6409),_0x39395f=this['editor'][_0x4e8e('0x46')]['createRangeOn'](_0x32cc9b),_0x1c73c6=new Set(),_0x2ce7eb=new Set();for(const _0x4526f3 of _0x57369b[_0x4e8e('0x2d')]())if(('insertion'==_0x4526f3[_0x4e8e('0x31')]||_0x4e8e('0x1')==_0x4526f3[_0x4e8e('0x31')]||_0x4e8e('0x48')==_0x4526f3[_0x4e8e('0x42')])&&_0x4526f3[_0x4e8e('0x1d')])for(const _0x9093e of _0x4526f3['getRanges']())_0x9093e[_0x4e8e('0x3a')](_0x37e1b9,!0x0)&&_0x1c73c6[_0x4e8e('0x4c')](_0x4526f3[_0x4e8e('0x31')]+':'+_0x4526f3[_0x4e8e('0x45')]['id']),_0x9093e[_0x4e8e('0x3a')](_0x39395f,!0x0)&&_0x2ce7eb['add'](_0x4526f3[_0x4e8e('0x31')]+':'+_0x4526f3[_0x4e8e('0x45')]['id']);if(_0x1c73c6[_0x4e8e('0x2a')]!=_0x2ce7eb[_0x4e8e('0x2a')])return!0x1;for(const _0x1184af of _0x1c73c6)if(!_0x2ce7eb['has'](_0x1184af))return!0x1;return!0x0;}}
23
+ const _0x359e=['has','set:isEnabled','_suggestionFactory','filter','horizontally','_areSelectedCellsMergable','findAncestor','enableCommand','getRanges','$graveyard','get','registerCustomCallback','markBlockFormat','refresh','requires','format','subType','size','formatBlock','TrackChangesEditing','from','add','mergeTableCellRight','getCellLocation','fromRange','TableEditing','commands','detach','splitTableCellHorizontally','insertion','find','length','_descriptionFactory','*Split\x20cell:*\x20horizontally','cell','accept','locale','element','registerDescriptionCallback','isEnabled','mergeTableCells','change','author','model','createTableWalker','commandName','type','_isForcedDefaultExecutionBlock','tableCell','editor','plugins','selection','stop','*Merge\x20cells*','mergeTableCellDown','getAncestors','map','value','root','rootName','containsRange','highest','trackChanges','forceDefaultExecution','document','mergeTableCellLeft','_areMergableCells','push','setSelection','splitTableCellVertically','_tablePostFixingSubtypes','getSelectionAffectedTableCells','execute','createRangeOn','markMultiRangeBlockFormat','getFirstPosition','mergeTableCellUp'];(function(_0x4ab87f,_0x359e45){const _0x32a357=function(_0xb4e88a){while(--_0xb4e88a){_0x4ab87f['push'](_0x4ab87f['shift']());}};_0x32a357(++_0x359e45);}(_0x359e,0x19e));const _0x32a3=function(_0x4ab87f,_0x359e45){_0x4ab87f=_0x4ab87f-0x0;let _0x32a357=_0x359e[_0x4ab87f];return _0x32a357;};import{Plugin as _0x2b16f0}from'ckeditor5/src/core';import _0x38b2eb from'./table';import{LiveRange as _0x4e963c}from'ckeditor5/src/engine';import{getTranslation as _0x5c8dca}from'../utils/common-translations';export default class pt extends _0x2b16f0{static get[_0x32a3('0x3e')](){return[_0x38b2eb];}['afterInit'](){const _0x63d9c9=this[_0x32a3('0x14')],_0xe1c5e0=_0x63d9c9[_0x32a3('0xe')]['document'][_0x32a3('0x16')],_0x2b7897=_0x63d9c9[_0x32a3('0x7')];if(!_0x63d9c9[_0x32a3('0x15')][_0x32a3('0x30')](_0x32a3('0x49')))return;const _0x5602e6=_0x63d9c9[_0x32a3('0x15')]['get'](_0x32a3('0x43')),_0x4c24a8=_0x63d9c9[_0x32a3('0x15')]['get']('TableUtils'),_0x1cc245=_0x63d9c9['plugins'][_0x32a3('0x3a')](_0x38b2eb);_0x1cc245[_0x32a3('0x29')][_0x32a3('0x26')](_0x32a3('0xb')),_0x5602e6[_0x32a3('0x37')](_0x32a3('0xb'),()=>{const _0x1e7dc7=_0x4c24a8[_0x32a3('0x2a')](_0x63d9c9[_0x32a3('0xe')][_0x32a3('0x23')][_0x32a3('0x16')]);_0x63d9c9[_0x32a3('0xe')][_0x32a3('0xc')](()=>{_0x5602e6[_0x32a3('0x2d')](_0x1e7dc7,{'commandName':'mergeTableCells','commandParams':[]},[],_0x32a3('0xb'));});}),_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb'))['on'](_0x32a3('0x2b'),(_0x5c6f5f,_0x2b0f03)=>{_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0x21'))[_0x32a3('0x1c')]&&(_0x2b0f03[_0x32a3('0x2')]>0x0&&_0x2b0f03[_0x2b0f03['length']-0x1]&&_0x2b0f03[_0x2b0f03[_0x32a3('0x2')]-0x1][_0x32a3('0x22')]||_0x5602e6[_0x32a3('0x12')]||this[_0x32a3('0x35')]()||_0x5c6f5f[_0x32a3('0x17')]());},{'priority':_0x32a3('0x20')});for(const _0x12c3a3 of[_0x32a3('0x2f'),_0x32a3('0x46'),_0x32a3('0x19'),_0x32a3('0x24')]){const _0x2ae587=_0x63d9c9['commands']['get'](_0x12c3a3);_0x5602e6[_0x32a3('0x37')](_0x12c3a3,()=>{const _0x3347b9=_0x63d9c9[_0x32a3('0xe')][_0x32a3('0x23')][_0x32a3('0x16')][_0x32a3('0x2e')]()[_0x32a3('0x1a')]()[_0x32a3('0x1')](_0x5ac1d0=>_0x5ac1d0['is'](_0x32a3('0x8'),_0x32a3('0x13'))),_0x23c064=_0x2ae587[_0x32a3('0x1c')];_0x63d9c9[_0x32a3('0xe')][_0x32a3('0xc')](()=>{_0x5602e6[_0x32a3('0x2d')]([_0x3347b9,_0x23c064],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x27c57b of[_0x32a3('0x28'),'splitTableCellHorizontally']){const _0x415e5e=_0x63d9c9['commands'][_0x32a3('0x3a')](_0x27c57b);_0x5602e6['enableCommand'](_0x27c57b,()=>{const _0x225a03=_0x4c24a8[_0x32a3('0x2a')](_0x63d9c9['model'][_0x32a3('0x23')][_0x32a3('0x16')])[0x0],_0x1a43d7=_0x225a03[_0x32a3('0x36')]('table'),{column:_0x1f5bf6,row:_0x260907}=_0x4c24a8[_0x32a3('0x47')](_0x225a03);let _0x2f5e95=[];if(_0x32a3('0x34')==_0x415e5e['direction']){const _0x4f81a0=_0x4c24a8[_0x32a3('0xf')](_0x1a43d7,{'startRow':_0x260907,'endRow':_0x260907,'includeAllSlots':!0x0});_0x2f5e95=Array[_0x32a3('0x44')](_0x4f81a0)[_0x32a3('0x1b')](_0x22c3fc=>_0x22c3fc[_0x32a3('0x5')]);}else{const _0xd2f3f=_0x4c24a8[_0x32a3('0xf')](_0x1a43d7,{'column':_0x1f5bf6,'includeAllSlots':!0x0});_0x2f5e95=Array[_0x32a3('0x44')](_0xd2f3f)[_0x32a3('0x1b')](_0x1d2421=>_0x1d2421[_0x32a3('0x5')]);}_0x63d9c9[_0x32a3('0xe')]['change'](_0x596a3e=>{_0x5602e6[_0x32a3('0x3c')](_0x596a3e[_0x32a3('0x2c')](_0x225a03),{'commandName':_0x27c57b,'commandParams':[]},_0x2f5e95,_0x27c57b);});});}_0x5602e6[_0x32a3('0x3')][_0x32a3('0x9')](_0x54a716=>{const {data:_0x2ef83a}=_0x54a716;if(_0x2ef83a)return _0x32a3('0xb')==_0x2ef83a[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,_0x32a3('0x18'))}:void 0x0;}),_0x5602e6[_0x32a3('0x3')][_0x32a3('0x9')](_0x40afb1=>{const {data:_0x53101b}=_0x40afb1;if(_0x53101b)return'splitTableCellVertically'==_0x53101b[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,'*Split\x20cell:*\x20vertically')}:_0x32a3('0x4c')==_0x53101b[_0x32a3('0x10')]?{'type':_0x32a3('0x3f'),'content':_0x5c8dca(_0x2b7897,_0x32a3('0x4'))}:void 0x0;});const _0x4552b7=_0x1cc245['_acceptFormatSuggestionCallbackFactory']();for(const _0x30eef4 of[_0x32a3('0x2f'),_0x32a3('0x46'),_0x32a3('0x19'),_0x32a3('0x24')])_0x5602e6['_suggestionFactory'][_0x32a3('0x3b')](_0x32a3('0x42'),_0x30eef4,_0x32a3('0x6'),_0x4552b7);for(const _0x421138 of[_0x32a3('0x28'),_0x32a3('0x4c')])_0x5602e6[_0x32a3('0x32')][_0x32a3('0x3b')](_0x32a3('0x42'),_0x421138,_0x32a3('0x6'),_0x4552b7);_0x5602e6[_0x32a3('0x32')]['registerCustomCallback'](_0x32a3('0x42'),_0x32a3('0xb'),_0x32a3('0x6'),_0x5329f2=>{_0x63d9c9['model'][_0x32a3('0xc')](_0x34f5b3=>{const _0x42fc84=Array['from'](_0xe1c5e0['getRanges']())[_0x32a3('0x1b')](_0x36ab15=>_0x4e963c[_0x32a3('0x48')](_0x36ab15));_0x34f5b3[_0x32a3('0x27')](_0x5329f2),_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb'))[_0x32a3('0x3d')](),_0x63d9c9['execute'](_0x32a3('0xb'),{'forceDefaultExecution':!0x0});const _0xe05754=_0x42fc84[_0x32a3('0x33')](_0x13080f=>_0x32a3('0x39')!=_0x13080f[_0x32a3('0x1d')][_0x32a3('0x1e')]);_0xe05754[_0x32a3('0x2')]>0x0&&_0x34f5b3[_0x32a3('0x27')](_0xe05754);for(const _0x59877f of _0x42fc84)_0x59877f[_0x32a3('0x4b')]();});});for(const _0x3e3b8b of[_0x32a3('0x2f'),_0x32a3('0x19'),_0x32a3('0x24'),_0x32a3('0x46')]){const _0x2fbb46=_0x63d9c9[_0x32a3('0x4a')][_0x32a3('0x3a')](_0x3e3b8b);_0x2fbb46['on'](_0x32a3('0x31'),(_0x6679f1,_0xf118ab,_0x4a1510)=>{if(_0x4a1510){const _0x4d603d=_0x63d9c9[_0x32a3('0xe')]['document'][_0x32a3('0x16')]['getFirstPosition']()[_0x32a3('0x1a')]()[_0x32a3('0x1')](_0x4eebcb=>_0x4eebcb['is'](_0x32a3('0x8'),_0x32a3('0x13')));this[_0x32a3('0x25')](_0x2fbb46[_0x32a3('0x1c')],_0x4d603d)||(_0x6679f1['return']=!0x1,_0x6679f1[_0x32a3('0x17')]());}},{'priority':'low'});}}[_0x32a3('0x35')](){const _0x5f9f24=this[_0x32a3('0x14')][_0x32a3('0x4a')][_0x32a3('0x3a')](_0x32a3('0xb')),_0x19f533=this[_0x32a3('0x14')][_0x32a3('0x15')][_0x32a3('0x3a')]('TableUtils');if(!_0x5f9f24[_0x32a3('0xa')])return!0x1;const _0x1a7e44=_0x19f533[_0x32a3('0x2a')](this['editor'][_0x32a3('0xe')]['document']['selection']);for(const _0x2df9e9 of _0x1a7e44)for(const _0x4706a3 of _0x1a7e44)if(_0x2df9e9!=_0x4706a3&&!this[_0x32a3('0x25')](_0x2df9e9,_0x4706a3))return!0x1;return!0x0;}[_0x32a3('0x25')](_0x99a2d4,_0x4dc7d4){const _0xabfc85=this[_0x32a3('0x14')][_0x32a3('0x15')][_0x32a3('0x3a')](_0x32a3('0x43')),_0x15008f=this[_0x32a3('0x14')][_0x32a3('0xe')][_0x32a3('0x2c')](_0x99a2d4),_0x42f3fc=this[_0x32a3('0x14')][_0x32a3('0xe')]['createRangeOn'](_0x4dc7d4),_0x3f8039=new Set(),_0x3df95a=new Set();for(const _0x5e2e28 of _0xabfc85['getSuggestions']())if((_0x32a3('0x0')==_0x5e2e28[_0x32a3('0x11')]||'deletion'==_0x5e2e28['type']||_0x32a3('0xb')==_0x5e2e28[_0x32a3('0x40')])&&_0x5e2e28['isInContent'])for(const _0x5ae1c0 of _0x5e2e28[_0x32a3('0x38')]())_0x5ae1c0[_0x32a3('0x1f')](_0x15008f,!0x0)&&_0x3f8039[_0x32a3('0x45')](_0x5e2e28['type']+':'+_0x5e2e28[_0x32a3('0xd')]['id']),_0x5ae1c0[_0x32a3('0x1f')](_0x42f3fc,!0x0)&&_0x3df95a[_0x32a3('0x45')](_0x5e2e28['type']+':'+_0x5e2e28['author']['id']);if(_0x3f8039[_0x32a3('0x41')]!=_0x3df95a['size'])return!0x1;for(const _0x4e7da2 of _0x3f8039)if(!_0x3df95a['has'](_0x4e7da2))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x186d=['_descriptionFactory','insertTableOfContents','locale','registerElementLabel','tableOfContents','get','commands','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','editor','enableCommand','plugins'];(function(_0x3f572f,_0x186d1a){const _0x3142c6=function(_0x5e8093){while(--_0x5e8093){_0x3f572f['push'](_0x3f572f['shift']());}};_0x3142c6(++_0x186d1a);}(_0x186d,0x16e));const _0x3142=function(_0x3f572f,_0x186d1a){_0x3f572f=_0x3f572f-0x0;let _0x3142c6=_0x186d[_0x3f572f];return _0x3142c6;};import{Plugin as _0x3abad2}from'ckeditor5/src/core';import{getTranslation as _0x55cb70}from'../utils/common-translations';export default class St extends _0x3abad2{['afterInit'](){const _0xf2406b=this[_0x3142('0x3')];if(!_0xf2406b[_0x3142('0x0')]['get'](_0x3142('0x7')))return;_0xf2406b[_0x3142('0x5')][_0x3142('0xb')]('TrackChangesEditing')[_0x3142('0x4')]('insertTableOfContents');const _0x1bca7d=_0xf2406b[_0x3142('0x5')][_0x3142('0xb')](_0x3142('0x1')),_0x3caac5=_0xf2406b[_0x3142('0x8')];_0x1bca7d[_0x3142('0x6')][_0x3142('0x9')](_0x3142('0xa'),_0x78bc74=>_0x55cb70(_0x3caac5,_0x3142('0x2'),_0x78bc74));}}
23
+ const _0x1a79=['insertTableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','afterInit','TrackChangesEditing','enableCommand','_descriptionFactory','get','locale','commands','registerElementLabel'];(function(_0x3224e1,_0x1a792d){const _0x7c106a=function(_0x3cbb61){while(--_0x3cbb61){_0x3224e1['push'](_0x3224e1['shift']());}};_0x7c106a(++_0x1a792d);}(_0x1a79,0x136));const _0x7c10=function(_0x3224e1,_0x1a792d){_0x3224e1=_0x3224e1-0x0;let _0x7c106a=_0x1a79[_0x3224e1];return _0x7c106a;};import{Plugin as _0x1c15f4}from'ckeditor5/src/core';import{getTranslation as _0x31b81f}from'../utils/common-translations';export default class St extends _0x1c15f4{[_0x7c10('0x1')](){const _0xfc4441=this['editor'];if(!_0xfc4441[_0x7c10('0x7')][_0x7c10('0x5')]('insertTableOfContents'))return;_0xfc4441['plugins'][_0x7c10('0x5')](_0x7c10('0x2'))[_0x7c10('0x3')](_0x7c10('0x9'));const _0x4ddb08=_0xfc4441[_0x7c10('0xa')][_0x7c10('0x5')](_0x7c10('0x2')),_0x8418e1=_0xfc4441[_0x7c10('0x6')];_0x4ddb08[_0x7c10('0x4')][_0x7c10('0x8')]('tableOfContents',_0x4acef5=>_0x31b81f(_0x8418e1,_0x7c10('0x0'),_0x4acef5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ae3=['tableCellBorderColor','tableAlignment','getSuggestionCallback','tableCellProperties','tableBackgroundColor','enableCommand','registerDescriptionCallback','table','model','editor','plugins','get','getContainedElement','enqueueChange','discard','tableHeight','tableCellBackgroundColor','tableBorderColor','handleSuggestionDescription','start','has','tableBorderWidth','locale','data','tableCellBorderWidth','document','accept','join','TrackChangesEditing','afterInit','commandParams','tableCellVerticalAlignment','getAttribute','TableCellPropertiesEditing','formatBlock','tableCellWidth','pluginName','tableBorderStyle','_suggestionFactory','selection','tableCellHorizontalAlignment','removeAttribute','TableUtils','getSelectionAffectedTableCells','subType','tableProperties','registerCustomCallback','_getSuggestion','getSuggestions','findAncestor','format','TrackChangesTableProperties','change','*Format:*\x20change\x20table\x20cell\x20properties','tableWidth','setAttribute'];(function(_0x39ed68,_0x5ae347){const _0xfc8ec2=function(_0x2a385a){while(--_0x2a385a){_0x39ed68['push'](_0x39ed68['shift']());}};_0xfc8ec2(++_0x5ae347);}(_0x5ae3,0x157));const _0xfc8e=function(_0x39ed68,_0x5ae347){_0x39ed68=_0x39ed68-0x0;let _0xfc8ec2=_0x5ae3[_0x39ed68];return _0xfc8ec2;};import{Plugin as _0x1356e6}from'ckeditor5/src/core';import{getTranslation as _0x578340}from'../utils/common-translations';export default class Dt extends _0x1356e6{constructor(_0x545f68){super(_0x545f68),this[_0xfc8e('0x26')]=[_0xfc8e('0xa'),_0xfc8e('0x1e'),_0xfc8e('0xe'),_0xfc8e('0x32'),_0xfc8e('0x2f'),_0xfc8e('0x8'),_0xfc8e('0x35')],this[_0xfc8e('0x34')]=[_0xfc8e('0x31'),'tableCellBorderStyle',_0xfc8e('0x11'),'tableCellPadding',_0xfc8e('0x1c'),'tableCellHeight',_0xfc8e('0x9'),_0xfc8e('0x21'),_0xfc8e('0x18')];}static get[_0xfc8e('0x1d')](){return _0xfc8e('0x2c');}[_0xfc8e('0x16')](){const _0x172059=this[_0xfc8e('0x2')][_0xfc8e('0x3')]['get'](_0xfc8e('0x15'));if(this[_0xfc8e('0x2')][_0xfc8e('0x3')][_0xfc8e('0xd')]('TablePropertiesEditing')){for(const _0x34fabf of this[_0xfc8e('0x26')])_0x172059['enableCommand'](_0x34fabf,(_0x16c4e0,_0x42da81)=>{const _0x399b9a=this[_0xfc8e('0x2')][_0xfc8e('0x1')][_0xfc8e('0x12')][_0xfc8e('0x20')]['getFirstPosition']()[_0xfc8e('0x2a')](_0xfc8e('0x0'));this['_handlePropertyChange'](_0x34fabf,[_0x399b9a],this[_0xfc8e('0x26')],_0xfc8e('0x26'),_0x16c4e0,_0x42da81);});_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x27')](_0xfc8e('0x1b'),_0xfc8e('0x26'),_0xfc8e('0x13'),_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x33')](_0xfc8e('0x1b'),null,_0xfc8e('0x7'))),_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x27')](_0xfc8e('0x1b'),_0xfc8e('0x26'),'discard',(_0x4d7bc1,_0x4c7c1d)=>this['handleDiscardAction'](this[_0xfc8e('0x26')],_0x4d7bc1,_0x4c7c1d)),_0x172059[_0xfc8e('0x1f')]['registerCustomCallback'](_0xfc8e('0x1b'),_0xfc8e('0x26'),'join',()=>!0x1);}if(this['editor'][_0xfc8e('0x3')]['has'](_0xfc8e('0x1a'))){for(const _0x319e2a of this[_0xfc8e('0x34')])_0x172059[_0xfc8e('0x36')](_0x319e2a,(_0xf8c85d,_0x527b19)=>{const _0x5f4c1c=this[_0xfc8e('0x2')][_0xfc8e('0x3')][_0xfc8e('0x4')](_0xfc8e('0x23'))[_0xfc8e('0x24')](this[_0xfc8e('0x2')]['model'][_0xfc8e('0x12')]['selection']);this['_handlePropertyChange'](_0x319e2a,_0x5f4c1c,this[_0xfc8e('0x34')],_0xfc8e('0x34'),_0xf8c85d,_0x527b19);});_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x27')]('formatBlock',_0xfc8e('0x34'),_0xfc8e('0x13'),_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x33')](_0xfc8e('0x1b'),null,_0xfc8e('0x7'))),_0x172059[_0xfc8e('0x1f')][_0xfc8e('0x27')]('formatBlock',_0xfc8e('0x34'),'discard',(_0xdaa04e,_0x22cd12)=>this['handleDiscardAction'](this[_0xfc8e('0x34')],_0xdaa04e,_0x22cd12)),_0x172059['_suggestionFactory'][_0xfc8e('0x27')]('formatBlock',_0xfc8e('0x34'),_0xfc8e('0x14'),()=>!0x1);}_0x172059['_descriptionFactory'][_0xfc8e('0x37')](_0x264f3c=>this[_0xfc8e('0xb')](_0x264f3c));}['_handlePropertyChange'](_0x5577d9,_0x3f24ac,_0x3e8987,_0x2f627d,_0x24194b,_0x5a57cf){const _0x2a265a=this['editor']['plugins'][_0xfc8e('0x4')](_0xfc8e('0x15'));this['editor']['model'][_0xfc8e('0x6')](_0x5a57cf['batch'],()=>{for(const _0x246a98 of _0x3f24ac){if(this[_0xfc8e('0x28')](_0x246a98,_0x2f627d))_0x24194b(_0x5a57cf);else{const _0x4b2b98={};for(const _0x21a590 of _0x3e8987){const _0x190a37=_0x246a98[_0xfc8e('0x19')](_0x21a590);void 0x0!==_0x190a37&&(_0x4b2b98[_0x21a590]=_0x190a37);}_0x24194b(_0x5a57cf),_0x2a265a['markBlockFormat'](_0x246a98,{'commandParams':[_0x4b2b98]},[],_0x2f627d);}}});}['handleDiscardAction'](_0x130c66,_0x77b037,_0x422ce4){const _0x5ced36=_0x77b037[0x0][_0xfc8e('0xc')]['nodeAfter'],_0x33ffba=_0x422ce4[_0xfc8e('0x17')][0x0];this[_0xfc8e('0x2')][_0xfc8e('0x1')][_0xfc8e('0x2d')](_0xb13c99=>{for(const _0x30ce99 of _0x130c66)void 0x0!==_0x33ffba[_0x30ce99]?_0xb13c99[_0xfc8e('0x30')](_0x30ce99,_0x33ffba[_0x30ce99],_0x5ced36):_0xb13c99[_0xfc8e('0x22')](_0x30ce99,_0x5ced36);});}['handleSuggestionDescription'](_0x4990d4){if(_0x4990d4[_0xfc8e('0x10')])switch(_0x4990d4[_0xfc8e('0x25')]){case _0xfc8e('0x26'):return{'type':_0xfc8e('0x2b'),'content':_0x578340(this[_0xfc8e('0x2')][_0xfc8e('0xf')],'*Format:*\x20change\x20table\x20properties')};case _0xfc8e('0x34'):return{'type':_0xfc8e('0x2b'),'content':_0x578340(this['editor'][_0xfc8e('0xf')],_0xfc8e('0x2e'))};}}['_getSuggestion'](_0x49a5db,_0x5b1ec0){const _0x44d8f9=this['editor'][_0xfc8e('0x3')][_0xfc8e('0x4')](_0xfc8e('0x15'));for(const _0x26f643 of _0x44d8f9[_0xfc8e('0x29')]({'skipNotAttached':!0x0})){const _0x212a3f=_0x26f643[_0xfc8e('0x5')]();if(_0x26f643[_0xfc8e('0x25')]===_0x5b1ec0&&_0x212a3f===_0x49a5db)return _0x26f643;}return null;}}
23
+ const _0x108f=['tableBorderWidth','getSuggestions','afterInit','enqueueChange','get','TableUtils','tableCellPadding','has','tableBorderStyle','model','tableCellVerticalAlignment','tableCellBorderColor','TrackChangesTableProperties','tableCellHeight','tableProperties','tableCellProperties','registerCustomCallback','_handlePropertyChange','tableAlignment','getFirstPosition','registerDescriptionCallback','_suggestionFactory','TrackChangesEditing','handleSuggestionDescription','join','plugins','change','enableCommand','discard','tableCellBackgroundColor','document','TableCellPropertiesEditing','locale','getSuggestionCallback','batch','*Format:*\x20change\x20table\x20properties','handleDiscardAction','getAttribute','editor','tableCellHorizontalAlignment','nodeAfter','tableBackgroundColor','tableHeight','subType','formatBlock','commandParams','start','markBlockFormat','tableWidth','selection','format','*Format:*\x20change\x20table\x20cell\x20properties','pluginName','setAttribute','getContainedElement','_descriptionFactory','findAncestor'];(function(_0xc82229,_0x108f18){const _0x574a81=function(_0x99f6ee){while(--_0x99f6ee){_0xc82229['push'](_0xc82229['shift']());}};_0x574a81(++_0x108f18);}(_0x108f,0x98));const _0x574a=function(_0xc82229,_0x108f18){_0xc82229=_0xc82229-0x0;let _0x574a81=_0x108f[_0xc82229];return _0x574a81;};import{Plugin as _0x36b6df}from'ckeditor5/src/core';import{getTranslation as _0x4dd0c8}from'../utils/common-translations';export default class Dt extends _0x36b6df{constructor(_0x9e33b7){super(_0x9e33b7),this[_0x574a('0x21')]=['tableBorderColor',_0x574a('0x1b'),_0x574a('0x13'),_0x574a('0x25'),_0x574a('0xa'),_0x574a('0x4'),_0x574a('0x3')],this[_0x574a('0x22')]=[_0x574a('0x1e'),'tableCellBorderStyle','tableCellBorderWidth',_0x574a('0x19'),'tableCellWidth',_0x574a('0x20'),_0x574a('0x30'),_0x574a('0x1'),_0x574a('0x1d')];}static get[_0x574a('0xe')](){return _0x574a('0x1f');}[_0x574a('0x15')](){const _0x72ba18=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')](_0x574a('0x29'));if(this[_0x574a('0x0')][_0x574a('0x2c')]['has']('TablePropertiesEditing')){for(const _0x19bf05 of this['tableProperties'])_0x72ba18[_0x574a('0x2e')](_0x19bf05,(_0x26822f,_0x46b04b)=>{const _0x4d5d7d=this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x31')][_0x574a('0xb')][_0x574a('0x26')]()[_0x574a('0x12')]('table');this[_0x574a('0x24')](_0x19bf05,[_0x4d5d7d],this[_0x574a('0x21')],_0x574a('0x21'),_0x26822f,_0x46b04b);});_0x72ba18['_suggestionFactory']['registerCustomCallback'](_0x574a('0x6'),_0x574a('0x21'),'accept',_0x72ba18[_0x574a('0x28')][_0x574a('0x34')]('formatBlock',null,_0x574a('0x2f'))),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x21'),_0x574a('0x2f'),(_0x3c7ed8,_0x152a95)=>this['handleDiscardAction'](this[_0x574a('0x21')],_0x3c7ed8,_0x152a95)),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x21'),'join',()=>!0x1);}if(this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x1a')](_0x574a('0x32'))){for(const _0x2e13db of this[_0x574a('0x22')])_0x72ba18[_0x574a('0x2e')](_0x2e13db,(_0x3a00b3,_0x38665e)=>{const _0x3eabce=this[_0x574a('0x0')]['plugins'][_0x574a('0x17')](_0x574a('0x18'))['getSelectionAffectedTableCells'](this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x31')][_0x574a('0xb')]);this[_0x574a('0x24')](_0x2e13db,_0x3eabce,this[_0x574a('0x22')],_0x574a('0x22'),_0x3a00b3,_0x38665e);});_0x72ba18[_0x574a('0x28')]['registerCustomCallback'](_0x574a('0x6'),'tableCellProperties','accept',_0x72ba18[_0x574a('0x28')][_0x574a('0x34')](_0x574a('0x6'),null,_0x574a('0x2f'))),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),_0x574a('0x22'),_0x574a('0x2f'),(_0x45978b,_0x1cdb60)=>this['handleDiscardAction'](this[_0x574a('0x22')],_0x45978b,_0x1cdb60)),_0x72ba18[_0x574a('0x28')][_0x574a('0x23')](_0x574a('0x6'),'tableCellProperties',_0x574a('0x2b'),()=>!0x1);}_0x72ba18[_0x574a('0x11')][_0x574a('0x27')](_0x46f303=>this[_0x574a('0x2a')](_0x46f303));}[_0x574a('0x24')](_0x11d240,_0x533170,_0x2ab92f,_0x42f1c3,_0x4d45c1,_0x3e5444){const _0x2f4318=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')]('TrackChangesEditing');this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x16')](_0x3e5444[_0x574a('0x35')],()=>{for(const _0x1438e8 of _0x533170){if(this['_getSuggestion'](_0x1438e8,_0x42f1c3))_0x4d45c1(_0x3e5444);else{const _0x546c62={};for(const _0x5ca95c of _0x2ab92f){const _0x554c87=_0x1438e8[_0x574a('0x38')](_0x5ca95c);void 0x0!==_0x554c87&&(_0x546c62[_0x5ca95c]=_0x554c87);}_0x4d45c1(_0x3e5444),_0x2f4318[_0x574a('0x9')](_0x1438e8,{'commandParams':[_0x546c62]},[],_0x42f1c3);}}});}[_0x574a('0x37')](_0x4085f3,_0x15f56e,_0x4dabda){const _0x22223b=_0x15f56e[0x0][_0x574a('0x8')][_0x574a('0x2')],_0x347d17=_0x4dabda[_0x574a('0x7')][0x0];this[_0x574a('0x0')][_0x574a('0x1c')][_0x574a('0x2d')](_0x5c2afd=>{for(const _0x248b95 of _0x4085f3)void 0x0!==_0x347d17[_0x248b95]?_0x5c2afd[_0x574a('0xf')](_0x248b95,_0x347d17[_0x248b95],_0x22223b):_0x5c2afd['removeAttribute'](_0x248b95,_0x22223b);});}[_0x574a('0x2a')](_0x403be5){if(_0x403be5['data'])switch(_0x403be5[_0x574a('0x5')]){case _0x574a('0x21'):return{'type':_0x574a('0xc'),'content':_0x4dd0c8(this['editor'][_0x574a('0x33')],_0x574a('0x36'))};case _0x574a('0x22'):return{'type':'format','content':_0x4dd0c8(this[_0x574a('0x0')]['locale'],_0x574a('0xd'))};}}['_getSuggestion'](_0x180661,_0x5d1617){const _0x22762f=this[_0x574a('0x0')][_0x574a('0x2c')][_0x574a('0x17')](_0x574a('0x29'));for(const _0x5d9a5d of _0x22762f[_0x574a('0x14')]({'skipNotAttached':!0x0})){const _0x47a444=_0x5d9a5d[_0x574a('0x10')]();if(_0x5d9a5d[_0x574a('0x5')]===_0x5d1617&&_0x47a444===_0x180661)return _0x5d9a5d;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5019=['afterInit','has','plugins','TrackChangesEditing','enableCommand','get','editor','insertTemplate'];(function(_0x19743b,_0x501979){const _0x211720=function(_0x15cd40){while(--_0x15cd40){_0x19743b['push'](_0x19743b['shift']());}};_0x211720(++_0x501979);}(_0x5019,0xce));const _0x2117=function(_0x19743b,_0x501979){_0x19743b=_0x19743b-0x0;let _0x211720=_0x5019[_0x19743b];return _0x211720;};import{Plugin as _0x5144ae}from'ckeditor5/src/core';export default class bt extends _0x5144ae{[_0x2117('0x2')](){const _0x3156b0=this[_0x2117('0x0')];_0x3156b0[_0x2117('0x4')][_0x2117('0x3')]('Template')&&_0x3156b0[_0x2117('0x4')][_0x2117('0x7')](_0x2117('0x5'))[_0x2117('0x6')](_0x2117('0x1'));}}
23
+ const _0x4399=['get','TrackChangesEditing','Template','insertTemplate','editor','enableCommand','plugins'];(function(_0x2be1d1,_0x439985){const _0x2f5ca8=function(_0x32d8a2){while(--_0x32d8a2){_0x2be1d1['push'](_0x2be1d1['shift']());}};_0x2f5ca8(++_0x439985);}(_0x4399,0x11c));const _0x2f5c=function(_0x2be1d1,_0x439985){_0x2be1d1=_0x2be1d1-0x0;let _0x2f5ca8=_0x4399[_0x2be1d1];return _0x2f5ca8;};import{Plugin as _0x2e93ce}from'ckeditor5/src/core';export default class bt extends _0x2e93ce{['afterInit'](){const _0x40b8c7=this[_0x2f5c('0x0')];_0x40b8c7[_0x2f5c('0x2')]['has'](_0x2f5c('0x5'))&&_0x40b8c7['plugins'][_0x2f5c('0x3')](_0x2f5c('0x4'))[_0x2f5c('0x1')](_0x2f5c('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5034=['updateMarker','isTouching','suggestion','start','registerElementLabel','isEqual','Title','plugins','_splitMarkerName','end','_descriptionFactory','title-content','schema','removeMarker','TrackChangesEditing','nodeBefore','from','model','forward','ELEMENT_TITLE','editor','locale','differ','document','has','element','get','afterInit'];(function(_0x49bb2f,_0x5034fe){const _0x127ae3=function(_0x2f8a89){while(--_0x2f8a89){_0x49bb2f['push'](_0x49bb2f['shift']());}};_0x127ae3(++_0x5034fe);}(_0x5034,0x19a));const _0x127a=function(_0x49bb2f,_0x5034fe){_0x49bb2f=_0x49bb2f-0x0;let _0x127ae3=_0x5034[_0x49bb2f];return _0x127ae3;};import{Plugin as _0x4afe0c}from'ckeditor5/src/core';import{getTranslation as _0x1d60c1}from'../utils/common-translations';export default class It extends _0x4afe0c{[_0x127a('0x9')](){const _0x58a548=this[_0x127a('0x2')];if(!_0x58a548[_0x127a('0x11')][_0x127a('0x6')](_0x127a('0x10')))return;const _0x1d25e5=_0x58a548[_0x127a('0x11')][_0x127a('0x8')](_0x127a('0x18'));_0x1d25e5[_0x127a('0x14')][_0x127a('0xe')](_0x127a('0x15'),()=>_0x1d60c1(_0x58a548[_0x127a('0x3')],_0x127a('0x1'))),_0x58a548[_0x127a('0x1b')][_0x127a('0x5')]['registerPostFixer'](_0x2387b3=>{let _0x2687d0=!0x1;const _0x1f61c2=Array[_0x127a('0x1a')](_0x58a548['model'][_0x127a('0x5')][_0x127a('0x4')]['getChangedMarkers']());for(const {name:_0x5aebb7,data:_0x29a2c1}of _0x1f61c2){const {group:_0x2856e6}=_0x1d25e5[_0x127a('0x12')](_0x5aebb7);if(_0x127a('0xc')!==_0x2856e6||!_0x29a2c1['newRange'])continue;const _0x209187=_0x29a2c1['newRange'],_0x334625=_0x209187[_0x127a('0x13')][_0x127a('0x19')];if(!_0x334625||!_0x334625['is'](_0x127a('0x7'),_0x127a('0x15')))continue;if(!_0x209187[_0x127a('0xd')][_0x127a('0xb')](_0x209187[_0x127a('0x13')]))continue;const _0x1e0e28=_0x58a548[_0x127a('0x1b')][_0x127a('0x16')]['getNearestSelectionRange'](_0x209187[_0x127a('0x13')],_0x127a('0x0'));if(_0x1e0e28&&_0x1e0e28['isCollapsed']){const _0x1d99ed=_0x2387b3['createRange'](_0x209187['start'],_0x1e0e28[_0x127a('0xd')]);_0x1d99ed[_0x127a('0xf')](_0x209187)||(_0x2387b3[_0x127a('0xa')](_0x5aebb7,{'range':_0x1d99ed}),_0x2687d0=!0x0);}_0x2687d0||(_0x2387b3[_0x127a('0x17')](_0x5aebb7),_0x2687d0=!0x0);}return _0x2687d0;});}}
23
+ const _0x5432=['ELEMENT_TITLE','forward','plugins','differ','locale','_splitMarkerName','registerPostFixer','end','nodeBefore','isTouching','_descriptionFactory','schema','editor','start','isEqual','document','model','getChangedMarkers','TrackChangesEditing','get','suggestion','title-content','has','isCollapsed','afterInit','removeMarker','newRange','createRange'];(function(_0x430f13,_0x543268){const _0x5abbc8=function(_0x5b1fbe){while(--_0x5b1fbe){_0x430f13['push'](_0x430f13['shift']());}};_0x5abbc8(++_0x543268);}(_0x5432,0x17d));const _0x5abb=function(_0x430f13,_0x543268){_0x430f13=_0x430f13-0x0;let _0x5abbc8=_0x5432[_0x430f13];return _0x5abbc8;};import{Plugin as _0x3838ab}from'ckeditor5/src/core';import{getTranslation as _0x4fe038}from'../utils/common-translations';export default class It extends _0x3838ab{[_0x5abb('0x7')](){const _0x117116=this[_0x5abb('0x17')];if(!_0x117116[_0x5abb('0xd')][_0x5abb('0x5')]('Title'))return;const _0x43a561=_0x117116[_0x5abb('0xd')][_0x5abb('0x2')](_0x5abb('0x1'));_0x43a561[_0x5abb('0x15')]['registerElementLabel'](_0x5abb('0x4'),()=>_0x4fe038(_0x117116[_0x5abb('0xf')],_0x5abb('0xb'))),_0x117116[_0x5abb('0x1b')][_0x5abb('0x1a')][_0x5abb('0x11')](_0x1425cf=>{let _0xe7d196=!0x1;const _0x495451=Array['from'](_0x117116[_0x5abb('0x1b')][_0x5abb('0x1a')][_0x5abb('0xe')][_0x5abb('0x0')]());for(const {name:_0x4b3743,data:_0x119a5a}of _0x495451){const {group:_0x2e55c0}=_0x43a561[_0x5abb('0x10')](_0x4b3743);if(_0x5abb('0x3')!==_0x2e55c0||!_0x119a5a[_0x5abb('0x9')])continue;const _0x11ea09=_0x119a5a['newRange'],_0x32a0c7=_0x11ea09[_0x5abb('0x12')][_0x5abb('0x13')];if(!_0x32a0c7||!_0x32a0c7['is']('element',_0x5abb('0x4')))continue;if(!_0x11ea09[_0x5abb('0x18')][_0x5abb('0x14')](_0x11ea09[_0x5abb('0x12')]))continue;const _0x31e907=_0x117116[_0x5abb('0x1b')][_0x5abb('0x16')]['getNearestSelectionRange'](_0x11ea09['end'],_0x5abb('0xc'));if(_0x31e907&&_0x31e907[_0x5abb('0x6')]){const _0x18b828=_0x1425cf[_0x5abb('0xa')](_0x11ea09[_0x5abb('0x18')],_0x31e907[_0x5abb('0x18')]);_0x18b828[_0x5abb('0x19')](_0x11ea09)||(_0x1425cf['updateMarker'](_0x4b3743,{'range':_0x18b828}),_0xe7d196=!0x0);}_0xe7d196||(_0x1425cf[_0x5abb('0x8')](_0x4b3743),_0xe7d196=!0x0);}return _0xe7d196;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34f0=['editor','UndoEditing','enableCommand','undo','redo','has','TrackChangesEditing','get','plugins'];(function(_0x1969ca,_0x34f0e2){const _0x360d50=function(_0x4a795f){while(--_0x4a795f){_0x1969ca['push'](_0x1969ca['shift']());}};_0x360d50(++_0x34f0e2);}(_0x34f0,0xce));const _0x360d=function(_0x1969ca,_0x34f0e2){_0x1969ca=_0x1969ca-0x0;let _0x360d50=_0x34f0[_0x1969ca];return _0x360d50;};import{Plugin as _0x56981f}from'ckeditor5/src/core';export default class vt extends _0x56981f{['afterInit'](){const _0x283fa7=this[_0x360d('0x1')],_0x8ecdfa=_0x283fa7[_0x360d('0x0')][_0x360d('0x8')](_0x360d('0x7'));_0x283fa7[_0x360d('0x0')][_0x360d('0x6')](_0x360d('0x2'))&&(_0x8ecdfa[_0x360d('0x3')](_0x360d('0x4')),_0x8ecdfa[_0x360d('0x3')](_0x360d('0x5')));}}
23
+ const _0x595c=['has','get','redo','editor','undo','UndoEditing','plugins','enableCommand'];(function(_0x2b3f31,_0x595c14){const _0x20c9b2=function(_0x2605dc){while(--_0x2605dc){_0x2b3f31['push'](_0x2b3f31['shift']());}};_0x20c9b2(++_0x595c14);}(_0x595c,0x119));const _0x20c9=function(_0x2b3f31,_0x595c14){_0x2b3f31=_0x2b3f31-0x0;let _0x20c9b2=_0x595c[_0x2b3f31];return _0x20c9b2;};import{Plugin as _0x55ead3}from'ckeditor5/src/core';export default class vt extends _0x55ead3{['afterInit'](){const _0x5d67d6=this[_0x20c9('0x2')],_0xc04440=_0x5d67d6[_0x20c9('0x5')][_0x20c9('0x0')]('TrackChangesEditing');_0x5d67d6[_0x20c9('0x5')][_0x20c9('0x7')](_0x20c9('0x4'))&&(_0xc04440[_0x20c9('0x6')](_0x20c9('0x3')),_0xc04440[_0x20c9('0x6')](_0x20c9('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x525d=['isBlock','getItems','nextSibling','createRangeOn','getAttribute','push','toViewPosition','TrackChangesEditing','mapper','element','activeMarkers','item','markerRange','markerName','consumable','hasAttribute','getWalker','get','includes','listIndent','schema','writer','test','plugins','ck-suggestion-marker-','previousPosition','addHighlight','model','addClass','listItem','span','elementEnd','isContent','ck-suggestion-marker--active','name','bindElementToMarker','toViewElement'];(function(_0x31cb73,_0x525d3f){const _0x5dd70e=function(_0xb2da17){while(--_0xb2da17){_0x31cb73['push'](_0x31cb73['shift']());}};_0x5dd70e(++_0x525d3f);}(_0x525d,0x135));const _0x5dd7=function(_0x31cb73,_0x525d3f){_0x31cb73=_0x31cb73-0x0;let _0x5dd70e=_0x525d[_0x31cb73];return _0x5dd70e;};export function getRangesWithAttribute(_0x4e6bc7,_0x423dc2,_0xd74bfb){const _0x1ceccd=[];for(const _0x473cab of _0x423dc2[_0x5dd7('0x19')]())_0x473cab[_0x5dd7('0x2')](_0x4e6bc7)&&_0x1ceccd[_0x5dd7('0x1d')](_0xd74bfb[_0x5dd7('0x1b')](_0x473cab));return _0x1ceccd;}export function getElementsAffectedByListItemRename(_0x456fb7){const _0x24ddad=[];if(_0x456fb7['is'](_0x5dd7('0x21'),_0x5dd7('0x10'))){let _0x39cffa=_0x456fb7['nextSibling'];for(;_0x39cffa&&_0x39cffa['is'](_0x5dd7('0x21'),_0x5dd7('0x10'))&&_0x39cffa[_0x5dd7('0x1c')](_0x5dd7('0x6'))>0x0;)_0x24ddad[_0x5dd7('0x1d')](_0x39cffa),_0x39cffa=_0x39cffa[_0x5dd7('0x1a')];}return _0x24ddad;}export function downcastSplitMergeMarker(_0x2f84ac,_0x44066d,{showActiveMarker:_0x3f0d96=!0x0}={}){const _0x328273=_0x2f84ac[_0x5dd7('0xa')][_0x5dd7('0x4')](_0x5dd7('0x1f'));return(_0x82154d,_0x397ed8,_0x268875)=>{if(!_0x268875[_0x5dd7('0x1')][_0x5dd7('0x9')](_0x397ed8[_0x5dd7('0x24')],_0x82154d[_0x5dd7('0x15')]))return;const _0x4179fc=_0x397ed8[_0x5dd7('0x24')][_0x5dd7('0x3')](),_0x462c86=_0x397ed8[_0x5dd7('0x24')]['start'],_0x260091=_0x2f84ac[_0x5dd7('0xe')][_0x5dd7('0x7')];let _0x4dd410=null,_0x61a813=null,_0x34458f=!0x1,_0x4caf7d=!0x1;for(const _0x3798d1 of _0x4179fc){const _0x424c2b=_0x3798d1[_0x5dd7('0x23')];_0x34458f=_0x34458f||_0x260091[_0x5dd7('0x13')](_0x424c2b);const _0x545f0e=_0x268875[_0x5dd7('0x20')][_0x5dd7('0x17')](_0x424c2b);if(_0x545f0e&&_0x545f0e['getCustomProperty'](_0x5dd7('0xd')))return;_0x5dd7('0x12')==_0x3798d1['type']&&(_0x260091[_0x5dd7('0x18')](_0x424c2b)&&!_0x260091['isLimit'](_0x424c2b)&&(_0x424c2b['nextSibling']||_0x462c86['isAtEnd']?_0x4dd410&&_0x4dd410['parent']==_0x424c2b||(_0x4dd410=_0x424c2b,_0x2d099c(_0x3798d1['previousPosition']),_0x4caf7d=!0x0):_0x61a813=_0x61a813||_0x3798d1[_0x5dd7('0xc')]));}function _0x2d099c(_0x2a9be8){const _0x2b7125=_0x268875[_0x5dd7('0x8')]['createUIElement'](_0x5dd7('0x11'),{'class':_0x5dd7('0xb')+_0x44066d}),_0x1bd348=_0x268875[_0x5dd7('0x20')][_0x5dd7('0x1e')](_0x2a9be8);_0x3f0d96&&_0x328273[_0x5dd7('0x22')][_0x5dd7('0x5')](_0x397ed8[_0x5dd7('0x0')])&&_0x268875[_0x5dd7('0x8')][_0x5dd7('0xf')](_0x5dd7('0x14'),_0x2b7125),_0x268875[_0x5dd7('0x8')]['insert'](_0x1bd348,_0x2b7125),_0x268875[_0x5dd7('0x20')][_0x5dd7('0x16')](_0x2b7125,_0x397ed8[_0x5dd7('0x0')]);}_0x34458f||_0x4caf7d||!_0x61a813||_0x2d099c(_0x61a813);};}
23
+ const _0x218b=['elementEnd','name','activeMarkers','TrackChangesEditing','listIndent','ck-suggestion-marker-','isBlock','span','addClass','parent','plugins','previousPosition','includes','nextSibling','element','writer','item','schema','get','hasAttribute','markerName','markerRange','start','model','isAtEnd','getItems','consumable','toViewPosition','test','listItem'];(function(_0x1fce4a,_0x218b4a){const _0x22c487=function(_0x25d03f){while(--_0x25d03f){_0x1fce4a['push'](_0x1fce4a['shift']());}};_0x22c487(++_0x218b4a);}(_0x218b,0xe9));const _0x22c4=function(_0x1fce4a,_0x218b4a){_0x1fce4a=_0x1fce4a-0x0;let _0x22c487=_0x218b[_0x1fce4a];return _0x22c487;};export function getRangesWithAttribute(_0x56788d,_0x3eebca,_0x302f9b){const _0x42abfa=[];for(const _0x30a4d5 of _0x3eebca[_0x22c4('0x2')]())_0x30a4d5[_0x22c4('0x1a')](_0x56788d)&&_0x42abfa['push'](_0x302f9b['createRangeOn'](_0x30a4d5));return _0x42abfa;}export function getElementsAffectedByListItemRename(_0x1110b9){const _0x436522=[];if(_0x1110b9['is']('element','listItem')){let _0x1f3c68=_0x1110b9[_0x22c4('0x14')];for(;_0x1f3c68&&_0x1f3c68['is'](_0x22c4('0x15'),_0x22c4('0x6'))&&_0x1f3c68['getAttribute'](_0x22c4('0xb'))>0x0;)_0x436522['push'](_0x1f3c68),_0x1f3c68=_0x1f3c68[_0x22c4('0x14')];}return _0x436522;}export function downcastSplitMergeMarker(_0x55c13e,_0x38020b,{showActiveMarker:_0x79e002=!0x0}={}){const _0x399db4=_0x55c13e[_0x22c4('0x11')][_0x22c4('0x19')](_0x22c4('0xa'));return(_0x472f63,_0x35ed66,_0x431495)=>{if(!_0x431495[_0x22c4('0x3')][_0x22c4('0x5')](_0x35ed66[_0x22c4('0x1c')],_0x472f63[_0x22c4('0x8')]))return;const _0x22d8eb=_0x35ed66[_0x22c4('0x1c')]['getWalker'](),_0x5f6834=_0x35ed66[_0x22c4('0x1c')][_0x22c4('0x1d')],_0x3dad24=_0x55c13e[_0x22c4('0x0')][_0x22c4('0x18')];let _0x1cf491=null,_0x5d905b=null,_0x1cfded=!0x1,_0x4aed25=!0x1;for(const _0x144089 of _0x22d8eb){const _0x1e2ba4=_0x144089[_0x22c4('0x17')];_0x1cfded=_0x1cfded||_0x3dad24['isContent'](_0x1e2ba4);const _0x398854=_0x431495['mapper']['toViewElement'](_0x1e2ba4);if(_0x398854&&_0x398854['getCustomProperty']('addHighlight'))return;_0x22c4('0x7')==_0x144089['type']&&(_0x3dad24[_0x22c4('0xd')](_0x1e2ba4)&&!_0x3dad24['isLimit'](_0x1e2ba4)&&(_0x1e2ba4[_0x22c4('0x14')]||_0x5f6834[_0x22c4('0x1')]?_0x1cf491&&_0x1cf491[_0x22c4('0x10')]==_0x1e2ba4||(_0x1cf491=_0x1e2ba4,_0x3ec5cf(_0x144089[_0x22c4('0x12')]),_0x4aed25=!0x0):_0x5d905b=_0x5d905b||_0x144089['previousPosition']));}function _0x3ec5cf(_0x4d1e6e){const _0x18fd21=_0x431495[_0x22c4('0x16')]['createUIElement'](_0x22c4('0xe'),{'class':_0x22c4('0xc')+_0x38020b}),_0x28f305=_0x431495['mapper'][_0x22c4('0x4')](_0x4d1e6e);_0x79e002&&_0x399db4[_0x22c4('0x9')][_0x22c4('0x13')](_0x35ed66[_0x22c4('0x1b')])&&_0x431495[_0x22c4('0x16')][_0x22c4('0xf')]('ck-suggestion-marker--active',_0x18fd21),_0x431495['writer']['insert'](_0x28f305,_0x18fd21),_0x431495['mapper']['bindElementToMarker'](_0x18fd21,_0x35ed66['markerName']);}_0x1cfded||_0x4aed25||!_0x5d905b||_0x3ec5cf(_0x5d905b);};}
@@ -262,12 +262,33 @@ export interface SuggestionOptions {
262
262
  onAttributesChange: Function;
263
263
  }
264
264
  export interface SuggestionJSON {
265
+ /**
266
+ * Suggestion ID.
267
+ */
265
268
  id: string;
269
+ /**
270
+ * Contains the information about the type and subtype of the suggestion.
271
+ */
266
272
  type: string;
273
+ /**
274
+ * The ID of the author.
275
+ */
267
276
  authorId: string;
277
+ /**
278
+ * Date when the suggestion was saved in the database.
279
+ */
268
280
  createdAt: Date | null;
281
+ /**
282
+ * Informs whether suggestion has at least one comment.
283
+ */
269
284
  hasComments?: boolean;
285
+ /**
286
+ * Additional suggestion data.
287
+ */
270
288
  data?: FormatData | null;
289
+ /**
290
+ * Custom suggestion attributes.
291
+ */
271
292
  attributes: {
272
293
  [k: string]: unknown;
273
294
  };