@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.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 (135) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +4 -3
  4. package/src/augmentation.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +1 -1
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +12 -12
  16. package/src/index.js +1 -1
  17. package/src/integrations/aiassistant.d.ts +1 -1
  18. package/src/integrations/aiassistant.js +1 -1
  19. package/src/integrations/alignment.d.ts +1 -1
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +1 -1
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +1 -1
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +1 -1
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +1 -1
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +1 -1
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +2 -2
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +1 -1
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +3 -3
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +2 -2
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +1 -1
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +1 -1
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +1 -1
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +1 -1
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +1 -1
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +1 -1
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +1 -1
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +1 -1
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +1 -1
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/imagestyle.d.ts +1 -1
  58. package/src/integrations/imagestyle.js +1 -1
  59. package/src/integrations/importword.d.ts +1 -1
  60. package/src/integrations/importword.js +1 -1
  61. package/src/integrations/indent.d.ts +1 -1
  62. package/src/integrations/indent.js +1 -1
  63. package/src/integrations/inputcommand.d.ts +2 -2
  64. package/src/integrations/inputcommand.js +1 -1
  65. package/src/integrations/link.d.ts +1 -1
  66. package/src/integrations/link.js +1 -1
  67. package/src/integrations/list.d.ts +1 -1
  68. package/src/integrations/list.js +1 -1
  69. package/src/integrations/listproperties.d.ts +3 -3
  70. package/src/integrations/listproperties.js +1 -1
  71. package/src/integrations/mediaembed.d.ts +1 -1
  72. package/src/integrations/mediaembed.js +1 -1
  73. package/src/integrations/mention.d.ts +1 -1
  74. package/src/integrations/mention.js +1 -1
  75. package/src/integrations/pagebreak.d.ts +1 -1
  76. package/src/integrations/pagebreak.js +1 -1
  77. package/src/integrations/paragraph.d.ts +1 -1
  78. package/src/integrations/paragraph.js +1 -1
  79. package/src/integrations/removeformat.d.ts +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.d.ts +1 -1
  82. package/src/integrations/restrictededitingmode.js +1 -1
  83. package/src/integrations/shiftentercommand.d.ts +2 -2
  84. package/src/integrations/shiftentercommand.js +1 -1
  85. package/src/integrations/standardeditingmode.d.ts +1 -1
  86. package/src/integrations/standardeditingmode.js +1 -1
  87. package/src/integrations/style.d.ts +1 -1
  88. package/src/integrations/style.js +1 -1
  89. package/src/integrations/table.d.ts +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.d.ts +2 -2
  92. package/src/integrations/tablecaption.js +1 -1
  93. package/src/integrations/tableclipboard.d.ts +2 -2
  94. package/src/integrations/tableclipboard.js +1 -1
  95. package/src/integrations/tablecolumnresize.d.ts +4 -4
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.d.ts +2 -2
  98. package/src/integrations/tableheadings.js +1 -1
  99. package/src/integrations/tablemergesplit.d.ts +2 -2
  100. package/src/integrations/tablemergesplit.js +1 -1
  101. package/src/integrations/tableofcontents.d.ts +1 -1
  102. package/src/integrations/tableofcontents.js +1 -1
  103. package/src/integrations/tableproperties.d.ts +4 -4
  104. package/src/integrations/tableproperties.js +1 -1
  105. package/src/integrations/template.d.ts +1 -1
  106. package/src/integrations/template.js +1 -1
  107. package/src/integrations/title.d.ts +1 -1
  108. package/src/integrations/title.js +1 -1
  109. package/src/integrations/undo.d.ts +1 -1
  110. package/src/integrations/undo.js +1 -1
  111. package/src/integrations/utils.d.ts +3 -3
  112. package/src/integrations/utils.js +1 -1
  113. package/src/suggestion.d.ts +5 -5
  114. package/src/suggestion.js +1 -1
  115. package/src/suggestiondescriptionfactory.d.ts +3 -3
  116. package/src/suggestiondescriptionfactory.js +1 -1
  117. package/src/trackchanges.d.ts +5 -5
  118. package/src/trackchanges.js +1 -1
  119. package/src/trackchangesconfig.d.ts +1 -1
  120. package/src/trackchangesdata.d.ts +2 -2
  121. package/src/trackchangesdata.js +1 -1
  122. package/src/trackchangesediting.d.ts +53 -53
  123. package/src/trackchangesediting.js +1 -1
  124. package/src/trackchangesui.d.ts +3 -3
  125. package/src/trackchangesui.js +1 -1
  126. package/src/ui/suggestioncontroller.d.ts +5 -5
  127. package/src/ui/suggestioncontroller.js +1 -1
  128. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  129. package/src/ui/view/basesuggestionthreadview.js +1 -1
  130. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  131. package/src/ui/view/suggestionthreadview.js +1 -1
  132. package/src/utils/common-translations.d.ts +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/src/utils/utils.d.ts +4 -4
  135. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc4ec=['suggestionLoaded','join','suggestionUnloaded','commands','removeMarker','add','getAllAdjacentSuggestions','newRange','cell','columnInsertionRanges','createRangeIn','move','tableCellHorizontalAlignment','*Replace\x20table\x20cells*','endRow','stop','containsRange','markerName','tablePasteCell','differ','has','nodeAfter','discard','registerPostFixer','includes','markerAttributes','some','end','deletionRanges','showSuggestionHighlights','map','editor','getMarkers','markMultiRangeBlockFormat','_getCoordsForCells','document','suggestion','_isForcedDefaultExecutionBlock','unwrap','conversion','element','insertRows','getContainedElement','findAncestor','subType','next','selection','registerDescriptionCallback','ck-suggestion-marker-insertion','plugins','removeMarkers','wrap','_suggestionFactory','createTableWalker','removeColumns','editingDowncast','insertColumns','Users','getSuggestions','markMultiRangeInsertion','getColumns','tableCellBorderStyle','get','TableClipboard','author','tablePasteChainId','tableCellSuggestion','insertion','isInContent','_createdBatches','find','markMultiRangeDeletion','name','paragraph','for','activeMarkers','tablePasteRow','markerToHighlight','high','createElement','tableCellBackgroundColor','getItems','isEqual','getTableIfOnlyTableInContent','isEmpty','last','every','register','getSuggestionCallback','getRange','cells','reduce','columns','value','insertionRanges','registerCustomCallback','oldRange','getChild','model','type','return','set','push','$graveyard','locale','setAttributes','_descriptionFactory','_tablePostFixingSubtypes','suggestion:formatBlock:tablePasteCell','_splitMarkerName','previousSibling','schema','getRows','ck-suggestion-marker--active','getChangedMarkers','ck-suggestion-marker','fill','content','from','TableUtils','insert','createPositionBefore','trackChanges','elementToElement','position','keys','redo','table','_replaceTableSlotCell','getRanges','dataDowncast','markers','insertContent','previous','rowInsertionIndexes','row','formatBlock','tableCellVerticalAlignment','getSuggestion','createRangeOn','forceDefaultExecution','tablePasteColumn','tableCellBorderWidth','deletion','start','view','removeRows','length','updateMarker','tablePaste','hasSuggestion','accept','remove','getChildren','columnInsertionIndexes','rowInsertionRanges','tableCell','fromEntries','getRowIndexes','tableCellPadding','attributes','first','batch','startsWith','requires','change','filter'];(function(_0x10f7eb,_0xc4ec75){const _0x16ae4f=function(_0x57d0b3){while(--_0x57d0b3){_0x10f7eb['push'](_0x10f7eb['shift']());}};_0x16ae4f(++_0xc4ec75);}(_0xc4ec,0xab));const _0x16ae=function(_0x10f7eb,_0xc4ec75){_0x10f7eb=_0x10f7eb-0x0;let _0x16ae4f=_0xc4ec[_0x10f7eb];return _0x16ae4f;};import{getTranslation as _0x53f94}from'../utils/common-translations';import{Plugin as _0x5baecc}from'ckeditor5/src/core';import{uid as _0x179fd7,priorities as _0x57fde8}from'ckeditor5/src/utils';import _0x4f44a5 from'./table';const le=[_0x16ae('0x8a'),'tableCellBorderColor',_0x16ae('0x39'),_0x16ae('0x8'),_0x16ae('0x85'),_0x16ae('0x4c'),_0x16ae('0x9b')],ae=Object[_0x16ae('0x99')](le['map'](_0x4b4612=>[_0x4b4612,null]));export default class At extends _0x5baecc{static get[_0x16ae('0xa0')](){return[_0x4f44a5];}['afterInit'](){const _0x230f52=this[_0x16ae('0x1b')];if(!_0x230f52[_0x16ae('0x2d')]['has'](_0x16ae('0x3b')))return;const _0x54c99a=_0x230f52['plugins']['get']('TrackChangesEditing'),_0x110d6f=_0x230f52[_0x16ae('0x2d')][_0x16ae('0x3a')](_0x16ae('0x73')),_0x57349d=_0x230f52['plugins'][_0x16ae('0x3a')](_0x4f44a5),_0x416e33=_0x230f52['plugins'][_0x16ae('0x3a')](_0x16ae('0x3b'));_0x57349d[_0x16ae('0x67')]['push'](_0x16ae('0x48'),_0x16ae('0x89')),_0x230f52[_0x16ae('0x5e')][_0x16ae('0x6b')][_0x16ae('0x53')](_0x16ae('0x3e'),{'allowIn':_0x16ae('0x98'),'allowContentOf':_0x16ae('0x98'),'isLimit':!0x0}),_0x230f52[_0x16ae('0x23')][_0x16ae('0x77')]({'model':_0x16ae('0x3e'),'view':'suggestion-td'});let _0x158d48=null;_0x230f52[_0x16ae('0x5e')]['on'](_0x16ae('0x80'),(_0xe1bfe5,_0x4c2242)=>{const [_0x2b4afc,_0x47746c]=_0x4c2242,_0x3ba99b=_0x4c2242[_0x4c2242[_0x16ae('0x8f')]-0x1];_0x3ba99b&&_0x3ba99b[_0x16ae('0x88')]||_0x54c99a[_0x16ae('0x21')]||this[_0x16ae('0x1b')][_0x16ae('0xa6')][_0x16ae('0x3a')](_0x16ae('0x76'))[_0x16ae('0x59')]&&function(_0x400dcb,_0x6bab5c,_0x2b2a28,_0xf0866c,_0x91a55f){if(_0x6bab5c&&!_0x6bab5c['is']('documentSelection'))return!0x1;const _0x29dff6=_0x91a55f[_0x16ae('0x4f')](_0x400dcb,_0x2b2a28);if(!_0x29dff6||!fe(_0x29dff6,void 0x0,_0xf0866c))return!0x1;const _0x21a6c0=_0xf0866c['getSelectionAffectedTableCells'](_0x2b2a28[_0x16ae('0x1f')][_0x16ae('0x2a')]);if(!_0x21a6c0[_0x16ae('0x8f')])return!0x1;const _0x3c1082=_0x21a6c0[0x0][_0x16ae('0x27')](_0x16ae('0x7b')),_0x50b155=_0xf0866c[_0x16ae('0x9a')](_0x21a6c0),_0x8a656b=_0xf0866c['getColumnIndexes'](_0x21a6c0),_0x515a45={'startRow':_0x50b155[_0x16ae('0x9d')],'endRow':_0x50b155[_0x16ae('0x51')],'startColumn':_0x8a656b[_0x16ae('0x9d')],'endColumn':_0x8a656b[_0x16ae('0x51')]};return 0x1==_0x21a6c0[_0x16ae('0x8f')]&&(_0x515a45[_0x16ae('0xa')]+=_0xf0866c[_0x16ae('0x6c')](_0x29dff6)-0x1,_0x515a45['endColumn']+=_0xf0866c[_0x16ae('0x38')](_0x29dff6)-0x1),fe(_0x3c1082,_0x515a45,_0xf0866c);}(_0x2b4afc,_0x47746c,_0x230f52['model'],_0x110d6f,_0x416e33)&&(_0xe1bfe5[_0x16ae('0xb')](),_0x158d48={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x230f52['model'][_0x16ae('0xa1')](()=>{_0x230f52['model'][_0x16ae('0x80')](_0x4c2242[0x0],_0x4c2242[0x1],_0x4c2242[0x2],{'forceDefaultExecution':!0x0});const _0x4521f8=_0x179fd7(),{rowInsertionRanges:_0x580639,columnInsertionRanges:_0x1edfde,insertionRanges:_0x464288,deletionRanges:_0x38393d,cells:_0x590a05}=_0x158d48;_0x580639[_0x16ae('0x8f')]&&_0x54c99a[_0x16ae('0x37')](_0x580639,'tablePasteRow',{'tablePasteChainId':_0x4521f8}),_0x1edfde['length']&&_0x54c99a[_0x16ae('0x37')](_0x1edfde,_0x16ae('0x89'),{'tablePasteChainId':_0x4521f8}),_0x464288[_0x16ae('0x8f')]&&_0x54c99a[_0x16ae('0x37')](_0x464288,_0x16ae('0x91'),{'tablePasteChainId':_0x4521f8,'skipNestingCheck':!0x0}),_0x38393d[_0x16ae('0x8f')]&&_0x54c99a[_0x16ae('0x43')](_0x38393d,_0x16ae('0x91'),{'tablePasteChainId':_0x4521f8,'skipNestingCheck':!0x0});const _0x39ec68=_0x54c99a[_0x16ae('0x1d')](_0x590a05[_0x16ae('0x1a')](({element:_0xc6afd3})=>_0xc6afd3),{'formatGroupId':_0x179fd7()},[],_0x16ae('0xe'),{'tablePasteChainId':_0x4521f8});if(_0x39ec68){const _0x591e2e=_0x39ec68[_0x16ae('0x1c')](),_0x4aa1b0=[];for(const {element:_0x54073b,attributes:_0x2dcd96}of _0x590a05){if(!_0x2dcd96)continue;const _0x16370d=_0x230f52[_0x16ae('0x5e')][_0x16ae('0x87')](_0x54073b),_0xae3c45=_0x591e2e[_0x16ae('0x42')](_0x14b0e5=>_0x14b0e5['getRange']()[_0x16ae('0x4e')](_0x16370d));_0xae3c45&&_0x4aa1b0[_0x16ae('0x62')]([_0xae3c45[_0x16ae('0x44')],_0x2dcd96]);}_0x4aa1b0['length']&&_0x39ec68['setAttribute']('markerAttributes',Object[_0x16ae('0x99')](_0x4aa1b0));}_0x158d48=null;}));},{'priority':_0x57fde8[_0x16ae('0x4a')]+0xa}),_0x230f52[_0x16ae('0x2d')][_0x16ae('0x3a')](_0x16ae('0x3b'))['on'](_0x16ae('0x7c'),(_0x4d298a,_0x1df5d4)=>{const [_0xb58a14,_0x3ad70d,,_0x535283]=_0x1df5d4;if(!_0x158d48)return;_0x4d298a['stop']();const _0x171393=_0xb58a14[_0x16ae('0x4')],_0x18f7a1=_0x3ad70d,_0x5ed6fd=ce(_0x171393),_0x391c8f=ce(_0x18f7a1);_0x4d298a[_0x16ae('0x60')]=_0x171393;let _0x490672=null,_0x5a3fa1=null;if(_0x391c8f||_0x5ed6fd){if(_0x5ed6fd&&!_0x391c8f){_0x535283[_0x16ae('0x94')](_0x171393[_0x16ae('0x5d')](0x0));for(const _0x1663ff of Array[_0x16ae('0x72')](_0x18f7a1[_0x16ae('0x95')]()))_0x535283[_0x16ae('0x74')](_0x1663ff,_0x171393,_0x16ae('0x17'));const _0x212e43=_0x158d48[_0x16ae('0x82')][_0x16ae('0x14')](_0xb58a14[_0x16ae('0x83')]),_0x7acfe8=_0x158d48['columnInsertionIndexes'][_0x16ae('0x14')](_0xb58a14['column']);_0x212e43||_0x7acfe8||(_0x490672=_0x535283[_0x16ae('0x6')](_0x171393));}else _0x391c8f&&!_0x5ed6fd&&(_0x5a3fa1=_0x535283[_0x16ae('0x6')](_0x171393));}else{const _0x25e9d8=_0x535283['createElement'](_0x16ae('0x3e')),_0x368f82=_0x535283[_0x16ae('0x4b')](_0x16ae('0x3e'));_0x535283[_0x16ae('0x2f')](_0x535283[_0x16ae('0x6')](_0x171393),_0x368f82),_0x535283[_0x16ae('0x74')](_0x25e9d8,_0x171393,0x0);for(const _0x47d3eb of Array[_0x16ae('0x72')](_0x18f7a1[_0x16ae('0x95')]()))_0x535283[_0x16ae('0x74')](_0x47d3eb,_0x25e9d8,'end');_0x490672=_0x535283[_0x16ae('0x87')](_0x25e9d8),_0x5a3fa1=_0x535283[_0x16ae('0x87')](_0x368f82);}const _0x294d68=Array[_0x16ae('0x72')](_0x18f7a1['getAttributes']())[_0x16ae('0xa2')](([_0x22f9e7])=>le[_0x16ae('0x14')](_0x22f9e7));_0x158d48[_0x16ae('0x56')][_0x16ae('0x62')]({'element':_0x171393,'attributes':_0x294d68['length']?Object[_0x16ae('0x99')](_0x294d68):null}),_0x490672&&_0x158d48[_0x16ae('0x5a')][_0x16ae('0x62')](_0x490672),_0x5a3fa1&&_0x158d48[_0x16ae('0x18')][_0x16ae('0x62')](_0x5a3fa1);},{'priority':_0x16ae('0x4a')}),_0x110d6f['on'](_0x16ae('0x34'),(_0x2076bf,_0x5c4058)=>{const [_0x3c3660,_0x234b48={}]=_0x5c4058;if(!_0x158d48)return;const _0x45c317=_0x234b48['at']||0x0,_0x32e45f=_0x234b48[_0x16ae('0x58')]||0x1;_0x158d48[_0x16ae('0x96')]=new Array(_0x32e45f)[_0x16ae('0x70')](_0x45c317)[_0x16ae('0x1a')]((_0x5aaaa0,_0x15b7bb)=>_0x5aaaa0+_0x15b7bb);for(const {cell:_0x1b9cc9}of _0x110d6f[_0x16ae('0x31')](_0x3c3660,{'startColumn':_0x45c317,'endColumn':_0x45c317+_0x32e45f-0x1}))_0x158d48[_0x16ae('0x5')][_0x16ae('0x62')](_0x230f52[_0x16ae('0x5e')]['createRangeOn'](_0x1b9cc9));},{'priority':'low'}),_0x110d6f['on'](_0x16ae('0x25'),(_0x3a9620,_0x4a374e)=>{const [_0x2c599b,_0x40a65a={}]=_0x4a374e;if(!_0x158d48)return;const _0x5783bd=_0x40a65a['at']||0x0,_0x497a26=_0x40a65a['rows']||0x1;_0x158d48[_0x16ae('0x82')]=new Array(_0x497a26)[_0x16ae('0x70')](_0x5783bd)['map']((_0x137cf5,_0x211d11)=>_0x137cf5+_0x211d11);for(const {cell:_0x572e69}of _0x110d6f[_0x16ae('0x31')](_0x2c599b,{'startRow':_0x5783bd,'endRow':_0x5783bd+_0x497a26-0x1}))_0x158d48[_0x16ae('0x97')][_0x16ae('0x62')](_0x230f52[_0x16ae('0x5e')][_0x16ae('0x87')](_0x572e69));},{'priority':'low'}),_0x54c99a[_0x16ae('0x66')][_0x16ae('0x2b')](_0x21075c=>{if(_0x21075c[_0x16ae('0x28')]&&_0x21075c['subType'][_0x16ae('0x9f')](_0x16ae('0x91')))return _0x21075c[_0x16ae('0x81')]?{}:{'type':_0x16ae('0x3f'),'content':_0x53f94(_0x230f52[_0x16ae('0x64')],_0x16ae('0x9'))};});const _0x3c4a90=()=>!0x1;for(const _0x3504c6 of[_0x16ae('0x91'),_0x16ae('0x89'),'tablePasteRow',_0x16ae('0xe')])_0x54c99a[_0x16ae('0x30')][_0x16ae('0x5b')](_0x16ae('0x3f'),_0x3504c6,'join',_0x3c4a90),_0x54c99a[_0x16ae('0x30')]['registerCustomCallback'](_0x16ae('0x8b'),_0x3504c6,_0x16ae('0xa4'),_0x3c4a90),_0x54c99a['_suggestionFactory'][_0x16ae('0x5b')](_0x16ae('0x84'),_0x3504c6,'join',_0x3c4a90);_0x54c99a[_0x16ae('0x30')][_0x16ae('0x5b')]('formatBlock',_0x16ae('0xe'),_0x16ae('0x12'),_0x3c4a90),_0x54c99a[_0x16ae('0x30')]['registerCustomCallback']('formatBlock',_0x16ae('0xe'),_0x16ae('0x93'),(_0x3f2e3a,_0x3d7d3f,_0x2fed8e)=>{const _0x3f2213=_0x3f2e3a[_0x16ae('0x1a')](_0x2f6616=>_0x2f6616[_0x16ae('0x26')]())['filter'](_0xfaa9c2=>_0xfaa9c2),_0x2ee665=new Map(_0x3f2213[_0x16ae('0x1a')](_0x24211e=>[_0x24211e,null]));if(_0x158d48)for(const {element:_0x22824a,attributes:_0x3d2a1e}of _0x158d48['cells'])_0x3d2a1e&&_0x2ee665[_0x16ae('0x61')](_0x22824a,_0x3d2a1e);else{if(_0x2fed8e&&_0x2fed8e['markerAttributes'])for(const [_0x1ef53f,_0x2748dc]of Object['entries'](_0x2fed8e[_0x16ae('0x15')])){const _0x4877cf=_0x230f52[_0x16ae('0x5e')][_0x16ae('0x7f')]['get'](_0x1ef53f),_0x5071fe=_0x4877cf?_0x4877cf[_0x16ae('0x55')]()[_0x16ae('0x26')]():null;_0x5071fe&&_0x2ee665['set'](_0x5071fe,_0x2748dc);}}_0x230f52[_0x16ae('0x5e')][_0x16ae('0xa1')](_0x29e1c9=>{for(const [_0x307bbf,_0x160346]of _0x2ee665)_0x29e1c9[_0x16ae('0x65')]({...ae,..._0x160346},_0x307bbf);});});const _0x3dd8af=(_0x110dfe,_0x572499)=>{_0x54c99a[_0x16ae('0x30')]['registerCustomCallback'](_0x110dfe,_0x16ae('0x91'),_0x572499,(_0x28713d,_0x227762,_0x154d28)=>{_0x230f52['model'][_0x16ae('0xa1')](_0x42f413=>{const _0x1b1bfe=[];for(const _0x1968e3 of _0x28713d){const _0x5dfd97=_0x1968e3[_0x16ae('0x8c')][_0x16ae('0x11')];_0x5dfd97['is']('element',_0x16ae('0x3e'))&&_0x1b1bfe['push'](_0x5dfd97);}_0x54c99a[_0x16ae('0x30')][_0x16ae('0x54')](_0x110dfe,null,_0x572499)(_0x28713d,_0x227762,_0x154d28);for(const _0x307c03 of _0x1b1bfe)_0x16ae('0x63')!=_0x307c03['root']['rootName']&&_0x42f413['unwrap'](_0x307c03);});});};_0x3dd8af(_0x16ae('0x3f'),_0x16ae('0x93')),_0x3dd8af(_0x16ae('0x3f'),_0x16ae('0x12')),_0x3dd8af('deletion',_0x16ae('0x93')),_0x3dd8af(_0x16ae('0x8b'),'discard'),_0x54c99a[_0x16ae('0x30')][_0x16ae('0x5b')](_0x16ae('0x3f'),_0x16ae('0x48'),_0x16ae('0x12'),_0x22d23f=>{const _0x51f9e3=_0x22d23f[_0x16ae('0x1a')](_0x70d179=>_0x70d179['getContainedElement']()),_0x58273a=_0x51f9e3[0x0][_0x16ae('0x27')](_0x16ae('0x7b')),{minRow:_0x215095,maxRow:_0x541d0f}=_0x57349d[_0x16ae('0x1e')](_0x51f9e3);_0x110d6f[_0x16ae('0x8e')](_0x58273a,{'at':_0x215095,'rows':_0x541d0f-_0x215095+0x1});}),_0x54c99a[_0x16ae('0x30')]['registerCustomCallback'](_0x16ae('0x3f'),_0x16ae('0x89'),_0x16ae('0x12'),_0x397f52=>{const _0x4068fd=_0x397f52[_0x16ae('0x1a')](_0x4abdba=>_0x4abdba[_0x16ae('0x26')]()),_0x521561=_0x4068fd[0x0]['findAncestor'](_0x16ae('0x7b')),{minColumn:_0x40a2da,maxColumn:_0x1a46cc}=_0x57349d['_getCoordsForCells'](_0x4068fd);_0x110d6f[_0x16ae('0x32')](_0x521561,{'at':_0x40a2da,'columns':_0x1a46cc-_0x40a2da+0x1});});const _0x58414c=(_0x2988bf,_0x7ecd99)=>{if(!_0x7ecd99[_0x16ae('0x28')]||!_0x7ecd99[_0x16ae('0x28')]['startsWith'](_0x16ae('0x91')))return;const _0x413841=_0x7ecd99['attributes'][_0x16ae('0x3d')],_0x246a23=_0x54c99a[_0x16ae('0x36')]()[_0x16ae('0xa2')](_0xb076c=>_0xb076c[_0x16ae('0x40')]&&_0xb076c[_0x16ae('0x9c')]&&_0xb076c[_0x16ae('0x9c')][_0x16ae('0x3d')]==_0x413841);_0x246a23[_0x16ae('0x8f')]&&_0x7ecd99[_0x16ae('0x2')]()[_0x16ae('0x8f')]!=_0x246a23[_0x16ae('0x8f')]&&_0x246a23[_0x16ae('0x57')]((_0x336143,_0x2e9ca7)=>(_0x336143[_0x16ae('0x29')]=_0x2e9ca7,_0x2e9ca7['previous']=_0x336143,_0x2e9ca7));};function _0x16fa38(_0x11230c,_0x24376d=!0x0){const {id:_0x3a40f7}=_0x54c99a[_0x16ae('0x69')](_0x11230c[_0x16ae('0xd')]),_0x4a3909=[_0x16ae('0x6f'),_0x16ae('0x2c')],_0x4e9899=_0x54c99a[_0x16ae('0x47')]['includes'](_0x11230c['markerName']);return _0x4e9899&&_0x4a3909[_0x16ae('0x62')](_0x16ae('0x6d')),{'classes':_0x4a3909,'attributes':{'data-suggestion':_0x3a40f7},'priority':_0x4e9899&&_0x24376d?0xbc2:0xbb8};}_0x54c99a['on'](_0x16ae('0xa3'),_0x58414c,{'priority':'high'}),_0x54c99a['on'](_0x16ae('0xa5'),_0x58414c,{'priority':_0x16ae('0x4a')}),_0x230f52[_0x16ae('0x5e')]['document']['registerPostFixer'](()=>{let _0x22dcfe=!0x1;const _0x234333=Array[_0x16ae('0x72')](_0x230f52[_0x16ae('0x5e')][_0x16ae('0x1f')][_0x16ae('0xf')][_0x16ae('0x6e')]());for(const {name:_0x2d0d6b,data:_0x150b8e}of _0x234333){const {group:_0x297755,type:_0x161951,id:_0x4e028c}=_0x54c99a['_splitMarkerName'](_0x2d0d6b);if(_0x16ae('0x20')!=_0x297755||_0x16ae('0x8b')!=_0x161951||_0x150b8e[_0x16ae('0x5c')])continue;if(!_0x54c99a[_0x16ae('0x92')](_0x4e028c))continue;const _0x59f78f=_0x54c99a[_0x16ae('0x86')](_0x4e028c)['getRanges'](),_0x17fbcd=_0x230f52[_0x16ae('0x2d')]['get'](_0x16ae('0x35'))['me'];for(const _0x37ccd3 of _0x54c99a['getSuggestions']()){if(!_0x37ccd3['isInContent']||_0x37ccd3['author']!=_0x17fbcd)continue;if(_0x16ae('0x84')!=_0x37ccd3[_0x16ae('0x5f')]||_0x16ae('0xe')!=_0x37ccd3[_0x16ae('0x28')])continue;if(_0x37ccd3[_0x16ae('0x7d')]()[_0x16ae('0x52')](_0x52d66a=>_0x59f78f[_0x16ae('0x16')](_0x59f0c6=>_0x59f0c6[_0x16ae('0xc')](_0x52d66a,!0x0))))for(const _0x381e10 of _0x37ccd3[_0x16ae('0x2')]())_0x381e10[_0x16ae('0x40')]&&(_0x381e10[_0x16ae('0x12')](),_0x22dcfe=!0x0);}}return _0x22dcfe;}),_0x230f52['model'][_0x16ae('0x1f')]['registerPostFixer'](_0x1c4647=>{const _0x153819=_0x230f52[_0x16ae('0xa6')][_0x16ae('0x3a')](_0x16ae('0x7a'));if(!_0x153819||!_0x153819[_0x16ae('0x41')][_0x16ae('0x10')](_0x1c4647[_0x16ae('0x9e')]))return!0x1;let _0x210f42=!0x1;const _0x32490a=_0x230f52[_0x16ae('0x2d')]['get'](_0x16ae('0x35'))['me'],_0x197213=_0x230f52['model'][_0x16ae('0x1f')][_0x16ae('0xf')]['getChanges'](),_0x5671ad=Array[_0x16ae('0x72')](_0x230f52[_0x16ae('0x5e')]['document'][_0x16ae('0xf')][_0x16ae('0x6e')]())['filter'](({name:_0x344166,data:_0x1b176b})=>{const {group:_0x1f9e26,subType:_0x445e84,authorId:_0x1c2f3a}=_0x54c99a[_0x16ae('0x69')](_0x344166);return _0x16ae('0x20')==_0x1f9e26&&'tablePaste'==_0x445e84&&_0x1c2f3a==_0x32490a['id']&&!_0x1b176b[_0x16ae('0x5c')];});for(const _0x2f2206 of _0x197213){if(_0x16ae('0x74')!=_0x2f2206[_0x16ae('0x5f')]||'tableCellSuggestion'!=_0x2f2206['name']||0x1!=_0x2f2206[_0x16ae('0x8f')])continue;const _0x428088=_0x1c4647['createRange'](_0x2f2206['position'],_0x2f2206[_0x16ae('0x78')]['getShiftedBy'](0x1));if(!_0x5671ad[_0x16ae('0x42')](({data:_0x533078})=>_0x533078['newRange'][_0x16ae('0x4e')](_0x428088)))for(const {name:_0x4e2c88,data:_0x53dbde}of _0x5671ad)if(_0x428088[_0x16ae('0xc')](_0x53dbde[_0x16ae('0x3')])){_0x1c4647[_0x16ae('0x90')](_0x4e2c88,{'range':_0x428088}),_0x210f42=!0x0;break;}}return _0x210f42;}),_0x230f52[_0x16ae('0x5e')]['document'][_0x16ae('0x13')](_0x16d904=>{let _0x5e2e45=!0x1;const _0x58ef81=_0x230f52[_0x16ae('0x2d')][_0x16ae('0x3a')](_0x16ae('0x35'))['me'],_0x46d6de=_0x54c99a[_0x16ae('0x36')]()[_0x16ae('0xa2')](_0xf38796=>_0xf38796[_0x16ae('0x40')]&&_0xf38796[_0x16ae('0x3c')]==_0x58ef81),_0x318a60=new Set(),_0x515ff6=new Set();for(const _0x49fbe4 of _0x46d6de)if(_0x16ae('0x91')==_0x49fbe4[_0x16ae('0x28')])for(const _0x55ae79 of _0x49fbe4['getMarkers']()){const _0x44a25c=_0x55ae79[_0x16ae('0x55')]()['getContainedElement']();if(_0x44a25c){if(_0x44a25c['is']('element',_0x16ae('0x3e'))&&ce(_0x44a25c)){_0x49fbe4[_0x16ae('0x0')](_0x55ae79[_0x16ae('0x44')]),_0x318a60[_0x16ae('0x1')](_0x44a25c),_0x5e2e45=!0x0;const _0x1a4f59=_0x44a25c['nextSibling'],_0x1e5344=_0x44a25c[_0x16ae('0x6a')],_0x3441fc=_0x1a4f59&&_0x1a4f59['is']('element',_0x16ae('0x3e')),_0x4f4a21=_0x1e5344&&_0x1e5344['is']('element',_0x16ae('0x3e'));_0x3441fc&&!_0x318a60[_0x16ae('0x10')](_0x1a4f59)&&_0x515ff6['add'](_0x1a4f59),_0x4f4a21&&!_0x318a60[_0x16ae('0x10')](_0x1e5344)&&_0x515ff6[_0x16ae('0x1')](_0x1e5344);}else _0x44a25c['is'](_0x16ae('0x24'),_0x16ae('0x45'))&&_0x44a25c['isEmpty']&&(_0x49fbe4['removeMarker'](_0x55ae79[_0x16ae('0x44')]),_0x5e2e45=!0x0);}}else{if('tablePasteCell'==_0x49fbe4[_0x16ae('0x28')]){if(!_0x49fbe4['attributes']||!_0x49fbe4[_0x16ae('0x9c')][_0x16ae('0x3d')])continue;const _0x4ce3d1=_0x49fbe4[_0x16ae('0x9c')][_0x16ae('0x15')];if(_0x4ce3d1&&Object[_0x16ae('0x79')](_0x4ce3d1)[_0x16ae('0x8f')])continue;const _0x40dbaf=_0x49fbe4[_0x16ae('0x9c')][_0x16ae('0x3d')];let _0x2746fb=!0x0,_0x5e235b=!0x0;for(const _0x17c981 of _0x46d6de)if(_0x17c981[_0x16ae('0x28')]&&_0x17c981['subType'][_0x16ae('0x9f')](_0x16ae('0x91'))){if(!_0x17c981['attributes'][_0x16ae('0x3d')]){_0x5e235b=!0x1;break;}if(_0x17c981['id']!=_0x49fbe4['id']&&_0x17c981[_0x16ae('0x9c')][_0x16ae('0x3d')]==_0x40dbaf){_0x2746fb=!0x1;break;}}_0x5e235b&&_0x2746fb&&(_0x49fbe4[_0x16ae('0x2e')](),_0x5e2e45=!0x0);}}for(const _0x435a6d of _0x318a60)_0x16d904['remove'](_0x435a6d);for(const _0x45c254 of _0x515ff6)_0x16d904[_0x16ae('0x22')](_0x45c254);return _0x5e2e45;}),_0x230f52[_0x16ae('0x23')][_0x16ae('0x46')](_0x16ae('0x33'))[_0x16ae('0x49')]({'model':_0x16ae('0x68'),'view':(_0x5c9a21,_0x31e596)=>_0x16fa38(_0x5c9a21),'converterPriority':_0x16ae('0x4a')}),_0x230f52['conversion']['for'](_0x16ae('0x7e'))[_0x16ae('0x49')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4e0e8d,_0x4b51da)=>_0x4b51da['options'][_0x16ae('0x19')]?_0x16fa38(_0x4e0e8d,!0x1):null,'converterPriority':_0x16ae('0x4a')});const _0x2641d0=_0x230f52['editing'][_0x16ae('0x8d')];this['listenTo'](_0x2641d0[_0x16ae('0x1f')],'clipboardOutput',(_0x568354,_0x271a61)=>{const _0x13d948=[];for(const _0x5d1967 of _0x2641d0[_0x16ae('0x6')](_0x271a61[_0x16ae('0x71')])[_0x16ae('0x4d')]())_0x5d1967['is'](_0x16ae('0x24'),'suggestion-td')&&_0x13d948['push'](_0x5d1967);_0x2641d0['change'](_0x453055=>{for(const _0x254a56 of _0x13d948)_0x453055[_0x16ae('0x7')](_0x453055[_0x16ae('0x6')](_0x254a56),_0x453055[_0x16ae('0x75')](_0x254a56)),_0x453055['remove'](_0x254a56);});});}}function ce(_0x28e3f0){if(_0x28e3f0[_0x16ae('0x50')])return!0x0;const _0x52762b=_0x28e3f0[_0x16ae('0x5d')](0x0);return _0x52762b['is']('element',_0x16ae('0x45'))&&_0x52762b[_0x16ae('0x50')];}function fe(_0xb86d80,_0x4f6f05={},_0x264405){for(const {isAnchor:_0x5d8278,cellHeight:_0x485dcc,cellWidth:_0x3acb52}of _0x264405[_0x16ae('0x31')](_0xb86d80,{'includeAllSlots':!0x0,..._0x4f6f05}))if(!_0x5d8278||0x1!=_0x485dcc||0x1!=_0x3acb52)return!0x1;return!0x0;}
