@ckeditor/ckeditor5-track-changes 35.0.1 → 35.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 (62) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/tt.js +1 -0
  3. package/build/translations/ur.js +1 -0
  4. package/lang/translations/tt.po +379 -0
  5. package/lang/translations/ur.po +397 -0
  6. package/package.json +4 -4
  7. package/src/commands/acceptallsuggestionscommand.js +1 -1
  8. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  9. package/src/commands/acceptsuggestioncommand.js +1 -1
  10. package/src/commands/discardallsuggestionscommand.js +1 -1
  11. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  12. package/src/commands/discardsuggestioncommand.js +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/integrations/alignment.js +1 -1
  15. package/src/integrations/basicstyles.js +1 -1
  16. package/src/integrations/blockquote.js +1 -1
  17. package/src/integrations/ckbox.js +1 -1
  18. package/src/integrations/codeblock.js +1 -1
  19. package/src/integrations/comments.js +1 -1
  20. package/src/integrations/deletecommand.js +1 -1
  21. package/src/integrations/entercommand.js +1 -1
  22. package/src/integrations/font.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/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/mediaembed.js +1 -1
  33. package/src/integrations/mention.js +1 -1
  34. package/src/integrations/pagebreak.js +1 -1
  35. package/src/integrations/paragraph.js +1 -1
  36. package/src/integrations/removeformat.js +1 -1
  37. package/src/integrations/restrictededitingmode.js +1 -1
  38. package/src/integrations/shiftentercommand.js +1 -1
  39. package/src/integrations/standardeditingmode.js +1 -1
  40. package/src/integrations/style.js +1 -1
  41. package/src/integrations/table.js +1 -1
  42. package/src/integrations/tableclipboard.js +1 -1
  43. package/src/integrations/tableheadings.js +1 -1
  44. package/src/integrations/tablemergesplit.js +1 -1
  45. package/src/integrations/title.js +1 -1
  46. package/src/integrations/undo.js +1 -1
  47. package/src/integrations/utils.js +1 -1
  48. package/src/suggestion.js +1 -1
  49. package/src/suggestiondescriptionfactory.js +1 -1
  50. package/src/trackchanges.js +1 -1
  51. package/src/trackchangesdata.js +1 -1
  52. package/src/trackchangesediting.js +1 -1
  53. package/src/trackchangesui.js +1 -1
  54. package/src/ui/suggestioncontroller.js +1 -1
  55. package/src/ui/view/basesuggestionthreadview.js +1 -1
  56. package/src/ui/view/suggestionthreadview.js +1 -1
  57. package/src/utils/common-translations.js +1 -1
  58. package/src/utils/getrangesofblockgroups.js +1 -1
  59. package/src/utils/getselectedsuggestions.js +1 -1
  60. package/src/utils/hashobject.js +1 -1
  61. package/src/utils/normalizedescription.js +1 -1
  62. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e09=['getSuggestion','findAncestor','commandParams','model','cell','getRowIndexes','toViewElement','first','selection','addMarker:suggestion','change','stop','item','ck-suggestion-marker-','createPositionAfter','index','formatBlock','writer','FORMAT_REGULAR_COLUMN','last','options','_suggestionFactory','parent','createTableWalker','removeClass','has','ck-suggestion-marker--active','getChild','removeMarker:suggestion','headingColumns','TrackChangesEditing','_descriptionFactory','createPositionBefore','mapper','editor','plugins','childCount','markerRange','locale','getColumnIndexes','getSelectionAffectedTableCells','consume','end','get','editing','removeAttribute','setTableRowHeader','unbindElementFromMarkerName','bindElementToMarker','table','forceValue','getCellLocation','TableUtils','requires','enableCommand','_splitMarkerName','markerName','name','setAttribute','from','markBlockFormat','commandName','data','includes','document','downcastDispatcher','headingRows','isBefore','createRange','nodeBefore','consumable','highest','data-suggestion','markerNameToElements','getAttribute','format','registerCustomCallback','activeMarkers','FORMAT_HEADER_ROW','addClass','commands','accept','value','setTableColumnHeader'];(function(_0x2bcc59,_0x2e09ff){const _0x44b589=function(_0x3aa868){while(--_0x3aa868){_0x2bcc59['push'](_0x2bcc59['shift']());}};_0x44b589(++_0x2e09ff);}(_0x2e09,0x11c));const _0x44b5=function(_0x2bcc59,_0x2e09ff){_0x2bcc59=_0x2bcc59-0x0;let _0x44b589=_0x2e09[_0x2bcc59];return _0x44b589;};import{Plugin as _0x119690}from'ckeditor5/src/core';import _0x423e16 from'./table';import{getTranslation as _0x82bc40}from'../utils/common-translations';export default class gt extends _0x119690{static get[_0x44b5('0x15')](){return[_0x423e16];}['afterInit'](){const _0x411f41=this[_0x44b5('0x2')];if(!_0x411f41[_0x44b5('0x3')][_0x44b5('0x4d')]('TableEditing'))return;const _0x361b81=_0x411f41[_0x44b5('0x6')],_0x2dc58f=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x52')),_0x184648=_0x411f41['plugins'][_0x44b5('0xb')](_0x44b5('0x14')),_0x4bf085=_0x411f41['plugins'][_0x44b5('0xb')](_0x423e16);function _0xbac303({showActiveMarker:_0x7e3fc1=!0x0,setDataAttribute:_0x33c97b=!0x0}={}){return(_0x423401,_0x2f028c,_0x51722d)=>{const {type:_0x2d44b8,id:_0x31e666}=_0x2dc58f[_0x44b5('0x17')](_0x2f028c[_0x44b5('0x18')]),_0x4099e6=_0x2dc58f[_0x44b5('0x34')](_0x31e666);if(!_0x4099e6[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x4099e6[_0x44b5('0x1e')][_0x44b5('0x1d')])return;if(_0x2f028c[_0x44b5('0x40')])return void _0x423401[_0x44b5('0x3f')]();if(!_0x51722d[_0x44b5('0x26')][_0x44b5('0x9')](_0x2f028c[_0x44b5('0x5')],_0x423401[_0x44b5('0x19')]))return;const _0x29c024=_0x2f028c[_0x44b5('0x5')]['start']['nodeAfter'],_0xdca943=_0x2f028c[_0x44b5('0x5')][_0x44b5('0xa')][_0x44b5('0x25')],_0x7299a3=_0x29c024[_0x44b5('0x4a')][_0x44b5('0x4a')],{column:_0x30862a}=_0x184648[_0x44b5('0x13')](_0x29c024),{column:_0x8f5291}=_0x184648['getCellLocation'](_0xdca943);for(let _0x720ac6=_0x30862a;_0x720ac6<=_0x8f5291;_0x720ac6++){const _0x82b9a7=_0x184648[_0x44b5('0x4b')](_0x7299a3,{'column':_0x720ac6,'includeAllSlots':!0x1});for(const _0x3bfe80 of _0x82b9a7){const _0x3247ab=_0x3bfe80[_0x44b5('0x38')],_0x25ad75=_0x51722d[_0x44b5('0x1')][_0x44b5('0x3a')](_0x3247ab);_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')](_0x44b5('0x41')+_0x2d44b8,_0x25ad75),_0x33c97b&&_0x51722d['writer'][_0x44b5('0x1a')]('data-suggestion',_0x31e666,_0x25ad75),_0x51722d[_0x44b5('0x1')][_0x44b5('0x10')](_0x25ad75,_0x2f028c[_0x44b5('0x18')]),_0x7e3fc1&&(_0x2dc58f[_0x44b5('0x2d')][_0x44b5('0x1f')](_0x2f028c[_0x44b5('0x18')])?_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')]('ck-suggestion-marker--active',_0x25ad75):_0x51722d[_0x44b5('0x45')][_0x44b5('0x4c')](_0x44b5('0x4e'),_0x25ad75));}}};}_0x2dc58f[_0x44b5('0x16')](_0x44b5('0xe'),(_0x3c9298,_0x59817c)=>{const _0x90eb84=_0x184648['getSelectionAffectedTableCells'](_0x411f41['model'][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39078f=_0x184648[_0x44b5('0x39')](_0x90eb84),_0x2a952a=_0x90eb84[0x0][_0x44b5('0x35')](_0x44b5('0x11')),_0x1ec327=_0x2a952a[_0x44b5('0x2a')](_0x44b5('0x22'))||0x0,_0x531f21=_0x59817c&&null!==_0x59817c['forceValue']?_0x59817c[_0x44b5('0x12')]:!_0x411f41['commands']['get']('setTableRowHeader')[_0x44b5('0x32')],_0x58d654=_0x531f21?_0x39078f[_0x44b5('0x47')]:_0x39078f[_0x44b5('0x3b')],_0x3b4c60=_0x2a952a[_0x44b5('0x4f')](_0x58d654);let _0x560ff1;if(_0x531f21){const _0x4f431a=_0x2a952a[_0x44b5('0x4f')](_0x1ec327);if(_0x3b4c60['index']<_0x4f431a[_0x44b5('0x43')])return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')]['createPositionBefore'](_0x4f431a[_0x44b5('0x4f')](0x0)),_0x411f41['model'][_0x44b5('0x42')](_0x3b4c60[_0x44b5('0x4f')](_0x3b4c60['childCount']-0x1)));}else{const _0x2b6c53=_0x2a952a[_0x44b5('0x4f')](_0x1ec327-0x1);if(!_0x2b6c53)return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x3b4c60[_0x44b5('0x4f')](0x0)),_0x411f41[_0x44b5('0x37')]['createPositionAfter'](_0x2b6c53[_0x44b5('0x4f')](_0x2b6c53[_0x44b5('0x4')]-0x1)));}_0x411f41[_0x44b5('0x37')]['change'](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x560ff1,{'commandName':_0x44b5('0xe'),'commandParams':[{'forceValue':_0x531f21}]},[],'setTableRowHeader');});}),_0x2dc58f[_0x44b5('0x16')](_0x44b5('0x33'),(_0xb39165,_0x1ac9c7)=>{const _0x5f448c=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x14')),_0x1a5834=_0x5f448c[_0x44b5('0x8')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39a333=_0x5f448c[_0x44b5('0x7')](_0x1a5834),_0x2b5d06=_0x1a5834[0x0]['findAncestor'](_0x44b5('0x11')),_0x20cba5=_0x2b5d06[_0x44b5('0x2a')](_0x44b5('0x51'))||0x0,_0x595d31=_0x1ac9c7&&null!==_0x1ac9c7['forceValue']?_0x1ac9c7['forceValue']:!_0x411f41[_0x44b5('0x30')][_0x44b5('0xb')](_0x44b5('0x33'))['value'];let _0x319c81;const _0x37e413=_0x2b5d06[_0x44b5('0x4f')](0x0),_0x3df80d=_0x595d31?_0x39a333[_0x44b5('0x47')]:_0x39a333[_0x44b5('0x3b')],_0x2b0dbc=_0x5f448c[_0x44b5('0x4b')](_0x2b5d06,{'startRow':0x0,'column':_0x3df80d,'includeAllSlots':!0x1}),_0x1115f4=Array[_0x44b5('0x1b')](_0x2b0dbc)[0x0][_0x44b5('0x38')];if(_0x595d31){const _0x1f7350=_0x37e413[_0x44b5('0x4f')](_0x20cba5);if(_0x1115f4[_0x44b5('0x23')](_0x1f7350))return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1f7350),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x1115f4));}else{const _0x469aa2=_0x37e413[_0x44b5('0x4f')](_0x20cba5-0x1);if(!_0x469aa2)return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1115f4),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x469aa2));}_0x411f41['model'][_0x44b5('0x3e')](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x319c81,{'commandName':_0x44b5('0x33'),'commandParams':[{'forceValue':_0x595d31}]},[],_0x44b5('0x33'));});}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),_0xbac303(),{'priority':'highest'}),_0x411f41[_0x44b5('0x1e')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),(_0x2fd7d1,_0x4a980e,_0x57ef63)=>{_0x57ef63[_0x44b5('0x48')]['showSuggestionHighlights']&&_0xbac303({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2fd7d1,_0x4a980e,_0x57ef63);},{'priority':_0x44b5('0x27')}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x50'),(_0x1602c6,_0x2743ff,_0x373ada)=>{const {type:_0x1ef61f,id:_0x1e8fb6}=_0x2dc58f[_0x44b5('0x17')](_0x2743ff[_0x44b5('0x18')]),_0x3fe52b=_0x2dc58f[_0x44b5('0x34')](_0x1e8fb6);if(!_0x3fe52b[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x3fe52b[_0x44b5('0x1e')][_0x44b5('0x1d')])return;const _0x408e7f=_0x373ada[_0x44b5('0x1')][_0x44b5('0x29')](_0x2743ff['markerName']);if(_0x408e7f)for(const _0x54efd1 of _0x408e7f)_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker-'+_0x1ef61f,_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker--active',_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0xd')](_0x44b5('0x28'),_0x54efd1),_0x373ada[_0x44b5('0x1')][_0x44b5('0xf')](_0x54efd1,_0x2743ff['markerName']);},{'priority':_0x44b5('0x27')}),_0x2dc58f[_0x44b5('0x53')]['registerDescriptionCallback'](_0x5a9bb4=>{const {data:_0x257f3b}=_0x5a9bb4;if(_0x257f3b){if(_0x44b5('0xe')==_0x257f3b[_0x44b5('0x1d')]){const _0x292e74=_0x257f3b['commandParams'][0x0][_0x44b5('0x12')];return _0x583ba7(_0x82bc40(_0x361b81,_0x292e74?_0x44b5('0x2e'):'FORMAT_REGULAR_ROW'));}if(_0x44b5('0x33')==_0x257f3b[_0x44b5('0x1d')]){const _0x4f91a2=_0x257f3b[_0x44b5('0x36')][0x0]['forceValue'];return _0x583ba7(_0x82bc40(_0x361b81,_0x4f91a2?'FORMAT_HEADER_COLUMN':_0x44b5('0x46')));}}function _0x583ba7(_0x10ee4d){return{'type':_0x44b5('0x2b'),'content':_0x82bc40(_0x361b81,'*Format:*\x20%0',_0x10ee4d)};}});const _0x2a901f=_0x4bf085['_acceptFormatSuggestionCallbackFactory']();_0x2dc58f[_0x44b5('0x49')][_0x44b5('0x2c')](_0x44b5('0x44'),_0x44b5('0xe'),_0x44b5('0x31'),_0x2a901f),_0x2dc58f['_suggestionFactory']['registerCustomCallback'](_0x44b5('0x44'),_0x44b5('0x33'),_0x44b5('0x31'),_0x2a901f);}}
23
+ const _0x28bc=['highest','editor','FORMAT_REGULAR_COLUMN','formatBlock','commandName','format','parent','FORMAT_HEADER_ROW','has','nodeBefore','commandParams','childCount','selection','end','_acceptFormatSuggestionCallbackFactory','headingRows','getCellLocation','_descriptionFactory','change','getSuggestion','value','from','TableUtils','mapper','registerCustomCallback','markerRange','get','consumable','createRange','setTableColumnHeader','addClass','headingColumns','includes','commands','createTableWalker','setTableRowHeader','downcastDispatcher','editing','cell','index','start','model','nodeAfter','removeMarker:suggestion','createPositionAfter','findAncestor','markerName','getChild','enableCommand','document','_splitMarkerName','unbindElementFromMarkerName','stop','item','isBefore','writer','first','markerNameToElements','forceValue','getAttribute','setAttribute','requires','_suggestionFactory','getSelectionAffectedTableCells','name','*Format:*\x20%0','accept','registerDescriptionCallback','data-suggestion','consume','options','addMarker:suggestion','markBlockFormat','plugins','afterInit','last','removeClass','ck-suggestion-marker--active','data','TrackChangesEditing','createPositionBefore','FORMAT_REGULAR_ROW','activeMarkers'];(function(_0x994e71,_0x28bc17){const _0x3d9737=function(_0x10de2d){while(--_0x10de2d){_0x994e71['push'](_0x994e71['shift']());}};_0x3d9737(++_0x28bc17);}(_0x28bc,0x8c));const _0x3d97=function(_0x994e71,_0x28bc17){_0x994e71=_0x994e71-0x0;let _0x3d9737=_0x28bc[_0x994e71];return _0x3d9737;};import{Plugin as _0x3bd52a}from'ckeditor5/src/core';import _0x1b19c3 from'./table';import{getTranslation as _0x304afa}from'../utils/common-translations';export default class gt extends _0x3bd52a{static get[_0x3d97('0x4')](){return[_0x1b19c3];}[_0x3d97('0x11')](){const _0x27d848=this[_0x3d97('0x1b')];if(!_0x27d848[_0x3d97('0x10')][_0x3d97('0x22')]('TableEditing'))return;const _0x2f7d8c=_0x27d848['locale'],_0x1ecd52=_0x27d848['plugins'][_0x3d97('0x34')](_0x3d97('0x16')),_0x3fd107=_0x27d848[_0x3d97('0x10')][_0x3d97('0x34')]('TableUtils'),_0x461da7=_0x27d848[_0x3d97('0x10')]['get'](_0x1b19c3);function _0x16d770({showActiveMarker:_0x13a67f=!0x0,setDataAttribute:_0x14300c=!0x0}={}){return(_0x1c4035,_0x378f2c,_0x148425)=>{const {type:_0x4ac24e,id:_0xb1d08f}=_0x1ecd52[_0x3d97('0x4c')](_0x378f2c[_0x3d97('0x48')]),_0x55c511=_0x1ecd52[_0x3d97('0x2d')](_0xb1d08f);if(!_0x55c511[_0x3d97('0x15')]||_0x3d97('0x37')!=_0x55c511[_0x3d97('0x15')]['commandName'])return;if(_0x378f2c[_0x3d97('0x4f')])return void _0x1c4035[_0x3d97('0x4e')]();if(!_0x148425[_0x3d97('0x35')][_0x3d97('0xc')](_0x378f2c[_0x3d97('0x33')],_0x1c4035[_0x3d97('0x7')]))return;const _0x8bb0a9=_0x378f2c[_0x3d97('0x33')][_0x3d97('0x42')][_0x3d97('0x44')],_0x2e1fb3=_0x378f2c[_0x3d97('0x33')][_0x3d97('0x27')][_0x3d97('0x23')],_0x46fa5d=_0x8bb0a9['parent'][_0x3d97('0x20')],{column:_0x3a3623}=_0x3fd107[_0x3d97('0x2a')](_0x8bb0a9),{column:_0x29c370}=_0x3fd107[_0x3d97('0x2a')](_0x2e1fb3);for(let _0x530adc=_0x3a3623;_0x530adc<=_0x29c370;_0x530adc++){const _0x2a9cb3=_0x3fd107[_0x3d97('0x3c')](_0x46fa5d,{'column':_0x530adc,'includeAllSlots':!0x1});for(const _0x5713ad of _0x2a9cb3){const _0x3a3b5e=_0x5713ad[_0x3d97('0x40')],_0x2ddabb=_0x148425[_0x3d97('0x31')]['toViewElement'](_0x3a3b5e);_0x148425[_0x3d97('0x51')][_0x3d97('0x38')]('ck-suggestion-marker-'+_0x4ac24e,_0x2ddabb),_0x14300c&&_0x148425['writer'][_0x3d97('0x3')](_0x3d97('0xb'),_0xb1d08f,_0x2ddabb),_0x148425[_0x3d97('0x31')]['bindElementToMarker'](_0x2ddabb,_0x378f2c[_0x3d97('0x48')]),_0x13a67f&&(_0x1ecd52[_0x3d97('0x19')][_0x3d97('0x3a')](_0x378f2c[_0x3d97('0x48')])?_0x148425['writer'][_0x3d97('0x38')](_0x3d97('0x14'),_0x2ddabb):_0x148425[_0x3d97('0x51')][_0x3d97('0x13')](_0x3d97('0x14'),_0x2ddabb));}}};}_0x1ecd52[_0x3d97('0x4a')](_0x3d97('0x3d'),(_0xd21bee,_0x5dc60a)=>{const _0x2a5995=_0x3fd107[_0x3d97('0x6')](_0x27d848[_0x3d97('0x43')][_0x3d97('0x4b')][_0x3d97('0x26')]),_0x58c088=_0x3fd107['getRowIndexes'](_0x2a5995),_0x45b056=_0x2a5995[0x0]['findAncestor']('table'),_0x492877=_0x45b056[_0x3d97('0x2')](_0x3d97('0x29'))||0x0,_0x370740=_0x5dc60a&&null!==_0x5dc60a[_0x3d97('0x1')]?_0x5dc60a[_0x3d97('0x1')]:!_0x27d848[_0x3d97('0x3b')]['get']('setTableRowHeader')[_0x3d97('0x2e')],_0x5696dd=_0x370740?_0x58c088[_0x3d97('0x12')]:_0x58c088[_0x3d97('0x52')],_0x5201e7=_0x45b056['getChild'](_0x5696dd);let _0x55cd2d;if(_0x370740){const _0x57f0b1=_0x45b056['getChild'](_0x492877);if(_0x5201e7[_0x3d97('0x41')]<_0x57f0b1[_0x3d97('0x41')])return;_0x55cd2d=_0x27d848[_0x3d97('0x43')]['createRange'](_0x27d848[_0x3d97('0x43')]['createPositionBefore'](_0x57f0b1['getChild'](0x0)),_0x27d848['model']['createPositionAfter'](_0x5201e7[_0x3d97('0x49')](_0x5201e7[_0x3d97('0x25')]-0x1)));}else{const _0xfbda79=_0x45b056[_0x3d97('0x49')](_0x492877-0x1);if(!_0xfbda79)return;_0x55cd2d=_0x27d848[_0x3d97('0x43')]['createRange'](_0x27d848[_0x3d97('0x43')][_0x3d97('0x17')](_0x5201e7[_0x3d97('0x49')](0x0)),_0x27d848[_0x3d97('0x43')][_0x3d97('0x46')](_0xfbda79[_0x3d97('0x49')](_0xfbda79[_0x3d97('0x25')]-0x1)));}_0x27d848['model'][_0x3d97('0x2c')](()=>{_0x1ecd52['markBlockFormat'](_0x55cd2d,{'commandName':_0x3d97('0x3d'),'commandParams':[{'forceValue':_0x370740}]},[],_0x3d97('0x3d'));});}),_0x1ecd52[_0x3d97('0x4a')](_0x3d97('0x37'),(_0x46fa66,_0x19d63d)=>{const _0x1fa46b=_0x27d848[_0x3d97('0x10')][_0x3d97('0x34')](_0x3d97('0x30')),_0x38fdfa=_0x1fa46b[_0x3d97('0x6')](_0x27d848[_0x3d97('0x43')][_0x3d97('0x4b')][_0x3d97('0x26')]),_0x14c40a=_0x1fa46b['getColumnIndexes'](_0x38fdfa),_0x4cd238=_0x38fdfa[0x0][_0x3d97('0x47')]('table'),_0x1a0734=_0x4cd238[_0x3d97('0x2')](_0x3d97('0x39'))||0x0,_0x358b79=_0x19d63d&&null!==_0x19d63d[_0x3d97('0x1')]?_0x19d63d['forceValue']:!_0x27d848[_0x3d97('0x3b')][_0x3d97('0x34')](_0x3d97('0x37'))[_0x3d97('0x2e')];let _0x28f3c3;const _0x45298b=_0x4cd238[_0x3d97('0x49')](0x0),_0x282256=_0x358b79?_0x14c40a[_0x3d97('0x12')]:_0x14c40a[_0x3d97('0x52')],_0x5c3585=_0x1fa46b[_0x3d97('0x3c')](_0x4cd238,{'startRow':0x0,'column':_0x282256,'includeAllSlots':!0x1}),_0x523eed=Array[_0x3d97('0x2f')](_0x5c3585)[0x0][_0x3d97('0x40')];if(_0x358b79){const _0x545aa2=_0x45298b['getChild'](_0x1a0734);if(_0x523eed[_0x3d97('0x50')](_0x545aa2))return;_0x28f3c3=_0x27d848['model'][_0x3d97('0x36')](_0x27d848['model'][_0x3d97('0x17')](_0x545aa2),_0x27d848['model'][_0x3d97('0x46')](_0x523eed));}else{const _0x44622c=_0x45298b[_0x3d97('0x49')](_0x1a0734-0x1);if(!_0x44622c)return;_0x28f3c3=_0x27d848[_0x3d97('0x43')]['createRange'](_0x27d848[_0x3d97('0x43')][_0x3d97('0x17')](_0x523eed),_0x27d848[_0x3d97('0x43')]['createPositionAfter'](_0x44622c));}_0x27d848[_0x3d97('0x43')][_0x3d97('0x2c')](()=>{_0x1ecd52[_0x3d97('0xf')](_0x28f3c3,{'commandName':_0x3d97('0x37'),'commandParams':[{'forceValue':_0x358b79}]},[],'setTableColumnHeader');});}),_0x27d848[_0x3d97('0x3f')][_0x3d97('0x3e')]['on'](_0x3d97('0xe'),_0x16d770(),{'priority':_0x3d97('0x1a')}),_0x27d848[_0x3d97('0x15')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x44eebc,_0x1dc460,_0x160d36)=>{_0x160d36[_0x3d97('0xd')]['showSuggestionHighlights']&&_0x16d770({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x44eebc,_0x1dc460,_0x160d36);},{'priority':_0x3d97('0x1a')}),_0x27d848[_0x3d97('0x3f')][_0x3d97('0x3e')]['on'](_0x3d97('0x45'),(_0x32e610,_0x3af235,_0x3a161c)=>{const {type:_0x337c29,id:_0x89bc3a}=_0x1ecd52[_0x3d97('0x4c')](_0x3af235[_0x3d97('0x48')]),_0x4dc7c6=_0x1ecd52[_0x3d97('0x2d')](_0x89bc3a);if(!_0x4dc7c6['data']||_0x3d97('0x37')!=_0x4dc7c6[_0x3d97('0x15')][_0x3d97('0x1e')])return;const _0x1d85d0=_0x3a161c[_0x3d97('0x31')][_0x3d97('0x0')](_0x3af235[_0x3d97('0x48')]);if(_0x1d85d0)for(const _0x59dd0f of _0x1d85d0)_0x3a161c[_0x3d97('0x51')]['removeClass']('ck-suggestion-marker-'+_0x337c29,_0x59dd0f),_0x3a161c['writer'][_0x3d97('0x13')]('ck-suggestion-marker--active',_0x59dd0f),_0x3a161c['writer']['removeAttribute'](_0x3d97('0xb'),_0x59dd0f),_0x3a161c[_0x3d97('0x31')][_0x3d97('0x4d')](_0x59dd0f,_0x3af235[_0x3d97('0x48')]);},{'priority':_0x3d97('0x1a')}),_0x1ecd52[_0x3d97('0x2b')][_0x3d97('0xa')](_0x2310be=>{const {data:_0x2fc67c}=_0x2310be;if(_0x2fc67c){if(_0x3d97('0x3d')==_0x2fc67c[_0x3d97('0x1e')]){const _0x2da92d=_0x2fc67c[_0x3d97('0x24')][0x0][_0x3d97('0x1')];return _0x2e3b1c(_0x304afa(_0x2f7d8c,_0x2da92d?_0x3d97('0x21'):_0x3d97('0x18')));}if(_0x3d97('0x37')==_0x2fc67c[_0x3d97('0x1e')]){const _0x3201f9=_0x2fc67c[_0x3d97('0x24')][0x0][_0x3d97('0x1')];return _0x2e3b1c(_0x304afa(_0x2f7d8c,_0x3201f9?'FORMAT_HEADER_COLUMN':_0x3d97('0x1c')));}}function _0x2e3b1c(_0x54d231){return{'type':_0x3d97('0x1f'),'content':_0x304afa(_0x2f7d8c,_0x3d97('0x8'),_0x54d231)};}});const _0x2618cf=_0x461da7[_0x3d97('0x28')]();_0x1ecd52[_0x3d97('0x5')][_0x3d97('0x32')](_0x3d97('0x1d'),_0x3d97('0x3d'),_0x3d97('0x9'),_0x2618cf),_0x1ecd52['_suggestionFactory'][_0x3d97('0x32')](_0x3d97('0x1d'),_0x3d97('0x37'),_0x3d97('0x9'),_0x2618cf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a1a=['table','_suggestionFactory','TableEditing','registerCustomCallback','size','document','commands','change','isEnabled','_areSelectedCellsMergable','markMultiRangeBlockFormat','get','containsRange','from','_areMergableCells','splitTableCellVertically','setSelection','cell','direction','createTableWalker','splitTableCellHorizontally','registerDescriptionCallback','findAncestor','execute','value','_descriptionFactory','*Split\x20cell:*\x20horizontally','tableCell','TableUtils','enableCommand','filter','_acceptFormatSuggestionCallbackFactory','forceDefaultExecution','selection','length','requires','map','afterInit','has','push','getSuggestions','fromRange','format','horizontally','markBlockFormat','subType','element','_tablePostFixingSubtypes','stop','formatBlock','commandName','type','mergeTableCellDown','plugins','low','refresh','mergeTableCellRight','insertion','add','createRangeOn','getFirstPosition','getSelectionAffectedTableCells','root','_isForcedDefaultExecutionBlock','getCellLocation','mergeTableCellLeft','*Merge\x20cells*','model','$graveyard','TrackChangesEditing','getAncestors','isInContent','editor','trackChanges','find','accept','author','locale','getRanges','mergeTableCells','mergeTableCellUp','highest','*Split\x20cell:*\x20vertically'];(function(_0x4345a1,_0x3a1aec){const _0x401fbe=function(_0x577ed9){while(--_0x577ed9){_0x4345a1['push'](_0x4345a1['shift']());}};_0x401fbe(++_0x3a1aec);}(_0x3a1a,0x17e));const _0x401f=function(_0x4345a1,_0x3a1aec){_0x4345a1=_0x4345a1-0x0;let _0x401fbe=_0x3a1a[_0x4345a1];return _0x401fbe;};import{Plugin as _0x71894c}from'ckeditor5/src/core';import _0x2910cd from'./table';import{LiveRange as _0x2bb5fb}from'ckeditor5/src/engine';import{getTranslation as _0x5a8700}from'../utils/common-translations';export default class ft extends _0x71894c{static get[_0x401f('0x44')](){return[_0x2910cd];}[_0x401f('0x46')](){const _0x4487a9=this[_0x401f('0x16')],_0x3a3255=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')],_0x1aa6e3=_0x4487a9[_0x401f('0x1b')];if(!_0x4487a9[_0x401f('0x3')]['has'](_0x401f('0x23')))return;const _0x152501=_0x4487a9['plugins']['get'](_0x401f('0x13')),_0xa80fb2=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d')),_0x1ed8d4=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x2910cd);_0x1ed8d4[_0x401f('0x50')][_0x401f('0x48')]('mergeTableCells'),_0x152501[_0x401f('0x3e')](_0x401f('0x1d'),()=>{const _0xdf93aa=_0xa80fb2[_0x401f('0xb')](_0x4487a9['model']['document'][_0x401f('0x42')]);_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](()=>{_0x152501[_0x401f('0x2b')](_0xdf93aa,{'commandName':'mergeTableCells','commandParams':[]},[],_0x401f('0x1d'));});}),_0x4487a9['commands'][_0x401f('0x2c')](_0x401f('0x1d'))['on'](_0x401f('0x38'),(_0x265e3b,_0x378895)=>{_0x4487a9[_0x401f('0x27')]['get'](_0x401f('0x17'))[_0x401f('0x39')]&&(_0x378895[_0x401f('0x43')]>0x0&&_0x378895[_0x378895[_0x401f('0x43')]-0x1]&&_0x378895[_0x378895[_0x401f('0x43')]-0x1][_0x401f('0x41')]||_0x152501[_0x401f('0xd')]||this['_areSelectedCellsMergable']()||_0x265e3b[_0x401f('0x51')]());},{'priority':_0x401f('0x1f')});for(const _0x232adb of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')]){const _0x33a3ac=_0x4487a9[_0x401f('0x27')]['get'](_0x232adb);_0x152501[_0x401f('0x3e')](_0x232adb,()=>{const _0x403e1e=_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')][_0x401f('0xa')]()[_0x401f('0x14')]()[_0x401f('0x18')](_0x2fcf89=>_0x2fcf89['is'](_0x401f('0x4f'),_0x401f('0x3c'))),_0x3399c=_0x33a3ac[_0x401f('0x39')];_0x4487a9[_0x401f('0x11')]['change'](()=>{_0x152501[_0x401f('0x2b')]([_0x403e1e,_0x3399c],{'commandName':_0x401f('0x1d'),'commandParams':[]},[],_0x401f('0x1d'));});});}for(const _0x3f51ee of['splitTableCellVertically',_0x401f('0x35')]){const _0x1a4fc2=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x3f51ee);_0x152501[_0x401f('0x3e')](_0x3f51ee,()=>{const _0x5c8a3c=_0xa80fb2[_0x401f('0xb')](_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')])[0x0],_0x291cb3=_0x5c8a3c[_0x401f('0x37')](_0x401f('0x21')),{column:_0x2adffb,row:_0x1f9b2b}=_0xa80fb2[_0x401f('0xe')](_0x5c8a3c);let _0x19a6d0=[];if(_0x401f('0x4c')==_0x1a4fc2[_0x401f('0x33')]){const _0x67abe0=_0xa80fb2[_0x401f('0x34')](_0x291cb3,{'startRow':_0x1f9b2b,'endRow':_0x1f9b2b,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x67abe0)[_0x401f('0x45')](_0x15a04b=>_0x15a04b[_0x401f('0x32')]);}else{const _0x43f9d3=_0xa80fb2['createTableWalker'](_0x291cb3,{'column':_0x2adffb,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x43f9d3)['map'](_0x357b6e=>_0x357b6e[_0x401f('0x32')]);}_0x4487a9['model'][_0x401f('0x28')](_0x2845b9=>{_0x152501[_0x401f('0x4d')](_0x2845b9[_0x401f('0x9')](_0x5c8a3c),{'commandName':_0x3f51ee,'commandParams':[]},_0x19a6d0,_0x3f51ee);});});}_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x478538=>{const {data:_0x6a2d69}=_0x478538;if(_0x6a2d69)return _0x401f('0x1d')==_0x6a2d69[_0x401f('0x0')]?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x10'))}:void 0x0;}),_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x1590f7=>{const {data:_0x77c516}=_0x1590f7;if(_0x77c516)return _0x401f('0x30')==_0x77c516['commandName']?{'type':_0x401f('0x4b'),'content':_0x5a8700(_0x1aa6e3,_0x401f('0x20'))}:_0x401f('0x35')==_0x77c516['commandName']?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x3b'))}:void 0x0;});const _0x4a01de=_0x1ed8d4[_0x401f('0x40')]();for(const _0x5a96ee of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')])_0x152501[_0x401f('0x22')][_0x401f('0x24')](_0x401f('0x52'),_0x5a96ee,_0x401f('0x19'),_0x4a01de);for(const _0x3c6388 of[_0x401f('0x30'),_0x401f('0x35')])_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x3c6388,'accept',_0x4a01de);_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x401f('0x1d'),'accept',_0x5563f4=>{_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](_0x12edbc=>{const _0x5cf67f=Array['from'](_0x3a3255['getRanges']())['map'](_0x1690ef=>_0x2bb5fb[_0x401f('0x4a')](_0x1690ef));_0x12edbc[_0x401f('0x31')](_0x5563f4),_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d'))[_0x401f('0x5')](),_0x4487a9['execute'](_0x401f('0x1d'),{'forceDefaultExecution':!0x0});const _0x5607ac=_0x5cf67f[_0x401f('0x3f')](_0x5b0f23=>_0x401f('0x12')!=_0x5b0f23[_0x401f('0xc')]['rootName']);_0x5607ac['length']>0x0&&_0x12edbc[_0x401f('0x31')](_0x5607ac);for(const _0x341a51 of _0x5cf67f)_0x341a51['detach']();});});for(const _0x916ac5 of['mergeTableCellUp',_0x401f('0x2'),_0x401f('0xf'),'mergeTableCellRight']){const _0x48a592=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x916ac5);_0x48a592['on']('set:isEnabled',(_0x1f7e3b,_0x3b9d9d,_0x131c68)=>{if(_0x131c68){const _0x2419f6=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')]['getFirstPosition']()[_0x401f('0x14')]()[_0x401f('0x18')](_0x1f5292=>_0x1f5292['is']('element',_0x401f('0x3c')));this['_areMergableCells'](_0x48a592[_0x401f('0x39')],_0x2419f6)||(_0x1f7e3b['return']=!0x1,_0x1f7e3b[_0x401f('0x51')]());}},{'priority':_0x401f('0x4')});}}[_0x401f('0x2a')](){const _0x2774bd=this['editor'][_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d')),_0x666873=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d'));if(!_0x2774bd[_0x401f('0x29')])return!0x1;const _0x540467=_0x666873[_0x401f('0xb')](this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x26')]['selection']);for(const _0x487156 of _0x540467)for(const _0x496b79 of _0x540467)if(_0x487156!=_0x496b79&&!this[_0x401f('0x2f')](_0x487156,_0x496b79))return!0x1;return!0x0;}[_0x401f('0x2f')](_0xfb4459,_0x116145){const _0x52150f=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x13')),_0x33120f=this[_0x401f('0x16')][_0x401f('0x11')]['createRangeOn'](_0xfb4459),_0x297cb1=this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x9')](_0x116145),_0x234c67=new Set(),_0x572b19=new Set();for(const _0x42d629 of _0x52150f[_0x401f('0x49')]())if((_0x401f('0x7')==_0x42d629[_0x401f('0x1')]||'deletion'==_0x42d629[_0x401f('0x1')]||_0x401f('0x1d')==_0x42d629[_0x401f('0x4e')])&&_0x42d629[_0x401f('0x15')])for(const _0x333452 of _0x42d629[_0x401f('0x1c')]())_0x333452[_0x401f('0x2d')](_0x33120f,!0x0)&&_0x234c67[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']),_0x333452[_0x401f('0x2d')](_0x297cb1,!0x0)&&_0x572b19[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']);if(_0x234c67[_0x401f('0x25')]!=_0x572b19[_0x401f('0x25')])return!0x1;for(const _0x49ff28 of _0x234c67)if(!_0x572b19[_0x401f('0x47')](_0x49ff28))return!0x1;return!0x0;}}
23
+ const _0x49c2=['cell','find','getSuggestions','stop','table','createTableWalker','selection','getAncestors','add','registerDescriptionCallback','element','getFirstPosition','_areSelectedCellsMergable','mergeTableCells','size','model','insertion','mergeTableCellRight','_suggestionFactory','return','root','requires','_acceptFormatSuggestionCallbackFactory','_areMergableCells','trackChanges','length','forceDefaultExecution','commandName','fromRange','document','map','has','author','direction','set:isEnabled','highest','push','detach','mergeTableCellUp','_tablePostFixingSubtypes','filter','editor','mergeTableCellDown','get','type','_isForcedDefaultExecutionBlock','format','*Split\x20cell:*\x20vertically','*Merge\x20cells*','TableUtils','*Split\x20cell:*\x20horizontally','subType','refresh','registerCustomCallback','accept','getRanges','_descriptionFactory','afterInit','rootName','createRangeOn','splitTableCellHorizontally','execute','splitTableCellVertically','TrackChangesEditing','value','mergeTableCellLeft','getSelectionAffectedTableCells','markMultiRangeBlockFormat','formatBlock','locale','plugins','change','commands','from','findAncestor','tableCell','enableCommand'];(function(_0x3db3a0,_0x49c2ff){const _0x4f68b5=function(_0x36a600){while(--_0x36a600){_0x3db3a0['push'](_0x3db3a0['shift']());}};_0x4f68b5(++_0x49c2ff);}(_0x49c2,0x167));const _0x4f68=function(_0x3db3a0,_0x49c2ff){_0x3db3a0=_0x3db3a0-0x0;let _0x4f68b5=_0x49c2[_0x3db3a0];return _0x4f68b5;};import{Plugin as _0x4cfaa1}from'ckeditor5/src/core';import _0x561996 from'./table';import{LiveRange as _0x2b71c8}from'ckeditor5/src/engine';import{getTranslation as _0xa7e3e5}from'../utils/common-translations';export default class ft extends _0x4cfaa1{static get[_0x4f68('0x2f')](){return[_0x561996];}[_0x4f68('0x6')](){const _0xc80f3c=this[_0x4f68('0x43')],_0x65bccf=_0xc80f3c['model'][_0x4f68('0x37')][_0x4f68('0x20')],_0xc762d3=_0xc80f3c[_0x4f68('0x12')];if(!_0xc80f3c[_0x4f68('0x13')]['has']('TableEditing'))return;const _0x3ea4b4=_0xc80f3c[_0x4f68('0x13')][_0x4f68('0x45')](_0x4f68('0xc')),_0x6dd008=_0xc80f3c[_0x4f68('0x13')][_0x4f68('0x45')](_0x4f68('0x4b')),_0x4c8293=_0xc80f3c[_0x4f68('0x13')][_0x4f68('0x45')](_0x561996);_0x4c8293[_0x4f68('0x41')][_0x4f68('0x3e')]('mergeTableCells'),_0x3ea4b4[_0x4f68('0x19')](_0x4f68('0x27'),()=>{const _0x3ddf52=_0x6dd008['getSelectionAffectedTableCells'](_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x37')][_0x4f68('0x20')]);_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x14')](()=>{_0x3ea4b4[_0x4f68('0x10')](_0x3ddf52,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4f68('0x27'));});}),_0xc80f3c['commands']['get'](_0x4f68('0x27'))['on']('execute',(_0x3e9828,_0x2402bb)=>{_0xc80f3c['commands'][_0x4f68('0x45')](_0x4f68('0x32'))[_0x4f68('0xd')]&&(_0x2402bb['length']>0x0&&_0x2402bb[_0x2402bb[_0x4f68('0x33')]-0x1]&&_0x2402bb[_0x2402bb[_0x4f68('0x33')]-0x1][_0x4f68('0x34')]||_0x3ea4b4[_0x4f68('0x47')]||this[_0x4f68('0x26')]()||_0x3e9828['stop']());},{'priority':_0x4f68('0x3d')});for(const _0x57f11c of[_0x4f68('0x40'),_0x4f68('0x2b'),'mergeTableCellDown',_0x4f68('0xe')]){const _0x4e7202=_0xc80f3c[_0x4f68('0x15')][_0x4f68('0x45')](_0x57f11c);_0x3ea4b4[_0x4f68('0x19')](_0x57f11c,()=>{const _0x35fe51=_0xc80f3c['model'][_0x4f68('0x37')][_0x4f68('0x20')][_0x4f68('0x25')]()[_0x4f68('0x21')]()[_0x4f68('0x1b')](_0xd90825=>_0xd90825['is'](_0x4f68('0x24'),_0x4f68('0x18'))),_0x8a8bb5=_0x4e7202[_0x4f68('0xd')];_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x14')](()=>{_0x3ea4b4['markMultiRangeBlockFormat']([_0x35fe51,_0x8a8bb5],{'commandName':_0x4f68('0x27'),'commandParams':[]},[],_0x4f68('0x27'));});});}for(const _0x489fbe of[_0x4f68('0xb'),'splitTableCellHorizontally']){const _0x599b4c=_0xc80f3c[_0x4f68('0x15')]['get'](_0x489fbe);_0x3ea4b4[_0x4f68('0x19')](_0x489fbe,()=>{const _0x326106=_0x6dd008[_0x4f68('0xf')](_0xc80f3c['model'][_0x4f68('0x37')][_0x4f68('0x20')])[0x0],_0xe01268=_0x326106[_0x4f68('0x17')](_0x4f68('0x1e')),{column:_0x5087f9,row:_0x48a5d1}=_0x6dd008['getCellLocation'](_0x326106);let _0x19ae48=[];if('horizontally'==_0x599b4c[_0x4f68('0x3b')]){const _0x26ff64=_0x6dd008[_0x4f68('0x1f')](_0xe01268,{'startRow':_0x48a5d1,'endRow':_0x48a5d1,'includeAllSlots':!0x0});_0x19ae48=Array[_0x4f68('0x16')](_0x26ff64)['map'](_0x1b2ef1=>_0x1b2ef1[_0x4f68('0x1a')]);}else{const _0x8fda71=_0x6dd008[_0x4f68('0x1f')](_0xe01268,{'column':_0x5087f9,'includeAllSlots':!0x0});_0x19ae48=Array[_0x4f68('0x16')](_0x8fda71)[_0x4f68('0x38')](_0x433225=>_0x433225[_0x4f68('0x1a')]);}_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x14')](_0x4ce7d6=>{_0x3ea4b4['markBlockFormat'](_0x4ce7d6[_0x4f68('0x8')](_0x326106),{'commandName':_0x489fbe,'commandParams':[]},_0x19ae48,_0x489fbe);});});}_0x3ea4b4['_descriptionFactory'][_0x4f68('0x23')](_0x3975a4=>{const {data:_0x339e84}=_0x3975a4;if(_0x339e84)return _0x4f68('0x27')==_0x339e84[_0x4f68('0x35')]?{'type':_0x4f68('0x48'),'content':_0xa7e3e5(_0xc762d3,_0x4f68('0x4a'))}:void 0x0;}),_0x3ea4b4[_0x4f68('0x5')][_0x4f68('0x23')](_0x5ec265=>{const {data:_0x17c3bd}=_0x5ec265;if(_0x17c3bd)return _0x4f68('0xb')==_0x17c3bd[_0x4f68('0x35')]?{'type':_0x4f68('0x48'),'content':_0xa7e3e5(_0xc762d3,_0x4f68('0x49'))}:_0x4f68('0x9')==_0x17c3bd[_0x4f68('0x35')]?{'type':_0x4f68('0x48'),'content':_0xa7e3e5(_0xc762d3,_0x4f68('0x4c'))}:void 0x0;});const _0x40adb8=_0x4c8293[_0x4f68('0x30')]();for(const _0x345e1c of[_0x4f68('0x40'),_0x4f68('0x2b'),_0x4f68('0x44'),'mergeTableCellLeft'])_0x3ea4b4['_suggestionFactory'][_0x4f68('0x2')](_0x4f68('0x11'),_0x345e1c,_0x4f68('0x3'),_0x40adb8);for(const _0x18b9df of[_0x4f68('0xb'),_0x4f68('0x9')])_0x3ea4b4[_0x4f68('0x2c')][_0x4f68('0x2')](_0x4f68('0x11'),_0x18b9df,_0x4f68('0x3'),_0x40adb8);_0x3ea4b4['_suggestionFactory'][_0x4f68('0x2')]('formatBlock',_0x4f68('0x27'),'accept',_0x238080=>{_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x14')](_0x1b177f=>{const _0xd048c1=Array[_0x4f68('0x16')](_0x65bccf[_0x4f68('0x4')]())[_0x4f68('0x38')](_0x39a3fa=>_0x2b71c8[_0x4f68('0x36')](_0x39a3fa));_0x1b177f['setSelection'](_0x238080),_0xc80f3c[_0x4f68('0x15')][_0x4f68('0x45')](_0x4f68('0x27'))[_0x4f68('0x1')](),_0xc80f3c[_0x4f68('0xa')](_0x4f68('0x27'),{'forceDefaultExecution':!0x0});const _0x51b3a6=_0xd048c1[_0x4f68('0x42')](_0x92fbbf=>'$graveyard'!=_0x92fbbf[_0x4f68('0x2e')][_0x4f68('0x7')]);_0x51b3a6[_0x4f68('0x33')]>0x0&&_0x1b177f['setSelection'](_0x51b3a6);for(const _0x16376b of _0xd048c1)_0x16376b[_0x4f68('0x3f')]();});});for(const _0x1352a5 of[_0x4f68('0x40'),'mergeTableCellDown',_0x4f68('0xe'),_0x4f68('0x2b')]){const _0x93eba4=_0xc80f3c[_0x4f68('0x15')][_0x4f68('0x45')](_0x1352a5);_0x93eba4['on'](_0x4f68('0x3c'),(_0x19af19,_0x9a2356,_0xe991ea)=>{if(_0xe991ea){const _0x3f0119=_0xc80f3c[_0x4f68('0x29')][_0x4f68('0x37')][_0x4f68('0x20')][_0x4f68('0x25')]()[_0x4f68('0x21')]()[_0x4f68('0x1b')](_0x110a6c=>_0x110a6c['is']('element',_0x4f68('0x18')));this['_areMergableCells'](_0x93eba4[_0x4f68('0xd')],_0x3f0119)||(_0x19af19[_0x4f68('0x2d')]=!0x1,_0x19af19[_0x4f68('0x1d')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x912876=this[_0x4f68('0x43')][_0x4f68('0x15')][_0x4f68('0x45')](_0x4f68('0x27')),_0x23a49c=this['editor']['plugins'][_0x4f68('0x45')]('TableUtils');if(!_0x912876['isEnabled'])return!0x1;const _0xb253ea=_0x23a49c[_0x4f68('0xf')](this['editor'][_0x4f68('0x29')][_0x4f68('0x37')]['selection']);for(const _0x1b09e0 of _0xb253ea)for(const _0x3e375f of _0xb253ea)if(_0x1b09e0!=_0x3e375f&&!this[_0x4f68('0x31')](_0x1b09e0,_0x3e375f))return!0x1;return!0x0;}[_0x4f68('0x31')](_0x517403,_0x1f52d3){const _0x5005e2=this[_0x4f68('0x43')][_0x4f68('0x13')][_0x4f68('0x45')](_0x4f68('0xc')),_0x3d9335=this[_0x4f68('0x43')][_0x4f68('0x29')][_0x4f68('0x8')](_0x517403),_0x610fb9=this[_0x4f68('0x43')][_0x4f68('0x29')][_0x4f68('0x8')](_0x1f52d3),_0x44d4ce=new Set(),_0x28e89e=new Set();for(const _0x38a9e7 of _0x5005e2[_0x4f68('0x1c')]())if((_0x4f68('0x2a')==_0x38a9e7['type']||'deletion'==_0x38a9e7[_0x4f68('0x46')]||_0x4f68('0x27')==_0x38a9e7[_0x4f68('0x0')])&&_0x38a9e7['isInContent'])for(const _0x2820a0 of _0x38a9e7['getRanges']())_0x2820a0['containsRange'](_0x3d9335,!0x0)&&_0x44d4ce[_0x4f68('0x22')](_0x38a9e7[_0x4f68('0x46')]+':'+_0x38a9e7[_0x4f68('0x3a')]['id']),_0x2820a0['containsRange'](_0x610fb9,!0x0)&&_0x28e89e['add'](_0x38a9e7[_0x4f68('0x46')]+':'+_0x38a9e7[_0x4f68('0x3a')]['id']);if(_0x44d4ce[_0x4f68('0x28')]!=_0x28e89e[_0x4f68('0x28')])return!0x1;for(const _0x4c3734 of _0x44d4ce)if(!_0x28e89e[_0x4f68('0x39')](_0x4c3734))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e67=['document','start','registerElementLabel','plugins','isEqual','differ','_splitMarkerName','model','isTouching','isCollapsed','afterInit','suggestion','locale','get','getNearestSelectionRange','removeMarker','title-content','end','editor','has','forward','updateMarker','ELEMENT_TITLE','element','schema'];(function(_0x5f2d24,_0x1e67a9){const _0x1819ed=function(_0x5e6271){while(--_0x5e6271){_0x5f2d24['push'](_0x5f2d24['shift']());}};_0x1819ed(++_0x1e67a9);}(_0x1e67,0x1f4));const _0x1819=function(_0x5f2d24,_0x1e67a9){_0x5f2d24=_0x5f2d24-0x0;let _0x1819ed=_0x1e67[_0x5f2d24];return _0x1819ed;};import{Plugin as _0x585892}from'ckeditor5/src/core';import{getTranslation as _0x2bc551}from'../utils/common-translations';export default class mt extends _0x585892{[_0x1819('0xa')](){const _0x5b625a=this[_0x1819('0x12')];if(!_0x5b625a[_0x1819('0x3')][_0x1819('0x13')]('Title'))return;const _0x544f61=_0x5b625a[_0x1819('0x3')][_0x1819('0xd')]('TrackChangesEditing');_0x544f61['_descriptionFactory'][_0x1819('0x2')](_0x1819('0x10'),()=>_0x2bc551(_0x5b625a[_0x1819('0xc')],_0x1819('0x16'))),_0x5b625a['model'][_0x1819('0x0')]['registerPostFixer'](_0x25e12a=>{let _0x25cb05=!0x1;const _0x230e23=Array['from'](_0x5b625a[_0x1819('0x7')][_0x1819('0x0')][_0x1819('0x5')]['getChangedMarkers']());for(const {name:_0x1007c8,data:_0x43fa52}of _0x230e23){const {group:_0x1a41a7}=_0x544f61[_0x1819('0x6')](_0x1007c8);if(_0x1819('0xb')!==_0x1a41a7||!_0x43fa52['newRange'])continue;const _0x337c8e=_0x43fa52['newRange'],_0xe3b788=_0x337c8e[_0x1819('0x11')]['nodeBefore'];if(!_0xe3b788||!_0xe3b788['is'](_0x1819('0x17'),_0x1819('0x10')))continue;if(!_0x337c8e[_0x1819('0x1')][_0x1819('0x8')](_0x337c8e[_0x1819('0x11')]))continue;const _0x1874f4=_0x5b625a[_0x1819('0x7')][_0x1819('0x18')][_0x1819('0xe')](_0x337c8e[_0x1819('0x11')],_0x1819('0x14'));if(_0x1874f4&&_0x1874f4[_0x1819('0x9')]){const _0x220627=_0x25e12a['createRange'](_0x337c8e['start'],_0x1874f4[_0x1819('0x1')]);_0x220627[_0x1819('0x4')](_0x337c8e)||(_0x25e12a[_0x1819('0x15')](_0x1007c8,{'range':_0x220627}),_0x25cb05=!0x0);}_0x25cb05||(_0x25e12a[_0x1819('0xf')](_0x1007c8),_0x25cb05=!0x0);}return _0x25cb05;});}}
23
+ const _0x2720=['isTouching','afterInit','suggestion','title-content','model','from','start','locale','registerElementLabel','plugins','createRange','document','has','updateMarker','ELEMENT_TITLE','differ','editor','_splitMarkerName','_descriptionFactory','end','removeMarker','isEqual','Title','get','TrackChangesEditing','forward','isCollapsed','getChangedMarkers','nodeBefore','schema','element','newRange'];(function(_0x12c84b,_0x27209c){const _0x49d596=function(_0x2795ea){while(--_0x2795ea){_0x12c84b['push'](_0x12c84b['shift']());}};_0x49d596(++_0x27209c);}(_0x2720,0xb2));const _0x49d5=function(_0x12c84b,_0x27209c){_0x12c84b=_0x12c84b-0x0;let _0x49d596=_0x2720[_0x12c84b];return _0x49d596;};import{Plugin as _0x56ea83}from'ckeditor5/src/core';import{getTranslation as _0x26f35c}from'../utils/common-translations';export default class mt extends _0x56ea83{[_0x49d5('0xf')](){const _0x3a151c=this[_0x49d5('0x1e')];if(!_0x3a151c['plugins'][_0x49d5('0x1a')](_0x49d5('0x4')))return;const _0x132f44=_0x3a151c[_0x49d5('0x17')][_0x49d5('0x5')](_0x49d5('0x6'));_0x132f44[_0x49d5('0x0')][_0x49d5('0x16')](_0x49d5('0x11'),()=>_0x26f35c(_0x3a151c[_0x49d5('0x15')],_0x49d5('0x1c'))),_0x3a151c['model'][_0x49d5('0x19')]['registerPostFixer'](_0x4fd99d=>{let _0x55f064=!0x1;const _0x1aed4d=Array[_0x49d5('0x13')](_0x3a151c[_0x49d5('0x12')][_0x49d5('0x19')][_0x49d5('0x1d')][_0x49d5('0x9')]());for(const {name:_0x1a424e,data:_0x101f6c}of _0x1aed4d){const {group:_0x545d27}=_0x132f44[_0x49d5('0x1f')](_0x1a424e);if(_0x49d5('0x10')!==_0x545d27||!_0x101f6c[_0x49d5('0xd')])continue;const _0x64b387=_0x101f6c['newRange'],_0x1302bb=_0x64b387[_0x49d5('0x1')][_0x49d5('0xa')];if(!_0x1302bb||!_0x1302bb['is'](_0x49d5('0xc'),'title-content'))continue;if(!_0x64b387[_0x49d5('0x14')][_0x49d5('0xe')](_0x64b387['end']))continue;const _0x1cff72=_0x3a151c[_0x49d5('0x12')][_0x49d5('0xb')]['getNearestSelectionRange'](_0x64b387[_0x49d5('0x1')],_0x49d5('0x7'));if(_0x1cff72&&_0x1cff72[_0x49d5('0x8')]){const _0x5e6f91=_0x4fd99d[_0x49d5('0x18')](_0x64b387[_0x49d5('0x14')],_0x1cff72[_0x49d5('0x14')]);_0x5e6f91[_0x49d5('0x3')](_0x64b387)||(_0x4fd99d[_0x49d5('0x1b')](_0x1a424e,{'range':_0x5e6f91}),_0x55f064=!0x0);}_0x55f064||(_0x4fd99d[_0x49d5('0x2')](_0x1a424e),_0x55f064=!0x0);}return _0x55f064;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18d7=['afterInit','plugins','enableCommand','editor','has','undo','redo'];(function(_0x21d8c3,_0x18d7b2){const _0x4338c5=function(_0x1da496){while(--_0x1da496){_0x21d8c3['push'](_0x21d8c3['shift']());}};_0x4338c5(++_0x18d7b2);}(_0x18d7,0xf2));const _0x4338=function(_0x21d8c3,_0x18d7b2){_0x21d8c3=_0x21d8c3-0x0;let _0x4338c5=_0x18d7[_0x21d8c3];return _0x4338c5;};import{Plugin as _0x486097}from'ckeditor5/src/core';export default class dt extends _0x486097{[_0x4338('0x3')](){const _0xbae86b=this[_0x4338('0x6')],_0x2c7de5=_0xbae86b['plugins']['get']('TrackChangesEditing');_0xbae86b[_0x4338('0x4')][_0x4338('0x0')]('UndoEditing')&&(_0x2c7de5['enableCommand'](_0x4338('0x1')),_0x2c7de5[_0x4338('0x5')](_0x4338('0x2')));}}
23
+ const _0x4606=['enableCommand','plugins','get','has','editor','undo','TrackChangesEditing','redo','afterInit','UndoEditing'];(function(_0x56195e,_0x460645){const _0xca29fc=function(_0x761631){while(--_0x761631){_0x56195e['push'](_0x56195e['shift']());}};_0xca29fc(++_0x460645);}(_0x4606,0x1ce));const _0xca29=function(_0x56195e,_0x460645){_0x56195e=_0x56195e-0x0;let _0xca29fc=_0x4606[_0x56195e];return _0xca29fc;};import{Plugin as _0x2cdcde}from'ckeditor5/src/core';export default class dt extends _0x2cdcde{[_0xca29('0x6')](){const _0x110298=this[_0xca29('0x2')],_0x4e5231=_0x110298[_0xca29('0x9')][_0xca29('0x0')](_0xca29('0x4'));_0x110298[_0xca29('0x9')][_0xca29('0x1')](_0xca29('0x7'))&&(_0x4e5231[_0xca29('0x8')](_0xca29('0x3')),_0x4e5231[_0xca29('0x8')](_0xca29('0x5')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2660=['model','writer','TrackChangesEditing','item','bindElementToMarker','push','ck-suggestion-marker-','markerRange','test','span','ck-suggestion-marker--active','getCustomProperty','isContent','mapper','elementEnd','toViewPosition','createUIElement','addClass','insert','nextSibling','listIndent','hasAttribute','schema','getItems','includes','isLimit','isAtEnd','getWalker','markerName','createRangeOn','getAttribute','previousPosition'];(function(_0x5d7d6b,_0x2660ef){const _0x34d986=function(_0x29078c){while(--_0x29078c){_0x5d7d6b['push'](_0x5d7d6b['shift']());}};_0x34d986(++_0x2660ef);}(_0x2660,0x1ed));const _0x34d9=function(_0x5d7d6b,_0x2660ef){_0x5d7d6b=_0x5d7d6b-0x0;let _0x34d986=_0x2660[_0x5d7d6b];return _0x34d986;};export function getRangesWithAttribute(_0x160a2b,_0x1fd0ef,_0x369fe1){const _0x23b2ac=[];for(const _0x4ae7af of _0x1fd0ef[_0x34d9('0xa')]())_0x4ae7af[_0x34d9('0x8')](_0x160a2b)&&_0x23b2ac[_0x34d9('0x18')](_0x369fe1[_0x34d9('0x10')](_0x4ae7af));return _0x23b2ac;}export function getElementsAffectedByListItemRename(_0x1ad7b9){const _0x4415b0=[];if(_0x1ad7b9['is']('element','listItem')){let _0x3b1db1=_0x1ad7b9[_0x34d9('0x6')];for(;_0x3b1db1&&_0x3b1db1['is']('element','listItem')&&_0x3b1db1[_0x34d9('0x11')](_0x34d9('0x7'))>0x0;)_0x4415b0['push'](_0x3b1db1),_0x3b1db1=_0x3b1db1[_0x34d9('0x6')];}return _0x4415b0;}export function downcastSplitMergeMarker(_0x1023d6,_0x33ff98,{showActiveMarker:_0x242b49=!0x0}={}){const _0x2be16f=_0x1023d6['plugins']['get'](_0x34d9('0x15'));return(_0x573832,_0x1a97ad,_0x10b6fb)=>{if(!_0x10b6fb['consumable'][_0x34d9('0x1b')](_0x1a97ad[_0x34d9('0x1a')],_0x573832['name']))return;const _0x9a4503=_0x1a97ad[_0x34d9('0x1a')][_0x34d9('0xe')](),_0x23d107=_0x1a97ad['markerRange']['start'],_0x328b55=_0x1023d6[_0x34d9('0x13')][_0x34d9('0x9')];let _0x9bd23f=null,_0x3c563d=null,_0x4fa8c2=!0x1,_0x4fd6ff=!0x1;for(const _0x3f5abc of _0x9a4503){const _0x51aab9=_0x3f5abc[_0x34d9('0x16')];_0x4fa8c2=_0x4fa8c2||_0x328b55[_0x34d9('0x1f')](_0x51aab9);const _0x3103a6=_0x10b6fb['mapper']['toViewElement'](_0x51aab9);if(_0x3103a6&&_0x3103a6[_0x34d9('0x1e')]('addHighlight'))return;_0x34d9('0x1')==_0x3f5abc['type']&&(_0x328b55['isBlock'](_0x51aab9)&&!_0x328b55[_0x34d9('0xc')](_0x51aab9)&&(_0x51aab9[_0x34d9('0x6')]||_0x23d107[_0x34d9('0xd')]?_0x9bd23f&&_0x9bd23f['parent']==_0x51aab9||(_0x9bd23f=_0x51aab9,_0x431347(_0x3f5abc[_0x34d9('0x12')]),_0x4fd6ff=!0x0):_0x3c563d=_0x3c563d||_0x3f5abc[_0x34d9('0x12')]));}function _0x431347(_0x5c2469){const _0xa3c812=_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x3')](_0x34d9('0x1c'),{'class':_0x34d9('0x19')+_0x33ff98}),_0x271cfd=_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x2')](_0x5c2469);_0x242b49&&_0x2be16f['activeMarkers'][_0x34d9('0xb')](_0x1a97ad[_0x34d9('0xf')])&&_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x4')](_0x34d9('0x1d'),_0xa3c812),_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x5')](_0x271cfd,_0xa3c812),_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x17')](_0xa3c812,_0x1a97ad[_0x34d9('0xf')]);}_0x4fa8c2||_0x4fd6ff||!_0x3c563d||_0x431347(_0x3c563d);};}
23
+ const _0x2c8e=['span','parent','ck-suggestion-marker--active','toViewElement','addClass','writer','item','markerRange','isAtEnd','activeMarkers','element','getItems','getAttribute','mapper','push','ck-suggestion-marker-','createRangeOn','nextSibling','listItem','plugins','insert','get','getWalker','isLimit','elementEnd','markerName','toViewPosition','previousPosition','includes','isBlock','bindElementToMarker','type','start','consumable'];(function(_0x33618e,_0x2c8e3f){const _0x505840=function(_0x116acb){while(--_0x116acb){_0x33618e['push'](_0x33618e['shift']());}};_0x505840(++_0x2c8e3f);}(_0x2c8e,0x13c));const _0x5058=function(_0x33618e,_0x2c8e3f){_0x33618e=_0x33618e-0x0;let _0x505840=_0x2c8e[_0x33618e];return _0x505840;};export function getRangesWithAttribute(_0x5eb75d,_0x23440,_0x2fbab){const _0x4e8bcd=[];for(const _0x1b9d70 of _0x23440[_0x5058('0x1')]())_0x1b9d70['hasAttribute'](_0x5eb75d)&&_0x4e8bcd[_0x5058('0x4')](_0x2fbab[_0x5058('0x6')](_0x1b9d70));return _0x4e8bcd;}export function getElementsAffectedByListItemRename(_0xb5b58a){const _0x5d8f1b=[];if(_0xb5b58a['is'](_0x5058('0x0'),_0x5058('0x8'))){let _0x8d61d3=_0xb5b58a[_0x5058('0x7')];for(;_0x8d61d3&&_0x8d61d3['is']('element','listItem')&&_0x8d61d3[_0x5058('0x2')]('listIndent')>0x0;)_0x5d8f1b[_0x5058('0x4')](_0x8d61d3),_0x8d61d3=_0x8d61d3[_0x5058('0x7')];}return _0x5d8f1b;}export function downcastSplitMergeMarker(_0x2ccf8f,_0x2d4653,{showActiveMarker:_0x8427f6=!0x0}={}){const _0x25ccc1=_0x2ccf8f[_0x5058('0x9')][_0x5058('0xb')]('TrackChangesEditing');return(_0x450538,_0x4a9cf5,_0x2ceacf)=>{if(!_0x2ceacf[_0x5058('0x17')]['test'](_0x4a9cf5[_0x5058('0x1f')],_0x450538['name']))return;const _0x2a9738=_0x4a9cf5['markerRange'][_0x5058('0xc')](),_0x827b3c=_0x4a9cf5[_0x5058('0x1f')][_0x5058('0x16')],_0x1e352a=_0x2ccf8f['model']['schema'];let _0x3c4892=null,_0x5656ba=null,_0x1823c8=!0x1,_0x243938=!0x1;for(const _0x1d6da8 of _0x2a9738){const _0x2ec6f9=_0x1d6da8[_0x5058('0x1e')];_0x1823c8=_0x1823c8||_0x1e352a['isContent'](_0x2ec6f9);const _0x10bbd7=_0x2ceacf[_0x5058('0x3')][_0x5058('0x1b')](_0x2ec6f9);if(_0x10bbd7&&_0x10bbd7['getCustomProperty']('addHighlight'))return;_0x5058('0xe')==_0x1d6da8[_0x5058('0x15')]&&(_0x1e352a[_0x5058('0x13')](_0x2ec6f9)&&!_0x1e352a[_0x5058('0xd')](_0x2ec6f9)&&(_0x2ec6f9[_0x5058('0x7')]||_0x827b3c[_0x5058('0x20')]?_0x3c4892&&_0x3c4892[_0x5058('0x19')]==_0x2ec6f9||(_0x3c4892=_0x2ec6f9,_0x740ac3(_0x1d6da8['previousPosition']),_0x243938=!0x0):_0x5656ba=_0x5656ba||_0x1d6da8[_0x5058('0x11')]));}function _0x740ac3(_0x30a13a){const _0x2022b1=_0x2ceacf['writer']['createUIElement'](_0x5058('0x18'),{'class':_0x5058('0x5')+_0x2d4653}),_0x12134f=_0x2ceacf[_0x5058('0x3')][_0x5058('0x10')](_0x30a13a);_0x8427f6&&_0x25ccc1[_0x5058('0x21')][_0x5058('0x12')](_0x4a9cf5['markerName'])&&_0x2ceacf[_0x5058('0x1d')][_0x5058('0x1c')](_0x5058('0x1a'),_0x2022b1),_0x2ceacf[_0x5058('0x1d')][_0x5058('0xa')](_0x12134f,_0x2022b1),_0x2ceacf[_0x5058('0x3')][_0x5058('0x14')](_0x2022b1,_0x4a9cf5[_0x5058('0xf')]);}_0x1823c8||_0x243938||!_0x5656ba||_0x740ac3(_0x5656ba);};}
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x142e=['onAttributesChange','removeMarkers','getRange','add','accept','getMultiRangeId','suggestion:','author','createdAt','hasComments','size','getFirstMarker','markers','getItems','getAllAdjacentSuggestions','setAttribute','nodeBefore','delete','isMultiRange','_markerNames','_onDiscard','clear','type','discard','subType','_model','addMarkerName','start','get','data','next','getMarkerNames','nodeAfter','decorate','reduce','toJSON','length','map','_saved','change','head','isIntersecting','filter','getRanges','substr','onAccept','from','removeAttribute','commentThread','getMarkers','removeMarker','attributes','previous','_onAttributesChange','set'];(function(_0x35811b,_0x142e11){const _0x5f2a9f=function(_0x190b99){while(--_0x190b99){_0x35811b['push'](_0x35811b['shift']());}};_0x5f2a9f(++_0x142e11);}(_0x142e,0x144));const _0x5f2a=function(_0x35811b,_0x142e11){_0x35811b=_0x35811b-0x0;let _0x5f2a9f=_0x142e[_0x35811b];return _0x5f2a9f;};import{Element as _0x2bd862}from'ckeditor5/src/engine';import{ObservableMixin as _0x144ead,mix as _0x5d33b9,uid as _0x25ac3b}from'ckeditor5/src/utils';import{cloneDeep as _0x8e3848,isEqual as _0xdce7ab,set as _0x1db1ac,unset as _0x5a17b2}from'lodash-es';export default class o{constructor(_0x2b71c7,_0x381067){this['id']=_0x381067['id'],this['type']=_0x381067[_0x5f2a('0x1c')],this[_0x5f2a('0x1e')]=_0x381067['subType']||null,this[_0x5f2a('0xd')]=_0x381067[_0x5f2a('0xd')],this['data']=null,this[_0x5f2a('0x1f')]=_0x2b71c7,this['_onAccept']=_0x381067[_0x5f2a('0x33')],this[_0x5f2a('0x1a')]=_0x381067['onDiscard'],this[_0x5f2a('0x4')]=_0x381067[_0x5f2a('0x6')],this[_0x5f2a('0x19')]=new Set(),this['set']('createdAt',null),this[_0x5f2a('0x5')]('attributes',_0x381067[_0x5f2a('0x2')]||{}),this['set'](_0x5f2a('0x3'),null),this['set'](_0x5f2a('0x24'),null),this[_0x5f2a('0x5')](_0x5f2a('0x36'),null),this[_0x5f2a('0x5')](_0x5f2a('0x2c'),!0x1),this[_0x5f2a('0x27')](_0x5f2a('0xa')),this[_0x5f2a('0x27')](_0x5f2a('0x1d'));}get['head'](){let _0x527fcc=this;for(;_0x527fcc['previous'];)_0x527fcc=_0x527fcc[_0x5f2a('0x3')];return _0x527fcc;}get[_0x5f2a('0xf')](){return!!this['commentThread']&&this[_0x5f2a('0x36')][_0x5f2a('0x2a')]>0x0;}get[_0x5f2a('0x18')](){if(0x0==this[_0x5f2a('0x19')][_0x5f2a('0x10')])return!0x1;return 0x6==Array[_0x5f2a('0x34')](this[_0x5f2a('0x19')])[0x0]['split'](':')[_0x5f2a('0x2a')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x5f2a('0x20')](_0x51f28a){this[_0x5f2a('0x19')][_0x5f2a('0x9')](_0x51f28a);}[_0x5f2a('0x25')](){return Array['from'](this['_markerNames']);}[_0x5f2a('0x0')](){return this['getMarkerNames']()[_0x5f2a('0x2b')](_0x1b9a5e=>this[_0x5f2a('0x1f')][_0x5f2a('0x12')][_0x5f2a('0x22')](_0x1b9a5e))[_0x5f2a('0x30')](_0x39434d=>_0x39434d);}['getFirstMarker'](){return this[_0x5f2a('0x0')]()[0x0]||null;}[_0x5f2a('0x7')](){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x2f1d72=>{for(const _0x7758e6 of this[_0x5f2a('0x0')]())_0x2f1d72[_0x5f2a('0x1')](_0x7758e6);}),this[_0x5f2a('0x19')][_0x5f2a('0x1b')]();}[_0x5f2a('0x1')](_0x5c5835){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x4e36cc=>{_0x4e36cc[_0x5f2a('0x1')](_0x5c5835);}),this[_0x5f2a('0x19')][_0x5f2a('0x17')](_0x5c5835);}['addRange'](_0x563df0){const _0x3ab068=_0x5f2a('0xc')+this[_0x5f2a('0x1c')]+':'+this[_0x5f2a('0x1e')]+':'+this['id']+':'+this[_0x5f2a('0xd')]['id']+':'+o[_0x5f2a('0xb')]();this['addMarkerName'](_0x3ab068),this[_0x5f2a('0x1f')]['change'](_0x3b99fd=>{_0x3b99fd['addMarker'](_0x3ab068,{'range':_0x563df0,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x5786a9){for(const _0x4609c5 of this[_0x5f2a('0x31')]())if(_0x4609c5[_0x5f2a('0x2f')](_0x5786a9))return!0x0;return!0x1;}[_0x5f2a('0x31')](){return this['getMarkers']()[_0x5f2a('0x2b')](_0x1c7b9b=>_0x1c7b9b[_0x5f2a('0x8')]());}[_0x5f2a('0x13')](){return this[_0x5f2a('0x31')]()[_0x5f2a('0x28')]((_0x426c74,_0x58b1ad)=>[..._0x426c74,..._0x58b1ad[_0x5f2a('0x13')]()],[]);}['getFirstRange'](){return this[_0x5f2a('0x11')]()['getRange']();}['getContainedElement'](){const _0x3e45e4=this[_0x5f2a('0x31')]();if(0x1!=_0x3e45e4[_0x5f2a('0x2a')])return null;const _0x54e765=_0x3e45e4[0x0],_0x4f6c5d=_0x54e765[_0x5f2a('0x21')][_0x5f2a('0x26')],_0x64b0aa=_0x54e765['end'][_0x5f2a('0x16')];return _0x4f6c5d instanceof _0x2bd862?_0x4f6c5d!=_0x64b0aa?null:_0x4f6c5d:null;}[_0x5f2a('0xa')](){this['_onAccept'](this[_0x5f2a('0x31')](),this['data'],this[_0x5f2a('0x2')]),this[_0x5f2a('0x7')]();}[_0x5f2a('0x1d')](){this[_0x5f2a('0x1a')](this['getRanges'](),this[_0x5f2a('0x23')],this['attributes']),this[_0x5f2a('0x7')]();}[_0x5f2a('0x14')](){const _0x8c7642=[];let _0x350dde=this[_0x5f2a('0x2e')];for(;_0x350dde;)_0x8c7642['push'](_0x350dde),_0x350dde=_0x350dde[_0x5f2a('0x24')];return _0x8c7642;}[_0x5f2a('0x15')](_0x3c357b,_0x338798){const _0x4d0092=_0x8e3848(this[_0x5f2a('0x2')]);_0x1db1ac(_0x4d0092,_0x3c357b,_0x338798),_0xdce7ab(_0x4d0092,this[_0x5f2a('0x2')])||(this[_0x5f2a('0x2')]=_0x4d0092,this['_onAttributesChange'](_0x4d0092));}[_0x5f2a('0x35')](_0x14cb11){const _0x4836be=_0x8e3848(this[_0x5f2a('0x2')]);_0x5a17b2(_0x4836be,_0x14cb11),_0xdce7ab(_0x4836be,this['attributes'])||(this[_0x5f2a('0x2')]=_0x4836be,this[_0x5f2a('0x4')](this[_0x5f2a('0x2')]));}[_0x5f2a('0x29')](){return{'id':this['id'],'type':this[_0x5f2a('0x1e')]?this[_0x5f2a('0x1c')]+':'+this['subType']:this['type'],'authorId':this[_0x5f2a('0xd')]['id'],'createdAt':this[_0x5f2a('0xe')],'hasComments':this[_0x5f2a('0xf')],'data':this['data'],'attributes':this[_0x5f2a('0x2')]};}static[_0x5f2a('0xb')](){return _0x25ac3b()[_0x5f2a('0x32')](0x1,0x5);}}_0x5d33b9(o,_0x144ead);
23
+ const _0x33dc=['getContainedElement','getItems','commentThread','removeMarker','suggestion:','addMarker','head','_markerNames','addRange','length','_saved','_onDiscard','previous','removeAttribute','subType','map','attributes','getFirstMarker','getAllAdjacentSuggestions','start','_onAttributesChange','split','author','getMarkerNames','getRange','onAccept','onAttributesChange','getFirstRange','decorate','accept','reduce','delete','change','createdAt','addMarkerName','_model','markers','getRanges','type','clear','isIntersecting','hasComments','_onAccept','isMultiRange','set','nodeBefore','nodeAfter','next','toJSON','getMultiRangeId','from','discard','isIntersectingWithRange','removeMarkers','onDiscard','get','isInContent','substr','getMarkers','data'];(function(_0xbb795f,_0x33dc79){const _0x49cc92=function(_0x1d6c90){while(--_0x1d6c90){_0xbb795f['push'](_0xbb795f['shift']());}};_0x49cc92(++_0x33dc79);}(_0x33dc,0x95));const _0x49cc=function(_0xbb795f,_0x33dc79){_0xbb795f=_0xbb795f-0x0;let _0x49cc92=_0x33dc[_0xbb795f];return _0x49cc92;};import{Element as _0x4ede34}from'ckeditor5/src/engine';import{ObservableMixin as _0x33126e,mix as _0x94e7ff,uid as _0x424184}from'ckeditor5/src/utils';import{cloneDeep as _0x30a065,isEqual as _0x3ac39b,set as _0x5cc7b8,unset as _0x2acfe7}from'lodash-es';export default class o{constructor(_0x23e4e0,_0x4aa385){this['id']=_0x4aa385['id'],this[_0x49cc('0x9')]=_0x4aa385[_0x49cc('0x9')],this[_0x49cc('0x2d')]=_0x4aa385[_0x49cc('0x2d')]||null,this['author']=_0x4aa385['author'],this[_0x49cc('0x1e')]=null,this[_0x49cc('0x6')]=_0x23e4e0,this[_0x49cc('0xd')]=_0x4aa385[_0x49cc('0x38')],this[_0x49cc('0x2a')]=_0x4aa385[_0x49cc('0x19')],this[_0x49cc('0x33')]=_0x4aa385[_0x49cc('0x39')],this[_0x49cc('0x26')]=new Set(),this[_0x49cc('0xf')](_0x49cc('0x4'),null),this[_0x49cc('0xf')](_0x49cc('0x2f'),_0x4aa385[_0x49cc('0x2f')]||{}),this[_0x49cc('0xf')](_0x49cc('0x2b'),null),this['set']('next',null),this[_0x49cc('0xf')](_0x49cc('0x21'),null),this[_0x49cc('0xf')](_0x49cc('0x29'),!0x1),this[_0x49cc('0x3b')](_0x49cc('0x0')),this[_0x49cc('0x3b')](_0x49cc('0x16'));}get[_0x49cc('0x25')](){let _0x17723f=this;for(;_0x17723f[_0x49cc('0x2b')];)_0x17723f=_0x17723f[_0x49cc('0x2b')];return _0x17723f;}get[_0x49cc('0xc')](){return!!this[_0x49cc('0x21')]&&this['commentThread'][_0x49cc('0x28')]>0x0;}get[_0x49cc('0xe')](){if(0x0==this[_0x49cc('0x26')]['size'])return!0x1;return 0x6==Array[_0x49cc('0x15')](this[_0x49cc('0x26')])[0x0][_0x49cc('0x34')](':')[_0x49cc('0x28')];}get[_0x49cc('0x1b')](){return null!==this['getFirstMarker']();}[_0x49cc('0x5')](_0x5e79fb){this['_markerNames']['add'](_0x5e79fb);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}[_0x49cc('0x1d')](){return this[_0x49cc('0x36')]()[_0x49cc('0x2e')](_0x2f3962=>this[_0x49cc('0x6')][_0x49cc('0x7')][_0x49cc('0x1a')](_0x2f3962))['filter'](_0x21c1df=>_0x21c1df);}[_0x49cc('0x30')](){return this['getMarkers']()[0x0]||null;}[_0x49cc('0x18')](){this['_model'][_0x49cc('0x3')](_0x10d873=>{for(const _0x4cd9e8 of this[_0x49cc('0x1d')]())_0x10d873[_0x49cc('0x22')](_0x4cd9e8);}),this[_0x49cc('0x26')][_0x49cc('0xa')]();}[_0x49cc('0x22')](_0x57b43f){this[_0x49cc('0x6')]['change'](_0xc36950=>{_0xc36950[_0x49cc('0x22')](_0x57b43f);}),this[_0x49cc('0x26')][_0x49cc('0x2')](_0x57b43f);}[_0x49cc('0x27')](_0x526b22){const _0x381f99=_0x49cc('0x23')+this['type']+':'+this['subType']+':'+this['id']+':'+this[_0x49cc('0x35')]['id']+':'+o[_0x49cc('0x14')]();this[_0x49cc('0x5')](_0x381f99),this['_model']['change'](_0x3dd781=>{_0x3dd781[_0x49cc('0x24')](_0x381f99,{'range':_0x526b22,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x49cc('0x17')](_0x10f265){for(const _0xe2f9ef of this[_0x49cc('0x8')]())if(_0xe2f9ef[_0x49cc('0xb')](_0x10f265))return!0x0;return!0x1;}[_0x49cc('0x8')](){return this[_0x49cc('0x1d')]()[_0x49cc('0x2e')](_0x115dab=>_0x115dab[_0x49cc('0x37')]());}[_0x49cc('0x20')](){return this[_0x49cc('0x8')]()[_0x49cc('0x1')]((_0x3ce81e,_0x1b396a)=>[..._0x3ce81e,..._0x1b396a[_0x49cc('0x20')]()],[]);}[_0x49cc('0x3a')](){return this[_0x49cc('0x30')]()[_0x49cc('0x37')]();}[_0x49cc('0x1f')](){const _0x207e19=this[_0x49cc('0x8')]();if(0x1!=_0x207e19[_0x49cc('0x28')])return null;const _0x4f15b1=_0x207e19[0x0],_0xe698dc=_0x4f15b1[_0x49cc('0x32')][_0x49cc('0x11')],_0x1c507b=_0x4f15b1['end'][_0x49cc('0x10')];return _0xe698dc instanceof _0x4ede34?_0xe698dc!=_0x1c507b?null:_0xe698dc:null;}['accept'](){this[_0x49cc('0xd')](this[_0x49cc('0x8')](),this['data'],this[_0x49cc('0x2f')]),this[_0x49cc('0x18')]();}['discard'](){this[_0x49cc('0x2a')](this[_0x49cc('0x8')](),this[_0x49cc('0x1e')],this[_0x49cc('0x2f')]),this[_0x49cc('0x18')]();}[_0x49cc('0x31')](){const _0x53c50a=[];let _0xcb489=this[_0x49cc('0x25')];for(;_0xcb489;)_0x53c50a['push'](_0xcb489),_0xcb489=_0xcb489[_0x49cc('0x12')];return _0x53c50a;}['setAttribute'](_0x22cc0e,_0x3a4446){const _0x4156ff=_0x30a065(this[_0x49cc('0x2f')]);_0x5cc7b8(_0x4156ff,_0x22cc0e,_0x3a4446),_0x3ac39b(_0x4156ff,this[_0x49cc('0x2f')])||(this[_0x49cc('0x2f')]=_0x4156ff,this['_onAttributesChange'](_0x4156ff));}[_0x49cc('0x2c')](_0x13166f){const _0x5e6ae4=_0x30a065(this[_0x49cc('0x2f')]);_0x2acfe7(_0x5e6ae4,_0x13166f),_0x3ac39b(_0x5e6ae4,this[_0x49cc('0x2f')])||(this[_0x49cc('0x2f')]=_0x5e6ae4,this[_0x49cc('0x33')](this['attributes']));}[_0x49cc('0x13')](){return{'id':this['id'],'type':this['subType']?this[_0x49cc('0x9')]+':'+this[_0x49cc('0x2d')]:this[_0x49cc('0x9')],'authorId':this[_0x49cc('0x35')]['id'],'createdAt':this[_0x49cc('0x4')],'hasComments':this[_0x49cc('0xc')],'data':this[_0x49cc('0x1e')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x424184()[_0x49cc('0x1c')](0x1,0x5);}}_0x94e7ff(o,_0x33126e);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f3f=['*Insert:*\x20%0','addObject','isInContent','nextSibling','match','isEmpty','item','name','remove','*Split:*\x20%0','insertion','_customCallbacks','softBreak','add','isEqual','start','length','quantity','REPLACE_TEXT','textProxy','ELEMENT_SPACE','skip','removeEmptyContainer','*Remove:*\x20%0','elementStart','_itemLabels','addEmptyContainer','previousSibling','Container','get','pop','isObject','getItemLabel','replace','registerDescriptionCallback','indexOf','_locale','getFirstRange','getDescriptions','data','Object','text','type','*Merge:*\x20%0','checkChild','$1\x20$2','push','set','getWalker','elementEnd','deletion','addContainer','_addDescriptionItems','removeObject','_schema','EmptyContainer'];(function(_0x325615,_0x5f3f75){const _0x1dd738=function(_0x3637ac){while(--_0x3637ac){_0x325615['push'](_0x325615['shift']());}};_0x1dd738(++_0x5f3f75);}(_0x5f3f,0x137));const _0x1dd7=function(_0x325615,_0x5f3f75){_0x325615=_0x325615-0x0;let _0x1dd738=_0x5f3f[_0x325615];return _0x1dd738;};import{getTranslation as _0x2e56bf}from'./utils/common-translations';export default class l{constructor(_0xf331b4,_0x132eb8){this[_0x1dd7('0x24')]=[],this[_0x1dd7('0x32')]=new Map(),this[_0x1dd7('0x17')]=_0xf331b4,this[_0x1dd7('0x5')]=_0x132eb8;}[_0x1dd7('0x7')](_0x536d57){const _0xa51842=[];for(let _0x4f3b32=0x0;_0x4f3b32<_0x536d57[_0x1dd7('0x29')];_0x4f3b32++){const _0x1f10ff=_0x536d57[_0x4f3b32];if(!_0x1f10ff[_0x1dd7('0x1b')])continue;let _0x42df0b=!0x1;for(const _0x1775dc of this[_0x1dd7('0x24')]){const _0x59ce02=_0x1775dc(_0x1f10ff);if(_0x59ce02){_0x59ce02[_0x1dd7('0xb')]&&_0xa51842['push'](_0x59ce02),_0x42df0b=!0x0;break;}}if(!_0x42df0b){this[_0x1dd7('0x15')](_0xa51842,_0x1f10ff);const _0x53ee10=_0x536d57[_0x4f3b32+0x1];if(_0x53ee10&&!_0x1f10ff[_0x1dd7('0x6')]()['end'][_0x1dd7('0x27')](_0x53ee10['getFirstRange']()[_0x1dd7('0x28')])){const _0x340a5a=_0xa51842[_0xa51842['length']-0x1],_0x17628d=_0x1dd7('0x23')==_0x1f10ff[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');_0x340a5a&&'text'==_0x340a5a['type']&&(_0x340a5a[_0x17628d]+='\x0a');}}}return this['_resolveDescriptionItems'](_0xa51842);}[_0x1dd7('0x3')](_0x372f93){this['_customCallbacks'][_0x1dd7('0xf')](_0x372f93);}['registerElementLabel'](_0x20277c,_0x34c917){this[_0x1dd7('0x32')][_0x1dd7('0x10')](_0x20277c,_0x34c917);}[_0x1dd7('0x1')](_0x158d84,_0x1833a5=0x1){const _0x44b46b=this[_0x1dd7('0x32')][_0x1dd7('0x36')](_0x158d84)||_0x158d84;return'function'==typeof _0x44b46b?_0x44b46b(_0x1833a5):0x1!==_0x1833a5?_0x1833a5+'\x20'+_0x44b46b+'s':''+_0x44b46b;}[_0x1dd7('0x15')](_0x6f7ab3,_0x9c9e66){const _0x355b32=_0x9c9e66['getFirstRange']()[_0x1dd7('0x11')](),_0xecf38=_0x1dd7('0x23')==_0x9c9e66[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');for(const _0x46dfb3 of _0x355b32){const _0x532fef=_0x46dfb3[_0x1dd7('0x1f')],_0x4761fa=_0x6f7ab3[_0x6f7ab3[_0x1dd7('0x29')]-0x1];if(_0x532fef['is'](_0x1dd7('0x2c')))_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')]('Container')>-0x1&&_0x6f7ab3['pop'](),_0x4761fa&&_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]?_0x4761fa[_0xecf38]+=_0x532fef['data']:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0x1dd7('0xa'),'add':_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x8')]:'','remove':'remove'==_0xecf38?_0x532fef[_0x1dd7('0x8')]:''});else{if(this[_0x1dd7('0x17')]['isObject'](_0x532fef)){if(_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')](_0x1dd7('0x35'))>-0x1&&_0x6f7ab3[_0x1dd7('0x37')](),_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;_0x4761fa&&_0x4761fa['type']==_0xecf38+_0x1dd7('0x9')&&_0x4761fa[_0x1dd7('0x20')]==_0x532fef[_0x1dd7('0x20')]?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x9'),'name':_0x532fef[_0x1dd7('0x20')],'quantity':0x1}),_0x355b32[_0x1dd7('0x2e')](_0x56c718=>!('elementEnd'==_0x56c718[_0x1dd7('0xb')]&&_0x56c718[_0x1dd7('0x1f')]==_0x532fef));}else{if(this[_0x1dd7('0x17')][_0x1dd7('0xd')](_0x532fef,'$text')||_0x532fef['is']('element',_0x1dd7('0x25'))){if(_0x1dd7('0x26')==_0xecf38&&_0x1dd7('0x31')==_0x46dfb3['type']||_0x1dd7('0x21')==_0xecf38&&_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;if(_0x4761fa&&-0x1==_0x4761fa[_0x1dd7('0xb')]['indexOf'](_0x1dd7('0x35'))){_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]&&(_0x4761fa[_0xecf38]+='\x0a');continue;}let _0x3d5a4a;if(_0x3d5a4a=_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x1c')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x1c')])?_0x532fef[_0x1dd7('0x1c')]:null:_0x532fef[_0x1dd7('0x34')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x34')])?_0x532fef[_0x1dd7('0x34')]:null,_0x532fef[_0x1dd7('0x1e')]||_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]){const _0x5c2825=_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]?_0x3d5a4a[_0x1dd7('0x20')]:_0x532fef[_0x1dd7('0x20')];_0x4761fa&&_0x4761fa[_0x1dd7('0xb')]==_0xecf38+'EmptyContainer'&&_0x4761fa['name']==_0x5c2825?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x18'),'name':_0x5c2825,'quantity':0x1});}else _0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x35'),'name':_0x532fef[_0x1dd7('0x20')]});}}}}}['_resolveDescriptionItems'](_0x2fc80e){const _0x17fed5=this[_0x1dd7('0x5')],_0x4e747b=[];for(const _0x37a290 of _0x2fc80e){switch(_0x37a290[_0x1dd7('0xb')]){case _0x1dd7('0xa'):if(_0x37a290[_0x1dd7('0x26')]=_0x37a290['add']['replace'](/(\S)\u000A+(\S)/g,_0x1dd7('0xe'))[_0x1dd7('0x2')](/\u000A/g,''),_0x37a290['remove']=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x2')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x1dd7('0x2')](/\u000A/g,''),''!=_0x37a290[_0x1dd7('0x26')]&&''!=_0x37a290[_0x1dd7('0x21')]){_0x4e747b[_0x1dd7('0xf')]({'type':'replace','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x2b'),['\x22'+_0x37a290['remove']+'\x22','\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22'])});continue;}if(null!=_0x37a290[_0x1dd7('0x26')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'insertion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),_0x2e56bf(_0x17fed5,'ELEMENT_SPACE',_0x37a290['add'][_0x1dd7('0x29')]))});continue;}if(null!=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'deletion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),_0x2e56bf(_0x17fed5,_0x1dd7('0x2d'),_0x37a290[_0x1dd7('0x21')]['length']))});continue;}if(''!=_0x37a290[_0x1dd7('0x26')]){_0x4e747b['push']({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),'\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22')});continue;}_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),'\x22'+_0x37a290[_0x1dd7('0x21')]+'\x22')});continue;case _0x1dd7('0x33'):case _0x1dd7('0x1a'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case _0x1dd7('0x2f'):case _0x1dd7('0x16'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;case _0x1dd7('0x14'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x22'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case'removeContainer':_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0xc'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;}_0x4e747b[_0x1dd7('0xf')](_0x37a290);}return _0x4e747b;}}
23
+ const _0xeab9=['start','match','function','pop','type','*Split:*\x20%0','set','_itemLabels','nextSibling','Container','indexOf','_locale','quantity','addEmptyContainer','isObject','length','REPLACE_TEXT','element','*Merge:*\x20%0','insertion','replace','getFirstRange','elementEnd','registerDescriptionCallback','deletion','_schema','softBreak','addContainer','removeObject','add','end','textProxy','elementStart','Object','getDescriptions','previousSibling','addObject','getItemLabel','get','data','EmptyContainer','item','checkChild','*Remove:*\x20%0','isEmpty','name','push','remove','_customCallbacks','_resolveDescriptionItems','text','$1\x20$2','isInContent','removeEmptyContainer','_addDescriptionItems','ELEMENT_SPACE','getWalker','isEqual'];(function(_0x1508ba,_0xeab9f4){const _0x37bd4c=function(_0x47b7f4){while(--_0x47b7f4){_0x1508ba['push'](_0x1508ba['shift']());}};_0x37bd4c(++_0xeab9f4);}(_0xeab9,0xbc));const _0x37bd=function(_0x1508ba,_0xeab9f4){_0x1508ba=_0x1508ba-0x0;let _0x37bd4c=_0xeab9[_0x1508ba];return _0x37bd4c;};import{getTranslation as _0x5da5bc}from'./utils/common-translations';export default class l{constructor(_0x1effb2,_0x2e0926){this[_0x37bd('0x22')]=[],this['_itemLabels']=new Map(),this[_0x37bd('0xb')]=_0x1effb2,this[_0x37bd('0x37')]=_0x2e0926;}[_0x37bd('0x14')](_0x590baa){const _0x4e3b66=[];for(let _0x2ea2a0=0x0;_0x2ea2a0<_0x590baa[_0x37bd('0x1')];_0x2ea2a0++){const _0x438e1a=_0x590baa[_0x2ea2a0];if(!_0x438e1a[_0x37bd('0x26')])continue;let _0x3eddfe=!0x1;for(const _0x230176 of this[_0x37bd('0x22')]){const _0x2d4572=_0x230176(_0x438e1a);if(_0x2d4572){_0x2d4572[_0x37bd('0x30')]&&_0x4e3b66['push'](_0x2d4572),_0x3eddfe=!0x0;break;}}if(!_0x3eddfe){this[_0x37bd('0x28')](_0x4e3b66,_0x438e1a);const _0x33393a=_0x590baa[_0x2ea2a0+0x1];if(_0x33393a&&!_0x438e1a['getFirstRange']()[_0x37bd('0x10')][_0x37bd('0x2b')](_0x33393a[_0x37bd('0x7')]()[_0x37bd('0x2c')])){const _0x132f50=_0x4e3b66[_0x4e3b66[_0x37bd('0x1')]-0x1],_0xcbfd1f=_0x37bd('0x5')==_0x438e1a[_0x37bd('0x30')]?_0x37bd('0xf'):_0x37bd('0x21');_0x132f50&&_0x37bd('0x24')==_0x132f50['type']&&(_0x132f50[_0xcbfd1f]+='\x0a');}}}return this[_0x37bd('0x23')](_0x4e3b66);}[_0x37bd('0x9')](_0x3c75ac){this[_0x37bd('0x22')]['push'](_0x3c75ac);}['registerElementLabel'](_0x42fb60,_0x3a1513){this[_0x37bd('0x33')][_0x37bd('0x32')](_0x42fb60,_0x3a1513);}[_0x37bd('0x17')](_0x520869,_0x554499=0x1){const _0x1c69e4=this['_itemLabels'][_0x37bd('0x18')](_0x520869)||_0x520869;return _0x37bd('0x2e')==typeof _0x1c69e4?_0x1c69e4(_0x554499):0x1!==_0x554499?_0x554499+'\x20'+_0x1c69e4+'s':''+_0x1c69e4;}[_0x37bd('0x28')](_0x19823e,_0x556ae1){const _0x29373b=_0x556ae1[_0x37bd('0x7')]()[_0x37bd('0x2a')](),_0x246e71=_0x37bd('0x5')==_0x556ae1[_0x37bd('0x30')]?_0x37bd('0xf'):'remove';for(const _0x30e4f4 of _0x29373b){const _0x962085=_0x30e4f4[_0x37bd('0x1b')],_0xde0ac8=_0x19823e[_0x19823e[_0x37bd('0x1')]-0x1];if(_0x962085['is'](_0x37bd('0x11')))_0xde0ac8&&_0xde0ac8['type'][_0x37bd('0x36')](_0x37bd('0x35'))>-0x1&&_0x19823e[_0x37bd('0x2f')](),_0xde0ac8&&_0x37bd('0x24')==_0xde0ac8[_0x37bd('0x30')]?_0xde0ac8[_0x246e71]+=_0x962085[_0x37bd('0x19')]:_0x19823e[_0x37bd('0x20')]({'type':_0x37bd('0x24'),'add':_0x37bd('0xf')==_0x246e71?_0x962085[_0x37bd('0x19')]:'','remove':_0x37bd('0x21')==_0x246e71?_0x962085['data']:''});else{if(this[_0x37bd('0xb')][_0x37bd('0x0')](_0x962085)){if(_0xde0ac8&&_0xde0ac8[_0x37bd('0x30')][_0x37bd('0x36')](_0x37bd('0x35'))>-0x1&&_0x19823e[_0x37bd('0x2f')](),_0x37bd('0x8')==_0x30e4f4[_0x37bd('0x30')])continue;_0xde0ac8&&_0xde0ac8[_0x37bd('0x30')]==_0x246e71+_0x37bd('0x13')&&_0xde0ac8[_0x37bd('0x1f')]==_0x962085[_0x37bd('0x1f')]?_0xde0ac8[_0x37bd('0x38')]++:_0x19823e['push']({'type':_0x246e71+_0x37bd('0x13'),'name':_0x962085['name'],'quantity':0x1}),_0x29373b['skip'](_0xc2493e=>!(_0x37bd('0x8')==_0xc2493e['type']&&_0xc2493e[_0x37bd('0x1b')]==_0x962085));}else{if(this[_0x37bd('0xb')][_0x37bd('0x1c')](_0x962085,'$text')||_0x962085['is'](_0x37bd('0x3'),_0x37bd('0xc'))){if(_0x37bd('0xf')==_0x246e71&&_0x37bd('0x12')==_0x30e4f4[_0x37bd('0x30')]||_0x37bd('0x21')==_0x246e71&&'elementEnd'==_0x30e4f4[_0x37bd('0x30')])continue;if(_0xde0ac8&&-0x1==_0xde0ac8[_0x37bd('0x30')][_0x37bd('0x36')](_0x37bd('0x35'))){'text'==_0xde0ac8['type']&&(_0xde0ac8[_0x246e71]+='\x0a');continue;}let _0x2e85e7;if(_0x2e85e7=_0x37bd('0xf')==_0x246e71?_0x962085[_0x37bd('0x34')]&&!this[_0x37bd('0xb')][_0x37bd('0x0')](_0x962085['nextSibling'])?_0x962085[_0x37bd('0x34')]:null:_0x962085[_0x37bd('0x15')]&&!this[_0x37bd('0xb')]['isObject'](_0x962085[_0x37bd('0x15')])?_0x962085[_0x37bd('0x15')]:null,_0x962085[_0x37bd('0x1e')]||_0x2e85e7&&_0x2e85e7[_0x37bd('0x1e')]){const _0x76d5f7=_0x2e85e7&&_0x2e85e7[_0x37bd('0x1e')]?_0x2e85e7[_0x37bd('0x1f')]:_0x962085['name'];_0xde0ac8&&_0xde0ac8[_0x37bd('0x30')]==_0x246e71+_0x37bd('0x1a')&&_0xde0ac8['name']==_0x76d5f7?_0xde0ac8[_0x37bd('0x38')]++:_0x19823e[_0x37bd('0x20')]({'type':_0x246e71+_0x37bd('0x1a'),'name':_0x76d5f7,'quantity':0x1});}else _0x19823e['push']({'type':_0x246e71+_0x37bd('0x35'),'name':_0x962085['name']});}}}}}['_resolveDescriptionItems'](_0x188444){const _0x5c51fc=this[_0x37bd('0x37')],_0x4604d4=[];for(const _0x5903cc of _0x188444){switch(_0x5903cc[_0x37bd('0x30')]){case _0x37bd('0x24'):if(_0x5903cc[_0x37bd('0xf')]=_0x5903cc[_0x37bd('0xf')][_0x37bd('0x6')](/(\S)\u000A+(\S)/g,_0x37bd('0x25'))[_0x37bd('0x6')](/\u000A/g,''),_0x5903cc[_0x37bd('0x21')]=_0x5903cc[_0x37bd('0x21')][_0x37bd('0x6')](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x5903cc[_0x37bd('0xf')]&&''!=_0x5903cc['remove']){_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0x6'),'content':_0x5da5bc(_0x5c51fc,_0x37bd('0x2'),['\x22'+_0x5903cc[_0x37bd('0x21')]+'\x22','\x22'+_0x5903cc[_0x37bd('0xf')]+'\x22'])});continue;}if(null!=_0x5903cc['add'][_0x37bd('0x2d')](/^ +$/)){_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0x5'),'content':_0x5da5bc(_0x5c51fc,'*Insert:*\x20%0',_0x5da5bc(_0x5c51fc,_0x37bd('0x29'),_0x5903cc[_0x37bd('0xf')][_0x37bd('0x1')]))});continue;}if(null!=_0x5903cc[_0x37bd('0x21')][_0x37bd('0x2d')](/^ +$/)){_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0xa'),'content':_0x5da5bc(_0x5c51fc,_0x37bd('0x1d'),_0x5da5bc(_0x5c51fc,_0x37bd('0x29'),_0x5903cc[_0x37bd('0x21')][_0x37bd('0x1')]))});continue;}if(''!=_0x5903cc['add']){_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0x5'),'content':_0x5da5bc(_0x5c51fc,'*Insert:*\x20%0','\x22'+_0x5903cc[_0x37bd('0xf')]+'\x22')});continue;}_0x4604d4['push']({'type':_0x37bd('0xa'),'content':_0x5da5bc(_0x5c51fc,'*Remove:*\x20%0','\x22'+_0x5903cc[_0x37bd('0x21')]+'\x22')});continue;case _0x37bd('0x39'):case _0x37bd('0x16'):_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0x5'),'content':_0x5da5bc(_0x5c51fc,'*Insert:*\x20%0',this[_0x37bd('0x17')](_0x5903cc['name'],_0x5903cc['quantity']))});continue;case _0x37bd('0x27'):case _0x37bd('0xe'):_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0xa'),'content':_0x5da5bc(_0x5c51fc,_0x37bd('0x1d'),this[_0x37bd('0x17')](_0x5903cc[_0x37bd('0x1f')],_0x5903cc['quantity']))});continue;case _0x37bd('0xd'):_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0x5'),'content':_0x5da5bc(_0x5c51fc,_0x37bd('0x31'),this[_0x37bd('0x17')](_0x5903cc['name'],_0x5903cc['quantity']))});continue;case'removeContainer':_0x4604d4[_0x37bd('0x20')]({'type':_0x37bd('0xa'),'content':_0x5da5bc(_0x5c51fc,_0x37bd('0x4'),this['getItemLabel'](_0x5903cc[_0x37bd('0x1f')],_0x5903cc[_0x37bd('0x38')]))});continue;}_0x4604d4[_0x37bd('0x20')](_0x5903cc);}return _0x4604d4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4011=['getSuggestions','TrackChanges','editor','plugins','getSuggestion','adapter','get','addSuggestion','addSuggestionData'];(function(_0x3de0dd,_0x4011ff){var _0x2cf131=function(_0x22532f){while(--_0x22532f){_0x3de0dd['push'](_0x3de0dd['shift']());}};_0x2cf131(++_0x4011ff);}(_0x4011,0x168));var _0x2cf1=function(_0x3de0dd,_0x4011ff){_0x3de0dd=_0x3de0dd-0x0;var _0x2cf131=_0x4011[_0x3de0dd];return _0x2cf131;};import{Plugin as _0x2850f5}from'ckeditor5/src/core';import _0x117ed2 from'./trackchangesui';import _0x28fd84 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class p extends _0x2850f5{static get['requires'](){return[_0x28fd84,_0x117ed2,'Comments'];}static get['pluginName'](){return _0x2cf1('0x1');}set[_0x2cf1('0x5')](_0x5a2c73){this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')]=_0x5a2c73;}get[_0x2cf1('0x5')](){return this['editor']['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')];}[_0x2cf1('0x7')](_0x575d34){return this[_0x2cf1('0x2')]['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x8')](_0x575d34);}[_0x2cf1('0x0')](_0x28326d){return this[_0x2cf1('0x2')][_0x2cf1('0x3')]['get'](_0x28fd84)[_0x2cf1('0x0')](_0x28326d);}[_0x2cf1('0x4')](_0x2175af){return this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)['getSuggestion'](_0x2175af);}}
23
+ var _0x4767=['adapter','plugins','addSuggestionData','TrackChanges','editor','get','getSuggestions','addSuggestion'];(function(_0x4853c0,_0x47678f){var _0x1c6ca0=function(_0x43e94a){while(--_0x43e94a){_0x4853c0['push'](_0x4853c0['shift']());}};_0x1c6ca0(++_0x47678f);}(_0x4767,0x194));var _0x1c6c=function(_0x4853c0,_0x47678f){_0x4853c0=_0x4853c0-0x0;var _0x1c6ca0=_0x4767[_0x4853c0];return _0x1c6ca0;};import{Plugin as _0x35bc8b}from'ckeditor5/src/core';import _0x133cec from'./trackchangesui';import _0xf78b97 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class p extends _0x35bc8b{static get['requires'](){return[_0xf78b97,_0x133cec,'Comments'];}static get['pluginName'](){return _0x1c6c('0x7');}set['adapter'](_0x2c5ece){this[_0x1c6c('0x0')][_0x1c6c('0x5')]['get'](_0xf78b97)[_0x1c6c('0x4')]=_0x2c5ece;}get[_0x1c6c('0x4')](){return this['editor'][_0x1c6c('0x5')][_0x1c6c('0x1')](_0xf78b97)[_0x1c6c('0x4')];}[_0x1c6c('0x3')](_0x4d710c){return this['editor'][_0x1c6c('0x5')][_0x1c6c('0x1')](_0xf78b97)[_0x1c6c('0x6')](_0x4d710c);}[_0x1c6c('0x2')](_0x3f5310){return this[_0x1c6c('0x0')]['plugins'][_0x1c6c('0x1')](_0xf78b97)[_0x1c6c('0x2')](_0x3f5310);}['getSuggestion'](_0xbb1b06){return this['editor']['plugins'][_0x1c6c('0x1')](_0xf78b97)['getSuggestion'](_0xbb1b06);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111b=['constructor','_adapter','RealTimeCollaborativeComments','destroy','createDocumentFragment','get','initialData','data','config','push','extraPlugins','map','RealTimeCollaborativeTrackChanges','toolbar','Users','getUser','define','includes','pluginName','end','appendChild','concat','addUser','getDataWithDiscardedSuggestions','acceptAllSuggestions','getDataWithAcceptedSuggestions','TrackChangesData','getSuggestions','result','from','RealTimeCollaborativeRevisionHistory','trackChangesData','init','set','editor','reduce','plugins','useAnonymousUser','add','track-changes-data-invalid-editor-creator','string','RealTimeCollaborativeEditing','users','builtinPlugins','filter','find','create','editorCreator','names','div','function','requires','TrackChangesEditing','Autosave','createElement'];(function(_0x88efa4,_0x111bc6){const _0x5e46a2=function(_0x407bc7){while(--_0x407bc7){_0x88efa4['push'](_0x88efa4['shift']());}};_0x5e46a2(++_0x111bc6);}(_0x111b,0x87));const _0x5e46=function(_0x88efa4,_0x111bc6){_0x88efa4=_0x88efa4-0x0;let _0x5e46a2=_0x111b[_0x88efa4];return _0x5e46a2;};import{Plugin as _0x53f296}from'ckeditor5/src/core';import{CKEditorError as _0x3504b6}from'ckeditor5/src/utils';import _0x4adca5 from'./trackchangesediting';const C=[_0x5e46('0x24'),'context',_0x5e46('0x2b')],k=[_0x5e46('0x10'),_0x5e46('0x20'),_0x5e46('0x2a'),_0x5e46('0x5'),_0x5e46('0x1c')];export default class T extends _0x53f296{static get['requires'](){return[_0x4adca5];}static get[_0x5e46('0x30')](){return _0x5e46('0x1');}[_0x5e46('0x7')](){const _0x2687dd=this['editor'];if(_0x2687dd[_0x5e46('0x26')][_0x5e46('0x2e')]('trackChangesData.editorCreator',_0x5d7b39=>_0x2687dd[_0x5e46('0x1e')][_0x5e46('0x15')]('',_0x5d7b39)),_0x5e46('0x19')!=typeof _0x2687dd[_0x5e46('0x26')][_0x5e46('0x23')]('trackChangesData')[_0x5e46('0x16')])throw new _0x3504b6(_0x5e46('0xe'));}[_0x5e46('0x0')](_0x21ab87){return v(this[_0x5e46('0x9')],!0x0,_0x21ab87);}[_0x5e46('0x35')](_0x391e35){return v(this['editor'],!0x1,_0x391e35);}}class D extends _0x53f296{static get[_0x5e46('0x30')](){return'TrackChangesDataGetter';}[_0x5e46('0x7')](){this[_0x5e46('0x3')]=_0x5e46('0x31'),this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')]('CommentsRepository')['_adapter']={'getCommentThread':()=>new Promise(()=>{})},this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x1f')]=null;}}async function v(_0x1be33,_0x12aff2,_0x2d7f4f){const _0x397bb2=function(_0x36daaf){const _0x14d989={};for(const _0x4d6fa8 of _0x36daaf[_0x5e46('0x26')][_0x5e46('0x17')]())C[_0x5e46('0x2f')](_0x4d6fa8)||(_0x14d989[_0x4d6fa8]=_0x36daaf['config']['get'](_0x4d6fa8));const _0x38bc27=_0x36daaf[_0x5e46('0x1e')][_0x5e46('0x12')]||[],_0x2f240d=_0x14d989['extraPlugins']||[];delete _0x14d989[_0x5e46('0x28')];const _0x54622f=_0x38bc27[_0x5e46('0x33')](_0x14d989[_0x5e46('0xb')])['concat'](_0x2f240d)['map'](_0x315b41=>_0x5e46('0xf')==typeof _0x315b41?_0x38bc27[_0x5e46('0x14')](_0x141988=>_0x141988[_0x5e46('0x30')]==_0x315b41):_0x315b41),_0x573472=Array[_0x5e46('0x4')](new Set(_0x54622f));return _0x14d989[_0x5e46('0xb')]=_0x573472[_0x5e46('0x13')](_0x2df8a0=>w(_0x2df8a0,new Set())),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](D),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](_0x4adca5),_0x14d989;}(_0x1be33),_0x27dae0=document[_0x5e46('0x22')](),_0x279f6a=_0x1be33['config'][_0x5e46('0x23')](_0x5e46('0x6'))[_0x5e46('0x16')],_0x4a4bd3=await _0x279f6a(_0x397bb2,()=>function(_0x54bfcb){const _0xfa6434=document[_0x5e46('0x1d')](_0x5e46('0x18'));return _0x54bfcb[_0x5e46('0x32')](_0xfa6434),_0xfa6434;}(_0x27dae0));!function(_0x240f23,_0x13657b){const _0x50fb0b=_0x240f23['model']['document']['getRootNames']()[_0x5e46('0xa')]((_0x590337,_0x3022e3)=>(_0x590337[_0x3022e3]=_0x240f23['data'][_0x5e46('0x23')]({'rootName':_0x3022e3}),_0x590337),{}),_0x31b071=_0x240f23['plugins']['get'](_0x5e46('0x2c'))[_0x5e46('0x11')][_0x5e46('0x29')](_0x10981f=>({'id':_0x10981f['id']})),_0x45b373=_0x240f23[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x2')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x473b46=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x2c')),_0x21e659=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')]('TrackChangesEditing');for(const _0x5188fe of _0x31b071)_0x473b46[_0x5e46('0x2d')](_0x5188fe['id'])||_0x473b46[_0x5e46('0x34')](_0x5188fe);_0x473b46['me']||_0x473b46[_0x5e46('0xc')]();for(const _0x512f8f of _0x45b373)_0x21e659['addSuggestionData'](_0x512f8f);_0x13657b['data'][_0x5e46('0x8')](_0x50fb0b);}(_0x1be33,_0x4a4bd3),_0x4a4bd3['execute'](_0x12aff2?_0x5e46('0x36'):'discardAllSuggestions');const _0x2758cb=_0x4a4bd3[_0x5e46('0x25')][_0x5e46('0x23')](_0x2d7f4f);return await _0x4a4bd3[_0x5e46('0x21')](),_0x2758cb;}function w(_0x3f1cf2,_0x895b29){if(_0x895b29['has'](_0x3f1cf2))return!0x0;_0x895b29[_0x5e46('0xd')](_0x3f1cf2);const _0x4e0448=_0x5e46('0x19')==typeof _0x3f1cf2?_0x3f1cf2[_0x5e46('0x30')]||_0x3f1cf2['name']:_0x3f1cf2;return(!_0x4e0448||!k[_0x5e46('0x2f')](_0x4e0448))&&(!_0x3f1cf2['requires']||_0x3f1cf2[_0x5e46('0x1a')]['every'](_0x44eb90=>w(_0x44eb90,_0x895b29)));}
23
+ const _0x4137=['constructor','trackChangesData.editorCreator','set','concat','TrackChangesData','data','plugins','RealTimeCollaborativeTrackChanges','RealTimeCollaborativeRevisionHistory','pluginName','reduce','track-changes-data-invalid-editor-creator','document','requires','appendChild','add','context','get','createElement','filter','editorCreator','Users','name','RealTimeCollaborativeComments','toolbar','includes','_adapter','push','discardAllSuggestions','from','end','trackChangesData','string','every','execute','init','result','getRootNames','createDocumentFragment','map','CommentsRepository','destroy','getDataWithDiscardedSuggestions','function','TrackChangesEditing','extraPlugins','initialData','div','names','getUser','find','getSuggestions','editor','config'];(function(_0x73475e,_0x4137af){const _0x20ac49=function(_0x1f0bf7){while(--_0x1f0bf7){_0x73475e['push'](_0x73475e['shift']());}};_0x20ac49(++_0x4137af);}(_0x4137,0x82));const _0x20ac=function(_0x73475e,_0x4137af){_0x73475e=_0x73475e-0x0;let _0x20ac49=_0x4137[_0x73475e];return _0x20ac49;};import{Plugin as _0x17d1da}from'ckeditor5/src/core';import{CKEditorError as _0x513882}from'ckeditor5/src/utils';import _0x28259f from'./trackchangesediting';const C=[_0x20ac('0x18'),_0x20ac('0x30'),_0x20ac('0x2')],k=['RealTimeCollaborativeEditing',_0x20ac('0x1'),_0x20ac('0x27'),_0x20ac('0x28'),'Autosave'];export default class T extends _0x17d1da{static get[_0x20ac('0x2d')](){return[_0x28259f];}static get[_0x20ac('0x29')](){return _0x20ac('0x24');}[_0x20ac('0xd')](){const _0x59e3cd=this[_0x20ac('0x1e')];if(_0x59e3cd['config']['define'](_0x20ac('0x21'),_0x451866=>_0x59e3cd['constructor']['create']('',_0x451866)),'function'!=typeof _0x59e3cd['config'][_0x20ac('0x31')](_0x20ac('0x9'))[_0x20ac('0x34')])throw new _0x513882(_0x20ac('0x2b'));}['getDataWithAcceptedSuggestions'](_0x5892ee){return v(this['editor'],!0x0,_0x5892ee);}[_0x20ac('0x14')](_0x58afc5){return v(this[_0x20ac('0x1e')],!0x1,_0x58afc5);}}class D extends _0x17d1da{static get[_0x20ac('0x29')](){return'TrackChangesDataGetter';}[_0x20ac('0xd')](){this[_0x20ac('0xe')]=_0x20ac('0x8'),this[_0x20ac('0x1e')][_0x20ac('0x26')][_0x20ac('0x31')](_0x20ac('0x12'))[_0x20ac('0x4')]={'getCommentThread':()=>new Promise(()=>{})},this[_0x20ac('0x1e')][_0x20ac('0x26')][_0x20ac('0x31')](_0x20ac('0x16'))['_adapter']=null;}}async function v(_0x23813e,_0x499be8,_0x45671b){const _0x1a2869=function(_0x1bda49){const _0x492cc8={};for(const _0x3fd03e of _0x1bda49[_0x20ac('0x1f')][_0x20ac('0x1a')]())C[_0x20ac('0x3')](_0x3fd03e)||(_0x492cc8[_0x3fd03e]=_0x1bda49[_0x20ac('0x1f')][_0x20ac('0x31')](_0x3fd03e));const _0x45377f=_0x1bda49[_0x20ac('0x20')]['builtinPlugins']||[],_0x18c91b=_0x492cc8[_0x20ac('0x17')]||[];delete _0x492cc8['extraPlugins'];const _0x6dcd4c=_0x45377f[_0x20ac('0x23')](_0x492cc8[_0x20ac('0x26')])[_0x20ac('0x23')](_0x18c91b)[_0x20ac('0x11')](_0x209777=>_0x20ac('0xa')==typeof _0x209777?_0x45377f[_0x20ac('0x1c')](_0xae7d51=>_0xae7d51[_0x20ac('0x29')]==_0x209777):_0x209777),_0x54b5fd=Array[_0x20ac('0x7')](new Set(_0x6dcd4c));return _0x492cc8[_0x20ac('0x26')]=_0x54b5fd[_0x20ac('0x33')](_0x2075fb=>w(_0x2075fb,new Set())),_0x492cc8[_0x20ac('0x26')][_0x20ac('0x5')](D),_0x492cc8['plugins'][_0x20ac('0x5')](_0x28259f),_0x492cc8;}(_0x23813e),_0x2d194b=document[_0x20ac('0x10')](),_0x2c7d54=_0x23813e[_0x20ac('0x1f')][_0x20ac('0x31')](_0x20ac('0x9'))['editorCreator'],_0x34c6dd=await _0x2c7d54(_0x1a2869,()=>function(_0x399dbf){const _0x4748ca=document[_0x20ac('0x32')](_0x20ac('0x19'));return _0x399dbf[_0x20ac('0x2e')](_0x4748ca),_0x4748ca;}(_0x2d194b));!function(_0x31aa0e,_0x3b2a89){const _0x42e56c=_0x31aa0e['model'][_0x20ac('0x2c')][_0x20ac('0xf')]()[_0x20ac('0x2a')]((_0x5d8667,_0x57db7c)=>(_0x5d8667[_0x57db7c]=_0x31aa0e[_0x20ac('0x25')][_0x20ac('0x31')]({'rootName':_0x57db7c}),_0x5d8667),{}),_0x154a7f=_0x31aa0e[_0x20ac('0x26')][_0x20ac('0x31')]('Users')['users']['map'](_0x1ff6fd=>({'id':_0x1ff6fd['id']})),_0x2bb15b=_0x31aa0e['plugins']['get'](_0x20ac('0x16'))[_0x20ac('0x1d')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x41677d=_0x3b2a89[_0x20ac('0x26')][_0x20ac('0x31')](_0x20ac('0x35')),_0x339f97=_0x3b2a89[_0x20ac('0x26')][_0x20ac('0x31')](_0x20ac('0x16'));for(const _0x531061 of _0x154a7f)_0x41677d[_0x20ac('0x1b')](_0x531061['id'])||_0x41677d['addUser'](_0x531061);_0x41677d['me']||_0x41677d['useAnonymousUser']();for(const _0x59f4d7 of _0x2bb15b)_0x339f97['addSuggestionData'](_0x59f4d7);_0x3b2a89[_0x20ac('0x25')][_0x20ac('0x22')](_0x42e56c);}(_0x23813e,_0x34c6dd),_0x34c6dd[_0x20ac('0xc')](_0x499be8?'acceptAllSuggestions':_0x20ac('0x6'));const _0x436888=_0x34c6dd[_0x20ac('0x25')][_0x20ac('0x31')](_0x45671b);return await _0x34c6dd[_0x20ac('0x13')](),_0x436888;}function w(_0x4f8794,_0x49f57d){if(_0x49f57d['has'](_0x4f8794))return!0x0;_0x49f57d[_0x20ac('0x2f')](_0x4f8794);const _0xfed869=_0x20ac('0x15')==typeof _0x4f8794?_0x4f8794[_0x20ac('0x29')]||_0x4f8794[_0x20ac('0x0')]:_0x4f8794;return(!_0xfed869||!k[_0x20ac('0x3')](_0xfed869))&&(!_0x4f8794[_0x20ac('0x2d')]||_0x4f8794[_0x20ac('0x2d')][_0x20ac('0xb')](_0x1bddf0=>w(_0x1bddf0,_0x49f57d)));}