@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231130.0 → 0.0.0-nightly-20231201.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 _0x42d9=['type','accept','next','attributes','from','decorate','getContainedElement','size','getMultiRangeId','_isDataLoaded','hasComments','set','getMarkers','markers','map','getRange','createdAt','@external','author','isInContent','getItems','getRanges','getFirstMarker','delete','end','creator','nodeBefore','previous','getFirstRange','clear','reduce','removeMarkers','discard','isExternal','suggestion:','_onAttributesChange','setAttribute','_markerNames','addMarkerName','onAccept','push','add','change','removeMarker','get','length','_saved','isIntersecting','_model','data','onAttributesChange','_onDiscard','substr','isMultiRange','subType','commentThread','isIntersectingWithRange','head'];(function(_0x3c4500,_0x42d946){const _0x21a2ac=function(_0x18dc81){while(--_0x18dc81){_0x3c4500['push'](_0x3c4500['shift']());}};_0x21a2ac(++_0x42d946);}(_0x42d9,0x161));const _0x21a2=function(_0x3c4500,_0x42d946){_0x3c4500=_0x3c4500-0x0;let _0x21a2ac=_0x42d9[_0x3c4500];return _0x21a2ac;};import{Element as _0x39df79}from'ckeditor5/src/engine';import{ObservableMixin as _0x24e1dc,uid as _0x102302}from'ckeditor5/src/utils';import{cloneDeep as _0x1f326c,isEqual as _0x3cf90c,set as _0x4cd391,unset as _0x17d59d}from'lodash-es';export default class u extends _0x24e1dc(){constructor(_0x155469,_0x493a06){super(),this[_0x21a2('0x4')]=!0x1,this['id']=_0x493a06['id'],this[_0x21a2('0x35')]=_0x493a06[_0x21a2('0x35')],this[_0x21a2('0x31')]=_0x493a06[_0x21a2('0x31')]||null,this[_0x21a2('0xd')]=_0x493a06['author'],this[_0x21a2('0x14')]=_0x493a06['creator']||_0x493a06['author'],this[_0x21a2('0x1c')]=Boolean(_0x493a06[_0x21a2('0x38')]&&_0x493a06[_0x21a2('0x38')][_0x21a2('0xc')]),this['data']=null,this['_model']=_0x155469,this['_onAccept']=_0x493a06[_0x21a2('0x22')],this[_0x21a2('0x2e')]=_0x493a06['onDiscard'],this[_0x21a2('0x1e')]=_0x493a06[_0x21a2('0x2d')],this[_0x21a2('0x20')]=new Set(),this[_0x21a2('0xb')]=null,this[_0x21a2('0x6')]('authoredAt',null),this[_0x21a2('0x6')]('attributes',_0x493a06[_0x21a2('0x38')]||{}),this[_0x21a2('0x6')](_0x21a2('0x16'),null),this[_0x21a2('0x6')](_0x21a2('0x37'),null),this[_0x21a2('0x6')](_0x21a2('0x32'),null),this[_0x21a2('0x6')](_0x21a2('0x29'),!0x1),this[_0x21a2('0x0')](_0x21a2('0x36')),this[_0x21a2('0x0')]('discard');}get['head'](){let _0x330564=this;for(;_0x330564['previous'];)_0x330564=_0x330564[_0x21a2('0x16')];return _0x330564;}get[_0x21a2('0x5')](){return!!this[_0x21a2('0x32')]&&this[_0x21a2('0x32')][_0x21a2('0x28')]>0x0;}get[_0x21a2('0x30')](){if(0x0==this[_0x21a2('0x20')][_0x21a2('0x2')])return!0x1;return 0x6==Array[_0x21a2('0x39')](this[_0x21a2('0x20')])[0x0]['split'](':')[_0x21a2('0x28')];}get[_0x21a2('0xe')](){return null!==this[_0x21a2('0x11')]();}[_0x21a2('0x21')](_0x51ab6b){this[_0x21a2('0x20')][_0x21a2('0x24')](_0x51ab6b);}['getMarkerNames'](){return Array[_0x21a2('0x39')](this[_0x21a2('0x20')]);}['getMarkers'](){return this['getMarkerNames']()[_0x21a2('0x9')](_0x3f0a2a=>this[_0x21a2('0x2b')][_0x21a2('0x8')][_0x21a2('0x27')](_0x3f0a2a))['filter'](_0x484afd=>_0x484afd);}[_0x21a2('0x11')](){return this[_0x21a2('0x7')]()[0x0]||null;}[_0x21a2('0x1a')](){this['_model'][_0x21a2('0x25')](_0xc4a985=>{for(const _0x474d24 of this[_0x21a2('0x7')]())_0xc4a985['removeMarker'](_0x474d24);}),this[_0x21a2('0x20')][_0x21a2('0x18')]();}[_0x21a2('0x26')](_0x2d0426){this[_0x21a2('0x2b')][_0x21a2('0x25')](_0xa7f766=>{_0xa7f766[_0x21a2('0x26')](_0x2d0426);}),this['_markerNames'][_0x21a2('0x12')](_0x2d0426);}['addRange'](_0x2ffa5d){const _0x424d1d=_0x21a2('0x1d')+this[_0x21a2('0x35')]+':'+this['subType']+':'+this['id']+':'+this[_0x21a2('0x14')]['id']+':'+u[_0x21a2('0x3')]();this['addMarkerName'](_0x424d1d),this['_model'][_0x21a2('0x25')](_0x588a95=>{_0x588a95['addMarker'](_0x424d1d,{'range':_0x2ffa5d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x21a2('0x33')](_0x394ae0){for(const _0x5144b0 of this['getRanges']())if(_0x5144b0[_0x21a2('0x2a')](_0x394ae0))return!0x0;return!0x1;}['getRanges'](){return this[_0x21a2('0x7')]()[_0x21a2('0x9')](_0x329f23=>_0x329f23[_0x21a2('0xa')]());}[_0x21a2('0xf')](){return this['getRanges']()[_0x21a2('0x19')]((_0x3837ad,_0x588798)=>[..._0x3837ad,..._0x588798['getItems']()],[]);}[_0x21a2('0x17')](){var _0x1c3975;return(null===(_0x1c3975=this['getFirstMarker']())||void 0x0===_0x1c3975?void 0x0:_0x1c3975[_0x21a2('0xa')]())||null;}[_0x21a2('0x1')](){const _0x3c3839=this[_0x21a2('0x10')]();if(0x1!=_0x3c3839[_0x21a2('0x28')])return null;const _0x292872=_0x3c3839[0x0],_0x367500=_0x292872['start']['nodeAfter'],_0x5e0bcd=_0x292872[_0x21a2('0x13')][_0x21a2('0x15')];return _0x367500 instanceof _0x39df79?_0x367500!=_0x5e0bcd?null:_0x367500:null;}['accept'](){this['_onAccept'](this[_0x21a2('0x10')](),this[_0x21a2('0x2c')],this['attributes']),this[_0x21a2('0x1a')]();}[_0x21a2('0x1b')](){this[_0x21a2('0x2e')](this[_0x21a2('0x10')](),this[_0x21a2('0x2c')],this['attributes']),this[_0x21a2('0x1a')]();}['getAllAdjacentSuggestions'](){const _0x18be2c=[];let _0xd628de=this[_0x21a2('0x34')];for(;_0xd628de;)_0x18be2c[_0x21a2('0x23')](_0xd628de),_0xd628de=_0xd628de[_0x21a2('0x37')];return _0x18be2c;}[_0x21a2('0x1f')](_0xe6092a,_0x363bf0){const _0xe5e8d5=_0x1f326c(this[_0x21a2('0x38')]);_0x4cd391(_0xe5e8d5,_0xe6092a,_0x363bf0),_0x3cf90c(_0xe5e8d5,this['attributes'])||(this['attributes']=_0xe5e8d5,this[_0x21a2('0x1e')](_0xe5e8d5));}['removeAttribute'](_0x45d23b){const _0x2762cf=_0x1f326c(this[_0x21a2('0x38')]);_0x17d59d(_0x2762cf,_0x45d23b),_0x3cf90c(_0x2762cf,this['attributes'])||(this[_0x21a2('0x38')]=_0x2762cf,this['_onAttributesChange'](this[_0x21a2('0x38')]));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this[_0x21a2('0x35')]+':'+this['subType']:this['type'],'authorId':this[_0x21a2('0x14')]['id'],'createdAt':this[_0x21a2('0xb')],'hasComments':this['hasComments'],'data':this[_0x21a2('0x2c')],'attributes':this[_0x21a2('0x38')]};}static['getMultiRangeId'](){return _0x102302()[_0x21a2('0x2f')](0x1,0x5);}}
23
+ const _0x340c=['isInContent','change','substr','removeAttribute','decorate','nodeAfter','removeMarker','data','setAttribute','set','_onAttributesChange','_model','getRange','discard','getAllAdjacentSuggestions','reduce','markers','creator','_markerNames','_onAccept','from','addMarker','isIntersecting','getFirstRange','filter','end','nodeBefore','_isDataLoaded','getMarkers','author','type','previous','next','attributes','get','isMultiRange','map','onDiscard','getFirstMarker','head','start','commentThread','length','getItems','getContainedElement','getRanges','isIntersectingWithRange','removeMarkers','getMarkerNames','delete','accept','_onDiscard','onAttributesChange','hasComments','subType','toJSON','addMarkerName','@external','isExternal','size','authoredAt','onAccept','createdAt'];(function(_0x23e80e,_0x340cd9){const _0x1fe8ea=function(_0x509c87){while(--_0x509c87){_0x23e80e['push'](_0x23e80e['shift']());}};_0x1fe8ea(++_0x340cd9);}(_0x340c,0xfa));const _0x1fe8=function(_0x23e80e,_0x340cd9){_0x23e80e=_0x23e80e-0x0;let _0x1fe8ea=_0x340c[_0x23e80e];return _0x1fe8ea;};import{Element as _0x381e8c}from'ckeditor5/src/engine';import{ObservableMixin as _0x445f2a,uid as _0x135c5a}from'ckeditor5/src/utils';import{cloneDeep as _0x29a236,isEqual as _0x474e29,set as _0x19445e,unset as _0x3b4411}from'lodash-es';export default class u extends _0x445f2a(){constructor(_0x36f6f1,_0x5e190d){super(),this[_0x1fe8('0x1d')]=!0x1,this['id']=_0x5e190d['id'],this[_0x1fe8('0x20')]=_0x5e190d['type'],this[_0x1fe8('0x38')]=_0x5e190d[_0x1fe8('0x38')]||null,this[_0x1fe8('0x1f')]=_0x5e190d[_0x1fe8('0x1f')],this['creator']=_0x5e190d['creator']||_0x5e190d[_0x1fe8('0x1f')],this[_0x1fe8('0x3c')]=Boolean(_0x5e190d['attributes']&&_0x5e190d[_0x1fe8('0x23')][_0x1fe8('0x3b')]),this[_0x1fe8('0x9')]=null,this[_0x1fe8('0xd')]=_0x36f6f1,this[_0x1fe8('0x15')]=_0x5e190d[_0x1fe8('0x0')],this[_0x1fe8('0x35')]=_0x5e190d[_0x1fe8('0x27')],this['_onAttributesChange']=_0x5e190d[_0x1fe8('0x36')],this[_0x1fe8('0x14')]=new Set(),this['createdAt']=null,this['set'](_0x1fe8('0x3e'),null),this['set'](_0x1fe8('0x23'),_0x5e190d[_0x1fe8('0x23')]||{}),this['set'](_0x1fe8('0x21'),null),this[_0x1fe8('0xb')]('next',null),this[_0x1fe8('0xb')](_0x1fe8('0x2b'),null),this[_0x1fe8('0xb')]('_saved',!0x1),this[_0x1fe8('0x6')](_0x1fe8('0x34')),this['decorate'](_0x1fe8('0xf'));}get[_0x1fe8('0x29')](){let _0x508664=this;for(;_0x508664[_0x1fe8('0x21')];)_0x508664=_0x508664[_0x1fe8('0x21')];return _0x508664;}get[_0x1fe8('0x37')](){return!!this[_0x1fe8('0x2b')]&&this[_0x1fe8('0x2b')]['length']>0x0;}get[_0x1fe8('0x25')](){if(0x0==this['_markerNames'][_0x1fe8('0x3d')])return!0x1;return 0x6==Array[_0x1fe8('0x16')](this[_0x1fe8('0x14')])[0x0]['split'](':')[_0x1fe8('0x2c')];}get[_0x1fe8('0x2')](){return null!==this[_0x1fe8('0x28')]();}[_0x1fe8('0x3a')](_0x39b5a4){this[_0x1fe8('0x14')]['add'](_0x39b5a4);}['getMarkerNames'](){return Array[_0x1fe8('0x16')](this[_0x1fe8('0x14')]);}[_0x1fe8('0x1e')](){return this[_0x1fe8('0x32')]()[_0x1fe8('0x26')](_0x4e4bb3=>this[_0x1fe8('0xd')][_0x1fe8('0x12')][_0x1fe8('0x24')](_0x4e4bb3))[_0x1fe8('0x1a')](_0x54f31e=>_0x54f31e);}['getFirstMarker'](){return this[_0x1fe8('0x1e')]()[0x0]||null;}[_0x1fe8('0x31')](){this[_0x1fe8('0xd')][_0x1fe8('0x3')](_0x14547a=>{for(const _0x577dba of this[_0x1fe8('0x1e')]())_0x14547a[_0x1fe8('0x8')](_0x577dba);}),this[_0x1fe8('0x14')]['clear']();}[_0x1fe8('0x8')](_0x4ce2e1){this[_0x1fe8('0xd')][_0x1fe8('0x3')](_0x4857f6=>{_0x4857f6[_0x1fe8('0x8')](_0x4ce2e1);}),this[_0x1fe8('0x14')][_0x1fe8('0x33')](_0x4ce2e1);}['addRange'](_0x1eb3a0){const _0x4854fd='suggestion:'+this['type']+':'+this[_0x1fe8('0x38')]+':'+this['id']+':'+this[_0x1fe8('0x13')]['id']+':'+u['getMultiRangeId']();this[_0x1fe8('0x3a')](_0x4854fd),this[_0x1fe8('0xd')]['change'](_0x5b7a3d=>{_0x5b7a3d[_0x1fe8('0x17')](_0x4854fd,{'range':_0x1eb3a0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1fe8('0x30')](_0x2e4b6f){for(const _0x47764f of this[_0x1fe8('0x2f')]())if(_0x47764f[_0x1fe8('0x18')](_0x2e4b6f))return!0x0;return!0x1;}[_0x1fe8('0x2f')](){return this['getMarkers']()[_0x1fe8('0x26')](_0x3ae51d=>_0x3ae51d['getRange']());}[_0x1fe8('0x2d')](){return this[_0x1fe8('0x2f')]()[_0x1fe8('0x11')]((_0x45f544,_0x224252)=>[..._0x45f544,..._0x224252[_0x1fe8('0x2d')]()],[]);}[_0x1fe8('0x19')](){var _0x13fc93;return(null===(_0x13fc93=this[_0x1fe8('0x28')]())||void 0x0===_0x13fc93?void 0x0:_0x13fc93[_0x1fe8('0xe')]())||null;}[_0x1fe8('0x2e')](){const _0x2fa1d3=this[_0x1fe8('0x2f')]();if(0x1!=_0x2fa1d3['length'])return null;const _0x11b8b9=_0x2fa1d3[0x0],_0x548514=_0x11b8b9[_0x1fe8('0x2a')][_0x1fe8('0x7')],_0x9124ff=_0x11b8b9[_0x1fe8('0x1b')][_0x1fe8('0x1c')];return _0x548514 instanceof _0x381e8c?_0x548514!=_0x9124ff?null:_0x548514:null;}[_0x1fe8('0x34')](){this[_0x1fe8('0x15')](this['getRanges'](),this[_0x1fe8('0x9')],this[_0x1fe8('0x23')]),this['removeMarkers']();}[_0x1fe8('0xf')](){this[_0x1fe8('0x35')](this[_0x1fe8('0x2f')](),this[_0x1fe8('0x9')],this[_0x1fe8('0x23')]),this['removeMarkers']();}[_0x1fe8('0x10')](){const _0x3e2d46=[];let _0x4c00c3=this[_0x1fe8('0x29')];for(;_0x4c00c3;)_0x3e2d46['push'](_0x4c00c3),_0x4c00c3=_0x4c00c3[_0x1fe8('0x22')];return _0x3e2d46;}[_0x1fe8('0xa')](_0x5eeccf,_0x3805ca){const _0x23e1f1=_0x29a236(this[_0x1fe8('0x23')]);_0x19445e(_0x23e1f1,_0x5eeccf,_0x3805ca),_0x474e29(_0x23e1f1,this[_0x1fe8('0x23')])||(this['attributes']=_0x23e1f1,this[_0x1fe8('0xc')](_0x23e1f1));}[_0x1fe8('0x5')](_0x538a03){const _0x502139=_0x29a236(this[_0x1fe8('0x23')]);_0x3b4411(_0x502139,_0x538a03),_0x474e29(_0x502139,this[_0x1fe8('0x23')])||(this[_0x1fe8('0x23')]=_0x502139,this['_onAttributesChange'](this[_0x1fe8('0x23')]));}[_0x1fe8('0x39')](){return{'id':this['id'],'type':this['subType']?this[_0x1fe8('0x20')]+':'+this[_0x1fe8('0x38')]:this['type'],'authorId':this['creator']['id'],'createdAt':this[_0x1fe8('0x1')],'hasComments':this[_0x1fe8('0x37')],'data':this[_0x1fe8('0x9')],'attributes':this[_0x1fe8('0x23')]};}static['getMultiRangeId'](){return _0x135c5a()[_0x1fe8('0x4')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f31=['isEqual','indexOf','elementEnd','isEmpty','name','insertion','addEmptyContainer','start','set','subType','_handleRenameSuggestionDescription','_locale','match','end','key','label','text','getWalker','has','Container','*Split:*\x20%0','type','skip','_addDescriptionItems','registerAttributeLabel','_itemLabelsCallbacks','_resolveDescriptionItems','format','remove','item','ELEMENT_SPACE','_handleAttributeSuggestionDescription','deletion','addObject','EmptyContainer','normal','removeContainer','previousSibling','isObject','_itemLabels','*Change\x20to:*\x20%0','removeFormat','matchingCallback','element','quantity','get','$text','pop','join','getDescriptions','checkChild','add','getFirstRange','newValue','removeEmptyContainer','push','_schema','_customCallbacks','$1\x20$2','_handleCustomCallbackDescription','*Remove:*\x20%0','data','*Merge:*\x20%0','nodeAfter','Object','removeObject','map','nextSibling','_attributeLabels','*Set\x20format:*\x20%0','REPLACE_TEXT','attribute','*Insert:*\x20%0','softBreak','replace','registerElementLabel','length','_handleInsertRemoveSuggestionDescription','addFormat','function','$textProxy','getItemLabel'];(function(_0xfbf4b2,_0x3f3110){const _0x54e9bf=function(_0x2a8b06){while(--_0x2a8b06){_0xfbf4b2['push'](_0xfbf4b2['shift']());}};_0x54e9bf(++_0x3f3110);}(_0x3f31,0xa6));const _0x54e9=function(_0xfbf4b2,_0x3f3110){_0xfbf4b2=_0xfbf4b2-0x0;let _0x54e9bf=_0x3f31[_0xfbf4b2];return _0x54e9bf;};import{getTranslation as _0x4468d1}from'./utils/common-translations';import{priorities as _0x344f6f,insertToPriorityArray as _0x4c301b}from'ckeditor5/src/utils';import{renameAttributeKey as _0x69412e}from'./trackchangesediting';export default class f{constructor(_0x6868d7,_0x438c76){this[_0x54e9('0x37')]=[],this[_0x54e9('0x25')]=new Map(),this[_0x54e9('0x17')]=[],this['_attributeLabels']=new Map(),this[_0x54e9('0x36')]=_0x6868d7,this[_0x54e9('0x9')]=_0x438c76;}[_0x54e9('0x2f')](_0x22ecd9){const _0x3eaad8=[],_0x58d941=new Set(),_0x419f28=new Set();for(let _0x56d013=0x0;_0x56d013<_0x22ecd9[_0x54e9('0x4a')];_0x56d013++){const _0x9c82c5=_0x22ecd9[_0x56d013];if(!_0x9c82c5['isInContent'])continue;const _0x4eca2c=this[_0x54e9('0x39')](_0x9c82c5);if(_0x4eca2c){if(null!=_0x9c82c5[_0x54e9('0x7')]){if(_0x58d941[_0x54e9('0x10')](_0x9c82c5['subType']))continue;_0x58d941[_0x54e9('0x31')](_0x9c82c5[_0x54e9('0x7')]);}_0x3eaad8[_0x54e9('0x35')](_0x4eca2c);}else{if(_0x54e9('0x45')!=_0x9c82c5['type'])_0x54e9('0x3')!=_0x9c82c5[_0x54e9('0x13')]&&'deletion'!=_0x9c82c5[_0x54e9('0x13')]||this[_0x54e9('0x4b')](_0x3eaad8,_0x9c82c5,_0x22ecd9[_0x56d013+0x1]);else{const _0x37cd97=_0x9c82c5[_0x54e9('0x3b')][_0x54e9('0xc')];if(_0x419f28[_0x54e9('0x10')](_0x37cd97))continue;_0x419f28[_0x54e9('0x31')](_0x9c82c5['data'][_0x54e9('0xc')]),_0x37cd97==_0x69412e?this[_0x54e9('0x8')](_0x3eaad8,_0x9c82c5):this[_0x54e9('0x1d')](_0x3eaad8,_0x9c82c5);}}}return this['_resolveDescriptionItems'](_0x3eaad8);}['registerDescriptionCallback'](_0x2894b4){this[_0x54e9('0x37')]['push'](_0x2894b4);}[_0x54e9('0x49')](_0x2b1a97,_0x22653b,_0x2bd0fd=_0x344f6f[_0x54e9('0x21')]){_0x54e9('0x4d')==typeof _0x2b1a97?_0x4c301b(this['_itemLabelsCallbacks'],{'matchingCallback':_0x2b1a97,'label':_0x22653b,'priority':_0x2bd0fd}):this[_0x54e9('0x25')][_0x54e9('0x6')](_0x2b1a97,_0x22653b);}[_0x54e9('0x16')](_0x146e0d,_0x2c5e1d){this['_attributeLabels'][_0x54e9('0x6')](_0x146e0d,_0x2c5e1d);}[_0x54e9('0x4f')](_0x25f4d4,_0x1a3cc7=0x1){let _0x5156ea;for(const _0x409a6a of this[_0x54e9('0x17')])if(_0x409a6a[_0x54e9('0x28')](_0x25f4d4)){_0x5156ea=_0x409a6a[_0x54e9('0xd')];break;}return _0x5156ea||(_0x5156ea=this['_itemLabels'][_0x54e9('0x2b')](_0x25f4d4[_0x54e9('0x2')])),_0x5156ea?_0x5156ea(_0x1a3cc7):0x1!==_0x1a3cc7?_0x1a3cc7+'\x20'+_0x25f4d4['name']+'s':''+_0x25f4d4['name'];}[_0x54e9('0x15')](_0x566447,_0x344945){const _0x46eb46=_0x344945[_0x54e9('0x32')]()[_0x54e9('0xf')](),_0xabd13a=_0x54e9('0x3')==_0x344945['type']?_0x54e9('0x31'):'remove';for(const _0x43e697 of _0x46eb46){const _0x913d80=_0x43e697['item'],_0x6973d6=_0x566447[_0x566447[_0x54e9('0x4a')]-0x1];if(_0x913d80['is'](_0x54e9('0x4e')))_0x6973d6&&_0x6973d6[_0x54e9('0x13')]['indexOf']('Container')>-0x1&&_0x566447[_0x54e9('0x2d')](),_0x6973d6&&_0x54e9('0xe')==_0x6973d6[_0x54e9('0x13')]?_0x6973d6[_0xabd13a]+=_0x913d80[_0x54e9('0x3b')]:_0x566447[_0x54e9('0x35')]({'type':_0x54e9('0xe'),'add':_0x54e9('0x31')==_0xabd13a?_0x913d80['data']:'','remove':'remove'==_0xabd13a?_0x913d80['data']:''});else{if(this[_0x54e9('0x36')][_0x54e9('0x24')](_0x913d80)){const _0x5db255=_0x913d80;if(_0x6973d6&&_0x6973d6[_0x54e9('0x13')][_0x54e9('0x51')](_0x54e9('0x11'))>-0x1&&_0x566447['pop'](),_0x54e9('0x0')==_0x43e697[_0x54e9('0x13')])continue;_0x6973d6&&_0x6973d6['type']==_0xabd13a+'Object'&&_0x6973d6[_0x54e9('0x29')][_0x54e9('0x2')]==_0x5db255[_0x54e9('0x2')]?_0x6973d6[_0x54e9('0x2a')]++:_0x566447[_0x54e9('0x35')]({'type':_0xabd13a+_0x54e9('0x3e'),'element':_0x5db255,'quantity':0x1}),_0x46eb46[_0x54e9('0x14')](_0x369607=>!(_0x54e9('0x0')==_0x369607['type']&&_0x369607[_0x54e9('0x1b')]==_0x913d80));}else{if(this[_0x54e9('0x36')][_0x54e9('0x30')](_0x913d80,_0x54e9('0x2c'))||_0x913d80['is'](_0x54e9('0x29'),_0x54e9('0x47'))){const _0x34879c=_0x913d80;if(_0x54e9('0x31')==_0xabd13a&&'elementStart'==_0x43e697[_0x54e9('0x13')]||'remove'==_0xabd13a&&_0x54e9('0x0')==_0x43e697[_0x54e9('0x13')])continue;if(_0x6973d6&&-0x1==_0x6973d6['type']['indexOf'](_0x54e9('0x11'))){_0x54e9('0xe')==_0x6973d6['type']&&(_0x6973d6[_0xabd13a]+='\x0a');continue;}let _0x201946;if(_0x201946='add'==_0xabd13a?_0x34879c[_0x54e9('0x41')]&&!this[_0x54e9('0x36')][_0x54e9('0x24')](_0x34879c[_0x54e9('0x41')])?_0x34879c['nextSibling']:null:_0x34879c[_0x54e9('0x23')]&&!this[_0x54e9('0x36')][_0x54e9('0x24')](_0x34879c['previousSibling'])?_0x34879c['previousSibling']:null,_0x34879c[_0x54e9('0x1')]||_0x201946&&_0x201946['isEmpty']){const _0x310ef2=_0x201946&&_0x201946[_0x54e9('0x1')]?_0x201946:_0x34879c;_0x6973d6&&_0x6973d6[_0x54e9('0x13')]==_0xabd13a+'EmptyContainer'&&_0x6973d6[_0x54e9('0x29')][_0x54e9('0x2')]==_0x310ef2['name']?_0x6973d6[_0x54e9('0x2a')]++:_0x566447[_0x54e9('0x35')]({'type':_0xabd13a+_0x54e9('0x20'),'element':_0x310ef2,'quantity':0x1});}else _0x566447['push']({'type':_0xabd13a+_0x54e9('0x11'),'element':_0x34879c});}}}}}[_0x54e9('0x18')](_0x315939){const _0x283b53=this[_0x54e9('0x9')],_0x4aee5b=[],_0x47c9ce=[],_0x3471f6=[];for(const _0x30ade3 of _0x315939)switch(_0x30ade3[_0x54e9('0x13')]){case _0x54e9('0xe'):if(_0x30ade3[_0x54e9('0x31')]=_0x30ade3[_0x54e9('0x31')][_0x54e9('0x48')](/(\S)\u000A+(\S)/g,_0x54e9('0x38'))[_0x54e9('0x48')](/\u000A/g,''),_0x30ade3[_0x54e9('0x1a')]=_0x30ade3[_0x54e9('0x1a')][_0x54e9('0x48')](/(\S)\u000A+(\S)/g,_0x54e9('0x38'))[_0x54e9('0x48')](/\u000A/g,''),''!=_0x30ade3[_0x54e9('0x31')]&&''!=_0x30ade3[_0x54e9('0x1a')]){_0x4aee5b[_0x54e9('0x35')]({'type':'replace','content':_0x4468d1(_0x283b53,_0x54e9('0x44'),['\x22'+_0x30ade3[_0x54e9('0x1a')]+'\x22','\x22'+_0x30ade3[_0x54e9('0x31')]+'\x22'])});continue;}if(null!=_0x30ade3[_0x54e9('0x31')][_0x54e9('0xa')](/^ +$/)){_0x4aee5b['push']({'type':_0x54e9('0x3'),'content':_0x4468d1(_0x283b53,_0x54e9('0x46'),_0x4468d1(_0x283b53,_0x54e9('0x1c'),_0x30ade3['add'][_0x54e9('0x4a')]))});continue;}if(null!=_0x30ade3['remove'][_0x54e9('0xa')](/^ +$/)){_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x1e'),'content':_0x4468d1(_0x283b53,_0x54e9('0x3a'),_0x4468d1(_0x283b53,_0x54e9('0x1c'),_0x30ade3[_0x54e9('0x1a')][_0x54e9('0x4a')]))});continue;}if(''!=_0x30ade3[_0x54e9('0x31')]){_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x3'),'content':_0x4468d1(_0x283b53,'*Insert:*\x20%0','\x22'+_0x30ade3[_0x54e9('0x31')]+'\x22')});continue;}_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x1e'),'content':_0x4468d1(_0x283b53,_0x54e9('0x3a'),'\x22'+_0x30ade3[_0x54e9('0x1a')]+'\x22')});continue;case _0x54e9('0x4'):case _0x54e9('0x1f'):_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x3'),'content':_0x4468d1(_0x283b53,'*Insert:*\x20%0',this[_0x54e9('0x4f')](_0x30ade3[_0x54e9('0x29')],_0x30ade3['quantity']))});continue;case _0x54e9('0x34'):case _0x54e9('0x3f'):_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x1e'),'content':_0x4468d1(_0x283b53,_0x54e9('0x3a'),this[_0x54e9('0x4f')](_0x30ade3[_0x54e9('0x29')],_0x30ade3[_0x54e9('0x2a')]))});continue;case'addContainer':_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x3'),'content':_0x4468d1(_0x283b53,_0x54e9('0x12'),this[_0x54e9('0x4f')](_0x30ade3[_0x54e9('0x29')],_0x30ade3['quantity']))});continue;case _0x54e9('0x22'):_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x1e'),'content':_0x4468d1(_0x283b53,_0x54e9('0x3c'),this[_0x54e9('0x4f')](_0x30ade3[_0x54e9('0x29')],_0x30ade3[_0x54e9('0x2a')]))});continue;case _0x54e9('0x4c'):_0x47c9ce[_0x54e9('0x35')](_0x30ade3[_0x54e9('0xc')]);continue;case _0x54e9('0x27'):_0x3471f6['push'](_0x30ade3[_0x54e9('0xc')]);continue;default:_0x4aee5b[_0x54e9('0x35')](_0x30ade3);}if(_0x47c9ce[_0x54e9('0x4a')]){const _0x14725e=_0x47c9ce[_0x54e9('0x40')](_0x566cd4=>this[_0x54e9('0x42')][_0x54e9('0x10')](_0x566cd4)?this[_0x54e9('0x42')][_0x54e9('0x2b')](_0x566cd4):_0x566cd4)[_0x54e9('0x2e')](',\x20');_0x4aee5b[_0x54e9('0x35')]({'type':_0x54e9('0x19'),'content':_0x4468d1(this[_0x54e9('0x9')],_0x54e9('0x43'),_0x14725e)});}if(_0x3471f6[_0x54e9('0x4a')]){const _0x42361e=_0x3471f6[_0x54e9('0x40')](_0x377538=>this['_attributeLabels'][_0x54e9('0x10')](_0x377538)?this['_attributeLabels'][_0x54e9('0x2b')](_0x377538):_0x377538)[_0x54e9('0x2e')](',\x20');_0x4aee5b['push']({'type':_0x54e9('0x19'),'content':_0x4468d1(this['_locale'],'*Remove\x20format:*\x20%0',_0x42361e)});}return _0x4aee5b;}[_0x54e9('0x39')](_0x43cff5){for(const _0x49f5a6 of this['_customCallbacks']){const _0x4227a1=_0x49f5a6(_0x43cff5);if(_0x4227a1&&_0x54e9('0x13')in _0x4227a1)return _0x4227a1;}}[_0x54e9('0x1d')](_0x18d249,_0x517d10){const _0xf05a73=_0x517d10[_0x54e9('0x3b')],_0x4eea8a=void 0x0===_0xf05a73[_0x54e9('0x33')]?_0x54e9('0x27'):_0x54e9('0x4c');_0x18d249['push']({'type':_0x4eea8a,'key':_0xf05a73[_0x54e9('0xc')]});}['_handleRenameSuggestionDescription'](_0x1757b5,_0x2016a0){_0x1757b5[_0x54e9('0x35')]({'type':'format','content':_0x4468d1(this[_0x54e9('0x9')],_0x54e9('0x26'),this['getItemLabel'](_0x2016a0[_0x54e9('0x32')]()[_0x54e9('0x5')][_0x54e9('0x3d')],0x1))});}[_0x54e9('0x4b')](_0x36a3ba,_0x57ab83,_0x411ce8){if(this[_0x54e9('0x15')](_0x36a3ba,_0x57ab83),_0x411ce8&&_0x411ce8[_0x54e9('0x32')]()&&!_0x57ab83['getFirstRange']()[_0x54e9('0xb')][_0x54e9('0x50')](_0x411ce8['getFirstRange']()['start'])){const _0x245954=_0x36a3ba[_0x36a3ba['length']-0x1],_0x583fe7=_0x54e9('0x3')==_0x57ab83[_0x54e9('0x13')]?'add':_0x54e9('0x1a');_0x245954&&_0x54e9('0xe')==_0x245954['type']&&(_0x245954[_0x583fe7]+='\x0a');}}}
23
+ const _0x7381=['addEmptyContainer','*Remove:*\x20%0','removeFormat','attribute','type','previousSibling','removeObject','_handleRenameSuggestionDescription','getItemLabel','getWalker','get','elementEnd','registerElementLabel','indexOf','label','length','ELEMENT_SPACE','isInContent','Container','key','EmptyContainer','isObject','join','isEmpty','push','normal','_resolveDescriptionItems','registerAttributeLabel','$textProxy','replace','newValue','_addDescriptionItems','Object','add','start','_locale','$text','_handleCustomCallbackDescription','subType','end','pop','removeContainer','_itemLabelsCallbacks','matchingCallback','getFirstRange','_customCallbacks','skip','_handleInsertRemoveSuggestionDescription','REPLACE_TEXT','elementStart','_schema','match','format','data','nextSibling','*Set\x20format:*\x20%0','*Remove\x20format:*\x20%0','softBreak','_itemLabels','removeEmptyContainer','isEqual','registerDescriptionCallback','*Change\x20to:*\x20%0','deletion','checkChild','remove','element','text','addFormat','$1\x20$2','*Insert:*\x20%0','item','quantity','has','nodeAfter','insertion','*Merge:*\x20%0','getDescriptions','_handleAttributeSuggestionDescription','_attributeLabels','name','map'];(function(_0x5ae8da,_0x73810d){const _0x574d90=function(_0x581917){while(--_0x581917){_0x5ae8da['push'](_0x5ae8da['shift']());}};_0x574d90(++_0x73810d);}(_0x7381,0x1e2));const _0x574d=function(_0x5ae8da,_0x73810d){_0x5ae8da=_0x5ae8da-0x0;let _0x574d90=_0x7381[_0x5ae8da];return _0x574d90;};import{getTranslation as _0x2191b9}from'./utils/common-translations';import{priorities as _0x4db920,insertToPriorityArray as _0x59aad3}from'ckeditor5/src/utils';import{renameAttributeKey as _0x56bbd1}from'./trackchangesediting';export default class f{constructor(_0x40f10e,_0x4758a6){this['_customCallbacks']=[],this[_0x574d('0x44')]=new Map(),this[_0x574d('0x34')]=[],this[_0x574d('0x7')]=new Map(),this['_schema']=_0x40f10e,this[_0x574d('0x2d')]=_0x4758a6;}[_0x574d('0x5')](_0x5ebc0c){const _0x2eaa4f=[],_0x4f7945=new Set(),_0x1fd29b=new Set();for(let _0x398582=0x0;_0x398582<_0x5ebc0c['length'];_0x398582++){const _0x1bbe8b=_0x5ebc0c[_0x398582];if(!_0x1bbe8b[_0x574d('0x1b')])continue;const _0x2dda46=this['_handleCustomCallbackDescription'](_0x1bbe8b);if(_0x2dda46){if(null!=_0x1bbe8b[_0x574d('0x30')]){if(_0x4f7945[_0x574d('0x1')](_0x1bbe8b[_0x574d('0x30')]))continue;_0x4f7945[_0x574d('0x2b')](_0x1bbe8b[_0x574d('0x30')]);}_0x2eaa4f[_0x574d('0x22')](_0x2dda46);}else{if(_0x574d('0xd')!=_0x1bbe8b['type'])_0x574d('0x3')!=_0x1bbe8b['type']&&_0x574d('0x49')!=_0x1bbe8b[_0x574d('0xe')]||this[_0x574d('0x39')](_0x2eaa4f,_0x1bbe8b,_0x5ebc0c[_0x398582+0x1]);else{const _0x159d53=_0x1bbe8b[_0x574d('0x3f')]['key'];if(_0x1fd29b[_0x574d('0x1')](_0x159d53))continue;_0x1fd29b[_0x574d('0x2b')](_0x1bbe8b[_0x574d('0x3f')][_0x574d('0x1d')]),_0x159d53==_0x56bbd1?this['_handleRenameSuggestionDescription'](_0x2eaa4f,_0x1bbe8b):this[_0x574d('0x6')](_0x2eaa4f,_0x1bbe8b);}}}return this[_0x574d('0x24')](_0x2eaa4f);}[_0x574d('0x47')](_0x31fb4b){this['_customCallbacks'][_0x574d('0x22')](_0x31fb4b);}[_0x574d('0x16')](_0x133ac8,_0x57db59,_0x30071e=_0x4db920[_0x574d('0x23')]){'function'==typeof _0x133ac8?_0x59aad3(this[_0x574d('0x34')],{'matchingCallback':_0x133ac8,'label':_0x57db59,'priority':_0x30071e}):this['_itemLabels']['set'](_0x133ac8,_0x57db59);}[_0x574d('0x25')](_0x5708df,_0x4a5f1c){this['_attributeLabels']['set'](_0x5708df,_0x4a5f1c);}[_0x574d('0x12')](_0x3ad97c,_0x39cea8=0x1){let _0xef9322;for(const _0x2efd8b of this[_0x574d('0x34')])if(_0x2efd8b[_0x574d('0x35')](_0x3ad97c)){_0xef9322=_0x2efd8b[_0x574d('0x18')];break;}return _0xef9322||(_0xef9322=this[_0x574d('0x44')][_0x574d('0x14')](_0x3ad97c[_0x574d('0x8')])),_0xef9322?_0xef9322(_0x39cea8):0x1!==_0x39cea8?_0x39cea8+'\x20'+_0x3ad97c[_0x574d('0x8')]+'s':''+_0x3ad97c[_0x574d('0x8')];}[_0x574d('0x29')](_0x4e0d7a,_0x3960b0){const _0x569389=_0x3960b0[_0x574d('0x36')]()[_0x574d('0x13')](),_0x509318='insertion'==_0x3960b0[_0x574d('0xe')]?_0x574d('0x2b'):'remove';for(const _0x46b58e of _0x569389){const _0x50fa84=_0x46b58e[_0x574d('0x51')],_0x496ed6=_0x4e0d7a[_0x4e0d7a[_0x574d('0x19')]-0x1];if(_0x50fa84['is'](_0x574d('0x26')))_0x496ed6&&_0x496ed6[_0x574d('0xe')]['indexOf'](_0x574d('0x1c'))>-0x1&&_0x4e0d7a[_0x574d('0x32')](),_0x496ed6&&_0x574d('0x4d')==_0x496ed6[_0x574d('0xe')]?_0x496ed6[_0x509318]+=_0x50fa84['data']:_0x4e0d7a[_0x574d('0x22')]({'type':_0x574d('0x4d'),'add':'add'==_0x509318?_0x50fa84[_0x574d('0x3f')]:'','remove':_0x574d('0x4b')==_0x509318?_0x50fa84['data']:''});else{if(this['_schema'][_0x574d('0x1f')](_0x50fa84)){const _0x597612=_0x50fa84;if(_0x496ed6&&_0x496ed6['type']['indexOf'](_0x574d('0x1c'))>-0x1&&_0x4e0d7a[_0x574d('0x32')](),_0x574d('0x15')==_0x46b58e[_0x574d('0xe')])continue;_0x496ed6&&_0x496ed6[_0x574d('0xe')]==_0x509318+_0x574d('0x2a')&&_0x496ed6['element'][_0x574d('0x8')]==_0x597612[_0x574d('0x8')]?_0x496ed6[_0x574d('0x0')]++:_0x4e0d7a['push']({'type':_0x509318+'Object','element':_0x597612,'quantity':0x1}),_0x569389[_0x574d('0x38')](_0x554b44=>!(_0x574d('0x15')==_0x554b44['type']&&_0x554b44[_0x574d('0x51')]==_0x50fa84));}else{if(this[_0x574d('0x3c')][_0x574d('0x4a')](_0x50fa84,_0x574d('0x2e'))||_0x50fa84['is'](_0x574d('0x4c'),_0x574d('0x43'))){const _0x39aa30=_0x50fa84;if(_0x574d('0x2b')==_0x509318&&_0x574d('0x3b')==_0x46b58e[_0x574d('0xe')]||_0x574d('0x4b')==_0x509318&&_0x574d('0x15')==_0x46b58e['type'])continue;if(_0x496ed6&&-0x1==_0x496ed6['type'][_0x574d('0x17')]('Container')){_0x574d('0x4d')==_0x496ed6[_0x574d('0xe')]&&(_0x496ed6[_0x509318]+='\x0a');continue;}let _0x2ec6fe;if(_0x2ec6fe=_0x574d('0x2b')==_0x509318?_0x39aa30[_0x574d('0x40')]&&!this[_0x574d('0x3c')][_0x574d('0x1f')](_0x39aa30[_0x574d('0x40')])?_0x39aa30[_0x574d('0x40')]:null:_0x39aa30[_0x574d('0xf')]&&!this[_0x574d('0x3c')]['isObject'](_0x39aa30[_0x574d('0xf')])?_0x39aa30[_0x574d('0xf')]:null,_0x39aa30['isEmpty']||_0x2ec6fe&&_0x2ec6fe[_0x574d('0x21')]){const _0x7fbb47=_0x2ec6fe&&_0x2ec6fe[_0x574d('0x21')]?_0x2ec6fe:_0x39aa30;_0x496ed6&&_0x496ed6[_0x574d('0xe')]==_0x509318+_0x574d('0x1e')&&_0x496ed6[_0x574d('0x4c')][_0x574d('0x8')]==_0x7fbb47[_0x574d('0x8')]?_0x496ed6[_0x574d('0x0')]++:_0x4e0d7a['push']({'type':_0x509318+_0x574d('0x1e'),'element':_0x7fbb47,'quantity':0x1});}else _0x4e0d7a['push']({'type':_0x509318+_0x574d('0x1c'),'element':_0x39aa30});}}}}}[_0x574d('0x24')](_0x119929){const _0x14d0b7=this[_0x574d('0x2d')],_0x4ff9db=[],_0x25d105=[],_0x48adb0=[];for(const _0x45d7bb of _0x119929)switch(_0x45d7bb[_0x574d('0xe')]){case _0x574d('0x4d'):if(_0x45d7bb[_0x574d('0x2b')]=_0x45d7bb[_0x574d('0x2b')][_0x574d('0x27')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x574d('0x27')](/\u000A/g,''),_0x45d7bb[_0x574d('0x4b')]=_0x45d7bb[_0x574d('0x4b')][_0x574d('0x27')](/(\S)\u000A+(\S)/g,_0x574d('0x4f'))[_0x574d('0x27')](/\u000A/g,''),''!=_0x45d7bb['add']&&''!=_0x45d7bb[_0x574d('0x4b')]){_0x4ff9db[_0x574d('0x22')]({'type':_0x574d('0x27'),'content':_0x2191b9(_0x14d0b7,_0x574d('0x3a'),['\x22'+_0x45d7bb[_0x574d('0x4b')]+'\x22','\x22'+_0x45d7bb[_0x574d('0x2b')]+'\x22'])});continue;}if(null!=_0x45d7bb[_0x574d('0x2b')][_0x574d('0x3d')](/^ +$/)){_0x4ff9db['push']({'type':_0x574d('0x3'),'content':_0x2191b9(_0x14d0b7,_0x574d('0x50'),_0x2191b9(_0x14d0b7,_0x574d('0x1a'),_0x45d7bb[_0x574d('0x2b')]['length']))});continue;}if(null!=_0x45d7bb[_0x574d('0x4b')][_0x574d('0x3d')](/^ +$/)){_0x4ff9db['push']({'type':_0x574d('0x49'),'content':_0x2191b9(_0x14d0b7,_0x574d('0xb'),_0x2191b9(_0x14d0b7,_0x574d('0x1a'),_0x45d7bb[_0x574d('0x4b')][_0x574d('0x19')]))});continue;}if(''!=_0x45d7bb['add']){_0x4ff9db[_0x574d('0x22')]({'type':_0x574d('0x3'),'content':_0x2191b9(_0x14d0b7,_0x574d('0x50'),'\x22'+_0x45d7bb['add']+'\x22')});continue;}_0x4ff9db[_0x574d('0x22')]({'type':'deletion','content':_0x2191b9(_0x14d0b7,_0x574d('0xb'),'\x22'+_0x45d7bb[_0x574d('0x4b')]+'\x22')});continue;case _0x574d('0xa'):case'addObject':_0x4ff9db['push']({'type':_0x574d('0x3'),'content':_0x2191b9(_0x14d0b7,_0x574d('0x50'),this[_0x574d('0x12')](_0x45d7bb[_0x574d('0x4c')],_0x45d7bb[_0x574d('0x0')]))});continue;case _0x574d('0x45'):case _0x574d('0x10'):_0x4ff9db['push']({'type':_0x574d('0x49'),'content':_0x2191b9(_0x14d0b7,_0x574d('0xb'),this['getItemLabel'](_0x45d7bb['element'],_0x45d7bb['quantity']))});continue;case'addContainer':_0x4ff9db[_0x574d('0x22')]({'type':'insertion','content':_0x2191b9(_0x14d0b7,'*Split:*\x20%0',this[_0x574d('0x12')](_0x45d7bb['element'],_0x45d7bb[_0x574d('0x0')]))});continue;case _0x574d('0x33'):_0x4ff9db['push']({'type':_0x574d('0x49'),'content':_0x2191b9(_0x14d0b7,_0x574d('0x4'),this[_0x574d('0x12')](_0x45d7bb['element'],_0x45d7bb[_0x574d('0x0')]))});continue;case _0x574d('0x4e'):_0x25d105['push'](_0x45d7bb[_0x574d('0x1d')]);continue;case _0x574d('0xc'):_0x48adb0['push'](_0x45d7bb[_0x574d('0x1d')]);continue;default:_0x4ff9db[_0x574d('0x22')](_0x45d7bb);}if(_0x25d105['length']){const _0x1639e7=_0x25d105[_0x574d('0x9')](_0x1244b4=>this[_0x574d('0x7')]['has'](_0x1244b4)?this[_0x574d('0x7')][_0x574d('0x14')](_0x1244b4):_0x1244b4)[_0x574d('0x20')](',\x20');_0x4ff9db[_0x574d('0x22')]({'type':_0x574d('0x3e'),'content':_0x2191b9(this[_0x574d('0x2d')],_0x574d('0x41'),_0x1639e7)});}if(_0x48adb0[_0x574d('0x19')]){const _0x34511a=_0x48adb0[_0x574d('0x9')](_0x539c80=>this['_attributeLabels'][_0x574d('0x1')](_0x539c80)?this['_attributeLabels'][_0x574d('0x14')](_0x539c80):_0x539c80)[_0x574d('0x20')](',\x20');_0x4ff9db[_0x574d('0x22')]({'type':'format','content':_0x2191b9(this['_locale'],_0x574d('0x42'),_0x34511a)});}return _0x4ff9db;}[_0x574d('0x2f')](_0x39f189){for(const _0x1d5732 of this[_0x574d('0x37')]){const _0x60ff11=_0x1d5732(_0x39f189);if(_0x60ff11&&_0x574d('0xe')in _0x60ff11)return _0x60ff11;}}['_handleAttributeSuggestionDescription'](_0x56f428,_0x2e5527){const _0x2c8a51=_0x2e5527[_0x574d('0x3f')],_0x2b3293=void 0x0===_0x2c8a51[_0x574d('0x28')]?_0x574d('0xc'):_0x574d('0x4e');_0x56f428[_0x574d('0x22')]({'type':_0x2b3293,'key':_0x2c8a51[_0x574d('0x1d')]});}[_0x574d('0x11')](_0x28419b,_0x6cca25){_0x28419b['push']({'type':_0x574d('0x3e'),'content':_0x2191b9(this['_locale'],_0x574d('0x48'),this[_0x574d('0x12')](_0x6cca25[_0x574d('0x36')]()[_0x574d('0x2c')][_0x574d('0x2')],0x1))});}[_0x574d('0x39')](_0x1c5fff,_0x2d5bc4,_0x53c0f3){if(this['_addDescriptionItems'](_0x1c5fff,_0x2d5bc4),_0x53c0f3&&_0x53c0f3['getFirstRange']()&&!_0x2d5bc4[_0x574d('0x36')]()[_0x574d('0x31')][_0x574d('0x46')](_0x53c0f3['getFirstRange']()[_0x574d('0x2c')])){const _0x324b5a=_0x1c5fff[_0x1c5fff[_0x574d('0x19')]-0x1],_0x4a714a=_0x574d('0x3')==_0x2d5bc4['type']?_0x574d('0x2b'):_0x574d('0x4b');_0x324b5a&&_0x574d('0x4d')==_0x324b5a[_0x574d('0xe')]&&(_0x324b5a[_0x4a714a]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3368=['getSuggestion','TrackChanges','Comments','plugins','editor','adapter','getSuggestions','get','pluginName','addSuggestionData','addSuggestion'];(function(_0x5acccd,_0x3368a1){var _0x35d1c8=function(_0x1b0147){while(--_0x1b0147){_0x5acccd['push'](_0x5acccd['shift']());}};_0x35d1c8(++_0x3368a1);}(_0x3368,0x1e1));var _0x35d1=function(_0x5acccd,_0x3368a1){_0x5acccd=_0x5acccd-0x0;var _0x35d1c8=_0x3368[_0x5acccd];return _0x35d1c8;};import{Plugin as _0x1581de}from'ckeditor5/src/core';import _0x220412 from'./trackchangesui';import _0x1d3ff1 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1581de{static get['requires'](){return[_0x1d3ff1,_0x220412,_0x35d1('0x5')];}static get[_0x35d1('0x0')](){return _0x35d1('0x4');}set[_0x35d1('0x8')](_0x34b083){this[_0x35d1('0x7')]['plugins']['get'](_0x1d3ff1)[_0x35d1('0x8')]=_0x34b083;}get[_0x35d1('0x8')](){return this[_0x35d1('0x7')]['plugins'][_0x35d1('0xa')](_0x1d3ff1)[_0x35d1('0x8')];}[_0x35d1('0x2')](_0x58fe1c){return this['editor'][_0x35d1('0x6')][_0x35d1('0xa')](_0x1d3ff1)[_0x35d1('0x1')](_0x58fe1c);}[_0x35d1('0x9')]({skipNotAttached:_0x12e628=!0x1,toJSON:_0xa115b2=!0x1}={}){return this[_0x35d1('0x7')][_0x35d1('0x6')][_0x35d1('0xa')](_0x1d3ff1)[_0x35d1('0x9')]({'skipNotAttached':_0x12e628,'toJSON':_0xa115b2});}['getSuggestion'](_0x3dd8da){return this[_0x35d1('0x7')][_0x35d1('0x6')][_0x35d1('0xa')](_0x1d3ff1)[_0x35d1('0x3')](_0x3dd8da);}}
23
+ var _0x27c0=['addSuggestionData','getSuggestions','pluginName','editor','getSuggestion','requires','plugins','adapter','addSuggestion','get'];(function(_0x12b9dd,_0x27c030){var _0x5a40e8=function(_0x2319a4){while(--_0x2319a4){_0x12b9dd['push'](_0x12b9dd['shift']());}};_0x5a40e8(++_0x27c030);}(_0x27c0,0xb2));var _0x5a40=function(_0x12b9dd,_0x27c030){_0x12b9dd=_0x12b9dd-0x0;var _0x5a40e8=_0x27c0[_0x12b9dd];return _0x5a40e8;};import{Plugin as _0x40928a}from'ckeditor5/src/core';import _0x666a34 from'./trackchangesui';import _0x20b55c from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x40928a{static get[_0x5a40('0x7')](){return[_0x20b55c,_0x666a34,'Comments'];}static get[_0x5a40('0x4')](){return'TrackChanges';}set[_0x5a40('0x9')](_0x23328c){this['editor']['plugins'][_0x5a40('0x1')](_0x20b55c)[_0x5a40('0x9')]=_0x23328c;}get[_0x5a40('0x9')](){return this[_0x5a40('0x5')][_0x5a40('0x8')]['get'](_0x20b55c)[_0x5a40('0x9')];}[_0x5a40('0x0')](_0x55beca){return this[_0x5a40('0x5')][_0x5a40('0x8')]['get'](_0x20b55c)[_0x5a40('0x2')](_0x55beca);}[_0x5a40('0x3')]({skipNotAttached:_0x2104c5=!0x1,toJSON:_0x498176=!0x1}={}){return this[_0x5a40('0x5')][_0x5a40('0x8')][_0x5a40('0x1')](_0x20b55c)['getSuggestions']({'skipNotAttached':_0x2104c5,'toJSON':_0x498176});}['getSuggestion'](_0x20cbe8){return this[_0x5a40('0x5')][_0x5a40('0x8')][_0x5a40('0x1')](_0x20b55c)[_0x5a40('0x6')](_0x20cbe8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f62=['config','get','TrackChangesDataGetter','editorCreator','trackChangesData.editorCreator','model','CommentsRepository','getSuggestions','_adapter','rootsAttributes','end','Pagination','map','trackChangesData','useAnonymousUser','plugins','getUser','data','Users','reduce','editor','getDataWithDiscardedSuggestions','function','getRootsAttributes','requires','document','div','getRootNames','result','track-changes-data-invalid-editor-creator','name','init','TrackChangesEditing','define','appendChild','pluginName','create','getDataWithAcceptedSuggestions'];(function(_0x1041af,_0x2f6295){const _0x42bf9b=function(_0x50659d){while(--_0x50659d){_0x1041af['push'](_0x1041af['shift']());}};_0x42bf9b(++_0x2f6295);}(_0x2f62,0xa8));const _0x42bf=function(_0x1041af,_0x2f6295){_0x1041af=_0x1041af-0x0;let _0x42bf9b=_0x2f62[_0x1041af];return _0x42bf9b;};import{Plugin as _0x1057f7}from'ckeditor5/src/core';import{CKEditorError as _0x4f8de8}from'ckeditor5/src/utils';import _0x1da17e from'./trackchangesediting';import{sanitizeEditorConfig as _0x5dd084}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x42bf('0x21')];export default class P extends _0x1057f7{static get[_0x42bf('0x8')](){return[_0x1da17e];}static get[_0x42bf('0x13')](){return'TrackChangesData';}['init'](){const _0x571622=this[_0x42bf('0x4')];if(_0x571622[_0x42bf('0x16')][_0x42bf('0x11')](_0x42bf('0x1a'),_0x1a4aba=>{const _0x27a785=_0x571622[_0x42bf('0x1b')][_0x42bf('0x9')]['getRootNames']()[_0x42bf('0x3')]((_0x227040,_0x206646)=>(_0x227040[_0x206646]='',_0x227040),{});return _0x571622['constructor'][_0x42bf('0x14')](_0x27a785,_0x1a4aba);}),_0x42bf('0x6')!=typeof _0x571622[_0x42bf('0x16')][_0x42bf('0x17')]('trackChangesData')['editorCreator'])throw new _0x4f8de8(_0x42bf('0xd'));}[_0x42bf('0x15')](_0x535b23){return N(this['editor'],!0x0,_0x535b23);}[_0x42bf('0x5')](_0x1b2ea7){return N(this['editor'],!0x1,_0x1b2ea7);}}class D extends _0x1057f7{static get[_0x42bf('0x13')](){return _0x42bf('0x18');}constructor(_0xc9da3d){super(_0xc9da3d),this[_0x42bf('0xc')]=_0x42bf('0x20');}[_0x42bf('0xf')](){this[_0x42bf('0x4')][_0x42bf('0x25')][_0x42bf('0x17')](_0x42bf('0x1c'))[_0x42bf('0x1e')]={'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[_0x42bf('0x4')][_0x42bf('0x25')][_0x42bf('0x17')](_0x42bf('0x10'))[_0x42bf('0x1e')]=null;}}function v(_0x4aaf08){return void 0x0!==_0x4aaf08['getRootsAttributes'];}async function N(_0x4ae6ba,_0x503647,_0x359302){const _0x3e9931=_0x5dd084(_0x4ae6ba,T);_0x3e9931[_0x42bf('0x25')]['push'](_0x1da17e,D),_0x3e9931[_0x42bf('0x1f')]=v(_0x4ae6ba)?_0x4ae6ba[_0x42bf('0x7')]():void 0x0;const _0x58307b=document['createDocumentFragment'](),_0x4dc0de=_0x4ae6ba['config']['get'](_0x42bf('0x23'))[_0x42bf('0x19')],_0x4fe3dd=await _0x4dc0de(_0x3e9931,()=>function(_0x357ef3){const _0x2db206=document['createElement'](_0x42bf('0xa'));return _0x357ef3[_0x42bf('0x12')](_0x2db206),_0x2db206;}(_0x58307b));!function(_0x24ff16,_0x514f6a){const _0x31489f=_0x24ff16[_0x42bf('0x1b')][_0x42bf('0x9')][_0x42bf('0xb')]()['reduce']((_0x29d3d3,_0x1978ae)=>(_0x29d3d3[_0x1978ae]=_0x24ff16['data'][_0x42bf('0x17')]({'rootName':_0x1978ae}),_0x29d3d3),{}),_0x59d505=_0x24ff16['plugins']['get'](_0x42bf('0x2'))['users'][_0x42bf('0x22')](_0x2df68b=>({'id':_0x2df68b['id'],'name':_0x2df68b[_0x42bf('0xe')]})),_0x1d5d0e=_0x24ff16[_0x42bf('0x25')]['get'](_0x42bf('0x10'))[_0x42bf('0x1d')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xf80a8a=_0x514f6a['plugins']['get'](_0x42bf('0x2')),_0x1188e7=_0x514f6a[_0x42bf('0x25')][_0x42bf('0x17')](_0x42bf('0x10'));for(const _0x5c9823 of _0x59d505)_0xf80a8a[_0x42bf('0x0')](_0x5c9823['id'])||_0xf80a8a['addUser'](_0x5c9823);_0xf80a8a['me']||_0xf80a8a[_0x42bf('0x24')]();for(const _0x17b75c of _0x1d5d0e)_0x1188e7['addSuggestionData'](_0x17b75c);_0x514f6a[_0x42bf('0x1')]['set'](_0x31489f);}(_0x4ae6ba,_0x4fe3dd),_0x4fe3dd['execute'](_0x503647?'acceptAllSuggestions':'discardAllSuggestions');const _0x99ad4c=v(_0x4fe3dd)?_0x4fe3dd['getFullData'](_0x359302):_0x4fe3dd[_0x42bf('0x1')][_0x42bf('0x17')](_0x359302);return await _0x4fe3dd['destroy'](),_0x99ad4c;}
23
+ const _0x1ca7=['getRootsAttributes','createDocumentFragment','editor','plugins','discardAllSuggestions','useAnonymousUser','CommentsRepository','execute','track-changes-data-invalid-editor-creator','create','rootsAttributes','name','get','getRootNames','trackChangesData','init','createElement','push','TrackChangesEditing','getFullData','reduce','result','getDataWithDiscardedSuggestions','_adapter','trackChangesData.editorCreator','data','requires','Pagination','Users','define','end','config','model','editorCreator','div','acceptAllSuggestions','users','addSuggestionData','document','appendChild','TrackChangesData','function'];(function(_0x3c683b,_0x1ca746){const _0x40e888=function(_0x267cbc){while(--_0x267cbc){_0x3c683b['push'](_0x3c683b['shift']());}};_0x40e888(++_0x1ca746);}(_0x1ca7,0x73));const _0x40e8=function(_0x3c683b,_0x1ca746){_0x3c683b=_0x3c683b-0x0;let _0x40e888=_0x1ca7[_0x3c683b];return _0x40e888;};import{Plugin as _0x3688e8}from'ckeditor5/src/core';import{CKEditorError as _0x2f1892}from'ckeditor5/src/utils';import _0x4c2bb4 from'./trackchangesediting';import{sanitizeEditorConfig as _0x5c702f}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x40e8('0x26')];export default class P extends _0x3688e8{static get[_0x40e8('0x25')](){return[_0x4c2bb4];}static get['pluginName'](){return _0x40e8('0x9');}[_0x40e8('0x1a')](){const _0x266a6a=this[_0x40e8('0xd')];if(_0x266a6a[_0x40e8('0x0')][_0x40e8('0x28')](_0x40e8('0x23'),_0x3e1f91=>{const _0x48ce99=_0x266a6a[_0x40e8('0x1')][_0x40e8('0x7')][_0x40e8('0x18')]()[_0x40e8('0x1f')]((_0x8166c4,_0x2ce5a1)=>(_0x8166c4[_0x2ce5a1]='',_0x8166c4),{});return _0x266a6a['constructor'][_0x40e8('0x14')](_0x48ce99,_0x3e1f91);}),_0x40e8('0xa')!=typeof _0x266a6a[_0x40e8('0x0')][_0x40e8('0x17')](_0x40e8('0x19'))[_0x40e8('0x2')])throw new _0x2f1892(_0x40e8('0x13'));}['getDataWithAcceptedSuggestions'](_0x2e3bf4){return N(this[_0x40e8('0xd')],!0x0,_0x2e3bf4);}[_0x40e8('0x21')](_0x35fabd){return N(this[_0x40e8('0xd')],!0x1,_0x35fabd);}}class D extends _0x3688e8{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0x3e2009){super(_0x3e2009),this[_0x40e8('0x20')]=_0x40e8('0x29');}[_0x40e8('0x1a')](){this[_0x40e8('0xd')][_0x40e8('0xe')][_0x40e8('0x17')](_0x40e8('0x11'))[_0x40e8('0x22')]={'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[_0x40e8('0xd')][_0x40e8('0xe')]['get'](_0x40e8('0x1d'))[_0x40e8('0x22')]=null;}}function v(_0xbe31e5){return void 0x0!==_0xbe31e5[_0x40e8('0xb')];}async function N(_0x9165d2,_0x39326f,_0xc2cf4f){const _0x1c6f79=_0x5c702f(_0x9165d2,T);_0x1c6f79['plugins'][_0x40e8('0x1c')](_0x4c2bb4,D),_0x1c6f79[_0x40e8('0x15')]=v(_0x9165d2)?_0x9165d2[_0x40e8('0xb')]():void 0x0;const _0x60cb69=document[_0x40e8('0xc')](),_0x428c2d=_0x9165d2[_0x40e8('0x0')][_0x40e8('0x17')]('trackChangesData')[_0x40e8('0x2')],_0x45c879=await _0x428c2d(_0x1c6f79,()=>function(_0x3a6621){const _0x35c012=document[_0x40e8('0x1b')](_0x40e8('0x3'));return _0x3a6621[_0x40e8('0x8')](_0x35c012),_0x35c012;}(_0x60cb69));!function(_0x40cc75,_0x257f8e){const _0x2a5e9f=_0x40cc75[_0x40e8('0x1')]['document'][_0x40e8('0x18')]()[_0x40e8('0x1f')]((_0x3372ca,_0x38a3e4)=>(_0x3372ca[_0x38a3e4]=_0x40cc75['data']['get']({'rootName':_0x38a3e4}),_0x3372ca),{}),_0x4eb8e9=_0x40cc75[_0x40e8('0xe')][_0x40e8('0x17')](_0x40e8('0x27'))[_0x40e8('0x5')]['map'](_0x730bd4=>({'id':_0x730bd4['id'],'name':_0x730bd4[_0x40e8('0x16')]})),_0x283a47=_0x40cc75[_0x40e8('0xe')][_0x40e8('0x17')](_0x40e8('0x1d'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x29833f=_0x257f8e[_0x40e8('0xe')][_0x40e8('0x17')](_0x40e8('0x27')),_0x800936=_0x257f8e[_0x40e8('0xe')][_0x40e8('0x17')](_0x40e8('0x1d'));for(const _0xe16061 of _0x4eb8e9)_0x29833f['getUser'](_0xe16061['id'])||_0x29833f['addUser'](_0xe16061);_0x29833f['me']||_0x29833f[_0x40e8('0x10')]();for(const _0x4941d8 of _0x283a47)_0x800936[_0x40e8('0x6')](_0x4941d8);_0x257f8e['data']['set'](_0x2a5e9f);}(_0x9165d2,_0x45c879),_0x45c879[_0x40e8('0x12')](_0x39326f?_0x40e8('0x4'):_0x40e8('0xf'));const _0x50b96e=v(_0x45c879)?_0x45c879[_0x40e8('0x1e')](_0xc2cf4f):_0x45c879[_0x40e8('0x24')][_0x40e8('0x17')](_0xc2cf4f);return await _0x45c879['destroy'](),_0x50b96e;}