@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f11=['type','nextSibling','editingDowncast','endRow','tableCellBorderColor','markMultiRangeInsertion','unwrap','start','document','markers','rowInsertionIndexes','_splitMarkerName','previous','_replaceTableSlotCell','tableCellSuggestion','tableCellHorizontalAlignment','tableCellPadding','_suggestionFactory','suggestion-td','tableCellBorderWidth','trackChanges','tablePasteChainId','editing','element','getColumns','fromEntries','join','register','dataDowncast','content','columnInsertionRanges','$graveyard','createRange','suggestion:formatBlock:tablePasteCell','registerCustomCallback','getTableIfOnlyTableInContent','differ','tablePasteRow','commands','tablePaste','for','tableCellBorderStyle','schema','markMultiRangeBlockFormat','removeColumns','isInContent','Users','tableCell','editor','includes','rowInsertionRanges','suggestion','tablePasteColumn','length','row','accept','low','add','registerPostFixer','redo','from','tableCellBackgroundColor','getContainedElement','locale','findAncestor','position','tablePasteCell','startsWith','setAttribute','get','stop','selection','getSelectionAffectedTableCells','previousSibling','ck-suggestion-marker--active','_getCoordsForCells','return','createRangeIn','getRows','some','getChild','set','getSuggestion','insertContent','setAttributes','columnInsertionIndexes','cell','batch','removeMarker','insertColumns','deletion','getSuggestions','getChanges','formatBlock','registerDescriptionCallback','ck-suggestion-marker','removeMarkers','clipboardOutput','first','map','value','move','containsRange','markerAttributes','getRanges','last','_createdBatches','elementToElement','getRange','insert','hasSuggestion','removeRows','forceDefaultExecution','createTableWalker','every','name','getAttributes','insertionRanges','rows','createRangeOn','getChildren','newRange','plugins','filter','model','afterInit','getSuggestionCallback','subType','remove','fill','markerName','getColumnIndexes','high','markMultiRangeDeletion','TableUtils','isEqual','documentSelection','push','reduce','_isForcedDefaultExecutionBlock','createElement','next','paragraph','showSuggestionHighlights','getChangedMarkers','requires','getMarkers','getShiftedBy','endColumn','*Replace\x20table\x20cells*','TableClipboard','find','change','oldRange','attributes','discard','has','insertion','isEmpty','_descriptionFactory','cells','table','markerToHighlight'];(function(_0x41da1a,_0x1f11cf){const _0x47e194=function(_0x5f20f1){while(--_0x5f20f1){_0x41da1a['push'](_0x41da1a['shift']());}};_0x47e194(++_0x1f11cf);}(_0x1f11,0x178));const _0x47e1=function(_0x41da1a,_0x1f11cf){_0x41da1a=_0x41da1a-0x0;let _0x47e194=_0x1f11[_0x41da1a];return _0x47e194;};import{getTranslation as _0xafdc07}from'../utils/common-translations';import{Plugin as _0x41864d}from'ckeditor5/src/core';import{uid as _0x32119c,priorities as _0x3e8157}from'ckeditor5/src/utils';import _0x560d41 from'./table';const le=[_0x47e1('0x84'),_0x47e1('0x75'),_0x47e1('0x9a'),_0x47e1('0x80'),'tableCellVerticalAlignment',_0x47e1('0xb'),_0x47e1('0x81')],ae=Object[_0x47e1('0x8a')](le['map'](_0x3de32d=>[_0x3de32d,null]));export default class kt extends _0x41864d{static get[_0x47e1('0x5f')](){return[_0x560d41];}[_0x47e1('0x4b')](){const _0x3f86f7=this[_0x47e1('0xa1')];if(!_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x6a')](_0x47e1('0x64')))return;const _0x474843=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')]('TrackChangesEditing'),_0xf83e42=_0x3f86f7['plugins']['get'](_0x47e1('0x54')),_0xbc6d28=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x560d41),_0x443261=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x64'));_0xbc6d28['_tablePostFixingSubtypes'][_0x47e1('0x57')](_0x47e1('0x96'),_0x47e1('0x2')),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x9b')][_0x47e1('0x8c')](_0x47e1('0x7f'),{'allowIn':_0x47e1('0xa0'),'allowContentOf':_0x47e1('0xa0'),'isLimit':!0x0}),_0x3f86f7['conversion'][_0x47e1('0x39')]({'model':'tableCellSuggestion','view':_0x47e1('0x83')});let _0x524490=null;_0x3f86f7[_0x47e1('0x4a')]['on'](_0x47e1('0x21'),(_0x47f63b,_0x444c56)=>{const [_0x4f82ca,_0x326c3b]=_0x444c56,_0x4f36f9=_0x444c56[_0x444c56['length']-0x1];_0x4f36f9&&_0x4f36f9[_0x47e1('0x3e')]||_0x474843[_0x47e1('0x59')]||this[_0x47e1('0xa1')][_0x47e1('0x97')][_0x47e1('0x13')](_0x47e1('0x85'))[_0x47e1('0x32')]&&function(_0x1f4709,_0x5d8201,_0x19b456,_0x210bca,_0x2a6bd2){if(_0x5d8201&&!_0x5d8201['is'](_0x47e1('0x56')))return!0x1;const _0x5b0edd=_0x2a6bd2[_0x47e1('0x94')](_0x1f4709,_0x19b456);if(!_0x5b0edd||!fe(_0x5b0edd,void 0x0,_0x210bca))return!0x1;const _0x1b0f1a=_0x210bca[_0x47e1('0x16')](_0x19b456['document'][_0x47e1('0x15')]);if(!_0x1b0f1a[_0x47e1('0x3')])return!0x1;const _0xd9c70f=_0x1b0f1a[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),_0x21b29f=_0x210bca['getRowIndexes'](_0x1b0f1a),_0x2c5262=_0x210bca[_0x47e1('0x51')](_0x1b0f1a),_0x2d9091={'startRow':_0x21b29f['first'],'endRow':_0x21b29f[_0x47e1('0x37')],'startColumn':_0x2c5262[_0x47e1('0x30')],'endColumn':_0x2c5262[_0x47e1('0x37')]};return 0x1==_0x1b0f1a['length']&&(_0x2d9091[_0x47e1('0x74')]+=_0x210bca[_0x47e1('0x1c')](_0x5b0edd)-0x1,_0x2d9091[_0x47e1('0x62')]+=_0x210bca[_0x47e1('0x89')](_0x5b0edd)-0x1),fe(_0xd9c70f,_0x2d9091,_0x210bca);}(_0x4f82ca,_0x326c3b,_0x3f86f7[_0x47e1('0x4a')],_0xf83e42,_0x443261)&&(_0x47f63b[_0x47e1('0x14')](),_0x524490={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x66')](()=>{_0x3f86f7['model'][_0x47e1('0x21')](_0x444c56[0x0],_0x444c56[0x1],_0x444c56[0x2],{'forceDefaultExecution':!0x0});const _0x1acaeb=_0x32119c(),{rowInsertionRanges:_0x390982,columnInsertionRanges:_0x3c5ae7,insertionRanges:_0x1c7295,deletionRanges:_0x41ba9a,cells:_0x3732b7}=_0x524490;_0x390982[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x76')](_0x390982,_0x47e1('0x96'),{'tablePasteChainId':_0x1acaeb}),_0x3c5ae7[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x76')](_0x3c5ae7,_0x47e1('0x2'),{'tablePasteChainId':_0x1acaeb}),_0x1c7295[_0x47e1('0x3')]&&_0x474843['markMultiRangeInsertion'](_0x1c7295,_0x47e1('0x98'),{'tablePasteChainId':_0x1acaeb,'skipNestingCheck':!0x0}),_0x41ba9a[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x53')](_0x41ba9a,'tablePaste',{'tablePasteChainId':_0x1acaeb,'skipNestingCheck':!0x0});const _0x3a6eba=_0x474843[_0x47e1('0x9c')](_0x3732b7[_0x47e1('0x31')](({element:_0x17b477})=>_0x17b477),{'formatGroupId':_0x32119c()},[],_0x47e1('0x10'),{'tablePasteChainId':_0x1acaeb});if(_0x3a6eba){const _0x66c4a6=_0x3a6eba[_0x47e1('0x60')](),_0x2e2e55=[];for(const {element:_0x5cffd5,attributes:_0xc79d1e}of _0x3732b7){if(!_0xc79d1e)continue;const _0x5782fa=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x5cffd5),_0x2c1e3b=_0x66c4a6[_0x47e1('0x65')](_0x2035ba=>_0x2035ba[_0x47e1('0x3a')]()[_0x47e1('0x55')](_0x5782fa));_0x2c1e3b&&_0x2e2e55[_0x47e1('0x57')]([_0x2c1e3b['name'],_0xc79d1e]);}_0x2e2e55[_0x47e1('0x3')]&&_0x3a6eba[_0x47e1('0x12')](_0x47e1('0x35'),Object[_0x47e1('0x8a')](_0x2e2e55));}_0x524490=null;}));},{'priority':_0x3e8157[_0x47e1('0x52')]+0xa}),_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x64'))['on'](_0x47e1('0x7e'),(_0x5ef8b6,_0x73fdf7)=>{const [_0x23c6c7,_0x18b7cd,,_0x1f72b9]=_0x73fdf7;if(!_0x524490)return;_0x5ef8b6[_0x47e1('0x14')]();const _0x59082a=_0x23c6c7[_0x47e1('0x24')],_0x498ad3=_0x18b7cd,_0x3a7883=ce(_0x59082a),_0x5c137c=ce(_0x498ad3);_0x5ef8b6[_0x47e1('0x1a')]=_0x59082a;let _0x1eb836=null,_0x2d6f8f=null;if(_0x5c137c||_0x3a7883){if(_0x3a7883&&!_0x5c137c){_0x1f72b9[_0x47e1('0x4e')](_0x59082a[_0x47e1('0x1e')](0x0));for(const _0x5df523 of Array[_0x47e1('0xa')](_0x498ad3['getChildren']()))_0x1f72b9[_0x47e1('0x3b')](_0x5df523,_0x59082a,'end');const _0x507b73=_0x524490[_0x47e1('0x7b')][_0x47e1('0xa2')](_0x23c6c7[_0x47e1('0x4')]),_0x2fd2db=_0x524490[_0x47e1('0x23')]['includes'](_0x23c6c7['column']);_0x507b73||_0x2fd2db||(_0x1eb836=_0x1f72b9[_0x47e1('0x1b')](_0x59082a));}else _0x5c137c&&!_0x3a7883&&(_0x2d6f8f=_0x1f72b9[_0x47e1('0x1b')](_0x59082a));}else{const _0x3708c2=_0x1f72b9[_0x47e1('0x5a')]('tableCellSuggestion'),_0x36ae08=_0x1f72b9['createElement'](_0x47e1('0x7f'));_0x1f72b9['wrap'](_0x1f72b9[_0x47e1('0x1b')](_0x59082a),_0x36ae08),_0x1f72b9[_0x47e1('0x3b')](_0x3708c2,_0x59082a,0x0);for(const _0x2e2f1f of Array[_0x47e1('0xa')](_0x498ad3[_0x47e1('0x46')]()))_0x1f72b9['insert'](_0x2e2f1f,_0x3708c2,'end');_0x1eb836=_0x1f72b9[_0x47e1('0x45')](_0x3708c2),_0x2d6f8f=_0x1f72b9['createRangeOn'](_0x36ae08);}const _0x35bb73=Array[_0x47e1('0xa')](_0x498ad3[_0x47e1('0x42')]())['filter'](([_0x53d0ea])=>le[_0x47e1('0xa2')](_0x53d0ea));_0x524490[_0x47e1('0x6e')]['push']({'element':_0x59082a,'attributes':_0x35bb73[_0x47e1('0x3')]?Object[_0x47e1('0x8a')](_0x35bb73):null}),_0x1eb836&&_0x524490[_0x47e1('0x43')][_0x47e1('0x57')](_0x1eb836),_0x2d6f8f&&_0x524490['deletionRanges'][_0x47e1('0x57')](_0x2d6f8f);},{'priority':_0x47e1('0x52')}),_0xf83e42['on'](_0x47e1('0x27'),(_0x510dfe,_0x19e399)=>{const [_0x25af0c,_0x5e90f6={}]=_0x19e399;if(!_0x524490)return;const _0x21e9b7=_0x5e90f6['at']||0x0,_0x2c574e=_0x5e90f6['columns']||0x1;_0x524490[_0x47e1('0x23')]=new Array(_0x2c574e)[_0x47e1('0x4f')](_0x21e9b7)[_0x47e1('0x31')]((_0x2c8015,_0x49487f)=>_0x2c8015+_0x49487f);for(const {cell:_0x15540b}of _0xf83e42[_0x47e1('0x3f')](_0x25af0c,{'startColumn':_0x21e9b7,'endColumn':_0x21e9b7+_0x2c574e-0x1}))_0x524490[_0x47e1('0x8f')][_0x47e1('0x57')](_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x15540b));},{'priority':_0x47e1('0x6')}),_0xf83e42['on']('insertRows',(_0x313218,_0x6ccf8b)=>{const [_0x1a6675,_0x3a7b16={}]=_0x6ccf8b;if(!_0x524490)return;const _0x58cbd3=_0x3a7b16['at']||0x0,_0x323d80=_0x3a7b16[_0x47e1('0x44')]||0x1;_0x524490[_0x47e1('0x7b')]=new Array(_0x323d80)[_0x47e1('0x4f')](_0x58cbd3)[_0x47e1('0x31')]((_0x4eebeb,_0x30f510)=>_0x4eebeb+_0x30f510);for(const {cell:_0x244886}of _0xf83e42[_0x47e1('0x3f')](_0x1a6675,{'startRow':_0x58cbd3,'endRow':_0x58cbd3+_0x323d80-0x1}))_0x524490[_0x47e1('0x0')][_0x47e1('0x57')](_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x244886));},{'priority':_0x47e1('0x6')}),_0x474843[_0x47e1('0x6d')][_0x47e1('0x2c')](_0x173e1c=>{if(_0x173e1c[_0x47e1('0x4d')]&&_0x173e1c[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98')))return _0x173e1c[_0x47e1('0x7d')]?{}:{'type':_0x47e1('0x6b'),'content':_0xafdc07(_0x3f86f7[_0x47e1('0xd')],_0x47e1('0x63'))};});const _0x30fb29=()=>{};for(const _0x1c6b48 of['tablePaste',_0x47e1('0x2'),'tablePasteRow',_0x47e1('0x10')])_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x6b'),_0x1c6b48,_0x47e1('0x8b'),_0x30fb29),_0x474843['_suggestionFactory'][_0x47e1('0x93')](_0x47e1('0x28'),_0x1c6b48,'join',_0x30fb29);_0x474843['_suggestionFactory'][_0x47e1('0x93')](_0x47e1('0x2b'),_0x47e1('0x10'),_0x47e1('0x69'),_0x30fb29),_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x2b'),_0x47e1('0x10'),_0x47e1('0x5'),(_0x1192d7,_0x44377b,_0x418715)=>{const _0x5e14e4=_0x1192d7[_0x47e1('0x31')](_0x338c1e=>_0x338c1e[_0x47e1('0xc')]())['filter'](_0x3d7b77=>_0x3d7b77),_0x23bd65=new Map(_0x5e14e4[_0x47e1('0x31')](_0x18c138=>[_0x18c138,null]));if(_0x524490)for(const {element:_0x214799,attributes:_0x5db7d2}of _0x524490[_0x47e1('0x6e')])_0x5db7d2&&_0x23bd65[_0x47e1('0x1f')](_0x214799,_0x5db7d2);else{if(_0x418715&&_0x418715[_0x47e1('0x35')])for(const [_0x50fc7d,_0x40fd47]of Object['entries'](_0x418715[_0x47e1('0x35')])){const _0xd49fc4=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x7a')][_0x47e1('0x13')](_0x50fc7d),_0x16dafb=_0xd49fc4?_0xd49fc4[_0x47e1('0x3a')]()[_0x47e1('0xc')]():null;_0x16dafb&&_0x23bd65[_0x47e1('0x1f')](_0x16dafb,_0x40fd47);}}_0x3f86f7['model'][_0x47e1('0x66')](_0x2b0d0f=>{for(const [_0x3bda71,_0x2b5dc6]of _0x23bd65)_0x2b0d0f[_0x47e1('0x22')]({...ae,..._0x2b5dc6},_0x3bda71);});});const _0x2878ad=(_0x4f887b,_0x92d517)=>{_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x4f887b,'tablePaste',_0x92d517,(_0x1d777b,_0xef10e6,_0x19768b)=>{_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x66')](_0x359876=>{const _0x19771e=[];for(const _0x4343ca of _0x1d777b){const _0x121755=_0x4343ca[_0x47e1('0x78')]['nodeAfter'];_0x121755['is'](_0x47e1('0x88'),_0x47e1('0x7f'))&&_0x19771e[_0x47e1('0x57')](_0x121755);}_0x474843[_0x47e1('0x82')][_0x47e1('0x4c')](_0x4f887b,null,_0x92d517)(_0x1d777b,_0xef10e6,_0x19768b);for(const _0x4ead0c of _0x19771e)_0x47e1('0x90')!=_0x4ead0c['root']['rootName']&&_0x359876[_0x47e1('0x77')](_0x4ead0c);});});};_0x2878ad(_0x47e1('0x6b'),_0x47e1('0x5')),_0x2878ad(_0x47e1('0x6b'),_0x47e1('0x69')),_0x2878ad(_0x47e1('0x28'),'accept'),_0x2878ad(_0x47e1('0x28'),_0x47e1('0x69')),_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x6b'),_0x47e1('0x96'),_0x47e1('0x69'),_0x4a27f8=>{const _0x5aa7fa=_0x4a27f8[_0x47e1('0x31')](_0x493cc4=>_0x493cc4[_0x47e1('0xc')]()),_0x37d793=_0x5aa7fa[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),{minRow:_0x49fbd5,maxRow:_0x87cdd5}=_0xbc6d28[_0x47e1('0x19')](_0x5aa7fa);_0xf83e42[_0x47e1('0x3d')](_0x37d793,{'at':_0x49fbd5,'rows':_0x87cdd5-_0x49fbd5+0x1});}),_0x474843[_0x47e1('0x82')]['registerCustomCallback'](_0x47e1('0x6b'),_0x47e1('0x2'),_0x47e1('0x69'),_0x42496c=>{const _0x268446=_0x42496c[_0x47e1('0x31')](_0x4911fa=>_0x4911fa['getContainedElement']()),_0x447987=_0x268446[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),{minColumn:_0x497fc3,maxColumn:_0x12bfba}=_0xbc6d28[_0x47e1('0x19')](_0x268446);_0xf83e42[_0x47e1('0x9d')](_0x447987,{'at':_0x497fc3,'columns':_0x12bfba-_0x497fc3+0x1});});const _0x19e624=(_0x1da252,_0x1d3f8d)=>{if(!_0x1d3f8d[_0x47e1('0x4d')]||!_0x1d3f8d[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98')))return;const _0x48e1ec=_0x1d3f8d[_0x47e1('0x68')][_0x47e1('0x86')],_0x4c5f3f=_0x474843[_0x47e1('0x29')]()['filter'](_0x4cf6ed=>_0x4cf6ed[_0x47e1('0x9e')]&&_0x4cf6ed['attributes']&&_0x4cf6ed[_0x47e1('0x68')][_0x47e1('0x86')]==_0x48e1ec);_0x4c5f3f[_0x47e1('0x3')]&&_0x1d3f8d['getAllAdjacentSuggestions']()[_0x47e1('0x3')]!=_0x4c5f3f[_0x47e1('0x3')]&&_0x4c5f3f[_0x47e1('0x58')]((_0x1cb8fa,_0x3e7a81)=>(_0x1cb8fa[_0x47e1('0x5b')]=_0x3e7a81,_0x3e7a81[_0x47e1('0x7d')]=_0x1cb8fa,_0x3e7a81));};function _0x22b68d(_0x1b9ed7,_0x5308a1=!0x0){const {id:_0x2dc0a7}=_0x474843[_0x47e1('0x7c')](_0x1b9ed7[_0x47e1('0x50')]),_0x3b62e3=[_0x47e1('0x2d'),'ck-suggestion-marker-insertion'],_0x2b3d1b=_0x474843['activeMarkers']['includes'](_0x1b9ed7['markerName']);return _0x2b3d1b&&_0x3b62e3[_0x47e1('0x57')](_0x47e1('0x18')),{'classes':_0x3b62e3,'attributes':{'data-suggestion':_0x2dc0a7},'priority':_0x2b3d1b&&_0x5308a1?0xbc2:0xbb8};}_0x474843['on']('suggestionLoaded',_0x19e624,{'priority':_0x47e1('0x52')}),_0x474843['on']('suggestionUnloaded',_0x19e624,{'priority':'high'}),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')]['registerPostFixer'](()=>{let _0x36ba82=!0x1;const _0x27840b=Array['from'](_0x3f86f7[_0x47e1('0x4a')]['document']['differ'][_0x47e1('0x5e')]());for(const {name:_0x544bcd,data:_0xd52747}of _0x27840b){const {group:_0x400977,type:_0x10cf15,id:_0x5f3956}=_0x474843['_splitMarkerName'](_0x544bcd);if(_0x47e1('0x1')!=_0x400977||_0x47e1('0x28')!=_0x10cf15||_0xd52747[_0x47e1('0x67')])continue;if(!_0x474843[_0x47e1('0x3c')](_0x5f3956))continue;const _0x3283d8=_0x474843[_0x47e1('0x20')](_0x5f3956)['getRanges'](),_0x376996=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x9f'))['me'];for(const _0x579e9a of _0x474843[_0x47e1('0x29')]()){if(!_0x579e9a[_0x47e1('0x9e')]||_0x579e9a['author']!=_0x376996)continue;if('formatBlock'!=_0x579e9a[_0x47e1('0x71')]||'tablePasteCell'!=_0x579e9a[_0x47e1('0x4d')])continue;if(_0x579e9a[_0x47e1('0x36')]()[_0x47e1('0x40')](_0x19634d=>_0x3283d8[_0x47e1('0x1d')](_0x49ab06=>_0x49ab06['containsRange'](_0x19634d,!0x0))))for(const _0x382825 of _0x579e9a['getAllAdjacentSuggestions']())_0x382825[_0x47e1('0x9e')]&&(_0x382825['discard'](),_0x36ba82=!0x0);}}return _0x36ba82;}),_0x3f86f7[_0x47e1('0x4a')]['document']['registerPostFixer'](_0x5ba19a=>{const _0x2720a6=_0x3f86f7['commands']['get'](_0x47e1('0x9'));if(!_0x2720a6||!_0x2720a6[_0x47e1('0x38')][_0x47e1('0x6a')](_0x5ba19a[_0x47e1('0x25')]))return!0x1;let _0x2e64fb=!0x1;const _0x54516f=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')]('Users')['me'],_0x323673=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')][_0x47e1('0x95')][_0x47e1('0x2a')](),_0x2bc9aa=Array[_0x47e1('0xa')](_0x3f86f7[_0x47e1('0x4a')]['document'][_0x47e1('0x95')][_0x47e1('0x5e')]())['filter'](({name:_0x15539f,data:_0x38635f})=>{const {group:_0x4af825,subType:_0x3ad807,authorId:_0x53737e}=_0x474843[_0x47e1('0x7c')](_0x15539f);return'suggestion'==_0x4af825&&_0x47e1('0x98')==_0x3ad807&&_0x53737e==_0x54516f['id']&&!_0x38635f[_0x47e1('0x67')];});for(const _0x5020e5 of _0x323673){if('insert'!=_0x5020e5['type']||_0x47e1('0x7f')!=_0x5020e5[_0x47e1('0x41')]||0x1!=_0x5020e5['length'])continue;const _0x455d7e=_0x5ba19a[_0x47e1('0x91')](_0x5020e5['position'],_0x5020e5[_0x47e1('0xf')][_0x47e1('0x61')](0x1));if(!_0x2bc9aa['find'](({data:_0x4e4e72})=>_0x4e4e72[_0x47e1('0x47')][_0x47e1('0x55')](_0x455d7e)))for(const {name:_0x3d7e31,data:_0x55bdef}of _0x2bc9aa)if(_0x455d7e[_0x47e1('0x34')](_0x55bdef[_0x47e1('0x47')])){_0x5ba19a['updateMarker'](_0x3d7e31,{'range':_0x455d7e}),_0x2e64fb=!0x0;break;}}return _0x2e64fb;}),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')][_0x47e1('0x8')](_0x122231=>{let _0x559e47=!0x1;const _0x3e6fcd=_0x3f86f7['plugins']['get'](_0x47e1('0x9f'))['me'],_0xb885d6=_0x474843[_0x47e1('0x29')]()[_0x47e1('0x49')](_0x5ab112=>_0x5ab112['isInContent']&&_0x5ab112['author']==_0x3e6fcd),_0x24e942=new Set(),_0x2f6a80=new Set();for(const _0x3c1a76 of _0xb885d6)if(_0x47e1('0x98')==_0x3c1a76['subType'])for(const _0x4f5dae of _0x3c1a76['getMarkers']()){const _0x5ac266=_0x4f5dae[_0x47e1('0x3a')]()['getContainedElement']();if(_0x5ac266){if(_0x5ac266['is'](_0x47e1('0x88'),_0x47e1('0x7f'))&&ce(_0x5ac266)){_0x3c1a76['removeMarker'](_0x4f5dae[_0x47e1('0x41')]),_0x24e942[_0x47e1('0x7')](_0x5ac266),_0x559e47=!0x0;const _0x35730d=_0x5ac266[_0x47e1('0x72')],_0xb30c61=_0x5ac266[_0x47e1('0x17')],_0x5dc347=_0x35730d&&_0x35730d['is'](_0x47e1('0x88'),_0x47e1('0x7f')),_0x1d383e=_0xb30c61&&_0xb30c61['is']('element','tableCellSuggestion');_0x5dc347&&!_0x24e942['has'](_0x35730d)&&_0x2f6a80[_0x47e1('0x7')](_0x35730d),_0x1d383e&&!_0x24e942[_0x47e1('0x6a')](_0xb30c61)&&_0x2f6a80[_0x47e1('0x7')](_0xb30c61);}else _0x5ac266['is'](_0x47e1('0x88'),_0x47e1('0x5c'))&&_0x5ac266[_0x47e1('0x6c')]&&(_0x3c1a76[_0x47e1('0x26')](_0x4f5dae['name']),_0x559e47=!0x0);}}else{if(_0x47e1('0x10')==_0x3c1a76[_0x47e1('0x4d')]){if(!_0x3c1a76[_0x47e1('0x68')]||!_0x3c1a76[_0x47e1('0x68')][_0x47e1('0x86')])continue;const _0x1df176=_0x3c1a76['attributes'][_0x47e1('0x35')];if(_0x1df176&&Object['keys'](_0x1df176)['length'])continue;const _0x43ee1f=_0x3c1a76[_0x47e1('0x68')][_0x47e1('0x86')];let _0x2e4548=!0x0,_0x1364f8=!0x0;for(const _0x565121 of _0xb885d6)if(_0x565121[_0x47e1('0x4d')]&&_0x565121[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98'))){if(!_0x565121[_0x47e1('0x68')]['tablePasteChainId']){_0x1364f8=!0x1;break;}if(_0x565121['id']!=_0x3c1a76['id']&&_0x565121['attributes'][_0x47e1('0x86')]==_0x43ee1f){_0x2e4548=!0x1;break;}}_0x1364f8&&_0x2e4548&&(_0x3c1a76[_0x47e1('0x2e')](),_0x559e47=!0x0);}}for(const _0x3ae28c of _0x24e942)_0x122231['remove'](_0x3ae28c);for(const _0xc827cc of _0x2f6a80)_0x122231['unwrap'](_0xc827cc);return _0x559e47;}),_0x3f86f7['conversion']['for'](_0x47e1('0x73'))[_0x47e1('0x70')]({'model':_0x47e1('0x92'),'view':(_0x683a58,_0x2324b3)=>_0x22b68d(_0x683a58),'converterPriority':'high'}),_0x3f86f7['conversion'][_0x47e1('0x99')](_0x47e1('0x8d'))[_0x47e1('0x70')]({'model':_0x47e1('0x92'),'view':(_0x3b6b5a,_0x3953c0)=>_0x3953c0['options'][_0x47e1('0x5d')]?_0x22b68d(_0x3b6b5a,!0x1):null,'converterPriority':_0x47e1('0x52')});const _0x4bd61a=_0x3f86f7[_0x47e1('0x87')]['view'];this['listenTo'](_0x4bd61a[_0x47e1('0x79')],_0x47e1('0x2f'),(_0x4e357a,_0x3c806c)=>{const _0x3a02fc=[];for(const _0x204a59 of _0x4bd61a['createRangeIn'](_0x3c806c[_0x47e1('0x8e')])['getItems']())_0x204a59['is'](_0x47e1('0x88'),_0x47e1('0x83'))&&_0x3a02fc[_0x47e1('0x57')](_0x204a59);_0x4bd61a['change'](_0x451c51=>{for(const _0x523360 of _0x3a02fc)_0x451c51[_0x47e1('0x33')](_0x451c51[_0x47e1('0x1b')](_0x523360),_0x451c51['createPositionBefore'](_0x523360)),_0x451c51['remove'](_0x523360);});});}}function ce(_0xd216df){if(_0xd216df[_0x47e1('0x6c')])return!0x0;const _0x3339d1=_0xd216df[_0x47e1('0x1e')](0x0);return _0x3339d1['is'](_0x47e1('0x88'),_0x47e1('0x5c'))&&_0x3339d1[_0x47e1('0x6c')];}function fe(_0x3552ae,_0x2bc982={},_0xf3da21){for(const {isAnchor:_0x2cf0f2,cellHeight:_0x4b5c11,cellWidth:_0x27e5a3}of _0xf3da21[_0x47e1('0x3f')](_0x3552ae,{'includeAllSlots':!0x0,..._0x2bc982}))if(!_0x2cf0f2||0x1!=_0x4b5c11||0x1!=_0x27e5a3)return!0x1;return!0x0;}
23
+ const _0x10a2=['editingDowncast','schema','markers','insertion','rows','markerAttributes','editing','wrap','change','getRanges','position','registerCustomCallback','fill','tableCell','getAllAdjacentSuggestions','unwrap','markMultiRangeInsertion','element','getAttributes','getRowIndexes','markerToHighlight','getChildren','start','value','listenTo','getRows','endColumn','registerDescriptionCallback','redo','createTableWalker','paragraph','columnInsertionRanges','model','suggestion:formatBlock:tablePasteCell','last','TrackChangesEditing','nextSibling','insert','cells','Users','row','reduce','getMarkers','deletionRanges','getColumnIndexes','some','getChild','tablePasteCell','suggestionLoaded','getTableIfOnlyTableInContent','createRangeIn','ck-suggestion-marker-insertion','column','remove','tableCellSuggestion','selection','deletion','setAttributes','isEmpty','previous','clipboardOutput','options','createElement','attributes','findAncestor','getShiftedBy','length','cell','from','tablePasteRow','insertColumns','containsRange','set','elementToElement','getRange','rootName','tablePaste','suggestionUnloaded','discard','rowInsertionIndexes','trackChanges','tableCellBorderColor','ck-suggestion-marker--active','$graveyard','_replaceTableSlotCell','formatBlock','fromEntries','hasSuggestion','endRow','add','type','filter','forceDefaultExecution','get','getSuggestion','root','join','tableCellVerticalAlignment','afterInit','subType','stop','tablePasteColumn','table','tableCellBorderStyle','isInContent','createRangeOn','first','has','view','newRange','author','suggestion','removeMarker','return','getColumns','ck-suggestion-marker','columnInsertionIndexes','end','activeMarkers','getContainedElement','getItems','tableCellHorizontalAlignment','createRange','every','differ','getChangedMarkers','removeMarkers','commands','plugins','getSuggestionCallback','_createdBatches','_tablePostFixingSubtypes','tablePasteChainId','registerPostFixer','getChanges','getSuggestions','markMultiRangeDeletion','nodeAfter','low','accept','getSelectionAffectedTableCells','push','for','map','oldRange','_splitMarkerName','tableCellBackgroundColor','high','includes','TableClipboard','suggestion-td','startsWith','document','name','_getCoordsForCells','markerName','rowInsertionRanges','entries','find','showSuggestionHighlights','documentSelection','setAttribute','_suggestionFactory','_descriptionFactory'];(function(_0x4ae7a0,_0x10a26d){const _0x55d570=function(_0x16d821){while(--_0x16d821){_0x4ae7a0['push'](_0x4ae7a0['shift']());}};_0x55d570(++_0x10a26d);}(_0x10a2,0x19e));const _0x55d5=function(_0x4ae7a0,_0x10a26d){_0x4ae7a0=_0x4ae7a0-0x0;let _0x55d570=_0x10a2[_0x4ae7a0];return _0x55d570;};import{getTranslation as _0x267cd4}from'../utils/common-translations';import{Plugin as _0x39a7e8}from'ckeditor5/src/core';import{uid as _0x19ee79,priorities as _0x303a0d}from'ckeditor5/src/utils';import _0x1e97d2 from'./table';const le=['tableCellBorderWidth',_0x55d5('0x9f'),_0x55d5('0x11'),_0x55d5('0x23'),_0x55d5('0xb'),_0x55d5('0x3c'),'tableCellPadding'],ae=Object[_0x55d5('0x0')](le[_0x55d5('0x39')](_0x5c1c01=>[_0x5c1c01,null]));export default class kt extends _0x39a7e8{static get['requires'](){return[_0x1e97d2];}[_0x55d5('0xc')](){const _0x1297a7=this['editor'];if(!_0x1297a7['plugins'][_0x55d5('0x15')](_0x55d5('0x3f')))return;const _0x28e8f2=_0x1297a7['plugins'][_0x55d5('0x7')](_0x55d5('0x71')),_0x282a12=_0x1297a7[_0x55d5('0x2a')][_0x55d5('0x7')]('TableUtils'),_0x3301fd=_0x1297a7[_0x55d5('0x2a')][_0x55d5('0x7')](_0x1e97d2),_0x10c6e1=_0x1297a7[_0x55d5('0x2a')][_0x55d5('0x7')]('TableClipboard');_0x3301fd[_0x55d5('0x2d')][_0x55d5('0x37')]('tablePasteRow','tablePasteColumn'),_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x4f')]['register']('tableCellSuggestion',{'allowIn':_0x55d5('0x5b'),'allowContentOf':_0x55d5('0x5b'),'isLimit':!0x0}),_0x1297a7['conversion'][_0x55d5('0x97')]({'model':'tableCellSuggestion','view':_0x55d5('0x40')});let _0x54c1b9=null;_0x1297a7[_0x55d5('0x6e')]['on']('insertContent',(_0x451c8c,_0x46a0fb)=>{const [_0x5c7577,_0x5681a8]=_0x46a0fb,_0x769460=_0x46a0fb[_0x46a0fb[_0x55d5('0x90')]-0x1];_0x769460&&_0x769460[_0x55d5('0x6')]||_0x28e8f2['_isForcedDefaultExecutionBlock']||this['editor'][_0x55d5('0x29')][_0x55d5('0x7')](_0x55d5('0x9e'))[_0x55d5('0x65')]&&function(_0x2b38df,_0x32054f,_0x5ef307,_0x37eb9a,_0x45317e){if(_0x32054f&&!_0x32054f['is'](_0x55d5('0x4a')))return!0x1;const _0x58d7d3=_0x45317e[_0x55d5('0x7f')](_0x2b38df,_0x5ef307);if(!_0x58d7d3||!fe(_0x58d7d3,void 0x0,_0x37eb9a))return!0x1;const _0x45b9bd=_0x37eb9a[_0x55d5('0x36')](_0x5ef307[_0x55d5('0x42')][_0x55d5('0x85')]);if(!_0x45b9bd[_0x55d5('0x90')])return!0x1;const _0x164f33=_0x45b9bd[0x0]['findAncestor'](_0x55d5('0x10')),_0x5c5c18=_0x37eb9a[_0x55d5('0x61')](_0x45b9bd),_0x19adab=_0x37eb9a[_0x55d5('0x7a')](_0x45b9bd),_0x239b05={'startRow':_0x5c5c18[_0x55d5('0x14')],'endRow':_0x5c5c18[_0x55d5('0x70')],'startColumn':_0x19adab[_0x55d5('0x14')],'endColumn':_0x19adab[_0x55d5('0x70')]};return 0x1==_0x45b9bd[_0x55d5('0x90')]&&(_0x239b05[_0x55d5('0x2')]+=_0x37eb9a[_0x55d5('0x67')](_0x58d7d3)-0x1,_0x239b05[_0x55d5('0x68')]+=_0x37eb9a[_0x55d5('0x1c')](_0x58d7d3)-0x1),fe(_0x164f33,_0x239b05,_0x37eb9a);}(_0x5c7577,_0x5681a8,_0x1297a7['model'],_0x282a12,_0x10c6e1)&&(_0x451c8c[_0x55d5('0xe')](),_0x54c1b9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1297a7[_0x55d5('0x6e')]['change'](()=>{_0x1297a7[_0x55d5('0x6e')]['insertContent'](_0x46a0fb[0x0],_0x46a0fb[0x1],_0x46a0fb[0x2],{'forceDefaultExecution':!0x0});const _0x3a5b6a=_0x19ee79(),{rowInsertionRanges:_0x16146f,columnInsertionRanges:_0x4f17c4,insertionRanges:_0x2497ac,deletionRanges:_0x5496ce,cells:_0x32a737}=_0x54c1b9;_0x16146f[_0x55d5('0x90')]&&_0x28e8f2[_0x55d5('0x5e')](_0x16146f,_0x55d5('0x93'),{'tablePasteChainId':_0x3a5b6a}),_0x4f17c4[_0x55d5('0x90')]&&_0x28e8f2[_0x55d5('0x5e')](_0x4f17c4,_0x55d5('0xf'),{'tablePasteChainId':_0x3a5b6a}),_0x2497ac[_0x55d5('0x90')]&&_0x28e8f2[_0x55d5('0x5e')](_0x2497ac,_0x55d5('0x9a'),{'tablePasteChainId':_0x3a5b6a,'skipNestingCheck':!0x0}),_0x5496ce['length']&&_0x28e8f2[_0x55d5('0x32')](_0x5496ce,_0x55d5('0x9a'),{'tablePasteChainId':_0x3a5b6a,'skipNestingCheck':!0x0});const _0x2a62f2=_0x28e8f2['markMultiRangeBlockFormat'](_0x32a737[_0x55d5('0x39')](({element:_0x55771c})=>_0x55771c),{'formatGroupId':_0x19ee79()},[],_0x55d5('0x7d'),{'tablePasteChainId':_0x3a5b6a});if(_0x2a62f2){const _0x200fa1=_0x2a62f2[_0x55d5('0x78')](),_0x2b7425=[];for(const {element:_0x380544,attributes:_0x5c917f}of _0x32a737){if(!_0x5c917f)continue;const _0x42049b=_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x13')](_0x380544),_0x524d33=_0x200fa1[_0x55d5('0x48')](_0x3d8815=>_0x3d8815[_0x55d5('0x98')]()['isEqual'](_0x42049b));_0x524d33&&_0x2b7425[_0x55d5('0x37')]([_0x524d33['name'],_0x5c917f]);}_0x2b7425[_0x55d5('0x90')]&&_0x2a62f2[_0x55d5('0x4b')]('markerAttributes',Object[_0x55d5('0x0')](_0x2b7425));}_0x54c1b9=null;}));},{'priority':_0x303a0d[_0x55d5('0x3d')]+0xa}),_0x1297a7[_0x55d5('0x2a')]['get'](_0x55d5('0x3f'))['on'](_0x55d5('0xa2'),(_0x444a0a,_0x4e5515)=>{const [_0x4f04f2,_0x4d08a1,,_0x458626]=_0x4e5515;if(!_0x54c1b9)return;_0x444a0a['stop']();const _0x3dd11d=_0x4f04f2[_0x55d5('0x91')],_0x47ca07=_0x4d08a1,_0x3ea340=ce(_0x3dd11d),_0x40526b=ce(_0x47ca07);_0x444a0a[_0x55d5('0x1b')]=_0x3dd11d;let _0x7cb6e5=null,_0x376bd7=null;if(_0x40526b||_0x3ea340){if(_0x3ea340&&!_0x40526b){_0x458626['remove'](_0x3dd11d[_0x55d5('0x7c')](0x0));for(const _0x2534dc of Array[_0x55d5('0x92')](_0x47ca07['getChildren']()))_0x458626[_0x55d5('0x73')](_0x2534dc,_0x3dd11d,_0x55d5('0x1f'));const _0x3f0eff=_0x54c1b9[_0x55d5('0x9d')][_0x55d5('0x3e')](_0x4f04f2[_0x55d5('0x76')]),_0x1945a2=_0x54c1b9[_0x55d5('0x1e')][_0x55d5('0x3e')](_0x4f04f2[_0x55d5('0x82')]);_0x3f0eff||_0x1945a2||(_0x7cb6e5=_0x458626[_0x55d5('0x80')](_0x3dd11d));}else _0x40526b&&!_0x3ea340&&(_0x376bd7=_0x458626[_0x55d5('0x80')](_0x3dd11d));}else{const _0xb68f=_0x458626['createElement'](_0x55d5('0x84')),_0x157ad6=_0x458626[_0x55d5('0x8c')](_0x55d5('0x84'));_0x458626[_0x55d5('0x55')](_0x458626['createRangeIn'](_0x3dd11d),_0x157ad6),_0x458626[_0x55d5('0x73')](_0xb68f,_0x3dd11d,0x0);for(const _0x5161c5 of Array[_0x55d5('0x92')](_0x47ca07[_0x55d5('0x63')]()))_0x458626[_0x55d5('0x73')](_0x5161c5,_0xb68f,_0x55d5('0x1f'));_0x7cb6e5=_0x458626[_0x55d5('0x13')](_0xb68f),_0x376bd7=_0x458626['createRangeOn'](_0x157ad6);}const _0x5ad7d9=Array[_0x55d5('0x92')](_0x47ca07[_0x55d5('0x60')]())[_0x55d5('0x5')](([_0x3f20fb])=>le[_0x55d5('0x3e')](_0x3f20fb));_0x54c1b9[_0x55d5('0x74')][_0x55d5('0x37')]({'element':_0x3dd11d,'attributes':_0x5ad7d9[_0x55d5('0x90')]?Object[_0x55d5('0x0')](_0x5ad7d9):null}),_0x7cb6e5&&_0x54c1b9['insertionRanges']['push'](_0x7cb6e5),_0x376bd7&&_0x54c1b9[_0x55d5('0x79')][_0x55d5('0x37')](_0x376bd7);},{'priority':_0x55d5('0x3d')}),_0x282a12['on'](_0x55d5('0x94'),(_0x3f8117,_0x2eec42)=>{const [_0x515ce5,_0x46d5cf={}]=_0x2eec42;if(!_0x54c1b9)return;const _0x510bca=_0x46d5cf['at']||0x0,_0xba4f05=_0x46d5cf['columns']||0x1;_0x54c1b9[_0x55d5('0x1e')]=new Array(_0xba4f05)[_0x55d5('0x5a')](_0x510bca)[_0x55d5('0x39')]((_0x3e819e,_0x5db857)=>_0x3e819e+_0x5db857);for(const {cell:_0x59d7a0}of _0x282a12[_0x55d5('0x6b')](_0x515ce5,{'startColumn':_0x510bca,'endColumn':_0x510bca+_0xba4f05-0x1}))_0x54c1b9[_0x55d5('0x6d')]['push'](_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x13')](_0x59d7a0));},{'priority':_0x55d5('0x34')}),_0x282a12['on']('insertRows',(_0x5a1764,_0x3acb1a)=>{const [_0x4d19f3,_0x24ba60={}]=_0x3acb1a;if(!_0x54c1b9)return;const _0x5327f1=_0x24ba60['at']||0x0,_0x50f849=_0x24ba60[_0x55d5('0x52')]||0x1;_0x54c1b9[_0x55d5('0x9d')]=new Array(_0x50f849)[_0x55d5('0x5a')](_0x5327f1)[_0x55d5('0x39')]((_0x2da548,_0x2623ed)=>_0x2da548+_0x2623ed);for(const {cell:_0x1d1298}of _0x282a12[_0x55d5('0x6b')](_0x4d19f3,{'startRow':_0x5327f1,'endRow':_0x5327f1+_0x50f849-0x1}))_0x54c1b9[_0x55d5('0x46')][_0x55d5('0x37')](_0x1297a7['model'][_0x55d5('0x13')](_0x1d1298));},{'priority':_0x55d5('0x34')}),_0x28e8f2[_0x55d5('0x4d')][_0x55d5('0x69')](_0x4033aa=>{if(_0x4033aa[_0x55d5('0xd')]&&_0x4033aa[_0x55d5('0xd')][_0x55d5('0x41')]('tablePaste'))return _0x4033aa['previous']?{}:{'type':_0x55d5('0x51'),'content':_0x267cd4(_0x1297a7['locale'],'*Replace\x20table\x20cells*')};});const _0x5b52b3=()=>{};for(const _0x21a9ed of[_0x55d5('0x9a'),_0x55d5('0xf'),'tablePasteRow',_0x55d5('0x7d')])_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x59')](_0x55d5('0x51'),_0x21a9ed,_0x55d5('0xa'),_0x5b52b3),_0x28e8f2[_0x55d5('0x4c')]['registerCustomCallback'](_0x55d5('0x86'),_0x21a9ed,'join',_0x5b52b3);_0x28e8f2[_0x55d5('0x4c')]['registerCustomCallback'](_0x55d5('0xa3'),_0x55d5('0x7d'),_0x55d5('0x9c'),_0x5b52b3),_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x59')](_0x55d5('0xa3'),_0x55d5('0x7d'),_0x55d5('0x35'),(_0xa12438,_0x1465ee,_0x2a5cf2)=>{const _0x35a9a6=_0xa12438['map'](_0x3680c2=>_0x3680c2['getContainedElement']())[_0x55d5('0x5')](_0x48aa34=>_0x48aa34),_0x5496bc=new Map(_0x35a9a6['map'](_0x38a915=>[_0x38a915,null]));if(_0x54c1b9)for(const {element:_0x20378d,attributes:_0x3443f1}of _0x54c1b9[_0x55d5('0x74')])_0x3443f1&&_0x5496bc[_0x55d5('0x96')](_0x20378d,_0x3443f1);else{if(_0x2a5cf2&&_0x2a5cf2[_0x55d5('0x53')])for(const [_0x393d4e,_0x350e22]of Object[_0x55d5('0x47')](_0x2a5cf2[_0x55d5('0x53')])){const _0x7fb2aa=_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x50')][_0x55d5('0x7')](_0x393d4e),_0xa71d0b=_0x7fb2aa?_0x7fb2aa[_0x55d5('0x98')]()[_0x55d5('0x21')]():null;_0xa71d0b&&_0x5496bc['set'](_0xa71d0b,_0x350e22);}}_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x56')](_0xfd918b=>{for(const [_0x16a108,_0x48ba2f]of _0x5496bc)_0xfd918b[_0x55d5('0x87')]({...ae,..._0x48ba2f},_0x16a108);});});const _0x5b28aa=(_0x61772e,_0x158f80)=>{_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x59')](_0x61772e,_0x55d5('0x9a'),_0x158f80,(_0x3c2dea,_0x35af6a,_0x6a3604)=>{_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x56')](_0x2d39fe=>{const _0x2f8fc=[];for(const _0x250407 of _0x3c2dea){const _0x57920d=_0x250407[_0x55d5('0x64')][_0x55d5('0x33')];_0x57920d['is'](_0x55d5('0x5f'),_0x55d5('0x84'))&&_0x2f8fc['push'](_0x57920d);}_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x2b')](_0x61772e,null,_0x158f80)(_0x3c2dea,_0x35af6a,_0x6a3604);for(const _0x3d9b92 of _0x2f8fc)_0x55d5('0xa1')!=_0x3d9b92[_0x55d5('0x9')][_0x55d5('0x99')]&&_0x2d39fe[_0x55d5('0x5d')](_0x3d9b92);});});};_0x5b28aa(_0x55d5('0x51'),_0x55d5('0x35')),_0x5b28aa(_0x55d5('0x51'),_0x55d5('0x9c')),_0x5b28aa(_0x55d5('0x86'),_0x55d5('0x35')),_0x5b28aa(_0x55d5('0x86'),_0x55d5('0x9c')),_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x59')](_0x55d5('0x51'),'tablePasteRow',_0x55d5('0x9c'),_0x90e4fc=>{const _0x350ccb=_0x90e4fc[_0x55d5('0x39')](_0x189eac=>_0x189eac[_0x55d5('0x21')]()),_0x90e887=_0x350ccb[0x0][_0x55d5('0x8e')]('table'),{minRow:_0x28be8e,maxRow:_0x5bdd17}=_0x3301fd[_0x55d5('0x44')](_0x350ccb);_0x282a12['removeRows'](_0x90e887,{'at':_0x28be8e,'rows':_0x5bdd17-_0x28be8e+0x1});}),_0x28e8f2[_0x55d5('0x4c')][_0x55d5('0x59')](_0x55d5('0x51'),_0x55d5('0xf'),_0x55d5('0x9c'),_0x52b452=>{const _0x210faa=_0x52b452[_0x55d5('0x39')](_0x5cdbab=>_0x5cdbab['getContainedElement']()),_0x1d5df3=_0x210faa[0x0][_0x55d5('0x8e')]('table'),{minColumn:_0x14d627,maxColumn:_0x12c4c5}=_0x3301fd[_0x55d5('0x44')](_0x210faa);_0x282a12['removeColumns'](_0x1d5df3,{'at':_0x14d627,'columns':_0x12c4c5-_0x14d627+0x1});});const _0xba96f0=(_0x32ac5b,_0x5752d1)=>{if(!_0x5752d1[_0x55d5('0xd')]||!_0x5752d1['subType']['startsWith'](_0x55d5('0x9a')))return;const _0x3a0d97=_0x5752d1[_0x55d5('0x8d')][_0x55d5('0x2e')],_0x33f435=_0x28e8f2[_0x55d5('0x31')]()['filter'](_0x5de553=>_0x5de553[_0x55d5('0x12')]&&_0x5de553[_0x55d5('0x8d')]&&_0x5de553[_0x55d5('0x8d')][_0x55d5('0x2e')]==_0x3a0d97);_0x33f435['length']&&_0x5752d1[_0x55d5('0x5c')]()[_0x55d5('0x90')]!=_0x33f435[_0x55d5('0x90')]&&_0x33f435[_0x55d5('0x77')]((_0x2df3f9,_0x4fdf62)=>(_0x2df3f9['next']=_0x4fdf62,_0x4fdf62[_0x55d5('0x89')]=_0x2df3f9,_0x4fdf62));};function _0xd6468f(_0x5f2000,_0x2851ea=!0x0){const {id:_0x1fdce6}=_0x28e8f2[_0x55d5('0x3b')](_0x5f2000['markerName']),_0x141240=[_0x55d5('0x1d'),_0x55d5('0x81')],_0x3d6465=_0x28e8f2[_0x55d5('0x20')]['includes'](_0x5f2000[_0x55d5('0x45')]);return _0x3d6465&&_0x141240[_0x55d5('0x37')](_0x55d5('0xa0')),{'classes':_0x141240,'attributes':{'data-suggestion':_0x1fdce6},'priority':_0x3d6465&&_0x2851ea?0xbc2:0xbb8};}_0x28e8f2['on'](_0x55d5('0x7e'),_0xba96f0,{'priority':_0x55d5('0x3d')}),_0x28e8f2['on'](_0x55d5('0x9b'),_0xba96f0,{'priority':_0x55d5('0x3d')}),_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x42')][_0x55d5('0x2f')](()=>{let _0x5d28a3=!0x1;const _0x3678f6=Array['from'](_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x42')][_0x55d5('0x26')][_0x55d5('0x27')]());for(const {name:_0xdcdbb4,data:_0x1c23d9}of _0x3678f6){const {group:_0x4c6d1d,type:_0x4ef505,id:_0x31e52e}=_0x28e8f2['_splitMarkerName'](_0xdcdbb4);if(_0x55d5('0x19')!=_0x4c6d1d||_0x55d5('0x86')!=_0x4ef505||_0x1c23d9[_0x55d5('0x3a')])continue;if(!_0x28e8f2[_0x55d5('0x1')](_0x31e52e))continue;const _0x116e75=_0x28e8f2[_0x55d5('0x8')](_0x31e52e)[_0x55d5('0x57')](),_0x3fcd60=_0x1297a7['plugins'][_0x55d5('0x7')](_0x55d5('0x75'))['me'];for(const _0x20953d of _0x28e8f2[_0x55d5('0x31')]()){if(!_0x20953d['isInContent']||_0x20953d[_0x55d5('0x18')]!=_0x3fcd60)continue;if('formatBlock'!=_0x20953d[_0x55d5('0x4')]||_0x55d5('0x7d')!=_0x20953d[_0x55d5('0xd')])continue;if(_0x20953d['getRanges']()[_0x55d5('0x25')](_0x592b1c=>_0x116e75[_0x55d5('0x7b')](_0x3ad641=>_0x3ad641[_0x55d5('0x95')](_0x592b1c,!0x0))))for(const _0x486407 of _0x20953d[_0x55d5('0x5c')]())_0x486407[_0x55d5('0x12')]&&(_0x486407[_0x55d5('0x9c')](),_0x5d28a3=!0x0);}}return _0x5d28a3;}),_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x42')][_0x55d5('0x2f')](_0x16d9e9=>{const _0x33c825=_0x1297a7['commands'][_0x55d5('0x7')](_0x55d5('0x6a'));if(!_0x33c825||!_0x33c825[_0x55d5('0x2c')]['has'](_0x16d9e9['batch']))return!0x1;let _0x2f6db7=!0x1;const _0xadaa4e=_0x1297a7['plugins'][_0x55d5('0x7')](_0x55d5('0x75'))['me'],_0x336c11=_0x1297a7[_0x55d5('0x6e')][_0x55d5('0x42')]['differ'][_0x55d5('0x30')](),_0x3aa14c=Array[_0x55d5('0x92')](_0x1297a7[_0x55d5('0x6e')]['document'][_0x55d5('0x26')][_0x55d5('0x27')]())[_0x55d5('0x5')](({name:_0x1242ab,data:_0x10f602})=>{const {group:_0x255c6a,subType:_0x3b44d1,authorId:_0x22f425}=_0x28e8f2['_splitMarkerName'](_0x1242ab);return _0x55d5('0x19')==_0x255c6a&&_0x55d5('0x9a')==_0x3b44d1&&_0x22f425==_0xadaa4e['id']&&!_0x10f602[_0x55d5('0x3a')];});for(const _0x118754 of _0x336c11){if(_0x55d5('0x73')!=_0x118754[_0x55d5('0x4')]||'tableCellSuggestion'!=_0x118754[_0x55d5('0x43')]||0x1!=_0x118754[_0x55d5('0x90')])continue;const _0x5ccc93=_0x16d9e9[_0x55d5('0x24')](_0x118754['position'],_0x118754[_0x55d5('0x58')][_0x55d5('0x8f')](0x1));if(!_0x3aa14c[_0x55d5('0x48')](({data:_0x241839})=>_0x241839[_0x55d5('0x17')]['isEqual'](_0x5ccc93)))for(const {name:_0x3e07c3,data:_0x31a5e9}of _0x3aa14c)if(_0x5ccc93[_0x55d5('0x95')](_0x31a5e9[_0x55d5('0x17')])){_0x16d9e9['updateMarker'](_0x3e07c3,{'range':_0x5ccc93}),_0x2f6db7=!0x0;break;}}return _0x2f6db7;}),_0x1297a7['model'][_0x55d5('0x42')][_0x55d5('0x2f')](_0x586cff=>{let _0x35fa3d=!0x1;const _0x10ed07=_0x1297a7[_0x55d5('0x2a')][_0x55d5('0x7')](_0x55d5('0x75'))['me'],_0x1cdec0=_0x28e8f2['getSuggestions']()[_0x55d5('0x5')](_0x29b98a=>_0x29b98a[_0x55d5('0x12')]&&_0x29b98a[_0x55d5('0x18')]==_0x10ed07),_0x4a96d7=new Set(),_0x1be6d9=new Set();for(const _0x3b47e5 of _0x1cdec0)if('tablePaste'==_0x3b47e5[_0x55d5('0xd')])for(const _0x11d17c of _0x3b47e5[_0x55d5('0x78')]()){const _0x3a2d6a=_0x11d17c['getRange']()[_0x55d5('0x21')]();if(_0x3a2d6a){if(_0x3a2d6a['is'](_0x55d5('0x5f'),'tableCellSuggestion')&&ce(_0x3a2d6a)){_0x3b47e5['removeMarker'](_0x11d17c['name']),_0x4a96d7[_0x55d5('0x3')](_0x3a2d6a),_0x35fa3d=!0x0;const _0x10efa9=_0x3a2d6a[_0x55d5('0x72')],_0x3ce23c=_0x3a2d6a['previousSibling'],_0x2d5d0c=_0x10efa9&&_0x10efa9['is']('element','tableCellSuggestion'),_0x4bf0bd=_0x3ce23c&&_0x3ce23c['is'](_0x55d5('0x5f'),_0x55d5('0x84'));_0x2d5d0c&&!_0x4a96d7['has'](_0x10efa9)&&_0x1be6d9[_0x55d5('0x3')](_0x10efa9),_0x4bf0bd&&!_0x4a96d7[_0x55d5('0x15')](_0x3ce23c)&&_0x1be6d9[_0x55d5('0x3')](_0x3ce23c);}else _0x3a2d6a['is'](_0x55d5('0x5f'),_0x55d5('0x6c'))&&_0x3a2d6a[_0x55d5('0x88')]&&(_0x3b47e5[_0x55d5('0x1a')](_0x11d17c[_0x55d5('0x43')]),_0x35fa3d=!0x0);}}else{if('tablePasteCell'==_0x3b47e5[_0x55d5('0xd')]){if(!_0x3b47e5[_0x55d5('0x8d')]||!_0x3b47e5[_0x55d5('0x8d')][_0x55d5('0x2e')])continue;const _0x4b5df1=_0x3b47e5[_0x55d5('0x8d')][_0x55d5('0x53')];if(_0x4b5df1&&Object['keys'](_0x4b5df1)['length'])continue;const _0x42865e=_0x3b47e5['attributes']['tablePasteChainId'];let _0x5dcb89=!0x0,_0x45da5a=!0x0;for(const _0x287a87 of _0x1cdec0)if(_0x287a87['subType']&&_0x287a87[_0x55d5('0xd')]['startsWith'](_0x55d5('0x9a'))){if(!_0x287a87[_0x55d5('0x8d')][_0x55d5('0x2e')]){_0x45da5a=!0x1;break;}if(_0x287a87['id']!=_0x3b47e5['id']&&_0x287a87[_0x55d5('0x8d')][_0x55d5('0x2e')]==_0x42865e){_0x5dcb89=!0x1;break;}}_0x45da5a&&_0x5dcb89&&(_0x3b47e5[_0x55d5('0x28')](),_0x35fa3d=!0x0);}}for(const _0x31cc06 of _0x4a96d7)_0x586cff['remove'](_0x31cc06);for(const _0x201904 of _0x1be6d9)_0x586cff[_0x55d5('0x5d')](_0x201904);return _0x35fa3d;}),_0x1297a7['conversion'][_0x55d5('0x38')](_0x55d5('0x4e'))[_0x55d5('0x62')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x9852f1,_0x3a73b9)=>_0xd6468f(_0x9852f1),'converterPriority':_0x55d5('0x3d')}),_0x1297a7['conversion'][_0x55d5('0x38')]('dataDowncast')[_0x55d5('0x62')]({'model':_0x55d5('0x6f'),'view':(_0x202bec,_0x261773)=>_0x261773[_0x55d5('0x8b')][_0x55d5('0x49')]?_0xd6468f(_0x202bec,!0x1):null,'converterPriority':'high'});const _0x2ce9cf=_0x1297a7[_0x55d5('0x54')][_0x55d5('0x16')];this[_0x55d5('0x66')](_0x2ce9cf[_0x55d5('0x42')],_0x55d5('0x8a'),(_0x19be88,_0x54b7ac)=>{const _0x54056a=[];for(const _0x5487e8 of _0x2ce9cf[_0x55d5('0x80')](_0x54b7ac['content'])[_0x55d5('0x22')]())_0x5487e8['is']('element',_0x55d5('0x40'))&&_0x54056a[_0x55d5('0x37')](_0x5487e8);_0x2ce9cf[_0x55d5('0x56')](_0x5aa57d=>{for(const _0x2691c0 of _0x54056a)_0x5aa57d['move'](_0x5aa57d[_0x55d5('0x80')](_0x2691c0),_0x5aa57d['createPositionBefore'](_0x2691c0)),_0x5aa57d[_0x55d5('0x83')](_0x2691c0);});});}}function ce(_0x389333){if(_0x389333['isEmpty'])return!0x0;const _0x390d47=_0x389333[_0x55d5('0x7c')](0x0);return _0x390d47['is'](_0x55d5('0x5f'),'paragraph')&&_0x390d47['isEmpty'];}function fe(_0x489bc8,_0x287095={},_0x4f27e8){for(const {isAnchor:_0x389923,cellHeight:_0x46e769,cellWidth:_0x563b43}of _0x4f27e8[_0x55d5('0x6b')](_0x489bc8,{'includeAllSlots':!0x0,..._0x287095}))if(!_0x389923||0x1!=_0x46e769||0x1!=_0x563b43)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xce64=['change','tableWidth','discard','model','subType','_descriptionFactory','getColumnGroupElement','formatBlock','resizeColumnWidths','markBlockFormat','accept','locale','Users','editor','handleSuggestionDescription','selection','author','resizeTableWidth','handleResizeTableWidthCommand','TableColumnResizeEditing','data','getSuggestions','enableCommand','get','getTableColumnsWidths','getAttribute','table','resizeTable','_suggestionFactory','registerDescriptionCallback','bind','commandParams','plugins','TrackChangesEditing','columnWidths','format','getContainedElement','document'];(function(_0x941ca8,_0xce64a7){const _0xa6090a=function(_0x4b738f){while(--_0x4b738f){_0x941ca8['push'](_0x941ca8['shift']());}};_0xa6090a(++_0xce64a7);}(_0xce64,0x8a));const _0xa609=function(_0x941ca8,_0xce64a7){_0x941ca8=_0x941ca8-0x0;let _0xa6090a=_0xce64[_0x941ca8];return _0xa6090a;};import{Plugin as _0x5675e1}from'ckeditor5/src/core';import{getTranslation as _0x3189a5}from'../utils/common-translations';export default class wt extends _0x5675e1{['afterInit'](){if(!this[_0xa609('0x1b')][_0xa609('0x8')]['has'](_0xa609('0x21')))return;const _0x253cc6=this[_0xa609('0x1b')][_0xa609('0x8')][_0xa609('0x25')](_0xa609('0x9'));_0x253cc6[_0xa609('0x24')](_0xa609('0x1f'),this[_0xa609('0x20')][_0xa609('0x6')](this)),_0x253cc6[_0xa609('0x24')](_0xa609('0x16'),this['handleResizeTableWidthCommand'][_0xa609('0x6')](this)),_0x253cc6['_suggestionFactory']['registerCustomCallback'](_0xa609('0x15'),_0xa609('0x3'),_0xa609('0x18'),_0x253cc6[_0xa609('0x4')]['getSuggestionCallback']('formatBlock',null,'discard')),_0x253cc6[_0xa609('0x4')]['registerCustomCallback'](_0xa609('0x15'),_0xa609('0x3'),_0xa609('0x10'),_0x253cc6[_0xa609('0x4')]['getSuggestionCallback'](_0xa609('0x15'),null,_0xa609('0x18'))),_0x253cc6[_0xa609('0x13')][_0xa609('0x5')](this[_0xa609('0x1c')][_0xa609('0x6')](this));}[_0xa609('0x20')](_0x38aa73,_0xd31a11){const _0x33a16e=this[_0xa609('0x1b')][_0xa609('0x8')]['get'](_0xa609('0x9')),_0x2e840a=this[_0xa609('0x1b')]['plugins'][_0xa609('0x25')](_0xa609('0x21')),_0x331c86=_0xd31a11[_0xa609('0x2')]||this[_0xa609('0x1b')][_0xa609('0x11')][_0xa609('0xd')][_0xa609('0x1d')]['getSelectedElement']();this[_0xa609('0x1b')]['model'][_0xa609('0xe')](()=>{const _0x1037df=_0x2e840a[_0xa609('0x14')](_0x331c86);let _0x3e65e5=_0x1037df?_0x2e840a[_0xa609('0x0')](_0x1037df):null,_0x29cc7f=_0x331c86[_0xa609('0x1')]('tableWidth')||null;const _0x5ddbff=_0xd31a11[_0xa609('0xf')]||_0x29cc7f,_0x540f4c=_0xd31a11[_0xa609('0xa')]||_0x3e65e5,_0x3d39f7=this[_0xa609('0x1b')][_0xa609('0x8')][_0xa609('0x25')](_0xa609('0x1a'))['me'];for(const _0x108cda of _0x33a16e[_0xa609('0x23')]()){const _0x5c5498=_0x108cda[_0xa609('0xc')]();if(_0xa609('0x3')===_0x108cda[_0xa609('0x12')]&&_0x5c5498===_0x331c86){_0x108cda[_0xa609('0x1e')]!==_0x3d39f7&&_0x108cda[_0xa609('0x10')]();const _0x262a6b=_0x108cda[_0xa609('0x22')][_0xa609('0x7')];_0x29cc7f=_0x262a6b[0x0][_0xa609('0xf')],_0x3e65e5=_0x262a6b[0x0][_0xa609('0xa')];break;}}_0x38aa73({'table':_0x331c86,'tableWidth':_0x5ddbff,'columnWidths':_0x540f4c}),_0x33a16e[_0xa609('0x17')](_0x331c86,{'commandName':_0xa609('0x1f'),'commandParams':[{'tableWidth':_0x29cc7f,'columnWidths':_0x3e65e5}],'formatGroupId':'resizeTable'},[],_0xa609('0x3'));});}[_0xa609('0x1c')](_0x29cc4a){const {data:_0x56ce23}=_0x29cc4a;if(_0x56ce23&&'resizeTable'===_0x56ce23['formatGroupId']){const _0x501fce='*Format:*\x20resize\x20table';return{'type':_0xa609('0xb'),'content':_0x3189a5(this[_0xa609('0x1b')][_0xa609('0x19')],_0x501fce)};}}}
23
+ const _0x54e7=['registerCustomCallback','resizeTable','selection','columnWidths','handleResizeTableWidthCommand','editor','registerDescriptionCallback','TrackChangesEditing','model','_suggestionFactory','plugins','getSuggestionCallback','*Format:*\x20resize\x20table','getAttribute','has','getTableColumnsWidths','change','handleSuggestionDescription','afterInit','commandParams','enableCommand','document','getSuggestions','get','getContainedElement','getSelectedElement','TableColumnResizeEditing','formatBlock','tableWidth','resizeColumnWidths','markBlockFormat','data','bind','subType','resizeTableWidth','discard','getColumnGroupElement'];(function(_0x405035,_0x54e710){const _0x5e3520=function(_0x2d8d48){while(--_0x2d8d48){_0x405035['push'](_0x405035['shift']());}};_0x5e3520(++_0x54e710);}(_0x54e7,0x172));const _0x5e35=function(_0x405035,_0x54e710){_0x405035=_0x405035-0x0;let _0x5e3520=_0x54e7[_0x405035];return _0x5e3520;};import{Plugin as _0x838046}from'ckeditor5/src/core';import{getTranslation as _0x3a66f8}from'../utils/common-translations';export default class wt extends _0x838046{[_0x5e35('0x12')](){if(!this['editor'][_0x5e35('0xa')][_0x5e35('0xe')](_0x5e35('0x1a')))return;const _0x1be7e9=this[_0x5e35('0x5')][_0x5e35('0xa')][_0x5e35('0x17')](_0x5e35('0x7'));_0x1be7e9[_0x5e35('0x14')](_0x5e35('0x22'),this[_0x5e35('0x4')][_0x5e35('0x20')](this)),_0x1be7e9[_0x5e35('0x14')](_0x5e35('0x1d'),this[_0x5e35('0x4')][_0x5e35('0x20')](this)),_0x1be7e9[_0x5e35('0x9')][_0x5e35('0x0')](_0x5e35('0x1b'),_0x5e35('0x1'),'accept',_0x1be7e9[_0x5e35('0x9')][_0x5e35('0xb')]('formatBlock',null,_0x5e35('0x23'))),_0x1be7e9[_0x5e35('0x9')][_0x5e35('0x0')](_0x5e35('0x1b'),_0x5e35('0x1'),_0x5e35('0x23'),_0x1be7e9['_suggestionFactory'][_0x5e35('0xb')](_0x5e35('0x1b'),null,'accept')),_0x1be7e9['_descriptionFactory'][_0x5e35('0x6')](this['handleSuggestionDescription']['bind'](this));}[_0x5e35('0x4')](_0x382aba,_0x425083){const _0x3460cd=this[_0x5e35('0x5')][_0x5e35('0xa')][_0x5e35('0x17')]('TrackChangesEditing'),_0x52aa34=this[_0x5e35('0x5')][_0x5e35('0xa')][_0x5e35('0x17')]('TableColumnResizeEditing'),_0x4a390b=_0x425083['table']||this[_0x5e35('0x5')][_0x5e35('0x8')][_0x5e35('0x15')][_0x5e35('0x2')][_0x5e35('0x19')]();this[_0x5e35('0x5')][_0x5e35('0x8')][_0x5e35('0x10')](()=>{const _0x234a80=_0x52aa34[_0x5e35('0x24')](_0x4a390b);let _0x17c438=_0x234a80?_0x52aa34[_0x5e35('0xf')](_0x234a80):null,_0x5ee53b=_0x4a390b[_0x5e35('0xd')](_0x5e35('0x1c'))||null;const _0x201415=_0x425083[_0x5e35('0x1c')]||_0x5ee53b,_0x5ac243=_0x425083[_0x5e35('0x3')]||_0x17c438,_0x4455bb=this[_0x5e35('0x5')][_0x5e35('0xa')]['get']('Users')['me'];for(const _0x54b2cd of _0x3460cd[_0x5e35('0x16')]()){const _0x3f4798=_0x54b2cd[_0x5e35('0x18')]();if(_0x5e35('0x1')===_0x54b2cd[_0x5e35('0x21')]&&_0x3f4798===_0x4a390b){_0x54b2cd['author']!==_0x4455bb&&_0x54b2cd[_0x5e35('0x23')]();const _0x35e0c3=_0x54b2cd[_0x5e35('0x1f')][_0x5e35('0x13')];_0x5ee53b=_0x35e0c3[0x0][_0x5e35('0x1c')],_0x17c438=_0x35e0c3[0x0][_0x5e35('0x3')];break;}}_0x382aba({'table':_0x4a390b,'tableWidth':_0x201415,'columnWidths':_0x5ac243}),_0x3460cd[_0x5e35('0x1e')](_0x4a390b,{'commandName':_0x5e35('0x22'),'commandParams':[{'tableWidth':_0x5ee53b,'columnWidths':_0x17c438}],'formatGroupId':'resizeTable'},[],_0x5e35('0x1'));});}[_0x5e35('0x11')](_0x2479f2){const {data:_0x181d05}=_0x2479f2;if(_0x181d05&&_0x5e35('0x1')===_0x181d05['formatGroupId']){const _0x4cc6a7=_0x5e35('0xc');return{'type':'format','content':_0x3a66f8(this[_0x5e35('0x5')]['locale'],_0x4cc6a7)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a58=['downcastDispatcher','writer','_descriptionFactory','FORMAT_REGULAR_ROW','childCount','options','registerCustomCallback','addMarker:suggestion','consume','removeClass','value','_acceptFormatSuggestionCallbackFactory','editing','ck-suggestion-marker--active','consumable','setTableColumnHeader','isBefore','removeAttribute','setAttribute','TableUtils','forceValue','plugins','findAncestor','commandParams','data','locale','createPositionAfter','getChild','getAttribute','has','headingRows','commands','stop','mapper','model','ck-suggestion-marker-','markerNameToElements','createTableWalker','getColumnIndexes','format','formatBlock','last','accept','addClass','item','getRowIndexes','nodeAfter','get','TrackChangesEditing','from','change','nodeBefore','afterInit','setTableRowHeader','end','getCellLocation','cell','_suggestionFactory','*Format:*\x20%0','markerRange','bindElementToMarker','createPositionBefore','index','highest','parent','_splitMarkerName','getSuggestion','createRange','toViewElement','removeMarker:suggestion','unbindElementFromMarkerName','selection','FORMAT_HEADER_COLUMN','table','requires','commandName','editor','registerDescriptionCallback','getSelectionAffectedTableCells','data-suggestion','document','markerName','first'];(function(_0x158ad6,_0x2a58ae){const _0x59aae8=function(_0x2a8ad5){while(--_0x2a8ad5){_0x158ad6['push'](_0x158ad6['shift']());}};_0x59aae8(++_0x2a58ae);}(_0x2a58,0xbe));const _0x59aa=function(_0x158ad6,_0x2a58ae){_0x158ad6=_0x158ad6-0x0;let _0x59aae8=_0x2a58[_0x158ad6];return _0x59aae8;};import{Plugin as _0x309d54}from'ckeditor5/src/core';import _0x14006d from'./table';import{getTranslation as _0x3b9a4d}from'../utils/common-translations';export default class pt extends _0x309d54{static get[_0x59aa('0x32')](){return[_0x14006d];}[_0x59aa('0x1c')](){const _0x4345e6=this[_0x59aa('0x34')];if(!_0x4345e6['plugins'][_0x59aa('0x5')]('TableEditing'))return;const _0xdc7f6d=_0x4345e6[_0x59aa('0x1')],_0x32e8e6=_0x4345e6[_0x59aa('0x50')][_0x59aa('0x17')](_0x59aa('0x18')),_0x3543e1=_0x4345e6[_0x59aa('0x50')]['get'](_0x59aa('0x4e')),_0x38c92c=_0x4345e6[_0x59aa('0x50')]['get'](_0x14006d);function _0x4e1927({showActiveMarker:_0x10f568=!0x0,setDataAttribute:_0x2de3ca=!0x0}={}){return(_0x5aa2e9,_0x298039,_0x126df6)=>{const {type:_0x20a220,id:_0x35284d}=_0x32e8e6[_0x59aa('0x29')](_0x298039[_0x59aa('0x39')]),_0x390c14=_0x32e8e6[_0x59aa('0x2a')](_0x35284d);if(!_0x390c14[_0x59aa('0x0')]||'setTableColumnHeader'!=_0x390c14[_0x59aa('0x0')][_0x59aa('0x33')])return;if(_0x298039[_0x59aa('0x14')])return void _0x5aa2e9[_0x59aa('0x8')]();if(!_0x126df6[_0x59aa('0x49')][_0x59aa('0x43')](_0x298039[_0x59aa('0x23')],_0x5aa2e9['name']))return;const _0xba436e=_0x298039[_0x59aa('0x23')]['start'][_0x59aa('0x16')],_0x17d79f=_0x298039['markerRange'][_0x59aa('0x1e')][_0x59aa('0x1b')],_0x172338=_0xba436e[_0x59aa('0x28')]['parent'],{column:_0x11eb2f}=_0x3543e1[_0x59aa('0x1f')](_0xba436e),{column:_0x499c47}=_0x3543e1[_0x59aa('0x1f')](_0x17d79f);for(let _0xdc23e9=_0x11eb2f;_0xdc23e9<=_0x499c47;_0xdc23e9++){const _0x66bb11=_0x3543e1[_0x59aa('0xd')](_0x172338,{'column':_0xdc23e9,'includeAllSlots':!0x1});for(const _0x2dca97 of _0x66bb11){const _0x4e241a=_0x2dca97[_0x59aa('0x20')],_0x178a1a=_0x126df6[_0x59aa('0x9')][_0x59aa('0x2c')](_0x4e241a);_0x126df6['writer'][_0x59aa('0x13')](_0x59aa('0xb')+_0x20a220,_0x178a1a),_0x2de3ca&&_0x126df6[_0x59aa('0x3c')][_0x59aa('0x4d')](_0x59aa('0x37'),_0x35284d,_0x178a1a),_0x126df6[_0x59aa('0x9')][_0x59aa('0x24')](_0x178a1a,_0x298039[_0x59aa('0x39')]),_0x10f568&&(_0x32e8e6['activeMarkers']['includes'](_0x298039[_0x59aa('0x39')])?_0x126df6['writer'][_0x59aa('0x13')](_0x59aa('0x48'),_0x178a1a):_0x126df6['writer']['removeClass']('ck-suggestion-marker--active',_0x178a1a));}}};}_0x32e8e6['enableCommand'](_0x59aa('0x1d'),(_0x598b10,_0x17f142)=>{const _0x200754=_0x3543e1[_0x59aa('0x36')](_0x4345e6['model']['document'][_0x59aa('0x2f')]),_0x54da1e=_0x3543e1[_0x59aa('0x15')](_0x200754),_0x99695f=_0x200754[0x0]['findAncestor'](_0x59aa('0x31')),_0x542017=_0x99695f['getAttribute'](_0x59aa('0x6'))||0x0,_0x1b7fde=_0x17f142&&null!==_0x17f142[_0x59aa('0x4f')]?_0x17f142[_0x59aa('0x4f')]:!_0x4345e6[_0x59aa('0x7')][_0x59aa('0x17')](_0x59aa('0x1d'))[_0x59aa('0x45')],_0x1f1ad6=_0x1b7fde?_0x54da1e['last']:_0x54da1e[_0x59aa('0x3a')],_0x571573=_0x99695f[_0x59aa('0x3')](_0x1f1ad6);let _0x2df9d2;if(_0x1b7fde){const _0x264c54=_0x99695f[_0x59aa('0x3')](_0x542017);if(_0x571573[_0x59aa('0x26')]<_0x264c54['index'])return;_0x2df9d2=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x264c54[_0x59aa('0x3')](0x0)),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x571573[_0x59aa('0x3')](_0x571573[_0x59aa('0x3f')]-0x1)));}else{const _0x239ac6=_0x99695f['getChild'](_0x542017-0x1);if(!_0x239ac6)return;_0x2df9d2=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x571573[_0x59aa('0x3')](0x0)),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x239ac6[_0x59aa('0x3')](_0x239ac6[_0x59aa('0x3f')]-0x1)));}_0x4345e6['model']['change'](()=>{_0x32e8e6['markBlockFormat'](_0x2df9d2,{'commandName':_0x59aa('0x1d'),'commandParams':[{'forceValue':_0x1b7fde}]},[],'setTableRowHeader');});}),_0x32e8e6['enableCommand']('setTableColumnHeader',(_0x5e2586,_0x58daf3)=>{const _0x58cd27=_0x4345e6[_0x59aa('0x50')][_0x59aa('0x17')](_0x59aa('0x4e')),_0x1796ba=_0x58cd27[_0x59aa('0x36')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x38')][_0x59aa('0x2f')]),_0x4b6617=_0x58cd27[_0x59aa('0xe')](_0x1796ba),_0x72678=_0x1796ba[0x0][_0x59aa('0x51')]('table'),_0x4ed47c=_0x72678[_0x59aa('0x4')]('headingColumns')||0x0,_0x2d0267=_0x58daf3&&null!==_0x58daf3[_0x59aa('0x4f')]?_0x58daf3['forceValue']:!_0x4345e6[_0x59aa('0x7')][_0x59aa('0x17')]('setTableColumnHeader')[_0x59aa('0x45')];let _0x306379;const _0x5f25ee=_0x72678[_0x59aa('0x3')](0x0),_0x5e092b=_0x2d0267?_0x4b6617[_0x59aa('0x11')]:_0x4b6617[_0x59aa('0x3a')],_0x40ca0a=_0x58cd27[_0x59aa('0xd')](_0x72678,{'startRow':0x0,'column':_0x5e092b,'includeAllSlots':!0x1}),_0x559579=Array[_0x59aa('0x19')](_0x40ca0a)[0x0][_0x59aa('0x20')];if(_0x2d0267){const _0x2a4bed=_0x5f25ee['getChild'](_0x4ed47c);if(_0x559579[_0x59aa('0x4b')](_0x2a4bed))return;_0x306379=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x2a4bed),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x559579));}else{const _0x23096a=_0x5f25ee[_0x59aa('0x3')](_0x4ed47c-0x1);if(!_0x23096a)return;_0x306379=_0x4345e6[_0x59aa('0xa')]['createRange'](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x559579),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x23096a));}_0x4345e6[_0x59aa('0xa')][_0x59aa('0x1a')](()=>{_0x32e8e6['markBlockFormat'](_0x306379,{'commandName':_0x59aa('0x4a'),'commandParams':[{'forceValue':_0x2d0267}]},[],_0x59aa('0x4a'));});}),_0x4345e6[_0x59aa('0x47')][_0x59aa('0x3b')]['on'](_0x59aa('0x42'),_0x4e1927(),{'priority':_0x59aa('0x27')}),_0x4345e6['data'][_0x59aa('0x3b')]['on']('addMarker:suggestion',(_0x46d977,_0x2bc4a2,_0x1e51da)=>{_0x1e51da[_0x59aa('0x40')]['showSuggestionHighlights']&&_0x4e1927({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x46d977,_0x2bc4a2,_0x1e51da);},{'priority':_0x59aa('0x27')}),_0x4345e6[_0x59aa('0x47')][_0x59aa('0x3b')]['on'](_0x59aa('0x2d'),(_0x46d999,_0x2e3eb0,_0x54db51)=>{const {type:_0x19c8aa,id:_0xeb79a5}=_0x32e8e6['_splitMarkerName'](_0x2e3eb0[_0x59aa('0x39')]),_0x515a91=_0x32e8e6[_0x59aa('0x2a')](_0xeb79a5);if(!_0x515a91[_0x59aa('0x0')]||_0x59aa('0x4a')!=_0x515a91[_0x59aa('0x0')]['commandName'])return;const _0x18a9b2=_0x54db51['mapper'][_0x59aa('0xc')](_0x2e3eb0['markerName']);if(_0x18a9b2)for(const _0x3be81a of _0x18a9b2)_0x54db51[_0x59aa('0x3c')][_0x59aa('0x44')](_0x59aa('0xb')+_0x19c8aa,_0x3be81a),_0x54db51['writer'][_0x59aa('0x44')](_0x59aa('0x48'),_0x3be81a),_0x54db51[_0x59aa('0x3c')][_0x59aa('0x4c')](_0x59aa('0x37'),_0x3be81a),_0x54db51['mapper'][_0x59aa('0x2e')](_0x3be81a,_0x2e3eb0[_0x59aa('0x39')]);},{'priority':_0x59aa('0x27')}),_0x32e8e6[_0x59aa('0x3d')][_0x59aa('0x35')](_0x8f2c04=>{const {data:_0x243dd9}=_0x8f2c04;if(_0x243dd9){if(_0x59aa('0x1d')==_0x243dd9[_0x59aa('0x33')]){const _0x4d9e96=_0x243dd9[_0x59aa('0x52')][0x0][_0x59aa('0x4f')];return _0x1254c4(_0x3b9a4d(_0xdc7f6d,_0x4d9e96?'FORMAT_HEADER_ROW':_0x59aa('0x3e')));}if('setTableColumnHeader'==_0x243dd9[_0x59aa('0x33')]){const _0x56160b=_0x243dd9[_0x59aa('0x52')][0x0]['forceValue'];return _0x1254c4(_0x3b9a4d(_0xdc7f6d,_0x56160b?_0x59aa('0x30'):'FORMAT_REGULAR_COLUMN'));}}function _0x1254c4(_0x35a134){return{'type':_0x59aa('0xf'),'content':_0x3b9a4d(_0xdc7f6d,_0x59aa('0x22'),_0x35a134)};}});const _0x5960c2=_0x38c92c[_0x59aa('0x46')]();_0x32e8e6[_0x59aa('0x21')][_0x59aa('0x41')](_0x59aa('0x10'),_0x59aa('0x1d'),'accept',_0x5960c2),_0x32e8e6[_0x59aa('0x21')]['registerCustomCallback'](_0x59aa('0x10'),_0x59aa('0x4a'),_0x59aa('0x12'),_0x5960c2);}}
23
+ const _0x3132=['editing','removeAttribute','createPositionBefore','getColumnIndexes','markerRange','start','showSuggestionHighlights','setTableColumnHeader','data','TableEditing','getSuggestion','FORMAT_HEADER_ROW','index','consumable','name','findAncestor','change','getAttribute','addMarker:suggestion','ck-suggestion-marker-','model','getChild','commandName','formatBlock','getCellLocation','afterInit','getSelectionAffectedTableCells','_suggestionFactory','end','requires','locale','setTableRowHeader','commands','stop','item','removeClass','addClass','childCount','ck-suggestion-marker--active','data-suggestion','_splitMarkerName','headingRows','TableUtils','FORMAT_REGULAR_COLUMN','toViewElement','createPositionAfter','activeMarkers','TrackChangesEditing','document','get','bindElementToMarker','consume','unbindElementFromMarkerName','writer','selection','mapper','from','cell','_acceptFormatSuggestionCallbackFactory','markerName','downcastDispatcher','registerCustomCallback','highest','forceValue','value','last','format','FORMAT_HEADER_COLUMN','parent','commandParams','nodeBefore','first','editor','_descriptionFactory','enableCommand','includes','options','markBlockFormat','markerNameToElements','plugins','createRange','nodeAfter','createTableWalker','*Format:*\x20%0','accept'];(function(_0x583c56,_0x3132a5){const _0x1f6f8b=function(_0x4343e5){while(--_0x4343e5){_0x583c56['push'](_0x583c56['shift']());}};_0x1f6f8b(++_0x3132a5);}(_0x3132,0x1d7));const _0x1f6f=function(_0x583c56,_0x3132a5){_0x583c56=_0x583c56-0x0;let _0x1f6f8b=_0x3132[_0x583c56];return _0x1f6f8b;};import{Plugin as _0x24e192}from'ckeditor5/src/core';import _0x439b83 from'./table';import{getTranslation as _0x365a08}from'../utils/common-translations';export default class pt extends _0x24e192{static get[_0x1f6f('0x44')](){return[_0x439b83];}[_0x1f6f('0x40')](){const _0x52429f=this[_0x1f6f('0x1a')];if(!_0x52429f[_0x1f6f('0x21')]['has'](_0x1f6f('0x30')))return;const _0x520b0f=_0x52429f[_0x1f6f('0x45')],_0x4f0b9b=_0x52429f['plugins']['get'](_0x1f6f('0x1')),_0x4b195d=_0x52429f['plugins'][_0x1f6f('0x3')](_0x1f6f('0x51')),_0x48f4ed=_0x52429f[_0x1f6f('0x21')][_0x1f6f('0x3')](_0x439b83);function _0x5f588b({showActiveMarker:_0x18dd47=!0x0,setDataAttribute:_0x476333=!0x0}={}){return(_0x2e44cf,_0x1ec14a,_0x143e67)=>{const {type:_0x2cb368,id:_0x47e7d5}=_0x4f0b9b['_splitMarkerName'](_0x1ec14a[_0x1f6f('0xd')]),_0x380d3e=_0x4f0b9b[_0x1f6f('0x31')](_0x47e7d5);if(!_0x380d3e['data']||_0x1f6f('0x2e')!=_0x380d3e[_0x1f6f('0x2f')]['commandName'])return;if(_0x1ec14a[_0x1f6f('0x49')])return void _0x2e44cf[_0x1f6f('0x48')]();if(!_0x143e67[_0x1f6f('0x34')][_0x1f6f('0x5')](_0x1ec14a[_0x1f6f('0x2b')],_0x2e44cf[_0x1f6f('0x35')]))return;const _0x4a6268=_0x1ec14a[_0x1f6f('0x2b')][_0x1f6f('0x2c')][_0x1f6f('0x23')],_0x564181=_0x1ec14a[_0x1f6f('0x2b')][_0x1f6f('0x43')][_0x1f6f('0x18')],_0x6efe1=_0x4a6268[_0x1f6f('0x16')][_0x1f6f('0x16')],{column:_0x2dd45b}=_0x4b195d[_0x1f6f('0x3f')](_0x4a6268),{column:_0x610125}=_0x4b195d['getCellLocation'](_0x564181);for(let _0x58bbf2=_0x2dd45b;_0x58bbf2<=_0x610125;_0x58bbf2++){const _0x24c2c4=_0x4b195d[_0x1f6f('0x24')](_0x6efe1,{'column':_0x58bbf2,'includeAllSlots':!0x1});for(const _0x1142b0 of _0x24c2c4){const _0x5729e8=_0x1142b0[_0x1f6f('0xb')],_0x3dfab9=_0x143e67[_0x1f6f('0x9')][_0x1f6f('0x53')](_0x5729e8);_0x143e67[_0x1f6f('0x7')][_0x1f6f('0x4b')]('ck-suggestion-marker-'+_0x2cb368,_0x3dfab9),_0x476333&&_0x143e67[_0x1f6f('0x7')]['setAttribute'](_0x1f6f('0x4e'),_0x47e7d5,_0x3dfab9),_0x143e67[_0x1f6f('0x9')][_0x1f6f('0x4')](_0x3dfab9,_0x1ec14a[_0x1f6f('0xd')]),_0x18dd47&&(_0x4f0b9b[_0x1f6f('0x0')][_0x1f6f('0x1d')](_0x1ec14a[_0x1f6f('0xd')])?_0x143e67[_0x1f6f('0x7')][_0x1f6f('0x4b')](_0x1f6f('0x4d'),_0x3dfab9):_0x143e67[_0x1f6f('0x7')]['removeClass']('ck-suggestion-marker--active',_0x3dfab9));}}};}_0x4f0b9b[_0x1f6f('0x1c')](_0x1f6f('0x46'),(_0x19809c,_0x42503c)=>{const _0x4eeb5f=_0x4b195d[_0x1f6f('0x41')](_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x2')][_0x1f6f('0x8')]),_0x1ca2c5=_0x4b195d['getRowIndexes'](_0x4eeb5f),_0x19b760=_0x4eeb5f[0x0][_0x1f6f('0x36')]('table'),_0x546e19=_0x19b760[_0x1f6f('0x38')](_0x1f6f('0x50'))||0x0,_0x4aa9da=_0x42503c&&null!==_0x42503c[_0x1f6f('0x11')]?_0x42503c[_0x1f6f('0x11')]:!_0x52429f[_0x1f6f('0x47')][_0x1f6f('0x3')](_0x1f6f('0x46'))[_0x1f6f('0x12')],_0x4bd9e8=_0x4aa9da?_0x1ca2c5[_0x1f6f('0x13')]:_0x1ca2c5[_0x1f6f('0x19')],_0x39f757=_0x19b760[_0x1f6f('0x3c')](_0x4bd9e8);let _0x5e31e5;if(_0x4aa9da){const _0x535a1c=_0x19b760[_0x1f6f('0x3c')](_0x546e19);if(_0x39f757[_0x1f6f('0x33')]<_0x535a1c[_0x1f6f('0x33')])return;_0x5e31e5=_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x22')](_0x52429f[_0x1f6f('0x3b')]['createPositionBefore'](_0x535a1c[_0x1f6f('0x3c')](0x0)),_0x52429f['model']['createPositionAfter'](_0x39f757[_0x1f6f('0x3c')](_0x39f757[_0x1f6f('0x4c')]-0x1)));}else{const _0x17884a=_0x19b760[_0x1f6f('0x3c')](_0x546e19-0x1);if(!_0x17884a)return;_0x5e31e5=_0x52429f[_0x1f6f('0x3b')]['createRange'](_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x29')](_0x39f757[_0x1f6f('0x3c')](0x0)),_0x52429f[_0x1f6f('0x3b')]['createPositionAfter'](_0x17884a[_0x1f6f('0x3c')](_0x17884a[_0x1f6f('0x4c')]-0x1)));}_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x37')](()=>{_0x4f0b9b['markBlockFormat'](_0x5e31e5,{'commandName':_0x1f6f('0x46'),'commandParams':[{'forceValue':_0x4aa9da}]},[],'setTableRowHeader');});}),_0x4f0b9b[_0x1f6f('0x1c')](_0x1f6f('0x2e'),(_0x1221a0,_0x4c5b87)=>{const _0x47ee10=_0x52429f[_0x1f6f('0x21')][_0x1f6f('0x3')](_0x1f6f('0x51')),_0x1269b9=_0x47ee10['getSelectionAffectedTableCells'](_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x2')][_0x1f6f('0x8')]),_0x4d38b6=_0x47ee10[_0x1f6f('0x2a')](_0x1269b9),_0x3a1d25=_0x1269b9[0x0][_0x1f6f('0x36')]('table'),_0x30e3c0=_0x3a1d25['getAttribute']('headingColumns')||0x0,_0x42e7a1=_0x4c5b87&&null!==_0x4c5b87['forceValue']?_0x4c5b87[_0x1f6f('0x11')]:!_0x52429f['commands'][_0x1f6f('0x3')]('setTableColumnHeader')['value'];let _0x39cc63;const _0x2abf0c=_0x3a1d25[_0x1f6f('0x3c')](0x0),_0x3a56b7=_0x42e7a1?_0x4d38b6[_0x1f6f('0x13')]:_0x4d38b6['first'],_0x30ca9b=_0x47ee10[_0x1f6f('0x24')](_0x3a1d25,{'startRow':0x0,'column':_0x3a56b7,'includeAllSlots':!0x1}),_0x374322=Array[_0x1f6f('0xa')](_0x30ca9b)[0x0][_0x1f6f('0xb')];if(_0x42e7a1){const _0x9c9192=_0x2abf0c['getChild'](_0x30e3c0);if(_0x374322['isBefore'](_0x9c9192))return;_0x39cc63=_0x52429f[_0x1f6f('0x3b')]['createRange'](_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x29')](_0x9c9192),_0x52429f[_0x1f6f('0x3b')]['createPositionAfter'](_0x374322));}else{const _0x43b67d=_0x2abf0c[_0x1f6f('0x3c')](_0x30e3c0-0x1);if(!_0x43b67d)return;_0x39cc63=_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x22')](_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x29')](_0x374322),_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x54')](_0x43b67d));}_0x52429f[_0x1f6f('0x3b')][_0x1f6f('0x37')](()=>{_0x4f0b9b[_0x1f6f('0x1f')](_0x39cc63,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x42e7a1}]},[],_0x1f6f('0x2e'));});}),_0x52429f['editing'][_0x1f6f('0xe')]['on']('addMarker:suggestion',_0x5f588b(),{'priority':_0x1f6f('0x10')}),_0x52429f[_0x1f6f('0x2f')][_0x1f6f('0xe')]['on'](_0x1f6f('0x39'),(_0x159834,_0x37b160,_0x2d2288)=>{_0x2d2288[_0x1f6f('0x1e')][_0x1f6f('0x2d')]&&_0x5f588b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x159834,_0x37b160,_0x2d2288);},{'priority':_0x1f6f('0x10')}),_0x52429f[_0x1f6f('0x27')][_0x1f6f('0xe')]['on']('removeMarker:suggestion',(_0x4a7f0e,_0x4c24ef,_0xc09efb)=>{const {type:_0x514489,id:_0x1deb46}=_0x4f0b9b[_0x1f6f('0x4f')](_0x4c24ef[_0x1f6f('0xd')]),_0x5e4028=_0x4f0b9b['getSuggestion'](_0x1deb46);if(!_0x5e4028[_0x1f6f('0x2f')]||'setTableColumnHeader'!=_0x5e4028[_0x1f6f('0x2f')]['commandName'])return;const _0x4c4832=_0xc09efb['mapper'][_0x1f6f('0x20')](_0x4c24ef['markerName']);if(_0x4c4832)for(const _0x563444 of _0x4c4832)_0xc09efb[_0x1f6f('0x7')][_0x1f6f('0x4a')](_0x1f6f('0x3a')+_0x514489,_0x563444),_0xc09efb[_0x1f6f('0x7')][_0x1f6f('0x4a')](_0x1f6f('0x4d'),_0x563444),_0xc09efb[_0x1f6f('0x7')][_0x1f6f('0x28')](_0x1f6f('0x4e'),_0x563444),_0xc09efb['mapper'][_0x1f6f('0x6')](_0x563444,_0x4c24ef[_0x1f6f('0xd')]);},{'priority':_0x1f6f('0x10')}),_0x4f0b9b[_0x1f6f('0x1b')]['registerDescriptionCallback'](_0x512d65=>{const {data:_0x41d0b1}=_0x512d65;if(_0x41d0b1){if('setTableRowHeader'==_0x41d0b1[_0x1f6f('0x3d')]){const _0x2b254f=_0x41d0b1[_0x1f6f('0x17')][0x0][_0x1f6f('0x11')];return _0xad887e(_0x365a08(_0x520b0f,_0x2b254f?_0x1f6f('0x32'):'FORMAT_REGULAR_ROW'));}if(_0x1f6f('0x2e')==_0x41d0b1[_0x1f6f('0x3d')]){const _0x368c5f=_0x41d0b1[_0x1f6f('0x17')][0x0]['forceValue'];return _0xad887e(_0x365a08(_0x520b0f,_0x368c5f?_0x1f6f('0x15'):_0x1f6f('0x52')));}}function _0xad887e(_0x27087f){return{'type':_0x1f6f('0x14'),'content':_0x365a08(_0x520b0f,_0x1f6f('0x25'),_0x27087f)};}});const _0x3d059e=_0x48f4ed[_0x1f6f('0xc')]();_0x4f0b9b[_0x1f6f('0x42')]['registerCustomCallback']('formatBlock',_0x1f6f('0x46'),_0x1f6f('0x26'),_0x3d059e),_0x4f0b9b['_suggestionFactory'][_0x1f6f('0xf')](_0x1f6f('0x3e'),_0x1f6f('0x2e'),_0x1f6f('0x26'),_0x3d059e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1106=['getAncestors','low','find','enableCommand','mergeTableCellUp','plugins','*Merge\x20cells*','commandName','containsRange','detach','direction','_areSelectedCellsMergable','TableEditing','getSuggestions','insertion','registerDescriptionCallback','mergeTableCellLeft','TableUtils','filter','isInContent','length','setSelection','execute','set:isEnabled','getRanges','cell','getSelectionAffectedTableCells','editor','fromRange','_descriptionFactory','getFirstPosition','$graveyard','model','tableCell','markMultiRangeBlockFormat','add','findAncestor','value','change','isEnabled','registerCustomCallback','requires','splitTableCellHorizontally','afterInit','createRangeOn','refresh','mergeTableCells','document','subType','root','stop','size','commands','splitTableCellVertically','deletion','markBlockFormat','author','locale','selection','_isForcedDefaultExecutionBlock','table','trackChanges','get','mergeTableCellDown','*Split\x20cell:*\x20vertically','map','accept','from','element','push','format','TrackChangesEditing','type','_areMergableCells','rootName','has','formatBlock','_suggestionFactory','mergeTableCellRight'];(function(_0x1ff3e8,_0x1106a4){const _0x2c61cf=function(_0x1f60b9){while(--_0x1f60b9){_0x1ff3e8['push'](_0x1ff3e8['shift']());}};_0x2c61cf(++_0x1106a4);}(_0x1106,0xea));const _0x2c61=function(_0x1ff3e8,_0x1106a4){_0x1ff3e8=_0x1ff3e8-0x0;let _0x2c61cf=_0x1106[_0x1ff3e8];return _0x2c61cf;};import{Plugin as _0xb72da2}from'ckeditor5/src/core';import _0x3b47bc from'./table';import{LiveRange as _0x105eb0}from'ckeditor5/src/engine';import{getTranslation as _0x4d7d8d}from'../utils/common-translations';export default class dt extends _0xb72da2{static get[_0x2c61('0x2c')](){return[_0x3b47bc];}[_0x2c61('0x2e')](){const _0x466fed=this[_0x2c61('0x1e')],_0x33c004=_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')],_0x238068=_0x466fed[_0x2c61('0x3c')];if(!_0x466fed[_0x2c61('0x8')]['has'](_0x2c61('0xf')))return;const _0x4b5ed3=_0x466fed['plugins']['get']('TrackChangesEditing'),_0x1fc994=_0x466fed[_0x2c61('0x8')][_0x2c61('0x41')](_0x2c61('0x14')),_0x19a605=_0x466fed['plugins'][_0x2c61('0x41')](_0x3b47bc);_0x19a605['_tablePostFixingSubtypes'][_0x2c61('0x48')](_0x2c61('0x31')),_0x4b5ed3['enableCommand'](_0x2c61('0x31'),()=>{const _0x1d5d62=_0x1fc994[_0x2c61('0x1d')](_0x466fed['model']['document'][_0x2c61('0x3d')]);_0x466fed[_0x2c61('0x23')]['change'](()=>{_0x4b5ed3[_0x2c61('0x25')](_0x1d5d62,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2c61('0x31'))['on']('execute',(_0x4d55e8,_0x12a5b6)=>{_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2c61('0x40'))[_0x2c61('0x28')]&&(_0x12a5b6[_0x2c61('0x17')]>0x0&&_0x12a5b6[_0x12a5b6['length']-0x1]&&_0x12a5b6[_0x12a5b6['length']-0x1]['forceDefaultExecution']||_0x4b5ed3[_0x2c61('0x3e')]||this[_0x2c61('0xe')]()||_0x4d55e8[_0x2c61('0x35')]());},{'priority':'highest'});for(const _0x1c6634 of[_0x2c61('0x7'),_0x2c61('0x2'),'mergeTableCellDown','mergeTableCellLeft']){const _0x487509=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x1c6634);_0x4b5ed3[_0x2c61('0x6')](_0x1c6634,()=>{const _0x35f2d7=_0x466fed[_0x2c61('0x23')]['document']['selection'][_0x2c61('0x21')]()[_0x2c61('0x3')]()[_0x2c61('0x5')](_0x22f144=>_0x22f144['is']('element','tableCell')),_0x2844f6=_0x487509[_0x2c61('0x28')];_0x466fed[_0x2c61('0x23')]['change'](()=>{_0x4b5ed3[_0x2c61('0x25')]([_0x35f2d7,_0x2844f6],{'commandName':_0x2c61('0x31'),'commandParams':[]},[],_0x2c61('0x31'));});});}for(const _0x2747a2 of[_0x2c61('0x38'),_0x2c61('0x2d')]){const _0x2a1192=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2747a2);_0x4b5ed3[_0x2c61('0x6')](_0x2747a2,()=>{const _0x4249c1=_0x1fc994[_0x2c61('0x1d')](_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')])[0x0],_0x35adad=_0x4249c1[_0x2c61('0x27')](_0x2c61('0x3f')),{column:_0x5b1f8a,row:_0x15a032}=_0x1fc994['getCellLocation'](_0x4249c1);let _0x1d6261=[];if('horizontally'==_0x2a1192[_0x2c61('0xd')]){const _0x4bee74=_0x1fc994['createTableWalker'](_0x35adad,{'startRow':_0x15a032,'endRow':_0x15a032,'includeAllSlots':!0x0});_0x1d6261=Array[_0x2c61('0x46')](_0x4bee74)[_0x2c61('0x44')](_0x2051cd=>_0x2051cd[_0x2c61('0x1c')]);}else{const _0x23628a=_0x1fc994['createTableWalker'](_0x35adad,{'column':_0x5b1f8a,'includeAllSlots':!0x0});_0x1d6261=Array[_0x2c61('0x46')](_0x23628a)[_0x2c61('0x44')](_0x15c50a=>_0x15c50a[_0x2c61('0x1c')]);}_0x466fed[_0x2c61('0x23')][_0x2c61('0x29')](_0x55909f=>{_0x4b5ed3[_0x2c61('0x3a')](_0x55909f[_0x2c61('0x2f')](_0x4249c1),{'commandName':_0x2747a2,'commandParams':[]},_0x1d6261,_0x2747a2);});});}_0x4b5ed3['_descriptionFactory']['registerDescriptionCallback'](_0x1a12b5=>{const {data:_0xf8ae4a}=_0x1a12b5;if(_0xf8ae4a)return'mergeTableCells'==_0xf8ae4a[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,_0x2c61('0x9'))}:void 0x0;}),_0x4b5ed3[_0x2c61('0x20')][_0x2c61('0x12')](_0x1f3c5f=>{const {data:_0xf59995}=_0x1f3c5f;if(_0xf59995)return _0x2c61('0x38')==_0xf59995[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,_0x2c61('0x43'))}:_0x2c61('0x2d')==_0xf59995[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x13124b=_0x19a605['_acceptFormatSuggestionCallbackFactory']();for(const _0x172ee7 of['mergeTableCellUp',_0x2c61('0x2'),_0x2c61('0x42'),_0x2c61('0x13')])_0x4b5ed3[_0x2c61('0x1')]['registerCustomCallback'](_0x2c61('0x0'),_0x172ee7,_0x2c61('0x45'),_0x13124b);for(const _0x57ea64 of[_0x2c61('0x38'),'splitTableCellHorizontally'])_0x4b5ed3[_0x2c61('0x1')][_0x2c61('0x2b')](_0x2c61('0x0'),_0x57ea64,_0x2c61('0x45'),_0x13124b);_0x4b5ed3[_0x2c61('0x1')][_0x2c61('0x2b')]('formatBlock',_0x2c61('0x31'),_0x2c61('0x45'),_0x86639c=>{_0x466fed[_0x2c61('0x23')][_0x2c61('0x29')](_0x39b43d=>{const _0x7b161a=Array[_0x2c61('0x46')](_0x33c004['getRanges']())[_0x2c61('0x44')](_0x18e123=>_0x105eb0[_0x2c61('0x1f')](_0x18e123));_0x39b43d[_0x2c61('0x18')](_0x86639c),_0x466fed[_0x2c61('0x37')]['get'](_0x2c61('0x31'))[_0x2c61('0x30')](),_0x466fed[_0x2c61('0x19')](_0x2c61('0x31'),{'forceDefaultExecution':!0x0});const _0x3f8806=_0x7b161a[_0x2c61('0x15')](_0x35e175=>_0x2c61('0x22')!=_0x35e175[_0x2c61('0x34')][_0x2c61('0x4d')]);_0x3f8806[_0x2c61('0x17')]>0x0&&_0x39b43d[_0x2c61('0x18')](_0x3f8806);for(const _0x2b83b3 of _0x7b161a)_0x2b83b3[_0x2c61('0xc')]();});});for(const _0x30d388 of[_0x2c61('0x7'),'mergeTableCellDown',_0x2c61('0x13'),_0x2c61('0x2')]){const _0x2fdbf2=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x30d388);_0x2fdbf2['on'](_0x2c61('0x1a'),(_0x3123ce,_0x41044f,_0x4484b0)=>{if(_0x4484b0){const _0x20a2d3=_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')][_0x2c61('0x21')]()[_0x2c61('0x3')]()[_0x2c61('0x5')](_0x2159c7=>_0x2159c7['is'](_0x2c61('0x47'),_0x2c61('0x24')));this[_0x2c61('0x4c')](_0x2fdbf2['value'],_0x20a2d3)||(_0x3123ce['return']=!0x1,_0x3123ce[_0x2c61('0x35')]());}},{'priority':_0x2c61('0x4')});}}['_areSelectedCellsMergable'](){const _0xd1e86b=this['editor'][_0x2c61('0x37')]['get'](_0x2c61('0x31')),_0x3e57b2=this[_0x2c61('0x1e')][_0x2c61('0x8')][_0x2c61('0x41')](_0x2c61('0x14'));if(!_0xd1e86b[_0x2c61('0x2a')])return!0x1;const _0x4d5a92=_0x3e57b2[_0x2c61('0x1d')](this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')]);for(const _0x494b91 of _0x4d5a92)for(const _0xecad0d of _0x4d5a92)if(_0x494b91!=_0xecad0d&&!this[_0x2c61('0x4c')](_0x494b91,_0xecad0d))return!0x1;return!0x0;}[_0x2c61('0x4c')](_0x3a8b0e,_0x2d4fe0){const _0x5ec06c=this['editor'][_0x2c61('0x8')]['get'](_0x2c61('0x4a')),_0x4e0ab9=this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x2f')](_0x3a8b0e),_0x52204b=this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x2f')](_0x2d4fe0),_0x20b8cc=new Set(),_0x180c00=new Set();for(const _0x1a8087 of _0x5ec06c[_0x2c61('0x10')]())if((_0x2c61('0x11')==_0x1a8087[_0x2c61('0x4b')]||_0x2c61('0x39')==_0x1a8087[_0x2c61('0x4b')]||_0x2c61('0x31')==_0x1a8087[_0x2c61('0x33')])&&_0x1a8087[_0x2c61('0x16')])for(const _0x549b3a of _0x1a8087[_0x2c61('0x1b')]())_0x549b3a['containsRange'](_0x4e0ab9,!0x0)&&_0x20b8cc[_0x2c61('0x26')](_0x1a8087['type']+':'+_0x1a8087[_0x2c61('0x3b')]['id']),_0x549b3a[_0x2c61('0xb')](_0x52204b,!0x0)&&_0x180c00[_0x2c61('0x26')](_0x1a8087['type']+':'+_0x1a8087['author']['id']);if(_0x20b8cc['size']!=_0x180c00[_0x2c61('0x36')])return!0x1;for(const _0x29d600 of _0x20b8cc)if(!_0x180c00[_0x2c61('0x4e')](_0x29d600))return!0x1;return!0x0;}}
23
+ const _0x4747=['getRanges','_suggestionFactory','forceDefaultExecution','cell','splitTableCellHorizontally','$graveyard','commandName','_isForcedDefaultExecutionBlock','afterInit','getCellLocation','getSelectionAffectedTableCells','createTableWalker','getAncestors','find','element','_areSelectedCellsMergable','getFirstPosition','commands','containsRange','accept','markMultiRangeBlockFormat','mergeTableCellDown','*Merge\x20cells*','mergeTableCellLeft','value','filter','return','rootName','fromRange','table','from','selection','add','mergeTableCellRight','trackChanges','_tablePostFixingSubtypes','execute','push','createRangeOn','formatBlock','detach','get','TrackChangesEditing','refresh','requires','document','isInContent','getSuggestions','size','length','TableEditing','enableCommand','_descriptionFactory','plugins','mergeTableCellUp','type','isEnabled','format','mergeTableCells','markBlockFormat','locale','TableUtils','editor','registerDescriptionCallback','model','low','horizontally','author','_areMergableCells','subType','registerCustomCallback','highest','has','change','tableCell','map','splitTableCellVertically','stop','_acceptFormatSuggestionCallbackFactory'];(function(_0x4f27b3,_0x474763){const _0x3dd97d=function(_0x420112){while(--_0x420112){_0x4f27b3['push'](_0x4f27b3['shift']());}};_0x3dd97d(++_0x474763);}(_0x4747,0x1b0));const _0x3dd9=function(_0x4f27b3,_0x474763){_0x4f27b3=_0x4f27b3-0x0;let _0x3dd97d=_0x4747[_0x4f27b3];return _0x3dd97d;};import{Plugin as _0x228159}from'ckeditor5/src/core';import _0x3bbed6 from'./table';import{LiveRange as _0x83d1f9}from'ckeditor5/src/engine';import{getTranslation as _0x396791}from'../utils/common-translations';export default class dt extends _0x228159{static get[_0x3dd9('0x7')](){return[_0x3bbed6];}[_0x3dd9('0x32')](){const _0x508b18=this['editor'],_0x35a947=_0x508b18[_0x3dd9('0x1b')]['document'][_0x3dd9('0x49')],_0xf5fe57=_0x508b18[_0x3dd9('0x17')];if(!_0x508b18[_0x3dd9('0x10')][_0x3dd9('0x23')](_0x3dd9('0xd')))return;const _0x289ac6=_0x508b18[_0x3dd9('0x10')][_0x3dd9('0x4')](_0x3dd9('0x5')),_0x1584a1=_0x508b18['plugins']['get'](_0x3dd9('0x18')),_0x1814d9=_0x508b18[_0x3dd9('0x10')][_0x3dd9('0x4')](_0x3bbed6);_0x1814d9[_0x3dd9('0x4d')][_0x3dd9('0x0')](_0x3dd9('0x15')),_0x289ac6['enableCommand']('mergeTableCells',()=>{const _0x42efc8=_0x1584a1[_0x3dd9('0x34')](_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x8')][_0x3dd9('0x49')]);_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x24')](()=>{_0x289ac6[_0x3dd9('0x3e')](_0x42efc8,{'commandName':_0x3dd9('0x15'),'commandParams':[]},[],_0x3dd9('0x15'));});}),_0x508b18[_0x3dd9('0x3b')]['get'](_0x3dd9('0x15'))['on'](_0x3dd9('0x4e'),(_0xb24a47,_0x55987c)=>{_0x508b18['commands'][_0x3dd9('0x4')](_0x3dd9('0x4c'))[_0x3dd9('0x42')]&&(_0x55987c['length']>0x0&&_0x55987c[_0x55987c[_0x3dd9('0xc')]-0x1]&&_0x55987c[_0x55987c['length']-0x1][_0x3dd9('0x2c')]||_0x289ac6[_0x3dd9('0x31')]||this[_0x3dd9('0x39')]()||_0xb24a47[_0x3dd9('0x28')]());},{'priority':_0x3dd9('0x22')});for(const _0x5948a3 of[_0x3dd9('0x11'),_0x3dd9('0x4b'),_0x3dd9('0x3f'),_0x3dd9('0x41')]){const _0x48c749=_0x508b18[_0x3dd9('0x3b')][_0x3dd9('0x4')](_0x5948a3);_0x289ac6[_0x3dd9('0xe')](_0x5948a3,()=>{const _0x2d1824=_0x508b18['model'][_0x3dd9('0x8')][_0x3dd9('0x49')][_0x3dd9('0x3a')]()[_0x3dd9('0x36')]()['find'](_0x342542=>_0x342542['is'](_0x3dd9('0x38'),_0x3dd9('0x25'))),_0xb7d53b=_0x48c749[_0x3dd9('0x42')];_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x24')](()=>{_0x289ac6[_0x3dd9('0x3e')]([_0x2d1824,_0xb7d53b],{'commandName':_0x3dd9('0x15'),'commandParams':[]},[],_0x3dd9('0x15'));});});}for(const _0x58284 of[_0x3dd9('0x27'),'splitTableCellHorizontally']){const _0xa43472=_0x508b18[_0x3dd9('0x3b')][_0x3dd9('0x4')](_0x58284);_0x289ac6['enableCommand'](_0x58284,()=>{const _0x341e5c=_0x1584a1['getSelectionAffectedTableCells'](_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x8')]['selection'])[0x0],_0x4c6835=_0x341e5c['findAncestor'](_0x3dd9('0x47')),{column:_0x25317a,row:_0x4f0a71}=_0x1584a1[_0x3dd9('0x33')](_0x341e5c);let _0x2398d5=[];if(_0x3dd9('0x1d')==_0xa43472['direction']){const _0x12dadf=_0x1584a1[_0x3dd9('0x35')](_0x4c6835,{'startRow':_0x4f0a71,'endRow':_0x4f0a71,'includeAllSlots':!0x0});_0x2398d5=Array[_0x3dd9('0x48')](_0x12dadf)['map'](_0x1c4670=>_0x1c4670['cell']);}else{const _0x2ad345=_0x1584a1[_0x3dd9('0x35')](_0x4c6835,{'column':_0x25317a,'includeAllSlots':!0x0});_0x2398d5=Array[_0x3dd9('0x48')](_0x2ad345)['map'](_0x552efd=>_0x552efd[_0x3dd9('0x2d')]);}_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x24')](_0x34b82e=>{_0x289ac6[_0x3dd9('0x16')](_0x34b82e[_0x3dd9('0x1')](_0x341e5c),{'commandName':_0x58284,'commandParams':[]},_0x2398d5,_0x58284);});});}_0x289ac6[_0x3dd9('0xf')][_0x3dd9('0x1a')](_0xa716d1=>{const {data:_0x4908e8}=_0xa716d1;if(_0x4908e8)return'mergeTableCells'==_0x4908e8[_0x3dd9('0x30')]?{'type':_0x3dd9('0x14'),'content':_0x396791(_0xf5fe57,_0x3dd9('0x40'))}:void 0x0;}),_0x289ac6[_0x3dd9('0xf')][_0x3dd9('0x1a')](_0x57ea6c=>{const {data:_0x3fcdfd}=_0x57ea6c;if(_0x3fcdfd)return _0x3dd9('0x27')==_0x3fcdfd[_0x3dd9('0x30')]?{'type':_0x3dd9('0x14'),'content':_0x396791(_0xf5fe57,'*Split\x20cell:*\x20vertically')}:_0x3dd9('0x2e')==_0x3fcdfd[_0x3dd9('0x30')]?{'type':_0x3dd9('0x14'),'content':_0x396791(_0xf5fe57,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x3cf79b=_0x1814d9[_0x3dd9('0x29')]();for(const _0x2aa85d of[_0x3dd9('0x11'),_0x3dd9('0x4b'),_0x3dd9('0x3f'),_0x3dd9('0x41')])_0x289ac6[_0x3dd9('0x2b')][_0x3dd9('0x21')](_0x3dd9('0x2'),_0x2aa85d,'accept',_0x3cf79b);for(const _0x315607 of[_0x3dd9('0x27'),'splitTableCellHorizontally'])_0x289ac6['_suggestionFactory']['registerCustomCallback'](_0x3dd9('0x2'),_0x315607,_0x3dd9('0x3d'),_0x3cf79b);_0x289ac6[_0x3dd9('0x2b')]['registerCustomCallback'](_0x3dd9('0x2'),_0x3dd9('0x15'),_0x3dd9('0x3d'),_0x58bf6c=>{_0x508b18[_0x3dd9('0x1b')]['change'](_0x5d27f3=>{const _0x4a6905=Array[_0x3dd9('0x48')](_0x35a947[_0x3dd9('0x2a')]())[_0x3dd9('0x26')](_0x85e349=>_0x83d1f9[_0x3dd9('0x46')](_0x85e349));_0x5d27f3['setSelection'](_0x58bf6c),_0x508b18[_0x3dd9('0x3b')][_0x3dd9('0x4')]('mergeTableCells')[_0x3dd9('0x6')](),_0x508b18['execute'](_0x3dd9('0x15'),{'forceDefaultExecution':!0x0});const _0x4c6567=_0x4a6905[_0x3dd9('0x43')](_0xb5d1da=>_0x3dd9('0x2f')!=_0xb5d1da['root'][_0x3dd9('0x45')]);_0x4c6567['length']>0x0&&_0x5d27f3['setSelection'](_0x4c6567);for(const _0x43fbbd of _0x4a6905)_0x43fbbd[_0x3dd9('0x3')]();});});for(const _0x335748 of[_0x3dd9('0x11'),'mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x236fcf=_0x508b18[_0x3dd9('0x3b')][_0x3dd9('0x4')](_0x335748);_0x236fcf['on']('set:isEnabled',(_0x3706ac,_0x50fcc2,_0x3448d0)=>{if(_0x3448d0){const _0x219c8e=_0x508b18[_0x3dd9('0x1b')][_0x3dd9('0x8')][_0x3dd9('0x49')][_0x3dd9('0x3a')]()['getAncestors']()[_0x3dd9('0x37')](_0x3d0e55=>_0x3d0e55['is'](_0x3dd9('0x38'),_0x3dd9('0x25')));this[_0x3dd9('0x1f')](_0x236fcf[_0x3dd9('0x42')],_0x219c8e)||(_0x3706ac[_0x3dd9('0x44')]=!0x1,_0x3706ac[_0x3dd9('0x28')]());}},{'priority':_0x3dd9('0x1c')});}}[_0x3dd9('0x39')](){const _0x22d0c2=this[_0x3dd9('0x19')][_0x3dd9('0x3b')][_0x3dd9('0x4')](_0x3dd9('0x15')),_0x5ed4bb=this['editor'][_0x3dd9('0x10')][_0x3dd9('0x4')](_0x3dd9('0x18'));if(!_0x22d0c2[_0x3dd9('0x13')])return!0x1;const _0x51a384=_0x5ed4bb[_0x3dd9('0x34')](this[_0x3dd9('0x19')][_0x3dd9('0x1b')][_0x3dd9('0x8')][_0x3dd9('0x49')]);for(const _0x281aa8 of _0x51a384)for(const _0xcdef9e of _0x51a384)if(_0x281aa8!=_0xcdef9e&&!this[_0x3dd9('0x1f')](_0x281aa8,_0xcdef9e))return!0x1;return!0x0;}['_areMergableCells'](_0x52f404,_0x28a34f){const _0x18cb91=this[_0x3dd9('0x19')][_0x3dd9('0x10')]['get'](_0x3dd9('0x5')),_0x1c09bd=this[_0x3dd9('0x19')]['model']['createRangeOn'](_0x52f404),_0x451ebc=this[_0x3dd9('0x19')][_0x3dd9('0x1b')][_0x3dd9('0x1')](_0x28a34f),_0x30410b=new Set(),_0x446cb9=new Set();for(const _0x10d1ac of _0x18cb91[_0x3dd9('0xa')]())if(('insertion'==_0x10d1ac['type']||'deletion'==_0x10d1ac['type']||_0x3dd9('0x15')==_0x10d1ac[_0x3dd9('0x20')])&&_0x10d1ac[_0x3dd9('0x9')])for(const _0x1d92b8 of _0x10d1ac[_0x3dd9('0x2a')]())_0x1d92b8[_0x3dd9('0x3c')](_0x1c09bd,!0x0)&&_0x30410b[_0x3dd9('0x4a')](_0x10d1ac[_0x3dd9('0x12')]+':'+_0x10d1ac[_0x3dd9('0x1e')]['id']),_0x1d92b8[_0x3dd9('0x3c')](_0x451ebc,!0x0)&&_0x446cb9['add'](_0x10d1ac['type']+':'+_0x10d1ac['author']['id']);if(_0x30410b[_0x3dd9('0xb')]!=_0x446cb9['size'])return!0x1;for(const _0x1667a4 of _0x30410b)if(!_0x446cb9[_0x3dd9('0x23')](_0x1667a4))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b3a=['_descriptionFactory','plugins','get','locale','insertTableOfContents','afterInit','registerElementLabel','TrackChangesEditing','commands','enableCommand','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x3b47a4,_0x4b3a09){const _0x14561d=function(_0x3abca4){while(--_0x3abca4){_0x3b47a4['push'](_0x3b47a4['shift']());}};_0x14561d(++_0x4b3a09);}(_0x4b3a,0x15d));const _0x1456=function(_0x3b47a4,_0x4b3a09){_0x3b47a4=_0x3b47a4-0x0;let _0x14561d=_0x4b3a[_0x3b47a4];return _0x14561d;};import{Plugin as _0x584b2c}from'ckeditor5/src/core';import{getTranslation as _0x40c45c}from'../utils/common-translations';export default class bt extends _0x584b2c{[_0x1456('0x8')](){const _0xf224c6=this['editor'];if(!_0xf224c6[_0x1456('0x0')][_0x1456('0x5')]('insertTableOfContents'))return;_0xf224c6[_0x1456('0x4')][_0x1456('0x5')]('TrackChangesEditing')[_0x1456('0x1')](_0x1456('0x7'));const _0x34f5be=_0xf224c6[_0x1456('0x4')][_0x1456('0x5')](_0x1456('0xa')),_0x4deb17=_0xf224c6[_0x1456('0x6')];_0x34f5be[_0x1456('0x3')][_0x1456('0x9')]('tableOfContents',_0x4370ef=>_0x40c45c(_0x4deb17,_0x1456('0x2'),_0x4370ef));}}
23
+ const _0x55e8=['insertTableOfContents','afterInit','TrackChangesEditing','get','commands','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','locale','_descriptionFactory','plugins'];(function(_0x206ae8,_0x55e808){const _0x220add=function(_0x4920fd){while(--_0x4920fd){_0x206ae8['push'](_0x206ae8['shift']());}};_0x220add(++_0x55e808);}(_0x55e8,0xec));const _0x220a=function(_0x206ae8,_0x55e808){_0x206ae8=_0x206ae8-0x0;let _0x220add=_0x55e8[_0x206ae8];return _0x220add;};import{Plugin as _0x520eb1}from'ckeditor5/src/core';import{getTranslation as _0x5a8c49}from'../utils/common-translations';export default class bt extends _0x520eb1{[_0x220a('0x5')](){const _0x24c56c=this['editor'];if(!_0x24c56c[_0x220a('0x8')]['get'](_0x220a('0x4')))return;_0x24c56c[_0x220a('0x3')]['get'](_0x220a('0x6'))['enableCommand'](_0x220a('0x4'));const _0x534f80=_0x24c56c[_0x220a('0x3')][_0x220a('0x7')](_0x220a('0x6')),_0x39db1c=_0x24c56c[_0x220a('0x1')];_0x534f80[_0x220a('0x2')][_0x220a('0x0')]('tableOfContents',_0x51b3d6=>_0x5a8c49(_0x39db1c,_0x220a('0x9'),_0x51b3d6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcdc5=['_suggestionFactory','TrackChangesTableProperties','TrackChangesEditing','getSelectionAffectedTableCells','*Format:*\x20change\x20table\x20cell\x20properties','editor','subType','TableCellPropertiesEditing','tableCellBorderColor','markBlockFormat','document','_handlePropertyChange','plugins','tableCellHorizontalAlignment','_descriptionFactory','getSuggestions','_getSuggestion','tableHeight','join','data','handleDiscardAction','tableBorderWidth','pluginName','tableCellBorderWidth','has','getFirstPosition','locale','tableCellBorderStyle','removeAttribute','enqueueChange','selection','tableProperties','formatBlock','enableCommand','registerCustomCallback','getAttribute','getSuggestionCallback','tableBackgroundColor','registerDescriptionCallback','afterInit','batch','get','model','start','discard','*Format:*\x20change\x20table\x20properties','tableCellWidth','setAttribute','tableCellBackgroundColor','tableCellProperties','tableBorderStyle','handleSuggestionDescription','tableCellHeight','TableUtils','TablePropertiesEditing','accept','format','tableCellPadding'];(function(_0x2a5df8,_0xcdc594){const _0x313eb8=function(_0x4a3b1c){while(--_0x4a3b1c){_0x2a5df8['push'](_0x2a5df8['shift']());}};_0x313eb8(++_0xcdc594);}(_0xcdc5,0x116));const _0x313e=function(_0x2a5df8,_0xcdc594){_0x2a5df8=_0x2a5df8-0x0;let _0x313eb8=_0xcdc5[_0x2a5df8];return _0x313eb8;};import{Plugin as _0x356151}from'ckeditor5/src/core';import{getTranslation as _0x1a38da}from'../utils/common-translations';export default class Ct extends _0x356151{constructor(_0x5ee155){super(_0x5ee155),this[_0x313e('0x2b')]=['tableBorderColor',_0x313e('0x4'),_0x313e('0x21'),'tableAlignment','tableWidth',_0x313e('0x1d'),_0x313e('0x31')],this['tableCellProperties']=[_0x313e('0x14'),_0x313e('0x27'),_0x313e('0x23'),_0x313e('0xb'),_0x313e('0x0'),_0x313e('0x6'),_0x313e('0x2'),_0x313e('0x19'),'tableCellVerticalAlignment'];}static get[_0x313e('0x22')](){return _0x313e('0xd');}[_0x313e('0x33')](){const _0x2664ff=this['editor'][_0x313e('0x18')][_0x313e('0x35')](_0x313e('0xe'));if(this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x24')](_0x313e('0x8'))){for(const _0x63d805 of this[_0x313e('0x2b')])_0x2664ff[_0x313e('0x2d')](_0x63d805,(_0x5ac207,_0x2b19a6)=>{const _0x3d75a8=this['editor'][_0x313e('0x36')]['document'][_0x313e('0x2a')][_0x313e('0x25')]()['findAncestor']('table');this[_0x313e('0x17')](_0x63d805,[_0x3d75a8],this[_0x313e('0x2b')],_0x313e('0x2b'),_0x5ac207,_0x2b19a6);});_0x2664ff[_0x313e('0xc')]['registerCustomCallback'](_0x313e('0x2c'),_0x313e('0x2b'),'accept',_0x2664ff[_0x313e('0xc')][_0x313e('0x30')](_0x313e('0x2c'),null,_0x313e('0x38'))),_0x2664ff['_suggestionFactory'][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x2b'),_0x313e('0x38'),(_0x368bea,_0x5146d0)=>this[_0x313e('0x20')](this[_0x313e('0x2b')],_0x368bea,_0x5146d0)),_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x2b'),'join',()=>!0x1);}if(this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x24')](_0x313e('0x13'))){for(const _0x11153e of this['tableCellProperties'])_0x2664ff[_0x313e('0x2d')](_0x11153e,(_0x19669d,_0x2aeee)=>{const _0x33de5a=this['editor']['plugins'][_0x313e('0x35')](_0x313e('0x7'))[_0x313e('0xf')](this[_0x313e('0x11')][_0x313e('0x36')][_0x313e('0x16')][_0x313e('0x2a')]);this[_0x313e('0x17')](_0x11153e,_0x33de5a,this[_0x313e('0x3')],_0x313e('0x3'),_0x19669d,_0x2aeee);});_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x3'),_0x313e('0x9'),_0x2664ff[_0x313e('0xc')]['getSuggestionCallback'](_0x313e('0x2c'),null,_0x313e('0x38'))),_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),'tableCellProperties','discard',(_0x226985,_0x4ceadf)=>this['handleDiscardAction'](this[_0x313e('0x3')],_0x226985,_0x4ceadf)),_0x2664ff['_suggestionFactory'][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x3'),_0x313e('0x1e'),()=>!0x1);}_0x2664ff[_0x313e('0x1a')][_0x313e('0x32')](_0x5e0f7e=>this[_0x313e('0x5')](_0x5e0f7e));}[_0x313e('0x17')](_0x3958e8,_0x33f083,_0x11b3a4,_0x53decb,_0x5dd2f7,_0x33d252){const _0x2f8d98=this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x35')](_0x313e('0xe'));this['editor'][_0x313e('0x36')][_0x313e('0x29')](_0x33d252[_0x313e('0x34')],()=>{for(const _0x4228d3 of _0x33f083){if(this['_getSuggestion'](_0x4228d3,_0x53decb))_0x5dd2f7(_0x33d252);else{const _0x182c0d={};for(const _0x20a50c of _0x11b3a4){const _0x52e245=_0x4228d3[_0x313e('0x2f')](_0x20a50c);void 0x0!==_0x52e245&&(_0x182c0d[_0x20a50c]=_0x52e245);}_0x5dd2f7(_0x33d252),_0x2f8d98[_0x313e('0x15')](_0x4228d3,{'commandParams':[_0x182c0d]},[],_0x53decb);}}});}['handleDiscardAction'](_0x4f9b4f,_0x4cf875,_0x442ef5){const _0x46e412=_0x4cf875[0x0][_0x313e('0x37')]['nodeAfter'],_0x2d7834=_0x442ef5['commandParams'][0x0];this[_0x313e('0x11')]['model']['change'](_0x5593d2=>{for(const _0x373b17 of _0x4f9b4f)void 0x0!==_0x2d7834[_0x373b17]?_0x5593d2[_0x313e('0x1')](_0x373b17,_0x2d7834[_0x373b17],_0x46e412):_0x5593d2[_0x313e('0x28')](_0x373b17,_0x46e412);});}[_0x313e('0x5')](_0x5025c2){if(_0x5025c2[_0x313e('0x1f')])switch(_0x5025c2[_0x313e('0x12')]){case _0x313e('0x2b'):return{'type':_0x313e('0xa'),'content':_0x1a38da(this['editor']['locale'],_0x313e('0x39'))};case'tableCellProperties':return{'type':'format','content':_0x1a38da(this[_0x313e('0x11')][_0x313e('0x26')],_0x313e('0x10'))};}}[_0x313e('0x1c')](_0x14abda,_0xadcfe2){const _0x288340=this['editor']['plugins']['get'](_0x313e('0xe'));for(const _0xfdff89 of _0x288340[_0x313e('0x1b')]({'skipNotAttached':!0x0})){const _0x20c26d=_0xfdff89['getContainedElement']();if(_0xfdff89[_0x313e('0x12')]===_0xadcfe2&&_0x20c26d===_0x14abda)return _0xfdff89;}return null;}}
23
+ const _0x24d0=['nodeAfter','getSuggestions','accept','afterInit','batch','has','tableCellBorderWidth','tableAlignment','*Format:*\x20change\x20table\x20properties','handleDiscardAction','tableHeight','tableCellPadding','registerCustomCallback','_getSuggestion','subType','getSelectionAffectedTableCells','TrackChangesEditing','start','setAttribute','tableProperties','tableCellHeight','tableCellProperties','getSuggestionCallback','TablePropertiesEditing','findAncestor','tableCellBackgroundColor','tableWidth','getFirstPosition','join','data','*Format:*\x20change\x20table\x20cell\x20properties','format','tableBorderColor','tableBorderWidth','discard','handleSuggestionDescription','commandParams','get','table','TableCellPropertiesEditing','selection','enableCommand','TrackChangesTableProperties','plugins','document','_suggestionFactory','model','tableBackgroundColor','editor','formatBlock','_handlePropertyChange','tableBorderStyle','locale'];(function(_0x231a96,_0x24d0eb){const _0xe30b9b=function(_0x58affc){while(--_0x58affc){_0x231a96['push'](_0x231a96['shift']());}};_0xe30b9b(++_0x24d0eb);}(_0x24d0,0xf7));const _0xe30b=function(_0x231a96,_0x24d0eb){_0x231a96=_0x231a96-0x0;let _0xe30b9b=_0x24d0[_0x231a96];return _0xe30b9b;};import{Plugin as _0x43bcbd}from'ckeditor5/src/core';import{getTranslation as _0x4b85af}from'../utils/common-translations';export default class Ct extends _0x43bcbd{constructor(_0xdb1dc0){super(_0xdb1dc0),this[_0xe30b('0x25')]=[_0xe30b('0x32'),_0xe30b('0x10'),_0xe30b('0x33'),_0xe30b('0x19'),_0xe30b('0x2c'),_0xe30b('0x1c'),_0xe30b('0xc')],this[_0xe30b('0x27')]=['tableCellBorderColor','tableCellBorderStyle',_0xe30b('0x18'),_0xe30b('0x1d'),'tableCellWidth',_0xe30b('0x26'),_0xe30b('0x2b'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return _0xe30b('0x7');}[_0xe30b('0x15')](){const _0x2fbb05=this['editor'][_0xe30b('0x8')][_0xe30b('0x2')](_0xe30b('0x22'));if(this[_0xe30b('0xd')][_0xe30b('0x8')][_0xe30b('0x17')](_0xe30b('0x29'))){for(const _0x104fac of this['tableProperties'])_0x2fbb05[_0xe30b('0x6')](_0x104fac,(_0x5c298e,_0x307a8c)=>{const _0x26efed=this[_0xe30b('0xd')]['model'][_0xe30b('0x9')][_0xe30b('0x5')][_0xe30b('0x2d')]()[_0xe30b('0x2a')](_0xe30b('0x3'));this['_handlePropertyChange'](_0x104fac,[_0x26efed],this[_0xe30b('0x25')],_0xe30b('0x25'),_0x5c298e,_0x307a8c);});_0x2fbb05[_0xe30b('0xa')]['registerCustomCallback'](_0xe30b('0xe'),_0xe30b('0x25'),_0xe30b('0x14'),_0x2fbb05[_0xe30b('0xa')]['getSuggestionCallback']('formatBlock',null,_0xe30b('0x34'))),_0x2fbb05['_suggestionFactory'][_0xe30b('0x1e')]('formatBlock',_0xe30b('0x25'),_0xe30b('0x34'),(_0x27778b,_0xa63104)=>this[_0xe30b('0x1b')](this['tableProperties'],_0x27778b,_0xa63104)),_0x2fbb05[_0xe30b('0xa')]['registerCustomCallback'](_0xe30b('0xe'),_0xe30b('0x25'),_0xe30b('0x2e'),()=>!0x1);}if(this[_0xe30b('0xd')][_0xe30b('0x8')][_0xe30b('0x17')](_0xe30b('0x4'))){for(const _0x16258c of this[_0xe30b('0x27')])_0x2fbb05[_0xe30b('0x6')](_0x16258c,(_0x50134d,_0x4cde94)=>{const _0x545ccf=this['editor'][_0xe30b('0x8')][_0xe30b('0x2')]('TableUtils')[_0xe30b('0x21')](this[_0xe30b('0xd')][_0xe30b('0xb')][_0xe30b('0x9')][_0xe30b('0x5')]);this['_handlePropertyChange'](_0x16258c,_0x545ccf,this[_0xe30b('0x27')],_0xe30b('0x27'),_0x50134d,_0x4cde94);});_0x2fbb05[_0xe30b('0xa')][_0xe30b('0x1e')](_0xe30b('0xe'),_0xe30b('0x27'),'accept',_0x2fbb05[_0xe30b('0xa')][_0xe30b('0x28')]('formatBlock',null,'discard')),_0x2fbb05[_0xe30b('0xa')][_0xe30b('0x1e')](_0xe30b('0xe'),_0xe30b('0x27'),_0xe30b('0x34'),(_0x1b32dd,_0x27e7fb)=>this[_0xe30b('0x1b')](this[_0xe30b('0x27')],_0x1b32dd,_0x27e7fb)),_0x2fbb05[_0xe30b('0xa')][_0xe30b('0x1e')](_0xe30b('0xe'),_0xe30b('0x27'),_0xe30b('0x2e'),()=>!0x1);}_0x2fbb05['_descriptionFactory']['registerDescriptionCallback'](_0x3144f6=>this[_0xe30b('0x0')](_0x3144f6));}[_0xe30b('0xf')](_0x12cccd,_0x4de93b,_0x3496a4,_0x2d4319,_0x561b77,_0x17e321){const _0x307e6b=this[_0xe30b('0xd')][_0xe30b('0x8')][_0xe30b('0x2')](_0xe30b('0x22'));this['editor'][_0xe30b('0xb')]['enqueueChange'](_0x17e321[_0xe30b('0x16')],()=>{for(const _0x53fe32 of _0x4de93b){if(this[_0xe30b('0x1f')](_0x53fe32,_0x2d4319))_0x561b77(_0x17e321);else{const _0x3fd4f5={};for(const _0x106278 of _0x3496a4){const _0x301511=_0x53fe32['getAttribute'](_0x106278);void 0x0!==_0x301511&&(_0x3fd4f5[_0x106278]=_0x301511);}_0x561b77(_0x17e321),_0x307e6b['markBlockFormat'](_0x53fe32,{'commandParams':[_0x3fd4f5]},[],_0x2d4319);}}});}[_0xe30b('0x1b')](_0x3a4d3a,_0x286595,_0x46fd6a){const _0x5ce795=_0x286595[0x0][_0xe30b('0x23')][_0xe30b('0x12')],_0x3387fe=_0x46fd6a[_0xe30b('0x1')][0x0];this[_0xe30b('0xd')][_0xe30b('0xb')]['change'](_0x4a6e41=>{for(const _0x7fcbd2 of _0x3a4d3a)void 0x0!==_0x3387fe[_0x7fcbd2]?_0x4a6e41[_0xe30b('0x24')](_0x7fcbd2,_0x3387fe[_0x7fcbd2],_0x5ce795):_0x4a6e41['removeAttribute'](_0x7fcbd2,_0x5ce795);});}[_0xe30b('0x0')](_0x35a350){if(_0x35a350[_0xe30b('0x2f')])switch(_0x35a350[_0xe30b('0x20')]){case'tableProperties':return{'type':_0xe30b('0x31'),'content':_0x4b85af(this[_0xe30b('0xd')][_0xe30b('0x11')],_0xe30b('0x1a'))};case _0xe30b('0x27'):return{'type':_0xe30b('0x31'),'content':_0x4b85af(this[_0xe30b('0xd')][_0xe30b('0x11')],_0xe30b('0x30'))};}}[_0xe30b('0x1f')](_0x4386dc,_0x3dbe81){const _0x7c515d=this[_0xe30b('0xd')][_0xe30b('0x8')][_0xe30b('0x2')]('TrackChangesEditing');for(const _0x30a2ba of _0x7c515d[_0xe30b('0x13')]({'skipNotAttached':!0x0})){const _0x262a6a=_0x30a2ba['getContainedElement']();if(_0x30a2ba[_0xe30b('0x20')]===_0x3dbe81&&_0x262a6a===_0x4386dc)return _0x30a2ba;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4080=['get','afterInit','Template','has','insertTemplate','editor','enableCommand','plugins','TrackChangesEditing'];(function(_0x12c15f,_0x408050){const _0xb9f1dd=function(_0x455498){while(--_0x455498){_0x12c15f['push'](_0x12c15f['shift']());}};_0xb9f1dd(++_0x408050);}(_0x4080,0xb2));const _0xb9f1=function(_0x12c15f,_0x408050){_0x12c15f=_0x12c15f-0x0;let _0xb9f1dd=_0x4080[_0x12c15f];return _0xb9f1dd;};import{Plugin as _0x410538}from'ckeditor5/src/core';export default class yt extends _0x410538{[_0xb9f1('0x3')](){const _0x5f36d7=this[_0xb9f1('0x7')];_0x5f36d7[_0xb9f1('0x0')][_0xb9f1('0x5')](_0xb9f1('0x4'))&&_0x5f36d7[_0xb9f1('0x0')][_0xb9f1('0x2')](_0xb9f1('0x1'))[_0xb9f1('0x8')](_0xb9f1('0x6'));}}
23
+ const _0x3b72=['insertTemplate','get','Template','plugins','enableCommand','editor','has','afterInit'];(function(_0x4a6e08,_0x3b72b2){const _0x498be0=function(_0x54cf59){while(--_0x54cf59){_0x4a6e08['push'](_0x4a6e08['shift']());}};_0x498be0(++_0x3b72b2);}(_0x3b72,0x19c));const _0x498b=function(_0x4a6e08,_0x3b72b2){_0x4a6e08=_0x4a6e08-0x0;let _0x498be0=_0x3b72[_0x4a6e08];return _0x498be0;};import{Plugin as _0x2d8cd3}from'ckeditor5/src/core';export default class yt extends _0x2d8cd3{[_0x498b('0x3')](){const _0x590e98=this[_0x498b('0x1')];_0x590e98['plugins'][_0x498b('0x2')](_0x498b('0x6'))&&_0x590e98[_0x498b('0x7')][_0x498b('0x5')]('TrackChangesEditing')[_0x498b('0x0')](_0x498b('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d90=['start','differ','Title','get','registerElementLabel','TrackChangesEditing','newRange','_descriptionFactory','isTouching','element','getChangedMarkers','editor','has','createRange','model','getNearestSelectionRange','title-content','from','end','schema','forward','isEqual','document','suggestion','plugins'];(function(_0x3db2d8,_0x1d90d4){const _0x4c722d=function(_0x50e9e2){while(--_0x50e9e2){_0x3db2d8['push'](_0x3db2d8['shift']());}};_0x4c722d(++_0x1d90d4);}(_0x1d90,0x167));const _0x4c72=function(_0x3db2d8,_0x1d90d4){_0x3db2d8=_0x3db2d8-0x0;let _0x4c722d=_0x1d90[_0x3db2d8];return _0x4c722d;};import{Plugin as _0x4a7ff8}from'ckeditor5/src/core';import{getTranslation as _0x216327}from'../utils/common-translations';export default class St extends _0x4a7ff8{['afterInit'](){const _0x31113c=this[_0x4c72('0x2')];if(!_0x31113c[_0x4c72('0xf')][_0x4c72('0x3')](_0x4c72('0x12')))return;const _0x12171a=_0x31113c[_0x4c72('0xf')][_0x4c72('0x13')](_0x4c72('0x15'));_0x12171a[_0x4c72('0x17')][_0x4c72('0x14')]('title-content',()=>_0x216327(_0x31113c['locale'],'ELEMENT_TITLE')),_0x31113c[_0x4c72('0x5')][_0x4c72('0xd')]['registerPostFixer'](_0x303531=>{let _0x56e65d=!0x1;const _0x2e7730=Array[_0x4c72('0x8')](_0x31113c[_0x4c72('0x5')][_0x4c72('0xd')][_0x4c72('0x11')][_0x4c72('0x1')]());for(const {name:_0x52249d,data:_0x1997f1}of _0x2e7730){const {group:_0x27abd8}=_0x12171a['_splitMarkerName'](_0x52249d);if(_0x4c72('0xe')!==_0x27abd8||!_0x1997f1[_0x4c72('0x16')])continue;const _0x5f47e7=_0x1997f1[_0x4c72('0x16')],_0x41f4c8=_0x5f47e7[_0x4c72('0x9')]['nodeBefore'];if(!_0x41f4c8||!_0x41f4c8['is'](_0x4c72('0x0'),_0x4c72('0x7')))continue;if(!_0x5f47e7[_0x4c72('0x10')][_0x4c72('0x18')](_0x5f47e7[_0x4c72('0x9')]))continue;const _0x39695f=_0x31113c[_0x4c72('0x5')][_0x4c72('0xa')][_0x4c72('0x6')](_0x5f47e7[_0x4c72('0x9')],_0x4c72('0xb'));if(_0x39695f&&_0x39695f['isCollapsed']){const _0x52216a=_0x303531[_0x4c72('0x4')](_0x5f47e7['start'],_0x39695f[_0x4c72('0x10')]);_0x52216a[_0x4c72('0xc')](_0x5f47e7)||(_0x303531['updateMarker'](_0x52249d,{'range':_0x52216a}),_0x56e65d=!0x0);}_0x56e65d||(_0x303531['removeMarker'](_0x52249d),_0x56e65d=!0x0);}return _0x56e65d;});}}
23
+ const _0x4043=['document','nodeBefore','createRange','end','isEqual','from','title-content','getNearestSelectionRange','model','ELEMENT_TITLE','element','Title','newRange','_descriptionFactory','get','getChangedMarkers','isTouching','_splitMarkerName','plugins','locale','editor','schema','start','TrackChangesEditing'];(function(_0x4b08aa,_0x40438d){const _0x489bb6=function(_0x309d21){while(--_0x309d21){_0x4b08aa['push'](_0x4b08aa['shift']());}};_0x489bb6(++_0x40438d);}(_0x4043,0x19f));const _0x489b=function(_0x4b08aa,_0x40438d){_0x4b08aa=_0x4b08aa-0x0;let _0x489bb6=_0x4043[_0x4b08aa];return _0x489bb6;};import{Plugin as _0x113493}from'ckeditor5/src/core';import{getTranslation as _0x16fa6d}from'../utils/common-translations';export default class St extends _0x113493{['afterInit'](){const _0x29a2e8=this[_0x489b('0xd')];if(!_0x29a2e8['plugins']['has'](_0x489b('0x4')))return;const _0x446a9b=_0x29a2e8[_0x489b('0xb')][_0x489b('0x7')](_0x489b('0x10'));_0x446a9b[_0x489b('0x6')]['registerElementLabel'](_0x489b('0x17'),()=>_0x16fa6d(_0x29a2e8[_0x489b('0xc')],_0x489b('0x2'))),_0x29a2e8[_0x489b('0x1')][_0x489b('0x11')]['registerPostFixer'](_0x81582=>{let _0x4c66d2=!0x1;const _0x4d6966=Array[_0x489b('0x16')](_0x29a2e8[_0x489b('0x1')][_0x489b('0x11')]['differ'][_0x489b('0x8')]());for(const {name:_0x38fad0,data:_0x4dd0f0}of _0x4d6966){const {group:_0x11d500}=_0x446a9b[_0x489b('0xa')](_0x38fad0);if('suggestion'!==_0x11d500||!_0x4dd0f0[_0x489b('0x5')])continue;const _0x43bf4f=_0x4dd0f0[_0x489b('0x5')],_0x1c0a23=_0x43bf4f[_0x489b('0x14')][_0x489b('0x12')];if(!_0x1c0a23||!_0x1c0a23['is'](_0x489b('0x3'),_0x489b('0x17')))continue;if(!_0x43bf4f[_0x489b('0xf')][_0x489b('0x9')](_0x43bf4f['end']))continue;const _0x3bc0dc=_0x29a2e8[_0x489b('0x1')][_0x489b('0xe')][_0x489b('0x0')](_0x43bf4f[_0x489b('0x14')],'forward');if(_0x3bc0dc&&_0x3bc0dc['isCollapsed']){const _0x15602e=_0x81582[_0x489b('0x13')](_0x43bf4f['start'],_0x3bc0dc['start']);_0x15602e[_0x489b('0x15')](_0x43bf4f)||(_0x81582['updateMarker'](_0x38fad0,{'range':_0x15602e}),_0x4c66d2=!0x0);}_0x4c66d2||(_0x81582['removeMarker'](_0x38fad0),_0x4c66d2=!0x0);}return _0x4c66d2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32a1=['TrackChangesEditing','afterInit','plugins','redo','undo','editor','get','has','UndoEditing','enableCommand'];(function(_0x2b9a58,_0x32a15f){const _0x6b5eb8=function(_0x51873d){while(--_0x51873d){_0x2b9a58['push'](_0x2b9a58['shift']());}};_0x6b5eb8(++_0x32a15f);}(_0x32a1,0x11b));const _0x6b5e=function(_0x2b9a58,_0x32a15f){_0x2b9a58=_0x2b9a58-0x0;let _0x6b5eb8=_0x32a1[_0x2b9a58];return _0x6b5eb8;};import{Plugin as _0x15c95f}from'ckeditor5/src/core';export default class It extends _0x15c95f{[_0x6b5e('0x8')](){const _0x22719e=this[_0x6b5e('0x2')],_0x44e0b0=_0x22719e[_0x6b5e('0x9')][_0x6b5e('0x3')](_0x6b5e('0x7'));_0x22719e[_0x6b5e('0x9')][_0x6b5e('0x4')](_0x6b5e('0x5'))&&(_0x44e0b0[_0x6b5e('0x6')](_0x6b5e('0x1')),_0x44e0b0[_0x6b5e('0x6')](_0x6b5e('0x0')));}}
23
+ const _0x25fa=['undo','UndoEditing','editor','redo','has','enableCommand','TrackChangesEditing','plugins'];(function(_0x25c28f,_0x25fa33){const _0x5e757c=function(_0x26c234){while(--_0x26c234){_0x25c28f['push'](_0x25c28f['shift']());}};_0x5e757c(++_0x25fa33);}(_0x25fa,0x102));const _0x5e75=function(_0x25c28f,_0x25fa33){_0x25c28f=_0x25c28f-0x0;let _0x5e757c=_0x25fa[_0x25c28f];return _0x5e757c;};import{Plugin as _0x2f95fb}from'ckeditor5/src/core';export default class It extends _0x2f95fb{['afterInit'](){const _0x2ae2b7=this[_0x5e75('0x0')],_0x23070e=_0x2ae2b7[_0x5e75('0x5')]['get'](_0x5e75('0x4'));_0x2ae2b7[_0x5e75('0x5')][_0x5e75('0x2')](_0x5e75('0x7'))&&(_0x23070e['enableCommand'](_0x5e75('0x6')),_0x23070e[_0x5e75('0x3')](_0x5e75('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e59=['name','schema','activeMarkers','element','addClass','elementEnd','getItems','plugins','isBlock','consumable','start','get','listIndent','listItem','test','ck-suggestion-marker--active','item','toViewPosition','previousPosition','mapper','isContent','isAtEnd','writer','parent','addHighlight','hasAttribute','getWalker','nextSibling','markerName','markerRange','createRangeOn','isLimit','ck-suggestion-marker-','includes','getAttribute','push','bindElementToMarker','insert','createUIElement','TrackChangesEditing'];(function(_0x359e86,_0x3e599f){const _0x351860=function(_0xc404a2){while(--_0xc404a2){_0x359e86['push'](_0x359e86['shift']());}};_0x351860(++_0x3e599f);}(_0x3e59,0x145));const _0x3518=function(_0x359e86,_0x3e599f){_0x359e86=_0x359e86-0x0;let _0x351860=_0x3e59[_0x359e86];return _0x351860;};export function getRangesWithAttribute(_0x29dd30,_0x5a5c8d,_0x4fd75a){const _0x5c456c=[];for(const _0xb20764 of _0x5a5c8d[_0x3518('0x1')]())_0xb20764[_0x3518('0x14')](_0x29dd30)&&_0x5c456c['push'](_0x4fd75a[_0x3518('0x19')](_0xb20764));return _0x5c456c;}export function getElementsAffectedByListItemRename(_0x43f2a1){const _0x45750=[];if(_0x43f2a1['is'](_0x3518('0x26'),'listItem')){let _0x2cc9b8=_0x43f2a1[_0x3518('0x16')];for(;_0x2cc9b8&&_0x2cc9b8['is'](_0x3518('0x26'),_0x3518('0x8'))&&_0x2cc9b8[_0x3518('0x1d')](_0x3518('0x7'))>0x0;)_0x45750[_0x3518('0x1e')](_0x2cc9b8),_0x2cc9b8=_0x2cc9b8[_0x3518('0x16')];}return _0x45750;}export function downcastSplitMergeMarker(_0x18ac95,_0x5aee0b,{showActiveMarker:_0x2bcda1=!0x0}={}){const _0x13bc0f=_0x18ac95[_0x3518('0x2')][_0x3518('0x6')](_0x3518('0x22'));return(_0x1c9cc6,_0x56ae97,_0x49aa13)=>{if(!_0x49aa13[_0x3518('0x4')][_0x3518('0x9')](_0x56ae97[_0x3518('0x18')],_0x1c9cc6[_0x3518('0x23')]))return;const _0x187150=_0x56ae97[_0x3518('0x18')][_0x3518('0x15')](),_0x1fa921=_0x56ae97['markerRange'][_0x3518('0x5')],_0x22fc14=_0x18ac95['model'][_0x3518('0x24')];let _0x50bfb2=null,_0x166a1e=null,_0x298995=!0x1,_0x293e9a=!0x1;for(const _0x5b1496 of _0x187150){const _0x3bbc23=_0x5b1496[_0x3518('0xb')];_0x298995=_0x298995||_0x22fc14[_0x3518('0xf')](_0x3bbc23);const _0x42a329=_0x49aa13['mapper']['toViewElement'](_0x3bbc23);if(_0x42a329&&_0x42a329['getCustomProperty'](_0x3518('0x13')))return;_0x3518('0x0')==_0x5b1496['type']&&(_0x22fc14[_0x3518('0x3')](_0x3bbc23)&&!_0x22fc14[_0x3518('0x1a')](_0x3bbc23)&&(_0x3bbc23[_0x3518('0x16')]||_0x1fa921[_0x3518('0x10')]?_0x50bfb2&&_0x50bfb2[_0x3518('0x12')]==_0x3bbc23||(_0x50bfb2=_0x3bbc23,_0x2a3272(_0x5b1496[_0x3518('0xd')]),_0x293e9a=!0x0):_0x166a1e=_0x166a1e||_0x5b1496[_0x3518('0xd')]));}function _0x2a3272(_0x4c9b0a){const _0x21dafa=_0x49aa13[_0x3518('0x11')][_0x3518('0x21')]('span',{'class':_0x3518('0x1b')+_0x5aee0b}),_0x51b2f7=_0x49aa13[_0x3518('0xe')][_0x3518('0xc')](_0x4c9b0a);_0x2bcda1&&_0x13bc0f[_0x3518('0x25')][_0x3518('0x1c')](_0x56ae97[_0x3518('0x17')])&&_0x49aa13[_0x3518('0x11')][_0x3518('0x27')](_0x3518('0xa'),_0x21dafa),_0x49aa13['writer'][_0x3518('0x20')](_0x51b2f7,_0x21dafa),_0x49aa13[_0x3518('0xe')][_0x3518('0x1f')](_0x21dafa,_0x56ae97[_0x3518('0x17')]);}_0x298995||_0x293e9a||!_0x166a1e||_0x2a3272(_0x166a1e);};}
23
+ const _0xcb48=['previousPosition','addHighlight','activeMarkers','element','markerRange','test','includes','type','schema','isBlock','elementEnd','item','plugins','writer','isContent','createRangeOn','isLimit','span','ck-suggestion-marker--active','toViewElement','bindElementToMarker','ck-suggestion-marker-','getItems','listIndent','consumable','isAtEnd','mapper','TrackChangesEditing','getWalker','toViewPosition','listItem','start','get','nextSibling','push'];(function(_0x42eada,_0xcb48c9){const _0x547600=function(_0x5129b2){while(--_0x5129b2){_0x42eada['push'](_0x42eada['shift']());}};_0x547600(++_0xcb48c9);}(_0xcb48,0x17d));const _0x5476=function(_0x42eada,_0xcb48c9){_0x42eada=_0x42eada-0x0;let _0x547600=_0xcb48[_0x42eada];return _0x547600;};export function getRangesWithAttribute(_0x4637a2,_0x1942c5,_0x4fb4c6){const _0x26eeab=[];for(const _0x55e4e0 of _0x1942c5[_0x5476('0x1a')]())_0x55e4e0['hasAttribute'](_0x4637a2)&&_0x26eeab[_0x5476('0x3')](_0x4fb4c6[_0x5476('0x13')](_0x55e4e0));return _0x26eeab;}export function getElementsAffectedByListItemRename(_0x3719c5){const _0xe54f52=[];if(_0x3719c5['is']('element',_0x5476('0x22'))){let _0x3abc08=_0x3719c5[_0x5476('0x2')];for(;_0x3abc08&&_0x3abc08['is'](_0x5476('0x7'),_0x5476('0x22'))&&_0x3abc08['getAttribute'](_0x5476('0x1b'))>0x0;)_0xe54f52[_0x5476('0x3')](_0x3abc08),_0x3abc08=_0x3abc08[_0x5476('0x2')];}return _0xe54f52;}export function downcastSplitMergeMarker(_0x2cae1a,_0x761380,{showActiveMarker:_0x2ea9ba=!0x0}={}){const _0x3192ca=_0x2cae1a[_0x5476('0x10')][_0x5476('0x1')](_0x5476('0x1f'));return(_0x40765e,_0x5d2671,_0x2ce115)=>{if(!_0x2ce115[_0x5476('0x1c')][_0x5476('0x9')](_0x5d2671['markerRange'],_0x40765e['name']))return;const _0x4ace30=_0x5d2671[_0x5476('0x8')][_0x5476('0x20')](),_0x230bd9=_0x5d2671[_0x5476('0x8')][_0x5476('0x0')],_0x28b0e2=_0x2cae1a['model'][_0x5476('0xc')];let _0x5df2e5=null,_0x1484a8=null,_0x162846=!0x1,_0xb8da47=!0x1;for(const _0x1ed1bd of _0x4ace30){const _0x2ba894=_0x1ed1bd[_0x5476('0xf')];_0x162846=_0x162846||_0x28b0e2[_0x5476('0x12')](_0x2ba894);const _0x555afa=_0x2ce115[_0x5476('0x1e')][_0x5476('0x17')](_0x2ba894);if(_0x555afa&&_0x555afa['getCustomProperty'](_0x5476('0x5')))return;_0x5476('0xe')==_0x1ed1bd[_0x5476('0xb')]&&(_0x28b0e2[_0x5476('0xd')](_0x2ba894)&&!_0x28b0e2[_0x5476('0x14')](_0x2ba894)&&(_0x2ba894[_0x5476('0x2')]||_0x230bd9[_0x5476('0x1d')]?_0x5df2e5&&_0x5df2e5['parent']==_0x2ba894||(_0x5df2e5=_0x2ba894,_0x5dd5d2(_0x1ed1bd['previousPosition']),_0xb8da47=!0x0):_0x1484a8=_0x1484a8||_0x1ed1bd[_0x5476('0x4')]));}function _0x5dd5d2(_0x18da39){const _0x2793af=_0x2ce115[_0x5476('0x11')]['createUIElement'](_0x5476('0x15'),{'class':_0x5476('0x19')+_0x761380}),_0x508b12=_0x2ce115['mapper'][_0x5476('0x21')](_0x18da39);_0x2ea9ba&&_0x3192ca[_0x5476('0x6')][_0x5476('0xa')](_0x5d2671['markerName'])&&_0x2ce115[_0x5476('0x11')]['addClass'](_0x5476('0x16'),_0x2793af),_0x2ce115['writer']['insert'](_0x508b12,_0x2793af),_0x2ce115[_0x5476('0x1e')][_0x5476('0x18')](_0x2793af,_0x5d2671['markerName']);}_0x162846||_0xb8da47||!_0x1484a8||_0x5dd5d2(_0x1484a8);};}