@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230804.0 → 0.0.0-nightly-20230806.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 -7
  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 _0x3b83=['removeMarkers','onAttributesChange','attributes','isIntersecting','set','addRange','data','setAttribute','isIntersectingWithRange','head','_markerNames','addMarker','isInContent','author','suggestion:','next','end','size','filter','getMultiRangeId','creator','push','createdAt','substr','delete','_onAttributesChange','authoredAt','reduce','commentThread','clear','markers','add','change','onDiscard','toJSON','from','getMarkerNames','_saved','map','decorate','_onDiscard','hasComments','accept','nodeBefore','getRange','discard','getRanges','_model','subType','length','getMarkers','onAccept','nodeAfter','start','getFirstRange','previous','@external','type','getFirstMarker','removeMarker'];(function(_0x3fea05,_0x3b83b7){const _0x1e9679=function(_0x49f4d3){while(--_0x49f4d3){_0x3fea05['push'](_0x3fea05['shift']());}};_0x1e9679(++_0x3b83b7);}(_0x3b83,0x170));const _0x1e96=function(_0x3fea05,_0x3b83b7){_0x3fea05=_0x3fea05-0x0;let _0x1e9679=_0x3b83[_0x3fea05];return _0x1e9679;};import{Element as _0x58cd62}from'ckeditor5/src/engine';import{ObservableMixin as _0x55007d,uid as _0x3927c0}from'ckeditor5/src/utils';import{cloneDeep as _0x116857,isEqual as _0x22d7ce,set as _0x489cf9,unset as _0x122aad}from'lodash-es';export default class u extends _0x55007d(){constructor(_0x125ca0,_0x5b9475){super(),this['id']=_0x5b9475['id'],this[_0x1e96('0x31')]=_0x5b9475[_0x1e96('0x31')],this[_0x1e96('0x28')]=_0x5b9475[_0x1e96('0x28')]||null,this[_0x1e96('0x5')]=_0x5b9475[_0x1e96('0x5')],this['creator']=_0x5b9475[_0x1e96('0xc')]||_0x5b9475[_0x1e96('0x5')],this['isExternal']=Boolean(_0x5b9475['attributes']&&_0x5b9475['attributes'][_0x1e96('0x30')]),this[_0x1e96('0x3a')]=null,this['_model']=_0x125ca0,this['_onAccept']=_0x5b9475[_0x1e96('0x2b')],this['_onDiscard']=_0x5b9475[_0x1e96('0x19')],this[_0x1e96('0x11')]=_0x5b9475[_0x1e96('0x35')],this[_0x1e96('0x2')]=new Set(),this['createdAt']=null,this[_0x1e96('0x38')](_0x1e96('0x12'),null),this[_0x1e96('0x38')]('attributes',_0x5b9475[_0x1e96('0x36')]||{}),this['set'](_0x1e96('0x2f'),null),this[_0x1e96('0x38')](_0x1e96('0x7'),null),this[_0x1e96('0x38')](_0x1e96('0x14'),null),this[_0x1e96('0x38')](_0x1e96('0x1d'),!0x1),this[_0x1e96('0x1f')]('accept'),this[_0x1e96('0x1f')](_0x1e96('0x25'));}get[_0x1e96('0x1')](){let _0xac8146=this;for(;_0xac8146[_0x1e96('0x2f')];)_0xac8146=_0xac8146[_0x1e96('0x2f')];return _0xac8146;}get['hasComments'](){return!!this['commentThread']&&this[_0x1e96('0x14')][_0x1e96('0x29')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x1e96('0x2')][_0x1e96('0x9')])return!0x1;return 0x6==Array[_0x1e96('0x1b')](this[_0x1e96('0x2')])[0x0]['split'](':')[_0x1e96('0x29')];}get[_0x1e96('0x4')](){return null!==this[_0x1e96('0x32')]();}['addMarkerName'](_0x4ce1d4){this[_0x1e96('0x2')][_0x1e96('0x17')](_0x4ce1d4);}[_0x1e96('0x1c')](){return Array[_0x1e96('0x1b')](this[_0x1e96('0x2')]);}['getMarkers'](){return this[_0x1e96('0x1c')]()[_0x1e96('0x1e')](_0x51e737=>this[_0x1e96('0x27')][_0x1e96('0x16')]['get'](_0x51e737))[_0x1e96('0xa')](_0x11d040=>_0x11d040);}[_0x1e96('0x32')](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this[_0x1e96('0x27')][_0x1e96('0x18')](_0xde8ca7=>{for(const _0xef86a1 of this[_0x1e96('0x2a')]())_0xde8ca7[_0x1e96('0x33')](_0xef86a1);}),this[_0x1e96('0x2')][_0x1e96('0x15')]();}['removeMarker'](_0x10d428){this[_0x1e96('0x27')][_0x1e96('0x18')](_0x290a60=>{_0x290a60[_0x1e96('0x33')](_0x10d428);}),this[_0x1e96('0x2')][_0x1e96('0x10')](_0x10d428);}[_0x1e96('0x39')](_0x105005){const _0x3e9f51=_0x1e96('0x6')+this['type']+':'+this[_0x1e96('0x28')]+':'+this['id']+':'+this[_0x1e96('0xc')]['id']+':'+u[_0x1e96('0xb')]();this['addMarkerName'](_0x3e9f51),this[_0x1e96('0x27')][_0x1e96('0x18')](_0x3c362e=>{_0x3c362e[_0x1e96('0x3')](_0x3e9f51,{'range':_0x105005,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1e96('0x0')](_0x5642dd){for(const _0x308136 of this[_0x1e96('0x26')]())if(_0x308136[_0x1e96('0x37')](_0x5642dd))return!0x0;return!0x1;}[_0x1e96('0x26')](){return this[_0x1e96('0x2a')]()[_0x1e96('0x1e')](_0x2b8d9d=>_0x2b8d9d[_0x1e96('0x24')]());}['getItems'](){return this[_0x1e96('0x26')]()[_0x1e96('0x13')]((_0x26fb1b,_0x49bd64)=>[..._0x26fb1b,..._0x49bd64['getItems']()],[]);}[_0x1e96('0x2e')](){var _0x2df68d;return(null===(_0x2df68d=this[_0x1e96('0x32')]())||void 0x0===_0x2df68d?void 0x0:_0x2df68d['getRange']())||null;}['getContainedElement'](){const _0x245985=this['getRanges']();if(0x1!=_0x245985[_0x1e96('0x29')])return null;const _0x47c69d=_0x245985[0x0],_0x12cb4c=_0x47c69d[_0x1e96('0x2d')][_0x1e96('0x2c')],_0x2f428a=_0x47c69d[_0x1e96('0x8')][_0x1e96('0x23')];return _0x12cb4c instanceof _0x58cd62?_0x12cb4c!=_0x2f428a?null:_0x12cb4c:null;}[_0x1e96('0x22')](){this['_onAccept'](this[_0x1e96('0x26')](),this['data'],this[_0x1e96('0x36')]),this[_0x1e96('0x34')]();}[_0x1e96('0x25')](){this[_0x1e96('0x20')](this[_0x1e96('0x26')](),this['data'],this[_0x1e96('0x36')]),this[_0x1e96('0x34')]();}['getAllAdjacentSuggestions'](){const _0x220a1c=[];let _0xc82f86=this[_0x1e96('0x1')];for(;_0xc82f86;)_0x220a1c[_0x1e96('0xd')](_0xc82f86),_0xc82f86=_0xc82f86[_0x1e96('0x7')];return _0x220a1c;}[_0x1e96('0x3b')](_0x2ac629,_0x5ae43c){const _0x523d82=_0x116857(this['attributes']);_0x489cf9(_0x523d82,_0x2ac629,_0x5ae43c),_0x22d7ce(_0x523d82,this[_0x1e96('0x36')])||(this['attributes']=_0x523d82,this[_0x1e96('0x11')](_0x523d82));}['removeAttribute'](_0x1525cb){const _0x10c348=_0x116857(this[_0x1e96('0x36')]);_0x122aad(_0x10c348,_0x1525cb),_0x22d7ce(_0x10c348,this[_0x1e96('0x36')])||(this[_0x1e96('0x36')]=_0x10c348,this[_0x1e96('0x11')](this[_0x1e96('0x36')]));}[_0x1e96('0x1a')](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this[_0x1e96('0x28')]:this['type'],'authorId':this['creator']['id'],'createdAt':this[_0x1e96('0xe')],'hasComments':this[_0x1e96('0x21')],'data':this['data'],'attributes':this[_0x1e96('0x36')]};}static['getMultiRangeId'](){return _0x3927c0()[_0x1e96('0xf')](0x1,0x5);}}
23
+ const _0x2949=['get','createdAt','getContainedElement','map','removeMarkers','onDiscard','accept','_saved','getMarkerNames','reduce','next','addMarker','filter','set','_onDiscard','length','commentThread','head','split','type','getMultiRangeId','removeMarker','discard','getItems','end','data','isIntersecting','isInContent','attributes','delete','@external','add','getMarkers','setAttribute','author','change','decorate','getFirstRange','push','addRange','suggestion:','nodeAfter','creator','getFirstMarker','getRanges','onAccept','nodeBefore','_markerNames','hasComments','subType','_onAttributesChange','clear','previous','toJSON','getRange','_model'];(function(_0x1a92cf,_0x294953){const _0x13c579=function(_0x3963c4){while(--_0x3963c4){_0x1a92cf['push'](_0x1a92cf['shift']());}};_0x13c579(++_0x294953);}(_0x2949,0xd3));const _0x13c5=function(_0x1a92cf,_0x294953){_0x1a92cf=_0x1a92cf-0x0;let _0x13c579=_0x2949[_0x1a92cf];return _0x13c579;};import{Element as _0x858f6b}from'ckeditor5/src/engine';import{ObservableMixin as _0x21f2ed,uid as _0x28154a}from'ckeditor5/src/utils';import{cloneDeep as _0x4725e2,isEqual as _0x20baad,set as _0x20b901,unset as _0xeb26fc}from'lodash-es';export default class u extends _0x21f2ed(){constructor(_0x49c2bc,_0x31e755){super(),this['id']=_0x31e755['id'],this[_0x13c5('0x20')]=_0x31e755[_0x13c5('0x20')],this[_0x13c5('0x6')]=_0x31e755[_0x13c5('0x6')]||null,this[_0x13c5('0x2f')]=_0x31e755[_0x13c5('0x2f')],this['creator']=_0x31e755[_0x13c5('0x37')]||_0x31e755[_0x13c5('0x2f')],this['isExternal']=Boolean(_0x31e755[_0x13c5('0x29')]&&_0x31e755['attributes'][_0x13c5('0x2b')]),this[_0x13c5('0x26')]=null,this[_0x13c5('0xc')]=_0x49c2bc,this['_onAccept']=_0x31e755[_0x13c5('0x2')],this[_0x13c5('0x1b')]=_0x31e755[_0x13c5('0x12')],this[_0x13c5('0x7')]=_0x31e755['onAttributesChange'],this[_0x13c5('0x4')]=new Set(),this[_0x13c5('0xe')]=null,this[_0x13c5('0x1a')]('authoredAt',null),this[_0x13c5('0x1a')]('attributes',_0x31e755['attributes']||{}),this[_0x13c5('0x1a')]('previous',null),this[_0x13c5('0x1a')](_0x13c5('0x17'),null),this[_0x13c5('0x1a')](_0x13c5('0x1d'),null),this[_0x13c5('0x1a')](_0x13c5('0x14'),!0x1),this['decorate'](_0x13c5('0x13')),this[_0x13c5('0x31')](_0x13c5('0x23'));}get['head'](){let _0x1b73ab=this;for(;_0x1b73ab[_0x13c5('0x9')];)_0x1b73ab=_0x1b73ab[_0x13c5('0x9')];return _0x1b73ab;}get[_0x13c5('0x5')](){return!!this[_0x13c5('0x1d')]&&this[_0x13c5('0x1d')][_0x13c5('0x1c')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x13c5('0x4')]['size'])return!0x1;return 0x6==Array['from'](this[_0x13c5('0x4')])[0x0][_0x13c5('0x1f')](':')['length'];}get[_0x13c5('0x28')](){return null!==this[_0x13c5('0x0')]();}['addMarkerName'](_0xa5953b){this[_0x13c5('0x4')][_0x13c5('0x2c')](_0xa5953b);}[_0x13c5('0x15')](){return Array['from'](this[_0x13c5('0x4')]);}['getMarkers'](){return this[_0x13c5('0x15')]()[_0x13c5('0x10')](_0x372f8f=>this[_0x13c5('0xc')]['markers'][_0x13c5('0xd')](_0x372f8f))[_0x13c5('0x19')](_0x15130f=>_0x15130f);}[_0x13c5('0x0')](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this[_0x13c5('0xc')][_0x13c5('0x30')](_0x5d9035=>{for(const _0x38a9d4 of this['getMarkers']())_0x5d9035[_0x13c5('0x22')](_0x38a9d4);}),this['_markerNames'][_0x13c5('0x8')]();}['removeMarker'](_0x1c7a1a){this[_0x13c5('0xc')][_0x13c5('0x30')](_0x12a655=>{_0x12a655[_0x13c5('0x22')](_0x1c7a1a);}),this['_markerNames'][_0x13c5('0x2a')](_0x1c7a1a);}[_0x13c5('0x34')](_0x2589b1){const _0x15ad35=_0x13c5('0x35')+this['type']+':'+this[_0x13c5('0x6')]+':'+this['id']+':'+this[_0x13c5('0x37')]['id']+':'+u[_0x13c5('0x21')]();this['addMarkerName'](_0x15ad35),this[_0x13c5('0xc')][_0x13c5('0x30')](_0x4bc408=>{_0x4bc408[_0x13c5('0x18')](_0x15ad35,{'range':_0x2589b1,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0xbdc0b9){for(const _0x379944 of this[_0x13c5('0x1')]())if(_0x379944[_0x13c5('0x27')](_0xbdc0b9))return!0x0;return!0x1;}[_0x13c5('0x1')](){return this[_0x13c5('0x2d')]()[_0x13c5('0x10')](_0x54012b=>_0x54012b['getRange']());}[_0x13c5('0x24')](){return this[_0x13c5('0x1')]()[_0x13c5('0x16')]((_0xaa2ebe,_0x1e31b9)=>[..._0xaa2ebe,..._0x1e31b9[_0x13c5('0x24')]()],[]);}[_0x13c5('0x32')](){var _0x22b8ce;return(null===(_0x22b8ce=this[_0x13c5('0x0')]())||void 0x0===_0x22b8ce?void 0x0:_0x22b8ce[_0x13c5('0xb')]())||null;}[_0x13c5('0xf')](){const _0x59ec38=this[_0x13c5('0x1')]();if(0x1!=_0x59ec38[_0x13c5('0x1c')])return null;const _0x31a4c6=_0x59ec38[0x0],_0x497583=_0x31a4c6['start'][_0x13c5('0x36')],_0xd25d91=_0x31a4c6[_0x13c5('0x25')][_0x13c5('0x3')];return _0x497583 instanceof _0x858f6b?_0x497583!=_0xd25d91?null:_0x497583:null;}['accept'](){this['_onAccept'](this['getRanges'](),this[_0x13c5('0x26')],this[_0x13c5('0x29')]),this[_0x13c5('0x11')]();}['discard'](){this[_0x13c5('0x1b')](this[_0x13c5('0x1')](),this[_0x13c5('0x26')],this['attributes']),this[_0x13c5('0x11')]();}['getAllAdjacentSuggestions'](){const _0x56cc57=[];let _0x207777=this[_0x13c5('0x1e')];for(;_0x207777;)_0x56cc57[_0x13c5('0x33')](_0x207777),_0x207777=_0x207777[_0x13c5('0x17')];return _0x56cc57;}[_0x13c5('0x2e')](_0x31d2b0,_0x3faf78){const _0x2956a9=_0x4725e2(this[_0x13c5('0x29')]);_0x20b901(_0x2956a9,_0x31d2b0,_0x3faf78),_0x20baad(_0x2956a9,this[_0x13c5('0x29')])||(this[_0x13c5('0x29')]=_0x2956a9,this['_onAttributesChange'](_0x2956a9));}['removeAttribute'](_0x182f1c){const _0x55c968=_0x4725e2(this['attributes']);_0xeb26fc(_0x55c968,_0x182f1c),_0x20baad(_0x55c968,this['attributes'])||(this['attributes']=_0x55c968,this['_onAttributesChange'](this[_0x13c5('0x29')]));}[_0x13c5('0xa')](){return{'id':this['id'],'type':this['subType']?this[_0x13c5('0x20')]+':'+this[_0x13c5('0x6')]:this['type'],'authorId':this[_0x13c5('0x37')]['id'],'createdAt':this[_0x13c5('0xe')],'hasComments':this[_0x13c5('0x5')],'data':this['data'],'attributes':this['attributes']};}static[_0x13c5('0x21')](){return _0x28154a()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ce9=['text','$textProxy','ELEMENT_SPACE','isEmpty','element','start','getWalker','length','EmptyContainer','nextSibling','normal','$1\x20$2','pop','softBreak','elementEnd','removeEmptyContainer','end','_locale','data','getFirstRange','_schema','isInContent','registerDescriptionCallback','replace','item','skip','Container','*Insert:*\x20%0','addObject','isObject','add','quantity','push','_itemLabels','matchingCallback','_itemLabelsCallbacks','insertion','deletion','label','previousSibling','match','function','type','_resolveDescriptionItems','get','getDescriptions','*Split:*\x20%0','checkChild','name','getItemLabel','indexOf','remove','$text','_customCallbacks','*Remove:*\x20%0','_addDescriptionItems'];(function(_0x78234b,_0x4ce9ed){const _0x308595=function(_0x41da7a){while(--_0x41da7a){_0x78234b['push'](_0x78234b['shift']());}};_0x308595(++_0x4ce9ed);}(_0x4ce9,0x83));const _0x3085=function(_0x78234b,_0x4ce9ed){_0x78234b=_0x78234b-0x0;let _0x308595=_0x4ce9[_0x78234b];return _0x308595;};import{getTranslation as _0x28044d}from'./utils/common-translations';import{priorities as _0x5c1e47,insertToPriorityArray as _0x3d08ba}from'ckeditor5/src/utils';export default class m{constructor(_0x1309fc,_0x31c0af){this['_customCallbacks']=[],this[_0x3085('0xe')]=new Map(),this[_0x3085('0x10')]=[],this[_0x3085('0x1')]=_0x1309fc,this[_0x3085('0x36')]=_0x31c0af;}[_0x3085('0x1a')](_0x3620fa){const _0xb2a69f=[];for(let _0x3a7bcd=0x0;_0x3a7bcd<_0x3620fa[_0x3085('0x2c')];_0x3a7bcd++){const _0x1aedb6=_0x3620fa[_0x3a7bcd];if(!_0x1aedb6[_0x3085('0x2')])continue;let _0x1bdf89=!0x1;for(const _0x12a7d9 of this['_customCallbacks']){const _0x1dcad1=_0x12a7d9(_0x1aedb6);if(_0x1dcad1){_0x3085('0x17')in _0x1dcad1&&_0xb2a69f['push'](_0x1dcad1),_0x1bdf89=!0x0;break;}}if(!_0x1bdf89){this[_0x3085('0x24')](_0xb2a69f,_0x1aedb6);const _0x538dd4=_0x3620fa[_0x3a7bcd+0x1];if(_0x538dd4&&!_0x1aedb6[_0x3085('0x0')]()[_0x3085('0x35')]['isEqual'](_0x538dd4[_0x3085('0x0')]()[_0x3085('0x2a')])){const _0x275a9b=_0xb2a69f[_0xb2a69f[_0x3085('0x2c')]-0x1],_0x2f6d8d=_0x3085('0x11')==_0x1aedb6[_0x3085('0x17')]?'add':_0x3085('0x20');_0x275a9b&&_0x3085('0x25')==_0x275a9b[_0x3085('0x17')]&&(_0x275a9b[_0x2f6d8d]+='\x0a');}}}return this[_0x3085('0x18')](_0xb2a69f);}[_0x3085('0x3')](_0x2e29f1){this[_0x3085('0x22')][_0x3085('0xd')](_0x2e29f1);}['registerElementLabel'](_0x498f7d,_0x4b77fd,_0x246ab6=_0x5c1e47[_0x3085('0x2f')]){_0x3085('0x16')==typeof _0x498f7d?_0x3d08ba(this['_itemLabelsCallbacks'],{'matchingCallback':_0x498f7d,'label':_0x4b77fd,'priority':_0x246ab6}):this[_0x3085('0xe')]['set'](_0x498f7d,_0x4b77fd);}[_0x3085('0x1e')](_0x9955b5,_0x5c8b14=0x1){let _0x2b10a9;for(const _0x35f55a of this[_0x3085('0x10')])if(_0x35f55a[_0x3085('0xf')](_0x9955b5)){_0x2b10a9=_0x35f55a[_0x3085('0x13')];break;}return _0x2b10a9||(_0x2b10a9=this['_itemLabels'][_0x3085('0x19')](_0x9955b5[_0x3085('0x1d')])),_0x2b10a9?_0x2b10a9(_0x5c8b14):0x1!==_0x5c8b14?_0x5c8b14+'\x20'+_0x9955b5[_0x3085('0x1d')]+'s':''+_0x9955b5[_0x3085('0x1d')];}[_0x3085('0x24')](_0x28858c,_0x482445){const _0x2c0fd9=_0x482445[_0x3085('0x0')]()[_0x3085('0x2b')](),_0x1571f8='insertion'==_0x482445['type']?_0x3085('0xb'):_0x3085('0x20');for(const _0x21b472 of _0x2c0fd9){const _0x53e88c=_0x21b472[_0x3085('0x5')],_0xe8c6b8=_0x28858c[_0x28858c[_0x3085('0x2c')]-0x1];if(_0x53e88c['is'](_0x3085('0x26')))_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')][_0x3085('0x1f')](_0x3085('0x7'))>-0x1&&_0x28858c[_0x3085('0x31')](),_0xe8c6b8&&_0x3085('0x25')==_0xe8c6b8[_0x3085('0x17')]?_0xe8c6b8[_0x1571f8]+=_0x53e88c[_0x3085('0x37')]:_0x28858c[_0x3085('0xd')]({'type':_0x3085('0x25'),'add':_0x3085('0xb')==_0x1571f8?_0x53e88c[_0x3085('0x37')]:'','remove':'remove'==_0x1571f8?_0x53e88c[_0x3085('0x37')]:''});else{if(this[_0x3085('0x1')][_0x3085('0xa')](_0x53e88c)){const _0x51b828=_0x53e88c;if(_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')][_0x3085('0x1f')](_0x3085('0x7'))>-0x1&&_0x28858c['pop'](),_0x3085('0x33')==_0x21b472[_0x3085('0x17')])continue;_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')]==_0x1571f8+'Object'&&_0xe8c6b8[_0x3085('0x29')][_0x3085('0x1d')]==_0x51b828['name']?_0xe8c6b8['quantity']++:_0x28858c[_0x3085('0xd')]({'type':_0x1571f8+'Object','element':_0x51b828,'quantity':0x1}),_0x2c0fd9[_0x3085('0x6')](_0x1b39b7=>!(_0x3085('0x33')==_0x1b39b7[_0x3085('0x17')]&&_0x1b39b7[_0x3085('0x5')]==_0x53e88c));}else{if(this[_0x3085('0x1')][_0x3085('0x1c')](_0x53e88c,_0x3085('0x21'))||_0x53e88c['is'](_0x3085('0x29'),_0x3085('0x32'))){const _0x1688d9=_0x53e88c;if(_0x3085('0xb')==_0x1571f8&&'elementStart'==_0x21b472[_0x3085('0x17')]||_0x3085('0x20')==_0x1571f8&&_0x3085('0x33')==_0x21b472[_0x3085('0x17')])continue;if(_0xe8c6b8&&-0x1==_0xe8c6b8['type'][_0x3085('0x1f')]('Container')){_0x3085('0x25')==_0xe8c6b8[_0x3085('0x17')]&&(_0xe8c6b8[_0x1571f8]+='\x0a');continue;}let _0x416ba3;if(_0x416ba3=_0x3085('0xb')==_0x1571f8?_0x1688d9[_0x3085('0x2e')]&&!this[_0x3085('0x1')][_0x3085('0xa')](_0x1688d9[_0x3085('0x2e')])?_0x1688d9[_0x3085('0x2e')]:null:_0x1688d9[_0x3085('0x14')]&&!this[_0x3085('0x1')][_0x3085('0xa')](_0x1688d9[_0x3085('0x14')])?_0x1688d9[_0x3085('0x14')]:null,_0x1688d9[_0x3085('0x28')]||_0x416ba3&&_0x416ba3[_0x3085('0x28')]){const _0x12e737=_0x416ba3&&_0x416ba3[_0x3085('0x28')]?_0x416ba3:_0x1688d9;_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')]==_0x1571f8+_0x3085('0x2d')&&_0xe8c6b8[_0x3085('0x29')][_0x3085('0x1d')]==_0x12e737['name']?_0xe8c6b8[_0x3085('0xc')]++:_0x28858c[_0x3085('0xd')]({'type':_0x1571f8+_0x3085('0x2d'),'element':_0x12e737,'quantity':0x1});}else _0x28858c[_0x3085('0xd')]({'type':_0x1571f8+'Container','element':_0x1688d9});}}}}}[_0x3085('0x18')](_0x775f9c){const _0x2aec73=this[_0x3085('0x36')],_0x20942f=[];for(const _0x14aaa9 of _0x775f9c){switch(_0x14aaa9[_0x3085('0x17')]){case _0x3085('0x25'):if(_0x14aaa9[_0x3085('0xb')]=_0x14aaa9[_0x3085('0xb')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x3085('0x4')](/\u000A/g,''),_0x14aaa9[_0x3085('0x20')]=_0x14aaa9['remove'][_0x3085('0x4')](/(\S)\u000A+(\S)/g,_0x3085('0x30'))['replace'](/\u000A/g,''),''!=_0x14aaa9[_0x3085('0xb')]&&''!=_0x14aaa9[_0x3085('0x20')]){_0x20942f[_0x3085('0xd')]({'type':'replace','content':_0x28044d(_0x2aec73,'REPLACE_TEXT',['\x22'+_0x14aaa9[_0x3085('0x20')]+'\x22','\x22'+_0x14aaa9[_0x3085('0xb')]+'\x22'])});continue;}if(null!=_0x14aaa9[_0x3085('0xb')][_0x3085('0x15')](/^ +$/)){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,_0x3085('0x8'),_0x28044d(_0x2aec73,_0x3085('0x27'),_0x14aaa9[_0x3085('0xb')][_0x3085('0x2c')]))});continue;}if(null!=_0x14aaa9[_0x3085('0x20')]['match'](/^ +$/)){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,_0x3085('0x23'),_0x28044d(_0x2aec73,'ELEMENT_SPACE',_0x14aaa9[_0x3085('0x20')]['length']))});continue;}if(''!=_0x14aaa9[_0x3085('0xb')]){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,_0x3085('0x8'),'\x22'+_0x14aaa9[_0x3085('0xb')]+'\x22')});continue;}_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,_0x3085('0x23'),'\x22'+_0x14aaa9[_0x3085('0x20')]+'\x22')});continue;case'addEmptyContainer':case _0x3085('0x9'):_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,'*Insert:*\x20%0',this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9['quantity']))});continue;case _0x3085('0x34'):case'removeObject':_0x20942f[_0x3085('0xd')]({'type':'deletion','content':_0x28044d(_0x2aec73,_0x3085('0x23'),this[_0x3085('0x1e')](_0x14aaa9['element'],_0x14aaa9[_0x3085('0xc')]))});continue;case'addContainer':_0x20942f['push']({'type':'insertion','content':_0x28044d(_0x2aec73,_0x3085('0x1b'),this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9['quantity']))});continue;case'removeContainer':_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,'*Merge:*\x20%0',this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9[_0x3085('0xc')]))});continue;}_0x20942f[_0x3085('0xd')](_0x14aaa9);}return _0x20942f;}}
23
+ const _0x2116=['element','softBreak','skip','elementEnd','addObject','*Remove:*\x20%0','removeEmptyContainer','isEmpty','$1\x20$2','_locale','registerElementLabel','item','getWalker','type','set','indexOf','$textProxy','text','_customCallbacks','_itemLabels','nextSibling','removeContainer','normal','Object','push','_itemLabelsCallbacks','elementStart','_schema','start','data','insertion','pop','quantity','getFirstRange','getItemLabel','deletion','matchingCallback','REPLACE_TEXT','add','replace','registerDescriptionCallback','isObject','removeObject','isInContent','remove','$text','match','checkChild','name','_addDescriptionItems','getDescriptions','label','Container','EmptyContainer','*Merge:*\x20%0','addContainer','length','get','previousSibling','*Insert:*\x20%0'];(function(_0x24d97a,_0x211601){const _0x3d1eb8=function(_0x4e3112){while(--_0x4e3112){_0x24d97a['push'](_0x24d97a['shift']());}};_0x3d1eb8(++_0x211601);}(_0x2116,0xfe));const _0x3d1e=function(_0x24d97a,_0x211601){_0x24d97a=_0x24d97a-0x0;let _0x3d1eb8=_0x2116[_0x24d97a];return _0x3d1eb8;};import{getTranslation as _0x4885e8}from'./utils/common-translations';import{priorities as _0x370bc0,insertToPriorityArray as _0x29f358}from'ckeditor5/src/utils';export default class m{constructor(_0x597345,_0x2d1d6f){this['_customCallbacks']=[],this[_0x3d1e('0x5')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x3d1e('0xd')]=_0x597345,this[_0x3d1e('0x37')]=_0x2d1d6f;}[_0x3d1e('0x24')](_0x7d58f2){const _0x3fc7df=[];for(let _0x522bf2=0x0;_0x522bf2<_0x7d58f2[_0x3d1e('0x2a')];_0x522bf2++){const _0x80e23d=_0x7d58f2[_0x522bf2];if(!_0x80e23d[_0x3d1e('0x1d')])continue;let _0xabe545=!0x1;for(const _0x34b40a of this[_0x3d1e('0x4')]){const _0x5235bf=_0x34b40a(_0x80e23d);if(_0x5235bf){_0x3d1e('0x3b')in _0x5235bf&&_0x3fc7df[_0x3d1e('0xa')](_0x5235bf),_0xabe545=!0x0;break;}}if(!_0xabe545){this[_0x3d1e('0x23')](_0x3fc7df,_0x80e23d);const _0x18024c=_0x7d58f2[_0x522bf2+0x1];if(_0x18024c&&!_0x80e23d['getFirstRange']()['end']['isEqual'](_0x18024c[_0x3d1e('0x13')]()[_0x3d1e('0xe')])){const _0x1ebe76=_0x3fc7df[_0x3fc7df['length']-0x1],_0x324cba=_0x3d1e('0x10')==_0x80e23d[_0x3d1e('0x3b')]?_0x3d1e('0x18'):_0x3d1e('0x1e');_0x1ebe76&&_0x3d1e('0x3')==_0x1ebe76[_0x3d1e('0x3b')]&&(_0x1ebe76[_0x324cba]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x3fc7df);}[_0x3d1e('0x1a')](_0x5a2f7d){this[_0x3d1e('0x4')][_0x3d1e('0xa')](_0x5a2f7d);}[_0x3d1e('0x38')](_0x473050,_0x4eade8,_0x56c4a7=_0x370bc0[_0x3d1e('0x8')]){'function'==typeof _0x473050?_0x29f358(this['_itemLabelsCallbacks'],{'matchingCallback':_0x473050,'label':_0x4eade8,'priority':_0x56c4a7}):this['_itemLabels'][_0x3d1e('0x0')](_0x473050,_0x4eade8);}['getItemLabel'](_0x2a150e,_0x43cce5=0x1){let _0x47db1b;for(const _0x40a5f1 of this[_0x3d1e('0xb')])if(_0x40a5f1[_0x3d1e('0x16')](_0x2a150e)){_0x47db1b=_0x40a5f1[_0x3d1e('0x25')];break;}return _0x47db1b||(_0x47db1b=this['_itemLabels'][_0x3d1e('0x2b')](_0x2a150e['name'])),_0x47db1b?_0x47db1b(_0x43cce5):0x1!==_0x43cce5?_0x43cce5+'\x20'+_0x2a150e[_0x3d1e('0x22')]+'s':''+_0x2a150e[_0x3d1e('0x22')];}['_addDescriptionItems'](_0x706fde,_0x11128f){const _0x3873e1=_0x11128f[_0x3d1e('0x13')]()[_0x3d1e('0x3a')](),_0x1b08a6=_0x3d1e('0x10')==_0x11128f[_0x3d1e('0x3b')]?_0x3d1e('0x18'):'remove';for(const _0x45fd7e of _0x3873e1){const _0x56ad14=_0x45fd7e[_0x3d1e('0x39')],_0x559fa6=_0x706fde[_0x706fde[_0x3d1e('0x2a')]-0x1];if(_0x56ad14['is'](_0x3d1e('0x2')))_0x559fa6&&_0x559fa6['type'][_0x3d1e('0x1')](_0x3d1e('0x26'))>-0x1&&_0x706fde[_0x3d1e('0x11')](),_0x559fa6&&_0x3d1e('0x3')==_0x559fa6[_0x3d1e('0x3b')]?_0x559fa6[_0x1b08a6]+=_0x56ad14[_0x3d1e('0xf')]:_0x706fde[_0x3d1e('0xa')]({'type':_0x3d1e('0x3'),'add':_0x3d1e('0x18')==_0x1b08a6?_0x56ad14[_0x3d1e('0xf')]:'','remove':_0x3d1e('0x1e')==_0x1b08a6?_0x56ad14[_0x3d1e('0xf')]:''});else{if(this[_0x3d1e('0xd')][_0x3d1e('0x1b')](_0x56ad14)){const _0x30cb5b=_0x56ad14;if(_0x559fa6&&_0x559fa6[_0x3d1e('0x3b')][_0x3d1e('0x1')]('Container')>-0x1&&_0x706fde[_0x3d1e('0x11')](),_0x3d1e('0x31')==_0x45fd7e['type'])continue;_0x559fa6&&_0x559fa6[_0x3d1e('0x3b')]==_0x1b08a6+'Object'&&_0x559fa6[_0x3d1e('0x2e')]['name']==_0x30cb5b['name']?_0x559fa6[_0x3d1e('0x12')]++:_0x706fde[_0x3d1e('0xa')]({'type':_0x1b08a6+_0x3d1e('0x9'),'element':_0x30cb5b,'quantity':0x1}),_0x3873e1[_0x3d1e('0x30')](_0x5664fc=>!('elementEnd'==_0x5664fc[_0x3d1e('0x3b')]&&_0x5664fc[_0x3d1e('0x39')]==_0x56ad14));}else{if(this[_0x3d1e('0xd')][_0x3d1e('0x21')](_0x56ad14,_0x3d1e('0x1f'))||_0x56ad14['is'](_0x3d1e('0x2e'),_0x3d1e('0x2f'))){const _0x42627e=_0x56ad14;if(_0x3d1e('0x18')==_0x1b08a6&&_0x3d1e('0xc')==_0x45fd7e[_0x3d1e('0x3b')]||_0x3d1e('0x1e')==_0x1b08a6&&_0x3d1e('0x31')==_0x45fd7e[_0x3d1e('0x3b')])continue;if(_0x559fa6&&-0x1==_0x559fa6[_0x3d1e('0x3b')][_0x3d1e('0x1')]('Container')){_0x3d1e('0x3')==_0x559fa6[_0x3d1e('0x3b')]&&(_0x559fa6[_0x1b08a6]+='\x0a');continue;}let _0x3dd274;if(_0x3dd274=_0x3d1e('0x18')==_0x1b08a6?_0x42627e[_0x3d1e('0x6')]&&!this['_schema'][_0x3d1e('0x1b')](_0x42627e[_0x3d1e('0x6')])?_0x42627e[_0x3d1e('0x6')]:null:_0x42627e[_0x3d1e('0x2c')]&&!this[_0x3d1e('0xd')][_0x3d1e('0x1b')](_0x42627e['previousSibling'])?_0x42627e[_0x3d1e('0x2c')]:null,_0x42627e[_0x3d1e('0x35')]||_0x3dd274&&_0x3dd274['isEmpty']){const _0x733e2b=_0x3dd274&&_0x3dd274['isEmpty']?_0x3dd274:_0x42627e;_0x559fa6&&_0x559fa6[_0x3d1e('0x3b')]==_0x1b08a6+_0x3d1e('0x27')&&_0x559fa6[_0x3d1e('0x2e')]['name']==_0x733e2b[_0x3d1e('0x22')]?_0x559fa6['quantity']++:_0x706fde[_0x3d1e('0xa')]({'type':_0x1b08a6+_0x3d1e('0x27'),'element':_0x733e2b,'quantity':0x1});}else _0x706fde[_0x3d1e('0xa')]({'type':_0x1b08a6+_0x3d1e('0x26'),'element':_0x42627e});}}}}}['_resolveDescriptionItems'](_0x514428){const _0x5b2794=this[_0x3d1e('0x37')],_0x2697b3=[];for(const _0x1565d2 of _0x514428){switch(_0x1565d2[_0x3d1e('0x3b')]){case _0x3d1e('0x3'):if(_0x1565d2['add']=_0x1565d2[_0x3d1e('0x18')]['replace'](/(\S)\u000A+(\S)/g,_0x3d1e('0x36'))[_0x3d1e('0x19')](/\u000A/g,''),_0x1565d2[_0x3d1e('0x1e')]=_0x1565d2[_0x3d1e('0x1e')][_0x3d1e('0x19')](/(\S)\u000A+(\S)/g,_0x3d1e('0x36'))[_0x3d1e('0x19')](/\u000A/g,''),''!=_0x1565d2['add']&&''!=_0x1565d2[_0x3d1e('0x1e')]){_0x2697b3[_0x3d1e('0xa')]({'type':'replace','content':_0x4885e8(_0x5b2794,_0x3d1e('0x17'),['\x22'+_0x1565d2[_0x3d1e('0x1e')]+'\x22','\x22'+_0x1565d2['add']+'\x22'])});continue;}if(null!=_0x1565d2[_0x3d1e('0x18')][_0x3d1e('0x20')](/^ +$/)){_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x10'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x2d'),_0x4885e8(_0x5b2794,'ELEMENT_SPACE',_0x1565d2[_0x3d1e('0x18')][_0x3d1e('0x2a')]))});continue;}if(null!=_0x1565d2['remove'][_0x3d1e('0x20')](/^ +$/)){_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x15'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x33'),_0x4885e8(_0x5b2794,'ELEMENT_SPACE',_0x1565d2[_0x3d1e('0x1e')]['length']))});continue;}if(''!=_0x1565d2[_0x3d1e('0x18')]){_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x10'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x2d'),'\x22'+_0x1565d2[_0x3d1e('0x18')]+'\x22')});continue;}_0x2697b3[_0x3d1e('0xa')]({'type':'deletion','content':_0x4885e8(_0x5b2794,_0x3d1e('0x33'),'\x22'+_0x1565d2[_0x3d1e('0x1e')]+'\x22')});continue;case'addEmptyContainer':case _0x3d1e('0x32'):_0x2697b3['push']({'type':_0x3d1e('0x10'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x2d'),this[_0x3d1e('0x14')](_0x1565d2['element'],_0x1565d2[_0x3d1e('0x12')]))});continue;case _0x3d1e('0x34'):case _0x3d1e('0x1c'):_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x15'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x33'),this['getItemLabel'](_0x1565d2[_0x3d1e('0x2e')],_0x1565d2['quantity']))});continue;case _0x3d1e('0x29'):_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x10'),'content':_0x4885e8(_0x5b2794,'*Split:*\x20%0',this[_0x3d1e('0x14')](_0x1565d2[_0x3d1e('0x2e')],_0x1565d2[_0x3d1e('0x12')]))});continue;case _0x3d1e('0x7'):_0x2697b3[_0x3d1e('0xa')]({'type':_0x3d1e('0x15'),'content':_0x4885e8(_0x5b2794,_0x3d1e('0x28'),this[_0x3d1e('0x14')](_0x1565d2[_0x3d1e('0x2e')],_0x1565d2[_0x3d1e('0x12')]))});continue;}_0x2697b3[_0x3d1e('0xa')](_0x1565d2);}return _0x2697b3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x102c=['adapter','TrackChanges','pluginName','editor','get','getSuggestion','getSuggestions','addSuggestion','plugins','Comments'];(function(_0x593750,_0x102cbb){var _0x5305e4=function(_0x3c2ffa){while(--_0x3c2ffa){_0x593750['push'](_0x593750['shift']());}};_0x5305e4(++_0x102cbb);}(_0x102c,0x1db));var _0x5305=function(_0x593750,_0x102cbb){_0x593750=_0x593750-0x0;var _0x5305e4=_0x102c[_0x593750];return _0x5305e4;};import{Plugin as _0x2d6689}from'ckeditor5/src/core';import _0x30c625 from'./trackchangesui';import _0x4619d1 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2d6689{static get['requires'](){return[_0x4619d1,_0x30c625,_0x5305('0x4')];}static get[_0x5305('0x7')](){return _0x5305('0x6');}set[_0x5305('0x5')](_0x5cadcf){this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)[_0x5305('0x5')]=_0x5cadcf;}get[_0x5305('0x5')](){return this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)[_0x5305('0x5')];}[_0x5305('0x2')](_0x4dac1b){return this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)['addSuggestionData'](_0x4dac1b);}[_0x5305('0x1')]({skipNotAttached:_0x5ee326=!0x1,toJSON:_0x408380=!0x1}={}){return this[_0x5305('0x8')]['plugins']['get'](_0x4619d1)[_0x5305('0x1')]({'skipNotAttached':_0x5ee326,'toJSON':_0x408380});}[_0x5305('0x0')](_0xecd285){return this[_0x5305('0x8')]['plugins'][_0x5305('0x9')](_0x4619d1)[_0x5305('0x0')](_0xecd285);}}
23
+ var _0x3eae=['plugins','requires','getSuggestion','getSuggestions','adapter','addSuggestion','get','TrackChanges','editor','pluginName'];(function(_0x441098,_0x3eae75){var _0x2300f8=function(_0x4fe237){while(--_0x4fe237){_0x441098['push'](_0x441098['shift']());}};_0x2300f8(++_0x3eae75);}(_0x3eae,0x182));var _0x2300=function(_0x441098,_0x3eae75){_0x441098=_0x441098-0x0;var _0x2300f8=_0x3eae[_0x441098];return _0x2300f8;};import{Plugin as _0x28727a}from'ckeditor5/src/core';import _0x3b6b5d from'./trackchangesui';import _0x25c7d3 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x28727a{static get[_0x2300('0x5')](){return[_0x25c7d3,_0x3b6b5d,'Comments'];}static get[_0x2300('0x3')](){return _0x2300('0x1');}set[_0x2300('0x8')](_0x38bbbc){this[_0x2300('0x2')][_0x2300('0x4')]['get'](_0x25c7d3)[_0x2300('0x8')]=_0x38bbbc;}get['adapter'](){return this['editor'][_0x2300('0x4')][_0x2300('0x0')](_0x25c7d3)[_0x2300('0x8')];}[_0x2300('0x9')](_0x9ac31e){return this['editor'][_0x2300('0x4')][_0x2300('0x0')](_0x25c7d3)['addSuggestionData'](_0x9ac31e);}[_0x2300('0x7')]({skipNotAttached:_0x254654=!0x1,toJSON:_0x10d0a9=!0x1}={}){return this[_0x2300('0x2')][_0x2300('0x4')]['get'](_0x25c7d3)[_0x2300('0x7')]({'skipNotAttached':_0x254654,'toJSON':_0x10d0a9});}[_0x2300('0x6')](_0x16f86c){return this[_0x2300('0x2')][_0x2300('0x4')][_0x2300('0x0')](_0x25c7d3)[_0x2300('0x6')](_0x16f86c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1193=['plugins','result','set','Pagination','Users','requires','init','track-changes-data-invalid-editor-creator','map','document','rootsAttributes','trackChangesData.editorCreator','CommentsRepository','editor','config','getUser','TrackChangesEditing','function','trackChangesData','appendChild','useAnonymousUser','get','getRootsAttributes','editorCreator','destroy','getFullData','getDataWithDiscardedSuggestions','create','_adapter','acceptAllSuggestions','name','push','createElement','users','pluginName','reduce','data','TrackChangesData','getSuggestions','createDocumentFragment','TrackChangesDataGetter','model','define','div','end'];(function(_0x4d1461,_0x119307){const _0x2cdcd1=function(_0x5643af){while(--_0x5643af){_0x4d1461['push'](_0x4d1461['shift']());}};_0x2cdcd1(++_0x119307);}(_0x1193,0x1a8));const _0x2cdc=function(_0x4d1461,_0x119307){_0x4d1461=_0x4d1461-0x0;let _0x2cdcd1=_0x1193[_0x4d1461];return _0x2cdcd1;};import{Plugin as _0x4d4f00}from'ckeditor5/src/core';import{CKEditorError as _0x56d40c}from'ckeditor5/src/utils';import _0x3a7d4d from'./trackchangesediting';import{sanitizeEditorConfig as _0x45cb51}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2cdc('0x1d')];export default class T extends _0x4d4f00{static get[_0x2cdc('0x1f')](){return[_0x3a7d4d];}static get[_0x2cdc('0xf')](){return _0x2cdc('0x12');}['init'](){const _0xf743bd=this[_0x2cdc('0x27')];if(_0xf743bd[_0x2cdc('0x28')][_0x2cdc('0x17')](_0x2cdc('0x25'),_0x9a756c=>{const _0x26b0ae=_0xf743bd[_0x2cdc('0x16')][_0x2cdc('0x23')]['getRootNames']()['reduce']((_0x49901c,_0x531950)=>(_0x49901c[_0x531950]='',_0x49901c),{});return _0xf743bd['constructor'][_0x2cdc('0x8')](_0x26b0ae,_0x9a756c);}),_0x2cdc('0x2b')!=typeof _0xf743bd[_0x2cdc('0x28')][_0x2cdc('0x2')]('trackChangesData')[_0x2cdc('0x4')])throw new _0x56d40c(_0x2cdc('0x21'));}['getDataWithAcceptedSuggestions'](_0x4fe006){return v(this['editor'],!0x0,_0x4fe006);}[_0x2cdc('0x7')](_0x3c8f11){return v(this['editor'],!0x1,_0x3c8f11);}}class P extends _0x4d4f00{static get['pluginName'](){return _0x2cdc('0x15');}constructor(_0x5d5f11){super(_0x5d5f11),this[_0x2cdc('0x1b')]=_0x2cdc('0x19');}[_0x2cdc('0x20')](){this[_0x2cdc('0x27')][_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x26'))[_0x2cdc('0x9')]={'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[_0x2cdc('0x27')][_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x2a'))[_0x2cdc('0x9')]=null;}}function D(_0x1332f7){return void 0x0!==_0x1332f7['getRootsAttributes'];}async function v(_0x43662e,_0xa461ee,_0x205efb){const _0x18da45=_0x45cb51(_0x43662e,w);_0x18da45[_0x2cdc('0x1a')][_0x2cdc('0xc')](_0x3a7d4d,P),_0x18da45[_0x2cdc('0x24')]=D(_0x43662e)?_0x43662e[_0x2cdc('0x3')]():void 0x0;const _0x3f4f73=document[_0x2cdc('0x14')](),_0x5217ca=_0x43662e[_0x2cdc('0x28')][_0x2cdc('0x2')](_0x2cdc('0x2c'))[_0x2cdc('0x4')],_0x177577=await _0x5217ca(_0x18da45,()=>function(_0x4206ff){const _0x1072ce=document[_0x2cdc('0xd')](_0x2cdc('0x18'));return _0x4206ff[_0x2cdc('0x0')](_0x1072ce),_0x1072ce;}(_0x3f4f73));!function(_0xc5a664,_0x43e6f4){const _0x5a5f03=_0xc5a664[_0x2cdc('0x16')][_0x2cdc('0x23')]['getRootNames']()[_0x2cdc('0x10')]((_0x20016c,_0x1083e5)=>(_0x20016c[_0x1083e5]=_0xc5a664[_0x2cdc('0x11')]['get']({'rootName':_0x1083e5}),_0x20016c),{}),_0x1bae2a=_0xc5a664[_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x1e'))[_0x2cdc('0xe')][_0x2cdc('0x22')](_0x4fb96c=>({'id':_0x4fb96c['id'],'name':_0x4fb96c[_0x2cdc('0xb')]})),_0x53261e=_0xc5a664[_0x2cdc('0x1a')][_0x2cdc('0x2')]('TrackChangesEditing')[_0x2cdc('0x13')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3b23df=_0x43e6f4[_0x2cdc('0x1a')][_0x2cdc('0x2')]('Users'),_0x171b7f=_0x43e6f4[_0x2cdc('0x1a')]['get']('TrackChangesEditing');for(const _0x42ce44 of _0x1bae2a)_0x3b23df[_0x2cdc('0x29')](_0x42ce44['id'])||_0x3b23df['addUser'](_0x42ce44);_0x3b23df['me']||_0x3b23df[_0x2cdc('0x1')]();for(const _0x28e830 of _0x53261e)_0x171b7f['addSuggestionData'](_0x28e830);_0x43e6f4[_0x2cdc('0x11')][_0x2cdc('0x1c')](_0x5a5f03);}(_0x43662e,_0x177577),_0x177577['execute'](_0xa461ee?_0x2cdc('0xa'):'discardAllSuggestions');const _0x5af8c2=D(_0x177577)?_0x177577[_0x2cdc('0x6')](_0x205efb):_0x177577['data'][_0x2cdc('0x2')](_0x205efb);return await _0x177577[_0x2cdc('0x5')](),_0x5af8c2;}
23
+ const _0xa0a8=['document','editor','getFullData','reduce','destroy','addSuggestionData','getUser','Pagination','useAnonymousUser','map','get','trackChangesData','trackChangesData.editorCreator','div','discardAllSuggestions','appendChild','define','rootsAttributes','getRootNames','config','getDataWithDiscardedSuggestions','track-changes-data-invalid-editor-creator','users','createDocumentFragment','requires','editorCreator','pluginName','getSuggestions','CommentsRepository','getDataWithAcceptedSuggestions','name','acceptAllSuggestions','data','push','function','model','plugins','getRootsAttributes'];(function(_0x12e421,_0xa0a87c){const _0xac80b9=function(_0x5a5a61){while(--_0x5a5a61){_0x12e421['push'](_0x12e421['shift']());}};_0xac80b9(++_0xa0a87c);}(_0xa0a8,0xb3));const _0xac80=function(_0x12e421,_0xa0a87c){_0x12e421=_0x12e421-0x0;let _0xac80b9=_0xa0a8[_0x12e421];return _0xac80b9;};import{Plugin as _0x10cefd}from'ckeditor5/src/core';import{CKEditorError as _0x2edc82}from'ckeditor5/src/utils';import _0x4caeb8 from'./trackchangesediting';import{sanitizeEditorConfig as _0x17acf2}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0xac80('0x12')];export default class T extends _0x10cefd{static get[_0xac80('0x23')](){return[_0x4caeb8];}static get['pluginName'](){return'TrackChangesData';}['init'](){const _0x29fcee=this[_0xac80('0xc')];if(_0x29fcee['config'][_0xac80('0x1b')](_0xac80('0x17'),_0x904ab3=>{const _0x56aef8=_0x29fcee[_0xac80('0x8')][_0xac80('0xb')][_0xac80('0x1d')]()['reduce']((_0x48e33e,_0x3d2d2d)=>(_0x48e33e[_0x3d2d2d]='',_0x48e33e),{});return _0x29fcee['constructor']['create'](_0x56aef8,_0x904ab3);}),_0xac80('0x7')!=typeof _0x29fcee[_0xac80('0x1e')][_0xac80('0x15')](_0xac80('0x16'))['editorCreator'])throw new _0x2edc82(_0xac80('0x20'));}[_0xac80('0x2')](_0x4d0ae7){return v(this[_0xac80('0xc')],!0x0,_0x4d0ae7);}[_0xac80('0x1f')](_0x25b70d){return v(this[_0xac80('0xc')],!0x1,_0x25b70d);}}class P extends _0x10cefd{static get[_0xac80('0x25')](){return'TrackChangesDataGetter';}constructor(_0x2065c8){super(_0x2065c8),this['result']='end';}['init'](){this[_0xac80('0xc')][_0xac80('0x9')][_0xac80('0x15')](_0xac80('0x1'))['_adapter']={'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[_0xac80('0xc')][_0xac80('0x9')][_0xac80('0x15')]('TrackChangesEditing')['_adapter']=null;}}function D(_0x4b355e){return void 0x0!==_0x4b355e[_0xac80('0xa')];}async function v(_0x56679f,_0x365ad1,_0x501e72){const _0x3b23c3=_0x17acf2(_0x56679f,w);_0x3b23c3['plugins'][_0xac80('0x6')](_0x4caeb8,P),_0x3b23c3[_0xac80('0x1c')]=D(_0x56679f)?_0x56679f['getRootsAttributes']():void 0x0;const _0x1b783d=document[_0xac80('0x22')](),_0x599af7=_0x56679f[_0xac80('0x1e')][_0xac80('0x15')]('trackChangesData')[_0xac80('0x24')],_0x52231a=await _0x599af7(_0x3b23c3,()=>function(_0x48d06a){const _0x5d2bfa=document['createElement'](_0xac80('0x18'));return _0x48d06a[_0xac80('0x1a')](_0x5d2bfa),_0x5d2bfa;}(_0x1b783d));!function(_0x2500b9,_0x47ddda){const _0x39eefb=_0x2500b9[_0xac80('0x8')][_0xac80('0xb')]['getRootNames']()[_0xac80('0xe')]((_0x1e1141,_0x759ada)=>(_0x1e1141[_0x759ada]=_0x2500b9[_0xac80('0x5')][_0xac80('0x15')]({'rootName':_0x759ada}),_0x1e1141),{}),_0x1e789c=_0x2500b9[_0xac80('0x9')]['get']('Users')[_0xac80('0x21')][_0xac80('0x14')](_0x1bff2b=>({'id':_0x1bff2b['id'],'name':_0x1bff2b[_0xac80('0x3')]})),_0x56726b=_0x2500b9[_0xac80('0x9')]['get']('TrackChangesEditing')[_0xac80('0x0')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5032c4=_0x47ddda['plugins'][_0xac80('0x15')]('Users'),_0x59f202=_0x47ddda[_0xac80('0x9')][_0xac80('0x15')]('TrackChangesEditing');for(const _0x94cb8e of _0x1e789c)_0x5032c4[_0xac80('0x11')](_0x94cb8e['id'])||_0x5032c4['addUser'](_0x94cb8e);_0x5032c4['me']||_0x5032c4[_0xac80('0x13')]();for(const _0x448486 of _0x56726b)_0x59f202[_0xac80('0x10')](_0x448486);_0x47ddda[_0xac80('0x5')]['set'](_0x39eefb);}(_0x56679f,_0x52231a),_0x52231a['execute'](_0x365ad1?_0xac80('0x4'):_0xac80('0x19'));const _0x43164c=D(_0x52231a)?_0x52231a[_0xac80('0xd')](_0x501e72):_0x52231a[_0xac80('0x5')]['get'](_0x501e72);return await _0x52231a[_0xac80('0xf')](),_0x43164c;}