@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231031.0 → 0.0.0-nightly-20231101.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 _0x3e94=['getMultiRangeId','subType','author','clear','addMarker','suggestion:','filter','isInContent','attributes','addMarkerName','getRanges','@external','delete','toJSON','onAttributesChange','previous','onAccept','_onAccept','getMarkerNames','data','set','type','markers','_markerNames','isMultiRange','_onAttributesChange','nodeBefore','creator','removeMarker','_onDiscard','getFirstRange','decorate','reduce','split','getItems','removeAttribute','createdAt','addRange','substr','map','length','_isDataLoaded','isIntersectingWithRange','get','isExternal','push','end','getFirstMarker','authoredAt','getAllAdjacentSuggestions','isIntersecting','discard','getMarkers','commentThread','_model','hasComments','start','size','from','removeMarkers','head','next','change','nodeAfter','add','_saved'];(function(_0x5438dd,_0x3e945c){const _0x1ebe6c=function(_0x625612){while(--_0x625612){_0x5438dd['push'](_0x5438dd['shift']());}};_0x1ebe6c(++_0x3e945c);}(_0x3e94,0x1c6));const _0x1ebe=function(_0x5438dd,_0x3e945c){_0x5438dd=_0x5438dd-0x0;let _0x1ebe6c=_0x3e94[_0x5438dd];return _0x1ebe6c;};import{Element as _0x4d3ff9}from'ckeditor5/src/engine';import{ObservableMixin as _0x190976,uid as _0x31db32}from'ckeditor5/src/utils';import{cloneDeep as _0x5cfd20,isEqual as _0x18d4ee,set as _0x15f60b,unset as _0x2cb9eb}from'lodash-es';export default class u extends _0x190976(){constructor(_0x159783,_0x584cd4){super(),this[_0x1ebe('0x31')]=!0x1,this['id']=_0x584cd4['id'],this['type']=_0x584cd4[_0x1ebe('0x1d')],this[_0x1ebe('0x9')]=_0x584cd4[_0x1ebe('0x9')]||null,this['author']=_0x584cd4['author'],this['creator']=_0x584cd4[_0x1ebe('0x23')]||_0x584cd4[_0x1ebe('0xa')],this[_0x1ebe('0x34')]=Boolean(_0x584cd4[_0x1ebe('0x10')]&&_0x584cd4[_0x1ebe('0x10')][_0x1ebe('0x13')]),this[_0x1ebe('0x1b')]=null,this[_0x1ebe('0x3e')]=_0x159783,this['_onAccept']=_0x584cd4[_0x1ebe('0x18')],this[_0x1ebe('0x25')]=_0x584cd4['onDiscard'],this[_0x1ebe('0x21')]=_0x584cd4[_0x1ebe('0x16')],this['_markerNames']=new Set(),this[_0x1ebe('0x2c')]=null,this['set'](_0x1ebe('0x38'),null),this[_0x1ebe('0x1c')](_0x1ebe('0x10'),_0x584cd4['attributes']||{}),this[_0x1ebe('0x1c')](_0x1ebe('0x17'),null),this[_0x1ebe('0x1c')](_0x1ebe('0x3'),null),this[_0x1ebe('0x1c')](_0x1ebe('0x3d'),null),this[_0x1ebe('0x1c')](_0x1ebe('0x7'),!0x1),this[_0x1ebe('0x27')]('accept'),this['decorate'](_0x1ebe('0x3b'));}get[_0x1ebe('0x2')](){let _0x1405fa=this;for(;_0x1405fa['previous'];)_0x1405fa=_0x1405fa[_0x1ebe('0x17')];return _0x1405fa;}get[_0x1ebe('0x3f')](){return!!this[_0x1ebe('0x3d')]&&this[_0x1ebe('0x3d')]['length']>0x0;}get[_0x1ebe('0x20')](){if(0x0==this[_0x1ebe('0x1f')][_0x1ebe('0x41')])return!0x1;return 0x6==Array['from'](this[_0x1ebe('0x1f')])[0x0][_0x1ebe('0x29')](':')[_0x1ebe('0x30')];}get[_0x1ebe('0xf')](){return null!==this[_0x1ebe('0x37')]();}['addMarkerName'](_0x59bb44){this['_markerNames'][_0x1ebe('0x6')](_0x59bb44);}[_0x1ebe('0x1a')](){return Array[_0x1ebe('0x0')](this[_0x1ebe('0x1f')]);}[_0x1ebe('0x3c')](){return this[_0x1ebe('0x1a')]()[_0x1ebe('0x2f')](_0x2f24bb=>this[_0x1ebe('0x3e')][_0x1ebe('0x1e')][_0x1ebe('0x33')](_0x2f24bb))[_0x1ebe('0xe')](_0x40e07f=>_0x40e07f);}[_0x1ebe('0x37')](){return this[_0x1ebe('0x3c')]()[0x0]||null;}[_0x1ebe('0x1')](){this['_model'][_0x1ebe('0x4')](_0xa7a548=>{for(const _0x1e6fe4 of this[_0x1ebe('0x3c')]())_0xa7a548[_0x1ebe('0x24')](_0x1e6fe4);}),this[_0x1ebe('0x1f')][_0x1ebe('0xb')]();}[_0x1ebe('0x24')](_0x2341f4){this[_0x1ebe('0x3e')][_0x1ebe('0x4')](_0x1ded2c=>{_0x1ded2c[_0x1ebe('0x24')](_0x2341f4);}),this['_markerNames'][_0x1ebe('0x14')](_0x2341f4);}[_0x1ebe('0x2d')](_0x155031){const _0xdcb54a=_0x1ebe('0xd')+this['type']+':'+this[_0x1ebe('0x9')]+':'+this['id']+':'+this[_0x1ebe('0x23')]['id']+':'+u[_0x1ebe('0x8')]();this[_0x1ebe('0x11')](_0xdcb54a),this[_0x1ebe('0x3e')][_0x1ebe('0x4')](_0x31fabd=>{_0x31fabd[_0x1ebe('0xc')](_0xdcb54a,{'range':_0x155031,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1ebe('0x32')](_0x5c43c1){for(const _0x58f819 of this[_0x1ebe('0x12')]())if(_0x58f819[_0x1ebe('0x3a')](_0x5c43c1))return!0x0;return!0x1;}[_0x1ebe('0x12')](){return this[_0x1ebe('0x3c')]()[_0x1ebe('0x2f')](_0x3ebe2a=>_0x3ebe2a['getRange']());}[_0x1ebe('0x2a')](){return this[_0x1ebe('0x12')]()[_0x1ebe('0x28')]((_0x2c2eb3,_0x3e239f)=>[..._0x2c2eb3,..._0x3e239f[_0x1ebe('0x2a')]()],[]);}[_0x1ebe('0x26')](){var _0x35b20f;return(null===(_0x35b20f=this['getFirstMarker']())||void 0x0===_0x35b20f?void 0x0:_0x35b20f['getRange']())||null;}['getContainedElement'](){const _0x41738f=this[_0x1ebe('0x12')]();if(0x1!=_0x41738f['length'])return null;const _0x353788=_0x41738f[0x0],_0xa217c5=_0x353788[_0x1ebe('0x40')][_0x1ebe('0x5')],_0x57a97e=_0x353788[_0x1ebe('0x36')][_0x1ebe('0x22')];return _0xa217c5 instanceof _0x4d3ff9?_0xa217c5!=_0x57a97e?null:_0xa217c5:null;}['accept'](){this[_0x1ebe('0x19')](this[_0x1ebe('0x12')](),this[_0x1ebe('0x1b')],this[_0x1ebe('0x10')]),this['removeMarkers']();}['discard'](){this[_0x1ebe('0x25')](this[_0x1ebe('0x12')](),this[_0x1ebe('0x1b')],this[_0x1ebe('0x10')]),this[_0x1ebe('0x1')]();}[_0x1ebe('0x39')](){const _0x5dce75=[];let _0x141689=this['head'];for(;_0x141689;)_0x5dce75[_0x1ebe('0x35')](_0x141689),_0x141689=_0x141689['next'];return _0x5dce75;}['setAttribute'](_0x160ace,_0x2f8190){const _0x557563=_0x5cfd20(this[_0x1ebe('0x10')]);_0x15f60b(_0x557563,_0x160ace,_0x2f8190),_0x18d4ee(_0x557563,this['attributes'])||(this[_0x1ebe('0x10')]=_0x557563,this[_0x1ebe('0x21')](_0x557563));}[_0x1ebe('0x2b')](_0x4c4e9f){const _0x124da1=_0x5cfd20(this[_0x1ebe('0x10')]);_0x2cb9eb(_0x124da1,_0x4c4e9f),_0x18d4ee(_0x124da1,this['attributes'])||(this[_0x1ebe('0x10')]=_0x124da1,this[_0x1ebe('0x21')](this[_0x1ebe('0x10')]));}[_0x1ebe('0x15')](){return{'id':this['id'],'type':this['subType']?this[_0x1ebe('0x1d')]+':'+this[_0x1ebe('0x9')]:this[_0x1ebe('0x1d')],'authorId':this['creator']['id'],'createdAt':this[_0x1ebe('0x2c')],'hasComments':this[_0x1ebe('0x3f')],'data':this['data'],'attributes':this[_0x1ebe('0x10')]};}static[_0x1ebe('0x8')](){return _0x31db32()[_0x1ebe('0x2e')](0x1,0x5);}}
23
+ const _0x26d9=['@external','head','discard','length','nodeBefore','getMarkers','_saved','_onDiscard','onAttributesChange','set','isExternal','creator','getFirstRange','markers','end','split','_isDataLoaded','getRanges','removeMarkers','filter','subType','suggestion:','getItems','_onAccept','commentThread','toJSON','from','size','getRange','_model','removeMarker','map','hasComments','isIntersectingWithRange','attributes','substr','accept','type','addMarkerName','change','_onAttributesChange','isMultiRange','addMarker','getMultiRangeId','addRange','removeAttribute','decorate','onDiscard','next','authoredAt','add','onAccept','push','getFirstMarker','getMarkerNames','previous','data','isInContent','createdAt','_markerNames','author'];(function(_0x4cc04e,_0x26d9ac){const _0x298c93=function(_0x28fc36){while(--_0x28fc36){_0x4cc04e['push'](_0x4cc04e['shift']());}};_0x298c93(++_0x26d9ac);}(_0x26d9,0x1a6));const _0x298c=function(_0x4cc04e,_0x26d9ac){_0x4cc04e=_0x4cc04e-0x0;let _0x298c93=_0x26d9[_0x4cc04e];return _0x298c93;};import{Element as _0x4c9f8d}from'ckeditor5/src/engine';import{ObservableMixin as _0x452f69,uid as _0x2fe482}from'ckeditor5/src/utils';import{cloneDeep as _0x129216,isEqual as _0x335e85,set as _0x36e214,unset as _0x7fd9b1}from'lodash-es';export default class u extends _0x452f69(){constructor(_0x469ef7,_0x57042b){super(),this[_0x298c('0x15')]=!0x1,this['id']=_0x57042b['id'],this[_0x298c('0x2a')]=_0x57042b[_0x298c('0x2a')],this['subType']=_0x57042b['subType']||null,this[_0x298c('0x4')]=_0x57042b[_0x298c('0x4')],this[_0x298c('0x10')]=_0x57042b[_0x298c('0x10')]||_0x57042b[_0x298c('0x4')],this[_0x298c('0xf')]=Boolean(_0x57042b[_0x298c('0x27')]&&_0x57042b[_0x298c('0x27')][_0x298c('0x5')]),this[_0x298c('0x0')]=null,this[_0x298c('0x22')]=_0x469ef7,this[_0x298c('0x1c')]=_0x57042b[_0x298c('0x38')],this[_0x298c('0xc')]=_0x57042b[_0x298c('0x34')],this[_0x298c('0x2d')]=_0x57042b[_0x298c('0xd')],this[_0x298c('0x3')]=new Set(),this['createdAt']=null,this[_0x298c('0xe')](_0x298c('0x36'),null),this[_0x298c('0xe')](_0x298c('0x27'),_0x57042b[_0x298c('0x27')]||{}),this['set'](_0x298c('0x3c'),null),this[_0x298c('0xe')](_0x298c('0x35'),null),this['set']('commentThread',null),this[_0x298c('0xe')](_0x298c('0xb'),!0x1),this[_0x298c('0x33')]('accept'),this['decorate'](_0x298c('0x7'));}get['head'](){let _0x154579=this;for(;_0x154579[_0x298c('0x3c')];)_0x154579=_0x154579[_0x298c('0x3c')];return _0x154579;}get[_0x298c('0x25')](){return!!this[_0x298c('0x1d')]&&this[_0x298c('0x1d')][_0x298c('0x8')]>0x0;}get[_0x298c('0x2e')](){if(0x0==this['_markerNames'][_0x298c('0x20')])return!0x1;return 0x6==Array[_0x298c('0x1f')](this[_0x298c('0x3')])[0x0][_0x298c('0x14')](':')['length'];}get[_0x298c('0x1')](){return null!==this[_0x298c('0x3a')]();}[_0x298c('0x2b')](_0x5f58da){this[_0x298c('0x3')][_0x298c('0x37')](_0x5f58da);}[_0x298c('0x3b')](){return Array[_0x298c('0x1f')](this['_markerNames']);}[_0x298c('0xa')](){return this['getMarkerNames']()[_0x298c('0x24')](_0x4fbaa3=>this[_0x298c('0x22')][_0x298c('0x12')]['get'](_0x4fbaa3))[_0x298c('0x18')](_0x46dac0=>_0x46dac0);}[_0x298c('0x3a')](){return this[_0x298c('0xa')]()[0x0]||null;}[_0x298c('0x17')](){this[_0x298c('0x22')][_0x298c('0x2c')](_0x1079f7=>{for(const _0x892149 of this[_0x298c('0xa')]())_0x1079f7[_0x298c('0x23')](_0x892149);}),this['_markerNames']['clear']();}[_0x298c('0x23')](_0x3f2c62){this[_0x298c('0x22')][_0x298c('0x2c')](_0x2bbba2=>{_0x2bbba2[_0x298c('0x23')](_0x3f2c62);}),this['_markerNames']['delete'](_0x3f2c62);}[_0x298c('0x31')](_0x296fde){const _0x59046d=_0x298c('0x1a')+this['type']+':'+this[_0x298c('0x19')]+':'+this['id']+':'+this[_0x298c('0x10')]['id']+':'+u[_0x298c('0x30')]();this[_0x298c('0x2b')](_0x59046d),this[_0x298c('0x22')][_0x298c('0x2c')](_0x4e4453=>{_0x4e4453[_0x298c('0x2f')](_0x59046d,{'range':_0x296fde,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x298c('0x26')](_0x5a1af6){for(const _0x2d580e of this[_0x298c('0x16')]())if(_0x2d580e['isIntersecting'](_0x5a1af6))return!0x0;return!0x1;}['getRanges'](){return this[_0x298c('0xa')]()[_0x298c('0x24')](_0x28c328=>_0x28c328[_0x298c('0x21')]());}[_0x298c('0x1b')](){return this['getRanges']()['reduce']((_0xef2879,_0x4ee2ce)=>[..._0xef2879,..._0x4ee2ce[_0x298c('0x1b')]()],[]);}[_0x298c('0x11')](){var _0x1ba6a8;return(null===(_0x1ba6a8=this[_0x298c('0x3a')]())||void 0x0===_0x1ba6a8?void 0x0:_0x1ba6a8[_0x298c('0x21')]())||null;}['getContainedElement'](){const _0x385575=this[_0x298c('0x16')]();if(0x1!=_0x385575[_0x298c('0x8')])return null;const _0x7ccaa0=_0x385575[0x0],_0x15736f=_0x7ccaa0['start']['nodeAfter'],_0x53b4c5=_0x7ccaa0[_0x298c('0x13')][_0x298c('0x9')];return _0x15736f instanceof _0x4c9f8d?_0x15736f!=_0x53b4c5?null:_0x15736f:null;}[_0x298c('0x29')](){this[_0x298c('0x1c')](this['getRanges'](),this[_0x298c('0x0')],this[_0x298c('0x27')]),this[_0x298c('0x17')]();}[_0x298c('0x7')](){this[_0x298c('0xc')](this[_0x298c('0x16')](),this[_0x298c('0x0')],this[_0x298c('0x27')]),this['removeMarkers']();}['getAllAdjacentSuggestions'](){const _0x49c6e8=[];let _0xa66d03=this[_0x298c('0x6')];for(;_0xa66d03;)_0x49c6e8[_0x298c('0x39')](_0xa66d03),_0xa66d03=_0xa66d03[_0x298c('0x35')];return _0x49c6e8;}['setAttribute'](_0x2204f3,_0x1ac15f){const _0x1005b6=_0x129216(this[_0x298c('0x27')]);_0x36e214(_0x1005b6,_0x2204f3,_0x1ac15f),_0x335e85(_0x1005b6,this[_0x298c('0x27')])||(this['attributes']=_0x1005b6,this[_0x298c('0x2d')](_0x1005b6));}[_0x298c('0x32')](_0x2b201c){const _0x5ac105=_0x129216(this[_0x298c('0x27')]);_0x7fd9b1(_0x5ac105,_0x2b201c),_0x335e85(_0x5ac105,this['attributes'])||(this['attributes']=_0x5ac105,this['_onAttributesChange'](this[_0x298c('0x27')]));}[_0x298c('0x1e')](){return{'id':this['id'],'type':this['subType']?this[_0x298c('0x2a')]+':'+this[_0x298c('0x19')]:this[_0x298c('0x2a')],'authorId':this[_0x298c('0x10')]['id'],'createdAt':this[_0x298c('0x2')],'hasComments':this[_0x298c('0x25')],'data':this[_0x298c('0x0')],'attributes':this[_0x298c('0x27')]};}static[_0x298c('0x30')](){return _0x2fe482()[_0x298c('0x28')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f00=['isEmpty','_locale','elementEnd','matchingCallback','*Split:*\x20%0','getItemLabel','deletion','length','isObject','start','quantity','*Remove:*\x20%0','isEqual','pop','nextSibling','isInContent','text','indexOf','replace','_itemLabelsCallbacks','set','normal','$text','elementStart','end','item','function','registerElementLabel','$1\x20$2','remove','getWalker','_resolveDescriptionItems','Object','push','previousSibling','get','removeObject','insertion','name','ELEMENT_SPACE','element','add','_addDescriptionItems','_customCallbacks','data','addEmptyContainer','type','registerDescriptionCallback','skip','softBreak','*Merge:*\x20%0','*Insert:*\x20%0','Container','EmptyContainer','addObject','REPLACE_TEXT','_schema','getDescriptions','match','$textProxy','removeEmptyContainer','getFirstRange','_itemLabels'];(function(_0x44ddba,_0x1f009f){const _0x2b00ba=function(_0x3c35ac){while(--_0x3c35ac){_0x44ddba['push'](_0x44ddba['shift']());}};_0x2b00ba(++_0x1f009f);}(_0x1f00,0x185));const _0x2b00=function(_0x44ddba,_0x1f009f){_0x44ddba=_0x44ddba-0x0;let _0x2b00ba=_0x1f00[_0x44ddba];return _0x2b00ba;};import{getTranslation as _0xeac3f5}from'./utils/common-translations';import{priorities as _0x1767d7,insertToPriorityArray as _0x50972a}from'ckeditor5/src/utils';export default class m{constructor(_0x354229,_0x32fae1){this[_0x2b00('0x20')]=[],this[_0x2b00('0x33')]=new Map(),this[_0x2b00('0x8')]=[],this[_0x2b00('0x2d')]=_0x354229,this[_0x2b00('0x35')]=_0x32fae1;}[_0x2b00('0x2e')](_0x4af408){const _0x59ca20=[];for(let _0x55734c=0x0;_0x55734c<_0x4af408[_0x2b00('0x3b')];_0x55734c++){const _0x2467eb=_0x4af408[_0x55734c];if(!_0x2467eb[_0x2b00('0x4')])continue;let _0x1a7ae3=!0x1;for(const _0x590ca5 of this[_0x2b00('0x20')]){const _0x1585c1=_0x590ca5(_0x2467eb);if(_0x1585c1){_0x2b00('0x23')in _0x1585c1&&_0x59ca20['push'](_0x1585c1),_0x1a7ae3=!0x0;break;}}if(!_0x1a7ae3){this['_addDescriptionItems'](_0x59ca20,_0x2467eb);const _0x5ba397=_0x4af408[_0x55734c+0x1];if(_0x5ba397&&!_0x2467eb[_0x2b00('0x32')]()[_0x2b00('0xd')][_0x2b00('0x1')](_0x5ba397[_0x2b00('0x32')]()[_0x2b00('0x3d')])){const _0x4826e0=_0x59ca20[_0x59ca20[_0x2b00('0x3b')]-0x1],_0x1945fa='insertion'==_0x2467eb[_0x2b00('0x23')]?_0x2b00('0x1e'):_0x2b00('0x12');_0x4826e0&&_0x2b00('0x5')==_0x4826e0[_0x2b00('0x23')]&&(_0x4826e0[_0x1945fa]+='\x0a');}}}return this[_0x2b00('0x14')](_0x59ca20);}[_0x2b00('0x24')](_0x896c70){this[_0x2b00('0x20')][_0x2b00('0x16')](_0x896c70);}[_0x2b00('0x10')](_0x30a173,_0xa0f4f4,_0x5944be=_0x1767d7[_0x2b00('0xa')]){_0x2b00('0xf')==typeof _0x30a173?_0x50972a(this['_itemLabelsCallbacks'],{'matchingCallback':_0x30a173,'label':_0xa0f4f4,'priority':_0x5944be}):this[_0x2b00('0x33')][_0x2b00('0x9')](_0x30a173,_0xa0f4f4);}['getItemLabel'](_0x2e694a,_0x336a81=0x1){let _0x22ba14;for(const _0x45694c of this['_itemLabelsCallbacks'])if(_0x45694c[_0x2b00('0x37')](_0x2e694a)){_0x22ba14=_0x45694c['label'];break;}return _0x22ba14||(_0x22ba14=this[_0x2b00('0x33')][_0x2b00('0x18')](_0x2e694a[_0x2b00('0x1b')])),_0x22ba14?_0x22ba14(_0x336a81):0x1!==_0x336a81?_0x336a81+'\x20'+_0x2e694a[_0x2b00('0x1b')]+'s':''+_0x2e694a['name'];}[_0x2b00('0x1f')](_0x40ae52,_0x165553){const _0x115de7=_0x165553[_0x2b00('0x32')]()[_0x2b00('0x13')](),_0xd7f0e7=_0x2b00('0x1a')==_0x165553[_0x2b00('0x23')]?_0x2b00('0x1e'):_0x2b00('0x12');for(const _0x1d1b9b of _0x115de7){const _0x47942f=_0x1d1b9b['item'],_0x3b4329=_0x40ae52[_0x40ae52[_0x2b00('0x3b')]-0x1];if(_0x47942f['is'](_0x2b00('0x30')))_0x3b4329&&_0x3b4329[_0x2b00('0x23')][_0x2b00('0x6')]('Container')>-0x1&&_0x40ae52['pop'](),_0x3b4329&&'text'==_0x3b4329[_0x2b00('0x23')]?_0x3b4329[_0xd7f0e7]+=_0x47942f[_0x2b00('0x21')]:_0x40ae52[_0x2b00('0x16')]({'type':_0x2b00('0x5'),'add':'add'==_0xd7f0e7?_0x47942f['data']:'','remove':_0x2b00('0x12')==_0xd7f0e7?_0x47942f['data']:''});else{if(this[_0x2b00('0x2d')][_0x2b00('0x3c')](_0x47942f)){const _0x570fc1=_0x47942f;if(_0x3b4329&&_0x3b4329['type'][_0x2b00('0x6')](_0x2b00('0x29'))>-0x1&&_0x40ae52[_0x2b00('0x2')](),_0x2b00('0x36')==_0x1d1b9b[_0x2b00('0x23')])continue;_0x3b4329&&_0x3b4329[_0x2b00('0x23')]==_0xd7f0e7+_0x2b00('0x15')&&_0x3b4329[_0x2b00('0x1d')][_0x2b00('0x1b')]==_0x570fc1['name']?_0x3b4329[_0x2b00('0x3e')]++:_0x40ae52[_0x2b00('0x16')]({'type':_0xd7f0e7+_0x2b00('0x15'),'element':_0x570fc1,'quantity':0x1}),_0x115de7[_0x2b00('0x25')](_0x394ae6=>!(_0x2b00('0x36')==_0x394ae6[_0x2b00('0x23')]&&_0x394ae6[_0x2b00('0xe')]==_0x47942f));}else{if(this[_0x2b00('0x2d')]['checkChild'](_0x47942f,_0x2b00('0xb'))||_0x47942f['is'](_0x2b00('0x1d'),_0x2b00('0x26'))){const _0x25c571=_0x47942f;if('add'==_0xd7f0e7&&_0x2b00('0xc')==_0x1d1b9b['type']||_0x2b00('0x12')==_0xd7f0e7&&'elementEnd'==_0x1d1b9b['type'])continue;if(_0x3b4329&&-0x1==_0x3b4329['type'][_0x2b00('0x6')](_0x2b00('0x29'))){'text'==_0x3b4329['type']&&(_0x3b4329[_0xd7f0e7]+='\x0a');continue;}let _0x3c8b5b;if(_0x3c8b5b=_0x2b00('0x1e')==_0xd7f0e7?_0x25c571[_0x2b00('0x3')]&&!this['_schema']['isObject'](_0x25c571['nextSibling'])?_0x25c571[_0x2b00('0x3')]:null:_0x25c571[_0x2b00('0x17')]&&!this['_schema'][_0x2b00('0x3c')](_0x25c571['previousSibling'])?_0x25c571[_0x2b00('0x17')]:null,_0x25c571['isEmpty']||_0x3c8b5b&&_0x3c8b5b[_0x2b00('0x34')]){const _0x582c7b=_0x3c8b5b&&_0x3c8b5b['isEmpty']?_0x3c8b5b:_0x25c571;_0x3b4329&&_0x3b4329['type']==_0xd7f0e7+_0x2b00('0x2a')&&_0x3b4329[_0x2b00('0x1d')]['name']==_0x582c7b['name']?_0x3b4329['quantity']++:_0x40ae52[_0x2b00('0x16')]({'type':_0xd7f0e7+'EmptyContainer','element':_0x582c7b,'quantity':0x1});}else _0x40ae52['push']({'type':_0xd7f0e7+'Container','element':_0x25c571});}}}}}[_0x2b00('0x14')](_0x2dcbc6){const _0x343495=this[_0x2b00('0x35')],_0xece683=[];for(const _0x1a99cf of _0x2dcbc6){switch(_0x1a99cf['type']){case _0x2b00('0x5'):if(_0x1a99cf['add']=_0x1a99cf[_0x2b00('0x1e')][_0x2b00('0x7')](/(\S)\u000A+(\S)/g,_0x2b00('0x11'))['replace'](/\u000A/g,''),_0x1a99cf[_0x2b00('0x12')]=_0x1a99cf[_0x2b00('0x12')][_0x2b00('0x7')](/(\S)\u000A+(\S)/g,_0x2b00('0x11'))[_0x2b00('0x7')](/\u000A/g,''),''!=_0x1a99cf[_0x2b00('0x1e')]&&''!=_0x1a99cf[_0x2b00('0x12')]){_0xece683['push']({'type':'replace','content':_0xeac3f5(_0x343495,_0x2b00('0x2c'),['\x22'+_0x1a99cf[_0x2b00('0x12')]+'\x22','\x22'+_0x1a99cf['add']+'\x22'])});continue;}if(null!=_0x1a99cf[_0x2b00('0x1e')][_0x2b00('0x2f')](/^ +$/)){_0xece683[_0x2b00('0x16')]({'type':_0x2b00('0x1a'),'content':_0xeac3f5(_0x343495,'*Insert:*\x20%0',_0xeac3f5(_0x343495,_0x2b00('0x1c'),_0x1a99cf[_0x2b00('0x1e')]['length']))});continue;}if(null!=_0x1a99cf[_0x2b00('0x12')][_0x2b00('0x2f')](/^ +$/)){_0xece683['push']({'type':_0x2b00('0x3a'),'content':_0xeac3f5(_0x343495,_0x2b00('0x0'),_0xeac3f5(_0x343495,_0x2b00('0x1c'),_0x1a99cf['remove'][_0x2b00('0x3b')]))});continue;}if(''!=_0x1a99cf[_0x2b00('0x1e')]){_0xece683['push']({'type':_0x2b00('0x1a'),'content':_0xeac3f5(_0x343495,_0x2b00('0x28'),'\x22'+_0x1a99cf[_0x2b00('0x1e')]+'\x22')});continue;}_0xece683[_0x2b00('0x16')]({'type':_0x2b00('0x3a'),'content':_0xeac3f5(_0x343495,_0x2b00('0x0'),'\x22'+_0x1a99cf[_0x2b00('0x12')]+'\x22')});continue;case _0x2b00('0x22'):case _0x2b00('0x2b'):_0xece683[_0x2b00('0x16')]({'type':'insertion','content':_0xeac3f5(_0x343495,_0x2b00('0x28'),this[_0x2b00('0x39')](_0x1a99cf[_0x2b00('0x1d')],_0x1a99cf[_0x2b00('0x3e')]))});continue;case _0x2b00('0x31'):case _0x2b00('0x19'):_0xece683[_0x2b00('0x16')]({'type':_0x2b00('0x3a'),'content':_0xeac3f5(_0x343495,_0x2b00('0x0'),this[_0x2b00('0x39')](_0x1a99cf[_0x2b00('0x1d')],_0x1a99cf[_0x2b00('0x3e')]))});continue;case'addContainer':_0xece683[_0x2b00('0x16')]({'type':'insertion','content':_0xeac3f5(_0x343495,_0x2b00('0x38'),this['getItemLabel'](_0x1a99cf['element'],_0x1a99cf['quantity']))});continue;case'removeContainer':_0xece683[_0x2b00('0x16')]({'type':_0x2b00('0x3a'),'content':_0xeac3f5(_0x343495,_0x2b00('0x27'),this[_0x2b00('0x39')](_0x1a99cf[_0x2b00('0x1d')],_0x1a99cf[_0x2b00('0x3e')]))});continue;}_0xece683['push'](_0x1a99cf);}return _0xece683;}}
23
+ const _0x5140=['name','removeContainer','_schema','getFirstRange','getDescriptions','remove','deletion','$text','addContainer','skip','isEqual','_itemLabels','ELEMENT_SPACE','isInContent','function','replace','matchingCallback','*Merge:*\x20%0','isObject','_resolveDescriptionItems','_customCallbacks','registerElementLabel','_locale','getWalker','match','checkChild','Object','element','isEmpty','$1\x20$2','*Remove:*\x20%0','$textProxy','text','Container','_addDescriptionItems','addEmptyContainer','softBreak','addObject','item','start','quantity','removeObject','EmptyContainer','end','registerDescriptionCallback','push','*Split:*\x20%0','elementStart','type','set','nextSibling','normal','insertion','indexOf','_itemLabelsCallbacks','getItemLabel','removeEmptyContainer','elementEnd','*Insert:*\x20%0','length','pop','add','previousSibling'];(function(_0x2c1e8a,_0x5140b6){const _0x18417e=function(_0xf0070f){while(--_0xf0070f){_0x2c1e8a['push'](_0x2c1e8a['shift']());}};_0x18417e(++_0x5140b6);}(_0x5140,0x11d));const _0x1841=function(_0x2c1e8a,_0x5140b6){_0x2c1e8a=_0x2c1e8a-0x0;let _0x18417e=_0x5140[_0x2c1e8a];return _0x18417e;};import{getTranslation as _0x22a13c}from'./utils/common-translations';import{priorities as _0x19d592,insertToPriorityArray as _0x50e431}from'ckeditor5/src/utils';export default class m{constructor(_0x155451,_0x2e9d40){this[_0x1841('0x32')]=[],this['_itemLabels']=new Map(),this[_0x1841('0x15')]=[],this[_0x1841('0x20')]=_0x155451,this[_0x1841('0x34')]=_0x2e9d40;}[_0x1841('0x22')](_0x375e72){const _0x355692=[];for(let _0x48925a=0x0;_0x48925a<_0x375e72[_0x1841('0x1a')];_0x48925a++){const _0x89b6f3=_0x375e72[_0x48925a];if(!_0x89b6f3[_0x1841('0x2b')])continue;let _0x4fa818=!0x1;for(const _0x3b1ddb of this[_0x1841('0x32')]){const _0x1f6ee2=_0x3b1ddb(_0x89b6f3);if(_0x1f6ee2){_0x1841('0xf')in _0x1f6ee2&&_0x355692[_0x1841('0xc')](_0x1f6ee2),_0x4fa818=!0x0;break;}}if(!_0x4fa818){this[_0x1841('0x1')](_0x355692,_0x89b6f3);const _0x278f03=_0x375e72[_0x48925a+0x1];if(_0x278f03&&!_0x89b6f3['getFirstRange']()[_0x1841('0xa')][_0x1841('0x28')](_0x278f03['getFirstRange']()[_0x1841('0x6')])){const _0x59f623=_0x355692[_0x355692[_0x1841('0x1a')]-0x1],_0x3a050b=_0x1841('0x13')==_0x89b6f3[_0x1841('0xf')]?'add':_0x1841('0x23');_0x59f623&&_0x1841('0x3e')==_0x59f623['type']&&(_0x59f623[_0x3a050b]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x355692);}[_0x1841('0xb')](_0x1d475b){this[_0x1841('0x32')][_0x1841('0xc')](_0x1d475b);}[_0x1841('0x33')](_0xd20951,_0x3f11fc,_0x47e423=_0x19d592[_0x1841('0x12')]){_0x1841('0x2c')==typeof _0xd20951?_0x50e431(this[_0x1841('0x15')],{'matchingCallback':_0xd20951,'label':_0x3f11fc,'priority':_0x47e423}):this[_0x1841('0x29')][_0x1841('0x10')](_0xd20951,_0x3f11fc);}[_0x1841('0x16')](_0x1989f3,_0x2a2e36=0x1){let _0xf6adf5;for(const _0x3010e5 of this['_itemLabelsCallbacks'])if(_0x3010e5[_0x1841('0x2e')](_0x1989f3)){_0xf6adf5=_0x3010e5['label'];break;}return _0xf6adf5||(_0xf6adf5=this[_0x1841('0x29')]['get'](_0x1989f3['name'])),_0xf6adf5?_0xf6adf5(_0x2a2e36):0x1!==_0x2a2e36?_0x2a2e36+'\x20'+_0x1989f3['name']+'s':''+_0x1989f3[_0x1841('0x1e')];}['_addDescriptionItems'](_0x2e0b6b,_0x18e500){const _0x4cfc2a=_0x18e500[_0x1841('0x21')]()[_0x1841('0x35')](),_0x4582c8='insertion'==_0x18e500[_0x1841('0xf')]?'add':_0x1841('0x23');for(const _0x1baa31 of _0x4cfc2a){const _0x4d5861=_0x1baa31['item'],_0x1f3cfd=_0x2e0b6b[_0x2e0b6b[_0x1841('0x1a')]-0x1];if(_0x4d5861['is'](_0x1841('0x3d')))_0x1f3cfd&&_0x1f3cfd[_0x1841('0xf')][_0x1841('0x14')]('Container')>-0x1&&_0x2e0b6b[_0x1841('0x1b')](),_0x1f3cfd&&_0x1841('0x3e')==_0x1f3cfd[_0x1841('0xf')]?_0x1f3cfd[_0x4582c8]+=_0x4d5861['data']:_0x2e0b6b[_0x1841('0xc')]({'type':_0x1841('0x3e'),'add':_0x1841('0x1c')==_0x4582c8?_0x4d5861['data']:'','remove':_0x1841('0x23')==_0x4582c8?_0x4d5861['data']:''});else{if(this[_0x1841('0x20')][_0x1841('0x30')](_0x4d5861)){const _0x2eb5b4=_0x4d5861;if(_0x1f3cfd&&_0x1f3cfd[_0x1841('0xf')][_0x1841('0x14')](_0x1841('0x0'))>-0x1&&_0x2e0b6b['pop'](),_0x1841('0x18')==_0x1baa31['type'])continue;_0x1f3cfd&&_0x1f3cfd[_0x1841('0xf')]==_0x4582c8+_0x1841('0x38')&&_0x1f3cfd[_0x1841('0x39')][_0x1841('0x1e')]==_0x2eb5b4[_0x1841('0x1e')]?_0x1f3cfd[_0x1841('0x7')]++:_0x2e0b6b[_0x1841('0xc')]({'type':_0x4582c8+'Object','element':_0x2eb5b4,'quantity':0x1}),_0x4cfc2a[_0x1841('0x27')](_0x592fb8=>!('elementEnd'==_0x592fb8[_0x1841('0xf')]&&_0x592fb8[_0x1841('0x5')]==_0x4d5861));}else{if(this[_0x1841('0x20')][_0x1841('0x37')](_0x4d5861,_0x1841('0x25'))||_0x4d5861['is']('element',_0x1841('0x3'))){const _0x5cddcb=_0x4d5861;if(_0x1841('0x1c')==_0x4582c8&&_0x1841('0xe')==_0x1baa31[_0x1841('0xf')]||_0x1841('0x23')==_0x4582c8&&_0x1841('0x18')==_0x1baa31['type'])continue;if(_0x1f3cfd&&-0x1==_0x1f3cfd['type'][_0x1841('0x14')](_0x1841('0x0'))){_0x1841('0x3e')==_0x1f3cfd[_0x1841('0xf')]&&(_0x1f3cfd[_0x4582c8]+='\x0a');continue;}let _0x477955;if(_0x477955=_0x1841('0x1c')==_0x4582c8?_0x5cddcb[_0x1841('0x11')]&&!this[_0x1841('0x20')][_0x1841('0x30')](_0x5cddcb[_0x1841('0x11')])?_0x5cddcb['nextSibling']:null:_0x5cddcb[_0x1841('0x1d')]&&!this['_schema'][_0x1841('0x30')](_0x5cddcb[_0x1841('0x1d')])?_0x5cddcb['previousSibling']:null,_0x5cddcb[_0x1841('0x3a')]||_0x477955&&_0x477955[_0x1841('0x3a')]){const _0xa77e13=_0x477955&&_0x477955[_0x1841('0x3a')]?_0x477955:_0x5cddcb;_0x1f3cfd&&_0x1f3cfd[_0x1841('0xf')]==_0x4582c8+_0x1841('0x9')&&_0x1f3cfd[_0x1841('0x39')][_0x1841('0x1e')]==_0xa77e13['name']?_0x1f3cfd[_0x1841('0x7')]++:_0x2e0b6b['push']({'type':_0x4582c8+_0x1841('0x9'),'element':_0xa77e13,'quantity':0x1});}else _0x2e0b6b[_0x1841('0xc')]({'type':_0x4582c8+'Container','element':_0x5cddcb});}}}}}[_0x1841('0x31')](_0x28373c){const _0x77a033=this[_0x1841('0x34')],_0x3315ea=[];for(const _0x2abeb3 of _0x28373c){switch(_0x2abeb3[_0x1841('0xf')]){case _0x1841('0x3e'):if(_0x2abeb3[_0x1841('0x1c')]=_0x2abeb3[_0x1841('0x1c')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x1841('0x2d')](/\u000A/g,''),_0x2abeb3[_0x1841('0x23')]=_0x2abeb3[_0x1841('0x23')]['replace'](/(\S)\u000A+(\S)/g,_0x1841('0x3b'))['replace'](/\u000A/g,''),''!=_0x2abeb3['add']&&''!=_0x2abeb3['remove']){_0x3315ea['push']({'type':_0x1841('0x2d'),'content':_0x22a13c(_0x77a033,'REPLACE_TEXT',['\x22'+_0x2abeb3[_0x1841('0x23')]+'\x22','\x22'+_0x2abeb3['add']+'\x22'])});continue;}if(null!=_0x2abeb3['add']['match'](/^ +$/)){_0x3315ea[_0x1841('0xc')]({'type':'insertion','content':_0x22a13c(_0x77a033,'*Insert:*\x20%0',_0x22a13c(_0x77a033,_0x1841('0x2a'),_0x2abeb3[_0x1841('0x1c')][_0x1841('0x1a')]))});continue;}if(null!=_0x2abeb3[_0x1841('0x23')][_0x1841('0x36')](/^ +$/)){_0x3315ea[_0x1841('0xc')]({'type':'deletion','content':_0x22a13c(_0x77a033,_0x1841('0x3c'),_0x22a13c(_0x77a033,_0x1841('0x2a'),_0x2abeb3[_0x1841('0x23')][_0x1841('0x1a')]))});continue;}if(''!=_0x2abeb3[_0x1841('0x1c')]){_0x3315ea[_0x1841('0xc')]({'type':_0x1841('0x13'),'content':_0x22a13c(_0x77a033,_0x1841('0x19'),'\x22'+_0x2abeb3['add']+'\x22')});continue;}_0x3315ea[_0x1841('0xc')]({'type':_0x1841('0x24'),'content':_0x22a13c(_0x77a033,_0x1841('0x3c'),'\x22'+_0x2abeb3[_0x1841('0x23')]+'\x22')});continue;case _0x1841('0x2'):case _0x1841('0x4'):_0x3315ea[_0x1841('0xc')]({'type':'insertion','content':_0x22a13c(_0x77a033,_0x1841('0x19'),this[_0x1841('0x16')](_0x2abeb3[_0x1841('0x39')],_0x2abeb3[_0x1841('0x7')]))});continue;case _0x1841('0x17'):case _0x1841('0x8'):_0x3315ea[_0x1841('0xc')]({'type':'deletion','content':_0x22a13c(_0x77a033,'*Remove:*\x20%0',this[_0x1841('0x16')](_0x2abeb3[_0x1841('0x39')],_0x2abeb3['quantity']))});continue;case _0x1841('0x26'):_0x3315ea['push']({'type':_0x1841('0x13'),'content':_0x22a13c(_0x77a033,_0x1841('0xd'),this[_0x1841('0x16')](_0x2abeb3[_0x1841('0x39')],_0x2abeb3['quantity']))});continue;case _0x1841('0x1f'):_0x3315ea[_0x1841('0xc')]({'type':_0x1841('0x24'),'content':_0x22a13c(_0x77a033,_0x1841('0x2f'),this[_0x1841('0x16')](_0x2abeb3[_0x1841('0x39')],_0x2abeb3[_0x1841('0x7')]))});continue;}_0x3315ea['push'](_0x2abeb3);}return _0x3315ea;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f1e=['addSuggestion','TrackChanges','requires','getSuggestions','get','pluginName','addSuggestionData','getSuggestion','plugins','Comments','editor'];(function(_0x2ca412,_0x4f1ed3){var _0x1acd9a=function(_0x1598ba){while(--_0x1598ba){_0x2ca412['push'](_0x2ca412['shift']());}};_0x1acd9a(++_0x4f1ed3);}(_0x4f1e,0x11f));var _0x1acd=function(_0x2ca412,_0x4f1ed3){_0x2ca412=_0x2ca412-0x0;var _0x1acd9a=_0x4f1e[_0x2ca412];return _0x1acd9a;};import{Plugin as _0x2680b4}from'ckeditor5/src/core';import _0x4cfda0 from'./trackchangesui';import _0x61c8db from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2680b4{static get[_0x1acd('0x1')](){return[_0x61c8db,_0x4cfda0,_0x1acd('0x8')];}static get[_0x1acd('0x4')](){return _0x1acd('0x0');}set['adapter'](_0x1b72e4){this['editor']['plugins'][_0x1acd('0x3')](_0x61c8db)['adapter']=_0x1b72e4;}get['adapter'](){return this[_0x1acd('0x9')][_0x1acd('0x7')][_0x1acd('0x3')](_0x61c8db)['adapter'];}[_0x1acd('0xa')](_0x337b9e){return this[_0x1acd('0x9')][_0x1acd('0x7')][_0x1acd('0x3')](_0x61c8db)[_0x1acd('0x5')](_0x337b9e);}[_0x1acd('0x2')]({skipNotAttached:_0x37f487=!0x1,toJSON:_0x51dad8=!0x1}={}){return this[_0x1acd('0x9')]['plugins']['get'](_0x61c8db)[_0x1acd('0x2')]({'skipNotAttached':_0x37f487,'toJSON':_0x51dad8});}[_0x1acd('0x6')](_0x6ae1){return this['editor'][_0x1acd('0x7')]['get'](_0x61c8db)[_0x1acd('0x6')](_0x6ae1);}}
23
+ var _0x1821=['TrackChanges','get','requires','adapter','pluginName','Comments','getSuggestion','getSuggestions','editor','plugins'];(function(_0x196eb9,_0x1821f1){var _0x35caa9=function(_0x3a7fd3){while(--_0x3a7fd3){_0x196eb9['push'](_0x196eb9['shift']());}};_0x35caa9(++_0x1821f1);}(_0x1821,0xce));var _0x35ca=function(_0x196eb9,_0x1821f1){_0x196eb9=_0x196eb9-0x0;var _0x35caa9=_0x1821[_0x196eb9];return _0x35caa9;};import{Plugin as _0x535f6f}from'ckeditor5/src/core';import _0x3a67c0 from'./trackchangesui';import _0x28720f from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x535f6f{static get[_0x35ca('0x6')](){return[_0x28720f,_0x3a67c0,_0x35ca('0x9')];}static get[_0x35ca('0x8')](){return _0x35ca('0x4');}set[_0x35ca('0x7')](_0x2831d9){this[_0x35ca('0x2')][_0x35ca('0x3')]['get'](_0x28720f)['adapter']=_0x2831d9;}get[_0x35ca('0x7')](){return this['editor'][_0x35ca('0x3')][_0x35ca('0x5')](_0x28720f)['adapter'];}['addSuggestion'](_0x48da3b){return this['editor'][_0x35ca('0x3')]['get'](_0x28720f)['addSuggestionData'](_0x48da3b);}['getSuggestions']({skipNotAttached:_0x21d4ed=!0x1,toJSON:_0x86b2e=!0x1}={}){return this['editor'][_0x35ca('0x3')][_0x35ca('0x5')](_0x28720f)[_0x35ca('0x1')]({'skipNotAttached':_0x21d4ed,'toJSON':_0x86b2e});}[_0x35ca('0x0')](_0x303ea0){return this['editor'][_0x35ca('0x3')][_0x35ca('0x5')](_0x28720f)[_0x35ca('0x0')](_0x303ea0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3177=['getDataWithAcceptedSuggestions','appendChild','execute','rootsAttributes','get','data','TrackChangesData','name','create','getSuggestions','_adapter','set','getFullData','config','reduce','plugins','getRootsAttributes','getDataWithDiscardedSuggestions','constructor','init','trackChangesData.editorCreator','addUser','getRootNames','define','users','editor','pluginName','requires','CommentsRepository','TrackChangesEditing','editorCreator','trackChangesData','Users','push','model','document','function','track-changes-data-invalid-editor-creator','createDocumentFragment','TrackChangesDataGetter','div','createElement'];(function(_0xce3535,_0x3177f7){const _0x4f1379=function(_0x4b15d2){while(--_0x4b15d2){_0xce3535['push'](_0xce3535['shift']());}};_0x4f1379(++_0x3177f7);}(_0x3177,0x9a));const _0x4f13=function(_0xce3535,_0x3177f7){_0xce3535=_0xce3535-0x0;let _0x4f1379=_0x3177[_0xce3535];return _0x4f1379;};import{Plugin as _0x5a7b35}from'ckeditor5/src/core';import{CKEditorError as _0x1b2a20}from'ckeditor5/src/utils';import _0x1e07cc from'./trackchangesediting';import{sanitizeEditorConfig as _0x44d34b}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x5a7b35{static get[_0x4f13('0x29')](){return[_0x1e07cc];}static get['pluginName'](){return _0x4f13('0x14');}['init'](){const _0x3724b9=this[_0x4f13('0x27')];if(_0x3724b9[_0x4f13('0x1b')][_0x4f13('0x25')](_0x4f13('0x22'),_0x307b41=>{const _0x449019=_0x3724b9['model'][_0x4f13('0x7')][_0x4f13('0x24')]()[_0x4f13('0x1c')]((_0x370273,_0x922f15)=>(_0x370273[_0x922f15]='',_0x370273),{});return _0x3724b9[_0x4f13('0x20')][_0x4f13('0x16')](_0x449019,_0x307b41);}),_0x4f13('0x8')!=typeof _0x3724b9[_0x4f13('0x1b')][_0x4f13('0x12')](_0x4f13('0x3'))[_0x4f13('0x2')])throw new _0x1b2a20(_0x4f13('0x9'));}[_0x4f13('0xe')](_0x35380f){return v(this[_0x4f13('0x27')],!0x0,_0x35380f);}[_0x4f13('0x1f')](_0x247502){return v(this[_0x4f13('0x27')],!0x1,_0x247502);}}class P extends _0x5a7b35{static get[_0x4f13('0x28')](){return _0x4f13('0xb');}constructor(_0x3d0c17){super(_0x3d0c17),this['result']='end';}[_0x4f13('0x21')](){this['editor']['plugins'][_0x4f13('0x12')](_0x4f13('0x0'))[_0x4f13('0x18')]={'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[_0x4f13('0x27')][_0x4f13('0x1d')][_0x4f13('0x12')](_0x4f13('0x1'))[_0x4f13('0x18')]=null;}}function D(_0x1873d2){return void 0x0!==_0x1873d2[_0x4f13('0x1e')];}async function v(_0x2553b7,_0x391c15,_0xd5d62d){const _0x422c49=_0x44d34b(_0x2553b7,w);_0x422c49['plugins'][_0x4f13('0x5')](_0x1e07cc,P),_0x422c49[_0x4f13('0x11')]=D(_0x2553b7)?_0x2553b7[_0x4f13('0x1e')]():void 0x0;const _0x47fd8c=document[_0x4f13('0xa')](),_0xef54b6=_0x2553b7[_0x4f13('0x1b')]['get']('trackChangesData')[_0x4f13('0x2')],_0x3e9ffd=await _0xef54b6(_0x422c49,()=>function(_0x111e16){const _0x15f91e=document[_0x4f13('0xd')](_0x4f13('0xc'));return _0x111e16[_0x4f13('0xf')](_0x15f91e),_0x15f91e;}(_0x47fd8c));!function(_0x25be14,_0x4ebf75){const _0x4fab0f=_0x25be14[_0x4f13('0x6')]['document']['getRootNames']()[_0x4f13('0x1c')]((_0x5acce9,_0x5f1877)=>(_0x5acce9[_0x5f1877]=_0x25be14['data']['get']({'rootName':_0x5f1877}),_0x5acce9),{}),_0x16ffae=_0x25be14[_0x4f13('0x1d')]['get'](_0x4f13('0x4'))[_0x4f13('0x26')]['map'](_0x5af3a7=>({'id':_0x5af3a7['id'],'name':_0x5af3a7[_0x4f13('0x15')]})),_0x2e0d7d=_0x25be14[_0x4f13('0x1d')]['get']('TrackChangesEditing')[_0x4f13('0x17')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x499c71=_0x4ebf75[_0x4f13('0x1d')][_0x4f13('0x12')](_0x4f13('0x4')),_0x2f2eed=_0x4ebf75[_0x4f13('0x1d')]['get'](_0x4f13('0x1'));for(const _0x30368d of _0x16ffae)_0x499c71['getUser'](_0x30368d['id'])||_0x499c71[_0x4f13('0x23')](_0x30368d);_0x499c71['me']||_0x499c71['useAnonymousUser']();for(const _0x4921d2 of _0x2e0d7d)_0x2f2eed['addSuggestionData'](_0x4921d2);_0x4ebf75[_0x4f13('0x13')][_0x4f13('0x19')](_0x4fab0f);}(_0x2553b7,_0x3e9ffd),_0x3e9ffd[_0x4f13('0x10')](_0x391c15?'acceptAllSuggestions':'discardAllSuggestions');const _0x4228f4=D(_0x3e9ffd)?_0x3e9ffd[_0x4f13('0x1a')](_0xd5d62d):_0x3e9ffd[_0x4f13('0x13')][_0x4f13('0x12')](_0xd5d62d);return await _0x3e9ffd['destroy'](),_0x4228f4;}
23
+ const _0x5602=['acceptAllSuggestions','map','addUser','config','create','result','TrackChangesEditing','name','function','createElement','users','Pagination','plugins','discardAllSuggestions','reduce','getDataWithAcceptedSuggestions','rootsAttributes','Users','pluginName','trackChangesData','document','getRootsAttributes','getDataWithDiscardedSuggestions','createDocumentFragment','model','init','getUser','data','execute','getSuggestions','editor','useAnonymousUser','track-changes-data-invalid-editor-creator','CommentsRepository','set','div','trackChangesData.editorCreator','getRootNames','appendChild','get'];(function(_0x4c86d0,_0x56028a){const _0x4275e1=function(_0x5c792b){while(--_0x5c792b){_0x4c86d0['push'](_0x4c86d0['shift']());}};_0x4275e1(++_0x56028a);}(_0x5602,0x1a5));const _0x4275=function(_0x4c86d0,_0x56028a){_0x4c86d0=_0x4c86d0-0x0;let _0x4275e1=_0x5602[_0x4c86d0];return _0x4275e1;};import{Plugin as _0x23a65f}from'ckeditor5/src/core';import{CKEditorError as _0x825265}from'ckeditor5/src/utils';import _0x3e1b77 from'./trackchangesediting';import{sanitizeEditorConfig as _0x5b71d6}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x4275('0x1e')];export default class T extends _0x23a65f{static get['requires'](){return[_0x3e1b77];}static get[_0x4275('0x25')](){return'TrackChangesData';}[_0x4275('0x4')](){const _0x48ee10=this[_0x4275('0x9')];if(_0x48ee10['config']['define'](_0x4275('0xf'),_0x1f889c=>{const _0x11f60b=_0x48ee10[_0x4275('0x3')]['document'][_0x4275('0x10')]()[_0x4275('0x21')]((_0x388032,_0x81a0cb)=>(_0x388032[_0x81a0cb]='',_0x388032),{});return _0x48ee10['constructor'][_0x4275('0x17')](_0x11f60b,_0x1f889c);}),_0x4275('0x1b')!=typeof _0x48ee10[_0x4275('0x16')][_0x4275('0x12')](_0x4275('0x26'))['editorCreator'])throw new _0x825265(_0x4275('0xb'));}[_0x4275('0x22')](_0x40fe00){return v(this[_0x4275('0x9')],!0x0,_0x40fe00);}[_0x4275('0x1')](_0x5300ed){return v(this['editor'],!0x1,_0x5300ed);}}class P extends _0x23a65f{static get[_0x4275('0x25')](){return'TrackChangesDataGetter';}constructor(_0x372f4c){super(_0x372f4c),this[_0x4275('0x18')]='end';}[_0x4275('0x4')](){this[_0x4275('0x9')][_0x4275('0x1f')][_0x4275('0x12')](_0x4275('0xc'))['_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[_0x4275('0x9')][_0x4275('0x1f')][_0x4275('0x12')](_0x4275('0x19'))['_adapter']=null;}}function D(_0x2b6a45){return void 0x0!==_0x2b6a45[_0x4275('0x0')];}async function v(_0x24a644,_0x2d0e5a,_0x4f755a){const _0x1faee2=_0x5b71d6(_0x24a644,w);_0x1faee2[_0x4275('0x1f')]['push'](_0x3e1b77,P),_0x1faee2[_0x4275('0x23')]=D(_0x24a644)?_0x24a644[_0x4275('0x0')]():void 0x0;const _0x2d726d=document[_0x4275('0x2')](),_0x9c86a6=_0x24a644[_0x4275('0x16')][_0x4275('0x12')](_0x4275('0x26'))['editorCreator'],_0x37d5e7=await _0x9c86a6(_0x1faee2,()=>function(_0x13002a){const _0x43b114=document[_0x4275('0x1c')](_0x4275('0xe'));return _0x13002a[_0x4275('0x11')](_0x43b114),_0x43b114;}(_0x2d726d));!function(_0x585843,_0x447af1){const _0x5c1e19=_0x585843[_0x4275('0x3')][_0x4275('0x27')][_0x4275('0x10')]()['reduce']((_0x516c60,_0x147c14)=>(_0x516c60[_0x147c14]=_0x585843[_0x4275('0x6')]['get']({'rootName':_0x147c14}),_0x516c60),{}),_0x525166=_0x585843[_0x4275('0x1f')][_0x4275('0x12')]('Users')[_0x4275('0x1d')][_0x4275('0x14')](_0x5e6aaa=>({'id':_0x5e6aaa['id'],'name':_0x5e6aaa[_0x4275('0x1a')]})),_0x320114=_0x585843[_0x4275('0x1f')][_0x4275('0x12')](_0x4275('0x19'))[_0x4275('0x8')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2a5009=_0x447af1['plugins'][_0x4275('0x12')](_0x4275('0x24')),_0x4e3d93=_0x447af1['plugins']['get'](_0x4275('0x19'));for(const _0xe152ea of _0x525166)_0x2a5009[_0x4275('0x5')](_0xe152ea['id'])||_0x2a5009[_0x4275('0x15')](_0xe152ea);_0x2a5009['me']||_0x2a5009[_0x4275('0xa')]();for(const _0x18eaf7 of _0x320114)_0x4e3d93['addSuggestionData'](_0x18eaf7);_0x447af1['data'][_0x4275('0xd')](_0x5c1e19);}(_0x24a644,_0x37d5e7),_0x37d5e7[_0x4275('0x7')](_0x2d0e5a?_0x4275('0x13'):_0x4275('0x20'));const _0x16b231=D(_0x37d5e7)?_0x37d5e7['getFullData'](_0x4f755a):_0x37d5e7[_0x4275('0x6')]['get'](_0x4f755a);return await _0x37d5e7['destroy'](),_0x16b231;}