@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230728.0 → 0.0.0-nightly-20230730.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 (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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,'_');}}
23
+ const _0x3fc4=['getSelectedBlocks','bind','selection','enableCommand','TrackChangesEditing','getListTypeFromListStyleType','handleListStyleCommand','model','reversed','registerDescriptionCallback','_descriptionFactory','getFirstPosition','commandParams','createRange','listItem','backward','afterInit','format','editor','styles','toUpperCase','has','get','handleListReversedCommand','getSiblingNodes','startIndex','length','ELEMENT_','*Format:*\x20set\x20start\x20index\x20to\x20%0','_getTranslationKeyForListStyle','listStart','plugins','change','forward','document','from','push','replace','config','list.properties','ListUtils','commandName','createPositionAt','numbered','listStyle','type','_getSuggestionBlocksForListStyle','handleListStartCommand','_LIST_','before','flat','listType','_getSuggestionBlocks','element','*Format:*\x20set\x20order\x20to\x20regular','listReversed','markMultiRangeBlockFormat','handleDescriptions','map','filter','getAttribute'];(function(_0x293047,_0x3fc4fc){const _0x420204=function(_0x5622ac){while(--_0x5622ac){_0x293047['push'](_0x293047['shift']());}};_0x420204(++_0x3fc4fc);}(_0x3fc4,0x111));const _0x4202=function(_0x293047,_0x3fc4fc){_0x293047=_0x293047-0x0;let _0x420204=_0x3fc4[_0x293047];return _0x420204;};import{Plugin as _0x1e4999}from'ckeditor5/src/core';import{getTranslation as _0x4c0cc6}from'../utils/common-translations';export default class nt extends _0x1e4999{[_0x4202('0x30')](){if(!this[_0x4202('0x32')][_0x4202('0x2')][_0x4202('0x35')]('ListPropertiesEditing'))return;const _0x8d9f58=this['editor'][_0x4202('0x9')]['get'](_0x4202('0xa')),_0x51d18a=this['editor'][_0x4202('0x2')][_0x4202('0x36')](_0x4202('0x24'));_0x8d9f58[_0x4202('0x33')]&&_0x51d18a['enableCommand'](_0x4202('0xf'),this[_0x4202('0x26')][_0x4202('0x21')](this)),_0x8d9f58[_0x4202('0x28')]&&_0x51d18a[_0x4202('0x23')](_0x4202('0x1a'),this[_0x4202('0x37')][_0x4202('0x21')](this)),_0x8d9f58[_0x4202('0x39')]&&_0x51d18a[_0x4202('0x23')](_0x4202('0x1'),this[_0x4202('0x12')][_0x4202('0x21')](this)),_0x51d18a[_0x4202('0x2a')][_0x4202('0x29')](this[_0x4202('0x1c')][_0x4202('0x21')](this));}['handleListStyleCommand'](_0x3e4245,_0x494bd7={}){const _0x5eb493=this[_0x4202('0x32')][_0x4202('0x2')][_0x4202('0x36')](_0x4202('0x24')),_0x58a437=this[_0x4202('0x11')]();this[_0x4202('0x32')]['model'][_0x4202('0x3')](()=>{_0x5eb493[_0x4202('0x1b')](_0x58a437,{'commandName':_0x4202('0xf'),'commandParams':[{'type':_0x494bd7[_0x4202('0x10')]}],'formatGroupId':'listStyle'});});}[_0x4202('0x37')](_0x1c6313,_0x3000f5={}){const _0x57a789=this[_0x4202('0x32')][_0x4202('0x2')][_0x4202('0x36')]('TrackChangesEditing'),_0x1f5a36=this[_0x4202('0x17')](_0x376fd1=>_0x376fd1['is'](_0x4202('0x18'),_0x4202('0x2e'))&&_0x4202('0xe')===_0x376fd1[_0x4202('0x1f')](_0x4202('0x16')));if(_0x1f5a36[_0x4202('0x3a')]<0x1)return;const _0x15c20d=_0x1f5a36[_0x4202('0x1d')](_0x157337=>this[_0x4202('0x32')]['model']['createRange'](this[_0x4202('0x32')]['model'][_0x4202('0xd')](_0x157337,_0x4202('0x14')),this['editor']['model']['createPositionAt'](_0x157337,0x0)));this[_0x4202('0x32')]['model']['change'](()=>{_0x57a789[_0x4202('0x1b')](_0x15c20d,{'commandName':_0x4202('0x1a'),'commandParams':[{'reversed':_0x3000f5[_0x4202('0x28')]}],'formatGroupId':_0x4202('0x1a')});});}[_0x4202('0x12')](_0x263643,_0x56c562={}){const _0x5c115d=this[_0x4202('0x32')][_0x4202('0x2')][_0x4202('0x36')](_0x4202('0x24')),_0x1eb6c5=this[_0x4202('0x17')](_0x1b9d38=>_0x1b9d38['is'](_0x4202('0x18'),_0x4202('0x2e'))&&'numbered'===_0x1b9d38[_0x4202('0x1f')](_0x4202('0x16')));if(_0x1eb6c5[_0x4202('0x3a')]<0x1)return;const _0x5cadc5=_0x1eb6c5[_0x4202('0x1d')](_0x53a5ff=>this[_0x4202('0x32')][_0x4202('0x27')][_0x4202('0x2d')](this['editor'][_0x4202('0x27')][_0x4202('0xd')](_0x53a5ff,_0x4202('0x14')),this[_0x4202('0x32')]['model'][_0x4202('0xd')](_0x53a5ff,0x0)));this[_0x4202('0x32')]['model'][_0x4202('0x3')](()=>{_0x5c115d[_0x4202('0x1b')](_0x5cadc5,{'commandName':_0x4202('0x1'),'commandParams':[{'startIndex':_0x56c562[_0x4202('0x39')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x39bac3){const _0x424a47=this[_0x4202('0x32')]['locale'],{data:_0x3b69e9}=_0x39bac3;if(!_0x3b69e9)return;let _0x391a35,_0x1de339;switch(_0x3b69e9[_0x4202('0xc')]){case'listStyle':_0x391a35='*Change\x20to:*\x20%0',_0x1de339={'type':_0x4202('0x31'),'content':_0x4c0cc6(_0x424a47,_0x391a35,_0x4c0cc6(_0x424a47,this[_0x4202('0x0')](_0x3b69e9[_0x4202('0x2c')][0x0][_0x4202('0x10')])))};break;case'listReversed':_0x391a35=_0x3b69e9[_0x4202('0x2c')][0x0][_0x4202('0x28')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4202('0x19'),_0x1de339={'type':'format','content':_0x4c0cc6(_0x424a47,_0x391a35)};break;case _0x4202('0x1'):_0x391a35=_0x4202('0x3c'),_0x1de339={'type':'format','content':_0x4c0cc6(_0x424a47,_0x391a35,_0x3b69e9['commandParams'][0x0][_0x4202('0x39')])};}return _0x1de339;}[_0x4202('0x11')](){var _0x89c075,_0x1ff574,_0x37865c,_0x3a0f55;const _0x1fcd60=this['editor'][_0x4202('0x2')][_0x4202('0x36')](_0x4202('0xb'));let _0x5eb0bd=Array[_0x4202('0x6')](this['editor'][_0x4202('0x27')][_0x4202('0x5')][_0x4202('0x22')][_0x4202('0x20')]());return(null===(_0x89c075=_0x5eb0bd[0x0])||void 0x0===_0x89c075?void 0x0:_0x89c075['is'](_0x4202('0x18'),_0x4202('0x2e')))&&_0x5eb0bd['unshift'](..._0x1fcd60[_0x4202('0x38')](this[_0x4202('0x32')][_0x4202('0x27')][_0x4202('0x5')][_0x4202('0x22')][_0x4202('0x2b')](),_0x4202('0x2f'))),(null===(_0x1ff574=_0x5eb0bd[_0x5eb0bd[_0x4202('0x3a')]-0x1])||void 0x0===_0x1ff574?void 0x0:_0x1ff574['is']('element',_0x4202('0x2e')))&&_0x5eb0bd[_0x4202('0x7')](..._0x1fcd60[_0x4202('0x38')](this[_0x4202('0x32')][_0x4202('0x27')][_0x4202('0x5')][_0x4202('0x22')]['getLastPosition'](),_0x4202('0x4'))),_0x5eb0bd=[...new Set(_0x5eb0bd)],(null===(_0x3a0f55=null===(_0x37865c=this[_0x4202('0x32')]['model'][_0x4202('0x5')]['selection'][_0x4202('0x2b')]())||void 0x0===_0x37865c?void 0x0:_0x37865c['parent'])||void 0x0===_0x3a0f55?void 0x0:_0x3a0f55['is'](_0x4202('0x18'),_0x4202('0x2e')))&&(_0x5eb0bd=_0x5eb0bd[_0x4202('0x1e')](_0x260ecb=>_0x260ecb['is'](_0x4202('0x18'),_0x4202('0x2e')))),_0x5eb0bd;}[_0x4202('0x17')](_0x3290ab){const _0x8eb2fc=this[_0x4202('0x32')]['plugins']['get'](_0x4202('0xb'));let _0x416ad2=Array[_0x4202('0x6')](this[_0x4202('0x32')][_0x4202('0x27')][_0x4202('0x5')][_0x4202('0x22')][_0x4202('0x20')]())['filter'](_0x3290ab)[_0x4202('0x1d')](_0x1e2d38=>{const _0x276656=this[_0x4202('0x32')]['model'][_0x4202('0xd')](_0x1e2d38,0x0);return[..._0x8eb2fc['getSiblingNodes'](_0x276656,_0x4202('0x2f')),..._0x8eb2fc[_0x4202('0x38')](_0x276656,_0x4202('0x4'))];})[_0x4202('0x15')]();return _0x416ad2=[...new Set(_0x416ad2)],_0x416ad2;}[_0x4202('0x0')](_0xaab488){return _0x4202('0x3b')+this[_0x4202('0x32')][_0x4202('0x2')]['get'](_0x4202('0xb'))[_0x4202('0x25')](_0xaab488)[_0x4202('0x34')]()+_0x4202('0x13')+_0xaab488[_0x4202('0x34')]()[_0x4202('0x8')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'});}}
23
+ const _0x5857=['editor','stop','dataDowncast','elementToElement','MediaEmbedEditing','high','afterInit','TrackChangesEditing','showSuggestionHighlights','has','data','mediaEmbed','locale','plugins','get','attribute:url:media','media','createEmptyElement','registerElementLabel','conversion','enableCommand'];(function(_0xa5f67e,_0x58571f){const _0x4b9591=function(_0x4bef7a){while(--_0x4bef7a){_0xa5f67e['push'](_0xa5f67e['shift']());}};_0x4b9591(++_0x58571f);}(_0x5857,0x8f));const _0x4b95=function(_0xa5f67e,_0x58571f){_0xa5f67e=_0xa5f67e-0x0;let _0x4b9591=_0x5857[_0xa5f67e];return _0x4b9591;};import{Plugin as _0x52d534}from'ckeditor5/src/core';import{getTranslation as _0x19cca8}from'../utils/common-translations';export default class ot extends _0x52d534{[_0x4b95('0xa')](){const _0x113ab4=this[_0x4b95('0x4')];if(!_0x113ab4[_0x4b95('0x11')][_0x4b95('0xd')](_0x4b95('0x8')))return;const _0x34455a=_0x113ab4[_0x4b95('0x11')][_0x4b95('0x12')](_0x4b95('0xb')),_0x4686c2=_0x113ab4[_0x4b95('0x10')];_0x34455a[_0x4b95('0x3')](_0x4b95('0xf')),_0x34455a['_descriptionFactory'][_0x4b95('0x1')](_0x4b95('0x14'),_0x26d797=>_0x19cca8(_0x4686c2,'ELEMENT_MEDIA',_0x26d797)),_0x113ab4[_0x4b95('0x2')]['for'](_0x4b95('0x6'))[_0x4b95('0x7')]({'model':_0x4b95('0x14'),'view':(_0x56a032,{writer:_0x2daca3,options:_0x3c105b})=>{if(_0x3c105b[_0x4b95('0xc')])return _0x2daca3[_0x4b95('0x0')]('div');},'converterPriority':_0x4b95('0x9')}),_0x113ab4[_0x4b95('0xe')]['downcastDispatcher']['on'](_0x4b95('0x13'),(_0x6bd04c,_0x2934b0,_0x14b4cd)=>{_0x14b4cd['options']['showSuggestionHighlights']&&_0x6bd04c[_0x4b95('0x5')]();},{'priority':_0x4b95('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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');}}
23
+ const _0x59ac=['enableCommand','get','mention','MentionEditing','has','plugins','TrackChangesEditing','afterInit'];(function(_0x7e8999,_0x59ac1b){const _0xe94b26=function(_0x24dd7a){while(--_0x24dd7a){_0x7e8999['push'](_0x7e8999['shift']());}};_0xe94b26(++_0x59ac1b);}(_0x59ac,0x85));const _0xe94b=function(_0x7e8999,_0x59ac1b){_0x7e8999=_0x7e8999-0x0;let _0xe94b26=_0x59ac[_0x7e8999];return _0xe94b26;};import{Plugin as _0x38728e}from'ckeditor5/src/core';export default class rt extends _0x38728e{[_0xe94b('0x2')](){const _0x454df6=this['editor'];_0x454df6[_0xe94b('0x0')][_0xe94b('0x7')](_0xe94b('0x6'))&&_0x454df6[_0xe94b('0x0')][_0xe94b('0x4')](_0xe94b('0x1'))[_0xe94b('0x3')](_0xe94b('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ const _0xa1d1=['editor','ELEMENT_PAGE_BREAK','has','locale','plugins','_descriptionFactory','TrackChangesEditing','registerElementLabel','get','PageBreakEditing','pageBreak','enableCommand'];(function(_0x294eaf,_0xa1d1a){const _0x14813f=function(_0x310605){while(--_0x310605){_0x294eaf['push'](_0x294eaf['shift']());}};_0x14813f(++_0xa1d1a);}(_0xa1d1,0x111));const _0x1481=function(_0x294eaf,_0xa1d1a){_0x294eaf=_0x294eaf-0x0;let _0x14813f=_0xa1d1[_0x294eaf];return _0x14813f;};import{Plugin as _0xd6ed2f}from'ckeditor5/src/core';import{getTranslation as _0x325245}from'../utils/common-translations';export default class at extends _0xd6ed2f{['afterInit'](){const _0x46b154=this[_0x1481('0x3')];if(!_0x46b154[_0x1481('0x7')][_0x1481('0x5')](_0x1481('0x0')))return;_0x46b154[_0x1481('0x7')]['get'](_0x1481('0x9'))[_0x1481('0x2')](_0x1481('0x1'));const _0x545ebb=_0x46b154[_0x1481('0x7')][_0x1481('0xb')](_0x1481('0x9')),_0x4159a3=_0x46b154[_0x1481('0x6')];_0x545ebb[_0x1481('0x8')][_0x1481('0xa')](_0x1481('0x1'),_0x4b65af=>_0x325245(_0x4159a3,_0x1481('0x4'),_0x4b65af));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]);}};}
23
+ const _0x180c=['selection','registerDescriptionCallback','locale','isBlock','options','Paragraph','has','*Change\x20to:*\x20%0','_descriptionFactory','paragraph','*Insert:*\x20%0','addMarker:suggestion:insertion','start','showSuggestionHighlights','insertParagraph','enableCommand','mapper','schema','span','nodeAfter','consumable','from','toViewPosition','plugins','ELEMENT_PARAGRAPH','getFirstRange','editor','addClass','writer','highest','includes','getSelectedBlocks','markerName','model','insert','bindElementToMarker','insertion','isObject','name','afterInit','document','consume','checkChild','TrackChangesEditing','markerRange','data','end','isTouching','change','createUIElement','isLimit','$text','ck-suggestion-marker-split','filter'];(function(_0x3d1f26,_0x180c06){const _0x4bbd42=function(_0x5004fa){while(--_0x5004fa){_0x3d1f26['push'](_0x3d1f26['shift']());}};_0x4bbd42(++_0x180c06);}(_0x180c,0x164));const _0x4bbd=function(_0x3d1f26,_0x180c06){_0x3d1f26=_0x3d1f26-0x0;let _0x4bbd42=_0x180c[_0x3d1f26];return _0x4bbd42;};import{Plugin as _0x26c375}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x52b546}from'./utils';import{getTranslation as _0x199644}from'../utils/common-translations';export default class ct extends _0x26c375{[_0x4bbd('0x7')](){const _0x2abf34=this[_0x4bbd('0x30')];if(!_0x2abf34[_0x4bbd('0x2d')][_0x4bbd('0x1c')](_0x4bbd('0x1b')))return;const _0x137fc6=_0x2abf34[_0x4bbd('0x18')],_0x2f68bd=_0x2abf34[_0x4bbd('0x2d')]['get'](_0x4bbd('0xb'));_0x2f68bd[_0x4bbd('0x1e')]['registerElementLabel']('paragraph',_0x17dc67=>_0x199644(_0x137fc6,_0x4bbd('0x2e'),_0x17dc67)),_0x2f68bd[_0x4bbd('0x25')](_0x4bbd('0x1f'),(_0xb7498c,_0x1e3575={})=>{const _0x5e67a5=_0x2abf34[_0x4bbd('0x1')][_0x4bbd('0x8')],_0x1ec063=_0x1e3575[_0x4bbd('0x16')]||_0x5e67a5['selection'],_0x53b53b=Array[_0x4bbd('0x2b')](_0x1ec063[_0x4bbd('0x35')]())[_0x4bbd('0x15')](_0x2b698f=>function(_0xe1c314,_0x3e6bb3){return _0x3e6bb3[_0x4bbd('0xa')](_0xe1c314['parent'],'paragraph')&&!_0x3e6bb3[_0x4bbd('0x5')](_0xe1c314)&&'paragraph'!=_0xe1c314[_0x4bbd('0x6')];}(_0x2b698f,this[_0x4bbd('0x30')][_0x4bbd('0x1')][_0x4bbd('0x27')]));_0x2abf34['model'][_0x4bbd('0x10')](()=>{for(const _0x552d0 of _0x53b53b)_0x2f68bd['markBlockFormat'](_0x552d0,{'commandName':_0x4bbd('0x1f'),'commandParams':[],'formatGroupId':'blockName'},_0x52b546(_0x552d0));});}),_0x2f68bd[_0x4bbd('0x1e')][_0x4bbd('0x17')](_0x4b78c2=>{const {data:_0x176d9e}=_0x4b78c2;if(_0x176d9e&&_0x4bbd('0x1f')==_0x176d9e['commandName'])return{'type':'format','content':_0x199644(_0x137fc6,_0x4bbd('0x1d'),_0x199644(_0x137fc6,_0x4bbd('0x2e')))};}),_0x2f68bd['enableCommand'](_0x4bbd('0x24')),_0x2abf34['editing']['downcastDispatcher']['on'](_0x4bbd('0x21'),ar(_0x2abf34),{'priority':'highest'}),_0x2abf34[_0x4bbd('0xd')]['downcastDispatcher']['on'](_0x4bbd('0x21'),(_0x393654,_0x377221,_0x5d14d7)=>{_0x5d14d7[_0x4bbd('0x1a')][_0x4bbd('0x23')]&&ar(_0x2abf34,{'showActiveMarker':!0x1})(_0x393654,_0x377221,_0x5d14d7);},{'priority':_0x4bbd('0x33')});const _0x21e5b4=_0x2f68bd[_0x4bbd('0x1e')];_0x21e5b4[_0x4bbd('0x17')](_0x4396d0=>{if(_0x4bbd('0x4')!==_0x4396d0['type'])return;const {start:_0x1f7f2d,end:_0x426c69}=_0x4396d0[_0x4bbd('0x2f')]();if(!_0x1f7f2d[_0x4bbd('0xf')](_0x426c69)||!_0x1f7f2d[_0x4bbd('0x29')])return;const _0x1b65ff=_0x2abf34[_0x4bbd('0x1')]['schema'],_0xa0d39b=_0x1f7f2d['nodeAfter'];return _0x1b65ff[_0x4bbd('0x19')](_0xa0d39b)&&!_0x1b65ff[_0x4bbd('0x12')](_0xa0d39b)&&_0x1b65ff[_0x4bbd('0xa')](_0xa0d39b,'$text')?{'type':'insertion','content':_0x199644(_0x137fc6,_0x4bbd('0x20'),_0x21e5b4['getItemLabel'](_0xa0d39b,0x1))}:void 0x0;});}}function ar(_0x5be73a,{showActiveMarker:_0x119108=!0x0}={}){return(_0x2e841c,_0x3198a0,_0x5b2035)=>{const _0x35c877=_0x5be73a[_0x4bbd('0x2d')]['get']('TrackChangesEditing'),_0xd5b09=_0x3198a0['markerRange'][_0x4bbd('0x22')],_0xef2a4=_0x3198a0[_0x4bbd('0xc')][_0x4bbd('0xe')],_0x7d2a1a=_0x5be73a[_0x4bbd('0x1')][_0x4bbd('0x27')];if(!_0xd5b09[_0x4bbd('0xf')](_0xef2a4)||!_0xd5b09[_0x4bbd('0x29')])return;const _0x2a946a=_0xd5b09[_0x4bbd('0x29')];if(_0x7d2a1a[_0x4bbd('0x19')](_0x2a946a)&&!_0x7d2a1a[_0x4bbd('0x12')](_0x2a946a)&&_0x7d2a1a[_0x4bbd('0xa')](_0x2a946a,_0x4bbd('0x13'))){if(!_0x5b2035[_0x4bbd('0x2a')][_0x4bbd('0x9')](_0x3198a0[_0x4bbd('0xc')],_0x2e841c['name']))return;const _0x2ab254=_0x5b2035[_0x4bbd('0x32')][_0x4bbd('0x11')](_0x4bbd('0x28'),{'class':_0x4bbd('0x14')}),_0x4b6779=_0x5b2035['mapper'][_0x4bbd('0x2c')](_0xef2a4);_0x119108&&_0x35c877['activeMarkers'][_0x4bbd('0x34')](_0x3198a0[_0x4bbd('0x0')])&&_0x5b2035['writer'][_0x4bbd('0x31')]('ck-suggestion-marker--active',_0x2ab254),_0x5b2035['writer'][_0x4bbd('0x2')](_0x4b6779,_0x2ab254),_0x5b2035[_0x4bbd('0x26')][_0x4bbd('0x3')](_0x2ab254,_0x3198a0[_0x4bbd('0x0')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x4aed=['isFormatting','registerDescriptionCallback','TrackChangesEditing','plugins','document','getAttributeProperties','enableCommand','getAttributes','commandName','removeFormat','get','afterInit','getRanges','getItems','has','model','markInlineFormat','format','isCollapsed','locale'];(function(_0x296efc,_0x4aeda4){const _0x5eab44=function(_0x462c7f){while(--_0x462c7f){_0x296efc['push'](_0x296efc['shift']());}};_0x5eab44(++_0x4aeda4);}(_0x4aed,0x112));const _0x5eab=function(_0x296efc,_0x4aeda4){_0x296efc=_0x296efc-0x0;let _0x5eab44=_0x4aed[_0x296efc];return _0x5eab44;};import{Plugin as _0x13ef49}from'ckeditor5/src/core';import{getTranslation as _0x24bac8}from'../utils/common-translations';export default class ht extends _0x13ef49{[_0x5eab('0x11')](){const _0x2a1c50=this['editor'];if(!_0x2a1c50[_0x5eab('0x9')][_0x5eab('0x0')]('RemoveFormatEditing'))return;const _0x2dcdc9=_0x2a1c50[_0x5eab('0x9')][_0x5eab('0x10')](_0x5eab('0x8'));_0x2dcdc9[_0x5eab('0xc')]('removeFormat',_0x4805dc=>{const _0x80689=_0x2a1c50[_0x5eab('0x1')][_0x5eab('0xa')]['selection'];_0x80689[_0x5eab('0x4')]?_0x4805dc():_0x2a1c50[_0x5eab('0x1')]['change'](()=>{const _0xbf0775=Array['from'](_0x80689[_0x5eab('0x12')]());for(const _0x37882e of _0xbf0775)for(const _0x3f2145 of _0x37882e[_0x5eab('0x13')]())eo(_0x3f2145,_0x2a1c50[_0x5eab('0x1')]['schema'])&&_0x2dcdc9[_0x5eab('0x2')](_0x2a1c50[_0x5eab('0x1')]['createRangeOn'](_0x3f2145),{'commandName':_0x5eab('0xf'),'commandParams':[]});});}),_0x2dcdc9['_descriptionFactory'][_0x5eab('0x7')](_0x35a12d=>{const {data:_0x4aa3de}=_0x35a12d;if(_0x4aa3de&&_0x5eab('0xf')==_0x4aa3de[_0x5eab('0xe')])return{'type':_0x5eab('0x3'),'content':_0x24bac8(_0x2a1c50[_0x5eab('0x5')],'*Remove\x20all\x20formatting*')};});}}function eo(_0xfd85ea,_0x5f207e){for(const [_0x5539bd]of _0xfd85ea[_0x5eab('0xd')]()){const _0x218b4c=_0x5f207e[_0x5eab('0xb')](_0x5539bd);if(_0x218b4c&&_0x218b4c[_0x5eab('0x6')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ const _0x5e94=['discardAllSuggestions','enableCommand','editor','discardSelectedSuggestions','acceptSelectedSuggestions','RestrictedEditingModeEditing','afterInit','goToNextRestrictedEditingException','has','plugins','goToPreviousRestrictedEditingException','acceptSuggestion','get','trackChanges','TrackChangesEditing'];(function(_0x26b5b8,_0x5e94a6){const _0x431f82=function(_0xd8ad74){while(--_0xd8ad74){_0x26b5b8['push'](_0x26b5b8['shift']());}};_0x431f82(++_0x5e94a6);}(_0x5e94,0x106));const _0x431f=function(_0x26b5b8,_0x5e94a6){_0x26b5b8=_0x26b5b8-0x0;let _0x431f82=_0x5e94[_0x26b5b8];return _0x431f82;};import{Plugin as _0x445478}from'ckeditor5/src/core';export default class ut extends _0x445478{[_0x431f('0xe')](){const _0x2fa4d8=this[_0x431f('0xa')];if(!_0x2fa4d8[_0x431f('0x2')][_0x431f('0x1')](_0x431f('0xd')))return;const _0x106ef2=_0x2fa4d8[_0x431f('0x2')]['get'](_0x431f('0x7'));_0x106ef2[_0x431f('0x9')](_0x431f('0x3')),_0x106ef2[_0x431f('0x9')](_0x431f('0x0'));const _0x5dd32f=_0x2fa4d8['plugins'][_0x431f('0x5')]('RestrictedEditingModeEditing');_0x5dd32f['enableCommand'](_0x431f('0x6')),_0x5dd32f[_0x431f('0x9')](_0x431f('0x4')),_0x5dd32f['enableCommand']('discardSuggestion'),_0x5dd32f[_0x431f('0x9')]('acceptAllSuggestions'),_0x5dd32f['enableCommand'](_0x431f('0x8')),_0x5dd32f[_0x431f('0x9')](_0x431f('0xc')),_0x5dd32f[_0x431f('0x9')](_0x431f('0xb'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']);}};}
23
+ const _0x1a85=['bindElementToMarker','mapper','test','ck-suggestion-marker--active','createPositionBefore','span','createUIElement','high','model','editing','getItems','plugins','toViewPosition','addMarker:suggestion:insertion','enableCommand','addMarker:suggestion:deletion','merge','name','ELEMENT_LINE_BREAK','downcastDispatcher','TrackChangesEditing','registerElementLabel','writer','element','init','shiftEnter','split','_descriptionFactory','locale','addMarker:suggestion','ck-suggestion-marker-','addClass','insert','requires','editor','softBreak','markerRange','deletion','consumable','markerName','get'];(function(_0x13588c,_0x1a85d0){const _0x3c5ba0=function(_0x1af2a1){while(--_0x1af2a1){_0x13588c['push'](_0x13588c['shift']());}};_0x3c5ba0(++_0x1a85d0);}(_0x1a85,0xb5));const _0x3c5b=function(_0x13588c,_0x1a85d0){_0x13588c=_0x13588c-0x0;let _0x3c5ba0=_0x1a85[_0x13588c];return _0x3c5ba0;};import{Plugin as _0x4d2b6a}from'ckeditor5/src/core';import{ShiftEnter as _0x58506a}from'ckeditor5/src/enter';import{getTranslation as _0xfbe42}from'../utils/common-translations';export default class ft extends _0x4d2b6a{static get[_0x3c5b('0x10')](){return[_0x58506a];}[_0x3c5b('0x7')](){const _0x461be2=this[_0x3c5b('0x11')],_0xe9a568=_0x461be2[_0x3c5b('0x23')][_0x3c5b('0x17')](_0x3c5b('0x3'));_0xe9a568[_0x3c5b('0x26')](_0x3c5b('0x8')),_0x461be2[_0x3c5b('0x21')][_0x3c5b('0x2')]['on'](_0x3c5b('0x25'),re(_0x461be2),{'priority':_0x3c5b('0x1f')}),_0x461be2[_0x3c5b('0x21')][_0x3c5b('0x2')]['on'](_0x3c5b('0x27'),re(_0x461be2),{'priority':_0x3c5b('0x1f')}),_0x461be2['data'][_0x3c5b('0x2')]['on'](_0x3c5b('0xc'),(_0x32a915,_0x4cf6d0,_0x2a8684)=>{_0x2a8684['options']['showSuggestionHighlights']&&re(_0x461be2,{'showActiveMarker':!0x1})(_0x32a915,_0x4cf6d0,_0x2a8684);}),_0xe9a568[_0x3c5b('0xa')][_0x3c5b('0x4')]('softBreak',_0xffdb6e=>_0xfbe42(_0x461be2[_0x3c5b('0xb')],_0x3c5b('0x1'),_0xffdb6e));}}function re(_0x1d0318,{showActiveMarker:_0x17d2c8=!0x0}={}){return(_0x21b6ec,_0x3c015a,_0x3541d5)=>{const _0xdbe6a1=_0x1d0318[_0x3c5b('0x23')][_0x3c5b('0x17')](_0x3c5b('0x3'));if(!_0x3541d5[_0x3c5b('0x15')][_0x3c5b('0x1a')](_0x3c015a[_0x3c5b('0x13')],_0x21b6ec[_0x3c5b('0x0')]))return;const _0x1f55cf=_0x1d0318[_0x3c5b('0x20')];for(const _0x2035e1 of _0x3c015a[_0x3c5b('0x13')][_0x3c5b('0x22')]()){if(!_0x2035e1['is'](_0x3c5b('0x6'),_0x3c5b('0x12')))continue;const _0x19439f=_0x3c5b('0x14')==_0x3c015a[_0x3c5b('0x16')][_0x3c5b('0x9')](':')[0x1]?_0x3c5b('0x28'):'split',_0x141272=_0x3541d5[_0x3c5b('0x5')][_0x3c5b('0x1e')](_0x3c5b('0x1d'),{'class':_0x3c5b('0xd')+_0x19439f}),_0x2b6084=_0x3541d5['mapper'][_0x3c5b('0x24')](_0x1f55cf[_0x3c5b('0x1c')](_0x2035e1));_0x17d2c8&&_0xdbe6a1['activeMarkers']['includes'](_0x3c015a['markerName'])&&_0x3541d5[_0x3c5b('0x5')][_0x3c5b('0xe')](_0x3c5b('0x1b'),_0x141272),_0x3541d5[_0x3c5b('0x5')][_0x3c5b('0xf')](_0x2b6084,_0x141272),_0x3541d5[_0x3c5b('0x19')][_0x3c5b('0x18')](_0x141272,_0x3c015a[_0x3c5b('0x16')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'))};});}}
23
+ const _0x2014=['plugins','selection','commands','registerDescriptionCallback','getRanges','StandardEditingModeEditing','enableCommand','value','format','from','TrackChangesEditing','FORMAT_RESTRICTED_DISABLED','change','model','get','_descriptionFactory','document','commandName','FORMAT_RESTRICTED_ENABLED','forceValue'];(function(_0x55e23f,_0x201461){const _0x5cf401=function(_0x5efb74){while(--_0x5efb74){_0x55e23f['push'](_0x55e23f['shift']());}};_0x5cf401(++_0x201461);}(_0x2014,0x1cd));const _0x5cf4=function(_0x55e23f,_0x201461){_0x55e23f=_0x55e23f-0x0;let _0x5cf401=_0x2014[_0x55e23f];return _0x5cf401;};import{Plugin as _0x14ac76}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x1c2d37}from'./utils';import{getTranslation as _0x452f12}from'../utils/common-translations';export default class lt extends _0x14ac76{['afterInit'](){const _0x1c38cd=this['editor'],_0x4f5021=_0x1c38cd[_0x5cf4('0xc')],_0x344b76=_0x1c38cd['locale'];if(!_0x1c38cd[_0x5cf4('0x13')]['has'](_0x5cf4('0x4')))return;const _0x137a16=_0x1c38cd['plugins'][_0x5cf4('0xd')](_0x5cf4('0x9')),_0x1d6606='restrictedEditingException',_0x1ddc38=_0x1c38cd[_0x5cf4('0x1')]['get'](_0x1d6606);_0x137a16[_0x5cf4('0x5')](_0x1d6606,(_0xacb735,_0x13cdb3={})=>{const _0x1643c4=_0x4f5021[_0x5cf4('0xf')][_0x5cf4('0x0')];if(_0x1643c4['isCollapsed'])return void _0xacb735(_0x13cdb3);const _0x1d26ee=void 0x0!==_0x13cdb3[_0x5cf4('0x12')]?_0x13cdb3[_0x5cf4('0x12')]:!_0x1ddc38[_0x5cf4('0x6')];_0x4f5021[_0x5cf4('0xb')](()=>{const _0x305259=Array[_0x5cf4('0x8')](_0x1643c4[_0x5cf4('0x3')]());for(const _0x1ba515 of _0x305259){const _0x563dd4=_0x1d26ee?[_0x1ba515]:_0x1c2d37(_0x1d6606,_0x1ba515,_0x4f5021);for(const _0x5f12c9 of _0x563dd4)_0x137a16['markInlineFormat'](_0x5f12c9,{'commandName':_0x1d6606,'commandParams':[{'forceValue':_0x1d26ee}]});}});}),_0x137a16[_0x5cf4('0xe')][_0x5cf4('0x2')](_0x302839=>{const {data:_0x551cba}=_0x302839;if(_0x551cba&&_0x551cba[_0x5cf4('0x10')]==_0x1d6606)return _0x551cba['commandParams'][0x0][_0x5cf4('0x12')]?{'type':_0x5cf4('0x7'),'content':_0x452f12(_0x344b76,_0x5cf4('0x11'))}:{'type':_0x5cf4('0x7'),'content':_0x452f12(_0x344b76,_0x5cf4('0xa'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x14e8=['*Format:*\x20%0','format','modelElements','has','selection','getRanges','get','getDefinitionsForView','TrackChangesEditing','_getStyleDefinition','plugins','style.definitions','locale','commandParams','push','change','normalizeConfig','commandName','block','classes','styleName','createRangeOn','name','style:','find','getItems','markBlockFormat','StyleUtils','DataSchema','toLowerCase','isCollapsed','includes','forceValue','element','model','Style','every','getAncestors','afterInit','enabledStyles','from','config','style','getAttribute','enableCommand'];(function(_0x593e03,_0x14e8d9){const _0x65e3d5=function(_0xe05ed9){while(--_0xe05ed9){_0x593e03['push'](_0x593e03['shift']());}};_0x65e3d5(++_0x14e8d9);}(_0x14e8,0x1db));const _0x65e3=function(_0x593e03,_0x14e8d9){_0x593e03=_0x593e03-0x0;let _0x65e3d5=_0x14e8[_0x593e03];return _0x65e3d5;};import{Plugin as _0x597f71}from'ckeditor5/src/core';import{getTranslation as _0x275962}from'../utils/common-translations';export default class gt extends _0x597f71{[_0x65e3('0xd')](){const _0x3fc226=this['editor'];if(!_0x3fc226[_0x65e3('0x1e')][_0x65e3('0x17')](_0x65e3('0xa')))return;const _0x1ebea9=_0x3fc226['commands'][_0x65e3('0x1a')](_0x65e3('0x11')),_0x14acd4=_0x3fc226[_0x65e3('0x1e')][_0x65e3('0x1a')](_0x65e3('0x1c')),_0x4a8981=_0x3fc226[_0x65e3('0x20')],_0x38873a=_0x3fc226[_0x65e3('0x1e')][_0x65e3('0x1a')](_0x65e3('0x3')),_0x43bc90=_0x3fc226[_0x65e3('0x1e')][_0x65e3('0x1a')](_0x65e3('0x2'))[_0x65e3('0x24')](_0x38873a,_0x3fc226[_0x65e3('0x10')][_0x65e3('0x1a')](_0x65e3('0x1f')));_0x14acd4[_0x65e3('0x13')](_0x65e3('0x11'),(_0x2352c8,{styleName:_0x1811e4})=>{const _0x205dff=_0x3fc226['model']['document'][_0x65e3('0x18')],_0x40d244=this['_getStyleDefinition'](_0x1811e4,_0x43bc90);if(!_0x40d244)return;if(!_0x1ebea9[_0x65e3('0xe')][_0x65e3('0x6')](_0x1811e4))return;if(_0x205dff[_0x65e3('0x5')]&&!_0x40d244['isBlock'])return void _0x2352c8({'styleName':_0x1811e4});const _0x180c22=!_0x1ebea9['value']['includes'](_0x40d244[_0x65e3('0x2a')]);if(_0x40d244['isBlock']){const _0x2c182a=function(_0x4c177a,_0x4901b0){const _0x329b0d=new Set();for(const _0x4d0913 of _0x4c177a){const _0x465935=_0x4d0913[_0x65e3('0xc')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x4fabed of _0x465935)if(_0x4901b0[_0x65e3('0x6')](_0x4fabed[_0x65e3('0x2a')])){_0x329b0d['add'](_0x4fabed);break;}}return _0x329b0d;}(_0x205dff['getSelectedBlocks'](),_0x40d244[_0x65e3('0x16')]);_0x3fc226[_0x65e3('0x9')][_0x65e3('0x23')](()=>{for(const _0x4cc218 of _0x2c182a)_0x14acd4[_0x65e3('0x1')](_0x4cc218,{'commandName':_0x65e3('0x11'),'commandParams':[{'styleName':_0x1811e4,'forceValue':_0x180c22}],'formatGroupId':_0x65e3('0x2b')+_0x1811e4});});}else{let _0x15829d=Array['from'](_0x205dff[_0x65e3('0x19')]());if(!_0x180c22){const _0x145aa0=Array[_0x65e3('0xf')](_0x38873a[_0x65e3('0x1b')](_0x40d244[_0x65e3('0x8')],!0x1))[0x0][_0x65e3('0x9')],_0x35f93c=[];for(const _0x50095d of _0x15829d){const _0x4aa61c=this['_getRangesWithClasses'](_0x3fc226[_0x65e3('0x9')],_0x50095d,_0x40d244['classes'],_0x145aa0);_0x35f93c[_0x65e3('0x22')](..._0x4aa61c);}_0x15829d=_0x35f93c;}_0x3fc226[_0x65e3('0x9')][_0x65e3('0x23')](()=>{for(const _0x31ade4 of _0x15829d)_0x14acd4['markInlineFormat'](_0x31ade4,{'commandName':_0x65e3('0x11'),'commandParams':[{'styleName':_0x1811e4,'forceValue':_0x180c22}]});});}}),_0x14acd4['_descriptionFactory']['registerDescriptionCallback'](_0x1697d4=>{const {data:_0x2f125f}=_0x1697d4;if(_0x2f125f&&'style'===_0x2f125f[_0x65e3('0x25')])return _0x2f125f[_0x65e3('0x21')][0x0][_0x65e3('0x7')]?{'type':'format','content':_0x275962(_0x4a8981,_0x65e3('0x14'),_0x2f125f[_0x65e3('0x21')][0x0][_0x65e3('0x28')][_0x65e3('0x4')]())}:{'type':_0x65e3('0x15'),'content':_0x275962(_0x4a8981,'*Remove\x20format:*\x20%0',_0x2f125f[_0x65e3('0x21')][0x0]['styleName'][_0x65e3('0x4')]())};});}[_0x65e3('0x1d')](_0x40ca56,_0x8e8655){let _0x1045bd=_0x8e8655[_0x65e3('0x26')][_0x65e3('0x2c')](_0xc257ce=>_0xc257ce[_0x65e3('0x2a')]===_0x40ca56);return _0x1045bd||(_0x1045bd=_0x8e8655['inline'][_0x65e3('0x2c')](_0x4a3161=>_0x4a3161['name']===_0x40ca56)),_0x1045bd;}['_getRangesWithClasses'](_0x531913,_0xac9d2a,_0x45501a,_0x5c85af){const _0x11cb82=[];for(const _0x4db422 of _0xac9d2a[_0x65e3('0x0')]()){const _0x3d3e78=_0x4db422[_0x65e3('0x12')](_0x5c85af);_0x3d3e78&&(_0x45501a[_0x65e3('0xb')](_0x45a200=>_0x3d3e78[_0x65e3('0x27')]['includes'](_0x45a200))&&_0x11cb82['push'](_0x531913[_0x65e3('0x29')](_0x4db422)));}return _0x11cb82;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]());}
23
+ const _0x4d0e=['accept','insertTableRowBelow','change','min','_getSuggestionCoords','above','name','suggestion','insertTableColumnRight','TableUtils','removeTableRow','insertTableColumnLeft','differ','start','$graveyard','getContainedElement','createPositionAt','first','end','addRange','map','enableCommand','MAX_SAFE_INTEGER','deletion','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','element','_setupColumnsRowsFixing','type','$textProxy','max','insertTable','insert','values','getRowIndexes','model','afterInit','selectTableColumn','_tableSuggestions','includes','removeTableColumn','registerElementLabel','position','selection','options','getAttribute','createRangeIn','*Remove:*\x20%0','document','*Insert:*\x20%0','MIN_SAFE_INTEGER','commands','table','TrackChangesEditing','rowspan','getRanges','rootName','_getCoordsForCells','_tablePostFixingSubtypes','isEqual','findAncestor','forceValue','_acceptFormatSuggestionCallbackFactory','minRow','tableCell','plugins','addMarker:suggestion','push','filter','setSelection','low','getColumnIndexes','refresh','item','isTouching','nodeAfter','tableRow','subType','last','has','span','add','createRangeOn','toViewElement','root','isInContent','batch','toLowerCase','highest','length','tableColumn','mapper','selectTableRow','left','registerCustomCallback','substr','getSelectionAffectedTableCells','editor','tablePaste','TableEditing','change:data','hasAttribute','downcastDispatcher','classes','_descriptionFactory','removeClass','data','markMultiRangeDeletion','from','ELEMENT_TABLE_ROW','minColumn','registerDescriptionCallback','cell','detach','getCellLocation','every','startsWith','markMultiRangeInsertion','some','get','createTableWalker','getItems','insertion','join','fromRange','execute','ELEMENT_TABLE_COLUMN','enqueueChange','colspan','isIntersectingWithRange','_suggestionFactory'];(function(_0x3adca4,_0x4d0e14){const _0x5073c1=function(_0x27e5eb){while(--_0x27e5eb){_0x3adca4['push'](_0x3adca4['shift']());}};_0x5073c1(++_0x4d0e14);}(_0x4d0e,0x15b));const _0x5073=function(_0x3adca4,_0x4d0e14){_0x3adca4=_0x3adca4-0x0;let _0x5073c1=_0x4d0e[_0x3adca4];return _0x5073c1;};import{Plugin as _0x2dc8af}from'ckeditor5/src/core';import{LiveRange as _0x4469c8}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3715af}from'ckeditor5/src/widget';import{getTranslation as _0x398669}from'../utils/common-translations';export default class mt extends _0x2dc8af{constructor(_0x3025b9){super(_0x3025b9),this['_tablePostFixingSubtypes']=[_0x5073('0x7a'),_0x5073('0x5')],this[_0x5073('0x54')]=new Set();}[_0x5073('0x52')](){const _0x6749b0=this['editor'],_0x1786d7=_0x6749b0[_0x5073('0x51')]['document'][_0x5073('0x59')];if(!_0x6749b0[_0x5073('0x6f')][_0x5073('0x7d')](_0x5073('0xe')))return;const _0x53a401=_0x6749b0['locale'],_0x253976=_0x6749b0[_0x5073('0x6f')][_0x5073('0x22')]('TrackChangesEditing'),_0x49fb68=_0x6749b0[_0x5073('0x6f')][_0x5073('0x22')](_0x5073('0x37'));_0x253976[_0x5073('0x13')][_0x5073('0x57')](_0x5073('0x62'),_0x2f3dfb=>_0x398669(_0x53a401,'ELEMENT_TABLE',_0x2f3dfb)),this[_0x5073('0x49')](),_0x253976['enableCommand'](_0x5073('0x4d')),_0x253976[_0x5073('0x43')](_0x5073('0x7')),_0x253976[_0x5073('0x43')](_0x5073('0x53'));for(const _0x208ca1 of['insertTableRowAbove',_0x5073('0x2f')]){const _0x5bb3f7=_0x6749b0[_0x5073('0x61')][_0x5073('0x22')](_0x208ca1);_0x253976[_0x5073('0x43')](_0x208ca1,_0x12afb1=>{_0x6749b0[_0x5073('0x51')]['change'](_0x866331=>{_0x12afb1();const _0x2d76f4=_0x5073('0x33')===_0x5bb3f7['order'],_0x137e07=_0x49fb68[_0x5073('0xb')](_0x1786d7),_0x25e328=_0x49fb68[_0x5073('0x50')](_0x137e07),_0x4731d5=_0x2d76f4?_0x25e328['first']-0x1:_0x25e328[_0x5073('0x7c')]+0x1,_0x55cebf=_0x137e07[0x0]['findAncestor']('table'),_0x11d18d=_0x49fb68['createTableWalker'](_0x55cebf,{'startRow':_0x4731d5,'endRow':_0x4731d5}),_0x568e77=Array['from'](_0x11d18d)[_0x5073('0x42')](_0x19025f=>_0x866331[_0x5073('0x80')](_0x19025f[_0x5073('0x1b')]));_0x253976['markMultiRangeInsertion'](_0x568e77,_0x5073('0x7a'));});});}for(const _0x3b9cb7 of[_0x5073('0x39'),_0x5073('0x36')]){const _0x22087f=_0x6749b0[_0x5073('0x61')]['get'](_0x3b9cb7);_0x253976[_0x5073('0x43')](_0x3b9cb7,_0x283119=>{_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x4dc3df=>{_0x283119();const _0x505c18=_0x5073('0x8')===_0x22087f['order'],_0x5b202d=_0x49fb68[_0x5073('0xb')](_0x1786d7),_0x450da2=_0x49fb68[_0x5073('0x75')](_0x5b202d),_0xb13963=_0x505c18?_0x450da2[_0x5073('0x3f')]-0x1:_0x450da2[_0x5073('0x7c')]+0x1,_0x203262=_0x5b202d[0x0][_0x5073('0x6a')]('table'),_0x527944=_0x49fb68[_0x5073('0x23')](_0x203262,{'startRow':0x0,'column':_0xb13963,'includeAllSlots':!0x1}),_0x1eacd5=Array[_0x5073('0x17')](_0x527944)[_0x5073('0x42')](_0xbb86d8=>_0x4dc3df['createRangeOn'](_0xbb86d8[_0x5073('0x1b')]));_0x253976[_0x5073('0x20')](_0x1eacd5,_0x5073('0x5'));});});}for(const _0x3c0d7f of[_0x5073('0x38'),'removeTableColumn']){const _0x3aeb2d=_0x3c0d7f[_0x5073('0xa')](0xb),_0x31f976=_0x3aeb2d['toLowerCase'](),_0x3e47a0=_0x31f976['substr'](0x0,0x3)+_0x5073('0x7e'),_0x501546='table'+_0x3aeb2d,_0x5411ae=_0x5073('0x31')+_0x3aeb2d,_0x3de499=_0x5073('0x4c')+_0x3aeb2d;_0x253976[_0x5073('0x43')](_0x3c0d7f,()=>{_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x3557b3=>{const _0x35abe3=_0x49fb68['getSelectionAffectedTableCells'](_0x1786d7),_0x1c60f1=_0x35abe3[0x0][_0x5073('0x6a')](_0x5073('0x62'));let _0x567f2f;if(_0x5073('0x38')==_0x3c0d7f){const _0x107c92=_0x49fb68[_0x5073('0x50')](_0x35abe3);_0x567f2f={'startRow':_0x107c92['first'],'endRow':_0x107c92['last'],'includeAllSlots':!0x0};}else{const _0x11cbec=_0x49fb68[_0x5073('0x75')](_0x35abe3);_0x567f2f={'startColumn':_0x11cbec['first'],'endColumn':_0x11cbec[_0x5073('0x7c')],'includeAllSlots':!0x0};}const _0x608db5=_0x49fb68[_0x5073('0x23')](_0x1c60f1,_0x567f2f),_0x1dde41=Array[_0x5073('0x17')](_0x608db5)['map'](({cell:_0x47c0e9})=>_0x47c0e9),_0x17d505=se(_0x1dde41[_0x5073('0x72')](_0x19b6b0=>_0x19b6b0[_0x5073('0x10')](_0x3e47a0))),_0x389472=se(_0x1dde41[_0x5073('0x72')](_0x55301d=>!_0x55301d[_0x5073('0x10')](_0x3e47a0)))['map'](_0x40245d=>_0x3557b3['createRangeOn'](_0x40245d)),_0x322bb1=_0x253976[_0x5073('0x16')](_0x389472,_0x501546);if(_0x322bb1&&(_0x5073('0x7a')==_0x322bb1[_0x5073('0x7b')]||_0x5073('0x5')==_0x322bb1[_0x5073('0x7b')])){const _0x457e3e=this['_getSuggestionCoords'](_0x322bb1);for(const _0x8d3f68 of _0x17d505){const _0x1dad3e=_0x3557b3[_0x5073('0x80')](_0x8d3f68),_0x1c8970=_0x49fb68[_0x5073('0x1d')](_0x8d3f68),_0x1fb720=_0x8d3f68[_0x5073('0x5b')](_0x3e47a0)-0x1,_0x437740=_0x457e3e[_0x5411ae],_0xa91411=_0x457e3e[_0x3de499];_0x437740<=_0x1c8970[_0x31f976]&&_0x1c8970[_0x31f976]+_0x1fb720<=_0xa91411&&_0x322bb1[_0x5073('0x41')](_0x1dad3e);}}});});}function _0x1cd76f(_0x4cbc95){const _0x5b70f4=Array[_0x5073('0x17')](_0x1786d7[_0x5073('0x65')]())[_0x5073('0x42')](_0x54cca4=>_0x4469c8[_0x5073('0x27')](_0x54cca4));_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x191b86=>{const _0x2f765c=_0x191b86[_0x5073('0x1')];_0x4cbc95=_0x4cbc95[_0x5073('0x72')](_0x5d8396=>_0x5073('0x3c')!=_0x5d8396['root']['rootName']),_0x191b86['setSelection'](_0x4cbc95),_0x6749b0[_0x5073('0x61')]['get'](_0x5073('0x38'))[_0x5073('0x76')](),_0x6749b0[_0x5073('0x28')](_0x5073('0x38'),{'forceDefaultExecution':!0x0}),_0x6749b0[_0x5073('0x51')][_0x5073('0x2a')](()=>{_0x6749b0[_0x5073('0x51')]['enqueueChange'](_0x2f765c,_0x14c23b=>{const _0x32f3d4=_0x5b70f4[_0x5073('0x72')](_0x51b024=>_0x5073('0x3c')!=_0x51b024['root'][_0x5073('0x66')]);_0x32f3d4[_0x5073('0x4')]>0x0&&_0x14c23b['setSelection'](_0x32f3d4);for(const _0x3e7a87 of _0x5b70f4)_0x3e7a87[_0x5073('0x1c')]();});});});}function _0x30c22a(_0x4b6fe2){_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x2f1ba5=>{const _0x955369=Array[_0x5073('0x17')](_0x1786d7[_0x5073('0x65')]())[_0x5073('0x42')](_0x2a7323=>_0x4469c8[_0x5073('0x27')](_0x2a7323)),_0x3f09f3=[];for(const _0x58e8d2 of _0x4b6fe2)for(const _0x5d648c of _0x58e8d2[_0x5073('0x24')]({'shallow':!0x0}))_0x3f09f3[_0x5073('0x71')](_0x5d648c);for(const _0x1c22c3 of _0x3f09f3)'$graveyard'!=_0x1c22c3[_0x5073('0x82')][_0x5073('0x66')]&&(_0x2f1ba5[_0x5073('0x73')](_0x2f1ba5[_0x5073('0x3e')](_0x1c22c3,0x0)),_0x6749b0[_0x5073('0x61')]['get'](_0x5073('0x56'))['refresh'](),_0x6749b0[_0x5073('0x28')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x264f53=_0x955369[_0x5073('0x72')](_0x124541=>_0x5073('0x3c')!=_0x124541['root']['rootName']);_0x264f53[_0x5073('0x4')]>0x0&&_0x2f1ba5[_0x5073('0x73')](_0x264f53);for(const _0x3e272f of _0x955369)_0x3e272f[_0x5073('0x1c')]();});}function _0x162c08(_0x224595,_0x2a3bff){return _0x2a3bff[_0x5073('0x1e')](_0x38f184=>_0x224595[_0x5073('0x21')](_0x5a9af7=>_0x5a9af7['end'][_0x5073('0x69')](_0x38f184[_0x5073('0x3b')])||_0x38f184['end'][_0x5073('0x69')](_0x5a9af7[_0x5073('0x3b')])));}function _0x20cefb(_0x2f042c,_0x825bde){return _0x2f042c[_0x5073('0x21')](_0x3efb43=>_0x825bde[_0x5073('0x21')](_0x2f6fde=>_0x3efb43[_0x5073('0x40')][_0x5073('0x78')](_0x2f6fde[_0x5073('0x3b')])));}_0x6749b0['data'][_0x5073('0x11')]['on'](_0x5073('0x70'),(_0x4a0a2e,_0x43e6a8,_0x38fdbf)=>{if(!_0x38fdbf[_0x5073('0x5a')]['showSuggestionHighlights'])return;const _0x391200=_0x43e6a8[_0x5073('0x77')];if(!_0x391200)return;const _0x469068=_0x38fdbf[_0x5073('0x6')][_0x5073('0x81')](_0x391200);function _0x45e884(_0x402f42){return Array['isArray'](_0x402f42)?_0x402f42:[_0x402f42];}_0x469068&&_0x5073('0x6e')===_0x391200[_0x5073('0x34')]&&_0x3715af(_0x469068,_0x38fdbf['writer'],(_0x45f423,_0x186997,_0x574ce8)=>_0x574ce8['addClass'](_0x45e884(_0x186997[_0x5073('0x12')]),_0x45f423),(_0x2c5ff2,_0x1f9ae8,_0x2247b1)=>_0x2247b1[_0x5073('0x14')](_0x45e884(_0x1f9ae8['classes']),_0x2c5ff2));},{'priority':_0x5073('0x3')}),_0x253976[_0x5073('0x13')][_0x5073('0x1a')](_0x24185d=>{if(_0x5073('0x25')!=_0x24185d[_0x5073('0x4a')]&&'deletion'!=_0x24185d[_0x5073('0x4a')])return;const _0xf69bd3=_0x24185d[_0x5073('0x3d')]();if(null!=_0xf69bd3&&_0xf69bd3['is'](_0x5073('0x48'),_0x5073('0x62'))){if(_0x5073('0x25')==_0x24185d[_0x5073('0x4a')]){const _0x128ca0=_0x24185d[_0x5073('0x24')]()['filter'](_0x2d516d=>_0x2d516d['is'](_0x5073('0x4b')))['map'](_0x288a29=>_0x288a29[_0x5073('0x15')]);if(_0x128ca0[_0x5073('0x4')])return{'type':'insertion','content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x128ca0[_0x5073('0x26')]('\x20')+'\x22'))};}if(_0x5073('0x45')==_0x24185d[_0x5073('0x4a')]){const _0xda233=_0x24185d[_0x5073('0x24')]()['filter'](_0x21468d=>_0x21468d['is']('$textProxy'))[_0x5073('0x42')](_0x3855ed=>_0x3855ed[_0x5073('0x15')]);if(_0xda233[_0x5073('0x4')])return{'type':'deletion','content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xda233[_0x5073('0x26')]('\x20')+'\x22'))};}}}),_0x253976[_0x5073('0x13')]['registerDescriptionCallback'](_0x370229=>{if('tableRow'==_0x370229[_0x5073('0x7b')]){const _0x35758e=_0x370229[_0x5073('0x24')]()['filter'](_0x295110=>_0x295110['is'](_0x5073('0x4b')))['map'](_0x3029fc=>_0x3029fc[_0x5073('0x15')]),_0x5824ff=this[_0x5073('0x32')](_0x370229),_0x2b8094=_0x5824ff['maxRow']-_0x5824ff[_0x5073('0x6d')]+0x1;if('insertion'==_0x370229[_0x5073('0x4a')])return _0x35758e[_0x5073('0x4')]?{'type':'insertion','content':_0x398669(_0x53a401,'*Insert:*\x20%0',_0x398669(_0x53a401,_0x5073('0x46'),[_0x2b8094,'\x22'+_0x35758e[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_ROW',_0x2b8094))};if(_0x5073('0x45')==_0x370229[_0x5073('0x4a')])return _0x35758e[_0x5073('0x4')]?{'type':'deletion','content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,_0x5073('0x46'),[_0x2b8094,'\x22'+_0x35758e[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,_0x5073('0x18'),_0x2b8094))};}if(_0x5073('0x5')==_0x370229[_0x5073('0x7b')]){const _0x40b432=_0x370229[_0x5073('0x24')]()[_0x5073('0x72')](_0x155b8b=>_0x155b8b['is']('$textProxy'))['map'](_0xfb30db=>_0xfb30db[_0x5073('0x15')]),_0x365845=this[_0x5073('0x32')](_0x370229),_0x5dad24=_0x365845[_0x5073('0x47')]-_0x365845[_0x5073('0x19')]+0x1;if(_0x5073('0x25')==_0x370229[_0x5073('0x4a')])return _0x40b432[_0x5073('0x4')]?{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5dad24,'\x22'+_0x40b432[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,_0x5073('0x29'),_0x5dad24))};if(_0x5073('0x45')==_0x370229[_0x5073('0x4a')])return _0x40b432[_0x5073('0x4')]?{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5dad24,'\x22'+_0x40b432[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN',_0x5dad24))};}}),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x25'),_0x5073('0x7a'),'discard',_0x1cd76f),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),_0x5073('0x7a'),_0x5073('0x2e'),_0x1cd76f),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x25'),_0x5073('0x5'),'discard',_0x30c22a),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),_0x5073('0x5'),_0x5073('0x2e'),_0x30c22a),_0x253976['_suggestionFactory']['registerCustomCallback'](_0x5073('0x25'),_0x5073('0x5'),_0x5073('0x26'),_0x162c08),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),'tableColumn',_0x5073('0x26'),_0x162c08),_0x253976['_suggestionFactory']['registerCustomCallback'](_0x5073('0x25'),_0x5073('0x7a'),_0x5073('0x26'),_0x20cefb),_0x253976['_suggestionFactory'][_0x5073('0x9')]('deletion','tableRow','join',_0x20cefb);}[_0x5073('0x6c')](){const _0x141c47=this[_0x5073('0xc')],_0xf1b8e4=_0x141c47['model']['document'][_0x5073('0x59')];return(_0x3ef278,_0x33a30c)=>{_0x141c47['model'][_0x5073('0x30')](_0x7f8188=>{const {commandName:_0x2f160e,commandParams:_0x5825c0}=_0x33a30c;let _0x177b00=_0x3ef278[0x0][_0x5073('0x40')]['nodeBefore'];_0x5825c0&&_0x5825c0[0x0]&&!0x1===_0x5825c0[0x0][_0x5073('0x6b')]&&(_0x177b00=_0x3ef278[0x0][_0x5073('0x3b')]['nodeAfter']);const _0x5b44f4=_0x7f8188[_0x5073('0x5c')](_0x177b00);if(_0x5073('0x3c')==_0x5b44f4[_0x5073('0x82')]['rootName'])return;const _0x4bf194=Array[_0x5073('0x17')](_0xf1b8e4[_0x5073('0x65')]())[_0x5073('0x42')](_0x28c62e=>_0x4469c8[_0x5073('0x27')](_0x28c62e));_0x7f8188[_0x5073('0x73')](_0x5b44f4),_0x141c47[_0x5073('0x61')][_0x5073('0x22')](_0x2f160e)[_0x5073('0x76')](),_0x5825c0[_0x5073('0x71')]({'forceDefaultExecution':!0x0}),_0x141c47['execute'](_0x2f160e,..._0x5825c0);const _0x4bfbdf=_0x4bf194[_0x5073('0x72')](_0x14a3ee=>'$graveyard'!=_0x14a3ee['root'][_0x5073('0x66')]);_0x4bfbdf['length']>0x0&&_0x7f8188[_0x5073('0x73')](_0x4bfbdf);for(const _0x4fb775 of _0x4bf194)_0x4fb775[_0x5073('0x1c')]();});};}[_0x5073('0x67')](_0x20b34d){const _0x4e5a81=this[_0x5073('0xc')][_0x5073('0x6f')][_0x5073('0x22')]('TableUtils');let _0x5ec142=Number[_0x5073('0x44')],_0x4e6e01=Number[_0x5073('0x60')],_0x45985e=Number[_0x5073('0x44')],_0x53a70=Number[_0x5073('0x60')];for(const _0x41af97 of _0x20b34d){if(_0x5073('0x3c')==_0x41af97[_0x5073('0x82')][_0x5073('0x66')])continue;const {row:_0x218d65,column:_0x8d8692}=_0x4e5a81[_0x5073('0x1d')](_0x41af97),_0x3a2d9d=_0x41af97[_0x5073('0x10')](_0x5073('0x64'))?_0x41af97['getAttribute'](_0x5073('0x64'))-0x1:0x0,_0x260d0b=_0x41af97[_0x5073('0x10')]('colspan')?_0x41af97[_0x5073('0x5b')](_0x5073('0x2b'))-0x1:0x0;_0x5ec142=_0x218d65<_0x5ec142?_0x218d65:_0x5ec142,_0x4e6e01=_0x218d65+_0x3a2d9d>_0x4e6e01?_0x218d65+_0x3a2d9d:_0x4e6e01,_0x45985e=_0x8d8692<_0x45985e?_0x8d8692:_0x45985e,_0x53a70=_0x8d8692+_0x260d0b>_0x53a70?_0x8d8692+_0x260d0b:_0x53a70;}return{'minRow':_0x5ec142,'maxRow':_0x4e6e01,'minColumn':_0x45985e,'maxColumn':_0x53a70};}['_setupColumnsRowsFixing'](){const _0x470a55=this['editor'],_0x466259=_0x470a55['plugins'][_0x5073('0x22')](_0x5073('0x63')),_0x4e7292=_0x470a55['plugins']['get'](_0x5073('0x37'));_0x470a55[_0x5073('0x51')][_0x5073('0x5e')]['on'](_0x5073('0xf'),()=>{const _0x55ca9b=Array[_0x5073('0x17')](_0x470a55[_0x5073('0x51')][_0x5073('0x5e')][_0x5073('0x3a')]['getChangedMarkers']());for(const {name:_0x136c72,data:_0x450b6e}of _0x55ca9b){const {group:_0x31bc92,id:_0x42c3eb,subType:_0x578c79}=_0x466259['_splitMarkerName'](_0x136c72);if(_0x5073('0x35')!=_0x31bc92)continue;if(null!=_0x450b6e['oldRange'])continue;const _0x463890=_0x466259['getSuggestion'](_0x42c3eb);this[_0x5073('0x68')][_0x5073('0x55')](_0x578c79)&&this[_0x5073('0x54')][_0x5073('0x7f')](_0x463890);}},{'priority':_0x5073('0x74')});const _0x12935e=(_0x2b21c8,_0x1b5ef7)=>{let _0x5723a7=!0x1;const _0x3500d4=_0x1b5ef7[_0x5073('0x80')](_0x2b21c8),_0x133c5b=_0x2b21c8[_0x5073('0x6a')](_0x5073('0x62')),_0x303124=_0x4e7292[_0x5073('0x1d')](_0x2b21c8);for(const _0x1e912a of this[_0x5073('0x54')]){const _0x457e48=_0x1e912a[_0x5073('0x7b')],_0x2daa65=_0x457e48[_0x5073('0x1f')](_0x5073('0xd')),_0x5a6958=_0x457e48['substr'](_0x2daa65?0xa:0x5),_0x19dbba=_0x5a6958[_0x5073('0x2')](),_0x1bb2ab=_0x19dbba[_0x5073('0xa')](0x0,0x3)+_0x5073('0x7e'),_0x160625='min'+_0x5a6958,_0x4fc4b5=_0x5073('0x4c')+_0x5a6958;if(!_0x1e912a[_0x5073('0x0')])continue;if(_0x133c5b!=_0x1e912a['getFirstRange']()[_0x5073('0x3b')][_0x5073('0x6a')](_0x5073('0x62')))continue;if(_0x1e912a[_0x5073('0x2c')](_0x3500d4))continue;const _0x3ceb78=_0x2b21c8[_0x5073('0x10')](_0x1bb2ab)?_0x2b21c8['getAttribute'](_0x1bb2ab)-0x1:0x0,_0x2b4669=this[_0x5073('0x32')](_0x1e912a),_0x38c593=_0x2b4669[_0x160625],_0x7f5422=_0x2b4669[_0x4fc4b5];_0x38c593<=_0x303124[_0x19dbba]&&_0x303124[_0x19dbba]+_0x3ceb78<=_0x7f5422&&(_0x1e912a['addRange'](_0x3500d4),_0x5723a7=!0x0);}return _0x5723a7;};_0x470a55[_0x5073('0x51')][_0x5073('0x5e')]['registerPostFixer'](_0x395bc7=>{let _0x375667=!0x1;for(const _0x2d5ac6 of _0x470a55[_0x5073('0x51')]['document'][_0x5073('0x3a')]['getChanges']())if(_0x5073('0x4e')==_0x2d5ac6[_0x5073('0x4a')]){if(_0x5073('0x7a')==_0x2d5ac6[_0x5073('0x34')])for(const _0x502d80 of _0x2d5ac6['position'][_0x5073('0x79')]['getChildren']())_0x375667=_0x375667||_0x12935e(_0x502d80,_0x395bc7);else _0x5073('0x6e')==_0x2d5ac6[_0x5073('0x34')]&&(_0x375667=_0x375667||_0x12935e(_0x2d5ac6[_0x5073('0x58')]['nodeAfter'],_0x395bc7));}return _0x375667;});}['_getSuggestionCoords'](_0x1d4548){return this[_0x5073('0x67')](_0x1d4548[_0x5073('0x65')]()[_0x5073('0x42')](_0x415eac=>_0x415eac[_0x5073('0x3b')][_0x5073('0x79')]));}}function se(_0x1f544e){return Array[_0x5073('0x17')](new Set(_0x1f544e)[_0x5073('0x4f')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ const _0x5c12=['requires','get','afterInit','enableCommand','has','plugins','TableCaptionEditing','TrackChangesEditing'];(function(_0x107a10,_0x5c12b5){const _0xf6268f=function(_0x208fcf){while(--_0x208fcf){_0x107a10['push'](_0x107a10['shift']());}};_0xf6268f(++_0x5c12b5);}(_0x5c12,0xa9));const _0xf626=function(_0x107a10,_0x5c12b5){_0x107a10=_0x107a10-0x0;let _0xf6268f=_0x5c12[_0x107a10];return _0xf6268f;};import{Plugin as _0x2b9dad}from'ckeditor5/src/core';import _0x22e458 from'./table';export default class vt extends _0x2b9dad{static get[_0xf626('0x7')](){return[_0x22e458];}[_0xf626('0x1')](){const _0x531ea0=this['editor'];if(!_0x531ea0[_0xf626('0x4')][_0xf626('0x3')](_0xf626('0x5')))return;_0x531ea0[_0xf626('0x4')][_0xf626('0x0')](_0xf626('0x6'))[_0xf626('0x2')]('toggleTableCaption');}}