@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230718.0 → 0.0.0-nightly-20230720.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 +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/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 _0x374e=['_getSuggestionBlocks','from','createPositionAt','replace','document','type','reversed','*Change\x20to:*\x20%0','forward','config','_LIST_','list.properties','flat','listStyle','styles','backward','createRange','ListPropertiesEditing','ListUtils','_getTranslationKeyForListStyle','commandParams','before','handleListReversedCommand','toUpperCase','plugins','change','registerDescriptionCallback','TrackChangesEditing','editor','handleDescriptions','map','getLastPosition','listReversed','length','listStart','listItem','_getSuggestionBlocksForListStyle','locale','getSelectedBlocks','numbered','handleListStyleCommand','getListTypeFromListStyleType','push','listType','ELEMENT_','startIndex','filter','markMultiRangeBlockFormat','enableCommand','getAttribute','get','getSiblingNodes','element','selection','getFirstPosition','model','afterInit','parent','format','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','*Format:*\x20set\x20order\x20to\x20regular'];(function(_0x428f6c,_0x374e52){const _0x337196=function(_0x335db6){while(--_0x335db6){_0x428f6c['push'](_0x428f6c['shift']());}};_0x337196(++_0x374e52);}(_0x374e,0x17b));const _0x3371=function(_0x428f6c,_0x374e52){_0x428f6c=_0x428f6c-0x0;let _0x337196=_0x374e[_0x428f6c];return _0x337196;};import{Plugin as _0x37f1df}from'ckeditor5/src/core';import{getTranslation as _0x2b313c}from'../utils/common-translations';export default class nt extends _0x37f1df{[_0x3371('0x31')](){if(!this[_0x3371('0x15')][_0x3371('0x11')][_0x3371('0x35')](_0x3371('0xa')))return;const _0x4ced71=this['editor'][_0x3371('0x2')]['get'](_0x3371('0x4')),_0x33ff99=this[_0x3371('0x15')]['plugins'][_0x3371('0x2b')](_0x3371('0x14'));_0x4ced71[_0x3371('0x7')]&&_0x33ff99[_0x3371('0x29')](_0x3371('0x6'),this[_0x3371('0x21')]['bind'](this)),_0x4ced71['reversed']&&_0x33ff99[_0x3371('0x29')](_0x3371('0x19'),this[_0x3371('0xf')]['bind'](this)),_0x4ced71[_0x3371('0x26')]&&_0x33ff99[_0x3371('0x29')](_0x3371('0x1b'),this['handleListStartCommand']['bind'](this)),_0x33ff99['_descriptionFactory'][_0x3371('0x13')](this[_0x3371('0x16')]['bind'](this));}[_0x3371('0x21')](_0x3992a6,_0x1a5f98={}){const _0x282502=this[_0x3371('0x15')]['plugins'][_0x3371('0x2b')](_0x3371('0x14')),_0x5773ff=this['_getSuggestionBlocksForListStyle']();this[_0x3371('0x15')]['model'][_0x3371('0x12')](()=>{_0x282502[_0x3371('0x28')](_0x5773ff,{'commandName':'listStyle','commandParams':[{'type':_0x1a5f98[_0x3371('0x3c')]}],'formatGroupId':_0x3371('0x6')});});}['handleListReversedCommand'](_0x301711,_0x17791a={}){const _0x5394f0=this[_0x3371('0x15')][_0x3371('0x11')][_0x3371('0x2b')](_0x3371('0x14')),_0x3ed4c5=this[_0x3371('0x37')](_0xe03981=>_0xe03981['is']('element','listItem')&&_0x3371('0x20')===_0xe03981[_0x3371('0x2a')](_0x3371('0x24')));if(_0x3ed4c5['length']<0x1)return;const _0x3da2ea=_0x3ed4c5['map'](_0xb7aec7=>this[_0x3371('0x15')][_0x3371('0x30')]['createRange'](this[_0x3371('0x15')][_0x3371('0x30')][_0x3371('0x39')](_0xb7aec7,_0x3371('0xe')),this[_0x3371('0x15')]['model'][_0x3371('0x39')](_0xb7aec7,0x0)));this[_0x3371('0x15')]['model']['change'](()=>{_0x5394f0[_0x3371('0x28')](_0x3da2ea,{'commandName':'listReversed','commandParams':[{'reversed':_0x17791a[_0x3371('0x3d')]}],'formatGroupId':_0x3371('0x19')});});}['handleListStartCommand'](_0x3f0815,_0x28d01e={}){const _0x492223=this[_0x3371('0x15')][_0x3371('0x11')][_0x3371('0x2b')](_0x3371('0x14')),_0x37120d=this[_0x3371('0x37')](_0x34411c=>_0x34411c['is'](_0x3371('0x2d'),_0x3371('0x1c'))&&_0x3371('0x20')===_0x34411c[_0x3371('0x2a')](_0x3371('0x24')));if(_0x37120d[_0x3371('0x1a')]<0x1)return;const _0x2d197a=_0x37120d[_0x3371('0x17')](_0x147aa1=>this['editor'][_0x3371('0x30')][_0x3371('0x9')](this[_0x3371('0x15')][_0x3371('0x30')][_0x3371('0x39')](_0x147aa1,_0x3371('0xe')),this['editor'][_0x3371('0x30')][_0x3371('0x39')](_0x147aa1,0x0)));this[_0x3371('0x15')][_0x3371('0x30')][_0x3371('0x12')](()=>{_0x492223[_0x3371('0x28')](_0x2d197a,{'commandName':_0x3371('0x1b'),'commandParams':[{'startIndex':_0x28d01e[_0x3371('0x26')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x9f8cdd){const _0x1b8d53=this[_0x3371('0x15')][_0x3371('0x1e')],{data:_0x44d78b}=_0x9f8cdd;if(!_0x44d78b)return;let _0x2c8d0f,_0xbf2545;switch(_0x44d78b['commandName']){case _0x3371('0x6'):_0x2c8d0f=_0x3371('0x0'),_0xbf2545={'type':_0x3371('0x33'),'content':_0x2b313c(_0x1b8d53,_0x2c8d0f,_0x2b313c(_0x1b8d53,this[_0x3371('0xc')](_0x44d78b['commandParams'][0x0]['type'])))};break;case _0x3371('0x19'):_0x2c8d0f=_0x44d78b['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3371('0x36'),_0xbf2545={'type':_0x3371('0x33'),'content':_0x2b313c(_0x1b8d53,_0x2c8d0f)};break;case _0x3371('0x1b'):_0x2c8d0f=_0x3371('0x34'),_0xbf2545={'type':'format','content':_0x2b313c(_0x1b8d53,_0x2c8d0f,_0x44d78b[_0x3371('0xd')][0x0][_0x3371('0x26')])};}return _0xbf2545;}[_0x3371('0x1d')](){var _0x361b47,_0x3e8584,_0xc342d6,_0x20f82d;const _0x1db61c=this[_0x3371('0x15')]['plugins'][_0x3371('0x2b')](_0x3371('0xb'));let _0xfa5825=Array[_0x3371('0x38')](this[_0x3371('0x15')][_0x3371('0x30')][_0x3371('0x3b')][_0x3371('0x2e')][_0x3371('0x1f')]());return(null===(_0x361b47=_0xfa5825[0x0])||void 0x0===_0x361b47?void 0x0:_0x361b47['is'](_0x3371('0x2d'),_0x3371('0x1c')))&&_0xfa5825['unshift'](..._0x1db61c[_0x3371('0x2c')](this[_0x3371('0x15')]['model']['document'][_0x3371('0x2e')]['getFirstPosition'](),'backward')),(null===(_0x3e8584=_0xfa5825[_0xfa5825[_0x3371('0x1a')]-0x1])||void 0x0===_0x3e8584?void 0x0:_0x3e8584['is']('element',_0x3371('0x1c')))&&_0xfa5825[_0x3371('0x23')](..._0x1db61c[_0x3371('0x2c')](this[_0x3371('0x15')][_0x3371('0x30')]['document'][_0x3371('0x2e')][_0x3371('0x18')](),_0x3371('0x1'))),_0xfa5825=[...new Set(_0xfa5825)],(null===(_0x20f82d=null===(_0xc342d6=this['editor']['model'][_0x3371('0x3b')][_0x3371('0x2e')][_0x3371('0x2f')]())||void 0x0===_0xc342d6?void 0x0:_0xc342d6[_0x3371('0x32')])||void 0x0===_0x20f82d?void 0x0:_0x20f82d['is'](_0x3371('0x2d'),'listItem'))&&(_0xfa5825=_0xfa5825[_0x3371('0x27')](_0x5a15ab=>_0x5a15ab['is'](_0x3371('0x2d'),'listItem'))),_0xfa5825;}[_0x3371('0x37')](_0x5ab8dd){const _0x5aaadb=this[_0x3371('0x15')]['plugins']['get'](_0x3371('0xb'));let _0x5decf4=Array[_0x3371('0x38')](this['editor']['model']['document'][_0x3371('0x2e')][_0x3371('0x1f')]())['filter'](_0x5ab8dd)[_0x3371('0x17')](_0x456e58=>{const _0x37e9c9=this[_0x3371('0x15')]['model'][_0x3371('0x39')](_0x456e58,0x0);return[..._0x5aaadb[_0x3371('0x2c')](_0x37e9c9,_0x3371('0x8')),..._0x5aaadb[_0x3371('0x2c')](_0x37e9c9,'forward')];})[_0x3371('0x5')]();return _0x5decf4=[...new Set(_0x5decf4)],_0x5decf4;}['_getTranslationKeyForListStyle'](_0x204d98){return _0x3371('0x25')+this[_0x3371('0x15')]['plugins'][_0x3371('0x2b')](_0x3371('0xb'))[_0x3371('0x22')](_0x204d98)[_0x3371('0x10')]()+_0x3371('0x3')+_0x204d98[_0x3371('0x10')]()[_0x3371('0x3a')](/-/g,'_');}}
23
+ const _0x58f3=['listReversed','forward','handleListStyleCommand','commandParams','filter','createPositionAt','getSiblingNodes','TrackChangesEditing','styles','getLastPosition','_LIST_','backward','markMultiRangeBlockFormat','registerDescriptionCallback','change','_getSuggestionBlocks','list.properties','format','model','length','numbered','config','selection','listStyle','listStart','enableCommand','_descriptionFactory','parent','getListTypeFromListStyleType','flat','element','toUpperCase','createRange','plugins','_getSuggestionBlocksForListStyle','handleListReversedCommand','afterInit','ListUtils','*Format:*\x20set\x20order\x20to\x20reversed','listType','listItem','handleDescriptions','bind','ListPropertiesEditing','map','unshift','editor','reversed','type','document','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','before','getAttribute','getSelectedBlocks','from'];(function(_0x55ceef,_0x58f379){const _0x1ae0c6=function(_0x50d206){while(--_0x50d206){_0x55ceef['push'](_0x55ceef['shift']());}};_0x1ae0c6(++_0x58f379);}(_0x58f3,0x1cc));const _0x1ae0=function(_0x55ceef,_0x58f379){_0x55ceef=_0x55ceef-0x0;let _0x1ae0c6=_0x58f3[_0x55ceef];return _0x1ae0c6;};import{Plugin as _0x361f66}from'ckeditor5/src/core';import{getTranslation as _0x5d5056}from'../utils/common-translations';export default class nt extends _0x361f66{[_0x1ae0('0x20')](){if(!this['editor'][_0x1ae0('0x1d')]['has'](_0x1ae0('0x27')))return;const _0x4ec199=this[_0x1ae0('0x2a')][_0x1ae0('0x11')][_0x1ae0('0x2e')](_0x1ae0('0xc')),_0x47552a=this['editor'][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3'));_0x4ec199[_0x1ae0('0x4')]&&_0x47552a['enableCommand']('listStyle',this[_0x1ae0('0x37')]['bind'](this)),_0x4ec199[_0x1ae0('0x2b')]&&_0x47552a['enableCommand'](_0x1ae0('0x35'),this['handleListReversedCommand']['bind'](this)),_0x4ec199[_0x1ae0('0x30')]&&_0x47552a[_0x1ae0('0x15')](_0x1ae0('0x14'),this['handleListStartCommand'][_0x1ae0('0x26')](this)),_0x47552a[_0x1ae0('0x16')][_0x1ae0('0x9')](this[_0x1ae0('0x25')]['bind'](this));}[_0x1ae0('0x37')](_0x5def3a,_0x5c4397={}){const _0x4e52f8=this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3')),_0x3351b0=this[_0x1ae0('0x1e')]();this[_0x1ae0('0x2a')][_0x1ae0('0xe')]['change'](()=>{_0x4e52f8[_0x1ae0('0x8')](_0x3351b0,{'commandName':_0x1ae0('0x13'),'commandParams':[{'type':_0x5c4397['type']}],'formatGroupId':'listStyle'});});}[_0x1ae0('0x1f')](_0x4071d1,_0x3c75cc={}){const _0x5bb2a2=this['editor']['plugins'][_0x1ae0('0x2e')]('TrackChangesEditing'),_0x42b29b=this[_0x1ae0('0xb')](_0x203a21=>_0x203a21['is'](_0x1ae0('0x1a'),_0x1ae0('0x24'))&&_0x1ae0('0x10')===_0x203a21['getAttribute'](_0x1ae0('0x23')));if(_0x42b29b['length']<0x1)return;const _0x382244=_0x42b29b[_0x1ae0('0x28')](_0x333754=>this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1c')](this[_0x1ae0('0x2a')]['model'][_0x1ae0('0x1')](_0x333754,_0x1ae0('0x31')),this['editor'][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x333754,0x0)));this[_0x1ae0('0x2a')]['model']['change'](()=>{_0x5bb2a2[_0x1ae0('0x8')](_0x382244,{'commandName':_0x1ae0('0x35'),'commandParams':[{'reversed':_0x3c75cc['reversed']}],'formatGroupId':_0x1ae0('0x35')});});}['handleListStartCommand'](_0x204da7,_0xb53e95={}){const _0x2069ea=this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3')),_0x14faba=this[_0x1ae0('0xb')](_0x340095=>_0x340095['is']('element','listItem')&&_0x1ae0('0x10')===_0x340095[_0x1ae0('0x32')](_0x1ae0('0x23')));if(_0x14faba[_0x1ae0('0xf')]<0x1)return;const _0x54609b=_0x14faba[_0x1ae0('0x28')](_0x1d8cf5=>this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1c')](this['editor']['model'][_0x1ae0('0x1')](_0x1d8cf5,_0x1ae0('0x31')),this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x1d8cf5,0x0)));this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0xa')](()=>{_0x2069ea[_0x1ae0('0x8')](_0x54609b,{'commandName':_0x1ae0('0x14'),'commandParams':[{'startIndex':_0xb53e95[_0x1ae0('0x30')]}],'formatGroupId':_0x1ae0('0x14')});});}[_0x1ae0('0x25')](_0x1f6507){const _0x446de7=this[_0x1ae0('0x2a')]['locale'],{data:_0x4c7ba9}=_0x1f6507;if(!_0x4c7ba9)return;let _0x181385,_0x6c1709;switch(_0x4c7ba9['commandName']){case _0x1ae0('0x13'):_0x181385='*Change\x20to:*\x20%0',_0x6c1709={'type':_0x1ae0('0xd'),'content':_0x5d5056(_0x446de7,_0x181385,_0x5d5056(_0x446de7,this['_getTranslationKeyForListStyle'](_0x4c7ba9[_0x1ae0('0x38')][0x0][_0x1ae0('0x2c')])))};break;case _0x1ae0('0x35'):_0x181385=_0x4c7ba9[_0x1ae0('0x38')][0x0]['reversed']?_0x1ae0('0x22'):'*Format:*\x20set\x20order\x20to\x20regular',_0x6c1709={'type':_0x1ae0('0xd'),'content':_0x5d5056(_0x446de7,_0x181385)};break;case _0x1ae0('0x14'):_0x181385=_0x1ae0('0x2f'),_0x6c1709={'type':'format','content':_0x5d5056(_0x446de7,_0x181385,_0x4c7ba9[_0x1ae0('0x38')][0x0][_0x1ae0('0x30')])};}return _0x6c1709;}[_0x1ae0('0x1e')](){var _0x367869,_0x508267,_0x170b0e,_0xfa4c3a;const _0x461dcb=this[_0x1ae0('0x2a')]['plugins'][_0x1ae0('0x2e')]('ListUtils');let _0x238061=Array['from'](this[_0x1ae0('0x2a')]['model'][_0x1ae0('0x2d')][_0x1ae0('0x12')]['getSelectedBlocks']());return(null===(_0x367869=_0x238061[0x0])||void 0x0===_0x367869?void 0x0:_0x367869['is']('element',_0x1ae0('0x24')))&&_0x238061[_0x1ae0('0x29')](..._0x461dcb[_0x1ae0('0x2')](this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x2d')][_0x1ae0('0x12')]['getFirstPosition'](),'backward')),(null===(_0x508267=_0x238061[_0x238061[_0x1ae0('0xf')]-0x1])||void 0x0===_0x508267?void 0x0:_0x508267['is']('element',_0x1ae0('0x24')))&&_0x238061['push'](..._0x461dcb['getSiblingNodes'](this['editor'][_0x1ae0('0xe')][_0x1ae0('0x2d')]['selection'][_0x1ae0('0x5')](),'forward')),_0x238061=[...new Set(_0x238061)],(null===(_0xfa4c3a=null===(_0x170b0e=this['editor']['model'][_0x1ae0('0x2d')]['selection']['getFirstPosition']())||void 0x0===_0x170b0e?void 0x0:_0x170b0e[_0x1ae0('0x17')])||void 0x0===_0xfa4c3a?void 0x0:_0xfa4c3a['is'](_0x1ae0('0x1a'),_0x1ae0('0x24')))&&(_0x238061=_0x238061['filter'](_0x368335=>_0x368335['is'](_0x1ae0('0x1a'),'listItem'))),_0x238061;}[_0x1ae0('0xb')](_0x334de2){const _0x1ee3b7=this[_0x1ae0('0x2a')]['plugins'][_0x1ae0('0x2e')](_0x1ae0('0x21'));let _0x3c7520=Array[_0x1ae0('0x34')](this[_0x1ae0('0x2a')][_0x1ae0('0xe')]['document']['selection'][_0x1ae0('0x33')]())[_0x1ae0('0x0')](_0x334de2)['map'](_0x3a53e3=>{const _0x55e97b=this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x3a53e3,0x0);return[..._0x1ee3b7[_0x1ae0('0x2')](_0x55e97b,_0x1ae0('0x7')),..._0x1ee3b7[_0x1ae0('0x2')](_0x55e97b,_0x1ae0('0x36'))];})[_0x1ae0('0x19')]();return _0x3c7520=[...new Set(_0x3c7520)],_0x3c7520;}['_getTranslationKeyForListStyle'](_0x52cb08){return'ELEMENT_'+this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x21'))[_0x1ae0('0x18')](_0x52cb08)[_0x1ae0('0x1b')]()+_0x1ae0('0x6')+_0x52cb08[_0x1ae0('0x1b')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f78=['elementToElement','div','for','media','high','downcastDispatcher','attribute:url:media','TrackChangesEditing','mediaEmbed','locale','options','enableCommand','_descriptionFactory','MediaEmbedEditing','get','ELEMENT_MEDIA','plugins','registerElementLabel','createEmptyElement','editor'];(function(_0x4a3932,_0x2f7897){const _0x3a79a8=function(_0xa8493e){while(--_0xa8493e){_0x4a3932['push'](_0x4a3932['shift']());}};_0x3a79a8(++_0x2f7897);}(_0x2f78,0x19c));const _0x3a79=function(_0x4a3932,_0x2f7897){_0x4a3932=_0x4a3932-0x0;let _0x3a79a8=_0x2f78[_0x4a3932];return _0x3a79a8;};import{Plugin as _0x2f5045}from'ckeditor5/src/core';import{getTranslation as _0x4ced0f}from'../utils/common-translations';export default class ot extends _0x2f5045{['afterInit'](){const _0xb6d761=this[_0x3a79('0x7')];if(!_0xb6d761[_0x3a79('0x4')]['has'](_0x3a79('0x1')))return;const _0x3e964e=_0xb6d761[_0x3a79('0x4')][_0x3a79('0x2')](_0x3a79('0xf')),_0x324584=_0xb6d761[_0x3a79('0x11')];_0x3e964e[_0x3a79('0x13')](_0x3a79('0x10')),_0x3e964e[_0x3a79('0x0')][_0x3a79('0x5')](_0x3a79('0xb'),_0x5e8fac=>_0x4ced0f(_0x324584,_0x3a79('0x3'),_0x5e8fac)),_0xb6d761['conversion'][_0x3a79('0xa')]('dataDowncast')[_0x3a79('0x8')]({'model':_0x3a79('0xb'),'view':(_0x3b0643,{writer:_0x4396ac,options:_0x2ace12})=>{if(_0x2ace12['showSuggestionHighlights'])return _0x4396ac[_0x3a79('0x6')](_0x3a79('0x9'));},'converterPriority':'high'}),_0xb6d761['data'][_0x3a79('0xd')]['on'](_0x3a79('0xe'),(_0x2deb7d,_0x299b2a,_0xe1d34)=>{_0xe1d34[_0x3a79('0x12')]['showSuggestionHighlights']&&_0x2deb7d['stop']();},{'priority':_0x3a79('0xc')});}}
23
+ const _0x5e0d=['_descriptionFactory','afterInit','MediaEmbedEditing','registerElementLabel','high','stop','plugins','conversion','media','createEmptyElement','options','ELEMENT_MEDIA','showSuggestionHighlights','mediaEmbed'];(function(_0x47f818,_0x5e0de1){const _0x3920b4=function(_0x37f4a3){while(--_0x37f4a3){_0x47f818['push'](_0x47f818['shift']());}};_0x3920b4(++_0x5e0de1);}(_0x5e0d,0x192));const _0x3920=function(_0x47f818,_0x5e0de1){_0x47f818=_0x47f818-0x0;let _0x3920b4=_0x5e0d[_0x47f818];return _0x3920b4;};import{Plugin as _0x1c9247}from'ckeditor5/src/core';import{getTranslation as _0x4d6df3}from'../utils/common-translations';export default class ot extends _0x1c9247{[_0x3920('0x5')](){const _0x2646ba=this['editor'];if(!_0x2646ba[_0x3920('0xa')]['has'](_0x3920('0x6')))return;const _0x3b849d=_0x2646ba[_0x3920('0xa')]['get']('TrackChangesEditing'),_0x1e35ee=_0x2646ba['locale'];_0x3b849d['enableCommand'](_0x3920('0x3')),_0x3b849d[_0x3920('0x4')][_0x3920('0x7')](_0x3920('0xc'),_0x3b46d6=>_0x4d6df3(_0x1e35ee,_0x3920('0x1'),_0x3b46d6)),_0x2646ba[_0x3920('0xb')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x2390ca,{writer:_0x54af65,options:_0x199bca})=>{if(_0x199bca[_0x3920('0x2')])return _0x54af65[_0x3920('0xd')]('div');},'converterPriority':_0x3920('0x8')}),_0x2646ba['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5c34c7,_0x2280fa,_0x18f0c5)=>{_0x18f0c5[_0x3920('0x0')][_0x3920('0x2')]&&_0x5c34c7[_0x3920('0x9')]();},{'priority':_0x3920('0x8')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28e7=['has','MentionEditing','plugins','afterInit','TrackChangesEditing','get'];(function(_0x18bb64,_0x28e7ea){const _0x4282fc=function(_0x3829c1){while(--_0x3829c1){_0x18bb64['push'](_0x18bb64['shift']());}};_0x4282fc(++_0x28e7ea);}(_0x28e7,0xcb));const _0x4282=function(_0x18bb64,_0x28e7ea){_0x18bb64=_0x18bb64-0x0;let _0x4282fc=_0x28e7[_0x18bb64];return _0x4282fc;};import{Plugin as _0x2dfc7b}from'ckeditor5/src/core';export default class rt extends _0x2dfc7b{[_0x4282('0x4')](){const _0x5e460c=this['editor'];_0x5e460c[_0x4282('0x3')][_0x4282('0x1')](_0x4282('0x2'))&&_0x5e460c[_0x4282('0x3')][_0x4282('0x0')](_0x4282('0x5'))['enableCommand']('mention');}}
23
+ const _0x426e=['has','editor','enableCommand','plugins','afterInit','get','mention','MentionEditing'];(function(_0x153fb7,_0x426e38){const _0x1a0ed5=function(_0x16455b){while(--_0x16455b){_0x153fb7['push'](_0x153fb7['shift']());}};_0x1a0ed5(++_0x426e38);}(_0x426e,0xbd));const _0x1a0e=function(_0x153fb7,_0x426e38){_0x153fb7=_0x153fb7-0x0;let _0x1a0ed5=_0x426e[_0x153fb7];return _0x1a0ed5;};import{Plugin as _0x5b1dd9}from'ckeditor5/src/core';export default class rt extends _0x5b1dd9{[_0x1a0e('0x7')](){const _0x4808e0=this[_0x1a0e('0x4')];_0x4808e0['plugins'][_0x1a0e('0x3')](_0x1a0e('0x2'))&&_0x4808e0[_0x1a0e('0x6')][_0x1a0e('0x0')]('TrackChangesEditing')[_0x1a0e('0x5')](_0x1a0e('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5762=['registerElementLabel','has','PageBreakEditing','pageBreak','TrackChangesEditing','_descriptionFactory','get','locale','enableCommand','ELEMENT_PAGE_BREAK','plugins'];(function(_0x2349cc,_0x57626f){const _0x4ce862=function(_0x4cc66c){while(--_0x4cc66c){_0x2349cc['push'](_0x2349cc['shift']());}};_0x4ce862(++_0x57626f);}(_0x5762,0xf8));const _0x4ce8=function(_0x2349cc,_0x57626f){_0x2349cc=_0x2349cc-0x0;let _0x4ce862=_0x5762[_0x2349cc];return _0x4ce862;};import{Plugin as _0x407497}from'ckeditor5/src/core';import{getTranslation as _0x7cbc78}from'../utils/common-translations';export default class at extends _0x407497{['afterInit'](){const _0x214cc4=this['editor'];if(!_0x214cc4['plugins'][_0x4ce8('0x6')](_0x4ce8('0x7')))return;_0x214cc4[_0x4ce8('0x4')][_0x4ce8('0x0')](_0x4ce8('0x9'))[_0x4ce8('0x2')]('pageBreak');const _0x5880ec=_0x214cc4[_0x4ce8('0x4')][_0x4ce8('0x0')]('TrackChangesEditing'),_0x2a3ed7=_0x214cc4[_0x4ce8('0x1')];_0x5880ec[_0x4ce8('0xa')][_0x4ce8('0x5')](_0x4ce8('0x8'),_0x43cbcf=>_0x7cbc78(_0x2a3ed7,_0x4ce8('0x3'),_0x43cbcf));}}
23
+ const _0x2aa9=['get','editor','_descriptionFactory','plugins','afterInit','enableCommand','has','PageBreakEditing','locale','registerElementLabel','ELEMENT_PAGE_BREAK','pageBreak','TrackChangesEditing'];(function(_0x58ff55,_0x2aa933){const _0x3fbfc0=function(_0x26e18a){while(--_0x26e18a){_0x58ff55['push'](_0x58ff55['shift']());}};_0x3fbfc0(++_0x2aa933);}(_0x2aa9,0x1da));const _0x3fbf=function(_0x58ff55,_0x2aa933){_0x58ff55=_0x58ff55-0x0;let _0x3fbfc0=_0x2aa9[_0x58ff55];return _0x3fbfc0;};import{Plugin as _0x263474}from'ckeditor5/src/core';import{getTranslation as _0x38f156}from'../utils/common-translations';export default class at extends _0x263474{[_0x3fbf('0xb')](){const _0x568aa8=this[_0x3fbf('0x8')];if(!_0x568aa8[_0x3fbf('0xa')][_0x3fbf('0x0')](_0x3fbf('0x1')))return;_0x568aa8['plugins']['get'](_0x3fbf('0x6'))[_0x3fbf('0xc')](_0x3fbf('0x5'));const _0x378770=_0x568aa8['plugins'][_0x3fbf('0x7')]('TrackChangesEditing'),_0x192b3f=_0x568aa8[_0x3fbf('0x2')];_0x378770[_0x3fbf('0x9')][_0x3fbf('0x3')]('pageBreak',_0x31d626=>_0x38f156(_0x192b3f,_0x3fbf('0x4'),_0x31d626));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ff7=['toViewPosition','ELEMENT_PARAGRAPH','nodeAfter','enableCommand','bindElementToMarker','$text','schema','highest','registerDescriptionCallback','name','markBlockFormat','consume','locale','commandName','from','plugins','markerRange','parent','isTouching','change','isLimit','data','showSuggestionHighlights','addMarker:suggestion:insertion','isObject','paragraph','get','*Change\x20to:*\x20%0','span','model','getItemLabel','*Insert:*\x20%0','insert','afterInit','isBlock','editor','selection','markerName','writer','options','includes','format','_descriptionFactory','editing','has','ck-suggestion-marker--active','mapper','type','document','insertParagraph','insertion','TrackChangesEditing','blockName','addClass','checkChild','downcastDispatcher','getSelectedBlocks','registerElementLabel'];(function(_0x2853f3,_0x4ff716){const _0x2081a3=function(_0x3d788c){while(--_0x3d788c){_0x2853f3['push'](_0x2853f3['shift']());}};_0x2081a3(++_0x4ff716);}(_0x4ff7,0x10d));const _0x2081=function(_0x2853f3,_0x4ff716){_0x2853f3=_0x2853f3-0x0;let _0x2081a3=_0x4ff7[_0x2853f3];return _0x2081a3;};import{Plugin as _0x7e4e30}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x45b89a}from'./utils';import{getTranslation as _0x101772}from'../utils/common-translations';export default class ct extends _0x7e4e30{[_0x2081('0x36')](){const _0x3e644b=this[_0x2081('0x38')];if(!_0x3e644b['plugins'][_0x2081('0x7')]('Paragraph'))return;const _0x2a51ec=_0x3e644b[_0x2081('0x21')],_0x4ab7d9=_0x3e644b[_0x2081('0x24')]['get'](_0x2081('0xe'));_0x4ab7d9['_descriptionFactory'][_0x2081('0x14')]('paragraph',_0x3b4750=>_0x101772(_0x2a51ec,_0x2081('0x16'),_0x3b4750)),_0x4ab7d9[_0x2081('0x18')]('paragraph',(_0xa2dc59,_0x20a7da={})=>{const _0x31bf1a=_0x3e644b[_0x2081('0x32')][_0x2081('0xb')],_0x15f5a4=_0x20a7da[_0x2081('0x39')]||_0x31bf1a[_0x2081('0x39')],_0x595717=Array[_0x2081('0x23')](_0x15f5a4[_0x2081('0x13')]())['filter'](_0x128341=>function(_0xbd1537,_0x5762e5){return _0x5762e5[_0x2081('0x11')](_0xbd1537[_0x2081('0x26')],'paragraph')&&!_0x5762e5[_0x2081('0x2d')](_0xbd1537)&&_0x2081('0x2e')!=_0xbd1537[_0x2081('0x1e')];}(_0x128341,this[_0x2081('0x38')]['model'][_0x2081('0x1b')]));_0x3e644b[_0x2081('0x32')][_0x2081('0x28')](()=>{for(const _0x2dcd5a of _0x595717)_0x4ab7d9[_0x2081('0x1f')](_0x2dcd5a,{'commandName':_0x2081('0x2e'),'commandParams':[],'formatGroupId':_0x2081('0xf')},_0x45b89a(_0x2dcd5a));});}),_0x4ab7d9[_0x2081('0x5')][_0x2081('0x1d')](_0x13f842=>{const {data:_0x3469f8}=_0x13f842;if(_0x3469f8&&_0x2081('0x2e')==_0x3469f8[_0x2081('0x22')])return{'type':_0x2081('0x4'),'content':_0x101772(_0x2a51ec,_0x2081('0x30'),_0x101772(_0x2a51ec,_0x2081('0x16')))};}),_0x4ab7d9['enableCommand'](_0x2081('0xc')),_0x3e644b[_0x2081('0x6')]['downcastDispatcher']['on'](_0x2081('0x2c'),ar(_0x3e644b),{'priority':_0x2081('0x1c')}),_0x3e644b[_0x2081('0x2a')][_0x2081('0x12')]['on'](_0x2081('0x2c'),(_0x31ae62,_0x275b77,_0x14070e)=>{_0x14070e[_0x2081('0x2')][_0x2081('0x2b')]&&ar(_0x3e644b,{'showActiveMarker':!0x1})(_0x31ae62,_0x275b77,_0x14070e);},{'priority':_0x2081('0x1c')});const _0x5704bc=_0x4ab7d9[_0x2081('0x5')];_0x5704bc[_0x2081('0x1d')](_0x3284bd=>{if(_0x2081('0xd')!==_0x3284bd[_0x2081('0xa')])return;const {start:_0x336a44,end:_0x1daeda}=_0x3284bd['getFirstRange']();if(!_0x336a44[_0x2081('0x27')](_0x1daeda)||!_0x336a44[_0x2081('0x17')])return;const _0xcbf7d8=_0x3e644b[_0x2081('0x32')][_0x2081('0x1b')],_0x4ae7a9=_0x336a44[_0x2081('0x17')];return _0xcbf7d8[_0x2081('0x37')](_0x4ae7a9)&&!_0xcbf7d8[_0x2081('0x29')](_0x4ae7a9)&&_0xcbf7d8['checkChild'](_0x4ae7a9,_0x2081('0x1a'))?{'type':_0x2081('0xd'),'content':_0x101772(_0x2a51ec,_0x2081('0x34'),_0x5704bc[_0x2081('0x33')](_0x4ae7a9,0x1))}:void 0x0;});}}function ar(_0x3f39d8,{showActiveMarker:_0x3c5bea=!0x0}={}){return(_0x5da05f,_0x33d703,_0x245784)=>{const _0x167ec6=_0x3f39d8['plugins'][_0x2081('0x2f')](_0x2081('0xe')),_0xea064d=_0x33d703[_0x2081('0x25')]['start'],_0x2b7e61=_0x33d703['markerRange']['end'],_0x2e8e5e=_0x3f39d8[_0x2081('0x32')]['schema'];if(!_0xea064d[_0x2081('0x27')](_0x2b7e61)||!_0xea064d[_0x2081('0x17')])return;const _0x4fd133=_0xea064d[_0x2081('0x17')];if(_0x2e8e5e[_0x2081('0x37')](_0x4fd133)&&!_0x2e8e5e[_0x2081('0x29')](_0x4fd133)&&_0x2e8e5e['checkChild'](_0x4fd133,'$text')){if(!_0x245784['consumable'][_0x2081('0x20')](_0x33d703[_0x2081('0x25')],_0x5da05f[_0x2081('0x1e')]))return;const _0x122013=_0x245784[_0x2081('0x1')]['createUIElement'](_0x2081('0x31'),{'class':'ck-suggestion-marker-split'}),_0x341eb2=_0x245784[_0x2081('0x9')][_0x2081('0x15')](_0x2b7e61);_0x3c5bea&&_0x167ec6['activeMarkers'][_0x2081('0x3')](_0x33d703[_0x2081('0x0')])&&_0x245784[_0x2081('0x1')][_0x2081('0x10')](_0x2081('0x8'),_0x122013),_0x245784['writer'][_0x2081('0x35')](_0x341eb2,_0x122013),_0x245784[_0x2081('0x9')][_0x2081('0x19')](_0x122013,_0x33d703[_0x2081('0x0')]);}};}
23
+ const _0x12e0=['*Insert:*\x20%0','markBlockFormat','insertion','consumable','checkChild','registerDescriptionCallback','editor','consume','TrackChangesEditing','paragraph','plugins','end','document','$text','markerRange','downcastDispatcher','getFirstRange','from','insert','addClass','Paragraph','selection','change','nodeAfter','enableCommand','editing','highest','isTouching','commandName','isBlock','parent','markerName','options','writer','insertParagraph','data','getSelectedBlocks','format','start','schema','mapper','model','filter','addMarker:suggestion:insertion','blockName','name','afterInit','get','_descriptionFactory','ELEMENT_PARAGRAPH','bindElementToMarker','isLimit','locale'];(function(_0x63367f,_0x12e09b){const _0x2180a2=function(_0x199be7){while(--_0x199be7){_0x63367f['push'](_0x63367f['shift']());}};_0x2180a2(++_0x12e09b);}(_0x12e0,0x7e));const _0x2180=function(_0x63367f,_0x12e09b){_0x63367f=_0x63367f-0x0;let _0x2180a2=_0x12e0[_0x63367f];return _0x2180a2;};import{Plugin as _0x4a8a76}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x36d30b}from'./utils';import{getTranslation as _0xf9b714}from'../utils/common-translations';export default class ct extends _0x4a8a76{[_0x2180('0x1a')](){const _0xb71480=this[_0x2180('0x27')];if(!_0xb71480[_0x2180('0x2b')]['has'](_0x2180('0x0')))return;const _0x2466aa=_0xb71480[_0x2180('0x20')],_0x20b6fe=_0xb71480['plugins']['get']('TrackChangesEditing');_0x20b6fe['_descriptionFactory']['registerElementLabel']('paragraph',_0x713633=>_0xf9b714(_0x2466aa,_0x2180('0x1d'),_0x713633)),_0x20b6fe['enableCommand'](_0x2180('0x2a'),(_0x125035,_0x5b6a4f={})=>{const _0x140f63=_0xb71480[_0x2180('0x15')][_0x2180('0x2d')],_0x507464=_0x5b6a4f[_0x2180('0x1')]||_0x140f63[_0x2180('0x1')],_0x17f6cd=Array[_0x2180('0x32')](_0x507464[_0x2180('0x10')]())[_0x2180('0x16')](_0x389fb2=>function(_0x17d5cd,_0x42808b){return _0x42808b[_0x2180('0x25')](_0x17d5cd[_0x2180('0xa')],'paragraph')&&!_0x42808b['isObject'](_0x17d5cd)&&_0x2180('0x2a')!=_0x17d5cd[_0x2180('0x19')];}(_0x389fb2,this[_0x2180('0x27')]['model']['schema']));_0xb71480[_0x2180('0x15')][_0x2180('0x2')](()=>{for(const _0x5733fe of _0x17f6cd)_0x20b6fe[_0x2180('0x22')](_0x5733fe,{'commandName':_0x2180('0x2a'),'commandParams':[],'formatGroupId':_0x2180('0x18')},_0x36d30b(_0x5733fe));});}),_0x20b6fe[_0x2180('0x1c')]['registerDescriptionCallback'](_0x13680f=>{const {data:_0x5ef10c}=_0x13680f;if(_0x5ef10c&&_0x2180('0x2a')==_0x5ef10c[_0x2180('0x8')])return{'type':_0x2180('0x11'),'content':_0xf9b714(_0x2466aa,'*Change\x20to:*\x20%0',_0xf9b714(_0x2466aa,_0x2180('0x1d')))};}),_0x20b6fe[_0x2180('0x4')](_0x2180('0xe')),_0xb71480[_0x2180('0x5')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0xb71480),{'priority':_0x2180('0x6')}),_0xb71480[_0x2180('0xf')][_0x2180('0x30')]['on'](_0x2180('0x17'),(_0x4e773e,_0x3a610d,_0x3d500e)=>{_0x3d500e[_0x2180('0xc')]['showSuggestionHighlights']&&ar(_0xb71480,{'showActiveMarker':!0x1})(_0x4e773e,_0x3a610d,_0x3d500e);},{'priority':_0x2180('0x6')});const _0x47b37c=_0x20b6fe[_0x2180('0x1c')];_0x47b37c[_0x2180('0x26')](_0x1ac511=>{if('insertion'!==_0x1ac511['type'])return;const {start:_0x16c08e,end:_0xdb98c3}=_0x1ac511[_0x2180('0x31')]();if(!_0x16c08e['isTouching'](_0xdb98c3)||!_0x16c08e['nodeAfter'])return;const _0x4b0e3e=_0xb71480[_0x2180('0x15')][_0x2180('0x13')],_0x588ed9=_0x16c08e['nodeAfter'];return _0x4b0e3e[_0x2180('0x9')](_0x588ed9)&&!_0x4b0e3e['isLimit'](_0x588ed9)&&_0x4b0e3e[_0x2180('0x25')](_0x588ed9,_0x2180('0x2e'))?{'type':_0x2180('0x23'),'content':_0xf9b714(_0x2466aa,_0x2180('0x21'),_0x47b37c['getItemLabel'](_0x588ed9,0x1))}:void 0x0;});}}function ar(_0x64f0ec,{showActiveMarker:_0x316a02=!0x0}={}){return(_0x1186c8,_0x3a9d89,_0x5e92d4)=>{const _0x42a2f1=_0x64f0ec[_0x2180('0x2b')][_0x2180('0x1b')](_0x2180('0x29')),_0x24207d=_0x3a9d89[_0x2180('0x2f')][_0x2180('0x12')],_0xb2b84c=_0x3a9d89[_0x2180('0x2f')][_0x2180('0x2c')],_0x1dd067=_0x64f0ec['model'][_0x2180('0x13')];if(!_0x24207d[_0x2180('0x7')](_0xb2b84c)||!_0x24207d[_0x2180('0x3')])return;const _0x61130e=_0x24207d[_0x2180('0x3')];if(_0x1dd067[_0x2180('0x9')](_0x61130e)&&!_0x1dd067[_0x2180('0x1f')](_0x61130e)&&_0x1dd067['checkChild'](_0x61130e,_0x2180('0x2e'))){if(!_0x5e92d4[_0x2180('0x24')][_0x2180('0x28')](_0x3a9d89[_0x2180('0x2f')],_0x1186c8[_0x2180('0x19')]))return;const _0x4f21b1=_0x5e92d4[_0x2180('0xd')]['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x59d54e=_0x5e92d4[_0x2180('0x14')]['toViewPosition'](_0xb2b84c);_0x316a02&&_0x42a2f1['activeMarkers']['includes'](_0x3a9d89['markerName'])&&_0x5e92d4[_0x2180('0xd')][_0x2180('0x34')]('ck-suggestion-marker--active',_0x4f21b1),_0x5e92d4[_0x2180('0xd')][_0x2180('0x33')](_0x59d54e,_0x4f21b1),_0x5e92d4[_0x2180('0x14')][_0x2180('0x1e')](_0x4f21b1,_0x3a9d89[_0x2180('0xb')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b0=['_descriptionFactory','has','removeFormat','document','change','TrackChangesEditing','locale','getAttributes','format','getRanges','model','createRangeOn','editor','afterInit','getItems','isFormatting','commandName','markInlineFormat','from','getAttributeProperties','isCollapsed','plugins','*Remove\x20all\x20formatting*','schema','RemoveFormatEditing','selection'];(function(_0x25cb53,_0x18b0ef){const _0x131cef=function(_0x4fbdfb){while(--_0x4fbdfb){_0x25cb53['push'](_0x25cb53['shift']());}};_0x131cef(++_0x18b0ef);}(_0x18b0,0x102));const _0x131c=function(_0x25cb53,_0x18b0ef){_0x25cb53=_0x25cb53-0x0;let _0x131cef=_0x18b0[_0x25cb53];return _0x131cef;};import{Plugin as _0x283724}from'ckeditor5/src/core';import{getTranslation as _0x489482}from'../utils/common-translations';export default class ht extends _0x283724{[_0x131c('0xf')](){const _0x439301=this[_0x131c('0xe')];if(!_0x439301[_0x131c('0x17')][_0x131c('0x3')](_0x131c('0x0')))return;const _0x38908e=_0x439301[_0x131c('0x17')]['get'](_0x131c('0x7'));_0x38908e['enableCommand'](_0x131c('0x4'),_0x51a5b0=>{const _0x401d8a=_0x439301[_0x131c('0xc')][_0x131c('0x5')][_0x131c('0x1')];_0x401d8a[_0x131c('0x16')]?_0x51a5b0():_0x439301[_0x131c('0xc')][_0x131c('0x6')](()=>{const _0x113ab0=Array[_0x131c('0x14')](_0x401d8a[_0x131c('0xb')]());for(const _0x5c6440 of _0x113ab0)for(const _0x481a68 of _0x5c6440[_0x131c('0x10')]())eo(_0x481a68,_0x439301['model'][_0x131c('0x19')])&&_0x38908e[_0x131c('0x13')](_0x439301['model'][_0x131c('0xd')](_0x481a68),{'commandName':_0x131c('0x4'),'commandParams':[]});});}),_0x38908e[_0x131c('0x2')]['registerDescriptionCallback'](_0x4a48ee=>{const {data:_0x4843f9}=_0x4a48ee;if(_0x4843f9&&_0x131c('0x4')==_0x4843f9[_0x131c('0x12')])return{'type':_0x131c('0xa'),'content':_0x489482(_0x439301[_0x131c('0x8')],_0x131c('0x18'))};});}}function eo(_0x18c126,_0x44a46b){for(const [_0x7765a5]of _0x18c126[_0x131c('0x9')]()){const _0x5c2a38=_0x44a46b[_0x131c('0x15')](_0x7765a5);if(_0x5c2a38&&_0x5c2a38[_0x131c('0x11')])return!0x0;}return!0x1;}
23
+ const _0x1981=['removeFormat','isCollapsed','afterInit','getAttributes','editor','format','*Remove\x20all\x20formatting*','createRangeOn','selection','document','getAttributeProperties','schema','locale','getItems','isFormatting','model','enableCommand','_descriptionFactory','change','has','plugins','TrackChangesEditing','markInlineFormat','getRanges'];(function(_0x4f4583,_0x1981a1){const _0x4a4699=function(_0x56b690){while(--_0x56b690){_0x4f4583['push'](_0x4f4583['shift']());}};_0x4a4699(++_0x1981a1);}(_0x1981,0x1b1));const _0x4a46=function(_0x4f4583,_0x1981a1){_0x4f4583=_0x4f4583-0x0;let _0x4a4699=_0x1981[_0x4f4583];return _0x4a4699;};import{Plugin as _0x992e7f}from'ckeditor5/src/core';import{getTranslation as _0x2786a1}from'../utils/common-translations';export default class ht extends _0x992e7f{[_0x4a46('0x1')](){const _0x450a4e=this[_0x4a46('0x3')];if(!_0x450a4e['plugins'][_0x4a46('0x12')]('RemoveFormatEditing'))return;const _0x17d4ff=_0x450a4e[_0x4a46('0x13')]['get'](_0x4a46('0x14'));_0x17d4ff[_0x4a46('0xf')]('removeFormat',_0x47b09e=>{const _0x26f4af=_0x450a4e[_0x4a46('0xe')][_0x4a46('0x8')][_0x4a46('0x7')];_0x26f4af[_0x4a46('0x0')]?_0x47b09e():_0x450a4e[_0x4a46('0xe')][_0x4a46('0x11')](()=>{const _0xadac41=Array['from'](_0x26f4af[_0x4a46('0x16')]());for(const _0x547cc3 of _0xadac41)for(const _0x8239a7 of _0x547cc3[_0x4a46('0xc')]())eo(_0x8239a7,_0x450a4e[_0x4a46('0xe')][_0x4a46('0xa')])&&_0x17d4ff[_0x4a46('0x15')](_0x450a4e[_0x4a46('0xe')][_0x4a46('0x6')](_0x8239a7),{'commandName':_0x4a46('0x17'),'commandParams':[]});});}),_0x17d4ff[_0x4a46('0x10')]['registerDescriptionCallback'](_0x6c72cd=>{const {data:_0x174eee}=_0x6c72cd;if(_0x174eee&&_0x4a46('0x17')==_0x174eee['commandName'])return{'type':_0x4a46('0x4'),'content':_0x2786a1(_0x450a4e[_0x4a46('0xb')],_0x4a46('0x5'))};});}}function eo(_0x5f0ce6,_0x389403){for(const [_0x4fd848]of _0x5f0ce6[_0x4a46('0x2')]()){const _0x5c526d=_0x389403[_0x4a46('0x9')](_0x4fd848);if(_0x5c526d&&_0x5c526d[_0x4a46('0xd')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30af=['RestrictedEditingModeEditing','acceptSuggestion','acceptSelectedSuggestions','discardAllSuggestions','enableCommand','goToPreviousRestrictedEditingException','TrackChangesEditing','plugins','discardSuggestion','get','acceptAllSuggestions','editor'];(function(_0x156e70,_0x30af28){const _0xa70354=function(_0x219dce){while(--_0x219dce){_0x156e70['push'](_0x156e70['shift']());}};_0xa70354(++_0x30af28);}(_0x30af,0xbe));const _0xa703=function(_0x156e70,_0x30af28){_0x156e70=_0x156e70-0x0;let _0xa70354=_0x30af[_0x156e70];return _0xa70354;};import{Plugin as _0xb7d36c}from'ckeditor5/src/core';export default class ut extends _0xb7d36c{['afterInit'](){const _0x5edda8=this[_0xa703('0x1')];if(!_0x5edda8[_0xa703('0x9')]['has'](_0xa703('0x2')))return;const _0x51f34e=_0x5edda8[_0xa703('0x9')][_0xa703('0xb')](_0xa703('0x8'));_0x51f34e['enableCommand'](_0xa703('0x7')),_0x51f34e[_0xa703('0x6')]('goToNextRestrictedEditingException');const _0x195eb2=_0x5edda8[_0xa703('0x9')][_0xa703('0xb')]('RestrictedEditingModeEditing');_0x195eb2[_0xa703('0x6')]('trackChanges'),_0x195eb2[_0xa703('0x6')](_0xa703('0x3')),_0x195eb2['enableCommand'](_0xa703('0xa')),_0x195eb2[_0xa703('0x6')](_0xa703('0x0')),_0x195eb2[_0xa703('0x6')](_0xa703('0x5')),_0x195eb2[_0xa703('0x6')](_0xa703('0x4')),_0x195eb2['enableCommand']('discardSelectedSuggestions');}}
23
+ const _0x31ef=['get','goToNextRestrictedEditingException','acceptSelectedSuggestions','acceptSuggestion','has','discardSuggestion','goToPreviousRestrictedEditingException','RestrictedEditingModeEditing','trackChanges','editor','enableCommand','plugins','afterInit','discardAllSuggestions'];(function(_0x28f8c2,_0x31ef2a){const _0x374a69=function(_0x4a116e){while(--_0x4a116e){_0x28f8c2['push'](_0x28f8c2['shift']());}};_0x374a69(++_0x31ef2a);}(_0x31ef,0x110));const _0x374a=function(_0x28f8c2,_0x31ef2a){_0x28f8c2=_0x28f8c2-0x0;let _0x374a69=_0x31ef[_0x28f8c2];return _0x374a69;};import{Plugin as _0x39b7b5}from'ckeditor5/src/core';export default class ut extends _0x39b7b5{[_0x374a('0x6')](){const _0x24b6a6=this[_0x374a('0x3')];if(!_0x24b6a6['plugins'][_0x374a('0xc')](_0x374a('0x1')))return;const _0x114d1f=_0x24b6a6[_0x374a('0x5')][_0x374a('0x8')]('TrackChangesEditing');_0x114d1f[_0x374a('0x4')](_0x374a('0x0')),_0x114d1f[_0x374a('0x4')](_0x374a('0x9'));const _0x19f615=_0x24b6a6[_0x374a('0x5')][_0x374a('0x8')]('RestrictedEditingModeEditing');_0x19f615[_0x374a('0x4')](_0x374a('0x2')),_0x19f615[_0x374a('0x4')](_0x374a('0xb')),_0x19f615[_0x374a('0x4')](_0x374a('0xd')),_0x19f615['enableCommand']('acceptAllSuggestions'),_0x19f615[_0x374a('0x4')](_0x374a('0x7')),_0x19f615['enableCommand'](_0x374a('0xa')),_0x19f615[_0x374a('0x4')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d78=['addMarker:suggestion:insertion','toViewPosition','TrackChangesEditing','shiftEnter','ELEMENT_LINE_BREAK','merge','registerElementLabel','editing','enableCommand','softBreak','high','span','plugins','init','downcastDispatcher','split','addMarker:suggestion:deletion','markerName','model','options','createPositionBefore','mapper','data','_descriptionFactory','element','showSuggestionHighlights','get','writer','createUIElement','addClass','includes','bindElementToMarker','insert','consumable','name','requires','markerRange','activeMarkers','getItems'];(function(_0x566f22,_0x3d78e4){const _0x53cef5=function(_0x113eda){while(--_0x113eda){_0x566f22['push'](_0x566f22['shift']());}};_0x53cef5(++_0x3d78e4);}(_0x3d78,0x1cf));const _0x53ce=function(_0x566f22,_0x3d78e4){_0x566f22=_0x566f22-0x0;let _0x53cef5=_0x3d78[_0x566f22];return _0x53cef5;};import{Plugin as _0x2bd2da}from'ckeditor5/src/core';import{ShiftEnter as _0x40dc70}from'ckeditor5/src/enter';import{getTranslation as _0x2b8a2d}from'../utils/common-translations';export default class ft extends _0x2bd2da{static get[_0x53ce('0x1')](){return[_0x40dc70];}[_0x53ce('0x12')](){const _0x476ac0=this['editor'],_0x247f2b=_0x476ac0[_0x53ce('0x11')]['get'](_0x53ce('0x7'));_0x247f2b[_0x53ce('0xd')](_0x53ce('0x8')),_0x476ac0[_0x53ce('0xc')][_0x53ce('0x13')]['on'](_0x53ce('0x5'),re(_0x476ac0),{'priority':_0x53ce('0xf')}),_0x476ac0[_0x53ce('0xc')][_0x53ce('0x13')]['on'](_0x53ce('0x15'),re(_0x476ac0),{'priority':_0x53ce('0xf')}),_0x476ac0[_0x53ce('0x1b')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x3f6dcf,_0x5acb07,_0x5eaabb)=>{_0x5eaabb[_0x53ce('0x18')][_0x53ce('0x1e')]&&re(_0x476ac0,{'showActiveMarker':!0x1})(_0x3f6dcf,_0x5acb07,_0x5eaabb);}),_0x247f2b[_0x53ce('0x1c')][_0x53ce('0xb')](_0x53ce('0xe'),_0x2255a2=>_0x2b8a2d(_0x476ac0['locale'],_0x53ce('0x9'),_0x2255a2));}}function re(_0x547b94,{showActiveMarker:_0x849204=!0x0}={}){return(_0x477e79,_0x3254a6,_0x2ce6af)=>{const _0x453f7c=_0x547b94['plugins'][_0x53ce('0x1f')]('TrackChangesEditing');if(!_0x2ce6af[_0x53ce('0x26')]['test'](_0x3254a6[_0x53ce('0x2')],_0x477e79[_0x53ce('0x0')]))return;const _0x2c6f2f=_0x547b94[_0x53ce('0x17')];for(const _0x29df54 of _0x3254a6[_0x53ce('0x2')][_0x53ce('0x4')]()){if(!_0x29df54['is'](_0x53ce('0x1d'),_0x53ce('0xe')))continue;const _0x158fd5='deletion'==_0x3254a6[_0x53ce('0x16')][_0x53ce('0x14')](':')[0x1]?_0x53ce('0xa'):_0x53ce('0x14'),_0x4605f9=_0x2ce6af[_0x53ce('0x20')][_0x53ce('0x21')](_0x53ce('0x10'),{'class':'ck-suggestion-marker-'+_0x158fd5}),_0x1dc2a9=_0x2ce6af[_0x53ce('0x1a')][_0x53ce('0x6')](_0x2c6f2f[_0x53ce('0x19')](_0x29df54));_0x849204&&_0x453f7c[_0x53ce('0x3')][_0x53ce('0x23')](_0x3254a6['markerName'])&&_0x2ce6af['writer'][_0x53ce('0x22')]('ck-suggestion-marker--active',_0x4605f9),_0x2ce6af[_0x53ce('0x20')][_0x53ce('0x25')](_0x1dc2a9,_0x4605f9),_0x2ce6af['mapper'][_0x53ce('0x24')](_0x4605f9,_0x3254a6[_0x53ce('0x16')]);}};}
23
+ const _0x4a5e=['get','ELEMENT_LINE_BREAK','registerElementLabel','init','bindElementToMarker','editor','toViewPosition','TrackChangesEditing','downcastDispatcher','markerName','showSuggestionHighlights','span','ck-suggestion-marker-','high','writer','markerRange','shiftEnter','test','addMarker:suggestion','getItems','plugins','name','mapper','merge','includes','model','consumable','addClass','requires','element','createPositionBefore','deletion','insert','addMarker:suggestion:deletion','activeMarkers','locale','enableCommand','editing','softBreak','addMarker:suggestion:insertion'];(function(_0x10296f,_0x4a5e18){const _0x4e66f9=function(_0x3240a0){while(--_0x3240a0){_0x10296f['push'](_0x10296f['shift']());}};_0x4e66f9(++_0x4a5e18);}(_0x4a5e,0xa7));const _0x4e66=function(_0x10296f,_0x4a5e18){_0x10296f=_0x10296f-0x0;let _0x4e66f9=_0x4a5e[_0x10296f];return _0x4e66f9;};import{Plugin as _0x265aaf}from'ckeditor5/src/core';import{ShiftEnter as _0xc1d56f}from'ckeditor5/src/enter';import{getTranslation as _0x148685}from'../utils/common-translations';export default class ft extends _0x265aaf{static get[_0x4e66('0x15')](){return[_0xc1d56f];}[_0x4e66('0x24')](){const _0x5430f2=this[_0x4e66('0x26')],_0x39ac93=_0x5430f2['plugins']['get'](_0x4e66('0x0'));_0x39ac93[_0x4e66('0x1d')](_0x4e66('0x9')),_0x5430f2[_0x4e66('0x1e')]['downcastDispatcher']['on'](_0x4e66('0x20'),re(_0x5430f2),{'priority':_0x4e66('0x6')}),_0x5430f2[_0x4e66('0x1e')]['downcastDispatcher']['on'](_0x4e66('0x1a'),re(_0x5430f2),{'priority':_0x4e66('0x6')}),_0x5430f2['data'][_0x4e66('0x1')]['on'](_0x4e66('0xb'),(_0x4f7fb2,_0x42ff73,_0x4a67d6)=>{_0x4a67d6['options'][_0x4e66('0x3')]&&re(_0x5430f2,{'showActiveMarker':!0x1})(_0x4f7fb2,_0x42ff73,_0x4a67d6);}),_0x39ac93['_descriptionFactory'][_0x4e66('0x23')](_0x4e66('0x1f'),_0x5529fc=>_0x148685(_0x5430f2[_0x4e66('0x1c')],_0x4e66('0x22'),_0x5529fc));}}function re(_0x59e56b,{showActiveMarker:_0x1df946=!0x0}={}){return(_0x1f9c6e,_0x11de3d,_0x49c2a4)=>{const _0x452099=_0x59e56b[_0x4e66('0xd')][_0x4e66('0x21')](_0x4e66('0x0'));if(!_0x49c2a4[_0x4e66('0x13')][_0x4e66('0xa')](_0x11de3d[_0x4e66('0x8')],_0x1f9c6e[_0x4e66('0xe')]))return;const _0x4f619e=_0x59e56b[_0x4e66('0x12')];for(const _0x47c4de of _0x11de3d[_0x4e66('0x8')][_0x4e66('0xc')]()){if(!_0x47c4de['is'](_0x4e66('0x16'),_0x4e66('0x1f')))continue;const _0x243557=_0x4e66('0x18')==_0x11de3d[_0x4e66('0x2')]['split'](':')[0x1]?_0x4e66('0x10'):'split',_0x4205d9=_0x49c2a4['writer']['createUIElement'](_0x4e66('0x4'),{'class':_0x4e66('0x5')+_0x243557}),_0x3ea7bf=_0x49c2a4[_0x4e66('0xf')][_0x4e66('0x27')](_0x4f619e[_0x4e66('0x17')](_0x47c4de));_0x1df946&&_0x452099[_0x4e66('0x1b')][_0x4e66('0x11')](_0x11de3d[_0x4e66('0x2')])&&_0x49c2a4[_0x4e66('0x7')][_0x4e66('0x14')]('ck-suggestion-marker--active',_0x4205d9),_0x49c2a4[_0x4e66('0x7')][_0x4e66('0x19')](_0x3ea7bf,_0x4205d9),_0x49c2a4['mapper'][_0x4e66('0x25')](_0x4205d9,_0x11de3d[_0x4e66('0x2')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2961=['format','plugins','afterInit','document','StandardEditingModeEditing','restrictedEditingException','commandParams','registerDescriptionCallback','markInlineFormat','editor','has','locale','get','isCollapsed','selection','getRanges','FORMAT_RESTRICTED_DISABLED','commands','forceValue','enableCommand','TrackChangesEditing','commandName'];(function(_0x341210,_0x29616e){const _0x117e15=function(_0x2d3002){while(--_0x2d3002){_0x341210['push'](_0x341210['shift']());}};_0x117e15(++_0x29616e);}(_0x2961,0x13e));const _0x117e=function(_0x341210,_0x29616e){_0x341210=_0x341210-0x0;let _0x117e15=_0x2961[_0x341210];return _0x117e15;};import{Plugin as _0x33ca4b}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x42472f}from'./utils';import{getTranslation as _0x52be35}from'../utils/common-translations';export default class lt extends _0x33ca4b{[_0x117e('0xe')](){const _0x27968d=this[_0x117e('0x15')],_0xe4ad4b=_0x27968d['model'],_0x391ac8=_0x27968d[_0x117e('0x1')];if(!_0x27968d[_0x117e('0xd')][_0x117e('0x0')](_0x117e('0x10')))return;const _0x107829=_0x27968d[_0x117e('0xd')][_0x117e('0x2')](_0x117e('0xa')),_0x46e2af=_0x117e('0x11'),_0x52460e=_0x27968d[_0x117e('0x7')][_0x117e('0x2')](_0x46e2af);_0x107829[_0x117e('0x9')](_0x46e2af,(_0x23113d,_0xc31a7b={})=>{const _0x310fe7=_0xe4ad4b[_0x117e('0xf')][_0x117e('0x4')];if(_0x310fe7[_0x117e('0x3')])return void _0x23113d(_0xc31a7b);const _0x35b7c=void 0x0!==_0xc31a7b[_0x117e('0x8')]?_0xc31a7b[_0x117e('0x8')]:!_0x52460e['value'];_0xe4ad4b['change'](()=>{const _0x4b5f3a=Array['from'](_0x310fe7[_0x117e('0x5')]());for(const _0x4c0c08 of _0x4b5f3a){const _0x508709=_0x35b7c?[_0x4c0c08]:_0x42472f(_0x46e2af,_0x4c0c08,_0xe4ad4b);for(const _0x3e1404 of _0x508709)_0x107829[_0x117e('0x14')](_0x3e1404,{'commandName':_0x46e2af,'commandParams':[{'forceValue':_0x35b7c}]});}});}),_0x107829['_descriptionFactory'][_0x117e('0x13')](_0x1eb49b=>{const {data:_0x4e4f5f}=_0x1eb49b;if(_0x4e4f5f&&_0x4e4f5f[_0x117e('0xb')]==_0x46e2af)return _0x4e4f5f[_0x117e('0x12')][0x0][_0x117e('0x8')]?{'type':_0x117e('0xc'),'content':_0x52be35(_0x391ac8,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x117e('0xc'),'content':_0x52be35(_0x391ac8,_0x117e('0x6'))};});}}
23
+ const _0x1c57=['registerDescriptionCallback','forceValue','markInlineFormat','value','commandName','restrictedEditingException','commands','StandardEditingModeEditing','getRanges','get','document','from','has','locale','isCollapsed','selection','FORMAT_RESTRICTED_ENABLED','change','plugins','model','enableCommand','TrackChangesEditing'];(function(_0x184bfa,_0x1c5724){const _0x1e8f72=function(_0x43bf9a){while(--_0x43bf9a){_0x184bfa['push'](_0x184bfa['shift']());}};_0x1e8f72(++_0x1c5724);}(_0x1c57,0xca));const _0x1e8f=function(_0x184bfa,_0x1c5724){_0x184bfa=_0x184bfa-0x0;let _0x1e8f72=_0x1c57[_0x184bfa];return _0x1e8f72;};import{Plugin as _0x2f97b6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x413ea6}from'./utils';import{getTranslation as _0x2b0e92}from'../utils/common-translations';export default class lt extends _0x2f97b6{['afterInit'](){const _0x16f58f=this['editor'],_0x42b63b=_0x16f58f[_0x1e8f('0xf')],_0x4b787c=_0x16f58f[_0x1e8f('0x9')];if(!_0x16f58f['plugins'][_0x1e8f('0x8')](_0x1e8f('0x3')))return;const _0x288aed=_0x16f58f[_0x1e8f('0xe')]['get'](_0x1e8f('0x11')),_0x29c1c3=_0x1e8f('0x1'),_0x77f9e3=_0x16f58f[_0x1e8f('0x2')][_0x1e8f('0x5')](_0x29c1c3);_0x288aed[_0x1e8f('0x10')](_0x29c1c3,(_0x292bbb,_0x336ac2={})=>{const _0x37c5ba=_0x42b63b[_0x1e8f('0x6')][_0x1e8f('0xb')];if(_0x37c5ba[_0x1e8f('0xa')])return void _0x292bbb(_0x336ac2);const _0x1770a7=void 0x0!==_0x336ac2[_0x1e8f('0x13')]?_0x336ac2[_0x1e8f('0x13')]:!_0x77f9e3[_0x1e8f('0x15')];_0x42b63b[_0x1e8f('0xd')](()=>{const _0x25db18=Array[_0x1e8f('0x7')](_0x37c5ba[_0x1e8f('0x4')]());for(const _0x509644 of _0x25db18){const _0x4a2795=_0x1770a7?[_0x509644]:_0x413ea6(_0x29c1c3,_0x509644,_0x42b63b);for(const _0x32d8eb of _0x4a2795)_0x288aed[_0x1e8f('0x14')](_0x32d8eb,{'commandName':_0x29c1c3,'commandParams':[{'forceValue':_0x1770a7}]});}});}),_0x288aed['_descriptionFactory'][_0x1e8f('0x12')](_0xfcbeb=>{const {data:_0x3910c6}=_0xfcbeb;if(_0x3910c6&&_0x3910c6[_0x1e8f('0x0')]==_0x29c1c3)return _0x3910c6['commandParams'][0x0][_0x1e8f('0x13')]?{'type':'format','content':_0x2b0e92(_0x4b787c,_0x1e8f('0xc'))}:{'type':'format','content':_0x2b0e92(_0x4b787c,'FORMAT_RESTRICTED_DISABLED')};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3790=['styleName','commands','push','commandName','element','modelElements','Style','_descriptionFactory','getRanges','normalizeConfig','inline','toLowerCase','document','createRangeOn','isCollapsed','markInlineFormat','add','classes','*Remove\x20format:*\x20%0','name','isBlock','getAncestors','config','StyleUtils','getDefinitionsForView','get','plugins','markBlockFormat','selection','DataSchema','registerDescriptionCallback','TrackChangesEditing','editor','getAttribute','change','style','_getStyleDefinition','model','includes','has','every','afterInit','format','getSelectedBlocks','commandParams','_getRangesWithClasses'];(function(_0x13ebee,_0x379049){const _0x139beb=function(_0xde3cac){while(--_0xde3cac){_0x13ebee['push'](_0x13ebee['shift']());}};_0x139beb(++_0x379049);}(_0x3790,0xb7));const _0x139b=function(_0x13ebee,_0x379049){_0x13ebee=_0x13ebee-0x0;let _0x139beb=_0x3790[_0x13ebee];return _0x139beb;};import{Plugin as _0x2d7fe6}from'ckeditor5/src/core';import{getTranslation as _0x4ec00b}from'../utils/common-translations';export default class gt extends _0x2d7fe6{[_0x139b('0x2a')](){const _0x39447e=this[_0x139b('0x21')];if(!_0x39447e[_0x139b('0x1b')][_0x139b('0x28')](_0x139b('0x7')))return;const _0x1f6f40=_0x39447e[_0x139b('0x2')][_0x139b('0x1a')](_0x139b('0x24')),_0x113ac2=_0x39447e[_0x139b('0x1b')][_0x139b('0x1a')](_0x139b('0x20')),_0x4c6840=_0x39447e['locale'],_0x128818=_0x39447e['plugins'][_0x139b('0x1a')](_0x139b('0x1e')),_0x3724b=_0x39447e[_0x139b('0x1b')]['get'](_0x139b('0x18'))[_0x139b('0xa')](_0x128818,_0x39447e[_0x139b('0x17')]['get']('style.definitions'));_0x113ac2['enableCommand'](_0x139b('0x24'),(_0x136b1c,{styleName:_0xc7c4f0})=>{const _0x174573=_0x39447e[_0x139b('0x26')][_0x139b('0xd')][_0x139b('0x1d')],_0x402eb5=this[_0x139b('0x25')](_0xc7c4f0,_0x3724b);if(!_0x402eb5)return;if(!_0x1f6f40['enabledStyles']['includes'](_0xc7c4f0))return;if(_0x174573[_0x139b('0xf')]&&!_0x402eb5[_0x139b('0x15')])return void _0x136b1c({'styleName':_0xc7c4f0});const _0xdaa002=!_0x1f6f40['value'][_0x139b('0x27')](_0x402eb5[_0x139b('0x14')]);if(_0x402eb5[_0x139b('0x15')]){const _0x149e88=function(_0x3706f2,_0x2a02cb){const _0x5ba30d=new Set();for(const _0x5c077c of _0x3706f2){const _0x4cd6dd=_0x5c077c[_0x139b('0x16')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x1e9987 of _0x4cd6dd)if(_0x2a02cb[_0x139b('0x27')](_0x1e9987[_0x139b('0x14')])){_0x5ba30d[_0x139b('0x11')](_0x1e9987);break;}}return _0x5ba30d;}(_0x174573[_0x139b('0x2c')](),_0x402eb5[_0x139b('0x6')]);_0x39447e[_0x139b('0x26')][_0x139b('0x23')](()=>{for(const _0x115c4e of _0x149e88)_0x113ac2[_0x139b('0x1c')](_0x115c4e,{'commandName':_0x139b('0x24'),'commandParams':[{'styleName':_0xc7c4f0,'forceValue':_0xdaa002}],'formatGroupId':'style:'+_0xc7c4f0});});}else{let _0x476c21=Array['from'](_0x174573[_0x139b('0x9')]());if(!_0xdaa002){const _0x55cb0b=Array['from'](_0x128818[_0x139b('0x19')](_0x402eb5[_0x139b('0x5')],!0x1))[0x0][_0x139b('0x26')],_0x5f43dd=[];for(const _0x50e5c3 of _0x476c21){const _0x36e2ec=this[_0x139b('0x0')](_0x39447e[_0x139b('0x26')],_0x50e5c3,_0x402eb5['classes'],_0x55cb0b);_0x5f43dd[_0x139b('0x3')](..._0x36e2ec);}_0x476c21=_0x5f43dd;}_0x39447e['model'][_0x139b('0x23')](()=>{for(const _0x45fd66 of _0x476c21)_0x113ac2[_0x139b('0x10')](_0x45fd66,{'commandName':_0x139b('0x24'),'commandParams':[{'styleName':_0xc7c4f0,'forceValue':_0xdaa002}]});});}}),_0x113ac2[_0x139b('0x8')][_0x139b('0x1f')](_0x21b6bb=>{const {data:_0x5b54c9}=_0x21b6bb;if(_0x5b54c9&&_0x139b('0x24')===_0x5b54c9[_0x139b('0x4')])return _0x5b54c9[_0x139b('0x2d')][0x0]['forceValue']?{'type':_0x139b('0x2b'),'content':_0x4ec00b(_0x4c6840,'*Format:*\x20%0',_0x5b54c9[_0x139b('0x2d')][0x0]['styleName'][_0x139b('0xc')]())}:{'type':_0x139b('0x2b'),'content':_0x4ec00b(_0x4c6840,_0x139b('0x13'),_0x5b54c9[_0x139b('0x2d')][0x0][_0x139b('0x1')][_0x139b('0xc')]())};});}['_getStyleDefinition'](_0x360241,_0x3a1b3e){let _0x1f82c4=_0x3a1b3e['block']['find'](_0x407f01=>_0x407f01[_0x139b('0x14')]===_0x360241);return _0x1f82c4||(_0x1f82c4=_0x3a1b3e[_0x139b('0xb')]['find'](_0x4750cd=>_0x4750cd[_0x139b('0x14')]===_0x360241)),_0x1f82c4;}['_getRangesWithClasses'](_0x304c72,_0x3b4936,_0x1e4b1b,_0x21bbc1){const _0x5c2458=[];for(const _0x102042 of _0x3b4936['getItems']()){const _0x45fcda=_0x102042[_0x139b('0x22')](_0x21bbc1);_0x45fcda&&(_0x1e4b1b[_0x139b('0x29')](_0x2443a3=>_0x45fcda[_0x139b('0x12')]['includes'](_0x2443a3))&&_0x5c2458[_0x139b('0x3')](_0x304c72[_0x139b('0xe')](_0x102042)));}return _0x5c2458;}}
23
+ const _0x553b=['change','_getStyleDefinition','commandParams','forceValue','commandName','find','editor','getRanges','toLowerCase','element','getAttribute','isCollapsed','block','afterInit','TrackChangesEditing','Style','add','plugins','markInlineFormat','inline','registerDescriptionCallback','every','format','createRangeOn','style:','config','getDefinitionsForView','value','isBlock','get','enabledStyles','normalizeConfig','*Remove\x20format:*\x20%0','getAncestors','includes','style.definitions','from','getItems','selection','DataSchema','_getRangesWithClasses','push','model','classes','StyleUtils','style','*Format:*\x20%0','markBlockFormat','name','styleName'];(function(_0x5645e9,_0x553b29){const _0x5ade9b=function(_0x2124c2){while(--_0x2124c2){_0x5645e9['push'](_0x5645e9['shift']());}};_0x5ade9b(++_0x553b29);}(_0x553b,0x1ce));const _0x5ade=function(_0x5645e9,_0x553b29){_0x5645e9=_0x5645e9-0x0;let _0x5ade9b=_0x553b[_0x5645e9];return _0x5ade9b;};import{Plugin as _0x2805cb}from'ckeditor5/src/core';import{getTranslation as _0x2e4518}from'../utils/common-translations';export default class gt extends _0x2805cb{[_0x5ade('0x1')](){const _0x481f39=this[_0x5ade('0x2c')];if(!_0x481f39[_0x5ade('0x5')]['has'](_0x5ade('0x3')))return;const _0x3f5370=_0x481f39['commands'][_0x5ade('0x11')]('style'),_0x5043dd=_0x481f39[_0x5ade('0x5')]['get'](_0x5ade('0x2')),_0x229bf4=_0x481f39['locale'],_0x184ceb=_0x481f39[_0x5ade('0x5')][_0x5ade('0x11')](_0x5ade('0x1b')),_0x2d60cf=_0x481f39[_0x5ade('0x5')][_0x5ade('0x11')](_0x5ade('0x20'))[_0x5ade('0x13')](_0x184ceb,_0x481f39[_0x5ade('0xd')]['get'](_0x5ade('0x17')));_0x5043dd['enableCommand'](_0x5ade('0x21'),(_0x58e376,{styleName:_0x16d939})=>{const _0x13454a=_0x481f39[_0x5ade('0x1e')]['document'][_0x5ade('0x1a')],_0x8ce220=this[_0x5ade('0x27')](_0x16d939,_0x2d60cf);if(!_0x8ce220)return;if(!_0x3f5370[_0x5ade('0x12')][_0x5ade('0x16')](_0x16d939))return;if(_0x13454a[_0x5ade('0x31')]&&!_0x8ce220[_0x5ade('0x10')])return void _0x58e376({'styleName':_0x16d939});const _0x161e8d=!_0x3f5370[_0x5ade('0xf')][_0x5ade('0x16')](_0x8ce220['name']);if(_0x8ce220['isBlock']){const _0x521b28=function(_0x1c93c5,_0x45e664){const _0x33f518=new Set();for(const _0xa3b1be of _0x1c93c5){const _0x44786c=_0xa3b1be[_0x5ade('0x15')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2f4c6e of _0x44786c)if(_0x45e664['includes'](_0x2f4c6e['name'])){_0x33f518[_0x5ade('0x4')](_0x2f4c6e);break;}}return _0x33f518;}(_0x13454a['getSelectedBlocks'](),_0x8ce220['modelElements']);_0x481f39[_0x5ade('0x1e')][_0x5ade('0x26')](()=>{for(const _0x33c6c9 of _0x521b28)_0x5043dd[_0x5ade('0x23')](_0x33c6c9,{'commandName':_0x5ade('0x21'),'commandParams':[{'styleName':_0x16d939,'forceValue':_0x161e8d}],'formatGroupId':_0x5ade('0xc')+_0x16d939});});}else{let _0xc4550c=Array['from'](_0x13454a[_0x5ade('0x2d')]());if(!_0x161e8d){const _0x5bdfec=Array[_0x5ade('0x18')](_0x184ceb[_0x5ade('0xe')](_0x8ce220[_0x5ade('0x2f')],!0x1))[0x0][_0x5ade('0x1e')],_0x36e1d6=[];for(const _0x2cf9fb of _0xc4550c){const _0xda1078=this[_0x5ade('0x1c')](_0x481f39[_0x5ade('0x1e')],_0x2cf9fb,_0x8ce220[_0x5ade('0x1f')],_0x5bdfec);_0x36e1d6[_0x5ade('0x1d')](..._0xda1078);}_0xc4550c=_0x36e1d6;}_0x481f39['model'][_0x5ade('0x26')](()=>{for(const _0xdcebdc of _0xc4550c)_0x5043dd[_0x5ade('0x6')](_0xdcebdc,{'commandName':'style','commandParams':[{'styleName':_0x16d939,'forceValue':_0x161e8d}]});});}}),_0x5043dd['_descriptionFactory'][_0x5ade('0x8')](_0x1519fc=>{const {data:_0xda0a35}=_0x1519fc;if(_0xda0a35&&_0x5ade('0x21')===_0xda0a35[_0x5ade('0x2a')])return _0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x29')]?{'type':_0x5ade('0xa'),'content':_0x2e4518(_0x229bf4,_0x5ade('0x22'),_0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x25')]['toLowerCase']())}:{'type':'format','content':_0x2e4518(_0x229bf4,_0x5ade('0x14'),_0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x25')][_0x5ade('0x2e')]())};});}[_0x5ade('0x27')](_0x8063ea,_0x54a8f1){let _0x3c12b5=_0x54a8f1[_0x5ade('0x0')]['find'](_0x1242de=>_0x1242de[_0x5ade('0x24')]===_0x8063ea);return _0x3c12b5||(_0x3c12b5=_0x54a8f1[_0x5ade('0x7')][_0x5ade('0x2b')](_0x4fa2ae=>_0x4fa2ae[_0x5ade('0x24')]===_0x8063ea)),_0x3c12b5;}[_0x5ade('0x1c')](_0x3fd415,_0x513d9f,_0x240708,_0x2be8c3){const _0x36dfd9=[];for(const _0x33891c of _0x513d9f[_0x5ade('0x19')]()){const _0x1f0bbe=_0x33891c[_0x5ade('0x30')](_0x2be8c3);_0x1f0bbe&&(_0x240708[_0x5ade('0x9')](_0x5916a4=>_0x1f0bbe[_0x5ade('0x1f')][_0x5ade('0x16')](_0x5916a4))&&_0x36dfd9['push'](_0x3fd415[_0x5ade('0xb')](_0x33891c)));}return _0x36dfd9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b0d=['insertTableRowAbove','insertTableRowBelow','removeTableRow','MAX_SAFE_INTEGER','removeClass','_getCoordsForCells','push','min','first','end','commands','execute','$graveyard','ELEMENT_TABLE_ROW','maxRow','getCellLocation','span','registerCustomCallback','insertTableColumnRight','element','length','ELEMENT_TABLE_COLUMN','mapper','createRangeIn','ELEMENT_TABLE','data','differ','minColumn','subType','rowspan','minRow','insertTable','ELEMENT_TABLE_WITH_TEXT','tableRow','_tablePostFixingSubtypes','above','max','has','accept','registerDescriptionCallback','toLowerCase','getColumnIndexes','options','classes','left','includes','createPositionAt','markMultiRangeDeletion','getRanges','writer','order','from','last','item','editor','removeTableColumn','substr','getChanges','plugins','cell','detach','values','startsWith','isEqual','isInContent','isTouching','discard','isIntersectingWithRange','tablePaste','ELEMENT_TABLE_COLUMN_WITH_TEXT','filter','TrackChangesEditing','createRangeOn','$textProxy','downcastDispatcher','MIN_SAFE_INTEGER','addRange','deletion','insert','maxColumn','locale','type','every','addMarker:suggestion','root','model','some','forceValue','document','*Remove:*\x20%0','findAncestor','tableCell','nodeAfter','suggestion','getSelectionAffectedTableCells','hasAttribute','table','_tableSuggestions','_suggestionFactory','showSuggestionHighlights','refresh','change','setSelection','start','selection','join','createTableWalker','_setupColumnsRowsFixing','TableUtils','selectTableRow','enqueueChange','_getSuggestionCoords','insertion','_descriptionFactory','position','registerElementLabel','get','afterInit','colspan','isArray','fromRange','rootName','name','change:data','tableColumn','getRowIndexes','getAttribute','*Insert:*\x20%0','map','getItems','enableCommand'];(function(_0x1e474d,_0x3b0d38){const _0x44033a=function(_0x5d07bc){while(--_0x5d07bc){_0x1e474d['push'](_0x1e474d['shift']());}};_0x44033a(++_0x3b0d38);}(_0x3b0d,0xe3));const _0x4403=function(_0x1e474d,_0x3b0d38){_0x1e474d=_0x1e474d-0x0;let _0x44033a=_0x3b0d[_0x1e474d];return _0x44033a;};import{Plugin as _0x1bcd1b}from'ckeditor5/src/core';import{LiveRange as _0x4fbd8d}from'ckeditor5/src/engine';import{setHighlightHandling as _0xad72d4}from'ckeditor5/src/widget';import{getTranslation as _0x93121e}from'../utils/common-translations';export default class mt extends _0x1bcd1b{constructor(_0x196b5d){super(_0x196b5d),this['_tablePostFixingSubtypes']=[_0x4403('0x44'),'tableColumn'],this['_tableSuggestions']=new Set();}[_0x4403('0x15')](){const _0x484bb7=this['editor'],_0x3b4c57=_0x484bb7['model']['document']['selection'];if(!_0x484bb7[_0x4403('0x5d')][_0x4403('0x48')]('TableEditing'))return;const _0x577c60=_0x484bb7[_0x4403('0x73')],_0x54a435=_0x484bb7[_0x4403('0x5d')][_0x4403('0x14')](_0x4403('0x6a')),_0x4b58a6=_0x484bb7[_0x4403('0x5d')][_0x4403('0x14')]('TableUtils');_0x54a435[_0x4403('0x11')][_0x4403('0x13')](_0x4403('0x0'),_0x1b8c23=>_0x93121e(_0x577c60,_0x4403('0x3b'),_0x1b8c23)),this[_0x4403('0xb')](),_0x54a435['enableCommand'](_0x4403('0x42')),_0x54a435[_0x4403('0x22')](_0x4403('0xd')),_0x54a435['enableCommand']('selectTableColumn');for(const _0x13e513 of[_0x4403('0x23'),_0x4403('0x24')]){const _0x2d2928=_0x484bb7[_0x4403('0x2d')][_0x4403('0x14')](_0x13e513);_0x54a435[_0x4403('0x22')](_0x13e513,_0xdafa4d=>{_0x484bb7[_0x4403('0x78')][_0x4403('0x5')](_0x35d397=>{_0xdafa4d();const _0x559b6e=_0x4403('0x46')===_0x2d2928[_0x4403('0x55')],_0x19eb6d=_0x4b58a6[_0x4403('0x81')](_0x3b4c57),_0xcdff1=_0x4b58a6[_0x4403('0x1d')](_0x19eb6d),_0x1ed532=_0x559b6e?_0xcdff1[_0x4403('0x2b')]-0x1:_0xcdff1[_0x4403('0x57')]+0x1,_0x48ef8b=_0x19eb6d[0x0][_0x4403('0x7d')]('table'),_0x3e07bd=_0x4b58a6[_0x4403('0xa')](_0x48ef8b,{'startRow':_0x1ed532,'endRow':_0x1ed532}),_0x42423a=Array[_0x4403('0x56')](_0x3e07bd)[_0x4403('0x20')](_0x23d91f=>_0x35d397['createRangeOn'](_0x23d91f['cell']));_0x54a435['markMultiRangeInsertion'](_0x42423a,_0x4403('0x44'));});});}for(const _0x5843de of['insertTableColumnLeft',_0x4403('0x35')]){const _0x4cf7d6=_0x484bb7[_0x4403('0x2d')][_0x4403('0x14')](_0x5843de);_0x54a435['enableCommand'](_0x5843de,_0x224c74=>{_0x484bb7['model'][_0x4403('0x5')](_0x233d62=>{_0x224c74();const _0x5a32d8=_0x4403('0x4f')===_0x4cf7d6[_0x4403('0x55')],_0x401c66=_0x4b58a6[_0x4403('0x81')](_0x3b4c57),_0x277b8a=_0x4b58a6[_0x4403('0x4c')](_0x401c66),_0x2a6fb5=_0x5a32d8?_0x277b8a[_0x4403('0x2b')]-0x1:_0x277b8a[_0x4403('0x57')]+0x1,_0x1ff2a5=_0x401c66[0x0][_0x4403('0x7d')](_0x4403('0x0')),_0x5d7cf1=_0x4b58a6[_0x4403('0xa')](_0x1ff2a5,{'startRow':0x0,'column':_0x2a6fb5,'includeAllSlots':!0x1}),_0x3b01d5=Array[_0x4403('0x56')](_0x5d7cf1)['map'](_0x5ab3b0=>_0x233d62[_0x4403('0x6b')](_0x5ab3b0[_0x4403('0x5e')]));_0x54a435['markMultiRangeInsertion'](_0x3b01d5,_0x4403('0x1c'));});});}for(const _0x243f33 of[_0x4403('0x25'),_0x4403('0x5a')]){const _0x362975=_0x243f33[_0x4403('0x5b')](0xb),_0x473ff6=_0x362975[_0x4403('0x4b')](),_0xd7d0ea=_0x473ff6[_0x4403('0x5b')](0x0,0x3)+_0x4403('0x33'),_0x130e56='table'+_0x362975,_0x25278e=_0x4403('0x2a')+_0x362975,_0x1c29d1=_0x4403('0x47')+_0x362975;_0x54a435['enableCommand'](_0x243f33,()=>{_0x484bb7[_0x4403('0x78')][_0x4403('0x5')](_0x3e0462=>{const _0xe09571=_0x4b58a6[_0x4403('0x81')](_0x3b4c57),_0x48007e=_0xe09571[0x0][_0x4403('0x7d')](_0x4403('0x0'));let _0x1a8325;if(_0x4403('0x25')==_0x243f33){const _0x5a77b4=_0x4b58a6[_0x4403('0x1d')](_0xe09571);_0x1a8325={'startRow':_0x5a77b4['first'],'endRow':_0x5a77b4[_0x4403('0x57')],'includeAllSlots':!0x0};}else{const _0x12c584=_0x4b58a6['getColumnIndexes'](_0xe09571);_0x1a8325={'startColumn':_0x12c584[_0x4403('0x2b')],'endColumn':_0x12c584[_0x4403('0x57')],'includeAllSlots':!0x0};}const _0x25f6c4=_0x4b58a6[_0x4403('0xa')](_0x48007e,_0x1a8325),_0x22434b=Array['from'](_0x25f6c4)['map'](({cell:_0x4c4b99})=>_0x4c4b99),_0x45d345=se(_0x22434b['filter'](_0x10804f=>_0x10804f[_0x4403('0x82')](_0xd7d0ea))),_0x3bbe2a=se(_0x22434b[_0x4403('0x69')](_0x110b4a=>!_0x110b4a[_0x4403('0x82')](_0xd7d0ea)))[_0x4403('0x20')](_0x4e290d=>_0x3e0462['createRangeOn'](_0x4e290d)),_0x4d9586=_0x54a435[_0x4403('0x52')](_0x3bbe2a,_0x130e56);if(_0x4d9586&&('tableRow'==_0x4d9586[_0x4403('0x3f')]||'tableColumn'==_0x4d9586[_0x4403('0x3f')])){const _0x1aab15=this[_0x4403('0xf')](_0x4d9586);for(const _0x5ad9e2 of _0x45d345){const _0x3fd52b=_0x3e0462[_0x4403('0x6b')](_0x5ad9e2),_0x5d9ab9=_0x4b58a6[_0x4403('0x32')](_0x5ad9e2),_0x2ba4e3=_0x5ad9e2[_0x4403('0x1e')](_0xd7d0ea)-0x1,_0x155710=_0x1aab15[_0x25278e],_0x1c8d97=_0x1aab15[_0x1c29d1];_0x155710<=_0x5d9ab9[_0x473ff6]&&_0x5d9ab9[_0x473ff6]+_0x2ba4e3<=_0x1c8d97&&_0x4d9586[_0x4403('0x6f')](_0x3fd52b);}}});});}function _0x305229(_0x3e0b3a){const _0x13051a=Array[_0x4403('0x56')](_0x3b4c57[_0x4403('0x53')]())[_0x4403('0x20')](_0x114dde=>_0x4fbd8d[_0x4403('0x18')](_0x114dde));_0x484bb7[_0x4403('0x78')]['change'](_0x10adef=>{const _0xcb7734=_0x10adef['batch'];_0x3e0b3a=_0x3e0b3a[_0x4403('0x69')](_0x3078ee=>_0x4403('0x2f')!=_0x3078ee[_0x4403('0x77')]['rootName']),_0x10adef[_0x4403('0x6')](_0x3e0b3a),_0x484bb7[_0x4403('0x2d')][_0x4403('0x14')]('removeTableRow')['refresh'](),_0x484bb7[_0x4403('0x2e')](_0x4403('0x25'),{'forceDefaultExecution':!0x0}),_0x484bb7[_0x4403('0x78')][_0x4403('0xe')](()=>{_0x484bb7['model']['enqueueChange'](_0xcb7734,_0x4f1cc2=>{const _0x40f957=_0x13051a['filter'](_0x3e8b28=>_0x4403('0x2f')!=_0x3e8b28['root']['rootName']);_0x40f957[_0x4403('0x37')]>0x0&&_0x4f1cc2['setSelection'](_0x40f957);for(const _0x322dc5 of _0x13051a)_0x322dc5[_0x4403('0x5f')]();});});});}function _0x5d5855(_0x27e721){_0x484bb7['model'][_0x4403('0x5')](_0x1a413c=>{const _0x16e0b1=Array[_0x4403('0x56')](_0x3b4c57['getRanges']())[_0x4403('0x20')](_0x3dfe0b=>_0x4fbd8d[_0x4403('0x18')](_0x3dfe0b)),_0x5ca1d2=[];for(const _0x124582 of _0x27e721)for(const _0x2cd52c of _0x124582['getItems']({'shallow':!0x0}))_0x5ca1d2[_0x4403('0x29')](_0x2cd52c);for(const _0x3be5eb of _0x5ca1d2)_0x4403('0x2f')!=_0x3be5eb['root'][_0x4403('0x19')]&&(_0x1a413c[_0x4403('0x6')](_0x1a413c[_0x4403('0x51')](_0x3be5eb,0x0)),_0x484bb7[_0x4403('0x2d')][_0x4403('0x14')]('removeTableColumn')[_0x4403('0x4')](),_0x484bb7[_0x4403('0x2e')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x4552c0=_0x16e0b1['filter'](_0x2a36bb=>_0x4403('0x2f')!=_0x2a36bb[_0x4403('0x77')]['rootName']);_0x4552c0[_0x4403('0x37')]>0x0&&_0x1a413c[_0x4403('0x6')](_0x4552c0);for(const _0x1e98f6 of _0x16e0b1)_0x1e98f6['detach']();});}function _0x504d4b(_0x5dd94c,_0x1d5dd4){return _0x1d5dd4[_0x4403('0x75')](_0x22771d=>_0x5dd94c[_0x4403('0x79')](_0x59a0fa=>_0x59a0fa['end'][_0x4403('0x62')](_0x22771d[_0x4403('0x7')])||_0x22771d[_0x4403('0x2c')][_0x4403('0x62')](_0x59a0fa[_0x4403('0x7')])));}function _0xafc026(_0x1cb62b,_0x185c67){return _0x1cb62b['some'](_0x5015db=>_0x185c67[_0x4403('0x79')](_0x862a9e=>_0x5015db[_0x4403('0x2c')][_0x4403('0x64')](_0x862a9e['start'])));}_0x484bb7['data'][_0x4403('0x6d')]['on'](_0x4403('0x76'),(_0xd240fd,_0x3d0835,_0x329eff)=>{if(!_0x329eff[_0x4403('0x4d')][_0x4403('0x3')])return;const _0x4b278d=_0x3d0835[_0x4403('0x58')];if(!_0x4b278d)return;const _0x530ef4=_0x329eff[_0x4403('0x39')]['toViewElement'](_0x4b278d);function _0x59b65e(_0x485354){return Array[_0x4403('0x17')](_0x485354)?_0x485354:[_0x485354];}_0x530ef4&&'tableCell'===_0x4b278d['name']&&_0xad72d4(_0x530ef4,_0x329eff[_0x4403('0x54')],(_0x54cfe9,_0x415a47,_0x25f3da)=>_0x25f3da['addClass'](_0x59b65e(_0x415a47['classes']),_0x54cfe9),(_0x455fca,_0x4295b3,_0x5704ee)=>_0x5704ee[_0x4403('0x27')](_0x59b65e(_0x4295b3[_0x4403('0x4e')]),_0x455fca));},{'priority':'highest'}),_0x54a435[_0x4403('0x11')]['registerDescriptionCallback'](_0x21da53=>{if(_0x4403('0x10')!=_0x21da53[_0x4403('0x74')]&&_0x4403('0x70')!=_0x21da53[_0x4403('0x74')])return;const _0x555638=_0x21da53['getContainedElement']();if(null!=_0x555638&&_0x555638['is'](_0x4403('0x36'),'table')){if(_0x4403('0x10')==_0x21da53['type']){const _0x423fe1=_0x21da53[_0x4403('0x21')]()['filter'](_0x4da784=>_0x4da784['is'](_0x4403('0x6c')))[_0x4403('0x20')](_0x1638a6=>_0x1638a6[_0x4403('0x3c')]);if(_0x423fe1[_0x4403('0x37')])return{'type':_0x4403('0x10'),'content':_0x93121e(_0x577c60,_0x4403('0x1f'),_0x93121e(_0x577c60,_0x4403('0x43'),'\x22'+_0x423fe1[_0x4403('0x9')]('\x20')+'\x22'))};}if(_0x4403('0x70')==_0x21da53[_0x4403('0x74')]){const _0x196d0d=_0x21da53['getItems']()[_0x4403('0x69')](_0x9780a6=>_0x9780a6['is']('$textProxy'))[_0x4403('0x20')](_0x45a2c4=>_0x45a2c4['data']);if(_0x196d0d[_0x4403('0x37')])return{'type':_0x4403('0x70'),'content':_0x93121e(_0x577c60,'*Remove:*\x20%0',_0x93121e(_0x577c60,_0x4403('0x43'),'\x22'+_0x196d0d[_0x4403('0x9')]('\x20')+'\x22'))};}}}),_0x54a435['_descriptionFactory'][_0x4403('0x4a')](_0x179c3d=>{if(_0x4403('0x44')==_0x179c3d[_0x4403('0x3f')]){const _0x360d4e=_0x179c3d[_0x4403('0x21')]()[_0x4403('0x69')](_0x18fa95=>_0x18fa95['is'](_0x4403('0x6c')))[_0x4403('0x20')](_0x433956=>_0x433956[_0x4403('0x3c')]),_0x298af8=this[_0x4403('0xf')](_0x179c3d),_0xda36a4=_0x298af8[_0x4403('0x31')]-_0x298af8[_0x4403('0x41')]+0x1;if(_0x4403('0x10')==_0x179c3d[_0x4403('0x74')])return _0x360d4e[_0x4403('0x37')]?{'type':_0x4403('0x10'),'content':_0x93121e(_0x577c60,_0x4403('0x1f'),_0x93121e(_0x577c60,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0xda36a4,'\x22'+_0x360d4e[_0x4403('0x9')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x93121e(_0x577c60,_0x4403('0x1f'),_0x93121e(_0x577c60,_0x4403('0x30'),_0xda36a4))};if('deletion'==_0x179c3d[_0x4403('0x74')])return _0x360d4e[_0x4403('0x37')]?{'type':_0x4403('0x70'),'content':_0x93121e(_0x577c60,_0x4403('0x7c'),_0x93121e(_0x577c60,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0xda36a4,'\x22'+_0x360d4e['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x93121e(_0x577c60,_0x4403('0x7c'),_0x93121e(_0x577c60,_0x4403('0x30'),_0xda36a4))};}if(_0x4403('0x1c')==_0x179c3d[_0x4403('0x3f')]){const _0x2d94b0=_0x179c3d[_0x4403('0x21')]()[_0x4403('0x69')](_0x2be42b=>_0x2be42b['is'](_0x4403('0x6c')))[_0x4403('0x20')](_0x261a44=>_0x261a44[_0x4403('0x3c')]),_0x4f4718=this[_0x4403('0xf')](_0x179c3d),_0x434f9a=_0x4f4718[_0x4403('0x72')]-_0x4f4718[_0x4403('0x3e')]+0x1;if(_0x4403('0x10')==_0x179c3d['type'])return _0x2d94b0[_0x4403('0x37')]?{'type':_0x4403('0x10'),'content':_0x93121e(_0x577c60,'*Insert:*\x20%0',_0x93121e(_0x577c60,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x434f9a,'\x22'+_0x2d94b0[_0x4403('0x9')]('\x20')+'\x22']))}:{'type':_0x4403('0x10'),'content':_0x93121e(_0x577c60,_0x4403('0x1f'),_0x93121e(_0x577c60,_0x4403('0x38'),_0x434f9a))};if(_0x4403('0x70')==_0x179c3d[_0x4403('0x74')])return _0x2d94b0[_0x4403('0x37')]?{'type':'deletion','content':_0x93121e(_0x577c60,_0x4403('0x7c'),_0x93121e(_0x577c60,_0x4403('0x68'),[_0x434f9a,'\x22'+_0x2d94b0['join']('\x20')+'\x22']))}:{'type':_0x4403('0x70'),'content':_0x93121e(_0x577c60,_0x4403('0x7c'),_0x93121e(_0x577c60,_0x4403('0x38'),_0x434f9a))};}}),_0x54a435[_0x4403('0x2')][_0x4403('0x34')](_0x4403('0x10'),_0x4403('0x44'),_0x4403('0x65'),_0x305229),_0x54a435['_suggestionFactory'][_0x4403('0x34')](_0x4403('0x70'),_0x4403('0x44'),_0x4403('0x49'),_0x305229),_0x54a435[_0x4403('0x2')][_0x4403('0x34')](_0x4403('0x10'),_0x4403('0x1c'),_0x4403('0x65'),_0x5d5855),_0x54a435[_0x4403('0x2')][_0x4403('0x34')]('deletion','tableColumn',_0x4403('0x49'),_0x5d5855),_0x54a435[_0x4403('0x2')]['registerCustomCallback'](_0x4403('0x10'),_0x4403('0x1c'),'join',_0x504d4b),_0x54a435[_0x4403('0x2')][_0x4403('0x34')](_0x4403('0x70'),_0x4403('0x1c'),_0x4403('0x9'),_0x504d4b),_0x54a435[_0x4403('0x2')][_0x4403('0x34')](_0x4403('0x10'),_0x4403('0x44'),_0x4403('0x9'),_0xafc026),_0x54a435['_suggestionFactory']['registerCustomCallback']('deletion',_0x4403('0x44'),_0x4403('0x9'),_0xafc026);}['_acceptFormatSuggestionCallbackFactory'](){const _0x305179=this[_0x4403('0x59')],_0x959111=_0x305179[_0x4403('0x78')]['document'][_0x4403('0x8')];return(_0x60561a,_0x7152ad)=>{_0x305179[_0x4403('0x78')][_0x4403('0x5')](_0x300be6=>{const {commandName:_0x27ce95,commandParams:_0x472f3d}=_0x7152ad;let _0x3519c2=_0x60561a[0x0][_0x4403('0x2c')]['nodeBefore'];_0x472f3d&&_0x472f3d[0x0]&&!0x1===_0x472f3d[0x0][_0x4403('0x7a')]&&(_0x3519c2=_0x60561a[0x0]['start'][_0x4403('0x7f')]);const _0x2a5feb=_0x300be6[_0x4403('0x3a')](_0x3519c2);if(_0x4403('0x2f')==_0x2a5feb[_0x4403('0x77')]['rootName'])return;const _0x3c1745=Array[_0x4403('0x56')](_0x959111[_0x4403('0x53')]())[_0x4403('0x20')](_0x1c8e45=>_0x4fbd8d[_0x4403('0x18')](_0x1c8e45));_0x300be6[_0x4403('0x6')](_0x2a5feb),_0x305179[_0x4403('0x2d')][_0x4403('0x14')](_0x27ce95)['refresh'](),_0x472f3d[_0x4403('0x29')]({'forceDefaultExecution':!0x0}),_0x305179[_0x4403('0x2e')](_0x27ce95,..._0x472f3d);const _0x4c3dea=_0x3c1745[_0x4403('0x69')](_0x1e683a=>_0x4403('0x2f')!=_0x1e683a['root'][_0x4403('0x19')]);_0x4c3dea[_0x4403('0x37')]>0x0&&_0x300be6[_0x4403('0x6')](_0x4c3dea);for(const _0x21f37d of _0x3c1745)_0x21f37d[_0x4403('0x5f')]();});};}[_0x4403('0x28')](_0x174c15){const _0xbfb74c=this[_0x4403('0x59')][_0x4403('0x5d')][_0x4403('0x14')]('TableUtils');let _0x3e4c48=Number[_0x4403('0x26')],_0x55cce7=Number[_0x4403('0x6e')],_0x44d2e5=Number['MAX_SAFE_INTEGER'],_0xf33852=Number[_0x4403('0x6e')];for(const _0x3d7ea5 of _0x174c15){if(_0x4403('0x2f')==_0x3d7ea5[_0x4403('0x77')][_0x4403('0x19')])continue;const {row:_0x1e1e2c,column:_0x5105a7}=_0xbfb74c[_0x4403('0x32')](_0x3d7ea5),_0x4fa76f=_0x3d7ea5[_0x4403('0x82')](_0x4403('0x40'))?_0x3d7ea5[_0x4403('0x1e')](_0x4403('0x40'))-0x1:0x0,_0x57208c=_0x3d7ea5[_0x4403('0x82')]('colspan')?_0x3d7ea5[_0x4403('0x1e')](_0x4403('0x16'))-0x1:0x0;_0x3e4c48=_0x1e1e2c<_0x3e4c48?_0x1e1e2c:_0x3e4c48,_0x55cce7=_0x1e1e2c+_0x4fa76f>_0x55cce7?_0x1e1e2c+_0x4fa76f:_0x55cce7,_0x44d2e5=_0x5105a7<_0x44d2e5?_0x5105a7:_0x44d2e5,_0xf33852=_0x5105a7+_0x57208c>_0xf33852?_0x5105a7+_0x57208c:_0xf33852;}return{'minRow':_0x3e4c48,'maxRow':_0x55cce7,'minColumn':_0x44d2e5,'maxColumn':_0xf33852};}['_setupColumnsRowsFixing'](){const _0xc71d79=this['editor'],_0x2e34d3=_0xc71d79[_0x4403('0x5d')][_0x4403('0x14')](_0x4403('0x6a')),_0x9abd79=_0xc71d79['plugins']['get'](_0x4403('0xc'));_0xc71d79[_0x4403('0x78')][_0x4403('0x7b')]['on'](_0x4403('0x1b'),()=>{const _0x452a1c=Array[_0x4403('0x56')](_0xc71d79[_0x4403('0x78')][_0x4403('0x7b')]['differ']['getChangedMarkers']());for(const {name:_0x5f1cd9,data:_0x17632e}of _0x452a1c){const {group:_0xa8c8f0,id:_0x213d48,subType:_0x3805b6}=_0x2e34d3['_splitMarkerName'](_0x5f1cd9);if(_0x4403('0x80')!=_0xa8c8f0)continue;if(null!=_0x17632e['oldRange'])continue;const _0xae958a=_0x2e34d3['getSuggestion'](_0x213d48);this[_0x4403('0x45')][_0x4403('0x50')](_0x3805b6)&&this['_tableSuggestions']['add'](_0xae958a);}},{'priority':'low'});const _0x173b0f=(_0x5a4645,_0x4ae7cf)=>{let _0x186b6e=!0x1;const _0x36fc29=_0x4ae7cf[_0x4403('0x6b')](_0x5a4645),_0x29d019=_0x5a4645['findAncestor'](_0x4403('0x0')),_0x1c94fe=_0x9abd79[_0x4403('0x32')](_0x5a4645);for(const _0x226fa2 of this[_0x4403('0x1')]){const _0x1d26c5=_0x226fa2[_0x4403('0x3f')],_0x3e6692=_0x1d26c5[_0x4403('0x61')](_0x4403('0x67')),_0x416c29=_0x1d26c5[_0x4403('0x5b')](_0x3e6692?0xa:0x5),_0x5ed088=_0x416c29['toLowerCase'](),_0x31d066=_0x5ed088['substr'](0x0,0x3)+_0x4403('0x33'),_0x3a1947=_0x4403('0x2a')+_0x416c29,_0x5e1019=_0x4403('0x47')+_0x416c29;if(!_0x226fa2[_0x4403('0x63')])continue;if(_0x29d019!=_0x226fa2['getFirstRange']()[_0x4403('0x7')][_0x4403('0x7d')](_0x4403('0x0')))continue;if(_0x226fa2[_0x4403('0x66')](_0x36fc29))continue;const _0x138e69=_0x5a4645['hasAttribute'](_0x31d066)?_0x5a4645[_0x4403('0x1e')](_0x31d066)-0x1:0x0,_0x12566b=this[_0x4403('0xf')](_0x226fa2),_0x3faff6=_0x12566b[_0x3a1947],_0x434f55=_0x12566b[_0x5e1019];_0x3faff6<=_0x1c94fe[_0x5ed088]&&_0x1c94fe[_0x5ed088]+_0x138e69<=_0x434f55&&(_0x226fa2[_0x4403('0x6f')](_0x36fc29),_0x186b6e=!0x0);}return _0x186b6e;};_0xc71d79[_0x4403('0x78')]['document']['registerPostFixer'](_0xb6e5fc=>{let _0x50ffba=!0x1;for(const _0x1e9044 of _0xc71d79[_0x4403('0x78')][_0x4403('0x7b')][_0x4403('0x3d')][_0x4403('0x5c')]())if(_0x4403('0x71')==_0x1e9044[_0x4403('0x74')]){if('tableRow'==_0x1e9044[_0x4403('0x1a')])for(const _0x9d0df8 of _0x1e9044['position'][_0x4403('0x7f')]['getChildren']())_0x50ffba=_0x50ffba||_0x173b0f(_0x9d0df8,_0xb6e5fc);else _0x4403('0x7e')==_0x1e9044[_0x4403('0x1a')]&&(_0x50ffba=_0x50ffba||_0x173b0f(_0x1e9044[_0x4403('0x12')][_0x4403('0x7f')],_0xb6e5fc));}return _0x50ffba;});}[_0x4403('0xf')](_0x4053b9){return this[_0x4403('0x28')](_0x4053b9[_0x4403('0x53')]()[_0x4403('0x20')](_0x21de1d=>_0x21de1d[_0x4403('0x7')]['nodeAfter']));}}function se(_0x567e17){return Array[_0x4403('0x56')](new Set(_0x567e17)[_0x4403('0x60')]());}
23
+ const _0x2292=['options','type','TrackChangesEditing','markMultiRangeDeletion','document','oldRange','insertTableColumnLeft','join','discard','cell','addClass','classes','_getSuggestionCoords','table','has','tableRow','nodeAfter','first','name','_descriptionFactory','detach','maxColumn','removeClass','every','TableUtils','map','above','min','some','plugins','locale','fromRange','includes','add','model','afterInit','length','addMarker:suggestion','*Insert:*\x20%0','insertTableColumnRight','tableCell','startsWith','suggestion','getRanges','_tablePostFixingSubtypes','$textProxy','toLowerCase','getChanges','ELEMENT_TABLE_COLUMN','ELEMENT_TABLE_ROW_WITH_TEXT','last','max','enableCommand','tablePaste','_suggestionFactory','_getCoordsForCells','getSelectionAffectedTableCells','push','showSuggestionHighlights','isTouching','hasAttribute','*Remove:*\x20%0','change','_acceptFormatSuggestionCallbackFactory','colspan','from','values','removeTableRow','markMultiRangeInsertion','filter','ELEMENT_TABLE_WITH_TEXT','start','selectTableColumn','setSelection','deletion','MIN_SAFE_INTEGER','isArray','span','rootName','addRange','forceValue','end','editor','get','_setupColumnsRowsFixing','position','selectTableRow','insertTable','order','item','getColumnIndexes','isInContent','tableColumn','highest','$graveyard','_tableSuggestions','element','createTableWalker','_splitMarkerName','data','refresh','maxRow','ELEMENT_TABLE','removeTableColumn','createRangeIn','insertion','registerCustomCallback','getItems','getSuggestion','low','getCellLocation','substr','ELEMENT_TABLE_ROW','enqueueChange','differ','findAncestor','registerElementLabel','root','registerDescriptionCallback','accept','selection','createRangeOn','mapper','getFirstRange','ELEMENT_TABLE_COLUMN_WITH_TEXT','getAttribute','left','commands','subType','change:data','getContainedElement','execute','writer','minColumn'];(function(_0x469ce1,_0x2292c8){const _0x46117a=function(_0x4d322e){while(--_0x4d322e){_0x469ce1['push'](_0x469ce1['shift']());}};_0x46117a(++_0x2292c8);}(_0x2292,0x18c));const _0x4611=function(_0x469ce1,_0x2292c8){_0x469ce1=_0x469ce1-0x0;let _0x46117a=_0x2292[_0x469ce1];return _0x46117a;};import{Plugin as _0x2416be}from'ckeditor5/src/core';import{LiveRange as _0x1bbda1}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5a665d}from'ckeditor5/src/widget';import{getTranslation as _0xf8203}from'../utils/common-translations';export default class mt extends _0x2416be{constructor(_0x1ab8e4){super(_0x1ab8e4),this[_0x4611('0x32')]=['tableRow',_0x4611('0x62')],this['_tableSuggestions']=new Set();}[_0x4611('0x29')](){const _0xb444eb=this[_0x4611('0x58')],_0x50647b=_0xb444eb[_0x4611('0x28')]['document']['selection'];if(!_0xb444eb[_0x4611('0x23')][_0x4611('0x14')]('TableEditing'))return;const _0x2a4afa=_0xb444eb[_0x4611('0x24')],_0x584584=_0xb444eb[_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x8')),_0x281bb7=_0xb444eb[_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x1e'));_0x584584['_descriptionFactory'][_0x4611('0x7a')]('table',_0x29c11e=>_0xf8203(_0x2a4afa,_0x4611('0x6c'),_0x29c11e)),this[_0x4611('0x5a')](),_0x584584[_0x4611('0x3a')](_0x4611('0x5d')),_0x584584[_0x4611('0x3a')](_0x4611('0x5c')),_0x584584[_0x4611('0x3a')](_0x4611('0x4e'));for(const _0x22eaea of['insertTableRowAbove','insertTableRowBelow']){const _0x487996=_0xb444eb[_0x4611('0x85')][_0x4611('0x59')](_0x22eaea);_0x584584[_0x4611('0x3a')](_0x22eaea,_0x2d370e=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0xbc5e8a=>{_0x2d370e();const _0x4efa48=_0x4611('0x20')===_0x487996[_0x4611('0x5e')],_0x47faf2=_0x281bb7['getSelectionAffectedTableCells'](_0x50647b),_0x339f4f=_0x281bb7['getRowIndexes'](_0x47faf2),_0x55edd6=_0x4efa48?_0x339f4f[_0x4611('0x17')]-0x1:_0x339f4f[_0x4611('0x38')]+0x1,_0x658193=_0x47faf2[0x0][_0x4611('0x79')](_0x4611('0x13')),_0x1b60c5=_0x281bb7['createTableWalker'](_0x658193,{'startRow':_0x55edd6,'endRow':_0x55edd6}),_0xceecae=Array['from'](_0x1b60c5)['map'](_0x10232e=>_0xbc5e8a['createRangeOn'](_0x10232e[_0x4611('0xf')]));_0x584584[_0x4611('0x4a')](_0xceecae,'tableRow');});});}for(const _0x36b782 of[_0x4611('0xc'),_0x4611('0x2d')]){const _0x2a6a58=_0xb444eb['commands'][_0x4611('0x59')](_0x36b782);_0x584584['enableCommand'](_0x36b782,_0x22cda6=>{_0xb444eb[_0x4611('0x28')]['change'](_0x4db0b7=>{_0x22cda6();const _0x3aa146=_0x4611('0x84')===_0x2a6a58[_0x4611('0x5e')],_0x13cff5=_0x281bb7[_0x4611('0x3e')](_0x50647b),_0x2d45dd=_0x281bb7[_0x4611('0x60')](_0x13cff5),_0x229fc4=_0x3aa146?_0x2d45dd['first']-0x1:_0x2d45dd[_0x4611('0x38')]+0x1,_0x31ce64=_0x13cff5[0x0][_0x4611('0x79')]('table'),_0x48a7b2=_0x281bb7[_0x4611('0x67')](_0x31ce64,{'startRow':0x0,'column':_0x229fc4,'includeAllSlots':!0x1}),_0x360dd9=Array[_0x4611('0x47')](_0x48a7b2)[_0x4611('0x1f')](_0x13bace=>_0x4db0b7[_0x4611('0x7f')](_0x13bace[_0x4611('0xf')]));_0x584584['markMultiRangeInsertion'](_0x360dd9,'tableColumn');});});}for(const _0x4d99ef of[_0x4611('0x49'),_0x4611('0x6d')]){const _0x398012=_0x4d99ef[_0x4611('0x75')](0xb),_0x3eeb8f=_0x398012['toLowerCase'](),_0x32dc79=_0x3eeb8f[_0x4611('0x75')](0x0,0x3)+_0x4611('0x53'),_0x181a19=_0x4611('0x13')+_0x398012,_0x369863=_0x4611('0x21')+_0x398012,_0xe7601=_0x4611('0x39')+_0x398012;_0x584584['enableCommand'](_0x4d99ef,()=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x11f15e=>{const _0xf94bb9=_0x281bb7[_0x4611('0x3e')](_0x50647b),_0x3a7385=_0xf94bb9[0x0][_0x4611('0x79')]('table');let _0xbae6fc;if(_0x4611('0x49')==_0x4d99ef){const _0x45c7d2=_0x281bb7['getRowIndexes'](_0xf94bb9);_0xbae6fc={'startRow':_0x45c7d2[_0x4611('0x17')],'endRow':_0x45c7d2[_0x4611('0x38')],'includeAllSlots':!0x0};}else{const _0x1f6e35=_0x281bb7[_0x4611('0x60')](_0xf94bb9);_0xbae6fc={'startColumn':_0x1f6e35[_0x4611('0x17')],'endColumn':_0x1f6e35['last'],'includeAllSlots':!0x0};}const _0x3eb5dc=_0x281bb7[_0x4611('0x67')](_0x3a7385,_0xbae6fc),_0x39a75d=Array[_0x4611('0x47')](_0x3eb5dc)[_0x4611('0x1f')](({cell:_0x969b89})=>_0x969b89),_0x414b0b=se(_0x39a75d[_0x4611('0x4b')](_0x21201e=>_0x21201e[_0x4611('0x42')](_0x32dc79))),_0x7a0ab6=se(_0x39a75d[_0x4611('0x4b')](_0x32da42=>!_0x32da42[_0x4611('0x42')](_0x32dc79)))[_0x4611('0x1f')](_0x496566=>_0x11f15e[_0x4611('0x7f')](_0x496566)),_0xba9817=_0x584584[_0x4611('0x9')](_0x7a0ab6,_0x181a19);if(_0xba9817&&(_0x4611('0x15')==_0xba9817[_0x4611('0x0')]||_0x4611('0x62')==_0xba9817[_0x4611('0x0')])){const _0x2a0bbd=this[_0x4611('0x12')](_0xba9817);for(const _0x413e53 of _0x414b0b){const _0x374249=_0x11f15e['createRangeOn'](_0x413e53),_0x3664e7=_0x281bb7['getCellLocation'](_0x413e53),_0x3b3e7e=_0x413e53[_0x4611('0x83')](_0x32dc79)-0x1,_0x5a8740=_0x2a0bbd[_0x369863],_0x3b86f9=_0x2a0bbd[_0xe7601];_0x5a8740<=_0x3664e7[_0x3eeb8f]&&_0x3664e7[_0x3eeb8f]+_0x3b3e7e<=_0x3b86f9&&_0xba9817[_0x4611('0x55')](_0x374249);}}});});}function _0x328d9f(_0x172ed5){const _0x4a5202=Array['from'](_0x50647b[_0x4611('0x31')]())[_0x4611('0x1f')](_0x18c3d1=>_0x1bbda1[_0x4611('0x25')](_0x18c3d1));_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x4249b3=>{const _0x3c09cd=_0x4249b3['batch'];_0x172ed5=_0x172ed5[_0x4611('0x4b')](_0x1fc7dd=>_0x4611('0x64')!=_0x1fc7dd[_0x4611('0x7b')][_0x4611('0x54')]),_0x4249b3['setSelection'](_0x172ed5),_0xb444eb[_0x4611('0x85')][_0x4611('0x59')](_0x4611('0x49'))[_0x4611('0x6a')](),_0xb444eb['execute'](_0x4611('0x49'),{'forceDefaultExecution':!0x0}),_0xb444eb[_0x4611('0x28')][_0x4611('0x77')](()=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x77')](_0x3c09cd,_0x3d21d1=>{const _0x5e4783=_0x4a5202[_0x4611('0x4b')](_0x35acf5=>'$graveyard'!=_0x35acf5['root'][_0x4611('0x54')]);_0x5e4783[_0x4611('0x2a')]>0x0&&_0x3d21d1[_0x4611('0x4f')](_0x5e4783);for(const _0x271e29 of _0x4a5202)_0x271e29['detach']();});});});}function _0x36278f(_0x12c9bb){_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x1e3071=>{const _0x54aa6c=Array[_0x4611('0x47')](_0x50647b['getRanges']())['map'](_0x5b0ab2=>_0x1bbda1[_0x4611('0x25')](_0x5b0ab2)),_0x3454e1=[];for(const _0x4f01e5 of _0x12c9bb)for(const _0x36403f of _0x4f01e5[_0x4611('0x71')]({'shallow':!0x0}))_0x3454e1['push'](_0x36403f);for(const _0x1c4dcf of _0x3454e1)_0x4611('0x64')!=_0x1c4dcf['root'][_0x4611('0x54')]&&(_0x1e3071[_0x4611('0x4f')](_0x1e3071['createPositionAt'](_0x1c4dcf,0x0)),_0xb444eb[_0x4611('0x85')][_0x4611('0x59')]('removeTableColumn')[_0x4611('0x6a')](),_0xb444eb[_0x4611('0x3')](_0x4611('0x6d'),{'forceDefaultExecution':!0x0}));const _0x3ea82f=_0x54aa6c['filter'](_0x161534=>_0x4611('0x64')!=_0x161534[_0x4611('0x7b')][_0x4611('0x54')]);_0x3ea82f['length']>0x0&&_0x1e3071['setSelection'](_0x3ea82f);for(const _0x33d1b7 of _0x54aa6c)_0x33d1b7[_0x4611('0x1a')]();});}function _0x1de16c(_0x5d1144,_0x1ac82e){return _0x1ac82e[_0x4611('0x1d')](_0x373f0e=>_0x5d1144[_0x4611('0x22')](_0x19bba0=>_0x19bba0['end']['isEqual'](_0x373f0e['start'])||_0x373f0e[_0x4611('0x57')]['isEqual'](_0x19bba0[_0x4611('0x4d')])));}function _0x9c7a97(_0xdf2c7,_0x5667a4){return _0xdf2c7[_0x4611('0x22')](_0x27ff91=>_0x5667a4[_0x4611('0x22')](_0x537978=>_0x27ff91[_0x4611('0x57')][_0x4611('0x41')](_0x537978[_0x4611('0x4d')])));}_0xb444eb[_0x4611('0x69')]['downcastDispatcher']['on'](_0x4611('0x2b'),(_0x17a82d,_0x5842da,_0x158f08)=>{if(!_0x158f08[_0x4611('0x6')][_0x4611('0x40')])return;const _0x2fda15=_0x5842da[_0x4611('0x5f')];if(!_0x2fda15)return;const _0x9b9f05=_0x158f08[_0x4611('0x80')]['toViewElement'](_0x2fda15);function _0x4ce021(_0x599f79){return Array[_0x4611('0x52')](_0x599f79)?_0x599f79:[_0x599f79];}_0x9b9f05&&_0x4611('0x2e')===_0x2fda15['name']&&_0x5a665d(_0x9b9f05,_0x158f08[_0x4611('0x4')],(_0x4f89d7,_0x3667a8,_0xcf1905)=>_0xcf1905[_0x4611('0x10')](_0x4ce021(_0x3667a8['classes']),_0x4f89d7),(_0x37966f,_0x3295c5,_0x331d60)=>_0x331d60[_0x4611('0x1c')](_0x4ce021(_0x3295c5[_0x4611('0x11')]),_0x37966f));},{'priority':_0x4611('0x63')}),_0x584584['_descriptionFactory']['registerDescriptionCallback'](_0x467dff=>{if(_0x4611('0x6f')!=_0x467dff['type']&&_0x4611('0x50')!=_0x467dff[_0x4611('0x7')])return;const _0x5b4a29=_0x467dff[_0x4611('0x2')]();if(null!=_0x5b4a29&&_0x5b4a29['is'](_0x4611('0x66'),_0x4611('0x13'))){if(_0x4611('0x6f')==_0x467dff['type']){const _0x166981=_0x467dff[_0x4611('0x71')]()[_0x4611('0x4b')](_0x4261f3=>_0x4261f3['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x3c4347=>_0x3c4347[_0x4611('0x69')]);if(_0x166981[_0x4611('0x2a')])return{'type':'insertion','content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x4c'),'\x22'+_0x166981[_0x4611('0xd')]('\x20')+'\x22'))};}if(_0x4611('0x50')==_0x467dff[_0x4611('0x7')]){const _0x5e9f14=_0x467dff[_0x4611('0x71')]()[_0x4611('0x4b')](_0x1815d2=>_0x1815d2['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x368425=>_0x368425[_0x4611('0x69')]);if(_0x5e9f14[_0x4611('0x2a')])return{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x4c'),'\x22'+_0x5e9f14[_0x4611('0xd')]('\x20')+'\x22'))};}}}),_0x584584[_0x4611('0x19')][_0x4611('0x7c')](_0x54011b=>{if(_0x4611('0x15')==_0x54011b[_0x4611('0x0')]){const _0x53e8ca=_0x54011b[_0x4611('0x71')]()['filter'](_0x2a2ee9=>_0x2a2ee9['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x2f0d88=>_0x2f0d88[_0x4611('0x69')]),_0x3745e4=this[_0x4611('0x12')](_0x54011b),_0x22a61e=_0x3745e4[_0x4611('0x6b')]-_0x3745e4['minRow']+0x1;if(_0x4611('0x6f')==_0x54011b[_0x4611('0x7')])return _0x53e8ca[_0x4611('0x2a')]?{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x37'),[_0x22a61e,'\x22'+_0x53e8ca[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x76'),_0x22a61e))};if(_0x4611('0x50')==_0x54011b[_0x4611('0x7')])return _0x53e8ca['length']?{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,'*Remove:*\x20%0',_0xf8203(_0x2a4afa,_0x4611('0x37'),[_0x22a61e,'\x22'+_0x53e8ca[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x76'),_0x22a61e))};}if(_0x4611('0x62')==_0x54011b[_0x4611('0x0')]){const _0x4715c0=_0x54011b[_0x4611('0x71')]()[_0x4611('0x4b')](_0x139e78=>_0x139e78['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0xd8f134=>_0xd8f134['data']),_0x21fe47=this[_0x4611('0x12')](_0x54011b),_0x49d338=_0x21fe47[_0x4611('0x1b')]-_0x21fe47[_0x4611('0x5')]+0x1;if(_0x4611('0x6f')==_0x54011b[_0x4611('0x7')])return _0x4715c0[_0x4611('0x2a')]?{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x82'),[_0x49d338,'\x22'+_0x4715c0[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x36'),_0x49d338))};if(_0x4611('0x50')==_0x54011b[_0x4611('0x7')])return _0x4715c0[_0x4611('0x2a')]?{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x82'),[_0x49d338,'\x22'+_0x4715c0[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x36'),_0x49d338))};}}),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x6f'),'tableRow',_0x4611('0xe'),_0x328d9f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x50'),_0x4611('0x15'),'accept',_0x328d9f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('insertion','tableColumn','discard',_0x36278f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('deletion',_0x4611('0x62'),_0x4611('0x7d'),_0x36278f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x6f'),'tableColumn',_0x4611('0xd'),_0x1de16c),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x50'),_0x4611('0x62'),'join',_0x1de16c),_0x584584[_0x4611('0x3c')]['registerCustomCallback'](_0x4611('0x6f'),'tableRow',_0x4611('0xd'),_0x9c7a97),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('deletion',_0x4611('0x15'),_0x4611('0xd'),_0x9c7a97);}[_0x4611('0x45')](){const _0x3f8769=this[_0x4611('0x58')],_0xb31b22=_0x3f8769[_0x4611('0x28')][_0x4611('0xa')][_0x4611('0x7e')];return(_0x101228,_0xb886fd)=>{_0x3f8769[_0x4611('0x28')][_0x4611('0x44')](_0x17de41=>{const {commandName:_0x1d8014,commandParams:_0x128a62}=_0xb886fd;let _0x33b1b1=_0x101228[0x0][_0x4611('0x57')]['nodeBefore'];_0x128a62&&_0x128a62[0x0]&&!0x1===_0x128a62[0x0][_0x4611('0x56')]&&(_0x33b1b1=_0x101228[0x0][_0x4611('0x4d')][_0x4611('0x16')]);const _0x5f18d7=_0x17de41[_0x4611('0x6e')](_0x33b1b1);if(_0x4611('0x64')==_0x5f18d7['root']['rootName'])return;const _0x5039c4=Array[_0x4611('0x47')](_0xb31b22[_0x4611('0x31')]())[_0x4611('0x1f')](_0x20c910=>_0x1bbda1[_0x4611('0x25')](_0x20c910));_0x17de41['setSelection'](_0x5f18d7),_0x3f8769[_0x4611('0x85')][_0x4611('0x59')](_0x1d8014)[_0x4611('0x6a')](),_0x128a62[_0x4611('0x3f')]({'forceDefaultExecution':!0x0}),_0x3f8769[_0x4611('0x3')](_0x1d8014,..._0x128a62);const _0x347058=_0x5039c4[_0x4611('0x4b')](_0x4048b9=>'$graveyard'!=_0x4048b9['root'][_0x4611('0x54')]);_0x347058[_0x4611('0x2a')]>0x0&&_0x17de41[_0x4611('0x4f')](_0x347058);for(const _0x3d5ce2 of _0x5039c4)_0x3d5ce2[_0x4611('0x1a')]();});};}['_getCoordsForCells'](_0x5088bc){const _0x3f4e02=this[_0x4611('0x58')][_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x1e'));let _0x5f284f=Number['MAX_SAFE_INTEGER'],_0x35cf8a=Number[_0x4611('0x51')],_0x5beddb=Number['MAX_SAFE_INTEGER'],_0x35eb73=Number[_0x4611('0x51')];for(const _0x5a6fee of _0x5088bc){if('$graveyard'==_0x5a6fee[_0x4611('0x7b')][_0x4611('0x54')])continue;const {row:_0x1b01f2,column:_0x875457}=_0x3f4e02[_0x4611('0x74')](_0x5a6fee),_0xe9c358=_0x5a6fee[_0x4611('0x42')]('rowspan')?_0x5a6fee[_0x4611('0x83')]('rowspan')-0x1:0x0,_0x22a176=_0x5a6fee[_0x4611('0x42')](_0x4611('0x46'))?_0x5a6fee['getAttribute'](_0x4611('0x46'))-0x1:0x0;_0x5f284f=_0x1b01f2<_0x5f284f?_0x1b01f2:_0x5f284f,_0x35cf8a=_0x1b01f2+_0xe9c358>_0x35cf8a?_0x1b01f2+_0xe9c358:_0x35cf8a,_0x5beddb=_0x875457<_0x5beddb?_0x875457:_0x5beddb,_0x35eb73=_0x875457+_0x22a176>_0x35eb73?_0x875457+_0x22a176:_0x35eb73;}return{'minRow':_0x5f284f,'maxRow':_0x35cf8a,'minColumn':_0x5beddb,'maxColumn':_0x35eb73};}['_setupColumnsRowsFixing'](){const _0x771d65=this['editor'],_0x2c8c9f=_0x771d65['plugins']['get'](_0x4611('0x8')),_0x26176e=_0x771d65['plugins'][_0x4611('0x59')](_0x4611('0x1e'));_0x771d65['model'][_0x4611('0xa')]['on'](_0x4611('0x1'),()=>{const _0x473082=Array[_0x4611('0x47')](_0x771d65[_0x4611('0x28')][_0x4611('0xa')][_0x4611('0x78')]['getChangedMarkers']());for(const {name:_0x2bee5d,data:_0x1152e8}of _0x473082){const {group:_0x1c7b4a,id:_0x405130,subType:_0x47e7cd}=_0x2c8c9f[_0x4611('0x68')](_0x2bee5d);if(_0x4611('0x30')!=_0x1c7b4a)continue;if(null!=_0x1152e8[_0x4611('0xb')])continue;const _0x4d439e=_0x2c8c9f[_0x4611('0x72')](_0x405130);this[_0x4611('0x32')][_0x4611('0x26')](_0x47e7cd)&&this[_0x4611('0x65')][_0x4611('0x27')](_0x4d439e);}},{'priority':_0x4611('0x73')});const _0x2a6285=(_0x292499,_0x3aad30)=>{let _0x3a3974=!0x1;const _0xb5655b=_0x3aad30['createRangeOn'](_0x292499),_0xc18692=_0x292499[_0x4611('0x79')](_0x4611('0x13')),_0x4c78f9=_0x26176e[_0x4611('0x74')](_0x292499);for(const _0x40d054 of this[_0x4611('0x65')]){const _0x30b011=_0x40d054['subType'],_0x5e61d2=_0x30b011[_0x4611('0x2f')](_0x4611('0x3b')),_0x53dfd6=_0x30b011[_0x4611('0x75')](_0x5e61d2?0xa:0x5),_0x1da058=_0x53dfd6[_0x4611('0x34')](),_0x10100f=_0x1da058[_0x4611('0x75')](0x0,0x3)+_0x4611('0x53'),_0x42e036=_0x4611('0x21')+_0x53dfd6,_0x20b494=_0x4611('0x39')+_0x53dfd6;if(!_0x40d054[_0x4611('0x61')])continue;if(_0xc18692!=_0x40d054[_0x4611('0x81')]()[_0x4611('0x4d')][_0x4611('0x79')](_0x4611('0x13')))continue;if(_0x40d054['isIntersectingWithRange'](_0xb5655b))continue;const _0x35d1c0=_0x292499['hasAttribute'](_0x10100f)?_0x292499[_0x4611('0x83')](_0x10100f)-0x1:0x0,_0x41a46e=this[_0x4611('0x12')](_0x40d054),_0x3825ab=_0x41a46e[_0x42e036],_0x31528c=_0x41a46e[_0x20b494];_0x3825ab<=_0x4c78f9[_0x1da058]&&_0x4c78f9[_0x1da058]+_0x35d1c0<=_0x31528c&&(_0x40d054['addRange'](_0xb5655b),_0x3a3974=!0x0);}return _0x3a3974;};_0x771d65[_0x4611('0x28')][_0x4611('0xa')]['registerPostFixer'](_0xc790d8=>{let _0x1b9a57=!0x1;for(const _0x51951a of _0x771d65['model']['document'][_0x4611('0x78')][_0x4611('0x35')]())if('insert'==_0x51951a['type']){if(_0x4611('0x15')==_0x51951a[_0x4611('0x18')])for(const _0x44335b of _0x51951a[_0x4611('0x5b')][_0x4611('0x16')]['getChildren']())_0x1b9a57=_0x1b9a57||_0x2a6285(_0x44335b,_0xc790d8);else _0x4611('0x2e')==_0x51951a[_0x4611('0x18')]&&(_0x1b9a57=_0x1b9a57||_0x2a6285(_0x51951a[_0x4611('0x5b')][_0x4611('0x16')],_0xc790d8));}return _0x1b9a57;});}[_0x4611('0x12')](_0x5780ca){return this[_0x4611('0x3d')](_0x5780ca[_0x4611('0x31')]()['map'](_0x440557=>_0x440557[_0x4611('0x4d')][_0x4611('0x16')]));}}function se(_0x1a5eb1){return Array[_0x4611('0x47')](new Set(_0x1a5eb1)[_0x4611('0x48')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25d5=['plugins','enableCommand','get','requires','has','TrackChangesEditing','TableCaptionEditing'];(function(_0xeb53a1,_0x25d547){const _0x28e2a4=function(_0x46dafd){while(--_0x46dafd){_0xeb53a1['push'](_0xeb53a1['shift']());}};_0x28e2a4(++_0x25d547);}(_0x25d5,0xa1));const _0x28e2=function(_0xeb53a1,_0x25d547){_0xeb53a1=_0xeb53a1-0x0;let _0x28e2a4=_0x25d5[_0xeb53a1];return _0x28e2a4;};import{Plugin as _0x41d8df}from'ckeditor5/src/core';import _0x1119a4 from'./table';export default class vt extends _0x41d8df{static get[_0x28e2('0x3')](){return[_0x1119a4];}['afterInit'](){const _0x3c1670=this['editor'];if(!_0x3c1670[_0x28e2('0x0')][_0x28e2('0x4')](_0x28e2('0x6')))return;_0x3c1670['plugins'][_0x28e2('0x2')](_0x28e2('0x5'))[_0x28e2('0x1')]('toggleTableCaption');}}
23
+ const _0xba38=['requires','afterInit','editor','plugins','has','get','toggleTableCaption','enableCommand'];(function(_0x2a49ad,_0xba38e5){const _0xabec16=function(_0x4d8eaa){while(--_0x4d8eaa){_0x2a49ad['push'](_0x2a49ad['shift']());}};_0xabec16(++_0xba38e5);}(_0xba38,0x115));const _0xabec=function(_0x2a49ad,_0xba38e5){_0x2a49ad=_0x2a49ad-0x0;let _0xabec16=_0xba38[_0x2a49ad];return _0xabec16;};import{Plugin as _0x5c1054}from'ckeditor5/src/core';import _0xbfa673 from'./table';export default class vt extends _0x5c1054{static get[_0xabec('0x3')](){return[_0xbfa673];}[_0xabec('0x4')](){const _0x418aaa=this[_0xabec('0x5')];if(!_0x418aaa[_0xabec('0x6')][_0xabec('0x7')]('TableCaptionEditing'))return;_0x418aaa[_0xabec('0x6')][_0xabec('0x0')]('TrackChangesEditing')[_0xabec('0x2')](_0xabec('0x1'));}}