@ckeditor/ckeditor5-track-changes 39.0.2 → 40.1.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 (179) hide show
  1. package/LICENSE.md +3 -3
  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/contexts.json +20 -1
  52. package/lang/translations/ar.po +76 -0
  53. package/lang/translations/az.po +76 -0
  54. package/lang/translations/bg.po +76 -0
  55. package/lang/translations/bn.po +76 -0
  56. package/lang/translations/ca.po +76 -0
  57. package/lang/translations/cs.po +76 -0
  58. package/lang/translations/da.po +76 -0
  59. package/lang/translations/de.po +76 -0
  60. package/lang/translations/el.po +76 -0
  61. package/lang/translations/en-au.po +76 -0
  62. package/lang/translations/en.po +76 -0
  63. package/lang/translations/es.po +76 -0
  64. package/lang/translations/et.po +76 -0
  65. package/lang/translations/fi.po +76 -0
  66. package/lang/translations/fr.po +76 -0
  67. package/lang/translations/gl.po +76 -0
  68. package/lang/translations/he.po +76 -0
  69. package/lang/translations/hi.po +76 -0
  70. package/lang/translations/hr.po +76 -0
  71. package/lang/translations/hu.po +76 -0
  72. package/lang/translations/id.po +76 -0
  73. package/lang/translations/it.po +76 -0
  74. package/lang/translations/ja.po +76 -0
  75. package/lang/translations/ko.po +76 -0
  76. package/lang/translations/lt.po +76 -0
  77. package/lang/translations/lv.po +76 -0
  78. package/lang/translations/ms.po +76 -0
  79. package/lang/translations/nl.po +76 -0
  80. package/lang/translations/no.po +76 -0
  81. package/lang/translations/pl.po +76 -0
  82. package/lang/translations/pt-br.po +94 -18
  83. package/lang/translations/pt.po +76 -0
  84. package/lang/translations/ro.po +76 -0
  85. package/lang/translations/ru.po +76 -0
  86. package/lang/translations/sk.po +76 -0
  87. package/lang/translations/sq.po +76 -0
  88. package/lang/translations/sr-latn.po +76 -0
  89. package/lang/translations/sr.po +76 -0
  90. package/lang/translations/sv.po +76 -0
  91. package/lang/translations/th.po +76 -0
  92. package/lang/translations/tk.po +76 -0
  93. package/lang/translations/tr.po +76 -0
  94. package/lang/translations/tt.po +76 -0
  95. package/lang/translations/uk.po +76 -0
  96. package/lang/translations/ur.po +76 -0
  97. package/lang/translations/vi.po +76 -0
  98. package/lang/translations/zh-cn.po +76 -0
  99. package/lang/translations/zh.po +76 -0
  100. package/package.json +3 -3
  101. package/src/commands/acceptsuggestioncommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/executeonallsuggestionscommand.js +1 -1
  104. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  105. package/src/commands/trackchangescommand.js +1 -1
  106. package/src/index.d.ts +1 -1
  107. package/src/integrations/aiassistant.d.ts +17 -0
  108. package/src/integrations/aiassistant.js +23 -0
  109. package/src/integrations/alignment.js +1 -1
  110. package/src/integrations/basicstyles.js +1 -1
  111. package/src/integrations/blockquote.js +1 -1
  112. package/src/integrations/ckbox.js +1 -1
  113. package/src/integrations/codeblock.js +1 -1
  114. package/src/integrations/comments.js +1 -1
  115. package/src/integrations/deletecommand.js +1 -1
  116. package/src/integrations/documentlist.js +1 -1
  117. package/src/integrations/documentlistproperties.js +1 -1
  118. package/src/integrations/entercommand.js +1 -1
  119. package/src/integrations/findandreplace.d.ts +1 -1
  120. package/src/integrations/findandreplace.js +1 -1
  121. package/src/integrations/font.js +1 -1
  122. package/src/integrations/formatpainter.js +1 -1
  123. package/src/integrations/heading.js +1 -1
  124. package/src/integrations/highlight.js +1 -1
  125. package/src/integrations/horizontalline.js +1 -1
  126. package/src/integrations/htmlembed.js +1 -1
  127. package/src/integrations/image.js +1 -1
  128. package/src/integrations/imagereplace.d.ts +0 -6
  129. package/src/integrations/imagereplace.js +1 -1
  130. package/src/integrations/imagestyle.d.ts +17 -0
  131. package/src/integrations/imagestyle.js +23 -0
  132. package/src/integrations/importword.js +1 -1
  133. package/src/integrations/indent.js +1 -1
  134. package/src/integrations/inputcommand.js +1 -1
  135. package/src/integrations/link.js +1 -1
  136. package/src/integrations/list.js +1 -1
  137. package/src/integrations/listproperties.js +1 -1
  138. package/src/integrations/mediaembed.js +1 -1
  139. package/src/integrations/mention.js +1 -1
  140. package/src/integrations/pagebreak.js +1 -1
  141. package/src/integrations/paragraph.js +1 -1
  142. package/src/integrations/removeformat.js +1 -1
  143. package/src/integrations/restrictededitingmode.js +1 -1
  144. package/src/integrations/shiftentercommand.js +1 -1
  145. package/src/integrations/standardeditingmode.js +1 -1
  146. package/src/integrations/style.d.ts +0 -1
  147. package/src/integrations/style.js +1 -1
  148. package/src/integrations/table.js +1 -1
  149. package/src/integrations/tablecaption.js +1 -1
  150. package/src/integrations/tableclipboard.js +1 -1
  151. package/src/integrations/tablecolumnresize.js +1 -1
  152. package/src/integrations/tableheadings.js +1 -1
  153. package/src/integrations/tablemergesplit.js +1 -1
  154. package/src/integrations/tableofcontents.js +1 -1
  155. package/src/integrations/tableproperties.js +1 -1
  156. package/src/integrations/template.js +1 -1
  157. package/src/integrations/title.js +1 -1
  158. package/src/integrations/undo.js +1 -1
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +26 -11
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +25 -5
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +5 -69
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +22 -19
  167. package/src/trackchangesdata.js +1 -1
  168. package/src/trackchangesediting.d.ts +59 -2
  169. package/src/trackchangesediting.js +1 -1
  170. package/src/trackchangesui.js +1 -1
  171. package/src/ui/suggestioncontroller.js +1 -1
  172. package/src/ui/view/basesuggestionthreadview.js +1 -1
  173. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  174. package/src/ui/view/suggestionthreadview.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/utils.js +1 -1
  177. package/theme/icons/track-changes-accept.svg +1 -1
  178. package/theme/icons/track-changes-discard.svg +1 -1
  179. package/theme/icons/track-changes.svg +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x262d=['getItems','enableCommand','selection','TrackChangesEditing','change','markInlineFormat','_getRangesWithClasses','value','inline','includes','getRanges','every','config','StyleUtils','modelElements','createRangeOn','plugins','registerDescriptionCallback','toLowerCase','getSelectedBlocks','style.definitions','format','isBlock','commands','style:','push','normalizeConfig','editor','getDefinitionsForView','from','*Format:*\x20%0','find','styleName','commandParams','_getStyleDefinition','document','markBlockFormat','getAncestors','has','forceValue','name','style','Style','getAttribute','add','locale','isCollapsed','afterInit','model','get'];(function(_0x122612,_0x262d8b){const _0x356871=function(_0x5c6d2e){while(--_0x5c6d2e){_0x122612['push'](_0x122612['shift']());}};_0x356871(++_0x262d8b);}(_0x262d,0xb0));const _0x3568=function(_0x122612,_0x262d8b){_0x122612=_0x122612-0x0;let _0x356871=_0x262d[_0x122612];return _0x356871;};import{Plugin as _0x44ded7}from'ckeditor5/src/core';import{getTranslation as _0x2d813f}from'../utils/common-translations';export default class gt extends _0x44ded7{[_0x3568('0x15')](){const _0x2c0387=this[_0x3568('0x1')];if(!_0x2c0387[_0x3568('0x28')][_0x3568('0xc')](_0x3568('0x10')))return;const _0xd37930=_0x2c0387[_0x3568('0x2f')][_0x3568('0x17')](_0x3568('0xf')),_0x2575d0=_0x2c0387['plugins']['get'](_0x3568('0x1b')),_0x8f1a90=_0x2c0387[_0x3568('0x13')],_0x39e2fb=_0x2c0387['plugins']['get']('DataSchema'),_0x38662b=_0x2c0387[_0x3568('0x28')][_0x3568('0x17')](_0x3568('0x25'))[_0x3568('0x0')](_0x39e2fb,_0x2c0387[_0x3568('0x24')][_0x3568('0x17')](_0x3568('0x2c')));_0x2575d0[_0x3568('0x19')](_0x3568('0xf'),(_0x1afe40,{styleName:_0x43a20c})=>{const _0x3b54c9=_0x2c0387[_0x3568('0x16')][_0x3568('0x9')][_0x3568('0x1a')],_0x547048=this[_0x3568('0x8')](_0x43a20c,_0x38662b);if(!_0x547048)return;if(!_0xd37930['enabledStyles'][_0x3568('0x21')](_0x43a20c))return;if(_0x3b54c9[_0x3568('0x14')]&&!_0x547048[_0x3568('0x2e')])return void _0x1afe40({'styleName':_0x43a20c});const _0x2cad35=!_0xd37930[_0x3568('0x1f')]['includes'](_0x547048[_0x3568('0xe')]);if(_0x547048['isBlock']){const _0x5eaebb=function(_0x5870de,_0x3914fb){const _0x249cbf=new Set();for(const _0x41bf43 of _0x5870de){const _0x286ca6=_0x41bf43[_0x3568('0xb')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x465389 of _0x286ca6)if(_0x3914fb['includes'](_0x465389['name'])){_0x249cbf[_0x3568('0x12')](_0x465389);break;}}return _0x249cbf;}(_0x3b54c9[_0x3568('0x2b')](),_0x547048[_0x3568('0x26')]);_0x2c0387[_0x3568('0x16')]['change'](()=>{for(const _0x223375 of _0x5eaebb)_0x2575d0[_0x3568('0xa')](_0x223375,{'commandName':_0x3568('0xf'),'commandParams':[{'styleName':_0x43a20c,'forceValue':_0x2cad35}],'formatGroupId':_0x3568('0x30')+_0x43a20c});});}else{let _0xabc2c1=Array[_0x3568('0x3')](_0x3b54c9[_0x3568('0x22')]());if(!_0x2cad35){const _0x2f446=Array[_0x3568('0x3')](_0x39e2fb[_0x3568('0x2')](_0x547048['element'],!0x1))[0x0][_0x3568('0x16')],_0x59edc3=[];for(const _0x503c6e of _0xabc2c1){const _0x3aab5b=this[_0x3568('0x1e')](_0x2c0387[_0x3568('0x16')],_0x503c6e,_0x547048['classes'],_0x2f446);_0x59edc3[_0x3568('0x31')](..._0x3aab5b);}_0xabc2c1=_0x59edc3;}_0x2c0387[_0x3568('0x16')][_0x3568('0x1c')](()=>{for(const _0x286a64 of _0xabc2c1)_0x2575d0[_0x3568('0x1d')](_0x286a64,{'commandName':_0x3568('0xf'),'commandParams':[{'styleName':_0x43a20c,'forceValue':_0x2cad35}]});});}}),_0x2575d0['_descriptionFactory'][_0x3568('0x29')](_0x287aa0=>{const {data:_0xbdc503}=_0x287aa0;if(_0xbdc503&&_0x3568('0xf')===_0xbdc503['commandName'])return _0xbdc503[_0x3568('0x7')][0x0][_0x3568('0xd')]?{'type':'format','content':_0x2d813f(_0x8f1a90,_0x3568('0x4'),_0xbdc503[_0x3568('0x7')][0x0]['styleName'][_0x3568('0x2a')]())}:{'type':_0x3568('0x2d'),'content':_0x2d813f(_0x8f1a90,'*Remove\x20format:*\x20%0',_0xbdc503[_0x3568('0x7')][0x0][_0x3568('0x6')][_0x3568('0x2a')]())};});}[_0x3568('0x8')](_0x2a99e2,_0x243440){let _0x297f22=_0x243440['block'][_0x3568('0x5')](_0x16cd8a=>_0x16cd8a[_0x3568('0xe')]===_0x2a99e2);return _0x297f22||(_0x297f22=_0x243440[_0x3568('0x20')]['find'](_0x36e275=>_0x36e275[_0x3568('0xe')]===_0x2a99e2)),_0x297f22;}[_0x3568('0x1e')](_0x5228be,_0x133015,_0x92bb04,_0x1c34a9){const _0x55f7d8=[];for(const _0x4f58b0 of _0x133015[_0x3568('0x18')]()){const _0x590a59=_0x4f58b0[_0x3568('0x11')](_0x1c34a9);_0x590a59&&(_0x92bb04[_0x3568('0x23')](_0xda7285=>_0x590a59['classes'][_0x3568('0x21')](_0xda7285))&&_0x55f7d8[_0x3568('0x31')](_0x5228be[_0x3568('0x27')](_0x4f58b0)));}return _0x55f7d8;}}
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;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcc58=['substr','toLowerCase','document','differ','deletion','filter','rootName','left','minRow','isArray','map','enqueueChange','markMultiRangeDeletion','getItems','tableCell','createRangeOn','ELEMENT_TABLE_WITH_TEXT','registerDescriptionCallback','ELEMENT_TABLE_ROW','ELEMENT_TABLE_COLUMN','low','nodeAfter','tableColumn','selectTableColumn','length','removeClass','type','showSuggestionHighlights','createRangeIn','getFirstRange','options','start','getContainedElement','MIN_SAFE_INTEGER','isIntersectingWithRange','getSelectionAffectedTableCells','table','forceValue','insert','mapper','data','ELEMENT_TABLE','createTableWalker','getChanges','execute','selection','includes','fromRange','classes','*Insert:*\x20%0','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','$textProxy','position','change','isTouching','insertTableColumnLeft','createPositionAt','ELEMENT_TABLE_ROW_WITH_TEXT','maxRow','min','item','writer','push','downcastDispatcher','TableEditing','registerCustomCallback','_setupColumnsRowsFixing','get','values','removeTableRow','last','rowspan','getChildren','setSelection','startsWith','_splitMarkerName','tablePaste','commands','from','locale','max','hasAttribute','root','markMultiRangeInsertion','batch','TableUtils','registerElementLabel','nodeBefore','suggestion','some','span','element','order','end','colspan','_descriptionFactory','getRanges','*Remove:*\x20%0','plugins','cell','insertTableRowAbove','has','highest','removeTableColumn','enableCommand','editor','model','toViewElement','name','discard','above','getAttribute','detach','ELEMENT_TABLE_COLUMN_WITH_TEXT','tableRow','getSuggestion','insertTableRowBelow','accept','join','change:data','insertion','addMarker:suggestion','findAncestor','subType','_tablePostFixingSubtypes','getCellLocation','TrackChangesEditing','minColumn','first','isEqual','refresh','getColumnIndexes','$graveyard','_tableSuggestions','_getSuggestionCoords','insertTable','addClass','_getCoordsForCells','addRange'];(function(_0x3a1ac0,_0xcc58f1){const _0x354c98=function(_0x476ed4){while(--_0x476ed4){_0x3a1ac0['push'](_0x3a1ac0['shift']());}};_0x354c98(++_0xcc58f1);}(_0xcc58,0x158));const _0x354c=function(_0x3a1ac0,_0xcc58f1){_0x3a1ac0=_0x3a1ac0-0x0;let _0x354c98=_0xcc58[_0x3a1ac0];return _0x354c98;};import{Plugin as _0x4ac848}from'ckeditor5/src/core';import{LiveRange as _0x451ecb}from'ckeditor5/src/engine';import{setHighlightHandling as _0x4ed48f}from'ckeditor5/src/widget';import{getTranslation as _0x20a1cc}from'../utils/common-translations';export default class mt extends _0x4ac848{constructor(_0xfbc21d){super(_0xfbc21d),this[_0x354c('0x3d')]=[_0x354c('0x33'),'tableColumn'],this[_0x354c('0x46')]=new Set();}['afterInit'](){const _0x700f23=this[_0x354c('0x2a')],_0x57487f=_0x700f23['model'][_0x354c('0x4e')][_0x354c('0x79')];if(!_0x700f23[_0x354c('0x23')][_0x354c('0x26')](_0x354c('0x1')))return;const _0xb32df=_0x700f23[_0x354c('0x10')],_0x1fae45=_0x700f23['plugins']['get'](_0x354c('0x3f')),_0x324a94=_0x700f23[_0x354c('0x23')]['get'](_0x354c('0x16'));_0x1fae45[_0x354c('0x20')][_0x354c('0x17')]('table',_0x1d61be=>_0x20a1cc(_0xb32df,_0x354c('0x75'),_0x1d61be)),this['_setupColumnsRowsFixing'](),_0x1fae45[_0x354c('0x29')](_0x354c('0x48')),_0x1fae45['enableCommand']('selectTableRow'),_0x1fae45[_0x354c('0x29')](_0x354c('0x63'));for(const _0x36cf57 of[_0x354c('0x25'),_0x354c('0x35')]){const _0x13b866=_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x36cf57);_0x1fae45[_0x354c('0x29')](_0x36cf57,_0x30b031=>{_0x700f23['model'][_0x354c('0x82')](_0x1a9b6b=>{_0x30b031();const _0x372e9b=_0x354c('0x2f')===_0x13b866[_0x354c('0x1d')],_0x3eaf0e=_0x324a94[_0x354c('0x6f')](_0x57487f),_0x26272b=_0x324a94['getRowIndexes'](_0x3eaf0e),_0x22cdda=_0x372e9b?_0x26272b[_0x354c('0x41')]-0x1:_0x26272b[_0x354c('0x7')]+0x1,_0x3c4a40=_0x3eaf0e[0x0]['findAncestor']('table'),_0x5e79d9=_0x324a94[_0x354c('0x76')](_0x3c4a40,{'startRow':_0x22cdda,'endRow':_0x22cdda}),_0xc24be8=Array[_0x354c('0xf')](_0x5e79d9)[_0x354c('0x56')](_0x2b7b75=>_0x1a9b6b[_0x354c('0x5b')](_0x2b7b75[_0x354c('0x24')]));_0x1fae45['markMultiRangeInsertion'](_0xc24be8,_0x354c('0x33'));});});}for(const _0x2f94f4 of[_0x354c('0x84'),'insertTableColumnRight']){const _0x2958d1=_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x2f94f4);_0x1fae45['enableCommand'](_0x2f94f4,_0x50d8f1=>{_0x700f23['model']['change'](_0x25899c=>{_0x50d8f1();const _0x1a6d55=_0x354c('0x53')===_0x2958d1['order'],_0x70c6a6=_0x324a94['getSelectionAffectedTableCells'](_0x57487f),_0x56eab3=_0x324a94['getColumnIndexes'](_0x70c6a6),_0x1c7cae=_0x1a6d55?_0x56eab3[_0x354c('0x41')]-0x1:_0x56eab3['last']+0x1,_0x4eba65=_0x70c6a6[0x0][_0x354c('0x3b')]('table'),_0x30c634=_0x324a94[_0x354c('0x76')](_0x4eba65,{'startRow':0x0,'column':_0x1c7cae,'includeAllSlots':!0x1}),_0x1651ad=Array[_0x354c('0xf')](_0x30c634)[_0x354c('0x56')](_0x176967=>_0x25899c[_0x354c('0x5b')](_0x176967['cell']));_0x1fae45[_0x354c('0x14')](_0x1651ad,_0x354c('0x62'));});});}for(const _0x2bcb50 of[_0x354c('0x6'),_0x354c('0x28')]){const _0x5b1e54=_0x2bcb50[_0x354c('0x4c')](0xb),_0x3d2ad6=_0x5b1e54[_0x354c('0x4d')](),_0x346d64=_0x3d2ad6[_0x354c('0x4c')](0x0,0x3)+_0x354c('0x1b'),_0xf99169=_0x354c('0x70')+_0x5b1e54,_0x3c3f45='min'+_0x5b1e54,_0x4c39a3=_0x354c('0x11')+_0x5b1e54;_0x1fae45[_0x354c('0x29')](_0x2bcb50,()=>{_0x700f23[_0x354c('0x2b')]['change'](_0x28c280=>{const _0x2ba157=_0x324a94[_0x354c('0x6f')](_0x57487f),_0x2e0b6c=_0x2ba157[0x0]['findAncestor'](_0x354c('0x70'));let _0x19a494;if('removeTableRow'==_0x2bcb50){const _0x1bb224=_0x324a94['getRowIndexes'](_0x2ba157);_0x19a494={'startRow':_0x1bb224['first'],'endRow':_0x1bb224[_0x354c('0x7')],'includeAllSlots':!0x0};}else{const _0xbfd329=_0x324a94[_0x354c('0x44')](_0x2ba157);_0x19a494={'startColumn':_0xbfd329['first'],'endColumn':_0xbfd329['last'],'includeAllSlots':!0x0};}const _0x50ddb3=_0x324a94[_0x354c('0x76')](_0x2e0b6c,_0x19a494),_0x15f5bb=Array[_0x354c('0xf')](_0x50ddb3)[_0x354c('0x56')](({cell:_0x1739f8})=>_0x1739f8),_0x363b84=se(_0x15f5bb[_0x354c('0x51')](_0x344018=>_0x344018[_0x354c('0x12')](_0x346d64))),_0x3b95f6=se(_0x15f5bb[_0x354c('0x51')](_0x5a277b=>!_0x5a277b['hasAttribute'](_0x346d64)))['map'](_0x214f70=>_0x28c280['createRangeOn'](_0x214f70)),_0x2e5b7a=_0x1fae45[_0x354c('0x58')](_0x3b95f6,_0xf99169);if(_0x2e5b7a&&(_0x354c('0x33')==_0x2e5b7a['subType']||_0x354c('0x62')==_0x2e5b7a['subType'])){const _0x3f3e6d=this[_0x354c('0x47')](_0x2e5b7a);for(const _0x231f1f of _0x363b84){const _0x21c4a7=_0x28c280[_0x354c('0x5b')](_0x231f1f),_0x2c6b4e=_0x324a94[_0x354c('0x3e')](_0x231f1f),_0x341d59=_0x231f1f[_0x354c('0x30')](_0x346d64)-0x1,_0x100b8a=_0x3f3e6d[_0x3c3f45],_0x2a466b=_0x3f3e6d[_0x4c39a3];_0x100b8a<=_0x2c6b4e[_0x3d2ad6]&&_0x2c6b4e[_0x3d2ad6]+_0x341d59<=_0x2a466b&&_0x2e5b7a[_0x354c('0x4b')](_0x21c4a7);}}});});}function _0x1fd488(_0xa98b11){const _0x43667d=Array['from'](_0x57487f[_0x354c('0x21')]())[_0x354c('0x56')](_0x4308d8=>_0x451ecb[_0x354c('0x7b')](_0x4308d8));_0x700f23['model'][_0x354c('0x82')](_0x41670c=>{const _0x3d1e6f=_0x41670c[_0x354c('0x15')];_0xa98b11=_0xa98b11['filter'](_0x4ceffe=>_0x354c('0x45')!=_0x4ceffe[_0x354c('0x13')][_0x354c('0x52')]),_0x41670c[_0x354c('0xa')](_0xa98b11),_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x354c('0x6'))[_0x354c('0x43')](),_0x700f23[_0x354c('0x78')](_0x354c('0x6'),{'forceDefaultExecution':!0x0}),_0x700f23[_0x354c('0x2b')][_0x354c('0x57')](()=>{_0x700f23['model']['enqueueChange'](_0x3d1e6f,_0x4a3ff2=>{const _0x271354=_0x43667d['filter'](_0x2fbbca=>_0x354c('0x45')!=_0x2fbbca[_0x354c('0x13')]['rootName']);_0x271354[_0x354c('0x64')]>0x0&&_0x4a3ff2['setSelection'](_0x271354);for(const _0x445ed0 of _0x43667d)_0x445ed0[_0x354c('0x31')]();});});});}function _0x487beb(_0x394292){_0x700f23['model'][_0x354c('0x82')](_0x5b12ac=>{const _0x202cf8=Array[_0x354c('0xf')](_0x57487f[_0x354c('0x21')]())[_0x354c('0x56')](_0x5b5fd9=>_0x451ecb[_0x354c('0x7b')](_0x5b5fd9)),_0x37c81b=[];for(const _0x1a051b of _0x394292)for(const _0x2c7484 of _0x1a051b[_0x354c('0x59')]({'shallow':!0x0}))_0x37c81b[_0x354c('0x8b')](_0x2c7484);for(const _0x5556e5 of _0x37c81b)_0x354c('0x45')!=_0x5556e5[_0x354c('0x13')][_0x354c('0x52')]&&(_0x5b12ac[_0x354c('0xa')](_0x5b12ac[_0x354c('0x85')](_0x5556e5,0x0)),_0x700f23['commands'][_0x354c('0x4')](_0x354c('0x28'))['refresh'](),_0x700f23[_0x354c('0x78')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x591d38=_0x202cf8['filter'](_0x3b7b0a=>_0x354c('0x45')!=_0x3b7b0a[_0x354c('0x13')]['rootName']);_0x591d38[_0x354c('0x64')]>0x0&&_0x5b12ac[_0x354c('0xa')](_0x591d38);for(const _0x337e0f of _0x202cf8)_0x337e0f[_0x354c('0x31')]();});}function _0x2a5790(_0x160fab,_0xbee1bd){return _0xbee1bd['every'](_0x176c69=>_0x160fab[_0x354c('0x1a')](_0x55e49b=>_0x55e49b[_0x354c('0x1e')][_0x354c('0x42')](_0x176c69[_0x354c('0x6b')])||_0x176c69[_0x354c('0x1e')][_0x354c('0x42')](_0x55e49b[_0x354c('0x6b')])));}function _0x1755aa(_0x40aab1,_0x402925){return _0x40aab1[_0x354c('0x1a')](_0x8b3536=>_0x402925[_0x354c('0x1a')](_0x3e4d69=>_0x8b3536[_0x354c('0x1e')][_0x354c('0x83')](_0x3e4d69[_0x354c('0x6b')])));}_0x700f23[_0x354c('0x74')][_0x354c('0x0')]['on'](_0x354c('0x3a'),(_0x13f42d,_0x24f03f,_0x2bb719)=>{if(!_0x2bb719[_0x354c('0x6a')][_0x354c('0x67')])return;const _0x38934c=_0x24f03f[_0x354c('0x89')];if(!_0x38934c)return;const _0x56f4bb=_0x2bb719[_0x354c('0x73')][_0x354c('0x2c')](_0x38934c);function _0x30090d(_0x1366b9){return Array[_0x354c('0x55')](_0x1366b9)?_0x1366b9:[_0x1366b9];}_0x56f4bb&&_0x354c('0x5a')===_0x38934c[_0x354c('0x2d')]&&_0x4ed48f(_0x56f4bb,_0x2bb719[_0x354c('0x8a')],(_0x3c9197,_0x28b9b8,_0x1a56db)=>_0x1a56db[_0x354c('0x49')](_0x30090d(_0x28b9b8['classes']),_0x3c9197),(_0x582d5a,_0x33b50f,_0x449a3b)=>_0x449a3b[_0x354c('0x65')](_0x30090d(_0x33b50f[_0x354c('0x7c')]),_0x582d5a));},{'priority':_0x354c('0x27')}),_0x1fae45[_0x354c('0x20')][_0x354c('0x5d')](_0x1c2cff=>{if(_0x354c('0x39')!=_0x1c2cff[_0x354c('0x66')]&&_0x354c('0x50')!=_0x1c2cff[_0x354c('0x66')])return;const _0x570411=_0x1c2cff[_0x354c('0x6c')]();if(null!=_0x570411&&_0x570411['is'](_0x354c('0x1c'),_0x354c('0x70'))){if(_0x354c('0x39')==_0x1c2cff[_0x354c('0x66')]){const _0x17201f=_0x1c2cff[_0x354c('0x59')]()[_0x354c('0x51')](_0x226133=>_0x226133['is']('$textProxy'))[_0x354c('0x56')](_0x2a7042=>_0x2a7042[_0x354c('0x74')]);if(_0x17201f['length'])return{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,_0x354c('0x7d'),_0x20a1cc(_0xb32df,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x17201f[_0x354c('0x37')]('\x20')+'\x22'))};}if('deletion'==_0x1c2cff['type']){const _0x2dcaf9=_0x1c2cff[_0x354c('0x59')]()[_0x354c('0x51')](_0x47dc77=>_0x47dc77['is'](_0x354c('0x80')))['map'](_0x3417cf=>_0x3417cf['data']);if(_0x2dcaf9[_0x354c('0x64')])return{'type':'deletion','content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x5c'),'\x22'+_0x2dcaf9[_0x354c('0x37')]('\x20')+'\x22'))};}}}),_0x1fae45[_0x354c('0x20')][_0x354c('0x5d')](_0x38f809=>{if('tableRow'==_0x38f809[_0x354c('0x3c')]){const _0x5b5fd2=_0x38f809[_0x354c('0x59')]()[_0x354c('0x51')](_0x2e586e=>_0x2e586e['is'](_0x354c('0x80')))['map'](_0x42a110=>_0x42a110[_0x354c('0x74')]),_0x4565b2=this[_0x354c('0x47')](_0x38f809),_0x36e7d7=_0x4565b2[_0x354c('0x87')]-_0x4565b2[_0x354c('0x54')]+0x1;if(_0x354c('0x39')==_0x38f809[_0x354c('0x66')])return _0x5b5fd2['length']?{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x36e7d7,'\x22'+_0x5b5fd2[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,_0x354c('0x7d'),_0x20a1cc(_0xb32df,_0x354c('0x5e'),_0x36e7d7))};if(_0x354c('0x50')==_0x38f809[_0x354c('0x66')])return _0x5b5fd2[_0x354c('0x64')]?{'type':'deletion','content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x86'),[_0x36e7d7,'\x22'+_0x5b5fd2[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x50'),'content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x5e'),_0x36e7d7))};}if(_0x354c('0x62')==_0x38f809[_0x354c('0x3c')]){const _0x8f7fe5=_0x38f809[_0x354c('0x59')]()['filter'](_0x5bc674=>_0x5bc674['is']('$textProxy'))[_0x354c('0x56')](_0x480b6b=>_0x480b6b[_0x354c('0x74')]),_0xe1e07=this['_getSuggestionCoords'](_0x38f809),_0x59683a=_0xe1e07['maxColumn']-_0xe1e07[_0x354c('0x40')]+0x1;if(_0x354c('0x39')==_0x38f809[_0x354c('0x66')])return _0x8f7fe5[_0x354c('0x64')]?{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x59683a,'\x22'+_0x8f7fe5['join']('\x20')+'\x22']))}:{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x5f'),_0x59683a))};if(_0x354c('0x50')==_0x38f809[_0x354c('0x66')])return _0x8f7fe5['length']?{'type':'deletion','content':_0x20a1cc(_0xb32df,'*Remove:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x32'),[_0x59683a,'\x22'+_0x8f7fe5[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x50'),'content':_0x20a1cc(_0xb32df,'*Remove:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x5f'),_0x59683a))};}}),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x39'),_0x354c('0x33'),'discard',_0x1fd488),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x50'),_0x354c('0x33'),_0x354c('0x36'),_0x1fd488),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x39'),_0x354c('0x62'),_0x354c('0x2e'),_0x487beb),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x50'),_0x354c('0x62'),_0x354c('0x36'),_0x487beb),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x39'),'tableColumn',_0x354c('0x37'),_0x2a5790),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x50'),_0x354c('0x62'),_0x354c('0x37'),_0x2a5790),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')]('insertion',_0x354c('0x33'),_0x354c('0x37'),_0x1755aa),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x50'),_0x354c('0x33'),_0x354c('0x37'),_0x1755aa);}[_0x354c('0x7f')](){const _0x25cb30=this[_0x354c('0x2a')],_0x52204a=_0x25cb30[_0x354c('0x2b')][_0x354c('0x4e')]['selection'];return(_0x45d8f5,_0x405fe5)=>{_0x25cb30['model'][_0x354c('0x82')](_0x497659=>{const {commandName:_0x3257b7,commandParams:_0x56b4d3}=_0x405fe5;let _0x33ba25=_0x45d8f5[0x0][_0x354c('0x1e')][_0x354c('0x18')];_0x56b4d3&&_0x56b4d3[0x0]&&!0x1===_0x56b4d3[0x0][_0x354c('0x71')]&&(_0x33ba25=_0x45d8f5[0x0]['start'][_0x354c('0x61')]);const _0x4731b2=_0x497659[_0x354c('0x68')](_0x33ba25);if(_0x354c('0x45')==_0x4731b2[_0x354c('0x13')][_0x354c('0x52')])return;const _0x44bcd8=Array['from'](_0x52204a['getRanges']())[_0x354c('0x56')](_0x4ea9fe=>_0x451ecb['fromRange'](_0x4ea9fe));_0x497659['setSelection'](_0x4731b2),_0x25cb30[_0x354c('0xe')]['get'](_0x3257b7)[_0x354c('0x43')](),_0x56b4d3[_0x354c('0x8b')]({'forceDefaultExecution':!0x0}),_0x25cb30['execute'](_0x3257b7,..._0x56b4d3);const _0x180ecb=_0x44bcd8[_0x354c('0x51')](_0x3ab477=>_0x354c('0x45')!=_0x3ab477[_0x354c('0x13')][_0x354c('0x52')]);_0x180ecb[_0x354c('0x64')]>0x0&&_0x497659['setSelection'](_0x180ecb);for(const _0x1d67ef of _0x44bcd8)_0x1d67ef[_0x354c('0x31')]();});};}['_getCoordsForCells'](_0xb09cd2){const _0x4ebc03=this[_0x354c('0x2a')][_0x354c('0x23')]['get'](_0x354c('0x16'));let _0x25aa60=Number['MAX_SAFE_INTEGER'],_0x505c0d=Number[_0x354c('0x6d')],_0x16a134=Number['MAX_SAFE_INTEGER'],_0x5f8d45=Number['MIN_SAFE_INTEGER'];for(const _0x2de734 of _0xb09cd2){if(_0x354c('0x45')==_0x2de734[_0x354c('0x13')]['rootName'])continue;const {row:_0x18cabb,column:_0x343453}=_0x4ebc03['getCellLocation'](_0x2de734),_0x1d5091=_0x2de734[_0x354c('0x12')]('rowspan')?_0x2de734[_0x354c('0x30')](_0x354c('0x8'))-0x1:0x0,_0x4c3791=_0x2de734['hasAttribute']('colspan')?_0x2de734[_0x354c('0x30')](_0x354c('0x1f'))-0x1:0x0;_0x25aa60=_0x18cabb<_0x25aa60?_0x18cabb:_0x25aa60,_0x505c0d=_0x18cabb+_0x1d5091>_0x505c0d?_0x18cabb+_0x1d5091:_0x505c0d,_0x16a134=_0x343453<_0x16a134?_0x343453:_0x16a134,_0x5f8d45=_0x343453+_0x4c3791>_0x5f8d45?_0x343453+_0x4c3791:_0x5f8d45;}return{'minRow':_0x25aa60,'maxRow':_0x505c0d,'minColumn':_0x16a134,'maxColumn':_0x5f8d45};}[_0x354c('0x3')](){const _0x2670cc=this[_0x354c('0x2a')],_0x5216ad=_0x2670cc['plugins'][_0x354c('0x4')]('TrackChangesEditing'),_0x487281=_0x2670cc[_0x354c('0x23')]['get'](_0x354c('0x16'));_0x2670cc[_0x354c('0x2b')][_0x354c('0x4e')]['on'](_0x354c('0x38'),()=>{const _0x3cab7e=Array[_0x354c('0xf')](_0x2670cc[_0x354c('0x2b')]['document'][_0x354c('0x4f')]['getChangedMarkers']());for(const {name:_0x4324e3,data:_0x52ea6c}of _0x3cab7e){const {group:_0x378056,id:_0x54191e,subType:_0x482fc8}=_0x5216ad[_0x354c('0xc')](_0x4324e3);if(_0x354c('0x19')!=_0x378056)continue;if(null!=_0x52ea6c['oldRange'])continue;const _0x246961=_0x5216ad[_0x354c('0x34')](_0x54191e);this['_tablePostFixingSubtypes'][_0x354c('0x7a')](_0x482fc8)&&this[_0x354c('0x46')]['add'](_0x246961);}},{'priority':_0x354c('0x60')});const _0x224576=(_0x16cea6,_0x27cd6d)=>{let _0x5daed0=!0x1;const _0x5999bc=_0x27cd6d[_0x354c('0x5b')](_0x16cea6),_0x3cff76=_0x16cea6[_0x354c('0x3b')]('table'),_0x1efc25=_0x487281[_0x354c('0x3e')](_0x16cea6);for(const _0x589511 of this[_0x354c('0x46')]){const _0x488dea=_0x589511[_0x354c('0x3c')],_0x54fc01=_0x488dea[_0x354c('0xb')](_0x354c('0xd')),_0x2a8b2f=_0x488dea[_0x354c('0x4c')](_0x54fc01?0xa:0x5),_0x5058b4=_0x2a8b2f[_0x354c('0x4d')](),_0xc36436=_0x5058b4[_0x354c('0x4c')](0x0,0x3)+_0x354c('0x1b'),_0x5c8242=_0x354c('0x88')+_0x2a8b2f,_0x46a7d3=_0x354c('0x11')+_0x2a8b2f;if(!_0x589511['isInContent'])continue;if(_0x3cff76!=_0x589511[_0x354c('0x69')]()['start']['findAncestor']('table'))continue;if(_0x589511[_0x354c('0x6e')](_0x5999bc))continue;const _0x507bf1=_0x16cea6[_0x354c('0x12')](_0xc36436)?_0x16cea6[_0x354c('0x30')](_0xc36436)-0x1:0x0,_0x2fd045=this[_0x354c('0x47')](_0x589511),_0x4fe88e=_0x2fd045[_0x5c8242],_0x2c51a3=_0x2fd045[_0x46a7d3];_0x4fe88e<=_0x1efc25[_0x5058b4]&&_0x1efc25[_0x5058b4]+_0x507bf1<=_0x2c51a3&&(_0x589511[_0x354c('0x4b')](_0x5999bc),_0x5daed0=!0x0);}return _0x5daed0;};_0x2670cc[_0x354c('0x2b')][_0x354c('0x4e')]['registerPostFixer'](_0xd4cc5=>{let _0x554046=!0x1;for(const _0x389897 of _0x2670cc[_0x354c('0x2b')]['document'][_0x354c('0x4f')][_0x354c('0x77')]())if(_0x354c('0x72')==_0x389897['type']){if(_0x354c('0x33')==_0x389897[_0x354c('0x2d')])for(const _0x402517 of _0x389897[_0x354c('0x81')][_0x354c('0x61')][_0x354c('0x9')]())_0x554046=_0x554046||_0x224576(_0x402517,_0xd4cc5);else _0x354c('0x5a')==_0x389897['name']&&(_0x554046=_0x554046||_0x224576(_0x389897[_0x354c('0x81')]['nodeAfter'],_0xd4cc5));}return _0x554046;});}[_0x354c('0x47')](_0x54d3d2){return this[_0x354c('0x4a')](_0x54d3d2['getRanges']()[_0x354c('0x56')](_0x38a4eb=>_0x38a4eb[_0x354c('0x6b')]['nodeAfter']));}}function se(_0x4e2a3a){return Array[_0x354c('0xf')](new Set(_0x4e2a3a)[_0x354c('0x5')]());}
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']());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ff5=['get','afterInit','TrackChangesEditing','TableCaptionEditing','has','requires','plugins','enableCommand'];(function(_0x428613,_0x2ff59e){const _0x352f3d=function(_0x947c3){while(--_0x947c3){_0x428613['push'](_0x428613['shift']());}};_0x352f3d(++_0x2ff59e);}(_0x2ff5,0x17b));const _0x352f=function(_0x428613,_0x2ff59e){_0x428613=_0x428613-0x0;let _0x352f3d=_0x2ff5[_0x428613];return _0x352f3d;};import{Plugin as _0x10f9a7}from'ckeditor5/src/core';import _0xaced3f from'./table';export default class vt extends _0x10f9a7{static get[_0x352f('0x2')](){return[_0xaced3f];}[_0x352f('0x6')](){const _0x2b43bb=this['editor'];if(!_0x2b43bb[_0x352f('0x3')][_0x352f('0x1')](_0x352f('0x0')))return;_0x2b43bb[_0x352f('0x3')][_0x352f('0x5')](_0x352f('0x7'))[_0x352f('0x4')]('toggleTableCaption');}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43df=['getRows','plugins','from','getTableIfOnlyTableInContent','type','redo','insertion','suggestion-td','suggestionUnloaded','findAncestor','$graveyard','keys','Users','first','getShiftedBy','rowInsertionIndexes','columns','markerToHighlight','dataDowncast','getSuggestions','markerAttributes','registerCustomCallback','conversion','getChildren','registerPostFixer','oldRange','startsWith','tablePasteCell','_descriptionFactory','rowInsertionRanges','remove','createRangeIn','forceDefaultExecution','wrap','has','_splitMarkerName','_suggestionFactory','isEmpty','requires','some','getAllAdjacentSuggestions','high','filter','nodeAfter','batch','isInContent','fill','markMultiRangeDeletion','hasSuggestion','showSuggestionHighlights','tableCellBackgroundColor','TableClipboard','suggestionLoaded','setAttributes','tableCellBorderStyle','afterInit','low','getRange','_tablePostFixingSubtypes','nextSibling','tableCell','getColumnIndexes','ck-suggestion-marker-insertion','getChanges','length','listenTo','table','return','createRangeOn','name','position','setAttribute','getRowIndexes','getColumns','getChild','_createdBatches','registerDescriptionCallback','createPositionBefore','set','markMultiRangeBlockFormat','insertionRanges','register','getSuggestion','fromEntries','*Replace\x20table\x20cells*','getAttributes','options','getContainedElement','tableCellBorderWidth','selection','tableCellBorderColor','tablePasteRow','TableUtils','suggestion:formatBlock:tablePasteCell','isEqual','insert','value','_getCoordsForCells','end','endRow','clipboardOutput','paragraph','includes','createRange','trackChanges','map','tableCellSuggestion','removeMarker','removeMarkers','tablePasteChainId','getChangedMarkers','editing','attributes','getRanges','editingDowncast','formatBlock','deletionRanges','activeMarkers','getSuggestionCallback','newRange','push','every','rows','columnInsertionIndexes','discard','tablePaste','accept','documentSelection','getSelectionAffectedTableCells','createTableWalker','previousSibling','rootName','element','differ','model','insertColumns','suggestion','deletion','change','add','containsRange','getItems','tableCellHorizontalAlignment','stop','elementToElement','find','document','cell','for','_isForcedDefaultExecutionBlock','tableCellVerticalAlignment','last','markerName','previous','subType','updateMarker','author','markMultiRangeInsertion','ck-suggestion-marker--active','unwrap','move','column','createElement','editor','tablePasteColumn','get','insertContent','reduce','join'];(function(_0x66d6b7,_0x43df5a){const _0x2209a3=function(_0x166568){while(--_0x166568){_0x66d6b7['push'](_0x66d6b7['shift']());}};_0x2209a3(++_0x43df5a);}(_0x43df,0x7e));const _0x2209=function(_0x66d6b7,_0x43df5a){_0x66d6b7=_0x66d6b7-0x0;let _0x2209a3=_0x43df[_0x66d6b7];return _0x2209a3;};import{getTranslation as _0x72daf2}from'../utils/common-translations';import{Plugin as _0x3b65ed}from'ckeditor5/src/core';import{uid as _0x3039e3,priorities as _0x23c838}from'ckeditor5/src/utils';import _0x481d37 from'./table';const le=[_0x2209('0x83'),_0x2209('0x85'),_0x2209('0x61'),_0x2209('0x10'),_0x2209('0x18'),_0x2209('0x5d'),'tableCellPadding'],ae=Object[_0x2209('0x7e')](le[_0x2209('0x94')](_0x398a88=>[_0x398a88,null]));export default class kt extends _0x3b65ed{static get[_0x2209('0x51')](){return[_0x481d37];}[_0x2209('0x62')](){const _0x4f0249=this[_0x2209('0x25')];if(!_0x4f0249[_0x2209('0x2c')][_0x2209('0x4d')]('TableClipboard'))return;const _0x29fa46=_0x4f0249['plugins'][_0x2209('0x27')]('TrackChangesEditing'),_0x41a5c4=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x87')),_0x8eddb6=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x481d37),_0x1709ba=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')]('TableClipboard');_0x8eddb6[_0x2209('0x65')][_0x2209('0xa3')](_0x2209('0x86'),_0x2209('0x26')),_0x4f0249[_0x2209('0x8')]['schema'][_0x2209('0x7c')](_0x2209('0x95'),{'allowIn':_0x2209('0x67'),'allowContentOf':_0x2209('0x67'),'isLimit':!0x0}),_0x4f0249[_0x2209('0x41')][_0x2209('0x12')]({'model':'tableCellSuggestion','view':_0x2209('0x32')});let _0x16cddf=null;_0x4f0249[_0x2209('0x8')]['on'](_0x2209('0x28'),(_0x2dd899,_0x30ffb6)=>{const [_0x459de0,_0x37de8d]=_0x30ffb6,_0x47fe5a=_0x30ffb6[_0x30ffb6['length']-0x1];_0x47fe5a&&_0x47fe5a[_0x2209('0x4b')]||_0x29fa46[_0x2209('0x17')]||this[_0x2209('0x25')]['commands']['get'](_0x2209('0x93'))[_0x2209('0x8b')]&&function(_0x2a25a9,_0x3c0939,_0x29abaf,_0x444735,_0x9c97b1){if(_0x3c0939&&!_0x3c0939['is'](_0x2209('0x1')))return!0x1;const _0x4ac8c6=_0x9c97b1[_0x2209('0x2e')](_0x2a25a9,_0x29abaf);if(!_0x4ac8c6||!fe(_0x4ac8c6,void 0x0,_0x444735))return!0x1;const _0x38c6fd=_0x444735[_0x2209('0x2')](_0x29abaf[_0x2209('0x14')][_0x2209('0x84')]);if(!_0x38c6fd[_0x2209('0x6b')])return!0x1;const _0x3600bb=_0x38c6fd[0x0][_0x2209('0x34')]('table'),_0xdbe690=_0x444735[_0x2209('0x73')](_0x38c6fd),_0x53c26a=_0x444735[_0x2209('0x68')](_0x38c6fd),_0x45da81={'startRow':_0xdbe690[_0x2209('0x38')],'endRow':_0xdbe690[_0x2209('0x19')],'startColumn':_0x53c26a[_0x2209('0x38')],'endColumn':_0x53c26a[_0x2209('0x19')]};return 0x1==_0x38c6fd['length']&&(_0x45da81[_0x2209('0x8e')]+=_0x444735[_0x2209('0x2b')](_0x4ac8c6)-0x1,_0x45da81['endColumn']+=_0x444735[_0x2209('0x74')](_0x4ac8c6)-0x1),fe(_0x3600bb,_0x45da81,_0x444735);}(_0x459de0,_0x37de8d,_0x4f0249[_0x2209('0x8')],_0x41a5c4,_0x1709ba)&&(_0x2dd899[_0x2209('0x11')](),_0x16cddf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4f0249[_0x2209('0x8')][_0x2209('0xc')](()=>{_0x4f0249[_0x2209('0x8')]['insertContent'](_0x30ffb6[0x0],_0x30ffb6[0x1],_0x30ffb6[0x2],{'forceDefaultExecution':!0x0});const _0x190e10=_0x3039e3(),{rowInsertionRanges:_0x20a092,columnInsertionRanges:_0x371bbd,insertionRanges:_0x4dd372,deletionRanges:_0x2b9759,cells:_0x2714a0}=_0x16cddf;_0x20a092['length']&&_0x29fa46[_0x2209('0x1f')](_0x20a092,_0x2209('0x86'),{'tablePasteChainId':_0x190e10}),_0x371bbd[_0x2209('0x6b')]&&_0x29fa46[_0x2209('0x1f')](_0x371bbd,_0x2209('0x26'),{'tablePasteChainId':_0x190e10}),_0x4dd372[_0x2209('0x6b')]&&_0x29fa46[_0x2209('0x1f')](_0x4dd372,_0x2209('0xa8'),{'tablePasteChainId':_0x190e10,'skipNestingCheck':!0x0}),_0x2b9759['length']&&_0x29fa46[_0x2209('0x5a')](_0x2b9759,'tablePaste',{'tablePasteChainId':_0x190e10,'skipNestingCheck':!0x0});const _0x49c949=_0x29fa46[_0x2209('0x7a')](_0x2714a0[_0x2209('0x94')](({element:_0x52ebd2})=>_0x52ebd2),{'formatGroupId':_0x3039e3()},[],_0x2209('0x46'),{'tablePasteChainId':_0x190e10});if(_0x49c949){const _0xedba2d=_0x49c949['getMarkers'](),_0x3739af=[];for(const {element:_0xc83ec9,attributes:_0x513e15}of _0x2714a0){if(!_0x513e15)continue;const _0x3d0443=_0x4f0249[_0x2209('0x8')]['createRangeOn'](_0xc83ec9),_0x363699=_0xedba2d[_0x2209('0x13')](_0x561983=>_0x561983[_0x2209('0x64')]()[_0x2209('0x89')](_0x3d0443));_0x363699&&_0x3739af[_0x2209('0xa3')]([_0x363699[_0x2209('0x70')],_0x513e15]);}_0x3739af[_0x2209('0x6b')]&&_0x49c949[_0x2209('0x72')](_0x2209('0x3f'),Object[_0x2209('0x7e')](_0x3739af));}_0x16cddf=null;}));},{'priority':_0x23c838['high']+0xa}),_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x5e'))['on']('_replaceTableSlotCell',(_0xb08638,_0x3dd795)=>{const [_0x169205,_0x4fd20c,,_0x5e4216]=_0x3dd795;if(!_0x16cddf)return;_0xb08638[_0x2209('0x11')]();const _0x567e6b=_0x169205[_0x2209('0x15')],_0x584427=_0x4fd20c,_0x4c1fae=ce(_0x567e6b),_0x8b1838=ce(_0x584427);_0xb08638[_0x2209('0x6e')]=_0x567e6b;let _0x877130=null,_0x599a61=null;if(_0x8b1838||_0x4c1fae){if(_0x4c1fae&&!_0x8b1838){_0x5e4216[_0x2209('0x49')](_0x567e6b[_0x2209('0x75')](0x0));for(const _0x54bd46 of Array[_0x2209('0x2d')](_0x584427[_0x2209('0x42')]()))_0x5e4216['insert'](_0x54bd46,_0x567e6b,_0x2209('0x8d'));const _0x52e61b=_0x16cddf[_0x2209('0x3a')][_0x2209('0x91')](_0x169205['row']),_0x466268=_0x16cddf[_0x2209('0xa6')][_0x2209('0x91')](_0x169205[_0x2209('0x23')]);_0x52e61b||_0x466268||(_0x877130=_0x5e4216[_0x2209('0x4a')](_0x567e6b));}else _0x8b1838&&!_0x4c1fae&&(_0x599a61=_0x5e4216[_0x2209('0x4a')](_0x567e6b));}else{const _0x3ec4c6=_0x5e4216[_0x2209('0x24')]('tableCellSuggestion'),_0x355507=_0x5e4216[_0x2209('0x24')](_0x2209('0x95'));_0x5e4216[_0x2209('0x4c')](_0x5e4216[_0x2209('0x4a')](_0x567e6b),_0x355507),_0x5e4216[_0x2209('0x8a')](_0x3ec4c6,_0x567e6b,0x0);for(const _0x44b4f0 of Array[_0x2209('0x2d')](_0x584427[_0x2209('0x42')]()))_0x5e4216[_0x2209('0x8a')](_0x44b4f0,_0x3ec4c6,_0x2209('0x8d'));_0x877130=_0x5e4216[_0x2209('0x6f')](_0x3ec4c6),_0x599a61=_0x5e4216[_0x2209('0x6f')](_0x355507);}const _0x53c6e7=Array[_0x2209('0x2d')](_0x584427[_0x2209('0x80')]())[_0x2209('0x55')](([_0x9bbbc6])=>le[_0x2209('0x91')](_0x9bbbc6));_0x16cddf['cells'][_0x2209('0xa3')]({'element':_0x567e6b,'attributes':_0x53c6e7[_0x2209('0x6b')]?Object[_0x2209('0x7e')](_0x53c6e7):null}),_0x877130&&_0x16cddf[_0x2209('0x7b')][_0x2209('0xa3')](_0x877130),_0x599a61&&_0x16cddf[_0x2209('0x9f')][_0x2209('0xa3')](_0x599a61);},{'priority':_0x2209('0x54')}),_0x41a5c4['on'](_0x2209('0x9'),(_0x74ec93,_0x2cf73c)=>{const [_0x1dff1d,_0x25a5ca={}]=_0x2cf73c;if(!_0x16cddf)return;const _0x55311e=_0x25a5ca['at']||0x0,_0x2ca8a7=_0x25a5ca[_0x2209('0x3b')]||0x1;_0x16cddf[_0x2209('0xa6')]=new Array(_0x2ca8a7)[_0x2209('0x59')](_0x55311e)[_0x2209('0x94')]((_0x1978b2,_0x59d7a2)=>_0x1978b2+_0x59d7a2);for(const {cell:_0x2de2aa}of _0x41a5c4['createTableWalker'](_0x1dff1d,{'startColumn':_0x55311e,'endColumn':_0x55311e+_0x2ca8a7-0x1}))_0x16cddf['columnInsertionRanges']['push'](_0x4f0249[_0x2209('0x8')][_0x2209('0x6f')](_0x2de2aa));},{'priority':_0x2209('0x63')}),_0x41a5c4['on']('insertRows',(_0x429760,_0x468f0e)=>{const [_0x5c8e81,_0x40f4f9={}]=_0x468f0e;if(!_0x16cddf)return;const _0x4a1225=_0x40f4f9['at']||0x0,_0x416589=_0x40f4f9[_0x2209('0xa5')]||0x1;_0x16cddf[_0x2209('0x3a')]=new Array(_0x416589)[_0x2209('0x59')](_0x4a1225)[_0x2209('0x94')]((_0x36bb26,_0x3e392b)=>_0x36bb26+_0x3e392b);for(const {cell:_0x2c1ad6}of _0x41a5c4[_0x2209('0x3')](_0x5c8e81,{'startRow':_0x4a1225,'endRow':_0x4a1225+_0x416589-0x1}))_0x16cddf[_0x2209('0x48')][_0x2209('0xa3')](_0x4f0249[_0x2209('0x8')][_0x2209('0x6f')](_0x2c1ad6));},{'priority':_0x2209('0x63')}),_0x29fa46[_0x2209('0x47')][_0x2209('0x77')](_0x3900c3=>{if(_0x3900c3['subType']&&_0x3900c3[_0x2209('0x1c')][_0x2209('0x45')](_0x2209('0xa8')))return _0x3900c3[_0x2209('0x1b')]?{}:{'type':_0x2209('0x31'),'content':_0x72daf2(_0x4f0249['locale'],_0x2209('0x7f'))};});const _0x5d6eb6=()=>!0x1;for(const _0x3474b4 of[_0x2209('0xa8'),_0x2209('0x26'),'tablePasteRow','tablePasteCell'])_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x31'),_0x3474b4,_0x2209('0x2a'),_0x5d6eb6),_0x29fa46['_suggestionFactory']['registerCustomCallback'](_0x2209('0xb'),_0x3474b4,_0x2209('0x2a'),_0x5d6eb6),_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')]('formatBlock',_0x3474b4,_0x2209('0x2a'),_0x5d6eb6);_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x9e'),_0x2209('0x46'),_0x2209('0xa7'),_0x5d6eb6),_0x29fa46['_suggestionFactory'][_0x2209('0x40')](_0x2209('0x9e'),_0x2209('0x46'),_0x2209('0x0'),(_0x5052e0,_0x34757c,_0x3e16cd)=>{const _0x2e75a7=_0x5052e0[_0x2209('0x94')](_0x397060=>_0x397060['getContainedElement']())['filter'](_0x155f97=>_0x155f97),_0x4fa66e=new Map(_0x2e75a7[_0x2209('0x94')](_0x3f44c1=>[_0x3f44c1,null]));if(_0x16cddf)for(const {element:_0x843d12,attributes:_0x528d92}of _0x16cddf['cells'])_0x528d92&&_0x4fa66e[_0x2209('0x79')](_0x843d12,_0x528d92);else{if(_0x3e16cd&&_0x3e16cd[_0x2209('0x3f')])for(const [_0x5e5aba,_0x21375]of Object['entries'](_0x3e16cd[_0x2209('0x3f')])){const _0xe85dc=_0x4f0249[_0x2209('0x8')]['markers'][_0x2209('0x27')](_0x5e5aba),_0x211b54=_0xe85dc?_0xe85dc[_0x2209('0x64')]()['getContainedElement']():null;_0x211b54&&_0x4fa66e[_0x2209('0x79')](_0x211b54,_0x21375);}}_0x4f0249['model']['change'](_0xb7ef3=>{for(const [_0x24c228,_0x58218f]of _0x4fa66e)_0xb7ef3[_0x2209('0x60')]({...ae,..._0x58218f},_0x24c228);});});const _0x3343f5=(_0x58f0f7,_0x25c167)=>{_0x29fa46[_0x2209('0x4f')]['registerCustomCallback'](_0x58f0f7,'tablePaste',_0x25c167,(_0x18602f,_0x52f12e,_0xb4c106)=>{_0x4f0249[_0x2209('0x8')][_0x2209('0xc')](_0x25435f=>{const _0x41c269=[];for(const _0x1d8bd5 of _0x18602f){const _0x2989fd=_0x1d8bd5['start'][_0x2209('0x56')];_0x2989fd['is'](_0x2209('0x6'),_0x2209('0x95'))&&_0x41c269[_0x2209('0xa3')](_0x2989fd);}_0x29fa46[_0x2209('0x4f')][_0x2209('0xa1')](_0x58f0f7,null,_0x25c167)(_0x18602f,_0x52f12e,_0xb4c106);for(const _0x3f7c56 of _0x41c269)_0x2209('0x35')!=_0x3f7c56['root'][_0x2209('0x5')]&&_0x25435f[_0x2209('0x21')](_0x3f7c56);});});};_0x3343f5(_0x2209('0x31'),_0x2209('0x0')),_0x3343f5(_0x2209('0x31'),_0x2209('0xa7')),_0x3343f5(_0x2209('0xb'),'accept'),_0x3343f5(_0x2209('0xb'),_0x2209('0xa7')),_0x29fa46[_0x2209('0x4f')]['registerCustomCallback'](_0x2209('0x31'),_0x2209('0x86'),_0x2209('0xa7'),_0x2d1f00=>{const _0x4ead0d=_0x2d1f00['map'](_0x4eea5a=>_0x4eea5a[_0x2209('0x82')]()),_0xd75ef7=_0x4ead0d[0x0]['findAncestor'](_0x2209('0x6d')),{minRow:_0x1587a6,maxRow:_0x546040}=_0x8eddb6[_0x2209('0x8c')](_0x4ead0d);_0x41a5c4['removeRows'](_0xd75ef7,{'at':_0x1587a6,'rows':_0x546040-_0x1587a6+0x1});}),_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x31'),_0x2209('0x26'),'discard',_0x58cebb=>{const _0x4e6cdb=_0x58cebb['map'](_0x3f5875=>_0x3f5875['getContainedElement']()),_0x3c2a50=_0x4e6cdb[0x0][_0x2209('0x34')]('table'),{minColumn:_0x20dd1c,maxColumn:_0x362c87}=_0x8eddb6['_getCoordsForCells'](_0x4e6cdb);_0x41a5c4['removeColumns'](_0x3c2a50,{'at':_0x20dd1c,'columns':_0x362c87-_0x20dd1c+0x1});});const _0x1f6a23=(_0x4d85b6,_0x4fdfac)=>{if(!_0x4fdfac[_0x2209('0x1c')]||!_0x4fdfac[_0x2209('0x1c')]['startsWith']('tablePaste'))return;const _0x3e8e0f=_0x4fdfac[_0x2209('0x9b')][_0x2209('0x98')],_0x10446b=_0x29fa46['getSuggestions']()['filter'](_0xc692b0=>_0xc692b0['isInContent']&&_0xc692b0[_0x2209('0x9b')]&&_0xc692b0[_0x2209('0x9b')][_0x2209('0x98')]==_0x3e8e0f);_0x10446b['length']&&_0x4fdfac[_0x2209('0x53')]()[_0x2209('0x6b')]!=_0x10446b[_0x2209('0x6b')]&&_0x10446b[_0x2209('0x29')]((_0x4b925a,_0xea32f6)=>(_0x4b925a['next']=_0xea32f6,_0xea32f6[_0x2209('0x1b')]=_0x4b925a,_0xea32f6));};function _0x8cedc7(_0x29e436,_0x129397=!0x0){const {id:_0x281298}=_0x29fa46[_0x2209('0x4e')](_0x29e436[_0x2209('0x1a')]),_0xc4170b=['ck-suggestion-marker',_0x2209('0x69')],_0x12a407=_0x29fa46[_0x2209('0xa0')][_0x2209('0x91')](_0x29e436['markerName']);return _0x12a407&&_0xc4170b[_0x2209('0xa3')](_0x2209('0x20')),{'classes':_0xc4170b,'attributes':{'data-suggestion':_0x281298},'priority':_0x12a407&&_0x129397?0xbc2:0xbb8};}_0x29fa46['on'](_0x2209('0x5f'),_0x1f6a23,{'priority':'high'}),_0x29fa46['on'](_0x2209('0x33'),_0x1f6a23,{'priority':_0x2209('0x54')}),_0x4f0249[_0x2209('0x8')]['document'][_0x2209('0x43')](()=>{let _0x55fe01=!0x1;const _0x53219d=Array[_0x2209('0x2d')](_0x4f0249[_0x2209('0x8')][_0x2209('0x14')][_0x2209('0x7')][_0x2209('0x99')]());for(const {name:_0x2fe5ce,data:_0x3623f7}of _0x53219d){const {group:_0x48d177,type:_0x39f8c1,id:_0x1b21da}=_0x29fa46[_0x2209('0x4e')](_0x2fe5ce);if(_0x2209('0xa')!=_0x48d177||'deletion'!=_0x39f8c1||_0x3623f7[_0x2209('0x44')])continue;if(!_0x29fa46[_0x2209('0x5b')](_0x1b21da))continue;const _0x109fe8=_0x29fa46[_0x2209('0x7d')](_0x1b21da)['getRanges'](),_0x2b80aa=_0x4f0249['plugins']['get'](_0x2209('0x37'))['me'];for(const _0x1fefb4 of _0x29fa46['getSuggestions']()){if(!_0x1fefb4['isInContent']||_0x1fefb4[_0x2209('0x1e')]!=_0x2b80aa)continue;if(_0x2209('0x9e')!=_0x1fefb4[_0x2209('0x2f')]||_0x2209('0x46')!=_0x1fefb4['subType'])continue;if(_0x1fefb4[_0x2209('0x9c')]()[_0x2209('0xa4')](_0x4a695b=>_0x109fe8[_0x2209('0x52')](_0x540fc7=>_0x540fc7[_0x2209('0xe')](_0x4a695b,!0x0))))for(const _0x57347a of _0x1fefb4['getAllAdjacentSuggestions']())_0x57347a[_0x2209('0x58')]&&(_0x57347a[_0x2209('0xa7')](),_0x55fe01=!0x0);}}return _0x55fe01;}),_0x4f0249[_0x2209('0x8')][_0x2209('0x14')]['registerPostFixer'](_0x3c9af5=>{const _0x47d46f=_0x4f0249['commands'][_0x2209('0x27')](_0x2209('0x30'));if(!_0x47d46f||!_0x47d46f[_0x2209('0x76')][_0x2209('0x4d')](_0x3c9af5[_0x2209('0x57')]))return!0x1;let _0x6f5310=!0x1;const _0xf85758=_0x4f0249['plugins'][_0x2209('0x27')](_0x2209('0x37'))['me'],_0x424507=_0x4f0249[_0x2209('0x8')]['document']['differ'][_0x2209('0x6a')](),_0x37c5b7=Array['from'](_0x4f0249[_0x2209('0x8')]['document'][_0x2209('0x7')][_0x2209('0x99')]())[_0x2209('0x55')](({name:_0x3e164f,data:_0x157ad2})=>{const {group:_0x460858,subType:_0x48d7a1,authorId:_0x22ca35}=_0x29fa46[_0x2209('0x4e')](_0x3e164f);return _0x2209('0xa')==_0x460858&&'tablePaste'==_0x48d7a1&&_0x22ca35==_0xf85758['id']&&!_0x157ad2[_0x2209('0x44')];});for(const _0x563cd6 of _0x424507){if(_0x2209('0x8a')!=_0x563cd6['type']||'tableCellSuggestion'!=_0x563cd6[_0x2209('0x70')]||0x1!=_0x563cd6[_0x2209('0x6b')])continue;const _0x488b27=_0x3c9af5[_0x2209('0x92')](_0x563cd6[_0x2209('0x71')],_0x563cd6[_0x2209('0x71')][_0x2209('0x39')](0x1));if(!_0x37c5b7[_0x2209('0x13')](({data:_0x24b9ce})=>_0x24b9ce['newRange'][_0x2209('0x89')](_0x488b27)))for(const {name:_0x214697,data:_0x3ea116}of _0x37c5b7)if(_0x488b27['containsRange'](_0x3ea116[_0x2209('0xa2')])){_0x3c9af5[_0x2209('0x1d')](_0x214697,{'range':_0x488b27}),_0x6f5310=!0x0;break;}}return _0x6f5310;}),_0x4f0249[_0x2209('0x8')][_0x2209('0x14')][_0x2209('0x43')](_0x5147c3=>{let _0x4effdd=!0x1;const _0x58b299=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x37'))['me'],_0x49fb97=_0x29fa46[_0x2209('0x3e')]()['filter'](_0x25c90e=>_0x25c90e[_0x2209('0x58')]&&_0x25c90e[_0x2209('0x1e')]==_0x58b299),_0x455daf=new Set(),_0x538e34=new Set();for(const _0x2d0001 of _0x49fb97)if(_0x2209('0xa8')==_0x2d0001[_0x2209('0x1c')])for(const _0x59bc08 of _0x2d0001['getMarkers']()){const _0xc92c9f=_0x59bc08['getRange']()[_0x2209('0x82')]();if(_0xc92c9f){if(_0xc92c9f['is'](_0x2209('0x6'),_0x2209('0x95'))&&ce(_0xc92c9f)){_0x2d0001[_0x2209('0x96')](_0x59bc08['name']),_0x455daf['add'](_0xc92c9f),_0x4effdd=!0x0;const _0x127836=_0xc92c9f[_0x2209('0x66')],_0x52a20c=_0xc92c9f[_0x2209('0x4')],_0x271740=_0x127836&&_0x127836['is']('element','tableCellSuggestion'),_0x27971a=_0x52a20c&&_0x52a20c['is'](_0x2209('0x6'),_0x2209('0x95'));_0x271740&&!_0x455daf[_0x2209('0x4d')](_0x127836)&&_0x538e34[_0x2209('0xd')](_0x127836),_0x27971a&&!_0x455daf[_0x2209('0x4d')](_0x52a20c)&&_0x538e34[_0x2209('0xd')](_0x52a20c);}else _0xc92c9f['is'](_0x2209('0x6'),_0x2209('0x90'))&&_0xc92c9f[_0x2209('0x50')]&&(_0x2d0001['removeMarker'](_0x59bc08[_0x2209('0x70')]),_0x4effdd=!0x0);}}else{if(_0x2209('0x46')==_0x2d0001[_0x2209('0x1c')]){if(!_0x2d0001['attributes']||!_0x2d0001[_0x2209('0x9b')][_0x2209('0x98')])continue;const _0x3b7f89=_0x2d0001[_0x2209('0x9b')]['markerAttributes'];if(_0x3b7f89&&Object[_0x2209('0x36')](_0x3b7f89)[_0x2209('0x6b')])continue;const _0x57bb5c=_0x2d0001[_0x2209('0x9b')]['tablePasteChainId'];let _0x22ebe6=!0x0,_0x3a4b35=!0x0;for(const _0x29a389 of _0x49fb97)if(_0x29a389[_0x2209('0x1c')]&&_0x29a389[_0x2209('0x1c')][_0x2209('0x45')](_0x2209('0xa8'))){if(!_0x29a389['attributes']['tablePasteChainId']){_0x3a4b35=!0x1;break;}if(_0x29a389['id']!=_0x2d0001['id']&&_0x29a389[_0x2209('0x9b')][_0x2209('0x98')]==_0x57bb5c){_0x22ebe6=!0x1;break;}}_0x3a4b35&&_0x22ebe6&&(_0x2d0001[_0x2209('0x97')](),_0x4effdd=!0x0);}}for(const _0x1a3242 of _0x455daf)_0x5147c3[_0x2209('0x49')](_0x1a3242);for(const _0xf7f3c1 of _0x538e34)_0x5147c3[_0x2209('0x21')](_0xf7f3c1);return _0x4effdd;}),_0x4f0249[_0x2209('0x41')][_0x2209('0x16')](_0x2209('0x9d'))[_0x2209('0x3c')]({'model':_0x2209('0x88'),'view':(_0x2cf849,_0x550520)=>_0x8cedc7(_0x2cf849),'converterPriority':'high'}),_0x4f0249[_0x2209('0x41')]['for'](_0x2209('0x3d'))[_0x2209('0x3c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1e08dc,_0x5df712)=>_0x5df712[_0x2209('0x81')][_0x2209('0x5c')]?_0x8cedc7(_0x1e08dc,!0x1):null,'converterPriority':_0x2209('0x54')});const _0x1b490f=_0x4f0249[_0x2209('0x9a')]['view'];this[_0x2209('0x6c')](_0x1b490f[_0x2209('0x14')],_0x2209('0x8f'),(_0x1867cd,_0x4430a4)=>{const _0x1179d0=[];for(const _0x45f759 of _0x1b490f['createRangeIn'](_0x4430a4['content'])[_0x2209('0xf')]())_0x45f759['is'](_0x2209('0x6'),_0x2209('0x32'))&&_0x1179d0[_0x2209('0xa3')](_0x45f759);_0x1b490f[_0x2209('0xc')](_0x364038=>{for(const _0x3bb6e1 of _0x1179d0)_0x364038[_0x2209('0x22')](_0x364038[_0x2209('0x4a')](_0x3bb6e1),_0x364038[_0x2209('0x78')](_0x3bb6e1)),_0x364038[_0x2209('0x49')](_0x3bb6e1);});});}}function ce(_0x9ab764){if(_0x9ab764[_0x2209('0x50')])return!0x0;const _0x589e8e=_0x9ab764['getChild'](0x0);return _0x589e8e['is'](_0x2209('0x6'),_0x2209('0x90'))&&_0x589e8e[_0x2209('0x50')];}function fe(_0x57a5ca,_0x99a23d={},_0xe21cad){for(const {isAnchor:_0x112dc9,cellHeight:_0x40be4c,cellWidth:_0x10f845}of _0xe21cad[_0x2209('0x3')](_0x57a5ca,{'includeAllSlots':!0x0,..._0x99a23d}))if(!_0x112dc9||0x1!=_0x40be4c||0x1!=_0x10f845)return!0x1;return!0x0;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f7f=['getTableColumnsWidths','model','afterInit','handleSuggestionDescription','registerCustomCallback','Users','selection','locale','commandParams','columnWidths','document','registerDescriptionCallback','author','has','discard','plugins','formatBlock','_descriptionFactory','resizeTable','getSuggestionCallback','data','change','format','bind','get','editor','enableCommand','getColumnGroupElement','tableWidth','getContainedElement','accept','TableColumnResizeEditing','TrackChangesEditing','resizeTableWidth','_suggestionFactory','getAttribute','handleResizeTableWidthCommand'];(function(_0x1e929e,_0x3f7f55){const _0x30efc7=function(_0x599b46){while(--_0x599b46){_0x1e929e['push'](_0x1e929e['shift']());}};_0x30efc7(++_0x3f7f55);}(_0x3f7f,0xe4));const _0x30ef=function(_0x1e929e,_0x3f7f55){_0x1e929e=_0x1e929e-0x0;let _0x30efc7=_0x3f7f[_0x1e929e];return _0x30efc7;};import{Plugin as _0x48d351}from'ckeditor5/src/core';import{getTranslation as _0x1a8e11}from'../utils/common-translations';export default class wt extends _0x48d351{[_0x30ef('0x21')](){if(!this[_0x30ef('0x13')]['plugins'][_0x30ef('0x7')]('TableColumnResizeEditing'))return;const _0x135e2b=this['editor'][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x1a'));_0x135e2b[_0x30ef('0x14')](_0x30ef('0x1b'),this[_0x30ef('0x1e')]['bind'](this)),_0x135e2b['enableCommand']('resizeColumnWidths',this[_0x30ef('0x1e')][_0x30ef('0x11')](this)),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0x23')](_0x30ef('0xa'),_0x30ef('0xc'),_0x30ef('0x18'),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0xd')](_0x30ef('0xa'),null,_0x30ef('0x8'))),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0x23')](_0x30ef('0xa'),_0x30ef('0xc'),_0x30ef('0x8'),_0x135e2b['_suggestionFactory']['getSuggestionCallback'](_0x30ef('0xa'),null,_0x30ef('0x18'))),_0x135e2b[_0x30ef('0xb')][_0x30ef('0x5')](this[_0x30ef('0x22')]['bind'](this));}[_0x30ef('0x1e')](_0x238d07,_0x784962){const _0x146a11=this[_0x30ef('0x13')]['plugins'][_0x30ef('0x12')](_0x30ef('0x1a')),_0x3a8397=this[_0x30ef('0x13')][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x19')),_0x25326a=_0x784962['table']||this[_0x30ef('0x13')][_0x30ef('0x20')][_0x30ef('0x4')][_0x30ef('0x0')]['getSelectedElement']();this[_0x30ef('0x13')]['model'][_0x30ef('0xf')](()=>{const _0x34661e=_0x3a8397[_0x30ef('0x15')](_0x25326a);let _0x205b89=_0x34661e?_0x3a8397[_0x30ef('0x1f')](_0x34661e):null,_0x4d5769=_0x25326a[_0x30ef('0x1d')](_0x30ef('0x16'))||null;const _0x1861bb=_0x784962[_0x30ef('0x16')]||_0x4d5769,_0x5d45ff=_0x784962[_0x30ef('0x3')]||_0x205b89,_0x1e8188=this['editor'][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x24'))['me'];for(const _0x1f85b7 of _0x146a11['getSuggestions']()){const _0x132fa2=_0x1f85b7[_0x30ef('0x17')]();if(_0x30ef('0xc')===_0x1f85b7['subType']&&_0x132fa2===_0x25326a){_0x1f85b7[_0x30ef('0x6')]!==_0x1e8188&&_0x1f85b7['discard']();const _0x1f322f=_0x1f85b7[_0x30ef('0xe')][_0x30ef('0x2')];_0x4d5769=_0x1f322f[0x0]['tableWidth'],_0x205b89=_0x1f322f[0x0][_0x30ef('0x3')];break;}}_0x238d07({'table':_0x25326a,'tableWidth':_0x1861bb,'columnWidths':_0x5d45ff}),_0x146a11['markBlockFormat'](_0x25326a,{'commandName':_0x30ef('0x1b'),'commandParams':[{'tableWidth':_0x4d5769,'columnWidths':_0x205b89}],'formatGroupId':_0x30ef('0xc')},[],_0x30ef('0xc'));});}[_0x30ef('0x22')](_0x48ef8f){const {data:_0x21db1b}=_0x48ef8f;if(_0x21db1b&&_0x30ef('0xc')===_0x21db1b['formatGroupId']){const _0x569bf8='*Format:*\x20resize\x20table';return{'type':_0x30ef('0x10'),'content':_0x1a8e11(this['editor'][_0x30ef('0x1')],_0x569bf8)};}}}
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)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x61a8=['getColumnIndexes','registerCustomCallback','consumable','TableEditing','writer','plugins','setAttribute','downcastDispatcher','index','nodeAfter','value','highest','start','bindElementToMarker','childCount','markerName','last','locale','requires','editing','removeClass','removeMarker:suggestion','editor','item','markerRange','has','stop','setTableColumnHeader','createTableWalker','getRowIndexes','commandName','FORMAT_REGULAR_ROW','_descriptionFactory','TableUtils','getSuggestion','markerNameToElements','data','TrackChangesEditing','table','cell','addMarker:suggestion','unbindElementFromMarkerName','model','createPositionBefore','document','isBefore','change','mapper','FORMAT_HEADER_COLUMN','_splitMarkerName','ck-suggestion-marker--active','setTableRowHeader','nodeBefore','createRange','ck-suggestion-marker-','first','end','includes','parent','data-suggestion','createPositionAfter','FORMAT_HEADER_ROW','findAncestor','*Format:*\x20%0','showSuggestionHighlights','getSelectionAffectedTableCells','selection','getAttribute','formatBlock','getCellLocation','name','get','commands','headingRows','addClass','accept','removeAttribute','forceValue','markBlockFormat','getChild'];(function(_0xcd00f4,_0x61a81a){const _0xd83182=function(_0x387829){while(--_0x387829){_0xcd00f4['push'](_0xcd00f4['shift']());}};_0xd83182(++_0x61a81a);}(_0x61a8,0x99));const _0xd831=function(_0xcd00f4,_0x61a81a){_0xcd00f4=_0xcd00f4-0x0;let _0xd83182=_0x61a8[_0xcd00f4];return _0xd83182;};import{Plugin as _0x220e0a}from'ckeditor5/src/core';import _0x2aa8e8 from'./table';import{getTranslation as _0x31ad43}from'../utils/common-translations';export default class pt extends _0x220e0a{static get[_0xd831('0x19')](){return[_0x2aa8e8];}['afterInit'](){const _0x44a036=this[_0xd831('0x1d')];if(!_0x44a036['plugins'][_0xd831('0x20')](_0xd831('0xa')))return;const _0x30ca7d=_0x44a036[_0xd831('0x18')],_0x318b6e=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0xd831('0x2c')),_0x4c25a4=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0xd831('0x28')),_0x3d3884=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0x2aa8e8);function _0x194402({showActiveMarker:_0x52eb84=!0x0,setDataAttribute:_0x409d99=!0x0}={}){return(_0x89fea2,_0x142108,_0xb802ca)=>{const {type:_0x1d9792,id:_0x44f35f}=_0x318b6e[_0xd831('0x38')](_0x142108[_0xd831('0x16')]),_0x19eb92=_0x318b6e['getSuggestion'](_0x44f35f);if(!_0x19eb92[_0xd831('0x2b')]||'setTableColumnHeader'!=_0x19eb92[_0xd831('0x2b')]['commandName'])return;if(_0x142108[_0xd831('0x1e')])return void _0x89fea2[_0xd831('0x21')]();if(!_0xb802ca[_0xd831('0x9')]['consume'](_0x142108[_0xd831('0x1f')],_0x89fea2[_0xd831('0x4d')]))return;const _0x59f32a=_0x142108[_0xd831('0x1f')][_0xd831('0x13')][_0xd831('0x10')],_0x329716=_0x142108[_0xd831('0x1f')][_0xd831('0x3f')][_0xd831('0x3b')],_0xd23bd0=_0x59f32a[_0xd831('0x41')][_0xd831('0x41')],{column:_0x33e79d}=_0x4c25a4[_0xd831('0x4c')](_0x59f32a),{column:_0x21b971}=_0x4c25a4[_0xd831('0x4c')](_0x329716);for(let _0x28919f=_0x33e79d;_0x28919f<=_0x21b971;_0x28919f++){const _0xd03442=_0x4c25a4[_0xd831('0x23')](_0xd23bd0,{'column':_0x28919f,'includeAllSlots':!0x1});for(const _0xeea827 of _0xd03442){const _0x226d02=_0xeea827[_0xd831('0x2e')],_0x5eb75c=_0xb802ca[_0xd831('0x36')]['toViewElement'](_0x226d02);_0xb802ca[_0xd831('0xb')][_0xd831('0x1')](_0xd831('0x3d')+_0x1d9792,_0x5eb75c),_0x409d99&&_0xb802ca['writer'][_0xd831('0xd')](_0xd831('0x42'),_0x44f35f,_0x5eb75c),_0xb802ca[_0xd831('0x36')][_0xd831('0x14')](_0x5eb75c,_0x142108[_0xd831('0x16')]),_0x52eb84&&(_0x318b6e['activeMarkers'][_0xd831('0x40')](_0x142108[_0xd831('0x16')])?_0xb802ca[_0xd831('0xb')][_0xd831('0x1')]('ck-suggestion-marker--active',_0x5eb75c):_0xb802ca['writer'][_0xd831('0x1b')](_0xd831('0x39'),_0x5eb75c));}}};}_0x318b6e['enableCommand'](_0xd831('0x3a'),(_0x2de095,_0x2513b4)=>{const _0x585365=_0x4c25a4[_0xd831('0x48')](_0x44a036[_0xd831('0x31')][_0xd831('0x33')][_0xd831('0x49')]),_0x3de822=_0x4c25a4[_0xd831('0x24')](_0x585365),_0x5c3a8a=_0x585365[0x0][_0xd831('0x45')](_0xd831('0x2d')),_0x23d914=_0x5c3a8a[_0xd831('0x4a')](_0xd831('0x0'))||0x0,_0xa165d0=_0x2513b4&&null!==_0x2513b4[_0xd831('0x4')]?_0x2513b4[_0xd831('0x4')]:!_0x44a036[_0xd831('0x4f')]['get'](_0xd831('0x3a'))[_0xd831('0x11')],_0xeb01ad=_0xa165d0?_0x3de822[_0xd831('0x17')]:_0x3de822['first'],_0x4c44f1=_0x5c3a8a[_0xd831('0x6')](_0xeb01ad);let _0x1a9696;if(_0xa165d0){const _0x3a81fd=_0x5c3a8a[_0xd831('0x6')](_0x23d914);if(_0x4c44f1[_0xd831('0xf')]<_0x3a81fd[_0xd831('0xf')])return;_0x1a9696=_0x44a036['model'][_0xd831('0x3c')](_0x44a036[_0xd831('0x31')][_0xd831('0x32')](_0x3a81fd[_0xd831('0x6')](0x0)),_0x44a036[_0xd831('0x31')][_0xd831('0x43')](_0x4c44f1[_0xd831('0x6')](_0x4c44f1[_0xd831('0x15')]-0x1)));}else{const _0x56a73d=_0x5c3a8a[_0xd831('0x6')](_0x23d914-0x1);if(!_0x56a73d)return;_0x1a9696=_0x44a036[_0xd831('0x31')][_0xd831('0x3c')](_0x44a036['model'][_0xd831('0x32')](_0x4c44f1[_0xd831('0x6')](0x0)),_0x44a036['model']['createPositionAfter'](_0x56a73d[_0xd831('0x6')](_0x56a73d['childCount']-0x1)));}_0x44a036[_0xd831('0x31')][_0xd831('0x35')](()=>{_0x318b6e['markBlockFormat'](_0x1a9696,{'commandName':_0xd831('0x3a'),'commandParams':[{'forceValue':_0xa165d0}]},[],_0xd831('0x3a'));});}),_0x318b6e['enableCommand'](_0xd831('0x22'),(_0x268a8d,_0x5b7510)=>{const _0x2e45d7=_0x44a036['plugins'][_0xd831('0x4e')]('TableUtils'),_0x46759d=_0x2e45d7[_0xd831('0x48')](_0x44a036[_0xd831('0x31')]['document'][_0xd831('0x49')]),_0x5e3601=_0x2e45d7[_0xd831('0x7')](_0x46759d),_0x2762eb=_0x46759d[0x0][_0xd831('0x45')](_0xd831('0x2d')),_0x52eca9=_0x2762eb[_0xd831('0x4a')]('headingColumns')||0x0,_0x38b369=_0x5b7510&&null!==_0x5b7510[_0xd831('0x4')]?_0x5b7510['forceValue']:!_0x44a036[_0xd831('0x4f')][_0xd831('0x4e')]('setTableColumnHeader')[_0xd831('0x11')];let _0x3b8928;const _0x4d40de=_0x2762eb[_0xd831('0x6')](0x0),_0xf0f9d6=_0x38b369?_0x5e3601[_0xd831('0x17')]:_0x5e3601[_0xd831('0x3e')],_0x2f62f0=_0x2e45d7[_0xd831('0x23')](_0x2762eb,{'startRow':0x0,'column':_0xf0f9d6,'includeAllSlots':!0x1}),_0x1e09db=Array['from'](_0x2f62f0)[0x0][_0xd831('0x2e')];if(_0x38b369){const _0x5c0a09=_0x4d40de[_0xd831('0x6')](_0x52eca9);if(_0x1e09db[_0xd831('0x34')](_0x5c0a09))return;_0x3b8928=_0x44a036[_0xd831('0x31')]['createRange'](_0x44a036['model'][_0xd831('0x32')](_0x5c0a09),_0x44a036[_0xd831('0x31')][_0xd831('0x43')](_0x1e09db));}else{const _0x163f80=_0x4d40de[_0xd831('0x6')](_0x52eca9-0x1);if(!_0x163f80)return;_0x3b8928=_0x44a036[_0xd831('0x31')][_0xd831('0x3c')](_0x44a036[_0xd831('0x31')][_0xd831('0x32')](_0x1e09db),_0x44a036['model'][_0xd831('0x43')](_0x163f80));}_0x44a036[_0xd831('0x31')]['change'](()=>{_0x318b6e[_0xd831('0x5')](_0x3b8928,{'commandName':_0xd831('0x22'),'commandParams':[{'forceValue':_0x38b369}]},[],_0xd831('0x22'));});}),_0x44a036[_0xd831('0x1a')]['downcastDispatcher']['on'](_0xd831('0x2f'),_0x194402(),{'priority':_0xd831('0x12')}),_0x44a036['data'][_0xd831('0xe')]['on'](_0xd831('0x2f'),(_0x41c5b3,_0xb8c8ae,_0x24283c)=>{_0x24283c['options'][_0xd831('0x47')]&&_0x194402({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x41c5b3,_0xb8c8ae,_0x24283c);},{'priority':_0xd831('0x12')}),_0x44a036[_0xd831('0x1a')][_0xd831('0xe')]['on'](_0xd831('0x1c'),(_0x3b6c1a,_0x263a23,_0x16942c)=>{const {type:_0x59a349,id:_0x3563fd}=_0x318b6e[_0xd831('0x38')](_0x263a23['markerName']),_0x4357ca=_0x318b6e[_0xd831('0x29')](_0x3563fd);if(!_0x4357ca['data']||_0xd831('0x22')!=_0x4357ca['data'][_0xd831('0x25')])return;const _0x5f0a9c=_0x16942c[_0xd831('0x36')][_0xd831('0x2a')](_0x263a23[_0xd831('0x16')]);if(_0x5f0a9c)for(const _0x30e276 of _0x5f0a9c)_0x16942c[_0xd831('0xb')][_0xd831('0x1b')]('ck-suggestion-marker-'+_0x59a349,_0x30e276),_0x16942c[_0xd831('0xb')][_0xd831('0x1b')]('ck-suggestion-marker--active',_0x30e276),_0x16942c[_0xd831('0xb')][_0xd831('0x3')]('data-suggestion',_0x30e276),_0x16942c[_0xd831('0x36')][_0xd831('0x30')](_0x30e276,_0x263a23[_0xd831('0x16')]);},{'priority':'highest'}),_0x318b6e[_0xd831('0x27')]['registerDescriptionCallback'](_0x54a3ab=>{const {data:_0x18f67e}=_0x54a3ab;if(_0x18f67e){if('setTableRowHeader'==_0x18f67e[_0xd831('0x25')]){const _0x47f6ed=_0x18f67e['commandParams'][0x0][_0xd831('0x4')];return _0x5d361e(_0x31ad43(_0x30ca7d,_0x47f6ed?_0xd831('0x44'):_0xd831('0x26')));}if(_0xd831('0x22')==_0x18f67e[_0xd831('0x25')]){const _0x27e659=_0x18f67e['commandParams'][0x0][_0xd831('0x4')];return _0x5d361e(_0x31ad43(_0x30ca7d,_0x27e659?_0xd831('0x37'):'FORMAT_REGULAR_COLUMN'));}}function _0x5d361e(_0x4473fd){return{'type':'format','content':_0x31ad43(_0x30ca7d,_0xd831('0x46'),_0x4473fd)};}});const _0xaa450f=_0x3d3884['_acceptFormatSuggestionCallbackFactory']();_0x318b6e['_suggestionFactory'][_0xd831('0x8')]('formatBlock',_0xd831('0x3a'),_0xd831('0x2'),_0xaa450f),_0x318b6e['_suggestionFactory'][_0xd831('0x8')](_0xd831('0x4b'),'setTableColumnHeader','accept',_0xaa450f);}}
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'));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32fc=['mergeTableCellLeft','mergeTableCellRight','has','find','_isForcedDefaultExecutionBlock','formatBlock','tableCell','*Merge\x20cells*','horizontally','get','element','value','setSelection','_acceptFormatSuggestionCallbackFactory','getAncestors','getSuggestions','commandName','_areSelectedCellsMergable','change','type','size','findAncestor','deletion','length','editor','stop','mergeTableCellUp','splitTableCellHorizontally','model','TrackChangesEditing','document','markBlockFormat','registerCustomCallback','detach','highest','markMultiRangeBlockFormat','enableCommand','createTableWalker','splitTableCellVertically','author','plugins','direction','selection','format','TableEditing','from','createRangeOn','_areMergableCells','requires','mergeTableCellDown','push','commands','trackChanges','getRanges','cell','getFirstPosition','add','afterInit','containsRange','accept','mergeTableCells','locale','insertion','_tablePostFixingSubtypes','TableUtils','registerDescriptionCallback','subType','execute','refresh','isInContent','_suggestionFactory','fromRange','rootName','map','low','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically'];(function(_0x43991f,_0x32fce6){const _0x1def32=function(_0x261750){while(--_0x261750){_0x43991f['push'](_0x43991f['shift']());}};_0x1def32(++_0x32fce6);}(_0x32fc,0x180));const _0x1def=function(_0x43991f,_0x32fce6){_0x43991f=_0x43991f-0x0;let _0x1def32=_0x32fc[_0x43991f];return _0x1def32;};import{Plugin as _0x1c99b2}from'ckeditor5/src/core';import _0x4cdabb from'./table';import{LiveRange as _0x2df9e5}from'ckeditor5/src/engine';import{getTranslation as _0x3b6c68}from'../utils/common-translations';export default class dt extends _0x1c99b2{static get[_0x1def('0x31')](){return[_0x4cdabb];}[_0x1def('0x3a')](){const _0x12172b=this[_0x1def('0x19')],_0xc2aeb1=_0x12172b[_0x1def('0x1d')][_0x1def('0x1f')][_0x1def('0x2b')],_0x3c38b8=_0x12172b[_0x1def('0x3e')];if(!_0x12172b[_0x1def('0x29')][_0x1def('0x3')](_0x1def('0x2d')))return;const _0x1a001a=_0x12172b[_0x1def('0x29')][_0x1def('0xa')](_0x1def('0x1e')),_0x318cf7=_0x12172b[_0x1def('0x29')]['get'](_0x1def('0x41')),_0xcb5888=_0x12172b['plugins'][_0x1def('0xa')](_0x4cdabb);_0xcb5888[_0x1def('0x40')][_0x1def('0x33')]('mergeTableCells'),_0x1a001a[_0x1def('0x25')](_0x1def('0x3d'),()=>{const _0xc3f9a1=_0x318cf7['getSelectionAffectedTableCells'](_0x12172b['model']['document'][_0x1def('0x2b')]);_0x12172b[_0x1def('0x1d')][_0x1def('0x13')](()=>{_0x1a001a[_0x1def('0x24')](_0xc3f9a1,{'commandName':_0x1def('0x3d'),'commandParams':[]},[],_0x1def('0x3d'));});}),_0x12172b['commands'][_0x1def('0xa')](_0x1def('0x3d'))['on'](_0x1def('0x44'),(_0x21a497,_0x569b4e)=>{_0x12172b['commands'][_0x1def('0xa')](_0x1def('0x35'))[_0x1def('0xc')]&&(_0x569b4e[_0x1def('0x18')]>0x0&&_0x569b4e[_0x569b4e[_0x1def('0x18')]-0x1]&&_0x569b4e[_0x569b4e['length']-0x1]['forceDefaultExecution']||_0x1a001a[_0x1def('0x5')]||this[_0x1def('0x12')]()||_0x21a497[_0x1def('0x1a')]());},{'priority':_0x1def('0x23')});for(const _0x57b502 of[_0x1def('0x1b'),_0x1def('0x2'),_0x1def('0x32'),_0x1def('0x1')]){const _0x112e9d=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x57b502);_0x1a001a[_0x1def('0x25')](_0x57b502,()=>{const _0x4e6d72=_0x12172b[_0x1def('0x1d')][_0x1def('0x1f')]['selection']['getFirstPosition']()['getAncestors']()['find'](_0xba405b=>_0xba405b['is'](_0x1def('0xb'),_0x1def('0x7'))),_0xc7351=_0x112e9d[_0x1def('0xc')];_0x12172b[_0x1def('0x1d')][_0x1def('0x13')](()=>{_0x1a001a['markMultiRangeBlockFormat']([_0x4e6d72,_0xc7351],{'commandName':_0x1def('0x3d'),'commandParams':[]},[],_0x1def('0x3d'));});});}for(const _0x185cdd of[_0x1def('0x27'),'splitTableCellHorizontally']){const _0x71c60f=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x185cdd);_0x1a001a[_0x1def('0x25')](_0x185cdd,()=>{const _0x2800c8=_0x318cf7[_0x1def('0x4c')](_0x12172b['model'][_0x1def('0x1f')]['selection'])[0x0],_0x37e889=_0x2800c8[_0x1def('0x16')]('table'),{column:_0x4be12c,row:_0x364652}=_0x318cf7['getCellLocation'](_0x2800c8);let _0x19f11e=[];if(_0x1def('0x9')==_0x71c60f[_0x1def('0x2a')]){const _0x21ba43=_0x318cf7[_0x1def('0x26')](_0x37e889,{'startRow':_0x364652,'endRow':_0x364652,'includeAllSlots':!0x0});_0x19f11e=Array[_0x1def('0x2e')](_0x21ba43)['map'](_0x4daaab=>_0x4daaab[_0x1def('0x37')]);}else{const _0x2aa8cd=_0x318cf7['createTableWalker'](_0x37e889,{'column':_0x4be12c,'includeAllSlots':!0x0});_0x19f11e=Array[_0x1def('0x2e')](_0x2aa8cd)[_0x1def('0x4a')](_0x50296a=>_0x50296a[_0x1def('0x37')]);}_0x12172b[_0x1def('0x1d')]['change'](_0x3f0670=>{_0x1a001a[_0x1def('0x20')](_0x3f0670[_0x1def('0x2f')](_0x2800c8),{'commandName':_0x185cdd,'commandParams':[]},_0x19f11e,_0x185cdd);});});}_0x1a001a['_descriptionFactory'][_0x1def('0x42')](_0x2e3a2e=>{const {data:_0x47c288}=_0x2e3a2e;if(_0x47c288)return'mergeTableCells'==_0x47c288['commandName']?{'type':'format','content':_0x3b6c68(_0x3c38b8,_0x1def('0x8'))}:void 0x0;}),_0x1a001a['_descriptionFactory'][_0x1def('0x42')](_0x22267b=>{const {data:_0x3a733e}=_0x22267b;if(_0x3a733e)return _0x1def('0x27')==_0x3a733e[_0x1def('0x11')]?{'type':_0x1def('0x2c'),'content':_0x3b6c68(_0x3c38b8,_0x1def('0x0'))}:'splitTableCellHorizontally'==_0x3a733e[_0x1def('0x11')]?{'type':_0x1def('0x2c'),'content':_0x3b6c68(_0x3c38b8,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x77d5b3=_0xcb5888[_0x1def('0xe')]();for(const _0xfdb85d of['mergeTableCellUp',_0x1def('0x2'),_0x1def('0x32'),_0x1def('0x1')])_0x1a001a[_0x1def('0x47')]['registerCustomCallback']('formatBlock',_0xfdb85d,_0x1def('0x3c'),_0x77d5b3);for(const _0x2327ba of[_0x1def('0x27'),_0x1def('0x1c')])_0x1a001a[_0x1def('0x47')][_0x1def('0x21')](_0x1def('0x6'),_0x2327ba,_0x1def('0x3c'),_0x77d5b3);_0x1a001a['_suggestionFactory'][_0x1def('0x21')]('formatBlock','mergeTableCells',_0x1def('0x3c'),_0x3f40c4=>{_0x12172b[_0x1def('0x1d')]['change'](_0x2e30f2=>{const _0x56b6f8=Array[_0x1def('0x2e')](_0xc2aeb1[_0x1def('0x36')]())['map'](_0x4eaaa9=>_0x2df9e5[_0x1def('0x48')](_0x4eaaa9));_0x2e30f2[_0x1def('0xd')](_0x3f40c4),_0x12172b[_0x1def('0x34')]['get']('mergeTableCells')[_0x1def('0x45')](),_0x12172b[_0x1def('0x44')](_0x1def('0x3d'),{'forceDefaultExecution':!0x0});const _0xcddf64=_0x56b6f8['filter'](_0x13e320=>'$graveyard'!=_0x13e320['root'][_0x1def('0x49')]);_0xcddf64[_0x1def('0x18')]>0x0&&_0x2e30f2['setSelection'](_0xcddf64);for(const _0x59051c of _0x56b6f8)_0x59051c[_0x1def('0x22')]();});});for(const _0x4edc9d of['mergeTableCellUp','mergeTableCellDown',_0x1def('0x1'),_0x1def('0x2')]){const _0x2cd553=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x4edc9d);_0x2cd553['on']('set:isEnabled',(_0xbafbfc,_0x43c63c,_0x500192)=>{if(_0x500192){const _0x371767=_0x12172b[_0x1def('0x1d')]['document']['selection'][_0x1def('0x38')]()[_0x1def('0xf')]()[_0x1def('0x4')](_0x3d3b7c=>_0x3d3b7c['is']('element',_0x1def('0x7')));this[_0x1def('0x30')](_0x2cd553[_0x1def('0xc')],_0x371767)||(_0xbafbfc['return']=!0x1,_0xbafbfc[_0x1def('0x1a')]());}},{'priority':_0x1def('0x4b')});}}[_0x1def('0x12')](){const _0x57e7bb=this['editor']['commands'][_0x1def('0xa')](_0x1def('0x3d')),_0x26cca1=this['editor'][_0x1def('0x29')][_0x1def('0xa')]('TableUtils');if(!_0x57e7bb['isEnabled'])return!0x1;const _0x4ef94c=_0x26cca1[_0x1def('0x4c')](this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x1f')]['selection']);for(const _0x17212a of _0x4ef94c)for(const _0x1efab1 of _0x4ef94c)if(_0x17212a!=_0x1efab1&&!this[_0x1def('0x30')](_0x17212a,_0x1efab1))return!0x1;return!0x0;}[_0x1def('0x30')](_0x786cfa,_0x228f58){const _0xc99711=this[_0x1def('0x19')]['plugins']['get'](_0x1def('0x1e')),_0x1a3f96=this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x2f')](_0x786cfa),_0x55f31c=this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x2f')](_0x228f58),_0x1c0e25=new Set(),_0x7f331b=new Set();for(const _0x3ba037 of _0xc99711[_0x1def('0x10')]())if((_0x1def('0x3f')==_0x3ba037[_0x1def('0x14')]||_0x1def('0x17')==_0x3ba037['type']||_0x1def('0x3d')==_0x3ba037[_0x1def('0x43')])&&_0x3ba037[_0x1def('0x46')])for(const _0x1ddebc of _0x3ba037[_0x1def('0x36')]())_0x1ddebc[_0x1def('0x3b')](_0x1a3f96,!0x0)&&_0x1c0e25[_0x1def('0x39')](_0x3ba037[_0x1def('0x14')]+':'+_0x3ba037[_0x1def('0x28')]['id']),_0x1ddebc[_0x1def('0x3b')](_0x55f31c,!0x0)&&_0x7f331b[_0x1def('0x39')](_0x3ba037[_0x1def('0x14')]+':'+_0x3ba037[_0x1def('0x28')]['id']);if(_0x1c0e25[_0x1def('0x15')]!=_0x7f331b[_0x1def('0x15')])return!0x1;for(const _0x104a6 of _0x1c0e25)if(!_0x7f331b[_0x1def('0x3')](_0x104a6))return!0x1;return!0x0;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a9f=['tableOfContents','_descriptionFactory','insertTableOfContents','TrackChangesEditing','plugins','editor','ELEMENT_TABLE_OF_CONTENTS','enableCommand','afterInit','get','commands'];(function(_0x5c1925,_0x1a9f5d){const _0x241e29=function(_0x2d75f4){while(--_0x2d75f4){_0x5c1925['push'](_0x5c1925['shift']());}};_0x241e29(++_0x1a9f5d);}(_0x1a9f,0x1e7));const _0x241e=function(_0x5c1925,_0x1a9f5d){_0x5c1925=_0x5c1925-0x0;let _0x241e29=_0x1a9f[_0x5c1925];return _0x241e29;};import{Plugin as _0x883976}from'ckeditor5/src/core';import{getTranslation as _0x1e0a6f}from'../utils/common-translations';export default class bt extends _0x883976{[_0x241e('0x5')](){const _0x13f134=this[_0x241e('0x2')];if(!_0x13f134[_0x241e('0x7')]['get'](_0x241e('0xa')))return;_0x13f134['plugins']['get'](_0x241e('0x0'))[_0x241e('0x4')]('insertTableOfContents');const _0x5d2385=_0x13f134[_0x241e('0x1')][_0x241e('0x6')]('TrackChangesEditing'),_0x45073d=_0x13f134['locale'];_0x5d2385[_0x241e('0x9')]['registerElementLabel'](_0x241e('0x8'),_0x40ab2b=>_0x1e0a6f(_0x45073d,_0x241e('0x3'),_0x40ab2b));}}
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));}}