@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230903.0 → 0.0.0-nightly-20230905.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 (64) 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/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51f2=['_saved','suggestion:','_markerNames','@external','subType','getFirstMarker','head','_onDiscard','addRange','attributes','previous','removeMarker','substr','size','removeAttribute','_isDataLoaded','getMultiRangeId','accept','type','toJSON','removeMarkers','getRange','decorate','getMarkers','length','addMarkerName','commentThread','getMarkerNames','split','start','isIntersectingWithRange','change','_model','getItems','createdAt','getRanges','from','nodeAfter','hasComments','data','author','next','addMarker','authoredAt','_onAttributesChange','_onAccept','getContainedElement','set','discard','creator','getFirstRange','setAttribute','end','push','markers','nodeBefore','isIntersecting','getAllAdjacentSuggestions','delete','onAttributesChange'];(function(_0x499225,_0x51f293){const _0x5d63b4=function(_0x5be35a){while(--_0x5be35a){_0x499225['push'](_0x499225['shift']());}};_0x5d63b4(++_0x51f293);}(_0x51f2,0x199));const _0x5d63=function(_0x499225,_0x51f293){_0x499225=_0x499225-0x0;let _0x5d63b4=_0x51f2[_0x499225];return _0x5d63b4;};import{Element as _0x2b4e03}from'ckeditor5/src/engine';import{ObservableMixin as _0xb9d00b,uid as _0x36a7cc}from'ckeditor5/src/utils';import{cloneDeep as _0x35a4fa,isEqual as _0x3f64a7,set as _0x458c6e,unset as _0x2018df}from'lodash-es';export default class u extends _0xb9d00b(){constructor(_0x375f97,_0x53ac42){super(),this[_0x5d63('0x1a')]=!0x1,this['id']=_0x53ac42['id'],this[_0x5d63('0x1d')]=_0x53ac42[_0x5d63('0x1d')],this[_0x5d63('0xf')]=_0x53ac42[_0x5d63('0xf')]||null,this[_0x5d63('0x33')]=_0x53ac42[_0x5d63('0x33')],this[_0x5d63('0x0')]=_0x53ac42[_0x5d63('0x0')]||_0x53ac42[_0x5d63('0x33')],this['isExternal']=Boolean(_0x53ac42['attributes']&&_0x53ac42[_0x5d63('0x14')][_0x5d63('0xe')]),this[_0x5d63('0x32')]=null,this['_model']=_0x375f97,this[_0x5d63('0x38')]=_0x53ac42['onAccept'],this[_0x5d63('0x12')]=_0x53ac42['onDiscard'],this[_0x5d63('0x37')]=_0x53ac42[_0x5d63('0xa')],this[_0x5d63('0xd')]=new Set(),this[_0x5d63('0x2d')]=null,this[_0x5d63('0x3a')](_0x5d63('0x36'),null),this['set'](_0x5d63('0x14'),_0x53ac42['attributes']||{}),this['set']('previous',null),this[_0x5d63('0x3a')]('next',null),this['set']('commentThread',null),this[_0x5d63('0x3a')](_0x5d63('0xb'),!0x1),this[_0x5d63('0x21')](_0x5d63('0x1c')),this[_0x5d63('0x21')](_0x5d63('0x3b'));}get[_0x5d63('0x11')](){let _0x495820=this;for(;_0x495820[_0x5d63('0x15')];)_0x495820=_0x495820['previous'];return _0x495820;}get[_0x5d63('0x31')](){return!!this['commentThread']&&this[_0x5d63('0x25')][_0x5d63('0x23')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x5d63('0xd')][_0x5d63('0x18')])return!0x1;return 0x6==Array[_0x5d63('0x2f')](this[_0x5d63('0xd')])[0x0][_0x5d63('0x27')](':')[_0x5d63('0x23')];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x17e84b){this[_0x5d63('0xd')]['add'](_0x17e84b);}[_0x5d63('0x26')](){return Array['from'](this['_markerNames']);}[_0x5d63('0x22')](){return this[_0x5d63('0x26')]()['map'](_0x4b4f2a=>this['_model'][_0x5d63('0x5')]['get'](_0x4b4f2a))['filter'](_0x1869a8=>_0x1869a8);}[_0x5d63('0x10')](){return this[_0x5d63('0x22')]()[0x0]||null;}['removeMarkers'](){this[_0x5d63('0x2b')][_0x5d63('0x2a')](_0x2c9492=>{for(const _0x7287a2 of this[_0x5d63('0x22')]())_0x2c9492[_0x5d63('0x16')](_0x7287a2);}),this['_markerNames']['clear']();}[_0x5d63('0x16')](_0x467ff1){this[_0x5d63('0x2b')][_0x5d63('0x2a')](_0x4b2367=>{_0x4b2367[_0x5d63('0x16')](_0x467ff1);}),this[_0x5d63('0xd')][_0x5d63('0x9')](_0x467ff1);}[_0x5d63('0x13')](_0x8b674){const _0x400471=_0x5d63('0xc')+this[_0x5d63('0x1d')]+':'+this[_0x5d63('0xf')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x5d63('0x1b')]();this[_0x5d63('0x24')](_0x400471),this['_model'][_0x5d63('0x2a')](_0x5f4416=>{_0x5f4416[_0x5d63('0x35')](_0x400471,{'range':_0x8b674,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5d63('0x29')](_0x13b755){for(const _0x218ca2 of this[_0x5d63('0x2e')]())if(_0x218ca2[_0x5d63('0x7')](_0x13b755))return!0x0;return!0x1;}[_0x5d63('0x2e')](){return this[_0x5d63('0x22')]()['map'](_0x30fbdd=>_0x30fbdd[_0x5d63('0x20')]());}['getItems'](){return this['getRanges']()['reduce']((_0x7b8d15,_0x4dba08)=>[..._0x7b8d15,..._0x4dba08[_0x5d63('0x2c')]()],[]);}[_0x5d63('0x1')](){var _0x23e70c;return(null===(_0x23e70c=this['getFirstMarker']())||void 0x0===_0x23e70c?void 0x0:_0x23e70c['getRange']())||null;}[_0x5d63('0x39')](){const _0x27ce69=this[_0x5d63('0x2e')]();if(0x1!=_0x27ce69['length'])return null;const _0x1af05b=_0x27ce69[0x0],_0x5835c0=_0x1af05b[_0x5d63('0x28')][_0x5d63('0x30')],_0x517476=_0x1af05b[_0x5d63('0x3')][_0x5d63('0x6')];return _0x5835c0 instanceof _0x2b4e03?_0x5835c0!=_0x517476?null:_0x5835c0:null;}[_0x5d63('0x1c')](){this['_onAccept'](this[_0x5d63('0x2e')](),this[_0x5d63('0x32')],this[_0x5d63('0x14')]),this[_0x5d63('0x1f')]();}[_0x5d63('0x3b')](){this['_onDiscard'](this['getRanges'](),this[_0x5d63('0x32')],this['attributes']),this[_0x5d63('0x1f')]();}[_0x5d63('0x8')](){const _0x5c7ecd=[];let _0x270c84=this[_0x5d63('0x11')];for(;_0x270c84;)_0x5c7ecd[_0x5d63('0x4')](_0x270c84),_0x270c84=_0x270c84[_0x5d63('0x34')];return _0x5c7ecd;}[_0x5d63('0x2')](_0xf350de,_0xa3e533){const _0x4c75d5=_0x35a4fa(this[_0x5d63('0x14')]);_0x458c6e(_0x4c75d5,_0xf350de,_0xa3e533),_0x3f64a7(_0x4c75d5,this['attributes'])||(this[_0x5d63('0x14')]=_0x4c75d5,this[_0x5d63('0x37')](_0x4c75d5));}[_0x5d63('0x19')](_0x3d5c43){const _0x3fbdd7=_0x35a4fa(this[_0x5d63('0x14')]);_0x2018df(_0x3fbdd7,_0x3d5c43),_0x3f64a7(_0x3fbdd7,this[_0x5d63('0x14')])||(this[_0x5d63('0x14')]=_0x3fbdd7,this[_0x5d63('0x37')](this[_0x5d63('0x14')]));}[_0x5d63('0x1e')](){return{'id':this['id'],'type':this['subType']?this[_0x5d63('0x1d')]+':'+this[_0x5d63('0xf')]:this[_0x5d63('0x1d')],'authorId':this[_0x5d63('0x0')]['id'],'createdAt':this[_0x5d63('0x2d')],'hasComments':this['hasComments'],'data':this[_0x5d63('0x32')],'attributes':this[_0x5d63('0x14')]};}static[_0x5d63('0x1b')](){return _0x36a7cc()[_0x5d63('0x17')](0x1,0x5);}}
23
+ const _0x479b=['authoredAt','commentThread','getMultiRangeId','filter','end','getFirstRange','addRange','getMarkerNames','clear','suggestion:','hasComments','_onAccept','toJSON','_saved','head','discard','markers','change','isInContent','decorate','addMarkerName','getRange','_onDiscard','set','removeMarkers','subType','data','removeMarker','onAccept','_markerNames','reduce','getMarkers','next','accept','createdAt','from','isIntersectingWithRange','removeAttribute','type','addMarker','getAllAdjacentSuggestions','onDiscard','size','nodeAfter','isExternal','getContainedElement','isIntersecting','setAttribute','push','nodeBefore','length','_model','previous','map','_isDataLoaded','creator','start','author','_onAttributesChange','getRanges','attributes','getFirstMarker'];(function(_0x4d3b39,_0x479bba){const _0x50290d=function(_0x3d2f4f){while(--_0x3d2f4f){_0x4d3b39['push'](_0x4d3b39['shift']());}};_0x50290d(++_0x479bba);}(_0x479b,0x1a8));const _0x5029=function(_0x4d3b39,_0x479bba){_0x4d3b39=_0x4d3b39-0x0;let _0x50290d=_0x479b[_0x4d3b39];return _0x50290d;};import{Element as _0x413097}from'ckeditor5/src/engine';import{ObservableMixin as _0x1043cb,uid as _0x5b8792}from'ckeditor5/src/utils';import{cloneDeep as _0x4c43c5,isEqual as _0x52dd4,set as _0x568ff4,unset as _0xc2ea12}from'lodash-es';export default class u extends _0x1043cb(){constructor(_0xd07773,_0x51e2c7){super(),this[_0x5029('0x2')]=!0x1,this['id']=_0x51e2c7['id'],this[_0x5029('0x30')]=_0x51e2c7['type'],this[_0x5029('0x23')]=_0x51e2c7[_0x5029('0x23')]||null,this['author']=_0x51e2c7[_0x5029('0x5')],this[_0x5029('0x3')]=_0x51e2c7[_0x5029('0x3')]||_0x51e2c7[_0x5029('0x5')],this[_0x5029('0x36')]=Boolean(_0x51e2c7['attributes']&&_0x51e2c7[_0x5029('0x8')]['@external']),this[_0x5029('0x24')]=null,this[_0x5029('0x3d')]=_0xd07773,this[_0x5029('0x15')]=_0x51e2c7[_0x5029('0x26')],this[_0x5029('0x20')]=_0x51e2c7[_0x5029('0x33')],this['_onAttributesChange']=_0x51e2c7['onAttributesChange'],this['_markerNames']=new Set(),this[_0x5029('0x2c')]=null,this['set'](_0x5029('0xa'),null),this['set'](_0x5029('0x8'),_0x51e2c7['attributes']||{}),this[_0x5029('0x21')](_0x5029('0x0'),null),this[_0x5029('0x21')]('next',null),this[_0x5029('0x21')](_0x5029('0xb'),null),this[_0x5029('0x21')](_0x5029('0x17'),!0x1),this[_0x5029('0x1d')](_0x5029('0x2b')),this[_0x5029('0x1d')](_0x5029('0x19'));}get[_0x5029('0x18')](){let _0x43097b=this;for(;_0x43097b[_0x5029('0x0')];)_0x43097b=_0x43097b['previous'];return _0x43097b;}get[_0x5029('0x14')](){return!!this[_0x5029('0xb')]&&this[_0x5029('0xb')][_0x5029('0x3c')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x5029('0x27')][_0x5029('0x34')])return!0x1;return 0x6==Array[_0x5029('0x2d')](this['_markerNames'])[0x0]['split'](':')[_0x5029('0x3c')];}get[_0x5029('0x1c')](){return null!==this[_0x5029('0x9')]();}[_0x5029('0x1e')](_0x417c43){this[_0x5029('0x27')]['add'](_0x417c43);}[_0x5029('0x11')](){return Array[_0x5029('0x2d')](this[_0x5029('0x27')]);}[_0x5029('0x29')](){return this[_0x5029('0x11')]()[_0x5029('0x1')](_0x1c82c2=>this[_0x5029('0x3d')][_0x5029('0x1a')]['get'](_0x1c82c2))[_0x5029('0xd')](_0x56effc=>_0x56effc);}[_0x5029('0x9')](){return this[_0x5029('0x29')]()[0x0]||null;}[_0x5029('0x22')](){this[_0x5029('0x3d')][_0x5029('0x1b')](_0x4445d3=>{for(const _0x3fd51e of this['getMarkers']())_0x4445d3[_0x5029('0x25')](_0x3fd51e);}),this[_0x5029('0x27')][_0x5029('0x12')]();}[_0x5029('0x25')](_0x57fc0a){this[_0x5029('0x3d')][_0x5029('0x1b')](_0x49dcac=>{_0x49dcac[_0x5029('0x25')](_0x57fc0a);}),this[_0x5029('0x27')]['delete'](_0x57fc0a);}[_0x5029('0x10')](_0x4f25e1){const _0x5dd158=_0x5029('0x13')+this[_0x5029('0x30')]+':'+this[_0x5029('0x23')]+':'+this['id']+':'+this[_0x5029('0x3')]['id']+':'+u[_0x5029('0xc')]();this['addMarkerName'](_0x5dd158),this['_model'][_0x5029('0x1b')](_0x5b112e=>{_0x5b112e[_0x5029('0x31')](_0x5dd158,{'range':_0x4f25e1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5029('0x2e')](_0xf80500){for(const _0x1bef94 of this[_0x5029('0x7')]())if(_0x1bef94[_0x5029('0x38')](_0xf80500))return!0x0;return!0x1;}[_0x5029('0x7')](){return this['getMarkers']()[_0x5029('0x1')](_0x6c16c9=>_0x6c16c9[_0x5029('0x1f')]());}['getItems'](){return this[_0x5029('0x7')]()[_0x5029('0x28')]((_0x100c84,_0x4c81ca)=>[..._0x100c84,..._0x4c81ca['getItems']()],[]);}[_0x5029('0xf')](){var _0x48e725;return(null===(_0x48e725=this[_0x5029('0x9')]())||void 0x0===_0x48e725?void 0x0:_0x48e725[_0x5029('0x1f')]())||null;}[_0x5029('0x37')](){const _0x177197=this[_0x5029('0x7')]();if(0x1!=_0x177197[_0x5029('0x3c')])return null;const _0x10a768=_0x177197[0x0],_0x4c0a3f=_0x10a768[_0x5029('0x4')][_0x5029('0x35')],_0x4c012e=_0x10a768[_0x5029('0xe')][_0x5029('0x3b')];return _0x4c0a3f instanceof _0x413097?_0x4c0a3f!=_0x4c012e?null:_0x4c0a3f:null;}[_0x5029('0x2b')](){this['_onAccept'](this[_0x5029('0x7')](),this[_0x5029('0x24')],this[_0x5029('0x8')]),this[_0x5029('0x22')]();}[_0x5029('0x19')](){this[_0x5029('0x20')](this['getRanges'](),this[_0x5029('0x24')],this[_0x5029('0x8')]),this[_0x5029('0x22')]();}[_0x5029('0x32')](){const _0x133500=[];let _0x1c21de=this[_0x5029('0x18')];for(;_0x1c21de;)_0x133500[_0x5029('0x3a')](_0x1c21de),_0x1c21de=_0x1c21de[_0x5029('0x2a')];return _0x133500;}[_0x5029('0x39')](_0x27c7a2,_0x328c29){const _0x1aaab0=_0x4c43c5(this[_0x5029('0x8')]);_0x568ff4(_0x1aaab0,_0x27c7a2,_0x328c29),_0x52dd4(_0x1aaab0,this['attributes'])||(this['attributes']=_0x1aaab0,this['_onAttributesChange'](_0x1aaab0));}[_0x5029('0x2f')](_0x5636c6){const _0x5165ae=_0x4c43c5(this[_0x5029('0x8')]);_0xc2ea12(_0x5165ae,_0x5636c6),_0x52dd4(_0x5165ae,this[_0x5029('0x8')])||(this['attributes']=_0x5165ae,this[_0x5029('0x6')](this[_0x5029('0x8')]));}[_0x5029('0x16')](){return{'id':this['id'],'type':this['subType']?this[_0x5029('0x30')]+':'+this['subType']:this[_0x5029('0x30')],'authorId':this[_0x5029('0x3')]['id'],'createdAt':this[_0x5029('0x2c')],'hasComments':this[_0x5029('0x14')],'data':this[_0x5029('0x24')],'attributes':this[_0x5029('0x8')]};}static[_0x5029('0xc')](){return _0x5b8792()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ce9=['_schema','add','getWalker','softBreak','deletion','quantity','isEmpty','item','pop','REPLACE_TEXT','registerDescriptionCallback','type','function','push','get','_customCallbacks','matchingCallback','removeContainer','_resolveDescriptionItems','getItemLabel','insertion','_itemLabels','name','end','nextSibling','checkChild','addContainer','start','removeObject','element','replace','ELEMENT_SPACE','*Remove:*\x20%0','elementEnd','*Split:*\x20%0','indexOf','addEmptyContainer','*Merge:*\x20%0','isInContent','previousSibling','data','*Insert:*\x20%0','text','isObject','EmptyContainer','$text','elementStart','match','Object','addObject','Container','label','getFirstRange','$1\x20$2','getDescriptions','_itemLabelsCallbacks','_locale','length','remove','removeEmptyContainer','normal'];(function(_0x31ca1c,_0x3ce996){const _0x37c053=function(_0x5523e1){while(--_0x5523e1){_0x31ca1c['push'](_0x31ca1c['shift']());}};_0x37c053(++_0x3ce996);}(_0x3ce9,0x135));const _0x37c0=function(_0x31ca1c,_0x3ce996){_0x31ca1c=_0x31ca1c-0x0;let _0x37c053=_0x3ce9[_0x31ca1c];return _0x37c053;};import{getTranslation as _0x2bec3d}from'./utils/common-translations';import{priorities as _0x50e832,insertToPriorityArray as _0x3af54e}from'ckeditor5/src/utils';export default class m{constructor(_0x493535,_0x50bcc1){this['_customCallbacks']=[],this[_0x37c0('0x11')]=new Map(),this[_0x37c0('0x33')]=[],this[_0x37c0('0x39')]=_0x493535,this[_0x37c0('0x34')]=_0x50bcc1;}[_0x37c0('0x32')](_0x370c56){const _0x428ec8=[];for(let _0x16d767=0x0;_0x16d767<_0x370c56[_0x37c0('0x35')];_0x16d767++){const _0x451a9b=_0x370c56[_0x16d767];if(!_0x451a9b[_0x37c0('0x22')])continue;let _0x2f5f15=!0x1;for(const _0x28cb04 of this[_0x37c0('0xb')]){const _0x511d0e=_0x28cb04(_0x451a9b);if(_0x511d0e){_0x37c0('0x7')in _0x511d0e&&_0x428ec8['push'](_0x511d0e),_0x2f5f15=!0x0;break;}}if(!_0x2f5f15){this['_addDescriptionItems'](_0x428ec8,_0x451a9b);const _0x57c8a7=_0x370c56[_0x16d767+0x1];if(_0x57c8a7&&!_0x451a9b[_0x37c0('0x30')]()[_0x37c0('0x13')]['isEqual'](_0x57c8a7['getFirstRange']()[_0x37c0('0x17')])){const _0x9e2be6=_0x428ec8[_0x428ec8[_0x37c0('0x35')]-0x1],_0x36e9d4=_0x37c0('0x10')==_0x451a9b[_0x37c0('0x7')]?_0x37c0('0x3a'):_0x37c0('0x36');_0x9e2be6&&_0x37c0('0x26')==_0x9e2be6['type']&&(_0x9e2be6[_0x36e9d4]+='\x0a');}}}return this[_0x37c0('0xe')](_0x428ec8);}[_0x37c0('0x6')](_0x34794f){this[_0x37c0('0xb')][_0x37c0('0x9')](_0x34794f);}['registerElementLabel'](_0x273313,_0x2f7b42,_0x22d0cb=_0x50e832[_0x37c0('0x38')]){_0x37c0('0x8')==typeof _0x273313?_0x3af54e(this[_0x37c0('0x33')],{'matchingCallback':_0x273313,'label':_0x2f7b42,'priority':_0x22d0cb}):this[_0x37c0('0x11')]['set'](_0x273313,_0x2f7b42);}[_0x37c0('0xf')](_0xf410d2,_0x2dc26b=0x1){let _0x56bd03;for(const _0x326915 of this['_itemLabelsCallbacks'])if(_0x326915[_0x37c0('0xc')](_0xf410d2)){_0x56bd03=_0x326915[_0x37c0('0x2f')];break;}return _0x56bd03||(_0x56bd03=this['_itemLabels'][_0x37c0('0xa')](_0xf410d2[_0x37c0('0x12')])),_0x56bd03?_0x56bd03(_0x2dc26b):0x1!==_0x2dc26b?_0x2dc26b+'\x20'+_0xf410d2['name']+'s':''+_0xf410d2['name'];}['_addDescriptionItems'](_0x3e01e4,_0x2cbaf1){const _0x53713d=_0x2cbaf1[_0x37c0('0x30')]()[_0x37c0('0x3b')](),_0x5e55dd=_0x37c0('0x10')==_0x2cbaf1['type']?'add':_0x37c0('0x36');for(const _0x256a1f of _0x53713d){const _0x45ef03=_0x256a1f['item'],_0x22166b=_0x3e01e4[_0x3e01e4[_0x37c0('0x35')]-0x1];if(_0x45ef03['is']('$textProxy'))_0x22166b&&_0x22166b[_0x37c0('0x7')][_0x37c0('0x1f')]('Container')>-0x1&&_0x3e01e4[_0x37c0('0x4')](),_0x22166b&&_0x37c0('0x26')==_0x22166b['type']?_0x22166b[_0x5e55dd]+=_0x45ef03['data']:_0x3e01e4[_0x37c0('0x9')]({'type':_0x37c0('0x26'),'add':_0x37c0('0x3a')==_0x5e55dd?_0x45ef03['data']:'','remove':'remove'==_0x5e55dd?_0x45ef03[_0x37c0('0x24')]:''});else{if(this[_0x37c0('0x39')][_0x37c0('0x27')](_0x45ef03)){const _0x374a58=_0x45ef03;if(_0x22166b&&_0x22166b[_0x37c0('0x7')][_0x37c0('0x1f')]('Container')>-0x1&&_0x3e01e4['pop'](),_0x37c0('0x1d')==_0x256a1f['type'])continue;_0x22166b&&_0x22166b[_0x37c0('0x7')]==_0x5e55dd+_0x37c0('0x2c')&&_0x22166b['element'][_0x37c0('0x12')]==_0x374a58[_0x37c0('0x12')]?_0x22166b['quantity']++:_0x3e01e4[_0x37c0('0x9')]({'type':_0x5e55dd+_0x37c0('0x2c'),'element':_0x374a58,'quantity':0x1}),_0x53713d['skip'](_0x3822b4=>!('elementEnd'==_0x3822b4[_0x37c0('0x7')]&&_0x3822b4[_0x37c0('0x3')]==_0x45ef03));}else{if(this[_0x37c0('0x39')][_0x37c0('0x15')](_0x45ef03,_0x37c0('0x29'))||_0x45ef03['is'](_0x37c0('0x19'),_0x37c0('0x3c'))){const _0x5105e5=_0x45ef03;if('add'==_0x5e55dd&&_0x37c0('0x2a')==_0x256a1f[_0x37c0('0x7')]||'remove'==_0x5e55dd&&_0x37c0('0x1d')==_0x256a1f['type'])continue;if(_0x22166b&&-0x1==_0x22166b[_0x37c0('0x7')][_0x37c0('0x1f')](_0x37c0('0x2e'))){'text'==_0x22166b[_0x37c0('0x7')]&&(_0x22166b[_0x5e55dd]+='\x0a');continue;}let _0x2b5fd9;if(_0x2b5fd9=_0x37c0('0x3a')==_0x5e55dd?_0x5105e5[_0x37c0('0x14')]&&!this[_0x37c0('0x39')][_0x37c0('0x27')](_0x5105e5[_0x37c0('0x14')])?_0x5105e5[_0x37c0('0x14')]:null:_0x5105e5['previousSibling']&&!this['_schema'][_0x37c0('0x27')](_0x5105e5['previousSibling'])?_0x5105e5[_0x37c0('0x23')]:null,_0x5105e5['isEmpty']||_0x2b5fd9&&_0x2b5fd9[_0x37c0('0x2')]){const _0x35a3fc=_0x2b5fd9&&_0x2b5fd9[_0x37c0('0x2')]?_0x2b5fd9:_0x5105e5;_0x22166b&&_0x22166b[_0x37c0('0x7')]==_0x5e55dd+_0x37c0('0x28')&&_0x22166b[_0x37c0('0x19')]['name']==_0x35a3fc[_0x37c0('0x12')]?_0x22166b[_0x37c0('0x1')]++:_0x3e01e4[_0x37c0('0x9')]({'type':_0x5e55dd+'EmptyContainer','element':_0x35a3fc,'quantity':0x1});}else _0x3e01e4[_0x37c0('0x9')]({'type':_0x5e55dd+'Container','element':_0x5105e5});}}}}}[_0x37c0('0xe')](_0x98a5c3){const _0x3c06b7=this['_locale'],_0x406a8d=[];for(const _0x254a64 of _0x98a5c3){switch(_0x254a64[_0x37c0('0x7')]){case _0x37c0('0x26'):if(_0x254a64[_0x37c0('0x3a')]=_0x254a64['add'][_0x37c0('0x1a')](/(\S)\u000A+(\S)/g,_0x37c0('0x31'))[_0x37c0('0x1a')](/\u000A/g,''),_0x254a64['remove']=_0x254a64[_0x37c0('0x36')][_0x37c0('0x1a')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x37c0('0x1a')](/\u000A/g,''),''!=_0x254a64[_0x37c0('0x3a')]&&''!=_0x254a64['remove']){_0x406a8d['push']({'type':_0x37c0('0x1a'),'content':_0x2bec3d(_0x3c06b7,_0x37c0('0x5'),['\x22'+_0x254a64['remove']+'\x22','\x22'+_0x254a64[_0x37c0('0x3a')]+'\x22'])});continue;}if(null!=_0x254a64[_0x37c0('0x3a')][_0x37c0('0x2b')](/^ +$/)){_0x406a8d[_0x37c0('0x9')]({'type':_0x37c0('0x10'),'content':_0x2bec3d(_0x3c06b7,_0x37c0('0x25'),_0x2bec3d(_0x3c06b7,_0x37c0('0x1b'),_0x254a64['add']['length']))});continue;}if(null!=_0x254a64[_0x37c0('0x36')][_0x37c0('0x2b')](/^ +$/)){_0x406a8d[_0x37c0('0x9')]({'type':'deletion','content':_0x2bec3d(_0x3c06b7,_0x37c0('0x1c'),_0x2bec3d(_0x3c06b7,_0x37c0('0x1b'),_0x254a64[_0x37c0('0x36')][_0x37c0('0x35')]))});continue;}if(''!=_0x254a64[_0x37c0('0x3a')]){_0x406a8d[_0x37c0('0x9')]({'type':_0x37c0('0x10'),'content':_0x2bec3d(_0x3c06b7,'*Insert:*\x20%0','\x22'+_0x254a64[_0x37c0('0x3a')]+'\x22')});continue;}_0x406a8d[_0x37c0('0x9')]({'type':_0x37c0('0x0'),'content':_0x2bec3d(_0x3c06b7,_0x37c0('0x1c'),'\x22'+_0x254a64[_0x37c0('0x36')]+'\x22')});continue;case _0x37c0('0x20'):case _0x37c0('0x2d'):_0x406a8d['push']({'type':_0x37c0('0x10'),'content':_0x2bec3d(_0x3c06b7,_0x37c0('0x25'),this[_0x37c0('0xf')](_0x254a64['element'],_0x254a64[_0x37c0('0x1')]))});continue;case _0x37c0('0x37'):case _0x37c0('0x18'):_0x406a8d[_0x37c0('0x9')]({'type':'deletion','content':_0x2bec3d(_0x3c06b7,_0x37c0('0x1c'),this['getItemLabel'](_0x254a64[_0x37c0('0x19')],_0x254a64[_0x37c0('0x1')]))});continue;case _0x37c0('0x16'):_0x406a8d['push']({'type':'insertion','content':_0x2bec3d(_0x3c06b7,_0x37c0('0x1e'),this[_0x37c0('0xf')](_0x254a64[_0x37c0('0x19')],_0x254a64[_0x37c0('0x1')]))});continue;case _0x37c0('0xd'):_0x406a8d[_0x37c0('0x9')]({'type':'deletion','content':_0x2bec3d(_0x3c06b7,_0x37c0('0x21'),this[_0x37c0('0xf')](_0x254a64[_0x37c0('0x19')],_0x254a64[_0x37c0('0x1')]))});continue;}_0x406a8d['push'](_0x254a64);}return _0x406a8d;}}
23
+ const _0x38ea=['getDescriptions','isEqual','add','_itemLabelsCallbacks','registerDescriptionCallback','get','function','removeObject','_customCallbacks','getFirstRange','REPLACE_TEXT','insertion','Object','pop','*Remove:*\x20%0','_schema','$textProxy','end','previousSibling','skip','$text','length','deletion','name','removeEmptyContainer','$1\x20$2','nextSibling','isObject','_itemLabels','replace','*Merge:*\x20%0','getWalker','element','text','_locale','type','registerElementLabel','item','Container','*Split:*\x20%0','isEmpty','*Insert:*\x20%0','match','addContainer','getItemLabel','ELEMENT_SPACE','push','data','elementStart','EmptyContainer','isInContent','elementEnd','_addDescriptionItems','_resolveDescriptionItems','indexOf','set','quantity','remove'];(function(_0x2bb32d,_0x38ead9){const _0x4a8cdb=function(_0x4ede77){while(--_0x4ede77){_0x2bb32d['push'](_0x2bb32d['shift']());}};_0x4a8cdb(++_0x38ead9);}(_0x38ea,0x11b));const _0x4a8c=function(_0x2bb32d,_0x38ead9){_0x2bb32d=_0x2bb32d-0x0;let _0x4a8cdb=_0x38ea[_0x2bb32d];return _0x4a8cdb;};import{getTranslation as _0x2c1e27}from'./utils/common-translations';import{priorities as _0x3fe11a,insertToPriorityArray as _0x53f40e}from'ckeditor5/src/utils';export default class m{constructor(_0x4d68f6,_0x316ed2){this[_0x4a8c('0xf')]=[],this[_0x4a8c('0x23')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x4a8c('0x16')]=_0x4d68f6,this[_0x4a8c('0x29')]=_0x316ed2;}[_0x4a8c('0x7')](_0x4d5674){const _0x51ca17=[];for(let _0x39160e=0x0;_0x39160e<_0x4d5674[_0x4a8c('0x1c')];_0x39160e++){const _0x7ca877=_0x4d5674[_0x39160e];if(!_0x7ca877[_0x4a8c('0x39')])continue;let _0x1f00bb=!0x1;for(const _0x4c0075 of this[_0x4a8c('0xf')]){const _0x5242e0=_0x4c0075(_0x7ca877);if(_0x5242e0){_0x4a8c('0x2a')in _0x5242e0&&_0x51ca17[_0x4a8c('0x35')](_0x5242e0),_0x1f00bb=!0x0;break;}}if(!_0x1f00bb){this[_0x4a8c('0x1')](_0x51ca17,_0x7ca877);const _0xe502a5=_0x4d5674[_0x39160e+0x1];if(_0xe502a5&&!_0x7ca877[_0x4a8c('0x10')]()[_0x4a8c('0x18')][_0x4a8c('0x8')](_0xe502a5[_0x4a8c('0x10')]()['start'])){const _0x1a913a=_0x51ca17[_0x51ca17[_0x4a8c('0x1c')]-0x1],_0x4b4e4c=_0x4a8c('0x12')==_0x7ca877[_0x4a8c('0x2a')]?_0x4a8c('0x9'):_0x4a8c('0x6');_0x1a913a&&_0x4a8c('0x28')==_0x1a913a['type']&&(_0x1a913a[_0x4b4e4c]+='\x0a');}}}return this[_0x4a8c('0x2')](_0x51ca17);}[_0x4a8c('0xb')](_0x41e54f){this[_0x4a8c('0xf')][_0x4a8c('0x35')](_0x41e54f);}[_0x4a8c('0x2b')](_0x4126a2,_0x20a669,_0x7c07b2=_0x3fe11a['normal']){_0x4a8c('0xd')==typeof _0x4126a2?_0x53f40e(this[_0x4a8c('0xa')],{'matchingCallback':_0x4126a2,'label':_0x20a669,'priority':_0x7c07b2}):this[_0x4a8c('0x23')][_0x4a8c('0x4')](_0x4126a2,_0x20a669);}['getItemLabel'](_0x20623e,_0x304ce5=0x1){let _0x535bca;for(const _0x440cb6 of this[_0x4a8c('0xa')])if(_0x440cb6['matchingCallback'](_0x20623e)){_0x535bca=_0x440cb6['label'];break;}return _0x535bca||(_0x535bca=this[_0x4a8c('0x23')][_0x4a8c('0xc')](_0x20623e[_0x4a8c('0x1e')])),_0x535bca?_0x535bca(_0x304ce5):0x1!==_0x304ce5?_0x304ce5+'\x20'+_0x20623e['name']+'s':''+_0x20623e[_0x4a8c('0x1e')];}['_addDescriptionItems'](_0x4c6109,_0x2c76bb){const _0x5a2e08=_0x2c76bb[_0x4a8c('0x10')]()[_0x4a8c('0x26')](),_0x309841=_0x4a8c('0x12')==_0x2c76bb[_0x4a8c('0x2a')]?'add':_0x4a8c('0x6');for(const _0x26930f of _0x5a2e08){const _0x1c8793=_0x26930f[_0x4a8c('0x2c')],_0x2e1c29=_0x4c6109[_0x4c6109[_0x4a8c('0x1c')]-0x1];if(_0x1c8793['is'](_0x4a8c('0x17')))_0x2e1c29&&_0x2e1c29[_0x4a8c('0x2a')][_0x4a8c('0x3')](_0x4a8c('0x2d'))>-0x1&&_0x4c6109[_0x4a8c('0x14')](),_0x2e1c29&&_0x4a8c('0x28')==_0x2e1c29['type']?_0x2e1c29[_0x309841]+=_0x1c8793[_0x4a8c('0x36')]:_0x4c6109['push']({'type':_0x4a8c('0x28'),'add':_0x4a8c('0x9')==_0x309841?_0x1c8793[_0x4a8c('0x36')]:'','remove':_0x4a8c('0x6')==_0x309841?_0x1c8793[_0x4a8c('0x36')]:''});else{if(this['_schema'][_0x4a8c('0x22')](_0x1c8793)){const _0x104561=_0x1c8793;if(_0x2e1c29&&_0x2e1c29[_0x4a8c('0x2a')][_0x4a8c('0x3')](_0x4a8c('0x2d'))>-0x1&&_0x4c6109[_0x4a8c('0x14')](),_0x4a8c('0x0')==_0x26930f[_0x4a8c('0x2a')])continue;_0x2e1c29&&_0x2e1c29['type']==_0x309841+_0x4a8c('0x13')&&_0x2e1c29['element'][_0x4a8c('0x1e')]==_0x104561[_0x4a8c('0x1e')]?_0x2e1c29['quantity']++:_0x4c6109[_0x4a8c('0x35')]({'type':_0x309841+'Object','element':_0x104561,'quantity':0x1}),_0x5a2e08[_0x4a8c('0x1a')](_0x4fd0fc=>!('elementEnd'==_0x4fd0fc[_0x4a8c('0x2a')]&&_0x4fd0fc[_0x4a8c('0x2c')]==_0x1c8793));}else{if(this['_schema']['checkChild'](_0x1c8793,_0x4a8c('0x1b'))||_0x1c8793['is'](_0x4a8c('0x27'),'softBreak')){const _0x57c6be=_0x1c8793;if(_0x4a8c('0x9')==_0x309841&&_0x4a8c('0x37')==_0x26930f[_0x4a8c('0x2a')]||_0x4a8c('0x6')==_0x309841&&_0x4a8c('0x0')==_0x26930f[_0x4a8c('0x2a')])continue;if(_0x2e1c29&&-0x1==_0x2e1c29[_0x4a8c('0x2a')][_0x4a8c('0x3')]('Container')){_0x4a8c('0x28')==_0x2e1c29[_0x4a8c('0x2a')]&&(_0x2e1c29[_0x309841]+='\x0a');continue;}let _0x37a71d;if(_0x37a71d=_0x4a8c('0x9')==_0x309841?_0x57c6be[_0x4a8c('0x21')]&&!this[_0x4a8c('0x16')][_0x4a8c('0x22')](_0x57c6be[_0x4a8c('0x21')])?_0x57c6be['nextSibling']:null:_0x57c6be['previousSibling']&&!this[_0x4a8c('0x16')][_0x4a8c('0x22')](_0x57c6be[_0x4a8c('0x19')])?_0x57c6be[_0x4a8c('0x19')]:null,_0x57c6be['isEmpty']||_0x37a71d&&_0x37a71d[_0x4a8c('0x2f')]){const _0x507dac=_0x37a71d&&_0x37a71d[_0x4a8c('0x2f')]?_0x37a71d:_0x57c6be;_0x2e1c29&&_0x2e1c29[_0x4a8c('0x2a')]==_0x309841+_0x4a8c('0x38')&&_0x2e1c29[_0x4a8c('0x27')][_0x4a8c('0x1e')]==_0x507dac[_0x4a8c('0x1e')]?_0x2e1c29[_0x4a8c('0x5')]++:_0x4c6109[_0x4a8c('0x35')]({'type':_0x309841+'EmptyContainer','element':_0x507dac,'quantity':0x1});}else _0x4c6109[_0x4a8c('0x35')]({'type':_0x309841+_0x4a8c('0x2d'),'element':_0x57c6be});}}}}}[_0x4a8c('0x2')](_0x207647){const _0x1d040f=this[_0x4a8c('0x29')],_0x569b94=[];for(const _0xef8f68 of _0x207647){switch(_0xef8f68[_0x4a8c('0x2a')]){case _0x4a8c('0x28'):if(_0xef8f68[_0x4a8c('0x9')]=_0xef8f68['add'][_0x4a8c('0x24')](/(\S)\u000A+(\S)/g,_0x4a8c('0x20'))[_0x4a8c('0x24')](/\u000A/g,''),_0xef8f68[_0x4a8c('0x6')]=_0xef8f68[_0x4a8c('0x6')][_0x4a8c('0x24')](/(\S)\u000A+(\S)/g,_0x4a8c('0x20'))[_0x4a8c('0x24')](/\u000A/g,''),''!=_0xef8f68[_0x4a8c('0x9')]&&''!=_0xef8f68['remove']){_0x569b94[_0x4a8c('0x35')]({'type':_0x4a8c('0x24'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x11'),['\x22'+_0xef8f68['remove']+'\x22','\x22'+_0xef8f68[_0x4a8c('0x9')]+'\x22'])});continue;}if(null!=_0xef8f68[_0x4a8c('0x9')][_0x4a8c('0x31')](/^ +$/)){_0x569b94['push']({'type':_0x4a8c('0x12'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x30'),_0x2c1e27(_0x1d040f,_0x4a8c('0x34'),_0xef8f68[_0x4a8c('0x9')][_0x4a8c('0x1c')]))});continue;}if(null!=_0xef8f68['remove'][_0x4a8c('0x31')](/^ +$/)){_0x569b94['push']({'type':_0x4a8c('0x1d'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x15'),_0x2c1e27(_0x1d040f,_0x4a8c('0x34'),_0xef8f68[_0x4a8c('0x6')][_0x4a8c('0x1c')]))});continue;}if(''!=_0xef8f68[_0x4a8c('0x9')]){_0x569b94[_0x4a8c('0x35')]({'type':_0x4a8c('0x12'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x30'),'\x22'+_0xef8f68[_0x4a8c('0x9')]+'\x22')});continue;}_0x569b94[_0x4a8c('0x35')]({'type':_0x4a8c('0x1d'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x15'),'\x22'+_0xef8f68[_0x4a8c('0x6')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x569b94['push']({'type':'insertion','content':_0x2c1e27(_0x1d040f,_0x4a8c('0x30'),this['getItemLabel'](_0xef8f68['element'],_0xef8f68['quantity']))});continue;case _0x4a8c('0x1f'):case _0x4a8c('0xe'):_0x569b94['push']({'type':_0x4a8c('0x1d'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x15'),this[_0x4a8c('0x33')](_0xef8f68[_0x4a8c('0x27')],_0xef8f68['quantity']))});continue;case _0x4a8c('0x32'):_0x569b94[_0x4a8c('0x35')]({'type':_0x4a8c('0x12'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x2e'),this[_0x4a8c('0x33')](_0xef8f68[_0x4a8c('0x27')],_0xef8f68[_0x4a8c('0x5')]))});continue;case'removeContainer':_0x569b94[_0x4a8c('0x35')]({'type':_0x4a8c('0x1d'),'content':_0x2c1e27(_0x1d040f,_0x4a8c('0x25'),this[_0x4a8c('0x33')](_0xef8f68[_0x4a8c('0x27')],_0xef8f68['quantity']))});continue;}_0x569b94[_0x4a8c('0x35')](_0xef8f68);}return _0x569b94;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2d1f=['getSuggestions','getSuggestion','editor','Comments','addSuggestionData','adapter','addSuggestion','pluginName','plugins','get'];(function(_0x1ae835,_0x2d1f73){var _0x254487=function(_0xa559ff){while(--_0xa559ff){_0x1ae835['push'](_0x1ae835['shift']());}};_0x254487(++_0x2d1f73);}(_0x2d1f,0xd5));var _0x2544=function(_0x1ae835,_0x2d1f73){_0x1ae835=_0x1ae835-0x0;var _0x254487=_0x2d1f[_0x1ae835];return _0x254487;};import{Plugin as _0x3ea338}from'ckeditor5/src/core';import _0x3905c0 from'./trackchangesui';import _0x1c93a4 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x3ea338{static get['requires'](){return[_0x1c93a4,_0x3905c0,_0x2544('0x0')];}static get[_0x2544('0x4')](){return'TrackChanges';}set[_0x2544('0x2')](_0x3c9dfc){this[_0x2544('0x9')][_0x2544('0x5')][_0x2544('0x6')](_0x1c93a4)[_0x2544('0x2')]=_0x3c9dfc;}get[_0x2544('0x2')](){return this[_0x2544('0x9')][_0x2544('0x5')][_0x2544('0x6')](_0x1c93a4)[_0x2544('0x2')];}[_0x2544('0x3')](_0x13fbc9){return this[_0x2544('0x9')]['plugins'][_0x2544('0x6')](_0x1c93a4)[_0x2544('0x1')](_0x13fbc9);}['getSuggestions']({skipNotAttached:_0x81493a=!0x1,toJSON:_0x1c41f8=!0x1}={}){return this['editor'][_0x2544('0x5')][_0x2544('0x6')](_0x1c93a4)[_0x2544('0x7')]({'skipNotAttached':_0x81493a,'toJSON':_0x1c41f8});}[_0x2544('0x8')](_0x2e1929){return this[_0x2544('0x9')][_0x2544('0x5')][_0x2544('0x6')](_0x1c93a4)[_0x2544('0x8')](_0x2e1929);}}
23
+ var _0x179c=['adapter','getSuggestions','TrackChanges','get','editor','Comments','pluginName','getSuggestion','plugins','addSuggestion','requires'];(function(_0x8e921a,_0x179cbc){var _0x4e77b7=function(_0x369428){while(--_0x369428){_0x8e921a['push'](_0x8e921a['shift']());}};_0x4e77b7(++_0x179cbc);}(_0x179c,0x89));var _0x4e77=function(_0x8e921a,_0x179cbc){_0x8e921a=_0x8e921a-0x0;var _0x4e77b7=_0x179c[_0x8e921a];return _0x4e77b7;};import{Plugin as _0x5f9b85}from'ckeditor5/src/core';import _0x486039 from'./trackchangesui';import _0x262ea6 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x5f9b85{static get[_0x4e77('0x5')](){return[_0x262ea6,_0x486039,_0x4e77('0x0')];}static get[_0x4e77('0x1')](){return _0x4e77('0x8');}set[_0x4e77('0x6')](_0x4a2b99){this['editor']['plugins'][_0x4e77('0x9')](_0x262ea6)[_0x4e77('0x6')]=_0x4a2b99;}get['adapter'](){return this[_0x4e77('0xa')][_0x4e77('0x3')][_0x4e77('0x9')](_0x262ea6)['adapter'];}[_0x4e77('0x4')](_0xf0af79){return this[_0x4e77('0xa')][_0x4e77('0x3')][_0x4e77('0x9')](_0x262ea6)['addSuggestionData'](_0xf0af79);}[_0x4e77('0x7')]({skipNotAttached:_0x4ca198=!0x1,toJSON:_0x2be588=!0x1}={}){return this[_0x4e77('0xa')][_0x4e77('0x3')]['get'](_0x262ea6)[_0x4e77('0x7')]({'skipNotAttached':_0x4ca198,'toJSON':_0x2be588});}[_0x4e77('0x2')](_0x2ad8d7){return this['editor'][_0x4e77('0x3')][_0x4e77('0x9')](_0x262ea6)[_0x4e77('0x2')](_0x2ad8d7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34b7=['getFullData','track-changes-data-invalid-editor-creator','useAnonymousUser','trackChangesData','map','end','init','Users','editorCreator','define','addUser','model','Pagination','requires','getDataWithAcceptedSuggestions','reduce','_adapter','addSuggestionData','destroy','TrackChangesDataGetter','getRootsAttributes','CommentsRepository','plugins','create','div','document','createElement','result','config','function','rootsAttributes','get','getSuggestions','TrackChangesData','TrackChangesEditing','pluginName','appendChild','getRootNames','trackChangesData.editorCreator','editor','data','set'];(function(_0x4be447,_0x34b7f6){const _0x71fce=function(_0x5e5499){while(--_0x5e5499){_0x4be447['push'](_0x4be447['shift']());}};_0x71fce(++_0x34b7f6);}(_0x34b7,0x1a3));const _0x71fc=function(_0x4be447,_0x34b7f6){_0x4be447=_0x4be447-0x0;let _0x71fce=_0x34b7[_0x4be447];return _0x71fce;};import{Plugin as _0x502b81}from'ckeditor5/src/core';import{CKEditorError as _0x4f7791}from'ckeditor5/src/utils';import _0x2547bf from'./trackchangesediting';import{sanitizeEditorConfig as _0x25737c}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x71fc('0xd')];export default class T extends _0x502b81{static get[_0x71fc('0xe')](){return[_0x2547bf];}static get[_0x71fc('0x24')](){return _0x71fc('0x22');}[_0x71fc('0x7')](){const _0x5dc5fc=this['editor'];if(_0x5dc5fc[_0x71fc('0x1d')][_0x71fc('0xa')](_0x71fc('0x27'),_0x466a59=>{const _0xc7f92a=_0x5dc5fc['model'][_0x71fc('0x1a')][_0x71fc('0x26')]()[_0x71fc('0x10')]((_0x2b0e42,_0x100a0f)=>(_0x2b0e42[_0x100a0f]='',_0x2b0e42),{});return _0x5dc5fc['constructor'][_0x71fc('0x18')](_0xc7f92a,_0x466a59);}),_0x71fc('0x1e')!=typeof _0x5dc5fc['config'][_0x71fc('0x20')](_0x71fc('0x4'))[_0x71fc('0x9')])throw new _0x4f7791(_0x71fc('0x2'));}[_0x71fc('0xf')](_0x5a765c){return v(this['editor'],!0x0,_0x5a765c);}['getDataWithDiscardedSuggestions'](_0x1ae9fd){return v(this[_0x71fc('0x28')],!0x1,_0x1ae9fd);}}class P extends _0x502b81{static get[_0x71fc('0x24')](){return _0x71fc('0x14');}constructor(_0x506c15){super(_0x506c15),this[_0x71fc('0x1c')]=_0x71fc('0x6');}['init'](){this[_0x71fc('0x28')][_0x71fc('0x17')][_0x71fc('0x20')](_0x71fc('0x16'))[_0x71fc('0x11')]={'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[_0x71fc('0x28')]['plugins'][_0x71fc('0x20')](_0x71fc('0x23'))[_0x71fc('0x11')]=null;}}function D(_0x4e94d5){return void 0x0!==_0x4e94d5[_0x71fc('0x15')];}async function v(_0x5bcd0a,_0x105921,_0xcca9b4){const _0x25086a=_0x25737c(_0x5bcd0a,w);_0x25086a[_0x71fc('0x17')]['push'](_0x2547bf,P),_0x25086a[_0x71fc('0x1f')]=D(_0x5bcd0a)?_0x5bcd0a['getRootsAttributes']():void 0x0;const _0x5cae7b=document['createDocumentFragment'](),_0x252c66=_0x5bcd0a[_0x71fc('0x1d')][_0x71fc('0x20')](_0x71fc('0x4'))[_0x71fc('0x9')],_0x494213=await _0x252c66(_0x25086a,()=>function(_0x42ba26){const _0x236e97=document[_0x71fc('0x1b')](_0x71fc('0x19'));return _0x42ba26[_0x71fc('0x25')](_0x236e97),_0x236e97;}(_0x5cae7b));!function(_0x3c4ce3,_0x2dd9df){const _0x479ae0=_0x3c4ce3[_0x71fc('0xc')][_0x71fc('0x1a')]['getRootNames']()['reduce']((_0x20dcb5,_0x357b3f)=>(_0x20dcb5[_0x357b3f]=_0x3c4ce3['data'][_0x71fc('0x20')]({'rootName':_0x357b3f}),_0x20dcb5),{}),_0x27b5d6=_0x3c4ce3['plugins']['get'](_0x71fc('0x8'))['users'][_0x71fc('0x5')](_0x24f44f=>({'id':_0x24f44f['id'],'name':_0x24f44f['name']})),_0x446fba=_0x3c4ce3[_0x71fc('0x17')][_0x71fc('0x20')]('TrackChangesEditing')[_0x71fc('0x21')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x34cea9=_0x2dd9df[_0x71fc('0x17')][_0x71fc('0x20')](_0x71fc('0x8')),_0x1e43da=_0x2dd9df['plugins'][_0x71fc('0x20')](_0x71fc('0x23'));for(const _0x259856 of _0x27b5d6)_0x34cea9['getUser'](_0x259856['id'])||_0x34cea9[_0x71fc('0xb')](_0x259856);_0x34cea9['me']||_0x34cea9[_0x71fc('0x3')]();for(const _0x10d2f0 of _0x446fba)_0x1e43da[_0x71fc('0x12')](_0x10d2f0);_0x2dd9df['data'][_0x71fc('0x0')](_0x479ae0);}(_0x5bcd0a,_0x494213),_0x494213['execute'](_0x105921?'acceptAllSuggestions':'discardAllSuggestions');const _0xe49f0e=D(_0x494213)?_0x494213[_0x71fc('0x1')](_0xcca9b4):_0x494213[_0x71fc('0x29')]['get'](_0xcca9b4);return await _0x494213[_0x71fc('0x13')](),_0xe49f0e;}
23
+ const _0x5904=['plugins','addUser','name','_adapter','editorCreator','model','destroy','editor','getRootsAttributes','define','Pagination','config','addSuggestionData','useAnonymousUser','TrackChangesDataGetter','document','TrackChangesData','track-changes-data-invalid-editor-creator','createElement','set','push','discardAllSuggestions','TrackChangesEditing','appendChild','data','div','rootsAttributes','constructor','pluginName','requires','trackChangesData','create','getDataWithDiscardedSuggestions','init','getFullData','get','end','reduce','trackChangesData.editorCreator','getRootNames'];(function(_0x492b67,_0x59040e){const _0x510ef0=function(_0x2cb441){while(--_0x2cb441){_0x492b67['push'](_0x492b67['shift']());}};_0x510ef0(++_0x59040e);}(_0x5904,0x197));const _0x510e=function(_0x492b67,_0x59040e){_0x492b67=_0x492b67-0x0;let _0x510ef0=_0x5904[_0x492b67];return _0x510ef0;};import{Plugin as _0x390f90}from'ckeditor5/src/core';import{CKEditorError as _0x4a5be6}from'ckeditor5/src/utils';import _0x586f75 from'./trackchangesediting';import{sanitizeEditorConfig as _0x4faa95}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x510e('0x3')];export default class T extends _0x390f90{static get[_0x510e('0x16')](){return[_0x586f75];}static get[_0x510e('0x15')](){return _0x510e('0x9');}['init'](){const _0x128c22=this['editor'];if(_0x128c22[_0x510e('0x4')][_0x510e('0x2')](_0x510e('0x1f'),_0x3a7090=>{const _0xac652=_0x128c22[_0x510e('0x26')][_0x510e('0x8')]['getRootNames']()[_0x510e('0x1e')]((_0x152245,_0x278eb9)=>(_0x152245[_0x278eb9]='',_0x152245),{});return _0x128c22[_0x510e('0x14')][_0x510e('0x18')](_0xac652,_0x3a7090);}),'function'!=typeof _0x128c22[_0x510e('0x4')][_0x510e('0x1c')](_0x510e('0x17'))[_0x510e('0x25')])throw new _0x4a5be6(_0x510e('0xa'));}['getDataWithAcceptedSuggestions'](_0x3e616a){return v(this[_0x510e('0x0')],!0x0,_0x3e616a);}[_0x510e('0x19')](_0x5cb600){return v(this['editor'],!0x1,_0x5cb600);}}class P extends _0x390f90{static get[_0x510e('0x15')](){return _0x510e('0x7');}constructor(_0x5172d5){super(_0x5172d5),this['result']=_0x510e('0x1d');}[_0x510e('0x1a')](){this[_0x510e('0x0')][_0x510e('0x21')]['get']('CommentsRepository')[_0x510e('0x24')]={'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[_0x510e('0x0')][_0x510e('0x21')][_0x510e('0x1c')](_0x510e('0xf'))['_adapter']=null;}}function D(_0x58591b){return void 0x0!==_0x58591b['getRootsAttributes'];}async function v(_0x2e6774,_0x2e2936,_0x2ef461){const _0x160d5f=_0x4faa95(_0x2e6774,w);_0x160d5f[_0x510e('0x21')][_0x510e('0xd')](_0x586f75,P),_0x160d5f[_0x510e('0x13')]=D(_0x2e6774)?_0x2e6774[_0x510e('0x1')]():void 0x0;const _0x12b23c=document['createDocumentFragment'](),_0x410aae=_0x2e6774[_0x510e('0x4')]['get'](_0x510e('0x17'))[_0x510e('0x25')],_0x3806d2=await _0x410aae(_0x160d5f,()=>function(_0x561203){const _0x5df218=document[_0x510e('0xb')](_0x510e('0x12'));return _0x561203[_0x510e('0x10')](_0x5df218),_0x5df218;}(_0x12b23c));!function(_0x59c18c,_0x390a08){const _0x6a8c4c=_0x59c18c[_0x510e('0x26')][_0x510e('0x8')][_0x510e('0x20')]()['reduce']((_0x33fa60,_0x2eff00)=>(_0x33fa60[_0x2eff00]=_0x59c18c[_0x510e('0x11')][_0x510e('0x1c')]({'rootName':_0x2eff00}),_0x33fa60),{}),_0x31e5c4=_0x59c18c['plugins']['get']('Users')['users']['map'](_0x4d14ce=>({'id':_0x4d14ce['id'],'name':_0x4d14ce[_0x510e('0x23')]})),_0x6681c7=_0x59c18c[_0x510e('0x21')]['get'](_0x510e('0xf'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x29faa4=_0x390a08[_0x510e('0x21')][_0x510e('0x1c')]('Users'),_0x37696a=_0x390a08[_0x510e('0x21')][_0x510e('0x1c')]('TrackChangesEditing');for(const _0x233105 of _0x31e5c4)_0x29faa4['getUser'](_0x233105['id'])||_0x29faa4[_0x510e('0x22')](_0x233105);_0x29faa4['me']||_0x29faa4[_0x510e('0x6')]();for(const _0x1f0ffa of _0x6681c7)_0x37696a[_0x510e('0x5')](_0x1f0ffa);_0x390a08['data'][_0x510e('0xc')](_0x6a8c4c);}(_0x2e6774,_0x3806d2),_0x3806d2['execute'](_0x2e2936?'acceptAllSuggestions':_0x510e('0xe'));const _0x1249c6=D(_0x3806d2)?_0x3806d2[_0x510e('0x1b')](_0x2ef461):_0x3806d2['data'][_0x510e('0x1c')](_0x2ef461);return await _0x3806d2[_0x510e('0x27')](),_0x1249c6;}