@ckeditor/ckeditor5-track-changes 40.1.0 → 40.2.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 (163) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sq.js +1 -1
  39. package/build/translations/sr-latn.js +1 -1
  40. package/build/translations/sr.js +1 -1
  41. package/build/translations/sv.js +1 -1
  42. package/build/translations/th.js +1 -1
  43. package/build/translations/tk.js +1 -1
  44. package/build/translations/tr.js +1 -1
  45. package/build/translations/tt.js +1 -1
  46. package/build/translations/uk.js +1 -1
  47. package/build/translations/ur.js +1 -1
  48. package/build/translations/vi.js +1 -1
  49. package/build/translations/zh-cn.js +1 -1
  50. package/build/translations/zh.js +1 -1
  51. package/lang/translations/ar.po +5 -5
  52. package/lang/translations/az.po +4 -4
  53. package/lang/translations/bg.po +5 -5
  54. package/lang/translations/bn.po +5 -5
  55. package/lang/translations/ca.po +5 -5
  56. package/lang/translations/cs.po +5 -5
  57. package/lang/translations/da.po +5 -5
  58. package/lang/translations/de.po +5 -5
  59. package/lang/translations/el.po +5 -5
  60. package/lang/translations/en-au.po +5 -5
  61. package/lang/translations/en.po +5 -5
  62. package/lang/translations/es.po +5 -5
  63. package/lang/translations/et.po +5 -5
  64. package/lang/translations/fi.po +5 -5
  65. package/lang/translations/fr.po +5 -5
  66. package/lang/translations/gl.po +36 -36
  67. package/lang/translations/he.po +5 -5
  68. package/lang/translations/hi.po +5 -5
  69. package/lang/translations/hr.po +5 -5
  70. package/lang/translations/hu.po +5 -5
  71. package/lang/translations/id.po +5 -5
  72. package/lang/translations/it.po +5 -5
  73. package/lang/translations/ja.po +5 -5
  74. package/lang/translations/ko.po +5 -5
  75. package/lang/translations/lt.po +5 -5
  76. package/lang/translations/lv.po +5 -5
  77. package/lang/translations/ms.po +5 -5
  78. package/lang/translations/nl.po +5 -5
  79. package/lang/translations/no.po +5 -5
  80. package/lang/translations/pl.po +5 -5
  81. package/lang/translations/pt-br.po +5 -5
  82. package/lang/translations/pt.po +5 -5
  83. package/lang/translations/ro.po +5 -5
  84. package/lang/translations/ru.po +5 -5
  85. package/lang/translations/sk.po +5 -5
  86. package/lang/translations/sq.po +4 -4
  87. package/lang/translations/sr-latn.po +24 -24
  88. package/lang/translations/sr.po +5 -5
  89. package/lang/translations/sv.po +5 -5
  90. package/lang/translations/th.po +5 -5
  91. package/lang/translations/tk.po +4 -4
  92. package/lang/translations/tr.po +5 -5
  93. package/lang/translations/tt.po +4 -4
  94. package/lang/translations/uk.po +5 -5
  95. package/lang/translations/ur.po +4 -4
  96. package/lang/translations/vi.po +5 -5
  97. package/lang/translations/zh-cn.po +5 -5
  98. package/lang/translations/zh.po +5 -5
  99. package/package.json +3 -3
  100. package/src/commands/acceptsuggestioncommand.js +1 -1
  101. package/src/commands/discardsuggestioncommand.js +1 -1
  102. package/src/commands/executeonallsuggestionscommand.js +1 -1
  103. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  104. package/src/commands/trackchangescommand.js +1 -1
  105. package/src/integrations/aiassistant.js +1 -1
  106. package/src/integrations/alignment.js +1 -1
  107. package/src/integrations/basicstyles.js +1 -1
  108. package/src/integrations/blockquote.js +1 -1
  109. package/src/integrations/ckbox.js +1 -1
  110. package/src/integrations/codeblock.js +1 -1
  111. package/src/integrations/comments.js +1 -1
  112. package/src/integrations/deletecommand.js +1 -1
  113. package/src/integrations/documentlist.js +1 -1
  114. package/src/integrations/documentlistproperties.js +1 -1
  115. package/src/integrations/entercommand.js +1 -1
  116. package/src/integrations/findandreplace.js +1 -1
  117. package/src/integrations/font.js +1 -1
  118. package/src/integrations/formatpainter.js +1 -1
  119. package/src/integrations/heading.js +1 -1
  120. package/src/integrations/highlight.js +1 -1
  121. package/src/integrations/horizontalline.js +1 -1
  122. package/src/integrations/htmlembed.js +1 -1
  123. package/src/integrations/image.js +1 -1
  124. package/src/integrations/imagereplace.js +1 -1
  125. package/src/integrations/imagestyle.js +1 -1
  126. package/src/integrations/importword.js +1 -1
  127. package/src/integrations/indent.js +1 -1
  128. package/src/integrations/inputcommand.js +1 -1
  129. package/src/integrations/link.js +1 -1
  130. package/src/integrations/list.js +1 -1
  131. package/src/integrations/listproperties.js +1 -1
  132. package/src/integrations/mediaembed.js +1 -1
  133. package/src/integrations/mention.js +1 -1
  134. package/src/integrations/pagebreak.js +1 -1
  135. package/src/integrations/paragraph.js +1 -1
  136. package/src/integrations/removeformat.js +1 -1
  137. package/src/integrations/restrictededitingmode.js +1 -1
  138. package/src/integrations/shiftentercommand.js +1 -1
  139. package/src/integrations/standardeditingmode.js +1 -1
  140. package/src/integrations/style.js +1 -1
  141. package/src/integrations/table.js +1 -1
  142. package/src/integrations/tablecaption.js +1 -1
  143. package/src/integrations/tableclipboard.js +1 -1
  144. package/src/integrations/tablecolumnresize.js +1 -1
  145. package/src/integrations/tableheadings.js +1 -1
  146. package/src/integrations/tablemergesplit.js +1 -1
  147. package/src/integrations/tableofcontents.js +1 -1
  148. package/src/integrations/tableproperties.js +1 -1
  149. package/src/integrations/template.js +1 -1
  150. package/src/integrations/title.js +1 -1
  151. package/src/integrations/undo.js +1 -1
  152. package/src/integrations/utils.js +1 -1
  153. package/src/suggestion.js +1 -1
  154. package/src/suggestiondescriptionfactory.js +1 -1
  155. package/src/trackchanges.js +1 -1
  156. package/src/trackchangesdata.js +1 -1
  157. package/src/trackchangesediting.js +1 -1
  158. package/src/trackchangesui.js +1 -1
  159. package/src/ui/suggestioncontroller.js +1 -1
  160. package/src/ui/view/basesuggestionthreadview.js +1 -1
  161. package/src/ui/view/suggestionthreadview.js +1 -1
  162. package/src/utils/common-translations.js +1 -1
  163. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3101=['registerDescriptionCallback','style','StyleUtils','_registerInlineAttribute','formatInline','*Set\x20format:*\x20%0','inline','definitions','commandName','TrackChangesEditing','config','add','plugins','getGhsAttributeNameForElement','editor','ghsAttributes','FORMAT_STYLE','normalizeConfig','styleName','format','toLowerCase','commandParams','registerAttributeLabel','element','block','_enableDefaultAttributesIntegration','_registerBlockAttribute','locale','type','_descriptionFactory','get','*Remove\x20format:*\x20%0','DataSchema','_registerLegacyDescription'];(function(_0x1e3a1d,_0x3101bb){const _0x2805ef=function(_0x1acbd4){while(--_0x1acbd4){_0x1e3a1d['push'](_0x1e3a1d['shift']());}};_0x2805ef(++_0x3101bb);}(_0x3101,0xe3));const _0x2805=function(_0x1e3a1d,_0x3101bb){_0x1e3a1d=_0x1e3a1d-0x0;let _0x2805ef=_0x3101[_0x1e3a1d];return _0x2805ef;};import{Plugin as _0x3bf34b}from'ckeditor5/src/core';import{getTranslation as _0x448673}from'../utils/common-translations';export default class bt extends _0x3bf34b{['afterInit'](){const _0x4c861c=this[_0x2805('0x19')];if(!_0x4c861c[_0x2805('0x17')]['has']('Style')||!_0x4c861c[_0x2805('0x17')]['has'](_0x2805('0x9')))return;const _0x129c74=_0x4c861c[_0x2805('0x17')][_0x2805('0x7')](_0x2805('0x14')),_0x1c6fea=_0x4c861c['locale'],_0x3a8ea9=_0x4c861c[_0x2805('0x15')][_0x2805('0x7')](_0x2805('0xc')),_0x2d9fbb=_0x4c861c[_0x2805('0x17')][_0x2805('0x7')]('GeneralHtmlSupport'),_0x7af576=_0x4c861c['plugins'][_0x2805('0x7')](_0x2805('0xd'))[_0x2805('0x1c')](_0x4c861c[_0x2805('0x17')][_0x2805('0x7')](_0x2805('0x9')),_0x3a8ea9[_0x2805('0x12')]);_0x129c74[_0x2805('0x2')](_0x2805('0xc'));const _0x510bad=new Set();for(const _0x47b5a4 of _0x7af576[_0x2805('0x1')]){const _0x3f37e3=_0x2d9fbb['getGhsAttributeNameForElement'](_0x47b5a4[_0x2805('0x0')]);_0x510bad[_0x2805('0x16')](_0x3f37e3);}const _0x16332f=new Set();for(const _0x2b9071 of _0x7af576[_0x2805('0x11')]){const _0x31681d=_0x2d9fbb[_0x2805('0x18')](_0x2b9071['element']);_0x16332f[_0x2805('0x16')](_0x31681d);for(const _0xf2e740 of _0x2b9071[_0x2805('0x1a')])_0x16332f[_0x2805('0x16')](_0xf2e740);}for(const _0x27f6e4 of _0x510bad)_0x129c74[_0x2805('0x3')](_0x27f6e4),_0x129c74['_descriptionFactory']['registerAttributeLabel'](_0x27f6e4,_0x448673(_0x1c6fea,_0x2805('0x1b')));for(const _0x208372 of _0x16332f)_0x129c74[_0x2805('0xe')](_0x208372),_0x129c74[_0x2805('0x6')][_0x2805('0x21')](_0x208372,_0x448673(_0x1c6fea,_0x2805('0x1b')));this[_0x2805('0xa')]();}[_0x2805('0xa')](){const _0x23b12e=this[_0x2805('0x19')],_0x28dab3=_0x23b12e[_0x2805('0x4')];_0x23b12e['plugins']['get'](_0x2805('0x14'))[_0x2805('0x6')][_0x2805('0xb')](_0x116c0a=>{if('formatBlock'!=_0x116c0a[_0x2805('0x5')]&&_0x2805('0xf')!=_0x116c0a['type'])return;const {data:_0x489027}=_0x116c0a;return _0x489027&&_0x2805('0xc')===_0x489027[_0x2805('0x13')]?_0x489027['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x448673(_0x28dab3,_0x2805('0x10'),_0x489027['commandParams'][0x0]['styleName'][_0x2805('0x1f')]())}:{'type':_0x2805('0x1e'),'content':_0x448673(_0x28dab3,_0x2805('0x8'),_0x489027[_0x2805('0x20')][0x0][_0x2805('0x1d')][_0x2805('0x1f')]())}:void 0x0;});}}
23
+ const _0x4e19=['commandName','element','GeneralHtmlSupport','has','block','_descriptionFactory','locale','inline','plugins','FORMAT_STYLE','normalizeConfig','toLowerCase','getGhsAttributeNameForElement','forceValue','TrackChangesEditing','formatInline','registerAttributeLabel','styleName','StyleUtils','_registerInlineAttribute','formatBlock','registerDescriptionCallback','*Remove\x20format:*\x20%0','add','*Set\x20format:*\x20%0','config','format','_registerLegacyDescription','DataSchema','editor','style','get','commandParams','type'];(function(_0x1b813a,_0x4e190f){const _0x190d8f=function(_0x139872){while(--_0x139872){_0x1b813a['push'](_0x1b813a['shift']());}};_0x190d8f(++_0x4e190f);}(_0x4e19,0xd7));const _0x190d=function(_0x1b813a,_0x4e190f){_0x1b813a=_0x1b813a-0x0;let _0x190d8f=_0x4e19[_0x1b813a];return _0x190d8f;};import{Plugin as _0x3a9697}from'ckeditor5/src/core';import{getTranslation as _0x1c1800}from'../utils/common-translations';export default class bt extends _0x3a9697{['afterInit'](){const _0x6f18cf=this[_0x190d('0x12')];if(!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')]('Style')||!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')](_0x190d('0x11')))return;const _0x42775c=_0x6f18cf['plugins'][_0x190d('0x14')](_0x190d('0x3')),_0xd62422=_0x6f18cf[_0x190d('0x1d')],_0x3f9f05=_0x6f18cf[_0x190d('0xe')][_0x190d('0x14')](_0x190d('0x13')),_0x16c6a7=_0x6f18cf[_0x190d('0x1f')]['get'](_0x190d('0x19')),_0x266560=_0x6f18cf[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x7'))[_0x190d('0x21')](_0x6f18cf[_0x190d('0x1f')]['get']('DataSchema'),_0x3f9f05['definitions']);_0x42775c['_enableDefaultAttributesIntegration'](_0x190d('0x13'));const _0x483895=new Set();for(const _0x200068 of _0x266560[_0x190d('0x1b')]){const _0x5a1d60=_0x16c6a7['getGhsAttributeNameForElement'](_0x200068[_0x190d('0x18')]);_0x483895[_0x190d('0xc')](_0x5a1d60);}const _0x1d3c19=new Set();for(const _0x1d11ab of _0x266560[_0x190d('0x1e')]){const _0x175f75=_0x16c6a7[_0x190d('0x1')](_0x1d11ab[_0x190d('0x18')]);_0x1d3c19['add'](_0x175f75);for(const _0x4d35c9 of _0x1d11ab['ghsAttributes'])_0x1d3c19[_0x190d('0xc')](_0x4d35c9);}for(const _0x5173a6 of _0x483895)_0x42775c['_registerBlockAttribute'](_0x5173a6),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x5173a6,_0x1c1800(_0xd62422,'FORMAT_STYLE'));for(const _0x4f929b of _0x1d3c19)_0x42775c[_0x190d('0x8')](_0x4f929b),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x4f929b,_0x1c1800(_0xd62422,_0x190d('0x20')));this[_0x190d('0x10')]();}[_0x190d('0x10')](){const _0x525a53=this[_0x190d('0x12')],_0x2fd8b0=_0x525a53['locale'];_0x525a53[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x3'))[_0x190d('0x1c')][_0x190d('0xa')](_0x520590=>{if(_0x190d('0x9')!=_0x520590[_0x190d('0x16')]&&_0x190d('0x4')!=_0x520590[_0x190d('0x16')])return;const {data:_0x2e28eb}=_0x520590;return _0x2e28eb&&_0x190d('0x13')===_0x2e28eb[_0x190d('0x17')]?_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x2')]?{'type':'format','content':_0x1c1800(_0x2fd8b0,_0x190d('0xd'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:{'type':_0x190d('0xf'),'content':_0x1c1800(_0x2fd8b0,_0x190d('0xb'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1546=['registerElementLabel','_acceptFormatSuggestionCallbackFactory','item','getFirstRange','createPositionAt','findAncestor','registerDescriptionCallback','cell','$graveyard','isTouching','nodeBefore','_getCoordsForCells','getCellLocation','markMultiRangeInsertion','tableCell','getRowIndexes','removeTableRow','showSuggestionHighlights','_getSuggestionCoords','removeTableColumn','_suggestionFactory','data','every','enableCommand','detach','options','last','tableRow','getSuggestion','batch','createTableWalker','getChanges','model','length','includes','toLowerCase','subType','document','mapper','name','startsWith','change','getAttribute','isInContent','map','locale','refresh','selection','start','createRangeIn','table','ELEMENT_TABLE_WITH_TEXT','addClass','insertion','MAX_SAFE_INTEGER','forceValue','insertTableRowBelow','plugins','span','_tableSuggestions','createRangeOn','min','highest','getChildren','execute','setSelection','classes','colspan','isEqual','getChangedMarkers','ELEMENT_TABLE','filter','rowspan','addMarker:suggestion','$textProxy','TrackChangesEditing','toViewElement','first','getContainedElement','discard','ELEMENT_TABLE_ROW_WITH_TEXT','join','insertTableRowAbove','deletion','nodeAfter','addRange','getRanges','commands','accept','ELEMENT_TABLE_COLUMN_WITH_TEXT','suggestion','hasAttribute','*Insert:*\x20%0','position','editor','markMultiRangeDeletion','getSelectionAffectedTableCells','from','root','enqueueChange','insertTableColumnRight','ELEMENT_TABLE_COLUMN','selectTableColumn','substr','registerCustomCallback','_setupColumnsRowsFixing','get','*Remove:*\x20%0','order','max','_descriptionFactory','some','TableUtils','MIN_SAFE_INTEGER','isIntersectingWithRange','push','tablePaste','writer','insert','has','oldRange','tableColumn','rootName','minColumn','fromRange','ELEMENT_TABLE_ROW','end','getColumnIndexes','element','getItems','type'];(function(_0x395c15,_0x1546f3){const _0x5a6e5e=function(_0x250c88){while(--_0x250c88){_0x395c15['push'](_0x395c15['shift']());}};_0x5a6e5e(++_0x1546f3);}(_0x1546,0x73));const _0x5a6e=function(_0x395c15,_0x1546f3){_0x395c15=_0x395c15-0x0;let _0x5a6e5e=_0x1546[_0x395c15];return _0x5a6e5e;};import{Plugin as _0x5ef1b5}from'ckeditor5/src/core';import{LiveRange as _0x5799ae}from'ckeditor5/src/engine';import{setHighlightHandling as _0x147f43}from'ckeditor5/src/widget';import{getTranslation as _0x32edce}from'../utils/common-translations';export default class wt extends _0x5ef1b5{constructor(_0x3bbaaa){super(_0x3bbaaa),this['_tablePostFixingSubtypes']=[_0x5a6e('0x2b'),_0x5a6e('0x6')],this[_0x5a6e('0x4b')]=new Set();}['afterInit'](){const _0x7616af=this[_0x5a6e('0x6e')],_0x3d53de=_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x35')][_0x5a6e('0x3f')];if(!_0x7616af[_0x5a6e('0x49')][_0x5a6e('0x4')]('TableEditing'))return;const _0x2cd26c=_0x7616af[_0x5a6e('0x3d')],_0x16fa90=_0x7616af['plugins'][_0x5a6e('0x7a')](_0x5a6e('0x5b')),_0x58916b=_0x7616af[_0x5a6e('0x49')][_0x5a6e('0x7a')]('TableUtils');_0x16fa90[_0x5a6e('0x7e')][_0x5a6e('0x10')]('table',_0xfa81a9=>_0x32edce(_0x2cd26c,_0x5a6e('0x56'),_0xfa81a9)),this['_setupColumnsRowsFixing'](),_0x16fa90[_0x5a6e('0x27')]('insertTable'),_0x16fa90[_0x5a6e('0x27')]('selectTableRow'),_0x16fa90[_0x5a6e('0x27')](_0x5a6e('0x76'));for(const _0x1b9a5d of[_0x5a6e('0x62'),_0x5a6e('0x48')]){const _0x18e0d0=_0x7616af[_0x5a6e('0x67')][_0x5a6e('0x7a')](_0x1b9a5d);_0x16fa90['enableCommand'](_0x1b9a5d,_0x5819fb=>{_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x39')](_0x571b56=>{_0x5819fb();const _0xf45e6c='above'===_0x18e0d0[_0x5a6e('0x7c')],_0x15e034=_0x58916b[_0x5a6e('0x70')](_0x3d53de),_0x196bd4=_0x58916b[_0x5a6e('0x1f')](_0x15e034),_0x18f6f8=_0xf45e6c?_0x196bd4['first']-0x1:_0x196bd4[_0x5a6e('0x2a')]+0x1,_0x5bb4f1=_0x15e034[0x0][_0x5a6e('0x15')]('table'),_0x2f1e90=_0x58916b['createTableWalker'](_0x5bb4f1,{'startRow':_0x18f6f8,'endRow':_0x18f6f8}),_0xe4f004=Array[_0x5a6e('0x71')](_0x2f1e90)[_0x5a6e('0x3c')](_0x339a87=>_0x571b56[_0x5a6e('0x4c')](_0x339a87[_0x5a6e('0x17')]));_0x16fa90[_0x5a6e('0x1d')](_0xe4f004,_0x5a6e('0x2b'));});});}for(const _0x4f336c of['insertTableColumnLeft',_0x5a6e('0x74')]){const _0x800a7c=_0x7616af['commands'][_0x5a6e('0x7a')](_0x4f336c);_0x16fa90[_0x5a6e('0x27')](_0x4f336c,_0x225d3d=>{_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x39')](_0xcbdde3=>{_0x225d3d();const _0xadb72b='left'===_0x800a7c[_0x5a6e('0x7c')],_0x3e8d94=_0x58916b[_0x5a6e('0x70')](_0x3d53de),_0x9d885c=_0x58916b[_0x5a6e('0xc')](_0x3e8d94),_0xa570ac=_0xadb72b?_0x9d885c[_0x5a6e('0x5d')]-0x1:_0x9d885c[_0x5a6e('0x2a')]+0x1,_0x3eee96=_0x3e8d94[0x0]['findAncestor'](_0x5a6e('0x42')),_0x23f1b4=_0x58916b[_0x5a6e('0x2e')](_0x3eee96,{'startRow':0x0,'column':_0xa570ac,'includeAllSlots':!0x1}),_0x4197c6=Array[_0x5a6e('0x71')](_0x23f1b4)['map'](_0x46c077=>_0xcbdde3[_0x5a6e('0x4c')](_0x46c077[_0x5a6e('0x17')]));_0x16fa90['markMultiRangeInsertion'](_0x4197c6,_0x5a6e('0x6'));});});}for(const _0x1f37c4 of[_0x5a6e('0x20'),_0x5a6e('0x23')]){const _0x299bff=_0x1f37c4[_0x5a6e('0x77')](0xb),_0x50756c=_0x299bff['toLowerCase'](),_0x4b8f58=_0x50756c[_0x5a6e('0x77')](0x0,0x3)+_0x5a6e('0x4a'),_0x4bfbba='table'+_0x299bff,_0x1fd4dd=_0x5a6e('0x4d')+_0x299bff,_0x375eaf=_0x5a6e('0x7d')+_0x299bff;_0x16fa90['enableCommand'](_0x1f37c4,()=>{_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x39')](_0x59514a=>{const _0x372ae2=_0x58916b['getSelectionAffectedTableCells'](_0x3d53de),_0x499f3b=_0x372ae2[0x0][_0x5a6e('0x15')]('table');let _0x42a67a;if(_0x5a6e('0x20')==_0x1f37c4){const _0x57f9cb=_0x58916b[_0x5a6e('0x1f')](_0x372ae2);_0x42a67a={'startRow':_0x57f9cb['first'],'endRow':_0x57f9cb[_0x5a6e('0x2a')],'includeAllSlots':!0x0};}else{const _0x158544=_0x58916b['getColumnIndexes'](_0x372ae2);_0x42a67a={'startColumn':_0x158544[_0x5a6e('0x5d')],'endColumn':_0x158544[_0x5a6e('0x2a')],'includeAllSlots':!0x0};}const _0xe53e1f=_0x58916b[_0x5a6e('0x2e')](_0x499f3b,_0x42a67a),_0x3086e7=Array[_0x5a6e('0x71')](_0xe53e1f)[_0x5a6e('0x3c')](({cell:_0x332269})=>_0x332269),_0x5d5cc5=se(_0x3086e7[_0x5a6e('0x57')](_0x208677=>_0x208677['hasAttribute'](_0x4b8f58))),_0x172fe9=se(_0x3086e7[_0x5a6e('0x57')](_0x594180=>!_0x594180[_0x5a6e('0x6b')](_0x4b8f58)))['map'](_0x2aa56c=>_0x59514a[_0x5a6e('0x4c')](_0x2aa56c)),_0x1356b4=_0x16fa90[_0x5a6e('0x6f')](_0x172fe9,_0x4bfbba);if(_0x1356b4&&(_0x5a6e('0x2b')==_0x1356b4[_0x5a6e('0x34')]||'tableColumn'==_0x1356b4[_0x5a6e('0x34')])){const _0x14f44c=this['_getSuggestionCoords'](_0x1356b4);for(const _0x2ed263 of _0x5d5cc5){const _0x22f2e4=_0x59514a[_0x5a6e('0x4c')](_0x2ed263),_0xb06df=_0x58916b[_0x5a6e('0x1c')](_0x2ed263),_0x3d9801=_0x2ed263[_0x5a6e('0x3a')](_0x4b8f58)-0x1,_0x3624cc=_0x14f44c[_0x1fd4dd],_0xb8265=_0x14f44c[_0x375eaf];_0x3624cc<=_0xb06df[_0x50756c]&&_0xb06df[_0x50756c]+_0x3d9801<=_0xb8265&&_0x1356b4['addRange'](_0x22f2e4);}}});});}function _0x22cbdc(_0x58d49c){const _0x1a119d=Array['from'](_0x3d53de[_0x5a6e('0x66')]())[_0x5a6e('0x3c')](_0x5ab449=>_0x5799ae[_0x5a6e('0x9')](_0x5ab449));_0x7616af['model']['change'](_0x2563c6=>{const _0x5baf7b=_0x2563c6[_0x5a6e('0x2d')];_0x58d49c=_0x58d49c[_0x5a6e('0x57')](_0x413000=>'$graveyard'!=_0x413000[_0x5a6e('0x72')][_0x5a6e('0x7')]),_0x2563c6[_0x5a6e('0x51')](_0x58d49c),_0x7616af[_0x5a6e('0x67')][_0x5a6e('0x7a')](_0x5a6e('0x20'))[_0x5a6e('0x3e')](),_0x7616af[_0x5a6e('0x50')](_0x5a6e('0x20'),{'forceDefaultExecution':!0x0}),_0x7616af['model'][_0x5a6e('0x73')](()=>{_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x73')](_0x5baf7b,_0x545c7c=>{const _0x2d694a=_0x1a119d['filter'](_0x3d0a4e=>_0x5a6e('0x18')!=_0x3d0a4e[_0x5a6e('0x72')][_0x5a6e('0x7')]);_0x2d694a[_0x5a6e('0x31')]>0x0&&_0x545c7c[_0x5a6e('0x51')](_0x2d694a);for(const _0x2f3bd0 of _0x1a119d)_0x2f3bd0[_0x5a6e('0x28')]();});});});}function _0x371608(_0x236019){_0x7616af[_0x5a6e('0x30')][_0x5a6e('0x39')](_0x3b7f3e=>{const _0x26301c=Array[_0x5a6e('0x71')](_0x3d53de[_0x5a6e('0x66')]())[_0x5a6e('0x3c')](_0x53500f=>_0x5799ae[_0x5a6e('0x9')](_0x53500f)),_0x2b3bd9=[];for(const _0x4bb886 of _0x236019)for(const _0x5deaca of _0x4bb886['getItems']({'shallow':!0x0}))_0x2b3bd9[_0x5a6e('0x0')](_0x5deaca);for(const _0x2a97fb of _0x2b3bd9)_0x5a6e('0x18')!=_0x2a97fb['root'][_0x5a6e('0x7')]&&(_0x3b7f3e['setSelection'](_0x3b7f3e[_0x5a6e('0x14')](_0x2a97fb,0x0)),_0x7616af['commands']['get'](_0x5a6e('0x23'))['refresh'](),_0x7616af['execute'](_0x5a6e('0x23'),{'forceDefaultExecution':!0x0}));const _0x4dc47b=_0x26301c['filter'](_0x449ae5=>_0x5a6e('0x18')!=_0x449ae5[_0x5a6e('0x72')]['rootName']);_0x4dc47b[_0x5a6e('0x31')]>0x0&&_0x3b7f3e[_0x5a6e('0x51')](_0x4dc47b);for(const _0x3c800b of _0x26301c)_0x3c800b[_0x5a6e('0x28')]();});}function _0xc6caaf(_0x11b181,_0x45e121){return _0x45e121[_0x5a6e('0x26')](_0x2f2c72=>_0x11b181[_0x5a6e('0x7f')](_0x3c350b=>_0x3c350b[_0x5a6e('0xb')]['isEqual'](_0x2f2c72['start'])||_0x2f2c72[_0x5a6e('0xb')][_0x5a6e('0x54')](_0x3c350b['start'])));}function _0x42f146(_0x299b2e,_0x1a8251){return _0x299b2e[_0x5a6e('0x7f')](_0x312c62=>_0x1a8251[_0x5a6e('0x7f')](_0xa0d8ab=>_0x312c62[_0x5a6e('0xb')][_0x5a6e('0x19')](_0xa0d8ab[_0x5a6e('0x40')])));}_0x7616af['data']['downcastDispatcher']['on'](_0x5a6e('0x59'),(_0x11fece,_0x4ce57c,_0x41ea71)=>{if(!_0x41ea71[_0x5a6e('0x29')][_0x5a6e('0x21')])return;const _0x155644=_0x4ce57c[_0x5a6e('0x12')];if(!_0x155644)return;const _0x3820b5=_0x41ea71[_0x5a6e('0x36')][_0x5a6e('0x5c')](_0x155644);function _0x3db917(_0x5b9aa3){return Array['isArray'](_0x5b9aa3)?_0x5b9aa3:[_0x5b9aa3];}_0x3820b5&&_0x5a6e('0x1e')===_0x155644[_0x5a6e('0x37')]&&_0x147f43(_0x3820b5,_0x41ea71[_0x5a6e('0x2')],(_0x28ce5a,_0x199808,_0x56c4df)=>_0x56c4df[_0x5a6e('0x44')](_0x3db917(_0x199808[_0x5a6e('0x52')]),_0x28ce5a),(_0x58c216,_0x290e56,_0x423c89)=>_0x423c89['removeClass'](_0x3db917(_0x290e56[_0x5a6e('0x52')]),_0x58c216));},{'priority':_0x5a6e('0x4e')}),_0x16fa90[_0x5a6e('0x7e')][_0x5a6e('0x16')](_0x17d750=>{if('insertion'!=_0x17d750[_0x5a6e('0xf')]&&'deletion'!=_0x17d750[_0x5a6e('0xf')])return;const _0x30979d=_0x17d750[_0x5a6e('0x5e')]();if(null!=_0x30979d&&_0x30979d['is'](_0x5a6e('0xd'),_0x5a6e('0x42'))){if(_0x5a6e('0x45')==_0x17d750[_0x5a6e('0xf')]){const _0x18bdfc=_0x17d750['getItems']()[_0x5a6e('0x57')](_0x916e46=>_0x916e46['is'](_0x5a6e('0x5a')))['map'](_0xfe057a=>_0xfe057a['data']);if(_0x18bdfc['length'])return{'type':'insertion','content':_0x32edce(_0x2cd26c,_0x5a6e('0x6c'),_0x32edce(_0x2cd26c,_0x5a6e('0x43'),'\x22'+_0x18bdfc[_0x5a6e('0x61')]('\x20')+'\x22'))};}if(_0x5a6e('0x63')==_0x17d750['type']){const _0x59b32e=_0x17d750[_0x5a6e('0xe')]()[_0x5a6e('0x57')](_0x139352=>_0x139352['is'](_0x5a6e('0x5a')))[_0x5a6e('0x3c')](_0x390a90=>_0x390a90[_0x5a6e('0x25')]);if(_0x59b32e['length'])return{'type':_0x5a6e('0x63'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x7b'),_0x32edce(_0x2cd26c,_0x5a6e('0x43'),'\x22'+_0x59b32e[_0x5a6e('0x61')]('\x20')+'\x22'))};}}}),_0x16fa90[_0x5a6e('0x7e')]['registerDescriptionCallback'](_0xf0280c=>{if(_0x5a6e('0x2b')==_0xf0280c[_0x5a6e('0x34')]){const _0x2b129d=_0xf0280c[_0x5a6e('0xe')]()['filter'](_0x207db2=>_0x207db2['is']('$textProxy'))['map'](_0x2bd87d=>_0x2bd87d[_0x5a6e('0x25')]),_0x47474a=this[_0x5a6e('0x22')](_0xf0280c),_0x5c1566=_0x47474a['maxRow']-_0x47474a['minRow']+0x1;if(_0x5a6e('0x45')==_0xf0280c[_0x5a6e('0xf')])return _0x2b129d[_0x5a6e('0x31')]?{'type':_0x5a6e('0x45'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x6c'),_0x32edce(_0x2cd26c,_0x5a6e('0x60'),[_0x5c1566,'\x22'+_0x2b129d[_0x5a6e('0x61')]('\x20')+'\x22']))}:{'type':_0x5a6e('0x45'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x6c'),_0x32edce(_0x2cd26c,_0x5a6e('0xa'),_0x5c1566))};if(_0x5a6e('0x63')==_0xf0280c[_0x5a6e('0xf')])return _0x2b129d[_0x5a6e('0x31')]?{'type':_0x5a6e('0x63'),'content':_0x32edce(_0x2cd26c,'*Remove:*\x20%0',_0x32edce(_0x2cd26c,_0x5a6e('0x60'),[_0x5c1566,'\x22'+_0x2b129d['join']('\x20')+'\x22']))}:{'type':_0x5a6e('0x63'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x7b'),_0x32edce(_0x2cd26c,_0x5a6e('0xa'),_0x5c1566))};}if(_0x5a6e('0x6')==_0xf0280c[_0x5a6e('0x34')]){const _0x2b4be2=_0xf0280c[_0x5a6e('0xe')]()[_0x5a6e('0x57')](_0xf32a45=>_0xf32a45['is'](_0x5a6e('0x5a')))[_0x5a6e('0x3c')](_0x418a94=>_0x418a94['data']),_0xa8aef0=this['_getSuggestionCoords'](_0xf0280c),_0x48604e=_0xa8aef0['maxColumn']-_0xa8aef0[_0x5a6e('0x8')]+0x1;if('insertion'==_0xf0280c[_0x5a6e('0xf')])return _0x2b4be2[_0x5a6e('0x31')]?{'type':_0x5a6e('0x45'),'content':_0x32edce(_0x2cd26c,'*Insert:*\x20%0',_0x32edce(_0x2cd26c,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x48604e,'\x22'+_0x2b4be2[_0x5a6e('0x61')]('\x20')+'\x22']))}:{'type':_0x5a6e('0x45'),'content':_0x32edce(_0x2cd26c,'*Insert:*\x20%0',_0x32edce(_0x2cd26c,_0x5a6e('0x75'),_0x48604e))};if('deletion'==_0xf0280c['type'])return _0x2b4be2[_0x5a6e('0x31')]?{'type':_0x5a6e('0x63'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x7b'),_0x32edce(_0x2cd26c,_0x5a6e('0x69'),[_0x48604e,'\x22'+_0x2b4be2[_0x5a6e('0x61')]('\x20')+'\x22']))}:{'type':_0x5a6e('0x63'),'content':_0x32edce(_0x2cd26c,_0x5a6e('0x7b'),_0x32edce(_0x2cd26c,_0x5a6e('0x75'),_0x48604e))};}}),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x45'),_0x5a6e('0x2b'),'discard',_0x22cbdc),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')]('deletion','tableRow','accept',_0x22cbdc),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x45'),_0x5a6e('0x6'),_0x5a6e('0x5f'),_0x371608),_0x16fa90[_0x5a6e('0x24')]['registerCustomCallback']('deletion',_0x5a6e('0x6'),_0x5a6e('0x68'),_0x371608),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x45'),_0x5a6e('0x6'),_0x5a6e('0x61'),_0xc6caaf),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x63'),_0x5a6e('0x6'),_0x5a6e('0x61'),_0xc6caaf),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x45'),'tableRow',_0x5a6e('0x61'),_0x42f146),_0x16fa90[_0x5a6e('0x24')][_0x5a6e('0x78')](_0x5a6e('0x63'),_0x5a6e('0x2b'),_0x5a6e('0x61'),_0x42f146);}[_0x5a6e('0x11')](){const _0xdf5495=this['editor'],_0x3289e4=_0xdf5495['model']['document'][_0x5a6e('0x3f')];return(_0x4224a0,_0xc17a33)=>{_0xdf5495[_0x5a6e('0x30')][_0x5a6e('0x39')](_0x1b8b83=>{const {commandName:_0x384a29,commandParams:_0x5d71c6}=_0xc17a33;let _0x3525f2=_0x4224a0[0x0]['end'][_0x5a6e('0x1a')];_0x5d71c6&&_0x5d71c6[0x0]&&!0x1===_0x5d71c6[0x0][_0x5a6e('0x47')]&&(_0x3525f2=_0x4224a0[0x0]['start']['nodeAfter']);const _0x4bea4b=_0x1b8b83[_0x5a6e('0x41')](_0x3525f2);if(_0x5a6e('0x18')==_0x4bea4b[_0x5a6e('0x72')][_0x5a6e('0x7')])return;const _0x3ac3cb=Array[_0x5a6e('0x71')](_0x3289e4[_0x5a6e('0x66')]())[_0x5a6e('0x3c')](_0x35488d=>_0x5799ae[_0x5a6e('0x9')](_0x35488d));_0x1b8b83[_0x5a6e('0x51')](_0x4bea4b),_0xdf5495[_0x5a6e('0x67')][_0x5a6e('0x7a')](_0x384a29)[_0x5a6e('0x3e')](),_0x5d71c6[_0x5a6e('0x0')]({'forceDefaultExecution':!0x0}),_0xdf5495[_0x5a6e('0x50')](_0x384a29,..._0x5d71c6);const _0x362d6d=_0x3ac3cb['filter'](_0x474970=>_0x5a6e('0x18')!=_0x474970[_0x5a6e('0x72')][_0x5a6e('0x7')]);_0x362d6d[_0x5a6e('0x31')]>0x0&&_0x1b8b83[_0x5a6e('0x51')](_0x362d6d);for(const _0x242446 of _0x3ac3cb)_0x242446['detach']();});};}['_getCoordsForCells'](_0x48717b){const _0x572df2=this[_0x5a6e('0x6e')][_0x5a6e('0x49')][_0x5a6e('0x7a')](_0x5a6e('0x80'));let _0x59181f=Number[_0x5a6e('0x46')],_0x4e4727=Number[_0x5a6e('0x81')],_0x246866=Number[_0x5a6e('0x46')],_0x385b7b=Number[_0x5a6e('0x81')];for(const _0x47aa12 of _0x48717b){if(_0x5a6e('0x18')==_0x47aa12[_0x5a6e('0x72')][_0x5a6e('0x7')])continue;const {row:_0x4c4145,column:_0xa1d486}=_0x572df2[_0x5a6e('0x1c')](_0x47aa12),_0x986b6a=_0x47aa12['hasAttribute'](_0x5a6e('0x58'))?_0x47aa12[_0x5a6e('0x3a')](_0x5a6e('0x58'))-0x1:0x0,_0x563981=_0x47aa12[_0x5a6e('0x6b')]('colspan')?_0x47aa12[_0x5a6e('0x3a')](_0x5a6e('0x53'))-0x1:0x0;_0x59181f=_0x4c4145<_0x59181f?_0x4c4145:_0x59181f,_0x4e4727=_0x4c4145+_0x986b6a>_0x4e4727?_0x4c4145+_0x986b6a:_0x4e4727,_0x246866=_0xa1d486<_0x246866?_0xa1d486:_0x246866,_0x385b7b=_0xa1d486+_0x563981>_0x385b7b?_0xa1d486+_0x563981:_0x385b7b;}return{'minRow':_0x59181f,'maxRow':_0x4e4727,'minColumn':_0x246866,'maxColumn':_0x385b7b};}[_0x5a6e('0x79')](){const _0x4f6e0f=this['editor'],_0x1dde68=_0x4f6e0f['plugins'][_0x5a6e('0x7a')](_0x5a6e('0x5b')),_0x4aead3=_0x4f6e0f[_0x5a6e('0x49')][_0x5a6e('0x7a')]('TableUtils');_0x4f6e0f['model'][_0x5a6e('0x35')]['on']('change:data',()=>{const _0x1e19a4=Array[_0x5a6e('0x71')](_0x4f6e0f[_0x5a6e('0x30')][_0x5a6e('0x35')]['differ'][_0x5a6e('0x55')]());for(const {name:_0x3bacc5,data:_0x2546f4}of _0x1e19a4){const {group:_0x14d177,id:_0x48c15c,subType:_0x2104e1}=_0x1dde68['_splitMarkerName'](_0x3bacc5);if(_0x5a6e('0x6a')!=_0x14d177)continue;if(null!=_0x2546f4[_0x5a6e('0x5')])continue;const _0x47243b=_0x1dde68[_0x5a6e('0x2c')](_0x48c15c);this['_tablePostFixingSubtypes'][_0x5a6e('0x32')](_0x2104e1)&&this[_0x5a6e('0x4b')]['add'](_0x47243b);}},{'priority':'low'});const _0x1612db=(_0x407103,_0x1d4196)=>{let _0x44c7ac=!0x1;const _0x4a2e3a=_0x1d4196['createRangeOn'](_0x407103),_0x55cc7d=_0x407103[_0x5a6e('0x15')]('table'),_0x4f7bf6=_0x4aead3[_0x5a6e('0x1c')](_0x407103);for(const _0x19f192 of this[_0x5a6e('0x4b')]){const _0x585a27=_0x19f192['subType'],_0x366e4a=_0x585a27[_0x5a6e('0x38')](_0x5a6e('0x1')),_0x4996bf=_0x585a27[_0x5a6e('0x77')](_0x366e4a?0xa:0x5),_0x215755=_0x4996bf[_0x5a6e('0x33')](),_0x189e4b=_0x215755[_0x5a6e('0x77')](0x0,0x3)+_0x5a6e('0x4a'),_0xc4678c=_0x5a6e('0x4d')+_0x4996bf,_0x4ea4a0=_0x5a6e('0x7d')+_0x4996bf;if(!_0x19f192[_0x5a6e('0x3b')])continue;if(_0x55cc7d!=_0x19f192[_0x5a6e('0x13')]()[_0x5a6e('0x40')][_0x5a6e('0x15')](_0x5a6e('0x42')))continue;if(_0x19f192[_0x5a6e('0x82')](_0x4a2e3a))continue;const _0x929f06=_0x407103[_0x5a6e('0x6b')](_0x189e4b)?_0x407103['getAttribute'](_0x189e4b)-0x1:0x0,_0x3c7a59=this[_0x5a6e('0x22')](_0x19f192),_0x5b2bab=_0x3c7a59[_0xc4678c],_0x76fac0=_0x3c7a59[_0x4ea4a0];_0x5b2bab<=_0x4f7bf6[_0x215755]&&_0x4f7bf6[_0x215755]+_0x929f06<=_0x76fac0&&(_0x19f192[_0x5a6e('0x65')](_0x4a2e3a),_0x44c7ac=!0x0);}return _0x44c7ac;};_0x4f6e0f[_0x5a6e('0x30')]['document']['registerPostFixer'](_0x20062b=>{let _0xe0c7ea=!0x1;for(const _0x2526dd of _0x4f6e0f[_0x5a6e('0x30')][_0x5a6e('0x35')]['differ'][_0x5a6e('0x2f')]())if(_0x5a6e('0x3')==_0x2526dd[_0x5a6e('0xf')]){if(_0x5a6e('0x2b')==_0x2526dd[_0x5a6e('0x37')])for(const _0x2ae12c of _0x2526dd[_0x5a6e('0x6d')][_0x5a6e('0x64')][_0x5a6e('0x4f')]())_0xe0c7ea=_0xe0c7ea||_0x1612db(_0x2ae12c,_0x20062b);else'tableCell'==_0x2526dd[_0x5a6e('0x37')]&&(_0xe0c7ea=_0xe0c7ea||_0x1612db(_0x2526dd[_0x5a6e('0x6d')][_0x5a6e('0x64')],_0x20062b));}return _0xe0c7ea;});}['_getSuggestionCoords'](_0x543ad2){return this[_0x5a6e('0x1b')](_0x543ad2['getRanges']()[_0x5a6e('0x3c')](_0x4c6a22=>_0x4c6a22[_0x5a6e('0x40')][_0x5a6e('0x64')]));}}function se(_0x385987){return Array[_0x5a6e('0x71')](new Set(_0x385987)['values']());}
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']());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59ed=['enableCommand','afterInit','get','toggleTableCaption','has','requires','editor','TrackChangesEditing'];(function(_0xa8ca5d,_0x59ed94){const _0xdacc25=function(_0x556dab){while(--_0x556dab){_0xa8ca5d['push'](_0xa8ca5d['shift']());}};_0xdacc25(++_0x59ed94);}(_0x59ed,0x90));const _0xdacc=function(_0xa8ca5d,_0x59ed94){_0xa8ca5d=_0xa8ca5d-0x0;let _0xdacc25=_0x59ed[_0xa8ca5d];return _0xdacc25;};import{Plugin as _0x33b0f4}from'ckeditor5/src/core';import _0x1d7339 from'./table';export default class Nt extends _0x33b0f4{static get[_0xdacc('0x5')](){return[_0x1d7339];}[_0xdacc('0x1')](){const _0x208dc4=this[_0xdacc('0x6')];if(!_0x208dc4['plugins'][_0xdacc('0x4')]('TableCaptionEditing'))return;_0x208dc4['plugins'][_0xdacc('0x2')](_0xdacc('0x7'))[_0xdacc('0x0')](_0xdacc('0x3'));}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32d7=['position','tablePaste','TableUtils','_tablePostFixingSubtypes','tableCellHorizontalAlignment','entries','every','move','accept','table','add','editor','_suggestionFactory','insertion','differ','_isForcedDefaultExecutionBlock','removeRows','endColumn','documentSelection','commands','tableCellSuggestion','getRange','reduce','registerDescriptionCallback','hasSuggestion','getItems','row','insertColumns','formatBlock','batch','markerAttributes','plugins','getShiftedBy','registerPostFixer','getChangedMarkers','ck-suggestion-marker--active','insertionRanges','insertContent','Users','TrackChangesEditing','end','wrap','forceDefaultExecution','clipboardOutput','paragraph','document','removeMarker','model','getChildren','deletion','getSuggestions','getMarkers','startsWith','suggestion-td','stop','getRowIndexes','getColumnIndexes','isInContent','tablePasteCell','from','editingDowncast','tableCellBackgroundColor','_descriptionFactory','createRangeOn','length','findAncestor','columnInsertionRanges','set','removeMarkers','setAttribute','subType','activeMarkers','tablePasteRow','cells','_getCoordsForCells','columnInsertionIndexes','locale','getSelectionAffectedTableCells','oldRange','options','$graveyard','map','join','registerCustomCallback','filter','column','suggestion','get','createRange','tablePasteColumn','markMultiRangeBlockFormat','push','next','containsRange','newRange','includes','author','start','insert','for','afterInit','getAllAdjacentSuggestions','rowInsertionRanges','setAttributes','conversion','*Replace\x20table\x20cells*','trackChanges','previousSibling','createTableWalker','view','deletionRanges','change','suggestionLoaded','type','tableCellBorderStyle','rowInsertionIndexes','has','element','markers','getChild','_splitMarkerName','tablePasteChainId','getSuggestion','some','discard','first','schema','ck-suggestion-marker-insertion','createRangeIn','tableCell','insertRows','unwrap','tableCellBorderWidth','isEqual','editing','_replaceTableSlotCell','value','find','name','listenTo','attributes','fill','suggestion:formatBlock:tablePasteCell','content','markerToHighlight','tableCellPadding','return','columns','getContainedElement','updateMarker','getRanges','last','high','elementToElement','selection','getRows','nextSibling','keys','createElement','TableClipboard','isEmpty','remove','redo','markMultiRangeInsertion','fromEntries'];(function(_0x1c215d,_0x32d736){const _0x5d7aa3=function(_0x19dc6f){while(--_0x19dc6f){_0x1c215d['push'](_0x1c215d['shift']());}};_0x5d7aa3(++_0x32d736);}(_0x32d7,0xda));const _0x5d7a=function(_0x1c215d,_0x32d736){_0x1c215d=_0x1c215d-0x0;let _0x5d7aa3=_0x32d7[_0x1c215d];return _0x5d7aa3;};import{getTranslation as _0x55f958}from'../utils/common-translations';import{Plugin as _0x4a0ad8}from'ckeditor5/src/core';import{uid as _0x5a76a2,priorities as _0x20fdf2}from'ckeditor5/src/utils';import _0x3b6d7c from'./table';const le=[_0x5d7a('0x4f'),'tableCellBorderColor',_0x5d7a('0x3d'),_0x5d7a('0x74'),'tableCellVerticalAlignment',_0x5d7a('0x8'),_0x5d7a('0x5c')],ae=Object[_0x5d7a('0x6f')](le[_0x5d7a('0x1c')](_0x3d97f6=>[_0x3d97f6,null]));export default class At extends _0x4a0ad8{static get['requires'](){return[_0x3b6d7c];}[_0x5d7a('0x2f')](){const _0x3afc17=this['editor'];if(!_0x3afc17[_0x5d7a('0x8f')]['has'](_0x5d7a('0x6a')))return;const _0x570542=_0x3afc17[_0x5d7a('0x8f')]['get'](_0x5d7a('0x97')),_0x58c9eb=_0x3afc17['plugins']['get'](_0x5d7a('0x72')),_0x4e38ba=_0x3afc17[_0x5d7a('0x8f')]['get'](_0x3b6d7c),_0x4ac210=_0x3afc17['plugins'][_0x5d7a('0x22')](_0x5d7a('0x6a'));_0x4e38ba[_0x5d7a('0x73')][_0x5d7a('0x26')](_0x5d7a('0x13'),_0x5d7a('0x24')),_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0x49')]['register'](_0x5d7a('0x84'),{'allowIn':_0x5d7a('0x4c'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x3afc17[_0x5d7a('0x33')][_0x5d7a('0x64')]({'model':_0x5d7a('0x84'),'view':_0x5d7a('0x0')});let _0x3a0ca9=null;_0x3afc17['model']['on'](_0x5d7a('0x95'),(_0x5777e4,_0x5c51c2)=>{const [_0xed8ab1,_0x51b07e]=_0x5c51c2,_0x356065=_0x5c51c2[_0x5c51c2['length']-0x1];_0x356065&&_0x356065[_0x5d7a('0x9a')]||_0x570542[_0x5d7a('0x7f')]||this[_0x5d7a('0x7b')][_0x5d7a('0x83')]['get'](_0x5d7a('0x35'))[_0x5d7a('0x53')]&&function(_0x4c04ee,_0x492877,_0x319020,_0x24330c,_0x5f3433){if(_0x492877&&!_0x492877['is'](_0x5d7a('0x82')))return!0x1;const _0x49f5b8=_0x5f3433['getTableIfOnlyTableInContent'](_0x4c04ee,_0x319020);if(!_0x49f5b8||!fe(_0x49f5b8,void 0x0,_0x24330c))return!0x1;const _0x4196c9=_0x24330c[_0x5d7a('0x18')](_0x319020['document'][_0x5d7a('0x65')]);if(!_0x4196c9['length'])return!0x1;const _0x459f6d=_0x4196c9[0x0][_0x5d7a('0xc')]('table'),_0x4f429f=_0x24330c[_0x5d7a('0x2')](_0x4196c9),_0x3d5d53=_0x24330c[_0x5d7a('0x3')](_0x4196c9),_0x436fb6={'startRow':_0x4f429f[_0x5d7a('0x48')],'endRow':_0x4f429f[_0x5d7a('0x62')],'startColumn':_0x3d5d53[_0x5d7a('0x48')],'endColumn':_0x3d5d53[_0x5d7a('0x62')]};return 0x1==_0x4196c9['length']&&(_0x436fb6['endRow']+=_0x24330c[_0x5d7a('0x66')](_0x49f5b8)-0x1,_0x436fb6[_0x5d7a('0x81')]+=_0x24330c['getColumns'](_0x49f5b8)-0x1),fe(_0x459f6d,_0x436fb6,_0x24330c);}(_0xed8ab1,_0x51b07e,_0x3afc17['model'],_0x58c9eb,_0x4ac210)&&(_0x5777e4['stop'](),_0x3a0ca9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3afc17[_0x5d7a('0x9f')]['change'](()=>{_0x3afc17[_0x5d7a('0x9f')]['insertContent'](_0x5c51c2[0x0],_0x5c51c2[0x1],_0x5c51c2[0x2],{'forceDefaultExecution':!0x0});const _0x2990c9=_0x5a76a2(),{rowInsertionRanges:_0x2dc93e,columnInsertionRanges:_0x1d5978,insertionRanges:_0x562167,deletionRanges:_0x4c2df6,cells:_0x9e6b07}=_0x3a0ca9;_0x2dc93e[_0x5d7a('0xb')]&&_0x570542[_0x5d7a('0x6e')](_0x2dc93e,'tablePasteRow',{'tablePasteChainId':_0x2990c9}),_0x1d5978[_0x5d7a('0xb')]&&_0x570542['markMultiRangeInsertion'](_0x1d5978,_0x5d7a('0x24'),{'tablePasteChainId':_0x2990c9}),_0x562167[_0x5d7a('0xb')]&&_0x570542['markMultiRangeInsertion'](_0x562167,_0x5d7a('0x71'),{'tablePasteChainId':_0x2990c9,'skipNestingCheck':!0x0}),_0x4c2df6[_0x5d7a('0xb')]&&_0x570542['markMultiRangeDeletion'](_0x4c2df6,_0x5d7a('0x71'),{'tablePasteChainId':_0x2990c9,'skipNestingCheck':!0x0});const _0x44b326=_0x570542[_0x5d7a('0x25')](_0x9e6b07[_0x5d7a('0x1c')](({element:_0x46b24c})=>_0x46b24c),{'formatGroupId':_0x5a76a2()},[],_0x5d7a('0x5'),{'tablePasteChainId':_0x2990c9});if(_0x44b326){const _0x30a517=_0x44b326[_0x5d7a('0xa3')](),_0x485929=[];for(const {element:_0x108d5d,attributes:_0x505d23}of _0x9e6b07){if(!_0x505d23)continue;const _0x35a7c2=_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0xa')](_0x108d5d),_0x5232aa=_0x30a517[_0x5d7a('0x54')](_0x31266d=>_0x31266d[_0x5d7a('0x85')]()[_0x5d7a('0x50')](_0x35a7c2));_0x5232aa&&_0x485929[_0x5d7a('0x26')]([_0x5232aa[_0x5d7a('0x55')],_0x505d23]);}_0x485929[_0x5d7a('0xb')]&&_0x44b326[_0x5d7a('0x10')]('markerAttributes',Object[_0x5d7a('0x6f')](_0x485929));}_0x3a0ca9=null;}));},{'priority':_0x20fdf2[_0x5d7a('0x63')]+0xa}),_0x3afc17['plugins'][_0x5d7a('0x22')](_0x5d7a('0x6a'))['on'](_0x5d7a('0x52'),(_0x2bf113,_0x31dc8c)=>{const [_0x588381,_0x225a58,,_0x490079]=_0x31dc8c;if(!_0x3a0ca9)return;_0x2bf113[_0x5d7a('0x1')]();const _0x1ef457=_0x588381['cell'],_0x42cbd2=_0x225a58,_0x34c757=ce(_0x1ef457),_0x1247c6=ce(_0x42cbd2);_0x2bf113[_0x5d7a('0x5d')]=_0x1ef457;let _0x591173=null,_0x4e9dfe=null;if(_0x1247c6||_0x34c757){if(_0x34c757&&!_0x1247c6){_0x490079[_0x5d7a('0x6c')](_0x1ef457['getChild'](0x0));for(const _0x4c6fd2 of Array[_0x5d7a('0x6')](_0x42cbd2[_0x5d7a('0xa0')]()))_0x490079[_0x5d7a('0x2d')](_0x4c6fd2,_0x1ef457,'end');const _0x1aa3b0=_0x3a0ca9[_0x5d7a('0x3e')]['includes'](_0x588381[_0x5d7a('0x8a')]),_0x17005d=_0x3a0ca9[_0x5d7a('0x16')][_0x5d7a('0x2a')](_0x588381[_0x5d7a('0x20')]);_0x1aa3b0||_0x17005d||(_0x591173=_0x490079[_0x5d7a('0x4b')](_0x1ef457));}else _0x1247c6&&!_0x34c757&&(_0x4e9dfe=_0x490079['createRangeIn'](_0x1ef457));}else{const _0x10eaea=_0x490079[_0x5d7a('0x69')](_0x5d7a('0x84')),_0xd4afcf=_0x490079[_0x5d7a('0x69')]('tableCellSuggestion');_0x490079[_0x5d7a('0x99')](_0x490079[_0x5d7a('0x4b')](_0x1ef457),_0xd4afcf),_0x490079['insert'](_0x10eaea,_0x1ef457,0x0);for(const _0x18aa72 of Array[_0x5d7a('0x6')](_0x42cbd2[_0x5d7a('0xa0')]()))_0x490079[_0x5d7a('0x2d')](_0x18aa72,_0x10eaea,_0x5d7a('0x98'));_0x591173=_0x490079[_0x5d7a('0xa')](_0x10eaea),_0x4e9dfe=_0x490079[_0x5d7a('0xa')](_0xd4afcf);}const _0x130841=Array[_0x5d7a('0x6')](_0x42cbd2['getAttributes']())[_0x5d7a('0x1f')](([_0x54b479])=>le['includes'](_0x54b479));_0x3a0ca9[_0x5d7a('0x14')][_0x5d7a('0x26')]({'element':_0x1ef457,'attributes':_0x130841[_0x5d7a('0xb')]?Object[_0x5d7a('0x6f')](_0x130841):null}),_0x591173&&_0x3a0ca9[_0x5d7a('0x94')]['push'](_0x591173),_0x4e9dfe&&_0x3a0ca9[_0x5d7a('0x39')][_0x5d7a('0x26')](_0x4e9dfe);},{'priority':_0x5d7a('0x63')}),_0x58c9eb['on'](_0x5d7a('0x8b'),(_0x2e3aa7,_0x2046c7)=>{const [_0x24aa89,_0x2331d1={}]=_0x2046c7;if(!_0x3a0ca9)return;const _0x12cb6b=_0x2331d1['at']||0x0,_0x37b8f8=_0x2331d1[_0x5d7a('0x5e')]||0x1;_0x3a0ca9[_0x5d7a('0x16')]=new Array(_0x37b8f8)['fill'](_0x12cb6b)[_0x5d7a('0x1c')]((_0x44c6dd,_0x2f13d6)=>_0x44c6dd+_0x2f13d6);for(const {cell:_0x1fe5e3}of _0x58c9eb[_0x5d7a('0x37')](_0x24aa89,{'startColumn':_0x12cb6b,'endColumn':_0x12cb6b+_0x37b8f8-0x1}))_0x3a0ca9[_0x5d7a('0xd')]['push'](_0x3afc17[_0x5d7a('0x9f')]['createRangeOn'](_0x1fe5e3));},{'priority':'low'}),_0x58c9eb['on'](_0x5d7a('0x4d'),(_0x250160,_0x1b2c97)=>{const [_0x50d969,_0x7713fd={}]=_0x1b2c97;if(!_0x3a0ca9)return;const _0x3a5c7c=_0x7713fd['at']||0x0,_0x239348=_0x7713fd['rows']||0x1;_0x3a0ca9[_0x5d7a('0x3e')]=new Array(_0x239348)[_0x5d7a('0x58')](_0x3a5c7c)[_0x5d7a('0x1c')]((_0x2dc71a,_0xfd9388)=>_0x2dc71a+_0xfd9388);for(const {cell:_0x1997c1}of _0x58c9eb[_0x5d7a('0x37')](_0x50d969,{'startRow':_0x3a5c7c,'endRow':_0x3a5c7c+_0x239348-0x1}))_0x3a0ca9[_0x5d7a('0x31')][_0x5d7a('0x26')](_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0xa')](_0x1997c1));},{'priority':'low'}),_0x570542[_0x5d7a('0x9')][_0x5d7a('0x87')](_0x53ea7c=>{if(_0x53ea7c[_0x5d7a('0x11')]&&_0x53ea7c[_0x5d7a('0x11')]['startsWith'](_0x5d7a('0x71')))return _0x53ea7c['previous']?{}:{'type':_0x5d7a('0x7d'),'content':_0x55f958(_0x3afc17[_0x5d7a('0x17')],_0x5d7a('0x34'))};});const _0x541430=()=>!0x1;for(const _0x36d0ce of[_0x5d7a('0x71'),_0x5d7a('0x24'),_0x5d7a('0x13'),_0x5d7a('0x5')])_0x570542['_suggestionFactory'][_0x5d7a('0x1e')]('insertion',_0x36d0ce,'join',_0x541430),_0x570542['_suggestionFactory'][_0x5d7a('0x1e')]('deletion',_0x36d0ce,_0x5d7a('0x1d'),_0x541430),_0x570542[_0x5d7a('0x7c')]['registerCustomCallback']('formatBlock',_0x36d0ce,_0x5d7a('0x1d'),_0x541430);_0x570542[_0x5d7a('0x7c')][_0x5d7a('0x1e')](_0x5d7a('0x8c'),'tablePasteCell',_0x5d7a('0x47'),_0x541430),_0x570542[_0x5d7a('0x7c')][_0x5d7a('0x1e')](_0x5d7a('0x8c'),'tablePasteCell',_0x5d7a('0x78'),(_0x276287,_0x47a93a,_0x528d2f)=>{const _0x1ad1d3=_0x276287['map'](_0x38a14a=>_0x38a14a[_0x5d7a('0x5f')]())[_0x5d7a('0x1f')](_0x2daeff=>_0x2daeff),_0x900918=new Map(_0x1ad1d3[_0x5d7a('0x1c')](_0x51c9d9=>[_0x51c9d9,null]));if(_0x3a0ca9)for(const {element:_0xabadda,attributes:_0x2fc207}of _0x3a0ca9[_0x5d7a('0x14')])_0x2fc207&&_0x900918[_0x5d7a('0xe')](_0xabadda,_0x2fc207);else{if(_0x528d2f&&_0x528d2f['markerAttributes'])for(const [_0x28c5dd,_0x43a072]of Object[_0x5d7a('0x75')](_0x528d2f['markerAttributes'])){const _0x16fe8b=_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0x41')][_0x5d7a('0x22')](_0x28c5dd),_0x1ce704=_0x16fe8b?_0x16fe8b[_0x5d7a('0x85')]()[_0x5d7a('0x5f')]():null;_0x1ce704&&_0x900918[_0x5d7a('0xe')](_0x1ce704,_0x43a072);}}_0x3afc17['model'][_0x5d7a('0x3a')](_0x171e92=>{for(const [_0x1bbdd2,_0x29f681]of _0x900918)_0x171e92[_0x5d7a('0x32')]({...ae,..._0x29f681},_0x1bbdd2);});});const _0x11df2c=(_0x2826be,_0x185ae9)=>{_0x570542[_0x5d7a('0x7c')][_0x5d7a('0x1e')](_0x2826be,_0x5d7a('0x71'),_0x185ae9,(_0x1e1a6d,_0x578c28,_0x946d43)=>{_0x3afc17['model'][_0x5d7a('0x3a')](_0x4e9eb9=>{const _0x214f3a=[];for(const _0x4b9eab of _0x1e1a6d){const _0x10a36a=_0x4b9eab[_0x5d7a('0x2c')]['nodeAfter'];_0x10a36a['is']('element',_0x5d7a('0x84'))&&_0x214f3a[_0x5d7a('0x26')](_0x10a36a);}_0x570542['_suggestionFactory']['getSuggestionCallback'](_0x2826be,null,_0x185ae9)(_0x1e1a6d,_0x578c28,_0x946d43);for(const _0x3c3307 of _0x214f3a)_0x5d7a('0x1b')!=_0x3c3307['root']['rootName']&&_0x4e9eb9[_0x5d7a('0x4e')](_0x3c3307);});});};_0x11df2c('insertion',_0x5d7a('0x78')),_0x11df2c(_0x5d7a('0x7d'),'discard'),_0x11df2c(_0x5d7a('0xa1'),_0x5d7a('0x78')),_0x11df2c(_0x5d7a('0xa1'),_0x5d7a('0x47')),_0x570542['_suggestionFactory']['registerCustomCallback']('insertion',_0x5d7a('0x13'),_0x5d7a('0x47'),_0x27660d=>{const _0x4903c4=_0x27660d[_0x5d7a('0x1c')](_0x402331=>_0x402331[_0x5d7a('0x5f')]()),_0xe16610=_0x4903c4[0x0]['findAncestor']('table'),{minRow:_0x19dbea,maxRow:_0x154eda}=_0x4e38ba['_getCoordsForCells'](_0x4903c4);_0x58c9eb[_0x5d7a('0x80')](_0xe16610,{'at':_0x19dbea,'rows':_0x154eda-_0x19dbea+0x1});}),_0x570542[_0x5d7a('0x7c')][_0x5d7a('0x1e')]('insertion',_0x5d7a('0x24'),_0x5d7a('0x47'),_0x3598d5=>{const _0x18f296=_0x3598d5[_0x5d7a('0x1c')](_0x7becec=>_0x7becec[_0x5d7a('0x5f')]()),_0x1a4a56=_0x18f296[0x0][_0x5d7a('0xc')](_0x5d7a('0x79')),{minColumn:_0x15743e,maxColumn:_0x465e35}=_0x4e38ba[_0x5d7a('0x15')](_0x18f296);_0x58c9eb['removeColumns'](_0x1a4a56,{'at':_0x15743e,'columns':_0x465e35-_0x15743e+0x1});});const _0x5d80e6=(_0x169563,_0x4f8488)=>{if(!_0x4f8488[_0x5d7a('0x11')]||!_0x4f8488[_0x5d7a('0x11')]['startsWith'](_0x5d7a('0x71')))return;const _0x28ed96=_0x4f8488[_0x5d7a('0x57')][_0x5d7a('0x44')],_0x48e822=_0x570542[_0x5d7a('0xa2')]()['filter'](_0x2bacd2=>_0x2bacd2[_0x5d7a('0x4')]&&_0x2bacd2['attributes']&&_0x2bacd2[_0x5d7a('0x57')][_0x5d7a('0x44')]==_0x28ed96);_0x48e822[_0x5d7a('0xb')]&&_0x4f8488[_0x5d7a('0x30')]()[_0x5d7a('0xb')]!=_0x48e822[_0x5d7a('0xb')]&&_0x48e822[_0x5d7a('0x86')]((_0x4b0b08,_0x479f4d)=>(_0x4b0b08[_0x5d7a('0x27')]=_0x479f4d,_0x479f4d['previous']=_0x4b0b08,_0x479f4d));};function _0x17a9e5(_0x6e56c3,_0x3dab21=!0x0){const {id:_0x25e124}=_0x570542[_0x5d7a('0x43')](_0x6e56c3['markerName']),_0x24a95a=['ck-suggestion-marker',_0x5d7a('0x4a')],_0x7f11ac=_0x570542[_0x5d7a('0x12')][_0x5d7a('0x2a')](_0x6e56c3['markerName']);return _0x7f11ac&&_0x24a95a[_0x5d7a('0x26')](_0x5d7a('0x93')),{'classes':_0x24a95a,'attributes':{'data-suggestion':_0x25e124},'priority':_0x7f11ac&&_0x3dab21?0xbc2:0xbb8};}_0x570542['on'](_0x5d7a('0x3b'),_0x5d80e6,{'priority':'high'}),_0x570542['on']('suggestionUnloaded',_0x5d80e6,{'priority':_0x5d7a('0x63')}),_0x3afc17['model'][_0x5d7a('0x9d')][_0x5d7a('0x91')](()=>{let _0x102325=!0x1;const _0x168ff6=Array[_0x5d7a('0x6')](_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0x9d')][_0x5d7a('0x7e')]['getChangedMarkers']());for(const {name:_0x468eee,data:_0x14cefc}of _0x168ff6){const {group:_0x3c7335,type:_0x2810d0,id:_0x592eb1}=_0x570542[_0x5d7a('0x43')](_0x468eee);if(_0x5d7a('0x21')!=_0x3c7335||_0x5d7a('0xa1')!=_0x2810d0||_0x14cefc[_0x5d7a('0x19')])continue;if(!_0x570542[_0x5d7a('0x88')](_0x592eb1))continue;const _0x2f8edd=_0x570542[_0x5d7a('0x45')](_0x592eb1)[_0x5d7a('0x61')](),_0x4c48c7=_0x3afc17[_0x5d7a('0x8f')]['get'](_0x5d7a('0x96'))['me'];for(const _0x4526e9 of _0x570542[_0x5d7a('0xa2')]()){if(!_0x4526e9['isInContent']||_0x4526e9[_0x5d7a('0x2b')]!=_0x4c48c7)continue;if(_0x5d7a('0x8c')!=_0x4526e9[_0x5d7a('0x3c')]||_0x5d7a('0x5')!=_0x4526e9[_0x5d7a('0x11')])continue;if(_0x4526e9[_0x5d7a('0x61')]()[_0x5d7a('0x76')](_0x172116=>_0x2f8edd[_0x5d7a('0x46')](_0x3707e8=>_0x3707e8[_0x5d7a('0x28')](_0x172116,!0x0))))for(const _0x1d15d1 of _0x4526e9[_0x5d7a('0x30')]())_0x1d15d1['isInContent']&&(_0x1d15d1[_0x5d7a('0x47')](),_0x102325=!0x0);}}return _0x102325;}),_0x3afc17['model']['document'][_0x5d7a('0x91')](_0x361df7=>{const _0x417248=_0x3afc17[_0x5d7a('0x83')][_0x5d7a('0x22')](_0x5d7a('0x6d'));if(!_0x417248||!_0x417248['_createdBatches'][_0x5d7a('0x3f')](_0x361df7[_0x5d7a('0x8d')]))return!0x1;let _0x5a8bcf=!0x1;const _0x405eb0=_0x3afc17[_0x5d7a('0x8f')][_0x5d7a('0x22')]('Users')['me'],_0x95d500=_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0x9d')][_0x5d7a('0x7e')]['getChanges'](),_0x2c4577=Array[_0x5d7a('0x6')](_0x3afc17['model'][_0x5d7a('0x9d')][_0x5d7a('0x7e')][_0x5d7a('0x92')]())['filter'](({name:_0x5c1dda,data:_0x198ce7})=>{const {group:_0x52fbf6,subType:_0x5e8f92,authorId:_0x5b0c17}=_0x570542[_0x5d7a('0x43')](_0x5c1dda);return'suggestion'==_0x52fbf6&&_0x5d7a('0x71')==_0x5e8f92&&_0x5b0c17==_0x405eb0['id']&&!_0x198ce7['oldRange'];});for(const _0x2294f4 of _0x95d500){if('insert'!=_0x2294f4[_0x5d7a('0x3c')]||'tableCellSuggestion'!=_0x2294f4['name']||0x1!=_0x2294f4[_0x5d7a('0xb')])continue;const _0x4349dc=_0x361df7[_0x5d7a('0x23')](_0x2294f4['position'],_0x2294f4[_0x5d7a('0x70')][_0x5d7a('0x90')](0x1));if(!_0x2c4577[_0x5d7a('0x54')](({data:_0x597e2d})=>_0x597e2d[_0x5d7a('0x29')]['isEqual'](_0x4349dc)))for(const {name:_0x39f2f8,data:_0x7fea1a}of _0x2c4577)if(_0x4349dc[_0x5d7a('0x28')](_0x7fea1a['newRange'])){_0x361df7[_0x5d7a('0x60')](_0x39f2f8,{'range':_0x4349dc}),_0x5a8bcf=!0x0;break;}}return _0x5a8bcf;}),_0x3afc17[_0x5d7a('0x9f')][_0x5d7a('0x9d')][_0x5d7a('0x91')](_0x26f883=>{let _0x5d6936=!0x1;const _0x10fc74=_0x3afc17[_0x5d7a('0x8f')][_0x5d7a('0x22')](_0x5d7a('0x96'))['me'],_0x2e1943=_0x570542['getSuggestions']()[_0x5d7a('0x1f')](_0xf13f62=>_0xf13f62['isInContent']&&_0xf13f62[_0x5d7a('0x2b')]==_0x10fc74),_0x1dd4dc=new Set(),_0xed6190=new Set();for(const _0x270861 of _0x2e1943)if(_0x5d7a('0x71')==_0x270861[_0x5d7a('0x11')])for(const _0x3bffe7 of _0x270861[_0x5d7a('0xa3')]()){const _0x45232d=_0x3bffe7['getRange']()['getContainedElement']();if(_0x45232d){if(_0x45232d['is'](_0x5d7a('0x40'),_0x5d7a('0x84'))&&ce(_0x45232d)){_0x270861[_0x5d7a('0x9e')](_0x3bffe7[_0x5d7a('0x55')]),_0x1dd4dc[_0x5d7a('0x7a')](_0x45232d),_0x5d6936=!0x0;const _0x214a00=_0x45232d[_0x5d7a('0x67')],_0x103bff=_0x45232d[_0x5d7a('0x36')],_0x1e5803=_0x214a00&&_0x214a00['is'](_0x5d7a('0x40'),_0x5d7a('0x84')),_0x505675=_0x103bff&&_0x103bff['is'](_0x5d7a('0x40'),_0x5d7a('0x84'));_0x1e5803&&!_0x1dd4dc[_0x5d7a('0x3f')](_0x214a00)&&_0xed6190['add'](_0x214a00),_0x505675&&!_0x1dd4dc[_0x5d7a('0x3f')](_0x103bff)&&_0xed6190['add'](_0x103bff);}else _0x45232d['is'](_0x5d7a('0x40'),_0x5d7a('0x9c'))&&_0x45232d['isEmpty']&&(_0x270861['removeMarker'](_0x3bffe7[_0x5d7a('0x55')]),_0x5d6936=!0x0);}}else{if(_0x5d7a('0x5')==_0x270861[_0x5d7a('0x11')]){if(!_0x270861[_0x5d7a('0x57')]||!_0x270861[_0x5d7a('0x57')][_0x5d7a('0x44')])continue;const _0x34c8ae=_0x270861[_0x5d7a('0x57')][_0x5d7a('0x8e')];if(_0x34c8ae&&Object[_0x5d7a('0x68')](_0x34c8ae)[_0x5d7a('0xb')])continue;const _0x3baecb=_0x270861['attributes'][_0x5d7a('0x44')];let _0x5b6f1e=!0x0,_0x5c1beb=!0x0;for(const _0x503a37 of _0x2e1943)if(_0x503a37[_0x5d7a('0x11')]&&_0x503a37[_0x5d7a('0x11')][_0x5d7a('0xa4')](_0x5d7a('0x71'))){if(!_0x503a37['attributes'][_0x5d7a('0x44')]){_0x5c1beb=!0x1;break;}if(_0x503a37['id']!=_0x270861['id']&&_0x503a37[_0x5d7a('0x57')][_0x5d7a('0x44')]==_0x3baecb){_0x5b6f1e=!0x1;break;}}_0x5c1beb&&_0x5b6f1e&&(_0x270861[_0x5d7a('0xf')](),_0x5d6936=!0x0);}}for(const _0x24c894 of _0x1dd4dc)_0x26f883[_0x5d7a('0x6c')](_0x24c894);for(const _0xe446db of _0xed6190)_0x26f883['unwrap'](_0xe446db);return _0x5d6936;}),_0x3afc17[_0x5d7a('0x33')][_0x5d7a('0x2e')](_0x5d7a('0x7'))[_0x5d7a('0x5b')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3febdc,_0x504701)=>_0x17a9e5(_0x3febdc),'converterPriority':_0x5d7a('0x63')}),_0x3afc17[_0x5d7a('0x33')][_0x5d7a('0x2e')]('dataDowncast')[_0x5d7a('0x5b')]({'model':_0x5d7a('0x59'),'view':(_0x5ec927,_0x13bac9)=>_0x13bac9[_0x5d7a('0x1a')]['showSuggestionHighlights']?_0x17a9e5(_0x5ec927,!0x1):null,'converterPriority':_0x5d7a('0x63')});const _0x45360f=_0x3afc17[_0x5d7a('0x51')][_0x5d7a('0x38')];this[_0x5d7a('0x56')](_0x45360f[_0x5d7a('0x9d')],_0x5d7a('0x9b'),(_0xad80cb,_0x23b974)=>{const _0x27e9ef=[];for(const _0x42b926 of _0x45360f[_0x5d7a('0x4b')](_0x23b974[_0x5d7a('0x5a')])[_0x5d7a('0x89')]())_0x42b926['is'](_0x5d7a('0x40'),_0x5d7a('0x0'))&&_0x27e9ef[_0x5d7a('0x26')](_0x42b926);_0x45360f['change'](_0x413062=>{for(const _0xc66d52 of _0x27e9ef)_0x413062[_0x5d7a('0x77')](_0x413062[_0x5d7a('0x4b')](_0xc66d52),_0x413062['createPositionBefore'](_0xc66d52)),_0x413062[_0x5d7a('0x6c')](_0xc66d52);});});}}function ce(_0x1f4331){if(_0x1f4331[_0x5d7a('0x6b')])return!0x0;const _0x2c8c8f=_0x1f4331[_0x5d7a('0x42')](0x0);return _0x2c8c8f['is']('element',_0x5d7a('0x9c'))&&_0x2c8c8f['isEmpty'];}function fe(_0x114c79,_0x4d037a={},_0x49976c){for(const {isAnchor:_0x53a126,cellHeight:_0x15b872,cellWidth:_0x1de5f7}of _0x49976c[_0x5d7a('0x37')](_0x114c79,{'includeAllSlots':!0x0,..._0x4d037a}))if(!_0x53a126||0x1!=_0x15b872||0x1!=_0x1de5f7)return!0x1;return!0x0;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e68=['model','TableColumnResizeEditing','commandParams','formatGroupId','registerCustomCallback','bind','plugins','tableWidth','has','getTableColumnsWidths','getAttribute','accept','_descriptionFactory','*Format:*\x20resize\x20table','data','discard','selection','handleSuggestionDescription','type','getSuggestionCallback','getContainedElement','getSelectedElement','getSuggestions','resizeTableWidth','table','format','handleResizeTableWidthCommand','formatBlock','resizeTable','enableCommand','editor','getColumnGroupElement','Users','registerDescriptionCallback','afterInit','_suggestionFactory','get','change','TrackChangesEditing','columnWidths'];(function(_0x26ec5d,_0x2e6835){const _0xfa28f9=function(_0x59cf7d){while(--_0x59cf7d){_0x26ec5d['push'](_0x26ec5d['shift']());}};_0xfa28f9(++_0x2e6835);}(_0x2e68,0x107));const _0xfa28=function(_0x26ec5d,_0x2e6835){_0x26ec5d=_0x26ec5d-0x0;let _0xfa28f9=_0x2e68[_0x26ec5d];return _0xfa28f9;};import{Plugin as _0x181087}from'ckeditor5/src/core';import{getTranslation as _0x2f67b3}from'../utils/common-translations';export default class It extends _0x181087{[_0xfa28('0xb')](){if(!this[_0xfa28('0x7')][_0xfa28('0x17')][_0xfa28('0x19')](_0xfa28('0x12')))return;const _0x13b090=this[_0xfa28('0x7')]['plugins']['get'](_0xfa28('0xf'));_0x13b090[_0xfa28('0x6')]('resizeTableWidth',this[_0xfa28('0x3')][_0xfa28('0x16')](this)),_0x13b090[_0xfa28('0xc')][_0xfa28('0x15')](_0xfa28('0x4'),_0xfa28('0x5'),'accept',_0x13b090[_0xfa28('0xc')][_0xfa28('0x24')]('formatBlock',null,'discard')),_0x13b090[_0xfa28('0xc')]['registerCustomCallback'](_0xfa28('0x4'),_0xfa28('0x5'),_0xfa28('0x20'),_0x13b090['_suggestionFactory'][_0xfa28('0x24')]('formatBlock',null,_0xfa28('0x1c'))),_0x13b090[_0xfa28('0x1d')][_0xfa28('0xa')](this[_0xfa28('0x22')][_0xfa28('0x16')](this));}[_0xfa28('0x3')](_0x192868,_0x24cb25){const _0x34ac7b=this[_0xfa28('0x7')][_0xfa28('0x17')][_0xfa28('0xd')](_0xfa28('0xf')),_0x463e6c=this[_0xfa28('0x7')][_0xfa28('0x17')][_0xfa28('0xd')](_0xfa28('0x12')),_0x543e27=_0x24cb25[_0xfa28('0x1')]||this[_0xfa28('0x7')][_0xfa28('0x11')]['document'][_0xfa28('0x21')][_0xfa28('0x26')]();this[_0xfa28('0x7')][_0xfa28('0x11')][_0xfa28('0xe')](()=>{const _0x218d6f=_0x463e6c[_0xfa28('0x8')](_0x543e27);let _0x36fea1=_0x218d6f?_0x463e6c[_0xfa28('0x1a')](_0x218d6f):null,_0x3dce66=_0x543e27[_0xfa28('0x1b')]('tableWidth')||null;const _0x2abf3b=_0x24cb25['tableWidth']||_0x3dce66,_0x3fafa1=_0x24cb25[_0xfa28('0x10')]||_0x36fea1,_0x43073c=this[_0xfa28('0x7')][_0xfa28('0x17')][_0xfa28('0xd')](_0xfa28('0x9'))['me'];for(const _0xb42b55 of _0x34ac7b[_0xfa28('0x27')]()){const _0x2422f3=_0xb42b55[_0xfa28('0x25')]();if('resizeTable'===_0xb42b55['subType']&&_0x2422f3===_0x543e27){_0xb42b55['author']!==_0x43073c&&_0xb42b55[_0xfa28('0x20')]();const _0x522f51=_0xb42b55[_0xfa28('0x1f')][_0xfa28('0x13')];_0x3dce66=_0x522f51[0x0][_0xfa28('0x18')],_0x36fea1=_0x522f51[0x0][_0xfa28('0x10')];break;}}_0x192868({'table':_0x543e27,'tableWidth':_0x2abf3b,'columnWidths':_0x3fafa1}),_0x34ac7b['markBlockFormat'](_0x543e27,{'commandName':_0xfa28('0x0'),'commandParams':[{'tableWidth':_0x3dce66,'columnWidths':_0x36fea1}],'formatGroupId':_0xfa28('0x5')},[],_0xfa28('0x5'));});}[_0xfa28('0x22')](_0x3be322){if(_0xfa28('0x4')!=_0x3be322[_0xfa28('0x23')]&&'formatInline'!=_0x3be322['type'])return;const {data:_0x25784f}=_0x3be322;if(_0x25784f&&'resizeTable'===_0x25784f[_0xfa28('0x14')]){const _0x226a99=_0xfa28('0x1e');return{'type':_0xfa28('0x2'),'content':_0x2f67b3(this[_0xfa28('0x7')]['locale'],_0x226a99)};}}}
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)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc218=['data','ck-suggestion-marker--active','highest','nodeBefore','format','writer','_handleLegacySuggestions','mapper','FORMAT_HEADER_ROW','includes','headingRows','addClass','TrackChangesEditing','showSuggestionHighlights','setAttribute','toViewElement','headingColumns','setTableColumnHeader','forceValue','addMarker:suggestion','consumable','commandParams','markerNameToElements','editing','item','accept','unbindElementFromMarkerName','*Format:*\x20%0','removeAttribute','data-suggestion','_descriptionFactory','options','registerDescriptionCallback','markerName','registerCustomCallback','downcastDispatcher','FORMAT_HEADER_COLUMN','getSuggestion','locale','editor','parent','getCellLocation','plugins','start','consume','_enableDefaultAttributesIntegration','activeMarkers','_suggestionFactory','get','registerAttributeLabel','TableUtils','stop','setTableRowHeader','ck-suggestion-marker-','removeClass','bindElementToMarker','_registerLegacyDescription','removeMarker:suggestion','cell','type','commandName','_acceptFormatSuggestionCallbackFactory','formatBlock'];(function(_0xe0d703,_0xc21881){const _0x349b78=function(_0x3731b0){while(--_0x3731b0){_0xe0d703['push'](_0xe0d703['shift']());}};_0x349b78(++_0xc21881);}(_0xc218,0x9f));const _0x349b=function(_0xe0d703,_0xc21881){_0xe0d703=_0xe0d703-0x0;let _0x349b78=_0xc218[_0xe0d703];return _0x349b78;};import{Plugin as _0x4152ce}from'ckeditor5/src/core';import _0x1433f2 from'./table';import{getTranslation as _0x3f070f}from'../utils/common-translations';export default class St extends _0x4152ce{static get['requires'](){return[_0x1433f2];}['afterInit'](){const _0x2a1704=this[_0x349b('0x6')];if(!_0x2a1704[_0x349b('0x9')]['has']('TableEditing'))return;const _0x39e815=_0x2a1704[_0x349b('0x5')],_0x7dc917=_0x2a1704[_0x349b('0x9')]['get'](_0x349b('0x2a'));_0x7dc917[_0x349b('0xc')](_0x349b('0x13'),[],['headingRows']),_0x7dc917[_0x349b('0xc')](_0x349b('0x2f'),[],[_0x349b('0x2e')]),_0x7dc917[_0x349b('0x3c')][_0x349b('0x10')](_0x349b('0x28'),_0x3f070f(_0x39e815,_0x349b('0x26'))),_0x7dc917['_descriptionFactory'][_0x349b('0x10')](_0x349b('0x2e'),_0x3f070f(_0x39e815,_0x349b('0x3'))),this[_0x349b('0x24')]();}[_0x349b('0x24')](){const _0x1ee997=this[_0x349b('0x6')][_0x349b('0x9')][_0x349b('0xf')](_0x349b('0x2a')),_0x3925de=this[_0x349b('0x6')][_0x349b('0x9')]['get'](_0x349b('0x11')),_0xef91f8=this[_0x349b('0x6')][_0x349b('0x9')][_0x349b('0xf')](_0x1433f2)[_0x349b('0x1c')]();function _0xa59e23({showActiveMarker:_0x347432=!0x0,setDataAttribute:_0x1f616c=!0x0}={}){return(_0x1a8ebf,_0x545f99,_0x5c4a5b)=>{const {type:_0x34c718,id:_0x20e7ea}=_0x1ee997['_splitMarkerName'](_0x545f99[_0x349b('0x0')]),_0x1ec1bd=_0x1ee997[_0x349b('0x4')](_0x20e7ea),_0x351985=_0x1ec1bd[_0x349b('0x1e')];if(_0x349b('0x1d')!=_0x1ec1bd[_0x349b('0x1a')]||!_0x351985||'setTableColumnHeader'!=_0x351985['commandName'])return;if(_0x545f99[_0x349b('0x36')])return void _0x1a8ebf[_0x349b('0x12')]();if(!_0x5c4a5b[_0x349b('0x32')][_0x349b('0xb')](_0x545f99['markerRange'],_0x1a8ebf['name']))return;const _0x1ba88a=_0x545f99['markerRange'][_0x349b('0xa')]['nodeAfter'],_0x2ddf58=_0x545f99['markerRange']['end'][_0x349b('0x21')],_0x52eba3=_0x1ba88a[_0x349b('0x7')][_0x349b('0x7')],{column:_0x33eb41}=_0x3925de['getCellLocation'](_0x1ba88a),{column:_0x465c73}=_0x3925de[_0x349b('0x8')](_0x2ddf58);for(let _0x15fbd2=_0x33eb41;_0x15fbd2<=_0x465c73;_0x15fbd2++){const _0xc9f6f=_0x3925de['createTableWalker'](_0x52eba3,{'column':_0x15fbd2,'includeAllSlots':!0x1});for(const _0x4f1cb7 of _0xc9f6f){const _0xd33928=_0x4f1cb7[_0x349b('0x19')],_0x359b6d=_0x5c4a5b[_0x349b('0x25')][_0x349b('0x2d')](_0xd33928);_0x5c4a5b[_0x349b('0x23')][_0x349b('0x29')](_0x349b('0x14')+_0x34c718,_0x359b6d),_0x1f616c&&_0x5c4a5b['writer'][_0x349b('0x2c')]('data-suggestion',_0x20e7ea,_0x359b6d),_0x5c4a5b[_0x349b('0x25')][_0x349b('0x16')](_0x359b6d,_0x545f99['markerName']),_0x347432&&(_0x1ee997[_0x349b('0xd')][_0x349b('0x27')](_0x545f99['markerName'])?_0x5c4a5b[_0x349b('0x23')][_0x349b('0x29')](_0x349b('0x1f'),_0x359b6d):_0x5c4a5b[_0x349b('0x23')][_0x349b('0x15')](_0x349b('0x1f'),_0x359b6d));}}};}_0x1ee997[_0x349b('0xe')][_0x349b('0x1')](_0x349b('0x1d'),'setTableRowHeader',_0x349b('0x37'),_0xef91f8),_0x1ee997[_0x349b('0xe')][_0x349b('0x1')](_0x349b('0x1d'),_0x349b('0x2f'),_0x349b('0x37'),_0xef91f8),this[_0x349b('0x6')][_0x349b('0x35')][_0x349b('0x2')]['on'](_0x349b('0x31'),_0xa59e23(),{'priority':_0x349b('0x20')}),this[_0x349b('0x6')][_0x349b('0x1e')][_0x349b('0x2')]['on']('addMarker:suggestion',(_0x1307f3,_0x535791,_0x58db3e)=>{_0x58db3e[_0x349b('0x3d')][_0x349b('0x2b')]&&_0xa59e23({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1307f3,_0x535791,_0x58db3e);},{'priority':_0x349b('0x20')}),this[_0x349b('0x6')][_0x349b('0x35')][_0x349b('0x2')]['on'](_0x349b('0x18'),(_0x591293,_0x53c0bc,_0x3ec69e)=>{const {type:_0x142666,id:_0x1e1797}=_0x1ee997['_splitMarkerName'](_0x53c0bc[_0x349b('0x0')]),_0x2625f8=_0x1ee997[_0x349b('0x4')](_0x1e1797),_0x1ad6d7=_0x2625f8[_0x349b('0x1e')];if(_0x349b('0x1d')!=_0x2625f8[_0x349b('0x1a')]||!_0x1ad6d7||_0x349b('0x2f')!=_0x1ad6d7[_0x349b('0x1b')])return;const _0x434ec3=_0x3ec69e['mapper'][_0x349b('0x34')](_0x53c0bc[_0x349b('0x0')]);if(_0x434ec3)for(const _0x2a9780 of _0x434ec3)_0x3ec69e[_0x349b('0x23')][_0x349b('0x15')](_0x349b('0x14')+_0x142666,_0x2a9780),_0x3ec69e['writer'][_0x349b('0x15')](_0x349b('0x1f'),_0x2a9780),_0x3ec69e[_0x349b('0x23')][_0x349b('0x3a')](_0x349b('0x3b'),_0x2a9780),_0x3ec69e[_0x349b('0x25')][_0x349b('0x38')](_0x2a9780,_0x53c0bc[_0x349b('0x0')]);},{'priority':_0x349b('0x20')}),this[_0x349b('0x17')]();}['_registerLegacyDescription'](){const _0x31fbaa=this[_0x349b('0x6')],_0x5505e9=_0x31fbaa[_0x349b('0x5')];function _0x377db4(_0x38f118){return{'type':_0x349b('0x22'),'content':_0x3f070f(_0x5505e9,_0x349b('0x39'),_0x38f118)};}_0x31fbaa[_0x349b('0x9')][_0x349b('0xf')](_0x349b('0x2a'))[_0x349b('0x3c')][_0x349b('0x3e')](_0x45c9ae=>{if(_0x349b('0x1d')!=_0x45c9ae[_0x349b('0x1a')])return;const {data:_0x5a126}=_0x45c9ae;if(_0x5a126){if(_0x349b('0x13')==_0x5a126['commandName']){const _0x1659a5=_0x5a126[_0x349b('0x33')][0x0][_0x349b('0x30')];return _0x377db4(_0x3f070f(_0x5505e9,_0x1659a5?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if(_0x349b('0x2f')==_0x5a126[_0x349b('0x1b')]){const _0xd0ae2d=_0x5a126[_0x349b('0x33')][0x0][_0x349b('0x30')];return _0x377db4(_0x3f070f(_0x5505e9,_0xd0ae2d?_0x349b('0x3'):'FORMAT_REGULAR_COLUMN'));}}});}}
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'));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4254=['findAncestor','format','map','createRangeOn','value','commands','isInContent','splitTableCellHorizontally','requires','_suggestionFactory','formatInline','mergeTableCells','accept','markMultiRangeBlockFormat','subType','_isForcedDefaultExecutionBlock','plugins','low','filter','getRanges','registerDescriptionCallback','direction','_tablePostFixingSubtypes','createTableWalker','mergeTableCellUp','refresh','_areMergableCells','$graveyard','detach','root','_areSelectedCellsMergable','element','cell','*Merge\x20cells*','stop','_descriptionFactory','selection','TrackChangesEditing','afterInit','_acceptFormatSuggestionCallbackFactory','insertion','length','get','getFirstPosition','type','deletion','horizontally','execute','isEnabled','trackChanges','find','document','mergeTableCellRight','registerCustomCallback','locale','formatBlock','model','change','enableCommand','size','getSelectionAffectedTableCells','TableEditing','editor','author','has','add','mergeTableCellDown','containsRange','TableUtils','splitTableCellVertically','from','getAncestors','commandName','getSuggestions','mergeTableCellLeft','tableCell','*Split\x20cell:*\x20horizontally'];(function(_0x310abd,_0x425411){const _0x351433=function(_0x53037e){while(--_0x53037e){_0x310abd['push'](_0x310abd['shift']());}};_0x351433(++_0x425411);}(_0x4254,0x132));const _0x3514=function(_0x310abd,_0x425411){_0x310abd=_0x310abd-0x0;let _0x351433=_0x4254[_0x310abd];return _0x351433;};import{Plugin as _0x373e2d}from'ckeditor5/src/core';import _0x43dc52 from'./table';import{LiveRange as _0x23b489}from'ckeditor5/src/engine';import{getTranslation as _0x3ce9e3}from'../utils/common-translations';export default class yt extends _0x373e2d{static get[_0x3514('0xa')](){return[_0x43dc52];}[_0x3514('0x28')](){const _0x36a187=this[_0x3514('0x40')],_0x38c252=_0x36a187[_0x3514('0x3a')]['document'][_0x3514('0x26')],_0x290fbe=_0x36a187[_0x3514('0x38')];if(!_0x36a187['plugins']['has'](_0x3514('0x3f')))return;const _0x167b8c=_0x36a187['plugins'][_0x3514('0x2c')](_0x3514('0x27')),_0x4cd69a=_0x36a187['plugins'][_0x3514('0x2c')](_0x3514('0x46')),_0xe98b3a=_0x36a187[_0x3514('0x12')]['get'](_0x43dc52);_0xe98b3a[_0x3514('0x18')]['push'](_0x3514('0xd')),_0x167b8c[_0x3514('0x3c')](_0x3514('0xd'),()=>{const _0x3f473f=_0x4cd69a[_0x3514('0x3e')](_0x36a187['model'][_0x3514('0x35')][_0x3514('0x26')]);_0x36a187[_0x3514('0x3a')]['change'](()=>{_0x167b8c[_0x3514('0xf')](_0x3f473f,{'commandName':'mergeTableCells','commandParams':[]},[],_0x3514('0xd'));});}),_0x36a187[_0x3514('0x7')]['get'](_0x3514('0xd'))['on']('execute',(_0x586a14,_0xc7397e)=>{_0x36a187['commands'][_0x3514('0x2c')](_0x3514('0x33'))[_0x3514('0x6')]&&(_0xc7397e[_0x3514('0x2b')]>0x0&&_0xc7397e[_0xc7397e['length']-0x1]&&_0xc7397e[_0xc7397e[_0x3514('0x2b')]-0x1]['forceDefaultExecution']||_0x167b8c[_0x3514('0x11')]||this[_0x3514('0x20')]()||_0x586a14[_0x3514('0x24')]());},{'priority':'highest'});for(const _0x2d92ca of[_0x3514('0x1a'),_0x3514('0x36'),'mergeTableCellDown','mergeTableCellLeft']){const _0x435e8a=_0x36a187['commands'][_0x3514('0x2c')](_0x2d92ca);_0x167b8c[_0x3514('0x3c')](_0x2d92ca,()=>{const _0x4123c0=_0x36a187[_0x3514('0x3a')]['document']['selection'][_0x3514('0x2d')]()[_0x3514('0x49')]()[_0x3514('0x34')](_0x3f8c56=>_0x3f8c56['is'](_0x3514('0x21'),_0x3514('0x0'))),_0x1003d0=_0x435e8a[_0x3514('0x6')];_0x36a187['model']['change'](()=>{_0x167b8c[_0x3514('0xf')]([_0x4123c0,_0x1003d0],{'commandName':_0x3514('0xd'),'commandParams':[]},[],_0x3514('0xd'));});});}for(const _0x5f0c4b of['splitTableCellVertically',_0x3514('0x9')]){const _0x4e1368=_0x36a187[_0x3514('0x7')][_0x3514('0x2c')](_0x5f0c4b);_0x167b8c[_0x3514('0x3c')](_0x5f0c4b,()=>{const _0xb20d92=_0x4cd69a[_0x3514('0x3e')](_0x36a187[_0x3514('0x3a')]['document'][_0x3514('0x26')])[0x0],_0x14f461=_0xb20d92[_0x3514('0x2')]('table'),{column:_0x41f2a9,row:_0x647be4}=_0x4cd69a['getCellLocation'](_0xb20d92);let _0x33292d=[];if(_0x3514('0x30')==_0x4e1368[_0x3514('0x17')]){const _0x5f0440=_0x4cd69a[_0x3514('0x19')](_0x14f461,{'startRow':_0x647be4,'endRow':_0x647be4,'includeAllSlots':!0x0});_0x33292d=Array[_0x3514('0x48')](_0x5f0440)[_0x3514('0x4')](_0x16d8e1=>_0x16d8e1[_0x3514('0x22')]);}else{const _0x6e2274=_0x4cd69a[_0x3514('0x19')](_0x14f461,{'column':_0x41f2a9,'includeAllSlots':!0x0});_0x33292d=Array[_0x3514('0x48')](_0x6e2274)[_0x3514('0x4')](_0x24d9e0=>_0x24d9e0[_0x3514('0x22')]);}_0x36a187[_0x3514('0x3a')][_0x3514('0x3b')](_0x7f45=>{_0x167b8c['markBlockFormat'](_0x7f45['createRangeOn'](_0xb20d92),{'commandName':_0x5f0c4b,'commandParams':[]},_0x33292d,_0x5f0c4b);});});}_0x167b8c[_0x3514('0x25')][_0x3514('0x16')](_0x11f08a=>{if('formatBlock'!=_0x11f08a[_0x3514('0x2e')]&&_0x3514('0xc')!=_0x11f08a[_0x3514('0x2e')])return;const {data:_0x46b988}=_0x11f08a;return _0x46b988&&_0x3514('0xd')==_0x46b988[_0x3514('0x4a')]?{'type':'format','content':_0x3ce9e3(_0x290fbe,_0x3514('0x23'))}:void 0x0;}),_0x167b8c[_0x3514('0x25')][_0x3514('0x16')](_0x5d518e=>{if('formatBlock'!=_0x5d518e['type']&&_0x3514('0xc')!=_0x5d518e[_0x3514('0x2e')])return;const {data:_0x2d89e6}=_0x5d518e;return _0x2d89e6?_0x3514('0x47')==_0x2d89e6[_0x3514('0x4a')]?{'type':'format','content':_0x3ce9e3(_0x290fbe,'*Split\x20cell:*\x20vertically')}:_0x3514('0x9')==_0x2d89e6[_0x3514('0x4a')]?{'type':_0x3514('0x3'),'content':_0x3ce9e3(_0x290fbe,_0x3514('0x1'))}:void 0x0:void 0x0;});const _0x4d3f51=_0xe98b3a[_0x3514('0x29')]();for(const _0x5067e2 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown',_0x3514('0x4c')])_0x167b8c[_0x3514('0xb')][_0x3514('0x37')]('formatBlock',_0x5067e2,'accept',_0x4d3f51);for(const _0x37d862 of[_0x3514('0x47'),'splitTableCellHorizontally'])_0x167b8c[_0x3514('0xb')][_0x3514('0x37')](_0x3514('0x39'),_0x37d862,_0x3514('0xe'),_0x4d3f51);_0x167b8c[_0x3514('0xb')][_0x3514('0x37')](_0x3514('0x39'),_0x3514('0xd'),_0x3514('0xe'),_0x3df376=>{_0x36a187[_0x3514('0x3a')][_0x3514('0x3b')](_0x4bf83f=>{const _0xe636f6=Array[_0x3514('0x48')](_0x38c252[_0x3514('0x15')]())[_0x3514('0x4')](_0x674f73=>_0x23b489['fromRange'](_0x674f73));_0x4bf83f['setSelection'](_0x3df376),_0x36a187[_0x3514('0x7')][_0x3514('0x2c')]('mergeTableCells')[_0x3514('0x1b')](),_0x36a187[_0x3514('0x31')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x3ce831=_0xe636f6[_0x3514('0x14')](_0x5daf68=>_0x3514('0x1d')!=_0x5daf68[_0x3514('0x1f')]['rootName']);_0x3ce831[_0x3514('0x2b')]>0x0&&_0x4bf83f['setSelection'](_0x3ce831);for(const _0x5953b3 of _0xe636f6)_0x5953b3[_0x3514('0x1e')]();});});for(const _0x22e789 of[_0x3514('0x1a'),_0x3514('0x44'),'mergeTableCellLeft',_0x3514('0x36')]){const _0x7780e1=_0x36a187[_0x3514('0x7')]['get'](_0x22e789);_0x7780e1['on']('set:isEnabled',(_0x514021,_0x50b5dc,_0x217ae0)=>{if(_0x217ae0){const _0x2ce113=_0x36a187['model'][_0x3514('0x35')][_0x3514('0x26')][_0x3514('0x2d')]()[_0x3514('0x49')]()[_0x3514('0x34')](_0x217547=>_0x217547['is'](_0x3514('0x21'),_0x3514('0x0')));this['_areMergableCells'](_0x7780e1['value'],_0x2ce113)||(_0x514021['return']=!0x1,_0x514021['stop']());}},{'priority':_0x3514('0x13')});}}[_0x3514('0x20')](){const _0x264ea3=this['editor']['commands']['get'](_0x3514('0xd')),_0x4d5f69=this['editor'][_0x3514('0x12')][_0x3514('0x2c')](_0x3514('0x46'));if(!_0x264ea3[_0x3514('0x32')])return!0x1;const _0x2b0bcf=_0x4d5f69[_0x3514('0x3e')](this[_0x3514('0x40')][_0x3514('0x3a')][_0x3514('0x35')][_0x3514('0x26')]);for(const _0x16d112 of _0x2b0bcf)for(const _0x9a3f47 of _0x2b0bcf)if(_0x16d112!=_0x9a3f47&&!this[_0x3514('0x1c')](_0x16d112,_0x9a3f47))return!0x1;return!0x0;}[_0x3514('0x1c')](_0x30d5b6,_0x159f0d){const _0x144a9a=this[_0x3514('0x40')][_0x3514('0x12')][_0x3514('0x2c')](_0x3514('0x27')),_0x59dbad=this['editor'][_0x3514('0x3a')]['createRangeOn'](_0x30d5b6),_0x282c1d=this[_0x3514('0x40')]['model'][_0x3514('0x5')](_0x159f0d),_0x3f8514=new Set(),_0x4c90f4=new Set();for(const _0x23b701 of _0x144a9a[_0x3514('0x4b')]())if((_0x3514('0x2a')==_0x23b701[_0x3514('0x2e')]||_0x3514('0x2f')==_0x23b701[_0x3514('0x2e')]||_0x3514('0xd')==_0x23b701[_0x3514('0x10')])&&_0x23b701[_0x3514('0x8')])for(const _0x3a75c7 of _0x23b701[_0x3514('0x15')]())_0x3a75c7[_0x3514('0x45')](_0x59dbad,!0x0)&&_0x3f8514[_0x3514('0x43')](_0x23b701[_0x3514('0x2e')]+':'+_0x23b701[_0x3514('0x41')]['id']),_0x3a75c7[_0x3514('0x45')](_0x282c1d,!0x0)&&_0x4c90f4['add'](_0x23b701[_0x3514('0x2e')]+':'+_0x23b701['author']['id']);if(_0x3f8514[_0x3514('0x3d')]!=_0x4c90f4[_0x3514('0x3d')])return!0x1;for(const _0xd8cc2 of _0x3f8514)if(!_0x4c90f4[_0x3514('0x42')](_0xd8cc2))return!0x1;return!0x0;}}
23
+ const _0x27f4=['trackChanges','editor','*Split\x20cell:*\x20horizontally','_descriptionFactory','return','has','insertion','subType','filter','createRangeOn','_acceptFormatSuggestionCallbackFactory','TableEditing','mergeTableCellLeft','low','document','from','element','format','mergeTableCellRight','mergeTableCellUp','markBlockFormat','deletion','requires','_areSelectedCellsMergable','createTableWalker','formatInline','TableUtils','commandName','change','table','execute','splitTableCellHorizontally','horizontally','author','rootName','get','getFirstPosition','getRanges','commands','_areMergableCells','getAncestors','mergeTableCells','accept','splitTableCellVertically','getCellLocation','find','markMultiRangeBlockFormat','value','set:isEnabled','detach','formatBlock','registerDescriptionCallback','_suggestionFactory','selection','*Merge\x20cells*','map','length','root','plugins','mergeTableCellDown','getSelectionAffectedTableCells','model','add','_tablePostFixingSubtypes','type','containsRange','findAncestor','enableCommand','registerCustomCallback','cell','$graveyard','tableCell'];(function(_0x33c2e2,_0x27f4e3){const _0x36aa39=function(_0x3887c3){while(--_0x3887c3){_0x33c2e2['push'](_0x33c2e2['shift']());}};_0x36aa39(++_0x27f4e3);}(_0x27f4,0x13d));const _0x36aa=function(_0x33c2e2,_0x27f4e3){_0x33c2e2=_0x33c2e2-0x0;let _0x36aa39=_0x27f4[_0x33c2e2];return _0x36aa39;};import{Plugin as _0x26c818}from'ckeditor5/src/core';import _0x89496f from'./table';import{LiveRange as _0xb99239}from'ckeditor5/src/engine';import{getTranslation as _0x2e38e0}from'../utils/common-translations';export default class yt extends _0x26c818{static get[_0x36aa('0x41')](){return[_0x89496f];}['afterInit'](){const _0x473158=this[_0x36aa('0x2c')],_0x4493c5=_0x473158[_0x36aa('0x20')][_0x36aa('0x39')][_0x36aa('0x18')],_0x3ca5af=_0x473158['locale'];if(!_0x473158[_0x36aa('0x1d')][_0x36aa('0x30')](_0x36aa('0x36')))return;const _0x135cb5=_0x473158[_0x36aa('0x1d')][_0x36aa('0x6')]('TrackChangesEditing'),_0xb7f449=_0x473158[_0x36aa('0x1d')][_0x36aa('0x6')]('TableUtils'),_0x224777=_0x473158['plugins'][_0x36aa('0x6')](_0x89496f);_0x224777[_0x36aa('0x22')]['push'](_0x36aa('0xc')),_0x135cb5[_0x36aa('0x26')](_0x36aa('0xc'),()=>{const _0x528392=_0xb7f449[_0x36aa('0x1f')](_0x473158[_0x36aa('0x20')][_0x36aa('0x39')][_0x36aa('0x18')]);_0x473158[_0x36aa('0x20')][_0x36aa('0x47')](()=>{_0x135cb5[_0x36aa('0x11')](_0x528392,{'commandName':_0x36aa('0xc'),'commandParams':[]},[],_0x36aa('0xc'));});}),_0x473158[_0x36aa('0x9')][_0x36aa('0x6')]('mergeTableCells')['on'](_0x36aa('0x1'),(_0x2f4fdc,_0xfb2da3)=>{_0x473158['commands']['get'](_0x36aa('0x2b'))[_0x36aa('0x12')]&&(_0xfb2da3['length']>0x0&&_0xfb2da3[_0xfb2da3['length']-0x1]&&_0xfb2da3[_0xfb2da3[_0x36aa('0x1b')]-0x1]['forceDefaultExecution']||_0x135cb5['_isForcedDefaultExecutionBlock']||this[_0x36aa('0x42')]()||_0x2f4fdc['stop']());},{'priority':'highest'});for(const _0x1600e2 of[_0x36aa('0x3e'),_0x36aa('0x3d'),_0x36aa('0x1e'),_0x36aa('0x37')]){const _0x535e65=_0x473158[_0x36aa('0x9')][_0x36aa('0x6')](_0x1600e2);_0x135cb5['enableCommand'](_0x1600e2,()=>{const _0x32674c=_0x473158[_0x36aa('0x20')][_0x36aa('0x39')][_0x36aa('0x18')]['getFirstPosition']()[_0x36aa('0xb')]()[_0x36aa('0x10')](_0x2427ef=>_0x2427ef['is']('element',_0x36aa('0x2a'))),_0x2abea8=_0x535e65[_0x36aa('0x12')];_0x473158[_0x36aa('0x20')][_0x36aa('0x47')](()=>{_0x135cb5['markMultiRangeBlockFormat']([_0x32674c,_0x2abea8],{'commandName':'mergeTableCells','commandParams':[]},[],_0x36aa('0xc'));});});}for(const _0x21af18 of[_0x36aa('0xe'),_0x36aa('0x2')]){const _0x5ca3e3=_0x473158[_0x36aa('0x9')][_0x36aa('0x6')](_0x21af18);_0x135cb5['enableCommand'](_0x21af18,()=>{const _0x47bf7f=_0xb7f449[_0x36aa('0x1f')](_0x473158[_0x36aa('0x20')][_0x36aa('0x39')][_0x36aa('0x18')])[0x0],_0x3fcd56=_0x47bf7f[_0x36aa('0x25')](_0x36aa('0x0')),{column:_0x104be9,row:_0x374db1}=_0xb7f449[_0x36aa('0xf')](_0x47bf7f);let _0x3f3537=[];if(_0x36aa('0x3')==_0x5ca3e3['direction']){const _0x4e4cc8=_0xb7f449[_0x36aa('0x43')](_0x3fcd56,{'startRow':_0x374db1,'endRow':_0x374db1,'includeAllSlots':!0x0});_0x3f3537=Array[_0x36aa('0x3a')](_0x4e4cc8)[_0x36aa('0x1a')](_0x3bc85f=>_0x3bc85f[_0x36aa('0x28')]);}else{const _0x441f9c=_0xb7f449[_0x36aa('0x43')](_0x3fcd56,{'column':_0x104be9,'includeAllSlots':!0x0});_0x3f3537=Array[_0x36aa('0x3a')](_0x441f9c)['map'](_0x18f429=>_0x18f429[_0x36aa('0x28')]);}_0x473158['model'][_0x36aa('0x47')](_0x395f10=>{_0x135cb5[_0x36aa('0x3f')](_0x395f10['createRangeOn'](_0x47bf7f),{'commandName':_0x21af18,'commandParams':[]},_0x3f3537,_0x21af18);});});}_0x135cb5['_descriptionFactory']['registerDescriptionCallback'](_0x39eb90=>{if(_0x36aa('0x15')!=_0x39eb90['type']&&_0x36aa('0x44')!=_0x39eb90[_0x36aa('0x23')])return;const {data:_0x40850f}=_0x39eb90;return _0x40850f&&'mergeTableCells'==_0x40850f[_0x36aa('0x46')]?{'type':'format','content':_0x2e38e0(_0x3ca5af,_0x36aa('0x19'))}:void 0x0;}),_0x135cb5[_0x36aa('0x2e')][_0x36aa('0x16')](_0x62740d=>{if(_0x36aa('0x15')!=_0x62740d[_0x36aa('0x23')]&&'formatInline'!=_0x62740d['type'])return;const {data:_0x51bd9d}=_0x62740d;return _0x51bd9d?_0x36aa('0xe')==_0x51bd9d[_0x36aa('0x46')]?{'type':_0x36aa('0x3c'),'content':_0x2e38e0(_0x3ca5af,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x51bd9d[_0x36aa('0x46')]?{'type':_0x36aa('0x3c'),'content':_0x2e38e0(_0x3ca5af,_0x36aa('0x2d'))}:void 0x0:void 0x0;});const _0x306341=_0x224777[_0x36aa('0x35')]();for(const _0x443881 of[_0x36aa('0x3e'),_0x36aa('0x3d'),_0x36aa('0x1e'),_0x36aa('0x37')])_0x135cb5[_0x36aa('0x17')][_0x36aa('0x27')]('formatBlock',_0x443881,'accept',_0x306341);for(const _0x177784 of['splitTableCellVertically',_0x36aa('0x2')])_0x135cb5[_0x36aa('0x17')][_0x36aa('0x27')](_0x36aa('0x15'),_0x177784,'accept',_0x306341);_0x135cb5[_0x36aa('0x17')]['registerCustomCallback'](_0x36aa('0x15'),_0x36aa('0xc'),_0x36aa('0xd'),_0x27359c=>{_0x473158['model']['change'](_0x52edfe=>{const _0x36d401=Array[_0x36aa('0x3a')](_0x4493c5[_0x36aa('0x8')]())[_0x36aa('0x1a')](_0x4ac5b9=>_0xb99239['fromRange'](_0x4ac5b9));_0x52edfe['setSelection'](_0x27359c),_0x473158[_0x36aa('0x9')][_0x36aa('0x6')](_0x36aa('0xc'))['refresh'](),_0x473158['execute'](_0x36aa('0xc'),{'forceDefaultExecution':!0x0});const _0x286db1=_0x36d401[_0x36aa('0x33')](_0x30b072=>_0x36aa('0x29')!=_0x30b072[_0x36aa('0x1c')][_0x36aa('0x5')]);_0x286db1[_0x36aa('0x1b')]>0x0&&_0x52edfe['setSelection'](_0x286db1);for(const _0x1d95c1 of _0x36d401)_0x1d95c1[_0x36aa('0x14')]();});});for(const _0x1329dd of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft',_0x36aa('0x3d')]){const _0x3dbccd=_0x473158[_0x36aa('0x9')][_0x36aa('0x6')](_0x1329dd);_0x3dbccd['on'](_0x36aa('0x13'),(_0x507e5d,_0x5e7cc2,_0x16cf36)=>{if(_0x16cf36){const _0x2895b2=_0x473158[_0x36aa('0x20')][_0x36aa('0x39')][_0x36aa('0x18')][_0x36aa('0x7')]()[_0x36aa('0xb')]()[_0x36aa('0x10')](_0x827425=>_0x827425['is'](_0x36aa('0x3b'),'tableCell'));this[_0x36aa('0xa')](_0x3dbccd[_0x36aa('0x12')],_0x2895b2)||(_0x507e5d[_0x36aa('0x2f')]=!0x1,_0x507e5d['stop']());}},{'priority':_0x36aa('0x38')});}}[_0x36aa('0x42')](){const _0x16f17c=this[_0x36aa('0x2c')][_0x36aa('0x9')][_0x36aa('0x6')](_0x36aa('0xc')),_0x44b94b=this[_0x36aa('0x2c')][_0x36aa('0x1d')][_0x36aa('0x6')](_0x36aa('0x45'));if(!_0x16f17c['isEnabled'])return!0x1;const _0x48e3b7=_0x44b94b['getSelectionAffectedTableCells'](this[_0x36aa('0x2c')][_0x36aa('0x20')][_0x36aa('0x39')]['selection']);for(const _0x408115 of _0x48e3b7)for(const _0x1e3158 of _0x48e3b7)if(_0x408115!=_0x1e3158&&!this['_areMergableCells'](_0x408115,_0x1e3158))return!0x1;return!0x0;}[_0x36aa('0xa')](_0x1267a6,_0x472672){const _0x4ddc46=this[_0x36aa('0x2c')][_0x36aa('0x1d')][_0x36aa('0x6')]('TrackChangesEditing'),_0x49b77b=this[_0x36aa('0x2c')][_0x36aa('0x20')][_0x36aa('0x34')](_0x1267a6),_0x3b7d31=this[_0x36aa('0x2c')][_0x36aa('0x20')][_0x36aa('0x34')](_0x472672),_0x484a0e=new Set(),_0x759494=new Set();for(const _0x29336c of _0x4ddc46['getSuggestions']())if((_0x36aa('0x31')==_0x29336c[_0x36aa('0x23')]||_0x36aa('0x40')==_0x29336c[_0x36aa('0x23')]||'mergeTableCells'==_0x29336c[_0x36aa('0x32')])&&_0x29336c['isInContent'])for(const _0x2637a1 of _0x29336c[_0x36aa('0x8')]())_0x2637a1[_0x36aa('0x24')](_0x49b77b,!0x0)&&_0x484a0e[_0x36aa('0x21')](_0x29336c[_0x36aa('0x23')]+':'+_0x29336c[_0x36aa('0x4')]['id']),_0x2637a1[_0x36aa('0x24')](_0x3b7d31,!0x0)&&_0x759494['add'](_0x29336c['type']+':'+_0x29336c[_0x36aa('0x4')]['id']);if(_0x484a0e['size']!=_0x759494['size'])return!0x1;for(const _0x40b7d0 of _0x484a0e)if(!_0x759494[_0x36aa('0x30')](_0x40b7d0))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511c=['locale','_descriptionFactory','editor','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','TrackChangesEditing','afterInit','enableCommand','plugins','commands','registerElementLabel','get','insertTableOfContents'];(function(_0x59d9dc,_0x511cbf){const _0x4b626b=function(_0x2f2cb6){while(--_0x2f2cb6){_0x59d9dc['push'](_0x59d9dc['shift']());}};_0x4b626b(++_0x511cbf);}(_0x511c,0x1dd));const _0x4b62=function(_0x59d9dc,_0x511cbf){_0x59d9dc=_0x59d9dc-0x0;let _0x4b626b=_0x511c[_0x59d9dc];return _0x4b626b;};import{Plugin as _0x2a2614}from'ckeditor5/src/core';import{getTranslation as _0x2d207f}from'../utils/common-translations';export default class _t extends _0x2a2614{[_0x4b62('0xa')](){const _0x391b4f=this[_0x4b62('0x6')];if(!_0x391b4f[_0x4b62('0x0')][_0x4b62('0x2')](_0x4b62('0x3')))return;_0x391b4f[_0x4b62('0xc')][_0x4b62('0x2')](_0x4b62('0x9'))[_0x4b62('0xb')](_0x4b62('0x3'));const _0x27f2cc=_0x391b4f[_0x4b62('0xc')][_0x4b62('0x2')](_0x4b62('0x9')),_0x2eb911=_0x391b4f[_0x4b62('0x4')];_0x27f2cc[_0x4b62('0x5')][_0x4b62('0x1')](_0x4b62('0x8'),_0x2c60b0=>_0x2d207f(_0x2eb911,_0x4b62('0x7'),_0x2c60b0));}}
23
+ const _0x1f6b=['_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','locale','TrackChangesEditing','tableOfContents','commands','enableCommand','get','afterInit','editor','plugins','insertTableOfContents'];(function(_0x1465e1,_0x1f6b3d){const _0x39129f=function(_0x3b1fbd){while(--_0x3b1fbd){_0x1465e1['push'](_0x1465e1['shift']());}};_0x39129f(++_0x1f6b3d);}(_0x1f6b,0xb9));const _0x3912=function(_0x1465e1,_0x1f6b3d){_0x1465e1=_0x1465e1-0x0;let _0x39129f=_0x1f6b[_0x1465e1];return _0x39129f;};import{Plugin as _0x48c8ca}from'ckeditor5/src/core';import{getTranslation as _0x26a220}from'../utils/common-translations';export default class Ct extends _0x48c8ca{[_0x3912('0x6')](){const _0x15c912=this[_0x3912('0x7')];if(!_0x15c912[_0x3912('0x3')][_0x3912('0x5')](_0x3912('0x9')))return;_0x15c912[_0x3912('0x8')][_0x3912('0x5')](_0x3912('0x1'))[_0x3912('0x4')](_0x3912('0x9'));const _0x1ad5e7=_0x15c912['plugins']['get']('TrackChangesEditing'),_0x32b3ed=_0x15c912[_0x3912('0x0')];_0x1ad5e7[_0x3912('0xa')][_0x3912('0xc')](_0x3912('0x2'),_0xf42348=>_0x26a220(_0x32b3ed,_0x3912('0xb'),_0xf42348));}}