@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230827.0 → 0.0.0-nightly-20230829.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 _0x322f=['addRange','authoredAt','substr','removeMarkers','decorate','removeMarker','end','_onAccept','data','onAccept','_onDiscard','push','from','split','getAllAdjacentSuggestions','suggestion:','isMultiRange','discard','creator','commentThread','length','addMarkerName','start','getFirstRange','markers','change','@external','getMultiRangeId','get','size','isIntersecting','previous','_model','getRange','set','getMarkers','add','getItems','type','getRanges','getMarkerNames','attributes','getFirstMarker','map','subType','delete','filter','createdAt','_onAttributesChange','nodeBefore','toJSON','removeAttribute','onAttributesChange','hasComments','_markerNames','author','_saved','head','accept','next'];(function(_0x135b47,_0x322ff1){const _0x18cce8=function(_0x2757e9){while(--_0x2757e9){_0x135b47['push'](_0x135b47['shift']());}};_0x18cce8(++_0x322ff1);}(_0x322f,0x69));const _0x18cc=function(_0x135b47,_0x322ff1){_0x135b47=_0x135b47-0x0;let _0x18cce8=_0x322f[_0x135b47];return _0x18cce8;};import{Element as _0x2f7333}from'ckeditor5/src/engine';import{ObservableMixin as _0x16e30c,uid as _0x3608b8}from'ckeditor5/src/utils';import{cloneDeep as _0x2c8439,isEqual as _0x39cd98,set as _0x27926e,unset as _0x5113f8}from'lodash-es';export default class u extends _0x16e30c(){constructor(_0x5ee463,_0x422030){super(),this['id']=_0x422030['id'],this[_0x18cc('0x35')]=_0x422030[_0x18cc('0x35')],this[_0x18cc('0x3b')]=_0x422030[_0x18cc('0x3b')]||null,this[_0x18cc('0xa')]=_0x422030[_0x18cc('0xa')],this[_0x18cc('0x21')]=_0x422030[_0x18cc('0x21')]||_0x422030[_0x18cc('0xa')],this['isExternal']=Boolean(_0x422030[_0x18cc('0x38')]&&_0x422030['attributes'][_0x18cc('0x29')]),this[_0x18cc('0x17')]=null,this[_0x18cc('0x2f')]=_0x5ee463,this['_onAccept']=_0x422030[_0x18cc('0x18')],this[_0x18cc('0x19')]=_0x422030['onDiscard'],this[_0x18cc('0x3')]=_0x422030[_0x18cc('0x7')],this[_0x18cc('0x9')]=new Set(),this['createdAt']=null,this[_0x18cc('0x31')](_0x18cc('0x10'),null),this[_0x18cc('0x31')](_0x18cc('0x38'),_0x422030[_0x18cc('0x38')]||{}),this['set'](_0x18cc('0x2e'),null),this[_0x18cc('0x31')](_0x18cc('0xe'),null),this['set']('commentThread',null),this[_0x18cc('0x31')](_0x18cc('0xb'),!0x1),this['decorate'](_0x18cc('0xd')),this[_0x18cc('0x13')](_0x18cc('0x20'));}get[_0x18cc('0xc')](){let _0x52a7da=this;for(;_0x52a7da['previous'];)_0x52a7da=_0x52a7da[_0x18cc('0x2e')];return _0x52a7da;}get[_0x18cc('0x8')](){return!!this[_0x18cc('0x22')]&&this['commentThread'][_0x18cc('0x23')]>0x0;}get[_0x18cc('0x1f')](){if(0x0==this['_markerNames'][_0x18cc('0x2c')])return!0x1;return 0x6==Array['from'](this[_0x18cc('0x9')])[0x0][_0x18cc('0x1c')](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x18cc('0x24')](_0x457e4e){this[_0x18cc('0x9')][_0x18cc('0x33')](_0x457e4e);}[_0x18cc('0x37')](){return Array[_0x18cc('0x1b')](this[_0x18cc('0x9')]);}[_0x18cc('0x32')](){return this[_0x18cc('0x37')]()[_0x18cc('0x3a')](_0x2914da=>this['_model'][_0x18cc('0x27')][_0x18cc('0x2b')](_0x2914da))[_0x18cc('0x1')](_0x5c948a=>_0x5c948a);}['getFirstMarker'](){return this[_0x18cc('0x32')]()[0x0]||null;}['removeMarkers'](){this[_0x18cc('0x2f')][_0x18cc('0x28')](_0x395c1a=>{for(const _0x3c7465 of this['getMarkers']())_0x395c1a[_0x18cc('0x14')](_0x3c7465);}),this[_0x18cc('0x9')]['clear']();}[_0x18cc('0x14')](_0x1f2d15){this[_0x18cc('0x2f')][_0x18cc('0x28')](_0x1106bc=>{_0x1106bc[_0x18cc('0x14')](_0x1f2d15);}),this[_0x18cc('0x9')][_0x18cc('0x0')](_0x1f2d15);}[_0x18cc('0xf')](_0x2e3c0d){const _0xb36926=_0x18cc('0x1e')+this[_0x18cc('0x35')]+':'+this[_0x18cc('0x3b')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this['addMarkerName'](_0xb36926),this[_0x18cc('0x2f')][_0x18cc('0x28')](_0x3af1ed=>{_0x3af1ed['addMarker'](_0xb36926,{'range':_0x2e3c0d,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x360071){for(const _0x5f1718 of this[_0x18cc('0x36')]())if(_0x5f1718[_0x18cc('0x2d')](_0x360071))return!0x0;return!0x1;}[_0x18cc('0x36')](){return this['getMarkers']()[_0x18cc('0x3a')](_0xfd5ced=>_0xfd5ced[_0x18cc('0x30')]());}[_0x18cc('0x34')](){return this[_0x18cc('0x36')]()['reduce']((_0x3d267b,_0x2b51d2)=>[..._0x3d267b,..._0x2b51d2[_0x18cc('0x34')]()],[]);}[_0x18cc('0x26')](){var _0x3b8e64;return(null===(_0x3b8e64=this[_0x18cc('0x39')]())||void 0x0===_0x3b8e64?void 0x0:_0x3b8e64['getRange']())||null;}['getContainedElement'](){const _0x210f7e=this[_0x18cc('0x36')]();if(0x1!=_0x210f7e[_0x18cc('0x23')])return null;const _0x54f12c=_0x210f7e[0x0],_0x26913=_0x54f12c[_0x18cc('0x25')]['nodeAfter'],_0x53bdf9=_0x54f12c[_0x18cc('0x15')][_0x18cc('0x4')];return _0x26913 instanceof _0x2f7333?_0x26913!=_0x53bdf9?null:_0x26913:null;}[_0x18cc('0xd')](){this[_0x18cc('0x16')](this[_0x18cc('0x36')](),this[_0x18cc('0x17')],this[_0x18cc('0x38')]),this['removeMarkers']();}[_0x18cc('0x20')](){this[_0x18cc('0x19')](this[_0x18cc('0x36')](),this[_0x18cc('0x17')],this[_0x18cc('0x38')]),this[_0x18cc('0x12')]();}[_0x18cc('0x1d')](){const _0x2e6b00=[];let _0x3c912f=this['head'];for(;_0x3c912f;)_0x2e6b00[_0x18cc('0x1a')](_0x3c912f),_0x3c912f=_0x3c912f[_0x18cc('0xe')];return _0x2e6b00;}['setAttribute'](_0x59f725,_0x474a88){const _0x2288b5=_0x2c8439(this[_0x18cc('0x38')]);_0x27926e(_0x2288b5,_0x59f725,_0x474a88),_0x39cd98(_0x2288b5,this[_0x18cc('0x38')])||(this[_0x18cc('0x38')]=_0x2288b5,this[_0x18cc('0x3')](_0x2288b5));}[_0x18cc('0x6')](_0x36981e){const _0x58df68=_0x2c8439(this['attributes']);_0x5113f8(_0x58df68,_0x36981e),_0x39cd98(_0x58df68,this[_0x18cc('0x38')])||(this[_0x18cc('0x38')]=_0x58df68,this[_0x18cc('0x3')](this['attributes']));}[_0x18cc('0x5')](){return{'id':this['id'],'type':this[_0x18cc('0x3b')]?this[_0x18cc('0x35')]+':'+this[_0x18cc('0x3b')]:this[_0x18cc('0x35')],'authorId':this['creator']['id'],'createdAt':this[_0x18cc('0x2')],'hasComments':this[_0x18cc('0x8')],'data':this[_0x18cc('0x17')],'attributes':this[_0x18cc('0x38')]};}static[_0x18cc('0x2a')](){return _0x3608b8()[_0x18cc('0x11')](0x1,0x5);}}
23
+ const _0x32c7=['clear','createdAt','_onAccept','discard','getAllAdjacentSuggestions','isIntersectingWithRange','delete','addMarkerName','head','creator','toJSON','removeMarkers','onDiscard','getFirstRange','removeMarker','add','getFirstMarker','getRanges','isInContent','nodeAfter','previous','get','getItems','markers','_markerNames','end','onAccept','getContainedElement','attributes','_onAttributesChange','_onDiscard','filter','data','getMarkers','type','substr','set','getMarkerNames','nodeBefore','_saved','accept','change','length','getRange','isMultiRange','suggestion:','map','hasComments','setAttribute','commentThread','subType','@external','size','onAttributesChange','_model','author','reduce'];(function(_0x2a5f48,_0x32c795){const _0xfa85ea=function(_0x1011c7){while(--_0x1011c7){_0x2a5f48['push'](_0x2a5f48['shift']());}};_0xfa85ea(++_0x32c795);}(_0x32c7,0x116));const _0xfa85=function(_0x2a5f48,_0x32c795){_0x2a5f48=_0x2a5f48-0x0;let _0xfa85ea=_0x32c7[_0x2a5f48];return _0xfa85ea;};import{Element as _0x6db1c2}from'ckeditor5/src/engine';import{ObservableMixin as _0x47d7f3,uid as _0x3d02ca}from'ckeditor5/src/utils';import{cloneDeep as _0x36e126,isEqual as _0xc3a162,set as _0x465da5,unset as _0x2757a3}from'lodash-es';export default class u extends _0x47d7f3(){constructor(_0x4d4a4c,_0x22d28a){super(),this['id']=_0x22d28a['id'],this['type']=_0x22d28a[_0xfa85('0x29')],this[_0xfa85('0x0')]=_0x22d28a['subType']||null,this['author']=_0x22d28a[_0xfa85('0x5')],this[_0xfa85('0x10')]=_0x22d28a[_0xfa85('0x10')]||_0x22d28a[_0xfa85('0x5')],this['isExternal']=Boolean(_0x22d28a['attributes']&&_0x22d28a[_0xfa85('0x23')][_0xfa85('0x1')]),this[_0xfa85('0x27')]=null,this['_model']=_0x4d4a4c,this[_0xfa85('0x9')]=_0x22d28a[_0xfa85('0x21')],this[_0xfa85('0x25')]=_0x22d28a[_0xfa85('0x13')],this['_onAttributesChange']=_0x22d28a[_0xfa85('0x3')],this[_0xfa85('0x1f')]=new Set(),this[_0xfa85('0x8')]=null,this['set']('authoredAt',null),this['set'](_0xfa85('0x23'),_0x22d28a[_0xfa85('0x23')]||{}),this[_0xfa85('0x2b')](_0xfa85('0x1b'),null),this[_0xfa85('0x2b')]('next',null),this[_0xfa85('0x2b')](_0xfa85('0x38'),null),this[_0xfa85('0x2b')](_0xfa85('0x2e'),!0x1),this['decorate'](_0xfa85('0x2f')),this['decorate'](_0xfa85('0xa'));}get[_0xfa85('0xf')](){let _0x34ef15=this;for(;_0x34ef15[_0xfa85('0x1b')];)_0x34ef15=_0x34ef15[_0xfa85('0x1b')];return _0x34ef15;}get['hasComments'](){return!!this['commentThread']&&this[_0xfa85('0x38')][_0xfa85('0x31')]>0x0;}get[_0xfa85('0x33')](){if(0x0==this[_0xfa85('0x1f')][_0xfa85('0x2')])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')[_0xfa85('0x31')];}get[_0xfa85('0x19')](){return null!==this[_0xfa85('0x17')]();}[_0xfa85('0xe')](_0x11cde7){this[_0xfa85('0x1f')][_0xfa85('0x16')](_0x11cde7);}[_0xfa85('0x2c')](){return Array['from'](this[_0xfa85('0x1f')]);}['getMarkers'](){return this[_0xfa85('0x2c')]()[_0xfa85('0x35')](_0x3c9c51=>this[_0xfa85('0x4')][_0xfa85('0x1e')][_0xfa85('0x1c')](_0x3c9c51))[_0xfa85('0x26')](_0xdf1487=>_0xdf1487);}[_0xfa85('0x17')](){return this[_0xfa85('0x28')]()[0x0]||null;}[_0xfa85('0x12')](){this[_0xfa85('0x4')]['change'](_0x3d88d4=>{for(const _0xc4e8c5 of this[_0xfa85('0x28')]())_0x3d88d4[_0xfa85('0x15')](_0xc4e8c5);}),this[_0xfa85('0x1f')][_0xfa85('0x7')]();}[_0xfa85('0x15')](_0x5671b2){this[_0xfa85('0x4')][_0xfa85('0x30')](_0x50f5ca=>{_0x50f5ca[_0xfa85('0x15')](_0x5671b2);}),this[_0xfa85('0x1f')][_0xfa85('0xd')](_0x5671b2);}['addRange'](_0x435f85){const _0x38da3a=_0xfa85('0x34')+this[_0xfa85('0x29')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0xfa85('0xe')](_0x38da3a),this[_0xfa85('0x4')]['change'](_0x3f47ad=>{_0x3f47ad['addMarker'](_0x38da3a,{'range':_0x435f85,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xfa85('0xc')](_0x3f4d5c){for(const _0x1e363d of this['getRanges']())if(_0x1e363d['isIntersecting'](_0x3f4d5c))return!0x0;return!0x1;}[_0xfa85('0x18')](){return this[_0xfa85('0x28')]()['map'](_0x552540=>_0x552540['getRange']());}[_0xfa85('0x1d')](){return this[_0xfa85('0x18')]()[_0xfa85('0x6')]((_0x364e02,_0xff18bc)=>[..._0x364e02,..._0xff18bc['getItems']()],[]);}[_0xfa85('0x14')](){var _0x5d8e27;return(null===(_0x5d8e27=this['getFirstMarker']())||void 0x0===_0x5d8e27?void 0x0:_0x5d8e27[_0xfa85('0x32')]())||null;}[_0xfa85('0x22')](){const _0x21bbec=this['getRanges']();if(0x1!=_0x21bbec['length'])return null;const _0x255958=_0x21bbec[0x0],_0x28e485=_0x255958['start'][_0xfa85('0x1a')],_0x375f1b=_0x255958[_0xfa85('0x20')][_0xfa85('0x2d')];return _0x28e485 instanceof _0x6db1c2?_0x28e485!=_0x375f1b?null:_0x28e485:null;}[_0xfa85('0x2f')](){this[_0xfa85('0x9')](this['getRanges'](),this['data'],this[_0xfa85('0x23')]),this[_0xfa85('0x12')]();}[_0xfa85('0xa')](){this[_0xfa85('0x25')](this[_0xfa85('0x18')](),this['data'],this[_0xfa85('0x23')]),this['removeMarkers']();}[_0xfa85('0xb')](){const _0x114f54=[];let _0x2698ed=this[_0xfa85('0xf')];for(;_0x2698ed;)_0x114f54['push'](_0x2698ed),_0x2698ed=_0x2698ed['next'];return _0x114f54;}[_0xfa85('0x37')](_0x425ea4,_0x53a6aa){const _0x4b2cc1=_0x36e126(this[_0xfa85('0x23')]);_0x465da5(_0x4b2cc1,_0x425ea4,_0x53a6aa),_0xc3a162(_0x4b2cc1,this[_0xfa85('0x23')])||(this[_0xfa85('0x23')]=_0x4b2cc1,this[_0xfa85('0x24')](_0x4b2cc1));}['removeAttribute'](_0xdaa2bb){const _0x187a3d=_0x36e126(this[_0xfa85('0x23')]);_0x2757a3(_0x187a3d,_0xdaa2bb),_0xc3a162(_0x187a3d,this[_0xfa85('0x23')])||(this[_0xfa85('0x23')]=_0x187a3d,this['_onAttributesChange'](this[_0xfa85('0x23')]));}[_0xfa85('0x11')](){return{'id':this['id'],'type':this[_0xfa85('0x0')]?this[_0xfa85('0x29')]+':'+this[_0xfa85('0x0')]:this[_0xfa85('0x29')],'authorId':this['creator']['id'],'createdAt':this[_0xfa85('0x8')],'hasComments':this[_0xfa85('0x36')],'data':this[_0xfa85('0x27')],'attributes':this[_0xfa85('0x23')]};}static['getMultiRangeId'](){return _0x3d02ca()[_0xfa85('0x2a')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13dc=['_locale','name','matchingCallback','pop','_itemLabels','_itemLabelsCallbacks','EmptyContainer','REPLACE_TEXT','element','push','removeEmptyContainer','getDescriptions','isEmpty','set','addObject','label','isEqual','_resolveDescriptionItems','indexOf','*Merge:*\x20%0','*Split:*\x20%0','get','previousSibling','insertion','Container','addEmptyContainer','softBreak','isInContent','_customCallbacks','_schema','remove','*Insert:*\x20%0','checkChild','replace','getItemLabel','addContainer','nextSibling','type','$textProxy','match','ELEMENT_SPACE','elementStart','isObject','_addDescriptionItems','removeObject','$1\x20$2','registerDescriptionCallback','add','getFirstRange','text','start','*Remove:*\x20%0','elementEnd','quantity','deletion','length','Object'];(function(_0x2e756e,_0x13dc35){const _0x807769=function(_0x32e6cd){while(--_0x32e6cd){_0x2e756e['push'](_0x2e756e['shift']());}};_0x807769(++_0x13dc35);}(_0x13dc,0x127));const _0x8077=function(_0x2e756e,_0x13dc35){_0x2e756e=_0x2e756e-0x0;let _0x807769=_0x13dc[_0x2e756e];return _0x807769;};import{getTranslation as _0x580497}from'./utils/common-translations';import{priorities as _0x513c51,insertToPriorityArray as _0xed46d3}from'ckeditor5/src/utils';export default class m{constructor(_0x5e8f26,_0x164c1a){this['_customCallbacks']=[],this[_0x8077('0x33')]=new Map(),this[_0x8077('0x34')]=[],this[_0x8077('0x13')]=_0x5e8f26,this[_0x8077('0x2f')]=_0x164c1a;}[_0x8077('0x1')](_0x4c089b){const _0x44b9a0=[];for(let _0x182ec4=0x0;_0x182ec4<_0x4c089b[_0x8077('0x2d')];_0x182ec4++){const _0x166d1f=_0x4c089b[_0x182ec4];if(!_0x166d1f[_0x8077('0x11')])continue;let _0x1971ba=!0x1;for(const _0x4bbfe0 of this[_0x8077('0x12')]){const _0x3d9c48=_0x4bbfe0(_0x166d1f);if(_0x3d9c48){'type'in _0x3d9c48&&_0x44b9a0[_0x8077('0x38')](_0x3d9c48),_0x1971ba=!0x0;break;}}if(!_0x1971ba){this[_0x8077('0x21')](_0x44b9a0,_0x166d1f);const _0xc453de=_0x4c089b[_0x182ec4+0x1];if(_0xc453de&&!_0x166d1f['getFirstRange']()['end'][_0x8077('0x6')](_0xc453de[_0x8077('0x26')]()[_0x8077('0x28')])){const _0x3edad8=_0x44b9a0[_0x44b9a0[_0x8077('0x2d')]-0x1],_0x3494b8=_0x8077('0xd')==_0x166d1f[_0x8077('0x1b')]?'add':_0x8077('0x14');_0x3edad8&&'text'==_0x3edad8[_0x8077('0x1b')]&&(_0x3edad8[_0x3494b8]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x44b9a0);}[_0x8077('0x24')](_0x4a79b6){this[_0x8077('0x12')][_0x8077('0x38')](_0x4a79b6);}['registerElementLabel'](_0xc3d952,_0x3406e4,_0x4871fa=_0x513c51['normal']){'function'==typeof _0xc3d952?_0xed46d3(this[_0x8077('0x34')],{'matchingCallback':_0xc3d952,'label':_0x3406e4,'priority':_0x4871fa}):this['_itemLabels'][_0x8077('0x3')](_0xc3d952,_0x3406e4);}[_0x8077('0x18')](_0x4e6682,_0x2dcfc3=0x1){let _0x530046;for(const _0x83609a of this[_0x8077('0x34')])if(_0x83609a[_0x8077('0x31')](_0x4e6682)){_0x530046=_0x83609a[_0x8077('0x5')];break;}return _0x530046||(_0x530046=this[_0x8077('0x33')][_0x8077('0xb')](_0x4e6682[_0x8077('0x30')])),_0x530046?_0x530046(_0x2dcfc3):0x1!==_0x2dcfc3?_0x2dcfc3+'\x20'+_0x4e6682[_0x8077('0x30')]+'s':''+_0x4e6682[_0x8077('0x30')];}[_0x8077('0x21')](_0x4dda9d,_0x148258){const _0x3199a9=_0x148258[_0x8077('0x26')]()['getWalker'](),_0x12ddbb=_0x8077('0xd')==_0x148258[_0x8077('0x1b')]?_0x8077('0x25'):'remove';for(const _0x294586 of _0x3199a9){const _0x3cc1c3=_0x294586['item'],_0x4b20db=_0x4dda9d[_0x4dda9d[_0x8077('0x2d')]-0x1];if(_0x3cc1c3['is'](_0x8077('0x1c')))_0x4b20db&&_0x4b20db[_0x8077('0x1b')][_0x8077('0x8')](_0x8077('0xe'))>-0x1&&_0x4dda9d[_0x8077('0x32')](),_0x4b20db&&_0x8077('0x27')==_0x4b20db[_0x8077('0x1b')]?_0x4b20db[_0x12ddbb]+=_0x3cc1c3['data']:_0x4dda9d[_0x8077('0x38')]({'type':_0x8077('0x27'),'add':_0x8077('0x25')==_0x12ddbb?_0x3cc1c3['data']:'','remove':_0x8077('0x14')==_0x12ddbb?_0x3cc1c3['data']:''});else{if(this[_0x8077('0x13')][_0x8077('0x20')](_0x3cc1c3)){const _0x50ec34=_0x3cc1c3;if(_0x4b20db&&_0x4b20db[_0x8077('0x1b')]['indexOf']('Container')>-0x1&&_0x4dda9d['pop'](),_0x8077('0x2a')==_0x294586[_0x8077('0x1b')])continue;_0x4b20db&&_0x4b20db[_0x8077('0x1b')]==_0x12ddbb+_0x8077('0x2e')&&_0x4b20db[_0x8077('0x37')][_0x8077('0x30')]==_0x50ec34[_0x8077('0x30')]?_0x4b20db[_0x8077('0x2b')]++:_0x4dda9d[_0x8077('0x38')]({'type':_0x12ddbb+'Object','element':_0x50ec34,'quantity':0x1}),_0x3199a9['skip'](_0xf2d977=>!(_0x8077('0x2a')==_0xf2d977[_0x8077('0x1b')]&&_0xf2d977['item']==_0x3cc1c3));}else{if(this[_0x8077('0x13')][_0x8077('0x16')](_0x3cc1c3,'$text')||_0x3cc1c3['is'](_0x8077('0x37'),_0x8077('0x10'))){const _0x22b542=_0x3cc1c3;if(_0x8077('0x25')==_0x12ddbb&&_0x8077('0x1f')==_0x294586[_0x8077('0x1b')]||'remove'==_0x12ddbb&&_0x8077('0x2a')==_0x294586[_0x8077('0x1b')])continue;if(_0x4b20db&&-0x1==_0x4b20db['type'][_0x8077('0x8')]('Container')){_0x8077('0x27')==_0x4b20db[_0x8077('0x1b')]&&(_0x4b20db[_0x12ddbb]+='\x0a');continue;}let _0x4abce2;if(_0x4abce2=_0x8077('0x25')==_0x12ddbb?_0x22b542[_0x8077('0x1a')]&&!this[_0x8077('0x13')][_0x8077('0x20')](_0x22b542['nextSibling'])?_0x22b542[_0x8077('0x1a')]:null:_0x22b542[_0x8077('0xc')]&&!this[_0x8077('0x13')][_0x8077('0x20')](_0x22b542[_0x8077('0xc')])?_0x22b542[_0x8077('0xc')]:null,_0x22b542[_0x8077('0x2')]||_0x4abce2&&_0x4abce2[_0x8077('0x2')]){const _0xcc02=_0x4abce2&&_0x4abce2[_0x8077('0x2')]?_0x4abce2:_0x22b542;_0x4b20db&&_0x4b20db['type']==_0x12ddbb+'EmptyContainer'&&_0x4b20db['element'][_0x8077('0x30')]==_0xcc02[_0x8077('0x30')]?_0x4b20db[_0x8077('0x2b')]++:_0x4dda9d[_0x8077('0x38')]({'type':_0x12ddbb+_0x8077('0x35'),'element':_0xcc02,'quantity':0x1});}else _0x4dda9d['push']({'type':_0x12ddbb+_0x8077('0xe'),'element':_0x22b542});}}}}}[_0x8077('0x7')](_0x20a22b){const _0x3273a7=this[_0x8077('0x2f')],_0x106ef8=[];for(const _0x1bdaa7 of _0x20a22b){switch(_0x1bdaa7['type']){case'text':if(_0x1bdaa7[_0x8077('0x25')]=_0x1bdaa7[_0x8077('0x25')][_0x8077('0x17')](/(\S)\u000A+(\S)/g,_0x8077('0x23'))[_0x8077('0x17')](/\u000A/g,''),_0x1bdaa7['remove']=_0x1bdaa7[_0x8077('0x14')][_0x8077('0x17')](/(\S)\u000A+(\S)/g,_0x8077('0x23'))[_0x8077('0x17')](/\u000A/g,''),''!=_0x1bdaa7[_0x8077('0x25')]&&''!=_0x1bdaa7[_0x8077('0x14')]){_0x106ef8['push']({'type':'replace','content':_0x580497(_0x3273a7,_0x8077('0x36'),['\x22'+_0x1bdaa7['remove']+'\x22','\x22'+_0x1bdaa7[_0x8077('0x25')]+'\x22'])});continue;}if(null!=_0x1bdaa7['add'][_0x8077('0x1d')](/^ +$/)){_0x106ef8[_0x8077('0x38')]({'type':'insertion','content':_0x580497(_0x3273a7,_0x8077('0x15'),_0x580497(_0x3273a7,_0x8077('0x1e'),_0x1bdaa7[_0x8077('0x25')]['length']))});continue;}if(null!=_0x1bdaa7[_0x8077('0x14')]['match'](/^ +$/)){_0x106ef8[_0x8077('0x38')]({'type':'deletion','content':_0x580497(_0x3273a7,_0x8077('0x29'),_0x580497(_0x3273a7,'ELEMENT_SPACE',_0x1bdaa7[_0x8077('0x14')]['length']))});continue;}if(''!=_0x1bdaa7[_0x8077('0x25')]){_0x106ef8['push']({'type':_0x8077('0xd'),'content':_0x580497(_0x3273a7,_0x8077('0x15'),'\x22'+_0x1bdaa7[_0x8077('0x25')]+'\x22')});continue;}_0x106ef8[_0x8077('0x38')]({'type':_0x8077('0x2c'),'content':_0x580497(_0x3273a7,'*Remove:*\x20%0','\x22'+_0x1bdaa7['remove']+'\x22')});continue;case _0x8077('0xf'):case _0x8077('0x4'):_0x106ef8[_0x8077('0x38')]({'type':_0x8077('0xd'),'content':_0x580497(_0x3273a7,'*Insert:*\x20%0',this[_0x8077('0x18')](_0x1bdaa7['element'],_0x1bdaa7['quantity']))});continue;case _0x8077('0x0'):case _0x8077('0x22'):_0x106ef8[_0x8077('0x38')]({'type':'deletion','content':_0x580497(_0x3273a7,_0x8077('0x29'),this[_0x8077('0x18')](_0x1bdaa7['element'],_0x1bdaa7[_0x8077('0x2b')]))});continue;case _0x8077('0x19'):_0x106ef8[_0x8077('0x38')]({'type':_0x8077('0xd'),'content':_0x580497(_0x3273a7,_0x8077('0xa'),this[_0x8077('0x18')](_0x1bdaa7[_0x8077('0x37')],_0x1bdaa7[_0x8077('0x2b')]))});continue;case'removeContainer':_0x106ef8['push']({'type':'deletion','content':_0x580497(_0x3273a7,_0x8077('0x9'),this[_0x8077('0x18')](_0x1bdaa7[_0x8077('0x37')],_0x1bdaa7[_0x8077('0x2b')]))});continue;}_0x106ef8[_0x8077('0x38')](_0x1bdaa7);}return _0x106ef8;}}
23
+ const _0x5ed9=['REPLACE_TEXT','_itemLabels','$1\x20$2','Object','Container','name','type','remove','_resolveDescriptionItems','registerElementLabel','elementStart','isEqual','indexOf','softBreak','text','getItemLabel','push','skip','_customCallbacks','pop','normal','addEmptyContainer','getFirstRange','_locale','insertion','removeEmptyContainer','_schema','add','nextSibling','match','label','addObject','ELEMENT_SPACE','_addDescriptionItems','previousSibling','replace','*Remove:*\x20%0','item','*Insert:*\x20%0','set','quantity','addContainer','*Merge:*\x20%0','data','removeContainer','*Split:*\x20%0','removeObject','isEmpty','checkChild','$textProxy','deletion','element','EmptyContainer','get','_itemLabelsCallbacks','isObject','elementEnd','length'];(function(_0x2e73d8,_0x5ed9ba){const _0x23f6a8=function(_0x383c92){while(--_0x383c92){_0x2e73d8['push'](_0x2e73d8['shift']());}};_0x23f6a8(++_0x5ed9ba);}(_0x5ed9,0x127));const _0x23f6=function(_0x2e73d8,_0x5ed9ba){_0x2e73d8=_0x2e73d8-0x0;let _0x23f6a8=_0x5ed9[_0x2e73d8];return _0x23f6a8;};import{getTranslation as _0x53881e}from'./utils/common-translations';import{priorities as _0x1795e4,insertToPriorityArray as _0x32d43f}from'ckeditor5/src/utils';export default class m{constructor(_0x6887fb,_0x3fcee){this[_0x23f6('0xd')]=[],this[_0x23f6('0x36')]=new Map(),this[_0x23f6('0x31')]=[],this['_schema']=_0x6887fb,this[_0x23f6('0x12')]=_0x3fcee;}['getDescriptions'](_0x4ef510){const _0x2f02eb=[];for(let _0x2b6522=0x0;_0x2b6522<_0x4ef510[_0x23f6('0x34')];_0x2b6522++){const _0x524188=_0x4ef510[_0x2b6522];if(!_0x524188['isInContent'])continue;let _0x1b16b3=!0x1;for(const _0x2b2754 of this[_0x23f6('0xd')]){const _0x35005b=_0x2b2754(_0x524188);if(_0x35005b){'type'in _0x35005b&&_0x2f02eb[_0x23f6('0xb')](_0x35005b),_0x1b16b3=!0x0;break;}}if(!_0x1b16b3){this['_addDescriptionItems'](_0x2f02eb,_0x524188);const _0x3b809a=_0x4ef510[_0x2b6522+0x1];if(_0x3b809a&&!_0x524188[_0x23f6('0x11')]()['end'][_0x23f6('0x6')](_0x3b809a[_0x23f6('0x11')]()['start'])){const _0x37db6e=_0x2f02eb[_0x2f02eb[_0x23f6('0x34')]-0x1],_0x466052=_0x23f6('0x13')==_0x524188[_0x23f6('0x1')]?'add':_0x23f6('0x2');_0x37db6e&&'text'==_0x37db6e[_0x23f6('0x1')]&&(_0x37db6e[_0x466052]+='\x0a');}}}return this[_0x23f6('0x3')](_0x2f02eb);}['registerDescriptionCallback'](_0x2cbea2){this[_0x23f6('0xd')][_0x23f6('0xb')](_0x2cbea2);}[_0x23f6('0x4')](_0x23ca00,_0x3b2d35,_0x15b0b6=_0x1795e4[_0x23f6('0xf')]){'function'==typeof _0x23ca00?_0x32d43f(this[_0x23f6('0x31')],{'matchingCallback':_0x23ca00,'label':_0x3b2d35,'priority':_0x15b0b6}):this[_0x23f6('0x36')][_0x23f6('0x22')](_0x23ca00,_0x3b2d35);}['getItemLabel'](_0x27615d,_0x46641a=0x1){let _0x50f71b;for(const _0x3feff6 of this[_0x23f6('0x31')])if(_0x3feff6['matchingCallback'](_0x27615d)){_0x50f71b=_0x3feff6[_0x23f6('0x19')];break;}return _0x50f71b||(_0x50f71b=this['_itemLabels'][_0x23f6('0x30')](_0x27615d[_0x23f6('0x0')])),_0x50f71b?_0x50f71b(_0x46641a):0x1!==_0x46641a?_0x46641a+'\x20'+_0x27615d[_0x23f6('0x0')]+'s':''+_0x27615d['name'];}[_0x23f6('0x1c')](_0x515d64,_0x3736e4){const _0x1733b1=_0x3736e4[_0x23f6('0x11')]()['getWalker'](),_0x29161f=_0x23f6('0x13')==_0x3736e4[_0x23f6('0x1')]?'add':_0x23f6('0x2');for(const _0xcce29c of _0x1733b1){const _0x5a8c69=_0xcce29c[_0x23f6('0x20')],_0x15f54e=_0x515d64[_0x515d64[_0x23f6('0x34')]-0x1];if(_0x5a8c69['is'](_0x23f6('0x2c')))_0x15f54e&&_0x15f54e[_0x23f6('0x1')][_0x23f6('0x7')](_0x23f6('0x39'))>-0x1&&_0x515d64[_0x23f6('0xe')](),_0x15f54e&&_0x23f6('0x9')==_0x15f54e[_0x23f6('0x1')]?_0x15f54e[_0x29161f]+=_0x5a8c69['data']:_0x515d64[_0x23f6('0xb')]({'type':'text','add':'add'==_0x29161f?_0x5a8c69[_0x23f6('0x26')]:'','remove':'remove'==_0x29161f?_0x5a8c69[_0x23f6('0x26')]:''});else{if(this['_schema'][_0x23f6('0x32')](_0x5a8c69)){const _0x58ba69=_0x5a8c69;if(_0x15f54e&&_0x15f54e[_0x23f6('0x1')]['indexOf'](_0x23f6('0x39'))>-0x1&&_0x515d64[_0x23f6('0xe')](),_0x23f6('0x33')==_0xcce29c['type'])continue;_0x15f54e&&_0x15f54e[_0x23f6('0x1')]==_0x29161f+_0x23f6('0x38')&&_0x15f54e[_0x23f6('0x2e')]['name']==_0x58ba69[_0x23f6('0x0')]?_0x15f54e['quantity']++:_0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x38'),'element':_0x58ba69,'quantity':0x1}),_0x1733b1[_0x23f6('0xc')](_0x12b494=>!('elementEnd'==_0x12b494[_0x23f6('0x1')]&&_0x12b494['item']==_0x5a8c69));}else{if(this[_0x23f6('0x15')][_0x23f6('0x2b')](_0x5a8c69,'$text')||_0x5a8c69['is']('element',_0x23f6('0x8'))){const _0x4c3604=_0x5a8c69;if(_0x23f6('0x16')==_0x29161f&&_0x23f6('0x5')==_0xcce29c[_0x23f6('0x1')]||'remove'==_0x29161f&&_0x23f6('0x33')==_0xcce29c[_0x23f6('0x1')])continue;if(_0x15f54e&&-0x1==_0x15f54e[_0x23f6('0x1')][_0x23f6('0x7')](_0x23f6('0x39'))){_0x23f6('0x9')==_0x15f54e[_0x23f6('0x1')]&&(_0x15f54e[_0x29161f]+='\x0a');continue;}let _0x46b08e;if(_0x46b08e='add'==_0x29161f?_0x4c3604[_0x23f6('0x17')]&&!this[_0x23f6('0x15')][_0x23f6('0x32')](_0x4c3604[_0x23f6('0x17')])?_0x4c3604[_0x23f6('0x17')]:null:_0x4c3604[_0x23f6('0x1d')]&&!this[_0x23f6('0x15')][_0x23f6('0x32')](_0x4c3604[_0x23f6('0x1d')])?_0x4c3604[_0x23f6('0x1d')]:null,_0x4c3604[_0x23f6('0x2a')]||_0x46b08e&&_0x46b08e[_0x23f6('0x2a')]){const _0x24df4a=_0x46b08e&&_0x46b08e[_0x23f6('0x2a')]?_0x46b08e:_0x4c3604;_0x15f54e&&_0x15f54e[_0x23f6('0x1')]==_0x29161f+_0x23f6('0x2f')&&_0x15f54e[_0x23f6('0x2e')][_0x23f6('0x0')]==_0x24df4a[_0x23f6('0x0')]?_0x15f54e[_0x23f6('0x23')]++:_0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x2f'),'element':_0x24df4a,'quantity':0x1});}else _0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x39'),'element':_0x4c3604});}}}}}[_0x23f6('0x3')](_0x1559bc){const _0x4f69be=this[_0x23f6('0x12')],_0xc3df39=[];for(const _0x10c9ef of _0x1559bc){switch(_0x10c9ef[_0x23f6('0x1')]){case'text':if(_0x10c9ef[_0x23f6('0x16')]=_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x1e')](/(\S)\u000A+(\S)/g,_0x23f6('0x37'))[_0x23f6('0x1e')](/\u000A/g,''),_0x10c9ef[_0x23f6('0x2')]=_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x1e')](/(\S)\u000A+(\S)/g,_0x23f6('0x37'))[_0x23f6('0x1e')](/\u000A/g,''),''!=_0x10c9ef[_0x23f6('0x16')]&&''!=_0x10c9ef[_0x23f6('0x2')]){_0xc3df39['push']({'type':_0x23f6('0x1e'),'content':_0x53881e(_0x4f69be,_0x23f6('0x35'),['\x22'+_0x10c9ef[_0x23f6('0x2')]+'\x22','\x22'+_0x10c9ef[_0x23f6('0x16')]+'\x22'])});continue;}if(null!=_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x18')](/^ +$/)){_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x21'),_0x53881e(_0x4f69be,'ELEMENT_SPACE',_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x34')]))});continue;}if(null!=_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x18')](/^ +$/)){_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,_0x23f6('0x1f'),_0x53881e(_0x4f69be,_0x23f6('0x1b'),_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x34')]))});continue;}if(''!=_0x10c9ef['add']){_0xc3df39[_0x23f6('0xb')]({'type':'insertion','content':_0x53881e(_0x4f69be,'*Insert:*\x20%0','\x22'+_0x10c9ef[_0x23f6('0x16')]+'\x22')});continue;}_0xc3df39['push']({'type':'deletion','content':_0x53881e(_0x4f69be,_0x23f6('0x1f'),'\x22'+_0x10c9ef[_0x23f6('0x2')]+'\x22')});continue;case _0x23f6('0x10'):case _0x23f6('0x1a'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x21'),this[_0x23f6('0xa')](_0x10c9ef['element'],_0x10c9ef['quantity']))});continue;case _0x23f6('0x14'):case _0x23f6('0x29'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,'*Remove:*\x20%0',this['getItemLabel'](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef['quantity']))});continue;case _0x23f6('0x24'):_0xc3df39['push']({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x28'),this['getItemLabel'](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef['quantity']))});continue;case _0x23f6('0x27'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,_0x23f6('0x25'),this[_0x23f6('0xa')](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef[_0x23f6('0x23')]))});continue;}_0xc3df39['push'](_0x10c9ef);}return _0xc3df39;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d05=['editor','TrackChanges','adapter','addSuggestion','getSuggestion','get','requires','plugins','getSuggestions','addSuggestionData'];(function(_0x174c21,_0x5d054f){var _0x36763a=function(_0x4f8b76){while(--_0x4f8b76){_0x174c21['push'](_0x174c21['shift']());}};_0x36763a(++_0x5d054f);}(_0x5d05,0xc5));var _0x3676=function(_0x174c21,_0x5d054f){_0x174c21=_0x174c21-0x0;var _0x36763a=_0x5d05[_0x174c21];return _0x36763a;};import{Plugin as _0x5e7348}from'ckeditor5/src/core';import _0x10957c from'./trackchangesui';import _0x889be4 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x5e7348{static get[_0x3676('0x9')](){return[_0x889be4,_0x10957c,'Comments'];}static get['pluginName'](){return _0x3676('0x4');}set[_0x3676('0x5')](_0x46b556){this[_0x3676('0x3')][_0x3676('0x0')]['get'](_0x889be4)['adapter']=_0x46b556;}get[_0x3676('0x5')](){return this[_0x3676('0x3')][_0x3676('0x0')][_0x3676('0x8')](_0x889be4)[_0x3676('0x5')];}[_0x3676('0x6')](_0x1de728){return this[_0x3676('0x3')]['plugins'][_0x3676('0x8')](_0x889be4)[_0x3676('0x2')](_0x1de728);}[_0x3676('0x1')]({skipNotAttached:_0x9d4405=!0x1,toJSON:_0x510f42=!0x1}={}){return this['editor'][_0x3676('0x0')][_0x3676('0x8')](_0x889be4)[_0x3676('0x1')]({'skipNotAttached':_0x9d4405,'toJSON':_0x510f42});}['getSuggestion'](_0x1e529c){return this[_0x3676('0x3')][_0x3676('0x0')][_0x3676('0x8')](_0x889be4)[_0x3676('0x7')](_0x1e529c);}}
23
+ var _0x41e4=['getSuggestions','plugins','Comments','addSuggestion','TrackChanges','getSuggestion','editor','get','adapter','requires'];(function(_0x29bbca,_0x41e41d){var _0x4a0df0=function(_0x43256f){while(--_0x43256f){_0x29bbca['push'](_0x29bbca['shift']());}};_0x4a0df0(++_0x41e41d);}(_0x41e4,0x6e));var _0x4a0d=function(_0x29bbca,_0x41e41d){_0x29bbca=_0x29bbca-0x0;var _0x4a0df0=_0x41e4[_0x29bbca];return _0x4a0df0;};import{Plugin as _0x46c281}from'ckeditor5/src/core';import _0x42e71f from'./trackchangesui';import _0xdd44d6 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x46c281{static get[_0x4a0d('0x9')](){return[_0xdd44d6,_0x42e71f,_0x4a0d('0x2')];}static get['pluginName'](){return _0x4a0d('0x4');}set['adapter'](_0x2cb44e){this['editor'][_0x4a0d('0x1')][_0x4a0d('0x7')](_0xdd44d6)[_0x4a0d('0x8')]=_0x2cb44e;}get[_0x4a0d('0x8')](){return this['editor'][_0x4a0d('0x1')]['get'](_0xdd44d6)['adapter'];}[_0x4a0d('0x3')](_0x1fa48b){return this[_0x4a0d('0x6')][_0x4a0d('0x1')][_0x4a0d('0x7')](_0xdd44d6)['addSuggestionData'](_0x1fa48b);}[_0x4a0d('0x0')]({skipNotAttached:_0x1b6fa7=!0x1,toJSON:_0x5d03bd=!0x1}={}){return this[_0x4a0d('0x6')][_0x4a0d('0x1')]['get'](_0xdd44d6)['getSuggestions']({'skipNotAttached':_0x1b6fa7,'toJSON':_0x5d03bd});}[_0x4a0d('0x5')](_0xddc2b3){return this[_0x4a0d('0x6')]['plugins'][_0x4a0d('0x7')](_0xdd44d6)['getSuggestion'](_0xddc2b3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3451=['editorCreator','model','track-changes-data-invalid-editor-creator','name','TrackChangesDataGetter','define','end','addUser','reduce','addSuggestionData','CommentsRepository','_adapter','pluginName','push','create','acceptAllSuggestions','result','createElement','discardAllSuggestions','getRootNames','plugins','getSuggestions','get','useAnonymousUser','getUser','config','trackChangesData.editorCreator','Pagination','div','constructor','init','getRootsAttributes','getDataWithDiscardedSuggestions','trackChangesData','data','rootsAttributes','Users','TrackChangesEditing','set','execute','editor','requires','getDataWithAcceptedSuggestions','getFullData','users'];(function(_0x8b7362,_0x3451f6){const _0x1c2c4e=function(_0x3eeb9e){while(--_0x3eeb9e){_0x8b7362['push'](_0x8b7362['shift']());}};_0x1c2c4e(++_0x3451f6);}(_0x3451,0x88));const _0x1c2c=function(_0x8b7362,_0x3451f6){_0x8b7362=_0x8b7362-0x0;let _0x1c2c4e=_0x3451[_0x8b7362];return _0x1c2c4e;};import{Plugin as _0x1ab105}from'ckeditor5/src/core';import{CKEditorError as _0x502228}from'ckeditor5/src/utils';import _0x399c9f from'./trackchangesediting';import{sanitizeEditorConfig as _0x1d4537}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x1c2c('0x1a')];export default class T extends _0x1ab105{static get[_0x1c2c('0x28')](){return[_0x399c9f];}static get[_0x1c2c('0xb')](){return'TrackChangesData';}['init'](){const _0x5cfd10=this[_0x1c2c('0x27')];if(_0x5cfd10[_0x1c2c('0x18')][_0x1c2c('0x4')](_0x1c2c('0x19'),_0xf5b884=>{const _0x4908d0=_0x5cfd10[_0x1c2c('0x0')]['document'][_0x1c2c('0x12')]()[_0x1c2c('0x7')]((_0x5610df,_0x171e8a)=>(_0x5610df[_0x171e8a]='',_0x5610df),{});return _0x5cfd10[_0x1c2c('0x1c')][_0x1c2c('0xd')](_0x4908d0,_0xf5b884);}),'function'!=typeof _0x5cfd10[_0x1c2c('0x18')]['get'](_0x1c2c('0x20'))[_0x1c2c('0x2c')])throw new _0x502228(_0x1c2c('0x1'));}[_0x1c2c('0x29')](_0x49252c){return v(this[_0x1c2c('0x27')],!0x0,_0x49252c);}[_0x1c2c('0x1f')](_0x2c9324){return v(this[_0x1c2c('0x27')],!0x1,_0x2c9324);}}class P extends _0x1ab105{static get[_0x1c2c('0xb')](){return _0x1c2c('0x3');}constructor(_0x3469cf){super(_0x3469cf),this[_0x1c2c('0xf')]=_0x1c2c('0x5');}[_0x1c2c('0x1d')](){this[_0x1c2c('0x27')][_0x1c2c('0x13')][_0x1c2c('0x15')](_0x1c2c('0x9'))[_0x1c2c('0xa')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x1c2c('0x27')]['plugins'][_0x1c2c('0x15')]('TrackChangesEditing')['_adapter']=null;}}function D(_0x201f40){return void 0x0!==_0x201f40[_0x1c2c('0x1e')];}async function v(_0x55d1f0,_0x32f0ba,_0x592764){const _0x5e2ed8=_0x1d4537(_0x55d1f0,w);_0x5e2ed8[_0x1c2c('0x13')][_0x1c2c('0xc')](_0x399c9f,P),_0x5e2ed8[_0x1c2c('0x22')]=D(_0x55d1f0)?_0x55d1f0[_0x1c2c('0x1e')]():void 0x0;const _0x7677bc=document['createDocumentFragment'](),_0x3d78ad=_0x55d1f0[_0x1c2c('0x18')][_0x1c2c('0x15')]('trackChangesData')['editorCreator'],_0x1db1d2=await _0x3d78ad(_0x5e2ed8,()=>function(_0x27721a){const _0x3dc1cc=document[_0x1c2c('0x10')](_0x1c2c('0x1b'));return _0x27721a['appendChild'](_0x3dc1cc),_0x3dc1cc;}(_0x7677bc));!function(_0x445c8e,_0x47e4cd){const _0xceb00b=_0x445c8e[_0x1c2c('0x0')]['document'][_0x1c2c('0x12')]()[_0x1c2c('0x7')]((_0x77e689,_0x4173e6)=>(_0x77e689[_0x4173e6]=_0x445c8e[_0x1c2c('0x21')][_0x1c2c('0x15')]({'rootName':_0x4173e6}),_0x77e689),{}),_0xba562e=_0x445c8e['plugins'][_0x1c2c('0x15')](_0x1c2c('0x23'))[_0x1c2c('0x2b')]['map'](_0x3c2fdd=>({'id':_0x3c2fdd['id'],'name':_0x3c2fdd[_0x1c2c('0x2')]})),_0x2feb74=_0x445c8e['plugins'][_0x1c2c('0x15')](_0x1c2c('0x24'))[_0x1c2c('0x14')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1ff9c9=_0x47e4cd['plugins'][_0x1c2c('0x15')](_0x1c2c('0x23')),_0x2fb422=_0x47e4cd[_0x1c2c('0x13')][_0x1c2c('0x15')](_0x1c2c('0x24'));for(const _0x29fc51 of _0xba562e)_0x1ff9c9[_0x1c2c('0x17')](_0x29fc51['id'])||_0x1ff9c9[_0x1c2c('0x6')](_0x29fc51);_0x1ff9c9['me']||_0x1ff9c9[_0x1c2c('0x16')]();for(const _0x39c044 of _0x2feb74)_0x2fb422[_0x1c2c('0x8')](_0x39c044);_0x47e4cd['data'][_0x1c2c('0x25')](_0xceb00b);}(_0x55d1f0,_0x1db1d2),_0x1db1d2[_0x1c2c('0x26')](_0x32f0ba?_0x1c2c('0xe'):_0x1c2c('0x11'));const _0x2b3c44=D(_0x1db1d2)?_0x1db1d2[_0x1c2c('0x2a')](_0x592764):_0x1db1d2[_0x1c2c('0x21')][_0x1c2c('0x15')](_0x592764);return await _0x1db1d2['destroy'](),_0x2b3c44;}
23
+ const _0x374f=['name','addSuggestionData','editor','destroy','model','function','div','getRootsAttributes','editorCreator','result','users','appendChild','rootsAttributes','end','push','config','map','plugins','TrackChangesData','trackChangesData.editorCreator','reduce','TrackChangesEditing','define','get','addUser','useAnonymousUser','getFullData','discardAllSuggestions','execute','pluginName','CommentsRepository','createDocumentFragment','TrackChangesDataGetter','getSuggestions','data','document','init','set','Users','track-changes-data-invalid-editor-creator','getDataWithAcceptedSuggestions','getRootNames'];(function(_0x5914e9,_0x374fd5){const _0x192fe7=function(_0x101706){while(--_0x101706){_0x5914e9['push'](_0x5914e9['shift']());}};_0x192fe7(++_0x374fd5);}(_0x374f,0x1da));const _0x192f=function(_0x5914e9,_0x374fd5){_0x5914e9=_0x5914e9-0x0;let _0x192fe7=_0x374f[_0x5914e9];return _0x192fe7;};import{Plugin as _0x19f981}from'ckeditor5/src/core';import{CKEditorError as _0xdc1268}from'ckeditor5/src/utils';import _0x5f0345 from'./trackchangesediting';import{sanitizeEditorConfig as _0x102a5d}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x19f981{static get['requires'](){return[_0x5f0345];}static get[_0x192f('0x11')](){return _0x192f('0x6');}[_0x192f('0x18')](){const _0x290830=this[_0x192f('0x20')];if(_0x290830[_0x192f('0x3')][_0x192f('0xa')](_0x192f('0x7'),_0x3bcedd=>{const _0x400cc0=_0x290830[_0x192f('0x22')][_0x192f('0x17')][_0x192f('0x1d')]()[_0x192f('0x8')]((_0x569caa,_0x5cdda6)=>(_0x569caa[_0x5cdda6]='',_0x569caa),{});return _0x290830['constructor']['create'](_0x400cc0,_0x3bcedd);}),_0x192f('0x23')!=typeof _0x290830[_0x192f('0x3')][_0x192f('0xb')]('trackChangesData')[_0x192f('0x26')])throw new _0xdc1268(_0x192f('0x1b'));}[_0x192f('0x1c')](_0x584c6b){return v(this['editor'],!0x0,_0x584c6b);}['getDataWithDiscardedSuggestions'](_0x55f48c){return v(this[_0x192f('0x20')],!0x1,_0x55f48c);}}class P extends _0x19f981{static get[_0x192f('0x11')](){return _0x192f('0x14');}constructor(_0x43cb3c){super(_0x43cb3c),this[_0x192f('0x27')]=_0x192f('0x1');}['init'](){this['editor']['plugins'][_0x192f('0xb')](_0x192f('0x12'))['_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[_0x192f('0x20')][_0x192f('0x5')][_0x192f('0xb')](_0x192f('0x9'))['_adapter']=null;}}function D(_0x5716eb){return void 0x0!==_0x5716eb[_0x192f('0x25')];}async function v(_0x5891bf,_0x165f06,_0x1827bf){const _0x4a2beb=_0x102a5d(_0x5891bf,w);_0x4a2beb[_0x192f('0x5')][_0x192f('0x2')](_0x5f0345,P),_0x4a2beb[_0x192f('0x0')]=D(_0x5891bf)?_0x5891bf['getRootsAttributes']():void 0x0;const _0x58d68a=document[_0x192f('0x13')](),_0x4c2e77=_0x5891bf['config'][_0x192f('0xb')]('trackChangesData')[_0x192f('0x26')],_0x4d51c6=await _0x4c2e77(_0x4a2beb,()=>function(_0x3ede73){const _0x5bba0f=document['createElement'](_0x192f('0x24'));return _0x3ede73[_0x192f('0x29')](_0x5bba0f),_0x5bba0f;}(_0x58d68a));!function(_0x2e5ecb,_0x3a412b){const _0x14bbfd=_0x2e5ecb[_0x192f('0x22')][_0x192f('0x17')]['getRootNames']()[_0x192f('0x8')]((_0x55177e,_0x2f73a9)=>(_0x55177e[_0x2f73a9]=_0x2e5ecb[_0x192f('0x16')][_0x192f('0xb')]({'rootName':_0x2f73a9}),_0x55177e),{}),_0xc45294=_0x2e5ecb[_0x192f('0x5')][_0x192f('0xb')](_0x192f('0x1a'))[_0x192f('0x28')][_0x192f('0x4')](_0x1f1c9b=>({'id':_0x1f1c9b['id'],'name':_0x1f1c9b[_0x192f('0x1e')]})),_0x4f6ee0=_0x2e5ecb[_0x192f('0x5')][_0x192f('0xb')]('TrackChangesEditing')[_0x192f('0x15')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x340b5b=_0x3a412b['plugins']['get'](_0x192f('0x1a')),_0x28cc5b=_0x3a412b[_0x192f('0x5')]['get'](_0x192f('0x9'));for(const _0x5c5eb0 of _0xc45294)_0x340b5b['getUser'](_0x5c5eb0['id'])||_0x340b5b[_0x192f('0xc')](_0x5c5eb0);_0x340b5b['me']||_0x340b5b[_0x192f('0xd')]();for(const _0x2a3d81 of _0x4f6ee0)_0x28cc5b[_0x192f('0x1f')](_0x2a3d81);_0x3a412b['data'][_0x192f('0x19')](_0x14bbfd);}(_0x5891bf,_0x4d51c6),_0x4d51c6[_0x192f('0x10')](_0x165f06?'acceptAllSuggestions':_0x192f('0xf'));const _0x28b607=D(_0x4d51c6)?_0x4d51c6[_0x192f('0xe')](_0x1827bf):_0x4d51c6['data'][_0x192f('0xb')](_0x1827bf);return await _0x4d51c6[_0x192f('0x21')](),_0x28b607;}