23
+ const _0x33a5=['isEmpty','first','push','registerCustomCallback','wrap','change','tablePasteCell','_descriptionFactory','suggestionLoaded','createRangeIn','for','trackChanges','getSuggestions','schema','return','markMultiRangeInsertion','markerAttributes','low','getTableIfOnlyTableInContent','nodeAfter','get','_tablePostFixingSubtypes','remove','tableCellVerticalAlignment','_createdBatches','elementToElement','hasSuggestion','_getCoordsForCells','tableCellBorderColor','createTableWalker','add','tablePasteColumn','createRange','join','columnInsertionRanges','rowInsertionIndexes','Users','markerName','insertRows','tableCellBackgroundColor','tableCellBorderStyle','registerPostFixer','differ','TableClipboard','insertColumns','end','content','columns','tablePasteChainId','length','formatBlock','tableCellSuggestion','unwrap','editor','tablePasteRow','removeColumns','redo','nextSibling','getChanges','element','subType','fromEntries','previous','fill','getChangedMarkers','afterInit','getRowIndexes','getContainedElement','set','rowInsertionRanges','_suggestionFactory','startsWith','createRangeOn','conversion','rows','cells','deletion','insert','tableCell','from','_replaceTableSlotCell','insertContent','suggestion','markers','containsRange','setAttributes','tableCellPadding','findAncestor','paragraph','ck-suggestion-marker-insertion','insertion','getColumnIndexes','plugins','registerDescriptionCallback','getAttributes','suggestion-td','isEqual','batch','getShiftedBy','*Replace\x20table\x20cells*','TableUtils','move','getSuggestionCallback','name','rootName','locale','markerToHighlight','tablePaste','entries','$graveyard','getMarkers','author','suggestion:formatBlock:tablePasteCell','position','endColumn','createPositionBefore','showSuggestionHighlights','includes','getRange','removeMarker','isInContent','filter','has','TrackChangesEditing','removeRows','_splitMarkerName','documentSelection','model','forceDefaultExecution','markMultiRangeBlockFormat','getChildren','cell','editing','columnInsertionIndexes','document','discard','getAllAdjacentSuggestions','createElement','oldRange','commands','getColumns','type','editingDowncast','start','endRow','table','getRows','getSelectionAffectedTableCells','getSuggestion','newRange','map','high','column','attributes','next','getRanges','removeMarkers','row','ck-suggestion-marker--active','reduce','find','getChild','clipboardOutput'];(function(_0x3b2610,_0x33a55b){const _0x4c0c17=function(_0x4bd2f9){while(--_0x4bd2f9){_0x3b2610['push'](_0x3b2610['shift']());}};_0x4c0c17(++_0x33a55b);}(_0x33a5,0x15c));const _0x4c0c=function(_0x3b2610,_0x33a55b){_0x3b2610=_0x3b2610-0x0;let _0x4c0c17=_0x33a5[_0x3b2610];return _0x4c0c17;};import{getTranslation as _0x5e1a6d}from'../utils/common-translations.js';import{Plugin as _0x70ac4b}from'ckeditor5/src/core.js';import{uid as _0x1b5486,priorities as _0x424f3f}from'ckeditor5/src/utils.js';import _0x2f170d from'./table.js';const le=['tableCellBorderWidth',_0x4c0c('0x6'),_0x4c0c('0x12'),'tableCellHorizontalAlignment',_0x4c0c('0x1'),_0x4c0c('0x11'),_0x4c0c('0x40')],ae=Object['fromEntries'](le[_0x4c0c('0x80')](_0x30f35d=>[_0x30f35d,null]));export default class St extends _0x70ac4b{static get['requires'](){return[_0x2f170d];}[_0x4c0c('0x2b')](){const _0x4a28fc=this[_0x4c0c('0x1f')];if(!_0x4a28fc[_0x4c0c('0x46')]['has'](_0x4c0c('0x15')))return;const _0x1472ed=_0x4a28fc[_0x4c0c('0x46')][_0x4c0c('0xa1')](_0x4c0c('0x65')),_0x4fb501=_0x4a28fc[_0x4c0c('0x46')][_0x4c0c('0xa1')](_0x4c0c('0x4e')),_0x2c7f85=_0x4a28fc[_0x4c0c('0x46')]['get'](_0x2f170d),_0x3d0422=_0x4a28fc[_0x4c0c('0x46')]['get']('TableClipboard');_0x2c7f85[_0x4c0c('0xa2')][_0x4c0c('0x8f')]('tablePasteRow',_0x4c0c('0x9')),_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x9a')]['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':_0x4c0c('0x38'),'isLimit':!0x0}),_0x4a28fc['conversion'][_0x4c0c('0x3')]({'model':'tableCellSuggestion','view':_0x4c0c('0x49')});let _0x1d699f=null;_0x4a28fc[_0x4c0c('0x69')]['on'](_0x4c0c('0x3b'),(_0x134697,_0x47fc6f)=>{const [_0x16a01e,_0x3b583f]=_0x47fc6f,_0xc86bf6=_0x47fc6f[_0x47fc6f[_0x4c0c('0x1b')]-0x1];_0xc86bf6&&_0xc86bf6[_0x4c0c('0x6a')]||_0x1472ed['_isForcedDefaultExecutionBlock']||this['editor'][_0x4c0c('0x75')][_0x4c0c('0xa1')](_0x4c0c('0x98'))['value']&&function(_0xc2fb78,_0x5191ae,_0x34b02c,_0x5bab82,_0x3e4cc8){if(_0x5191ae&&!_0x5191ae['is'](_0x4c0c('0x68')))return!0x1;const _0x334226=_0x3e4cc8[_0x4c0c('0x9f')](_0xc2fb78,_0x34b02c);if(!_0x334226||!fe(_0x334226,void 0x0,_0x5bab82))return!0x1;const _0x4f23c6=_0x5bab82[_0x4c0c('0x7d')](_0x34b02c[_0x4c0c('0x70')]['selection']);if(!_0x4f23c6['length'])return!0x1;const _0x76b256=_0x4f23c6[0x0][_0x4c0c('0x41')](_0x4c0c('0x7b')),_0x254b8d=_0x5bab82[_0x4c0c('0x2c')](_0x4f23c6),_0x5bdc73=_0x5bab82[_0x4c0c('0x45')](_0x4f23c6),_0x4ea06d={'startRow':_0x254b8d[_0x4c0c('0x8e')],'endRow':_0x254b8d['last'],'startColumn':_0x5bdc73[_0x4c0c('0x8e')],'endColumn':_0x5bdc73['last']};return 0x1==_0x4f23c6[_0x4c0c('0x1b')]&&(_0x4ea06d[_0x4c0c('0x7a')]+=_0x5bab82[_0x4c0c('0x7c')](_0x334226)-0x1,_0x4ea06d[_0x4c0c('0x5c')]+=_0x5bab82[_0x4c0c('0x76')](_0x334226)-0x1),fe(_0x76b256,_0x4ea06d,_0x5bab82);}(_0x16a01e,_0x3b583f,_0x4a28fc['model'],_0x4fb501,_0x3d0422)&&(_0x134697['stop'](),_0x1d699f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4a28fc['model'][_0x4c0c('0x92')](()=>{_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x3b')](_0x47fc6f[0x0],_0x47fc6f[0x1],_0x47fc6f[0x2],{'forceDefaultExecution':!0x0});const _0x4640b0=_0x1b5486(),{rowInsertionRanges:_0x40b182,columnInsertionRanges:_0x32d37a,insertionRanges:_0x5cbc81,deletionRanges:_0x4652ce,cells:_0x2d9235}=_0x1d699f;_0x40b182['length']&&_0x1472ed['markMultiRangeInsertion'](_0x40b182,_0x4c0c('0x20'),{'tablePasteChainId':_0x4640b0}),_0x32d37a['length']&&_0x1472ed[_0x4c0c('0x9c')](_0x32d37a,_0x4c0c('0x9'),{'tablePasteChainId':_0x4640b0}),_0x5cbc81[_0x4c0c('0x1b')]&&_0x1472ed[_0x4c0c('0x9c')](_0x5cbc81,_0x4c0c('0x55'),{'tablePasteChainId':_0x4640b0,'skipNestingCheck':!0x0}),_0x4652ce[_0x4c0c('0x1b')]&&_0x1472ed['markMultiRangeDeletion'](_0x4652ce,_0x4c0c('0x55'),{'tablePasteChainId':_0x4640b0,'skipNestingCheck':!0x0});const _0x855f1d=_0x1472ed[_0x4c0c('0x6b')](_0x2d9235[_0x4c0c('0x80')](({element:_0x2b7541})=>_0x2b7541),{'formatGroupId':_0x1b5486()},[],_0x4c0c('0x93'),{'tablePasteChainId':_0x4640b0});if(_0x855f1d){const _0x10bf9a=_0x855f1d[_0x4c0c('0x58')](),_0xf8a4c1=[];for(const {element:_0x7183bc,attributes:_0x45d30c}of _0x2d9235){if(!_0x45d30c)continue;const _0x20a1e0=_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x32')](_0x7183bc),_0x11727d=_0x10bf9a[_0x4c0c('0x8a')](_0xcb0a5c=>_0xcb0a5c[_0x4c0c('0x60')]()[_0x4c0c('0x4a')](_0x20a1e0));_0x11727d&&_0xf8a4c1[_0x4c0c('0x8f')]([_0x11727d['name'],_0x45d30c]);}_0xf8a4c1[_0x4c0c('0x1b')]&&_0x855f1d['setAttribute'](_0x4c0c('0x9d'),Object['fromEntries'](_0xf8a4c1));}_0x1d699f=null;}));},{'priority':_0x424f3f[_0x4c0c('0x81')]+0xa}),_0x4a28fc[_0x4c0c('0x46')][_0x4c0c('0xa1')](_0x4c0c('0x15'))['on'](_0x4c0c('0x3a'),(_0x2499d2,_0x40d039)=>{const [_0xc333d7,_0x665ee1,,_0x4f7155]=_0x40d039;if(!_0x1d699f)return;_0x2499d2['stop']();const _0x1121a6=_0xc333d7[_0x4c0c('0x6d')],_0x36fe70=_0x665ee1,_0x5269e4=ce(_0x1121a6),_0x4c537f=ce(_0x36fe70);_0x2499d2[_0x4c0c('0x9b')]=_0x1121a6;let _0x34acb9=null,_0x33296e=null;if(_0x4c537f||_0x5269e4){if(_0x5269e4&&!_0x4c537f){_0x4f7155[_0x4c0c('0x0')](_0x1121a6[_0x4c0c('0x8b')](0x0));for(const _0x506f29 of Array[_0x4c0c('0x39')](_0x36fe70[_0x4c0c('0x6c')]()))_0x4f7155[_0x4c0c('0x37')](_0x506f29,_0x1121a6,'end');const _0x4db6f3=_0x1d699f[_0x4c0c('0xd')][_0x4c0c('0x5f')](_0xc333d7[_0x4c0c('0x87')]),_0x421796=_0x1d699f[_0x4c0c('0x6f')][_0x4c0c('0x5f')](_0xc333d7[_0x4c0c('0x82')]);_0x4db6f3||_0x421796||(_0x34acb9=_0x4f7155[_0x4c0c('0x96')](_0x1121a6));}else _0x4c537f&&!_0x5269e4&&(_0x33296e=_0x4f7155[_0x4c0c('0x96')](_0x1121a6));}else{const _0xe8143f=_0x4f7155[_0x4c0c('0x73')]('tableCellSuggestion'),_0x47da3c=_0x4f7155['createElement'](_0x4c0c('0x1d'));_0x4f7155[_0x4c0c('0x91')](_0x4f7155['createRangeIn'](_0x1121a6),_0x47da3c),_0x4f7155['insert'](_0xe8143f,_0x1121a6,0x0);for(const _0x2020d4 of Array[_0x4c0c('0x39')](_0x36fe70[_0x4c0c('0x6c')]()))_0x4f7155[_0x4c0c('0x37')](_0x2020d4,_0xe8143f,_0x4c0c('0x17'));_0x34acb9=_0x4f7155[_0x4c0c('0x32')](_0xe8143f),_0x33296e=_0x4f7155['createRangeOn'](_0x47da3c);}const _0x7eca43=Array[_0x4c0c('0x39')](_0x36fe70[_0x4c0c('0x48')]())['filter'](([_0x127be6])=>le[_0x4c0c('0x5f')](_0x127be6));_0x1d699f[_0x4c0c('0x35')][_0x4c0c('0x8f')]({'element':_0x1121a6,'attributes':_0x7eca43[_0x4c0c('0x1b')]?Object[_0x4c0c('0x27')](_0x7eca43):null}),_0x34acb9&&_0x1d699f['insertionRanges'][_0x4c0c('0x8f')](_0x34acb9),_0x33296e&&_0x1d699f['deletionRanges'][_0x4c0c('0x8f')](_0x33296e);},{'priority':_0x4c0c('0x81')}),_0x4fb501['on'](_0x4c0c('0x16'),(_0x5de0bf,_0x23f283)=>{const [_0x4c7ae8,_0x214c96={}]=_0x23f283;if(!_0x1d699f)return;const _0x5a6aea=_0x214c96['at']||0x0,_0x5e7dbb=_0x214c96[_0x4c0c('0x19')]||0x1;_0x1d699f[_0x4c0c('0x6f')]=new Array(_0x5e7dbb)[_0x4c0c('0x29')](_0x5a6aea)[_0x4c0c('0x80')]((_0x2242f9,_0x5e71e6)=>_0x2242f9+_0x5e71e6);for(const {cell:_0x1e7576}of _0x4fb501['createTableWalker'](_0x4c7ae8,{'startColumn':_0x5a6aea,'endColumn':_0x5a6aea+_0x5e7dbb-0x1}))_0x1d699f[_0x4c0c('0xc')]['push'](_0x4a28fc['model'][_0x4c0c('0x32')](_0x1e7576));},{'priority':'low'}),_0x4fb501['on'](_0x4c0c('0x10'),(_0x61402,_0x481e2)=>{const [_0x65d7c3,_0x2187d9={}]=_0x481e2;if(!_0x1d699f)return;const _0x596955=_0x2187d9['at']||0x0,_0xd4def3=_0x2187d9[_0x4c0c('0x34')]||0x1;_0x1d699f[_0x4c0c('0xd')]=new Array(_0xd4def3)[_0x4c0c('0x29')](_0x596955)[_0x4c0c('0x80')]((_0x1e094d,_0x3ebb72)=>_0x1e094d+_0x3ebb72);for(const {cell:_0x51a2bc}of _0x4fb501['createTableWalker'](_0x65d7c3,{'startRow':_0x596955,'endRow':_0x596955+_0xd4def3-0x1}))_0x1d699f[_0x4c0c('0x2f')][_0x4c0c('0x8f')](_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x32')](_0x51a2bc));},{'priority':_0x4c0c('0x9e')}),_0x1472ed[_0x4c0c('0x94')][_0x4c0c('0x47')](_0x1f6a8b=>{if(_0x1f6a8b['subType']&&_0x1f6a8b[_0x4c0c('0x26')][_0x4c0c('0x31')](_0x4c0c('0x55')))return _0x1f6a8b[_0x4c0c('0x28')]?{}:{'type':_0x4c0c('0x44'),'content':_0x5e1a6d(_0x4a28fc[_0x4c0c('0x53')],_0x4c0c('0x4d'))};});const _0x4e6a8f=()=>!0x1;for(const _0x2f09f1 of['tablePaste',_0x4c0c('0x9'),_0x4c0c('0x20'),_0x4c0c('0x93')])_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x90')](_0x4c0c('0x44'),_0x2f09f1,_0x4c0c('0xb'),_0x4e6a8f),_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x90')](_0x4c0c('0x36'),_0x2f09f1,_0x4c0c('0xb'),_0x4e6a8f),_0x1472ed[_0x4c0c('0x30')]['registerCustomCallback']('formatBlock',_0x2f09f1,'join',_0x4e6a8f);_0x1472ed['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4c0c('0x93'),_0x4c0c('0x71'),_0x4e6a8f),_0x1472ed[_0x4c0c('0x30')]['registerCustomCallback'](_0x4c0c('0x1c'),'tablePasteCell','accept',(_0x22bc07,_0x36cf24,_0x1e409d)=>{const _0x2529ec=_0x22bc07[_0x4c0c('0x80')](_0x34c9d2=>_0x34c9d2[_0x4c0c('0x2d')]())[_0x4c0c('0x63')](_0x361972=>_0x361972),_0xe80992=new Map(_0x2529ec[_0x4c0c('0x80')](_0xc3144f=>[_0xc3144f,null]));if(_0x1d699f)for(const {element:_0x2050ae,attributes:_0x1f60a7}of _0x1d699f[_0x4c0c('0x35')])_0x1f60a7&&_0xe80992[_0x4c0c('0x2e')](_0x2050ae,_0x1f60a7);else{if(_0x1e409d&&_0x1e409d[_0x4c0c('0x9d')])for(const [_0x42fcc9,_0x221e9b]of Object[_0x4c0c('0x56')](_0x1e409d[_0x4c0c('0x9d')])){const _0x3a6fb7=_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x3d')][_0x4c0c('0xa1')](_0x42fcc9),_0x2eed2f=_0x3a6fb7?_0x3a6fb7[_0x4c0c('0x60')]()[_0x4c0c('0x2d')]():null;_0x2eed2f&&_0xe80992['set'](_0x2eed2f,_0x221e9b);}}_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x92')](_0x2dac92=>{for(const [_0x20d2ea,_0x848438]of _0xe80992)_0x2dac92[_0x4c0c('0x3f')]({...ae,..._0x848438},_0x20d2ea);});});const _0xabb209=(_0x43d995,_0x5db9d5)=>{_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x90')](_0x43d995,_0x4c0c('0x55'),_0x5db9d5,(_0x926d4,_0x546fa4,_0x3deb34)=>{_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x92')](_0x32c92e=>{const _0x26f8cc=[];for(const _0x287038 of _0x926d4){const _0x469e93=_0x287038[_0x4c0c('0x79')][_0x4c0c('0xa0')];_0x469e93['is'](_0x4c0c('0x25'),_0x4c0c('0x1d'))&&_0x26f8cc[_0x4c0c('0x8f')](_0x469e93);}_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x50')](_0x43d995,null,_0x5db9d5)(_0x926d4,_0x546fa4,_0x3deb34);for(const _0x348bbe of _0x26f8cc)_0x4c0c('0x57')!=_0x348bbe['root'][_0x4c0c('0x52')]&&_0x32c92e[_0x4c0c('0x1e')](_0x348bbe);});});};_0xabb209(_0x4c0c('0x44'),'accept'),_0xabb209(_0x4c0c('0x44'),_0x4c0c('0x71')),_0xabb209(_0x4c0c('0x36'),'accept'),_0xabb209(_0x4c0c('0x36'),'discard'),_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x90')](_0x4c0c('0x44'),_0x4c0c('0x20'),_0x4c0c('0x71'),_0x5c5a34=>{const _0x50d268=_0x5c5a34[_0x4c0c('0x80')](_0x5d77ec=>_0x5d77ec[_0x4c0c('0x2d')]()),_0x517cb3=_0x50d268[0x0]['findAncestor']('table'),{minRow:_0x2cf1a0,maxRow:_0xd56623}=_0x2c7f85[_0x4c0c('0x5')](_0x50d268);_0x4fb501[_0x4c0c('0x66')](_0x517cb3,{'at':_0x2cf1a0,'rows':_0xd56623-_0x2cf1a0+0x1});}),_0x1472ed[_0x4c0c('0x30')][_0x4c0c('0x90')](_0x4c0c('0x44'),_0x4c0c('0x9'),_0x4c0c('0x71'),_0x449bfc=>{const _0x1a49da=_0x449bfc['map'](_0x1c61ae=>_0x1c61ae[_0x4c0c('0x2d')]()),_0x5efdc5=_0x1a49da[0x0][_0x4c0c('0x41')](_0x4c0c('0x7b')),{minColumn:_0xbcd466,maxColumn:_0x4cc64f}=_0x2c7f85['_getCoordsForCells'](_0x1a49da);_0x4fb501[_0x4c0c('0x21')](_0x5efdc5,{'at':_0xbcd466,'columns':_0x4cc64f-_0xbcd466+0x1});});const _0x375a30=(_0x3f7f75,_0x2faa15)=>{if(!_0x2faa15[_0x4c0c('0x26')]||!_0x2faa15[_0x4c0c('0x26')][_0x4c0c('0x31')](_0x4c0c('0x55')))return;const _0x1dc78a=_0x2faa15[_0x4c0c('0x83')]['tablePasteChainId'],_0x4ae317=_0x1472ed[_0x4c0c('0x99')]()['filter'](_0x99d2bb=>_0x99d2bb[_0x4c0c('0x62')]&&_0x99d2bb['attributes']&&_0x99d2bb[_0x4c0c('0x83')][_0x4c0c('0x1a')]==_0x1dc78a);_0x4ae317[_0x4c0c('0x1b')]&&_0x2faa15['getAllAdjacentSuggestions']()['length']!=_0x4ae317[_0x4c0c('0x1b')]&&_0x4ae317[_0x4c0c('0x89')]((_0x5913dc,_0x5b10ba)=>(_0x5913dc[_0x4c0c('0x84')]=_0x5b10ba,_0x5b10ba[_0x4c0c('0x28')]=_0x5913dc,_0x5b10ba));};function _0x100e2a(_0x2aa8af,_0x1e6f7a=!0x0){const {id:_0x2db02d}=_0x1472ed[_0x4c0c('0x67')](_0x2aa8af[_0x4c0c('0xf')]),_0x5230ad=['ck-suggestion-marker',_0x4c0c('0x43')],_0x5ab2ea=_0x1472ed['activeMarkers'][_0x4c0c('0x5f')](_0x2aa8af[_0x4c0c('0xf')]);return _0x5ab2ea&&_0x5230ad[_0x4c0c('0x8f')](_0x4c0c('0x88')),{'classes':_0x5230ad,'attributes':{'data-suggestion':_0x2db02d},'priority':_0x5ab2ea&&_0x1e6f7a?0xbc2:0xbb8};}_0x1472ed['on'](_0x4c0c('0x95'),_0x375a30,{'priority':'high'}),_0x1472ed['on']('suggestionUnloaded',_0x375a30,{'priority':_0x4c0c('0x81')}),_0x4a28fc['model'][_0x4c0c('0x70')][_0x4c0c('0x13')](()=>{let _0x4280f1=!0x1;const _0x30711e=Array['from'](_0x4a28fc[_0x4c0c('0x69')][_0x4c0c('0x70')]['differ']['getChangedMarkers']());for(const {name:_0x49ed0b,data:_0x30f5d7}of _0x30711e){const {group:_0x59c2f5,type:_0x5f4d8d,id:_0x2b1017}=_0x1472ed['_splitMarkerName'](_0x49ed0b);if('suggestion'!=_0x59c2f5||'deletion'!=_0x5f4d8d||_0x30f5d7[_0x4c0c('0x74')])continue;if(!_0x1472ed[_0x4c0c('0x4')](_0x2b1017))continue;const _0x44a722=_0x1472ed[_0x4c0c('0x7e')](_0x2b1017)[_0x4c0c('0x85')](),_0x1dd0f0=_0x4a28fc[_0x4c0c('0x46')][_0x4c0c('0xa1')](_0x4c0c('0xe'))['me'];for(const _0x5e4466 of _0x1472ed[_0x4c0c('0x99')]()){if(!_0x5e4466['isInContent']||_0x5e4466[_0x4c0c('0x59')]!=_0x1dd0f0)continue;if(_0x4c0c('0x1c')!=_0x5e4466[_0x4c0c('0x77')]||_0x4c0c('0x93')!=_0x5e4466[_0x4c0c('0x26')])continue;if(_0x5e4466[_0x4c0c('0x85')]()['every'](_0x2fd723=>_0x44a722['some'](_0xcb00d7=>_0xcb00d7[_0x4c0c('0x3e')](_0x2fd723,!0x0))))for(const _0x42e408 of _0x5e4466[_0x4c0c('0x72')]())_0x42e408[_0x4c0c('0x62')]&&(_0x42e408[_0x4c0c('0x71')](),_0x4280f1=!0x0);}}return _0x4280f1;}),_0x4a28fc['model']['document'][_0x4c0c('0x13')](_0x482abf=>{const _0x3f9aa4=_0x4a28fc[_0x4c0c('0x75')][_0x4c0c('0xa1')](_0x4c0c('0x22'));if(!_0x3f9aa4||!_0x3f9aa4[_0x4c0c('0x2')][_0x4c0c('0x64')](_0x482abf[_0x4c0c('0x4b')]))return!0x1;let _0xc228af=!0x1;const _0x5a5056=_0x4a28fc[_0x4c0c('0x46')][_0x4c0c('0xa1')](_0x4c0c('0xe'))['me'],_0x5bdbac=_0x4a28fc['model'][_0x4c0c('0x70')][_0x4c0c('0x14')][_0x4c0c('0x24')](),_0x5c3541=Array[_0x4c0c('0x39')](_0x4a28fc['model'][_0x4c0c('0x70')]['differ'][_0x4c0c('0x2a')]())[_0x4c0c('0x63')](({name:_0xe1de3d,data:_0x3bcfae})=>{const {group:_0x1ee037,subType:_0x2a71ff,authorId:_0x57a174}=_0x1472ed[_0x4c0c('0x67')](_0xe1de3d);return _0x4c0c('0x3c')==_0x1ee037&&_0x4c0c('0x55')==_0x2a71ff&&_0x57a174==_0x5a5056['id']&&!_0x3bcfae[_0x4c0c('0x74')];});for(const _0x4a1524 of _0x5bdbac){if('insert'!=_0x4a1524[_0x4c0c('0x77')]||'tableCellSuggestion'!=_0x4a1524[_0x4c0c('0x51')]||0x1!=_0x4a1524[_0x4c0c('0x1b')])continue;const _0x2e967c=_0x482abf[_0x4c0c('0xa')](_0x4a1524[_0x4c0c('0x5b')],_0x4a1524[_0x4c0c('0x5b')][_0x4c0c('0x4c')](0x1));if(!_0x5c3541[_0x4c0c('0x8a')](({data:_0x551636})=>_0x551636['newRange'][_0x4c0c('0x4a')](_0x2e967c)))for(const {name:_0x369c1b,data:_0x4b190b}of _0x5c3541)if(_0x2e967c[_0x4c0c('0x3e')](_0x4b190b[_0x4c0c('0x7f')])){_0x482abf['updateMarker'](_0x369c1b,{'range':_0x2e967c}),_0xc228af=!0x0;break;}}return _0xc228af;}),_0x4a28fc['model'][_0x4c0c('0x70')][_0x4c0c('0x13')](_0x5e3516=>{let _0x3d6c98=!0x1;const _0x527121=_0x4a28fc['plugins'][_0x4c0c('0xa1')](_0x4c0c('0xe'))['me'],_0x3f6fdd=_0x1472ed[_0x4c0c('0x99')]()[_0x4c0c('0x63')](_0x236318=>_0x236318[_0x4c0c('0x62')]&&_0x236318[_0x4c0c('0x59')]==_0x527121),_0x2bed1f=new Set(),_0x23cab3=new Set();for(const _0x34a0a0 of _0x3f6fdd)if(_0x4c0c('0x55')==_0x34a0a0['subType'])for(const _0x2ca86c of _0x34a0a0[_0x4c0c('0x58')]()){const _0x4d34c9=_0x2ca86c[_0x4c0c('0x60')]()[_0x4c0c('0x2d')]();if(_0x4d34c9){if(_0x4d34c9['is']('element','tableCellSuggestion')&&ce(_0x4d34c9)){_0x34a0a0[_0x4c0c('0x61')](_0x2ca86c[_0x4c0c('0x51')]),_0x2bed1f[_0x4c0c('0x8')](_0x4d34c9),_0x3d6c98=!0x0;const _0x545e05=_0x4d34c9[_0x4c0c('0x23')],_0x25a66f=_0x4d34c9['previousSibling'],_0x2a78d4=_0x545e05&&_0x545e05['is']('element','tableCellSuggestion'),_0x458af4=_0x25a66f&&_0x25a66f['is'](_0x4c0c('0x25'),_0x4c0c('0x1d'));_0x2a78d4&&!_0x2bed1f[_0x4c0c('0x64')](_0x545e05)&&_0x23cab3[_0x4c0c('0x8')](_0x545e05),_0x458af4&&!_0x2bed1f[_0x4c0c('0x64')](_0x25a66f)&&_0x23cab3['add'](_0x25a66f);}else _0x4d34c9['is']('element','paragraph')&&_0x4d34c9[_0x4c0c('0x8d')]&&(_0x34a0a0[_0x4c0c('0x61')](_0x2ca86c[_0x4c0c('0x51')]),_0x3d6c98=!0x0);}}else{if(_0x4c0c('0x93')==_0x34a0a0['subType']){if(!_0x34a0a0[_0x4c0c('0x83')]||!_0x34a0a0[_0x4c0c('0x83')][_0x4c0c('0x1a')])continue;const _0x5017fc=_0x34a0a0['attributes']['markerAttributes'];if(_0x5017fc&&Object['keys'](_0x5017fc)[_0x4c0c('0x1b')])continue;const _0x58bf8c=_0x34a0a0[_0x4c0c('0x83')][_0x4c0c('0x1a')];let _0xe23325=!0x0,_0x15d2a1=!0x0;for(const _0x3fa0cb of _0x3f6fdd)if(_0x3fa0cb[_0x4c0c('0x26')]&&_0x3fa0cb[_0x4c0c('0x26')]['startsWith'](_0x4c0c('0x55'))){if(!_0x3fa0cb[_0x4c0c('0x83')][_0x4c0c('0x1a')]){_0x15d2a1=!0x1;break;}if(_0x3fa0cb['id']!=_0x34a0a0['id']&&_0x3fa0cb[_0x4c0c('0x83')][_0x4c0c('0x1a')]==_0x58bf8c){_0xe23325=!0x1;break;}}_0x15d2a1&&_0xe23325&&(_0x34a0a0[_0x4c0c('0x86')](),_0x3d6c98=!0x0);}}for(const _0x581695 of _0x2bed1f)_0x5e3516[_0x4c0c('0x0')](_0x581695);for(const _0x41c92f of _0x23cab3)_0x5e3516[_0x4c0c('0x1e')](_0x41c92f);return _0x3d6c98;}),_0x4a28fc[_0x4c0c('0x33')][_0x4c0c('0x97')](_0x4c0c('0x78'))[_0x4c0c('0x54')]({'model':_0x4c0c('0x5a'),'view':(_0x1fdc1f,_0x374ad2)=>_0x100e2a(_0x1fdc1f),'converterPriority':_0x4c0c('0x81')}),_0x4a28fc[_0x4c0c('0x33')]['for']('dataDowncast')[_0x4c0c('0x54')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4d65a9,_0x9fc6d2)=>_0x9fc6d2['options'][_0x4c0c('0x5e')]?_0x100e2a(_0x4d65a9,!0x1):null,'converterPriority':_0x4c0c('0x81')});const _0x5f3f5c=_0x4a28fc[_0x4c0c('0x6e')]['view'];this['listenTo'](_0x5f3f5c[_0x4c0c('0x70')],_0x4c0c('0x8c'),(_0xf1a00f,_0x3cb3fb)=>{const _0x1adfa7=[];for(const _0xdac48c of _0x5f3f5c[_0x4c0c('0x96')](_0x3cb3fb[_0x4c0c('0x18')])['getItems']())_0xdac48c['is'](_0x4c0c('0x25'),_0x4c0c('0x49'))&&_0x1adfa7[_0x4c0c('0x8f')](_0xdac48c);_0x5f3f5c[_0x4c0c('0x92')](_0x3269b7=>{for(const _0x39cb6c of _0x1adfa7)_0x3269b7[_0x4c0c('0x4f')](_0x3269b7[_0x4c0c('0x96')](_0x39cb6c),_0x3269b7[_0x4c0c('0x5d')](_0x39cb6c)),_0x3269b7['remove'](_0x39cb6c);});});}}function ce(_0x124734){if(_0x124734[_0x4c0c('0x8d')])return!0x0;const _0x54a262=_0x124734[_0x4c0c('0x8b')](0x0);return _0x54a262['is'](_0x4c0c('0x25'),_0x4c0c('0x42'))&&_0x54a262[_0x4c0c('0x8d')];}function fe(_0x3b8b5c,_0x59a9c8={},_0x4b0a3e){for(const {isAnchor:_0x18c4e0,cellHeight:_0x591605,cellWidth:_0x370dce}of _0x4b0a3e[_0x4c0c('0x7')](_0x3b8b5c,{'includeAllSlots':!0x0,..._0x59a9c8}))if(!_0x18c4e0||0x1!=_0x591605||0x1!=_0x370dce)return!0x1;return!0x0;}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module track-changes/integrations/tablecolumnresize
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Element } from 'ckeditor5/src/engine';
10
- import type Suggestion from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Element } from 'ckeditor5/src/engine.js';
10
+ import type Suggestion from '../suggestion.js';
11
+ import type { Description } from '../suggestiondescriptionfactory.js';
12
12
  /**
13
13
  * Provides track changes plugin integration for table column resize feature.
14
14
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df8=['getContainedElement','TableColumnResizeEditing','bind','change','has','locale','Users','formatInline','resizeTableWidth','editor','formatGroupId','model','accept','subType','registerCustomCallback','plugins','getColumnGroupElement','selection','getTableColumnsWidths','get','columnWidths','document','formatBlock','discard','resizeTable','TrackChangesEditing','tableWidth','data','markBlockFormat','type','getSuggestions','*Format:*\x20resize\x20table','author','_suggestionFactory','enableCommand','getSelectedElement','getSuggestionCallback'];(function(_0x3f2c32,_0x1df825){const _0x1d39f7=function(_0x24b8dc){while(--_0x24b8dc){_0x3f2c32['push'](_0x3f2c32['shift']());}};_0x1d39f7(++_0x1df825);}(_0x1df8,0x16d));const _0x1d39=function(_0x3f2c32,_0x1df825){_0x3f2c32=_0x3f2c32-0x0;let _0x1d39f7=_0x1df8[_0x3f2c32];return _0x1d39f7;};import{Plugin as _0x112791}from'ckeditor5/src/core';import{getTranslation as _0x5a90fa}from'../utils/common-translations';export default class It extends _0x112791{['afterInit'](){if(!this['editor'][_0x1d39('0x14')][_0x1d39('0x9')](_0x1d39('0x6')))return;const _0x288dc7=this[_0x1d39('0xe')][_0x1d39('0x14')][_0x1d39('0x18')](_0x1d39('0x1e'));_0x288dc7[_0x1d39('0x2')](_0x1d39('0xd'),this['handleResizeTableWidthCommand'][_0x1d39('0x7')](this)),_0x288dc7[_0x1d39('0x1')][_0x1d39('0x13')]('formatBlock',_0x1d39('0x1d'),_0x1d39('0x11'),_0x288dc7[_0x1d39('0x1')]['getSuggestionCallback']('formatBlock',null,_0x1d39('0x1c'))),_0x288dc7[_0x1d39('0x1')]['registerCustomCallback'](_0x1d39('0x1b'),_0x1d39('0x1d'),_0x1d39('0x1c'),_0x288dc7[_0x1d39('0x1')][_0x1d39('0x4')](_0x1d39('0x1b'),null,_0x1d39('0x11'))),_0x288dc7['_descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x231de2,_0xf482d1){const _0x3536c0=this[_0x1d39('0xe')][_0x1d39('0x14')]['get'](_0x1d39('0x1e')),_0x2e4354=this[_0x1d39('0xe')][_0x1d39('0x14')]['get']('TableColumnResizeEditing'),_0x56aeb6=_0xf482d1['table']||this[_0x1d39('0xe')][_0x1d39('0x10')][_0x1d39('0x1a')][_0x1d39('0x16')][_0x1d39('0x3')]();this[_0x1d39('0xe')]['model'][_0x1d39('0x8')](()=>{const _0x15e82b=_0x2e4354[_0x1d39('0x15')](_0x56aeb6);let _0x29620a=_0x15e82b?_0x2e4354[_0x1d39('0x17')](_0x15e82b):null,_0x3c8332=_0x56aeb6['getAttribute']('tableWidth')||null;const _0x61872e=_0xf482d1['tableWidth']||_0x3c8332,_0x575a45=_0xf482d1[_0x1d39('0x19')]||_0x29620a,_0x381dbc=this[_0x1d39('0xe')][_0x1d39('0x14')][_0x1d39('0x18')](_0x1d39('0xb'))['me'];for(const _0x398e9d of _0x3536c0[_0x1d39('0x23')]()){const _0x5055ae=_0x398e9d[_0x1d39('0x5')]();if(_0x1d39('0x1d')===_0x398e9d[_0x1d39('0x12')]&&_0x5055ae===_0x56aeb6){_0x398e9d[_0x1d39('0x0')]!==_0x381dbc&&_0x398e9d[_0x1d39('0x1c')]();const _0x4a599a=_0x398e9d[_0x1d39('0x20')]['commandParams'];_0x3c8332=_0x4a599a[0x0][_0x1d39('0x1f')],_0x29620a=_0x4a599a[0x0][_0x1d39('0x19')];break;}}_0x231de2({'table':_0x56aeb6,'tableWidth':_0x61872e,'columnWidths':_0x575a45}),_0x3536c0[_0x1d39('0x21')](_0x56aeb6,{'commandName':_0x1d39('0xd'),'commandParams':[{'tableWidth':_0x3c8332,'columnWidths':_0x29620a}],'formatGroupId':_0x1d39('0x1d')},[],'resizeTable');});}['handleSuggestionDescription'](_0x2494c3){if(_0x1d39('0x1b')!=_0x2494c3[_0x1d39('0x22')]&&_0x1d39('0xc')!=_0x2494c3[_0x1d39('0x22')])return;const {data:_0x1942cf}=_0x2494c3;if(_0x1942cf&&'resizeTable'===_0x1942cf[_0x1d39('0xf')]){const _0x2a31ce=_0x1d39('0x24');return{'type':'format','content':_0x5a90fa(this['editor'][_0x1d39('0xa')],_0x2a31ce)};}}}
23
+ const _0xf4a5=['handleSuggestionDescription','change','document','editor','author','formatInline','get','getAttribute','table','TableColumnResizeEditing','enableCommand','markBlockFormat','has','data','plugins','getSelectedElement','Users','_descriptionFactory','registerDescriptionCallback','_suggestionFactory','TrackChangesEditing','afterInit','commandParams','columnWidths','registerCustomCallback','getSuggestions','resizeTableWidth','getSuggestionCallback','type','subType','discard','resizeTable','formatGroupId','format','formatBlock','*Format:*\x20resize\x20table','tableWidth','accept','handleResizeTableWidthCommand','getTableColumnsWidths','bind'];(function(_0x4868c2,_0xf4a5d3){const _0x203a82=function(_0x325b73){while(--_0x325b73){_0x4868c2['push'](_0x4868c2['shift']());}};_0x203a82(++_0xf4a5d3);}(_0xf4a5,0x76));const _0x203a=function(_0x4868c2,_0xf4a5d3){_0x4868c2=_0x4868c2-0x0;let _0x203a82=_0xf4a5[_0x4868c2];return _0x203a82;};import{Plugin as _0x1144ba}from'ckeditor5/src/core.js';import{getTranslation as _0x306828}from'../utils/common-translations.js';export default class At extends _0x1144ba{[_0x203a('0x1a')](){if(!this[_0x203a('0x8')][_0x203a('0x13')][_0x203a('0x11')](_0x203a('0xe')))return;const _0x320ec8=this[_0x203a('0x8')]['plugins'][_0x203a('0xb')](_0x203a('0x19'));_0x320ec8[_0x203a('0xf')](_0x203a('0x1f'),this['handleResizeTableWidthCommand'][_0x203a('0x4')](this)),_0x320ec8['_suggestionFactory'][_0x203a('0x1d')](_0x203a('0x27'),_0x203a('0x24'),'accept',_0x320ec8[_0x203a('0x18')][_0x203a('0x20')](_0x203a('0x27'),null,_0x203a('0x23'))),_0x320ec8[_0x203a('0x18')][_0x203a('0x1d')](_0x203a('0x27'),_0x203a('0x24'),_0x203a('0x23'),_0x320ec8[_0x203a('0x18')][_0x203a('0x20')](_0x203a('0x27'),null,_0x203a('0x1'))),_0x320ec8[_0x203a('0x16')][_0x203a('0x17')](this[_0x203a('0x5')][_0x203a('0x4')](this));}[_0x203a('0x2')](_0xd2e144,_0x188906){const _0x465aa7=this[_0x203a('0x8')]['plugins'][_0x203a('0xb')](_0x203a('0x19')),_0x16cd0f=this['editor'][_0x203a('0x13')][_0x203a('0xb')]('TableColumnResizeEditing'),_0x27495b=_0x188906[_0x203a('0xd')]||this[_0x203a('0x8')]['model'][_0x203a('0x7')]['selection'][_0x203a('0x14')]();this['editor']['model'][_0x203a('0x6')](()=>{const _0x213395=_0x16cd0f['getColumnGroupElement'](_0x27495b);let _0x5a8492=_0x213395?_0x16cd0f[_0x203a('0x3')](_0x213395):null,_0x421275=_0x27495b[_0x203a('0xc')](_0x203a('0x0'))||null;const _0x3cd289=_0x188906[_0x203a('0x0')]||_0x421275,_0x5023fc=_0x188906[_0x203a('0x1c')]||_0x5a8492,_0x55e38b=this[_0x203a('0x8')][_0x203a('0x13')]['get'](_0x203a('0x15'))['me'];for(const _0x5568c9 of _0x465aa7[_0x203a('0x1e')]()){const _0x4f271d=_0x5568c9['getContainedElement']();if(_0x203a('0x24')===_0x5568c9[_0x203a('0x22')]&&_0x4f271d===_0x27495b){_0x5568c9[_0x203a('0x9')]!==_0x55e38b&&_0x5568c9[_0x203a('0x23')]();const _0x2a9b6a=_0x5568c9[_0x203a('0x12')][_0x203a('0x1b')];_0x421275=_0x2a9b6a[0x0]['tableWidth'],_0x5a8492=_0x2a9b6a[0x0][_0x203a('0x1c')];break;}}_0xd2e144({'table':_0x27495b,'tableWidth':_0x3cd289,'columnWidths':_0x5023fc}),_0x465aa7[_0x203a('0x10')](_0x27495b,{'commandName':_0x203a('0x1f'),'commandParams':[{'tableWidth':_0x421275,'columnWidths':_0x5a8492}],'formatGroupId':_0x203a('0x24')},[],_0x203a('0x24'));});}[_0x203a('0x5')](_0xa77698){if(_0x203a('0x27')!=_0xa77698[_0x203a('0x21')]&&_0x203a('0xa')!=_0xa77698[_0x203a('0x21')])return;const {data:_0x33ec11}=_0xa77698;if(_0x33ec11&&_0x203a('0x24')===_0x33ec11[_0x203a('0x25')]){const _0x3214d3=_0x203a('0x28');return{'type':_0x203a('0x26'),'content':_0x306828(this[_0x203a('0x8')]['locale'],_0x3214d3)};}}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module track-changes/integrations/tableheadings
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TrackChangesTable from './table';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TrackChangesTable from './table.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:table/table~Table table feature} heading rows/columns.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6691=['highest','bindElementToMarker','parent','createTableWalker','item','addMarker:suggestion','afterInit','ck-suggestion-marker-','headingRows','FORMAT_HEADER_ROW','editing','removeMarker:suggestion','FORMAT_REGULAR_ROW','locale','removeAttribute','consumable','options','markerNameToElements','removeClass','markerRange','format','addClass','consume','setTableRowHeader','TrackChangesEditing','_suggestionFactory','data-suggestion','ck-suggestion-marker--active','writer','has','getCellLocation','data','mapper','requires','FORMAT_HEADER_COLUMN','TableEditing','_descriptionFactory','end','registerCustomCallback','forceValue','start','cell','editor','nodeBefore','setAttribute','_handleLegacySuggestions','*Format:*\x20%0','get','_acceptFormatSuggestionCallbackFactory','downcastDispatcher','registerAttributeLabel','includes','toViewElement','_enableDefaultAttributesIntegration','plugins','type','getSuggestion','markerName','formatBlock','setTableColumnHeader','name','commandName','commandParams','accept','FORMAT_REGULAR_COLUMN','_splitMarkerName'];(function(_0x2c8a9f,_0x2fe332){const _0x100a28=function(_0x5ba5e2){while(--_0x5ba5e2){_0x2c8a9f['push'](_0x2c8a9f['shift']());}};_0x100a28(++_0x2fe332);}(_0x6691,0x11f));const _0x2fe3=function(_0x2c8a9f,_0x2fe332){_0x2c8a9f=_0x2c8a9f-0x0;let _0x100a28=_0x6691[_0x2c8a9f];return _0x100a28;};import{Plugin as _0x52f896}from'ckeditor5/src/core';import _0x93d7e6 from'./table';import{getTranslation as _0x4a1564}from'../utils/common-translations';export default class St extends _0x52f896{static get[_0x2fe3('0xa')](){return[_0x93d7e6];}[_0x2fe3('0x31')](){const _0x359fa6=this['editor'];if(!_0x359fa6[_0x2fe3('0x1f')][_0x2fe3('0x6')](_0x2fe3('0xc')))return;const _0x5a2f24=_0x359fa6['locale'],_0xe2e791=_0x359fa6[_0x2fe3('0x1f')][_0x2fe3('0x18')](_0x2fe3('0x1'));_0xe2e791[_0x2fe3('0x1e')]('setTableRowHeader',[],[_0x2fe3('0x33')]),_0xe2e791['_enableDefaultAttributesIntegration'](_0x2fe3('0x24'),[],['headingColumns']),_0xe2e791[_0x2fe3('0xd')][_0x2fe3('0x1b')](_0x2fe3('0x33'),_0x4a1564(_0x5a2f24,'FORMAT_HEADER_ROW')),_0xe2e791[_0x2fe3('0xd')]['registerAttributeLabel']('headingColumns',_0x4a1564(_0x5a2f24,_0x2fe3('0xb'))),this[_0x2fe3('0x16')]();}[_0x2fe3('0x16')](){const _0x2c6e3e=this['editor']['plugins']['get'](_0x2fe3('0x1')),_0x386891=this[_0x2fe3('0x13')]['plugins'][_0x2fe3('0x18')]('TableUtils'),_0x477da7=this['editor'][_0x2fe3('0x1f')]['get'](_0x93d7e6)[_0x2fe3('0x19')]();function _0x1cbb31({showActiveMarker:_0x2be660=!0x0,setDataAttribute:_0x33dca0=!0x0}={}){return(_0x201c55,_0x20c74a,_0x5a7966)=>{const {type:_0x33bcac,id:_0x274c9a}=_0x2c6e3e[_0x2fe3('0x2a')](_0x20c74a[_0x2fe3('0x22')]),_0x389631=_0x2c6e3e[_0x2fe3('0x21')](_0x274c9a),_0xc46945=_0x389631[_0x2fe3('0x8')];if('formatBlock'!=_0x389631[_0x2fe3('0x20')]||!_0xc46945||_0x2fe3('0x24')!=_0xc46945['commandName'])return;if(_0x20c74a[_0x2fe3('0x2f')])return void _0x201c55['stop']();if(!_0x5a7966[_0x2fe3('0x3a')][_0x2fe3('0x41')](_0x20c74a[_0x2fe3('0x3e')],_0x201c55[_0x2fe3('0x25')]))return;const _0x30580d=_0x20c74a[_0x2fe3('0x3e')][_0x2fe3('0x11')]['nodeAfter'],_0x479525=_0x20c74a[_0x2fe3('0x3e')][_0x2fe3('0xe')][_0x2fe3('0x14')],_0xdf17e9=_0x30580d[_0x2fe3('0x2d')][_0x2fe3('0x2d')],{column:_0x44e665}=_0x386891[_0x2fe3('0x7')](_0x30580d),{column:_0x596d91}=_0x386891['getCellLocation'](_0x479525);for(let _0x346cd4=_0x44e665;_0x346cd4<=_0x596d91;_0x346cd4++){const _0x267f46=_0x386891[_0x2fe3('0x2e')](_0xdf17e9,{'column':_0x346cd4,'includeAllSlots':!0x1});for(const _0xe43939 of _0x267f46){const _0xeef324=_0xe43939[_0x2fe3('0x12')],_0x9b590b=_0x5a7966[_0x2fe3('0x9')][_0x2fe3('0x1d')](_0xeef324);_0x5a7966[_0x2fe3('0x5')]['addClass'](_0x2fe3('0x32')+_0x33bcac,_0x9b590b),_0x33dca0&&_0x5a7966[_0x2fe3('0x5')][_0x2fe3('0x15')](_0x2fe3('0x3'),_0x274c9a,_0x9b590b),_0x5a7966[_0x2fe3('0x9')][_0x2fe3('0x2c')](_0x9b590b,_0x20c74a[_0x2fe3('0x22')]),_0x2be660&&(_0x2c6e3e['activeMarkers'][_0x2fe3('0x1c')](_0x20c74a[_0x2fe3('0x22')])?_0x5a7966['writer'][_0x2fe3('0x40')](_0x2fe3('0x4'),_0x9b590b):_0x5a7966[_0x2fe3('0x5')][_0x2fe3('0x3d')](_0x2fe3('0x4'),_0x9b590b));}}};}_0x2c6e3e[_0x2fe3('0x2')][_0x2fe3('0xf')](_0x2fe3('0x23'),_0x2fe3('0x0'),_0x2fe3('0x28'),_0x477da7),_0x2c6e3e[_0x2fe3('0x2')]['registerCustomCallback'](_0x2fe3('0x23'),_0x2fe3('0x24'),_0x2fe3('0x28'),_0x477da7),this['editor'][_0x2fe3('0x35')][_0x2fe3('0x1a')]['on'](_0x2fe3('0x30'),_0x1cbb31(),{'priority':_0x2fe3('0x2b')}),this[_0x2fe3('0x13')][_0x2fe3('0x8')][_0x2fe3('0x1a')]['on'](_0x2fe3('0x30'),(_0xb0bb94,_0x2efb9a,_0x4c30e8)=>{_0x4c30e8[_0x2fe3('0x3b')]['showSuggestionHighlights']&&_0x1cbb31({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0xb0bb94,_0x2efb9a,_0x4c30e8);},{'priority':'highest'}),this[_0x2fe3('0x13')][_0x2fe3('0x35')]['downcastDispatcher']['on'](_0x2fe3('0x36'),(_0x4a450f,_0x2148e3,_0x134e0c)=>{const {type:_0x3b203f,id:_0xf61738}=_0x2c6e3e[_0x2fe3('0x2a')](_0x2148e3[_0x2fe3('0x22')]),_0x1a906f=_0x2c6e3e[_0x2fe3('0x21')](_0xf61738),_0x43a748=_0x1a906f[_0x2fe3('0x8')];if(_0x2fe3('0x23')!=_0x1a906f[_0x2fe3('0x20')]||!_0x43a748||'setTableColumnHeader'!=_0x43a748[_0x2fe3('0x26')])return;const _0x28bed3=_0x134e0c[_0x2fe3('0x9')][_0x2fe3('0x3c')](_0x2148e3[_0x2fe3('0x22')]);if(_0x28bed3)for(const _0x5899b7 of _0x28bed3)_0x134e0c['writer'][_0x2fe3('0x3d')](_0x2fe3('0x32')+_0x3b203f,_0x5899b7),_0x134e0c[_0x2fe3('0x5')][_0x2fe3('0x3d')](_0x2fe3('0x4'),_0x5899b7),_0x134e0c[_0x2fe3('0x5')][_0x2fe3('0x39')](_0x2fe3('0x3'),_0x5899b7),_0x134e0c[_0x2fe3('0x9')]['unbindElementFromMarkerName'](_0x5899b7,_0x2148e3[_0x2fe3('0x22')]);},{'priority':_0x2fe3('0x2b')}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3b032c=this[_0x2fe3('0x13')],_0x4b29b5=_0x3b032c[_0x2fe3('0x38')];function _0x569da5(_0x2dbc8e){return{'type':_0x2fe3('0x3f'),'content':_0x4a1564(_0x4b29b5,_0x2fe3('0x17'),_0x2dbc8e)};}_0x3b032c[_0x2fe3('0x1f')]['get'](_0x2fe3('0x1'))[_0x2fe3('0xd')]['registerDescriptionCallback'](_0x49e81b=>{if(_0x2fe3('0x23')!=_0x49e81b[_0x2fe3('0x20')])return;const {data:_0x3855ab}=_0x49e81b;if(_0x3855ab){if(_0x2fe3('0x0')==_0x3855ab[_0x2fe3('0x26')]){const _0x5122da=_0x3855ab['commandParams'][0x0][_0x2fe3('0x10')];return _0x569da5(_0x4a1564(_0x4b29b5,_0x5122da?_0x2fe3('0x34'):_0x2fe3('0x37')));}if(_0x2fe3('0x24')==_0x3855ab[_0x2fe3('0x26')]){const _0x28494a=_0x3855ab[_0x2fe3('0x27')][0x0][_0x2fe3('0x10')];return _0x569da5(_0x4a1564(_0x4b29b5,_0x28494a?_0x2fe3('0xb'):_0x2fe3('0x29')));}}});}}
23
+ const _0x3372=['createTableWalker','end','_splitMarkerName','accept','activeMarkers','commandName','mapper','commandParams','FORMAT_HEADER_COLUMN','FORMAT_HEADER_ROW','plugins','_suggestionFactory','get','addMarker:suggestion','consumable','name','downcastDispatcher','forceValue','requires','editing','markerName','TableEditing','unbindElementFromMarkerName','editor','getSuggestion','has','ck-suggestion-marker--active','ck-suggestion-marker-','format','_descriptionFactory','removeMarker:suggestion','_registerLegacyDescription','getCellLocation','showSuggestionHighlights','formatBlock','nodeAfter','_enableDefaultAttributesIntegration','cell','markerRange','includes','setTableColumnHeader','removeClass','headingColumns','removeAttribute','writer','TableUtils','setTableRowHeader','registerAttributeLabel','TrackChangesEditing','locale','bindElementToMarker','_handleLegacySuggestions','options','highest','parent','_acceptFormatSuggestionCallbackFactory','type','addClass','data','consume','setAttribute','start','registerCustomCallback','markerNameToElements','nodeBefore'];(function(_0x1b644e,_0x337281){const _0x5d59c0=function(_0xa0c08){while(--_0xa0c08){_0x1b644e['push'](_0x1b644e['shift']());}};_0x5d59c0(++_0x337281);}(_0x3372,0xd7));const _0x5d59=function(_0x1b644e,_0x337281){_0x1b644e=_0x1b644e-0x0;let _0x5d59c0=_0x3372[_0x1b644e];return _0x5d59c0;};import{Plugin as _0xdfef2d}from'ckeditor5/src/core.js';import _0x686438 from'./table.js';import{getTranslation as _0x401cfe}from'../utils/common-translations.js';export default class jt extends _0xdfef2d{static get[_0x5d59('0x3f')](){return[_0x686438];}['afterInit'](){const _0x5110e5=this['editor'];if(!_0x5110e5[_0x5d59('0x37')][_0x5d59('0x5')](_0x5d59('0x1')))return;const _0x3ece85=_0x5110e5[_0x5d59('0x1d')],_0x16c32b=_0x5110e5[_0x5d59('0x37')]['get'](_0x5d59('0x1c'));_0x16c32b[_0x5d59('0x10')]('setTableRowHeader',[],['headingRows']),_0x16c32b[_0x5d59('0x10')](_0x5d59('0x14'),[],[_0x5d59('0x16')]),_0x16c32b[_0x5d59('0x9')][_0x5d59('0x1b')]('headingRows',_0x401cfe(_0x3ece85,_0x5d59('0x36'))),_0x16c32b[_0x5d59('0x9')][_0x5d59('0x1b')]('headingColumns',_0x401cfe(_0x3ece85,_0x5d59('0x35'))),this[_0x5d59('0x1f')]();}[_0x5d59('0x1f')](){const _0x5a18df=this[_0x5d59('0x3')][_0x5d59('0x37')][_0x5d59('0x39')](_0x5d59('0x1c')),_0x5df67d=this['editor']['plugins'][_0x5d59('0x39')](_0x5d59('0x19')),_0x5a487a=this['editor'][_0x5d59('0x37')][_0x5d59('0x39')](_0x686438)[_0x5d59('0x23')]();function _0x18f3af({showActiveMarker:_0x4dbc40=!0x0,setDataAttribute:_0x52273c=!0x0}={}){return(_0x5d56a6,_0x1154c8,_0x1a266e)=>{const {type:_0x3c0129,id:_0x4cf88d}=_0x5a18df['_splitMarkerName'](_0x1154c8[_0x5d59('0x0')]),_0x5a8851=_0x5a18df['getSuggestion'](_0x4cf88d),_0x50cb93=_0x5a8851['data'];if(_0x5d59('0xe')!=_0x5a8851['type']||!_0x50cb93||_0x5d59('0x14')!=_0x50cb93[_0x5d59('0x32')])return;if(_0x1154c8['item'])return void _0x5d56a6['stop']();if(!_0x1a266e[_0x5d59('0x3b')][_0x5d59('0x27')](_0x1154c8[_0x5d59('0x12')],_0x5d56a6[_0x5d59('0x3c')]))return;const _0x1cece6=_0x1154c8[_0x5d59('0x12')][_0x5d59('0x29')][_0x5d59('0xf')],_0x3f36db=_0x1154c8[_0x5d59('0x12')][_0x5d59('0x2e')][_0x5d59('0x2c')],_0x3ada57=_0x1cece6['parent'][_0x5d59('0x22')],{column:_0x3e3418}=_0x5df67d[_0x5d59('0xc')](_0x1cece6),{column:_0x574834}=_0x5df67d[_0x5d59('0xc')](_0x3f36db);for(let _0xe11943=_0x3e3418;_0xe11943<=_0x574834;_0xe11943++){const _0x5aef32=_0x5df67d[_0x5d59('0x2d')](_0x3ada57,{'column':_0xe11943,'includeAllSlots':!0x1});for(const _0x4f557b of _0x5aef32){const _0x23d7dd=_0x4f557b[_0x5d59('0x11')],_0x1a4356=_0x1a266e[_0x5d59('0x33')]['toViewElement'](_0x23d7dd);_0x1a266e['writer'][_0x5d59('0x25')](_0x5d59('0x7')+_0x3c0129,_0x1a4356),_0x52273c&&_0x1a266e['writer'][_0x5d59('0x28')]('data-suggestion',_0x4cf88d,_0x1a4356),_0x1a266e['mapper'][_0x5d59('0x1e')](_0x1a4356,_0x1154c8[_0x5d59('0x0')]),_0x4dbc40&&(_0x5a18df[_0x5d59('0x31')][_0x5d59('0x13')](_0x1154c8[_0x5d59('0x0')])?_0x1a266e[_0x5d59('0x18')][_0x5d59('0x25')]('ck-suggestion-marker--active',_0x1a4356):_0x1a266e['writer']['removeClass'](_0x5d59('0x6'),_0x1a4356));}}};}_0x5a18df['_suggestionFactory'][_0x5d59('0x2a')](_0x5d59('0xe'),_0x5d59('0x1a'),_0x5d59('0x30'),_0x5a487a),_0x5a18df[_0x5d59('0x38')][_0x5d59('0x2a')](_0x5d59('0xe'),_0x5d59('0x14'),_0x5d59('0x30'),_0x5a487a),this[_0x5d59('0x3')][_0x5d59('0x40')][_0x5d59('0x3d')]['on'](_0x5d59('0x3a'),_0x18f3af(),{'priority':_0x5d59('0x21')}),this['editor'][_0x5d59('0x26')][_0x5d59('0x3d')]['on'](_0x5d59('0x3a'),(_0x500f2c,_0x8fa012,_0x3d7d04)=>{_0x3d7d04[_0x5d59('0x20')][_0x5d59('0xd')]&&_0x18f3af({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x500f2c,_0x8fa012,_0x3d7d04);},{'priority':_0x5d59('0x21')}),this[_0x5d59('0x3')]['editing'][_0x5d59('0x3d')]['on'](_0x5d59('0xa'),(_0xb3c6a5,_0x21b91d,_0x5d39d0)=>{const {type:_0x274a43,id:_0x20903c}=_0x5a18df[_0x5d59('0x2f')](_0x21b91d[_0x5d59('0x0')]),_0x3925f9=_0x5a18df[_0x5d59('0x4')](_0x20903c),_0x240cf7=_0x3925f9[_0x5d59('0x26')];if(_0x5d59('0xe')!=_0x3925f9[_0x5d59('0x24')]||!_0x240cf7||_0x5d59('0x14')!=_0x240cf7[_0x5d59('0x32')])return;const _0x5a011d=_0x5d39d0['mapper'][_0x5d59('0x2b')](_0x21b91d[_0x5d59('0x0')]);if(_0x5a011d)for(const _0x1b1a20 of _0x5a011d)_0x5d39d0[_0x5d59('0x18')][_0x5d59('0x15')](_0x5d59('0x7')+_0x274a43,_0x1b1a20),_0x5d39d0[_0x5d59('0x18')][_0x5d59('0x15')]('ck-suggestion-marker--active',_0x1b1a20),_0x5d39d0[_0x5d59('0x18')][_0x5d59('0x17')]('data-suggestion',_0x1b1a20),_0x5d39d0[_0x5d59('0x33')][_0x5d59('0x2')](_0x1b1a20,_0x21b91d[_0x5d59('0x0')]);},{'priority':'highest'}),this[_0x5d59('0xb')]();}[_0x5d59('0xb')](){const _0x21d82d=this['editor'],_0x59666f=_0x21d82d[_0x5d59('0x1d')];function _0xc17440(_0x84b739){return{'type':_0x5d59('0x8'),'content':_0x401cfe(_0x59666f,'*Format:*\x20%0',_0x84b739)};}_0x21d82d['plugins']['get'](_0x5d59('0x1c'))['_descriptionFactory']['registerDescriptionCallback'](_0x223702=>{if('formatBlock'!=_0x223702[_0x5d59('0x24')])return;const {data:_0x599fd8}=_0x223702;if(_0x599fd8){if(_0x5d59('0x1a')==_0x599fd8[_0x5d59('0x32')]){const _0x2b9be1=_0x599fd8[_0x5d59('0x34')][0x0]['forceValue'];return _0xc17440(_0x401cfe(_0x59666f,_0x2b9be1?_0x5d59('0x36'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x599fd8['commandName']){const _0x37bca1=_0x599fd8[_0x5d59('0x34')][0x0][_0x5d59('0x3e')];return _0xc17440(_0x401cfe(_0x59666f,_0x37bca1?_0x5d59('0x35'):'FORMAT_REGULAR_COLUMN'));}}});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module track-changes/integrations/tablemergesplit
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TrackChangesTable from './table';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TrackChangesTable from './table.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:table/table~Table table feature} merging and splitting cells.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x123b=['formatInline','type','model','fromRange','markBlockFormat','requires','createRangeOn','trackChanges','createTableWalker','low','format','findAncestor','value','push','detach','getSelectionAffectedTableCells','isInContent','set:isEnabled','getAncestors','insertion','add','*Split\x20cell:*\x20vertically','mergeTableCellRight','subType','formatBlock','author','selection','mergeTableCellDown','size','mergeTableCellUp','table','*Merge\x20cells*','registerDescriptionCallback','TableUtils','horizontally','find','plugins','execute','refresh','_suggestionFactory','_descriptionFactory','_areMergableCells','splitTableCellVertically','getFirstPosition','splitTableCellHorizontally','mergeTableCells','setSelection','registerCustomCallback','mergeTableCellLeft','filter','map','document','cell','commandName','root','_tablePostFixingSubtypes','commands','_areSelectedCellsMergable','change','TrackChangesEditing','rootName','getRanges','enableCommand','length','get','_isForcedDefaultExecutionBlock','markMultiRangeBlockFormat','editor','TableEditing','from','stop','has','accept','tableCell','getCellLocation','isEnabled'];(function(_0xd977c5,_0x123bc3){const _0x5de75f=function(_0x283ccf){while(--_0x283ccf){_0xd977c5['push'](_0xd977c5['shift']());}};_0x5de75f(++_0x123bc3);}(_0x123b,0x9d));const _0x5de7=function(_0xd977c5,_0x123bc3){_0xd977c5=_0xd977c5-0x0;let _0x5de75f=_0x123b[_0xd977c5];return _0x5de75f;};import{Plugin as _0x122121}from'ckeditor5/src/core';import _0x30b1d6 from'./table';import{LiveRange as _0x4fe6d2}from'ckeditor5/src/engine';import{getTranslation as _0x22ad50}from'../utils/common-translations';export default class yt extends _0x122121{static get[_0x5de7('0x0')](){return[_0x30b1d6];}['afterInit'](){const _0x1a32a6=this[_0x5de7('0x3e')],_0x50bdbf=_0x1a32a6['model'][_0x5de7('0x2e')]['selection'],_0x2b2fe6=_0x1a32a6['locale'];if(!_0x1a32a6['plugins']['has'](_0x5de7('0x3f')))return;const _0x473801=_0x1a32a6['plugins']['get'](_0x5de7('0x36')),_0x43ff7b=_0x1a32a6[_0x5de7('0x1f')][_0x5de7('0x3b')](_0x5de7('0x1c')),_0x585bf7=_0x1a32a6['plugins'][_0x5de7('0x3b')](_0x30b1d6);_0x585bf7[_0x5de7('0x32')][_0x5de7('0x8')](_0x5de7('0x28')),_0x473801['enableCommand'](_0x5de7('0x28'),()=>{const _0x2a176d=_0x43ff7b[_0x5de7('0xa')](_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x2e')][_0x5de7('0x15')]);_0x1a32a6['model'][_0x5de7('0x35')](()=>{_0x473801[_0x5de7('0x3d')](_0x2a176d,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0x5de7('0x28'))['on'](_0x5de7('0x20'),(_0x33564a,_0x2ae217)=>{_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0x5de7('0x2'))[_0x5de7('0x7')]&&(_0x2ae217[_0x5de7('0x3a')]>0x0&&_0x2ae217[_0x2ae217[_0x5de7('0x3a')]-0x1]&&_0x2ae217[_0x2ae217[_0x5de7('0x3a')]-0x1]['forceDefaultExecution']||_0x473801[_0x5de7('0x3c')]||this[_0x5de7('0x34')]()||_0x33564a['stop']());},{'priority':'highest'});for(const _0x262d56 of[_0x5de7('0x18'),_0x5de7('0x11'),_0x5de7('0x16'),_0x5de7('0x2b')]){const _0x5b981b=_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0x262d56);_0x473801['enableCommand'](_0x262d56,()=>{const _0x151af8=_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x2e')]['selection'][_0x5de7('0x26')]()[_0x5de7('0xd')]()['find'](_0x2d8bc6=>_0x2d8bc6['is']('element',_0x5de7('0x44'))),_0x26bf0e=_0x5b981b[_0x5de7('0x7')];_0x1a32a6[_0x5de7('0x49')]['change'](()=>{_0x473801[_0x5de7('0x3d')]([_0x151af8,_0x26bf0e],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x1f850e of[_0x5de7('0x25'),_0x5de7('0x27')]){const _0x3530ee=_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0x1f850e);_0x473801[_0x5de7('0x39')](_0x1f850e,()=>{const _0x1ba1bc=_0x43ff7b[_0x5de7('0xa')](_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x2e')]['selection'])[0x0],_0x2653e0=_0x1ba1bc[_0x5de7('0x6')](_0x5de7('0x19')),{column:_0x5dfed2,row:_0x4eac6f}=_0x43ff7b[_0x5de7('0x45')](_0x1ba1bc);let _0x836d9b=[];if(_0x5de7('0x1d')==_0x3530ee['direction']){const _0xddf2d0=_0x43ff7b[_0x5de7('0x3')](_0x2653e0,{'startRow':_0x4eac6f,'endRow':_0x4eac6f,'includeAllSlots':!0x0});_0x836d9b=Array[_0x5de7('0x40')](_0xddf2d0)['map'](_0x57a1c4=>_0x57a1c4[_0x5de7('0x2f')]);}else{const _0x599d19=_0x43ff7b[_0x5de7('0x3')](_0x2653e0,{'column':_0x5dfed2,'includeAllSlots':!0x0});_0x836d9b=Array[_0x5de7('0x40')](_0x599d19)[_0x5de7('0x2d')](_0x174b69=>_0x174b69['cell']);}_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x35')](_0x1f1d72=>{_0x473801[_0x5de7('0x4b')](_0x1f1d72[_0x5de7('0x1')](_0x1ba1bc),{'commandName':_0x1f850e,'commandParams':[]},_0x836d9b,_0x1f850e);});});}_0x473801[_0x5de7('0x23')]['registerDescriptionCallback'](_0x2c036e=>{if(_0x5de7('0x13')!=_0x2c036e[_0x5de7('0x48')]&&_0x5de7('0x47')!=_0x2c036e[_0x5de7('0x48')])return;const {data:_0x133b59}=_0x2c036e;return _0x133b59&&'mergeTableCells'==_0x133b59['commandName']?{'type':_0x5de7('0x5'),'content':_0x22ad50(_0x2b2fe6,_0x5de7('0x1a'))}:void 0x0;}),_0x473801['_descriptionFactory'][_0x5de7('0x1b')](_0x37ee8d=>{if(_0x5de7('0x13')!=_0x37ee8d[_0x5de7('0x48')]&&_0x5de7('0x47')!=_0x37ee8d['type'])return;const {data:_0x14cc19}=_0x37ee8d;return _0x14cc19?'splitTableCellVertically'==_0x14cc19[_0x5de7('0x30')]?{'type':_0x5de7('0x5'),'content':_0x22ad50(_0x2b2fe6,_0x5de7('0x10'))}:'splitTableCellHorizontally'==_0x14cc19[_0x5de7('0x30')]?{'type':_0x5de7('0x5'),'content':_0x22ad50(_0x2b2fe6,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x1510f1=_0x585bf7['_acceptFormatSuggestionCallbackFactory']();for(const _0x5b98eb of['mergeTableCellUp',_0x5de7('0x11'),_0x5de7('0x16'),_0x5de7('0x2b')])_0x473801[_0x5de7('0x22')][_0x5de7('0x2a')](_0x5de7('0x13'),_0x5b98eb,_0x5de7('0x43'),_0x1510f1);for(const _0x31da9a of[_0x5de7('0x25'),'splitTableCellHorizontally'])_0x473801[_0x5de7('0x22')][_0x5de7('0x2a')]('formatBlock',_0x31da9a,_0x5de7('0x43'),_0x1510f1);_0x473801[_0x5de7('0x22')]['registerCustomCallback'](_0x5de7('0x13'),_0x5de7('0x28'),_0x5de7('0x43'),_0x21dab1=>{_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x35')](_0x52d710=>{const _0x107510=Array['from'](_0x50bdbf[_0x5de7('0x38')]())['map'](_0x46e5e2=>_0x4fe6d2[_0x5de7('0x4a')](_0x46e5e2));_0x52d710['setSelection'](_0x21dab1),_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0x5de7('0x28'))[_0x5de7('0x21')](),_0x1a32a6[_0x5de7('0x20')](_0x5de7('0x28'),{'forceDefaultExecution':!0x0});const _0x330b95=_0x107510[_0x5de7('0x2c')](_0x470698=>'$graveyard'!=_0x470698[_0x5de7('0x31')][_0x5de7('0x37')]);_0x330b95[_0x5de7('0x3a')]>0x0&&_0x52d710[_0x5de7('0x29')](_0x330b95);for(const _0x2ac69a of _0x107510)_0x2ac69a[_0x5de7('0x9')]();});});for(const _0xbc31bd of['mergeTableCellUp',_0x5de7('0x16'),_0x5de7('0x2b'),_0x5de7('0x11')]){const _0x50f283=_0x1a32a6[_0x5de7('0x33')][_0x5de7('0x3b')](_0xbc31bd);_0x50f283['on'](_0x5de7('0xc'),(_0x57cf76,_0x535836,_0xb5aeeb)=>{if(_0xb5aeeb){const _0x3f6c7d=_0x1a32a6[_0x5de7('0x49')][_0x5de7('0x2e')][_0x5de7('0x15')]['getFirstPosition']()[_0x5de7('0xd')]()[_0x5de7('0x1e')](_0x20dcaf=>_0x20dcaf['is']('element',_0x5de7('0x44')));this[_0x5de7('0x24')](_0x50f283['value'],_0x3f6c7d)||(_0x57cf76['return']=!0x1,_0x57cf76[_0x5de7('0x41')]());}},{'priority':_0x5de7('0x4')});}}[_0x5de7('0x34')](){const _0x4016e1=this['editor']['commands'][_0x5de7('0x3b')]('mergeTableCells'),_0x3cb6a9=this[_0x5de7('0x3e')][_0x5de7('0x1f')][_0x5de7('0x3b')](_0x5de7('0x1c'));if(!_0x4016e1[_0x5de7('0x46')])return!0x1;const _0x2cbdc9=_0x3cb6a9[_0x5de7('0xa')](this[_0x5de7('0x3e')][_0x5de7('0x49')]['document'][_0x5de7('0x15')]);for(const _0x27ebd7 of _0x2cbdc9)for(const _0x4a9478 of _0x2cbdc9)if(_0x27ebd7!=_0x4a9478&&!this[_0x5de7('0x24')](_0x27ebd7,_0x4a9478))return!0x1;return!0x0;}[_0x5de7('0x24')](_0x5b70a4,_0x56e6ab){const _0x57128a=this[_0x5de7('0x3e')][_0x5de7('0x1f')][_0x5de7('0x3b')](_0x5de7('0x36')),_0x284322=this[_0x5de7('0x3e')]['model'][_0x5de7('0x1')](_0x5b70a4),_0x2498b7=this['editor'][_0x5de7('0x49')][_0x5de7('0x1')](_0x56e6ab),_0x2c5d69=new Set(),_0x5909b2=new Set();for(const _0xf46d50 of _0x57128a['getSuggestions']())if((_0x5de7('0xe')==_0xf46d50[_0x5de7('0x48')]||'deletion'==_0xf46d50[_0x5de7('0x48')]||_0x5de7('0x28')==_0xf46d50[_0x5de7('0x12')])&&_0xf46d50[_0x5de7('0xb')])for(const _0xa38efe of _0xf46d50['getRanges']())_0xa38efe['containsRange'](_0x284322,!0x0)&&_0x2c5d69['add'](_0xf46d50['type']+':'+_0xf46d50[_0x5de7('0x14')]['id']),_0xa38efe['containsRange'](_0x2498b7,!0x0)&&_0x5909b2[_0x5de7('0xf')](_0xf46d50[_0x5de7('0x48')]+':'+_0xf46d50[_0x5de7('0x14')]['id']);if(_0x2c5d69[_0x5de7('0x17')]!=_0x5909b2['size'])return!0x1;for(const _0x2632c0 of _0x2c5d69)if(!_0x5909b2[_0x5de7('0x42')](_0x2632c0))return!0x1;return!0x0;}}
23
+ const _0x235d=['get','detach','getAncestors','setSelection','add','mergeTableCellDown','map','markBlockFormat','mergeTableCellRight','length','formatBlock','execute','selection','element','registerCustomCallback','containsRange','$graveyard','plugins','*Split\x20cell:*\x20horizontally','model','insertion','createTableWalker','mergeTableCellLeft','direction','commandName','splitTableCellVertically','horizontally','value','markMultiRangeBlockFormat','size','commands','table','formatInline','find','_areSelectedCellsMergable','_isForcedDefaultExecutionBlock','findAncestor','splitTableCellHorizontally','createRangeOn','format','TrackChangesEditing','low','return','enableCommand','stop','afterInit','getSuggestions','forceDefaultExecution','has','rootName','_areMergableCells','*Split\x20cell:*\x20vertically','refresh','getSelectionAffectedTableCells','push','getRanges','author','mergeTableCells','getFirstPosition','_suggestionFactory','locale','highest','type','document','mergeTableCellUp','editor','deletion','_descriptionFactory','subType','set:isEnabled','change','registerDescriptionCallback','TableEditing','accept','TableUtils','from','fromRange'];(function(_0x5e1bbe,_0x235dd0){const _0x35e42b=function(_0x7c93bf){while(--_0x7c93bf){_0x5e1bbe['push'](_0x5e1bbe['shift']());}};_0x35e42b(++_0x235dd0);}(_0x235d,0x1ef));const _0x35e4=function(_0x5e1bbe,_0x235dd0){_0x5e1bbe=_0x5e1bbe-0x0;let _0x35e42b=_0x235d[_0x5e1bbe];return _0x35e42b;};import{Plugin as _0x329bd0}from'ckeditor5/src/core.js';import _0x448108 from'./table.js';import{LiveRange as _0x3ecb13}from'ckeditor5/src/engine.js';import{getTranslation as _0x3a1a86}from'../utils/common-translations.js';export default class yt extends _0x329bd0{static get['requires'](){return[_0x448108];}[_0x35e4('0xc')](){const _0x49826b=this[_0x35e4('0x20')],_0x310171=_0x49826b[_0x35e4('0x3f')][_0x35e4('0x1e')][_0x35e4('0x38')],_0x584256=_0x49826b[_0x35e4('0x1b')];if(!_0x49826b[_0x35e4('0x3d')][_0x35e4('0xf')](_0x35e4('0x27')))return;const _0x566f96=_0x49826b[_0x35e4('0x3d')][_0x35e4('0x2c')](_0x35e4('0x7')),_0x497e32=_0x49826b[_0x35e4('0x3d')][_0x35e4('0x2c')](_0x35e4('0x29')),_0xe4f7f5=_0x49826b[_0x35e4('0x3d')][_0x35e4('0x2c')](_0x448108);_0xe4f7f5['_tablePostFixingSubtypes'][_0x35e4('0x15')]('mergeTableCells'),_0x566f96[_0x35e4('0xa')](_0x35e4('0x18'),()=>{const _0x2142a3=_0x497e32[_0x35e4('0x14')](_0x49826b[_0x35e4('0x3f')][_0x35e4('0x1e')][_0x35e4('0x38')]);_0x49826b[_0x35e4('0x3f')][_0x35e4('0x25')](()=>{_0x566f96[_0x35e4('0x48')](_0x2142a3,{'commandName':_0x35e4('0x18'),'commandParams':[]},[],_0x35e4('0x18'));});}),_0x49826b[_0x35e4('0x4a')][_0x35e4('0x2c')](_0x35e4('0x18'))['on'](_0x35e4('0x37'),(_0x52bc2c,_0x20f331)=>{_0x49826b[_0x35e4('0x4a')][_0x35e4('0x2c')]('trackChanges')[_0x35e4('0x47')]&&(_0x20f331[_0x35e4('0x35')]>0x0&&_0x20f331[_0x20f331[_0x35e4('0x35')]-0x1]&&_0x20f331[_0x20f331[_0x35e4('0x35')]-0x1][_0x35e4('0xe')]||_0x566f96[_0x35e4('0x2')]||this[_0x35e4('0x1')]()||_0x52bc2c[_0x35e4('0xb')]());},{'priority':_0x35e4('0x1c')});for(const _0xf96c8d of[_0x35e4('0x1f'),'mergeTableCellRight','mergeTableCellDown',_0x35e4('0x42')]){const _0x52cab5=_0x49826b[_0x35e4('0x4a')]['get'](_0xf96c8d);_0x566f96['enableCommand'](_0xf96c8d,()=>{const _0x13b53d=_0x49826b['model'][_0x35e4('0x1e')]['selection'][_0x35e4('0x19')]()[_0x35e4('0x2e')]()[_0x35e4('0x0')](_0x2d0e71=>_0x2d0e71['is']('element','tableCell')),_0xafa281=_0x52cab5[_0x35e4('0x47')];_0x49826b['model'][_0x35e4('0x25')](()=>{_0x566f96[_0x35e4('0x48')]([_0x13b53d,_0xafa281],{'commandName':_0x35e4('0x18'),'commandParams':[]},[],_0x35e4('0x18'));});});}for(const _0x2f69c1 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x90f50a=_0x49826b[_0x35e4('0x4a')]['get'](_0x2f69c1);_0x566f96[_0x35e4('0xa')](_0x2f69c1,()=>{const _0x254cac=_0x497e32[_0x35e4('0x14')](_0x49826b['model'][_0x35e4('0x1e')][_0x35e4('0x38')])[0x0],_0x34a5c7=_0x254cac[_0x35e4('0x3')](_0x35e4('0x4b')),{column:_0x122f45,row:_0x198cdb}=_0x497e32['getCellLocation'](_0x254cac);let _0xdb8454=[];if(_0x35e4('0x46')==_0x90f50a[_0x35e4('0x43')]){const _0x276508=_0x497e32[_0x35e4('0x41')](_0x34a5c7,{'startRow':_0x198cdb,'endRow':_0x198cdb,'includeAllSlots':!0x0});_0xdb8454=Array[_0x35e4('0x2a')](_0x276508)[_0x35e4('0x32')](_0x4b05c9=>_0x4b05c9['cell']);}else{const _0x127d92=_0x497e32[_0x35e4('0x41')](_0x34a5c7,{'column':_0x122f45,'includeAllSlots':!0x0});_0xdb8454=Array[_0x35e4('0x2a')](_0x127d92)[_0x35e4('0x32')](_0x926930=>_0x926930['cell']);}_0x49826b['model'][_0x35e4('0x25')](_0x5202a5=>{_0x566f96[_0x35e4('0x33')](_0x5202a5[_0x35e4('0x5')](_0x254cac),{'commandName':_0x2f69c1,'commandParams':[]},_0xdb8454,_0x2f69c1);});});}_0x566f96[_0x35e4('0x22')][_0x35e4('0x26')](_0x33ff6b=>{if(_0x35e4('0x36')!=_0x33ff6b[_0x35e4('0x1d')]&&_0x35e4('0x4c')!=_0x33ff6b['type'])return;const {data:_0x3b0633}=_0x33ff6b;return _0x3b0633&&_0x35e4('0x18')==_0x3b0633[_0x35e4('0x44')]?{'type':_0x35e4('0x6'),'content':_0x3a1a86(_0x584256,'*Merge\x20cells*')}:void 0x0;}),_0x566f96[_0x35e4('0x22')][_0x35e4('0x26')](_0xcdbfeb=>{if(_0x35e4('0x36')!=_0xcdbfeb[_0x35e4('0x1d')]&&_0x35e4('0x4c')!=_0xcdbfeb[_0x35e4('0x1d')])return;const {data:_0x17cf9d}=_0xcdbfeb;return _0x17cf9d?_0x35e4('0x45')==_0x17cf9d[_0x35e4('0x44')]?{'type':_0x35e4('0x6'),'content':_0x3a1a86(_0x584256,_0x35e4('0x12'))}:_0x35e4('0x4')==_0x17cf9d[_0x35e4('0x44')]?{'type':_0x35e4('0x6'),'content':_0x3a1a86(_0x584256,_0x35e4('0x3e'))}:void 0x0:void 0x0;});const _0x160b1d=_0xe4f7f5['_acceptFormatSuggestionCallbackFactory']();for(const _0x4c5fdd of[_0x35e4('0x1f'),'mergeTableCellRight',_0x35e4('0x31'),_0x35e4('0x42')])_0x566f96['_suggestionFactory'][_0x35e4('0x3a')](_0x35e4('0x36'),_0x4c5fdd,_0x35e4('0x28'),_0x160b1d);for(const _0x5361d6 of['splitTableCellVertically','splitTableCellHorizontally'])_0x566f96[_0x35e4('0x1a')][_0x35e4('0x3a')](_0x35e4('0x36'),_0x5361d6,_0x35e4('0x28'),_0x160b1d);_0x566f96['_suggestionFactory'][_0x35e4('0x3a')](_0x35e4('0x36'),_0x35e4('0x18'),'accept',_0x4e91dc=>{_0x49826b[_0x35e4('0x3f')][_0x35e4('0x25')](_0x549bd5=>{const _0x109866=Array[_0x35e4('0x2a')](_0x310171[_0x35e4('0x16')]())['map'](_0x573001=>_0x3ecb13[_0x35e4('0x2b')](_0x573001));_0x549bd5[_0x35e4('0x2f')](_0x4e91dc),_0x49826b['commands']['get']('mergeTableCells')[_0x35e4('0x13')](),_0x49826b[_0x35e4('0x37')](_0x35e4('0x18'),{'forceDefaultExecution':!0x0});const _0x50276f=_0x109866['filter'](_0x1b7224=>_0x35e4('0x3c')!=_0x1b7224['root'][_0x35e4('0x10')]);_0x50276f[_0x35e4('0x35')]>0x0&&_0x549bd5[_0x35e4('0x2f')](_0x50276f);for(const _0x46c14a of _0x109866)_0x46c14a[_0x35e4('0x2d')]();});});for(const _0x5b6a94 of['mergeTableCellUp',_0x35e4('0x31'),_0x35e4('0x42'),_0x35e4('0x34')]){const _0x498dae=_0x49826b[_0x35e4('0x4a')][_0x35e4('0x2c')](_0x5b6a94);_0x498dae['on'](_0x35e4('0x24'),(_0x418f82,_0x443a5a,_0x2acf37)=>{if(_0x2acf37){const _0x389836=_0x49826b['model'][_0x35e4('0x1e')][_0x35e4('0x38')][_0x35e4('0x19')]()[_0x35e4('0x2e')]()[_0x35e4('0x0')](_0x2c2b06=>_0x2c2b06['is'](_0x35e4('0x39'),'tableCell'));this['_areMergableCells'](_0x498dae[_0x35e4('0x47')],_0x389836)||(_0x418f82[_0x35e4('0x9')]=!0x1,_0x418f82[_0x35e4('0xb')]());}},{'priority':_0x35e4('0x8')});}}[_0x35e4('0x1')](){const _0x2c7b12=this[_0x35e4('0x20')]['commands'][_0x35e4('0x2c')](_0x35e4('0x18')),_0x41df52=this[_0x35e4('0x20')][_0x35e4('0x3d')]['get']('TableUtils');if(!_0x2c7b12['isEnabled'])return!0x1;const _0x30b254=_0x41df52[_0x35e4('0x14')](this[_0x35e4('0x20')]['model'][_0x35e4('0x1e')][_0x35e4('0x38')]);for(const _0x55a438 of _0x30b254)for(const _0x2ad6c6 of _0x30b254)if(_0x55a438!=_0x2ad6c6&&!this[_0x35e4('0x11')](_0x55a438,_0x2ad6c6))return!0x1;return!0x0;}[_0x35e4('0x11')](_0x19a311,_0x54b15e){const _0x1f027c=this['editor'][_0x35e4('0x3d')][_0x35e4('0x2c')]('TrackChangesEditing'),_0x30b8be=this[_0x35e4('0x20')]['model'][_0x35e4('0x5')](_0x19a311),_0x568d94=this['editor'][_0x35e4('0x3f')][_0x35e4('0x5')](_0x54b15e),_0xb20995=new Set(),_0x23055e=new Set();for(const _0x2c6d27 of _0x1f027c[_0x35e4('0xd')]())if((_0x35e4('0x40')==_0x2c6d27[_0x35e4('0x1d')]||_0x35e4('0x21')==_0x2c6d27[_0x35e4('0x1d')]||_0x35e4('0x18')==_0x2c6d27[_0x35e4('0x23')])&&_0x2c6d27['isInContent'])for(const _0x16907e of _0x2c6d27[_0x35e4('0x16')]())_0x16907e[_0x35e4('0x3b')](_0x30b8be,!0x0)&&_0xb20995['add'](_0x2c6d27[_0x35e4('0x1d')]+':'+_0x2c6d27[_0x35e4('0x17')]['id']),_0x16907e[_0x35e4('0x3b')](_0x568d94,!0x0)&&_0x23055e[_0x35e4('0x30')](_0x2c6d27['type']+':'+_0x2c6d27['author']['id']);if(_0xb20995[_0x35e4('0x49')]!=_0x23055e['size'])return!0x1;for(const _0x2b7031 of _0xb20995)if(!_0x23055e[_0x35e4('0xf')](_0x2b7031))return!0x1;return!0x0;}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/tableofcontents
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the Table of contents feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32ab=['insertTableOfContents','enableCommand','plugins','registerElementLabel','commands','_descriptionFactory','locale','get','TrackChangesEditing','afterInit'];(function(_0x1a55c6,_0x32ab20){const _0x3f8860=function(_0x20d6d5){while(--_0x20d6d5){_0x1a55c6['push'](_0x1a55c6['shift']());}};_0x3f8860(++_0x32ab20);}(_0x32ab,0xd2));const _0x3f88=function(_0x1a55c6,_0x32ab20){_0x1a55c6=_0x1a55c6-0x0;let _0x3f8860=_0x32ab[_0x1a55c6];return _0x3f8860;};import{Plugin as _0x3b03b4}from'ckeditor5/src/core';import{getTranslation as _0x3bf9e9}from'../utils/common-translations';export default class Ct extends _0x3b03b4{[_0x3f88('0x9')](){const _0x67f39e=this['editor'];if(!_0x67f39e[_0x3f88('0x4')]['get'](_0x3f88('0x0')))return;_0x67f39e[_0x3f88('0x2')][_0x3f88('0x7')](_0x3f88('0x8'))[_0x3f88('0x1')](_0x3f88('0x0'));const _0x317ef2=_0x67f39e[_0x3f88('0x2')][_0x3f88('0x7')](_0x3f88('0x8')),_0x472a5b=_0x67f39e[_0x3f88('0x6')];_0x317ef2[_0x3f88('0x5')][_0x3f88('0x3')]('tableOfContents',_0x17d0f3=>_0x3bf9e9(_0x472a5b,'ELEMENT_TABLE_OF_CONTENTS',_0x17d0f3));}}
23
+ const _0x2483=['plugins','_descriptionFactory','registerElementLabel','insertTableOfContents','editor','ELEMENT_TABLE_OF_CONTENTS','enableCommand','TrackChangesEditing','tableOfContents','get','locale'];(function(_0x31835f,_0x24832e){const _0x374f97=function(_0x27e15a){while(--_0x27e15a){_0x31835f['push'](_0x31835f['shift']());}};_0x374f97(++_0x24832e);}(_0x2483,0x134));const _0x374f=function(_0x31835f,_0x24832e){_0x31835f=_0x31835f-0x0;let _0x374f97=_0x2483[_0x31835f];return _0x374f97;};import{Plugin as _0x54899a}from'ckeditor5/src/core.js';import{getTranslation as _0xf16cec}from'../utils/common-translations.js';export default class vt extends _0x54899a{['afterInit'](){const _0x12d321=this[_0x374f('0x4')];if(!_0x12d321['commands'][_0x374f('0x9')](_0x374f('0x3')))return;_0x12d321[_0x374f('0x0')][_0x374f('0x9')](_0x374f('0x7'))[_0x374f('0x6')](_0x374f('0x3'));const _0x2c66f3=_0x12d321[_0x374f('0x0')][_0x374f('0x9')](_0x374f('0x7')),_0x43c9cf=_0x12d321[_0x374f('0xa')];_0x2c66f3[_0x374f('0x1')][_0x374f('0x2')](_0x374f('0x8'),_0x5548d9=>_0xf16cec(_0x43c9cf,_0x374f('0x5'),_0x5548d9));}}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module track-changes/integrations/tableproperties
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import type { Range } from 'ckeditor5/src/engine';
10
- import type { default as Suggestion } from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import type { Range } from 'ckeditor5/src/engine.js';
10
+ import type { default as Suggestion } from '../suggestion.js';
11
+ import type { Description } from '../suggestiondescriptionfactory.js';
12
12
  /**
13
13
  * Provides track changes plugin integration for table properties feature.
14
14
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33ee=['TableCellPropertiesEditing','getSuggestionCallback','registerDescriptionCallback','_suggestionFactory','document','tableAlignment','plugins','tableCellBorderWidth','TablePropertiesEditing','selection','*Format:*\x20change\x20table\x20cell\x20properties','join','handleSuggestionDescription','getContainedElement','getSelectionAffectedTableCells','tableBorderWidth','enqueueChange','editor','formatBlock','nodeAfter','handleDiscardAction','tableCellBorderColor','TrackChangesTableProperties','tableBackgroundColor','has','_descriptionFactory','change','_handlePropertyChange','tableCellPadding','enableCommand','getSuggestions','commandParams','tableCellWidth','start','discard','tableCellHeight','locale','findAncestor','tableCellProperties','format','table','_getSuggestion','TableUtils','registerCustomCallback','accept','tableBorderColor','tableProperties','subType','pluginName','tableCellVerticalAlignment','tableCellBorderStyle','get','model','tableCellHorizontalAlignment','getFirstPosition','TrackChangesEditing','*Format:*\x20change\x20table\x20properties'];(function(_0x4fc654,_0x33eedd){const _0x41e723=function(_0x1e6067){while(--_0x1e6067){_0x4fc654['push'](_0x4fc654['shift']());}};_0x41e723(++_0x33eedd);}(_0x33ee,0x1b3));const _0x41e7=function(_0x4fc654,_0x33eedd){_0x4fc654=_0x4fc654-0x0;let _0x41e723=_0x33ee[_0x4fc654];return _0x41e723;};import{Plugin as _0x1dc800}from'ckeditor5/src/core';import{getTranslation as _0x50f909}from'../utils/common-translations';export default class Mt extends _0x1dc800{constructor(_0x2990f0){super(_0x2990f0),this['tableProperties']=[_0x41e7('0x9'),'tableBorderStyle',_0x41e7('0x24'),_0x41e7('0x1a'),'tableWidth','tableHeight',_0x41e7('0x2c')],this[_0x41e7('0x2')]=[_0x41e7('0x2a'),_0x41e7('0xe'),_0x41e7('0x1c'),_0x41e7('0x31'),_0x41e7('0x35'),_0x41e7('0x38'),'tableCellBackgroundColor',_0x41e7('0x11'),_0x41e7('0xd')];}static get[_0x41e7('0xc')](){return _0x41e7('0x2b');}['afterInit'](){const _0x3095fd=this['editor'][_0x41e7('0x1b')]['get']('TrackChangesEditing');if(this['editor'][_0x41e7('0x1b')][_0x41e7('0x2d')](_0x41e7('0x1d'))){for(const _0x19d6a1 of this[_0x41e7('0xa')])_0x3095fd[_0x41e7('0x32')](_0x19d6a1,(_0x2df4f0,_0x568a07)=>{const _0x84067d=this[_0x41e7('0x26')][_0x41e7('0x10')][_0x41e7('0x19')][_0x41e7('0x1e')][_0x41e7('0x12')]()[_0x41e7('0x1')](_0x41e7('0x4'));this[_0x41e7('0x30')](_0x19d6a1,[_0x84067d],this[_0x41e7('0xa')],'tableProperties',_0x2df4f0,_0x568a07);});_0x3095fd[_0x41e7('0x18')][_0x41e7('0x7')]('formatBlock',_0x41e7('0xa'),_0x41e7('0x8'),_0x3095fd['_suggestionFactory']['getSuggestionCallback'](_0x41e7('0x27'),null,_0x41e7('0x37'))),_0x3095fd['_suggestionFactory'][_0x41e7('0x7')]('formatBlock',_0x41e7('0xa'),_0x41e7('0x37'),(_0x2d6bb3,_0x5e78c5)=>this[_0x41e7('0x29')](this['tableProperties'],_0x2d6bb3,_0x5e78c5)),_0x3095fd['_suggestionFactory'][_0x41e7('0x7')](_0x41e7('0x27'),_0x41e7('0xa'),_0x41e7('0x20'),()=>!0x1);}if(this[_0x41e7('0x26')][_0x41e7('0x1b')][_0x41e7('0x2d')](_0x41e7('0x15'))){for(const _0x24aec3 of this[_0x41e7('0x2')])_0x3095fd[_0x41e7('0x32')](_0x24aec3,(_0x1a5dd4,_0x59e638)=>{const _0x2614d4=this['editor']['plugins'][_0x41e7('0xf')](_0x41e7('0x6'))[_0x41e7('0x23')](this[_0x41e7('0x26')]['model'][_0x41e7('0x19')]['selection']);this['_handlePropertyChange'](_0x24aec3,_0x2614d4,this[_0x41e7('0x2')],_0x41e7('0x2'),_0x1a5dd4,_0x59e638);});_0x3095fd[_0x41e7('0x18')][_0x41e7('0x7')]('formatBlock',_0x41e7('0x2'),_0x41e7('0x8'),_0x3095fd[_0x41e7('0x18')][_0x41e7('0x16')](_0x41e7('0x27'),null,_0x41e7('0x37'))),_0x3095fd[_0x41e7('0x18')][_0x41e7('0x7')]('formatBlock',_0x41e7('0x2'),_0x41e7('0x37'),(_0x25bce7,_0x1f6403)=>this['handleDiscardAction'](this[_0x41e7('0x2')],_0x25bce7,_0x1f6403)),_0x3095fd['_suggestionFactory'][_0x41e7('0x7')](_0x41e7('0x27'),'tableCellProperties',_0x41e7('0x20'),()=>!0x1);}_0x3095fd[_0x41e7('0x2e')][_0x41e7('0x17')](_0x1b2b80=>this[_0x41e7('0x21')](_0x1b2b80));}['_handlePropertyChange'](_0x28e547,_0x34db0a,_0x525997,_0x9ca471,_0x137b6f,_0x4342cc){const _0x1b6414=this[_0x41e7('0x26')][_0x41e7('0x1b')]['get'](_0x41e7('0x13'));this['editor'][_0x41e7('0x10')][_0x41e7('0x25')](_0x4342cc['batch'],()=>{for(const _0x296f50 of _0x34db0a){if(this[_0x41e7('0x5')](_0x296f50,_0x9ca471))_0x137b6f(_0x4342cc);else{const _0x3aac9d={};for(const _0x5aac4e of _0x525997){const _0x31c1d5=_0x296f50['getAttribute'](_0x5aac4e);void 0x0!==_0x31c1d5&&(_0x3aac9d[_0x5aac4e]=_0x31c1d5);}_0x137b6f(_0x4342cc),_0x1b6414['markBlockFormat'](_0x296f50,{'commandParams':[_0x3aac9d]},[],_0x9ca471);}}});}[_0x41e7('0x29')](_0x4cbc8e,_0x152b02,_0x131572){const _0x3307b4=_0x152b02[0x0][_0x41e7('0x36')][_0x41e7('0x28')],_0x56a34a=_0x131572[_0x41e7('0x34')][0x0];this['editor'][_0x41e7('0x10')][_0x41e7('0x2f')](_0x2f6bf4=>{for(const _0x303f21 of _0x4cbc8e)void 0x0!==_0x56a34a[_0x303f21]?_0x2f6bf4['setAttribute'](_0x303f21,_0x56a34a[_0x303f21],_0x3307b4):_0x2f6bf4['removeAttribute'](_0x303f21,_0x3307b4);});}['handleSuggestionDescription'](_0x326552){if(_0x326552['data'])switch(_0x326552[_0x41e7('0xb')]){case _0x41e7('0xa'):return{'type':'format','content':_0x50f909(this[_0x41e7('0x26')][_0x41e7('0x0')],_0x41e7('0x14'))};case _0x41e7('0x2'):return{'type':_0x41e7('0x3'),'content':_0x50f909(this[_0x41e7('0x26')]['locale'],_0x41e7('0x1f'))};}}[_0x41e7('0x5')](_0x53586a,_0x57fbbd){const _0x53cf22=this[_0x41e7('0x26')][_0x41e7('0x1b')][_0x41e7('0xf')](_0x41e7('0x13'));for(const _0xccc5a9 of _0x53cf22[_0x41e7('0x33')]({'skipNotAttached':!0x0})){const _0x3b8d47=_0xccc5a9[_0x41e7('0x22')]();if(_0xccc5a9['subType']===_0x57fbbd&&_0x3b8d47===_0x53586a)return _0xccc5a9;}return null;}}
23
+ const _0x109c=['_handlePropertyChange','tableCellBackgroundColor','join','batch','tableHeight','enableCommand','tableCellHeight','getFirstPosition','TrackChangesTableProperties','formatBlock','document','tableCellBorderColor','handleDiscardAction','nodeAfter','tableProperties','discard','*Format:*\x20change\x20table\x20cell\x20properties','TrackChangesEditing','table','tableWidth','findAncestor','tableCellPadding','markBlockFormat','getSuggestionCallback','tableCellVerticalAlignment','subType','_getSuggestion','afterInit','get','registerCustomCallback','tableAlignment','getSelectionAffectedTableCells','editor','commandParams','_suggestionFactory','tableBorderWidth','tableBorderStyle','getContainedElement','format','locale','TablePropertiesEditing','change','handleSuggestionDescription','TableCellPropertiesEditing','tableCellProperties','enqueueChange','data','tableCellBorderStyle','plugins','*Format:*\x20change\x20table\x20properties','registerDescriptionCallback','tableCellHorizontalAlignment','pluginName','selection','_descriptionFactory','has','model','setAttribute','accept'];(function(_0x4833a8,_0x109c6f){const _0x250a94=function(_0x589d34){while(--_0x589d34){_0x4833a8['push'](_0x4833a8['shift']());}};_0x250a94(++_0x109c6f);}(_0x109c,0x193));const _0x250a=function(_0x4833a8,_0x109c6f){_0x4833a8=_0x4833a8-0x0;let _0x250a94=_0x109c[_0x4833a8];return _0x250a94;};import{Plugin as _0x4b7fe8}from'ckeditor5/src/core.js';import{getTranslation as _0x285658}from'../utils/common-translations.js';export default class Nt extends _0x4b7fe8{constructor(_0x45f97a){super(_0x45f97a),this['tableProperties']=['tableBorderColor',_0x250a('0x2e'),_0x250a('0x2d'),_0x250a('0x28'),_0x250a('0x1d'),_0x250a('0xe'),'tableBackgroundColor'],this[_0x250a('0x36')]=[_0x250a('0x15'),_0x250a('0x39'),'tableCellBorderWidth',_0x250a('0x1f'),'tableCellWidth',_0x250a('0x10'),_0x250a('0xb'),_0x250a('0x2'),_0x250a('0x22')];}static get[_0x250a('0x3')](){return _0x250a('0x12');}[_0x250a('0x25')](){const _0x40a5af=this[_0x250a('0x2a')]['plugins'][_0x250a('0x26')](_0x250a('0x1b'));if(this[_0x250a('0x2a')][_0x250a('0x3a')]['has'](_0x250a('0x32'))){for(const _0x1195d9 of this[_0x250a('0x18')])_0x40a5af['enableCommand'](_0x1195d9,(_0x48dfd8,_0x3ec7cb)=>{const _0x5bbe8a=this[_0x250a('0x2a')][_0x250a('0x7')][_0x250a('0x14')][_0x250a('0x4')][_0x250a('0x11')]()[_0x250a('0x1e')](_0x250a('0x1c'));this[_0x250a('0xa')](_0x1195d9,[_0x5bbe8a],this['tableProperties'],_0x250a('0x18'),_0x48dfd8,_0x3ec7cb);});_0x40a5af['_suggestionFactory'][_0x250a('0x27')]('formatBlock',_0x250a('0x18'),'accept',_0x40a5af['_suggestionFactory']['getSuggestionCallback'](_0x250a('0x13'),null,_0x250a('0x19'))),_0x40a5af[_0x250a('0x2c')]['registerCustomCallback'](_0x250a('0x13'),'tableProperties',_0x250a('0x19'),(_0x5a80b6,_0xf6030d)=>this['handleDiscardAction'](this[_0x250a('0x18')],_0x5a80b6,_0xf6030d)),_0x40a5af['_suggestionFactory'][_0x250a('0x27')]('formatBlock',_0x250a('0x18'),_0x250a('0xc'),()=>!0x1);}if(this[_0x250a('0x2a')]['plugins'][_0x250a('0x6')](_0x250a('0x35'))){for(const _0x3e0a7b of this[_0x250a('0x36')])_0x40a5af[_0x250a('0xf')](_0x3e0a7b,(_0x40284a,_0x45c8a3)=>{const _0x5dcc84=this[_0x250a('0x2a')]['plugins'][_0x250a('0x26')]('TableUtils')[_0x250a('0x29')](this['editor'][_0x250a('0x7')]['document'][_0x250a('0x4')]);this[_0x250a('0xa')](_0x3e0a7b,_0x5dcc84,this['tableCellProperties'],_0x250a('0x36'),_0x40284a,_0x45c8a3);});_0x40a5af['_suggestionFactory']['registerCustomCallback'](_0x250a('0x13'),_0x250a('0x36'),_0x250a('0x9'),_0x40a5af['_suggestionFactory'][_0x250a('0x21')](_0x250a('0x13'),null,_0x250a('0x19'))),_0x40a5af[_0x250a('0x2c')]['registerCustomCallback'](_0x250a('0x13'),_0x250a('0x36'),_0x250a('0x19'),(_0x9795c9,_0x5d326c)=>this[_0x250a('0x16')](this[_0x250a('0x36')],_0x9795c9,_0x5d326c)),_0x40a5af[_0x250a('0x2c')][_0x250a('0x27')](_0x250a('0x13'),'tableCellProperties','join',()=>!0x1);}_0x40a5af[_0x250a('0x5')][_0x250a('0x1')](_0x4e5105=>this[_0x250a('0x34')](_0x4e5105));}[_0x250a('0xa')](_0x3d3c4f,_0xd0f029,_0x8c8975,_0xf83acb,_0x3e5e8d,_0x4e6e06){const _0x19ab84=this['editor'][_0x250a('0x3a')][_0x250a('0x26')](_0x250a('0x1b'));this['editor'][_0x250a('0x7')][_0x250a('0x37')](_0x4e6e06[_0x250a('0xd')],()=>{for(const _0x61bfff of _0xd0f029){if(this['_getSuggestion'](_0x61bfff,_0xf83acb))_0x3e5e8d(_0x4e6e06);else{const _0x589d79={};for(const _0x11c217 of _0x8c8975){const _0x131ccd=_0x61bfff['getAttribute'](_0x11c217);void 0x0!==_0x131ccd&&(_0x589d79[_0x11c217]=_0x131ccd);}_0x3e5e8d(_0x4e6e06),_0x19ab84[_0x250a('0x20')](_0x61bfff,{'commandParams':[_0x589d79]},[],_0xf83acb);}}});}['handleDiscardAction'](_0x3c8b52,_0x18bccc,_0x1cd104){const _0x5b77ac=_0x18bccc[0x0]['start'][_0x250a('0x17')],_0x4453ab=_0x1cd104[_0x250a('0x2b')][0x0];this[_0x250a('0x2a')][_0x250a('0x7')][_0x250a('0x33')](_0x2b568b=>{for(const _0x622d1f of _0x3c8b52)void 0x0!==_0x4453ab[_0x622d1f]?_0x2b568b[_0x250a('0x8')](_0x622d1f,_0x4453ab[_0x622d1f],_0x5b77ac):_0x2b568b['removeAttribute'](_0x622d1f,_0x5b77ac);});}['handleSuggestionDescription'](_0x1efa0d){if(_0x1efa0d[_0x250a('0x38')])switch(_0x1efa0d['subType']){case _0x250a('0x18'):return{'type':'format','content':_0x285658(this[_0x250a('0x2a')][_0x250a('0x31')],_0x250a('0x0'))};case'tableCellProperties':return{'type':_0x250a('0x30'),'content':_0x285658(this[_0x250a('0x2a')][_0x250a('0x31')],_0x250a('0x1a'))};}}[_0x250a('0x24')](_0x247192,_0x39b746){const _0x3b634b=this[_0x250a('0x2a')][_0x250a('0x3a')][_0x250a('0x26')](_0x250a('0x1b'));for(const _0x1574ea of _0x3b634b['getSuggestions']({'skipNotAttached':!0x0})){const _0x1ae467=_0x1574ea[_0x250a('0x2f')]();if(_0x1574ea[_0x250a('0x23')]===_0x39b746&&_0x1ae467===_0x247192)return _0x1574ea;}return null;}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/template
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for template feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4915=['has','Template','insertTemplate','get','editor','enableCommand','plugins','afterInit'];(function(_0x852a80,_0x4915ea){const _0x87db2b=function(_0x13b1d8){while(--_0x13b1d8){_0x852a80['push'](_0x852a80['shift']());}};_0x87db2b(++_0x4915ea);}(_0x4915,0x86));const _0x87db=function(_0x852a80,_0x4915ea){_0x852a80=_0x852a80-0x0;let _0x87db2b=_0x4915[_0x852a80];return _0x87db2b;};import{Plugin as _0x3839d7}from'ckeditor5/src/core';export default class vt extends _0x3839d7{[_0x87db('0x1')](){const _0x4c5050=this[_0x87db('0x6')];_0x4c5050[_0x87db('0x0')][_0x87db('0x2')](_0x87db('0x3'))&&_0x4c5050[_0x87db('0x0')][_0x87db('0x5')]('TrackChangesEditing')[_0x87db('0x7')](_0x87db('0x4'));}}
23
+ const _0x1a42=['enableCommand','TrackChangesEditing','plugins','has'];(function(_0x2e454f,_0x1a42c5){const _0x33f1ff=function(_0x3d1b1c){while(--_0x3d1b1c){_0x2e454f['push'](_0x2e454f['shift']());}};_0x33f1ff(++_0x1a42c5);}(_0x1a42,0x126));const _0x33f1=function(_0x2e454f,_0x1a42c5){_0x2e454f=_0x2e454f-0x0;let _0x33f1ff=_0x1a42[_0x2e454f];return _0x33f1ff;};import{Plugin as _0x34c506}from'ckeditor5/src/core.js';export default class It extends _0x34c506{['afterInit'](){const _0x3ff53b=this['editor'];_0x3ff53b[_0x33f1('0x0')][_0x33f1('0x1')]('Template')&&_0x3ff53b[_0x33f1('0x0')]['get'](_0x33f1('0x3'))[_0x33f1('0x2')]('insertTemplate');}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/title
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for title feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x158c=['Title','end','isCollapsed','TrackChangesEditing','document','get','isEqual','getNearestSelectionRange','updateMarker','has','start','createRange','locale','plugins','forward','getChangedMarkers','differ','ELEMENT_TITLE','newRange','schema','model','afterInit','title-content','suggestion','nodeBefore','_descriptionFactory','removeMarker','isTouching'];(function(_0x58bfdb,_0x158ce4){const _0x439629=function(_0x5849c4){while(--_0x5849c4){_0x58bfdb['push'](_0x58bfdb['shift']());}};_0x439629(++_0x158ce4);}(_0x158c,0x1d9));const _0x4396=function(_0x58bfdb,_0x158ce4){_0x58bfdb=_0x58bfdb-0x0;let _0x439629=_0x158c[_0x58bfdb];return _0x439629;};import{Plugin as _0x3f1e5c}from'ckeditor5/src/core';import{getTranslation as _0x360dd0}from'../utils/common-translations';export default class _t extends _0x3f1e5c{[_0x4396('0x18')](){const _0x4ce418=this['editor'];if(!_0x4ce418[_0x4396('0x10')][_0x4396('0xc')](_0x4396('0x3')))return;const _0x689a00=_0x4ce418[_0x4396('0x10')][_0x4396('0x8')](_0x4396('0x6'));_0x689a00[_0x4396('0x0')]['registerElementLabel'](_0x4396('0x19'),()=>_0x360dd0(_0x4ce418[_0x4396('0xf')],_0x4396('0x14'))),_0x4ce418[_0x4396('0x17')][_0x4396('0x7')]['registerPostFixer'](_0x56cd60=>{let _0x3e0eb4=!0x1;const _0x1657b3=Array['from'](_0x4ce418[_0x4396('0x17')][_0x4396('0x7')][_0x4396('0x13')][_0x4396('0x12')]());for(const {name:_0x2bb377,data:_0x18b3f6}of _0x1657b3){const {group:_0x495b0a}=_0x689a00['_splitMarkerName'](_0x2bb377);if(_0x4396('0x1a')!==_0x495b0a||!_0x18b3f6[_0x4396('0x15')])continue;const _0x1b7f90=_0x18b3f6[_0x4396('0x15')],_0x470c55=_0x1b7f90[_0x4396('0x4')][_0x4396('0x1b')];if(!_0x470c55||!_0x470c55['is']('element',_0x4396('0x19')))continue;if(!_0x1b7f90[_0x4396('0xd')][_0x4396('0x2')](_0x1b7f90[_0x4396('0x4')]))continue;const _0x4db9c0=_0x4ce418[_0x4396('0x17')][_0x4396('0x16')][_0x4396('0xa')](_0x1b7f90[_0x4396('0x4')],_0x4396('0x11'));if(_0x4db9c0&&_0x4db9c0[_0x4396('0x5')]){const _0x29fdbb=_0x56cd60[_0x4396('0xe')](_0x1b7f90['start'],_0x4db9c0[_0x4396('0xd')]);_0x29fdbb[_0x4396('0x9')](_0x1b7f90)||(_0x56cd60[_0x4396('0xb')](_0x2bb377,{'range':_0x29fdbb}),_0x3e0eb4=!0x0);}_0x3e0eb4||(_0x56cd60[_0x4396('0x1')](_0x2bb377),_0x3e0eb4=!0x0);}return _0x3e0eb4;});}}
23
+ const _0x533e=['newRange','plugins','updateMarker','ELEMENT_TITLE','element','registerPostFixer','get','title-content','locale','TrackChangesEditing','nodeBefore','suggestion','isCollapsed','forward','from','_descriptionFactory','editor','getChangedMarkers','_splitMarkerName','schema','end','getNearestSelectionRange','differ','removeMarker','isTouching','start','isEqual','Title','model','afterInit','document'];(function(_0x42495a,_0x533ed9){const _0x5c0846=function(_0xb8abbd){while(--_0xb8abbd){_0x42495a['push'](_0x42495a['shift']());}};_0x5c0846(++_0x533ed9);}(_0x533e,0x17a));const _0x5c08=function(_0x42495a,_0x533ed9){_0x42495a=_0x42495a-0x0;let _0x5c0846=_0x533e[_0x42495a];return _0x5c0846;};import{Plugin as _0xe025a}from'ckeditor5/src/core.js';import{getTranslation as _0x4fec96}from'../utils/common-translations.js';export default class Ct extends _0xe025a{[_0x5c08('0x17')](){const _0xc0675d=this[_0x5c08('0xa')];if(!_0xc0675d[_0x5c08('0x1a')]['has'](_0x5c08('0x15')))return;const _0x35c1ad=_0xc0675d[_0x5c08('0x1a')][_0x5c08('0x0')](_0x5c08('0x3'));_0x35c1ad[_0x5c08('0x9')]['registerElementLabel'](_0x5c08('0x1'),()=>_0x4fec96(_0xc0675d[_0x5c08('0x2')],_0x5c08('0x1c'))),_0xc0675d['model'][_0x5c08('0x18')][_0x5c08('0x1e')](_0x265c28=>{let _0x5e804c=!0x1;const _0x529e95=Array[_0x5c08('0x8')](_0xc0675d[_0x5c08('0x16')]['document'][_0x5c08('0x10')][_0x5c08('0xb')]());for(const {name:_0x455e5a,data:_0x3aef34}of _0x529e95){const {group:_0x148c19}=_0x35c1ad[_0x5c08('0xc')](_0x455e5a);if(_0x5c08('0x5')!==_0x148c19||!_0x3aef34[_0x5c08('0x19')])continue;const _0x4c53ea=_0x3aef34['newRange'],_0x8e836c=_0x4c53ea[_0x5c08('0xe')][_0x5c08('0x4')];if(!_0x8e836c||!_0x8e836c['is'](_0x5c08('0x1d'),_0x5c08('0x1')))continue;if(!_0x4c53ea[_0x5c08('0x13')][_0x5c08('0x12')](_0x4c53ea[_0x5c08('0xe')]))continue;const _0x12e75e=_0xc0675d[_0x5c08('0x16')][_0x5c08('0xd')][_0x5c08('0xf')](_0x4c53ea['end'],_0x5c08('0x7'));if(_0x12e75e&&_0x12e75e[_0x5c08('0x6')]){const _0x5672c8=_0x265c28['createRange'](_0x4c53ea['start'],_0x12e75e[_0x5c08('0x13')]);_0x5672c8[_0x5c08('0x14')](_0x4c53ea)||(_0x265c28[_0x5c08('0x1b')](_0x455e5a,{'range':_0x5672c8}),_0x5e804c=!0x0);}_0x5e804c||(_0x265c28[_0x5c08('0x11')](_0x455e5a),_0x5e804c=!0x0);}return _0x5e804c;});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/undo
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:undo/undo~Undo undo feature}.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1990=['get','undo','afterInit','editor','enableCommand','UndoEditing','redo','plugins','TrackChangesEditing'];(function(_0x49538f,_0x1990b9){const _0x3f8073=function(_0x48842f){while(--_0x48842f){_0x49538f['push'](_0x49538f['shift']());}};_0x3f8073(++_0x1990b9);}(_0x1990,0x77));const _0x3f80=function(_0x49538f,_0x1990b9){_0x49538f=_0x49538f-0x0;let _0x3f8073=_0x1990[_0x49538f];return _0x3f8073;};import{Plugin as _0x4aaba0}from'ckeditor5/src/core';export default class Dt extends _0x4aaba0{[_0x3f80('0x0')](){const _0x2b1c93=this[_0x3f80('0x1')],_0x366dcf=_0x2b1c93[_0x3f80('0x5')][_0x3f80('0x7')](_0x3f80('0x6'));_0x2b1c93['plugins']['has'](_0x3f80('0x3'))&&(_0x366dcf[_0x3f80('0x2')](_0x3f80('0x8')),_0x366dcf['enableCommand'](_0x3f80('0x4')));}}
23
+ const _0x4cf4=['TrackChangesEditing','redo','editor','plugins','get','UndoEditing','afterInit'];(function(_0x5ef352,_0x4cf4e5){const _0x550d44=function(_0x89a134){while(--_0x89a134){_0x5ef352['push'](_0x5ef352['shift']());}};_0x550d44(++_0x4cf4e5);}(_0x4cf4,0x1f3));const _0x550d=function(_0x5ef352,_0x4cf4e5){_0x5ef352=_0x5ef352-0x0;let _0x550d44=_0x4cf4[_0x5ef352];return _0x550d44;};import{Plugin as _0x2f3abb}from'ckeditor5/src/core.js';export default class _t extends _0x2f3abb{[_0x550d('0x4')](){const _0x51604b=this[_0x550d('0x0')],_0xc921be=_0x51604b[_0x550d('0x1')][_0x550d('0x2')](_0x550d('0x5'));_0x51604b[_0x550d('0x1')]['has'](_0x550d('0x3'))&&(_0xc921be['enableCommand']('undo'),_0xc921be['enableCommand'](_0x550d('0x6')));}}