@ckeditor/ckeditor5-track-changes 40.2.0 → 41.0.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 (196) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/lang/translations/ar.po +1 -1
  7. package/lang/translations/az.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es.po +2 -2
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sq.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/uk.po +1 -1
  50. package/lang/translations/ur.po +1 -1
  51. package/lang/translations/vi.po +1 -1
  52. package/lang/translations/zh-cn.po +1 -1
  53. package/lang/translations/zh.po +1 -1
  54. package/package.json +4 -3
  55. package/src/augmentation.d.ts +3 -3
  56. package/src/augmentation.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  60. package/src/commands/discardsuggestioncommand.js +2 -2
  61. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  62. package/src/commands/executeonallsuggestionscommand.js +2 -2
  63. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  64. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  65. package/src/commands/trackchangescommand.d.ts +2 -2
  66. package/src/commands/trackchangescommand.js +2 -2
  67. package/src/index.d.ts +13 -13
  68. package/src/index.js +2 -2
  69. package/src/integrations/aiassistant.d.ts +2 -2
  70. package/src/integrations/aiassistant.js +2 -2
  71. package/src/integrations/alignment.d.ts +2 -2
  72. package/src/integrations/alignment.js +2 -2
  73. package/src/integrations/basicstyles.d.ts +2 -2
  74. package/src/integrations/basicstyles.js +2 -2
  75. package/src/integrations/blockquote.d.ts +2 -2
  76. package/src/integrations/blockquote.js +2 -2
  77. package/src/integrations/casechange.d.ts +17 -0
  78. package/src/integrations/casechange.js +23 -0
  79. package/src/integrations/ckbox.d.ts +2 -2
  80. package/src/integrations/ckbox.js +2 -2
  81. package/src/integrations/codeblock.d.ts +2 -2
  82. package/src/integrations/codeblock.js +2 -2
  83. package/src/integrations/comments.d.ts +2 -2
  84. package/src/integrations/comments.js +2 -2
  85. package/src/integrations/deletecommand.d.ts +3 -3
  86. package/src/integrations/deletecommand.js +2 -2
  87. package/src/integrations/entercommand.d.ts +3 -3
  88. package/src/integrations/entercommand.js +2 -2
  89. package/src/integrations/findandreplace.d.ts +2 -2
  90. package/src/integrations/findandreplace.js +2 -2
  91. package/src/integrations/font.d.ts +2 -2
  92. package/src/integrations/font.js +2 -2
  93. package/src/integrations/formatpainter.d.ts +2 -2
  94. package/src/integrations/formatpainter.js +2 -2
  95. package/src/integrations/heading.d.ts +2 -2
  96. package/src/integrations/heading.js +2 -2
  97. package/src/integrations/highlight.d.ts +2 -2
  98. package/src/integrations/highlight.js +2 -2
  99. package/src/integrations/horizontalline.d.ts +2 -2
  100. package/src/integrations/horizontalline.js +2 -2
  101. package/src/integrations/htmlembed.d.ts +2 -2
  102. package/src/integrations/htmlembed.js +2 -2
  103. package/src/integrations/image.d.ts +2 -2
  104. package/src/integrations/image.js +2 -2
  105. package/src/integrations/imagereplace.d.ts +2 -2
  106. package/src/integrations/imagereplace.js +2 -2
  107. package/src/integrations/imagestyle.d.ts +2 -2
  108. package/src/integrations/imagestyle.js +2 -2
  109. package/src/integrations/importword.d.ts +2 -2
  110. package/src/integrations/importword.js +2 -2
  111. package/src/integrations/indent.d.ts +2 -2
  112. package/src/integrations/indent.js +2 -2
  113. package/src/integrations/inputcommand.d.ts +3 -3
  114. package/src/integrations/inputcommand.js +2 -2
  115. package/src/integrations/legacylist.d.ts +17 -0
  116. package/src/integrations/legacylist.js +23 -0
  117. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  118. package/src/integrations/legacylistproperties.js +23 -0
  119. package/src/integrations/link.d.ts +2 -2
  120. package/src/integrations/link.js +2 -2
  121. package/src/integrations/list.d.ts +6 -6
  122. package/src/integrations/list.js +2 -2
  123. package/src/integrations/listproperties.d.ts +6 -15
  124. package/src/integrations/listproperties.js +2 -2
  125. package/src/integrations/mediaembed.d.ts +2 -2
  126. package/src/integrations/mediaembed.js +2 -2
  127. package/src/integrations/mention.d.ts +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.d.ts +2 -2
  130. package/src/integrations/pagebreak.js +2 -2
  131. package/src/integrations/paragraph.d.ts +2 -2
  132. package/src/integrations/paragraph.js +2 -2
  133. package/src/integrations/removeformat.d.ts +2 -2
  134. package/src/integrations/removeformat.js +2 -2
  135. package/src/integrations/restrictededitingmode.d.ts +2 -2
  136. package/src/integrations/restrictededitingmode.js +2 -2
  137. package/src/integrations/shiftentercommand.d.ts +3 -3
  138. package/src/integrations/shiftentercommand.js +2 -2
  139. package/src/integrations/standardeditingmode.d.ts +2 -2
  140. package/src/integrations/standardeditingmode.js +2 -2
  141. package/src/integrations/style.d.ts +2 -2
  142. package/src/integrations/style.js +2 -2
  143. package/src/integrations/table.d.ts +2 -2
  144. package/src/integrations/table.js +2 -2
  145. package/src/integrations/tablecaption.d.ts +3 -3
  146. package/src/integrations/tablecaption.js +2 -2
  147. package/src/integrations/tableclipboard.d.ts +3 -3
  148. package/src/integrations/tableclipboard.js +2 -2
  149. package/src/integrations/tablecolumnresize.d.ts +5 -5
  150. package/src/integrations/tablecolumnresize.js +2 -2
  151. package/src/integrations/tableheadings.d.ts +3 -3
  152. package/src/integrations/tableheadings.js +2 -2
  153. package/src/integrations/tablemergesplit.d.ts +3 -3
  154. package/src/integrations/tablemergesplit.js +2 -2
  155. package/src/integrations/tableofcontents.d.ts +2 -2
  156. package/src/integrations/tableofcontents.js +2 -2
  157. package/src/integrations/tableproperties.d.ts +5 -5
  158. package/src/integrations/tableproperties.js +2 -2
  159. package/src/integrations/template.d.ts +2 -2
  160. package/src/integrations/template.js +2 -2
  161. package/src/integrations/title.d.ts +2 -2
  162. package/src/integrations/title.js +2 -2
  163. package/src/integrations/undo.d.ts +2 -2
  164. package/src/integrations/undo.js +2 -2
  165. package/src/integrations/utils.d.ts +4 -4
  166. package/src/integrations/utils.js +2 -2
  167. package/src/suggestion.d.ts +6 -6
  168. package/src/suggestion.js +2 -2
  169. package/src/suggestiondescriptionfactory.d.ts +4 -4
  170. package/src/suggestiondescriptionfactory.js +2 -2
  171. package/src/trackchanges.d.ts +6 -6
  172. package/src/trackchanges.js +2 -2
  173. package/src/trackchangesconfig.d.ts +2 -2
  174. package/src/trackchangesconfig.js +1 -1
  175. package/src/trackchangesdata.d.ts +3 -3
  176. package/src/trackchangesdata.js +2 -2
  177. package/src/trackchangesediting.d.ts +56 -55
  178. package/src/trackchangesediting.js +2 -2
  179. package/src/trackchangesui.d.ts +4 -4
  180. package/src/trackchangesui.js +2 -2
  181. package/src/ui/suggestioncontroller.d.ts +6 -6
  182. package/src/ui/suggestioncontroller.js +2 -2
  183. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  184. package/src/ui/view/basesuggestionthreadview.js +2 -2
  185. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  186. package/src/ui/view/suggestionthreadview.js +2 -2
  187. package/src/utils/common-translations.d.ts +2 -2
  188. package/src/utils/common-translations.js +2 -2
  189. package/src/utils/utils.d.ts +5 -5
  190. package/src/utils/utils.js +2 -2
  191. package/theme/icons/track-changes-accept.svg +1 -1
  192. package/theme/icons/track-changes-discard.svg +1 -1
  193. package/theme/icons/track-changes.svg +1 -1
  194. package/src/integrations/documentlist.d.ts +0 -17
  195. package/src/integrations/documentlist.js +0 -23
  196. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1293=['_tableSuggestions','forceValue','map','length','type','add','ELEMENT_TABLE','has','document','accept','filter','getColumnIndexes','insertion','enableCommand','afterInit','removeTableColumn','writer','editor','minColumn','data','end','getChanges','toLowerCase','insertTable','rootName','showSuggestionHighlights','_splitMarkerName','every','root','change','getRanges','startsWith','discard','getSelectionAffectedTableCells','join','registerDescriptionCallback','refresh','isArray','substr','change:data','insertTableColumnLeft','getSuggestion','differ','position','getContainedElement','span','highest','_tablePostFixingSubtypes','first','addClass','selection','MIN_SAFE_INTEGER','commands','addRange','registerPostFixer','last','low','nodeAfter','fromRange','markMultiRangeInsertion','downcastDispatcher','colspan','MAX_SAFE_INTEGER','_suggestionFactory','markMultiRangeDeletion','from','*Remove:*\x20%0','TableEditing','deletion','registerElementLabel','_setupColumnsRowsFixing','$graveyard','plugins','getAttribute','detach','above','findAncestor','ELEMENT_TABLE_ROW_WITH_TEXT','insert','_getSuggestionCoords','ELEMENT_TABLE_ROW','_getCoordsForCells','removeTableRow','tableRow','getRowIndexes','ELEMENT_TABLE_WITH_TEXT','get','order','*Insert:*\x20%0','enqueueChange','createTableWalker','model','name','TableUtils','oldRange','rowspan','options','isInContent','addMarker:suggestion','cell','left','TrackChangesEditing','min','ELEMENT_TABLE_COLUMN','isIntersectingWithRange','createRangeOn','tableColumn','getFirstRange','_acceptFormatSuggestionCallbackFactory','table','some','registerCustomCallback','_descriptionFactory','$textProxy','tableCell','mapper','maxColumn','classes','element','execute','isEqual','hasAttribute','getItems','setSelection','ELEMENT_TABLE_COLUMN_WITH_TEXT','push','insertTableColumnRight','getCellLocation','selectTableColumn','subType','createPositionAt','max','includes','start'];(function(_0x15fdfb,_0x12934c){const _0x4d8911=function(_0x4b05c1){while(--_0x4b05c1){_0x15fdfb['push'](_0x15fdfb['shift']());}};_0x4d8911(++_0x12934c);}(_0x1293,0xc0));const _0x4d89=function(_0x15fdfb,_0x12934c){_0x15fdfb=_0x15fdfb-0x0;let _0x4d8911=_0x1293[_0x15fdfb];return _0x4d8911;};import{Plugin as _0x240bab}from'ckeditor5/src/core';import{LiveRange as _0x4b2a7a}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3701f9}from'ckeditor5/src/widget';import{getTranslation as _0x40c305}from'../utils/common-translations';export default class wt extends _0x240bab{constructor(_0x2923b4){super(_0x2923b4),this[_0x4d89('0x7b')]=['tableRow',_0x4d89('0x30')],this['_tableSuggestions']=new Set();}[_0x4d89('0x5a')](){const _0x409da6=this[_0x4d89('0x5d')],_0x41dcfe=_0x409da6['model'][_0x4d89('0x54')]['selection'];if(!_0x409da6[_0x4d89('0xe')][_0x4d89('0x53')](_0x4d89('0x9')))return;const _0xf73bd9=_0x409da6['locale'],_0x12dbb1=_0x409da6[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x2b')),_0x32cd25=_0x409da6[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x23'));_0x12dbb1[_0x4d89('0x36')][_0x4d89('0xb')](_0x4d89('0x33'),_0x11da4f=>_0x40c305(_0xf73bd9,_0x4d89('0x52'),_0x11da4f)),this[_0x4d89('0xc')](),_0x12dbb1['enableCommand'](_0x4d89('0x63')),_0x12dbb1[_0x4d89('0x59')]('selectTableRow'),_0x12dbb1[_0x4d89('0x59')](_0x4d89('0x46'));for(const _0x2bd2ae of['insertTableRowAbove','insertTableRowBelow']){const _0x351f27=_0x409da6[_0x4d89('0x80')][_0x4d89('0x1c')](_0x2bd2ae);_0x12dbb1[_0x4d89('0x59')](_0x2bd2ae,_0x26813a=>{_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x576d9f=>{_0x26813a();const _0x3bc6a4=_0x4d89('0x11')===_0x351f27[_0x4d89('0x1d')],_0x2008ac=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0xc253bd=_0x32cd25[_0x4d89('0x1a')](_0x2008ac),_0x4c1202=_0x3bc6a4?_0xc253bd[_0x4d89('0x7c')]-0x1:_0xc253bd[_0x4d89('0x83')]+0x1,_0x5b3ec1=_0x2008ac[0x0][_0x4d89('0x12')](_0x4d89('0x33')),_0x4ef273=_0x32cd25[_0x4d89('0x20')](_0x5b3ec1,{'startRow':_0x4c1202,'endRow':_0x4c1202}),_0x1d3a6f=Array[_0x4d89('0x7')](_0x4ef273)[_0x4d89('0x4e')](_0x1a8bad=>_0x576d9f[_0x4d89('0x2f')](_0x1a8bad[_0x4d89('0x29')]));_0x12dbb1[_0x4d89('0x1')](_0x1d3a6f,_0x4d89('0x19'));});});}for(const _0x3d9952 of[_0x4d89('0x74'),_0x4d89('0x44')]){const _0x146aa8=_0x409da6['commands'][_0x4d89('0x1c')](_0x3d9952);_0x12dbb1[_0x4d89('0x59')](_0x3d9952,_0x32b8aa=>{_0x409da6[_0x4d89('0x21')]['change'](_0x34a159=>{_0x32b8aa();const _0x5597e3=_0x4d89('0x2a')===_0x146aa8[_0x4d89('0x1d')],_0x209ace=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0x24c282=_0x32cd25['getColumnIndexes'](_0x209ace),_0x32f7c2=_0x5597e3?_0x24c282['first']-0x1:_0x24c282['last']+0x1,_0x12d892=_0x209ace[0x0][_0x4d89('0x12')](_0x4d89('0x33')),_0x12ce50=_0x32cd25[_0x4d89('0x20')](_0x12d892,{'startRow':0x0,'column':_0x32f7c2,'includeAllSlots':!0x1}),_0x2fc124=Array[_0x4d89('0x7')](_0x12ce50)[_0x4d89('0x4e')](_0x5a2da4=>_0x34a159[_0x4d89('0x2f')](_0x5a2da4['cell']));_0x12dbb1[_0x4d89('0x1')](_0x2fc124,_0x4d89('0x30'));});});}for(const _0x288885 of['removeTableRow',_0x4d89('0x5b')]){const _0x1617a5=_0x288885[_0x4d89('0x72')](0xb),_0x41b124=_0x1617a5[_0x4d89('0x62')](),_0x11382a=_0x41b124[_0x4d89('0x72')](0x0,0x3)+_0x4d89('0x79'),_0x4ddfcd=_0x4d89('0x33')+_0x1617a5,_0x3925e3=_0x4d89('0x2c')+_0x1617a5,_0x55c9d6=_0x4d89('0x49')+_0x1617a5;_0x12dbb1['enableCommand'](_0x288885,()=>{_0x409da6[_0x4d89('0x21')]['change'](_0x317dde=>{const _0x2d5dfa=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0x3fb775=_0x2d5dfa[0x0]['findAncestor'](_0x4d89('0x33'));let _0x2a1f41;if(_0x4d89('0x18')==_0x288885){const _0x41ae38=_0x32cd25[_0x4d89('0x1a')](_0x2d5dfa);_0x2a1f41={'startRow':_0x41ae38['first'],'endRow':_0x41ae38[_0x4d89('0x83')],'includeAllSlots':!0x0};}else{const _0x1e8569=_0x32cd25[_0x4d89('0x57')](_0x2d5dfa);_0x2a1f41={'startColumn':_0x1e8569[_0x4d89('0x7c')],'endColumn':_0x1e8569[_0x4d89('0x83')],'includeAllSlots':!0x0};}const _0x2d7f5f=_0x32cd25[_0x4d89('0x20')](_0x3fb775,_0x2a1f41),_0x3c1929=Array[_0x4d89('0x7')](_0x2d7f5f)[_0x4d89('0x4e')](({cell:_0xa6f5a6})=>_0xa6f5a6),_0x24e77b=se(_0x3c1929[_0x4d89('0x56')](_0x11f8d8=>_0x11f8d8[_0x4d89('0x3f')](_0x11382a))),_0x5b53b2=se(_0x3c1929[_0x4d89('0x56')](_0x69a2ad=>!_0x69a2ad[_0x4d89('0x3f')](_0x11382a)))[_0x4d89('0x4e')](_0x2f5792=>_0x317dde['createRangeOn'](_0x2f5792)),_0x1b1c72=_0x12dbb1[_0x4d89('0x6')](_0x5b53b2,_0x4ddfcd);if(_0x1b1c72&&('tableRow'==_0x1b1c72[_0x4d89('0x47')]||_0x4d89('0x30')==_0x1b1c72[_0x4d89('0x47')])){const _0x155456=this[_0x4d89('0x15')](_0x1b1c72);for(const _0x2885cc of _0x24e77b){const _0x2d2d25=_0x317dde[_0x4d89('0x2f')](_0x2885cc),_0x3cc299=_0x32cd25[_0x4d89('0x45')](_0x2885cc),_0x24e44c=_0x2885cc[_0x4d89('0xf')](_0x11382a)-0x1,_0x212354=_0x155456[_0x3925e3],_0x2c8ad8=_0x155456[_0x55c9d6];_0x212354<=_0x3cc299[_0x41b124]&&_0x3cc299[_0x41b124]+_0x24e44c<=_0x2c8ad8&&_0x1b1c72['addRange'](_0x2d2d25);}}});});}function _0x16ec23(_0x5937fb){const _0x7d0513=Array[_0x4d89('0x7')](_0x41dcfe['getRanges']())[_0x4d89('0x4e')](_0x1009bc=>_0x4b2a7a[_0x4d89('0x0')](_0x1009bc));_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x524448=>{const _0x31facc=_0x524448['batch'];_0x5937fb=_0x5937fb[_0x4d89('0x56')](_0x5a52a8=>_0x4d89('0xd')!=_0x5a52a8['root']['rootName']),_0x524448['setSelection'](_0x5937fb),_0x409da6['commands'][_0x4d89('0x1c')](_0x4d89('0x18'))[_0x4d89('0x70')](),_0x409da6[_0x4d89('0x3d')](_0x4d89('0x18'),{'forceDefaultExecution':!0x0}),_0x409da6['model']['enqueueChange'](()=>{_0x409da6[_0x4d89('0x21')][_0x4d89('0x1f')](_0x31facc,_0x272f29=>{const _0x438d9c=_0x7d0513[_0x4d89('0x56')](_0x39e17a=>'$graveyard'!=_0x39e17a[_0x4d89('0x68')][_0x4d89('0x64')]);_0x438d9c['length']>0x0&&_0x272f29[_0x4d89('0x41')](_0x438d9c);for(const _0x31de77 of _0x7d0513)_0x31de77[_0x4d89('0x10')]();});});});}function _0xb2e97d(_0x2b6c0c){_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x5d2cfc=>{const _0x2c34bd=Array[_0x4d89('0x7')](_0x41dcfe['getRanges']())[_0x4d89('0x4e')](_0x1a15eb=>_0x4b2a7a['fromRange'](_0x1a15eb)),_0x100168=[];for(const _0x43b8a2 of _0x2b6c0c)for(const _0x5e14d7 of _0x43b8a2[_0x4d89('0x40')]({'shallow':!0x0}))_0x100168[_0x4d89('0x43')](_0x5e14d7);for(const _0x37e2e3 of _0x100168)_0x4d89('0xd')!=_0x37e2e3[_0x4d89('0x68')][_0x4d89('0x64')]&&(_0x5d2cfc[_0x4d89('0x41')](_0x5d2cfc[_0x4d89('0x48')](_0x37e2e3,0x0)),_0x409da6[_0x4d89('0x80')][_0x4d89('0x1c')]('removeTableColumn')[_0x4d89('0x70')](),_0x409da6[_0x4d89('0x3d')](_0x4d89('0x5b'),{'forceDefaultExecution':!0x0}));const _0xfb7553=_0x2c34bd[_0x4d89('0x56')](_0x51dd7a=>_0x4d89('0xd')!=_0x51dd7a['root'][_0x4d89('0x64')]);_0xfb7553[_0x4d89('0x4f')]>0x0&&_0x5d2cfc['setSelection'](_0xfb7553);for(const _0x1a361d of _0x2c34bd)_0x1a361d[_0x4d89('0x10')]();});}function _0x3a8033(_0x573895,_0x40a5ac){return _0x40a5ac[_0x4d89('0x67')](_0x2e2c96=>_0x573895[_0x4d89('0x34')](_0x42add0=>_0x42add0[_0x4d89('0x60')][_0x4d89('0x3e')](_0x2e2c96[_0x4d89('0x4b')])||_0x2e2c96[_0x4d89('0x60')]['isEqual'](_0x42add0[_0x4d89('0x4b')])));}function _0x35126d(_0x80ee5b,_0x1b70eb){return _0x80ee5b[_0x4d89('0x34')](_0x541c6a=>_0x1b70eb[_0x4d89('0x34')](_0x19924c=>_0x541c6a['end']['isTouching'](_0x19924c['start'])));}_0x409da6['data'][_0x4d89('0x2')]['on'](_0x4d89('0x28'),(_0x43917d,_0x5430b9,_0x6539e9)=>{if(!_0x6539e9[_0x4d89('0x26')][_0x4d89('0x65')])return;const _0xa5de7f=_0x5430b9['item'];if(!_0xa5de7f)return;const _0x44a18d=_0x6539e9[_0x4d89('0x39')]['toViewElement'](_0xa5de7f);function _0x3f3045(_0x48b230){return Array[_0x4d89('0x71')](_0x48b230)?_0x48b230:[_0x48b230];}_0x44a18d&&_0x4d89('0x38')===_0xa5de7f['name']&&_0x3701f9(_0x44a18d,_0x6539e9[_0x4d89('0x5c')],(_0xc4f89a,_0x552f5e,_0xefc465)=>_0xefc465[_0x4d89('0x7d')](_0x3f3045(_0x552f5e[_0x4d89('0x3b')]),_0xc4f89a),(_0x9b7c88,_0xe63348,_0x28fa47)=>_0x28fa47['removeClass'](_0x3f3045(_0xe63348[_0x4d89('0x3b')]),_0x9b7c88));},{'priority':_0x4d89('0x7a')}),_0x12dbb1[_0x4d89('0x36')][_0x4d89('0x6f')](_0x1537ae=>{if(_0x4d89('0x58')!=_0x1537ae[_0x4d89('0x50')]&&_0x4d89('0xa')!=_0x1537ae['type'])return;const _0x224376=_0x1537ae[_0x4d89('0x78')]();if(null!=_0x224376&&_0x224376['is'](_0x4d89('0x3c'),'table')){if(_0x4d89('0x58')==_0x1537ae['type']){const _0x32f5ab=_0x1537ae[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x50659c=>_0x50659c['is'](_0x4d89('0x37')))[_0x4d89('0x4e')](_0x4b5070=>_0x4b5070['data']);if(_0x32f5ab[_0x4d89('0x4f')])return{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x1b'),'\x22'+_0x32f5ab['join']('\x20')+'\x22'))};}if(_0x4d89('0xa')==_0x1537ae[_0x4d89('0x50')]){const _0x2abda9=_0x1537ae[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x49044c=>_0x49044c['is']('$textProxy'))[_0x4d89('0x4e')](_0x141aa0=>_0x141aa0[_0x4d89('0x5f')]);if(_0x2abda9[_0x4d89('0x4f')])return{'type':'deletion','content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,_0x4d89('0x1b'),'\x22'+_0x2abda9[_0x4d89('0x6e')]('\x20')+'\x22'))};}}}),_0x12dbb1[_0x4d89('0x36')]['registerDescriptionCallback'](_0x39ed0c=>{if(_0x4d89('0x19')==_0x39ed0c['subType']){const _0x5ddbb3=_0x39ed0c[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x437668=>_0x437668['is']('$textProxy'))[_0x4d89('0x4e')](_0x566fb6=>_0x566fb6['data']),_0x3f66ee=this[_0x4d89('0x15')](_0x39ed0c),_0x2eb588=_0x3f66ee['maxRow']-_0x3f66ee['minRow']+0x1;if(_0x4d89('0x58')==_0x39ed0c['type'])return _0x5ddbb3[_0x4d89('0x4f')]?{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2eb588,'\x22'+_0x5ddbb3[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x16'),_0x2eb588))};if('deletion'==_0x39ed0c['type'])return _0x5ddbb3[_0x4d89('0x4f')]?{'type':'deletion','content':_0x40c305(_0xf73bd9,_0x4d89('0x8'),_0x40c305(_0xf73bd9,_0x4d89('0x13'),[_0x2eb588,'\x22'+_0x5ddbb3[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x8'),_0x40c305(_0xf73bd9,_0x4d89('0x16'),_0x2eb588))};}if('tableColumn'==_0x39ed0c[_0x4d89('0x47')]){const _0x463f79=_0x39ed0c[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x19b51a=>_0x19b51a['is'](_0x4d89('0x37')))[_0x4d89('0x4e')](_0x58036c=>_0x58036c[_0x4d89('0x5f')]),_0x226cfa=this[_0x4d89('0x15')](_0x39ed0c),_0x5f3c34=_0x226cfa[_0x4d89('0x3a')]-_0x226cfa[_0x4d89('0x5e')]+0x1;if(_0x4d89('0x58')==_0x39ed0c[_0x4d89('0x50')])return _0x463f79[_0x4d89('0x4f')]?{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5f3c34,'\x22'+_0x463f79[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x2d'),_0x5f3c34))};if(_0x4d89('0xa')==_0x39ed0c['type'])return _0x463f79['length']?{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,_0x4d89('0x42'),[_0x5f3c34,'\x22'+_0x463f79[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,'ELEMENT_TABLE_COLUMN',_0x5f3c34))};}}),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0x58'),_0x4d89('0x19'),_0x4d89('0x6c'),_0x16ec23),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0xa'),_0x4d89('0x19'),'accept',_0x16ec23),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')](_0x4d89('0x58'),'tableColumn','discard',_0xb2e97d),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0xa'),_0x4d89('0x30'),_0x4d89('0x55'),_0xb2e97d),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')](_0x4d89('0x58'),_0x4d89('0x30'),'join',_0x3a8033),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')]('deletion',_0x4d89('0x30'),'join',_0x3a8033),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')]('insertion',_0x4d89('0x19'),_0x4d89('0x6e'),_0x35126d),_0x12dbb1['_suggestionFactory']['registerCustomCallback'](_0x4d89('0xa'),'tableRow',_0x4d89('0x6e'),_0x35126d);}[_0x4d89('0x32')](){const _0x3b864d=this[_0x4d89('0x5d')],_0x6f4a05=_0x3b864d[_0x4d89('0x21')]['document'][_0x4d89('0x7e')];return(_0x5767e3,_0x39a248)=>{_0x3b864d['model'][_0x4d89('0x69')](_0x486fa7=>{const {commandName:_0x98c039,commandParams:_0x27e9a2}=_0x39a248;let _0x43e3e2=_0x5767e3[0x0][_0x4d89('0x60')]['nodeBefore'];_0x27e9a2&&_0x27e9a2[0x0]&&!0x1===_0x27e9a2[0x0][_0x4d89('0x4d')]&&(_0x43e3e2=_0x5767e3[0x0][_0x4d89('0x4b')][_0x4d89('0x85')]);const _0x402ea8=_0x486fa7['createRangeIn'](_0x43e3e2);if(_0x4d89('0xd')==_0x402ea8[_0x4d89('0x68')]['rootName'])return;const _0x4c6391=Array[_0x4d89('0x7')](_0x6f4a05['getRanges']())[_0x4d89('0x4e')](_0x5ecc5f=>_0x4b2a7a[_0x4d89('0x0')](_0x5ecc5f));_0x486fa7[_0x4d89('0x41')](_0x402ea8),_0x3b864d[_0x4d89('0x80')]['get'](_0x98c039)['refresh'](),_0x27e9a2[_0x4d89('0x43')]({'forceDefaultExecution':!0x0}),_0x3b864d['execute'](_0x98c039,..._0x27e9a2);const _0x460933=_0x4c6391[_0x4d89('0x56')](_0x75bdc5=>_0x4d89('0xd')!=_0x75bdc5[_0x4d89('0x68')][_0x4d89('0x64')]);_0x460933[_0x4d89('0x4f')]>0x0&&_0x486fa7['setSelection'](_0x460933);for(const _0x380fc7 of _0x4c6391)_0x380fc7['detach']();});};}[_0x4d89('0x17')](_0xccbb34){const _0x3b856a=this[_0x4d89('0x5d')][_0x4d89('0xe')]['get'](_0x4d89('0x23'));let _0x4bf7b9=Number[_0x4d89('0x4')],_0x5f432f=Number[_0x4d89('0x7f')],_0x25a89e=Number[_0x4d89('0x4')],_0x50f294=Number['MIN_SAFE_INTEGER'];for(const _0x511de9 of _0xccbb34){if('$graveyard'==_0x511de9[_0x4d89('0x68')]['rootName'])continue;const {row:_0x59e4bf,column:_0x207d79}=_0x3b856a[_0x4d89('0x45')](_0x511de9),_0x3ec24d=_0x511de9['hasAttribute'](_0x4d89('0x25'))?_0x511de9[_0x4d89('0xf')](_0x4d89('0x25'))-0x1:0x0,_0x3353fe=_0x511de9[_0x4d89('0x3f')](_0x4d89('0x3'))?_0x511de9[_0x4d89('0xf')](_0x4d89('0x3'))-0x1:0x0;_0x4bf7b9=_0x59e4bf<_0x4bf7b9?_0x59e4bf:_0x4bf7b9,_0x5f432f=_0x59e4bf+_0x3ec24d>_0x5f432f?_0x59e4bf+_0x3ec24d:_0x5f432f,_0x25a89e=_0x207d79<_0x25a89e?_0x207d79:_0x25a89e,_0x50f294=_0x207d79+_0x3353fe>_0x50f294?_0x207d79+_0x3353fe:_0x50f294;}return{'minRow':_0x4bf7b9,'maxRow':_0x5f432f,'minColumn':_0x25a89e,'maxColumn':_0x50f294};}[_0x4d89('0xc')](){const _0x39c9cc=this[_0x4d89('0x5d')],_0x162b46=_0x39c9cc['plugins']['get'](_0x4d89('0x2b')),_0x3a2a0b=_0x39c9cc[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x23'));_0x39c9cc[_0x4d89('0x21')]['document']['on'](_0x4d89('0x73'),()=>{const _0x300056=Array[_0x4d89('0x7')](_0x39c9cc[_0x4d89('0x21')][_0x4d89('0x54')][_0x4d89('0x76')]['getChangedMarkers']());for(const {name:_0x773da,data:_0x5a752f}of _0x300056){const {group:_0x461b9e,id:_0x51b0d5,subType:_0x4b6c87}=_0x162b46[_0x4d89('0x66')](_0x773da);if('suggestion'!=_0x461b9e)continue;if(null!=_0x5a752f[_0x4d89('0x24')])continue;const _0x176694=_0x162b46[_0x4d89('0x75')](_0x51b0d5);this[_0x4d89('0x7b')][_0x4d89('0x4a')](_0x4b6c87)&&this[_0x4d89('0x4c')][_0x4d89('0x51')](_0x176694);}},{'priority':_0x4d89('0x84')});const _0x23c2e6=(_0x3944fd,_0xf5d4a)=>{let _0x1ed122=!0x1;const _0x37fb10=_0xf5d4a[_0x4d89('0x2f')](_0x3944fd),_0x31e7a5=_0x3944fd[_0x4d89('0x12')]('table'),_0xc858dd=_0x3a2a0b[_0x4d89('0x45')](_0x3944fd);for(const _0x41222c of this['_tableSuggestions']){const _0x5ad283=_0x41222c[_0x4d89('0x47')],_0x4b0989=_0x5ad283[_0x4d89('0x6b')]('tablePaste'),_0xfff6d4=_0x5ad283[_0x4d89('0x72')](_0x4b0989?0xa:0x5),_0x38c578=_0xfff6d4[_0x4d89('0x62')](),_0x5a52d2=_0x38c578[_0x4d89('0x72')](0x0,0x3)+_0x4d89('0x79'),_0x44f4c4='min'+_0xfff6d4,_0x4fcef9='max'+_0xfff6d4;if(!_0x41222c[_0x4d89('0x27')])continue;if(_0x31e7a5!=_0x41222c[_0x4d89('0x31')]()[_0x4d89('0x4b')]['findAncestor'](_0x4d89('0x33')))continue;if(_0x41222c[_0x4d89('0x2e')](_0x37fb10))continue;const _0x169f20=_0x3944fd[_0x4d89('0x3f')](_0x5a52d2)?_0x3944fd[_0x4d89('0xf')](_0x5a52d2)-0x1:0x0,_0x2ffd14=this[_0x4d89('0x15')](_0x41222c),_0x22122a=_0x2ffd14[_0x44f4c4],_0x2184a3=_0x2ffd14[_0x4fcef9];_0x22122a<=_0xc858dd[_0x38c578]&&_0xc858dd[_0x38c578]+_0x169f20<=_0x2184a3&&(_0x41222c[_0x4d89('0x81')](_0x37fb10),_0x1ed122=!0x0);}return _0x1ed122;};_0x39c9cc[_0x4d89('0x21')][_0x4d89('0x54')][_0x4d89('0x82')](_0x2cb4f5=>{let _0x3af34b=!0x1;for(const _0x36997f of _0x39c9cc[_0x4d89('0x21')]['document'][_0x4d89('0x76')][_0x4d89('0x61')]())if(_0x4d89('0x14')==_0x36997f['type']){if(_0x4d89('0x19')==_0x36997f[_0x4d89('0x22')])for(const _0x385155 of _0x36997f[_0x4d89('0x77')][_0x4d89('0x85')]['getChildren']())_0x3af34b=_0x3af34b||_0x23c2e6(_0x385155,_0x2cb4f5);else'tableCell'==_0x36997f['name']&&(_0x3af34b=_0x3af34b||_0x23c2e6(_0x36997f[_0x4d89('0x77')][_0x4d89('0x85')],_0x2cb4f5));}return _0x3af34b;});}[_0x4d89('0x15')](_0x4fbc2f){return this['_getCoordsForCells'](_0x4fbc2f[_0x4d89('0x6a')]()[_0x4d89('0x4e')](_0x35e3ab=>_0x35e3ab[_0x4d89('0x4b')][_0x4d89('0x85')]));}}function se(_0x28b4e1){return Array[_0x4d89('0x7')](new Set(_0x28b4e1)['values']());}
23
+ const _0x4e22=['getRanges','insertTableColumnLeft','highest','options','push','includes','registerCustomCallback','afterInit','accept','item','registerDescriptionCallback','differ','MIN_SAFE_INTEGER','rowspan','values','order','model','selectTableColumn','has','startsWith','_suggestionFactory','createRangeIn','getSelectionAffectedTableCells','insertion','tableRow','deletion','nodeBefore','isEqual','TrackChangesEditing','last','getContainedElement','span','markMultiRangeInsertion','low','findAncestor','showSuggestionHighlights','$textProxy','some','end','name','enableCommand','join','tableCell','maxColumn','from','type','refresh','above','left','removeTableColumn','registerElementLabel','commands','execute','table','_splitMarkerName','max','discard','ELEMENT_TABLE_WITH_TEXT','getColumnIndexes','plugins','_getSuggestionCoords','getRowIndexes','TableUtils','ELEMENT_TABLE_COLUMN_WITH_TEXT','cell','getChanges','setSelection','root','getItems','hasAttribute','createRangeOn','min','nodeAfter','get','getFirstRange','_tableSuggestions','isArray','tableColumn','MAX_SAFE_INTEGER','locale','insertTableRowAbove','filter','getSuggestion','getChangedMarkers','forceValue','fromRange','length','classes','createTableWalker','selectTableRow','every','ELEMENT_TABLE_COLUMN','getChildren','_descriptionFactory','insertTable','start','rootName','isTouching','data','batch','substr','*Insert:*\x20%0','_acceptFormatSuggestionCallbackFactory','registerPostFixer','first','enqueueChange','ELEMENT_TABLE_ROW','getCellLocation','_getCoordsForCells','ELEMENT_TABLE_ROW_WITH_TEXT','removeTableRow','position','insertTableRowBelow','*Remove:*\x20%0','addRange','toLowerCase','oldRange','detach','document','map','$graveyard','downcastDispatcher','subType','_setupColumnsRowsFixing','getAttribute','editor','change','_tablePostFixingSubtypes','createPositionAt'];(function(_0x5db996,_0x4e22cf){const _0x227c07=function(_0x2faedd){while(--_0x2faedd){_0x5db996['push'](_0x5db996['shift']());}};_0x227c07(++_0x4e22cf);}(_0x4e22,0x1ee));const _0x227c=function(_0x5db996,_0x4e22cf){_0x5db996=_0x5db996-0x0;let _0x227c07=_0x4e22[_0x5db996];return _0x227c07;};import{Plugin as _0x2910c4}from'ckeditor5/src/core.js';import{LiveRange as _0x50bd69}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x23cc4f}from'ckeditor5/src/widget.js';import{getTranslation as _0x17a8b7}from'../utils/common-translations.js';export default class yt extends _0x2910c4{constructor(_0x257b68){super(_0x257b68),this[_0x227c('0x14')]=[_0x227c('0x2e'),_0x227c('0x63')],this[_0x227c('0x61')]=new Set();}[_0x227c('0x1d')](){const _0x55109d=this[_0x227c('0x12')],_0x3dbdd2=_0x55109d[_0x227c('0x26')][_0x227c('0xb')]['selection'];if(!_0x55109d[_0x227c('0x51')][_0x227c('0x28')]('TableEditing'))return;const _0x2aa1f4=_0x55109d[_0x227c('0x65')],_0x37c135=_0x55109d[_0x227c('0x51')]['get'](_0x227c('0x32')),_0x89d45b=_0x55109d['plugins']['get'](_0x227c('0x54'));_0x37c135['_descriptionFactory'][_0x227c('0x48')]('table',_0xa79b79=>_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE',_0xa79b79)),this['_setupColumnsRowsFixing'](),_0x37c135[_0x227c('0x3e')](_0x227c('0x74')),_0x37c135[_0x227c('0x3e')](_0x227c('0x6f')),_0x37c135[_0x227c('0x3e')](_0x227c('0x27'));for(const _0x17e0d1 of[_0x227c('0x66'),_0x227c('0x5')]){const _0x5a78d3=_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x17e0d1);_0x37c135[_0x227c('0x3e')](_0x17e0d1,_0x20cd29=>{_0x55109d['model'][_0x227c('0x13')](_0x536c6f=>{_0x20cd29();const _0x38df40=_0x227c('0x45')===_0x5a78d3[_0x227c('0x25')],_0xcc5158=_0x89d45b[_0x227c('0x2c')](_0x3dbdd2),_0x801456=_0x89d45b[_0x227c('0x53')](_0xcc5158),_0x36d8ca=_0x38df40?_0x801456['first']-0x1:_0x801456[_0x227c('0x33')]+0x1,_0xcd800f=_0xcc5158[0x0][_0x227c('0x38')](_0x227c('0x4b')),_0x2009d2=_0x89d45b['createTableWalker'](_0xcd800f,{'startRow':_0x36d8ca,'endRow':_0x36d8ca}),_0x273271=Array[_0x227c('0x42')](_0x2009d2)[_0x227c('0xc')](_0x5ca243=>_0x536c6f[_0x227c('0x5c')](_0x5ca243[_0x227c('0x56')]));_0x37c135[_0x227c('0x36')](_0x273271,_0x227c('0x2e'));});});}for(const _0x4c4fc1 of[_0x227c('0x17'),'insertTableColumnRight']){const _0x75049c=_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x4c4fc1);_0x37c135[_0x227c('0x3e')](_0x4c4fc1,_0x56b7ce=>{_0x55109d['model'][_0x227c('0x13')](_0x19bc39=>{_0x56b7ce();const _0x477102=_0x227c('0x46')===_0x75049c[_0x227c('0x25')],_0x321151=_0x89d45b['getSelectionAffectedTableCells'](_0x3dbdd2),_0x3db85e=_0x89d45b['getColumnIndexes'](_0x321151),_0x48a79a=_0x477102?_0x3db85e['first']-0x1:_0x3db85e[_0x227c('0x33')]+0x1,_0x290566=_0x321151[0x0][_0x227c('0x38')](_0x227c('0x4b')),_0x12535a=_0x89d45b[_0x227c('0x6e')](_0x290566,{'startRow':0x0,'column':_0x48a79a,'includeAllSlots':!0x1}),_0x5c05da=Array[_0x227c('0x42')](_0x12535a)[_0x227c('0xc')](_0x3f0d6b=>_0x19bc39['createRangeOn'](_0x3f0d6b[_0x227c('0x56')]));_0x37c135[_0x227c('0x36')](_0x5c05da,'tableColumn');});});}for(const _0x67ec23 of[_0x227c('0x3'),'removeTableColumn']){const _0x42eb97=_0x67ec23[_0x227c('0x7a')](0xb),_0x14ac9c=_0x42eb97[_0x227c('0x8')](),_0x35dc2e=_0x14ac9c[_0x227c('0x7a')](0x0,0x3)+'span',_0x3a4a51=_0x227c('0x4b')+_0x42eb97,_0x35c600=_0x227c('0x5d')+_0x42eb97,_0x4a2761='max'+_0x42eb97;_0x37c135[_0x227c('0x3e')](_0x67ec23,()=>{_0x55109d[_0x227c('0x26')]['change'](_0x5c7e64=>{const _0x4dd885=_0x89d45b[_0x227c('0x2c')](_0x3dbdd2),_0x2921d5=_0x4dd885[0x0]['findAncestor']('table');let _0xb6ab0;if(_0x227c('0x3')==_0x67ec23){const _0x11f100=_0x89d45b[_0x227c('0x53')](_0x4dd885);_0xb6ab0={'startRow':_0x11f100[_0x227c('0x7e')],'endRow':_0x11f100[_0x227c('0x33')],'includeAllSlots':!0x0};}else{const _0xfc236=_0x89d45b[_0x227c('0x50')](_0x4dd885);_0xb6ab0={'startColumn':_0xfc236[_0x227c('0x7e')],'endColumn':_0xfc236[_0x227c('0x33')],'includeAllSlots':!0x0};}const _0x9c0227=_0x89d45b[_0x227c('0x6e')](_0x2921d5,_0xb6ab0),_0x1c3724=Array[_0x227c('0x42')](_0x9c0227)['map'](({cell:_0x1d16b2})=>_0x1d16b2),_0x35a69f=ue(_0x1c3724[_0x227c('0x67')](_0x29349f=>_0x29349f['hasAttribute'](_0x35dc2e))),_0x407f41=ue(_0x1c3724[_0x227c('0x67')](_0x1449d2=>!_0x1449d2[_0x227c('0x5b')](_0x35dc2e)))[_0x227c('0xc')](_0x1c5eaf=>_0x5c7e64[_0x227c('0x5c')](_0x1c5eaf)),_0x487a53=_0x37c135['markMultiRangeDeletion'](_0x407f41,_0x3a4a51);if(_0x487a53&&(_0x227c('0x2e')==_0x487a53[_0x227c('0xf')]||'tableColumn'==_0x487a53['subType'])){const _0x1f2b78=this[_0x227c('0x52')](_0x487a53);for(const _0x3c226b of _0x35a69f){const _0x1ade71=_0x5c7e64[_0x227c('0x5c')](_0x3c226b),_0x1a5cfc=_0x89d45b[_0x227c('0x0')](_0x3c226b),_0x2b35e8=_0x3c226b[_0x227c('0x11')](_0x35dc2e)-0x1,_0x4b6b87=_0x1f2b78[_0x35c600],_0x34c896=_0x1f2b78[_0x4a2761];_0x4b6b87<=_0x1a5cfc[_0x14ac9c]&&_0x1a5cfc[_0x14ac9c]+_0x2b35e8<=_0x34c896&&_0x487a53['addRange'](_0x1ade71);}}});});}function _0x22ef98(_0x207f45){const _0x2b2b7a=Array[_0x227c('0x42')](_0x3dbdd2[_0x227c('0x16')]())[_0x227c('0xc')](_0x38088a=>_0x50bd69['fromRange'](_0x38088a));_0x55109d[_0x227c('0x26')][_0x227c('0x13')](_0x44ce1a=>{const _0x11124e=_0x44ce1a[_0x227c('0x79')];_0x207f45=_0x207f45[_0x227c('0x67')](_0x44de0e=>_0x227c('0xd')!=_0x44de0e[_0x227c('0x59')][_0x227c('0x76')]),_0x44ce1a[_0x227c('0x58')](_0x207f45),_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x227c('0x3'))[_0x227c('0x44')](),_0x55109d[_0x227c('0x4a')](_0x227c('0x3'),{'forceDefaultExecution':!0x0}),_0x55109d['model']['enqueueChange'](()=>{_0x55109d['model'][_0x227c('0x7f')](_0x11124e,_0x29b8b8=>{const _0x51888f=_0x2b2b7a[_0x227c('0x67')](_0x2ffed2=>'$graveyard'!=_0x2ffed2['root'][_0x227c('0x76')]);_0x51888f[_0x227c('0x6c')]>0x0&&_0x29b8b8[_0x227c('0x58')](_0x51888f);for(const _0x40f3f4 of _0x2b2b7a)_0x40f3f4['detach']();});});});}function _0x2ff7c5(_0x2cd1d9){_0x55109d[_0x227c('0x26')][_0x227c('0x13')](_0x49fff3=>{const _0x544e8d=Array['from'](_0x3dbdd2[_0x227c('0x16')]())['map'](_0x509331=>_0x50bd69[_0x227c('0x6b')](_0x509331)),_0x25f4bf=[];for(const _0xde1ef9 of _0x2cd1d9)for(const _0x4f0588 of _0xde1ef9[_0x227c('0x5a')]({'shallow':!0x0}))_0x25f4bf[_0x227c('0x1a')](_0x4f0588);for(const _0x4f48ee of _0x25f4bf)_0x227c('0xd')!=_0x4f48ee[_0x227c('0x59')]['rootName']&&(_0x49fff3[_0x227c('0x58')](_0x49fff3[_0x227c('0x15')](_0x4f48ee,0x0)),_0x55109d[_0x227c('0x49')][_0x227c('0x5f')]('removeTableColumn')[_0x227c('0x44')](),_0x55109d['execute'](_0x227c('0x47'),{'forceDefaultExecution':!0x0}));const _0x9c6f42=_0x544e8d[_0x227c('0x67')](_0x2f2cf6=>_0x227c('0xd')!=_0x2f2cf6['root'][_0x227c('0x76')]);_0x9c6f42[_0x227c('0x6c')]>0x0&&_0x49fff3[_0x227c('0x58')](_0x9c6f42);for(const _0x3f2a0b of _0x544e8d)_0x3f2a0b[_0x227c('0xa')]();});}function _0x14a68c(_0x3b352a,_0x4542bc){return _0x4542bc[_0x227c('0x70')](_0x1999c9=>_0x3b352a[_0x227c('0x3b')](_0x7149a2=>_0x7149a2[_0x227c('0x3c')][_0x227c('0x31')](_0x1999c9['start'])||_0x1999c9[_0x227c('0x3c')]['isEqual'](_0x7149a2[_0x227c('0x75')])));}function _0x547d1a(_0xd035c6,_0x407f5a){return _0xd035c6[_0x227c('0x3b')](_0xdffbf5=>_0x407f5a[_0x227c('0x3b')](_0x9a1d=>_0xdffbf5[_0x227c('0x3c')][_0x227c('0x77')](_0x9a1d[_0x227c('0x75')])));}_0x55109d[_0x227c('0x78')][_0x227c('0xe')]['on']('addMarker:suggestion',(_0x4fb011,_0x2667f9,_0x46cdc7)=>{if(!_0x46cdc7[_0x227c('0x19')][_0x227c('0x39')])return;const _0x5d902f=_0x2667f9[_0x227c('0x1f')];if(!_0x5d902f)return;const _0x298d6f=_0x46cdc7['mapper']['toViewElement'](_0x5d902f);function _0x198335(_0x3c3cf6){return Array[_0x227c('0x62')](_0x3c3cf6)?_0x3c3cf6:[_0x3c3cf6];}_0x298d6f&&_0x227c('0x40')===_0x5d902f[_0x227c('0x3d')]&&_0x23cc4f(_0x298d6f,_0x46cdc7['writer'],(_0x1a59a6,_0x4d0501,_0x25c46c)=>_0x25c46c['addClass'](_0x198335(_0x4d0501[_0x227c('0x6d')]),_0x1a59a6),(_0x396955,_0x570d71,_0x59598b)=>_0x59598b['removeClass'](_0x198335(_0x570d71[_0x227c('0x6d')]),_0x396955));},{'priority':_0x227c('0x18')}),_0x37c135[_0x227c('0x73')][_0x227c('0x20')](_0x3a0f70=>{if(_0x227c('0x2d')!=_0x3a0f70[_0x227c('0x43')]&&'deletion'!=_0x3a0f70[_0x227c('0x43')])return;const _0xbf71a=_0x3a0f70[_0x227c('0x34')]();if(null!=_0xbf71a&&_0xbf71a['is']('element',_0x227c('0x4b'))){if(_0x227c('0x2d')==_0x3a0f70[_0x227c('0x43')]){const _0x4ad1f3=_0x3a0f70[_0x227c('0x5a')]()[_0x227c('0x67')](_0x567a5b=>_0x567a5b['is'](_0x227c('0x3a')))[_0x227c('0xc')](_0x5f198a=>_0x5f198a[_0x227c('0x78')]);if(_0x4ad1f3['length'])return{'type':'insertion','content':_0x17a8b7(_0x2aa1f4,'*Insert:*\x20%0',_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4ad1f3['join']('\x20')+'\x22'))};}if(_0x227c('0x2f')==_0x3a0f70['type']){const _0x508a8d=_0x3a0f70[_0x227c('0x5a')]()[_0x227c('0x67')](_0x460d23=>_0x460d23['is'](_0x227c('0x3a')))[_0x227c('0xc')](_0x16fef3=>_0x16fef3[_0x227c('0x78')]);if(_0x508a8d['length'])return{'type':'deletion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x4f'),'\x22'+_0x508a8d[_0x227c('0x3f')]('\x20')+'\x22'))};}}}),_0x37c135[_0x227c('0x73')][_0x227c('0x20')](_0x31c03c=>{if('tableRow'==_0x31c03c['subType']){const _0x527aab=_0x31c03c[_0x227c('0x5a')]()['filter'](_0x1de33a=>_0x1de33a['is'](_0x227c('0x3a')))['map'](_0x22f83b=>_0x22f83b[_0x227c('0x78')]),_0x27fcbc=this['_getSuggestionCoords'](_0x31c03c),_0x53e54a=_0x27fcbc['maxRow']-_0x27fcbc['minRow']+0x1;if('insertion'==_0x31c03c[_0x227c('0x43')])return _0x527aab['length']?{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x2'),[_0x53e54a,'\x22'+_0x527aab['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x80'),_0x53e54a))};if(_0x227c('0x2f')==_0x31c03c[_0x227c('0x43')])return _0x527aab[_0x227c('0x6c')]?{'type':'deletion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x2'),[_0x53e54a,'\x22'+_0x527aab['join']('\x20')+'\x22']))}:{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,'*Remove:*\x20%0',_0x17a8b7(_0x2aa1f4,_0x227c('0x80'),_0x53e54a))};}if('tableColumn'==_0x31c03c[_0x227c('0xf')]){const _0x223725=_0x31c03c[_0x227c('0x5a')]()[_0x227c('0x67')](_0x18e603=>_0x18e603['is'](_0x227c('0x3a')))['map'](_0x15a70b=>_0x15a70b['data']),_0x291725=this[_0x227c('0x52')](_0x31c03c),_0x2691dd=_0x291725[_0x227c('0x41')]-_0x291725['minColumn']+0x1;if(_0x227c('0x2d')==_0x31c03c[_0x227c('0x43')])return _0x223725[_0x227c('0x6c')]?{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x55'),[_0x2691dd,'\x22'+_0x223725['join']('\x20')+'\x22']))}:{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE_COLUMN',_0x2691dd))};if('deletion'==_0x31c03c[_0x227c('0x43')])return _0x223725[_0x227c('0x6c')]?{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x55'),[_0x2691dd,'\x22'+_0x223725[_0x227c('0x3f')]('\x20')+'\x22']))}:{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x71'),_0x2691dd))};}}),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),'tableRow',_0x227c('0x4e'),_0x22ef98),_0x37c135['_suggestionFactory']['registerCustomCallback']('deletion','tableRow',_0x227c('0x1e'),_0x22ef98),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),'tableColumn','discard',_0x2ff7c5),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')]('deletion',_0x227c('0x63'),_0x227c('0x1e'),_0x2ff7c5),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),_0x227c('0x63'),_0x227c('0x3f'),_0x14a68c),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2f'),_0x227c('0x63'),_0x227c('0x3f'),_0x14a68c),_0x37c135[_0x227c('0x2a')]['registerCustomCallback']('insertion',_0x227c('0x2e'),'join',_0x547d1a),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2f'),_0x227c('0x2e'),_0x227c('0x3f'),_0x547d1a);}[_0x227c('0x7c')](){const _0x5ecd04=this[_0x227c('0x12')],_0x6d375a=_0x5ecd04['model'][_0x227c('0xb')]['selection'];return(_0x4a1401,_0x107c3f)=>{_0x5ecd04[_0x227c('0x26')]['change'](_0x590b11=>{const {commandName:_0x70dbab,commandParams:_0x467102}=_0x107c3f;let _0x1c8328=_0x4a1401[0x0][_0x227c('0x3c')][_0x227c('0x30')];_0x467102&&_0x467102[0x0]&&!0x1===_0x467102[0x0][_0x227c('0x6a')]&&(_0x1c8328=_0x4a1401[0x0][_0x227c('0x75')][_0x227c('0x5e')]);const _0x323c7d=_0x590b11[_0x227c('0x2b')](_0x1c8328);if('$graveyard'==_0x323c7d[_0x227c('0x59')]['rootName'])return;const _0x29cb2a=Array['from'](_0x6d375a[_0x227c('0x16')]())['map'](_0x1c214a=>_0x50bd69['fromRange'](_0x1c214a));_0x590b11[_0x227c('0x58')](_0x323c7d),_0x5ecd04[_0x227c('0x49')]['get'](_0x70dbab)[_0x227c('0x44')](),_0x467102['push']({'forceDefaultExecution':!0x0}),_0x5ecd04['execute'](_0x70dbab,..._0x467102);const _0x11dcf1=_0x29cb2a[_0x227c('0x67')](_0x2f42b6=>'$graveyard'!=_0x2f42b6[_0x227c('0x59')][_0x227c('0x76')]);_0x11dcf1[_0x227c('0x6c')]>0x0&&_0x590b11['setSelection'](_0x11dcf1);for(const _0xf6634b of _0x29cb2a)_0xf6634b[_0x227c('0xa')]();});};}['_getCoordsForCells'](_0x51005f){const _0x220793=this[_0x227c('0x12')][_0x227c('0x51')][_0x227c('0x5f')](_0x227c('0x54'));let _0x143f37=Number[_0x227c('0x64')],_0x3a0d8a=Number[_0x227c('0x22')],_0x1d74fe=Number[_0x227c('0x64')],_0x3cbf98=Number[_0x227c('0x22')];for(const _0x5d6c91 of _0x51005f){if(_0x227c('0xd')==_0x5d6c91['root'][_0x227c('0x76')])continue;const {row:_0x1b4ccf,column:_0x1d8c8c}=_0x220793['getCellLocation'](_0x5d6c91),_0x32a8c0=_0x5d6c91[_0x227c('0x5b')](_0x227c('0x23'))?_0x5d6c91[_0x227c('0x11')](_0x227c('0x23'))-0x1:0x0,_0x599754=_0x5d6c91['hasAttribute']('colspan')?_0x5d6c91[_0x227c('0x11')]('colspan')-0x1:0x0;_0x143f37=_0x1b4ccf<_0x143f37?_0x1b4ccf:_0x143f37,_0x3a0d8a=_0x1b4ccf+_0x32a8c0>_0x3a0d8a?_0x1b4ccf+_0x32a8c0:_0x3a0d8a,_0x1d74fe=_0x1d8c8c<_0x1d74fe?_0x1d8c8c:_0x1d74fe,_0x3cbf98=_0x1d8c8c+_0x599754>_0x3cbf98?_0x1d8c8c+_0x599754:_0x3cbf98;}return{'minRow':_0x143f37,'maxRow':_0x3a0d8a,'minColumn':_0x1d74fe,'maxColumn':_0x3cbf98};}[_0x227c('0x10')](){const _0x357a6a=this[_0x227c('0x12')],_0x253f4e=_0x357a6a[_0x227c('0x51')][_0x227c('0x5f')](_0x227c('0x32')),_0x4d8abe=_0x357a6a['plugins'][_0x227c('0x5f')]('TableUtils');_0x357a6a[_0x227c('0x26')][_0x227c('0xb')]['on']('change:data',()=>{const _0xb62668=Array[_0x227c('0x42')](_0x357a6a[_0x227c('0x26')][_0x227c('0xb')][_0x227c('0x21')][_0x227c('0x69')]());for(const {name:_0x48c888,data:_0x1d54cb}of _0xb62668){const {group:_0x4a3f7a,id:_0x2c0882,subType:_0x5cca5c}=_0x253f4e[_0x227c('0x4c')](_0x48c888);if('suggestion'!=_0x4a3f7a)continue;if(null!=_0x1d54cb[_0x227c('0x9')])continue;const _0x159eaf=_0x253f4e[_0x227c('0x68')](_0x2c0882);this['_tablePostFixingSubtypes'][_0x227c('0x1b')](_0x5cca5c)&&this[_0x227c('0x61')]['add'](_0x159eaf);}},{'priority':_0x227c('0x37')});const _0x53d5b8=(_0x25adfa,_0x235062)=>{let _0x1282c1=!0x1;const _0x26ba97=_0x235062[_0x227c('0x5c')](_0x25adfa),_0x49b6e2=_0x25adfa['findAncestor']('table'),_0x2c8049=_0x4d8abe[_0x227c('0x0')](_0x25adfa);for(const _0x2cec5f of this[_0x227c('0x61')]){const _0x17fb9c=_0x2cec5f[_0x227c('0xf')],_0x4f709a=_0x17fb9c[_0x227c('0x29')]('tablePaste'),_0x509afd=_0x17fb9c[_0x227c('0x7a')](_0x4f709a?0xa:0x5),_0x336ced=_0x509afd[_0x227c('0x8')](),_0x32343d=_0x336ced[_0x227c('0x7a')](0x0,0x3)+_0x227c('0x35'),_0x4ff636='min'+_0x509afd,_0x4d852f=_0x227c('0x4d')+_0x509afd;if(!_0x2cec5f['isInContent'])continue;if(_0x49b6e2!=_0x2cec5f[_0x227c('0x60')]()[_0x227c('0x75')]['findAncestor'](_0x227c('0x4b')))continue;if(_0x2cec5f['isIntersectingWithRange'](_0x26ba97))continue;const _0x2c20cd=_0x25adfa[_0x227c('0x5b')](_0x32343d)?_0x25adfa['getAttribute'](_0x32343d)-0x1:0x0,_0x41de72=this[_0x227c('0x52')](_0x2cec5f),_0x5ee54e=_0x41de72[_0x4ff636],_0x3066d6=_0x41de72[_0x4d852f];_0x5ee54e<=_0x2c8049[_0x336ced]&&_0x2c8049[_0x336ced]+_0x2c20cd<=_0x3066d6&&(_0x2cec5f[_0x227c('0x7')](_0x26ba97),_0x1282c1=!0x0);}return _0x1282c1;};_0x357a6a[_0x227c('0x26')]['document'][_0x227c('0x7d')](_0x41b4d1=>{let _0x1bdf3a=!0x1;for(const _0x8bb876 of _0x357a6a[_0x227c('0x26')][_0x227c('0xb')][_0x227c('0x21')][_0x227c('0x57')]())if('insert'==_0x8bb876['type']){if(_0x227c('0x2e')==_0x8bb876[_0x227c('0x3d')])for(const _0x5d431f of _0x8bb876[_0x227c('0x4')][_0x227c('0x5e')][_0x227c('0x72')]())_0x1bdf3a=_0x1bdf3a||_0x53d5b8(_0x5d431f,_0x41b4d1);else _0x227c('0x40')==_0x8bb876[_0x227c('0x3d')]&&(_0x1bdf3a=_0x1bdf3a||_0x53d5b8(_0x8bb876['position'][_0x227c('0x5e')],_0x41b4d1));}return _0x1bdf3a;});}[_0x227c('0x52')](_0x59ae79){return this[_0x227c('0x1')](_0x59ae79[_0x227c('0x16')]()['map'](_0x2fd71f=>_0x2fd71f[_0x227c('0x75')][_0x227c('0x5e')]));}}function ue(_0x3ff1be){return Array[_0x227c('0x42')](new Set(_0x3ff1be)[_0x227c('0x24')]());}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/tablecaption
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} caption.
12
12
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51ab=['plugins','afterInit','toggleTableCaption','enableCommand','TrackChangesEditing','TableCaptionEditing','requires','has','get'];(function(_0x5c0f3c,_0x51ab4b){const _0x1d9461=function(_0x1428b1){while(--_0x1428b1){_0x5c0f3c['push'](_0x5c0f3c['shift']());}};_0x1d9461(++_0x51ab4b);}(_0x51ab,0x1e7));const _0x1d94=function(_0x5c0f3c,_0x51ab4b){_0x5c0f3c=_0x5c0f3c-0x0;let _0x1d9461=_0x51ab[_0x5c0f3c];return _0x1d9461;};import{Plugin as _0x5c290}from'ckeditor5/src/core';import _0x40389c from'./table';export default class Nt extends _0x5c290{static get[_0x1d94('0x5')](){return[_0x40389c];}[_0x1d94('0x0')](){const _0x5955ea=this['editor'];if(!_0x5955ea[_0x1d94('0x8')][_0x1d94('0x6')](_0x1d94('0x4')))return;_0x5955ea[_0x1d94('0x8')][_0x1d94('0x7')](_0x1d94('0x3'))[_0x1d94('0x2')](_0x1d94('0x1'));}}
23
+ const _0x543c=['enableCommand','afterInit','editor','requires','toggleTableCaption','TrackChangesEditing','has','get'];(function(_0x2cf28c,_0x543c4e){const _0x19a310=function(_0x2c001a){while(--_0x2c001a){_0x2cf28c['push'](_0x2cf28c['shift']());}};_0x19a310(++_0x543c4e);}(_0x543c,0x120));const _0x19a3=function(_0x2cf28c,_0x543c4e){_0x2cf28c=_0x2cf28c-0x0;let _0x19a310=_0x543c[_0x2cf28c];return _0x19a310;};import{Plugin as _0x128c6d}from'ckeditor5/src/core.js';import _0x48c0e6 from'./table.js';export default class Nt extends _0x128c6d{static get[_0x19a3('0x3')](){return[_0x48c0e6];}[_0x19a3('0x1')](){const _0x2c18d3=this[_0x19a3('0x2')];if(!_0x2c18d3['plugins'][_0x19a3('0x6')]('TableCaptionEditing'))return;_0x2c18d3['plugins'][_0x19a3('0x7')](_0x19a3('0x5'))[_0x19a3('0x0')](_0x19a3('0x4'));}}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { Plugin } from 'ckeditor5/src/core';
6
- import TrackChangesTable from './table';
5
+ import { Plugin } from 'ckeditor5/src/core.js';
6
+ import TrackChangesTable from './table.js';
7
7
  /**
8
8
  * Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
9
9
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18f9=['findAncestor','markMultiRangeBlockFormat','wrap','_splitMarkerName','element','attributes','containsRange','tableCell','first','removeRows','registerCustomCallback','documentSelection','isEqual','insertRows','selection','set','_descriptionFactory','setAttribute','schema','fromEntries','endRow','insertionRanges','getMarkers','startsWith','insertContent','from','getChanges','getItems','TableUtils','insert','endColumn','tableCellBorderColor','high','getRanges','getAllAdjacentSuggestions','previousSibling','newRange','getRange','row','locale','_replaceTableSlotCell','value','suggestion-td','isInContent','conversion','stop','deletionRanges','markerName','formatBlock','paragraph','createRangeIn','tablePaste','accept','get','createTableWalker','fill','Users','getChildren','getChangedMarkers','updateMarker','dataDowncast','hasSuggestion','remove','getSuggestion','view','change','ck-suggestion-marker-insertion','rootName','getContainedElement','createElement','nodeAfter','find','start','length','suggestion:formatBlock:tablePasteCell','getShiftedBy','document','author','afterInit','activeMarkers','_suggestionFactory','low','getSuggestionCallback','*Replace\x20table\x20cells*','editor','tableCellBackgroundColor','cells','join','tableCellBorderWidth','cell','markerToHighlight','oldRange','reduce','discard','filter','columns','commands','tableCellVerticalAlignment','isEmpty','markMultiRangeInsertion','model','showSuggestionHighlights','TableClipboard','end','map','has','suggestionUnloaded','add','getChild','ck-suggestion-marker--active','tablePasteCell','registerPostFixer','tablePasteRow','last','column','subType','differ','getSelectionAffectedTableCells','some','getAttributes','suggestionLoaded','getRows','columnInsertionIndexes','_tablePostFixingSubtypes','nextSibling','editingDowncast','insertion','removeColumns','deletion','includes','rowInsertionRanges','tableCellPadding','type','_createdBatches','next','options','getRowIndexes','name','batch','content','setAttributes','tablePasteChainId','_getCoordsForCells','markerAttributes','return','table','getColumns','tableCellSuggestion','clipboardOutput','rowInsertionIndexes','createRangeOn','suggestion','markMultiRangeDeletion','registerDescriptionCallback','tableCellHorizontalAlignment','position','plugins','tablePasteColumn','redo','elementToElement','columnInsertionRanges','unwrap','previous','editing','markers','getSuggestions','push','removeMarker','forceDefaultExecution','listenTo','insertColumns'];(function(_0x5766b5,_0x18f9ef){const _0x1f0fc0=function(_0x4da1bd){while(--_0x4da1bd){_0x5766b5['push'](_0x5766b5['shift']());}};_0x1f0fc0(++_0x18f9ef);}(_0x18f9,0x1d3));const _0x1f0f=function(_0x5766b5,_0x18f9ef){_0x5766b5=_0x5766b5-0x0;let _0x1f0fc0=_0x18f9[_0x5766b5];return _0x1f0fc0;};import{getTranslation as _0x281b03}from'../utils/common-translations';import{Plugin as _0x317f0a}from'ckeditor5/src/core';import{uid as _0x48d6e4,priorities as _0x239c35}from'ckeditor5/src/utils';import _0x21b405 from'./table';const le=[_0x1f0f('0x86'),_0x1f0f('0x4d'),'tableCellBorderStyle',_0x1f0f('0x1d'),_0x1f0f('0x8f'),_0x1f0f('0x83'),_0x1f0f('0x6')],ae=Object[_0x1f0f('0x41')](le[_0x1f0f('0x96')](_0x53a495=>[_0x53a495,null]));export default class At extends _0x317f0a{static get['requires'](){return[_0x21b405];}[_0x1f0f('0x7c')](){const _0x3b1a44=this[_0x1f0f('0x82')];if(!_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x97')]('TableClipboard'))return;const _0x571782=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')]('TrackChangesEditing'),_0x9fb2f9=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x4a')),_0x339cfa=_0x3b1a44[_0x1f0f('0x1f')]['get'](_0x21b405),_0x3130e8=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x94'));_0x339cfa[_0x1f0f('0xa9')][_0x1f0f('0x29')](_0x1f0f('0x9e'),_0x1f0f('0x20')),_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x40')]['register'](_0x1f0f('0x16'),{'allowIn':_0x1f0f('0x35'),'allowContentOf':_0x1f0f('0x35'),'isLimit':!0x0}),_0x3b1a44[_0x1f0f('0x5a')][_0x1f0f('0x22')]({'model':_0x1f0f('0x16'),'view':_0x1f0f('0x58')});let _0x174a51=null;_0x3b1a44[_0x1f0f('0x92')]['on'](_0x1f0f('0x46'),(_0x3e32cb,_0x41c154)=>{const [_0x15e61d,_0xaa62fa]=_0x41c154,_0x2f3588=_0x41c154[_0x41c154['length']-0x1];_0x2f3588&&_0x2f3588[_0x1f0f('0x2b')]||_0x571782['_isForcedDefaultExecutionBlock']||this[_0x1f0f('0x82')][_0x1f0f('0x8e')][_0x1f0f('0x63')]('trackChanges')[_0x1f0f('0x57')]&&function(_0x2e51af,_0x1ae64d,_0x44e678,_0x45edf0,_0x466d72){if(_0x1ae64d&&!_0x1ae64d['is'](_0x1f0f('0x39')))return!0x1;const _0x43c014=_0x466d72['getTableIfOnlyTableInContent'](_0x2e51af,_0x44e678);if(!_0x43c014||!fe(_0x43c014,void 0x0,_0x45edf0))return!0x1;const _0x5880bc=_0x45edf0[_0x1f0f('0xa3')](_0x44e678[_0x1f0f('0x7a')][_0x1f0f('0x3c')]);if(!_0x5880bc['length'])return!0x1;const _0x136395=_0x5880bc[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),_0x1cf5fb=_0x45edf0[_0x1f0f('0xb')](_0x5880bc),_0x4e1e4d=_0x45edf0['getColumnIndexes'](_0x5880bc),_0x135bf8={'startRow':_0x1cf5fb[_0x1f0f('0x36')],'endRow':_0x1cf5fb[_0x1f0f('0x9f')],'startColumn':_0x4e1e4d['first'],'endColumn':_0x4e1e4d[_0x1f0f('0x9f')]};return 0x1==_0x5880bc['length']&&(_0x135bf8[_0x1f0f('0x42')]+=_0x45edf0[_0x1f0f('0xa7')](_0x43c014)-0x1,_0x135bf8[_0x1f0f('0x4c')]+=_0x45edf0[_0x1f0f('0x15')](_0x43c014)-0x1),fe(_0x136395,_0x135bf8,_0x45edf0);}(_0x15e61d,_0xaa62fa,_0x3b1a44[_0x1f0f('0x92')],_0x9fb2f9,_0x3130e8)&&(_0x3e32cb[_0x1f0f('0x5b')](),_0x174a51={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x6f')](()=>{_0x3b1a44['model'][_0x1f0f('0x46')](_0x41c154[0x0],_0x41c154[0x1],_0x41c154[0x2],{'forceDefaultExecution':!0x0});const _0x35d194=_0x48d6e4(),{rowInsertionRanges:_0x1583d8,columnInsertionRanges:_0x521d34,insertionRanges:_0x1a1a85,deletionRanges:_0x38ffbc,cells:_0x32b3d6}=_0x174a51;_0x1583d8[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x91')](_0x1583d8,_0x1f0f('0x9e'),{'tablePasteChainId':_0x35d194}),_0x521d34[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x91')](_0x521d34,_0x1f0f('0x20'),{'tablePasteChainId':_0x35d194}),_0x1a1a85[_0x1f0f('0x77')]&&_0x571782['markMultiRangeInsertion'](_0x1a1a85,_0x1f0f('0x61'),{'tablePasteChainId':_0x35d194,'skipNestingCheck':!0x0}),_0x38ffbc[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x1b')](_0x38ffbc,_0x1f0f('0x61'),{'tablePasteChainId':_0x35d194,'skipNestingCheck':!0x0});const _0xadc5ca=_0x571782[_0x1f0f('0x2f')](_0x32b3d6[_0x1f0f('0x96')](({element:_0x41f0d2})=>_0x41f0d2),{'formatGroupId':_0x48d6e4()},[],_0x1f0f('0x9c'),{'tablePasteChainId':_0x35d194});if(_0xadc5ca){const _0x476aa8=_0xadc5ca[_0x1f0f('0x44')](),_0x541309=[];for(const {element:_0x824eea,attributes:_0x5e00c5}of _0x32b3d6){if(!_0x5e00c5)continue;const _0x1aeb79=_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x19')](_0x824eea),_0x2209ac=_0x476aa8[_0x1f0f('0x75')](_0x23d482=>_0x23d482[_0x1f0f('0x53')]()[_0x1f0f('0x3a')](_0x1aeb79));_0x2209ac&&_0x541309[_0x1f0f('0x29')]([_0x2209ac[_0x1f0f('0xc')],_0x5e00c5]);}_0x541309[_0x1f0f('0x77')]&&_0xadc5ca[_0x1f0f('0x3f')]('markerAttributes',Object['fromEntries'](_0x541309));}_0x174a51=null;}));},{'priority':_0x239c35['high']+0xa}),_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x94'))['on'](_0x1f0f('0x56'),(_0x2ed957,_0x5688b2)=>{const [_0x10f8d9,_0x39694a,,_0x17d2e7]=_0x5688b2;if(!_0x174a51)return;_0x2ed957[_0x1f0f('0x5b')]();const _0x5d56b6=_0x10f8d9[_0x1f0f('0x87')],_0x1feb35=_0x39694a,_0x3e5384=ce(_0x5d56b6),_0x3ee9bf=ce(_0x1feb35);_0x2ed957[_0x1f0f('0x13')]=_0x5d56b6;let _0x5985a3=null,_0x1c9c52=null;if(_0x3ee9bf||_0x3e5384){if(_0x3e5384&&!_0x3ee9bf){_0x17d2e7[_0x1f0f('0x6c')](_0x5d56b6['getChild'](0x0));for(const _0x1cb8bf of Array[_0x1f0f('0x47')](_0x1feb35[_0x1f0f('0x67')]()))_0x17d2e7[_0x1f0f('0x4b')](_0x1cb8bf,_0x5d56b6,_0x1f0f('0x95'));const _0x1de91b=_0x174a51[_0x1f0f('0x18')][_0x1f0f('0x4')](_0x10f8d9[_0x1f0f('0x54')]),_0x45456c=_0x174a51[_0x1f0f('0xa8')][_0x1f0f('0x4')](_0x10f8d9[_0x1f0f('0xa0')]);_0x1de91b||_0x45456c||(_0x5985a3=_0x17d2e7[_0x1f0f('0x60')](_0x5d56b6));}else _0x3ee9bf&&!_0x3e5384&&(_0x1c9c52=_0x17d2e7[_0x1f0f('0x60')](_0x5d56b6));}else{const _0x180d47=_0x17d2e7[_0x1f0f('0x73')](_0x1f0f('0x16')),_0x263103=_0x17d2e7['createElement'](_0x1f0f('0x16'));_0x17d2e7[_0x1f0f('0x30')](_0x17d2e7['createRangeIn'](_0x5d56b6),_0x263103),_0x17d2e7[_0x1f0f('0x4b')](_0x180d47,_0x5d56b6,0x0);for(const _0x29e890 of Array['from'](_0x1feb35[_0x1f0f('0x67')]()))_0x17d2e7[_0x1f0f('0x4b')](_0x29e890,_0x180d47,_0x1f0f('0x95'));_0x5985a3=_0x17d2e7[_0x1f0f('0x19')](_0x180d47),_0x1c9c52=_0x17d2e7[_0x1f0f('0x19')](_0x263103);}const _0x190397=Array[_0x1f0f('0x47')](_0x1feb35[_0x1f0f('0xa5')]())['filter'](([_0x33a152])=>le[_0x1f0f('0x4')](_0x33a152));_0x174a51[_0x1f0f('0x84')]['push']({'element':_0x5d56b6,'attributes':_0x190397[_0x1f0f('0x77')]?Object['fromEntries'](_0x190397):null}),_0x5985a3&&_0x174a51[_0x1f0f('0x43')][_0x1f0f('0x29')](_0x5985a3),_0x1c9c52&&_0x174a51[_0x1f0f('0x5c')]['push'](_0x1c9c52);},{'priority':_0x1f0f('0x4e')}),_0x9fb2f9['on'](_0x1f0f('0x2d'),(_0x582513,_0x53de84)=>{const [_0x9cfcc5,_0x4abab7={}]=_0x53de84;if(!_0x174a51)return;const _0x1c3f8e=_0x4abab7['at']||0x0,_0x5aa5b6=_0x4abab7[_0x1f0f('0x8d')]||0x1;_0x174a51[_0x1f0f('0xa8')]=new Array(_0x5aa5b6)['fill'](_0x1c3f8e)[_0x1f0f('0x96')]((_0x44574b,_0x31d493)=>_0x44574b+_0x31d493);for(const {cell:_0x5b649c}of _0x9fb2f9['createTableWalker'](_0x9cfcc5,{'startColumn':_0x1c3f8e,'endColumn':_0x1c3f8e+_0x5aa5b6-0x1}))_0x174a51[_0x1f0f('0x23')][_0x1f0f('0x29')](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x19')](_0x5b649c));},{'priority':_0x1f0f('0x7f')}),_0x9fb2f9['on'](_0x1f0f('0x3b'),(_0x2265fa,_0x320b66)=>{const [_0x182757,_0x3d1af2={}]=_0x320b66;if(!_0x174a51)return;const _0x2f780b=_0x3d1af2['at']||0x0,_0x1dafd9=_0x3d1af2['rows']||0x1;_0x174a51[_0x1f0f('0x18')]=new Array(_0x1dafd9)[_0x1f0f('0x65')](_0x2f780b)[_0x1f0f('0x96')]((_0x8f8dd8,_0x5551db)=>_0x8f8dd8+_0x5551db);for(const {cell:_0x51d572}of _0x9fb2f9['createTableWalker'](_0x182757,{'startRow':_0x2f780b,'endRow':_0x2f780b+_0x1dafd9-0x1}))_0x174a51[_0x1f0f('0x5')][_0x1f0f('0x29')](_0x3b1a44[_0x1f0f('0x92')]['createRangeOn'](_0x51d572));},{'priority':_0x1f0f('0x7f')}),_0x571782[_0x1f0f('0x3e')][_0x1f0f('0x1c')](_0xca17c3=>{if(_0xca17c3[_0x1f0f('0xa1')]&&_0xca17c3['subType'][_0x1f0f('0x45')](_0x1f0f('0x61')))return _0xca17c3[_0x1f0f('0x25')]?{}:{'type':_0x1f0f('0x1'),'content':_0x281b03(_0x3b1a44[_0x1f0f('0x55')],_0x1f0f('0x81'))};});const _0x3b0900=()=>!0x1;for(const _0x226fb8 of[_0x1f0f('0x61'),_0x1f0f('0x20'),_0x1f0f('0x9e'),'tablePasteCell'])_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x1f0f('0x1'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x3'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900),_0x571782[_0x1f0f('0x7e')]['registerCustomCallback'](_0x1f0f('0x5e'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900);_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x1f0f('0x5e'),_0x1f0f('0x9c'),_0x1f0f('0x8b'),_0x3b0900),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x5e'),_0x1f0f('0x9c'),_0x1f0f('0x62'),(_0x2fb7bf,_0x34ef07,_0x5b94a5)=>{const _0x3fda81=_0x2fb7bf['map'](_0x5eded5=>_0x5eded5[_0x1f0f('0x72')]())[_0x1f0f('0x8c')](_0x13270c=>_0x13270c),_0x346f11=new Map(_0x3fda81[_0x1f0f('0x96')](_0x53afc1=>[_0x53afc1,null]));if(_0x174a51)for(const {element:_0x438190,attributes:_0xd6ef38}of _0x174a51[_0x1f0f('0x84')])_0xd6ef38&&_0x346f11[_0x1f0f('0x3d')](_0x438190,_0xd6ef38);else{if(_0x5b94a5&&_0x5b94a5[_0x1f0f('0x12')])for(const [_0x28154c,_0x25cada]of Object['entries'](_0x5b94a5[_0x1f0f('0x12')])){const _0x294a60=_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x27')]['get'](_0x28154c),_0x11b581=_0x294a60?_0x294a60[_0x1f0f('0x53')]()[_0x1f0f('0x72')]():null;_0x11b581&&_0x346f11['set'](_0x11b581,_0x25cada);}}_0x3b1a44['model'][_0x1f0f('0x6f')](_0x4cb2cd=>{for(const [_0x345bd4,_0x415e25]of _0x346f11)_0x4cb2cd[_0x1f0f('0xf')]({...ae,..._0x415e25},_0x345bd4);});});const _0x1707a4=(_0x940cdf,_0x35a29a)=>{_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x940cdf,_0x1f0f('0x61'),_0x35a29a,(_0x3a8acb,_0x6722ea,_0x276f81)=>{_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x6f')](_0x379bc4=>{const _0x4ba7ae=[];for(const _0x1ead6b of _0x3a8acb){const _0x58e46f=_0x1ead6b[_0x1f0f('0x76')][_0x1f0f('0x74')];_0x58e46f['is']('element',_0x1f0f('0x16'))&&_0x4ba7ae[_0x1f0f('0x29')](_0x58e46f);}_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x80')](_0x940cdf,null,_0x35a29a)(_0x3a8acb,_0x6722ea,_0x276f81);for(const _0x1fe7ae of _0x4ba7ae)'$graveyard'!=_0x1fe7ae['root'][_0x1f0f('0x71')]&&_0x379bc4['unwrap'](_0x1fe7ae);});});};_0x1707a4('insertion',_0x1f0f('0x62')),_0x1707a4(_0x1f0f('0x1'),_0x1f0f('0x8b')),_0x1707a4('deletion',_0x1f0f('0x62')),_0x1707a4(_0x1f0f('0x3'),_0x1f0f('0x8b')),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x1'),_0x1f0f('0x9e'),_0x1f0f('0x8b'),_0x457190=>{const _0x4e9718=_0x457190[_0x1f0f('0x96')](_0x3d3e26=>_0x3d3e26[_0x1f0f('0x72')]()),_0x38e60c=_0x4e9718[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),{minRow:_0x5534b7,maxRow:_0x402faa}=_0x339cfa[_0x1f0f('0x11')](_0x4e9718);_0x9fb2f9[_0x1f0f('0x37')](_0x38e60c,{'at':_0x5534b7,'rows':_0x402faa-_0x5534b7+0x1});}),_0x571782['_suggestionFactory']['registerCustomCallback']('insertion',_0x1f0f('0x20'),_0x1f0f('0x8b'),_0x3b7f5e=>{const _0x19e393=_0x3b7f5e[_0x1f0f('0x96')](_0x194c37=>_0x194c37[_0x1f0f('0x72')]()),_0x5850ce=_0x19e393[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),{minColumn:_0x1efd92,maxColumn:_0x214f5a}=_0x339cfa['_getCoordsForCells'](_0x19e393);_0x9fb2f9[_0x1f0f('0x2')](_0x5850ce,{'at':_0x1efd92,'columns':_0x214f5a-_0x1efd92+0x1});});const _0x3467ef=(_0x453397,_0x97411c)=>{if(!_0x97411c[_0x1f0f('0xa1')]||!_0x97411c['subType']['startsWith'](_0x1f0f('0x61')))return;const _0x17d516=_0x97411c['attributes'][_0x1f0f('0x10')],_0x310202=_0x571782[_0x1f0f('0x28')]()[_0x1f0f('0x8c')](_0x61805f=>_0x61805f[_0x1f0f('0x59')]&&_0x61805f['attributes']&&_0x61805f[_0x1f0f('0x33')]['tablePasteChainId']==_0x17d516);_0x310202[_0x1f0f('0x77')]&&_0x97411c[_0x1f0f('0x50')]()[_0x1f0f('0x77')]!=_0x310202[_0x1f0f('0x77')]&&_0x310202[_0x1f0f('0x8a')]((_0x1502a8,_0x1401df)=>(_0x1502a8[_0x1f0f('0x9')]=_0x1401df,_0x1401df[_0x1f0f('0x25')]=_0x1502a8,_0x1401df));};function _0x345238(_0x1dd131,_0x2370bc=!0x0){const {id:_0x17b596}=_0x571782[_0x1f0f('0x31')](_0x1dd131[_0x1f0f('0x5d')]),_0xa0b805=['ck-suggestion-marker',_0x1f0f('0x70')],_0x365915=_0x571782[_0x1f0f('0x7d')][_0x1f0f('0x4')](_0x1dd131['markerName']);return _0x365915&&_0xa0b805[_0x1f0f('0x29')](_0x1f0f('0x9b')),{'classes':_0xa0b805,'attributes':{'data-suggestion':_0x17b596},'priority':_0x365915&&_0x2370bc?0xbc2:0xbb8};}_0x571782['on'](_0x1f0f('0xa6'),_0x3467ef,{'priority':_0x1f0f('0x4e')}),_0x571782['on'](_0x1f0f('0x98'),_0x3467ef,{'priority':'high'}),_0x3b1a44['model'][_0x1f0f('0x7a')][_0x1f0f('0x9d')](()=>{let _0x185646=!0x1;const _0x1bc8ac=Array['from'](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0xa2')][_0x1f0f('0x68')]());for(const {name:_0x43d084,data:_0x1a4019}of _0x1bc8ac){const {group:_0x51f25e,type:_0x5d0965,id:_0x292ade}=_0x571782[_0x1f0f('0x31')](_0x43d084);if('suggestion'!=_0x51f25e||_0x1f0f('0x3')!=_0x5d0965||_0x1a4019['oldRange'])continue;if(!_0x571782[_0x1f0f('0x6b')](_0x292ade))continue;const _0x550c25=_0x571782[_0x1f0f('0x6d')](_0x292ade)[_0x1f0f('0x4f')](),_0x3176b7=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x66'))['me'];for(const _0x36c788 of _0x571782[_0x1f0f('0x28')]()){if(!_0x36c788[_0x1f0f('0x59')]||_0x36c788[_0x1f0f('0x7b')]!=_0x3176b7)continue;if('formatBlock'!=_0x36c788[_0x1f0f('0x7')]||_0x1f0f('0x9c')!=_0x36c788['subType'])continue;if(_0x36c788[_0x1f0f('0x4f')]()['every'](_0xe67984=>_0x550c25[_0x1f0f('0xa4')](_0x509bbf=>_0x509bbf[_0x1f0f('0x34')](_0xe67984,!0x0))))for(const _0x43eb98 of _0x36c788[_0x1f0f('0x50')]())_0x43eb98[_0x1f0f('0x59')]&&(_0x43eb98[_0x1f0f('0x8b')](),_0x185646=!0x0);}}return _0x185646;}),_0x3b1a44['model'][_0x1f0f('0x7a')]['registerPostFixer'](_0x3bbb1a=>{const _0x593206=_0x3b1a44['commands']['get'](_0x1f0f('0x21'));if(!_0x593206||!_0x593206[_0x1f0f('0x8')][_0x1f0f('0x97')](_0x3bbb1a[_0x1f0f('0xd')]))return!0x1;let _0x4355c0=!0x1;const _0x2b6815=_0x3b1a44['plugins'][_0x1f0f('0x63')](_0x1f0f('0x66'))['me'],_0x57c9ee=_0x3b1a44[_0x1f0f('0x92')]['document']['differ'][_0x1f0f('0x48')](),_0x48d10d=Array[_0x1f0f('0x47')](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0xa2')][_0x1f0f('0x68')]())[_0x1f0f('0x8c')](({name:_0x20a0d0,data:_0x4f8e61})=>{const {group:_0x3b05eb,subType:_0x1e9d5f,authorId:_0x1e7fa8}=_0x571782[_0x1f0f('0x31')](_0x20a0d0);return _0x1f0f('0x1a')==_0x3b05eb&&'tablePaste'==_0x1e9d5f&&_0x1e7fa8==_0x2b6815['id']&&!_0x4f8e61[_0x1f0f('0x89')];});for(const _0xa96b37 of _0x57c9ee){if(_0x1f0f('0x4b')!=_0xa96b37[_0x1f0f('0x7')]||'tableCellSuggestion'!=_0xa96b37[_0x1f0f('0xc')]||0x1!=_0xa96b37[_0x1f0f('0x77')])continue;const _0x2782ca=_0x3bbb1a['createRange'](_0xa96b37[_0x1f0f('0x1e')],_0xa96b37['position'][_0x1f0f('0x79')](0x1));if(!_0x48d10d[_0x1f0f('0x75')](({data:_0x27cad9})=>_0x27cad9[_0x1f0f('0x52')][_0x1f0f('0x3a')](_0x2782ca)))for(const {name:_0x31515d,data:_0x15862f}of _0x48d10d)if(_0x2782ca['containsRange'](_0x15862f['newRange'])){_0x3bbb1a[_0x1f0f('0x69')](_0x31515d,{'range':_0x2782ca}),_0x4355c0=!0x0;break;}}return _0x4355c0;}),_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0x9d')](_0x1d7c7c=>{let _0x348cac=!0x1;const _0x393644=_0x3b1a44[_0x1f0f('0x1f')]['get'](_0x1f0f('0x66'))['me'],_0x2af37c=_0x571782['getSuggestions']()[_0x1f0f('0x8c')](_0xca667e=>_0xca667e[_0x1f0f('0x59')]&&_0xca667e[_0x1f0f('0x7b')]==_0x393644),_0x1e82bf=new Set(),_0x45ad18=new Set();for(const _0x38fe6e of _0x2af37c)if(_0x1f0f('0x61')==_0x38fe6e[_0x1f0f('0xa1')])for(const _0x16c1f7 of _0x38fe6e[_0x1f0f('0x44')]()){const _0x171f37=_0x16c1f7[_0x1f0f('0x53')]()['getContainedElement']();if(_0x171f37){if(_0x171f37['is'](_0x1f0f('0x32'),_0x1f0f('0x16'))&&ce(_0x171f37)){_0x38fe6e[_0x1f0f('0x2a')](_0x16c1f7[_0x1f0f('0xc')]),_0x1e82bf['add'](_0x171f37),_0x348cac=!0x0;const _0x317bdc=_0x171f37[_0x1f0f('0xaa')],_0x9afef5=_0x171f37[_0x1f0f('0x51')],_0x5b36bb=_0x317bdc&&_0x317bdc['is'](_0x1f0f('0x32'),_0x1f0f('0x16')),_0x391114=_0x9afef5&&_0x9afef5['is'](_0x1f0f('0x32'),_0x1f0f('0x16'));_0x5b36bb&&!_0x1e82bf[_0x1f0f('0x97')](_0x317bdc)&&_0x45ad18[_0x1f0f('0x99')](_0x317bdc),_0x391114&&!_0x1e82bf['has'](_0x9afef5)&&_0x45ad18['add'](_0x9afef5);}else _0x171f37['is'](_0x1f0f('0x32'),_0x1f0f('0x5f'))&&_0x171f37[_0x1f0f('0x90')]&&(_0x38fe6e['removeMarker'](_0x16c1f7[_0x1f0f('0xc')]),_0x348cac=!0x0);}}else{if('tablePasteCell'==_0x38fe6e[_0x1f0f('0xa1')]){if(!_0x38fe6e[_0x1f0f('0x33')]||!_0x38fe6e['attributes'][_0x1f0f('0x10')])continue;const _0x35a7b4=_0x38fe6e['attributes'][_0x1f0f('0x12')];if(_0x35a7b4&&Object['keys'](_0x35a7b4)[_0x1f0f('0x77')])continue;const _0x44297c=_0x38fe6e['attributes']['tablePasteChainId'];let _0x34be7d=!0x0,_0x45fdcf=!0x0;for(const _0x42f7c9 of _0x2af37c)if(_0x42f7c9[_0x1f0f('0xa1')]&&_0x42f7c9[_0x1f0f('0xa1')][_0x1f0f('0x45')](_0x1f0f('0x61'))){if(!_0x42f7c9[_0x1f0f('0x33')][_0x1f0f('0x10')]){_0x45fdcf=!0x1;break;}if(_0x42f7c9['id']!=_0x38fe6e['id']&&_0x42f7c9[_0x1f0f('0x33')][_0x1f0f('0x10')]==_0x44297c){_0x34be7d=!0x1;break;}}_0x45fdcf&&_0x34be7d&&(_0x38fe6e['removeMarkers'](),_0x348cac=!0x0);}}for(const _0x450dd4 of _0x1e82bf)_0x1d7c7c[_0x1f0f('0x6c')](_0x450dd4);for(const _0x108d0b of _0x45ad18)_0x1d7c7c[_0x1f0f('0x24')](_0x108d0b);return _0x348cac;}),_0x3b1a44[_0x1f0f('0x5a')]['for'](_0x1f0f('0x0'))[_0x1f0f('0x88')]({'model':_0x1f0f('0x78'),'view':(_0x2b35e7,_0xdbc885)=>_0x345238(_0x2b35e7),'converterPriority':_0x1f0f('0x4e')}),_0x3b1a44['conversion']['for'](_0x1f0f('0x6a'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x252ffb,_0x3cd4ae)=>_0x3cd4ae[_0x1f0f('0xa')][_0x1f0f('0x93')]?_0x345238(_0x252ffb,!0x1):null,'converterPriority':'high'});const _0x44f642=_0x3b1a44[_0x1f0f('0x26')][_0x1f0f('0x6e')];this[_0x1f0f('0x2c')](_0x44f642['document'],_0x1f0f('0x17'),(_0x34d12d,_0x5a7620)=>{const _0xc7ffe4=[];for(const _0x398e70 of _0x44f642[_0x1f0f('0x60')](_0x5a7620[_0x1f0f('0xe')])[_0x1f0f('0x49')]())_0x398e70['is']('element',_0x1f0f('0x58'))&&_0xc7ffe4[_0x1f0f('0x29')](_0x398e70);_0x44f642[_0x1f0f('0x6f')](_0x1a954e=>{for(const _0x330bd4 of _0xc7ffe4)_0x1a954e['move'](_0x1a954e[_0x1f0f('0x60')](_0x330bd4),_0x1a954e['createPositionBefore'](_0x330bd4)),_0x1a954e['remove'](_0x330bd4);});});}}function ce(_0x1aab5b){if(_0x1aab5b[_0x1f0f('0x90')])return!0x0;const _0x474cfa=_0x1aab5b[_0x1f0f('0x9a')](0x0);return _0x474cfa['is'](_0x1f0f('0x32'),_0x1f0f('0x5f'))&&_0x474cfa['isEmpty'];}function fe(_0x52eea8,_0x413d04={},_0x964a5){for(const {isAnchor:_0x1e1b75,cellHeight:_0x345b23,cellWidth:_0x1e6b1d}of _0x964a5[_0x1f0f('0x64')](_0x52eea8,{'includeAllSlots':!0x0,..._0x413d04}))if(!_0x1e1b75||0x1!=_0x345b23||0x1!=_0x1e6b1d)return!0x1;return!0x0;}
23
+ const _0x2e29=['previous','insertColumns','high','markerName','isEmpty','redo','end','locale','getSuggestionCallback','getChild','Users','getSuggestions','createRangeIn','_getCoordsForCells','createPositionBefore','document','removeMarkers','markerAttributes','plugins','markers','showSuggestionHighlights','getAttributes','low','getTableIfOnlyTableInContent','getAllAdjacentSuggestions','getSelectionAffectedTableCells','TableUtils','fromEntries','_suggestionFactory','createRange','markMultiRangeDeletion','registerCustomCallback','tableCellPadding','keys','requires','editingDowncast','tableCellSuggestion','add','markMultiRangeInsertion','getRows','remove','differ','conversion','createRangeOn','_tablePostFixingSubtypes','element','paragraph','getItems','updateMarker','tablePasteChainId','clipboardOutput','name','getChangedMarkers','removeRows','dataDowncast','rowInsertionRanges','for','reduce','columnInsertionRanges','getSuggestion','_splitMarkerName','rowInsertionIndexes','getColumnIndexes','getRange','model','insertContent','value','every','tableCellBorderWidth','cells','insertionRanges','deletionRanges','registerPostFixer','$graveyard','position','listenTo','insert','map','tableCellBorderStyle','tablePasteCell','some','previousSibling','removeColumns','join','suggestion:formatBlock:tablePasteCell','register','discard','_isForcedDefaultExecutionBlock','findAncestor','insertion','accept','createElement','getRanges','rootName','markerToHighlight','start','getChildren','elementToElement','root','content','getRowIndexes','attributes','unwrap','forceDefaultExecution','removeMarker','suggestion','editor','push','cell','getMarkers','commands','schema','nodeAfter','fill','subType','filter','containsRange','endColumn','tablePasteRow','*Replace\x20table\x20cells*','next','_replaceTableSlotCell','startsWith','stop','deletion','first','length','tableCellBackgroundColor','setAttribute','rows','selection','formatBlock','tablePasteColumn','hasSuggestion','tableCellVerticalAlignment','isInContent','afterInit','batch','author','tableCellBorderColor','set','columnInsertionIndexes','nextSibling','from','_descriptionFactory','get','tableCellHorizontalAlignment','newRange','column','TableClipboard','find','suggestionUnloaded','change','ck-suggestion-marker-insertion','oldRange','type','tablePaste','getContainedElement','row','suggestion-td','isEqual','includes','getChanges','tableCell','registerDescriptionCallback','ck-suggestion-marker','return','has','columns'];(function(_0x109fdf,_0x2e29ab){const _0x94f923=function(_0x3466e8){while(--_0x3466e8){_0x109fdf['push'](_0x109fdf['shift']());}};_0x94f923(++_0x2e29ab);}(_0x2e29,0xa9));const _0x94f9=function(_0x109fdf,_0x2e29ab){_0x109fdf=_0x109fdf-0x0;let _0x94f923=_0x2e29[_0x109fdf];return _0x94f923;};import{getTranslation as _0x58fe80}from'../utils/common-translations.js';import{Plugin as _0x3f0842}from'ckeditor5/src/core.js';import{uid as _0x542d63,priorities as _0x2fd574}from'ckeditor5/src/utils.js';import _0x58bc97 from'./table.js';const fe=[_0x94f9('0x44'),_0x94f9('0x8b'),_0x94f9('0x4e'),_0x94f9('0x92'),_0x94f9('0x86'),_0x94f9('0x7f'),_0x94f9('0x20')],be=Object[_0x94f9('0x1b')](fe['map'](_0x4029e6=>[_0x4029e6,null]));export default class At extends _0x3f0842{static get[_0x94f9('0x22')](){return[_0x58bc97];}[_0x94f9('0x88')](){const _0x3e29c9=this[_0x94f9('0x6a')];if(!_0x3e29c9[_0x94f9('0x12')]['has'](_0x94f9('0x95')))return;const _0x597cc4=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')]('TrackChangesEditing'),_0x2518e3=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x1a')),_0x3e96f2=_0x3e29c9[_0x94f9('0x12')]['get'](_0x58bc97),_0x31f428=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x95'));_0x3e96f2[_0x94f9('0x2c')]['push'](_0x94f9('0x76'),'tablePasteColumn'),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x6f')][_0x94f9('0x55')](_0x94f9('0x24'),{'allowIn':_0x94f9('0xa3'),'allowContentOf':_0x94f9('0xa3'),'isLimit':!0x0}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x61')]({'model':_0x94f9('0x24'),'view':_0x94f9('0x9f')});let _0xe79120=null;_0x3e29c9[_0x94f9('0x40')]['on'](_0x94f9('0x41'),(_0x14d34a,_0x94b69f)=>{const [_0xbc909b,_0x4cb539]=_0x94b69f,_0x2fbbcd=_0x94b69f[_0x94b69f[_0x94f9('0x7e')]-0x1];_0x2fbbcd&&_0x2fbbcd[_0x94f9('0x67')]||_0x597cc4[_0x94f9('0x57')]||this['editor'][_0x94f9('0x6e')]['get']('trackChanges')[_0x94f9('0x42')]&&function(_0x3431cb,_0x204478,_0x5dcd70,_0x394257,_0x278ed4){if(_0x204478&&!_0x204478['is']('documentSelection'))return!0x1;const _0x392d43=_0x278ed4[_0x94f9('0x17')](_0x3431cb,_0x5dcd70);if(!_0x392d43||!de(_0x392d43,void 0x0,_0x394257))return!0x1;const _0xe8185b=_0x394257[_0x94f9('0x19')](_0x5dcd70[_0x94f9('0xf')][_0x94f9('0x82')]);if(!_0xe8185b['length'])return!0x1;const _0x53c241=_0xe8185b[0x0]['findAncestor']('table'),_0x44c4a4=_0x394257[_0x94f9('0x64')](_0xe8185b),_0x1ad5e4=_0x394257[_0x94f9('0x3e')](_0xe8185b),_0x30fe73={'startRow':_0x44c4a4[_0x94f9('0x7d')],'endRow':_0x44c4a4['last'],'startColumn':_0x1ad5e4['first'],'endColumn':_0x1ad5e4['last']};return 0x1==_0xe8185b[_0x94f9('0x7e')]&&(_0x30fe73['endRow']+=_0x394257[_0x94f9('0x27')](_0x392d43)-0x1,_0x30fe73[_0x94f9('0x75')]+=_0x394257['getColumns'](_0x392d43)-0x1),de(_0x53c241,_0x30fe73,_0x394257);}(_0xbc909b,_0x4cb539,_0x3e29c9[_0x94f9('0x40')],_0x2518e3,_0x31f428)&&(_0x14d34a['stop'](),_0xe79120={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x98')](()=>{_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x41')](_0x94b69f[0x0],_0x94b69f[0x1],_0x94b69f[0x2],{'forceDefaultExecution':!0x0});const _0x122442=_0x542d63(),{rowInsertionRanges:_0x23d152,columnInsertionRanges:_0x3934bd,insertionRanges:_0x20f09f,deletionRanges:_0x350394,cells:_0x4c508f}=_0xe79120;_0x23d152[_0x94f9('0x7e')]&&_0x597cc4['markMultiRangeInsertion'](_0x23d152,_0x94f9('0x76'),{'tablePasteChainId':_0x122442}),_0x3934bd[_0x94f9('0x7e')]&&_0x597cc4[_0x94f9('0x26')](_0x3934bd,'tablePasteColumn',{'tablePasteChainId':_0x122442}),_0x20f09f[_0x94f9('0x7e')]&&_0x597cc4[_0x94f9('0x26')](_0x20f09f,_0x94f9('0x9c'),{'tablePasteChainId':_0x122442,'skipNestingCheck':!0x0}),_0x350394['length']&&_0x597cc4[_0x94f9('0x1e')](_0x350394,'tablePaste',{'tablePasteChainId':_0x122442,'skipNestingCheck':!0x0});const _0x4bb549=_0x597cc4['markMultiRangeBlockFormat'](_0x4c508f[_0x94f9('0x4d')](({element:_0x49976d})=>_0x49976d),{'formatGroupId':_0x542d63()},[],'tablePasteCell',{'tablePasteChainId':_0x122442});if(_0x4bb549){const _0x2d8585=_0x4bb549[_0x94f9('0x6d')](),_0x41470a=[];for(const {element:_0x5cedb0,attributes:_0x193a15}of _0x4c508f){if(!_0x193a15)continue;const _0x216e37=_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x2b')](_0x5cedb0),_0x53ee57=_0x2d8585[_0x94f9('0x96')](_0x4d3916=>_0x4d3916[_0x94f9('0x3f')]()[_0x94f9('0xa0')](_0x216e37));_0x53ee57&&_0x41470a[_0x94f9('0x6b')]([_0x53ee57[_0x94f9('0x33')],_0x193a15]);}_0x41470a[_0x94f9('0x7e')]&&_0x4bb549[_0x94f9('0x80')](_0x94f9('0x11'),Object[_0x94f9('0x1b')](_0x41470a));}_0xe79120=null;}));},{'priority':_0x2fd574[_0x94f9('0x2')]+0xa}),_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0x95'))['on'](_0x94f9('0x79'),(_0x1dc7a9,_0x4c3dc4)=>{const [_0x58ce17,_0x106a75,,_0x45a055]=_0x4c3dc4;if(!_0xe79120)return;_0x1dc7a9[_0x94f9('0x7b')]();const _0x4ad045=_0x58ce17[_0x94f9('0x6c')],_0x300ded=_0x106a75,_0x5373d5=ge(_0x4ad045),_0x32ad1f=ge(_0x300ded);_0x1dc7a9[_0x94f9('0xa6')]=_0x4ad045;let _0x4cf5cb=null,_0x10b232=null;if(_0x32ad1f||_0x5373d5){if(_0x5373d5&&!_0x32ad1f){_0x45a055[_0x94f9('0x28')](_0x4ad045[_0x94f9('0x9')](0x0));for(const _0x2a43e9 of Array['from'](_0x300ded[_0x94f9('0x60')]()))_0x45a055[_0x94f9('0x4c')](_0x2a43e9,_0x4ad045,_0x94f9('0x6'));const _0x22e313=_0xe79120['rowInsertionIndexes']['includes'](_0x58ce17[_0x94f9('0x9e')]),_0x276ad8=_0xe79120[_0x94f9('0x8d')][_0x94f9('0xa1')](_0x58ce17[_0x94f9('0x94')]);_0x22e313||_0x276ad8||(_0x4cf5cb=_0x45a055[_0x94f9('0xc')](_0x4ad045));}else _0x32ad1f&&!_0x5373d5&&(_0x10b232=_0x45a055['createRangeIn'](_0x4ad045));}else{const _0x202064=_0x45a055['createElement'](_0x94f9('0x24')),_0x4b51b5=_0x45a055[_0x94f9('0x5b')](_0x94f9('0x24'));_0x45a055['wrap'](_0x45a055[_0x94f9('0xc')](_0x4ad045),_0x4b51b5),_0x45a055['insert'](_0x202064,_0x4ad045,0x0);for(const _0x40fccb of Array[_0x94f9('0x8f')](_0x300ded[_0x94f9('0x60')]()))_0x45a055[_0x94f9('0x4c')](_0x40fccb,_0x202064,_0x94f9('0x6'));_0x4cf5cb=_0x45a055[_0x94f9('0x2b')](_0x202064),_0x10b232=_0x45a055[_0x94f9('0x2b')](_0x4b51b5);}const _0x4ca820=Array['from'](_0x300ded[_0x94f9('0x15')]())[_0x94f9('0x73')](([_0x5ec26f])=>fe[_0x94f9('0xa1')](_0x5ec26f));_0xe79120[_0x94f9('0x45')][_0x94f9('0x6b')]({'element':_0x4ad045,'attributes':_0x4ca820['length']?Object[_0x94f9('0x1b')](_0x4ca820):null}),_0x4cf5cb&&_0xe79120[_0x94f9('0x46')][_0x94f9('0x6b')](_0x4cf5cb),_0x10b232&&_0xe79120[_0x94f9('0x47')]['push'](_0x10b232);},{'priority':_0x94f9('0x2')}),_0x2518e3['on'](_0x94f9('0x1'),(_0x2ec45c,_0x175f29)=>{const [_0x9d5be1,_0xe9d067={}]=_0x175f29;if(!_0xe79120)return;const _0x1bf409=_0xe9d067['at']||0x0,_0xd89143=_0xe9d067[_0x94f9('0xa8')]||0x1;_0xe79120[_0x94f9('0x8d')]=new Array(_0xd89143)[_0x94f9('0x71')](_0x1bf409)[_0x94f9('0x4d')]((_0x58c8ca,_0x51fc56)=>_0x58c8ca+_0x51fc56);for(const {cell:_0x1e4576}of _0x2518e3['createTableWalker'](_0x9d5be1,{'startColumn':_0x1bf409,'endColumn':_0x1bf409+_0xd89143-0x1}))_0xe79120[_0x94f9('0x3a')][_0x94f9('0x6b')](_0x3e29c9['model'][_0x94f9('0x2b')](_0x1e4576));},{'priority':_0x94f9('0x16')}),_0x2518e3['on']('insertRows',(_0x2e97f8,_0x16cd34)=>{const [_0x32dc2c,_0xeeee1c={}]=_0x16cd34;if(!_0xe79120)return;const _0x4b5736=_0xeeee1c['at']||0x0,_0x45d6b4=_0xeeee1c[_0x94f9('0x81')]||0x1;_0xe79120[_0x94f9('0x3d')]=new Array(_0x45d6b4)[_0x94f9('0x71')](_0x4b5736)['map']((_0x435e48,_0x1e8352)=>_0x435e48+_0x1e8352);for(const {cell:_0x38c28b}of _0x2518e3['createTableWalker'](_0x32dc2c,{'startRow':_0x4b5736,'endRow':_0x4b5736+_0x45d6b4-0x1}))_0xe79120[_0x94f9('0x37')][_0x94f9('0x6b')](_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x2b')](_0x38c28b));},{'priority':_0x94f9('0x16')}),_0x597cc4[_0x94f9('0x90')][_0x94f9('0xa4')](_0x130c9e=>{if(_0x130c9e['subType']&&_0x130c9e[_0x94f9('0x72')]['startsWith']('tablePaste'))return _0x130c9e[_0x94f9('0x0')]?{}:{'type':'insertion','content':_0x58fe80(_0x3e29c9[_0x94f9('0x7')],_0x94f9('0x77'))};});const _0x154127=()=>!0x1;for(const _0x5898e5 of[_0x94f9('0x9c'),'tablePasteColumn',_0x94f9('0x76'),_0x94f9('0x4f')])_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')]('insertion',_0x5898e5,_0x94f9('0x53'),_0x154127),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x7c'),_0x5898e5,_0x94f9('0x53'),_0x154127),_0x597cc4[_0x94f9('0x1c')]['registerCustomCallback'](_0x94f9('0x83'),_0x5898e5,_0x94f9('0x53'),_0x154127);_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x83'),_0x94f9('0x4f'),_0x94f9('0x56'),_0x154127),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x83'),_0x94f9('0x4f'),_0x94f9('0x5a'),(_0x1b71b2,_0x18a54b,_0x7b4752)=>{const _0x3199f6=_0x1b71b2[_0x94f9('0x4d')](_0x48d420=>_0x48d420[_0x94f9('0x9d')]())[_0x94f9('0x73')](_0x18fc4b=>_0x18fc4b),_0x18d48c=new Map(_0x3199f6[_0x94f9('0x4d')](_0x57e092=>[_0x57e092,null]));if(_0xe79120)for(const {element:_0x4ffae5,attributes:_0xd33bd6}of _0xe79120['cells'])_0xd33bd6&&_0x18d48c[_0x94f9('0x8c')](_0x4ffae5,_0xd33bd6);else{if(_0x7b4752&&_0x7b4752[_0x94f9('0x11')])for(const [_0x27a78f,_0x1c9322]of Object['entries'](_0x7b4752[_0x94f9('0x11')])){const _0x562c34=_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x13')]['get'](_0x27a78f),_0x5acc0b=_0x562c34?_0x562c34[_0x94f9('0x3f')]()[_0x94f9('0x9d')]():null;_0x5acc0b&&_0x18d48c[_0x94f9('0x8c')](_0x5acc0b,_0x1c9322);}}_0x3e29c9[_0x94f9('0x40')][_0x94f9('0x98')](_0x2eb4bc=>{for(const [_0x1adc8d,_0x3fec68]of _0x18d48c)_0x2eb4bc['setAttributes']({...be,..._0x3fec68},_0x1adc8d);});});const _0x22dea3=(_0x1f7e17,_0x1bd5bb)=>{_0x597cc4['_suggestionFactory'][_0x94f9('0x1f')](_0x1f7e17,'tablePaste',_0x1bd5bb,(_0xbaf0f2,_0x2a8fe5,_0x28f3ee)=>{_0x3e29c9['model'][_0x94f9('0x98')](_0x22cc3b=>{const _0x58a7c8=[];for(const _0x4290cd of _0xbaf0f2){const _0x4c5a2e=_0x4290cd[_0x94f9('0x5f')][_0x94f9('0x70')];_0x4c5a2e['is'](_0x94f9('0x2d'),'tableCellSuggestion')&&_0x58a7c8[_0x94f9('0x6b')](_0x4c5a2e);}_0x597cc4['_suggestionFactory'][_0x94f9('0x8')](_0x1f7e17,null,_0x1bd5bb)(_0xbaf0f2,_0x2a8fe5,_0x28f3ee);for(const _0x29afd1 of _0x58a7c8)_0x94f9('0x49')!=_0x29afd1[_0x94f9('0x62')][_0x94f9('0x5d')]&&_0x22cc3b[_0x94f9('0x66')](_0x29afd1);});});};_0x22dea3(_0x94f9('0x59'),_0x94f9('0x5a')),_0x22dea3(_0x94f9('0x59'),_0x94f9('0x56')),_0x22dea3(_0x94f9('0x7c'),_0x94f9('0x5a')),_0x22dea3(_0x94f9('0x7c'),_0x94f9('0x56')),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x59'),_0x94f9('0x76'),_0x94f9('0x56'),_0x16c3b6=>{const _0x414bc3=_0x16c3b6[_0x94f9('0x4d')](_0x3b33bc=>_0x3b33bc['getContainedElement']()),_0x1f3e17=_0x414bc3[0x0]['findAncestor']('table'),{minRow:_0x3395b8,maxRow:_0x1a9bf1}=_0x3e96f2[_0x94f9('0xd')](_0x414bc3);_0x2518e3[_0x94f9('0x35')](_0x1f3e17,{'at':_0x3395b8,'rows':_0x1a9bf1-_0x3395b8+0x1});}),_0x597cc4[_0x94f9('0x1c')][_0x94f9('0x1f')](_0x94f9('0x59'),_0x94f9('0x84'),_0x94f9('0x56'),_0x341fdb=>{const _0x197de5=_0x341fdb[_0x94f9('0x4d')](_0x2c8209=>_0x2c8209['getContainedElement']()),_0x514670=_0x197de5[0x0][_0x94f9('0x58')]('table'),{minColumn:_0x354088,maxColumn:_0x51544b}=_0x3e96f2[_0x94f9('0xd')](_0x197de5);_0x2518e3[_0x94f9('0x52')](_0x514670,{'at':_0x354088,'columns':_0x51544b-_0x354088+0x1});});const _0x3afad2=(_0x3ad143,_0x56f92f)=>{if(!_0x56f92f['subType']||!_0x56f92f[_0x94f9('0x72')]['startsWith']('tablePaste'))return;const _0x28cd8a=_0x56f92f[_0x94f9('0x65')][_0x94f9('0x31')],_0x1eef9a=_0x597cc4[_0x94f9('0xb')]()[_0x94f9('0x73')](_0x396833=>_0x396833[_0x94f9('0x87')]&&_0x396833[_0x94f9('0x65')]&&_0x396833['attributes'][_0x94f9('0x31')]==_0x28cd8a);_0x1eef9a[_0x94f9('0x7e')]&&_0x56f92f['getAllAdjacentSuggestions']()['length']!=_0x1eef9a[_0x94f9('0x7e')]&&_0x1eef9a[_0x94f9('0x39')]((_0x35547b,_0x11969f)=>(_0x35547b[_0x94f9('0x78')]=_0x11969f,_0x11969f['previous']=_0x35547b,_0x11969f));};function _0x57941a(_0x58e0f9,_0x1a0299=!0x0){const {id:_0x281434}=_0x597cc4['_splitMarkerName'](_0x58e0f9[_0x94f9('0x3')]),_0x5f294e=[_0x94f9('0xa5'),_0x94f9('0x99')],_0x353a2e=_0x597cc4['activeMarkers'][_0x94f9('0xa1')](_0x58e0f9[_0x94f9('0x3')]);return _0x353a2e&&_0x5f294e[_0x94f9('0x6b')]('ck-suggestion-marker--active'),{'classes':_0x5f294e,'attributes':{'data-suggestion':_0x281434},'priority':_0x353a2e&&_0x1a0299?0xbc2:0xbb8};}_0x597cc4['on']('suggestionLoaded',_0x3afad2,{'priority':'high'}),_0x597cc4['on'](_0x94f9('0x97'),_0x3afad2,{'priority':_0x94f9('0x2')}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](()=>{let _0x134f0f=!0x1;const _0x509f4a=Array['from'](_0x3e29c9['model'][_0x94f9('0xf')][_0x94f9('0x29')][_0x94f9('0x34')]());for(const {name:_0x4e2837,data:_0x7d0c0b}of _0x509f4a){const {group:_0x179a4f,type:_0x1cc30b,id:_0x3a2e15}=_0x597cc4[_0x94f9('0x3c')](_0x4e2837);if(_0x94f9('0x69')!=_0x179a4f||_0x94f9('0x7c')!=_0x1cc30b||_0x7d0c0b[_0x94f9('0x9a')])continue;if(!_0x597cc4[_0x94f9('0x85')](_0x3a2e15))continue;const _0x534245=_0x597cc4[_0x94f9('0x3b')](_0x3a2e15)['getRanges'](),_0x3be558=_0x3e29c9[_0x94f9('0x12')][_0x94f9('0x91')](_0x94f9('0xa'))['me'];for(const _0x3848dc of _0x597cc4[_0x94f9('0xb')]()){if(!_0x3848dc[_0x94f9('0x87')]||_0x3848dc[_0x94f9('0x8a')]!=_0x3be558)continue;if(_0x94f9('0x83')!=_0x3848dc[_0x94f9('0x9b')]||'tablePasteCell'!=_0x3848dc[_0x94f9('0x72')])continue;if(_0x3848dc[_0x94f9('0x5c')]()[_0x94f9('0x43')](_0x33c834=>_0x534245[_0x94f9('0x50')](_0x365da9=>_0x365da9[_0x94f9('0x74')](_0x33c834,!0x0))))for(const _0x12736b of _0x3848dc[_0x94f9('0x18')]())_0x12736b[_0x94f9('0x87')]&&(_0x12736b['discard'](),_0x134f0f=!0x0);}}return _0x134f0f;}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](_0x3e20b4=>{const _0x8896d=_0x3e29c9[_0x94f9('0x6e')][_0x94f9('0x91')](_0x94f9('0x5'));if(!_0x8896d||!_0x8896d['_createdBatches']['has'](_0x3e20b4[_0x94f9('0x89')]))return!0x1;let _0x24cfbd=!0x1;const _0x3b9651=_0x3e29c9['plugins'][_0x94f9('0x91')]('Users')['me'],_0x4a3ea6=_0x3e29c9['model']['document'][_0x94f9('0x29')][_0x94f9('0xa2')](),_0x553d6d=Array[_0x94f9('0x8f')](_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x29')][_0x94f9('0x34')]())[_0x94f9('0x73')](({name:_0x1b5f10,data:_0x4cef95})=>{const {group:_0x5f2904,subType:_0x207821,authorId:_0x46b8ae}=_0x597cc4[_0x94f9('0x3c')](_0x1b5f10);return'suggestion'==_0x5f2904&&_0x94f9('0x9c')==_0x207821&&_0x46b8ae==_0x3b9651['id']&&!_0x4cef95[_0x94f9('0x9a')];});for(const _0x58206e of _0x4a3ea6){if(_0x94f9('0x4c')!=_0x58206e[_0x94f9('0x9b')]||_0x94f9('0x24')!=_0x58206e['name']||0x1!=_0x58206e[_0x94f9('0x7e')])continue;const _0x34ba88=_0x3e20b4[_0x94f9('0x1d')](_0x58206e[_0x94f9('0x4a')],_0x58206e[_0x94f9('0x4a')]['getShiftedBy'](0x1));if(!_0x553d6d['find'](({data:_0x2b9438})=>_0x2b9438[_0x94f9('0x93')][_0x94f9('0xa0')](_0x34ba88)))for(const {name:_0x1d0df1,data:_0x3bc4a8}of _0x553d6d)if(_0x34ba88[_0x94f9('0x74')](_0x3bc4a8[_0x94f9('0x93')])){_0x3e20b4[_0x94f9('0x30')](_0x1d0df1,{'range':_0x34ba88}),_0x24cfbd=!0x0;break;}}return _0x24cfbd;}),_0x3e29c9[_0x94f9('0x40')][_0x94f9('0xf')][_0x94f9('0x48')](_0x55f51e=>{let _0x2be7d3=!0x1;const _0x574970=_0x3e29c9[_0x94f9('0x12')]['get'](_0x94f9('0xa'))['me'],_0x18f3ed=_0x597cc4['getSuggestions']()[_0x94f9('0x73')](_0x59e7f9=>_0x59e7f9[_0x94f9('0x87')]&&_0x59e7f9[_0x94f9('0x8a')]==_0x574970),_0x4c407f=new Set(),_0x274169=new Set();for(const _0xccbb64 of _0x18f3ed)if(_0x94f9('0x9c')==_0xccbb64[_0x94f9('0x72')])for(const _0x185ce0 of _0xccbb64['getMarkers']()){const _0x59aed6=_0x185ce0['getRange']()[_0x94f9('0x9d')]();if(_0x59aed6){if(_0x59aed6['is']('element',_0x94f9('0x24'))&&ge(_0x59aed6)){_0xccbb64['removeMarker'](_0x185ce0['name']),_0x4c407f['add'](_0x59aed6),_0x2be7d3=!0x0;const _0x49eac9=_0x59aed6[_0x94f9('0x8e')],_0x4ce591=_0x59aed6[_0x94f9('0x51')],_0x27ac46=_0x49eac9&&_0x49eac9['is'](_0x94f9('0x2d'),_0x94f9('0x24')),_0x3a1b47=_0x4ce591&&_0x4ce591['is']('element',_0x94f9('0x24'));_0x27ac46&&!_0x4c407f['has'](_0x49eac9)&&_0x274169[_0x94f9('0x25')](_0x49eac9),_0x3a1b47&&!_0x4c407f[_0x94f9('0xa7')](_0x4ce591)&&_0x274169[_0x94f9('0x25')](_0x4ce591);}else _0x59aed6['is']('element',_0x94f9('0x2e'))&&_0x59aed6[_0x94f9('0x4')]&&(_0xccbb64[_0x94f9('0x68')](_0x185ce0['name']),_0x2be7d3=!0x0);}}else{if(_0x94f9('0x4f')==_0xccbb64[_0x94f9('0x72')]){if(!_0xccbb64[_0x94f9('0x65')]||!_0xccbb64[_0x94f9('0x65')][_0x94f9('0x31')])continue;const _0x37f05b=_0xccbb64[_0x94f9('0x65')][_0x94f9('0x11')];if(_0x37f05b&&Object[_0x94f9('0x21')](_0x37f05b)[_0x94f9('0x7e')])continue;const _0x27153b=_0xccbb64['attributes'][_0x94f9('0x31')];let _0x4b45ce=!0x0,_0x35d5d1=!0x0;for(const _0x17245c of _0x18f3ed)if(_0x17245c[_0x94f9('0x72')]&&_0x17245c[_0x94f9('0x72')][_0x94f9('0x7a')](_0x94f9('0x9c'))){if(!_0x17245c[_0x94f9('0x65')][_0x94f9('0x31')]){_0x35d5d1=!0x1;break;}if(_0x17245c['id']!=_0xccbb64['id']&&_0x17245c[_0x94f9('0x65')][_0x94f9('0x31')]==_0x27153b){_0x4b45ce=!0x1;break;}}_0x35d5d1&&_0x4b45ce&&(_0xccbb64[_0x94f9('0x10')](),_0x2be7d3=!0x0);}}for(const _0x26f5cb of _0x4c407f)_0x55f51e[_0x94f9('0x28')](_0x26f5cb);for(const _0x128fea of _0x274169)_0x55f51e[_0x94f9('0x66')](_0x128fea);return _0x2be7d3;}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x38')](_0x94f9('0x23'))[_0x94f9('0x5e')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x49e7b7,_0x1508c0)=>_0x57941a(_0x49e7b7),'converterPriority':_0x94f9('0x2')}),_0x3e29c9[_0x94f9('0x2a')][_0x94f9('0x38')](_0x94f9('0x36'))['markerToHighlight']({'model':_0x94f9('0x54'),'view':(_0x12310b,_0x1c3c3d)=>_0x1c3c3d['options'][_0x94f9('0x14')]?_0x57941a(_0x12310b,!0x1):null,'converterPriority':_0x94f9('0x2')});const _0x309e27=_0x3e29c9['editing']['view'];this[_0x94f9('0x4b')](_0x309e27[_0x94f9('0xf')],_0x94f9('0x32'),(_0x42be5b,_0x3139f1)=>{const _0x5cb082=[];for(const _0x326560 of _0x309e27['createRangeIn'](_0x3139f1[_0x94f9('0x63')])[_0x94f9('0x2f')]())_0x326560['is'](_0x94f9('0x2d'),_0x94f9('0x9f'))&&_0x5cb082[_0x94f9('0x6b')](_0x326560);_0x309e27['change'](_0x26cc1c=>{for(const _0x28ba99 of _0x5cb082)_0x26cc1c['move'](_0x26cc1c['createRangeIn'](_0x28ba99),_0x26cc1c[_0x94f9('0xe')](_0x28ba99)),_0x26cc1c[_0x94f9('0x28')](_0x28ba99);});});}}function ge(_0x2b2be5){if(_0x2b2be5[_0x94f9('0x4')])return!0x0;const _0x2a06db=_0x2b2be5['getChild'](0x0);return _0x2a06db['is'](_0x94f9('0x2d'),'paragraph')&&_0x2a06db[_0x94f9('0x4')];}function de(_0xf87ab,_0x23ca6f={},_0x5eba42){for(const {isAnchor:_0x3a7139,cellHeight:_0x420f40,cellWidth:_0x520e8a}of _0x5eba42['createTableWalker'](_0xf87ab,{'includeAllSlots':!0x0,..._0x23ca6f}))if(!_0x3a7139||0x1!=_0x420f40||0x1!=_0x520e8a)return!0x1;return!0x0;}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
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
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x576b=['TableColumnResizeEditing','accept','handleResizeTableWidthCommand','tableWidth','type','resizeTableWidth','afterInit','resizeTable','_descriptionFactory','getSelectedElement','get','formatGroupId','getColumnGroupElement','format','editor','subType','getSuggestionCallback','registerCustomCallback','Users','columnWidths','bind','discard','handleSuggestionDescription','TrackChangesEditing','document','getContainedElement','change','formatInline','formatBlock','*Format:*\x20resize\x20table','registerDescriptionCallback','has','_suggestionFactory','model','plugins','getAttribute','locale'];(function(_0x10809b,_0x576bc8){const _0xea5c04=function(_0x480a78){while(--_0x480a78){_0x10809b['push'](_0x10809b['shift']());}};_0xea5c04(++_0x576bc8);}(_0x576b,0xa9));const _0xea5c=function(_0x10809b,_0x576bc8){_0x10809b=_0x10809b-0x0;let _0xea5c04=_0x576b[_0x10809b];return _0xea5c04;};import{Plugin as _0xb6a08b}from'ckeditor5/src/core';import{getTranslation as _0x3fb746}from'../utils/common-translations';export default class It extends _0xb6a08b{[_0xea5c('0x16')](){if(!this['editor'][_0xea5c('0xd')][_0xea5c('0xa')](_0xea5c('0x10')))return;const _0x5979f3=this[_0xea5c('0x1e')][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x2'));_0x5979f3['enableCommand'](_0xea5c('0x15'),this['handleResizeTableWidthCommand'][_0xea5c('0x24')](this)),_0x5979f3[_0xea5c('0xb')][_0xea5c('0x21')](_0xea5c('0x7'),'resizeTable','accept',_0x5979f3[_0xea5c('0xb')][_0xea5c('0x20')](_0xea5c('0x7'),null,'discard')),_0x5979f3[_0xea5c('0xb')][_0xea5c('0x21')]('formatBlock',_0xea5c('0x17'),_0xea5c('0x0'),_0x5979f3['_suggestionFactory'][_0xea5c('0x20')](_0xea5c('0x7'),null,_0xea5c('0x11'))),_0x5979f3[_0xea5c('0x18')][_0xea5c('0x9')](this['handleSuggestionDescription']['bind'](this));}[_0xea5c('0x12')](_0x53b425,_0x11b1a5){const _0x7295d5=this['editor'][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x2')),_0x596f66=this[_0xea5c('0x1e')][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x10')),_0x2f2926=_0x11b1a5['table']||this[_0xea5c('0x1e')][_0xea5c('0xc')][_0xea5c('0x3')]['selection'][_0xea5c('0x19')]();this['editor']['model'][_0xea5c('0x5')](()=>{const _0x18b0a9=_0x596f66[_0xea5c('0x1c')](_0x2f2926);let _0x1c4d79=_0x18b0a9?_0x596f66['getTableColumnsWidths'](_0x18b0a9):null,_0x16080b=_0x2f2926[_0xea5c('0xe')](_0xea5c('0x13'))||null;const _0xe8f9a8=_0x11b1a5['tableWidth']||_0x16080b,_0xa8cd6b=_0x11b1a5[_0xea5c('0x23')]||_0x1c4d79,_0x2daf61=this[_0xea5c('0x1e')]['plugins'][_0xea5c('0x1a')](_0xea5c('0x22'))['me'];for(const _0x2d4b5b of _0x7295d5['getSuggestions']()){const _0x2abf9e=_0x2d4b5b[_0xea5c('0x4')]();if(_0xea5c('0x17')===_0x2d4b5b[_0xea5c('0x1f')]&&_0x2abf9e===_0x2f2926){_0x2d4b5b['author']!==_0x2daf61&&_0x2d4b5b['discard']();const _0xc1158a=_0x2d4b5b['data']['commandParams'];_0x16080b=_0xc1158a[0x0][_0xea5c('0x13')],_0x1c4d79=_0xc1158a[0x0][_0xea5c('0x23')];break;}}_0x53b425({'table':_0x2f2926,'tableWidth':_0xe8f9a8,'columnWidths':_0xa8cd6b}),_0x7295d5['markBlockFormat'](_0x2f2926,{'commandName':_0xea5c('0x15'),'commandParams':[{'tableWidth':_0x16080b,'columnWidths':_0x1c4d79}],'formatGroupId':_0xea5c('0x17')},[],_0xea5c('0x17'));});}[_0xea5c('0x1')](_0x57fee6){if('formatBlock'!=_0x57fee6[_0xea5c('0x14')]&&_0xea5c('0x6')!=_0x57fee6[_0xea5c('0x14')])return;const {data:_0x3e5cf1}=_0x57fee6;if(_0x3e5cf1&&_0xea5c('0x17')===_0x3e5cf1[_0xea5c('0x1b')]){const _0x4a19e8=_0xea5c('0x8');return{'type':_0xea5c('0x1d'),'content':_0x3fb746(this['editor'][_0xea5c('0xf')],_0x4a19e8)};}}}
23
+ const _0x1050=['selection','getSelectedElement','subType','resizeTable','getColumnGroupElement','getContainedElement','getTableColumnsWidths','editor','formatBlock','table','formatInline','getSuggestions','columnWidths','enableCommand','markBlockFormat','registerCustomCallback','bind','tableWidth','model','type','Users','get','document','handleResizeTableWidthCommand','registerDescriptionCallback','discard','_suggestionFactory','TrackChangesEditing','commandParams','TableColumnResizeEditing','afterInit','has','_descriptionFactory','resizeTableWidth','plugins','format','change','locale','handleSuggestionDescription','getAttribute'];(function(_0x5c7308,_0x105058){const _0x16836e=function(_0x1d6b24){while(--_0x1d6b24){_0x5c7308['push'](_0x5c7308['shift']());}};_0x16836e(++_0x105058);}(_0x1050,0x1e8));const _0x1683=function(_0x5c7308,_0x105058){_0x5c7308=_0x5c7308-0x0;let _0x16836e=_0x1050[_0x5c7308];return _0x16836e;};import{Plugin as _0x31fa2c}from'ckeditor5/src/core.js';import{getTranslation as _0x69713e}from'../utils/common-translations.js';export default class It extends _0x31fa2c{[_0x1683('0x16')](){if(!this['editor']['plugins'][_0x1683('0x17')](_0x1683('0x15')))return;const _0x355041=this[_0x1683('0x27')][_0x1683('0x1a')][_0x1683('0xd')]('TrackChangesEditing');_0x355041[_0x1683('0x5')]('resizeTableWidth',this[_0x1683('0xf')][_0x1683('0x8')](this)),_0x355041[_0x1683('0x12')][_0x1683('0x7')](_0x1683('0x0'),'resizeTable','accept',_0x355041[_0x1683('0x12')]['getSuggestionCallback'](_0x1683('0x0'),null,_0x1683('0x11'))),_0x355041[_0x1683('0x12')]['registerCustomCallback']('formatBlock',_0x1683('0x23'),_0x1683('0x11'),_0x355041[_0x1683('0x12')]['getSuggestionCallback'](_0x1683('0x0'),null,'accept')),_0x355041[_0x1683('0x18')][_0x1683('0x10')](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x3d51bc,_0x49371b){const _0x265974=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')](_0x1683('0x13')),_0x145038=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')]('TableColumnResizeEditing'),_0x86b25f=_0x49371b[_0x1683('0x1')]||this[_0x1683('0x27')][_0x1683('0xa')][_0x1683('0xe')][_0x1683('0x20')][_0x1683('0x21')]();this['editor']['model'][_0x1683('0x1c')](()=>{const _0x6b06dd=_0x145038[_0x1683('0x24')](_0x86b25f);let _0x833b89=_0x6b06dd?_0x145038[_0x1683('0x26')](_0x6b06dd):null,_0x2cbccc=_0x86b25f[_0x1683('0x1f')](_0x1683('0x9'))||null;const _0x2b7d47=_0x49371b[_0x1683('0x9')]||_0x2cbccc,_0x30e8a9=_0x49371b[_0x1683('0x4')]||_0x833b89,_0x28c366=this[_0x1683('0x27')]['plugins'][_0x1683('0xd')](_0x1683('0xc'))['me'];for(const _0x33177e of _0x265974[_0x1683('0x3')]()){const _0x363472=_0x33177e[_0x1683('0x25')]();if(_0x1683('0x23')===_0x33177e[_0x1683('0x22')]&&_0x363472===_0x86b25f){_0x33177e['author']!==_0x28c366&&_0x33177e[_0x1683('0x11')]();const _0x1a2a8e=_0x33177e['data'][_0x1683('0x14')];_0x2cbccc=_0x1a2a8e[0x0][_0x1683('0x9')],_0x833b89=_0x1a2a8e[0x0][_0x1683('0x4')];break;}}_0x3d51bc({'table':_0x86b25f,'tableWidth':_0x2b7d47,'columnWidths':_0x30e8a9}),_0x265974[_0x1683('0x6')](_0x86b25f,{'commandName':_0x1683('0x19'),'commandParams':[{'tableWidth':_0x2cbccc,'columnWidths':_0x833b89}],'formatGroupId':_0x1683('0x23')},[],_0x1683('0x23'));});}[_0x1683('0x1e')](_0x1ddb3a){if('formatBlock'!=_0x1ddb3a[_0x1683('0xb')]&&_0x1683('0x2')!=_0x1ddb3a['type'])return;const {data:_0x18d70d}=_0x1ddb3a;if(_0x18d70d&&_0x1683('0x23')===_0x18d70d['formatGroupId']){const _0xe8d530='*Format:*\x20resize\x20table';return{'type':_0x1683('0x1b'),'content':_0x69713e(this[_0x1683('0x27')][_0x1683('0x1d')],_0xe8d530)};}}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
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
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e7e=['data-suggestion','formatBlock','TableEditing','forceValue','registerCustomCallback','getSuggestion','_splitMarkerName','FORMAT_HEADER_ROW','addClass','downcastDispatcher','writer','setTableRowHeader','_suggestionFactory','afterInit','createTableWalker','markerRange','bindElementToMarker','cell','_registerLegacyDescription','FORMAT_HEADER_COLUMN','setAttribute','_descriptionFactory','editor','TrackChangesEditing','get','requires','FORMAT_REGULAR_ROW','highest','has','*Format:*\x20%0','registerAttributeLabel','end','item','headingColumns','format','ck-suggestion-marker--active','toViewElement','addMarker:suggestion','unbindElementFromMarkerName','mapper','locale','type','ck-suggestion-marker-','editing','markerNameToElements','removeAttribute','showSuggestionHighlights','_handleLegacySuggestions','getCellLocation','nodeAfter','setTableColumnHeader','markerName','accept','commandName','data','commandParams','headingRows','plugins','removeClass','start','_enableDefaultAttributesIntegration'];(function(_0x5797d3,_0x1e7e21){const _0x1014b2=function(_0x2500a2){while(--_0x2500a2){_0x5797d3['push'](_0x5797d3['shift']());}};_0x1014b2(++_0x1e7e21);}(_0x1e7e,0x1d4));const _0x1014=function(_0x5797d3,_0x1e7e21){_0x5797d3=_0x5797d3-0x0;let _0x1014b2=_0x1e7e[_0x5797d3];return _0x1014b2;};import{Plugin as _0x28d52f}from'ckeditor5/src/core';import _0x431aaa from'./table';import{getTranslation as _0x380f92}from'../utils/common-translations';export default class St extends _0x28d52f{static get[_0x1014('0x2d')](){return[_0x431aaa];}[_0x1014('0x21')](){const _0xb46fa8=this[_0x1014('0x2a')];if(!_0xb46fa8[_0x1014('0x10')][_0x1014('0x30')](_0x1014('0x16')))return;const _0x1f349a=_0xb46fa8[_0x1014('0x3c')],_0x5d5f1d=_0xb46fa8['plugins'][_0x1014('0x2c')](_0x1014('0x2b'));_0x5d5f1d[_0x1014('0x13')](_0x1014('0x1f'),[],['headingRows']),_0x5d5f1d[_0x1014('0x13')](_0x1014('0x9'),[],['headingColumns']),_0x5d5f1d[_0x1014('0x29')]['registerAttributeLabel'](_0x1014('0xf'),_0x380f92(_0x1f349a,'FORMAT_HEADER_ROW')),_0x5d5f1d[_0x1014('0x29')][_0x1014('0x32')](_0x1014('0x35'),_0x380f92(_0x1f349a,_0x1014('0x27'))),this['_handleLegacySuggestions']();}[_0x1014('0x6')](){const _0x4b4946=this[_0x1014('0x2a')][_0x1014('0x10')][_0x1014('0x2c')]('TrackChangesEditing'),_0x5d0193=this[_0x1014('0x2a')]['plugins'][_0x1014('0x2c')]('TableUtils'),_0x3770b6=this['editor'][_0x1014('0x10')][_0x1014('0x2c')](_0x431aaa)['_acceptFormatSuggestionCallbackFactory']();function _0x3af317({showActiveMarker:_0x4086ba=!0x0,setDataAttribute:_0x24ef0d=!0x0}={}){return(_0xa8c169,_0x56fa21,_0x218044)=>{const {type:_0x3921dd,id:_0x902b92}=_0x4b4946[_0x1014('0x1a')](_0x56fa21[_0x1014('0xa')]),_0x47b2dc=_0x4b4946[_0x1014('0x19')](_0x902b92),_0x21554e=_0x47b2dc['data'];if(_0x1014('0x15')!=_0x47b2dc[_0x1014('0x0')]||!_0x21554e||_0x1014('0x9')!=_0x21554e[_0x1014('0xc')])return;if(_0x56fa21[_0x1014('0x34')])return void _0xa8c169['stop']();if(!_0x218044['consumable']['consume'](_0x56fa21[_0x1014('0x23')],_0xa8c169['name']))return;const _0x41662b=_0x56fa21[_0x1014('0x23')][_0x1014('0x12')][_0x1014('0x8')],_0x524261=_0x56fa21[_0x1014('0x23')][_0x1014('0x33')]['nodeBefore'],_0x1741f1=_0x41662b['parent']['parent'],{column:_0x1f2793}=_0x5d0193[_0x1014('0x7')](_0x41662b),{column:_0x58ce86}=_0x5d0193[_0x1014('0x7')](_0x524261);for(let _0x513b76=_0x1f2793;_0x513b76<=_0x58ce86;_0x513b76++){const _0x89fe9b=_0x5d0193[_0x1014('0x22')](_0x1741f1,{'column':_0x513b76,'includeAllSlots':!0x1});for(const _0x276f73 of _0x89fe9b){const _0x39e800=_0x276f73[_0x1014('0x25')],_0x13efb4=_0x218044[_0x1014('0x3b')][_0x1014('0x38')](_0x39e800);_0x218044[_0x1014('0x1e')][_0x1014('0x1c')](_0x1014('0x1')+_0x3921dd,_0x13efb4),_0x24ef0d&&_0x218044[_0x1014('0x1e')][_0x1014('0x28')](_0x1014('0x14'),_0x902b92,_0x13efb4),_0x218044[_0x1014('0x3b')][_0x1014('0x24')](_0x13efb4,_0x56fa21[_0x1014('0xa')]),_0x4086ba&&(_0x4b4946['activeMarkers']['includes'](_0x56fa21[_0x1014('0xa')])?_0x218044[_0x1014('0x1e')][_0x1014('0x1c')](_0x1014('0x37'),_0x13efb4):_0x218044[_0x1014('0x1e')][_0x1014('0x11')](_0x1014('0x37'),_0x13efb4));}}};}_0x4b4946[_0x1014('0x20')][_0x1014('0x18')](_0x1014('0x15'),_0x1014('0x1f'),_0x1014('0xb'),_0x3770b6),_0x4b4946[_0x1014('0x20')][_0x1014('0x18')]('formatBlock',_0x1014('0x9'),'accept',_0x3770b6),this[_0x1014('0x2a')]['editing']['downcastDispatcher']['on'](_0x1014('0x39'),_0x3af317(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on'](_0x1014('0x39'),(_0x58f32f,_0x2278e3,_0x2c5c32)=>{_0x2c5c32['options'][_0x1014('0x5')]&&_0x3af317({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x58f32f,_0x2278e3,_0x2c5c32);},{'priority':'highest'}),this[_0x1014('0x2a')][_0x1014('0x2')][_0x1014('0x1d')]['on']('removeMarker:suggestion',(_0x56238f,_0x11d8ca,_0x4d7a89)=>{const {type:_0x2b62fe,id:_0x239684}=_0x4b4946[_0x1014('0x1a')](_0x11d8ca[_0x1014('0xa')]),_0x2b49f6=_0x4b4946[_0x1014('0x19')](_0x239684),_0x3b1a73=_0x2b49f6[_0x1014('0xd')];if(_0x1014('0x15')!=_0x2b49f6[_0x1014('0x0')]||!_0x3b1a73||_0x1014('0x9')!=_0x3b1a73[_0x1014('0xc')])return;const _0xe87fe7=_0x4d7a89[_0x1014('0x3b')][_0x1014('0x3')](_0x11d8ca[_0x1014('0xa')]);if(_0xe87fe7)for(const _0x59b48c of _0xe87fe7)_0x4d7a89[_0x1014('0x1e')][_0x1014('0x11')](_0x1014('0x1')+_0x2b62fe,_0x59b48c),_0x4d7a89[_0x1014('0x1e')]['removeClass'](_0x1014('0x37'),_0x59b48c),_0x4d7a89[_0x1014('0x1e')][_0x1014('0x4')](_0x1014('0x14'),_0x59b48c),_0x4d7a89[_0x1014('0x3b')][_0x1014('0x3a')](_0x59b48c,_0x11d8ca[_0x1014('0xa')]);},{'priority':_0x1014('0x2f')}),this[_0x1014('0x26')]();}[_0x1014('0x26')](){const _0x22cdd6=this[_0x1014('0x2a')],_0x1c3586=_0x22cdd6[_0x1014('0x3c')];function _0x30fbca(_0x184720){return{'type':_0x1014('0x36'),'content':_0x380f92(_0x1c3586,_0x1014('0x31'),_0x184720)};}_0x22cdd6[_0x1014('0x10')][_0x1014('0x2c')](_0x1014('0x2b'))['_descriptionFactory']['registerDescriptionCallback'](_0x1e6cec=>{if(_0x1014('0x15')!=_0x1e6cec[_0x1014('0x0')])return;const {data:_0x5387bd}=_0x1e6cec;if(_0x5387bd){if(_0x1014('0x1f')==_0x5387bd[_0x1014('0xc')]){const _0x73e2e6=_0x5387bd[_0x1014('0xe')][0x0]['forceValue'];return _0x30fbca(_0x380f92(_0x1c3586,_0x73e2e6?_0x1014('0x1b'):_0x1014('0x2e')));}if(_0x1014('0x9')==_0x5387bd[_0x1014('0xc')]){const _0x985bc3=_0x5387bd[_0x1014('0xe')][0x0][_0x1014('0x17')];return _0x30fbca(_0x380f92(_0x1c3586,_0x985bc3?_0x1014('0x27'):'FORMAT_REGULAR_COLUMN'));}}});}}
23
+ const _0x10ce=['stop','TableUtils','mapper','setTableRowHeader','editing','_acceptFormatSuggestionCallbackFactory','removeClass','requires','nodeAfter','bindElementToMarker','showSuggestionHighlights','getCellLocation','highest','removeAttribute','registerAttributeLabel','item','markerRange','_descriptionFactory','forceValue','writer','formatBlock','editor','consumable','includes','FORMAT_HEADER_ROW','has','name','*Format:*\x20%0','format','TableEditing','type','TrackChangesEditing','data','parent','plugins','registerCustomCallback','locale','_registerLegacyDescription','_suggestionFactory','ck-suggestion-marker-','addMarker:suggestion','activeMarkers','commandParams','registerDescriptionCallback','afterInit','setAttribute','commandName','ck-suggestion-marker--active','data-suggestion','get','FORMAT_HEADER_COLUMN','setTableColumnHeader','downcastDispatcher','markerName','start','headingRows','removeMarker:suggestion','_splitMarkerName','unbindElementFromMarkerName','end','cell','nodeBefore','_enableDefaultAttributesIntegration','accept','consume','markerNameToElements'];(function(_0x54cf8c,_0x10ce8){const _0x569260=function(_0x426457){while(--_0x426457){_0x54cf8c['push'](_0x54cf8c['shift']());}};_0x569260(++_0x10ce8);}(_0x10ce,0x1c8));const _0x5692=function(_0x54cf8c,_0x10ce8){_0x54cf8c=_0x54cf8c-0x0;let _0x569260=_0x10ce[_0x54cf8c];return _0x569260;};import{Plugin as _0x52b7c7}from'ckeditor5/src/core.js';import _0x510a31 from'./table.js';import{getTranslation as _0x27d7b5}from'../utils/common-translations.js';export default class St extends _0x52b7c7{static get[_0x5692('0xd')](){return[_0x510a31];}[_0x5692('0x32')](){const _0x17d693=this[_0x5692('0x1b')];if(!_0x17d693[_0x5692('0x28')][_0x5692('0x1f')](_0x5692('0x23')))return;const _0x106614=_0x17d693[_0x5692('0x2a')],_0x5cc5c0=_0x17d693[_0x5692('0x28')][_0x5692('0x37')]('TrackChangesEditing');_0x5cc5c0[_0x5692('0x2')](_0x5692('0x9'),[],[_0x5692('0x3d')]),_0x5cc5c0[_0x5692('0x2')]('setTableColumnHeader',[],['headingColumns']),_0x5cc5c0['_descriptionFactory'][_0x5692('0x14')](_0x5692('0x3d'),_0x27d7b5(_0x106614,_0x5692('0x1e'))),_0x5cc5c0[_0x5692('0x17')][_0x5692('0x14')]('headingColumns',_0x27d7b5(_0x106614,_0x5692('0x38'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x5cea80=this['editor'][_0x5692('0x28')][_0x5692('0x37')](_0x5692('0x25')),_0x1a5061=this[_0x5692('0x1b')][_0x5692('0x28')]['get'](_0x5692('0x7')),_0x589d1d=this['editor'][_0x5692('0x28')][_0x5692('0x37')](_0x510a31)[_0x5692('0xb')]();function _0x1bd2ea({showActiveMarker:_0xac2e17=!0x0,setDataAttribute:_0x5b4dc0=!0x0}={}){return(_0x3ce766,_0x58c819,_0x106e4f)=>{const {type:_0x7b2a17,id:_0xf45da4}=_0x5cea80[_0x5692('0x3f')](_0x58c819[_0x5692('0x3b')]),_0x29b5fe=_0x5cea80['getSuggestion'](_0xf45da4),_0x4c2e57=_0x29b5fe[_0x5692('0x26')];if(_0x5692('0x1a')!=_0x29b5fe['type']||!_0x4c2e57||'setTableColumnHeader'!=_0x4c2e57['commandName'])return;if(_0x58c819[_0x5692('0x15')])return void _0x3ce766[_0x5692('0x6')]();if(!_0x106e4f[_0x5692('0x1c')][_0x5692('0x4')](_0x58c819[_0x5692('0x16')],_0x3ce766[_0x5692('0x20')]))return;const _0x112702=_0x58c819[_0x5692('0x16')][_0x5692('0x3c')][_0x5692('0xe')],_0x22c622=_0x58c819[_0x5692('0x16')][_0x5692('0x41')][_0x5692('0x1')],_0x4b8d2e=_0x112702[_0x5692('0x27')][_0x5692('0x27')],{column:_0xf24338}=_0x1a5061[_0x5692('0x11')](_0x112702),{column:_0x333847}=_0x1a5061[_0x5692('0x11')](_0x22c622);for(let _0x40ce5c=_0xf24338;_0x40ce5c<=_0x333847;_0x40ce5c++){const _0x50fd2f=_0x1a5061['createTableWalker'](_0x4b8d2e,{'column':_0x40ce5c,'includeAllSlots':!0x1});for(const _0x56f9b5 of _0x50fd2f){const _0x4e535f=_0x56f9b5[_0x5692('0x0')],_0x3ac495=_0x106e4f[_0x5692('0x8')]['toViewElement'](_0x4e535f);_0x106e4f[_0x5692('0x19')]['addClass'](_0x5692('0x2d')+_0x7b2a17,_0x3ac495),_0x5b4dc0&&_0x106e4f[_0x5692('0x19')][_0x5692('0x33')](_0x5692('0x36'),_0xf45da4,_0x3ac495),_0x106e4f[_0x5692('0x8')][_0x5692('0xf')](_0x3ac495,_0x58c819[_0x5692('0x3b')]),_0xac2e17&&(_0x5cea80[_0x5692('0x2f')][_0x5692('0x1d')](_0x58c819[_0x5692('0x3b')])?_0x106e4f[_0x5692('0x19')]['addClass'](_0x5692('0x35'),_0x3ac495):_0x106e4f['writer'][_0x5692('0xc')](_0x5692('0x35'),_0x3ac495));}}};}_0x5cea80[_0x5692('0x2c')][_0x5692('0x29')](_0x5692('0x1a'),'setTableRowHeader','accept',_0x589d1d),_0x5cea80[_0x5692('0x2c')][_0x5692('0x29')](_0x5692('0x1a'),_0x5692('0x39'),_0x5692('0x3'),_0x589d1d),this[_0x5692('0x1b')]['editing'][_0x5692('0x3a')]['on']('addMarker:suggestion',_0x1bd2ea(),{'priority':'highest'}),this[_0x5692('0x1b')][_0x5692('0x26')][_0x5692('0x3a')]['on'](_0x5692('0x2e'),(_0x11e3b6,_0x3d824d,_0x262031)=>{_0x262031['options'][_0x5692('0x10')]&&_0x1bd2ea({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x11e3b6,_0x3d824d,_0x262031);},{'priority':_0x5692('0x12')}),this[_0x5692('0x1b')][_0x5692('0xa')]['downcastDispatcher']['on'](_0x5692('0x3e'),(_0x20b9a4,_0x51bf1f,_0x2d6106)=>{const {type:_0x1cbba8,id:_0x453953}=_0x5cea80[_0x5692('0x3f')](_0x51bf1f[_0x5692('0x3b')]),_0x1b03a5=_0x5cea80['getSuggestion'](_0x453953),_0x26fc91=_0x1b03a5[_0x5692('0x26')];if('formatBlock'!=_0x1b03a5[_0x5692('0x24')]||!_0x26fc91||_0x5692('0x39')!=_0x26fc91[_0x5692('0x34')])return;const _0x37525e=_0x2d6106['mapper'][_0x5692('0x5')](_0x51bf1f['markerName']);if(_0x37525e)for(const _0x3ab0f5 of _0x37525e)_0x2d6106[_0x5692('0x19')]['removeClass'](_0x5692('0x2d')+_0x1cbba8,_0x3ab0f5),_0x2d6106['writer'][_0x5692('0xc')](_0x5692('0x35'),_0x3ab0f5),_0x2d6106[_0x5692('0x19')][_0x5692('0x13')]('data-suggestion',_0x3ab0f5),_0x2d6106[_0x5692('0x8')][_0x5692('0x40')](_0x3ab0f5,_0x51bf1f[_0x5692('0x3b')]);},{'priority':_0x5692('0x12')}),this[_0x5692('0x2b')]();}[_0x5692('0x2b')](){const _0x4459a5=this['editor'],_0x558586=_0x4459a5[_0x5692('0x2a')];function _0x166a17(_0x4b2c7a){return{'type':_0x5692('0x22'),'content':_0x27d7b5(_0x558586,_0x5692('0x21'),_0x4b2c7a)};}_0x4459a5[_0x5692('0x28')][_0x5692('0x37')]('TrackChangesEditing')[_0x5692('0x17')][_0x5692('0x31')](_0x57a308=>{if('formatBlock'!=_0x57a308[_0x5692('0x24')])return;const {data:_0x345f24}=_0x57a308;if(_0x345f24){if(_0x5692('0x9')==_0x345f24[_0x5692('0x34')]){const _0x441e66=_0x345f24[_0x5692('0x30')][0x0][_0x5692('0x18')];return _0x166a17(_0x27d7b5(_0x558586,_0x441e66?_0x5692('0x1e'):'FORMAT_REGULAR_ROW'));}if(_0x5692('0x39')==_0x345f24[_0x5692('0x34')]){const _0x460ff4=_0x345f24['commandParams'][0x0][_0x5692('0x18')];return _0x166a17(_0x27d7b5(_0x558586,_0x460ff4?_0x5692('0x38'):'FORMAT_REGULAR_COLUMN'));}}});}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
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
  */