@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231120.0 → 0.0.0-nightly-20231122.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 (66) 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/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x433c=['change','onAccept','subType','end','next','addMarkerName','authoredAt','toJSON','getFirstMarker','setAttribute','decorate','onAttributesChange','isExternal','_markerNames','isInContent','previous','accept','_onDiscard','getAllAdjacentSuggestions','onDiscard','isMultiRange','getMultiRangeId','type','nodeAfter','size','push','getFirstRange','filter','removeAttribute','_onAttributesChange','commentThread','_onAccept','getMarkers','getContainedElement','clear','getMarkerNames','set','_model','hasComments','from','@external','map','creator','length','addRange','split','data','reduce','add','getRange','removeMarker','discard','addMarker','author','markers','attributes','getRanges','isIntersecting','suggestion:','removeMarkers'];(function(_0x52a39e,_0x433c59){const _0x2682bd=function(_0x41322c){while(--_0x41322c){_0x52a39e['push'](_0x52a39e['shift']());}};_0x2682bd(++_0x433c59);}(_0x433c,0x1bf));const _0x2682=function(_0x52a39e,_0x433c59){_0x52a39e=_0x52a39e-0x0;let _0x2682bd=_0x433c[_0x52a39e];return _0x2682bd;};import{Element as _0xf352c5}from'ckeditor5/src/engine';import{ObservableMixin as _0x2b7d0a,uid as _0x21bfc9}from'ckeditor5/src/utils';import{cloneDeep as _0xfb5e1b,isEqual as _0x54d5b7,set as _0x597f84,unset as _0x538ee9}from'lodash-es';export default class u extends _0x2b7d0a(){constructor(_0x10e50b,_0x5ce41e){super(),this['_isDataLoaded']=!0x1,this['id']=_0x5ce41e['id'],this[_0x2682('0x37')]=_0x5ce41e[_0x2682('0x37')],this[_0x2682('0x23')]=_0x5ce41e[_0x2682('0x23')]||null,this[_0x2682('0x1a')]=_0x5ce41e[_0x2682('0x1a')],this[_0x2682('0xf')]=_0x5ce41e[_0x2682('0xf')]||_0x5ce41e[_0x2682('0x1a')],this[_0x2682('0x2d')]=Boolean(_0x5ce41e['attributes']&&_0x5ce41e[_0x2682('0x1c')][_0x2682('0xd')]),this[_0x2682('0x13')]=null,this[_0x2682('0xa')]=_0x10e50b,this[_0x2682('0x4')]=_0x5ce41e[_0x2682('0x22')],this[_0x2682('0x32')]=_0x5ce41e[_0x2682('0x34')],this[_0x2682('0x2')]=_0x5ce41e[_0x2682('0x2c')],this[_0x2682('0x2e')]=new Set(),this['createdAt']=null,this[_0x2682('0x9')](_0x2682('0x27'),null),this[_0x2682('0x9')](_0x2682('0x1c'),_0x5ce41e['attributes']||{}),this['set']('previous',null),this['set'](_0x2682('0x25'),null),this[_0x2682('0x9')](_0x2682('0x3'),null),this[_0x2682('0x9')]('_saved',!0x1),this[_0x2682('0x2b')](_0x2682('0x31')),this[_0x2682('0x2b')](_0x2682('0x18'));}get['head'](){let _0x5a7b4d=this;for(;_0x5a7b4d[_0x2682('0x30')];)_0x5a7b4d=_0x5a7b4d[_0x2682('0x30')];return _0x5a7b4d;}get[_0x2682('0xb')](){return!!this['commentThread']&&this['commentThread'][_0x2682('0x10')]>0x0;}get[_0x2682('0x35')](){if(0x0==this[_0x2682('0x2e')][_0x2682('0x39')])return!0x1;return 0x6==Array[_0x2682('0xc')](this[_0x2682('0x2e')])[0x0][_0x2682('0x12')](':')[_0x2682('0x10')];}get[_0x2682('0x2f')](){return null!==this[_0x2682('0x29')]();}['addMarkerName'](_0x246569){this[_0x2682('0x2e')][_0x2682('0x15')](_0x246569);}[_0x2682('0x8')](){return Array[_0x2682('0xc')](this[_0x2682('0x2e')]);}[_0x2682('0x5')](){return this[_0x2682('0x8')]()[_0x2682('0xe')](_0x54bb24=>this['_model'][_0x2682('0x1b')]['get'](_0x54bb24))[_0x2682('0x0')](_0x3ae22b=>_0x3ae22b);}['getFirstMarker'](){return this[_0x2682('0x5')]()[0x0]||null;}[_0x2682('0x20')](){this[_0x2682('0xa')]['change'](_0x412001=>{for(const _0x203e24 of this[_0x2682('0x5')]())_0x412001['removeMarker'](_0x203e24);}),this[_0x2682('0x2e')][_0x2682('0x7')]();}[_0x2682('0x17')](_0x4cfd0c){this['_model'][_0x2682('0x21')](_0x295157=>{_0x295157[_0x2682('0x17')](_0x4cfd0c);}),this['_markerNames']['delete'](_0x4cfd0c);}[_0x2682('0x11')](_0x53eb48){const _0x131472=_0x2682('0x1f')+this[_0x2682('0x37')]+':'+this[_0x2682('0x23')]+':'+this['id']+':'+this[_0x2682('0xf')]['id']+':'+u[_0x2682('0x36')]();this[_0x2682('0x26')](_0x131472),this[_0x2682('0xa')][_0x2682('0x21')](_0x233069=>{_0x233069[_0x2682('0x19')](_0x131472,{'range':_0x53eb48,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0xb35626){for(const _0x1efbda of this['getRanges']())if(_0x1efbda[_0x2682('0x1e')](_0xb35626))return!0x0;return!0x1;}[_0x2682('0x1d')](){return this[_0x2682('0x5')]()[_0x2682('0xe')](_0x2ec9fb=>_0x2ec9fb['getRange']());}['getItems'](){return this[_0x2682('0x1d')]()[_0x2682('0x14')]((_0x321a56,_0x564343)=>[..._0x321a56,..._0x564343['getItems']()],[]);}[_0x2682('0x3b')](){var _0x35ff1d;return(null===(_0x35ff1d=this[_0x2682('0x29')]())||void 0x0===_0x35ff1d?void 0x0:_0x35ff1d[_0x2682('0x16')]())||null;}[_0x2682('0x6')](){const _0x2effed=this[_0x2682('0x1d')]();if(0x1!=_0x2effed[_0x2682('0x10')])return null;const _0x140a3e=_0x2effed[0x0],_0x422c63=_0x140a3e['start'][_0x2682('0x38')],_0x2dc9af=_0x140a3e[_0x2682('0x24')]['nodeBefore'];return _0x422c63 instanceof _0xf352c5?_0x422c63!=_0x2dc9af?null:_0x422c63:null;}[_0x2682('0x31')](){this[_0x2682('0x4')](this[_0x2682('0x1d')](),this[_0x2682('0x13')],this[_0x2682('0x1c')]),this['removeMarkers']();}['discard'](){this[_0x2682('0x32')](this[_0x2682('0x1d')](),this[_0x2682('0x13')],this['attributes']),this[_0x2682('0x20')]();}[_0x2682('0x33')](){const _0x3a22ad=[];let _0x4bd2b6=this['head'];for(;_0x4bd2b6;)_0x3a22ad[_0x2682('0x3a')](_0x4bd2b6),_0x4bd2b6=_0x4bd2b6[_0x2682('0x25')];return _0x3a22ad;}[_0x2682('0x2a')](_0x14c6af,_0x1712ba){const _0x192709=_0xfb5e1b(this[_0x2682('0x1c')]);_0x597f84(_0x192709,_0x14c6af,_0x1712ba),_0x54d5b7(_0x192709,this[_0x2682('0x1c')])||(this[_0x2682('0x1c')]=_0x192709,this[_0x2682('0x2')](_0x192709));}[_0x2682('0x1')](_0x3f2232){const _0x11d827=_0xfb5e1b(this[_0x2682('0x1c')]);_0x538ee9(_0x11d827,_0x3f2232),_0x54d5b7(_0x11d827,this[_0x2682('0x1c')])||(this[_0x2682('0x1c')]=_0x11d827,this[_0x2682('0x2')](this[_0x2682('0x1c')]));}[_0x2682('0x28')](){return{'id':this['id'],'type':this['subType']?this[_0x2682('0x37')]+':'+this[_0x2682('0x23')]:this[_0x2682('0x37')],'authorId':this[_0x2682('0xf')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x2682('0xb')],'data':this['data'],'attributes':this[_0x2682('0x1c')]};}static[_0x2682('0x36')](){return _0x21bfc9()['substr'](0x1,0x5);}}
23
+ const _0x23ce=['getItems','isIntersecting','getFirstMarker','suggestion:','_saved','map','next','set','getMarkerNames','type','change','createdAt','_markerNames','getMultiRangeId','nodeAfter','removeAttribute','attributes','hasComments','onDiscard','data','addMarkerName','removeMarkers','onAttributesChange','from','_isDataLoaded','accept','addRange','start','getMarkers','toJSON','getAllAdjacentSuggestions','author','split','_onAttributesChange','nodeBefore','creator','length','push','previous','discard','decorate','addMarker','getRange','getRanges','removeMarker','isInContent','@external','isIntersectingWithRange','end','clear','subType','delete','head','get','commentThread','_model','filter'];(function(_0x3b9157,_0x23ce90){const _0x423149=function(_0x1b224){while(--_0x1b224){_0x3b9157['push'](_0x3b9157['shift']());}};_0x423149(++_0x23ce90);}(_0x23ce,0x15e));const _0x4231=function(_0x3b9157,_0x23ce90){_0x3b9157=_0x3b9157-0x0;let _0x423149=_0x23ce[_0x3b9157];return _0x423149;};import{Element as _0x56ce9f}from'ckeditor5/src/engine';import{ObservableMixin as _0x57a541,uid as _0x3cfbe5}from'ckeditor5/src/utils';import{cloneDeep as _0x2f934c,isEqual as _0x224b49,set as _0x339afd,unset as _0x54917b}from'lodash-es';export default class u extends _0x57a541(){constructor(_0x5e58a1,_0x2f02c2){super(),this[_0x4231('0x10')]=!0x1,this['id']=_0x2f02c2['id'],this[_0x4231('0x1')]=_0x2f02c2[_0x4231('0x1')],this[_0x4231('0x2a')]=_0x2f02c2['subType']||null,this[_0x4231('0x17')]=_0x2f02c2[_0x4231('0x17')],this[_0x4231('0x1b')]=_0x2f02c2[_0x4231('0x1b')]||_0x2f02c2[_0x4231('0x17')],this['isExternal']=Boolean(_0x2f02c2[_0x4231('0x8')]&&_0x2f02c2[_0x4231('0x8')][_0x4231('0x26')]),this['data']=null,this['_model']=_0x5e58a1,this['_onAccept']=_0x2f02c2['onAccept'],this['_onDiscard']=_0x2f02c2[_0x4231('0xa')],this['_onAttributesChange']=_0x2f02c2[_0x4231('0xe')],this[_0x4231('0x4')]=new Set(),this[_0x4231('0x3')]=null,this[_0x4231('0x38')]('authoredAt',null),this['set'](_0x4231('0x8'),_0x2f02c2[_0x4231('0x8')]||{}),this[_0x4231('0x38')](_0x4231('0x1e'),null),this[_0x4231('0x38')]('next',null),this['set']('commentThread',null),this['set'](_0x4231('0x35'),!0x1),this[_0x4231('0x20')]('accept'),this[_0x4231('0x20')](_0x4231('0x1f'));}get[_0x4231('0x2c')](){let _0x37fb56=this;for(;_0x37fb56[_0x4231('0x1e')];)_0x37fb56=_0x37fb56[_0x4231('0x1e')];return _0x37fb56;}get[_0x4231('0x9')](){return!!this[_0x4231('0x2e')]&&this[_0x4231('0x2e')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0x4231('0x4')]['size'])return!0x1;return 0x6==Array[_0x4231('0xf')](this['_markerNames'])[0x0][_0x4231('0x18')](':')[_0x4231('0x1c')];}get[_0x4231('0x25')](){return null!==this[_0x4231('0x33')]();}[_0x4231('0xc')](_0x33ebd){this[_0x4231('0x4')]['add'](_0x33ebd);}[_0x4231('0x0')](){return Array[_0x4231('0xf')](this[_0x4231('0x4')]);}[_0x4231('0x14')](){return this[_0x4231('0x0')]()[_0x4231('0x36')](_0xd314e3=>this['_model']['markers'][_0x4231('0x2d')](_0xd314e3))[_0x4231('0x30')](_0x17c9f5=>_0x17c9f5);}[_0x4231('0x33')](){return this[_0x4231('0x14')]()[0x0]||null;}['removeMarkers'](){this[_0x4231('0x2f')]['change'](_0x148d47=>{for(const _0xd99bba of this['getMarkers']())_0x148d47[_0x4231('0x24')](_0xd99bba);}),this['_markerNames'][_0x4231('0x29')]();}[_0x4231('0x24')](_0x42fbe0){this['_model'][_0x4231('0x2')](_0x3f6ad6=>{_0x3f6ad6[_0x4231('0x24')](_0x42fbe0);}),this[_0x4231('0x4')][_0x4231('0x2b')](_0x42fbe0);}[_0x4231('0x12')](_0xbbf4b){const _0x1862c8=_0x4231('0x34')+this[_0x4231('0x1')]+':'+this[_0x4231('0x2a')]+':'+this['id']+':'+this[_0x4231('0x1b')]['id']+':'+u[_0x4231('0x5')]();this[_0x4231('0xc')](_0x1862c8),this['_model'][_0x4231('0x2')](_0x16f6e1=>{_0x16f6e1[_0x4231('0x21')](_0x1862c8,{'range':_0xbbf4b,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4231('0x27')](_0x272227){for(const _0x2672c0 of this[_0x4231('0x23')]())if(_0x2672c0[_0x4231('0x32')](_0x272227))return!0x0;return!0x1;}[_0x4231('0x23')](){return this['getMarkers']()[_0x4231('0x36')](_0x96a6c6=>_0x96a6c6['getRange']());}[_0x4231('0x31')](){return this['getRanges']()['reduce']((_0x5e3e4e,_0x223782)=>[..._0x5e3e4e,..._0x223782[_0x4231('0x31')]()],[]);}['getFirstRange'](){var _0x2851b3;return(null===(_0x2851b3=this['getFirstMarker']())||void 0x0===_0x2851b3?void 0x0:_0x2851b3[_0x4231('0x22')]())||null;}['getContainedElement'](){const _0x15e495=this[_0x4231('0x23')]();if(0x1!=_0x15e495[_0x4231('0x1c')])return null;const _0x4c1b99=_0x15e495[0x0],_0x378d72=_0x4c1b99[_0x4231('0x13')][_0x4231('0x6')],_0x10383f=_0x4c1b99[_0x4231('0x28')][_0x4231('0x1a')];return _0x378d72 instanceof _0x56ce9f?_0x378d72!=_0x10383f?null:_0x378d72:null;}[_0x4231('0x11')](){this['_onAccept'](this[_0x4231('0x23')](),this['data'],this['attributes']),this[_0x4231('0xd')]();}[_0x4231('0x1f')](){this['_onDiscard'](this['getRanges'](),this[_0x4231('0xb')],this[_0x4231('0x8')]),this[_0x4231('0xd')]();}[_0x4231('0x16')](){const _0x2b8887=[];let _0x4b3bab=this['head'];for(;_0x4b3bab;)_0x2b8887[_0x4231('0x1d')](_0x4b3bab),_0x4b3bab=_0x4b3bab[_0x4231('0x37')];return _0x2b8887;}['setAttribute'](_0xbc9d4c,_0x229010){const _0x28841c=_0x2f934c(this['attributes']);_0x339afd(_0x28841c,_0xbc9d4c,_0x229010),_0x224b49(_0x28841c,this[_0x4231('0x8')])||(this['attributes']=_0x28841c,this[_0x4231('0x19')](_0x28841c));}[_0x4231('0x7')](_0x148c73){const _0x28eda1=_0x2f934c(this[_0x4231('0x8')]);_0x54917b(_0x28eda1,_0x148c73),_0x224b49(_0x28eda1,this['attributes'])||(this[_0x4231('0x8')]=_0x28eda1,this['_onAttributesChange'](this['attributes']));}[_0x4231('0x15')](){return{'id':this['id'],'type':this['subType']?this[_0x4231('0x1')]+':'+this['subType']:this[_0x4231('0x1')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x4231('0x9')],'data':this[_0x4231('0xb')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x3cfbe5()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f32=['_itemLabels','name','item','has','getWalker','_handleCustomCallbackDescription','newValue','elementEnd','attribute','getFirstRange','EmptyContainer','indexOf','registerElementLabel','addEmptyContainer','removeContainer','_customCallbacks','_locale','Container','_schema','deletion','_attributeLabels','quantity','type','*Split:*\x20%0','remove','add','get','nodeAfter','length','removeEmptyContainer','_addDescriptionItems','skip','set','_handleInsertRemoveSuggestionDescription','end','normal','insertion','previousSibling','start','*Insert:*\x20%0','softBreak','label','data','isEmpty','removeObject','element','replace','$text','ELEMENT_SPACE','nextSibling','match','_handleRenameSuggestionDescription','_handleAttributeSuggestionDescription','checkChild','key','text','registerDescriptionCallback','removeFormat','join','pop','format','map','function','subType','getItemLabel','addFormat','isObject','push','*Remove\x20format:*\x20%0','Object','*Remove:*\x20%0','_itemLabelsCallbacks','addObject'];(function(_0x572c71,_0x1f322a){const _0x5578e6=function(_0x246b57){while(--_0x246b57){_0x572c71['push'](_0x572c71['shift']());}};_0x5578e6(++_0x1f322a);}(_0x1f32,0x1d2));const _0x5578=function(_0x572c71,_0x1f322a){_0x572c71=_0x572c71-0x0;let _0x5578e6=_0x1f32[_0x572c71];return _0x5578e6;};import{getTranslation as _0x2ec26a}from'./utils/common-translations';import{priorities as _0x342bbd,insertToPriorityArray as _0x2eec1b}from'ckeditor5/src/utils';import{renameAttributeKey as _0x3b4326}from'./trackchangesediting';export default class f{constructor(_0x390be5,_0x402aa6){this['_customCallbacks']=[],this[_0x5578('0x2d')]=new Map(),this[_0x5578('0x2b')]=[],this[_0x5578('0x41')]=new Map(),this[_0x5578('0x3f')]=_0x390be5,this[_0x5578('0x3d')]=_0x402aa6;}['getDescriptions'](_0x138dff){const _0x21521f=[],_0x4541c8=new Set(),_0x2454a4=new Set();for(let _0xca99eb=0x0;_0xca99eb<_0x138dff['length'];_0xca99eb++){const _0x4a739a=_0x138dff[_0xca99eb];if(!_0x4a739a['isInContent'])continue;const _0x4453f4=this[_0x5578('0x32')](_0x4a739a);if(_0x4453f4){if(null!=_0x4a739a[_0x5578('0x23')]){if(_0x4541c8['has'](_0x4a739a[_0x5578('0x23')]))continue;_0x4541c8[_0x5578('0x46')](_0x4a739a[_0x5578('0x23')]);}_0x21521f['push'](_0x4453f4);}else{if(_0x5578('0x35')!=_0x4a739a[_0x5578('0x43')])_0x5578('0x8')!=_0x4a739a[_0x5578('0x43')]&&'deletion'!=_0x4a739a[_0x5578('0x43')]||this[_0x5578('0x5')](_0x21521f,_0x4a739a,_0x138dff[_0xca99eb+0x1]);else{const _0x809b98=_0x4a739a[_0x5578('0xe')][_0x5578('0x1a')];if(_0x2454a4[_0x5578('0x30')](_0x809b98))continue;_0x2454a4[_0x5578('0x46')](_0x4a739a[_0x5578('0xe')][_0x5578('0x1a')]),_0x809b98==_0x3b4326?this[_0x5578('0x17')](_0x21521f,_0x4a739a):this['_handleAttributeSuggestionDescription'](_0x21521f,_0x4a739a);}}}return this['_resolveDescriptionItems'](_0x21521f);}[_0x5578('0x1c')](_0x5118d6){this['_customCallbacks']['push'](_0x5118d6);}[_0x5578('0x39')](_0x3152b5,_0x4b6542,_0x2c9b59=_0x342bbd[_0x5578('0x7')]){_0x5578('0x22')==typeof _0x3152b5?_0x2eec1b(this[_0x5578('0x2b')],{'matchingCallback':_0x3152b5,'label':_0x4b6542,'priority':_0x2c9b59}):this[_0x5578('0x2d')][_0x5578('0x4')](_0x3152b5,_0x4b6542);}['registerAttributeLabel'](_0x38698c,_0x411c03){this['_attributeLabels'][_0x5578('0x4')](_0x38698c,_0x411c03);}[_0x5578('0x24')](_0x49ca15,_0x4aaaf6=0x1){let _0xafedfe;for(const _0x50ab99 of this['_itemLabelsCallbacks'])if(_0x50ab99['matchingCallback'](_0x49ca15)){_0xafedfe=_0x50ab99[_0x5578('0xd')];break;}return _0xafedfe||(_0xafedfe=this[_0x5578('0x2d')][_0x5578('0x47')](_0x49ca15[_0x5578('0x2e')])),_0xafedfe?_0xafedfe(_0x4aaaf6):0x1!==_0x4aaaf6?_0x4aaaf6+'\x20'+_0x49ca15[_0x5578('0x2e')]+'s':''+_0x49ca15[_0x5578('0x2e')];}['_addDescriptionItems'](_0xba55d3,_0x2eae72){const _0x7f20b2=_0x2eae72['getFirstRange']()[_0x5578('0x31')](),_0x1afa8d='insertion'==_0x2eae72['type']?_0x5578('0x46'):_0x5578('0x45');for(const _0xcc11b8 of _0x7f20b2){const _0x5bcde5=_0xcc11b8[_0x5578('0x2f')],_0x415bc9=_0xba55d3[_0xba55d3[_0x5578('0x0')]-0x1];if(_0x5bcde5['is']('$textProxy'))_0x415bc9&&_0x415bc9[_0x5578('0x43')][_0x5578('0x38')](_0x5578('0x3e'))>-0x1&&_0xba55d3[_0x5578('0x1f')](),_0x415bc9&&'text'==_0x415bc9[_0x5578('0x43')]?_0x415bc9[_0x1afa8d]+=_0x5bcde5[_0x5578('0xe')]:_0xba55d3[_0x5578('0x27')]({'type':'text','add':_0x5578('0x46')==_0x1afa8d?_0x5bcde5[_0x5578('0xe')]:'','remove':'remove'==_0x1afa8d?_0x5bcde5['data']:''});else{if(this[_0x5578('0x3f')][_0x5578('0x26')](_0x5bcde5)){const _0xd7a87f=_0x5bcde5;if(_0x415bc9&&_0x415bc9[_0x5578('0x43')][_0x5578('0x38')](_0x5578('0x3e'))>-0x1&&_0xba55d3[_0x5578('0x1f')](),'elementEnd'==_0xcc11b8[_0x5578('0x43')])continue;_0x415bc9&&_0x415bc9[_0x5578('0x43')]==_0x1afa8d+_0x5578('0x29')&&_0x415bc9[_0x5578('0x11')]['name']==_0xd7a87f[_0x5578('0x2e')]?_0x415bc9[_0x5578('0x42')]++:_0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x29'),'element':_0xd7a87f,'quantity':0x1}),_0x7f20b2[_0x5578('0x3')](_0x104521=>!('elementEnd'==_0x104521[_0x5578('0x43')]&&_0x104521['item']==_0x5bcde5));}else{if(this[_0x5578('0x3f')][_0x5578('0x19')](_0x5bcde5,_0x5578('0x13'))||_0x5bcde5['is'](_0x5578('0x11'),_0x5578('0xc'))){const _0x5f2be7=_0x5bcde5;if(_0x5578('0x46')==_0x1afa8d&&'elementStart'==_0xcc11b8[_0x5578('0x43')]||_0x5578('0x45')==_0x1afa8d&&_0x5578('0x34')==_0xcc11b8[_0x5578('0x43')])continue;if(_0x415bc9&&-0x1==_0x415bc9[_0x5578('0x43')][_0x5578('0x38')]('Container')){'text'==_0x415bc9[_0x5578('0x43')]&&(_0x415bc9[_0x1afa8d]+='\x0a');continue;}let _0x24714b;if(_0x24714b=_0x5578('0x46')==_0x1afa8d?_0x5f2be7['nextSibling']&&!this[_0x5578('0x3f')][_0x5578('0x26')](_0x5f2be7[_0x5578('0x15')])?_0x5f2be7[_0x5578('0x15')]:null:_0x5f2be7[_0x5578('0x9')]&&!this[_0x5578('0x3f')]['isObject'](_0x5f2be7[_0x5578('0x9')])?_0x5f2be7['previousSibling']:null,_0x5f2be7['isEmpty']||_0x24714b&&_0x24714b[_0x5578('0xf')]){const _0x4e3c51=_0x24714b&&_0x24714b[_0x5578('0xf')]?_0x24714b:_0x5f2be7;_0x415bc9&&_0x415bc9[_0x5578('0x43')]==_0x1afa8d+_0x5578('0x37')&&_0x415bc9[_0x5578('0x11')][_0x5578('0x2e')]==_0x4e3c51[_0x5578('0x2e')]?_0x415bc9[_0x5578('0x42')]++:_0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x37'),'element':_0x4e3c51,'quantity':0x1});}else _0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x3e'),'element':_0x5f2be7});}}}}}['_resolveDescriptionItems'](_0x4d2187){const _0x5974ce=this['_locale'],_0x144f18=[],_0x34495d=[],_0x101f73=[];for(const _0x4fac44 of _0x4d2187)switch(_0x4fac44[_0x5578('0x43')]){case'text':if(_0x4fac44[_0x5578('0x46')]=_0x4fac44[_0x5578('0x46')][_0x5578('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5578('0x12')](/\u000A/g,''),_0x4fac44[_0x5578('0x45')]=_0x4fac44[_0x5578('0x45')][_0x5578('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5578('0x12')](/\u000A/g,''),''!=_0x4fac44['add']&&''!=_0x4fac44[_0x5578('0x45')]){_0x144f18['push']({'type':_0x5578('0x12'),'content':_0x2ec26a(_0x5974ce,'REPLACE_TEXT',['\x22'+_0x4fac44[_0x5578('0x45')]+'\x22','\x22'+_0x4fac44[_0x5578('0x46')]+'\x22'])});continue;}if(null!=_0x4fac44[_0x5578('0x46')][_0x5578('0x16')](/^ +$/)){_0x144f18['push']({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0xb'),_0x2ec26a(_0x5974ce,_0x5578('0x14'),_0x4fac44[_0x5578('0x46')]['length']))});continue;}if(null!=_0x4fac44[_0x5578('0x45')][_0x5578('0x16')](/^ +$/)){_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),_0x2ec26a(_0x5974ce,'ELEMENT_SPACE',_0x4fac44[_0x5578('0x45')]['length']))});continue;}if(''!=_0x4fac44[_0x5578('0x46')]){_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0xb'),'\x22'+_0x4fac44[_0x5578('0x46')]+'\x22')});continue;}_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),'\x22'+_0x4fac44[_0x5578('0x45')]+'\x22')});continue;case _0x5578('0x3a'):case _0x5578('0x2c'):_0x144f18[_0x5578('0x27')]({'type':'insertion','content':_0x2ec26a(_0x5974ce,'*Insert:*\x20%0',this[_0x5578('0x24')](_0x4fac44[_0x5578('0x11')],_0x4fac44[_0x5578('0x42')]))});continue;case _0x5578('0x1'):case _0x5578('0x10'):_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),this[_0x5578('0x24')](_0x4fac44['element'],_0x4fac44['quantity']))});continue;case'addContainer':_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x44'),this[_0x5578('0x24')](_0x4fac44[_0x5578('0x11')],_0x4fac44['quantity']))});continue;case _0x5578('0x3b'):_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,'*Merge:*\x20%0',this[_0x5578('0x24')](_0x4fac44['element'],_0x4fac44[_0x5578('0x42')]))});continue;case _0x5578('0x25'):_0x34495d[_0x5578('0x27')](_0x4fac44[_0x5578('0x1a')]);continue;case _0x5578('0x1d'):_0x101f73[_0x5578('0x27')](_0x4fac44['key']);continue;default:_0x144f18[_0x5578('0x27')](_0x4fac44);}if(_0x34495d[_0x5578('0x0')]){const _0x1819d6=_0x34495d[_0x5578('0x21')](_0x447693=>this[_0x5578('0x41')]['has'](_0x447693)?this[_0x5578('0x41')][_0x5578('0x47')](_0x447693):_0x447693)[_0x5578('0x1e')](',\x20');_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x20'),'content':_0x2ec26a(this[_0x5578('0x3d')],'*Set\x20format:*\x20%0',_0x1819d6)});}if(_0x101f73[_0x5578('0x0')]){const _0x1c0b49=_0x101f73['map'](_0x3b08eb=>this[_0x5578('0x41')][_0x5578('0x30')](_0x3b08eb)?this[_0x5578('0x41')][_0x5578('0x47')](_0x3b08eb):_0x3b08eb)[_0x5578('0x1e')](',\x20');_0x144f18[_0x5578('0x27')]({'type':'format','content':_0x2ec26a(this[_0x5578('0x3d')],_0x5578('0x28'),_0x1c0b49)});}return _0x144f18;}[_0x5578('0x32')](_0x24df82){for(const _0x283be5 of this[_0x5578('0x3c')]){const _0x252a6a=_0x283be5(_0x24df82);if(_0x252a6a&&_0x5578('0x43')in _0x252a6a)return _0x252a6a;}}[_0x5578('0x18')](_0x3a0252,_0x4c961f){const _0x2e9293=_0x4c961f[_0x5578('0xe')],_0x14d9ee=void 0x0===_0x2e9293[_0x5578('0x33')]?_0x5578('0x1d'):_0x5578('0x25');_0x3a0252[_0x5578('0x27')]({'type':_0x14d9ee,'key':_0x2e9293[_0x5578('0x1a')]});}[_0x5578('0x17')](_0x53f4d2,_0x3c6749){_0x53f4d2[_0x5578('0x27')]({'type':'format','content':_0x2ec26a(this[_0x5578('0x3d')],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x3c6749[_0x5578('0x36')]()[_0x5578('0xa')][_0x5578('0x48')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x2ed41b,_0xe10fd8,_0x46ea69){if(this[_0x5578('0x2')](_0x2ed41b,_0xe10fd8),_0x46ea69&&_0x46ea69[_0x5578('0x36')]()&&!_0xe10fd8[_0x5578('0x36')]()[_0x5578('0x6')]['isEqual'](_0x46ea69[_0x5578('0x36')]()[_0x5578('0xa')])){const _0x133e51=_0x2ed41b[_0x2ed41b['length']-0x1],_0x490a6a=_0x5578('0x8')==_0xe10fd8[_0x5578('0x43')]?_0x5578('0x46'):_0x5578('0x45');_0x133e51&&_0x5578('0x1b')==_0x133e51[_0x5578('0x43')]&&(_0x133e51[_0x490a6a]+='\x0a');}}}
23
+ const _0x50d5=['get','$1\x20$2','*Split:*\x20%0','item','start','elementEnd','add','getWalker','quantity','checkChild','length','key','_handleInsertRemoveSuggestionDescription','match','remove','data','addEmptyContainer','addFormat','isInContent','registerDescriptionCallback','$text','_handleAttributeSuggestionDescription','function','EmptyContainer','normal','replace','$textProxy','has','removeEmptyContainer','indexOf','format','isObject','_handleRenameSuggestionDescription','matchingCallback','insertion','newValue','name','_addDescriptionItems','_attributeLabels','text','addContainer','push','_locale','*Insert:*\x20%0','set','*Change\x20to:*\x20%0','previousSibling','removeObject','subType','type','isEmpty','*Remove\x20format:*\x20%0','pop','deletion','_handleCustomCallbackDescription','label','removeFormat','REPLACE_TEXT','ELEMENT_SPACE','isEqual','_itemLabels','registerElementLabel','_resolveDescriptionItems','elementStart','nextSibling','_schema','registerAttributeLabel','Object','getDescriptions','_itemLabelsCallbacks','getItemLabel','join','map','_customCallbacks','addObject','attribute','*Merge:*\x20%0','element','*Remove:*\x20%0','getFirstRange','removeContainer','Container'];(function(_0x5ef784,_0x50d530){const _0x520906=function(_0x25ab5d){while(--_0x25ab5d){_0x5ef784['push'](_0x5ef784['shift']());}};_0x520906(++_0x50d530);}(_0x50d5,0x1f3));const _0x5209=function(_0x5ef784,_0x50d530){_0x5ef784=_0x5ef784-0x0;let _0x520906=_0x50d5[_0x5ef784];return _0x520906;};import{getTranslation as _0x4b1ea6}from'./utils/common-translations';import{priorities as _0xa86e78,insertToPriorityArray as _0x34940f}from'ckeditor5/src/utils';import{renameAttributeKey as _0x39d24c}from'./trackchangesediting';export default class f{constructor(_0x57c016,_0x3852c0){this[_0x5209('0x42')]=[],this[_0x5209('0x35')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x5209('0x1f')]=new Map(),this[_0x5209('0x3a')]=_0x57c016,this[_0x5209('0x23')]=_0x3852c0;}[_0x5209('0x3d')](_0x7d2bb4){const _0x4a90d5=[],_0x568671=new Set(),_0x41da55=new Set();for(let _0x21fd52=0x0;_0x21fd52<_0x7d2bb4[_0x5209('0x3')];_0x21fd52++){const _0x218850=_0x7d2bb4[_0x21fd52];if(!_0x218850[_0x5209('0xb')])continue;const _0x39acba=this[_0x5209('0x2f')](_0x218850);if(_0x39acba){if(null!=_0x218850[_0x5209('0x29')]){if(_0x568671['has'](_0x218850['subType']))continue;_0x568671['add'](_0x218850[_0x5209('0x29')]);}_0x4a90d5['push'](_0x39acba);}else{if(_0x5209('0x44')!=_0x218850[_0x5209('0x2a')])'insertion'!=_0x218850[_0x5209('0x2a')]&&_0x5209('0x2e')!=_0x218850[_0x5209('0x2a')]||this[_0x5209('0x5')](_0x4a90d5,_0x218850,_0x7d2bb4[_0x21fd52+0x1]);else{const _0x14dc9b=_0x218850[_0x5209('0x8')][_0x5209('0x4')];if(_0x41da55[_0x5209('0x14')](_0x14dc9b))continue;_0x41da55[_0x5209('0x51')](_0x218850[_0x5209('0x8')]['key']),_0x14dc9b==_0x39d24c?this[_0x5209('0x19')](_0x4a90d5,_0x218850):this['_handleAttributeSuggestionDescription'](_0x4a90d5,_0x218850);}}}return this[_0x5209('0x37')](_0x4a90d5);}[_0x5209('0xc')](_0x2caa00){this[_0x5209('0x42')][_0x5209('0x22')](_0x2caa00);}[_0x5209('0x36')](_0x521ac1,_0x149bf2,_0x35165e=_0xa86e78[_0x5209('0x11')]){_0x5209('0xf')==typeof _0x521ac1?_0x34940f(this[_0x5209('0x3e')],{'matchingCallback':_0x521ac1,'label':_0x149bf2,'priority':_0x35165e}):this[_0x5209('0x35')][_0x5209('0x25')](_0x521ac1,_0x149bf2);}[_0x5209('0x3b')](_0x4ca801,_0x4388bf){this[_0x5209('0x1f')]['set'](_0x4ca801,_0x4388bf);}['getItemLabel'](_0x4fad52,_0x6b6a24=0x1){let _0xdd3e9d;for(const _0x3fe4bd of this[_0x5209('0x3e')])if(_0x3fe4bd[_0x5209('0x1a')](_0x4fad52)){_0xdd3e9d=_0x3fe4bd[_0x5209('0x30')];break;}return _0xdd3e9d||(_0xdd3e9d=this[_0x5209('0x35')][_0x5209('0x4b')](_0x4fad52[_0x5209('0x1d')])),_0xdd3e9d?_0xdd3e9d(_0x6b6a24):0x1!==_0x6b6a24?_0x6b6a24+'\x20'+_0x4fad52[_0x5209('0x1d')]+'s':''+_0x4fad52['name'];}[_0x5209('0x1e')](_0x3dae25,_0x196d06){const _0x529b9c=_0x196d06[_0x5209('0x48')]()[_0x5209('0x0')](),_0x473603=_0x5209('0x1b')==_0x196d06[_0x5209('0x2a')]?'add':_0x5209('0x7');for(const _0x48d657 of _0x529b9c){const _0x250b53=_0x48d657['item'],_0x5b21f2=_0x3dae25[_0x3dae25[_0x5209('0x3')]-0x1];if(_0x250b53['is'](_0x5209('0x13')))_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')][_0x5209('0x16')](_0x5209('0x4a'))>-0x1&&_0x3dae25[_0x5209('0x2d')](),_0x5b21f2&&_0x5209('0x20')==_0x5b21f2['type']?_0x5b21f2[_0x473603]+=_0x250b53[_0x5209('0x8')]:_0x3dae25[_0x5209('0x22')]({'type':'text','add':'add'==_0x473603?_0x250b53[_0x5209('0x8')]:'','remove':_0x5209('0x7')==_0x473603?_0x250b53['data']:''});else{if(this[_0x5209('0x3a')][_0x5209('0x18')](_0x250b53)){const _0x3d5b12=_0x250b53;if(_0x5b21f2&&_0x5b21f2['type'][_0x5209('0x16')](_0x5209('0x4a'))>-0x1&&_0x3dae25[_0x5209('0x2d')](),_0x5209('0x50')==_0x48d657[_0x5209('0x2a')])continue;_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')]==_0x473603+_0x5209('0x3c')&&_0x5b21f2[_0x5209('0x46')][_0x5209('0x1d')]==_0x3d5b12['name']?_0x5b21f2['quantity']++:_0x3dae25['push']({'type':_0x473603+'Object','element':_0x3d5b12,'quantity':0x1}),_0x529b9c['skip'](_0x441dec=>!(_0x5209('0x50')==_0x441dec[_0x5209('0x2a')]&&_0x441dec[_0x5209('0x4e')]==_0x250b53));}else{if(this[_0x5209('0x3a')][_0x5209('0x2')](_0x250b53,_0x5209('0xd'))||_0x250b53['is'](_0x5209('0x46'),'softBreak')){const _0x104aae=_0x250b53;if(_0x5209('0x51')==_0x473603&&_0x5209('0x38')==_0x48d657[_0x5209('0x2a')]||_0x5209('0x7')==_0x473603&&_0x5209('0x50')==_0x48d657['type'])continue;if(_0x5b21f2&&-0x1==_0x5b21f2[_0x5209('0x2a')][_0x5209('0x16')](_0x5209('0x4a'))){'text'==_0x5b21f2[_0x5209('0x2a')]&&(_0x5b21f2[_0x473603]+='\x0a');continue;}let _0x141c5f;if(_0x141c5f=_0x5209('0x51')==_0x473603?_0x104aae['nextSibling']&&!this[_0x5209('0x3a')][_0x5209('0x18')](_0x104aae[_0x5209('0x39')])?_0x104aae[_0x5209('0x39')]:null:_0x104aae[_0x5209('0x27')]&&!this[_0x5209('0x3a')][_0x5209('0x18')](_0x104aae['previousSibling'])?_0x104aae[_0x5209('0x27')]:null,_0x104aae[_0x5209('0x2b')]||_0x141c5f&&_0x141c5f['isEmpty']){const _0x155d6c=_0x141c5f&&_0x141c5f[_0x5209('0x2b')]?_0x141c5f:_0x104aae;_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')]==_0x473603+'EmptyContainer'&&_0x5b21f2[_0x5209('0x46')]['name']==_0x155d6c[_0x5209('0x1d')]?_0x5b21f2[_0x5209('0x1')]++:_0x3dae25[_0x5209('0x22')]({'type':_0x473603+_0x5209('0x10'),'element':_0x155d6c,'quantity':0x1});}else _0x3dae25[_0x5209('0x22')]({'type':_0x473603+_0x5209('0x4a'),'element':_0x104aae});}}}}}[_0x5209('0x37')](_0x1f280d){const _0x10b6fc=this['_locale'],_0xa77b1e=[],_0x40666f=[],_0xa079e4=[];for(const _0xe64a0d of _0x1f280d)switch(_0xe64a0d[_0x5209('0x2a')]){case _0x5209('0x20'):if(_0xe64a0d[_0x5209('0x51')]=_0xe64a0d[_0x5209('0x51')][_0x5209('0x12')](/(\S)\u000A+(\S)/g,_0x5209('0x4c'))[_0x5209('0x12')](/\u000A/g,''),_0xe64a0d['remove']=_0xe64a0d['remove'][_0x5209('0x12')](/(\S)\u000A+(\S)/g,_0x5209('0x4c'))[_0x5209('0x12')](/\u000A/g,''),''!=_0xe64a0d['add']&&''!=_0xe64a0d[_0x5209('0x7')]){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x12'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x32'),['\x22'+_0xe64a0d['remove']+'\x22','\x22'+_0xe64a0d[_0x5209('0x51')]+'\x22'])});continue;}if(null!=_0xe64a0d[_0x5209('0x51')][_0x5209('0x6')](/^ +$/)){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x24'),_0x4b1ea6(_0x10b6fc,_0x5209('0x33'),_0xe64a0d[_0x5209('0x51')][_0x5209('0x3')]))});continue;}if(null!=_0xe64a0d[_0x5209('0x7')][_0x5209('0x6')](/^ +$/)){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x47'),_0x4b1ea6(_0x10b6fc,_0x5209('0x33'),_0xe64a0d[_0x5209('0x7')][_0x5209('0x3')]))});continue;}if(''!=_0xe64a0d[_0x5209('0x51')]){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,'*Insert:*\x20%0','\x22'+_0xe64a0d[_0x5209('0x51')]+'\x22')});continue;}_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,'*Remove:*\x20%0','\x22'+_0xe64a0d[_0x5209('0x7')]+'\x22')});continue;case _0x5209('0x9'):case _0x5209('0x43'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,'*Insert:*\x20%0',this[_0x5209('0x3f')](_0xe64a0d['element'],_0xe64a0d['quantity']))});continue;case _0x5209('0x15'):case _0x5209('0x28'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x47'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d[_0x5209('0x1')]))});continue;case _0x5209('0x21'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x4d'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d[_0x5209('0x1')]))});continue;case _0x5209('0x49'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x45'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d['quantity']))});continue;case _0x5209('0xa'):_0x40666f[_0x5209('0x22')](_0xe64a0d[_0x5209('0x4')]);continue;case _0x5209('0x31'):_0xa079e4[_0x5209('0x22')](_0xe64a0d[_0x5209('0x4')]);continue;default:_0xa77b1e[_0x5209('0x22')](_0xe64a0d);}if(_0x40666f[_0x5209('0x3')]){const _0x58ce3f=_0x40666f['map'](_0x51ee4f=>this['_attributeLabels']['has'](_0x51ee4f)?this['_attributeLabels']['get'](_0x51ee4f):_0x51ee4f)[_0x5209('0x40')](',\x20');_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],'*Set\x20format:*\x20%0',_0x58ce3f)});}if(_0xa079e4[_0x5209('0x3')]){const _0x57885d=_0xa079e4[_0x5209('0x41')](_0x433e5c=>this[_0x5209('0x1f')]['has'](_0x433e5c)?this[_0x5209('0x1f')][_0x5209('0x4b')](_0x433e5c):_0x433e5c)[_0x5209('0x40')](',\x20');_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],_0x5209('0x2c'),_0x57885d)});}return _0xa77b1e;}[_0x5209('0x2f')](_0x27b71b){for(const _0x3685a4 of this[_0x5209('0x42')]){const _0x98b2ad=_0x3685a4(_0x27b71b);if(_0x98b2ad&&_0x5209('0x2a')in _0x98b2ad)return _0x98b2ad;}}[_0x5209('0xe')](_0x193c9c,_0x27ecbd){const _0x4e4c07=_0x27ecbd[_0x5209('0x8')],_0x213968=void 0x0===_0x4e4c07[_0x5209('0x1c')]?_0x5209('0x31'):_0x5209('0xa');_0x193c9c['push']({'type':_0x213968,'key':_0x4e4c07[_0x5209('0x4')]});}[_0x5209('0x19')](_0x387729,_0x2c2520){_0x387729[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],_0x5209('0x26'),this[_0x5209('0x3f')](_0x2c2520[_0x5209('0x48')]()[_0x5209('0x4f')]['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x19abb1,_0x24cfdb,_0x606093){if(this['_addDescriptionItems'](_0x19abb1,_0x24cfdb),_0x606093&&_0x606093[_0x5209('0x48')]()&&!_0x24cfdb[_0x5209('0x48')]()['end'][_0x5209('0x34')](_0x606093[_0x5209('0x48')]()[_0x5209('0x4f')])){const _0x1ec491=_0x19abb1[_0x19abb1[_0x5209('0x3')]-0x1],_0x3f4333=_0x5209('0x1b')==_0x24cfdb['type']?_0x5209('0x51'):'remove';_0x1ec491&&_0x5209('0x20')==_0x1ec491[_0x5209('0x2a')]&&(_0x1ec491[_0x3f4333]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1edf=['addSuggestionData','requires','getSuggestion','get','getSuggestions','editor','Comments','addSuggestion','plugins','adapter'];(function(_0x387ca9,_0x1edf0b){var _0x13e900=function(_0x45e691){while(--_0x45e691){_0x387ca9['push'](_0x387ca9['shift']());}};_0x13e900(++_0x1edf0b);}(_0x1edf,0x151));var _0x13e9=function(_0x387ca9,_0x1edf0b){_0x387ca9=_0x387ca9-0x0;var _0x13e900=_0x1edf[_0x387ca9];return _0x13e900;};import{Plugin as _0x34a0e0}from'ckeditor5/src/core';import _0x4b107e from'./trackchangesui';import _0x571f1d from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x34a0e0{static get[_0x13e9('0x4')](){return[_0x571f1d,_0x4b107e,_0x13e9('0x9')];}static get['pluginName'](){return'TrackChanges';}set[_0x13e9('0x2')](_0xca6520){this['editor'][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x2')]=_0xca6520;}get[_0x13e9('0x2')](){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x2')];}[_0x13e9('0x0')](_0x3e5ff5){return this['editor'][_0x13e9('0x1')]['get'](_0x571f1d)[_0x13e9('0x3')](_0x3e5ff5);}[_0x13e9('0x7')]({skipNotAttached:_0x3eb956=!0x1,toJSON:_0x211e57=!0x1}={}){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x7')]({'skipNotAttached':_0x3eb956,'toJSON':_0x211e57});}[_0x13e9('0x5')](_0x43161e){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x5')](_0x43161e);}}
23
+ var _0x5c01=['pluginName','requires','adapter','editor','getSuggestion','getSuggestions','plugins','addSuggestionData','Comments','get'];(function(_0x57c496,_0x5c0165){var _0x1e88e4=function(_0x57a0df){while(--_0x57a0df){_0x57c496['push'](_0x57c496['shift']());}};_0x1e88e4(++_0x5c0165);}(_0x5c01,0x1d5));var _0x1e88=function(_0x57c496,_0x5c0165){_0x57c496=_0x57c496-0x0;var _0x1e88e4=_0x5c01[_0x57c496];return _0x1e88e4;};import{Plugin as _0x16555a}from'ckeditor5/src/core';import _0x15ddf6 from'./trackchangesui';import _0x24cfd0 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x16555a{static get[_0x1e88('0x2')](){return[_0x24cfd0,_0x15ddf6,_0x1e88('0x9')];}static get[_0x1e88('0x1')](){return'TrackChanges';}set['adapter'](_0x3c51af){this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x3')]=_0x3c51af;}get[_0x1e88('0x3')](){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x3')];}['addSuggestion'](_0x3bd241){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x8')](_0x3bd241);}[_0x1e88('0x6')]({skipNotAttached:_0x120dad=!0x1,toJSON:_0x2c9a6a=!0x1}={}){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x6')]({'skipNotAttached':_0x120dad,'toJSON':_0x2c9a6a});}[_0x1e88('0x5')](_0x2dcb9f){return this[_0x1e88('0x4')][_0x1e88('0x7')]['get'](_0x24cfd0)[_0x1e88('0x5')](_0x2dcb9f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b8=['init','appendChild','define','discardAllSuggestions','create','constructor','editorCreator','data','getDataWithAcceptedSuggestions','trackChangesData.editorCreator','TrackChangesEditing','createDocumentFragment','div','requires','addUser','_adapter','getFullData','getUser','getRootNames','trackChangesData','model','useAnonymousUser','name','track-changes-data-invalid-editor-creator','acceptAllSuggestions','document','editor','createElement','users','end','push','plugins','config','function','TrackChangesDataGetter','addSuggestionData','get','getRootsAttributes','reduce','Users','rootsAttributes','execute'];(function(_0x3bf0e2,_0x13b87c){const _0x320e4a=function(_0x4e2667){while(--_0x4e2667){_0x3bf0e2['push'](_0x3bf0e2['shift']());}};_0x320e4a(++_0x13b87c);}(_0x13b8,0x160));const _0x320e=function(_0x3bf0e2,_0x13b87c){_0x3bf0e2=_0x3bf0e2-0x0;let _0x320e4a=_0x13b8[_0x3bf0e2];return _0x320e4a;};import{Plugin as _0xe97ed4}from'ckeditor5/src/core';import{CKEditorError as _0x3983e4}from'ckeditor5/src/utils';import _0x2929c7 from'./trackchangesediting';import{sanitizeEditorConfig as _0x4527f5}from'ckeditor5-collaboration/src/collaboration-core';const T=['Pagination'];export default class P extends _0xe97ed4{static get[_0x320e('0x27')](){return[_0x2929c7];}static get['pluginName'](){return'TrackChangesData';}['init'](){const _0x50d828=this[_0x320e('0xa')];if(_0x50d828[_0x320e('0x10')][_0x320e('0x1c')](_0x320e('0x23'),_0x46deea=>{const _0x3aef21=_0x50d828[_0x320e('0x4')][_0x320e('0x9')][_0x320e('0x2')]()[_0x320e('0x16')]((_0x140549,_0x3d39d4)=>(_0x140549[_0x3d39d4]='',_0x140549),{});return _0x50d828[_0x320e('0x1f')][_0x320e('0x1e')](_0x3aef21,_0x46deea);}),_0x320e('0x11')!=typeof _0x50d828[_0x320e('0x10')][_0x320e('0x14')](_0x320e('0x3'))[_0x320e('0x20')])throw new _0x3983e4(_0x320e('0x7'));}[_0x320e('0x22')](_0x273016){return N(this[_0x320e('0xa')],!0x0,_0x273016);}['getDataWithDiscardedSuggestions'](_0x2185b4){return N(this[_0x320e('0xa')],!0x1,_0x2185b4);}}class D extends _0xe97ed4{static get['pluginName'](){return _0x320e('0x12');}constructor(_0x2e0100){super(_0x2e0100),this['result']=_0x320e('0xd');}[_0x320e('0x1a')](){this[_0x320e('0xa')][_0x320e('0xf')]['get']('CommentsRepository')[_0x320e('0x29')]={'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[_0x320e('0xa')][_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'))[_0x320e('0x29')]=null;}}function v(_0x211f4f){return void 0x0!==_0x211f4f[_0x320e('0x15')];}async function N(_0x471e62,_0x59bebb,_0x934f10){const _0x3e8301=_0x4527f5(_0x471e62,T);_0x3e8301[_0x320e('0xf')][_0x320e('0xe')](_0x2929c7,D),_0x3e8301[_0x320e('0x18')]=v(_0x471e62)?_0x471e62[_0x320e('0x15')]():void 0x0;const _0x306772=document[_0x320e('0x25')](),_0x4a03bb=_0x471e62['config'][_0x320e('0x14')](_0x320e('0x3'))[_0x320e('0x20')],_0x205a6d=await _0x4a03bb(_0x3e8301,()=>function(_0x2c395c){const _0x2eb733=document[_0x320e('0xb')](_0x320e('0x26'));return _0x2c395c[_0x320e('0x1b')](_0x2eb733),_0x2eb733;}(_0x306772));!function(_0x5cf033,_0x3d7c53){const _0x3db1cb=_0x5cf033[_0x320e('0x4')][_0x320e('0x9')][_0x320e('0x2')]()[_0x320e('0x16')]((_0x28cf54,_0x9639a5)=>(_0x28cf54[_0x9639a5]=_0x5cf033[_0x320e('0x21')][_0x320e('0x14')]({'rootName':_0x9639a5}),_0x28cf54),{}),_0x4092b5=_0x5cf033['plugins']['get'](_0x320e('0x17'))[_0x320e('0xc')]['map'](_0x9f2b8d=>({'id':_0x9f2b8d['id'],'name':_0x9f2b8d[_0x320e('0x6')]})),_0x2314c4=_0x5cf033[_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x53c87c=_0x3d7c53[_0x320e('0xf')][_0x320e('0x14')]('Users'),_0x1bba9a=_0x3d7c53[_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'));for(const _0x533932 of _0x4092b5)_0x53c87c[_0x320e('0x1')](_0x533932['id'])||_0x53c87c[_0x320e('0x28')](_0x533932);_0x53c87c['me']||_0x53c87c[_0x320e('0x5')]();for(const _0x14ab39 of _0x2314c4)_0x1bba9a[_0x320e('0x13')](_0x14ab39);_0x3d7c53[_0x320e('0x21')]['set'](_0x3db1cb);}(_0x471e62,_0x205a6d),_0x205a6d[_0x320e('0x19')](_0x59bebb?_0x320e('0x8'):_0x320e('0x1d'));const _0x24b4fd=v(_0x205a6d)?_0x205a6d[_0x320e('0x0')](_0x934f10):_0x205a6d[_0x320e('0x21')][_0x320e('0x14')](_0x934f10);return await _0x205a6d['destroy'](),_0x24b4fd;}
23
+ const _0x42b9=['execute','init','CommentsRepository','TrackChangesEditing','getDataWithDiscardedSuggestions','getRootsAttributes','trackChangesData','plugins','push','create','TrackChangesDataGetter','_adapter','function','createElement','config','Users','reduce','set','pluginName','define','result','addUser','data','editorCreator','name','requires','get','getFullData','end','getRootNames','addSuggestionData','document','trackChangesData.editorCreator','map','model','track-changes-data-invalid-editor-creator','Pagination','destroy','users','editor'];(function(_0x20b282,_0x42b9ed){const _0x59bc0a=function(_0x524530){while(--_0x524530){_0x20b282['push'](_0x20b282['shift']());}};_0x59bc0a(++_0x42b9ed);}(_0x42b9,0xed));const _0x59bc=function(_0x20b282,_0x42b9ed){_0x20b282=_0x20b282-0x0;let _0x59bc0a=_0x42b9[_0x20b282];return _0x59bc0a;};import{Plugin as _0x61dec1}from'ckeditor5/src/core';import{CKEditorError as _0xe1e9ac}from'ckeditor5/src/utils';import _0x2543d7 from'./trackchangesediting';import{sanitizeEditorConfig as _0x475a8d}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x59bc('0x27')];export default class P extends _0x61dec1{static get[_0x59bc('0x1c')](){return[_0x2543d7];}static get['pluginName'](){return'TrackChangesData';}[_0x59bc('0x4')](){const _0x2b0df1=this[_0x59bc('0x2')];if(_0x2b0df1['config'][_0x59bc('0x16')](_0x59bc('0x23'),_0xfbd6ad=>{const _0x58c4e5=_0x2b0df1[_0x59bc('0x25')]['document'][_0x59bc('0x20')]()[_0x59bc('0x13')]((_0x3bdc65,_0x49d4d6)=>(_0x3bdc65[_0x49d4d6]='',_0x3bdc65),{});return _0x2b0df1['constructor'][_0x59bc('0xc')](_0x58c4e5,_0xfbd6ad);}),_0x59bc('0xf')!=typeof _0x2b0df1[_0x59bc('0x11')][_0x59bc('0x1d')](_0x59bc('0x9'))[_0x59bc('0x1a')])throw new _0xe1e9ac(_0x59bc('0x26'));}['getDataWithAcceptedSuggestions'](_0x1f1e7e){return N(this[_0x59bc('0x2')],!0x0,_0x1f1e7e);}[_0x59bc('0x7')](_0x4b3ca9){return N(this[_0x59bc('0x2')],!0x1,_0x4b3ca9);}}class D extends _0x61dec1{static get[_0x59bc('0x15')](){return _0x59bc('0xd');}constructor(_0x4c0b5f){super(_0x4c0b5f),this[_0x59bc('0x17')]=_0x59bc('0x1f');}['init'](){this['editor'][_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x5'))[_0x59bc('0xe')]={'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[_0x59bc('0x2')][_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x6'))[_0x59bc('0xe')]=null;}}function v(_0x4074f4){return void 0x0!==_0x4074f4[_0x59bc('0x8')];}async function N(_0x2903a8,_0x513468,_0x2990fc){const _0x233d9c=_0x475a8d(_0x2903a8,T);_0x233d9c[_0x59bc('0xa')][_0x59bc('0xb')](_0x2543d7,D),_0x233d9c['rootsAttributes']=v(_0x2903a8)?_0x2903a8[_0x59bc('0x8')]():void 0x0;const _0x22bc0d=document['createDocumentFragment'](),_0x5180cf=_0x2903a8['config']['get']('trackChangesData')[_0x59bc('0x1a')],_0x2362b3=await _0x5180cf(_0x233d9c,()=>function(_0x15549c){const _0x588e32=document[_0x59bc('0x10')]('div');return _0x15549c['appendChild'](_0x588e32),_0x588e32;}(_0x22bc0d));!function(_0x703748,_0x5a2fa7){const _0x374bd5=_0x703748['model'][_0x59bc('0x22')][_0x59bc('0x20')]()[_0x59bc('0x13')]((_0x3f7e78,_0x2f0dd1)=>(_0x3f7e78[_0x2f0dd1]=_0x703748[_0x59bc('0x19')][_0x59bc('0x1d')]({'rootName':_0x2f0dd1}),_0x3f7e78),{}),_0x2acfba=_0x703748['plugins']['get'](_0x59bc('0x12'))[_0x59bc('0x1')][_0x59bc('0x24')](_0x2373e1=>({'id':_0x2373e1['id'],'name':_0x2373e1[_0x59bc('0x1b')]})),_0x2f9730=_0x703748[_0x59bc('0xa')][_0x59bc('0x1d')]('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x17b653=_0x5a2fa7['plugins'][_0x59bc('0x1d')](_0x59bc('0x12')),_0x20ca9d=_0x5a2fa7[_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x6'));for(const _0x184f39 of _0x2acfba)_0x17b653['getUser'](_0x184f39['id'])||_0x17b653[_0x59bc('0x18')](_0x184f39);_0x17b653['me']||_0x17b653['useAnonymousUser']();for(const _0x1b2fe0 of _0x2f9730)_0x20ca9d[_0x59bc('0x21')](_0x1b2fe0);_0x5a2fa7['data'][_0x59bc('0x14')](_0x374bd5);}(_0x2903a8,_0x2362b3),_0x2362b3[_0x59bc('0x3')](_0x513468?'acceptAllSuggestions':'discardAllSuggestions');const _0x136fe2=v(_0x2362b3)?_0x2362b3[_0x59bc('0x1e')](_0x2990fc):_0x2362b3[_0x59bc('0x19')][_0x59bc('0x1d')](_0x2990fc);return await _0x2362b3[_0x59bc('0x0')](),_0x136fe2;}