@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.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 (112) hide show
  1. package/build/track-changes.js +1 -1
  2. package/lang/translations/ar.po +1 -0
  3. package/lang/translations/az.po +1 -0
  4. package/lang/translations/bg.po +1 -0
  5. package/lang/translations/bn.po +1 -0
  6. package/lang/translations/ca.po +1 -0
  7. package/lang/translations/cs.po +1 -0
  8. package/lang/translations/da.po +1 -0
  9. package/lang/translations/de.po +1 -0
  10. package/lang/translations/el.po +1 -0
  11. package/lang/translations/en-au.po +1 -0
  12. package/lang/translations/en.po +1 -0
  13. package/lang/translations/es.po +1 -0
  14. package/lang/translations/et.po +1 -0
  15. package/lang/translations/fi.po +1 -0
  16. package/lang/translations/fr.po +1 -0
  17. package/lang/translations/gl.po +1 -0
  18. package/lang/translations/he.po +1 -0
  19. package/lang/translations/hi.po +1 -0
  20. package/lang/translations/hr.po +1 -0
  21. package/lang/translations/hu.po +1 -0
  22. package/lang/translations/id.po +1 -0
  23. package/lang/translations/it.po +1 -0
  24. package/lang/translations/ja.po +1 -0
  25. package/lang/translations/ko.po +1 -0
  26. package/lang/translations/lt.po +1 -0
  27. package/lang/translations/lv.po +1 -0
  28. package/lang/translations/ms.po +1 -0
  29. package/lang/translations/nl.po +1 -0
  30. package/lang/translations/no.po +1 -0
  31. package/lang/translations/pl.po +1 -0
  32. package/lang/translations/pt-br.po +1 -0
  33. package/lang/translations/pt.po +1 -0
  34. package/lang/translations/ro.po +1 -0
  35. package/lang/translations/ru.po +1 -0
  36. package/lang/translations/sk.po +1 -0
  37. package/lang/translations/sq.po +1 -0
  38. package/lang/translations/sr-latn.po +1 -0
  39. package/lang/translations/sr.po +1 -0
  40. package/lang/translations/sv.po +1 -0
  41. package/lang/translations/th.po +1 -0
  42. package/lang/translations/tk.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/tt.po +1 -0
  45. package/lang/translations/uk.po +1 -0
  46. package/lang/translations/ur.po +1 -0
  47. package/lang/translations/vi.po +1 -0
  48. package/lang/translations/zh-cn.po +1 -0
  49. package/lang/translations/zh.po +1 -0
  50. package/package.json +3 -3
  51. package/src/commands/acceptsuggestioncommand.js +1 -1
  52. package/src/commands/discardsuggestioncommand.js +1 -1
  53. package/src/commands/executeonallsuggestionscommand.js +1 -1
  54. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  55. package/src/commands/trackchangescommand.js +1 -1
  56. package/src/integrations/alignment.js +1 -1
  57. package/src/integrations/basicstyles.js +1 -1
  58. package/src/integrations/blockquote.js +1 -1
  59. package/src/integrations/ckbox.js +1 -1
  60. package/src/integrations/codeblock.js +1 -1
  61. package/src/integrations/comments.js +1 -1
  62. package/src/integrations/deletecommand.js +1 -1
  63. package/src/integrations/documentlist.js +1 -1
  64. package/src/integrations/documentlistproperties.js +1 -1
  65. package/src/integrations/entercommand.js +1 -1
  66. package/src/integrations/findandreplace.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/formatpainter.js +1 -1
  69. package/src/integrations/heading.js +1 -1
  70. package/src/integrations/highlight.js +1 -1
  71. package/src/integrations/horizontalline.js +1 -1
  72. package/src/integrations/htmlembed.js +1 -1
  73. package/src/integrations/image.js +1 -1
  74. package/src/integrations/imagereplace.js +1 -1
  75. package/src/integrations/importword.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/listproperties.js +1 -1
  81. package/src/integrations/mediaembed.js +1 -1
  82. package/src/integrations/mention.js +1 -1
  83. package/src/integrations/pagebreak.js +1 -1
  84. package/src/integrations/paragraph.js +1 -1
  85. package/src/integrations/removeformat.js +1 -1
  86. package/src/integrations/restrictededitingmode.js +1 -1
  87. package/src/integrations/shiftentercommand.js +1 -1
  88. package/src/integrations/standardeditingmode.js +1 -1
  89. package/src/integrations/style.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.js +1 -1
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.js +1 -1
  94. package/src/integrations/tableheadings.js +1 -1
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/template.js +1 -1
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.js +1 -1
  101. package/src/integrations/utils.js +1 -1
  102. package/src/suggestion.js +1 -1
  103. package/src/suggestiondescriptionfactory.js +1 -1
  104. package/src/trackchanges.js +1 -1
  105. package/src/trackchangesdata.js +1 -1
  106. package/src/trackchangesediting.js +1 -1
  107. package/src/trackchangesui.js +1 -1
  108. package/src/ui/suggestioncontroller.js +1 -1
  109. package/src/ui/view/basesuggestionthreadview.js +1 -1
  110. package/src/ui/view/suggestionthreadview.js +1 -1
  111. package/src/utils/common-translations.js +1 -1
  112. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2630=['insertion','model','data','has','highest','paragraph','selection','isTouching','ELEMENT_PARAGRAPH','start','markerRange','editor','markerName','mapper','Paragraph','type','registerElementLabel','$text','checkChild','isLimit','nodeAfter','filter','isBlock','addMarker:suggestion:insertion','end','writer','format','showSuggestionHighlights','toViewPosition','ck-suggestion-marker--active','insert','from','includes','activeMarkers','_descriptionFactory','document','ck-suggestion-marker-split','getItemLabel','insertParagraph','editing','addClass','enableCommand','*Change\x20to:*\x20%0','consumable','span','TrackChangesEditing','registerDescriptionCallback','change','plugins','markBlockFormat','parent','get','*Insert:*\x20%0','name','schema'];(function(_0x4b63cd,_0x2630ec){const _0x2f5a1f=function(_0x482235){while(--_0x482235){_0x4b63cd['push'](_0x4b63cd['shift']());}};_0x2f5a1f(++_0x2630ec);}(_0x2630,0x1a0));const _0x2f5a=function(_0x4b63cd,_0x2630ec){_0x4b63cd=_0x4b63cd-0x0;let _0x2f5a1f=_0x2630[_0x4b63cd];return _0x2f5a1f;};import{Plugin as _0xf054ab}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x31af16}from'./utils';import{getTranslation as _0x5d5752}from'../utils/common-translations';export default class ct extends _0xf054ab{['afterInit'](){const _0x216b11=this['editor'];if(!_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x1b')](_0x2f5a('0x26')))return;const _0x52afa0=_0x216b11['locale'],_0x55d6df=_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe'));_0x55d6df[_0x2f5a('0x3')][_0x2f5a('0x28')](_0x2f5a('0x1d'),_0x16d871=>_0x5d5752(_0x52afa0,_0x2f5a('0x20'),_0x16d871)),_0x55d6df['enableCommand'](_0x2f5a('0x1d'),(_0x2b6f7e,_0x13fe92={})=>{const _0x2dd2a0=_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x4')],_0x1cc778=_0x13fe92[_0x2f5a('0x1e')]||_0x2dd2a0[_0x2f5a('0x1e')],_0x5c4e1b=Array[_0x2f5a('0x0')](_0x1cc778['getSelectedBlocks']())[_0x2f5a('0x2d')](_0xe3afec=>function(_0x4449a5,_0x5eb9f5){return _0x5eb9f5[_0x2f5a('0x2a')](_0x4449a5[_0x2f5a('0x13')],_0x2f5a('0x1d'))&&!_0x5eb9f5['isObject'](_0x4449a5)&&_0x2f5a('0x1d')!=_0x4449a5[_0x2f5a('0x16')];}(_0xe3afec,this[_0x2f5a('0x23')][_0x2f5a('0x19')]['schema']));_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x10')](()=>{for(const _0x397ee8 of _0x5c4e1b)_0x55d6df[_0x2f5a('0x12')](_0x397ee8,{'commandName':_0x2f5a('0x1d'),'commandParams':[],'formatGroupId':'blockName'},_0x31af16(_0x397ee8));});}),_0x55d6df['_descriptionFactory'][_0x2f5a('0xf')](_0xedd446=>{const {data:_0xffe266}=_0xedd446;if(_0xffe266&&_0x2f5a('0x1d')==_0xffe266['commandName'])return{'type':_0x2f5a('0x32'),'content':_0x5d5752(_0x52afa0,_0x2f5a('0xb'),_0x5d5752(_0x52afa0,_0x2f5a('0x20')))};}),_0x55d6df[_0x2f5a('0xa')](_0x2f5a('0x7')),_0x216b11[_0x2f5a('0x8')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),ar(_0x216b11),{'priority':_0x2f5a('0x1c')}),_0x216b11[_0x2f5a('0x1a')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),(_0x4846dc,_0xdec762,_0x310ab4)=>{_0x310ab4['options'][_0x2f5a('0x33')]&&ar(_0x216b11,{'showActiveMarker':!0x1})(_0x4846dc,_0xdec762,_0x310ab4);},{'priority':_0x2f5a('0x1c')});const _0x2e8a59=_0x55d6df['_descriptionFactory'];_0x2e8a59['registerDescriptionCallback'](_0x3abae2=>{if(_0x2f5a('0x18')!==_0x3abae2[_0x2f5a('0x27')])return;const {start:_0x5bedd1,end:_0x2541ba}=_0x3abae2['getFirstRange']();if(!_0x5bedd1[_0x2f5a('0x1f')](_0x2541ba)||!_0x5bedd1[_0x2f5a('0x2c')])return;const _0x15d4d1=_0x216b11[_0x2f5a('0x19')]['schema'],_0x248987=_0x5bedd1['nodeAfter'];return _0x15d4d1[_0x2f5a('0x2e')](_0x248987)&&!_0x15d4d1[_0x2f5a('0x2b')](_0x248987)&&_0x15d4d1[_0x2f5a('0x2a')](_0x248987,'$text')?{'type':'insertion','content':_0x5d5752(_0x52afa0,_0x2f5a('0x15'),_0x2e8a59[_0x2f5a('0x6')](_0x248987,0x1))}:void 0x0;});}}function ar(_0x4d9caf,{showActiveMarker:_0x4afbde=!0x0}={}){return(_0x3257a5,_0x1f7b6b,_0x2375a0)=>{const _0x2cb150=_0x4d9caf[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe')),_0x3b50ea=_0x1f7b6b[_0x2f5a('0x22')][_0x2f5a('0x21')],_0x3e935e=_0x1f7b6b['markerRange'][_0x2f5a('0x30')],_0x164494=_0x4d9caf[_0x2f5a('0x19')][_0x2f5a('0x17')];if(!_0x3b50ea[_0x2f5a('0x1f')](_0x3e935e)||!_0x3b50ea[_0x2f5a('0x2c')])return;const _0xb33c01=_0x3b50ea[_0x2f5a('0x2c')];if(_0x164494[_0x2f5a('0x2e')](_0xb33c01)&&!_0x164494[_0x2f5a('0x2b')](_0xb33c01)&&_0x164494[_0x2f5a('0x2a')](_0xb33c01,_0x2f5a('0x29'))){if(!_0x2375a0[_0x2f5a('0xc')]['consume'](_0x1f7b6b[_0x2f5a('0x22')],_0x3257a5[_0x2f5a('0x16')]))return;const _0x116df9=_0x2375a0[_0x2f5a('0x31')]['createUIElement'](_0x2f5a('0xd'),{'class':_0x2f5a('0x5')}),_0x164b15=_0x2375a0['mapper'][_0x2f5a('0x34')](_0x3e935e);_0x4afbde&&_0x2cb150[_0x2f5a('0x2')][_0x2f5a('0x1')](_0x1f7b6b['markerName'])&&_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x9')](_0x2f5a('0x35'),_0x116df9),_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x36')](_0x164b15,_0x116df9),_0x2375a0[_0x2f5a('0x25')]['bindElementToMarker'](_0x116df9,_0x1f7b6b[_0x2f5a('0x24')]);}};}
23
+ const _0x4e6e=['activeMarkers','span','selection','ELEMENT_PARAGRAPH','isObject','addClass','options','locale','getSelectedBlocks','createUIElement','schema','get','end','data','consumable','parent','*Insert:*\x20%0','writer','filter','TrackChangesEditing','isLimit','highest','isTouching','consume','commandName','name','_descriptionFactory','enableCommand','includes','ck-suggestion-marker--active','blockName','markerRange','has','toViewPosition','registerDescriptionCallback','getItemLabel','*Change\x20to:*\x20%0','checkChild','registerElementLabel','downcastDispatcher','ck-suggestion-marker-split','markBlockFormat','type','plugins','insertParagraph','addMarker:suggestion:insertion','model','nodeAfter','paragraph','isBlock','markerName','insertion','afterInit','bindElementToMarker','mapper'];(function(_0x21a8be,_0x4e6e7d){const _0x517534=function(_0x3638e6){while(--_0x3638e6){_0x21a8be['push'](_0x21a8be['shift']());}};_0x517534(++_0x4e6e7d);}(_0x4e6e,0xf1));const _0x5175=function(_0x21a8be,_0x4e6e7d){_0x21a8be=_0x21a8be-0x0;let _0x517534=_0x4e6e[_0x21a8be];return _0x517534;};import{Plugin as _0x545caf}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xa0989}from'./utils';import{getTranslation as _0x2d522c}from'../utils/common-translations';export default class ct extends _0x545caf{[_0x5175('0x1f')](){const _0x397d1e=this['editor'];if(!_0x397d1e[_0x5175('0x16')][_0x5175('0xb')]('Paragraph'))return;const _0x170310=_0x397d1e[_0x5175('0x29')],_0x34bd4d=_0x397d1e[_0x5175('0x16')][_0x5175('0x2d')]('TrackChangesEditing');_0x34bd4d[_0x5175('0x5')][_0x5175('0x11')](_0x5175('0x1b'),_0x15a75a=>_0x2d522c(_0x170310,_0x5175('0x25'),_0x15a75a)),_0x34bd4d[_0x5175('0x6')](_0x5175('0x1b'),(_0x2ef4df,_0x231653={})=>{const _0x518555=_0x397d1e['model']['document'],_0x1fde3d=_0x231653[_0x5175('0x24')]||_0x518555[_0x5175('0x24')],_0x33757b=Array['from'](_0x1fde3d[_0x5175('0x2a')]())[_0x5175('0x34')](_0x9fc8cd=>function(_0xead0f4,_0x25fc81){return _0x25fc81[_0x5175('0x10')](_0xead0f4[_0x5175('0x31')],_0x5175('0x1b'))&&!_0x25fc81[_0x5175('0x26')](_0xead0f4)&&_0x5175('0x1b')!=_0xead0f4[_0x5175('0x4')];}(_0x9fc8cd,this['editor']['model']['schema']));_0x397d1e[_0x5175('0x19')]['change'](()=>{for(const _0x4f0c04 of _0x33757b)_0x34bd4d[_0x5175('0x14')](_0x4f0c04,{'commandName':_0x5175('0x1b'),'commandParams':[],'formatGroupId':_0x5175('0x9')},_0xa0989(_0x4f0c04));});}),_0x34bd4d[_0x5175('0x5')][_0x5175('0xd')](_0x2040ce=>{const {data:_0xf0d527}=_0x2040ce;if(_0xf0d527&&_0x5175('0x1b')==_0xf0d527[_0x5175('0x3')])return{'type':'format','content':_0x2d522c(_0x170310,_0x5175('0xf'),_0x2d522c(_0x170310,_0x5175('0x25')))};}),_0x34bd4d[_0x5175('0x6')](_0x5175('0x17')),_0x397d1e['editing'][_0x5175('0x12')]['on'](_0x5175('0x18'),ar(_0x397d1e),{'priority':_0x5175('0x0')}),_0x397d1e[_0x5175('0x2f')]['downcastDispatcher']['on'](_0x5175('0x18'),(_0x476c3f,_0x427064,_0x1a6e53)=>{_0x1a6e53[_0x5175('0x28')]['showSuggestionHighlights']&&ar(_0x397d1e,{'showActiveMarker':!0x1})(_0x476c3f,_0x427064,_0x1a6e53);},{'priority':_0x5175('0x0')});const _0x919336=_0x34bd4d['_descriptionFactory'];_0x919336[_0x5175('0xd')](_0x1a144a=>{if(_0x5175('0x1e')!==_0x1a144a[_0x5175('0x15')])return;const {start:_0x43c1c6,end:_0x394f3d}=_0x1a144a['getFirstRange']();if(!_0x43c1c6[_0x5175('0x1')](_0x394f3d)||!_0x43c1c6[_0x5175('0x1a')])return;const _0x490975=_0x397d1e[_0x5175('0x19')][_0x5175('0x2c')],_0x5717b2=_0x43c1c6[_0x5175('0x1a')];return _0x490975[_0x5175('0x1c')](_0x5717b2)&&!_0x490975[_0x5175('0x36')](_0x5717b2)&&_0x490975[_0x5175('0x10')](_0x5717b2,'$text')?{'type':_0x5175('0x1e'),'content':_0x2d522c(_0x170310,_0x5175('0x32'),_0x919336[_0x5175('0xe')](_0x5717b2,0x1))}:void 0x0;});}}function ar(_0x315ee2,{showActiveMarker:_0x18111b=!0x0}={}){return(_0x48e9a7,_0x3bf026,_0x5de13f)=>{const _0x257ef1=_0x315ee2[_0x5175('0x16')][_0x5175('0x2d')](_0x5175('0x35')),_0x421d8f=_0x3bf026[_0x5175('0xa')]['start'],_0x364199=_0x3bf026[_0x5175('0xa')][_0x5175('0x2e')],_0x55ba44=_0x315ee2[_0x5175('0x19')][_0x5175('0x2c')];if(!_0x421d8f[_0x5175('0x1')](_0x364199)||!_0x421d8f['nodeAfter'])return;const _0x224776=_0x421d8f[_0x5175('0x1a')];if(_0x55ba44[_0x5175('0x1c')](_0x224776)&&!_0x55ba44[_0x5175('0x36')](_0x224776)&&_0x55ba44['checkChild'](_0x224776,'$text')){if(!_0x5de13f[_0x5175('0x30')][_0x5175('0x2')](_0x3bf026[_0x5175('0xa')],_0x48e9a7[_0x5175('0x4')]))return;const _0x42ed13=_0x5de13f[_0x5175('0x33')][_0x5175('0x2b')](_0x5175('0x23'),{'class':_0x5175('0x13')}),_0x3a9d63=_0x5de13f['mapper'][_0x5175('0xc')](_0x364199);_0x18111b&&_0x257ef1[_0x5175('0x22')][_0x5175('0x7')](_0x3bf026[_0x5175('0x1d')])&&_0x5de13f[_0x5175('0x33')][_0x5175('0x27')](_0x5175('0x8'),_0x42ed13),_0x5de13f['writer']['insert'](_0x3a9d63,_0x42ed13),_0x5de13f[_0x5175('0x21')][_0x5175('0x20')](_0x42ed13,_0x3bf026[_0x5175('0x1d')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7cb9=['commandName','markInlineFormat','*Remove\x20all\x20formatting*','format','editor','model','RemoveFormatEditing','getAttributeProperties','createRangeOn','enableCommand','getRanges','schema','change','get','plugins','document','getItems','isCollapsed','locale','registerDescriptionCallback','selection','has','removeFormat','TrackChangesEditing'];(function(_0x4eebcd,_0x7cb92e){const _0x408eaa=function(_0x5cf20a){while(--_0x5cf20a){_0x4eebcd['push'](_0x4eebcd['shift']());}};_0x408eaa(++_0x7cb92e);}(_0x7cb9,0x1af));const _0x408e=function(_0x4eebcd,_0x7cb92e){_0x4eebcd=_0x4eebcd-0x0;let _0x408eaa=_0x7cb9[_0x4eebcd];return _0x408eaa;};import{Plugin as _0x496ff8}from'ckeditor5/src/core';import{getTranslation as _0x522d30}from'../utils/common-translations';export default class ht extends _0x496ff8{['afterInit'](){const _0x58d02c=this[_0x408e('0x5')];if(!_0x58d02c[_0x408e('0xf')][_0x408e('0x16')](_0x408e('0x7')))return;const _0x3a39b3=_0x58d02c[_0x408e('0xf')][_0x408e('0xe')](_0x408e('0x0'));_0x3a39b3[_0x408e('0xa')](_0x408e('0x17'),_0x3db74a=>{const _0x37bd1c=_0x58d02c[_0x408e('0x6')][_0x408e('0x10')][_0x408e('0x15')];_0x37bd1c[_0x408e('0x12')]?_0x3db74a():_0x58d02c['model'][_0x408e('0xd')](()=>{const _0x35ec6c=Array['from'](_0x37bd1c[_0x408e('0xb')]());for(const _0x4eab31 of _0x35ec6c)for(const _0x41c46c of _0x4eab31[_0x408e('0x11')]())mo(_0x41c46c,_0x58d02c[_0x408e('0x6')][_0x408e('0xc')])&&_0x3a39b3[_0x408e('0x2')](_0x58d02c[_0x408e('0x6')][_0x408e('0x9')](_0x41c46c),{'commandName':_0x408e('0x17'),'commandParams':[]});});}),_0x3a39b3['_descriptionFactory'][_0x408e('0x14')](_0x2e8e94=>{const {data:_0x4f057f}=_0x2e8e94;if(_0x4f057f&&_0x408e('0x17')==_0x4f057f[_0x408e('0x1')])return{'type':_0x408e('0x4'),'content':_0x522d30(_0x58d02c[_0x408e('0x13')],_0x408e('0x3'))};});}}function mo(_0x2c0e93,_0x2d97a4){for(const [_0x440d9e]of _0x2c0e93['getAttributes']()){const _0x367525=_0x2d97a4[_0x408e('0x8')](_0x440d9e);if(_0x367525&&_0x367525['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x13f9=['locale','enableCommand','has','registerDescriptionCallback','RemoveFormatEditing','schema','afterInit','getAttributeProperties','commandName','document','*Remove\x20all\x20formatting*','model','get','_descriptionFactory','isFormatting','createRangeOn','TrackChangesEditing','selection','getRanges','removeFormat','markInlineFormat','isCollapsed','editor'];(function(_0x4bcacd,_0x13f9ba){const _0x39e213=function(_0x453e8c){while(--_0x453e8c){_0x4bcacd['push'](_0x4bcacd['shift']());}};_0x39e213(++_0x13f9ba);}(_0x13f9,0x1a2));const _0x39e2=function(_0x4bcacd,_0x13f9ba){_0x4bcacd=_0x4bcacd-0x0;let _0x39e213=_0x13f9[_0x4bcacd];return _0x39e213;};import{Plugin as _0x2f8ac3}from'ckeditor5/src/core';import{getTranslation as _0x1f7c97}from'../utils/common-translations';export default class ht extends _0x2f8ac3{[_0x39e2('0x2')](){const _0x4b554a=this[_0x39e2('0x12')];if(!_0x4b554a['plugins'][_0x39e2('0x15')](_0x39e2('0x0')))return;const _0x3943ce=_0x4b554a['plugins'][_0x39e2('0x8')](_0x39e2('0xc'));_0x3943ce[_0x39e2('0x14')]('removeFormat',_0x3b0a0b=>{const _0x4d19ed=_0x4b554a['model'][_0x39e2('0x5')][_0x39e2('0xd')];_0x4d19ed[_0x39e2('0x11')]?_0x3b0a0b():_0x4b554a[_0x39e2('0x7')]['change'](()=>{const _0x583539=Array['from'](_0x4d19ed[_0x39e2('0xe')]());for(const _0x1f69c2 of _0x583539)for(const _0x302136 of _0x1f69c2['getItems']())mo(_0x302136,_0x4b554a[_0x39e2('0x7')][_0x39e2('0x1')])&&_0x3943ce[_0x39e2('0x10')](_0x4b554a[_0x39e2('0x7')][_0x39e2('0xb')](_0x302136),{'commandName':_0x39e2('0xf'),'commandParams':[]});});}),_0x3943ce[_0x39e2('0x9')][_0x39e2('0x16')](_0x4e2b25=>{const {data:_0x235e60}=_0x4e2b25;if(_0x235e60&&_0x39e2('0xf')==_0x235e60[_0x39e2('0x4')])return{'type':'format','content':_0x1f7c97(_0x4b554a[_0x39e2('0x13')],_0x39e2('0x6'))};});}}function mo(_0x694a8c,_0x3572d4){for(const [_0x2bc1f2]of _0x694a8c['getAttributes']()){const _0xd8b8ef=_0x3572d4[_0x39e2('0x3')](_0x2bc1f2);if(_0xd8b8ef&&_0xd8b8ef[_0x39e2('0xa')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1590=['goToPreviousRestrictedEditingException','discardAllSuggestions','goToNextRestrictedEditingException','afterInit','TrackChangesEditing','plugins','enableCommand','acceptSelectedSuggestions','has','acceptAllSuggestions','discardSelectedSuggestions','RestrictedEditingModeEditing','discardSuggestion','acceptSuggestion'];(function(_0x57a17d,_0x159059){const _0x1ed74a=function(_0x9def72){while(--_0x9def72){_0x57a17d['push'](_0x57a17d['shift']());}};_0x1ed74a(++_0x159059);}(_0x1590,0x1d4));const _0x1ed7=function(_0x57a17d,_0x159059){_0x57a17d=_0x57a17d-0x0;let _0x1ed74a=_0x1590[_0x57a17d];return _0x1ed74a;};import{Plugin as _0x2973e9}from'ckeditor5/src/core';export default class ut extends _0x2973e9{[_0x1ed7('0xb')](){const _0x57348b=this['editor'];if(!_0x57348b['plugins'][_0x1ed7('0x2')](_0x1ed7('0x5')))return;const _0x322038=_0x57348b[_0x1ed7('0xd')]['get'](_0x1ed7('0xc'));_0x322038[_0x1ed7('0x0')](_0x1ed7('0x8')),_0x322038[_0x1ed7('0x0')](_0x1ed7('0xa'));const _0x4d158b=_0x57348b['plugins']['get'](_0x1ed7('0x5'));_0x4d158b[_0x1ed7('0x0')]('trackChanges'),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x7')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x6')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x3')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x9')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x1')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x4'));}}
23
+ const _0x13a2=['plugins','enableCommand','goToPreviousRestrictedEditingException','discardSuggestion','acceptAllSuggestions','has','goToNextRestrictedEditingException','editor','TrackChangesEditing','acceptSuggestion','discardSelectedSuggestions','RestrictedEditingModeEditing','acceptSelectedSuggestions','afterInit'];(function(_0x4bb5a6,_0x13a20e){const _0x57f3e4=function(_0x926c){while(--_0x926c){_0x4bb5a6['push'](_0x4bb5a6['shift']());}};_0x57f3e4(++_0x13a20e);}(_0x13a2,0x1a2));const _0x57f3=function(_0x4bb5a6,_0x13a20e){_0x4bb5a6=_0x4bb5a6-0x0;let _0x57f3e4=_0x13a2[_0x4bb5a6];return _0x57f3e4;};import{Plugin as _0x3db2d4}from'ckeditor5/src/core';export default class ut extends _0x3db2d4{[_0x57f3('0x1')](){const _0x243046=this[_0x57f3('0x9')];if(!_0x243046['plugins'][_0x57f3('0x7')](_0x57f3('0xd')))return;const _0x32c30e=_0x243046[_0x57f3('0x2')]['get'](_0x57f3('0xa'));_0x32c30e['enableCommand'](_0x57f3('0x4')),_0x32c30e[_0x57f3('0x3')](_0x57f3('0x8'));const _0x29e3bb=_0x243046['plugins']['get'](_0x57f3('0xd'));_0x29e3bb[_0x57f3('0x3')]('trackChanges'),_0x29e3bb['enableCommand'](_0x57f3('0xb')),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0x5')),_0x29e3bb['enableCommand'](_0x57f3('0x6')),_0x29e3bb[_0x57f3('0x3')]('discardAllSuggestions'),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0x0')),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0xc'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26a7=['TrackChangesEditing','showSuggestionHighlights','createPositionBefore','enableCommand','_descriptionFactory','addMarker:suggestion:deletion','plugins','split','span','toViewPosition','createUIElement','addClass','registerElementLabel','data','activeMarkers','addMarker:suggestion','includes','shiftEnter','name','options','writer','getItems','element','test','markerName','addMarker:suggestion:insertion','mapper','init','insert','high','downcastDispatcher','requires','deletion','bindElementToMarker','ck-suggestion-marker--active','ELEMENT_LINE_BREAK','softBreak','markerRange','model','get'];(function(_0x3cacf6,_0x26a798){const _0x5947d2=function(_0x5f383){while(--_0x5f383){_0x3cacf6['push'](_0x3cacf6['shift']());}};_0x5947d2(++_0x26a798);}(_0x26a7,0x163));const _0x5947=function(_0x3cacf6,_0x26a798){_0x3cacf6=_0x3cacf6-0x0;let _0x5947d2=_0x26a7[_0x3cacf6];return _0x5947d2;};import{Plugin as _0x3b0d0d}from'ckeditor5/src/core';import{ShiftEnter as _0x300048}from'ckeditor5/src/enter';import{getTranslation as _0xa178ee}from'../utils/common-translations';export default class ft extends _0x3b0d0d{static get[_0x5947('0x24')](){return[_0x300048];}[_0x5947('0x20')](){const _0x47b515=this['editor'],_0x596be5=_0x47b515[_0x5947('0xb')][_0x5947('0x4')]('TrackChangesEditing');_0x596be5[_0x5947('0x8')](_0x5947('0x16')),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0x1e'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0xa'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515[_0x5947('0x12')][_0x5947('0x23')]['on'](_0x5947('0x14'),(_0x195880,_0x214e64,_0x1ef7ef)=>{_0x1ef7ef[_0x5947('0x18')][_0x5947('0x6')]&&re(_0x47b515,{'showActiveMarker':!0x1})(_0x195880,_0x214e64,_0x1ef7ef);}),_0x596be5[_0x5947('0x9')][_0x5947('0x11')](_0x5947('0x1'),_0x176f3b=>_0xa178ee(_0x47b515['locale'],_0x5947('0x0'),_0x176f3b));}}function re(_0x2ab1fd,{showActiveMarker:_0x261386=!0x0}={}){return(_0x3d333f,_0x3e4fb0,_0x3a3eb8)=>{const _0xe98346=_0x2ab1fd[_0x5947('0xb')][_0x5947('0x4')](_0x5947('0x5'));if(!_0x3a3eb8['consumable'][_0x5947('0x1c')](_0x3e4fb0[_0x5947('0x2')],_0x3d333f[_0x5947('0x17')]))return;const _0x16eaec=_0x2ab1fd[_0x5947('0x3')];for(const _0x2658d9 of _0x3e4fb0[_0x5947('0x2')][_0x5947('0x1a')]()){if(!_0x2658d9['is'](_0x5947('0x1b'),_0x5947('0x1')))continue;const _0x2d96e3=_0x5947('0x25')==_0x3e4fb0['markerName'][_0x5947('0xc')](':')[0x1]?'merge':_0x5947('0xc'),_0xce8e66=_0x3a3eb8['writer'][_0x5947('0xf')](_0x5947('0xd'),{'class':'ck-suggestion-marker-'+_0x2d96e3}),_0x32e6a9=_0x3a3eb8[_0x5947('0x1f')][_0x5947('0xe')](_0x16eaec[_0x5947('0x7')](_0x2658d9));_0x261386&&_0xe98346[_0x5947('0x13')][_0x5947('0x15')](_0x3e4fb0[_0x5947('0x1d')])&&_0x3a3eb8[_0x5947('0x19')][_0x5947('0x10')](_0x5947('0x27'),_0xce8e66),_0x3a3eb8['writer'][_0x5947('0x21')](_0x32e6a9,_0xce8e66),_0x3a3eb8[_0x5947('0x1f')][_0x5947('0x26')](_0xce8e66,_0x3e4fb0[_0x5947('0x1d')]);}};}
23
+ const _0x42a6=['includes','ELEMENT_LINE_BREAK','addMarker:suggestion','split','editor','requires','writer','get','deletion','span','enableCommand','markerName','bindElementToMarker','element','ck-suggestion-marker-','init','ck-suggestion-marker--active','getItems','plugins','showSuggestionHighlights','TrackChangesEditing','editing','toViewPosition','test','addClass','consumable','activeMarkers','markerRange','merge','shiftEnter','name','locale','addMarker:suggestion:deletion','options','_descriptionFactory','downcastDispatcher','mapper'];(function(_0xed6fb5,_0x42a6f1){const _0x5271d0=function(_0x4f1f8a){while(--_0x4f1f8a){_0xed6fb5['push'](_0xed6fb5['shift']());}};_0x5271d0(++_0x42a6f1);}(_0x42a6,0xa2));const _0x5271=function(_0xed6fb5,_0x42a6f1){_0xed6fb5=_0xed6fb5-0x0;let _0x5271d0=_0x42a6[_0xed6fb5];return _0x5271d0;};import{Plugin as _0x4c9056}from'ckeditor5/src/core';import{ShiftEnter as _0x42efac}from'ckeditor5/src/enter';import{getTranslation as _0x108a9e}from'../utils/common-translations';export default class ft extends _0x4c9056{static get[_0x5271('0x1c')](){return[_0x42efac];}[_0x5271('0x1')](){const _0x540c81=this[_0x5271('0x1b')],_0x5b29fc=_0x540c81[_0x5271('0x4')]['get'](_0x5271('0x6'));_0x5b29fc[_0x5271('0x21')](_0x5271('0xf')),_0x540c81[_0x5271('0x7')][_0x5271('0x15')]['on']('addMarker:suggestion:insertion',re(_0x540c81),{'priority':'high'}),_0x540c81['editing']['downcastDispatcher']['on'](_0x5271('0x12'),re(_0x540c81),{'priority':'high'}),_0x540c81['data'][_0x5271('0x15')]['on'](_0x5271('0x19'),(_0xaf45d8,_0x594f20,_0x5406b6)=>{_0x5406b6[_0x5271('0x13')][_0x5271('0x5')]&&re(_0x540c81,{'showActiveMarker':!0x1})(_0xaf45d8,_0x594f20,_0x5406b6);}),_0x5b29fc[_0x5271('0x14')]['registerElementLabel']('softBreak',_0x1b6452=>_0x108a9e(_0x540c81[_0x5271('0x11')],_0x5271('0x18'),_0x1b6452));}}function re(_0x37bc75,{showActiveMarker:_0x5cec56=!0x0}={}){return(_0x23589f,_0x101e05,_0x26c771)=>{const _0x49b226=_0x37bc75[_0x5271('0x4')][_0x5271('0x1e')](_0x5271('0x6'));if(!_0x26c771[_0x5271('0xb')][_0x5271('0x9')](_0x101e05[_0x5271('0xd')],_0x23589f[_0x5271('0x10')]))return;const _0x1d96f3=_0x37bc75['model'];for(const _0x5c5999 of _0x101e05[_0x5271('0xd')][_0x5271('0x3')]()){if(!_0x5c5999['is'](_0x5271('0x24'),'softBreak'))continue;const _0x2b7bbd=_0x5271('0x1f')==_0x101e05[_0x5271('0x22')][_0x5271('0x1a')](':')[0x1]?_0x5271('0xe'):_0x5271('0x1a'),_0x24fda9=_0x26c771[_0x5271('0x1d')]['createUIElement'](_0x5271('0x20'),{'class':_0x5271('0x0')+_0x2b7bbd}),_0x1faea0=_0x26c771[_0x5271('0x16')][_0x5271('0x8')](_0x1d96f3['createPositionBefore'](_0x5c5999));_0x5cec56&&_0x49b226[_0x5271('0xc')][_0x5271('0x17')](_0x101e05['markerName'])&&_0x26c771[_0x5271('0x1d')][_0x5271('0xa')](_0x5271('0x2'),_0x24fda9),_0x26c771[_0x5271('0x1d')]['insert'](_0x1faea0,_0x24fda9),_0x26c771[_0x5271('0x16')][_0x5271('0x23')](_0x24fda9,_0x101e05[_0x5271('0x22')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c52=['get','getRanges','StandardEditingModeEditing','plugins','change','model','value','editor','_descriptionFactory','markInlineFormat','TrackChangesEditing','has','isCollapsed','forceValue','document','FORMAT_RESTRICTED_DISABLED','commandParams','from','commandName','afterInit','locale','enableCommand','format','registerDescriptionCallback','selection','restrictedEditingException'];(function(_0xd60acc,_0x5c526b){const _0x3487dd=function(_0x166456){while(--_0x166456){_0xd60acc['push'](_0xd60acc['shift']());}};_0x3487dd(++_0x5c526b);}(_0x5c52,0x9c));const _0x3487=function(_0xd60acc,_0x5c526b){_0xd60acc=_0xd60acc-0x0;let _0x3487dd=_0x5c52[_0xd60acc];return _0x3487dd;};import{Plugin as _0x11dd69}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x30ab88}from'./utils';import{getTranslation as _0x3be4c8}from'../utils/common-translations';export default class lt extends _0x11dd69{[_0x3487('0x13')](){const _0x164a61=this[_0x3487('0x7')],_0x110fde=_0x164a61[_0x3487('0x5')],_0x391f4c=_0x164a61[_0x3487('0x14')];if(!_0x164a61[_0x3487('0x3')][_0x3487('0xb')](_0x3487('0x2')))return;const _0x449b27=_0x164a61[_0x3487('0x3')][_0x3487('0x0')](_0x3487('0xa')),_0x4a331a=_0x3487('0x19'),_0x3e6b18=_0x164a61['commands'][_0x3487('0x0')](_0x4a331a);_0x449b27[_0x3487('0x15')](_0x4a331a,(_0x1d1622,_0x1ed762={})=>{const _0x17484f=_0x110fde[_0x3487('0xe')][_0x3487('0x18')];if(_0x17484f[_0x3487('0xc')])return void _0x1d1622(_0x1ed762);const _0x1449db=void 0x0!==_0x1ed762[_0x3487('0xd')]?_0x1ed762[_0x3487('0xd')]:!_0x3e6b18[_0x3487('0x6')];_0x110fde[_0x3487('0x4')](()=>{const _0x1e8f88=Array[_0x3487('0x11')](_0x17484f[_0x3487('0x1')]());for(const _0x3d4557 of _0x1e8f88){const _0x110f2e=_0x1449db?[_0x3d4557]:_0x30ab88(_0x4a331a,_0x3d4557,_0x110fde);for(const _0x2859cf of _0x110f2e)_0x449b27[_0x3487('0x9')](_0x2859cf,{'commandName':_0x4a331a,'commandParams':[{'forceValue':_0x1449db}]});}});}),_0x449b27[_0x3487('0x8')][_0x3487('0x17')](_0x1051b8=>{const {data:_0x1f0b66}=_0x1051b8;if(_0x1f0b66&&_0x1f0b66[_0x3487('0x12')]==_0x4a331a)return _0x1f0b66[_0x3487('0x10')][0x0]['forceValue']?{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,_0x3487('0xf'))};});}}
23
+ const _0x4e68=['format','value','selection','enableCommand','document','FORMAT_RESTRICTED_ENABLED','plugins','has','forceValue','change','editor','restrictedEditingException','locale','model','registerDescriptionCallback','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','from','_descriptionFactory'];(function(_0x3bc401,_0x4e68a3){const _0x341478=function(_0x4b21e4){while(--_0x4b21e4){_0x3bc401['push'](_0x3bc401['shift']());}};_0x341478(++_0x4e68a3);}(_0x4e68,0x15f));const _0x3414=function(_0x3bc401,_0x4e68a3){_0x3bc401=_0x3bc401-0x0;let _0x341478=_0x4e68[_0x3bc401];return _0x341478;};import{Plugin as _0x19f844}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x4f30f3}from'./utils';import{getTranslation as _0x58ff20}from'../utils/common-translations';export default class lt extends _0x19f844{['afterInit'](){const _0x5a33e2=this[_0x3414('0x1')],_0x53b527=_0x5a33e2[_0x3414('0x4')],_0x58c190=_0x5a33e2[_0x3414('0x3')];if(!_0x5a33e2['plugins'][_0x3414('0x11')]('StandardEditingModeEditing'))return;const _0x5ed3c2=_0x5a33e2[_0x3414('0x10')]['get'](_0x3414('0x7')),_0x12ef4c=_0x3414('0x2'),_0x8892a7=_0x5a33e2['commands']['get'](_0x12ef4c);_0x5ed3c2[_0x3414('0xd')](_0x12ef4c,(_0x3e3bf0,_0x2e9c61={})=>{const _0x27528a=_0x53b527[_0x3414('0xe')][_0x3414('0xc')];if(_0x27528a['isCollapsed'])return void _0x3e3bf0(_0x2e9c61);const _0x4a2e66=void 0x0!==_0x2e9c61[_0x3414('0x12')]?_0x2e9c61['forceValue']:!_0x8892a7[_0x3414('0xb')];_0x53b527[_0x3414('0x0')](()=>{const _0x15efa3=Array[_0x3414('0x8')](_0x27528a['getRanges']());for(const _0x2958a0 of _0x15efa3){const _0x39924a=_0x4a2e66?[_0x2958a0]:_0x4f30f3(_0x12ef4c,_0x2958a0,_0x53b527);for(const _0x29e7e3 of _0x39924a)_0x5ed3c2['markInlineFormat'](_0x29e7e3,{'commandName':_0x12ef4c,'commandParams':[{'forceValue':_0x4a2e66}]});}});}),_0x5ed3c2[_0x3414('0x9')][_0x3414('0x5')](_0x5f1d8e=>{const {data:_0xf5bc5d}=_0x5f1d8e;if(_0xf5bc5d&&_0xf5bc5d['commandName']==_0x12ef4c)return _0xf5bc5d['commandParams'][0x0]['forceValue']?{'type':_0x3414('0xa'),'content':_0x58ff20(_0x58c190,_0x3414('0xf'))}:{'type':'format','content':_0x58ff20(_0x58c190,_0x3414('0x6'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1428=['_getRangesWithClasses','classes','toLowerCase','add','find','name','every','has','modelElements','commands','editor','style','value','format','markBlockFormat','block','push','isCollapsed','_descriptionFactory','Style','commandParams','plugins','includes','getRanges','_getStyleDefinition','*Format:*\x20%0','style:','getSelectedBlocks','createRangeOn','model','selection','inline','*Remove\x20format:*\x20%0','getItems','from','document','style.definitions','styleName','get','locale','DataSchema','enableCommand'];(function(_0x1517af,_0x142815){const _0x58feb3=function(_0x960780){while(--_0x960780){_0x1517af['push'](_0x1517af['shift']());}};_0x58feb3(++_0x142815);}(_0x1428,0xbc));const _0x58fe=function(_0x1517af,_0x142815){_0x1517af=_0x1517af-0x0;let _0x58feb3=_0x1428[_0x1517af];return _0x58feb3;};import{Plugin as _0x1cadbb}from'ckeditor5/src/core';import{getTranslation as _0x3d16e7}from'../utils/common-translations';export default class gt extends _0x1cadbb{['afterInit'](){const _0x5751c2=this[_0x58fe('0x20')];if(!_0x5751c2[_0x58fe('0x1')][_0x58fe('0x1d')](_0x58fe('0x29')))return;const _0x5bce63=_0x5751c2[_0x58fe('0x1f')][_0x58fe('0x12')](_0x58fe('0x21')),_0x46698a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('TrackChangesEditing'),_0x5122ac=_0x5751c2[_0x58fe('0x13')],_0x41eb71=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')](_0x58fe('0x14')),_0x57e00a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('StyleUtils')['normalizeConfig'](_0x41eb71,_0x5751c2['config'][_0x58fe('0x12')](_0x58fe('0x10')));_0x46698a[_0x58fe('0x15')]('style',(_0x262612,{styleName:_0x165613})=>{const _0x2945af=_0x5751c2['model'][_0x58fe('0xf')][_0x58fe('0xa')],_0x306c2f=this[_0x58fe('0x4')](_0x165613,_0x57e00a);if(!_0x306c2f)return;if(!_0x5bce63['enabledStyles'][_0x58fe('0x2')](_0x165613))return;if(_0x2945af[_0x58fe('0x27')]&&!_0x306c2f['isBlock'])return void _0x262612({'styleName':_0x165613});const _0x22ef61=!_0x5bce63[_0x58fe('0x22')]['includes'](_0x306c2f['name']);if(_0x306c2f['isBlock']){const _0x28c3cb=function(_0x251b09,_0xb63424){const _0x3eaf6e=new Set();for(const _0x25a168 of _0x251b09){const _0x27fb40=_0x25a168['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x434c82 of _0x27fb40)if(_0xb63424[_0x58fe('0x2')](_0x434c82[_0x58fe('0x1b')])){_0x3eaf6e[_0x58fe('0x19')](_0x434c82);break;}}return _0x3eaf6e;}(_0x2945af[_0x58fe('0x7')](),_0x306c2f[_0x58fe('0x1e')]);_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x4f61b3 of _0x28c3cb)_0x46698a[_0x58fe('0x24')](_0x4f61b3,{'commandName':'style','commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}],'formatGroupId':_0x58fe('0x6')+_0x165613});});}else{let _0x4ead31=Array[_0x58fe('0xe')](_0x2945af[_0x58fe('0x3')]());if(!_0x22ef61){const _0x517002=Array['from'](_0x41eb71['getDefinitionsForView'](_0x306c2f['element'],!0x1))[0x0][_0x58fe('0x9')],_0xb21c5c=[];for(const _0x4e4cff of _0x4ead31){const _0x174508=this[_0x58fe('0x16')](_0x5751c2[_0x58fe('0x9')],_0x4e4cff,_0x306c2f[_0x58fe('0x17')],_0x517002);_0xb21c5c[_0x58fe('0x26')](..._0x174508);}_0x4ead31=_0xb21c5c;}_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x42ffb8 of _0x4ead31)_0x46698a['markInlineFormat'](_0x42ffb8,{'commandName':_0x58fe('0x21'),'commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}]});});}}),_0x46698a[_0x58fe('0x28')]['registerDescriptionCallback'](_0x538e24=>{const {data:_0x40b53f}=_0x538e24;if(_0x40b53f&&_0x58fe('0x21')===_0x40b53f['commandName'])return _0x40b53f[_0x58fe('0x0')][0x0]['forceValue']?{'type':'format','content':_0x3d16e7(_0x5122ac,_0x58fe('0x5'),_0x40b53f['commandParams'][0x0][_0x58fe('0x11')][_0x58fe('0x18')]())}:{'type':_0x58fe('0x23'),'content':_0x3d16e7(_0x5122ac,_0x58fe('0xc'),_0x40b53f[_0x58fe('0x0')][0x0][_0x58fe('0x11')]['toLowerCase']())};});}[_0x58fe('0x4')](_0x3c48de,_0xcec2e3){let _0x5c878c=_0xcec2e3[_0x58fe('0x25')][_0x58fe('0x1a')](_0x4d6fb1=>_0x4d6fb1[_0x58fe('0x1b')]===_0x3c48de);return _0x5c878c||(_0x5c878c=_0xcec2e3[_0x58fe('0xb')][_0x58fe('0x1a')](_0xea5593=>_0xea5593[_0x58fe('0x1b')]===_0x3c48de)),_0x5c878c;}[_0x58fe('0x16')](_0x4f344e,_0x1743e2,_0x4a9220,_0x1321f8){const _0x5c9071=[];for(const _0x36a3b9 of _0x1743e2[_0x58fe('0xd')]()){const _0x36ce24=_0x36a3b9['getAttribute'](_0x1321f8);_0x36ce24&&(_0x4a9220[_0x58fe('0x1c')](_0x95af29=>_0x36ce24[_0x58fe('0x17')][_0x58fe('0x2')](_0x95af29))&&_0x5c9071[_0x58fe('0x26')](_0x4f344e[_0x58fe('0x8')](_0x36a3b9)));}return _0x5c9071;}}
23
+ const _0xf37a=['includes','modelElements','format','classes','isBlock','push','DataSchema','editor','createRangeOn','getSelectedBlocks','toLowerCase','forceValue','element','normalizeConfig','plugins','config','change','_descriptionFactory','style','value','commandParams','StyleUtils','Style','_getStyleDefinition','*Format:*\x20%0','style.definitions','style:','getRanges','has','TrackChangesEditing','from','enabledStyles','commands','markBlockFormat','selection','registerDescriptionCallback','add','name','find','every','get','getItems','locale','styleName','_getRangesWithClasses','commandName','isCollapsed','model'];(function(_0x4558a9,_0xf37a63){const _0x4cadbe=function(_0x6e6c2b){while(--_0x6e6c2b){_0x4558a9['push'](_0x4558a9['shift']());}};_0x4cadbe(++_0xf37a63);}(_0xf37a,0x187));const _0x4cad=function(_0x4558a9,_0xf37a63){_0x4558a9=_0x4558a9-0x0;let _0x4cadbe=_0xf37a[_0x4558a9];return _0x4cadbe;};import{Plugin as _0x160f8c}from'ckeditor5/src/core';import{getTranslation as _0x1865ef}from'../utils/common-translations';export default class gt extends _0x160f8c{['afterInit'](){const _0x12e0ce=this[_0x4cad('0x0')];if(!_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x15')](_0x4cad('0xf')))return;const _0x459a66=_0x12e0ce[_0x4cad('0x19')][_0x4cad('0x21')](_0x4cad('0xb')),_0x2b05b0=_0x12e0ce['plugins']['get'](_0x4cad('0x16')),_0x53c064=_0x12e0ce[_0x4cad('0x23')],_0x1f3bfb=_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x21')](_0x4cad('0x2f')),_0x2067e0=_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x21')](_0x4cad('0xe'))[_0x4cad('0x6')](_0x1f3bfb,_0x12e0ce[_0x4cad('0x8')][_0x4cad('0x21')](_0x4cad('0x12')));_0x2b05b0['enableCommand'](_0x4cad('0xb'),(_0x5158f0,{styleName:_0x14e627})=>{const _0x356ec3=_0x12e0ce[_0x4cad('0x28')]['document'][_0x4cad('0x1b')],_0x3f8216=this[_0x4cad('0x10')](_0x14e627,_0x2067e0);if(!_0x3f8216)return;if(!_0x459a66[_0x4cad('0x18')][_0x4cad('0x29')](_0x14e627))return;if(_0x356ec3[_0x4cad('0x27')]&&!_0x3f8216[_0x4cad('0x2d')])return void _0x5158f0({'styleName':_0x14e627});const _0xc147e4=!_0x459a66[_0x4cad('0xc')][_0x4cad('0x29')](_0x3f8216[_0x4cad('0x1e')]);if(_0x3f8216['isBlock']){const _0x48edcc=function(_0x18c361,_0x3d18a6){const _0x6f06a7=new Set();for(const _0x35ef04 of _0x18c361){const _0x5507e9=_0x35ef04['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x5d5b9a of _0x5507e9)if(_0x3d18a6[_0x4cad('0x29')](_0x5d5b9a[_0x4cad('0x1e')])){_0x6f06a7[_0x4cad('0x1d')](_0x5d5b9a);break;}}return _0x6f06a7;}(_0x356ec3[_0x4cad('0x2')](),_0x3f8216[_0x4cad('0x2a')]);_0x12e0ce[_0x4cad('0x28')][_0x4cad('0x9')](()=>{for(const _0x5ca6a0 of _0x48edcc)_0x2b05b0[_0x4cad('0x1a')](_0x5ca6a0,{'commandName':_0x4cad('0xb'),'commandParams':[{'styleName':_0x14e627,'forceValue':_0xc147e4}],'formatGroupId':_0x4cad('0x13')+_0x14e627});});}else{let _0x5d1a24=Array[_0x4cad('0x17')](_0x356ec3[_0x4cad('0x14')]());if(!_0xc147e4){const _0x3bbc53=Array[_0x4cad('0x17')](_0x1f3bfb['getDefinitionsForView'](_0x3f8216[_0x4cad('0x5')],!0x1))[0x0][_0x4cad('0x28')],_0x596dd0=[];for(const _0x2cc41d of _0x5d1a24){const _0x4ce714=this[_0x4cad('0x25')](_0x12e0ce['model'],_0x2cc41d,_0x3f8216[_0x4cad('0x2c')],_0x3bbc53);_0x596dd0[_0x4cad('0x2e')](..._0x4ce714);}_0x5d1a24=_0x596dd0;}_0x12e0ce[_0x4cad('0x28')][_0x4cad('0x9')](()=>{for(const _0x53cb59 of _0x5d1a24)_0x2b05b0['markInlineFormat'](_0x53cb59,{'commandName':_0x4cad('0xb'),'commandParams':[{'styleName':_0x14e627,'forceValue':_0xc147e4}]});});}}),_0x2b05b0[_0x4cad('0xa')][_0x4cad('0x1c')](_0x292f2d=>{const {data:_0x1dd9c9}=_0x292f2d;if(_0x1dd9c9&&_0x4cad('0xb')===_0x1dd9c9[_0x4cad('0x26')])return _0x1dd9c9[_0x4cad('0xd')][0x0][_0x4cad('0x4')]?{'type':'format','content':_0x1865ef(_0x53c064,_0x4cad('0x11'),_0x1dd9c9[_0x4cad('0xd')][0x0]['styleName']['toLowerCase']())}:{'type':_0x4cad('0x2b'),'content':_0x1865ef(_0x53c064,'*Remove\x20format:*\x20%0',_0x1dd9c9[_0x4cad('0xd')][0x0][_0x4cad('0x24')][_0x4cad('0x3')]())};});}[_0x4cad('0x10')](_0x3205ce,_0x53e47e){let _0x461430=_0x53e47e['block'][_0x4cad('0x1f')](_0x5ca46c=>_0x5ca46c['name']===_0x3205ce);return _0x461430||(_0x461430=_0x53e47e['inline'][_0x4cad('0x1f')](_0xbfe9c=>_0xbfe9c[_0x4cad('0x1e')]===_0x3205ce)),_0x461430;}[_0x4cad('0x25')](_0x2c6a9c,_0x252159,_0x3b2fdf,_0x3b4591){const _0x2b35a9=[];for(const _0x2c8cc4 of _0x252159[_0x4cad('0x22')]()){const _0xa509ac=_0x2c8cc4['getAttribute'](_0x3b4591);_0xa509ac&&(_0x3b2fdf[_0x4cad('0x20')](_0x2cbd58=>_0xa509ac[_0x4cad('0x2c')][_0x4cad('0x29')](_0x2cbd58))&&_0x2b35a9[_0x4cad('0x2e')](_0x2c6a9c[_0x4cad('0x1')](_0x2c8cc4)));}return _0x2b35a9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf730=['_tablePostFixingSubtypes','registerCustomCallback','join','MAX_SAFE_INTEGER','getContainedElement','getSuggestion','add','ELEMENT_TABLE_ROW','_suggestionFactory','accept','createPositionAt','above','batch','position','TableEditing','detach','tableColumn','isTouching','addClass','maxColumn','insert','getChangedMarkers','element','registerPostFixer','insertTableRowAbove','findAncestor','hasAttribute','getRanges','ELEMENT_TABLE_WITH_TEXT','filter','toViewElement','ELEMENT_TABLE_COLUMN_WITH_TEXT','suggestion','root','registerElementLabel','selectTableColumn','enqueueChange','nodeBefore','selection','_descriptionFactory','change','includes','classes','getRowIndexes','tableRow','createRangeIn','deletion','has','getChanges','*Remove:*\x20%0','min','plugins','execute','subType','tablePaste','document','downcastDispatcher','differ','getSelectionAffectedTableCells','createRangeOn','locale','rootName','editor','some','_splitMarkerName','$graveyard','isInContent','order','commands','length','enableCommand','insertTableColumnLeft','substr','ELEMENT_TABLE_COLUMN','item','span','name','end','ELEMENT_TABLE','isEqual','toLowerCase','model','data','map','addMarker:suggestion','getChildren','addRange','TrackChangesEditing','first','getColumnIndexes','registerDescriptionCallback','removeTableRow','getAttribute','markMultiRangeInsertion','tableCell','getItems','setSelection','afterInit','createTableWalker','colspan','cell','_tableSuggestions','TableUtils','writer','insertTable','max','left','maxRow','isArray','ELEMENT_TABLE_ROW_WITH_TEXT','rowspan','fromRange','refresh','insertion','change:data','showSuggestionHighlights','table','push','insertTableColumnRight','removeClass','highest','low','getCellLocation','type','_acceptFormatSuggestionCallbackFactory','last','get','$textProxy','from','_getSuggestionCoords','markMultiRangeDeletion','nodeAfter','discard','start','_getCoordsForCells','*Insert:*\x20%0'];(function(_0x59ea27,_0xf730dd){const _0x520161=function(_0x33a140){while(--_0x33a140){_0x59ea27['push'](_0x59ea27['shift']());}};_0x520161(++_0xf730dd);}(_0xf730,0x1de));const _0x5201=function(_0x59ea27,_0xf730dd){_0x59ea27=_0x59ea27-0x0;let _0x520161=_0xf730[_0x59ea27];return _0x520161;};import{Plugin as _0x11a855}from'ckeditor5/src/core';import{LiveRange as _0x304a34}from'ckeditor5/src/engine';import{setHighlightHandling as _0xbf8584}from'ckeditor5/src/widget';import{getTranslation as _0x54ad10}from'../utils/common-translations';export default class mt extends _0x11a855{constructor(_0x323e14){super(_0x323e14),this[_0x5201('0x42')]=[_0x5201('0x6e'),_0x5201('0x52')],this[_0x5201('0x1f')]=new Set();}[_0x5201('0x1b')](){const _0x4b595b=this['editor'],_0x543368=_0x4b595b[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x68')];if(!_0x4b595b[_0x5201('0x75')][_0x5201('0x71')](_0x5201('0x50')))return;const _0x1372be=_0x4b595b[_0x5201('0x7e')],_0x509b62=_0x4b595b[_0x5201('0x75')][_0x5201('0x38')](_0x5201('0x11')),_0xed0383=_0x4b595b['plugins']['get']('TableUtils');_0x509b62[_0x5201('0x69')][_0x5201('0x64')]('table',_0x4acd0c=>_0x54ad10(_0x1372be,_0x5201('0x8'),_0x4acd0c)),this['_setupColumnsRowsFixing'](),_0x509b62['enableCommand'](_0x5201('0x22')),_0x509b62[_0x5201('0x0')]('selectTableRow'),_0x509b62[_0x5201('0x0')](_0x5201('0x65'));for(const _0x9143ec of[_0x5201('0x5a'),'insertTableRowBelow']){const _0x2ed3cb=_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x9143ec);_0x509b62[_0x5201('0x0')](_0x9143ec,_0x593bc9=>{_0x4b595b['model'][_0x5201('0x6a')](_0x15ad91=>{_0x593bc9();const _0x5a5550=_0x5201('0x4d')===_0x2ed3cb[_0x5201('0x85')],_0x4cc1ca=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x48b635=_0xed0383[_0x5201('0x6d')](_0x4cc1ca),_0x7d6030=_0x5a5550?_0x48b635[_0x5201('0x12')]-0x1:_0x48b635[_0x5201('0x37')]+0x1,_0x169a21=_0x4cc1ca[0x0][_0x5201('0x5b')](_0x5201('0x2e')),_0x3f16e3=_0xed0383['createTableWalker'](_0x169a21,{'startRow':_0x7d6030,'endRow':_0x7d6030}),_0x37d622=Array[_0x5201('0x3a')](_0x3f16e3)['map'](_0x4a8126=>_0x15ad91[_0x5201('0x7d')](_0x4a8126[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x37d622,_0x5201('0x6e'));});});}for(const _0x4368c8 of[_0x5201('0x1'),_0x5201('0x30')]){const _0x20b5ec=_0x4b595b['commands'][_0x5201('0x38')](_0x4368c8);_0x509b62['enableCommand'](_0x4368c8,_0x4ced75=>{_0x4b595b['model'][_0x5201('0x6a')](_0x5e61b4=>{_0x4ced75();const _0x31840e=_0x5201('0x24')===_0x20b5ec['order'],_0x5d7909=_0xed0383[_0x5201('0x7c')](_0x543368),_0x836b44=_0xed0383[_0x5201('0x13')](_0x5d7909),_0x1261a2=_0x31840e?_0x836b44[_0x5201('0x12')]-0x1:_0x836b44[_0x5201('0x37')]+0x1,_0x10473d=_0x5d7909[0x0]['findAncestor'](_0x5201('0x2e')),_0x268db7=_0xed0383[_0x5201('0x1c')](_0x10473d,{'startRow':0x0,'column':_0x1261a2,'includeAllSlots':!0x1}),_0x2a19b4=Array[_0x5201('0x3a')](_0x268db7)[_0x5201('0xd')](_0x1f5579=>_0x5e61b4[_0x5201('0x7d')](_0x1f5579[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x2a19b4,_0x5201('0x52'));});});}for(const _0x4993af of['removeTableRow','removeTableColumn']){const _0x16ca15=_0x4993af[_0x5201('0x2')](0xb),_0x4244eb=_0x16ca15[_0x5201('0xa')](),_0x3ed386=_0x4244eb['substr'](0x0,0x3)+_0x5201('0x5'),_0x46c498=_0x5201('0x2e')+_0x16ca15,_0xa021f8=_0x5201('0x74')+_0x16ca15,_0x14208c=_0x5201('0x23')+_0x16ca15;_0x509b62[_0x5201('0x0')](_0x4993af,()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x275cae=>{const _0x5dc841=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x542a97=_0x5dc841[0x0][_0x5201('0x5b')](_0x5201('0x2e'));let _0xb946b5;if(_0x5201('0x15')==_0x4993af){const _0x12ee32=_0xed0383[_0x5201('0x6d')](_0x5dc841);_0xb946b5={'startRow':_0x12ee32['first'],'endRow':_0x12ee32[_0x5201('0x37')],'includeAllSlots':!0x0};}else{const _0x43e909=_0xed0383[_0x5201('0x13')](_0x5dc841);_0xb946b5={'startColumn':_0x43e909[_0x5201('0x12')],'endColumn':_0x43e909[_0x5201('0x37')],'includeAllSlots':!0x0};}const _0x2576b5=_0xed0383[_0x5201('0x1c')](_0x542a97,_0xb946b5),_0x55b6d1=Array['from'](_0x2576b5)[_0x5201('0xd')](({cell:_0x316263})=>_0x316263),_0xd64402=se(_0x55b6d1[_0x5201('0x5f')](_0x28c1ea=>_0x28c1ea[_0x5201('0x5c')](_0x3ed386))),_0x283eec=se(_0x55b6d1[_0x5201('0x5f')](_0x57d987=>!_0x57d987[_0x5201('0x5c')](_0x3ed386)))[_0x5201('0xd')](_0x3bd777=>_0x275cae['createRangeOn'](_0x3bd777)),_0x3a4b8c=_0x509b62[_0x5201('0x3c')](_0x283eec,_0x46c498);if(_0x3a4b8c&&('tableRow'==_0x3a4b8c[_0x5201('0x77')]||_0x5201('0x52')==_0x3a4b8c['subType'])){const _0x655be8=this[_0x5201('0x3b')](_0x3a4b8c);for(const _0x4483c2 of _0xd64402){const _0x3c6a5b=_0x275cae[_0x5201('0x7d')](_0x4483c2),_0x2082fe=_0xed0383[_0x5201('0x34')](_0x4483c2),_0x4ee423=_0x4483c2[_0x5201('0x16')](_0x3ed386)-0x1,_0x1d9820=_0x655be8[_0xa021f8],_0x4ddad9=_0x655be8[_0x14208c];_0x1d9820<=_0x2082fe[_0x4244eb]&&_0x2082fe[_0x4244eb]+_0x4ee423<=_0x4ddad9&&_0x3a4b8c['addRange'](_0x3c6a5b);}}});});}function _0x5029c7(_0x279a37){const _0x1f7c6f=Array[_0x5201('0x3a')](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x1deca3=>_0x304a34[_0x5201('0x29')](_0x1deca3));_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x3bb7dd=>{const _0x118c32=_0x3bb7dd[_0x5201('0x4e')];_0x279a37=_0x279a37['filter'](_0x52c8a3=>_0x5201('0x83')!=_0x52c8a3[_0x5201('0x63')][_0x5201('0x7f')]),_0x3bb7dd['setSelection'](_0x279a37),_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x5201('0x15'))['refresh'](),_0x4b595b[_0x5201('0x76')](_0x5201('0x15'),{'forceDefaultExecution':!0x0}),_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](_0x118c32,_0x4add80=>{const _0xeabaa7=_0x1f7c6f['filter'](_0x84aede=>_0x5201('0x83')!=_0x84aede[_0x5201('0x63')][_0x5201('0x7f')]);_0xeabaa7[_0x5201('0x87')]>0x0&&_0x4add80[_0x5201('0x1a')](_0xeabaa7);for(const _0xeac1c3 of _0x1f7c6f)_0xeac1c3['detach']();});});});}function _0x3f94de(_0x5dd877){_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x578947=>{const _0x470404=Array['from'](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x8b2ccd=>_0x304a34[_0x5201('0x29')](_0x8b2ccd)),_0x3fb398=[];for(const _0x5fdf70 of _0x5dd877)for(const _0x14afa4 of _0x5fdf70[_0x5201('0x19')]({'shallow':!0x0}))_0x3fb398[_0x5201('0x2f')](_0x14afa4);for(const _0x31646c of _0x3fb398)'$graveyard'!=_0x31646c[_0x5201('0x63')][_0x5201('0x7f')]&&(_0x578947[_0x5201('0x1a')](_0x578947[_0x5201('0x4c')](_0x31646c,0x0)),_0x4b595b['commands'][_0x5201('0x38')]('removeTableColumn')[_0x5201('0x2a')](),_0x4b595b[_0x5201('0x76')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x1cfddc=_0x470404['filter'](_0x2ea5ae=>_0x5201('0x83')!=_0x2ea5ae['root'][_0x5201('0x7f')]);_0x1cfddc[_0x5201('0x87')]>0x0&&_0x578947[_0x5201('0x1a')](_0x1cfddc);for(const _0x41492b of _0x470404)_0x41492b[_0x5201('0x51')]();});}function _0x48aa31(_0x456afb,_0x17551d){return _0x17551d['every'](_0x577a16=>_0x456afb['some'](_0x1d7ca6=>_0x1d7ca6[_0x5201('0x7')]['isEqual'](_0x577a16[_0x5201('0x3f')])||_0x577a16[_0x5201('0x7')][_0x5201('0x9')](_0x1d7ca6['start'])));}function _0x2630e0(_0x52308a,_0x1d98a1){return _0x52308a[_0x5201('0x81')](_0x29a109=>_0x1d98a1[_0x5201('0x81')](_0x277cb7=>_0x29a109[_0x5201('0x7')][_0x5201('0x53')](_0x277cb7['start'])));}_0x4b595b[_0x5201('0xc')][_0x5201('0x7a')]['on'](_0x5201('0xe'),(_0xa11c97,_0x2538a4,_0x5aa2a8)=>{if(!_0x5aa2a8['options'][_0x5201('0x2d')])return;const _0x5700b6=_0x2538a4[_0x5201('0x4')];if(!_0x5700b6)return;const _0x3bdd29=_0x5aa2a8['mapper'][_0x5201('0x60')](_0x5700b6);function _0xccc6d5(_0x340a4d){return Array[_0x5201('0x26')](_0x340a4d)?_0x340a4d:[_0x340a4d];}_0x3bdd29&&'tableCell'===_0x5700b6['name']&&_0xbf8584(_0x3bdd29,_0x5aa2a8[_0x5201('0x21')],(_0x45bdd2,_0x2e3f37,_0xda467b)=>_0xda467b[_0x5201('0x54')](_0xccc6d5(_0x2e3f37[_0x5201('0x6c')]),_0x45bdd2),(_0x239dc3,_0x5bf774,_0x46eb49)=>_0x46eb49[_0x5201('0x31')](_0xccc6d5(_0x5bf774['classes']),_0x239dc3));},{'priority':_0x5201('0x32')}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x189eb6=>{if(_0x5201('0x2b')!=_0x189eb6[_0x5201('0x35')]&&'deletion'!=_0x189eb6['type'])return;const _0x17c3e2=_0x189eb6[_0x5201('0x46')]();if(null!=_0x17c3e2&&_0x17c3e2['is'](_0x5201('0x58'),_0x5201('0x2e'))){if(_0x5201('0x2b')==_0x189eb6[_0x5201('0x35')]){const _0x2294be=_0x189eb6[_0x5201('0x19')]()['filter'](_0x30ae3e=>_0x30ae3e['is'](_0x5201('0x39')))['map'](_0x3808b2=>_0x3808b2['data']);if(_0x2294be[_0x5201('0x87')])return{'type':'insertion','content':_0x54ad10(_0x1372be,'*Insert:*\x20%0',_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x2294be['join']('\x20')+'\x22'))};}if('deletion'==_0x189eb6[_0x5201('0x35')]){const _0x5c3a81=_0x189eb6['getItems']()[_0x5201('0x5f')](_0x218a8e=>_0x218a8e['is'](_0x5201('0x39')))['map'](_0x112b58=>_0x112b58[_0x5201('0xc')]);if(_0x5c3a81[_0x5201('0x87')])return{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x5c3a81[_0x5201('0x44')]('\x20')+'\x22'))};}}}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x94c3a4=>{if(_0x5201('0x6e')==_0x94c3a4['subType']){const _0x3d1e64=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x375b49=>_0x375b49['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x2571c3=>_0x2571c3[_0x5201('0xc')]),_0x49e7b4=this[_0x5201('0x3b')](_0x94c3a4),_0x41a41a=_0x49e7b4[_0x5201('0x25')]-_0x49e7b4['minRow']+0x1;if('insertion'==_0x94c3a4['type'])return _0x3d1e64['length']?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};if('deletion'==_0x94c3a4[_0x5201('0x35')])return _0x3d1e64[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};}if(_0x5201('0x52')==_0x94c3a4[_0x5201('0x77')]){const _0x13ec7c=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x337ef6=>_0x337ef6['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x3bcdee=>_0x3bcdee['data']),_0x18a510=this[_0x5201('0x3b')](_0x94c3a4),_0x192fb4=_0x18a510[_0x5201('0x55')]-_0x18a510['minColumn']+0x1;if('insertion'==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};if(_0x5201('0x70')==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};}}),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x2b'),_0x5201('0x6e'),_0x5201('0x3e'),_0x5029c7),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),_0x5201('0x6e'),_0x5201('0x4b'),_0x5029c7),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x3e'),_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('deletion',_0x5201('0x52'),'accept',_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x44'),_0x48aa31),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x70'),'tableColumn','join',_0x48aa31),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('insertion',_0x5201('0x6e'),_0x5201('0x44'),_0x2630e0),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),'tableRow','join',_0x2630e0);}[_0x5201('0x36')](){const _0x15dfa1=this['editor'],_0x521159=_0x15dfa1['model'][_0x5201('0x79')][_0x5201('0x68')];return(_0x595e52,_0x1e4098)=>{_0x15dfa1[_0x5201('0xb')][_0x5201('0x6a')](_0xdae61c=>{const {commandName:_0x1e1f71,commandParams:_0x4ce9dc}=_0x1e4098;let _0x3abb3a=_0x595e52[0x0][_0x5201('0x7')][_0x5201('0x67')];_0x4ce9dc&&_0x4ce9dc[0x0]&&!0x1===_0x4ce9dc[0x0]['forceValue']&&(_0x3abb3a=_0x595e52[0x0][_0x5201('0x3f')][_0x5201('0x3d')]);const _0xf97972=_0xdae61c[_0x5201('0x6f')](_0x3abb3a);if('$graveyard'==_0xf97972['root'][_0x5201('0x7f')])return;const _0x3c1f5d=Array['from'](_0x521159[_0x5201('0x5d')]())[_0x5201('0xd')](_0x5c4fd5=>_0x304a34['fromRange'](_0x5c4fd5));_0xdae61c['setSelection'](_0xf97972),_0x15dfa1[_0x5201('0x86')]['get'](_0x1e1f71)[_0x5201('0x2a')](),_0x4ce9dc[_0x5201('0x2f')]({'forceDefaultExecution':!0x0}),_0x15dfa1['execute'](_0x1e1f71,..._0x4ce9dc);const _0x2e7094=_0x3c1f5d[_0x5201('0x5f')](_0x5653be=>'$graveyard'!=_0x5653be['root']['rootName']);_0x2e7094['length']>0x0&&_0xdae61c[_0x5201('0x1a')](_0x2e7094);for(const _0x4b4146 of _0x3c1f5d)_0x4b4146[_0x5201('0x51')]();});};}[_0x5201('0x40')](_0x9b12f8){const _0x2a8115=this[_0x5201('0x80')][_0x5201('0x75')][_0x5201('0x38')]('TableUtils');let _0x2e81b7=Number['MAX_SAFE_INTEGER'],_0x1397cd=Number['MIN_SAFE_INTEGER'],_0x16e47c=Number[_0x5201('0x45')],_0x4b4b3f=Number['MIN_SAFE_INTEGER'];for(const _0x4c066d of _0x9b12f8){if('$graveyard'==_0x4c066d[_0x5201('0x63')]['rootName'])continue;const {row:_0x55595e,column:_0x56f356}=_0x2a8115['getCellLocation'](_0x4c066d),_0x4995e4=_0x4c066d[_0x5201('0x5c')](_0x5201('0x28'))?_0x4c066d['getAttribute'](_0x5201('0x28'))-0x1:0x0,_0x12c60e=_0x4c066d[_0x5201('0x5c')](_0x5201('0x1d'))?_0x4c066d['getAttribute'](_0x5201('0x1d'))-0x1:0x0;_0x2e81b7=_0x55595e<_0x2e81b7?_0x55595e:_0x2e81b7,_0x1397cd=_0x55595e+_0x4995e4>_0x1397cd?_0x55595e+_0x4995e4:_0x1397cd,_0x16e47c=_0x56f356<_0x16e47c?_0x56f356:_0x16e47c,_0x4b4b3f=_0x56f356+_0x12c60e>_0x4b4b3f?_0x56f356+_0x12c60e:_0x4b4b3f;}return{'minRow':_0x2e81b7,'maxRow':_0x1397cd,'minColumn':_0x16e47c,'maxColumn':_0x4b4b3f};}['_setupColumnsRowsFixing'](){const _0x108382=this['editor'],_0x1d958e=_0x108382['plugins'][_0x5201('0x38')]('TrackChangesEditing'),_0x1ee6fd=_0x108382['plugins'][_0x5201('0x38')](_0x5201('0x20'));_0x108382[_0x5201('0xb')][_0x5201('0x79')]['on'](_0x5201('0x2c'),()=>{const _0x2fb379=Array[_0x5201('0x3a')](_0x108382[_0x5201('0xb')][_0x5201('0x79')]['differ'][_0x5201('0x57')]());for(const {name:_0x1f97b8,data:_0x297d43}of _0x2fb379){const {group:_0x2cd936,id:_0x3c6769,subType:_0x5af54e}=_0x1d958e[_0x5201('0x82')](_0x1f97b8);if(_0x5201('0x62')!=_0x2cd936)continue;if(null!=_0x297d43['oldRange'])continue;const _0x206f58=_0x1d958e[_0x5201('0x47')](_0x3c6769);this[_0x5201('0x42')][_0x5201('0x6b')](_0x5af54e)&&this[_0x5201('0x1f')][_0x5201('0x48')](_0x206f58);}},{'priority':_0x5201('0x33')});const _0x14611=(_0x3dd287,_0x568048)=>{let _0x520d63=!0x1;const _0x36684c=_0x568048[_0x5201('0x7d')](_0x3dd287),_0x3533b8=_0x3dd287['findAncestor'](_0x5201('0x2e')),_0x834b8d=_0x1ee6fd[_0x5201('0x34')](_0x3dd287);for(const _0x561466 of this[_0x5201('0x1f')]){const _0x39f3d2=_0x561466[_0x5201('0x77')],_0x13ff77=_0x39f3d2['startsWith'](_0x5201('0x78')),_0x42482e=_0x39f3d2[_0x5201('0x2')](_0x13ff77?0xa:0x5),_0x321e18=_0x42482e[_0x5201('0xa')](),_0x4f1ce1=_0x321e18['substr'](0x0,0x3)+'span',_0x58091f=_0x5201('0x74')+_0x42482e,_0x5ee297='max'+_0x42482e;if(!_0x561466[_0x5201('0x84')])continue;if(_0x3533b8!=_0x561466['getFirstRange']()[_0x5201('0x3f')][_0x5201('0x5b')](_0x5201('0x2e')))continue;if(_0x561466['isIntersectingWithRange'](_0x36684c))continue;const _0x23f67f=_0x3dd287[_0x5201('0x5c')](_0x4f1ce1)?_0x3dd287[_0x5201('0x16')](_0x4f1ce1)-0x1:0x0,_0x1be212=this[_0x5201('0x3b')](_0x561466),_0xc511c2=_0x1be212[_0x58091f],_0x28183e=_0x1be212[_0x5ee297];_0xc511c2<=_0x834b8d[_0x321e18]&&_0x834b8d[_0x321e18]+_0x23f67f<=_0x28183e&&(_0x561466[_0x5201('0x10')](_0x36684c),_0x520d63=!0x0);}return _0x520d63;};_0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x59')](_0x4dd8dd=>{let _0xed2575=!0x1;for(const _0x522efe of _0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x7b')][_0x5201('0x72')]())if(_0x5201('0x56')==_0x522efe[_0x5201('0x35')]){if(_0x5201('0x6e')==_0x522efe['name'])for(const _0x40f0c0 of _0x522efe[_0x5201('0x4f')][_0x5201('0x3d')][_0x5201('0xf')]())_0xed2575=_0xed2575||_0x14611(_0x40f0c0,_0x4dd8dd);else _0x5201('0x18')==_0x522efe[_0x5201('0x6')]&&(_0xed2575=_0xed2575||_0x14611(_0x522efe[_0x5201('0x4f')][_0x5201('0x3d')],_0x4dd8dd));}return _0xed2575;});}[_0x5201('0x3b')](_0x2b22aa){return this[_0x5201('0x40')](_0x2b22aa[_0x5201('0x5d')]()[_0x5201('0xd')](_0x11690d=>_0x11690d[_0x5201('0x3f')][_0x5201('0x3d')]));}}function se(_0x40b1fa){return Array[_0x5201('0x3a')](new Set(_0x40b1fa)['values']());}
23
+ const _0x2428=['join','model','removeTableColumn','above','oldRange','_setupColumnsRowsFixing','getCellLocation','registerElementLabel','getChangedMarkers','getSelectionAffectedTableCells','maxRow','values','length','table','fromRange','from','_getSuggestionCoords','createTableWalker','toLowerCase','startsWith','getAttribute','$textProxy','ELEMENT_TABLE_ROW_WITH_TEXT','get','start','execute','ELEMENT_TABLE_COLUMN','end','item','refresh','isInContent','getContainedElement','colspan','getItems','forceValue','registerDescriptionCallback','accept','last','has','hasAttribute','ELEMENT_TABLE_COLUMN_WITH_TEXT','change:data','tableCell','_tableSuggestions','getFirstRange','element','ELEMENT_TABLE_WITH_TEXT','TrackChangesEditing','first','getChanges','data','_getCoordsForCells','createRangeOn','insertion','low','nodeAfter','name','order','includes','some','document','getRowIndexes','mapper','commands','minRow','enableCommand','MIN_SAFE_INTEGER','map','afterInit','getColumnIndexes','locale','isEqual','findAncestor','removeClass','registerCustomCallback','isTouching','$graveyard','tablePaste','batch','_splitMarkerName','getRanges','deletion','insertTableColumnLeft','createPositionAt','editor','isArray','addRange','TableEditing','max','getSuggestion','insertTableRowAbove','addMarker:suggestion','substr','markMultiRangeInsertion','setSelection','enqueueChange','registerPostFixer','subType','classes','_tablePostFixingSubtypes','plugins','_acceptFormatSuggestionCallbackFactory','type','push','position','span','markMultiRangeDeletion','*Insert:*\x20%0','detach','left','selectTableColumn','selectTableRow','options','_descriptionFactory','getChildren','writer','rowspan','discard','_suggestionFactory','insert','tableColumn','every','change','TableUtils','addClass','root','filter','MAX_SAFE_INTEGER','insertTableColumnRight','tableRow','insertTable','highest','min','rootName','minColumn','removeTableRow','*Remove:*\x20%0','add','cell','differ'];(function(_0x9fc442,_0x2428e0){const _0x2aa654=function(_0x1f94df){while(--_0x1f94df){_0x9fc442['push'](_0x9fc442['shift']());}};_0x2aa654(++_0x2428e0);}(_0x2428,0x8d));const _0x2aa6=function(_0x9fc442,_0x2428e0){_0x9fc442=_0x9fc442-0x0;let _0x2aa654=_0x2428[_0x9fc442];return _0x2aa654;};import{Plugin as _0x43651e}from'ckeditor5/src/core';import{LiveRange as _0x3f0f3b}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3c9ab9}from'ckeditor5/src/widget';import{getTranslation as _0x1ee9de}from'../utils/common-translations';export default class mt extends _0x43651e{constructor(_0x698b8a){super(_0x698b8a),this['_tablePostFixingSubtypes']=['tableRow',_0x2aa6('0x77')],this[_0x2aa6('0x2a')]=new Set();}[_0x2aa6('0x43')](){const _0x43ba72=this[_0x2aa6('0x53')],_0x3212e2=_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x3b')]['selection'];if(!_0x43ba72['plugins'][_0x2aa6('0x25')](_0x2aa6('0x56')))return;const _0x3c196f=_0x43ba72[_0x2aa6('0x45')],_0x305d91=_0x43ba72['plugins'][_0x2aa6('0x16')](_0x2aa6('0x2e')),_0x5cebb8=_0x43ba72['plugins'][_0x2aa6('0x16')](_0x2aa6('0x7a'));_0x305d91['_descriptionFactory'][_0x2aa6('0x6')](_0x2aa6('0xc'),_0x460056=>_0x1ee9de(_0x3c196f,'ELEMENT_TABLE',_0x460056)),this[_0x2aa6('0x4')](),_0x305d91['enableCommand'](_0x2aa6('0x81')),_0x305d91['enableCommand'](_0x2aa6('0x6e')),_0x305d91[_0x2aa6('0x40')](_0x2aa6('0x6d'));for(const _0x24e6bf of[_0x2aa6('0x59'),'insertTableRowBelow']){const _0x44bc98=_0x43ba72[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x24e6bf);_0x305d91[_0x2aa6('0x40')](_0x24e6bf,_0x1c3a44=>{_0x43ba72['model']['change'](_0x200b7d=>{_0x1c3a44();const _0x104a06=_0x2aa6('0x2')===_0x44bc98[_0x2aa6('0x38')],_0x1091e6=_0x5cebb8['getSelectionAffectedTableCells'](_0x3212e2),_0x3b8c37=_0x5cebb8[_0x2aa6('0x3c')](_0x1091e6),_0x45f54a=_0x104a06?_0x3b8c37[_0x2aa6('0x2f')]-0x1:_0x3b8c37[_0x2aa6('0x24')]+0x1,_0x3164aa=_0x1091e6[0x0][_0x2aa6('0x47')](_0x2aa6('0xc')),_0xd59db8=_0x5cebb8[_0x2aa6('0x10')](_0x3164aa,{'startRow':_0x45f54a,'endRow':_0x45f54a}),_0x524b65=Array[_0x2aa6('0xe')](_0xd59db8)[_0x2aa6('0x42')](_0x29074b=>_0x200b7d[_0x2aa6('0x33')](_0x29074b[_0x2aa6('0x89')]));_0x305d91[_0x2aa6('0x5c')](_0x524b65,_0x2aa6('0x80'));});});}for(const _0xe92708 of[_0x2aa6('0x51'),_0x2aa6('0x7f')]){const _0x3d92d0=_0x43ba72['commands'][_0x2aa6('0x16')](_0xe92708);_0x305d91['enableCommand'](_0xe92708,_0x28a8d9=>{_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x29f83d=>{_0x28a8d9();const _0x277546=_0x2aa6('0x6c')===_0x3d92d0[_0x2aa6('0x38')],_0x2258bd=_0x5cebb8[_0x2aa6('0x8')](_0x3212e2),_0x1a89b3=_0x5cebb8[_0x2aa6('0x44')](_0x2258bd),_0x591fef=_0x277546?_0x1a89b3[_0x2aa6('0x2f')]-0x1:_0x1a89b3[_0x2aa6('0x24')]+0x1,_0x213fe3=_0x2258bd[0x0][_0x2aa6('0x47')](_0x2aa6('0xc')),_0x31a59e=_0x5cebb8[_0x2aa6('0x10')](_0x213fe3,{'startRow':0x0,'column':_0x591fef,'includeAllSlots':!0x1}),_0x10a5b0=Array[_0x2aa6('0xe')](_0x31a59e)[_0x2aa6('0x42')](_0x4e517c=>_0x29f83d['createRangeOn'](_0x4e517c[_0x2aa6('0x89')]));_0x305d91[_0x2aa6('0x5c')](_0x10a5b0,_0x2aa6('0x77'));});});}for(const _0x33e2e0 of[_0x2aa6('0x86'),_0x2aa6('0x1')]){const _0x30fc19=_0x33e2e0[_0x2aa6('0x5b')](0xb),_0x277c5f=_0x30fc19[_0x2aa6('0x11')](),_0x1e1835=_0x277c5f[_0x2aa6('0x5b')](0x0,0x3)+_0x2aa6('0x68'),_0xdf032a='table'+_0x30fc19,_0x275fbf=_0x2aa6('0x83')+_0x30fc19,_0x4c020e=_0x2aa6('0x57')+_0x30fc19;_0x305d91[_0x2aa6('0x40')](_0x33e2e0,()=>{_0x43ba72[_0x2aa6('0x0')]['change'](_0x5696e1=>{const _0x29786a=_0x5cebb8[_0x2aa6('0x8')](_0x3212e2),_0x1cb8b3=_0x29786a[0x0][_0x2aa6('0x47')](_0x2aa6('0xc'));let _0x3ff34d;if('removeTableRow'==_0x33e2e0){const _0xea002e=_0x5cebb8[_0x2aa6('0x3c')](_0x29786a);_0x3ff34d={'startRow':_0xea002e[_0x2aa6('0x2f')],'endRow':_0xea002e[_0x2aa6('0x24')],'includeAllSlots':!0x0};}else{const _0x4e98d1=_0x5cebb8['getColumnIndexes'](_0x29786a);_0x3ff34d={'startColumn':_0x4e98d1[_0x2aa6('0x2f')],'endColumn':_0x4e98d1[_0x2aa6('0x24')],'includeAllSlots':!0x0};}const _0x537fed=_0x5cebb8[_0x2aa6('0x10')](_0x1cb8b3,_0x3ff34d),_0x4fcba1=Array[_0x2aa6('0xe')](_0x537fed)['map'](({cell:_0x44a8ac})=>_0x44a8ac),_0x11f251=se(_0x4fcba1[_0x2aa6('0x7d')](_0x162047=>_0x162047[_0x2aa6('0x26')](_0x1e1835))),_0x2d8197=se(_0x4fcba1[_0x2aa6('0x7d')](_0x4f4978=>!_0x4f4978[_0x2aa6('0x26')](_0x1e1835)))[_0x2aa6('0x42')](_0x33ba75=>_0x5696e1[_0x2aa6('0x33')](_0x33ba75)),_0x7abb3c=_0x305d91[_0x2aa6('0x69')](_0x2d8197,_0xdf032a);if(_0x7abb3c&&('tableRow'==_0x7abb3c[_0x2aa6('0x60')]||_0x2aa6('0x77')==_0x7abb3c[_0x2aa6('0x60')])){const _0x1b2cb8=this['_getSuggestionCoords'](_0x7abb3c);for(const _0x45a102 of _0x11f251){const _0x4f8878=_0x5696e1[_0x2aa6('0x33')](_0x45a102),_0x4da798=_0x5cebb8[_0x2aa6('0x5')](_0x45a102),_0x160b0c=_0x45a102['getAttribute'](_0x1e1835)-0x1,_0x4fcb1f=_0x1b2cb8[_0x275fbf],_0xeb1ca0=_0x1b2cb8[_0x4c020e];_0x4fcb1f<=_0x4da798[_0x277c5f]&&_0x4da798[_0x277c5f]+_0x160b0c<=_0xeb1ca0&&_0x7abb3c[_0x2aa6('0x55')](_0x4f8878);}}});});}function _0x4f117d(_0x2f2173){const _0x49f6a2=Array[_0x2aa6('0xe')](_0x3212e2[_0x2aa6('0x4f')]())[_0x2aa6('0x42')](_0x347e3b=>_0x3f0f3b[_0x2aa6('0xd')](_0x347e3b));_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x5729fd=>{const _0x3ed31c=_0x5729fd[_0x2aa6('0x4d')];_0x2f2173=_0x2f2173['filter'](_0x3285a5=>_0x2aa6('0x4b')!=_0x3285a5[_0x2aa6('0x7c')][_0x2aa6('0x84')]),_0x5729fd[_0x2aa6('0x5d')](_0x2f2173),_0x43ba72[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x2aa6('0x86'))[_0x2aa6('0x1c')](),_0x43ba72['execute'](_0x2aa6('0x86'),{'forceDefaultExecution':!0x0}),_0x43ba72[_0x2aa6('0x0')]['enqueueChange'](()=>{_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x5e')](_0x3ed31c,_0x2c3746=>{const _0x5b8310=_0x49f6a2[_0x2aa6('0x7d')](_0x4593de=>'$graveyard'!=_0x4593de['root'][_0x2aa6('0x84')]);_0x5b8310[_0x2aa6('0xb')]>0x0&&_0x2c3746[_0x2aa6('0x5d')](_0x5b8310);for(const _0x4d3b57 of _0x49f6a2)_0x4d3b57[_0x2aa6('0x6b')]();});});});}function _0x2f3876(_0x45f65b){_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x1b047a=>{const _0xfeaff7=Array[_0x2aa6('0xe')](_0x3212e2['getRanges']())[_0x2aa6('0x42')](_0x5ef740=>_0x3f0f3b[_0x2aa6('0xd')](_0x5ef740)),_0x3c5e12=[];for(const _0x149ed9 of _0x45f65b)for(const _0x22c965 of _0x149ed9['getItems']({'shallow':!0x0}))_0x3c5e12[_0x2aa6('0x66')](_0x22c965);for(const _0x50bb38 of _0x3c5e12)'$graveyard'!=_0x50bb38['root'][_0x2aa6('0x84')]&&(_0x1b047a[_0x2aa6('0x5d')](_0x1b047a[_0x2aa6('0x52')](_0x50bb38,0x0)),_0x43ba72[_0x2aa6('0x3e')]['get'](_0x2aa6('0x1'))[_0x2aa6('0x1c')](),_0x43ba72['execute'](_0x2aa6('0x1'),{'forceDefaultExecution':!0x0}));const _0x19d4b1=_0xfeaff7[_0x2aa6('0x7d')](_0x2f3981=>_0x2aa6('0x4b')!=_0x2f3981[_0x2aa6('0x7c')][_0x2aa6('0x84')]);_0x19d4b1[_0x2aa6('0xb')]>0x0&&_0x1b047a[_0x2aa6('0x5d')](_0x19d4b1);for(const _0x16e579 of _0xfeaff7)_0x16e579[_0x2aa6('0x6b')]();});}function _0x4e947b(_0x250b3b,_0xe6efef){return _0xe6efef[_0x2aa6('0x78')](_0x45eb36=>_0x250b3b['some'](_0x5532aa=>_0x5532aa['end'][_0x2aa6('0x46')](_0x45eb36[_0x2aa6('0x17')])||_0x45eb36['end'][_0x2aa6('0x46')](_0x5532aa[_0x2aa6('0x17')])));}function _0x5ad9a5(_0x10e5b2,_0x1f5616){return _0x10e5b2['some'](_0x19f3da=>_0x1f5616[_0x2aa6('0x3a')](_0x5a4ab9=>_0x19f3da[_0x2aa6('0x1a')][_0x2aa6('0x4a')](_0x5a4ab9['start'])));}_0x43ba72[_0x2aa6('0x31')]['downcastDispatcher']['on'](_0x2aa6('0x5a'),(_0x50ef85,_0x3fb784,_0x11f30a)=>{if(!_0x11f30a[_0x2aa6('0x6f')]['showSuggestionHighlights'])return;const _0x295cf3=_0x3fb784[_0x2aa6('0x1b')];if(!_0x295cf3)return;const _0x18b6a2=_0x11f30a[_0x2aa6('0x3d')]['toViewElement'](_0x295cf3);function _0xdb39ce(_0x45dc5d){return Array[_0x2aa6('0x54')](_0x45dc5d)?_0x45dc5d:[_0x45dc5d];}_0x18b6a2&&_0x2aa6('0x29')===_0x295cf3[_0x2aa6('0x37')]&&_0x3c9ab9(_0x18b6a2,_0x11f30a[_0x2aa6('0x72')],(_0x5bd020,_0x2b3dac,_0x2bcc7c)=>_0x2bcc7c[_0x2aa6('0x7b')](_0xdb39ce(_0x2b3dac[_0x2aa6('0x61')]),_0x5bd020),(_0x2a9e2f,_0x268342,_0x158a69)=>_0x158a69[_0x2aa6('0x48')](_0xdb39ce(_0x268342['classes']),_0x2a9e2f));},{'priority':_0x2aa6('0x82')}),_0x305d91[_0x2aa6('0x70')][_0x2aa6('0x22')](_0xcd7836=>{if(_0x2aa6('0x34')!=_0xcd7836[_0x2aa6('0x65')]&&'deletion'!=_0xcd7836[_0x2aa6('0x65')])return;const _0x4a4a27=_0xcd7836[_0x2aa6('0x1e')]();if(null!=_0x4a4a27&&_0x4a4a27['is'](_0x2aa6('0x2c'),_0x2aa6('0xc'))){if(_0x2aa6('0x34')==_0xcd7836[_0x2aa6('0x65')]){const _0x270f4e=_0xcd7836['getItems']()[_0x2aa6('0x7d')](_0x4efc65=>_0x4efc65['is'](_0x2aa6('0x14')))['map'](_0x4175ae=>_0x4175ae[_0x2aa6('0x31')]);if(_0x270f4e['length'])return{'type':'insertion','content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,_0x2aa6('0x2d'),'\x22'+_0x270f4e[_0x2aa6('0x8b')]('\x20')+'\x22'))};}if(_0x2aa6('0x50')==_0xcd7836[_0x2aa6('0x65')]){const _0x47c436=_0xcd7836[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x158199=>_0x158199['is']('$textProxy'))[_0x2aa6('0x42')](_0xa659a8=>_0xa659a8[_0x2aa6('0x31')]);if(_0x47c436[_0x2aa6('0xb')])return{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x47c436[_0x2aa6('0x8b')]('\x20')+'\x22'))};}}}),_0x305d91[_0x2aa6('0x70')][_0x2aa6('0x22')](_0x4466fd=>{if(_0x2aa6('0x80')==_0x4466fd[_0x2aa6('0x60')]){const _0x1062ca=_0x4466fd[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x28f783=>_0x28f783['is'](_0x2aa6('0x14')))['map'](_0x2befe8=>_0x2befe8['data']),_0xa456b7=this[_0x2aa6('0xf')](_0x4466fd),_0x3512a1=_0xa456b7[_0x2aa6('0x9')]-_0xa456b7[_0x2aa6('0x3f')]+0x1;if(_0x2aa6('0x34')==_0x4466fd['type'])return _0x1062ca[_0x2aa6('0xb')]?{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,_0x2aa6('0x15'),[_0x3512a1,'\x22'+_0x1062ca['join']('\x20')+'\x22']))}:{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,'*Insert:*\x20%0',_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_ROW',_0x3512a1))};if(_0x2aa6('0x50')==_0x4466fd[_0x2aa6('0x65')])return _0x1062ca[_0x2aa6('0xb')]?{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,_0x2aa6('0x15'),[_0x3512a1,'\x22'+_0x1062ca[_0x2aa6('0x8b')]('\x20')+'\x22']))}:{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_ROW',_0x3512a1))};}if(_0x2aa6('0x77')==_0x4466fd[_0x2aa6('0x60')]){const _0x43f13e=_0x4466fd[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x294574=>_0x294574['is']('$textProxy'))[_0x2aa6('0x42')](_0x446841=>_0x446841[_0x2aa6('0x31')]),_0x40a70e=this[_0x2aa6('0xf')](_0x4466fd),_0x323b42=_0x40a70e['maxColumn']-_0x40a70e[_0x2aa6('0x85')]+0x1;if('insertion'==_0x4466fd[_0x2aa6('0x65')])return _0x43f13e[_0x2aa6('0xb')]?{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,'*Insert:*\x20%0',_0x1ee9de(_0x3c196f,_0x2aa6('0x27'),[_0x323b42,'\x22'+_0x43f13e['join']('\x20')+'\x22']))}:{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_COLUMN',_0x323b42))};if(_0x2aa6('0x50')==_0x4466fd[_0x2aa6('0x65')])return _0x43f13e[_0x2aa6('0xb')]?{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,'*Remove:*\x20%0',_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x323b42,'\x22'+_0x43f13e[_0x2aa6('0x8b')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,_0x2aa6('0x19'),_0x323b42))};}}),_0x305d91['_suggestionFactory'][_0x2aa6('0x49')]('insertion',_0x2aa6('0x80'),_0x2aa6('0x74'),_0x4f117d),_0x305d91[_0x2aa6('0x75')]['registerCustomCallback']('deletion',_0x2aa6('0x80'),_0x2aa6('0x23'),_0x4f117d),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x77'),_0x2aa6('0x74'),_0x2f3876),_0x305d91[_0x2aa6('0x75')]['registerCustomCallback'](_0x2aa6('0x50'),_0x2aa6('0x77'),_0x2aa6('0x23'),_0x2f3876),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x77'),_0x2aa6('0x8b'),_0x4e947b),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')]('deletion',_0x2aa6('0x77'),'join',_0x4e947b),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x80'),'join',_0x5ad9a5),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x50'),_0x2aa6('0x80'),_0x2aa6('0x8b'),_0x5ad9a5);}[_0x2aa6('0x64')](){const _0x2c5585=this['editor'],_0x56a633=_0x2c5585[_0x2aa6('0x0')]['document']['selection'];return(_0x397d49,_0x24eb28)=>{_0x2c5585[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x3ed772=>{const {commandName:_0x38e45d,commandParams:_0x430468}=_0x24eb28;let _0x24922b=_0x397d49[0x0]['end']['nodeBefore'];_0x430468&&_0x430468[0x0]&&!0x1===_0x430468[0x0][_0x2aa6('0x21')]&&(_0x24922b=_0x397d49[0x0]['start'][_0x2aa6('0x36')]);const _0x1842ca=_0x3ed772['createRangeIn'](_0x24922b);if(_0x2aa6('0x4b')==_0x1842ca[_0x2aa6('0x7c')]['rootName'])return;const _0x544e32=Array[_0x2aa6('0xe')](_0x56a633[_0x2aa6('0x4f')]())[_0x2aa6('0x42')](_0xdd2452=>_0x3f0f3b['fromRange'](_0xdd2452));_0x3ed772[_0x2aa6('0x5d')](_0x1842ca),_0x2c5585[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x38e45d)[_0x2aa6('0x1c')](),_0x430468[_0x2aa6('0x66')]({'forceDefaultExecution':!0x0}),_0x2c5585[_0x2aa6('0x18')](_0x38e45d,..._0x430468);const _0x1059ed=_0x544e32[_0x2aa6('0x7d')](_0x25dcb4=>_0x2aa6('0x4b')!=_0x25dcb4[_0x2aa6('0x7c')][_0x2aa6('0x84')]);_0x1059ed[_0x2aa6('0xb')]>0x0&&_0x3ed772[_0x2aa6('0x5d')](_0x1059ed);for(const _0x39a926 of _0x544e32)_0x39a926[_0x2aa6('0x6b')]();});};}[_0x2aa6('0x32')](_0x4bffc3){const _0x3c4f03=this[_0x2aa6('0x53')][_0x2aa6('0x63')][_0x2aa6('0x16')](_0x2aa6('0x7a'));let _0x11551f=Number[_0x2aa6('0x7e')],_0x1b9953=Number[_0x2aa6('0x41')],_0x1d9e88=Number[_0x2aa6('0x7e')],_0x443847=Number['MIN_SAFE_INTEGER'];for(const _0x26e85e of _0x4bffc3){if('$graveyard'==_0x26e85e['root']['rootName'])continue;const {row:_0x39ec8a,column:_0xdf8a93}=_0x3c4f03[_0x2aa6('0x5')](_0x26e85e),_0x5e2698=_0x26e85e[_0x2aa6('0x26')](_0x2aa6('0x73'))?_0x26e85e[_0x2aa6('0x13')](_0x2aa6('0x73'))-0x1:0x0,_0x237549=_0x26e85e[_0x2aa6('0x26')](_0x2aa6('0x1f'))?_0x26e85e['getAttribute'](_0x2aa6('0x1f'))-0x1:0x0;_0x11551f=_0x39ec8a<_0x11551f?_0x39ec8a:_0x11551f,_0x1b9953=_0x39ec8a+_0x5e2698>_0x1b9953?_0x39ec8a+_0x5e2698:_0x1b9953,_0x1d9e88=_0xdf8a93<_0x1d9e88?_0xdf8a93:_0x1d9e88,_0x443847=_0xdf8a93+_0x237549>_0x443847?_0xdf8a93+_0x237549:_0x443847;}return{'minRow':_0x11551f,'maxRow':_0x1b9953,'minColumn':_0x1d9e88,'maxColumn':_0x443847};}['_setupColumnsRowsFixing'](){const _0xe4e501=this['editor'],_0x5952d6=_0xe4e501['plugins'][_0x2aa6('0x16')]('TrackChangesEditing'),_0x9729f3=_0xe4e501[_0x2aa6('0x63')]['get'](_0x2aa6('0x7a'));_0xe4e501[_0x2aa6('0x0')][_0x2aa6('0x3b')]['on'](_0x2aa6('0x28'),()=>{const _0x25982f=Array[_0x2aa6('0xe')](_0xe4e501[_0x2aa6('0x0')][_0x2aa6('0x3b')][_0x2aa6('0x8a')][_0x2aa6('0x7')]());for(const {name:_0x30bd56,data:_0x8c209e}of _0x25982f){const {group:_0x27831a,id:_0x5b66ec,subType:_0x4eccef}=_0x5952d6[_0x2aa6('0x4e')](_0x30bd56);if('suggestion'!=_0x27831a)continue;if(null!=_0x8c209e[_0x2aa6('0x3')])continue;const _0x4b10f1=_0x5952d6[_0x2aa6('0x58')](_0x5b66ec);this[_0x2aa6('0x62')][_0x2aa6('0x39')](_0x4eccef)&&this[_0x2aa6('0x2a')][_0x2aa6('0x88')](_0x4b10f1);}},{'priority':_0x2aa6('0x35')});const _0x22ce35=(_0x4ab66a,_0x214361)=>{let _0x3a9101=!0x1;const _0x4abe65=_0x214361[_0x2aa6('0x33')](_0x4ab66a),_0x306313=_0x4ab66a[_0x2aa6('0x47')](_0x2aa6('0xc')),_0x341e96=_0x9729f3[_0x2aa6('0x5')](_0x4ab66a);for(const _0x4e8620 of this[_0x2aa6('0x2a')]){const _0x5f4237=_0x4e8620[_0x2aa6('0x60')],_0x19ab50=_0x5f4237[_0x2aa6('0x12')](_0x2aa6('0x4c')),_0x1905ca=_0x5f4237[_0x2aa6('0x5b')](_0x19ab50?0xa:0x5),_0x358c78=_0x1905ca[_0x2aa6('0x11')](),_0x209bb1=_0x358c78[_0x2aa6('0x5b')](0x0,0x3)+_0x2aa6('0x68'),_0xc4e0b9='min'+_0x1905ca,_0x27cb4d=_0x2aa6('0x57')+_0x1905ca;if(!_0x4e8620[_0x2aa6('0x1d')])continue;if(_0x306313!=_0x4e8620[_0x2aa6('0x2b')]()[_0x2aa6('0x17')][_0x2aa6('0x47')](_0x2aa6('0xc')))continue;if(_0x4e8620['isIntersectingWithRange'](_0x4abe65))continue;const _0x24b602=_0x4ab66a['hasAttribute'](_0x209bb1)?_0x4ab66a[_0x2aa6('0x13')](_0x209bb1)-0x1:0x0,_0x2cc74d=this[_0x2aa6('0xf')](_0x4e8620),_0x384c0c=_0x2cc74d[_0xc4e0b9],_0x502a1b=_0x2cc74d[_0x27cb4d];_0x384c0c<=_0x341e96[_0x358c78]&&_0x341e96[_0x358c78]+_0x24b602<=_0x502a1b&&(_0x4e8620[_0x2aa6('0x55')](_0x4abe65),_0x3a9101=!0x0);}return _0x3a9101;};_0xe4e501[_0x2aa6('0x0')]['document'][_0x2aa6('0x5f')](_0x219c82=>{let _0x34ba88=!0x1;for(const _0x212177 of _0xe4e501['model'][_0x2aa6('0x3b')]['differ'][_0x2aa6('0x30')]())if(_0x2aa6('0x76')==_0x212177[_0x2aa6('0x65')]){if(_0x2aa6('0x80')==_0x212177['name'])for(const _0x2b1c75 of _0x212177['position']['nodeAfter'][_0x2aa6('0x71')]())_0x34ba88=_0x34ba88||_0x22ce35(_0x2b1c75,_0x219c82);else _0x2aa6('0x29')==_0x212177[_0x2aa6('0x37')]&&(_0x34ba88=_0x34ba88||_0x22ce35(_0x212177[_0x2aa6('0x67')]['nodeAfter'],_0x219c82));}return _0x34ba88;});}['_getSuggestionCoords'](_0x1787a2){return this[_0x2aa6('0x32')](_0x1787a2['getRanges']()[_0x2aa6('0x42')](_0xa0a5e6=>_0xa0a5e6[_0x2aa6('0x17')][_0x2aa6('0x36')]));}}function se(_0x50c269){return Array[_0x2aa6('0xe')](new Set(_0x50c269)[_0x2aa6('0xa')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f1c=['enableCommand','get','TrackChangesEditing','editor','toggleTableCaption','has','afterInit','plugins','requires'];(function(_0x41ed99,_0x1f1c80){const _0x1a6e20=function(_0x4acda3){while(--_0x4acda3){_0x41ed99['push'](_0x41ed99['shift']());}};_0x1a6e20(++_0x1f1c80);}(_0x1f1c,0x179));const _0x1a6e=function(_0x41ed99,_0x1f1c80){_0x41ed99=_0x41ed99-0x0;let _0x1a6e20=_0x1f1c[_0x41ed99];return _0x1a6e20;};import{Plugin as _0x4a959d}from'ckeditor5/src/core';import _0x16b129 from'./table';export default class vt extends _0x4a959d{static get[_0x1a6e('0x0')](){return[_0x16b129];}[_0x1a6e('0x7')](){const _0x3c5c36=this[_0x1a6e('0x4')];if(!_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x6')]('TableCaptionEditing'))return;_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x2')](_0x1a6e('0x3'))[_0x1a6e('0x1')](_0x1a6e('0x5'));}}
23
+ const _0x50b5=['TrackChangesEditing','has','editor','requires','afterInit','toggleTableCaption','get'];(function(_0x2c32cc,_0x50b517){const _0x350664=function(_0x2b3d71){while(--_0x2b3d71){_0x2c32cc['push'](_0x2c32cc['shift']());}};_0x350664(++_0x50b517);}(_0x50b5,0x11d));const _0x3506=function(_0x2c32cc,_0x50b517){_0x2c32cc=_0x2c32cc-0x0;let _0x350664=_0x50b5[_0x2c32cc];return _0x350664;};import{Plugin as _0x5ed690}from'ckeditor5/src/core';import _0x5ef0fe from'./table';export default class vt extends _0x5ed690{static get[_0x3506('0x5')](){return[_0x5ef0fe];}[_0x3506('0x6')](){const _0xe7c2f9=this[_0x3506('0x4')];if(!_0xe7c2f9['plugins'][_0x3506('0x3')]('TableCaptionEditing'))return;_0xe7c2f9['plugins'][_0x3506('0x1')](_0x3506('0x2'))['enableCommand'](_0x3506('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc2=['fromEntries','remove','rootName','has','conversion','rowInsertionIndexes','length','setAttribute','insertRows','keys','registerDescriptionCallback','ck-suggestion-marker--active','column','createPositionBefore','getSuggestions','ck-suggestion-marker-insertion','ck-suggestion-marker','first','find','subType','getContainedElement','tablePasteColumn','removeRows','editor','oldRange','getRowIndexes','tableCellBackgroundColor','insert','updateMarker','entries','TableClipboard','createRange','getSuggestion','tablePasteCell','row','registerCustomCallback','getSelectionAffectedTableCells','activeMarkers','getChild','getChanges','filter','getChangedMarkers','_suggestionFactory','getRanges','suggestionLoaded','newRange','markerAttributes','getAllAdjacentSuggestions','editingDowncast','low','get','getColumnIndexes','last','return','tablePasteRow','startsWith','suggestion','tableCellSuggestion','registerPostFixer','name','tableCellVerticalAlignment','getColumns','batch','tableCellPadding','nodeAfter','setAttributes','move','reduce','rowInsertionRanges','getChildren','locale','discard','insertionRanges','commands','listenTo','view','element','isEmpty','showSuggestionHighlights','table','push','createTableWalker','redo','endRow','includes','options','cells','removeColumns','type','previousSibling','suggestion-td','suggestion:formatBlock:tablePasteCell','getSuggestionCallback','next','hasSuggestion','_splitMarkerName','getTableIfOnlyTableInContent','paragraph','position','model','insertion','tablePasteChainId','afterInit','accept','_getCoordsForCells','document','columnInsertionRanges','rows','differ','add','removeMarker','previous','$graveyard','_replaceTableSlotCell','containsRange','_descriptionFactory','markMultiRangeBlockFormat','getMarkers','author','columnInsertionIndexes','content','value','isEqual','tableCellBorderStyle','attributes','formatBlock','createRangeIn','plugins','for','endColumn','markMultiRangeInsertion','dataDowncast','Users','findAncestor','getRows','end','from','fill','requires','change','removeMarkers','unwrap','getRange','createElement','map','createRangeOn','deletion','markerName','high','insertContent','markerToHighlight','isInContent','join','tableCellBorderColor','TrackChangesEditing','tablePaste','*Replace\x20table\x20cells*','tableCellBorderWidth'];(function(_0x324532,_0x3cc2ca){const _0x13653c=function(_0x5a06fc){while(--_0x5a06fc){_0x324532['push'](_0x324532['shift']());}};_0x13653c(++_0x3cc2ca);}(_0x3cc2,0x137));const _0x1365=function(_0x324532,_0x3cc2ca){_0x324532=_0x324532-0x0;let _0x13653c=_0x3cc2[_0x324532];return _0x13653c;};import{getTranslation as _0xff3138}from'../utils/common-translations';import{Plugin as _0x250589}from'ckeditor5/src/core';import{uid as _0x561290,priorities as _0x5087fe}from'ckeditor5/src/utils';import _0x18c3c3 from'./table';const le=[_0x1365('0x4'),_0x1365('0x0'),_0x1365('0x80'),'tableCellHorizontalAlignment',_0x1365('0x41'),_0x1365('0x1f'),_0x1365('0x44')],ae=Object[_0x1365('0x5')](le['map'](_0x2345cc=>[_0x2345cc,null]));export default class kt extends _0x250589{static get[_0x1365('0x8f')](){return[_0x18c3c3];}[_0x1365('0x6b')](){const _0x59a4a0=this[_0x1365('0x1c')];if(!_0x59a4a0['plugins'][_0x1365('0x8')](_0x1365('0x23')))return;const _0x361bee=_0x59a4a0['plugins'][_0x1365('0x37')](_0x1365('0x1')),_0x5ae576=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')]('TableUtils'),_0xdca2a5=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x18c3c3),_0x57d776=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x23'));_0xdca2a5['_tablePostFixingSubtypes'][_0x1365('0x55')](_0x1365('0x3b'),_0x1365('0x1a')),_0x59a4a0[_0x1365('0x68')]['schema']['register'](_0x1365('0x3e'),{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x59a4a0[_0x1365('0x9')]['elementToElement']({'model':_0x1365('0x3e'),'view':_0x1365('0x5f')});let _0x597fdf=null;_0x59a4a0[_0x1365('0x68')]['on'](_0x1365('0x9a'),(_0x98f5d,_0x2da0c2)=>{const [_0x74916,_0x5276e]=_0x2da0c2,_0x570937=_0x2da0c2[_0x2da0c2[_0x1365('0xb')]-0x1];_0x570937&&_0x570937['forceDefaultExecution']||_0x361bee['_isForcedDefaultExecutionBlock']||this[_0x1365('0x1c')][_0x1365('0x4e')][_0x1365('0x37')]('trackChanges')[_0x1365('0x7e')]&&function(_0x44f712,_0x18ff7d,_0x1ac745,_0x489e8a,_0x460651){if(_0x18ff7d&&!_0x18ff7d['is']('documentSelection'))return!0x1;const _0x35e0d4=_0x460651[_0x1365('0x65')](_0x44f712,_0x1ac745);if(!_0x35e0d4||!fe(_0x35e0d4,void 0x0,_0x489e8a))return!0x1;const _0x4815c3=_0x489e8a[_0x1365('0x29')](_0x1ac745[_0x1365('0x6e')]['selection']);if(!_0x4815c3[_0x1365('0xb')])return!0x1;const _0x265c33=_0x4815c3[0x0][_0x1365('0x8a')](_0x1365('0x54')),_0x458db9=_0x489e8a[_0x1365('0x1e')](_0x4815c3),_0x304cf7=_0x489e8a[_0x1365('0x38')](_0x4815c3),_0x44e986={'startRow':_0x458db9['first'],'endRow':_0x458db9[_0x1365('0x39')],'startColumn':_0x304cf7[_0x1365('0x16')],'endColumn':_0x304cf7['last']};return 0x1==_0x4815c3[_0x1365('0xb')]&&(_0x44e986[_0x1365('0x58')]+=_0x489e8a[_0x1365('0x8b')](_0x35e0d4)-0x1,_0x44e986[_0x1365('0x86')]+=_0x489e8a[_0x1365('0x42')](_0x35e0d4)-0x1),fe(_0x265c33,_0x44e986,_0x489e8a);}(_0x74916,_0x5276e,_0x59a4a0[_0x1365('0x68')],_0x5ae576,_0x57d776)&&(_0x98f5d['stop'](),_0x597fdf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x59a4a0[_0x1365('0x68')]['change'](()=>{_0x59a4a0[_0x1365('0x68')]['insertContent'](_0x2da0c2[0x0],_0x2da0c2[0x1],_0x2da0c2[0x2],{'forceDefaultExecution':!0x0});const _0x117450=_0x561290(),{rowInsertionRanges:_0x41783e,columnInsertionRanges:_0x498b00,insertionRanges:_0x11c5ce,deletionRanges:_0x4135cf,cells:_0x57a6de}=_0x597fdf;_0x41783e[_0x1365('0xb')]&&_0x361bee[_0x1365('0x87')](_0x41783e,_0x1365('0x3b'),{'tablePasteChainId':_0x117450}),_0x498b00['length']&&_0x361bee['markMultiRangeInsertion'](_0x498b00,_0x1365('0x1a'),{'tablePasteChainId':_0x117450}),_0x11c5ce[_0x1365('0xb')]&&_0x361bee[_0x1365('0x87')](_0x11c5ce,_0x1365('0x2'),{'tablePasteChainId':_0x117450,'skipNestingCheck':!0x0}),_0x4135cf[_0x1365('0xb')]&&_0x361bee['markMultiRangeDeletion'](_0x4135cf,_0x1365('0x2'),{'tablePasteChainId':_0x117450,'skipNestingCheck':!0x0});const _0x26ec35=_0x361bee[_0x1365('0x79')](_0x57a6de['map'](({element:_0x484432})=>_0x484432),{'formatGroupId':_0x561290()},[],_0x1365('0x26'),{'tablePasteChainId':_0x117450});if(_0x26ec35){const _0x3bc281=_0x26ec35['getMarkers'](),_0x24b48a=[];for(const {element:_0x3e7a12,attributes:_0x1f7a9f}of _0x57a6de){if(!_0x1f7a9f)continue;const _0x35fe82=_0x59a4a0[_0x1365('0x68')][_0x1365('0x96')](_0x3e7a12),_0x15e4ee=_0x3bc281[_0x1365('0x17')](_0x2786b7=>_0x2786b7[_0x1365('0x93')]()[_0x1365('0x7f')](_0x35fe82));_0x15e4ee&&_0x24b48a['push']([_0x15e4ee['name'],_0x1f7a9f]);}_0x24b48a[_0x1365('0xb')]&&_0x26ec35[_0x1365('0xc')](_0x1365('0x33'),Object['fromEntries'](_0x24b48a));}_0x597fdf=null;}));},{'priority':_0x5087fe[_0x1365('0x99')]+0xa}),_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x23'))['on'](_0x1365('0x76'),(_0x1ab9e9,_0x3f7e34)=>{const [_0x4966ba,_0x42158e,,_0x522988]=_0x3f7e34;if(!_0x597fdf)return;_0x1ab9e9['stop']();const _0x5c1264=_0x4966ba['cell'],_0x4848f5=_0x42158e,_0x211a0d=ce(_0x5c1264),_0xbdd6b6=ce(_0x4848f5);_0x1ab9e9[_0x1365('0x3a')]=_0x5c1264;let _0x47c1ef=null,_0x33d9fc=null;if(_0xbdd6b6||_0x211a0d){if(_0x211a0d&&!_0xbdd6b6){_0x522988['remove'](_0x5c1264['getChild'](0x0));for(const _0xfbf93a of Array[_0x1365('0x8d')](_0x4848f5[_0x1365('0x4a')]()))_0x522988[_0x1365('0x20')](_0xfbf93a,_0x5c1264,_0x1365('0x8c'));const _0x1bf524=_0x597fdf[_0x1365('0xa')][_0x1365('0x59')](_0x4966ba[_0x1365('0x27')]),_0x5c87cd=_0x597fdf[_0x1365('0x7c')][_0x1365('0x59')](_0x4966ba[_0x1365('0x11')]);_0x1bf524||_0x5c87cd||(_0x47c1ef=_0x522988[_0x1365('0x83')](_0x5c1264));}else _0xbdd6b6&&!_0x211a0d&&(_0x33d9fc=_0x522988[_0x1365('0x83')](_0x5c1264));}else{const _0x2ff716=_0x522988[_0x1365('0x94')](_0x1365('0x3e')),_0x511baa=_0x522988[_0x1365('0x94')]('tableCellSuggestion');_0x522988['wrap'](_0x522988['createRangeIn'](_0x5c1264),_0x511baa),_0x522988['insert'](_0x2ff716,_0x5c1264,0x0);for(const _0x2148d5 of Array['from'](_0x4848f5[_0x1365('0x4a')]()))_0x522988[_0x1365('0x20')](_0x2148d5,_0x2ff716,_0x1365('0x8c'));_0x47c1ef=_0x522988[_0x1365('0x96')](_0x2ff716),_0x33d9fc=_0x522988[_0x1365('0x96')](_0x511baa);}const _0x541554=Array[_0x1365('0x8d')](_0x4848f5['getAttributes']())['filter'](([_0x4cd2b5])=>le['includes'](_0x4cd2b5));_0x597fdf[_0x1365('0x5b')][_0x1365('0x55')]({'element':_0x5c1264,'attributes':_0x541554[_0x1365('0xb')]?Object[_0x1365('0x5')](_0x541554):null}),_0x47c1ef&&_0x597fdf[_0x1365('0x4d')][_0x1365('0x55')](_0x47c1ef),_0x33d9fc&&_0x597fdf['deletionRanges'][_0x1365('0x55')](_0x33d9fc);},{'priority':_0x1365('0x99')}),_0x5ae576['on']('insertColumns',(_0x36dab4,_0x47a34b)=>{const [_0x58ffdd,_0x381c54={}]=_0x47a34b;if(!_0x597fdf)return;const _0x4c29e4=_0x381c54['at']||0x0,_0x42b612=_0x381c54['columns']||0x1;_0x597fdf[_0x1365('0x7c')]=new Array(_0x42b612)[_0x1365('0x8e')](_0x4c29e4)[_0x1365('0x95')]((_0x2bf13a,_0x29cf82)=>_0x2bf13a+_0x29cf82);for(const {cell:_0x37f72c}of _0x5ae576[_0x1365('0x56')](_0x58ffdd,{'startColumn':_0x4c29e4,'endColumn':_0x4c29e4+_0x42b612-0x1}))_0x597fdf[_0x1365('0x6f')][_0x1365('0x55')](_0x59a4a0['model'][_0x1365('0x96')](_0x37f72c));},{'priority':'low'}),_0x5ae576['on'](_0x1365('0xd'),(_0x386fc2,_0xf38f1e)=>{const [_0x5f3733,_0x33c96a={}]=_0xf38f1e;if(!_0x597fdf)return;const _0x5be5d2=_0x33c96a['at']||0x0,_0x53153f=_0x33c96a[_0x1365('0x70')]||0x1;_0x597fdf[_0x1365('0xa')]=new Array(_0x53153f)[_0x1365('0x8e')](_0x5be5d2)['map']((_0x5c66b2,_0x4b3e6b)=>_0x5c66b2+_0x4b3e6b);for(const {cell:_0x273911}of _0x5ae576['createTableWalker'](_0x5f3733,{'startRow':_0x5be5d2,'endRow':_0x5be5d2+_0x53153f-0x1}))_0x597fdf[_0x1365('0x49')][_0x1365('0x55')](_0x59a4a0['model'][_0x1365('0x96')](_0x273911));},{'priority':_0x1365('0x36')}),_0x361bee[_0x1365('0x78')][_0x1365('0xf')](_0x2775a8=>{if(_0x2775a8[_0x1365('0x18')]&&_0x2775a8[_0x1365('0x18')][_0x1365('0x3c')](_0x1365('0x2')))return _0x2775a8[_0x1365('0x74')]?{}:{'type':_0x1365('0x69'),'content':_0xff3138(_0x59a4a0[_0x1365('0x4b')],_0x1365('0x3'))};});const _0x2059db=()=>!0x1;for(const _0x4b44ef of[_0x1365('0x2'),_0x1365('0x1a'),_0x1365('0x3b'),_0x1365('0x26')])_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x69'),_0x4b44ef,'join',_0x2059db),_0x361bee['_suggestionFactory'][_0x1365('0x28')](_0x1365('0x97'),_0x4b44ef,_0x1365('0x9d'),_0x2059db),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x82'),_0x4b44ef,_0x1365('0x9d'),_0x2059db);_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x82'),_0x1365('0x26'),'discard',_0x2059db),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x82'),_0x1365('0x26'),_0x1365('0x6c'),(_0x40dc49,_0x5e00a6,_0x1a0769)=>{const _0x538ee5=_0x40dc49[_0x1365('0x95')](_0x1c8b48=>_0x1c8b48[_0x1365('0x19')]())['filter'](_0x34eeac=>_0x34eeac),_0x20875f=new Map(_0x538ee5[_0x1365('0x95')](_0x8c507b=>[_0x8c507b,null]));if(_0x597fdf)for(const {element:_0x143ebf,attributes:_0x297ea8}of _0x597fdf['cells'])_0x297ea8&&_0x20875f['set'](_0x143ebf,_0x297ea8);else{if(_0x1a0769&&_0x1a0769['markerAttributes'])for(const [_0x21318a,_0x1fe36d]of Object[_0x1365('0x22')](_0x1a0769['markerAttributes'])){const _0x5eb9a4=_0x59a4a0['model']['markers'][_0x1365('0x37')](_0x21318a),_0x372f94=_0x5eb9a4?_0x5eb9a4[_0x1365('0x93')]()[_0x1365('0x19')]():null;_0x372f94&&_0x20875f['set'](_0x372f94,_0x1fe36d);}}_0x59a4a0[_0x1365('0x68')][_0x1365('0x90')](_0x2cc1a2=>{for(const [_0x33ba53,_0xb525a0]of _0x20875f)_0x2cc1a2[_0x1365('0x46')]({...ae,..._0xb525a0},_0x33ba53);});});const _0x2c59d5=(_0x487eab,_0x111990)=>{_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x487eab,_0x1365('0x2'),_0x111990,(_0x1f1b5c,_0x3b1c94,_0x8d95cf)=>{_0x59a4a0['model'][_0x1365('0x90')](_0x59a439=>{const _0x1f5a16=[];for(const _0x22747e of _0x1f1b5c){const _0x597b58=_0x22747e['start'][_0x1365('0x45')];_0x597b58['is'](_0x1365('0x51'),'tableCellSuggestion')&&_0x1f5a16[_0x1365('0x55')](_0x597b58);}_0x361bee[_0x1365('0x2f')][_0x1365('0x61')](_0x487eab,null,_0x111990)(_0x1f1b5c,_0x3b1c94,_0x8d95cf);for(const _0x5d4982 of _0x1f5a16)_0x1365('0x75')!=_0x5d4982['root'][_0x1365('0x7')]&&_0x59a439[_0x1365('0x92')](_0x5d4982);});});};_0x2c59d5(_0x1365('0x69'),'accept'),_0x2c59d5('insertion',_0x1365('0x4c')),_0x2c59d5(_0x1365('0x97'),_0x1365('0x6c')),_0x2c59d5(_0x1365('0x97'),'discard'),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x69'),'tablePasteRow',_0x1365('0x4c'),_0x5aa14e=>{const _0x5d809a=_0x5aa14e['map'](_0x45ea93=>_0x45ea93[_0x1365('0x19')]()),_0x8f880c=_0x5d809a[0x0][_0x1365('0x8a')](_0x1365('0x54')),{minRow:_0x16fe29,maxRow:_0xa4b78d}=_0xdca2a5[_0x1365('0x6d')](_0x5d809a);_0x5ae576[_0x1365('0x1b')](_0x8f880c,{'at':_0x16fe29,'rows':_0xa4b78d-_0x16fe29+0x1});}),_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x69'),_0x1365('0x1a'),'discard',_0xed06c0=>{const _0xe43636=_0xed06c0['map'](_0x5132be=>_0x5132be['getContainedElement']()),_0x47607c=_0xe43636[0x0][_0x1365('0x8a')](_0x1365('0x54')),{minColumn:_0x5a9c7f,maxColumn:_0x91620c}=_0xdca2a5[_0x1365('0x6d')](_0xe43636);_0x5ae576[_0x1365('0x5c')](_0x47607c,{'at':_0x5a9c7f,'columns':_0x91620c-_0x5a9c7f+0x1});});const _0x30c394=(_0x2f4d45,_0x18cffd)=>{if(!_0x18cffd[_0x1365('0x18')]||!_0x18cffd[_0x1365('0x18')][_0x1365('0x3c')](_0x1365('0x2')))return;const _0x3cbc43=_0x18cffd[_0x1365('0x81')][_0x1365('0x6a')],_0xd3e1f=_0x361bee['getSuggestions']()[_0x1365('0x2d')](_0x412f40=>_0x412f40[_0x1365('0x9c')]&&_0x412f40[_0x1365('0x81')]&&_0x412f40[_0x1365('0x81')][_0x1365('0x6a')]==_0x3cbc43);_0xd3e1f[_0x1365('0xb')]&&_0x18cffd[_0x1365('0x34')]()[_0x1365('0xb')]!=_0xd3e1f['length']&&_0xd3e1f[_0x1365('0x48')]((_0x27a6cb,_0x5696d9)=>(_0x27a6cb[_0x1365('0x62')]=_0x5696d9,_0x5696d9[_0x1365('0x74')]=_0x27a6cb,_0x5696d9));};function _0x235b13(_0x482358,_0x368099=!0x0){const {id:_0x5dd4b8}=_0x361bee['_splitMarkerName'](_0x482358[_0x1365('0x98')]),_0x3adafa=[_0x1365('0x15'),_0x1365('0x14')],_0x4be7fb=_0x361bee[_0x1365('0x2a')][_0x1365('0x59')](_0x482358['markerName']);return _0x4be7fb&&_0x3adafa['push'](_0x1365('0x10')),{'classes':_0x3adafa,'attributes':{'data-suggestion':_0x5dd4b8},'priority':_0x4be7fb&&_0x368099?0xbc2:0xbb8};}_0x361bee['on'](_0x1365('0x31'),_0x30c394,{'priority':_0x1365('0x99')}),_0x361bee['on']('suggestionUnloaded',_0x30c394,{'priority':_0x1365('0x99')}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](()=>{let _0x34256e=!0x1;const _0x4c676e=Array['from'](_0x59a4a0[_0x1365('0x68')]['document']['differ']['getChangedMarkers']());for(const {name:_0x373cda,data:_0x2f280f}of _0x4c676e){const {group:_0x58cbf0,type:_0x33f1f0,id:_0xf93da8}=_0x361bee[_0x1365('0x64')](_0x373cda);if(_0x1365('0x3d')!=_0x58cbf0||_0x1365('0x97')!=_0x33f1f0||_0x2f280f['oldRange'])continue;if(!_0x361bee[_0x1365('0x63')](_0xf93da8))continue;const _0x317988=_0x361bee[_0x1365('0x25')](_0xf93da8)[_0x1365('0x30')](),_0x5c6ff4=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'];for(const _0x2330d0 of _0x361bee[_0x1365('0x13')]()){if(!_0x2330d0[_0x1365('0x9c')]||_0x2330d0[_0x1365('0x7b')]!=_0x5c6ff4)continue;if(_0x1365('0x82')!=_0x2330d0[_0x1365('0x5d')]||'tablePasteCell'!=_0x2330d0[_0x1365('0x18')])continue;if(_0x2330d0['getRanges']()['every'](_0x31f1e9=>_0x317988['some'](_0x2d888c=>_0x2d888c[_0x1365('0x77')](_0x31f1e9,!0x0))))for(const _0x547bb6 of _0x2330d0[_0x1365('0x34')]())_0x547bb6[_0x1365('0x9c')]&&(_0x547bb6[_0x1365('0x4c')](),_0x34256e=!0x0);}}return _0x34256e;}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](_0x1be276=>{const _0x4f75ce=_0x59a4a0[_0x1365('0x4e')][_0x1365('0x37')](_0x1365('0x57'));if(!_0x4f75ce||!_0x4f75ce['_createdBatches'][_0x1365('0x8')](_0x1be276[_0x1365('0x43')]))return!0x1;let _0x588432=!0x1;const _0x497f23=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'],_0x409d17=_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')]['differ'][_0x1365('0x2c')](),_0x4456b3=Array[_0x1365('0x8d')](_0x59a4a0[_0x1365('0x68')]['document'][_0x1365('0x71')][_0x1365('0x2e')]())[_0x1365('0x2d')](({name:_0x1696cc,data:_0x218640})=>{const {group:_0x37ce0f,subType:_0x46a428,authorId:_0x6102a3}=_0x361bee['_splitMarkerName'](_0x1696cc);return _0x1365('0x3d')==_0x37ce0f&&_0x1365('0x2')==_0x46a428&&_0x6102a3==_0x497f23['id']&&!_0x218640[_0x1365('0x1d')];});for(const _0x5784fe of _0x409d17){if(_0x1365('0x20')!=_0x5784fe[_0x1365('0x5d')]||_0x1365('0x3e')!=_0x5784fe[_0x1365('0x40')]||0x1!=_0x5784fe[_0x1365('0xb')])continue;const _0x169568=_0x1be276[_0x1365('0x24')](_0x5784fe[_0x1365('0x67')],_0x5784fe[_0x1365('0x67')]['getShiftedBy'](0x1));if(!_0x4456b3[_0x1365('0x17')](({data:_0x1c765b})=>_0x1c765b[_0x1365('0x32')][_0x1365('0x7f')](_0x169568)))for(const {name:_0x73985d,data:_0x5aa923}of _0x4456b3)if(_0x169568[_0x1365('0x77')](_0x5aa923[_0x1365('0x32')])){_0x1be276[_0x1365('0x21')](_0x73985d,{'range':_0x169568}),_0x588432=!0x0;break;}}return _0x588432;}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](_0x4ae308=>{let _0x3129ce=!0x1;const _0x3c854c=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'],_0x40f533=_0x361bee[_0x1365('0x13')]()[_0x1365('0x2d')](_0xf8c6e=>_0xf8c6e[_0x1365('0x9c')]&&_0xf8c6e['author']==_0x3c854c),_0x2ca33c=new Set(),_0x3b877b=new Set();for(const _0x5f0e0c of _0x40f533)if(_0x1365('0x2')==_0x5f0e0c[_0x1365('0x18')])for(const _0xe86487 of _0x5f0e0c[_0x1365('0x7a')]()){const _0x13c6a8=_0xe86487[_0x1365('0x93')]()['getContainedElement']();if(_0x13c6a8){if(_0x13c6a8['is'](_0x1365('0x51'),_0x1365('0x3e'))&&ce(_0x13c6a8)){_0x5f0e0c[_0x1365('0x73')](_0xe86487[_0x1365('0x40')]),_0x2ca33c[_0x1365('0x72')](_0x13c6a8),_0x3129ce=!0x0;const _0x29f8b1=_0x13c6a8['nextSibling'],_0x40e702=_0x13c6a8[_0x1365('0x5e')],_0x1f67be=_0x29f8b1&&_0x29f8b1['is'](_0x1365('0x51'),_0x1365('0x3e')),_0xc5a352=_0x40e702&&_0x40e702['is'](_0x1365('0x51'),'tableCellSuggestion');_0x1f67be&&!_0x2ca33c[_0x1365('0x8')](_0x29f8b1)&&_0x3b877b['add'](_0x29f8b1),_0xc5a352&&!_0x2ca33c['has'](_0x40e702)&&_0x3b877b[_0x1365('0x72')](_0x40e702);}else _0x13c6a8['is'](_0x1365('0x51'),'paragraph')&&_0x13c6a8[_0x1365('0x52')]&&(_0x5f0e0c[_0x1365('0x73')](_0xe86487[_0x1365('0x40')]),_0x3129ce=!0x0);}}else{if(_0x1365('0x26')==_0x5f0e0c[_0x1365('0x18')]){if(!_0x5f0e0c[_0x1365('0x81')]||!_0x5f0e0c[_0x1365('0x81')][_0x1365('0x6a')])continue;const _0x2ec9aa=_0x5f0e0c['attributes'][_0x1365('0x33')];if(_0x2ec9aa&&Object[_0x1365('0xe')](_0x2ec9aa)[_0x1365('0xb')])continue;const _0x46dfb8=_0x5f0e0c[_0x1365('0x81')][_0x1365('0x6a')];let _0x4c21c9=!0x0,_0x4fc026=!0x0;for(const _0x1ce352 of _0x40f533)if(_0x1ce352[_0x1365('0x18')]&&_0x1ce352[_0x1365('0x18')][_0x1365('0x3c')]('tablePaste')){if(!_0x1ce352[_0x1365('0x81')]['tablePasteChainId']){_0x4fc026=!0x1;break;}if(_0x1ce352['id']!=_0x5f0e0c['id']&&_0x1ce352[_0x1365('0x81')][_0x1365('0x6a')]==_0x46dfb8){_0x4c21c9=!0x1;break;}}_0x4fc026&&_0x4c21c9&&(_0x5f0e0c[_0x1365('0x91')](),_0x3129ce=!0x0);}}for(const _0x28fcbd of _0x2ca33c)_0x4ae308[_0x1365('0x6')](_0x28fcbd);for(const _0x1434b4 of _0x3b877b)_0x4ae308['unwrap'](_0x1434b4);return _0x3129ce;}),_0x59a4a0[_0x1365('0x9')]['for'](_0x1365('0x35'))[_0x1365('0x9b')]({'model':_0x1365('0x60'),'view':(_0x4c04c0,_0x206963)=>_0x235b13(_0x4c04c0),'converterPriority':_0x1365('0x99')}),_0x59a4a0[_0x1365('0x9')][_0x1365('0x85')](_0x1365('0x88'))[_0x1365('0x9b')]({'model':_0x1365('0x60'),'view':(_0x2124f9,_0x312952)=>_0x312952[_0x1365('0x5a')][_0x1365('0x53')]?_0x235b13(_0x2124f9,!0x1):null,'converterPriority':'high'});const _0x56a4ee=_0x59a4a0['editing'][_0x1365('0x50')];this[_0x1365('0x4f')](_0x56a4ee['document'],'clipboardOutput',(_0x3c49a2,_0x358bf2)=>{const _0x4595ce=[];for(const _0x933577 of _0x56a4ee[_0x1365('0x83')](_0x358bf2[_0x1365('0x7d')])['getItems']())_0x933577['is'](_0x1365('0x51'),_0x1365('0x5f'))&&_0x4595ce['push'](_0x933577);_0x56a4ee[_0x1365('0x90')](_0x507fc4=>{for(const _0x54c926 of _0x4595ce)_0x507fc4[_0x1365('0x47')](_0x507fc4[_0x1365('0x83')](_0x54c926),_0x507fc4[_0x1365('0x12')](_0x54c926)),_0x507fc4[_0x1365('0x6')](_0x54c926);});});}}function ce(_0x2e9a08){if(_0x2e9a08[_0x1365('0x52')])return!0x0;const _0x1987bf=_0x2e9a08[_0x1365('0x2b')](0x0);return _0x1987bf['is'](_0x1365('0x51'),_0x1365('0x66'))&&_0x1987bf[_0x1365('0x52')];}function fe(_0x1101cd,_0x440f17={},_0x27f180){for(const {isAnchor:_0x3f0059,cellHeight:_0x2ec29a,cellWidth:_0x288283}of _0x27f180[_0x1365('0x56')](_0x1101cd,{'includeAllSlots':!0x0,..._0x440f17}))if(!_0x3f0059||0x1!=_0x2ec29a||0x1!=_0x288283)return!0x1;return!0x0;}
23
+ const _0x1fe8=['createRange','showSuggestionHighlights','table','getChild','row','dataDowncast','root','insertContent','unwrap','_tablePostFixingSubtypes','forceDefaultExecution','commands','nodeAfter','first','differ','filter','getChangedMarkers','length','_descriptionFactory','getAttributes','getRanges','TableClipboard','last','getColumnIndexes','fromEntries','previous','editingDowncast','getTableIfOnlyTableInContent','author','tableCell','registerCustomCallback','getSuggestion','tablePasteRow','tablePasteColumn','$graveyard','trackChanges','value','Users','map','rootName','endColumn','getAllAdjacentSuggestions','tablePasteChainId','next','_createdBatches','markMultiRangeInsertion','plugins','registerPostFixer','cells','ck-suggestion-marker--active','tableCellHorizontalAlignment','type','editor','suggestion:formatBlock:tablePasteCell','name','getMarkers','deletion','insertion','end','keys','getContainedElement','getRows','batch','find','paragraph','_suggestionFactory','view','isInContent','redo','markMultiRangeDeletion','createRangeIn','content','_getCoordsForCells','getRowIndexes','insert','removeMarkers','_isForcedDefaultExecutionBlock','editing','move','startsWith','stop','set','createPositionBefore','getChildren','ck-suggestion-marker','rows','updateMarker','oldRange','return','low','*Replace\x20table\x20cells*','tablePasteCell','get','createElement','isEmpty','_replaceTableSlotCell','has','markerAttributes','options','for','tableCellSuggestion','suggestion','setAttribute','attributes','registerDescriptionCallback','columnInsertionIndexes','element','cell','subType','markerName','documentSelection','change','remove','join','rowInsertionIndexes','getColumns','position','model','high','insertRows','createTableWalker','TableUtils','suggestionLoaded','selection','findAncestor','tableCellBorderStyle','document','getRange','includes','getChanges','tableCellBorderWidth','tableCellBackgroundColor','push','removeMarker','accept','insertionRanges','endRow','TrackChangesEditing','elementToElement','getSuggestions','rowInsertionRanges','_splitMarkerName','discard','getSelectionAffectedTableCells','formatBlock','add','reduce','from','createRangeOn','tablePaste','markerToHighlight','some','tableCellPadding','every','newRange','previousSibling','fill','conversion','columns','entries','afterInit','isEqual'];(function(_0x55e265,_0x1fe84d){const _0x435ff7=function(_0x8cf407){while(--_0x8cf407){_0x55e265['push'](_0x55e265['shift']());}};_0x435ff7(++_0x1fe84d);}(_0x1fe8,0x1cd));const _0x435f=function(_0x55e265,_0x1fe84d){_0x55e265=_0x55e265-0x0;let _0x435ff7=_0x1fe8[_0x55e265];return _0x435ff7;};import{getTranslation as _0x1bd165}from'../utils/common-translations';import{Plugin as _0xcddf64}from'ckeditor5/src/core';import{uid as _0x440aad,priorities as _0x3a0753}from'ckeditor5/src/utils';import _0x43c387 from'./table';const le=[_0x435f('0x9b'),'tableCellBorderColor',_0x435f('0x96'),_0x435f('0x4b'),'tableCellVerticalAlignment',_0x435f('0x9c'),_0x435f('0xf')],ae=Object[_0x435f('0x31')](le[_0x435f('0x3f')](_0x14789c=>[_0x14789c,null]));export default class kt extends _0xcddf64{static get['requires'](){return[_0x43c387];}[_0x435f('0x17')](){const _0xdb6f27=this['editor'];if(!_0xdb6f27[_0x435f('0x47')]['has'](_0x435f('0x2e')))return;const _0xa387f1=_0xdb6f27[_0x435f('0x47')]['get'](_0x435f('0x0')),_0x109d0e=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x92')),_0x4d90f3=_0xdb6f27[_0x435f('0x47')]['get'](_0x43c387),_0x5ea625=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')]('TableClipboard');_0x4d90f3[_0x435f('0x22')][_0x435f('0x9d')](_0x435f('0x39'),_0x435f('0x3a')),_0xdb6f27[_0x435f('0x8e')]['schema']['register'](_0x435f('0x7d'),{'allowIn':_0x435f('0x36'),'allowContentOf':_0x435f('0x36'),'isLimit':!0x0}),_0xdb6f27['conversion'][_0x435f('0x1')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x1067c9=null;_0xdb6f27[_0x435f('0x8e')]['on'](_0x435f('0x20'),(_0x7960,_0x102870)=>{const [_0x5bc77f,_0x47b010]=_0x102870,_0x10ecdc=_0x102870[_0x102870['length']-0x1];_0x10ecdc&&_0x10ecdc[_0x435f('0x23')]||_0xa387f1[_0x435f('0x65')]||this[_0x435f('0x4d')][_0x435f('0x24')][_0x435f('0x75')](_0x435f('0x3c'))[_0x435f('0x3d')]&&function(_0x3340ef,_0x342ae1,_0x2c73f6,_0x5d4c5a,_0x7c9764){if(_0x342ae1&&!_0x342ae1['is'](_0x435f('0x87')))return!0x1;const _0x484d15=_0x7c9764[_0x435f('0x34')](_0x3340ef,_0x2c73f6);if(!_0x484d15||!fe(_0x484d15,void 0x0,_0x5d4c5a))return!0x1;const _0x533ba6=_0x5d4c5a[_0x435f('0x6')](_0x2c73f6[_0x435f('0x97')][_0x435f('0x94')]);if(!_0x533ba6['length'])return!0x1;const _0x33ac0d=_0x533ba6[0x0][_0x435f('0x95')](_0x435f('0x1b')),_0x1bb137=_0x5d4c5a[_0x435f('0x62')](_0x533ba6),_0x111d94=_0x5d4c5a[_0x435f('0x30')](_0x533ba6),_0x39bed7={'startRow':_0x1bb137[_0x435f('0x26')],'endRow':_0x1bb137['last'],'startColumn':_0x111d94['first'],'endColumn':_0x111d94[_0x435f('0x2f')]};return 0x1==_0x533ba6[_0x435f('0x2a')]&&(_0x39bed7[_0x435f('0xa1')]+=_0x5d4c5a[_0x435f('0x56')](_0x484d15)-0x1,_0x39bed7[_0x435f('0x41')]+=_0x5d4c5a[_0x435f('0x8c')](_0x484d15)-0x1),fe(_0x33ac0d,_0x39bed7,_0x5d4c5a);}(_0x5bc77f,_0x47b010,_0xdb6f27['model'],_0x109d0e,_0x5ea625)&&(_0x7960[_0x435f('0x69')](),_0x1067c9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xdb6f27[_0x435f('0x8e')]['change'](()=>{_0xdb6f27[_0x435f('0x8e')][_0x435f('0x20')](_0x102870[0x0],_0x102870[0x1],_0x102870[0x2],{'forceDefaultExecution':!0x0});const _0x1beb1d=_0x440aad(),{rowInsertionRanges:_0x3df75c,columnInsertionRanges:_0x2d3f43,insertionRanges:_0x1320e7,deletionRanges:_0x351bc9,cells:_0x1b18e9}=_0x1067c9;_0x3df75c['length']&&_0xa387f1[_0x435f('0x46')](_0x3df75c,'tablePasteRow',{'tablePasteChainId':_0x1beb1d}),_0x2d3f43[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x46')](_0x2d3f43,_0x435f('0x3a'),{'tablePasteChainId':_0x1beb1d}),_0x1320e7[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x46')](_0x1320e7,_0x435f('0xc'),{'tablePasteChainId':_0x1beb1d,'skipNestingCheck':!0x0}),_0x351bc9[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x5e')](_0x351bc9,_0x435f('0xc'),{'tablePasteChainId':_0x1beb1d,'skipNestingCheck':!0x0});const _0x5e95af=_0xa387f1['markMultiRangeBlockFormat'](_0x1b18e9[_0x435f('0x3f')](({element:_0x3518cc})=>_0x3518cc),{'formatGroupId':_0x440aad()},[],_0x435f('0x74'),{'tablePasteChainId':_0x1beb1d});if(_0x5e95af){const _0x8eab65=_0x5e95af[_0x435f('0x50')](),_0x2b77e0=[];for(const {element:_0x42bf81,attributes:_0x2f2d2f}of _0x1b18e9){if(!_0x2f2d2f)continue;const _0x32eb17=_0xdb6f27['model']['createRangeOn'](_0x42bf81),_0x3c5a75=_0x8eab65[_0x435f('0x58')](_0x38fd70=>_0x38fd70[_0x435f('0x98')]()['isEqual'](_0x32eb17));_0x3c5a75&&_0x2b77e0[_0x435f('0x9d')]([_0x3c5a75[_0x435f('0x4f')],_0x2f2d2f]);}_0x2b77e0[_0x435f('0x2a')]&&_0x5e95af[_0x435f('0x7f')]('markerAttributes',Object[_0x435f('0x31')](_0x2b77e0));}_0x1067c9=null;}));},{'priority':_0x3a0753['high']+0xa}),_0xdb6f27['plugins'][_0x435f('0x75')]('TableClipboard')['on'](_0x435f('0x78'),(_0x5f54c0,_0x32430a)=>{const [_0x16606e,_0xc8f9e2,,_0x3fecbe]=_0x32430a;if(!_0x1067c9)return;_0x5f54c0['stop']();const _0x3a7606=_0x16606e[_0x435f('0x84')],_0x3d18e0=_0xc8f9e2,_0x555d4f=ce(_0x3a7606),_0x46c961=ce(_0x3d18e0);_0x5f54c0[_0x435f('0x71')]=_0x3a7606;let _0x1545f6=null,_0x174fa0=null;if(_0x46c961||_0x555d4f){if(_0x555d4f&&!_0x46c961){_0x3fecbe[_0x435f('0x89')](_0x3a7606[_0x435f('0x1c')](0x0));for(const _0x5e5abd of Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x6c')]()))_0x3fecbe['insert'](_0x5e5abd,_0x3a7606,_0x435f('0x53'));const _0x21ce06=_0x1067c9[_0x435f('0x8b')][_0x435f('0x99')](_0x16606e[_0x435f('0x1d')]),_0x381e04=_0x1067c9['columnInsertionIndexes'][_0x435f('0x99')](_0x16606e['column']);_0x21ce06||_0x381e04||(_0x1545f6=_0x3fecbe[_0x435f('0x5f')](_0x3a7606));}else _0x46c961&&!_0x555d4f&&(_0x174fa0=_0x3fecbe[_0x435f('0x5f')](_0x3a7606));}else{const _0x50fd5c=_0x3fecbe[_0x435f('0x76')](_0x435f('0x7d')),_0x500d0e=_0x3fecbe[_0x435f('0x76')](_0x435f('0x7d'));_0x3fecbe['wrap'](_0x3fecbe[_0x435f('0x5f')](_0x3a7606),_0x500d0e),_0x3fecbe['insert'](_0x50fd5c,_0x3a7606,0x0);for(const _0x570ec6 of Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x6c')]()))_0x3fecbe[_0x435f('0x63')](_0x570ec6,_0x50fd5c,'end');_0x1545f6=_0x3fecbe[_0x435f('0xb')](_0x50fd5c),_0x174fa0=_0x3fecbe[_0x435f('0xb')](_0x500d0e);}const _0xe72c49=Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x2c')]())[_0x435f('0x28')](([_0x384e6d])=>le['includes'](_0x384e6d));_0x1067c9['cells'][_0x435f('0x9d')]({'element':_0x3a7606,'attributes':_0xe72c49[_0x435f('0x2a')]?Object[_0x435f('0x31')](_0xe72c49):null}),_0x1545f6&&_0x1067c9[_0x435f('0xa0')][_0x435f('0x9d')](_0x1545f6),_0x174fa0&&_0x1067c9['deletionRanges'][_0x435f('0x9d')](_0x174fa0);},{'priority':_0x435f('0x8f')}),_0x109d0e['on']('insertColumns',(_0x29c98e,_0x7abaf1)=>{const [_0xc93982,_0x2a3097={}]=_0x7abaf1;if(!_0x1067c9)return;const _0x205537=_0x2a3097['at']||0x0,_0x35ded4=_0x2a3097[_0x435f('0x15')]||0x1;_0x1067c9[_0x435f('0x82')]=new Array(_0x35ded4)[_0x435f('0x13')](_0x205537)['map']((_0x5ea651,_0x1b63a3)=>_0x5ea651+_0x1b63a3);for(const {cell:_0x35e7b6}of _0x109d0e[_0x435f('0x91')](_0xc93982,{'startColumn':_0x205537,'endColumn':_0x205537+_0x35ded4-0x1}))_0x1067c9['columnInsertionRanges'][_0x435f('0x9d')](_0xdb6f27['model'][_0x435f('0xb')](_0x35e7b6));},{'priority':_0x435f('0x72')}),_0x109d0e['on'](_0x435f('0x90'),(_0x184354,_0x29ec7e)=>{const [_0x3cf695,_0x232e5d={}]=_0x29ec7e;if(!_0x1067c9)return;const _0x159736=_0x232e5d['at']||0x0,_0x421717=_0x232e5d[_0x435f('0x6e')]||0x1;_0x1067c9[_0x435f('0x8b')]=new Array(_0x421717)['fill'](_0x159736)[_0x435f('0x3f')]((_0x17e1f3,_0x596332)=>_0x17e1f3+_0x596332);for(const {cell:_0x44f6de}of _0x109d0e[_0x435f('0x91')](_0x3cf695,{'startRow':_0x159736,'endRow':_0x159736+_0x421717-0x1}))_0x1067c9[_0x435f('0x3')][_0x435f('0x9d')](_0xdb6f27[_0x435f('0x8e')]['createRangeOn'](_0x44f6de));},{'priority':_0x435f('0x72')}),_0xa387f1[_0x435f('0x2b')][_0x435f('0x81')](_0x7beb55=>{if(_0x7beb55[_0x435f('0x85')]&&_0x7beb55[_0x435f('0x85')][_0x435f('0x68')](_0x435f('0xc')))return _0x7beb55[_0x435f('0x32')]?{}:{'type':_0x435f('0x52'),'content':_0x1bd165(_0xdb6f27['locale'],_0x435f('0x73'))};});const _0x13e269=()=>!0x1;for(const _0x2b9a12 of[_0x435f('0xc'),_0x435f('0x3a'),'tablePasteRow','tablePasteCell'])_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x52'),_0x2b9a12,_0x435f('0x8a'),_0x13e269),_0xa387f1['_suggestionFactory'][_0x435f('0x37')](_0x435f('0x51'),_0x2b9a12,_0x435f('0x8a'),_0x13e269),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x7'),_0x2b9a12,_0x435f('0x8a'),_0x13e269);_0xa387f1['_suggestionFactory']['registerCustomCallback'](_0x435f('0x7'),_0x435f('0x74'),_0x435f('0x5'),_0x13e269),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')]('formatBlock',_0x435f('0x74'),_0x435f('0x9f'),(_0x1d4cf5,_0x1adfaf,_0x50d098)=>{const _0x3fe494=_0x1d4cf5[_0x435f('0x3f')](_0x371092=>_0x371092[_0x435f('0x55')]())[_0x435f('0x28')](_0x5a65f8=>_0x5a65f8),_0x2fad3f=new Map(_0x3fe494[_0x435f('0x3f')](_0x10ab23=>[_0x10ab23,null]));if(_0x1067c9)for(const {element:_0x3b8eb1,attributes:_0x139ece}of _0x1067c9[_0x435f('0x49')])_0x139ece&&_0x2fad3f['set'](_0x3b8eb1,_0x139ece);else{if(_0x50d098&&_0x50d098[_0x435f('0x7a')])for(const [_0x39c1f1,_0xb21342]of Object[_0x435f('0x16')](_0x50d098['markerAttributes'])){const _0x1b2795=_0xdb6f27[_0x435f('0x8e')]['markers'][_0x435f('0x75')](_0x39c1f1),_0x3fd229=_0x1b2795?_0x1b2795[_0x435f('0x98')]()['getContainedElement']():null;_0x3fd229&&_0x2fad3f[_0x435f('0x6a')](_0x3fd229,_0xb21342);}}_0xdb6f27[_0x435f('0x8e')][_0x435f('0x88')](_0xd60ae=>{for(const [_0x55b8fb,_0xaeab13]of _0x2fad3f)_0xd60ae['setAttributes']({...ae,..._0xaeab13},_0x55b8fb);});});const _0xd64e8f=(_0x26d048,_0x14adbf)=>{_0xa387f1[_0x435f('0x5a')]['registerCustomCallback'](_0x26d048,_0x435f('0xc'),_0x14adbf,(_0x170543,_0x218c86,_0x24f32d)=>{_0xdb6f27[_0x435f('0x8e')][_0x435f('0x88')](_0x467b31=>{const _0x3a0cfa=[];for(const _0x35bf5b of _0x170543){const _0xb5d955=_0x35bf5b['start'][_0x435f('0x25')];_0xb5d955['is'](_0x435f('0x83'),_0x435f('0x7d'))&&_0x3a0cfa['push'](_0xb5d955);}_0xa387f1[_0x435f('0x5a')]['getSuggestionCallback'](_0x26d048,null,_0x14adbf)(_0x170543,_0x218c86,_0x24f32d);for(const _0x8721cb of _0x3a0cfa)_0x435f('0x3b')!=_0x8721cb[_0x435f('0x1f')][_0x435f('0x40')]&&_0x467b31[_0x435f('0x21')](_0x8721cb);});});};_0xd64e8f(_0x435f('0x52'),_0x435f('0x9f')),_0xd64e8f('insertion',_0x435f('0x5')),_0xd64e8f(_0x435f('0x51'),_0x435f('0x9f')),_0xd64e8f(_0x435f('0x51'),_0x435f('0x5')),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x52'),_0x435f('0x39'),_0x435f('0x5'),_0x5b7245=>{const _0x245379=_0x5b7245[_0x435f('0x3f')](_0x3d292e=>_0x3d292e[_0x435f('0x55')]()),_0x41e1e8=_0x245379[0x0][_0x435f('0x95')]('table'),{minRow:_0x191c0b,maxRow:_0x431736}=_0x4d90f3[_0x435f('0x61')](_0x245379);_0x109d0e['removeRows'](_0x41e1e8,{'at':_0x191c0b,'rows':_0x431736-_0x191c0b+0x1});}),_0xa387f1[_0x435f('0x5a')]['registerCustomCallback'](_0x435f('0x52'),_0x435f('0x3a'),_0x435f('0x5'),_0x323ad3=>{const _0x33f9f5=_0x323ad3['map'](_0x424377=>_0x424377['getContainedElement']()),_0x13e7fe=_0x33f9f5[0x0][_0x435f('0x95')]('table'),{minColumn:_0x4f1f6e,maxColumn:_0x59e7c0}=_0x4d90f3[_0x435f('0x61')](_0x33f9f5);_0x109d0e['removeColumns'](_0x13e7fe,{'at':_0x4f1f6e,'columns':_0x59e7c0-_0x4f1f6e+0x1});});const _0x7a65a3=(_0x5630d9,_0x3a624d)=>{if(!_0x3a624d['subType']||!_0x3a624d['subType'][_0x435f('0x68')](_0x435f('0xc')))return;const _0x4b221e=_0x3a624d[_0x435f('0x80')][_0x435f('0x43')],_0x564287=_0xa387f1[_0x435f('0x2')]()[_0x435f('0x28')](_0x5c5491=>_0x5c5491[_0x435f('0x5c')]&&_0x5c5491['attributes']&&_0x5c5491[_0x435f('0x80')][_0x435f('0x43')]==_0x4b221e);_0x564287[_0x435f('0x2a')]&&_0x3a624d[_0x435f('0x42')]()[_0x435f('0x2a')]!=_0x564287[_0x435f('0x2a')]&&_0x564287[_0x435f('0x9')]((_0x427cbf,_0x3721c7)=>(_0x427cbf[_0x435f('0x44')]=_0x3721c7,_0x3721c7[_0x435f('0x32')]=_0x427cbf,_0x3721c7));};function _0x28c3a0(_0x392fce,_0x441812=!0x0){const {id:_0x32e2ad}=_0xa387f1[_0x435f('0x4')](_0x392fce[_0x435f('0x86')]),_0x44fa56=[_0x435f('0x6d'),'ck-suggestion-marker-insertion'],_0x3491ba=_0xa387f1['activeMarkers'][_0x435f('0x99')](_0x392fce[_0x435f('0x86')]);return _0x3491ba&&_0x44fa56['push'](_0x435f('0x4a')),{'classes':_0x44fa56,'attributes':{'data-suggestion':_0x32e2ad},'priority':_0x3491ba&&_0x441812?0xbc2:0xbb8};}_0xa387f1['on'](_0x435f('0x93'),_0x7a65a3,{'priority':_0x435f('0x8f')}),_0xa387f1['on']('suggestionUnloaded',_0x7a65a3,{'priority':_0x435f('0x8f')}),_0xdb6f27[_0x435f('0x8e')]['document'][_0x435f('0x48')](()=>{let _0x39aa2b=!0x1;const _0x5e1284=Array['from'](_0xdb6f27[_0x435f('0x8e')]['document'][_0x435f('0x27')][_0x435f('0x29')]());for(const {name:_0x2c0bf4,data:_0x454f3d}of _0x5e1284){const {group:_0x45ce43,type:_0x4b0556,id:_0x5461bf}=_0xa387f1[_0x435f('0x4')](_0x2c0bf4);if(_0x435f('0x7e')!=_0x45ce43||'deletion'!=_0x4b0556||_0x454f3d[_0x435f('0x70')])continue;if(!_0xa387f1['hasSuggestion'](_0x5461bf))continue;const _0x5313e3=_0xa387f1[_0x435f('0x38')](_0x5461bf)[_0x435f('0x2d')](),_0x78917d=_0xdb6f27['plugins'][_0x435f('0x75')](_0x435f('0x3e'))['me'];for(const _0x265670 of _0xa387f1[_0x435f('0x2')]()){if(!_0x265670[_0x435f('0x5c')]||_0x265670[_0x435f('0x35')]!=_0x78917d)continue;if('formatBlock'!=_0x265670[_0x435f('0x4c')]||_0x435f('0x74')!=_0x265670['subType'])continue;if(_0x265670['getRanges']()[_0x435f('0x10')](_0x4f0798=>_0x5313e3[_0x435f('0xe')](_0x14bbad=>_0x14bbad['containsRange'](_0x4f0798,!0x0))))for(const _0x55e874 of _0x265670[_0x435f('0x42')]())_0x55e874[_0x435f('0x5c')]&&(_0x55e874[_0x435f('0x5')](),_0x39aa2b=!0x0);}}return _0x39aa2b;}),_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')]['registerPostFixer'](_0x452d0a=>{const _0x2de8b3=_0xdb6f27[_0x435f('0x24')][_0x435f('0x75')](_0x435f('0x5d'));if(!_0x2de8b3||!_0x2de8b3[_0x435f('0x45')][_0x435f('0x79')](_0x452d0a[_0x435f('0x57')]))return!0x1;let _0x5d9768=!0x1;const _0x1ef2b0=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x3e'))['me'],_0x4426d3=_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')][_0x435f('0x27')][_0x435f('0x9a')](),_0x33bbf9=Array['from'](_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')][_0x435f('0x27')][_0x435f('0x29')]())[_0x435f('0x28')](({name:_0x83e9a5,data:_0x45e9f5})=>{const {group:_0xf05f1e,subType:_0x347097,authorId:_0x5bd9b4}=_0xa387f1[_0x435f('0x4')](_0x83e9a5);return _0x435f('0x7e')==_0xf05f1e&&_0x435f('0xc')==_0x347097&&_0x5bd9b4==_0x1ef2b0['id']&&!_0x45e9f5[_0x435f('0x70')];});for(const _0x32d6f0 of _0x4426d3){if('insert'!=_0x32d6f0[_0x435f('0x4c')]||_0x435f('0x7d')!=_0x32d6f0[_0x435f('0x4f')]||0x1!=_0x32d6f0['length'])continue;const _0x42bc62=_0x452d0a[_0x435f('0x19')](_0x32d6f0[_0x435f('0x8d')],_0x32d6f0[_0x435f('0x8d')]['getShiftedBy'](0x1));if(!_0x33bbf9[_0x435f('0x58')](({data:_0x3c597c})=>_0x3c597c['newRange'][_0x435f('0x18')](_0x42bc62)))for(const {name:_0x465a1e,data:_0x52c718}of _0x33bbf9)if(_0x42bc62['containsRange'](_0x52c718[_0x435f('0x11')])){_0x452d0a[_0x435f('0x6f')](_0x465a1e,{'range':_0x42bc62}),_0x5d9768=!0x0;break;}}return _0x5d9768;}),_0xdb6f27['model'][_0x435f('0x97')][_0x435f('0x48')](_0x1937a4=>{let _0x4e6400=!0x1;const _0x2cd515=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x3e'))['me'],_0x30bb96=_0xa387f1[_0x435f('0x2')]()[_0x435f('0x28')](_0x54c5c4=>_0x54c5c4[_0x435f('0x5c')]&&_0x54c5c4['author']==_0x2cd515),_0x2ead19=new Set(),_0x5d4452=new Set();for(const _0x2914ec of _0x30bb96)if(_0x435f('0xc')==_0x2914ec[_0x435f('0x85')])for(const _0x22fdbd of _0x2914ec[_0x435f('0x50')]()){const _0x20ba8d=_0x22fdbd[_0x435f('0x98')]()['getContainedElement']();if(_0x20ba8d){if(_0x20ba8d['is'](_0x435f('0x83'),_0x435f('0x7d'))&&ce(_0x20ba8d)){_0x2914ec[_0x435f('0x9e')](_0x22fdbd['name']),_0x2ead19[_0x435f('0x8')](_0x20ba8d),_0x4e6400=!0x0;const _0x34e86d=_0x20ba8d['nextSibling'],_0x56f90f=_0x20ba8d[_0x435f('0x12')],_0x197754=_0x34e86d&&_0x34e86d['is'](_0x435f('0x83'),'tableCellSuggestion'),_0x47d134=_0x56f90f&&_0x56f90f['is'](_0x435f('0x83'),_0x435f('0x7d'));_0x197754&&!_0x2ead19[_0x435f('0x79')](_0x34e86d)&&_0x5d4452[_0x435f('0x8')](_0x34e86d),_0x47d134&&!_0x2ead19[_0x435f('0x79')](_0x56f90f)&&_0x5d4452[_0x435f('0x8')](_0x56f90f);}else _0x20ba8d['is']('element',_0x435f('0x59'))&&_0x20ba8d[_0x435f('0x77')]&&(_0x2914ec[_0x435f('0x9e')](_0x22fdbd['name']),_0x4e6400=!0x0);}}else{if(_0x435f('0x74')==_0x2914ec[_0x435f('0x85')]){if(!_0x2914ec[_0x435f('0x80')]||!_0x2914ec[_0x435f('0x80')]['tablePasteChainId'])continue;const _0x4fdcc0=_0x2914ec['attributes'][_0x435f('0x7a')];if(_0x4fdcc0&&Object[_0x435f('0x54')](_0x4fdcc0)[_0x435f('0x2a')])continue;const _0x4fe99d=_0x2914ec['attributes'][_0x435f('0x43')];let _0x560f44=!0x0,_0x202bfd=!0x0;for(const _0x58ca66 of _0x30bb96)if(_0x58ca66[_0x435f('0x85')]&&_0x58ca66[_0x435f('0x85')][_0x435f('0x68')](_0x435f('0xc'))){if(!_0x58ca66[_0x435f('0x80')]['tablePasteChainId']){_0x202bfd=!0x1;break;}if(_0x58ca66['id']!=_0x2914ec['id']&&_0x58ca66[_0x435f('0x80')][_0x435f('0x43')]==_0x4fe99d){_0x560f44=!0x1;break;}}_0x202bfd&&_0x560f44&&(_0x2914ec[_0x435f('0x64')](),_0x4e6400=!0x0);}}for(const _0x87637a of _0x2ead19)_0x1937a4[_0x435f('0x89')](_0x87637a);for(const _0x565238 of _0x5d4452)_0x1937a4[_0x435f('0x21')](_0x565238);return _0x4e6400;}),_0xdb6f27[_0x435f('0x14')][_0x435f('0x7c')](_0x435f('0x33'))[_0x435f('0xd')]({'model':_0x435f('0x4e'),'view':(_0x3f1294,_0x3ad058)=>_0x28c3a0(_0x3f1294),'converterPriority':_0x435f('0x8f')}),_0xdb6f27[_0x435f('0x14')][_0x435f('0x7c')](_0x435f('0x1e'))[_0x435f('0xd')]({'model':_0x435f('0x4e'),'view':(_0x4e1d84,_0x22040a)=>_0x22040a[_0x435f('0x7b')][_0x435f('0x1a')]?_0x28c3a0(_0x4e1d84,!0x1):null,'converterPriority':_0x435f('0x8f')});const _0x1f814d=_0xdb6f27[_0x435f('0x66')][_0x435f('0x5b')];this['listenTo'](_0x1f814d[_0x435f('0x97')],'clipboardOutput',(_0x1b5608,_0x25760d)=>{const _0x241e8f=[];for(const _0xc4defb of _0x1f814d[_0x435f('0x5f')](_0x25760d[_0x435f('0x60')])['getItems']())_0xc4defb['is']('element','suggestion-td')&&_0x241e8f['push'](_0xc4defb);_0x1f814d['change'](_0x32c665=>{for(const _0x5941ac of _0x241e8f)_0x32c665[_0x435f('0x67')](_0x32c665[_0x435f('0x5f')](_0x5941ac),_0x32c665[_0x435f('0x6b')](_0x5941ac)),_0x32c665['remove'](_0x5941ac);});});}}function ce(_0x1c5b6f){if(_0x1c5b6f[_0x435f('0x77')])return!0x0;const _0xa543f5=_0x1c5b6f[_0x435f('0x1c')](0x0);return _0xa543f5['is']('element',_0x435f('0x59'))&&_0xa543f5[_0x435f('0x77')];}function fe(_0x9bc77a,_0x4a47cd={},_0x548e8f){for(const {isAnchor:_0x349f1d,cellHeight:_0x2bebf7,cellWidth:_0x215770}of _0x548e8f[_0x435f('0x91')](_0x9bc77a,{'includeAllSlots':!0x0,..._0x4a47cd}))if(!_0x349f1d||0x1!=_0x2bebf7||0x1!=_0x215770)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51c7=['handleResizeTableWidthCommand','accept','getSuggestions','handleSuggestionDescription','has','subType','formatGroupId','plugins','locale','enableCommand','document','discard','selection','commandParams','Users','TrackChangesEditing','formatBlock','resizeTableWidth','format','getSuggestionCallback','bind','registerDescriptionCallback','change','getTableColumnsWidths','editor','table','getAttribute','registerCustomCallback','data','getColumnGroupElement','afterInit','_suggestionFactory','get','columnWidths','getSelectedElement','getContainedElement','resizeTable','markBlockFormat','tableWidth','_descriptionFactory','TableColumnResizeEditing','model'];(function(_0x4b5a45,_0x51c779){const _0x582c8f=function(_0x1a3b6c){while(--_0x1a3b6c){_0x4b5a45['push'](_0x4b5a45['shift']());}};_0x582c8f(++_0x51c779);}(_0x51c7,0x1a0));const _0x582c=function(_0x4b5a45,_0x51c779){_0x4b5a45=_0x4b5a45-0x0;let _0x582c8f=_0x51c7[_0x4b5a45];return _0x582c8f;};import{Plugin as _0x474bc3}from'ckeditor5/src/core';import{getTranslation as _0x2f7ec6}from'../utils/common-translations';export default class wt extends _0x474bc3{[_0x582c('0x22')](){if(!this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x8')](_0x582c('0x2')))return;const _0x270b5b=this[_0x582c('0x1c')]['plugins'][_0x582c('0x24')]('TrackChangesEditing');_0x270b5b[_0x582c('0xd')]('resizeTableWidth',this[_0x582c('0x4')][_0x582c('0x18')](this)),_0x270b5b['enableCommand']('resizeColumnWidths',this[_0x582c('0x4')][_0x582c('0x18')](this)),_0x270b5b['_suggestionFactory'][_0x582c('0x1f')](_0x582c('0x14'),_0x582c('0x28'),_0x582c('0x5'),_0x270b5b[_0x582c('0x23')][_0x582c('0x17')](_0x582c('0x14'),null,_0x582c('0xf'))),_0x270b5b['_suggestionFactory']['registerCustomCallback'](_0x582c('0x14'),_0x582c('0x28'),_0x582c('0xf'),_0x270b5b['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x582c('0x5'))),_0x270b5b[_0x582c('0x1')][_0x582c('0x19')](this['handleSuggestionDescription'][_0x582c('0x18')](this));}[_0x582c('0x4')](_0x107f77,_0x2b4731){const _0xda865a=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')](_0x582c('0x13')),_0x41bcec=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')]('TableColumnResizeEditing'),_0x138513=_0x2b4731[_0x582c('0x1d')]||this[_0x582c('0x1c')][_0x582c('0x3')][_0x582c('0xe')][_0x582c('0x10')][_0x582c('0x26')]();this['editor'][_0x582c('0x3')][_0x582c('0x1a')](()=>{const _0x3325b0=_0x41bcec[_0x582c('0x21')](_0x138513);let _0x20d386=_0x3325b0?_0x41bcec[_0x582c('0x1b')](_0x3325b0):null,_0x58ae95=_0x138513[_0x582c('0x1e')]('tableWidth')||null;const _0xcabf9d=_0x2b4731[_0x582c('0x0')]||_0x58ae95,_0x173045=_0x2b4731[_0x582c('0x25')]||_0x20d386,_0x16f874=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')](_0x582c('0x12'))['me'];for(const _0x32664f of _0xda865a[_0x582c('0x6')]()){const _0x5e99e7=_0x32664f[_0x582c('0x27')]();if(_0x582c('0x28')===_0x32664f[_0x582c('0x9')]&&_0x5e99e7===_0x138513){_0x32664f['author']!==_0x16f874&&_0x32664f[_0x582c('0xf')]();const _0x5b9eca=_0x32664f[_0x582c('0x20')][_0x582c('0x11')];_0x58ae95=_0x5b9eca[0x0][_0x582c('0x0')],_0x20d386=_0x5b9eca[0x0][_0x582c('0x25')];break;}}_0x107f77({'table':_0x138513,'tableWidth':_0xcabf9d,'columnWidths':_0x173045}),_0xda865a[_0x582c('0x29')](_0x138513,{'commandName':_0x582c('0x15'),'commandParams':[{'tableWidth':_0x58ae95,'columnWidths':_0x20d386}],'formatGroupId':_0x582c('0x28')},[],_0x582c('0x28'));});}[_0x582c('0x7')](_0x3c6fcf){const {data:_0x43ecf4}=_0x3c6fcf;if(_0x43ecf4&&'resizeTable'===_0x43ecf4[_0x582c('0xa')]){const _0x45041d='*Format:*\x20resize\x20table';return{'type':_0x582c('0x16'),'content':_0x2f7ec6(this[_0x582c('0x1c')][_0x582c('0xc')],_0x45041d)};}}}
23
+ const _0x145f=['accept','enableCommand','*Format:*\x20resize\x20table','_suggestionFactory','getColumnGroupElement','markBlockFormat','getAttribute','format','discard','TableColumnResizeEditing','getTableColumnsWidths','resizeTable','editor','handleSuggestionDescription','has','commandParams','columnWidths','_descriptionFactory','Users','selection','registerCustomCallback','afterInit','table','document','getSuggestionCallback','get','resizeColumnWidths','registerDescriptionCallback','getContainedElement','bind','tableWidth','resizeTableWidth','change','plugins','formatBlock','locale','handleResizeTableWidthCommand','data'];(function(_0x198e7b,_0x145f9f){const _0x2759ab=function(_0x14f604){while(--_0x14f604){_0x198e7b['push'](_0x198e7b['shift']());}};_0x2759ab(++_0x145f9f);}(_0x145f,0xcf));const _0x2759=function(_0x198e7b,_0x145f9f){_0x198e7b=_0x198e7b-0x0;let _0x2759ab=_0x145f[_0x198e7b];return _0x2759ab;};import{Plugin as _0x2ee144}from'ckeditor5/src/core';import{getTranslation as _0x3195ed}from'../utils/common-translations';export default class wt extends _0x2ee144{[_0x2759('0x4')](){if(!this[_0x2759('0x21')][_0x2759('0x10')][_0x2759('0x23')]('TableColumnResizeEditing'))return;const _0x201602=this['editor']['plugins']['get']('TrackChangesEditing');_0x201602[_0x2759('0x16')](_0x2759('0xe'),this[_0x2759('0x13')][_0x2759('0xc')](this)),_0x201602[_0x2759('0x16')](_0x2759('0x9'),this['handleResizeTableWidthCommand']['bind'](this)),_0x201602[_0x2759('0x18')][_0x2759('0x3')]('formatBlock',_0x2759('0x20'),_0x2759('0x15'),_0x201602[_0x2759('0x18')][_0x2759('0x7')](_0x2759('0x11'),null,_0x2759('0x1d'))),_0x201602['_suggestionFactory']['registerCustomCallback'](_0x2759('0x11'),_0x2759('0x20'),_0x2759('0x1d'),_0x201602[_0x2759('0x18')][_0x2759('0x7')](_0x2759('0x11'),null,_0x2759('0x15'))),_0x201602[_0x2759('0x0')][_0x2759('0xa')](this[_0x2759('0x22')][_0x2759('0xc')](this));}[_0x2759('0x13')](_0x71e087,_0x34dc0b){const _0x5319c0=this['editor']['plugins']['get']('TrackChangesEditing'),_0x24cd43=this['editor'][_0x2759('0x10')][_0x2759('0x8')](_0x2759('0x1e')),_0x23592a=_0x34dc0b[_0x2759('0x5')]||this[_0x2759('0x21')]['model'][_0x2759('0x6')][_0x2759('0x2')]['getSelectedElement']();this[_0x2759('0x21')]['model'][_0x2759('0xf')](()=>{const _0x5991fd=_0x24cd43[_0x2759('0x19')](_0x23592a);let _0x2dfbdc=_0x5991fd?_0x24cd43[_0x2759('0x1f')](_0x5991fd):null,_0x1052d8=_0x23592a[_0x2759('0x1b')](_0x2759('0xd'))||null;const _0x3e9048=_0x34dc0b['tableWidth']||_0x1052d8,_0xde3879=_0x34dc0b[_0x2759('0x25')]||_0x2dfbdc,_0x3d2890=this[_0x2759('0x21')][_0x2759('0x10')][_0x2759('0x8')](_0x2759('0x1'))['me'];for(const _0x16cffb of _0x5319c0['getSuggestions']()){const _0x1fe448=_0x16cffb[_0x2759('0xb')]();if('resizeTable'===_0x16cffb['subType']&&_0x1fe448===_0x23592a){_0x16cffb['author']!==_0x3d2890&&_0x16cffb[_0x2759('0x1d')]();const _0x4349d2=_0x16cffb[_0x2759('0x14')][_0x2759('0x24')];_0x1052d8=_0x4349d2[0x0][_0x2759('0xd')],_0x2dfbdc=_0x4349d2[0x0][_0x2759('0x25')];break;}}_0x71e087({'table':_0x23592a,'tableWidth':_0x3e9048,'columnWidths':_0xde3879}),_0x5319c0[_0x2759('0x1a')](_0x23592a,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1052d8,'columnWidths':_0x2dfbdc}],'formatGroupId':_0x2759('0x20')},[],'resizeTable');});}[_0x2759('0x22')](_0x5bb514){const {data:_0x14c84c}=_0x5bb514;if(_0x14c84c&&_0x2759('0x20')===_0x14c84c['formatGroupId']){const _0x124aa6=_0x2759('0x17');return{'type':_0x2759('0x1c'),'content':_0x3195ed(this['editor'][_0x2759('0x12')],_0x124aa6)};}}}