@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231027.0 → 0.0.0-nightly-20231028.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d7e=['listReversed','push','commandParams','handleListReversedCommand','getLastPosition','length','markMultiRangeBlockFormat','toUpperCase','reversed','numbered','getAttribute','document','forward','startIndex','list.properties','format','createRange','createPositionAt','has','listStart','commandName','element','*Change\x20to:*\x20%0','backward','selection','model','_descriptionFactory','filter','handleDescriptions','map','getSiblingNodes','editor','_getSuggestionBlocksForListStyle','_LIST_','registerDescriptionCallback','handleListStartCommand','getSelectedBlocks','replace','change','listStyle','config','handleListStyleCommand','from','*Format:*\x20set\x20order\x20to\x20reversed','bind','plugins','TrackChangesEditing','type','before','listType','flat','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','_getTranslationKeyForListStyle','ListUtils','listItem','getFirstPosition','_getSuggestionBlocks'];(function(_0xfc410d,_0x3d7ea6){const _0x249fd0=function(_0x186d42){while(--_0x186d42){_0xfc410d['push'](_0xfc410d['shift']());}};_0x249fd0(++_0x3d7ea6);}(_0x3d7e,0xa6));const _0x249f=function(_0xfc410d,_0x3d7ea6){_0xfc410d=_0xfc410d-0x0;let _0x249fd0=_0x3d7e[_0xfc410d];return _0x249fd0;};import{Plugin as _0x28c5af}from'ckeditor5/src/core';import{getTranslation as _0x18f847}from'../utils/common-translations';export default class ot extends _0x28c5af{['afterInit'](){if(!this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x1a')]('ListPropertiesEditing'))return;const _0x2f7b1c=this[_0x249f('0x27')][_0x249f('0x30')][_0x249f('0x2')](_0x249f('0x16')),_0x3b8b5e=this[_0x249f('0x27')][_0x249f('0x35')]['get']('TrackChangesEditing');_0x2f7b1c['styles']&&_0x3b8b5e['enableCommand'](_0x249f('0x2f'),this[_0x249f('0x31')][_0x249f('0x34')](this)),_0x2f7b1c[_0x249f('0x10')]&&_0x3b8b5e['enableCommand'](_0x249f('0x8'),this['handleListReversedCommand'][_0x249f('0x34')](this)),_0x2f7b1c['startIndex']&&_0x3b8b5e['enableCommand'](_0x249f('0x1b'),this[_0x249f('0x2b')][_0x249f('0x34')](this)),_0x3b8b5e[_0x249f('0x22')][_0x249f('0x2a')](this['handleDescriptions'][_0x249f('0x34')](this));}[_0x249f('0x31')](_0x31fa80,_0x1f5a08={}){const _0x5db551=this['editor'][_0x249f('0x35')][_0x249f('0x2')](_0x249f('0x36')),_0x41ae6d=this[_0x249f('0x28')]();this['editor']['model'][_0x249f('0x2e')](()=>{_0x5db551[_0x249f('0xe')](_0x41ae6d,{'commandName':'listStyle','commandParams':[{'type':_0x1f5a08[_0x249f('0x37')]}],'formatGroupId':_0x249f('0x2f')});});}[_0x249f('0xb')](_0x1dfe30,_0x3c5830={}){const _0x83a4fe=this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x2')]('TrackChangesEditing'),_0x500936=this[_0x249f('0x7')](_0x402bf9=>_0x402bf9['is']('element',_0x249f('0x5'))&&_0x249f('0x11')===_0x402bf9[_0x249f('0x12')](_0x249f('0x39')));if(_0x500936['length']<0x1)return;const _0x5f1a9b=_0x500936['map'](_0x38f7fd=>this['editor'][_0x249f('0x21')][_0x249f('0x18')](this['editor'][_0x249f('0x21')][_0x249f('0x19')](_0x38f7fd,_0x249f('0x38')),this[_0x249f('0x27')]['model'][_0x249f('0x19')](_0x38f7fd,0x0)));this[_0x249f('0x27')]['model'][_0x249f('0x2e')](()=>{_0x83a4fe[_0x249f('0xe')](_0x5f1a9b,{'commandName':_0x249f('0x8'),'commandParams':[{'reversed':_0x3c5830['reversed']}],'formatGroupId':_0x249f('0x8')});});}[_0x249f('0x2b')](_0x1eaa6b,_0x280d66={}){const _0x2b295a=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x36')),_0x58fce8=this[_0x249f('0x7')](_0x3c5cda=>_0x3c5cda['is'](_0x249f('0x1d'),'listItem')&&_0x249f('0x11')===_0x3c5cda[_0x249f('0x12')](_0x249f('0x39')));if(_0x58fce8[_0x249f('0xd')]<0x1)return;const _0x2442a7=_0x58fce8[_0x249f('0x25')](_0x12f500=>this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x18')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x12f500,_0x249f('0x38')),this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x12f500,0x0)));this['editor'][_0x249f('0x21')][_0x249f('0x2e')](()=>{_0x2b295a['markMultiRangeBlockFormat'](_0x2442a7,{'commandName':'listStart','commandParams':[{'startIndex':_0x280d66[_0x249f('0x15')]}],'formatGroupId':_0x249f('0x1b')});});}[_0x249f('0x24')](_0x2353c2){const _0x168698=this[_0x249f('0x27')]['locale'],{data:_0x4cff58}=_0x2353c2;if(!_0x4cff58)return;let _0x36f233,_0xade1af;switch(_0x4cff58[_0x249f('0x1c')]){case _0x249f('0x2f'):_0x36f233=_0x249f('0x1e'),_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233,_0x18f847(_0x168698,this[_0x249f('0x3')](_0x4cff58[_0x249f('0xa')][0x0]['type'])))};break;case _0x249f('0x8'):_0x36f233=_0x4cff58[_0x249f('0xa')][0x0]['reversed']?_0x249f('0x33'):'*Format:*\x20set\x20order\x20to\x20regular',_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233)};break;case'listStart':_0x36f233=_0x249f('0x1'),_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233,_0x4cff58[_0x249f('0xa')][0x0][_0x249f('0x15')])};}return _0xade1af;}['_getSuggestionBlocksForListStyle'](){var _0x39683a,_0x2bd96e,_0x3fe80b,_0x3bd964;const _0x1b4564=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x4'));let _0x7e54d1=Array[_0x249f('0x32')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0x2c')]());return(null===(_0x39683a=_0x7e54d1[0x0])||void 0x0===_0x39683a?void 0x0:_0x39683a['is']('element','listItem'))&&_0x7e54d1['unshift'](..._0x1b4564[_0x249f('0x26')](this[_0x249f('0x27')][_0x249f('0x21')]['document'][_0x249f('0x20')]['getFirstPosition'](),_0x249f('0x1f'))),(null===(_0x2bd96e=_0x7e54d1[_0x7e54d1[_0x249f('0xd')]-0x1])||void 0x0===_0x2bd96e?void 0x0:_0x2bd96e['is'](_0x249f('0x1d'),_0x249f('0x5')))&&_0x7e54d1[_0x249f('0x9')](..._0x1b4564[_0x249f('0x26')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0xc')](),_0x249f('0x14'))),_0x7e54d1=[...new Set(_0x7e54d1)],(null===(_0x3bd964=null===(_0x3fe80b=this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0x6')]())||void 0x0===_0x3fe80b?void 0x0:_0x3fe80b['parent'])||void 0x0===_0x3bd964?void 0x0:_0x3bd964['is'](_0x249f('0x1d'),'listItem'))&&(_0x7e54d1=_0x7e54d1[_0x249f('0x23')](_0x4451d7=>_0x4451d7['is'](_0x249f('0x1d'),_0x249f('0x5')))),_0x7e54d1;}['_getSuggestionBlocks'](_0x34e0f6){const _0x3b4d25=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x4'));let _0x9f4385=Array[_0x249f('0x32')](this[_0x249f('0x27')]['model'][_0x249f('0x13')][_0x249f('0x20')]['getSelectedBlocks']())['filter'](_0x34e0f6)[_0x249f('0x25')](_0x19d75f=>{const _0x135985=this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x19d75f,0x0);return[..._0x3b4d25['getSiblingNodes'](_0x135985,_0x249f('0x1f')),..._0x3b4d25[_0x249f('0x26')](_0x135985,'forward')];})[_0x249f('0x0')]();return _0x9f4385=[...new Set(_0x9f4385)],_0x9f4385;}['_getTranslationKeyForListStyle'](_0x197dbd){return'ELEMENT_'+this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x2')](_0x249f('0x4'))['getListTypeFromListStyleType'](_0x197dbd)['toUpperCase']()+_0x249f('0x29')+_0x197dbd[_0x249f('0xf')]()[_0x249f('0x2d')](/-/g,'_');}}
23
+ const _0x4cba=['TrackChangesEditing','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20reversed','toUpperCase','numbered','commandParams','locale','list.properties','getLastPosition','listItem','_LIST_','selection','type','_descriptionFactory','element','editor','bind','replace','getSiblingNodes','commandName','get','listType','ListUtils','push','createRange','change','length','*Format:*\x20set\x20start\x20index\x20to\x20%0','reversed','markMultiRangeBlockFormat','createPositionAt','filter','plugins','*Format:*\x20set\x20order\x20to\x20regular','forward','_getSuggestionBlocks','document','from','listStart','getListTypeFromListStyleType','before','handleListStyleCommand','ListPropertiesEditing','backward','*Change\x20to:*\x20%0','handleListReversedCommand','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','afterInit','getFirstPosition','startIndex','format','listStyle','listReversed','has','model','registerDescriptionCallback','config','handleDescriptions','map','getSelectedBlocks','ELEMENT_','getAttribute','enableCommand','flat'];(function(_0x24bc55,_0x4cba00){const _0x3fab4b=function(_0x152c59){while(--_0x152c59){_0x24bc55['push'](_0x24bc55['shift']());}};_0x3fab4b(++_0x4cba00);}(_0x4cba,0xfe));const _0x3fab=function(_0x24bc55,_0x4cba00){_0x24bc55=_0x24bc55-0x0;let _0x3fab4b=_0x4cba[_0x24bc55];return _0x3fab4b;};import{Plugin as _0x551192}from'ckeditor5/src/core';import{getTranslation as _0x54b100}from'../utils/common-translations';export default class ot extends _0x551192{[_0x3fab('0x36')](){if(!this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x3c')](_0x3fab('0x30')))return;const _0x354e01=this[_0x3fab('0x15')][_0x3fab('0x3f')][_0x3fab('0x1a')](_0x3fab('0xd')),_0x1b9232=this[_0x3fab('0x15')]['plugins']['get'](_0x3fab('0x6'));_0x354e01['styles']&&_0x1b9232[_0x3fab('0x4')](_0x3fab('0x3a'),this['handleListStyleCommand'][_0x3fab('0x16')](this)),_0x354e01[_0x3fab('0x22')]&&_0x1b9232[_0x3fab('0x4')]('listReversed',this[_0x3fab('0x33')]['bind'](this)),_0x354e01[_0x3fab('0x38')]&&_0x1b9232[_0x3fab('0x4')](_0x3fab('0x2c'),this[_0x3fab('0x7')][_0x3fab('0x16')](this)),_0x1b9232[_0x3fab('0x13')][_0x3fab('0x3e')](this[_0x3fab('0x40')]['bind'](this));}[_0x3fab('0x2f')](_0x2c23cd,_0x42852e={}){const _0x3e33fb=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x558bdd=this[_0x3fab('0x34')]();this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x1f')](()=>{_0x3e33fb['markMultiRangeBlockFormat'](_0x558bdd,{'commandName':'listStyle','commandParams':[{'type':_0x42852e['type']}],'formatGroupId':_0x3fab('0x3a')});});}['handleListReversedCommand'](_0x4e6746,_0x4e9526={}){const _0x3912f4=this['editor'][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x5e96b7=this['_getSuggestionBlocks'](_0x1dfe28=>_0x1dfe28['is'](_0x3fab('0x14'),_0x3fab('0xf'))&&_0x3fab('0xa')===_0x1dfe28[_0x3fab('0x3')](_0x3fab('0x1b')));if(_0x5e96b7['length']<0x1)return;const _0x2bc761=_0x5e96b7[_0x3fab('0x0')](_0x5acb6b=>this[_0x3fab('0x15')][_0x3fab('0x3d')]['createRange'](this['editor'][_0x3fab('0x3d')]['createPositionAt'](_0x5acb6b,_0x3fab('0x2e')),this[_0x3fab('0x15')]['model'][_0x3fab('0x24')](_0x5acb6b,0x0)));this['editor'][_0x3fab('0x3d')][_0x3fab('0x1f')](()=>{_0x3912f4[_0x3fab('0x23')](_0x2bc761,{'commandName':'listReversed','commandParams':[{'reversed':_0x4e9526['reversed']}],'formatGroupId':'listReversed'});});}[_0x3fab('0x7')](_0x3176d3,_0x2bde1d={}){const _0x13eb48=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x240de6=this[_0x3fab('0x29')](_0x1d6dfc=>_0x1d6dfc['is']('element',_0x3fab('0xf'))&&'numbered'===_0x1d6dfc[_0x3fab('0x3')]('listType'));if(_0x240de6[_0x3fab('0x20')]<0x1)return;const _0x130b90=_0x240de6[_0x3fab('0x0')](_0x287da4=>this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x1e')](this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x24')](_0x287da4,_0x3fab('0x2e')),this[_0x3fab('0x15')]['model'][_0x3fab('0x24')](_0x287da4,0x0)));this['editor']['model'][_0x3fab('0x1f')](()=>{_0x13eb48[_0x3fab('0x23')](_0x130b90,{'commandName':_0x3fab('0x2c'),'commandParams':[{'startIndex':_0x2bde1d[_0x3fab('0x38')]}],'formatGroupId':'listStart'});});}[_0x3fab('0x40')](_0x1bfecb){const _0x4e391b=this['editor'][_0x3fab('0xc')],{data:_0x910e4b}=_0x1bfecb;if(!_0x910e4b)return;let _0x3b0a93,_0x2fbbeb;switch(_0x910e4b[_0x3fab('0x19')]){case _0x3fab('0x3a'):_0x3b0a93=_0x3fab('0x32'),_0x2fbbeb={'type':_0x3fab('0x39'),'content':_0x54b100(_0x4e391b,_0x3b0a93,_0x54b100(_0x4e391b,this[_0x3fab('0x35')](_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x12')])))};break;case _0x3fab('0x3b'):_0x3b0a93=_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x22')]?_0x3fab('0x8'):_0x3fab('0x27'),_0x2fbbeb={'type':_0x3fab('0x39'),'content':_0x54b100(_0x4e391b,_0x3b0a93)};break;case _0x3fab('0x2c'):_0x3b0a93=_0x3fab('0x21'),_0x2fbbeb={'type':'format','content':_0x54b100(_0x4e391b,_0x3b0a93,_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x38')])};}return _0x2fbbeb;}[_0x3fab('0x34')](){var _0x54e2fa,_0x48e4b7,_0x2de8d7,_0x8b0451;const _0x97df84=this[_0x3fab('0x15')][_0x3fab('0x26')]['get'](_0x3fab('0x1c'));let _0x4b26c7=Array['from'](this[_0x3fab('0x15')]['model'][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x1')]());return(null===(_0x54e2fa=_0x4b26c7[0x0])||void 0x0===_0x54e2fa?void 0x0:_0x54e2fa['is']('element','listItem'))&&_0x4b26c7['unshift'](..._0x97df84[_0x3fab('0x18')](this[_0x3fab('0x15')]['model']['document'][_0x3fab('0x11')][_0x3fab('0x37')](),_0x3fab('0x31'))),(null===(_0x48e4b7=_0x4b26c7[_0x4b26c7[_0x3fab('0x20')]-0x1])||void 0x0===_0x48e4b7?void 0x0:_0x48e4b7['is'](_0x3fab('0x14'),_0x3fab('0xf')))&&_0x4b26c7[_0x3fab('0x1d')](..._0x97df84[_0x3fab('0x18')](this['editor'][_0x3fab('0x3d')][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0xe')](),_0x3fab('0x28'))),_0x4b26c7=[...new Set(_0x4b26c7)],(null===(_0x8b0451=null===(_0x2de8d7=this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x37')]())||void 0x0===_0x2de8d7?void 0x0:_0x2de8d7['parent'])||void 0x0===_0x8b0451?void 0x0:_0x8b0451['is'](_0x3fab('0x14'),_0x3fab('0xf')))&&(_0x4b26c7=_0x4b26c7[_0x3fab('0x25')](_0x4471a0=>_0x4471a0['is'](_0x3fab('0x14'),'listItem'))),_0x4b26c7;}['_getSuggestionBlocks'](_0x3fa4dc){const _0x1c4c9d=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('ListUtils');let _0x32bccb=Array[_0x3fab('0x2b')](this[_0x3fab('0x15')]['model'][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x1')]())[_0x3fab('0x25')](_0x3fa4dc)['map'](_0x4e621d=>{const _0x2eb4ee=this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x24')](_0x4e621d,0x0);return[..._0x1c4c9d[_0x3fab('0x18')](_0x2eb4ee,_0x3fab('0x31')),..._0x1c4c9d[_0x3fab('0x18')](_0x2eb4ee,_0x3fab('0x28'))];})[_0x3fab('0x5')]();return _0x32bccb=[...new Set(_0x32bccb)],_0x32bccb;}[_0x3fab('0x35')](_0x285b28){return _0x3fab('0x2')+this['editor'][_0x3fab('0x26')]['get'](_0x3fab('0x1c'))[_0x3fab('0x2d')](_0x285b28)[_0x3fab('0x9')]()+_0x3fab('0x10')+_0x285b28[_0x3fab('0x9')]()[_0x3fab('0x17')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45e1=['data','high','locale','_descriptionFactory','stop','plugins','mediaEmbed','showSuggestionHighlights','afterInit','TrackChangesEditing','get','ELEMENT_MEDIA','downcastDispatcher','for','options','conversion','media','MediaEmbedEditing','has','div','editor','dataDowncast','attribute:url:media'];(function(_0xffa179,_0x45e186){const _0x481f81=function(_0x888e69){while(--_0x888e69){_0xffa179['push'](_0xffa179['shift']());}};_0x481f81(++_0x45e186);}(_0x45e1,0xa7));const _0x481f=function(_0xffa179,_0x45e186){_0xffa179=_0xffa179-0x0;let _0x481f81=_0x45e1[_0xffa179];return _0x481f81;};import{Plugin as _0x4e0794}from'ckeditor5/src/core';import{getTranslation as _0x2c6822}from'../utils/common-translations';export default class rt extends _0x4e0794{[_0x481f('0x2')](){const _0x685583=this[_0x481f('0xe')];if(!_0x685583[_0x481f('0x16')][_0x481f('0xc')](_0x481f('0xb')))return;const _0x5bc358=_0x685583[_0x481f('0x16')][_0x481f('0x4')](_0x481f('0x3')),_0x2c6f6c=_0x685583[_0x481f('0x13')];_0x5bc358['enableCommand'](_0x481f('0x0')),_0x5bc358[_0x481f('0x14')]['registerElementLabel'](_0x481f('0xa'),_0x2bf4ac=>_0x2c6822(_0x2c6f6c,_0x481f('0x5'),_0x2bf4ac)),_0x685583[_0x481f('0x9')][_0x481f('0x7')](_0x481f('0xf'))['elementToElement']({'model':_0x481f('0xa'),'view':(_0x1ea623,{writer:_0x5e95e6,options:_0x45edce})=>{if(_0x45edce[_0x481f('0x1')])return _0x5e95e6['createEmptyElement'](_0x481f('0xd'));},'converterPriority':_0x481f('0x12')}),_0x685583[_0x481f('0x11')][_0x481f('0x6')]['on'](_0x481f('0x10'),(_0x528ac3,_0x5bbfa8,_0x50e6c5)=>{_0x50e6c5[_0x481f('0x8')][_0x481f('0x1')]&&_0x528ac3[_0x481f('0x15')]();},{'priority':'high'});}}
23
+ const _0x46e1=['div','showSuggestionHighlights','dataDowncast','enableCommand','editor','elementToElement','conversion','plugins','_descriptionFactory','MediaEmbedEditing','ELEMENT_MEDIA','afterInit','TrackChangesEditing','stop','downcastDispatcher','data','createEmptyElement','media','mediaEmbed','high','registerElementLabel','for','options'];(function(_0x524481,_0x46e19d){const _0x378152=function(_0x34a931){while(--_0x34a931){_0x524481['push'](_0x524481['shift']());}};_0x378152(++_0x46e19d);}(_0x46e1,0x1bd));const _0x3781=function(_0x524481,_0x46e19d){_0x524481=_0x524481-0x0;let _0x378152=_0x46e1[_0x524481];return _0x378152;};import{Plugin as _0x54ee05}from'ckeditor5/src/core';import{getTranslation as _0x590fb5}from'../utils/common-translations';export default class rt extends _0x54ee05{[_0x3781('0x3')](){const _0x32cdcf=this[_0x3781('0x13')];if(!_0x32cdcf[_0x3781('0x16')]['has'](_0x3781('0x1')))return;const _0x45bfeb=_0x32cdcf[_0x3781('0x16')]['get'](_0x3781('0x4')),_0x1473cc=_0x32cdcf['locale'];_0x45bfeb[_0x3781('0x12')](_0x3781('0xa')),_0x45bfeb[_0x3781('0x0')][_0x3781('0xc')](_0x3781('0x9'),_0xc1eddd=>_0x590fb5(_0x1473cc,_0x3781('0x2'),_0xc1eddd)),_0x32cdcf[_0x3781('0x15')][_0x3781('0xd')](_0x3781('0x11'))[_0x3781('0x14')]({'model':_0x3781('0x9'),'view':(_0x42c4aa,{writer:_0x4db4f1,options:_0x5ba66e})=>{if(_0x5ba66e[_0x3781('0x10')])return _0x4db4f1[_0x3781('0x8')](_0x3781('0xf'));},'converterPriority':_0x3781('0xb')}),_0x32cdcf[_0x3781('0x7')][_0x3781('0x6')]['on']('attribute:url:media',(_0x41468e,_0x50697e,_0x4fcf7b)=>{_0x4fcf7b[_0x3781('0xe')]['showSuggestionHighlights']&&_0x41468e[_0x3781('0x5')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42d5=['editor','has','enableCommand','TrackChangesEditing','afterInit','plugins','mention'];(function(_0x11acc6,_0x42d527){const _0x25fcf6=function(_0x4e1786){while(--_0x4e1786){_0x11acc6['push'](_0x11acc6['shift']());}};_0x25fcf6(++_0x42d527);}(_0x42d5,0xae));const _0x25fc=function(_0x11acc6,_0x42d527){_0x11acc6=_0x11acc6-0x0;let _0x25fcf6=_0x42d5[_0x11acc6];return _0x25fcf6;};import{Plugin as _0x10e6f2}from'ckeditor5/src/core';export default class at extends _0x10e6f2{[_0x25fc('0x5')](){const _0xa20820=this[_0x25fc('0x1')];_0xa20820['plugins'][_0x25fc('0x2')]('MentionEditing')&&_0xa20820[_0x25fc('0x6')]['get'](_0x25fc('0x4'))[_0x25fc('0x3')](_0x25fc('0x0'));}}
23
+ const _0x497a=['MentionEditing','mention','has','TrackChangesEditing','editor','plugins','enableCommand'];(function(_0x551b77,_0x497a8d){const _0x3a15af=function(_0x50df70){while(--_0x50df70){_0x551b77['push'](_0x551b77['shift']());}};_0x3a15af(++_0x497a8d);}(_0x497a,0x1c9));const _0x3a15=function(_0x551b77,_0x497a8d){_0x551b77=_0x551b77-0x0;let _0x3a15af=_0x497a[_0x551b77];return _0x3a15af;};import{Plugin as _0x2c2322}from'ckeditor5/src/core';export default class at extends _0x2c2322{['afterInit'](){const _0x2f05c8=this[_0x3a15('0x2')];_0x2f05c8[_0x3a15('0x3')][_0x3a15('0x0')](_0x3a15('0x5'))&&_0x2f05c8[_0x3a15('0x3')]['get'](_0x3a15('0x1'))[_0x3a15('0x4')](_0x3a15('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50a1=['ELEMENT_PAGE_BREAK','_descriptionFactory','afterInit','PageBreakEditing','locale','enableCommand','plugins','TrackChangesEditing','get','pageBreak','registerElementLabel'];(function(_0x33245c,_0x50a1de){const _0x3cfade=function(_0x3c59a2){while(--_0x3c59a2){_0x33245c['push'](_0x33245c['shift']());}};_0x3cfade(++_0x50a1de);}(_0x50a1,0x13b));const _0x3cfa=function(_0x33245c,_0x50a1de){_0x33245c=_0x33245c-0x0;let _0x3cfade=_0x50a1[_0x33245c];return _0x3cfade;};import{Plugin as _0x480bbf}from'ckeditor5/src/core';import{getTranslation as _0x1e012a}from'../utils/common-translations';export default class ct extends _0x480bbf{[_0x3cfa('0x6')](){const _0x1a13dd=this['editor'];if(!_0x1a13dd[_0x3cfa('0xa')]['has'](_0x3cfa('0x7')))return;_0x1a13dd[_0x3cfa('0xa')]['get'](_0x3cfa('0x0'))[_0x3cfa('0x9')](_0x3cfa('0x2'));const _0x1376d9=_0x1a13dd['plugins'][_0x3cfa('0x1')](_0x3cfa('0x0')),_0x153104=_0x1a13dd[_0x3cfa('0x8')];_0x1376d9[_0x3cfa('0x5')][_0x3cfa('0x3')](_0x3cfa('0x2'),_0x8218=>_0x1e012a(_0x153104,_0x3cfa('0x4'),_0x8218));}}
23
+ const _0x2d4c=['registerElementLabel','_descriptionFactory','TrackChangesEditing','pageBreak','editor','plugins','get','ELEMENT_PAGE_BREAK','enableCommand'];(function(_0x3b69f4,_0x2d4c8d){const _0x4ef5a8=function(_0x4cb64c){while(--_0x4cb64c){_0x3b69f4['push'](_0x3b69f4['shift']());}};_0x4ef5a8(++_0x2d4c8d);}(_0x2d4c,0x15d));const _0x4ef5=function(_0x3b69f4,_0x2d4c8d){_0x3b69f4=_0x3b69f4-0x0;let _0x4ef5a8=_0x2d4c[_0x3b69f4];return _0x4ef5a8;};import{Plugin as _0x397be1}from'ckeditor5/src/core';import{getTranslation as _0x4e4584}from'../utils/common-translations';export default class ct extends _0x397be1{['afterInit'](){const _0x2b9b17=this[_0x4ef5('0x6')];if(!_0x2b9b17[_0x4ef5('0x7')]['has']('PageBreakEditing'))return;_0x2b9b17[_0x4ef5('0x7')][_0x4ef5('0x8')](_0x4ef5('0x4'))[_0x4ef5('0x1')](_0x4ef5('0x5'));const _0x32957d=_0x2b9b17['plugins'][_0x4ef5('0x8')](_0x4ef5('0x4')),_0x466b11=_0x2b9b17['locale'];_0x32957d[_0x4ef5('0x3')][_0x4ef5('0x2')]('pageBreak',_0x570aa1=>_0x4e4584(_0x466b11,_0x4ef5('0x0'),_0x570aa1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4113=['data','isLimit','model','isBlock','addClass','ELEMENT_PARAGRAPH','format','insertion','getFirstRange','name','enableCommand','commandName','downcastDispatcher','parent','$text','checkChild','start','locale','registerDescriptionCallback','change','TrackChangesEditing','ck-suggestion-marker-split','mapper','end','blockName','selection','*Insert:*\x20%0','showSuggestionHighlights','options','Paragraph','*Change\x20to:*\x20%0','writer','span','markerRange','afterInit','markerName','registerElementLabel','paragraph','plugins','insertParagraph','bindElementToMarker','schema','isTouching','document','get','addMarker:suggestion:insertion','_descriptionFactory','editor','nodeAfter','toViewPosition','activeMarkers','includes','getSelectedBlocks','markBlockFormat','highest'];(function(_0x3aebc3,_0x4113d1){const _0x48ae24=function(_0x14a9f5){while(--_0x14a9f5){_0x3aebc3['push'](_0x3aebc3['shift']());}};_0x48ae24(++_0x4113d1);}(_0x4113,0x15b));const _0x48ae=function(_0x3aebc3,_0x4113d1){_0x3aebc3=_0x3aebc3-0x0;let _0x48ae24=_0x4113[_0x3aebc3];return _0x48ae24;};import{Plugin as _0x1e70ee}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x23248d}from'./utils';import{getTranslation as _0x2f0b05}from'../utils/common-translations';export default class ht extends _0x1e70ee{[_0x48ae('0x11')](){const _0x549f27=this[_0x48ae('0x1e')];if(!_0x549f27[_0x48ae('0x15')]['has'](_0x48ae('0xc')))return;const _0x1e269f=_0x549f27[_0x48ae('0x0')],_0x1b4d77=_0x549f27[_0x48ae('0x15')][_0x48ae('0x1b')]('TrackChangesEditing');_0x1b4d77['_descriptionFactory'][_0x48ae('0x13')](_0x48ae('0x14'),_0x4bda09=>_0x2f0b05(_0x1e269f,_0x48ae('0x2b'),_0x4bda09)),_0x1b4d77['enableCommand'](_0x48ae('0x14'),(_0x48e5ba,_0x58bc70={})=>{const _0x3c6b16=_0x549f27[_0x48ae('0x28')][_0x48ae('0x1a')],_0x336e3b=_0x58bc70[_0x48ae('0x8')]||_0x3c6b16[_0x48ae('0x8')],_0x105e90=Array['from'](_0x336e3b[_0x48ae('0x23')]())['filter'](_0x2a7819=>function(_0x5addd7,_0x227a91){return _0x227a91[_0x48ae('0x35')](_0x5addd7[_0x48ae('0x33')],_0x48ae('0x14'))&&!_0x227a91['isObject'](_0x5addd7)&&_0x48ae('0x14')!=_0x5addd7[_0x48ae('0x2f')];}(_0x2a7819,this['editor'][_0x48ae('0x28')]['schema']));_0x549f27[_0x48ae('0x28')][_0x48ae('0x2')](()=>{for(const _0x37989d of _0x105e90)_0x1b4d77[_0x48ae('0x24')](_0x37989d,{'commandName':_0x48ae('0x14'),'commandParams':[],'formatGroupId':_0x48ae('0x7')},_0x23248d(_0x37989d));});}),_0x1b4d77[_0x48ae('0x1d')][_0x48ae('0x1')](_0x136bbe=>{const {data:_0x5736aa}=_0x136bbe;if(_0x5736aa&&'paragraph'==_0x5736aa[_0x48ae('0x31')])return{'type':_0x48ae('0x2c'),'content':_0x2f0b05(_0x1e269f,_0x48ae('0xd'),_0x2f0b05(_0x1e269f,_0x48ae('0x2b')))};}),_0x1b4d77[_0x48ae('0x30')](_0x48ae('0x16')),_0x549f27['editing'][_0x48ae('0x32')]['on'](_0x48ae('0x1c'),ar(_0x549f27),{'priority':_0x48ae('0x25')}),_0x549f27[_0x48ae('0x26')][_0x48ae('0x32')]['on'](_0x48ae('0x1c'),(_0xbc40c5,_0x1b5bb3,_0x2ba1da)=>{_0x2ba1da[_0x48ae('0xb')][_0x48ae('0xa')]&&ar(_0x549f27,{'showActiveMarker':!0x1})(_0xbc40c5,_0x1b5bb3,_0x2ba1da);},{'priority':_0x48ae('0x25')});const _0x1490d1=_0x1b4d77[_0x48ae('0x1d')];_0x1490d1[_0x48ae('0x1')](_0x5892b4=>{if(_0x48ae('0x2d')!==_0x5892b4['type'])return;const {start:_0x200dba,end:_0x1b948b}=_0x5892b4[_0x48ae('0x2e')]();if(!_0x200dba[_0x48ae('0x19')](_0x1b948b)||!_0x200dba[_0x48ae('0x1f')])return;const _0x3122df=_0x549f27[_0x48ae('0x28')][_0x48ae('0x18')],_0xa2d203=_0x200dba[_0x48ae('0x1f')];return _0x3122df[_0x48ae('0x29')](_0xa2d203)&&!_0x3122df[_0x48ae('0x27')](_0xa2d203)&&_0x3122df[_0x48ae('0x35')](_0xa2d203,_0x48ae('0x34'))?{'type':_0x48ae('0x2d'),'content':_0x2f0b05(_0x1e269f,_0x48ae('0x9'),_0x1490d1['getItemLabel'](_0xa2d203,0x1))}:void 0x0;});}}function ar(_0x534ee0,{showActiveMarker:_0x50f0fb=!0x0}={}){return(_0x126f2d,_0x240357,_0x57456e)=>{const _0x1f583f=_0x534ee0[_0x48ae('0x15')][_0x48ae('0x1b')](_0x48ae('0x3')),_0x2a3a68=_0x240357[_0x48ae('0x10')][_0x48ae('0x36')],_0x23891b=_0x240357[_0x48ae('0x10')][_0x48ae('0x6')],_0x48ba8b=_0x534ee0[_0x48ae('0x28')][_0x48ae('0x18')];if(!_0x2a3a68[_0x48ae('0x19')](_0x23891b)||!_0x2a3a68[_0x48ae('0x1f')])return;const _0x558977=_0x2a3a68[_0x48ae('0x1f')];if(_0x48ba8b[_0x48ae('0x29')](_0x558977)&&!_0x48ba8b[_0x48ae('0x27')](_0x558977)&&_0x48ba8b[_0x48ae('0x35')](_0x558977,'$text')){if(!_0x57456e['consumable']['consume'](_0x240357['markerRange'],_0x126f2d['name']))return;const _0x3ea05=_0x57456e[_0x48ae('0xe')]['createUIElement'](_0x48ae('0xf'),{'class':_0x48ae('0x4')}),_0x5b7bb3=_0x57456e['mapper'][_0x48ae('0x20')](_0x23891b);_0x50f0fb&&_0x1f583f[_0x48ae('0x21')][_0x48ae('0x22')](_0x240357[_0x48ae('0x12')])&&_0x57456e[_0x48ae('0xe')][_0x48ae('0x2a')]('ck-suggestion-marker--active',_0x3ea05),_0x57456e['writer']['insert'](_0x5b7bb3,_0x3ea05),_0x57456e[_0x48ae('0x5')][_0x48ae('0x17')](_0x3ea05,_0x240357[_0x48ae('0x12')]);}};}
23
+ const _0x3876=['end','span','isObject','getFirstRange','TrackChangesEditing','schema','toViewPosition','name','registerElementLabel','isLimit','markerRange','downcastDispatcher','format','filter','paragraph','Paragraph','bindElementToMarker','registerDescriptionCallback','getItemLabel','markBlockFormat','insertParagraph','ck-suggestion-marker-split','plugins','*Change\x20to:*\x20%0','document','afterInit','_descriptionFactory','ELEMENT_PARAGRAPH','start','addClass','consume','activeMarkers','insertion','includes','isTouching','enableCommand','has','checkChild','createUIElement','addMarker:suggestion:insertion','editor','nodeAfter','model','isBlock','options','get','data','locale','ck-suggestion-marker--active','type','highest','writer','change','from','parent','markerName','blockName'];(function(_0x2efa29,_0x3876f8){const _0xfca685=function(_0x567252){while(--_0x567252){_0x2efa29['push'](_0x2efa29['shift']());}};_0xfca685(++_0x3876f8);}(_0x3876,0x129));const _0xfca6=function(_0x2efa29,_0x3876f8){_0x2efa29=_0x2efa29-0x0;let _0xfca685=_0x3876[_0x2efa29];return _0xfca685;};import{Plugin as _0x2bb6c5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4eef55}from'./utils';import{getTranslation as _0x5e2e0}from'../utils/common-translations';export default class ht extends _0x2bb6c5{[_0xfca6('0xd')](){const _0x55374f=this['editor'];if(!_0x55374f['plugins'][_0xfca6('0x18')](_0xfca6('0x3')))return;const _0x500828=_0x55374f[_0xfca6('0x23')],_0x2978a5=_0x55374f[_0xfca6('0xa')][_0xfca6('0x21')](_0xfca6('0x31'));_0x2978a5['_descriptionFactory'][_0xfca6('0x35')](_0xfca6('0x2'),_0xfc375=>_0x5e2e0(_0x500828,_0xfca6('0xf'),_0xfc375)),_0x2978a5[_0xfca6('0x17')](_0xfca6('0x2'),(_0x4bbb4e,_0x33b95c={})=>{const _0x54ae14=_0x55374f[_0xfca6('0x1e')][_0xfca6('0xc')],_0x490a2a=_0x33b95c['selection']||_0x54ae14['selection'],_0x3bccd9=Array[_0xfca6('0x29')](_0x490a2a['getSelectedBlocks']())[_0xfca6('0x1')](_0x11597c=>function(_0x5292f1,_0x118821){return _0x118821['checkChild'](_0x5292f1[_0xfca6('0x2a')],_0xfca6('0x2'))&&!_0x118821[_0xfca6('0x2f')](_0x5292f1)&&_0xfca6('0x2')!=_0x5292f1[_0xfca6('0x34')];}(_0x11597c,this[_0xfca6('0x1c')]['model']['schema']));_0x55374f[_0xfca6('0x1e')][_0xfca6('0x28')](()=>{for(const _0x5967b8 of _0x3bccd9)_0x2978a5[_0xfca6('0x7')](_0x5967b8,{'commandName':_0xfca6('0x2'),'commandParams':[],'formatGroupId':_0xfca6('0x2c')},_0x4eef55(_0x5967b8));});}),_0x2978a5[_0xfca6('0xe')][_0xfca6('0x5')](_0x538674=>{const {data:_0x417521}=_0x538674;if(_0x417521&&_0xfca6('0x2')==_0x417521['commandName'])return{'type':_0xfca6('0x0'),'content':_0x5e2e0(_0x500828,_0xfca6('0xb'),_0x5e2e0(_0x500828,'ELEMENT_PARAGRAPH'))};}),_0x2978a5[_0xfca6('0x17')](_0xfca6('0x8')),_0x55374f['editing']['downcastDispatcher']['on'](_0xfca6('0x1b'),ar(_0x55374f),{'priority':_0xfca6('0x26')}),_0x55374f[_0xfca6('0x22')][_0xfca6('0x38')]['on'](_0xfca6('0x1b'),(_0x1a1860,_0x30aa60,_0x3b4a0a)=>{_0x3b4a0a[_0xfca6('0x20')]['showSuggestionHighlights']&&ar(_0x55374f,{'showActiveMarker':!0x1})(_0x1a1860,_0x30aa60,_0x3b4a0a);},{'priority':_0xfca6('0x26')});const _0x1a4f51=_0x2978a5['_descriptionFactory'];_0x1a4f51[_0xfca6('0x5')](_0x50c7a9=>{if(_0xfca6('0x14')!==_0x50c7a9[_0xfca6('0x25')])return;const {start:_0xd455ac,end:_0x5a389f}=_0x50c7a9[_0xfca6('0x30')]();if(!_0xd455ac[_0xfca6('0x16')](_0x5a389f)||!_0xd455ac['nodeAfter'])return;const _0x34232d=_0x55374f['model']['schema'],_0x45b862=_0xd455ac[_0xfca6('0x1d')];return _0x34232d[_0xfca6('0x1f')](_0x45b862)&&!_0x34232d[_0xfca6('0x36')](_0x45b862)&&_0x34232d[_0xfca6('0x19')](_0x45b862,'$text')?{'type':_0xfca6('0x14'),'content':_0x5e2e0(_0x500828,'*Insert:*\x20%0',_0x1a4f51[_0xfca6('0x6')](_0x45b862,0x1))}:void 0x0;});}}function ar(_0x9adee5,{showActiveMarker:_0x4df212=!0x0}={}){return(_0x5ab63a,_0x158863,_0x58c694)=>{const _0x5bdacb=_0x9adee5[_0xfca6('0xa')][_0xfca6('0x21')](_0xfca6('0x31')),_0x22c072=_0x158863[_0xfca6('0x37')][_0xfca6('0x10')],_0x2788e8=_0x158863[_0xfca6('0x37')][_0xfca6('0x2d')],_0x2d65bc=_0x9adee5['model'][_0xfca6('0x32')];if(!_0x22c072[_0xfca6('0x16')](_0x2788e8)||!_0x22c072['nodeAfter'])return;const _0x16d59b=_0x22c072[_0xfca6('0x1d')];if(_0x2d65bc[_0xfca6('0x1f')](_0x16d59b)&&!_0x2d65bc[_0xfca6('0x36')](_0x16d59b)&&_0x2d65bc['checkChild'](_0x16d59b,'$text')){if(!_0x58c694['consumable'][_0xfca6('0x12')](_0x158863['markerRange'],_0x5ab63a[_0xfca6('0x34')]))return;const _0x5ef63c=_0x58c694[_0xfca6('0x27')][_0xfca6('0x1a')](_0xfca6('0x2e'),{'class':_0xfca6('0x9')}),_0x2a8591=_0x58c694['mapper'][_0xfca6('0x33')](_0x2788e8);_0x4df212&&_0x5bdacb[_0xfca6('0x13')][_0xfca6('0x15')](_0x158863[_0xfca6('0x2b')])&&_0x58c694[_0xfca6('0x27')][_0xfca6('0x11')](_0xfca6('0x24'),_0x5ef63c),_0x58c694[_0xfca6('0x27')]['insert'](_0x2a8591,_0x5ef63c),_0x58c694['mapper'][_0xfca6('0x4')](_0x5ef63c,_0x158863[_0xfca6('0x2b')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10b1=['RemoveFormatEditing','getRanges','markInlineFormat','locale','afterInit','removeFormat','change','model','isCollapsed','document','from','_descriptionFactory','isFormatting','get','createRangeOn','getAttributes','commandName','has','registerDescriptionCallback','getAttributeProperties','format'];(function(_0x2ff1be,_0x10b18b){const _0x5e3f0c=function(_0x26c53c){while(--_0x26c53c){_0x2ff1be['push'](_0x2ff1be['shift']());}};_0x5e3f0c(++_0x10b18b);}(_0x10b1,0x12d));const _0x5e3f=function(_0x2ff1be,_0x10b18b){_0x2ff1be=_0x2ff1be-0x0;let _0x5e3f0c=_0x10b1[_0x2ff1be];return _0x5e3f0c;};import{Plugin as _0x529aea}from'ckeditor5/src/core';import{getTranslation as _0x1239c6}from'../utils/common-translations';export default class ut extends _0x529aea{[_0x5e3f('0x12')](){const _0x1a007b=this['editor'];if(!_0x1a007b['plugins'][_0x5e3f('0xa')](_0x5e3f('0xe')))return;const _0x4934bc=_0x1a007b['plugins'][_0x5e3f('0x6')]('TrackChangesEditing');_0x4934bc['enableCommand'](_0x5e3f('0x13'),_0xb4a759=>{const _0x151708=_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x2')]['selection'];_0x151708[_0x5e3f('0x1')]?_0xb4a759():_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x14')](()=>{const _0xc1507c=Array[_0x5e3f('0x3')](_0x151708[_0x5e3f('0xf')]());for(const _0x57f22a of _0xc1507c)for(const _0x53e4d7 of _0x57f22a['getItems']())mo(_0x53e4d7,_0x1a007b[_0x5e3f('0x0')]['schema'])&&_0x4934bc[_0x5e3f('0x10')](_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x7')](_0x53e4d7),{'commandName':_0x5e3f('0x13'),'commandParams':[]});});}),_0x4934bc[_0x5e3f('0x4')][_0x5e3f('0xb')](_0x45cdf6=>{const {data:_0x9e11d4}=_0x45cdf6;if(_0x9e11d4&&_0x5e3f('0x13')==_0x9e11d4[_0x5e3f('0x9')])return{'type':_0x5e3f('0xd'),'content':_0x1239c6(_0x1a007b[_0x5e3f('0x11')],'*Remove\x20all\x20formatting*')};});}}function mo(_0x2508ab,_0x347a07){for(const [_0x691bfd]of _0x2508ab[_0x5e3f('0x8')]()){const _0x4b53c8=_0x347a07[_0x5e3f('0xc')](_0x691bfd);if(_0x4b53c8&&_0x4b53c8[_0x5e3f('0x5')])return!0x0;}return!0x1;}
23
+ const _0x49eb=['commandName','change','removeFormat','isFormatting','afterInit','enableCommand','editor','getRanges','selection','createRangeOn','RemoveFormatEditing','getAttributeProperties','TrackChangesEditing','schema','registerDescriptionCallback','getAttributes','format','markInlineFormat','plugins','*Remove\x20all\x20formatting*','get','has'];(function(_0x5df2cb,_0x49ebdd){const _0x4a7fda=function(_0x27f524){while(--_0x27f524){_0x5df2cb['push'](_0x5df2cb['shift']());}};_0x4a7fda(++_0x49ebdd);}(_0x49eb,0x1ef));const _0x4a7f=function(_0x5df2cb,_0x49ebdd){_0x5df2cb=_0x5df2cb-0x0;let _0x4a7fda=_0x49eb[_0x5df2cb];return _0x4a7fda;};import{Plugin as _0x43acb0}from'ckeditor5/src/core';import{getTranslation as _0x552f45}from'../utils/common-translations';export default class ut extends _0x43acb0{[_0x4a7f('0xf')](){const _0x5cddb3=this[_0x4a7f('0x11')];if(!_0x5cddb3[_0x4a7f('0x7')][_0x4a7f('0xa')](_0x4a7f('0x15')))return;const _0x27e8c2=_0x5cddb3[_0x4a7f('0x7')][_0x4a7f('0x9')](_0x4a7f('0x1'));_0x27e8c2[_0x4a7f('0x10')](_0x4a7f('0xd'),_0x24c359=>{const _0x580af8=_0x5cddb3['model']['document'][_0x4a7f('0x13')];_0x580af8['isCollapsed']?_0x24c359():_0x5cddb3['model'][_0x4a7f('0xc')](()=>{const _0x5ca782=Array['from'](_0x580af8[_0x4a7f('0x12')]());for(const _0x20e68d of _0x5ca782)for(const _0x282256 of _0x20e68d['getItems']())mo(_0x282256,_0x5cddb3['model'][_0x4a7f('0x2')])&&_0x27e8c2[_0x4a7f('0x6')](_0x5cddb3['model'][_0x4a7f('0x14')](_0x282256),{'commandName':_0x4a7f('0xd'),'commandParams':[]});});}),_0x27e8c2['_descriptionFactory'][_0x4a7f('0x3')](_0x34bb5b=>{const {data:_0x3a0bad}=_0x34bb5b;if(_0x3a0bad&&_0x4a7f('0xd')==_0x3a0bad[_0x4a7f('0xb')])return{'type':_0x4a7f('0x5'),'content':_0x552f45(_0x5cddb3['locale'],_0x4a7f('0x8'))};});}}function mo(_0x29adf7,_0x4deacd){for(const [_0x40e60e]of _0x29adf7[_0x4a7f('0x4')]()){const _0x2ba871=_0x4deacd[_0x4a7f('0x0')](_0x40e60e);if(_0x2ba871&&_0x2ba871[_0x4a7f('0xe')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbb2e=['discardSuggestion','enableCommand','plugins','afterInit','RestrictedEditingModeEditing','editor','acceptAllSuggestions','goToNextRestrictedEditingException','discardAllSuggestions','acceptSelectedSuggestions','TrackChangesEditing','get'];(function(_0x2edbf3,_0xbb2e63){const _0x441858=function(_0x5cbf2b){while(--_0x5cbf2b){_0x2edbf3['push'](_0x2edbf3['shift']());}};_0x441858(++_0xbb2e63);}(_0xbb2e,0x129));const _0x4418=function(_0x2edbf3,_0xbb2e63){_0x2edbf3=_0x2edbf3-0x0;let _0x441858=_0xbb2e[_0x2edbf3];return _0x441858;};import{Plugin as _0x1a6b4d}from'ckeditor5/src/core';export default class ft extends _0x1a6b4d{[_0x4418('0x6')](){const _0x1e7771=this[_0x4418('0x8')];if(!_0x1e7771[_0x4418('0x5')]['has'](_0x4418('0x7')))return;const _0xdee114=_0x1e7771['plugins'][_0x4418('0x2')](_0x4418('0x1'));_0xdee114[_0x4418('0x4')]('goToPreviousRestrictedEditingException'),_0xdee114[_0x4418('0x4')](_0x4418('0xa'));const _0x1b2768=_0x1e7771['plugins'][_0x4418('0x2')](_0x4418('0x7'));_0x1b2768[_0x4418('0x4')]('trackChanges'),_0x1b2768[_0x4418('0x4')]('acceptSuggestion'),_0x1b2768['enableCommand'](_0x4418('0x3')),_0x1b2768['enableCommand'](_0x4418('0x9')),_0x1b2768['enableCommand'](_0x4418('0xb')),_0x1b2768['enableCommand'](_0x4418('0x0')),_0x1b2768[_0x4418('0x4')]('discardSelectedSuggestions');}}
23
+ const _0x5190=['discardAllSuggestions','has','acceptSelectedSuggestions','RestrictedEditingModeEditing','acceptSuggestion','acceptAllSuggestions','enableCommand','plugins','discardSuggestion','trackChanges','editor','discardSelectedSuggestions','get'];(function(_0x52fee7,_0x519013){const _0x46f582=function(_0x1ba3d0){while(--_0x1ba3d0){_0x52fee7['push'](_0x52fee7['shift']());}};_0x46f582(++_0x519013);}(_0x5190,0x1c0));const _0x46f5=function(_0x52fee7,_0x519013){_0x52fee7=_0x52fee7-0x0;let _0x46f582=_0x5190[_0x52fee7];return _0x46f582;};import{Plugin as _0x1bc656}from'ckeditor5/src/core';export default class ft extends _0x1bc656{['afterInit'](){const _0x5c3397=this[_0x46f5('0x4')];if(!_0x5c3397[_0x46f5('0x1')][_0x46f5('0x8')](_0x46f5('0xa')))return;const _0x787508=_0x5c3397[_0x46f5('0x1')][_0x46f5('0x6')]('TrackChangesEditing');_0x787508[_0x46f5('0x0')]('goToPreviousRestrictedEditingException'),_0x787508['enableCommand']('goToNextRestrictedEditingException');const _0x56c24f=_0x5c3397[_0x46f5('0x1')]['get']('RestrictedEditingModeEditing');_0x56c24f[_0x46f5('0x0')](_0x46f5('0x3')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0xb')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x2')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0xc')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x7')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x9')),_0x56c24f['enableCommand'](_0x46f5('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3683=['test','markerRange','registerElementLabel','writer','editor','locale','_descriptionFactory','createPositionBefore','markerName','editing','showSuggestionHighlights','data','createUIElement','init','shiftEnter','model','includes','addMarker:suggestion:deletion','deletion','merge','addMarker:suggestion:insertion','getItems','TrackChangesEditing','plugins','softBreak','high','insert','ck-suggestion-marker-','get','span','element','toViewPosition','addMarker:suggestion','addClass','mapper','split'];(function(_0x31f671,_0x3683a8){const _0xd32d72=function(_0x30b948){while(--_0x30b948){_0x31f671['push'](_0x31f671['shift']());}};_0xd32d72(++_0x3683a8);}(_0x3683,0x136));const _0xd32d=function(_0x31f671,_0x3683a8){_0x31f671=_0x31f671-0x0;let _0xd32d72=_0x3683[_0x31f671];return _0xd32d72;};import{Plugin as _0x4c9a42}from'ckeditor5/src/core';import{ShiftEnter as _0x13c36a}from'ckeditor5/src/enter';import{getTranslation as _0xbe9f33}from'../utils/common-translations';export default class lt extends _0x4c9a42{static get['requires'](){return[_0x13c36a];}[_0xd32d('0x1b')](){const _0x324fcb=this[_0xd32d('0x12')],_0x5de9d8=_0x324fcb[_0xd32d('0x1')][_0xd32d('0x6')](_0xd32d('0x0'));_0x5de9d8['enableCommand'](_0xd32d('0x1c')),_0x324fcb['editing']['downcastDispatcher']['on'](_0xd32d('0x22'),re(_0x324fcb),{'priority':_0xd32d('0x3')}),_0x324fcb[_0xd32d('0x17')]['downcastDispatcher']['on'](_0xd32d('0x1f'),re(_0x324fcb),{'priority':_0xd32d('0x3')}),_0x324fcb[_0xd32d('0x19')]['downcastDispatcher']['on'](_0xd32d('0xa'),(_0x3333f7,_0x4235fe,_0x1d0565)=>{_0x1d0565['options'][_0xd32d('0x18')]&&re(_0x324fcb,{'showActiveMarker':!0x1})(_0x3333f7,_0x4235fe,_0x1d0565);}),_0x5de9d8[_0xd32d('0x14')][_0xd32d('0x10')](_0xd32d('0x2'),_0x4d6ccd=>_0xbe9f33(_0x324fcb[_0xd32d('0x13')],'ELEMENT_LINE_BREAK',_0x4d6ccd));}}function re(_0x5cd6cc,{showActiveMarker:_0x2b3872=!0x0}={}){return(_0x5e595c,_0x3b0d96,_0x58aeff)=>{const _0x5b98aa=_0x5cd6cc['plugins'][_0xd32d('0x6')](_0xd32d('0x0'));if(!_0x58aeff['consumable'][_0xd32d('0xe')](_0x3b0d96[_0xd32d('0xf')],_0x5e595c['name']))return;const _0x4e1152=_0x5cd6cc[_0xd32d('0x1d')];for(const _0x5509b8 of _0x3b0d96[_0xd32d('0xf')][_0xd32d('0x23')]()){if(!_0x5509b8['is'](_0xd32d('0x8'),_0xd32d('0x2')))continue;const _0x21217a=_0xd32d('0x20')==_0x3b0d96['markerName']['split'](':')[0x1]?_0xd32d('0x21'):_0xd32d('0xd'),_0x56814d=_0x58aeff[_0xd32d('0x11')][_0xd32d('0x1a')](_0xd32d('0x7'),{'class':_0xd32d('0x5')+_0x21217a}),_0x590394=_0x58aeff[_0xd32d('0xc')][_0xd32d('0x9')](_0x4e1152[_0xd32d('0x15')](_0x5509b8));_0x2b3872&&_0x5b98aa['activeMarkers'][_0xd32d('0x1e')](_0x3b0d96['markerName'])&&_0x58aeff[_0xd32d('0x11')][_0xd32d('0xb')]('ck-suggestion-marker--active',_0x56814d),_0x58aeff[_0xd32d('0x11')][_0xd32d('0x4')](_0x590394,_0x56814d),_0x58aeff[_0xd32d('0xc')]['bindElementToMarker'](_0x56814d,_0x3b0d96[_0xd32d('0x16')]);}};}
23
+ const _0xf09b=['high','toViewPosition','ck-suggestion-marker--active','enableCommand','TrackChangesEditing','init','createPositionBefore','markerRange','bindElementToMarker','test','options','registerElementLabel','span','addClass','ELEMENT_LINE_BREAK','softBreak','mapper','activeMarkers','get','showSuggestionHighlights','addMarker:suggestion','requires','downcastDispatcher','shiftEnter','plugins','deletion','name','addMarker:suggestion:insertion','editor','includes','insert','writer','markerName','merge','editing','split','ck-suggestion-marker-'];(function(_0x5ce2bd,_0xf09b4e){const _0x457676=function(_0x289850){while(--_0x289850){_0x5ce2bd['push'](_0x5ce2bd['shift']());}};_0x457676(++_0xf09b4e);}(_0xf09b,0x1ea));const _0x4576=function(_0x5ce2bd,_0xf09b4e){_0x5ce2bd=_0x5ce2bd-0x0;let _0x457676=_0xf09b[_0x5ce2bd];return _0x457676;};import{Plugin as _0x52560d}from'ckeditor5/src/core';import{ShiftEnter as _0x137d4c}from'ckeditor5/src/enter';import{getTranslation as _0xe89b06}from'../utils/common-translations';export default class lt extends _0x52560d{static get[_0x4576('0xc')](){return[_0x137d4c];}[_0x4576('0x21')](){const _0x38e868=this[_0x4576('0x13')],_0x3eabbd=_0x38e868['plugins'][_0x4576('0x9')](_0x4576('0x20'));_0x3eabbd[_0x4576('0x1f')](_0x4576('0xe')),_0x38e868[_0x4576('0x19')][_0x4576('0xd')]['on'](_0x4576('0x12'),re(_0x38e868),{'priority':_0x4576('0x1c')}),_0x38e868[_0x4576('0x19')][_0x4576('0xd')]['on']('addMarker:suggestion:deletion',re(_0x38e868),{'priority':_0x4576('0x1c')}),_0x38e868['data']['downcastDispatcher']['on'](_0x4576('0xb'),(_0x234881,_0x3d4f8f,_0x4c7d8a)=>{_0x4c7d8a[_0x4576('0x1')][_0x4576('0xa')]&&re(_0x38e868,{'showActiveMarker':!0x1})(_0x234881,_0x3d4f8f,_0x4c7d8a);}),_0x3eabbd['_descriptionFactory'][_0x4576('0x2')](_0x4576('0x6'),_0x2c2f5c=>_0xe89b06(_0x38e868['locale'],_0x4576('0x5'),_0x2c2f5c));}}function re(_0x5e87d8,{showActiveMarker:_0x1a2fbd=!0x0}={}){return(_0x3067eb,_0x400884,_0x1283e4)=>{const _0x4b6cba=_0x5e87d8[_0x4576('0xf')][_0x4576('0x9')]('TrackChangesEditing');if(!_0x1283e4['consumable'][_0x4576('0x0')](_0x400884[_0x4576('0x23')],_0x3067eb[_0x4576('0x11')]))return;const _0x3e7263=_0x5e87d8['model'];for(const _0x565b15 of _0x400884['markerRange']['getItems']()){if(!_0x565b15['is']('element','softBreak'))continue;const _0x5df30d=_0x4576('0x10')==_0x400884[_0x4576('0x17')][_0x4576('0x1a')](':')[0x1]?_0x4576('0x18'):_0x4576('0x1a'),_0x4185af=_0x1283e4[_0x4576('0x16')]['createUIElement'](_0x4576('0x3'),{'class':_0x4576('0x1b')+_0x5df30d}),_0xca088d=_0x1283e4[_0x4576('0x7')][_0x4576('0x1d')](_0x3e7263[_0x4576('0x22')](_0x565b15));_0x1a2fbd&&_0x4b6cba[_0x4576('0x8')][_0x4576('0x14')](_0x400884[_0x4576('0x17')])&&_0x1283e4[_0x4576('0x16')][_0x4576('0x4')](_0x4576('0x1e'),_0x4185af),_0x1283e4[_0x4576('0x16')][_0x4576('0x15')](_0xca088d,_0x4185af),_0x1283e4['mapper'][_0x4576('0x24')](_0x4185af,_0x400884[_0x4576('0x17')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd8dd=['document','afterInit','from','enableCommand','registerDescriptionCallback','value','commandName','restrictedEditingException','selection','TrackChangesEditing','forceValue','FORMAT_RESTRICTED_DISABLED','plugins','commandParams','markInlineFormat','has','StandardEditingModeEditing','commands','_descriptionFactory','isCollapsed','FORMAT_RESTRICTED_ENABLED','editor','format'];(function(_0x127a21,_0xd8ddc6){const _0x32195b=function(_0x4353f2){while(--_0x4353f2){_0x127a21['push'](_0x127a21['shift']());}};_0x32195b(++_0xd8ddc6);}(_0xd8dd,0xb1));const _0x3219=function(_0x127a21,_0xd8ddc6){_0x127a21=_0x127a21-0x0;let _0x32195b=_0xd8dd[_0x127a21];return _0x32195b;};import{Plugin as _0x430689}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x17b30b}from'./utils';import{getTranslation as _0x4d032c}from'../utils/common-translations';export default class gt extends _0x430689{[_0x3219('0x8')](){const _0x5efb7d=this[_0x3219('0x5')],_0x1f936d=_0x5efb7d['model'],_0x4ee1f0=_0x5efb7d['locale'];if(!_0x5efb7d[_0x3219('0x13')][_0x3219('0x16')](_0x3219('0x0')))return;const _0x9fc7a6=_0x5efb7d[_0x3219('0x13')]['get'](_0x3219('0x10')),_0x245f2d=_0x3219('0xe'),_0x16340e=_0x5efb7d[_0x3219('0x1')]['get'](_0x245f2d);_0x9fc7a6[_0x3219('0xa')](_0x245f2d,(_0x3c1769,_0x24e315={})=>{const _0x36a338=_0x1f936d[_0x3219('0x7')][_0x3219('0xf')];if(_0x36a338[_0x3219('0x3')])return void _0x3c1769(_0x24e315);const _0x40b78f=void 0x0!==_0x24e315[_0x3219('0x11')]?_0x24e315[_0x3219('0x11')]:!_0x16340e[_0x3219('0xc')];_0x1f936d['change'](()=>{const _0x2e3fef=Array[_0x3219('0x9')](_0x36a338['getRanges']());for(const _0x49cca0 of _0x2e3fef){const _0x3d8dc2=_0x40b78f?[_0x49cca0]:_0x17b30b(_0x245f2d,_0x49cca0,_0x1f936d);for(const _0x4c5e3c of _0x3d8dc2)_0x9fc7a6[_0x3219('0x15')](_0x4c5e3c,{'commandName':_0x245f2d,'commandParams':[{'forceValue':_0x40b78f}]});}});}),_0x9fc7a6[_0x3219('0x2')][_0x3219('0xb')](_0x1d1b91=>{const {data:_0x100abc}=_0x1d1b91;if(_0x100abc&&_0x100abc[_0x3219('0xd')]==_0x245f2d)return _0x100abc[_0x3219('0x14')][0x0][_0x3219('0x11')]?{'type':_0x3219('0x6'),'content':_0x4d032c(_0x4ee1f0,_0x3219('0x4'))}:{'type':_0x3219('0x6'),'content':_0x4d032c(_0x4ee1f0,_0x3219('0x12'))};});}}
23
+ const _0x10e3=['commands','plugins','getRanges','FORMAT_RESTRICTED_ENABLED','from','commandParams','FORMAT_RESTRICTED_DISABLED','restrictedEditingException','forceValue','enableCommand','StandardEditingModeEditing','afterInit','commandName','get','has','document','format','value','selection','TrackChangesEditing','model','_descriptionFactory','markInlineFormat'];(function(_0x5ef954,_0x10e3a7){const _0x17bd59=function(_0x54d3d7){while(--_0x54d3d7){_0x5ef954['push'](_0x5ef954['shift']());}};_0x17bd59(++_0x10e3a7);}(_0x10e3,0x1f3));const _0x17bd=function(_0x5ef954,_0x10e3a7){_0x5ef954=_0x5ef954-0x0;let _0x17bd59=_0x10e3[_0x5ef954];return _0x17bd59;};import{Plugin as _0x4cd8cd}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5e342c}from'./utils';import{getTranslation as _0x33af6f}from'../utils/common-translations';export default class gt extends _0x4cd8cd{[_0x17bd('0x12')](){const _0x120a11=this['editor'],_0xc4643=_0x120a11[_0x17bd('0x4')],_0x8baae8=_0x120a11['locale'];if(!_0x120a11[_0x17bd('0x8')][_0x17bd('0x15')](_0x17bd('0x11')))return;const _0x996a92=_0x120a11[_0x17bd('0x8')]['get'](_0x17bd('0x3')),_0x3675f3=_0x17bd('0xe'),_0x3f2a59=_0x120a11[_0x17bd('0x7')][_0x17bd('0x14')](_0x3675f3);_0x996a92[_0x17bd('0x10')](_0x3675f3,(_0x441640,_0xb3af6c={})=>{const _0x326c5b=_0xc4643[_0x17bd('0x16')][_0x17bd('0x2')];if(_0x326c5b['isCollapsed'])return void _0x441640(_0xb3af6c);const _0x226059=void 0x0!==_0xb3af6c['forceValue']?_0xb3af6c[_0x17bd('0xf')]:!_0x3f2a59[_0x17bd('0x1')];_0xc4643['change'](()=>{const _0x108ed7=Array[_0x17bd('0xb')](_0x326c5b[_0x17bd('0x9')]());for(const _0x5879ab of _0x108ed7){const _0x35be4e=_0x226059?[_0x5879ab]:_0x5e342c(_0x3675f3,_0x5879ab,_0xc4643);for(const _0x10706c of _0x35be4e)_0x996a92[_0x17bd('0x6')](_0x10706c,{'commandName':_0x3675f3,'commandParams':[{'forceValue':_0x226059}]});}});}),_0x996a92[_0x17bd('0x5')]['registerDescriptionCallback'](_0x4297d2=>{const {data:_0xe956c5}=_0x4297d2;if(_0xe956c5&&_0xe956c5[_0x17bd('0x13')]==_0x3675f3)return _0xe956c5[_0x17bd('0xc')][0x0][_0x17bd('0xf')]?{'type':_0x17bd('0x0'),'content':_0x33af6f(_0x8baae8,_0x17bd('0xa'))}:{'type':'format','content':_0x33af6f(_0x8baae8,_0x17bd('0xd'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b47=['add','editor','toLowerCase','modelElements','element','normalizeConfig','get','isCollapsed','styleName','plugins','includes','find','_descriptionFactory','commandName','every','commands','DataSchema','model','isBlock','createRangeOn','getAttribute','*Remove\x20format:*\x20%0','document','inline','forceValue','getRanges','markBlockFormat','getItems','push','commandParams','change','TrackChangesEditing','has','format','enableCommand','afterInit','value','_getStyleDefinition','config','_getRangesWithClasses','from','style','block','name','Style','markInlineFormat'];(function(_0x363b77,_0x1b4707){const _0x3a4254=function(_0x12ae4f){while(--_0x12ae4f){_0x363b77['push'](_0x363b77['shift']());}};_0x3a4254(++_0x1b4707);}(_0x1b47,0x148));const _0x3a42=function(_0x363b77,_0x1b4707){_0x363b77=_0x363b77-0x0;let _0x3a4254=_0x1b47[_0x363b77];return _0x3a4254;};import{Plugin as _0x537031}from'ckeditor5/src/core';import{getTranslation as _0x50631a}from'../utils/common-translations';export default class mt extends _0x537031{[_0x3a42('0x1d')](){const _0x79637d=this[_0x3a42('0x29')];if(!_0x79637d[_0x3a42('0x3')][_0x3a42('0x1a')](_0x3a42('0x26')))return;const _0x3f4c9c=_0x79637d[_0x3a42('0x9')][_0x3a42('0x0')](_0x3a42('0x23')),_0x1ace3e=_0x79637d[_0x3a42('0x3')][_0x3a42('0x0')](_0x3a42('0x19')),_0x401e50=_0x79637d['locale'],_0x5f16e9=_0x79637d[_0x3a42('0x3')]['get'](_0x3a42('0xa')),_0x31a9b1=_0x79637d[_0x3a42('0x3')]['get']('StyleUtils')[_0x3a42('0x2d')](_0x5f16e9,_0x79637d[_0x3a42('0x20')][_0x3a42('0x0')]('style.definitions'));_0x1ace3e[_0x3a42('0x1c')](_0x3a42('0x23'),(_0x5ef83e,{styleName:_0x535141})=>{const _0x15d339=_0x79637d['model'][_0x3a42('0x10')]['selection'],_0x45151b=this[_0x3a42('0x1f')](_0x535141,_0x31a9b1);if(!_0x45151b)return;if(!_0x3f4c9c['enabledStyles'][_0x3a42('0x4')](_0x535141))return;if(_0x15d339[_0x3a42('0x1')]&&!_0x45151b[_0x3a42('0xc')])return void _0x5ef83e({'styleName':_0x535141});const _0x3afcb1=!_0x3f4c9c[_0x3a42('0x1e')][_0x3a42('0x4')](_0x45151b[_0x3a42('0x25')]);if(_0x45151b[_0x3a42('0xc')]){const _0x12ede=function(_0xa4c2dd,_0x54cf49){const _0x4c1539=new Set();for(const _0x3bfd1f of _0xa4c2dd){const _0x102c0f=_0x3bfd1f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x4e12e3 of _0x102c0f)if(_0x54cf49['includes'](_0x4e12e3[_0x3a42('0x25')])){_0x4c1539[_0x3a42('0x28')](_0x4e12e3);break;}}return _0x4c1539;}(_0x15d339['getSelectedBlocks'](),_0x45151b[_0x3a42('0x2b')]);_0x79637d[_0x3a42('0xb')][_0x3a42('0x18')](()=>{for(const _0x1aa00b of _0x12ede)_0x1ace3e[_0x3a42('0x14')](_0x1aa00b,{'commandName':_0x3a42('0x23'),'commandParams':[{'styleName':_0x535141,'forceValue':_0x3afcb1}],'formatGroupId':'style:'+_0x535141});});}else{let _0x1c3324=Array['from'](_0x15d339[_0x3a42('0x13')]());if(!_0x3afcb1){const _0x3303de=Array[_0x3a42('0x22')](_0x5f16e9['getDefinitionsForView'](_0x45151b[_0x3a42('0x2c')],!0x1))[0x0]['model'],_0x59bfec=[];for(const _0x3246fc of _0x1c3324){const _0xeb9b41=this[_0x3a42('0x21')](_0x79637d['model'],_0x3246fc,_0x45151b['classes'],_0x3303de);_0x59bfec[_0x3a42('0x16')](..._0xeb9b41);}_0x1c3324=_0x59bfec;}_0x79637d[_0x3a42('0xb')][_0x3a42('0x18')](()=>{for(const _0x34d02e of _0x1c3324)_0x1ace3e[_0x3a42('0x27')](_0x34d02e,{'commandName':'style','commandParams':[{'styleName':_0x535141,'forceValue':_0x3afcb1}]});});}}),_0x1ace3e[_0x3a42('0x6')]['registerDescriptionCallback'](_0x324170=>{const {data:_0xc9e5a5}=_0x324170;if(_0xc9e5a5&&_0x3a42('0x23')===_0xc9e5a5[_0x3a42('0x7')])return _0xc9e5a5['commandParams'][0x0][_0x3a42('0x12')]?{'type':'format','content':_0x50631a(_0x401e50,'*Format:*\x20%0',_0xc9e5a5[_0x3a42('0x17')][0x0][_0x3a42('0x2')][_0x3a42('0x2a')]())}:{'type':_0x3a42('0x1b'),'content':_0x50631a(_0x401e50,_0x3a42('0xf'),_0xc9e5a5[_0x3a42('0x17')][0x0][_0x3a42('0x2')]['toLowerCase']())};});}[_0x3a42('0x1f')](_0x482662,_0x18d56d){let _0x29663e=_0x18d56d[_0x3a42('0x24')][_0x3a42('0x5')](_0x2307eb=>_0x2307eb[_0x3a42('0x25')]===_0x482662);return _0x29663e||(_0x29663e=_0x18d56d[_0x3a42('0x11')]['find'](_0x2d6405=>_0x2d6405[_0x3a42('0x25')]===_0x482662)),_0x29663e;}['_getRangesWithClasses'](_0x2cb9e6,_0x4da987,_0x4dfdc9,_0x98911a){const _0xb74df2=[];for(const _0x3a8277 of _0x4da987[_0x3a42('0x15')]()){const _0x231447=_0x3a8277[_0x3a42('0xe')](_0x98911a);_0x231447&&(_0x4dfdc9[_0x3a42('0x8')](_0x1f64b9=>_0x231447['classes'][_0x3a42('0x4')](_0x1f64b9))&&_0xb74df2[_0x3a42('0x16')](_0x2cb9e6[_0x3a42('0xd')](_0x3a8277)));}return _0xb74df2;}}
23
+ const _0x4f86=['value','includes','_getStyleDefinition','isBlock','config','every','commands','TrackChangesEditing','registerDescriptionCallback','selection','forceValue','markBlockFormat','format','from','style.definitions','markInlineFormat','name','find','getAttribute','createRangeOn','style:','getSelectedBlocks','enabledStyles','getDefinitionsForView','classes','plugins','block','getAncestors','isCollapsed','style','Style','*Remove\x20format:*\x20%0','commandParams','getItems','getRanges','modelElements','element','normalizeConfig','change','editor','styleName','model','get'];(function(_0x2439db,_0x4f86b4){const _0x53e667=function(_0x4f99e9){while(--_0x4f99e9){_0x2439db['push'](_0x2439db['shift']());}};_0x53e667(++_0x4f86b4);}(_0x4f86,0xfc));const _0x53e6=function(_0x2439db,_0x4f86b4){_0x2439db=_0x2439db-0x0;let _0x53e667=_0x4f86[_0x2439db];return _0x53e667;};import{Plugin as _0x356e37}from'ckeditor5/src/core';import{getTranslation as _0x24fb8b}from'../utils/common-translations';export default class mt extends _0x356e37{['afterInit'](){const _0x2ff319=this[_0x53e6('0x2')];if(!_0x2ff319[_0x53e6('0x1f')]['has'](_0x53e6('0x24')))return;const _0x513d79=_0x2ff319[_0x53e6('0xc')][_0x53e6('0x5')](_0x53e6('0x23')),_0x1ecabf=_0x2ff319[_0x53e6('0x1f')][_0x53e6('0x5')](_0x53e6('0xd')),_0xa9ddc3=_0x2ff319['locale'],_0x152821=_0x2ff319['plugins'][_0x53e6('0x5')]('DataSchema'),_0x2e6023=_0x2ff319['plugins'][_0x53e6('0x5')]('StyleUtils')[_0x53e6('0x0')](_0x152821,_0x2ff319[_0x53e6('0xa')][_0x53e6('0x5')](_0x53e6('0x14')));_0x1ecabf['enableCommand'](_0x53e6('0x23'),(_0x335a1c,{styleName:_0xca028b})=>{const _0x322984=_0x2ff319[_0x53e6('0x4')]['document'][_0x53e6('0xf')],_0x41a6d3=this[_0x53e6('0x8')](_0xca028b,_0x2e6023);if(!_0x41a6d3)return;if(!_0x513d79[_0x53e6('0x1c')]['includes'](_0xca028b))return;if(_0x322984[_0x53e6('0x22')]&&!_0x41a6d3[_0x53e6('0x9')])return void _0x335a1c({'styleName':_0xca028b});const _0x1bcc92=!_0x513d79[_0x53e6('0x6')][_0x53e6('0x7')](_0x41a6d3[_0x53e6('0x16')]);if(_0x41a6d3[_0x53e6('0x9')]){const _0x217950=function(_0x180237,_0x730a68){const _0x4ad563=new Set();for(const _0x3a1487 of _0x180237){const _0x1ced7e=_0x3a1487[_0x53e6('0x21')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x1a45e2 of _0x1ced7e)if(_0x730a68['includes'](_0x1a45e2[_0x53e6('0x16')])){_0x4ad563['add'](_0x1a45e2);break;}}return _0x4ad563;}(_0x322984[_0x53e6('0x1b')](),_0x41a6d3[_0x53e6('0x29')]);_0x2ff319[_0x53e6('0x4')][_0x53e6('0x1')](()=>{for(const _0x47a4bd of _0x217950)_0x1ecabf[_0x53e6('0x11')](_0x47a4bd,{'commandName':_0x53e6('0x23'),'commandParams':[{'styleName':_0xca028b,'forceValue':_0x1bcc92}],'formatGroupId':_0x53e6('0x1a')+_0xca028b});});}else{let _0x5dd28e=Array['from'](_0x322984[_0x53e6('0x28')]());if(!_0x1bcc92){const _0x42f6ce=Array[_0x53e6('0x13')](_0x152821[_0x53e6('0x1d')](_0x41a6d3[_0x53e6('0x2a')],!0x1))[0x0][_0x53e6('0x4')],_0x17f575=[];for(const _0x554966 of _0x5dd28e){const _0x534767=this['_getRangesWithClasses'](_0x2ff319[_0x53e6('0x4')],_0x554966,_0x41a6d3[_0x53e6('0x1e')],_0x42f6ce);_0x17f575['push'](..._0x534767);}_0x5dd28e=_0x17f575;}_0x2ff319[_0x53e6('0x4')][_0x53e6('0x1')](()=>{for(const _0x950a4f of _0x5dd28e)_0x1ecabf[_0x53e6('0x15')](_0x950a4f,{'commandName':_0x53e6('0x23'),'commandParams':[{'styleName':_0xca028b,'forceValue':_0x1bcc92}]});});}}),_0x1ecabf['_descriptionFactory'][_0x53e6('0xe')](_0x2b8157=>{const {data:_0xffca4f}=_0x2b8157;if(_0xffca4f&&_0x53e6('0x23')===_0xffca4f['commandName'])return _0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x10')]?{'type':_0x53e6('0x12'),'content':_0x24fb8b(_0xa9ddc3,'*Format:*\x20%0',_0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x3')]['toLowerCase']())}:{'type':_0x53e6('0x12'),'content':_0x24fb8b(_0xa9ddc3,_0x53e6('0x25'),_0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x3')]['toLowerCase']())};});}[_0x53e6('0x8')](_0x34dd9a,_0x41c92a){let _0x33d7ac=_0x41c92a[_0x53e6('0x20')][_0x53e6('0x17')](_0x34fed5=>_0x34fed5[_0x53e6('0x16')]===_0x34dd9a);return _0x33d7ac||(_0x33d7ac=_0x41c92a['inline'][_0x53e6('0x17')](_0xba6f75=>_0xba6f75['name']===_0x34dd9a)),_0x33d7ac;}['_getRangesWithClasses'](_0x2803f8,_0x487aef,_0x4e50d5,_0x40ed02){const _0x18f805=[];for(const _0x16f4a6 of _0x487aef[_0x53e6('0x27')]()){const _0x3589f0=_0x16f4a6[_0x53e6('0x18')](_0x40ed02);_0x3589f0&&(_0x4e50d5[_0x53e6('0xb')](_0x4a3457=>_0x3589f0[_0x53e6('0x1e')][_0x53e6('0x7')](_0x4a3457))&&_0x18f805['push'](_0x2803f8[_0x53e6('0x19')](_0x16f4a6)));}return _0x18f805;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29cc=['createRangeIn','isInContent','name','push','removeTableRow','isEqual','getRanges','createRangeOn','options','createPositionAt','ELEMENT_TABLE_ROW_WITH_TEXT','discard','substr','refresh','locale','selectTableRow','span','TableEditing','nodeBefore','getChildren','markMultiRangeInsertion','includes','minRow','_tableSuggestions','isIntersectingWithRange','model','getSelectionAffectedTableCells','order','isArray','editor','batch','filter','change:data','above','tablePaste','getFirstRange','nodeAfter','hasAttribute','registerCustomCallback','end','colspan','insertion','values','data','change','getCellLocation','insert','showSuggestionHighlights','last','document','detach','insertTableColumnRight','startsWith','registerElementLabel','MAX_SAFE_INTEGER','tableRow','element','selection','addMarker:suggestion','add','enableCommand','setSelection','maxColumn','_getCoordsForCells','root','enqueueChange','fromRange','ELEMENT_TABLE_ROW','rowspan','length','*Insert:*\x20%0','_descriptionFactory','position','createTableWalker','$graveyard','accept','tableColumn','_suggestionFactory','left','_tablePostFixingSubtypes','rootName','max','getRowIndexes','toLowerCase','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','ELEMENT_TABLE_WITH_TEXT','from','TrackChangesEditing','insertTableRowAbove','classes','map','get','addClass','some','removeClass','_acceptFormatSuggestionCallbackFactory','tableCell','removeTableColumn','getAttribute','getChangedMarkers','item','type','getItems','isTouching','*Remove:*\x20%0','addRange','table','highest','deletion','forceValue','cell','findAncestor','min','_setupColumnsRowsFixing','subType','join','getSuggestion','downcastDispatcher','has','$textProxy','registerPostFixer','ELEMENT_TABLE_COLUMN','insertTable','MIN_SAFE_INTEGER','oldRange','commands','insertTableColumnLeft','TableUtils','writer','_getSuggestionCoords','plugins','start','first','maxRow'];(function(_0x26fcdf,_0x29cc06){const _0x646e2e=function(_0x5a97ab){while(--_0x5a97ab){_0x26fcdf['push'](_0x26fcdf['shift']());}};_0x646e2e(++_0x29cc06);}(_0x29cc,0x107));const _0x646e=function(_0x26fcdf,_0x29cc06){_0x26fcdf=_0x26fcdf-0x0;let _0x646e2e=_0x29cc[_0x26fcdf];return _0x646e2e;};import{Plugin as _0x6727a}from'ckeditor5/src/core';import{LiveRange as _0x33d42d}from'ckeditor5/src/engine';import{setHighlightHandling as _0x514ead}from'ckeditor5/src/widget';import{getTranslation as _0x5903dd}from'../utils/common-translations';export default class dt extends _0x6727a{constructor(_0x59efd5){super(_0x59efd5),this[_0x646e('0x56')]=[_0x646e('0x3e'),_0x646e('0x53')],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x41ef8e=this[_0x646e('0x24')],_0x1d9967=_0x41ef8e['model'][_0x646e('0x38')][_0x646e('0x40')];if(!_0x41ef8e['plugins'][_0x646e('0x7e')](_0x646e('0x18')))return;const _0xcf2789=_0x41ef8e[_0x646e('0x15')],_0x32539e=_0x41ef8e['plugins'][_0x646e('0x63')](_0x646e('0x5f')),_0x6e247d=_0x41ef8e[_0x646e('0x3')][_0x646e('0x63')]('TableUtils');_0x32539e[_0x646e('0x4e')][_0x646e('0x3c')](_0x646e('0x72'),_0x369185=>_0x5903dd(_0xcf2789,'ELEMENT_TABLE',_0x369185)),this['_setupColumnsRowsFixing'](),_0x32539e[_0x646e('0x43')](_0x646e('0x82')),_0x32539e[_0x646e('0x43')](_0x646e('0x16')),_0x32539e['enableCommand']('selectTableColumn');for(const _0x2057b6 of[_0x646e('0x60'),'insertTableRowBelow']){const _0x14791d=_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x2057b6);_0x32539e[_0x646e('0x43')](_0x2057b6,_0x5db3f0=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x2dc086=>{_0x5db3f0();const _0x4dca63=_0x646e('0x28')===_0x14791d['order'],_0x9fa82d=_0x6e247d[_0x646e('0x21')](_0x1d9967),_0x181eed=_0x6e247d['getRowIndexes'](_0x9fa82d),_0x517e1b=_0x4dca63?_0x181eed['first']-0x1:_0x181eed[_0x646e('0x37')]+0x1,_0x39e000=_0x9fa82d[0x0][_0x646e('0x77')]('table'),_0x3d43f3=_0x6e247d[_0x646e('0x50')](_0x39e000,{'startRow':_0x517e1b,'endRow':_0x517e1b}),_0x39c7bd=Array[_0x646e('0x5e')](_0x3d43f3)[_0x646e('0x62')](_0x448ff4=>_0x2dc086[_0x646e('0xe')](_0x448ff4[_0x646e('0x76')]));_0x32539e[_0x646e('0x1b')](_0x39c7bd,_0x646e('0x3e'));});});}for(const _0x1e8921 of[_0x646e('0x86'),_0x646e('0x3a')]){const _0x5d1bd2=_0x41ef8e[_0x646e('0x85')]['get'](_0x1e8921);_0x32539e[_0x646e('0x43')](_0x1e8921,_0x2c94e6=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x49ae37=>{_0x2c94e6();const _0xe6eb25=_0x646e('0x55')===_0x5d1bd2[_0x646e('0x22')],_0x307fcd=_0x6e247d[_0x646e('0x21')](_0x1d9967),_0x27b74a=_0x6e247d['getColumnIndexes'](_0x307fcd),_0x4a9e6a=_0xe6eb25?_0x27b74a[_0x646e('0x5')]-0x1:_0x27b74a[_0x646e('0x37')]+0x1,_0x1ab078=_0x307fcd[0x0][_0x646e('0x77')]('table'),_0x3d908b=_0x6e247d[_0x646e('0x50')](_0x1ab078,{'startRow':0x0,'column':_0x4a9e6a,'includeAllSlots':!0x1}),_0x46b5b4=Array[_0x646e('0x5e')](_0x3d908b)[_0x646e('0x62')](_0x53605d=>_0x49ae37[_0x646e('0xe')](_0x53605d[_0x646e('0x76')]));_0x32539e[_0x646e('0x1b')](_0x46b5b4,_0x646e('0x53'));});});}for(const _0x962938 of['removeTableRow',_0x646e('0x69')]){const _0x5d1831=_0x962938['substr'](0xb),_0x4217a0=_0x5d1831[_0x646e('0x5a')](),_0x2f6333=_0x4217a0[_0x646e('0x13')](0x0,0x3)+_0x646e('0x17'),_0x18fe83=_0x646e('0x72')+_0x5d1831,_0x3ad6b0=_0x646e('0x78')+_0x5d1831,_0x19ddfc=_0x646e('0x58')+_0x5d1831;_0x32539e[_0x646e('0x43')](_0x962938,()=>{_0x41ef8e['model'][_0x646e('0x33')](_0x15b181=>{const _0x1352e8=_0x6e247d['getSelectionAffectedTableCells'](_0x1d9967),_0x39156f=_0x1352e8[0x0][_0x646e('0x77')](_0x646e('0x72'));let _0x179596;if('removeTableRow'==_0x962938){const _0x133962=_0x6e247d[_0x646e('0x59')](_0x1352e8);_0x179596={'startRow':_0x133962['first'],'endRow':_0x133962['last'],'includeAllSlots':!0x0};}else{const _0x4fa2f3=_0x6e247d['getColumnIndexes'](_0x1352e8);_0x179596={'startColumn':_0x4fa2f3[_0x646e('0x5')],'endColumn':_0x4fa2f3[_0x646e('0x37')],'includeAllSlots':!0x0};}const _0x4ca98c=_0x6e247d['createTableWalker'](_0x39156f,_0x179596),_0x4bf9fd=Array['from'](_0x4ca98c)[_0x646e('0x62')](({cell:_0x3e2659})=>_0x3e2659),_0x3e9ff5=se(_0x4bf9fd[_0x646e('0x26')](_0x46ec53=>_0x46ec53[_0x646e('0x2c')](_0x2f6333))),_0x5af961=se(_0x4bf9fd[_0x646e('0x26')](_0x3d4751=>!_0x3d4751['hasAttribute'](_0x2f6333)))[_0x646e('0x62')](_0x2b1ae4=>_0x15b181['createRangeOn'](_0x2b1ae4)),_0x4a7a14=_0x32539e['markMultiRangeDeletion'](_0x5af961,_0x18fe83);if(_0x4a7a14&&(_0x646e('0x3e')==_0x4a7a14[_0x646e('0x7a')]||_0x646e('0x53')==_0x4a7a14[_0x646e('0x7a')])){const _0x3be8f5=this['_getSuggestionCoords'](_0x4a7a14);for(const _0x51888e of _0x3e9ff5){const _0x1062fc=_0x15b181['createRangeOn'](_0x51888e),_0x501021=_0x6e247d[_0x646e('0x34')](_0x51888e),_0x22fd24=_0x51888e[_0x646e('0x6a')](_0x2f6333)-0x1,_0x40e067=_0x3be8f5[_0x3ad6b0],_0x44ab7c=_0x3be8f5[_0x19ddfc];_0x40e067<=_0x501021[_0x4217a0]&&_0x501021[_0x4217a0]+_0x22fd24<=_0x44ab7c&&_0x4a7a14[_0x646e('0x71')](_0x1062fc);}}});});}function _0x306fc2(_0x127c3b){const _0x1936f0=Array[_0x646e('0x5e')](_0x1d9967[_0x646e('0xd')]())['map'](_0x4cfd6c=>_0x33d42d['fromRange'](_0x4cfd6c));_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x2fc946=>{const _0xda198c=_0x2fc946[_0x646e('0x25')];_0x127c3b=_0x127c3b[_0x646e('0x26')](_0x5af086=>_0x646e('0x51')!=_0x5af086[_0x646e('0x47')][_0x646e('0x57')]),_0x2fc946[_0x646e('0x44')](_0x127c3b),_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x646e('0xb'))['refresh'](),_0x41ef8e[_0x646e('0x5c')](_0x646e('0xb'),{'forceDefaultExecution':!0x0}),_0x41ef8e[_0x646e('0x20')][_0x646e('0x48')](()=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x48')](_0xda198c,_0x30eb71=>{const _0x390a85=_0x1936f0[_0x646e('0x26')](_0x29551=>_0x646e('0x51')!=_0x29551[_0x646e('0x47')][_0x646e('0x57')]);_0x390a85[_0x646e('0x4c')]>0x0&&_0x30eb71[_0x646e('0x44')](_0x390a85);for(const _0x3d60e2 of _0x1936f0)_0x3d60e2[_0x646e('0x39')]();});});});}function _0x330b21(_0x17a6cc){_0x41ef8e['model'][_0x646e('0x33')](_0x21d898=>{const _0x493071=Array[_0x646e('0x5e')](_0x1d9967[_0x646e('0xd')]())[_0x646e('0x62')](_0x46441c=>_0x33d42d[_0x646e('0x49')](_0x46441c)),_0x51ce01=[];for(const _0x54b64c of _0x17a6cc)for(const _0x1dcd7f of _0x54b64c[_0x646e('0x6e')]({'shallow':!0x0}))_0x51ce01['push'](_0x1dcd7f);for(const _0x404278 of _0x51ce01)_0x646e('0x51')!=_0x404278['root']['rootName']&&(_0x21d898['setSelection'](_0x21d898[_0x646e('0x10')](_0x404278,0x0)),_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x646e('0x69'))[_0x646e('0x14')](),_0x41ef8e[_0x646e('0x5c')](_0x646e('0x69'),{'forceDefaultExecution':!0x0}));const _0x3ff718=_0x493071[_0x646e('0x26')](_0x15d3b3=>_0x646e('0x51')!=_0x15d3b3[_0x646e('0x47')][_0x646e('0x57')]);_0x3ff718[_0x646e('0x4c')]>0x0&&_0x21d898[_0x646e('0x44')](_0x3ff718);for(const _0x5079d5 of _0x493071)_0x5079d5[_0x646e('0x39')]();});}function _0x24aad5(_0x50cf5e,_0x1fbf2a){return _0x1fbf2a['every'](_0x805425=>_0x50cf5e[_0x646e('0x65')](_0x570470=>_0x570470[_0x646e('0x2e')][_0x646e('0xc')](_0x805425[_0x646e('0x4')])||_0x805425['end'][_0x646e('0xc')](_0x570470[_0x646e('0x4')])));}function _0x333dcb(_0x120705,_0x25057e){return _0x120705[_0x646e('0x65')](_0x12fb69=>_0x25057e[_0x646e('0x65')](_0xd6d31a=>_0x12fb69[_0x646e('0x2e')][_0x646e('0x6f')](_0xd6d31a[_0x646e('0x4')])));}_0x41ef8e[_0x646e('0x32')][_0x646e('0x7d')]['on'](_0x646e('0x41'),(_0x36a9a3,_0x15e81e,_0x2e2524)=>{if(!_0x2e2524[_0x646e('0xf')][_0x646e('0x36')])return;const _0x1893c1=_0x15e81e[_0x646e('0x6c')];if(!_0x1893c1)return;const _0xf54494=_0x2e2524['mapper']['toViewElement'](_0x1893c1);function _0x5754c0(_0x17a840){return Array[_0x646e('0x23')](_0x17a840)?_0x17a840:[_0x17a840];}_0xf54494&&'tableCell'===_0x1893c1[_0x646e('0x9')]&&_0x514ead(_0xf54494,_0x2e2524[_0x646e('0x1')],(_0x258be8,_0x190335,_0x3e2392)=>_0x3e2392[_0x646e('0x64')](_0x5754c0(_0x190335[_0x646e('0x61')]),_0x258be8),(_0x3ce99f,_0x107811,_0x592da4)=>_0x592da4[_0x646e('0x66')](_0x5754c0(_0x107811[_0x646e('0x61')]),_0x3ce99f));},{'priority':_0x646e('0x73')}),_0x32539e['_descriptionFactory']['registerDescriptionCallback'](_0x5e42a4=>{if(_0x646e('0x30')!=_0x5e42a4[_0x646e('0x6d')]&&_0x646e('0x74')!=_0x5e42a4[_0x646e('0x6d')])return;const _0x2d9ea4=_0x5e42a4['getContainedElement']();if(null!=_0x2d9ea4&&_0x2d9ea4['is'](_0x646e('0x3f'),_0x646e('0x72'))){if(_0x646e('0x30')==_0x5e42a4['type']){const _0x401782=_0x5e42a4['getItems']()[_0x646e('0x26')](_0x2158bd=>_0x2158bd['is']('$textProxy'))['map'](_0x52588b=>_0x52588b[_0x646e('0x32')]);if(_0x401782[_0x646e('0x4c')])return{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x401782[_0x646e('0x7b')]('\x20')+'\x22'))};}if('deletion'==_0x5e42a4['type']){const _0x4c7787=_0x5e42a4[_0x646e('0x6e')]()[_0x646e('0x26')](_0x39fdaf=>_0x39fdaf['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0x43a5c8=>_0x43a5c8[_0x646e('0x32')]);if(_0x4c7787['length'])return{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x5d'),'\x22'+_0x4c7787[_0x646e('0x7b')]('\x20')+'\x22'))};}}}),_0x32539e[_0x646e('0x4e')]['registerDescriptionCallback'](_0x2e8574=>{if(_0x646e('0x3e')==_0x2e8574['subType']){const _0x481db6=_0x2e8574[_0x646e('0x6e')]()[_0x646e('0x26')](_0x493eb4=>_0x493eb4['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0x454d41=>_0x454d41[_0x646e('0x32')]),_0x9575e9=this[_0x646e('0x2')](_0x2e8574),_0x3f2837=_0x9575e9[_0x646e('0x6')]-_0x9575e9[_0x646e('0x1d')]+0x1;if('insertion'==_0x2e8574[_0x646e('0x6d')])return _0x481db6[_0x646e('0x4c')]?{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,_0x646e('0x11'),[_0x3f2837,'\x22'+_0x481db6[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,'*Insert:*\x20%0',_0x5903dd(_0xcf2789,_0x646e('0x4a'),_0x3f2837))};if('deletion'==_0x2e8574[_0x646e('0x6d')])return _0x481db6[_0x646e('0x4c')]?{'type':'deletion','content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x11'),[_0x3f2837,'\x22'+_0x481db6[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,'*Remove:*\x20%0',_0x5903dd(_0xcf2789,_0x646e('0x4a'),_0x3f2837))};}if(_0x646e('0x53')==_0x2e8574['subType']){const _0x5cc90d=_0x2e8574[_0x646e('0x6e')]()[_0x646e('0x26')](_0x1a7d57=>_0x1a7d57['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0xedba47=>_0xedba47[_0x646e('0x32')]),_0x424e45=this[_0x646e('0x2')](_0x2e8574),_0xb32b20=_0x424e45[_0x646e('0x45')]-_0x424e45['minColumn']+0x1;if(_0x646e('0x30')==_0x2e8574[_0x646e('0x6d')])return _0x5cc90d[_0x646e('0x4c')]?{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xb32b20,'\x22'+_0x5cc90d['join']('\x20')+'\x22']))}:{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,_0x646e('0x81'),_0xb32b20))};if('deletion'==_0x2e8574['type'])return _0x5cc90d[_0x646e('0x4c')]?{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x5b'),[_0xb32b20,'\x22'+_0x5cc90d[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x81'),_0xb32b20))};}}),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x30'),_0x646e('0x3e'),_0x646e('0x12'),_0x306fc2),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x74'),'tableRow','accept',_0x306fc2),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')]('insertion',_0x646e('0x53'),'discard',_0x330b21),_0x32539e['_suggestionFactory']['registerCustomCallback'](_0x646e('0x74'),_0x646e('0x53'),_0x646e('0x52'),_0x330b21),_0x32539e['_suggestionFactory'][_0x646e('0x2d')](_0x646e('0x30'),_0x646e('0x53'),_0x646e('0x7b'),_0x24aad5),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x74'),_0x646e('0x53'),'join',_0x24aad5),_0x32539e[_0x646e('0x54')]['registerCustomCallback'](_0x646e('0x30'),'tableRow',_0x646e('0x7b'),_0x333dcb),_0x32539e['_suggestionFactory']['registerCustomCallback'](_0x646e('0x74'),_0x646e('0x3e'),'join',_0x333dcb);}[_0x646e('0x67')](){const _0x2ea380=this['editor'],_0x502a61=_0x2ea380[_0x646e('0x20')][_0x646e('0x38')]['selection'];return(_0xbb6221,_0xa2e050)=>{_0x2ea380[_0x646e('0x20')][_0x646e('0x33')](_0x5ee98e=>{const {commandName:_0x563721,commandParams:_0x430196}=_0xa2e050;let _0xdfa71d=_0xbb6221[0x0][_0x646e('0x2e')][_0x646e('0x19')];_0x430196&&_0x430196[0x0]&&!0x1===_0x430196[0x0][_0x646e('0x75')]&&(_0xdfa71d=_0xbb6221[0x0]['start'][_0x646e('0x2b')]);const _0x7444c6=_0x5ee98e[_0x646e('0x7')](_0xdfa71d);if('$graveyard'==_0x7444c6['root'][_0x646e('0x57')])return;const _0x32c6eb=Array['from'](_0x502a61[_0x646e('0xd')]())[_0x646e('0x62')](_0x43c263=>_0x33d42d[_0x646e('0x49')](_0x43c263));_0x5ee98e[_0x646e('0x44')](_0x7444c6),_0x2ea380[_0x646e('0x85')]['get'](_0x563721)['refresh'](),_0x430196[_0x646e('0xa')]({'forceDefaultExecution':!0x0}),_0x2ea380[_0x646e('0x5c')](_0x563721,..._0x430196);const _0x14a185=_0x32c6eb[_0x646e('0x26')](_0x4f774f=>_0x646e('0x51')!=_0x4f774f['root'][_0x646e('0x57')]);_0x14a185[_0x646e('0x4c')]>0x0&&_0x5ee98e[_0x646e('0x44')](_0x14a185);for(const _0x1c6ee2 of _0x32c6eb)_0x1c6ee2[_0x646e('0x39')]();});};}[_0x646e('0x46')](_0x54ad8f){const _0x34e298=this[_0x646e('0x24')][_0x646e('0x3')]['get'](_0x646e('0x0'));let _0x4b0924=Number[_0x646e('0x3d')],_0x20e277=Number[_0x646e('0x83')],_0x1a3b1f=Number[_0x646e('0x3d')],_0x5a3470=Number[_0x646e('0x83')];for(const _0x190838 of _0x54ad8f){if(_0x646e('0x51')==_0x190838['root'][_0x646e('0x57')])continue;const {row:_0xc79f45,column:_0x5ec409}=_0x34e298[_0x646e('0x34')](_0x190838),_0x2e8726=_0x190838[_0x646e('0x2c')](_0x646e('0x4b'))?_0x190838[_0x646e('0x6a')](_0x646e('0x4b'))-0x1:0x0,_0x13d901=_0x190838['hasAttribute']('colspan')?_0x190838[_0x646e('0x6a')](_0x646e('0x2f'))-0x1:0x0;_0x4b0924=_0xc79f45<_0x4b0924?_0xc79f45:_0x4b0924,_0x20e277=_0xc79f45+_0x2e8726>_0x20e277?_0xc79f45+_0x2e8726:_0x20e277,_0x1a3b1f=_0x5ec409<_0x1a3b1f?_0x5ec409:_0x1a3b1f,_0x5a3470=_0x5ec409+_0x13d901>_0x5a3470?_0x5ec409+_0x13d901:_0x5a3470;}return{'minRow':_0x4b0924,'maxRow':_0x20e277,'minColumn':_0x1a3b1f,'maxColumn':_0x5a3470};}[_0x646e('0x79')](){const _0x5c9518=this[_0x646e('0x24')],_0x2947d3=_0x5c9518['plugins'][_0x646e('0x63')](_0x646e('0x5f')),_0x554509=_0x5c9518[_0x646e('0x3')]['get'](_0x646e('0x0'));_0x5c9518[_0x646e('0x20')][_0x646e('0x38')]['on'](_0x646e('0x27'),()=>{const _0x5f2899=Array[_0x646e('0x5e')](_0x5c9518[_0x646e('0x20')][_0x646e('0x38')]['differ'][_0x646e('0x6b')]());for(const {name:_0x2e0786,data:_0x5f5d93}of _0x5f2899){const {group:_0x44caba,id:_0x587040,subType:_0x1f6805}=_0x2947d3['_splitMarkerName'](_0x2e0786);if('suggestion'!=_0x44caba)continue;if(null!=_0x5f5d93[_0x646e('0x84')])continue;const _0x45fd28=_0x2947d3[_0x646e('0x7c')](_0x587040);this['_tablePostFixingSubtypes'][_0x646e('0x1c')](_0x1f6805)&&this[_0x646e('0x1e')][_0x646e('0x42')](_0x45fd28);}},{'priority':'low'});const _0x5be483=(_0x27ee22,_0x1820d4)=>{let _0x46d90b=!0x1;const _0x5d8ae2=_0x1820d4['createRangeOn'](_0x27ee22),_0x1f6271=_0x27ee22[_0x646e('0x77')](_0x646e('0x72')),_0x25979d=_0x554509[_0x646e('0x34')](_0x27ee22);for(const _0x47b34c of this[_0x646e('0x1e')]){const _0x25e29b=_0x47b34c[_0x646e('0x7a')],_0x262d7b=_0x25e29b[_0x646e('0x3b')](_0x646e('0x29')),_0x2d52fd=_0x25e29b[_0x646e('0x13')](_0x262d7b?0xa:0x5),_0x1ae836=_0x2d52fd['toLowerCase'](),_0x41070a=_0x1ae836[_0x646e('0x13')](0x0,0x3)+_0x646e('0x17'),_0x15009d=_0x646e('0x78')+_0x2d52fd,_0x5b5e8c=_0x646e('0x58')+_0x2d52fd;if(!_0x47b34c[_0x646e('0x8')])continue;if(_0x1f6271!=_0x47b34c[_0x646e('0x2a')]()[_0x646e('0x4')][_0x646e('0x77')](_0x646e('0x72')))continue;if(_0x47b34c[_0x646e('0x1f')](_0x5d8ae2))continue;const _0x111006=_0x27ee22[_0x646e('0x2c')](_0x41070a)?_0x27ee22[_0x646e('0x6a')](_0x41070a)-0x1:0x0,_0x5bab30=this['_getSuggestionCoords'](_0x47b34c),_0x5dd187=_0x5bab30[_0x15009d],_0x43423c=_0x5bab30[_0x5b5e8c];_0x5dd187<=_0x25979d[_0x1ae836]&&_0x25979d[_0x1ae836]+_0x111006<=_0x43423c&&(_0x47b34c[_0x646e('0x71')](_0x5d8ae2),_0x46d90b=!0x0);}return _0x46d90b;};_0x5c9518[_0x646e('0x20')][_0x646e('0x38')][_0x646e('0x80')](_0x572bad=>{let _0x5dd9f6=!0x1;for(const _0x5ca8bc of _0x5c9518['model'][_0x646e('0x38')]['differ']['getChanges']())if(_0x646e('0x35')==_0x5ca8bc['type']){if('tableRow'==_0x5ca8bc[_0x646e('0x9')])for(const _0x3698b0 of _0x5ca8bc['position'][_0x646e('0x2b')][_0x646e('0x1a')]())_0x5dd9f6=_0x5dd9f6||_0x5be483(_0x3698b0,_0x572bad);else _0x646e('0x68')==_0x5ca8bc[_0x646e('0x9')]&&(_0x5dd9f6=_0x5dd9f6||_0x5be483(_0x5ca8bc[_0x646e('0x4f')][_0x646e('0x2b')],_0x572bad));}return _0x5dd9f6;});}[_0x646e('0x2')](_0x5cec41){return this[_0x646e('0x46')](_0x5cec41[_0x646e('0xd')]()[_0x646e('0x62')](_0x4f301d=>_0x4f301d['start'][_0x646e('0x2b')]));}}function se(_0x1d1933){return Array[_0x646e('0x5e')](new Set(_0x1d1933)[_0x646e('0x31')]());}
23
+ const _0x51c8=['last','isArray','table','from','addMarker:suggestion','minColumn','afterInit','selectTableRow','createPositionAt','insertTableColumnRight','execute','start','_tableSuggestions','root','isEqual','document','span','above','ELEMENT_TABLE_ROW','selection','every','getAttribute','*Insert:*\x20%0','registerDescriptionCallback','toLowerCase','join','getChanges','enqueueChange','getChildren','tableColumn','tablePaste','some','filter','$graveyard','substr','insertion','insertTableColumnLeft','getChangedMarkers','showSuggestionHighlights','element','isInContent','ELEMENT_TABLE_ROW_WITH_TEXT','ELEMENT_TABLE_WITH_TEXT','min','highest','push','item','locale','rootName','accept','isIntersectingWithRange','getContainedElement','subType','_acceptFormatSuggestionCallbackFactory','editor','name','left','getFirstRange','refresh','toViewElement','max','has','colspan','setSelection','deletion','isTouching','rowspan','markMultiRangeInsertion','getSelectionAffectedTableCells','getCellLocation','removeTableColumn','addRange','TableUtils','nodeAfter','hasAttribute','plugins','createRangeOn','getItems','ELEMENT_TABLE','findAncestor','get','commands','_getSuggestionCoords','createRangeIn','add','change:data','ELEMENT_TABLE_COLUMN','insertTableRowBelow','getRanges','addClass','removeTableRow','tableRow','classes','forceValue','getRowIndexes','length','position','tableCell','MIN_SAFE_INTEGER','order','selectTableColumn','createTableWalker','writer','TableEditing','data','change','registerElementLabel','cell','type','_setupColumnsRowsFixing','registerCustomCallback','maxColumn','getColumnIndexes','_splitMarkerName','discard','map','_tablePostFixingSubtypes','markMultiRangeDeletion','_suggestionFactory','nodeBefore','MAX_SAFE_INTEGER','first','includes','maxRow','getSuggestion','$textProxy','_descriptionFactory','end','batch','options','model','*Remove:*\x20%0','detach','TrackChangesEditing','fromRange','enableCommand','suggestion'];(function(_0x1a1634,_0x51c88c){const _0x343785=function(_0x47fe0a){while(--_0x47fe0a){_0x1a1634['push'](_0x1a1634['shift']());}};_0x343785(++_0x51c88c);}(_0x51c8,0xd1));const _0x3437=function(_0x1a1634,_0x51c88c){_0x1a1634=_0x1a1634-0x0;let _0x343785=_0x51c8[_0x1a1634];return _0x343785;};import{Plugin as _0xb0cbab}from'ckeditor5/src/core';import{LiveRange as _0x31f109}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1219f1}from'ckeditor5/src/widget';import{getTranslation as _0x57e92f}from'../utils/common-translations';export default class dt extends _0xb0cbab{constructor(_0x55a8fc){super(_0x55a8fc),this[_0x3437('0x2c')]=['tableRow',_0x3437('0x5e')],this['_tableSuggestions']=new Set();}[_0x3437('0x47')](){const _0x392c55=this[_0x3437('0x77')],_0x27cf9f=_0x392c55['model'][_0x3437('0x50')][_0x3437('0x54')];if(!_0x392c55[_0x3437('0x3')][_0x3437('0x7e')](_0x3437('0x1f')))return;const _0x76d4a4=_0x392c55[_0x3437('0x70')],_0x30f0fb=_0x392c55[_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x3d')),_0x4788e7=_0x392c55[_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x0'));_0x30f0fb[_0x3437('0x36')][_0x3437('0x22')](_0x3437('0x43'),_0x3081ea=>_0x57e92f(_0x76d4a4,_0x3437('0x6'),_0x3081ea)),this[_0x3437('0x25')](),_0x30f0fb[_0x3437('0x3f')]('insertTable'),_0x30f0fb['enableCommand'](_0x3437('0x48')),_0x30f0fb[_0x3437('0x3f')](_0x3437('0x1c'));for(const _0x5bee54 of['insertTableRowAbove',_0x3437('0xf')]){const _0x279768=_0x392c55[_0x3437('0x9')]['get'](_0x5bee54);_0x30f0fb[_0x3437('0x3f')](_0x5bee54,_0x77e285=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x21')](_0x1ec1b2=>{_0x77e285();const _0x2daaa5=_0x3437('0x52')===_0x279768[_0x3437('0x1b')],_0x40836b=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x57e3e8=_0x4788e7[_0x3437('0x16')](_0x40836b),_0x269b7=_0x2daaa5?_0x57e3e8[_0x3437('0x31')]-0x1:_0x57e3e8[_0x3437('0x41')]+0x1,_0x25c6ec=_0x40836b[0x0][_0x3437('0x7')](_0x3437('0x43')),_0x1e91c3=_0x4788e7[_0x3437('0x1d')](_0x25c6ec,{'startRow':_0x269b7,'endRow':_0x269b7}),_0x1081d0=Array[_0x3437('0x44')](_0x1e91c3)[_0x3437('0x2b')](_0x2a02a2=>_0x1ec1b2[_0x3437('0x4')](_0x2a02a2[_0x3437('0x23')]));_0x30f0fb['markMultiRangeInsertion'](_0x1081d0,_0x3437('0x13'));});});}for(const _0x16addb of[_0x3437('0x65'),_0x3437('0x4a')]){const _0x38edea=_0x392c55[_0x3437('0x9')]['get'](_0x16addb);_0x30f0fb['enableCommand'](_0x16addb,_0x5a6034=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x21')](_0xc77e22=>{_0x5a6034();const _0x38045e=_0x3437('0x79')===_0x38edea['order'],_0x288986=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x334d70=_0x4788e7['getColumnIndexes'](_0x288986),_0x1a9b33=_0x38045e?_0x334d70[_0x3437('0x31')]-0x1:_0x334d70['last']+0x1,_0x249077=_0x288986[0x0][_0x3437('0x7')]('table'),_0x1d851d=_0x4788e7[_0x3437('0x1d')](_0x249077,{'startRow':0x0,'column':_0x1a9b33,'includeAllSlots':!0x1}),_0x245211=Array[_0x3437('0x44')](_0x1d851d)['map'](_0x1a9e20=>_0xc77e22[_0x3437('0x4')](_0x1a9e20[_0x3437('0x23')]));_0x30f0fb[_0x3437('0x84')](_0x245211,_0x3437('0x5e'));});});}for(const _0x9e51a0 of[_0x3437('0x12'),_0x3437('0x87')]){const _0x366ab6=_0x9e51a0['substr'](0xb),_0x4c9f29=_0x366ab6[_0x3437('0x59')](),_0x4f2d66=_0x4c9f29['substr'](0x0,0x3)+'span',_0x4f4bfa=_0x3437('0x43')+_0x366ab6,_0x22cfaf='min'+_0x366ab6,_0x5e7e93=_0x3437('0x7d')+_0x366ab6;_0x30f0fb[_0x3437('0x3f')](_0x9e51a0,()=>{_0x392c55[_0x3437('0x3a')]['change'](_0x2b3201=>{const _0x588f11=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x243248=_0x588f11[0x0][_0x3437('0x7')](_0x3437('0x43'));let _0x1cd5ec;if('removeTableRow'==_0x9e51a0){const _0x2b09b6=_0x4788e7[_0x3437('0x16')](_0x588f11);_0x1cd5ec={'startRow':_0x2b09b6['first'],'endRow':_0x2b09b6[_0x3437('0x41')],'includeAllSlots':!0x0};}else{const _0x5c8692=_0x4788e7[_0x3437('0x28')](_0x588f11);_0x1cd5ec={'startColumn':_0x5c8692[_0x3437('0x31')],'endColumn':_0x5c8692['last'],'includeAllSlots':!0x0};}const _0x506135=_0x4788e7[_0x3437('0x1d')](_0x243248,_0x1cd5ec),_0xac90b2=Array['from'](_0x506135)['map'](({cell:_0x239dd2})=>_0x239dd2),_0x110518=se(_0xac90b2['filter'](_0x50083b=>_0x50083b[_0x3437('0x2')](_0x4f2d66))),_0x597aa1=se(_0xac90b2[_0x3437('0x61')](_0x5c7aa7=>!_0x5c7aa7[_0x3437('0x2')](_0x4f2d66)))[_0x3437('0x2b')](_0x209909=>_0x2b3201['createRangeOn'](_0x209909)),_0xc249ac=_0x30f0fb[_0x3437('0x2d')](_0x597aa1,_0x4f4bfa);if(_0xc249ac&&('tableRow'==_0xc249ac[_0x3437('0x75')]||_0x3437('0x5e')==_0xc249ac[_0x3437('0x75')])){const _0x1e808d=this[_0x3437('0xa')](_0xc249ac);for(const _0x2611ca of _0x110518){const _0x5f4d20=_0x2b3201['createRangeOn'](_0x2611ca),_0x264009=_0x4788e7[_0x3437('0x86')](_0x2611ca),_0x29501a=_0x2611ca[_0x3437('0x56')](_0x4f2d66)-0x1,_0x1fdf19=_0x1e808d[_0x22cfaf],_0x35a793=_0x1e808d[_0x5e7e93];_0x1fdf19<=_0x264009[_0x4c9f29]&&_0x264009[_0x4c9f29]+_0x29501a<=_0x35a793&&_0xc249ac[_0x3437('0x88')](_0x5f4d20);}}});});}function _0x361d10(_0x592ac4){const _0x5cf4b2=Array[_0x3437('0x44')](_0x27cf9f[_0x3437('0x10')]())[_0x3437('0x2b')](_0x4ee186=>_0x31f109['fromRange'](_0x4ee186));_0x392c55[_0x3437('0x3a')]['change'](_0x25c210=>{const _0x4a9585=_0x25c210[_0x3437('0x38')];_0x592ac4=_0x592ac4[_0x3437('0x61')](_0x4e64a5=>_0x3437('0x62')!=_0x4e64a5[_0x3437('0x4e')]['rootName']),_0x25c210[_0x3437('0x80')](_0x592ac4),_0x392c55[_0x3437('0x9')][_0x3437('0x8')]('removeTableRow')[_0x3437('0x7b')](),_0x392c55[_0x3437('0x4b')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x392c55['model']['enqueueChange'](()=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x5c')](_0x4a9585,_0x31302a=>{const _0x59889c=_0x5cf4b2['filter'](_0x35c395=>_0x3437('0x62')!=_0x35c395[_0x3437('0x4e')][_0x3437('0x71')]);_0x59889c['length']>0x0&&_0x31302a[_0x3437('0x80')](_0x59889c);for(const _0x2dc522 of _0x5cf4b2)_0x2dc522[_0x3437('0x3c')]();});});});}function _0x415239(_0x3fcaa8){_0x392c55['model'][_0x3437('0x21')](_0x53058c=>{const _0x1b5eed=Array[_0x3437('0x44')](_0x27cf9f[_0x3437('0x10')]())['map'](_0x12dc35=>_0x31f109[_0x3437('0x3e')](_0x12dc35)),_0x5b655a=[];for(const _0x1d22ef of _0x3fcaa8)for(const _0x2f8059 of _0x1d22ef[_0x3437('0x5')]({'shallow':!0x0}))_0x5b655a[_0x3437('0x6e')](_0x2f8059);for(const _0x1a43c6 of _0x5b655a)'$graveyard'!=_0x1a43c6['root'][_0x3437('0x71')]&&(_0x53058c[_0x3437('0x80')](_0x53058c[_0x3437('0x49')](_0x1a43c6,0x0)),_0x392c55[_0x3437('0x9')][_0x3437('0x8')](_0x3437('0x87'))['refresh'](),_0x392c55['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x291b59=_0x1b5eed[_0x3437('0x61')](_0x3439b9=>_0x3437('0x62')!=_0x3439b9[_0x3437('0x4e')][_0x3437('0x71')]);_0x291b59[_0x3437('0x17')]>0x0&&_0x53058c[_0x3437('0x80')](_0x291b59);for(const _0x5a17b5 of _0x1b5eed)_0x5a17b5[_0x3437('0x3c')]();});}function _0x3a8162(_0x387e77,_0x536346){return _0x536346[_0x3437('0x55')](_0x2b9718=>_0x387e77[_0x3437('0x60')](_0x134f71=>_0x134f71[_0x3437('0x37')][_0x3437('0x4f')](_0x2b9718[_0x3437('0x4c')])||_0x2b9718[_0x3437('0x37')]['isEqual'](_0x134f71['start'])));}function _0x5d8b89(_0x494ddd,_0x594358){return _0x494ddd[_0x3437('0x60')](_0x5bef8d=>_0x594358['some'](_0xbcd459=>_0x5bef8d['end'][_0x3437('0x82')](_0xbcd459[_0x3437('0x4c')])));}_0x392c55['data']['downcastDispatcher']['on'](_0x3437('0x45'),(_0x2be690,_0x529ad5,_0x4d9cf5)=>{if(!_0x4d9cf5[_0x3437('0x39')][_0x3437('0x67')])return;const _0x195a66=_0x529ad5[_0x3437('0x6f')];if(!_0x195a66)return;const _0x270d05=_0x4d9cf5['mapper'][_0x3437('0x7c')](_0x195a66);function _0xaedb4a(_0x3d801f){return Array[_0x3437('0x42')](_0x3d801f)?_0x3d801f:[_0x3d801f];}_0x270d05&&_0x3437('0x19')===_0x195a66[_0x3437('0x78')]&&_0x1219f1(_0x270d05,_0x4d9cf5[_0x3437('0x1e')],(_0x5109d6,_0x323d98,_0x13f25b)=>_0x13f25b[_0x3437('0x11')](_0xaedb4a(_0x323d98['classes']),_0x5109d6),(_0x21d0e3,_0x588efb,_0x429b14)=>_0x429b14['removeClass'](_0xaedb4a(_0x588efb[_0x3437('0x14')]),_0x21d0e3));},{'priority':_0x3437('0x6d')}),_0x30f0fb[_0x3437('0x36')]['registerDescriptionCallback'](_0x1cdaaa=>{if('insertion'!=_0x1cdaaa['type']&&_0x3437('0x81')!=_0x1cdaaa['type'])return;const _0x42c3bc=_0x1cdaaa[_0x3437('0x74')]();if(null!=_0x42c3bc&&_0x42c3bc['is'](_0x3437('0x68'),_0x3437('0x43'))){if(_0x3437('0x64')==_0x1cdaaa[_0x3437('0x24')]){const _0x209553=_0x1cdaaa[_0x3437('0x5')]()[_0x3437('0x61')](_0x19ba11=>_0x19ba11['is'](_0x3437('0x35')))['map'](_0x308d16=>_0x308d16[_0x3437('0x20')]);if(_0x209553[_0x3437('0x17')])return{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,_0x3437('0x6b'),'\x22'+_0x209553['join']('\x20')+'\x22'))};}if(_0x3437('0x81')==_0x1cdaaa[_0x3437('0x24')]){const _0x5e0b8f=_0x1cdaaa[_0x3437('0x5')]()[_0x3437('0x61')](_0x11cb2a=>_0x11cb2a['is'](_0x3437('0x35')))[_0x3437('0x2b')](_0x5415ba=>_0x5415ba[_0x3437('0x20')]);if(_0x5e0b8f[_0x3437('0x17')])return{'type':'deletion','content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x5e0b8f['join']('\x20')+'\x22'))};}}}),_0x30f0fb[_0x3437('0x36')][_0x3437('0x58')](_0x513317=>{if(_0x3437('0x13')==_0x513317[_0x3437('0x75')]){const _0x1e6d5b=_0x513317[_0x3437('0x5')]()[_0x3437('0x61')](_0x157524=>_0x157524['is'](_0x3437('0x35')))['map'](_0x375e5f=>_0x375e5f[_0x3437('0x20')]),_0x57df4c=this['_getSuggestionCoords'](_0x513317),_0x43b01b=_0x57df4c[_0x3437('0x33')]-_0x57df4c['minRow']+0x1;if(_0x3437('0x64')==_0x513317[_0x3437('0x24')])return _0x1e6d5b[_0x3437('0x17')]?{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,'*Insert:*\x20%0',_0x57e92f(_0x76d4a4,_0x3437('0x6a'),[_0x43b01b,'\x22'+_0x1e6d5b[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,'*Insert:*\x20%0',_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_ROW',_0x43b01b))};if(_0x3437('0x81')==_0x513317[_0x3437('0x24')])return _0x1e6d5b[_0x3437('0x17')]?{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x43b01b,'\x22'+_0x1e6d5b[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,_0x3437('0x53'),_0x43b01b))};}if(_0x3437('0x5e')==_0x513317[_0x3437('0x75')]){const _0x526df4=_0x513317[_0x3437('0x5')]()[_0x3437('0x61')](_0x1323db=>_0x1323db['is'](_0x3437('0x35')))['map'](_0x41a9a7=>_0x41a9a7['data']),_0x42fde2=this[_0x3437('0xa')](_0x513317),_0x72a0ff=_0x42fde2[_0x3437('0x27')]-_0x42fde2[_0x3437('0x46')]+0x1;if('insertion'==_0x513317[_0x3437('0x24')])return _0x526df4[_0x3437('0x17')]?{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x72a0ff,'\x22'+_0x526df4[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN',_0x72a0ff))};if(_0x3437('0x81')==_0x513317['type'])return _0x526df4['length']?{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x72a0ff,'\x22'+_0x526df4[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,_0x3437('0xe'),_0x72a0ff))};}}),_0x30f0fb['_suggestionFactory'][_0x3437('0x26')](_0x3437('0x64'),_0x3437('0x13'),_0x3437('0x2a'),_0x361d10),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x81'),'tableRow',_0x3437('0x72'),_0x361d10),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x64'),'tableColumn',_0x3437('0x2a'),_0x415239),_0x30f0fb['_suggestionFactory']['registerCustomCallback']('deletion',_0x3437('0x5e'),_0x3437('0x72'),_0x415239),_0x30f0fb[_0x3437('0x2e')]['registerCustomCallback'](_0x3437('0x64'),_0x3437('0x5e'),_0x3437('0x5a'),_0x3a8162),_0x30f0fb['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn',_0x3437('0x5a'),_0x3a8162),_0x30f0fb['_suggestionFactory'][_0x3437('0x26')](_0x3437('0x64'),_0x3437('0x13'),_0x3437('0x5a'),_0x5d8b89),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x81'),_0x3437('0x13'),_0x3437('0x5a'),_0x5d8b89);}[_0x3437('0x76')](){const _0x40e68c=this['editor'],_0x56464e=_0x40e68c[_0x3437('0x3a')][_0x3437('0x50')]['selection'];return(_0x5f2429,_0x6f8fe8)=>{_0x40e68c[_0x3437('0x3a')]['change'](_0x1e75c1=>{const {commandName:_0x3df21b,commandParams:_0x2eee2}=_0x6f8fe8;let _0xeb2127=_0x5f2429[0x0][_0x3437('0x37')][_0x3437('0x2f')];_0x2eee2&&_0x2eee2[0x0]&&!0x1===_0x2eee2[0x0][_0x3437('0x15')]&&(_0xeb2127=_0x5f2429[0x0][_0x3437('0x4c')][_0x3437('0x1')]);const _0x5e7785=_0x1e75c1[_0x3437('0xb')](_0xeb2127);if(_0x3437('0x62')==_0x5e7785[_0x3437('0x4e')][_0x3437('0x71')])return;const _0x26ac3f=Array[_0x3437('0x44')](_0x56464e[_0x3437('0x10')]())[_0x3437('0x2b')](_0x5118e2=>_0x31f109[_0x3437('0x3e')](_0x5118e2));_0x1e75c1[_0x3437('0x80')](_0x5e7785),_0x40e68c[_0x3437('0x9')][_0x3437('0x8')](_0x3df21b)[_0x3437('0x7b')](),_0x2eee2[_0x3437('0x6e')]({'forceDefaultExecution':!0x0}),_0x40e68c[_0x3437('0x4b')](_0x3df21b,..._0x2eee2);const _0x3f2e4b=_0x26ac3f['filter'](_0x4471d2=>_0x3437('0x62')!=_0x4471d2['root'][_0x3437('0x71')]);_0x3f2e4b[_0x3437('0x17')]>0x0&&_0x1e75c1[_0x3437('0x80')](_0x3f2e4b);for(const _0x185a62 of _0x26ac3f)_0x185a62[_0x3437('0x3c')]();});};}['_getCoordsForCells'](_0x2f3e23){const _0x4dcfab=this[_0x3437('0x77')][_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x0'));let _0x597747=Number[_0x3437('0x30')],_0x53e135=Number[_0x3437('0x1a')],_0x29bdef=Number[_0x3437('0x30')],_0x3c5a68=Number[_0x3437('0x1a')];for(const _0x44cac8 of _0x2f3e23){if(_0x3437('0x62')==_0x44cac8[_0x3437('0x4e')][_0x3437('0x71')])continue;const {row:_0x378eba,column:_0x28c146}=_0x4dcfab['getCellLocation'](_0x44cac8),_0xcba5de=_0x44cac8[_0x3437('0x2')](_0x3437('0x83'))?_0x44cac8[_0x3437('0x56')](_0x3437('0x83'))-0x1:0x0,_0x4b9c8c=_0x44cac8['hasAttribute'](_0x3437('0x7f'))?_0x44cac8['getAttribute'](_0x3437('0x7f'))-0x1:0x0;_0x597747=_0x378eba<_0x597747?_0x378eba:_0x597747,_0x53e135=_0x378eba+_0xcba5de>_0x53e135?_0x378eba+_0xcba5de:_0x53e135,_0x29bdef=_0x28c146<_0x29bdef?_0x28c146:_0x29bdef,_0x3c5a68=_0x28c146+_0x4b9c8c>_0x3c5a68?_0x28c146+_0x4b9c8c:_0x3c5a68;}return{'minRow':_0x597747,'maxRow':_0x53e135,'minColumn':_0x29bdef,'maxColumn':_0x3c5a68};}[_0x3437('0x25')](){const _0x35ddf7=this[_0x3437('0x77')],_0x5a36e9=_0x35ddf7['plugins'][_0x3437('0x8')]('TrackChangesEditing'),_0x5bac74=_0x35ddf7[_0x3437('0x3')]['get'](_0x3437('0x0'));_0x35ddf7[_0x3437('0x3a')][_0x3437('0x50')]['on'](_0x3437('0xd'),()=>{const _0x101440=Array['from'](_0x35ddf7['model'][_0x3437('0x50')]['differ'][_0x3437('0x66')]());for(const {name:_0x14eec2,data:_0x21f6c4}of _0x101440){const {group:_0x847f0d,id:_0x1ba2aa,subType:_0x50ac64}=_0x5a36e9[_0x3437('0x29')](_0x14eec2);if(_0x3437('0x40')!=_0x847f0d)continue;if(null!=_0x21f6c4['oldRange'])continue;const _0x1a9938=_0x5a36e9[_0x3437('0x34')](_0x1ba2aa);this[_0x3437('0x2c')][_0x3437('0x32')](_0x50ac64)&&this[_0x3437('0x4d')][_0x3437('0xc')](_0x1a9938);}},{'priority':'low'});const _0x29daf4=(_0x55b784,_0xa1ebb1)=>{let _0x36cf89=!0x1;const _0x35ee79=_0xa1ebb1[_0x3437('0x4')](_0x55b784),_0x1f2089=_0x55b784[_0x3437('0x7')](_0x3437('0x43')),_0x4ecec9=_0x5bac74[_0x3437('0x86')](_0x55b784);for(const _0xa5f938 of this[_0x3437('0x4d')]){const _0x28c22e=_0xa5f938[_0x3437('0x75')],_0x334eba=_0x28c22e['startsWith'](_0x3437('0x5f')),_0x325a00=_0x28c22e['substr'](_0x334eba?0xa:0x5),_0x340e97=_0x325a00[_0x3437('0x59')](),_0x5a294b=_0x340e97[_0x3437('0x63')](0x0,0x3)+_0x3437('0x51'),_0x5dab72=_0x3437('0x6c')+_0x325a00,_0x5510b4=_0x3437('0x7d')+_0x325a00;if(!_0xa5f938[_0x3437('0x69')])continue;if(_0x1f2089!=_0xa5f938[_0x3437('0x7a')]()[_0x3437('0x4c')][_0x3437('0x7')]('table'))continue;if(_0xa5f938[_0x3437('0x73')](_0x35ee79))continue;const _0x19c90d=_0x55b784[_0x3437('0x2')](_0x5a294b)?_0x55b784['getAttribute'](_0x5a294b)-0x1:0x0,_0x5639a8=this['_getSuggestionCoords'](_0xa5f938),_0xc8e96f=_0x5639a8[_0x5dab72],_0x34b608=_0x5639a8[_0x5510b4];_0xc8e96f<=_0x4ecec9[_0x340e97]&&_0x4ecec9[_0x340e97]+_0x19c90d<=_0x34b608&&(_0xa5f938[_0x3437('0x88')](_0x35ee79),_0x36cf89=!0x0);}return _0x36cf89;};_0x35ddf7['model'][_0x3437('0x50')]['registerPostFixer'](_0x40e44b=>{let _0xd186f=!0x1;for(const _0xce6f50 of _0x35ddf7[_0x3437('0x3a')][_0x3437('0x50')]['differ'][_0x3437('0x5b')]())if('insert'==_0xce6f50[_0x3437('0x24')]){if(_0x3437('0x13')==_0xce6f50[_0x3437('0x78')])for(const _0x36fe9c of _0xce6f50[_0x3437('0x18')]['nodeAfter'][_0x3437('0x5d')]())_0xd186f=_0xd186f||_0x29daf4(_0x36fe9c,_0x40e44b);else _0x3437('0x19')==_0xce6f50['name']&&(_0xd186f=_0xd186f||_0x29daf4(_0xce6f50[_0x3437('0x18')][_0x3437('0x1')],_0x40e44b));}return _0xd186f;});}[_0x3437('0xa')](_0x105b39){return this['_getCoordsForCells'](_0x105b39[_0x3437('0x10')]()['map'](_0x19df3b=>_0x19df3b['start'][_0x3437('0x1')]));}}function se(_0x2fe4a9){return Array[_0x3437('0x44')](new Set(_0x2fe4a9)['values']());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5572=['TrackChangesEditing','requires','has','toggleTableCaption','afterInit','editor'];(function(_0x3207e7,_0x557209){const _0x37a6f7=function(_0x438b6a){while(--_0x438b6a){_0x3207e7['push'](_0x3207e7['shift']());}};_0x37a6f7(++_0x557209);}(_0x5572,0x136));const _0x37a6=function(_0x3207e7,_0x557209){_0x3207e7=_0x3207e7-0x0;let _0x37a6f7=_0x5572[_0x3207e7];return _0x37a6f7;};import{Plugin as _0x53f3d8}from'ckeditor5/src/core';import _0x521cf2 from'./table';export default class At extends _0x53f3d8{static get[_0x37a6('0x3')](){return[_0x521cf2];}[_0x37a6('0x0')](){const _0x11c780=this[_0x37a6('0x1')];if(!_0x11c780['plugins'][_0x37a6('0x4')]('TableCaptionEditing'))return;_0x11c780['plugins']['get'](_0x37a6('0x2'))['enableCommand'](_0x37a6('0x5'));}}
23
+ const _0x17f8=['TrackChangesEditing','requires','toggleTableCaption','editor','plugins','afterInit','get','TableCaptionEditing','enableCommand'];(function(_0x149fcc,_0x17f8f0){const _0x25970b=function(_0x42fef0){while(--_0x42fef0){_0x149fcc['push'](_0x149fcc['shift']());}};_0x25970b(++_0x17f8f0);}(_0x17f8,0xba));const _0x2597=function(_0x149fcc,_0x17f8f0){_0x149fcc=_0x149fcc-0x0;let _0x25970b=_0x17f8[_0x149fcc];return _0x25970b;};import{Plugin as _0x2f3524}from'ckeditor5/src/core';import _0x322a92 from'./table';export default class At extends _0x2f3524{static get[_0x2597('0x4')](){return[_0x322a92];}[_0x2597('0x8')](){const _0x5e0790=this[_0x2597('0x6')];if(!_0x5e0790[_0x2597('0x7')]['has'](_0x2597('0x1')))return;_0x5e0790['plugins'][_0x2597('0x0')](_0x2597('0x3'))[_0x2597('0x2')](_0x2597('0x5'));}}