@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230719.0 → 0.0.0-nightly-20230721.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ec9=['createdAt','data','delete','nodeAfter','removeAttribute','@external','start','removeMarker','onDiscard','_onAccept','getRanges','markers','getContainedElement','push','_onDiscard','addRange','addMarkerName','next','decorate','getMarkerNames','isExternal','hasComments','from','_onAttributesChange','getFirstMarker','head','change','accept','_markerNames','isMultiRange','attributes','onAttributesChange','isIntersectingWithRange','getItems','getRange','removeMarkers','map','add','getAllAdjacentSuggestions','set','previous','addMarker','size','suggestion:','commentThread','length','author','creator','subType','type','_model','end','_saved','getMarkers'];(function(_0xfb1ba8,_0x1ec9fe){const _0x1806ad=function(_0x2714ec){while(--_0x2714ec){_0xfb1ba8['push'](_0xfb1ba8['shift']());}};_0x1806ad(++_0x1ec9fe);}(_0x1ec9,0xa5));const _0x1806=function(_0xfb1ba8,_0x1ec9fe){_0xfb1ba8=_0xfb1ba8-0x0;let _0x1806ad=_0x1ec9[_0xfb1ba8];return _0x1806ad;};import{Element as _0x520e6a}from'ckeditor5/src/engine';import{ObservableMixin as _0x399988,uid as _0x266f39}from'ckeditor5/src/utils';import{cloneDeep as _0x2b0fc1,isEqual as _0xc39201,set as _0x19d1c6,unset as _0x5b98bf}from'lodash-es';export default class u extends _0x399988(){constructor(_0x1812af,_0x42e628){super(),this['id']=_0x42e628['id'],this[_0x1806('0x2e')]=_0x42e628[_0x1806('0x2e')],this[_0x1806('0x2d')]=_0x42e628[_0x1806('0x2d')]||null,this[_0x1806('0x2b')]=_0x42e628[_0x1806('0x2b')],this[_0x1806('0x2c')]=_0x42e628[_0x1806('0x2c')]||_0x42e628[_0x1806('0x2b')],this[_0x1806('0x11')]=Boolean(_0x42e628['attributes']&&_0x42e628[_0x1806('0x1b')][_0x1806('0x2')]),this[_0x1806('0x34')]=null,this[_0x1806('0x2f')]=_0x1812af,this[_0x1806('0x6')]=_0x42e628['onAccept'],this[_0x1806('0xb')]=_0x42e628[_0x1806('0x5')],this[_0x1806('0x14')]=_0x42e628[_0x1806('0x1c')],this[_0x1806('0x19')]=new Set(),this[_0x1806('0x33')]=null,this[_0x1806('0x24')]('authoredAt',null),this[_0x1806('0x24')](_0x1806('0x1b'),_0x42e628[_0x1806('0x1b')]||{}),this['set'](_0x1806('0x25'),null),this[_0x1806('0x24')]('next',null),this[_0x1806('0x24')]('commentThread',null),this[_0x1806('0x24')](_0x1806('0x31'),!0x1),this[_0x1806('0xf')](_0x1806('0x18')),this[_0x1806('0xf')]('discard');}get[_0x1806('0x16')](){let _0x1413a6=this;for(;_0x1413a6[_0x1806('0x25')];)_0x1413a6=_0x1413a6[_0x1806('0x25')];return _0x1413a6;}get['hasComments'](){return!!this[_0x1806('0x29')]&&this[_0x1806('0x29')]['length']>0x0;}get[_0x1806('0x1a')](){if(0x0==this[_0x1806('0x19')][_0x1806('0x27')])return!0x1;return 0x6==Array['from'](this[_0x1806('0x19')])[0x0]['split'](':')[_0x1806('0x2a')];}get['isInContent'](){return null!==this[_0x1806('0x15')]();}[_0x1806('0xd')](_0x3106c2){this[_0x1806('0x19')][_0x1806('0x22')](_0x3106c2);}[_0x1806('0x10')](){return Array[_0x1806('0x13')](this[_0x1806('0x19')]);}[_0x1806('0x32')](){return this[_0x1806('0x10')]()[_0x1806('0x21')](_0x4faed9=>this['_model'][_0x1806('0x8')]['get'](_0x4faed9))['filter'](_0x5f06fe=>_0x5f06fe);}[_0x1806('0x15')](){return this['getMarkers']()[0x0]||null;}[_0x1806('0x20')](){this[_0x1806('0x2f')][_0x1806('0x17')](_0x13482f=>{for(const _0x21be28 of this[_0x1806('0x32')]())_0x13482f[_0x1806('0x4')](_0x21be28);}),this[_0x1806('0x19')]['clear']();}[_0x1806('0x4')](_0x5a1890){this[_0x1806('0x2f')][_0x1806('0x17')](_0x182d0c=>{_0x182d0c[_0x1806('0x4')](_0x5a1890);}),this[_0x1806('0x19')][_0x1806('0x35')](_0x5a1890);}[_0x1806('0xc')](_0x399f39){const _0x192ab3=_0x1806('0x28')+this[_0x1806('0x2e')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x1806('0xd')](_0x192ab3),this['_model'][_0x1806('0x17')](_0x1c8faa=>{_0x1c8faa[_0x1806('0x26')](_0x192ab3,{'range':_0x399f39,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1806('0x1d')](_0x40c049){for(const _0x2181b6 of this[_0x1806('0x7')]())if(_0x2181b6['isIntersecting'](_0x40c049))return!0x0;return!0x1;}['getRanges'](){return this[_0x1806('0x32')]()['map'](_0x28e551=>_0x28e551[_0x1806('0x1f')]());}['getItems'](){return this[_0x1806('0x7')]()['reduce']((_0xc44e9f,_0x3ddc45)=>[..._0xc44e9f,..._0x3ddc45[_0x1806('0x1e')]()],[]);}['getFirstRange'](){var _0x4a40f5;return(null===(_0x4a40f5=this['getFirstMarker']())||void 0x0===_0x4a40f5?void 0x0:_0x4a40f5['getRange']())||null;}[_0x1806('0x9')](){const _0x1a2bb3=this[_0x1806('0x7')]();if(0x1!=_0x1a2bb3['length'])return null;const _0x218eb9=_0x1a2bb3[0x0],_0x52b058=_0x218eb9[_0x1806('0x3')][_0x1806('0x0')],_0x15eac6=_0x218eb9[_0x1806('0x30')]['nodeBefore'];return _0x52b058 instanceof _0x520e6a?_0x52b058!=_0x15eac6?null:_0x52b058:null;}[_0x1806('0x18')](){this[_0x1806('0x6')](this[_0x1806('0x7')](),this[_0x1806('0x34')],this[_0x1806('0x1b')]),this[_0x1806('0x20')]();}['discard'](){this['_onDiscard'](this[_0x1806('0x7')](),this[_0x1806('0x34')],this[_0x1806('0x1b')]),this[_0x1806('0x20')]();}[_0x1806('0x23')](){const _0x5ad07c=[];let _0x564d02=this[_0x1806('0x16')];for(;_0x564d02;)_0x5ad07c[_0x1806('0xa')](_0x564d02),_0x564d02=_0x564d02[_0x1806('0xe')];return _0x5ad07c;}['setAttribute'](_0x547ebe,_0x35da5c){const _0x2b23bc=_0x2b0fc1(this['attributes']);_0x19d1c6(_0x2b23bc,_0x547ebe,_0x35da5c),_0xc39201(_0x2b23bc,this[_0x1806('0x1b')])||(this[_0x1806('0x1b')]=_0x2b23bc,this['_onAttributesChange'](_0x2b23bc));}[_0x1806('0x1')](_0x5b6b70){const _0x54f88f=_0x2b0fc1(this['attributes']);_0x5b98bf(_0x54f88f,_0x5b6b70),_0xc39201(_0x54f88f,this[_0x1806('0x1b')])||(this[_0x1806('0x1b')]=_0x54f88f,this[_0x1806('0x14')](this[_0x1806('0x1b')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x1806('0x2d')]?this['type']+':'+this[_0x1806('0x2d')]:this[_0x1806('0x2e')],'authorId':this[_0x1806('0x2c')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x1806('0x12')],'data':this[_0x1806('0x34')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x266f39()['substr'](0x1,0x5);}}
23
+ const _0x1356=['_onAccept','length','creator','split','_model','commentThread','filter','addMarkerName','add','onAccept','push','author','getMarkers','head','_onDiscard','getRange','onAttributesChange','createdAt','getRanges','_onAttributesChange','authoredAt','setAttribute','decorate','delete','nodeAfter','from','getFirstRange','getMultiRangeId','suggestion:','subType','removeMarker','map','reduce','addMarker','isIntersecting','isIntersectingWithRange','get','data','hasComments','isInContent','@external','addRange','nodeBefore','set','attributes','isExternal','substr','getMarkerNames','previous','start','getAllAdjacentSuggestions','_markerNames','_saved','getFirstMarker','getItems','removeMarkers','getContainedElement','accept','next','removeAttribute','type','change','onDiscard'];(function(_0x48dffd,_0x1356f2){const _0x283e2d=function(_0x15e6f0){while(--_0x15e6f0){_0x48dffd['push'](_0x48dffd['shift']());}};_0x283e2d(++_0x1356f2);}(_0x1356,0x196));const _0x283e=function(_0x48dffd,_0x1356f2){_0x48dffd=_0x48dffd-0x0;let _0x283e2d=_0x1356[_0x48dffd];return _0x283e2d;};import{Element as _0x23cce4}from'ckeditor5/src/engine';import{ObservableMixin as _0x3e5b9d,uid as _0x26bcbd}from'ckeditor5/src/utils';import{cloneDeep as _0x2675b5,isEqual as _0x2ae52a,set as _0x2487ea,unset as _0x29242c}from'lodash-es';export default class u extends _0x3e5b9d(){constructor(_0x231452,_0x34a058){super(),this['id']=_0x34a058['id'],this[_0x283e('0x20')]=_0x34a058[_0x283e('0x20')],this[_0x283e('0x1')]=_0x34a058[_0x283e('0x1')]||null,this[_0x283e('0x2e')]=_0x34a058[_0x283e('0x2e')],this[_0x283e('0x25')]=_0x34a058[_0x283e('0x25')]||_0x34a058[_0x283e('0x2e')],this[_0x283e('0x11')]=Boolean(_0x34a058[_0x283e('0x10')]&&_0x34a058[_0x283e('0x10')][_0x283e('0xc')]),this['data']=null,this['_model']=_0x231452,this['_onAccept']=_0x34a058[_0x283e('0x2c')],this[_0x283e('0x31')]=_0x34a058[_0x283e('0x22')],this[_0x283e('0x36')]=_0x34a058[_0x283e('0x33')],this[_0x283e('0x17')]=new Set(),this[_0x283e('0x34')]=null,this[_0x283e('0xf')](_0x283e('0x37'),null),this['set'](_0x283e('0x10'),_0x34a058['attributes']||{}),this[_0x283e('0xf')](_0x283e('0x14'),null),this[_0x283e('0xf')](_0x283e('0x1e'),null),this['set'](_0x283e('0x28'),null),this['set'](_0x283e('0x18'),!0x1),this[_0x283e('0x39')](_0x283e('0x1d')),this[_0x283e('0x39')]('discard');}get['head'](){let _0x2eead4=this;for(;_0x2eead4['previous'];)_0x2eead4=_0x2eead4[_0x283e('0x14')];return _0x2eead4;}get[_0x283e('0xa')](){return!!this[_0x283e('0x28')]&&this[_0x283e('0x28')][_0x283e('0x24')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x283e('0x17')]['size'])return!0x1;return 0x6==Array[_0x283e('0x3c')](this[_0x283e('0x17')])[0x0][_0x283e('0x26')](':')[_0x283e('0x24')];}get[_0x283e('0xb')](){return null!==this[_0x283e('0x19')]();}[_0x283e('0x2a')](_0x4f2aff){this[_0x283e('0x17')][_0x283e('0x2b')](_0x4f2aff);}[_0x283e('0x13')](){return Array['from'](this[_0x283e('0x17')]);}[_0x283e('0x2f')](){return this[_0x283e('0x13')]()['map'](_0xa33bc4=>this[_0x283e('0x27')]['markers'][_0x283e('0x8')](_0xa33bc4))[_0x283e('0x29')](_0x2b528b=>_0x2b528b);}[_0x283e('0x19')](){return this[_0x283e('0x2f')]()[0x0]||null;}[_0x283e('0x1b')](){this[_0x283e('0x27')][_0x283e('0x21')](_0x12aa91=>{for(const _0x12b70c of this[_0x283e('0x2f')]())_0x12aa91[_0x283e('0x2')](_0x12b70c);}),this[_0x283e('0x17')]['clear']();}[_0x283e('0x2')](_0x26dd8f){this[_0x283e('0x27')][_0x283e('0x21')](_0x29da67=>{_0x29da67[_0x283e('0x2')](_0x26dd8f);}),this[_0x283e('0x17')][_0x283e('0x3a')](_0x26dd8f);}[_0x283e('0xd')](_0x24a2e3){const _0x267c5e=_0x283e('0x0')+this[_0x283e('0x20')]+':'+this['subType']+':'+this['id']+':'+this[_0x283e('0x25')]['id']+':'+u[_0x283e('0x3e')]();this[_0x283e('0x2a')](_0x267c5e),this['_model'][_0x283e('0x21')](_0x14ce8e=>{_0x14ce8e[_0x283e('0x5')](_0x267c5e,{'range':_0x24a2e3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x283e('0x7')](_0x433d49){for(const _0x50d7c4 of this[_0x283e('0x35')]())if(_0x50d7c4[_0x283e('0x6')](_0x433d49))return!0x0;return!0x1;}[_0x283e('0x35')](){return this[_0x283e('0x2f')]()[_0x283e('0x3')](_0x5d810c=>_0x5d810c[_0x283e('0x32')]());}[_0x283e('0x1a')](){return this[_0x283e('0x35')]()[_0x283e('0x4')]((_0x16de77,_0x41e92b)=>[..._0x16de77,..._0x41e92b[_0x283e('0x1a')]()],[]);}[_0x283e('0x3d')](){var _0x23a990;return(null===(_0x23a990=this[_0x283e('0x19')]())||void 0x0===_0x23a990?void 0x0:_0x23a990['getRange']())||null;}[_0x283e('0x1c')](){const _0x338865=this[_0x283e('0x35')]();if(0x1!=_0x338865['length'])return null;const _0x3b7b49=_0x338865[0x0],_0x344059=_0x3b7b49[_0x283e('0x15')][_0x283e('0x3b')],_0x5db468=_0x3b7b49['end'][_0x283e('0xe')];return _0x344059 instanceof _0x23cce4?_0x344059!=_0x5db468?null:_0x344059:null;}[_0x283e('0x1d')](){this[_0x283e('0x23')](this[_0x283e('0x35')](),this[_0x283e('0x9')],this[_0x283e('0x10')]),this[_0x283e('0x1b')]();}['discard'](){this['_onDiscard'](this[_0x283e('0x35')](),this['data'],this[_0x283e('0x10')]),this[_0x283e('0x1b')]();}[_0x283e('0x16')](){const _0x4dcb42=[];let _0x4377c6=this[_0x283e('0x30')];for(;_0x4377c6;)_0x4dcb42[_0x283e('0x2d')](_0x4377c6),_0x4377c6=_0x4377c6[_0x283e('0x1e')];return _0x4dcb42;}[_0x283e('0x38')](_0xe47e81,_0x1c335f){const _0x1d449a=_0x2675b5(this['attributes']);_0x2487ea(_0x1d449a,_0xe47e81,_0x1c335f),_0x2ae52a(_0x1d449a,this[_0x283e('0x10')])||(this[_0x283e('0x10')]=_0x1d449a,this['_onAttributesChange'](_0x1d449a));}[_0x283e('0x1f')](_0x42d247){const _0x1c8ebd=_0x2675b5(this[_0x283e('0x10')]);_0x29242c(_0x1c8ebd,_0x42d247),_0x2ae52a(_0x1c8ebd,this[_0x283e('0x10')])||(this[_0x283e('0x10')]=_0x1c8ebd,this[_0x283e('0x36')](this[_0x283e('0x10')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x283e('0x1')]?this['type']+':'+this[_0x283e('0x1')]:this[_0x283e('0x20')],'authorId':this['creator']['id'],'createdAt':this[_0x283e('0x34')],'hasComments':this[_0x283e('0xa')],'data':this[_0x283e('0x9')],'attributes':this[_0x283e('0x10')]};}static[_0x283e('0x3e')](){return _0x26bcbd()[_0x283e('0x12')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4af1=['type','name','nextSibling','_customCallbacks','start','_schema','_addDescriptionItems','elementStart','isEmpty','function','*Merge:*\x20%0','ELEMENT_SPACE','text','deletion','getDescriptions','*Insert:*\x20%0','skip','previousSibling','end','elementEnd','label','data','indexOf','isEqual','isInContent','match','replace','$textProxy','getFirstRange','insertion','softBreak','_itemLabelsCallbacks','$1\x20$2','*Remove:*\x20%0','registerDescriptionCallback','push','removeContainer','Object','matchingCallback','item','element','isObject','EmptyContainer','getWalker','pop','_resolveDescriptionItems','addObject','get','set','$text','*Split:*\x20%0','addContainer','getItemLabel','_itemLabels','quantity','Container','length','add','remove','_locale'];(function(_0x526831,_0x4af1fa){const _0x1cb0f5=function(_0x13b723){while(--_0x13b723){_0x526831['push'](_0x526831['shift']());}};_0x1cb0f5(++_0x4af1fa);}(_0x4af1,0x1be));const _0x1cb0=function(_0x526831,_0x4af1fa){_0x526831=_0x526831-0x0;let _0x1cb0f5=_0x4af1[_0x526831];return _0x1cb0f5;};import{getTranslation as _0x45f659}from'./utils/common-translations';import{priorities as _0x36d156,insertToPriorityArray as _0x2f6639}from'ckeditor5/src/utils';export default class m{constructor(_0x25a9cb,_0x30769e){this[_0x1cb0('0x25')]=[],this[_0x1cb0('0x1b')]=new Map(),this[_0x1cb0('0x5')]=[],this[_0x1cb0('0x27')]=_0x25a9cb,this[_0x1cb0('0x21')]=_0x30769e;}[_0x1cb0('0x30')](_0x2466a1){const _0x3faf5d=[];for(let _0x24b4eb=0x0;_0x24b4eb<_0x2466a1[_0x1cb0('0x1e')];_0x24b4eb++){const _0x2cc6e3=_0x2466a1[_0x24b4eb];if(!_0x2cc6e3[_0x1cb0('0x3a')])continue;let _0x220e3b=!0x1;for(const _0x4ddb46 of this[_0x1cb0('0x25')]){const _0x20af01=_0x4ddb46(_0x2cc6e3);if(_0x20af01){'type'in _0x20af01&&_0x3faf5d[_0x1cb0('0x9')](_0x20af01),_0x220e3b=!0x0;break;}}if(!_0x220e3b){this[_0x1cb0('0x28')](_0x3faf5d,_0x2cc6e3);const _0x20ae25=_0x2466a1[_0x24b4eb+0x1];if(_0x20ae25&&!_0x2cc6e3[_0x1cb0('0x2')]()[_0x1cb0('0x34')][_0x1cb0('0x39')](_0x20ae25[_0x1cb0('0x2')]()[_0x1cb0('0x26')])){const _0x4b02c8=_0x3faf5d[_0x3faf5d[_0x1cb0('0x1e')]-0x1],_0x5a02a4=_0x1cb0('0x3')==_0x2cc6e3[_0x1cb0('0x22')]?'add':_0x1cb0('0x20');_0x4b02c8&&_0x1cb0('0x2e')==_0x4b02c8[_0x1cb0('0x22')]&&(_0x4b02c8[_0x5a02a4]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x3faf5d);}[_0x1cb0('0x8')](_0x49f6fe){this[_0x1cb0('0x25')][_0x1cb0('0x9')](_0x49f6fe);}['registerElementLabel'](_0x378022,_0x2f32e0,_0x48949c=_0x36d156['normal']){_0x1cb0('0x2b')==typeof _0x378022?_0x2f6639(this[_0x1cb0('0x5')],{'matchingCallback':_0x378022,'label':_0x2f32e0,'priority':_0x48949c}):this['_itemLabels'][_0x1cb0('0x16')](_0x378022,_0x2f32e0);}['getItemLabel'](_0x1b8ea3,_0x596547=0x1){let _0x3cd627;for(const _0x4da79a of this[_0x1cb0('0x5')])if(_0x4da79a[_0x1cb0('0xc')](_0x1b8ea3)){_0x3cd627=_0x4da79a[_0x1cb0('0x36')];break;}return _0x3cd627||(_0x3cd627=this[_0x1cb0('0x1b')][_0x1cb0('0x15')](_0x1b8ea3[_0x1cb0('0x23')])),_0x3cd627?_0x3cd627(_0x596547):0x1!==_0x596547?_0x596547+'\x20'+_0x1b8ea3[_0x1cb0('0x23')]+'s':''+_0x1b8ea3[_0x1cb0('0x23')];}['_addDescriptionItems'](_0x5d4d1b,_0x3edff3){const _0xd0942a=_0x3edff3[_0x1cb0('0x2')]()[_0x1cb0('0x11')](),_0xdeaf85=_0x1cb0('0x3')==_0x3edff3[_0x1cb0('0x22')]?'add':_0x1cb0('0x20');for(const _0x22d850 of _0xd0942a){const _0x570f62=_0x22d850[_0x1cb0('0xd')],_0x46a3f5=_0x5d4d1b[_0x5d4d1b[_0x1cb0('0x1e')]-0x1];if(_0x570f62['is'](_0x1cb0('0x1')))_0x46a3f5&&_0x46a3f5['type']['indexOf'](_0x1cb0('0x1d'))>-0x1&&_0x5d4d1b[_0x1cb0('0x12')](),_0x46a3f5&&_0x1cb0('0x2e')==_0x46a3f5['type']?_0x46a3f5[_0xdeaf85]+=_0x570f62[_0x1cb0('0x37')]:_0x5d4d1b['push']({'type':_0x1cb0('0x2e'),'add':'add'==_0xdeaf85?_0x570f62['data']:'','remove':_0x1cb0('0x20')==_0xdeaf85?_0x570f62['data']:''});else{if(this[_0x1cb0('0x27')][_0x1cb0('0xf')](_0x570f62)){const _0xa042bf=_0x570f62;if(_0x46a3f5&&_0x46a3f5[_0x1cb0('0x22')]['indexOf'](_0x1cb0('0x1d'))>-0x1&&_0x5d4d1b[_0x1cb0('0x12')](),_0x1cb0('0x35')==_0x22d850[_0x1cb0('0x22')])continue;_0x46a3f5&&_0x46a3f5['type']==_0xdeaf85+'Object'&&_0x46a3f5[_0x1cb0('0xe')][_0x1cb0('0x23')]==_0xa042bf['name']?_0x46a3f5['quantity']++:_0x5d4d1b[_0x1cb0('0x9')]({'type':_0xdeaf85+_0x1cb0('0xb'),'element':_0xa042bf,'quantity':0x1}),_0xd0942a[_0x1cb0('0x32')](_0x2c5a01=>!('elementEnd'==_0x2c5a01['type']&&_0x2c5a01[_0x1cb0('0xd')]==_0x570f62));}else{if(this[_0x1cb0('0x27')]['checkChild'](_0x570f62,_0x1cb0('0x17'))||_0x570f62['is'](_0x1cb0('0xe'),_0x1cb0('0x4'))){const _0x245f89=_0x570f62;if(_0x1cb0('0x1f')==_0xdeaf85&&_0x1cb0('0x29')==_0x22d850[_0x1cb0('0x22')]||'remove'==_0xdeaf85&&_0x1cb0('0x35')==_0x22d850[_0x1cb0('0x22')])continue;if(_0x46a3f5&&-0x1==_0x46a3f5[_0x1cb0('0x22')][_0x1cb0('0x38')](_0x1cb0('0x1d'))){_0x1cb0('0x2e')==_0x46a3f5[_0x1cb0('0x22')]&&(_0x46a3f5[_0xdeaf85]+='\x0a');continue;}let _0x1ea03c;if(_0x1ea03c=_0x1cb0('0x1f')==_0xdeaf85?_0x245f89['nextSibling']&&!this[_0x1cb0('0x27')][_0x1cb0('0xf')](_0x245f89['nextSibling'])?_0x245f89[_0x1cb0('0x24')]:null:_0x245f89[_0x1cb0('0x33')]&&!this['_schema'][_0x1cb0('0xf')](_0x245f89[_0x1cb0('0x33')])?_0x245f89[_0x1cb0('0x33')]:null,_0x245f89[_0x1cb0('0x2a')]||_0x1ea03c&&_0x1ea03c[_0x1cb0('0x2a')]){const _0xa261f8=_0x1ea03c&&_0x1ea03c[_0x1cb0('0x2a')]?_0x1ea03c:_0x245f89;_0x46a3f5&&_0x46a3f5['type']==_0xdeaf85+_0x1cb0('0x10')&&_0x46a3f5[_0x1cb0('0xe')][_0x1cb0('0x23')]==_0xa261f8[_0x1cb0('0x23')]?_0x46a3f5[_0x1cb0('0x1c')]++:_0x5d4d1b[_0x1cb0('0x9')]({'type':_0xdeaf85+'EmptyContainer','element':_0xa261f8,'quantity':0x1});}else _0x5d4d1b['push']({'type':_0xdeaf85+_0x1cb0('0x1d'),'element':_0x245f89});}}}}}[_0x1cb0('0x13')](_0xca3dc6){const _0x52818f=this[_0x1cb0('0x21')],_0x50033e=[];for(const _0x27efe6 of _0xca3dc6){switch(_0x27efe6[_0x1cb0('0x22')]){case _0x1cb0('0x2e'):if(_0x27efe6[_0x1cb0('0x1f')]=_0x27efe6[_0x1cb0('0x1f')][_0x1cb0('0x0')](/(\S)\u000A+(\S)/g,_0x1cb0('0x6'))['replace'](/\u000A/g,''),_0x27efe6['remove']=_0x27efe6[_0x1cb0('0x20')][_0x1cb0('0x0')](/(\S)\u000A+(\S)/g,_0x1cb0('0x6'))[_0x1cb0('0x0')](/\u000A/g,''),''!=_0x27efe6['add']&&''!=_0x27efe6['remove']){_0x50033e['push']({'type':_0x1cb0('0x0'),'content':_0x45f659(_0x52818f,'REPLACE_TEXT',['\x22'+_0x27efe6[_0x1cb0('0x20')]+'\x22','\x22'+_0x27efe6[_0x1cb0('0x1f')]+'\x22'])});continue;}if(null!=_0x27efe6[_0x1cb0('0x1f')][_0x1cb0('0x3b')](/^ +$/)){_0x50033e['push']({'type':'insertion','content':_0x45f659(_0x52818f,'*Insert:*\x20%0',_0x45f659(_0x52818f,_0x1cb0('0x2d'),_0x27efe6[_0x1cb0('0x1f')][_0x1cb0('0x1e')]))});continue;}if(null!=_0x27efe6[_0x1cb0('0x20')]['match'](/^ +$/)){_0x50033e[_0x1cb0('0x9')]({'type':_0x1cb0('0x2f'),'content':_0x45f659(_0x52818f,_0x1cb0('0x7'),_0x45f659(_0x52818f,_0x1cb0('0x2d'),_0x27efe6[_0x1cb0('0x20')][_0x1cb0('0x1e')]))});continue;}if(''!=_0x27efe6['add']){_0x50033e[_0x1cb0('0x9')]({'type':_0x1cb0('0x3'),'content':_0x45f659(_0x52818f,_0x1cb0('0x31'),'\x22'+_0x27efe6['add']+'\x22')});continue;}_0x50033e[_0x1cb0('0x9')]({'type':'deletion','content':_0x45f659(_0x52818f,_0x1cb0('0x7'),'\x22'+_0x27efe6[_0x1cb0('0x20')]+'\x22')});continue;case'addEmptyContainer':case _0x1cb0('0x14'):_0x50033e[_0x1cb0('0x9')]({'type':_0x1cb0('0x3'),'content':_0x45f659(_0x52818f,'*Insert:*\x20%0',this[_0x1cb0('0x1a')](_0x27efe6[_0x1cb0('0xe')],_0x27efe6['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x50033e['push']({'type':'deletion','content':_0x45f659(_0x52818f,_0x1cb0('0x7'),this[_0x1cb0('0x1a')](_0x27efe6['element'],_0x27efe6[_0x1cb0('0x1c')]))});continue;case _0x1cb0('0x19'):_0x50033e[_0x1cb0('0x9')]({'type':_0x1cb0('0x3'),'content':_0x45f659(_0x52818f,_0x1cb0('0x18'),this['getItemLabel'](_0x27efe6[_0x1cb0('0xe')],_0x27efe6[_0x1cb0('0x1c')]))});continue;case _0x1cb0('0xa'):_0x50033e['push']({'type':_0x1cb0('0x2f'),'content':_0x45f659(_0x52818f,_0x1cb0('0x2c'),this[_0x1cb0('0x1a')](_0x27efe6[_0x1cb0('0xe')],_0x27efe6[_0x1cb0('0x1c')]))});continue;}_0x50033e['push'](_0x27efe6);}return _0x50033e;}}
23
+ const _0x4edd=['end','skip','match','previousSibling','deletion','type','normal','getItemLabel','isInContent','isEmpty','registerDescriptionCallback','push','checkChild','isObject','nextSibling','function','length','element','Object','isEqual','start','text','quantity','insertion','remove','data','replace','REPLACE_TEXT','item','*Insert:*\x20%0','getWalker','_itemLabels','_itemLabelsCallbacks','*Split:*\x20%0','_customCallbacks','elementEnd','add','removeObject','ELEMENT_SPACE','name','getDescriptions','get','_schema','_addDescriptionItems','Container','_resolveDescriptionItems','addObject','indexOf','getFirstRange','elementStart','removeEmptyContainer','_locale','*Remove:*\x20%0','addContainer','registerElementLabel','$1\x20$2'];(function(_0x88ac45,_0x4eddf8){const _0x4205df=function(_0xee1eb1){while(--_0xee1eb1){_0x88ac45['push'](_0x88ac45['shift']());}};_0x4205df(++_0x4eddf8);}(_0x4edd,0x87));const _0x4205=function(_0x88ac45,_0x4eddf8){_0x88ac45=_0x88ac45-0x0;let _0x4205df=_0x4edd[_0x88ac45];return _0x4205df;};import{getTranslation as _0x5e7a4b}from'./utils/common-translations';import{priorities as _0x10a2bb,insertToPriorityArray as _0x3335e1}from'ckeditor5/src/utils';export default class m{constructor(_0x4df560,_0x5ea75b){this[_0x4205('0xb')]=[],this[_0x4205('0x8')]=new Map(),this[_0x4205('0x9')]=[],this['_schema']=_0x4df560,this[_0x4205('0x1c')]=_0x5ea75b;}[_0x4205('0x11')](_0x110356){const _0x159788=[];for(let _0x4718f1=0x0;_0x4718f1<_0x110356[_0x4205('0x31')];_0x4718f1++){const _0xa7ebb2=_0x110356[_0x4718f1];if(!_0xa7ebb2[_0x4205('0x29')])continue;let _0x2469c3=!0x1;for(const _0x5e6d76 of this[_0x4205('0xb')]){const _0x4758e5=_0x5e6d76(_0xa7ebb2);if(_0x4758e5){'type'in _0x4758e5&&_0x159788[_0x4205('0x2c')](_0x4758e5),_0x2469c3=!0x0;break;}}if(!_0x2469c3){this[_0x4205('0x14')](_0x159788,_0xa7ebb2);const _0x4916d3=_0x110356[_0x4718f1+0x1];if(_0x4916d3&&!_0xa7ebb2[_0x4205('0x19')]()[_0x4205('0x21')][_0x4205('0x34')](_0x4916d3[_0x4205('0x19')]()[_0x4205('0x35')])){const _0x561305=_0x159788[_0x159788['length']-0x1],_0x4ee78a=_0x4205('0x0')==_0xa7ebb2['type']?_0x4205('0xd'):'remove';_0x561305&&'text'==_0x561305['type']&&(_0x561305[_0x4ee78a]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x159788);}[_0x4205('0x2b')](_0x4e9b8d){this[_0x4205('0xb')][_0x4205('0x2c')](_0x4e9b8d);}[_0x4205('0x1f')](_0x58f988,_0x47d4e1,_0x2814b3=_0x10a2bb[_0x4205('0x27')]){_0x4205('0x30')==typeof _0x58f988?_0x3335e1(this['_itemLabelsCallbacks'],{'matchingCallback':_0x58f988,'label':_0x47d4e1,'priority':_0x2814b3}):this[_0x4205('0x8')]['set'](_0x58f988,_0x47d4e1);}[_0x4205('0x28')](_0x3ff494,_0x2ff040=0x1){let _0x2a15c0;for(const _0x2ae108 of this[_0x4205('0x9')])if(_0x2ae108['matchingCallback'](_0x3ff494)){_0x2a15c0=_0x2ae108['label'];break;}return _0x2a15c0||(_0x2a15c0=this[_0x4205('0x8')][_0x4205('0x12')](_0x3ff494['name'])),_0x2a15c0?_0x2a15c0(_0x2ff040):0x1!==_0x2ff040?_0x2ff040+'\x20'+_0x3ff494[_0x4205('0x10')]+'s':''+_0x3ff494['name'];}['_addDescriptionItems'](_0x49abff,_0x2d9244){const _0x3a65bf=_0x2d9244[_0x4205('0x19')]()[_0x4205('0x7')](),_0x248cb9=_0x4205('0x0')==_0x2d9244[_0x4205('0x26')]?_0x4205('0xd'):_0x4205('0x1');for(const _0x3c93b8 of _0x3a65bf){const _0x506c05=_0x3c93b8[_0x4205('0x5')],_0x5913e4=_0x49abff[_0x49abff[_0x4205('0x31')]-0x1];if(_0x506c05['is']('$textProxy'))_0x5913e4&&_0x5913e4['type']['indexOf'](_0x4205('0x15'))>-0x1&&_0x49abff['pop'](),_0x5913e4&&_0x4205('0x36')==_0x5913e4['type']?_0x5913e4[_0x248cb9]+=_0x506c05[_0x4205('0x2')]:_0x49abff[_0x4205('0x2c')]({'type':_0x4205('0x36'),'add':_0x4205('0xd')==_0x248cb9?_0x506c05[_0x4205('0x2')]:'','remove':'remove'==_0x248cb9?_0x506c05[_0x4205('0x2')]:''});else{if(this[_0x4205('0x13')][_0x4205('0x2e')](_0x506c05)){const _0x5c7fbd=_0x506c05;if(_0x5913e4&&_0x5913e4['type'][_0x4205('0x18')]('Container')>-0x1&&_0x49abff['pop'](),_0x4205('0xc')==_0x3c93b8[_0x4205('0x26')])continue;_0x5913e4&&_0x5913e4['type']==_0x248cb9+_0x4205('0x33')&&_0x5913e4[_0x4205('0x32')][_0x4205('0x10')]==_0x5c7fbd[_0x4205('0x10')]?_0x5913e4[_0x4205('0x37')]++:_0x49abff[_0x4205('0x2c')]({'type':_0x248cb9+_0x4205('0x33'),'element':_0x5c7fbd,'quantity':0x1}),_0x3a65bf[_0x4205('0x22')](_0x111893=>!(_0x4205('0xc')==_0x111893[_0x4205('0x26')]&&_0x111893['item']==_0x506c05));}else{if(this[_0x4205('0x13')][_0x4205('0x2d')](_0x506c05,'$text')||_0x506c05['is']('element','softBreak')){const _0x61fbc0=_0x506c05;if(_0x4205('0xd')==_0x248cb9&&_0x4205('0x1a')==_0x3c93b8[_0x4205('0x26')]||_0x4205('0x1')==_0x248cb9&&'elementEnd'==_0x3c93b8[_0x4205('0x26')])continue;if(_0x5913e4&&-0x1==_0x5913e4[_0x4205('0x26')][_0x4205('0x18')](_0x4205('0x15'))){_0x4205('0x36')==_0x5913e4['type']&&(_0x5913e4[_0x248cb9]+='\x0a');continue;}let _0x3a701f;if(_0x3a701f=_0x4205('0xd')==_0x248cb9?_0x61fbc0[_0x4205('0x2f')]&&!this[_0x4205('0x13')][_0x4205('0x2e')](_0x61fbc0[_0x4205('0x2f')])?_0x61fbc0['nextSibling']:null:_0x61fbc0[_0x4205('0x24')]&&!this[_0x4205('0x13')][_0x4205('0x2e')](_0x61fbc0[_0x4205('0x24')])?_0x61fbc0['previousSibling']:null,_0x61fbc0[_0x4205('0x2a')]||_0x3a701f&&_0x3a701f[_0x4205('0x2a')]){const _0x471aeb=_0x3a701f&&_0x3a701f['isEmpty']?_0x3a701f:_0x61fbc0;_0x5913e4&&_0x5913e4[_0x4205('0x26')]==_0x248cb9+'EmptyContainer'&&_0x5913e4[_0x4205('0x32')][_0x4205('0x10')]==_0x471aeb[_0x4205('0x10')]?_0x5913e4[_0x4205('0x37')]++:_0x49abff['push']({'type':_0x248cb9+'EmptyContainer','element':_0x471aeb,'quantity':0x1});}else _0x49abff[_0x4205('0x2c')]({'type':_0x248cb9+_0x4205('0x15'),'element':_0x61fbc0});}}}}}[_0x4205('0x16')](_0x17cea1){const _0x220679=this[_0x4205('0x1c')],_0x3ba2d8=[];for(const _0x58030c of _0x17cea1){switch(_0x58030c[_0x4205('0x26')]){case _0x4205('0x36'):if(_0x58030c[_0x4205('0xd')]=_0x58030c[_0x4205('0xd')][_0x4205('0x3')](/(\S)\u000A+(\S)/g,_0x4205('0x20'))[_0x4205('0x3')](/\u000A/g,''),_0x58030c['remove']=_0x58030c[_0x4205('0x1')][_0x4205('0x3')](/(\S)\u000A+(\S)/g,_0x4205('0x20'))[_0x4205('0x3')](/\u000A/g,''),''!=_0x58030c['add']&&''!=_0x58030c[_0x4205('0x1')]){_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x3'),'content':_0x5e7a4b(_0x220679,_0x4205('0x4'),['\x22'+_0x58030c['remove']+'\x22','\x22'+_0x58030c[_0x4205('0xd')]+'\x22'])});continue;}if(null!=_0x58030c[_0x4205('0xd')][_0x4205('0x23')](/^ +$/)){_0x3ba2d8[_0x4205('0x2c')]({'type':'insertion','content':_0x5e7a4b(_0x220679,'*Insert:*\x20%0',_0x5e7a4b(_0x220679,_0x4205('0xf'),_0x58030c['add'][_0x4205('0x31')]))});continue;}if(null!=_0x58030c['remove'][_0x4205('0x23')](/^ +$/)){_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),_0x5e7a4b(_0x220679,_0x4205('0xf'),_0x58030c[_0x4205('0x1')]['length']))});continue;}if(''!=_0x58030c[_0x4205('0xd')]){_0x3ba2d8[_0x4205('0x2c')]({'type':'insertion','content':_0x5e7a4b(_0x220679,_0x4205('0x6'),'\x22'+_0x58030c[_0x4205('0xd')]+'\x22')});continue;}_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),'\x22'+_0x58030c[_0x4205('0x1')]+'\x22')});continue;case'addEmptyContainer':case _0x4205('0x17'):_0x3ba2d8['push']({'type':_0x4205('0x0'),'content':_0x5e7a4b(_0x220679,_0x4205('0x6'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case _0x4205('0x1b'):case _0x4205('0xe'):_0x3ba2d8['push']({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case _0x4205('0x1e'):_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x0'),'content':_0x5e7a4b(_0x220679,_0x4205('0xa'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case'removeContainer':_0x3ba2d8['push']({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,'*Merge:*\x20%0',this[_0x4205('0x28')](_0x58030c['element'],_0x58030c[_0x4205('0x37')]))});continue;}_0x3ba2d8[_0x4205('0x2c')](_0x58030c);}return _0x3ba2d8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53bc=['getSuggestions','get','getSuggestion','Comments','addSuggestionData','plugins','adapter','editor','addSuggestion'];(function(_0x306867,_0x53bc66){var _0x174d2e=function(_0x2a08e5){while(--_0x2a08e5){_0x306867['push'](_0x306867['shift']());}};_0x174d2e(++_0x53bc66);}(_0x53bc,0x12f));var _0x174d=function(_0x306867,_0x53bc66){_0x306867=_0x306867-0x0;var _0x174d2e=_0x53bc[_0x306867];return _0x174d2e;};import{Plugin as _0x34feae}from'ckeditor5/src/core';import _0x60b3dc from'./trackchangesui';import _0x3691ff from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x34feae{static get['requires'](){return[_0x3691ff,_0x60b3dc,_0x174d('0x6')];}static get['pluginName'](){return'TrackChanges';}set[_0x174d('0x0')](_0x4e6395){this[_0x174d('0x1')]['plugins'][_0x174d('0x4')](_0x3691ff)[_0x174d('0x0')]=_0x4e6395;}get[_0x174d('0x0')](){return this[_0x174d('0x1')][_0x174d('0x8')][_0x174d('0x4')](_0x3691ff)[_0x174d('0x0')];}[_0x174d('0x2')](_0x531117){return this[_0x174d('0x1')]['plugins']['get'](_0x3691ff)[_0x174d('0x7')](_0x531117);}[_0x174d('0x3')]({skipNotAttached:_0x1acba3=!0x1,toJSON:_0x8cac76=!0x1}={}){return this[_0x174d('0x1')][_0x174d('0x8')]['get'](_0x3691ff)[_0x174d('0x3')]({'skipNotAttached':_0x1acba3,'toJSON':_0x8cac76});}[_0x174d('0x5')](_0x4d5e2c){return this[_0x174d('0x1')][_0x174d('0x8')]['get'](_0x3691ff)['getSuggestion'](_0x4d5e2c);}}
23
+ var _0x2ad6=['getSuggestions','adapter','Comments','TrackChanges','plugins','addSuggestion','requires','editor','get','addSuggestionData','getSuggestion'];(function(_0x1b5936,_0x2ad646){var _0x3c4413=function(_0x578c9d){while(--_0x578c9d){_0x1b5936['push'](_0x1b5936['shift']());}};_0x3c4413(++_0x2ad646);}(_0x2ad6,0xd6));var _0x3c44=function(_0x1b5936,_0x2ad646){_0x1b5936=_0x1b5936-0x0;var _0x3c4413=_0x2ad6[_0x1b5936];return _0x3c4413;};import{Plugin as _0x28ba60}from'ckeditor5/src/core';import _0x266104 from'./trackchangesui';import _0x57df86 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x28ba60{static get[_0x3c44('0x1')](){return[_0x57df86,_0x266104,_0x3c44('0x8')];}static get['pluginName'](){return _0x3c44('0x9');}set[_0x3c44('0x7')](_0x12f3f8){this[_0x3c44('0x2')][_0x3c44('0xa')][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x7')]=_0x12f3f8;}get[_0x3c44('0x7')](){return this[_0x3c44('0x2')][_0x3c44('0xa')][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x7')];}[_0x3c44('0x0')](_0x10c17b){return this[_0x3c44('0x2')][_0x3c44('0xa')]['get'](_0x57df86)[_0x3c44('0x4')](_0x10c17b);}[_0x3c44('0x6')]({skipNotAttached:_0x724940=!0x1,toJSON:_0x42487a=!0x1}={}){return this[_0x3c44('0x2')]['plugins'][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x6')]({'skipNotAttached':_0x724940,'toJSON':_0x42487a});}[_0x3c44('0x5')](_0x52d7a7){return this[_0x3c44('0x2')]['plugins'][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x5')](_0x52d7a7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e39=['execute','getSuggestions','document','requires','getFullData','appendChild','trackChangesData','plugins','pluginName','data','editor','getRootsAttributes','TrackChangesEditing','constructor','name','createElement','reduce','track-changes-data-invalid-editor-creator','function','set','div','init','end','trackChangesData.editorCreator','result','getUser','_adapter','map','discardAllSuggestions','CommentsRepository','editorCreator','define','getDataWithAcceptedSuggestions','Users','rootsAttributes','model','get','addSuggestionData','config','getRootNames','getDataWithDiscardedSuggestions','createDocumentFragment','Pagination','acceptAllSuggestions'];(function(_0x1043aa,_0x2e3941){const _0x123145=function(_0xad617b){while(--_0xad617b){_0x1043aa['push'](_0x1043aa['shift']());}};_0x123145(++_0x2e3941);}(_0x2e39,0x68));const _0x1231=function(_0x1043aa,_0x2e3941){_0x1043aa=_0x1043aa-0x0;let _0x123145=_0x2e39[_0x1043aa];return _0x123145;};import{Plugin as _0x696f82}from'ckeditor5/src/core';import{CKEditorError as _0x371593}from'ckeditor5/src/utils';import _0x3140f3 from'./trackchangesediting';import{sanitizeEditorConfig as _0x66d3f8}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x1231('0x1a')];export default class T extends _0x696f82{static get[_0x1231('0x1f')](){return[_0x3140f3];}static get[_0x1231('0x24')](){return'TrackChangesData';}['init'](){const _0x36a5a3=this[_0x1231('0x26')];if(_0x36a5a3[_0x1231('0x16')][_0x1231('0xf')](_0x1231('0x7'),_0x45fcbc=>{const _0x2d2a66=_0x36a5a3[_0x1231('0x13')][_0x1231('0x1e')]['getRootNames']()[_0x1231('0x0')]((_0x346c0a,_0xb36401)=>(_0x346c0a[_0xb36401]='',_0x346c0a),{});return _0x36a5a3[_0x1231('0x29')]['create'](_0x2d2a66,_0x45fcbc);}),_0x1231('0x2')!=typeof _0x36a5a3[_0x1231('0x16')]['get'](_0x1231('0x22'))[_0x1231('0xe')])throw new _0x371593(_0x1231('0x1'));}[_0x1231('0x10')](_0x5d77c6){return v(this[_0x1231('0x26')],!0x0,_0x5d77c6);}[_0x1231('0x18')](_0x598cde){return v(this['editor'],!0x1,_0x598cde);}}class P extends _0x696f82{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0x396907){super(_0x396907),this[_0x1231('0x8')]=_0x1231('0x6');}[_0x1231('0x5')](){this[_0x1231('0x26')][_0x1231('0x23')]['get'](_0x1231('0xd'))[_0x1231('0xa')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x1231('0x23')][_0x1231('0x14')](_0x1231('0x28'))[_0x1231('0xa')]=null;}}function D(_0x1d2553){return void 0x0!==_0x1d2553['getRootsAttributes'];}async function v(_0x449732,_0x1e70a4,_0x1208cd){const _0x2f0b25=_0x66d3f8(_0x449732,w);_0x2f0b25[_0x1231('0x23')]['push'](_0x3140f3,P),_0x2f0b25[_0x1231('0x12')]=D(_0x449732)?_0x449732[_0x1231('0x27')]():void 0x0;const _0x3dfce5=document[_0x1231('0x19')](),_0x3968a9=_0x449732[_0x1231('0x16')][_0x1231('0x14')](_0x1231('0x22'))['editorCreator'],_0x29dc2c=await _0x3968a9(_0x2f0b25,()=>function(_0x40c8de){const _0x4348b1=document[_0x1231('0x2b')](_0x1231('0x4'));return _0x40c8de[_0x1231('0x21')](_0x4348b1),_0x4348b1;}(_0x3dfce5));!function(_0x18e32a,_0x4389f5){const _0x384b5c=_0x18e32a[_0x1231('0x13')][_0x1231('0x1e')][_0x1231('0x17')]()['reduce']((_0x10a68f,_0x2bfae7)=>(_0x10a68f[_0x2bfae7]=_0x18e32a['data'][_0x1231('0x14')]({'rootName':_0x2bfae7}),_0x10a68f),{}),_0x5f4fd9=_0x18e32a[_0x1231('0x23')]['get'](_0x1231('0x11'))['users'][_0x1231('0xb')](_0x1f54a0=>({'id':_0x1f54a0['id'],'name':_0x1f54a0[_0x1231('0x2a')]})),_0x1d6fee=_0x18e32a[_0x1231('0x23')][_0x1231('0x14')](_0x1231('0x28'))[_0x1231('0x1d')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3451c8=_0x4389f5[_0x1231('0x23')][_0x1231('0x14')](_0x1231('0x11')),_0x53ce1b=_0x4389f5[_0x1231('0x23')][_0x1231('0x14')](_0x1231('0x28'));for(const _0x15b6e0 of _0x5f4fd9)_0x3451c8[_0x1231('0x9')](_0x15b6e0['id'])||_0x3451c8['addUser'](_0x15b6e0);_0x3451c8['me']||_0x3451c8['useAnonymousUser']();for(const _0x206380 of _0x1d6fee)_0x53ce1b[_0x1231('0x15')](_0x206380);_0x4389f5[_0x1231('0x25')][_0x1231('0x3')](_0x384b5c);}(_0x449732,_0x29dc2c),_0x29dc2c[_0x1231('0x1c')](_0x1e70a4?_0x1231('0x1b'):_0x1231('0xc'));const _0x28346e=D(_0x29dc2c)?_0x29dc2c[_0x1231('0x20')](_0x1208cd):_0x29dc2c['data'][_0x1231('0x14')](_0x1208cd);return await _0x29dc2c['destroy'](),_0x28346e;}
23
+ const _0x17a3=['trackChangesData.editorCreator','config','name','constructor','getRootNames','data','useAnonymousUser','_adapter','set','end','TrackChangesEditing','CommentsRepository','push','Users','get','getRootsAttributes','editor','getUser','rootsAttributes','create','requires','createDocumentFragment','getDataWithAcceptedSuggestions','createElement','TrackChangesData','addSuggestionData','result','editorCreator','pluginName','document','define','init','TrackChangesDataGetter','trackChangesData','reduce','plugins','model','getFullData','div','addUser','acceptAllSuggestions','track-changes-data-invalid-editor-creator','function'];(function(_0x55dda8,_0x17a364){const _0x2c3c0c=function(_0x2086f4){while(--_0x2086f4){_0x55dda8['push'](_0x55dda8['shift']());}};_0x2c3c0c(++_0x17a364);}(_0x17a3,0x1cd));const _0x2c3c=function(_0x55dda8,_0x17a364){_0x55dda8=_0x55dda8-0x0;let _0x2c3c0c=_0x17a3[_0x55dda8];return _0x2c3c0c;};import{Plugin as _0x43bea4}from'ckeditor5/src/core';import{CKEditorError as _0x2cca19}from'ckeditor5/src/utils';import _0x50f969 from'./trackchangesediting';import{sanitizeEditorConfig as _0x52741a}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x43bea4{static get[_0x2c3c('0x20')](){return[_0x50f969];}static get[_0x2c3c('0x28')](){return _0x2c3c('0x24');}[_0x2c3c('0x0')](){const _0x45bb73=this[_0x2c3c('0x1c')];if(_0x45bb73['config'][_0x2c3c('0x2a')](_0x2c3c('0xc'),_0x444936=>{const _0x370ad5=_0x45bb73['model'][_0x2c3c('0x29')][_0x2c3c('0x10')]()['reduce']((_0x6eb257,_0x39e895)=>(_0x6eb257[_0x39e895]='',_0x6eb257),{});return _0x45bb73[_0x2c3c('0xf')][_0x2c3c('0x1f')](_0x370ad5,_0x444936);}),_0x2c3c('0xb')!=typeof _0x45bb73['config'][_0x2c3c('0x1a')]('trackChangesData')[_0x2c3c('0x27')])throw new _0x2cca19(_0x2c3c('0xa'));}[_0x2c3c('0x22')](_0x496f7b){return v(this['editor'],!0x0,_0x496f7b);}['getDataWithDiscardedSuggestions'](_0x42c4a6){return v(this[_0x2c3c('0x1c')],!0x1,_0x42c4a6);}}class P extends _0x43bea4{static get['pluginName'](){return _0x2c3c('0x1');}constructor(_0x563452){super(_0x563452),this[_0x2c3c('0x26')]=_0x2c3c('0x15');}[_0x2c3c('0x0')](){this[_0x2c3c('0x1c')][_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x17'))['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x16'))[_0x2c3c('0x13')]=null;}}function D(_0x5022b2){return void 0x0!==_0x5022b2[_0x2c3c('0x1b')];}async function v(_0x175d46,_0xbda9e2,_0x999c02){const _0x55d1bb=_0x52741a(_0x175d46,w);_0x55d1bb['plugins'][_0x2c3c('0x18')](_0x50f969,P),_0x55d1bb[_0x2c3c('0x1e')]=D(_0x175d46)?_0x175d46[_0x2c3c('0x1b')]():void 0x0;const _0x2112b6=document[_0x2c3c('0x21')](),_0x100247=_0x175d46[_0x2c3c('0xd')][_0x2c3c('0x1a')](_0x2c3c('0x2'))[_0x2c3c('0x27')],_0x2543b5=await _0x100247(_0x55d1bb,()=>function(_0x13eadc){const _0x76a0a9=document[_0x2c3c('0x23')](_0x2c3c('0x7'));return _0x13eadc['appendChild'](_0x76a0a9),_0x76a0a9;}(_0x2112b6));!function(_0x2ba1c3,_0xde4d6f){const _0x465448=_0x2ba1c3[_0x2c3c('0x5')][_0x2c3c('0x29')][_0x2c3c('0x10')]()[_0x2c3c('0x3')]((_0xa96228,_0x1697a3)=>(_0xa96228[_0x1697a3]=_0x2ba1c3[_0x2c3c('0x11')][_0x2c3c('0x1a')]({'rootName':_0x1697a3}),_0xa96228),{}),_0x10a21c=_0x2ba1c3['plugins'][_0x2c3c('0x1a')](_0x2c3c('0x19'))['users']['map'](_0x755d5f=>({'id':_0x755d5f['id'],'name':_0x755d5f[_0x2c3c('0xe')]})),_0x3d5869=_0x2ba1c3[_0x2c3c('0x4')]['get'](_0x2c3c('0x16'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2fd083=_0xde4d6f[_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x19')),_0x3c5bc4=_0xde4d6f[_0x2c3c('0x4')]['get'](_0x2c3c('0x16'));for(const _0x29bff0 of _0x10a21c)_0x2fd083[_0x2c3c('0x1d')](_0x29bff0['id'])||_0x2fd083[_0x2c3c('0x8')](_0x29bff0);_0x2fd083['me']||_0x2fd083[_0x2c3c('0x12')]();for(const _0x5d08c5 of _0x3d5869)_0x3c5bc4[_0x2c3c('0x25')](_0x5d08c5);_0xde4d6f[_0x2c3c('0x11')][_0x2c3c('0x14')](_0x465448);}(_0x175d46,_0x2543b5),_0x2543b5['execute'](_0xbda9e2?_0x2c3c('0x9'):'discardAllSuggestions');const _0x41e8f6=D(_0x2543b5)?_0x2543b5[_0x2c3c('0x6')](_0x999c02):_0x2543b5['data'][_0x2c3c('0x1a')](_0x999c02);return await _0x2543b5['destroy'](),_0x41e8f6;}