@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231123.0 → 0.0.0-nightly-20231125.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
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50d5=['get','$1\x20$2','*Split:*\x20%0','item','start','elementEnd','add','getWalker','quantity','checkChild','length','key','_handleInsertRemoveSuggestionDescription','match','remove','data','addEmptyContainer','addFormat','isInContent','registerDescriptionCallback','$text','_handleAttributeSuggestionDescription','function','EmptyContainer','normal','replace','$textProxy','has','removeEmptyContainer','indexOf','format','isObject','_handleRenameSuggestionDescription','matchingCallback','insertion','newValue','name','_addDescriptionItems','_attributeLabels','text','addContainer','push','_locale','*Insert:*\x20%0','set','*Change\x20to:*\x20%0','previousSibling','removeObject','subType','type','isEmpty','*Remove\x20format:*\x20%0','pop','deletion','_handleCustomCallbackDescription','label','removeFormat','REPLACE_TEXT','ELEMENT_SPACE','isEqual','_itemLabels','registerElementLabel','_resolveDescriptionItems','elementStart','nextSibling','_schema','registerAttributeLabel','Object','getDescriptions','_itemLabelsCallbacks','getItemLabel','join','map','_customCallbacks','addObject','attribute','*Merge:*\x20%0','element','*Remove:*\x20%0','getFirstRange','removeContainer','Container'];(function(_0x5ef784,_0x50d530){const _0x520906=function(_0x25ab5d){while(--_0x25ab5d){_0x5ef784['push'](_0x5ef784['shift']());}};_0x520906(++_0x50d530);}(_0x50d5,0x1f3));const _0x5209=function(_0x5ef784,_0x50d530){_0x5ef784=_0x5ef784-0x0;let _0x520906=_0x50d5[_0x5ef784];return _0x520906;};import{getTranslation as _0x4b1ea6}from'./utils/common-translations';import{priorities as _0xa86e78,insertToPriorityArray as _0x34940f}from'ckeditor5/src/utils';import{renameAttributeKey as _0x39d24c}from'./trackchangesediting';export default class f{constructor(_0x57c016,_0x3852c0){this[_0x5209('0x42')]=[],this[_0x5209('0x35')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x5209('0x1f')]=new Map(),this[_0x5209('0x3a')]=_0x57c016,this[_0x5209('0x23')]=_0x3852c0;}[_0x5209('0x3d')](_0x7d2bb4){const _0x4a90d5=[],_0x568671=new Set(),_0x41da55=new Set();for(let _0x21fd52=0x0;_0x21fd52<_0x7d2bb4[_0x5209('0x3')];_0x21fd52++){const _0x218850=_0x7d2bb4[_0x21fd52];if(!_0x218850[_0x5209('0xb')])continue;const _0x39acba=this[_0x5209('0x2f')](_0x218850);if(_0x39acba){if(null!=_0x218850[_0x5209('0x29')]){if(_0x568671['has'](_0x218850['subType']))continue;_0x568671['add'](_0x218850[_0x5209('0x29')]);}_0x4a90d5['push'](_0x39acba);}else{if(_0x5209('0x44')!=_0x218850[_0x5209('0x2a')])'insertion'!=_0x218850[_0x5209('0x2a')]&&_0x5209('0x2e')!=_0x218850[_0x5209('0x2a')]||this[_0x5209('0x5')](_0x4a90d5,_0x218850,_0x7d2bb4[_0x21fd52+0x1]);else{const _0x14dc9b=_0x218850[_0x5209('0x8')][_0x5209('0x4')];if(_0x41da55[_0x5209('0x14')](_0x14dc9b))continue;_0x41da55[_0x5209('0x51')](_0x218850[_0x5209('0x8')]['key']),_0x14dc9b==_0x39d24c?this[_0x5209('0x19')](_0x4a90d5,_0x218850):this['_handleAttributeSuggestionDescription'](_0x4a90d5,_0x218850);}}}return this[_0x5209('0x37')](_0x4a90d5);}[_0x5209('0xc')](_0x2caa00){this[_0x5209('0x42')][_0x5209('0x22')](_0x2caa00);}[_0x5209('0x36')](_0x521ac1,_0x149bf2,_0x35165e=_0xa86e78[_0x5209('0x11')]){_0x5209('0xf')==typeof _0x521ac1?_0x34940f(this[_0x5209('0x3e')],{'matchingCallback':_0x521ac1,'label':_0x149bf2,'priority':_0x35165e}):this[_0x5209('0x35')][_0x5209('0x25')](_0x521ac1,_0x149bf2);}[_0x5209('0x3b')](_0x4ca801,_0x4388bf){this[_0x5209('0x1f')]['set'](_0x4ca801,_0x4388bf);}['getItemLabel'](_0x4fad52,_0x6b6a24=0x1){let _0xdd3e9d;for(const _0x3fe4bd of this[_0x5209('0x3e')])if(_0x3fe4bd[_0x5209('0x1a')](_0x4fad52)){_0xdd3e9d=_0x3fe4bd[_0x5209('0x30')];break;}return _0xdd3e9d||(_0xdd3e9d=this[_0x5209('0x35')][_0x5209('0x4b')](_0x4fad52[_0x5209('0x1d')])),_0xdd3e9d?_0xdd3e9d(_0x6b6a24):0x1!==_0x6b6a24?_0x6b6a24+'\x20'+_0x4fad52[_0x5209('0x1d')]+'s':''+_0x4fad52['name'];}[_0x5209('0x1e')](_0x3dae25,_0x196d06){const _0x529b9c=_0x196d06[_0x5209('0x48')]()[_0x5209('0x0')](),_0x473603=_0x5209('0x1b')==_0x196d06[_0x5209('0x2a')]?'add':_0x5209('0x7');for(const _0x48d657 of _0x529b9c){const _0x250b53=_0x48d657['item'],_0x5b21f2=_0x3dae25[_0x3dae25[_0x5209('0x3')]-0x1];if(_0x250b53['is'](_0x5209('0x13')))_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')][_0x5209('0x16')](_0x5209('0x4a'))>-0x1&&_0x3dae25[_0x5209('0x2d')](),_0x5b21f2&&_0x5209('0x20')==_0x5b21f2['type']?_0x5b21f2[_0x473603]+=_0x250b53[_0x5209('0x8')]:_0x3dae25[_0x5209('0x22')]({'type':'text','add':'add'==_0x473603?_0x250b53[_0x5209('0x8')]:'','remove':_0x5209('0x7')==_0x473603?_0x250b53['data']:''});else{if(this[_0x5209('0x3a')][_0x5209('0x18')](_0x250b53)){const _0x3d5b12=_0x250b53;if(_0x5b21f2&&_0x5b21f2['type'][_0x5209('0x16')](_0x5209('0x4a'))>-0x1&&_0x3dae25[_0x5209('0x2d')](),_0x5209('0x50')==_0x48d657[_0x5209('0x2a')])continue;_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')]==_0x473603+_0x5209('0x3c')&&_0x5b21f2[_0x5209('0x46')][_0x5209('0x1d')]==_0x3d5b12['name']?_0x5b21f2['quantity']++:_0x3dae25['push']({'type':_0x473603+'Object','element':_0x3d5b12,'quantity':0x1}),_0x529b9c['skip'](_0x441dec=>!(_0x5209('0x50')==_0x441dec[_0x5209('0x2a')]&&_0x441dec[_0x5209('0x4e')]==_0x250b53));}else{if(this[_0x5209('0x3a')][_0x5209('0x2')](_0x250b53,_0x5209('0xd'))||_0x250b53['is'](_0x5209('0x46'),'softBreak')){const _0x104aae=_0x250b53;if(_0x5209('0x51')==_0x473603&&_0x5209('0x38')==_0x48d657[_0x5209('0x2a')]||_0x5209('0x7')==_0x473603&&_0x5209('0x50')==_0x48d657['type'])continue;if(_0x5b21f2&&-0x1==_0x5b21f2[_0x5209('0x2a')][_0x5209('0x16')](_0x5209('0x4a'))){'text'==_0x5b21f2[_0x5209('0x2a')]&&(_0x5b21f2[_0x473603]+='\x0a');continue;}let _0x141c5f;if(_0x141c5f=_0x5209('0x51')==_0x473603?_0x104aae['nextSibling']&&!this[_0x5209('0x3a')][_0x5209('0x18')](_0x104aae[_0x5209('0x39')])?_0x104aae[_0x5209('0x39')]:null:_0x104aae[_0x5209('0x27')]&&!this[_0x5209('0x3a')][_0x5209('0x18')](_0x104aae['previousSibling'])?_0x104aae[_0x5209('0x27')]:null,_0x104aae[_0x5209('0x2b')]||_0x141c5f&&_0x141c5f['isEmpty']){const _0x155d6c=_0x141c5f&&_0x141c5f[_0x5209('0x2b')]?_0x141c5f:_0x104aae;_0x5b21f2&&_0x5b21f2[_0x5209('0x2a')]==_0x473603+'EmptyContainer'&&_0x5b21f2[_0x5209('0x46')]['name']==_0x155d6c[_0x5209('0x1d')]?_0x5b21f2[_0x5209('0x1')]++:_0x3dae25[_0x5209('0x22')]({'type':_0x473603+_0x5209('0x10'),'element':_0x155d6c,'quantity':0x1});}else _0x3dae25[_0x5209('0x22')]({'type':_0x473603+_0x5209('0x4a'),'element':_0x104aae});}}}}}[_0x5209('0x37')](_0x1f280d){const _0x10b6fc=this['_locale'],_0xa77b1e=[],_0x40666f=[],_0xa079e4=[];for(const _0xe64a0d of _0x1f280d)switch(_0xe64a0d[_0x5209('0x2a')]){case _0x5209('0x20'):if(_0xe64a0d[_0x5209('0x51')]=_0xe64a0d[_0x5209('0x51')][_0x5209('0x12')](/(\S)\u000A+(\S)/g,_0x5209('0x4c'))[_0x5209('0x12')](/\u000A/g,''),_0xe64a0d['remove']=_0xe64a0d['remove'][_0x5209('0x12')](/(\S)\u000A+(\S)/g,_0x5209('0x4c'))[_0x5209('0x12')](/\u000A/g,''),''!=_0xe64a0d['add']&&''!=_0xe64a0d[_0x5209('0x7')]){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x12'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x32'),['\x22'+_0xe64a0d['remove']+'\x22','\x22'+_0xe64a0d[_0x5209('0x51')]+'\x22'])});continue;}if(null!=_0xe64a0d[_0x5209('0x51')][_0x5209('0x6')](/^ +$/)){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x24'),_0x4b1ea6(_0x10b6fc,_0x5209('0x33'),_0xe64a0d[_0x5209('0x51')][_0x5209('0x3')]))});continue;}if(null!=_0xe64a0d[_0x5209('0x7')][_0x5209('0x6')](/^ +$/)){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x47'),_0x4b1ea6(_0x10b6fc,_0x5209('0x33'),_0xe64a0d[_0x5209('0x7')][_0x5209('0x3')]))});continue;}if(''!=_0xe64a0d[_0x5209('0x51')]){_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,'*Insert:*\x20%0','\x22'+_0xe64a0d[_0x5209('0x51')]+'\x22')});continue;}_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,'*Remove:*\x20%0','\x22'+_0xe64a0d[_0x5209('0x7')]+'\x22')});continue;case _0x5209('0x9'):case _0x5209('0x43'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,'*Insert:*\x20%0',this[_0x5209('0x3f')](_0xe64a0d['element'],_0xe64a0d['quantity']))});continue;case _0x5209('0x15'):case _0x5209('0x28'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x47'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d[_0x5209('0x1')]))});continue;case _0x5209('0x21'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x1b'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x4d'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d[_0x5209('0x1')]))});continue;case _0x5209('0x49'):_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x2e'),'content':_0x4b1ea6(_0x10b6fc,_0x5209('0x45'),this[_0x5209('0x3f')](_0xe64a0d[_0x5209('0x46')],_0xe64a0d['quantity']))});continue;case _0x5209('0xa'):_0x40666f[_0x5209('0x22')](_0xe64a0d[_0x5209('0x4')]);continue;case _0x5209('0x31'):_0xa079e4[_0x5209('0x22')](_0xe64a0d[_0x5209('0x4')]);continue;default:_0xa77b1e[_0x5209('0x22')](_0xe64a0d);}if(_0x40666f[_0x5209('0x3')]){const _0x58ce3f=_0x40666f['map'](_0x51ee4f=>this['_attributeLabels']['has'](_0x51ee4f)?this['_attributeLabels']['get'](_0x51ee4f):_0x51ee4f)[_0x5209('0x40')](',\x20');_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],'*Set\x20format:*\x20%0',_0x58ce3f)});}if(_0xa079e4[_0x5209('0x3')]){const _0x57885d=_0xa079e4[_0x5209('0x41')](_0x433e5c=>this[_0x5209('0x1f')]['has'](_0x433e5c)?this[_0x5209('0x1f')][_0x5209('0x4b')](_0x433e5c):_0x433e5c)[_0x5209('0x40')](',\x20');_0xa77b1e[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],_0x5209('0x2c'),_0x57885d)});}return _0xa77b1e;}[_0x5209('0x2f')](_0x27b71b){for(const _0x3685a4 of this[_0x5209('0x42')]){const _0x98b2ad=_0x3685a4(_0x27b71b);if(_0x98b2ad&&_0x5209('0x2a')in _0x98b2ad)return _0x98b2ad;}}[_0x5209('0xe')](_0x193c9c,_0x27ecbd){const _0x4e4c07=_0x27ecbd[_0x5209('0x8')],_0x213968=void 0x0===_0x4e4c07[_0x5209('0x1c')]?_0x5209('0x31'):_0x5209('0xa');_0x193c9c['push']({'type':_0x213968,'key':_0x4e4c07[_0x5209('0x4')]});}[_0x5209('0x19')](_0x387729,_0x2c2520){_0x387729[_0x5209('0x22')]({'type':_0x5209('0x17'),'content':_0x4b1ea6(this[_0x5209('0x23')],_0x5209('0x26'),this[_0x5209('0x3f')](_0x2c2520[_0x5209('0x48')]()[_0x5209('0x4f')]['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x19abb1,_0x24cfdb,_0x606093){if(this['_addDescriptionItems'](_0x19abb1,_0x24cfdb),_0x606093&&_0x606093[_0x5209('0x48')]()&&!_0x24cfdb[_0x5209('0x48')]()['end'][_0x5209('0x34')](_0x606093[_0x5209('0x48')]()[_0x5209('0x4f')])){const _0x1ec491=_0x19abb1[_0x19abb1[_0x5209('0x3')]-0x1],_0x3f4333=_0x5209('0x1b')==_0x24cfdb['type']?_0x5209('0x51'):'remove';_0x1ec491&&_0x5209('0x20')==_0x1ec491[_0x5209('0x2a')]&&(_0x1ec491[_0x3f4333]+='\x0a');}}}
23
+ const _0x4c34=['Object','_resolveDescriptionItems','key','data','removeFormat','push','addContainer','_itemLabelsCallbacks','previousSibling','replace','removeContainer','addEmptyContainer','_locale','_handleRenameSuggestionDescription','insertion','subType','isEmpty','element','attribute','set','isObject','indexOf','_customCallbacks','checkChild','nextSibling','add','getFirstRange','isInContent','length','function','type','addFormat','addObject','_handleInsertRemoveSuggestionDescription','remove','format','elementStart','skip','*Remove:*\x20%0','nodeAfter','*Merge:*\x20%0','elementEnd','_attributeLabels','normal','pop','item','registerDescriptionCallback','map','match','start','quantity','getWalker','_addDescriptionItems','newValue','has','ELEMENT_SPACE','end','*Insert:*\x20%0','getItemLabel','Container','name','_schema','join','matchingCallback','get','_itemLabels','_handleCustomCallbackDescription','_handleAttributeSuggestionDescription','EmptyContainer','getDescriptions','REPLACE_TEXT','*Change\x20to:*\x20%0','*Split:*\x20%0','text','deletion','$text','$textProxy'];(function(_0x1125cd,_0x4c3499){const _0x294acd=function(_0x41094a){while(--_0x41094a){_0x1125cd['push'](_0x1125cd['shift']());}};_0x294acd(++_0x4c3499);}(_0x4c34,0xac));const _0x294a=function(_0x1125cd,_0x4c3499){_0x1125cd=_0x1125cd-0x0;let _0x294acd=_0x4c34[_0x1125cd];return _0x294acd;};import{getTranslation as _0x103aff}from'./utils/common-translations';import{priorities as _0x590d20,insertToPriorityArray as _0x1d401e}from'ckeditor5/src/utils';import{renameAttributeKey as _0x39a769}from'./trackchangesediting';export default class f{constructor(_0x4e1792,_0x5ee58b){this['_customCallbacks']=[],this[_0x294a('0x2f')]=new Map(),this[_0x294a('0x42')]=[],this[_0x294a('0x18')]=new Map(),this['_schema']=_0x4e1792,this[_0x294a('0x47')]=_0x5ee58b;}[_0x294a('0x33')](_0x1074ee){const _0x131bad=[],_0x4c2a0a=new Set(),_0x58442e=new Set();for(let _0x2ea063=0x0;_0x2ea063<_0x1074ee[_0x294a('0xa')];_0x2ea063++){const _0x40306a=_0x1074ee[_0x2ea063];if(!_0x40306a[_0x294a('0x9')])continue;const _0x389919=this[_0x294a('0x30')](_0x40306a);if(_0x389919){if(null!=_0x40306a[_0x294a('0x4a')]){if(_0x4c2a0a[_0x294a('0x24')](_0x40306a[_0x294a('0x4a')]))continue;_0x4c2a0a[_0x294a('0x7')](_0x40306a[_0x294a('0x4a')]);}_0x131bad[_0x294a('0x40')](_0x389919);}else{if(_0x294a('0x0')!=_0x40306a['type'])_0x294a('0x49')!=_0x40306a[_0x294a('0xc')]&&_0x294a('0x38')!=_0x40306a[_0x294a('0xc')]||this['_handleInsertRemoveSuggestionDescription'](_0x131bad,_0x40306a,_0x1074ee[_0x2ea063+0x1]);else{const _0x388ddc=_0x40306a[_0x294a('0x3e')][_0x294a('0x3d')];if(_0x58442e[_0x294a('0x24')](_0x388ddc))continue;_0x58442e[_0x294a('0x7')](_0x40306a[_0x294a('0x3e')]['key']),_0x388ddc==_0x39a769?this['_handleRenameSuggestionDescription'](_0x131bad,_0x40306a):this[_0x294a('0x31')](_0x131bad,_0x40306a);}}}return this['_resolveDescriptionItems'](_0x131bad);}[_0x294a('0x1c')](_0x35fbe4){this[_0x294a('0x4')]['push'](_0x35fbe4);}['registerElementLabel'](_0x474a88,_0x288bb9,_0x28467b=_0x590d20[_0x294a('0x19')]){_0x294a('0xb')==typeof _0x474a88?_0x1d401e(this[_0x294a('0x42')],{'matchingCallback':_0x474a88,'label':_0x288bb9,'priority':_0x28467b}):this[_0x294a('0x2f')][_0x294a('0x1')](_0x474a88,_0x288bb9);}['registerAttributeLabel'](_0x3147cf,_0x904853){this[_0x294a('0x18')][_0x294a('0x1')](_0x3147cf,_0x904853);}[_0x294a('0x28')](_0x5181f4,_0x104f50=0x1){let _0x59c27a;for(const _0x7bc674 of this[_0x294a('0x42')])if(_0x7bc674[_0x294a('0x2d')](_0x5181f4)){_0x59c27a=_0x7bc674['label'];break;}return _0x59c27a||(_0x59c27a=this[_0x294a('0x2f')][_0x294a('0x2e')](_0x5181f4[_0x294a('0x2a')])),_0x59c27a?_0x59c27a(_0x104f50):0x1!==_0x104f50?_0x104f50+'\x20'+_0x5181f4['name']+'s':''+_0x5181f4[_0x294a('0x2a')];}[_0x294a('0x22')](_0x58a326,_0x16251d){const _0x487af8=_0x16251d['getFirstRange']()[_0x294a('0x21')](),_0x18e3c0=_0x294a('0x49')==_0x16251d[_0x294a('0xc')]?_0x294a('0x7'):_0x294a('0x10');for(const _0x6786be of _0x487af8){const _0x1e27de=_0x6786be[_0x294a('0x1b')],_0x11d827=_0x58a326[_0x58a326[_0x294a('0xa')]-0x1];if(_0x1e27de['is'](_0x294a('0x3a')))_0x11d827&&_0x11d827['type'][_0x294a('0x3')](_0x294a('0x29'))>-0x1&&_0x58a326[_0x294a('0x1a')](),_0x11d827&&_0x294a('0x37')==_0x11d827[_0x294a('0xc')]?_0x11d827[_0x18e3c0]+=_0x1e27de[_0x294a('0x3e')]:_0x58a326['push']({'type':_0x294a('0x37'),'add':_0x294a('0x7')==_0x18e3c0?_0x1e27de[_0x294a('0x3e')]:'','remove':_0x294a('0x10')==_0x18e3c0?_0x1e27de[_0x294a('0x3e')]:''});else{if(this['_schema']['isObject'](_0x1e27de)){const _0x322998=_0x1e27de;if(_0x11d827&&_0x11d827[_0x294a('0xc')][_0x294a('0x3')](_0x294a('0x29'))>-0x1&&_0x58a326[_0x294a('0x1a')](),_0x294a('0x17')==_0x6786be[_0x294a('0xc')])continue;_0x11d827&&_0x11d827[_0x294a('0xc')]==_0x18e3c0+_0x294a('0x3b')&&_0x11d827['element'][_0x294a('0x2a')]==_0x322998['name']?_0x11d827[_0x294a('0x20')]++:_0x58a326[_0x294a('0x40')]({'type':_0x18e3c0+_0x294a('0x3b'),'element':_0x322998,'quantity':0x1}),_0x487af8[_0x294a('0x13')](_0x2bf97f=>!(_0x294a('0x17')==_0x2bf97f[_0x294a('0xc')]&&_0x2bf97f['item']==_0x1e27de));}else{if(this['_schema'][_0x294a('0x5')](_0x1e27de,_0x294a('0x39'))||_0x1e27de['is']('element','softBreak')){const _0x41bb05=_0x1e27de;if('add'==_0x18e3c0&&_0x294a('0x12')==_0x6786be[_0x294a('0xc')]||'remove'==_0x18e3c0&&'elementEnd'==_0x6786be['type'])continue;if(_0x11d827&&-0x1==_0x11d827['type']['indexOf'](_0x294a('0x29'))){_0x294a('0x37')==_0x11d827[_0x294a('0xc')]&&(_0x11d827[_0x18e3c0]+='\x0a');continue;}let _0x289dcb;if(_0x289dcb=_0x294a('0x7')==_0x18e3c0?_0x41bb05[_0x294a('0x6')]&&!this[_0x294a('0x2b')][_0x294a('0x2')](_0x41bb05[_0x294a('0x6')])?_0x41bb05[_0x294a('0x6')]:null:_0x41bb05['previousSibling']&&!this[_0x294a('0x2b')]['isObject'](_0x41bb05[_0x294a('0x43')])?_0x41bb05[_0x294a('0x43')]:null,_0x41bb05[_0x294a('0x4b')]||_0x289dcb&&_0x289dcb['isEmpty']){const _0x2d88c8=_0x289dcb&&_0x289dcb[_0x294a('0x4b')]?_0x289dcb:_0x41bb05;_0x11d827&&_0x11d827[_0x294a('0xc')]==_0x18e3c0+_0x294a('0x32')&&_0x11d827[_0x294a('0x4c')][_0x294a('0x2a')]==_0x2d88c8[_0x294a('0x2a')]?_0x11d827[_0x294a('0x20')]++:_0x58a326['push']({'type':_0x18e3c0+_0x294a('0x32'),'element':_0x2d88c8,'quantity':0x1});}else _0x58a326[_0x294a('0x40')]({'type':_0x18e3c0+_0x294a('0x29'),'element':_0x41bb05});}}}}}[_0x294a('0x3c')](_0x4819e3){const _0x5e7608=this[_0x294a('0x47')],_0x5ea518=[],_0x24efe4=[],_0x3a18fa=[];for(const _0x3f1c6d of _0x4819e3)switch(_0x3f1c6d[_0x294a('0xc')]){case'text':if(_0x3f1c6d[_0x294a('0x7')]=_0x3f1c6d['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x294a('0x44')](/\u000A/g,''),_0x3f1c6d['remove']=_0x3f1c6d[_0x294a('0x10')][_0x294a('0x44')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x294a('0x44')](/\u000A/g,''),''!=_0x3f1c6d[_0x294a('0x7')]&&''!=_0x3f1c6d['remove']){_0x5ea518[_0x294a('0x40')]({'type':'replace','content':_0x103aff(_0x5e7608,_0x294a('0x34'),['\x22'+_0x3f1c6d[_0x294a('0x10')]+'\x22','\x22'+_0x3f1c6d[_0x294a('0x7')]+'\x22'])});continue;}if(null!=_0x3f1c6d['add']['match'](/^ +$/)){_0x5ea518['push']({'type':_0x294a('0x49'),'content':_0x103aff(_0x5e7608,_0x294a('0x27'),_0x103aff(_0x5e7608,_0x294a('0x25'),_0x3f1c6d['add'][_0x294a('0xa')]))});continue;}if(null!=_0x3f1c6d['remove'][_0x294a('0x1e')](/^ +$/)){_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,_0x294a('0x14'),_0x103aff(_0x5e7608,_0x294a('0x25'),_0x3f1c6d[_0x294a('0x10')][_0x294a('0xa')]))});continue;}if(''!=_0x3f1c6d[_0x294a('0x7')]){_0x5ea518['push']({'type':_0x294a('0x49'),'content':_0x103aff(_0x5e7608,_0x294a('0x27'),'\x22'+_0x3f1c6d['add']+'\x22')});continue;}_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,_0x294a('0x14'),'\x22'+_0x3f1c6d[_0x294a('0x10')]+'\x22')});continue;case _0x294a('0x46'):case _0x294a('0xe'):_0x5ea518['push']({'type':'insertion','content':_0x103aff(_0x5e7608,_0x294a('0x27'),this[_0x294a('0x28')](_0x3f1c6d['element'],_0x3f1c6d[_0x294a('0x20')]))});continue;case'removeEmptyContainer':case'removeObject':_0x5ea518['push']({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,'*Remove:*\x20%0',this[_0x294a('0x28')](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0x41'):_0x5ea518[_0x294a('0x40')]({'type':'insertion','content':_0x103aff(_0x5e7608,_0x294a('0x36'),this['getItemLabel'](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0x45'):_0x5ea518[_0x294a('0x40')]({'type':'deletion','content':_0x103aff(_0x5e7608,_0x294a('0x16'),this['getItemLabel'](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0xd'):_0x24efe4['push'](_0x3f1c6d[_0x294a('0x3d')]);continue;case _0x294a('0x3f'):_0x3a18fa[_0x294a('0x40')](_0x3f1c6d[_0x294a('0x3d')]);continue;default:_0x5ea518[_0x294a('0x40')](_0x3f1c6d);}if(_0x24efe4[_0x294a('0xa')]){const _0x4cf3e8=_0x24efe4[_0x294a('0x1d')](_0x88ffb9=>this[_0x294a('0x18')][_0x294a('0x24')](_0x88ffb9)?this[_0x294a('0x18')][_0x294a('0x2e')](_0x88ffb9):_0x88ffb9)[_0x294a('0x2c')](',\x20');_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this['_locale'],'*Set\x20format:*\x20%0',_0x4cf3e8)});}if(_0x3a18fa[_0x294a('0xa')]){const _0x51ae8b=_0x3a18fa[_0x294a('0x1d')](_0x20a381=>this[_0x294a('0x18')][_0x294a('0x24')](_0x20a381)?this['_attributeLabels']['get'](_0x20a381):_0x20a381)[_0x294a('0x2c')](',\x20');_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this[_0x294a('0x47')],'*Remove\x20format:*\x20%0',_0x51ae8b)});}return _0x5ea518;}['_handleCustomCallbackDescription'](_0x37dff7){for(const _0x5f1b27 of this[_0x294a('0x4')]){const _0x562a7e=_0x5f1b27(_0x37dff7);if(_0x562a7e&&_0x294a('0xc')in _0x562a7e)return _0x562a7e;}}[_0x294a('0x31')](_0x4756af,_0x101302){const _0x27763a=_0x101302['data'],_0x9283c9=void 0x0===_0x27763a[_0x294a('0x23')]?_0x294a('0x3f'):_0x294a('0xd');_0x4756af[_0x294a('0x40')]({'type':_0x9283c9,'key':_0x27763a[_0x294a('0x3d')]});}[_0x294a('0x48')](_0x15fee5,_0x4e97c0){_0x15fee5[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this['_locale'],_0x294a('0x35'),this[_0x294a('0x28')](_0x4e97c0[_0x294a('0x8')]()[_0x294a('0x1f')][_0x294a('0x15')],0x1))});}[_0x294a('0xf')](_0x1b2297,_0x167b9b,_0x1de7ba){if(this[_0x294a('0x22')](_0x1b2297,_0x167b9b),_0x1de7ba&&_0x1de7ba[_0x294a('0x8')]()&&!_0x167b9b['getFirstRange']()[_0x294a('0x26')]['isEqual'](_0x1de7ba['getFirstRange']()[_0x294a('0x1f')])){const _0x35f129=_0x1b2297[_0x1b2297[_0x294a('0xa')]-0x1],_0x38d99c=_0x294a('0x49')==_0x167b9b[_0x294a('0xc')]?_0x294a('0x7'):_0x294a('0x10');_0x35f129&&_0x294a('0x37')==_0x35f129[_0x294a('0xc')]&&(_0x35f129[_0x38d99c]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c01=['pluginName','requires','adapter','editor','getSuggestion','getSuggestions','plugins','addSuggestionData','Comments','get'];(function(_0x57c496,_0x5c0165){var _0x1e88e4=function(_0x57a0df){while(--_0x57a0df){_0x57c496['push'](_0x57c496['shift']());}};_0x1e88e4(++_0x5c0165);}(_0x5c01,0x1d5));var _0x1e88=function(_0x57c496,_0x5c0165){_0x57c496=_0x57c496-0x0;var _0x1e88e4=_0x5c01[_0x57c496];return _0x1e88e4;};import{Plugin as _0x16555a}from'ckeditor5/src/core';import _0x15ddf6 from'./trackchangesui';import _0x24cfd0 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x16555a{static get[_0x1e88('0x2')](){return[_0x24cfd0,_0x15ddf6,_0x1e88('0x9')];}static get[_0x1e88('0x1')](){return'TrackChanges';}set['adapter'](_0x3c51af){this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x3')]=_0x3c51af;}get[_0x1e88('0x3')](){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x3')];}['addSuggestion'](_0x3bd241){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x8')](_0x3bd241);}[_0x1e88('0x6')]({skipNotAttached:_0x120dad=!0x1,toJSON:_0x2c9a6a=!0x1}={}){return this[_0x1e88('0x4')][_0x1e88('0x7')][_0x1e88('0x0')](_0x24cfd0)[_0x1e88('0x6')]({'skipNotAttached':_0x120dad,'toJSON':_0x2c9a6a});}[_0x1e88('0x5')](_0x2dcb9f){return this[_0x1e88('0x4')][_0x1e88('0x7')]['get'](_0x24cfd0)[_0x1e88('0x5')](_0x2dcb9f);}}
23
+ var _0x5a28=['TrackChanges','editor','adapter','getSuggestion','addSuggestionData','plugins','addSuggestion','requires','get','Comments','getSuggestions','pluginName'];(function(_0x5175e2,_0x5a2842){var _0x3ec0a9=function(_0x25c58f){while(--_0x25c58f){_0x5175e2['push'](_0x5175e2['shift']());}};_0x3ec0a9(++_0x5a2842);}(_0x5a28,0x1ba));var _0x3ec0=function(_0x5175e2,_0x5a2842){_0x5175e2=_0x5175e2-0x0;var _0x3ec0a9=_0x5a28[_0x5175e2];return _0x3ec0a9;};import{Plugin as _0x51e767}from'ckeditor5/src/core';import _0xe72755 from'./trackchangesui';import _0x49c8c9 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x51e767{static get[_0x3ec0('0x9')](){return[_0x49c8c9,_0xe72755,_0x3ec0('0xb')];}static get[_0x3ec0('0x1')](){return _0x3ec0('0x2');}set[_0x3ec0('0x4')](_0x34aad5){this['editor'][_0x3ec0('0x7')]['get'](_0x49c8c9)[_0x3ec0('0x4')]=_0x34aad5;}get[_0x3ec0('0x4')](){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)['adapter'];}[_0x3ec0('0x8')](_0x1f776e){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)[_0x3ec0('0x6')](_0x1f776e);}['getSuggestions']({skipNotAttached:_0x1b3fa1=!0x1,toJSON:_0x33cdda=!0x1}={}){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)[_0x3ec0('0x0')]({'skipNotAttached':_0x1b3fa1,'toJSON':_0x33cdda});}[_0x3ec0('0x5')](_0x19794f){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)['getSuggestion'](_0x19794f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42b9=['execute','init','CommentsRepository','TrackChangesEditing','getDataWithDiscardedSuggestions','getRootsAttributes','trackChangesData','plugins','push','create','TrackChangesDataGetter','_adapter','function','createElement','config','Users','reduce','set','pluginName','define','result','addUser','data','editorCreator','name','requires','get','getFullData','end','getRootNames','addSuggestionData','document','trackChangesData.editorCreator','map','model','track-changes-data-invalid-editor-creator','Pagination','destroy','users','editor'];(function(_0x20b282,_0x42b9ed){const _0x59bc0a=function(_0x524530){while(--_0x524530){_0x20b282['push'](_0x20b282['shift']());}};_0x59bc0a(++_0x42b9ed);}(_0x42b9,0xed));const _0x59bc=function(_0x20b282,_0x42b9ed){_0x20b282=_0x20b282-0x0;let _0x59bc0a=_0x42b9[_0x20b282];return _0x59bc0a;};import{Plugin as _0x61dec1}from'ckeditor5/src/core';import{CKEditorError as _0xe1e9ac}from'ckeditor5/src/utils';import _0x2543d7 from'./trackchangesediting';import{sanitizeEditorConfig as _0x475a8d}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x59bc('0x27')];export default class P extends _0x61dec1{static get[_0x59bc('0x1c')](){return[_0x2543d7];}static get['pluginName'](){return'TrackChangesData';}[_0x59bc('0x4')](){const _0x2b0df1=this[_0x59bc('0x2')];if(_0x2b0df1['config'][_0x59bc('0x16')](_0x59bc('0x23'),_0xfbd6ad=>{const _0x58c4e5=_0x2b0df1[_0x59bc('0x25')]['document'][_0x59bc('0x20')]()[_0x59bc('0x13')]((_0x3bdc65,_0x49d4d6)=>(_0x3bdc65[_0x49d4d6]='',_0x3bdc65),{});return _0x2b0df1['constructor'][_0x59bc('0xc')](_0x58c4e5,_0xfbd6ad);}),_0x59bc('0xf')!=typeof _0x2b0df1[_0x59bc('0x11')][_0x59bc('0x1d')](_0x59bc('0x9'))[_0x59bc('0x1a')])throw new _0xe1e9ac(_0x59bc('0x26'));}['getDataWithAcceptedSuggestions'](_0x1f1e7e){return N(this[_0x59bc('0x2')],!0x0,_0x1f1e7e);}[_0x59bc('0x7')](_0x4b3ca9){return N(this[_0x59bc('0x2')],!0x1,_0x4b3ca9);}}class D extends _0x61dec1{static get[_0x59bc('0x15')](){return _0x59bc('0xd');}constructor(_0x4c0b5f){super(_0x4c0b5f),this[_0x59bc('0x17')]=_0x59bc('0x1f');}['init'](){this['editor'][_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x5'))[_0x59bc('0xe')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x59bc('0x2')][_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x6'))[_0x59bc('0xe')]=null;}}function v(_0x4074f4){return void 0x0!==_0x4074f4[_0x59bc('0x8')];}async function N(_0x2903a8,_0x513468,_0x2990fc){const _0x233d9c=_0x475a8d(_0x2903a8,T);_0x233d9c[_0x59bc('0xa')][_0x59bc('0xb')](_0x2543d7,D),_0x233d9c['rootsAttributes']=v(_0x2903a8)?_0x2903a8[_0x59bc('0x8')]():void 0x0;const _0x22bc0d=document['createDocumentFragment'](),_0x5180cf=_0x2903a8['config']['get']('trackChangesData')[_0x59bc('0x1a')],_0x2362b3=await _0x5180cf(_0x233d9c,()=>function(_0x15549c){const _0x588e32=document[_0x59bc('0x10')]('div');return _0x15549c['appendChild'](_0x588e32),_0x588e32;}(_0x22bc0d));!function(_0x703748,_0x5a2fa7){const _0x374bd5=_0x703748['model'][_0x59bc('0x22')][_0x59bc('0x20')]()[_0x59bc('0x13')]((_0x3f7e78,_0x2f0dd1)=>(_0x3f7e78[_0x2f0dd1]=_0x703748[_0x59bc('0x19')][_0x59bc('0x1d')]({'rootName':_0x2f0dd1}),_0x3f7e78),{}),_0x2acfba=_0x703748['plugins']['get'](_0x59bc('0x12'))[_0x59bc('0x1')][_0x59bc('0x24')](_0x2373e1=>({'id':_0x2373e1['id'],'name':_0x2373e1[_0x59bc('0x1b')]})),_0x2f9730=_0x703748[_0x59bc('0xa')][_0x59bc('0x1d')]('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x17b653=_0x5a2fa7['plugins'][_0x59bc('0x1d')](_0x59bc('0x12')),_0x20ca9d=_0x5a2fa7[_0x59bc('0xa')][_0x59bc('0x1d')](_0x59bc('0x6'));for(const _0x184f39 of _0x2acfba)_0x17b653['getUser'](_0x184f39['id'])||_0x17b653[_0x59bc('0x18')](_0x184f39);_0x17b653['me']||_0x17b653['useAnonymousUser']();for(const _0x1b2fe0 of _0x2f9730)_0x20ca9d[_0x59bc('0x21')](_0x1b2fe0);_0x5a2fa7['data'][_0x59bc('0x14')](_0x374bd5);}(_0x2903a8,_0x2362b3),_0x2362b3[_0x59bc('0x3')](_0x513468?'acceptAllSuggestions':'discardAllSuggestions');const _0x136fe2=v(_0x2362b3)?_0x2362b3[_0x59bc('0x1e')](_0x2990fc):_0x2362b3[_0x59bc('0x19')][_0x59bc('0x1d')](_0x2990fc);return await _0x2362b3[_0x59bc('0x0')](),_0x136fe2;}
23
+ const _0x2f0d=['addUser','editor','trackChangesData','track-changes-data-invalid-editor-creator','TrackChangesData','TrackChangesEditing','init','appendChild','function','define','Pagination','model','document','name','trackChangesData.editorCreator','getRootsAttributes','TrackChangesDataGetter','_adapter','createElement','discardAllSuggestions','getFullData','plugins','pluginName','result','getRootNames','map','constructor','config','requires','rootsAttributes','getDataWithAcceptedSuggestions','CommentsRepository','getUser','editorCreator','create','useAnonymousUser','reduce','addSuggestionData','push','getSuggestions','data','set','get','users','end','div'];(function(_0x54b896,_0x2f0d97){const _0x593973=function(_0x5b8361){while(--_0x5b8361){_0x54b896['push'](_0x54b896['shift']());}};_0x593973(++_0x2f0d97);}(_0x2f0d,0x1c8));const _0x5939=function(_0x54b896,_0x2f0d97){_0x54b896=_0x54b896-0x0;let _0x593973=_0x2f0d[_0x54b896];return _0x593973;};import{Plugin as _0x4dcdc6}from'ckeditor5/src/core';import{CKEditorError as _0x1d6016}from'ckeditor5/src/utils';import _0xae78ff from'./trackchangesediting';import{sanitizeEditorConfig as _0x42ff6b}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x5939('0xe')];export default class P extends _0x4dcdc6{static get[_0x5939('0x20')](){return[_0xae78ff];}static get[_0x5939('0x1a')](){return _0x5939('0x8');}[_0x5939('0xa')](){const _0x3b2d32=this['editor'];if(_0x3b2d32['config'][_0x5939('0xd')](_0x5939('0x12'),_0x359a5f=>{const _0xe94a3a=_0x3b2d32[_0x5939('0xf')][_0x5939('0x10')][_0x5939('0x1c')]()['reduce']((_0x567a09,_0x16b70d)=>(_0x567a09[_0x16b70d]='',_0x567a09),{});return _0x3b2d32[_0x5939('0x1e')][_0x5939('0x26')](_0xe94a3a,_0x359a5f);}),_0x5939('0xc')!=typeof _0x3b2d32[_0x5939('0x1f')][_0x5939('0x0')](_0x5939('0x6'))[_0x5939('0x25')])throw new _0x1d6016(_0x5939('0x7'));}[_0x5939('0x22')](_0x303c3a){return N(this['editor'],!0x0,_0x303c3a);}['getDataWithDiscardedSuggestions'](_0x51345a){return N(this['editor'],!0x1,_0x51345a);}}class D extends _0x4dcdc6{static get[_0x5939('0x1a')](){return _0x5939('0x14');}constructor(_0x5e1adc){super(_0x5e1adc),this[_0x5939('0x1b')]=_0x5939('0x2');}[_0x5939('0xa')](){this[_0x5939('0x5')][_0x5939('0x19')]['get'](_0x5939('0x23'))[_0x5939('0x15')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x5939('0x5')]['plugins'][_0x5939('0x0')](_0x5939('0x9'))[_0x5939('0x15')]=null;}}function v(_0x1f801f){return void 0x0!==_0x1f801f[_0x5939('0x13')];}async function N(_0x547128,_0x34e629,_0x5e257f){const _0x287849=_0x42ff6b(_0x547128,T);_0x287849[_0x5939('0x19')][_0x5939('0x2a')](_0xae78ff,D),_0x287849[_0x5939('0x21')]=v(_0x547128)?_0x547128['getRootsAttributes']():void 0x0;const _0x1f41f0=document['createDocumentFragment'](),_0x585239=_0x547128['config'][_0x5939('0x0')](_0x5939('0x6'))[_0x5939('0x25')],_0x101195=await _0x585239(_0x287849,()=>function(_0x59e6b5){const _0x49176c=document[_0x5939('0x16')](_0x5939('0x3'));return _0x59e6b5[_0x5939('0xb')](_0x49176c),_0x49176c;}(_0x1f41f0));!function(_0x529798,_0x1f7dd8){const _0x5e1385=_0x529798[_0x5939('0xf')][_0x5939('0x10')][_0x5939('0x1c')]()[_0x5939('0x28')]((_0x16b7b9,_0x28cea4)=>(_0x16b7b9[_0x28cea4]=_0x529798['data'][_0x5939('0x0')]({'rootName':_0x28cea4}),_0x16b7b9),{}),_0x6d4fd9=_0x529798['plugins'][_0x5939('0x0')]('Users')[_0x5939('0x1')][_0x5939('0x1d')](_0x38a998=>({'id':_0x38a998['id'],'name':_0x38a998[_0x5939('0x11')]})),_0x4392ce=_0x529798['plugins'][_0x5939('0x0')](_0x5939('0x9'))[_0x5939('0x2b')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1a91ef=_0x1f7dd8['plugins'][_0x5939('0x0')]('Users'),_0x529f5f=_0x1f7dd8['plugins'][_0x5939('0x0')]('TrackChangesEditing');for(const _0x381dbf of _0x6d4fd9)_0x1a91ef[_0x5939('0x24')](_0x381dbf['id'])||_0x1a91ef[_0x5939('0x4')](_0x381dbf);_0x1a91ef['me']||_0x1a91ef[_0x5939('0x27')]();for(const _0x12f9cc of _0x4392ce)_0x529f5f[_0x5939('0x29')](_0x12f9cc);_0x1f7dd8[_0x5939('0x2c')][_0x5939('0x2d')](_0x5e1385);}(_0x547128,_0x101195),_0x101195['execute'](_0x34e629?'acceptAllSuggestions':_0x5939('0x17'));const _0x165187=v(_0x101195)?_0x101195[_0x5939('0x18')](_0x5e257f):_0x101195[_0x5939('0x2c')]['get'](_0x5e257f);return await _0x101195['destroy'](),_0x165187;}