@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240204.0 → 0.0.0-nightly-20240206.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 (67) 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/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.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/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x190e=['substr','creator','set','getMarkers','isIntersectingWithRange','nodeAfter','_onAccept','_model','commentThread','discard','getAllAdjacentSuggestions','length','next','onAccept','hasComments','clear','reduce','getMultiRangeId','data','@external','from','delete','_isDataLoaded','push','_markerNames','onAttributesChange','attributes','accept','getRange','isIntersecting','getFirstMarker','getMarkerNames','removeMarkers','subType','authoredAt','author','suggestion:','type','nodeBefore','getRanges','createdAt','split','previous','_onDiscard','decorate','isInContent','start','addRange','isExternal','getItems','end','markers','toJSON','setAttribute','addMarkerName','getFirstRange','filter','addMarker','change','_onAttributesChange','getContainedElement'];(function(_0x39a90e,_0x190e5c){const _0x259f1e=function(_0xd5b7d){while(--_0xd5b7d){_0x39a90e['push'](_0x39a90e['shift']());}};_0x259f1e(++_0x190e5c);}(_0x190e,0x156));const _0x259f=function(_0x39a90e,_0x190e5c){_0x39a90e=_0x39a90e-0x0;let _0x259f1e=_0x190e[_0x39a90e];return _0x259f1e;};import{Element as _0x43250b}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x54d4fb,uid as _0x51d9fd}from'ckeditor5/src/utils.js';import{cloneDeep as _0x34f161,isEqual as _0x5f3bbd,set as _0x3d1cc7,unset as _0x5a1ca9}from'lodash-es';export default class u extends _0x54d4fb(){constructor(_0x5a03e8,_0x3334f4){super(),this[_0x259f('0x2e')]=!0x1,this['id']=_0x3334f4['id'],this[_0x259f('0x0')]=_0x3334f4[_0x259f('0x0')],this['subType']=_0x3334f4[_0x259f('0x39')]||null,this['author']=_0x3334f4[_0x259f('0x3b')],this[_0x259f('0x19')]=_0x3334f4['creator']||_0x3334f4[_0x259f('0x3b')],this[_0x259f('0xb')]=Boolean(_0x3334f4[_0x259f('0x32')]&&_0x3334f4[_0x259f('0x32')][_0x259f('0x2b')]),this[_0x259f('0x2a')]=null,this[_0x259f('0x1f')]=_0x5a03e8,this[_0x259f('0x1e')]=_0x3334f4[_0x259f('0x25')],this['_onDiscard']=_0x3334f4['onDiscard'],this[_0x259f('0x16')]=_0x3334f4[_0x259f('0x31')],this[_0x259f('0x30')]=new Set(),this[_0x259f('0x3')]=null,this[_0x259f('0x1a')](_0x259f('0x3a'),null),this[_0x259f('0x1a')](_0x259f('0x32'),_0x3334f4[_0x259f('0x32')]||{}),this[_0x259f('0x1a')](_0x259f('0x5'),null),this[_0x259f('0x1a')](_0x259f('0x24'),null),this[_0x259f('0x1a')](_0x259f('0x20'),null),this[_0x259f('0x1a')]('_saved',!0x1),this[_0x259f('0x7')](_0x259f('0x33')),this['decorate'](_0x259f('0x21'));}get['head'](){let _0x28770f=this;for(;_0x28770f[_0x259f('0x5')];)_0x28770f=_0x28770f[_0x259f('0x5')];return _0x28770f;}get[_0x259f('0x26')](){return!!this[_0x259f('0x20')]&&this[_0x259f('0x20')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0x259f('0x30')]['size'])return!0x1;return 0x6==Array[_0x259f('0x2c')](this[_0x259f('0x30')])[0x0][_0x259f('0x4')](':')[_0x259f('0x23')];}get[_0x259f('0x8')](){return null!==this[_0x259f('0x36')]();}[_0x259f('0x11')](_0x2291b1){this[_0x259f('0x30')]['add'](_0x2291b1);}[_0x259f('0x37')](){return Array[_0x259f('0x2c')](this[_0x259f('0x30')]);}[_0x259f('0x1b')](){return this[_0x259f('0x37')]()['map'](_0x44f278=>this[_0x259f('0x1f')][_0x259f('0xe')]['get'](_0x44f278))[_0x259f('0x13')](_0x54f380=>_0x54f380);}[_0x259f('0x36')](){return this[_0x259f('0x1b')]()[0x0]||null;}[_0x259f('0x38')](){this[_0x259f('0x1f')][_0x259f('0x15')](_0x17f79a=>{for(const _0x5d22b3 of this[_0x259f('0x1b')]())_0x17f79a['removeMarker'](_0x5d22b3);}),this[_0x259f('0x30')][_0x259f('0x27')]();}['removeMarker'](_0x179433){this[_0x259f('0x1f')]['change'](_0x189dd7=>{_0x189dd7['removeMarker'](_0x179433);}),this[_0x259f('0x30')][_0x259f('0x2d')](_0x179433);}[_0x259f('0xa')](_0x1f7209){const _0x384110=_0x259f('0x3c')+this[_0x259f('0x0')]+':'+this[_0x259f('0x39')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x259f('0x29')]();this[_0x259f('0x11')](_0x384110),this[_0x259f('0x1f')][_0x259f('0x15')](_0x10a79a=>{_0x10a79a[_0x259f('0x14')](_0x384110,{'range':_0x1f7209,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x259f('0x1c')](_0x5cc7df){for(const _0xd2fcc8 of this[_0x259f('0x2')]())if(_0xd2fcc8[_0x259f('0x35')](_0x5cc7df))return!0x0;return!0x1;}[_0x259f('0x2')](){return this[_0x259f('0x1b')]()['map'](_0x389e63=>_0x389e63['getRange']());}[_0x259f('0xc')](){return this[_0x259f('0x2')]()[_0x259f('0x28')]((_0x136563,_0x34fcf0)=>[..._0x136563,..._0x34fcf0[_0x259f('0xc')]()],[]);}[_0x259f('0x12')](){var _0x5d5a1d;return(null===(_0x5d5a1d=this[_0x259f('0x36')]())||void 0x0===_0x5d5a1d?void 0x0:_0x5d5a1d[_0x259f('0x34')]())||null;}[_0x259f('0x17')](){const _0x4028df=this[_0x259f('0x2')]();if(0x1!=_0x4028df['length'])return null;const _0x3cf28c=_0x4028df[0x0],_0x537080=_0x3cf28c[_0x259f('0x9')][_0x259f('0x1d')],_0x1ab0e6=_0x3cf28c[_0x259f('0xd')][_0x259f('0x1')];return _0x537080 instanceof _0x43250b?_0x537080!=_0x1ab0e6?null:_0x537080:null;}[_0x259f('0x33')](){this['_onAccept'](this[_0x259f('0x2')](),this[_0x259f('0x2a')],this['attributes']),this[_0x259f('0x38')]();}[_0x259f('0x21')](){this[_0x259f('0x6')](this['getRanges'](),this[_0x259f('0x2a')],this[_0x259f('0x32')]),this['removeMarkers']();}[_0x259f('0x22')](){const _0x21feb5=[];let _0x4df55f=this['head'];for(;_0x4df55f;)_0x21feb5[_0x259f('0x2f')](_0x4df55f),_0x4df55f=_0x4df55f[_0x259f('0x24')];return _0x21feb5;}[_0x259f('0x10')](_0x59baaa,_0x22e973){const _0x2bb7bc=_0x34f161(this[_0x259f('0x32')]);_0x3d1cc7(_0x2bb7bc,_0x59baaa,_0x22e973),_0x5f3bbd(_0x2bb7bc,this[_0x259f('0x32')])||(this['attributes']=_0x2bb7bc,this[_0x259f('0x16')](_0x2bb7bc));}['removeAttribute'](_0x4f2665){const _0xff869a=_0x34f161(this[_0x259f('0x32')]);_0x5a1ca9(_0xff869a,_0x4f2665),_0x5f3bbd(_0xff869a,this['attributes'])||(this[_0x259f('0x32')]=_0xff869a,this['_onAttributesChange'](this[_0x259f('0x32')]));}[_0x259f('0xf')](){return{'id':this['id'],'type':this[_0x259f('0x39')]?this[_0x259f('0x0')]+':'+this[_0x259f('0x39')]:this[_0x259f('0x0')],'authorId':this[_0x259f('0x19')]['id'],'createdAt':this[_0x259f('0x3')],'hasComments':this[_0x259f('0x26')],'data':this[_0x259f('0x2a')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x51d9fd()[_0x259f('0x18')](0x1,0x5);}}
23
+ const _0x3783=['attributes','getFirstMarker','add','length','type','previous','_isDataLoaded','from','getMarkerNames','nodeAfter','isMultiRange','change','_onAccept','_saved','delete','addRange','reduce','set','discard','toJSON','accept','getMultiRangeId','data','author','removeAttribute','getFirstRange','markers','createdAt','_markerNames','suggestion:','commentThread','removeMarker','@external','split','subType','onAttributesChange','_onDiscard','map','end','isInContent','removeMarkers','getMarkers','isIntersectingWithRange','nodeBefore','substr','next','getRanges','start','decorate','creator','_onAttributesChange','head','addMarker','authoredAt','get','getAllAdjacentSuggestions','hasComments','_model','isExternal'];(function(_0x1498ae,_0x378326){const _0x59d60c=function(_0x4b8258){while(--_0x4b8258){_0x1498ae['push'](_0x1498ae['shift']());}};_0x59d60c(++_0x378326);}(_0x3783,0xba));const _0x59d6=function(_0x1498ae,_0x378326){_0x1498ae=_0x1498ae-0x0;let _0x59d60c=_0x3783[_0x1498ae];return _0x59d60c;};import{Element as _0x5c146a}from'ckeditor5/src/engine.js';import{ObservableMixin as _0xebd297,uid as _0x54c229}from'ckeditor5/src/utils.js';import{cloneDeep as _0x42d017,isEqual as _0x3926ec,set as _0x5129cd,unset as _0x191ac0}from'lodash-es';export default class u extends _0xebd297(){constructor(_0x51f276,_0x1a37e8){super(),this[_0x59d6('0x38')]=!0x1,this['id']=_0x1a37e8['id'],this[_0x59d6('0x36')]=_0x1a37e8['type'],this[_0x59d6('0x19')]=_0x1a37e8['subType']||null,this[_0x59d6('0xe')]=_0x1a37e8[_0x59d6('0xe')],this['creator']=_0x1a37e8['creator']||_0x1a37e8[_0x59d6('0xe')],this[_0x59d6('0x31')]=Boolean(_0x1a37e8[_0x59d6('0x32')]&&_0x1a37e8[_0x59d6('0x32')][_0x59d6('0x17')]),this['data']=null,this['_model']=_0x51f276,this[_0x59d6('0x3')]=_0x1a37e8['onAccept'],this['_onDiscard']=_0x1a37e8['onDiscard'],this['_onAttributesChange']=_0x1a37e8[_0x59d6('0x1a')],this[_0x59d6('0x13')]=new Set(),this[_0x59d6('0x12')]=null,this[_0x59d6('0x8')](_0x59d6('0x2c'),null),this[_0x59d6('0x8')](_0x59d6('0x32'),_0x1a37e8[_0x59d6('0x32')]||{}),this[_0x59d6('0x8')](_0x59d6('0x37'),null),this['set']('next',null),this[_0x59d6('0x8')]('commentThread',null),this[_0x59d6('0x8')](_0x59d6('0x4'),!0x1),this[_0x59d6('0x27')](_0x59d6('0xb')),this[_0x59d6('0x27')]('discard');}get[_0x59d6('0x2a')](){let _0x3abec2=this;for(;_0x3abec2[_0x59d6('0x37')];)_0x3abec2=_0x3abec2[_0x59d6('0x37')];return _0x3abec2;}get[_0x59d6('0x2f')](){return!!this[_0x59d6('0x15')]&&this['commentThread'][_0x59d6('0x35')]>0x0;}get[_0x59d6('0x1')](){if(0x0==this[_0x59d6('0x13')]['size'])return!0x1;return 0x6==Array[_0x59d6('0x39')](this[_0x59d6('0x13')])[0x0][_0x59d6('0x18')](':')[_0x59d6('0x35')];}get[_0x59d6('0x1e')](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x35f865){this[_0x59d6('0x13')][_0x59d6('0x34')](_0x35f865);}[_0x59d6('0x3a')](){return Array[_0x59d6('0x39')](this[_0x59d6('0x13')]);}['getMarkers'](){return this[_0x59d6('0x3a')]()[_0x59d6('0x1c')](_0x3ca9a5=>this['_model'][_0x59d6('0x11')][_0x59d6('0x2d')](_0x3ca9a5))['filter'](_0xff2335=>_0xff2335);}['getFirstMarker'](){return this[_0x59d6('0x20')]()[0x0]||null;}[_0x59d6('0x1f')](){this[_0x59d6('0x30')][_0x59d6('0x2')](_0x1d9ba2=>{for(const _0x8368 of this[_0x59d6('0x20')]())_0x1d9ba2[_0x59d6('0x16')](_0x8368);}),this[_0x59d6('0x13')]['clear']();}[_0x59d6('0x16')](_0x23063d){this[_0x59d6('0x30')]['change'](_0x11e005=>{_0x11e005[_0x59d6('0x16')](_0x23063d);}),this[_0x59d6('0x13')][_0x59d6('0x5')](_0x23063d);}[_0x59d6('0x6')](_0x2ad3e1){const _0x49d09c=_0x59d6('0x14')+this[_0x59d6('0x36')]+':'+this[_0x59d6('0x19')]+':'+this['id']+':'+this[_0x59d6('0x28')]['id']+':'+u[_0x59d6('0xc')]();this['addMarkerName'](_0x49d09c),this[_0x59d6('0x30')][_0x59d6('0x2')](_0x24acf3=>{_0x24acf3[_0x59d6('0x2b')](_0x49d09c,{'range':_0x2ad3e1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x59d6('0x21')](_0x121e65){for(const _0x250cc7 of this['getRanges']())if(_0x250cc7['isIntersecting'](_0x121e65))return!0x0;return!0x1;}[_0x59d6('0x25')](){return this['getMarkers']()[_0x59d6('0x1c')](_0xa543c6=>_0xa543c6['getRange']());}['getItems'](){return this[_0x59d6('0x25')]()[_0x59d6('0x7')]((_0x22a2eb,_0x394d23)=>[..._0x22a2eb,..._0x394d23['getItems']()],[]);}[_0x59d6('0x10')](){var _0x59fd7d;return(null===(_0x59fd7d=this[_0x59d6('0x33')]())||void 0x0===_0x59fd7d?void 0x0:_0x59fd7d['getRange']())||null;}['getContainedElement'](){const _0x535106=this[_0x59d6('0x25')]();if(0x1!=_0x535106[_0x59d6('0x35')])return null;const _0x17a2b1=_0x535106[0x0],_0x5edc9f=_0x17a2b1[_0x59d6('0x26')][_0x59d6('0x0')],_0x12d6ab=_0x17a2b1[_0x59d6('0x1d')][_0x59d6('0x22')];return _0x5edc9f instanceof _0x5c146a?_0x5edc9f!=_0x12d6ab?null:_0x5edc9f:null;}['accept'](){this[_0x59d6('0x3')](this['getRanges'](),this[_0x59d6('0xd')],this[_0x59d6('0x32')]),this[_0x59d6('0x1f')]();}[_0x59d6('0x9')](){this[_0x59d6('0x1b')](this[_0x59d6('0x25')](),this[_0x59d6('0xd')],this[_0x59d6('0x32')]),this['removeMarkers']();}[_0x59d6('0x2e')](){const _0x1befa2=[];let _0x35ef2d=this[_0x59d6('0x2a')];for(;_0x35ef2d;)_0x1befa2['push'](_0x35ef2d),_0x35ef2d=_0x35ef2d[_0x59d6('0x24')];return _0x1befa2;}['setAttribute'](_0x2c3d27,_0x2d7428){const _0x3f6bae=_0x42d017(this['attributes']);_0x5129cd(_0x3f6bae,_0x2c3d27,_0x2d7428),_0x3926ec(_0x3f6bae,this[_0x59d6('0x32')])||(this[_0x59d6('0x32')]=_0x3f6bae,this[_0x59d6('0x29')](_0x3f6bae));}[_0x59d6('0xf')](_0x26e890){const _0x117836=_0x42d017(this[_0x59d6('0x32')]);_0x191ac0(_0x117836,_0x26e890),_0x3926ec(_0x117836,this[_0x59d6('0x32')])||(this[_0x59d6('0x32')]=_0x117836,this[_0x59d6('0x29')](this['attributes']));}[_0x59d6('0xa')](){return{'id':this['id'],'type':this[_0x59d6('0x19')]?this['type']+':'+this[_0x59d6('0x19')]:this['type'],'authorId':this[_0x59d6('0x28')]['id'],'createdAt':this[_0x59d6('0x12')],'hasComments':this[_0x59d6('0x2f')],'data':this[_0x59d6('0xd')],'attributes':this['attributes']};}static[_0x59d6('0xc')](){return _0x54c229()[_0x59d6('0x23')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8931=['REPLACE_TEXT','deletion','attribute','_handleCustomCallbackDescription','isEmpty','add','remove','$text','pop','elementStart','_handleInsertRemoveSuggestionDescription','nextSibling','join','*Split:*\x20%0','getItemLabel','subType','start','isEqual','getFirstRange','data','_attributeLabels','has','removeContainer','_locale','skip','type','_handleAttributeSuggestionDescription','Object','addObject','$1\x20$2','push','EmptyContainer','previousSibling','format','nodeAfter','ELEMENT_SPACE','_schema','replace','end','addContainer','addEmptyContainer','newValue','$textProxy','text','_itemLabels','_customCallbacks','_handleRenameSuggestionDescription','quantity','getWalker','normal','*Insert:*\x20%0','map','insertion','indexOf','_resolveDescriptionItems','key','elementEnd','item','Container','length','addFormat','match','*Remove:*\x20%0','get','matchingCallback','removeFormat','isInContent','checkChild','_addDescriptionItems','name','registerDescriptionCallback','removeEmptyContainer','_itemLabelsCallbacks','isObject','element','softBreak'];(function(_0x28405c,_0x89310b){const _0x3e471f=function(_0x3a4e7e){while(--_0x3a4e7e){_0x28405c['push'](_0x28405c['shift']());}};_0x3e471f(++_0x89310b);}(_0x8931,0x10d));const _0x3e47=function(_0x28405c,_0x89310b){_0x28405c=_0x28405c-0x0;let _0x3e471f=_0x8931[_0x28405c];return _0x3e471f;};import{getTranslation as _0x42bf48}from'./utils/common-translations.js';import{priorities as _0x5c902a,insertToPriorityArray as _0x5e7b84}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x38b817}from'./trackchangesediting.js';export default class f{constructor(_0x1b9b88,_0x5618bb){this[_0x3e47('0x4')]=[],this[_0x3e47('0x3')]=new Map(),this[_0x3e47('0x1f')]=[],this[_0x3e47('0x37')]=new Map(),this[_0x3e47('0x47')]=_0x1b9b88,this[_0x3e47('0x3a')]=_0x5618bb;}['getDescriptions'](_0x4026fe){const _0x43d53a=[],_0x1fec7e=new Set(),_0x5802a8=new Set();for(let _0x1a0ca4=0x0;_0x1a0ca4<_0x4026fe[_0x3e47('0x12')];_0x1a0ca4++){const _0x1a5e2e=_0x4026fe[_0x1a0ca4];if(!_0x1a5e2e[_0x3e47('0x19')])continue;const _0x5593bc=this[_0x3e47('0x26')](_0x1a5e2e);if(_0x5593bc){if(null!=_0x1a5e2e[_0x3e47('0x32')]){if(_0x1fec7e[_0x3e47('0x38')](_0x1a5e2e[_0x3e47('0x32')]))continue;_0x1fec7e[_0x3e47('0x28')](_0x1a5e2e[_0x3e47('0x32')]);}_0x43d53a[_0x3e47('0x41')](_0x5593bc);}else{if(_0x3e47('0x25')!=_0x1a5e2e['type'])_0x3e47('0xb')!=_0x1a5e2e[_0x3e47('0x3c')]&&_0x3e47('0x24')!=_0x1a5e2e[_0x3e47('0x3c')]||this[_0x3e47('0x2d')](_0x43d53a,_0x1a5e2e,_0x4026fe[_0x1a0ca4+0x1]);else{const _0xfcaa3f=_0x1a5e2e['data'][_0x3e47('0xe')];if(_0x5802a8[_0x3e47('0x38')](_0xfcaa3f))continue;_0x5802a8[_0x3e47('0x28')](_0x1a5e2e['data'][_0x3e47('0xe')]),_0xfcaa3f==_0x38b817?this[_0x3e47('0x5')](_0x43d53a,_0x1a5e2e):this[_0x3e47('0x3d')](_0x43d53a,_0x1a5e2e);}}}return this[_0x3e47('0xd')](_0x43d53a);}[_0x3e47('0x1d')](_0x5e482d){this[_0x3e47('0x4')][_0x3e47('0x41')](_0x5e482d);}['registerElementLabel'](_0x364a65,_0xe07bf7,_0x470ef8=_0x5c902a[_0x3e47('0x8')]){'function'==typeof _0x364a65?_0x5e7b84(this[_0x3e47('0x1f')],{'matchingCallback':_0x364a65,'label':_0xe07bf7,'priority':_0x470ef8}):this[_0x3e47('0x3')]['set'](_0x364a65,_0xe07bf7);}['registerAttributeLabel'](_0x3c436c,_0x32590a){this[_0x3e47('0x37')]['set'](_0x3c436c,_0x32590a);}[_0x3e47('0x31')](_0x2ddf7c,_0x8fcea6=0x1){let _0x38f8b9;for(const _0x58a61a of this[_0x3e47('0x1f')])if(_0x58a61a[_0x3e47('0x17')](_0x2ddf7c)){_0x38f8b9=_0x58a61a['label'];break;}return _0x38f8b9||(_0x38f8b9=this['_itemLabels'][_0x3e47('0x16')](_0x2ddf7c[_0x3e47('0x1c')])),_0x38f8b9?_0x38f8b9(_0x8fcea6):0x1!==_0x8fcea6?_0x8fcea6+'\x20'+_0x2ddf7c[_0x3e47('0x1c')]+'s':''+_0x2ddf7c['name'];}[_0x3e47('0x1b')](_0x4c49ea,_0x106b95){const _0x109136=_0x106b95[_0x3e47('0x35')]()[_0x3e47('0x7')](),_0x2bdae8='insertion'==_0x106b95[_0x3e47('0x3c')]?'add':_0x3e47('0x29');for(const _0x45a601 of _0x109136){const _0x3ad83c=_0x45a601[_0x3e47('0x10')],_0x5f074b=_0x4c49ea[_0x4c49ea[_0x3e47('0x12')]-0x1];if(_0x3ad83c['is'](_0x3e47('0x1')))_0x5f074b&&_0x5f074b['type'][_0x3e47('0xc')](_0x3e47('0x11'))>-0x1&&_0x4c49ea[_0x3e47('0x2b')](),_0x5f074b&&_0x3e47('0x2')==_0x5f074b[_0x3e47('0x3c')]?_0x5f074b[_0x2bdae8]+=_0x3ad83c[_0x3e47('0x36')]:_0x4c49ea[_0x3e47('0x41')]({'type':_0x3e47('0x2'),'add':_0x3e47('0x28')==_0x2bdae8?_0x3ad83c['data']:'','remove':'remove'==_0x2bdae8?_0x3ad83c[_0x3e47('0x36')]:''});else{if(this[_0x3e47('0x47')][_0x3e47('0x20')](_0x3ad83c)){const _0x24e72a=_0x3ad83c;if(_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]['indexOf'](_0x3e47('0x11'))>-0x1&&_0x4c49ea[_0x3e47('0x2b')](),_0x3e47('0xf')==_0x45a601[_0x3e47('0x3c')])continue;_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]==_0x2bdae8+_0x3e47('0x3e')&&_0x5f074b['element'][_0x3e47('0x1c')]==_0x24e72a['name']?_0x5f074b['quantity']++:_0x4c49ea['push']({'type':_0x2bdae8+_0x3e47('0x3e'),'element':_0x24e72a,'quantity':0x1}),_0x109136[_0x3e47('0x3b')](_0xd51986=>!('elementEnd'==_0xd51986[_0x3e47('0x3c')]&&_0xd51986[_0x3e47('0x10')]==_0x3ad83c));}else{if(this[_0x3e47('0x47')][_0x3e47('0x1a')](_0x3ad83c,_0x3e47('0x2a'))||_0x3ad83c['is'](_0x3e47('0x21'),_0x3e47('0x22'))){const _0x47e68f=_0x3ad83c;if('add'==_0x2bdae8&&_0x3e47('0x2c')==_0x45a601[_0x3e47('0x3c')]||_0x3e47('0x29')==_0x2bdae8&&'elementEnd'==_0x45a601[_0x3e47('0x3c')])continue;if(_0x5f074b&&-0x1==_0x5f074b[_0x3e47('0x3c')][_0x3e47('0xc')](_0x3e47('0x11'))){_0x3e47('0x2')==_0x5f074b['type']&&(_0x5f074b[_0x2bdae8]+='\x0a');continue;}let _0x3058e9;if(_0x3058e9='add'==_0x2bdae8?_0x47e68f[_0x3e47('0x2e')]&&!this[_0x3e47('0x47')][_0x3e47('0x20')](_0x47e68f[_0x3e47('0x2e')])?_0x47e68f['nextSibling']:null:_0x47e68f[_0x3e47('0x43')]&&!this[_0x3e47('0x47')][_0x3e47('0x20')](_0x47e68f[_0x3e47('0x43')])?_0x47e68f['previousSibling']:null,_0x47e68f[_0x3e47('0x27')]||_0x3058e9&&_0x3058e9[_0x3e47('0x27')]){const _0x350257=_0x3058e9&&_0x3058e9['isEmpty']?_0x3058e9:_0x47e68f;_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]==_0x2bdae8+_0x3e47('0x42')&&_0x5f074b[_0x3e47('0x21')][_0x3e47('0x1c')]==_0x350257[_0x3e47('0x1c')]?_0x5f074b[_0x3e47('0x6')]++:_0x4c49ea[_0x3e47('0x41')]({'type':_0x2bdae8+_0x3e47('0x42'),'element':_0x350257,'quantity':0x1});}else _0x4c49ea[_0x3e47('0x41')]({'type':_0x2bdae8+_0x3e47('0x11'),'element':_0x47e68f});}}}}}['_resolveDescriptionItems'](_0x343e3d){const _0x560e6f=this['_locale'],_0x4f1190=[],_0x598454=[],_0xc1ebf3=[];for(const _0x2fb7c2 of _0x343e3d)switch(_0x2fb7c2[_0x3e47('0x3c')]){case'text':if(_0x2fb7c2[_0x3e47('0x28')]=_0x2fb7c2['add'][_0x3e47('0x48')](/(\S)\u000A+(\S)/g,_0x3e47('0x40'))[_0x3e47('0x48')](/\u000A/g,''),_0x2fb7c2['remove']=_0x2fb7c2[_0x3e47('0x29')]['replace'](/(\S)\u000A+(\S)/g,_0x3e47('0x40'))[_0x3e47('0x48')](/\u000A/g,''),''!=_0x2fb7c2[_0x3e47('0x28')]&&''!=_0x2fb7c2[_0x3e47('0x29')]){_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x48'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x23'),['\x22'+_0x2fb7c2[_0x3e47('0x29')]+'\x22','\x22'+_0x2fb7c2['add']+'\x22'])});continue;}if(null!=_0x2fb7c2[_0x3e47('0x28')][_0x3e47('0x14')](/^ +$/)){_0x4f1190['push']({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x9'),_0x42bf48(_0x560e6f,_0x3e47('0x46'),_0x2fb7c2[_0x3e47('0x28')][_0x3e47('0x12')]))});continue;}if(null!=_0x2fb7c2[_0x3e47('0x29')][_0x3e47('0x14')](/^ +$/)){_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,'*Remove:*\x20%0',_0x42bf48(_0x560e6f,'ELEMENT_SPACE',_0x2fb7c2['remove'][_0x3e47('0x12')]))});continue;}if(''!=_0x2fb7c2['add']){_0x4f1190[_0x3e47('0x41')]({'type':'insertion','content':_0x42bf48(_0x560e6f,'*Insert:*\x20%0','\x22'+_0x2fb7c2[_0x3e47('0x28')]+'\x22')});continue;}_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,_0x3e47('0x15'),'\x22'+_0x2fb7c2[_0x3e47('0x29')]+'\x22')});continue;case _0x3e47('0x4b'):case _0x3e47('0x3f'):_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x9'),this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x1e'):case'removeObject':_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x24'),'content':_0x42bf48(_0x560e6f,'*Remove:*\x20%0',this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x4a'):_0x4f1190['push']({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x30'),this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x39'):_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,'*Merge:*\x20%0',this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x13'):_0x598454[_0x3e47('0x41')](_0x2fb7c2[_0x3e47('0xe')]);continue;case _0x3e47('0x18'):_0xc1ebf3['push'](_0x2fb7c2[_0x3e47('0xe')]);continue;default:_0x4f1190['push'](_0x2fb7c2);}if(_0x598454[_0x3e47('0x12')]){const _0x4c0c17=_0x598454['map'](_0x18dad5=>this[_0x3e47('0x37')][_0x3e47('0x38')](_0x18dad5)?this['_attributeLabels'][_0x3e47('0x16')](_0x18dad5):_0x18dad5)[_0x3e47('0x2f')](',\x20');_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Set\x20format:*\x20%0',_0x4c0c17)});}if(_0xc1ebf3['length']){const _0x2f5a18=_0xc1ebf3[_0x3e47('0xa')](_0xc94df7=>this[_0x3e47('0x37')][_0x3e47('0x38')](_0xc94df7)?this[_0x3e47('0x37')]['get'](_0xc94df7):_0xc94df7)[_0x3e47('0x2f')](',\x20');_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Remove\x20format:*\x20%0',_0x2f5a18)});}return _0x4f1190;}[_0x3e47('0x26')](_0x25a3b8){for(const _0x333dab of this[_0x3e47('0x4')]){const _0x267681=_0x333dab(_0x25a3b8);if(_0x267681&&_0x3e47('0x3c')in _0x267681)return _0x267681;}}[_0x3e47('0x3d')](_0x56d560,_0x38e7df){const _0x3eab96=_0x38e7df[_0x3e47('0x36')],_0x890129=void 0x0===_0x3eab96[_0x3e47('0x0')]?'removeFormat':_0x3e47('0x13');_0x56d560[_0x3e47('0x41')]({'type':_0x890129,'key':_0x3eab96['key']});}['_handleRenameSuggestionDescription'](_0x2cf1fc,_0x2aeb23){_0x2cf1fc[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Change\x20to:*\x20%0',this[_0x3e47('0x31')](_0x2aeb23[_0x3e47('0x35')]()[_0x3e47('0x33')][_0x3e47('0x45')],0x1))});}[_0x3e47('0x2d')](_0x343022,_0x1810b0,_0x19d37e){if(this[_0x3e47('0x1b')](_0x343022,_0x1810b0),_0x19d37e&&_0x19d37e[_0x3e47('0x35')]()&&!_0x1810b0[_0x3e47('0x35')]()[_0x3e47('0x49')][_0x3e47('0x34')](_0x19d37e['getFirstRange']()[_0x3e47('0x33')])){const _0x5a9ece=_0x343022[_0x343022[_0x3e47('0x12')]-0x1],_0x389662='insertion'==_0x1810b0['type']?_0x3e47('0x28'):_0x3e47('0x29');_0x5a9ece&&_0x3e47('0x2')==_0x5a9ece[_0x3e47('0x3c')]&&(_0x5a9ece[_0x389662]+='\x0a');}}}
23
+ const _0x1d52=['name','*Merge:*\x20%0','*Set\x20format:*\x20%0','nextSibling','_itemLabels','remove','quantity','nodeAfter','previousSibling','format','registerDescriptionCallback','_customCallbacks','_handleCustomCallbackDescription','normal','join','match','addFormat','getDescriptions','text','push','pop','length','insertion','getFirstRange','EmptyContainer','indexOf','*Change\x20to:*\x20%0','attribute','removeFormat','isObject','replace','*Remove:*\x20%0','_locale','getWalker','add','checkChild','deletion','_handleInsertRemoveSuggestionDescription','skip','_schema','key','*Remove\x20format:*\x20%0','start','element','matchingCallback','map','item','data','getItemLabel','registerElementLabel','$text','elementEnd','isEqual','set','subType','_itemLabelsCallbacks','elementStart','removeObject','function','Object','newValue','type','_handleAttributeSuggestionDescription','$1\x20$2','$textProxy','isInContent','*Insert:*\x20%0','ELEMENT_SPACE','end','has','_attributeLabels','REPLACE_TEXT','Container','isEmpty','get','_handleRenameSuggestionDescription'];(function(_0xed8f95,_0x1d5203){const _0x5a4f81=function(_0xd4985e){while(--_0xd4985e){_0xed8f95['push'](_0xed8f95['shift']());}};_0x5a4f81(++_0x1d5203);}(_0x1d52,0xa2));const _0x5a4f=function(_0xed8f95,_0x1d5203){_0xed8f95=_0xed8f95-0x0;let _0x5a4f81=_0x1d52[_0xed8f95];return _0x5a4f81;};import{getTranslation as _0x33e347}from'./utils/common-translations.js';import{priorities as _0x939e33,insertToPriorityArray as _0x6d2d2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x5624ed}from'./trackchangesediting.js';export default class f{constructor(_0x10e600,_0x1d4d7d){this[_0x5a4f('0x1')]=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this[_0x5a4f('0x3c')]=new Map(),this[_0x5a4f('0x1d')]=_0x10e600,this[_0x5a4f('0x16')]=_0x1d4d7d;}[_0x5a4f('0x7')](_0x1d9c67){const _0x4292c5=[],_0x1a6579=new Set(),_0x588406=new Set();for(let _0x3d261f=0x0;_0x3d261f<_0x1d9c67[_0x5a4f('0xb')];_0x3d261f++){const _0x1a10a2=_0x1d9c67[_0x3d261f];if(!_0x1a10a2[_0x5a4f('0x37')])continue;const _0x958e56=this[_0x5a4f('0x2')](_0x1a10a2);if(_0x958e56){if(null!=_0x1a10a2['subType']){if(_0x1a6579[_0x5a4f('0x3b')](_0x1a10a2[_0x5a4f('0x2c')]))continue;_0x1a6579[_0x5a4f('0x18')](_0x1a10a2['subType']);}_0x4292c5[_0x5a4f('0x9')](_0x958e56);}else{if(_0x5a4f('0x11')!=_0x1a10a2[_0x5a4f('0x33')])_0x5a4f('0xc')!=_0x1a10a2[_0x5a4f('0x33')]&&_0x5a4f('0x1a')!=_0x1a10a2[_0x5a4f('0x33')]||this['_handleInsertRemoveSuggestionDescription'](_0x4292c5,_0x1a10a2,_0x1d9c67[_0x3d261f+0x1]);else{const _0x2baf60=_0x1a10a2[_0x5a4f('0x25')][_0x5a4f('0x1e')];if(_0x588406[_0x5a4f('0x3b')](_0x2baf60))continue;_0x588406[_0x5a4f('0x18')](_0x1a10a2[_0x5a4f('0x25')][_0x5a4f('0x1e')]),_0x2baf60==_0x5624ed?this[_0x5a4f('0x41')](_0x4292c5,_0x1a10a2):this[_0x5a4f('0x34')](_0x4292c5,_0x1a10a2);}}}return this['_resolveDescriptionItems'](_0x4292c5);}[_0x5a4f('0x0')](_0x578c81){this[_0x5a4f('0x1')]['push'](_0x578c81);}[_0x5a4f('0x27')](_0xaa3bcd,_0x4962d8,_0x14fd37=_0x939e33[_0x5a4f('0x3')]){_0x5a4f('0x30')==typeof _0xaa3bcd?_0x6d2d2(this['_itemLabelsCallbacks'],{'matchingCallback':_0xaa3bcd,'label':_0x4962d8,'priority':_0x14fd37}):this[_0x5a4f('0x46')][_0x5a4f('0x2b')](_0xaa3bcd,_0x4962d8);}['registerAttributeLabel'](_0x536350,_0x1c6c2a){this[_0x5a4f('0x3c')][_0x5a4f('0x2b')](_0x536350,_0x1c6c2a);}['getItemLabel'](_0x5654ff,_0x3bc102=0x1){let _0x13626d;for(const _0x1c6654 of this[_0x5a4f('0x2d')])if(_0x1c6654[_0x5a4f('0x22')](_0x5654ff)){_0x13626d=_0x1c6654['label'];break;}return _0x13626d||(_0x13626d=this[_0x5a4f('0x46')]['get'](_0x5654ff['name'])),_0x13626d?_0x13626d(_0x3bc102):0x1!==_0x3bc102?_0x3bc102+'\x20'+_0x5654ff[_0x5a4f('0x42')]+'s':''+_0x5654ff[_0x5a4f('0x42')];}['_addDescriptionItems'](_0x4684ed,_0x57a502){const _0x43af12=_0x57a502['getFirstRange']()[_0x5a4f('0x17')](),_0x3074b3=_0x5a4f('0xc')==_0x57a502[_0x5a4f('0x33')]?_0x5a4f('0x18'):'remove';for(const _0x4cc016 of _0x43af12){const _0x16cf1d=_0x4cc016[_0x5a4f('0x24')],_0x276d79=_0x4684ed[_0x4684ed[_0x5a4f('0xb')]-0x1];if(_0x16cf1d['is'](_0x5a4f('0x36')))_0x276d79&&_0x276d79['type'][_0x5a4f('0xf')](_0x5a4f('0x3e'))>-0x1&&_0x4684ed[_0x5a4f('0xa')](),_0x276d79&&_0x5a4f('0x8')==_0x276d79[_0x5a4f('0x33')]?_0x276d79[_0x3074b3]+=_0x16cf1d[_0x5a4f('0x25')]:_0x4684ed[_0x5a4f('0x9')]({'type':'text','add':_0x5a4f('0x18')==_0x3074b3?_0x16cf1d[_0x5a4f('0x25')]:'','remove':_0x5a4f('0x47')==_0x3074b3?_0x16cf1d['data']:''});else{if(this['_schema'][_0x5a4f('0x13')](_0x16cf1d)){const _0x5f20ea=_0x16cf1d;if(_0x276d79&&_0x276d79[_0x5a4f('0x33')]['indexOf'](_0x5a4f('0x3e'))>-0x1&&_0x4684ed[_0x5a4f('0xa')](),_0x5a4f('0x29')==_0x4cc016[_0x5a4f('0x33')])continue;_0x276d79&&_0x276d79[_0x5a4f('0x33')]==_0x3074b3+_0x5a4f('0x31')&&_0x276d79[_0x5a4f('0x21')][_0x5a4f('0x42')]==_0x5f20ea[_0x5a4f('0x42')]?_0x276d79[_0x5a4f('0x48')]++:_0x4684ed[_0x5a4f('0x9')]({'type':_0x3074b3+_0x5a4f('0x31'),'element':_0x5f20ea,'quantity':0x1}),_0x43af12[_0x5a4f('0x1c')](_0x51fbda=>!(_0x5a4f('0x29')==_0x51fbda[_0x5a4f('0x33')]&&_0x51fbda[_0x5a4f('0x24')]==_0x16cf1d));}else{if(this[_0x5a4f('0x1d')][_0x5a4f('0x19')](_0x16cf1d,_0x5a4f('0x28'))||_0x16cf1d['is']('element','softBreak')){const _0x177da2=_0x16cf1d;if('add'==_0x3074b3&&_0x5a4f('0x2e')==_0x4cc016['type']||'remove'==_0x3074b3&&_0x5a4f('0x29')==_0x4cc016[_0x5a4f('0x33')])continue;if(_0x276d79&&-0x1==_0x276d79[_0x5a4f('0x33')][_0x5a4f('0xf')](_0x5a4f('0x3e'))){_0x5a4f('0x8')==_0x276d79[_0x5a4f('0x33')]&&(_0x276d79[_0x3074b3]+='\x0a');continue;}let _0x186296;if(_0x186296=_0x5a4f('0x18')==_0x3074b3?_0x177da2[_0x5a4f('0x45')]&&!this[_0x5a4f('0x1d')]['isObject'](_0x177da2[_0x5a4f('0x45')])?_0x177da2[_0x5a4f('0x45')]:null:_0x177da2[_0x5a4f('0x4a')]&&!this[_0x5a4f('0x1d')]['isObject'](_0x177da2[_0x5a4f('0x4a')])?_0x177da2[_0x5a4f('0x4a')]:null,_0x177da2[_0x5a4f('0x3f')]||_0x186296&&_0x186296[_0x5a4f('0x3f')]){const _0x4b9116=_0x186296&&_0x186296[_0x5a4f('0x3f')]?_0x186296:_0x177da2;_0x276d79&&_0x276d79[_0x5a4f('0x33')]==_0x3074b3+_0x5a4f('0xe')&&_0x276d79[_0x5a4f('0x21')][_0x5a4f('0x42')]==_0x4b9116[_0x5a4f('0x42')]?_0x276d79[_0x5a4f('0x48')]++:_0x4684ed[_0x5a4f('0x9')]({'type':_0x3074b3+_0x5a4f('0xe'),'element':_0x4b9116,'quantity':0x1});}else _0x4684ed['push']({'type':_0x3074b3+_0x5a4f('0x3e'),'element':_0x177da2});}}}}}['_resolveDescriptionItems'](_0x28da69){const _0x40a814=this[_0x5a4f('0x16')],_0x472955=[],_0x55f1a3=[],_0x246b66=[];for(const _0x5bf8ce of _0x28da69)switch(_0x5bf8ce[_0x5a4f('0x33')]){case _0x5a4f('0x8'):if(_0x5bf8ce[_0x5a4f('0x18')]=_0x5bf8ce[_0x5a4f('0x18')][_0x5a4f('0x14')](/(\S)\u000A+(\S)/g,_0x5a4f('0x35'))[_0x5a4f('0x14')](/\u000A/g,''),_0x5bf8ce[_0x5a4f('0x47')]=_0x5bf8ce['remove'][_0x5a4f('0x14')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5a4f('0x14')](/\u000A/g,''),''!=_0x5bf8ce['add']&&''!=_0x5bf8ce[_0x5a4f('0x47')]){_0x472955[_0x5a4f('0x9')]({'type':'replace','content':_0x33e347(_0x40a814,_0x5a4f('0x3d'),['\x22'+_0x5bf8ce[_0x5a4f('0x47')]+'\x22','\x22'+_0x5bf8ce['add']+'\x22'])});continue;}if(null!=_0x5bf8ce[_0x5a4f('0x18')][_0x5a4f('0x5')](/^ +$/)){_0x472955['push']({'type':_0x5a4f('0xc'),'content':_0x33e347(_0x40a814,_0x5a4f('0x38'),_0x33e347(_0x40a814,_0x5a4f('0x39'),_0x5bf8ce[_0x5a4f('0x18')][_0x5a4f('0xb')]))});continue;}if(null!=_0x5bf8ce[_0x5a4f('0x47')][_0x5a4f('0x5')](/^ +$/)){_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0x1a'),'content':_0x33e347(_0x40a814,_0x5a4f('0x15'),_0x33e347(_0x40a814,_0x5a4f('0x39'),_0x5bf8ce[_0x5a4f('0x47')][_0x5a4f('0xb')]))});continue;}if(''!=_0x5bf8ce['add']){_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0xc'),'content':_0x33e347(_0x40a814,_0x5a4f('0x38'),'\x22'+_0x5bf8ce[_0x5a4f('0x18')]+'\x22')});continue;}_0x472955['push']({'type':_0x5a4f('0x1a'),'content':_0x33e347(_0x40a814,_0x5a4f('0x15'),'\x22'+_0x5bf8ce['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0xc'),'content':_0x33e347(_0x40a814,_0x5a4f('0x38'),this[_0x5a4f('0x26')](_0x5bf8ce[_0x5a4f('0x21')],_0x5bf8ce[_0x5a4f('0x48')]))});continue;case'removeEmptyContainer':case _0x5a4f('0x2f'):_0x472955['push']({'type':_0x5a4f('0x1a'),'content':_0x33e347(_0x40a814,_0x5a4f('0x15'),this[_0x5a4f('0x26')](_0x5bf8ce[_0x5a4f('0x21')],_0x5bf8ce['quantity']))});continue;case'addContainer':_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0xc'),'content':_0x33e347(_0x40a814,'*Split:*\x20%0',this[_0x5a4f('0x26')](_0x5bf8ce[_0x5a4f('0x21')],_0x5bf8ce[_0x5a4f('0x48')]))});continue;case'removeContainer':_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0x1a'),'content':_0x33e347(_0x40a814,_0x5a4f('0x43'),this[_0x5a4f('0x26')](_0x5bf8ce[_0x5a4f('0x21')],_0x5bf8ce[_0x5a4f('0x48')]))});continue;case _0x5a4f('0x6'):_0x55f1a3['push'](_0x5bf8ce[_0x5a4f('0x1e')]);continue;case _0x5a4f('0x12'):_0x246b66['push'](_0x5bf8ce['key']);continue;default:_0x472955[_0x5a4f('0x9')](_0x5bf8ce);}if(_0x55f1a3['length']){const _0x8932b=_0x55f1a3[_0x5a4f('0x23')](_0x4f885b=>this['_attributeLabels']['has'](_0x4f885b)?this[_0x5a4f('0x3c')][_0x5a4f('0x40')](_0x4f885b):_0x4f885b)['join'](',\x20');_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0x4b'),'content':_0x33e347(this[_0x5a4f('0x16')],_0x5a4f('0x44'),_0x8932b)});}if(_0x246b66['length']){const _0x271ff2=_0x246b66[_0x5a4f('0x23')](_0x2db89a=>this[_0x5a4f('0x3c')][_0x5a4f('0x3b')](_0x2db89a)?this['_attributeLabels'][_0x5a4f('0x40')](_0x2db89a):_0x2db89a)[_0x5a4f('0x4')](',\x20');_0x472955[_0x5a4f('0x9')]({'type':_0x5a4f('0x4b'),'content':_0x33e347(this['_locale'],_0x5a4f('0x1f'),_0x271ff2)});}return _0x472955;}['_handleCustomCallbackDescription'](_0x5aa7b8){for(const _0x3a792b of this[_0x5a4f('0x1')]){const _0x572a12=_0x3a792b(_0x5aa7b8);if(_0x572a12&&'type'in _0x572a12)return _0x572a12;}}[_0x5a4f('0x34')](_0x551dbd,_0x5ee525){const _0x16a8c6=_0x5ee525[_0x5a4f('0x25')],_0x9fb843=void 0x0===_0x16a8c6[_0x5a4f('0x32')]?_0x5a4f('0x12'):_0x5a4f('0x6');_0x551dbd[_0x5a4f('0x9')]({'type':_0x9fb843,'key':_0x16a8c6[_0x5a4f('0x1e')]});}[_0x5a4f('0x41')](_0x288a05,_0x248315){_0x288a05[_0x5a4f('0x9')]({'type':'format','content':_0x33e347(this[_0x5a4f('0x16')],_0x5a4f('0x10'),this[_0x5a4f('0x26')](_0x248315[_0x5a4f('0xd')]()[_0x5a4f('0x20')][_0x5a4f('0x49')],0x1))});}[_0x5a4f('0x1b')](_0x1cf85e,_0x4a4f05,_0x54814e){if(this['_addDescriptionItems'](_0x1cf85e,_0x4a4f05),_0x54814e&&_0x54814e[_0x5a4f('0xd')]()&&!_0x4a4f05[_0x5a4f('0xd')]()[_0x5a4f('0x3a')][_0x5a4f('0x2a')](_0x54814e[_0x5a4f('0xd')]()['start'])){const _0x4ab92c=_0x1cf85e[_0x1cf85e[_0x5a4f('0xb')]-0x1],_0x5ea5a2=_0x5a4f('0xc')==_0x4a4f05['type']?'add':_0x5a4f('0x47');_0x4ab92c&&'text'==_0x4ab92c[_0x5a4f('0x33')]&&(_0x4ab92c[_0x5ea5a2]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2454=['addSuggestion','Comments','getSuggestion','plugins','TrackChanges','editor','adapter','get'];(function(_0x5538af,_0x245407){var _0x5a02c6=function(_0x2de42f){while(--_0x2de42f){_0x5538af['push'](_0x5538af['shift']());}};_0x5a02c6(++_0x245407);}(_0x2454,0x7a));var _0x5a02=function(_0x5538af,_0x245407){_0x5538af=_0x5538af-0x0;var _0x5a02c6=_0x2454[_0x5538af];return _0x5a02c6;};import{Plugin as _0x303667}from'ckeditor5/src/core.js';import _0x234287 from'./trackchangesui.js';import _0x9560ba from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x303667{static get['requires'](){return[_0x9560ba,_0x234287,_0x5a02('0x7')];}static get['pluginName'](){return _0x5a02('0x2');}set[_0x5a02('0x4')](_0x99962){this['editor']['plugins']['get'](_0x9560ba)[_0x5a02('0x4')]=_0x99962;}get[_0x5a02('0x4')](){return this[_0x5a02('0x3')][_0x5a02('0x1')][_0x5a02('0x5')](_0x9560ba)[_0x5a02('0x4')];}[_0x5a02('0x6')](_0x4ef85f){return this[_0x5a02('0x3')][_0x5a02('0x1')]['get'](_0x9560ba)['addSuggestionData'](_0x4ef85f);}['getSuggestions']({skipNotAttached:_0x26c8b4=!0x1,toJSON:_0x4eb056=!0x1}={}){return this[_0x5a02('0x3')][_0x5a02('0x1')]['get'](_0x9560ba)['getSuggestions']({'skipNotAttached':_0x26c8b4,'toJSON':_0x4eb056});}[_0x5a02('0x0')](_0x3c2f23){return this[_0x5a02('0x3')][_0x5a02('0x1')][_0x5a02('0x5')](_0x9560ba)['getSuggestion'](_0x3c2f23);}}
23
+ var _0x5855=['editor','pluginName','getSuggestion','addSuggestionData','plugins','getSuggestions','get','adapter','Comments'];(function(_0x136121,_0x585503){var _0x82b86a=function(_0x107657){while(--_0x107657){_0x136121['push'](_0x136121['shift']());}};_0x82b86a(++_0x585503);}(_0x5855,0xb5));var _0x82b8=function(_0x136121,_0x585503){_0x136121=_0x136121-0x0;var _0x82b86a=_0x5855[_0x136121];return _0x82b86a;};import{Plugin as _0x235e66}from'ckeditor5/src/core.js';import _0x4f7b29 from'./trackchangesui.js';import _0x57f480 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x235e66{static get['requires'](){return[_0x57f480,_0x4f7b29,_0x82b8('0x7')];}static get[_0x82b8('0x0')](){return'TrackChanges';}set['adapter'](_0x5588bf){this[_0x82b8('0x8')][_0x82b8('0x3')]['get'](_0x57f480)['adapter']=_0x5588bf;}get[_0x82b8('0x6')](){return this[_0x82b8('0x8')][_0x82b8('0x3')][_0x82b8('0x5')](_0x57f480)[_0x82b8('0x6')];}['addSuggestion'](_0x21bb64){return this['editor'][_0x82b8('0x3')][_0x82b8('0x5')](_0x57f480)[_0x82b8('0x2')](_0x21bb64);}[_0x82b8('0x4')]({skipNotAttached:_0x3cd2f3=!0x1,toJSON:_0x20687f=!0x1}={}){return this[_0x82b8('0x8')][_0x82b8('0x3')][_0x82b8('0x5')](_0x57f480)[_0x82b8('0x4')]({'skipNotAttached':_0x3cd2f3,'toJSON':_0x20687f});}[_0x82b8('0x1')](_0x5b8362){return this[_0x82b8('0x8')][_0x82b8('0x3')][_0x82b8('0x5')](_0x57f480)[_0x82b8('0x1')](_0x5b8362);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5677=['TrackChangesDataGetter','useAnonymousUser','acceptAllSuggestions','define','set','createDocumentFragment','getRootsAttributes','get','result','getSuggestions','trackChangesData','getRootNames','TrackChangesEditing','discardAllSuggestions','TrackChangesData','editor','reduce','addSuggestionData','appendChild','editorCreator','trackChangesData.editorCreator','init','Users','getDataWithAcceptedSuggestions','addUser','users','data','map','Pagination','getUser','plugins','document','end','requires','getDataWithDiscardedSuggestions','_adapter','model','getFullData','create','config','CommentsRepository','name','pluginName'];(function(_0x2233bb,_0x56776a){const _0x14496b=function(_0x133f0c){while(--_0x133f0c){_0x2233bb['push'](_0x2233bb['shift']());}};_0x14496b(++_0x56776a);}(_0x5677,0xf3));const _0x1449=function(_0x2233bb,_0x56776a){_0x2233bb=_0x2233bb-0x0;let _0x14496b=_0x5677[_0x2233bb];return _0x14496b;};import{Plugin as _0x1672ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x532762}from'ckeditor5/src/utils.js';import _0x4b05e4 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x30efaa}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1449('0x0')];export default class P extends _0x1672ac{static get[_0x1449('0x5')](){return[_0x4b05e4];}static get[_0x1449('0xe')](){return _0x1449('0x1d');}[_0x1449('0x24')](){const _0x4c9ba8=this[_0x1449('0x1e')];if(_0x4c9ba8[_0x1449('0xb')][_0x1449('0x12')](_0x1449('0x23'),_0x5201fe=>{const _0x378404=_0x4c9ba8[_0x1449('0x8')][_0x1449('0x3')]['getRootNames']()['reduce']((_0x2e281b,_0x2f9cf2)=>(_0x2e281b[_0x2f9cf2]='',_0x2e281b),{});return _0x4c9ba8['constructor'][_0x1449('0xa')](_0x378404,_0x5201fe);}),'function'!=typeof _0x4c9ba8[_0x1449('0xb')][_0x1449('0x16')](_0x1449('0x19'))[_0x1449('0x22')])throw new _0x532762('track-changes-data-invalid-editor-creator');}[_0x1449('0x26')](_0x39d175){return N(this[_0x1449('0x1e')],!0x0,_0x39d175);}[_0x1449('0x6')](_0x127adf){return N(this[_0x1449('0x1e')],!0x1,_0x127adf);}}class D extends _0x1672ac{static get[_0x1449('0xe')](){return _0x1449('0xf');}constructor(_0x3e95d0){super(_0x3e95d0),this[_0x1449('0x17')]=_0x1449('0x4');}[_0x1449('0x24')](){this[_0x1449('0x1e')][_0x1449('0x2')][_0x1449('0x16')](_0x1449('0xc'))[_0x1449('0x7')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x1b'))[_0x1449('0x7')]=null;}}function v(_0xf2d467){return void 0x0!==_0xf2d467[_0x1449('0x15')];}async function N(_0xbd33ac,_0x434ecb,_0x1adbb0){const _0x4b4972=_0x30efaa(_0xbd33ac,T);_0x4b4972[_0x1449('0x2')]['push'](_0x4b05e4,D),_0x4b4972['rootsAttributes']=v(_0xbd33ac)?_0xbd33ac['getRootsAttributes']():void 0x0;const _0x3d6105=document[_0x1449('0x14')](),_0x58bc4e=_0xbd33ac[_0x1449('0xb')][_0x1449('0x16')](_0x1449('0x19'))[_0x1449('0x22')],_0x10831a=await _0x58bc4e(_0x4b4972,()=>function(_0x160908){const _0x501ea6=document['createElement']('div');return _0x160908[_0x1449('0x21')](_0x501ea6),_0x501ea6;}(_0x3d6105));!function(_0x1d809c,_0x147dd3){const _0x22fb80=_0x1d809c[_0x1449('0x8')][_0x1449('0x3')][_0x1449('0x1a')]()[_0x1449('0x1f')]((_0x48beff,_0x52047e)=>(_0x48beff[_0x52047e]=_0x1d809c[_0x1449('0x29')][_0x1449('0x16')]({'rootName':_0x52047e}),_0x48beff),{}),_0x2d79d9=_0x1d809c[_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x25'))[_0x1449('0x28')][_0x1449('0x2a')](_0x41a6ea=>({'id':_0x41a6ea['id'],'name':_0x41a6ea[_0x1449('0xd')]})),_0x4cb8da=_0x1d809c[_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x1b'))[_0x1449('0x18')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x38eded=_0x147dd3['plugins'][_0x1449('0x16')]('Users'),_0x5aa7b6=_0x147dd3[_0x1449('0x2')][_0x1449('0x16')]('TrackChangesEditing');for(const _0x2a382a of _0x2d79d9)_0x38eded[_0x1449('0x1')](_0x2a382a['id'])||_0x38eded[_0x1449('0x27')](_0x2a382a);_0x38eded['me']||_0x38eded[_0x1449('0x10')]();for(const _0x80ddb2 of _0x4cb8da)_0x5aa7b6[_0x1449('0x20')](_0x80ddb2);_0x147dd3['data'][_0x1449('0x13')](_0x22fb80);}(_0xbd33ac,_0x10831a),_0x10831a['execute'](_0x434ecb?_0x1449('0x11'):_0x1449('0x1c'));const _0xac717f=v(_0x10831a)?_0x10831a[_0x1449('0x9')](_0x1adbb0):_0x10831a[_0x1449('0x29')][_0x1449('0x16')](_0x1adbb0);return await _0x10831a['destroy'](),_0xac717f;}
23
+ const _0x55b0=['addUser','result','plugins','requires','div','model','get','config','function','Users','discardAllSuggestions','end','set','document','define','trackChangesData','editor','constructor','TrackChangesDataGetter','getDataWithAcceptedSuggestions','getRootNames','data','execute','getRootsAttributes','push','TrackChangesData','CommentsRepository','trackChangesData.editorCreator','create','Pagination','addSuggestionData','reduce','_adapter','createDocumentFragment','useAnonymousUser','appendChild','TrackChangesEditing','map','getUser','users','init','rootsAttributes','pluginName','editorCreator','name','getDataWithDiscardedSuggestions'];(function(_0xd4f80,_0x55b0f3){const _0x2db4fd=function(_0x2f0592){while(--_0x2f0592){_0xd4f80['push'](_0xd4f80['shift']());}};_0x2db4fd(++_0x55b0f3);}(_0x55b0,0x67));const _0x2db4=function(_0xd4f80,_0x55b0f3){_0xd4f80=_0xd4f80-0x0;let _0x2db4fd=_0x55b0[_0xd4f80];return _0x2db4fd;};import{Plugin as _0x300efd}from'ckeditor5/src/core.js';import{CKEditorError as _0x252876}from'ckeditor5/src/utils.js';import _0x3705b0 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3b5911}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x2db4('0x12')];export default class P extends _0x300efd{static get[_0x2db4('0x26')](){return[_0x3705b0];}static get[_0x2db4('0x1f')](){return _0x2db4('0xe');}[_0x2db4('0x1d')](){const _0x2b8404=this['editor'];if(_0x2b8404[_0x2db4('0x2a')][_0x2db4('0x3')](_0x2db4('0x10'),_0x2668dc=>{const _0x519555=_0x2b8404[_0x2db4('0x28')]['document'][_0x2db4('0x9')]()[_0x2db4('0x14')]((_0x46e3b8,_0x342fe1)=>(_0x46e3b8[_0x342fe1]='',_0x46e3b8),{});return _0x2b8404[_0x2db4('0x6')][_0x2db4('0x11')](_0x519555,_0x2668dc);}),_0x2db4('0x2b')!=typeof _0x2b8404[_0x2db4('0x2a')][_0x2db4('0x29')](_0x2db4('0x4'))['editorCreator'])throw new _0x252876('track-changes-data-invalid-editor-creator');}[_0x2db4('0x8')](_0x3d366e){return N(this['editor'],!0x0,_0x3d366e);}[_0x2db4('0x22')](_0x15a2f5){return N(this[_0x2db4('0x5')],!0x1,_0x15a2f5);}}class D extends _0x300efd{static get[_0x2db4('0x1f')](){return _0x2db4('0x7');}constructor(_0x4c02c9){super(_0x4c02c9),this[_0x2db4('0x24')]=_0x2db4('0x0');}['init'](){this[_0x2db4('0x5')][_0x2db4('0x25')][_0x2db4('0x29')](_0x2db4('0xf'))[_0x2db4('0x15')]={'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[_0x2db4('0x5')]['plugins']['get']('TrackChangesEditing')[_0x2db4('0x15')]=null;}}function v(_0x4ebb48){return void 0x0!==_0x4ebb48[_0x2db4('0xc')];}async function N(_0x51ee18,_0x46271e,_0x333940){const _0x10831b=_0x3b5911(_0x51ee18,T);_0x10831b[_0x2db4('0x25')][_0x2db4('0xd')](_0x3705b0,D),_0x10831b[_0x2db4('0x1e')]=v(_0x51ee18)?_0x51ee18[_0x2db4('0xc')]():void 0x0;const _0x24dbd0=document[_0x2db4('0x16')](),_0x5aaa39=_0x51ee18['config'][_0x2db4('0x29')](_0x2db4('0x4'))[_0x2db4('0x20')],_0x18c49b=await _0x5aaa39(_0x10831b,()=>function(_0x38e95b){const _0x65fe32=document['createElement'](_0x2db4('0x27'));return _0x38e95b[_0x2db4('0x18')](_0x65fe32),_0x65fe32;}(_0x24dbd0));!function(_0x24dfa0,_0x2df942){const _0x417b4f=_0x24dfa0[_0x2db4('0x28')][_0x2db4('0x2')][_0x2db4('0x9')]()[_0x2db4('0x14')]((_0x30189d,_0x8d22a5)=>(_0x30189d[_0x8d22a5]=_0x24dfa0[_0x2db4('0xa')]['get']({'rootName':_0x8d22a5}),_0x30189d),{}),_0x4be880=_0x24dfa0['plugins'][_0x2db4('0x29')](_0x2db4('0x2c'))[_0x2db4('0x1c')][_0x2db4('0x1a')](_0x5b381e=>({'id':_0x5b381e['id'],'name':_0x5b381e[_0x2db4('0x21')]})),_0x51d876=_0x24dfa0['plugins']['get'](_0x2db4('0x19'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x411910=_0x2df942[_0x2db4('0x25')][_0x2db4('0x29')](_0x2db4('0x2c')),_0x59a14c=_0x2df942['plugins']['get'](_0x2db4('0x19'));for(const _0x5be664 of _0x4be880)_0x411910[_0x2db4('0x1b')](_0x5be664['id'])||_0x411910[_0x2db4('0x23')](_0x5be664);_0x411910['me']||_0x411910[_0x2db4('0x17')]();for(const _0x573ee7 of _0x51d876)_0x59a14c[_0x2db4('0x13')](_0x573ee7);_0x2df942[_0x2db4('0xa')][_0x2db4('0x1')](_0x417b4f);}(_0x51ee18,_0x18c49b),_0x18c49b[_0x2db4('0xb')](_0x46271e?'acceptAllSuggestions':_0x2db4('0x2d'));const _0x2d1a3b=v(_0x18c49b)?_0x18c49b['getFullData'](_0x333940):_0x18c49b[_0x2db4('0xa')]['get'](_0x333940);return await _0x18c49b['destroy'](),_0x2d1a3b;}