@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240202.0 → 0.0.0-nightly-20240204.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/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/imagestyle.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa994=['getMultiRangeId','onAccept','data','size','@external','split','substr','_model','removeMarker','from','decorate','_onAttributesChange','authoredAt','getRanges','markers','createdAt','author','head','getRange','length','_markerNames','_isDataLoaded','next','toJSON','isIntersectingWithRange','removeMarkers','previous','hasComments','discard','_onAccept','getMarkerNames','filter','addMarker','_saved','onAttributesChange','creator','push','start','onDiscard','set','subType','getItems','change','removeAttribute','getFirstMarker','setAttribute','_onDiscard','get','accept','type','commentThread','isIntersecting','add','attributes','getAllAdjacentSuggestions','isMultiRange','nodeBefore','getMarkers','map','addRange'];(function(_0x18d9e7,_0xa99499){const _0x2f7fa9=function(_0x2d55c7){while(--_0x2d55c7){_0x18d9e7['push'](_0x18d9e7['shift']());}};_0x2f7fa9(++_0xa99499);}(_0xa994,0xcc));const _0x2f7f=function(_0x18d9e7,_0xa99499){_0x18d9e7=_0x18d9e7-0x0;let _0x2f7fa9=_0xa994[_0x18d9e7];return _0x2f7fa9;};import{Element as _0x2a92f5}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x30aa6d,uid as _0x1ba0ad}from'ckeditor5/src/utils.js';import{cloneDeep as _0x21c524,isEqual as _0x23a907,set as _0x5d2c27,unset as _0x56d4c7}from'lodash-es';export default class u extends _0x30aa6d(){constructor(_0x16dad5,_0x644fae){super(),this[_0x2f7f('0x39')]=!0x1,this['id']=_0x644fae['id'],this[_0x2f7f('0x19')]=_0x644fae['type'],this[_0x2f7f('0x10')]=_0x644fae[_0x2f7f('0x10')]||null,this['author']=_0x644fae[_0x2f7f('0x34')],this[_0x2f7f('0xb')]=_0x644fae[_0x2f7f('0xb')]||_0x644fae[_0x2f7f('0x34')],this['isExternal']=Boolean(_0x644fae[_0x2f7f('0x1d')]&&_0x644fae[_0x2f7f('0x1d')][_0x2f7f('0x28')]),this['data']=null,this[_0x2f7f('0x2b')]=_0x16dad5,this[_0x2f7f('0x5')]=_0x644fae[_0x2f7f('0x25')],this[_0x2f7f('0x16')]=_0x644fae[_0x2f7f('0xe')],this[_0x2f7f('0x2f')]=_0x644fae[_0x2f7f('0xa')],this[_0x2f7f('0x38')]=new Set(),this[_0x2f7f('0x33')]=null,this['set'](_0x2f7f('0x30'),null),this[_0x2f7f('0xf')](_0x2f7f('0x1d'),_0x644fae['attributes']||{}),this[_0x2f7f('0xf')]('previous',null),this['set']('next',null),this[_0x2f7f('0xf')](_0x2f7f('0x1a'),null),this[_0x2f7f('0xf')](_0x2f7f('0x9'),!0x1),this['decorate'](_0x2f7f('0x18')),this[_0x2f7f('0x2e')](_0x2f7f('0x4'));}get[_0x2f7f('0x35')](){let _0x17a26c=this;for(;_0x17a26c[_0x2f7f('0x2')];)_0x17a26c=_0x17a26c['previous'];return _0x17a26c;}get[_0x2f7f('0x3')](){return!!this[_0x2f7f('0x1a')]&&this[_0x2f7f('0x1a')]['length']>0x0;}get[_0x2f7f('0x1f')](){if(0x0==this[_0x2f7f('0x38')][_0x2f7f('0x27')])return!0x1;return 0x6==Array[_0x2f7f('0x2d')](this[_0x2f7f('0x38')])[0x0][_0x2f7f('0x29')](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x15711d){this[_0x2f7f('0x38')][_0x2f7f('0x1c')](_0x15711d);}[_0x2f7f('0x6')](){return Array[_0x2f7f('0x2d')](this[_0x2f7f('0x38')]);}['getMarkers'](){return this[_0x2f7f('0x6')]()[_0x2f7f('0x22')](_0x4bdc22=>this['_model'][_0x2f7f('0x32')][_0x2f7f('0x17')](_0x4bdc22))[_0x2f7f('0x7')](_0x41c068=>_0x41c068);}[_0x2f7f('0x14')](){return this[_0x2f7f('0x21')]()[0x0]||null;}[_0x2f7f('0x1')](){this[_0x2f7f('0x2b')]['change'](_0x5c726c=>{for(const _0x2ecff3 of this[_0x2f7f('0x21')]())_0x5c726c['removeMarker'](_0x2ecff3);}),this[_0x2f7f('0x38')]['clear']();}[_0x2f7f('0x2c')](_0x15ca74){this[_0x2f7f('0x2b')][_0x2f7f('0x12')](_0x2ee102=>{_0x2ee102[_0x2f7f('0x2c')](_0x15ca74);}),this['_markerNames']['delete'](_0x15ca74);}[_0x2f7f('0x23')](_0x9e94ed){const _0x577383='suggestion:'+this[_0x2f7f('0x19')]+':'+this[_0x2f7f('0x10')]+':'+this['id']+':'+this[_0x2f7f('0xb')]['id']+':'+u[_0x2f7f('0x24')]();this['addMarkerName'](_0x577383),this[_0x2f7f('0x2b')][_0x2f7f('0x12')](_0x11bdfe=>{_0x11bdfe[_0x2f7f('0x8')](_0x577383,{'range':_0x9e94ed,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2f7f('0x0')](_0x301f9c){for(const _0x11271f of this[_0x2f7f('0x31')]())if(_0x11271f[_0x2f7f('0x1b')](_0x301f9c))return!0x0;return!0x1;}[_0x2f7f('0x31')](){return this[_0x2f7f('0x21')]()[_0x2f7f('0x22')](_0xfa2a5c=>_0xfa2a5c[_0x2f7f('0x36')]());}['getItems'](){return this['getRanges']()['reduce']((_0x7051cc,_0xbabd14)=>[..._0x7051cc,..._0xbabd14[_0x2f7f('0x11')]()],[]);}['getFirstRange'](){var _0x12beea;return(null===(_0x12beea=this['getFirstMarker']())||void 0x0===_0x12beea?void 0x0:_0x12beea[_0x2f7f('0x36')]())||null;}['getContainedElement'](){const _0x12c72a=this[_0x2f7f('0x31')]();if(0x1!=_0x12c72a[_0x2f7f('0x37')])return null;const _0x22a4d3=_0x12c72a[0x0],_0x26e6f7=_0x22a4d3[_0x2f7f('0xd')]['nodeAfter'],_0x259c67=_0x22a4d3['end'][_0x2f7f('0x20')];return _0x26e6f7 instanceof _0x2a92f5?_0x26e6f7!=_0x259c67?null:_0x26e6f7:null;}[_0x2f7f('0x18')](){this[_0x2f7f('0x5')](this[_0x2f7f('0x31')](),this['data'],this['attributes']),this[_0x2f7f('0x1')]();}[_0x2f7f('0x4')](){this[_0x2f7f('0x16')](this[_0x2f7f('0x31')](),this[_0x2f7f('0x26')],this[_0x2f7f('0x1d')]),this['removeMarkers']();}[_0x2f7f('0x1e')](){const _0x20daea=[];let _0x4b0571=this['head'];for(;_0x4b0571;)_0x20daea[_0x2f7f('0xc')](_0x4b0571),_0x4b0571=_0x4b0571[_0x2f7f('0x3a')];return _0x20daea;}[_0x2f7f('0x15')](_0x4d4a37,_0xe7f90e){const _0x20f7b0=_0x21c524(this[_0x2f7f('0x1d')]);_0x5d2c27(_0x20f7b0,_0x4d4a37,_0xe7f90e),_0x23a907(_0x20f7b0,this[_0x2f7f('0x1d')])||(this[_0x2f7f('0x1d')]=_0x20f7b0,this[_0x2f7f('0x2f')](_0x20f7b0));}[_0x2f7f('0x13')](_0x3e38b4){const _0x394eda=_0x21c524(this[_0x2f7f('0x1d')]);_0x56d4c7(_0x394eda,_0x3e38b4),_0x23a907(_0x394eda,this[_0x2f7f('0x1d')])||(this['attributes']=_0x394eda,this['_onAttributesChange'](this[_0x2f7f('0x1d')]));}[_0x2f7f('0x3b')](){return{'id':this['id'],'type':this[_0x2f7f('0x10')]?this[_0x2f7f('0x19')]+':'+this[_0x2f7f('0x10')]:this[_0x2f7f('0x19')],'authorId':this[_0x2f7f('0xb')]['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this[_0x2f7f('0x26')],'attributes':this[_0x2f7f('0x1d')]};}static[_0x2f7f('0x24')](){return _0x1ba0ad()[_0x2f7f('0x2a')](0x1,0x5);}}
23
+ const _0x190e=['substr','creator','set','getMarkers','isIntersectingWithRange','nodeAfter','_onAccept','_model','commentThread','discard','getAllAdjacentSuggestions','length','next','onAccept','hasComments','clear','reduce','getMultiRangeId','data','@external','from','delete','_isDataLoaded','push','_markerNames','onAttributesChange','attributes','accept','getRange','isIntersecting','getFirstMarker','getMarkerNames','removeMarkers','subType','authoredAt','author','suggestion:','type','nodeBefore','getRanges','createdAt','split','previous','_onDiscard','decorate','isInContent','start','addRange','isExternal','getItems','end','markers','toJSON','setAttribute','addMarkerName','getFirstRange','filter','addMarker','change','_onAttributesChange','getContainedElement'];(function(_0x39a90e,_0x190e5c){const _0x259f1e=function(_0xd5b7d){while(--_0xd5b7d){_0x39a90e['push'](_0x39a90e['shift']());}};_0x259f1e(++_0x190e5c);}(_0x190e,0x156));const _0x259f=function(_0x39a90e,_0x190e5c){_0x39a90e=_0x39a90e-0x0;let _0x259f1e=_0x190e[_0x39a90e];return _0x259f1e;};import{Element as _0x43250b}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x54d4fb,uid as _0x51d9fd}from'ckeditor5/src/utils.js';import{cloneDeep as _0x34f161,isEqual as _0x5f3bbd,set as _0x3d1cc7,unset as _0x5a1ca9}from'lodash-es';export default class u extends _0x54d4fb(){constructor(_0x5a03e8,_0x3334f4){super(),this[_0x259f('0x2e')]=!0x1,this['id']=_0x3334f4['id'],this[_0x259f('0x0')]=_0x3334f4[_0x259f('0x0')],this['subType']=_0x3334f4[_0x259f('0x39')]||null,this['author']=_0x3334f4[_0x259f('0x3b')],this[_0x259f('0x19')]=_0x3334f4['creator']||_0x3334f4[_0x259f('0x3b')],this[_0x259f('0xb')]=Boolean(_0x3334f4[_0x259f('0x32')]&&_0x3334f4[_0x259f('0x32')][_0x259f('0x2b')]),this[_0x259f('0x2a')]=null,this[_0x259f('0x1f')]=_0x5a03e8,this[_0x259f('0x1e')]=_0x3334f4[_0x259f('0x25')],this['_onDiscard']=_0x3334f4['onDiscard'],this[_0x259f('0x16')]=_0x3334f4[_0x259f('0x31')],this[_0x259f('0x30')]=new Set(),this[_0x259f('0x3')]=null,this[_0x259f('0x1a')](_0x259f('0x3a'),null),this[_0x259f('0x1a')](_0x259f('0x32'),_0x3334f4[_0x259f('0x32')]||{}),this[_0x259f('0x1a')](_0x259f('0x5'),null),this[_0x259f('0x1a')](_0x259f('0x24'),null),this[_0x259f('0x1a')](_0x259f('0x20'),null),this[_0x259f('0x1a')]('_saved',!0x1),this[_0x259f('0x7')](_0x259f('0x33')),this['decorate'](_0x259f('0x21'));}get['head'](){let _0x28770f=this;for(;_0x28770f[_0x259f('0x5')];)_0x28770f=_0x28770f[_0x259f('0x5')];return _0x28770f;}get[_0x259f('0x26')](){return!!this[_0x259f('0x20')]&&this[_0x259f('0x20')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0x259f('0x30')]['size'])return!0x1;return 0x6==Array[_0x259f('0x2c')](this[_0x259f('0x30')])[0x0][_0x259f('0x4')](':')[_0x259f('0x23')];}get[_0x259f('0x8')](){return null!==this[_0x259f('0x36')]();}[_0x259f('0x11')](_0x2291b1){this[_0x259f('0x30')]['add'](_0x2291b1);}[_0x259f('0x37')](){return Array[_0x259f('0x2c')](this[_0x259f('0x30')]);}[_0x259f('0x1b')](){return this[_0x259f('0x37')]()['map'](_0x44f278=>this[_0x259f('0x1f')][_0x259f('0xe')]['get'](_0x44f278))[_0x259f('0x13')](_0x54f380=>_0x54f380);}[_0x259f('0x36')](){return this[_0x259f('0x1b')]()[0x0]||null;}[_0x259f('0x38')](){this[_0x259f('0x1f')][_0x259f('0x15')](_0x17f79a=>{for(const _0x5d22b3 of this[_0x259f('0x1b')]())_0x17f79a['removeMarker'](_0x5d22b3);}),this[_0x259f('0x30')][_0x259f('0x27')]();}['removeMarker'](_0x179433){this[_0x259f('0x1f')]['change'](_0x189dd7=>{_0x189dd7['removeMarker'](_0x179433);}),this[_0x259f('0x30')][_0x259f('0x2d')](_0x179433);}[_0x259f('0xa')](_0x1f7209){const _0x384110=_0x259f('0x3c')+this[_0x259f('0x0')]+':'+this[_0x259f('0x39')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x259f('0x29')]();this[_0x259f('0x11')](_0x384110),this[_0x259f('0x1f')][_0x259f('0x15')](_0x10a79a=>{_0x10a79a[_0x259f('0x14')](_0x384110,{'range':_0x1f7209,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x259f('0x1c')](_0x5cc7df){for(const _0xd2fcc8 of this[_0x259f('0x2')]())if(_0xd2fcc8[_0x259f('0x35')](_0x5cc7df))return!0x0;return!0x1;}[_0x259f('0x2')](){return this[_0x259f('0x1b')]()['map'](_0x389e63=>_0x389e63['getRange']());}[_0x259f('0xc')](){return this[_0x259f('0x2')]()[_0x259f('0x28')]((_0x136563,_0x34fcf0)=>[..._0x136563,..._0x34fcf0[_0x259f('0xc')]()],[]);}[_0x259f('0x12')](){var _0x5d5a1d;return(null===(_0x5d5a1d=this[_0x259f('0x36')]())||void 0x0===_0x5d5a1d?void 0x0:_0x5d5a1d[_0x259f('0x34')]())||null;}[_0x259f('0x17')](){const _0x4028df=this[_0x259f('0x2')]();if(0x1!=_0x4028df['length'])return null;const _0x3cf28c=_0x4028df[0x0],_0x537080=_0x3cf28c[_0x259f('0x9')][_0x259f('0x1d')],_0x1ab0e6=_0x3cf28c[_0x259f('0xd')][_0x259f('0x1')];return _0x537080 instanceof _0x43250b?_0x537080!=_0x1ab0e6?null:_0x537080:null;}[_0x259f('0x33')](){this['_onAccept'](this[_0x259f('0x2')](),this[_0x259f('0x2a')],this['attributes']),this[_0x259f('0x38')]();}[_0x259f('0x21')](){this[_0x259f('0x6')](this['getRanges'](),this[_0x259f('0x2a')],this[_0x259f('0x32')]),this['removeMarkers']();}[_0x259f('0x22')](){const _0x21feb5=[];let _0x4df55f=this['head'];for(;_0x4df55f;)_0x21feb5[_0x259f('0x2f')](_0x4df55f),_0x4df55f=_0x4df55f[_0x259f('0x24')];return _0x21feb5;}[_0x259f('0x10')](_0x59baaa,_0x22e973){const _0x2bb7bc=_0x34f161(this[_0x259f('0x32')]);_0x3d1cc7(_0x2bb7bc,_0x59baaa,_0x22e973),_0x5f3bbd(_0x2bb7bc,this[_0x259f('0x32')])||(this['attributes']=_0x2bb7bc,this[_0x259f('0x16')](_0x2bb7bc));}['removeAttribute'](_0x4f2665){const _0xff869a=_0x34f161(this[_0x259f('0x32')]);_0x5a1ca9(_0xff869a,_0x4f2665),_0x5f3bbd(_0xff869a,this['attributes'])||(this[_0x259f('0x32')]=_0xff869a,this['_onAttributesChange'](this[_0x259f('0x32')]));}[_0x259f('0xf')](){return{'id':this['id'],'type':this[_0x259f('0x39')]?this[_0x259f('0x0')]+':'+this[_0x259f('0x39')]:this[_0x259f('0x0')],'authorId':this[_0x259f('0x19')]['id'],'createdAt':this[_0x259f('0x3')],'hasComments':this[_0x259f('0x26')],'data':this[_0x259f('0x2a')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x51d9fd()[_0x259f('0x18')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe027=['format','end','elementEnd','registerDescriptionCallback','deletion','key','has','_attributeLabels','_itemLabels','$text','EmptyContainer','attribute','name','start','_handleInsertRemoveSuggestionDescription','type','removeEmptyContainer','add','addEmptyContainer','removeContainer','isObject','removeObject','subType','_locale','softBreak','addContainer','_handleAttributeSuggestionDescription','addFormat','getItemLabel','set','data','_itemLabelsCallbacks','quantity','length','getDescriptions','Object','*Split:*\x20%0','*Remove\x20format:*\x20%0','indexOf','get','_schema','isEmpty','_handleRenameSuggestionDescription','label','*Change\x20to:*\x20%0','insertion','elementStart','join','_addDescriptionItems','element','text','remove','*Remove:*\x20%0','$1\x20$2','getWalker','getFirstRange','nextSibling','_customCallbacks','_handleCustomCallbackDescription','registerAttributeLabel','pop','*Set\x20format:*\x20%0','$textProxy','isInContent','push','ELEMENT_SPACE','nodeAfter','item','map','*Insert:*\x20%0','previousSibling','Container','match'];(function(_0x13ce9b,_0xe027ee){const _0x38ebbf=function(_0x55a0d1){while(--_0x55a0d1){_0x13ce9b['push'](_0x13ce9b['shift']());}};_0x38ebbf(++_0xe027ee);}(_0xe027,0xb7));const _0x38eb=function(_0x13ce9b,_0xe027ee){_0x13ce9b=_0x13ce9b-0x0;let _0x38ebbf=_0xe027[_0x13ce9b];return _0x38ebbf;};import{getTranslation as _0x257448}from'./utils/common-translations.js';import{priorities as _0x412b99,insertToPriorityArray as _0x426b83}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x639ef0}from'./trackchangesediting.js';export default class f{constructor(_0x317297,_0x2a81fe){this[_0x38eb('0x14')]=[],this[_0x38eb('0x2c')]=new Map(),this[_0x38eb('0x43')]=[],this[_0x38eb('0x2b')]=new Map(),this[_0x38eb('0x3')]=_0x317297,this[_0x38eb('0x3b')]=_0x2a81fe;}[_0x38eb('0x46')](_0x3003b2){const _0xd71abe=[],_0x487b37=new Set(),_0x409f03=new Set();for(let _0x13b5eb=0x0;_0x13b5eb<_0x3003b2[_0x38eb('0x45')];_0x13b5eb++){const _0x2de91d=_0x3003b2[_0x13b5eb];if(!_0x2de91d[_0x38eb('0x1a')])continue;const _0x59f202=this[_0x38eb('0x15')](_0x2de91d);if(_0x59f202){if(null!=_0x2de91d['subType']){if(_0x487b37[_0x38eb('0x2a')](_0x2de91d[_0x38eb('0x3a')]))continue;_0x487b37[_0x38eb('0x35')](_0x2de91d[_0x38eb('0x3a')]);}_0xd71abe[_0x38eb('0x1b')](_0x59f202);}else{if(_0x38eb('0x2f')!=_0x2de91d[_0x38eb('0x33')])'insertion'!=_0x2de91d[_0x38eb('0x33')]&&_0x38eb('0x28')!=_0x2de91d['type']||this[_0x38eb('0x32')](_0xd71abe,_0x2de91d,_0x3003b2[_0x13b5eb+0x1]);else{const _0x3e39ae=_0x2de91d[_0x38eb('0x42')]['key'];if(_0x409f03['has'](_0x3e39ae))continue;_0x409f03['add'](_0x2de91d[_0x38eb('0x42')][_0x38eb('0x29')]),_0x3e39ae==_0x639ef0?this[_0x38eb('0x5')](_0xd71abe,_0x2de91d):this[_0x38eb('0x3e')](_0xd71abe,_0x2de91d);}}}return this['_resolveDescriptionItems'](_0xd71abe);}[_0x38eb('0x27')](_0x3d069f){this[_0x38eb('0x14')]['push'](_0x3d069f);}['registerElementLabel'](_0x5008b2,_0x10d42b,_0x451f87=_0x412b99['normal']){'function'==typeof _0x5008b2?_0x426b83(this[_0x38eb('0x43')],{'matchingCallback':_0x5008b2,'label':_0x10d42b,'priority':_0x451f87}):this[_0x38eb('0x2c')]['set'](_0x5008b2,_0x10d42b);}[_0x38eb('0x16')](_0x24bcd3,_0x3e7c75){this[_0x38eb('0x2b')][_0x38eb('0x41')](_0x24bcd3,_0x3e7c75);}[_0x38eb('0x40')](_0x38525b,_0x1b5499=0x1){let _0xf6d1ad;for(const _0x1cfb0a of this['_itemLabelsCallbacks'])if(_0x1cfb0a['matchingCallback'](_0x38525b)){_0xf6d1ad=_0x1cfb0a[_0x38eb('0x6')];break;}return _0xf6d1ad||(_0xf6d1ad=this['_itemLabels'][_0x38eb('0x2')](_0x38525b[_0x38eb('0x30')])),_0xf6d1ad?_0xf6d1ad(_0x1b5499):0x1!==_0x1b5499?_0x1b5499+'\x20'+_0x38525b['name']+'s':''+_0x38525b[_0x38eb('0x30')];}['_addDescriptionItems'](_0x3f6fef,_0x3cf4da){const _0x56c68e=_0x3cf4da[_0x38eb('0x12')]()[_0x38eb('0x11')](),_0x4d3857=_0x38eb('0x8')==_0x3cf4da['type']?_0x38eb('0x35'):_0x38eb('0xe');for(const _0x4ceb58 of _0x56c68e){const _0x90977a=_0x4ceb58[_0x38eb('0x1e')],_0x165630=_0x3f6fef[_0x3f6fef['length']-0x1];if(_0x90977a['is'](_0x38eb('0x19')))_0x165630&&_0x165630[_0x38eb('0x33')]['indexOf'](_0x38eb('0x22'))>-0x1&&_0x3f6fef[_0x38eb('0x17')](),_0x165630&&_0x38eb('0xd')==_0x165630[_0x38eb('0x33')]?_0x165630[_0x4d3857]+=_0x90977a[_0x38eb('0x42')]:_0x3f6fef[_0x38eb('0x1b')]({'type':_0x38eb('0xd'),'add':'add'==_0x4d3857?_0x90977a[_0x38eb('0x42')]:'','remove':_0x38eb('0xe')==_0x4d3857?_0x90977a[_0x38eb('0x42')]:''});else{if(this[_0x38eb('0x3')][_0x38eb('0x38')](_0x90977a)){const _0xebac80=_0x90977a;if(_0x165630&&_0x165630[_0x38eb('0x33')][_0x38eb('0x1')]('Container')>-0x1&&_0x3f6fef[_0x38eb('0x17')](),_0x38eb('0x26')==_0x4ceb58[_0x38eb('0x33')])continue;_0x165630&&_0x165630[_0x38eb('0x33')]==_0x4d3857+_0x38eb('0x47')&&_0x165630[_0x38eb('0xc')][_0x38eb('0x30')]==_0xebac80[_0x38eb('0x30')]?_0x165630[_0x38eb('0x44')]++:_0x3f6fef[_0x38eb('0x1b')]({'type':_0x4d3857+_0x38eb('0x47'),'element':_0xebac80,'quantity':0x1}),_0x56c68e['skip'](_0x16ded5=>!(_0x38eb('0x26')==_0x16ded5[_0x38eb('0x33')]&&_0x16ded5[_0x38eb('0x1e')]==_0x90977a));}else{if(this['_schema']['checkChild'](_0x90977a,_0x38eb('0x2d'))||_0x90977a['is'](_0x38eb('0xc'),_0x38eb('0x3c'))){const _0x2dd136=_0x90977a;if(_0x38eb('0x35')==_0x4d3857&&_0x38eb('0x9')==_0x4ceb58[_0x38eb('0x33')]||_0x38eb('0xe')==_0x4d3857&&_0x38eb('0x26')==_0x4ceb58[_0x38eb('0x33')])continue;if(_0x165630&&-0x1==_0x165630[_0x38eb('0x33')]['indexOf'](_0x38eb('0x22'))){_0x38eb('0xd')==_0x165630['type']&&(_0x165630[_0x4d3857]+='\x0a');continue;}let _0x3ef87a;if(_0x3ef87a=_0x38eb('0x35')==_0x4d3857?_0x2dd136[_0x38eb('0x13')]&&!this[_0x38eb('0x3')][_0x38eb('0x38')](_0x2dd136[_0x38eb('0x13')])?_0x2dd136[_0x38eb('0x13')]:null:_0x2dd136[_0x38eb('0x21')]&&!this[_0x38eb('0x3')][_0x38eb('0x38')](_0x2dd136['previousSibling'])?_0x2dd136[_0x38eb('0x21')]:null,_0x2dd136[_0x38eb('0x4')]||_0x3ef87a&&_0x3ef87a[_0x38eb('0x4')]){const _0x38978c=_0x3ef87a&&_0x3ef87a[_0x38eb('0x4')]?_0x3ef87a:_0x2dd136;_0x165630&&_0x165630[_0x38eb('0x33')]==_0x4d3857+_0x38eb('0x2e')&&_0x165630[_0x38eb('0xc')][_0x38eb('0x30')]==_0x38978c[_0x38eb('0x30')]?_0x165630[_0x38eb('0x44')]++:_0x3f6fef[_0x38eb('0x1b')]({'type':_0x4d3857+_0x38eb('0x2e'),'element':_0x38978c,'quantity':0x1});}else _0x3f6fef[_0x38eb('0x1b')]({'type':_0x4d3857+_0x38eb('0x22'),'element':_0x2dd136});}}}}}['_resolveDescriptionItems'](_0xe74435){const _0x287b22=this[_0x38eb('0x3b')],_0x2eba1f=[],_0x52155c=[],_0x2b8aa0=[];for(const _0x520ae5 of _0xe74435)switch(_0x520ae5[_0x38eb('0x33')]){case _0x38eb('0xd'):if(_0x520ae5[_0x38eb('0x35')]=_0x520ae5[_0x38eb('0x35')]['replace'](/(\S)\u000A+(\S)/g,_0x38eb('0x10'))['replace'](/\u000A/g,''),_0x520ae5['remove']=_0x520ae5[_0x38eb('0xe')]['replace'](/(\S)\u000A+(\S)/g,_0x38eb('0x10'))['replace'](/\u000A/g,''),''!=_0x520ae5[_0x38eb('0x35')]&&''!=_0x520ae5[_0x38eb('0xe')]){_0x2eba1f['push']({'type':'replace','content':_0x257448(_0x287b22,'REPLACE_TEXT',['\x22'+_0x520ae5[_0x38eb('0xe')]+'\x22','\x22'+_0x520ae5[_0x38eb('0x35')]+'\x22'])});continue;}if(null!=_0x520ae5[_0x38eb('0x35')]['match'](/^ +$/)){_0x2eba1f[_0x38eb('0x1b')]({'type':_0x38eb('0x8'),'content':_0x257448(_0x287b22,_0x38eb('0x20'),_0x257448(_0x287b22,_0x38eb('0x1c'),_0x520ae5[_0x38eb('0x35')]['length']))});continue;}if(null!=_0x520ae5[_0x38eb('0xe')][_0x38eb('0x23')](/^ +$/)){_0x2eba1f[_0x38eb('0x1b')]({'type':'deletion','content':_0x257448(_0x287b22,_0x38eb('0xf'),_0x257448(_0x287b22,_0x38eb('0x1c'),_0x520ae5[_0x38eb('0xe')][_0x38eb('0x45')]))});continue;}if(''!=_0x520ae5[_0x38eb('0x35')]){_0x2eba1f[_0x38eb('0x1b')]({'type':_0x38eb('0x8'),'content':_0x257448(_0x287b22,_0x38eb('0x20'),'\x22'+_0x520ae5[_0x38eb('0x35')]+'\x22')});continue;}_0x2eba1f[_0x38eb('0x1b')]({'type':_0x38eb('0x28'),'content':_0x257448(_0x287b22,_0x38eb('0xf'),'\x22'+_0x520ae5[_0x38eb('0xe')]+'\x22')});continue;case _0x38eb('0x36'):case'addObject':_0x2eba1f['push']({'type':_0x38eb('0x8'),'content':_0x257448(_0x287b22,_0x38eb('0x20'),this['getItemLabel'](_0x520ae5[_0x38eb('0xc')],_0x520ae5[_0x38eb('0x44')]))});continue;case _0x38eb('0x34'):case _0x38eb('0x39'):_0x2eba1f['push']({'type':'deletion','content':_0x257448(_0x287b22,_0x38eb('0xf'),this['getItemLabel'](_0x520ae5[_0x38eb('0xc')],_0x520ae5[_0x38eb('0x44')]))});continue;case _0x38eb('0x3d'):_0x2eba1f['push']({'type':_0x38eb('0x8'),'content':_0x257448(_0x287b22,_0x38eb('0x48'),this[_0x38eb('0x40')](_0x520ae5[_0x38eb('0xc')],_0x520ae5[_0x38eb('0x44')]))});continue;case _0x38eb('0x37'):_0x2eba1f[_0x38eb('0x1b')]({'type':_0x38eb('0x28'),'content':_0x257448(_0x287b22,'*Merge:*\x20%0',this[_0x38eb('0x40')](_0x520ae5[_0x38eb('0xc')],_0x520ae5['quantity']))});continue;case _0x38eb('0x3f'):_0x52155c[_0x38eb('0x1b')](_0x520ae5[_0x38eb('0x29')]);continue;case'removeFormat':_0x2b8aa0['push'](_0x520ae5[_0x38eb('0x29')]);continue;default:_0x2eba1f[_0x38eb('0x1b')](_0x520ae5);}if(_0x52155c[_0x38eb('0x45')]){const _0x354d99=_0x52155c[_0x38eb('0x1f')](_0x281b4b=>this[_0x38eb('0x2b')][_0x38eb('0x2a')](_0x281b4b)?this[_0x38eb('0x2b')][_0x38eb('0x2')](_0x281b4b):_0x281b4b)[_0x38eb('0xa')](',\x20');_0x2eba1f['push']({'type':_0x38eb('0x24'),'content':_0x257448(this[_0x38eb('0x3b')],_0x38eb('0x18'),_0x354d99)});}if(_0x2b8aa0[_0x38eb('0x45')]){const _0xdfe01e=_0x2b8aa0[_0x38eb('0x1f')](_0x5f55ca=>this[_0x38eb('0x2b')][_0x38eb('0x2a')](_0x5f55ca)?this[_0x38eb('0x2b')]['get'](_0x5f55ca):_0x5f55ca)['join'](',\x20');_0x2eba1f[_0x38eb('0x1b')]({'type':_0x38eb('0x24'),'content':_0x257448(this[_0x38eb('0x3b')],_0x38eb('0x0'),_0xdfe01e)});}return _0x2eba1f;}[_0x38eb('0x15')](_0x47aae5){for(const _0x3460b5 of this[_0x38eb('0x14')]){const _0x238212=_0x3460b5(_0x47aae5);if(_0x238212&&_0x38eb('0x33')in _0x238212)return _0x238212;}}[_0x38eb('0x3e')](_0x3df484,_0x116cda){const _0x37be7c=_0x116cda[_0x38eb('0x42')],_0x592da0=void 0x0===_0x37be7c['newValue']?'removeFormat':_0x38eb('0x3f');_0x3df484[_0x38eb('0x1b')]({'type':_0x592da0,'key':_0x37be7c[_0x38eb('0x29')]});}[_0x38eb('0x5')](_0x5b0b7d,_0x4e8c30){_0x5b0b7d[_0x38eb('0x1b')]({'type':'format','content':_0x257448(this[_0x38eb('0x3b')],_0x38eb('0x7'),this[_0x38eb('0x40')](_0x4e8c30['getFirstRange']()[_0x38eb('0x31')][_0x38eb('0x1d')],0x1))});}[_0x38eb('0x32')](_0x16a53b,_0x17288a,_0xef978f){if(this[_0x38eb('0xb')](_0x16a53b,_0x17288a),_0xef978f&&_0xef978f['getFirstRange']()&&!_0x17288a[_0x38eb('0x12')]()[_0x38eb('0x25')]['isEqual'](_0xef978f[_0x38eb('0x12')]()[_0x38eb('0x31')])){const _0x31e809=_0x16a53b[_0x16a53b[_0x38eb('0x45')]-0x1],_0x4b4001=_0x38eb('0x8')==_0x17288a[_0x38eb('0x33')]?_0x38eb('0x35'):_0x38eb('0xe');_0x31e809&&_0x38eb('0xd')==_0x31e809['type']&&(_0x31e809[_0x4b4001]+='\x0a');}}}
23
+ const _0x8931=['REPLACE_TEXT','deletion','attribute','_handleCustomCallbackDescription','isEmpty','add','remove','$text','pop','elementStart','_handleInsertRemoveSuggestionDescription','nextSibling','join','*Split:*\x20%0','getItemLabel','subType','start','isEqual','getFirstRange','data','_attributeLabels','has','removeContainer','_locale','skip','type','_handleAttributeSuggestionDescription','Object','addObject','$1\x20$2','push','EmptyContainer','previousSibling','format','nodeAfter','ELEMENT_SPACE','_schema','replace','end','addContainer','addEmptyContainer','newValue','$textProxy','text','_itemLabels','_customCallbacks','_handleRenameSuggestionDescription','quantity','getWalker','normal','*Insert:*\x20%0','map','insertion','indexOf','_resolveDescriptionItems','key','elementEnd','item','Container','length','addFormat','match','*Remove:*\x20%0','get','matchingCallback','removeFormat','isInContent','checkChild','_addDescriptionItems','name','registerDescriptionCallback','removeEmptyContainer','_itemLabelsCallbacks','isObject','element','softBreak'];(function(_0x28405c,_0x89310b){const _0x3e471f=function(_0x3a4e7e){while(--_0x3a4e7e){_0x28405c['push'](_0x28405c['shift']());}};_0x3e471f(++_0x89310b);}(_0x8931,0x10d));const _0x3e47=function(_0x28405c,_0x89310b){_0x28405c=_0x28405c-0x0;let _0x3e471f=_0x8931[_0x28405c];return _0x3e471f;};import{getTranslation as _0x42bf48}from'./utils/common-translations.js';import{priorities as _0x5c902a,insertToPriorityArray as _0x5e7b84}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x38b817}from'./trackchangesediting.js';export default class f{constructor(_0x1b9b88,_0x5618bb){this[_0x3e47('0x4')]=[],this[_0x3e47('0x3')]=new Map(),this[_0x3e47('0x1f')]=[],this[_0x3e47('0x37')]=new Map(),this[_0x3e47('0x47')]=_0x1b9b88,this[_0x3e47('0x3a')]=_0x5618bb;}['getDescriptions'](_0x4026fe){const _0x43d53a=[],_0x1fec7e=new Set(),_0x5802a8=new Set();for(let _0x1a0ca4=0x0;_0x1a0ca4<_0x4026fe[_0x3e47('0x12')];_0x1a0ca4++){const _0x1a5e2e=_0x4026fe[_0x1a0ca4];if(!_0x1a5e2e[_0x3e47('0x19')])continue;const _0x5593bc=this[_0x3e47('0x26')](_0x1a5e2e);if(_0x5593bc){if(null!=_0x1a5e2e[_0x3e47('0x32')]){if(_0x1fec7e[_0x3e47('0x38')](_0x1a5e2e[_0x3e47('0x32')]))continue;_0x1fec7e[_0x3e47('0x28')](_0x1a5e2e[_0x3e47('0x32')]);}_0x43d53a[_0x3e47('0x41')](_0x5593bc);}else{if(_0x3e47('0x25')!=_0x1a5e2e['type'])_0x3e47('0xb')!=_0x1a5e2e[_0x3e47('0x3c')]&&_0x3e47('0x24')!=_0x1a5e2e[_0x3e47('0x3c')]||this[_0x3e47('0x2d')](_0x43d53a,_0x1a5e2e,_0x4026fe[_0x1a0ca4+0x1]);else{const _0xfcaa3f=_0x1a5e2e['data'][_0x3e47('0xe')];if(_0x5802a8[_0x3e47('0x38')](_0xfcaa3f))continue;_0x5802a8[_0x3e47('0x28')](_0x1a5e2e['data'][_0x3e47('0xe')]),_0xfcaa3f==_0x38b817?this[_0x3e47('0x5')](_0x43d53a,_0x1a5e2e):this[_0x3e47('0x3d')](_0x43d53a,_0x1a5e2e);}}}return this[_0x3e47('0xd')](_0x43d53a);}[_0x3e47('0x1d')](_0x5e482d){this[_0x3e47('0x4')][_0x3e47('0x41')](_0x5e482d);}['registerElementLabel'](_0x364a65,_0xe07bf7,_0x470ef8=_0x5c902a[_0x3e47('0x8')]){'function'==typeof _0x364a65?_0x5e7b84(this[_0x3e47('0x1f')],{'matchingCallback':_0x364a65,'label':_0xe07bf7,'priority':_0x470ef8}):this[_0x3e47('0x3')]['set'](_0x364a65,_0xe07bf7);}['registerAttributeLabel'](_0x3c436c,_0x32590a){this[_0x3e47('0x37')]['set'](_0x3c436c,_0x32590a);}[_0x3e47('0x31')](_0x2ddf7c,_0x8fcea6=0x1){let _0x38f8b9;for(const _0x58a61a of this[_0x3e47('0x1f')])if(_0x58a61a[_0x3e47('0x17')](_0x2ddf7c)){_0x38f8b9=_0x58a61a['label'];break;}return _0x38f8b9||(_0x38f8b9=this['_itemLabels'][_0x3e47('0x16')](_0x2ddf7c[_0x3e47('0x1c')])),_0x38f8b9?_0x38f8b9(_0x8fcea6):0x1!==_0x8fcea6?_0x8fcea6+'\x20'+_0x2ddf7c[_0x3e47('0x1c')]+'s':''+_0x2ddf7c['name'];}[_0x3e47('0x1b')](_0x4c49ea,_0x106b95){const _0x109136=_0x106b95[_0x3e47('0x35')]()[_0x3e47('0x7')](),_0x2bdae8='insertion'==_0x106b95[_0x3e47('0x3c')]?'add':_0x3e47('0x29');for(const _0x45a601 of _0x109136){const _0x3ad83c=_0x45a601[_0x3e47('0x10')],_0x5f074b=_0x4c49ea[_0x4c49ea[_0x3e47('0x12')]-0x1];if(_0x3ad83c['is'](_0x3e47('0x1')))_0x5f074b&&_0x5f074b['type'][_0x3e47('0xc')](_0x3e47('0x11'))>-0x1&&_0x4c49ea[_0x3e47('0x2b')](),_0x5f074b&&_0x3e47('0x2')==_0x5f074b[_0x3e47('0x3c')]?_0x5f074b[_0x2bdae8]+=_0x3ad83c[_0x3e47('0x36')]:_0x4c49ea[_0x3e47('0x41')]({'type':_0x3e47('0x2'),'add':_0x3e47('0x28')==_0x2bdae8?_0x3ad83c['data']:'','remove':'remove'==_0x2bdae8?_0x3ad83c[_0x3e47('0x36')]:''});else{if(this[_0x3e47('0x47')][_0x3e47('0x20')](_0x3ad83c)){const _0x24e72a=_0x3ad83c;if(_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]['indexOf'](_0x3e47('0x11'))>-0x1&&_0x4c49ea[_0x3e47('0x2b')](),_0x3e47('0xf')==_0x45a601[_0x3e47('0x3c')])continue;_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]==_0x2bdae8+_0x3e47('0x3e')&&_0x5f074b['element'][_0x3e47('0x1c')]==_0x24e72a['name']?_0x5f074b['quantity']++:_0x4c49ea['push']({'type':_0x2bdae8+_0x3e47('0x3e'),'element':_0x24e72a,'quantity':0x1}),_0x109136[_0x3e47('0x3b')](_0xd51986=>!('elementEnd'==_0xd51986[_0x3e47('0x3c')]&&_0xd51986[_0x3e47('0x10')]==_0x3ad83c));}else{if(this[_0x3e47('0x47')][_0x3e47('0x1a')](_0x3ad83c,_0x3e47('0x2a'))||_0x3ad83c['is'](_0x3e47('0x21'),_0x3e47('0x22'))){const _0x47e68f=_0x3ad83c;if('add'==_0x2bdae8&&_0x3e47('0x2c')==_0x45a601[_0x3e47('0x3c')]||_0x3e47('0x29')==_0x2bdae8&&'elementEnd'==_0x45a601[_0x3e47('0x3c')])continue;if(_0x5f074b&&-0x1==_0x5f074b[_0x3e47('0x3c')][_0x3e47('0xc')](_0x3e47('0x11'))){_0x3e47('0x2')==_0x5f074b['type']&&(_0x5f074b[_0x2bdae8]+='\x0a');continue;}let _0x3058e9;if(_0x3058e9='add'==_0x2bdae8?_0x47e68f[_0x3e47('0x2e')]&&!this[_0x3e47('0x47')][_0x3e47('0x20')](_0x47e68f[_0x3e47('0x2e')])?_0x47e68f['nextSibling']:null:_0x47e68f[_0x3e47('0x43')]&&!this[_0x3e47('0x47')][_0x3e47('0x20')](_0x47e68f[_0x3e47('0x43')])?_0x47e68f['previousSibling']:null,_0x47e68f[_0x3e47('0x27')]||_0x3058e9&&_0x3058e9[_0x3e47('0x27')]){const _0x350257=_0x3058e9&&_0x3058e9['isEmpty']?_0x3058e9:_0x47e68f;_0x5f074b&&_0x5f074b[_0x3e47('0x3c')]==_0x2bdae8+_0x3e47('0x42')&&_0x5f074b[_0x3e47('0x21')][_0x3e47('0x1c')]==_0x350257[_0x3e47('0x1c')]?_0x5f074b[_0x3e47('0x6')]++:_0x4c49ea[_0x3e47('0x41')]({'type':_0x2bdae8+_0x3e47('0x42'),'element':_0x350257,'quantity':0x1});}else _0x4c49ea[_0x3e47('0x41')]({'type':_0x2bdae8+_0x3e47('0x11'),'element':_0x47e68f});}}}}}['_resolveDescriptionItems'](_0x343e3d){const _0x560e6f=this['_locale'],_0x4f1190=[],_0x598454=[],_0xc1ebf3=[];for(const _0x2fb7c2 of _0x343e3d)switch(_0x2fb7c2[_0x3e47('0x3c')]){case'text':if(_0x2fb7c2[_0x3e47('0x28')]=_0x2fb7c2['add'][_0x3e47('0x48')](/(\S)\u000A+(\S)/g,_0x3e47('0x40'))[_0x3e47('0x48')](/\u000A/g,''),_0x2fb7c2['remove']=_0x2fb7c2[_0x3e47('0x29')]['replace'](/(\S)\u000A+(\S)/g,_0x3e47('0x40'))[_0x3e47('0x48')](/\u000A/g,''),''!=_0x2fb7c2[_0x3e47('0x28')]&&''!=_0x2fb7c2[_0x3e47('0x29')]){_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x48'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x23'),['\x22'+_0x2fb7c2[_0x3e47('0x29')]+'\x22','\x22'+_0x2fb7c2['add']+'\x22'])});continue;}if(null!=_0x2fb7c2[_0x3e47('0x28')][_0x3e47('0x14')](/^ +$/)){_0x4f1190['push']({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x9'),_0x42bf48(_0x560e6f,_0x3e47('0x46'),_0x2fb7c2[_0x3e47('0x28')][_0x3e47('0x12')]))});continue;}if(null!=_0x2fb7c2[_0x3e47('0x29')][_0x3e47('0x14')](/^ +$/)){_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,'*Remove:*\x20%0',_0x42bf48(_0x560e6f,'ELEMENT_SPACE',_0x2fb7c2['remove'][_0x3e47('0x12')]))});continue;}if(''!=_0x2fb7c2['add']){_0x4f1190[_0x3e47('0x41')]({'type':'insertion','content':_0x42bf48(_0x560e6f,'*Insert:*\x20%0','\x22'+_0x2fb7c2[_0x3e47('0x28')]+'\x22')});continue;}_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,_0x3e47('0x15'),'\x22'+_0x2fb7c2[_0x3e47('0x29')]+'\x22')});continue;case _0x3e47('0x4b'):case _0x3e47('0x3f'):_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x9'),this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x1e'):case'removeObject':_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x24'),'content':_0x42bf48(_0x560e6f,'*Remove:*\x20%0',this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x4a'):_0x4f1190['push']({'type':_0x3e47('0xb'),'content':_0x42bf48(_0x560e6f,_0x3e47('0x30'),this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x39'):_0x4f1190[_0x3e47('0x41')]({'type':'deletion','content':_0x42bf48(_0x560e6f,'*Merge:*\x20%0',this[_0x3e47('0x31')](_0x2fb7c2[_0x3e47('0x21')],_0x2fb7c2[_0x3e47('0x6')]))});continue;case _0x3e47('0x13'):_0x598454[_0x3e47('0x41')](_0x2fb7c2[_0x3e47('0xe')]);continue;case _0x3e47('0x18'):_0xc1ebf3['push'](_0x2fb7c2[_0x3e47('0xe')]);continue;default:_0x4f1190['push'](_0x2fb7c2);}if(_0x598454[_0x3e47('0x12')]){const _0x4c0c17=_0x598454['map'](_0x18dad5=>this[_0x3e47('0x37')][_0x3e47('0x38')](_0x18dad5)?this['_attributeLabels'][_0x3e47('0x16')](_0x18dad5):_0x18dad5)[_0x3e47('0x2f')](',\x20');_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Set\x20format:*\x20%0',_0x4c0c17)});}if(_0xc1ebf3['length']){const _0x2f5a18=_0xc1ebf3[_0x3e47('0xa')](_0xc94df7=>this[_0x3e47('0x37')][_0x3e47('0x38')](_0xc94df7)?this[_0x3e47('0x37')]['get'](_0xc94df7):_0xc94df7)[_0x3e47('0x2f')](',\x20');_0x4f1190[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Remove\x20format:*\x20%0',_0x2f5a18)});}return _0x4f1190;}[_0x3e47('0x26')](_0x25a3b8){for(const _0x333dab of this[_0x3e47('0x4')]){const _0x267681=_0x333dab(_0x25a3b8);if(_0x267681&&_0x3e47('0x3c')in _0x267681)return _0x267681;}}[_0x3e47('0x3d')](_0x56d560,_0x38e7df){const _0x3eab96=_0x38e7df[_0x3e47('0x36')],_0x890129=void 0x0===_0x3eab96[_0x3e47('0x0')]?'removeFormat':_0x3e47('0x13');_0x56d560[_0x3e47('0x41')]({'type':_0x890129,'key':_0x3eab96['key']});}['_handleRenameSuggestionDescription'](_0x2cf1fc,_0x2aeb23){_0x2cf1fc[_0x3e47('0x41')]({'type':_0x3e47('0x44'),'content':_0x42bf48(this['_locale'],'*Change\x20to:*\x20%0',this[_0x3e47('0x31')](_0x2aeb23[_0x3e47('0x35')]()[_0x3e47('0x33')][_0x3e47('0x45')],0x1))});}[_0x3e47('0x2d')](_0x343022,_0x1810b0,_0x19d37e){if(this[_0x3e47('0x1b')](_0x343022,_0x1810b0),_0x19d37e&&_0x19d37e[_0x3e47('0x35')]()&&!_0x1810b0[_0x3e47('0x35')]()[_0x3e47('0x49')][_0x3e47('0x34')](_0x19d37e['getFirstRange']()[_0x3e47('0x33')])){const _0x5a9ece=_0x343022[_0x343022[_0x3e47('0x12')]-0x1],_0x389662='insertion'==_0x1810b0['type']?_0x3e47('0x28'):_0x3e47('0x29');_0x5a9ece&&_0x3e47('0x2')==_0x5a9ece[_0x3e47('0x3c')]&&(_0x5a9ece[_0x389662]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a5f=['requires','TrackChanges','adapter','addSuggestion','editor','pluginName','getSuggestion','addSuggestionData','get','plugins','getSuggestions'];(function(_0x76b929,_0x3a5fb1){var _0x159ef7=function(_0x3f62f0){while(--_0x3f62f0){_0x76b929['push'](_0x76b929['shift']());}};_0x159ef7(++_0x3a5fb1);}(_0x3a5f,0x83));var _0x159e=function(_0x76b929,_0x3a5fb1){_0x76b929=_0x76b929-0x0;var _0x159ef7=_0x3a5f[_0x76b929];return _0x159ef7;};import{Plugin as _0x5a08b7}from'ckeditor5/src/core.js';import _0x4a3741 from'./trackchangesui.js';import _0x2ffa0c from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x5a08b7{static get[_0x159e('0x1')](){return[_0x2ffa0c,_0x4a3741,'Comments'];}static get[_0x159e('0x6')](){return _0x159e('0x2');}set[_0x159e('0x3')](_0x4b7e90){this['editor'][_0x159e('0xa')]['get'](_0x2ffa0c)[_0x159e('0x3')]=_0x4b7e90;}get[_0x159e('0x3')](){return this['editor'][_0x159e('0xa')][_0x159e('0x9')](_0x2ffa0c)['adapter'];}[_0x159e('0x4')](_0x59d738){return this[_0x159e('0x5')][_0x159e('0xa')][_0x159e('0x9')](_0x2ffa0c)[_0x159e('0x8')](_0x59d738);}[_0x159e('0x0')]({skipNotAttached:_0xb52673=!0x1,toJSON:_0x235446=!0x1}={}){return this[_0x159e('0x5')]['plugins']['get'](_0x2ffa0c)[_0x159e('0x0')]({'skipNotAttached':_0xb52673,'toJSON':_0x235446});}[_0x159e('0x7')](_0x126060){return this[_0x159e('0x5')][_0x159e('0xa')][_0x159e('0x9')](_0x2ffa0c)['getSuggestion'](_0x126060);}}
23
+ var _0x2454=['addSuggestion','Comments','getSuggestion','plugins','TrackChanges','editor','adapter','get'];(function(_0x5538af,_0x245407){var _0x5a02c6=function(_0x2de42f){while(--_0x2de42f){_0x5538af['push'](_0x5538af['shift']());}};_0x5a02c6(++_0x245407);}(_0x2454,0x7a));var _0x5a02=function(_0x5538af,_0x245407){_0x5538af=_0x5538af-0x0;var _0x5a02c6=_0x2454[_0x5538af];return _0x5a02c6;};import{Plugin as _0x303667}from'ckeditor5/src/core.js';import _0x234287 from'./trackchangesui.js';import _0x9560ba from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x303667{static get['requires'](){return[_0x9560ba,_0x234287,_0x5a02('0x7')];}static get['pluginName'](){return _0x5a02('0x2');}set[_0x5a02('0x4')](_0x99962){this['editor']['plugins']['get'](_0x9560ba)[_0x5a02('0x4')]=_0x99962;}get[_0x5a02('0x4')](){return this[_0x5a02('0x3')][_0x5a02('0x1')][_0x5a02('0x5')](_0x9560ba)[_0x5a02('0x4')];}[_0x5a02('0x6')](_0x4ef85f){return this[_0x5a02('0x3')][_0x5a02('0x1')]['get'](_0x9560ba)['addSuggestionData'](_0x4ef85f);}['getSuggestions']({skipNotAttached:_0x26c8b4=!0x1,toJSON:_0x4eb056=!0x1}={}){return this[_0x5a02('0x3')][_0x5a02('0x1')]['get'](_0x9560ba)['getSuggestions']({'skipNotAttached':_0x26c8b4,'toJSON':_0x4eb056});}[_0x5a02('0x0')](_0x3c2f23){return this[_0x5a02('0x3')][_0x5a02('0x1')][_0x5a02('0x5')](_0x9560ba)['getSuggestion'](_0x3c2f23);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x518a=['addUser','getRootsAttributes','getUser','createDocumentFragment','useAnonymousUser','rootsAttributes','getDataWithAcceptedSuggestions','getRootNames','model','pluginName','getSuggestions','Users','trackChangesData.editorCreator','init','trackChangesData','div','reduce','createElement','constructor','create','config','get','TrackChangesData','name','execute','define','Pagination','acceptAllSuggestions','CommentsRepository','result','push','plugins','editorCreator','track-changes-data-invalid-editor-creator','discardAllSuggestions','function','set','TrackChangesEditing','_adapter','users','appendChild','data','getDataWithDiscardedSuggestions','requires','editor'];(function(_0x30688d,_0x518a99){const _0x2791bb=function(_0x3a0333){while(--_0x3a0333){_0x30688d['push'](_0x30688d['shift']());}};_0x2791bb(++_0x518a99);}(_0x518a,0x12f));const _0x2791=function(_0x30688d,_0x518a99){_0x30688d=_0x30688d-0x0;let _0x2791bb=_0x518a[_0x30688d];return _0x2791bb;};import{Plugin as _0x1d4325}from'ckeditor5/src/core.js';import{CKEditorError as _0x113bdc}from'ckeditor5/src/utils.js';import _0x200e6c from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xa704c1}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x2791('0x26')];export default class P extends _0x1d4325{static get[_0x2791('0xa')](){return[_0x200e6c];}static get[_0x2791('0x15')](){return _0x2791('0x22');}['init'](){const _0x459713=this[_0x2791('0xb')];if(_0x459713[_0x2791('0x20')][_0x2791('0x25')](_0x2791('0x18'),_0x2f5d0d=>{const _0x13b871=_0x459713[_0x2791('0x14')]['document'][_0x2791('0x13')]()['reduce']((_0x1b9ac2,_0x3c3c76)=>(_0x1b9ac2[_0x3c3c76]='',_0x1b9ac2),{});return _0x459713[_0x2791('0x1e')][_0x2791('0x1f')](_0x13b871,_0x2f5d0d);}),_0x2791('0x2')!=typeof _0x459713[_0x2791('0x20')][_0x2791('0x21')](_0x2791('0x1a'))['editorCreator'])throw new _0x113bdc(_0x2791('0x0'));}[_0x2791('0x12')](_0x3a2bac){return N(this[_0x2791('0xb')],!0x0,_0x3a2bac);}[_0x2791('0x9')](_0xcdd0df){return N(this[_0x2791('0xb')],!0x1,_0xcdd0df);}}class D extends _0x1d4325{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0x3a353d){super(_0x3a353d),this[_0x2791('0x29')]='end';}[_0x2791('0x19')](){this[_0x2791('0xb')]['plugins'][_0x2791('0x21')](_0x2791('0x28'))['_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[_0x2791('0xb')][_0x2791('0x2b')][_0x2791('0x21')](_0x2791('0x4'))[_0x2791('0x5')]=null;}}function v(_0x50ecc5){return void 0x0!==_0x50ecc5['getRootsAttributes'];}async function N(_0xe50267,_0x32df0f,_0x214897){const _0x4e319d=_0xa704c1(_0xe50267,T);_0x4e319d[_0x2791('0x2b')][_0x2791('0x2a')](_0x200e6c,D),_0x4e319d[_0x2791('0x11')]=v(_0xe50267)?_0xe50267[_0x2791('0xd')]():void 0x0;const _0x206757=document[_0x2791('0xf')](),_0x46b74b=_0xe50267[_0x2791('0x20')][_0x2791('0x21')](_0x2791('0x1a'))[_0x2791('0x2c')],_0x1acd64=await _0x46b74b(_0x4e319d,()=>function(_0x299bce){const _0x557674=document[_0x2791('0x1d')](_0x2791('0x1b'));return _0x299bce[_0x2791('0x7')](_0x557674),_0x557674;}(_0x206757));!function(_0x113b71,_0xde5e8b){const _0x1bc56a=_0x113b71[_0x2791('0x14')]['document'][_0x2791('0x13')]()[_0x2791('0x1c')]((_0x41159f,_0x5305a0)=>(_0x41159f[_0x5305a0]=_0x113b71[_0x2791('0x8')]['get']({'rootName':_0x5305a0}),_0x41159f),{}),_0x50e369=_0x113b71[_0x2791('0x2b')]['get'](_0x2791('0x17'))[_0x2791('0x6')]['map'](_0x1613b9=>({'id':_0x1613b9['id'],'name':_0x1613b9[_0x2791('0x23')]})),_0x7dde30=_0x113b71[_0x2791('0x2b')][_0x2791('0x21')](_0x2791('0x4'))[_0x2791('0x16')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xfee312=_0xde5e8b[_0x2791('0x2b')][_0x2791('0x21')](_0x2791('0x17')),_0x1c2f75=_0xde5e8b[_0x2791('0x2b')][_0x2791('0x21')](_0x2791('0x4'));for(const _0x3b0927 of _0x50e369)_0xfee312[_0x2791('0xe')](_0x3b0927['id'])||_0xfee312[_0x2791('0xc')](_0x3b0927);_0xfee312['me']||_0xfee312[_0x2791('0x10')]();for(const _0xca382a of _0x7dde30)_0x1c2f75['addSuggestionData'](_0xca382a);_0xde5e8b[_0x2791('0x8')][_0x2791('0x3')](_0x1bc56a);}(_0xe50267,_0x1acd64),_0x1acd64[_0x2791('0x24')](_0x32df0f?_0x2791('0x27'):_0x2791('0x1'));const _0x361aed=v(_0x1acd64)?_0x1acd64['getFullData'](_0x214897):_0x1acd64[_0x2791('0x8')][_0x2791('0x21')](_0x214897);return await _0x1acd64['destroy'](),_0x361aed;}
23
+ const _0x5677=['TrackChangesDataGetter','useAnonymousUser','acceptAllSuggestions','define','set','createDocumentFragment','getRootsAttributes','get','result','getSuggestions','trackChangesData','getRootNames','TrackChangesEditing','discardAllSuggestions','TrackChangesData','editor','reduce','addSuggestionData','appendChild','editorCreator','trackChangesData.editorCreator','init','Users','getDataWithAcceptedSuggestions','addUser','users','data','map','Pagination','getUser','plugins','document','end','requires','getDataWithDiscardedSuggestions','_adapter','model','getFullData','create','config','CommentsRepository','name','pluginName'];(function(_0x2233bb,_0x56776a){const _0x14496b=function(_0x133f0c){while(--_0x133f0c){_0x2233bb['push'](_0x2233bb['shift']());}};_0x14496b(++_0x56776a);}(_0x5677,0xf3));const _0x1449=function(_0x2233bb,_0x56776a){_0x2233bb=_0x2233bb-0x0;let _0x14496b=_0x5677[_0x2233bb];return _0x14496b;};import{Plugin as _0x1672ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x532762}from'ckeditor5/src/utils.js';import _0x4b05e4 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x30efaa}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1449('0x0')];export default class P extends _0x1672ac{static get[_0x1449('0x5')](){return[_0x4b05e4];}static get[_0x1449('0xe')](){return _0x1449('0x1d');}[_0x1449('0x24')](){const _0x4c9ba8=this[_0x1449('0x1e')];if(_0x4c9ba8[_0x1449('0xb')][_0x1449('0x12')](_0x1449('0x23'),_0x5201fe=>{const _0x378404=_0x4c9ba8[_0x1449('0x8')][_0x1449('0x3')]['getRootNames']()['reduce']((_0x2e281b,_0x2f9cf2)=>(_0x2e281b[_0x2f9cf2]='',_0x2e281b),{});return _0x4c9ba8['constructor'][_0x1449('0xa')](_0x378404,_0x5201fe);}),'function'!=typeof _0x4c9ba8[_0x1449('0xb')][_0x1449('0x16')](_0x1449('0x19'))[_0x1449('0x22')])throw new _0x532762('track-changes-data-invalid-editor-creator');}[_0x1449('0x26')](_0x39d175){return N(this[_0x1449('0x1e')],!0x0,_0x39d175);}[_0x1449('0x6')](_0x127adf){return N(this[_0x1449('0x1e')],!0x1,_0x127adf);}}class D extends _0x1672ac{static get[_0x1449('0xe')](){return _0x1449('0xf');}constructor(_0x3e95d0){super(_0x3e95d0),this[_0x1449('0x17')]=_0x1449('0x4');}[_0x1449('0x24')](){this[_0x1449('0x1e')][_0x1449('0x2')][_0x1449('0x16')](_0x1449('0xc'))[_0x1449('0x7')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x1b'))[_0x1449('0x7')]=null;}}function v(_0xf2d467){return void 0x0!==_0xf2d467[_0x1449('0x15')];}async function N(_0xbd33ac,_0x434ecb,_0x1adbb0){const _0x4b4972=_0x30efaa(_0xbd33ac,T);_0x4b4972[_0x1449('0x2')]['push'](_0x4b05e4,D),_0x4b4972['rootsAttributes']=v(_0xbd33ac)?_0xbd33ac['getRootsAttributes']():void 0x0;const _0x3d6105=document[_0x1449('0x14')](),_0x58bc4e=_0xbd33ac[_0x1449('0xb')][_0x1449('0x16')](_0x1449('0x19'))[_0x1449('0x22')],_0x10831a=await _0x58bc4e(_0x4b4972,()=>function(_0x160908){const _0x501ea6=document['createElement']('div');return _0x160908[_0x1449('0x21')](_0x501ea6),_0x501ea6;}(_0x3d6105));!function(_0x1d809c,_0x147dd3){const _0x22fb80=_0x1d809c[_0x1449('0x8')][_0x1449('0x3')][_0x1449('0x1a')]()[_0x1449('0x1f')]((_0x48beff,_0x52047e)=>(_0x48beff[_0x52047e]=_0x1d809c[_0x1449('0x29')][_0x1449('0x16')]({'rootName':_0x52047e}),_0x48beff),{}),_0x2d79d9=_0x1d809c[_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x25'))[_0x1449('0x28')][_0x1449('0x2a')](_0x41a6ea=>({'id':_0x41a6ea['id'],'name':_0x41a6ea[_0x1449('0xd')]})),_0x4cb8da=_0x1d809c[_0x1449('0x2')][_0x1449('0x16')](_0x1449('0x1b'))[_0x1449('0x18')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x38eded=_0x147dd3['plugins'][_0x1449('0x16')]('Users'),_0x5aa7b6=_0x147dd3[_0x1449('0x2')][_0x1449('0x16')]('TrackChangesEditing');for(const _0x2a382a of _0x2d79d9)_0x38eded[_0x1449('0x1')](_0x2a382a['id'])||_0x38eded[_0x1449('0x27')](_0x2a382a);_0x38eded['me']||_0x38eded[_0x1449('0x10')]();for(const _0x80ddb2 of _0x4cb8da)_0x5aa7b6[_0x1449('0x20')](_0x80ddb2);_0x147dd3['data'][_0x1449('0x13')](_0x22fb80);}(_0xbd33ac,_0x10831a),_0x10831a['execute'](_0x434ecb?_0x1449('0x11'):_0x1449('0x1c'));const _0xac717f=v(_0x10831a)?_0x10831a[_0x1449('0x9')](_0x1adbb0):_0x10831a[_0x1449('0x29')][_0x1449('0x16')](_0x1adbb0);return await _0x10831a['destroy'](),_0xac717f;}