@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240105.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/documentlist.js +1 -1
  18. package/src/integrations/documentlistproperties.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.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 _0x5765=['push','attributes','next','map','clear','_saved','getRange','getContainedElement','isIntersectingWithRange','setAttribute','getFirstMarker','removeMarkers','_model','accept','suggestion:','nodeAfter','previous','hasComments','getFirstRange','end','onDiscard','length','onAccept','decorate','filter','split','size','creator','isMultiRange','set','addMarkerName','_isDataLoaded','subType','_onAccept','getMarkers','data','toJSON','createdAt','getMarkerNames','substr','commentThread','removeMarker','_markerNames','getAllAdjacentSuggestions','getMultiRangeId','markers','getItems','type','addMarker','getRanges','author','isInContent','from','_onDiscard','@external','head','authoredAt','_onAttributesChange'];(function(_0x5ccd14,_0x576510){const _0xec9012=function(_0x1cf211){while(--_0x1cf211){_0x5ccd14['push'](_0x5ccd14['shift']());}};_0xec9012(++_0x576510);}(_0x5765,0x1ea));const _0xec90=function(_0x5ccd14,_0x576510){_0x5ccd14=_0x5ccd14-0x0;let _0xec9012=_0x5765[_0x5ccd14];return _0xec9012;};import{Element as _0x44e80f}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x195563,uid as _0x599613}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5dee7d,isEqual as _0x40ecdb,set as _0x1e2a5b,unset as _0x3ffb4f}from'lodash-es';export default class u extends _0x195563(){constructor(_0x43e9db,_0x2302bb){super(),this[_0xec90('0x5')]=!0x1,this['id']=_0x2302bb['id'],this[_0xec90('0x15')]=_0x2302bb[_0xec90('0x15')],this['subType']=_0x2302bb[_0xec90('0x6')]||null,this[_0xec90('0x18')]=_0x2302bb[_0xec90('0x18')],this[_0xec90('0x1')]=_0x2302bb['creator']||_0x2302bb[_0xec90('0x18')],this['isExternal']=Boolean(_0x2302bb['attributes']&&_0x2302bb[_0xec90('0x21')][_0xec90('0x1c')]),this[_0xec90('0x9')]=null,this[_0xec90('0x2c')]=_0x43e9db,this['_onAccept']=_0x2302bb[_0xec90('0x36')],this[_0xec90('0x1b')]=_0x2302bb[_0xec90('0x34')],this['_onAttributesChange']=_0x2302bb['onAttributesChange'],this['_markerNames']=new Set(),this[_0xec90('0xb')]=null,this['set'](_0xec90('0x1e'),null),this[_0xec90('0x3')](_0xec90('0x21'),_0x2302bb[_0xec90('0x21')]||{}),this[_0xec90('0x3')]('previous',null),this[_0xec90('0x3')](_0xec90('0x22'),null),this[_0xec90('0x3')](_0xec90('0xe'),null),this['set'](_0xec90('0x25'),!0x1),this[_0xec90('0x37')](_0xec90('0x2d')),this['decorate']('discard');}get[_0xec90('0x1d')](){let _0x31863a=this;for(;_0x31863a[_0xec90('0x30')];)_0x31863a=_0x31863a[_0xec90('0x30')];return _0x31863a;}get[_0xec90('0x31')](){return!!this['commentThread']&&this[_0xec90('0xe')][_0xec90('0x35')]>0x0;}get[_0xec90('0x2')](){if(0x0==this['_markerNames'][_0xec90('0x0')])return!0x1;return 0x6==Array[_0xec90('0x1a')](this[_0xec90('0x10')])[0x0][_0xec90('0x39')](':')[_0xec90('0x35')];}get[_0xec90('0x19')](){return null!==this[_0xec90('0x2a')]();}['addMarkerName'](_0x3f3f78){this[_0xec90('0x10')]['add'](_0x3f3f78);}[_0xec90('0xc')](){return Array[_0xec90('0x1a')](this[_0xec90('0x10')]);}[_0xec90('0x8')](){return this[_0xec90('0xc')]()[_0xec90('0x23')](_0x5d6b95=>this[_0xec90('0x2c')][_0xec90('0x13')]['get'](_0x5d6b95))[_0xec90('0x38')](_0x1cc179=>_0x1cc179);}['getFirstMarker'](){return this[_0xec90('0x8')]()[0x0]||null;}['removeMarkers'](){this[_0xec90('0x2c')]['change'](_0x3a0047=>{for(const _0x22420e of this[_0xec90('0x8')]())_0x3a0047[_0xec90('0xf')](_0x22420e);}),this['_markerNames'][_0xec90('0x24')]();}[_0xec90('0xf')](_0x56dbf9){this[_0xec90('0x2c')]['change'](_0x502bed=>{_0x502bed[_0xec90('0xf')](_0x56dbf9);}),this[_0xec90('0x10')]['delete'](_0x56dbf9);}['addRange'](_0x3a7b8e){const _0x6b3244=_0xec90('0x2e')+this[_0xec90('0x15')]+':'+this[_0xec90('0x6')]+':'+this['id']+':'+this[_0xec90('0x1')]['id']+':'+u[_0xec90('0x12')]();this[_0xec90('0x4')](_0x6b3244),this[_0xec90('0x2c')]['change'](_0x252d87=>{_0x252d87[_0xec90('0x16')](_0x6b3244,{'range':_0x3a7b8e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xec90('0x28')](_0x35b42e){for(const _0x1535bc of this[_0xec90('0x17')]())if(_0x1535bc['isIntersecting'](_0x35b42e))return!0x0;return!0x1;}[_0xec90('0x17')](){return this[_0xec90('0x8')]()[_0xec90('0x23')](_0xc97063=>_0xc97063[_0xec90('0x26')]());}[_0xec90('0x14')](){return this[_0xec90('0x17')]()['reduce']((_0x11d1b9,_0x596ccb)=>[..._0x11d1b9,..._0x596ccb['getItems']()],[]);}[_0xec90('0x32')](){var _0x282952;return(null===(_0x282952=this[_0xec90('0x2a')]())||void 0x0===_0x282952?void 0x0:_0x282952[_0xec90('0x26')]())||null;}[_0xec90('0x27')](){const _0x481a14=this[_0xec90('0x17')]();if(0x1!=_0x481a14[_0xec90('0x35')])return null;const _0x57e604=_0x481a14[0x0],_0x39742b=_0x57e604['start'][_0xec90('0x2f')],_0x34563=_0x57e604[_0xec90('0x33')]['nodeBefore'];return _0x39742b instanceof _0x44e80f?_0x39742b!=_0x34563?null:_0x39742b:null;}[_0xec90('0x2d')](){this[_0xec90('0x7')](this[_0xec90('0x17')](),this[_0xec90('0x9')],this[_0xec90('0x21')]),this['removeMarkers']();}['discard'](){this[_0xec90('0x1b')](this['getRanges'](),this[_0xec90('0x9')],this[_0xec90('0x21')]),this[_0xec90('0x2b')]();}[_0xec90('0x11')](){const _0x3b4791=[];let _0x1f5124=this['head'];for(;_0x1f5124;)_0x3b4791[_0xec90('0x20')](_0x1f5124),_0x1f5124=_0x1f5124['next'];return _0x3b4791;}[_0xec90('0x29')](_0x527b0f,_0x295199){const _0x3ba181=_0x5dee7d(this[_0xec90('0x21')]);_0x1e2a5b(_0x3ba181,_0x527b0f,_0x295199),_0x40ecdb(_0x3ba181,this[_0xec90('0x21')])||(this[_0xec90('0x21')]=_0x3ba181,this['_onAttributesChange'](_0x3ba181));}['removeAttribute'](_0x34b618){const _0x1a526c=_0x5dee7d(this[_0xec90('0x21')]);_0x3ffb4f(_0x1a526c,_0x34b618),_0x40ecdb(_0x1a526c,this[_0xec90('0x21')])||(this['attributes']=_0x1a526c,this[_0xec90('0x1f')](this[_0xec90('0x21')]));}[_0xec90('0xa')](){return{'id':this['id'],'type':this[_0xec90('0x6')]?this['type']+':'+this['subType']:this[_0xec90('0x15')],'authorId':this[_0xec90('0x1')]['id'],'createdAt':this[_0xec90('0xb')],'hasComments':this[_0xec90('0x31')],'data':this[_0xec90('0x9')],'attributes':this[_0xec90('0x21')]};}static[_0xec90('0x12')](){return _0x599613()[_0xec90('0xd')](0x1,0x5);}}
23
+ const _0x2b7b=['isExternal','nodeAfter','creator','author','start','_model','markers','getMarkers','@external','getFirstMarker','nodeBefore','toJSON','onAccept','getItems','_onAttributesChange','onAttributesChange','removeMarker','isMultiRange','split','push','get','previous','addMarker','getMultiRangeId','getRange','subType','end','getAllAdjacentSuggestions','getMarkerNames','accept','map','type','_saved','removeMarkers','_markerNames','length','change','attributes','head','next','data','getRanges','onDiscard','isIntersectingWithRange','from','decorate','createdAt','discard','isInContent','setAttribute','set','add','commentThread','_onAccept','addMarkerName','addRange','delete','suggestion:'];(function(_0x95ff30,_0x2b7bd3){const _0x530465=function(_0x3366c7){while(--_0x3366c7){_0x95ff30['push'](_0x95ff30['shift']());}};_0x530465(++_0x2b7bd3);}(_0x2b7b,0x8b));const _0x5304=function(_0x95ff30,_0x2b7bd3){_0x95ff30=_0x95ff30-0x0;let _0x530465=_0x2b7b[_0x95ff30];return _0x530465;};import{Element as _0x221dc3}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x2dff6f,uid as _0x1aa17f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x36b0a7,isEqual as _0x4a414b,set as _0x2457f9,unset as _0x56e82a}from'lodash-es';export default class u extends _0x2dff6f(){constructor(_0xd4ebb5,_0x3a68fe){super(),this['_isDataLoaded']=!0x1,this['id']=_0x3a68fe['id'],this[_0x5304('0x8')]=_0x3a68fe[_0x5304('0x8')],this[_0x5304('0x2')]=_0x3a68fe[_0x5304('0x2')]||null,this['author']=_0x3a68fe[_0x5304('0x26')],this[_0x5304('0x25')]=_0x3a68fe[_0x5304('0x25')]||_0x3a68fe[_0x5304('0x26')],this[_0x5304('0x23')]=Boolean(_0x3a68fe['attributes']&&_0x3a68fe[_0x5304('0xe')][_0x5304('0x2b')]),this[_0x5304('0x11')]=null,this[_0x5304('0x28')]=_0xd4ebb5,this[_0x5304('0x1e')]=_0x3a68fe[_0x5304('0x2f')],this['_onDiscard']=_0x3a68fe[_0x5304('0x13')],this[_0x5304('0x31')]=_0x3a68fe[_0x5304('0x32')],this['_markerNames']=new Set(),this[_0x5304('0x17')]=null,this[_0x5304('0x1b')]('authoredAt',null),this[_0x5304('0x1b')](_0x5304('0xe'),_0x3a68fe['attributes']||{}),this[_0x5304('0x1b')]('previous',null),this[_0x5304('0x1b')](_0x5304('0x10'),null),this[_0x5304('0x1b')](_0x5304('0x1d'),null),this[_0x5304('0x1b')](_0x5304('0x9'),!0x1),this['decorate'](_0x5304('0x6')),this[_0x5304('0x16')](_0x5304('0x18'));}get[_0x5304('0xf')](){let _0x4a9ef7=this;for(;_0x4a9ef7[_0x5304('0x38')];)_0x4a9ef7=_0x4a9ef7['previous'];return _0x4a9ef7;}get['hasComments'](){return!!this[_0x5304('0x1d')]&&this[_0x5304('0x1d')][_0x5304('0xc')]>0x0;}get[_0x5304('0x34')](){if(0x0==this[_0x5304('0xb')]['size'])return!0x1;return 0x6==Array['from'](this[_0x5304('0xb')])[0x0][_0x5304('0x35')](':')['length'];}get[_0x5304('0x19')](){return null!==this[_0x5304('0x2c')]();}[_0x5304('0x1f')](_0x545bb4){this[_0x5304('0xb')][_0x5304('0x1c')](_0x545bb4);}[_0x5304('0x5')](){return Array[_0x5304('0x15')](this[_0x5304('0xb')]);}[_0x5304('0x2a')](){return this[_0x5304('0x5')]()[_0x5304('0x7')](_0x324980=>this[_0x5304('0x28')][_0x5304('0x29')][_0x5304('0x37')](_0x324980))['filter'](_0x3c8369=>_0x3c8369);}['getFirstMarker'](){return this[_0x5304('0x2a')]()[0x0]||null;}[_0x5304('0xa')](){this[_0x5304('0x28')][_0x5304('0xd')](_0x54e8da=>{for(const _0x2de452 of this[_0x5304('0x2a')]())_0x54e8da[_0x5304('0x33')](_0x2de452);}),this[_0x5304('0xb')]['clear']();}['removeMarker'](_0x38cc2f){this['_model'][_0x5304('0xd')](_0x4e36c7=>{_0x4e36c7[_0x5304('0x33')](_0x38cc2f);}),this[_0x5304('0xb')][_0x5304('0x21')](_0x38cc2f);}[_0x5304('0x20')](_0x553450){const _0x31f4ed=_0x5304('0x22')+this[_0x5304('0x8')]+':'+this[_0x5304('0x2')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x5304('0x0')]();this[_0x5304('0x1f')](_0x31f4ed),this[_0x5304('0x28')][_0x5304('0xd')](_0x4ef9fd=>{_0x4ef9fd[_0x5304('0x39')](_0x31f4ed,{'range':_0x553450,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5304('0x14')](_0x1bfe59){for(const _0x3887fa of this[_0x5304('0x12')]())if(_0x3887fa['isIntersecting'](_0x1bfe59))return!0x0;return!0x1;}[_0x5304('0x12')](){return this[_0x5304('0x2a')]()[_0x5304('0x7')](_0x5bfe88=>_0x5bfe88['getRange']());}[_0x5304('0x30')](){return this['getRanges']()['reduce']((_0x29b050,_0x284bed)=>[..._0x29b050,..._0x284bed[_0x5304('0x30')]()],[]);}['getFirstRange'](){var _0x245e9f;return(null===(_0x245e9f=this[_0x5304('0x2c')]())||void 0x0===_0x245e9f?void 0x0:_0x245e9f[_0x5304('0x1')]())||null;}['getContainedElement'](){const _0x4bf99c=this[_0x5304('0x12')]();if(0x1!=_0x4bf99c[_0x5304('0xc')])return null;const _0x23e373=_0x4bf99c[0x0],_0x1bfada=_0x23e373[_0x5304('0x27')][_0x5304('0x24')],_0x3f9683=_0x23e373[_0x5304('0x3')][_0x5304('0x2d')];return _0x1bfada instanceof _0x221dc3?_0x1bfada!=_0x3f9683?null:_0x1bfada:null;}[_0x5304('0x6')](){this[_0x5304('0x1e')](this[_0x5304('0x12')](),this[_0x5304('0x11')],this['attributes']),this[_0x5304('0xa')]();}[_0x5304('0x18')](){this['_onDiscard'](this[_0x5304('0x12')](),this[_0x5304('0x11')],this[_0x5304('0xe')]),this[_0x5304('0xa')]();}[_0x5304('0x4')](){const _0x3c4426=[];let _0x1c4737=this[_0x5304('0xf')];for(;_0x1c4737;)_0x3c4426[_0x5304('0x36')](_0x1c4737),_0x1c4737=_0x1c4737[_0x5304('0x10')];return _0x3c4426;}[_0x5304('0x1a')](_0x22c413,_0x4c545d){const _0x43f774=_0x36b0a7(this[_0x5304('0xe')]);_0x2457f9(_0x43f774,_0x22c413,_0x4c545d),_0x4a414b(_0x43f774,this[_0x5304('0xe')])||(this[_0x5304('0xe')]=_0x43f774,this[_0x5304('0x31')](_0x43f774));}['removeAttribute'](_0x5c4705){const _0x184968=_0x36b0a7(this[_0x5304('0xe')]);_0x56e82a(_0x184968,_0x5c4705),_0x4a414b(_0x184968,this[_0x5304('0xe')])||(this[_0x5304('0xe')]=_0x184968,this[_0x5304('0x31')](this['attributes']));}[_0x5304('0x2e')](){return{'id':this['id'],'type':this[_0x5304('0x2')]?this[_0x5304('0x8')]+':'+this['subType']:this[_0x5304('0x8')],'authorId':this[_0x5304('0x25')]['id'],'createdAt':this[_0x5304('0x17')],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static[_0x5304('0x0')](){return _0x1aa17f()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a4=['checkChild','$textProxy','addFormat','remove','elementEnd','insertion','isEmpty','attribute','*Change\x20to:*\x20%0','key','item','_handleRenameSuggestionDescription','end','registerAttributeLabel','_locale','has','push','addObject','isObject','subType','removeContainer','matchingCallback','registerElementLabel','previousSibling','_customCallbacks','$1\x20$2','skip','_itemLabelsCallbacks','*Set\x20format:*\x20%0','getFirstRange','*Remove:*\x20%0','name','deletion','*Remove\x20format:*\x20%0','get','nodeAfter','data','ELEMENT_SPACE','_resolveDescriptionItems','length','set','match','registerDescriptionCallback','add','newValue','elementStart','_schema','text','replace','nextSibling','addEmptyContainer','removeObject','*Merge:*\x20%0','$text','map','_handleCustomCallbackDescription','normal','addContainer','isInContent','getItemLabel','start','*Insert:*\x20%0','_attributeLabels','*Split:*\x20%0','join','EmptyContainer','Container','removeFormat','function','element','quantity','_addDescriptionItems','type','softBreak','Object','format','indexOf','_itemLabels'];(function(_0x513eff,_0x15a405){const _0x8b08ce=function(_0x17b38c){while(--_0x17b38c){_0x513eff['push'](_0x513eff['shift']());}};_0x8b08ce(++_0x15a405);}(_0x15a4,0x1b9));const _0x8b08=function(_0x513eff,_0x15a405){_0x513eff=_0x513eff-0x0;let _0x8b08ce=_0x15a4[_0x513eff];return _0x8b08ce;};import{getTranslation as _0xdf1428}from'./utils/common-translations.js';import{priorities as _0x5e6dbd,insertToPriorityArray as _0x12fbb1}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x39212f}from'./trackchangesediting.js';export default class f{constructor(_0x168d07,_0x553bbd){this[_0x8b08('0x33')]=[],this[_0x8b08('0x1a')]=new Map(),this[_0x8b08('0x36')]=[],this[_0x8b08('0xb')]=new Map(),this[_0x8b08('0x49')]=_0x168d07,this[_0x8b08('0x29')]=_0x553bbd;}['getDescriptions'](_0x5f00dc){const _0x575e71=[],_0x237442=new Set(),_0x942a51=new Set();for(let _0x466dd5=0x0;_0x466dd5<_0x5f00dc['length'];_0x466dd5++){const _0x343ae3=_0x5f00dc[_0x466dd5];if(!_0x343ae3[_0x8b08('0x7')])continue;const _0x589a0d=this[_0x8b08('0x4')](_0x343ae3);if(_0x589a0d){if(null!=_0x343ae3['subType']){if(_0x237442[_0x8b08('0x2a')](_0x343ae3[_0x8b08('0x2e')]))continue;_0x237442['add'](_0x343ae3[_0x8b08('0x2e')]);}_0x575e71[_0x8b08('0x2b')](_0x589a0d);}else{if(_0x8b08('0x22')!=_0x343ae3['type'])_0x8b08('0x20')!=_0x343ae3[_0x8b08('0x15')]&&_0x8b08('0x3b')!=_0x343ae3[_0x8b08('0x15')]||this['_handleInsertRemoveSuggestionDescription'](_0x575e71,_0x343ae3,_0x5f00dc[_0x466dd5+0x1]);else{const _0x13fe15=_0x343ae3[_0x8b08('0x3f')]['key'];if(_0x942a51[_0x8b08('0x2a')](_0x13fe15))continue;_0x942a51[_0x8b08('0x46')](_0x343ae3[_0x8b08('0x3f')][_0x8b08('0x24')]),_0x13fe15==_0x39212f?this[_0x8b08('0x26')](_0x575e71,_0x343ae3):this['_handleAttributeSuggestionDescription'](_0x575e71,_0x343ae3);}}}return this['_resolveDescriptionItems'](_0x575e71);}[_0x8b08('0x45')](_0x361339){this['_customCallbacks']['push'](_0x361339);}[_0x8b08('0x31')](_0x473811,_0xb1c165,_0xb88ff6=_0x5e6dbd[_0x8b08('0x5')]){_0x8b08('0x11')==typeof _0x473811?_0x12fbb1(this[_0x8b08('0x36')],{'matchingCallback':_0x473811,'label':_0xb1c165,'priority':_0xb88ff6}):this[_0x8b08('0x1a')][_0x8b08('0x43')](_0x473811,_0xb1c165);}[_0x8b08('0x28')](_0x3b1a46,_0x199f98){this[_0x8b08('0xb')][_0x8b08('0x43')](_0x3b1a46,_0x199f98);}['getItemLabel'](_0x5ec3a1,_0x127cf2=0x1){let _0x53cddb;for(const _0x1cbc10 of this[_0x8b08('0x36')])if(_0x1cbc10[_0x8b08('0x30')](_0x5ec3a1)){_0x53cddb=_0x1cbc10['label'];break;}return _0x53cddb||(_0x53cddb=this[_0x8b08('0x1a')][_0x8b08('0x3d')](_0x5ec3a1[_0x8b08('0x3a')])),_0x53cddb?_0x53cddb(_0x127cf2):0x1!==_0x127cf2?_0x127cf2+'\x20'+_0x5ec3a1['name']+'s':''+_0x5ec3a1[_0x8b08('0x3a')];}['_addDescriptionItems'](_0x343525,_0x2c3572){const _0x178850=_0x2c3572[_0x8b08('0x38')]()['getWalker'](),_0x24649f=_0x8b08('0x20')==_0x2c3572[_0x8b08('0x15')]?'add':_0x8b08('0x1e');for(const _0x4db1e4 of _0x178850){const _0x17183c=_0x4db1e4['item'],_0x57ddd5=_0x343525[_0x343525[_0x8b08('0x42')]-0x1];if(_0x17183c['is'](_0x8b08('0x1c')))_0x57ddd5&&_0x57ddd5['type'][_0x8b08('0x19')](_0x8b08('0xf'))>-0x1&&_0x343525['pop'](),_0x57ddd5&&_0x8b08('0x4a')==_0x57ddd5[_0x8b08('0x15')]?_0x57ddd5[_0x24649f]+=_0x17183c[_0x8b08('0x3f')]:_0x343525['push']({'type':'text','add':'add'==_0x24649f?_0x17183c[_0x8b08('0x3f')]:'','remove':'remove'==_0x24649f?_0x17183c[_0x8b08('0x3f')]:''});else{if(this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x17183c)){const _0x3ed6a5=_0x17183c;if(_0x57ddd5&&_0x57ddd5[_0x8b08('0x15')][_0x8b08('0x19')](_0x8b08('0xf'))>-0x1&&_0x343525['pop'](),_0x8b08('0x1f')==_0x4db1e4['type'])continue;_0x57ddd5&&_0x57ddd5['type']==_0x24649f+_0x8b08('0x17')&&_0x57ddd5[_0x8b08('0x12')][_0x8b08('0x3a')]==_0x3ed6a5[_0x8b08('0x3a')]?_0x57ddd5[_0x8b08('0x13')]++:_0x343525[_0x8b08('0x2b')]({'type':_0x24649f+_0x8b08('0x17'),'element':_0x3ed6a5,'quantity':0x1}),_0x178850[_0x8b08('0x35')](_0x24efa1=>!(_0x8b08('0x1f')==_0x24efa1[_0x8b08('0x15')]&&_0x24efa1[_0x8b08('0x25')]==_0x17183c));}else{if(this[_0x8b08('0x49')][_0x8b08('0x1b')](_0x17183c,_0x8b08('0x2'))||_0x17183c['is'](_0x8b08('0x12'),_0x8b08('0x16'))){const _0x2cbfac=_0x17183c;if(_0x8b08('0x46')==_0x24649f&&_0x8b08('0x48')==_0x4db1e4[_0x8b08('0x15')]||'remove'==_0x24649f&&_0x8b08('0x1f')==_0x4db1e4['type'])continue;if(_0x57ddd5&&-0x1==_0x57ddd5[_0x8b08('0x15')]['indexOf'](_0x8b08('0xf'))){_0x8b08('0x4a')==_0x57ddd5['type']&&(_0x57ddd5[_0x24649f]+='\x0a');continue;}let _0x1efbd3;if(_0x1efbd3='add'==_0x24649f?_0x2cbfac['nextSibling']&&!this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x2cbfac[_0x8b08('0x4c')])?_0x2cbfac['nextSibling']:null:_0x2cbfac['previousSibling']&&!this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x2cbfac[_0x8b08('0x32')])?_0x2cbfac[_0x8b08('0x32')]:null,_0x2cbfac['isEmpty']||_0x1efbd3&&_0x1efbd3[_0x8b08('0x21')]){const _0x3079fb=_0x1efbd3&&_0x1efbd3['isEmpty']?_0x1efbd3:_0x2cbfac;_0x57ddd5&&_0x57ddd5['type']==_0x24649f+_0x8b08('0xe')&&_0x57ddd5[_0x8b08('0x12')][_0x8b08('0x3a')]==_0x3079fb[_0x8b08('0x3a')]?_0x57ddd5[_0x8b08('0x13')]++:_0x343525['push']({'type':_0x24649f+_0x8b08('0xe'),'element':_0x3079fb,'quantity':0x1});}else _0x343525['push']({'type':_0x24649f+_0x8b08('0xf'),'element':_0x2cbfac});}}}}}[_0x8b08('0x41')](_0x3ce8d5){const _0x431b87=this[_0x8b08('0x29')],_0x5364a9=[],_0x1313ba=[],_0x23a10e=[];for(const _0x456a38 of _0x3ce8d5)switch(_0x456a38[_0x8b08('0x15')]){case'text':if(_0x456a38[_0x8b08('0x46')]=_0x456a38[_0x8b08('0x46')][_0x8b08('0x4b')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x8b08('0x4b')](/\u000A/g,''),_0x456a38[_0x8b08('0x1e')]=_0x456a38[_0x8b08('0x1e')]['replace'](/(\S)\u000A+(\S)/g,_0x8b08('0x34'))[_0x8b08('0x4b')](/\u000A/g,''),''!=_0x456a38['add']&&''!=_0x456a38[_0x8b08('0x1e')]){_0x5364a9['push']({'type':_0x8b08('0x4b'),'content':_0xdf1428(_0x431b87,'REPLACE_TEXT',['\x22'+_0x456a38[_0x8b08('0x1e')]+'\x22','\x22'+_0x456a38[_0x8b08('0x46')]+'\x22'])});continue;}if(null!=_0x456a38['add'][_0x8b08('0x44')](/^ +$/)){_0x5364a9['push']({'type':_0x8b08('0x20'),'content':_0xdf1428(_0x431b87,_0x8b08('0xa'),_0xdf1428(_0x431b87,_0x8b08('0x40'),_0x456a38[_0x8b08('0x46')][_0x8b08('0x42')]))});continue;}if(null!=_0x456a38[_0x8b08('0x1e')][_0x8b08('0x44')](/^ +$/)){_0x5364a9['push']({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x39'),_0xdf1428(_0x431b87,_0x8b08('0x40'),_0x456a38[_0x8b08('0x1e')][_0x8b08('0x42')]))});continue;}if(''!=_0x456a38[_0x8b08('0x46')]){_0x5364a9[_0x8b08('0x2b')]({'type':'insertion','content':_0xdf1428(_0x431b87,_0x8b08('0xa'),'\x22'+_0x456a38[_0x8b08('0x46')]+'\x22')});continue;}_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,'*Remove:*\x20%0','\x22'+_0x456a38[_0x8b08('0x1e')]+'\x22')});continue;case _0x8b08('0x4d'):case _0x8b08('0x2c'):_0x5364a9[_0x8b08('0x2b')]({'type':'insertion','content':_0xdf1428(_0x431b87,'*Insert:*\x20%0',this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case'removeEmptyContainer':case _0x8b08('0x0'):_0x5364a9['push']({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x39'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x6'):_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x20'),'content':_0xdf1428(_0x431b87,_0x8b08('0xc'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x2f'):_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x1'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x1d'):_0x1313ba[_0x8b08('0x2b')](_0x456a38[_0x8b08('0x24')]);continue;case'removeFormat':_0x23a10e[_0x8b08('0x2b')](_0x456a38[_0x8b08('0x24')]);continue;default:_0x5364a9[_0x8b08('0x2b')](_0x456a38);}if(_0x1313ba[_0x8b08('0x42')]){const _0x440a09=_0x1313ba[_0x8b08('0x3')](_0x30ca23=>this[_0x8b08('0xb')][_0x8b08('0x2a')](_0x30ca23)?this['_attributeLabels'][_0x8b08('0x3d')](_0x30ca23):_0x30ca23)['join'](',\x20');_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this[_0x8b08('0x29')],_0x8b08('0x37'),_0x440a09)});}if(_0x23a10e[_0x8b08('0x42')]){const _0xef3561=_0x23a10e['map'](_0x18965a=>this['_attributeLabels'][_0x8b08('0x2a')](_0x18965a)?this[_0x8b08('0xb')]['get'](_0x18965a):_0x18965a)[_0x8b08('0xd')](',\x20');_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this['_locale'],_0x8b08('0x3c'),_0xef3561)});}return _0x5364a9;}[_0x8b08('0x4')](_0xf9cfcd){for(const _0x48f591 of this['_customCallbacks']){const _0x181fc7=_0x48f591(_0xf9cfcd);if(_0x181fc7&&_0x8b08('0x15')in _0x181fc7)return _0x181fc7;}}['_handleAttributeSuggestionDescription'](_0xe2d6d,_0x535637){const _0xe834d8=_0x535637[_0x8b08('0x3f')],_0x1bf712=void 0x0===_0xe834d8[_0x8b08('0x47')]?_0x8b08('0x10'):_0x8b08('0x1d');_0xe2d6d[_0x8b08('0x2b')]({'type':_0x1bf712,'key':_0xe834d8['key']});}[_0x8b08('0x26')](_0xf1773f,_0x82bbcb){_0xf1773f[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this[_0x8b08('0x29')],_0x8b08('0x23'),this[_0x8b08('0x8')](_0x82bbcb[_0x8b08('0x38')]()['start'][_0x8b08('0x3e')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x34985a,_0x58f3bd,_0x41f80c){if(this[_0x8b08('0x14')](_0x34985a,_0x58f3bd),_0x41f80c&&_0x41f80c[_0x8b08('0x38')]()&&!_0x58f3bd['getFirstRange']()[_0x8b08('0x27')]['isEqual'](_0x41f80c[_0x8b08('0x38')]()[_0x8b08('0x9')])){const _0x185f47=_0x34985a[_0x34985a['length']-0x1],_0x1b2a64='insertion'==_0x58f3bd[_0x8b08('0x15')]?_0x8b08('0x46'):_0x8b08('0x1e');_0x185f47&&_0x8b08('0x4a')==_0x185f47['type']&&(_0x185f47[_0x1b2a64]+='\x0a');}}}
23
+ const _0x48a4=['REPLACE_TEXT','map','_locale','removeEmptyContainer','_handleAttributeSuggestionDescription','Container','start','_itemLabels','type','previousSibling','EmptyContainer','name','_handleInsertRemoveSuggestionDescription','*Remove:*\x20%0','attribute','softBreak','removeContainer','registerDescriptionCallback','*Remove\x20format:*\x20%0','quantity','text','label','remove','*Split:*\x20%0','set','data','$textProxy','getItemLabel','push','has','match','_schema','*Insert:*\x20%0','addContainer','_itemLabelsCallbacks','_handleRenameSuggestionDescription','pop','normal','replace','element','isObject','add','getWalker','insertion','_attributeLabels','_resolveDescriptionItems','addObject','_customCallbacks','Object','addFormat','$1\x20$2','getDescriptions','isInContent','_addDescriptionItems','newValue','_handleCustomCallbackDescription','format','key','registerElementLabel','registerAttributeLabel','indexOf','elementEnd','nodeAfter','nextSibling','elementStart','*Merge:*\x20%0','deletion','isEmpty','length','item','getFirstRange','matchingCallback','checkChild','removeObject','ELEMENT_SPACE','get','subType'];(function(_0x5747a6,_0x48a479){const _0x13db6e=function(_0x162a90){while(--_0x162a90){_0x5747a6['push'](_0x5747a6['shift']());}};_0x13db6e(++_0x48a479);}(_0x48a4,0x1d2));const _0x13db=function(_0x5747a6,_0x48a479){_0x5747a6=_0x5747a6-0x0;let _0x13db6e=_0x48a4[_0x5747a6];return _0x13db6e;};import{getTranslation as _0x2c46f5}from'./utils/common-translations.js';import{priorities as _0x43b0fc,insertToPriorityArray as _0xf9941c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3271d0}from'./trackchangesediting.js';export default class f{constructor(_0x570482,_0x55e60e){this[_0x13db('0x2b')]=[],this[_0x13db('0x3')]=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this[_0x13db('0x1b')]=_0x570482,this['_locale']=_0x55e60e;}[_0x13db('0x2f')](_0x58c76e){const _0xa7a571=[],_0x319268=new Set(),_0x4d2948=new Set();for(let _0xd54936=0x0;_0xd54936<_0x58c76e[_0x13db('0x40')];_0xd54936++){const _0x2a3734=_0x58c76e[_0xd54936];if(!_0x2a3734[_0x13db('0x30')])continue;const _0x266817=this['_handleCustomCallbackDescription'](_0x2a3734);if(_0x266817){if(null!=_0x2a3734[_0x13db('0x48')]){if(_0x319268[_0x13db('0x19')](_0x2a3734[_0x13db('0x48')]))continue;_0x319268[_0x13db('0x25')](_0x2a3734[_0x13db('0x48')]);}_0xa7a571[_0x13db('0x18')](_0x266817);}else{if(_0x13db('0xa')!=_0x2a3734[_0x13db('0x4')])_0x13db('0x27')!=_0x2a3734[_0x13db('0x4')]&&_0x13db('0x3e')!=_0x2a3734[_0x13db('0x4')]||this['_handleInsertRemoveSuggestionDescription'](_0xa7a571,_0x2a3734,_0x58c76e[_0xd54936+0x1]);else{const _0x57eb3b=_0x2a3734[_0x13db('0x15')]['key'];if(_0x4d2948[_0x13db('0x19')](_0x57eb3b))continue;_0x4d2948[_0x13db('0x25')](_0x2a3734[_0x13db('0x15')]['key']),_0x57eb3b==_0x3271d0?this[_0x13db('0x1f')](_0xa7a571,_0x2a3734):this[_0x13db('0x0')](_0xa7a571,_0x2a3734);}}}return this[_0x13db('0x29')](_0xa7a571);}[_0x13db('0xd')](_0x48e720){this[_0x13db('0x2b')]['push'](_0x48e720);}[_0x13db('0x36')](_0x3fdb97,_0x37b136,_0x4ff6ce=_0x43b0fc[_0x13db('0x21')]){'function'==typeof _0x3fdb97?_0xf9941c(this[_0x13db('0x1e')],{'matchingCallback':_0x3fdb97,'label':_0x37b136,'priority':_0x4ff6ce}):this[_0x13db('0x3')][_0x13db('0x14')](_0x3fdb97,_0x37b136);}[_0x13db('0x37')](_0xeebd45,_0x1c3acb){this['_attributeLabels'][_0x13db('0x14')](_0xeebd45,_0x1c3acb);}[_0x13db('0x17')](_0x51fd2f,_0x319fe5=0x1){let _0x1b5b70;for(const _0x2e8037 of this[_0x13db('0x1e')])if(_0x2e8037[_0x13db('0x43')](_0x51fd2f)){_0x1b5b70=_0x2e8037[_0x13db('0x11')];break;}return _0x1b5b70||(_0x1b5b70=this[_0x13db('0x3')]['get'](_0x51fd2f[_0x13db('0x7')])),_0x1b5b70?_0x1b5b70(_0x319fe5):0x1!==_0x319fe5?_0x319fe5+'\x20'+_0x51fd2f[_0x13db('0x7')]+'s':''+_0x51fd2f[_0x13db('0x7')];}[_0x13db('0x31')](_0x5d818f,_0x353da2){const _0x3dbfd6=_0x353da2[_0x13db('0x42')]()[_0x13db('0x26')](),_0x24137e='insertion'==_0x353da2['type']?_0x13db('0x25'):'remove';for(const _0x384a29 of _0x3dbfd6){const _0x1b0f0d=_0x384a29[_0x13db('0x41')],_0x5904b9=_0x5d818f[_0x5d818f[_0x13db('0x40')]-0x1];if(_0x1b0f0d['is'](_0x13db('0x16')))_0x5904b9&&_0x5904b9['type'][_0x13db('0x38')](_0x13db('0x1'))>-0x1&&_0x5d818f[_0x13db('0x20')](),_0x5904b9&&_0x13db('0x10')==_0x5904b9[_0x13db('0x4')]?_0x5904b9[_0x24137e]+=_0x1b0f0d[_0x13db('0x15')]:_0x5d818f['push']({'type':_0x13db('0x10'),'add':_0x13db('0x25')==_0x24137e?_0x1b0f0d['data']:'','remove':_0x13db('0x12')==_0x24137e?_0x1b0f0d[_0x13db('0x15')]:''});else{if(this[_0x13db('0x1b')][_0x13db('0x24')](_0x1b0f0d)){const _0x38521e=_0x1b0f0d;if(_0x5904b9&&_0x5904b9[_0x13db('0x4')][_0x13db('0x38')]('Container')>-0x1&&_0x5d818f['pop'](),_0x13db('0x39')==_0x384a29[_0x13db('0x4')])continue;_0x5904b9&&_0x5904b9[_0x13db('0x4')]==_0x24137e+_0x13db('0x2c')&&_0x5904b9['element'][_0x13db('0x7')]==_0x38521e[_0x13db('0x7')]?_0x5904b9[_0x13db('0xf')]++:_0x5d818f[_0x13db('0x18')]({'type':_0x24137e+_0x13db('0x2c'),'element':_0x38521e,'quantity':0x1}),_0x3dbfd6['skip'](_0x235a74=>!(_0x13db('0x39')==_0x235a74[_0x13db('0x4')]&&_0x235a74[_0x13db('0x41')]==_0x1b0f0d));}else{if(this[_0x13db('0x1b')][_0x13db('0x44')](_0x1b0f0d,'$text')||_0x1b0f0d['is'](_0x13db('0x23'),_0x13db('0xb'))){const _0x33c7fd=_0x1b0f0d;if(_0x13db('0x25')==_0x24137e&&_0x13db('0x3c')==_0x384a29[_0x13db('0x4')]||_0x13db('0x12')==_0x24137e&&_0x13db('0x39')==_0x384a29[_0x13db('0x4')])continue;if(_0x5904b9&&-0x1==_0x5904b9[_0x13db('0x4')][_0x13db('0x38')]('Container')){_0x13db('0x10')==_0x5904b9[_0x13db('0x4')]&&(_0x5904b9[_0x24137e]+='\x0a');continue;}let _0x571f9a;if(_0x571f9a=_0x13db('0x25')==_0x24137e?_0x33c7fd[_0x13db('0x3b')]&&!this[_0x13db('0x1b')][_0x13db('0x24')](_0x33c7fd['nextSibling'])?_0x33c7fd[_0x13db('0x3b')]:null:_0x33c7fd[_0x13db('0x5')]&&!this['_schema'][_0x13db('0x24')](_0x33c7fd[_0x13db('0x5')])?_0x33c7fd[_0x13db('0x5')]:null,_0x33c7fd[_0x13db('0x3f')]||_0x571f9a&&_0x571f9a[_0x13db('0x3f')]){const _0xb8eb7a=_0x571f9a&&_0x571f9a[_0x13db('0x3f')]?_0x571f9a:_0x33c7fd;_0x5904b9&&_0x5904b9['type']==_0x24137e+_0x13db('0x6')&&_0x5904b9[_0x13db('0x23')][_0x13db('0x7')]==_0xb8eb7a[_0x13db('0x7')]?_0x5904b9['quantity']++:_0x5d818f['push']({'type':_0x24137e+'EmptyContainer','element':_0xb8eb7a,'quantity':0x1});}else _0x5d818f[_0x13db('0x18')]({'type':_0x24137e+'Container','element':_0x33c7fd});}}}}}[_0x13db('0x29')](_0x2642f8){const _0x350731=this[_0x13db('0x4b')],_0x4adea4=[],_0x2617ae=[],_0x1dc923=[];for(const _0x2b5bc0 of _0x2642f8)switch(_0x2b5bc0[_0x13db('0x4')]){case'text':if(_0x2b5bc0['add']=_0x2b5bc0['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x2b5bc0['remove']=_0x2b5bc0[_0x13db('0x12')][_0x13db('0x22')](/(\S)\u000A+(\S)/g,_0x13db('0x2e'))[_0x13db('0x22')](/\u000A/g,''),''!=_0x2b5bc0[_0x13db('0x25')]&&''!=_0x2b5bc0[_0x13db('0x12')]){_0x4adea4[_0x13db('0x18')]({'type':'replace','content':_0x2c46f5(_0x350731,_0x13db('0x49'),['\x22'+_0x2b5bc0['remove']+'\x22','\x22'+_0x2b5bc0['add']+'\x22'])});continue;}if(null!=_0x2b5bc0[_0x13db('0x25')][_0x13db('0x1a')](/^ +$/)){_0x4adea4[_0x13db('0x18')]({'type':'insertion','content':_0x2c46f5(_0x350731,_0x13db('0x1c'),_0x2c46f5(_0x350731,_0x13db('0x46'),_0x2b5bc0[_0x13db('0x25')]['length']))});continue;}if(null!=_0x2b5bc0[_0x13db('0x12')][_0x13db('0x1a')](/^ +$/)){_0x4adea4[_0x13db('0x18')]({'type':_0x13db('0x3e'),'content':_0x2c46f5(_0x350731,_0x13db('0x9'),_0x2c46f5(_0x350731,_0x13db('0x46'),_0x2b5bc0['remove'][_0x13db('0x40')]))});continue;}if(''!=_0x2b5bc0[_0x13db('0x25')]){_0x4adea4[_0x13db('0x18')]({'type':_0x13db('0x27'),'content':_0x2c46f5(_0x350731,_0x13db('0x1c'),'\x22'+_0x2b5bc0[_0x13db('0x25')]+'\x22')});continue;}_0x4adea4[_0x13db('0x18')]({'type':'deletion','content':_0x2c46f5(_0x350731,_0x13db('0x9'),'\x22'+_0x2b5bc0[_0x13db('0x12')]+'\x22')});continue;case'addEmptyContainer':case _0x13db('0x2a'):_0x4adea4[_0x13db('0x18')]({'type':'insertion','content':_0x2c46f5(_0x350731,_0x13db('0x1c'),this[_0x13db('0x17')](_0x2b5bc0[_0x13db('0x23')],_0x2b5bc0[_0x13db('0xf')]))});continue;case _0x13db('0x4c'):case _0x13db('0x45'):_0x4adea4[_0x13db('0x18')]({'type':_0x13db('0x3e'),'content':_0x2c46f5(_0x350731,'*Remove:*\x20%0',this[_0x13db('0x17')](_0x2b5bc0['element'],_0x2b5bc0[_0x13db('0xf')]))});continue;case _0x13db('0x1d'):_0x4adea4[_0x13db('0x18')]({'type':_0x13db('0x27'),'content':_0x2c46f5(_0x350731,_0x13db('0x13'),this['getItemLabel'](_0x2b5bc0['element'],_0x2b5bc0[_0x13db('0xf')]))});continue;case _0x13db('0xc'):_0x4adea4[_0x13db('0x18')]({'type':_0x13db('0x3e'),'content':_0x2c46f5(_0x350731,_0x13db('0x3d'),this[_0x13db('0x17')](_0x2b5bc0[_0x13db('0x23')],_0x2b5bc0[_0x13db('0xf')]))});continue;case _0x13db('0x2d'):_0x2617ae[_0x13db('0x18')](_0x2b5bc0['key']);continue;case'removeFormat':_0x1dc923[_0x13db('0x18')](_0x2b5bc0[_0x13db('0x35')]);continue;default:_0x4adea4[_0x13db('0x18')](_0x2b5bc0);}if(_0x2617ae[_0x13db('0x40')]){const _0x32ea50=_0x2617ae[_0x13db('0x4a')](_0xf26e9c=>this[_0x13db('0x28')][_0x13db('0x19')](_0xf26e9c)?this[_0x13db('0x28')][_0x13db('0x47')](_0xf26e9c):_0xf26e9c)['join'](',\x20');_0x4adea4['push']({'type':_0x13db('0x34'),'content':_0x2c46f5(this[_0x13db('0x4b')],'*Set\x20format:*\x20%0',_0x32ea50)});}if(_0x1dc923[_0x13db('0x40')]){const _0xd5caee=_0x1dc923[_0x13db('0x4a')](_0x56f72a=>this[_0x13db('0x28')][_0x13db('0x19')](_0x56f72a)?this[_0x13db('0x28')][_0x13db('0x47')](_0x56f72a):_0x56f72a)['join'](',\x20');_0x4adea4[_0x13db('0x18')]({'type':'format','content':_0x2c46f5(this[_0x13db('0x4b')],_0x13db('0xe'),_0xd5caee)});}return _0x4adea4;}[_0x13db('0x33')](_0x962e88){for(const _0x373937 of this[_0x13db('0x2b')]){const _0x4fe86e=_0x373937(_0x962e88);if(_0x4fe86e&&'type'in _0x4fe86e)return _0x4fe86e;}}['_handleAttributeSuggestionDescription'](_0x29c855,_0x2d6aa9){const _0x15d9a6=_0x2d6aa9['data'],_0x207cba=void 0x0===_0x15d9a6[_0x13db('0x32')]?'removeFormat':_0x13db('0x2d');_0x29c855[_0x13db('0x18')]({'type':_0x207cba,'key':_0x15d9a6[_0x13db('0x35')]});}[_0x13db('0x1f')](_0x3c36df,_0x471906){_0x3c36df['push']({'type':_0x13db('0x34'),'content':_0x2c46f5(this[_0x13db('0x4b')],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x471906[_0x13db('0x42')]()[_0x13db('0x2')][_0x13db('0x3a')],0x1))});}[_0x13db('0x8')](_0x5ce66f,_0x189bdd,_0xa2fa8f){if(this['_addDescriptionItems'](_0x5ce66f,_0x189bdd),_0xa2fa8f&&_0xa2fa8f[_0x13db('0x42')]()&&!_0x189bdd['getFirstRange']()['end']['isEqual'](_0xa2fa8f[_0x13db('0x42')]()[_0x13db('0x2')])){const _0x314a4d=_0x5ce66f[_0x5ce66f[_0x13db('0x40')]-0x1],_0x36fc4a=_0x13db('0x27')==_0x189bdd[_0x13db('0x4')]?_0x13db('0x25'):'remove';_0x314a4d&&'text'==_0x314a4d[_0x13db('0x4')]&&(_0x314a4d[_0x36fc4a]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a43=['adapter','editor','Comments','get','getSuggestion','addSuggestionData','pluginName','addSuggestion','TrackChanges','plugins'];(function(_0x3c5832,_0x1a4381){var _0x14fcfc=function(_0x2bcc77){while(--_0x2bcc77){_0x3c5832['push'](_0x3c5832['shift']());}};_0x14fcfc(++_0x1a4381);}(_0x1a43,0x161));var _0x14fc=function(_0x3c5832,_0x1a4381){_0x3c5832=_0x3c5832-0x0;var _0x14fcfc=_0x1a43[_0x3c5832];return _0x14fcfc;};import{Plugin as _0x555454}from'ckeditor5/src/core.js';import _0x235552 from'./trackchangesui.js';import _0x74dd2b from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x555454{static get['requires'](){return[_0x74dd2b,_0x235552,_0x14fc('0x9')];}static get[_0x14fc('0x3')](){return _0x14fc('0x5');}set[_0x14fc('0x7')](_0x47ab76){this[_0x14fc('0x8')]['plugins'][_0x14fc('0x0')](_0x74dd2b)[_0x14fc('0x7')]=_0x47ab76;}get[_0x14fc('0x7')](){return this['editor']['plugins']['get'](_0x74dd2b)[_0x14fc('0x7')];}[_0x14fc('0x4')](_0x775484){return this[_0x14fc('0x8')][_0x14fc('0x6')][_0x14fc('0x0')](_0x74dd2b)[_0x14fc('0x2')](_0x775484);}['getSuggestions']({skipNotAttached:_0x108cfe=!0x1,toJSON:_0x4f2a10=!0x1}={}){return this['editor'][_0x14fc('0x6')]['get'](_0x74dd2b)['getSuggestions']({'skipNotAttached':_0x108cfe,'toJSON':_0x4f2a10});}[_0x14fc('0x1')](_0x3e9178){return this[_0x14fc('0x8')]['plugins']['get'](_0x74dd2b)[_0x14fc('0x1')](_0x3e9178);}}
23
+ var _0xb848=['getSuggestion','get','addSuggestion','adapter','getSuggestions','pluginName','editor','plugins'];(function(_0x1410d3,_0xb848b8){var _0x5ce902=function(_0x14a65d){while(--_0x14a65d){_0x1410d3['push'](_0x1410d3['shift']());}};_0x5ce902(++_0xb848b8);}(_0xb848,0xb8));var _0x5ce9=function(_0x1410d3,_0xb848b8){_0x1410d3=_0x1410d3-0x0;var _0x5ce902=_0xb848[_0x1410d3];return _0x5ce902;};import{Plugin as _0x22bfd}from'ckeditor5/src/core.js';import _0x4fb28b from'./trackchangesui.js';import _0x40efe9 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x22bfd{static get['requires'](){return[_0x40efe9,_0x4fb28b,'Comments'];}static get[_0x5ce9('0x5')](){return'TrackChanges';}set[_0x5ce9('0x3')](_0x140797){this[_0x5ce9('0x6')]['plugins'][_0x5ce9('0x1')](_0x40efe9)['adapter']=_0x140797;}get[_0x5ce9('0x3')](){return this[_0x5ce9('0x6')]['plugins']['get'](_0x40efe9)[_0x5ce9('0x3')];}[_0x5ce9('0x2')](_0x1450a3){return this[_0x5ce9('0x6')]['plugins'][_0x5ce9('0x1')](_0x40efe9)['addSuggestionData'](_0x1450a3);}[_0x5ce9('0x4')]({skipNotAttached:_0x28067a=!0x1,toJSON:_0x4c8bb3=!0x1}={}){return this[_0x5ce9('0x6')][_0x5ce9('0x7')]['get'](_0x40efe9)[_0x5ce9('0x4')]({'skipNotAttached':_0x28067a,'toJSON':_0x4c8bb3});}[_0x5ce9('0x0')](_0x2b748b){return this[_0x5ce9('0x6')][_0x5ce9('0x7')][_0x5ce9('0x1')](_0x40efe9)['getSuggestion'](_0x2b748b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d69=['result','pluginName','plugins','get','CommentsRepository','function','map','model','trackChangesData.editorCreator','getFullData','constructor','reduce','addUser','data','TrackChangesData','document','getDataWithAcceptedSuggestions','editor','Users','getRootsAttributes','users','getDataWithDiscardedSuggestions','end','addSuggestionData','push','getRootNames','create','_adapter','set','config','editorCreator','rootsAttributes','useAnonymousUser','name','init','getUser','requires','TrackChangesEditing','execute','define','Pagination'];(function(_0x503b0e,_0x4d69ec){const _0x50c146=function(_0x527a06){while(--_0x527a06){_0x503b0e['push'](_0x503b0e['shift']());}};_0x50c146(++_0x4d69ec);}(_0x4d69,0x1b5));const _0x50c1=function(_0x503b0e,_0x4d69ec){_0x503b0e=_0x503b0e-0x0;let _0x50c146=_0x4d69[_0x503b0e];return _0x50c146;};import{Plugin as _0x580c14}from'ckeditor5/src/core.js';import{CKEditorError as _0x4568cf}from'ckeditor5/src/utils.js';import _0x4d61b1 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4d7573}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x50c1('0xd')];export default class P extends _0x580c14{static get[_0x50c1('0x9')](){return[_0x4d61b1];}static get[_0x50c1('0xf')](){return _0x50c1('0x1c');}[_0x50c1('0x7')](){const _0x56c71b=this[_0x50c1('0x1f')];if(_0x56c71b[_0x50c1('0x2')][_0x50c1('0xc')](_0x50c1('0x16'),_0x64aa56=>{const _0x171101=_0x56c71b[_0x50c1('0x15')][_0x50c1('0x1d')][_0x50c1('0x27')]()[_0x50c1('0x19')]((_0x21cfd9,_0x5771a2)=>(_0x21cfd9[_0x5771a2]='',_0x21cfd9),{});return _0x56c71b[_0x50c1('0x18')][_0x50c1('0x28')](_0x171101,_0x64aa56);}),_0x50c1('0x13')!=typeof _0x56c71b[_0x50c1('0x2')]['get']('trackChangesData')[_0x50c1('0x3')])throw new _0x4568cf('track-changes-data-invalid-editor-creator');}[_0x50c1('0x1e')](_0x5539a4){return N(this['editor'],!0x0,_0x5539a4);}[_0x50c1('0x23')](_0x396bf6){return N(this[_0x50c1('0x1f')],!0x1,_0x396bf6);}}class D extends _0x580c14{static get[_0x50c1('0xf')](){return'TrackChangesDataGetter';}constructor(_0xfda4a5){super(_0xfda4a5),this[_0x50c1('0xe')]=_0x50c1('0x24');}[_0x50c1('0x7')](){this[_0x50c1('0x1f')][_0x50c1('0x10')][_0x50c1('0x11')](_0x50c1('0x12'))[_0x50c1('0x0')]={'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'][_0x50c1('0x10')]['get'](_0x50c1('0xa'))[_0x50c1('0x0')]=null;}}function v(_0x28d02d){return void 0x0!==_0x28d02d[_0x50c1('0x21')];}async function N(_0x23d5bf,_0x4e850a,_0x3ad3df){const _0x55c4d6=_0x4d7573(_0x23d5bf,T);_0x55c4d6[_0x50c1('0x10')][_0x50c1('0x26')](_0x4d61b1,D),_0x55c4d6[_0x50c1('0x4')]=v(_0x23d5bf)?_0x23d5bf[_0x50c1('0x21')]():void 0x0;const _0x3ef4a0=document['createDocumentFragment'](),_0x58c1fc=_0x23d5bf[_0x50c1('0x2')][_0x50c1('0x11')]('trackChangesData')['editorCreator'],_0x5655cd=await _0x58c1fc(_0x55c4d6,()=>function(_0x4ce0bf){const _0x377a8d=document['createElement']('div');return _0x4ce0bf['appendChild'](_0x377a8d),_0x377a8d;}(_0x3ef4a0));!function(_0x5ede14,_0x4f69a5){const _0x15bd74=_0x5ede14[_0x50c1('0x15')][_0x50c1('0x1d')]['getRootNames']()[_0x50c1('0x19')]((_0x475842,_0x31f0c3)=>(_0x475842[_0x31f0c3]=_0x5ede14['data'][_0x50c1('0x11')]({'rootName':_0x31f0c3}),_0x475842),{}),_0x3323ef=_0x5ede14['plugins'][_0x50c1('0x11')](_0x50c1('0x20'))[_0x50c1('0x22')][_0x50c1('0x14')](_0x471275=>({'id':_0x471275['id'],'name':_0x471275[_0x50c1('0x6')]})),_0x524eec=_0x5ede14['plugins'][_0x50c1('0x11')](_0x50c1('0xa'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x53b17c=_0x4f69a5[_0x50c1('0x10')][_0x50c1('0x11')](_0x50c1('0x20')),_0x539907=_0x4f69a5['plugins'][_0x50c1('0x11')]('TrackChangesEditing');for(const _0xb40902 of _0x3323ef)_0x53b17c[_0x50c1('0x8')](_0xb40902['id'])||_0x53b17c[_0x50c1('0x1a')](_0xb40902);_0x53b17c['me']||_0x53b17c[_0x50c1('0x5')]();for(const _0x518e26 of _0x524eec)_0x539907[_0x50c1('0x25')](_0x518e26);_0x4f69a5[_0x50c1('0x1b')][_0x50c1('0x1')](_0x15bd74);}(_0x23d5bf,_0x5655cd),_0x5655cd[_0x50c1('0xb')](_0x4e850a?'acceptAllSuggestions':'discardAllSuggestions');const _0x22f803=v(_0x5655cd)?_0x5655cd[_0x50c1('0x17')](_0x3ad3df):_0x5655cd[_0x50c1('0x1b')]['get'](_0x3ad3df);return await _0x5655cd['destroy'](),_0x22f803;}
23
+ const _0x5c12=['push','end','reduce','addUser','div','Pagination','name','getSuggestions','addSuggestionData','trackChangesData.editorCreator','set','trackChangesData','TrackChangesDataGetter','users','getRootsAttributes','TrackChangesData','data','requires','get','define','getUser','model','Users','editorCreator','editor','function','createElement','document','pluginName','init','destroy','_adapter','getRootNames','result','TrackChangesEditing','config','getDataWithAcceptedSuggestions','plugins','createDocumentFragment'];(function(_0x4dd224,_0x5c12e5){const _0x509fc3=function(_0x37d1f7){while(--_0x37d1f7){_0x4dd224['push'](_0x4dd224['shift']());}};_0x509fc3(++_0x5c12e5);}(_0x5c12,0x1ab));const _0x509f=function(_0x4dd224,_0x5c12e5){_0x4dd224=_0x4dd224-0x0;let _0x509fc3=_0x5c12[_0x4dd224];return _0x509fc3;};import{Plugin as _0x47bd13}from'ckeditor5/src/core.js';import{CKEditorError as _0x2730f5}from'ckeditor5/src/utils.js';import _0x422cd7 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5625c9}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x509f('0x7')];export default class P extends _0x47bd13{static get[_0x509f('0x13')](){return[_0x422cd7];}static get[_0x509f('0x1e')](){return _0x509f('0x11');}['init'](){const _0x34e86c=this[_0x509f('0x1a')];if(_0x34e86c[_0x509f('0x25')][_0x509f('0x15')](_0x509f('0xb'),_0x5a83f8=>{const _0x5a11d6=_0x34e86c[_0x509f('0x17')][_0x509f('0x1d')][_0x509f('0x22')]()[_0x509f('0x4')]((_0x4c5bd8,_0x2d95c4)=>(_0x4c5bd8[_0x2d95c4]='',_0x4c5bd8),{});return _0x34e86c['constructor']['create'](_0x5a11d6,_0x5a83f8);}),_0x509f('0x1b')!=typeof _0x34e86c[_0x509f('0x25')]['get']('trackChangesData')[_0x509f('0x19')])throw new _0x2730f5('track-changes-data-invalid-editor-creator');}[_0x509f('0x26')](_0x554120){return N(this[_0x509f('0x1a')],!0x0,_0x554120);}['getDataWithDiscardedSuggestions'](_0x51957f){return N(this[_0x509f('0x1a')],!0x1,_0x51957f);}}class D extends _0x47bd13{static get[_0x509f('0x1e')](){return _0x509f('0xe');}constructor(_0x566370){super(_0x566370),this[_0x509f('0x23')]=_0x509f('0x3');}[_0x509f('0x1f')](){this[_0x509f('0x1a')][_0x509f('0x0')][_0x509f('0x14')]('CommentsRepository')[_0x509f('0x21')]={'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[_0x509f('0x1a')][_0x509f('0x0')][_0x509f('0x14')](_0x509f('0x24'))[_0x509f('0x21')]=null;}}function v(_0x43278b){return void 0x0!==_0x43278b[_0x509f('0x10')];}async function N(_0x8e3116,_0x488c4e,_0x45676e){const _0xffe88b=_0x5625c9(_0x8e3116,T);_0xffe88b['plugins'][_0x509f('0x2')](_0x422cd7,D),_0xffe88b['rootsAttributes']=v(_0x8e3116)?_0x8e3116[_0x509f('0x10')]():void 0x0;const _0x1e69fc=document[_0x509f('0x1')](),_0x24e8a6=_0x8e3116[_0x509f('0x25')][_0x509f('0x14')](_0x509f('0xd'))[_0x509f('0x19')],_0x15727f=await _0x24e8a6(_0xffe88b,()=>function(_0x116363){const _0x261f02=document[_0x509f('0x1c')](_0x509f('0x6'));return _0x116363['appendChild'](_0x261f02),_0x261f02;}(_0x1e69fc));!function(_0x2097d6,_0x26a32e){const _0x39d815=_0x2097d6[_0x509f('0x17')][_0x509f('0x1d')][_0x509f('0x22')]()[_0x509f('0x4')]((_0x58a364,_0x4d1e36)=>(_0x58a364[_0x4d1e36]=_0x2097d6[_0x509f('0x12')][_0x509f('0x14')]({'rootName':_0x4d1e36}),_0x58a364),{}),_0x59eb70=_0x2097d6[_0x509f('0x0')][_0x509f('0x14')](_0x509f('0x18'))[_0x509f('0xf')]['map'](_0x359453=>({'id':_0x359453['id'],'name':_0x359453[_0x509f('0x8')]})),_0x5bdd93=_0x2097d6[_0x509f('0x0')][_0x509f('0x14')]('TrackChangesEditing')[_0x509f('0x9')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x347827=_0x26a32e[_0x509f('0x0')][_0x509f('0x14')]('Users'),_0x403f04=_0x26a32e['plugins']['get'](_0x509f('0x24'));for(const _0x388c8b of _0x59eb70)_0x347827[_0x509f('0x16')](_0x388c8b['id'])||_0x347827[_0x509f('0x5')](_0x388c8b);_0x347827['me']||_0x347827['useAnonymousUser']();for(const _0x389776 of _0x5bdd93)_0x403f04[_0x509f('0xa')](_0x389776);_0x26a32e[_0x509f('0x12')][_0x509f('0xc')](_0x39d815);}(_0x8e3116,_0x15727f),_0x15727f['execute'](_0x488c4e?'acceptAllSuggestions':'discardAllSuggestions');const _0x2bb3f9=v(_0x15727f)?_0x15727f['getFullData'](_0x45676e):_0x15727f[_0x509f('0x12')][_0x509f('0x14')](_0x45676e);return await _0x15727f[_0x509f('0x20')](),_0x2bb3f9;}