@ckeditor/ckeditor5-comments 34.1.0 → 35.1.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 (74) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/bg.js +1 -0
  4. package/build/translations/bn.js +1 -0
  5. package/build/translations/ca.js +1 -0
  6. package/build/translations/es.js +1 -1
  7. package/build/translations/fi.js +1 -0
  8. package/build/translations/fr.js +1 -1
  9. package/build/translations/he.js +1 -0
  10. package/build/translations/it.js +1 -1
  11. package/build/translations/ja.js +1 -1
  12. package/build/translations/lt.js +1 -0
  13. package/build/translations/ms.js +1 -0
  14. package/build/translations/pt-br.js +1 -1
  15. package/build/translations/pt.js +1 -0
  16. package/build/translations/sr.js +1 -1
  17. package/build/translations/sv.js +1 -0
  18. package/build/translations/th.js +1 -0
  19. package/build/translations/vi.js +1 -0
  20. package/lang/translations/ar.po +71 -0
  21. package/lang/translations/bg.po +67 -0
  22. package/lang/translations/bn.po +67 -0
  23. package/lang/translations/ca.po +67 -0
  24. package/lang/translations/es.po +2 -1
  25. package/lang/translations/fi.po +67 -0
  26. package/lang/translations/fr.po +2 -1
  27. package/lang/translations/he.po +69 -0
  28. package/lang/translations/it.po +2 -1
  29. package/lang/translations/ja.po +3 -3
  30. package/lang/translations/lt.po +69 -0
  31. package/lang/translations/ms.po +66 -0
  32. package/lang/translations/pt-br.po +2 -1
  33. package/lang/translations/pt.po +68 -0
  34. package/lang/translations/sr.po +3 -3
  35. package/lang/translations/sv.po +67 -0
  36. package/lang/translations/th.po +66 -0
  37. package/lang/translations/vi.po +66 -0
  38. package/package.json +3 -3
  39. package/src/annotations/annotation.js +1 -1
  40. package/src/annotations/annotationcollection.js +1 -1
  41. package/src/annotations/annotations.js +1 -1
  42. package/src/annotations/annotationsuis.js +1 -1
  43. package/src/annotations/editorannotations.js +1 -1
  44. package/src/annotations/inlineannotations.js +1 -1
  45. package/src/annotations/narrowsidebar.js +1 -1
  46. package/src/annotations/sidebar.js +1 -1
  47. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  48. package/src/annotations/view/annotationview.js +1 -1
  49. package/src/annotations/view/sidebaritemview.js +1 -1
  50. package/src/annotations/view/sidebarview.js +1 -1
  51. package/src/annotations/widesidebar.js +1 -1
  52. package/src/comments/addcommentthreadcommand.js +1 -1
  53. package/src/comments/commentsediting.js +1 -1
  54. package/src/comments/commentsrepository.js +1 -1
  55. package/src/comments/commentsui.js +1 -1
  56. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  57. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  58. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  59. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  60. package/src/comments/ui/commentthreadcontroller.js +1 -1
  61. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  62. package/src/comments/ui/view/basecommentview.js +1 -1
  63. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  64. package/src/comments/ui/view/commentcontentview.js +1 -1
  65. package/src/comments/ui/view/commentinputview.js +1 -1
  66. package/src/comments/ui/view/commentslistview.js +1 -1
  67. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  68. package/src/comments/ui/view/commentthreadview.js +1 -1
  69. package/src/comments/ui/view/commentview.js +1 -1
  70. package/src/comments.js +1 -1
  71. package/src/commentsonly.js +1 -1
  72. package/src/utils/common-translations.js +1 -1
  73. package/src/utils/createmutationobserver.js +1 -1
  74. package/theme/annotation-inline.css +0 -21
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4c07=['ck-comment__content','content','render','set','setTemplate','ck-annotation__content','element','change:content','innerHTML'];(function(_0x59d10c,_0x4c0711){var _0x42114d=function(_0x5c921c){while(--_0x5c921c){_0x59d10c['push'](_0x59d10c['shift']());}};_0x42114d(++_0x4c0711);}(_0x4c07,0x1dd));var _0x4211=function(_0x59d10c,_0x4c0711){_0x59d10c=_0x59d10c-0x0;var _0x42114d=_0x4c07[_0x59d10c];return _0x42114d;};import{View as _0xa96acb}from'ckeditor5/src/ui';export default class Et extends _0xa96acb{constructor(_0x1d1a2e){super(_0x1d1a2e),this[_0x4211('0x3')]('content',''),this[_0x4211('0x4')]({'tag':'div','attributes':{'class':[_0x4211('0x0'),_0x4211('0x5')]}});}[_0x4211('0x2')](){super['render'](),this['on'](_0x4211('0x7'),(_0x2078ce,_0x5dc4ff,_0x1cda66)=>{this[_0x4211('0x6')][_0x4211('0x8')]=_0x1cda66;}),this['element']['innerHTML']=this[_0x4211('0x1')];}}
23
+ var _0x1f83=['setTemplate','innerHTML','render','element','content','div','ck-annotation__content','change:content','ck-comment__content'];(function(_0x404cda,_0x1f8328){var _0x4e6cca=function(_0x2d86f8){while(--_0x2d86f8){_0x404cda['push'](_0x404cda['shift']());}};_0x4e6cca(++_0x1f8328);}(_0x1f83,0x172));var _0x4e6c=function(_0x404cda,_0x1f8328){_0x404cda=_0x404cda-0x0;var _0x4e6cca=_0x1f83[_0x404cda];return _0x4e6cca;};import{View as _0x1fd5ce}from'ckeditor5/src/ui';export default class Et extends _0x1fd5ce{constructor(_0x5a49ae){super(_0x5a49ae),this['set'](_0x4e6c('0x3'),''),this[_0x4e6c('0x8')]({'tag':_0x4e6c('0x4'),'attributes':{'class':[_0x4e6c('0x7'),_0x4e6c('0x5')]}});}[_0x4e6c('0x1')](){super['render'](),this['on'](_0x4e6c('0x6'),(_0x222938,_0x1ece2a,_0x1987ff)=>{this['element']['innerHTML']=_0x1987ff;}),this[_0x4e6c('0x2')][_0x4e6c('0x0')]=this[_0x4e6c('0x3')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x319e=['_createCancelButton','submitButtonView','focusPrevious','add','editor','create','stop','trim','low','insertBefore','focusNext','Cancel','shift\x20+\x20tab','document','_editorCreationPromise','icon','change','set','initialData','length','bind','TOO_LONG_COMMENT_ALERT','focusTracker','model','high','keystrokes','ck-comment__input-actions--cancel','_isDestroyed','extendTemplate','value','element','setData','submit','destroy','ck-comment__input-actions','disabledSubmit','fire','ck-comment__input-actions--active','cancelButtonView','placeholder','label','then','Reply...','_createSubmitButton','cancel','forEach','tab','Submit','isRendered','_initializeFocusCycling','getData','view','ck-comment__input-actions--submit','bindTemplate','editorReady','ck-comment__input-wrapper','Esc','focus','showButtons','execute'];(function(_0x2b6b1c,_0x319e52){const _0x478a93=function(_0xa9c7fd){while(--_0xa9c7fd){_0x2b6b1c['push'](_0x2b6b1c['shift']());}};_0x478a93(++_0x319e52);}(_0x319e,0x11a));const _0x478a=function(_0x2b6b1c,_0x319e52){_0x2b6b1c=_0x2b6b1c-0x0;let _0x478a93=_0x319e[_0x2b6b1c];return _0x478a93;};import{View as _0x25f8b7,ViewCollection as _0x53cfcb,FocusCycler as _0x30ca6f,ButtonView as _0x107732}from'ckeditor5/src/ui';import{FocusTracker as _0x3a57c9,KeystrokeHandler as _0x472aa8}from'ckeditor5/src/utils';import{icons as _0x40ff7e}from'ckeditor5/src/core';import _0x319118 from'../commenteditor/commenteditor';import{getTranslation as _0xf86d64}from'../../../utils/common-translations';export default class Tt extends _0x25f8b7{constructor(_0x1f1807,_0x54370b={}){super(_0x1f1807),this['editor']=new _0x319118(_0x54370b),this[_0x478a('0x2b')]=new _0x472aa8(),this[_0x478a('0x28')]=new _0x3a57c9(),this[_0x478a('0x23')](_0x478a('0x2f'),_0x54370b[_0x478a('0x24')]||''),this[_0x478a('0x23')](_0x478a('0x35'),!0x1),this[_0x478a('0x23')](_0x478a('0x10'),!0x0),this[_0x478a('0x23')]('placeholder',_0xf86d64(_0x1f1807,_0x478a('0x0'))),this[_0x478a('0x13')]=this['_createSubmitButton'](),this[_0x478a('0x38')]=this['_createCancelButton'](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x478a('0xd')]},'children':[{'tag':'div','attributes':{'class':[_0x478a('0x34'),this[_0x478a('0xb')]['if'](_0x478a('0x10'),_0x478a('0x37'))]},'children':[this[_0x478a('0x13')],this[_0x478a('0x38')]]}]}),this['keystrokes'][_0x478a('0x23')](_0x478a('0xe'),(_0x461b10,_0x382d08)=>{this[_0x478a('0x38')]['fire'](_0x478a('0x11')),_0x382d08();}),this['on'](_0x478a('0x32'),(_0x5e3c87,_0xef63ad)=>{_0xef63ad[_0x478a('0x25')]>0xfde8?(alert(_0xf86d64(_0x1f1807,_0x478a('0x27'),[_0xef63ad[_0x478a('0x25')],0xfde8])),_0x5e3c87[_0x478a('0x18')]()):this[_0x478a('0x16')][_0x478a('0x31')]('');},{'priority':_0x478a('0x2a')});}['render'](){super['render']();const {editor:_0x16d278,element:_0x1807d2}=this;this[_0x478a('0x2b')]['listenTo'](_0x1807d2),this[_0x478a('0x28')][_0x478a('0x15')](_0x1807d2),this[_0x478a('0x20')]=_0x16d278[_0x478a('0x17')]()[_0x478a('0x3b')](()=>{_0x1807d2[_0x478a('0x1b')](_0x16d278['ui'][_0x478a('0x30')],_0x1807d2['firstChild']),_0x16d278[_0x478a('0x29')][_0x478a('0x1f')]['on'](_0x478a('0x22'),()=>this[_0x478a('0x2f')]=_0x16d278[_0x478a('0x8')]()),_0x16d278[_0x478a('0x26')](_0x478a('0x39'))['to'](this),this[_0x478a('0x7')](_0x16d278),this['fire'](_0x478a('0xc'));});}[_0x478a('0xf')](){this[_0x478a('0x16')]['focus']();}async[_0x478a('0x33')](){this[_0x478a('0x2d')]||(this[_0x478a('0x2d')]=!0x0,this[_0x478a('0x6')]&&(await this[_0x478a('0x20')],await this[_0x478a('0x16')][_0x478a('0x33')]()),await super[_0x478a('0x33')]());}[_0x478a('0x1')](){const {locale:_0x3de5e2}=this,_0x28beac=new _0x107732(_0x3de5e2);return _0x28beac[_0x478a('0x2e')]({'attributes':{'class':[_0x478a('0xa')]}}),_0x28beac[_0x478a('0x3a')]=_0xf86d64(_0x3de5e2,_0x478a('0x5')),_0x28beac[_0x478a('0x21')]=_0x40ff7e['check'],_0x28beac['on']('execute',()=>{this[_0x478a('0x36')](_0x478a('0x32'),this[_0x478a('0x2f')]);}),_0x28beac[_0x478a('0x26')]('isEnabled')['to'](this,'value',this,_0x478a('0x35'),(_0x3b0dae,_0x41b67c)=>!_0x41b67c&&!!_0x3b0dae[_0x478a('0x19')]()),_0x28beac;}[_0x478a('0x12')](){const {locale:_0x3f5ebe}=this,_0x48171c=new _0x107732(_0x3f5ebe);return _0x48171c[_0x478a('0x2e')]({'attributes':{'class':[_0x478a('0x2c')]}}),_0x48171c[_0x478a('0x3a')]=_0xf86d64(_0x3f5ebe,_0x478a('0x1d')),_0x48171c[_0x478a('0x21')]=_0x40ff7e[_0x478a('0x2')],_0x48171c['on']('execute',()=>{this[_0x478a('0x16')][_0x478a('0x31')](''),this[_0x478a('0x36')](_0x478a('0x2'));}),_0x48171c;}[_0x478a('0x7')](_0x4cd98a){const _0x328db9=this[_0x478a('0x28')],_0x150d0d=new _0x53cfcb();[_0x4cd98a['ui'][_0x478a('0x9')],this[_0x478a('0x13')],this['cancelButtonView']][_0x478a('0x3')](_0x2a74d6=>{_0x150d0d['add'](_0x2a74d6),_0x328db9['add'](_0x2a74d6[_0x478a('0x30')]);});const _0x5a8ac8=new _0x30ca6f({'focusables':_0x150d0d,'focusTracker':_0x328db9});this[_0x478a('0x2b')][_0x478a('0x23')](_0x478a('0x4'),(_0x70228d,_0x38d65a)=>{_0x5a8ac8[_0x478a('0x1c')](),_0x38d65a();},{'priority':_0x478a('0x1a')}),this[_0x478a('0x2b')][_0x478a('0x23')](_0x478a('0x1e'),(_0x4a80f6,_0x277a9b)=>{_0x5a8ac8[_0x478a('0x14')](),_0x277a9b();},{'priority':_0x478a('0x1a')});}}
23
+ const _0x2374=['destroy','isRendered','then','Esc','_createCancelButton','placeholder','submitButtonView','add','execute','initialData','Cancel','focusNext','length','_createSubmitButton','focusTracker','document','cancel','extendTemplate','check','editor','ck-comment__input-actions--cancel','disabledSubmit','_editorCreationPromise','ck-comment__input-actions','cancelButtonView','render','label','low','TOO_LONG_COMMENT_ALERT','set','model','editorReady','fire','change','value','forEach','submit','high','_isDestroyed','ck-comment__input-actions--submit','tab','div','setData','ck-comment__input-actions--active','showButtons','trim','_initializeFocusCycling','ck-comment__input-wrapper','focus','isEnabled','create','keystrokes','element','icon'];(function(_0x1c9cf1,_0x237435){const _0x496473=function(_0x4bf6d1){while(--_0x4bf6d1){_0x1c9cf1['push'](_0x1c9cf1['shift']());}};_0x496473(++_0x237435);}(_0x2374,0xdc));const _0x4964=function(_0x1c9cf1,_0x237435){_0x1c9cf1=_0x1c9cf1-0x0;let _0x496473=_0x2374[_0x1c9cf1];return _0x496473;};import{View as _0x5e2e9c,ViewCollection as _0x68382d,FocusCycler as _0x20c00f,ButtonView as _0x530002}from'ckeditor5/src/ui';import{FocusTracker as _0xae1f08,KeystrokeHandler as _0x28aa6a}from'ckeditor5/src/utils';import{icons as _0x572d18}from'ckeditor5/src/core';import _0x154a51 from'../commenteditor/commenteditor';import{getTranslation as _0xdaf540}from'../../../utils/common-translations';export default class Tt extends _0x5e2e9c{constructor(_0x51fab9,_0x188404={}){super(_0x51fab9),this[_0x4964('0xf')]=new _0x154a51(_0x188404),this[_0x4964('0x2f')]=new _0x28aa6a(),this[_0x4964('0xa')]=new _0xae1f08(),this[_0x4964('0x19')](_0x4964('0x1e'),_0x188404[_0x4964('0x5')]||''),this[_0x4964('0x19')](_0x4964('0x11'),!0x1),this[_0x4964('0x19')](_0x4964('0x28'),!0x0),this[_0x4964('0x19')](_0x4964('0x1'),_0xdaf540(_0x51fab9,'Reply...')),this[_0x4964('0x2')]=this[_0x4964('0x9')](),this['cancelButtonView']=this['_createCancelButton'](),this['setTemplate']({'tag':_0x4964('0x25'),'attributes':{'class':[_0x4964('0x2b')]},'children':[{'tag':_0x4964('0x25'),'attributes':{'class':[_0x4964('0x13'),this['bindTemplate']['if'](_0x4964('0x28'),_0x4964('0x27'))]},'children':[this[_0x4964('0x2')],this[_0x4964('0x14')]]}]}),this['keystrokes']['set'](_0x4964('0x35'),(_0x2bbd2d,_0x30de57)=>{this[_0x4964('0x14')]['fire'](_0x4964('0x4')),_0x30de57();}),this['on'](_0x4964('0x20'),(_0x72626d,_0x320e29)=>{_0x320e29[_0x4964('0x8')]>0xfde8?(alert(_0xdaf540(_0x51fab9,_0x4964('0x18'),[_0x320e29['length'],0xfde8])),_0x72626d['stop']()):this[_0x4964('0xf')][_0x4964('0x26')]('');},{'priority':_0x4964('0x21')});}[_0x4964('0x15')](){super[_0x4964('0x15')]();const {editor:_0x1df653,element:_0xa634e7}=this;this[_0x4964('0x2f')]['listenTo'](_0xa634e7),this['focusTracker'][_0x4964('0x3')](_0xa634e7),this[_0x4964('0x12')]=_0x1df653[_0x4964('0x2e')]()[_0x4964('0x34')](()=>{_0xa634e7['insertBefore'](_0x1df653['ui'][_0x4964('0x30')],_0xa634e7['firstChild']),_0x1df653[_0x4964('0x1a')][_0x4964('0xb')]['on'](_0x4964('0x1d'),()=>this[_0x4964('0x1e')]=_0x1df653['getData']()),_0x1df653['bind'](_0x4964('0x1'))['to'](this),this[_0x4964('0x2a')](_0x1df653),this['fire'](_0x4964('0x1b'));});}[_0x4964('0x2c')](){this[_0x4964('0xf')][_0x4964('0x2c')]();}async[_0x4964('0x32')](){this[_0x4964('0x22')]||(this['_isDestroyed']=!0x0,this[_0x4964('0x33')]&&(await this[_0x4964('0x12')],await this['editor'][_0x4964('0x32')]()),await super['destroy']());}[_0x4964('0x9')](){const {locale:_0x3ac043}=this,_0x397716=new _0x530002(_0x3ac043);return _0x397716['extendTemplate']({'attributes':{'class':[_0x4964('0x23')]}}),_0x397716[_0x4964('0x16')]=_0xdaf540(_0x3ac043,'Submit'),_0x397716[_0x4964('0x31')]=_0x572d18[_0x4964('0xe')],_0x397716['on']('execute',()=>{this[_0x4964('0x1c')]('submit',this[_0x4964('0x1e')]);}),_0x397716['bind'](_0x4964('0x2d'))['to'](this,_0x4964('0x1e'),this,_0x4964('0x11'),(_0x3b3c37,_0x4241dd)=>!_0x4241dd&&!!_0x3b3c37[_0x4964('0x29')]()),_0x397716;}[_0x4964('0x0')](){const {locale:_0x35639b}=this,_0x1f8d35=new _0x530002(_0x35639b);return _0x1f8d35[_0x4964('0xd')]({'attributes':{'class':[_0x4964('0x10')]}}),_0x1f8d35[_0x4964('0x16')]=_0xdaf540(_0x35639b,_0x4964('0x6')),_0x1f8d35[_0x4964('0x31')]=_0x572d18['cancel'],_0x1f8d35['on'](_0x4964('0x4'),()=>{this[_0x4964('0xf')][_0x4964('0x26')](''),this[_0x4964('0x1c')](_0x4964('0xc'));}),_0x1f8d35;}['_initializeFocusCycling'](_0x390314){const _0x3eeffc=this[_0x4964('0xa')],_0x58abd2=new _0x68382d();[_0x390314['ui']['view'],this[_0x4964('0x2')],this[_0x4964('0x14')]][_0x4964('0x1f')](_0x3e725d=>{_0x58abd2[_0x4964('0x3')](_0x3e725d),_0x3eeffc['add'](_0x3e725d['element']);});const _0x4e9a38=new _0x20c00f({'focusables':_0x58abd2,'focusTracker':_0x3eeffc});this['keystrokes'][_0x4964('0x19')](_0x4964('0x24'),(_0x3366a9,_0x16a7f7)=>{_0x4e9a38[_0x4964('0x7')](),_0x16a7f7();},{'priority':'low'}),this[_0x4964('0x2f')][_0x4964('0x19')]('shift\x20+\x20tab',(_0xeaecb2,_0x5e4e13)=>{_0x4e9a38['focusPrevious'](),_0x5e4e13();},{'priority':_0x4964('0x17')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b59=['from','refreshVisibleViews','viewUid','destroy','_updateHasDirtyComment','createCollection','_rearrangeExpand','_handleRemoveCommentModel','element','some','_config','visibleViews','listenTo','length','_shouldCollapse','isActive','ck-thread__comments','equal','hasDirtyComment','change:isEditMode','set','_rearrangeCollapse','isEditMode','_collapsedCommentsView','comments','add','commentViews','formatDateTime','remove','expand','commentUpdated','focus','maxCommentCharsWhenCollapsed','count','render','insert','updateComment','removeComment','delete','stopListening','change:hasDirtyComment','_handleNewCommentModel'];(function(_0x4cde7c,_0x4b5941){const _0x229c0a=function(_0x309521){while(--_0x309521){_0x4cde7c['push'](_0x4cde7c['shift']());}};_0x229c0a(++_0x4b5941);}(_0x4b59,0x1a7));const _0x229c=function(_0x4cde7c,_0x4b5941){_0x4cde7c=_0x4cde7c-0x0;let _0x229c0a=_0x4b59[_0x4cde7c];return _0x229c0a;};import{View as _0x49ff2a}from'ckeditor5/src/ui';import{diff as _0x112b46,Collection as _0x5e293a}from'ckeditor5/src/utils';import _0x2a3ef9 from'./collapsedcommentsview';export default class L extends _0x49ff2a{constructor(_0x5438de,_0x91f125,_0x2479fe){super(_0x5438de),this['set'](_0x229c('0xf'),!0x1),this['set'](_0x229c('0xa'),_0x91f125[_0x229c('0x15')][_0x229c('0xa')]),this[_0x229c('0x11')](_0x229c('0xc'),!0x1),this['_model']=_0x91f125,this[_0x229c('0x7')]=_0x2479fe,this[_0x229c('0x17')]=this[_0x229c('0x2')](),this[_0x229c('0x8')]=this['createCollection'](),this[_0x229c('0x14')]=new _0x2a3ef9(_0x5438de),this[_0x229c('0x14')]['bind']('count')['to'](this,_0x229c('0xa'),_0xbc2dae=>_0xbc2dae-this[_0x229c('0x7')]['maxCommentsWhenCollapsed']);for(const _0x5b4ef5 of _0x91f125[_0x229c('0x15')])this[_0x229c('0x26')](_0x5b4ef5);this[_0x229c('0x9')](_0x91f125['comments'],_0x229c('0x16'),(_0xee5a27,_0x24d4db)=>{this[_0x229c('0xa')]++,this['_handleNewCommentModel'](_0x24d4db),this[_0x229c('0x28')]();}),this[_0x229c('0x9')](_0x91f125[_0x229c('0x15')],_0x229c('0x19'),(_0xb4910b,_0x3e3a2d)=>{this[_0x229c('0xa')]--,this['_handleRemoveCommentModel'](_0x3e3a2d),this['refreshVisibleViews']();}),this['listenTo'](_0x91f125,_0x229c('0x1b'),()=>this[_0x229c('0x28')]()),this['on']('change:isActive',()=>this[_0x229c('0x28')]()),this['on'](_0x229c('0x25'),()=>this[_0x229c('0x28')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x229c('0xd')]},'children':this[_0x229c('0x8')]});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this[_0x229c('0xc')]&&!this['hasDirtyComment'];}['render'](){super[_0x229c('0x1f')](),this[_0x229c('0x28')]();}[_0x229c('0x1c')](){this[_0x229c('0x5')][_0x229c('0x1c')]();}[_0x229c('0x0')](){this['_collapsedCommentsView'][_0x229c('0x0')]();for(const _0x9ec08c of this[_0x229c('0x17')])_0x9ec08c[_0x229c('0x0')]();super['destroy']();}[_0x229c('0x28')](){this[_0x229c('0xb')]?this['_rearrangeCollapse']():this[_0x229c('0x3')]();}['_handleNewCommentModel'](_0x29ce2a){const _0xc99503=new this[(_0x229c('0x7'))]['CommentView'](this['locale'],_0x29ce2a,{'maxCommentCharsWhenCollapsed':this['_config'][_0x229c('0x1d')],'formatDateTime':this[_0x229c('0x7')][_0x229c('0x18')],'editorConfig':this[_0x229c('0x7')]['editorConfig']});_0xc99503[_0x229c('0x29')]=_0x29ce2a['id'],_0xc99503['delegate'](_0x229c('0x22'))['to'](this),_0xc99503['delegate'](_0x229c('0x21'))['to'](this),this['listenTo'](_0xc99503,_0x229c('0x10'),()=>this['_updateHasDirtyComment']()),this[_0x229c('0x17')][_0x229c('0x16')](_0xc99503);}[_0x229c('0x4')](_0x4c5f37){const _0x18e6e5=this[_0x229c('0x17')][_0x229c('0x19')](_0x4c5f37['id']);this[_0x229c('0x24')](_0x18e6e5),_0x18e6e5['isEditMode']&&this[_0x229c('0x1')](),_0x18e6e5[_0x229c('0x0')]();}[_0x229c('0x1')](){this[_0x229c('0xf')]=Array[_0x229c('0x27')](this['commentViews'])[_0x229c('0x6')](_0x23475c=>_0x23475c[_0x229c('0x13')]);}[_0x229c('0x12')](){const _0x157708=function(_0x105662){const _0x174a4c=new _0x5e293a();for(const _0x452fe6 of _0x105662)_0x174a4c[_0x229c('0x16')](_0x452fe6);return _0x174a4c;}(this[_0x229c('0x17')]),_0x1c2340=this[_0x229c('0x14')][_0x229c('0x1e')];for(let _0x19c22e=0x1;_0x19c22e<=_0x1c2340;_0x19c22e++)_0x157708['remove'](0x1);for(const _0x1d3af2 of _0x157708)_0x1d3af2['collapse']();_0x1c2340>0x0&&_0x157708['add'](this[_0x229c('0x14')],0x1),Ut(_0x112b46(Array['from'](this['visibleViews']),Array['from'](_0x157708)),this['visibleViews'],_0x157708);}['_rearrangeExpand'](){Ut(_0x112b46(Array[_0x229c('0x27')](this['visibleViews']),Array[_0x229c('0x27')](this['commentViews'])),this[_0x229c('0x8')],this[_0x229c('0x17')]);for(const _0x416b8a of this[_0x229c('0x8')])_0x416b8a[_0x229c('0x1a')]();}}function Ut(_0x57d874,_0x2ddecf,_0x765b31){let _0xaaef07=0x0;for(const _0x3b21e6 of _0x57d874)switch(_0x3b21e6){case _0x229c('0x20'):_0x2ddecf[_0x229c('0x16')](_0x765b31['get'](_0xaaef07),_0xaaef07),_0xaaef07++;break;case _0x229c('0x23'):_0x2ddecf[_0x229c('0x19')](_0xaaef07);break;case _0x229c('0xe'):_0xaaef07++;}}
23
+ const _0x503e=['from','_handleRemoveCommentModel','createCollection','_collapsedCommentsView','editorConfig','focus','maxCommentCharsWhenCollapsed','insert','render','some','collapse','commentViews','hasDirtyComment','CommentView','_shouldCollapse','formatDateTime','maxCommentsWhenCollapsed','equal','destroy','count','_model','listenTo','_rearrangeExpand','bind','remove','_updateHasDirtyComment','isEditMode','refreshVisibleViews','element','delegate','_rearrangeCollapse','updateComment','expand','comments','commentUpdated','change:isEditMode','add','_handleNewCommentModel','_config','visibleViews','weight','set','ck-thread__comments','change:hasDirtyComment','isActive','length'];(function(_0x24782a,_0x503e2b){const _0x459a92=function(_0x3d1dd4){while(--_0x3d1dd4){_0x24782a['push'](_0x24782a['shift']());}};_0x459a92(++_0x503e2b);}(_0x503e,0xfd));const _0x459a=function(_0x24782a,_0x503e2b){_0x24782a=_0x24782a-0x0;let _0x459a92=_0x503e[_0x24782a];return _0x459a92;};import{View as _0x4ab6ab}from'ckeditor5/src/ui';import{diff as _0x172906,Collection as _0xed7a45}from'ckeditor5/src/utils';import _0x52083c from'./collapsedcommentsview';export default class ct extends _0x4ab6ab{constructor(_0x1c5007,_0x4a45b6,_0x9025e6){super(_0x1c5007),this[_0x459a('0x12')](_0x459a('0x23'),!0x1),this[_0x459a('0x12')]('length',_0x4a45b6[_0x459a('0xa')][_0x459a('0x16')]),this[_0x459a('0x12')](_0x459a('0x15'),!0x1),this[_0x459a('0x2b')]=_0x4a45b6,this[_0x459a('0xf')]=_0x9025e6,this[_0x459a('0x22')]=this[_0x459a('0x19')](),this['visibleViews']=this[_0x459a('0x19')](),this[_0x459a('0x1a')]=new _0x52083c(_0x1c5007),this[_0x459a('0x1a')][_0x459a('0x0')](_0x459a('0x2a'))['to'](this,_0x459a('0x16'),_0x391913=>_0x391913-this[_0x459a('0xf')][_0x459a('0x27')]);for(const _0x42faf7 of _0x4a45b6[_0x459a('0xa')])this[_0x459a('0xe')](_0x42faf7);this['listenTo'](_0x4a45b6[_0x459a('0xa')],_0x459a('0xd'),(_0x570efd,_0x40dab)=>{this[_0x459a('0x16')]++,this[_0x459a('0xe')](_0x40dab),this[_0x459a('0x4')]();}),this[_0x459a('0x2c')](_0x4a45b6[_0x459a('0xa')],'remove',(_0x539373,_0x145ac5)=>{this[_0x459a('0x16')]--,this[_0x459a('0x18')](_0x145ac5),this['refreshVisibleViews']();}),this[_0x459a('0x2c')](_0x4a45b6,_0x459a('0xb'),()=>this[_0x459a('0x4')]()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on'](_0x459a('0x14'),()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x459a('0x13')]},'children':this[_0x459a('0x10')]});}get[_0x459a('0x25')](){return this[_0x459a('0x2b')][_0x459a('0x11')]>this[_0x459a('0xf')]['maxThreadTotalWeight']&&!this[_0x459a('0x15')]&&!this[_0x459a('0x23')];}[_0x459a('0x1f')](){super[_0x459a('0x1f')](),this[_0x459a('0x4')]();}['focus'](){this[_0x459a('0x5')][_0x459a('0x1c')]();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x5d5f69 of this[_0x459a('0x22')])_0x5d5f69['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x459a('0x7')]():this[_0x459a('0x2d')]();}['_handleNewCommentModel'](_0x1017c7){const _0x443215=new this['_config'][(_0x459a('0x24'))](this['locale'],_0x1017c7,{'maxCommentCharsWhenCollapsed':this['_config'][_0x459a('0x1d')],'formatDateTime':this['_config'][_0x459a('0x26')],'editorConfig':this[_0x459a('0xf')][_0x459a('0x1b')]});_0x443215['viewUid']=_0x1017c7['id'],_0x443215[_0x459a('0x6')]('removeComment')['to'](this),_0x443215['delegate'](_0x459a('0x8'))['to'](this),this[_0x459a('0x2c')](_0x443215,_0x459a('0xc'),()=>this['_updateHasDirtyComment']()),this[_0x459a('0x22')][_0x459a('0xd')](_0x443215);}[_0x459a('0x18')](_0x5f4ea5){const _0x12f594=this[_0x459a('0x22')]['remove'](_0x5f4ea5['id']);this['stopListening'](_0x12f594),_0x12f594[_0x459a('0x3')]&&this['_updateHasDirtyComment'](),_0x12f594[_0x459a('0x29')]();}[_0x459a('0x2')](){this[_0x459a('0x23')]=Array[_0x459a('0x17')](this[_0x459a('0x22')])[_0x459a('0x20')](_0x52e364=>_0x52e364[_0x459a('0x3')]);}[_0x459a('0x7')](){const _0x5c1997=function(_0x3e19dc){const _0x3ed35f=new _0xed7a45();for(const _0x339d17 of _0x3e19dc)_0x3ed35f[_0x459a('0xd')](_0x339d17);return _0x3ed35f;}(this[_0x459a('0x22')]),_0x1e2ef3=this[_0x459a('0x1a')]['count'];for(let _0x2860ee=0x1;_0x2860ee<=_0x1e2ef3;_0x2860ee++)_0x5c1997[_0x459a('0x1')](0x1);for(const _0x3c731d of _0x5c1997)_0x3c731d[_0x459a('0x21')]();_0x1e2ef3>0x0&&_0x5c1997[_0x459a('0xd')](this['_collapsedCommentsView'],0x1),Ut(_0x172906(Array[_0x459a('0x17')](this[_0x459a('0x10')]),Array[_0x459a('0x17')](_0x5c1997)),this[_0x459a('0x10')],_0x5c1997);}[_0x459a('0x2d')](){Ut(_0x172906(Array['from'](this[_0x459a('0x10')]),Array[_0x459a('0x17')](this[_0x459a('0x22')])),this['visibleViews'],this[_0x459a('0x22')]);for(const _0x49b6ec of this[_0x459a('0x10')])_0x49b6ec[_0x459a('0x9')]();}}function Ut(_0x2bb404,_0x217fb2,_0x5790bc){let _0x58c35b=0x0;for(const _0x229447 of _0x2bb404)switch(_0x229447){case _0x459a('0x1e'):_0x217fb2['add'](_0x5790bc['get'](_0x58c35b),_0x58c35b),_0x58c35b++;break;case'delete':_0x217fb2[_0x459a('0x1')](_0x58c35b);break;case _0x459a('0x28'):_0x58c35b++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2daa=['commentInputView','showInput','isFocused','destroy','bindTemplate','ck-thread__user','value','showButtons','userView','setTemplate','ck-thread__input','bind','extendTemplate','set','ck-comment__input-container--active','div','ck-comment__input-container','then'];(function(_0xd49cb0,_0x2daac7){var _0x3f18a1=function(_0x34b68f){while(--_0x34b68f){_0xd49cb0['push'](_0xd49cb0['shift']());}};_0x3f18a1(++_0x2daac7);}(_0x2daa,0x9b));var _0x3f18=function(_0xd49cb0,_0x2daac7){_0xd49cb0=_0xd49cb0-0x0;var _0x3f18a1=_0x2daa[_0xd49cb0];return _0x3f18a1;};import{View as _0x332d95}from'ckeditor5/src/ui';import _0x49ab72 from'./commentinputview';import{UserView as _0x35cbcd}from'ckeditor5-collaboration/src/collaboration-core';export default class z extends _0x332d95{constructor(_0x231cce,_0x4637cf,_0x335fb7){super(_0x231cce),this[_0x3f18('0x7')]=new _0x49ab72(_0x231cce,_0x335fb7),this[_0x3f18('0x7')][_0x3f18('0x0')](_0x3f18('0xe'))['to'](this[_0x3f18('0x7')]['focusTracker'],_0x3f18('0x9'),this['commentInputView'],_0x3f18('0xd'),(_0x1d1714,_0x3b4f1c)=>_0x1d1714||!!_0x3b4f1c),this[_0x3f18('0x2')](_0x3f18('0x8'),!0x1),this['userView']=new _0x35cbcd(_0x231cce,_0x4637cf),this[_0x3f18('0xf')][_0x3f18('0x1')]({'attributes':{'class':_0x3f18('0xc')}}),this[_0x3f18('0x7')]['extendTemplate']({'attributes':{'class':_0x3f18('0x11')}}),this[_0x3f18('0x10')]({'tag':_0x3f18('0x4'),'attributes':{'class':[_0x3f18('0x5'),this[_0x3f18('0xb')]['if'](_0x3f18('0x8'),_0x3f18('0x3'))]},'children':[this[_0x3f18('0xf')],this[_0x3f18('0x7')]]});}[_0x3f18('0xa')](){return this[_0x3f18('0x7')][_0x3f18('0xa')]()[_0x3f18('0x6')](()=>super[_0x3f18('0xa')]());}}
23
+ var _0x4b26=['userView','ck-comment__input-container--active','value','showInput','div','extendTemplate','isFocused','set','bindTemplate','showButtons','bind','focusTracker','then','ck-comment__input-container','commentInputView','destroy','ck-thread__input'];(function(_0x396044,_0x4b2696){var _0x5f0abe=function(_0x11fec8){while(--_0x11fec8){_0x396044['push'](_0x396044['shift']());}};_0x5f0abe(++_0x4b2696);}(_0x4b26,0x155));var _0x5f0a=function(_0x396044,_0x4b2696){_0x396044=_0x396044-0x0;var _0x5f0abe=_0x4b26[_0x396044];return _0x5f0abe;};import{View as _0x8e84a4}from'ckeditor5/src/ui';import _0xc4d33f from'./commentinputview';import{UserView as _0x132842}from'ckeditor5-collaboration/src/collaboration-core';export default class dt extends _0x8e84a4{constructor(_0x54ad32,_0x95e054,_0x3ed4ac){super(_0x54ad32),this[_0x5f0a('0xd')]=new _0xc4d33f(_0x54ad32,_0x3ed4ac),this[_0x5f0a('0xd')][_0x5f0a('0x9')](_0x5f0a('0x8'))['to'](this[_0x5f0a('0xd')][_0x5f0a('0xa')],_0x5f0a('0x5'),this[_0x5f0a('0xd')],_0x5f0a('0x1'),(_0x1aa4d0,_0x15093b)=>_0x1aa4d0||!!_0x15093b),this[_0x5f0a('0x6')](_0x5f0a('0x2'),!0x1),this['userView']=new _0x132842(_0x54ad32,_0x95e054),this['userView'][_0x5f0a('0x4')]({'attributes':{'class':'ck-thread__user'}}),this['commentInputView'][_0x5f0a('0x4')]({'attributes':{'class':_0x5f0a('0xf')}}),this['setTemplate']({'tag':_0x5f0a('0x3'),'attributes':{'class':[_0x5f0a('0xc'),this[_0x5f0a('0x7')]['if'](_0x5f0a('0x2'),_0x5f0a('0x0'))]},'children':[this[_0x5f0a('0x10')],this[_0x5f0a('0xd')]]});}[_0x5f0a('0xe')](){return this[_0x5f0a('0xd')][_0x5f0a('0xe')]()[_0x5f0a('0xb')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5775=['Delete\x20comment\x20thread?','actionIndicator','length','.ck-thread__container','Write\x20a\x20comment...','ck-thread--active','setTemplate','removeCommentThread','change:isActive','ck-thread','isActive','_model','off','getTemplate','stop','bind','_cancelAllConfirms','placeholder','add','locale','ck-thread--remove-confirmation','execute','removeButton','remove','querySelector','containerElement','listenTo','isConfirm','showConfirm','fire','set','change:isReadOnly','cancelConfirm','_bindFirstCommentView','commentViews','get','commentsListView'];(function(_0x43ca61,_0x57756f){const _0x63eb7f=function(_0x313c45){while(--_0x313c45){_0x43ca61['push'](_0x43ca61['shift']());}};_0x63eb7f(++_0x57756f);}(_0x5775,0x181));const _0x63eb=function(_0x43ca61,_0x57756f){_0x43ca61=_0x43ca61-0x0;let _0x63eb7f=_0x5775[_0x43ca61];return _0x63eb7f;};import{mix as _0x3968c1}from'ckeditor5/src/utils';import{ConfirmMixin as _0x40e657}from'ckeditor5-collaboration/src/collaboration-core';import _0x21dca3 from'./basecommentthreadview';import{getTranslation as _0x26c5f5}from'../../../utils/common-translations';export default class M extends _0x21dca3{constructor(_0x1bcad2,_0x33dace,_0x254a00,_0x5e87a3){super(_0x1bcad2,_0x33dace,_0x254a00,_0x5e87a3),this[_0x63eb('0xf')]('actionIndicator',null),this[_0x63eb('0xa')]=null,this[_0x63eb('0x4')]=_0x1bcad2,this[_0x63eb('0x1c')](this[_0x63eb('0x23')]()),this['on'](_0x63eb('0x1e'),(_0x4f67de,_0x5c5e2b,_0x287fd4)=>{_0x287fd4||this[_0x63eb('0x1')]();}),this['listenTo'](this['_model'],_0x63eb('0x10'),(_0x255d48,_0x250566,_0x3cb6da)=>{_0x3cb6da&&this[_0x63eb('0x1')]();}),this[_0x63eb('0x18')]>0x0?this[_0x63eb('0x12')]():this[_0x63eb('0xb')](this[_0x63eb('0x15')][_0x63eb('0x13')],_0x63eb('0x3'),_0x3b6dda=>{this[_0x63eb('0x12')](),_0x3b6dda[_0x63eb('0x22')]();});}[_0x63eb('0x23')](){const _0x497455=this['bindTemplate'];return{'tag':'div','attributes':{'class':[_0x63eb('0x1f'),_0x497455['if'](_0x63eb('0x20'),_0x63eb('0x1b')),_0x497455['if'](_0x63eb('0xc'),_0x63eb('0x5')),_0x497455['to'](_0x63eb('0x17'),_0x727d23=>_0x727d23?'ck-thread--'+_0x727d23:'')],'data-thread-id':this[_0x63eb('0x21')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':[this[_0x63eb('0x15')],this['commentThreadInputView']]}]};}['render'](){super['render'](),this[_0x63eb('0xa')]=this['element'][_0x63eb('0x9')](_0x63eb('0x19'));}['_cancelAllConfirms'](){this[_0x63eb('0x11')]();for(const _0x5d6a70 of this[_0x63eb('0x15')][_0x63eb('0x13')])_0x5d6a70[_0x63eb('0x11')]();}[_0x63eb('0x12')](){const {locale:_0x291d78}=this,_0x86288e=this['commentsListView'][_0x63eb('0x13')][_0x63eb('0x14')](0x0);this[_0x63eb('0x0')](_0x63eb('0x17'))['to'](_0x86288e,'actionIndicator',_0x6870aa=>_0x63eb('0x8')===_0x6870aa?_0x63eb('0x8'):null),_0x86288e[_0x63eb('0x2')]=_0x26c5f5(_0x291d78,_0x63eb('0x1a')),_0x86288e[_0x63eb('0x7')]['on'](_0x63eb('0x6'),_0x56a763=>{_0x56a763[_0x63eb('0x24')](),this[_0x63eb('0xd')](_0x26c5f5(_0x291d78,_0x63eb('0x16')),this[_0x63eb('0xa')])['then'](()=>{this[_0x63eb('0xe')](_0x63eb('0x1d'));});},{'priority':'high'});}}_0x3968c1(M,_0x40e657);
23
+ const _0xa63e=['element','div','_cancelAllConfirms','actionIndicator','render','set','remove','fire','cancelConfirm','locale','Write\x20a\x20comment...','ck-thread--remove-confirmation','showConfirm','Delete\x20comment\x20thread?','_bindFirstCommentView','off','high','bind','commentViews','stop','removeCommentThread','length','then','commentsListView','listenTo','ck-thread__container','isActive','ck-thread--','_model','containerElement','isConfirm','get','commentThreadInputView','bindTemplate','ck-thread','getTemplate'];(function(_0x2b1b14,_0xa63eaf){const _0x1680dd=function(_0x50553d){while(--_0x50553d){_0x2b1b14['push'](_0x2b1b14['shift']());}};_0x1680dd(++_0xa63eaf);}(_0xa63e,0x119));const _0x1680=function(_0x2b1b14,_0xa63eaf){_0x2b1b14=_0x2b1b14-0x0;let _0x1680dd=_0xa63e[_0x2b1b14];return _0x1680dd;};import{mix as _0x2f255a}from'ckeditor5/src/utils';import{ConfirmMixin as _0x4adcc1}from'ckeditor5-collaboration/src/collaboration-core';import _0x4cafe8 from'./basecommentthreadview';import{getTranslation as _0x4e3f66}from'../../../utils/common-translations';export default class nt extends _0x4cafe8{constructor(_0x2bf4c3,_0xe1699c,_0x34b53c,_0x437029){super(_0x2bf4c3,_0xe1699c,_0x34b53c,_0x437029),this[_0x1680('0xc')](_0x1680('0xa'),null),this[_0x1680('0x0')]=null,this[_0x1680('0x10')]=_0x2bf4c3,this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x15b2e5,_0x5f1f07,_0x103949)=>{_0x103949||this[_0x1680('0x9')]();}),this['listenTo'](this[_0x1680('0x23')],'change:isReadOnly',(_0x2d78e2,_0x1b8387,_0x35fb35)=>{_0x35fb35&&this[_0x1680('0x9')]();}),this[_0x1680('0x1c')]>0x0?this[_0x1680('0x15')]():this[_0x1680('0x1f')](this['commentsListView'][_0x1680('0x19')],'add',_0x15a018=>{this[_0x1680('0x15')](),_0x15a018[_0x1680('0x16')]();});}[_0x1680('0x6')](){const _0x459cbe=this[_0x1680('0x4')];return{'tag':_0x1680('0x8'),'attributes':{'class':[_0x1680('0x5'),_0x459cbe['if'](_0x1680('0x21'),'ck-thread--active'),_0x459cbe['if'](_0x1680('0x1'),_0x1680('0x12')),_0x459cbe['to']('actionIndicator',_0x5c16cf=>_0x5c16cf?_0x1680('0x22')+_0x5c16cf:'')],'data-thread-id':this[_0x1680('0x23')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1680('0x8'),'attributes':{'class':_0x1680('0x20')},'children':[this[_0x1680('0x1e')],this[_0x1680('0x3')]]}]};}[_0x1680('0xb')](){super[_0x1680('0xb')](),this['containerElement']=this[_0x1680('0x7')]['querySelector']('.ck-thread__container');}[_0x1680('0x9')](){this[_0x1680('0xf')]();for(const _0x2b79a7 of this['commentsListView'][_0x1680('0x19')])_0x2b79a7[_0x1680('0xf')]();}[_0x1680('0x15')](){const {locale:_0x3cff31}=this,_0x2f1171=this[_0x1680('0x1e')][_0x1680('0x19')][_0x1680('0x2')](0x0);this[_0x1680('0x18')](_0x1680('0xa'))['to'](_0x2f1171,_0x1680('0xa'),_0x4bbd59=>_0x1680('0xd')===_0x4bbd59?_0x1680('0xd'):null),_0x2f1171['placeholder']=_0x4e3f66(_0x3cff31,_0x1680('0x11')),_0x2f1171['removeButton']['on']('execute',_0x2f2232=>{_0x2f2232[_0x1680('0x1a')](),this[_0x1680('0x13')](_0x4e3f66(_0x3cff31,_0x1680('0x14')),this[_0x1680('0x0')])[_0x1680('0x1d')](()=>{this[_0x1680('0xe')](_0x1680('0x1b'));});},{'priority':_0x1680('0x17')});}}_0x2f255a(nt,_0x4adcc1);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d0=['ck-comment__info-time','extendTemplate','_createRemoveButton','name','ck-comment--remove-confirmation','createdAt','Delete\x20comment?','div','ck-annotation__actions','ck-annotation__user','element','fire','listenTo','ck-comment__main','placeholder','switchToEditMode','cancelConfirm','ck-comment__user','setTemplate','bind','userView','isEditable','formatDateTime','Reply...','edit','isRemovable','_createCommentInputView','render','removeButton','ck-comment--edit','ck-comment--remove','ck-comment--','ck-annotation__info-time','mouseleave','ck-annotation__main','ck-comment__info','ck-annotation__content-wrapper','Remove','isEditMode','remove','ck-comment__wrapper','icon','_createEditButton','showConfirm','isConfirm','set','ck-comment','pencil','removeComment','actionIndicator','isEnabled','ck-annotation__actions--hidden','isVisible','then','ck-comment__actions--hidden','visibleView','_model','_attachActions','locale','ck-comment__info-name','editButton','author','execute','label'];(function(_0x43a6dd,_0x38d03e){const _0x3773d1=function(_0x1b541b){while(--_0x1b541b){_0x43a6dd['push'](_0x43a6dd['shift']());}};_0x3773d1(++_0x38d03e);}(_0x38d0,0x180));const _0x3773=function(_0x43a6dd,_0x38d03e){_0x43a6dd=_0x43a6dd-0x0;let _0x3773d1=_0x38d0[_0x43a6dd];return _0x3773d1;};import{mix as _0x27eef6}from'ckeditor5/src/utils';import{ButtonView as _0x685a9e}from'ckeditor5/src/ui';import{icons as _0x116a90}from'ckeditor5/src/core';import{UserView as _0x3863a5,ConfirmMixin as _0x48ae5a}from'ckeditor5-collaboration/src/collaboration-core';import _0x5a149c from'./basecommentview';import _0x3731de from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4656f7}from'../../../utils/common-translations';export default class R extends _0x5a149c{constructor(_0x1f46d1,_0x49c388,_0x2956ad){super(_0x1f46d1,_0x49c388,_0x2956ad),this[_0x3773('0x2d')](_0x3773('0x31'),null),this['set']('placeholder',_0x4656f7(_0x1f46d1,_0x3773('0x17'))),this['set']('createdAt',null),this[_0x3773('0x13')](_0x3773('0x5'))['to'](_0x49c388),this['editButton']=this[_0x3773('0x2a')](),this[_0x3773('0x1c')]=this[_0x3773('0x2')](),this[_0x3773('0x14')]=new _0x3863a5(_0x1f46d1,_0x49c388[_0x3773('0x3d')]),this[_0x3773('0x14')][_0x3773('0x1')]({'attributes':{'class':[_0x3773('0x11'),_0x3773('0x9')]}}),this[_0x3773('0xc')](_0x49c388,'change:isRemovable',()=>this[_0x3773('0x10')]()),this[_0x3773('0x12')](this['getTemplate']());}['getTemplate'](){const _0x3fccac=this['bindTemplate'];return{'tag':'li','attributes':{'class':[_0x3773('0x28'),_0x3fccac['if'](_0x3773('0x2c'),_0x3773('0x4'))],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x3773('0x2e'),'ck-annotation',_0x3fccac['if'](_0x3773('0x26'),_0x3773('0x1d')),_0x3fccac['to'](_0x3773('0x31'),_0x20cb09=>_0x20cb09?_0x3773('0x1f')+_0x20cb09:'')],'data-author-id':this['_model'][_0x3773('0x3d')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x3773('0x14')],{'tag':'div','attributes':{'class':[_0x3773('0xd'),_0x3773('0x22')]},'children':[{'tag':_0x3773('0x7'),'attributes':{'class':[_0x3773('0x23'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x3773('0x14')][_0x3773('0x3')]}],'attributes':{'class':[_0x3773('0x3b'),'ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x3fccac['to'](_0x3773('0x5')),'class':[_0x3773('0x0'),_0x3773('0x20')]},'children':[{'text':_0x3fccac['to'](_0x3773('0x5'),_0x59195d=>this['_config'][_0x3773('0x16')](_0x59195d))}]}]},{'tag':_0x3773('0x7'),'attributes':{'class':['ck-comment__actions',_0x3773('0x8'),_0x3fccac['if'](_0x3773('0x26'),_0x3773('0x36')),_0x3fccac['if'](_0x3773('0x26'),_0x3773('0x33'))]},'children':[this[_0x3773('0x3c')],this[_0x3773('0x1c')]]},{'tag':_0x3773('0x7'),'attributes':{'class':[_0x3773('0x24')]},'children':this[_0x3773('0x37')]}]}]}]};}[_0x3773('0x2a')](){const _0x513cc1=new _0x685a9e(this[_0x3773('0x3a')]);return _0x513cc1[_0x3773('0x3f')]=_0x4656f7(this[_0x3773('0x3a')],'Edit'),_0x513cc1[_0x3773('0x29')]=_0x116a90[_0x3773('0x2f')],_0x513cc1[_0x3773('0x1')]({'attributes':{'class':'ck-comment--edit'}}),_0x513cc1['bind']('isEnabled')['to'](this[_0x3773('0x38')],'isReadOnly',_0x25a976=>!_0x25a976),_0x513cc1[_0x3773('0x13')](_0x3773('0x34'))['to'](this['_model'],_0x3773('0x15')),_0x513cc1['on'](_0x3773('0x3e'),()=>this[_0x3773('0xf')]()),_0x513cc1;}[_0x3773('0x2')](){const _0x3e6ce4=new _0x685a9e(this['locale']);return _0x3e6ce4[_0x3773('0x3f')]=_0x4656f7(this[_0x3773('0x3a')],_0x3773('0x25')),_0x3e6ce4[_0x3773('0x29')]=_0x3731de,_0x3e6ce4[_0x3773('0x1')]({'attributes':{'class':_0x3773('0x1e')}}),_0x3e6ce4[_0x3773('0x13')](_0x3773('0x32'))['to'](this['_model'],'isReadOnly',_0x828ba8=>!_0x828ba8),_0x3e6ce4['bind'](_0x3773('0x34'))['to'](this[_0x3773('0x38')],_0x3773('0x19')),_0x3e6ce4['on']('execute',()=>{this[_0x3773('0x2b')](_0x4656f7(this[_0x3773('0x3a')],_0x3773('0x6')),this[_0x3773('0xa')])[_0x3773('0x35')](()=>{this[_0x3773('0xb')](_0x3773('0x30'),this['_model']['id']);});}),_0x3e6ce4;}[_0x3773('0x39')](_0x945ecc,_0x50fbdd){this['listenTo'](_0x945ecc,'mouseenter',()=>this[_0x3773('0x31')]=_0x50fbdd),this[_0x3773('0xc')](_0x945ecc,'focus',()=>this[_0x3773('0x31')]=_0x50fbdd),this[_0x3773('0xc')](_0x945ecc,_0x3773('0x21'),()=>this[_0x3773('0x31')]=null),this[_0x3773('0xc')](_0x945ecc,'blur',()=>this[_0x3773('0x31')]=null);}[_0x3773('0x1a')](){const _0x1f3f21=super[_0x3773('0x1a')]();return _0x1f3f21['bind'](_0x3773('0xe'))['to'](this),_0x1f3f21;}[_0x3773('0x1b')](){super[_0x3773('0x1b')](),this[_0x3773('0x39')](this[_0x3773('0x3c')][_0x3773('0xa')],_0x3773('0x18')),this['_attachActions'](this['removeButton']['element'],_0x3773('0x27'));}}_0x27eef6(R,_0x48ae5a);
23
+ const _0xde9c=['removeButton','bind','element','locale','set','ck-comment__info-name','ck-comment--remove','focus','setTemplate','isEditable','ck-comment--edit','label','ck-annotation__content-wrapper','isReadOnly','change:isRemovable','userView','listenTo','bindTemplate','_config','execute','cancelConfirm','Reply...','ck-comment__actions','mouseenter','isEditMode','Edit','_createRemoveButton','isEnabled','formatDateTime','render','_model','showConfirm','_createEditButton','remove','icon','extendTemplate','editButton','name','pencil','createdAt','then','switchToEditMode','visibleView','div','ck-comment--remove-confirmation','ck-comment--','ck-comment__info','isVisible','span','time','blur','isRemovable','ck-annotation__main','ck-annotation__actions--hidden','edit','fire','ck-annotation__actions','author','getTemplate','_createCommentInputView','ck-annotation__user','ck-comment__info-time','isConfirm','ck-annotation__info','placeholder','ck-comment__actions--hidden','ck-comment__user','_attachActions','actionIndicator','Remove','Delete\x20comment?'];(function(_0x2266d1,_0xde9cb8){const _0x2a9b15=function(_0x156055){while(--_0x156055){_0x2266d1['push'](_0x2266d1['shift']());}};_0x2a9b15(++_0xde9cb8);}(_0xde9c,0xf4));const _0x2a9b=function(_0x2266d1,_0xde9cb8){_0x2266d1=_0x2266d1-0x0;let _0x2a9b15=_0xde9c[_0x2266d1];return _0x2a9b15;};import{mix as _0x2df9ae}from'ckeditor5/src/utils';import{ButtonView as _0x368055}from'ckeditor5/src/ui';import{icons as _0x3d612c}from'ckeditor5/src/core';import{UserView as _0x3ab954,ConfirmMixin as _0x3dfa83}from'ckeditor5-collaboration/src/collaboration-core';import _0x34ee49 from'./basecommentview';import _0x434e41 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x12be0f}from'../../../utils/common-translations';export default class ot extends _0x34ee49{constructor(_0x42fe10,_0x1a8b9b,_0x1a60ae){super(_0x42fe10,_0x1a8b9b,_0x1a60ae),this[_0x2a9b('0x2c')](_0x2a9b('0x25'),null),this['set'](_0x2a9b('0x21'),_0x12be0f(_0x42fe10,_0x2a9b('0x3d'))),this[_0x2a9b('0x2c')](_0x2a9b('0x8'),null),this[_0x2a9b('0x29')](_0x2a9b('0x8'))['to'](_0x1a8b9b),this[_0x2a9b('0x5')]=this[_0x2a9b('0x1')](),this[_0x2a9b('0x28')]=this[_0x2a9b('0x42')](),this[_0x2a9b('0x37')]=new _0x3ab954(_0x42fe10,_0x1a8b9b[_0x2a9b('0x1a')]),this['userView']['extendTemplate']({'attributes':{'class':[_0x2a9b('0x23'),_0x2a9b('0x1d')]}}),this['listenTo'](_0x1a8b9b,_0x2a9b('0x36'),()=>this[_0x2a9b('0x3c')]()),this[_0x2a9b('0x30')](this['getTemplate']());}[_0x2a9b('0x1b')](){const _0x90743f=this[_0x2a9b('0x39')];return{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x90743f['if'](_0x2a9b('0x1f'),_0x2a9b('0xd'))],'tabindex':-0x1},'children':[{'tag':_0x2a9b('0xc'),'attributes':{'class':['ck-comment','ck-annotation',_0x90743f['if']('isEditMode',_0x2a9b('0x32')),_0x90743f['to'](_0x2a9b('0x25'),_0x1fa7d0=>_0x1fa7d0?_0x2a9b('0xe')+_0x1fa7d0:'')],'data-author-id':this[_0x2a9b('0x46')][_0x2a9b('0x1a')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x2a9b('0x37')],{'tag':_0x2a9b('0xc'),'attributes':{'class':['ck-comment__main',_0x2a9b('0x15')]},'children':[{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0xf'),_0x2a9b('0x20')]},'children':[{'tag':_0x2a9b('0x11'),'children':[{'text':this[_0x2a9b('0x37')][_0x2a9b('0x6')]}],'attributes':{'class':[_0x2a9b('0x2d'),'ck-annotation__info-name']}},{'tag':_0x2a9b('0x12'),'attributes':{'datetime':_0x90743f['to'](_0x2a9b('0x8')),'class':[_0x2a9b('0x1e'),'ck-annotation__info-time']},'children':[{'text':_0x90743f['to'](_0x2a9b('0x8'),_0x2f03d7=>this[_0x2a9b('0x3a')][_0x2a9b('0x44')](_0x2f03d7))}]}]},{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0x3e'),_0x2a9b('0x19'),_0x90743f['if'](_0x2a9b('0x40'),_0x2a9b('0x22')),_0x90743f['if'](_0x2a9b('0x40'),_0x2a9b('0x16'))]},'children':[this[_0x2a9b('0x5')],this[_0x2a9b('0x28')]]},{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0x34')]},'children':this[_0x2a9b('0xb')]}]}]}]};}[_0x2a9b('0x1')](){const _0x113195=new _0x368055(this[_0x2a9b('0x2b')]);return _0x113195[_0x2a9b('0x33')]=_0x12be0f(this[_0x2a9b('0x2b')],_0x2a9b('0x41')),_0x113195[_0x2a9b('0x3')]=_0x3d612c[_0x2a9b('0x7')],_0x113195[_0x2a9b('0x4')]({'attributes':{'class':'ck-comment--edit'}}),_0x113195[_0x2a9b('0x29')]('isEnabled')['to'](this[_0x2a9b('0x46')],_0x2a9b('0x35'),_0x424bab=>!_0x424bab),_0x113195[_0x2a9b('0x29')](_0x2a9b('0x10'))['to'](this[_0x2a9b('0x46')],_0x2a9b('0x31')),_0x113195['on'](_0x2a9b('0x3b'),()=>this[_0x2a9b('0xa')]()),_0x113195;}['_createRemoveButton'](){const _0x566995=new _0x368055(this[_0x2a9b('0x2b')]);return _0x566995[_0x2a9b('0x33')]=_0x12be0f(this['locale'],_0x2a9b('0x26')),_0x566995[_0x2a9b('0x3')]=_0x434e41,_0x566995[_0x2a9b('0x4')]({'attributes':{'class':_0x2a9b('0x2e')}}),_0x566995[_0x2a9b('0x29')](_0x2a9b('0x43'))['to'](this['_model'],_0x2a9b('0x35'),_0x547fb8=>!_0x547fb8),_0x566995['bind'](_0x2a9b('0x10'))['to'](this[_0x2a9b('0x46')],_0x2a9b('0x14')),_0x566995['on'](_0x2a9b('0x3b'),()=>{this[_0x2a9b('0x0')](_0x12be0f(this[_0x2a9b('0x2b')],_0x2a9b('0x27')),this['element'])[_0x2a9b('0x9')](()=>{this[_0x2a9b('0x18')]('removeComment',this[_0x2a9b('0x46')]['id']);});}),_0x566995;}[_0x2a9b('0x24')](_0xcff323,_0x3e0ed3){this[_0x2a9b('0x38')](_0xcff323,_0x2a9b('0x3f'),()=>this['actionIndicator']=_0x3e0ed3),this['listenTo'](_0xcff323,_0x2a9b('0x2f'),()=>this['actionIndicator']=_0x3e0ed3),this[_0x2a9b('0x38')](_0xcff323,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0xcff323,_0x2a9b('0x13'),()=>this[_0x2a9b('0x25')]=null);}[_0x2a9b('0x1c')](){const _0x171d69=super[_0x2a9b('0x1c')]();return _0x171d69[_0x2a9b('0x29')](_0x2a9b('0x21'))['to'](this),_0x171d69;}['render'](){super[_0x2a9b('0x45')](),this[_0x2a9b('0x24')](this[_0x2a9b('0x5')][_0x2a9b('0x2a')],_0x2a9b('0x17')),this[_0x2a9b('0x24')](this[_0x2a9b('0x28')][_0x2a9b('0x2a')],_0x2a9b('0x2'));}}_0x2df9ae(ot,_0x3dfa83);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3355=['Comments','pluginName','requires'];(function(_0x1db8cf,_0x33552d){var _0x4dd703=function(_0x5468c7){while(--_0x5468c7){_0x1db8cf['push'](_0x1db8cf['shift']());}};_0x4dd703(++_0x33552d);}(_0x3355,0xe0));var _0x4dd7=function(_0x1db8cf,_0x33552d){_0x1db8cf=_0x1db8cf-0x0;var _0x4dd703=_0x3355[_0x1db8cf];return _0x4dd703;};import{Plugin as _0x24e048}from'ckeditor5/src/core';import _0xeb67bc from'./comments/commentsrepository';import _0x15739b from'./comments/commentsediting';import _0x51e817 from'./comments/commentsui';import _0x5dd03d from'./commentsonly';import _0x2ed951 from'./annotations/widesidebar';import _0x208f3a from'./annotations/narrowsidebar';import _0x1ab717 from'./annotations/inlineannotations';export default class c extends _0x24e048{static get[_0x4dd7('0x0')](){return[_0xeb67bc,_0x15739b,_0x51e817,_0x5dd03d,_0x2ed951,_0x208f3a,_0x1ab717];}static get[_0x4dd7('0x2')](){return _0x4dd7('0x1');}}
23
+ var _0x17d3=['Comments','pluginName','requires'];(function(_0x8d7308,_0x17d3a3){var _0x5cd555=function(_0x4ed1d7){while(--_0x4ed1d7){_0x8d7308['push'](_0x8d7308['shift']());}};_0x5cd555(++_0x17d3a3);}(_0x17d3,0x89));var _0x5cd5=function(_0x8d7308,_0x17d3a3){_0x8d7308=_0x8d7308-0x0;var _0x5cd555=_0x17d3[_0x8d7308];return _0x5cd555;};import{Plugin as _0x258e96}from'ckeditor5/src/core';import _0x5d8f4c from'./comments/commentsrepository';import _0x340a9f from'./comments/commentsediting';import _0x1d9b85 from'./comments/commentsui';import _0x536c02 from'./commentsonly';import _0x39a72d from'./annotations/widesidebar';import _0x1884ae from'./annotations/narrowsidebar';import _0x1aecbe from'./annotations/inlineannotations';export default class c extends _0x258e96{static get[_0x5cd5('0x0')](){return[_0x5d8f4c,_0x340a9f,_0x1d9b85,_0x536c02,_0x39a72d,_0x1884ae,_0x1aecbe];}static get[_0x5cd5('0x2')](){return _0x5cd5('0x1');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5879=['get','config','clearForceDisabled','plugins','_disableCommentsOnlyMode','listenTo','affectsData','view','commentsOnly','addCommentThread','document','set','stopListening','forceDisabled','commentsOnlyMode','editor','editing','isEnabled','commands','highest','has','requires','_enableCommentsOnlyMode','stop','cut'];(function(_0x7c1826,_0x587939){const _0x40e8a3=function(_0x396bfd){while(--_0x396bfd){_0x7c1826['push'](_0x7c1826['shift']());}};_0x40e8a3(++_0x587939);}(_0x5879,0x84));const _0x40e8=function(_0x7c1826,_0x587939){_0x7c1826=_0x7c1826-0x0;let _0x40e8a3=_0x5879[_0x7c1826];return _0x40e8a3;};import{Plugin as _0x4d0f1f}from'ckeditor5/src/core';import _0x43173d from'./comments/commentsediting';export default class e extends _0x4d0f1f{static get['pluginName'](){return'CommentsOnly';}static get[_0x40e8('0xe')](){return[_0x43173d];}constructor(_0x38a4f2){super(_0x38a4f2),this[_0x40e8('0x4')]('isEnabled',null),this['on']('change:isEnabled',(_0x345d92,_0x155712,_0x2215c8)=>{_0x2215c8?this[_0x40e8('0xf')]():this[_0x40e8('0x16')]();});}['afterInit'](){null===this[_0x40e8('0xa')]&&(this['isEnabled']=!!this[_0x40e8('0x8')][_0x40e8('0x13')][_0x40e8('0x12')](_0x40e8('0x1')));}['_enableCommentsOnlyMode'](){for(const [_0x438816,_0x26dbd7]of this[_0x40e8('0x8')][_0x40e8('0xb')])_0x26dbd7[_0x40e8('0x18')]&&_0x40e8('0x2')!==_0x438816&&_0x26dbd7[_0x40e8('0x6')](_0x40e8('0x7'));this['editor'][_0x40e8('0x15')][_0x40e8('0xd')]('DragDrop')&&this[_0x40e8('0x8')][_0x40e8('0x15')][_0x40e8('0x12')]('DragDrop')['forceDisabled'](_0x40e8('0x7'));const _0x1b3148=this['editor'][_0x40e8('0x9')]['view']['document'];this[_0x40e8('0x17')](_0x1b3148,_0x40e8('0x11'),_0xd70501=>_0xd70501[_0x40e8('0x10')](),{'priority':'highest'}),this[_0x40e8('0x17')](_0x1b3148,'clipboardInput',_0x31794f=>_0x31794f[_0x40e8('0x10')](),{'priority':_0x40e8('0xc')}),this[_0x40e8('0x17')](_0x1b3148,'delete',_0x5a6a96=>_0x5a6a96['stop'](),{'priority':_0x40e8('0xc')});}[_0x40e8('0x16')](){for(const [_0x5c34ed,_0x25f653]of this['editor']['commands'])_0x25f653[_0x40e8('0x18')]&&_0x40e8('0x2')!==_0x5c34ed&&_0x25f653[_0x40e8('0x14')](_0x40e8('0x7'));this[_0x40e8('0x5')](this[_0x40e8('0x8')][_0x40e8('0x9')][_0x40e8('0x0')][_0x40e8('0x3')]);}}
23
+ const _0x3fb4=['cut','change:isEnabled','editing','affectsData','document','clipboardInput','commands','_enableCommentsOnlyMode','get','commentsOnly','CommentsOnly','forceDisabled','view','stopListening','has','set','listenTo','stop','_disableCommentsOnlyMode','requires','editor','DragDrop','commentsOnlyMode','highest','addCommentThread','isEnabled','delete','plugins','pluginName'];(function(_0x3dd148,_0x3fb4fd){const _0x2c71bd=function(_0x20dcba){while(--_0x20dcba){_0x3dd148['push'](_0x3dd148['shift']());}};_0x2c71bd(++_0x3fb4fd);}(_0x3fb4,0x167));const _0x2c71=function(_0x3dd148,_0x3fb4fd){_0x3dd148=_0x3dd148-0x0;let _0x2c71bd=_0x3fb4[_0x3dd148];return _0x2c71bd;};import{Plugin as _0x3660a7}from'ckeditor5/src/core';import _0x10cce2 from'./comments/commentsediting';export default class e extends _0x3660a7{static get[_0x2c71('0x11')](){return _0x2c71('0x1c');}static get[_0x2c71('0x8')](){return[_0x10cce2];}constructor(_0x552e3b){super(_0x552e3b),this[_0x2c71('0x4')](_0x2c71('0xe'),null),this['on'](_0x2c71('0x13'),(_0x418327,_0x1f6366,_0x2285d2)=>{_0x2285d2?this['_enableCommentsOnlyMode']():this[_0x2c71('0x7')]();});}['afterInit'](){null===this[_0x2c71('0xe')]&&(this[_0x2c71('0xe')]=!!this[_0x2c71('0x9')]['config'][_0x2c71('0x1a')](_0x2c71('0x1b')));}[_0x2c71('0x19')](){for(const [_0x3979f3,_0xd2462a]of this[_0x2c71('0x9')][_0x2c71('0x18')])_0xd2462a[_0x2c71('0x15')]&&_0x2c71('0xd')!==_0x3979f3&&_0xd2462a[_0x2c71('0x0')]('commentsOnlyMode');this['editor'][_0x2c71('0x10')][_0x2c71('0x3')](_0x2c71('0xa'))&&this['editor'][_0x2c71('0x10')]['get']('DragDrop')['forceDisabled'](_0x2c71('0xb'));const _0x4967e7=this['editor'][_0x2c71('0x14')]['view'][_0x2c71('0x16')];this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0x12'),_0x35b9d1=>_0x35b9d1['stop'](),{'priority':'highest'}),this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0x17'),_0x3d936e=>_0x3d936e['stop'](),{'priority':_0x2c71('0xc')}),this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0xf'),_0x12a4d1=>_0x12a4d1[_0x2c71('0x6')](),{'priority':_0x2c71('0xc')});}['_disableCommentsOnlyMode'](){for(const [_0x390a10,_0x483407]of this[_0x2c71('0x9')][_0x2c71('0x18')])_0x483407[_0x2c71('0x15')]&&_0x2c71('0xd')!==_0x390a10&&_0x483407['clearForceDisabled'](_0x2c71('0xb'));this[_0x2c71('0x2')](this[_0x2c71('0x9')]['editing'][_0x2c71('0x1')][_0x2c71('0x16')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2ac5fd,_0x1c07f9,_0x318695){const t=_0x2ac5fd['t'];switch(_0x1c07f9){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x318695);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x318695);}}
23
+ export function getTranslation(_0x511326,_0x433c43,_0x5f3385){const t=_0x511326['t'];switch(_0x433c43){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5f3385);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x5f3385);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cfe=['disconnect','attributeName','class','cancel','attributes','type'];(function(_0x280552,_0x1cfee4){const _0x795e7b=function(_0x2e817e){while(--_0x2e817e){_0x280552['push'](_0x280552['shift']());}};_0x795e7b(++_0x1cfee4);}(_0x1cfe,0x10c));const _0x795e=function(_0x280552,_0x1cfee4){_0x280552=_0x280552-0x0;let _0x795e7b=_0x1cfe[_0x280552];return _0x795e7b;};import{throttle as _0x2825e2}from'lodash-es';export default function ut(_0x16d61e){const _0x24aa2=_0x2825e2(_0x16d61e,0x1e),_0x5052a4=new MutationObserver(_0x43f2a9=>{for(const _0x1573b6 of _0x43f2a9)(_0x795e('0x0')==_0x1573b6[_0x795e('0x1')]&&_0x795e('0x4')==_0x1573b6[_0x795e('0x3')]||'childList'==_0x1573b6[_0x795e('0x1')])&&_0x24aa2();});return{'attach'(_0x276237){_0x5052a4['observe'](_0x276237,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x5052a4[_0x795e('0x2')](),_0x24aa2[_0x795e('0x5')]();}};}
23
+ const _0x3959=['observe','childList','attributes','type'];(function(_0x1dc59e,_0x3959e1){const _0x55c140=function(_0x3dc934){while(--_0x3dc934){_0x1dc59e['push'](_0x1dc59e['shift']());}};_0x55c140(++_0x3959e1);}(_0x3959,0xe1));const _0x55c1=function(_0x1dc59e,_0x3959e1){_0x1dc59e=_0x1dc59e-0x0;let _0x55c140=_0x3959[_0x1dc59e];return _0x55c140;};import{throttle as _0x1c7b42}from'lodash-es';export default function ut(_0x416758){const _0x41fb69=_0x1c7b42(_0x416758,0x1e),_0x6071ff=new MutationObserver(_0x249702=>{for(const _0x71e923 of _0x249702)(_0x55c1('0x1')==_0x71e923[_0x55c1('0x2')]&&'class'==_0x71e923['attributeName']||_0x55c1('0x0')==_0x71e923[_0x55c1('0x2')])&&_0x41fb69();});return{'attach'(_0x491fbc){_0x6071ff[_0x55c1('0x3')](_0x491fbc,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x6071ff['disconnect'](),_0x41fb69['cancel']();}};}
@@ -47,24 +47,3 @@
47
47
  .ck.ck-balloon-panel .ck-annotation-wrapper i {
48
48
  font-style: italic;
49
49
  }
50
-
51
- /* Because tooltip is a children of balloon with `overflow: hidden`, we need to fix them via CSS.
52
- * If we introduce tooltip out of BalloonPanelView, we can remove it. */
53
- .ck.ck-balloon-panel button.ck-suggestion--accept .ck-tooltip__text,
54
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text {
55
- text-align: center;
56
- }
57
-
58
- /* Style the last button inside suggestion (discard action) to tooltip text overlap - align it to the right. */
59
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip {
60
- left: unset;
61
- right: 0;
62
- }
63
-
64
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text {
65
- left: unset;
66
- }
67
-
68
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text::after {
69
- left: calc(100% - 10px);
70
- }