@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231019.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3163=['createdAt','start','set','previous','isIntersectingWithRange','getAllAdjacentSuggestions','addRange','setAttribute','_onAttributesChange','end','isMultiRange','attributes','filter','decorate','removeMarkers','toJSON','clear','_markerNames','creator','subType','_model','getItems','suggestion:','length','getContainedElement','onAttributesChange','change','getRanges','removeMarker','add','_onDiscard','push','_isDataLoaded','addMarkerName','getMarkers','onDiscard','get','isInContent','getFirstMarker','type','_onAccept','reduce','@external','getMultiRangeId','isIntersecting','markers','author','_saved','addMarker','onAccept','delete','getMarkerNames','authoredAt','data','hasComments','split','commentThread','from','size','getFirstRange','next','discard'];(function(_0x2c046e,_0x31636a){const _0x55744c=function(_0x5aa94a){while(--_0x5aa94a){_0x2c046e['push'](_0x2c046e['shift']());}};_0x55744c(++_0x31636a);}(_0x3163,0x11d));const _0x5574=function(_0x2c046e,_0x31636a){_0x2c046e=_0x2c046e-0x0;let _0x55744c=_0x3163[_0x2c046e];return _0x55744c;};import{Element as _0x5e9591}from'ckeditor5/src/engine';import{ObservableMixin as _0x1c72b2,uid as _0x39d37d}from'ckeditor5/src/utils';import{cloneDeep as _0x6a5b0a,isEqual as _0x2fd35d,set as _0x1d890b,unset as _0x4b237b}from'lodash-es';export default class u extends _0x1c72b2(){constructor(_0x24c4f0,_0x18e30b){super(),this[_0x5574('0x39')]=!0x1,this['id']=_0x18e30b['id'],this['type']=_0x18e30b[_0x5574('0x2')],this[_0x5574('0x2c')]=_0x18e30b[_0x5574('0x2c')]||null,this[_0x5574('0x9')]=_0x18e30b[_0x5574('0x9')],this['creator']=_0x18e30b['creator']||_0x18e30b[_0x5574('0x9')],this['isExternal']=Boolean(_0x18e30b[_0x5574('0x24')]&&_0x18e30b['attributes'][_0x5574('0x5')]),this[_0x5574('0x10')]=null,this[_0x5574('0x2d')]=_0x24c4f0,this[_0x5574('0x3')]=_0x18e30b[_0x5574('0xc')],this['_onDiscard']=_0x18e30b[_0x5574('0x3c')],this[_0x5574('0x21')]=_0x18e30b[_0x5574('0x32')],this[_0x5574('0x2a')]=new Set(),this[_0x5574('0x19')]=null,this['set'](_0x5574('0xf'),null),this[_0x5574('0x1b')]('attributes',_0x18e30b['attributes']||{}),this[_0x5574('0x1b')]('previous',null),this[_0x5574('0x1b')]('next',null),this['set'](_0x5574('0x13'),null),this[_0x5574('0x1b')](_0x5574('0xa'),!0x1),this[_0x5574('0x26')]('accept'),this[_0x5574('0x26')](_0x5574('0x18'));}get['head'](){let _0x2b70a6=this;for(;_0x2b70a6[_0x5574('0x1c')];)_0x2b70a6=_0x2b70a6[_0x5574('0x1c')];return _0x2b70a6;}get['hasComments'](){return!!this[_0x5574('0x13')]&&this['commentThread'][_0x5574('0x30')]>0x0;}get[_0x5574('0x23')](){if(0x0==this['_markerNames'][_0x5574('0x15')])return!0x1;return 0x6==Array[_0x5574('0x14')](this[_0x5574('0x2a')])[0x0][_0x5574('0x12')](':')[_0x5574('0x30')];}get[_0x5574('0x0')](){return null!==this[_0x5574('0x1')]();}[_0x5574('0x3a')](_0x1ab223){this[_0x5574('0x2a')][_0x5574('0x36')](_0x1ab223);}[_0x5574('0xe')](){return Array[_0x5574('0x14')](this['_markerNames']);}[_0x5574('0x3b')](){return this[_0x5574('0xe')]()['map'](_0x2b1531=>this[_0x5574('0x2d')][_0x5574('0x8')][_0x5574('0x3d')](_0x2b1531))[_0x5574('0x25')](_0x219b61=>_0x219b61);}[_0x5574('0x1')](){return this[_0x5574('0x3b')]()[0x0]||null;}[_0x5574('0x27')](){this[_0x5574('0x2d')][_0x5574('0x33')](_0x146900=>{for(const _0xed87f8 of this['getMarkers']())_0x146900[_0x5574('0x35')](_0xed87f8);}),this[_0x5574('0x2a')][_0x5574('0x29')]();}[_0x5574('0x35')](_0x1f5524){this[_0x5574('0x2d')]['change'](_0x1d245b=>{_0x1d245b['removeMarker'](_0x1f5524);}),this['_markerNames'][_0x5574('0xd')](_0x1f5524);}[_0x5574('0x1f')](_0x46bad1){const _0x821cb=_0x5574('0x2f')+this[_0x5574('0x2')]+':'+this[_0x5574('0x2c')]+':'+this['id']+':'+this[_0x5574('0x2b')]['id']+':'+u[_0x5574('0x6')]();this[_0x5574('0x3a')](_0x821cb),this[_0x5574('0x2d')][_0x5574('0x33')](_0x374432=>{_0x374432[_0x5574('0xb')](_0x821cb,{'range':_0x46bad1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5574('0x1d')](_0x1ce822){for(const _0x3ac9df of this[_0x5574('0x34')]())if(_0x3ac9df[_0x5574('0x7')](_0x1ce822))return!0x0;return!0x1;}['getRanges'](){return this[_0x5574('0x3b')]()['map'](_0x57fe6c=>_0x57fe6c['getRange']());}[_0x5574('0x2e')](){return this[_0x5574('0x34')]()[_0x5574('0x4')]((_0xcd8171,_0x308b93)=>[..._0xcd8171,..._0x308b93['getItems']()],[]);}[_0x5574('0x16')](){var _0xd6c23f;return(null===(_0xd6c23f=this['getFirstMarker']())||void 0x0===_0xd6c23f?void 0x0:_0xd6c23f['getRange']())||null;}[_0x5574('0x31')](){const _0x8e61a3=this[_0x5574('0x34')]();if(0x1!=_0x8e61a3[_0x5574('0x30')])return null;const _0x5cdcaa=_0x8e61a3[0x0],_0x5c3922=_0x5cdcaa[_0x5574('0x1a')]['nodeAfter'],_0x3d9880=_0x5cdcaa[_0x5574('0x22')]['nodeBefore'];return _0x5c3922 instanceof _0x5e9591?_0x5c3922!=_0x3d9880?null:_0x5c3922:null;}['accept'](){this['_onAccept'](this[_0x5574('0x34')](),this[_0x5574('0x10')],this[_0x5574('0x24')]),this[_0x5574('0x27')]();}[_0x5574('0x18')](){this[_0x5574('0x37')](this[_0x5574('0x34')](),this['data'],this['attributes']),this[_0x5574('0x27')]();}[_0x5574('0x1e')](){const _0x58928d=[];let _0x58f3f6=this['head'];for(;_0x58f3f6;)_0x58928d[_0x5574('0x38')](_0x58f3f6),_0x58f3f6=_0x58f3f6[_0x5574('0x17')];return _0x58928d;}[_0x5574('0x20')](_0x1518d3,_0x442c0a){const _0x43ff4c=_0x6a5b0a(this[_0x5574('0x24')]);_0x1d890b(_0x43ff4c,_0x1518d3,_0x442c0a),_0x2fd35d(_0x43ff4c,this[_0x5574('0x24')])||(this[_0x5574('0x24')]=_0x43ff4c,this['_onAttributesChange'](_0x43ff4c));}['removeAttribute'](_0x5e5a92){const _0x260f0c=_0x6a5b0a(this[_0x5574('0x24')]);_0x4b237b(_0x260f0c,_0x5e5a92),_0x2fd35d(_0x260f0c,this['attributes'])||(this[_0x5574('0x24')]=_0x260f0c,this[_0x5574('0x21')](this['attributes']));}[_0x5574('0x28')](){return{'id':this['id'],'type':this[_0x5574('0x2c')]?this[_0x5574('0x2')]+':'+this['subType']:this[_0x5574('0x2')],'authorId':this['creator']['id'],'createdAt':this[_0x5574('0x19')],'hasComments':this[_0x5574('0x11')],'data':this[_0x5574('0x10')],'attributes':this[_0x5574('0x24')]};}static[_0x5574('0x6')](){return _0x39d37d()['substr'](0x1,0x5);}}
23
+ const _0x5b77=['data','getRange','getRanges','@external','next','onAccept','addMarker','setAttribute','type','_markerNames','commentThread','getItems','add','head','getContainedElement','removeMarker','from','discard','_onDiscard','decorate','start','map','change','_isDataLoaded','push','previous','attributes','creator','set','getFirstMarker','createdAt','isMultiRange','hasComments','nodeBefore','getMarkers','clear','isInContent','reduce','nodeAfter','getMarkerNames','authoredAt','length','getFirstRange','addMarkerName','removeMarkers','filter','delete','_model','getMultiRangeId','subType','_onAccept','_onAttributesChange','accept','author','substr'];(function(_0x3eee12,_0x5b775e){const _0x10037d=function(_0x189148){while(--_0x189148){_0x3eee12['push'](_0x3eee12['shift']());}};_0x10037d(++_0x5b775e);}(_0x5b77,0x74));const _0x1003=function(_0x3eee12,_0x5b775e){_0x3eee12=_0x3eee12-0x0;let _0x10037d=_0x5b77[_0x3eee12];return _0x10037d;};import{Element as _0x764109}from'ckeditor5/src/engine';import{ObservableMixin as _0x3dc2db,uid as _0x445ae7}from'ckeditor5/src/utils';import{cloneDeep as _0xda6fdb,isEqual as _0x580d2c,set as _0x2a7dae,unset as _0x58c982}from'lodash-es';export default class u extends _0x3dc2db(){constructor(_0x20fe2f,_0x48ae79){super(),this[_0x1003('0x11')]=!0x1,this['id']=_0x48ae79['id'],this[_0x1003('0x2')]=_0x48ae79[_0x1003('0x2')],this[_0x1003('0x2b')]=_0x48ae79[_0x1003('0x2b')]||null,this[_0x1003('0x2f')]=_0x48ae79[_0x1003('0x2f')],this[_0x1003('0x15')]=_0x48ae79['creator']||_0x48ae79[_0x1003('0x2f')],this['isExternal']=Boolean(_0x48ae79['attributes']&&_0x48ae79['attributes'][_0x1003('0x34')]),this[_0x1003('0x31')]=null,this['_model']=_0x20fe2f,this[_0x1003('0x2c')]=_0x48ae79[_0x1003('0x36')],this[_0x1003('0xc')]=_0x48ae79['onDiscard'],this[_0x1003('0x2d')]=_0x48ae79['onAttributesChange'],this[_0x1003('0x3')]=new Set(),this[_0x1003('0x18')]=null,this[_0x1003('0x16')](_0x1003('0x22'),null),this[_0x1003('0x16')](_0x1003('0x14'),_0x48ae79['attributes']||{}),this[_0x1003('0x16')](_0x1003('0x13'),null),this[_0x1003('0x16')](_0x1003('0x35'),null),this[_0x1003('0x16')]('commentThread',null),this[_0x1003('0x16')]('_saved',!0x1),this[_0x1003('0xd')](_0x1003('0x2e')),this[_0x1003('0xd')](_0x1003('0xb'));}get[_0x1003('0x7')](){let _0x3c64a2=this;for(;_0x3c64a2[_0x1003('0x13')];)_0x3c64a2=_0x3c64a2[_0x1003('0x13')];return _0x3c64a2;}get['hasComments'](){return!!this['commentThread']&&this[_0x1003('0x4')][_0x1003('0x23')]>0x0;}get[_0x1003('0x19')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0x1003('0xa')](this[_0x1003('0x3')])[0x0]['split'](':')[_0x1003('0x23')];}get[_0x1003('0x1e')](){return null!==this['getFirstMarker']();}[_0x1003('0x25')](_0x31e5be){this[_0x1003('0x3')][_0x1003('0x6')](_0x31e5be);}[_0x1003('0x21')](){return Array['from'](this[_0x1003('0x3')]);}[_0x1003('0x1c')](){return this['getMarkerNames']()[_0x1003('0xf')](_0x3f6787=>this[_0x1003('0x29')]['markers']['get'](_0x3f6787))[_0x1003('0x27')](_0x41e49c=>_0x41e49c);}[_0x1003('0x17')](){return this[_0x1003('0x1c')]()[0x0]||null;}['removeMarkers'](){this[_0x1003('0x29')][_0x1003('0x10')](_0x3e05b0=>{for(const _0x2fc8fe of this[_0x1003('0x1c')]())_0x3e05b0['removeMarker'](_0x2fc8fe);}),this[_0x1003('0x3')][_0x1003('0x1d')]();}[_0x1003('0x9')](_0x25f979){this[_0x1003('0x29')][_0x1003('0x10')](_0x8ce4d8=>{_0x8ce4d8[_0x1003('0x9')](_0x25f979);}),this[_0x1003('0x3')][_0x1003('0x28')](_0x25f979);}['addRange'](_0x423db4){const _0x3db548='suggestion:'+this[_0x1003('0x2')]+':'+this[_0x1003('0x2b')]+':'+this['id']+':'+this[_0x1003('0x15')]['id']+':'+u[_0x1003('0x2a')]();this['addMarkerName'](_0x3db548),this[_0x1003('0x29')][_0x1003('0x10')](_0xf1717=>{_0xf1717[_0x1003('0x0')](_0x3db548,{'range':_0x423db4,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x26217c){for(const _0x50505e of this['getRanges']())if(_0x50505e['isIntersecting'](_0x26217c))return!0x0;return!0x1;}[_0x1003('0x33')](){return this[_0x1003('0x1c')]()[_0x1003('0xf')](_0xc3eda8=>_0xc3eda8[_0x1003('0x32')]());}['getItems'](){return this[_0x1003('0x33')]()[_0x1003('0x1f')]((_0xf587fe,_0x55386a)=>[..._0xf587fe,..._0x55386a[_0x1003('0x5')]()],[]);}[_0x1003('0x24')](){var _0x354151;return(null===(_0x354151=this[_0x1003('0x17')]())||void 0x0===_0x354151?void 0x0:_0x354151[_0x1003('0x32')]())||null;}[_0x1003('0x8')](){const _0xf4f0ba=this[_0x1003('0x33')]();if(0x1!=_0xf4f0ba[_0x1003('0x23')])return null;const _0x249163=_0xf4f0ba[0x0],_0x18b8a5=_0x249163[_0x1003('0xe')][_0x1003('0x20')],_0x1491b1=_0x249163['end'][_0x1003('0x1b')];return _0x18b8a5 instanceof _0x764109?_0x18b8a5!=_0x1491b1?null:_0x18b8a5:null;}[_0x1003('0x2e')](){this[_0x1003('0x2c')](this[_0x1003('0x33')](),this[_0x1003('0x31')],this[_0x1003('0x14')]),this[_0x1003('0x26')]();}['discard'](){this[_0x1003('0xc')](this[_0x1003('0x33')](),this[_0x1003('0x31')],this[_0x1003('0x14')]),this['removeMarkers']();}['getAllAdjacentSuggestions'](){const _0x5c4222=[];let _0x489f0d=this['head'];for(;_0x489f0d;)_0x5c4222[_0x1003('0x12')](_0x489f0d),_0x489f0d=_0x489f0d[_0x1003('0x35')];return _0x5c4222;}[_0x1003('0x1')](_0x1fd06b,_0xf554ee){const _0x4acd4b=_0xda6fdb(this[_0x1003('0x14')]);_0x2a7dae(_0x4acd4b,_0x1fd06b,_0xf554ee),_0x580d2c(_0x4acd4b,this['attributes'])||(this[_0x1003('0x14')]=_0x4acd4b,this[_0x1003('0x2d')](_0x4acd4b));}['removeAttribute'](_0x367d46){const _0x4ae960=_0xda6fdb(this[_0x1003('0x14')]);_0x58c982(_0x4ae960,_0x367d46),_0x580d2c(_0x4ae960,this[_0x1003('0x14')])||(this[_0x1003('0x14')]=_0x4ae960,this[_0x1003('0x2d')](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this[_0x1003('0x2')]+':'+this[_0x1003('0x2b')]:this[_0x1003('0x2')],'authorId':this['creator']['id'],'createdAt':this[_0x1003('0x18')],'hasComments':this[_0x1003('0x1a')],'data':this[_0x1003('0x31')],'attributes':this[_0x1003('0x14')]};}static[_0x1003('0x2a')](){return _0x445ae7()[_0x1003('0x30')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3409=['get','type','_itemLabelsCallbacks','$text','matchingCallback','registerDescriptionCallback','*Split:*\x20%0','name','insertion','*Merge:*\x20%0','elementEnd','_locale','isEmpty','getItemLabel','_itemLabels','getWalker','previousSibling','replace','element','getFirstRange','indexOf','checkChild','length','end','$textProxy','removeObject','removeEmptyContainer','text','match','Object','_customCallbacks','isInContent','data','$1\x20$2','addEmptyContainer','Container','_schema','_addDescriptionItems','nextSibling','addContainer','isObject','push','ELEMENT_SPACE','softBreak','REPLACE_TEXT','set','*Remove:*\x20%0','start','function','EmptyContainer','add','normal','addObject','item','registerElementLabel','deletion','pop','*Insert:*\x20%0','getDescriptions','remove','quantity'];(function(_0x2d66e6,_0x340967){const _0x26fc45=function(_0x12e9a7){while(--_0x12e9a7){_0x2d66e6['push'](_0x2d66e6['shift']());}};_0x26fc45(++_0x340967);}(_0x3409,0x6f));const _0x26fc=function(_0x2d66e6,_0x340967){_0x2d66e6=_0x2d66e6-0x0;let _0x26fc45=_0x3409[_0x2d66e6];return _0x26fc45;};import{getTranslation as _0x1de774}from'./utils/common-translations';import{priorities as _0x5eeebf,insertToPriorityArray as _0x3f7238}from'ckeditor5/src/utils';export default class m{constructor(_0x133053,_0x15cfb3){this['_customCallbacks']=[],this[_0x26fc('0x19')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x26fc('0x2f')]=_0x133053,this[_0x26fc('0x16')]=_0x15cfb3;}[_0x26fc('0x8')](_0x5d5924){const _0x30f8be=[];for(let _0x353801=0x0;_0x353801<_0x5d5924['length'];_0x353801++){const _0x113d0c=_0x5d5924[_0x353801];if(!_0x113d0c[_0x26fc('0x2a')])continue;let _0x1349d7=!0x1;for(const _0x5baf13 of this[_0x26fc('0x29')]){const _0x31aacf=_0x5baf13(_0x113d0c);if(_0x31aacf){'type'in _0x31aacf&&_0x30f8be[_0x26fc('0x34')](_0x31aacf),_0x1349d7=!0x0;break;}}if(!_0x1349d7){this[_0x26fc('0x30')](_0x30f8be,_0x113d0c);const _0x3d4b43=_0x5d5924[_0x353801+0x1];if(_0x3d4b43&&!_0x113d0c['getFirstRange']()[_0x26fc('0x22')]['isEqual'](_0x3d4b43[_0x26fc('0x1e')]()[_0x26fc('0x3a')])){const _0x49faf5=_0x30f8be[_0x30f8be['length']-0x1],_0x46b4d6=_0x26fc('0x13')==_0x113d0c[_0x26fc('0xc')]?'add':'remove';_0x49faf5&&_0x26fc('0x26')==_0x49faf5['type']&&(_0x49faf5[_0x46b4d6]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x30f8be);}[_0x26fc('0x10')](_0x2c44ee){this[_0x26fc('0x29')][_0x26fc('0x34')](_0x2c44ee);}[_0x26fc('0x4')](_0x2c0e73,_0x3f36d7,_0x189d31=_0x5eeebf[_0x26fc('0x1')]){_0x26fc('0x3b')==typeof _0x2c0e73?_0x3f7238(this[_0x26fc('0xd')],{'matchingCallback':_0x2c0e73,'label':_0x3f36d7,'priority':_0x189d31}):this[_0x26fc('0x19')][_0x26fc('0x38')](_0x2c0e73,_0x3f36d7);}[_0x26fc('0x18')](_0x1a1dea,_0x691a02=0x1){let _0x4fed66;for(const _0xa46e47 of this[_0x26fc('0xd')])if(_0xa46e47[_0x26fc('0xf')](_0x1a1dea)){_0x4fed66=_0xa46e47['label'];break;}return _0x4fed66||(_0x4fed66=this['_itemLabels'][_0x26fc('0xb')](_0x1a1dea[_0x26fc('0x12')])),_0x4fed66?_0x4fed66(_0x691a02):0x1!==_0x691a02?_0x691a02+'\x20'+_0x1a1dea[_0x26fc('0x12')]+'s':''+_0x1a1dea[_0x26fc('0x12')];}[_0x26fc('0x30')](_0x10f0ba,_0x400411){const _0xfba770=_0x400411[_0x26fc('0x1e')]()[_0x26fc('0x1a')](),_0x19bbc5=_0x26fc('0x13')==_0x400411['type']?_0x26fc('0x0'):_0x26fc('0x9');for(const _0x21c085 of _0xfba770){const _0x3b6fe0=_0x21c085[_0x26fc('0x3')],_0x17e250=_0x10f0ba[_0x10f0ba['length']-0x1];if(_0x3b6fe0['is'](_0x26fc('0x23')))_0x17e250&&_0x17e250[_0x26fc('0xc')][_0x26fc('0x1f')]('Container')>-0x1&&_0x10f0ba['pop'](),_0x17e250&&_0x26fc('0x26')==_0x17e250[_0x26fc('0xc')]?_0x17e250[_0x19bbc5]+=_0x3b6fe0[_0x26fc('0x2b')]:_0x10f0ba['push']({'type':'text','add':_0x26fc('0x0')==_0x19bbc5?_0x3b6fe0[_0x26fc('0x2b')]:'','remove':_0x26fc('0x9')==_0x19bbc5?_0x3b6fe0['data']:''});else{if(this[_0x26fc('0x2f')][_0x26fc('0x33')](_0x3b6fe0)){const _0x2a9b64=_0x3b6fe0;if(_0x17e250&&_0x17e250['type'][_0x26fc('0x1f')](_0x26fc('0x2e'))>-0x1&&_0x10f0ba[_0x26fc('0x6')](),_0x26fc('0x15')==_0x21c085[_0x26fc('0xc')])continue;_0x17e250&&_0x17e250[_0x26fc('0xc')]==_0x19bbc5+_0x26fc('0x28')&&_0x17e250['element'][_0x26fc('0x12')]==_0x2a9b64[_0x26fc('0x12')]?_0x17e250[_0x26fc('0xa')]++:_0x10f0ba[_0x26fc('0x34')]({'type':_0x19bbc5+'Object','element':_0x2a9b64,'quantity':0x1}),_0xfba770['skip'](_0x3979db=>!(_0x26fc('0x15')==_0x3979db[_0x26fc('0xc')]&&_0x3979db[_0x26fc('0x3')]==_0x3b6fe0));}else{if(this[_0x26fc('0x2f')][_0x26fc('0x20')](_0x3b6fe0,_0x26fc('0xe'))||_0x3b6fe0['is'](_0x26fc('0x1d'),_0x26fc('0x36'))){const _0x5edce4=_0x3b6fe0;if(_0x26fc('0x0')==_0x19bbc5&&'elementStart'==_0x21c085['type']||_0x26fc('0x9')==_0x19bbc5&&_0x26fc('0x15')==_0x21c085[_0x26fc('0xc')])continue;if(_0x17e250&&-0x1==_0x17e250[_0x26fc('0xc')][_0x26fc('0x1f')](_0x26fc('0x2e'))){_0x26fc('0x26')==_0x17e250[_0x26fc('0xc')]&&(_0x17e250[_0x19bbc5]+='\x0a');continue;}let _0x42100e;if(_0x42100e='add'==_0x19bbc5?_0x5edce4[_0x26fc('0x31')]&&!this[_0x26fc('0x2f')][_0x26fc('0x33')](_0x5edce4[_0x26fc('0x31')])?_0x5edce4[_0x26fc('0x31')]:null:_0x5edce4[_0x26fc('0x1b')]&&!this['_schema'][_0x26fc('0x33')](_0x5edce4[_0x26fc('0x1b')])?_0x5edce4['previousSibling']:null,_0x5edce4[_0x26fc('0x17')]||_0x42100e&&_0x42100e[_0x26fc('0x17')]){const _0x87ac3=_0x42100e&&_0x42100e['isEmpty']?_0x42100e:_0x5edce4;_0x17e250&&_0x17e250[_0x26fc('0xc')]==_0x19bbc5+_0x26fc('0x3c')&&_0x17e250[_0x26fc('0x1d')][_0x26fc('0x12')]==_0x87ac3[_0x26fc('0x12')]?_0x17e250['quantity']++:_0x10f0ba[_0x26fc('0x34')]({'type':_0x19bbc5+_0x26fc('0x3c'),'element':_0x87ac3,'quantity':0x1});}else _0x10f0ba['push']({'type':_0x19bbc5+_0x26fc('0x2e'),'element':_0x5edce4});}}}}}['_resolveDescriptionItems'](_0x445692){const _0x46982b=this[_0x26fc('0x16')],_0x333a5c=[];for(const _0x3366e6 of _0x445692){switch(_0x3366e6[_0x26fc('0xc')]){case _0x26fc('0x26'):if(_0x3366e6[_0x26fc('0x0')]=_0x3366e6[_0x26fc('0x0')][_0x26fc('0x1c')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x26fc('0x1c')](/\u000A/g,''),_0x3366e6[_0x26fc('0x9')]=_0x3366e6['remove'][_0x26fc('0x1c')](/(\S)\u000A+(\S)/g,_0x26fc('0x2c'))[_0x26fc('0x1c')](/\u000A/g,''),''!=_0x3366e6[_0x26fc('0x0')]&&''!=_0x3366e6[_0x26fc('0x9')]){_0x333a5c['push']({'type':_0x26fc('0x1c'),'content':_0x1de774(_0x46982b,_0x26fc('0x37'),['\x22'+_0x3366e6[_0x26fc('0x9')]+'\x22','\x22'+_0x3366e6[_0x26fc('0x0')]+'\x22'])});continue;}if(null!=_0x3366e6['add'][_0x26fc('0x27')](/^ +$/)){_0x333a5c['push']({'type':'insertion','content':_0x1de774(_0x46982b,'*Insert:*\x20%0',_0x1de774(_0x46982b,_0x26fc('0x35'),_0x3366e6[_0x26fc('0x0')][_0x26fc('0x21')]))});continue;}if(null!=_0x3366e6['remove']['match'](/^ +$/)){_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,'*Remove:*\x20%0',_0x1de774(_0x46982b,_0x26fc('0x35'),_0x3366e6['remove']['length']))});continue;}if(''!=_0x3366e6[_0x26fc('0x0')]){_0x333a5c['push']({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x7'),'\x22'+_0x3366e6[_0x26fc('0x0')]+'\x22')});continue;}_0x333a5c[_0x26fc('0x34')]({'type':_0x26fc('0x5'),'content':_0x1de774(_0x46982b,_0x26fc('0x39'),'\x22'+_0x3366e6[_0x26fc('0x9')]+'\x22')});continue;case _0x26fc('0x2d'):case _0x26fc('0x2'):_0x333a5c[_0x26fc('0x34')]({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x7'),this['getItemLabel'](_0x3366e6[_0x26fc('0x1d')],_0x3366e6['quantity']))});continue;case _0x26fc('0x25'):case _0x26fc('0x24'):_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,'*Remove:*\x20%0',this[_0x26fc('0x18')](_0x3366e6['element'],_0x3366e6[_0x26fc('0xa')]))});continue;case _0x26fc('0x32'):_0x333a5c['push']({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x11'),this['getItemLabel'](_0x3366e6['element'],_0x3366e6[_0x26fc('0xa')]))});continue;case'removeContainer':_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,_0x26fc('0x14'),this['getItemLabel'](_0x3366e6[_0x26fc('0x1d')],_0x3366e6[_0x26fc('0xa')]))});continue;}_0x333a5c[_0x26fc('0x34')](_0x3366e6);}return _0x333a5c;}}
23
+ const _0x4cd3=['set','removeContainer','_itemLabels','end','previousSibling','Object','remove','addObject','isObject','$text','element','elementStart','removeObject','quantity','addEmptyContainer','EmptyContainer','item','ELEMENT_SPACE','getDescriptions','_addDescriptionItems','pop','data','length','Container','add','removeEmptyContainer','_customCallbacks','isEqual','_itemLabelsCallbacks','isEmpty','type','match','getItemLabel','_schema','softBreak','insertion','getWalker','text','elementEnd','name','checkChild','function','$1\x20$2','*Split:*\x20%0','skip','matchingCallback','_locale','indexOf','start','registerDescriptionCallback','label','addContainer','replace','nextSibling','getFirstRange','_resolveDescriptionItems','push','deletion','normal'];(function(_0x261a5f,_0x4cd381){const _0x1a02ac=function(_0x5592ed){while(--_0x5592ed){_0x261a5f['push'](_0x261a5f['shift']());}};_0x1a02ac(++_0x4cd381);}(_0x4cd3,0x104));const _0x1a02=function(_0x261a5f,_0x4cd381){_0x261a5f=_0x261a5f-0x0;let _0x1a02ac=_0x4cd3[_0x261a5f];return _0x1a02ac;};import{getTranslation as _0x2d2631}from'./utils/common-translations';import{priorities as _0x11a74e,insertToPriorityArray as _0x4dda0e}from'ckeditor5/src/utils';export default class m{constructor(_0x106d5b,_0x1b515c){this[_0x1a02('0x2')]=[],this[_0x1a02('0x25')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x1a02('0x9')]=_0x106d5b,this[_0x1a02('0x16')]=_0x1b515c;}[_0x1a02('0x35')](_0x11479f){const _0x3de83c=[];for(let _0xa07956=0x0;_0xa07956<_0x11479f[_0x1a02('0x39')];_0xa07956++){const _0x50fd02=_0x11479f[_0xa07956];if(!_0x50fd02['isInContent'])continue;let _0x273291=!0x1;for(const _0x113f96 of this[_0x1a02('0x2')]){const _0x459500=_0x113f96(_0x50fd02);if(_0x459500){_0x1a02('0x6')in _0x459500&&_0x3de83c['push'](_0x459500),_0x273291=!0x0;break;}}if(!_0x273291){this['_addDescriptionItems'](_0x3de83c,_0x50fd02);const _0x2fb39d=_0x11479f[_0xa07956+0x1];if(_0x2fb39d&&!_0x50fd02['getFirstRange']()[_0x1a02('0x26')][_0x1a02('0x3')](_0x2fb39d[_0x1a02('0x1e')]()[_0x1a02('0x18')])){const _0x24f6e5=_0x3de83c[_0x3de83c['length']-0x1],_0x2eb1bb=_0x1a02('0xb')==_0x50fd02['type']?_0x1a02('0x0'):_0x1a02('0x29');_0x24f6e5&&_0x1a02('0xd')==_0x24f6e5['type']&&(_0x24f6e5[_0x2eb1bb]+='\x0a');}}}return this[_0x1a02('0x1f')](_0x3de83c);}[_0x1a02('0x19')](_0x24bf69){this[_0x1a02('0x2')][_0x1a02('0x20')](_0x24bf69);}['registerElementLabel'](_0x223200,_0x1f73ce,_0x312c9c=_0x11a74e[_0x1a02('0x22')]){_0x1a02('0x11')==typeof _0x223200?_0x4dda0e(this[_0x1a02('0x4')],{'matchingCallback':_0x223200,'label':_0x1f73ce,'priority':_0x312c9c}):this[_0x1a02('0x25')][_0x1a02('0x23')](_0x223200,_0x1f73ce);}[_0x1a02('0x8')](_0x12d4a2,_0x5445f5=0x1){let _0x2d0fc3;for(const _0x391426 of this[_0x1a02('0x4')])if(_0x391426[_0x1a02('0x15')](_0x12d4a2)){_0x2d0fc3=_0x391426[_0x1a02('0x1a')];break;}return _0x2d0fc3||(_0x2d0fc3=this[_0x1a02('0x25')]['get'](_0x12d4a2[_0x1a02('0xf')])),_0x2d0fc3?_0x2d0fc3(_0x5445f5):0x1!==_0x5445f5?_0x5445f5+'\x20'+_0x12d4a2[_0x1a02('0xf')]+'s':''+_0x12d4a2[_0x1a02('0xf')];}[_0x1a02('0x36')](_0x3dfb06,_0x15da1f){const _0x9d061=_0x15da1f[_0x1a02('0x1e')]()[_0x1a02('0xc')](),_0x38dd1a=_0x1a02('0xb')==_0x15da1f['type']?_0x1a02('0x0'):_0x1a02('0x29');for(const _0x4d89e1 of _0x9d061){const _0x428a0b=_0x4d89e1[_0x1a02('0x33')],_0x412254=_0x3dfb06[_0x3dfb06[_0x1a02('0x39')]-0x1];if(_0x428a0b['is']('$textProxy'))_0x412254&&_0x412254[_0x1a02('0x6')][_0x1a02('0x17')](_0x1a02('0x3a'))>-0x1&&_0x3dfb06[_0x1a02('0x37')](),_0x412254&&_0x1a02('0xd')==_0x412254[_0x1a02('0x6')]?_0x412254[_0x38dd1a]+=_0x428a0b['data']:_0x3dfb06[_0x1a02('0x20')]({'type':_0x1a02('0xd'),'add':'add'==_0x38dd1a?_0x428a0b['data']:'','remove':_0x1a02('0x29')==_0x38dd1a?_0x428a0b[_0x1a02('0x38')]:''});else{if(this[_0x1a02('0x9')][_0x1a02('0x2b')](_0x428a0b)){const _0x442948=_0x428a0b;if(_0x412254&&_0x412254['type'][_0x1a02('0x17')](_0x1a02('0x3a'))>-0x1&&_0x3dfb06[_0x1a02('0x37')](),_0x1a02('0xe')==_0x4d89e1['type'])continue;_0x412254&&_0x412254[_0x1a02('0x6')]==_0x38dd1a+_0x1a02('0x28')&&_0x412254[_0x1a02('0x2d')]['name']==_0x442948[_0x1a02('0xf')]?_0x412254['quantity']++:_0x3dfb06['push']({'type':_0x38dd1a+'Object','element':_0x442948,'quantity':0x1}),_0x9d061[_0x1a02('0x14')](_0x116a6e=>!('elementEnd'==_0x116a6e[_0x1a02('0x6')]&&_0x116a6e['item']==_0x428a0b));}else{if(this['_schema'][_0x1a02('0x10')](_0x428a0b,_0x1a02('0x2c'))||_0x428a0b['is'](_0x1a02('0x2d'),_0x1a02('0xa'))){const _0x51d94f=_0x428a0b;if(_0x1a02('0x0')==_0x38dd1a&&_0x1a02('0x2e')==_0x4d89e1[_0x1a02('0x6')]||_0x1a02('0x29')==_0x38dd1a&&_0x1a02('0xe')==_0x4d89e1[_0x1a02('0x6')])continue;if(_0x412254&&-0x1==_0x412254[_0x1a02('0x6')][_0x1a02('0x17')](_0x1a02('0x3a'))){_0x1a02('0xd')==_0x412254[_0x1a02('0x6')]&&(_0x412254[_0x38dd1a]+='\x0a');continue;}let _0x45d095;if(_0x45d095=_0x1a02('0x0')==_0x38dd1a?_0x51d94f[_0x1a02('0x1d')]&&!this['_schema'][_0x1a02('0x2b')](_0x51d94f[_0x1a02('0x1d')])?_0x51d94f[_0x1a02('0x1d')]:null:_0x51d94f[_0x1a02('0x27')]&&!this['_schema'][_0x1a02('0x2b')](_0x51d94f[_0x1a02('0x27')])?_0x51d94f[_0x1a02('0x27')]:null,_0x51d94f['isEmpty']||_0x45d095&&_0x45d095[_0x1a02('0x5')]){const _0xe53ede=_0x45d095&&_0x45d095['isEmpty']?_0x45d095:_0x51d94f;_0x412254&&_0x412254[_0x1a02('0x6')]==_0x38dd1a+_0x1a02('0x32')&&_0x412254[_0x1a02('0x2d')]['name']==_0xe53ede[_0x1a02('0xf')]?_0x412254['quantity']++:_0x3dfb06[_0x1a02('0x20')]({'type':_0x38dd1a+'EmptyContainer','element':_0xe53ede,'quantity':0x1});}else _0x3dfb06['push']({'type':_0x38dd1a+_0x1a02('0x3a'),'element':_0x51d94f});}}}}}['_resolveDescriptionItems'](_0x352768){const _0x309af0=this[_0x1a02('0x16')],_0x3c27bf=[];for(const _0x40560b of _0x352768){switch(_0x40560b[_0x1a02('0x6')]){case'text':if(_0x40560b[_0x1a02('0x0')]=_0x40560b['add'][_0x1a02('0x1c')](/(\S)\u000A+(\S)/g,_0x1a02('0x12'))[_0x1a02('0x1c')](/\u000A/g,''),_0x40560b[_0x1a02('0x29')]=_0x40560b[_0x1a02('0x29')][_0x1a02('0x1c')](/(\S)\u000A+(\S)/g,_0x1a02('0x12'))['replace'](/\u000A/g,''),''!=_0x40560b[_0x1a02('0x0')]&&''!=_0x40560b['remove']){_0x3c27bf[_0x1a02('0x20')]({'type':_0x1a02('0x1c'),'content':_0x2d2631(_0x309af0,'REPLACE_TEXT',['\x22'+_0x40560b[_0x1a02('0x29')]+'\x22','\x22'+_0x40560b[_0x1a02('0x0')]+'\x22'])});continue;}if(null!=_0x40560b[_0x1a02('0x0')]['match'](/^ +$/)){_0x3c27bf[_0x1a02('0x20')]({'type':_0x1a02('0xb'),'content':_0x2d2631(_0x309af0,'*Insert:*\x20%0',_0x2d2631(_0x309af0,_0x1a02('0x34'),_0x40560b['add'][_0x1a02('0x39')]))});continue;}if(null!=_0x40560b['remove'][_0x1a02('0x7')](/^ +$/)){_0x3c27bf['push']({'type':_0x1a02('0x21'),'content':_0x2d2631(_0x309af0,'*Remove:*\x20%0',_0x2d2631(_0x309af0,_0x1a02('0x34'),_0x40560b['remove'][_0x1a02('0x39')]))});continue;}if(''!=_0x40560b[_0x1a02('0x0')]){_0x3c27bf[_0x1a02('0x20')]({'type':'insertion','content':_0x2d2631(_0x309af0,'*Insert:*\x20%0','\x22'+_0x40560b['add']+'\x22')});continue;}_0x3c27bf[_0x1a02('0x20')]({'type':_0x1a02('0x21'),'content':_0x2d2631(_0x309af0,'*Remove:*\x20%0','\x22'+_0x40560b['remove']+'\x22')});continue;case _0x1a02('0x31'):case _0x1a02('0x2a'):_0x3c27bf[_0x1a02('0x20')]({'type':'insertion','content':_0x2d2631(_0x309af0,'*Insert:*\x20%0',this[_0x1a02('0x8')](_0x40560b[_0x1a02('0x2d')],_0x40560b[_0x1a02('0x30')]))});continue;case _0x1a02('0x1'):case _0x1a02('0x2f'):_0x3c27bf['push']({'type':_0x1a02('0x21'),'content':_0x2d2631(_0x309af0,'*Remove:*\x20%0',this[_0x1a02('0x8')](_0x40560b[_0x1a02('0x2d')],_0x40560b['quantity']))});continue;case _0x1a02('0x1b'):_0x3c27bf['push']({'type':_0x1a02('0xb'),'content':_0x2d2631(_0x309af0,_0x1a02('0x13'),this[_0x1a02('0x8')](_0x40560b['element'],_0x40560b[_0x1a02('0x30')]))});continue;case _0x1a02('0x24'):_0x3c27bf[_0x1a02('0x20')]({'type':_0x1a02('0x21'),'content':_0x2d2631(_0x309af0,'*Merge:*\x20%0',this[_0x1a02('0x8')](_0x40560b['element'],_0x40560b[_0x1a02('0x30')]))});continue;}_0x3c27bf[_0x1a02('0x20')](_0x40560b);}return _0x3c27bf;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x17cd=['requires','getSuggestions','adapter','get','getSuggestion','TrackChanges','editor','pluginName','addSuggestion','plugins'];(function(_0x46b66f,_0x17cdfb){var _0x4a3775=function(_0x193e71){while(--_0x193e71){_0x46b66f['push'](_0x46b66f['shift']());}};_0x4a3775(++_0x17cdfb);}(_0x17cd,0x18d));var _0x4a37=function(_0x46b66f,_0x17cdfb){_0x46b66f=_0x46b66f-0x0;var _0x4a3775=_0x17cd[_0x46b66f];return _0x4a3775;};import{Plugin as _0x295295}from'ckeditor5/src/core';import _0x282fe3 from'./trackchangesui';import _0x43d055 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x295295{static get[_0x4a37('0x3')](){return[_0x43d055,_0x282fe3,'Comments'];}static get[_0x4a37('0x0')](){return _0x4a37('0x8');}set[_0x4a37('0x5')](_0x1ffca5){this[_0x4a37('0x9')][_0x4a37('0x2')]['get'](_0x43d055)[_0x4a37('0x5')]=_0x1ffca5;}get[_0x4a37('0x5')](){return this[_0x4a37('0x9')][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)['adapter'];}[_0x4a37('0x1')](_0xe426d){return this['editor'][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)['addSuggestionData'](_0xe426d);}[_0x4a37('0x4')]({skipNotAttached:_0x5c9705=!0x1,toJSON:_0x3ebfc3=!0x1}={}){return this['editor'][_0x4a37('0x2')]['get'](_0x43d055)[_0x4a37('0x4')]({'skipNotAttached':_0x5c9705,'toJSON':_0x3ebfc3});}[_0x4a37('0x7')](_0x132e44){return this[_0x4a37('0x9')][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)[_0x4a37('0x7')](_0x132e44);}}
23
+ var _0xd128=['getSuggestions','adapter','pluginName','plugins','TrackChanges','getSuggestion','Comments','addSuggestionData','get','editor'];(function(_0x2015e2,_0xd1289e){var _0x5b4533=function(_0x5bdfbf){while(--_0x5bdfbf){_0x2015e2['push'](_0x2015e2['shift']());}};_0x5b4533(++_0xd1289e);}(_0xd128,0xea));var _0x5b45=function(_0x2015e2,_0xd1289e){_0x2015e2=_0x2015e2-0x0;var _0x5b4533=_0xd128[_0x2015e2];return _0x5b4533;};import{Plugin as _0x1f9152}from'ckeditor5/src/core';import _0x17d6b2 from'./trackchangesui';import _0x2c5cc3 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1f9152{static get['requires'](){return[_0x2c5cc3,_0x17d6b2,_0x5b45('0x2')];}static get[_0x5b45('0x8')](){return _0x5b45('0x0');}set[_0x5b45('0x7')](_0x4fa729){this[_0x5b45('0x5')]['plugins']['get'](_0x2c5cc3)[_0x5b45('0x7')]=_0x4fa729;}get['adapter'](){return this[_0x5b45('0x5')][_0x5b45('0x9')]['get'](_0x2c5cc3)[_0x5b45('0x7')];}['addSuggestion'](_0x40b6d0){return this[_0x5b45('0x5')]['plugins'][_0x5b45('0x4')](_0x2c5cc3)[_0x5b45('0x3')](_0x40b6d0);}[_0x5b45('0x6')]({skipNotAttached:_0x475425=!0x1,toJSON:_0x24dcc3=!0x1}={}){return this[_0x5b45('0x5')][_0x5b45('0x9')][_0x5b45('0x4')](_0x2c5cc3)[_0x5b45('0x6')]({'skipNotAttached':_0x475425,'toJSON':_0x24dcc3});}[_0x5b45('0x1')](_0x3d8c64){return this['editor'][_0x5b45('0x9')][_0x5b45('0x4')](_0x2c5cc3)[_0x5b45('0x1')](_0x3d8c64);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f6b=['users','TrackChangesEditing','getSuggestions','trackChangesData','map','requires','useAnonymousUser','data','TrackChangesDataGetter','execute','create','push','rootsAttributes','TrackChangesData','Users','init','acceptAllSuggestions','getDataWithAcceptedSuggestions','trackChangesData.editorCreator','addSuggestionData','config','appendChild','getFullData','Pagination','destroy','constructor','getDataWithDiscardedSuggestions','addUser','createDocumentFragment','set','getRootNames','editor','editorCreator','get','reduce','getUser','function','document','name','model','_adapter','result','end','div','plugins','getRootsAttributes','define'];(function(_0x24f209,_0x1f6b09){const _0x1e6b36=function(_0x3fbc1a){while(--_0x3fbc1a){_0x24f209['push'](_0x24f209['shift']());}};_0x1e6b36(++_0x1f6b09);}(_0x1f6b,0xff));const _0x1e6b=function(_0x24f209,_0x1f6b09){_0x24f209=_0x24f209-0x0;let _0x1e6b36=_0x1f6b[_0x24f209];return _0x1e6b36;};import{Plugin as _0x54c38e}from'ckeditor5/src/core';import{CKEditorError as _0x1475bc}from'ckeditor5/src/utils';import _0x2a1a15 from'./trackchangesediting';import{sanitizeEditorConfig as _0x439f84}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x1e6b('0x3')];export default class T extends _0x54c38e{static get[_0x1e6b('0x20')](){return[_0x2a1a15];}static get['pluginName'](){return _0x1e6b('0x28');}[_0x1e6b('0x2a')](){const _0x49577b=this[_0x1e6b('0xb')];if(_0x49577b[_0x1e6b('0x0')][_0x1e6b('0x1a')](_0x1e6b('0x2d'),_0x30370d=>{const _0x40fed9=_0x49577b[_0x1e6b('0x13')][_0x1e6b('0x11')][_0x1e6b('0xa')]()[_0x1e6b('0xe')]((_0x1c5caf,_0x4f6ee8)=>(_0x1c5caf[_0x4f6ee8]='',_0x1c5caf),{});return _0x49577b[_0x1e6b('0x5')][_0x1e6b('0x25')](_0x40fed9,_0x30370d);}),_0x1e6b('0x10')!=typeof _0x49577b[_0x1e6b('0x0')]['get'](_0x1e6b('0x1e'))[_0x1e6b('0xc')])throw new _0x1475bc('track-changes-data-invalid-editor-creator');}[_0x1e6b('0x2c')](_0x23f13d){return v(this['editor'],!0x0,_0x23f13d);}[_0x1e6b('0x6')](_0x4985fd){return v(this[_0x1e6b('0xb')],!0x1,_0x4985fd);}}class P extends _0x54c38e{static get['pluginName'](){return _0x1e6b('0x23');}constructor(_0x221505){super(_0x221505),this[_0x1e6b('0x15')]=_0x1e6b('0x16');}[_0x1e6b('0x2a')](){this[_0x1e6b('0xb')][_0x1e6b('0x18')][_0x1e6b('0xd')]('CommentsRepository')[_0x1e6b('0x14')]={'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[_0x1e6b('0xb')]['plugins']['get'](_0x1e6b('0x1c'))[_0x1e6b('0x14')]=null;}}function D(_0x3b0995){return void 0x0!==_0x3b0995[_0x1e6b('0x19')];}async function v(_0x1342d4,_0x10d59f,_0x30448c){const _0x8e3316=_0x439f84(_0x1342d4,w);_0x8e3316['plugins'][_0x1e6b('0x26')](_0x2a1a15,P),_0x8e3316[_0x1e6b('0x27')]=D(_0x1342d4)?_0x1342d4[_0x1e6b('0x19')]():void 0x0;const _0x23fcb0=document[_0x1e6b('0x8')](),_0x550cbe=_0x1342d4[_0x1e6b('0x0')][_0x1e6b('0xd')]('trackChangesData')['editorCreator'],_0x36d082=await _0x550cbe(_0x8e3316,()=>function(_0x2dd6ce){const _0x48c84e=document['createElement'](_0x1e6b('0x17'));return _0x2dd6ce[_0x1e6b('0x1')](_0x48c84e),_0x48c84e;}(_0x23fcb0));!function(_0x4c6a3b,_0x52a8f7){const _0x2e6166=_0x4c6a3b[_0x1e6b('0x13')][_0x1e6b('0x11')][_0x1e6b('0xa')]()[_0x1e6b('0xe')]((_0x6b758d,_0x444425)=>(_0x6b758d[_0x444425]=_0x4c6a3b['data']['get']({'rootName':_0x444425}),_0x6b758d),{}),_0x430eab=_0x4c6a3b['plugins'][_0x1e6b('0xd')]('Users')[_0x1e6b('0x1b')][_0x1e6b('0x1f')](_0x5bd21f=>({'id':_0x5bd21f['id'],'name':_0x5bd21f[_0x1e6b('0x12')]})),_0x1b4cd2=_0x4c6a3b[_0x1e6b('0x18')][_0x1e6b('0xd')](_0x1e6b('0x1c'))[_0x1e6b('0x1d')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x10991e=_0x52a8f7['plugins'][_0x1e6b('0xd')](_0x1e6b('0x29')),_0x23fe6d=_0x52a8f7[_0x1e6b('0x18')][_0x1e6b('0xd')](_0x1e6b('0x1c'));for(const _0x1dcf68 of _0x430eab)_0x10991e[_0x1e6b('0xf')](_0x1dcf68['id'])||_0x10991e[_0x1e6b('0x7')](_0x1dcf68);_0x10991e['me']||_0x10991e[_0x1e6b('0x21')]();for(const _0x48880e of _0x1b4cd2)_0x23fe6d[_0x1e6b('0x2e')](_0x48880e);_0x52a8f7[_0x1e6b('0x22')][_0x1e6b('0x9')](_0x2e6166);}(_0x1342d4,_0x36d082),_0x36d082[_0x1e6b('0x24')](_0x10d59f?_0x1e6b('0x2b'):'discardAllSuggestions');const _0x3f6c66=D(_0x36d082)?_0x36d082[_0x1e6b('0x2')](_0x30448c):_0x36d082[_0x1e6b('0x22')]['get'](_0x30448c);return await _0x36d082[_0x1e6b('0x4')](),_0x3f6c66;}
23
+ const _0x2754=['appendChild','users','acceptAllSuggestions','plugins','getRootsAttributes','get','set','addSuggestionData','discardAllSuggestions','TrackChangesEditing','TrackChangesDataGetter','requires','init','pluginName','trackChangesData','function','result','Pagination','_adapter','data','Users','getFullData','execute','getSuggestions','track-changes-data-invalid-editor-creator','editor','getRootNames','TrackChangesData','rootsAttributes','getDataWithDiscardedSuggestions','div','editorCreator','define','document','config','push','getUser','model','create','reduce','map','useAnonymousUser','destroy','trackChangesData.editorCreator','createDocumentFragment'];(function(_0x59ee85,_0x2754bd){const _0x5e409f=function(_0x3fc5ad){while(--_0x3fc5ad){_0x59ee85['push'](_0x59ee85['shift']());}};_0x5e409f(++_0x2754bd);}(_0x2754,0x1de));const _0x5e40=function(_0x59ee85,_0x2754bd){_0x59ee85=_0x59ee85-0x0;let _0x5e409f=_0x2754[_0x59ee85];return _0x5e409f;};import{Plugin as _0x128252}from'ckeditor5/src/core';import{CKEditorError as _0x2c5fee}from'ckeditor5/src/utils';import _0x3f6391 from'./trackchangesediting';import{sanitizeEditorConfig as _0x1d57ab}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x5e40('0x22')];export default class T extends _0x128252{static get[_0x5e40('0x1c')](){return[_0x3f6391];}static get[_0x5e40('0x1e')](){return _0x5e40('0x2c');}[_0x5e40('0x1d')](){const _0x33d070=this['editor'];if(_0x33d070[_0x5e40('0x6')][_0x5e40('0x4')](_0x5e40('0xf'),_0x158f1f=>{const _0x3095ec=_0x33d070['model'][_0x5e40('0x5')][_0x5e40('0x2b')]()['reduce']((_0x4e8761,_0x554a32)=>(_0x4e8761[_0x554a32]='',_0x4e8761),{});return _0x33d070['constructor'][_0x5e40('0xa')](_0x3095ec,_0x158f1f);}),_0x5e40('0x20')!=typeof _0x33d070['config'][_0x5e40('0x16')](_0x5e40('0x1f'))[_0x5e40('0x3')])throw new _0x2c5fee(_0x5e40('0x29'));}['getDataWithAcceptedSuggestions'](_0x5d03fd){return v(this['editor'],!0x0,_0x5d03fd);}[_0x5e40('0x1')](_0x118cac){return v(this[_0x5e40('0x2a')],!0x1,_0x118cac);}}class P extends _0x128252{static get[_0x5e40('0x1e')](){return _0x5e40('0x1b');}constructor(_0x558056){super(_0x558056),this[_0x5e40('0x21')]='end';}['init'](){this[_0x5e40('0x2a')]['plugins'][_0x5e40('0x16')]('CommentsRepository')[_0x5e40('0x23')]={'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[_0x5e40('0x2a')][_0x5e40('0x14')][_0x5e40('0x16')](_0x5e40('0x1a'))[_0x5e40('0x23')]=null;}}function D(_0x5cc708){return void 0x0!==_0x5cc708[_0x5e40('0x15')];}async function v(_0x421b39,_0x7f9eb4,_0x27b65f){const _0x1e86e8=_0x1d57ab(_0x421b39,w);_0x1e86e8['plugins'][_0x5e40('0x7')](_0x3f6391,P),_0x1e86e8[_0x5e40('0x0')]=D(_0x421b39)?_0x421b39[_0x5e40('0x15')]():void 0x0;const _0x5a3bbe=document[_0x5e40('0x10')](),_0x5ec5b0=_0x421b39[_0x5e40('0x6')]['get'](_0x5e40('0x1f'))[_0x5e40('0x3')],_0x157281=await _0x5ec5b0(_0x1e86e8,()=>function(_0x4be51b){const _0x121a26=document['createElement'](_0x5e40('0x2'));return _0x4be51b[_0x5e40('0x11')](_0x121a26),_0x121a26;}(_0x5a3bbe));!function(_0x5d1adb,_0x11c9bb){const _0x42f90c=_0x5d1adb[_0x5e40('0x9')]['document'][_0x5e40('0x2b')]()[_0x5e40('0xb')]((_0x2770a9,_0x47788e)=>(_0x2770a9[_0x47788e]=_0x5d1adb[_0x5e40('0x24')][_0x5e40('0x16')]({'rootName':_0x47788e}),_0x2770a9),{}),_0x566976=_0x5d1adb[_0x5e40('0x14')]['get']('Users')[_0x5e40('0x12')][_0x5e40('0xc')](_0x3df669=>({'id':_0x3df669['id'],'name':_0x3df669['name']})),_0xd3bc98=_0x5d1adb[_0x5e40('0x14')][_0x5e40('0x16')](_0x5e40('0x1a'))[_0x5e40('0x28')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x597539=_0x11c9bb['plugins']['get'](_0x5e40('0x25')),_0x39294f=_0x11c9bb[_0x5e40('0x14')][_0x5e40('0x16')](_0x5e40('0x1a'));for(const _0x3763a7 of _0x566976)_0x597539[_0x5e40('0x8')](_0x3763a7['id'])||_0x597539['addUser'](_0x3763a7);_0x597539['me']||_0x597539[_0x5e40('0xd')]();for(const _0x5b66b2 of _0xd3bc98)_0x39294f[_0x5e40('0x18')](_0x5b66b2);_0x11c9bb[_0x5e40('0x24')][_0x5e40('0x17')](_0x42f90c);}(_0x421b39,_0x157281),_0x157281[_0x5e40('0x27')](_0x7f9eb4?_0x5e40('0x13'):_0x5e40('0x19'));const _0x365f6e=D(_0x157281)?_0x157281[_0x5e40('0x26')](_0x27b65f):_0x157281[_0x5e40('0x24')][_0x5e40('0x16')](_0x27b65f);return await _0x157281[_0x5e40('0xe')](),_0x365f6e;}