@ckeditor/ckeditor5-track-changes 38.0.1 → 38.1.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 (79) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +10 -8
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.d.ts +3 -2
  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.d.ts +3 -2
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.d.ts +3 -2
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.d.ts +3 -2
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.d.ts +3 -2
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.d.ts +3 -2
  50. package/src/integrations/tableclipboard.js +1 -1
  51. package/src/integrations/tablecolumnresize.js +1 -1
  52. package/src/integrations/tableheadings.d.ts +3 -2
  53. package/src/integrations/tableheadings.js +1 -1
  54. package/src/integrations/tablemergesplit.d.ts +3 -2
  55. package/src/integrations/tablemergesplit.js +1 -1
  56. package/src/integrations/tableofcontents.js +1 -1
  57. package/src/integrations/tableproperties.d.ts +1 -1
  58. package/src/integrations/tableproperties.js +1 -1
  59. package/src/integrations/template.js +1 -1
  60. package/src/integrations/title.js +1 -1
  61. package/src/integrations/undo.js +1 -1
  62. package/src/integrations/utils.js +1 -1
  63. package/src/suggestion.d.ts +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.d.ts +5 -5
  67. package/src/trackchanges.js +1 -1
  68. package/src/trackchangesdata.d.ts +4 -5
  69. package/src/trackchangesdata.js +1 -1
  70. package/src/trackchangesediting.d.ts +49 -5
  71. package/src/trackchangesediting.js +1 -1
  72. package/src/trackchangesui.d.ts +5 -5
  73. package/src/trackchangesui.js +1 -1
  74. package/src/ui/suggestioncontroller.js +1 -1
  75. package/src/ui/view/basesuggestionthreadview.js +1 -1
  76. package/src/ui/view/suggestionthreadview.d.ts +0 -2
  77. package/src/ui/view/suggestionthreadview.js +1 -1
  78. package/src/utils/common-translations.js +1 -1
  79. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x573f=['listIndent','blockName','commandParams','from','registerElementLabel','schema','afterInit','value','replace','isObject','nextSibling','model','getAttribute','commands','checkChild','createPositionAt','before','ELEMENT_LIST_ITEM','change','getSelectedBlocks','plugins','todoList','document','get','List','format','paragraph','editor','todoListChecked','markBlockFormat','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','add','ELEMENT_NUMBERED_LIST','*Outdent:*\x20%0','element','parent','filter','numberedList','checkTodoList','name','outdentList','bulletedList','enableCommand','_descriptionFactory','*Indent:*\x20%0','todo','previousSibling','selection','has','forceValue','numbered','listItem','indentList'];(function(_0x1ae37a,_0x573fd8){const _0x1e9fca=function(_0x2bbbbc){while(--_0x2bbbbc){_0x1ae37a['push'](_0x1ae37a['shift']());}};_0x1e9fca(++_0x573fd8);}(_0x573f,0xd5));const _0x1e9f=function(_0x1ae37a,_0x573fd8){_0x1ae37a=_0x1ae37a-0x0;let _0x1e9fca=_0x573f[_0x1ae37a];return _0x1e9fca;};import{Plugin as _0x2b121c}from'ckeditor5/src/core';import{getTranslation as _0x44bcc2}from'../utils/common-translations';export default class st extends _0x2b121c{[_0x1e9f('0xd')](){const _0x6f638e=this[_0x1e9f('0x22')],_0x34e0db=_0x6f638e['locale'];if(!_0x6f638e[_0x1e9f('0x1b')][_0x1e9f('0x2')]('ListEditing'))return;const _0x540429=_0x6f638e['plugins'][_0x1e9f('0x1e')]('TrackChangesEditing'),_0x1e97b4=_0x6f638e[_0x1e9f('0x1b')]['has']('TodoListEditing');function _0x1f2609(_0x1c8e74){return()=>{const _0x40aa06=_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')][_0x1e9f('0x1')],_0x17b544=_0x6f638e['commands'][_0x1e9f('0x1e')](_0x1c8e74);if(_0x17b544['value'])return void _0x6f638e['execute'](_0x1e9f('0x21'),{});const _0xb74b96=_0x1c8e74['slice'](0x0,-0x4),_0x3d0ba1=function(_0x4e9535,_0x1ad7b6,_0x1f93ec){let _0x267de8=Array[_0x1e9f('0xa')](_0x4e9535)[_0x1e9f('0x2d')](_0x2e804c=>function(_0x1cc8df,_0x3e18cf){return _0x3e18cf[_0x1e9f('0x15')](_0x1cc8df[_0x1e9f('0x2c')],'listItem')&&!_0x3e18cf[_0x1e9f('0x10')](_0x1cc8df);}(_0x2e804c,_0x1f93ec));_0x267de8=_0x267de8['filter'](_0x24942a=>!_0x24942a['is'](_0x1e9f('0x2b'),'listItem')||_0x24942a[_0x1e9f('0x13')]('listType')!=_0x1ad7b6);const _0x4065f8=new Set();for(const _0x5a952a of _0x267de8)_0x5a952a['is'](_0x1e9f('0x2b'),_0x1e9f('0x5'))?_0x4065f8['add'](ne(_0x5a952a)):_0x4065f8[_0x1e9f('0x28')](_0x5a952a);return Array[_0x1e9f('0xa')](_0x4065f8);}(_0x40aa06[_0x1e9f('0x1a')](),_0xb74b96,_0x6f638e['model'][_0x1e9f('0xc')]);_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x19')](()=>{for(const _0x31b1b6 of _0x3d0ba1)_0x540429[_0x1e9f('0x24')](_0x31b1b6,{'commandName':_0x1c8e74,'commandParams':[{'forceValue':!_0x17b544[_0x1e9f('0xe')]}],'formatGroupId':_0x1e9f('0x8')},oe(_0x31b1b6));});};}function _0x4f5748(_0x8c9373){return()=>{const _0x227496=function(_0x201361){let _0x44cdd1=Array[_0x1e9f('0xa')](_0x201361);const _0x4bc4ee=_0x44cdd1['findIndex'](_0x3aba41=>_0x1e9f('0x5')!=_0x3aba41[_0x1e9f('0x30')]);return _0x4bc4ee>-0x1&&(_0x44cdd1=_0x44cdd1['slice'](0x0,_0x4bc4ee)),_0x44cdd1;}(_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')]['selection'][_0x1e9f('0x1a')]()),_0x4067a5=_0x6f638e['model']['createRange'](_0x6f638e[_0x1e9f('0x12')]['createPositionAt'](_0x227496[0x0],_0x1e9f('0x17')),_0x6f638e['model'][_0x1e9f('0x16')](_0x227496[_0x227496['length']-0x1],'end'));_0x6f638e[_0x1e9f('0x12')]['change'](()=>{_0x540429[_0x1e9f('0x24')](_0x4067a5,{'commandName':_0x8c9373,'commandParams':[],'formatGroupId':_0x1e9f('0x7')},function(_0x1fbfad){const _0xc9d3ea=new Set();for(const _0x2c4200 of _0x1fbfad){let _0x297320=_0x2c4200[_0x1e9f('0x11')];for(;_0x297320&&_0x297320['getAttribute'](_0x1e9f('0x7'))>_0x2c4200[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0xc9d3ea[_0x1e9f('0x28')](_0x297320),_0x297320=_0x297320[_0x1e9f('0x11')];}return Array['from'](_0xc9d3ea);}(_0x227496));});};}_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2e'),_0x1f2609(_0x1e9f('0x2e'))),_0x540429['enableCommand'](_0x1e9f('0x32'),_0x1f2609(_0x1e9f('0x32'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')]('todoList',_0x1f2609('todoList')),_0x540429['enableCommand'](_0x1e9f('0x6'),_0x4f5748(_0x1e9f('0x6'))),_0x540429[_0x1e9f('0x33')](_0x1e9f('0x31'),_0x4f5748(_0x1e9f('0x31'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2f'),()=>{const _0x1b8025=_0x6f638e[_0x1e9f('0x14')][_0x1e9f('0x1e')](_0x1e9f('0x2f')),_0x31a108=Array['from'](_0x1b8025['_selectedElements']);_0x31a108[_0x1e9f('0x2d')](_0x51774b=>_0x51774b[_0x1e9f('0x13')](_0x1e9f('0x23'))!=_0x1b8025['value']),_0x6f638e[_0x1e9f('0x12')]['change'](()=>{for(const _0x90e39b of _0x31a108)_0x540429[_0x1e9f('0x24')](_0x90e39b,{'commandName':_0x1e9f('0x2f'),'commandParams':[{'forceValue':!_0x1b8025['value']}]});});}),_0x540429[_0x1e9f('0x34')][_0x1e9f('0xb')](_0x1e9f('0x5'),_0x35073b=>_0x44bcc2(_0x34e0db,_0x1e9f('0x18'),_0x35073b)),_0x540429[_0x1e9f('0x34')]['registerDescriptionCallback'](_0x59acc2=>{const {data:_0x35c8c2}=_0x59acc2;if(_0x35c8c2){if(_0x1e9f('0x2e')==_0x35c8c2['commandName']||_0x1e9f('0x32')==_0x35c8c2['commandName']||_0x1e9f('0x1c')==_0x35c8c2[_0x1e9f('0x25')])switch(_0x35c8c2[_0x1e9f('0x25')][_0x1e9f('0xf')](_0x1e9f('0x1f'),'')){case'bulleted':return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_BULLETED_LIST'));case _0x1e9f('0x4'):return _0x50d598(_0x44bcc2(_0x34e0db,_0x1e9f('0x29')));case _0x1e9f('0x36'):return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_TODO_LIST'));}if('indentList'==_0x35c8c2[_0x1e9f('0x25')])return{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x35'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x31')==_0x35c8c2[_0x1e9f('0x25')])return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x2a'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x2f')==_0x35c8c2[_0x1e9f('0x25')])return _0x35c8c2[_0x1e9f('0x9')][0x0][_0x1e9f('0x3')]?{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,'*Check\x20item*')}:{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x27'))};}function _0x50d598(_0x21ff15){return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x26'),_0x21ff15)};}});}}function ne(_0x4697b5){const _0x22c7b6=_0x4697b5[_0x1e9f('0x13')](_0x1e9f('0x7'));if(0x0==_0x22c7b6)return _0x4697b5;let _0x19a77b=_0x4697b5;for(;_0x4697b5['previousSibling']&&_0x4697b5[_0x1e9f('0x0')]['is']('element',_0x1e9f('0x5'));){const _0x195e23=_0x4697b5['previousSibling'][_0x1e9f('0x13')](_0x1e9f('0x7'));if(_0x195e23==_0x22c7b6)_0x19a77b=_0x4697b5[_0x1e9f('0x0')];else{if(_0x195e23<_0x22c7b6)break;}_0x4697b5=_0x4697b5[_0x1e9f('0x0')];}return _0x19a77b;}function oe(_0x496055){const _0x2b6c82=[];if(_0x496055['is'](_0x1e9f('0x2b'),'listItem')&&_0x496055[_0x1e9f('0x13')]('listIndent')>0x0){let _0x54c08e=_0x496055[_0x1e9f('0x11')];for(;_0x54c08e&&_0x1e9f('0x5')==_0x54c08e[_0x1e9f('0x30')]&&_0x54c08e[_0x1e9f('0x13')](_0x1e9f('0x7'))==_0x496055[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0x2b6c82['push'](_0x54c08e),_0x54c08e=_0x54c08e[_0x1e9f('0x11')];}return _0x2b6c82;}
23
+ const _0x1ffd=['ELEMENT_BULLETED_LIST','commands','filter','*Change\x20to:*\x20%0','get','getAttribute','findIndex','add','model','execute','ELEMENT_TODO_LIST','registerElementLabel','TodoListEditing','commandParams','locale','nextSibling','from','paragraph','name','bulletedList','selection','indentList','push','ListEditing','slice','blockName','length','commandName','element','listIndent','value','outdentList','todoList','_descriptionFactory','ELEMENT_NUMBERED_LIST','afterInit','change','previousSibling','*Indent:*\x20%0','before','getSelectedBlocks','registerDescriptionCallback','todo','schema','ELEMENT_LIST_ITEM','plugins','listType','end','checkTodoList','enableCommand','_selectedElements','markBlockFormat','has','createPositionAt','TrackChangesEditing','document','format','forceValue','listItem','createRange','numberedList'];(function(_0x17a6a1,_0x1ffdfe){const _0x298417=function(_0x55b65d){while(--_0x55b65d){_0x17a6a1['push'](_0x17a6a1['shift']());}};_0x298417(++_0x1ffdfe);}(_0x1ffd,0xc7));const _0x2984=function(_0x17a6a1,_0x1ffdfe){_0x17a6a1=_0x17a6a1-0x0;let _0x298417=_0x1ffd[_0x17a6a1];return _0x298417;};import{Plugin as _0x5ee380}from'ckeditor5/src/core';import{getTranslation as _0x41df16}from'../utils/common-translations';export default class st extends _0x5ee380{[_0x2984('0x13')](){const _0x286b07=this['editor'],_0x25403a=_0x286b07[_0x2984('0x3b')];if(!_0x286b07['plugins'][_0x2984('0x24')](_0x2984('0x7')))return;const _0x48aabc=_0x286b07['plugins'][_0x2984('0x31')](_0x2984('0x26')),_0x54e5cc=_0x286b07[_0x2984('0x1d')][_0x2984('0x24')](_0x2984('0x39'));function _0x5c5edf(_0x4d34fb){return()=>{const _0x7a8a5b=_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')],_0x4d15f2=_0x286b07['commands'][_0x2984('0x31')](_0x4d34fb);if(_0x4d15f2[_0x2984('0xe')])return void _0x286b07[_0x2984('0x36')](_0x2984('0x1'),{});const _0x3c1487=_0x4d34fb['slice'](0x0,-0x4),_0x1fd61b=function(_0x120daf,_0x57c99a,_0x49f215){let _0x52f121=Array[_0x2984('0x0')](_0x120daf)[_0x2984('0x2f')](_0x5a428e=>function(_0x5b7df7,_0x4ba206){return _0x4ba206['checkChild'](_0x5b7df7['parent'],_0x2984('0x2a'))&&!_0x4ba206['isObject'](_0x5b7df7);}(_0x5a428e,_0x49f215));_0x52f121=_0x52f121['filter'](_0x47e673=>!_0x47e673['is'](_0x2984('0xc'),'listItem')||_0x47e673[_0x2984('0x32')](_0x2984('0x1e'))!=_0x57c99a);const _0x46f9cd=new Set();for(const _0x3fb217 of _0x52f121)_0x3fb217['is'](_0x2984('0xc'),_0x2984('0x2a'))?_0x46f9cd['add'](ne(_0x3fb217)):_0x46f9cd['add'](_0x3fb217);return Array['from'](_0x46f9cd);}(_0x7a8a5b['getSelectedBlocks'](),_0x3c1487,_0x286b07[_0x2984('0x35')][_0x2984('0x1b')]);_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{for(const _0x25592a of _0x1fd61b)_0x48aabc[_0x2984('0x23')](_0x25592a,{'commandName':_0x4d34fb,'commandParams':[{'forceValue':!_0x4d15f2[_0x2984('0xe')]}],'formatGroupId':_0x2984('0x9')},oe(_0x25592a));});};}function _0x361360(_0x39aa09){return()=>{const _0x49cf23=function(_0x3c9488){let _0x41c5b7=Array[_0x2984('0x0')](_0x3c9488);const _0x4226bb=_0x41c5b7[_0x2984('0x33')](_0x7680cc=>_0x2984('0x2a')!=_0x7680cc[_0x2984('0x2')]);return _0x4226bb>-0x1&&(_0x41c5b7=_0x41c5b7[_0x2984('0x8')](0x0,_0x4226bb)),_0x41c5b7;}(_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')][_0x2984('0x18')]()),_0x3a9b7f=_0x286b07['model'][_0x2984('0x2b')](_0x286b07[_0x2984('0x35')][_0x2984('0x25')](_0x49cf23[0x0],_0x2984('0x17')),_0x286b07['model'][_0x2984('0x25')](_0x49cf23[_0x49cf23[_0x2984('0xa')]-0x1],_0x2984('0x1f')));_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{_0x48aabc[_0x2984('0x23')](_0x3a9b7f,{'commandName':_0x39aa09,'commandParams':[],'formatGroupId':_0x2984('0xd')},function(_0x42994a){const _0x137028=new Set();for(const _0xfc754 of _0x42994a){let _0x34c635=_0xfc754[_0x2984('0x3c')];for(;_0x34c635&&_0x34c635[_0x2984('0x32')]('listIndent')>_0xfc754[_0x2984('0x32')](_0x2984('0xd'));)_0x137028[_0x2984('0x34')](_0x34c635),_0x34c635=_0x34c635[_0x2984('0x3c')];}return Array['from'](_0x137028);}(_0x49cf23));});};}_0x48aabc[_0x2984('0x21')]('numberedList',_0x5c5edf(_0x2984('0x2c'))),_0x48aabc['enableCommand'](_0x2984('0x3'),_0x5c5edf(_0x2984('0x3'))),_0x54e5cc&&_0x48aabc['enableCommand'](_0x2984('0x10'),_0x5c5edf(_0x2984('0x10'))),_0x48aabc[_0x2984('0x21')](_0x2984('0x5'),_0x361360(_0x2984('0x5'))),_0x48aabc[_0x2984('0x21')](_0x2984('0xf'),_0x361360(_0x2984('0xf'))),_0x54e5cc&&_0x48aabc[_0x2984('0x21')]('checkTodoList',()=>{const _0x22af17=_0x286b07[_0x2984('0x2e')][_0x2984('0x31')](_0x2984('0x20')),_0x261709=Array[_0x2984('0x0')](_0x22af17[_0x2984('0x22')]);_0x261709['filter'](_0x544966=>_0x544966[_0x2984('0x32')]('todoListChecked')!=_0x22af17['value']),_0x286b07[_0x2984('0x35')]['change'](()=>{for(const _0x3fabc8 of _0x261709)_0x48aabc[_0x2984('0x23')](_0x3fabc8,{'commandName':_0x2984('0x20'),'commandParams':[{'forceValue':!_0x22af17['value']}]});});}),_0x48aabc[_0x2984('0x11')][_0x2984('0x38')](_0x2984('0x2a'),_0x3e77f7=>_0x41df16(_0x25403a,_0x2984('0x1c'),_0x3e77f7)),_0x48aabc[_0x2984('0x11')][_0x2984('0x19')](_0x4c718d=>{const {data:_0x88ed80}=_0x4c718d;if(_0x88ed80){if(_0x2984('0x2c')==_0x88ed80[_0x2984('0xb')]||_0x2984('0x3')==_0x88ed80['commandName']||_0x2984('0x10')==_0x88ed80[_0x2984('0xb')])switch(_0x88ed80['commandName']['replace']('List','')){case'bulleted':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x2d')));case'numbered':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x12')));case _0x2984('0x1a'):return _0x557152(_0x41df16(_0x25403a,_0x2984('0x37')));}if(_0x2984('0x5')==_0x88ed80[_0x2984('0xb')])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x16'),_0x41df16(_0x25403a,_0x2984('0x1c')))};if(_0x2984('0xf')==_0x88ed80['commandName'])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Outdent:*\x20%0',_0x41df16(_0x25403a,_0x2984('0x1c')))};if('checkTodoList'==_0x88ed80[_0x2984('0xb')])return _0x88ed80[_0x2984('0x3a')][0x0][_0x2984('0x29')]?{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Check\x20item*')}:{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Uncheck\x20item*')};}function _0x557152(_0xb7457b){return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x30'),_0xb7457b)};}});}}function ne(_0x3b557d){const _0x144c3c=_0x3b557d[_0x2984('0x32')](_0x2984('0xd'));if(0x0==_0x144c3c)return _0x3b557d;let _0x5defcd=_0x3b557d;for(;_0x3b557d[_0x2984('0x15')]&&_0x3b557d['previousSibling']['is'](_0x2984('0xc'),_0x2984('0x2a'));){const _0x1f5210=_0x3b557d['previousSibling'][_0x2984('0x32')]('listIndent');if(_0x1f5210==_0x144c3c)_0x5defcd=_0x3b557d[_0x2984('0x15')];else{if(_0x1f5210<_0x144c3c)break;}_0x3b557d=_0x3b557d[_0x2984('0x15')];}return _0x5defcd;}function oe(_0x17961a){const _0x1ea7cd=[];if(_0x17961a['is'](_0x2984('0xc'),_0x2984('0x2a'))&&_0x17961a[_0x2984('0x32')]('listIndent')>0x0){let _0x1374e5=_0x17961a[_0x2984('0x3c')];for(;_0x1374e5&&'listItem'==_0x1374e5[_0x2984('0x2')]&&_0x1374e5['getAttribute']('listIndent')==_0x17961a[_0x2984('0x32')](_0x2984('0xd'));)_0x1ea7cd[_0x2984('0x6')](_0x1374e5),_0x1374e5=_0x1374e5[_0x2984('0x3c')];}return _0x1ea7cd;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57e0=['startIndex','forward','getAttribute','commandName','plugins','before','styles','registerDescriptionCallback','listReversed','ListUtils','push','length','bind','editor','*Format:*\x20set\x20order\x20to\x20reversed','_getTranslationKeyForListStyle','handleListStartCommand','ELEMENT_','getSelectedBlocks','listStart','flat','commandParams','handleListStyleCommand','locale','listType','type','format','model','map','_LIST_','element','*Format:*\x20set\x20start\x20index\x20to\x20%0','ListPropertiesEditing','handleListReversedCommand','from','getFirstPosition','reversed','TrackChangesEditing','filter','enableCommand','*Change\x20to:*\x20%0','list.properties','listItem','_getSuggestionBlocksForListStyle','markMultiRangeBlockFormat','listStyle','document','afterInit','numbered','getSiblingNodes','*Format:*\x20set\x20order\x20to\x20regular','get','createRange','handleDescriptions','selection','replace','getListTypeFromListStyleType','change','backward','createPositionAt'];(function(_0x3ea150,_0x57e023){const _0xbfc53=function(_0x3b4c19){while(--_0x3b4c19){_0x3ea150['push'](_0x3ea150['shift']());}};_0xbfc53(++_0x57e023);}(_0x57e0,0x16b));const _0xbfc5=function(_0x3ea150,_0x57e023){_0x3ea150=_0x3ea150-0x0;let _0xbfc53=_0x57e0[_0x3ea150];return _0xbfc53;};import{Plugin as _0x135b8f}from'ckeditor5/src/core';import{getTranslation as _0x4fbff8}from'../utils/common-translations';export default class nt extends _0x135b8f{[_0xbfc5('0x2c')](){if(!this['editor'][_0xbfc5('0x1')]['has'](_0xbfc5('0x1d')))return;const _0x51ea6c=this[_0xbfc5('0xa')]['config'][_0xbfc5('0x30')](_0xbfc5('0x26')),_0x98eefb=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')]('TrackChangesEditing');_0x51ea6c[_0xbfc5('0x3')]&&_0x98eefb[_0xbfc5('0x24')](_0xbfc5('0x2a'),this[_0xbfc5('0x13')][_0xbfc5('0x9')](this)),_0x51ea6c[_0xbfc5('0x21')]&&_0x98eefb[_0xbfc5('0x24')](_0xbfc5('0x5'),this[_0xbfc5('0x1e')][_0xbfc5('0x9')](this)),_0x51ea6c['startIndex']&&_0x98eefb[_0xbfc5('0x24')]('listStart',this[_0xbfc5('0xd')]['bind'](this)),_0x98eefb['_descriptionFactory'][_0xbfc5('0x4')](this[_0xbfc5('0x32')][_0xbfc5('0x9')](this));}[_0xbfc5('0x13')](_0x9f1d3a,_0x21f300={}){const _0x3d71b1=this['editor'][_0xbfc5('0x1')]['get'](_0xbfc5('0x22')),_0x282307=this[_0xbfc5('0x28')]();this[_0xbfc5('0xa')][_0xbfc5('0x18')]['change'](()=>{_0x3d71b1[_0xbfc5('0x29')](_0x282307,{'commandName':_0xbfc5('0x2a'),'commandParams':[{'type':_0x21f300[_0xbfc5('0x16')]}],'formatGroupId':_0xbfc5('0x2a')});});}[_0xbfc5('0x1e')](_0x456f7d,_0x491439={}){const _0x106928=this['editor']['plugins'][_0xbfc5('0x30')](_0xbfc5('0x22')),_0x53d9a4=this['_getSuggestionBlocks'](_0x464fdb=>_0x464fdb['is'](_0xbfc5('0x1b'),_0xbfc5('0x27'))&&_0xbfc5('0x2d')===_0x464fdb[_0xbfc5('0x3b')]('listType'));if(_0x53d9a4[_0xbfc5('0x8')]<0x1)return;const _0x5cf920=_0x53d9a4[_0xbfc5('0x19')](_0x1e2311=>this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x31')](this[_0xbfc5('0xa')]['model'][_0xbfc5('0x38')](_0x1e2311,_0xbfc5('0x2')),this[_0xbfc5('0xa')][_0xbfc5('0x18')]['createPositionAt'](_0x1e2311,0x0)));this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x36')](()=>{_0x106928['markMultiRangeBlockFormat'](_0x5cf920,{'commandName':_0xbfc5('0x5'),'commandParams':[{'reversed':_0x491439[_0xbfc5('0x21')]}],'formatGroupId':'listReversed'});});}[_0xbfc5('0xd')](_0x228f1b,_0x22b60d={}){const _0xe5c0a1=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x22')),_0x2a9785=this['_getSuggestionBlocks'](_0x152da8=>_0x152da8['is'](_0xbfc5('0x1b'),_0xbfc5('0x27'))&&_0xbfc5('0x2d')===_0x152da8[_0xbfc5('0x3b')](_0xbfc5('0x15')));if(_0x2a9785['length']<0x1)return;const _0x5e13ed=_0x2a9785['map'](_0x4bc900=>this['editor'][_0xbfc5('0x18')][_0xbfc5('0x31')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x38')](_0x4bc900,'before'),this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x38')](_0x4bc900,0x0)));this[_0xbfc5('0xa')]['model'][_0xbfc5('0x36')](()=>{_0xe5c0a1[_0xbfc5('0x29')](_0x5e13ed,{'commandName':_0xbfc5('0x10'),'commandParams':[{'startIndex':_0x22b60d['startIndex']}],'formatGroupId':_0xbfc5('0x10')});});}[_0xbfc5('0x32')](_0x233f4b){const _0x4df751=this['editor'][_0xbfc5('0x14')],{data:_0x401f9f}=_0x233f4b;if(!_0x401f9f)return;let _0x390fca,_0x3c38c8;switch(_0x401f9f[_0xbfc5('0x0')]){case _0xbfc5('0x2a'):_0x390fca=_0xbfc5('0x25'),_0x3c38c8={'type':_0xbfc5('0x17'),'content':_0x4fbff8(_0x4df751,_0x390fca,_0x4fbff8(_0x4df751,this['_getTranslationKeyForListStyle'](_0x401f9f['commandParams'][0x0]['type'])))};break;case _0xbfc5('0x5'):_0x390fca=_0x401f9f[_0xbfc5('0x12')][0x0][_0xbfc5('0x21')]?_0xbfc5('0xb'):_0xbfc5('0x2f'),_0x3c38c8={'type':_0xbfc5('0x17'),'content':_0x4fbff8(_0x4df751,_0x390fca)};break;case _0xbfc5('0x10'):_0x390fca=_0xbfc5('0x1c'),_0x3c38c8={'type':'format','content':_0x4fbff8(_0x4df751,_0x390fca,_0x401f9f[_0xbfc5('0x12')][0x0][_0xbfc5('0x39')])};}return _0x3c38c8;}['_getSuggestionBlocksForListStyle'](){var _0x1ab51e,_0xb98d89,_0x1a4709,_0x3d5a9d;const _0x4d8e1a=this[_0xbfc5('0xa')]['plugins'][_0xbfc5('0x30')]('ListUtils');let _0x3f7e3d=Array[_0xbfc5('0x1f')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0xf')]());return(null===(_0x1ab51e=_0x3f7e3d[0x0])||void 0x0===_0x1ab51e?void 0x0:_0x1ab51e['is']('element','listItem'))&&_0x3f7e3d['unshift'](..._0x4d8e1a[_0xbfc5('0x2e')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0x20')](),_0xbfc5('0x37'))),(null===(_0xb98d89=_0x3f7e3d[_0x3f7e3d[_0xbfc5('0x8')]-0x1])||void 0x0===_0xb98d89?void 0x0:_0xb98d89['is'](_0xbfc5('0x1b'),_0xbfc5('0x27')))&&_0x3f7e3d[_0xbfc5('0x7')](..._0x4d8e1a[_0xbfc5('0x2e')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')]['getLastPosition'](),_0xbfc5('0x3a'))),_0x3f7e3d=[...new Set(_0x3f7e3d)],(null===(_0x3d5a9d=null===(_0x1a4709=this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0x20')]())||void 0x0===_0x1a4709?void 0x0:_0x1a4709['parent'])||void 0x0===_0x3d5a9d?void 0x0:_0x3d5a9d['is'](_0xbfc5('0x1b'),'listItem'))&&(_0x3f7e3d=_0x3f7e3d[_0xbfc5('0x23')](_0x206b47=>_0x206b47['is'](_0xbfc5('0x1b'),_0xbfc5('0x27')))),_0x3f7e3d;}['_getSuggestionBlocks'](_0x56401e){const _0x5a0f53=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x6'));let _0x6d301b=Array[_0xbfc5('0x1f')](this['editor'][_0xbfc5('0x18')]['document'][_0xbfc5('0x33')]['getSelectedBlocks']())['filter'](_0x56401e)[_0xbfc5('0x19')](_0x1fea3e=>{const _0x59da8a=this[_0xbfc5('0xa')][_0xbfc5('0x18')]['createPositionAt'](_0x1fea3e,0x0);return[..._0x5a0f53[_0xbfc5('0x2e')](_0x59da8a,'backward'),..._0x5a0f53['getSiblingNodes'](_0x59da8a,_0xbfc5('0x3a'))];})[_0xbfc5('0x11')]();return _0x6d301b=[...new Set(_0x6d301b)],_0x6d301b;}[_0xbfc5('0xc')](_0x39c63f){return _0xbfc5('0xe')+this['editor'][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x6'))[_0xbfc5('0x35')](_0x39c63f)['toUpperCase']()+_0xbfc5('0x1a')+_0x39c63f['toUpperCase']()[_0xbfc5('0x34')](/-/g,'_');}}
23
+ const _0x2ce8=['_getSuggestionBlocks','from','_getTranslationKeyForListStyle','registerDescriptionCallback','commandName','length','ELEMENT_','has','map','document','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','type','_descriptionFactory','*Change\x20to:*\x20%0','getFirstPosition','parent','listReversed','commandParams','reversed','listItem','handleListReversedCommand','getListTypeFromListStyleType','startIndex','backward','before','afterInit','getSiblingNodes','selection','handleListStyleCommand','_getSuggestionBlocksForListStyle','listStart','toUpperCase','listType','flat','change','list.properties','plugins','element','ListPropertiesEditing','getLastPosition','numbered','replace','createRange','bind','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20regular','ListUtils','editor','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','get','markMultiRangeBlockFormat','config','createPositionAt','model','filter','TrackChangesEditing','getAttribute','format','enableCommand','forward','locale','handleDescriptions','push'];(function(_0xa31cd5,_0x2ce8f2){const _0x9a48b0=function(_0x29394c){while(--_0x29394c){_0xa31cd5['push'](_0xa31cd5['shift']());}};_0x9a48b0(++_0x2ce8f2);}(_0x2ce8,0x8e));const _0x9a48=function(_0xa31cd5,_0x2ce8f2){_0xa31cd5=_0xa31cd5-0x0;let _0x9a48b0=_0x2ce8[_0xa31cd5];return _0x9a48b0;};import{Plugin as _0x3215a0}from'ckeditor5/src/core';import{getTranslation as _0x5387c4}from'../utils/common-translations';export default class nt extends _0x3215a0{[_0x9a48('0xe')](){if(!this['editor'][_0x9a48('0x19')][_0x9a48('0x3c')](_0x9a48('0x1b')))return;const _0x542d42=this['editor'][_0x9a48('0x29')][_0x9a48('0x27')](_0x9a48('0x18')),_0x524cc6=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d'));_0x542d42['styles']&&_0x524cc6['enableCommand'](_0x9a48('0x3f'),this[_0x9a48('0x11')]['bind'](this)),_0x542d42[_0x9a48('0x7')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x5'),this['handleListReversedCommand'][_0x9a48('0x20')](this)),_0x542d42[_0x9a48('0xb')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x13'),this[_0x9a48('0x21')][_0x9a48('0x20')](this)),_0x524cc6[_0x9a48('0x1')][_0x9a48('0x38')](this[_0x9a48('0x33')][_0x9a48('0x20')](this));}[_0x9a48('0x11')](_0x27d28b,_0x45c941={}){const _0x557328=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0xccaaeb=this[_0x9a48('0x12')]();this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x557328[_0x9a48('0x28')](_0xccaaeb,{'commandName':_0x9a48('0x3f'),'commandParams':[{'type':_0x45c941[_0x9a48('0x0')]}],'formatGroupId':'listStyle'});});}[_0x9a48('0x9')](_0x484600,_0x941ad={}){const _0x5c4f6a=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0x46f8b7=this['_getSuggestionBlocks'](_0x301248=>_0x301248['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0x301248['getAttribute'](_0x9a48('0x15')));if(_0x46f8b7[_0x9a48('0x3a')]<0x1)return;const _0x3c00ce=_0x46f8b7[_0x9a48('0x3d')](_0x1682b3=>this[_0x9a48('0x24')]['model'][_0x9a48('0x1f')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1682b3,_0x9a48('0xd')),this['editor']['model'][_0x9a48('0x2a')](_0x1682b3,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x5c4f6a[_0x9a48('0x28')](_0x3c00ce,{'commandName':_0x9a48('0x5'),'commandParams':[{'reversed':_0x941ad['reversed']}],'formatGroupId':_0x9a48('0x5')});});}[_0x9a48('0x21')](_0x55844f,_0x2c886c={}){const _0x230db3=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d')),_0x5e11ce=this[_0x9a48('0x35')](_0xa821ff=>_0xa821ff['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0xa821ff[_0x9a48('0x2e')]('listType'));if(_0x5e11ce[_0x9a48('0x3a')]<0x1)return;const _0xb0e603=_0x5e11ce[_0x9a48('0x3d')](_0x5cbc1e=>this[_0x9a48('0x24')][_0x9a48('0x2b')]['createRange'](this[_0x9a48('0x24')][_0x9a48('0x2b')]['createPositionAt'](_0x5cbc1e,_0x9a48('0xd')),this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x5cbc1e,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x230db3[_0x9a48('0x28')](_0xb0e603,{'commandName':_0x9a48('0x13'),'commandParams':[{'startIndex':_0x2c886c[_0x9a48('0xb')]}],'formatGroupId':_0x9a48('0x13')});});}[_0x9a48('0x33')](_0x37d951){const _0x3a16ab=this[_0x9a48('0x24')][_0x9a48('0x32')],{data:_0x3f56c2}=_0x37d951;if(!_0x3f56c2)return;let _0x10d86f,_0x2911db;switch(_0x3f56c2[_0x9a48('0x39')]){case _0x9a48('0x3f'):_0x10d86f=_0x9a48('0x2'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x5387c4(_0x3a16ab,this['_getTranslationKeyForListStyle'](_0x3f56c2[_0x9a48('0x6')][0x0][_0x9a48('0x0')])))};break;case _0x9a48('0x5'):_0x10d86f=_0x3f56c2[_0x9a48('0x6')][0x0]['reversed']?_0x9a48('0x40'):_0x9a48('0x22'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f)};break;case _0x9a48('0x13'):_0x10d86f=_0x9a48('0x25'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x3f56c2[_0x9a48('0x6')][0x0]['startIndex'])};}return _0x2911db;}['_getSuggestionBlocksForListStyle'](){var _0x4d648e,_0x35be33,_0x1028ea,_0x42dd32;const _0x813b92=this[_0x9a48('0x24')]['plugins'][_0x9a48('0x27')](_0x9a48('0x23'));let _0x349d6f=Array[_0x9a48('0x36')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')][_0x9a48('0x10')][_0x9a48('0x26')]());return(null===(_0x4d648e=_0x349d6f[0x0])||void 0x0===_0x4d648e?void 0x0:_0x4d648e['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f['unshift'](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x3')](),_0x9a48('0xc'))),(null===(_0x35be33=_0x349d6f[_0x349d6f[_0x9a48('0x3a')]-0x1])||void 0x0===_0x35be33?void 0x0:_0x35be33['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f[_0x9a48('0x34')](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x1c')](),'forward')),_0x349d6f=[...new Set(_0x349d6f)],(null===(_0x42dd32=null===(_0x1028ea=this[_0x9a48('0x24')][_0x9a48('0x2b')]['document']['selection'][_0x9a48('0x3')]())||void 0x0===_0x1028ea?void 0x0:_0x1028ea[_0x9a48('0x4')])||void 0x0===_0x42dd32?void 0x0:_0x42dd32['is'](_0x9a48('0x1a'),_0x9a48('0x8')))&&(_0x349d6f=_0x349d6f[_0x9a48('0x2c')](_0x56e994=>_0x56e994['is'](_0x9a48('0x1a'),_0x9a48('0x8')))),_0x349d6f;}[_0x9a48('0x35')](_0x252005){const _0x2f094a=this[_0x9a48('0x24')][_0x9a48('0x19')]['get'](_0x9a48('0x23'));let _0x5b4c56=Array[_0x9a48('0x36')](this['editor']['model']['document'][_0x9a48('0x10')]['getSelectedBlocks']())[_0x9a48('0x2c')](_0x252005)[_0x9a48('0x3d')](_0x1965cd=>{const _0x414873=this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1965cd,0x0);return[..._0x2f094a['getSiblingNodes'](_0x414873,'backward'),..._0x2f094a[_0x9a48('0xf')](_0x414873,_0x9a48('0x31'))];})[_0x9a48('0x16')]();return _0x5b4c56=[...new Set(_0x5b4c56)],_0x5b4c56;}[_0x9a48('0x37')](_0x57c5eb){return _0x9a48('0x3b')+this[_0x9a48('0x24')]['plugins']['get'](_0x9a48('0x23'))[_0x9a48('0xa')](_0x57c5eb)['toUpperCase']()+'_LIST_'+_0x57c5eb[_0x9a48('0x14')]()[_0x9a48('0x1e')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1277=['high','get','options','_descriptionFactory','registerElementLabel','dataDowncast','mediaEmbed','stop','createEmptyElement','afterInit','div','enableCommand','for','plugins','locale','MediaEmbedEditing','ELEMENT_MEDIA','attribute:url:media','elementToElement','data','TrackChangesEditing','editor','media'];(function(_0x3d5605,_0x127712){const _0xdfaa72=function(_0x1eea46){while(--_0x1eea46){_0x3d5605['push'](_0x3d5605['shift']());}};_0xdfaa72(++_0x127712);}(_0x1277,0x165));const _0xdfaa=function(_0x3d5605,_0x127712){_0x3d5605=_0x3d5605-0x0;let _0xdfaa72=_0x1277[_0x3d5605];return _0xdfaa72;};import{Plugin as _0x5274d6}from'ckeditor5/src/core';import{getTranslation as _0x5a1465}from'../utils/common-translations';export default class ot extends _0x5274d6{[_0xdfaa('0x14')](){const _0x2a64c1=this[_0xdfaa('0x9')];if(!_0x2a64c1[_0xdfaa('0x1')]['has'](_0xdfaa('0x3')))return;const _0x5d9204=_0x2a64c1[_0xdfaa('0x1')][_0xdfaa('0xc')](_0xdfaa('0x8')),_0x471c89=_0x2a64c1[_0xdfaa('0x2')];_0x5d9204[_0xdfaa('0x16')](_0xdfaa('0x11')),_0x5d9204[_0xdfaa('0xe')][_0xdfaa('0xf')](_0xdfaa('0xa'),_0x1aa3bd=>_0x5a1465(_0x471c89,_0xdfaa('0x4'),_0x1aa3bd)),_0x2a64c1['conversion'][_0xdfaa('0x0')](_0xdfaa('0x10'))[_0xdfaa('0x6')]({'model':_0xdfaa('0xa'),'view':(_0x1cf1c8,{writer:_0x17c552,options:_0x2b9fbf})=>{if(_0x2b9fbf['showSuggestionHighlights'])return _0x17c552[_0xdfaa('0x13')](_0xdfaa('0x15'));},'converterPriority':'high'}),_0x2a64c1[_0xdfaa('0x7')]['downcastDispatcher']['on'](_0xdfaa('0x5'),(_0x24ffe0,_0x3e368b,_0x169f4a)=>{_0x169f4a[_0xdfaa('0xd')]['showSuggestionHighlights']&&_0x24ffe0[_0xdfaa('0x12')]();},{'priority':_0xdfaa('0xb')});}}
23
+ const _0x35d4=['downcastDispatcher','plugins','editor','TrackChangesEditing','registerElementLabel','_descriptionFactory','ELEMENT_MEDIA','options','afterInit','attribute:url:media','MediaEmbedEditing','showSuggestionHighlights','conversion','enableCommand','for','high'];(function(_0x1263be,_0x35d47f){const _0xd77aae=function(_0x159a62){while(--_0x159a62){_0x1263be['push'](_0x1263be['shift']());}};_0xd77aae(++_0x35d47f);}(_0x35d4,0xb1));const _0xd77a=function(_0x1263be,_0x35d47f){_0x1263be=_0x1263be-0x0;let _0xd77aae=_0x35d4[_0x1263be];return _0xd77aae;};import{Plugin as _0x370ac1}from'ckeditor5/src/core';import{getTranslation as _0x1f5220}from'../utils/common-translations';export default class ot extends _0x370ac1{[_0xd77a('0x7')](){const _0x318010=this[_0xd77a('0x1')];if(!_0x318010[_0xd77a('0x0')]['has'](_0xd77a('0x9')))return;const _0x5b1c31=_0x318010[_0xd77a('0x0')]['get'](_0xd77a('0x2')),_0xd91df0=_0x318010['locale'];_0x5b1c31[_0xd77a('0xc')]('mediaEmbed'),_0x5b1c31[_0xd77a('0x4')][_0xd77a('0x3')]('media',_0x25ce67=>_0x1f5220(_0xd91df0,_0xd77a('0x5'),_0x25ce67)),_0x318010[_0xd77a('0xb')][_0xd77a('0xd')]('dataDowncast')['elementToElement']({'model':'media','view':(_0x26e2ab,{writer:_0x248a49,options:_0xdee67d})=>{if(_0xdee67d['showSuggestionHighlights'])return _0x248a49['createEmptyElement']('div');},'converterPriority':_0xd77a('0xe')}),_0x318010['data'][_0xd77a('0xf')]['on'](_0xd77a('0x8'),(_0x265487,_0x3989dd,_0x103ae0)=>{_0x103ae0[_0xd77a('0x6')][_0xd77a('0xa')]&&_0x265487['stop']();},{'priority':_0xd77a('0xe')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d0d=['has','editor','mention','get','plugins','TrackChangesEditing','MentionEditing'];(function(_0x5f3634,_0x3d0dba){const _0x56988f=function(_0x3e7ba5){while(--_0x3e7ba5){_0x5f3634['push'](_0x5f3634['shift']());}};_0x56988f(++_0x3d0dba);}(_0x3d0d,0x1f4));const _0x5698=function(_0x5f3634,_0x3d0dba){_0x5f3634=_0x5f3634-0x0;let _0x56988f=_0x3d0d[_0x5f3634];return _0x56988f;};import{Plugin as _0x609e10}from'ckeditor5/src/core';export default class rt extends _0x609e10{['afterInit'](){const _0x1e05a2=this[_0x5698('0x5')];_0x1e05a2[_0x5698('0x1')][_0x5698('0x4')](_0x5698('0x3'))&&_0x1e05a2[_0x5698('0x1')][_0x5698('0x0')](_0x5698('0x2'))['enableCommand'](_0x5698('0x6'));}}
23
+ const _0x3f2d=['plugins','get','afterInit','editor','MentionEditing','has','TrackChangesEditing','mention'];(function(_0x1e084b,_0x3f2dc4){const _0x19472f=function(_0x50a54b){while(--_0x50a54b){_0x1e084b['push'](_0x1e084b['shift']());}};_0x19472f(++_0x3f2dc4);}(_0x3f2d,0xe2));const _0x1947=function(_0x1e084b,_0x3f2dc4){_0x1e084b=_0x1e084b-0x0;let _0x19472f=_0x3f2d[_0x1e084b];return _0x19472f;};import{Plugin as _0x4cca20}from'ckeditor5/src/core';export default class rt extends _0x4cca20{[_0x1947('0x0')](){const _0x236e0c=this[_0x1947('0x1')];_0x236e0c[_0x1947('0x6')][_0x1947('0x3')](_0x1947('0x2'))&&_0x236e0c['plugins'][_0x1947('0x7')](_0x1947('0x4'))['enableCommand'](_0x1947('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19af=['plugins','afterInit','get','PageBreakEditing','TrackChangesEditing','has','pageBreak','ELEMENT_PAGE_BREAK','locale','registerElementLabel'];(function(_0xcac077,_0x19afa2){const _0x16399f=function(_0x4aa15d){while(--_0x4aa15d){_0xcac077['push'](_0xcac077['shift']());}};_0x16399f(++_0x19afa2);}(_0x19af,0x99));const _0x1639=function(_0xcac077,_0x19afa2){_0xcac077=_0xcac077-0x0;let _0x16399f=_0x19af[_0xcac077];return _0x16399f;};import{Plugin as _0x1969c6}from'ckeditor5/src/core';import{getTranslation as _0x45ed68}from'../utils/common-translations';export default class at extends _0x1969c6{[_0x1639('0x8')](){const _0xe6b969=this['editor'];if(!_0xe6b969[_0x1639('0x7')][_0x1639('0x2')](_0x1639('0x0')))return;_0xe6b969[_0x1639('0x7')][_0x1639('0x9')](_0x1639('0x1'))['enableCommand']('pageBreak');const _0x4bf48a=_0xe6b969[_0x1639('0x7')][_0x1639('0x9')](_0x1639('0x1')),_0x10b9b3=_0xe6b969[_0x1639('0x5')];_0x4bf48a['_descriptionFactory'][_0x1639('0x6')](_0x1639('0x3'),_0x4e3942=>_0x45ed68(_0x10b9b3,_0x1639('0x4'),_0x4e3942));}}
23
+ const _0xeadb=['has','locale','get','TrackChangesEditing','ELEMENT_PAGE_BREAK','enableCommand','editor','pageBreak','plugins','_descriptionFactory','afterInit'];(function(_0x180866,_0xeadbac){const _0x2727ba=function(_0x254e60){while(--_0x254e60){_0x180866['push'](_0x180866['shift']());}};_0x2727ba(++_0xeadbac);}(_0xeadb,0xc9));const _0x2727=function(_0x180866,_0xeadbac){_0x180866=_0x180866-0x0;let _0x2727ba=_0xeadb[_0x180866];return _0x2727ba;};import{Plugin as _0x295eab}from'ckeditor5/src/core';import{getTranslation as _0x5e0cd0}from'../utils/common-translations';export default class at extends _0x295eab{[_0x2727('0x7')](){const _0x2cba39=this[_0x2727('0x3')];if(!_0x2cba39['plugins'][_0x2727('0x8')]('PageBreakEditing'))return;_0x2cba39[_0x2727('0x5')][_0x2727('0xa')](_0x2727('0x0'))[_0x2727('0x2')](_0x2727('0x4'));const _0x1a31f0=_0x2cba39['plugins'][_0x2727('0xa')]('TrackChangesEditing'),_0x390f4d=_0x2cba39[_0x2727('0x9')];_0x1a31f0[_0x2727('0x6')]['registerElementLabel'](_0x2727('0x4'),_0x12f768=>_0x5e0cd0(_0x390f4d,_0x2727('0x1'),_0x12f768));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ebe=['isBlock','createUIElement','markerRange','insertion','paragraph','bindElementToMarker','document','getFirstRange','blockName','consume','schema','consumable','selection','isTouching','ck-suggestion-marker-split','highest','markBlockFormat','checkChild','change','span','end','model','TrackChangesEditing','locale','isLimit','from','registerElementLabel','insertParagraph','markerName','addClass','start','commandName','getItemLabel','options','plugins','getSelectedBlocks','*Insert:*\x20%0','filter','nodeAfter','_descriptionFactory','type','addMarker:suggestion:insertion','*Change\x20to:*\x20%0','name','get','has','ELEMENT_PARAGRAPH','afterInit','format','enableCommand','downcastDispatcher','mapper','editing','registerDescriptionCallback','writer','ck-suggestion-marker--active','editor','isObject','toViewPosition','parent','insert'];(function(_0x402476,_0x4ebe8d){const _0x1e854a=function(_0x55ec25){while(--_0x55ec25){_0x402476['push'](_0x402476['shift']());}};_0x1e854a(++_0x4ebe8d);}(_0x4ebe,0x171));const _0x1e85=function(_0x402476,_0x4ebe8d){_0x402476=_0x402476-0x0;let _0x1e854a=_0x4ebe[_0x402476];return _0x1e854a;};import{Plugin as _0x5e57f1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4b127c}from'./utils';import{getTranslation as _0x321e60}from'../utils/common-translations';export default class ct extends _0x5e57f1{[_0x1e85('0x2c')](){const _0x3e7106=this[_0x1e85('0x35')];if(!_0x3e7106[_0x1e85('0x1f')][_0x1e85('0x2a')]('Paragraph'))return;const _0x3699e7=_0x3e7106[_0x1e85('0x14')],_0x2d8ea7=_0x3e7106[_0x1e85('0x1f')][_0x1e85('0x29')]('TrackChangesEditing');_0x2d8ea7[_0x1e85('0x24')][_0x1e85('0x17')]('paragraph',_0x2e47ce=>_0x321e60(_0x3699e7,_0x1e85('0x2b'),_0x2e47ce)),_0x2d8ea7[_0x1e85('0x2e')](_0x1e85('0x1'),(_0x56dd10,_0xa874b0={})=>{const _0x4997d2=_0x3e7106[_0x1e85('0x12')][_0x1e85('0x3')],_0x95d62f=_0xa874b0[_0x1e85('0x9')]||_0x4997d2[_0x1e85('0x9')],_0x480929=Array[_0x1e85('0x16')](_0x95d62f[_0x1e85('0x20')]())[_0x1e85('0x22')](_0x25b757=>function(_0x1c2150,_0x597337){return _0x597337[_0x1e85('0xe')](_0x1c2150[_0x1e85('0x38')],_0x1e85('0x1'))&&!_0x597337[_0x1e85('0x36')](_0x1c2150)&&_0x1e85('0x1')!=_0x1c2150[_0x1e85('0x28')];}(_0x25b757,this[_0x1e85('0x35')][_0x1e85('0x12')][_0x1e85('0x7')]));_0x3e7106['model'][_0x1e85('0xf')](()=>{for(const _0x1efe06 of _0x480929)_0x2d8ea7[_0x1e85('0xd')](_0x1efe06,{'commandName':_0x1e85('0x1'),'commandParams':[],'formatGroupId':_0x1e85('0x5')},_0x4b127c(_0x1efe06));});}),_0x2d8ea7[_0x1e85('0x24')][_0x1e85('0x32')](_0x3ad006=>{const {data:_0x2c4e25}=_0x3ad006;if(_0x2c4e25&&'paragraph'==_0x2c4e25[_0x1e85('0x1c')])return{'type':_0x1e85('0x2d'),'content':_0x321e60(_0x3699e7,_0x1e85('0x27'),_0x321e60(_0x3699e7,_0x1e85('0x2b')))};}),_0x2d8ea7['enableCommand'](_0x1e85('0x18')),_0x3e7106[_0x1e85('0x31')][_0x1e85('0x2f')]['on'](_0x1e85('0x26'),ar(_0x3e7106),{'priority':_0x1e85('0xc')}),_0x3e7106['data'][_0x1e85('0x2f')]['on'](_0x1e85('0x26'),(_0x5f535a,_0x1dfa9b,_0x3f1c35)=>{_0x3f1c35[_0x1e85('0x1e')]['showSuggestionHighlights']&&ar(_0x3e7106,{'showActiveMarker':!0x1})(_0x5f535a,_0x1dfa9b,_0x3f1c35);},{'priority':'highest'});const _0x4c3913=_0x2d8ea7[_0x1e85('0x24')];_0x4c3913[_0x1e85('0x32')](_0x20963d=>{if(_0x1e85('0x0')!==_0x20963d[_0x1e85('0x25')])return;const {start:_0x3e8320,end:_0x191097}=_0x20963d[_0x1e85('0x4')]();if(!_0x3e8320[_0x1e85('0xa')](_0x191097)||!_0x3e8320['nodeAfter'])return;const _0x59d3bf=_0x3e7106[_0x1e85('0x12')][_0x1e85('0x7')],_0x57130d=_0x3e8320[_0x1e85('0x23')];return _0x59d3bf[_0x1e85('0x3a')](_0x57130d)&&!_0x59d3bf[_0x1e85('0x15')](_0x57130d)&&_0x59d3bf[_0x1e85('0xe')](_0x57130d,'$text')?{'type':'insertion','content':_0x321e60(_0x3699e7,_0x1e85('0x21'),_0x4c3913[_0x1e85('0x1d')](_0x57130d,0x1))}:void 0x0;});}}function ar(_0x368706,{showActiveMarker:_0x455389=!0x0}={}){return(_0x47b8d1,_0x3f924a,_0x511b81)=>{const _0x15d161=_0x368706[_0x1e85('0x1f')][_0x1e85('0x29')](_0x1e85('0x13')),_0x44c187=_0x3f924a[_0x1e85('0x3c')][_0x1e85('0x1b')],_0x3f815d=_0x3f924a['markerRange'][_0x1e85('0x11')],_0x478348=_0x368706['model'][_0x1e85('0x7')];if(!_0x44c187[_0x1e85('0xa')](_0x3f815d)||!_0x44c187[_0x1e85('0x23')])return;const _0x5a4e7f=_0x44c187[_0x1e85('0x23')];if(_0x478348[_0x1e85('0x3a')](_0x5a4e7f)&&!_0x478348['isLimit'](_0x5a4e7f)&&_0x478348[_0x1e85('0xe')](_0x5a4e7f,'$text')){if(!_0x511b81[_0x1e85('0x8')][_0x1e85('0x6')](_0x3f924a['markerRange'],_0x47b8d1[_0x1e85('0x28')]))return;const _0x5b0083=_0x511b81[_0x1e85('0x33')][_0x1e85('0x3b')](_0x1e85('0x10'),{'class':_0x1e85('0xb')}),_0x4f0bc5=_0x511b81[_0x1e85('0x30')][_0x1e85('0x37')](_0x3f815d);_0x455389&&_0x15d161['activeMarkers']['includes'](_0x3f924a['markerName'])&&_0x511b81['writer'][_0x1e85('0x1a')](_0x1e85('0x34'),_0x5b0083),_0x511b81[_0x1e85('0x33')][_0x1e85('0x39')](_0x4f0bc5,_0x5b0083),_0x511b81['mapper'][_0x1e85('0x2')](_0x5b0083,_0x3f924a[_0x1e85('0x19')]);}};}
23
+ const _0x3474=['get','markerName','showSuggestionHighlights','filter','getSelectedBlocks','nodeAfter','createUIElement','options','editor','blockName','registerDescriptionCallback','parent','toViewPosition','change','isBlock','activeMarkers','isLimit','Paragraph','format','enableCommand','model','$text','ck-suggestion-marker--active','afterInit','consume','*Change\x20to:*\x20%0','addClass','commandName','_descriptionFactory','ck-suggestion-marker-split','checkChild','has','getItemLabel','writer','markerRange','*Insert:*\x20%0','markBlockFormat','getFirstRange','TrackChangesEditing','document','downcastDispatcher','end','locale','insertParagraph','isTouching','name','includes','registerElementLabel','data','selection','paragraph','highest','type','plugins','schema','editing'];(function(_0x51d153,_0x34747c){const _0xe45942=function(_0x5958ca){while(--_0x5958ca){_0x51d153['push'](_0x51d153['shift']());}};_0xe45942(++_0x34747c);}(_0x3474,0x1bc));const _0xe459=function(_0x51d153,_0x34747c){_0x51d153=_0x51d153-0x0;let _0xe45942=_0x3474[_0x51d153];return _0xe45942;};import{Plugin as _0x80ee9c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x38ad0e}from'./utils';import{getTranslation as _0x5b0ca0}from'../utils/common-translations';export default class ct extends _0x80ee9c{[_0xe459('0x1b')](){const _0x5674dc=this[_0xe459('0xc')];if(!_0x5674dc[_0xe459('0x1')][_0xe459('0x23')](_0xe459('0x15')))return;const _0x4fa985=_0x5674dc[_0xe459('0x2e')],_0x26dc94=_0x5674dc[_0xe459('0x1')]['get'](_0xe459('0x2a'));_0x26dc94[_0xe459('0x20')][_0xe459('0x33')](_0xe459('0x36'),_0x51db6b=>_0x5b0ca0(_0x4fa985,'ELEMENT_PARAGRAPH',_0x51db6b)),_0x26dc94[_0xe459('0x17')](_0xe459('0x36'),(_0x42e6ab,_0x2448d0={})=>{const _0x239997=_0x5674dc[_0xe459('0x18')][_0xe459('0x2b')],_0x170a7f=_0x2448d0[_0xe459('0x35')]||_0x239997[_0xe459('0x35')],_0x711270=Array['from'](_0x170a7f[_0xe459('0x8')]())[_0xe459('0x7')](_0x1fee2b=>function(_0x4e8d09,_0x3369ed){return _0x3369ed[_0xe459('0x22')](_0x4e8d09[_0xe459('0xf')],'paragraph')&&!_0x3369ed['isObject'](_0x4e8d09)&&_0xe459('0x36')!=_0x4e8d09['name'];}(_0x1fee2b,this[_0xe459('0xc')][_0xe459('0x18')][_0xe459('0x2')]));_0x5674dc[_0xe459('0x18')][_0xe459('0x11')](()=>{for(const _0xa015 of _0x711270)_0x26dc94[_0xe459('0x28')](_0xa015,{'commandName':_0xe459('0x36'),'commandParams':[],'formatGroupId':_0xe459('0xd')},_0x38ad0e(_0xa015));});}),_0x26dc94[_0xe459('0x20')][_0xe459('0xe')](_0x1d57a3=>{const {data:_0x2fd91b}=_0x1d57a3;if(_0x2fd91b&&'paragraph'==_0x2fd91b[_0xe459('0x1f')])return{'type':_0xe459('0x16'),'content':_0x5b0ca0(_0x4fa985,_0xe459('0x1d'),_0x5b0ca0(_0x4fa985,'ELEMENT_PARAGRAPH'))};}),_0x26dc94['enableCommand'](_0xe459('0x2f')),_0x5674dc[_0xe459('0x3')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x5674dc),{'priority':_0xe459('0x37')}),_0x5674dc[_0xe459('0x34')][_0xe459('0x2c')]['on']('addMarker:suggestion:insertion',(_0x50a1e2,_0x391e3f,_0x186422)=>{_0x186422[_0xe459('0xb')][_0xe459('0x6')]&&ar(_0x5674dc,{'showActiveMarker':!0x1})(_0x50a1e2,_0x391e3f,_0x186422);},{'priority':'highest'});const _0x226423=_0x26dc94[_0xe459('0x20')];_0x226423[_0xe459('0xe')](_0x299e84=>{if('insertion'!==_0x299e84[_0xe459('0x0')])return;const {start:_0x167f9e,end:_0x2e424a}=_0x299e84[_0xe459('0x29')]();if(!_0x167f9e[_0xe459('0x30')](_0x2e424a)||!_0x167f9e[_0xe459('0x9')])return;const _0x400fd8=_0x5674dc[_0xe459('0x18')][_0xe459('0x2')],_0x2d45e7=_0x167f9e['nodeAfter'];return _0x400fd8[_0xe459('0x12')](_0x2d45e7)&&!_0x400fd8[_0xe459('0x14')](_0x2d45e7)&&_0x400fd8[_0xe459('0x22')](_0x2d45e7,_0xe459('0x19'))?{'type':'insertion','content':_0x5b0ca0(_0x4fa985,_0xe459('0x27'),_0x226423[_0xe459('0x24')](_0x2d45e7,0x1))}:void 0x0;});}}function ar(_0x6cfdd2,{showActiveMarker:_0x5b9d8d=!0x0}={}){return(_0x4af530,_0x449883,_0x1cb45d)=>{const _0x59571f=_0x6cfdd2[_0xe459('0x1')][_0xe459('0x4')]('TrackChangesEditing'),_0x3f468a=_0x449883[_0xe459('0x26')]['start'],_0x1d08df=_0x449883[_0xe459('0x26')][_0xe459('0x2d')],_0x16c648=_0x6cfdd2[_0xe459('0x18')][_0xe459('0x2')];if(!_0x3f468a[_0xe459('0x30')](_0x1d08df)||!_0x3f468a[_0xe459('0x9')])return;const _0x59de3c=_0x3f468a[_0xe459('0x9')];if(_0x16c648['isBlock'](_0x59de3c)&&!_0x16c648['isLimit'](_0x59de3c)&&_0x16c648[_0xe459('0x22')](_0x59de3c,'$text')){if(!_0x1cb45d['consumable'][_0xe459('0x1c')](_0x449883['markerRange'],_0x4af530[_0xe459('0x31')]))return;const _0x446602=_0x1cb45d[_0xe459('0x25')][_0xe459('0xa')]('span',{'class':_0xe459('0x21')}),_0x1c0639=_0x1cb45d['mapper'][_0xe459('0x10')](_0x1d08df);_0x5b9d8d&&_0x59571f[_0xe459('0x13')][_0xe459('0x32')](_0x449883[_0xe459('0x5')])&&_0x1cb45d[_0xe459('0x25')][_0xe459('0x1e')](_0xe459('0x1a'),_0x446602),_0x1cb45d['writer']['insert'](_0x1c0639,_0x446602),_0x1cb45d['mapper']['bindElementToMarker'](_0x446602,_0x449883[_0xe459('0x5')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf9=['*Remove\x20all\x20formatting*','TrackChangesEditing','schema','markInlineFormat','getAttributes','afterInit','isCollapsed','editor','model','isFormatting','from','removeFormat','plugins','format','_descriptionFactory','createRangeOn','getItems','change','enableCommand','registerDescriptionCallback','RemoveFormatEditing','commandName','selection'];(function(_0x459f08,_0x2bf958){const _0x2c1d9d=function(_0x5d7ed1){while(--_0x5d7ed1){_0x459f08['push'](_0x459f08['shift']());}};_0x2c1d9d(++_0x2bf958);}(_0x2bf9,0x188));const _0x2c1d=function(_0x459f08,_0x2bf958){_0x459f08=_0x459f08-0x0;let _0x2c1d9d=_0x2bf9[_0x459f08];return _0x2c1d9d;};import{Plugin as _0x381f33}from'ckeditor5/src/core';import{getTranslation as _0x47e263}from'../utils/common-translations';export default class ht extends _0x381f33{[_0x2c1d('0x4')](){const _0x1fe3e1=this[_0x2c1d('0x6')];if(!_0x1fe3e1['plugins']['has'](_0x2c1d('0x13')))return;const _0xcae71e=_0x1fe3e1[_0x2c1d('0xb')]['get'](_0x2c1d('0x0'));_0xcae71e[_0x2c1d('0x11')]('removeFormat',_0x4cdc9e=>{const _0xccd28c=_0x1fe3e1[_0x2c1d('0x7')]['document'][_0x2c1d('0x15')];_0xccd28c[_0x2c1d('0x5')]?_0x4cdc9e():_0x1fe3e1[_0x2c1d('0x7')][_0x2c1d('0x10')](()=>{const _0x63439d=Array[_0x2c1d('0x9')](_0xccd28c['getRanges']());for(const _0x363e89 of _0x63439d)for(const _0x34fe94 of _0x363e89[_0x2c1d('0xf')]())eo(_0x34fe94,_0x1fe3e1['model'][_0x2c1d('0x1')])&&_0xcae71e[_0x2c1d('0x2')](_0x1fe3e1['model'][_0x2c1d('0xe')](_0x34fe94),{'commandName':'removeFormat','commandParams':[]});});}),_0xcae71e[_0x2c1d('0xd')][_0x2c1d('0x12')](_0x196670=>{const {data:_0x5cc787}=_0x196670;if(_0x5cc787&&_0x2c1d('0xa')==_0x5cc787[_0x2c1d('0x14')])return{'type':_0x2c1d('0xc'),'content':_0x47e263(_0x1fe3e1['locale'],_0x2c1d('0x16'))};});}}function eo(_0x5bad1b,_0x22129e){for(const [_0x587498]of _0x5bad1b[_0x2c1d('0x3')]()){const _0x2370b1=_0x22129e['getAttributeProperties'](_0x587498);if(_0x2370b1&&_0x2370b1[_0x2c1d('0x8')])return!0x0;}return!0x1;}
23
+ const _0x33d4=['commandName','TrackChangesEditing','from','document','registerDescriptionCallback','RemoveFormatEditing','markInlineFormat','*Remove\x20all\x20formatting*','removeFormat','afterInit','get','getAttributeProperties','editor','enableCommand','getItems','getAttributes','plugins','model','selection'];(function(_0x2bc118,_0x33d480){const _0x1c075f=function(_0x261ed1){while(--_0x261ed1){_0x2bc118['push'](_0x2bc118['shift']());}};_0x1c075f(++_0x33d480);}(_0x33d4,0x11b));const _0x1c07=function(_0x2bc118,_0x33d480){_0x2bc118=_0x2bc118-0x0;let _0x1c075f=_0x33d4[_0x2bc118];return _0x1c075f;};import{Plugin as _0x1ec398}from'ckeditor5/src/core';import{getTranslation as _0x371a62}from'../utils/common-translations';export default class ht extends _0x1ec398{[_0x1c07('0xb')](){const _0x2433bf=this[_0x1c07('0xe')];if(!_0x2433bf[_0x1c07('0x12')]['has'](_0x1c07('0x7')))return;const _0x541f58=_0x2433bf[_0x1c07('0x12')][_0x1c07('0xc')](_0x1c07('0x3'));_0x541f58[_0x1c07('0xf')](_0x1c07('0xa'),_0x4cae1c=>{const _0x1283f7=_0x2433bf['model'][_0x1c07('0x5')][_0x1c07('0x1')];_0x1283f7['isCollapsed']?_0x4cae1c():_0x2433bf[_0x1c07('0x0')]['change'](()=>{const _0x493a5e=Array[_0x1c07('0x4')](_0x1283f7['getRanges']());for(const _0x4c5ece of _0x493a5e)for(const _0x3d7cb6 of _0x4c5ece[_0x1c07('0x10')]())eo(_0x3d7cb6,_0x2433bf[_0x1c07('0x0')]['schema'])&&_0x541f58[_0x1c07('0x8')](_0x2433bf[_0x1c07('0x0')]['createRangeOn'](_0x3d7cb6),{'commandName':'removeFormat','commandParams':[]});});}),_0x541f58['_descriptionFactory'][_0x1c07('0x6')](_0x7cea91=>{const {data:_0x575177}=_0x7cea91;if(_0x575177&&_0x1c07('0xa')==_0x575177[_0x1c07('0x2')])return{'type':'format','content':_0x371a62(_0x2433bf['locale'],_0x1c07('0x9'))};});}}function eo(_0x34e888,_0x555e27){for(const [_0xc0dd26]of _0x34e888[_0x1c07('0x11')]()){const _0x36e74e=_0x555e27[_0x1c07('0xd')](_0xc0dd26);if(_0x36e74e&&_0x36e74e['isFormatting'])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36fe=['afterInit','get','goToPreviousRestrictedEditingException','discardSelectedSuggestions','trackChanges','plugins','has','goToNextRestrictedEditingException','acceptAllSuggestions','RestrictedEditingModeEditing','editor','enableCommand','TrackChangesEditing','discardSuggestion'];(function(_0x3fee5e,_0x36feee){const _0x14e686=function(_0x340e59){while(--_0x340e59){_0x3fee5e['push'](_0x3fee5e['shift']());}};_0x14e686(++_0x36feee);}(_0x36fe,0x170));const _0x14e6=function(_0x3fee5e,_0x36feee){_0x3fee5e=_0x3fee5e-0x0;let _0x14e686=_0x36fe[_0x3fee5e];return _0x14e686;};import{Plugin as _0x52f7dd}from'ckeditor5/src/core';export default class ut extends _0x52f7dd{[_0x14e6('0xa')](){const _0xb01fb6=this[_0x14e6('0x6')];if(!_0xb01fb6[_0x14e6('0x1')][_0x14e6('0x2')](_0x14e6('0x5')))return;const _0x500188=_0xb01fb6[_0x14e6('0x1')][_0x14e6('0xb')](_0x14e6('0x8'));_0x500188[_0x14e6('0x7')](_0x14e6('0xc')),_0x500188[_0x14e6('0x7')](_0x14e6('0x3'));const _0x22e28f=_0xb01fb6[_0x14e6('0x1')][_0x14e6('0xb')](_0x14e6('0x5'));_0x22e28f['enableCommand'](_0x14e6('0x0')),_0x22e28f[_0x14e6('0x7')]('acceptSuggestion'),_0x22e28f[_0x14e6('0x7')](_0x14e6('0x9')),_0x22e28f[_0x14e6('0x7')](_0x14e6('0x4')),_0x22e28f['enableCommand']('discardAllSuggestions'),_0x22e28f[_0x14e6('0x7')]('acceptSelectedSuggestions'),_0x22e28f[_0x14e6('0x7')](_0x14e6('0xd'));}}
23
+ const _0x18e7=['TrackChangesEditing','discardAllSuggestions','get','has','goToNextRestrictedEditingException','discardSuggestion','RestrictedEditingModeEditing','enableCommand','acceptAllSuggestions','discardSelectedSuggestions','plugins','afterInit'];(function(_0x1a1270,_0x18e7c8){const _0x222841=function(_0x330f93){while(--_0x330f93){_0x1a1270['push'](_0x1a1270['shift']());}};_0x222841(++_0x18e7c8);}(_0x18e7,0xd1));const _0x2228=function(_0x1a1270,_0x18e7c8){_0x1a1270=_0x1a1270-0x0;let _0x222841=_0x18e7[_0x1a1270];return _0x222841;};import{Plugin as _0x70b1e3}from'ckeditor5/src/core';export default class ut extends _0x70b1e3{[_0x2228('0x6')](){const _0x5dfd73=this['editor'];if(!_0x5dfd73['plugins'][_0x2228('0xa')](_0x2228('0x1')))return;const _0xcb402e=_0x5dfd73[_0x2228('0x5')][_0x2228('0x9')](_0x2228('0x7'));_0xcb402e[_0x2228('0x2')]('goToPreviousRestrictedEditingException'),_0xcb402e[_0x2228('0x2')](_0x2228('0xb'));const _0x2bf831=_0x5dfd73[_0x2228('0x5')][_0x2228('0x9')](_0x2228('0x1'));_0x2bf831['enableCommand']('trackChanges'),_0x2bf831[_0x2228('0x2')]('acceptSuggestion'),_0x2bf831[_0x2228('0x2')](_0x2228('0x0')),_0x2bf831[_0x2228('0x2')](_0x2228('0x3')),_0x2bf831['enableCommand'](_0x2228('0x8')),_0x2bf831[_0x2228('0x2')]('acceptSelectedSuggestions'),_0x2bf831['enableCommand'](_0x2228('0x4'));}}
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * @module track-changes/integrations/shiftentercommand
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { ShiftEnter } from 'ckeditor5/src/enter';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
7
8
  */
8
9
  export default class TrackChangesShiftEnterCommand extends Plugin {
9
- static get requires(): PluginDependencies;
10
+ static get requires(): readonly [typeof ShiftEnter];
10
11
  init(): void;
11
12
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cf9=['insert','shiftEnter','addClass','name','addMarker:suggestion','markerName','split','registerElementLabel','createUIElement','editor','get','options','markerRange','ck-suggestion-marker-','consumable','getItems','plugins','deletion','high','mapper','element','test','ELEMENT_LINE_BREAK','editing','locale','toViewPosition','includes','init','writer','TrackChangesEditing','softBreak','_descriptionFactory','ck-suggestion-marker--active','model'];(function(_0x2e4f2d,_0x2cf9fa){const _0x31dc8f=function(_0x5c3c3d){while(--_0x5c3c3d){_0x2e4f2d['push'](_0x2e4f2d['shift']());}};_0x31dc8f(++_0x2cf9fa);}(_0x2cf9,0x126));const _0x31dc=function(_0x2e4f2d,_0x2cf9fa){_0x2e4f2d=_0x2e4f2d-0x0;let _0x31dc8f=_0x2cf9[_0x2e4f2d];return _0x31dc8f;};import{Plugin as _0x1e3493}from'ckeditor5/src/core';import{ShiftEnter as _0x30b0c4}from'ckeditor5/src/enter';import{getTranslation as _0x2b87db}from'../utils/common-translations';export default class ft extends _0x1e3493{static get['requires'](){return[_0x30b0c4];}[_0x31dc('0x5')](){const _0x1e50cb=this[_0x31dc('0x15')],_0x57f0b1=_0x1e50cb[_0x31dc('0x1c')][_0x31dc('0x16')]('TrackChangesEditing');_0x57f0b1['enableCommand'](_0x31dc('0xd')),_0x1e50cb['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x1e50cb),{'priority':'high'}),_0x1e50cb[_0x31dc('0x1')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',re(_0x1e50cb),{'priority':_0x31dc('0x1e')}),_0x1e50cb['data']['downcastDispatcher']['on'](_0x31dc('0x10'),(_0x99128d,_0x14b047,_0x6d4a85)=>{_0x6d4a85[_0x31dc('0x17')]['showSuggestionHighlights']&&re(_0x1e50cb,{'showActiveMarker':!0x1})(_0x99128d,_0x14b047,_0x6d4a85);}),_0x57f0b1[_0x31dc('0x9')][_0x31dc('0x13')](_0x31dc('0x8'),_0x227002=>_0x2b87db(_0x1e50cb[_0x31dc('0x2')],_0x31dc('0x0'),_0x227002));}}function re(_0x9dbe8d,{showActiveMarker:_0x4c0624=!0x0}={}){return(_0x46fc1f,_0x3d9d95,_0xd10569)=>{const _0x234d6a=_0x9dbe8d[_0x31dc('0x1c')][_0x31dc('0x16')](_0x31dc('0x7'));if(!_0xd10569[_0x31dc('0x1a')][_0x31dc('0x21')](_0x3d9d95[_0x31dc('0x18')],_0x46fc1f[_0x31dc('0xf')]))return;const _0x42ee81=_0x9dbe8d[_0x31dc('0xb')];for(const _0x538614 of _0x3d9d95['markerRange'][_0x31dc('0x1b')]()){if(!_0x538614['is'](_0x31dc('0x20'),_0x31dc('0x8')))continue;const _0x1b9085=_0x31dc('0x1d')==_0x3d9d95[_0x31dc('0x11')][_0x31dc('0x12')](':')[0x1]?'merge':'split',_0x47fae3=_0xd10569[_0x31dc('0x6')][_0x31dc('0x14')]('span',{'class':_0x31dc('0x19')+_0x1b9085}),_0x45a5c9=_0xd10569[_0x31dc('0x1f')][_0x31dc('0x3')](_0x42ee81['createPositionBefore'](_0x538614));_0x4c0624&&_0x234d6a['activeMarkers'][_0x31dc('0x4')](_0x3d9d95['markerName'])&&_0xd10569[_0x31dc('0x6')][_0x31dc('0xe')](_0x31dc('0xa'),_0x47fae3),_0xd10569[_0x31dc('0x6')][_0x31dc('0xc')](_0x45a5c9,_0x47fae3),_0xd10569[_0x31dc('0x1f')]['bindElementToMarker'](_0x47fae3,_0x3d9d95[_0x31dc('0x11')]);}};}
23
+ const _0xd769=['locale','high','name','mapper','activeMarkers','deletion','merge','writer','split','addMarker:suggestion','options','shiftEnter','bindElementToMarker','_descriptionFactory','init','model','markerRange','TrackChangesEditing','requires','createUIElement','addMarker:suggestion:deletion','element','consumable','createPositionBefore','plugins','includes','ELEMENT_LINE_BREAK','ck-suggestion-marker-','editing','markerName','editor','data','enableCommand','downcastDispatcher'];(function(_0x1d6904,_0xd7696d){const _0xb07db7=function(_0xd403c4){while(--_0xd403c4){_0x1d6904['push'](_0x1d6904['shift']());}};_0xb07db7(++_0xd7696d);}(_0xd769,0xdf));const _0xb07d=function(_0x1d6904,_0xd7696d){_0x1d6904=_0x1d6904-0x0;let _0xb07db7=_0xd769[_0x1d6904];return _0xb07db7;};import{Plugin as _0x3cd5a1}from'ckeditor5/src/core';import{ShiftEnter as _0x127d08}from'ckeditor5/src/enter';import{getTranslation as _0x43d5cd}from'../utils/common-translations';export default class ft extends _0x3cd5a1{static get[_0xb07d('0x21')](){return[_0x127d08];}[_0xb07d('0x1d')](){const _0xbe13b3=this[_0xb07d('0xb')],_0x3c937d=_0xbe13b3[_0xb07d('0x5')]['get'](_0xb07d('0x20'));_0x3c937d[_0xb07d('0xd')](_0xb07d('0x1a')),_0xbe13b3[_0xb07d('0x9')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0xbe13b3),{'priority':'high'}),_0xbe13b3[_0xb07d('0x9')][_0xb07d('0xe')]['on'](_0xb07d('0x1'),re(_0xbe13b3),{'priority':_0xb07d('0x10')}),_0xbe13b3[_0xb07d('0xc')][_0xb07d('0xe')]['on'](_0xb07d('0x18'),(_0x25b8bb,_0x2bd817,_0x58ad6b)=>{_0x58ad6b[_0xb07d('0x19')]['showSuggestionHighlights']&&re(_0xbe13b3,{'showActiveMarker':!0x1})(_0x25b8bb,_0x2bd817,_0x58ad6b);}),_0x3c937d[_0xb07d('0x1c')]['registerElementLabel']('softBreak',_0x3ce4ec=>_0x43d5cd(_0xbe13b3[_0xb07d('0xf')],_0xb07d('0x7'),_0x3ce4ec));}}function re(_0x181920,{showActiveMarker:_0x9431c9=!0x0}={}){return(_0x492fbc,_0x189a90,_0x46c998)=>{const _0x3b1ae8=_0x181920['plugins']['get'](_0xb07d('0x20'));if(!_0x46c998[_0xb07d('0x3')]['test'](_0x189a90['markerRange'],_0x492fbc[_0xb07d('0x11')]))return;const _0x2e044d=_0x181920[_0xb07d('0x1e')];for(const _0x3e806f of _0x189a90[_0xb07d('0x1f')]['getItems']()){if(!_0x3e806f['is'](_0xb07d('0x2'),'softBreak'))continue;const _0x3a24b9=_0xb07d('0x14')==_0x189a90[_0xb07d('0xa')][_0xb07d('0x17')](':')[0x1]?_0xb07d('0x15'):_0xb07d('0x17'),_0xe32275=_0x46c998[_0xb07d('0x16')][_0xb07d('0x0')]('span',{'class':_0xb07d('0x8')+_0x3a24b9}),_0x33cca5=_0x46c998[_0xb07d('0x12')]['toViewPosition'](_0x2e044d[_0xb07d('0x4')](_0x3e806f));_0x9431c9&&_0x3b1ae8[_0xb07d('0x13')][_0xb07d('0x6')](_0x189a90[_0xb07d('0xa')])&&_0x46c998[_0xb07d('0x16')]['addClass']('ck-suggestion-marker--active',_0xe32275),_0x46c998[_0xb07d('0x16')]['insert'](_0x33cca5,_0xe32275),_0x46c998['mapper'][_0xb07d('0x1b')](_0xe32275,_0x189a90[_0xb07d('0xa')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d32=['StandardEditingModeEditing','TrackChangesEditing','isCollapsed','has','afterInit','commands','locale','selection','from','value','document','getRanges','change','format','model','FORMAT_RESTRICTED_DISABLED','forceValue','editor','plugins','_descriptionFactory','FORMAT_RESTRICTED_ENABLED','registerDescriptionCallback','get','restrictedEditingException','enableCommand'];(function(_0x1fe528,_0x2d3267){const _0x28d337=function(_0x37c048){while(--_0x37c048){_0x1fe528['push'](_0x1fe528['shift']());}};_0x28d337(++_0x2d3267);}(_0x2d32,0xea));const _0x28d3=function(_0x1fe528,_0x2d3267){_0x1fe528=_0x1fe528-0x0;let _0x28d337=_0x2d32[_0x1fe528];return _0x28d337;};import{Plugin as _0x53a088}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xe929ac}from'./utils';import{getTranslation as _0x2c12ea}from'../utils/common-translations';export default class lt extends _0x53a088{[_0x28d3('0x14')](){const _0x55ea8a=this[_0x28d3('0x8')],_0x2d771a=_0x55ea8a[_0x28d3('0x5')],_0xe010cc=_0x55ea8a[_0x28d3('0x16')];if(!_0x55ea8a[_0x28d3('0x9')][_0x28d3('0x13')](_0x28d3('0x10')))return;const _0x519560=_0x55ea8a[_0x28d3('0x9')][_0x28d3('0xd')](_0x28d3('0x11')),_0xaaa738=_0x28d3('0xe'),_0x27c146=_0x55ea8a[_0x28d3('0x15')][_0x28d3('0xd')](_0xaaa738);_0x519560[_0x28d3('0xf')](_0xaaa738,(_0x4238b7,_0x34e689={})=>{const _0x6417b0=_0x2d771a[_0x28d3('0x1')][_0x28d3('0x17')];if(_0x6417b0[_0x28d3('0x12')])return void _0x4238b7(_0x34e689);const _0xa49be8=void 0x0!==_0x34e689[_0x28d3('0x7')]?_0x34e689[_0x28d3('0x7')]:!_0x27c146[_0x28d3('0x0')];_0x2d771a[_0x28d3('0x3')](()=>{const _0x571c8a=Array[_0x28d3('0x18')](_0x6417b0[_0x28d3('0x2')]());for(const _0x308fba of _0x571c8a){const _0x5cb8ad=_0xa49be8?[_0x308fba]:_0xe929ac(_0xaaa738,_0x308fba,_0x2d771a);for(const _0x401cdf of _0x5cb8ad)_0x519560['markInlineFormat'](_0x401cdf,{'commandName':_0xaaa738,'commandParams':[{'forceValue':_0xa49be8}]});}});}),_0x519560[_0x28d3('0xa')][_0x28d3('0xc')](_0x5d2d08=>{const {data:_0x5c17b5}=_0x5d2d08;if(_0x5c17b5&&_0x5c17b5['commandName']==_0xaaa738)return _0x5c17b5['commandParams'][0x0][_0x28d3('0x7')]?{'type':'format','content':_0x2c12ea(_0xe010cc,_0x28d3('0xb'))}:{'type':_0x28d3('0x4'),'content':_0x2c12ea(_0xe010cc,_0x28d3('0x6'))};});}}
23
+ const _0x490a=['commandParams','editor','plugins','registerDescriptionCallback','restrictedEditingException','commands','markInlineFormat','has','TrackChangesEditing','forceValue','get','from','value','document','StandardEditingModeEditing','selection','model','_descriptionFactory','format','getRanges','enableCommand','isCollapsed','FORMAT_RESTRICTED_DISABLED','commandName','FORMAT_RESTRICTED_ENABLED','locale','afterInit'];(function(_0x5e58c8,_0x490aeb){const _0x8691ff=function(_0x501d60){while(--_0x501d60){_0x5e58c8['push'](_0x5e58c8['shift']());}};_0x8691ff(++_0x490aeb);}(_0x490a,0x1f0));const _0x8691=function(_0x5e58c8,_0x490aeb){_0x5e58c8=_0x5e58c8-0x0;let _0x8691ff=_0x490a[_0x5e58c8];return _0x8691ff;};import{Plugin as _0x111d5a}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x497f6d}from'./utils';import{getTranslation as _0x2b36e6}from'../utils/common-translations';export default class lt extends _0x111d5a{[_0x8691('0x10')](){const _0x4076b8=this[_0x8691('0x12')],_0x5bdc21=_0x4076b8[_0x8691('0x6')],_0x7b3dfb=_0x4076b8[_0x8691('0xf')];if(!_0x4076b8[_0x8691('0x13')][_0x8691('0x18')](_0x8691('0x4')))return;const _0x187328=_0x4076b8[_0x8691('0x13')][_0x8691('0x0')](_0x8691('0x19')),_0x552c59=_0x8691('0x15'),_0x334e97=_0x4076b8[_0x8691('0x16')]['get'](_0x552c59);_0x187328[_0x8691('0xa')](_0x552c59,(_0x4a89b1,_0x1f7459={})=>{const _0x4c8921=_0x5bdc21[_0x8691('0x3')][_0x8691('0x5')];if(_0x4c8921[_0x8691('0xb')])return void _0x4a89b1(_0x1f7459);const _0x25cdc1=void 0x0!==_0x1f7459['forceValue']?_0x1f7459[_0x8691('0x1a')]:!_0x334e97[_0x8691('0x2')];_0x5bdc21['change'](()=>{const _0x3d5e21=Array[_0x8691('0x1')](_0x4c8921[_0x8691('0x9')]());for(const _0x1009f7 of _0x3d5e21){const _0x57666c=_0x25cdc1?[_0x1009f7]:_0x497f6d(_0x552c59,_0x1009f7,_0x5bdc21);for(const _0x4fe257 of _0x57666c)_0x187328[_0x8691('0x17')](_0x4fe257,{'commandName':_0x552c59,'commandParams':[{'forceValue':_0x25cdc1}]});}});}),_0x187328[_0x8691('0x7')][_0x8691('0x14')](_0x2b7b98=>{const {data:_0x4d0ff1}=_0x2b7b98;if(_0x4d0ff1&&_0x4d0ff1[_0x8691('0xd')]==_0x552c59)return _0x4d0ff1[_0x8691('0x11')][0x0][_0x8691('0x1a')]?{'type':_0x8691('0x8'),'content':_0x2b36e6(_0x7b3dfb,_0x8691('0xe'))}:{'type':'format','content':_0x2b36e6(_0x7b3dfb,_0x8691('0xc'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1833=['has','change','createRangeOn','editor','normalizeConfig','inline','modelElements','getItems','classes','DataSchema','block','enabledStyles','commands','isBlock','isCollapsed','document','includes','plugins','format','markBlockFormat','selection','style:','add','afterInit','_descriptionFactory','name','value','locale','TrackChangesEditing','forceValue','styleName','style','toLowerCase','from','style.definitions','get','element','model','every','find','*Remove\x20format:*\x20%0','_getStyleDefinition','StyleUtils','*Format:*\x20%0','Style'];(function(_0x598eda,_0x1833a6){const _0x4fd61e=function(_0x5b093d){while(--_0x5b093d){_0x598eda['push'](_0x598eda['shift']());}};_0x4fd61e(++_0x1833a6);}(_0x1833,0x1dc));const _0x4fd6=function(_0x598eda,_0x1833a6){_0x598eda=_0x598eda-0x0;let _0x4fd61e=_0x1833[_0x598eda];return _0x4fd61e;};import{Plugin as _0x5a9e89}from'ckeditor5/src/core';import{getTranslation as _0x5e884b}from'../utils/common-translations';export default class gt extends _0x5a9e89{[_0x4fd6('0x2a')](){const _0x21dbd4=this[_0x4fd6('0x16')];if(!_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x13')](_0x4fd6('0x12')))return;const _0x3ae020=_0x21dbd4[_0x4fd6('0x1f')][_0x4fd6('0x9')](_0x4fd6('0x5')),_0x17d4f9=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x2')),_0x4fa23c=_0x21dbd4[_0x4fd6('0x1')],_0x2e4de2=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x1c')),_0x3098a7=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x10'))[_0x4fd6('0x17')](_0x2e4de2,_0x21dbd4['config'][_0x4fd6('0x9')](_0x4fd6('0x8')));_0x17d4f9['enableCommand'](_0x4fd6('0x5'),(_0x46e86a,{styleName:_0x33ecd4})=>{const _0x591c0a=_0x21dbd4[_0x4fd6('0xb')][_0x4fd6('0x22')][_0x4fd6('0x27')],_0x31f4da=this[_0x4fd6('0xf')](_0x33ecd4,_0x3098a7);if(!_0x31f4da)return;if(!_0x3ae020[_0x4fd6('0x1e')][_0x4fd6('0x23')](_0x33ecd4))return;if(_0x591c0a[_0x4fd6('0x21')]&&!_0x31f4da['isBlock'])return void _0x46e86a({'styleName':_0x33ecd4});const _0x4f0eae=!_0x3ae020[_0x4fd6('0x0')][_0x4fd6('0x23')](_0x31f4da[_0x4fd6('0x2c')]);if(_0x31f4da[_0x4fd6('0x20')]){const _0x21e8ee=function(_0x1fbc48,_0x3966bc){const _0x573394=new Set();for(const _0x4b0ca7 of _0x1fbc48){const _0x1174d9=_0x4b0ca7['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x10ceae of _0x1174d9)if(_0x3966bc['includes'](_0x10ceae[_0x4fd6('0x2c')])){_0x573394[_0x4fd6('0x29')](_0x10ceae);break;}}return _0x573394;}(_0x591c0a['getSelectedBlocks'](),_0x31f4da[_0x4fd6('0x19')]);_0x21dbd4['model']['change'](()=>{for(const _0x5e560b of _0x21e8ee)_0x17d4f9[_0x4fd6('0x26')](_0x5e560b,{'commandName':_0x4fd6('0x5'),'commandParams':[{'styleName':_0x33ecd4,'forceValue':_0x4f0eae}],'formatGroupId':_0x4fd6('0x28')+_0x33ecd4});});}else{let _0x250f58=Array['from'](_0x591c0a['getRanges']());if(!_0x4f0eae){const _0x213883=Array[_0x4fd6('0x7')](_0x2e4de2['getDefinitionsForView'](_0x31f4da[_0x4fd6('0xa')],!0x1))[0x0][_0x4fd6('0xb')],_0x174523=[];for(const _0x400f82 of _0x250f58){const _0x15c77c=this['_getRangesWithClasses'](_0x21dbd4['model'],_0x400f82,_0x31f4da['classes'],_0x213883);_0x174523['push'](..._0x15c77c);}_0x250f58=_0x174523;}_0x21dbd4[_0x4fd6('0xb')][_0x4fd6('0x14')](()=>{for(const _0x490c3 of _0x250f58)_0x17d4f9['markInlineFormat'](_0x490c3,{'commandName':'style','commandParams':[{'styleName':_0x33ecd4,'forceValue':_0x4f0eae}]});});}}),_0x17d4f9[_0x4fd6('0x2b')]['registerDescriptionCallback'](_0x27512f=>{const {data:_0x57b67b}=_0x27512f;if(_0x57b67b&&_0x4fd6('0x5')===_0x57b67b['commandName'])return _0x57b67b['commandParams'][0x0][_0x4fd6('0x3')]?{'type':'format','content':_0x5e884b(_0x4fa23c,_0x4fd6('0x11'),_0x57b67b['commandParams'][0x0]['styleName'][_0x4fd6('0x6')]())}:{'type':_0x4fd6('0x25'),'content':_0x5e884b(_0x4fa23c,_0x4fd6('0xe'),_0x57b67b['commandParams'][0x0][_0x4fd6('0x4')][_0x4fd6('0x6')]())};});}[_0x4fd6('0xf')](_0x44e0ee,_0x39496c){let _0x162f6f=_0x39496c[_0x4fd6('0x1d')]['find'](_0x11db87=>_0x11db87[_0x4fd6('0x2c')]===_0x44e0ee);return _0x162f6f||(_0x162f6f=_0x39496c[_0x4fd6('0x18')][_0x4fd6('0xd')](_0x46710f=>_0x46710f['name']===_0x44e0ee)),_0x162f6f;}['_getRangesWithClasses'](_0x5aef80,_0x125eb9,_0x24fd6a,_0x446c35){const _0x5f1215=[];for(const _0x4a2bb0 of _0x125eb9[_0x4fd6('0x1a')]()){const _0x2d9c1b=_0x4a2bb0['getAttribute'](_0x446c35);_0x2d9c1b&&(_0x24fd6a[_0x4fd6('0xc')](_0x5937cc=>_0x2d9c1b[_0x4fd6('0x1b')]['includes'](_0x5937cc))&&_0x5f1215['push'](_0x5aef80[_0x4fd6('0x15')](_0x4a2bb0)));}return _0x5f1215;}}
23
+ const _0x37be=['isCollapsed','createRangeOn','document','StyleUtils','markInlineFormat','style','getAttribute','commandParams','includes','element','plugins','get','format','_descriptionFactory','enableCommand','Style','commands','afterInit','getItems','inline','editor','TrackChangesEditing','getAncestors','every','styleName','commandName','change','normalizeConfig','toLowerCase','getDefinitionsForView','has','config','name','*Format:*\x20%0','_getStyleDefinition','DataSchema','enabledStyles','block','from','find','style:','value','model','registerDescriptionCallback','markBlockFormat','style.definitions','forceValue','classes','push','isBlock','_getRangesWithClasses','add'];(function(_0x2f169a,_0x37bea5){const _0x47e223=function(_0x1751d2){while(--_0x1751d2){_0x2f169a['push'](_0x2f169a['shift']());}};_0x47e223(++_0x37bea5);}(_0x37be,0x129));const _0x47e2=function(_0x2f169a,_0x37bea5){_0x2f169a=_0x2f169a-0x0;let _0x47e223=_0x37be[_0x2f169a];return _0x47e223;};import{Plugin as _0x5a4e28}from'ckeditor5/src/core';import{getTranslation as _0x247908}from'../utils/common-translations';export default class gt extends _0x5a4e28{[_0x47e2('0x20')](){const _0x4449a1=this[_0x47e2('0x23')];if(!_0x4449a1[_0x47e2('0x19')][_0x47e2('0x2d')](_0x47e2('0x1e')))return;const _0x343d5c=_0x4449a1[_0x47e2('0x1f')][_0x47e2('0x1a')](_0x47e2('0x14')),_0x4dd6d1=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x24')),_0x46e6df=_0x4449a1['locale'],_0x1ddcbc=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x32')),_0x515be7=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x12'))[_0x47e2('0x2a')](_0x1ddcbc,_0x4449a1[_0x47e2('0x2e')]['get'](_0x47e2('0x8')));_0x4dd6d1[_0x47e2('0x1d')]('style',(_0x30cb8d,{styleName:_0x2a3b7e})=>{const _0x10f982=_0x4449a1[_0x47e2('0x5')][_0x47e2('0x11')]['selection'],_0xfcd022=this[_0x47e2('0x31')](_0x2a3b7e,_0x515be7);if(!_0xfcd022)return;if(!_0x343d5c[_0x47e2('0x33')][_0x47e2('0x17')](_0x2a3b7e))return;if(_0x10f982[_0x47e2('0xf')]&&!_0xfcd022[_0x47e2('0xc')])return void _0x30cb8d({'styleName':_0x2a3b7e});const _0x5bd8c6=!_0x343d5c[_0x47e2('0x4')][_0x47e2('0x17')](_0xfcd022[_0x47e2('0x2f')]);if(_0xfcd022[_0x47e2('0xc')]){const _0x1984ce=function(_0x550adc,_0x14e8d0){const _0x8def9=new Set();for(const _0x54492a of _0x550adc){const _0x7bdf5e=_0x54492a[_0x47e2('0x25')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x44bbfc of _0x7bdf5e)if(_0x14e8d0[_0x47e2('0x17')](_0x44bbfc['name'])){_0x8def9[_0x47e2('0xe')](_0x44bbfc);break;}}return _0x8def9;}(_0x10f982['getSelectedBlocks'](),_0xfcd022['modelElements']);_0x4449a1[_0x47e2('0x5')]['change'](()=>{for(const _0x29cc42 of _0x1984ce)_0x4dd6d1[_0x47e2('0x7')](_0x29cc42,{'commandName':'style','commandParams':[{'styleName':_0x2a3b7e,'forceValue':_0x5bd8c6}],'formatGroupId':_0x47e2('0x3')+_0x2a3b7e});});}else{let _0x4050e0=Array[_0x47e2('0x1')](_0x10f982['getRanges']());if(!_0x5bd8c6){const _0x4a2aa3=Array['from'](_0x1ddcbc[_0x47e2('0x2c')](_0xfcd022[_0x47e2('0x18')],!0x1))[0x0][_0x47e2('0x5')],_0xf30150=[];for(const _0x5a7732 of _0x4050e0){const _0x36cde4=this[_0x47e2('0xd')](_0x4449a1[_0x47e2('0x5')],_0x5a7732,_0xfcd022['classes'],_0x4a2aa3);_0xf30150[_0x47e2('0xb')](..._0x36cde4);}_0x4050e0=_0xf30150;}_0x4449a1[_0x47e2('0x5')][_0x47e2('0x29')](()=>{for(const _0x228b83 of _0x4050e0)_0x4dd6d1[_0x47e2('0x13')](_0x228b83,{'commandName':_0x47e2('0x14'),'commandParams':[{'styleName':_0x2a3b7e,'forceValue':_0x5bd8c6}]});});}}),_0x4dd6d1[_0x47e2('0x1c')][_0x47e2('0x6')](_0x210832=>{const {data:_0x43dd36}=_0x210832;if(_0x43dd36&&_0x47e2('0x14')===_0x43dd36[_0x47e2('0x28')])return _0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x9')]?{'type':_0x47e2('0x1b'),'content':_0x247908(_0x46e6df,_0x47e2('0x30'),_0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x27')]['toLowerCase']())}:{'type':_0x47e2('0x1b'),'content':_0x247908(_0x46e6df,'*Remove\x20format:*\x20%0',_0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x27')][_0x47e2('0x2b')]())};});}[_0x47e2('0x31')](_0x1cc84c,_0x4b0335){let _0x2bffea=_0x4b0335[_0x47e2('0x0')][_0x47e2('0x2')](_0x1da498=>_0x1da498[_0x47e2('0x2f')]===_0x1cc84c);return _0x2bffea||(_0x2bffea=_0x4b0335[_0x47e2('0x22')][_0x47e2('0x2')](_0x4c95aa=>_0x4c95aa['name']===_0x1cc84c)),_0x2bffea;}[_0x47e2('0xd')](_0x569b67,_0x28d7f5,_0xfd6959,_0x54f61f){const _0x71ef2e=[];for(const _0x44cb50 of _0x28d7f5[_0x47e2('0x21')]()){const _0x4ae099=_0x44cb50[_0x47e2('0x15')](_0x54f61f);_0x4ae099&&(_0xfd6959[_0x47e2('0x26')](_0x269e47=>_0x4ae099[_0x47e2('0xa')][_0x47e2('0x17')](_0x269e47))&&_0x71ef2e[_0x47e2('0xb')](_0x569b67[_0x47e2('0x10')](_0x44cb50)));}return _0x71ef2e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44c1=['options','differ','hasAttribute','addRange','createRangeIn','forceValue','push','getAttribute','every','change:data','writer','batch','removeTableRow','element','ELEMENT_TABLE_COLUMN_WITH_TEXT','join','rowspan','mapper','maxRow','insert','removeClass','map','nodeAfter','markMultiRangeInsertion','above','*Remove:*\x20%0','locale','selectTableColumn','root','ELEMENT_TABLE_ROW_WITH_TEXT','some','insertion','getCellLocation','data','classes','getColumnIndexes','MIN_SAFE_INTEGER','highest','min','name','subType','tableColumn','detach','item','_tablePostFixingSubtypes','insertTableColumnRight','table','tableCell','accept','addMarker:suggestion','oldRange','createPositionAt','$graveyard','selection','isInContent','createTableWalker','toLowerCase','isEqual','add','get','values','maxColumn','_tableSuggestions','span','deletion','_getCoordsForCells','addClass','setSelection','type','last','getSuggestion','getChildren','getFirstRange','enableCommand','model','getRanges','getItems','createRangeOn','commands','_getSuggestionCoords','getSelectionAffectedTableCells','findAncestor','execute','ELEMENT_TABLE_ROW','has','TableUtils','_descriptionFactory','$textProxy','cell','start','insertTableRowBelow','suggestion','getChanges','document','plugins','tablePaste','downcastDispatcher','substr','getContainedElement','max','editor','showSuggestionHighlights','rootName','isIntersectingWithRange','colspan','afterInit','tableRow','filter','refresh','nodeBefore','first','enqueueChange','removeTableColumn','*Insert:*\x20%0','length','MAX_SAFE_INTEGER','getChangedMarkers','isTouching','change','minRow','startsWith','_setupColumnsRowsFixing','from','left','end','TrackChangesEditing','_splitMarkerName','_suggestionFactory','fromRange','_acceptFormatSuggestionCallbackFactory','registerCustomCallback','getRowIndexes','ELEMENT_TABLE_WITH_TEXT','ELEMENT_TABLE_COLUMN'];(function(_0x181bb5,_0x44c168){const _0x415afb=function(_0x161e0f){while(--_0x161e0f){_0x181bb5['push'](_0x181bb5['shift']());}};_0x415afb(++_0x44c168);}(_0x44c1,0xc9));const _0x415a=function(_0x181bb5,_0x44c168){_0x181bb5=_0x181bb5-0x0;let _0x415afb=_0x44c1[_0x181bb5];return _0x415afb;};import{Plugin as _0x131160}from'ckeditor5/src/core';import{LiveRange as _0xeafbc7}from'ckeditor5/src/engine';import{setHighlightHandling as _0x493a31}from'ckeditor5/src/widget';import{getTranslation as _0x313188}from'../utils/common-translations';export default class mt extends _0x131160{constructor(_0x2150a2){super(_0x2150a2),this[_0x415a('0x6f')]=[_0x415a('0x27'),_0x415a('0x6c')],this[_0x415a('0x81')]=new Set();}[_0x415a('0x26')](){const _0x14238f=this[_0x415a('0x21')],_0xfe88a0=_0x14238f[_0x415a('0x7')][_0x415a('0x1a')]['selection'];if(!_0x14238f['plugins'][_0x415a('0x11')]('TableEditing'))return;const _0x5f4768=_0x14238f[_0x415a('0x5d')],_0x142b26=_0x14238f[_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x3a')),_0x2ee131=_0x14238f['plugins'][_0x415a('0x7e')]('TableUtils');_0x142b26[_0x415a('0x13')]['registerElementLabel'](_0x415a('0x71'),_0x42681b=>_0x313188(_0x5f4768,'ELEMENT_TABLE',_0x42681b)),this[_0x415a('0x36')](),_0x142b26[_0x415a('0x6')]('insertTable'),_0x142b26[_0x415a('0x6')]('selectTableRow'),_0x142b26[_0x415a('0x6')](_0x415a('0x5e'));for(const _0x24da05 of['insertTableRowAbove',_0x415a('0x17')]){const _0x5f3ffe=_0x14238f['commands'][_0x415a('0x7e')](_0x24da05);_0x142b26['enableCommand'](_0x24da05,_0x1df2d4=>{_0x14238f[_0x415a('0x7')][_0x415a('0x33')](_0x5e7925=>{_0x1df2d4();const _0x41dd56=_0x415a('0x5b')===_0x5f3ffe['order'],_0x585133=_0x2ee131[_0x415a('0xd')](_0xfe88a0),_0x4e4459=_0x2ee131[_0x415a('0x40')](_0x585133),_0xcb97b5=_0x41dd56?_0x4e4459['first']-0x1:_0x4e4459[_0x415a('0x2')]+0x1,_0x10d204=_0x585133[0x0][_0x415a('0xe')]('table'),_0x5b4c54=_0x2ee131['createTableWalker'](_0x10d204,{'startRow':_0xcb97b5,'endRow':_0xcb97b5}),_0x55bad6=Array['from'](_0x5b4c54)[_0x415a('0x58')](_0x539eab=>_0x5e7925[_0x415a('0xa')](_0x539eab[_0x415a('0x15')]));_0x142b26[_0x415a('0x5a')](_0x55bad6,'tableRow');});});}for(const _0x410398 of['insertTableColumnLeft',_0x415a('0x70')]){const _0x5a23a4=_0x14238f['commands']['get'](_0x410398);_0x142b26[_0x415a('0x6')](_0x410398,_0x5be921=>{_0x14238f[_0x415a('0x7')][_0x415a('0x33')](_0x5cfd9f=>{_0x5be921();const _0xbf9bae=_0x415a('0x38')===_0x5a23a4['order'],_0x2b2ab8=_0x2ee131['getSelectionAffectedTableCells'](_0xfe88a0),_0x3a6e3=_0x2ee131['getColumnIndexes'](_0x2b2ab8),_0x47861d=_0xbf9bae?_0x3a6e3['first']-0x1:_0x3a6e3[_0x415a('0x2')]+0x1,_0x793d32=_0x2b2ab8[0x0][_0x415a('0xe')](_0x415a('0x71')),_0x4dba9f=_0x2ee131[_0x415a('0x7a')](_0x793d32,{'startRow':0x0,'column':_0x47861d,'includeAllSlots':!0x1}),_0x486fd2=Array[_0x415a('0x37')](_0x4dba9f)[_0x415a('0x58')](_0xc0029a=>_0x5cfd9f[_0x415a('0xa')](_0xc0029a[_0x415a('0x15')]));_0x142b26[_0x415a('0x5a')](_0x486fd2,'tableColumn');});});}for(const _0x139dfc of[_0x415a('0x4f'),_0x415a('0x2d')]){const _0xe98fe7=_0x139dfc[_0x415a('0x1e')](0xb),_0x3b457f=_0xe98fe7[_0x415a('0x7b')](),_0x500a3b=_0x3b457f[_0x415a('0x1e')](0x0,0x3)+_0x415a('0x82'),_0x572ca1=_0x415a('0x71')+_0xe98fe7,_0x3b9f51=_0x415a('0x69')+_0xe98fe7,_0x50d746='max'+_0xe98fe7;_0x142b26[_0x415a('0x6')](_0x139dfc,()=>{_0x14238f[_0x415a('0x7')]['change'](_0x59b602=>{const _0xbba55c=_0x2ee131[_0x415a('0xd')](_0xfe88a0),_0x110e54=_0xbba55c[0x0][_0x415a('0xe')](_0x415a('0x71'));let _0x1feb2f;if(_0x415a('0x4f')==_0x139dfc){const _0x58fda5=_0x2ee131[_0x415a('0x40')](_0xbba55c);_0x1feb2f={'startRow':_0x58fda5[_0x415a('0x2b')],'endRow':_0x58fda5[_0x415a('0x2')],'includeAllSlots':!0x0};}else{const _0x40113f=_0x2ee131[_0x415a('0x66')](_0xbba55c);_0x1feb2f={'startColumn':_0x40113f[_0x415a('0x2b')],'endColumn':_0x40113f[_0x415a('0x2')],'includeAllSlots':!0x0};}const _0x5a39ad=_0x2ee131[_0x415a('0x7a')](_0x110e54,_0x1feb2f),_0x3ee534=Array[_0x415a('0x37')](_0x5a39ad)[_0x415a('0x58')](({cell:_0x2ccc3e})=>_0x2ccc3e),_0x43d305=se(_0x3ee534['filter'](_0x8d8946=>_0x8d8946['hasAttribute'](_0x500a3b))),_0x4942e7=se(_0x3ee534[_0x415a('0x28')](_0x514bbc=>!_0x514bbc['hasAttribute'](_0x500a3b)))['map'](_0x16f968=>_0x59b602[_0x415a('0xa')](_0x16f968)),_0xebb0b=_0x142b26['markMultiRangeDeletion'](_0x4942e7,_0x572ca1);if(_0xebb0b&&(_0x415a('0x27')==_0xebb0b[_0x415a('0x6b')]||_0x415a('0x6c')==_0xebb0b['subType'])){const _0x26a5c5=this[_0x415a('0xc')](_0xebb0b);for(const _0x34b375 of _0x43d305){const _0x1b4bd3=_0x59b602[_0x415a('0xa')](_0x34b375),_0x419cea=_0x2ee131[_0x415a('0x63')](_0x34b375),_0x2ee30a=_0x34b375[_0x415a('0x4a')](_0x500a3b)-0x1,_0x49571e=_0x26a5c5[_0x3b9f51],_0x1df714=_0x26a5c5[_0x50d746];_0x49571e<=_0x419cea[_0x3b457f]&&_0x419cea[_0x3b457f]+_0x2ee30a<=_0x1df714&&_0xebb0b['addRange'](_0x1b4bd3);}}});});}function _0x78bdad(_0x5232a2){const _0x953fdd=Array[_0x415a('0x37')](_0xfe88a0[_0x415a('0x8')]())[_0x415a('0x58')](_0x348ad2=>_0xeafbc7[_0x415a('0x3d')](_0x348ad2));_0x14238f[_0x415a('0x7')]['change'](_0x3825ab=>{const _0x6eee50=_0x3825ab[_0x415a('0x4e')];_0x5232a2=_0x5232a2[_0x415a('0x28')](_0x33ceec=>_0x415a('0x77')!=_0x33ceec['root'][_0x415a('0x23')]),_0x3825ab[_0x415a('0x0')](_0x5232a2),_0x14238f[_0x415a('0xb')][_0x415a('0x7e')](_0x415a('0x4f'))[_0x415a('0x29')](),_0x14238f['execute'](_0x415a('0x4f'),{'forceDefaultExecution':!0x0}),_0x14238f['model']['enqueueChange'](()=>{_0x14238f[_0x415a('0x7')][_0x415a('0x2c')](_0x6eee50,_0x30ec12=>{const _0x25127a=_0x953fdd[_0x415a('0x28')](_0x20b3f4=>'$graveyard'!=_0x20b3f4[_0x415a('0x5f')][_0x415a('0x23')]);_0x25127a[_0x415a('0x2f')]>0x0&&_0x30ec12['setSelection'](_0x25127a);for(const _0x328548 of _0x953fdd)_0x328548[_0x415a('0x6d')]();});});});}function _0x1f260a(_0x315823){_0x14238f['model'][_0x415a('0x33')](_0x1f32f9=>{const _0xdba518=Array['from'](_0xfe88a0[_0x415a('0x8')]())[_0x415a('0x58')](_0x1ad3bc=>_0xeafbc7[_0x415a('0x3d')](_0x1ad3bc)),_0xb9bca1=[];for(const _0x21d4ea of _0x315823)for(const _0x18ca60 of _0x21d4ea[_0x415a('0x9')]({'shallow':!0x0}))_0xb9bca1[_0x415a('0x49')](_0x18ca60);for(const _0x1954de of _0xb9bca1)_0x415a('0x77')!=_0x1954de[_0x415a('0x5f')]['rootName']&&(_0x1f32f9['setSelection'](_0x1f32f9[_0x415a('0x76')](_0x1954de,0x0)),_0x14238f['commands'][_0x415a('0x7e')](_0x415a('0x2d'))[_0x415a('0x29')](),_0x14238f['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x469e0e=_0xdba518[_0x415a('0x28')](_0x1c851d=>'$graveyard'!=_0x1c851d[_0x415a('0x5f')][_0x415a('0x23')]);_0x469e0e[_0x415a('0x2f')]>0x0&&_0x1f32f9[_0x415a('0x0')](_0x469e0e);for(const _0x4b1578 of _0xdba518)_0x4b1578[_0x415a('0x6d')]();});}function _0x500661(_0x48071b,_0x598bd1){return _0x598bd1[_0x415a('0x4b')](_0x10b5b1=>_0x48071b[_0x415a('0x61')](_0x55cc71=>_0x55cc71['end'][_0x415a('0x7c')](_0x10b5b1[_0x415a('0x16')])||_0x10b5b1[_0x415a('0x39')][_0x415a('0x7c')](_0x55cc71[_0x415a('0x16')])));}function _0x4480c9(_0x133b0f,_0x3ebeb9){return _0x133b0f[_0x415a('0x61')](_0x2b689a=>_0x3ebeb9[_0x415a('0x61')](_0x35aada=>_0x2b689a[_0x415a('0x39')][_0x415a('0x32')](_0x35aada['start'])));}_0x14238f['data'][_0x415a('0x1d')]['on'](_0x415a('0x74'),(_0x383aa9,_0x39e485,_0x10f83c)=>{if(!_0x10f83c[_0x415a('0x43')][_0x415a('0x22')])return;const _0x567d2d=_0x39e485[_0x415a('0x6e')];if(!_0x567d2d)return;const _0x48e0e5=_0x10f83c[_0x415a('0x54')]['toViewElement'](_0x567d2d);function _0x458b00(_0xe8d843){return Array['isArray'](_0xe8d843)?_0xe8d843:[_0xe8d843];}_0x48e0e5&&_0x415a('0x72')===_0x567d2d['name']&&_0x493a31(_0x48e0e5,_0x10f83c[_0x415a('0x4d')],(_0x3d94f2,_0x49d184,_0x496240)=>_0x496240[_0x415a('0x85')](_0x458b00(_0x49d184[_0x415a('0x65')]),_0x3d94f2),(_0x4b480c,_0x28ba28,_0xd7e87)=>_0xd7e87[_0x415a('0x57')](_0x458b00(_0x28ba28['classes']),_0x4b480c));},{'priority':_0x415a('0x68')}),_0x142b26['_descriptionFactory']['registerDescriptionCallback'](_0x50cdb3=>{if(_0x415a('0x62')!=_0x50cdb3[_0x415a('0x1')]&&'deletion'!=_0x50cdb3[_0x415a('0x1')])return;const _0x5af855=_0x50cdb3[_0x415a('0x1f')]();if(null!=_0x5af855&&_0x5af855['is'](_0x415a('0x50'),_0x415a('0x71'))){if('insertion'==_0x50cdb3[_0x415a('0x1')]){const _0x37defc=_0x50cdb3['getItems']()[_0x415a('0x28')](_0x47be46=>_0x47be46['is']('$textProxy'))[_0x415a('0x58')](_0x54888d=>_0x54888d[_0x415a('0x64')]);if(_0x37defc[_0x415a('0x2f')])return{'type':'insertion','content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x37defc['join']('\x20')+'\x22'))};}if(_0x415a('0x83')==_0x50cdb3[_0x415a('0x1')]){const _0xb88381=_0x50cdb3[_0x415a('0x9')]()['filter'](_0x354d6c=>_0x354d6c['is'](_0x415a('0x14')))['map'](_0x526a45=>_0x526a45[_0x415a('0x64')]);if(_0xb88381[_0x415a('0x2f')])return{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,'*Remove:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x41'),'\x22'+_0xb88381[_0x415a('0x52')]('\x20')+'\x22'))};}}}),_0x142b26['_descriptionFactory']['registerDescriptionCallback'](_0x411c65=>{if(_0x415a('0x27')==_0x411c65[_0x415a('0x6b')]){const _0x4850d6=_0x411c65['getItems']()[_0x415a('0x28')](_0x2abd87=>_0x2abd87['is'](_0x415a('0x14')))[_0x415a('0x58')](_0x3709d7=>_0x3709d7[_0x415a('0x64')]),_0x476b7d=this[_0x415a('0xc')](_0x411c65),_0x7c2749=_0x476b7d[_0x415a('0x55')]-_0x476b7d[_0x415a('0x34')]+0x1;if(_0x415a('0x62')==_0x411c65[_0x415a('0x1')])return _0x4850d6[_0x415a('0x2f')]?{'type':'insertion','content':_0x313188(_0x5f4768,'*Insert:*\x20%0',_0x313188(_0x5f4768,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x7c2749,'\x22'+_0x4850d6[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,'*Insert:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x10'),_0x7c2749))};if(_0x415a('0x83')==_0x411c65[_0x415a('0x1')])return _0x4850d6[_0x415a('0x2f')]?{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,_0x415a('0x60'),[_0x7c2749,'\x22'+_0x4850d6[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x313188(_0x5f4768,'*Remove:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x10'),_0x7c2749))};}if(_0x415a('0x6c')==_0x411c65[_0x415a('0x6b')]){const _0xa14096=_0x411c65[_0x415a('0x9')]()[_0x415a('0x28')](_0x1f3736=>_0x1f3736['is'](_0x415a('0x14')))[_0x415a('0x58')](_0x159c69=>_0x159c69[_0x415a('0x64')]),_0x5269bb=this[_0x415a('0xc')](_0x411c65),_0x54091e=_0x5269bb[_0x415a('0x80')]-_0x5269bb['minColumn']+0x1;if(_0x415a('0x62')==_0x411c65[_0x415a('0x1')])return _0xa14096[_0x415a('0x2f')]?{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,_0x415a('0x51'),[_0x54091e,'\x22'+_0xa14096['join']('\x20')+'\x22']))}:{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,_0x415a('0x42'),_0x54091e))};if(_0x415a('0x83')==_0x411c65[_0x415a('0x1')])return _0xa14096[_0x415a('0x2f')]?{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x54091e,'\x22'+_0xa14096[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,_0x415a('0x42'),_0x54091e))};}}),_0x142b26[_0x415a('0x3c')]['registerCustomCallback'](_0x415a('0x62'),_0x415a('0x27'),'discard',_0x78bdad),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x83'),'tableRow','accept',_0x78bdad),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x62'),_0x415a('0x6c'),'discard',_0x1f260a),_0x142b26[_0x415a('0x3c')]['registerCustomCallback']('deletion',_0x415a('0x6c'),_0x415a('0x73'),_0x1f260a),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x62'),'tableColumn','join',_0x500661),_0x142b26[_0x415a('0x3c')]['registerCustomCallback']('deletion','tableColumn',_0x415a('0x52'),_0x500661),_0x142b26['_suggestionFactory']['registerCustomCallback'](_0x415a('0x62'),'tableRow','join',_0x4480c9),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')]('deletion','tableRow',_0x415a('0x52'),_0x4480c9);}[_0x415a('0x3e')](){const _0x26c117=this[_0x415a('0x21')],_0x4541dc=_0x26c117[_0x415a('0x7')]['document'][_0x415a('0x78')];return(_0x3de249,_0x5c3e73)=>{_0x26c117[_0x415a('0x7')][_0x415a('0x33')](_0x46cfad=>{const {commandName:_0xdaf560,commandParams:_0x330ae8}=_0x5c3e73;let _0x532c11=_0x3de249[0x0][_0x415a('0x39')][_0x415a('0x2a')];_0x330ae8&&_0x330ae8[0x0]&&!0x1===_0x330ae8[0x0][_0x415a('0x48')]&&(_0x532c11=_0x3de249[0x0][_0x415a('0x16')]['nodeAfter']);const _0x504d04=_0x46cfad[_0x415a('0x47')](_0x532c11);if(_0x415a('0x77')==_0x504d04[_0x415a('0x5f')][_0x415a('0x23')])return;const _0x765509=Array['from'](_0x4541dc[_0x415a('0x8')]())[_0x415a('0x58')](_0x56e160=>_0xeafbc7[_0x415a('0x3d')](_0x56e160));_0x46cfad[_0x415a('0x0')](_0x504d04),_0x26c117[_0x415a('0xb')][_0x415a('0x7e')](_0xdaf560)['refresh'](),_0x330ae8['push']({'forceDefaultExecution':!0x0}),_0x26c117[_0x415a('0xf')](_0xdaf560,..._0x330ae8);const _0x17ee7a=_0x765509['filter'](_0xccc68b=>_0x415a('0x77')!=_0xccc68b[_0x415a('0x5f')][_0x415a('0x23')]);_0x17ee7a[_0x415a('0x2f')]>0x0&&_0x46cfad[_0x415a('0x0')](_0x17ee7a);for(const _0x120b82 of _0x765509)_0x120b82[_0x415a('0x6d')]();});};}[_0x415a('0x84')](_0x31335b){const _0x2ef98a=this[_0x415a('0x21')][_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x12'));let _0x5d258d=Number[_0x415a('0x30')],_0x238b9c=Number[_0x415a('0x67')],_0x24952d=Number[_0x415a('0x30')],_0x5539f0=Number[_0x415a('0x67')];for(const _0x346959 of _0x31335b){if('$graveyard'==_0x346959[_0x415a('0x5f')][_0x415a('0x23')])continue;const {row:_0x587dab,column:_0x86ef47}=_0x2ef98a[_0x415a('0x63')](_0x346959),_0xdcc15d=_0x346959[_0x415a('0x45')](_0x415a('0x53'))?_0x346959[_0x415a('0x4a')](_0x415a('0x53'))-0x1:0x0,_0x243a5e=_0x346959[_0x415a('0x45')](_0x415a('0x25'))?_0x346959[_0x415a('0x4a')](_0x415a('0x25'))-0x1:0x0;_0x5d258d=_0x587dab<_0x5d258d?_0x587dab:_0x5d258d,_0x238b9c=_0x587dab+_0xdcc15d>_0x238b9c?_0x587dab+_0xdcc15d:_0x238b9c,_0x24952d=_0x86ef47<_0x24952d?_0x86ef47:_0x24952d,_0x5539f0=_0x86ef47+_0x243a5e>_0x5539f0?_0x86ef47+_0x243a5e:_0x5539f0;}return{'minRow':_0x5d258d,'maxRow':_0x238b9c,'minColumn':_0x24952d,'maxColumn':_0x5539f0};}[_0x415a('0x36')](){const _0x32b5cf=this[_0x415a('0x21')],_0xaa66b4=_0x32b5cf[_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x3a')),_0x222980=_0x32b5cf[_0x415a('0x1b')]['get'](_0x415a('0x12'));_0x32b5cf['model']['document']['on'](_0x415a('0x4c'),()=>{const _0x4a207b=Array[_0x415a('0x37')](_0x32b5cf['model'][_0x415a('0x1a')][_0x415a('0x44')][_0x415a('0x31')]());for(const {name:_0xe20032,data:_0x4f7ff6}of _0x4a207b){const {group:_0x469d9f,id:_0x144664,subType:_0x1431b8}=_0xaa66b4[_0x415a('0x3b')](_0xe20032);if(_0x415a('0x18')!=_0x469d9f)continue;if(null!=_0x4f7ff6[_0x415a('0x75')])continue;const _0x33c71f=_0xaa66b4[_0x415a('0x3')](_0x144664);this[_0x415a('0x6f')]['includes'](_0x1431b8)&&this[_0x415a('0x81')][_0x415a('0x7d')](_0x33c71f);}},{'priority':'low'});const _0x50782b=(_0x6785e3,_0x9799f2)=>{let _0x5a404d=!0x1;const _0xf6f432=_0x9799f2[_0x415a('0xa')](_0x6785e3),_0x3eab95=_0x6785e3[_0x415a('0xe')](_0x415a('0x71')),_0x52fc34=_0x222980[_0x415a('0x63')](_0x6785e3);for(const _0x3d87fb of this[_0x415a('0x81')]){const _0x443986=_0x3d87fb['subType'],_0x32d957=_0x443986[_0x415a('0x35')](_0x415a('0x1c')),_0x2088dc=_0x443986[_0x415a('0x1e')](_0x32d957?0xa:0x5),_0x381eaa=_0x2088dc[_0x415a('0x7b')](),_0x19ea05=_0x381eaa[_0x415a('0x1e')](0x0,0x3)+_0x415a('0x82'),_0x3e1a37='min'+_0x2088dc,_0x4bd284=_0x415a('0x20')+_0x2088dc;if(!_0x3d87fb[_0x415a('0x79')])continue;if(_0x3eab95!=_0x3d87fb[_0x415a('0x5')]()[_0x415a('0x16')][_0x415a('0xe')]('table'))continue;if(_0x3d87fb[_0x415a('0x24')](_0xf6f432))continue;const _0x56e3e1=_0x6785e3[_0x415a('0x45')](_0x19ea05)?_0x6785e3['getAttribute'](_0x19ea05)-0x1:0x0,_0x1efab1=this[_0x415a('0xc')](_0x3d87fb),_0x5a567a=_0x1efab1[_0x3e1a37],_0x362115=_0x1efab1[_0x4bd284];_0x5a567a<=_0x52fc34[_0x381eaa]&&_0x52fc34[_0x381eaa]+_0x56e3e1<=_0x362115&&(_0x3d87fb[_0x415a('0x46')](_0xf6f432),_0x5a404d=!0x0);}return _0x5a404d;};_0x32b5cf[_0x415a('0x7')][_0x415a('0x1a')]['registerPostFixer'](_0x1d4826=>{let _0x1a57bf=!0x1;for(const _0x3047c2 of _0x32b5cf[_0x415a('0x7')][_0x415a('0x1a')][_0x415a('0x44')][_0x415a('0x19')]())if(_0x415a('0x56')==_0x3047c2[_0x415a('0x1')]){if('tableRow'==_0x3047c2[_0x415a('0x6a')])for(const _0x4e1221 of _0x3047c2['position'][_0x415a('0x59')][_0x415a('0x4')]())_0x1a57bf=_0x1a57bf||_0x50782b(_0x4e1221,_0x1d4826);else'tableCell'==_0x3047c2[_0x415a('0x6a')]&&(_0x1a57bf=_0x1a57bf||_0x50782b(_0x3047c2['position'][_0x415a('0x59')],_0x1d4826));}return _0x1a57bf;});}[_0x415a('0xc')](_0x5d7f90){return this['_getCoordsForCells'](_0x5d7f90[_0x415a('0x8')]()[_0x415a('0x58')](_0x5f0f9b=>_0x5f0f9b[_0x415a('0x16')][_0x415a('0x59')]));}}function se(_0x43e34f){return Array[_0x415a('0x37')](new Set(_0x43e34f)[_0x415a('0x7f')]());}
23
+ const _0x3674=['getContainedElement','registerPostFixer','filter','detach','maxRow','some','markMultiRangeInsertion','isArray','removeClass','isEqual','getItems','change','addRange','end','tableCell','getCellLocation','push','_tablePostFixingSubtypes','isTouching','first','minColumn','highest','markMultiRangeDeletion','batch','tablePaste','$textProxy','hasAttribute','createRangeOn','selection','element','from','options','getSuggestion','ELEMENT_TABLE_WITH_TEXT','last','discard','ELEMENT_TABLE_ROW_WITH_TEXT','position','MIN_SAFE_INTEGER','insertTableColumnRight','start','document','nodeBefore','enqueueChange','item','tableRow','getSelectionAffectedTableCells','accept','cell','toLowerCase','createTableWalker','insertTableRowBelow','subType','getRanges','rootName','createRangeIn','isIntersectingWithRange','_descriptionFactory','downcastDispatcher','*Insert:*\x20%0','change:data','above','insertTable','editor','locale','findAncestor','fromRange','name','insertion','forceValue','getChanges','*Remove:*\x20%0','map','enableCommand','ELEMENT_TABLE_ROW','getColumnIndexes','selectTableColumn','insertTableRowAbove','root','addClass','$graveyard','includes','substr','TableUtils','_suggestionFactory','_tableSuggestions','refresh','min','deletion','classes','tableColumn','table','colspan','_getCoordsForCells','ELEMENT_TABLE_COLUMN_WITH_TEXT','setSelection','commands','values','getFirstRange','ELEMENT_TABLE','nodeAfter','oldRange','model','getChangedMarkers','low','_setupColumnsRowsFixing','span','left','type','MAX_SAFE_INTEGER','get','join','registerCustomCallback','rowspan','TableEditing','_getSuggestionCoords','insertTableColumnLeft','add','data','_splitMarkerName','insert','differ','ELEMENT_TABLE_COLUMN','TrackChangesEditing','length','mapper','execute','plugins','removeTableRow','order','getAttribute','registerDescriptionCallback','getRowIndexes','minRow','removeTableColumn','max','writer'];(function(_0x3dcd19,_0x367488){const _0x23de90=function(_0x552ed1){while(--_0x552ed1){_0x3dcd19['push'](_0x3dcd19['shift']());}};_0x23de90(++_0x367488);}(_0x3674,0x167));const _0x23de=function(_0x3dcd19,_0x367488){_0x3dcd19=_0x3dcd19-0x0;let _0x23de90=_0x3674[_0x3dcd19];return _0x23de90;};import{Plugin as _0x539bec}from'ckeditor5/src/core';import{LiveRange as _0xab8c01}from'ckeditor5/src/engine';import{setHighlightHandling as _0x169e26}from'ckeditor5/src/widget';import{getTranslation as _0x3c6b5d}from'../utils/common-translations';export default class mt extends _0x539bec{constructor(_0x1040b1){super(_0x1040b1),this[_0x23de('0x45')]=[_0x23de('0x61'),_0x23de('0x5')],this[_0x23de('0x0')]=new Set();}['afterInit'](){const _0x3e21e7=this['editor'],_0x5d9430=_0x3e21e7['model'][_0x23de('0x5d')]['selection'];if(!_0x3e21e7[_0x23de('0x2a')]['has'](_0x23de('0x1d')))return;const _0x3966b7=_0x3e21e7[_0x23de('0x74')],_0x1c5bc2=_0x3e21e7[_0x23de('0x2a')][_0x23de('0x19')](_0x23de('0x26')),_0x219fb3=_0x3e21e7[_0x23de('0x2a')][_0x23de('0x19')]('TableUtils');_0x1c5bc2[_0x23de('0x6d')]['registerElementLabel'](_0x23de('0x6'),_0x12a85c=>_0x3c6b5d(_0x3966b7,_0x23de('0xe'),_0x12a85c)),this[_0x23de('0x14')](),_0x1c5bc2[_0x23de('0x7d')](_0x23de('0x72')),_0x1c5bc2[_0x23de('0x7d')]('selectTableRow'),_0x1c5bc2[_0x23de('0x7d')](_0x23de('0x80'));for(const _0x175ab5 of[_0x23de('0x81'),_0x23de('0x67')]){const _0x1be80f=_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')](_0x175ab5);_0x1c5bc2[_0x23de('0x7d')](_0x175ab5,_0x45f068=>{_0x3e21e7['model']['change'](_0x5b9ff6=>{_0x45f068();const _0x5b994e=_0x23de('0x71')===_0x1be80f[_0x23de('0x2c')],_0x40d120=_0x219fb3[_0x23de('0x62')](_0x5d9430),_0x5d36e0=_0x219fb3['getRowIndexes'](_0x40d120),_0x3e5156=_0x5b994e?_0x5d36e0[_0x23de('0x47')]-0x1:_0x5d36e0[_0x23de('0x56')]+0x1,_0x18f265=_0x40d120[0x0][_0x23de('0x75')](_0x23de('0x6')),_0x421ab2=_0x219fb3['createTableWalker'](_0x18f265,{'startRow':_0x3e5156,'endRow':_0x3e5156}),_0x4d7780=Array[_0x23de('0x52')](_0x421ab2)[_0x23de('0x7c')](_0xf68860=>_0x5b9ff6[_0x23de('0x4f')](_0xf68860[_0x23de('0x64')]));_0x1c5bc2[_0x23de('0x3a')](_0x4d7780,_0x23de('0x61'));});});}for(const _0x1c94f4 of[_0x23de('0x1f'),_0x23de('0x5b')]){const _0x24be04=_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')](_0x1c94f4);_0x1c5bc2[_0x23de('0x7d')](_0x1c94f4,_0x577422=>{_0x3e21e7[_0x23de('0x11')][_0x23de('0x3f')](_0x55fe2b=>{_0x577422();const _0x2c4441=_0x23de('0x16')===_0x24be04[_0x23de('0x2c')],_0x31bf5f=_0x219fb3['getSelectionAffectedTableCells'](_0x5d9430),_0x3d8a85=_0x219fb3['getColumnIndexes'](_0x31bf5f),_0x4f4087=_0x2c4441?_0x3d8a85[_0x23de('0x47')]-0x1:_0x3d8a85['last']+0x1,_0x42f2af=_0x31bf5f[0x0][_0x23de('0x75')](_0x23de('0x6')),_0x2001fd=_0x219fb3[_0x23de('0x66')](_0x42f2af,{'startRow':0x0,'column':_0x4f4087,'includeAllSlots':!0x1}),_0x55c406=Array[_0x23de('0x52')](_0x2001fd)[_0x23de('0x7c')](_0x35be34=>_0x55fe2b[_0x23de('0x4f')](_0x35be34[_0x23de('0x64')]));_0x1c5bc2[_0x23de('0x3a')](_0x55c406,'tableColumn');});});}for(const _0x2d3dd0 of['removeTableRow','removeTableColumn']){const _0x3380ae=_0x2d3dd0[_0x23de('0x86')](0xb),_0x32653b=_0x3380ae['toLowerCase'](),_0x3c1215=_0x32653b[_0x23de('0x86')](0x0,0x3)+_0x23de('0x15'),_0x297e4f='table'+_0x3380ae,_0x5bcb3a=_0x23de('0x2')+_0x3380ae,_0x49f37e=_0x23de('0x32')+_0x3380ae;_0x1c5bc2[_0x23de('0x7d')](_0x2d3dd0,()=>{_0x3e21e7['model'][_0x23de('0x3f')](_0x50fe5d=>{const _0x548349=_0x219fb3[_0x23de('0x62')](_0x5d9430),_0x55e82c=_0x548349[0x0][_0x23de('0x75')](_0x23de('0x6'));let _0x3ac893;if(_0x23de('0x2b')==_0x2d3dd0){const _0x8e5ad6=_0x219fb3[_0x23de('0x2f')](_0x548349);_0x3ac893={'startRow':_0x8e5ad6[_0x23de('0x47')],'endRow':_0x8e5ad6[_0x23de('0x56')],'includeAllSlots':!0x0};}else{const _0x193f0d=_0x219fb3[_0x23de('0x7f')](_0x548349);_0x3ac893={'startColumn':_0x193f0d[_0x23de('0x47')],'endColumn':_0x193f0d[_0x23de('0x56')],'includeAllSlots':!0x0};}const _0x3824ab=_0x219fb3['createTableWalker'](_0x55e82c,_0x3ac893),_0x16018a=Array[_0x23de('0x52')](_0x3824ab)['map'](({cell:_0x98ded1})=>_0x98ded1),_0x2b0d36=se(_0x16018a['filter'](_0xc561c6=>_0xc561c6['hasAttribute'](_0x3c1215))),_0x32689c=se(_0x16018a['filter'](_0x47c745=>!_0x47c745[_0x23de('0x4e')](_0x3c1215)))['map'](_0x18a997=>_0x50fe5d[_0x23de('0x4f')](_0x18a997)),_0x4d8082=_0x1c5bc2[_0x23de('0x4a')](_0x32689c,_0x297e4f);if(_0x4d8082&&(_0x23de('0x61')==_0x4d8082['subType']||'tableColumn'==_0x4d8082[_0x23de('0x68')])){const _0x257002=this['_getSuggestionCoords'](_0x4d8082);for(const _0x11adad of _0x2b0d36){const _0x2c4dc3=_0x50fe5d[_0x23de('0x4f')](_0x11adad),_0x1b3f97=_0x219fb3[_0x23de('0x43')](_0x11adad),_0x5c3db6=_0x11adad['getAttribute'](_0x3c1215)-0x1,_0x578dd2=_0x257002[_0x5bcb3a],_0x485cf3=_0x257002[_0x49f37e];_0x578dd2<=_0x1b3f97[_0x32653b]&&_0x1b3f97[_0x32653b]+_0x5c3db6<=_0x485cf3&&_0x4d8082[_0x23de('0x40')](_0x2c4dc3);}}});});}function _0x42ebce(_0x21925d){const _0x224292=Array[_0x23de('0x52')](_0x5d9430[_0x23de('0x69')]())[_0x23de('0x7c')](_0x5a0de7=>_0xab8c01['fromRange'](_0x5a0de7));_0x3e21e7[_0x23de('0x11')]['change'](_0x1887d3=>{const _0x5e8127=_0x1887d3[_0x23de('0x4b')];_0x21925d=_0x21925d[_0x23de('0x36')](_0x3fbc80=>_0x23de('0x84')!=_0x3fbc80[_0x23de('0x82')]['rootName']),_0x1887d3[_0x23de('0xa')](_0x21925d),_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')]('removeTableRow')[_0x23de('0x1')](),_0x3e21e7[_0x23de('0x29')](_0x23de('0x2b'),{'forceDefaultExecution':!0x0}),_0x3e21e7['model']['enqueueChange'](()=>{_0x3e21e7['model'][_0x23de('0x5f')](_0x5e8127,_0x260b84=>{const _0x35a882=_0x224292['filter'](_0x52e950=>_0x23de('0x84')!=_0x52e950[_0x23de('0x82')]['rootName']);_0x35a882[_0x23de('0x27')]>0x0&&_0x260b84[_0x23de('0xa')](_0x35a882);for(const _0x306c8d of _0x224292)_0x306c8d[_0x23de('0x37')]();});});});}function _0x59fdf3(_0x14919a){_0x3e21e7[_0x23de('0x11')]['change'](_0x5cf210=>{const _0x344250=Array['from'](_0x5d9430[_0x23de('0x69')]())['map'](_0x3fa9da=>_0xab8c01[_0x23de('0x76')](_0x3fa9da)),_0x170ff2=[];for(const _0x343ece of _0x14919a)for(const _0x1ecebe of _0x343ece[_0x23de('0x3e')]({'shallow':!0x0}))_0x170ff2[_0x23de('0x44')](_0x1ecebe);for(const _0x406980 of _0x170ff2)_0x23de('0x84')!=_0x406980[_0x23de('0x82')]['rootName']&&(_0x5cf210['setSelection'](_0x5cf210['createPositionAt'](_0x406980,0x0)),_0x3e21e7[_0x23de('0xb')]['get'](_0x23de('0x31'))['refresh'](),_0x3e21e7[_0x23de('0x29')](_0x23de('0x31'),{'forceDefaultExecution':!0x0}));const _0x228dbc=_0x344250[_0x23de('0x36')](_0x1b5293=>'$graveyard'!=_0x1b5293['root'][_0x23de('0x6a')]);_0x228dbc[_0x23de('0x27')]>0x0&&_0x5cf210[_0x23de('0xa')](_0x228dbc);for(const _0x3c3b08 of _0x344250)_0x3c3b08['detach']();});}function _0x507df0(_0x2450e8,_0x338b0f){return _0x338b0f['every'](_0x155e4a=>_0x2450e8['some'](_0xc3bd72=>_0xc3bd72[_0x23de('0x41')][_0x23de('0x3d')](_0x155e4a[_0x23de('0x5c')])||_0x155e4a['end']['isEqual'](_0xc3bd72[_0x23de('0x5c')])));}function _0x2d45cb(_0x5aac16,_0x3c7ced){return _0x5aac16[_0x23de('0x39')](_0x4c1115=>_0x3c7ced[_0x23de('0x39')](_0x2b7e1b=>_0x4c1115[_0x23de('0x41')][_0x23de('0x46')](_0x2b7e1b[_0x23de('0x5c')])));}_0x3e21e7['data'][_0x23de('0x6e')]['on']('addMarker:suggestion',(_0x3b10fd,_0x5c33ba,_0x137ee0)=>{if(!_0x137ee0[_0x23de('0x53')]['showSuggestionHighlights'])return;const _0xbf792a=_0x5c33ba[_0x23de('0x60')];if(!_0xbf792a)return;const _0x476835=_0x137ee0[_0x23de('0x28')]['toViewElement'](_0xbf792a);function _0x6c2a44(_0x283648){return Array[_0x23de('0x3b')](_0x283648)?_0x283648:[_0x283648];}_0x476835&&_0x23de('0x42')===_0xbf792a[_0x23de('0x77')]&&_0x169e26(_0x476835,_0x137ee0[_0x23de('0x33')],(_0x1f812b,_0x5d1e1e,_0x5b8522)=>_0x5b8522[_0x23de('0x83')](_0x6c2a44(_0x5d1e1e['classes']),_0x1f812b),(_0x2ca5f5,_0x3b860f,_0x5b121c)=>_0x5b121c[_0x23de('0x3c')](_0x6c2a44(_0x3b860f[_0x23de('0x4')]),_0x2ca5f5));},{'priority':_0x23de('0x49')}),_0x1c5bc2[_0x23de('0x6d')][_0x23de('0x2e')](_0x243823=>{if(_0x23de('0x78')!=_0x243823[_0x23de('0x17')]&&'deletion'!=_0x243823['type'])return;const _0x4bd369=_0x243823[_0x23de('0x34')]();if(null!=_0x4bd369&&_0x4bd369['is'](_0x23de('0x51'),_0x23de('0x6'))){if(_0x23de('0x78')==_0x243823[_0x23de('0x17')]){const _0x2cd44b=_0x243823[_0x23de('0x3e')]()[_0x23de('0x36')](_0x4a3742=>_0x4a3742['is'](_0x23de('0x4d')))[_0x23de('0x7c')](_0x5bb49c=>_0x5bb49c[_0x23de('0x21')]);if(_0x2cd44b[_0x23de('0x27')])return{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x55'),'\x22'+_0x2cd44b[_0x23de('0x1a')]('\x20')+'\x22'))};}if('deletion'==_0x243823[_0x23de('0x17')]){const _0x42de36=_0x243823['getItems']()[_0x23de('0x36')](_0x1a5365=>_0x1a5365['is']('$textProxy'))[_0x23de('0x7c')](_0x2607ce=>_0x2607ce[_0x23de('0x21')]);if(_0x42de36[_0x23de('0x27')])return{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x55'),'\x22'+_0x42de36['join']('\x20')+'\x22'))};}}}),_0x1c5bc2[_0x23de('0x6d')]['registerDescriptionCallback'](_0x3532dc=>{if('tableRow'==_0x3532dc['subType']){const _0x5582e1=_0x3532dc['getItems']()[_0x23de('0x36')](_0x548d22=>_0x548d22['is'](_0x23de('0x4d')))[_0x23de('0x7c')](_0x3efc9a=>_0x3efc9a[_0x23de('0x21')]),_0x5318b0=this[_0x23de('0x1e')](_0x3532dc),_0x49ea4a=_0x5318b0[_0x23de('0x38')]-_0x5318b0[_0x23de('0x30')]+0x1;if(_0x23de('0x78')==_0x3532dc[_0x23de('0x17')])return _0x5582e1[_0x23de('0x27')]?{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,'*Insert:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x58'),[_0x49ea4a,'\x22'+_0x5582e1['join']('\x20')+'\x22']))}:{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,'ELEMENT_TABLE_ROW',_0x49ea4a))};if('deletion'==_0x3532dc[_0x23de('0x17')])return _0x5582e1[_0x23de('0x27')]?{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x58'),[_0x49ea4a,'\x22'+_0x5582e1[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x7e'),_0x49ea4a))};}if(_0x23de('0x5')==_0x3532dc['subType']){const _0x10bb6a=_0x3532dc[_0x23de('0x3e')]()[_0x23de('0x36')](_0x3a1319=>_0x3a1319['is']('$textProxy'))[_0x23de('0x7c')](_0x21b14c=>_0x21b14c[_0x23de('0x21')]),_0x1aea33=this[_0x23de('0x1e')](_0x3532dc),_0x174f1d=_0x1aea33['maxColumn']-_0x1aea33[_0x23de('0x48')]+0x1;if('insertion'==_0x3532dc[_0x23de('0x17')])return _0x10bb6a[_0x23de('0x27')]?{'type':'insertion','content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x9'),[_0x174f1d,'\x22'+_0x10bb6a[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x25'),_0x174f1d))};if(_0x23de('0x3')==_0x3532dc['type'])return _0x10bb6a[_0x23de('0x27')]?{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,'*Remove:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x9'),[_0x174f1d,'\x22'+_0x10bb6a[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,'*Remove:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x25'),_0x174f1d))};}}),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x61'),_0x23de('0x57'),_0x42ebce),_0x1c5bc2[_0x23de('0x88')]['registerCustomCallback'](_0x23de('0x3'),'tableRow',_0x23de('0x63'),_0x42ebce),_0x1c5bc2['_suggestionFactory'][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x5'),_0x23de('0x57'),_0x59fdf3),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x3'),_0x23de('0x5'),_0x23de('0x63'),_0x59fdf3),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x5'),_0x23de('0x1a'),_0x507df0),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')]('deletion',_0x23de('0x5'),'join',_0x507df0),_0x1c5bc2[_0x23de('0x88')]['registerCustomCallback'](_0x23de('0x78'),_0x23de('0x61'),_0x23de('0x1a'),_0x2d45cb),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x3'),_0x23de('0x61'),_0x23de('0x1a'),_0x2d45cb);}['_acceptFormatSuggestionCallbackFactory'](){const _0xdbcaeb=this[_0x23de('0x73')],_0x4f3f48=_0xdbcaeb['model']['document'][_0x23de('0x50')];return(_0xdcbb66,_0x296a3b)=>{_0xdbcaeb[_0x23de('0x11')][_0x23de('0x3f')](_0x4c7eba=>{const {commandName:_0x461e26,commandParams:_0x540120}=_0x296a3b;let _0x1df222=_0xdcbb66[0x0][_0x23de('0x41')][_0x23de('0x5e')];_0x540120&&_0x540120[0x0]&&!0x1===_0x540120[0x0][_0x23de('0x79')]&&(_0x1df222=_0xdcbb66[0x0]['start']['nodeAfter']);const _0x57f936=_0x4c7eba[_0x23de('0x6b')](_0x1df222);if(_0x23de('0x84')==_0x57f936[_0x23de('0x82')]['rootName'])return;const _0x48674c=Array[_0x23de('0x52')](_0x4f3f48[_0x23de('0x69')]())[_0x23de('0x7c')](_0x28eb30=>_0xab8c01['fromRange'](_0x28eb30));_0x4c7eba[_0x23de('0xa')](_0x57f936),_0xdbcaeb['commands'][_0x23de('0x19')](_0x461e26)[_0x23de('0x1')](),_0x540120[_0x23de('0x44')]({'forceDefaultExecution':!0x0}),_0xdbcaeb[_0x23de('0x29')](_0x461e26,..._0x540120);const _0x5192d4=_0x48674c[_0x23de('0x36')](_0x23a09b=>_0x23de('0x84')!=_0x23a09b[_0x23de('0x82')][_0x23de('0x6a')]);_0x5192d4[_0x23de('0x27')]>0x0&&_0x4c7eba[_0x23de('0xa')](_0x5192d4);for(const _0x55b61d of _0x48674c)_0x55b61d[_0x23de('0x37')]();});};}[_0x23de('0x8')](_0x584475){const _0x28c56a=this[_0x23de('0x73')][_0x23de('0x2a')][_0x23de('0x19')](_0x23de('0x87'));let _0x5b2fe2=Number['MAX_SAFE_INTEGER'],_0x433d55=Number['MIN_SAFE_INTEGER'],_0x2bfff3=Number[_0x23de('0x18')],_0x265e18=Number[_0x23de('0x5a')];for(const _0x13250c of _0x584475){if(_0x23de('0x84')==_0x13250c['root'][_0x23de('0x6a')])continue;const {row:_0x999de7,column:_0x2087ee}=_0x28c56a['getCellLocation'](_0x13250c),_0x479c64=_0x13250c[_0x23de('0x4e')]('rowspan')?_0x13250c[_0x23de('0x2d')](_0x23de('0x1c'))-0x1:0x0,_0x3f2588=_0x13250c['hasAttribute']('colspan')?_0x13250c[_0x23de('0x2d')](_0x23de('0x7'))-0x1:0x0;_0x5b2fe2=_0x999de7<_0x5b2fe2?_0x999de7:_0x5b2fe2,_0x433d55=_0x999de7+_0x479c64>_0x433d55?_0x999de7+_0x479c64:_0x433d55,_0x2bfff3=_0x2087ee<_0x2bfff3?_0x2087ee:_0x2bfff3,_0x265e18=_0x2087ee+_0x3f2588>_0x265e18?_0x2087ee+_0x3f2588:_0x265e18;}return{'minRow':_0x5b2fe2,'maxRow':_0x433d55,'minColumn':_0x2bfff3,'maxColumn':_0x265e18};}[_0x23de('0x14')](){const _0x59fce6=this[_0x23de('0x73')],_0x3bd60d=_0x59fce6[_0x23de('0x2a')]['get'](_0x23de('0x26')),_0x290c7f=_0x59fce6[_0x23de('0x2a')][_0x23de('0x19')]('TableUtils');_0x59fce6[_0x23de('0x11')][_0x23de('0x5d')]['on'](_0x23de('0x70'),()=>{const _0x47af3a=Array[_0x23de('0x52')](_0x59fce6['model'][_0x23de('0x5d')][_0x23de('0x24')][_0x23de('0x12')]());for(const {name:_0x50e472,data:_0x52ff05}of _0x47af3a){const {group:_0x17041a,id:_0x4b4fba,subType:_0x5a33c9}=_0x3bd60d[_0x23de('0x22')](_0x50e472);if('suggestion'!=_0x17041a)continue;if(null!=_0x52ff05[_0x23de('0x10')])continue;const _0x1ed512=_0x3bd60d[_0x23de('0x54')](_0x4b4fba);this['_tablePostFixingSubtypes'][_0x23de('0x85')](_0x5a33c9)&&this[_0x23de('0x0')][_0x23de('0x20')](_0x1ed512);}},{'priority':_0x23de('0x13')});const _0x57f7fc=(_0x5acfbd,_0x1c8dcf)=>{let _0x334701=!0x1;const _0x276da2=_0x1c8dcf[_0x23de('0x4f')](_0x5acfbd),_0x2a2282=_0x5acfbd[_0x23de('0x75')](_0x23de('0x6')),_0x38bd87=_0x290c7f[_0x23de('0x43')](_0x5acfbd);for(const _0x7c80a of this[_0x23de('0x0')]){const _0x6eaaab=_0x7c80a[_0x23de('0x68')],_0x3d2a0e=_0x6eaaab['startsWith'](_0x23de('0x4c')),_0x11f1c3=_0x6eaaab[_0x23de('0x86')](_0x3d2a0e?0xa:0x5),_0xe84cc0=_0x11f1c3[_0x23de('0x65')](),_0x5d71fe=_0xe84cc0['substr'](0x0,0x3)+_0x23de('0x15'),_0x8f2bd2=_0x23de('0x2')+_0x11f1c3,_0x10c339=_0x23de('0x32')+_0x11f1c3;if(!_0x7c80a['isInContent'])continue;if(_0x2a2282!=_0x7c80a[_0x23de('0xd')]()[_0x23de('0x5c')][_0x23de('0x75')](_0x23de('0x6')))continue;if(_0x7c80a[_0x23de('0x6c')](_0x276da2))continue;const _0x2ed9f1=_0x5acfbd[_0x23de('0x4e')](_0x5d71fe)?_0x5acfbd[_0x23de('0x2d')](_0x5d71fe)-0x1:0x0,_0x5ca9ce=this[_0x23de('0x1e')](_0x7c80a),_0x4e7360=_0x5ca9ce[_0x8f2bd2],_0x3f1b4a=_0x5ca9ce[_0x10c339];_0x4e7360<=_0x38bd87[_0xe84cc0]&&_0x38bd87[_0xe84cc0]+_0x2ed9f1<=_0x3f1b4a&&(_0x7c80a[_0x23de('0x40')](_0x276da2),_0x334701=!0x0);}return _0x334701;};_0x59fce6[_0x23de('0x11')][_0x23de('0x5d')][_0x23de('0x35')](_0x5c0a81=>{let _0x9bba10=!0x1;for(const _0x5b23b8 of _0x59fce6[_0x23de('0x11')]['document'][_0x23de('0x24')][_0x23de('0x7a')]())if(_0x23de('0x23')==_0x5b23b8[_0x23de('0x17')]){if(_0x23de('0x61')==_0x5b23b8[_0x23de('0x77')])for(const _0x545cee of _0x5b23b8[_0x23de('0x59')][_0x23de('0xf')]['getChildren']())_0x9bba10=_0x9bba10||_0x57f7fc(_0x545cee,_0x5c0a81);else _0x23de('0x42')==_0x5b23b8['name']&&(_0x9bba10=_0x9bba10||_0x57f7fc(_0x5b23b8[_0x23de('0x59')]['nodeAfter'],_0x5c0a81));}return _0x9bba10;});}[_0x23de('0x1e')](_0x1858ab){return this['_getCoordsForCells'](_0x1858ab[_0x23de('0x69')]()[_0x23de('0x7c')](_0x91ef84=>_0x91ef84[_0x23de('0x5c')]['nodeAfter']));}}function se(_0x3ffbe9){return Array[_0x23de('0x52')](new Set(_0x3ffbe9)[_0x23de('0xc')]());}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * @module track-changes/integrations/tablecaption
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import TrackChangesTable from './table';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
7
8
  */
@@ -9,7 +10,7 @@ export default class TrackChangesTableCaption extends Plugin {
9
10
  /**
10
11
  * @inheritDoc
11
12
  */
12
- static get requires(): PluginDependencies;
13
+ static get requires(): readonly [typeof TrackChangesTable];
13
14
  /**
14
15
  * @inheritDoc
15
16
  */