@ckeditor/ckeditor5-track-changes 36.0.0 → 36.0.1

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 (61) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/heading.js +1 -1
  21. package/src/integrations/highlight.js +1 -1
  22. package/src/integrations/horizontalline.js +1 -1
  23. package/src/integrations/htmlembed.js +1 -1
  24. package/src/integrations/image.js +1 -1
  25. package/src/integrations/imagereplace.js +1 -1
  26. package/src/integrations/importword.js +1 -1
  27. package/src/integrations/indent.js +1 -1
  28. package/src/integrations/inputcommand.js +1 -1
  29. package/src/integrations/link.js +1 -1
  30. package/src/integrations/list.js +1 -1
  31. package/src/integrations/listproperties.js +1 -1
  32. package/src/integrations/mediaembed.js +1 -1
  33. package/src/integrations/mention.js +1 -1
  34. package/src/integrations/pagebreak.js +1 -1
  35. package/src/integrations/paragraph.js +1 -1
  36. package/src/integrations/removeformat.js +1 -1
  37. package/src/integrations/restrictededitingmode.js +1 -1
  38. package/src/integrations/shiftentercommand.js +1 -1
  39. package/src/integrations/standardeditingmode.js +1 -1
  40. package/src/integrations/style.js +1 -1
  41. package/src/integrations/table.js +1 -1
  42. package/src/integrations/tablecaption.js +1 -1
  43. package/src/integrations/tableclipboard.js +1 -1
  44. package/src/integrations/tablecolumnresize.js +1 -1
  45. package/src/integrations/tableheadings.js +1 -1
  46. package/src/integrations/tablemergesplit.js +1 -1
  47. package/src/integrations/tableproperties.js +1 -1
  48. package/src/integrations/title.js +1 -1
  49. package/src/integrations/undo.js +1 -1
  50. package/src/integrations/utils.js +1 -1
  51. package/src/suggestion.js +1 -1
  52. package/src/suggestiondescriptionfactory.js +1 -1
  53. package/src/trackchanges.js +1 -1
  54. package/src/trackchangesdata.js +1 -1
  55. package/src/trackchangesediting.js +1 -1
  56. package/src/trackchangesui.js +1 -1
  57. package/src/ui/suggestioncontroller.js +1 -1
  58. package/src/ui/view/basesuggestionthreadview.js +1 -1
  59. package/src/ui/view/suggestionthreadview.js +1 -1
  60. package/src/utils/common-translations.js +1 -1
  61. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5825=['_descriptionFactory','plugins','downcastDispatcher','editor','has','registerElementLabel','options','locale','MediaEmbedEditing','showSuggestionHighlights','attribute:url:media','media','ELEMENT_MEDIA','afterInit','data','high','mediaEmbed','TrackChangesEditing','for','div','dataDowncast','stop'];(function(_0x25618a,_0x5825ed){const _0x16fd48=function(_0x7cb824){while(--_0x7cb824){_0x25618a['push'](_0x25618a['shift']());}};_0x16fd48(++_0x5825ed);}(_0x5825,0x101));const _0x16fd=function(_0x25618a,_0x5825ed){_0x25618a=_0x25618a-0x0;let _0x16fd48=_0x5825[_0x25618a];return _0x16fd48;};import{Plugin as _0x293430}from'ckeditor5/src/core';import{getTranslation as _0x2cd137}from'../utils/common-translations';export default class rt extends _0x293430{[_0x16fd('0x14')](){const _0x4dfaf7=this[_0x16fd('0xa')];if(!_0x4dfaf7[_0x16fd('0x8')][_0x16fd('0xb')](_0x16fd('0xf')))return;const _0x5f517b=_0x4dfaf7['plugins']['get'](_0x16fd('0x2')),_0x39203b=_0x4dfaf7[_0x16fd('0xe')];_0x5f517b['enableCommand'](_0x16fd('0x1')),_0x5f517b[_0x16fd('0x7')][_0x16fd('0xc')](_0x16fd('0x12'),_0x65aedd=>_0x2cd137(_0x39203b,_0x16fd('0x13'),_0x65aedd)),_0x4dfaf7['conversion'][_0x16fd('0x3')](_0x16fd('0x5'))['elementToElement']({'model':_0x16fd('0x12'),'view':(_0x3e13cd,{writer:_0x2fad86,options:_0x1f46af})=>{if(_0x1f46af[_0x16fd('0x10')])return _0x2fad86['createEmptyElement'](_0x16fd('0x4'));},'converterPriority':_0x16fd('0x0')}),_0x4dfaf7[_0x16fd('0x15')][_0x16fd('0x9')]['on'](_0x16fd('0x11'),(_0x19e892,_0x14ae63,_0x12f0d8)=>{_0x12f0d8[_0x16fd('0xd')][_0x16fd('0x10')]&&_0x19e892[_0x16fd('0x6')]();},{'priority':_0x16fd('0x0')});}}
