@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230707.0 → 0.0.0-nightly-20230709.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 +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/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 _0x48d6=['_onDiscard','nodeAfter','split','push','discard','getRange','previous','onAccept','start','isInContent','reduce','addMarker','toJSON','get','set','getMarkers','add','length','_onAttributesChange','getItems','change','subType','isMultiRange','getAllAdjacentSuggestions','nodeBefore','data','isIntersecting','authoredAt','@external','substr','_model','next','end','decorate','creator','addMarkerName','attributes','commentThread','accept','clear','getFirstRange','removeMarker','_saved','delete','from','isIntersectingWithRange','createdAt','onAttributesChange','_markerNames','_onAccept','removeMarkers','getFirstMarker','removeAttribute','getRanges','getMarkerNames','onDiscard','head','getMultiRangeId','getContainedElement','addRange','type','author','hasComments','setAttribute'];(function(_0x19255c,_0x48d69c){const _0x2da1f0=function(_0x2d4091){while(--_0x2d4091){_0x19255c['push'](_0x19255c['shift']());}};_0x2da1f0(++_0x48d69c);}(_0x48d6,0xcd));const _0x2da1=function(_0x19255c,_0x48d69c){_0x19255c=_0x19255c-0x0;let _0x2da1f0=_0x48d6[_0x19255c];return _0x2da1f0;};import{Element as _0x444631}from'ckeditor5/src/engine';import{ObservableMixin as _0x57df20,uid as _0x1b91c0}from'ckeditor5/src/utils';import{cloneDeep as _0x7a59c1,isEqual as _0x192eac,set as _0x380a54,unset as _0x48b3a5}from'lodash-es';export default class u extends _0x57df20(){constructor(_0x5261fd,_0x4eaf1b){super(),this['id']=_0x4eaf1b['id'],this[_0x2da1('0x2f')]=_0x4eaf1b['type'],this['subType']=_0x4eaf1b['subType']||null,this[_0x2da1('0x30')]=_0x4eaf1b[_0x2da1('0x30')],this[_0x2da1('0x15')]=_0x4eaf1b[_0x2da1('0x15')]||_0x4eaf1b[_0x2da1('0x30')],this['isExternal']=Boolean(_0x4eaf1b[_0x2da1('0x17')]&&_0x4eaf1b[_0x2da1('0x17')][_0x2da1('0xf')]),this[_0x2da1('0xc')]=null,this[_0x2da1('0x11')]=_0x5261fd,this[_0x2da1('0x24')]=_0x4eaf1b[_0x2da1('0x3a')],this[_0x2da1('0x33')]=_0x4eaf1b[_0x2da1('0x2a')],this[_0x2da1('0x5')]=_0x4eaf1b[_0x2da1('0x22')],this['_markerNames']=new Set(),this[_0x2da1('0x21')]=null,this['set'](_0x2da1('0xe'),null),this[_0x2da1('0x1')](_0x2da1('0x17'),_0x4eaf1b[_0x2da1('0x17')]||{}),this[_0x2da1('0x1')](_0x2da1('0x39'),null),this[_0x2da1('0x1')](_0x2da1('0x12'),null),this[_0x2da1('0x1')](_0x2da1('0x18'),null),this['set'](_0x2da1('0x1d'),!0x1),this[_0x2da1('0x14')](_0x2da1('0x19')),this[_0x2da1('0x14')](_0x2da1('0x37'));}get[_0x2da1('0x2b')](){let _0x531a98=this;for(;_0x531a98['previous'];)_0x531a98=_0x531a98[_0x2da1('0x39')];return _0x531a98;}get[_0x2da1('0x31')](){return!!this[_0x2da1('0x18')]&&this[_0x2da1('0x18')][_0x2da1('0x4')]>0x0;}get[_0x2da1('0x9')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0x2da1('0x1f')](this[_0x2da1('0x23')])[0x0][_0x2da1('0x35')](':')[_0x2da1('0x4')];}get[_0x2da1('0x3c')](){return null!==this['getFirstMarker']();}[_0x2da1('0x16')](_0x5edd3a){this['_markerNames'][_0x2da1('0x3')](_0x5edd3a);}['getMarkerNames'](){return Array['from'](this[_0x2da1('0x23')]);}[_0x2da1('0x2')](){return this[_0x2da1('0x29')]()['map'](_0x26dc6e=>this[_0x2da1('0x11')]['markers'][_0x2da1('0x0')](_0x26dc6e))['filter'](_0x19ae95=>_0x19ae95);}['getFirstMarker'](){return this[_0x2da1('0x2')]()[0x0]||null;}[_0x2da1('0x25')](){this[_0x2da1('0x11')][_0x2da1('0x7')](_0x1557c2=>{for(const _0x5ba630 of this[_0x2da1('0x2')]())_0x1557c2[_0x2da1('0x1c')](_0x5ba630);}),this['_markerNames'][_0x2da1('0x1a')]();}[_0x2da1('0x1c')](_0x5bb692){this[_0x2da1('0x11')][_0x2da1('0x7')](_0xc34249=>{_0xc34249[_0x2da1('0x1c')](_0x5bb692);}),this[_0x2da1('0x23')][_0x2da1('0x1e')](_0x5bb692);}[_0x2da1('0x2e')](_0x434b1a){const _0x4bae8d='suggestion:'+this[_0x2da1('0x2f')]+':'+this['subType']+':'+this['id']+':'+this[_0x2da1('0x15')]['id']+':'+u[_0x2da1('0x2c')]();this[_0x2da1('0x16')](_0x4bae8d),this['_model'][_0x2da1('0x7')](_0x3384ee=>{_0x3384ee[_0x2da1('0x3e')](_0x4bae8d,{'range':_0x434b1a,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2da1('0x20')](_0x51bb74){for(const _0x27d23c of this[_0x2da1('0x28')]())if(_0x27d23c[_0x2da1('0xd')](_0x51bb74))return!0x0;return!0x1;}[_0x2da1('0x28')](){return this[_0x2da1('0x2')]()['map'](_0xd1f6aa=>_0xd1f6aa[_0x2da1('0x38')]());}[_0x2da1('0x6')](){return this[_0x2da1('0x28')]()[_0x2da1('0x3d')]((_0x36897e,_0x3e2661)=>[..._0x36897e,..._0x3e2661[_0x2da1('0x6')]()],[]);}[_0x2da1('0x1b')](){var _0x2840bd;return(null===(_0x2840bd=this[_0x2da1('0x26')]())||void 0x0===_0x2840bd?void 0x0:_0x2840bd[_0x2da1('0x38')]())||null;}[_0x2da1('0x2d')](){const _0x5026ac=this[_0x2da1('0x28')]();if(0x1!=_0x5026ac['length'])return null;const _0x236527=_0x5026ac[0x0],_0x178f0d=_0x236527[_0x2da1('0x3b')][_0x2da1('0x34')],_0x148d15=_0x236527[_0x2da1('0x13')][_0x2da1('0xb')];return _0x178f0d instanceof _0x444631?_0x178f0d!=_0x148d15?null:_0x178f0d:null;}[_0x2da1('0x19')](){this['_onAccept'](this['getRanges'](),this['data'],this[_0x2da1('0x17')]),this[_0x2da1('0x25')]();}[_0x2da1('0x37')](){this[_0x2da1('0x33')](this[_0x2da1('0x28')](),this[_0x2da1('0xc')],this[_0x2da1('0x17')]),this[_0x2da1('0x25')]();}[_0x2da1('0xa')](){const _0xf102a2=[];let _0x69fb2=this[_0x2da1('0x2b')];for(;_0x69fb2;)_0xf102a2[_0x2da1('0x36')](_0x69fb2),_0x69fb2=_0x69fb2[_0x2da1('0x12')];return _0xf102a2;}[_0x2da1('0x32')](_0x428946,_0x29777c){const _0x23ff69=_0x7a59c1(this[_0x2da1('0x17')]);_0x380a54(_0x23ff69,_0x428946,_0x29777c),_0x192eac(_0x23ff69,this[_0x2da1('0x17')])||(this[_0x2da1('0x17')]=_0x23ff69,this[_0x2da1('0x5')](_0x23ff69));}[_0x2da1('0x27')](_0x380963){const _0x1ca727=_0x7a59c1(this[_0x2da1('0x17')]);_0x48b3a5(_0x1ca727,_0x380963),_0x192eac(_0x1ca727,this[_0x2da1('0x17')])||(this['attributes']=_0x1ca727,this[_0x2da1('0x5')](this[_0x2da1('0x17')]));}[_0x2da1('0x3f')](){return{'id':this['id'],'type':this[_0x2da1('0x8')]?this[_0x2da1('0x2f')]+':'+this[_0x2da1('0x8')]:this[_0x2da1('0x2f')],'authorId':this[_0x2da1('0x15')]['id'],'createdAt':this[_0x2da1('0x21')],'hasComments':this['hasComments'],'data':this[_0x2da1('0xc')],'attributes':this[_0x2da1('0x17')]};}static[_0x2da1('0x2c')](){return _0x1b91c0()[_0x2da1('0x10')](0x1,0x5);}}
23
+ const _0x52a7=['nodeBefore','decorate','_markerNames','removeAttribute','addMarkerName','accept','getMultiRangeId','next','@external','previous','getItems','getMarkerNames','_saved','getFirstRange','removeMarker','attributes','subType','data','get','type','change','isIntersectingWithRange','isExternal','getMarkers','map','head','size','substr','delete','filter','length','set','addRange','_model','onAccept','toJSON','onAttributesChange','_onDiscard','reduce','_onAccept','hasComments','start','isInContent','from','_onAttributesChange','getRanges','getRange','add','createdAt','markers','removeMarkers','getContainedElement','commentThread','discard','getFirstMarker','setAttribute','creator','author','isIntersecting'];(function(_0x4b40b5,_0x52a7be){const _0x4f608f=function(_0x2832fc){while(--_0x2832fc){_0x4b40b5['push'](_0x4b40b5['shift']());}};_0x4f608f(++_0x52a7be);}(_0x52a7,0x1a0));const _0x4f60=function(_0x4b40b5,_0x52a7be){_0x4b40b5=_0x4b40b5-0x0;let _0x4f608f=_0x52a7[_0x4b40b5];return _0x4f608f;};import{Element as _0x14f692}from'ckeditor5/src/engine';import{ObservableMixin as _0x565a7b,uid as _0x3325b6}from'ckeditor5/src/utils';import{cloneDeep as _0xe7ed31,isEqual as _0x5c9230,set as _0xa5bb23,unset as _0xff05fe}from'lodash-es';export default class u extends _0x565a7b(){constructor(_0x47c142,_0x203afe){super(),this['id']=_0x203afe['id'],this[_0x4f60('0x10')]=_0x203afe[_0x4f60('0x10')],this[_0x4f60('0xd')]=_0x203afe[_0x4f60('0xd')]||null,this[_0x4f60('0x36')]=_0x203afe[_0x4f60('0x36')],this['creator']=_0x203afe[_0x4f60('0x35')]||_0x203afe[_0x4f60('0x36')],this[_0x4f60('0x13')]=Boolean(_0x203afe[_0x4f60('0xc')]&&_0x203afe[_0x4f60('0xc')][_0x4f60('0x5')]),this[_0x4f60('0xe')]=null,this[_0x4f60('0x1e')]=_0x47c142,this['_onAccept']=_0x203afe[_0x4f60('0x1f')],this[_0x4f60('0x22')]=_0x203afe['onDiscard'],this[_0x4f60('0x29')]=_0x203afe[_0x4f60('0x21')],this[_0x4f60('0x3a')]=new Set(),this['createdAt']=null,this[_0x4f60('0x1c')]('authoredAt',null),this[_0x4f60('0x1c')](_0x4f60('0xc'),_0x203afe['attributes']||{}),this[_0x4f60('0x1c')](_0x4f60('0x6'),null),this[_0x4f60('0x1c')]('next',null),this['set']('commentThread',null),this[_0x4f60('0x1c')](_0x4f60('0x9'),!0x1),this[_0x4f60('0x39')](_0x4f60('0x2')),this['decorate'](_0x4f60('0x32'));}get[_0x4f60('0x16')](){let _0x2fd75d=this;for(;_0x2fd75d['previous'];)_0x2fd75d=_0x2fd75d[_0x4f60('0x6')];return _0x2fd75d;}get[_0x4f60('0x25')](){return!!this[_0x4f60('0x31')]&&this[_0x4f60('0x31')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0x4f60('0x3a')][_0x4f60('0x17')])return!0x1;return 0x6==Array[_0x4f60('0x28')](this[_0x4f60('0x3a')])[0x0]['split'](':')['length'];}get[_0x4f60('0x27')](){return null!==this[_0x4f60('0x33')]();}[_0x4f60('0x1')](_0xa60128){this['_markerNames'][_0x4f60('0x2c')](_0xa60128);}[_0x4f60('0x8')](){return Array['from'](this['_markerNames']);}[_0x4f60('0x14')](){return this[_0x4f60('0x8')]()[_0x4f60('0x15')](_0xab3aae=>this['_model'][_0x4f60('0x2e')][_0x4f60('0xf')](_0xab3aae))[_0x4f60('0x1a')](_0x1120b0=>_0x1120b0);}[_0x4f60('0x33')](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this[_0x4f60('0x1e')][_0x4f60('0x11')](_0x113468=>{for(const _0x49c9c4 of this['getMarkers']())_0x113468[_0x4f60('0xb')](_0x49c9c4);}),this[_0x4f60('0x3a')]['clear']();}[_0x4f60('0xb')](_0x56175a){this['_model'][_0x4f60('0x11')](_0x508d81=>{_0x508d81[_0x4f60('0xb')](_0x56175a);}),this[_0x4f60('0x3a')][_0x4f60('0x19')](_0x56175a);}[_0x4f60('0x1d')](_0x4ed61c){const _0x54f110='suggestion:'+this[_0x4f60('0x10')]+':'+this[_0x4f60('0xd')]+':'+this['id']+':'+this[_0x4f60('0x35')]['id']+':'+u[_0x4f60('0x3')]();this[_0x4f60('0x1')](_0x54f110),this[_0x4f60('0x1e')]['change'](_0x5f351d=>{_0x5f351d['addMarker'](_0x54f110,{'range':_0x4ed61c,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4f60('0x12')](_0xb65d21){for(const _0x46f195 of this[_0x4f60('0x2a')]())if(_0x46f195[_0x4f60('0x37')](_0xb65d21))return!0x0;return!0x1;}[_0x4f60('0x2a')](){return this[_0x4f60('0x14')]()['map'](_0xe8bb2=>_0xe8bb2[_0x4f60('0x2b')]());}['getItems'](){return this[_0x4f60('0x2a')]()[_0x4f60('0x23')]((_0x43636a,_0x3456fe)=>[..._0x43636a,..._0x3456fe[_0x4f60('0x7')]()],[]);}[_0x4f60('0xa')](){var _0x597279;return(null===(_0x597279=this[_0x4f60('0x33')]())||void 0x0===_0x597279?void 0x0:_0x597279['getRange']())||null;}[_0x4f60('0x30')](){const _0xea5cd9=this[_0x4f60('0x2a')]();if(0x1!=_0xea5cd9[_0x4f60('0x1b')])return null;const _0x5886ab=_0xea5cd9[0x0],_0x1bd32e=_0x5886ab[_0x4f60('0x26')]['nodeAfter'],_0x5d1e6a=_0x5886ab['end'][_0x4f60('0x38')];return _0x1bd32e instanceof _0x14f692?_0x1bd32e!=_0x5d1e6a?null:_0x1bd32e:null;}[_0x4f60('0x2')](){this[_0x4f60('0x24')](this[_0x4f60('0x2a')](),this['data'],this[_0x4f60('0xc')]),this[_0x4f60('0x2f')]();}[_0x4f60('0x32')](){this[_0x4f60('0x22')](this['getRanges'](),this[_0x4f60('0xe')],this['attributes']),this[_0x4f60('0x2f')]();}['getAllAdjacentSuggestions'](){const _0x5a5ed0=[];let _0x122c07=this[_0x4f60('0x16')];for(;_0x122c07;)_0x5a5ed0['push'](_0x122c07),_0x122c07=_0x122c07[_0x4f60('0x4')];return _0x5a5ed0;}[_0x4f60('0x34')](_0x10e11a,_0x468280){const _0x10d8ef=_0xe7ed31(this[_0x4f60('0xc')]);_0xa5bb23(_0x10d8ef,_0x10e11a,_0x468280),_0x5c9230(_0x10d8ef,this[_0x4f60('0xc')])||(this[_0x4f60('0xc')]=_0x10d8ef,this[_0x4f60('0x29')](_0x10d8ef));}[_0x4f60('0x0')](_0x44dcea){const _0x304f40=_0xe7ed31(this['attributes']);_0xff05fe(_0x304f40,_0x44dcea),_0x5c9230(_0x304f40,this[_0x4f60('0xc')])||(this[_0x4f60('0xc')]=_0x304f40,this[_0x4f60('0x29')](this['attributes']));}[_0x4f60('0x20')](){return{'id':this['id'],'type':this[_0x4f60('0xd')]?this['type']+':'+this['subType']:this[_0x4f60('0x10')],'authorId':this['creator']['id'],'createdAt':this[_0x4f60('0x2d')],'hasComments':this['hasComments'],'data':this[_0x4f60('0xe')],'attributes':this[_0x4f60('0xc')]};}static[_0x4f60('0x3')](){return _0x3325b6()[_0x4f60('0x18')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x330e=['addObject','previousSibling','element','length','Object','Container','indexOf','_schema','elementStart','_addDescriptionItems','isEmpty','getItemLabel','addEmptyContainer','isInContent','label','normal','$textProxy','type','removeObject','elementEnd','deletion','*Remove:*\x20%0','*Merge:*\x20%0','remove','item','addContainer','$1\x20$2','_locale','removeContainer','ELEMENT_SPACE','isObject','text','EmptyContainer','registerElementLabel','_resolveDescriptionItems','_itemLabelsCallbacks','*Insert:*\x20%0','get','push','skip','insertion','quantity','add','removeEmptyContainer','name','replace','getFirstRange','_customCallbacks','REPLACE_TEXT','match','start','nextSibling','data','pop','getDescriptions','checkChild','softBreak','*Split:*\x20%0','_itemLabels'];(function(_0x1cc918,_0x330e49){const _0x5e2015=function(_0x588bf4){while(--_0x588bf4){_0x1cc918['push'](_0x1cc918['shift']());}};_0x5e2015(++_0x330e49);}(_0x330e,0xdd));const _0x5e20=function(_0x1cc918,_0x330e49){_0x1cc918=_0x1cc918-0x0;let _0x5e2015=_0x330e[_0x1cc918];return _0x5e2015;};import{getTranslation as _0xdc489f}from'./utils/common-translations';import{priorities as _0x4a3a5f,insertToPriorityArray as _0x140d66}from'ckeditor5/src/utils';export default class m{constructor(_0x247b80,_0x5e849d){this['_customCallbacks']=[],this[_0x5e20('0xe')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x5e20('0x16')]=_0x247b80,this[_0x5e20('0x2a')]=_0x5e849d;}[_0x5e20('0xa')](_0x14a30e){const _0xe567a=[];for(let _0x1e68c9=0x0;_0x1e68c9<_0x14a30e['length'];_0x1e68c9++){const _0x1248ea=_0x14a30e[_0x1e68c9];if(!_0x1248ea[_0x5e20('0x1c')])continue;let _0xd15c57=!0x1;for(const _0x20cbb6 of this[_0x5e20('0x3')]){const _0x8d08a5=_0x20cbb6(_0x1248ea);if(_0x8d08a5){_0x5e20('0x20')in _0x8d08a5&&_0xe567a[_0x5e20('0x35')](_0x8d08a5),_0xd15c57=!0x0;break;}}if(!_0xd15c57){this[_0x5e20('0x18')](_0xe567a,_0x1248ea);const _0x2579e8=_0x14a30e[_0x1e68c9+0x1];if(_0x2579e8&&!_0x1248ea[_0x5e20('0x2')]()['end']['isEqual'](_0x2579e8['getFirstRange']()[_0x5e20('0x6')])){const _0x2af98f=_0xe567a[_0xe567a[_0x5e20('0x12')]-0x1],_0x46fc3e=_0x5e20('0x37')==_0x1248ea[_0x5e20('0x20')]?'add':_0x5e20('0x26');_0x2af98f&&_0x5e20('0x2e')==_0x2af98f['type']&&(_0x2af98f[_0x46fc3e]+='\x0a');}}}return this[_0x5e20('0x31')](_0xe567a);}['registerDescriptionCallback'](_0x4e034e){this['_customCallbacks'][_0x5e20('0x35')](_0x4e034e);}[_0x5e20('0x30')](_0x281ea4,_0x198a66,_0x5761cb=_0x4a3a5f[_0x5e20('0x1e')]){'function'==typeof _0x281ea4?_0x140d66(this[_0x5e20('0x32')],{'matchingCallback':_0x281ea4,'label':_0x198a66,'priority':_0x5761cb}):this['_itemLabels']['set'](_0x281ea4,_0x198a66);}['getItemLabel'](_0x18c0d1,_0x2f29de=0x1){let _0x258fcf;for(const _0x3b1199 of this[_0x5e20('0x32')])if(_0x3b1199['matchingCallback'](_0x18c0d1)){_0x258fcf=_0x3b1199[_0x5e20('0x1d')];break;}return _0x258fcf||(_0x258fcf=this[_0x5e20('0xe')][_0x5e20('0x34')](_0x18c0d1[_0x5e20('0x0')])),_0x258fcf?_0x258fcf(_0x2f29de):0x1!==_0x2f29de?_0x2f29de+'\x20'+_0x18c0d1['name']+'s':''+_0x18c0d1['name'];}['_addDescriptionItems'](_0x83598c,_0x5aa46d){const _0x2152b4=_0x5aa46d[_0x5e20('0x2')]()['getWalker'](),_0x1ff78d=_0x5e20('0x37')==_0x5aa46d[_0x5e20('0x20')]?_0x5e20('0x39'):_0x5e20('0x26');for(const _0x59f02f of _0x2152b4){const _0x210571=_0x59f02f[_0x5e20('0x27')],_0x275f01=_0x83598c[_0x83598c[_0x5e20('0x12')]-0x1];if(_0x210571['is'](_0x5e20('0x1f')))_0x275f01&&_0x275f01[_0x5e20('0x20')]['indexOf'](_0x5e20('0x14'))>-0x1&&_0x83598c[_0x5e20('0x9')](),_0x275f01&&_0x5e20('0x2e')==_0x275f01[_0x5e20('0x20')]?_0x275f01[_0x1ff78d]+=_0x210571[_0x5e20('0x8')]:_0x83598c[_0x5e20('0x35')]({'type':_0x5e20('0x2e'),'add':'add'==_0x1ff78d?_0x210571[_0x5e20('0x8')]:'','remove':_0x5e20('0x26')==_0x1ff78d?_0x210571['data']:''});else{if(this[_0x5e20('0x16')]['isObject'](_0x210571)){const _0xca5530=_0x210571;if(_0x275f01&&_0x275f01['type'][_0x5e20('0x15')](_0x5e20('0x14'))>-0x1&&_0x83598c[_0x5e20('0x9')](),_0x5e20('0x22')==_0x59f02f[_0x5e20('0x20')])continue;_0x275f01&&_0x275f01[_0x5e20('0x20')]==_0x1ff78d+_0x5e20('0x13')&&_0x275f01[_0x5e20('0x11')][_0x5e20('0x0')]==_0xca5530[_0x5e20('0x0')]?_0x275f01[_0x5e20('0x38')]++:_0x83598c['push']({'type':_0x1ff78d+'Object','element':_0xca5530,'quantity':0x1}),_0x2152b4[_0x5e20('0x36')](_0x2ab778=>!(_0x5e20('0x22')==_0x2ab778[_0x5e20('0x20')]&&_0x2ab778[_0x5e20('0x27')]==_0x210571));}else{if(this[_0x5e20('0x16')][_0x5e20('0xb')](_0x210571,'$text')||_0x210571['is'](_0x5e20('0x11'),_0x5e20('0xc'))){const _0x472d3e=_0x210571;if('add'==_0x1ff78d&&_0x5e20('0x17')==_0x59f02f['type']||'remove'==_0x1ff78d&&_0x5e20('0x22')==_0x59f02f[_0x5e20('0x20')])continue;if(_0x275f01&&-0x1==_0x275f01[_0x5e20('0x20')][_0x5e20('0x15')](_0x5e20('0x14'))){_0x5e20('0x2e')==_0x275f01[_0x5e20('0x20')]&&(_0x275f01[_0x1ff78d]+='\x0a');continue;}let _0x3410c9;if(_0x3410c9='add'==_0x1ff78d?_0x472d3e['nextSibling']&&!this[_0x5e20('0x16')][_0x5e20('0x2d')](_0x472d3e[_0x5e20('0x7')])?_0x472d3e[_0x5e20('0x7')]:null:_0x472d3e[_0x5e20('0x10')]&&!this[_0x5e20('0x16')][_0x5e20('0x2d')](_0x472d3e[_0x5e20('0x10')])?_0x472d3e[_0x5e20('0x10')]:null,_0x472d3e[_0x5e20('0x19')]||_0x3410c9&&_0x3410c9[_0x5e20('0x19')]){const _0x4c8852=_0x3410c9&&_0x3410c9[_0x5e20('0x19')]?_0x3410c9:_0x472d3e;_0x275f01&&_0x275f01['type']==_0x1ff78d+_0x5e20('0x2f')&&_0x275f01[_0x5e20('0x11')][_0x5e20('0x0')]==_0x4c8852['name']?_0x275f01['quantity']++:_0x83598c[_0x5e20('0x35')]({'type':_0x1ff78d+_0x5e20('0x2f'),'element':_0x4c8852,'quantity':0x1});}else _0x83598c[_0x5e20('0x35')]({'type':_0x1ff78d+_0x5e20('0x14'),'element':_0x472d3e});}}}}}[_0x5e20('0x31')](_0x48a1b7){const _0x4b79a6=this[_0x5e20('0x2a')],_0x42ca41=[];for(const _0x52f821 of _0x48a1b7){switch(_0x52f821['type']){case _0x5e20('0x2e'):if(_0x52f821[_0x5e20('0x39')]=_0x52f821[_0x5e20('0x39')]['replace'](/(\S)\u000A+(\S)/g,_0x5e20('0x29'))['replace'](/\u000A/g,''),_0x52f821[_0x5e20('0x26')]=_0x52f821[_0x5e20('0x26')][_0x5e20('0x1')](/(\S)\u000A+(\S)/g,_0x5e20('0x29'))['replace'](/\u000A/g,''),''!=_0x52f821['add']&&''!=_0x52f821['remove']){_0x42ca41['push']({'type':_0x5e20('0x1'),'content':_0xdc489f(_0x4b79a6,_0x5e20('0x4'),['\x22'+_0x52f821[_0x5e20('0x26')]+'\x22','\x22'+_0x52f821['add']+'\x22'])});continue;}if(null!=_0x52f821[_0x5e20('0x39')][_0x5e20('0x5')](/^ +$/)){_0x42ca41[_0x5e20('0x35')]({'type':_0x5e20('0x37'),'content':_0xdc489f(_0x4b79a6,'*Insert:*\x20%0',_0xdc489f(_0x4b79a6,_0x5e20('0x2c'),_0x52f821[_0x5e20('0x39')]['length']))});continue;}if(null!=_0x52f821[_0x5e20('0x26')][_0x5e20('0x5')](/^ +$/)){_0x42ca41['push']({'type':_0x5e20('0x23'),'content':_0xdc489f(_0x4b79a6,_0x5e20('0x24'),_0xdc489f(_0x4b79a6,_0x5e20('0x2c'),_0x52f821[_0x5e20('0x26')][_0x5e20('0x12')]))});continue;}if(''!=_0x52f821[_0x5e20('0x39')]){_0x42ca41[_0x5e20('0x35')]({'type':'insertion','content':_0xdc489f(_0x4b79a6,_0x5e20('0x33'),'\x22'+_0x52f821['add']+'\x22')});continue;}_0x42ca41[_0x5e20('0x35')]({'type':'deletion','content':_0xdc489f(_0x4b79a6,_0x5e20('0x24'),'\x22'+_0x52f821[_0x5e20('0x26')]+'\x22')});continue;case _0x5e20('0x1b'):case _0x5e20('0xf'):_0x42ca41['push']({'type':_0x5e20('0x37'),'content':_0xdc489f(_0x4b79a6,_0x5e20('0x33'),this[_0x5e20('0x1a')](_0x52f821[_0x5e20('0x11')],_0x52f821[_0x5e20('0x38')]))});continue;case _0x5e20('0x3a'):case _0x5e20('0x21'):_0x42ca41['push']({'type':'deletion','content':_0xdc489f(_0x4b79a6,_0x5e20('0x24'),this[_0x5e20('0x1a')](_0x52f821[_0x5e20('0x11')],_0x52f821[_0x5e20('0x38')]))});continue;case _0x5e20('0x28'):_0x42ca41[_0x5e20('0x35')]({'type':'insertion','content':_0xdc489f(_0x4b79a6,_0x5e20('0xd'),this['getItemLabel'](_0x52f821[_0x5e20('0x11')],_0x52f821['quantity']))});continue;case _0x5e20('0x2b'):_0x42ca41['push']({'type':'deletion','content':_0xdc489f(_0x4b79a6,_0x5e20('0x25'),this[_0x5e20('0x1a')](_0x52f821[_0x5e20('0x11')],_0x52f821[_0x5e20('0x38')]))});continue;}_0x42ca41[_0x5e20('0x35')](_0x52f821);}return _0x42ca41;}}
23
+ const _0x3794=['skip','get','*Merge:*\x20%0','$text','*Remove:*\x20%0','isInContent','$textProxy','item','previousSibling','replace','_locale','name','elementEnd','deletion','Container','type','indexOf','_addDescriptionItems','isObject','checkChild','ELEMENT_SPACE','Object','text','normal','_resolveDescriptionItems','data','*Insert:*\x20%0','nextSibling','match','remove','length','_customCallbacks','removeContainer','insertion','getFirstRange','function','_schema','EmptyContainer','pop','_itemLabelsCallbacks','isEmpty','start','$1\x20$2','_itemLabels','getDescriptions','registerDescriptionCallback','add','removeObject','push','getItemLabel','*Split:*\x20%0','quantity','element'];(function(_0x127101,_0x3794eb){const _0x50eba4=function(_0x2dcace){while(--_0x2dcace){_0x127101['push'](_0x127101['shift']());}};_0x50eba4(++_0x3794eb);}(_0x3794,0xb1));const _0x50eb=function(_0x127101,_0x3794eb){_0x127101=_0x127101-0x0;let _0x50eba4=_0x3794[_0x127101];return _0x50eba4;};import{getTranslation as _0x5675e8}from'./utils/common-translations';import{priorities as _0x3c26d6,insertToPriorityArray as _0x2d4495}from'ckeditor5/src/utils';export default class m{constructor(_0x4bcc02,_0x57e010){this[_0x50eb('0xd')]=[],this[_0x50eb('0x19')]=new Map(),this[_0x50eb('0x15')]=[],this[_0x50eb('0x12')]=_0x4bcc02,this[_0x50eb('0x2d')]=_0x57e010;}[_0x50eb('0x1a')](_0x585602){const _0x23c605=[];for(let _0x588cdd=0x0;_0x588cdd<_0x585602['length'];_0x588cdd++){const _0xd03616=_0x585602[_0x588cdd];if(!_0xd03616[_0x50eb('0x28')])continue;let _0x187b9c=!0x1;for(const _0x5e4ca1 of this['_customCallbacks']){const _0x202b67=_0x5e4ca1(_0xd03616);if(_0x202b67){_0x50eb('0x32')in _0x202b67&&_0x23c605['push'](_0x202b67),_0x187b9c=!0x0;break;}}if(!_0x187b9c){this['_addDescriptionItems'](_0x23c605,_0xd03616);const _0x42bd4d=_0x585602[_0x588cdd+0x1];if(_0x42bd4d&&!_0xd03616[_0x50eb('0x10')]()['end']['isEqual'](_0x42bd4d[_0x50eb('0x10')]()[_0x50eb('0x17')])){const _0x357660=_0x23c605[_0x23c605[_0x50eb('0xc')]-0x1],_0x594950=_0x50eb('0xf')==_0xd03616['type']?_0x50eb('0x1c'):_0x50eb('0xb');_0x357660&&_0x50eb('0x4')==_0x357660[_0x50eb('0x32')]&&(_0x357660[_0x594950]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x23c605);}[_0x50eb('0x1b')](_0x1ea6b0){this[_0x50eb('0xd')][_0x50eb('0x1e')](_0x1ea6b0);}['registerElementLabel'](_0x1c40f3,_0x3ead3b,_0x2f099c=_0x3c26d6[_0x50eb('0x5')]){_0x50eb('0x11')==typeof _0x1c40f3?_0x2d4495(this[_0x50eb('0x15')],{'matchingCallback':_0x1c40f3,'label':_0x3ead3b,'priority':_0x2f099c}):this['_itemLabels']['set'](_0x1c40f3,_0x3ead3b);}[_0x50eb('0x1f')](_0x5a254e,_0x464908=0x1){let _0x4c57a1;for(const _0x835d9e of this['_itemLabelsCallbacks'])if(_0x835d9e['matchingCallback'](_0x5a254e)){_0x4c57a1=_0x835d9e['label'];break;}return _0x4c57a1||(_0x4c57a1=this[_0x50eb('0x19')][_0x50eb('0x24')](_0x5a254e[_0x50eb('0x2e')])),_0x4c57a1?_0x4c57a1(_0x464908):0x1!==_0x464908?_0x464908+'\x20'+_0x5a254e[_0x50eb('0x2e')]+'s':''+_0x5a254e[_0x50eb('0x2e')];}[_0x50eb('0x34')](_0x47f6c7,_0x419494){const _0x30f1ba=_0x419494['getFirstRange']()['getWalker'](),_0x579515='insertion'==_0x419494[_0x50eb('0x32')]?_0x50eb('0x1c'):'remove';for(const _0x239a7e of _0x30f1ba){const _0x341708=_0x239a7e[_0x50eb('0x2a')],_0x47dc90=_0x47f6c7[_0x47f6c7[_0x50eb('0xc')]-0x1];if(_0x341708['is'](_0x50eb('0x29')))_0x47dc90&&_0x47dc90[_0x50eb('0x32')][_0x50eb('0x33')](_0x50eb('0x31'))>-0x1&&_0x47f6c7[_0x50eb('0x14')](),_0x47dc90&&_0x50eb('0x4')==_0x47dc90['type']?_0x47dc90[_0x579515]+=_0x341708[_0x50eb('0x7')]:_0x47f6c7[_0x50eb('0x1e')]({'type':_0x50eb('0x4'),'add':_0x50eb('0x1c')==_0x579515?_0x341708[_0x50eb('0x7')]:'','remove':_0x50eb('0xb')==_0x579515?_0x341708['data']:''});else{if(this[_0x50eb('0x12')][_0x50eb('0x0')](_0x341708)){const _0x3325f7=_0x341708;if(_0x47dc90&&_0x47dc90[_0x50eb('0x32')][_0x50eb('0x33')](_0x50eb('0x31'))>-0x1&&_0x47f6c7[_0x50eb('0x14')](),_0x50eb('0x2f')==_0x239a7e[_0x50eb('0x32')])continue;_0x47dc90&&_0x47dc90['type']==_0x579515+_0x50eb('0x3')&&_0x47dc90[_0x50eb('0x22')][_0x50eb('0x2e')]==_0x3325f7['name']?_0x47dc90['quantity']++:_0x47f6c7['push']({'type':_0x579515+_0x50eb('0x3'),'element':_0x3325f7,'quantity':0x1}),_0x30f1ba[_0x50eb('0x23')](_0x444906=>!('elementEnd'==_0x444906[_0x50eb('0x32')]&&_0x444906[_0x50eb('0x2a')]==_0x341708));}else{if(this[_0x50eb('0x12')][_0x50eb('0x1')](_0x341708,_0x50eb('0x26'))||_0x341708['is'](_0x50eb('0x22'),'softBreak')){const _0x488574=_0x341708;if('add'==_0x579515&&'elementStart'==_0x239a7e[_0x50eb('0x32')]||'remove'==_0x579515&&_0x50eb('0x2f')==_0x239a7e[_0x50eb('0x32')])continue;if(_0x47dc90&&-0x1==_0x47dc90['type'][_0x50eb('0x33')](_0x50eb('0x31'))){_0x50eb('0x4')==_0x47dc90[_0x50eb('0x32')]&&(_0x47dc90[_0x579515]+='\x0a');continue;}let _0x850d90;if(_0x850d90=_0x50eb('0x1c')==_0x579515?_0x488574[_0x50eb('0x9')]&&!this[_0x50eb('0x12')]['isObject'](_0x488574['nextSibling'])?_0x488574[_0x50eb('0x9')]:null:_0x488574[_0x50eb('0x2b')]&&!this[_0x50eb('0x12')][_0x50eb('0x0')](_0x488574[_0x50eb('0x2b')])?_0x488574[_0x50eb('0x2b')]:null,_0x488574['isEmpty']||_0x850d90&&_0x850d90[_0x50eb('0x16')]){const _0x3f3740=_0x850d90&&_0x850d90[_0x50eb('0x16')]?_0x850d90:_0x488574;_0x47dc90&&_0x47dc90[_0x50eb('0x32')]==_0x579515+_0x50eb('0x13')&&_0x47dc90[_0x50eb('0x22')][_0x50eb('0x2e')]==_0x3f3740['name']?_0x47dc90['quantity']++:_0x47f6c7[_0x50eb('0x1e')]({'type':_0x579515+_0x50eb('0x13'),'element':_0x3f3740,'quantity':0x1});}else _0x47f6c7['push']({'type':_0x579515+'Container','element':_0x488574});}}}}}[_0x50eb('0x6')](_0x489fe8){const _0x34d782=this[_0x50eb('0x2d')],_0x46d5f1=[];for(const _0x171736 of _0x489fe8){switch(_0x171736[_0x50eb('0x32')]){case'text':if(_0x171736['add']=_0x171736[_0x50eb('0x1c')][_0x50eb('0x2c')](/(\S)\u000A+(\S)/g,_0x50eb('0x18'))[_0x50eb('0x2c')](/\u000A/g,''),_0x171736[_0x50eb('0xb')]=_0x171736[_0x50eb('0xb')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x50eb('0x2c')](/\u000A/g,''),''!=_0x171736[_0x50eb('0x1c')]&&''!=_0x171736[_0x50eb('0xb')]){_0x46d5f1['push']({'type':_0x50eb('0x2c'),'content':_0x5675e8(_0x34d782,'REPLACE_TEXT',['\x22'+_0x171736[_0x50eb('0xb')]+'\x22','\x22'+_0x171736[_0x50eb('0x1c')]+'\x22'])});continue;}if(null!=_0x171736[_0x50eb('0x1c')][_0x50eb('0xa')](/^ +$/)){_0x46d5f1[_0x50eb('0x1e')]({'type':_0x50eb('0xf'),'content':_0x5675e8(_0x34d782,_0x50eb('0x8'),_0x5675e8(_0x34d782,'ELEMENT_SPACE',_0x171736['add']['length']))});continue;}if(null!=_0x171736[_0x50eb('0xb')][_0x50eb('0xa')](/^ +$/)){_0x46d5f1['push']({'type':_0x50eb('0x30'),'content':_0x5675e8(_0x34d782,_0x50eb('0x27'),_0x5675e8(_0x34d782,_0x50eb('0x2'),_0x171736[_0x50eb('0xb')]['length']))});continue;}if(''!=_0x171736[_0x50eb('0x1c')]){_0x46d5f1['push']({'type':'insertion','content':_0x5675e8(_0x34d782,_0x50eb('0x8'),'\x22'+_0x171736['add']+'\x22')});continue;}_0x46d5f1[_0x50eb('0x1e')]({'type':'deletion','content':_0x5675e8(_0x34d782,_0x50eb('0x27'),'\x22'+_0x171736[_0x50eb('0xb')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x46d5f1[_0x50eb('0x1e')]({'type':'insertion','content':_0x5675e8(_0x34d782,_0x50eb('0x8'),this['getItemLabel'](_0x171736['element'],_0x171736[_0x50eb('0x21')]))});continue;case'removeEmptyContainer':case _0x50eb('0x1d'):_0x46d5f1[_0x50eb('0x1e')]({'type':_0x50eb('0x30'),'content':_0x5675e8(_0x34d782,_0x50eb('0x27'),this['getItemLabel'](_0x171736['element'],_0x171736[_0x50eb('0x21')]))});continue;case'addContainer':_0x46d5f1[_0x50eb('0x1e')]({'type':_0x50eb('0xf'),'content':_0x5675e8(_0x34d782,_0x50eb('0x20'),this[_0x50eb('0x1f')](_0x171736[_0x50eb('0x22')],_0x171736[_0x50eb('0x21')]))});continue;case _0x50eb('0xe'):_0x46d5f1['push']({'type':_0x50eb('0x30'),'content':_0x5675e8(_0x34d782,_0x50eb('0x25'),this[_0x50eb('0x1f')](_0x171736['element'],_0x171736['quantity']))});continue;}_0x46d5f1['push'](_0x171736);}return _0x46d5f1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd8f1=['adapter','addSuggestionData','getSuggestions','requires','TrackChanges','Comments','addSuggestion','editor','get','getSuggestion','plugins','pluginName'];(function(_0x30d686,_0xd8f1f7){var _0x3a2630=function(_0x28ed25){while(--_0x28ed25){_0x30d686['push'](_0x30d686['shift']());}};_0x3a2630(++_0xd8f1f7);}(_0xd8f1,0x131));var _0x3a26=function(_0x30d686,_0xd8f1f7){_0x30d686=_0x30d686-0x0;var _0x3a2630=_0xd8f1[_0x30d686];return _0x3a2630;};import{Plugin as _0x297781}from'ckeditor5/src/core';import _0x4503af from'./trackchangesui';import _0x503f8b from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x297781{static get[_0x3a26('0xa')](){return[_0x503f8b,_0x4503af,_0x3a26('0x0')];}static get[_0x3a26('0x6')](){return _0x3a26('0xb');}set[_0x3a26('0x7')](_0x4c552d){this[_0x3a26('0x2')][_0x3a26('0x5')][_0x3a26('0x3')](_0x503f8b)[_0x3a26('0x7')]=_0x4c552d;}get[_0x3a26('0x7')](){return this[_0x3a26('0x2')][_0x3a26('0x5')][_0x3a26('0x3')](_0x503f8b)['adapter'];}[_0x3a26('0x1')](_0x3f08eb){return this[_0x3a26('0x2')][_0x3a26('0x5')][_0x3a26('0x3')](_0x503f8b)[_0x3a26('0x8')](_0x3f08eb);}[_0x3a26('0x9')]({skipNotAttached:_0x40a21d=!0x1,toJSON:_0x3d404f=!0x1}={}){return this['editor'][_0x3a26('0x5')][_0x3a26('0x3')](_0x503f8b)[_0x3a26('0x9')]({'skipNotAttached':_0x40a21d,'toJSON':_0x3d404f});}[_0x3a26('0x4')](_0x1dfca5){return this['editor'][_0x3a26('0x5')][_0x3a26('0x3')](_0x503f8b)['getSuggestion'](_0x1dfca5);}}
23
+ var _0x415e=['addSuggestion','pluginName','Comments','addSuggestionData','adapter','editor','get','plugins'];(function(_0x5f3a43,_0x415e93){var _0x179539=function(_0x205320){while(--_0x205320){_0x5f3a43['push'](_0x5f3a43['shift']());}};_0x179539(++_0x415e93);}(_0x415e,0x1f4));var _0x1795=function(_0x5f3a43,_0x415e93){_0x5f3a43=_0x5f3a43-0x0;var _0x179539=_0x415e[_0x5f3a43];return _0x179539;};import{Plugin as _0x3f1bbf}from'ckeditor5/src/core';import _0x59d3f4 from'./trackchangesui';import _0x187a8 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x3f1bbf{static get['requires'](){return[_0x187a8,_0x59d3f4,_0x1795('0x6')];}static get[_0x1795('0x5')](){return'TrackChanges';}set[_0x1795('0x0')](_0x1a5ef4){this['editor'][_0x1795('0x3')]['get'](_0x187a8)['adapter']=_0x1a5ef4;}get[_0x1795('0x0')](){return this[_0x1795('0x1')][_0x1795('0x3')][_0x1795('0x2')](_0x187a8)['adapter'];}[_0x1795('0x4')](_0x1ad97c){return this[_0x1795('0x1')][_0x1795('0x3')][_0x1795('0x2')](_0x187a8)[_0x1795('0x7')](_0x1ad97c);}['getSuggestions']({skipNotAttached:_0x1ac849=!0x1,toJSON:_0x225368=!0x1}={}){return this[_0x1795('0x1')]['plugins'][_0x1795('0x2')](_0x187a8)['getSuggestions']({'skipNotAttached':_0x1ac849,'toJSON':_0x225368});}['getSuggestion'](_0x5b2f48){return this[_0x1795('0x1')][_0x1795('0x3')][_0x1795('0x2')](_0x187a8)['getSuggestion'](_0x5b2f48);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55ca=['config','TrackChangesEditing','result','plugins','create','tokenUrl','track-changes-data-invalid-editor-creator','map','constructor','Autosave','CommentsRepository','acceptAllSuggestions','concat','getSuggestions','reduce','Pagination','end','editor','addUser','init','get','RevisionTracker','string','function','find','editorCreator','appendChild','createElement','execute','name','pluginName','TrackChangesDataGetter','push','trackChangesData','DocumentOutline','model','trackChangesData.editorCreator','discardAllSuggestions','cloudServices','_adapter','Users','getDataWithDiscardedSuggestions','useAnonymousUser','has','every','set','getDataWithAcceptedSuggestions','data','TrackChangesData','filter','getUser','extraPlugins','includes','destroy','getRootNames','createDocumentFragment','initialData','requires','div'];(function(_0x141304,_0x55cac7){const _0x2fe2d5=function(_0x525768){while(--_0x525768){_0x141304['push'](_0x141304['shift']());}};_0x2fe2d5(++_0x55cac7);}(_0x55ca,0xb8));const _0x2fe2=function(_0x141304,_0x55cac7){_0x141304=_0x141304-0x0;let _0x2fe2d5=_0x55ca[_0x141304];return _0x2fe2d5;};import{Plugin as _0x42515f}from'ckeditor5/src/core';import{CKEditorError as _0x41764c}from'ckeditor5/src/utils';import _0x130b15 from'./trackchangesediting';const C=[_0x2fe2('0x31'),'context','toolbar'],w=['WebSocketGateway',_0x2fe2('0xe'),_0x2fe2('0x2'),'WordCount',_0x2fe2('0x8'),_0x2fe2('0x1b')];export default class T extends _0x42515f{static get['requires'](){return[_0x130b15];}static get[_0x2fe2('0x17')](){return _0x2fe2('0x29');}['init'](){const _0x273dde=this['editor'];if(_0x273dde[_0x2fe2('0x34')]['define'](_0x2fe2('0x1d'),_0x5beb44=>_0x273dde[_0x2fe2('0x1')][_0x2fe2('0x38')]('',_0x5beb44)),_0x2fe2('0x10')!=typeof _0x273dde[_0x2fe2('0x34')][_0x2fe2('0xd')]('trackChangesData')['editorCreator'])throw new _0x41764c(_0x2fe2('0x3a'));}[_0x2fe2('0x27')](_0x14da2f){return P(this[_0x2fe2('0xa')],!0x0,_0x14da2f);}[_0x2fe2('0x22')](_0x1ea08){return P(this['editor'],!0x1,_0x1ea08);}}class D extends _0x42515f{static get['pluginName'](){return _0x2fe2('0x18');}constructor(_0x2a3cbc){super(_0x2a3cbc),this[_0x2fe2('0x36')]=_0x2fe2('0x9');}[_0x2fe2('0xc')](){this[_0x2fe2('0xa')][_0x2fe2('0x37')][_0x2fe2('0xd')](_0x2fe2('0x3'))[_0x2fe2('0x20')]={'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[_0x2fe2('0xa')]['plugins'][_0x2fe2('0xd')]('TrackChangesEditing')[_0x2fe2('0x20')]=null;}}async function P(_0x4a27c0,_0x38372b,_0x174481){const _0x566247=function(_0x239abf){const _0x4c8cc0={};for(const _0x6b006f of _0x239abf[_0x2fe2('0x34')]['names']())C[_0x2fe2('0x2d')](_0x6b006f)||(_0x4c8cc0[_0x6b006f]=_0x239abf[_0x2fe2('0x34')][_0x2fe2('0xd')](_0x6b006f));_0x4c8cc0['cloudServices']&&_0x4c8cc0[_0x2fe2('0x1f')][_0x2fe2('0x39')]&&delete _0x4c8cc0[_0x2fe2('0x1f')][_0x2fe2('0x39')];const _0x4207c5=_0x239abf[_0x2fe2('0x1')]['builtinPlugins']||[],_0x4b218b=_0x4c8cc0[_0x2fe2('0x2c')]||[];delete _0x4c8cc0[_0x2fe2('0x2c')];const _0x2030d6=_0x239abf['_context'][_0x2fe2('0x34')][_0x2fe2('0xd')](_0x2fe2('0x37'))||[],_0x3ec3c0=_0x4207c5[_0x2fe2('0x5')](_0x4c8cc0[_0x2fe2('0x37')])['concat'](_0x4b218b)[_0x2fe2('0x5')](_0x2030d6)[_0x2fe2('0x0')](_0x1bc2ab=>_0x2fe2('0xf')==typeof _0x1bc2ab?_0x4207c5[_0x2fe2('0x11')](_0x3a147b=>_0x3a147b[_0x2fe2('0x17')]==_0x1bc2ab):_0x1bc2ab),_0x443517=Array['from'](new Set(_0x3ec3c0)),_0x5c1f63=new Map();return _0x4c8cc0[_0x2fe2('0x37')]=_0x443517[_0x2fe2('0x2a')](_0x35d6c3=>v(_0x35d6c3,_0x5c1f63)),_0x4c8cc0[_0x2fe2('0x37')]['push'](_0x130b15),_0x4c8cc0[_0x2fe2('0x37')][_0x2fe2('0x19')](D),_0x4c8cc0;}(_0x4a27c0),_0x3a88ea=document[_0x2fe2('0x30')](),_0x5a4a88=_0x4a27c0['config'][_0x2fe2('0xd')](_0x2fe2('0x1a'))[_0x2fe2('0x12')],_0x4ea9e7=await _0x5a4a88(_0x566247,()=>function(_0x4c96ba){const _0x29c7f5=document[_0x2fe2('0x14')](_0x2fe2('0x33'));return _0x4c96ba[_0x2fe2('0x13')](_0x29c7f5),_0x29c7f5;}(_0x3a88ea));!function(_0x5058d6,_0x31f2b6){const _0x38f8a1=_0x5058d6[_0x2fe2('0x1c')]['document'][_0x2fe2('0x2f')]()[_0x2fe2('0x7')]((_0x86473b,_0x42fc47)=>(_0x86473b[_0x42fc47]=_0x5058d6[_0x2fe2('0x28')]['get']({'rootName':_0x42fc47}),_0x86473b),{}),_0x1b2385=_0x5058d6[_0x2fe2('0x37')][_0x2fe2('0xd')](_0x2fe2('0x21'))['users'][_0x2fe2('0x0')](_0x383ca1=>({'id':_0x383ca1['id'],'name':_0x383ca1[_0x2fe2('0x16')]})),_0x58c994=_0x5058d6[_0x2fe2('0x37')][_0x2fe2('0xd')](_0x2fe2('0x35'))[_0x2fe2('0x6')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x219980=_0x31f2b6[_0x2fe2('0x37')][_0x2fe2('0xd')](_0x2fe2('0x21')),_0x386557=_0x31f2b6[_0x2fe2('0x37')][_0x2fe2('0xd')]('TrackChangesEditing');for(const _0x27ab88 of _0x1b2385)_0x219980[_0x2fe2('0x2b')](_0x27ab88['id'])||_0x219980[_0x2fe2('0xb')](_0x27ab88);_0x219980['me']||_0x219980[_0x2fe2('0x23')]();for(const _0x1dd959 of _0x58c994)_0x386557['addSuggestionData'](_0x1dd959);_0x31f2b6[_0x2fe2('0x28')][_0x2fe2('0x26')](_0x38f8a1);}(_0x4a27c0,_0x4ea9e7),_0x4ea9e7[_0x2fe2('0x15')](_0x38372b?_0x2fe2('0x4'):_0x2fe2('0x1e'));const _0x48ee49=_0x4ea9e7[_0x2fe2('0x28')][_0x2fe2('0xd')](_0x174481);return await _0x4ea9e7[_0x2fe2('0x2e')](),_0x48ee49;}function v(_0x507fca,_0x385b95){const _0x1a0a9e=_0x2fe2('0x10')==typeof _0x507fca?_0x507fca[_0x2fe2('0x17')]||_0x507fca['name']:_0x507fca;if(_0x385b95[_0x2fe2('0x24')](_0x1a0a9e))return _0x385b95[_0x2fe2('0xd')](_0x1a0a9e);if(_0x385b95[_0x2fe2('0x26')](_0x1a0a9e,!0x0),_0x1a0a9e&&w['includes'](_0x1a0a9e))return _0x385b95[_0x2fe2('0x26')](_0x1a0a9e,!0x1),!0x1;if(!_0x507fca[_0x2fe2('0x32')])return _0x385b95[_0x2fe2('0x26')](_0x1a0a9e,!0x0),!0x0;const _0x2fd541=_0x507fca[_0x2fe2('0x32')][_0x2fe2('0x25')](_0x3f5292=>v(_0x3f5292,_0x385b95));return _0x385b95['set'](_0x1a0a9e,_0x2fd541),_0x2fd541;}
23
+ const _0x1ea6=['WebSocketGateway','getSuggestions','builtinPlugins','context','result','execute','requires','model','toolbar','includes','DocumentOutline','track-changes-data-invalid-editor-creator','WordCount','editorCreator','_context','addUser','config','has','filter','init','appendChild','div','TrackChangesEditing','Autosave','extraPlugins','string','plugins','end','pluginName','constructor','CommentsRepository','find','every','Pagination','map','get','destroy','from','acceptAllSuggestions','trackChangesData.editorCreator','editor','create','names','set','trackChangesData','data','users','RevisionTracker','addSuggestionData','tokenUrl','concat','push','initialData','getDataWithDiscardedSuggestions','discardAllSuggestions','getRootNames','useAnonymousUser','getUser','cloudServices','TrackChangesDataGetter'];(function(_0x3e30bd,_0x1ea6dc){const _0x3a0706=function(_0x56d66c){while(--_0x56d66c){_0x3e30bd['push'](_0x3e30bd['shift']());}};_0x3a0706(++_0x1ea6dc);}(_0x1ea6,0x169));const _0x3a07=function(_0x3e30bd,_0x1ea6dc){_0x3e30bd=_0x3e30bd-0x0;let _0x3a0706=_0x1ea6[_0x3e30bd];return _0x3a0706;};import{Plugin as _0x1c3ff8}from'ckeditor5/src/core';import{CKEditorError as _0x3ab1b2}from'ckeditor5/src/utils';import _0x15a69c from'./trackchangesediting';const C=[_0x3a07('0x33'),_0x3a07('0x2'),_0x3a07('0x7')],w=[_0x3a07('0x3b'),_0x3a07('0x2e'),_0x3a07('0x16'),_0x3a07('0xb'),_0x3a07('0x20'),_0x3a07('0x9')];export default class T extends _0x1c3ff8{static get['requires'](){return[_0x15a69c];}static get[_0x3a07('0x1b')](){return'TrackChangesData';}[_0x3a07('0x12')](){const _0x57d425=this[_0x3a07('0x27')];if(_0x57d425[_0x3a07('0xf')]['define'](_0x3a07('0x26'),_0x38e6b2=>_0x57d425[_0x3a07('0x1c')][_0x3a07('0x28')]('',_0x38e6b2)),'function'!=typeof _0x57d425[_0x3a07('0xf')][_0x3a07('0x22')](_0x3a07('0x2b'))['editorCreator'])throw new _0x3ab1b2(_0x3a07('0xa'));}['getDataWithAcceptedSuggestions'](_0x457354){return P(this[_0x3a07('0x27')],!0x0,_0x457354);}[_0x3a07('0x34')](_0x42a5c2){return P(this['editor'],!0x1,_0x42a5c2);}}class D extends _0x1c3ff8{static get[_0x3a07('0x1b')](){return _0x3a07('0x3a');}constructor(_0x70c1){super(_0x70c1),this[_0x3a07('0x3')]=_0x3a07('0x1a');}[_0x3a07('0x12')](){this['editor'][_0x3a07('0x19')][_0x3a07('0x22')](_0x3a07('0x1d'))['_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[_0x3a07('0x27')][_0x3a07('0x19')][_0x3a07('0x22')](_0x3a07('0x15'))['_adapter']=null;}}async function P(_0x98272d,_0xdd82ce,_0x43c61c){const _0x2982f4=function(_0x58288b){const _0x227f9d={};for(const _0x143ff2 of _0x58288b[_0x3a07('0xf')][_0x3a07('0x29')]())C['includes'](_0x143ff2)||(_0x227f9d[_0x143ff2]=_0x58288b[_0x3a07('0xf')][_0x3a07('0x22')](_0x143ff2));_0x227f9d[_0x3a07('0x39')]&&_0x227f9d[_0x3a07('0x39')]['tokenUrl']&&delete _0x227f9d[_0x3a07('0x39')][_0x3a07('0x30')];const _0x3ac8d2=_0x58288b[_0x3a07('0x1c')][_0x3a07('0x1')]||[],_0x484bc2=_0x227f9d['extraPlugins']||[];delete _0x227f9d[_0x3a07('0x17')];const _0x3dbcde=_0x58288b[_0x3a07('0xd')][_0x3a07('0xf')]['get'](_0x3a07('0x19'))||[],_0x555a99=_0x3ac8d2[_0x3a07('0x31')](_0x227f9d[_0x3a07('0x19')])['concat'](_0x484bc2)[_0x3a07('0x31')](_0x3dbcde)[_0x3a07('0x21')](_0x29aa8b=>_0x3a07('0x18')==typeof _0x29aa8b?_0x3ac8d2[_0x3a07('0x1e')](_0x2b8138=>_0x2b8138[_0x3a07('0x1b')]==_0x29aa8b):_0x29aa8b),_0x330321=Array[_0x3a07('0x24')](new Set(_0x555a99)),_0x597c80=new Map();return _0x227f9d[_0x3a07('0x19')]=_0x330321[_0x3a07('0x11')](_0x29d7d9=>v(_0x29d7d9,_0x597c80)),_0x227f9d[_0x3a07('0x19')]['push'](_0x15a69c),_0x227f9d[_0x3a07('0x19')][_0x3a07('0x32')](D),_0x227f9d;}(_0x98272d),_0x148e73=document['createDocumentFragment'](),_0x1d03ea=_0x98272d['config'][_0x3a07('0x22')]('trackChangesData')[_0x3a07('0xc')],_0xac95f1=await _0x1d03ea(_0x2982f4,()=>function(_0x177f5){const _0x8ccdbe=document['createElement'](_0x3a07('0x14'));return _0x177f5[_0x3a07('0x13')](_0x8ccdbe),_0x8ccdbe;}(_0x148e73));!function(_0x5621c6,_0x1694e4){const _0x50c835=_0x5621c6[_0x3a07('0x6')]['document'][_0x3a07('0x36')]()['reduce']((_0x28b3d2,_0x75dcee)=>(_0x28b3d2[_0x75dcee]=_0x5621c6[_0x3a07('0x2c')][_0x3a07('0x22')]({'rootName':_0x75dcee}),_0x28b3d2),{}),_0x456ec7=_0x5621c6['plugins']['get']('Users')[_0x3a07('0x2d')][_0x3a07('0x21')](_0xf169cf=>({'id':_0xf169cf['id'],'name':_0xf169cf['name']})),_0x2ce9d4=_0x5621c6[_0x3a07('0x19')][_0x3a07('0x22')]('TrackChangesEditing')[_0x3a07('0x0')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x43ed0f=_0x1694e4[_0x3a07('0x19')][_0x3a07('0x22')]('Users'),_0x39d4fc=_0x1694e4[_0x3a07('0x19')][_0x3a07('0x22')](_0x3a07('0x15'));for(const _0x375466 of _0x456ec7)_0x43ed0f[_0x3a07('0x38')](_0x375466['id'])||_0x43ed0f[_0x3a07('0xe')](_0x375466);_0x43ed0f['me']||_0x43ed0f[_0x3a07('0x37')]();for(const _0x1b0270 of _0x2ce9d4)_0x39d4fc[_0x3a07('0x2f')](_0x1b0270);_0x1694e4[_0x3a07('0x2c')][_0x3a07('0x2a')](_0x50c835);}(_0x98272d,_0xac95f1),_0xac95f1[_0x3a07('0x4')](_0xdd82ce?_0x3a07('0x25'):_0x3a07('0x35'));const _0x4e84c7=_0xac95f1['data'][_0x3a07('0x22')](_0x43c61c);return await _0xac95f1[_0x3a07('0x23')](),_0x4e84c7;}function v(_0x58d0ab,_0x528485){const _0x47a982='function'==typeof _0x58d0ab?_0x58d0ab[_0x3a07('0x1b')]||_0x58d0ab['name']:_0x58d0ab;if(_0x528485[_0x3a07('0x10')](_0x47a982))return _0x528485[_0x3a07('0x22')](_0x47a982);if(_0x528485[_0x3a07('0x2a')](_0x47a982,!0x0),_0x47a982&&w[_0x3a07('0x8')](_0x47a982))return _0x528485[_0x3a07('0x2a')](_0x47a982,!0x1),!0x1;if(!_0x58d0ab[_0x3a07('0x5')])return _0x528485[_0x3a07('0x2a')](_0x47a982,!0x0),!0x0;const _0xda82ff=_0x58d0ab['requires'][_0x3a07('0x1f')](_0x3a812e=>v(_0x3a812e,_0x528485));return _0x528485[_0x3a07('0x2a')](_0x47a982,_0xda82ff),_0xda82ff;}