@ckeditor/ckeditor5-track-changes 38.0.0-rc.0 → 38.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf61b=['rows','insert','removeRows','conversion','register','high','tableCellSuggestion','unwrap','rowInsertionRanges','every','getChanges','tablePasteRow','ck-suggestion-marker','markers','_suggestionFactory','elementToElement','TableClipboard','name','paragraph','locale','tableCellPadding','markerToHighlight','has','previous','model','tablePaste','getChangedMarkers','attributes','isEmpty','includes','hasSuggestion','registerPostFixer','insertContent','getColumnIndexes','getSelectionAffectedTableCells','keys','for','containsRange','push','schema','set','createPositionBefore','getItems','registerDescriptionCallback','formatBlock','newRange','_createdBatches','createElement','tableCell','rowInsertionIndexes','ck-suggestion-marker-insertion','filter','tablePasteCell','removeMarkers','createRange','getContainedElement','documentSelection','length','move','_replaceTableSlotCell','first','element','*Replace\x20table\x20cells*','add','_isForcedDefaultExecutionBlock','wrap','tableCellHorizontalAlignment','from','isInContent','tablePasteChainId','redo','accept','row','ck-suggestion-marker--active','join','showSuggestionHighlights','value','getMarkers','markMultiRangeBlockFormat','low','tablePasteColumn','columns','createTableWalker','return','suggestion:formatBlock:tablePasteCell','forceDefaultExecution','listenTo','getRows','suggestionUnloaded','createRangeOn','endColumn','markMultiRangeDeletion','isEqual','view','_descriptionFactory','insertionRanges','nodeAfter','discard','deletion','subType','setAttributes','getAllAdjacentSuggestions','position','markerAttributes','_getCoordsForCells','removeMarker','createRangeIn','findAncestor','columnInsertionIndexes','requires','$graveyard','startsWith','change','getSuggestions','table','fromEntries','dataDowncast','registerCustomCallback','getRange','suggestionLoaded','differ','remove','getRowIndexes','activeMarkers','map','suggestion','Users','clipboardOutput','editor','_splitMarkerName','getChildren','type','find','afterInit','endRow','plugins','insertion','getShiftedBy','document','previousSibling','editing','insertRows','removeColumns','markMultiRangeInsertion','tableCellBorderStyle','end','fill','options','suggestion-td','entries','stop','commands','tableCellBorderColor','get','oldRange','cells','tableCellBackgroundColor','some','getChild'];(function(_0x246c35,_0xf61bfd){const _0x1ef870=function(_0x21b8cb){while(--_0x21b8cb){_0x246c35['push'](_0x246c35['shift']());}};_0x1ef870(++_0xf61bfd);}(_0xf61b,0xfd));const _0x1ef8=function(_0x246c35,_0xf61bfd){_0x246c35=_0x246c35-0x0;let _0x1ef870=_0xf61b[_0x246c35];return _0x1ef870;};import{getTranslation as _0x1b0df3}from'../utils/common-translations';import{Plugin as _0xee9ef}from'ckeditor5/src/core';import{uid as _0xd67029,priorities as _0x14a207}from'ckeditor5/src/utils';import _0x2b175b from'./table';const le=['tableCellBorderWidth',_0x1ef8('0x3a'),_0x1ef8('0x32'),_0x1ef8('0x83'),'tableCellVerticalAlignment',_0x1ef8('0x3e'),_0x1ef8('0x55')],ae=Object[_0x1ef8('0x15')](le['map'](_0x9159a6=>[_0x9159a6,null]));export default class kt extends _0xee9ef{static get[_0x1ef8('0xf')](){return[_0x2b175b];}[_0x1ef8('0x27')](){const _0x534f05=this[_0x1ef8('0x22')];if(!_0x534f05[_0x1ef8('0x29')][_0x1ef8('0x57')](_0x1ef8('0x51')))return;const _0x30fc89=_0x534f05['plugins'][_0x1ef8('0x3b')]('TrackChangesEditing'),_0x44a9a5=_0x534f05[_0x1ef8('0x29')]['get']('TableUtils'),_0x5d3f4d=_0x534f05[_0x1ef8('0x29')]['get'](_0x2b175b),_0x1d3123=_0x534f05['plugins']['get'](_0x1ef8('0x51'));_0x5d3f4d['_tablePostFixingSubtypes']['push'](_0x1ef8('0x4c'),_0x1ef8('0x91')),_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x68')][_0x1ef8('0x45')](_0x1ef8('0x47'),{'allowIn':'tableCell','allowContentOf':_0x1ef8('0x71'),'isLimit':!0x0}),_0x534f05[_0x1ef8('0x44')][_0x1ef8('0x50')]({'model':'tableCellSuggestion','view':_0x1ef8('0x36')});let _0x1da94d=null;_0x534f05['model']['on']('insertContent',(_0x373ab0,_0x1cf446)=>{const [_0x43227e,_0x12607f]=_0x1cf446,_0x3a1b47=_0x1cf446[_0x1cf446[_0x1ef8('0x7a')]-0x1];_0x3a1b47&&_0x3a1b47[_0x1ef8('0x96')]||_0x30fc89[_0x1ef8('0x81')]||this[_0x1ef8('0x22')][_0x1ef8('0x39')][_0x1ef8('0x3b')]('trackChanges')[_0x1ef8('0x8d')]&&function(_0x2b7c9a,_0x4de179,_0x2b5512,_0x2897ce,_0x4702af){if(_0x4de179&&!_0x4de179['is'](_0x1ef8('0x79')))return!0x1;const _0x319fd0=_0x4702af['getTableIfOnlyTableInContent'](_0x2b7c9a,_0x2b5512);if(!_0x319fd0||!fe(_0x319fd0,void 0x0,_0x2897ce))return!0x1;const _0x186c00=_0x2897ce[_0x1ef8('0x63')](_0x2b5512['document']['selection']);if(!_0x186c00[_0x1ef8('0x7a')])return!0x1;const _0x492529=_0x186c00[0x0][_0x1ef8('0xd')](_0x1ef8('0x14')),_0x221d75=_0x2897ce[_0x1ef8('0x1c')](_0x186c00),_0x358dce=_0x2897ce[_0x1ef8('0x62')](_0x186c00),_0x14378a={'startRow':_0x221d75[_0x1ef8('0x7d')],'endRow':_0x221d75['last'],'startColumn':_0x358dce[_0x1ef8('0x7d')],'endColumn':_0x358dce['last']};return 0x1==_0x186c00['length']&&(_0x14378a[_0x1ef8('0x28')]+=_0x2897ce[_0x1ef8('0x98')](_0x319fd0)-0x1,_0x14378a[_0x1ef8('0x9b')]+=_0x2897ce['getColumns'](_0x319fd0)-0x1),fe(_0x492529,_0x14378a,_0x2897ce);}(_0x43227e,_0x12607f,_0x534f05[_0x1ef8('0x59')],_0x44a9a5,_0x1d3123)&&(_0x373ab0[_0x1ef8('0x38')](),_0x1da94d={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x12')](()=>{_0x534f05['model'][_0x1ef8('0x61')](_0x1cf446[0x0],_0x1cf446[0x1],_0x1cf446[0x2],{'forceDefaultExecution':!0x0});const _0xf06ff4=_0xd67029(),{rowInsertionRanges:_0x7f4123,columnInsertionRanges:_0x113eed,insertionRanges:_0x407ffc,deletionRanges:_0x201c37,cells:_0x39310c}=_0x1da94d;_0x7f4123[_0x1ef8('0x7a')]&&_0x30fc89[_0x1ef8('0x31')](_0x7f4123,_0x1ef8('0x4c'),{'tablePasteChainId':_0xf06ff4}),_0x113eed[_0x1ef8('0x7a')]&&_0x30fc89['markMultiRangeInsertion'](_0x113eed,_0x1ef8('0x91'),{'tablePasteChainId':_0xf06ff4}),_0x407ffc[_0x1ef8('0x7a')]&&_0x30fc89[_0x1ef8('0x31')](_0x407ffc,_0x1ef8('0x5a'),{'tablePasteChainId':_0xf06ff4,'skipNestingCheck':!0x0}),_0x201c37[_0x1ef8('0x7a')]&&_0x30fc89[_0x1ef8('0x9c')](_0x201c37,_0x1ef8('0x5a'),{'tablePasteChainId':_0xf06ff4,'skipNestingCheck':!0x0});const _0x3a5185=_0x30fc89[_0x1ef8('0x8f')](_0x39310c[_0x1ef8('0x1e')](({element:_0x301c7e})=>_0x301c7e),{'formatGroupId':_0xd67029()},[],_0x1ef8('0x75'),{'tablePasteChainId':_0xf06ff4});if(_0x3a5185){const _0x28b102=_0x3a5185[_0x1ef8('0x8e')](),_0x3c4fb4=[];for(const {element:_0x3bb05f,attributes:_0x2b3c62}of _0x39310c){if(!_0x2b3c62)continue;const _0x37b5f0=_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x9a')](_0x3bb05f),_0x68d44b=_0x28b102[_0x1ef8('0x26')](_0x40082d=>_0x40082d[_0x1ef8('0x18')]()['isEqual'](_0x37b5f0));_0x68d44b&&_0x3c4fb4['push']([_0x68d44b[_0x1ef8('0x52')],_0x2b3c62]);}_0x3c4fb4[_0x1ef8('0x7a')]&&_0x3a5185['setAttribute'](_0x1ef8('0x9'),Object[_0x1ef8('0x15')](_0x3c4fb4));}_0x1da94d=null;}));},{'priority':_0x14a207[_0x1ef8('0x46')]+0xa}),_0x534f05['plugins'][_0x1ef8('0x3b')](_0x1ef8('0x51'))['on'](_0x1ef8('0x7c'),(_0x31f225,_0xc7c30f)=>{const [_0x1fa301,_0x6495ad,,_0x29d1a2]=_0xc7c30f;if(!_0x1da94d)return;_0x31f225[_0x1ef8('0x38')]();const _0x39ce9e=_0x1fa301['cell'],_0x532d9f=_0x6495ad,_0x59c268=ce(_0x39ce9e),_0x4213e2=ce(_0x532d9f);_0x31f225[_0x1ef8('0x94')]=_0x39ce9e;let _0x58057d=null,_0x5b733d=null;if(_0x4213e2||_0x59c268){if(_0x59c268&&!_0x4213e2){_0x29d1a2['remove'](_0x39ce9e[_0x1ef8('0x40')](0x0));for(const _0x340b35 of Array[_0x1ef8('0x84')](_0x532d9f[_0x1ef8('0x24')]()))_0x29d1a2['insert'](_0x340b35,_0x39ce9e,_0x1ef8('0x33'));const _0x59b6dc=_0x1da94d[_0x1ef8('0x72')][_0x1ef8('0x5e')](_0x1fa301[_0x1ef8('0x89')]),_0x248fbd=_0x1da94d[_0x1ef8('0xe')][_0x1ef8('0x5e')](_0x1fa301['column']);_0x59b6dc||_0x248fbd||(_0x58057d=_0x29d1a2[_0x1ef8('0xc')](_0x39ce9e));}else _0x4213e2&&!_0x59c268&&(_0x5b733d=_0x29d1a2[_0x1ef8('0xc')](_0x39ce9e));}else{const _0x21a83d=_0x29d1a2[_0x1ef8('0x70')](_0x1ef8('0x47')),_0x12a066=_0x29d1a2[_0x1ef8('0x70')](_0x1ef8('0x47'));_0x29d1a2[_0x1ef8('0x82')](_0x29d1a2[_0x1ef8('0xc')](_0x39ce9e),_0x12a066),_0x29d1a2[_0x1ef8('0x42')](_0x21a83d,_0x39ce9e,0x0);for(const _0x27e167 of Array[_0x1ef8('0x84')](_0x532d9f[_0x1ef8('0x24')]()))_0x29d1a2[_0x1ef8('0x42')](_0x27e167,_0x21a83d,'end');_0x58057d=_0x29d1a2[_0x1ef8('0x9a')](_0x21a83d),_0x5b733d=_0x29d1a2['createRangeOn'](_0x12a066);}const _0x415401=Array[_0x1ef8('0x84')](_0x532d9f['getAttributes']())[_0x1ef8('0x74')](([_0x2f5c00])=>le['includes'](_0x2f5c00));_0x1da94d[_0x1ef8('0x3d')][_0x1ef8('0x67')]({'element':_0x39ce9e,'attributes':_0x415401['length']?Object[_0x1ef8('0x15')](_0x415401):null}),_0x58057d&&_0x1da94d[_0x1ef8('0x1')][_0x1ef8('0x67')](_0x58057d),_0x5b733d&&_0x1da94d['deletionRanges'][_0x1ef8('0x67')](_0x5b733d);},{'priority':'high'}),_0x44a9a5['on']('insertColumns',(_0x36c114,_0x6630f7)=>{const [_0x86cebf,_0x1df8d5={}]=_0x6630f7;if(!_0x1da94d)return;const _0x3f0f9f=_0x1df8d5['at']||0x0,_0x5ddc44=_0x1df8d5[_0x1ef8('0x92')]||0x1;_0x1da94d[_0x1ef8('0xe')]=new Array(_0x5ddc44)[_0x1ef8('0x34')](_0x3f0f9f)[_0x1ef8('0x1e')]((_0xffb7e2,_0x317a0f)=>_0xffb7e2+_0x317a0f);for(const {cell:_0x5a86e4}of _0x44a9a5[_0x1ef8('0x93')](_0x86cebf,{'startColumn':_0x3f0f9f,'endColumn':_0x3f0f9f+_0x5ddc44-0x1}))_0x1da94d['columnInsertionRanges']['push'](_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x9a')](_0x5a86e4));},{'priority':_0x1ef8('0x90')}),_0x44a9a5['on'](_0x1ef8('0x2f'),(_0x330263,_0x3393d2)=>{const [_0x137def,_0x4e2b7b={}]=_0x3393d2;if(!_0x1da94d)return;const _0x59d86b=_0x4e2b7b['at']||0x0,_0x416499=_0x4e2b7b[_0x1ef8('0x41')]||0x1;_0x1da94d[_0x1ef8('0x72')]=new Array(_0x416499)[_0x1ef8('0x34')](_0x59d86b)['map']((_0x31ef35,_0x280a15)=>_0x31ef35+_0x280a15);for(const {cell:_0x50af48}of _0x44a9a5[_0x1ef8('0x93')](_0x137def,{'startRow':_0x59d86b,'endRow':_0x59d86b+_0x416499-0x1}))_0x1da94d[_0x1ef8('0x49')][_0x1ef8('0x67')](_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x9a')](_0x50af48));},{'priority':'low'}),_0x30fc89[_0x1ef8('0x0')][_0x1ef8('0x6c')](_0x55b8f4=>{if(_0x55b8f4[_0x1ef8('0x5')]&&_0x55b8f4[_0x1ef8('0x5')][_0x1ef8('0x11')](_0x1ef8('0x5a')))return _0x55b8f4[_0x1ef8('0x58')]?{}:{'type':'insertion','content':_0x1b0df3(_0x534f05[_0x1ef8('0x54')],_0x1ef8('0x7f'))};});const _0x25508c=()=>{};for(const _0x526a4d of[_0x1ef8('0x5a'),_0x1ef8('0x91'),_0x1ef8('0x4c'),_0x1ef8('0x75')])_0x30fc89[_0x1ef8('0x4f')][_0x1ef8('0x17')]('insertion',_0x526a4d,_0x1ef8('0x8b'),_0x25508c),_0x30fc89[_0x1ef8('0x4f')]['registerCustomCallback'](_0x1ef8('0x4'),_0x526a4d,_0x1ef8('0x8b'),_0x25508c);_0x30fc89['_suggestionFactory'][_0x1ef8('0x17')]('formatBlock','tablePasteCell','discard',_0x25508c),_0x30fc89[_0x1ef8('0x4f')][_0x1ef8('0x17')](_0x1ef8('0x6d'),_0x1ef8('0x75'),_0x1ef8('0x88'),(_0x21b122,_0x243985,_0x118536)=>{const _0x28b83d=_0x21b122[_0x1ef8('0x1e')](_0x27f229=>_0x27f229['getContainedElement']())[_0x1ef8('0x74')](_0xbbe05b=>_0xbbe05b),_0x5f3df4=new Map(_0x28b83d[_0x1ef8('0x1e')](_0x59d817=>[_0x59d817,null]));if(_0x1da94d)for(const {element:_0x1aa7e8,attributes:_0x5df42f}of _0x1da94d[_0x1ef8('0x3d')])_0x5df42f&&_0x5f3df4[_0x1ef8('0x69')](_0x1aa7e8,_0x5df42f);else{if(_0x118536&&_0x118536['markerAttributes'])for(const [_0x49efbc,_0x796e8f]of Object[_0x1ef8('0x37')](_0x118536[_0x1ef8('0x9')])){const _0x1381a8=_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x4e')][_0x1ef8('0x3b')](_0x49efbc),_0x205e1d=_0x1381a8?_0x1381a8[_0x1ef8('0x18')]()[_0x1ef8('0x78')]():null;_0x205e1d&&_0x5f3df4[_0x1ef8('0x69')](_0x205e1d,_0x796e8f);}}_0x534f05['model'][_0x1ef8('0x12')](_0x458849=>{for(const [_0x3e7846,_0x4c56c7]of _0x5f3df4)_0x458849[_0x1ef8('0x6')]({...ae,..._0x4c56c7},_0x3e7846);});});const _0x4b185b=(_0x53fcd1,_0x5e9497)=>{_0x30fc89['_suggestionFactory'][_0x1ef8('0x17')](_0x53fcd1,_0x1ef8('0x5a'),_0x5e9497,(_0x347bdf,_0x293a85,_0x2d8309)=>{_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x12')](_0x37bcf2=>{const _0x22c185=[];for(const _0x4b69fc of _0x347bdf){const _0x689bb7=_0x4b69fc['start'][_0x1ef8('0x2')];_0x689bb7['is']('element','tableCellSuggestion')&&_0x22c185[_0x1ef8('0x67')](_0x689bb7);}_0x30fc89[_0x1ef8('0x4f')]['getSuggestionCallback'](_0x53fcd1,null,_0x5e9497)(_0x347bdf,_0x293a85,_0x2d8309);for(const _0x11b987 of _0x22c185)_0x1ef8('0x10')!=_0x11b987['root']['rootName']&&_0x37bcf2[_0x1ef8('0x48')](_0x11b987);});});};_0x4b185b(_0x1ef8('0x2a'),_0x1ef8('0x88')),_0x4b185b(_0x1ef8('0x2a'),_0x1ef8('0x3')),_0x4b185b(_0x1ef8('0x4'),_0x1ef8('0x88')),_0x4b185b(_0x1ef8('0x4'),_0x1ef8('0x3')),_0x30fc89[_0x1ef8('0x4f')][_0x1ef8('0x17')]('insertion','tablePasteRow',_0x1ef8('0x3'),_0x4880fa=>{const _0x69f99a=_0x4880fa[_0x1ef8('0x1e')](_0x9e184f=>_0x9e184f[_0x1ef8('0x78')]()),_0x60e47d=_0x69f99a[0x0][_0x1ef8('0xd')](_0x1ef8('0x14')),{minRow:_0x4f0fb6,maxRow:_0x2d0366}=_0x5d3f4d[_0x1ef8('0xa')](_0x69f99a);_0x44a9a5[_0x1ef8('0x43')](_0x60e47d,{'at':_0x4f0fb6,'rows':_0x2d0366-_0x4f0fb6+0x1});}),_0x30fc89['_suggestionFactory'][_0x1ef8('0x17')](_0x1ef8('0x2a'),'tablePasteColumn',_0x1ef8('0x3'),_0x32ef87=>{const _0x12c8ef=_0x32ef87[_0x1ef8('0x1e')](_0x45abc3=>_0x45abc3[_0x1ef8('0x78')]()),_0x5b62b0=_0x12c8ef[0x0]['findAncestor'](_0x1ef8('0x14')),{minColumn:_0x270962,maxColumn:_0x4db155}=_0x5d3f4d['_getCoordsForCells'](_0x12c8ef);_0x44a9a5[_0x1ef8('0x30')](_0x5b62b0,{'at':_0x270962,'columns':_0x4db155-_0x270962+0x1});});const _0x5e64fa=(_0x2be65c,_0x37ca1c)=>{if(!_0x37ca1c[_0x1ef8('0x5')]||!_0x37ca1c[_0x1ef8('0x5')][_0x1ef8('0x11')](_0x1ef8('0x5a')))return;const _0x5e814f=_0x37ca1c[_0x1ef8('0x5c')]['tablePasteChainId'],_0x30052e=_0x30fc89[_0x1ef8('0x13')]()[_0x1ef8('0x74')](_0x42c83f=>_0x42c83f['isInContent']&&_0x42c83f['attributes']&&_0x42c83f[_0x1ef8('0x5c')][_0x1ef8('0x86')]==_0x5e814f);_0x30052e[_0x1ef8('0x7a')]&&_0x37ca1c[_0x1ef8('0x7')]()['length']!=_0x30052e[_0x1ef8('0x7a')]&&_0x30052e['reduce']((_0xe029ff,_0x3ff7dc)=>(_0xe029ff['next']=_0x3ff7dc,_0x3ff7dc['previous']=_0xe029ff,_0x3ff7dc));};function _0x20d24f(_0xf45406,_0x556fd2=!0x0){const {id:_0x361210}=_0x30fc89['_splitMarkerName'](_0xf45406['markerName']),_0x336b08=[_0x1ef8('0x4d'),_0x1ef8('0x73')],_0x390af3=_0x30fc89[_0x1ef8('0x1d')][_0x1ef8('0x5e')](_0xf45406['markerName']);return _0x390af3&&_0x336b08[_0x1ef8('0x67')](_0x1ef8('0x8a')),{'classes':_0x336b08,'attributes':{'data-suggestion':_0x361210},'priority':_0x390af3&&_0x556fd2?0xbc2:0xbb8};}_0x30fc89['on'](_0x1ef8('0x19'),_0x5e64fa,{'priority':_0x1ef8('0x46')}),_0x30fc89['on'](_0x1ef8('0x99'),_0x5e64fa,{'priority':_0x1ef8('0x46')}),_0x534f05[_0x1ef8('0x59')]['document'][_0x1ef8('0x60')](()=>{let _0x5afe58=!0x1;const _0x58009d=Array[_0x1ef8('0x84')](_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x2c')]['differ'][_0x1ef8('0x5b')]());for(const {name:_0x4b2e3d,data:_0x579485}of _0x58009d){const {group:_0x15adc4,type:_0x1b48c9,id:_0x3bae06}=_0x30fc89[_0x1ef8('0x23')](_0x4b2e3d);if(_0x1ef8('0x1f')!=_0x15adc4||'deletion'!=_0x1b48c9||_0x579485['oldRange'])continue;if(!_0x30fc89[_0x1ef8('0x5f')](_0x3bae06))continue;const _0x2e7063=_0x30fc89['getSuggestion'](_0x3bae06)['getRanges'](),_0x3528e4=_0x534f05[_0x1ef8('0x29')]['get'](_0x1ef8('0x20'))['me'];for(const _0x2ffca9 of _0x30fc89['getSuggestions']()){if(!_0x2ffca9[_0x1ef8('0x85')]||_0x2ffca9['author']!=_0x3528e4)continue;if(_0x1ef8('0x6d')!=_0x2ffca9[_0x1ef8('0x25')]||'tablePasteCell'!=_0x2ffca9[_0x1ef8('0x5')])continue;if(_0x2ffca9['getRanges']()[_0x1ef8('0x4a')](_0x15c20a=>_0x2e7063[_0x1ef8('0x3f')](_0x3786db=>_0x3786db[_0x1ef8('0x66')](_0x15c20a,!0x0))))for(const _0x30c268 of _0x2ffca9[_0x1ef8('0x7')]())_0x30c268[_0x1ef8('0x85')]&&(_0x30c268[_0x1ef8('0x3')](),_0x5afe58=!0x0);}}return _0x5afe58;}),_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x2c')]['registerPostFixer'](_0x59eb6a=>{const _0x227c79=_0x534f05[_0x1ef8('0x39')][_0x1ef8('0x3b')](_0x1ef8('0x87'));if(!_0x227c79||!_0x227c79[_0x1ef8('0x6f')]['has'](_0x59eb6a['batch']))return!0x1;let _0x613f44=!0x1;const _0x558963=_0x534f05[_0x1ef8('0x29')][_0x1ef8('0x3b')](_0x1ef8('0x20'))['me'],_0x1d7c6e=_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x2c')][_0x1ef8('0x1a')][_0x1ef8('0x4b')](),_0x21bba0=Array[_0x1ef8('0x84')](_0x534f05[_0x1ef8('0x59')]['document'][_0x1ef8('0x1a')][_0x1ef8('0x5b')]())['filter'](({name:_0x20e60b,data:_0x324af3})=>{const {group:_0x4839d9,subType:_0x529f5d,authorId:_0x216a98}=_0x30fc89[_0x1ef8('0x23')](_0x20e60b);return _0x1ef8('0x1f')==_0x4839d9&&_0x1ef8('0x5a')==_0x529f5d&&_0x216a98==_0x558963['id']&&!_0x324af3[_0x1ef8('0x3c')];});for(const _0x4b4beb of _0x1d7c6e){if(_0x1ef8('0x42')!=_0x4b4beb[_0x1ef8('0x25')]||_0x1ef8('0x47')!=_0x4b4beb[_0x1ef8('0x52')]||0x1!=_0x4b4beb[_0x1ef8('0x7a')])continue;const _0x28a965=_0x59eb6a[_0x1ef8('0x77')](_0x4b4beb[_0x1ef8('0x8')],_0x4b4beb[_0x1ef8('0x8')][_0x1ef8('0x2b')](0x1));if(!_0x21bba0[_0x1ef8('0x26')](({data:_0x52200d})=>_0x52200d['newRange'][_0x1ef8('0x9d')](_0x28a965)))for(const {name:_0x102a92,data:_0x28abfa}of _0x21bba0)if(_0x28a965[_0x1ef8('0x66')](_0x28abfa[_0x1ef8('0x6e')])){_0x59eb6a['updateMarker'](_0x102a92,{'range':_0x28a965}),_0x613f44=!0x0;break;}}return _0x613f44;}),_0x534f05[_0x1ef8('0x59')][_0x1ef8('0x2c')][_0x1ef8('0x60')](_0x2fea74=>{let _0x3114e7=!0x1;const _0x401f60=_0x534f05[_0x1ef8('0x29')][_0x1ef8('0x3b')]('Users')['me'],_0x18d647=_0x30fc89[_0x1ef8('0x13')]()[_0x1ef8('0x74')](_0x4d9ac1=>_0x4d9ac1[_0x1ef8('0x85')]&&_0x4d9ac1['author']==_0x401f60),_0x48fa25=new Set(),_0x23fec7=new Set();for(const _0x31117d of _0x18d647)if(_0x1ef8('0x5a')==_0x31117d[_0x1ef8('0x5')])for(const _0x3f5d5d of _0x31117d[_0x1ef8('0x8e')]()){const _0x223858=_0x3f5d5d[_0x1ef8('0x18')]()[_0x1ef8('0x78')]();if(_0x223858){if(_0x223858['is'](_0x1ef8('0x7e'),_0x1ef8('0x47'))&&ce(_0x223858)){_0x31117d[_0x1ef8('0xb')](_0x3f5d5d[_0x1ef8('0x52')]),_0x48fa25[_0x1ef8('0x80')](_0x223858),_0x3114e7=!0x0;const _0x1bf589=_0x223858['nextSibling'],_0x76f99d=_0x223858[_0x1ef8('0x2d')],_0x5a78b0=_0x1bf589&&_0x1bf589['is'](_0x1ef8('0x7e'),_0x1ef8('0x47')),_0x27e541=_0x76f99d&&_0x76f99d['is']('element',_0x1ef8('0x47'));_0x5a78b0&&!_0x48fa25[_0x1ef8('0x57')](_0x1bf589)&&_0x23fec7[_0x1ef8('0x80')](_0x1bf589),_0x27e541&&!_0x48fa25[_0x1ef8('0x57')](_0x76f99d)&&_0x23fec7[_0x1ef8('0x80')](_0x76f99d);}else _0x223858['is']('element',_0x1ef8('0x53'))&&_0x223858[_0x1ef8('0x5d')]&&(_0x31117d[_0x1ef8('0xb')](_0x3f5d5d['name']),_0x3114e7=!0x0);}}else{if(_0x1ef8('0x75')==_0x31117d[_0x1ef8('0x5')]){if(!_0x31117d[_0x1ef8('0x5c')]||!_0x31117d[_0x1ef8('0x5c')]['tablePasteChainId'])continue;const _0x539812=_0x31117d[_0x1ef8('0x5c')]['markerAttributes'];if(_0x539812&&Object[_0x1ef8('0x64')](_0x539812)[_0x1ef8('0x7a')])continue;const _0x49e050=_0x31117d[_0x1ef8('0x5c')][_0x1ef8('0x86')];let _0x168e59=!0x0,_0x2593b4=!0x0;for(const _0x129132 of _0x18d647)if(_0x129132[_0x1ef8('0x5')]&&_0x129132['subType']['startsWith']('tablePaste')){if(!_0x129132[_0x1ef8('0x5c')][_0x1ef8('0x86')]){_0x2593b4=!0x1;break;}if(_0x129132['id']!=_0x31117d['id']&&_0x129132[_0x1ef8('0x5c')][_0x1ef8('0x86')]==_0x49e050){_0x168e59=!0x1;break;}}_0x2593b4&&_0x168e59&&(_0x31117d[_0x1ef8('0x76')](),_0x3114e7=!0x0);}}for(const _0xad581d of _0x48fa25)_0x2fea74[_0x1ef8('0x1b')](_0xad581d);for(const _0x162bd0 of _0x23fec7)_0x2fea74['unwrap'](_0x162bd0);return _0x3114e7;}),_0x534f05[_0x1ef8('0x44')][_0x1ef8('0x65')]('editingDowncast')[_0x1ef8('0x56')]({'model':_0x1ef8('0x95'),'view':(_0x3c9675,_0x5cef1a)=>_0x20d24f(_0x3c9675),'converterPriority':_0x1ef8('0x46')}),_0x534f05[_0x1ef8('0x44')][_0x1ef8('0x65')](_0x1ef8('0x16'))[_0x1ef8('0x56')]({'model':_0x1ef8('0x95'),'view':(_0x2c1de4,_0x5550fe)=>_0x5550fe[_0x1ef8('0x35')][_0x1ef8('0x8c')]?_0x20d24f(_0x2c1de4,!0x1):null,'converterPriority':_0x1ef8('0x46')});const _0x332c6e=_0x534f05[_0x1ef8('0x2e')][_0x1ef8('0x9e')];this[_0x1ef8('0x97')](_0x332c6e[_0x1ef8('0x2c')],_0x1ef8('0x21'),(_0xf199b,_0x187973)=>{const _0xcd0482=[];for(const _0x509187 of _0x332c6e['createRangeIn'](_0x187973['content'])[_0x1ef8('0x6b')]())_0x509187['is'](_0x1ef8('0x7e'),_0x1ef8('0x36'))&&_0xcd0482[_0x1ef8('0x67')](_0x509187);_0x332c6e[_0x1ef8('0x12')](_0x3e8326=>{for(const _0x3f7a18 of _0xcd0482)_0x3e8326[_0x1ef8('0x7b')](_0x3e8326[_0x1ef8('0xc')](_0x3f7a18),_0x3e8326[_0x1ef8('0x6a')](_0x3f7a18)),_0x3e8326[_0x1ef8('0x1b')](_0x3f7a18);});});}}function ce(_0x2eb61e){if(_0x2eb61e['isEmpty'])return!0x0;const _0x528a56=_0x2eb61e[_0x1ef8('0x40')](0x0);return _0x528a56['is'](_0x1ef8('0x7e'),_0x1ef8('0x53'))&&_0x528a56[_0x1ef8('0x5d')];}function fe(_0x50319c,_0x50a501={},_0x3b1360){for(const {isAnchor:_0x2abd5b,cellHeight:_0x722a4a,cellWidth:_0x5ee67f}of _0x3b1360[_0x1ef8('0x93')](_0x50319c,{'includeAllSlots':!0x0,..._0x50a501}))if(!_0x2abd5b||0x1!=_0x722a4a||0x1!=_0x5ee67f)return!0x1;return!0x0;}
23
+ const _0x23d5=['markers','tableCell','removeMarker','_isForcedDefaultExecutionBlock','markMultiRangeInsertion','isEqual','$graveyard','newRange','editingDowncast','locale','markerAttributes','getColumnIndexes','tableCellVerticalAlignment','getAttributes','markerName','differ','move','ck-suggestion-marker','tableCellBorderStyle','columns','rowInsertionIndexes','remove','stop','batch','attributes','clipboardOutput','options','removeMarkers','elementToElement','createElement','getChildren','findAncestor','tableCellBorderColor','getShiftedBy','plugins','has','containsRange','map','first','fill','name','getItems','tablePasteChainId','_replaceTableSlotCell','content','getTableIfOnlyTableInContent','keys','afterInit','hasSuggestion','includes','getSelectionAffectedTableCells','dataDowncast','getContainedElement','forceDefaultExecution','removeColumns','columnInsertionIndexes','insertColumns','column','registerPostFixer','tableCellPadding','element','high','requires','author','_splitMarkerName','suggestion','filter','tablePasteRow','redo','reduce','last','_tablePostFixingSubtypes','_createdBatches','model','columnInsertionRanges','tablePasteColumn','from','formatBlock','commands','insertion','TableClipboard','getAllAdjacentSuggestions','setAttributes','cells','get','cell','createRangeIn','set','every','selection','Users','isInContent','wrap','join','find','insert','accept','registerDescriptionCallback','deletion','deletionRanges','unwrap','ck-suggestion-marker--active','ck-suggestion-marker-insertion','endRow','activeMarkers','add','startsWith','createRange','suggestion-td','subType','setAttribute','root','removeRows','createPositionBefore','insertionRanges','_suggestionFactory','for','table','createTableWalker','editing','conversion','getSuggestions','registerCustomCallback','low','markMultiRangeBlockFormat','isEmpty','type','entries','getChanges','return','tablePaste','length','getChild','end','tablePasteCell','getRange','change','getMarkers','createRangeOn','tableCellSuggestion','rows','TrackChangesEditing','_getCoordsForCells','suggestionUnloaded','previous','getSuggestion','getSuggestionCallback','getColumns','fromEntries','documentSelection','start','discard','push','oldRange','getChangedMarkers','editor','previousSibling','getRanges','markMultiRangeDeletion','position','suggestion:formatBlock:tablePasteCell','document','rowInsertionRanges','nodeAfter','markerToHighlight','view','register','row','insertContent','suggestionLoaded','endColumn'];(function(_0x52c97e,_0x23d5e5){const _0x41e162=function(_0x1a4131){while(--_0x1a4131){_0x52c97e['push'](_0x52c97e['shift']());}};_0x41e162(++_0x23d5e5);}(_0x23d5,0x1c0));const _0x41e1=function(_0x52c97e,_0x23d5e5){_0x52c97e=_0x52c97e-0x0;let _0x41e162=_0x23d5[_0x52c97e];return _0x41e162;};import{getTranslation as _0x37257a}from'../utils/common-translations';import{Plugin as _0x5b8d58}from'ckeditor5/src/core';import{uid as _0x1081c5,priorities as _0x908dc0}from'ckeditor5/src/utils';import _0x398a19 from'./table';const le=['tableCellBorderWidth',_0x41e1('0x61'),_0x41e1('0x53'),'tableCellHorizontalAlignment',_0x41e1('0x4d'),'tableCellBackgroundColor',_0x41e1('0x7c')],ae=Object[_0x41e1('0x2a')](le['map'](_0x254d3f=>[_0x254d3f,null]));export default class kt extends _0x5b8d58{static get[_0x41e1('0x7f')](){return[_0x398a19];}[_0x41e1('0x70')](){const _0x62ea88=this[_0x41e1('0x31')];if(!_0x62ea88[_0x41e1('0x63')][_0x41e1('0x64')](_0x41e1('0x91')))return;const _0x44202d=_0x62ea88[_0x41e1('0x63')][_0x41e1('0x95')](_0x41e1('0x23')),_0xaa3da9=_0x62ea88[_0x41e1('0x63')][_0x41e1('0x95')]('TableUtils'),_0x400784=_0x62ea88[_0x41e1('0x63')]['get'](_0x398a19),_0x2ac116=_0x62ea88['plugins'][_0x41e1('0x95')](_0x41e1('0x91'));_0x400784[_0x41e1('0x88')]['push'](_0x41e1('0x84'),_0x41e1('0x8c')),_0x62ea88[_0x41e1('0x8a')]['schema'][_0x41e1('0x3c')](_0x41e1('0x21'),{'allowIn':'tableCell','allowContentOf':_0x41e1('0x42'),'isLimit':!0x0}),_0x62ea88[_0x41e1('0xe')][_0x41e1('0x5d')]({'model':_0x41e1('0x21'),'view':_0x41e1('0x2')});let _0x1e8b12=null;_0x62ea88[_0x41e1('0x8a')]['on']('insertContent',(_0x10887c,_0x2c641d)=>{const [_0x338afe,_0x29e0d2]=_0x2c641d,_0x1c6bf3=_0x2c641d[_0x2c641d[_0x41e1('0x19')]-0x1];_0x1c6bf3&&_0x1c6bf3[_0x41e1('0x76')]||_0x44202d[_0x41e1('0x44')]||this[_0x41e1('0x31')][_0x41e1('0x8f')]['get']('trackChanges')['value']&&function(_0x1109e9,_0x18f984,_0x505992,_0x40d4d1,_0x20bb49){if(_0x18f984&&!_0x18f984['is'](_0x41e1('0x2b')))return!0x1;const _0x1b67f5=_0x20bb49[_0x41e1('0x6e')](_0x1109e9,_0x505992);if(!_0x1b67f5||!fe(_0x1b67f5,void 0x0,_0x40d4d1))return!0x1;const _0x5457d2=_0x40d4d1[_0x41e1('0x73')](_0x505992[_0x41e1('0x37')][_0x41e1('0x9a')]);if(!_0x5457d2[_0x41e1('0x19')])return!0x1;const _0x7d6fa6=_0x5457d2[0x0]['findAncestor'](_0x41e1('0xb')),_0x189861=_0x40d4d1['getRowIndexes'](_0x5457d2),_0xe13088=_0x40d4d1[_0x41e1('0x4c')](_0x5457d2),_0x382514={'startRow':_0x189861[_0x41e1('0x67')],'endRow':_0x189861[_0x41e1('0x87')],'startColumn':_0xe13088['first'],'endColumn':_0xe13088['last']};return 0x1==_0x5457d2[_0x41e1('0x19')]&&(_0x382514[_0x41e1('0xa8')]+=_0x40d4d1['getRows'](_0x1b67f5)-0x1,_0x382514[_0x41e1('0x40')]+=_0x40d4d1[_0x41e1('0x29')](_0x1b67f5)-0x1),fe(_0x7d6fa6,_0x382514,_0x40d4d1);}(_0x338afe,_0x29e0d2,_0x62ea88[_0x41e1('0x8a')],_0xaa3da9,_0x2ac116)&&(_0x10887c['stop'](),_0x1e8b12={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x62ea88[_0x41e1('0x8a')]['change'](()=>{_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x3e')](_0x2c641d[0x0],_0x2c641d[0x1],_0x2c641d[0x2],{'forceDefaultExecution':!0x0});const _0x288de6=_0x1081c5(),{rowInsertionRanges:_0x52360b,columnInsertionRanges:_0x24accb,insertionRanges:_0x197c47,deletionRanges:_0x450b54,cells:_0x3a775a}=_0x1e8b12;_0x52360b[_0x41e1('0x19')]&&_0x44202d['markMultiRangeInsertion'](_0x52360b,'tablePasteRow',{'tablePasteChainId':_0x288de6}),_0x24accb[_0x41e1('0x19')]&&_0x44202d[_0x41e1('0x45')](_0x24accb,_0x41e1('0x8c'),{'tablePasteChainId':_0x288de6}),_0x197c47[_0x41e1('0x19')]&&_0x44202d[_0x41e1('0x45')](_0x197c47,_0x41e1('0x18'),{'tablePasteChainId':_0x288de6,'skipNestingCheck':!0x0}),_0x450b54[_0x41e1('0x19')]&&_0x44202d[_0x41e1('0x34')](_0x450b54,_0x41e1('0x18'),{'tablePasteChainId':_0x288de6,'skipNestingCheck':!0x0});const _0x548cf5=_0x44202d[_0x41e1('0x12')](_0x3a775a['map'](({element:_0x28b11c})=>_0x28b11c),{'formatGroupId':_0x1081c5()},[],_0x41e1('0x1c'),{'tablePasteChainId':_0x288de6});if(_0x548cf5){const _0x14beb2=_0x548cf5[_0x41e1('0x1f')](),_0x3aea01=[];for(const {element:_0x49a258,attributes:_0xb6e736}of _0x3a775a){if(!_0xb6e736)continue;const _0xaf1d7e=_0x62ea88['model'][_0x41e1('0x20')](_0x49a258),_0x23e57c=_0x14beb2[_0x41e1('0x9f')](_0x482989=>_0x482989[_0x41e1('0x1d')]()[_0x41e1('0x46')](_0xaf1d7e));_0x23e57c&&_0x3aea01[_0x41e1('0x2e')]([_0x23e57c[_0x41e1('0x69')],_0xb6e736]);}_0x3aea01[_0x41e1('0x19')]&&_0x548cf5[_0x41e1('0x4')](_0x41e1('0x4b'),Object['fromEntries'](_0x3aea01));}_0x1e8b12=null;}));},{'priority':_0x908dc0[_0x41e1('0x7e')]+0xa}),_0x62ea88['plugins'][_0x41e1('0x95')]('TableClipboard')['on'](_0x41e1('0x6c'),(_0x7a2d0f,_0x3ff35e)=>{const [_0x5b6516,_0x182af5,,_0x1a2e44]=_0x3ff35e;if(!_0x1e8b12)return;_0x7a2d0f[_0x41e1('0x57')]();const _0xb528ff=_0x5b6516[_0x41e1('0x96')],_0x2eb658=_0x182af5,_0x1e9455=ce(_0xb528ff),_0x1f5d17=ce(_0x2eb658);_0x7a2d0f[_0x41e1('0x17')]=_0xb528ff;let _0x77f3dd=null,_0x48a800=null;if(_0x1f5d17||_0x1e9455){if(_0x1e9455&&!_0x1f5d17){_0x1a2e44[_0x41e1('0x56')](_0xb528ff['getChild'](0x0));for(const _0x376ad4 of Array[_0x41e1('0x8d')](_0x2eb658[_0x41e1('0x5f')]()))_0x1a2e44['insert'](_0x376ad4,_0xb528ff,_0x41e1('0x1b'));const _0x3a06de=_0x1e8b12[_0x41e1('0x55')][_0x41e1('0x72')](_0x5b6516[_0x41e1('0x3d')]),_0x37f2ee=_0x1e8b12[_0x41e1('0x78')]['includes'](_0x5b6516[_0x41e1('0x7a')]);_0x3a06de||_0x37f2ee||(_0x77f3dd=_0x1a2e44[_0x41e1('0x97')](_0xb528ff));}else _0x1f5d17&&!_0x1e9455&&(_0x48a800=_0x1a2e44[_0x41e1('0x97')](_0xb528ff));}else{const _0x16ecd9=_0x1a2e44[_0x41e1('0x5e')](_0x41e1('0x21')),_0x2c7b48=_0x1a2e44[_0x41e1('0x5e')](_0x41e1('0x21'));_0x1a2e44[_0x41e1('0x9d')](_0x1a2e44['createRangeIn'](_0xb528ff),_0x2c7b48),_0x1a2e44[_0x41e1('0xa0')](_0x16ecd9,_0xb528ff,0x0);for(const _0x19e4ee of Array['from'](_0x2eb658[_0x41e1('0x5f')]()))_0x1a2e44['insert'](_0x19e4ee,_0x16ecd9,_0x41e1('0x1b'));_0x77f3dd=_0x1a2e44[_0x41e1('0x20')](_0x16ecd9),_0x48a800=_0x1a2e44[_0x41e1('0x20')](_0x2c7b48);}const _0x192ff7=Array[_0x41e1('0x8d')](_0x2eb658[_0x41e1('0x4e')]())[_0x41e1('0x83')](([_0x5000bd])=>le[_0x41e1('0x72')](_0x5000bd));_0x1e8b12[_0x41e1('0x94')][_0x41e1('0x2e')]({'element':_0xb528ff,'attributes':_0x192ff7[_0x41e1('0x19')]?Object[_0x41e1('0x2a')](_0x192ff7):null}),_0x77f3dd&&_0x1e8b12[_0x41e1('0x8')]['push'](_0x77f3dd),_0x48a800&&_0x1e8b12[_0x41e1('0xa4')][_0x41e1('0x2e')](_0x48a800);},{'priority':_0x41e1('0x7e')}),_0xaa3da9['on'](_0x41e1('0x79'),(_0x1363d7,_0x388abf)=>{const [_0xec74d5,_0x5cee9e={}]=_0x388abf;if(!_0x1e8b12)return;const _0x5154ae=_0x5cee9e['at']||0x0,_0x4bf888=_0x5cee9e[_0x41e1('0x54')]||0x1;_0x1e8b12[_0x41e1('0x78')]=new Array(_0x4bf888)[_0x41e1('0x68')](_0x5154ae)[_0x41e1('0x66')]((_0x3d99fe,_0xbf0820)=>_0x3d99fe+_0xbf0820);for(const {cell:_0x30d356}of _0xaa3da9['createTableWalker'](_0xec74d5,{'startColumn':_0x5154ae,'endColumn':_0x5154ae+_0x4bf888-0x1}))_0x1e8b12[_0x41e1('0x8b')][_0x41e1('0x2e')](_0x62ea88['model']['createRangeOn'](_0x30d356));},{'priority':_0x41e1('0x11')}),_0xaa3da9['on']('insertRows',(_0x3200b9,_0x2fb74b)=>{const [_0x27aef1,_0x537a73={}]=_0x2fb74b;if(!_0x1e8b12)return;const _0x2710b5=_0x537a73['at']||0x0,_0x2f0d8a=_0x537a73[_0x41e1('0x22')]||0x1;_0x1e8b12[_0x41e1('0x55')]=new Array(_0x2f0d8a)[_0x41e1('0x68')](_0x2710b5)[_0x41e1('0x66')]((_0x8a9e16,_0x1229ff)=>_0x8a9e16+_0x1229ff);for(const {cell:_0x2142a3}of _0xaa3da9[_0x41e1('0xc')](_0x27aef1,{'startRow':_0x2710b5,'endRow':_0x2710b5+_0x2f0d8a-0x1}))_0x1e8b12[_0x41e1('0x38')][_0x41e1('0x2e')](_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x20')](_0x2142a3));},{'priority':_0x41e1('0x11')}),_0x44202d['_descriptionFactory'][_0x41e1('0xa2')](_0x317008=>{if(_0x317008['subType']&&_0x317008['subType'][_0x41e1('0x0')](_0x41e1('0x18')))return _0x317008[_0x41e1('0x26')]?{}:{'type':_0x41e1('0x90'),'content':_0x37257a(_0x62ea88[_0x41e1('0x4a')],'*Replace\x20table\x20cells*')};});const _0x346047=()=>{};for(const _0x3539c5 of['tablePaste',_0x41e1('0x8c'),_0x41e1('0x84'),_0x41e1('0x1c')])_0x44202d[_0x41e1('0x9')][_0x41e1('0x10')](_0x41e1('0x90'),_0x3539c5,_0x41e1('0x9e'),_0x346047),_0x44202d[_0x41e1('0x9')]['registerCustomCallback'](_0x41e1('0xa3'),_0x3539c5,_0x41e1('0x9e'),_0x346047);_0x44202d[_0x41e1('0x9')][_0x41e1('0x10')](_0x41e1('0x8e'),_0x41e1('0x1c'),_0x41e1('0x2d'),_0x346047),_0x44202d['_suggestionFactory'][_0x41e1('0x10')]('formatBlock',_0x41e1('0x1c'),_0x41e1('0xa1'),(_0x36a620,_0x57bef3,_0x171f18)=>{const _0x43c081=_0x36a620[_0x41e1('0x66')](_0x50d039=>_0x50d039[_0x41e1('0x75')]())[_0x41e1('0x83')](_0x4ed098=>_0x4ed098),_0x385342=new Map(_0x43c081[_0x41e1('0x66')](_0x164b09=>[_0x164b09,null]));if(_0x1e8b12)for(const {element:_0x54d0c5,attributes:_0x51e74d}of _0x1e8b12[_0x41e1('0x94')])_0x51e74d&&_0x385342[_0x41e1('0x98')](_0x54d0c5,_0x51e74d);else{if(_0x171f18&&_0x171f18[_0x41e1('0x4b')])for(const [_0x3a04e2,_0x22966c]of Object[_0x41e1('0x15')](_0x171f18[_0x41e1('0x4b')])){const _0x101f74=_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x41')][_0x41e1('0x95')](_0x3a04e2),_0x5bfaaf=_0x101f74?_0x101f74[_0x41e1('0x1d')]()[_0x41e1('0x75')]():null;_0x5bfaaf&&_0x385342[_0x41e1('0x98')](_0x5bfaaf,_0x22966c);}}_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x1e')](_0x56647c=>{for(const [_0x4ccf9d,_0x12ac3a]of _0x385342)_0x56647c[_0x41e1('0x93')]({...ae,..._0x12ac3a},_0x4ccf9d);});});const _0x2c8547=(_0x2df088,_0x460df8)=>{_0x44202d[_0x41e1('0x9')][_0x41e1('0x10')](_0x2df088,'tablePaste',_0x460df8,(_0x5ae344,_0x5e91f7,_0x340bd6)=>{_0x62ea88['model'][_0x41e1('0x1e')](_0xe3bb82=>{const _0x429ff8=[];for(const _0x5d5a34 of _0x5ae344){const _0x5e64ad=_0x5d5a34[_0x41e1('0x2c')][_0x41e1('0x39')];_0x5e64ad['is']('element','tableCellSuggestion')&&_0x429ff8['push'](_0x5e64ad);}_0x44202d[_0x41e1('0x9')][_0x41e1('0x28')](_0x2df088,null,_0x460df8)(_0x5ae344,_0x5e91f7,_0x340bd6);for(const _0xf9f0a8 of _0x429ff8)_0x41e1('0x47')!=_0xf9f0a8[_0x41e1('0x5')]['rootName']&&_0xe3bb82[_0x41e1('0xa5')](_0xf9f0a8);});});};_0x2c8547('insertion',_0x41e1('0xa1')),_0x2c8547(_0x41e1('0x90'),'discard'),_0x2c8547(_0x41e1('0xa3'),'accept'),_0x2c8547(_0x41e1('0xa3'),_0x41e1('0x2d')),_0x44202d['_suggestionFactory']['registerCustomCallback'](_0x41e1('0x90'),_0x41e1('0x84'),'discard',_0x99b54a=>{const _0x2935eb=_0x99b54a[_0x41e1('0x66')](_0x3910a1=>_0x3910a1[_0x41e1('0x75')]()),_0x20e339=_0x2935eb[0x0][_0x41e1('0x60')](_0x41e1('0xb')),{minRow:_0x5b0bac,maxRow:_0x2ada3a}=_0x400784[_0x41e1('0x24')](_0x2935eb);_0xaa3da9[_0x41e1('0x6')](_0x20e339,{'at':_0x5b0bac,'rows':_0x2ada3a-_0x5b0bac+0x1});}),_0x44202d['_suggestionFactory'][_0x41e1('0x10')](_0x41e1('0x90'),_0x41e1('0x8c'),_0x41e1('0x2d'),_0x42939e=>{const _0x520a57=_0x42939e[_0x41e1('0x66')](_0x3606dd=>_0x3606dd[_0x41e1('0x75')]()),_0x489dbc=_0x520a57[0x0][_0x41e1('0x60')](_0x41e1('0xb')),{minColumn:_0x6aa7b7,maxColumn:_0x3845c1}=_0x400784[_0x41e1('0x24')](_0x520a57);_0xaa3da9[_0x41e1('0x77')](_0x489dbc,{'at':_0x6aa7b7,'columns':_0x3845c1-_0x6aa7b7+0x1});});const _0x4c90db=(_0x4adcf8,_0x1c57e3)=>{if(!_0x1c57e3[_0x41e1('0x3')]||!_0x1c57e3[_0x41e1('0x3')]['startsWith'](_0x41e1('0x18')))return;const _0xa5c2f3=_0x1c57e3[_0x41e1('0x59')][_0x41e1('0x6b')],_0x59915a=_0x44202d[_0x41e1('0xf')]()[_0x41e1('0x83')](_0x3934e8=>_0x3934e8[_0x41e1('0x9c')]&&_0x3934e8[_0x41e1('0x59')]&&_0x3934e8[_0x41e1('0x59')][_0x41e1('0x6b')]==_0xa5c2f3);_0x59915a[_0x41e1('0x19')]&&_0x1c57e3[_0x41e1('0x92')]()[_0x41e1('0x19')]!=_0x59915a['length']&&_0x59915a[_0x41e1('0x86')]((_0x269299,_0x46b3ea)=>(_0x269299['next']=_0x46b3ea,_0x46b3ea[_0x41e1('0x26')]=_0x269299,_0x46b3ea));};function _0x4ee068(_0x59c4bb,_0xfeee27=!0x0){const {id:_0x461ceb}=_0x44202d[_0x41e1('0x81')](_0x59c4bb[_0x41e1('0x4f')]),_0x4525f0=[_0x41e1('0x52'),_0x41e1('0xa7')],_0x5ca5f6=_0x44202d[_0x41e1('0xa9')][_0x41e1('0x72')](_0x59c4bb[_0x41e1('0x4f')]);return _0x5ca5f6&&_0x4525f0[_0x41e1('0x2e')](_0x41e1('0xa6')),{'classes':_0x4525f0,'attributes':{'data-suggestion':_0x461ceb},'priority':_0x5ca5f6&&_0xfeee27?0xbc2:0xbb8};}_0x44202d['on'](_0x41e1('0x3f'),_0x4c90db,{'priority':'high'}),_0x44202d['on'](_0x41e1('0x25'),_0x4c90db,{'priority':_0x41e1('0x7e')}),_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x37')][_0x41e1('0x7b')](()=>{let _0x4591e0=!0x1;const _0x5aa72a=Array['from'](_0x62ea88[_0x41e1('0x8a')]['document'][_0x41e1('0x50')][_0x41e1('0x30')]());for(const {name:_0x231839,data:_0x162a3c}of _0x5aa72a){const {group:_0x5bf776,type:_0xa8f15f,id:_0x59d6cf}=_0x44202d[_0x41e1('0x81')](_0x231839);if('suggestion'!=_0x5bf776||_0x41e1('0xa3')!=_0xa8f15f||_0x162a3c[_0x41e1('0x2f')])continue;if(!_0x44202d[_0x41e1('0x71')](_0x59d6cf))continue;const _0x2d3a53=_0x44202d[_0x41e1('0x27')](_0x59d6cf)['getRanges'](),_0x4494f7=_0x62ea88['plugins'][_0x41e1('0x95')](_0x41e1('0x9b'))['me'];for(const _0x481e49 of _0x44202d[_0x41e1('0xf')]()){if(!_0x481e49[_0x41e1('0x9c')]||_0x481e49[_0x41e1('0x80')]!=_0x4494f7)continue;if(_0x41e1('0x8e')!=_0x481e49['type']||_0x41e1('0x1c')!=_0x481e49['subType'])continue;if(_0x481e49[_0x41e1('0x33')]()[_0x41e1('0x99')](_0x3f2277=>_0x2d3a53['some'](_0x19fd19=>_0x19fd19[_0x41e1('0x65')](_0x3f2277,!0x0))))for(const _0x253fee of _0x481e49[_0x41e1('0x92')]())_0x253fee['isInContent']&&(_0x253fee['discard'](),_0x4591e0=!0x0);}}return _0x4591e0;}),_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x37')]['registerPostFixer'](_0x85ac9b=>{const _0x2dc607=_0x62ea88['commands'][_0x41e1('0x95')](_0x41e1('0x85'));if(!_0x2dc607||!_0x2dc607[_0x41e1('0x89')][_0x41e1('0x64')](_0x85ac9b[_0x41e1('0x58')]))return!0x1;let _0x486f89=!0x1;const _0x5c405e=_0x62ea88[_0x41e1('0x63')][_0x41e1('0x95')](_0x41e1('0x9b'))['me'],_0x27c7f0=_0x62ea88[_0x41e1('0x8a')][_0x41e1('0x37')][_0x41e1('0x50')][_0x41e1('0x16')](),_0x4c00ab=Array[_0x41e1('0x8d')](_0x62ea88['model'][_0x41e1('0x37')]['differ'][_0x41e1('0x30')]())['filter'](({name:_0x5d73f0,data:_0xc18fc4})=>{const {group:_0xe03b1b,subType:_0x4d2c52,authorId:_0x59c6ed}=_0x44202d[_0x41e1('0x81')](_0x5d73f0);return _0x41e1('0x82')==_0xe03b1b&&_0x41e1('0x18')==_0x4d2c52&&_0x59c6ed==_0x5c405e['id']&&!_0xc18fc4[_0x41e1('0x2f')];});for(const _0x1aca44 of _0x27c7f0){if(_0x41e1('0xa0')!=_0x1aca44[_0x41e1('0x14')]||_0x41e1('0x21')!=_0x1aca44['name']||0x1!=_0x1aca44[_0x41e1('0x19')])continue;const _0x7896e9=_0x85ac9b[_0x41e1('0x1')](_0x1aca44[_0x41e1('0x35')],_0x1aca44[_0x41e1('0x35')][_0x41e1('0x62')](0x1));if(!_0x4c00ab[_0x41e1('0x9f')](({data:_0x435d47})=>_0x435d47[_0x41e1('0x48')][_0x41e1('0x46')](_0x7896e9)))for(const {name:_0x9087dd,data:_0x2f4599}of _0x4c00ab)if(_0x7896e9[_0x41e1('0x65')](_0x2f4599[_0x41e1('0x48')])){_0x85ac9b['updateMarker'](_0x9087dd,{'range':_0x7896e9}),_0x486f89=!0x0;break;}}return _0x486f89;}),_0x62ea88[_0x41e1('0x8a')]['document'][_0x41e1('0x7b')](_0x1c99b0=>{let _0x2e05bf=!0x1;const _0x1fb8cf=_0x62ea88['plugins'][_0x41e1('0x95')](_0x41e1('0x9b'))['me'],_0x17c92f=_0x44202d['getSuggestions']()[_0x41e1('0x83')](_0x463547=>_0x463547[_0x41e1('0x9c')]&&_0x463547[_0x41e1('0x80')]==_0x1fb8cf),_0x7c631e=new Set(),_0x23c747=new Set();for(const _0x5235c3 of _0x17c92f)if(_0x41e1('0x18')==_0x5235c3[_0x41e1('0x3')])for(const _0x51f8b0 of _0x5235c3[_0x41e1('0x1f')]()){const _0x52b85c=_0x51f8b0[_0x41e1('0x1d')]()[_0x41e1('0x75')]();if(_0x52b85c){if(_0x52b85c['is'](_0x41e1('0x7d'),_0x41e1('0x21'))&&ce(_0x52b85c)){_0x5235c3[_0x41e1('0x43')](_0x51f8b0[_0x41e1('0x69')]),_0x7c631e[_0x41e1('0xaa')](_0x52b85c),_0x2e05bf=!0x0;const _0x92e1aa=_0x52b85c['nextSibling'],_0x246de2=_0x52b85c[_0x41e1('0x32')],_0x2f8a3a=_0x92e1aa&&_0x92e1aa['is'](_0x41e1('0x7d'),_0x41e1('0x21')),_0x4776ce=_0x246de2&&_0x246de2['is'](_0x41e1('0x7d'),_0x41e1('0x21'));_0x2f8a3a&&!_0x7c631e[_0x41e1('0x64')](_0x92e1aa)&&_0x23c747[_0x41e1('0xaa')](_0x92e1aa),_0x4776ce&&!_0x7c631e[_0x41e1('0x64')](_0x246de2)&&_0x23c747[_0x41e1('0xaa')](_0x246de2);}else _0x52b85c['is'](_0x41e1('0x7d'),'paragraph')&&_0x52b85c[_0x41e1('0x13')]&&(_0x5235c3[_0x41e1('0x43')](_0x51f8b0['name']),_0x2e05bf=!0x0);}}else{if(_0x41e1('0x1c')==_0x5235c3['subType']){if(!_0x5235c3[_0x41e1('0x59')]||!_0x5235c3['attributes']['tablePasteChainId'])continue;const _0x1937b2=_0x5235c3['attributes'][_0x41e1('0x4b')];if(_0x1937b2&&Object[_0x41e1('0x6f')](_0x1937b2)[_0x41e1('0x19')])continue;const _0x1c824d=_0x5235c3[_0x41e1('0x59')][_0x41e1('0x6b')];let _0x548e4b=!0x0,_0x30d596=!0x0;for(const _0x471d4a of _0x17c92f)if(_0x471d4a[_0x41e1('0x3')]&&_0x471d4a[_0x41e1('0x3')][_0x41e1('0x0')](_0x41e1('0x18'))){if(!_0x471d4a[_0x41e1('0x59')][_0x41e1('0x6b')]){_0x30d596=!0x1;break;}if(_0x471d4a['id']!=_0x5235c3['id']&&_0x471d4a[_0x41e1('0x59')][_0x41e1('0x6b')]==_0x1c824d){_0x548e4b=!0x1;break;}}_0x30d596&&_0x548e4b&&(_0x5235c3[_0x41e1('0x5c')](),_0x2e05bf=!0x0);}}for(const _0x6f3d13 of _0x7c631e)_0x1c99b0[_0x41e1('0x56')](_0x6f3d13);for(const _0x19e341 of _0x23c747)_0x1c99b0[_0x41e1('0xa5')](_0x19e341);return _0x2e05bf;}),_0x62ea88[_0x41e1('0xe')][_0x41e1('0xa')](_0x41e1('0x49'))[_0x41e1('0x3a')]({'model':_0x41e1('0x36'),'view':(_0x1f4a66,_0x2ead68)=>_0x4ee068(_0x1f4a66),'converterPriority':_0x41e1('0x7e')}),_0x62ea88[_0x41e1('0xe')]['for'](_0x41e1('0x74'))[_0x41e1('0x3a')]({'model':_0x41e1('0x36'),'view':(_0x5e8299,_0x5f6f48)=>_0x5f6f48[_0x41e1('0x5b')]['showSuggestionHighlights']?_0x4ee068(_0x5e8299,!0x1):null,'converterPriority':_0x41e1('0x7e')});const _0x35e160=_0x62ea88[_0x41e1('0xd')][_0x41e1('0x3b')];this['listenTo'](_0x35e160[_0x41e1('0x37')],_0x41e1('0x5a'),(_0x8dd560,_0x4cb797)=>{const _0x522536=[];for(const _0x4ac9e8 of _0x35e160[_0x41e1('0x97')](_0x4cb797[_0x41e1('0x6d')])[_0x41e1('0x6a')]())_0x4ac9e8['is'](_0x41e1('0x7d'),_0x41e1('0x2'))&&_0x522536[_0x41e1('0x2e')](_0x4ac9e8);_0x35e160[_0x41e1('0x1e')](_0x5a9e83=>{for(const _0x233e92 of _0x522536)_0x5a9e83[_0x41e1('0x51')](_0x5a9e83[_0x41e1('0x97')](_0x233e92),_0x5a9e83[_0x41e1('0x7')](_0x233e92)),_0x5a9e83[_0x41e1('0x56')](_0x233e92);});});}}function ce(_0x45bc59){if(_0x45bc59['isEmpty'])return!0x0;const _0x4e24ab=_0x45bc59[_0x41e1('0x1a')](0x0);return _0x4e24ab['is'](_0x41e1('0x7d'),'paragraph')&&_0x4e24ab['isEmpty'];}function fe(_0xdf22ef,_0x25efe4={},_0x44abfe){for(const {isAnchor:_0x1c4f95,cellHeight:_0x53ea8f,cellWidth:_0x388860}of _0x44abfe[_0x41e1('0xc')](_0xdf22ef,{'includeAllSlots':!0x0,..._0x25efe4}))if(!_0x1c4f95||0x1!=_0x53ea8f||0x1!=_0x388860)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25e6=['editor','author','columnWidths','handleResizeTableWidthCommand','_suggestionFactory','getSelectedElement','accept','selection','registerCustomCallback','getTableColumnsWidths','handleSuggestionDescription','getSuggestions','TrackChangesEditing','formatBlock','table','_descriptionFactory','model','has','tableWidth','Users','get','formatGroupId','discard','TableColumnResizeEditing','resizeTable','format','afterInit','plugins','bind','registerDescriptionCallback','enableCommand','document','commandParams','resizeColumnWidths','resizeTableWidth','getContainedElement','subType','getSuggestionCallback'];(function(_0x26f049,_0x25e672){const _0x5d1edd=function(_0x1c274e){while(--_0x1c274e){_0x26f049['push'](_0x26f049['shift']());}};_0x5d1edd(++_0x25e672);}(_0x25e6,0x107));const _0x5d1e=function(_0x26f049,_0x25e672){_0x26f049=_0x26f049-0x0;let _0x5d1edd=_0x25e6[_0x26f049];return _0x5d1edd;};import{Plugin as _0x40ac2b}from'ckeditor5/src/core';import{getTranslation as _0x58a740}from'../utils/common-translations';export default class wt extends _0x40ac2b{[_0x5d1e('0x1d')](){if(!this[_0x5d1e('0x3')]['plugins'][_0x5d1e('0x14')]('TableColumnResizeEditing'))return;const _0x3d9bda=this['editor'][_0x5d1e('0x1e')][_0x5d1e('0x17')](_0x5d1e('0xf'));_0x3d9bda[_0x5d1e('0x21')](_0x5d1e('0x25'),this[_0x5d1e('0x6')][_0x5d1e('0x1f')](this)),_0x3d9bda[_0x5d1e('0x21')](_0x5d1e('0x24'),this['handleResizeTableWidthCommand'][_0x5d1e('0x1f')](this)),_0x3d9bda[_0x5d1e('0x7')][_0x5d1e('0xb')](_0x5d1e('0x10'),_0x5d1e('0x1b'),_0x5d1e('0x9'),_0x3d9bda[_0x5d1e('0x7')]['getSuggestionCallback'](_0x5d1e('0x10'),null,_0x5d1e('0x19'))),_0x3d9bda[_0x5d1e('0x7')]['registerCustomCallback'](_0x5d1e('0x10'),_0x5d1e('0x1b'),_0x5d1e('0x19'),_0x3d9bda[_0x5d1e('0x7')][_0x5d1e('0x2')](_0x5d1e('0x10'),null,_0x5d1e('0x9'))),_0x3d9bda[_0x5d1e('0x12')][_0x5d1e('0x20')](this[_0x5d1e('0xd')]['bind'](this));}['handleResizeTableWidthCommand'](_0x2c8439,_0x256a4b){const _0x14312d=this[_0x5d1e('0x3')][_0x5d1e('0x1e')][_0x5d1e('0x17')](_0x5d1e('0xf')),_0x2c1bc9=this[_0x5d1e('0x3')]['plugins'][_0x5d1e('0x17')](_0x5d1e('0x1a')),_0x1c053d=_0x256a4b[_0x5d1e('0x11')]||this[_0x5d1e('0x3')][_0x5d1e('0x13')][_0x5d1e('0x22')][_0x5d1e('0xa')][_0x5d1e('0x8')]();this[_0x5d1e('0x3')][_0x5d1e('0x13')]['change'](()=>{const _0x4c9c9c=_0x2c1bc9['getColumnGroupElement'](_0x1c053d);let _0x38da80=_0x4c9c9c?_0x2c1bc9[_0x5d1e('0xc')](_0x4c9c9c):null,_0x43b5d3=_0x1c053d['getAttribute'](_0x5d1e('0x15'))||null;const _0x3d4b59=_0x256a4b[_0x5d1e('0x15')]||_0x43b5d3,_0x194ce6=_0x256a4b[_0x5d1e('0x5')]||_0x38da80,_0x2ef297=this[_0x5d1e('0x3')][_0x5d1e('0x1e')][_0x5d1e('0x17')](_0x5d1e('0x16'))['me'];for(const _0x3aa3b9 of _0x14312d[_0x5d1e('0xe')]()){const _0x3eb558=_0x3aa3b9[_0x5d1e('0x0')]();if(_0x5d1e('0x1b')===_0x3aa3b9[_0x5d1e('0x1')]&&_0x3eb558===_0x1c053d){_0x3aa3b9[_0x5d1e('0x4')]!==_0x2ef297&&_0x3aa3b9['discard']();const _0x4c0407=_0x3aa3b9['data'][_0x5d1e('0x23')];_0x43b5d3=_0x4c0407[0x0][_0x5d1e('0x15')],_0x38da80=_0x4c0407[0x0][_0x5d1e('0x5')];break;}}_0x2c8439({'table':_0x1c053d,'tableWidth':_0x3d4b59,'columnWidths':_0x194ce6}),_0x14312d['markBlockFormat'](_0x1c053d,{'commandName':_0x5d1e('0x25'),'commandParams':[{'tableWidth':_0x43b5d3,'columnWidths':_0x38da80}],'formatGroupId':'resizeTable'},[],_0x5d1e('0x1b'));});}['handleSuggestionDescription'](_0xabd562){const {data:_0x3b394c}=_0xabd562;if(_0x3b394c&&'resizeTable'===_0x3b394c[_0x5d1e('0x18')]){const _0x3b220e='*Format:*\x20resize\x20table';return{'type':_0x5d1e('0x1c'),'content':_0x58a740(this[_0x5d1e('0x3')]['locale'],_0x3b220e)};}}}
23
+ const _0x365c=['selection','discard','get','tableWidth','plugins','registerDescriptionCallback','author','getSuggestionCallback','has','markBlockFormat','Users','TableColumnResizeEditing','resizeTableWidth','accept','model','locale','change','_descriptionFactory','enableCommand','editor','columnWidths','_suggestionFactory','afterInit','resizeColumnWidths','formatGroupId','formatBlock','commandParams','subType','TrackChangesEditing','format','resizeTable','handleSuggestionDescription','getAttribute','bind','registerCustomCallback','handleResizeTableWidthCommand','getSelectedElement','*Format:*\x20resize\x20table'];(function(_0x12e5e1,_0x365ca3){const _0x29f21a=function(_0x530d82){while(--_0x530d82){_0x12e5e1['push'](_0x12e5e1['shift']());}};_0x29f21a(++_0x365ca3);}(_0x365c,0xb3));const _0x29f2=function(_0x12e5e1,_0x365ca3){_0x12e5e1=_0x12e5e1-0x0;let _0x29f21a=_0x365c[_0x12e5e1];return _0x29f21a;};import{Plugin as _0x421cfb}from'ckeditor5/src/core';import{getTranslation as _0x32b67c}from'../utils/common-translations';export default class wt extends _0x421cfb{[_0x29f2('0x21')](){if(!this['editor'][_0x29f2('0xf')][_0x29f2('0x13')]('TableColumnResizeEditing'))return;const _0x599f10=this[_0x29f2('0x1e')][_0x29f2('0xf')]['get'](_0x29f2('0x1'));_0x599f10['enableCommand'](_0x29f2('0x17'),this['handleResizeTableWidthCommand'][_0x29f2('0x6')](this)),_0x599f10[_0x29f2('0x1d')](_0x29f2('0x22'),this['handleResizeTableWidthCommand'][_0x29f2('0x6')](this)),_0x599f10[_0x29f2('0x20')][_0x29f2('0x7')](_0x29f2('0x24'),'resizeTable',_0x29f2('0x18'),_0x599f10[_0x29f2('0x20')][_0x29f2('0x12')](_0x29f2('0x24'),null,_0x29f2('0xc'))),_0x599f10[_0x29f2('0x20')][_0x29f2('0x7')](_0x29f2('0x24'),_0x29f2('0x3'),_0x29f2('0xc'),_0x599f10['_suggestionFactory'][_0x29f2('0x12')](_0x29f2('0x24'),null,_0x29f2('0x18'))),_0x599f10[_0x29f2('0x1c')][_0x29f2('0x10')](this[_0x29f2('0x4')][_0x29f2('0x6')](this));}[_0x29f2('0x8')](_0x5b47a6,_0x49909d){const _0x1e9e23=this[_0x29f2('0x1e')][_0x29f2('0xf')][_0x29f2('0xd')]('TrackChangesEditing'),_0x5cc860=this[_0x29f2('0x1e')][_0x29f2('0xf')]['get'](_0x29f2('0x16')),_0x41a1fa=_0x49909d['table']||this[_0x29f2('0x1e')]['model']['document'][_0x29f2('0xb')][_0x29f2('0x9')]();this[_0x29f2('0x1e')][_0x29f2('0x19')][_0x29f2('0x1b')](()=>{const _0x19b300=_0x5cc860['getColumnGroupElement'](_0x41a1fa);let _0x499a7a=_0x19b300?_0x5cc860['getTableColumnsWidths'](_0x19b300):null,_0x440475=_0x41a1fa[_0x29f2('0x5')](_0x29f2('0xe'))||null;const _0x180562=_0x49909d[_0x29f2('0xe')]||_0x440475,_0x2ca209=_0x49909d[_0x29f2('0x1f')]||_0x499a7a,_0x28836d=this['editor']['plugins'][_0x29f2('0xd')](_0x29f2('0x15'))['me'];for(const _0x2618ab of _0x1e9e23['getSuggestions']()){const _0x2ac451=_0x2618ab['getContainedElement']();if(_0x29f2('0x3')===_0x2618ab[_0x29f2('0x0')]&&_0x2ac451===_0x41a1fa){_0x2618ab[_0x29f2('0x11')]!==_0x28836d&&_0x2618ab[_0x29f2('0xc')]();const _0x2835ee=_0x2618ab['data'][_0x29f2('0x25')];_0x440475=_0x2835ee[0x0][_0x29f2('0xe')],_0x499a7a=_0x2835ee[0x0][_0x29f2('0x1f')];break;}}_0x5b47a6({'table':_0x41a1fa,'tableWidth':_0x180562,'columnWidths':_0x2ca209}),_0x1e9e23[_0x29f2('0x14')](_0x41a1fa,{'commandName':_0x29f2('0x17'),'commandParams':[{'tableWidth':_0x440475,'columnWidths':_0x499a7a}],'formatGroupId':'resizeTable'},[],_0x29f2('0x3'));});}['handleSuggestionDescription'](_0x3d9084){const {data:_0x1cedb7}=_0x3d9084;if(_0x1cedb7&&_0x29f2('0x3')===_0x1cedb7[_0x29f2('0x23')]){const _0x5ae919=_0x29f2('0xa');return{'type':_0x29f2('0x2'),'content':_0x32b67c(this[_0x29f2('0x1e')][_0x29f2('0x1a')],_0x5ae919)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5257=['getCellLocation','FORMAT_HEADER_COLUMN','table','forceValue','first','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','createPositionBefore','highest','getAttribute','toViewElement','writer','data','TrackChangesEditing','getSelectionAffectedTableCells','createPositionAfter','removeMarker:suggestion','format','formatBlock','includes','ck-suggestion-marker-','showSuggestionHighlights','headingRows','findAncestor','options','setTableRowHeader','getSuggestion','nodeBefore','getRowIndexes','FORMAT_HEADER_ROW','commandName','markBlockFormat','has','requires','from','FORMAT_REGULAR_ROW','enableCommand','locale','ck-suggestion-marker--active','start','cell','removeAttribute','*Format:*\x20%0','end','change','value','markerName','accept','_splitMarkerName','afterInit','bindElementToMarker','createTableWalker','TableUtils','model','index','mapper','setAttribute','createRange','_descriptionFactory','get','selection','commands','editing','getChild','parent','last','childCount','FORMAT_REGULAR_COLUMN','markerRange','plugins','addClass','markerNameToElements','registerCustomCallback','commandParams','document','removeClass','downcastDispatcher','addMarker:suggestion','setTableColumnHeader','item'];(function(_0x29fd52,_0x525778){const _0x13bb11=function(_0x5c59f5){while(--_0x5c59f5){_0x29fd52['push'](_0x29fd52['shift']());}};_0x13bb11(++_0x525778);}(_0x5257,0x114));const _0x13bb=function(_0x29fd52,_0x525778){_0x29fd52=_0x29fd52-0x0;let _0x13bb11=_0x5257[_0x29fd52];return _0x13bb11;};import{Plugin as _0x159f1c}from'ckeditor5/src/core';import _0xf559b7 from'./table';import{getTranslation as _0x5527f0}from'../utils/common-translations';export default class pt extends _0x159f1c{static get[_0x13bb('0x4d')](){return[_0xf559b7];}[_0x13bb('0xd')](){const _0xc4b456=this['editor'];if(!_0xc4b456[_0x13bb('0x21')][_0x13bb('0x4c')]('TableEditing'))return;const _0x2bfe8f=_0xc4b456[_0x13bb('0x1')],_0x2347e0=_0xc4b456[_0x13bb('0x21')][_0x13bb('0x17')](_0x13bb('0x39')),_0x5dcce6=_0xc4b456[_0x13bb('0x21')]['get'](_0x13bb('0x10')),_0x5d83bc=_0xc4b456[_0x13bb('0x21')]['get'](_0xf559b7);function _0x165a02({showActiveMarker:_0x79aad1=!0x0,setDataAttribute:_0x1d7486=!0x0}={}){return(_0x5050fb,_0x17056f,_0x4b8002)=>{const {type:_0x4b9754,id:_0x5a968a}=_0x2347e0[_0x13bb('0xc')](_0x17056f[_0x13bb('0xa')]),_0x57b6ee=_0x2347e0['getSuggestion'](_0x5a968a);if(!_0x57b6ee['data']||'setTableColumnHeader'!=_0x57b6ee[_0x13bb('0x38')][_0x13bb('0x4a')])return;if(_0x17056f[_0x13bb('0x2b')])return void _0x5050fb['stop']();if(!_0x4b8002['consumable']['consume'](_0x17056f[_0x13bb('0x20')],_0x5050fb['name']))return;const _0x312557=_0x17056f[_0x13bb('0x20')][_0x13bb('0x3')]['nodeAfter'],_0x464874=_0x17056f[_0x13bb('0x20')][_0x13bb('0x7')][_0x13bb('0x47')],_0x367db3=_0x312557['parent'][_0x13bb('0x1c')],{column:_0x495344}=_0x5dcce6[_0x13bb('0x2c')](_0x312557),{column:_0x246d6d}=_0x5dcce6[_0x13bb('0x2c')](_0x464874);for(let _0x5b08d1=_0x495344;_0x5b08d1<=_0x246d6d;_0x5b08d1++){const _0x174804=_0x5dcce6[_0x13bb('0xf')](_0x367db3,{'column':_0x5b08d1,'includeAllSlots':!0x1});for(const _0x6b764e of _0x174804){const _0x74be4e=_0x6b764e['cell'],_0x4dd8be=_0x4b8002[_0x13bb('0x13')][_0x13bb('0x36')](_0x74be4e);_0x4b8002[_0x13bb('0x37')][_0x13bb('0x22')](_0x13bb('0x40')+_0x4b9754,_0x4dd8be),_0x1d7486&&_0x4b8002['writer'][_0x13bb('0x14')]('data-suggestion',_0x5a968a,_0x4dd8be),_0x4b8002['mapper'][_0x13bb('0xe')](_0x4dd8be,_0x17056f[_0x13bb('0xa')]),_0x79aad1&&(_0x2347e0['activeMarkers'][_0x13bb('0x3f')](_0x17056f[_0x13bb('0xa')])?_0x4b8002[_0x13bb('0x37')][_0x13bb('0x22')](_0x13bb('0x2'),_0x4dd8be):_0x4b8002[_0x13bb('0x37')][_0x13bb('0x27')](_0x13bb('0x2'),_0x4dd8be));}}};}_0x2347e0[_0x13bb('0x0')](_0x13bb('0x45'),(_0x33065f,_0x528629)=>{const _0x2054c7=_0x5dcce6['getSelectionAffectedTableCells'](_0xc4b456['model'][_0x13bb('0x26')][_0x13bb('0x18')]),_0x4b9ebd=_0x5dcce6[_0x13bb('0x48')](_0x2054c7),_0x23d7d0=_0x2054c7[0x0][_0x13bb('0x43')](_0x13bb('0x2e')),_0x85e55d=_0x23d7d0[_0x13bb('0x35')](_0x13bb('0x42'))||0x0,_0x4cc074=_0x528629&&null!==_0x528629['forceValue']?_0x528629[_0x13bb('0x2f')]:!_0xc4b456[_0x13bb('0x19')]['get'](_0x13bb('0x45'))[_0x13bb('0x9')],_0x1ae212=_0x4cc074?_0x4b9ebd[_0x13bb('0x1d')]:_0x4b9ebd[_0x13bb('0x30')],_0x50ea68=_0x23d7d0[_0x13bb('0x1b')](_0x1ae212);let _0x49bbe5;if(_0x4cc074){const _0x4e4b3e=_0x23d7d0[_0x13bb('0x1b')](_0x85e55d);if(_0x50ea68[_0x13bb('0x12')]<_0x4e4b3e[_0x13bb('0x12')])return;_0x49bbe5=_0xc4b456[_0x13bb('0x11')][_0x13bb('0x15')](_0xc4b456['model'][_0x13bb('0x33')](_0x4e4b3e[_0x13bb('0x1b')](0x0)),_0xc4b456[_0x13bb('0x11')][_0x13bb('0x3b')](_0x50ea68[_0x13bb('0x1b')](_0x50ea68[_0x13bb('0x1e')]-0x1)));}else{const _0x359a90=_0x23d7d0[_0x13bb('0x1b')](_0x85e55d-0x1);if(!_0x359a90)return;_0x49bbe5=_0xc4b456[_0x13bb('0x11')][_0x13bb('0x15')](_0xc4b456['model'][_0x13bb('0x33')](_0x50ea68[_0x13bb('0x1b')](0x0)),_0xc4b456[_0x13bb('0x11')]['createPositionAfter'](_0x359a90[_0x13bb('0x1b')](_0x359a90[_0x13bb('0x1e')]-0x1)));}_0xc4b456['model'][_0x13bb('0x8')](()=>{_0x2347e0[_0x13bb('0x4b')](_0x49bbe5,{'commandName':_0x13bb('0x45'),'commandParams':[{'forceValue':_0x4cc074}]},[],_0x13bb('0x45'));});}),_0x2347e0[_0x13bb('0x0')]('setTableColumnHeader',(_0x4d2d03,_0x11b532)=>{const _0x40f4d4=_0xc4b456[_0x13bb('0x21')]['get'](_0x13bb('0x10')),_0x23b494=_0x40f4d4[_0x13bb('0x3a')](_0xc4b456['model']['document'][_0x13bb('0x18')]),_0x17e52c=_0x40f4d4['getColumnIndexes'](_0x23b494),_0x1242ce=_0x23b494[0x0][_0x13bb('0x43')](_0x13bb('0x2e')),_0x275a0c=_0x1242ce['getAttribute']('headingColumns')||0x0,_0xa1475e=_0x11b532&&null!==_0x11b532['forceValue']?_0x11b532[_0x13bb('0x2f')]:!_0xc4b456[_0x13bb('0x19')]['get'](_0x13bb('0x2a'))[_0x13bb('0x9')];let _0x1434fb;const _0x2930a5=_0x1242ce['getChild'](0x0),_0x236e8e=_0xa1475e?_0x17e52c[_0x13bb('0x1d')]:_0x17e52c[_0x13bb('0x30')],_0x42959f=_0x40f4d4[_0x13bb('0xf')](_0x1242ce,{'startRow':0x0,'column':_0x236e8e,'includeAllSlots':!0x1}),_0x33ee82=Array[_0x13bb('0x4e')](_0x42959f)[0x0][_0x13bb('0x4')];if(_0xa1475e){const _0x3555a9=_0x2930a5[_0x13bb('0x1b')](_0x275a0c);if(_0x33ee82['isBefore'](_0x3555a9))return;_0x1434fb=_0xc4b456[_0x13bb('0x11')][_0x13bb('0x15')](_0xc4b456['model'][_0x13bb('0x33')](_0x3555a9),_0xc4b456[_0x13bb('0x11')][_0x13bb('0x3b')](_0x33ee82));}else{const _0x3d188b=_0x2930a5[_0x13bb('0x1b')](_0x275a0c-0x1);if(!_0x3d188b)return;_0x1434fb=_0xc4b456[_0x13bb('0x11')][_0x13bb('0x15')](_0xc4b456[_0x13bb('0x11')][_0x13bb('0x33')](_0x33ee82),_0xc4b456[_0x13bb('0x11')]['createPositionAfter'](_0x3d188b));}_0xc4b456[_0x13bb('0x11')][_0x13bb('0x8')](()=>{_0x2347e0['markBlockFormat'](_0x1434fb,{'commandName':_0x13bb('0x2a'),'commandParams':[{'forceValue':_0xa1475e}]},[],'setTableColumnHeader');});}),_0xc4b456[_0x13bb('0x1a')][_0x13bb('0x28')]['on'](_0x13bb('0x29'),_0x165a02(),{'priority':_0x13bb('0x34')}),_0xc4b456[_0x13bb('0x38')]['downcastDispatcher']['on'](_0x13bb('0x29'),(_0x2c84d0,_0xa1869b,_0x248022)=>{_0x248022[_0x13bb('0x44')][_0x13bb('0x41')]&&_0x165a02({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2c84d0,_0xa1869b,_0x248022);},{'priority':'highest'}),_0xc4b456[_0x13bb('0x1a')][_0x13bb('0x28')]['on'](_0x13bb('0x3c'),(_0x26eba4,_0x43f554,_0x16de57)=>{const {type:_0x1b9514,id:_0x5108a}=_0x2347e0[_0x13bb('0xc')](_0x43f554[_0x13bb('0xa')]),_0x3002ae=_0x2347e0[_0x13bb('0x46')](_0x5108a);if(!_0x3002ae[_0x13bb('0x38')]||'setTableColumnHeader'!=_0x3002ae[_0x13bb('0x38')]['commandName'])return;const _0x23c0ee=_0x16de57[_0x13bb('0x13')][_0x13bb('0x23')](_0x43f554[_0x13bb('0xa')]);if(_0x23c0ee)for(const _0x325ffe of _0x23c0ee)_0x16de57['writer']['removeClass'](_0x13bb('0x40')+_0x1b9514,_0x325ffe),_0x16de57['writer'][_0x13bb('0x27')]('ck-suggestion-marker--active',_0x325ffe),_0x16de57[_0x13bb('0x37')][_0x13bb('0x5')]('data-suggestion',_0x325ffe),_0x16de57['mapper']['unbindElementFromMarkerName'](_0x325ffe,_0x43f554[_0x13bb('0xa')]);},{'priority':_0x13bb('0x34')}),_0x2347e0[_0x13bb('0x16')]['registerDescriptionCallback'](_0x10f43d=>{const {data:_0x1e7d3e}=_0x10f43d;if(_0x1e7d3e){if('setTableRowHeader'==_0x1e7d3e[_0x13bb('0x4a')]){const _0x3a4d80=_0x1e7d3e[_0x13bb('0x25')][0x0][_0x13bb('0x2f')];return _0x11874a(_0x5527f0(_0x2bfe8f,_0x3a4d80?_0x13bb('0x49'):_0x13bb('0x4f')));}if(_0x13bb('0x2a')==_0x1e7d3e[_0x13bb('0x4a')]){const _0x3ddd9f=_0x1e7d3e[_0x13bb('0x25')][0x0][_0x13bb('0x2f')];return _0x11874a(_0x5527f0(_0x2bfe8f,_0x3ddd9f?_0x13bb('0x2d'):_0x13bb('0x1f')));}}function _0x11874a(_0x2d9683){return{'type':_0x13bb('0x3d'),'content':_0x5527f0(_0x2bfe8f,_0x13bb('0x6'),_0x2d9683)};}});const _0x2f6b98=_0x5d83bc[_0x13bb('0x32')]();_0x2347e0[_0x13bb('0x31')][_0x13bb('0x24')](_0x13bb('0x3e'),_0x13bb('0x45'),_0x13bb('0xb'),_0x2f6b98),_0x2347e0[_0x13bb('0x31')]['registerCustomCallback'](_0x13bb('0x3e'),_0x13bb('0x2a'),'accept',_0x2f6b98);}}
23
+ const _0x1834=['forceValue','markerRange','addClass','_splitMarkerName','data','isBefore','table','getChild','afterInit','index','createTableWalker','cell','FORMAT_REGULAR_COLUMN','parent','change','commands','mapper','FORMAT_REGULAR_ROW','format','childCount','createPositionAfter','nodeAfter','last','downcastDispatcher','ck-suggestion-marker--active','getSuggestion','end','markBlockFormat','*Format:*\x20%0','commandParams','data-suggestion','TableUtils','removeMarker:suggestion','activeMarkers','markerName','TrackChangesEditing','enableCommand','start','getRowIndexes','writer','stop','ck-suggestion-marker-','includes','addMarker:suggestion','options','registerCustomCallback','item','first','get','getCellLocation','getAttribute','setTableRowHeader','registerDescriptionCallback','createRange','markerNameToElements','removeClass','from','getSelectionAffectedTableCells','headingRows','locale','highest','plugins','_suggestionFactory','showSuggestionHighlights','model','selection','value','consume','commandName','consumable','document','editor','FORMAT_HEADER_COLUMN','FORMAT_HEADER_ROW','unbindElementFromMarkerName','removeAttribute','formatBlock','accept','findAncestor','editing','setTableColumnHeader','setAttribute'];(function(_0x4f94f9,_0x183412){const _0xdc97af=function(_0x2a75e7){while(--_0x2a75e7){_0x4f94f9['push'](_0x4f94f9['shift']());}};_0xdc97af(++_0x183412);}(_0x1834,0x1b2));const _0xdc97=function(_0x4f94f9,_0x183412){_0x4f94f9=_0x4f94f9-0x0;let _0xdc97af=_0x1834[_0x4f94f9];return _0xdc97af;};import{Plugin as _0x25e171}from'ckeditor5/src/core';import _0x4ee334 from'./table';import{getTranslation as _0x54c3cb}from'../utils/common-translations';export default class pt extends _0x25e171{static get['requires'](){return[_0x4ee334];}[_0xdc97('0x42')](){const _0x40de47=this[_0xdc97('0x2f')];if(!_0x40de47[_0xdc97('0x25')]['has']('TableEditing'))return;const _0x203ac2=_0x40de47[_0xdc97('0x23')],_0x24e15e=_0x40de47['plugins'][_0xdc97('0x18')](_0xdc97('0xb')),_0x1f4331=_0x40de47[_0xdc97('0x25')][_0xdc97('0x18')](_0xdc97('0x7')),_0xeb316c=_0x40de47[_0xdc97('0x25')][_0xdc97('0x18')](_0x4ee334);function _0x1a767e({showActiveMarker:_0x5319be=!0x0,setDataAttribute:_0x2daa63=!0x0}={}){return(_0x12ef35,_0x57c547,_0x22ac45)=>{const {type:_0x558c36,id:_0x4d74d5}=_0x24e15e['_splitMarkerName'](_0x57c547['markerName']),_0x30c94d=_0x24e15e[_0xdc97('0x1')](_0x4d74d5);if(!_0x30c94d[_0xdc97('0x3e')]||_0xdc97('0x38')!=_0x30c94d[_0xdc97('0x3e')][_0xdc97('0x2c')])return;if(_0x57c547[_0xdc97('0x16')])return void _0x12ef35[_0xdc97('0x10')]();if(!_0x22ac45[_0xdc97('0x2d')][_0xdc97('0x2b')](_0x57c547[_0xdc97('0x3b')],_0x12ef35['name']))return;const _0x58cacc=_0x57c547[_0xdc97('0x3b')][_0xdc97('0xd')][_0xdc97('0x4f')],_0x2e2389=_0x57c547[_0xdc97('0x3b')][_0xdc97('0x2')]['nodeBefore'],_0x1111ae=_0x58cacc['parent'][_0xdc97('0x47')],{column:_0x1fdb47}=_0x1f4331[_0xdc97('0x19')](_0x58cacc),{column:_0x39e476}=_0x1f4331[_0xdc97('0x19')](_0x2e2389);for(let _0x3646ee=_0x1fdb47;_0x3646ee<=_0x39e476;_0x3646ee++){const _0x345254=_0x1f4331['createTableWalker'](_0x1111ae,{'column':_0x3646ee,'includeAllSlots':!0x1});for(const _0x14f362 of _0x345254){const _0x263ffa=_0x14f362[_0xdc97('0x45')],_0x5a0f35=_0x22ac45[_0xdc97('0x4a')]['toViewElement'](_0x263ffa);_0x22ac45[_0xdc97('0xf')][_0xdc97('0x3c')](_0xdc97('0x11')+_0x558c36,_0x5a0f35),_0x2daa63&&_0x22ac45[_0xdc97('0xf')][_0xdc97('0x39')](_0xdc97('0x6'),_0x4d74d5,_0x5a0f35),_0x22ac45['mapper']['bindElementToMarker'](_0x5a0f35,_0x57c547[_0xdc97('0xa')]),_0x5319be&&(_0x24e15e[_0xdc97('0x9')][_0xdc97('0x12')](_0x57c547[_0xdc97('0xa')])?_0x22ac45['writer']['addClass']('ck-suggestion-marker--active',_0x5a0f35):_0x22ac45['writer']['removeClass']('ck-suggestion-marker--active',_0x5a0f35));}}};}_0x24e15e['enableCommand']('setTableRowHeader',(_0x58cddf,_0x2011aa)=>{const _0x51f6cf=_0x1f4331[_0xdc97('0x21')](_0x40de47['model'][_0xdc97('0x2e')][_0xdc97('0x29')]),_0xc570c7=_0x1f4331[_0xdc97('0xe')](_0x51f6cf),_0x5de692=_0x51f6cf[0x0]['findAncestor'](_0xdc97('0x40')),_0x428387=_0x5de692[_0xdc97('0x1a')](_0xdc97('0x22'))||0x0,_0x3966e4=_0x2011aa&&null!==_0x2011aa[_0xdc97('0x3a')]?_0x2011aa[_0xdc97('0x3a')]:!_0x40de47['commands'][_0xdc97('0x18')]('setTableRowHeader')[_0xdc97('0x2a')],_0x54f795=_0x3966e4?_0xc570c7[_0xdc97('0x50')]:_0xc570c7['first'],_0x2c9275=_0x5de692[_0xdc97('0x41')](_0x54f795);let _0x4465e3;if(_0x3966e4){const _0x2ebbe5=_0x5de692[_0xdc97('0x41')](_0x428387);if(_0x2c9275['index']<_0x2ebbe5[_0xdc97('0x43')])return;_0x4465e3=_0x40de47[_0xdc97('0x28')][_0xdc97('0x1d')](_0x40de47['model']['createPositionBefore'](_0x2ebbe5[_0xdc97('0x41')](0x0)),_0x40de47[_0xdc97('0x28')][_0xdc97('0x4e')](_0x2c9275[_0xdc97('0x41')](_0x2c9275['childCount']-0x1)));}else{const _0x35cefb=_0x5de692[_0xdc97('0x41')](_0x428387-0x1);if(!_0x35cefb)return;_0x4465e3=_0x40de47[_0xdc97('0x28')][_0xdc97('0x1d')](_0x40de47[_0xdc97('0x28')]['createPositionBefore'](_0x2c9275['getChild'](0x0)),_0x40de47[_0xdc97('0x28')][_0xdc97('0x4e')](_0x35cefb[_0xdc97('0x41')](_0x35cefb[_0xdc97('0x4d')]-0x1)));}_0x40de47[_0xdc97('0x28')]['change'](()=>{_0x24e15e[_0xdc97('0x3')](_0x4465e3,{'commandName':_0xdc97('0x1b'),'commandParams':[{'forceValue':_0x3966e4}]},[],_0xdc97('0x1b'));});}),_0x24e15e[_0xdc97('0xc')](_0xdc97('0x38'),(_0x811695,_0x2da101)=>{const _0x193510=_0x40de47[_0xdc97('0x25')][_0xdc97('0x18')](_0xdc97('0x7')),_0x5eaba1=_0x193510['getSelectionAffectedTableCells'](_0x40de47[_0xdc97('0x28')][_0xdc97('0x2e')][_0xdc97('0x29')]),_0x2fbb08=_0x193510['getColumnIndexes'](_0x5eaba1),_0x5623ca=_0x5eaba1[0x0][_0xdc97('0x36')]('table'),_0x236723=_0x5623ca[_0xdc97('0x1a')]('headingColumns')||0x0,_0x43da67=_0x2da101&&null!==_0x2da101['forceValue']?_0x2da101[_0xdc97('0x3a')]:!_0x40de47[_0xdc97('0x49')][_0xdc97('0x18')](_0xdc97('0x38'))[_0xdc97('0x2a')];let _0xfe1e09;const _0x116ab9=_0x5623ca['getChild'](0x0),_0x521514=_0x43da67?_0x2fbb08['last']:_0x2fbb08[_0xdc97('0x17')],_0x1d7727=_0x193510[_0xdc97('0x44')](_0x5623ca,{'startRow':0x0,'column':_0x521514,'includeAllSlots':!0x1}),_0x1d2ce5=Array[_0xdc97('0x20')](_0x1d7727)[0x0][_0xdc97('0x45')];if(_0x43da67){const _0x3625c3=_0x116ab9[_0xdc97('0x41')](_0x236723);if(_0x1d2ce5[_0xdc97('0x3f')](_0x3625c3))return;_0xfe1e09=_0x40de47[_0xdc97('0x28')][_0xdc97('0x1d')](_0x40de47[_0xdc97('0x28')]['createPositionBefore'](_0x3625c3),_0x40de47[_0xdc97('0x28')][_0xdc97('0x4e')](_0x1d2ce5));}else{const _0x2244a5=_0x116ab9[_0xdc97('0x41')](_0x236723-0x1);if(!_0x2244a5)return;_0xfe1e09=_0x40de47[_0xdc97('0x28')]['createRange'](_0x40de47['model']['createPositionBefore'](_0x1d2ce5),_0x40de47[_0xdc97('0x28')]['createPositionAfter'](_0x2244a5));}_0x40de47[_0xdc97('0x28')][_0xdc97('0x48')](()=>{_0x24e15e[_0xdc97('0x3')](_0xfe1e09,{'commandName':_0xdc97('0x38'),'commandParams':[{'forceValue':_0x43da67}]},[],_0xdc97('0x38'));});}),_0x40de47[_0xdc97('0x37')]['downcastDispatcher']['on'](_0xdc97('0x13'),_0x1a767e(),{'priority':_0xdc97('0x24')}),_0x40de47['data'][_0xdc97('0x51')]['on'](_0xdc97('0x13'),(_0x42d866,_0x3f3c97,_0x27f035)=>{_0x27f035[_0xdc97('0x14')][_0xdc97('0x27')]&&_0x1a767e({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x42d866,_0x3f3c97,_0x27f035);},{'priority':_0xdc97('0x24')}),_0x40de47[_0xdc97('0x37')][_0xdc97('0x51')]['on'](_0xdc97('0x8'),(_0x1d5d39,_0xd60e0,_0xe38bdb)=>{const {type:_0x192008,id:_0x1b15f5}=_0x24e15e[_0xdc97('0x3d')](_0xd60e0[_0xdc97('0xa')]),_0x7d3019=_0x24e15e['getSuggestion'](_0x1b15f5);if(!_0x7d3019[_0xdc97('0x3e')]||'setTableColumnHeader'!=_0x7d3019[_0xdc97('0x3e')][_0xdc97('0x2c')])return;const _0x23a20b=_0xe38bdb[_0xdc97('0x4a')][_0xdc97('0x1e')](_0xd60e0[_0xdc97('0xa')]);if(_0x23a20b)for(const _0x488ae3 of _0x23a20b)_0xe38bdb[_0xdc97('0xf')]['removeClass'](_0xdc97('0x11')+_0x192008,_0x488ae3),_0xe38bdb[_0xdc97('0xf')][_0xdc97('0x1f')](_0xdc97('0x0'),_0x488ae3),_0xe38bdb[_0xdc97('0xf')][_0xdc97('0x33')](_0xdc97('0x6'),_0x488ae3),_0xe38bdb[_0xdc97('0x4a')][_0xdc97('0x32')](_0x488ae3,_0xd60e0[_0xdc97('0xa')]);},{'priority':_0xdc97('0x24')}),_0x24e15e['_descriptionFactory'][_0xdc97('0x1c')](_0x26bb67=>{const {data:_0x15496f}=_0x26bb67;if(_0x15496f){if('setTableRowHeader'==_0x15496f[_0xdc97('0x2c')]){const _0x35164b=_0x15496f[_0xdc97('0x5')][0x0]['forceValue'];return _0x462fb8(_0x54c3cb(_0x203ac2,_0x35164b?_0xdc97('0x31'):_0xdc97('0x4b')));}if(_0xdc97('0x38')==_0x15496f[_0xdc97('0x2c')]){const _0x4f7c5f=_0x15496f[_0xdc97('0x5')][0x0][_0xdc97('0x3a')];return _0x462fb8(_0x54c3cb(_0x203ac2,_0x4f7c5f?_0xdc97('0x30'):_0xdc97('0x46')));}}function _0x462fb8(_0x4dbebf){return{'type':_0xdc97('0x4c'),'content':_0x54c3cb(_0x203ac2,_0xdc97('0x4'),_0x4dbebf)};}});const _0x374e06=_0xeb316c['_acceptFormatSuggestionCallbackFactory']();_0x24e15e[_0xdc97('0x26')][_0xdc97('0x15')](_0xdc97('0x34'),_0xdc97('0x1b'),_0xdc97('0x35'),_0x374e06),_0x24e15e['_suggestionFactory'][_0xdc97('0x15')](_0xdc97('0x34'),_0xdc97('0x38'),'accept',_0x374e06);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c67=['mergeTableCellLeft','type','model','add','getRanges','commands','change','formatBlock','locale','set:isEnabled','has','author','setSelection','low','map','format','$graveyard','element','rootName','deletion','document','enableCommand','createRangeOn','TrackChangesEditing','mergeTableCellDown','_isForcedDefaultExecutionBlock','length','_descriptionFactory','mergeTableCells','_suggestionFactory','TableEditing','root','get','afterInit','mergeTableCellRight','cell','table','find','direction','insertion','registerCustomCallback','registerDescriptionCallback','value','splitTableCellVertically','return','from','execute','TableUtils','requires','*Split\x20cell:*\x20horizontally','isEnabled','getFirstPosition','fromRange','isInContent','getSelectionAffectedTableCells','refresh','accept','editor','commandName','trackChanges','tableCell','stop','containsRange','mergeTableCellUp','filter','_acceptFormatSuggestionCallbackFactory','splitTableCellHorizontally','horizontally','size','_areMergableCells','plugins','forceDefaultExecution','_tablePostFixingSubtypes','_areSelectedCellsMergable','markMultiRangeBlockFormat','push','*Merge\x20cells*','getAncestors','selection','createTableWalker'];(function(_0x4749fe,_0x3c67c3){const _0x55b445=function(_0x589348){while(--_0x589348){_0x4749fe['push'](_0x4749fe['shift']());}};_0x55b445(++_0x3c67c3);}(_0x3c67,0x18f));const _0x55b4=function(_0x4749fe,_0x3c67c3){_0x4749fe=_0x4749fe-0x0;let _0x55b445=_0x3c67[_0x4749fe];return _0x55b445;};import{Plugin as _0x43b779}from'ckeditor5/src/core';import _0x169e88 from'./table';import{LiveRange as _0x4ba47f}from'ckeditor5/src/engine';import{getTranslation as _0xfe9362}from'../utils/common-translations';export default class dt extends _0x43b779{static get[_0x55b4('0x31')](){return[_0x169e88];}[_0x55b4('0x22')](){const _0x2632f6=this[_0x55b4('0x3a')],_0x165447=_0x2632f6['model'][_0x55b4('0x15')]['selection'],_0x55ef19=_0x2632f6[_0x55b4('0x9')];if(!_0x2632f6['plugins'][_0x55b4('0xb')](_0x55b4('0x1f')))return;const _0x207ae8=_0x2632f6['plugins']['get']('TrackChangesEditing'),_0x528089=_0x2632f6[_0x55b4('0x47')][_0x55b4('0x21')](_0x55b4('0x30')),_0x326827=_0x2632f6['plugins']['get'](_0x169e88);_0x326827[_0x55b4('0x49')][_0x55b4('0x4c')]('mergeTableCells'),_0x207ae8['enableCommand'](_0x55b4('0x1d'),()=>{const _0x244684=_0x528089[_0x55b4('0x37')](_0x2632f6[_0x55b4('0x3')][_0x55b4('0x15')]['selection']);_0x2632f6[_0x55b4('0x3')][_0x55b4('0x7')](()=>{_0x207ae8[_0x55b4('0x4b')](_0x244684,{'commandName':_0x55b4('0x1d'),'commandParams':[]},[],_0x55b4('0x1d'));});}),_0x2632f6['commands'][_0x55b4('0x21')]('mergeTableCells')['on'](_0x55b4('0x2f'),(_0x5423c4,_0x5b2664)=>{_0x2632f6[_0x55b4('0x6')]['get'](_0x55b4('0x3c'))[_0x55b4('0x2b')]&&(_0x5b2664[_0x55b4('0x1b')]>0x0&&_0x5b2664[_0x5b2664['length']-0x1]&&_0x5b2664[_0x5b2664[_0x55b4('0x1b')]-0x1][_0x55b4('0x48')]||_0x207ae8[_0x55b4('0x1a')]||this[_0x55b4('0x4a')]()||_0x5423c4[_0x55b4('0x3e')]());},{'priority':'highest'});for(const _0x495e5f of[_0x55b4('0x40'),_0x55b4('0x23'),_0x55b4('0x19'),'mergeTableCellLeft']){const _0x4e6212=_0x2632f6[_0x55b4('0x6')][_0x55b4('0x21')](_0x495e5f);_0x207ae8[_0x55b4('0x16')](_0x495e5f,()=>{const _0x3723d7=_0x2632f6[_0x55b4('0x3')][_0x55b4('0x15')][_0x55b4('0x4f')][_0x55b4('0x34')]()[_0x55b4('0x4e')]()[_0x55b4('0x26')](_0x7f9806=>_0x7f9806['is'](_0x55b4('0x12'),_0x55b4('0x3d'))),_0x38ff57=_0x4e6212[_0x55b4('0x2b')];_0x2632f6[_0x55b4('0x3')][_0x55b4('0x7')](()=>{_0x207ae8['markMultiRangeBlockFormat']([_0x3723d7,_0x38ff57],{'commandName':'mergeTableCells','commandParams':[]},[],_0x55b4('0x1d'));});});}for(const _0x5beb9e of[_0x55b4('0x2c'),_0x55b4('0x43')]){const _0x265541=_0x2632f6[_0x55b4('0x6')][_0x55b4('0x21')](_0x5beb9e);_0x207ae8['enableCommand'](_0x5beb9e,()=>{const _0x563f04=_0x528089[_0x55b4('0x37')](_0x2632f6[_0x55b4('0x3')][_0x55b4('0x15')]['selection'])[0x0],_0xe47732=_0x563f04['findAncestor'](_0x55b4('0x25')),{column:_0x506923,row:_0x516648}=_0x528089['getCellLocation'](_0x563f04);let _0x493bd9=[];if(_0x55b4('0x44')==_0x265541[_0x55b4('0x27')]){const _0x55b6da=_0x528089[_0x55b4('0x0')](_0xe47732,{'startRow':_0x516648,'endRow':_0x516648,'includeAllSlots':!0x0});_0x493bd9=Array[_0x55b4('0x2e')](_0x55b6da)[_0x55b4('0xf')](_0x3f090a=>_0x3f090a[_0x55b4('0x24')]);}else{const _0x397d20=_0x528089[_0x55b4('0x0')](_0xe47732,{'column':_0x506923,'includeAllSlots':!0x0});_0x493bd9=Array[_0x55b4('0x2e')](_0x397d20)[_0x55b4('0xf')](_0xd8f970=>_0xd8f970[_0x55b4('0x24')]);}_0x2632f6['model'][_0x55b4('0x7')](_0x512f27=>{_0x207ae8['markBlockFormat'](_0x512f27[_0x55b4('0x17')](_0x563f04),{'commandName':_0x5beb9e,'commandParams':[]},_0x493bd9,_0x5beb9e);});});}_0x207ae8[_0x55b4('0x1c')][_0x55b4('0x2a')](_0x21e9f9=>{const {data:_0x1497ef}=_0x21e9f9;if(_0x1497ef)return _0x55b4('0x1d')==_0x1497ef[_0x55b4('0x3b')]?{'type':_0x55b4('0x10'),'content':_0xfe9362(_0x55ef19,_0x55b4('0x4d'))}:void 0x0;}),_0x207ae8['_descriptionFactory'][_0x55b4('0x2a')](_0x231379=>{const {data:_0x17f19d}=_0x231379;if(_0x17f19d)return'splitTableCellVertically'==_0x17f19d[_0x55b4('0x3b')]?{'type':_0x55b4('0x10'),'content':_0xfe9362(_0x55ef19,'*Split\x20cell:*\x20vertically')}:_0x55b4('0x43')==_0x17f19d[_0x55b4('0x3b')]?{'type':_0x55b4('0x10'),'content':_0xfe9362(_0x55ef19,_0x55b4('0x32'))}:void 0x0;});const _0x2abfd3=_0x326827[_0x55b4('0x42')]();for(const _0xc02afb of[_0x55b4('0x40'),_0x55b4('0x23'),'mergeTableCellDown',_0x55b4('0x1')])_0x207ae8[_0x55b4('0x1e')][_0x55b4('0x29')](_0x55b4('0x8'),_0xc02afb,_0x55b4('0x39'),_0x2abfd3);for(const _0x584ea6 of[_0x55b4('0x2c'),_0x55b4('0x43')])_0x207ae8['_suggestionFactory']['registerCustomCallback'](_0x55b4('0x8'),_0x584ea6,_0x55b4('0x39'),_0x2abfd3);_0x207ae8[_0x55b4('0x1e')][_0x55b4('0x29')]('formatBlock',_0x55b4('0x1d'),_0x55b4('0x39'),_0x24b3d4=>{_0x2632f6[_0x55b4('0x3')][_0x55b4('0x7')](_0x1dd6f1=>{const _0x52c1f5=Array[_0x55b4('0x2e')](_0x165447['getRanges']())[_0x55b4('0xf')](_0x480d34=>_0x4ba47f[_0x55b4('0x35')](_0x480d34));_0x1dd6f1[_0x55b4('0xd')](_0x24b3d4),_0x2632f6[_0x55b4('0x6')][_0x55b4('0x21')](_0x55b4('0x1d'))[_0x55b4('0x38')](),_0x2632f6[_0x55b4('0x2f')](_0x55b4('0x1d'),{'forceDefaultExecution':!0x0});const _0x3f28fb=_0x52c1f5[_0x55b4('0x41')](_0xd5e4dc=>_0x55b4('0x11')!=_0xd5e4dc[_0x55b4('0x20')][_0x55b4('0x13')]);_0x3f28fb['length']>0x0&&_0x1dd6f1['setSelection'](_0x3f28fb);for(const _0x15b70c of _0x52c1f5)_0x15b70c['detach']();});});for(const _0x7f9f42 of['mergeTableCellUp',_0x55b4('0x19'),_0x55b4('0x1'),_0x55b4('0x23')]){const _0x5f33d5=_0x2632f6[_0x55b4('0x6')]['get'](_0x7f9f42);_0x5f33d5['on'](_0x55b4('0xa'),(_0x2b1a28,_0x1319df,_0x7c8718)=>{if(_0x7c8718){const _0x206001=_0x2632f6[_0x55b4('0x3')]['document'][_0x55b4('0x4f')]['getFirstPosition']()[_0x55b4('0x4e')]()[_0x55b4('0x26')](_0x3d7939=>_0x3d7939['is'](_0x55b4('0x12'),'tableCell'));this[_0x55b4('0x46')](_0x5f33d5[_0x55b4('0x2b')],_0x206001)||(_0x2b1a28[_0x55b4('0x2d')]=!0x1,_0x2b1a28[_0x55b4('0x3e')]());}},{'priority':_0x55b4('0xe')});}}[_0x55b4('0x4a')](){const _0xbbaf83=this[_0x55b4('0x3a')][_0x55b4('0x6')][_0x55b4('0x21')](_0x55b4('0x1d')),_0xe4df0d=this[_0x55b4('0x3a')][_0x55b4('0x47')][_0x55b4('0x21')](_0x55b4('0x30'));if(!_0xbbaf83[_0x55b4('0x33')])return!0x1;const _0x2913ee=_0xe4df0d[_0x55b4('0x37')](this[_0x55b4('0x3a')][_0x55b4('0x3')][_0x55b4('0x15')][_0x55b4('0x4f')]);for(const _0x1e9903 of _0x2913ee)for(const _0x255863 of _0x2913ee)if(_0x1e9903!=_0x255863&&!this[_0x55b4('0x46')](_0x1e9903,_0x255863))return!0x1;return!0x0;}[_0x55b4('0x46')](_0x144011,_0x2934b4){const _0x431fd1=this[_0x55b4('0x3a')][_0x55b4('0x47')][_0x55b4('0x21')](_0x55b4('0x18')),_0xb9c5a=this[_0x55b4('0x3a')]['model'][_0x55b4('0x17')](_0x144011),_0x936066=this['editor'][_0x55b4('0x3')][_0x55b4('0x17')](_0x2934b4),_0x1260de=new Set(),_0x1b1c84=new Set();for(const _0x5ba1a7 of _0x431fd1['getSuggestions']())if((_0x55b4('0x28')==_0x5ba1a7[_0x55b4('0x2')]||_0x55b4('0x14')==_0x5ba1a7[_0x55b4('0x2')]||'mergeTableCells'==_0x5ba1a7['subType'])&&_0x5ba1a7[_0x55b4('0x36')])for(const _0x7d6576 of _0x5ba1a7[_0x55b4('0x5')]())_0x7d6576['containsRange'](_0xb9c5a,!0x0)&&_0x1260de[_0x55b4('0x4')](_0x5ba1a7[_0x55b4('0x2')]+':'+_0x5ba1a7[_0x55b4('0xc')]['id']),_0x7d6576[_0x55b4('0x3f')](_0x936066,!0x0)&&_0x1b1c84[_0x55b4('0x4')](_0x5ba1a7['type']+':'+_0x5ba1a7[_0x55b4('0xc')]['id']);if(_0x1260de[_0x55b4('0x45')]!=_0x1b1c84['size'])return!0x1;for(const _0x52bd11 of _0x1260de)if(!_0x1b1c84['has'](_0x52bd11))return!0x1;return!0x0;}}
23
+ const _0x2ecb=['root','getRanges','commands','isEnabled','getSuggestions','type','has','find','model','createRangeOn','detach','commandName','insertion','TableEditing','refresh','filter','change','mergeTableCellDown','rootName','tableCell','add','mergeTableCellUp','setSelection','author','mergeTableCellRight','*Merge\x20cells*','TableUtils','get','_suggestionFactory','low','plugins','containsRange','length','stop','enableCommand','formatBlock','createTableWalker','mergeTableCellLeft','format','accept','*Split\x20cell:*\x20horizontally','isInContent','map','_tablePostFixingSubtypes','_descriptionFactory','trackChanges','_areMergableCells','table','push','subType','deletion','selection','editor','from','size','element','getAncestors','splitTableCellHorizontally','highest','locale','return','markBlockFormat','getSelectionAffectedTableCells','registerCustomCallback','forceDefaultExecution','splitTableCellVertically','execute','markMultiRangeBlockFormat','registerDescriptionCallback','fromRange','document','mergeTableCells','cell','_areSelectedCellsMergable','_isForcedDefaultExecutionBlock','value'];(function(_0x54c307,_0x2ecbcd){const _0x139fd2=function(_0x3f6cae){while(--_0x3f6cae){_0x54c307['push'](_0x54c307['shift']());}};_0x139fd2(++_0x2ecbcd);}(_0x2ecb,0x1c8));const _0x139f=function(_0x54c307,_0x2ecbcd){_0x54c307=_0x54c307-0x0;let _0x139fd2=_0x2ecb[_0x54c307];return _0x139fd2;};import{Plugin as _0x1b57c3}from'ckeditor5/src/core';import _0x4d2bcb from'./table';import{LiveRange as _0x316689}from'ckeditor5/src/engine';import{getTranslation as _0x4bde9a}from'../utils/common-translations';export default class dt extends _0x1b57c3{static get['requires'](){return[_0x4d2bcb];}['afterInit'](){const _0x5bb890=this[_0x139f('0x34')],_0x4be9fa=_0x5bb890[_0x139f('0x8')][_0x139f('0x46')]['selection'],_0x45627a=_0x5bb890[_0x139f('0x3b')];if(!_0x5bb890[_0x139f('0x1e')][_0x139f('0x6')](_0x139f('0xd')))return;const _0x670d8=_0x5bb890[_0x139f('0x1e')][_0x139f('0x1b')]('TrackChangesEditing'),_0x5238e8=_0x5bb890['plugins'][_0x139f('0x1b')](_0x139f('0x1a')),_0x2ab76a=_0x5bb890['plugins'][_0x139f('0x1b')](_0x4d2bcb);_0x2ab76a[_0x139f('0x2b')][_0x139f('0x30')](_0x139f('0x47')),_0x670d8[_0x139f('0x22')](_0x139f('0x47'),()=>{const _0x406dc6=_0x5238e8['getSelectionAffectedTableCells'](_0x5bb890['model'][_0x139f('0x46')][_0x139f('0x33')]);_0x5bb890[_0x139f('0x8')][_0x139f('0x10')](()=>{_0x670d8['markMultiRangeBlockFormat'](_0x406dc6,{'commandName':_0x139f('0x47'),'commandParams':[]},[],_0x139f('0x47'));});}),_0x5bb890[_0x139f('0x2')][_0x139f('0x1b')]('mergeTableCells')['on'](_0x139f('0x42'),(_0x400e97,_0x57605c)=>{_0x5bb890['commands']['get'](_0x139f('0x2d'))[_0x139f('0x4b')]&&(_0x57605c['length']>0x0&&_0x57605c[_0x57605c[_0x139f('0x20')]-0x1]&&_0x57605c[_0x57605c['length']-0x1][_0x139f('0x40')]||_0x670d8[_0x139f('0x4a')]||this[_0x139f('0x49')]()||_0x400e97[_0x139f('0x21')]());},{'priority':_0x139f('0x3a')});for(const _0x30e9d4 of['mergeTableCellUp',_0x139f('0x18'),'mergeTableCellDown','mergeTableCellLeft']){const _0x2ff208=_0x5bb890[_0x139f('0x2')]['get'](_0x30e9d4);_0x670d8[_0x139f('0x22')](_0x30e9d4,()=>{const _0x268bec=_0x5bb890[_0x139f('0x8')][_0x139f('0x46')][_0x139f('0x33')]['getFirstPosition']()[_0x139f('0x38')]()[_0x139f('0x7')](_0x2dddec=>_0x2dddec['is']('element',_0x139f('0x13'))),_0x216385=_0x2ff208[_0x139f('0x4b')];_0x5bb890[_0x139f('0x8')][_0x139f('0x10')](()=>{_0x670d8[_0x139f('0x43')]([_0x268bec,_0x216385],{'commandName':'mergeTableCells','commandParams':[]},[],_0x139f('0x47'));});});}for(const _0x576baf of[_0x139f('0x41'),_0x139f('0x39')]){const _0x5f1d2a=_0x5bb890[_0x139f('0x2')][_0x139f('0x1b')](_0x576baf);_0x670d8[_0x139f('0x22')](_0x576baf,()=>{const _0x3cb9f0=_0x5238e8['getSelectionAffectedTableCells'](_0x5bb890[_0x139f('0x8')][_0x139f('0x46')][_0x139f('0x33')])[0x0],_0x412491=_0x3cb9f0['findAncestor'](_0x139f('0x2f')),{column:_0x72ddae,row:_0x1f35ed}=_0x5238e8['getCellLocation'](_0x3cb9f0);let _0x2cabd1=[];if('horizontally'==_0x5f1d2a['direction']){const _0x119a2a=_0x5238e8[_0x139f('0x24')](_0x412491,{'startRow':_0x1f35ed,'endRow':_0x1f35ed,'includeAllSlots':!0x0});_0x2cabd1=Array[_0x139f('0x35')](_0x119a2a)['map'](_0x5d733a=>_0x5d733a[_0x139f('0x48')]);}else{const _0x1c8e97=_0x5238e8[_0x139f('0x24')](_0x412491,{'column':_0x72ddae,'includeAllSlots':!0x0});_0x2cabd1=Array[_0x139f('0x35')](_0x1c8e97)[_0x139f('0x2a')](_0x514351=>_0x514351[_0x139f('0x48')]);}_0x5bb890[_0x139f('0x8')][_0x139f('0x10')](_0x338f44=>{_0x670d8[_0x139f('0x3d')](_0x338f44[_0x139f('0x9')](_0x3cb9f0),{'commandName':_0x576baf,'commandParams':[]},_0x2cabd1,_0x576baf);});});}_0x670d8[_0x139f('0x2c')][_0x139f('0x44')](_0x2a7f72=>{const {data:_0x37e940}=_0x2a7f72;if(_0x37e940)return _0x139f('0x47')==_0x37e940[_0x139f('0xb')]?{'type':_0x139f('0x26'),'content':_0x4bde9a(_0x45627a,_0x139f('0x19'))}:void 0x0;}),_0x670d8[_0x139f('0x2c')][_0x139f('0x44')](_0x578747=>{const {data:_0x422fbd}=_0x578747;if(_0x422fbd)return'splitTableCellVertically'==_0x422fbd['commandName']?{'type':'format','content':_0x4bde9a(_0x45627a,'*Split\x20cell:*\x20vertically')}:_0x139f('0x39')==_0x422fbd[_0x139f('0xb')]?{'type':'format','content':_0x4bde9a(_0x45627a,_0x139f('0x28'))}:void 0x0;});const _0x5df94b=_0x2ab76a['_acceptFormatSuggestionCallbackFactory']();for(const _0xe20c78 of[_0x139f('0x15'),_0x139f('0x18'),_0x139f('0x11'),_0x139f('0x25')])_0x670d8[_0x139f('0x1c')]['registerCustomCallback'](_0x139f('0x23'),_0xe20c78,_0x139f('0x27'),_0x5df94b);for(const _0x5d2aaa of[_0x139f('0x41'),_0x139f('0x39')])_0x670d8['_suggestionFactory'][_0x139f('0x3f')](_0x139f('0x23'),_0x5d2aaa,'accept',_0x5df94b);_0x670d8[_0x139f('0x1c')][_0x139f('0x3f')](_0x139f('0x23'),_0x139f('0x47'),_0x139f('0x27'),_0x296e21=>{_0x5bb890[_0x139f('0x8')]['change'](_0x1d75c5=>{const _0x45a2d2=Array[_0x139f('0x35')](_0x4be9fa[_0x139f('0x1')]())[_0x139f('0x2a')](_0x4dae6a=>_0x316689[_0x139f('0x45')](_0x4dae6a));_0x1d75c5[_0x139f('0x16')](_0x296e21),_0x5bb890[_0x139f('0x2')][_0x139f('0x1b')](_0x139f('0x47'))[_0x139f('0xe')](),_0x5bb890[_0x139f('0x42')](_0x139f('0x47'),{'forceDefaultExecution':!0x0});const _0x28ec38=_0x45a2d2[_0x139f('0xf')](_0x3cdc79=>'$graveyard'!=_0x3cdc79[_0x139f('0x0')][_0x139f('0x12')]);_0x28ec38[_0x139f('0x20')]>0x0&&_0x1d75c5[_0x139f('0x16')](_0x28ec38);for(const _0x2802c0 of _0x45a2d2)_0x2802c0[_0x139f('0xa')]();});});for(const _0x47dde7 of[_0x139f('0x15'),_0x139f('0x11'),'mergeTableCellLeft','mergeTableCellRight']){const _0x347f49=_0x5bb890[_0x139f('0x2')][_0x139f('0x1b')](_0x47dde7);_0x347f49['on']('set:isEnabled',(_0x3dde20,_0x15da7f,_0x521d60)=>{if(_0x521d60){const _0x2b5869=_0x5bb890[_0x139f('0x8')][_0x139f('0x46')]['selection']['getFirstPosition']()[_0x139f('0x38')]()[_0x139f('0x7')](_0x34ccb0=>_0x34ccb0['is'](_0x139f('0x37'),_0x139f('0x13')));this[_0x139f('0x2e')](_0x347f49[_0x139f('0x4b')],_0x2b5869)||(_0x3dde20[_0x139f('0x3c')]=!0x1,_0x3dde20[_0x139f('0x21')]());}},{'priority':_0x139f('0x1d')});}}['_areSelectedCellsMergable'](){const _0x34abd7=this['editor']['commands'][_0x139f('0x1b')](_0x139f('0x47')),_0x41b5c1=this[_0x139f('0x34')][_0x139f('0x1e')]['get'](_0x139f('0x1a'));if(!_0x34abd7[_0x139f('0x3')])return!0x1;const _0x2c3467=_0x41b5c1[_0x139f('0x3e')](this[_0x139f('0x34')][_0x139f('0x8')][_0x139f('0x46')][_0x139f('0x33')]);for(const _0xb00f6c of _0x2c3467)for(const _0x1d6e4f of _0x2c3467)if(_0xb00f6c!=_0x1d6e4f&&!this[_0x139f('0x2e')](_0xb00f6c,_0x1d6e4f))return!0x1;return!0x0;}['_areMergableCells'](_0x31895d,_0x2a2648){const _0x2c99a2=this[_0x139f('0x34')][_0x139f('0x1e')][_0x139f('0x1b')]('TrackChangesEditing'),_0x407caa=this['editor'][_0x139f('0x8')][_0x139f('0x9')](_0x31895d),_0x19f049=this[_0x139f('0x34')][_0x139f('0x8')]['createRangeOn'](_0x2a2648),_0x8cad15=new Set(),_0x2d9d09=new Set();for(const _0x2eaed9 of _0x2c99a2[_0x139f('0x4')]())if((_0x139f('0xc')==_0x2eaed9[_0x139f('0x5')]||_0x139f('0x32')==_0x2eaed9[_0x139f('0x5')]||'mergeTableCells'==_0x2eaed9[_0x139f('0x31')])&&_0x2eaed9[_0x139f('0x29')])for(const _0x2add4d of _0x2eaed9[_0x139f('0x1')]())_0x2add4d[_0x139f('0x1f')](_0x407caa,!0x0)&&_0x8cad15[_0x139f('0x14')](_0x2eaed9[_0x139f('0x5')]+':'+_0x2eaed9['author']['id']),_0x2add4d[_0x139f('0x1f')](_0x19f049,!0x0)&&_0x2d9d09[_0x139f('0x14')](_0x2eaed9[_0x139f('0x5')]+':'+_0x2eaed9[_0x139f('0x17')]['id']);if(_0x8cad15['size']!=_0x2d9d09[_0x139f('0x36')])return!0x1;for(const _0x6b9cbc of _0x8cad15)if(!_0x2d9d09[_0x139f('0x6')](_0x6b9cbc))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16db=['afterInit','_descriptionFactory','enableCommand','commands','ELEMENT_TABLE_OF_CONTENTS','get','tableOfContents','plugins','registerElementLabel','TrackChangesEditing','insertTableOfContents'];(function(_0x161288,_0x16db5e){const _0xd5516d=function(_0x6d14f6){while(--_0x6d14f6){_0x161288['push'](_0x161288['shift']());}};_0xd5516d(++_0x16db5e);}(_0x16db,0xc0));const _0xd551=function(_0x161288,_0x16db5e){_0x161288=_0x161288-0x0;let _0xd5516d=_0x16db[_0x161288];return _0xd5516d;};import{Plugin as _0x3e8d84}from'ckeditor5/src/core';import{getTranslation as _0x3aea13}from'../utils/common-translations';export default class bt extends _0x3e8d84{[_0xd551('0x6')](){const _0x182872=this['editor'];if(!_0x182872[_0xd551('0x9')][_0xd551('0x0')](_0xd551('0x5')))return;_0x182872[_0xd551('0x2')][_0xd551('0x0')]('TrackChangesEditing')[_0xd551('0x8')](_0xd551('0x5'));const _0x2c103f=_0x182872['plugins'][_0xd551('0x0')](_0xd551('0x4')),_0x1114b5=_0x182872['locale'];_0x2c103f[_0xd551('0x7')][_0xd551('0x3')](_0xd551('0x1'),_0x5db3a0=>_0x3aea13(_0x1114b5,_0xd551('0xa'),_0x5db3a0));}}
23
+ const _0x249c=['insertTableOfContents','get','_descriptionFactory','enableCommand','editor','ELEMENT_TABLE_OF_CONTENTS','afterInit','plugins','locale','commands','TrackChangesEditing'];(function(_0x10e746,_0x249cc0){const _0x583f59=function(_0x43595a){while(--_0x43595a){_0x10e746['push'](_0x10e746['shift']());}};_0x583f59(++_0x249cc0);}(_0x249c,0xab));const _0x583f=function(_0x10e746,_0x249cc0){_0x10e746=_0x10e746-0x0;let _0x583f59=_0x249c[_0x10e746];return _0x583f59;};import{Plugin as _0x5e1136}from'ckeditor5/src/core';import{getTranslation as _0x184ed8}from'../utils/common-translations';export default class bt extends _0x5e1136{[_0x583f('0x0')](){const _0x3fdb92=this[_0x583f('0x9')];if(!_0x3fdb92[_0x583f('0x3')]['get'](_0x583f('0x5')))return;_0x3fdb92[_0x583f('0x1')][_0x583f('0x6')](_0x583f('0x4'))[_0x583f('0x8')](_0x583f('0x5'));const _0x3820a6=_0x3fdb92['plugins'][_0x583f('0x6')]('TrackChangesEditing'),_0xa8ce96=_0x3fdb92[_0x583f('0x2')];_0x3820a6[_0x583f('0x7')]['registerElementLabel']('tableOfContents',_0x10c891=>_0x184ed8(_0xa8ce96,_0x583f('0xa'),_0x10c891));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc83f=['_handlePropertyChange','_descriptionFactory','pluginName','model','handleDiscardAction','get','getFirstPosition','tableWidth','TrackChangesTableProperties','getSuggestions','removeAttribute','tableCellBorderColor','TrackChangesEditing','locale','accept','subType','setAttribute','tableCellBorderWidth','*Format:*\x20change\x20table\x20properties','enableCommand','formatBlock','tableBorderColor','discard','TablePropertiesEditing','registerCustomCallback','change','document','join','tableProperties','tableCellWidth','batch','TableUtils','tableBackgroundColor','getContainedElement','*Format:*\x20change\x20table\x20cell\x20properties','_getSuggestion','tableBorderWidth','plugins','tableCellHeight','tableAlignment','tableCellVerticalAlignment','has','handleSuggestionDescription','editor','tableCellBorderStyle','TableCellPropertiesEditing','tableCellBackgroundColor','selection','tableBorderStyle','_suggestionFactory','table','getSelectionAffectedTableCells','getAttribute','afterInit','tableCellProperties','getSuggestionCallback'];(function(_0x52ff05,_0xc83f0e){const _0x121c8d=function(_0x334d71){while(--_0x334d71){_0x52ff05['push'](_0x52ff05['shift']());}};_0x121c8d(++_0xc83f0e);}(_0xc83f,0x1c0));const _0x121c=function(_0x52ff05,_0xc83f0e){_0x52ff05=_0x52ff05-0x0;let _0x121c8d=_0xc83f[_0x52ff05];return _0x121c8d;};import{Plugin as _0x35c326}from'ckeditor5/src/core';import{getTranslation as _0x386dd}from'../utils/common-translations';export default class Ct extends _0x35c326{constructor(_0x26c180){super(_0x26c180),this[_0x121c('0x1c')]=[_0x121c('0x15'),_0x121c('0x30'),_0x121c('0x24'),_0x121c('0x27'),_0x121c('0x7'),'tableHeight',_0x121c('0x20')],this['tableCellProperties']=[_0x121c('0xb'),_0x121c('0x2c'),_0x121c('0x11'),'tableCellPadding',_0x121c('0x1d'),_0x121c('0x26'),_0x121c('0x2e'),'tableCellHorizontalAlignment',_0x121c('0x28')];}static get[_0x121c('0x2')](){return _0x121c('0x8');}[_0x121c('0x35')](){const _0x184c0c=this[_0x121c('0x2b')][_0x121c('0x25')][_0x121c('0x5')](_0x121c('0xc'));if(this[_0x121c('0x2b')]['plugins'][_0x121c('0x29')](_0x121c('0x17'))){for(const _0x2a6f3f of this[_0x121c('0x1c')])_0x184c0c['enableCommand'](_0x2a6f3f,(_0x28802c,_0x40ab39)=>{const _0x1425c0=this['editor'][_0x121c('0x3')][_0x121c('0x1a')][_0x121c('0x2f')][_0x121c('0x6')]()['findAncestor'](_0x121c('0x32'));this['_handlePropertyChange'](_0x2a6f3f,[_0x1425c0],this[_0x121c('0x1c')],'tableProperties',_0x28802c,_0x40ab39);});_0x184c0c[_0x121c('0x31')]['registerCustomCallback'](_0x121c('0x14'),_0x121c('0x1c'),'accept',_0x184c0c[_0x121c('0x31')]['getSuggestionCallback'](_0x121c('0x14'),null,_0x121c('0x16'))),_0x184c0c[_0x121c('0x31')]['registerCustomCallback']('formatBlock',_0x121c('0x1c'),_0x121c('0x16'),(_0x2d8ec1,_0x48a32c)=>this['handleDiscardAction'](this[_0x121c('0x1c')],_0x2d8ec1,_0x48a32c)),_0x184c0c[_0x121c('0x31')][_0x121c('0x18')](_0x121c('0x14'),'tableProperties',_0x121c('0x1b'),()=>!0x1);}if(this[_0x121c('0x2b')][_0x121c('0x25')][_0x121c('0x29')](_0x121c('0x2d'))){for(const _0x200cbd of this[_0x121c('0x36')])_0x184c0c[_0x121c('0x13')](_0x200cbd,(_0x57a76b,_0x261e83)=>{const _0x463758=this[_0x121c('0x2b')][_0x121c('0x25')][_0x121c('0x5')](_0x121c('0x1f'))[_0x121c('0x33')](this[_0x121c('0x2b')][_0x121c('0x3')]['document'][_0x121c('0x2f')]);this[_0x121c('0x0')](_0x200cbd,_0x463758,this[_0x121c('0x36')],'tableCellProperties',_0x57a76b,_0x261e83);});_0x184c0c[_0x121c('0x31')]['registerCustomCallback'](_0x121c('0x14'),_0x121c('0x36'),_0x121c('0xe'),_0x184c0c[_0x121c('0x31')][_0x121c('0x37')](_0x121c('0x14'),null,_0x121c('0x16'))),_0x184c0c['_suggestionFactory'][_0x121c('0x18')]('formatBlock',_0x121c('0x36'),_0x121c('0x16'),(_0x469e75,_0x3285a9)=>this[_0x121c('0x4')](this[_0x121c('0x36')],_0x469e75,_0x3285a9)),_0x184c0c[_0x121c('0x31')][_0x121c('0x18')](_0x121c('0x14'),_0x121c('0x36'),_0x121c('0x1b'),()=>!0x1);}_0x184c0c[_0x121c('0x1')]['registerDescriptionCallback'](_0x344453=>this[_0x121c('0x2a')](_0x344453));}['_handlePropertyChange'](_0x57d9f5,_0x4a269b,_0x38c669,_0x5c2076,_0x7f00d7,_0x3c5690){const _0x1656d5=this[_0x121c('0x2b')][_0x121c('0x25')][_0x121c('0x5')](_0x121c('0xc'));this[_0x121c('0x2b')][_0x121c('0x3')]['enqueueChange'](_0x3c5690[_0x121c('0x1e')],()=>{for(const _0x2d41ed of _0x4a269b){if(this[_0x121c('0x23')](_0x2d41ed,_0x5c2076))_0x7f00d7(_0x3c5690);else{const _0x1c31df={};for(const _0x3a2568 of _0x38c669){const _0x3e9732=_0x2d41ed[_0x121c('0x34')](_0x3a2568);void 0x0!==_0x3e9732&&(_0x1c31df[_0x3a2568]=_0x3e9732);}_0x7f00d7(_0x3c5690),_0x1656d5['markBlockFormat'](_0x2d41ed,{'commandParams':[_0x1c31df]},[],_0x5c2076);}}});}['handleDiscardAction'](_0x262801,_0x39f6fe,_0x30e39a){const _0x27bb91=_0x39f6fe[0x0]['start']['nodeAfter'],_0x169a00=_0x30e39a['commandParams'][0x0];this[_0x121c('0x2b')]['model'][_0x121c('0x19')](_0x36d75f=>{for(const _0x1320f2 of _0x262801)void 0x0!==_0x169a00[_0x1320f2]?_0x36d75f[_0x121c('0x10')](_0x1320f2,_0x169a00[_0x1320f2],_0x27bb91):_0x36d75f[_0x121c('0xa')](_0x1320f2,_0x27bb91);});}['handleSuggestionDescription'](_0x3794d8){if(_0x3794d8['data'])switch(_0x3794d8['subType']){case _0x121c('0x1c'):return{'type':'format','content':_0x386dd(this[_0x121c('0x2b')][_0x121c('0xd')],_0x121c('0x12'))};case'tableCellProperties':return{'type':'format','content':_0x386dd(this[_0x121c('0x2b')][_0x121c('0xd')],_0x121c('0x22'))};}}[_0x121c('0x23')](_0x34fb78,_0x5bbba5){const _0x20d52d=this['editor']['plugins']['get'](_0x121c('0xc'));for(const _0x2368d7 of _0x20d52d[_0x121c('0x9')]({'skipNotAttached':!0x0})){const _0x48d725=_0x2368d7[_0x121c('0x21')]();if(_0x2368d7[_0x121c('0xf')]===_0x5bbba5&&_0x48d725===_0x34fb78)return _0x2368d7;}return null;}}
23
+ const _0x3d68=['format','plugins','accept','selection','pluginName','TrackChangesEditing','tableWidth','getFirstPosition','enableCommand','*Format:*\x20change\x20table\x20properties','get','data','getAttribute','tableCellWidth','TablePropertiesEditing','join','TableCellPropertiesEditing','getContainedElement','enqueueChange','model','tableCellHorizontalAlignment','handleDiscardAction','_descriptionFactory','handleSuggestionDescription','start','table','nodeAfter','commandParams','markBlockFormat','_suggestionFactory','has','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','registerCustomCallback','editor','findAncestor','tableCellBorderStyle','tableCellHeight','tableHeight','discard','tableProperties','tableCellBorderColor','subType','tableCellPadding','tableCellProperties','_getSuggestion','tableBorderStyle','change','tableCellBackgroundColor','tableBorderWidth','TrackChangesTableProperties','_handlePropertyChange','document','formatBlock','locale'];(function(_0x53742e,_0x3d6854){const _0x234801=function(_0x17c766){while(--_0x17c766){_0x53742e['push'](_0x53742e['shift']());}};_0x234801(++_0x3d6854);}(_0x3d68,0x1c2));const _0x2348=function(_0x53742e,_0x3d6854){_0x53742e=_0x53742e-0x0;let _0x234801=_0x3d68[_0x53742e];return _0x234801;};import{Plugin as _0x2c2e6f}from'ckeditor5/src/core';import{getTranslation as _0x18feeb}from'../utils/common-translations';export default class Ct extends _0x2c2e6f{constructor(_0x62a59f){super(_0x62a59f),this[_0x2348('0x1e')]=['tableBorderColor',_0x2348('0x24'),_0x2348('0x27'),'tableAlignment',_0x2348('0x33'),_0x2348('0x1c'),'tableBackgroundColor'],this['tableCellProperties']=[_0x2348('0x1f'),_0x2348('0x1a'),'tableCellBorderWidth',_0x2348('0x21'),_0x2348('0x3'),_0x2348('0x1b'),_0x2348('0x26'),_0x2348('0xa'),'tableCellVerticalAlignment'];}static get[_0x2348('0x31')](){return _0x2348('0x28');}['afterInit'](){const _0x5c3087=this['editor'][_0x2348('0x2e')][_0x2348('0x0')]('TrackChangesEditing');if(this[_0x2348('0x18')]['plugins']['has'](_0x2348('0x4'))){for(const _0x6a44cc of this[_0x2348('0x1e')])_0x5c3087[_0x2348('0x35')](_0x6a44cc,(_0x24d4b2,_0x5e5888)=>{const _0x2ef5a6=this[_0x2348('0x18')][_0x2348('0x9')][_0x2348('0x2a')][_0x2348('0x30')][_0x2348('0x34')]()[_0x2348('0x19')](_0x2348('0xf'));this[_0x2348('0x29')](_0x6a44cc,[_0x2ef5a6],this[_0x2348('0x1e')],'tableProperties',_0x24d4b2,_0x5e5888);});_0x5c3087[_0x2348('0x13')][_0x2348('0x17')]('formatBlock',_0x2348('0x1e'),_0x2348('0x2f'),_0x5c3087[_0x2348('0x13')][_0x2348('0x15')]('formatBlock',null,'discard')),_0x5c3087[_0x2348('0x13')][_0x2348('0x17')](_0x2348('0x2b'),'tableProperties','discard',(_0x576bc3,_0x23551a)=>this[_0x2348('0xb')](this[_0x2348('0x1e')],_0x576bc3,_0x23551a)),_0x5c3087['_suggestionFactory'][_0x2348('0x17')](_0x2348('0x2b'),_0x2348('0x1e'),'join',()=>!0x1);}if(this[_0x2348('0x18')]['plugins'][_0x2348('0x14')](_0x2348('0x6'))){for(const _0x2cc438 of this[_0x2348('0x22')])_0x5c3087['enableCommand'](_0x2cc438,(_0x44d8b8,_0x2807df)=>{const _0x4c5f32=this[_0x2348('0x18')]['plugins'][_0x2348('0x0')]('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model'][_0x2348('0x2a')][_0x2348('0x30')]);this[_0x2348('0x29')](_0x2cc438,_0x4c5f32,this['tableCellProperties'],_0x2348('0x22'),_0x44d8b8,_0x2807df);});_0x5c3087[_0x2348('0x13')][_0x2348('0x17')](_0x2348('0x2b'),_0x2348('0x22'),_0x2348('0x2f'),_0x5c3087[_0x2348('0x13')][_0x2348('0x15')](_0x2348('0x2b'),null,'discard')),_0x5c3087[_0x2348('0x13')][_0x2348('0x17')](_0x2348('0x2b'),_0x2348('0x22'),_0x2348('0x1d'),(_0x5b0510,_0x1727fc)=>this[_0x2348('0xb')](this['tableCellProperties'],_0x5b0510,_0x1727fc)),_0x5c3087['_suggestionFactory']['registerCustomCallback'](_0x2348('0x2b'),_0x2348('0x22'),_0x2348('0x5'),()=>!0x1);}_0x5c3087[_0x2348('0xc')]['registerDescriptionCallback'](_0x49abcb=>this['handleSuggestionDescription'](_0x49abcb));}[_0x2348('0x29')](_0x2816b5,_0x56fb39,_0x595f76,_0x39b6dc,_0x5479ac,_0xc042ea){const _0x286b55=this[_0x2348('0x18')][_0x2348('0x2e')][_0x2348('0x0')](_0x2348('0x32'));this[_0x2348('0x18')]['model'][_0x2348('0x8')](_0xc042ea['batch'],()=>{for(const _0x44174a of _0x56fb39){if(this[_0x2348('0x23')](_0x44174a,_0x39b6dc))_0x5479ac(_0xc042ea);else{const _0x1a2fd7={};for(const _0xf78dce of _0x595f76){const _0x17210f=_0x44174a[_0x2348('0x2')](_0xf78dce);void 0x0!==_0x17210f&&(_0x1a2fd7[_0xf78dce]=_0x17210f);}_0x5479ac(_0xc042ea),_0x286b55[_0x2348('0x12')](_0x44174a,{'commandParams':[_0x1a2fd7]},[],_0x39b6dc);}}});}[_0x2348('0xb')](_0x32fa3b,_0x1339f3,_0x470e45){const _0x4b162d=_0x1339f3[0x0][_0x2348('0xe')][_0x2348('0x10')],_0x399791=_0x470e45[_0x2348('0x11')][0x0];this[_0x2348('0x18')][_0x2348('0x9')][_0x2348('0x25')](_0x14d871=>{for(const _0x5992d of _0x32fa3b)void 0x0!==_0x399791[_0x5992d]?_0x14d871['setAttribute'](_0x5992d,_0x399791[_0x5992d],_0x4b162d):_0x14d871['removeAttribute'](_0x5992d,_0x4b162d);});}[_0x2348('0xd')](_0x34f3d7){if(_0x34f3d7[_0x2348('0x1')])switch(_0x34f3d7[_0x2348('0x20')]){case _0x2348('0x1e'):return{'type':_0x2348('0x2d'),'content':_0x18feeb(this[_0x2348('0x18')]['locale'],_0x2348('0x36'))};case _0x2348('0x22'):return{'type':_0x2348('0x2d'),'content':_0x18feeb(this[_0x2348('0x18')][_0x2348('0x2c')],_0x2348('0x16'))};}}[_0x2348('0x23')](_0x400f59,_0x247c6){const _0x142376=this[_0x2348('0x18')][_0x2348('0x2e')][_0x2348('0x0')](_0x2348('0x32'));for(const _0x3d1a8c of _0x142376['getSuggestions']({'skipNotAttached':!0x0})){const _0x516641=_0x3d1a8c[_0x2348('0x7')]();if(_0x3d1a8c[_0x2348('0x20')]===_0x247c6&&_0x516641===_0x400f59)return _0x3d1a8c;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d8b=['get','TrackChangesEditing','afterInit','Template','has','plugins','editor'];(function(_0x4e18af,_0x5d8b0d){const _0x1c01b4=function(_0x187e15){while(--_0x187e15){_0x4e18af['push'](_0x4e18af['shift']());}};_0x1c01b4(++_0x5d8b0d);}(_0x5d8b,0x1ac));const _0x1c01=function(_0x4e18af,_0x5d8b0d){_0x4e18af=_0x4e18af-0x0;let _0x1c01b4=_0x5d8b[_0x4e18af];return _0x1c01b4;};import{Plugin as _0x4b0628}from'ckeditor5/src/core';export default class yt extends _0x4b0628{[_0x1c01('0x1')](){const _0x560e72=this[_0x1c01('0x5')];_0x560e72[_0x1c01('0x4')][_0x1c01('0x3')](_0x1c01('0x2'))&&_0x560e72['plugins'][_0x1c01('0x6')](_0x1c01('0x0'))['enableCommand']('insertTemplate');}}
23
+ const _0x2355=['insertTemplate','afterInit','has','enableCommand','TrackChangesEditing','editor','plugins'];(function(_0x2d5465,_0x235553){const _0x43e0ab=function(_0x3c4867){while(--_0x3c4867){_0x2d5465['push'](_0x2d5465['shift']());}};_0x43e0ab(++_0x235553);}(_0x2355,0x122));const _0x43e0=function(_0x2d5465,_0x235553){_0x2d5465=_0x2d5465-0x0;let _0x43e0ab=_0x2355[_0x2d5465];return _0x43e0ab;};import{Plugin as _0x430662}from'ckeditor5/src/core';export default class yt extends _0x430662{[_0x43e0('0x5')](){const _0x533cf2=this[_0x43e0('0x2')];_0x533cf2[_0x43e0('0x3')][_0x43e0('0x6')]('Template')&&_0x533cf2[_0x43e0('0x3')]['get'](_0x43e0('0x1'))[_0x43e0('0x0')](_0x43e0('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf06f=['nodeBefore','from','registerPostFixer','model','TrackChangesEditing','_descriptionFactory','Title','registerElementLabel','plugins','isEqual','get','isTouching','differ','forward','end','editor','document','start','getChangedMarkers','newRange','getNearestSelectionRange'];(function(_0x52baf4,_0xf06ff4){const _0x10a50d=function(_0x1e7a6c){while(--_0x1e7a6c){_0x52baf4['push'](_0x52baf4['shift']());}};_0x10a50d(++_0xf06ff4);}(_0xf06f,0x1bf));const _0x10a5=function(_0x52baf4,_0xf06ff4){_0x52baf4=_0x52baf4-0x0;let _0x10a50d=_0xf06f[_0x52baf4];return _0x10a50d;};import{Plugin as _0xc66d5}from'ckeditor5/src/core';import{getTranslation as _0x222bbe}from'../utils/common-translations';export default class St extends _0xc66d5{['afterInit'](){const _0x321997=this[_0x10a5('0x9')];if(!_0x321997[_0x10a5('0x2')]['has'](_0x10a5('0x0')))return;const _0x2f5385=_0x321997[_0x10a5('0x2')][_0x10a5('0x4')](_0x10a5('0x13'));_0x2f5385[_0x10a5('0x14')][_0x10a5('0x1')]('title-content',()=>_0x222bbe(_0x321997['locale'],'ELEMENT_TITLE')),_0x321997['model'][_0x10a5('0xa')][_0x10a5('0x11')](_0x44175e=>{let _0x4df359=!0x1;const _0x31f7ff=Array[_0x10a5('0x10')](_0x321997['model'][_0x10a5('0xa')][_0x10a5('0x6')][_0x10a5('0xc')]());for(const {name:_0x4562d0,data:_0x8b49e7}of _0x31f7ff){const {group:_0x1b5292}=_0x2f5385['_splitMarkerName'](_0x4562d0);if('suggestion'!==_0x1b5292||!_0x8b49e7['newRange'])continue;const _0x2f12d6=_0x8b49e7[_0x10a5('0xd')],_0x8632be=_0x2f12d6[_0x10a5('0x8')][_0x10a5('0xf')];if(!_0x8632be||!_0x8632be['is']('element','title-content'))continue;if(!_0x2f12d6[_0x10a5('0xb')][_0x10a5('0x5')](_0x2f12d6[_0x10a5('0x8')]))continue;const _0xf93132=_0x321997[_0x10a5('0x12')]['schema'][_0x10a5('0xe')](_0x2f12d6[_0x10a5('0x8')],_0x10a5('0x7'));if(_0xf93132&&_0xf93132['isCollapsed']){const _0x83e67d=_0x44175e['createRange'](_0x2f12d6[_0x10a5('0xb')],_0xf93132[_0x10a5('0xb')]);_0x83e67d[_0x10a5('0x3')](_0x2f12d6)||(_0x44175e['updateMarker'](_0x4562d0,{'range':_0x83e67d}),_0x4df359=!0x0);}_0x4df359||(_0x44175e['removeMarker'](_0x4562d0),_0x4df359=!0x0);}return _0x4df359;});}}
23
+ const _0x372a=['start','from','locale','editor','end','get','ELEMENT_TITLE','afterInit','registerPostFixer','suggestion','element','plugins','schema','document','nodeBefore','forward','isEqual','isTouching','isCollapsed','getChangedMarkers','registerElementLabel','title-content','newRange','updateMarker','model','has','TrackChangesEditing','differ'];(function(_0x599e28,_0x372a36){const _0x4e3dda=function(_0x3dbaf5){while(--_0x3dbaf5){_0x599e28['push'](_0x599e28['shift']());}};_0x4e3dda(++_0x372a36);}(_0x372a,0x1dc));const _0x4e3d=function(_0x599e28,_0x372a36){_0x599e28=_0x599e28-0x0;let _0x4e3dda=_0x372a[_0x599e28];return _0x4e3dda;};import{Plugin as _0x17ad1b}from'ckeditor5/src/core';import{getTranslation as _0x51c8c9}from'../utils/common-translations';export default class St extends _0x17ad1b{[_0x4e3d('0x7')](){const _0x3082d0=this[_0x4e3d('0x3')];if(!_0x3082d0[_0x4e3d('0xb')][_0x4e3d('0x19')]('Title'))return;const _0x49a3a1=_0x3082d0[_0x4e3d('0xb')][_0x4e3d('0x5')](_0x4e3d('0x1a'));_0x49a3a1['_descriptionFactory'][_0x4e3d('0x14')](_0x4e3d('0x15'),()=>_0x51c8c9(_0x3082d0[_0x4e3d('0x2')],_0x4e3d('0x6'))),_0x3082d0[_0x4e3d('0x18')][_0x4e3d('0xd')][_0x4e3d('0x8')](_0x176481=>{let _0x8961eb=!0x1;const _0x2068ae=Array[_0x4e3d('0x1')](_0x3082d0[_0x4e3d('0x18')][_0x4e3d('0xd')][_0x4e3d('0x1b')][_0x4e3d('0x13')]());for(const {name:_0x387330,data:_0x712441}of _0x2068ae){const {group:_0x271385}=_0x49a3a1['_splitMarkerName'](_0x387330);if(_0x4e3d('0x9')!==_0x271385||!_0x712441[_0x4e3d('0x16')])continue;const _0x375907=_0x712441[_0x4e3d('0x16')],_0x3ade70=_0x375907[_0x4e3d('0x4')][_0x4e3d('0xe')];if(!_0x3ade70||!_0x3ade70['is'](_0x4e3d('0xa'),'title-content'))continue;if(!_0x375907[_0x4e3d('0x0')][_0x4e3d('0x11')](_0x375907[_0x4e3d('0x4')]))continue;const _0x5554a8=_0x3082d0[_0x4e3d('0x18')][_0x4e3d('0xc')]['getNearestSelectionRange'](_0x375907[_0x4e3d('0x4')],_0x4e3d('0xf'));if(_0x5554a8&&_0x5554a8[_0x4e3d('0x12')]){const _0x4b67e7=_0x176481['createRange'](_0x375907[_0x4e3d('0x0')],_0x5554a8[_0x4e3d('0x0')]);_0x4b67e7[_0x4e3d('0x10')](_0x375907)||(_0x176481[_0x4e3d('0x17')](_0x387330,{'range':_0x4b67e7}),_0x8961eb=!0x0);}_0x8961eb||(_0x176481['removeMarker'](_0x387330),_0x8961eb=!0x0);}return _0x8961eb;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f86=['UndoEditing','has','enableCommand','get','TrackChangesEditing','redo','plugins'];(function(_0x5e2e9c,_0x2f862e){const _0x5eda9a=function(_0x478a5d){while(--_0x478a5d){_0x5e2e9c['push'](_0x5e2e9c['shift']());}};_0x5eda9a(++_0x2f862e);}(_0x2f86,0x1f0));const _0x5eda=function(_0x5e2e9c,_0x2f862e){_0x5e2e9c=_0x5e2e9c-0x0;let _0x5eda9a=_0x2f86[_0x5e2e9c];return _0x5eda9a;};import{Plugin as _0xd5d237}from'ckeditor5/src/core';export default class It extends _0xd5d237{['afterInit'](){const _0x4fd5aa=this['editor'],_0x150d3a=_0x4fd5aa[_0x5eda('0x0')][_0x5eda('0x4')](_0x5eda('0x5'));_0x4fd5aa[_0x5eda('0x0')][_0x5eda('0x2')](_0x5eda('0x1'))&&(_0x150d3a['enableCommand']('undo'),_0x150d3a[_0x5eda('0x3')](_0x5eda('0x6')));}}
23
+ const _0x46b4=['plugins','get','enableCommand','has','editor','TrackChangesEditing','undo','redo','afterInit'];(function(_0x53b002,_0x46b429){const _0x57aea1=function(_0x3b1732){while(--_0x3b1732){_0x53b002['push'](_0x53b002['shift']());}};_0x57aea1(++_0x46b429);}(_0x46b4,0x1c3));const _0x57ae=function(_0x53b002,_0x46b429){_0x53b002=_0x53b002-0x0;let _0x57aea1=_0x46b4[_0x53b002];return _0x57aea1;};import{Plugin as _0x1ae55c}from'ckeditor5/src/core';export default class It extends _0x1ae55c{[_0x57ae('0x7')](){const _0x1db9f9=this[_0x57ae('0x3')],_0x115ec2=_0x1db9f9[_0x57ae('0x8')][_0x57ae('0x0')](_0x57ae('0x4'));_0x1db9f9[_0x57ae('0x8')][_0x57ae('0x2')]('UndoEditing')&&(_0x115ec2['enableCommand'](_0x57ae('0x5')),_0x115ec2[_0x57ae('0x1')](_0x57ae('0x6')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bbf=['ck-suggestion-marker--active','activeMarkers','toViewPosition','createRangeOn','nextSibling','mapper','addHighlight','test','isContent','previousPosition','bindElementToMarker','markerName','getWalker','writer','item','plugins','elementEnd','get','insert','isAtEnd','push','addClass','createUIElement','ck-suggestion-marker-','markerRange','span','listIndent','type','TrackChangesEditing','getItems','element','model','listItem','includes','parent','start'];(function(_0x5408b6,_0x5bbfdb){const _0x26ebb1=function(_0x583b8f){while(--_0x583b8f){_0x5408b6['push'](_0x5408b6['shift']());}};_0x26ebb1(++_0x5bbfdb);}(_0x5bbf,0x1c5));const _0x26eb=function(_0x5408b6,_0x5bbfdb){_0x5408b6=_0x5408b6-0x0;let _0x26ebb1=_0x5bbf[_0x5408b6];return _0x26ebb1;};export function getRangesWithAttribute(_0x19ffc1,_0x459de2,_0x4380b0){const _0x127dfd=[];for(const _0x301a0e of _0x459de2[_0x26eb('0x8')]())_0x301a0e['hasAttribute'](_0x19ffc1)&&_0x127dfd[_0x26eb('0x23')](_0x4380b0[_0x26eb('0x12')](_0x301a0e));return _0x127dfd;}export function getElementsAffectedByListItemRename(_0x160457){const _0x3ea817=[];if(_0x160457['is'](_0x26eb('0x9'),_0x26eb('0xb'))){let _0x118034=_0x160457[_0x26eb('0x13')];for(;_0x118034&&_0x118034['is'](_0x26eb('0x9'),_0x26eb('0xb'))&&_0x118034['getAttribute'](_0x26eb('0x5'))>0x0;)_0x3ea817[_0x26eb('0x23')](_0x118034),_0x118034=_0x118034['nextSibling'];}return _0x3ea817;}export function downcastSplitMergeMarker(_0x1d2f12,_0x289929,{showActiveMarker:_0x1f7f9f=!0x0}={}){const _0x2bf766=_0x1d2f12[_0x26eb('0x1e')][_0x26eb('0x20')](_0x26eb('0x7'));return(_0xb814e4,_0x949e6e,_0x55287b)=>{if(!_0x55287b['consumable'][_0x26eb('0x16')](_0x949e6e[_0x26eb('0x3')],_0xb814e4['name']))return;const _0x73bdff=_0x949e6e['markerRange'][_0x26eb('0x1b')](),_0x4218d4=_0x949e6e['markerRange'][_0x26eb('0xe')],_0x5ce24=_0x1d2f12[_0x26eb('0xa')]['schema'];let _0x3e1dd5=null,_0x4d361e=null,_0x35a0a3=!0x1,_0x4298a3=!0x1;for(const _0x2ea188 of _0x73bdff){const _0x319abc=_0x2ea188[_0x26eb('0x1d')];_0x35a0a3=_0x35a0a3||_0x5ce24[_0x26eb('0x17')](_0x319abc);const _0xc0298d=_0x55287b[_0x26eb('0x14')]['toViewElement'](_0x319abc);if(_0xc0298d&&_0xc0298d['getCustomProperty'](_0x26eb('0x15')))return;_0x26eb('0x1f')==_0x2ea188[_0x26eb('0x6')]&&(_0x5ce24['isBlock'](_0x319abc)&&!_0x5ce24['isLimit'](_0x319abc)&&(_0x319abc[_0x26eb('0x13')]||_0x4218d4[_0x26eb('0x22')]?_0x3e1dd5&&_0x3e1dd5[_0x26eb('0xd')]==_0x319abc||(_0x3e1dd5=_0x319abc,_0x5748aa(_0x2ea188[_0x26eb('0x18')]),_0x4298a3=!0x0):_0x4d361e=_0x4d361e||_0x2ea188['previousPosition']));}function _0x5748aa(_0x9e3833){const _0x4fc855=_0x55287b[_0x26eb('0x1c')][_0x26eb('0x1')](_0x26eb('0x4'),{'class':_0x26eb('0x2')+_0x289929}),_0x3449b9=_0x55287b[_0x26eb('0x14')][_0x26eb('0x11')](_0x9e3833);_0x1f7f9f&&_0x2bf766[_0x26eb('0x10')][_0x26eb('0xc')](_0x949e6e[_0x26eb('0x1a')])&&_0x55287b[_0x26eb('0x1c')][_0x26eb('0x0')](_0x26eb('0xf'),_0x4fc855),_0x55287b[_0x26eb('0x1c')][_0x26eb('0x21')](_0x3449b9,_0x4fc855),_0x55287b['mapper'][_0x26eb('0x19')](_0x4fc855,_0x949e6e[_0x26eb('0x1a')]);}_0x35a0a3||_0x4298a3||!_0x4d361e||_0x5748aa(_0x4d361e);};}
23
+ const _0x4934=['toViewPosition','writer','isBlock','ck-suggestion-marker-','elementEnd','previousPosition','item','addClass','isAtEnd','markerRange','span','addHighlight','type','test','bindElementToMarker','get','getItems','push','getCustomProperty','activeMarkers','start','insert','isContent','hasAttribute','nextSibling','element','listIndent','parent','TrackChangesEditing','schema','listItem','toViewElement','createUIElement','createRangeOn','name','mapper','markerName','consumable','model'];(function(_0x1d8d42,_0x49344d){const _0x16cf0f=function(_0x484591){while(--_0x484591){_0x1d8d42['push'](_0x1d8d42['shift']());}};_0x16cf0f(++_0x49344d);}(_0x4934,0xe0));const _0x16cf=function(_0x1d8d42,_0x49344d){_0x1d8d42=_0x1d8d42-0x0;let _0x16cf0f=_0x4934[_0x1d8d42];return _0x16cf0f;};export function getRangesWithAttribute(_0xa69381,_0x5e936f,_0xfe3f0e){const _0xd1bc0b=[];for(const _0x312ceb of _0x5e936f[_0x16cf('0x1a')]())_0x312ceb[_0x16cf('0x21')](_0xa69381)&&_0xd1bc0b[_0x16cf('0x1b')](_0xfe3f0e[_0x16cf('0x4')](_0x312ceb));return _0xd1bc0b;}export function getElementsAffectedByListItemRename(_0x1fe621){const _0x368f04=[];if(_0x1fe621['is'](_0x16cf('0x23'),_0x16cf('0x1'))){let _0x11e6df=_0x1fe621[_0x16cf('0x22')];for(;_0x11e6df&&_0x11e6df['is']('element',_0x16cf('0x1'))&&_0x11e6df['getAttribute'](_0x16cf('0x24'))>0x0;)_0x368f04['push'](_0x11e6df),_0x11e6df=_0x11e6df[_0x16cf('0x22')];}return _0x368f04;}export function downcastSplitMergeMarker(_0x1ff9c6,_0x3a69a3,{showActiveMarker:_0x46da15=!0x0}={}){const _0x6b84e=_0x1ff9c6['plugins'][_0x16cf('0x19')](_0x16cf('0x26'));return(_0x336e4d,_0x2b18fc,_0x306d32)=>{if(!_0x306d32[_0x16cf('0x8')][_0x16cf('0x17')](_0x2b18fc[_0x16cf('0x13')],_0x336e4d[_0x16cf('0x5')]))return;const _0x460a36=_0x2b18fc[_0x16cf('0x13')]['getWalker'](),_0xae6c85=_0x2b18fc[_0x16cf('0x13')][_0x16cf('0x1e')],_0x2c4d0f=_0x1ff9c6[_0x16cf('0x9')][_0x16cf('0x0')];let _0x1c4647=null,_0x3498f9=null,_0x3f95fa=!0x1,_0x36a960=!0x1;for(const _0x5924a9 of _0x460a36){const _0x2bbd70=_0x5924a9[_0x16cf('0x10')];_0x3f95fa=_0x3f95fa||_0x2c4d0f[_0x16cf('0x20')](_0x2bbd70);const _0x5ce395=_0x306d32[_0x16cf('0x6')][_0x16cf('0x2')](_0x2bbd70);if(_0x5ce395&&_0x5ce395[_0x16cf('0x1c')](_0x16cf('0x15')))return;_0x16cf('0xe')==_0x5924a9[_0x16cf('0x16')]&&(_0x2c4d0f[_0x16cf('0xc')](_0x2bbd70)&&!_0x2c4d0f['isLimit'](_0x2bbd70)&&(_0x2bbd70[_0x16cf('0x22')]||_0xae6c85[_0x16cf('0x12')]?_0x1c4647&&_0x1c4647[_0x16cf('0x25')]==_0x2bbd70||(_0x1c4647=_0x2bbd70,_0x283677(_0x5924a9[_0x16cf('0xf')]),_0x36a960=!0x0):_0x3498f9=_0x3498f9||_0x5924a9[_0x16cf('0xf')]));}function _0x283677(_0x3019ba){const _0x203505=_0x306d32['writer'][_0x16cf('0x3')](_0x16cf('0x14'),{'class':_0x16cf('0xd')+_0x3a69a3}),_0x22c2a4=_0x306d32[_0x16cf('0x6')][_0x16cf('0xa')](_0x3019ba);_0x46da15&&_0x6b84e[_0x16cf('0x1d')]['includes'](_0x2b18fc[_0x16cf('0x7')])&&_0x306d32[_0x16cf('0xb')][_0x16cf('0x11')]('ck-suggestion-marker--active',_0x203505),_0x306d32[_0x16cf('0xb')][_0x16cf('0x1f')](_0x22c2a4,_0x203505),_0x306d32['mapper'][_0x16cf('0x18')](_0x203505,_0x2b18fc[_0x16cf('0x7')]);}_0x3f95fa||_0x36a960||!_0x3498f9||_0x283677(_0x3498f9);};}