23
+ const _0xe9ea=['downcastDispatcher','stop','dataDowncast','high','showSuggestionHighlights','_descriptionFactory','registerElementLabel','MediaEmbedEditing','conversion','ELEMENT_MEDIA','locale','plugins','data','options','get','for','afterInit','enableCommand','attribute:url:media','media','editor'];(function(_0x15cae8,_0xe9ea7f){const _0xaff0c5=function(_0x5d127b){while(--_0x5d127b){_0x15cae8['push'](_0x15cae8['shift']());}};_0xaff0c5(++_0xe9ea7f);}(_0xe9ea,0xbf));const _0xaff0=function(_0x15cae8,_0xe9ea7f){_0x15cae8=_0x15cae8-0x0;let _0xaff0c5=_0xe9ea[_0x15cae8];return _0xaff0c5;};import{Plugin as _0xe4af55}from'ckeditor5/src/core';import{getTranslation as _0x55d5b3}from'../utils/common-translations';export default class rt extends _0xe4af55{[_0xaff0('0xe')](){const _0xba8755=this[_0xaff0('0x12')];if(!_0xba8755[_0xaff0('0x9')]['has'](_0xaff0('0x5')))return;const _0x33cdd5=_0xba8755[_0xaff0('0x9')][_0xaff0('0xc')]('TrackChangesEditing'),_0x546d93=_0xba8755[_0xaff0('0x8')];_0x33cdd5[_0xaff0('0xf')]('mediaEmbed'),_0x33cdd5[_0xaff0('0x3')][_0xaff0('0x4')]('media',_0x147c79=>_0x55d5b3(_0x546d93,_0xaff0('0x7'),_0x147c79)),_0xba8755[_0xaff0('0x6')][_0xaff0('0xd')](_0xaff0('0x0'))['elementToElement']({'model':_0xaff0('0x11'),'view':(_0x32d43f,{writer:_0x53006d,options:_0x43284a})=>{if(_0x43284a[_0xaff0('0x2')])return _0x53006d['createEmptyElement']('div');},'converterPriority':_0xaff0('0x1')}),_0xba8755[_0xaff0('0xa')][_0xaff0('0x13')]['on'](_0xaff0('0x10'),(_0x475d8e,_0x402e15,_0x1b3b5d)=>{_0x1b3b5d[_0xaff0('0xb')][_0xaff0('0x2')]&&_0x475d8e[_0xaff0('0x14')]();},{'priority':_0xaff0('0x1')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c1b=['plugins','MentionEditing','get','has','enableCommand','mention','afterInit','TrackChangesEditing'];(function(_0x51429c,_0x2c1b45){const _0x4f348d=function(_0x51f77e){while(--_0x51f77e){_0x51429c['push'](_0x51429c['shift']());}};_0x4f348d(++_0x2c1b45);}(_0x2c1b,0x1b9));const _0x4f34=function(_0x51429c,_0x2c1b45){_0x51429c=_0x51429c-0x0;let _0x4f348d=_0x2c1b[_0x51429c];return _0x4f348d;};import{Plugin as _0x37b14d}from'ckeditor5/src/core';export default class at extends _0x37b14d{[_0x4f34('0x5')](){const _0x57d2bb=this['editor'];_0x57d2bb['plugins'][_0x4f34('0x2')](_0x4f34('0x0'))&&_0x57d2bb[_0x4f34('0x7')][_0x4f34('0x1')](_0x4f34('0x6'))[_0x4f34('0x3')](_0x4f34('0x4'));}}
23
+ const _0x1bfe=['has','afterInit','plugins','get','MentionEditing','enableCommand','editor'];(function(_0x365b05,_0x1bfe96){const _0x232599=function(_0x2a764a){while(--_0x2a764a){_0x365b05['push'](_0x365b05['shift']());}};_0x232599(++_0x1bfe96);}(_0x1bfe,0x148));const _0x2325=function(_0x365b05,_0x1bfe96){_0x365b05=_0x365b05-0x0;let _0x232599=_0x1bfe[_0x365b05];return _0x232599;};import{Plugin as _0x4c5b6d}from'ckeditor5/src/core';export default class at extends _0x4c5b6d{[_0x2325('0x2')](){const _0x380b45=this[_0x2325('0x0')];_0x380b45[_0x2325('0x3')][_0x2325('0x1')](_0x2325('0x5'))&&_0x380b45[_0x2325('0x3')][_0x2325('0x4')]('TrackChangesEditing')[_0x2325('0x6')]('mention');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13a8=['ELEMENT_PAGE_BREAK','afterInit','_descriptionFactory','TrackChangesEditing','pageBreak','registerElementLabel','has','get','PageBreakEditing','enableCommand','plugins'];(function(_0x155c14,_0x13a893){const _0x31db2c=function(_0xc9af9d){while(--_0xc9af9d){_0x155c14['push'](_0x155c14['shift']());}};_0x31db2c(++_0x13a893);}(_0x13a8,0xbd));const _0x31db=function(_0x155c14,_0x13a893){_0x155c14=_0x155c14-0x0;let _0x31db2c=_0x13a8[_0x155c14];return _0x31db2c;};import{Plugin as _0x517e42}from'ckeditor5/src/core';import{getTranslation as _0x3c4329}from'../utils/common-translations';export default class ct extends _0x517e42{[_0x31db('0xa')](){const _0x5e9fc0=this['editor'];if(!_0x5e9fc0[_0x31db('0x8')][_0x31db('0x4')](_0x31db('0x6')))return;_0x5e9fc0[_0x31db('0x8')][_0x31db('0x5')]('TrackChangesEditing')[_0x31db('0x7')](_0x31db('0x2'));const _0x2d6e57=_0x5e9fc0[_0x31db('0x8')][_0x31db('0x5')](_0x31db('0x1')),_0x8c580a=_0x5e9fc0['locale'];_0x2d6e57[_0x31db('0x0')][_0x31db('0x3')]('pageBreak',_0x57eddf=>_0x3c4329(_0x8c580a,_0x31db('0x9'),_0x57eddf));}}
23
+ const _0x4b37=['PageBreakEditing','pageBreak','get','editor','plugins','afterInit','has','locale','enableCommand','TrackChangesEditing'];(function(_0x387145,_0x4b37ca){const _0x19add2=function(_0xa0ed8a){while(--_0xa0ed8a){_0x387145['push'](_0x387145['shift']());}};_0x19add2(++_0x4b37ca);}(_0x4b37,0x151));const _0x19ad=function(_0x387145,_0x4b37ca){_0x387145=_0x387145-0x0;let _0x19add2=_0x4b37[_0x387145];return _0x19add2;};import{Plugin as _0x418dd1}from'ckeditor5/src/core';import{getTranslation as _0x871e5f}from'../utils/common-translations';export default class ct extends _0x418dd1{[_0x19ad('0x8')](){const _0xe0353c=this[_0x19ad('0x6')];if(!_0xe0353c[_0x19ad('0x7')][_0x19ad('0x9')](_0x19ad('0x3')))return;_0xe0353c['plugins']['get'](_0x19ad('0x2'))[_0x19ad('0x1')](_0x19ad('0x4'));const _0x1645a2=_0xe0353c[_0x19ad('0x7')][_0x19ad('0x5')]('TrackChangesEditing'),_0x294786=_0xe0353c[_0x19ad('0x0')];_0x1645a2['_descriptionFactory']['registerElementLabel']('pageBreak',_0xb56393=>_0x871e5f(_0x294786,'ELEMENT_PAGE_BREAK',_0xb56393));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e64=['from','blockName','filter','format','model','includes','addMarker:suggestion:insertion','enableCommand','schema','selection','ck-suggestion-marker-split','getFirstRange','insert','highest','Paragraph','plugins','locale','markBlockFormat','*Insert:*\x20%0','has','downcastDispatcher','isLimit','isObject','registerElementLabel','editor','start','name','toViewPosition','options','writer','mapper','activeMarkers','nodeAfter','paragraph','get','registerDescriptionCallback','change','isBlock','isTouching','*Change\x20to:*\x20%0','checkChild','insertion','markerRange','end','createUIElement','TrackChangesEditing','$text','ck-suggestion-marker--active','afterInit','type','_descriptionFactory','commandName','bindElementToMarker','markerName','getItemLabel','data'];(function(_0x34efaa,_0x4e644d){const _0x2dc9cf=function(_0x5d72a3){while(--_0x5d72a3){_0x34efaa['push'](_0x34efaa['shift']());}};_0x2dc9cf(++_0x4e644d);}(_0x4e64,0x142));const _0x2dc9=function(_0x34efaa,_0x4e644d){_0x34efaa=_0x34efaa-0x0;let _0x2dc9cf=_0x4e64[_0x34efaa];return _0x2dc9cf;};import{Plugin as _0x5c2cf1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x15cb55}from'./utils';import{getTranslation as _0x5889d7}from'../utils/common-translations';export default class ht extends _0x5c2cf1{[_0x2dc9('0x6')](){const _0x219432=this['editor'];if(!_0x219432[_0x2dc9('0x1d')][_0x2dc9('0x21')](_0x2dc9('0x1c')))return;const _0x339a65=_0x219432[_0x2dc9('0x1e')],_0x2c7054=_0x219432['plugins'][_0x2dc9('0x30')]('TrackChangesEditing');_0x2c7054['_descriptionFactory'][_0x2dc9('0x25')]('paragraph',_0x23d865=>_0x5889d7(_0x339a65,'ELEMENT_PARAGRAPH',_0x23d865)),_0x2c7054[_0x2dc9('0x15')](_0x2dc9('0x2f'),(_0x2c57c7,_0x18d600={})=>{const _0x9f52cb=_0x219432[_0x2dc9('0x12')]['document'],_0x46b26e=_0x18d600[_0x2dc9('0x17')]||_0x9f52cb[_0x2dc9('0x17')],_0x2270ba=Array[_0x2dc9('0xe')](_0x46b26e['getSelectedBlocks']())[_0x2dc9('0x10')](_0x2d2408=>function(_0x159bb2,_0x378a8e){return _0x378a8e[_0x2dc9('0x36')](_0x159bb2['parent'],'paragraph')&&!_0x378a8e[_0x2dc9('0x24')](_0x159bb2)&&_0x2dc9('0x2f')!=_0x159bb2[_0x2dc9('0x28')];}(_0x2d2408,this[_0x2dc9('0x26')][_0x2dc9('0x12')][_0x2dc9('0x16')]));_0x219432[_0x2dc9('0x12')][_0x2dc9('0x32')](()=>{for(const _0x4e375c of _0x2270ba)_0x2c7054[_0x2dc9('0x1f')](_0x4e375c,{'commandName':_0x2dc9('0x2f'),'commandParams':[],'formatGroupId':_0x2dc9('0xf')},_0x15cb55(_0x4e375c));});}),_0x2c7054[_0x2dc9('0x8')][_0x2dc9('0x31')](_0x177ded=>{const {data:_0x5b8b62}=_0x177ded;if(_0x5b8b62&&_0x2dc9('0x2f')==_0x5b8b62[_0x2dc9('0x9')])return{'type':_0x2dc9('0x11'),'content':_0x5889d7(_0x339a65,_0x2dc9('0x35'),_0x5889d7(_0x339a65,'ELEMENT_PARAGRAPH'))};}),_0x2c7054[_0x2dc9('0x15')]('insertParagraph'),_0x219432['editing'][_0x2dc9('0x22')]['on'](_0x2dc9('0x14'),ar(_0x219432),{'priority':_0x2dc9('0x1b')}),_0x219432[_0x2dc9('0xd')]['downcastDispatcher']['on'](_0x2dc9('0x14'),(_0x36e8f2,_0x2db4f3,_0x28f7e)=>{_0x28f7e[_0x2dc9('0x2a')]['showSuggestionHighlights']&&ar(_0x219432,{'showActiveMarker':!0x1})(_0x36e8f2,_0x2db4f3,_0x28f7e);},{'priority':_0x2dc9('0x1b')});const _0x2979cf=_0x2c7054[_0x2dc9('0x8')];_0x2979cf[_0x2dc9('0x31')](_0x44ddc6=>{if(_0x2dc9('0x37')!==_0x44ddc6[_0x2dc9('0x7')])return;const {start:_0x4a3653,end:_0x70e010}=_0x44ddc6[_0x2dc9('0x19')]();if(!_0x4a3653[_0x2dc9('0x34')](_0x70e010)||!_0x4a3653[_0x2dc9('0x2e')])return;const _0x1b1110=_0x219432['model'][_0x2dc9('0x16')],_0x4cfb2a=_0x4a3653['nodeAfter'];return _0x1b1110[_0x2dc9('0x33')](_0x4cfb2a)&&!_0x1b1110[_0x2dc9('0x23')](_0x4cfb2a)&&_0x1b1110[_0x2dc9('0x36')](_0x4cfb2a,_0x2dc9('0x4'))?{'type':_0x2dc9('0x37'),'content':_0x5889d7(_0x339a65,_0x2dc9('0x20'),_0x2979cf[_0x2dc9('0xc')](_0x4cfb2a,0x1))}:void 0x0;});}}function ar(_0x2f902d,{showActiveMarker:_0x4e62a4=!0x0}={}){return(_0x38bbc6,_0xcb5a99,_0x4fbad6)=>{const _0x4d415d=_0x2f902d[_0x2dc9('0x1d')]['get'](_0x2dc9('0x3')),_0x21d0bc=_0xcb5a99[_0x2dc9('0x0')][_0x2dc9('0x27')],_0x2c99ce=_0xcb5a99[_0x2dc9('0x0')][_0x2dc9('0x1')],_0x5b32b5=_0x2f902d[_0x2dc9('0x12')][_0x2dc9('0x16')];if(!_0x21d0bc[_0x2dc9('0x34')](_0x2c99ce)||!_0x21d0bc[_0x2dc9('0x2e')])return;const _0x792665=_0x21d0bc[_0x2dc9('0x2e')];if(_0x5b32b5[_0x2dc9('0x33')](_0x792665)&&!_0x5b32b5[_0x2dc9('0x23')](_0x792665)&&_0x5b32b5[_0x2dc9('0x36')](_0x792665,_0x2dc9('0x4'))){if(!_0x4fbad6['consumable']['consume'](_0xcb5a99[_0x2dc9('0x0')],_0x38bbc6[_0x2dc9('0x28')]))return;const _0x18bcdc=_0x4fbad6['writer'][_0x2dc9('0x2')]('span',{'class':_0x2dc9('0x18')}),_0x1752d7=_0x4fbad6[_0x2dc9('0x2c')][_0x2dc9('0x29')](_0x2c99ce);_0x4e62a4&&_0x4d415d[_0x2dc9('0x2d')][_0x2dc9('0x13')](_0xcb5a99[_0x2dc9('0xb')])&&_0x4fbad6[_0x2dc9('0x2b')]['addClass'](_0x2dc9('0x5'),_0x18bcdc),_0x4fbad6['writer'][_0x2dc9('0x1a')](_0x1752d7,_0x18bcdc),_0x4fbad6[_0x2dc9('0x2c')][_0x2dc9('0xa')](_0x18bcdc,_0xcb5a99['markerName']);}};}
23
+ const _0x3b6b=['start','activeMarkers','$text','markerName','paragraph','mapper','downcastDispatcher','insert','isTouching','consumable','from','type','has','enableCommand','*Change\x20to:*\x20%0','bindElementToMarker','toViewPosition','*Insert:*\x20%0','writer','isObject','markBlockFormat','locale','commandName','TrackChangesEditing','markerRange','highest','nodeAfter','parent','editor','getSelectedBlocks','span','createUIElement','data','getFirstRange','schema','addMarker:suggestion:insertion','isLimit','plugins','insertion','filter','registerDescriptionCallback','showSuggestionHighlights','registerElementLabel','Paragraph','checkChild','end','selection','blockName','editing','get','isBlock','change','format','insertParagraph','document','_descriptionFactory','model','afterInit','ELEMENT_PARAGRAPH'];(function(_0x44d7dd,_0x3b6b0c){const _0x4a4042=function(_0x4ed941){while(--_0x4ed941){_0x44d7dd['push'](_0x44d7dd['shift']());}};_0x4a4042(++_0x3b6b0c);}(_0x3b6b,0x185));const _0x4a40=function(_0x44d7dd,_0x3b6b0c){_0x44d7dd=_0x44d7dd-0x0;let _0x4a4042=_0x3b6b[_0x44d7dd];return _0x4a4042;};import{Plugin as _0x6989f2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x18e6ee}from'./utils';import{getTranslation as _0x270015}from'../utils/common-translations';export default class ht extends _0x6989f2{[_0x4a40('0x16')](){const _0x454dfc=this[_0x4a40('0x34')];if(!_0x454dfc[_0x4a40('0x2')][_0x4a40('0x24')](_0x4a40('0x8')))return;const _0x1684c6=_0x454dfc[_0x4a40('0x2d')],_0x48f30a=_0x454dfc['plugins'][_0x4a40('0xe')](_0x4a40('0x2f'));_0x48f30a[_0x4a40('0x14')][_0x4a40('0x7')](_0x4a40('0x1c'),_0x2f4043=>_0x270015(_0x1684c6,_0x4a40('0x17'),_0x2f4043)),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x1c'),(_0x456d0e,_0x229568={})=>{const _0x5b0b63=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x13')],_0x5996b3=_0x229568['selection']||_0x5b0b63[_0x4a40('0xb')],_0xdb0db9=Array[_0x4a40('0x22')](_0x5996b3[_0x4a40('0x35')]())[_0x4a40('0x4')](_0x35f839=>function(_0x2b0285,_0xf24dfd){return _0xf24dfd[_0x4a40('0x9')](_0x2b0285[_0x4a40('0x33')],_0x4a40('0x1c'))&&!_0xf24dfd[_0x4a40('0x2b')](_0x2b0285)&&_0x4a40('0x1c')!=_0x2b0285['name'];}(_0x35f839,this['editor'][_0x4a40('0x15')][_0x4a40('0x3a')]));_0x454dfc[_0x4a40('0x15')][_0x4a40('0x10')](()=>{for(const _0x4cd4fb of _0xdb0db9)_0x48f30a[_0x4a40('0x2c')](_0x4cd4fb,{'commandName':_0x4a40('0x1c'),'commandParams':[],'formatGroupId':_0x4a40('0xc')},_0x18e6ee(_0x4cd4fb));});}),_0x48f30a[_0x4a40('0x14')][_0x4a40('0x5')](_0x41d75e=>{const {data:_0x751922}=_0x41d75e;if(_0x751922&&_0x4a40('0x1c')==_0x751922[_0x4a40('0x2e')])return{'type':_0x4a40('0x11'),'content':_0x270015(_0x1684c6,_0x4a40('0x26'),_0x270015(_0x1684c6,_0x4a40('0x17')))};}),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x12')),_0x454dfc[_0x4a40('0xd')][_0x4a40('0x1e')]['on'](_0x4a40('0x0'),ar(_0x454dfc),{'priority':_0x4a40('0x31')}),_0x454dfc[_0x4a40('0x38')]['downcastDispatcher']['on'](_0x4a40('0x0'),(_0x126606,_0x56bb43,_0x5a154d)=>{_0x5a154d['options'][_0x4a40('0x6')]&&ar(_0x454dfc,{'showActiveMarker':!0x1})(_0x126606,_0x56bb43,_0x5a154d);},{'priority':_0x4a40('0x31')});const _0x3dd090=_0x48f30a[_0x4a40('0x14')];_0x3dd090[_0x4a40('0x5')](_0x450f09=>{if(_0x4a40('0x3')!==_0x450f09[_0x4a40('0x23')])return;const {start:_0x4651b0,end:_0x2023c6}=_0x450f09[_0x4a40('0x39')]();if(!_0x4651b0[_0x4a40('0x20')](_0x2023c6)||!_0x4651b0['nodeAfter'])return;const _0x4ff56c=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x3a')],_0x1d8ffa=_0x4651b0[_0x4a40('0x32')];return _0x4ff56c[_0x4a40('0xf')](_0x1d8ffa)&&!_0x4ff56c[_0x4a40('0x1')](_0x1d8ffa)&&_0x4ff56c[_0x4a40('0x9')](_0x1d8ffa,_0x4a40('0x1a'))?{'type':_0x4a40('0x3'),'content':_0x270015(_0x1684c6,_0x4a40('0x29'),_0x3dd090['getItemLabel'](_0x1d8ffa,0x1))}:void 0x0;});}}function ar(_0x220680,{showActiveMarker:_0x2b4a96=!0x0}={}){return(_0x5786e1,_0x4083a3,_0x42d814)=>{const _0x24b54c=_0x220680[_0x4a40('0x2')][_0x4a40('0xe')]('TrackChangesEditing'),_0xf54f1d=_0x4083a3[_0x4a40('0x30')][_0x4a40('0x18')],_0x3485f5=_0x4083a3['markerRange'][_0x4a40('0xa')],_0x33609a=_0x220680[_0x4a40('0x15')][_0x4a40('0x3a')];if(!_0xf54f1d['isTouching'](_0x3485f5)||!_0xf54f1d[_0x4a40('0x32')])return;const _0x4086d0=_0xf54f1d['nodeAfter'];if(_0x33609a['isBlock'](_0x4086d0)&&!_0x33609a[_0x4a40('0x1')](_0x4086d0)&&_0x33609a[_0x4a40('0x9')](_0x4086d0,_0x4a40('0x1a'))){if(!_0x42d814[_0x4a40('0x21')]['consume'](_0x4083a3[_0x4a40('0x30')],_0x5786e1['name']))return;const _0x2cd14f=_0x42d814[_0x4a40('0x2a')][_0x4a40('0x37')](_0x4a40('0x36'),{'class':'ck-suggestion-marker-split'}),_0x15cf20=_0x42d814[_0x4a40('0x1d')][_0x4a40('0x28')](_0x3485f5);_0x2b4a96&&_0x24b54c[_0x4a40('0x19')]['includes'](_0x4083a3['markerName'])&&_0x42d814[_0x4a40('0x2a')]['addClass']('ck-suggestion-marker--active',_0x2cd14f),_0x42d814['writer'][_0x4a40('0x1f')](_0x15cf20,_0x2cd14f),_0x42d814[_0x4a40('0x1d')][_0x4a40('0x27')](_0x2cd14f,_0x4083a3[_0x4a40('0x1b')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3355=['*Remove\x20all\x20formatting*','getAttributeProperties','RemoveFormatEditing','removeFormat','locale','commandName','document','schema','isFormatting','enableCommand','editor','TrackChangesEditing','has','markInlineFormat','isCollapsed','registerDescriptionCallback','createRangeOn','getItems','model','_descriptionFactory','plugins','afterInit'];(function(_0x1ec2ca,_0x335502){const _0x871461=function(_0xa176fa){while(--_0xa176fa){_0x1ec2ca['push'](_0x1ec2ca['shift']());}};_0x871461(++_0x335502);}(_0x3355,0xe5));const _0x8714=function(_0x1ec2ca,_0x335502){_0x1ec2ca=_0x1ec2ca-0x0;let _0x871461=_0x3355[_0x1ec2ca];return _0x871461;};import{Plugin as _0x44e6b5}from'ckeditor5/src/core';import{getTranslation as _0x33eb5e}from'../utils/common-translations';export default class ut extends _0x44e6b5{[_0x8714('0xc')](){const _0x358588=this[_0x8714('0x1')];if(!_0x358588[_0x8714('0xb')][_0x8714('0x3')](_0x8714('0xf')))return;const _0x56664=_0x358588[_0x8714('0xb')]['get'](_0x8714('0x2'));_0x56664[_0x8714('0x0')](_0x8714('0x10'),_0x17a365=>{const _0x43c2f2=_0x358588['model'][_0x8714('0x13')]['selection'];_0x43c2f2[_0x8714('0x5')]?_0x17a365():_0x358588[_0x8714('0x9')]['change'](()=>{const _0x49b48d=Array['from'](_0x43c2f2['getRanges']());for(const _0x1ad5be of _0x49b48d)for(const _0x3adb04 of _0x1ad5be[_0x8714('0x8')]())to(_0x3adb04,_0x358588[_0x8714('0x9')][_0x8714('0x14')])&&_0x56664[_0x8714('0x4')](_0x358588['model'][_0x8714('0x7')](_0x3adb04),{'commandName':_0x8714('0x10'),'commandParams':[]});});}),_0x56664[_0x8714('0xa')][_0x8714('0x6')](_0x3673a8=>{const {data:_0x5d1da6}=_0x3673a8;if(_0x5d1da6&&_0x8714('0x10')==_0x5d1da6[_0x8714('0x12')])return{'type':'format','content':_0x33eb5e(_0x358588[_0x8714('0x11')],_0x8714('0xd'))};});}}function to(_0x564a92,_0x17d87b){for(const [_0x10fbfc]of _0x564a92['getAttributes']()){const _0x38ac02=_0x17d87b[_0x8714('0xe')](_0x10fbfc);if(_0x38ac02&&_0x38ac02[_0x8714('0x15')])return!0x0;}return!0x1;}
23
+ const _0x4d62=['getAttributes','getAttributeProperties','isFormatting','RemoveFormatEditing','plugins','get','change','from','registerDescriptionCallback','document','_descriptionFactory','model','commandName','isCollapsed','enableCommand','format','removeFormat','*Remove\x20all\x20formatting*'];(function(_0x15051b,_0x4d6246){const _0x3eccf5=function(_0x337cb8){while(--_0x337cb8){_0x15051b['push'](_0x15051b['shift']());}};_0x3eccf5(++_0x4d6246);}(_0x4d62,0xbc));const _0x3ecc=function(_0x15051b,_0x4d6246){_0x15051b=_0x15051b-0x0;let _0x3eccf5=_0x4d62[_0x15051b];return _0x3eccf5;};import{Plugin as _0x30b2d0}from'ckeditor5/src/core';import{getTranslation as _0x38a5f6}from'../utils/common-translations';export default class ut extends _0x30b2d0{['afterInit'](){const _0x516fed=this['editor'];if(!_0x516fed[_0x3ecc('0xe')]['has'](_0x3ecc('0xd')))return;const _0x37025d=_0x516fed[_0x3ecc('0xe')][_0x3ecc('0xf')]('TrackChangesEditing');_0x37025d[_0x3ecc('0x6')](_0x3ecc('0x8'),_0x326e36=>{const _0x182bf8=_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x1')]['selection'];_0x182bf8[_0x3ecc('0x5')]?_0x326e36():_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x10')](()=>{const _0x3a1cea=Array[_0x3ecc('0x11')](_0x182bf8['getRanges']());for(const _0x5ca9ea of _0x3a1cea)for(const _0x597fd5 of _0x5ca9ea['getItems']())to(_0x597fd5,_0x516fed[_0x3ecc('0x3')]['schema'])&&_0x37025d['markInlineFormat'](_0x516fed[_0x3ecc('0x3')]['createRangeOn'](_0x597fd5),{'commandName':_0x3ecc('0x8'),'commandParams':[]});});}),_0x37025d[_0x3ecc('0x2')][_0x3ecc('0x0')](_0x3b0461=>{const {data:_0x512ad0}=_0x3b0461;if(_0x512ad0&&_0x3ecc('0x8')==_0x512ad0[_0x3ecc('0x4')])return{'type':_0x3ecc('0x7'),'content':_0x38a5f6(_0x516fed['locale'],_0x3ecc('0x9'))};});}}function to(_0x72f9a4,_0x5dd230){for(const [_0x585108]of _0x72f9a4[_0x3ecc('0xa')]()){const _0x42f894=_0x5dd230[_0x3ecc('0xb')](_0x585108);if(_0x42f894&&_0x42f894[_0x3ecc('0xc')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x454a=['enableCommand','get','goToNextRestrictedEditingException','RestrictedEditingModeEditing','editor','acceptSuggestion','acceptAllSuggestions','discardAllSuggestions','discardSelectedSuggestions','discardSuggestion','TrackChangesEditing','afterInit','plugins'];(function(_0x3121a3,_0x454a6c){const _0x49e920=function(_0x425ac3){while(--_0x425ac3){_0x3121a3['push'](_0x3121a3['shift']());}};_0x49e920(++_0x454a6c);}(_0x454a,0x132));const _0x49e9=function(_0x3121a3,_0x454a6c){_0x3121a3=_0x3121a3-0x0;let _0x49e920=_0x454a[_0x3121a3];return _0x49e920;};import{Plugin as _0x1d44b4}from'ckeditor5/src/core';export default class ft extends _0x1d44b4{[_0x49e9('0x4')](){const _0x40ba97=this[_0x49e9('0xa')];if(!_0x40ba97[_0x49e9('0x5')]['has'](_0x49e9('0x9')))return;const _0xfbd728=_0x40ba97[_0x49e9('0x5')]['get'](_0x49e9('0x3'));_0xfbd728[_0x49e9('0x6')]('goToPreviousRestrictedEditingException'),_0xfbd728['enableCommand'](_0x49e9('0x8'));const _0x2461cc=_0x40ba97[_0x49e9('0x5')][_0x49e9('0x7')](_0x49e9('0x9'));_0x2461cc[_0x49e9('0x6')]('trackChanges'),_0x2461cc[_0x49e9('0x6')](_0x49e9('0xb')),_0x2461cc['enableCommand'](_0x49e9('0x2')),_0x2461cc[_0x49e9('0x6')](_0x49e9('0xc')),_0x2461cc[_0x49e9('0x6')](_0x49e9('0x0')),_0x2461cc[_0x49e9('0x6')]('acceptSelectedSuggestions'),_0x2461cc['enableCommand'](_0x49e9('0x1'));}}
23
+ const _0x2e63=['discardSuggestion','trackChanges','has','acceptAllSuggestions','editor','afterInit','goToNextRestrictedEditingException','get','discardSelectedSuggestions','TrackChangesEditing','enableCommand','plugins','RestrictedEditingModeEditing','acceptSelectedSuggestions'];(function(_0x100727,_0x2e63e4){const _0x1fe937=function(_0x2dd060){while(--_0x2dd060){_0x100727['push'](_0x100727['shift']());}};_0x1fe937(++_0x2e63e4);}(_0x2e63,0xa7));const _0x1fe9=function(_0x100727,_0x2e63e4){_0x100727=_0x100727-0x0;let _0x1fe937=_0x2e63[_0x100727];return _0x1fe937;};import{Plugin as _0x2b45a8}from'ckeditor5/src/core';export default class ft extends _0x2b45a8{[_0x1fe9('0x6')](){const _0x18c6a7=this[_0x1fe9('0x5')];if(!_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x3')](_0x1fe9('0xd')))return;const _0x262f55=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xa'));_0x262f55[_0x1fe9('0xb')]('goToPreviousRestrictedEditingException'),_0x262f55['enableCommand'](_0x1fe9('0x7'));const _0x4e431b=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xd'));_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x2')),_0x4e431b[_0x1fe9('0xb')]('acceptSuggestion'),_0x4e431b['enableCommand'](_0x1fe9('0x1')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x4')),_0x4e431b[_0x1fe9('0xb')]('discardAllSuggestions'),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x0')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x9'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x95a0=['data','mapper','markerName','get','addClass','plugins','merge','high','name','markerRange','downcastDispatcher','softBreak','editing','toViewPosition','test','includes','span','locale','element','editor','model','_descriptionFactory','deletion','ck-suggestion-marker-','enableCommand','consumable','writer','activeMarkers','showSuggestionHighlights','TrackChangesEditing','ck-suggestion-marker--active','split','createUIElement','init','options','getItems'];(function(_0x551d52,_0x95a082){const _0x3f6589=function(_0x5d7f5c){while(--_0x5d7f5c){_0x551d52['push'](_0x551d52['shift']());}};_0x3f6589(++_0x95a082);}(_0x95a0,0x1c9));const _0x3f65=function(_0x551d52,_0x95a082){_0x551d52=_0x551d52-0x0;let _0x3f6589=_0x95a0[_0x551d52];return _0x3f6589;};import{Plugin as _0x20456d}from'ckeditor5/src/core';import{ShiftEnter as _0x51103a}from'ckeditor5/src/enter';import{getTranslation as _0x114bd0}from'../utils/common-translations';export default class gt extends _0x20456d{static get['requires'](){return[_0x51103a];}[_0x3f65('0x8')](){const _0x2f858f=this[_0x3f65('0x1e')],_0x535837=_0x2f858f['plugins'][_0x3f65('0xe')](_0x3f65('0x4'));_0x535837[_0x3f65('0x23')]('shiftEnter'),_0x2f858f['editing'][_0x3f65('0x15')]['on']('addMarker:suggestion:insertion',re(_0x2f858f),{'priority':_0x3f65('0x12')}),_0x2f858f[_0x3f65('0x17')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',re(_0x2f858f),{'priority':'high'}),_0x2f858f[_0x3f65('0xb')][_0x3f65('0x15')]['on']('addMarker:suggestion',(_0x145053,_0x420514,_0x39909d)=>{_0x39909d[_0x3f65('0x9')][_0x3f65('0x3')]&&re(_0x2f858f,{'showActiveMarker':!0x1})(_0x145053,_0x420514,_0x39909d);}),_0x535837[_0x3f65('0x20')]['registerElementLabel'](_0x3f65('0x16'),_0x1619c1=>_0x114bd0(_0x2f858f[_0x3f65('0x1c')],'ELEMENT_LINE_BREAK',_0x1619c1));}}function re(_0x48d206,{showActiveMarker:_0x3e9233=!0x0}={}){return(_0x43a64f,_0x48965c,_0x66e9fb)=>{const _0x31f5c9=_0x48d206[_0x3f65('0x10')][_0x3f65('0xe')]('TrackChangesEditing');if(!_0x66e9fb[_0x3f65('0x0')][_0x3f65('0x19')](_0x48965c[_0x3f65('0x14')],_0x43a64f[_0x3f65('0x13')]))return;const _0xf6e76c=_0x48d206[_0x3f65('0x1f')];for(const _0x46849a of _0x48965c[_0x3f65('0x14')][_0x3f65('0xa')]()){if(!_0x46849a['is'](_0x3f65('0x1d'),_0x3f65('0x16')))continue;const _0x429ef3=_0x3f65('0x21')==_0x48965c['markerName'][_0x3f65('0x6')](':')[0x1]?_0x3f65('0x11'):_0x3f65('0x6'),_0x1a7791=_0x66e9fb[_0x3f65('0x1')][_0x3f65('0x7')](_0x3f65('0x1b'),{'class':_0x3f65('0x22')+_0x429ef3}),_0x338019=_0x66e9fb[_0x3f65('0xc')][_0x3f65('0x18')](_0xf6e76c['createPositionBefore'](_0x46849a));_0x3e9233&&_0x31f5c9[_0x3f65('0x2')][_0x3f65('0x1a')](_0x48965c['markerName'])&&_0x66e9fb[_0x3f65('0x1')][_0x3f65('0xf')](_0x3f65('0x5'),_0x1a7791),_0x66e9fb[_0x3f65('0x1')]['insert'](_0x338019,_0x1a7791),_0x66e9fb[_0x3f65('0xc')]['bindElementToMarker'](_0x1a7791,_0x48965c[_0x3f65('0xd')]);}};}
23
+ const _0x336f=['showSuggestionHighlights','merge','insert','activeMarkers','split','TrackChangesEditing','addMarker:suggestion','span','addMarker:suggestion:deletion','ck-suggestion-marker--active','mapper','enableCommand','high','markerRange','_descriptionFactory','options','init','element','get','requires','data','createUIElement','ELEMENT_LINE_BREAK','downcastDispatcher','deletion','writer','softBreak','registerElementLabel','ck-suggestion-marker-','plugins','locale','markerName','bindElementToMarker','editing'];(function(_0xe79977,_0x336fed){const _0x245c59=function(_0x12913c){while(--_0x12913c){_0xe79977['push'](_0xe79977['shift']());}};_0x245c59(++_0x336fed);}(_0x336f,0xa0));const _0x245c=function(_0xe79977,_0x336fed){_0xe79977=_0xe79977-0x0;let _0x245c59=_0x336f[_0xe79977];return _0x245c59;};import{Plugin as _0x253c2f}from'ckeditor5/src/core';import{ShiftEnter as _0x1dd70b}from'ckeditor5/src/enter';import{getTranslation as _0x39c855}from'../utils/common-translations';export default class gt extends _0x253c2f{static get[_0x245c('0x1d')](){return[_0x1dd70b];}[_0x245c('0x1a')](){const _0x2b054e=this['editor'],_0x26d1dd=_0x2b054e[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));_0x26d1dd[_0x245c('0x15')]('shiftEnter'),_0x2b054e['editing'][_0x245c('0x21')]['on']('addMarker:suggestion:insertion',re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x9')][_0x245c('0x21')]['on'](_0x245c('0x12'),re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x1e')][_0x245c('0x21')]['on'](_0x245c('0x10'),(_0x2186f8,_0x54ca18,_0xfc26a2)=>{_0xfc26a2[_0x245c('0x19')][_0x245c('0xa')]&&re(_0x2b054e,{'showActiveMarker':!0x1})(_0x2186f8,_0x54ca18,_0xfc26a2);}),_0x26d1dd[_0x245c('0x18')][_0x245c('0x3')](_0x245c('0x2'),_0x2d1382=>_0x39c855(_0x2b054e[_0x245c('0x6')],_0x245c('0x20'),_0x2d1382));}}function re(_0x4dbb5c,{showActiveMarker:_0x1b88fd=!0x0}={}){return(_0x42d9ab,_0x2fee9d,_0xf02a28)=>{const _0x4d4012=_0x4dbb5c[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));if(!_0xf02a28['consumable']['test'](_0x2fee9d['markerRange'],_0x42d9ab['name']))return;const _0xd67662=_0x4dbb5c['model'];for(const _0x19c872 of _0x2fee9d[_0x245c('0x17')]['getItems']()){if(!_0x19c872['is'](_0x245c('0x1b'),'softBreak'))continue;const _0x53e423=_0x245c('0x0')==_0x2fee9d[_0x245c('0x7')][_0x245c('0xe')](':')[0x1]?_0x245c('0xb'):_0x245c('0xe'),_0x1c6239=_0xf02a28[_0x245c('0x1')][_0x245c('0x1f')](_0x245c('0x11'),{'class':_0x245c('0x4')+_0x53e423}),_0x120c10=_0xf02a28[_0x245c('0x14')]['toViewPosition'](_0xd67662['createPositionBefore'](_0x19c872));_0x1b88fd&&_0x4d4012[_0x245c('0xd')]['includes'](_0x2fee9d[_0x245c('0x7')])&&_0xf02a28[_0x245c('0x1')]['addClass'](_0x245c('0x13'),_0x1c6239),_0xf02a28[_0x245c('0x1')][_0x245c('0xc')](_0x120c10,_0x1c6239),_0xf02a28[_0x245c('0x14')][_0x245c('0x8')](_0x1c6239,_0x2fee9d[_0x245c('0x7')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b5=['commandName','model','StandardEditingModeEditing','registerDescriptionCallback','_descriptionFactory','isCollapsed','getRanges','commandParams','get','document','format','locale','has','enableCommand','selection','FORMAT_RESTRICTED_DISABLED','markInlineFormat','plugins','commands','from','value','change','TrackChangesEditing','afterInit','forceValue'];(function(_0x1fcb56,_0x18b582){const _0x125772=function(_0x103a35){while(--_0x103a35){_0x1fcb56['push'](_0x1fcb56['shift']());}};_0x125772(++_0x18b582);}(_0x18b5,0xe9));const _0x1257=function(_0x1fcb56,_0x18b582){_0x1fcb56=_0x1fcb56-0x0;let _0x125772=_0x18b5[_0x1fcb56];return _0x125772;};import{Plugin as _0x3d8527}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x3653b0}from'./utils';import{getTranslation as _0x47ff82}from'../utils/common-translations';export default class lt extends _0x3d8527{[_0x1257('0xf')](){const _0xb02031=this['editor'],_0x5820f5=_0xb02031[_0x1257('0x12')],_0x336b8e=_0xb02031[_0x1257('0x3')];if(!_0xb02031[_0x1257('0x9')][_0x1257('0x4')](_0x1257('0x13')))return;const _0x20fa58=_0xb02031[_0x1257('0x9')][_0x1257('0x0')](_0x1257('0xe')),_0x5cdda8='restrictedEditingException',_0x4c6f23=_0xb02031[_0x1257('0xa')][_0x1257('0x0')](_0x5cdda8);_0x20fa58[_0x1257('0x5')](_0x5cdda8,(_0x53bbb9,_0x1c9453={})=>{const _0x37491f=_0x5820f5[_0x1257('0x1')][_0x1257('0x6')];if(_0x37491f[_0x1257('0x16')])return void _0x53bbb9(_0x1c9453);const _0x15fd0a=void 0x0!==_0x1c9453[_0x1257('0x10')]?_0x1c9453[_0x1257('0x10')]:!_0x4c6f23[_0x1257('0xc')];_0x5820f5[_0x1257('0xd')](()=>{const _0x9c3f07=Array[_0x1257('0xb')](_0x37491f[_0x1257('0x17')]());for(const _0x1a12dd of _0x9c3f07){const _0x56e2ef=_0x15fd0a?[_0x1a12dd]:_0x3653b0(_0x5cdda8,_0x1a12dd,_0x5820f5);for(const _0x45a9a6 of _0x56e2ef)_0x20fa58[_0x1257('0x8')](_0x45a9a6,{'commandName':_0x5cdda8,'commandParams':[{'forceValue':_0x15fd0a}]});}});}),_0x20fa58[_0x1257('0x15')][_0x1257('0x14')](_0x477ddf=>{const {data:_0x11696e}=_0x477ddf;if(_0x11696e&&_0x11696e[_0x1257('0x11')]==_0x5cdda8)return _0x11696e[_0x1257('0x18')][0x0][_0x1257('0x10')]?{'type':_0x1257('0x2'),'content':_0x47ff82(_0x336b8e,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x1257('0x2'),'content':_0x47ff82(_0x336b8e,_0x1257('0x7'))};});}}
23
+ const _0x936f=['commandParams','has','_descriptionFactory','format','value','commandName','from','FORMAT_RESTRICTED_ENABLED','locale','getRanges','markInlineFormat','commands','forceValue','StandardEditingModeEditing','registerDescriptionCallback','isCollapsed','get','model','enableCommand','document','plugins','restrictedEditingException'];(function(_0x503eb2,_0x936fc){const _0x33012f=function(_0x40edba){while(--_0x40edba){_0x503eb2['push'](_0x503eb2['shift']());}};_0x33012f(++_0x936fc);}(_0x936f,0x1b5));const _0x3301=function(_0x503eb2,_0x936fc){_0x503eb2=_0x503eb2-0x0;let _0x33012f=_0x936f[_0x503eb2];return _0x33012f;};import{Plugin as _0x5020a6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x44fda8}from'./utils';import{getTranslation as _0x1b4ae4}from'../utils/common-translations';export default class lt extends _0x5020a6{['afterInit'](){const _0x4f3ca0=this['editor'],_0x5d9425=_0x4f3ca0[_0x3301('0x14')],_0xe69717=_0x4f3ca0[_0x3301('0xb')];if(!_0x4f3ca0[_0x3301('0x1')][_0x3301('0x4')](_0x3301('0x10')))return;const _0x26dfd3=_0x4f3ca0[_0x3301('0x1')][_0x3301('0x13')]('TrackChangesEditing'),_0x500233=_0x3301('0x2'),_0x13860e=_0x4f3ca0[_0x3301('0xe')][_0x3301('0x13')](_0x500233);_0x26dfd3[_0x3301('0x15')](_0x500233,(_0x5e57de,_0x3757d6={})=>{const _0x5bfa16=_0x5d9425[_0x3301('0x0')]['selection'];if(_0x5bfa16[_0x3301('0x12')])return void _0x5e57de(_0x3757d6);const _0x106198=void 0x0!==_0x3757d6[_0x3301('0xf')]?_0x3757d6[_0x3301('0xf')]:!_0x13860e[_0x3301('0x7')];_0x5d9425['change'](()=>{const _0x428e16=Array[_0x3301('0x9')](_0x5bfa16[_0x3301('0xc')]());for(const _0x2a76a6 of _0x428e16){const _0x5d7e5e=_0x106198?[_0x2a76a6]:_0x44fda8(_0x500233,_0x2a76a6,_0x5d9425);for(const _0x342c04 of _0x5d7e5e)_0x26dfd3[_0x3301('0xd')](_0x342c04,{'commandName':_0x500233,'commandParams':[{'forceValue':_0x106198}]});}});}),_0x26dfd3[_0x3301('0x5')][_0x3301('0x11')](_0x159801=>{const {data:_0x28a506}=_0x159801;if(_0x28a506&&_0x28a506[_0x3301('0x8')]==_0x500233)return _0x28a506[_0x3301('0x3')][0x0]['forceValue']?{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,_0x3301('0xa'))}:{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,'FORMAT_RESTRICTED_DISABLED')};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d15=['getStyleDefinition','block','enableCommand','*Remove\x20format:*\x20%0','toLowerCase','includes','commandParams','style:','markInlineFormat','getAncestors','createRangeOn','format','model','modelElements','push','plugins','getRanges','enabledStyles','getRangesWithClasses','find','getDefinitionsForView','style','classes','*Format:*\x20%0','commands','inline','registerDescriptionCallback','TrackChangesEditing','afterInit','style.definitions','add','getItems','every','selection','change','get','getAttribute','markBlockFormat','styleName','name','from','DataSchema','commandName','getSelectedBlocks','isCollapsed'];(function(_0x28b57c,_0x1d1531){const _0x321b14=function(_0x2a35d1){while(--_0x2a35d1){_0x28b57c['push'](_0x28b57c['shift']());}};_0x321b14(++_0x1d1531);}(_0x1d15,0x10f));const _0x321b=function(_0x28b57c,_0x1d1531){_0x28b57c=_0x28b57c-0x0;let _0x321b14=_0x1d15[_0x28b57c];return _0x321b14;};import{Plugin as _0x5512d4}from'ckeditor5/src/core';import{normalizeConfig as _0x518c85}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x39fafc}from'../utils/common-translations';export default class mt extends _0x5512d4{[_0x321b('0x1b')](){const _0x1faa37=this['editor'];if(!_0x1faa37['plugins']['has']('Style'))return;const _0x4afa2c=_0x1faa37[_0x321b('0x17')]['get'](_0x321b('0x14')),_0x297cb1=_0x1faa37[_0x321b('0xe')][_0x321b('0x22')](_0x321b('0x1a')),_0x2b44fa=_0x1faa37['locale'],_0x4598ef=_0x1faa37['plugins'][_0x321b('0x22')](_0x321b('0x28')),_0x20baee=_0x518c85(_0x4598ef,_0x1faa37['config'][_0x321b('0x22')](_0x321b('0x1c')));_0x297cb1[_0x321b('0x1')]('style',(_0x515a7f,{styleName:_0x15013e})=>{const _0x4a1a2f=_0x1faa37['model']['document'][_0x321b('0x20')],_0x56c765=this[_0x321b('0x2c')](_0x15013e,_0x20baee);if(!_0x56c765)return;if(!_0x4afa2c[_0x321b('0x10')][_0x321b('0x4')](_0x15013e))return;if(_0x4a1a2f[_0x321b('0x2b')]&&!_0x56c765['isBlock'])return void _0x515a7f({'styleName':_0x15013e});const _0x4be148=!_0x4afa2c['value'][_0x321b('0x4')](_0x56c765['name']);if(_0x56c765['isBlock']){const _0xb6e08a=function(_0x432a46,_0x14c6b6){const _0x262ca1=new Set();for(const _0x5ba0ae of _0x432a46){const _0x1643fa=_0x5ba0ae[_0x321b('0x8')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x36c000 of _0x1643fa)if(_0x14c6b6[_0x321b('0x4')](_0x36c000[_0x321b('0x26')])){_0x262ca1[_0x321b('0x1d')](_0x36c000);break;}}return _0x262ca1;}(_0x4a1a2f[_0x321b('0x2a')](),_0x56c765[_0x321b('0xc')]);_0x1faa37[_0x321b('0xb')][_0x321b('0x21')](()=>{for(const _0x208f5f of _0xb6e08a)_0x297cb1[_0x321b('0x24')](_0x208f5f,{'commandName':_0x321b('0x14'),'commandParams':[{'styleName':_0x15013e,'forceValue':_0x4be148}],'formatGroupId':_0x321b('0x6')+_0x15013e});});}else{let _0x6aacee=Array[_0x321b('0x27')](_0x4a1a2f[_0x321b('0xf')]());if(!_0x4be148){const _0x3dc02a=Array[_0x321b('0x27')](_0x4598ef[_0x321b('0x13')](_0x56c765['element'],!0x1))[0x0][_0x321b('0xb')],_0x42e4f5=[];for(const _0x17c70d of _0x6aacee){const _0xc9ee9b=this[_0x321b('0x11')](_0x1faa37[_0x321b('0xb')],_0x17c70d,_0x56c765[_0x321b('0x15')],_0x3dc02a);_0x42e4f5['push'](..._0xc9ee9b);}_0x6aacee=_0x42e4f5;}_0x1faa37[_0x321b('0xb')]['change'](()=>{for(const _0x5ec70d of _0x6aacee)_0x297cb1[_0x321b('0x7')](_0x5ec70d,{'commandName':'style','commandParams':[{'styleName':_0x15013e,'forceValue':_0x4be148}]});});}}),_0x297cb1['_descriptionFactory'][_0x321b('0x19')](_0x2cb5e1=>{const {data:_0x3d94e4}=_0x2cb5e1;if(_0x3d94e4&&_0x321b('0x14')===_0x3d94e4[_0x321b('0x29')])return _0x3d94e4[_0x321b('0x5')][0x0]['forceValue']?{'type':_0x321b('0xa'),'content':_0x39fafc(_0x2b44fa,_0x321b('0x16'),_0x3d94e4[_0x321b('0x5')][0x0]['styleName'][_0x321b('0x3')]())}:{'type':_0x321b('0xa'),'content':_0x39fafc(_0x2b44fa,_0x321b('0x2'),_0x3d94e4[_0x321b('0x5')][0x0][_0x321b('0x25')][_0x321b('0x3')]())};});}[_0x321b('0x2c')](_0xf2d1c2,_0x3aef75){let _0x400452=_0x3aef75[_0x321b('0x0')][_0x321b('0x12')](_0x4be6a2=>_0x4be6a2[_0x321b('0x26')]===_0xf2d1c2);return _0x400452||(_0x400452=_0x3aef75[_0x321b('0x18')][_0x321b('0x12')](_0x5eaaa6=>_0x5eaaa6[_0x321b('0x26')]===_0xf2d1c2)),_0x400452;}['getRangesWithClasses'](_0x360d1d,_0x9efcfe,_0x325512,_0x3f5609){const _0x120ca8=[];for(const _0x43be42 of _0x9efcfe[_0x321b('0x1e')]()){const _0x2eafb9=_0x43be42[_0x321b('0x23')](_0x3f5609);_0x2eafb9&&(_0x325512[_0x321b('0x1f')](_0x2eb7e1=>_0x2eafb9['classes']['includes'](_0x2eb7e1))&&_0x120ca8[_0x321b('0xd')](_0x360d1d[_0x321b('0x9')](_0x43be42)));}return _0x120ca8;}}
23
+ const _0x1c9a=['enabledStyles','plugins','push','isCollapsed','commandName','getAncestors','block','includes','selection','element','getStyleDefinition','style','styleName','modelElements','change','*Format:*\x20%0','classes','TrackChangesEditing','value','every','add','createRangeOn','enableCommand','find','has','inline','name','markBlockFormat','get','locale','format','toLowerCase','getDefinitionsForView','getAttribute','commands','*Remove\x20format:*\x20%0','model','isBlock','document','getRangesWithClasses','afterInit','style.definitions','_descriptionFactory'];(function(_0x3e7482,_0x1c9aa4){const _0x4ccc7e=function(_0x3d05e7){while(--_0x3d05e7){_0x3e7482['push'](_0x3e7482['shift']());}};_0x4ccc7e(++_0x1c9aa4);}(_0x1c9a,0x16a));const _0x4ccc=function(_0x3e7482,_0x1c9aa4){_0x3e7482=_0x3e7482-0x0;let _0x4ccc7e=_0x1c9a[_0x3e7482];return _0x4ccc7e;};import{Plugin as _0x5e6c2e}from'ckeditor5/src/core';import{normalizeConfig as _0x5ee2d5}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x2e51a1}from'../utils/common-translations';export default class mt extends _0x5e6c2e{[_0x4ccc('0x16')](){const _0x4c527b=this['editor'];if(!_0x4c527b[_0x4ccc('0x1a')][_0x4ccc('0x6')]('Style'))return;const _0x469edb=_0x4c527b[_0x4ccc('0x10')][_0x4ccc('0xa')](_0x4ccc('0x24')),_0x299786=_0x4c527b[_0x4ccc('0x1a')]['get'](_0x4ccc('0x2a')),_0x2eecd8=_0x4c527b[_0x4ccc('0xb')],_0x4823c4=_0x4c527b['plugins'][_0x4ccc('0xa')]('DataSchema'),_0x1ee214=_0x5ee2d5(_0x4823c4,_0x4c527b['config'][_0x4ccc('0xa')](_0x4ccc('0x17')));_0x299786[_0x4ccc('0x4')](_0x4ccc('0x24'),(_0xb0c68c,{styleName:_0x3d13ad})=>{const _0x83b009=_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x14')][_0x4ccc('0x21')],_0x146414=this[_0x4ccc('0x23')](_0x3d13ad,_0x1ee214);if(!_0x146414)return;if(!_0x469edb[_0x4ccc('0x19')][_0x4ccc('0x20')](_0x3d13ad))return;if(_0x83b009[_0x4ccc('0x1c')]&&!_0x146414[_0x4ccc('0x13')])return void _0xb0c68c({'styleName':_0x3d13ad});const _0x269a60=!_0x469edb[_0x4ccc('0x0')][_0x4ccc('0x20')](_0x146414['name']);if(_0x146414[_0x4ccc('0x13')]){const _0x5690f8=function(_0x177309,_0x48ab59){const _0x43b29b=new Set();for(const _0x45bb7b of _0x177309){const _0x4897b0=_0x45bb7b[_0x4ccc('0x1e')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x47b9ab of _0x4897b0)if(_0x48ab59['includes'](_0x47b9ab['name'])){_0x43b29b[_0x4ccc('0x2')](_0x47b9ab);break;}}return _0x43b29b;}(_0x83b009['getSelectedBlocks'](),_0x146414[_0x4ccc('0x26')]);_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0xbddf96 of _0x5690f8)_0x299786[_0x4ccc('0x9')](_0xbddf96,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}],'formatGroupId':'style:'+_0x3d13ad});});}else{let _0x3025c9=Array['from'](_0x83b009['getRanges']());if(!_0x269a60){const _0x4f4289=Array['from'](_0x4823c4[_0x4ccc('0xe')](_0x146414[_0x4ccc('0x22')],!0x1))[0x0]['model'],_0x2dc315=[];for(const _0x4661ef of _0x3025c9){const _0xdb3672=this[_0x4ccc('0x15')](_0x4c527b['model'],_0x4661ef,_0x146414[_0x4ccc('0x29')],_0x4f4289);_0x2dc315[_0x4ccc('0x1b')](..._0xdb3672);}_0x3025c9=_0x2dc315;}_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0x2b1afa of _0x3025c9)_0x299786['markInlineFormat'](_0x2b1afa,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}]});});}}),_0x299786[_0x4ccc('0x18')]['registerDescriptionCallback'](_0xbaafd2=>{const {data:_0xd5d3d6}=_0xbaafd2;if(_0xd5d3d6&&_0x4ccc('0x24')===_0xd5d3d6[_0x4ccc('0x1d')])return _0xd5d3d6['commandParams'][0x0]['forceValue']?{'type':_0x4ccc('0xc'),'content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x28'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')]['toLowerCase']())}:{'type':'format','content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x11'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')][_0x4ccc('0xd')]())};});}[_0x4ccc('0x23')](_0x2c221e,_0x4ed24f){let _0x45a938=_0x4ed24f[_0x4ccc('0x1f')]['find'](_0xc3138e=>_0xc3138e[_0x4ccc('0x8')]===_0x2c221e);return _0x45a938||(_0x45a938=_0x4ed24f[_0x4ccc('0x7')][_0x4ccc('0x5')](_0x78e46b=>_0x78e46b[_0x4ccc('0x8')]===_0x2c221e)),_0x45a938;}['getRangesWithClasses'](_0xeac3b4,_0x396af9,_0x1ce011,_0x27cd09){const _0x5e71bd=[];for(const _0x59df20 of _0x396af9['getItems']()){const _0x14ce12=_0x59df20[_0x4ccc('0xf')](_0x27cd09);_0x14ce12&&(_0x1ce011[_0x4ccc('0x1')](_0x1793ee=>_0x14ce12[_0x4ccc('0x29')]['includes'](_0x1793ee))&&_0x5e71bd['push'](_0xeac3b4[_0x4ccc('0x3')](_0x59df20)));}return _0x5e71bd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ecc=['minRow','suggestion','plugins','length','get','accept','getRanges','nodeAfter','getSuggestion','getAttribute','registerElementLabel','getCellLocation','rootName','isTouching','getChildren','writer','root','options','start','insert','showSuggestionHighlights','toViewElement','cell','downcastDispatcher','from','rowspan','insertTableColumnRight','first','subType','tablePaste','getChanges','createRangeIn','TableEditing','MIN_SAFE_INTEGER','ELEMENT_TABLE_COLUMN','change:data','markMultiRangeDeletion','textProxy','findAncestor','createTableWalker','insertTableRowBelow','above','_tablePostFixingSubtypes','getSelectionAffectedTableCells','batch','TrackChangesEditing','colspan','_tableSuggestions','map','includes','document','refresh','*Insert:*\x20%0','oldRange','substr','createRangeOn','insertTableColumnLeft','has','maxRow','isArray','_setupColumnsRowsFixing','end','_getCoordsForCells','model','_splitMarkerName','commands','ELEMENT_TABLE','join','position','removeTableColumn','registerCustomCallback','startsWith','hasAttribute','addRange','push','ELEMENT_TABLE_COLUMN_WITH_TEXT','add','getItems','_getSuggestionCoords','ELEMENT_TABLE_WITH_TEXT','execute','classes','editor','every','*Remove:*\x20%0','table','isIntersectingWithRange','enqueueChange','nodeBefore','getContainedElement','registerPostFixer','type','toLowerCase','isInContent','_descriptionFactory','fromRange','removeTableRow','getColumnIndexes','max','createPositionAt','removeClass','insertTable','left','last','ELEMENT_TABLE_ROW_WITH_TEXT','some','insertion','min','tableRow','setSelection','isEqual','change','order','ELEMENT_TABLE_ROW','detach','selectTableColumn','enableCommand','addClass','tableCell','filter','data','selection','registerDescriptionCallback','differ','TableUtils','name','forceValue','maxColumn','_suggestionFactory','$graveyard','tableColumn','afterInit','mapper','span','getRowIndexes','getChangedMarkers','MAX_SAFE_INTEGER','deletion','markMultiRangeInsertion'];(function(_0xdf81e2,_0x3eccb5){const _0xe0247=function(_0x247da8){while(--_0x247da8){_0xdf81e2['push'](_0xdf81e2['shift']());}};_0xe0247(++_0x3eccb5);}(_0x3ecc,0x9e));const _0xe024=function(_0xdf81e2,_0x3eccb5){_0xdf81e2=_0xdf81e2-0x0;let _0xe0247=_0x3ecc[_0xdf81e2];return _0xe0247;};import{Plugin as _0x225fb5}from'ckeditor5/src/core';import{LiveRange as _0x455a87}from'ckeditor5/src/engine';import{setHighlightHandling as _0x29112c}from'ckeditor5/src/widget';import{getTranslation as _0x590e85}from'../utils/common-translations';export default class dt extends _0x225fb5{constructor(_0x539bcf){super(_0x539bcf),this['_tablePostFixingSubtypes']=[_0xe024('0x59'),_0xe024('0x6f')];}[_0xe024('0x70')](){const _0xa08c75=this[_0xe024('0x3f')],_0x58898c=_0xa08c75[_0xe024('0x2c')][_0xe024('0x1f')]['selection'];if(!_0xa08c75[_0xe024('0x7a')][_0xe024('0x26')](_0xe024('0xd')))return;const _0x20dcd4=_0xa08c75['locale'],_0x326517=_0xa08c75[_0xe024('0x7a')]['get'](_0xe024('0x1a')),_0x31e079=_0xa08c75[_0xe024('0x7a')]['get'](_0xe024('0x69'));_0x326517[_0xe024('0x4b')][_0xe024('0x82')](_0xe024('0x42'),_0x59f657=>_0x590e85(_0x20dcd4,_0xe024('0x2f'),_0x59f657)),this[_0xe024('0x29')](),_0x326517[_0xe024('0x61')](_0xe024('0x52')),_0x326517[_0xe024('0x61')]('selectTableRow'),_0x326517[_0xe024('0x61')](_0xe024('0x60'));for(const _0x144bd5 of['insertTableRowAbove',_0xe024('0x15')]){const _0xadc1af=_0xa08c75[_0xe024('0x2e')][_0xe024('0x7c')](_0x144bd5);_0x326517[_0xe024('0x61')](_0x144bd5,_0x10b15b=>{_0xa08c75['model'][_0xe024('0x5c')](_0x439085=>{_0x10b15b();const _0x9b7495=_0xe024('0x16')===_0xadc1af[_0xe024('0x5d')],_0x1677ae=_0x31e079[_0xe024('0x18')](_0x58898c),_0x3af9cc=_0x31e079['getRowIndexes'](_0x1677ae),_0x17536c=_0x9b7495?_0x3af9cc['first']-0x1:_0x3af9cc[_0xe024('0x54')]+0x1,_0x583585=_0x1677ae[0x0][_0xe024('0x13')](_0xe024('0x42')),_0x9e5c8a=_0x31e079[_0xe024('0x14')](_0x583585,{'startRow':_0x17536c,'endRow':_0x17536c}),_0x2c1752=Array[_0xe024('0x5')](_0x9e5c8a)['map'](_0x4aa2d3=>_0x439085[_0xe024('0x24')](_0x4aa2d3[_0xe024('0x3')]));_0x326517[_0xe024('0x77')](_0x2c1752,'tableRow');});});}for(const _0x72775c of[_0xe024('0x25'),_0xe024('0x7')]){const _0x395914=_0xa08c75[_0xe024('0x2e')]['get'](_0x72775c);_0x326517[_0xe024('0x61')](_0x72775c,_0x101387=>{_0xa08c75[_0xe024('0x2c')]['change'](_0x1cd7eb=>{_0x101387();const _0x3dbf9d=_0xe024('0x53')===_0x395914[_0xe024('0x5d')],_0x328fce=_0x31e079[_0xe024('0x18')](_0x58898c),_0x55fd66=_0x31e079[_0xe024('0x4e')](_0x328fce),_0x368047=_0x3dbf9d?_0x55fd66[_0xe024('0x8')]-0x1:_0x55fd66[_0xe024('0x54')]+0x1,_0x20b94d=_0x328fce[0x0][_0xe024('0x13')](_0xe024('0x42')),_0x2d9938=_0x31e079['createTableWalker'](_0x20b94d,{'startRow':0x0,'column':_0x368047,'includeAllSlots':!0x1}),_0x558896=Array[_0xe024('0x5')](_0x2d9938)['map'](_0x1610f8=>_0x1cd7eb[_0xe024('0x24')](_0x1610f8['cell']));_0x326517[_0xe024('0x77')](_0x558896,'tableColumn');});});}for(const _0x4dd8c5 of[_0xe024('0x4d'),_0xe024('0x32')]){const _0x464c65=_0x4dd8c5['substr'](0xb),_0x2afb97=_0x464c65[_0xe024('0x49')](),_0x1cbc31=_0x2afb97[_0xe024('0x23')](0x0,0x3)+_0xe024('0x72'),_0x4a487b=_0xe024('0x42')+_0x464c65,_0x3e47c2=_0xe024('0x58')+_0x464c65,_0x1b85da=_0xe024('0x4f')+_0x464c65;_0x326517[_0xe024('0x61')](_0x4dd8c5,()=>{_0xa08c75[_0xe024('0x2c')][_0xe024('0x5c')](_0x3d3952=>{const _0x3d3fac=_0x31e079[_0xe024('0x18')](_0x58898c),_0x54beaf=_0x3d3fac[0x0]['findAncestor'](_0xe024('0x42'));let _0x31cafe;if(_0xe024('0x4d')==_0x4dd8c5){const _0xa022f6=_0x31e079[_0xe024('0x73')](_0x3d3fac);_0x31cafe={'startRow':_0xa022f6[_0xe024('0x8')],'endRow':_0xa022f6[_0xe024('0x54')],'includeAllSlots':!0x0};}else{const _0x1091ab=_0x31e079['getColumnIndexes'](_0x3d3fac);_0x31cafe={'startColumn':_0x1091ab[_0xe024('0x8')],'endColumn':_0x1091ab[_0xe024('0x54')],'includeAllSlots':!0x0};}const _0x4c7c05=_0x31e079[_0xe024('0x14')](_0x54beaf,_0x31cafe),_0x448dd8=Array[_0xe024('0x5')](_0x4c7c05)[_0xe024('0x1d')](({cell:_0x11fb76})=>_0x11fb76),_0x84ba24=le(_0x448dd8['filter'](_0x257fbc=>_0x257fbc[_0xe024('0x35')](_0x1cbc31))),_0x261a87=le(_0x448dd8[_0xe024('0x64')](_0x4894fe=>!_0x4894fe['hasAttribute'](_0x1cbc31)))[_0xe024('0x1d')](_0x4c7f41=>_0x3d3952['createRangeOn'](_0x4c7f41)),_0x52e6fb=_0x326517[_0xe024('0x11')](_0x261a87,_0x4a487b);if(_0x52e6fb&&(_0xe024('0x59')==_0x52e6fb[_0xe024('0x9')]||_0xe024('0x6f')==_0x52e6fb['subType'])){const _0x5e303f=this[_0xe024('0x3b')](_0x52e6fb);for(const _0x1e131e of _0x84ba24){const _0x331ab5=_0x3d3952[_0xe024('0x24')](_0x1e131e),_0x548551=_0x31e079['getCellLocation'](_0x1e131e),_0x16f874=_0x1e131e[_0xe024('0x81')](_0x1cbc31)-0x1,_0x144ab5=_0x5e303f[_0x3e47c2],_0x4af4f7=_0x5e303f[_0x1b85da];_0x144ab5<=_0x548551[_0x2afb97]&&_0x548551[_0x2afb97]+_0x16f874<=_0x4af4f7&&_0x52e6fb['addRange'](_0x331ab5);}}});});}function _0x31e932(_0x167ba6){const _0x84a4d3=Array[_0xe024('0x5')](_0x58898c[_0xe024('0x7e')]())[_0xe024('0x1d')](_0x26671b=>_0x455a87[_0xe024('0x4c')](_0x26671b));_0xa08c75[_0xe024('0x2c')][_0xe024('0x5c')](_0x1b2e03=>{const _0x44db1f=_0x1b2e03[_0xe024('0x19')];_0x167ba6=_0x167ba6[_0xe024('0x64')](_0x4c8ccc=>_0xe024('0x6e')!=_0x4c8ccc[_0xe024('0x88')][_0xe024('0x84')]),_0x1b2e03['setSelection'](_0x167ba6),_0xa08c75[_0xe024('0x2e')][_0xe024('0x7c')]('removeTableRow')[_0xe024('0x20')](),_0xa08c75[_0xe024('0x3d')](_0xe024('0x4d'),{'forceDefaultExecution':!0x0}),_0xa08c75[_0xe024('0x2c')][_0xe024('0x44')](()=>{_0xa08c75[_0xe024('0x2c')]['enqueueChange'](_0x44db1f,_0x13707c=>{const _0x4f4a8b=_0x84a4d3[_0xe024('0x64')](_0x437dcb=>_0xe024('0x6e')!=_0x437dcb[_0xe024('0x88')][_0xe024('0x84')]);_0x4f4a8b[_0xe024('0x7b')]>0x0&&_0x13707c['setSelection'](_0x4f4a8b);for(const _0x2a2a0 of _0x84a4d3)_0x2a2a0['detach']();});});});}function _0x5353cf(_0x14d8dc){_0xa08c75[_0xe024('0x2c')][_0xe024('0x5c')](_0x51694b=>{const _0x5c3206=Array['from'](_0x58898c['getRanges']())[_0xe024('0x1d')](_0x26cf7e=>_0x455a87[_0xe024('0x4c')](_0x26cf7e)),_0x86fdcf=[];for(const _0x1ca02d of _0x14d8dc)for(const _0x509895 of _0x1ca02d[_0xe024('0x3a')]({'shallow':!0x0}))_0x86fdcf[_0xe024('0x37')](_0x509895);for(const _0x3e5960 of _0x86fdcf)_0xe024('0x6e')!=_0x3e5960[_0xe024('0x88')]['rootName']&&(_0x51694b[_0xe024('0x5a')](_0x51694b[_0xe024('0x50')](_0x3e5960,0x0)),_0xa08c75[_0xe024('0x2e')][_0xe024('0x7c')](_0xe024('0x32'))[_0xe024('0x20')](),_0xa08c75[_0xe024('0x3d')](_0xe024('0x32'),{'forceDefaultExecution':!0x0}));const _0x37ea6c=_0x5c3206[_0xe024('0x64')](_0x5dc66c=>_0xe024('0x6e')!=_0x5dc66c[_0xe024('0x88')][_0xe024('0x84')]);_0x37ea6c[_0xe024('0x7b')]>0x0&&_0x51694b[_0xe024('0x5a')](_0x37ea6c);for(const _0x341392 of _0x5c3206)_0x341392[_0xe024('0x5f')]();});}function _0x1ea9fa(_0x5f022e,_0x48e4ff){return _0x48e4ff[_0xe024('0x40')](_0x160399=>_0x5f022e['some'](_0x59718d=>_0x59718d[_0xe024('0x2a')][_0xe024('0x5b')](_0x160399[_0xe024('0x8a')])||_0x160399[_0xe024('0x2a')]['isEqual'](_0x59718d[_0xe024('0x8a')])));}function _0x1d6802(_0x12b236,_0x511ac8){return _0x12b236[_0xe024('0x56')](_0x2f0144=>_0x511ac8[_0xe024('0x56')](_0x343b06=>_0x2f0144[_0xe024('0x2a')][_0xe024('0x85')](_0x343b06[_0xe024('0x8a')])));}_0xa08c75[_0xe024('0x65')][_0xe024('0x4')]['on']('addMarker:suggestion',(_0x58657d,_0x1e011c,_0x238823)=>{if(!_0x238823[_0xe024('0x89')][_0xe024('0x1')])return;const _0x4c0b04=_0x1e011c['item'];if(!_0x4c0b04)return;const _0x196764=_0x238823[_0xe024('0x71')][_0xe024('0x2')](_0x4c0b04);function _0x3bfd4a(_0xc1e449){return Array[_0xe024('0x28')](_0xc1e449)?_0xc1e449:[_0xc1e449];}_0x196764&&_0xe024('0x63')===_0x4c0b04[_0xe024('0x6a')]&&_0x29112c(_0x196764,_0x238823[_0xe024('0x87')],(_0x4cac31,_0x2a6bb8,_0x1b84aa)=>_0x1b84aa[_0xe024('0x62')](_0x3bfd4a(_0x2a6bb8['classes']),_0x4cac31),(_0x3a9096,_0x802f03,_0x2d3184)=>_0x2d3184[_0xe024('0x51')](_0x3bfd4a(_0x802f03[_0xe024('0x3e')]),_0x3a9096));},{'priority':'highest'}),_0x326517[_0xe024('0x4b')][_0xe024('0x67')](_0x2ef3eb=>{if('insertion'!=_0x2ef3eb['type']&&_0xe024('0x76')!=_0x2ef3eb[_0xe024('0x48')])return;const _0x29860c=_0x2ef3eb[_0xe024('0x46')]();if(null!=_0x29860c&&_0x29860c['is']('element',_0xe024('0x42'))){if(_0xe024('0x57')==_0x2ef3eb['type']){const _0x2b8b9b=_0x2ef3eb[_0xe024('0x3a')]()[_0xe024('0x64')](_0x557c75=>_0x557c75['is']('textProxy'))['map'](_0x5d6d8c=>_0x5d6d8c[_0xe024('0x65')]);if(_0x2b8b9b[_0xe024('0x7b')])return{'type':_0xe024('0x57'),'content':_0x590e85(_0x20dcd4,'*Insert:*\x20%0',_0x590e85(_0x20dcd4,_0xe024('0x3c'),'\x22'+_0x2b8b9b[_0xe024('0x30')]('\x20')+'\x22'))};}if('deletion'==_0x2ef3eb[_0xe024('0x48')]){const _0x155948=_0x2ef3eb['getItems']()[_0xe024('0x64')](_0x3abf45=>_0x3abf45['is'](_0xe024('0x12')))[_0xe024('0x1d')](_0x4025a6=>_0x4025a6['data']);if(_0x155948[_0xe024('0x7b')])return{'type':_0xe024('0x76'),'content':_0x590e85(_0x20dcd4,_0xe024('0x41'),_0x590e85(_0x20dcd4,_0xe024('0x3c'),'\x22'+_0x155948['join']('\x20')+'\x22'))};}}}),_0x326517[_0xe024('0x4b')][_0xe024('0x67')](_0xa64c68=>{if(_0xe024('0x59')==_0xa64c68[_0xe024('0x9')]){const _0x97ea15=_0xa64c68[_0xe024('0x3a')]()[_0xe024('0x64')](_0x4f474f=>_0x4f474f['is'](_0xe024('0x12')))[_0xe024('0x1d')](_0x5d787e=>_0x5d787e[_0xe024('0x65')]),_0x855e77=this[_0xe024('0x3b')](_0xa64c68),_0x38c796=_0x855e77[_0xe024('0x27')]-_0x855e77[_0xe024('0x78')]+0x1;if(_0xe024('0x57')==_0xa64c68[_0xe024('0x48')])return _0x97ea15[_0xe024('0x7b')]?{'type':'insertion','content':_0x590e85(_0x20dcd4,'*Insert:*\x20%0',_0x590e85(_0x20dcd4,_0xe024('0x55'),[_0x38c796,'\x22'+_0x97ea15[_0xe024('0x30')]('\x20')+'\x22']))}:{'type':_0xe024('0x57'),'content':_0x590e85(_0x20dcd4,'*Insert:*\x20%0',_0x590e85(_0x20dcd4,_0xe024('0x5e'),_0x38c796))};if(_0xe024('0x76')==_0xa64c68[_0xe024('0x48')])return _0x97ea15[_0xe024('0x7b')]?{'type':_0xe024('0x76'),'content':_0x590e85(_0x20dcd4,_0xe024('0x41'),_0x590e85(_0x20dcd4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x38c796,'\x22'+_0x97ea15[_0xe024('0x30')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x590e85(_0x20dcd4,_0xe024('0x41'),_0x590e85(_0x20dcd4,_0xe024('0x5e'),_0x38c796))};}if(_0xe024('0x6f')==_0xa64c68[_0xe024('0x9')]){const _0x5a189a=_0xa64c68[_0xe024('0x3a')]()[_0xe024('0x64')](_0x2edf44=>_0x2edf44['is'](_0xe024('0x12')))[_0xe024('0x1d')](_0x1564b3=>_0x1564b3['data']),_0x4e9ebc=this[_0xe024('0x3b')](_0xa64c68),_0x1f7b61=_0x4e9ebc[_0xe024('0x6c')]-_0x4e9ebc['minColumn']+0x1;if(_0xe024('0x57')==_0xa64c68[_0xe024('0x48')])return _0x5a189a['length']?{'type':'insertion','content':_0x590e85(_0x20dcd4,_0xe024('0x21'),_0x590e85(_0x20dcd4,_0xe024('0x38'),[_0x1f7b61,'\x22'+_0x5a189a[_0xe024('0x30')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x590e85(_0x20dcd4,_0xe024('0x21'),_0x590e85(_0x20dcd4,_0xe024('0xf'),_0x1f7b61))};if(_0xe024('0x76')==_0xa64c68[_0xe024('0x48')])return _0x5a189a['length']?{'type':_0xe024('0x76'),'content':_0x590e85(_0x20dcd4,'*Remove:*\x20%0',_0x590e85(_0x20dcd4,_0xe024('0x38'),[_0x1f7b61,'\x22'+_0x5a189a[_0xe024('0x30')]('\x20')+'\x22']))}:{'type':_0xe024('0x76'),'content':_0x590e85(_0x20dcd4,_0xe024('0x41'),_0x590e85(_0x20dcd4,_0xe024('0xf'),_0x1f7b61))};}}),_0x326517[_0xe024('0x6d')]['registerCustomCallback']('insertion',_0xe024('0x59'),'discard',_0x31e932),_0x326517['_suggestionFactory'][_0xe024('0x33')](_0xe024('0x76'),_0xe024('0x59'),_0xe024('0x7d'),_0x31e932),_0x326517[_0xe024('0x6d')][_0xe024('0x33')](_0xe024('0x57'),_0xe024('0x6f'),'discard',_0x5353cf),_0x326517[_0xe024('0x6d')][_0xe024('0x33')]('deletion',_0xe024('0x6f'),'accept',_0x5353cf),_0x326517[_0xe024('0x6d')][_0xe024('0x33')](_0xe024('0x57'),_0xe024('0x6f'),_0xe024('0x30'),_0x1ea9fa),_0x326517[_0xe024('0x6d')][_0xe024('0x33')](_0xe024('0x76'),'tableColumn','join',_0x1ea9fa),_0x326517[_0xe024('0x6d')][_0xe024('0x33')](_0xe024('0x57'),_0xe024('0x59'),_0xe024('0x30'),_0x1d6802),_0x326517['_suggestionFactory'][_0xe024('0x33')](_0xe024('0x76'),'tableRow',_0xe024('0x30'),_0x1d6802);}['_acceptFormatSuggestionCallbackFactory'](){const _0x477c8f=this[_0xe024('0x3f')],_0x51add5=_0x477c8f[_0xe024('0x2c')][_0xe024('0x1f')][_0xe024('0x66')];return(_0x1d4b29,_0x1e2dff)=>{_0x477c8f[_0xe024('0x2c')]['change'](_0x209b43=>{const {commandName:_0x26c4dc,commandParams:_0x45bc75}=_0x1e2dff;let _0x416c23=_0x1d4b29[0x0][_0xe024('0x2a')][_0xe024('0x45')];_0x45bc75&&_0x45bc75[0x0]&&!0x1===_0x45bc75[0x0][_0xe024('0x6b')]&&(_0x416c23=_0x1d4b29[0x0][_0xe024('0x8a')][_0xe024('0x7f')]);const _0x4b4ca5=_0x209b43[_0xe024('0xc')](_0x416c23);if(_0xe024('0x6e')==_0x4b4ca5[_0xe024('0x88')][_0xe024('0x84')])return;const _0x44116f=Array[_0xe024('0x5')](_0x51add5[_0xe024('0x7e')]())[_0xe024('0x1d')](_0x4f85fb=>_0x455a87[_0xe024('0x4c')](_0x4f85fb));_0x209b43[_0xe024('0x5a')](_0x4b4ca5),_0x477c8f[_0xe024('0x2e')][_0xe024('0x7c')](_0x26c4dc)['refresh'](),_0x45bc75[_0xe024('0x37')]({'forceDefaultExecution':!0x0}),_0x477c8f[_0xe024('0x3d')](_0x26c4dc,..._0x45bc75);const _0x539895=_0x44116f['filter'](_0xdde904=>_0xe024('0x6e')!=_0xdde904[_0xe024('0x88')]['rootName']);_0x539895['length']>0x0&&_0x209b43['setSelection'](_0x539895);for(const _0x2a04b2 of _0x44116f)_0x2a04b2[_0xe024('0x5f')]();});};}[_0xe024('0x2b')](_0x2d2686){const _0x4a3d4f=this[_0xe024('0x3f')][_0xe024('0x7a')][_0xe024('0x7c')](_0xe024('0x69'));let _0x354d01=Number[_0xe024('0x75')],_0x5aa349=Number[_0xe024('0xe')],_0x542cd9=Number['MAX_SAFE_INTEGER'],_0x1ef829=Number[_0xe024('0xe')];for(const _0x5be040 of _0x2d2686){if(_0xe024('0x6e')==_0x5be040[_0xe024('0x88')][_0xe024('0x84')])continue;const {row:_0x300836,column:_0x413f70}=_0x4a3d4f['getCellLocation'](_0x5be040),_0x38855b=_0x5be040[_0xe024('0x35')](_0xe024('0x6'))?_0x5be040['getAttribute'](_0xe024('0x6'))-0x1:0x0,_0xc2dfcc=_0x5be040['hasAttribute']('colspan')?_0x5be040[_0xe024('0x81')](_0xe024('0x1b'))-0x1:0x0;_0x354d01=_0x300836<_0x354d01?_0x300836:_0x354d01,_0x5aa349=_0x300836+_0x38855b>_0x5aa349?_0x300836+_0x38855b:_0x5aa349,_0x542cd9=_0x413f70<_0x542cd9?_0x413f70:_0x542cd9,_0x1ef829=_0x413f70+_0xc2dfcc>_0x1ef829?_0x413f70+_0xc2dfcc:_0x1ef829;}return{'minRow':_0x354d01,'maxRow':_0x5aa349,'minColumn':_0x542cd9,'maxColumn':_0x1ef829};}['_setupColumnsRowsFixing'](){const _0x227154=this[_0xe024('0x3f')],_0x23bf9e=_0x227154[_0xe024('0x7a')]['get'](_0xe024('0x1a')),_0x5a40f6=_0x227154[_0xe024('0x7a')][_0xe024('0x7c')](_0xe024('0x69'));this[_0xe024('0x1c')]=new Set(),_0x227154[_0xe024('0x2c')][_0xe024('0x1f')]['on'](_0xe024('0x10'),()=>{const _0x2cf80e=Array[_0xe024('0x5')](_0x227154[_0xe024('0x2c')]['document'][_0xe024('0x68')][_0xe024('0x74')]());for(const {name:_0x1cb7a2,data:_0x1ccf9a}of _0x2cf80e){const {group:_0x27b7a7,id:_0x3fd8d6,subType:_0xa1ee6e}=_0x23bf9e[_0xe024('0x2d')](_0x1cb7a2);if(_0xe024('0x79')!=_0x27b7a7)continue;if(null!=_0x1ccf9a[_0xe024('0x22')])continue;const _0xb1495b=_0x23bf9e[_0xe024('0x80')](_0x3fd8d6);this[_0xe024('0x17')][_0xe024('0x1e')](_0xa1ee6e)&&this[_0xe024('0x1c')][_0xe024('0x39')](_0xb1495b);}},{'priority':'low'});const _0x6b3ffb=(_0x1540a2,_0x590db1)=>{let _0x24eb5f=!0x1;const _0x132af0=_0x590db1[_0xe024('0x24')](_0x1540a2),_0x99febe=_0x1540a2[_0xe024('0x13')](_0xe024('0x42')),_0x3b4ab4=_0x5a40f6[_0xe024('0x83')](_0x1540a2);for(const _0x248a62 of this[_0xe024('0x1c')]){const _0xd7297a=_0x248a62[_0xe024('0x9')],_0x35ad61=_0xd7297a[_0xe024('0x34')](_0xe024('0xa')),_0x13a30c=_0xd7297a['substr'](_0x35ad61?0xa:0x5),_0x5bb7cc=_0x13a30c[_0xe024('0x49')](),_0x3ef4b5=_0x5bb7cc[_0xe024('0x23')](0x0,0x3)+_0xe024('0x72'),_0x69a950=_0xe024('0x58')+_0x13a30c,_0xa6ac79=_0xe024('0x4f')+_0x13a30c;if(!_0x248a62[_0xe024('0x4a')])continue;if(_0x99febe!=_0x248a62['getFirstRange']()[_0xe024('0x8a')][_0xe024('0x13')]('table'))continue;if(_0x248a62[_0xe024('0x43')](_0x132af0))continue;const _0x173a17=_0x1540a2[_0xe024('0x35')](_0x3ef4b5)?_0x1540a2[_0xe024('0x81')](_0x3ef4b5)-0x1:0x0,_0x49f94f=this[_0xe024('0x3b')](_0x248a62),_0x2ebc16=_0x49f94f[_0x69a950],_0x4662d2=_0x49f94f[_0xa6ac79];_0x2ebc16<=_0x3b4ab4[_0x5bb7cc]&&_0x3b4ab4[_0x5bb7cc]+_0x173a17<=_0x4662d2&&(_0x248a62[_0xe024('0x36')](_0x132af0),_0x24eb5f=!0x0);}return _0x24eb5f;};_0x227154[_0xe024('0x2c')][_0xe024('0x1f')][_0xe024('0x47')](_0x3e3c4a=>{let _0x5c36a0=!0x1;for(const _0x287d53 of _0x227154[_0xe024('0x2c')][_0xe024('0x1f')][_0xe024('0x68')][_0xe024('0xb')]())if(_0xe024('0x0')==_0x287d53[_0xe024('0x48')]){if(_0xe024('0x59')==_0x287d53[_0xe024('0x6a')])for(const _0x2b805b of _0x287d53[_0xe024('0x31')][_0xe024('0x7f')][_0xe024('0x86')]())_0x5c36a0=_0x5c36a0||_0x6b3ffb(_0x2b805b,_0x3e3c4a);else'tableCell'==_0x287d53['name']&&(_0x5c36a0=_0x5c36a0||_0x6b3ffb(_0x287d53[_0xe024('0x31')][_0xe024('0x7f')],_0x3e3c4a));}return _0x5c36a0;});}[_0xe024('0x3b')](_0x3700d9){return this[_0xe024('0x2b')](_0x3700d9[_0xe024('0x7e')]()[_0xe024('0x1d')](_0x47b196=>_0x47b196[_0xe024('0x8a')][_0xe024('0x7f')]));}}function le(_0x2a87d7){return Array['from'](new Set(_0x2a87d7)['values']());}
23
+ const _0x27d4=['end','colspan','afterInit','mapper','push','ELEMENT_TABLE_WITH_TEXT','insertTable','isEqual','_acceptFormatSuggestionCallbackFactory','editor','detach','markMultiRangeInsertion','highest','get','nodeBefore','markMultiRangeDeletion','refresh','plugins','createTableWalker','document','ELEMENT_TABLE_COLUMN','values','_setupColumnsRowsFixing','hasAttribute','position','above','options','first','length','TableUtils','some','model','$graveyard','getSelectionAffectedTableCells','fromRange','classes','*Insert:*\x20%0','getContainedElement','getChanges','findAncestor','substr','ELEMENT_TABLE_ROW_WITH_TEXT','includes','getChangedMarkers','setSelection','_getSuggestionCoords','max','deletion','showSuggestionHighlights','root','selection','createPositionAt','_descriptionFactory','discard','differ','locale','minColumn','getChildren','removeClass','_tableSuggestions','filter','registerDescriptionCallback','map','insertTableRowBelow','order','enableCommand','execute','getColumnIndexes','createRangeIn','type','span','insertTableColumnLeft','tableColumn','accept','TrackChangesEditing','rootName','from','forceValue','nodeAfter','minRow','rowspan','oldRange','getFirstRange','insert','enqueueChange','addClass','tableCell','addRange','insertTableRowAbove','data','commands','_getCoordsForCells','name','ELEMENT_TABLE','registerCustomCallback','isInContent','change','last','textProxy','startsWith','maxColumn','getItems','add','removeTableRow','_suggestionFactory','element','tablePaste','tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','getRanges','MIN_SAFE_INTEGER','table','TableEditing','has','registerElementLabel','registerPostFixer','min','getAttribute','cell','item','createRangeOn','_tablePostFixingSubtypes','MAX_SAFE_INTEGER','start','left','subType','*Remove:*\x20%0','toLowerCase','isTouching','join','getCellLocation','insertion','selectTableColumn','removeTableColumn'];(function(_0x2f4ca1,_0x27d4e6){const _0x598831=function(_0x1218e9){while(--_0x1218e9){_0x2f4ca1['push'](_0x2f4ca1['shift']());}};_0x598831(++_0x27d4e6);}(_0x27d4,0x12a));const _0x5988=function(_0x2f4ca1,_0x27d4e6){_0x2f4ca1=_0x2f4ca1-0x0;let _0x598831=_0x27d4[_0x2f4ca1];return _0x598831;};import{Plugin as _0x2f832b}from'ckeditor5/src/core';import{LiveRange as _0x40b883}from'ckeditor5/src/engine';import{setHighlightHandling as _0x13f7fa}from'ckeditor5/src/widget';import{getTranslation as _0x576c85}from'../utils/common-translations';export default class dt extends _0x2f832b{constructor(_0x5195e8){super(_0x5195e8),this[_0x5988('0x5e')]=[_0x5988('0x4f'),'tableColumn'];}[_0x5988('0x6d')](){const _0x3cc866=this[_0x5988('0x74')],_0x8fe794=_0x3cc866[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];if(!_0x3cc866[_0x5988('0x7c')][_0x5988('0x56')](_0x5988('0x55')))return;const _0x4e3e4c=_0x3cc866[_0x5988('0x1b')],_0x23a788=_0x3cc866[_0x5988('0x7c')]['get'](_0x5988('0x2e')),_0xef7949=_0x3cc866[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));_0x23a788[_0x5988('0x18')][_0x5988('0x57')](_0x5988('0x54'),_0xec3ffc=>_0x576c85(_0x4e3e4c,_0x5988('0x41'),_0xec3ffc)),this[_0x5988('0x81')](),_0x23a788[_0x5988('0x25')](_0x5988('0x71')),_0x23a788[_0x5988('0x25')]('selectTableRow'),_0x23a788[_0x5988('0x25')](_0x5988('0x69'));for(const _0x5ab85f of[_0x5988('0x3c'),_0x5988('0x23')]){const _0x364873=_0x3cc866[_0x5988('0x3e')]['get'](_0x5ab85f);_0x23a788[_0x5988('0x25')](_0x5ab85f,_0x1d942b=>{_0x3cc866['model'][_0x5988('0x44')](_0xfcb217=>{_0x1d942b();const _0x556433=_0x5988('0x84')===_0x364873[_0x5988('0x24')],_0x38917d=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x2839ed=_0xef7949['getRowIndexes'](_0x38917d),_0x81d42c=_0x556433?_0x2839ed['first']-0x1:_0x2839ed['last']+0x1,_0x7dd5c3=_0x38917d[0x0][_0x5988('0xb')](_0x5988('0x54')),_0x59c775=_0xef7949[_0x5988('0x7d')](_0x7dd5c3,{'startRow':_0x81d42c,'endRow':_0x81d42c}),_0xdbd52b=Array[_0x5988('0x30')](_0x59c775)[_0x5988('0x22')](_0x3ba11a=>_0xfcb217[_0x5988('0x5d')](_0x3ba11a['cell']));_0x23a788[_0x5988('0x76')](_0xdbd52b,_0x5988('0x4f'));});});}for(const _0x38b0e0 of[_0x5988('0x2b'),'insertTableColumnRight']){const _0x437a72=_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x38b0e0);_0x23a788[_0x5988('0x25')](_0x38b0e0,_0x5b5cc4=>{_0x3cc866[_0x5988('0x3')]['change'](_0x466894=>{_0x5b5cc4();const _0x306279=_0x5988('0x61')===_0x437a72[_0x5988('0x24')],_0x11ff0f=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x4faca0=_0xef7949[_0x5988('0x27')](_0x11ff0f),_0x40fba2=_0x306279?_0x4faca0[_0x5988('0x86')]-0x1:_0x4faca0[_0x5988('0x45')]+0x1,_0x288694=_0x11ff0f[0x0]['findAncestor']('table'),_0x14fa15=_0xef7949[_0x5988('0x7d')](_0x288694,{'startRow':0x0,'column':_0x40fba2,'includeAllSlots':!0x1}),_0x2d4601=Array['from'](_0x14fa15)[_0x5988('0x22')](_0x4e5f03=>_0x466894[_0x5988('0x5d')](_0x4e5f03[_0x5988('0x5b')]));_0x23a788[_0x5988('0x76')](_0x2d4601,'tableColumn');});});}for(const _0x2878be of[_0x5988('0x4b'),_0x5988('0x6a')]){const _0x5eeab8=_0x2878be[_0x5988('0xc')](0xb),_0x3ef6cb=_0x5eeab8[_0x5988('0x64')](),_0x41040f=_0x3ef6cb[_0x5988('0xc')](0x0,0x3)+'span',_0x2c2e67=_0x5988('0x54')+_0x5eeab8,_0x34cbbc=_0x5988('0x59')+_0x5eeab8,_0x3fae05=_0x5988('0x12')+_0x5eeab8;_0x23a788[_0x5988('0x25')](_0x2878be,()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x1a07e0=>{const _0x4ebf23=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x57fc3d=_0x4ebf23[0x0][_0x5988('0xb')](_0x5988('0x54'));let _0x29e710;if(_0x5988('0x4b')==_0x2878be){const _0x365705=_0xef7949[_0x5988('0x51')](_0x4ebf23);_0x29e710={'startRow':_0x365705[_0x5988('0x86')],'endRow':_0x365705['last'],'includeAllSlots':!0x0};}else{const _0xad6073=_0xef7949[_0x5988('0x27')](_0x4ebf23);_0x29e710={'startColumn':_0xad6073[_0x5988('0x86')],'endColumn':_0xad6073[_0x5988('0x45')],'includeAllSlots':!0x0};}const _0x344ef6=_0xef7949[_0x5988('0x7d')](_0x57fc3d,_0x29e710),_0x17570e=Array[_0x5988('0x30')](_0x344ef6)['map'](({cell:_0x28155e})=>_0x28155e),_0x11a24a=le(_0x17570e[_0x5988('0x20')](_0x50de58=>_0x50de58[_0x5988('0x82')](_0x41040f))),_0x11bbc3=le(_0x17570e[_0x5988('0x20')](_0x3d6826=>!_0x3d6826[_0x5988('0x82')](_0x41040f)))['map'](_0x93b4ae=>_0x1a07e0['createRangeOn'](_0x93b4ae)),_0x229ca3=_0x23a788[_0x5988('0x7a')](_0x11bbc3,_0x2c2e67);if(_0x229ca3&&(_0x5988('0x4f')==_0x229ca3[_0x5988('0x62')]||_0x5988('0x2c')==_0x229ca3[_0x5988('0x62')])){const _0x405b5a=this[_0x5988('0x11')](_0x229ca3);for(const _0xef2507 of _0x11a24a){const _0x91edc1=_0x1a07e0[_0x5988('0x5d')](_0xef2507),_0x25e1d5=_0xef7949[_0x5988('0x67')](_0xef2507),_0x25c929=_0xef2507['getAttribute'](_0x41040f)-0x1,_0x4c2891=_0x405b5a[_0x34cbbc],_0x4c54cb=_0x405b5a[_0x3fae05];_0x4c2891<=_0x25e1d5[_0x3ef6cb]&&_0x25e1d5[_0x3ef6cb]+_0x25c929<=_0x4c54cb&&_0x229ca3[_0x5988('0x3b')](_0x91edc1);}}});});}function _0x41ddd0(_0x4d3766){const _0x3ed30c=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())[_0x5988('0x22')](_0x5e478f=>_0x40b883[_0x5988('0x6')](_0x5e478f));_0x3cc866[_0x5988('0x3')]['change'](_0x4dd19b=>{const _0x57cd3a=_0x4dd19b['batch'];_0x4d3766=_0x4d3766[_0x5988('0x20')](_0x502ac1=>_0x5988('0x4')!=_0x502ac1[_0x5988('0x15')]['rootName']),_0x4dd19b[_0x5988('0x10')](_0x4d3766),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x5988('0x4b'))[_0x5988('0x7b')](),_0x3cc866['execute'](_0x5988('0x4b'),{'forceDefaultExecution':!0x0}),_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](_0x57cd3a,_0x523183=>{const _0x359144=_0x3ed30c[_0x5988('0x20')](_0x4865bf=>_0x5988('0x4')!=_0x4865bf[_0x5988('0x15')][_0x5988('0x2f')]);_0x359144[_0x5988('0x0')]>0x0&&_0x523183[_0x5988('0x10')](_0x359144);for(const _0x51dbd4 of _0x3ed30c)_0x51dbd4[_0x5988('0x75')]();});});});}function _0xcdafd9(_0x1d3919){_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x40d2c6=>{const _0x4488c6=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())['map'](_0x1db25f=>_0x40b883[_0x5988('0x6')](_0x1db25f)),_0x7ad5ed=[];for(const _0x418e69 of _0x1d3919)for(const _0x436fd1 of _0x418e69[_0x5988('0x49')]({'shallow':!0x0}))_0x7ad5ed[_0x5988('0x6f')](_0x436fd1);for(const _0x2a93c4 of _0x7ad5ed)_0x5988('0x4')!=_0x2a93c4[_0x5988('0x15')][_0x5988('0x2f')]&&(_0x40d2c6['setSelection'](_0x40d2c6[_0x5988('0x17')](_0x2a93c4,0x0)),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')]('removeTableColumn')['refresh'](),_0x3cc866[_0x5988('0x26')](_0x5988('0x6a'),{'forceDefaultExecution':!0x0}));const _0x3b1fdd=_0x4488c6[_0x5988('0x20')](_0x3e7e68=>_0x5988('0x4')!=_0x3e7e68[_0x5988('0x15')]['rootName']);_0x3b1fdd[_0x5988('0x0')]>0x0&&_0x40d2c6[_0x5988('0x10')](_0x3b1fdd);for(const _0x29c168 of _0x4488c6)_0x29c168[_0x5988('0x75')]();});}function _0x5cdb3f(_0xf32e9e,_0x3a8651){return _0x3a8651['every'](_0x37817c=>_0xf32e9e[_0x5988('0x2')](_0x3ebbe4=>_0x3ebbe4[_0x5988('0x6b')][_0x5988('0x72')](_0x37817c['start'])||_0x37817c['end']['isEqual'](_0x3ebbe4['start'])));}function _0x349d3a(_0x575d2,_0x426a1b){return _0x575d2[_0x5988('0x2')](_0x354649=>_0x426a1b['some'](_0x413d48=>_0x354649[_0x5988('0x6b')][_0x5988('0x65')](_0x413d48[_0x5988('0x60')])));}_0x3cc866[_0x5988('0x3d')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x4fd939,_0x359572,_0x512ffc)=>{if(!_0x512ffc[_0x5988('0x85')][_0x5988('0x14')])return;const _0x45ea72=_0x359572[_0x5988('0x5c')];if(!_0x45ea72)return;const _0x1997af=_0x512ffc[_0x5988('0x6e')]['toViewElement'](_0x45ea72);function _0x1f3fbf(_0x10caea){return Array['isArray'](_0x10caea)?_0x10caea:[_0x10caea];}_0x1997af&&'tableCell'===_0x45ea72[_0x5988('0x40')]&&_0x13f7fa(_0x1997af,_0x512ffc['writer'],(_0x2dde63,_0x2a2dcf,_0x5df9e3)=>_0x5df9e3[_0x5988('0x39')](_0x1f3fbf(_0x2a2dcf[_0x5988('0x7')]),_0x2dde63),(_0x5d100f,_0x2cfdcc,_0x5208c8)=>_0x5208c8[_0x5988('0x1e')](_0x1f3fbf(_0x2cfdcc[_0x5988('0x7')]),_0x5d100f));},{'priority':_0x5988('0x77')}),_0x23a788[_0x5988('0x18')][_0x5988('0x21')](_0x1f63e9=>{if(_0x5988('0x68')!=_0x1f63e9['type']&&_0x5988('0x13')!=_0x1f63e9[_0x5988('0x29')])return;const _0x439ab5=_0x1f63e9[_0x5988('0x9')]();if(null!=_0x439ab5&&_0x439ab5['is'](_0x5988('0x4d'),_0x5988('0x54'))){if(_0x5988('0x68')==_0x1f63e9[_0x5988('0x29')]){const _0x1a1c41=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x146cc2=>_0x146cc2['is'](_0x5988('0x46')))[_0x5988('0x22')](_0xa5f7ba=>_0xa5f7ba[_0x5988('0x3d')]);if(_0x1a1c41[_0x5988('0x0')])return{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x1a1c41[_0x5988('0x66')]('\x20')+'\x22'))};}if('deletion'==_0x1f63e9['type']){const _0x57e4f9=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x22d065=>_0x22d065['is'](_0x5988('0x46')))['map'](_0x5cbe47=>_0x5cbe47['data']);if(_0x57e4f9[_0x5988('0x0')])return{'type':'deletion','content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x57e4f9[_0x5988('0x66')]('\x20')+'\x22'))};}}}),_0x23a788['_descriptionFactory']['registerDescriptionCallback'](_0x96e463=>{if('tableRow'==_0x96e463['subType']){const _0x33f04d=_0x96e463[_0x5988('0x49')]()[_0x5988('0x20')](_0x23688e=>_0x23688e['is']('textProxy'))[_0x5988('0x22')](_0x341d3e=>_0x341d3e['data']),_0x594c80=this[_0x5988('0x11')](_0x96e463),_0x275f46=_0x594c80['maxRow']-_0x594c80[_0x5988('0x33')]+0x1;if(_0x5988('0x68')==_0x96e463['type'])return _0x33f04d[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};if(_0x5988('0x13')==_0x96e463['type'])return _0x33f04d['length']?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};}if(_0x5988('0x2c')==_0x96e463[_0x5988('0x62')]){const _0x336f24=_0x96e463['getItems']()[_0x5988('0x20')](_0x5636f9=>_0x5636f9['is']('textProxy'))[_0x5988('0x22')](_0x410cb5=>_0x410cb5[_0x5988('0x3d')]),_0x264d5b=this[_0x5988('0x11')](_0x96e463),_0x2d2af1=_0x264d5b[_0x5988('0x48')]-_0x264d5b[_0x5988('0x1c')]+0x1;if(_0x5988('0x68')==_0x96e463[_0x5988('0x29')])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,'*Insert:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};if('deletion'==_0x96e463['type'])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};}}),_0x23a788['_suggestionFactory']['registerCustomCallback']('insertion',_0x5988('0x4f'),_0x5988('0x19'),_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')]('deletion','tableRow','accept',_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x68'),'tableColumn',_0x5988('0x19'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x2c'),_0x5988('0x2d'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('insertion',_0x5988('0x2c'),_0x5988('0x66'),_0x5cdb3f),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x13'),_0x5988('0x2c'),'join',_0x5cdb3f),_0x23a788['_suggestionFactory'][_0x5988('0x42')](_0x5988('0x68'),_0x5988('0x4f'),'join',_0x349d3a),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x4f'),_0x5988('0x66'),_0x349d3a);}[_0x5988('0x73')](){const _0x138a55=this[_0x5988('0x74')],_0x3444fb=_0x138a55[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];return(_0x1f155e,_0x27c246)=>{_0x138a55[_0x5988('0x3')][_0x5988('0x44')](_0x498d2c=>{const {commandName:_0x14529e,commandParams:_0x2d10c5}=_0x27c246;let _0x373a08=_0x1f155e[0x0][_0x5988('0x6b')][_0x5988('0x79')];_0x2d10c5&&_0x2d10c5[0x0]&&!0x1===_0x2d10c5[0x0][_0x5988('0x31')]&&(_0x373a08=_0x1f155e[0x0]['start'][_0x5988('0x32')]);const _0x228add=_0x498d2c[_0x5988('0x28')](_0x373a08);if(_0x5988('0x4')==_0x228add[_0x5988('0x15')]['rootName'])return;const _0x168dd5=Array[_0x5988('0x30')](_0x3444fb['getRanges']())['map'](_0x45b054=>_0x40b883[_0x5988('0x6')](_0x45b054));_0x498d2c[_0x5988('0x10')](_0x228add),_0x138a55[_0x5988('0x3e')]['get'](_0x14529e)[_0x5988('0x7b')](),_0x2d10c5[_0x5988('0x6f')]({'forceDefaultExecution':!0x0}),_0x138a55[_0x5988('0x26')](_0x14529e,..._0x2d10c5);const _0xa70b5c=_0x168dd5[_0x5988('0x20')](_0x1a53d4=>_0x5988('0x4')!=_0x1a53d4[_0x5988('0x15')][_0x5988('0x2f')]);_0xa70b5c[_0x5988('0x0')]>0x0&&_0x498d2c[_0x5988('0x10')](_0xa70b5c);for(const _0x9148d2 of _0x168dd5)_0x9148d2[_0x5988('0x75')]();});};}[_0x5988('0x3f')](_0x2e1866){const _0x31be49=this[_0x5988('0x74')][_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));let _0x1532aa=Number['MAX_SAFE_INTEGER'],_0x457fc8=Number[_0x5988('0x53')],_0x32519f=Number[_0x5988('0x5f')],_0x101aba=Number[_0x5988('0x53')];for(const _0x117011 of _0x2e1866){if(_0x5988('0x4')==_0x117011[_0x5988('0x15')][_0x5988('0x2f')])continue;const {row:_0x57e155,column:_0x35bc5e}=_0x31be49['getCellLocation'](_0x117011),_0x2ee11a=_0x117011[_0x5988('0x82')]('rowspan')?_0x117011[_0x5988('0x5a')](_0x5988('0x34'))-0x1:0x0,_0x518c04=_0x117011[_0x5988('0x82')](_0x5988('0x6c'))?_0x117011[_0x5988('0x5a')](_0x5988('0x6c'))-0x1:0x0;_0x1532aa=_0x57e155<_0x1532aa?_0x57e155:_0x1532aa,_0x457fc8=_0x57e155+_0x2ee11a>_0x457fc8?_0x57e155+_0x2ee11a:_0x457fc8,_0x32519f=_0x35bc5e<_0x32519f?_0x35bc5e:_0x32519f,_0x101aba=_0x35bc5e+_0x518c04>_0x101aba?_0x35bc5e+_0x518c04:_0x101aba;}return{'minRow':_0x1532aa,'maxRow':_0x457fc8,'minColumn':_0x32519f,'maxColumn':_0x101aba};}[_0x5988('0x81')](){const _0x33e7f0=this[_0x5988('0x74')],_0x20dbdf=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')]('TrackChangesEditing'),_0x27fa3c=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));this['_tableSuggestions']=new Set(),_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['on']('change:data',()=>{const _0x5e09b7=Array[_0x5988('0x30')](_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x1a')][_0x5988('0xf')]());for(const {name:_0x23883c,data:_0x27d7a7}of _0x5e09b7){const {group:_0x2bc0b6,id:_0x6c61d8,subType:_0x52186c}=_0x20dbdf['_splitMarkerName'](_0x23883c);if('suggestion'!=_0x2bc0b6)continue;if(null!=_0x27d7a7[_0x5988('0x35')])continue;const _0x1a2733=_0x20dbdf['getSuggestion'](_0x6c61d8);this[_0x5988('0x5e')][_0x5988('0xe')](_0x52186c)&&this[_0x5988('0x1f')][_0x5988('0x4a')](_0x1a2733);}},{'priority':'low'});const _0x22e349=(_0x3ceedc,_0x6e9913)=>{let _0x1d227d=!0x1;const _0x5da54f=_0x6e9913[_0x5988('0x5d')](_0x3ceedc),_0x150656=_0x3ceedc[_0x5988('0xb')]('table'),_0x1e853d=_0x27fa3c[_0x5988('0x67')](_0x3ceedc);for(const _0x283cf1 of this['_tableSuggestions']){const _0x58b881=_0x283cf1[_0x5988('0x62')],_0x425452=_0x58b881[_0x5988('0x47')](_0x5988('0x4e')),_0x4baedb=_0x58b881[_0x5988('0xc')](_0x425452?0xa:0x5),_0x34f825=_0x4baedb[_0x5988('0x64')](),_0xb6db91=_0x34f825['substr'](0x0,0x3)+_0x5988('0x2a'),_0x268b33='min'+_0x4baedb,_0x41d33e='max'+_0x4baedb;if(!_0x283cf1[_0x5988('0x43')])continue;if(_0x150656!=_0x283cf1[_0x5988('0x36')]()[_0x5988('0x60')][_0x5988('0xb')](_0x5988('0x54')))continue;if(_0x283cf1['isIntersectingWithRange'](_0x5da54f))continue;const _0x82e995=_0x3ceedc[_0x5988('0x82')](_0xb6db91)?_0x3ceedc[_0x5988('0x5a')](_0xb6db91)-0x1:0x0,_0x1e1847=this[_0x5988('0x11')](_0x283cf1),_0x5149ee=_0x1e1847[_0x268b33],_0x5519e4=_0x1e1847[_0x41d33e];_0x5149ee<=_0x1e853d[_0x34f825]&&_0x1e853d[_0x34f825]+_0x82e995<=_0x5519e4&&(_0x283cf1[_0x5988('0x3b')](_0x5da54f),_0x1d227d=!0x0);}return _0x1d227d;};_0x33e7f0['model'][_0x5988('0x7e')][_0x5988('0x58')](_0xde19ba=>{let _0x45cdad=!0x1;for(const _0x55d79b of _0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['differ'][_0x5988('0xa')]())if(_0x5988('0x37')==_0x55d79b[_0x5988('0x29')]){if('tableRow'==_0x55d79b[_0x5988('0x40')])for(const _0x4146a7 of _0x55d79b[_0x5988('0x83')]['nodeAfter'][_0x5988('0x1d')]())_0x45cdad=_0x45cdad||_0x22e349(_0x4146a7,_0xde19ba);else _0x5988('0x3a')==_0x55d79b[_0x5988('0x40')]&&(_0x45cdad=_0x45cdad||_0x22e349(_0x55d79b[_0x5988('0x83')]['nodeAfter'],_0xde19ba));}return _0x45cdad;});}[_0x5988('0x11')](_0x3eb705){return this['_getCoordsForCells'](_0x3eb705[_0x5988('0x52')]()[_0x5988('0x22')](_0x27e218=>_0x27e218[_0x5988('0x60')][_0x5988('0x32')]));}}function le(_0x3c9284){return Array['from'](new Set(_0x3c9284)[_0x5988('0x80')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c1d=['toggleTableCaption','has','plugins','enableCommand','TableCaptionEditing','afterInit','TrackChangesEditing'];(function(_0x551c79,_0x3c1de7){const _0x1bb791=function(_0x382166){while(--_0x382166){_0x551c79['push'](_0x551c79['shift']());}};_0x1bb791(++_0x3c1de7);}(_0x3c1d,0x1c9));const _0x1bb7=function(_0x551c79,_0x3c1de7){_0x551c79=_0x551c79-0x0;let _0x1bb791=_0x3c1d[_0x551c79];return _0x1bb791;};import{Plugin as _0x29ffa9}from'ckeditor5/src/core';import _0x3f2340 from'./table';export default class It extends _0x29ffa9{static get['requires'](){return[_0x3f2340];}[_0x1bb7('0x3')](){const _0x49a2fc=this['editor'];if(!_0x49a2fc[_0x1bb7('0x0')][_0x1bb7('0x6')](_0x1bb7('0x2')))return;_0x49a2fc[_0x1bb7('0x0')]['get'](_0x1bb7('0x4'))[_0x1bb7('0x1')](_0x1bb7('0x5'));}}
23
+ const _0x5a09=['get','enableCommand','requires','has','plugins','TrackChangesEditing'];(function(_0x5796d8,_0x5a09c8){const _0x23e14e=function(_0x494bd1){while(--_0x494bd1){_0x5796d8['push'](_0x5796d8['shift']());}};_0x23e14e(++_0x5a09c8);}(_0x5a09,0x1d4));const _0x23e1=function(_0x5796d8,_0x5a09c8){_0x5796d8=_0x5796d8-0x0;let _0x23e14e=_0x5a09[_0x5796d8];return _0x23e14e;};import{Plugin as _0x3c2fe6}from'ckeditor5/src/core';import _0x4d2fa4 from'./table';export default class It extends _0x3c2fe6{static get[_0x23e1('0x2')](){return[_0x4d2fa4];}['afterInit'](){const _0x5bfd65=this['editor'];if(!_0x5bfd65[_0x23e1('0x4')][_0x23e1('0x3')]('TableCaptionEditing'))return;_0x5bfd65['plugins'][_0x23e1('0x0')](_0x23e1('0x5'))[_0x23e1('0x1')]('toggleTableCaption');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x592c=['tableCellBackgroundColor','TableClipboard','getSelectionAffectedTableCells','position','createTableWalker','every','showSuggestionHighlights','activeMarkers','TableUtils','suggestion-td','updateMarker','getRows','registerCustomCallback','fromEntries','containsRange','removeMarkers','move','_isForcedDefaultExecutionBlock','columnInsertionRanges','name','locale','markerAttributes','getAllAdjacentSuggestions','unwrap','Users','endColumn','element','previousSibling','isEmpty','tableCellBorderWidth','some','tableCellBorderColor','elementToElement','suggestionUnloaded','tablePasteCell','suggestion','_tablePostFixingSubtypes','author','getSuggestion','createElement','getChangedMarkers','editing','tableCellVerticalAlignment','insertion','removeMarker','tablePaste','createRangeIn','filter','getChanges','createRange','model','newRange','has','setAttributes','next','tableCell','getContainedElement','nextSibling','root','includes','join','createRangeOn','tablePasteColumn','getRange','forceDefaultExecution','rowInsertionIndexes','dataDowncast','rows','isEqual','insertRows','_suggestionFactory','length','isInContent','getTableIfOnlyTableInContent','tableCellSuggestion','discard','getItems','tableCellHorizontalAlignment','accept','getColumns','getMarkers','clipboardOutput','getChild','return','high','tablePasteChainId','registerDescriptionCallback','createPositionBefore','requires','suggestion:formatBlock:tablePasteCell','editor','tableCellPadding','oldRange','get','tablePasteRow','ck-suggestion-marker','options','table','selection','suggestionLoaded','attributes','map','previous','_splitMarkerName','trackChanges','commands','nodeAfter','find','view','TrackChangesEditing','_replaceTableSlotCell','for','add','insertionRanges','registerPostFixer','type','getChildren','stop','remove','column','paragraph','markerName','removeColumns','change','ck-suggestion-marker--active','register','deletion','documentSelection','_getCoordsForCells','end','insertColumns','startsWith','listenTo','getSuggestions','removeRows','content','last','reduce','insertContent','getShiftedBy','subType','getAttributes','value','cells','set','getRowIndexes','conversion','findAncestor','rowInsertionRanges','markMultiRangeBlockFormat','wrap','tableCellBorderStyle','schema','markers','plugins','markMultiRangeDeletion','from','low','markerToHighlight','insert','getRanges','setAttribute','getSuggestionCallback','markMultiRangeInsertion','entries','push','fill','first','differ','keys','document','cell','endRow','batch','redo','formatBlock'];(function(_0x46cbd9,_0x592c49){const _0x3e9042=function(_0x10ff7c){while(--_0x10ff7c){_0x46cbd9['push'](_0x46cbd9['shift']());}};_0x3e9042(++_0x592c49);}(_0x592c,0x18d));const _0x3e90=function(_0x46cbd9,_0x592c49){_0x46cbd9=_0x46cbd9-0x0;let _0x3e9042=_0x592c[_0x46cbd9];return _0x3e9042;};import{getTranslation as _0x1d2b3a}from'../utils/common-translations';import{Plugin as _0x5d9221}from'ckeditor5/src/core';import _0x14929f from'./table';import{uid as _0xe111f2,priorities as _0x29e003}from'ckeditor5/src/utils';const ae=[_0x3e90('0xa0'),_0x3e90('0xa2'),_0x3e90('0x6a'),_0x3e90('0x20'),_0x3e90('0xad'),_0x3e90('0x83'),_0x3e90('0x2e')],ce=Object[_0x3e90('0x90')](ae[_0x3e90('0x38')](_0x5cefa3=>[_0x5cefa3,null]));export default class wt extends _0x5d9221{static get[_0x3e90('0x2b')](){return[_0x14929f];}['afterInit'](){const _0x382e5e=this['editor'];if(!_0x382e5e[_0x3e90('0x6d')][_0x3e90('0x7')](_0x3e90('0x84')))return;const _0x4cf150=_0x382e5e['plugins'][_0x3e90('0x30')](_0x3e90('0x40')),_0x5cf5e7=_0x382e5e['plugins'][_0x3e90('0x30')](_0x3e90('0x8b')),_0x42d719=_0x382e5e[_0x3e90('0x6d')]['get'](_0x14929f),_0x2b3ace=_0x382e5e['plugins']['get'](_0x3e90('0x84'));_0x42d719[_0x3e90('0xa7')][_0x3e90('0x78')](_0x3e90('0x31'),'tablePasteColumn'),_0x382e5e[_0x3e90('0x5')][_0x3e90('0x6b')][_0x3e90('0x50')](_0x3e90('0x1d'),{'allowIn':_0x3e90('0xa'),'allowContentOf':_0x3e90('0xa'),'isLimit':!0x0}),_0x382e5e[_0x3e90('0x65')][_0x3e90('0xa3')]({'model':'tableCellSuggestion','view':_0x3e90('0x8c')});let _0x5d3d43=null;_0x382e5e[_0x3e90('0x5')]['on'](_0x3e90('0x5d'),(_0x7abd2d,_0x2e5597)=>{const [_0x30a1f9,_0x69f654]=_0x2e5597,_0x3317cc=_0x2e5597[_0x2e5597[_0x3e90('0x1a')]-0x1];_0x3317cc&&_0x3317cc[_0x3e90('0x13')]||_0x4cf150[_0x3e90('0x94')]||this[_0x3e90('0x2d')][_0x3e90('0x3c')]['get'](_0x3e90('0x3b'))[_0x3e90('0x61')]&&function(_0x166f38,_0x5df4c8,_0x4d2bd7,_0x4438a2,_0x389f0b){if(_0x5df4c8&&!_0x5df4c8['is'](_0x3e90('0x52')))return!0x1;const _0xfdb8b9=_0x389f0b[_0x3e90('0x1c')](_0x166f38,_0x4d2bd7);if(!_0xfdb8b9||!ue(_0xfdb8b9,null,_0x4438a2))return!0x1;const _0x19e898=_0x4438a2[_0x3e90('0x85')](_0x4d2bd7[_0x3e90('0x7d')][_0x3e90('0x35')]);if(!_0x19e898[_0x3e90('0x1a')])return!0x1;const _0xcff16=_0x19e898[0x0][_0x3e90('0x66')](_0x3e90('0x34')),_0x1729af=_0x4438a2[_0x3e90('0x64')](_0x19e898),_0x165aa9=_0x4438a2['getColumnIndexes'](_0x19e898),_0x4beb24={'startRow':_0x1729af[_0x3e90('0x7a')],'endRow':_0x1729af[_0x3e90('0x5b')],'startColumn':_0x165aa9[_0x3e90('0x7a')],'endColumn':_0x165aa9[_0x3e90('0x5b')]};return 0x1==_0x19e898[_0x3e90('0x1a')]&&(_0x4beb24[_0x3e90('0x7f')]+=_0x4438a2[_0x3e90('0x8e')](_0xfdb8b9)-0x1,_0x4beb24[_0x3e90('0x9c')]+=_0x4438a2[_0x3e90('0x22')](_0xfdb8b9)-0x1),ue(_0xcff16,_0x4beb24,_0x4438a2);}(_0x30a1f9,_0x69f654,_0x382e5e[_0x3e90('0x5')],_0x5cf5e7,_0x2b3ace)&&(_0x7abd2d['stop'](),_0x5d3d43={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x382e5e[_0x3e90('0x5')]['change'](()=>{_0x382e5e[_0x3e90('0x5')][_0x3e90('0x5d')](_0x2e5597[0x0],_0x2e5597[0x1],_0x2e5597[0x2],_0x2e5597[0x3],{'forceDefaultExecution':!0x0});const _0x336bb9=_0xe111f2(),{rowInsertionRanges:_0xab9bc2,columnInsertionRanges:_0x13b3f5,insertionRanges:_0x276bb1,deletionRanges:_0x343c8f,cells:_0x5272df}=_0x5d3d43;_0xab9bc2[_0x3e90('0x1a')]&&_0x4cf150[_0x3e90('0x76')](_0xab9bc2,'tablePasteRow',{'tablePasteChainId':_0x336bb9}),_0x13b3f5[_0x3e90('0x1a')]&&_0x4cf150[_0x3e90('0x76')](_0x13b3f5,_0x3e90('0x11'),{'tablePasteChainId':_0x336bb9}),_0x276bb1[_0x3e90('0x1a')]&&_0x4cf150['markMultiRangeInsertion'](_0x276bb1,_0x3e90('0x0'),{'tablePasteChainId':_0x336bb9,'skipNestingCheck':!0x0}),_0x343c8f['length']&&_0x4cf150[_0x3e90('0x6e')](_0x343c8f,_0x3e90('0x0'),{'tablePasteChainId':_0x336bb9,'skipNestingCheck':!0x0});const _0x1d8fdd=_0x4cf150[_0x3e90('0x68')](_0x5272df[_0x3e90('0x38')](({element:_0x2c74d8})=>_0x2c74d8),{'formatGroupId':_0xe111f2()},[],'tablePasteCell',{'tablePasteChainId':_0x336bb9});if(_0x1d8fdd){const _0x42baa5=_0x1d8fdd[_0x3e90('0x23')](),_0x58d623=[];for(const {element:_0x8a4faf,attributes:_0x5156e1}of _0x5272df){if(!_0x5156e1)continue;const _0x4b8988=_0x382e5e[_0x3e90('0x5')][_0x3e90('0x10')](_0x8a4faf),_0x3d1527=_0x42baa5[_0x3e90('0x3e')](_0x265b45=>_0x265b45[_0x3e90('0x12')]()[_0x3e90('0x17')](_0x4b8988));_0x3d1527&&_0x58d623[_0x3e90('0x78')]([_0x3d1527['name'],_0x5156e1]);}_0x58d623['length']&&_0x1d8fdd[_0x3e90('0x74')](_0x3e90('0x98'),Object[_0x3e90('0x90')](_0x58d623));}_0x5d3d43=null;}));},{'priority':_0x29e003[_0x3e90('0x27')]+0xa}),_0x382e5e[_0x3e90('0x6d')][_0x3e90('0x30')](_0x3e90('0x84'))['on'](_0x3e90('0x41'),(_0x140bf1,_0x112c89)=>{const [_0x1734a4,_0x440d37,,_0x19e2a4]=_0x112c89;if(!_0x5d3d43)return;_0x140bf1[_0x3e90('0x48')]();const _0x39d94c=_0x1734a4[_0x3e90('0x7e')],_0x2b4378=_0x440d37,_0x3cfe3d=fe(_0x39d94c),_0x4debf2=fe(_0x2b4378);_0x140bf1[_0x3e90('0x26')]=_0x39d94c;let _0x509b24=null,_0x398508=null;if(_0x4debf2||_0x3cfe3d){if(_0x3cfe3d&&!_0x4debf2){_0x19e2a4[_0x3e90('0x49')](_0x39d94c[_0x3e90('0x25')](0x0));for(const _0x49e42d of Array[_0x3e90('0x6f')](_0x2b4378[_0x3e90('0x47')]()))_0x19e2a4['insert'](_0x49e42d,_0x39d94c,'end');const _0xc85fad=_0x5d3d43[_0x3e90('0x14')][_0x3e90('0xe')](_0x1734a4['row']),_0x565443=_0x5d3d43['columnInsertionIndexes'][_0x3e90('0xe')](_0x1734a4[_0x3e90('0x4a')]);_0xc85fad||_0x565443||(_0x509b24=_0x19e2a4[_0x3e90('0x1')](_0x39d94c));}else _0x4debf2&&!_0x3cfe3d&&(_0x398508=_0x19e2a4[_0x3e90('0x1')](_0x39d94c));}else{const _0x6280ab=_0x19e2a4[_0x3e90('0xaa')](_0x3e90('0x1d')),_0x20523b=_0x19e2a4[_0x3e90('0xaa')](_0x3e90('0x1d'));_0x19e2a4[_0x3e90('0x69')](_0x19e2a4[_0x3e90('0x1')](_0x39d94c),_0x20523b),_0x19e2a4[_0x3e90('0x72')](_0x6280ab,_0x39d94c,0x0);for(const _0x57314d of Array[_0x3e90('0x6f')](_0x2b4378[_0x3e90('0x47')]()))_0x19e2a4['insert'](_0x57314d,_0x6280ab,_0x3e90('0x54'));_0x509b24=_0x19e2a4[_0x3e90('0x10')](_0x6280ab),_0x398508=_0x19e2a4[_0x3e90('0x10')](_0x20523b);}const _0x428d87=Array[_0x3e90('0x6f')](_0x2b4378[_0x3e90('0x60')]())[_0x3e90('0x2')](([_0xdb6d32])=>ae[_0x3e90('0xe')](_0xdb6d32));_0x5d3d43[_0x3e90('0x62')][_0x3e90('0x78')]({'element':_0x39d94c,'attributes':_0x428d87[_0x3e90('0x1a')]?Object[_0x3e90('0x90')](_0x428d87):null}),_0x509b24&&_0x5d3d43[_0x3e90('0x44')]['push'](_0x509b24),_0x398508&&_0x5d3d43['deletionRanges'][_0x3e90('0x78')](_0x398508);},{'priority':'high'}),_0x5cf5e7['on'](_0x3e90('0x55'),(_0x2c3815,_0x37de26)=>{const [_0x5cf13a,_0x3ac037={}]=_0x37de26;if(!_0x5d3d43)return;const _0xd490f=_0x3ac037['at']||0x0,_0x25158e=_0x3ac037['columns']||0x1;_0x5d3d43['columnInsertionIndexes']=new Array(_0x25158e)['fill'](_0xd490f)[_0x3e90('0x38')]((_0x22aba2,_0x18af35)=>_0x22aba2+_0x18af35);for(const {cell:_0xfe9e3d}of _0x5cf5e7[_0x3e90('0x87')](_0x5cf13a,{'startColumn':_0xd490f,'endColumn':_0xd490f+_0x25158e-0x1}))_0x5d3d43[_0x3e90('0x95')][_0x3e90('0x78')](_0x382e5e[_0x3e90('0x5')][_0x3e90('0x10')](_0xfe9e3d));},{'priority':'low'}),_0x5cf5e7['on'](_0x3e90('0x18'),(_0xafa2f6,_0x54dc99)=>{const [_0x9cb254,_0x1ad14d={}]=_0x54dc99;if(!_0x5d3d43)return;const _0x42371d=_0x1ad14d['at']||0x0,_0x2c39ab=_0x1ad14d[_0x3e90('0x16')]||0x1;_0x5d3d43[_0x3e90('0x14')]=new Array(_0x2c39ab)[_0x3e90('0x79')](_0x42371d)[_0x3e90('0x38')]((_0x3b1a74,_0x8b74d9)=>_0x3b1a74+_0x8b74d9);for(const {cell:_0x5ee2ac}of _0x5cf5e7[_0x3e90('0x87')](_0x9cb254,{'startRow':_0x42371d,'endRow':_0x42371d+_0x2c39ab-0x1}))_0x5d3d43[_0x3e90('0x67')][_0x3e90('0x78')](_0x382e5e['model']['createRangeOn'](_0x5ee2ac));},{'priority':_0x3e90('0x70')}),_0x4cf150['_descriptionFactory'][_0x3e90('0x29')](_0x598eec=>{if(_0x598eec[_0x3e90('0x5f')]&&_0x598eec[_0x3e90('0x5f')][_0x3e90('0x56')](_0x3e90('0x0')))return _0x598eec[_0x3e90('0x39')]?{}:{'type':_0x3e90('0xae'),'content':_0x1d2b3a(_0x382e5e[_0x3e90('0x97')],'*Replace\x20table\x20cells*')};});const _0xb3b576=()=>{};for(const _0x3390d1 of['tablePaste',_0x3e90('0x11'),_0x3e90('0x31'),_0x3e90('0xa5')])_0x4cf150[_0x3e90('0x19')]['registerCustomCallback'](_0x3e90('0xae'),_0x3390d1,_0x3e90('0xf'),_0xb3b576),_0x4cf150[_0x3e90('0x19')][_0x3e90('0x8f')](_0x3e90('0x51'),_0x3390d1,_0x3e90('0xf'),_0xb3b576);_0x4cf150[_0x3e90('0x19')][_0x3e90('0x8f')]('formatBlock',_0x3e90('0xa5'),'discard',_0xb3b576),_0x4cf150[_0x3e90('0x19')][_0x3e90('0x8f')](_0x3e90('0x82'),_0x3e90('0xa5'),_0x3e90('0x21'),(_0x21b6f2,_0x1f98c6,_0x36c4ef)=>{const _0x31ee47=_0x21b6f2[_0x3e90('0x38')](_0x4360f0=>_0x4360f0[_0x3e90('0xb')]())['filter'](_0x17bf6c=>_0x17bf6c),_0x21d981=new Map(_0x31ee47[_0x3e90('0x38')](_0x1c646a=>[_0x1c646a,null]));if(_0x5d3d43)for(const {element:_0x10ba7e,attributes:_0x46f9cc}of _0x5d3d43['cells'])_0x46f9cc&&_0x21d981[_0x3e90('0x63')](_0x10ba7e,_0x46f9cc);else{if(_0x36c4ef&&_0x36c4ef[_0x3e90('0x98')])for(const [_0x2763af,_0x4b6be4]of Object[_0x3e90('0x77')](_0x36c4ef[_0x3e90('0x98')])){const _0x48d385=_0x382e5e['model'][_0x3e90('0x6c')][_0x3e90('0x30')](_0x2763af),_0x5aac71=_0x48d385?_0x48d385[_0x3e90('0x12')]()[_0x3e90('0xb')]():null;_0x5aac71&&_0x21d981[_0x3e90('0x63')](_0x5aac71,_0x4b6be4);}}_0x382e5e[_0x3e90('0x5')]['change'](_0x453753=>{for(const [_0x3f706d,_0x251500]of _0x21d981)_0x453753[_0x3e90('0x8')]({...ce,..._0x251500},_0x3f706d);});});const _0x29ea74=(_0x39347f,_0x2cf81a)=>{_0x4cf150[_0x3e90('0x19')]['registerCustomCallback'](_0x39347f,'tablePaste',_0x2cf81a,(_0x5596b8,_0x44e05c,_0x592235)=>{_0x382e5e[_0x3e90('0x5')][_0x3e90('0x4e')](_0x1c8744=>{const _0x3ae630=[];for(const _0x1dee50 of _0x5596b8){const _0x3c4747=_0x1dee50['start'][_0x3e90('0x3d')];_0x3c4747['is']('element',_0x3e90('0x1d'))&&_0x3ae630['push'](_0x3c4747);}_0x4cf150[_0x3e90('0x19')][_0x3e90('0x75')](_0x39347f,null,_0x2cf81a)(_0x5596b8,_0x44e05c,_0x592235);for(const _0x36ced5 of _0x3ae630)'$graveyard'!=_0x36ced5[_0x3e90('0xd')]['rootName']&&_0x1c8744[_0x3e90('0x9a')](_0x36ced5);});});};_0x29ea74(_0x3e90('0xae'),_0x3e90('0x21')),_0x29ea74(_0x3e90('0xae'),_0x3e90('0x1e')),_0x29ea74('deletion','accept'),_0x29ea74('deletion','discard'),_0x4cf150['_suggestionFactory'][_0x3e90('0x8f')](_0x3e90('0xae'),_0x3e90('0x31'),'discard',_0x4efd21=>{const _0xc132ea=_0x4efd21[_0x3e90('0x38')](_0x1ab891=>_0x1ab891[_0x3e90('0xb')]()),_0x3dc462=_0xc132ea[0x0][_0x3e90('0x66')](_0x3e90('0x34')),{minRow:_0x43a861,maxRow:_0xf8aee8}=_0x42d719['_getCoordsForCells'](_0xc132ea);_0x5cf5e7[_0x3e90('0x59')](_0x3dc462,{'at':_0x43a861,'rows':_0xf8aee8-_0x43a861+0x1});}),_0x4cf150[_0x3e90('0x19')][_0x3e90('0x8f')](_0x3e90('0xae'),'tablePasteColumn','discard',_0xbab31=>{const _0x25d8f7=_0xbab31['map'](_0x4df1cc=>_0x4df1cc[_0x3e90('0xb')]()),_0x140702=_0x25d8f7[0x0][_0x3e90('0x66')](_0x3e90('0x34')),{minColumn:_0x1e4465,maxColumn:_0x5cf9c7}=_0x42d719[_0x3e90('0x53')](_0x25d8f7);_0x5cf5e7[_0x3e90('0x4d')](_0x140702,{'at':_0x1e4465,'columns':_0x5cf9c7-_0x1e4465+0x1});});const _0xd53eb5=(_0x22470f,_0x334cf8)=>{if(!_0x334cf8[_0x3e90('0x5f')]||!_0x334cf8[_0x3e90('0x5f')][_0x3e90('0x56')](_0x3e90('0x0')))return;const _0xa95a12=_0x334cf8[_0x3e90('0x37')]['tablePasteChainId'],_0x4588d4=_0x4cf150['getSuggestions']()[_0x3e90('0x2')](_0x4f0f00=>_0x4f0f00[_0x3e90('0x1b')]&&_0x4f0f00[_0x3e90('0x37')]&&_0x4f0f00['attributes'][_0x3e90('0x28')]==_0xa95a12);_0x4588d4[_0x3e90('0x1a')]&&_0x334cf8[_0x3e90('0x99')]()[_0x3e90('0x1a')]!=_0x4588d4[_0x3e90('0x1a')]&&_0x4588d4[_0x3e90('0x5c')]((_0x56e887,_0x3da199)=>(_0x56e887[_0x3e90('0x9')]=_0x3da199,_0x3da199['previous']=_0x56e887,_0x3da199));};function _0x4e37e0(_0x1efdc1,{showActiveMarker:_0x3ddbca=!0x0}={}){const {id:_0x1e0693}=_0x4cf150[_0x3e90('0x3a')](_0x1efdc1[_0x3e90('0x4c')]),_0x535398=[_0x3e90('0x32'),'ck-suggestion-marker-insertion'],_0x39f0cc=_0x4cf150[_0x3e90('0x8a')][_0x3e90('0xe')](_0x1efdc1[_0x3e90('0x4c')]);return _0x39f0cc&&_0x535398[_0x3e90('0x78')](_0x3e90('0x4f')),{'classes':_0x535398,'attributes':{'data-suggestion':_0x1e0693},'priority':_0x39f0cc&&_0x3ddbca?0xbc2:0xbb8};}_0x4cf150['on'](_0x3e90('0x36'),_0xd53eb5,{'priority':_0x3e90('0x27')}),_0x4cf150['on'](_0x3e90('0xa4'),_0xd53eb5,{'priority':'high'}),_0x382e5e[_0x3e90('0x5')][_0x3e90('0x7d')][_0x3e90('0x45')](()=>{let _0x3612d6=!0x1;const _0x2d00d=Array['from'](_0x382e5e[_0x3e90('0x5')][_0x3e90('0x7d')][_0x3e90('0x7b')][_0x3e90('0xab')]());for(const {name:_0x17b4d8,data:_0x146c62}of _0x2d00d){const {group:_0x4d2471,type:_0x9450e8,id:_0x395767}=_0x4cf150[_0x3e90('0x3a')](_0x17b4d8);if('suggestion'!=_0x4d2471||'deletion'!=_0x9450e8||_0x146c62[_0x3e90('0x2f')])continue;if(!_0x4cf150['hasSuggestion'](_0x395767))continue;const _0x437725=_0x4cf150[_0x3e90('0xa9')](_0x395767)[_0x3e90('0x73')](),_0x5cdd76=_0x382e5e[_0x3e90('0x6d')]['get']('Users')['me'];for(const _0x467630 of _0x4cf150[_0x3e90('0x58')]()){if(!_0x467630['isInContent']||_0x467630['author']!=_0x5cdd76)continue;if(_0x3e90('0x82')!=_0x467630[_0x3e90('0x46')]||_0x3e90('0xa5')!=_0x467630[_0x3e90('0x5f')])continue;if(_0x467630[_0x3e90('0x73')]()[_0x3e90('0x88')](_0x44c4f5=>_0x437725[_0x3e90('0xa1')](_0xd0198c=>_0xd0198c[_0x3e90('0x91')](_0x44c4f5,!0x0))))for(const _0x15147b of _0x467630[_0x3e90('0x99')]())_0x15147b[_0x3e90('0x1b')]&&(_0x15147b[_0x3e90('0x1e')](),_0x3612d6=!0x0);}}return _0x3612d6;}),_0x382e5e['model'][_0x3e90('0x7d')][_0x3e90('0x45')](_0x398b63=>{const _0x3890a6=_0x382e5e['commands']['get'](_0x3e90('0x81'));if(!_0x3890a6||!_0x3890a6['_createdBatches'][_0x3e90('0x7')](_0x398b63[_0x3e90('0x80')]))return!0x1;let _0x4e642f=!0x1;const _0x3b1529=_0x382e5e[_0x3e90('0x6d')][_0x3e90('0x30')](_0x3e90('0x9b'))['me'],_0x10670e=_0x382e5e[_0x3e90('0x5')][_0x3e90('0x7d')][_0x3e90('0x7b')][_0x3e90('0x3')](),_0x215d11=Array[_0x3e90('0x6f')](_0x382e5e[_0x3e90('0x5')][_0x3e90('0x7d')]['differ'][_0x3e90('0xab')]())[_0x3e90('0x2')](({name:_0x5ee7e1,data:_0x3c035a})=>{const {group:_0x2197bc,subType:_0x51945a,authorId:_0x4be037}=_0x4cf150[_0x3e90('0x3a')](_0x5ee7e1);return _0x3e90('0xa6')==_0x2197bc&&'tablePaste'==_0x51945a&&_0x4be037==_0x3b1529['id']&&!_0x3c035a[_0x3e90('0x2f')];});for(const _0x474292 of _0x10670e){if(_0x3e90('0x72')!=_0x474292[_0x3e90('0x46')]||_0x3e90('0x1d')!=_0x474292[_0x3e90('0x96')]||0x1!=_0x474292[_0x3e90('0x1a')])continue;const _0x4609c6=_0x398b63[_0x3e90('0x4')](_0x474292[_0x3e90('0x86')],_0x474292[_0x3e90('0x86')][_0x3e90('0x5e')](0x1));if(!_0x215d11['find'](({data:_0x25b067})=>_0x25b067['newRange'][_0x3e90('0x17')](_0x4609c6)))for(const {name:_0x579e6b,data:_0x202b25}of _0x215d11)if(_0x4609c6[_0x3e90('0x91')](_0x202b25[_0x3e90('0x6')])){_0x398b63[_0x3e90('0x8d')](_0x579e6b,{'range':_0x4609c6}),_0x4e642f=!0x0;break;}}return _0x4e642f;}),_0x382e5e[_0x3e90('0x5')][_0x3e90('0x7d')][_0x3e90('0x45')](_0x3e0a17=>{let _0x19b9d9=!0x1;const _0x28ee50=_0x382e5e[_0x3e90('0x6d')][_0x3e90('0x30')](_0x3e90('0x9b'))['me'],_0x47205c=_0x4cf150['getSuggestions']()[_0x3e90('0x2')](_0xf18e7c=>_0xf18e7c['isInContent']&&_0xf18e7c[_0x3e90('0xa8')]==_0x28ee50),_0x5a752e=new Set(),_0x2aef2d=new Set();for(const _0x25cb41 of _0x47205c)if('tablePaste'==_0x25cb41['subType'])for(const _0x2e0058 of _0x25cb41['getMarkers']()){const _0x5645c7=_0x2e0058[_0x3e90('0x12')]()[_0x3e90('0xb')]();if(_0x5645c7){if(_0x5645c7['is'](_0x3e90('0x9d'),_0x3e90('0x1d'))&&fe(_0x5645c7)){_0x25cb41[_0x3e90('0xaf')](_0x2e0058[_0x3e90('0x96')]),_0x5a752e['add'](_0x5645c7),_0x19b9d9=!0x0;const _0x1210b4=_0x5645c7[_0x3e90('0xc')],_0x5d7637=_0x5645c7[_0x3e90('0x9e')],_0x38cc51=_0x1210b4&&_0x1210b4['is'](_0x3e90('0x9d'),_0x3e90('0x1d')),_0x35715c=_0x5d7637&&_0x5d7637['is'](_0x3e90('0x9d'),_0x3e90('0x1d'));_0x38cc51&&!_0x5a752e['has'](_0x1210b4)&&_0x2aef2d[_0x3e90('0x43')](_0x1210b4),_0x35715c&&!_0x5a752e[_0x3e90('0x7')](_0x5d7637)&&_0x2aef2d[_0x3e90('0x43')](_0x5d7637);}else _0x5645c7['is']('element',_0x3e90('0x4b'))&&_0x5645c7[_0x3e90('0x9f')]&&(_0x25cb41[_0x3e90('0xaf')](_0x2e0058[_0x3e90('0x96')]),_0x19b9d9=!0x0);}}else{if(_0x3e90('0xa5')==_0x25cb41[_0x3e90('0x5f')]){if(!_0x25cb41['attributes']||!_0x25cb41[_0x3e90('0x37')][_0x3e90('0x28')])continue;const _0x46f25e=_0x25cb41[_0x3e90('0x37')][_0x3e90('0x98')];if(_0x46f25e&&Object[_0x3e90('0x7c')](_0x46f25e)[_0x3e90('0x1a')])continue;const _0x44645f=_0x25cb41[_0x3e90('0x37')]['tablePasteChainId'];let _0x5b7bc7=!0x0,_0x4ee267=!0x0;for(const _0x353ddc of _0x47205c)if(_0x353ddc[_0x3e90('0x5f')]&&_0x353ddc[_0x3e90('0x5f')][_0x3e90('0x56')](_0x3e90('0x0'))){if(!_0x353ddc[_0x3e90('0x37')]['tablePasteChainId']){_0x4ee267=!0x1;break;}if(_0x353ddc['id']!=_0x25cb41['id']&&_0x353ddc[_0x3e90('0x37')][_0x3e90('0x28')]==_0x44645f){_0x5b7bc7=!0x1;break;}}_0x4ee267&&_0x5b7bc7&&(_0x25cb41[_0x3e90('0x92')](),_0x19b9d9=!0x0);}}for(const _0x4cd696 of _0x5a752e)_0x3e0a17[_0x3e90('0x49')](_0x4cd696);for(const _0x1b694b of _0x2aef2d)_0x3e0a17[_0x3e90('0x9a')](_0x1b694b);return _0x19b9d9;}),_0x382e5e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x3e90('0x2c'),'view':_0x4e37e0,'converterPriority':_0x3e90('0x27')}),_0x382e5e[_0x3e90('0x65')][_0x3e90('0x42')](_0x3e90('0x15'))[_0x3e90('0x71')]({'model':_0x3e90('0x2c'),'view':(_0x2865ee,_0x32c13c)=>{if(_0x32c13c[_0x3e90('0x33')][_0x3e90('0x89')])return _0x4e37e0(_0x2865ee,{'showActiveMarker':!0x1});},'converterPriority':_0x3e90('0x27')});const _0x5b5041=_0x382e5e[_0x3e90('0xac')][_0x3e90('0x3f')];this[_0x3e90('0x57')](_0x5b5041[_0x3e90('0x7d')],_0x3e90('0x24'),(_0x248cac,_0x21fd2c)=>{const _0x45f3fc=[];for(const _0x8ab0e5 of _0x5b5041[_0x3e90('0x1')](_0x21fd2c[_0x3e90('0x5a')])[_0x3e90('0x1f')]())_0x8ab0e5['is']('element',_0x3e90('0x8c'))&&_0x45f3fc[_0x3e90('0x78')](_0x8ab0e5);_0x5b5041[_0x3e90('0x4e')](_0x44078b=>{for(const _0x18e057 of _0x45f3fc)_0x44078b[_0x3e90('0x93')](_0x44078b[_0x3e90('0x1')](_0x18e057),_0x44078b[_0x3e90('0x2a')](_0x18e057)),_0x44078b[_0x3e90('0x49')](_0x18e057);});});}}function fe(_0x39c8cd){if(_0x39c8cd[_0x3e90('0x9f')])return!0x0;const _0x45afb2=_0x39c8cd[_0x3e90('0x25')](0x0);return _0x45afb2['is'](_0x3e90('0x9d'),_0x3e90('0x4b'))&&_0x45afb2['isEmpty'];}function ue(_0x22aa2c,_0x804adf={},_0x51b4c8){for(const {isAnchor:_0x22c4b6,cellHeight:_0x4fc79b,cellWidth:_0x4c3a5e}of _0x51b4c8[_0x3e90('0x87')](_0x22aa2c,{'includeAllSlots':!0x0,..._0x804adf}))if(!_0x22c4b6||0x1!=_0x4fc79b||0x1!=_0x4c3a5e)return!0x1;return!0x0;}
23
+ const _0x349d=['model','markMultiRangeBlockFormat','end','nodeAfter','fromEntries','getContainedElement','high','table','find','Users','getSelectionAffectedTableCells','_tablePostFixingSubtypes','tablePasteCell','getColumnIndexes','getSuggestion','suggestion','has','wrap','insertionRanges','add','subType','selection','setAttribute','previousSibling','element','name','forceDefaultExecution','tableCellBorderWidth','removeMarkers','tableCellPadding','rows','ck-suggestion-marker-insertion','change','for','getSuggestions','_isForcedDefaultExecutionBlock','findAncestor','suggestionLoaded','markMultiRangeInsertion','suggestion-td','createPositionBefore','trackChanges','createElement','markMultiRangeDeletion','markers','commands','markerAttributes','attributes','next','formatBlock','move','author','unwrap','keys','removeRows','rowInsertionIndexes','schema','_getCoordsForCells','tableCellBackgroundColor','differ','endRow','_splitMarkerName','activeMarkers','nextSibling','registerPostFixer','cell','push','previous','markerToHighlight','isInContent','column','removeMarker','afterInit','tableCellVerticalAlignment','endColumn','suggestion:formatBlock:tablePasteCell','root','rootName','remove','editor','TableClipboard','length','start','clipboardOutput','getTableIfOnlyTableInContent','getColumns','dataDowncast','from','startsWith','set','view','columns','createRange','markerName','updateMarker','registerDescriptionCallback','createRangeIn','createTableWalker','content','isEmpty','low','getRanges','getChildren','columnInsertionIndexes','tablePasteColumn','redo','$graveyard','batch','stop','insert','some','every','ck-suggestion-marker','tablePasteRow','document','_createdBatches','getRows','isEqual','insertRows','get','register','columnInsertionRanges','includes','removeColumns','accept','type','listenTo','last','editingDowncast','requires','filter','registerCustomCallback','showSuggestionHighlights','createRangeOn','getItems','cells','fill','_replaceTableSlotCell','suggestionUnloaded','join','tablePasteChainId','getAllAdjacentSuggestions','getSuggestionCallback','tablePaste','_suggestionFactory','tableCellSuggestion','deletion','map','oldRange','insertion','row','reduce','getRowIndexes','paragraph','elementToElement','plugins','setAttributes','options','discard','conversion','getRange','tableCellBorderStyle','newRange','getChild','getChanges','tableCell','getMarkers','containsRange','position','tableCellBorderColor','entries','getChangedMarkers','first'];(function(_0x49a9fe,_0x349dc3){const _0x43691e=function(_0x2d6952){while(--_0x2d6952){_0x49a9fe['push'](_0x49a9fe['shift']());}};_0x43691e(++_0x349dc3);}(_0x349d,0x199));const _0x4369=function(_0x49a9fe,_0x349dc3){_0x49a9fe=_0x49a9fe-0x0;let _0x43691e=_0x349d[_0x49a9fe];return _0x43691e;};import{getTranslation as _0x48a25c}from'../utils/common-translations';import{Plugin as _0x1f5731}from'ckeditor5/src/core';import _0x5615a7 from'./table';import{uid as _0x37e22f,priorities as _0x3f4cbc}from'ckeditor5/src/utils';const ae=[_0x4369('0x89'),_0x4369('0x6a'),_0x4369('0x62'),'tableCellHorizontalAlignment',_0x4369('0xa'),_0x4369('0xa8'),_0x4369('0x8b')],ce=Object[_0x4369('0x72')](ae[_0x4369('0x54')](_0x6a111e=>[_0x6a111e,null]));export default class wt extends _0x1f5731{static get[_0x4369('0x42')](){return[_0x5615a7];}[_0x4369('0x9')](){const _0x21ebb5=this[_0x4369('0x10')];if(!_0x21ebb5[_0x4369('0x5c')]['has'](_0x4369('0x11')))return;const _0x3f9d7d=_0x21ebb5[_0x4369('0x5c')]['get']('TrackChangesEditing'),_0xfc873=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')]('TableUtils'),_0x3c5dd1=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x5615a7),_0x3b7906=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')]('TableClipboard');_0x3c5dd1[_0x4369('0x79')][_0x4369('0x3')](_0x4369('0x32'),_0x4369('0x29')),_0x21ebb5[_0x4369('0x6e')][_0x4369('0xa6')][_0x4369('0x39')](_0x4369('0x52'),{'allowIn':'tableCell','allowContentOf':_0x4369('0x66'),'isLimit':!0x0}),_0x21ebb5[_0x4369('0x60')][_0x4369('0x5b')]({'model':_0x4369('0x52'),'view':_0x4369('0x95')});let _0x304b69=null;_0x21ebb5[_0x4369('0x6e')]['on']('insertContent',(_0x2235f8,_0x3c6cb0)=>{const [_0x232b5d,_0x55b419]=_0x3c6cb0,_0x37925a=_0x3c6cb0[_0x3c6cb0[_0x4369('0x12')]-0x1];_0x37925a&&_0x37925a[_0x4369('0x88')]||_0x3f9d7d[_0x4369('0x91')]||this[_0x4369('0x10')][_0x4369('0x9b')][_0x4369('0x38')](_0x4369('0x97'))['value']&&function(_0x50c8a8,_0x18b6a8,_0x3485a4,_0x55c453,_0x4b6c3a){if(_0x18b6a8&&!_0x18b6a8['is']('documentSelection'))return!0x1;const _0x301ed8=_0x4b6c3a[_0x4369('0x15')](_0x50c8a8,_0x3485a4);if(!_0x301ed8||!ue(_0x301ed8,null,_0x55c453))return!0x1;const _0x5eaeeb=_0x55c453[_0x4369('0x78')](_0x3485a4[_0x4369('0x33')][_0x4369('0x83')]);if(!_0x5eaeeb['length'])return!0x1;const _0x486a58=_0x5eaeeb[0x0]['findAncestor']('table'),_0x330ae5=_0x55c453[_0x4369('0x59')](_0x5eaeeb),_0x2221fe=_0x55c453[_0x4369('0x7b')](_0x5eaeeb),_0x2888bd={'startRow':_0x330ae5[_0x4369('0x6d')],'endRow':_0x330ae5[_0x4369('0x40')],'startColumn':_0x2221fe[_0x4369('0x6d')],'endColumn':_0x2221fe[_0x4369('0x40')]};return 0x1==_0x5eaeeb['length']&&(_0x2888bd[_0x4369('0xaa')]+=_0x55c453[_0x4369('0x35')](_0x301ed8)-0x1,_0x2888bd[_0x4369('0xb')]+=_0x55c453[_0x4369('0x16')](_0x301ed8)-0x1),ue(_0x486a58,_0x2888bd,_0x55c453);}(_0x232b5d,_0x55b419,_0x21ebb5[_0x4369('0x6e')],_0xfc873,_0x3b7906)&&(_0x2235f8[_0x4369('0x2d')](),_0x304b69={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x21ebb5['model'][_0x4369('0x8e')](()=>{_0x21ebb5[_0x4369('0x6e')]['insertContent'](_0x3c6cb0[0x0],_0x3c6cb0[0x1],_0x3c6cb0[0x2],_0x3c6cb0[0x3],{'forceDefaultExecution':!0x0});const _0x3a1225=_0x37e22f(),{rowInsertionRanges:_0x11023a,columnInsertionRanges:_0x14de78,insertionRanges:_0x2c6772,deletionRanges:_0x1a514b,cells:_0x57a4f1}=_0x304b69;_0x11023a[_0x4369('0x12')]&&_0x3f9d7d['markMultiRangeInsertion'](_0x11023a,_0x4369('0x32'),{'tablePasteChainId':_0x3a1225}),_0x14de78[_0x4369('0x12')]&&_0x3f9d7d['markMultiRangeInsertion'](_0x14de78,_0x4369('0x29'),{'tablePasteChainId':_0x3a1225}),_0x2c6772[_0x4369('0x12')]&&_0x3f9d7d[_0x4369('0x94')](_0x2c6772,_0x4369('0x50'),{'tablePasteChainId':_0x3a1225,'skipNestingCheck':!0x0}),_0x1a514b[_0x4369('0x12')]&&_0x3f9d7d[_0x4369('0x99')](_0x1a514b,'tablePaste',{'tablePasteChainId':_0x3a1225,'skipNestingCheck':!0x0});const _0x5ee89d=_0x3f9d7d[_0x4369('0x6f')](_0x57a4f1[_0x4369('0x54')](({element:_0x55fe05})=>_0x55fe05),{'formatGroupId':_0x37e22f()},[],_0x4369('0x7a'),{'tablePasteChainId':_0x3a1225});if(_0x5ee89d){const _0x3180ba=_0x5ee89d[_0x4369('0x67')](),_0x2f2a68=[];for(const {element:_0x1f8b25,attributes:_0x1d9ec7}of _0x57a4f1){if(!_0x1d9ec7)continue;const _0x3f6099=_0x21ebb5[_0x4369('0x6e')]['createRangeOn'](_0x1f8b25),_0x408ecc=_0x3180ba['find'](_0x3979d0=>_0x3979d0[_0x4369('0x61')]()['isEqual'](_0x3f6099));_0x408ecc&&_0x2f2a68[_0x4369('0x3')]([_0x408ecc['name'],_0x1d9ec7]);}_0x2f2a68['length']&&_0x5ee89d[_0x4369('0x84')](_0x4369('0x9c'),Object[_0x4369('0x72')](_0x2f2a68));}_0x304b69=null;}));},{'priority':_0x3f4cbc[_0x4369('0x74')]+0xa}),_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x11'))['on'](_0x4369('0x4a'),(_0x4d44d4,_0x1e81bb)=>{const [_0x1152ca,_0x19f52a,,_0x40d56b]=_0x1e81bb;if(!_0x304b69)return;_0x4d44d4[_0x4369('0x2d')]();const _0x4e66c0=_0x1152ca[_0x4369('0x2')],_0x3875f7=_0x19f52a,_0x4ec789=fe(_0x4e66c0),_0x268caf=fe(_0x3875f7);_0x4d44d4['return']=_0x4e66c0;let _0x1cd2f2=null,_0x1c61d5=null;if(_0x268caf||_0x4ec789){if(_0x4ec789&&!_0x268caf){_0x40d56b[_0x4369('0xf')](_0x4e66c0[_0x4369('0x64')](0x0));for(const _0x46ed9e of Array[_0x4369('0x18')](_0x3875f7[_0x4369('0x27')]()))_0x40d56b[_0x4369('0x2e')](_0x46ed9e,_0x4e66c0,_0x4369('0x70'));const _0x1fcc92=_0x304b69[_0x4369('0xa5')][_0x4369('0x3b')](_0x1152ca[_0x4369('0x57')]),_0x56f8d1=_0x304b69[_0x4369('0x28')]['includes'](_0x1152ca[_0x4369('0x7')]);_0x1fcc92||_0x56f8d1||(_0x1cd2f2=_0x40d56b[_0x4369('0x21')](_0x4e66c0));}else _0x268caf&&!_0x4ec789&&(_0x1c61d5=_0x40d56b[_0x4369('0x21')](_0x4e66c0));}else{const _0x2ed75d=_0x40d56b['createElement']('tableCellSuggestion'),_0x11f91e=_0x40d56b[_0x4369('0x98')](_0x4369('0x52'));_0x40d56b[_0x4369('0x7f')](_0x40d56b[_0x4369('0x21')](_0x4e66c0),_0x11f91e),_0x40d56b[_0x4369('0x2e')](_0x2ed75d,_0x4e66c0,0x0);for(const _0x1c2643 of Array[_0x4369('0x18')](_0x3875f7[_0x4369('0x27')]()))_0x40d56b[_0x4369('0x2e')](_0x1c2643,_0x2ed75d,'end');_0x1cd2f2=_0x40d56b[_0x4369('0x46')](_0x2ed75d),_0x1c61d5=_0x40d56b[_0x4369('0x46')](_0x11f91e);}const _0x1f603a=Array[_0x4369('0x18')](_0x3875f7['getAttributes']())[_0x4369('0x43')](([_0x512f1d])=>ae[_0x4369('0x3b')](_0x512f1d));_0x304b69[_0x4369('0x48')][_0x4369('0x3')]({'element':_0x4e66c0,'attributes':_0x1f603a[_0x4369('0x12')]?Object['fromEntries'](_0x1f603a):null}),_0x1cd2f2&&_0x304b69[_0x4369('0x80')][_0x4369('0x3')](_0x1cd2f2),_0x1c61d5&&_0x304b69['deletionRanges'][_0x4369('0x3')](_0x1c61d5);},{'priority':'high'}),_0xfc873['on']('insertColumns',(_0x225a45,_0x422b29)=>{const [_0x1b1534,_0x29bf46={}]=_0x422b29;if(!_0x304b69)return;const _0x251efd=_0x29bf46['at']||0x0,_0x4c9d63=_0x29bf46[_0x4369('0x1c')]||0x1;_0x304b69[_0x4369('0x28')]=new Array(_0x4c9d63)[_0x4369('0x49')](_0x251efd)[_0x4369('0x54')]((_0x5170bb,_0x35bc51)=>_0x5170bb+_0x35bc51);for(const {cell:_0x2f0acb}of _0xfc873[_0x4369('0x22')](_0x1b1534,{'startColumn':_0x251efd,'endColumn':_0x251efd+_0x4c9d63-0x1}))_0x304b69[_0x4369('0x3a')][_0x4369('0x3')](_0x21ebb5[_0x4369('0x6e')][_0x4369('0x46')](_0x2f0acb));},{'priority':_0x4369('0x25')}),_0xfc873['on'](_0x4369('0x37'),(_0x5566a4,_0x199c73)=>{const [_0x22fcf3,_0x8cff55={}]=_0x199c73;if(!_0x304b69)return;const _0x7afb59=_0x8cff55['at']||0x0,_0x3bda9b=_0x8cff55[_0x4369('0x8c')]||0x1;_0x304b69['rowInsertionIndexes']=new Array(_0x3bda9b)[_0x4369('0x49')](_0x7afb59)[_0x4369('0x54')]((_0xdc7576,_0x4fb91f)=>_0xdc7576+_0x4fb91f);for(const {cell:_0x30a617}of _0xfc873[_0x4369('0x22')](_0x22fcf3,{'startRow':_0x7afb59,'endRow':_0x7afb59+_0x3bda9b-0x1}))_0x304b69['rowInsertionRanges'][_0x4369('0x3')](_0x21ebb5[_0x4369('0x6e')]['createRangeOn'](_0x30a617));},{'priority':_0x4369('0x25')}),_0x3f9d7d['_descriptionFactory'][_0x4369('0x20')](_0x4475ff=>{if(_0x4475ff[_0x4369('0x82')]&&_0x4475ff[_0x4369('0x82')][_0x4369('0x19')]('tablePaste'))return _0x4475ff[_0x4369('0x4')]?{}:{'type':_0x4369('0x56'),'content':_0x48a25c(_0x21ebb5['locale'],'*Replace\x20table\x20cells*')};});const _0x1a7807=()=>{};for(const _0x589178 of[_0x4369('0x50'),_0x4369('0x29'),'tablePasteRow',_0x4369('0x7a')])_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')]('insertion',_0x589178,'join',_0x1a7807),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x53'),_0x589178,_0x4369('0x4c'),_0x1a7807);_0x3f9d7d['_suggestionFactory'][_0x4369('0x44')](_0x4369('0x9f'),_0x4369('0x7a'),_0x4369('0x5f'),_0x1a7807),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')]('formatBlock',_0x4369('0x7a'),_0x4369('0x3d'),(_0xdfc2ce,_0x1e0b4a,_0x344b3a)=>{const _0x4136cc=_0xdfc2ce['map'](_0x4e5edc=>_0x4e5edc['getContainedElement']())[_0x4369('0x43')](_0x40df44=>_0x40df44),_0x550cb8=new Map(_0x4136cc[_0x4369('0x54')](_0x2900ae=>[_0x2900ae,null]));if(_0x304b69)for(const {element:_0x5179f3,attributes:_0x161b46}of _0x304b69[_0x4369('0x48')])_0x161b46&&_0x550cb8[_0x4369('0x1a')](_0x5179f3,_0x161b46);else{if(_0x344b3a&&_0x344b3a[_0x4369('0x9c')])for(const [_0x5de1a8,_0x58826e]of Object[_0x4369('0x6b')](_0x344b3a[_0x4369('0x9c')])){const _0x421bda=_0x21ebb5['model'][_0x4369('0x9a')][_0x4369('0x38')](_0x5de1a8),_0x5004da=_0x421bda?_0x421bda[_0x4369('0x61')]()[_0x4369('0x73')]():null;_0x5004da&&_0x550cb8[_0x4369('0x1a')](_0x5004da,_0x58826e);}}_0x21ebb5[_0x4369('0x6e')][_0x4369('0x8e')](_0x1de505=>{for(const [_0x3901c5,_0x18e01f]of _0x550cb8)_0x1de505[_0x4369('0x5d')]({...ce,..._0x18e01f},_0x3901c5);});});const _0x578dfb=(_0x875b53,_0x13c9bb)=>{_0x3f9d7d[_0x4369('0x51')]['registerCustomCallback'](_0x875b53,_0x4369('0x50'),_0x13c9bb,(_0x544d1c,_0x38b84a,_0x4efb37)=>{_0x21ebb5['model']['change'](_0x39983e=>{const _0x20b09e=[];for(const _0x2f695e of _0x544d1c){const _0x1502c2=_0x2f695e[_0x4369('0x13')][_0x4369('0x71')];_0x1502c2['is'](_0x4369('0x86'),_0x4369('0x52'))&&_0x20b09e['push'](_0x1502c2);}_0x3f9d7d[_0x4369('0x51')][_0x4369('0x4f')](_0x875b53,null,_0x13c9bb)(_0x544d1c,_0x38b84a,_0x4efb37);for(const _0x410eb7 of _0x20b09e)_0x4369('0x2b')!=_0x410eb7[_0x4369('0xd')][_0x4369('0xe')]&&_0x39983e['unwrap'](_0x410eb7);});});};_0x578dfb(_0x4369('0x56'),_0x4369('0x3d')),_0x578dfb(_0x4369('0x56'),_0x4369('0x5f')),_0x578dfb(_0x4369('0x53'),_0x4369('0x3d')),_0x578dfb(_0x4369('0x53'),_0x4369('0x5f')),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x56'),_0x4369('0x32'),_0x4369('0x5f'),_0x4b264a=>{const _0x77d7d6=_0x4b264a[_0x4369('0x54')](_0x511953=>_0x511953[_0x4369('0x73')]()),_0x31570b=_0x77d7d6[0x0][_0x4369('0x92')](_0x4369('0x75')),{minRow:_0x1399cb,maxRow:_0x575d77}=_0x3c5dd1[_0x4369('0xa7')](_0x77d7d6);_0xfc873[_0x4369('0xa4')](_0x31570b,{'at':_0x1399cb,'rows':_0x575d77-_0x1399cb+0x1});}),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x56'),_0x4369('0x29'),_0x4369('0x5f'),_0x519426=>{const _0x52b3a3=_0x519426['map'](_0x1552f3=>_0x1552f3['getContainedElement']()),_0x41fe17=_0x52b3a3[0x0][_0x4369('0x92')]('table'),{minColumn:_0x1fc77f,maxColumn:_0x3b3d01}=_0x3c5dd1[_0x4369('0xa7')](_0x52b3a3);_0xfc873[_0x4369('0x3c')](_0x41fe17,{'at':_0x1fc77f,'columns':_0x3b3d01-_0x1fc77f+0x1});});const _0x20db95=(_0x4630c5,_0x34d382)=>{if(!_0x34d382[_0x4369('0x82')]||!_0x34d382[_0x4369('0x82')][_0x4369('0x19')](_0x4369('0x50')))return;const _0x539f66=_0x34d382[_0x4369('0x9d')][_0x4369('0x4d')],_0x2197c8=_0x3f9d7d[_0x4369('0x90')]()[_0x4369('0x43')](_0x136bd5=>_0x136bd5[_0x4369('0x6')]&&_0x136bd5[_0x4369('0x9d')]&&_0x136bd5[_0x4369('0x9d')][_0x4369('0x4d')]==_0x539f66);_0x2197c8[_0x4369('0x12')]&&_0x34d382[_0x4369('0x4e')]()[_0x4369('0x12')]!=_0x2197c8[_0x4369('0x12')]&&_0x2197c8[_0x4369('0x58')]((_0x8e021e,_0x5dc352)=>(_0x8e021e[_0x4369('0x9e')]=_0x5dc352,_0x5dc352[_0x4369('0x4')]=_0x8e021e,_0x5dc352));};function _0x38427f(_0x23868c,{showActiveMarker:_0x4f5c11=!0x0}={}){const {id:_0x3625ee}=_0x3f9d7d['_splitMarkerName'](_0x23868c[_0x4369('0x1e')]),_0x2355c9=[_0x4369('0x31'),_0x4369('0x8d')],_0x3e942a=_0x3f9d7d[_0x4369('0xac')]['includes'](_0x23868c[_0x4369('0x1e')]);return _0x3e942a&&_0x2355c9[_0x4369('0x3')]('ck-suggestion-marker--active'),{'classes':_0x2355c9,'attributes':{'data-suggestion':_0x3625ee},'priority':_0x3e942a&&_0x4f5c11?0xbc2:0xbb8};}_0x3f9d7d['on'](_0x4369('0x93'),_0x20db95,{'priority':_0x4369('0x74')}),_0x3f9d7d['on'](_0x4369('0x4b'),_0x20db95,{'priority':'high'}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0x1')](()=>{let _0x56f0d2=!0x1;const _0x5c98e7=Array['from'](_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0xa9')][_0x4369('0x6c')]());for(const {name:_0x3057e1,data:_0x1a823d}of _0x5c98e7){const {group:_0x1d399c,type:_0x3faa1f,id:_0x279b9e}=_0x3f9d7d[_0x4369('0xab')](_0x3057e1);if(_0x4369('0x7d')!=_0x1d399c||_0x4369('0x53')!=_0x3faa1f||_0x1a823d['oldRange'])continue;if(!_0x3f9d7d['hasSuggestion'](_0x279b9e))continue;const _0x403566=_0x3f9d7d[_0x4369('0x7c')](_0x279b9e)[_0x4369('0x26')](),_0x323a0b=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x77'))['me'];for(const _0x3bb249 of _0x3f9d7d[_0x4369('0x90')]()){if(!_0x3bb249[_0x4369('0x6')]||_0x3bb249['author']!=_0x323a0b)continue;if(_0x4369('0x9f')!=_0x3bb249[_0x4369('0x3e')]||'tablePasteCell'!=_0x3bb249[_0x4369('0x82')])continue;if(_0x3bb249[_0x4369('0x26')]()[_0x4369('0x30')](_0x4a01a0=>_0x403566[_0x4369('0x2f')](_0x3af6f8=>_0x3af6f8[_0x4369('0x68')](_0x4a01a0,!0x0))))for(const _0x37953c of _0x3bb249['getAllAdjacentSuggestions']())_0x37953c[_0x4369('0x6')]&&(_0x37953c['discard'](),_0x56f0d2=!0x0);}}return _0x56f0d2;}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0x1')](_0x454f56=>{const _0x252427=_0x21ebb5[_0x4369('0x9b')][_0x4369('0x38')](_0x4369('0x2a'));if(!_0x252427||!_0x252427[_0x4369('0x34')][_0x4369('0x7e')](_0x454f56[_0x4369('0x2c')]))return!0x1;let _0x1c3023=!0x1;const _0x10a090=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x77'))['me'],_0x12175f=_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')]['differ'][_0x4369('0x65')](),_0x12c982=Array['from'](_0x21ebb5[_0x4369('0x6e')]['document'][_0x4369('0xa9')][_0x4369('0x6c')]())[_0x4369('0x43')](({name:_0x536a28,data:_0xf67852})=>{const {group:_0x2a58b3,subType:_0x4d6064,authorId:_0x511ee8}=_0x3f9d7d[_0x4369('0xab')](_0x536a28);return _0x4369('0x7d')==_0x2a58b3&&_0x4369('0x50')==_0x4d6064&&_0x511ee8==_0x10a090['id']&&!_0xf67852[_0x4369('0x55')];});for(const _0x42249d of _0x12175f){if(_0x4369('0x2e')!=_0x42249d[_0x4369('0x3e')]||_0x4369('0x52')!=_0x42249d[_0x4369('0x87')]||0x1!=_0x42249d[_0x4369('0x12')])continue;const _0x10e814=_0x454f56[_0x4369('0x1d')](_0x42249d['position'],_0x42249d[_0x4369('0x69')]['getShiftedBy'](0x1));if(!_0x12c982[_0x4369('0x76')](({data:_0x199647})=>_0x199647[_0x4369('0x63')][_0x4369('0x36')](_0x10e814)))for(const {name:_0xa9cde3,data:_0x1a8a89}of _0x12c982)if(_0x10e814[_0x4369('0x68')](_0x1a8a89['newRange'])){_0x454f56[_0x4369('0x1f')](_0xa9cde3,{'range':_0x10e814}),_0x1c3023=!0x0;break;}}return _0x1c3023;}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')]['registerPostFixer'](_0x24d253=>{let _0x38f9b9=!0x1;const _0x21f24a=_0x21ebb5['plugins']['get']('Users')['me'],_0x132520=_0x3f9d7d['getSuggestions']()['filter'](_0x2c3125=>_0x2c3125[_0x4369('0x6')]&&_0x2c3125[_0x4369('0xa1')]==_0x21f24a),_0x31d6e2=new Set(),_0x52c41f=new Set();for(const _0x38f5b1 of _0x132520)if(_0x4369('0x50')==_0x38f5b1[_0x4369('0x82')])for(const _0x2390f1 of _0x38f5b1[_0x4369('0x67')]()){const _0x3ca4f5=_0x2390f1[_0x4369('0x61')]()[_0x4369('0x73')]();if(_0x3ca4f5){if(_0x3ca4f5['is'](_0x4369('0x86'),_0x4369('0x52'))&&fe(_0x3ca4f5)){_0x38f5b1[_0x4369('0x8')](_0x2390f1[_0x4369('0x87')]),_0x31d6e2[_0x4369('0x81')](_0x3ca4f5),_0x38f9b9=!0x0;const _0x88e4a1=_0x3ca4f5[_0x4369('0x0')],_0x2e9fc9=_0x3ca4f5[_0x4369('0x85')],_0x251aa7=_0x88e4a1&&_0x88e4a1['is'](_0x4369('0x86'),_0x4369('0x52')),_0x2b5e52=_0x2e9fc9&&_0x2e9fc9['is'](_0x4369('0x86'),_0x4369('0x52'));_0x251aa7&&!_0x31d6e2['has'](_0x88e4a1)&&_0x52c41f[_0x4369('0x81')](_0x88e4a1),_0x2b5e52&&!_0x31d6e2[_0x4369('0x7e')](_0x2e9fc9)&&_0x52c41f['add'](_0x2e9fc9);}else _0x3ca4f5['is'](_0x4369('0x86'),_0x4369('0x5a'))&&_0x3ca4f5[_0x4369('0x24')]&&(_0x38f5b1[_0x4369('0x8')](_0x2390f1[_0x4369('0x87')]),_0x38f9b9=!0x0);}}else{if(_0x4369('0x7a')==_0x38f5b1[_0x4369('0x82')]){if(!_0x38f5b1[_0x4369('0x9d')]||!_0x38f5b1[_0x4369('0x9d')]['tablePasteChainId'])continue;const _0x26d04f=_0x38f5b1['attributes'][_0x4369('0x9c')];if(_0x26d04f&&Object[_0x4369('0xa3')](_0x26d04f)['length'])continue;const _0x4b7037=_0x38f5b1[_0x4369('0x9d')][_0x4369('0x4d')];let _0x5dd172=!0x0,_0xd48646=!0x0;for(const _0xdd4a97 of _0x132520)if(_0xdd4a97[_0x4369('0x82')]&&_0xdd4a97[_0x4369('0x82')][_0x4369('0x19')](_0x4369('0x50'))){if(!_0xdd4a97[_0x4369('0x9d')]['tablePasteChainId']){_0xd48646=!0x1;break;}if(_0xdd4a97['id']!=_0x38f5b1['id']&&_0xdd4a97['attributes']['tablePasteChainId']==_0x4b7037){_0x5dd172=!0x1;break;}}_0xd48646&&_0x5dd172&&(_0x38f5b1[_0x4369('0x8a')](),_0x38f9b9=!0x0);}}for(const _0x184b78 of _0x31d6e2)_0x24d253[_0x4369('0xf')](_0x184b78);for(const _0x51e4d2 of _0x52c41f)_0x24d253[_0x4369('0xa2')](_0x51e4d2);return _0x38f9b9;}),_0x21ebb5[_0x4369('0x60')]['for'](_0x4369('0x41'))[_0x4369('0x5')]({'model':_0x4369('0xc'),'view':_0x38427f,'converterPriority':_0x4369('0x74')}),_0x21ebb5[_0x4369('0x60')][_0x4369('0x8f')](_0x4369('0x17'))[_0x4369('0x5')]({'model':_0x4369('0xc'),'view':(_0x3b1601,_0x44a752)=>{if(_0x44a752[_0x4369('0x5e')][_0x4369('0x45')])return _0x38427f(_0x3b1601,{'showActiveMarker':!0x1});},'converterPriority':_0x4369('0x74')});const _0x5b72a2=_0x21ebb5['editing'][_0x4369('0x1b')];this[_0x4369('0x3f')](_0x5b72a2[_0x4369('0x33')],_0x4369('0x14'),(_0x1ad0d1,_0x1b980d)=>{const _0x11465d=[];for(const _0x1940ee of _0x5b72a2[_0x4369('0x21')](_0x1b980d[_0x4369('0x23')])[_0x4369('0x47')]())_0x1940ee['is'](_0x4369('0x86'),_0x4369('0x95'))&&_0x11465d[_0x4369('0x3')](_0x1940ee);_0x5b72a2[_0x4369('0x8e')](_0x248276=>{for(const _0x5e22cf of _0x11465d)_0x248276[_0x4369('0xa0')](_0x248276[_0x4369('0x21')](_0x5e22cf),_0x248276[_0x4369('0x96')](_0x5e22cf)),_0x248276[_0x4369('0xf')](_0x5e22cf);});});}}function fe(_0x541f9f){if(_0x541f9f['isEmpty'])return!0x0;const _0x65b79a=_0x541f9f['getChild'](0x0);return _0x65b79a['is'](_0x4369('0x86'),_0x4369('0x5a'))&&_0x65b79a[_0x4369('0x24')];}function ue(_0x38ee07,_0xa43691={},_0x11f85b){for(const {isAnchor:_0x5bc14a,cellHeight:_0xa96f48,cellWidth:_0x4e3d11}of _0x11f85b[_0x4369('0x22')](_0x38ee07,{'includeAllSlots':!0x0,..._0xa43691}))if(!_0x5bc14a||0x1!=_0xa96f48||0x1!=_0x4e3d11)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46b6=['columnWidths','commandParams','getContainedElement','formatGroupId','TrackChangesEditing','subType','change','data','Users','getAttribute','TableColumnResizeEditing','accept','registerCustomCallback','model','tableWidth','discard','formatBlock','locale','markBlockFormat','table','afterInit','handleSuggestionDescription','getSuggestions','getSelectedElement','editor','_descriptionFactory','getSuggestionCallback','get','enableCommand','format','*Format:*\x20resize\x20table','registerDescriptionCallback','resizeTable','setAttribute','handleResizeTableWidthCommand','plugins','_suggestionFactory','bind','selection','resizeTableWidth'];(function(_0x28db23,_0x46b642){const _0x8479d8=function(_0x1ed34a){while(--_0x1ed34a){_0x28db23['push'](_0x28db23['shift']());}};_0x8479d8(++_0x46b642);}(_0x46b6,0x10f));const _0x8479=function(_0x28db23,_0x46b642){_0x28db23=_0x28db23-0x0;let _0x8479d8=_0x46b6[_0x28db23];return _0x8479d8;};import{Plugin as _0x12405a}from'ckeditor5/src/core';import{getTranslation as _0x5a093d}from'../utils/common-translations';export default class yt extends _0x12405a{[_0x8479('0x1d')](){if(!this[_0x8479('0x21')][_0x8479('0x4')]['has'](_0x8479('0x13')))return;const _0x5d236f=this[_0x8479('0x21')]['plugins'][_0x8479('0x24')](_0x8479('0xd'));_0x5d236f[_0x8479('0x25')](_0x8479('0x8'),this[_0x8479('0x3')][_0x8479('0x6')](this)),_0x5d236f[_0x8479('0x25')]('resizeColumnWidths',this['handleResizeTableWidthCommand'][_0x8479('0x6')](this)),_0x5d236f[_0x8479('0x5')][_0x8479('0x15')](_0x8479('0x19'),_0x8479('0x1'),_0x8479('0x14'),_0x5d236f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x8479('0x18'))),_0x5d236f['_suggestionFactory']['registerCustomCallback'](_0x8479('0x19'),_0x8479('0x1'),_0x8479('0x18'),_0x5d236f[_0x8479('0x5')][_0x8479('0x23')](_0x8479('0x19'),null,_0x8479('0x14'))),_0x5d236f[_0x8479('0x22')][_0x8479('0x0')](this[_0x8479('0x1e')][_0x8479('0x6')](this));}[_0x8479('0x3')](_0x2e9343,_0x44bf3a){const _0x439fff=this[_0x8479('0x21')][_0x8479('0x4')][_0x8479('0x24')](_0x8479('0xd')),_0x565361=_0x44bf3a[_0x8479('0x1c')]||this[_0x8479('0x21')][_0x8479('0x16')]['document'][_0x8479('0x7')][_0x8479('0x20')]();this[_0x8479('0x21')][_0x8479('0x16')][_0x8479('0xf')](_0x5e487d=>{let _0x2a8679=_0x565361[_0x8479('0x12')](_0x8479('0x17'))||null,_0x3b4a3a=_0x565361[_0x8479('0x12')](_0x8479('0x9'))||null;const _0x38c011=_0x44bf3a[_0x8479('0x17')]||_0x2a8679,_0x1f7fc8=_0x44bf3a[_0x8479('0x9')]||_0x3b4a3a,_0x1afe85=this[_0x8479('0x21')][_0x8479('0x4')]['get'](_0x8479('0x11'))['me'];for(const _0x45af1c of _0x439fff[_0x8479('0x1f')]()){const _0x2fbfcc=_0x45af1c[_0x8479('0xb')]();if(_0x8479('0x1')===_0x45af1c[_0x8479('0xe')]&&_0x2fbfcc===_0x565361){_0x45af1c['author']!==_0x1afe85&&_0x45af1c[_0x8479('0x18')](),_0x2a8679=_0x45af1c[_0x8479('0x10')][_0x8479('0xa')][0x0]['tableWidth'],_0x3b4a3a=_0x45af1c['data'][_0x8479('0xa')][0x0][_0x8479('0x9')];break;}}_0x5e487d[_0x8479('0x2')](_0x8479('0x17'),_0x38c011,_0x565361),_0x5e487d[_0x8479('0x2')](_0x8479('0x9'),_0x1f7fc8,_0x565361),_0x439fff[_0x8479('0x1b')](_0x565361,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x2a8679,'columnWidths':_0x3b4a3a}],'formatGroupId':'resizeTable'},[],_0x8479('0x1'));});}[_0x8479('0x1e')](_0x135eaa){const {data:_0x4ab723}=_0x135eaa;if(_0x4ab723&&'resizeTable'===_0x4ab723[_0x8479('0xc')]){const _0x4f2c13=_0x8479('0x27');return{'type':_0x8479('0x26'),'content':_0x5a093d(this[_0x8479('0x21')][_0x8479('0x1a')],_0x4f2c13)};}}}
23
+ const _0x7fac=['model','selection','has','registerCustomCallback','editor','TableColumnResizeEditing','formatGroupId','locale','setAttribute','handleResizeTableWidthCommand','_suggestionFactory','getSuggestions','handleSuggestionDescription','columnWidths','tableWidth','bind','formatBlock','getAttribute','plugins','document','markBlockFormat','get','table','_descriptionFactory','Users','resizeTable','getContainedElement','TrackChangesEditing','enableCommand','accept','data','*Format:*\x20resize\x20table','discard','resizeTableWidth','getSuggestionCallback'];(function(_0x593073,_0x7facb1){const _0xabb86a=function(_0x42f330){while(--_0x42f330){_0x593073['push'](_0x593073['shift']());}};_0xabb86a(++_0x7facb1);}(_0x7fac,0x1db));const _0xabb8=function(_0x593073,_0x7facb1){_0x593073=_0x593073-0x0;let _0xabb86a=_0x7fac[_0x593073];return _0xabb86a;};import{Plugin as _0x2c10df}from'ckeditor5/src/core';import{getTranslation as _0x18b849}from'../utils/common-translations';export default class yt extends _0x2c10df{['afterInit'](){if(!this[_0xabb8('0x13')]['plugins'][_0xabb8('0x11')](_0xabb8('0x14')))return;const _0x4b92b1=this['editor']['plugins'][_0xabb8('0x1')](_0xabb8('0x7'));_0x4b92b1[_0xabb8('0x8')](_0xabb8('0xd'),this[_0xabb8('0x18')]['bind'](this)),_0x4b92b1[_0xabb8('0x8')]('resizeColumnWidths',this['handleResizeTableWidthCommand'][_0xabb8('0x1e')](this)),_0x4b92b1[_0xabb8('0x19')][_0xabb8('0x12')](_0xabb8('0x1f'),_0xabb8('0x5'),_0xabb8('0x9'),_0x4b92b1[_0xabb8('0x19')]['getSuggestionCallback'](_0xabb8('0x1f'),null,_0xabb8('0xc'))),_0x4b92b1[_0xabb8('0x19')]['registerCustomCallback'](_0xabb8('0x1f'),_0xabb8('0x5'),'discard',_0x4b92b1[_0xabb8('0x19')][_0xabb8('0xe')](_0xabb8('0x1f'),null,_0xabb8('0x9'))),_0x4b92b1[_0xabb8('0x3')]['registerDescriptionCallback'](this[_0xabb8('0x1b')]['bind'](this));}[_0xabb8('0x18')](_0x148966,_0x550350){const _0x59eb67=this[_0xabb8('0x13')][_0xabb8('0x21')][_0xabb8('0x1')](_0xabb8('0x7')),_0x59b417=_0x550350[_0xabb8('0x2')]||this[_0xabb8('0x13')]['model'][_0xabb8('0x22')][_0xabb8('0x10')]['getSelectedElement']();this[_0xabb8('0x13')][_0xabb8('0xf')]['change'](_0x4e97ba=>{let _0x136572=_0x59b417[_0xabb8('0x20')](_0xabb8('0x1d'))||null,_0x48e670=_0x59b417['getAttribute'](_0xabb8('0x1c'))||null;const _0x206211=_0x550350[_0xabb8('0x1d')]||_0x136572,_0x5423ef=_0x550350[_0xabb8('0x1c')]||_0x48e670,_0x5889ac=this[_0xabb8('0x13')][_0xabb8('0x21')][_0xabb8('0x1')](_0xabb8('0x4'))['me'];for(const _0x22ce2e of _0x59eb67[_0xabb8('0x1a')]()){const _0x12f1ca=_0x22ce2e[_0xabb8('0x6')]();if(_0xabb8('0x5')===_0x22ce2e['subType']&&_0x12f1ca===_0x59b417){_0x22ce2e['author']!==_0x5889ac&&_0x22ce2e['discard'](),_0x136572=_0x22ce2e[_0xabb8('0xa')]['commandParams'][0x0][_0xabb8('0x1d')],_0x48e670=_0x22ce2e[_0xabb8('0xa')]['commandParams'][0x0]['columnWidths'];break;}}_0x4e97ba[_0xabb8('0x17')](_0xabb8('0x1d'),_0x206211,_0x59b417),_0x4e97ba['setAttribute'](_0xabb8('0x1c'),_0x5423ef,_0x59b417),_0x59eb67[_0xabb8('0x0')](_0x59b417,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x136572,'columnWidths':_0x48e670}],'formatGroupId':'resizeTable'},[],_0xabb8('0x5'));});}['handleSuggestionDescription'](_0x433b96){const {data:_0x2faac6}=_0x433b96;if(_0x2faac6&&'resizeTable'===_0x2faac6[_0xabb8('0x15')]){const _0x246b5e=_0xabb8('0xb');return{'type':'format','content':_0x18b849(this['editor'][_0xabb8('0x16')],_0x246b5e)};}}}