@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231006.0 → 0.0.0-nightly-20231008.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 _0x2999=['decorate','isIntersectingWithRange','@external','getItems','length','isIntersecting','subType','getMultiRangeId','data','getAllAdjacentSuggestions','next','nodeBefore','delete','attributes','toJSON','getMarkers','onDiscard','addMarker','markers','clear','_markerNames','_onAttributesChange','removeAttribute','push','commentThread','accept','_model','_saved','getMarkerNames','map','addRange','onAttributesChange','creator','getRange','addMarkerName','filter','reduce','head','hasComments','split','set','_isDataLoaded','end','getRanges','suggestion:','getContainedElement','getFirstMarker','get','isExternal','removeMarker','start','substr','onAccept','discard','removeMarkers','type','size','from','getFirstRange','author','nodeAfter','previous','change','_onAccept','createdAt','isInContent'];(function(_0x39be86,_0x2999dd){const _0x3a2e5b=function(_0x22dc9e){while(--_0x22dc9e){_0x39be86['push'](_0x39be86['shift']());}};_0x3a2e5b(++_0x2999dd);}(_0x2999,0x156));const _0x3a2e=function(_0x39be86,_0x2999dd){_0x39be86=_0x39be86-0x0;let _0x3a2e5b=_0x2999[_0x39be86];return _0x3a2e5b;};import{Element as _0x4e3802}from'ckeditor5/src/engine';import{ObservableMixin as _0x25361c,uid as _0x19f579}from'ckeditor5/src/utils';import{cloneDeep as _0x14a8d7,isEqual as _0xfc32c4,set as _0xebae58,unset as _0x24938a}from'lodash-es';export default class u extends _0x25361c(){constructor(_0x23076c,_0x35ff1a){super(),this[_0x3a2e('0x1d')]=!0x1,this['id']=_0x35ff1a['id'],this['type']=_0x35ff1a[_0x3a2e('0x2b')],this[_0x3a2e('0x3c')]=_0x35ff1a[_0x3a2e('0x3c')]||null,this[_0x3a2e('0x2f')]=_0x35ff1a[_0x3a2e('0x2f')],this[_0x3a2e('0x14')]=_0x35ff1a[_0x3a2e('0x14')]||_0x35ff1a[_0x3a2e('0x2f')],this[_0x3a2e('0x24')]=Boolean(_0x35ff1a[_0x3a2e('0x1')]&&_0x35ff1a[_0x3a2e('0x1')][_0x3a2e('0x38')]),this['data']=null,this[_0x3a2e('0xe')]=_0x23076c,this['_onAccept']=_0x35ff1a[_0x3a2e('0x28')],this['_onDiscard']=_0x35ff1a[_0x3a2e('0x4')],this[_0x3a2e('0x9')]=_0x35ff1a[_0x3a2e('0x13')],this[_0x3a2e('0x8')]=new Set(),this[_0x3a2e('0x34')]=null,this[_0x3a2e('0x1c')]('authoredAt',null),this[_0x3a2e('0x1c')]('attributes',_0x35ff1a[_0x3a2e('0x1')]||{}),this[_0x3a2e('0x1c')](_0x3a2e('0x31'),null),this[_0x3a2e('0x1c')](_0x3a2e('0x40'),null),this['set']('commentThread',null),this[_0x3a2e('0x1c')](_0x3a2e('0xf'),!0x1),this['decorate']('accept'),this[_0x3a2e('0x36')](_0x3a2e('0x29'));}get[_0x3a2e('0x19')](){let _0x22fa79=this;for(;_0x22fa79[_0x3a2e('0x31')];)_0x22fa79=_0x22fa79[_0x3a2e('0x31')];return _0x22fa79;}get['hasComments'](){return!!this[_0x3a2e('0xc')]&&this[_0x3a2e('0xc')][_0x3a2e('0x3a')]>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0x3a2e('0x2c')])return!0x1;return 0x6==Array[_0x3a2e('0x2d')](this[_0x3a2e('0x8')])[0x0][_0x3a2e('0x1b')](':')[_0x3a2e('0x3a')];}get[_0x3a2e('0x35')](){return null!==this[_0x3a2e('0x22')]();}[_0x3a2e('0x16')](_0xe17097){this[_0x3a2e('0x8')]['add'](_0xe17097);}['getMarkerNames'](){return Array[_0x3a2e('0x2d')](this['_markerNames']);}[_0x3a2e('0x3')](){return this[_0x3a2e('0x10')]()[_0x3a2e('0x11')](_0x2edaec=>this[_0x3a2e('0xe')][_0x3a2e('0x6')][_0x3a2e('0x23')](_0x2edaec))[_0x3a2e('0x17')](_0x302fc6=>_0x302fc6);}[_0x3a2e('0x22')](){return this[_0x3a2e('0x3')]()[0x0]||null;}[_0x3a2e('0x2a')](){this['_model'][_0x3a2e('0x32')](_0xfe8b6c=>{for(const _0x20801d of this[_0x3a2e('0x3')]())_0xfe8b6c['removeMarker'](_0x20801d);}),this['_markerNames'][_0x3a2e('0x7')]();}[_0x3a2e('0x25')](_0x49c2bd){this[_0x3a2e('0xe')]['change'](_0xa90bee=>{_0xa90bee['removeMarker'](_0x49c2bd);}),this[_0x3a2e('0x8')][_0x3a2e('0x0')](_0x49c2bd);}[_0x3a2e('0x12')](_0x32ca01){const _0x4b9d3d=_0x3a2e('0x20')+this[_0x3a2e('0x2b')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u[_0x3a2e('0x3d')]();this[_0x3a2e('0x16')](_0x4b9d3d),this[_0x3a2e('0xe')]['change'](_0x4afb0f=>{_0x4afb0f[_0x3a2e('0x5')](_0x4b9d3d,{'range':_0x32ca01,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3a2e('0x37')](_0x39d14a){for(const _0x1faae4 of this[_0x3a2e('0x1f')]())if(_0x1faae4[_0x3a2e('0x3b')](_0x39d14a))return!0x0;return!0x1;}[_0x3a2e('0x1f')](){return this[_0x3a2e('0x3')]()[_0x3a2e('0x11')](_0x305a86=>_0x305a86[_0x3a2e('0x15')]());}[_0x3a2e('0x39')](){return this[_0x3a2e('0x1f')]()[_0x3a2e('0x18')]((_0x5387ee,_0x16f9ab)=>[..._0x5387ee,..._0x16f9ab[_0x3a2e('0x39')]()],[]);}[_0x3a2e('0x2e')](){var _0x4d0491;return(null===(_0x4d0491=this[_0x3a2e('0x22')]())||void 0x0===_0x4d0491?void 0x0:_0x4d0491[_0x3a2e('0x15')]())||null;}[_0x3a2e('0x21')](){const _0x801ce8=this[_0x3a2e('0x1f')]();if(0x1!=_0x801ce8[_0x3a2e('0x3a')])return null;const _0x30c4e6=_0x801ce8[0x0],_0x5313f1=_0x30c4e6[_0x3a2e('0x26')][_0x3a2e('0x30')],_0x4b5545=_0x30c4e6[_0x3a2e('0x1e')][_0x3a2e('0x41')];return _0x5313f1 instanceof _0x4e3802?_0x5313f1!=_0x4b5545?null:_0x5313f1:null;}[_0x3a2e('0xd')](){this[_0x3a2e('0x33')](this[_0x3a2e('0x1f')](),this[_0x3a2e('0x3e')],this[_0x3a2e('0x1')]),this[_0x3a2e('0x2a')]();}[_0x3a2e('0x29')](){this['_onDiscard'](this['getRanges'](),this['data'],this['attributes']),this[_0x3a2e('0x2a')]();}[_0x3a2e('0x3f')](){const _0x391d77=[];let _0x846938=this[_0x3a2e('0x19')];for(;_0x846938;)_0x391d77[_0x3a2e('0xb')](_0x846938),_0x846938=_0x846938[_0x3a2e('0x40')];return _0x391d77;}['setAttribute'](_0x491284,_0x3beefc){const _0x1d720b=_0x14a8d7(this[_0x3a2e('0x1')]);_0xebae58(_0x1d720b,_0x491284,_0x3beefc),_0xfc32c4(_0x1d720b,this[_0x3a2e('0x1')])||(this[_0x3a2e('0x1')]=_0x1d720b,this[_0x3a2e('0x9')](_0x1d720b));}[_0x3a2e('0xa')](_0x4a5669){const _0xec5496=_0x14a8d7(this[_0x3a2e('0x1')]);_0x24938a(_0xec5496,_0x4a5669),_0xfc32c4(_0xec5496,this[_0x3a2e('0x1')])||(this['attributes']=_0xec5496,this[_0x3a2e('0x9')](this[_0x3a2e('0x1')]));}[_0x3a2e('0x2')](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this[_0x3a2e('0x2b')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x3a2e('0x1a')],'data':this[_0x3a2e('0x3e')],'attributes':this['attributes']};}static[_0x3a2e('0x3d')](){return _0x19f579()[_0x3a2e('0x27')](0x1,0x5);}}
23
+ const _0x10f6=['discard','isMultiRange','start','type','data','clear','_markerNames','toJSON','attributes','length','getMultiRangeId','getRanges','creator','author','accept','_onDiscard','onAccept','removeMarkers','removeAttribute','set','push','removeMarker','addMarkerName','subType','getContainedElement','getMarkers','isIntersecting','getFirstMarker','addMarker','hasComments','@external','change','decorate','map','setAttribute','split','delete','getRange','getAllAdjacentSuggestions','previous','suggestion:','getItems','isInContent','_model','createdAt','next','from','end','head','_onAttributesChange','onAttributesChange','_onAccept','filter','authoredAt','getMarkerNames','commentThread'];(function(_0x34e798,_0x10f676){const _0x2c16ea=function(_0x11951e){while(--_0x11951e){_0x34e798['push'](_0x34e798['shift']());}};_0x2c16ea(++_0x10f676);}(_0x10f6,0x142));const _0x2c16=function(_0x34e798,_0x10f676){_0x34e798=_0x34e798-0x0;let _0x2c16ea=_0x10f6[_0x34e798];return _0x2c16ea;};import{Element as _0x39a72d}from'ckeditor5/src/engine';import{ObservableMixin as _0x51143b,uid as _0x271d98}from'ckeditor5/src/utils';import{cloneDeep as _0x477e95,isEqual as _0x382e0e,set as _0x1dd5c3,unset as _0x54f8b6}from'lodash-es';export default class u extends _0x51143b(){constructor(_0x57fe34,_0x1152a3){super(),this['_isDataLoaded']=!0x1,this['id']=_0x1152a3['id'],this['type']=_0x1152a3['type'],this[_0x2c16('0x25')]=_0x1152a3['subType']||null,this[_0x2c16('0x1b')]=_0x1152a3[_0x2c16('0x1b')],this[_0x2c16('0x1a')]=_0x1152a3[_0x2c16('0x1a')]||_0x1152a3[_0x2c16('0x1b')],this['isExternal']=Boolean(_0x1152a3[_0x2c16('0x16')]&&_0x1152a3[_0x2c16('0x16')][_0x2c16('0x2c')]),this[_0x2c16('0x12')]=null,this[_0x2c16('0x1')]=_0x57fe34,this['_onAccept']=_0x1152a3[_0x2c16('0x1e')],this[_0x2c16('0x1d')]=_0x1152a3['onDiscard'],this[_0x2c16('0x7')]=_0x1152a3[_0x2c16('0x8')],this['_markerNames']=new Set(),this[_0x2c16('0x2')]=null,this[_0x2c16('0x21')](_0x2c16('0xb'),null),this[_0x2c16('0x21')](_0x2c16('0x16'),_0x1152a3['attributes']||{}),this[_0x2c16('0x21')](_0x2c16('0x35'),null),this[_0x2c16('0x21')](_0x2c16('0x3'),null),this[_0x2c16('0x21')]('commentThread',null),this['set']('_saved',!0x1),this['decorate'](_0x2c16('0x1c')),this[_0x2c16('0x2e')](_0x2c16('0xe'));}get[_0x2c16('0x6')](){let _0x2f1c61=this;for(;_0x2f1c61[_0x2c16('0x35')];)_0x2f1c61=_0x2f1c61[_0x2c16('0x35')];return _0x2f1c61;}get[_0x2c16('0x2b')](){return!!this[_0x2c16('0xd')]&&this[_0x2c16('0xd')][_0x2c16('0x17')]>0x0;}get[_0x2c16('0xf')](){if(0x0==this[_0x2c16('0x14')]['size'])return!0x1;return 0x6==Array[_0x2c16('0x4')](this[_0x2c16('0x14')])[0x0][_0x2c16('0x31')](':')['length'];}get[_0x2c16('0x0')](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x40d0d8){this[_0x2c16('0x14')]['add'](_0x40d0d8);}[_0x2c16('0xc')](){return Array[_0x2c16('0x4')](this['_markerNames']);}['getMarkers'](){return this[_0x2c16('0xc')]()['map'](_0x5482aa=>this['_model']['markers']['get'](_0x5482aa))[_0x2c16('0xa')](_0x37b9f0=>_0x37b9f0);}[_0x2c16('0x29')](){return this[_0x2c16('0x27')]()[0x0]||null;}[_0x2c16('0x1f')](){this['_model'][_0x2c16('0x2d')](_0x227b82=>{for(const _0x3a5c45 of this[_0x2c16('0x27')]())_0x227b82['removeMarker'](_0x3a5c45);}),this[_0x2c16('0x14')][_0x2c16('0x13')]();}[_0x2c16('0x23')](_0x1eb106){this[_0x2c16('0x1')]['change'](_0x358476=>{_0x358476[_0x2c16('0x23')](_0x1eb106);}),this[_0x2c16('0x14')][_0x2c16('0x32')](_0x1eb106);}['addRange'](_0x354d6a){const _0x4bc39e=_0x2c16('0x36')+this['type']+':'+this[_0x2c16('0x25')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x2c16('0x18')]();this[_0x2c16('0x24')](_0x4bc39e),this[_0x2c16('0x1')][_0x2c16('0x2d')](_0x4b0571=>{_0x4b0571[_0x2c16('0x2a')](_0x4bc39e,{'range':_0x354d6a,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x52f213){for(const _0x126ea5 of this[_0x2c16('0x19')]())if(_0x126ea5[_0x2c16('0x28')](_0x52f213))return!0x0;return!0x1;}['getRanges'](){return this[_0x2c16('0x27')]()[_0x2c16('0x2f')](_0x3a48e3=>_0x3a48e3[_0x2c16('0x33')]());}[_0x2c16('0x37')](){return this[_0x2c16('0x19')]()['reduce']((_0x15420d,_0x32410b)=>[..._0x15420d,..._0x32410b[_0x2c16('0x37')]()],[]);}['getFirstRange'](){var _0x388290;return(null===(_0x388290=this[_0x2c16('0x29')]())||void 0x0===_0x388290?void 0x0:_0x388290['getRange']())||null;}[_0x2c16('0x26')](){const _0x4fb425=this[_0x2c16('0x19')]();if(0x1!=_0x4fb425['length'])return null;const _0xd5dc28=_0x4fb425[0x0],_0x5e3edf=_0xd5dc28[_0x2c16('0x10')]['nodeAfter'],_0x3e9fa2=_0xd5dc28[_0x2c16('0x5')]['nodeBefore'];return _0x5e3edf instanceof _0x39a72d?_0x5e3edf!=_0x3e9fa2?null:_0x5e3edf:null;}['accept'](){this[_0x2c16('0x9')](this['getRanges'](),this['data'],this['attributes']),this[_0x2c16('0x1f')]();}[_0x2c16('0xe')](){this['_onDiscard'](this[_0x2c16('0x19')](),this[_0x2c16('0x12')],this['attributes']),this['removeMarkers']();}[_0x2c16('0x34')](){const _0x3bd2cf=[];let _0x4376aa=this['head'];for(;_0x4376aa;)_0x3bd2cf[_0x2c16('0x22')](_0x4376aa),_0x4376aa=_0x4376aa[_0x2c16('0x3')];return _0x3bd2cf;}[_0x2c16('0x30')](_0x3df277,_0x4b94c2){const _0x2ceeb2=_0x477e95(this[_0x2c16('0x16')]);_0x1dd5c3(_0x2ceeb2,_0x3df277,_0x4b94c2),_0x382e0e(_0x2ceeb2,this[_0x2c16('0x16')])||(this[_0x2c16('0x16')]=_0x2ceeb2,this[_0x2c16('0x7')](_0x2ceeb2));}[_0x2c16('0x20')](_0x56c509){const _0x594fd1=_0x477e95(this[_0x2c16('0x16')]);_0x54f8b6(_0x594fd1,_0x56c509),_0x382e0e(_0x594fd1,this['attributes'])||(this['attributes']=_0x594fd1,this[_0x2c16('0x7')](this[_0x2c16('0x16')]));}[_0x2c16('0x15')](){return{'id':this['id'],'type':this['subType']?this[_0x2c16('0x11')]+':'+this[_0x2c16('0x25')]:this[_0x2c16('0x11')],'authorId':this[_0x2c16('0x1a')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x2c16('0x2b')],'data':this[_0x2c16('0x12')],'attributes':this[_0x2c16('0x16')]};}static[_0x2c16('0x18')](){return _0x271d98()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5428=['*Insert:*\x20%0','type','removeContainer','text','replace','item','function','addObject','elementStart','checkChild','removeEmptyContainer','elementEnd','isObject','add','_schema','Container','addEmptyContainer','start','insertion','pop','length','name','_resolveDescriptionItems','*Split:*\x20%0','registerElementLabel','getItemLabel','*Remove:*\x20%0','softBreak','end','ELEMENT_SPACE','getWalker','$text','_customCallbacks','EmptyContainer','label','normal','isEqual','removeObject','getFirstRange','data','remove','get','$textProxy','_addDescriptionItems','_locale','nextSibling','registerDescriptionCallback','addContainer','isEmpty','match','element','_itemLabels','previousSibling','push','isInContent','indexOf','$1\x20$2','_itemLabelsCallbacks','getDescriptions','skip','quantity','deletion','set'];(function(_0x450f3e,_0x54281d){const _0x506cf2=function(_0x191ac7){while(--_0x191ac7){_0x450f3e['push'](_0x450f3e['shift']());}};_0x506cf2(++_0x54281d);}(_0x5428,0x186));const _0x506c=function(_0x450f3e,_0x54281d){_0x450f3e=_0x450f3e-0x0;let _0x506cf2=_0x5428[_0x450f3e];return _0x506cf2;};import{getTranslation as _0x5d92de}from'./utils/common-translations';import{priorities as _0x2c8c8f,insertToPriorityArray as _0x533f80}from'ckeditor5/src/utils';export default class m{constructor(_0x270b8b,_0x49b3ad){this['_customCallbacks']=[],this[_0x506c('0x27')]=new Map(),this[_0x506c('0x2d')]=[],this['_schema']=_0x270b8b,this[_0x506c('0x20')]=_0x49b3ad;}[_0x506c('0x2e')](_0x560d27){const _0x387e6f=[];for(let _0x46d0db=0x0;_0x46d0db<_0x560d27[_0x506c('0x8')];_0x46d0db++){const _0x403ca9=_0x560d27[_0x46d0db];if(!_0x403ca9[_0x506c('0x2a')])continue;let _0x351693=!0x1;for(const _0x108007 of this[_0x506c('0x14')]){const _0x1cf2ad=_0x108007(_0x403ca9);if(_0x1cf2ad){_0x506c('0x34')in _0x1cf2ad&&_0x387e6f[_0x506c('0x29')](_0x1cf2ad),_0x351693=!0x0;break;}}if(!_0x351693){this[_0x506c('0x1f')](_0x387e6f,_0x403ca9);const _0x159476=_0x560d27[_0x46d0db+0x1];if(_0x159476&&!_0x403ca9['getFirstRange']()[_0x506c('0x10')][_0x506c('0x18')](_0x159476['getFirstRange']()[_0x506c('0x5')])){const _0x4f42d2=_0x387e6f[_0x387e6f[_0x506c('0x8')]-0x1],_0x12406c='insertion'==_0x403ca9[_0x506c('0x34')]?_0x506c('0x1'):_0x506c('0x1c');_0x4f42d2&&_0x506c('0x36')==_0x4f42d2[_0x506c('0x34')]&&(_0x4f42d2[_0x12406c]+='\x0a');}}}return this[_0x506c('0xa')](_0x387e6f);}[_0x506c('0x22')](_0x56b338){this[_0x506c('0x14')][_0x506c('0x29')](_0x56b338);}[_0x506c('0xc')](_0x5462ca,_0x53bc85,_0x98dba4=_0x2c8c8f[_0x506c('0x17')]){_0x506c('0x39')==typeof _0x5462ca?_0x533f80(this[_0x506c('0x2d')],{'matchingCallback':_0x5462ca,'label':_0x53bc85,'priority':_0x98dba4}):this['_itemLabels'][_0x506c('0x32')](_0x5462ca,_0x53bc85);}[_0x506c('0xd')](_0x3cf6fa,_0x31db33=0x1){let _0x6ae006;for(const _0x2bd9d6 of this[_0x506c('0x2d')])if(_0x2bd9d6['matchingCallback'](_0x3cf6fa)){_0x6ae006=_0x2bd9d6[_0x506c('0x16')];break;}return _0x6ae006||(_0x6ae006=this['_itemLabels'][_0x506c('0x1d')](_0x3cf6fa['name'])),_0x6ae006?_0x6ae006(_0x31db33):0x1!==_0x31db33?_0x31db33+'\x20'+_0x3cf6fa['name']+'s':''+_0x3cf6fa[_0x506c('0x9')];}[_0x506c('0x1f')](_0x3bf81a,_0x1843ad){const _0x75a8cb=_0x1843ad[_0x506c('0x1a')]()[_0x506c('0x12')](),_0x45e24b=_0x506c('0x6')==_0x1843ad[_0x506c('0x34')]?_0x506c('0x1'):_0x506c('0x1c');for(const _0x30e854 of _0x75a8cb){const _0x1ae93a=_0x30e854[_0x506c('0x38')],_0x376ae8=_0x3bf81a[_0x3bf81a['length']-0x1];if(_0x1ae93a['is'](_0x506c('0x1e')))_0x376ae8&&_0x376ae8[_0x506c('0x34')][_0x506c('0x2b')]('Container')>-0x1&&_0x3bf81a['pop'](),_0x376ae8&&_0x506c('0x36')==_0x376ae8[_0x506c('0x34')]?_0x376ae8[_0x45e24b]+=_0x1ae93a['data']:_0x3bf81a[_0x506c('0x29')]({'type':'text','add':_0x506c('0x1')==_0x45e24b?_0x1ae93a['data']:'','remove':'remove'==_0x45e24b?_0x1ae93a[_0x506c('0x1b')]:''});else{if(this[_0x506c('0x2')]['isObject'](_0x1ae93a)){const _0x32f86c=_0x1ae93a;if(_0x376ae8&&_0x376ae8['type'][_0x506c('0x2b')](_0x506c('0x3'))>-0x1&&_0x3bf81a[_0x506c('0x7')](),_0x506c('0x3e')==_0x30e854['type'])continue;_0x376ae8&&_0x376ae8['type']==_0x45e24b+'Object'&&_0x376ae8[_0x506c('0x26')][_0x506c('0x9')]==_0x32f86c[_0x506c('0x9')]?_0x376ae8[_0x506c('0x30')]++:_0x3bf81a[_0x506c('0x29')]({'type':_0x45e24b+'Object','element':_0x32f86c,'quantity':0x1}),_0x75a8cb[_0x506c('0x2f')](_0x417bff=>!('elementEnd'==_0x417bff[_0x506c('0x34')]&&_0x417bff[_0x506c('0x38')]==_0x1ae93a));}else{if(this[_0x506c('0x2')][_0x506c('0x3c')](_0x1ae93a,_0x506c('0x13'))||_0x1ae93a['is']('element',_0x506c('0xf'))){const _0x292307=_0x1ae93a;if(_0x506c('0x1')==_0x45e24b&&_0x506c('0x3b')==_0x30e854[_0x506c('0x34')]||_0x506c('0x1c')==_0x45e24b&&'elementEnd'==_0x30e854[_0x506c('0x34')])continue;if(_0x376ae8&&-0x1==_0x376ae8[_0x506c('0x34')][_0x506c('0x2b')](_0x506c('0x3'))){_0x506c('0x36')==_0x376ae8[_0x506c('0x34')]&&(_0x376ae8[_0x45e24b]+='\x0a');continue;}let _0x3af792;if(_0x3af792=_0x506c('0x1')==_0x45e24b?_0x292307[_0x506c('0x21')]&&!this[_0x506c('0x2')][_0x506c('0x0')](_0x292307[_0x506c('0x21')])?_0x292307['nextSibling']:null:_0x292307['previousSibling']&&!this[_0x506c('0x2')]['isObject'](_0x292307[_0x506c('0x28')])?_0x292307['previousSibling']:null,_0x292307[_0x506c('0x24')]||_0x3af792&&_0x3af792[_0x506c('0x24')]){const _0x2da853=_0x3af792&&_0x3af792[_0x506c('0x24')]?_0x3af792:_0x292307;_0x376ae8&&_0x376ae8['type']==_0x45e24b+_0x506c('0x15')&&_0x376ae8[_0x506c('0x26')]['name']==_0x2da853[_0x506c('0x9')]?_0x376ae8['quantity']++:_0x3bf81a[_0x506c('0x29')]({'type':_0x45e24b+'EmptyContainer','element':_0x2da853,'quantity':0x1});}else _0x3bf81a[_0x506c('0x29')]({'type':_0x45e24b+_0x506c('0x3'),'element':_0x292307});}}}}}[_0x506c('0xa')](_0x15b8df){const _0x1890b7=this['_locale'],_0xcc6092=[];for(const _0x3babcb of _0x15b8df){switch(_0x3babcb[_0x506c('0x34')]){case _0x506c('0x36'):if(_0x3babcb['add']=_0x3babcb['add']['replace'](/(\S)\u000A+(\S)/g,_0x506c('0x2c'))[_0x506c('0x37')](/\u000A/g,''),_0x3babcb[_0x506c('0x1c')]=_0x3babcb[_0x506c('0x1c')][_0x506c('0x37')](/(\S)\u000A+(\S)/g,_0x506c('0x2c'))[_0x506c('0x37')](/\u000A/g,''),''!=_0x3babcb['add']&&''!=_0x3babcb[_0x506c('0x1c')]){_0xcc6092[_0x506c('0x29')]({'type':_0x506c('0x37'),'content':_0x5d92de(_0x1890b7,'REPLACE_TEXT',['\x22'+_0x3babcb[_0x506c('0x1c')]+'\x22','\x22'+_0x3babcb['add']+'\x22'])});continue;}if(null!=_0x3babcb[_0x506c('0x1')]['match'](/^ +$/)){_0xcc6092[_0x506c('0x29')]({'type':'insertion','content':_0x5d92de(_0x1890b7,_0x506c('0x33'),_0x5d92de(_0x1890b7,_0x506c('0x11'),_0x3babcb[_0x506c('0x1')][_0x506c('0x8')]))});continue;}if(null!=_0x3babcb[_0x506c('0x1c')][_0x506c('0x25')](/^ +$/)){_0xcc6092[_0x506c('0x29')]({'type':'deletion','content':_0x5d92de(_0x1890b7,_0x506c('0xe'),_0x5d92de(_0x1890b7,_0x506c('0x11'),_0x3babcb[_0x506c('0x1c')][_0x506c('0x8')]))});continue;}if(''!=_0x3babcb[_0x506c('0x1')]){_0xcc6092['push']({'type':_0x506c('0x6'),'content':_0x5d92de(_0x1890b7,_0x506c('0x33'),'\x22'+_0x3babcb['add']+'\x22')});continue;}_0xcc6092['push']({'type':_0x506c('0x31'),'content':_0x5d92de(_0x1890b7,'*Remove:*\x20%0','\x22'+_0x3babcb[_0x506c('0x1c')]+'\x22')});continue;case _0x506c('0x4'):case _0x506c('0x3a'):_0xcc6092[_0x506c('0x29')]({'type':_0x506c('0x6'),'content':_0x5d92de(_0x1890b7,_0x506c('0x33'),this['getItemLabel'](_0x3babcb[_0x506c('0x26')],_0x3babcb[_0x506c('0x30')]))});continue;case _0x506c('0x3d'):case _0x506c('0x19'):_0xcc6092[_0x506c('0x29')]({'type':_0x506c('0x31'),'content':_0x5d92de(_0x1890b7,_0x506c('0xe'),this[_0x506c('0xd')](_0x3babcb[_0x506c('0x26')],_0x3babcb[_0x506c('0x30')]))});continue;case _0x506c('0x23'):_0xcc6092['push']({'type':_0x506c('0x6'),'content':_0x5d92de(_0x1890b7,_0x506c('0xb'),this['getItemLabel'](_0x3babcb[_0x506c('0x26')],_0x3babcb[_0x506c('0x30')]))});continue;case _0x506c('0x35'):_0xcc6092[_0x506c('0x29')]({'type':'deletion','content':_0x5d92de(_0x1890b7,'*Merge:*\x20%0',this['getItemLabel'](_0x3babcb[_0x506c('0x26')],_0x3babcb[_0x506c('0x30')]))});continue;}_0xcc6092[_0x506c('0x29')](_0x3babcb);}return _0xcc6092;}}
23
+ const _0x490f=['REPLACE_TEXT','function','checkChild','$1\x20$2','add','removeObject','*Remove:*\x20%0','$textProxy','data','element','registerElementLabel','nextSibling','normal','isObject','length','Container','item','name','getDescriptions','Object','end','label','quantity','elementStart','_locale','addEmptyContainer','_resolveDescriptionItems','EmptyContainer','registerDescriptionCallback','remove','_itemLabels','pop','type','push','getFirstRange','*Merge:*\x20%0','elementEnd','insertion','replace','get','match','isEmpty','_itemLabelsCallbacks','skip','ELEMENT_SPACE','deletion','previousSibling','isInContent','_schema','removeEmptyContainer','indexOf','addObject','addContainer','_addDescriptionItems','*Insert:*\x20%0','removeContainer','text','getItemLabel'];(function(_0x5dfd7a,_0x490ff6){const _0x386e09=function(_0x377ecb){while(--_0x377ecb){_0x5dfd7a['push'](_0x5dfd7a['shift']());}};_0x386e09(++_0x490ff6);}(_0x490f,0x1ef));const _0x386e=function(_0x5dfd7a,_0x490ff6){_0x5dfd7a=_0x5dfd7a-0x0;let _0x386e09=_0x490f[_0x5dfd7a];return _0x386e09;};import{getTranslation as _0x53f40d}from'./utils/common-translations';import{priorities as _0x2624a8,insertToPriorityArray as _0xf8c3b3}from'ckeditor5/src/utils';export default class m{constructor(_0x1d44c8,_0x9e7f3d){this['_customCallbacks']=[],this[_0x386e('0x39')]=new Map(),this[_0x386e('0xb')]=[],this[_0x386e('0x11')]=_0x1d44c8,this[_0x386e('0x33')]=_0x9e7f3d;}[_0x386e('0x2d')](_0x503f43){const _0x35a6e3=[];for(let _0x15fa6b=0x0;_0x15fa6b<_0x503f43['length'];_0x15fa6b++){const _0x5b3dbe=_0x503f43[_0x15fa6b];if(!_0x5b3dbe[_0x386e('0x10')])continue;let _0x3cdfd0=!0x1;for(const _0x5bfae9 of this['_customCallbacks']){const _0x5de5bf=_0x5bfae9(_0x5b3dbe);if(_0x5de5bf){_0x386e('0x1')in _0x5de5bf&&_0x35a6e3[_0x386e('0x2')](_0x5de5bf),_0x3cdfd0=!0x0;break;}}if(!_0x3cdfd0){this[_0x386e('0x16')](_0x35a6e3,_0x5b3dbe);const _0x54e1c8=_0x503f43[_0x15fa6b+0x1];if(_0x54e1c8&&!_0x5b3dbe[_0x386e('0x3')]()[_0x386e('0x2f')]['isEqual'](_0x54e1c8[_0x386e('0x3')]()['start'])){const _0x3194d9=_0x35a6e3[_0x35a6e3[_0x386e('0x29')]-0x1],_0x4a3fd8=_0x386e('0x6')==_0x5b3dbe[_0x386e('0x1')]?_0x386e('0x1f'):_0x386e('0x38');_0x3194d9&&_0x386e('0x19')==_0x3194d9[_0x386e('0x1')]&&(_0x3194d9[_0x4a3fd8]+='\x0a');}}}return this[_0x386e('0x35')](_0x35a6e3);}[_0x386e('0x37')](_0x2cec65){this['_customCallbacks']['push'](_0x2cec65);}[_0x386e('0x25')](_0x354426,_0x1c0e32,_0x132f5e=_0x2624a8[_0x386e('0x27')]){_0x386e('0x1c')==typeof _0x354426?_0xf8c3b3(this[_0x386e('0xb')],{'matchingCallback':_0x354426,'label':_0x1c0e32,'priority':_0x132f5e}):this['_itemLabels']['set'](_0x354426,_0x1c0e32);}[_0x386e('0x1a')](_0x2d1cc5,_0x456321=0x1){let _0x3e77c4;for(const _0x16177d of this['_itemLabelsCallbacks'])if(_0x16177d['matchingCallback'](_0x2d1cc5)){_0x3e77c4=_0x16177d[_0x386e('0x30')];break;}return _0x3e77c4||(_0x3e77c4=this[_0x386e('0x39')][_0x386e('0x8')](_0x2d1cc5['name'])),_0x3e77c4?_0x3e77c4(_0x456321):0x1!==_0x456321?_0x456321+'\x20'+_0x2d1cc5[_0x386e('0x2c')]+'s':''+_0x2d1cc5[_0x386e('0x2c')];}['_addDescriptionItems'](_0x1de27f,_0x3f8ade){const _0x362fb6=_0x3f8ade['getFirstRange']()['getWalker'](),_0x11623f=_0x386e('0x6')==_0x3f8ade[_0x386e('0x1')]?_0x386e('0x1f'):_0x386e('0x38');for(const _0x502722 of _0x362fb6){const _0x2741eb=_0x502722[_0x386e('0x2b')],_0x4a4f7e=_0x1de27f[_0x1de27f[_0x386e('0x29')]-0x1];if(_0x2741eb['is'](_0x386e('0x22')))_0x4a4f7e&&_0x4a4f7e['type']['indexOf'](_0x386e('0x2a'))>-0x1&&_0x1de27f['pop'](),_0x4a4f7e&&_0x386e('0x19')==_0x4a4f7e[_0x386e('0x1')]?_0x4a4f7e[_0x11623f]+=_0x2741eb[_0x386e('0x23')]:_0x1de27f['push']({'type':_0x386e('0x19'),'add':'add'==_0x11623f?_0x2741eb['data']:'','remove':_0x386e('0x38')==_0x11623f?_0x2741eb[_0x386e('0x23')]:''});else{if(this[_0x386e('0x11')][_0x386e('0x28')](_0x2741eb)){const _0x48dc0f=_0x2741eb;if(_0x4a4f7e&&_0x4a4f7e[_0x386e('0x1')][_0x386e('0x13')](_0x386e('0x2a'))>-0x1&&_0x1de27f[_0x386e('0x0')](),_0x386e('0x5')==_0x502722[_0x386e('0x1')])continue;_0x4a4f7e&&_0x4a4f7e[_0x386e('0x1')]==_0x11623f+_0x386e('0x2e')&&_0x4a4f7e[_0x386e('0x24')][_0x386e('0x2c')]==_0x48dc0f['name']?_0x4a4f7e['quantity']++:_0x1de27f[_0x386e('0x2')]({'type':_0x11623f+_0x386e('0x2e'),'element':_0x48dc0f,'quantity':0x1}),_0x362fb6[_0x386e('0xc')](_0x3368e4=>!('elementEnd'==_0x3368e4[_0x386e('0x1')]&&_0x3368e4[_0x386e('0x2b')]==_0x2741eb));}else{if(this[_0x386e('0x11')][_0x386e('0x1d')](_0x2741eb,'$text')||_0x2741eb['is'](_0x386e('0x24'),'softBreak')){const _0x3a9afe=_0x2741eb;if(_0x386e('0x1f')==_0x11623f&&_0x386e('0x32')==_0x502722[_0x386e('0x1')]||_0x386e('0x38')==_0x11623f&&'elementEnd'==_0x502722['type'])continue;if(_0x4a4f7e&&-0x1==_0x4a4f7e[_0x386e('0x1')][_0x386e('0x13')](_0x386e('0x2a'))){_0x386e('0x19')==_0x4a4f7e[_0x386e('0x1')]&&(_0x4a4f7e[_0x11623f]+='\x0a');continue;}let _0x13255f;if(_0x13255f='add'==_0x11623f?_0x3a9afe[_0x386e('0x26')]&&!this['_schema'][_0x386e('0x28')](_0x3a9afe[_0x386e('0x26')])?_0x3a9afe[_0x386e('0x26')]:null:_0x3a9afe['previousSibling']&&!this[_0x386e('0x11')][_0x386e('0x28')](_0x3a9afe[_0x386e('0xf')])?_0x3a9afe['previousSibling']:null,_0x3a9afe['isEmpty']||_0x13255f&&_0x13255f['isEmpty']){const _0x4bdff1=_0x13255f&&_0x13255f[_0x386e('0xa')]?_0x13255f:_0x3a9afe;_0x4a4f7e&&_0x4a4f7e[_0x386e('0x1')]==_0x11623f+_0x386e('0x36')&&_0x4a4f7e[_0x386e('0x24')][_0x386e('0x2c')]==_0x4bdff1[_0x386e('0x2c')]?_0x4a4f7e['quantity']++:_0x1de27f[_0x386e('0x2')]({'type':_0x11623f+_0x386e('0x36'),'element':_0x4bdff1,'quantity':0x1});}else _0x1de27f['push']({'type':_0x11623f+'Container','element':_0x3a9afe});}}}}}[_0x386e('0x35')](_0x32b6b2){const _0xe0cce7=this['_locale'],_0x4d3e68=[];for(const _0x4bccf9 of _0x32b6b2){switch(_0x4bccf9[_0x386e('0x1')]){case _0x386e('0x19'):if(_0x4bccf9['add']=_0x4bccf9[_0x386e('0x1f')][_0x386e('0x7')](/(\S)\u000A+(\S)/g,_0x386e('0x1e'))['replace'](/\u000A/g,''),_0x4bccf9[_0x386e('0x38')]=_0x4bccf9[_0x386e('0x38')][_0x386e('0x7')](/(\S)\u000A+(\S)/g,_0x386e('0x1e'))['replace'](/\u000A/g,''),''!=_0x4bccf9[_0x386e('0x1f')]&&''!=_0x4bccf9[_0x386e('0x38')]){_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0x7'),'content':_0x53f40d(_0xe0cce7,_0x386e('0x1b'),['\x22'+_0x4bccf9[_0x386e('0x38')]+'\x22','\x22'+_0x4bccf9[_0x386e('0x1f')]+'\x22'])});continue;}if(null!=_0x4bccf9[_0x386e('0x1f')][_0x386e('0x9')](/^ +$/)){_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0x6'),'content':_0x53f40d(_0xe0cce7,_0x386e('0x17'),_0x53f40d(_0xe0cce7,_0x386e('0xd'),_0x4bccf9['add'][_0x386e('0x29')]))});continue;}if(null!=_0x4bccf9[_0x386e('0x38')]['match'](/^ +$/)){_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0xe'),'content':_0x53f40d(_0xe0cce7,_0x386e('0x21'),_0x53f40d(_0xe0cce7,'ELEMENT_SPACE',_0x4bccf9['remove'][_0x386e('0x29')]))});continue;}if(''!=_0x4bccf9['add']){_0x4d3e68['push']({'type':_0x386e('0x6'),'content':_0x53f40d(_0xe0cce7,'*Insert:*\x20%0','\x22'+_0x4bccf9[_0x386e('0x1f')]+'\x22')});continue;}_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0xe'),'content':_0x53f40d(_0xe0cce7,'*Remove:*\x20%0','\x22'+_0x4bccf9[_0x386e('0x38')]+'\x22')});continue;case _0x386e('0x34'):case _0x386e('0x14'):_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0x6'),'content':_0x53f40d(_0xe0cce7,_0x386e('0x17'),this['getItemLabel'](_0x4bccf9[_0x386e('0x24')],_0x4bccf9[_0x386e('0x31')]))});continue;case _0x386e('0x12'):case _0x386e('0x20'):_0x4d3e68[_0x386e('0x2')]({'type':_0x386e('0xe'),'content':_0x53f40d(_0xe0cce7,'*Remove:*\x20%0',this['getItemLabel'](_0x4bccf9[_0x386e('0x24')],_0x4bccf9[_0x386e('0x31')]))});continue;case _0x386e('0x15'):_0x4d3e68[_0x386e('0x2')]({'type':'insertion','content':_0x53f40d(_0xe0cce7,'*Split:*\x20%0',this[_0x386e('0x1a')](_0x4bccf9[_0x386e('0x24')],_0x4bccf9['quantity']))});continue;case _0x386e('0x18'):_0x4d3e68['push']({'type':_0x386e('0xe'),'content':_0x53f40d(_0xe0cce7,_0x386e('0x4'),this[_0x386e('0x1a')](_0x4bccf9[_0x386e('0x24')],_0x4bccf9[_0x386e('0x31')]))});continue;}_0x4d3e68[_0x386e('0x2')](_0x4bccf9);}return _0x4d3e68;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c09=['getSuggestions','editor','requires','adapter','plugins','addSuggestionData','get','TrackChanges','Comments','getSuggestion'];(function(_0x1c70ac,_0x5c0966){var _0x1aad8a=function(_0x164362){while(--_0x164362){_0x1c70ac['push'](_0x1c70ac['shift']());}};_0x1aad8a(++_0x5c0966);}(_0x5c09,0xdb));var _0x1aad=function(_0x1c70ac,_0x5c0966){_0x1c70ac=_0x1c70ac-0x0;var _0x1aad8a=_0x5c09[_0x1c70ac];return _0x1aad8a;};import{Plugin as _0x480c12}from'ckeditor5/src/core';import _0x2e6bc5 from'./trackchangesui';import _0x35dc9f from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x480c12{static get[_0x1aad('0x3')](){return[_0x35dc9f,_0x2e6bc5,_0x1aad('0x9')];}static get['pluginName'](){return _0x1aad('0x8');}set[_0x1aad('0x4')](_0x1f7a4c){this['editor'][_0x1aad('0x5')]['get'](_0x35dc9f)[_0x1aad('0x4')]=_0x1f7a4c;}get[_0x1aad('0x4')](){return this[_0x1aad('0x2')][_0x1aad('0x5')]['get'](_0x35dc9f)['adapter'];}['addSuggestion'](_0x2b0b3e){return this[_0x1aad('0x2')]['plugins'][_0x1aad('0x7')](_0x35dc9f)[_0x1aad('0x6')](_0x2b0b3e);}[_0x1aad('0x1')]({skipNotAttached:_0x41d3dd=!0x1,toJSON:_0x28f249=!0x1}={}){return this['editor'][_0x1aad('0x5')][_0x1aad('0x7')](_0x35dc9f)['getSuggestions']({'skipNotAttached':_0x41d3dd,'toJSON':_0x28f249});}[_0x1aad('0x0')](_0x1880b5){return this['editor'][_0x1aad('0x5')][_0x1aad('0x7')](_0x35dc9f)[_0x1aad('0x0')](_0x1880b5);}}
23
+ var _0x1bb8=['getSuggestions','adapter','requires','plugins','TrackChanges','getSuggestion','get','Comments','editor','addSuggestionData'];(function(_0x3a644c,_0x1bb812){var _0x1f4645=function(_0x1509f6){while(--_0x1509f6){_0x3a644c['push'](_0x3a644c['shift']());}};_0x1f4645(++_0x1bb812);}(_0x1bb8,0x159));var _0x1f46=function(_0x3a644c,_0x1bb812){_0x3a644c=_0x3a644c-0x0;var _0x1f4645=_0x1bb8[_0x3a644c];return _0x1f4645;};import{Plugin as _0xef4505}from'ckeditor5/src/core';import _0x1cef4e from'./trackchangesui';import _0x343fd3 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0xef4505{static get[_0x1f46('0x7')](){return[_0x343fd3,_0x1cef4e,_0x1f46('0x2')];}static get['pluginName'](){return _0x1f46('0x9');}set['adapter'](_0x3e5540){this['editor'][_0x1f46('0x8')]['get'](_0x343fd3)[_0x1f46('0x6')]=_0x3e5540;}get[_0x1f46('0x6')](){return this[_0x1f46('0x3')][_0x1f46('0x8')]['get'](_0x343fd3)[_0x1f46('0x6')];}['addSuggestion'](_0x4045ec){return this[_0x1f46('0x3')][_0x1f46('0x8')][_0x1f46('0x1')](_0x343fd3)[_0x1f46('0x4')](_0x4045ec);}[_0x1f46('0x5')]({skipNotAttached:_0x42db63=!0x1,toJSON:_0x594eca=!0x1}={}){return this[_0x1f46('0x3')][_0x1f46('0x8')][_0x1f46('0x1')](_0x343fd3)['getSuggestions']({'skipNotAttached':_0x42db63,'toJSON':_0x594eca});}[_0x1f46('0x0')](_0x492bf3){return this[_0x1f46('0x3')][_0x1f46('0x8')][_0x1f46('0x1')](_0x343fd3)['getSuggestion'](_0x492bf3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c43=['init','createElement','function','TrackChangesDataGetter','model','CommentsRepository','editor','users','plugins','execute','acceptAllSuggestions','requires','TrackChangesEditing','getFullData','get','data','name','constructor','end','push','config','reduce','define','createDocumentFragment','useAnonymousUser','editorCreator','track-changes-data-invalid-editor-creator','getSuggestions','destroy','document','_adapter','TrackChangesData','trackChangesData','pluginName','getDataWithDiscardedSuggestions','Users','getUser','div','map','getRootNames','Pagination','getDataWithAcceptedSuggestions','set','addUser','getRootsAttributes','result'];(function(_0x2559d4,_0x4c43ee){const _0x5ab013=function(_0x1145ef){while(--_0x1145ef){_0x2559d4['push'](_0x2559d4['shift']());}};_0x5ab013(++_0x4c43ee);}(_0x4c43,0x101));const _0x5ab0=function(_0x2559d4,_0x4c43ee){_0x2559d4=_0x2559d4-0x0;let _0x5ab013=_0x4c43[_0x2559d4];return _0x5ab013;};import{Plugin as _0x3bb06a}from'ckeditor5/src/core';import{CKEditorError as _0x5d84ca}from'ckeditor5/src/utils';import _0x2857fa from'./trackchangesediting';import{sanitizeEditorConfig as _0x5abc21}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x5ab0('0xd')];export default class T extends _0x3bb06a{static get[_0x5ab0('0x1e')](){return[_0x2857fa];}static get[_0x5ab0('0x6')](){return _0x5ab0('0x4');}[_0x5ab0('0x13')](){const _0x375b7e=this[_0x5ab0('0x19')];if(_0x375b7e[_0x5ab0('0x27')][_0x5ab0('0x29')]('trackChangesData.editorCreator',_0x5921d9=>{const _0x152c03=_0x375b7e[_0x5ab0('0x17')][_0x5ab0('0x2')]['getRootNames']()[_0x5ab0('0x28')]((_0x3ea7fa,_0x1b8337)=>(_0x3ea7fa[_0x1b8337]='',_0x3ea7fa),{});return _0x375b7e[_0x5ab0('0x24')]['create'](_0x152c03,_0x5921d9);}),_0x5ab0('0x15')!=typeof _0x375b7e[_0x5ab0('0x27')][_0x5ab0('0x21')](_0x5ab0('0x5'))[_0x5ab0('0x2c')])throw new _0x5d84ca(_0x5ab0('0x2d'));}[_0x5ab0('0xe')](_0xdf20f9){return v(this['editor'],!0x0,_0xdf20f9);}[_0x5ab0('0x7')](_0x3daee0){return v(this[_0x5ab0('0x19')],!0x1,_0x3daee0);}}class P extends _0x3bb06a{static get['pluginName'](){return _0x5ab0('0x16');}constructor(_0xac8d1d){super(_0xac8d1d),this[_0x5ab0('0x12')]=_0x5ab0('0x25');}[_0x5ab0('0x13')](){this[_0x5ab0('0x19')][_0x5ab0('0x1b')][_0x5ab0('0x21')](_0x5ab0('0x18'))['_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[_0x5ab0('0x19')][_0x5ab0('0x1b')][_0x5ab0('0x21')]('TrackChangesEditing')[_0x5ab0('0x3')]=null;}}function D(_0x4958c1){return void 0x0!==_0x4958c1[_0x5ab0('0x11')];}async function v(_0x392fb2,_0x5019c3,_0xa58bfe){const _0x860c12=_0x5abc21(_0x392fb2,w);_0x860c12[_0x5ab0('0x1b')][_0x5ab0('0x26')](_0x2857fa,P),_0x860c12['rootsAttributes']=D(_0x392fb2)?_0x392fb2[_0x5ab0('0x11')]():void 0x0;const _0x3be14e=document[_0x5ab0('0x2a')](),_0x2e99e8=_0x392fb2[_0x5ab0('0x27')][_0x5ab0('0x21')](_0x5ab0('0x5'))[_0x5ab0('0x2c')],_0x2abdb8=await _0x2e99e8(_0x860c12,()=>function(_0x3bf569){const _0x5aee75=document[_0x5ab0('0x14')](_0x5ab0('0xa'));return _0x3bf569['appendChild'](_0x5aee75),_0x5aee75;}(_0x3be14e));!function(_0x330637,_0xa89e0a){const _0x44bb2a=_0x330637['model'][_0x5ab0('0x2')][_0x5ab0('0xc')]()[_0x5ab0('0x28')]((_0x11d773,_0x58f4a4)=>(_0x11d773[_0x58f4a4]=_0x330637['data'][_0x5ab0('0x21')]({'rootName':_0x58f4a4}),_0x11d773),{}),_0x59eb58=_0x330637[_0x5ab0('0x1b')][_0x5ab0('0x21')](_0x5ab0('0x8'))[_0x5ab0('0x1a')][_0x5ab0('0xb')](_0x2dbc8a=>({'id':_0x2dbc8a['id'],'name':_0x2dbc8a[_0x5ab0('0x23')]})),_0x43af84=_0x330637['plugins'][_0x5ab0('0x21')](_0x5ab0('0x1f'))[_0x5ab0('0x0')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x491c8c=_0xa89e0a['plugins'][_0x5ab0('0x21')](_0x5ab0('0x8')),_0x1da2ee=_0xa89e0a[_0x5ab0('0x1b')][_0x5ab0('0x21')](_0x5ab0('0x1f'));for(const _0x2aa62b of _0x59eb58)_0x491c8c[_0x5ab0('0x9')](_0x2aa62b['id'])||_0x491c8c[_0x5ab0('0x10')](_0x2aa62b);_0x491c8c['me']||_0x491c8c[_0x5ab0('0x2b')]();for(const _0x552769 of _0x43af84)_0x1da2ee['addSuggestionData'](_0x552769);_0xa89e0a['data'][_0x5ab0('0xf')](_0x44bb2a);}(_0x392fb2,_0x2abdb8),_0x2abdb8[_0x5ab0('0x1c')](_0x5019c3?_0x5ab0('0x1d'):'discardAllSuggestions');const _0x1b672b=D(_0x2abdb8)?_0x2abdb8[_0x5ab0('0x20')](_0xa58bfe):_0x2abdb8[_0x5ab0('0x22')][_0x5ab0('0x21')](_0xa58bfe);return await _0x2abdb8[_0x5ab0('0x1')](),_0x1b672b;}
23
+ const _0xc34d=['track-changes-data-invalid-editor-creator','model','getRootNames','getRootsAttributes','reduce','execute','users','config','function','trackChangesData.editorCreator','trackChangesData','_adapter','plugins','rootsAttributes','useAnonymousUser','acceptAllSuggestions','TrackChangesDataGetter','TrackChangesData','pluginName','editor','create','document','getUser','init','destroy','appendChild','createElement','map','Pagination','data','getDataWithDiscardedSuggestions','result','TrackChangesEditing','discardAllSuggestions','createDocumentFragment','addUser','end','Users','push','get','getSuggestions','CommentsRepository'];(function(_0x5a9a07,_0xc34d27){const _0x21e89b=function(_0x3282f9){while(--_0x3282f9){_0x5a9a07['push'](_0x5a9a07['shift']());}};_0x21e89b(++_0xc34d27);}(_0xc34d,0x1e0));const _0x21e8=function(_0x5a9a07,_0xc34d27){_0x5a9a07=_0x5a9a07-0x0;let _0x21e89b=_0xc34d[_0x5a9a07];return _0x21e89b;};import{Plugin as _0x4545d1}from'ckeditor5/src/core';import{CKEditorError as _0x11c373}from'ckeditor5/src/utils';import _0x547231 from'./trackchangesediting';import{sanitizeEditorConfig as _0x24b5d0}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x21e8('0xa')];export default class T extends _0x4545d1{static get['requires'](){return[_0x547231];}static get[_0x21e8('0x0')](){return _0x21e8('0x29');}[_0x21e8('0x5')](){const _0x47b367=this[_0x21e8('0x1')];if(_0x47b367[_0x21e8('0x1f')]['define'](_0x21e8('0x21'),_0xc7de5c=>{const _0x209db6=_0x47b367['model'][_0x21e8('0x3')]['getRootNames']()[_0x21e8('0x1c')]((_0x12460b,_0x55aa4b)=>(_0x12460b[_0x55aa4b]='',_0x12460b),{});return _0x47b367['constructor'][_0x21e8('0x2')](_0x209db6,_0xc7de5c);}),_0x21e8('0x20')!=typeof _0x47b367['config'][_0x21e8('0x15')](_0x21e8('0x22'))['editorCreator'])throw new _0x11c373(_0x21e8('0x18'));}['getDataWithAcceptedSuggestions'](_0xcb93d1){return v(this[_0x21e8('0x1')],!0x0,_0xcb93d1);}[_0x21e8('0xc')](_0x5f4eb9){return v(this[_0x21e8('0x1')],!0x1,_0x5f4eb9);}}class P extends _0x4545d1{static get[_0x21e8('0x0')](){return _0x21e8('0x28');}constructor(_0x1457bb){super(_0x1457bb),this[_0x21e8('0xd')]=_0x21e8('0x12');}[_0x21e8('0x5')](){this['editor'][_0x21e8('0x24')]['get'](_0x21e8('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[_0x21e8('0x1')][_0x21e8('0x24')][_0x21e8('0x15')](_0x21e8('0xe'))[_0x21e8('0x23')]=null;}}function D(_0xda0305){return void 0x0!==_0xda0305[_0x21e8('0x1b')];}async function v(_0x445d90,_0x11a4e6,_0xe9d6da){const _0x205917=_0x24b5d0(_0x445d90,w);_0x205917[_0x21e8('0x24')][_0x21e8('0x14')](_0x547231,P),_0x205917[_0x21e8('0x25')]=D(_0x445d90)?_0x445d90[_0x21e8('0x1b')]():void 0x0;const _0x11abec=document[_0x21e8('0x10')](),_0x33dfa6=_0x445d90['config']['get']('trackChangesData')['editorCreator'],_0xf8265a=await _0x33dfa6(_0x205917,()=>function(_0x47043b){const _0x2557df=document[_0x21e8('0x8')]('div');return _0x47043b[_0x21e8('0x7')](_0x2557df),_0x2557df;}(_0x11abec));!function(_0x19d02d,_0x16a3a7){const _0x1cab2b=_0x19d02d[_0x21e8('0x19')][_0x21e8('0x3')][_0x21e8('0x1a')]()[_0x21e8('0x1c')]((_0x42c5f1,_0x532352)=>(_0x42c5f1[_0x532352]=_0x19d02d['data'][_0x21e8('0x15')]({'rootName':_0x532352}),_0x42c5f1),{}),_0x579271=_0x19d02d[_0x21e8('0x24')][_0x21e8('0x15')](_0x21e8('0x13'))[_0x21e8('0x1e')][_0x21e8('0x9')](_0x1af78a=>({'id':_0x1af78a['id'],'name':_0x1af78a['name']})),_0x3c5662=_0x19d02d[_0x21e8('0x24')][_0x21e8('0x15')]('TrackChangesEditing')[_0x21e8('0x16')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3da97a=_0x16a3a7['plugins']['get']('Users'),_0x2dd262=_0x16a3a7[_0x21e8('0x24')][_0x21e8('0x15')](_0x21e8('0xe'));for(const _0x974dd2 of _0x579271)_0x3da97a[_0x21e8('0x4')](_0x974dd2['id'])||_0x3da97a[_0x21e8('0x11')](_0x974dd2);_0x3da97a['me']||_0x3da97a[_0x21e8('0x26')]();for(const _0x47749b of _0x3c5662)_0x2dd262['addSuggestionData'](_0x47749b);_0x16a3a7['data']['set'](_0x1cab2b);}(_0x445d90,_0xf8265a),_0xf8265a[_0x21e8('0x1d')](_0x11a4e6?_0x21e8('0x27'):_0x21e8('0xf'));const _0x5964fc=D(_0xf8265a)?_0xf8265a['getFullData'](_0xe9d6da):_0xf8265a[_0x21e8('0xb')][_0x21e8('0x15')](_0xe9d6da);return await _0xf8265a[_0x21e8('0x6')](),_0x5964fc;}