@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230728.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/gl.js +1 -1
  3. package/build/translations/sq.js +1 -0
  4. package/lang/translations/gl.po +23 -23
  5. package/lang/translations/sq.po +487 -0
  6. package/package.json +3 -3
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  11. package/src/commands/trackchangescommand.js +1 -1
  12. package/src/integrations/alignment.js +1 -1
  13. package/src/integrations/basicstyles.js +1 -1
  14. package/src/integrations/blockquote.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/documentlist.js +1 -1
  20. package/src/integrations/documentlistproperties.js +1 -1
  21. package/src/integrations/entercommand.js +1 -1
  22. package/src/integrations/findandreplace.js +1 -1
  23. package/src/integrations/font.js +1 -1
  24. package/src/integrations/formatpainter.js +1 -1
  25. package/src/integrations/heading.js +1 -1
  26. package/src/integrations/highlight.js +1 -1
  27. package/src/integrations/horizontalline.js +1 -1
  28. package/src/integrations/htmlembed.js +1 -1
  29. package/src/integrations/image.js +1 -1
  30. package/src/integrations/imagereplace.js +1 -1
  31. package/src/integrations/importword.js +1 -1
  32. package/src/integrations/indent.js +1 -1
  33. package/src/integrations/inputcommand.js +1 -1
  34. package/src/integrations/link.js +1 -1
  35. package/src/integrations/list.js +1 -1
  36. package/src/integrations/listproperties.js +1 -1
  37. package/src/integrations/mediaembed.js +1 -1
  38. package/src/integrations/mention.js +1 -1
  39. package/src/integrations/pagebreak.js +1 -1
  40. package/src/integrations/paragraph.js +1 -1
  41. package/src/integrations/removeformat.js +1 -1
  42. package/src/integrations/restrictededitingmode.js +1 -1
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.js +1 -1
  48. package/src/integrations/tableclipboard.js +1 -1
  49. package/src/integrations/tablecolumnresize.js +1 -1
  50. package/src/integrations/tableheadings.js +1 -1
  51. package/src/integrations/tablemergesplit.js +1 -1
  52. package/src/integrations/tableofcontents.js +1 -1
  53. package/src/integrations/tableproperties.js +1 -1
  54. package/src/integrations/template.js +1 -1
  55. package/src/integrations/title.js +1 -1
  56. package/src/integrations/undo.js +1 -1
  57. package/src/integrations/utils.js +1 -1
  58. package/src/suggestion.js +1 -1
  59. package/src/suggestiondescriptionfactory.js +1 -1
  60. package/src/trackchanges.js +1 -1
  61. package/src/trackchangesdata.js +1 -1
  62. package/src/trackchangesediting.js +1 -1
  63. package/src/trackchangesui.js +1 -1
  64. package/src/ui/suggestioncontroller.js +1 -1
  65. package/src/ui/view/basesuggestionthreadview.js +1 -1
  66. package/src/ui/view/suggestionthreadview.js +1 -1
  67. package/src/utils/common-translations.js +1 -1
  68. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd894=['get','getListTypeFromListStyleType','_getTranslationKeyForListStyle','enableCommand','from','*Format:*\x20set\x20start\x20index\x20to\x20%0','listStyle','startIndex','document','_getSuggestionBlocksForListStyle','handleListStyleCommand','registerDescriptionCallback','flat','numbered','forward','unshift','_getSuggestionBlocks','afterInit','filter','getAttribute','element','TrackChangesEditing','ListPropertiesEditing','listReversed','getSiblingNodes','styles','commandName','toUpperCase','config','getSelectedBlocks','*Change\x20to:*\x20%0','listItem','bind','createRange','getFirstPosition','listType','handleListStartCommand','backward','before','format','replace','change','markMultiRangeBlockFormat','reversed','ListUtils','model','ELEMENT_','selection','commandParams','createPositionAt','length','_descriptionFactory','handleDescriptions','editor','handleListReversedCommand','*Format:*\x20set\x20order\x20to\x20regular','map','push','listStart','type','plugins'];(function(_0x459c40,_0xd894ce){const _0x2d43fb=function(_0x1b3b2c){while(--_0x1b3b2c){_0x459c40['push'](_0x459c40['shift']());}};_0x2d43fb(++_0xd894ce);}(_0xd894,0x76));const _0x2d43=function(_0x459c40,_0xd894ce){_0x459c40=_0x459c40-0x0;let _0x2d43fb=_0xd894[_0x459c40];return _0x2d43fb;};import{Plugin as _0x2dc2f0}from'ckeditor5/src/core';import{getTranslation as _0x909fea}from'../utils/common-translations';export default class nt extends _0x2dc2f0{[_0x2d43('0x15')](){if(!this[_0x2d43('0x39')][_0x2d43('0x3')]['has'](_0x2d43('0x1a')))return;const _0x5dec17=this[_0x2d43('0x39')][_0x2d43('0x20')][_0x2d43('0x4')]('list.properties'),_0x4f5dbc=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19'));_0x5dec17[_0x2d43('0x1d')]&&_0x4f5dbc['enableCommand'](_0x2d43('0xa'),this['handleListStyleCommand'][_0x2d43('0x24')](this)),_0x5dec17[_0x2d43('0x2f')]&&_0x4f5dbc[_0x2d43('0x7')](_0x2d43('0x1b'),this[_0x2d43('0x3a')][_0x2d43('0x24')](this)),_0x5dec17[_0x2d43('0xb')]&&_0x4f5dbc[_0x2d43('0x7')](_0x2d43('0x1'),this[_0x2d43('0x28')][_0x2d43('0x24')](this)),_0x4f5dbc[_0x2d43('0x37')][_0x2d43('0xf')](this['handleDescriptions'][_0x2d43('0x24')](this));}[_0x2d43('0xe')](_0x2b977d,_0x50d54e={}){const _0x58d6d2=this['editor'][_0x2d43('0x3')]['get'](_0x2d43('0x19')),_0x593d64=this[_0x2d43('0xd')]();this[_0x2d43('0x39')]['model']['change'](()=>{_0x58d6d2[_0x2d43('0x2e')](_0x593d64,{'commandName':'listStyle','commandParams':[{'type':_0x50d54e[_0x2d43('0x2')]}],'formatGroupId':_0x2d43('0xa')});});}[_0x2d43('0x3a')](_0x2b2789,_0x3b52e2={}){const _0xa28f39=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19')),_0x5a8b61=this['_getSuggestionBlocks'](_0x54918a=>_0x54918a['is'](_0x2d43('0x18'),_0x2d43('0x23'))&&_0x2d43('0x11')===_0x54918a[_0x2d43('0x17')](_0x2d43('0x27')));if(_0x5a8b61['length']<0x1)return;const _0x19fe10=_0x5a8b61[_0x2d43('0x3c')](_0x1d994d=>this['editor'][_0x2d43('0x31')][_0x2d43('0x25')](this['editor'][_0x2d43('0x31')]['createPositionAt'](_0x1d994d,'before'),this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x1d994d,0x0)));this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x2d')](()=>{_0xa28f39[_0x2d43('0x2e')](_0x19fe10,{'commandName':_0x2d43('0x1b'),'commandParams':[{'reversed':_0x3b52e2[_0x2d43('0x2f')]}],'formatGroupId':_0x2d43('0x1b')});});}[_0x2d43('0x28')](_0x456284,_0x42c80b={}){const _0x50d6b4=this[_0x2d43('0x39')][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19')),_0x3ef03a=this[_0x2d43('0x14')](_0x4fe575=>_0x4fe575['is'](_0x2d43('0x18'),_0x2d43('0x23'))&&_0x2d43('0x11')===_0x4fe575[_0x2d43('0x17')](_0x2d43('0x27')));if(_0x3ef03a[_0x2d43('0x36')]<0x1)return;const _0xee6d22=_0x3ef03a[_0x2d43('0x3c')](_0x4d140e=>this['editor'][_0x2d43('0x31')]['createRange'](this['editor']['model']['createPositionAt'](_0x4d140e,_0x2d43('0x2a')),this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x4d140e,0x0)));this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x2d')](()=>{_0x50d6b4['markMultiRangeBlockFormat'](_0xee6d22,{'commandName':_0x2d43('0x1'),'commandParams':[{'startIndex':_0x42c80b[_0x2d43('0xb')]}],'formatGroupId':_0x2d43('0x1')});});}[_0x2d43('0x38')](_0xd9b89a){const _0x4dca9f=this['editor']['locale'],{data:_0x1836de}=_0xd9b89a;if(!_0x1836de)return;let _0xa0973a,_0x178e93;switch(_0x1836de[_0x2d43('0x1e')]){case _0x2d43('0xa'):_0xa0973a=_0x2d43('0x22'),_0x178e93={'type':'format','content':_0x909fea(_0x4dca9f,_0xa0973a,_0x909fea(_0x4dca9f,this[_0x2d43('0x6')](_0x1836de[_0x2d43('0x34')][0x0]['type'])))};break;case _0x2d43('0x1b'):_0xa0973a=_0x1836de[_0x2d43('0x34')][0x0][_0x2d43('0x2f')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x2d43('0x3b'),_0x178e93={'type':'format','content':_0x909fea(_0x4dca9f,_0xa0973a)};break;case'listStart':_0xa0973a=_0x2d43('0x9'),_0x178e93={'type':_0x2d43('0x2b'),'content':_0x909fea(_0x4dca9f,_0xa0973a,_0x1836de[_0x2d43('0x34')][0x0][_0x2d43('0xb')])};}return _0x178e93;}[_0x2d43('0xd')](){var _0x5711a5,_0x33e1bf,_0x46bf85,_0x5cc86b;const _0x2e07b2=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x30'));let _0x189827=Array[_0x2d43('0x8')](this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')][_0x2d43('0x21')]());return(null===(_0x5711a5=_0x189827[0x0])||void 0x0===_0x5711a5?void 0x0:_0x5711a5['is'](_0x2d43('0x18'),_0x2d43('0x23')))&&_0x189827[_0x2d43('0x13')](..._0x2e07b2[_0x2d43('0x1c')](this[_0x2d43('0x39')][_0x2d43('0x31')]['document'][_0x2d43('0x33')]['getFirstPosition'](),_0x2d43('0x29'))),(null===(_0x33e1bf=_0x189827[_0x189827[_0x2d43('0x36')]-0x1])||void 0x0===_0x33e1bf?void 0x0:_0x33e1bf['is'](_0x2d43('0x18'),_0x2d43('0x23')))&&_0x189827[_0x2d43('0x0')](..._0x2e07b2[_0x2d43('0x1c')](this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')]['getLastPosition'](),'forward')),_0x189827=[...new Set(_0x189827)],(null===(_0x5cc86b=null===(_0x46bf85=this['editor'][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')][_0x2d43('0x26')]())||void 0x0===_0x46bf85?void 0x0:_0x46bf85['parent'])||void 0x0===_0x5cc86b?void 0x0:_0x5cc86b['is']('element',_0x2d43('0x23')))&&(_0x189827=_0x189827[_0x2d43('0x16')](_0x483f47=>_0x483f47['is'](_0x2d43('0x18'),_0x2d43('0x23')))),_0x189827;}[_0x2d43('0x14')](_0x480f3b){const _0xbda39b=this[_0x2d43('0x39')]['plugins'][_0x2d43('0x4')](_0x2d43('0x30'));let _0x1f4270=Array[_0x2d43('0x8')](this[_0x2d43('0x39')]['model']['document'][_0x2d43('0x33')]['getSelectedBlocks']())[_0x2d43('0x16')](_0x480f3b)[_0x2d43('0x3c')](_0x23f463=>{const _0x1c888e=this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x23f463,0x0);return[..._0xbda39b[_0x2d43('0x1c')](_0x1c888e,_0x2d43('0x29')),..._0xbda39b['getSiblingNodes'](_0x1c888e,_0x2d43('0x12'))];})[_0x2d43('0x10')]();return _0x1f4270=[...new Set(_0x1f4270)],_0x1f4270;}['_getTranslationKeyForListStyle'](_0x108c80){return _0x2d43('0x32')+this['editor'][_0x2d43('0x3')][_0x2d43('0x4')]('ListUtils')[_0x2d43('0x5')](_0x108c80)[_0x2d43('0x1f')]()+'_LIST_'+_0x108c80['toUpperCase']()[_0x2d43('0x2c')](/-/g,'_');}}
23
+ const _0x3ad6=['numbered','filter','element','replace','plugins','backward','flat','getListTypeFromListStyleType','document','listReversed','toUpperCase','change','editor','getAttribute','listType','reversed','forward','getFirstPosition','map','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','selection','get','has','bind','registerDescriptionCallback','commandParams','model','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','_descriptionFactory','listStyle','format','styles','handleDescriptions','_getSuggestionBlocksForListStyle','from','afterInit','createPositionAt','handleListStartCommand','type','parent','listItem','_getSuggestionBlocks','*Change\x20to:*\x20%0','list.properties','before','ListUtils','listStart','enableCommand','getSiblingNodes','_getTranslationKeyForListStyle','length','createRange','handleListReversedCommand','commandName','startIndex'];(function(_0x12f0a3,_0x3ad63c){const _0x292b66=function(_0x5c1a7a){while(--_0x5c1a7a){_0x12f0a3['push'](_0x12f0a3['shift']());}};_0x292b66(++_0x3ad63c);}(_0x3ad6,0xb3));const _0x292b=function(_0x12f0a3,_0x3ad63c){_0x12f0a3=_0x12f0a3-0x0;let _0x292b66=_0x3ad6[_0x12f0a3];return _0x292b66;};import{Plugin as _0x38a903}from'ckeditor5/src/core';import{getTranslation as _0x26ff5c}from'../utils/common-translations';export default class nt extends _0x38a903{[_0x292b('0x1d')](){if(!this['editor']['plugins'][_0x292b('0xf')]('ListPropertiesEditing'))return;const _0x23c6df=this[_0x292b('0x4')]['config'][_0x292b('0xe')](_0x292b('0x25')),_0x33bdd5=this['editor']['plugins']['get'](_0x292b('0xb'));_0x23c6df[_0x292b('0x19')]&&_0x33bdd5[_0x292b('0x29')](_0x292b('0x17'),this[_0x292b('0x14')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x7')]&&_0x33bdd5[_0x292b('0x29')]('listReversed',this[_0x292b('0x2e')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x30')]&&_0x33bdd5[_0x292b('0x29')]('listStart',this['handleListStartCommand'][_0x292b('0x10')](this)),_0x33bdd5[_0x292b('0x16')][_0x292b('0x11')](this[_0x292b('0x1a')][_0x292b('0x10')](this));}[_0x292b('0x14')](_0x37a1e9,_0x3a69b5={}){const _0x12c33e=this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x18132b=this['_getSuggestionBlocksForListStyle']();this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x12c33e['markMultiRangeBlockFormat'](_0x18132b,{'commandName':_0x292b('0x17'),'commandParams':[{'type':_0x3a69b5[_0x292b('0x20')]}],'formatGroupId':_0x292b('0x17')});});}[_0x292b('0x2e')](_0x23802a,_0x44b2a0={}){const _0x9f2b4d=this[_0x292b('0x4')]['plugins'][_0x292b('0xe')]('TrackChangesEditing'),_0x1851a7=this[_0x292b('0x23')](_0x7d0409=>_0x7d0409['is'](_0x292b('0x33'),'listItem')&&_0x292b('0x31')===_0x7d0409['getAttribute'](_0x292b('0x6')));if(_0x1851a7[_0x292b('0x2c')]<0x1)return;const _0x426631=_0x1851a7[_0x292b('0xa')](_0x32725a=>this[_0x292b('0x4')]['model'][_0x292b('0x2d')](this[_0x292b('0x4')][_0x292b('0x13')]['createPositionAt'](_0x32725a,'before'),this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0x32725a,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x9f2b4d['markMultiRangeBlockFormat'](_0x426631,{'commandName':'listReversed','commandParams':[{'reversed':_0x44b2a0[_0x292b('0x7')]}],'formatGroupId':_0x292b('0x1')});});}[_0x292b('0x1f')](_0x48846f,_0x2e2262={}){const _0x2efbe=this['editor'][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x357988=this[_0x292b('0x23')](_0x1f99c2=>_0x1f99c2['is']('element',_0x292b('0x22'))&&_0x292b('0x31')===_0x1f99c2[_0x292b('0x5')]('listType'));if(_0x357988[_0x292b('0x2c')]<0x1)return;const _0x54af91=_0x357988[_0x292b('0xa')](_0x3cb6cb=>this[_0x292b('0x4')][_0x292b('0x13')]['createRange'](this['editor']['model'][_0x292b('0x1e')](_0x3cb6cb,_0x292b('0x26')),this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x1e')](_0x3cb6cb,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x2efbe['markMultiRangeBlockFormat'](_0x54af91,{'commandName':_0x292b('0x28'),'commandParams':[{'startIndex':_0x2e2262[_0x292b('0x30')]}],'formatGroupId':_0x292b('0x28')});});}[_0x292b('0x1a')](_0x57bada){const _0x486820=this['editor']['locale'],{data:_0x276333}=_0x57bada;if(!_0x276333)return;let _0x3db602,_0x55af19;switch(_0x276333[_0x292b('0x2f')]){case'listStyle':_0x3db602=_0x292b('0x24'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602,_0x26ff5c(_0x486820,this[_0x292b('0x2b')](_0x276333[_0x292b('0x12')][0x0][_0x292b('0x20')])))};break;case _0x292b('0x1'):_0x3db602=_0x276333[_0x292b('0x12')][0x0][_0x292b('0x7')]?_0x292b('0xc'):_0x292b('0x15'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602)};break;case _0x292b('0x28'):_0x3db602='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x55af19={'type':'format','content':_0x26ff5c(_0x486820,_0x3db602,_0x276333[_0x292b('0x12')][0x0]['startIndex'])};}return _0x55af19;}[_0x292b('0x1b')](){var _0x25d60c,_0x28bab2,_0x57361a,_0x18834d;const _0xc2b24b=this[_0x292b('0x4')][_0x292b('0x35')]['get'](_0x292b('0x27'));let _0x302bbe=Array['from'](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getSelectedBlocks']());return(null===(_0x25d60c=_0x302bbe[0x0])||void 0x0===_0x25d60c?void 0x0:_0x25d60c['is']('element',_0x292b('0x22')))&&_0x302bbe['unshift'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')][_0x292b('0x9')](),_0x292b('0x36'))),(null===(_0x28bab2=_0x302bbe[_0x302bbe['length']-0x1])||void 0x0===_0x28bab2?void 0x0:_0x28bab2['is']('element',_0x292b('0x22')))&&_0x302bbe['push'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getLastPosition'](),_0x292b('0x8'))),_0x302bbe=[...new Set(_0x302bbe)],(null===(_0x18834d=null===(_0x57361a=this['editor']['model']['document'][_0x292b('0xd')][_0x292b('0x9')]())||void 0x0===_0x57361a?void 0x0:_0x57361a[_0x292b('0x21')])||void 0x0===_0x18834d?void 0x0:_0x18834d['is']('element',_0x292b('0x22')))&&(_0x302bbe=_0x302bbe[_0x292b('0x32')](_0x25f93f=>_0x25f93f['is'](_0x292b('0x33'),_0x292b('0x22')))),_0x302bbe;}[_0x292b('0x23')](_0x447c76){const _0xd1899a=this['editor']['plugins'][_0x292b('0xe')](_0x292b('0x27'));let _0x2cfb0b=Array[_0x292b('0x1c')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')]['selection']['getSelectedBlocks']())[_0x292b('0x32')](_0x447c76)[_0x292b('0xa')](_0xfd2d38=>{const _0x167b5c=this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0xfd2d38,0x0);return[..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x36')),..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x8'))];})[_0x292b('0x37')]();return _0x2cfb0b=[...new Set(_0x2cfb0b)],_0x2cfb0b;}[_0x292b('0x2b')](_0x363de7){return'ELEMENT_'+this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0x27'))[_0x292b('0x38')](_0x363de7)[_0x292b('0x2')]()+'_LIST_'+_0x363de7['toUpperCase']()[_0x292b('0x34')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1db2=['registerElementLabel','has','locale','media','plugins','downcastDispatcher','get','conversion','attribute:url:media','elementToElement','dataDowncast','MediaEmbedEditing','ELEMENT_MEDIA','mediaEmbed','TrackChangesEditing','data','high','_descriptionFactory','showSuggestionHighlights'];(function(_0x12b6b8,_0x1db2ac){const _0x302af7=function(_0x1d9f69){while(--_0x1d9f69){_0x12b6b8['push'](_0x12b6b8['shift']());}};_0x302af7(++_0x1db2ac);}(_0x1db2,0x68));const _0x302a=function(_0x12b6b8,_0x1db2ac){_0x12b6b8=_0x12b6b8-0x0;let _0x302af7=_0x1db2[_0x12b6b8];return _0x302af7;};import{Plugin as _0x4b95ba}from'ckeditor5/src/core';import{getTranslation as _0x38b60b}from'../utils/common-translations';export default class ot extends _0x4b95ba{['afterInit'](){const _0x39ccc9=this['editor'];if(!_0x39ccc9['plugins'][_0x302a('0xb')](_0x302a('0x2')))return;const _0x5c0178=_0x39ccc9[_0x302a('0xe')][_0x302a('0x10')](_0x302a('0x5')),_0x5a756b=_0x39ccc9[_0x302a('0xc')];_0x5c0178['enableCommand'](_0x302a('0x4')),_0x5c0178[_0x302a('0x8')][_0x302a('0xa')](_0x302a('0xd'),_0x4f19bb=>_0x38b60b(_0x5a756b,_0x302a('0x3'),_0x4f19bb)),_0x39ccc9[_0x302a('0x11')]['for'](_0x302a('0x1'))[_0x302a('0x0')]({'model':_0x302a('0xd'),'view':(_0x533e7a,{writer:_0x471f5d,options:_0x30759c})=>{if(_0x30759c[_0x302a('0x9')])return _0x471f5d['createEmptyElement']('div');},'converterPriority':_0x302a('0x7')}),_0x39ccc9[_0x302a('0x6')][_0x302a('0xf')]['on'](_0x302a('0x12'),(_0x5616e4,_0x4bc522,_0x51f46c)=>{_0x51f46c['options'][_0x302a('0x9')]&&_0x5616e4['stop']();},{'priority':_0x302a('0x7')});}}
23
+ const _0x18ec=['data','high','enableCommand','createEmptyElement','MediaEmbedEditing','conversion','dataDowncast','downcastDispatcher','ELEMENT_MEDIA','media','TrackChangesEditing','afterInit','get','plugins','showSuggestionHighlights','locale','editor','has','options','mediaEmbed','for','stop'];(function(_0x14246c,_0x18ec9b){const _0x196ccb=function(_0x5e1ef1){while(--_0x5e1ef1){_0x14246c['push'](_0x14246c['shift']());}};_0x196ccb(++_0x18ec9b);}(_0x18ec,0xb8));const _0x196c=function(_0x14246c,_0x18ec9b){_0x14246c=_0x14246c-0x0;let _0x196ccb=_0x18ec[_0x14246c];return _0x196ccb;};import{Plugin as _0x9cc354}from'ckeditor5/src/core';import{getTranslation as _0x4d584b}from'../utils/common-translations';export default class ot extends _0x9cc354{[_0x196c('0x3')](){const _0x8942be=this[_0x196c('0x8')];if(!_0x8942be['plugins'][_0x196c('0x9')](_0x196c('0x12')))return;const _0x4dd3a9=_0x8942be[_0x196c('0x5')][_0x196c('0x4')](_0x196c('0x2')),_0x478b8f=_0x8942be[_0x196c('0x7')];_0x4dd3a9[_0x196c('0x10')](_0x196c('0xb')),_0x4dd3a9['_descriptionFactory']['registerElementLabel'](_0x196c('0x1'),_0x3f39df=>_0x4d584b(_0x478b8f,_0x196c('0x0'),_0x3f39df)),_0x8942be[_0x196c('0x13')][_0x196c('0xc')](_0x196c('0x14'))['elementToElement']({'model':_0x196c('0x1'),'view':(_0x2724c6,{writer:_0x199bd0,options:_0x113eac})=>{if(_0x113eac[_0x196c('0x6')])return _0x199bd0[_0x196c('0x11')]('div');},'converterPriority':_0x196c('0xf')}),_0x8942be[_0x196c('0xe')][_0x196c('0x15')]['on']('attribute:url:media',(_0x532fcb,_0x2a3b35,_0x418a70)=>{_0x418a70[_0x196c('0xa')][_0x196c('0x6')]&&_0x532fcb[_0x196c('0xd')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c31=['plugins','get','MentionEditing','TrackChangesEditing','has','editor','mention'];(function(_0x3dbc60,_0x1c313c){const _0x38f5ed=function(_0xf66503){while(--_0xf66503){_0x3dbc60['push'](_0x3dbc60['shift']());}};_0x38f5ed(++_0x1c313c);}(_0x1c31,0x167));const _0x38f5=function(_0x3dbc60,_0x1c313c){_0x3dbc60=_0x3dbc60-0x0;let _0x38f5ed=_0x1c31[_0x3dbc60];return _0x38f5ed;};import{Plugin as _0x53c49d}from'ckeditor5/src/core';export default class rt extends _0x53c49d{['afterInit'](){const _0x238752=this[_0x38f5('0x3')];_0x238752[_0x38f5('0x5')][_0x38f5('0x2')](_0x38f5('0x0'))&&_0x238752[_0x38f5('0x5')][_0x38f5('0x6')](_0x38f5('0x1'))['enableCommand'](_0x38f5('0x4'));}}
23
+ const _0x5196=['TrackChangesEditing','plugins','editor','afterInit','enableCommand','MentionEditing'];(function(_0x21f59c,_0x519679){const _0x36d08f=function(_0x4b69fd){while(--_0x4b69fd){_0x21f59c['push'](_0x21f59c['shift']());}};_0x36d08f(++_0x519679);}(_0x5196,0xf2));const _0x36d0=function(_0x21f59c,_0x519679){_0x21f59c=_0x21f59c-0x0;let _0x36d08f=_0x5196[_0x21f59c];return _0x36d08f;};import{Plugin as _0x48ebe3}from'ckeditor5/src/core';export default class rt extends _0x48ebe3{[_0x36d0('0x1')](){const _0x5dce0e=this[_0x36d0('0x0')];_0x5dce0e[_0x36d0('0x5')]['has'](_0x36d0('0x3'))&&_0x5dce0e[_0x36d0('0x5')]['get'](_0x36d0('0x4'))[_0x36d0('0x2')]('mention');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x156f=['pageBreak','locale','afterInit','enableCommand','has','get','registerElementLabel','PageBreakEditing','TrackChangesEditing','plugins','_descriptionFactory','editor'];(function(_0x3f9ddf,_0x156f07){const _0xbd99fa=function(_0x105215){while(--_0x105215){_0x3f9ddf['push'](_0x3f9ddf['shift']());}};_0xbd99fa(++_0x156f07);}(_0x156f,0x16f));const _0xbd99=function(_0x3f9ddf,_0x156f07){_0x3f9ddf=_0x3f9ddf-0x0;let _0xbd99fa=_0x156f[_0x3f9ddf];return _0xbd99fa;};import{Plugin as _0x38caf3}from'ckeditor5/src/core';import{getTranslation as _0x181d23}from'../utils/common-translations';export default class at extends _0x38caf3{[_0xbd99('0x7')](){const _0x4bc5bf=this[_0xbd99('0x4')];if(!_0x4bc5bf[_0xbd99('0x2')][_0xbd99('0x9')](_0xbd99('0x0')))return;_0x4bc5bf['plugins']['get']('TrackChangesEditing')[_0xbd99('0x8')](_0xbd99('0x5'));const _0x43c36d=_0x4bc5bf[_0xbd99('0x2')][_0xbd99('0xa')](_0xbd99('0x1')),_0x11900e=_0x4bc5bf[_0xbd99('0x6')];_0x43c36d[_0xbd99('0x3')][_0xbd99('0xb')](_0xbd99('0x5'),_0x2d7715=>_0x181d23(_0x11900e,'ELEMENT_PAGE_BREAK',_0x2d7715));}}
23
+ const _0x348e=['pageBreak','registerElementLabel','PageBreakEditing','afterInit','plugins','editor','TrackChangesEditing','locale','enableCommand','_descriptionFactory','ELEMENT_PAGE_BREAK','get'];(function(_0x278a56,_0x348e97){const _0xaef7b7=function(_0x62d152){while(--_0x62d152){_0x278a56['push'](_0x278a56['shift']());}};_0xaef7b7(++_0x348e97);}(_0x348e,0x10a));const _0xaef7=function(_0x278a56,_0x348e97){_0x278a56=_0x278a56-0x0;let _0xaef7b7=_0x348e[_0x278a56];return _0xaef7b7;};import{Plugin as _0x24722f}from'ckeditor5/src/core';import{getTranslation as _0x40d387}from'../utils/common-translations';export default class at extends _0x24722f{[_0xaef7('0x1')](){const _0x12b534=this[_0xaef7('0x3')];if(!_0x12b534[_0xaef7('0x2')]['has'](_0xaef7('0x0')))return;_0x12b534[_0xaef7('0x2')][_0xaef7('0x9')](_0xaef7('0x4'))[_0xaef7('0x6')](_0xaef7('0xa'));const _0x9620e4=_0x12b534['plugins'][_0xaef7('0x9')](_0xaef7('0x4')),_0x1cbf99=_0x12b534[_0xaef7('0x5')];_0x9620e4[_0xaef7('0x7')][_0xaef7('0xb')]('pageBreak',_0x424e70=>_0x40d387(_0x1cbf99,_0xaef7('0x8'),_0x424e70));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e95=['plugins','editing','model','paragraph','*Insert:*\x20%0','TrackChangesEditing','type','addClass','insertion','createUIElement','get','isTouching','options','data','checkChild','name','locale','markerRange','insert','addMarker:suggestion:insertion','commandName','Paragraph','end','highest','afterInit','parent','getItemLabel','schema','format','getFirstRange','toViewPosition','filter','downcastDispatcher','mapper','start','markerName','activeMarkers','*Change\x20to:*\x20%0','blockName','editor','consume','_descriptionFactory','registerDescriptionCallback','selection','change','isLimit','enableCommand','ck-suggestion-marker-split','from','isBlock','nodeAfter','markBlockFormat','document','consumable','showSuggestionHighlights','writer','insertParagraph'];(function(_0x36938f,_0x5e95c3){const _0x162402=function(_0x5f290d){while(--_0x5f290d){_0x36938f['push'](_0x36938f['shift']());}};_0x162402(++_0x5e95c3);}(_0x5e95,0x149));const _0x1624=function(_0x36938f,_0x5e95c3){_0x36938f=_0x36938f-0x0;let _0x162402=_0x5e95[_0x36938f];return _0x162402;};import{Plugin as _0x15f073}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xd915}from'./utils';import{getTranslation as _0x3febab}from'../utils/common-translations';export default class ct extends _0x15f073{[_0x1624('0x25')](){const _0x258dde=this[_0x1624('0x34')];if(!_0x258dde[_0x1624('0xd')]['has'](_0x1624('0x22')))return;const _0x1278c6=_0x258dde[_0x1624('0x1d')],_0x5bd157=_0x258dde['plugins']['get'](_0x1624('0x12'));_0x5bd157['_descriptionFactory']['registerElementLabel'](_0x1624('0x10'),_0x2414ef=>_0x3febab(_0x1278c6,'ELEMENT_PARAGRAPH',_0x2414ef)),_0x5bd157['enableCommand'](_0x1624('0x10'),(_0x555305,_0x297a6b={})=>{const _0x4643c8=_0x258dde[_0x1624('0xf')][_0x1624('0x8')],_0xe157e3=_0x297a6b[_0x1624('0x38')]||_0x4643c8[_0x1624('0x38')],_0x23d6aa=Array[_0x1624('0x4')](_0xe157e3['getSelectedBlocks']())[_0x1624('0x2c')](_0x2f9066=>function(_0x1b55e1,_0xe2fa23){return _0xe2fa23[_0x1624('0x1b')](_0x1b55e1[_0x1624('0x26')],_0x1624('0x10'))&&!_0xe2fa23['isObject'](_0x1b55e1)&&_0x1624('0x10')!=_0x1b55e1[_0x1624('0x1c')];}(_0x2f9066,this['editor']['model'][_0x1624('0x28')]));_0x258dde[_0x1624('0xf')][_0x1624('0x0')](()=>{for(const _0x3a093b of _0x23d6aa)_0x5bd157[_0x1624('0x7')](_0x3a093b,{'commandName':_0x1624('0x10'),'commandParams':[],'formatGroupId':_0x1624('0x33')},_0xd915(_0x3a093b));});}),_0x5bd157[_0x1624('0x36')][_0x1624('0x37')](_0x432b92=>{const {data:_0x58667d}=_0x432b92;if(_0x58667d&&_0x1624('0x10')==_0x58667d[_0x1624('0x21')])return{'type':_0x1624('0x29'),'content':_0x3febab(_0x1278c6,_0x1624('0x32'),_0x3febab(_0x1278c6,'ELEMENT_PARAGRAPH'))};}),_0x5bd157[_0x1624('0x2')](_0x1624('0xc')),_0x258dde[_0x1624('0xe')]['downcastDispatcher']['on'](_0x1624('0x20'),ar(_0x258dde),{'priority':_0x1624('0x24')}),_0x258dde[_0x1624('0x1a')][_0x1624('0x2d')]['on'](_0x1624('0x20'),(_0x3d7b71,_0x3a5156,_0x464406)=>{_0x464406[_0x1624('0x19')][_0x1624('0xa')]&&ar(_0x258dde,{'showActiveMarker':!0x1})(_0x3d7b71,_0x3a5156,_0x464406);},{'priority':_0x1624('0x24')});const _0x5a9189=_0x5bd157[_0x1624('0x36')];_0x5a9189[_0x1624('0x37')](_0x409791=>{if(_0x1624('0x15')!==_0x409791[_0x1624('0x13')])return;const {start:_0x1fcd71,end:_0x106df5}=_0x409791[_0x1624('0x2a')]();if(!_0x1fcd71[_0x1624('0x18')](_0x106df5)||!_0x1fcd71['nodeAfter'])return;const _0x131d99=_0x258dde[_0x1624('0xf')][_0x1624('0x28')],_0x97366d=_0x1fcd71[_0x1624('0x6')];return _0x131d99[_0x1624('0x5')](_0x97366d)&&!_0x131d99[_0x1624('0x1')](_0x97366d)&&_0x131d99[_0x1624('0x1b')](_0x97366d,'$text')?{'type':_0x1624('0x15'),'content':_0x3febab(_0x1278c6,_0x1624('0x11'),_0x5a9189[_0x1624('0x27')](_0x97366d,0x1))}:void 0x0;});}}function ar(_0x2cbb4f,{showActiveMarker:_0xba4895=!0x0}={}){return(_0x4151a1,_0xe76267,_0x42baf7)=>{const _0x5ea3ff=_0x2cbb4f[_0x1624('0xd')][_0x1624('0x17')](_0x1624('0x12')),_0x4a4893=_0xe76267[_0x1624('0x1e')][_0x1624('0x2f')],_0x94f9bd=_0xe76267[_0x1624('0x1e')][_0x1624('0x23')],_0x5838a0=_0x2cbb4f[_0x1624('0xf')][_0x1624('0x28')];if(!_0x4a4893[_0x1624('0x18')](_0x94f9bd)||!_0x4a4893[_0x1624('0x6')])return;const _0x526f62=_0x4a4893[_0x1624('0x6')];if(_0x5838a0['isBlock'](_0x526f62)&&!_0x5838a0[_0x1624('0x1')](_0x526f62)&&_0x5838a0[_0x1624('0x1b')](_0x526f62,'$text')){if(!_0x42baf7[_0x1624('0x9')][_0x1624('0x35')](_0xe76267['markerRange'],_0x4151a1[_0x1624('0x1c')]))return;const _0x1f0a87=_0x42baf7['writer'][_0x1624('0x16')]('span',{'class':_0x1624('0x3')}),_0xdc0b55=_0x42baf7['mapper'][_0x1624('0x2b')](_0x94f9bd);_0xba4895&&_0x5ea3ff[_0x1624('0x31')]['includes'](_0xe76267[_0x1624('0x30')])&&_0x42baf7[_0x1624('0xb')][_0x1624('0x14')]('ck-suggestion-marker--active',_0x1f0a87),_0x42baf7[_0x1624('0xb')][_0x1624('0x1f')](_0xdc0b55,_0x1f0a87),_0x42baf7[_0x1624('0x2e')]['bindElementToMarker'](_0x1f0a87,_0xe76267[_0x1624('0x30')]);}};}
23
+ const _0x5821=['selection','registerDescriptionCallback','locale','consume','get','ELEMENT_PARAGRAPH','schema','change','addMarker:suggestion:insertion','plugins','has','isBlock','*Insert:*\x20%0','getFirstRange','enableCommand','checkChild','editor','writer','bindElementToMarker','filter','nodeAfter','editing','createUIElement','span','markerRange','document','blockName','data','insertion','TrackChangesEditing','addClass','highest','markBlockFormat','insert','isObject','ck-suggestion-marker-split','start','$text','_descriptionFactory','includes','Paragraph','name','type','model','isTouching','markerName','registerElementLabel','end','options','paragraph','isLimit','format','downcastDispatcher'];(function(_0x414835,_0x582120){const _0x38ffcc=function(_0x309d1e){while(--_0x309d1e){_0x414835['push'](_0x414835['shift']());}};_0x38ffcc(++_0x582120);}(_0x5821,0x75));const _0x38ff=function(_0x414835,_0x582120){_0x414835=_0x414835-0x0;let _0x38ffcc=_0x5821[_0x414835];return _0x38ffcc;};import{Plugin as _0x42a72f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x513e90}from'./utils';import{getTranslation as _0x226c41}from'../utils/common-translations';export default class ct extends _0x42a72f{['afterInit'](){const _0x973538=this[_0x38ff('0x5')];if(!_0x973538[_0x38ff('0x33')][_0x38ff('0x34')](_0x38ff('0x1d')))return;const _0x1daa05=_0x973538[_0x38ff('0x2c')],_0x1a1e8a=_0x973538['plugins'][_0x38ff('0x2e')](_0x38ff('0x12'));_0x1a1e8a[_0x38ff('0x1b')][_0x38ff('0x23')]('paragraph',_0x4fe938=>_0x226c41(_0x1daa05,_0x38ff('0x2f'),_0x4fe938)),_0x1a1e8a[_0x38ff('0x3')]('paragraph',(_0x327d63,_0x19bea2={})=>{const _0x329209=_0x973538[_0x38ff('0x20')][_0x38ff('0xe')],_0x13e982=_0x19bea2[_0x38ff('0x2a')]||_0x329209[_0x38ff('0x2a')],_0xab20e4=Array['from'](_0x13e982['getSelectedBlocks']())[_0x38ff('0x8')](_0x17112a=>function(_0x4b9a74,_0x344807){return _0x344807[_0x38ff('0x4')](_0x4b9a74['parent'],_0x38ff('0x26'))&&!_0x344807[_0x38ff('0x17')](_0x4b9a74)&&_0x38ff('0x26')!=_0x4b9a74['name'];}(_0x17112a,this[_0x38ff('0x5')][_0x38ff('0x20')][_0x38ff('0x30')]));_0x973538[_0x38ff('0x20')][_0x38ff('0x31')](()=>{for(const _0x239b39 of _0xab20e4)_0x1a1e8a[_0x38ff('0x15')](_0x239b39,{'commandName':_0x38ff('0x26'),'commandParams':[],'formatGroupId':_0x38ff('0xf')},_0x513e90(_0x239b39));});}),_0x1a1e8a['_descriptionFactory'][_0x38ff('0x2b')](_0x40bdd6=>{const {data:_0x4d57da}=_0x40bdd6;if(_0x4d57da&&'paragraph'==_0x4d57da['commandName'])return{'type':_0x38ff('0x28'),'content':_0x226c41(_0x1daa05,'*Change\x20to:*\x20%0',_0x226c41(_0x1daa05,_0x38ff('0x2f')))};}),_0x1a1e8a[_0x38ff('0x3')]('insertParagraph'),_0x973538[_0x38ff('0xa')][_0x38ff('0x29')]['on'](_0x38ff('0x32'),ar(_0x973538),{'priority':_0x38ff('0x14')}),_0x973538[_0x38ff('0x10')]['downcastDispatcher']['on'](_0x38ff('0x32'),(_0x46ef7c,_0x22a434,_0x1bd91c)=>{_0x1bd91c[_0x38ff('0x25')]['showSuggestionHighlights']&&ar(_0x973538,{'showActiveMarker':!0x1})(_0x46ef7c,_0x22a434,_0x1bd91c);},{'priority':_0x38ff('0x14')});const _0x136cb7=_0x1a1e8a[_0x38ff('0x1b')];_0x136cb7[_0x38ff('0x2b')](_0x507a61=>{if(_0x38ff('0x11')!==_0x507a61[_0x38ff('0x1f')])return;const {start:_0x40cb7b,end:_0x293fdb}=_0x507a61[_0x38ff('0x2')]();if(!_0x40cb7b[_0x38ff('0x21')](_0x293fdb)||!_0x40cb7b[_0x38ff('0x9')])return;const _0x28f53e=_0x973538[_0x38ff('0x20')][_0x38ff('0x30')],_0x51d925=_0x40cb7b[_0x38ff('0x9')];return _0x28f53e[_0x38ff('0x0')](_0x51d925)&&!_0x28f53e['isLimit'](_0x51d925)&&_0x28f53e[_0x38ff('0x4')](_0x51d925,_0x38ff('0x1a'))?{'type':_0x38ff('0x11'),'content':_0x226c41(_0x1daa05,_0x38ff('0x1'),_0x136cb7['getItemLabel'](_0x51d925,0x1))}:void 0x0;});}}function ar(_0x1d8d1b,{showActiveMarker:_0x19311d=!0x0}={}){return(_0x1c7d18,_0x470577,_0x23c20a)=>{const _0x3e1ce0=_0x1d8d1b[_0x38ff('0x33')][_0x38ff('0x2e')](_0x38ff('0x12')),_0x1e0cef=_0x470577['markerRange'][_0x38ff('0x19')],_0x588515=_0x470577[_0x38ff('0xd')][_0x38ff('0x24')],_0x489da6=_0x1d8d1b[_0x38ff('0x20')][_0x38ff('0x30')];if(!_0x1e0cef[_0x38ff('0x21')](_0x588515)||!_0x1e0cef[_0x38ff('0x9')])return;const _0x58837c=_0x1e0cef[_0x38ff('0x9')];if(_0x489da6[_0x38ff('0x0')](_0x58837c)&&!_0x489da6[_0x38ff('0x27')](_0x58837c)&&_0x489da6['checkChild'](_0x58837c,_0x38ff('0x1a'))){if(!_0x23c20a['consumable'][_0x38ff('0x2d')](_0x470577[_0x38ff('0xd')],_0x1c7d18[_0x38ff('0x1e')]))return;const _0x1bda17=_0x23c20a[_0x38ff('0x6')][_0x38ff('0xb')](_0x38ff('0xc'),{'class':_0x38ff('0x18')}),_0x3a0293=_0x23c20a['mapper']['toViewPosition'](_0x588515);_0x19311d&&_0x3e1ce0['activeMarkers'][_0x38ff('0x1c')](_0x470577['markerName'])&&_0x23c20a[_0x38ff('0x6')][_0x38ff('0x13')]('ck-suggestion-marker--active',_0x1bda17),_0x23c20a['writer'][_0x38ff('0x16')](_0x3a0293,_0x1bda17),_0x23c20a['mapper'][_0x38ff('0x7')](_0x1bda17,_0x470577[_0x38ff('0x22')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1702=['getItems','has','change','isCollapsed','createRangeOn','commandName','getAttributes','RemoveFormatEditing','editor','selection','TrackChangesEditing','enableCommand','get','getRanges','format','plugins','from','removeFormat','locale','registerDescriptionCallback','afterInit','getAttributeProperties','model','markInlineFormat','_descriptionFactory','*Remove\x20all\x20formatting*'];(function(_0x14d7ac,_0x170293){const _0x3d10a4=function(_0x233614){while(--_0x233614){_0x14d7ac['push'](_0x14d7ac['shift']());}};_0x3d10a4(++_0x170293);}(_0x1702,0x69));const _0x3d10=function(_0x14d7ac,_0x170293){_0x14d7ac=_0x14d7ac-0x0;let _0x3d10a4=_0x1702[_0x14d7ac];return _0x3d10a4;};import{Plugin as _0x2bf92d}from'ckeditor5/src/core';import{getTranslation as _0x4684e0}from'../utils/common-translations';export default class ht extends _0x2bf92d{[_0x3d10('0x13')](){const _0x5919c5=this[_0x3d10('0x7')];if(!_0x5919c5[_0x3d10('0xe')][_0x3d10('0x0')](_0x3d10('0x6')))return;const _0x397486=_0x5919c5[_0x3d10('0xe')][_0x3d10('0xb')](_0x3d10('0x9'));_0x397486[_0x3d10('0xa')]('removeFormat',_0x4a664e=>{const _0x34f28a=_0x5919c5[_0x3d10('0x15')]['document'][_0x3d10('0x8')];_0x34f28a[_0x3d10('0x2')]?_0x4a664e():_0x5919c5[_0x3d10('0x15')][_0x3d10('0x1')](()=>{const _0xecfb27=Array[_0x3d10('0xf')](_0x34f28a[_0x3d10('0xc')]());for(const _0x4725d8 of _0xecfb27)for(const _0x5b6e84 of _0x4725d8[_0x3d10('0x19')]())eo(_0x5b6e84,_0x5919c5[_0x3d10('0x15')]['schema'])&&_0x397486[_0x3d10('0x16')](_0x5919c5['model'][_0x3d10('0x3')](_0x5b6e84),{'commandName':_0x3d10('0x10'),'commandParams':[]});});}),_0x397486[_0x3d10('0x17')][_0x3d10('0x12')](_0x3c7c85=>{const {data:_0xd51894}=_0x3c7c85;if(_0xd51894&&'removeFormat'==_0xd51894[_0x3d10('0x4')])return{'type':_0x3d10('0xd'),'content':_0x4684e0(_0x5919c5[_0x3d10('0x11')],_0x3d10('0x18'))};});}}function eo(_0x5b1d54,_0xed5ca1){for(const [_0x2c5bfa]of _0x5b1d54[_0x3d10('0x5')]()){const _0x4c5b50=_0xed5ca1[_0x3d10('0x14')](_0x2c5bfa);if(_0x4c5b50&&_0x4c5b50['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x2609=['registerDescriptionCallback','*Remove\x20all\x20formatting*','commandName','RemoveFormatEditing','from','_descriptionFactory','plugins','createRangeOn','change','model','locale','removeFormat','selection','enableCommand','schema','getItems','document','getAttributeProperties','isFormatting'];(function(_0x315a2b,_0x260999){const _0x515610=function(_0x17baeb){while(--_0x17baeb){_0x315a2b['push'](_0x315a2b['shift']());}};_0x515610(++_0x260999);}(_0x2609,0x133));const _0x5156=function(_0x315a2b,_0x260999){_0x315a2b=_0x315a2b-0x0;let _0x515610=_0x2609[_0x315a2b];return _0x515610;};import{Plugin as _0x13a409}from'ckeditor5/src/core';import{getTranslation as _0x5363c7}from'../utils/common-translations';export default class ht extends _0x13a409{['afterInit'](){const _0x30a52e=this['editor'];if(!_0x30a52e[_0x5156('0x3')]['has'](_0x5156('0x0')))return;const _0x11d58a=_0x30a52e[_0x5156('0x3')]['get']('TrackChangesEditing');_0x11d58a[_0x5156('0xa')](_0x5156('0x8'),_0x5e23bd=>{const _0x5c971e=_0x30a52e['model'][_0x5156('0xd')][_0x5156('0x9')];_0x5c971e['isCollapsed']?_0x5e23bd():_0x30a52e[_0x5156('0x6')][_0x5156('0x5')](()=>{const _0x1d447f=Array[_0x5156('0x1')](_0x5c971e['getRanges']());for(const _0x1c9c73 of _0x1d447f)for(const _0x2e5b0d of _0x1c9c73[_0x5156('0xc')]())eo(_0x2e5b0d,_0x30a52e[_0x5156('0x6')][_0x5156('0xb')])&&_0x11d58a['markInlineFormat'](_0x30a52e[_0x5156('0x6')][_0x5156('0x4')](_0x2e5b0d),{'commandName':_0x5156('0x8'),'commandParams':[]});});}),_0x11d58a[_0x5156('0x2')][_0x5156('0x10')](_0x5b7cd0=>{const {data:_0x56ec4c}=_0x5b7cd0;if(_0x56ec4c&&_0x5156('0x8')==_0x56ec4c[_0x5156('0x12')])return{'type':'format','content':_0x5363c7(_0x30a52e[_0x5156('0x7')],_0x5156('0x11'))};});}}function eo(_0x22a82a,_0x553c71){for(const [_0x38bb44]of _0x22a82a['getAttributes']()){const _0x4edbb5=_0x553c71[_0x5156('0xe')](_0x38bb44);if(_0x4edbb5&&_0x4edbb5[_0x5156('0xf')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1816=['enableCommand','TrackChangesEditing','editor','discardSelectedSuggestions','RestrictedEditingModeEditing','discardSuggestion','acceptAllSuggestions','afterInit','acceptSelectedSuggestions','trackChanges','get','discardAllSuggestions','goToNextRestrictedEditingException','plugins','goToPreviousRestrictedEditingException'];(function(_0x1d0c48,_0x181611){const _0x73cd4e=function(_0x49ddf2){while(--_0x49ddf2){_0x1d0c48['push'](_0x1d0c48['shift']());}};_0x73cd4e(++_0x181611);}(_0x1816,0xde));const _0x73cd=function(_0x1d0c48,_0x181611){_0x1d0c48=_0x1d0c48-0x0;let _0x73cd4e=_0x1816[_0x1d0c48];return _0x73cd4e;};import{Plugin as _0x323dbc}from'ckeditor5/src/core';export default class ut extends _0x323dbc{[_0x73cd('0xa')](){const _0x5b6095=this[_0x73cd('0x5')];if(!_0x5b6095[_0x73cd('0x1')]['has'](_0x73cd('0x7')))return;const _0x418bd8=_0x5b6095[_0x73cd('0x1')][_0x73cd('0xd')](_0x73cd('0x4'));_0x418bd8[_0x73cd('0x3')](_0x73cd('0x2')),_0x418bd8[_0x73cd('0x3')](_0x73cd('0x0'));const _0x2339d2=_0x5b6095['plugins'][_0x73cd('0xd')]('RestrictedEditingModeEditing');_0x2339d2['enableCommand'](_0x73cd('0xc')),_0x2339d2[_0x73cd('0x3')]('acceptSuggestion'),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x8')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x9')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0xe')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0xb')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x6'));}}
23
+ const _0x2937=['enableCommand','discardSuggestion','goToNextRestrictedEditingException','TrackChangesEditing','trackChanges','acceptSuggestion','get','editor','plugins','goToPreviousRestrictedEditingException','discardAllSuggestions','discardSelectedSuggestions','has','acceptSelectedSuggestions','RestrictedEditingModeEditing'];(function(_0x4d573c,_0x293736){const _0x16d745=function(_0x430e2e){while(--_0x430e2e){_0x4d573c['push'](_0x4d573c['shift']());}};_0x16d745(++_0x293736);}(_0x2937,0x1a9));const _0x16d7=function(_0x4d573c,_0x293736){_0x4d573c=_0x4d573c-0x0;let _0x16d745=_0x2937[_0x4d573c];return _0x16d745;};import{Plugin as _0xee7b19}from'ckeditor5/src/core';export default class ut extends _0xee7b19{['afterInit'](){const _0x4ed173=this[_0x16d7('0x2')];if(!_0x4ed173[_0x16d7('0x3')][_0x16d7('0x7')](_0x16d7('0x9')))return;const _0x26d7a4=_0x4ed173[_0x16d7('0x3')]['get'](_0x16d7('0xd'));_0x26d7a4['enableCommand'](_0x16d7('0x4')),_0x26d7a4['enableCommand'](_0x16d7('0xc'));const _0x1fab3a=_0x4ed173[_0x16d7('0x3')][_0x16d7('0x1')](_0x16d7('0x9'));_0x1fab3a['enableCommand'](_0x16d7('0xe')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x0')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0xb')),_0x1fab3a[_0x16d7('0xa')]('acceptAllSuggestions'),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x5')),_0x1fab3a['enableCommand'](_0x16d7('0x8')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ddc=['markerName','downcastDispatcher','high','bindElementToMarker','showSuggestionHighlights','span','plugins','addClass','_descriptionFactory','addMarker:suggestion','split','mapper','ck-suggestion-marker-','addMarker:suggestion:deletion','ck-suggestion-marker--active','includes','model','init','writer','ELEMENT_LINE_BREAK','softBreak','shiftEnter','insert','get','merge','enableCommand','data','options','activeMarkers','consumable','test','locale','editing','element','name','createPositionBefore','markerRange','deletion','requires'];(function(_0x32cba0,_0x4ddca2){const _0x52ce17=function(_0x382b76){while(--_0x382b76){_0x32cba0['push'](_0x32cba0['shift']());}};_0x52ce17(++_0x4ddca2);}(_0x4ddc,0x139));const _0x52ce=function(_0x32cba0,_0x4ddca2){_0x32cba0=_0x32cba0-0x0;let _0x52ce17=_0x4ddc[_0x32cba0];return _0x52ce17;};import{Plugin as _0x1b5baf}from'ckeditor5/src/core';import{ShiftEnter as _0x259628}from'ckeditor5/src/enter';import{getTranslation as _0xdc463d}from'../utils/common-translations';export default class ft extends _0x1b5baf{static get[_0x52ce('0x25')](){return[_0x259628];}[_0x52ce('0x10')](){const _0x303321=this['editor'],_0x1a97f1=_0x303321[_0x52ce('0x5')][_0x52ce('0x16')]('TrackChangesEditing');_0x1a97f1[_0x52ce('0x18')](_0x52ce('0x14')),_0x303321['editing'][_0x52ce('0x0')]['on']('addMarker:suggestion:insertion',re(_0x303321),{'priority':_0x52ce('0x1')}),_0x303321[_0x52ce('0x1f')]['downcastDispatcher']['on'](_0x52ce('0xc'),re(_0x303321),{'priority':_0x52ce('0x1')}),_0x303321[_0x52ce('0x19')]['downcastDispatcher']['on'](_0x52ce('0x8'),(_0x428143,_0x5478dd,_0x9545c)=>{_0x9545c[_0x52ce('0x1a')][_0x52ce('0x3')]&&re(_0x303321,{'showActiveMarker':!0x1})(_0x428143,_0x5478dd,_0x9545c);}),_0x1a97f1[_0x52ce('0x7')]['registerElementLabel'](_0x52ce('0x13'),_0x5c0c26=>_0xdc463d(_0x303321[_0x52ce('0x1e')],_0x52ce('0x12'),_0x5c0c26));}}function re(_0x34e2ec,{showActiveMarker:_0x20fa78=!0x0}={}){return(_0x26b1ee,_0x54d437,_0x46bb3a)=>{const _0x84b158=_0x34e2ec[_0x52ce('0x5')][_0x52ce('0x16')]('TrackChangesEditing');if(!_0x46bb3a[_0x52ce('0x1c')][_0x52ce('0x1d')](_0x54d437['markerRange'],_0x26b1ee[_0x52ce('0x21')]))return;const _0x304ac9=_0x34e2ec[_0x52ce('0xf')];for(const _0x2c640b of _0x54d437[_0x52ce('0x23')]['getItems']()){if(!_0x2c640b['is'](_0x52ce('0x20'),_0x52ce('0x13')))continue;const _0x19ed0f=_0x52ce('0x24')==_0x54d437[_0x52ce('0x26')][_0x52ce('0x9')](':')[0x1]?_0x52ce('0x17'):'split',_0x153732=_0x46bb3a[_0x52ce('0x11')]['createUIElement'](_0x52ce('0x4'),{'class':_0x52ce('0xb')+_0x19ed0f}),_0x5ed0ff=_0x46bb3a[_0x52ce('0xa')]['toViewPosition'](_0x304ac9[_0x52ce('0x22')](_0x2c640b));_0x20fa78&&_0x84b158[_0x52ce('0x1b')][_0x52ce('0xe')](_0x54d437[_0x52ce('0x26')])&&_0x46bb3a[_0x52ce('0x11')][_0x52ce('0x6')](_0x52ce('0xd'),_0x153732),_0x46bb3a[_0x52ce('0x11')][_0x52ce('0x15')](_0x5ed0ff,_0x153732),_0x46bb3a[_0x52ce('0xa')][_0x52ce('0x2')](_0x153732,_0x54d437[_0x52ce('0x26')]);}};}
23
+ const _0x333d=['ck-suggestion-marker-','editor','span','data','split','_descriptionFactory','high','ck-suggestion-marker--active','test','addMarker:suggestion','deletion','editing','locale','ELEMENT_LINE_BREAK','get','insert','plugins','writer','model','markerName','bindElementToMarker','showSuggestionHighlights','markerRange','options','addClass','TrackChangesEditing','downcastDispatcher','getItems','createUIElement','mapper','includes','softBreak','registerElementLabel','consumable','enableCommand','toViewPosition','addMarker:suggestion:deletion'];(function(_0x58d7d1,_0x333da3){const _0x30deaf=function(_0x59496c){while(--_0x59496c){_0x58d7d1['push'](_0x58d7d1['shift']());}};_0x30deaf(++_0x333da3);}(_0x333d,0x1d9));const _0x30de=function(_0x58d7d1,_0x333da3){_0x58d7d1=_0x58d7d1-0x0;let _0x30deaf=_0x333d[_0x58d7d1];return _0x30deaf;};import{Plugin as _0x41db8e}from'ckeditor5/src/core';import{ShiftEnter as _0x3e63d5}from'ckeditor5/src/enter';import{getTranslation as _0x50819f}from'../utils/common-translations';export default class ft extends _0x41db8e{static get['requires'](){return[_0x3e63d5];}['init'](){const _0x40c484=this[_0x30de('0x9')],_0xa35216=_0x40c484[_0x30de('0x18')][_0x30de('0x16')](_0x30de('0x21'));_0xa35216[_0x30de('0x5')]('shiftEnter'),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on']('addMarker:suggestion:insertion',re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on'](_0x30de('0x7'),re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0xb')][_0x30de('0x22')]['on'](_0x30de('0x11'),(_0x455e24,_0x301c62,_0x1d787f)=>{_0x1d787f[_0x30de('0x1f')][_0x30de('0x1d')]&&re(_0x40c484,{'showActiveMarker':!0x1})(_0x455e24,_0x301c62,_0x1d787f);}),_0xa35216[_0x30de('0xd')][_0x30de('0x3')]('softBreak',_0x10e6f4=>_0x50819f(_0x40c484[_0x30de('0x14')],_0x30de('0x15'),_0x10e6f4));}}function re(_0x181db3,{showActiveMarker:_0x18686a=!0x0}={}){return(_0x5c072e,_0x4aa8f4,_0x317406)=>{const _0x443a26=_0x181db3['plugins'][_0x30de('0x16')](_0x30de('0x21'));if(!_0x317406[_0x30de('0x4')][_0x30de('0x10')](_0x4aa8f4[_0x30de('0x1e')],_0x5c072e['name']))return;const _0x145fb2=_0x181db3[_0x30de('0x1a')];for(const _0x294fb5 of _0x4aa8f4[_0x30de('0x1e')][_0x30de('0x23')]()){if(!_0x294fb5['is']('element',_0x30de('0x2')))continue;const _0x171210=_0x30de('0x12')==_0x4aa8f4[_0x30de('0x1b')][_0x30de('0xc')](':')[0x1]?'merge':'split',_0x535972=_0x317406[_0x30de('0x19')][_0x30de('0x24')](_0x30de('0xa'),{'class':_0x30de('0x8')+_0x171210}),_0x3e3171=_0x317406[_0x30de('0x0')][_0x30de('0x6')](_0x145fb2['createPositionBefore'](_0x294fb5));_0x18686a&&_0x443a26['activeMarkers'][_0x30de('0x1')](_0x4aa8f4['markerName'])&&_0x317406[_0x30de('0x19')][_0x30de('0x20')](_0x30de('0xf'),_0x535972),_0x317406[_0x30de('0x19')][_0x30de('0x17')](_0x3e3171,_0x535972),_0x317406[_0x30de('0x0')][_0x30de('0x1c')](_0x535972,_0x4aa8f4['markerName']);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa9d3=['has','markInlineFormat','selection','document','commandParams','commandName','commands','forceValue','locale','from','get','change','StandardEditingModeEditing','model','TrackChangesEditing','registerDescriptionCallback','afterInit','FORMAT_RESTRICTED_DISABLED','enableCommand','value','editor','_descriptionFactory','plugins'];(function(_0x5882de,_0xa9d31e){const _0x22b775=function(_0x168aa2){while(--_0x168aa2){_0x5882de['push'](_0x5882de['shift']());}};_0x22b775(++_0xa9d31e);}(_0xa9d3,0x1d8));const _0x22b7=function(_0x5882de,_0xa9d31e){_0x5882de=_0x5882de-0x0;let _0x22b775=_0xa9d3[_0x5882de];return _0x22b775;};import{Plugin as _0x3faba6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x3d693d}from'./utils';import{getTranslation as _0x2d0be3}from'../utils/common-translations';export default class lt extends _0x3faba6{[_0x22b7('0x4')](){const _0x2d7d43=this[_0x22b7('0x8')],_0x5cdc72=_0x2d7d43[_0x22b7('0x1')],_0x2106b7=_0x2d7d43[_0x22b7('0x13')];if(!_0x2d7d43['plugins'][_0x22b7('0xb')](_0x22b7('0x0')))return;const _0x308329=_0x2d7d43[_0x22b7('0xa')][_0x22b7('0x15')](_0x22b7('0x2')),_0x1415ff='restrictedEditingException',_0x10b9dd=_0x2d7d43[_0x22b7('0x11')]['get'](_0x1415ff);_0x308329[_0x22b7('0x6')](_0x1415ff,(_0x23fa9f,_0x140745={})=>{const _0xd30cfb=_0x5cdc72[_0x22b7('0xe')][_0x22b7('0xd')];if(_0xd30cfb['isCollapsed'])return void _0x23fa9f(_0x140745);const _0x351c87=void 0x0!==_0x140745['forceValue']?_0x140745[_0x22b7('0x12')]:!_0x10b9dd[_0x22b7('0x7')];_0x5cdc72[_0x22b7('0x16')](()=>{const _0x5c1505=Array[_0x22b7('0x14')](_0xd30cfb['getRanges']());for(const _0x294526 of _0x5c1505){const _0x354853=_0x351c87?[_0x294526]:_0x3d693d(_0x1415ff,_0x294526,_0x5cdc72);for(const _0x528afa of _0x354853)_0x308329[_0x22b7('0xc')](_0x528afa,{'commandName':_0x1415ff,'commandParams':[{'forceValue':_0x351c87}]});}});}),_0x308329[_0x22b7('0x9')][_0x22b7('0x3')](_0x4445fd=>{const {data:_0x5513c7}=_0x4445fd;if(_0x5513c7&&_0x5513c7[_0x22b7('0x10')]==_0x1415ff)return _0x5513c7[_0x22b7('0xf')][0x0]['forceValue']?{'type':'format','content':_0x2d0be3(_0x2106b7,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2d0be3(_0x2106b7,_0x22b7('0x5'))};});}}
23
+ const _0x5385=['change','locale','FORMAT_RESTRICTED_ENABLED','document','enableCommand','forceValue','afterInit','markInlineFormat','FORMAT_RESTRICTED_DISABLED','_descriptionFactory','format','commandName','plugins','from','getRanges','restrictedEditingException','commands','editor','get','value','commandParams','model','selection'];(function(_0x1338ea,_0x538586){const _0xe3a8c3=function(_0x2c0123){while(--_0x2c0123){_0x1338ea['push'](_0x1338ea['shift']());}};_0xe3a8c3(++_0x538586);}(_0x5385,0xb4));const _0xe3a8=function(_0x1338ea,_0x538586){_0x1338ea=_0x1338ea-0x0;let _0xe3a8c3=_0x5385[_0x1338ea];return _0xe3a8c3;};import{Plugin as _0x1d6703}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x15996c}from'./utils';import{getTranslation as _0x426d5f}from'../utils/common-translations';export default class lt extends _0x1d6703{[_0xe3a8('0xa')](){const _0xca231b=this[_0xe3a8('0x15')],_0x30fc57=_0xca231b[_0xe3a8('0x2')],_0x48e708=_0xca231b[_0xe3a8('0x5')];if(!_0xca231b[_0xe3a8('0x10')]['has']('StandardEditingModeEditing'))return;const _0x1107f2=_0xca231b[_0xe3a8('0x10')]['get']('TrackChangesEditing'),_0x345a77=_0xe3a8('0x13'),_0x5de73a=_0xca231b[_0xe3a8('0x14')][_0xe3a8('0x16')](_0x345a77);_0x1107f2[_0xe3a8('0x8')](_0x345a77,(_0x3a822d,_0x498684={})=>{const _0xe46052=_0x30fc57[_0xe3a8('0x7')][_0xe3a8('0x3')];if(_0xe46052['isCollapsed'])return void _0x3a822d(_0x498684);const _0x393250=void 0x0!==_0x498684[_0xe3a8('0x9')]?_0x498684[_0xe3a8('0x9')]:!_0x5de73a[_0xe3a8('0x0')];_0x30fc57[_0xe3a8('0x4')](()=>{const _0x136091=Array[_0xe3a8('0x11')](_0xe46052[_0xe3a8('0x12')]());for(const _0x298497 of _0x136091){const _0x3ebca1=_0x393250?[_0x298497]:_0x15996c(_0x345a77,_0x298497,_0x30fc57);for(const _0x30c818 of _0x3ebca1)_0x1107f2[_0xe3a8('0xb')](_0x30c818,{'commandName':_0x345a77,'commandParams':[{'forceValue':_0x393250}]});}});}),_0x1107f2[_0xe3a8('0xd')]['registerDescriptionCallback'](_0x51693f=>{const {data:_0xa44b1b}=_0x51693f;if(_0xa44b1b&&_0xa44b1b[_0xe3a8('0xf')]==_0x345a77)return _0xa44b1b[_0xe3a8('0x1')][0x0][_0xe3a8('0x9')]?{'type':_0xe3a8('0xe'),'content':_0x426d5f(_0x48e708,_0xe3a8('0x6'))}:{'type':'format','content':_0x426d5f(_0x48e708,_0xe3a8('0xc'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa014=['format','isBlock','getItems','style','style.definitions','*Remove\x20format:*\x20%0','enableCommand','inline','TrackChangesEditing','model','from','_getStyleDefinition','get','push','commands','plugins','getRanges','style:','every','Style','DataSchema','change','toLowerCase','add','_getRangesWithClasses','name','commandName','document','element','config','enabledStyles','registerDescriptionCallback','find','StyleUtils','normalizeConfig','createRangeOn','forceValue','styleName','block','isCollapsed','has','includes','commandParams'];(function(_0x2addaa,_0xa014d1){const _0x53bbaa=function(_0x86e657){while(--_0x86e657){_0x2addaa['push'](_0x2addaa['shift']());}};_0x53bbaa(++_0xa014d1);}(_0xa014,0x118));const _0x53bb=function(_0x2addaa,_0xa014d1){_0x2addaa=_0x2addaa-0x0;let _0x53bbaa=_0xa014[_0x2addaa];return _0x53bbaa;};import{Plugin as _0x14f493}from'ckeditor5/src/core';import{getTranslation as _0x50908e}from'../utils/common-translations';export default class gt extends _0x14f493{['afterInit'](){const _0x25c88b=this['editor'];if(!_0x25c88b[_0x53bb('0x24')][_0x53bb('0x12')](_0x53bb('0x28')))return;const _0x431a22=_0x25c88b[_0x53bb('0x23')]['get'](_0x53bb('0x18')),_0x48682e=_0x25c88b[_0x53bb('0x24')][_0x53bb('0x21')](_0x53bb('0x1d')),_0x37afe3=_0x25c88b['locale'],_0x333611=_0x25c88b['plugins']['get'](_0x53bb('0x29')),_0x14db47=_0x25c88b[_0x53bb('0x24')][_0x53bb('0x21')](_0x53bb('0xb'))[_0x53bb('0xc')](_0x333611,_0x25c88b[_0x53bb('0x7')][_0x53bb('0x21')](_0x53bb('0x19')));_0x48682e[_0x53bb('0x1b')](_0x53bb('0x18'),(_0x4d2fa6,{styleName:_0x22169f})=>{const _0x15ca1b=_0x25c88b['model'][_0x53bb('0x5')]['selection'],_0x2b7fbc=this['_getStyleDefinition'](_0x22169f,_0x14db47);if(!_0x2b7fbc)return;if(!_0x431a22[_0x53bb('0x8')][_0x53bb('0x13')](_0x22169f))return;if(_0x15ca1b[_0x53bb('0x11')]&&!_0x2b7fbc[_0x53bb('0x16')])return void _0x4d2fa6({'styleName':_0x22169f});const _0x393395=!_0x431a22['value'][_0x53bb('0x13')](_0x2b7fbc[_0x53bb('0x3')]);if(_0x2b7fbc[_0x53bb('0x16')]){const _0x43fdda=function(_0x5ad113,_0x11e539){const _0x36b5af=new Set();for(const _0x111a57 of _0x5ad113){const _0x4a85f7=_0x111a57['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x3e8ace of _0x4a85f7)if(_0x11e539[_0x53bb('0x13')](_0x3e8ace[_0x53bb('0x3')])){_0x36b5af[_0x53bb('0x1')](_0x3e8ace);break;}}return _0x36b5af;}(_0x15ca1b['getSelectedBlocks'](),_0x2b7fbc['modelElements']);_0x25c88b[_0x53bb('0x1e')]['change'](()=>{for(const _0x47662c of _0x43fdda)_0x48682e['markBlockFormat'](_0x47662c,{'commandName':_0x53bb('0x18'),'commandParams':[{'styleName':_0x22169f,'forceValue':_0x393395}],'formatGroupId':_0x53bb('0x26')+_0x22169f});});}else{let _0x2ccab1=Array[_0x53bb('0x1f')](_0x15ca1b[_0x53bb('0x25')]());if(!_0x393395){const _0x3d5c0a=Array[_0x53bb('0x1f')](_0x333611['getDefinitionsForView'](_0x2b7fbc[_0x53bb('0x6')],!0x1))[0x0]['model'],_0x3d71c6=[];for(const _0x23cf0f of _0x2ccab1){const _0x59004c=this[_0x53bb('0x2')](_0x25c88b[_0x53bb('0x1e')],_0x23cf0f,_0x2b7fbc['classes'],_0x3d5c0a);_0x3d71c6[_0x53bb('0x22')](..._0x59004c);}_0x2ccab1=_0x3d71c6;}_0x25c88b[_0x53bb('0x1e')][_0x53bb('0x2a')](()=>{for(const _0x4c0cf9 of _0x2ccab1)_0x48682e['markInlineFormat'](_0x4c0cf9,{'commandName':_0x53bb('0x18'),'commandParams':[{'styleName':_0x22169f,'forceValue':_0x393395}]});});}}),_0x48682e['_descriptionFactory'][_0x53bb('0x9')](_0x2e3a5f=>{const {data:_0x176eb2}=_0x2e3a5f;if(_0x176eb2&&_0x53bb('0x18')===_0x176eb2[_0x53bb('0x4')])return _0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xe')]?{'type':_0x53bb('0x15'),'content':_0x50908e(_0x37afe3,'*Format:*\x20%0',_0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xf')][_0x53bb('0x0')]())}:{'type':_0x53bb('0x15'),'content':_0x50908e(_0x37afe3,_0x53bb('0x1a'),_0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xf')][_0x53bb('0x0')]())};});}[_0x53bb('0x20')](_0x428741,_0x4f2dc5){let _0x5d9233=_0x4f2dc5[_0x53bb('0x10')][_0x53bb('0xa')](_0x1703f5=>_0x1703f5[_0x53bb('0x3')]===_0x428741);return _0x5d9233||(_0x5d9233=_0x4f2dc5[_0x53bb('0x1c')][_0x53bb('0xa')](_0x461233=>_0x461233['name']===_0x428741)),_0x5d9233;}['_getRangesWithClasses'](_0xced3e9,_0x151c71,_0x2b658c,_0x10d756){const _0x4a63d4=[];for(const _0x162c99 of _0x151c71[_0x53bb('0x17')]()){const _0x473329=_0x162c99['getAttribute'](_0x10d756);_0x473329&&(_0x2b658c[_0x53bb('0x27')](_0x3c5134=>_0x473329['classes'][_0x53bb('0x13')](_0x3c5134))&&_0x4a63d4[_0x53bb('0x22')](_0xced3e9[_0x53bb('0xd')](_0x162c99)));}return _0x4a63d4;}}
23
+ const _0x1296=['toLowerCase','commandName','get','every','getDefinitionsForView','from','createRangeOn','getSelectedBlocks','markInlineFormat','document','includes','getRanges','StyleUtils','name','styleName','locale','afterInit','value','commandParams','style','add','classes','normalizeConfig','model','enableCommand','registerDescriptionCallback','style.definitions','markBlockFormat','*Remove\x20format:*\x20%0','_getStyleDefinition','_getRangesWithClasses','*Format:*\x20%0','selection','TrackChangesEditing','style:','isCollapsed','find','plugins','DataSchema','commands','block','modelElements','config','isBlock','getAncestors','format','push'];(function(_0x2cca6e,_0x1296d6){const _0x309e4d=function(_0x5caf57){while(--_0x5caf57){_0x2cca6e['push'](_0x2cca6e['shift']());}};_0x309e4d(++_0x1296d6);}(_0x1296,0x120));const _0x309e=function(_0x2cca6e,_0x1296d6){_0x2cca6e=_0x2cca6e-0x0;let _0x309e4d=_0x1296[_0x2cca6e];return _0x309e4d;};import{Plugin as _0x1aa679}from'ckeditor5/src/core';import{getTranslation as _0x4baf58}from'../utils/common-translations';export default class gt extends _0x1aa679{[_0x309e('0xa')](){const _0x30d425=this['editor'];if(!_0x30d425[_0x309e('0x1f')]['has']('Style'))return;const _0xff7451=_0x30d425[_0x309e('0x21')][_0x309e('0x2b')](_0x309e('0xd')),_0x3c9d32=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x1b')),_0x46bbfb=_0x30d425[_0x309e('0x9')],_0x4f24d5=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x20')),_0x512dfc=_0x30d425[_0x309e('0x1f')]['get'](_0x309e('0x6'))[_0x309e('0x10')](_0x4f24d5,_0x30d425[_0x309e('0x24')][_0x309e('0x2b')](_0x309e('0x14')));_0x3c9d32[_0x309e('0x12')](_0x309e('0xd'),(_0x3f3902,{styleName:_0x15fa18})=>{const _0x47bdbf=_0x30d425[_0x309e('0x11')][_0x309e('0x3')][_0x309e('0x1a')],_0x67a8d4=this[_0x309e('0x17')](_0x15fa18,_0x512dfc);if(!_0x67a8d4)return;if(!_0xff7451['enabledStyles'][_0x309e('0x4')](_0x15fa18))return;if(_0x47bdbf[_0x309e('0x1d')]&&!_0x67a8d4['isBlock'])return void _0x3f3902({'styleName':_0x15fa18});const _0x338ab4=!_0xff7451[_0x309e('0xb')]['includes'](_0x67a8d4[_0x309e('0x7')]);if(_0x67a8d4[_0x309e('0x25')]){const _0x251de0=function(_0x4b3910,_0x38d0bc){const _0x1a8e25=new Set();for(const _0x4a0e90 of _0x4b3910){const _0x29a93c=_0x4a0e90[_0x309e('0x26')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x40d4f0 of _0x29a93c)if(_0x38d0bc[_0x309e('0x4')](_0x40d4f0[_0x309e('0x7')])){_0x1a8e25[_0x309e('0xe')](_0x40d4f0);break;}}return _0x1a8e25;}(_0x47bdbf[_0x309e('0x1')](),_0x67a8d4[_0x309e('0x23')]);_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x3cea96 of _0x251de0)_0x3c9d32[_0x309e('0x15')](_0x3cea96,{'commandName':_0x309e('0xd'),'commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}],'formatGroupId':_0x309e('0x1c')+_0x15fa18});});}else{let _0x12abad=Array[_0x309e('0x2e')](_0x47bdbf[_0x309e('0x5')]());if(!_0x338ab4){const _0x1d587f=Array[_0x309e('0x2e')](_0x4f24d5[_0x309e('0x2d')](_0x67a8d4['element'],!0x1))[0x0][_0x309e('0x11')],_0x4f3318=[];for(const _0x495ed8 of _0x12abad){const _0x2940c9=this[_0x309e('0x18')](_0x30d425[_0x309e('0x11')],_0x495ed8,_0x67a8d4[_0x309e('0xf')],_0x1d587f);_0x4f3318[_0x309e('0x28')](..._0x2940c9);}_0x12abad=_0x4f3318;}_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x14a0aa of _0x12abad)_0x3c9d32[_0x309e('0x2')](_0x14a0aa,{'commandName':'style','commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}]});});}}),_0x3c9d32['_descriptionFactory'][_0x309e('0x13')](_0x5be823=>{const {data:_0x586398}=_0x5be823;if(_0x586398&&_0x309e('0xd')===_0x586398[_0x309e('0x2a')])return _0x586398[_0x309e('0xc')][0x0]['forceValue']?{'type':'format','content':_0x4baf58(_0x46bbfb,_0x309e('0x19'),_0x586398[_0x309e('0xc')][0x0]['styleName'][_0x309e('0x29')]())}:{'type':_0x309e('0x27'),'content':_0x4baf58(_0x46bbfb,_0x309e('0x16'),_0x586398['commandParams'][0x0][_0x309e('0x8')][_0x309e('0x29')]())};});}[_0x309e('0x17')](_0x23a5da,_0x4638c1){let _0x22ad51=_0x4638c1[_0x309e('0x22')][_0x309e('0x1e')](_0x39cc22=>_0x39cc22[_0x309e('0x7')]===_0x23a5da);return _0x22ad51||(_0x22ad51=_0x4638c1['inline'][_0x309e('0x1e')](_0x39c600=>_0x39c600[_0x309e('0x7')]===_0x23a5da)),_0x22ad51;}[_0x309e('0x18')](_0x75a31,_0x1ede2b,_0x783836,_0x28c645){const _0x389901=[];for(const _0x1358c1 of _0x1ede2b['getItems']()){const _0x2531d3=_0x1358c1['getAttribute'](_0x28c645);_0x2531d3&&(_0x783836[_0x309e('0x2c')](_0x513328=>_0x2531d3[_0x309e('0xf')][_0x309e('0x4')](_0x513328))&&_0x389901['push'](_0x75a31[_0x309e('0x0')](_0x1358c1)));}return _0x389901;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2674=['MIN_SAFE_INTEGER','getSuggestion','above','includes','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','add','commands','refresh','end','ELEMENT_TABLE_COLUMN','insert','type','nodeBefore','MAX_SAFE_INTEGER','removeTableRow','substr','isTouching','batch','from','enableCommand','getItems','start','table','rowspan','_getSuggestionCoords','$textProxy','suggestion','push','deletion','min','_tableSuggestions','fromRange','isArray','data','addRange','removeTableColumn','maxRow','createRangeOn','findAncestor','ELEMENT_TABLE_COLUMN_WITH_TEXT','insertTableRowAbove','insertTableColumnRight','getCellLocation','change','isInContent','markMultiRangeInsertion','_suggestionFactory','ELEMENT_TABLE_ROW','_acceptFormatSuggestionCallbackFactory','colspan','position','span','ELEMENT_TABLE','getRowIndexes','detach','model','registerCustomCallback','writer','insertTable','plugins','rootName','some','options','tableRow','_descriptionFactory','toLowerCase','highest','max','discard','getSelectionAffectedTableCells','removeClass','get','first','length','low','tablePaste','getRanges','registerDescriptionCallback','getAttribute','selectTableColumn','registerElementLabel','join','left','nodeAfter','_splitMarkerName','accept','createTableWalker','insertTableColumnLeft','showSuggestionHighlights','insertion','addMarker:suggestion','locale','execute','every','enqueueChange','TrackChangesEditing','insertTableRowBelow','differ','hasAttribute','filter','selectTableRow','*Insert:*\x20%0','document','setSelection','editor','root','minColumn','markMultiRangeDeletion','last','*Remove:*\x20%0','change:data','isIntersectingWithRange','getChangedMarkers','getContainedElement','oldRange','getColumnIndexes','order','_setupColumnsRowsFixing','downcastDispatcher','ELEMENT_TABLE_WITH_TEXT','has','tableColumn','selection','classes','$graveyard','values','_getCoordsForCells','getFirstRange','TableUtils','element','tableCell','_tablePostFixingSubtypes','startsWith','subType','cell','map','name','item'];(function(_0x113c97,_0x2674bf){const _0x512371=function(_0x2d638b){while(--_0x2d638b){_0x113c97['push'](_0x113c97['shift']());}};_0x512371(++_0x2674bf);}(_0x2674,0xac));const _0x5123=function(_0x113c97,_0x2674bf){_0x113c97=_0x113c97-0x0;let _0x512371=_0x2674[_0x113c97];return _0x512371;};import{Plugin as _0x2295f3}from'ckeditor5/src/core';import{LiveRange as _0x22f666}from'ckeditor5/src/engine';import{setHighlightHandling as _0x343e7d}from'ckeditor5/src/widget';import{getTranslation as _0x220379}from'../utils/common-translations';export default class mt extends _0x2295f3{constructor(_0x2129e5){super(_0x2129e5),this[_0x5123('0x63')]=['tableRow',_0x5123('0x59')],this[_0x5123('0x89')]=new Set();}['afterInit'](){const _0x3ed0c7=this['editor'],_0x403d03=_0x3ed0c7['model'][_0x5123('0x46')][_0x5123('0x5a')];if(!_0x3ed0c7['plugins'][_0x5123('0x58')]('TableEditing'))return;const _0x4622ab=_0x3ed0c7[_0x5123('0x3b')],_0x520790=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x55d204=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')]('TableUtils');_0x520790[_0x5123('0x20')][_0x5123('0x30')](_0x5123('0x81'),_0x5298f4=>_0x220379(_0x4622ab,_0x5123('0x14'),_0x5298f4)),this['_setupColumnsRowsFixing'](),_0x520790[_0x5123('0x7e')](_0x5123('0x1a')),_0x520790[_0x5123('0x7e')](_0x5123('0x44')),_0x520790['enableCommand'](_0x5123('0x2f'));for(const _0x1ed319 of[_0x5123('0x8'),_0x5123('0x40')]){const _0x3187a3=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x1ed319);_0x520790[_0x5123('0x7e')](_0x1ed319,_0x461f04=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1051dd=>{_0x461f04();const _0x519e4c=_0x5123('0x6c')===_0x3187a3[_0x5123('0x54')],_0x28feba=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4d268=_0x55d204[_0x5123('0x15')](_0x28feba),_0x2feccb=_0x519e4c?_0x4d268[_0x5123('0x28')]-0x1:_0x4d268[_0x5123('0x4c')]+0x1,_0x5455d9=_0x28feba[0x0][_0x5123('0x6')](_0x5123('0x81')),_0x3c287a=_0x55d204[_0x5123('0x36')](_0x5455d9,{'startRow':_0x2feccb,'endRow':_0x2feccb}),_0x7708d8=Array['from'](_0x3c287a)[_0x5123('0x67')](_0xcdd5f5=>_0x1051dd['createRangeOn'](_0xcdd5f5[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x7708d8,_0x5123('0x1f'));});});}for(const _0x474bde of[_0x5123('0x37'),_0x5123('0x9')]){const _0x50f3a4=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x474bde);_0x520790[_0x5123('0x7e')](_0x474bde,_0x29d525=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x3d7c76=>{_0x29d525();const _0x278978=_0x5123('0x32')===_0x50f3a4[_0x5123('0x54')],_0x26f113=_0x55d204['getSelectionAffectedTableCells'](_0x403d03),_0x168eed=_0x55d204[_0x5123('0x53')](_0x26f113),_0x21d124=_0x278978?_0x168eed[_0x5123('0x28')]-0x1:_0x168eed[_0x5123('0x4c')]+0x1,_0x2529eb=_0x26f113[0x0][_0x5123('0x6')]('table'),_0x734d7=_0x55d204[_0x5123('0x36')](_0x2529eb,{'startRow':0x0,'column':_0x21d124,'includeAllSlots':!0x1}),_0x24cf73=Array[_0x5123('0x7d')](_0x734d7)[_0x5123('0x67')](_0x696483=>_0x3d7c76[_0x5123('0x5')](_0x696483[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x24cf73,_0x5123('0x59'));});});}for(const _0x1d42e8 of[_0x5123('0x79'),'removeTableColumn']){const _0x5cbe04=_0x1d42e8[_0x5123('0x7a')](0xb),_0x43b8ef=_0x5cbe04[_0x5123('0x21')](),_0x233c33=_0x43b8ef[_0x5123('0x7a')](0x0,0x3)+_0x5123('0x13'),_0x5b3e76=_0x5123('0x81')+_0x5cbe04,_0x39e640=_0x5123('0x88')+_0x5cbe04,_0x3565f8='max'+_0x5cbe04;_0x520790[_0x5123('0x7e')](_0x1d42e8,()=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1244ef=>{const _0x4c2cf4=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4ad5da=_0x4c2cf4[0x0]['findAncestor'](_0x5123('0x81'));let _0x362ade;if(_0x5123('0x79')==_0x1d42e8){const _0x4c0d3b=_0x55d204[_0x5123('0x15')](_0x4c2cf4);_0x362ade={'startRow':_0x4c0d3b['first'],'endRow':_0x4c0d3b[_0x5123('0x4c')],'includeAllSlots':!0x0};}else{const _0x4a3d7f=_0x55d204['getColumnIndexes'](_0x4c2cf4);_0x362ade={'startColumn':_0x4a3d7f[_0x5123('0x28')],'endColumn':_0x4a3d7f['last'],'includeAllSlots':!0x0};}const _0x25cd3d=_0x55d204[_0x5123('0x36')](_0x4ad5da,_0x362ade),_0x5a69e9=Array[_0x5123('0x7d')](_0x25cd3d)[_0x5123('0x67')](({cell:_0x94be68})=>_0x94be68),_0x332ed3=se(_0x5a69e9[_0x5123('0x43')](_0x419279=>_0x419279[_0x5123('0x42')](_0x233c33))),_0x3bca9e=se(_0x5a69e9[_0x5123('0x43')](_0x449347=>!_0x449347[_0x5123('0x42')](_0x233c33)))[_0x5123('0x67')](_0x3e826a=>_0x1244ef[_0x5123('0x5')](_0x3e826a)),_0x4a7056=_0x520790[_0x5123('0x4b')](_0x3bca9e,_0x5b3e76);if(_0x4a7056&&(_0x5123('0x1f')==_0x4a7056[_0x5123('0x65')]||_0x5123('0x59')==_0x4a7056[_0x5123('0x65')])){const _0x1b0ef1=this[_0x5123('0x83')](_0x4a7056);for(const _0xc5068d of _0x332ed3){const _0x54addf=_0x1244ef[_0x5123('0x5')](_0xc5068d),_0x2e4774=_0x55d204[_0x5123('0xa')](_0xc5068d),_0x2277b7=_0xc5068d[_0x5123('0x2e')](_0x233c33)-0x1,_0x243f90=_0x1b0ef1[_0x39e640],_0x3eeebf=_0x1b0ef1[_0x3565f8];_0x243f90<=_0x2e4774[_0x43b8ef]&&_0x2e4774[_0x43b8ef]+_0x2277b7<=_0x3eeebf&&_0x4a7056['addRange'](_0x54addf);}}});});}function _0x3ccce2(_0x106cda){const _0x17a8df=Array[_0x5123('0x7d')](_0x403d03[_0x5123('0x2c')]())[_0x5123('0x67')](_0xd652e4=>_0x22f666['fromRange'](_0xd652e4));_0x3ed0c7[_0x5123('0x17')][_0x5123('0xb')](_0x3f3346=>{const _0x300bb9=_0x3f3346[_0x5123('0x7c')];_0x106cda=_0x106cda[_0x5123('0x43')](_0x370fc4=>_0x5123('0x5c')!=_0x370fc4[_0x5123('0x49')][_0x5123('0x1c')]),_0x3f3346[_0x5123('0x47')](_0x106cda),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x79'))['refresh'](),_0x3ed0c7['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](()=>{_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](_0x300bb9,_0xeb76a=>{const _0x1309ac=_0x17a8df[_0x5123('0x43')](_0x5945d1=>_0x5123('0x5c')!=_0x5945d1['root'][_0x5123('0x1c')]);_0x1309ac[_0x5123('0x29')]>0x0&&_0xeb76a[_0x5123('0x47')](_0x1309ac);for(const _0x5aa9bf of _0x17a8df)_0x5aa9bf[_0x5123('0x16')]();});});});}function _0x259e14(_0x489fc3){_0x3ed0c7[_0x5123('0x17')]['change'](_0x38eeb0=>{const _0x57f078=Array[_0x5123('0x7d')](_0x403d03['getRanges']())[_0x5123('0x67')](_0x4bca80=>_0x22f666[_0x5123('0x8a')](_0x4bca80)),_0x2c18ca=[];for(const _0x14fb62 of _0x489fc3)for(const _0x3a32fb of _0x14fb62[_0x5123('0x7f')]({'shallow':!0x0}))_0x2c18ca[_0x5123('0x86')](_0x3a32fb);for(const _0x5ba9a6 of _0x2c18ca)'$graveyard'!=_0x5ba9a6[_0x5123('0x49')][_0x5123('0x1c')]&&(_0x38eeb0[_0x5123('0x47')](_0x38eeb0['createPositionAt'](_0x5ba9a6,0x0)),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x3'))[_0x5123('0x72')](),_0x3ed0c7[_0x5123('0x3c')](_0x5123('0x3'),{'forceDefaultExecution':!0x0}));const _0x182d82=_0x57f078[_0x5123('0x43')](_0xf55967=>_0x5123('0x5c')!=_0xf55967[_0x5123('0x49')]['rootName']);_0x182d82[_0x5123('0x29')]>0x0&&_0x38eeb0['setSelection'](_0x182d82);for(const _0x16a329 of _0x57f078)_0x16a329[_0x5123('0x16')]();});}function _0x4aed86(_0x4bfce7,_0x479ab9){return _0x479ab9[_0x5123('0x3d')](_0x253b19=>_0x4bfce7['some'](_0x2bbd3f=>_0x2bbd3f['end']['isEqual'](_0x253b19[_0x5123('0x80')])||_0x253b19[_0x5123('0x73')]['isEqual'](_0x2bbd3f[_0x5123('0x80')])));}function _0x22dda1(_0x33956a,_0x475ba1){return _0x33956a[_0x5123('0x1d')](_0x291948=>_0x475ba1[_0x5123('0x1d')](_0x985e4f=>_0x291948[_0x5123('0x73')][_0x5123('0x7b')](_0x985e4f[_0x5123('0x80')])));}_0x3ed0c7['data'][_0x5123('0x56')]['on'](_0x5123('0x3a'),(_0x26f0fe,_0x449715,_0x1067bb)=>{if(!_0x1067bb[_0x5123('0x1e')][_0x5123('0x38')])return;const _0x2eceb7=_0x449715[_0x5123('0x69')];if(!_0x2eceb7)return;const _0x551a68=_0x1067bb['mapper']['toViewElement'](_0x2eceb7);function _0x51e3da(_0x3adb70){return Array[_0x5123('0x0')](_0x3adb70)?_0x3adb70:[_0x3adb70];}_0x551a68&&_0x5123('0x62')===_0x2eceb7[_0x5123('0x68')]&&_0x343e7d(_0x551a68,_0x1067bb[_0x5123('0x19')],(_0x5404d2,_0x32c11b,_0x1d49de)=>_0x1d49de['addClass'](_0x51e3da(_0x32c11b[_0x5123('0x5b')]),_0x5404d2),(_0x5b57e4,_0x3b3610,_0x307deb)=>_0x307deb[_0x5123('0x26')](_0x51e3da(_0x3b3610['classes']),_0x5b57e4));},{'priority':_0x5123('0x22')}),_0x520790[_0x5123('0x20')]['registerDescriptionCallback'](_0x4b32bd=>{if(_0x5123('0x39')!=_0x4b32bd[_0x5123('0x76')]&&_0x5123('0x87')!=_0x4b32bd[_0x5123('0x76')])return;const _0x50417f=_0x4b32bd[_0x5123('0x51')]();if(null!=_0x50417f&&_0x50417f['is'](_0x5123('0x61'),_0x5123('0x81'))){if(_0x5123('0x39')==_0x4b32bd[_0x5123('0x76')]){const _0x2fa802=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0x1deefe=>_0x1deefe['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x18ce38=>_0x18ce38['data']);if(_0x2fa802[_0x5123('0x29')])return{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x2fa802[_0x5123('0x31')]('\x20')+'\x22'))};}if(_0x5123('0x87')==_0x4b32bd[_0x5123('0x76')]){const _0x524a6e=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0xf0cc11=>_0xf0cc11['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x1468f0=>_0x1468f0[_0x5123('0x1')]);if(_0x524a6e[_0x5123('0x29')])return{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x524a6e[_0x5123('0x31')]('\x20')+'\x22'))};}}}),_0x520790[_0x5123('0x20')][_0x5123('0x2d')](_0x37a339=>{if('tableRow'==_0x37a339[_0x5123('0x65')]){const _0x4508e0=_0x37a339['getItems']()[_0x5123('0x43')](_0x2ddefd=>_0x2ddefd['is'](_0x5123('0x84')))['map'](_0x1b090c=>_0x1b090c['data']),_0x3db6b0=this[_0x5123('0x83')](_0x37a339),_0x107479=_0x3db6b0[_0x5123('0x4')]-_0x3db6b0['minRow']+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,'*Insert:*\x20%0',_0x220379(_0x4622ab,'ELEMENT_TABLE_ROW',_0x107479))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':'deletion','content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0['join']('\x20')+'\x22']))}:{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0xf'),_0x107479))};}if(_0x5123('0x59')==_0x37a339[_0x5123('0x65')]){const _0x48c892=_0x37a339['getItems']()[_0x5123('0x43')](_0x4a9c96=>_0x4a9c96['is']('$textProxy'))[_0x5123('0x67')](_0x182306=>_0x182306[_0x5123('0x1')]),_0x18608a=this[_0x5123('0x83')](_0x37a339),_0x48c295=_0x18608a[_0x5123('0x6f')]-_0x18608a[_0x5123('0x4a')]+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x48c892[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x48c892['length']?{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x7'),[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x220379(_0x4622ab,'*Remove:*\x20%0',_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};}}),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),'discard',_0x3ccce2),_0x520790['_suggestionFactory']['registerCustomCallback'](_0x5123('0x87'),_0x5123('0x1f'),_0x5123('0x35'),_0x3ccce2),_0x520790[_0x5123('0xe')][_0x5123('0x18')]('insertion',_0x5123('0x59'),_0x5123('0x24'),_0x259e14),_0x520790[_0x5123('0xe')]['registerCustomCallback'](_0x5123('0x87'),'tableColumn','accept',_0x259e14),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x59'),'join',_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),_0x5123('0x59'),_0x5123('0x31'),_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),_0x5123('0x31'),_0x22dda1),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),'tableRow',_0x5123('0x31'),_0x22dda1);}[_0x5123('0x10')](){const _0x1c93df=this[_0x5123('0x48')],_0x169f0c=_0x1c93df[_0x5123('0x17')]['document']['selection'];return(_0x305c04,_0x317931)=>{_0x1c93df[_0x5123('0x17')][_0x5123('0xb')](_0x210626=>{const {commandName:_0x12718a,commandParams:_0x275b5c}=_0x317931;let _0x2a4a34=_0x305c04[0x0][_0x5123('0x73')][_0x5123('0x77')];_0x275b5c&&_0x275b5c[0x0]&&!0x1===_0x275b5c[0x0]['forceValue']&&(_0x2a4a34=_0x305c04[0x0][_0x5123('0x80')]['nodeAfter']);const _0x1a4e8c=_0x210626['createRangeIn'](_0x2a4a34);if(_0x5123('0x5c')==_0x1a4e8c[_0x5123('0x49')][_0x5123('0x1c')])return;const _0x41ca11=Array[_0x5123('0x7d')](_0x169f0c[_0x5123('0x2c')]())[_0x5123('0x67')](_0x1f9920=>_0x22f666['fromRange'](_0x1f9920));_0x210626['setSelection'](_0x1a4e8c),_0x1c93df['commands'][_0x5123('0x27')](_0x12718a)['refresh'](),_0x275b5c[_0x5123('0x86')]({'forceDefaultExecution':!0x0}),_0x1c93df['execute'](_0x12718a,..._0x275b5c);const _0x6bc35c=_0x41ca11[_0x5123('0x43')](_0x2409bc=>_0x5123('0x5c')!=_0x2409bc[_0x5123('0x49')]['rootName']);_0x6bc35c[_0x5123('0x29')]>0x0&&_0x210626[_0x5123('0x47')](_0x6bc35c);for(const _0x4ba3d9 of _0x41ca11)_0x4ba3d9[_0x5123('0x16')]();});};}[_0x5123('0x5e')](_0x11a0c2){const _0x247db7=this[_0x5123('0x48')]['plugins'][_0x5123('0x27')](_0x5123('0x60'));let _0x590148=Number[_0x5123('0x78')],_0x31ec5a=Number[_0x5123('0x6a')],_0x42576c=Number[_0x5123('0x78')],_0x177073=Number[_0x5123('0x6a')];for(const _0x35f0ee of _0x11a0c2){if('$graveyard'==_0x35f0ee[_0x5123('0x49')]['rootName'])continue;const {row:_0x31fdd9,column:_0x10cf89}=_0x247db7['getCellLocation'](_0x35f0ee),_0x2d7da8=_0x35f0ee[_0x5123('0x42')](_0x5123('0x82'))?_0x35f0ee[_0x5123('0x2e')](_0x5123('0x82'))-0x1:0x0,_0x3657f9=_0x35f0ee[_0x5123('0x42')](_0x5123('0x11'))?_0x35f0ee['getAttribute'](_0x5123('0x11'))-0x1:0x0;_0x590148=_0x31fdd9<_0x590148?_0x31fdd9:_0x590148,_0x31ec5a=_0x31fdd9+_0x2d7da8>_0x31ec5a?_0x31fdd9+_0x2d7da8:_0x31ec5a,_0x42576c=_0x10cf89<_0x42576c?_0x10cf89:_0x42576c,_0x177073=_0x10cf89+_0x3657f9>_0x177073?_0x10cf89+_0x3657f9:_0x177073;}return{'minRow':_0x590148,'maxRow':_0x31ec5a,'minColumn':_0x42576c,'maxColumn':_0x177073};}[_0x5123('0x55')](){const _0x2f8daf=this[_0x5123('0x48')],_0x4ebe24=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x4e2cc3=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x60'));_0x2f8daf['model'][_0x5123('0x46')]['on'](_0x5123('0x4e'),()=>{const _0x573a67=Array[_0x5123('0x7d')](_0x2f8daf[_0x5123('0x17')][_0x5123('0x46')][_0x5123('0x41')][_0x5123('0x50')]());for(const {name:_0x128207,data:_0x4aa697}of _0x573a67){const {group:_0x53d53b,id:_0x538819,subType:_0x423faa}=_0x4ebe24[_0x5123('0x34')](_0x128207);if(_0x5123('0x85')!=_0x53d53b)continue;if(null!=_0x4aa697[_0x5123('0x52')])continue;const _0x10aca9=_0x4ebe24[_0x5123('0x6b')](_0x538819);this['_tablePostFixingSubtypes'][_0x5123('0x6d')](_0x423faa)&&this[_0x5123('0x89')][_0x5123('0x70')](_0x10aca9);}},{'priority':_0x5123('0x2a')});const _0xbb804a=(_0x130760,_0x16d8de)=>{let _0x370c51=!0x1;const _0x33891a=_0x16d8de[_0x5123('0x5')](_0x130760),_0x173244=_0x130760['findAncestor'](_0x5123('0x81')),_0x165d7d=_0x4e2cc3[_0x5123('0xa')](_0x130760);for(const _0xdad025 of this['_tableSuggestions']){const _0xaaf5c7=_0xdad025[_0x5123('0x65')],_0xfd6b84=_0xaaf5c7[_0x5123('0x64')](_0x5123('0x2b')),_0x141e91=_0xaaf5c7['substr'](_0xfd6b84?0xa:0x5),_0x1ce01f=_0x141e91[_0x5123('0x21')](),_0x543046=_0x1ce01f[_0x5123('0x7a')](0x0,0x3)+'span',_0x55dff9=_0x5123('0x88')+_0x141e91,_0x23c7fe=_0x5123('0x23')+_0x141e91;if(!_0xdad025[_0x5123('0xc')])continue;if(_0x173244!=_0xdad025[_0x5123('0x5f')]()[_0x5123('0x80')][_0x5123('0x6')](_0x5123('0x81')))continue;if(_0xdad025[_0x5123('0x4f')](_0x33891a))continue;const _0x21025d=_0x130760[_0x5123('0x42')](_0x543046)?_0x130760[_0x5123('0x2e')](_0x543046)-0x1:0x0,_0x35eb32=this[_0x5123('0x83')](_0xdad025),_0x5867b1=_0x35eb32[_0x55dff9],_0x151a13=_0x35eb32[_0x23c7fe];_0x5867b1<=_0x165d7d[_0x1ce01f]&&_0x165d7d[_0x1ce01f]+_0x21025d<=_0x151a13&&(_0xdad025[_0x5123('0x2')](_0x33891a),_0x370c51=!0x0);}return _0x370c51;};_0x2f8daf[_0x5123('0x17')]['document']['registerPostFixer'](_0xeca80a=>{let _0x5e872b=!0x1;for(const _0x5e8793 of _0x2f8daf[_0x5123('0x17')]['document'][_0x5123('0x41')]['getChanges']())if(_0x5123('0x75')==_0x5e8793[_0x5123('0x76')]){if(_0x5123('0x1f')==_0x5e8793[_0x5123('0x68')])for(const _0xb7d802 of _0x5e8793[_0x5123('0x12')][_0x5123('0x33')]['getChildren']())_0x5e872b=_0x5e872b||_0xbb804a(_0xb7d802,_0xeca80a);else _0x5123('0x62')==_0x5e8793['name']&&(_0x5e872b=_0x5e872b||_0xbb804a(_0x5e8793[_0x5123('0x12')][_0x5123('0x33')],_0xeca80a));}return _0x5e872b;});}[_0x5123('0x83')](_0x3d1cee){return this[_0x5123('0x5e')](_0x3d1cee[_0x5123('0x2c')]()['map'](_0x4292f2=>_0x4292f2[_0x5123('0x80')][_0x5123('0x33')]));}}function se(_0x38cc27){return Array[_0x5123('0x7d')](new Set(_0x38cc27)[_0x5123('0x5d')]());}
23
+ const _0xe971=['editor','TableUtils','execute','length','$graveyard','change','substr','low','hasAttribute','ELEMENT_TABLE','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','subType','filter','insert','last','colspan','join','$textProxy','selectTableColumn','order','createRangeIn','MAX_SAFE_INTEGER','createTableWalker','max','mapper','type','_descriptionFactory','createPositionAt','getChildren','enableCommand','getRowIndexes','highest','values','deletion','data','_setupColumnsRowsFixing','markMultiRangeDeletion','item','_suggestionFactory','addMarker:suggestion','tableCell','toLowerCase','start','table','removeClass','getAttribute','span','some','getChanges','name','setSelection','rootName','minRow','from','commands','removeTableColumn','ELEMENT_TABLE_COLUMN','getItems','isTouching','nodeBefore','registerElementLabel','accept','position','isArray','getCellLocation','selection','insertion','*Remove:*\x20%0','end','above','writer','*Insert:*\x20%0','ELEMENT_TABLE_ROW','insertTable','rowspan','element','cell','includes','model','_getSuggestionCoords','insertTableColumnLeft','left','tableRow','map','has','TrackChangesEditing','_tableSuggestions','removeTableRow','getSelectionAffectedTableCells','minColumn','push','insertTableRowAbove','ELEMENT_TABLE_WITH_TEXT','getSuggestion','_getCoordsForCells','startsWith','TableEditing','markMultiRangeInsertion','tableColumn','classes','MIN_SAFE_INTEGER','selectTableRow','refresh','detach','getColumnIndexes','createRangeOn','maxColumn','registerDescriptionCallback','change:data','_acceptFormatSuggestionCallbackFactory','nodeAfter','ELEMENT_TABLE_ROW_WITH_TEXT','toViewElement','document','get','addClass','plugins','root','insertTableColumnRight','findAncestor','insertTableRowBelow','discard','min','_tablePostFixingSubtypes','add','fromRange','enqueueChange','addRange','first','forceValue','locale','differ','getRanges','registerPostFixer'];(function(_0x5e75eb,_0xe971f8){const _0x1b2215=function(_0x5da85a){while(--_0x5da85a){_0x5e75eb['push'](_0x5e75eb['shift']());}};_0x1b2215(++_0xe971f8);}(_0xe971,0x1f1));const _0x1b22=function(_0x5e75eb,_0xe971f8){_0x5e75eb=_0x5e75eb-0x0;let _0x1b2215=_0xe971[_0x5e75eb];return _0x1b2215;};import{Plugin as _0x572f2b}from'ckeditor5/src/core';import{LiveRange as _0x1b5a1d}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5f0c9a}from'ckeditor5/src/widget';import{getTranslation as _0x264b1b}from'../utils/common-translations';export default class mt extends _0x572f2b{constructor(_0xaf1fad){super(_0xaf1fad),this[_0x1b22('0x20')]=['tableRow','tableColumn'],this[_0x1b22('0x82')]=new Set();}['afterInit'](){const _0x5ae62b=this[_0x1b22('0x2b')],_0xda11af=_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];if(!_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x80')](_0x1b22('0x5')))return;const _0x3bf6f4=_0x5ae62b[_0x1b22('0x27')],_0x2f7a7e=_0x5ae62b['plugins'][_0x1b22('0x17')](_0x1b22('0x81')),_0x3240dc=_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x68')](_0x1b22('0x57'),_0x3cb4df=>_0x264b1b(_0x3bf6f4,_0x1b22('0x34'),_0x3cb4df)),this[_0x1b22('0x4f')](),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x75')),_0x2f7a7e['enableCommand'](_0x1b22('0xa')),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x3e'));for(const _0x39d659 of[_0x1b22('0x0'),_0x1b22('0x1d')]){const _0x4e7878=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x39d659);_0x2f7a7e[_0x1b22('0x49')](_0x39d659,_0x29375c=>{_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x1273ff=>{_0x29375c();const _0x30a2c1=_0x1b22('0x71')===_0x4e7878[_0x1b22('0x3f')],_0xcc914f=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x35f1b7=_0x3240dc[_0x1b22('0x4a')](_0xcc914f),_0x328e97=_0x30a2c1?_0x35f1b7[_0x1b22('0x25')]-0x1:_0x35f1b7['last']+0x1,_0x52d89e=_0xcc914f[0x0][_0x1b22('0x1c')](_0x1b22('0x57')),_0x5f4a71=_0x3240dc[_0x1b22('0x42')](_0x52d89e,{'startRow':_0x328e97,'endRow':_0x328e97}),_0x2ac60f=Array[_0x1b22('0x61')](_0x5f4a71)['map'](_0x25b9c0=>_0x1273ff['createRangeOn'](_0x25b9c0['cell']));_0x2f7a7e[_0x1b22('0x6')](_0x2ac60f,_0x1b22('0x7e'));});});}for(const _0x295135 of[_0x1b22('0x7c'),_0x1b22('0x1b')]){const _0x610b08=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x295135);_0x2f7a7e[_0x1b22('0x49')](_0x295135,_0x3409c5=>{_0x5ae62b['model']['change'](_0x8a0d57=>{_0x3409c5();const _0x21210b=_0x1b22('0x7d')===_0x610b08['order'],_0xa5e147=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x4e9998=_0x3240dc['getColumnIndexes'](_0xa5e147),_0x47d4a3=_0x21210b?_0x4e9998[_0x1b22('0x25')]-0x1:_0x4e9998[_0x1b22('0x3a')]+0x1,_0x4099d7=_0xa5e147[0x0]['findAncestor'](_0x1b22('0x57')),_0x33955=_0x3240dc[_0x1b22('0x42')](_0x4099d7,{'startRow':0x0,'column':_0x47d4a3,'includeAllSlots':!0x1}),_0x3286ef=Array[_0x1b22('0x61')](_0x33955)[_0x1b22('0x7f')](_0x5e1b94=>_0x8a0d57[_0x1b22('0xe')](_0x5e1b94[_0x1b22('0x78')]));_0x2f7a7e['markMultiRangeInsertion'](_0x3286ef,_0x1b22('0x7'));});});}for(const _0x39a2ae of[_0x1b22('0x83'),_0x1b22('0x63')]){const _0x1d3a33=_0x39a2ae[_0x1b22('0x31')](0xb),_0x3b8cda=_0x1d3a33[_0x1b22('0x55')](),_0x28cae4=_0x3b8cda[_0x1b22('0x31')](0x0,0x3)+'span',_0x3cbc1c=_0x1b22('0x57')+_0x1d3a33,_0x48512e=_0x1b22('0x1f')+_0x1d3a33,_0x4b5af8='max'+_0x1d3a33;_0x2f7a7e[_0x1b22('0x49')](_0x39a2ae,()=>{_0x5ae62b['model'][_0x1b22('0x30')](_0x35735b=>{const _0x519a69=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x2e06ae=_0x519a69[0x0][_0x1b22('0x1c')]('table');let _0x37bfb9;if(_0x1b22('0x83')==_0x39a2ae){const _0x4e6d3c=_0x3240dc[_0x1b22('0x4a')](_0x519a69);_0x37bfb9={'startRow':_0x4e6d3c[_0x1b22('0x25')],'endRow':_0x4e6d3c[_0x1b22('0x3a')],'includeAllSlots':!0x0};}else{const _0x465dce=_0x3240dc[_0x1b22('0xd')](_0x519a69);_0x37bfb9={'startColumn':_0x465dce['first'],'endColumn':_0x465dce['last'],'includeAllSlots':!0x0};}const _0xdd8c54=_0x3240dc[_0x1b22('0x42')](_0x2e06ae,_0x37bfb9),_0x75b1e5=Array['from'](_0xdd8c54)[_0x1b22('0x7f')](({cell:_0xa9f8a4})=>_0xa9f8a4),_0x564061=se(_0x75b1e5['filter'](_0x15dd4b=>_0x15dd4b[_0x1b22('0x33')](_0x28cae4))),_0x14ef0a=se(_0x75b1e5[_0x1b22('0x38')](_0x4c37ce=>!_0x4c37ce[_0x1b22('0x33')](_0x28cae4)))[_0x1b22('0x7f')](_0x4325a8=>_0x35735b[_0x1b22('0xe')](_0x4325a8)),_0x394453=_0x2f7a7e[_0x1b22('0x50')](_0x14ef0a,_0x3cbc1c);if(_0x394453&&('tableRow'==_0x394453[_0x1b22('0x37')]||_0x1b22('0x7')==_0x394453[_0x1b22('0x37')])){const _0x6d69d5=this[_0x1b22('0x7b')](_0x394453);for(const _0x1e2cca of _0x564061){const _0x3afa1a=_0x35735b[_0x1b22('0xe')](_0x1e2cca),_0x315609=_0x3240dc[_0x1b22('0x6c')](_0x1e2cca),_0x572e16=_0x1e2cca[_0x1b22('0x59')](_0x28cae4)-0x1,_0xdf0093=_0x6d69d5[_0x48512e],_0x352f1b=_0x6d69d5[_0x4b5af8];_0xdf0093<=_0x315609[_0x3b8cda]&&_0x315609[_0x3b8cda]+_0x572e16<=_0x352f1b&&_0x394453[_0x1b22('0x24')](_0x3afa1a);}}});});}function _0x361445(_0xe39771){const _0x4e5c23=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x4f08ff=>_0x1b5a1d[_0x1b22('0x22')](_0x4f08ff));_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x55c084=>{const _0x3c2d9d=_0x55c084['batch'];_0xe39771=_0xe39771['filter'](_0x305b6c=>_0x1b22('0x2f')!=_0x305b6c[_0x1b22('0x1a')][_0x1b22('0x5f')]),_0x55c084['setSelection'](_0xe39771),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x83'))['refresh'](),_0x5ae62b[_0x1b22('0x2d')](_0x1b22('0x83'),{'forceDefaultExecution':!0x0}),_0x5ae62b[_0x1b22('0x7a')]['enqueueChange'](()=>{_0x5ae62b['model'][_0x1b22('0x23')](_0x3c2d9d,_0xd5a9ca=>{const _0x575310=_0x4e5c23[_0x1b22('0x38')](_0x5a545a=>_0x1b22('0x2f')!=_0x5a545a['root'][_0x1b22('0x5f')]);_0x575310[_0x1b22('0x2e')]>0x0&&_0xd5a9ca[_0x1b22('0x5e')](_0x575310);for(const _0x58cf8c of _0x4e5c23)_0x58cf8c[_0x1b22('0xc')]();});});});}function _0x5a6601(_0x1081db){_0x5ae62b['model'][_0x1b22('0x30')](_0x2fc535=>{const _0x1c1e84=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x16abbd=>_0x1b5a1d[_0x1b22('0x22')](_0x16abbd)),_0x2ade74=[];for(const _0x4d9ac5 of _0x1081db)for(const _0x5447de of _0x4d9ac5[_0x1b22('0x65')]({'shallow':!0x0}))_0x2ade74[_0x1b22('0x86')](_0x5447de);for(const _0x162536 of _0x2ade74)_0x1b22('0x2f')!=_0x162536[_0x1b22('0x1a')]['rootName']&&(_0x2fc535[_0x1b22('0x5e')](_0x2fc535[_0x1b22('0x47')](_0x162536,0x0)),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x63'))[_0x1b22('0xb')](),_0x5ae62b['execute'](_0x1b22('0x63'),{'forceDefaultExecution':!0x0}));const _0x5e73d1=_0x1c1e84[_0x1b22('0x38')](_0x3d8146=>'$graveyard'!=_0x3d8146[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x5e73d1[_0x1b22('0x2e')]>0x0&&_0x2fc535[_0x1b22('0x5e')](_0x5e73d1);for(const _0x407188 of _0x1c1e84)_0x407188[_0x1b22('0xc')]();});}function _0x1ebfc9(_0x4c8a9c,_0x4ff863){return _0x4ff863['every'](_0x292e0c=>_0x4c8a9c[_0x1b22('0x5b')](_0x11dced=>_0x11dced[_0x1b22('0x70')]['isEqual'](_0x292e0c['start'])||_0x292e0c[_0x1b22('0x70')]['isEqual'](_0x11dced[_0x1b22('0x56')])));}function _0x3291db(_0x443b3a,_0x291055){return _0x443b3a[_0x1b22('0x5b')](_0x24b9d0=>_0x291055['some'](_0x4ba185=>_0x24b9d0[_0x1b22('0x70')][_0x1b22('0x66')](_0x4ba185[_0x1b22('0x56')])));}_0x5ae62b[_0x1b22('0x4e')]['downcastDispatcher']['on'](_0x1b22('0x53'),(_0xa6b040,_0x226870,_0x10458b)=>{if(!_0x10458b['options']['showSuggestionHighlights'])return;const _0x235f33=_0x226870[_0x1b22('0x51')];if(!_0x235f33)return;const _0x138a18=_0x10458b[_0x1b22('0x44')][_0x1b22('0x15')](_0x235f33);function _0x35fe88(_0x31b8e2){return Array[_0x1b22('0x6b')](_0x31b8e2)?_0x31b8e2:[_0x31b8e2];}_0x138a18&&_0x1b22('0x54')===_0x235f33[_0x1b22('0x5d')]&&_0x5f0c9a(_0x138a18,_0x10458b[_0x1b22('0x72')],(_0x2a5c24,_0x3832c2,_0x41b3fd)=>_0x41b3fd[_0x1b22('0x18')](_0x35fe88(_0x3832c2[_0x1b22('0x8')]),_0x2a5c24),(_0x3ff4f0,_0x5ba9c3,_0xb7d662)=>_0xb7d662[_0x1b22('0x58')](_0x35fe88(_0x5ba9c3[_0x1b22('0x8')]),_0x3ff4f0));},{'priority':_0x1b22('0x4b')}),_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x10')](_0xb2103e=>{if(_0x1b22('0x6e')!=_0xb2103e['type']&&'deletion'!=_0xb2103e['type'])return;const _0x5835c5=_0xb2103e['getContainedElement']();if(null!=_0x5835c5&&_0x5835c5['is'](_0x1b22('0x77'),_0x1b22('0x57'))){if(_0x1b22('0x6e')==_0xb2103e['type']){const _0x40b109=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x26bc51=>_0x26bc51['is']('$textProxy'))[_0x1b22('0x7f')](_0x29e893=>_0x29e893[_0x1b22('0x4e')]);if(_0x40b109['length'])return{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x40b109['join']('\x20')+'\x22'))};}if(_0x1b22('0x4d')==_0xb2103e[_0x1b22('0x45')]){const _0x364aac=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x14f5da=>_0x14f5da['is']('$textProxy'))[_0x1b22('0x7f')](_0x4924d2=>_0x4924d2['data']);if(_0x364aac[_0x1b22('0x2e')])return{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x364aac[_0x1b22('0x3c')]('\x20')+'\x22'))};}}}),_0x2f7a7e['_descriptionFactory']['registerDescriptionCallback'](_0x2228b3=>{if(_0x1b22('0x7e')==_0x2228b3[_0x1b22('0x37')]){const _0x4129b8=_0x2228b3[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x8b30e5=>_0x8b30e5['is'](_0x1b22('0x3d')))[_0x1b22('0x7f')](_0x16dcba=>_0x16dcba[_0x1b22('0x4e')]),_0x2c9512=this[_0x1b22('0x7b')](_0x2228b3),_0x4efd39=_0x2c9512['maxRow']-_0x2c9512[_0x1b22('0x60')]+0x1;if(_0x1b22('0x6e')==_0x2228b3['type'])return _0x4129b8[_0x1b22('0x2e')]?{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x14'),[_0x4efd39,'\x22'+_0x4129b8[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x74'),_0x4efd39))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x4129b8[_0x1b22('0x2e')]?{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4efd39,'\x22'+_0x4129b8['join']('\x20')+'\x22']))}:{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW',_0x4efd39))};}if(_0x1b22('0x7')==_0x2228b3[_0x1b22('0x37')]){const _0x71c561=_0x2228b3[_0x1b22('0x65')]()['filter'](_0x388db5=>_0x388db5['is']('$textProxy'))['map'](_0x4c1f81=>_0x4c1f81['data']),_0x3ab161=this[_0x1b22('0x7b')](_0x2228b3),_0x87c4eb=_0x3ab161[_0x1b22('0xf')]-_0x3ab161[_0x1b22('0x85')]+0x1;if(_0x1b22('0x6e')==_0x2228b3[_0x1b22('0x45')])return _0x71c561[_0x1b22('0x2e')]?{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x71c561['length']?{'type':'deletion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x264b1b(_0x3bf6f4,'*Remove:*\x20%0',_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};}}),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')]('insertion',_0x1b22('0x7e'),_0x1b22('0x1e'),_0x361445),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback'](_0x1b22('0x4d'),_0x1b22('0x7e'),_0x1b22('0x69'),_0x361445),_0x2f7a7e['_suggestionFactory'][_0x1b22('0x35')]('insertion',_0x1b22('0x7'),_0x1b22('0x1e'),_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),'accept',_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),'tableColumn','join',_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),_0x1b22('0x3c'),_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),_0x1b22('0x7e'),'join',_0x3291db),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback']('deletion',_0x1b22('0x7e'),_0x1b22('0x3c'),_0x3291db);}[_0x1b22('0x12')](){const _0x297569=this['editor'],_0x815bbe=_0x297569[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];return(_0x3e515b,_0x279f31)=>{_0x297569[_0x1b22('0x7a')][_0x1b22('0x30')](_0x5299a0=>{const {commandName:_0x352eb4,commandParams:_0x2db876}=_0x279f31;let _0x45b52f=_0x3e515b[0x0][_0x1b22('0x70')][_0x1b22('0x67')];_0x2db876&&_0x2db876[0x0]&&!0x1===_0x2db876[0x0][_0x1b22('0x26')]&&(_0x45b52f=_0x3e515b[0x0][_0x1b22('0x56')]['nodeAfter']);const _0x5b8a93=_0x5299a0[_0x1b22('0x40')](_0x45b52f);if(_0x1b22('0x2f')==_0x5b8a93[_0x1b22('0x1a')][_0x1b22('0x5f')])return;const _0x495ebd=Array[_0x1b22('0x61')](_0x815bbe[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x438686=>_0x1b5a1d[_0x1b22('0x22')](_0x438686));_0x5299a0[_0x1b22('0x5e')](_0x5b8a93),_0x297569[_0x1b22('0x62')][_0x1b22('0x17')](_0x352eb4)['refresh'](),_0x2db876[_0x1b22('0x86')]({'forceDefaultExecution':!0x0}),_0x297569[_0x1b22('0x2d')](_0x352eb4,..._0x2db876);const _0x4ff481=_0x495ebd[_0x1b22('0x38')](_0x5ea9db=>_0x1b22('0x2f')!=_0x5ea9db[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x4ff481[_0x1b22('0x2e')]>0x0&&_0x5299a0['setSelection'](_0x4ff481);for(const _0x425dd4 of _0x495ebd)_0x425dd4[_0x1b22('0xc')]();});};}[_0x1b22('0x3')](_0x5bde98){const _0x5599a6=this['editor'][_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));let _0x24634e=Number['MAX_SAFE_INTEGER'],_0x2b0433=Number[_0x1b22('0x9')],_0x2ebbbd=Number[_0x1b22('0x41')],_0x5ed3c0=Number[_0x1b22('0x9')];for(const _0x12435c of _0x5bde98){if(_0x1b22('0x2f')==_0x12435c['root'][_0x1b22('0x5f')])continue;const {row:_0x219078,column:_0x5b0320}=_0x5599a6[_0x1b22('0x6c')](_0x12435c),_0x49b8f9=_0x12435c[_0x1b22('0x33')](_0x1b22('0x76'))?_0x12435c[_0x1b22('0x59')](_0x1b22('0x76'))-0x1:0x0,_0x435283=_0x12435c['hasAttribute']('colspan')?_0x12435c[_0x1b22('0x59')](_0x1b22('0x3b'))-0x1:0x0;_0x24634e=_0x219078<_0x24634e?_0x219078:_0x24634e,_0x2b0433=_0x219078+_0x49b8f9>_0x2b0433?_0x219078+_0x49b8f9:_0x2b0433,_0x2ebbbd=_0x5b0320<_0x2ebbbd?_0x5b0320:_0x2ebbbd,_0x5ed3c0=_0x5b0320+_0x435283>_0x5ed3c0?_0x5b0320+_0x435283:_0x5ed3c0;}return{'minRow':_0x24634e,'maxRow':_0x2b0433,'minColumn':_0x2ebbbd,'maxColumn':_0x5ed3c0};}['_setupColumnsRowsFixing'](){const _0xac524=this[_0x1b22('0x2b')],_0x2e6d58=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x81')),_0xdb55b0=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['on'](_0x1b22('0x11'),()=>{const _0x3171d7=Array[_0x1b22('0x61')](_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x28')]['getChangedMarkers']());for(const {name:_0x3a8ffc,data:_0xd3ac5f}of _0x3171d7){const {group:_0x3b0915,id:_0x194cb9,subType:_0x56dd42}=_0x2e6d58['_splitMarkerName'](_0x3a8ffc);if('suggestion'!=_0x3b0915)continue;if(null!=_0xd3ac5f['oldRange'])continue;const _0x370502=_0x2e6d58[_0x1b22('0x2')](_0x194cb9);this[_0x1b22('0x20')][_0x1b22('0x79')](_0x56dd42)&&this['_tableSuggestions'][_0x1b22('0x21')](_0x370502);}},{'priority':_0x1b22('0x32')});const _0x4dd528=(_0x5ad350,_0x59a989)=>{let _0x2353ce=!0x1;const _0x1e704c=_0x59a989[_0x1b22('0xe')](_0x5ad350),_0x2e3dae=_0x5ad350['findAncestor']('table'),_0xdad0f0=_0xdb55b0[_0x1b22('0x6c')](_0x5ad350);for(const _0x32bb42 of this['_tableSuggestions']){const _0x483eee=_0x32bb42['subType'],_0x25801c=_0x483eee[_0x1b22('0x4')]('tablePaste'),_0x1c5bb0=_0x483eee['substr'](_0x25801c?0xa:0x5),_0x158e6f=_0x1c5bb0[_0x1b22('0x55')](),_0x4a8671=_0x158e6f['substr'](0x0,0x3)+_0x1b22('0x5a'),_0x5f4d0c=_0x1b22('0x1f')+_0x1c5bb0,_0x4c4f87=_0x1b22('0x43')+_0x1c5bb0;if(!_0x32bb42['isInContent'])continue;if(_0x2e3dae!=_0x32bb42['getFirstRange']()[_0x1b22('0x56')][_0x1b22('0x1c')]('table'))continue;if(_0x32bb42['isIntersectingWithRange'](_0x1e704c))continue;const _0x1902da=_0x5ad350[_0x1b22('0x33')](_0x4a8671)?_0x5ad350[_0x1b22('0x59')](_0x4a8671)-0x1:0x0,_0x2bc686=this['_getSuggestionCoords'](_0x32bb42),_0x5def2c=_0x2bc686[_0x5f4d0c],_0x3e0eb4=_0x2bc686[_0x4c4f87];_0x5def2c<=_0xdad0f0[_0x158e6f]&&_0xdad0f0[_0x158e6f]+_0x1902da<=_0x3e0eb4&&(_0x32bb42[_0x1b22('0x24')](_0x1e704c),_0x2353ce=!0x0);}return _0x2353ce;};_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x2a')](_0x25a2b9=>{let _0x2838ef=!0x1;for(const _0x552e91 of _0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['differ'][_0x1b22('0x5c')]())if(_0x1b22('0x39')==_0x552e91[_0x1b22('0x45')]){if('tableRow'==_0x552e91['name'])for(const _0x139c09 of _0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')][_0x1b22('0x48')]())_0x2838ef=_0x2838ef||_0x4dd528(_0x139c09,_0x25a2b9);else _0x1b22('0x54')==_0x552e91['name']&&(_0x2838ef=_0x2838ef||_0x4dd528(_0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')],_0x25a2b9));}return _0x2838ef;});}[_0x1b22('0x7b')](_0x2da495){return this[_0x1b22('0x3')](_0x2da495[_0x1b22('0x29')]()['map'](_0x3585dd=>_0x3585dd['start']['nodeAfter']));}}function se(_0xa8498d){return Array['from'](new Set(_0xa8498d)[_0x1b22('0x4c')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3202=['get','plugins','enableCommand','editor','has','TableCaptionEditing'];(function(_0x918d1a,_0x320229){const _0x31af0f=function(_0x5b11e8){while(--_0x5b11e8){_0x918d1a['push'](_0x918d1a['shift']());}};_0x31af0f(++_0x320229);}(_0x3202,0x8a));const _0x31af=function(_0x918d1a,_0x320229){_0x918d1a=_0x918d1a-0x0;let _0x31af0f=_0x3202[_0x918d1a];return _0x31af0f;};import{Plugin as _0x148351}from'ckeditor5/src/core';import _0x3cf39a from'./table';export default class vt extends _0x148351{static get['requires'](){return[_0x3cf39a];}['afterInit'](){const _0x5b2fa0=this[_0x31af('0x3')];if(!_0x5b2fa0['plugins'][_0x31af('0x4')](_0x31af('0x5')))return;_0x5b2fa0[_0x31af('0x1')][_0x31af('0x0')]('TrackChangesEditing')[_0x31af('0x2')]('toggleTableCaption');}}
23
+ const _0x27be=['toggleTableCaption','plugins','TrackChangesEditing','afterInit','editor','get','enableCommand'];(function(_0xf1139,_0x27beb7){const _0x5b06fe=function(_0x44792c){while(--_0x44792c){_0xf1139['push'](_0xf1139['shift']());}};_0x5b06fe(++_0x27beb7);}(_0x27be,0x67));const _0x5b06=function(_0xf1139,_0x27beb7){_0xf1139=_0xf1139-0x0;let _0x5b06fe=_0x27be[_0xf1139];return _0x5b06fe;};import{Plugin as _0xda842f}from'ckeditor5/src/core';import _0x51e5ab from'./table';export default class vt extends _0xda842f{static get['requires'](){return[_0x51e5ab];}[_0x5b06('0x5')](){const _0x4a4423=this[_0x5b06('0x6')];if(!_0x4a4423[_0x5b06('0x3')]['has']('TableCaptionEditing'))return;_0x4a4423[_0x5b06('0x3')][_0x5b06('0x0')](_0x5b06('0x4'))[_0x5b06('0x1')](_0x5b06('0x2'));}}