@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230720.0 → 0.0.0-nightly-20230722.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 _0x3ca1=['onDiscard','getMarkerNames','toJSON','data','_markerNames','commentThread','markers','attributes','_model','delete','getRanges','setAttribute','removeMarkers','removeMarker','reduce','hasComments','accept','onAccept','get','authoredAt','isInContent','subType','getRange','@external','_onAttributesChange','getItems','addMarkerName','isExternal','split','add','substr','map','getContainedElement','onAttributesChange','getFirstMarker','previous','isIntersecting','createdAt','getMarkers','creator','next','head','filter','start','_onDiscard','length','author','addRange','size','decorate','getMultiRangeId','end','change','suggestion:','addMarker','type','discard','_saved','removeAttribute','getAllAdjacentSuggestions','set','from','nodeBefore'];(function(_0x159333,_0x3ca1d4){const _0xbb075e=function(_0x468f4b){while(--_0x468f4b){_0x159333['push'](_0x159333['shift']());}};_0xbb075e(++_0x3ca1d4);}(_0x3ca1,0xbe));const _0xbb07=function(_0x159333,_0x3ca1d4){_0x159333=_0x159333-0x0;let _0xbb075e=_0x3ca1[_0x159333];return _0xbb075e;};import{Element as _0x28a299}from'ckeditor5/src/engine';import{ObservableMixin as _0x12f6e3,uid as _0x3b5108}from'ckeditor5/src/utils';import{cloneDeep as _0x98cc77,isEqual as _0x2a6d46,set as _0x25b8d4,unset as _0x2e321e}from'lodash-es';export default class u extends _0x12f6e3(){constructor(_0x359a43,_0x53c152){super(),this['id']=_0x53c152['id'],this[_0xbb07('0x36')]=_0x53c152['type'],this[_0xbb07('0x14')]=_0x53c152[_0xbb07('0x14')]||null,this[_0xbb07('0x2d')]=_0x53c152[_0xbb07('0x2d')],this[_0xbb07('0x26')]=_0x53c152[_0xbb07('0x26')]||_0x53c152[_0xbb07('0x2d')],this[_0xbb07('0x1a')]=Boolean(_0x53c152[_0xbb07('0x6')]&&_0x53c152[_0xbb07('0x6')][_0xbb07('0x16')]),this[_0xbb07('0x2')]=null,this[_0xbb07('0x7')]=_0x359a43,this['_onAccept']=_0x53c152[_0xbb07('0x10')],this[_0xbb07('0x2b')]=_0x53c152[_0xbb07('0x3e')],this['_onAttributesChange']=_0x53c152[_0xbb07('0x20')],this['_markerNames']=new Set(),this['createdAt']=null,this[_0xbb07('0x3b')](_0xbb07('0x12'),null),this[_0xbb07('0x3b')](_0xbb07('0x6'),_0x53c152[_0xbb07('0x6')]||{}),this[_0xbb07('0x3b')](_0xbb07('0x22'),null),this['set']('next',null),this[_0xbb07('0x3b')](_0xbb07('0x4'),null),this[_0xbb07('0x3b')](_0xbb07('0x38'),!0x1),this[_0xbb07('0x30')]('accept'),this[_0xbb07('0x30')]('discard');}get[_0xbb07('0x28')](){let _0x4a896e=this;for(;_0x4a896e['previous'];)_0x4a896e=_0x4a896e[_0xbb07('0x22')];return _0x4a896e;}get[_0xbb07('0xe')](){return!!this[_0xbb07('0x4')]&&this[_0xbb07('0x4')][_0xbb07('0x2c')]>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0xbb07('0x2f')])return!0x1;return 0x6==Array[_0xbb07('0x3c')](this[_0xbb07('0x3')])[0x0][_0xbb07('0x1b')](':')[_0xbb07('0x2c')];}get[_0xbb07('0x13')](){return null!==this[_0xbb07('0x21')]();}['addMarkerName'](_0x294e3c){this[_0xbb07('0x3')][_0xbb07('0x1c')](_0x294e3c);}['getMarkerNames'](){return Array[_0xbb07('0x3c')](this['_markerNames']);}['getMarkers'](){return this[_0xbb07('0x0')]()['map'](_0x10fa90=>this['_model'][_0xbb07('0x5')][_0xbb07('0x11')](_0x10fa90))[_0xbb07('0x29')](_0xf38c27=>_0xf38c27);}[_0xbb07('0x21')](){return this[_0xbb07('0x25')]()[0x0]||null;}[_0xbb07('0xb')](){this[_0xbb07('0x7')][_0xbb07('0x33')](_0x4cda79=>{for(const _0x16ead1 of this[_0xbb07('0x25')]())_0x4cda79['removeMarker'](_0x16ead1);}),this['_markerNames']['clear']();}[_0xbb07('0xc')](_0x663fd6){this[_0xbb07('0x7')][_0xbb07('0x33')](_0x13b8c5=>{_0x13b8c5['removeMarker'](_0x663fd6);}),this['_markerNames'][_0xbb07('0x8')](_0x663fd6);}[_0xbb07('0x2e')](_0x528710){const _0x5e7c3e=_0xbb07('0x34')+this[_0xbb07('0x36')]+':'+this[_0xbb07('0x14')]+':'+this['id']+':'+this[_0xbb07('0x26')]['id']+':'+u['getMultiRangeId']();this[_0xbb07('0x19')](_0x5e7c3e),this['_model'][_0xbb07('0x33')](_0x59ce7=>{_0x59ce7[_0xbb07('0x35')](_0x5e7c3e,{'range':_0x528710,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3225f0){for(const _0x42fc10 of this[_0xbb07('0x9')]())if(_0x42fc10[_0xbb07('0x23')](_0x3225f0))return!0x0;return!0x1;}[_0xbb07('0x9')](){return this[_0xbb07('0x25')]()[_0xbb07('0x1e')](_0x16c926=>_0x16c926[_0xbb07('0x15')]());}[_0xbb07('0x18')](){return this[_0xbb07('0x9')]()[_0xbb07('0xd')]((_0x4f7309,_0x3cfb37)=>[..._0x4f7309,..._0x3cfb37[_0xbb07('0x18')]()],[]);}['getFirstRange'](){var _0x24df38;return(null===(_0x24df38=this[_0xbb07('0x21')]())||void 0x0===_0x24df38?void 0x0:_0x24df38[_0xbb07('0x15')]())||null;}[_0xbb07('0x1f')](){const _0x4f1eef=this[_0xbb07('0x9')]();if(0x1!=_0x4f1eef['length'])return null;const _0x2b125f=_0x4f1eef[0x0],_0x825ae8=_0x2b125f[_0xbb07('0x2a')]['nodeAfter'],_0x243299=_0x2b125f[_0xbb07('0x32')][_0xbb07('0x3d')];return _0x825ae8 instanceof _0x28a299?_0x825ae8!=_0x243299?null:_0x825ae8:null;}[_0xbb07('0xf')](){this['_onAccept'](this[_0xbb07('0x9')](),this[_0xbb07('0x2')],this['attributes']),this[_0xbb07('0xb')]();}[_0xbb07('0x37')](){this[_0xbb07('0x2b')](this[_0xbb07('0x9')](),this[_0xbb07('0x2')],this[_0xbb07('0x6')]),this[_0xbb07('0xb')]();}[_0xbb07('0x3a')](){const _0x43919d=[];let _0x2fff01=this['head'];for(;_0x2fff01;)_0x43919d['push'](_0x2fff01),_0x2fff01=_0x2fff01[_0xbb07('0x27')];return _0x43919d;}[_0xbb07('0xa')](_0x5b710d,_0x412759){const _0x4a1a2c=_0x98cc77(this[_0xbb07('0x6')]);_0x25b8d4(_0x4a1a2c,_0x5b710d,_0x412759),_0x2a6d46(_0x4a1a2c,this[_0xbb07('0x6')])||(this[_0xbb07('0x6')]=_0x4a1a2c,this['_onAttributesChange'](_0x4a1a2c));}[_0xbb07('0x39')](_0x3ec221){const _0x10eacf=_0x98cc77(this[_0xbb07('0x6')]);_0x2e321e(_0x10eacf,_0x3ec221),_0x2a6d46(_0x10eacf,this[_0xbb07('0x6')])||(this[_0xbb07('0x6')]=_0x10eacf,this[_0xbb07('0x17')](this['attributes']));}[_0xbb07('0x1')](){return{'id':this['id'],'type':this['subType']?this[_0xbb07('0x36')]+':'+this[_0xbb07('0x14')]:this[_0xbb07('0x36')],'authorId':this[_0xbb07('0x26')]['id'],'createdAt':this[_0xbb07('0x24')],'hasComments':this[_0xbb07('0xe')],'data':this['data'],'attributes':this[_0xbb07('0x6')]};}static[_0xbb07('0x31')](){return _0x3b5108()[_0xbb07('0x1d')](0x1,0x5);}}
23
+ const _0x200c=['isInContent','from','end','split','author','substr','clear','onAccept','set','start','size','suggestion:','_onAttributesChange','reduce','_onDiscard','commentThread','createdAt','accept','decorate','next','getMarkerNames','discard','getMarkers','creator','isExternal','@external','getRanges','_onAccept','delete','attributes','_saved','onAttributesChange','length','change','_markerNames','filter','type','push','onDiscard','toJSON','setAttribute','addRange','removeMarker','getMultiRangeId','removeMarkers','head','getFirstRange','data','getFirstMarker','addMarkerName','_model','previous','subType','addMarker','hasComments','getRange','map'];(function(_0x3484fb,_0x200c4d){const _0x59f11c=function(_0x31dd2e){while(--_0x31dd2e){_0x3484fb['push'](_0x3484fb['shift']());}};_0x59f11c(++_0x200c4d);}(_0x200c,0x140));const _0x59f1=function(_0x3484fb,_0x200c4d){_0x3484fb=_0x3484fb-0x0;let _0x59f11c=_0x200c[_0x3484fb];return _0x59f11c;};import{Element as _0x218365}from'ckeditor5/src/engine';import{ObservableMixin as _0x528874,uid as _0x23d720}from'ckeditor5/src/utils';import{cloneDeep as _0x1f8aca,isEqual as _0x4954f7,set as _0x91b29e,unset as _0x54591d}from'lodash-es';export default class u extends _0x528874(){constructor(_0x368e02,_0x428feb){super(),this['id']=_0x428feb['id'],this['type']=_0x428feb[_0x59f1('0x1')],this[_0x59f1('0x11')]=_0x428feb[_0x59f1('0x11')]||null,this['author']=_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2d')]=_0x428feb[_0x59f1('0x2d')]||_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2e')]=Boolean(_0x428feb[_0x59f1('0x33')]&&_0x428feb[_0x59f1('0x33')][_0x59f1('0x2f')]),this[_0x59f1('0xc')]=null,this[_0x59f1('0xf')]=_0x368e02,this[_0x59f1('0x31')]=_0x428feb[_0x59f1('0x1d')],this[_0x59f1('0x24')]=_0x428feb[_0x59f1('0x3')],this[_0x59f1('0x22')]=_0x428feb[_0x59f1('0x35')],this[_0x59f1('0x38')]=new Set(),this[_0x59f1('0x26')]=null,this['set']('authoredAt',null),this[_0x59f1('0x1e')](_0x59f1('0x33'),_0x428feb[_0x59f1('0x33')]||{}),this[_0x59f1('0x1e')](_0x59f1('0x10'),null),this[_0x59f1('0x1e')](_0x59f1('0x29'),null),this[_0x59f1('0x1e')](_0x59f1('0x25'),null),this[_0x59f1('0x1e')](_0x59f1('0x34'),!0x1),this['decorate'](_0x59f1('0x27')),this[_0x59f1('0x28')](_0x59f1('0x2b'));}get[_0x59f1('0xa')](){let _0x5c727c=this;for(;_0x5c727c[_0x59f1('0x10')];)_0x5c727c=_0x5c727c['previous'];return _0x5c727c;}get[_0x59f1('0x13')](){return!!this[_0x59f1('0x25')]&&this[_0x59f1('0x25')]['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0x59f1('0x20')])return!0x1;return 0x6==Array[_0x59f1('0x17')](this[_0x59f1('0x38')])[0x0][_0x59f1('0x19')](':')[_0x59f1('0x36')];}get[_0x59f1('0x16')](){return null!==this['getFirstMarker']();}[_0x59f1('0xe')](_0x2ecb67){this[_0x59f1('0x38')]['add'](_0x2ecb67);}[_0x59f1('0x2a')](){return Array[_0x59f1('0x17')](this[_0x59f1('0x38')]);}[_0x59f1('0x2c')](){return this[_0x59f1('0x2a')]()[_0x59f1('0x15')](_0x19b91f=>this[_0x59f1('0xf')]['markers']['get'](_0x19b91f))[_0x59f1('0x0')](_0x3a5884=>_0x3a5884);}['getFirstMarker'](){return this[_0x59f1('0x2c')]()[0x0]||null;}['removeMarkers'](){this[_0x59f1('0xf')]['change'](_0x2be8e0=>{for(const _0x13dba9 of this[_0x59f1('0x2c')]())_0x2be8e0[_0x59f1('0x7')](_0x13dba9);}),this[_0x59f1('0x38')][_0x59f1('0x1c')]();}[_0x59f1('0x7')](_0x45b0ac){this[_0x59f1('0xf')][_0x59f1('0x37')](_0x2f5967=>{_0x2f5967[_0x59f1('0x7')](_0x45b0ac);}),this[_0x59f1('0x38')][_0x59f1('0x32')](_0x45b0ac);}[_0x59f1('0x6')](_0x29eaf6){const _0x5e8056=_0x59f1('0x21')+this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x59f1('0xe')](_0x5e8056),this[_0x59f1('0xf')][_0x59f1('0x37')](_0x9e6a4a=>{_0x9e6a4a[_0x59f1('0x12')](_0x5e8056,{'range':_0x29eaf6,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3a703e){for(const _0x48e578 of this['getRanges']())if(_0x48e578['isIntersecting'](_0x3a703e))return!0x0;return!0x1;}[_0x59f1('0x30')](){return this[_0x59f1('0x2c')]()[_0x59f1('0x15')](_0x5d36b7=>_0x5d36b7['getRange']());}['getItems'](){return this[_0x59f1('0x30')]()[_0x59f1('0x23')]((_0x41b453,_0x2a462a)=>[..._0x41b453,..._0x2a462a['getItems']()],[]);}[_0x59f1('0xb')](){var _0x3266e8;return(null===(_0x3266e8=this[_0x59f1('0xd')]())||void 0x0===_0x3266e8?void 0x0:_0x3266e8[_0x59f1('0x14')]())||null;}['getContainedElement'](){const _0x5ce0d8=this[_0x59f1('0x30')]();if(0x1!=_0x5ce0d8['length'])return null;const _0x798e60=_0x5ce0d8[0x0],_0x2e3fee=_0x798e60[_0x59f1('0x1f')]['nodeAfter'],_0x5c9ec8=_0x798e60[_0x59f1('0x18')]['nodeBefore'];return _0x2e3fee instanceof _0x218365?_0x2e3fee!=_0x5c9ec8?null:_0x2e3fee:null;}[_0x59f1('0x27')](){this[_0x59f1('0x31')](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}[_0x59f1('0x2b')](){this['_onDiscard'](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}['getAllAdjacentSuggestions'](){const _0x42b074=[];let _0x3326e8=this[_0x59f1('0xa')];for(;_0x3326e8;)_0x42b074[_0x59f1('0x2')](_0x3326e8),_0x3326e8=_0x3326e8['next'];return _0x42b074;}[_0x59f1('0x5')](_0x4b5a88,_0x3ee6e4){const _0x3b3903=_0x1f8aca(this[_0x59f1('0x33')]);_0x91b29e(_0x3b3903,_0x4b5a88,_0x3ee6e4),_0x4954f7(_0x3b3903,this['attributes'])||(this[_0x59f1('0x33')]=_0x3b3903,this['_onAttributesChange'](_0x3b3903));}['removeAttribute'](_0x3a599f){const _0x28c796=_0x1f8aca(this[_0x59f1('0x33')]);_0x54591d(_0x28c796,_0x3a599f),_0x4954f7(_0x28c796,this['attributes'])||(this[_0x59f1('0x33')]=_0x28c796,this[_0x59f1('0x22')](this[_0x59f1('0x33')]));}[_0x59f1('0x4')](){return{'id':this['id'],'type':this[_0x59f1('0x11')]?this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]:this[_0x59f1('0x1')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x59f1('0x13')],'data':this['data'],'attributes':this[_0x59f1('0x33')]};}static[_0x59f1('0x8')](){return _0x23d720()[_0x59f1('0x1b')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4664=['insertion','_resolveDescriptionItems','REPLACE_TEXT','elementEnd','isEqual','add','*Remove:*\x20%0','_addDescriptionItems','Object','data','quantity','replace','normal','getFirstRange','pop','_itemLabelsCallbacks','indexOf','type','EmptyContainer','label','start','nextSibling','removeObject','item','ELEMENT_SPACE','end','getItemLabel','_itemLabels','*Insert:*\x20%0','_schema','text','set','element','length','addEmptyContainer','push','checkChild','*Split:*\x20%0','addContainer','match','name','remove','removeContainer','*Merge:*\x20%0','matchingCallback','Container','isObject','registerDescriptionCallback','removeEmptyContainer','registerElementLabel','isEmpty','_customCallbacks','deletion','getWalker','previousSibling','$text'];(function(_0x14bcfc,_0x466430){const _0xc4953a=function(_0x51c93f){while(--_0x51c93f){_0x14bcfc['push'](_0x14bcfc['shift']());}};_0xc4953a(++_0x466430);}(_0x4664,0xbb));const _0xc495=function(_0x14bcfc,_0x466430){_0x14bcfc=_0x14bcfc-0x0;let _0xc4953a=_0x4664[_0x14bcfc];return _0xc4953a;};import{getTranslation as _0x5585d5}from'./utils/common-translations';import{priorities as _0x53a1b8,insertToPriorityArray as _0x3a6dbb}from'ckeditor5/src/utils';export default class m{constructor(_0x2c23b1,_0x459c54){this[_0xc495('0x20')]=[],this[_0xc495('0x8')]=new Map(),this['_itemLabelsCallbacks']=[],this['_schema']=_0x2c23b1,this['_locale']=_0x459c54;}['getDescriptions'](_0x5e632e){const _0x4ba2e=[];for(let _0x1a493e=0x0;_0x1a493e<_0x5e632e[_0xc495('0xe')];_0x1a493e++){const _0x54d95c=_0x5e632e[_0x1a493e];if(!_0x54d95c['isInContent'])continue;let _0x361a42=!0x1;for(const _0xc2218b of this['_customCallbacks']){const _0xd877ad=_0xc2218b(_0x54d95c);if(_0xd877ad){_0xc495('0x36')in _0xd877ad&&_0x4ba2e[_0xc495('0x10')](_0xd877ad),_0x361a42=!0x0;break;}}if(!_0x361a42){this['_addDescriptionItems'](_0x4ba2e,_0x54d95c);const _0x272701=_0x5e632e[_0x1a493e+0x1];if(_0x272701&&!_0x54d95c[_0xc495('0x32')]()[_0xc495('0x6')][_0xc495('0x29')](_0x272701['getFirstRange']()[_0xc495('0x1')])){const _0x377308=_0x4ba2e[_0x4ba2e[_0xc495('0xe')]-0x1],_0x3490ba=_0xc495('0x25')==_0x54d95c[_0xc495('0x36')]?_0xc495('0x2a'):'remove';_0x377308&&'text'==_0x377308[_0xc495('0x36')]&&(_0x377308[_0x3490ba]+='\x0a');}}}return this[_0xc495('0x26')](_0x4ba2e);}[_0xc495('0x1c')](_0x318e0d){this['_customCallbacks'][_0xc495('0x10')](_0x318e0d);}[_0xc495('0x1e')](_0x1bc340,_0xb6fdc1,_0x24d73f=_0x53a1b8[_0xc495('0x31')]){'function'==typeof _0x1bc340?_0x3a6dbb(this[_0xc495('0x34')],{'matchingCallback':_0x1bc340,'label':_0xb6fdc1,'priority':_0x24d73f}):this[_0xc495('0x8')][_0xc495('0xc')](_0x1bc340,_0xb6fdc1);}[_0xc495('0x7')](_0x3fcdde,_0x41b226=0x1){let _0x40b952;for(const _0x12dd2f of this['_itemLabelsCallbacks'])if(_0x12dd2f[_0xc495('0x19')](_0x3fcdde)){_0x40b952=_0x12dd2f[_0xc495('0x0')];break;}return _0x40b952||(_0x40b952=this[_0xc495('0x8')]['get'](_0x3fcdde[_0xc495('0x15')])),_0x40b952?_0x40b952(_0x41b226):0x1!==_0x41b226?_0x41b226+'\x20'+_0x3fcdde['name']+'s':''+_0x3fcdde[_0xc495('0x15')];}[_0xc495('0x2c')](_0x5ec8fd,_0x2a4b6e){const _0x159409=_0x2a4b6e['getFirstRange']()[_0xc495('0x22')](),_0xe6fbe='insertion'==_0x2a4b6e[_0xc495('0x36')]?'add':_0xc495('0x16');for(const _0x381083 of _0x159409){const _0xd2d691=_0x381083['item'],_0x68f44d=_0x5ec8fd[_0x5ec8fd[_0xc495('0xe')]-0x1];if(_0xd2d691['is']('$textProxy'))_0x68f44d&&_0x68f44d['type'][_0xc495('0x35')](_0xc495('0x1a'))>-0x1&&_0x5ec8fd['pop'](),_0x68f44d&&_0xc495('0xb')==_0x68f44d[_0xc495('0x36')]?_0x68f44d[_0xe6fbe]+=_0xd2d691[_0xc495('0x2e')]:_0x5ec8fd[_0xc495('0x10')]({'type':_0xc495('0xb'),'add':_0xc495('0x2a')==_0xe6fbe?_0xd2d691[_0xc495('0x2e')]:'','remove':_0xc495('0x16')==_0xe6fbe?_0xd2d691['data']:''});else{if(this['_schema'][_0xc495('0x1b')](_0xd2d691)){const _0x2039dd=_0xd2d691;if(_0x68f44d&&_0x68f44d['type'][_0xc495('0x35')](_0xc495('0x1a'))>-0x1&&_0x5ec8fd[_0xc495('0x33')](),_0xc495('0x28')==_0x381083[_0xc495('0x36')])continue;_0x68f44d&&_0x68f44d[_0xc495('0x36')]==_0xe6fbe+'Object'&&_0x68f44d['element']['name']==_0x2039dd[_0xc495('0x15')]?_0x68f44d[_0xc495('0x2f')]++:_0x5ec8fd[_0xc495('0x10')]({'type':_0xe6fbe+_0xc495('0x2d'),'element':_0x2039dd,'quantity':0x1}),_0x159409['skip'](_0x14ef87=>!(_0xc495('0x28')==_0x14ef87['type']&&_0x14ef87[_0xc495('0x4')]==_0xd2d691));}else{if(this[_0xc495('0xa')][_0xc495('0x11')](_0xd2d691,_0xc495('0x24'))||_0xd2d691['is'](_0xc495('0xd'),'softBreak')){const _0x23d857=_0xd2d691;if('add'==_0xe6fbe&&'elementStart'==_0x381083[_0xc495('0x36')]||_0xc495('0x16')==_0xe6fbe&&_0xc495('0x28')==_0x381083['type'])continue;if(_0x68f44d&&-0x1==_0x68f44d['type']['indexOf']('Container')){_0xc495('0xb')==_0x68f44d[_0xc495('0x36')]&&(_0x68f44d[_0xe6fbe]+='\x0a');continue;}let _0x2c903a;if(_0x2c903a=_0xc495('0x2a')==_0xe6fbe?_0x23d857[_0xc495('0x2')]&&!this[_0xc495('0xa')][_0xc495('0x1b')](_0x23d857[_0xc495('0x2')])?_0x23d857['nextSibling']:null:_0x23d857[_0xc495('0x23')]&&!this[_0xc495('0xa')][_0xc495('0x1b')](_0x23d857[_0xc495('0x23')])?_0x23d857['previousSibling']:null,_0x23d857['isEmpty']||_0x2c903a&&_0x2c903a[_0xc495('0x1f')]){const _0x54e5d8=_0x2c903a&&_0x2c903a[_0xc495('0x1f')]?_0x2c903a:_0x23d857;_0x68f44d&&_0x68f44d[_0xc495('0x36')]==_0xe6fbe+_0xc495('0x37')&&_0x68f44d['element']['name']==_0x54e5d8[_0xc495('0x15')]?_0x68f44d[_0xc495('0x2f')]++:_0x5ec8fd['push']({'type':_0xe6fbe+_0xc495('0x37'),'element':_0x54e5d8,'quantity':0x1});}else _0x5ec8fd['push']({'type':_0xe6fbe+_0xc495('0x1a'),'element':_0x23d857});}}}}}[_0xc495('0x26')](_0x18a6b9){const _0x45ab5f=this['_locale'],_0x5baaba=[];for(const _0x276c01 of _0x18a6b9){switch(_0x276c01[_0xc495('0x36')]){case _0xc495('0xb'):if(_0x276c01['add']=_0x276c01[_0xc495('0x2a')][_0xc495('0x30')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0xc495('0x30')](/\u000A/g,''),_0x276c01[_0xc495('0x16')]=_0x276c01[_0xc495('0x16')][_0xc495('0x30')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0xc495('0x30')](/\u000A/g,''),''!=_0x276c01['add']&&''!=_0x276c01[_0xc495('0x16')]){_0x5baaba['push']({'type':_0xc495('0x30'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x27'),['\x22'+_0x276c01[_0xc495('0x16')]+'\x22','\x22'+_0x276c01[_0xc495('0x2a')]+'\x22'])});continue;}if(null!=_0x276c01['add'][_0xc495('0x14')](/^ +$/)){_0x5baaba[_0xc495('0x10')]({'type':'insertion','content':_0x5585d5(_0x45ab5f,'*Insert:*\x20%0',_0x5585d5(_0x45ab5f,_0xc495('0x5'),_0x276c01[_0xc495('0x2a')]['length']))});continue;}if(null!=_0x276c01[_0xc495('0x16')][_0xc495('0x14')](/^ +$/)){_0x5baaba['push']({'type':'deletion','content':_0x5585d5(_0x45ab5f,_0xc495('0x2b'),_0x5585d5(_0x45ab5f,_0xc495('0x5'),_0x276c01['remove']['length']))});continue;}if(''!=_0x276c01[_0xc495('0x2a')]){_0x5baaba[_0xc495('0x10')]({'type':_0xc495('0x25'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x9'),'\x22'+_0x276c01[_0xc495('0x2a')]+'\x22')});continue;}_0x5baaba[_0xc495('0x10')]({'type':'deletion','content':_0x5585d5(_0x45ab5f,_0xc495('0x2b'),'\x22'+_0x276c01[_0xc495('0x16')]+'\x22')});continue;case _0xc495('0xf'):case'addObject':_0x5baaba[_0xc495('0x10')]({'type':_0xc495('0x25'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x9'),this[_0xc495('0x7')](_0x276c01[_0xc495('0xd')],_0x276c01[_0xc495('0x2f')]))});continue;case _0xc495('0x1d'):case _0xc495('0x3'):_0x5baaba[_0xc495('0x10')]({'type':_0xc495('0x21'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x2b'),this[_0xc495('0x7')](_0x276c01[_0xc495('0xd')],_0x276c01[_0xc495('0x2f')]))});continue;case _0xc495('0x13'):_0x5baaba['push']({'type':_0xc495('0x25'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x12'),this['getItemLabel'](_0x276c01['element'],_0x276c01[_0xc495('0x2f')]))});continue;case _0xc495('0x17'):_0x5baaba[_0xc495('0x10')]({'type':_0xc495('0x21'),'content':_0x5585d5(_0x45ab5f,_0xc495('0x18'),this[_0xc495('0x7')](_0x276c01['element'],_0x276c01[_0xc495('0x2f')]))});continue;}_0x5baaba[_0xc495('0x10')](_0x276c01);}return _0x5baaba;}}
23
+ const _0x2774=['previousSibling','pop','item','removeContainer','removeObject','getWalker','_customCallbacks','ELEMENT_SPACE','removeEmptyContainer','*Split:*\x20%0','EmptyContainer','$textProxy','remove','_locale','addEmptyContainer','match','deletion','insertion','addObject','*Merge:*\x20%0','text','elementEnd','$1\x20$2','getFirstRange','get','set','Object','getDescriptions','type','add','matchingCallback','name','function','*Remove:*\x20%0','checkChild','quantity','_itemLabels','isObject','_addDescriptionItems','isEqual','Container','skip','data','_itemLabelsCallbacks','_resolveDescriptionItems','replace','$text','label','start','indexOf','nextSibling','push','REPLACE_TEXT','_schema','length','element','getItemLabel','elementStart','*Insert:*\x20%0','isEmpty','addContainer'];(function(_0x4bd53a,_0x277422){const _0x2652a8=function(_0x47fef2){while(--_0x47fef2){_0x4bd53a['push'](_0x4bd53a['shift']());}};_0x2652a8(++_0x277422);}(_0x2774,0x1a2));const _0x2652=function(_0x4bd53a,_0x277422){_0x4bd53a=_0x4bd53a-0x0;let _0x2652a8=_0x2774[_0x4bd53a];return _0x2652a8;};import{getTranslation as _0xbf4356}from'./utils/common-translations';import{priorities as _0x58b9ef,insertToPriorityArray as _0x2d78a7}from'ckeditor5/src/utils';export default class m{constructor(_0x4e7d0e,_0x1d05e1){this[_0x2652('0xf')]=[],this[_0x2652('0x2d')]=new Map(),this[_0x2652('0x34')]=[],this[_0x2652('0x1')]=_0x4e7d0e,this[_0x2652('0x16')]=_0x1d05e1;}[_0x2652('0x24')](_0x349331){const _0x18181a=[];for(let _0xd4c7d1=0x0;_0xd4c7d1<_0x349331[_0x2652('0x2')];_0xd4c7d1++){const _0x119730=_0x349331[_0xd4c7d1];if(!_0x119730['isInContent'])continue;let _0x57be0c=!0x1;for(const _0x5302d6 of this[_0x2652('0xf')]){const _0x56b17b=_0x5302d6(_0x119730);if(_0x56b17b){_0x2652('0x25')in _0x56b17b&&_0x18181a['push'](_0x56b17b),_0x57be0c=!0x0;break;}}if(!_0x57be0c){this[_0x2652('0x2f')](_0x18181a,_0x119730);const _0x2d4876=_0x349331[_0xd4c7d1+0x1];if(_0x2d4876&&!_0x119730[_0x2652('0x20')]()['end'][_0x2652('0x30')](_0x2d4876['getFirstRange']()[_0x2652('0x39')])){const _0x3ca0e0=_0x18181a[_0x18181a[_0x2652('0x2')]-0x1],_0x4ba374=_0x2652('0x1a')==_0x119730[_0x2652('0x25')]?_0x2652('0x26'):_0x2652('0x15');_0x3ca0e0&&'text'==_0x3ca0e0[_0x2652('0x25')]&&(_0x3ca0e0[_0x4ba374]+='\x0a');}}}return this[_0x2652('0x35')](_0x18181a);}['registerDescriptionCallback'](_0x95f0b2){this[_0x2652('0xf')]['push'](_0x95f0b2);}['registerElementLabel'](_0x3e8dcc,_0x458d65,_0x324974=_0x58b9ef['normal']){_0x2652('0x29')==typeof _0x3e8dcc?_0x2d78a7(this[_0x2652('0x34')],{'matchingCallback':_0x3e8dcc,'label':_0x458d65,'priority':_0x324974}):this[_0x2652('0x2d')][_0x2652('0x22')](_0x3e8dcc,_0x458d65);}[_0x2652('0x4')](_0x547a99,_0xe3fd4a=0x1){let _0x1cbd9d;for(const _0x4e6b1d of this[_0x2652('0x34')])if(_0x4e6b1d[_0x2652('0x27')](_0x547a99)){_0x1cbd9d=_0x4e6b1d[_0x2652('0x38')];break;}return _0x1cbd9d||(_0x1cbd9d=this['_itemLabels'][_0x2652('0x21')](_0x547a99[_0x2652('0x28')])),_0x1cbd9d?_0x1cbd9d(_0xe3fd4a):0x1!==_0xe3fd4a?_0xe3fd4a+'\x20'+_0x547a99['name']+'s':''+_0x547a99[_0x2652('0x28')];}[_0x2652('0x2f')](_0x1af2a1,_0x4f2f3b){const _0x42fbf6=_0x4f2f3b[_0x2652('0x20')]()[_0x2652('0xe')](),_0xcd4cd0=_0x2652('0x1a')==_0x4f2f3b[_0x2652('0x25')]?'add':_0x2652('0x15');for(const _0x1450cd of _0x42fbf6){const _0x4b865c=_0x1450cd[_0x2652('0xb')],_0x389479=_0x1af2a1[_0x1af2a1[_0x2652('0x2')]-0x1];if(_0x4b865c['is'](_0x2652('0x14')))_0x389479&&_0x389479[_0x2652('0x25')]['indexOf']('Container')>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x389479&&_0x2652('0x1d')==_0x389479['type']?_0x389479[_0xcd4cd0]+=_0x4b865c[_0x2652('0x33')]:_0x1af2a1[_0x2652('0x3c')]({'type':'text','add':_0x2652('0x26')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:'','remove':_0x2652('0x15')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:''});else{if(this[_0x2652('0x1')][_0x2652('0x2e')](_0x4b865c)){const _0xb97f57=_0x4b865c;if(_0x389479&&_0x389479[_0x2652('0x25')]['indexOf'](_0x2652('0x31'))>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x2652('0x1e')==_0x1450cd[_0x2652('0x25')])continue;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x23')&&_0x389479['element']['name']==_0xb97f57[_0x2652('0x28')]?_0x389479['quantity']++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x23'),'element':_0xb97f57,'quantity':0x1}),_0x42fbf6[_0x2652('0x32')](_0x35ff91=>!(_0x2652('0x1e')==_0x35ff91['type']&&_0x35ff91[_0x2652('0xb')]==_0x4b865c));}else{if(this[_0x2652('0x1')][_0x2652('0x2b')](_0x4b865c,_0x2652('0x37'))||_0x4b865c['is'](_0x2652('0x3'),'softBreak')){const _0x9f8b28=_0x4b865c;if(_0x2652('0x26')==_0xcd4cd0&&_0x2652('0x5')==_0x1450cd[_0x2652('0x25')]||_0x2652('0x15')==_0xcd4cd0&&_0x2652('0x1e')==_0x1450cd['type'])continue;if(_0x389479&&-0x1==_0x389479['type'][_0x2652('0x3a')](_0x2652('0x31'))){_0x2652('0x1d')==_0x389479['type']&&(_0x389479[_0xcd4cd0]+='\x0a');continue;}let _0x312ebd;if(_0x312ebd=_0x2652('0x26')==_0xcd4cd0?_0x9f8b28[_0x2652('0x3b')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28['nextSibling'])?_0x9f8b28[_0x2652('0x3b')]:null:_0x9f8b28[_0x2652('0x9')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28[_0x2652('0x9')])?_0x9f8b28[_0x2652('0x9')]:null,_0x9f8b28[_0x2652('0x7')]||_0x312ebd&&_0x312ebd[_0x2652('0x7')]){const _0x383718=_0x312ebd&&_0x312ebd['isEmpty']?_0x312ebd:_0x9f8b28;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x13')&&_0x389479[_0x2652('0x3')][_0x2652('0x28')]==_0x383718[_0x2652('0x28')]?_0x389479[_0x2652('0x2c')]++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x13'),'element':_0x383718,'quantity':0x1});}else _0x1af2a1['push']({'type':_0xcd4cd0+_0x2652('0x31'),'element':_0x9f8b28});}}}}}[_0x2652('0x35')](_0x16fb0c){const _0x4dcac1=this['_locale'],_0x2f24a8=[];for(const _0x3f2397 of _0x16fb0c){switch(_0x3f2397[_0x2652('0x25')]){case _0x2652('0x1d'):if(_0x3f2397[_0x2652('0x26')]=_0x3f2397[_0x2652('0x26')][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))['replace'](/\u000A/g,''),_0x3f2397[_0x2652('0x15')]=_0x3f2397['remove'][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))[_0x2652('0x36')](/\u000A/g,''),''!=_0x3f2397[_0x2652('0x26')]&&''!=_0x3f2397[_0x2652('0x15')]){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x36'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x0'),['\x22'+_0x3f2397['remove']+'\x22','\x22'+_0x3f2397[_0x2652('0x26')]+'\x22'])});continue;}if(null!=_0x3f2397[_0x2652('0x26')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x26')][_0x2652('0x2')]))});continue;}if(null!=_0x3f2397[_0x2652('0x15')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x15')]['length']))});continue;}if(''!=_0x3f2397['add']){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),'\x22'+_0x3f2397[_0x2652('0x26')]+'\x22')});continue;}_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),'\x22'+_0x3f2397[_0x2652('0x15')]+'\x22')});continue;case _0x2652('0x17'):case _0x2652('0x1b'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x11'):case _0x2652('0xd'):_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x8'):_0x2f24a8['push']({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x12'),this['getItemLabel'](_0x3f2397[_0x2652('0x3')],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0xc'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x1c'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;}_0x2f24a8[_0x2652('0x3c')](_0x3f2397);}return _0x2f24a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xdccd=['addSuggestionData','getSuggestion','plugins','adapter','get','editor','getSuggestions','TrackChanges'];(function(_0x5f621b,_0xdccd90){var _0x341994=function(_0x51eb80){while(--_0x51eb80){_0x5f621b['push'](_0x5f621b['shift']());}};_0x341994(++_0xdccd90);}(_0xdccd,0x7d));var _0x3419=function(_0x5f621b,_0xdccd90){_0x5f621b=_0x5f621b-0x0;var _0x341994=_0xdccd[_0x5f621b];return _0x341994;};import{Plugin as _0x12e659}from'ckeditor5/src/core';import _0x29cd9b from'./trackchangesui';import _0x40932a from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x12e659{static get['requires'](){return[_0x40932a,_0x29cd9b,'Comments'];}static get['pluginName'](){return _0x3419('0x2');}set['adapter'](_0x39e81e){this['editor']['plugins'][_0x3419('0x7')](_0x40932a)['adapter']=_0x39e81e;}get[_0x3419('0x6')](){return this['editor'][_0x3419('0x5')][_0x3419('0x7')](_0x40932a)[_0x3419('0x6')];}['addSuggestion'](_0x205f91){return this[_0x3419('0x0')][_0x3419('0x5')][_0x3419('0x7')](_0x40932a)[_0x3419('0x3')](_0x205f91);}['getSuggestions']({skipNotAttached:_0x19cef4=!0x1,toJSON:_0x5be95f=!0x1}={}){return this[_0x3419('0x0')][_0x3419('0x5')][_0x3419('0x7')](_0x40932a)[_0x3419('0x1')]({'skipNotAttached':_0x19cef4,'toJSON':_0x5be95f});}[_0x3419('0x4')](_0x1a9ff3){return this['editor'][_0x3419('0x5')][_0x3419('0x7')](_0x40932a)[_0x3419('0x4')](_0x1a9ff3);}}
23
+ var _0x3cc8=['addSuggestion','editor','TrackChanges','get','addSuggestionData','getSuggestion','getSuggestions','adapter','pluginName','plugins'];(function(_0x1e6193,_0x3cc828){var _0x53d083=function(_0x270eb5){while(--_0x270eb5){_0x1e6193['push'](_0x1e6193['shift']());}};_0x53d083(++_0x3cc828);}(_0x3cc8,0xe3));var _0x53d0=function(_0x1e6193,_0x3cc828){_0x1e6193=_0x1e6193-0x0;var _0x53d083=_0x3cc8[_0x1e6193];return _0x53d083;};import{Plugin as _0x22d8b2}from'ckeditor5/src/core';import _0x16c325 from'./trackchangesui';import _0x485193 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x22d8b2{static get['requires'](){return[_0x485193,_0x16c325,'Comments'];}static get[_0x53d0('0x1')](){return _0x53d0('0x5');}set[_0x53d0('0x0')](_0x22d12e){this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')]=_0x22d12e;}get[_0x53d0('0x0')](){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')];}[_0x53d0('0x3')](_0x19561e){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x7')](_0x19561e);}[_0x53d0('0x9')]({skipNotAttached:_0x387c40=!0x1,toJSON:_0x578d69=!0x1}={}){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestions']({'skipNotAttached':_0x387c40,'toJSON':_0x578d69});}[_0x53d0('0x8')](_0x2862c8){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestion'](_0x2862c8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17d4=['getDataWithAcceptedSuggestions','create','getDataWithDiscardedSuggestions','pluginName','getUser','Pagination','editor','users','getSuggestions','requires','map','function','reduce','trackChangesData.editorCreator','end','constructor','get','discardAllSuggestions','rootsAttributes','init','trackChangesData','execute','TrackChangesDataGetter','define','config','track-changes-data-invalid-editor-creator','destroy','Users','data','TrackChangesData','name','createElement','getRootsAttributes','document','TrackChangesEditing','editorCreator','CommentsRepository','addSuggestionData','getRootNames','plugins','set','result','addUser','appendChild','_adapter'];(function(_0x593894,_0x17d436){const _0xb4a14f=function(_0x46ffca){while(--_0x46ffca){_0x593894['push'](_0x593894['shift']());}};_0xb4a14f(++_0x17d436);}(_0x17d4,0x1db));const _0xb4a1=function(_0x593894,_0x17d436){_0x593894=_0x593894-0x0;let _0xb4a14f=_0x17d4[_0x593894];return _0xb4a14f;};import{Plugin as _0x1f3fe1}from'ckeditor5/src/core';import{CKEditorError as _0x32713f}from'ckeditor5/src/utils';import _0xae9b7f from'./trackchangesediting';import{sanitizeEditorConfig as _0x6e234e}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0xb4a1('0x19')];export default class T extends _0x1f3fe1{static get[_0xb4a1('0x1d')](){return[_0xae9b7f];}static get[_0xb4a1('0x17')](){return _0xb4a1('0x4');}['init'](){const _0x57768d=this[_0xb4a1('0x1a')];if(_0x57768d['config'][_0xb4a1('0x2b')](_0xb4a1('0x21'),_0x19da6c=>{const _0x149d01=_0x57768d['model']['document']['getRootNames']()['reduce']((_0x50bc17,_0x62b4bd)=>(_0x50bc17[_0x62b4bd]='',_0x50bc17),{});return _0x57768d[_0xb4a1('0x23')][_0xb4a1('0x15')](_0x149d01,_0x19da6c);}),_0xb4a1('0x1f')!=typeof _0x57768d[_0xb4a1('0x2c')]['get']('trackChangesData')['editorCreator'])throw new _0x32713f(_0xb4a1('0x0'));}[_0xb4a1('0x14')](_0x596d7c){return v(this['editor'],!0x0,_0x596d7c);}[_0xb4a1('0x16')](_0x1c770c){return v(this['editor'],!0x1,_0x1c770c);}}class P extends _0x1f3fe1{static get[_0xb4a1('0x17')](){return _0xb4a1('0x2a');}constructor(_0x1efa94){super(_0x1efa94),this[_0xb4a1('0x10')]=_0xb4a1('0x22');}[_0xb4a1('0x27')](){this[_0xb4a1('0x1a')][_0xb4a1('0xe')][_0xb4a1('0x24')](_0xb4a1('0xb'))[_0xb4a1('0x13')]={'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[_0xb4a1('0x1a')]['plugins'][_0xb4a1('0x24')]('TrackChangesEditing')[_0xb4a1('0x13')]=null;}}function D(_0x2aecc9){return void 0x0!==_0x2aecc9[_0xb4a1('0x7')];}async function v(_0x451d04,_0x42b2d6,_0x26b930){const _0x25fa76=_0x6e234e(_0x451d04,w);_0x25fa76[_0xb4a1('0xe')]['push'](_0xae9b7f,P),_0x25fa76[_0xb4a1('0x26')]=D(_0x451d04)?_0x451d04[_0xb4a1('0x7')]():void 0x0;const _0x5b2dce=document['createDocumentFragment'](),_0x5245e6=_0x451d04[_0xb4a1('0x2c')][_0xb4a1('0x24')](_0xb4a1('0x28'))[_0xb4a1('0xa')],_0x3d2d3c=await _0x5245e6(_0x25fa76,()=>function(_0x31bd1f){const _0x2f4d9f=document[_0xb4a1('0x6')]('div');return _0x31bd1f[_0xb4a1('0x12')](_0x2f4d9f),_0x2f4d9f;}(_0x5b2dce));!function(_0x56724c,_0x439062){const _0x1db641=_0x56724c['model'][_0xb4a1('0x8')][_0xb4a1('0xd')]()[_0xb4a1('0x20')]((_0x35aed7,_0x4793bf)=>(_0x35aed7[_0x4793bf]=_0x56724c[_0xb4a1('0x3')]['get']({'rootName':_0x4793bf}),_0x35aed7),{}),_0x9a3033=_0x56724c[_0xb4a1('0xe')]['get'](_0xb4a1('0x2'))[_0xb4a1('0x1b')][_0xb4a1('0x1e')](_0x1038c9=>({'id':_0x1038c9['id'],'name':_0x1038c9[_0xb4a1('0x5')]})),_0x58aef8=_0x56724c[_0xb4a1('0xe')][_0xb4a1('0x24')](_0xb4a1('0x9'))[_0xb4a1('0x1c')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4a0c29=_0x439062[_0xb4a1('0xe')][_0xb4a1('0x24')](_0xb4a1('0x2')),_0x21c9cd=_0x439062['plugins'][_0xb4a1('0x24')](_0xb4a1('0x9'));for(const _0x2d5c65 of _0x9a3033)_0x4a0c29[_0xb4a1('0x18')](_0x2d5c65['id'])||_0x4a0c29[_0xb4a1('0x11')](_0x2d5c65);_0x4a0c29['me']||_0x4a0c29['useAnonymousUser']();for(const _0x653ad1 of _0x58aef8)_0x21c9cd[_0xb4a1('0xc')](_0x653ad1);_0x439062[_0xb4a1('0x3')][_0xb4a1('0xf')](_0x1db641);}(_0x451d04,_0x3d2d3c),_0x3d2d3c[_0xb4a1('0x29')](_0x42b2d6?'acceptAllSuggestions':_0xb4a1('0x25'));const _0x78b7a=D(_0x3d2d3c)?_0x3d2d3c['getFullData'](_0x26b930):_0x3d2d3c[_0xb4a1('0x3')][_0xb4a1('0x24')](_0x26b930);return await _0x3d2d3c[_0xb4a1('0x1')](),_0x78b7a;}
23
+ const _0x171d=['editorCreator','TrackChangesDataGetter','end','function','discardAllSuggestions','plugins','pluginName','TrackChangesEditing','trackChangesData.editorCreator','data','TrackChangesData','getDataWithDiscardedSuggestions','getRootsAttributes','push','config','document','editor','rootsAttributes','reduce','div','_adapter','addSuggestionData','trackChangesData','init','model','getUser','set','getFullData','map','constructor','define','result','createElement','track-changes-data-invalid-editor-creator','createDocumentFragment','get','getRootNames','requires','name','addUser','Users'];(function(_0x353f2b,_0x171d91){const _0xcbb22=function(_0xb49e17){while(--_0xb49e17){_0x353f2b['push'](_0x353f2b['shift']());}};_0xcbb22(++_0x171d91);}(_0x171d,0x143));const _0xcbb2=function(_0x353f2b,_0x171d91){_0x353f2b=_0x353f2b-0x0;let _0xcbb22=_0x171d[_0x353f2b];return _0xcbb22;};import{Plugin as _0x3be48e}from'ckeditor5/src/core';import{CKEditorError as _0x1c6261}from'ckeditor5/src/utils';import _0x3b050d from'./trackchangesediting';import{sanitizeEditorConfig as _0x1e38dd}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x3be48e{static get[_0xcbb2('0x1')](){return[_0x3b050d];}static get[_0xcbb2('0xb')](){return _0xcbb2('0xf');}[_0xcbb2('0x1c')](){const _0x3edc8c=this['editor'];if(_0x3edc8c[_0xcbb2('0x13')][_0xcbb2('0x23')](_0xcbb2('0xd'),_0x5875d0=>{const _0x5781f4=_0x3edc8c[_0xcbb2('0x1d')][_0xcbb2('0x14')][_0xcbb2('0x0')]()['reduce']((_0x442a19,_0x4be345)=>(_0x442a19[_0x4be345]='',_0x442a19),{});return _0x3edc8c[_0xcbb2('0x22')]['create'](_0x5781f4,_0x5875d0);}),_0xcbb2('0x8')!=typeof _0x3edc8c[_0xcbb2('0x13')][_0xcbb2('0x28')]('trackChangesData')[_0xcbb2('0x5')])throw new _0x1c6261(_0xcbb2('0x26'));}['getDataWithAcceptedSuggestions'](_0x33ea3c){return v(this[_0xcbb2('0x15')],!0x0,_0x33ea3c);}[_0xcbb2('0x10')](_0x272781){return v(this[_0xcbb2('0x15')],!0x1,_0x272781);}}class P extends _0x3be48e{static get[_0xcbb2('0xb')](){return _0xcbb2('0x6');}constructor(_0x205f44){super(_0x205f44),this[_0xcbb2('0x24')]=_0xcbb2('0x7');}[_0xcbb2('0x1c')](){this[_0xcbb2('0x15')]['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'))[_0xcbb2('0x19')]=null;}}function D(_0x24b2b8){return void 0x0!==_0x24b2b8['getRootsAttributes'];}async function v(_0x172067,_0x29a093,_0x37935c){const _0x537c2f=_0x1e38dd(_0x172067,w);_0x537c2f[_0xcbb2('0xa')][_0xcbb2('0x12')](_0x3b050d,P),_0x537c2f[_0xcbb2('0x16')]=D(_0x172067)?_0x172067[_0xcbb2('0x11')]():void 0x0;const _0x307286=document[_0xcbb2('0x27')](),_0x2525fe=_0x172067[_0xcbb2('0x13')][_0xcbb2('0x28')](_0xcbb2('0x1b'))[_0xcbb2('0x5')],_0x54566b=await _0x2525fe(_0x537c2f,()=>function(_0x10b9f1){const _0x357f1e=document[_0xcbb2('0x25')](_0xcbb2('0x18'));return _0x10b9f1['appendChild'](_0x357f1e),_0x357f1e;}(_0x307286));!function(_0xb10de1,_0x64afd4){const _0x4bbad5=_0xb10de1['model'][_0xcbb2('0x14')]['getRootNames']()[_0xcbb2('0x17')]((_0x1b0f15,_0x3c1930)=>(_0x1b0f15[_0x3c1930]=_0xb10de1[_0xcbb2('0xe')][_0xcbb2('0x28')]({'rootName':_0x3c1930}),_0x1b0f15),{}),_0x1731f5=_0xb10de1['plugins']['get']('Users')['users'][_0xcbb2('0x21')](_0x325099=>({'id':_0x325099['id'],'name':_0x325099[_0xcbb2('0x2')]})),_0x5db72a=_0xb10de1[_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4aaf66=_0x64afd4[_0xcbb2('0xa')]['get'](_0xcbb2('0x4')),_0x565c85=_0x64afd4[_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'));for(const _0x112afe of _0x1731f5)_0x4aaf66[_0xcbb2('0x1e')](_0x112afe['id'])||_0x4aaf66[_0xcbb2('0x3')](_0x112afe);_0x4aaf66['me']||_0x4aaf66['useAnonymousUser']();for(const _0x1a3cc8 of _0x5db72a)_0x565c85[_0xcbb2('0x1a')](_0x1a3cc8);_0x64afd4[_0xcbb2('0xe')][_0xcbb2('0x1f')](_0x4bbad5);}(_0x172067,_0x54566b),_0x54566b['execute'](_0x29a093?'acceptAllSuggestions':_0xcbb2('0x9'));const _0x155a41=D(_0x54566b)?_0x54566b[_0xcbb2('0x20')](_0x37935c):_0x54566b['data']['get'](_0x37935c);return await _0x54566b['destroy'](),_0x155a41;}