@ckeditor/ckeditor5-comments 35.3.1 → 35.3.2

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 (90) hide show
  1. package/build/comments.js +1 -2
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsediting.js +1 -1
  18. package/src/comments/commentsrepository.js +1 -1
  19. package/src/comments/commentsui.js +1 -1
  20. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  21. package/src/comments/integrations/importword.js +1 -1
  22. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  23. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  25. package/src/comments/ui/commentthreadcontroller.js +1 -1
  26. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  27. package/src/comments/ui/view/basecommentview.js +1 -1
  28. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  29. package/src/comments/ui/view/commentcontentview.js +1 -1
  30. package/src/comments/ui/view/commentinputview.js +1 -1
  31. package/src/comments/ui/view/commentslistview.js +1 -1
  32. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  33. package/src/comments/ui/view/commentthreadview.js +1 -1
  34. package/src/comments/ui/view/commentview.js +1 -1
  35. package/src/comments.js +1 -1
  36. package/src/commentsonly.js +1 -1
  37. package/src/utils/common-translations.js +1 -1
  38. package/src/utils/createmutationobserver.js +1 -1
  39. package/build/translations/af.js +0 -1
  40. package/build/translations/ar.js +0 -1
  41. package/build/translations/bg.js +0 -1
  42. package/build/translations/bn.js +0 -1
  43. package/build/translations/bs.js +0 -1
  44. package/build/translations/ca.js +0 -1
  45. package/build/translations/cs.js +0 -1
  46. package/build/translations/da.js +0 -1
  47. package/build/translations/de-ch.js +0 -1
  48. package/build/translations/de.js +0 -1
  49. package/build/translations/el.js +0 -1
  50. package/build/translations/en-au.js +0 -1
  51. package/build/translations/es-co.js +0 -1
  52. package/build/translations/es.js +0 -1
  53. package/build/translations/et.js +0 -1
  54. package/build/translations/fa.js +0 -1
  55. package/build/translations/fi.js +0 -1
  56. package/build/translations/fr.js +0 -1
  57. package/build/translations/gl.js +0 -1
  58. package/build/translations/he.js +0 -1
  59. package/build/translations/hi.js +0 -1
  60. package/build/translations/hr.js +0 -1
  61. package/build/translations/hu.js +0 -1
  62. package/build/translations/id.js +0 -1
  63. package/build/translations/it.js +0 -1
  64. package/build/translations/ja.js +0 -1
  65. package/build/translations/jv.js +0 -1
  66. package/build/translations/ko.js +0 -1
  67. package/build/translations/lt.js +0 -1
  68. package/build/translations/lv.js +0 -1
  69. package/build/translations/ms.js +0 -1
  70. package/build/translations/nl.js +0 -1
  71. package/build/translations/no.js +0 -1
  72. package/build/translations/pl.js +0 -1
  73. package/build/translations/pt-br.js +0 -1
  74. package/build/translations/pt.js +0 -1
  75. package/build/translations/ro.js +0 -1
  76. package/build/translations/ru.js +0 -1
  77. package/build/translations/sk.js +0 -1
  78. package/build/translations/sr-latn.js +0 -1
  79. package/build/translations/sr.js +0 -1
  80. package/build/translations/sv.js +0 -1
  81. package/build/translations/th.js +0 -1
  82. package/build/translations/tk.js +0 -1
  83. package/build/translations/tr.js +0 -1
  84. package/build/translations/tt.js +0 -1
  85. package/build/translations/ug.js +0 -1
  86. package/build/translations/uk.js +0 -1
  87. package/build/translations/ur.js +0 -1
  88. package/build/translations/vi.js +0 -1
  89. package/build/translations/zh-cn.js +0 -1
  90. package/build/translations/zh.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dac=['addCommentThread','addComment','activeMarker','comment:','focus','commands','execute','focusTracker','from','isEnabled','hasMarkerForId','_createUIButton','map','view','editing','highest','length','requires','hasCommentThread','init','comment','editor','getAllMarkersForId','CommentsUI','_threadToController','find','model','low','_viewToController','innerView','change:activeAnnotations','get','plugins','push','componentFactory','icon','listenTo','CommentsListView','bind','CommentThreadInputView','stop','locale','removeCommentThread','addSourceCollector','isFocused','label'];(function(_0x5975e0,_0x5dac8b){const _0x4fc9c4=function(_0x51d097){while(--_0x51d097){_0x5975e0['push'](_0x5975e0['shift']());}};_0x4fc9c4(++_0x5dac8b);}(_0x5dac,0x7b));const _0x4fc9=function(_0x5975e0,_0x5dac8b){_0x5975e0=_0x5975e0-0x0;let _0x4fc9c4=_0x5dac[_0x5975e0];return _0x4fc9c4;};import{Plugin as _0x291863}from'ckeditor5/src/core';import _0x131fce from'./commentsrepository';import _0x557d2e from'./commentsediting';import _0x1a3fc3 from'../annotations/editorannotations';import{ButtonView as _0x321017}from'ckeditor5/src/ui';import _0x1a7b79 from'../../theme/icons/add-comment.svg';import _0x4f46e7 from'../annotations/annotations';import _0x1cc47c from'./ui/view/commentslistview';import _0x20145b from'./ui/view/commentthreadinputview';import{getTranslation as _0x4a1603}from'../utils/common-translations';export default class n extends _0x291863{static get['pluginName'](){return _0x4fc9('0x26');}static get[_0x4fc9('0x20')](){return[_0x131fce,_0x557d2e,_0x1a3fc3,_0x4f46e7];}get[_0x4fc9('0x6')](){return _0x1cc47c;}get[_0x4fc9('0x8')](){return _0x20145b;}[_0x4fc9('0x22')](){const _0x430c3d=this[_0x4fc9('0x24')],_0x39531b=_0x430c3d[_0x4fc9('0x1')]['get'](_0x131fce),_0x253aef=_0x430c3d[_0x4fc9('0x1')][_0x4fc9('0x0')](_0x557d2e),_0x3aac97=_0x430c3d[_0x4fc9('0x1')]['get'](_0x4f46e7),_0x58982f=_0x430c3d[_0x4fc9('0x1')][_0x4fc9('0x0')](_0x1a3fc3);_0x430c3d['ui'][_0x4fc9('0x3')]['add'](_0x4fc9('0x23'),()=>this[_0x4fc9('0x1a')]()),_0x58982f[_0x4fc9('0xc')](()=>{const _0x4e02d8=[];for(const [_0x3d6f89,_0x469dc0]of _0x39531b[_0x4fc9('0x27')]){const _0x419d09=_0x253aef[_0x4fc9('0x25')](_0x3d6f89['id']),_0x347f2e=_0x419d09[_0x4fc9('0x1b')](_0x1f708e=>_0x1f708e['getRange']());_0x419d09[_0x4fc9('0x1f')]>0x0&&_0x4e02d8[_0x4fc9('0x2')]([_0x469dc0[_0x4fc9('0x1c')],_0x347f2e]);}return _0x4e02d8;}),this['listenTo'](_0x3aac97,_0x4fc9('0x2d'),(_0x3c1bb5,_0x2071ba,_0x43f1d8)=>{const _0x49fd48=Array[_0x4fc9('0x17')](_0x43f1d8)[_0x4fc9('0x1b')](_0x41eddc=>_0x41eddc[_0x4fc9('0x2c')])[_0x4fc9('0x28')](_0x4eef50=>_0x39531b[_0x4fc9('0x2b')]['has'](_0x4eef50));if(!_0x49fd48)return void(_0x253aef[_0x4fc9('0x11')]=null);const _0x597460=_0x39531b['_viewToController'][_0x4fc9('0x0')](_0x49fd48)[_0x4fc9('0x29')]['id'],_0x34c85a=_0x4fc9('0x12')+_0x597460;_0x253aef[_0x4fc9('0x19')](_0x597460)?_0x253aef['activeMarker']=_0x34c85a:_0x253aef[_0x4fc9('0x11')]&&(_0x253aef[_0x4fc9('0x11')]=null);}),this[_0x4fc9('0x5')](_0x39531b,_0x4fc9('0xb'),(_0x10506b,{threadId:_0x14b308,isFromAdapter:_0x48bfa3})=>{!_0x48bfa3&&_0x430c3d['ui'][_0x4fc9('0x16')][_0x4fc9('0xd')]&&_0x253aef['hasMarkerForId'](_0x14b308)&&_0x430c3d['editing'][_0x4fc9('0x1c')]['focus']();},{'priority':_0x4fc9('0x1e')}),this[_0x4fc9('0x5')](_0x39531b,_0x4fc9('0x10'),(_0x1f1055,{threadId:_0x5e6a7b,isFromAdapter:_0x5be7af})=>{if(_0x5be7af||!_0x253aef[_0x4fc9('0x19')](_0x5e6a7b)||!_0x39531b[_0x4fc9('0x21')](_0x5e6a7b))return;0x1===_0x39531b['getCommentThread'](_0x5e6a7b)['length']&&(_0x430c3d[_0x4fc9('0x1d')][_0x4fc9('0x1c')][_0x4fc9('0x13')](),_0x1f1055[_0x4fc9('0x9')]());},{'priority':_0x4fc9('0x2a')});}[_0x4fc9('0x1a')](){const _0xd2bd12=this[_0x4fc9('0x24')],_0x2c3f22=new _0x321017(_0xd2bd12[_0x4fc9('0xa')]),_0x5a2739=_0xd2bd12[_0x4fc9('0x14')][_0x4fc9('0x0')](_0x4fc9('0xf'));return _0x2c3f22[_0x4fc9('0xe')]=_0x4a1603(_0xd2bd12['locale'],'Comment'),_0x2c3f22['tooltip']=_0x4a1603(_0xd2bd12[_0x4fc9('0xa')],'Comment'),_0x2c3f22[_0x4fc9('0x4')]=_0x1a7b79,_0x2c3f22[_0x4fc9('0x7')](_0x4fc9('0x18'))['to'](_0x5a2739),this[_0x4fc9('0x5')](_0x2c3f22,_0x4fc9('0x15'),()=>_0x5a2739[_0x4fc9('0x15')]()),_0x2c3f22;}}
23
+ const _0x3c05=['init','isEnabled','componentFactory','push','editor','addCommentThread','listenTo','view','innerView','locale','add','_createUIButton','plugins','getCommentThread','focus','focusTracker','tooltip','requires','change:activeAnnotations','CommentThreadInputView','Comment','get','comment:','CommentsUI','CommentsListView','find','hasCommentThread','label','hasMarkerForId','commands','isFocused','stop','getRange','highest','low','map','bind','icon','activeMarker','getAllMarkersForId','length','pluginName','_viewToController','editing'];(function(_0x231eeb,_0x3c0544){const _0x4b6d6c=function(_0x5c838b){while(--_0x5c838b){_0x231eeb['push'](_0x231eeb['shift']());}};_0x4b6d6c(++_0x3c0544);}(_0x3c05,0xf7));const _0x4b6d=function(_0x231eeb,_0x3c0544){_0x231eeb=_0x231eeb-0x0;let _0x4b6d6c=_0x3c05[_0x231eeb];return _0x4b6d6c;};import{Plugin as _0x465843}from'ckeditor5/src/core';import _0x473d14 from'./commentsrepository';import _0xd61be9 from'./commentsediting';import _0x1527dc from'../annotations/editorannotations';import{ButtonView as _0xec97bf}from'ckeditor5/src/ui';import _0x128729 from'../../theme/icons/add-comment.svg';import _0x520576 from'../annotations/annotations';import _0x6f96 from'./ui/view/commentslistview';import _0x1e3016 from'./ui/view/commentthreadinputview';import{getTranslation as _0x53195e}from'../utils/common-translations';export default class n extends _0x465843{static get[_0x4b6d('0xe')](){return _0x4b6d('0x28');}static get[_0x4b6d('0x22')](){return[_0x473d14,_0xd61be9,_0x1527dc,_0x520576];}get[_0x4b6d('0x29')](){return _0x6f96;}get[_0x4b6d('0x24')](){return _0x1e3016;}[_0x4b6d('0x11')](){const _0x44e527=this[_0x4b6d('0x15')],_0x23ef16=_0x44e527[_0x4b6d('0x1d')][_0x4b6d('0x26')](_0x473d14),_0x49904d=_0x44e527[_0x4b6d('0x1d')]['get'](_0xd61be9),_0x1f86b6=_0x44e527[_0x4b6d('0x1d')]['get'](_0x520576),_0x3dd6b6=_0x44e527[_0x4b6d('0x1d')][_0x4b6d('0x26')](_0x1527dc);_0x44e527['ui'][_0x4b6d('0x13')][_0x4b6d('0x1b')]('comment',()=>this['_createUIButton']()),_0x3dd6b6['addSourceCollector'](()=>{const _0x10aa7c=[];for(const [_0x45897f,_0x56d47f]of _0x23ef16['_threadToController']){const _0x577b8f=_0x49904d[_0x4b6d('0xc')](_0x45897f['id']),_0x1b98da=_0x577b8f[_0x4b6d('0x8')](_0x4dca6c=>_0x4dca6c[_0x4b6d('0x5')]());_0x577b8f[_0x4b6d('0xd')]>0x0&&_0x10aa7c[_0x4b6d('0x14')]([_0x56d47f['view'],_0x1b98da]);}return _0x10aa7c;}),this[_0x4b6d('0x17')](_0x1f86b6,_0x4b6d('0x23'),(_0x86c079,_0x2257ae,_0x2ba900)=>{const _0x4ab593=Array['from'](_0x2ba900)['map'](_0x5d7655=>_0x5d7655[_0x4b6d('0x19')])[_0x4b6d('0x2a')](_0x331042=>_0x23ef16[_0x4b6d('0xf')]['has'](_0x331042));if(!_0x4ab593)return void(_0x49904d[_0x4b6d('0xb')]=null);const _0x2595f8=_0x23ef16[_0x4b6d('0xf')][_0x4b6d('0x26')](_0x4ab593)['model']['id'],_0x115b51=_0x4b6d('0x27')+_0x2595f8;_0x49904d[_0x4b6d('0x1')](_0x2595f8)?_0x49904d[_0x4b6d('0xb')]=_0x115b51:_0x49904d[_0x4b6d('0xb')]&&(_0x49904d[_0x4b6d('0xb')]=null);}),this[_0x4b6d('0x17')](_0x23ef16,'removeCommentThread',(_0xeca9a,{threadId:_0x206f09,isFromAdapter:_0x2a6b6a})=>{!_0x2a6b6a&&_0x44e527['ui'][_0x4b6d('0x20')][_0x4b6d('0x3')]&&_0x49904d[_0x4b6d('0x1')](_0x206f09)&&_0x44e527[_0x4b6d('0x10')][_0x4b6d('0x18')]['focus']();},{'priority':_0x4b6d('0x6')}),this['listenTo'](_0x23ef16,'addComment',(_0x389b1b,{threadId:_0x55847b,isFromAdapter:_0x197104})=>{if(_0x197104||!_0x49904d[_0x4b6d('0x1')](_0x55847b)||!_0x23ef16[_0x4b6d('0x2b')](_0x55847b))return;0x1===_0x23ef16[_0x4b6d('0x1e')](_0x55847b)[_0x4b6d('0xd')]&&(_0x44e527['editing'][_0x4b6d('0x18')][_0x4b6d('0x1f')](),_0x389b1b[_0x4b6d('0x4')]());},{'priority':_0x4b6d('0x7')});}[_0x4b6d('0x1c')](){const _0x5e33c4=this[_0x4b6d('0x15')],_0x7eecc5=new _0xec97bf(_0x5e33c4[_0x4b6d('0x1a')]),_0x33a128=_0x5e33c4[_0x4b6d('0x2')][_0x4b6d('0x26')](_0x4b6d('0x16'));return _0x7eecc5[_0x4b6d('0x0')]=_0x53195e(_0x5e33c4[_0x4b6d('0x1a')],_0x4b6d('0x25')),_0x7eecc5[_0x4b6d('0x21')]=_0x53195e(_0x5e33c4[_0x4b6d('0x1a')],_0x4b6d('0x25')),_0x7eecc5[_0x4b6d('0xa')]=_0x128729,_0x7eecc5[_0x4b6d('0x9')](_0x4b6d('0x12'))['to'](_0x33a128),this[_0x4b6d('0x17')](_0x7eecc5,'execute',()=>_0x33a128['execute']()),_0x7eecc5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2445=['get','addCommentThread','RestrictedEditingModeEditing','plugins','afterInit','has'];(function(_0x5e9a77,_0x244551){const _0x1e08a8=function(_0x416fd3){while(--_0x416fd3){_0x5e9a77['push'](_0x5e9a77['shift']());}};_0x1e08a8(++_0x244551);}(_0x2445,0x1f1));const _0x1e08=function(_0x5e9a77,_0x244551){_0x5e9a77=_0x5e9a77-0x0;let _0x1e08a8=_0x2445[_0x5e9a77];return _0x1e08a8;};import{Plugin as _0x4af148}from'ckeditor5/src/core';export default class g extends _0x4af148{[_0x1e08('0x5')](){const _0x42e4f8=this['editor'];if(!_0x42e4f8[_0x1e08('0x4')][_0x1e08('0x0')](_0x1e08('0x3')))return;_0x42e4f8[_0x1e08('0x4')][_0x1e08('0x1')]('RestrictedEditingModeEditing')['enableCommand'](_0x1e08('0x2'));}}
23
+ const _0x1b3f=['enableCommand','afterInit','RestrictedEditingModeEditing','has','plugins','editor','get'];(function(_0x1a0cca,_0x1b3f0d){const _0x1260b9=function(_0xdf8299){while(--_0xdf8299){_0x1a0cca['push'](_0x1a0cca['shift']());}};_0x1260b9(++_0x1b3f0d);}(_0x1b3f,0xd1));const _0x1260=function(_0x1a0cca,_0x1b3f0d){_0x1a0cca=_0x1a0cca-0x0;let _0x1260b9=_0x1b3f[_0x1a0cca];return _0x1260b9;};import{Plugin as _0x1d08a1}from'ckeditor5/src/core';export default class F extends _0x1d08a1{[_0x1260('0x2')](){const _0x538a3f=this[_0x1260('0x6')];if(!_0x538a3f[_0x1260('0x5')][_0x1260('0x4')](_0x1260('0x3')))return;_0x538a3f[_0x1260('0x5')][_0x1260('0x0')](_0x1260('0x3'))[_0x1260('0x1')]('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d98=['listenTo','afterInit','get','dataInsert','Users','commands','collaboration.channelId','config','importWord','plugins','_handleImportedData','editor','forEach'];(function(_0x314220,_0x1d98b5){const _0x389ed7=function(_0x580ec1){while(--_0x580ec1){_0x314220['push'](_0x314220['shift']());}};_0x389ed7(++_0x1d98b5);}(_0x1d98,0x133));const _0x389e=function(_0x314220,_0x1d98b5){_0x314220=_0x314220-0x0;let _0x389ed7=_0x1d98[_0x314220];return _0x389ed7;};import{Plugin as _0x386374}from'ckeditor5/src/core';import{priorities as _0x311256}from'ckeditor5/src/utils';import _0x3aafef from'../commentsrepository';export default class k extends _0x386374{[_0x389e('0x6')](){const _0x5e05b7=this[_0x389e('0x3')],_0x112daa=_0x5e05b7[_0x389e('0xa')][_0x389e('0x7')]('importWord'),_0x57d1f1=_0x5e05b7[_0x389e('0x1')]['get'](_0x389e('0x9'));_0x112daa&&(_0x112daa['on']('execute',(_0x12dd6e,[,_0x339b9c])=>{_0x339b9c['collaboration_features']={'comments':!0x0,'user_id':_0x57d1f1['me']['id']};},{'priority':_0x311256['high']+0xa}),this[_0x389e('0x5')](_0x112daa,_0x389e('0x8'),this[_0x389e('0x2')]));}[_0x389e('0x2')](_0x292403,_0x4e0572){const {comment_threads:_0x5bda46}=_0x4e0572;_0x5bda46&&_0x5bda46[_0x389e('0x4')](({thread_id:_0x3c9b91,comments:_0x229ac8})=>{const _0x471941=_0x229ac8['map'](({author:_0x5d858c,content:_0x1c58de,created_at:_0x2b7007})=>({'content':_0x1c58de,'authorId':this['editor'][_0x389e('0x1')][_0x389e('0x7')](_0x389e('0x9'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x5d858c,'createdAt':_0x2b7007?new Date(_0x2b7007):new Date(),'source':_0x389e('0x0')}}})),_0x1f2d48=this[_0x389e('0x3')][_0x389e('0xc')][_0x389e('0x7')](_0x389e('0xb'));this[_0x389e('0x3')][_0x389e('0x1')][_0x389e('0x7')](_0x3aafef)['addCommentThread']({'channelId':_0x1f2d48,'threadId':_0x3c9b91,'comments':_0x471941});});}}
23
+ const _0xb1f1=['commands','dataInsert','config','importWord','map','collaboration_features','afterInit','high','plugins','_handleImportedData','listenTo','execute','forEach','get','Users','collaboration.channelId','addCommentThread','editor'];(function(_0x4746a0,_0xb1f121){const _0x5b8d02=function(_0x34b6ad){while(--_0x34b6ad){_0x4746a0['push'](_0x4746a0['shift']());}};_0x5b8d02(++_0xb1f121);}(_0xb1f1,0x18f));const _0x5b8d=function(_0x4746a0,_0xb1f121){_0x4746a0=_0x4746a0-0x0;let _0x5b8d02=_0xb1f1[_0x4746a0];return _0x5b8d02;};import{Plugin as _0x35171b}from'ckeditor5/src/core';import{priorities as _0x2f471c}from'ckeditor5/src/utils';import _0x56fe08 from'../commentsrepository';export default class q extends _0x35171b{[_0x5b8d('0x3')](){const _0x53f789=this[_0x5b8d('0xe')],_0x34dd66=_0x53f789[_0x5b8d('0xf')]['get'](_0x5b8d('0x0')),_0x27b172=_0x53f789[_0x5b8d('0x5')]['get'](_0x5b8d('0xb'));_0x34dd66&&(_0x34dd66['on'](_0x5b8d('0x8'),(_0x21a456,[,_0x15a53b])=>{_0x15a53b[_0x5b8d('0x2')]={'comments':!0x0,'user_id':_0x27b172['me']['id']};},{'priority':_0x2f471c[_0x5b8d('0x4')]+0xa}),this[_0x5b8d('0x7')](_0x34dd66,_0x5b8d('0x10'),this[_0x5b8d('0x6')]));}[_0x5b8d('0x6')](_0x422815,_0x5e3f87){const {comment_threads:_0x4b38fa}=_0x5e3f87;_0x4b38fa&&_0x4b38fa[_0x5b8d('0x9')](({thread_id:_0x311a07,comments:_0x3097bf})=>{const _0x1d576a=_0x3097bf[_0x5b8d('0x1')](({author:_0x4bb870,content:_0x1d38af,created_at:_0x586052})=>({'content':_0x1d38af,'authorId':this[_0x5b8d('0xe')][_0x5b8d('0x5')][_0x5b8d('0xa')](_0x5b8d('0xb'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x4bb870,'createdAt':_0x586052?new Date(_0x586052):new Date(),'source':_0x5b8d('0x0')}}})),_0x5f11ab=this[_0x5b8d('0xe')][_0x5b8d('0x11')]['get'](_0x5b8d('0xc'));this['editor']['plugins'][_0x5b8d('0xa')](_0x56fe08)[_0x5b8d('0xd')]({'channelId':_0x5f11ab,'threadId':_0x311a07,'comments':_0x1d576a});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1995=['low','defaultPlugins','childCount','getChild','editing','then','fire','model','placeholderElement','document','initPlugins','getRoot','change:placeholder','create','destroy','focus','end','_updatePlaceholder','plugins','data','change','createRoot','get','view','ready','set','name','setSelection','placeholder'];(function(_0x8ba549,_0x1995f6){const _0x131af7=function(_0x1bf094){while(--_0x1bf094){_0x8ba549['push'](_0x8ba549['shift']());}};_0x131af7(++_0x1995f6);}(_0x1995,0x88));const _0x131a=function(_0x8ba549,_0x1995f6){_0x8ba549=_0x8ba549-0x0;let _0x131af7=_0x1995[_0x8ba549];return _0x131af7;};import{Editor as _0x113dad,DataApiMixin as _0x4a3df4}from'ckeditor5/src/core';import _0x26f2e8 from'./commenteditorui';import{mix as _0x3758eb,ObservableMixin as _0x27307d}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2e17d5,disablePlaceholder as _0x35a94c}from'ckeditor5/src/engine';import{Clipboard as _0x1abc33}from'ckeditor5/src/clipboard';import{Enter as _0x126f6f,ShiftEnter as _0x4334c7}from'ckeditor5/src/enter';import{SelectAll as _0x54bdb1}from'ckeditor5/src/select-all';import{Typing as _0x5bb4c5}from'ckeditor5/src/typing';import{Undo as _0x41d830}from'ckeditor5/src/undo';import{Paragraph as _0x16163c}from'ckeditor5/src/paragraph';export default class Bt extends _0x113dad{constructor(_0x2739ee={}){(_0x2739ee=Object['assign']({},_0x2739ee))[_0x131a('0x1b')]||(_0x2739ee['plugins']=Bt[_0x131a('0xa')]),super(_0x2739ee),this['ui']=new _0x26f2e8(this),this[_0x131a('0x5')](_0x131a('0x8'),''),this[_0x131a('0x10')]['document']['on']('change',()=>this[_0x131a('0x1a')](),{'priority':_0x131a('0x9')}),this['on'](_0x131a('0x15'),()=>this['_updatePlaceholder']()),this[_0x131a('0x10')]['document'][_0x131a('0x1')]();}[_0x131a('0x16')](){const _0x52696a=this['config'][_0x131a('0x2')]('initialData')||'';return this[_0x131a('0x13')]()[_0x131a('0xe')](()=>this['ui']['init']())[_0x131a('0xe')](()=>this[_0x131a('0x1c')]['init'](_0x52696a))['then'](()=>this[_0x131a('0xf')](_0x131a('0x4')));}[_0x131a('0x17')](){return super[_0x131a('0x17')]()[_0x131a('0xe')](()=>this['ui']['destroy']());}[_0x131a('0x18')](){this[_0x131a('0x10')][_0x131a('0x0')](_0x56dd27=>{const _0xe9b935=this['model'][_0x131a('0x12')]['getRoot'](),_0xc3754b=_0xe9b935[_0x131a('0xc')](_0xe9b935['childCount']-0x1);_0x56dd27[_0x131a('0x7')](_0xc3754b,_0x131a('0x19')),this[_0x131a('0xd')]['view'][_0x131a('0x18')]();});}[_0x131a('0x1a')](){const _0x2dd9ff=this[_0x131a('0xd')][_0x131a('0x3')],_0x13d2f7=_0x2dd9ff[_0x131a('0x12')][_0x131a('0x14')](),_0x3907e0=_0x13d2f7[_0x131a('0xc')](0x0);_0x13d2f7[_0x131a('0xb')]>0x1||!_0x3907e0||'p'!=_0x3907e0[_0x131a('0x6')]?this['placeholderElement']&&(_0x35a94c(_0x2dd9ff,this[_0x131a('0x11')]),this[_0x131a('0x11')]=void 0x0):(_0x2e17d5({'view':_0x2dd9ff,'element':_0x3907e0,'text':this[_0x131a('0x8')],'keepOnFocus':!0x0}),this[_0x131a('0x11')]=_0x3907e0);}}_0x3758eb(Bt,_0x27307d),_0x3758eb(Bt,_0x4a3df4),Bt['defaultPlugins']=[_0x1abc33,_0x126f6f,_0x4334c7,_0x54bdb1,_0x5bb4c5,_0x41d830,_0x16163c];
23
+ const _0x4d77=['data','createRoot','initPlugins','end','model','fire','getRoot','name','_updatePlaceholder','getChild','placeholder','focus','then','low','document','init','placeholderElement','destroy','ready','change:placeholder','defaultPlugins','assign','editing','childCount','create','get','plugins','initialData'];(function(_0x171a01,_0x4d77c0){const _0x5035c6=function(_0x27a0ac){while(--_0x27a0ac){_0x171a01['push'](_0x171a01['shift']());}};_0x5035c6(++_0x4d77c0);}(_0x4d77,0xc5));const _0x5035=function(_0x171a01,_0x4d77c0){_0x171a01=_0x171a01-0x0;let _0x5035c6=_0x4d77[_0x171a01];return _0x5035c6;};import{Editor as _0x50e910,DataApiMixin as _0x3aa4b3}from'ckeditor5/src/core';import _0x49feb1 from'./commenteditorui';import{mix as _0xaa541b,ObservableMixin as _0x8b7dfb}from'ckeditor5/src/utils';import{enablePlaceholder as _0x18640a,disablePlaceholder as _0x26f1f9}from'ckeditor5/src/engine';import{Clipboard as _0x26f605}from'ckeditor5/src/clipboard';import{Enter as _0x213ec6,ShiftEnter as _0x381f81}from'ckeditor5/src/enter';import{SelectAll as _0xdb1d85}from'ckeditor5/src/select-all';import{Typing as _0xb631e7}from'ckeditor5/src/typing';import{Undo as _0x20b07f}from'ckeditor5/src/undo';import{Paragraph as _0x3819ab}from'ckeditor5/src/paragraph';export default class At extends _0x50e910{constructor(_0x59c7bb={}){(_0x59c7bb=Object[_0x5035('0x14')]({},_0x59c7bb))[_0x5035('0x19')]||(_0x59c7bb[_0x5035('0x19')]=At[_0x5035('0x13')]),super(_0x59c7bb),this['ui']=new _0x49feb1(this),this['set']('placeholder',''),this[_0x5035('0x3')][_0x5035('0xd')]['on']('change',()=>this[_0x5035('0x7')](),{'priority':_0x5035('0xc')}),this['on'](_0x5035('0x12'),()=>this['_updatePlaceholder']()),this[_0x5035('0x3')][_0x5035('0xd')][_0x5035('0x0')]();}[_0x5035('0x17')](){const _0x38acce=this['config'][_0x5035('0x18')](_0x5035('0x1a'))||'';return this[_0x5035('0x1')]()[_0x5035('0xb')](()=>this['ui'][_0x5035('0xe')]())[_0x5035('0xb')](()=>this[_0x5035('0x1b')][_0x5035('0xe')](_0x38acce))[_0x5035('0xb')](()=>this[_0x5035('0x4')](_0x5035('0x11')));}[_0x5035('0x10')](){return super[_0x5035('0x10')]()[_0x5035('0xb')](()=>this['ui'][_0x5035('0x10')]());}[_0x5035('0xa')](){this[_0x5035('0x3')]['change'](_0x58c838=>{const _0xaf0f9c=this['model'][_0x5035('0xd')]['getRoot'](),_0x115b67=_0xaf0f9c[_0x5035('0x8')](_0xaf0f9c[_0x5035('0x16')]-0x1);_0x58c838['setSelection'](_0x115b67,_0x5035('0x2')),this['editing']['view'][_0x5035('0xa')]();});}[_0x5035('0x7')](){const _0x1ce3ac=this[_0x5035('0x15')]['view'],_0x245124=_0x1ce3ac['document'][_0x5035('0x5')](),_0x39b9b4=_0x245124['getChild'](0x0);_0x245124[_0x5035('0x16')]>0x1||!_0x39b9b4||'p'!=_0x39b9b4[_0x5035('0x6')]?this[_0x5035('0xf')]&&(_0x26f1f9(_0x1ce3ac,this[_0x5035('0xf')]),this[_0x5035('0xf')]=void 0x0):(_0x18640a({'view':_0x1ce3ac,'element':_0x39b9b4,'text':this[_0x5035('0x9')],'keepOnFocus':!0x0}),this[_0x5035('0xf')]=_0x39b9b4);}}_0xaa541b(At,_0x8b7dfb),_0xaa541b(At,_0x3aa4b3),At[_0x5035('0x13')]=[_0x26f605,_0x213ec6,_0x381f81,_0xdb1d85,_0xb631e7,_0x20b07f,_0x3819ab];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ec6=['getRoot','locale','element','name','init','focusTracker','fire','bind','isFocused','editor','editing','ready','attachDomRoot','setEditableElement','editable','view'];(function(_0x34edc1,_0x5ec661){const _0xccb0d4=function(_0x398200){while(--_0x398200){_0x34edc1['push'](_0x34edc1['shift']());}};_0xccb0d4(++_0x5ec661);}(_0x5ec6,0x142));const _0xccb0=function(_0x34edc1,_0x5ec661){_0x34edc1=_0x34edc1-0x0;let _0xccb0d4=_0x5ec6[_0x34edc1];return _0xccb0d4;};import{EditorUI as _0x1db168}from'ckeditor5/src/core';import _0x29c8de from'./commenteditoruiview';export default class xt extends _0x1db168{constructor(_0x3c2606){super(_0x3c2606),this['view']=new _0x29c8de(_0x3c2606[_0xccb0('0xf')],_0x3c2606[_0xccb0('0x8')][_0xccb0('0xd')]);}get['element'](){return this['view'][_0xccb0('0x0')];}[_0xccb0('0x2')](){const _0x3b0e35=this[_0xccb0('0x7')]['editing'][_0xccb0('0xd')],_0x5e57fd=this['view'][_0xccb0('0xc')],_0x204a5c=_0x3b0e35['document'][_0xccb0('0xe')]();_0x5e57fd[_0xccb0('0x1')]=_0x204a5c['rootName'],this[_0xccb0('0xd')]['render']();const _0xf1307a=_0x5e57fd[_0xccb0('0x0')];this[_0xccb0('0xb')](_0x5e57fd[_0xccb0('0x1')],_0xf1307a),this[_0xccb0('0xd')][_0xccb0('0xc')][_0xccb0('0x5')](_0xccb0('0x6'))['to'](this[_0xccb0('0x3')]),_0x3b0e35[_0xccb0('0xa')](_0xf1307a),this[_0xccb0('0x4')](_0xccb0('0x9'));}['destroy'](){super['destroy'](),this[_0xccb0('0xd')]['destroy']();}}
23
+ const _0x2fac=['view','locale','ready','init','bind','render','getRoot','editor','editing','attachDomRoot','name','setEditableElement','destroy','element','focusTracker','isFocused'];(function(_0x2f92f8,_0x2fac8e){const _0x440827=function(_0x245020){while(--_0x245020){_0x2f92f8['push'](_0x2f92f8['shift']());}};_0x440827(++_0x2fac8e);}(_0x2fac,0x12c));const _0x4408=function(_0x2f92f8,_0x2fac8e){_0x2f92f8=_0x2f92f8-0x0;let _0x440827=_0x2fac[_0x2f92f8];return _0x440827;};import{EditorUI as _0x4ec36f}from'ckeditor5/src/core';import _0xadaf71 from'./commenteditoruiview';export default class wt extends _0x4ec36f{constructor(_0x4c7849){super(_0x4c7849),this[_0x4408('0x4')]=new _0xadaf71(_0x4c7849[_0x4408('0x5')],_0x4c7849[_0x4408('0xc')][_0x4408('0x4')]);}get[_0x4408('0x1')](){return this[_0x4408('0x4')][_0x4408('0x1')];}[_0x4408('0x7')](){const _0x980f54=this[_0x4408('0xb')][_0x4408('0xc')][_0x4408('0x4')],_0x3264f6=this[_0x4408('0x4')]['editable'],_0x54e01f=_0x980f54['document'][_0x4408('0xa')]();_0x3264f6['name']=_0x54e01f['rootName'],this['view'][_0x4408('0x9')]();const _0x24bd32=_0x3264f6[_0x4408('0x1')];this[_0x4408('0xf')](_0x3264f6[_0x4408('0xe')],_0x24bd32),this['view']['editable'][_0x4408('0x8')](_0x4408('0x3'))['to'](this[_0x4408('0x2')]),_0x980f54[_0x4408('0xd')](_0x24bd32),this['fire'](_0x4408('0x6'));}[_0x4408('0x0')](){super[_0x4408('0x0')](),this[_0x4408('0x4')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5150=['add','text','focus','_createVoiceLabel','render','ck-comment__input','div','cke-editor__aria-label_','editable','uiLanguage','ck-editor__main','setTemplate','createCollection','Comment\x20editor','comment','presentation','ck-reset','element'];(function(_0x49d589,_0x5150ac){const _0x19fddf=function(_0xa465ca){while(--_0xa465ca){_0x49d589['push'](_0x49d589['shift']());}};_0x19fddf(++_0x5150ac);}(_0x5150,0x19a));const _0x19fd=function(_0x49d589,_0x5150ac){_0x49d589=_0x49d589-0x0;let _0x19fddf=_0x5150[_0x49d589];return _0x19fddf;};import{InlineEditableUIView as _0x25f511,EditorUIView as _0x2cdb2c,LabelView as _0x2ad32d}from'ckeditor5/src/ui';import{uid as _0x4adfb5}from'ckeditor5/src/utils';import{getTranslation as _0x5b6fd2}from'../../../utils/common-translations';export default class Et extends _0x2cdb2c{constructor(_0x2b5aca,_0x3818dc){super(_0x2b5aca);const _0x411c7f=_0x4adfb5();this['main']=this[_0x19fd('0x10')](),this[_0x19fd('0xc')]=new _0x25f511(_0x2b5aca,_0x3818dc),this['_voiceLabelView']=this[_0x19fd('0x7')](_0x411c7f,_0x2b5aca),this[_0x19fd('0xf')]({'tag':_0x19fd('0xa'),'attributes':{'class':[_0x19fd('0x2'),'ck-editor','ck-rounded-corners',_0x19fd('0x9')],'role':_0x19fd('0x0'),'dir':_0x2b5aca['uiLanguageDirection'],'lang':_0x2b5aca[_0x19fd('0xd')],'aria-labelledby':_0x19fd('0xb')+_0x411c7f},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x19fd('0xe'),'role':_0x19fd('0x1')},'children':this['main']}]});}['render'](){super[_0x19fd('0x8')](),this['main'][_0x19fd('0x4')](this[_0x19fd('0xc')]);}[_0x19fd('0x6')](){this['editable'][_0x19fd('0x3')]['focus']();}[_0x19fd('0x7')](_0x114fbf,_0x32c9d5){const _0x39a4a3=new _0x2ad32d();return _0x39a4a3[_0x19fd('0x5')]=_0x5b6fd2(_0x32c9d5,_0x19fd('0x11')),_0x39a4a3['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x114fbf,'class':'ck-voice-label'}}),_0x39a4a3;}}
23
+ const _0x1d35=['text','_voiceLabelView','uiLanguageDirection','uiLanguage','ck-reset','render','ck-voice-label','presentation','ck-editor__aria-label_','createCollection','element','add','editable','extendTemplate','Comment\x20editor','comment','ck-editor','ck-editor__main','main','cke-editor__aria-label_','setTemplate','_createVoiceLabel'];(function(_0x13b538,_0x1d3592){const _0x3a57f0=function(_0x1e2148){while(--_0x1e2148){_0x13b538['push'](_0x13b538['shift']());}};_0x3a57f0(++_0x1d3592);}(_0x1d35,0xb6));const _0x3a57=function(_0x13b538,_0x1d3592){_0x13b538=_0x13b538-0x0;let _0x3a57f0=_0x1d35[_0x13b538];return _0x3a57f0;};import{InlineEditableUIView as _0x35741a,EditorUIView as _0x5ac7f6,LabelView as _0x59a876}from'ckeditor5/src/ui';import{uid as _0x4b9d29}from'ckeditor5/src/utils';import{getTranslation as _0x3c1541}from'../../../utils/common-translations';export default class Ct extends _0x5ac7f6{constructor(_0x45c7bf,_0x39d685){super(_0x45c7bf);const _0x3f0b70=_0x4b9d29();this[_0x3a57('0xc')]=this[_0x3a57('0x3')](),this[_0x3a57('0x6')]=new _0x35741a(_0x45c7bf,_0x39d685),this[_0x3a57('0x11')]=this['_createVoiceLabel'](_0x3f0b70,_0x45c7bf),this[_0x3a57('0xe')]({'tag':'div','attributes':{'class':[_0x3a57('0x14'),_0x3a57('0xa'),'ck-rounded-corners','ck-comment__input'],'role':_0x3a57('0x9'),'dir':_0x45c7bf[_0x3a57('0x12')],'lang':_0x45c7bf[_0x3a57('0x13')],'aria-labelledby':_0x3a57('0xd')+_0x3f0b70},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x3a57('0xb'),'role':_0x3a57('0x1')},'children':this[_0x3a57('0xc')]}]});}['render'](){super[_0x3a57('0x15')](),this[_0x3a57('0xc')][_0x3a57('0x5')](this['editable']);}['focus'](){this['editable'][_0x3a57('0x4')]['focus']();}[_0x3a57('0xf')](_0x360164,_0x4a5ac0){const _0x58b7d4=new _0x59a876();return _0x58b7d4[_0x3a57('0x10')]=_0x3c1541(_0x4a5ac0,_0x3a57('0x8')),_0x58b7d4[_0x3a57('0x7')]({'attributes':{'id':_0x3a57('0x2')+_0x360164,'class':_0x3a57('0x0')}}),_0x58b7d4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11f3=['removeComment','view','getComment','_localUser','_isAttached','remove','updateComment','model','listenTo','addComment','stopListening','update'];(function(_0x4b92a0,_0x11f393){var _0x4259b4=function(_0x3d385e){while(--_0x3d385e){_0x4b92a0['push'](_0x4b92a0['shift']());}};_0x4259b4(++_0x11f393);}(_0x11f3,0x1a1));var _0x4259=function(_0x4b92a0,_0x11f393){_0x4b92a0=_0x4b92a0-0x0;var _0x4259b4=_0x11f3[_0x4b92a0];return _0x4259b4;};import{ObservableMixin as _0x1ee7f2,mix as _0x2696b3}from'ckeditor5/src/utils';export default class F{constructor(_0x2af210,_0x2fde43){this['model']=_0x2af210,this['model']['_isAttached']=!0x0,this[_0x4259('0x4')]=_0x2fde43,this['listenTo'](_0x2fde43,'removeCommentThread',()=>this[_0x4259('0x8')]()),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x0'),(_0x4fc086,_0x3e13a1)=>this[_0x4259('0x0')](_0x3e13a1)),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x9'),(_0x5968aa,_0x525394,_0x2fc5f7)=>this[_0x4259('0x9')](_0x525394,_0x2fc5f7)),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x3'),(_0x4694bf,_0x5ecd6c)=>this[_0x4259('0x3')](_0x5ecd6c));}['remove'](){this[_0x4259('0xa')]['remove']();}['addComment'](_0x5edac1){this[_0x4259('0xa')][_0x4259('0x0')]({'content':_0x5edac1,'authorId':this[_0x4259('0x4')][_0x4259('0x6')]['id']});}['updateComment'](_0x4a9edb,_0x5ec77b){this[_0x4259('0xa')][_0x4259('0x5')](_0x4a9edb)[_0x4259('0x2')]({'content':_0x5ec77b});}[_0x4259('0x3')](_0x2a38b8){this[_0x4259('0xa')][_0x4259('0x5')](_0x2a38b8)[_0x4259('0x8')]();}['destroy'](){this[_0x4259('0x1')](),this['model'][_0x4259('0x7')]=!0x1;}}_0x2696b3(F,_0x1ee7f2);
23
+ var _0x37ac=['update','view','model','stopListening','updateComment','remove','getComment','removeCommentThread','listenTo','_isAttached','addComment','destroy','removeComment','_localUser'];(function(_0x4ee592,_0x37acae){var _0x15c105=function(_0x464eb1){while(--_0x464eb1){_0x4ee592['push'](_0x4ee592['shift']());}};_0x15c105(++_0x37acae);}(_0x37ac,0x1af));var _0x15c1=function(_0x4ee592,_0x37acae){_0x4ee592=_0x4ee592-0x0;var _0x15c105=_0x37ac[_0x4ee592];return _0x15c105;};import{ObservableMixin as _0x23a2a1,mix as _0x553612}from'ckeditor5/src/utils';export default class nt{constructor(_0xbca074,_0x19f943){this[_0x15c1('0x5')]=_0xbca074,this[_0x15c1('0x5')]['_isAttached']=!0x0,this['view']=_0x19f943,this[_0x15c1('0xb')](_0x19f943,_0x15c1('0xa'),()=>this[_0x15c1('0x8')]()),this['listenTo'](_0x19f943,_0x15c1('0xd'),(_0x18e3b1,_0x160ab7)=>this[_0x15c1('0xd')](_0x160ab7)),this[_0x15c1('0xb')](_0x19f943,_0x15c1('0x7'),(_0x17d3da,_0xb11804,_0x403ad4)=>this[_0x15c1('0x7')](_0xb11804,_0x403ad4)),this[_0x15c1('0xb')](_0x19f943,_0x15c1('0x1'),(_0x3ebd2a,_0x692153)=>this[_0x15c1('0x1')](_0x692153));}[_0x15c1('0x8')](){this[_0x15c1('0x5')]['remove']();}[_0x15c1('0xd')](_0x28b160){this[_0x15c1('0x5')][_0x15c1('0xd')]({'content':_0x28b160,'authorId':this[_0x15c1('0x4')][_0x15c1('0x2')]['id']});}[_0x15c1('0x7')](_0x38b34b,_0x1271dc){this[_0x15c1('0x5')][_0x15c1('0x9')](_0x38b34b)[_0x15c1('0x3')]({'content':_0x1271dc});}[_0x15c1('0x1')](_0x4ad505){this[_0x15c1('0x5')][_0x15c1('0x9')](_0x4ad505)[_0x15c1('0x8')]();}[_0x15c1('0x0')](){this[_0x15c1('0x6')](),this[_0x15c1('0x5')][_0x15c1('0xc')]=!0x1;}}_0x553612(nt,_0x23a2a1);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ad8=['removeCommentThread','commentThreadInputView','isDirty','bind','disabledSubmit','focus','length','isActive','commentsListView','Reply...','fire','_createCommentThreadInputView','assign','Write\x20a\x20comment...','cancel','_config','addComment','change:isActive','value','set','updateComment','hasDirtyComment','placeholder','locale','_model','removeComment','commentInputView','isReadOnly','destroy','_localUser','delegate','element'];(function(_0x325bfd,_0x5ad8cf){const _0x1e28b4=function(_0x1e21dc){while(--_0x1e21dc){_0x325bfd['push'](_0x325bfd['shift']());}};_0x1e28b4(++_0x5ad8cf);}(_0x5ad8,0x137));const _0x1e28=function(_0x325bfd,_0x5ad8cf){_0x325bfd=_0x325bfd-0x0;let _0x1e28b4=_0x5ad8[_0x325bfd];return _0x1e28b4;};import{View as _0x4978e7}from'ckeditor5/src/ui';import _0x49f849 from'./commentthreadinputview';import _0x2b73e5 from'./commentslistview';import{getTranslation as _0x241b9f}from'../../../utils/common-translations';export default class Rt extends _0x4978e7{constructor(_0x13673f,_0x5492e7,_0x3240d6,_0x3a25c6){super(_0x13673f),this[_0x1e28('0x1c')](_0x1e28('0x10'),!0x1),this[_0x1e28('0x1c')]('isDirty',!0x1),this[_0x1e28('0x1')]=_0x5492e7,this[_0x1e28('0x6')]=_0x3240d6,this[_0x1e28('0x18')]=_0x3a25c6,this[_0x1e28('0x11')]=new _0x2b73e5(_0x13673f,_0x5492e7,Object[_0x1e28('0x15')]({'CommentView':this[_0x1e28('0x18')]['CommentView']},_0x3a25c6)),this['commentsListView'][_0x1e28('0x7')]('removeComment')['to'](this),this[_0x1e28('0x11')][_0x1e28('0x7')](_0x1e28('0x1d'))['to'](this),this['commentsListView'][_0x1e28('0xc')]('isActive')['to'](this),this[_0x1e28('0x1c')](_0x1e28('0xf'),this[_0x1e28('0x11')]['length']),this[_0x1e28('0xc')](_0x1e28('0xf'))['to'](this['commentsListView'],_0x1e28('0xf')),this[_0x1e28('0xa')]=this[_0x1e28('0x14')](),this['on'](_0x1e28('0x2'),()=>this[_0x1e28('0xe')]()),this[_0x1e28('0xc')](_0x1e28('0xb'))['to'](this[_0x1e28('0x11')],_0x1e28('0x1e'),this[_0x1e28('0xa')][_0x1e28('0x3')],_0x1e28('0x1b'),(_0x4b9dcf,_0x1974fb)=>_0x4b9dcf||!!_0x1974fb);}[_0x1e28('0xe')](){this[_0x1e28('0x8')][_0x1e28('0xe')]();}[_0x1e28('0x5')](){this[_0x1e28('0xb')]=!0x1,this[_0x1e28('0x11')][_0x1e28('0x5')](),this[_0x1e28('0xa')][_0x1e28('0x5')](),super[_0x1e28('0x5')]();}['_createCommentThreadInputView'](){const _0x5e2253=new _0x49f849(this[_0x1e28('0x0')],this[_0x1e28('0x6')],this[_0x1e28('0x18')]['editorConfig']),_0x3c8de1=_0x5e2253[_0x1e28('0x3')];return _0x5e2253['bind']('showInput')['to'](this,_0x1e28('0x10'),this[_0x1e28('0x1')],_0x1e28('0x4'),_0x3c8de1,_0x1e28('0x1b'),(_0x1e1870,_0x5035f3,_0x305a77)=>!!_0x305a77||_0x1e1870&&!_0x5035f3),_0x3c8de1[_0x1e28('0xc')](_0x1e28('0x1f'))['to'](this,_0x1e28('0xf'),_0x9477ea=>_0x241b9f(this[_0x1e28('0x0')],_0x9477ea?_0x1e28('0x12'):_0x1e28('0x16'))),_0x3c8de1['on']('submit',(_0x4508f0,_0x593f16)=>{this['fire'](_0x1e28('0x19'),_0x593f16);}),_0x3c8de1['on'](_0x1e28('0x17'),()=>{this[_0x1e28('0xe')]();}),_0x3c8de1[_0x1e28('0xc')](_0x1e28('0xd'))['to'](this[_0x1e28('0x1')],_0x1e28('0x4')),_0x3c8de1['on'](_0x1e28('0x17'),_0x2e23e5=>{0x0==this[_0x1e28('0xf')]&&(this['fire'](_0x1e28('0x9')),_0x2e23e5['stop']());}),this['on'](_0x1e28('0x1a'),(_0x16581b,_0x2137e9,_0x43878c)=>{_0x43878c||this[_0x1e28('0xf')]||_0x3c8de1[_0x1e28('0x1b')]||this[_0x1e28('0x13')]('removeCommentThread');}),_0x5e2253;}}
23
+ const _0x22d2=['locale','Write\x20a\x20comment...','commentThreadInputView','removeComment','_model','value','_localUser','isDirty','commentInputView','cancel','_createCommentThreadInputView','removeCommentThread','delegate','addComment','placeholder','length','commentsListView','_config','destroy','focus','change:isActive','element','submit','isReadOnly','assign','fire','CommentView','editorConfig','hasDirtyComment','Reply...','set','updateComment','bind','isActive'];(function(_0x4b2075,_0x22d2f8){const _0x15cabb=function(_0x530598){while(--_0x530598){_0x4b2075['push'](_0x4b2075['shift']());}};_0x15cabb(++_0x22d2f8);}(_0x22d2,0x19f));const _0x15ca=function(_0x4b2075,_0x22d2f8){_0x4b2075=_0x4b2075-0x0;let _0x15cabb=_0x22d2[_0x4b2075];return _0x15cabb;};import{View as _0x25298f}from'ckeditor5/src/ui';import _0x617b85 from'./commentthreadinputview';import _0x42cf3b from'./commentslistview';import{getTranslation as _0x51fce1}from'../../../utils/common-translations';export default class Rt extends _0x25298f{constructor(_0x212b81,_0x4e16aa,_0x271a96,_0x23a973){super(_0x212b81),this[_0x15ca('0x17')](_0x15ca('0x1a'),!0x1),this[_0x15ca('0x17')](_0x15ca('0x0'),!0x1),this[_0x15ca('0x1f')]=_0x4e16aa,this['_localUser']=_0x271a96,this[_0x15ca('0xa')]=_0x23a973,this[_0x15ca('0x9')]=new _0x42cf3b(_0x212b81,_0x4e16aa,Object[_0x15ca('0x11')]({'CommentView':this[_0x15ca('0xa')][_0x15ca('0x13')]},_0x23a973)),this[_0x15ca('0x9')][_0x15ca('0x5')](_0x15ca('0x1e'))['to'](this),this[_0x15ca('0x9')][_0x15ca('0x5')](_0x15ca('0x18'))['to'](this),this[_0x15ca('0x9')][_0x15ca('0x19')](_0x15ca('0x1a'))['to'](this),this[_0x15ca('0x17')](_0x15ca('0x8'),this[_0x15ca('0x9')]['length']),this[_0x15ca('0x19')](_0x15ca('0x8'))['to'](this[_0x15ca('0x9')],_0x15ca('0x8')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on'](_0x15ca('0x1e'),()=>this['focus']()),this[_0x15ca('0x19')](_0x15ca('0x0'))['to'](this[_0x15ca('0x9')],_0x15ca('0x15'),this[_0x15ca('0x1d')][_0x15ca('0x1')],'value',(_0x1d69a4,_0x4f0be4)=>_0x1d69a4||!!_0x4f0be4);}[_0x15ca('0xc')](){this[_0x15ca('0xe')]['focus']();}['destroy'](){this[_0x15ca('0x0')]=!0x1,this[_0x15ca('0x9')][_0x15ca('0xb')](),this['commentThreadInputView'][_0x15ca('0xb')](),super[_0x15ca('0xb')]();}[_0x15ca('0x3')](){const _0x288ead=new _0x617b85(this[_0x15ca('0x1b')],this[_0x15ca('0x21')],this[_0x15ca('0xa')][_0x15ca('0x14')]),_0x53fe5e=_0x288ead[_0x15ca('0x1')];return _0x288ead[_0x15ca('0x19')]('showInput')['to'](this,'isActive',this['_model'],_0x15ca('0x10'),_0x53fe5e,_0x15ca('0x20'),(_0xb40b4a,_0x504b34,_0x35f802)=>!!_0x35f802||_0xb40b4a&&!_0x504b34),_0x53fe5e[_0x15ca('0x19')](_0x15ca('0x7'))['to'](this,_0x15ca('0x8'),_0xade755=>_0x51fce1(this[_0x15ca('0x1b')],_0xade755?_0x15ca('0x16'):_0x15ca('0x1c'))),_0x53fe5e['on'](_0x15ca('0xf'),(_0x5c6e4d,_0x4a9755)=>{this['fire'](_0x15ca('0x6'),_0x4a9755);}),_0x53fe5e['on'](_0x15ca('0x2'),()=>{this[_0x15ca('0xc')]();}),_0x53fe5e[_0x15ca('0x19')]('disabledSubmit')['to'](this[_0x15ca('0x1f')],_0x15ca('0x10')),_0x53fe5e['on'](_0x15ca('0x2'),_0x18b2c3=>{0x0==this['length']&&(this['fire'](_0x15ca('0x4')),_0x18b2c3['stop']());}),this['on'](_0x15ca('0xd'),(_0x500ffe,_0x43dc07,_0x4f411d)=>{_0x4f411d||this[_0x15ca('0x8')]||_0x53fe5e[_0x15ca('0x20')]||this[_0x15ca('0x12')]('removeCommentThread');}),_0x288ead;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x96ff=['collapse','locale','destroy','visibleView','_createCommentInputView','updateComment','_createCommentContentView','focus','add','isEditMode','_config','once','initialData','submit','createCollection','switchToDisplayMode','fire','editorConfig','element','_model','bind','isCollapsed','cancel','createEditor','get','editorReady','set','remove','isReadOnly','content','switchToEditMode','value','expand'];(function(_0x4d9936,_0x96ff5e){const _0x4c14a6=function(_0x216db2){while(--_0x216db2){_0x4d9936['push'](_0x4d9936['shift']());}};_0x4c14a6(++_0x96ff5e);}(_0x96ff,0x1aa));const _0x4c14=function(_0x4d9936,_0x96ff5e){_0x4d9936=_0x4d9936-0x0;let _0x4c14a6=_0x96ff[_0x4d9936];return _0x4c14a6;};import{View as _0x3f8142}from'ckeditor5/src/ui';import{trimHtml as _0x4ce504}from'ckeditor5-collaboration/src/collaboration-core';import _0x55dfe4 from'./commentcontentview';import _0x535600 from'./commentinputview';export default class St extends _0x3f8142{constructor(_0x32e1aa,_0x45bd6c,_0x278848){super(_0x32e1aa),this[_0x4c14('0x16')]=_0x45bd6c,this[_0x4c14('0xd')]=_0x278848,this[_0x4c14('0x1d')](_0x4c14('0xc'),!0x1),this[_0x4c14('0x1d')](_0x4c14('0x18'),!0x0),this[_0x4c14('0x6')]=this[_0x4c14('0x11')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this[_0x4c14('0x9')]());}[_0x4c14('0x2')](){this[_0x4c14('0x18')]=!0x1;}[_0x4c14('0x3')](){this['isEditMode']||(this[_0x4c14('0x18')]=!0x0);}[_0x4c14('0xa')](){this[_0x4c14('0x15')][_0x4c14('0xa')]();}async[_0x4c14('0x5')](){await this['visibleView'][_0x4c14('0x1b')](0x0)[_0x4c14('0x5')](),super[_0x4c14('0x5')]();}[_0x4c14('0x0')](){this[_0x4c14('0xc')]||(this[_0x4c14('0xc')]=!0x0,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)[_0x4c14('0x5')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this['_createCommentInputView']()));}[_0x4c14('0x12')](){this[_0x4c14('0xc')]&&(this['isEditMode']=!0x1,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)['destroy'](),this['visibleView'][_0x4c14('0xb')](this[_0x4c14('0x9')]()));}[_0x4c14('0x9')](){const _0x27e92d=new _0x55dfe4(this[_0x4c14('0x4')]);return _0x27e92d['bind'](_0x4c14('0x20'))['to'](this[_0x4c14('0x16')],_0x4c14('0x20'),this,_0x4c14('0x18'),(_0x286ba1,_0x49ac71)=>_0x49ac71?_0x4ce504(_0x286ba1,{'limit':this[_0x4c14('0xd')]['maxCommentCharsWhenCollapsed']}):_0x286ba1),_0x27e92d;}[_0x4c14('0x7')](){this[_0x4c14('0xd')][_0x4c14('0x14')]||(this[_0x4c14('0xd')][_0x4c14('0x14')]={}),this[_0x4c14('0xd')][_0x4c14('0x14')][_0x4c14('0xf')]=this[_0x4c14('0x16')]['content'];const _0x59c20d=new _0x535600(this[_0x4c14('0x4')],this[_0x4c14('0xd')][_0x4c14('0x14')]);return _0x59c20d[_0x4c14('0x1')]=this[_0x4c14('0x16')][_0x4c14('0x20')],_0x59c20d[_0x4c14('0x17')]('disabledSubmit')['to'](this[_0x4c14('0x16')],_0x4c14('0x1f')),_0x59c20d['on'](_0x4c14('0x10'),(_0x494d98,_0x955416)=>{this[_0x4c14('0x13')](_0x4c14('0x8'),this[_0x4c14('0x16')]['id'],_0x955416),this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d['on'](_0x4c14('0x19'),()=>{this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d[_0x4c14('0xe')](_0x4c14('0x1c'),()=>{_0x59c20d['focus']();}),_0x59c20d[_0x4c14('0x1a')](),_0x59c20d;}}
23
+ const _0xd06d=['_createCommentContentView','add','locale','visibleView','isReadOnly','createCollection','disabledSubmit','once','_config','editorConfig','remove','submit','set','cancel','initialData','_createCommentInputView','_model','switchToDisplayMode','destroy','createEditor','content','element','switchToEditMode','isCollapsed','maxCommentCharsWhenCollapsed','bind','isEditMode','value','fire','focus','editorReady','updateComment'];(function(_0x3273a0,_0xd06d8f){const _0x5b7318=function(_0x32ecbb){while(--_0x32ecbb){_0x3273a0['push'](_0x3273a0['shift']());}};_0x5b7318(++_0xd06d8f);}(_0xd06d,0x138));const _0x5b73=function(_0x3273a0,_0xd06d8f){_0x3273a0=_0x3273a0-0x0;let _0x5b7318=_0xd06d[_0x3273a0];return _0x5b7318;};import{View as _0x4b4eec}from'ckeditor5/src/ui';import{trimHtml as _0x1e4854}from'ckeditor5-collaboration/src/collaboration-core';import _0x38e1fa from'./commentcontentview';import _0x4c5932 from'./commentinputview';export default class St extends _0x4b4eec{constructor(_0x3938c9,_0x51116e,_0x2b03bd){super(_0x3938c9),this[_0x5b73('0x18')]=_0x51116e,this[_0x5b73('0x10')]=_0x2b03bd,this[_0x5b73('0x14')](_0x5b73('0x2'),!0x1),this['set'](_0x5b73('0x1f'),!0x0),this[_0x5b73('0xb')]=this[_0x5b73('0xd')](),this['visibleView'][_0x5b73('0x9')](this[_0x5b73('0x8')]());}['expand'](){this[_0x5b73('0x1f')]=!0x1;}['collapse'](){this[_0x5b73('0x2')]||(this[_0x5b73('0x1f')]=!0x0);}['focus'](){this[_0x5b73('0x1d')][_0x5b73('0x5')]();}async['destroy'](){await this['visibleView']['get'](0x0)[_0x5b73('0x1a')](),super[_0x5b73('0x1a')]();}[_0x5b73('0x1e')](){this[_0x5b73('0x2')]||(this[_0x5b73('0x2')]=!0x0,this[_0x5b73('0xb')]['remove'](0x0)[_0x5b73('0x1a')](),this[_0x5b73('0xb')][_0x5b73('0x9')](this[_0x5b73('0x17')]()));}[_0x5b73('0x19')](){this[_0x5b73('0x2')]&&(this['isEditMode']=!0x1,this[_0x5b73('0xb')][_0x5b73('0x12')](0x0)[_0x5b73('0x1a')](),this[_0x5b73('0xb')]['add'](this[_0x5b73('0x8')]()));}[_0x5b73('0x8')](){const _0x9480a1=new _0x38e1fa(this[_0x5b73('0xa')]);return _0x9480a1[_0x5b73('0x1')]('content')['to'](this[_0x5b73('0x18')],_0x5b73('0x1c'),this,_0x5b73('0x1f'),(_0x4f3bb5,_0x3a654f)=>_0x3a654f?_0x1e4854(_0x4f3bb5,{'limit':this[_0x5b73('0x10')][_0x5b73('0x0')]}):_0x4f3bb5),_0x9480a1;}[_0x5b73('0x17')](){this[_0x5b73('0x10')]['editorConfig']||(this[_0x5b73('0x10')][_0x5b73('0x11')]={}),this[_0x5b73('0x10')][_0x5b73('0x11')][_0x5b73('0x16')]=this['_model'][_0x5b73('0x1c')];const _0x1f177e=new _0x4c5932(this['locale'],this['_config']['editorConfig']);return _0x1f177e[_0x5b73('0x3')]=this[_0x5b73('0x18')][_0x5b73('0x1c')],_0x1f177e[_0x5b73('0x1')](_0x5b73('0xe'))['to'](this[_0x5b73('0x18')],_0x5b73('0xc')),_0x1f177e['on'](_0x5b73('0x13'),(_0x2bdcd5,_0x5f3c0b)=>{this[_0x5b73('0x4')](_0x5b73('0x7'),this['_model']['id'],_0x5f3c0b),this[_0x5b73('0x19')](),this['focus']();}),_0x1f177e['on'](_0x5b73('0x15'),()=>{this[_0x5b73('0x19')](),this['focus']();}),_0x1f177e[_0x5b73('0xf')](_0x5b73('0x6'),()=>{_0x1f177e[_0x5b73('0x5')]();}),_0x1f177e[_0x5b73('0x1b')](),_0x1f177e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44c6=['setTemplate','ck-thread__comment-count','set','count','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x18b1c,_0x44c670){const _0x47cbb8=function(_0x57f4aa){while(--_0x57f4aa){_0x18b1c['push'](_0x18b1c['shift']());}};_0x47cbb8(++_0x44c670);}(_0x44c6,0x64));const _0x47cb=function(_0x18b1c,_0x44c670){_0x18b1c=_0x18b1c-0x0;let _0x47cbb8=_0x44c6[_0x18b1c];return _0x47cbb8;};import{View as _0x4b9f4e}from'ckeditor5/src/ui';import{getTranslation as _0x554781}from'../../../utils/common-translations';export default class Nt extends _0x4b9f4e{constructor(_0xfc531f){super(_0xfc531f);const _0x379e84=this[_0x47cb('0x0')];this[_0x47cb('0x4')]('count'),this[_0x47cb('0x2')]({'tag':'li','attributes':{'class':_0x47cb('0x3')},'children':[{'text':_0x379e84['to'](_0x47cb('0x5'),_0x15f5c8=>_0x554781(_0xfc531f,_0x47cb('0x1'),_0x15f5c8))}]});}}
23
+ const _0xd5ae=['ck-thread__comment-count','bindTemplate','setTemplate','count'];(function(_0x5161ed,_0xd5ae1a){const _0x52f75e=function(_0x40f429){while(--_0x40f429){_0x5161ed['push'](_0x5161ed['shift']());}};_0x52f75e(++_0xd5ae1a);}(_0xd5ae,0x1ba));const _0x52f7=function(_0x5161ed,_0xd5ae1a){_0x5161ed=_0x5161ed-0x0;let _0x52f75e=_0xd5ae[_0x5161ed];return _0x52f75e;};import{View as _0x76fc9d}from'ckeditor5/src/ui';import{getTranslation as _0x38628d}from'../../../utils/common-translations';export default class Nt extends _0x76fc9d{constructor(_0x2079f0){super(_0x2079f0);const _0x18f006=this[_0x52f7('0x3')];this['set']('count'),this[_0x52f7('0x0')]({'tag':'li','attributes':{'class':_0x52f7('0x2')},'children':[{'text':_0x18f006['to'](_0x52f7('0x1'),_0x26c209=>_0x38628d(_0x2079f0,'NUMBER_OF_COMMENTS',_0x26c209))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2136=['div','innerHTML','set','ck-comment__content','change:content','element','content','render','ck-annotation__content','setTemplate'];(function(_0x4b5dbd,_0x213680){var _0x2c5b2a=function(_0xe57c15){while(--_0xe57c15){_0x4b5dbd['push'](_0x4b5dbd['shift']());}};_0x2c5b2a(++_0x213680);}(_0x2136,0x1a0));var _0x2c5b=function(_0x4b5dbd,_0x213680){_0x4b5dbd=_0x4b5dbd-0x0;var _0x2c5b2a=_0x2136[_0x4b5dbd];return _0x2c5b2a;};import{View as _0x7bdeb1}from'ckeditor5/src/ui';export default class Tt extends _0x7bdeb1{constructor(_0x3d9eaf){super(_0x3d9eaf),this[_0x2c5b('0x6')](_0x2c5b('0x0'),''),this[_0x2c5b('0x3')]({'tag':_0x2c5b('0x4'),'attributes':{'class':[_0x2c5b('0x7'),_0x2c5b('0x2')]}});}[_0x2c5b('0x1')](){super[_0x2c5b('0x1')](),this['on'](_0x2c5b('0x8'),(_0xe3879,_0x2c3b3d,_0x43616a)=>{this[_0x2c5b('0x9')][_0x2c5b('0x5')]=_0x43616a;}),this['element'][_0x2c5b('0x5')]=this[_0x2c5b('0x0')];}}
23
+ var _0x3bfa=['set','div','change:content','ck-annotation__content','ck-comment__content','element','content','innerHTML','setTemplate','render'];(function(_0x3d8a5f,_0x3bfa44){var _0x408e85=function(_0x34a89d){while(--_0x34a89d){_0x3d8a5f['push'](_0x3d8a5f['shift']());}};_0x408e85(++_0x3bfa44);}(_0x3bfa,0x166));var _0x408e=function(_0x3d8a5f,_0x3bfa44){_0x3d8a5f=_0x3d8a5f-0x0;var _0x408e85=_0x3bfa[_0x3d8a5f];return _0x408e85;};import{View as _0x334e70}from'ckeditor5/src/ui';export default class Et extends _0x334e70{constructor(_0x40a451){super(_0x40a451),this[_0x408e('0x2')](_0x408e('0x8'),''),this[_0x408e('0x0')]({'tag':_0x408e('0x3'),'attributes':{'class':[_0x408e('0x6'),_0x408e('0x5')]}});}[_0x408e('0x1')](){super[_0x408e('0x1')](),this['on'](_0x408e('0x4'),(_0x7f1be0,_0xa2a322,_0x544c8a)=>{this[_0x408e('0x7')][_0x408e('0x9')]=_0x544c8a;}),this[_0x408e('0x7')]['innerHTML']=this[_0x408e('0x8')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4156=['set','element','_initializeFocusCycling','forEach','ck-comment__input-actions--submit','Esc','ck-comment__input-actions--active','isEnabled','keystrokes','Submit','ck-comment__input-wrapper','_isDestroyed','div','ck-comment__input-actions--cancel','create','submitButtonView','_createSubmitButton','Reply...','focusPrevious','_editorCreationPromise','render','createEditor','check','disabledSubmit','destroy','focusNext','listenTo','then','extendTemplate','_editorConfig','_createCancelButton','add','TOO_LONG_COMMENT_ALERT','execute','bind','focusTracker','shift\x20+\x20tab','high','change','focus','insertBefore','firstChild','cancelButtonView','label','stop','value','icon','document','model','initialData','cancel','trim','showButtons','editorReady','ck-comment__input-actions','editor','placeholder','length','submit','Cancel','fire','setData','bindTemplate'];(function(_0x5cd8f1,_0x415667){const _0x2553f1=function(_0x378620){while(--_0x378620){_0x5cd8f1['push'](_0x5cd8f1['shift']());}};_0x2553f1(++_0x415667);}(_0x4156,0x1ea));const _0x2553=function(_0x5cd8f1,_0x415667){_0x5cd8f1=_0x5cd8f1-0x0;let _0x2553f1=_0x4156[_0x5cd8f1];return _0x2553f1;};import{View as _0x3f3a53,ViewCollection as _0x4b824d,FocusCycler as _0x3547e1,ButtonView as _0x1daf31}from'ckeditor5/src/ui';import{FocusTracker as _0x1efc86,KeystrokeHandler as _0x421ef0}from'ckeditor5/src/utils';import{icons as _0x48d3d7}from'ckeditor5/src/core';import _0x273c84 from'../commenteditor/commenteditor';import{getTranslation as _0x28698e}from'../../../utils/common-translations';export default class It extends _0x3f3a53{constructor(_0x35a66f,_0x5015c4={}){super(_0x35a66f),this[_0x2553('0x6')]=null,this[_0x2553('0x2b')]=_0x5015c4,this[_0x2553('0x16')]=new _0x421ef0(),this[_0x2553('0x31')]=new _0x1efc86(),this[_0x2553('0xe')](_0x2553('0x3b'),_0x5015c4[_0x2553('0x0')]||''),this[_0x2553('0xe')](_0x2553('0x25'),!0x1),this[_0x2553('0xe')](_0x2553('0x3'),!0x0),this['set'](_0x2553('0x7'),_0x28698e(_0x35a66f,_0x2553('0x1f'))),this[_0x2553('0x1d')]=this[_0x2553('0x1e')](),this[_0x2553('0x38')]=this[_0x2553('0x2c')](),this['setTemplate']({'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x18')]},'children':[{'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x5'),this[_0x2553('0xd')]['if'](_0x2553('0x3'),_0x2553('0x14'))]},'children':[this[_0x2553('0x1d')],this['cancelButtonView']]}]}),this[_0x2553('0x16')][_0x2553('0xe')](_0x2553('0x13'),(_0x5ca327,_0x285400)=>{this[_0x2553('0x38')][_0x2553('0xb')](_0x2553('0x2f')),_0x285400();}),this['on']('submit',(_0x12b0b3,_0x1a3b3e)=>{_0x1a3b3e[_0x2553('0x8')]>0xfde8?(alert(_0x28698e(_0x35a66f,_0x2553('0x2e'),[_0x1a3b3e[_0x2553('0x8')],0xfde8])),_0x12b0b3[_0x2553('0x3a')]()):this[_0x2553('0x6')][_0x2553('0xc')]('');},{'priority':_0x2553('0x33')});}[_0x2553('0x22')](){super['render'](),this['keystrokes'][_0x2553('0x28')](this['element']),this['focusTracker'][_0x2553('0x2d')](this[_0x2553('0xf')]);}[_0x2553('0x23')](){return this[_0x2553('0x6')]||(this['editor']=new _0x273c84(this[_0x2553('0x2b')]),this[_0x2553('0x21')]=this[_0x2553('0x6')][_0x2553('0x1c')]()[_0x2553('0x29')](()=>{this[_0x2553('0x19')]||(this[_0x2553('0xf')][_0x2553('0x36')](this[_0x2553('0x6')]['ui'][_0x2553('0xf')],this['element'][_0x2553('0x37')]),this[_0x2553('0x6')][_0x2553('0x3e')][_0x2553('0x3d')]['on'](_0x2553('0x34'),()=>this[_0x2553('0x3b')]=this[_0x2553('0x6')]['getData']()),this['editor']['bind'](_0x2553('0x7'))['to'](this),this[_0x2553('0x10')](this[_0x2553('0x6')]),this[_0x2553('0xb')](_0x2553('0x4')));})),this[_0x2553('0x21')];}['focus'](){this[_0x2553('0x6')]&&this[_0x2553('0x6')][_0x2553('0x35')]();}async[_0x2553('0x26')](){this[_0x2553('0x19')]||(this[_0x2553('0x19')]=!0x0,this['editor']&&(await this[_0x2553('0x21')],await this['editor'][_0x2553('0x26')]()),await super['destroy']());}[_0x2553('0x1e')](){const {locale:_0x4c0825}=this,_0x3967c5=new _0x1daf31(_0x4c0825);return _0x3967c5[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x12')]}}),_0x3967c5['label']=_0x28698e(_0x4c0825,_0x2553('0x17')),_0x3967c5[_0x2553('0x3c')]=_0x48d3d7[_0x2553('0x24')],_0x3967c5['on'](_0x2553('0x2f'),()=>{this[_0x2553('0xb')](_0x2553('0x9'),this[_0x2553('0x3b')]);}),_0x3967c5[_0x2553('0x30')](_0x2553('0x15'))['to'](this,'value',this,'disabledSubmit',(_0x45a108,_0x22b3ef)=>!_0x22b3ef&&!!_0x45a108[_0x2553('0x2')]()),_0x3967c5;}['_createCancelButton'](){const {locale:_0x52d27b}=this,_0x3f55f6=new _0x1daf31(_0x52d27b);return _0x3f55f6[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x1b')]}}),_0x3f55f6[_0x2553('0x39')]=_0x28698e(_0x52d27b,_0x2553('0xa')),_0x3f55f6[_0x2553('0x3c')]=_0x48d3d7['cancel'],_0x3f55f6['on'](_0x2553('0x2f'),()=>{this[_0x2553('0x6')][_0x2553('0xc')](''),this[_0x2553('0xb')](_0x2553('0x1'));}),_0x3f55f6;}[_0x2553('0x10')](_0x22f4c3){const _0x2decd4=this[_0x2553('0x31')],_0x57c34f=new _0x4b824d();[_0x22f4c3['ui']['view'],this[_0x2553('0x1d')],this[_0x2553('0x38')]][_0x2553('0x11')](_0x221668=>{_0x57c34f[_0x2553('0x2d')](_0x221668),_0x2decd4[_0x2553('0x2d')](_0x221668[_0x2553('0xf')]);});const _0x2d0153=new _0x3547e1({'focusables':_0x57c34f,'focusTracker':_0x2decd4});this[_0x2553('0x16')][_0x2553('0xe')]('tab',(_0x473326,_0x57d4a1)=>{_0x2d0153[_0x2553('0x27')](),_0x57d4a1();},{'priority':'low'}),this['keystrokes'][_0x2553('0xe')](_0x2553('0x32'),(_0x448256,_0x3200de)=>{_0x2d0153[_0x2553('0x20')](),_0x3200de();},{'priority':'low'});}}
23
+ const _0x53e9=['high','focus','add','_isDestroyed','model','element','icon','document','value','showButtons','cancel','destroy','length','initialData','execute','insertBefore','Esc','create','set','submit','getData','div','Submit','focusTracker','bind','_editorConfig','Reply...','editorReady','submitButtonView','ck-comment__input-actions--cancel','shift\x20+\x20tab','focusPrevious','label','placeholder','editor','listenTo','ck-comment__input-actions','low','stop','setData','tab','isEnabled','render','fire','forEach','ck-comment__input-wrapper','_createSubmitButton','ck-comment__input-actions--submit','_editorCreationPromise','cancelButtonView','focusNext','bindTemplate','extendTemplate','firstChild','view','createEditor','keystrokes','Cancel','then','setTemplate','disabledSubmit','_initializeFocusCycling','change','trim'];(function(_0x6286e1,_0x53e91b){const _0x5adb88=function(_0x26d84d){while(--_0x26d84d){_0x6286e1['push'](_0x6286e1['shift']());}};_0x5adb88(++_0x53e91b);}(_0x53e9,0x7d));const _0x5adb=function(_0x6286e1,_0x53e91b){_0x6286e1=_0x6286e1-0x0;let _0x5adb88=_0x53e9[_0x6286e1];return _0x5adb88;};import{View as _0xf7076e,ViewCollection as _0x41f42d,FocusCycler as _0x180f67,ButtonView as _0x3b6b27}from'ckeditor5/src/ui';import{FocusTracker as _0x4965a3,KeystrokeHandler as _0x3fd838}from'ckeditor5/src/utils';import{icons as _0x3585bb}from'ckeditor5/src/core';import _0x442d62 from'../commenteditor/commenteditor';import{getTranslation as _0x12a40c}from'../../../utils/common-translations';export default class Tt extends _0xf7076e{constructor(_0x11e579,_0xd8b71d={}){super(_0x11e579),this[_0x5adb('0x25')]=null,this[_0x5adb('0x1c')]=_0xd8b71d,this[_0x5adb('0x3b')]=new _0x3fd838(),this[_0x5adb('0x1a')]=new _0x4965a3(),this[_0x5adb('0x15')](_0x5adb('0xb'),_0xd8b71d[_0x5adb('0x10')]||''),this[_0x5adb('0x15')](_0x5adb('0x3f'),!0x1),this[_0x5adb('0x15')](_0x5adb('0xc'),!0x0),this[_0x5adb('0x15')](_0x5adb('0x24'),_0x12a40c(_0x11e579,_0x5adb('0x1d'))),this[_0x5adb('0x1f')]=this['_createSubmitButton'](),this[_0x5adb('0x34')]=this['_createCancelButton'](),this[_0x5adb('0x3e')]({'tag':_0x5adb('0x18'),'attributes':{'class':[_0x5adb('0x30')]},'children':[{'tag':_0x5adb('0x18'),'attributes':{'class':[_0x5adb('0x27'),this[_0x5adb('0x36')]['if'](_0x5adb('0xc'),'ck-comment__input-actions--active')]},'children':[this[_0x5adb('0x1f')],this[_0x5adb('0x34')]]}]}),this[_0x5adb('0x3b')][_0x5adb('0x15')](_0x5adb('0x13'),(_0x54e9fe,_0x5708cf)=>{this['cancelButtonView'][_0x5adb('0x2e')]('execute'),_0x5708cf();}),this['on']('submit',(_0x5cb2ec,_0x34fd7f)=>{_0x34fd7f[_0x5adb('0xf')]>0xfde8?(alert(_0x12a40c(_0x11e579,'TOO_LONG_COMMENT_ALERT',[_0x34fd7f['length'],0xfde8])),_0x5cb2ec[_0x5adb('0x29')]()):this[_0x5adb('0x25')][_0x5adb('0x2a')]('');},{'priority':_0x5adb('0x3')});}[_0x5adb('0x2d')](){super[_0x5adb('0x2d')](),this['keystrokes'][_0x5adb('0x26')](this[_0x5adb('0x8')]),this[_0x5adb('0x1a')]['add'](this['element']);}[_0x5adb('0x3a')](){return this[_0x5adb('0x25')]||(this[_0x5adb('0x25')]=new _0x442d62(this[_0x5adb('0x1c')]),this[_0x5adb('0x33')]=this[_0x5adb('0x25')][_0x5adb('0x14')]()[_0x5adb('0x3d')](()=>{this[_0x5adb('0x6')]||(this['element'][_0x5adb('0x12')](this[_0x5adb('0x25')]['ui']['element'],this[_0x5adb('0x8')][_0x5adb('0x38')]),this[_0x5adb('0x25')][_0x5adb('0x7')][_0x5adb('0xa')]['on'](_0x5adb('0x1'),()=>this[_0x5adb('0xb')]=this[_0x5adb('0x25')][_0x5adb('0x17')]()),this[_0x5adb('0x25')]['bind'](_0x5adb('0x24'))['to'](this),this[_0x5adb('0x0')](this[_0x5adb('0x25')]),this['fire'](_0x5adb('0x1e')));})),this[_0x5adb('0x33')];}[_0x5adb('0x4')](){this[_0x5adb('0x25')]&&this['editor'][_0x5adb('0x4')]();}async[_0x5adb('0xe')](){this[_0x5adb('0x6')]||(this[_0x5adb('0x6')]=!0x0,this[_0x5adb('0x25')]&&(await this['_editorCreationPromise'],await this[_0x5adb('0x25')][_0x5adb('0xe')]()),await super[_0x5adb('0xe')]());}[_0x5adb('0x31')](){const {locale:_0x172188}=this,_0x163b3a=new _0x3b6b27(_0x172188);return _0x163b3a['extendTemplate']({'attributes':{'class':[_0x5adb('0x32')]}}),_0x163b3a[_0x5adb('0x23')]=_0x12a40c(_0x172188,_0x5adb('0x19')),_0x163b3a[_0x5adb('0x9')]=_0x3585bb['check'],_0x163b3a['on'](_0x5adb('0x11'),()=>{this['fire'](_0x5adb('0x16'),this['value']);}),_0x163b3a[_0x5adb('0x1b')](_0x5adb('0x2c'))['to'](this,'value',this,_0x5adb('0x3f'),(_0x5ced0e,_0x2bc5dd)=>!_0x2bc5dd&&!!_0x5ced0e[_0x5adb('0x2')]()),_0x163b3a;}['_createCancelButton'](){const {locale:_0x4c1d6a}=this,_0x2c7812=new _0x3b6b27(_0x4c1d6a);return _0x2c7812[_0x5adb('0x37')]({'attributes':{'class':[_0x5adb('0x20')]}}),_0x2c7812[_0x5adb('0x23')]=_0x12a40c(_0x4c1d6a,_0x5adb('0x3c')),_0x2c7812[_0x5adb('0x9')]=_0x3585bb[_0x5adb('0xd')],_0x2c7812['on'](_0x5adb('0x11'),()=>{this[_0x5adb('0x25')][_0x5adb('0x2a')](''),this[_0x5adb('0x2e')](_0x5adb('0xd'));}),_0x2c7812;}[_0x5adb('0x0')](_0x49c6df){const _0xea1e9f=this[_0x5adb('0x1a')],_0xf5c601=new _0x41f42d();[_0x49c6df['ui'][_0x5adb('0x39')],this[_0x5adb('0x1f')],this[_0x5adb('0x34')]][_0x5adb('0x2f')](_0x44865c=>{_0xf5c601[_0x5adb('0x5')](_0x44865c),_0xea1e9f[_0x5adb('0x5')](_0x44865c[_0x5adb('0x8')]);});const _0x20af2d=new _0x180f67({'focusables':_0xf5c601,'focusTracker':_0xea1e9f});this[_0x5adb('0x3b')]['set'](_0x5adb('0x2b'),(_0xead40a,_0x3cd361)=>{_0x20af2d[_0x5adb('0x35')](),_0x3cd361();},{'priority':'low'}),this[_0x5adb('0x3b')][_0x5adb('0x15')](_0x5adb('0x21'),(_0x39b1da,_0x28fe28)=>{_0x20af2d[_0x5adb('0x22')](),_0x28fe28();},{'priority':_0x5adb('0x28')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e16=['remove','_handleRemoveCommentModel','_config','hasDirtyComment','get','ck-thread__comments','setTemplate','updateComment','createCollection','from','collapse','delegate','isEditMode','delete','isActive','removeComment','focus','_shouldCollapse','expand','_handleNewCommentModel','commentUpdated','comments','stopListening','_rearrangeCollapse','_rearrangeExpand','destroy','CommentView','visibleViews','insert','change:hasDirtyComment','locale','editorConfig','maxCommentsWhenCollapsed','_updateHasDirtyComment','add','_collapsedCommentsView','commentViews','maxCommentCharsWhenCollapsed','change:isActive','length','bind','count','render','refreshVisibleViews','listenTo','formatDateTime'];(function(_0x13d1f2,_0x2e160e){const _0x2a5c4b=function(_0x109bb4){while(--_0x109bb4){_0x13d1f2['push'](_0x13d1f2['shift']());}};_0x2a5c4b(++_0x2e160e);}(_0x2e16,0xb7));const _0x2a5c=function(_0x13d1f2,_0x2e160e){_0x13d1f2=_0x13d1f2-0x0;let _0x2a5c4b=_0x2e16[_0x13d1f2];return _0x2a5c4b;};import{View as _0x7bcbac}from'ckeditor5/src/ui';import{diff as _0x1d9c76,Collection as _0x121559}from'ckeditor5/src/utils';import _0x475160 from'./collapsedcommentsview';export default class L extends _0x7bcbac{constructor(_0x39d15c,_0x419392,_0xc31500){super(_0x39d15c),this['set']('hasDirtyComment',!0x1),this['set'](_0x2a5c('0x28'),_0x419392['comments'][_0x2a5c('0x28')]),this['set']('isActive',!0x1),this['_model']=_0x419392,this['_config']=_0xc31500,this['commentViews']=this['createCollection'](),this['visibleViews']=this[_0x2a5c('0x9')](),this[_0x2a5c('0x24')]=new _0x475160(_0x39d15c),this[_0x2a5c('0x24')][_0x2a5c('0x29')](_0x2a5c('0x2a'))['to'](this,'length',_0x419918=>_0x419918-this['_config'][_0x2a5c('0x21')]);for(const _0x2f3b25 of _0x419392['comments'])this['_handleNewCommentModel'](_0x2f3b25);this['listenTo'](_0x419392[_0x2a5c('0x16')],_0x2a5c('0x23'),(_0x581256,_0x59b465)=>{this['length']++,this['_handleNewCommentModel'](_0x59b465),this[_0x2a5c('0x2c')]();}),this[_0x2a5c('0x2d')](_0x419392[_0x2a5c('0x16')],'remove',(_0x581a92,_0x499223)=>{this['length']--,this[_0x2a5c('0x2')](_0x499223),this['refreshVisibleViews']();}),this[_0x2a5c('0x2d')](_0x419392,_0x2a5c('0x15'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x27'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x1e'),()=>this[_0x2a5c('0x2c')]()),this[_0x2a5c('0x7')]({'tag':'ul','attributes':{'class':[_0x2a5c('0x6')]},'children':this[_0x2a5c('0x1c')]});}get['_shouldCollapse'](){return this['_model']['weight']>this[_0x2a5c('0x3')]['maxThreadTotalWeight']&&!this[_0x2a5c('0xf')]&&!this[_0x2a5c('0x4')];}[_0x2a5c('0x2b')](){super[_0x2a5c('0x2b')](),this[_0x2a5c('0x2c')]();}[_0x2a5c('0x11')](){this['element'][_0x2a5c('0x11')]();}['destroy'](){this[_0x2a5c('0x24')][_0x2a5c('0x1a')]();for(const _0x2ff912 of this[_0x2a5c('0x25')])_0x2ff912[_0x2a5c('0x1a')]();super[_0x2a5c('0x1a')]();}[_0x2a5c('0x2c')](){this[_0x2a5c('0x12')]?this[_0x2a5c('0x18')]():this['_rearrangeExpand']();}[_0x2a5c('0x14')](_0x445f5b){const _0x1e8170=new this[(_0x2a5c('0x3'))][(_0x2a5c('0x1b'))](this[_0x2a5c('0x1f')],_0x445f5b,{'maxCommentCharsWhenCollapsed':this[_0x2a5c('0x3')][_0x2a5c('0x26')],'formatDateTime':this[_0x2a5c('0x3')][_0x2a5c('0x0')],'editorConfig':this['_config'][_0x2a5c('0x20')]});_0x1e8170['viewUid']=_0x445f5b['id'],_0x1e8170['delegate'](_0x2a5c('0x10'))['to'](this),_0x1e8170[_0x2a5c('0xc')](_0x2a5c('0x8'))['to'](this),this[_0x2a5c('0x2d')](_0x1e8170,'change:isEditMode',()=>this[_0x2a5c('0x22')]()),this[_0x2a5c('0x25')]['add'](_0x1e8170);}['_handleRemoveCommentModel'](_0x1da5f4){const _0x50f8d8=this[_0x2a5c('0x25')]['remove'](_0x1da5f4['id']);this[_0x2a5c('0x17')](_0x50f8d8),_0x50f8d8[_0x2a5c('0xd')]&&this[_0x2a5c('0x22')](),_0x50f8d8['destroy']();}[_0x2a5c('0x22')](){this[_0x2a5c('0x4')]=Array['from'](this[_0x2a5c('0x25')])['some'](_0x22b7bf=>_0x22b7bf[_0x2a5c('0xd')]);}[_0x2a5c('0x18')](){const _0x4396d0=function(_0x4db576){const _0x3281bf=new _0x121559();for(const _0x41733b of _0x4db576)_0x3281bf[_0x2a5c('0x23')](_0x41733b);return _0x3281bf;}(this[_0x2a5c('0x25')]),_0x16015e=this[_0x2a5c('0x24')][_0x2a5c('0x2a')];for(let _0x16dbb7=0x1;_0x16dbb7<=_0x16015e;_0x16dbb7++)_0x4396d0[_0x2a5c('0x1')](0x1);for(const _0x474a8f of _0x4396d0)_0x474a8f[_0x2a5c('0xb')]();_0x16015e>0x0&&_0x4396d0['add'](this[_0x2a5c('0x24')],0x1),Wt(_0x1d9c76(Array['from'](this[_0x2a5c('0x1c')]),Array[_0x2a5c('0xa')](_0x4396d0)),this[_0x2a5c('0x1c')],_0x4396d0);}[_0x2a5c('0x19')](){Wt(_0x1d9c76(Array[_0x2a5c('0xa')](this['visibleViews']),Array[_0x2a5c('0xa')](this['commentViews'])),this[_0x2a5c('0x1c')],this[_0x2a5c('0x25')]);for(const _0x2b30dd of this[_0x2a5c('0x1c')])_0x2b30dd[_0x2a5c('0x13')]();}}function Wt(_0x497315,_0x1dae37,_0x1d1991){let _0x528677=0x0;for(const _0x2c61ad of _0x497315)switch(_0x2c61ad){case _0x2a5c('0x1d'):_0x1dae37[_0x2a5c('0x23')](_0x1d1991[_0x2a5c('0x5')](_0x528677),_0x528677),_0x528677++;break;case _0x2a5c('0xe'):_0x1dae37[_0x2a5c('0x1')](_0x528677);break;case'equal':_0x528677++;}}
23
+ const _0x33a4=['locale','collapse','delegate','add','isEditMode','expand','stopListening','insert','hasDirtyComment','set','maxThreadTotalWeight','element','comments','setTemplate','_updateHasDirtyComment','viewUid','remove','_collapsedCommentsView','bind','_handleRemoveCommentModel','count','delete','equal','refreshVisibleViews','change:isActive','commentUpdated','visibleViews','editorConfig','_model','length','get','change:isEditMode','render','from','focus','formatDateTime','_rearrangeExpand','CommentView','_rearrangeCollapse','_config','createCollection','change:hasDirtyComment','removeComment','some','ck-thread__comments','_shouldCollapse','destroy','listenTo','commentViews'];(function(_0x1bee4c,_0x33a44b){const _0x2b13ca=function(_0x5ac793){while(--_0x5ac793){_0x1bee4c['push'](_0x1bee4c['shift']());}};_0x2b13ca(++_0x33a44b);}(_0x33a4,0xd9));const _0x2b13=function(_0x1bee4c,_0x33a44b){_0x1bee4c=_0x1bee4c-0x0;let _0x2b13ca=_0x33a4[_0x1bee4c];return _0x2b13ca;};import{View as _0x1f152c}from'ckeditor5/src/ui';import{diff as _0x18cf09,Collection as _0x46b51e}from'ckeditor5/src/utils';import _0x2711ee from'./collapsedcommentsview';export default class dt extends _0x1f152c{constructor(_0x6287aa,_0x12755a,_0x1ca63b){super(_0x6287aa),this[_0x2b13('0x25')](_0x2b13('0x24'),!0x1),this[_0x2b13('0x25')](_0x2b13('0x8'),_0x12755a[_0x2b13('0x28')][_0x2b13('0x8')]),this['set']('isActive',!0x1),this[_0x2b13('0x7')]=_0x12755a,this[_0x2b13('0x12')]=_0x1ca63b,this[_0x2b13('0x1b')]=this[_0x2b13('0x13')](),this[_0x2b13('0x5')]=this[_0x2b13('0x13')](),this[_0x2b13('0x2d')]=new _0x2711ee(_0x6287aa),this['_collapsedCommentsView'][_0x2b13('0x2e')](_0x2b13('0x30'))['to'](this,_0x2b13('0x8'),_0x21a002=>_0x21a002-this[_0x2b13('0x12')]['maxCommentsWhenCollapsed']);for(const _0x325062 of _0x12755a[_0x2b13('0x28')])this['_handleNewCommentModel'](_0x325062);this[_0x2b13('0x1a')](_0x12755a['comments'],_0x2b13('0x1f'),(_0xc365ce,_0x269c75)=>{this['length']++,this['_handleNewCommentModel'](_0x269c75),this['refreshVisibleViews']();}),this[_0x2b13('0x1a')](_0x12755a['comments'],_0x2b13('0x2c'),(_0x19f7f8,_0x3d170a)=>{this[_0x2b13('0x8')]--,this[_0x2b13('0x2f')](_0x3d170a),this[_0x2b13('0x2')]();}),this[_0x2b13('0x1a')](_0x12755a,_0x2b13('0x4'),()=>this[_0x2b13('0x2')]()),this['on'](_0x2b13('0x3'),()=>this[_0x2b13('0x2')]()),this['on'](_0x2b13('0x14'),()=>this[_0x2b13('0x2')]()),this[_0x2b13('0x29')]({'tag':'ul','attributes':{'class':[_0x2b13('0x17')]},'children':this[_0x2b13('0x5')]});}get[_0x2b13('0x18')](){return this[_0x2b13('0x7')]['weight']>this[_0x2b13('0x12')][_0x2b13('0x26')]&&!this['isActive']&&!this[_0x2b13('0x24')];}['render'](){super[_0x2b13('0xb')](),this['refreshVisibleViews']();}[_0x2b13('0xd')](){this[_0x2b13('0x27')][_0x2b13('0xd')]();}[_0x2b13('0x19')](){this[_0x2b13('0x2d')][_0x2b13('0x19')]();for(const _0x2bc273 of this['commentViews'])_0x2bc273[_0x2b13('0x19')]();super[_0x2b13('0x19')]();}[_0x2b13('0x2')](){this['_shouldCollapse']?this[_0x2b13('0x11')]():this[_0x2b13('0xf')]();}['_handleNewCommentModel'](_0x56ce3f){const _0xd21049=new this[(_0x2b13('0x12'))][(_0x2b13('0x10'))](this[_0x2b13('0x1c')],_0x56ce3f,{'maxCommentCharsWhenCollapsed':this[_0x2b13('0x12')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config'][_0x2b13('0xe')],'editorConfig':this['_config'][_0x2b13('0x6')]});_0xd21049[_0x2b13('0x2b')]=_0x56ce3f['id'],_0xd21049['delegate'](_0x2b13('0x15'))['to'](this),_0xd21049[_0x2b13('0x1e')]('updateComment')['to'](this),this[_0x2b13('0x1a')](_0xd21049,_0x2b13('0xa'),()=>this[_0x2b13('0x2a')]()),this[_0x2b13('0x1b')][_0x2b13('0x1f')](_0xd21049);}[_0x2b13('0x2f')](_0x393d8f){const _0x4c47ef=this[_0x2b13('0x1b')]['remove'](_0x393d8f['id']);this[_0x2b13('0x22')](_0x4c47ef),_0x4c47ef[_0x2b13('0x20')]&&this[_0x2b13('0x2a')](),_0x4c47ef['destroy']();}[_0x2b13('0x2a')](){this[_0x2b13('0x24')]=Array['from'](this[_0x2b13('0x1b')])[_0x2b13('0x16')](_0x39e59d=>_0x39e59d[_0x2b13('0x20')]);}[_0x2b13('0x11')](){const _0x5eff2b=function(_0x35ca90){const _0x3af767=new _0x46b51e();for(const _0x4baa35 of _0x35ca90)_0x3af767[_0x2b13('0x1f')](_0x4baa35);return _0x3af767;}(this[_0x2b13('0x1b')]),_0x2bf23f=this['_collapsedCommentsView'][_0x2b13('0x30')];for(let _0x2193ef=0x1;_0x2193ef<=_0x2bf23f;_0x2193ef++)_0x5eff2b[_0x2b13('0x2c')](0x1);for(const _0x3f7dfd of _0x5eff2b)_0x3f7dfd[_0x2b13('0x1d')]();_0x2bf23f>0x0&&_0x5eff2b[_0x2b13('0x1f')](this[_0x2b13('0x2d')],0x1),Wt(_0x18cf09(Array['from'](this[_0x2b13('0x5')]),Array[_0x2b13('0xc')](_0x5eff2b)),this['visibleViews'],_0x5eff2b);}[_0x2b13('0xf')](){Wt(_0x18cf09(Array[_0x2b13('0xc')](this['visibleViews']),Array[_0x2b13('0xc')](this[_0x2b13('0x1b')])),this[_0x2b13('0x5')],this['commentViews']);for(const _0x565eff of this[_0x2b13('0x5')])_0x565eff[_0x2b13('0x21')]();}}function Wt(_0x4f6716,_0xe75c34,_0x27d50a){let _0x93d130=0x0;for(const _0xfc4132 of _0x4f6716)switch(_0xfc4132){case _0x2b13('0x23'):_0xe75c34[_0x2b13('0x1f')](_0x27d50a[_0x2b13('0x9')](_0x93d130),_0x93d130),_0x93d130++;break;case _0x2b13('0x0'):_0xe75c34[_0x2b13('0x2c')](_0x93d130);break;case _0x2b13('0x1'):_0x93d130++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x25e5=['extendTemplate','change:showInput','commentInputView','editor','userView','focusTracker','setTemplate','destroy','showInput','set','ck-thread__input','value','createEditor','bind','div','bindTemplate','then','ck-thread__user','isFocused'];(function(_0x23045e,_0x25e51b){var _0x3d6bd1=function(_0x4f42a8){while(--_0x4f42a8){_0x23045e['push'](_0x23045e['shift']());}};_0x3d6bd1(++_0x25e51b);}(_0x25e5,0xf7));var _0x3d6b=function(_0x23045e,_0x25e51b){_0x23045e=_0x23045e-0x0;var _0x3d6bd1=_0x25e5[_0x23045e];return _0x3d6bd1;};import{View as _0x337d1}from'ckeditor5/src/ui';import _0x2be87b from'./commentinputview';import{UserView as _0x101e63}from'ckeditor5-collaboration/src/collaboration-core';export default class z extends _0x337d1{constructor(_0x424456,_0x341890,_0x2fede5){super(_0x424456),this['commentInputView']=new _0x2be87b(_0x424456,_0x2fede5),this['commentInputView'][_0x3d6b('0xd')]('showButtons')['to'](this[_0x3d6b('0x2')][_0x3d6b('0x5')],_0x3d6b('0x12'),this[_0x3d6b('0x2')],_0x3d6b('0xb'),(_0x25e10b,_0x52c26c)=>_0x25e10b||!!_0x52c26c),this[_0x3d6b('0x9')](_0x3d6b('0x8'),!0x1),this['on'](_0x3d6b('0x1'),()=>{this[_0x3d6b('0x8')]&&!this['commentInputView'][_0x3d6b('0x3')]&&this[_0x3d6b('0x2')][_0x3d6b('0xc')]();}),this[_0x3d6b('0x4')]=new _0x101e63(_0x424456,_0x341890),this['userView'][_0x3d6b('0x0')]({'attributes':{'class':_0x3d6b('0x11')}}),this[_0x3d6b('0x2')]['extendTemplate']({'attributes':{'class':_0x3d6b('0xa')}}),this[_0x3d6b('0x6')]({'tag':_0x3d6b('0xe'),'attributes':{'class':['ck-comment__input-container',this[_0x3d6b('0xf')]['if'](_0x3d6b('0x8'),'ck-comment__input-container--active')]},'children':[this['userView'],this[_0x3d6b('0x2')]]});}['destroy'](){return this[_0x3d6b('0x2')][_0x3d6b('0x7')]()[_0x3d6b('0x10')](()=>super['destroy']());}}
23
+ var _0x2871=['destroy','div','change:showInput','showButtons','userView','createEditor','setTemplate','bind','extendTemplate','showInput','set','then','ck-comment__input-container--active','ck-comment__input-container','commentInputView','ck-thread__input'];(function(_0x2b77fb,_0x2871db){var _0x3c849d=function(_0x1132ef){while(--_0x1132ef){_0x2b77fb['push'](_0x2b77fb['shift']());}};_0x3c849d(++_0x2871db);}(_0x2871,0x11a));var _0x3c84=function(_0x2b77fb,_0x2871db){_0x2b77fb=_0x2b77fb-0x0;var _0x3c849d=_0x2871[_0x2b77fb];return _0x3c849d;};import{View as _0x294c76}from'ckeditor5/src/ui';import _0x385d7d from'./commentinputview';import{UserView as _0x26ce2f}from'ckeditor5-collaboration/src/collaboration-core';export default class ut extends _0x294c76{constructor(_0x59f686,_0x2c4202,_0x5c09e2){super(_0x59f686),this[_0x3c84('0x4')]=new _0x385d7d(_0x59f686,_0x5c09e2),this['commentInputView'][_0x3c84('0xd')](_0x3c84('0x9'))['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x20e0f4,_0x250221)=>_0x20e0f4||!!_0x250221),this[_0x3c84('0x0')](_0x3c84('0xf'),!0x1),this['on'](_0x3c84('0x8'),()=>{this[_0x3c84('0xf')]&&!this[_0x3c84('0x4')]['editor']&&this['commentInputView'][_0x3c84('0xb')]();}),this[_0x3c84('0xa')]=new _0x26ce2f(_0x59f686,_0x2c4202),this[_0x3c84('0xa')][_0x3c84('0xe')]({'attributes':{'class':'ck-thread__user'}}),this[_0x3c84('0x4')][_0x3c84('0xe')]({'attributes':{'class':_0x3c84('0x5')}}),this[_0x3c84('0xc')]({'tag':_0x3c84('0x7'),'attributes':{'class':[_0x3c84('0x3'),this['bindTemplate']['if'](_0x3c84('0xf'),_0x3c84('0x2'))]},'children':[this[_0x3c84('0xa')],this['commentInputView']]});}[_0x3c84('0x6')](){return this[_0x3c84('0x4')][_0x3c84('0x6')]()[_0x3c84('0x1')](()=>super[_0x3c84('0x6')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x554e=['fire','length','ck-thread--','div','then','showConfirm','Delete\x20comment\x20thread?','ck-thread','change:isReadOnly','Write\x20a\x20comment...','cancelConfirm','actionIndicator','containerElement','ck-thread--active','bindTemplate','commentsListView','removeButton','_boundFirstCommentView','ck-thread--remove-confirmation','listenTo','_cancelAllConfirms','.ck-thread__container','change:isActive','remove','removeCommentThread','add','_model','bind','_bindFirstCommentView','render','unbind','execute','commentViews','set','isActive','high','stop'];(function(_0x22b770,_0x554e2a){const _0x332857=function(_0xfab3e6){while(--_0xfab3e6){_0x22b770['push'](_0x22b770['shift']());}};_0x332857(++_0x554e2a);}(_0x554e,0xf5));const _0x3328=function(_0x22b770,_0x554e2a){_0x22b770=_0x22b770-0x0;let _0x332857=_0x554e[_0x22b770];return _0x332857;};import{mix as _0x20b1dd}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2034bb}from'ckeditor5-collaboration/src/collaboration-core';import _0x2a4bf6 from'./basecommentthreadview';import{getTranslation as _0x2b7edb}from'../../../utils/common-translations';export default class S extends _0x2a4bf6{constructor(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40){super(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40),this[_0x3328('0xa')](_0x3328('0x19'),null),this['containerElement']=null,this[_0x3328('0x1f')]=null,this['locale']=_0x350716,this['setTemplate'](this['getTemplate']()),this['on'](_0x3328('0x24'),(_0x419482,_0x1c31d8,_0x3e2543)=>{_0x3e2543||this[_0x3328('0x22')]();}),this[_0x3328('0x21')](this[_0x3328('0x3')],_0x3328('0x16'),(_0x3a4205,_0x2f3ff3,_0x5a06a3)=>{_0x5a06a3&&this[_0x3328('0x22')]();}),this[_0x3328('0xf')]>0x0&&this[_0x3328('0x5')](),this[_0x3328('0x21')](this['commentsListView'][_0x3328('0x9')],_0x3328('0x2'),()=>{this[_0x3328('0x5')]();});}['getTemplate'](){const _0x5693fa=this[_0x3328('0x1c')];return{'tag':_0x3328('0x11'),'attributes':{'class':[_0x3328('0x15'),_0x5693fa['if'](_0x3328('0xb'),_0x3328('0x1b')),_0x5693fa['if']('isConfirm',_0x3328('0x20')),_0x5693fa['to'](_0x3328('0x19'),_0x460d0a=>_0x460d0a?_0x3328('0x10')+_0x460d0a:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3328('0x11'),'attributes':{'class':'ck-thread__container'},'children':[this[_0x3328('0x1d')],this['commentThreadInputView']]}]};}[_0x3328('0x6')](){super[_0x3328('0x6')](),this[_0x3328('0x1a')]=this['element']['querySelector'](_0x3328('0x23'));}[_0x3328('0x22')](){this[_0x3328('0x18')]();for(const _0x36e2af of this['commentsListView'][_0x3328('0x9')])_0x36e2af[_0x3328('0x18')]();}['_bindFirstCommentView'](){const {locale:_0x495e44}=this,_0x56840a=this['commentsListView'][_0x3328('0x9')]['get'](0x0);_0x56840a!==this[_0x3328('0x1f')]&&(this['_boundFirstCommentView']=_0x56840a,this[_0x3328('0x7')](_0x3328('0x19')),this[_0x3328('0x4')](_0x3328('0x19'))['to'](_0x56840a,'actionIndicator',_0x83884c=>_0x3328('0x0')===_0x83884c?_0x3328('0x0'):null),_0x56840a['placeholder']=_0x2b7edb(_0x495e44,_0x3328('0x17')),_0x56840a[_0x3328('0x1e')]['on'](_0x3328('0x8'),_0xf08f96=>{_0xf08f96[_0x3328('0xd')](),this[_0x3328('0x13')](_0x2b7edb(_0x495e44,_0x3328('0x14')),this[_0x3328('0x1a')])[_0x3328('0x12')](()=>{this[_0x3328('0xe')](_0x3328('0x1'));});},{'priority':_0x3328('0xc')}));}}_0x20b1dd(S,_0x2034bb);
23
+ const _0x369d=['ck-thread','.ck-thread__container','get','Write\x20a\x20comment...','Delete\x20comment\x20thread?','high','_model','add','then','getTemplate','listenTo','locale','removeButton','cancelConfirm','removeCommentThread','ck-thread--active','unbind','change:isActive','showConfirm','ck-thread--remove-confirmation','ck-thread--','_bindFirstCommentView','fire','containerElement','render','commentThreadInputView','div','setTemplate','ck-thread__container','commentsListView','length','isConfirm','bind','execute','_boundFirstCommentView','actionIndicator','change:isReadOnly','remove','element','isActive','_cancelAllConfirms','commentViews'];(function(_0xde0919,_0x369d13){const _0x24f965=function(_0x402753){while(--_0x402753){_0xde0919['push'](_0xde0919['shift']());}};_0x24f965(++_0x369d13);}(_0x369d,0x9e));const _0x24f9=function(_0xde0919,_0x369d13){_0xde0919=_0xde0919-0x0;let _0x24f965=_0x369d[_0xde0919];return _0x24f965;};import{mix as _0xb1454b}from'ckeditor5/src/utils';import{ConfirmMixin as _0x50dc11}from'ckeditor5-collaboration/src/collaboration-core';import _0x47a95a from'./basecommentthreadview';import{getTranslation as _0x2c4419}from'../../../utils/common-translations';export default class ot extends _0x47a95a{constructor(_0x1bbcb0,_0x5530aa,_0xe866e5,_0x556086){super(_0x1bbcb0,_0x5530aa,_0xe866e5,_0x556086),this['set'](_0x24f9('0x3'),null),this['containerElement']=null,this[_0x24f9('0x2')]=null,this[_0x24f9('0x15')]=_0x1bbcb0,this[_0x24f9('0x25')](this[_0x24f9('0x13')]()),this['on'](_0x24f9('0x1b'),(_0x226bd9,_0x4e66e5,_0x3f5aba)=>{_0x3f5aba||this[_0x24f9('0x8')]();}),this[_0x24f9('0x14')](this[_0x24f9('0x10')],_0x24f9('0x4'),(_0x2dd4a1,_0x340e68,_0x2584de)=>{_0x2584de&&this[_0x24f9('0x8')]();}),this[_0x24f9('0x28')]>0x0&&this[_0x24f9('0x1f')](),this[_0x24f9('0x14')](this[_0x24f9('0x27')][_0x24f9('0x9')],_0x24f9('0x11'),()=>{this['_bindFirstCommentView']();});}[_0x24f9('0x13')](){const _0x5e0c2e=this['bindTemplate'];return{'tag':'div','attributes':{'class':[_0x24f9('0xa'),_0x5e0c2e['if'](_0x24f9('0x7'),_0x24f9('0x19')),_0x5e0c2e['if'](_0x24f9('0x29'),_0x24f9('0x1d')),_0x5e0c2e['to']('actionIndicator',_0x4c863b=>_0x4c863b?_0x24f9('0x1e')+_0x4c863b:'')],'data-thread-id':this[_0x24f9('0x10')]['id'],'tabindex':-0x1},'children':[{'tag':_0x24f9('0x24'),'attributes':{'class':_0x24f9('0x26')},'children':[this[_0x24f9('0x27')],this[_0x24f9('0x23')]]}]};}['render'](){super[_0x24f9('0x22')](),this[_0x24f9('0x21')]=this[_0x24f9('0x6')]['querySelector'](_0x24f9('0xb'));}[_0x24f9('0x8')](){this['cancelConfirm']();for(const _0x1581d2 of this[_0x24f9('0x27')][_0x24f9('0x9')])_0x1581d2[_0x24f9('0x17')]();}['_bindFirstCommentView'](){const {locale:_0x58cf83}=this,_0x1dbde8=this[_0x24f9('0x27')][_0x24f9('0x9')][_0x24f9('0xc')](0x0);_0x1dbde8!==this[_0x24f9('0x2')]&&(this[_0x24f9('0x2')]=_0x1dbde8,this[_0x24f9('0x1a')](_0x24f9('0x3')),this[_0x24f9('0x0')](_0x24f9('0x3'))['to'](_0x1dbde8,_0x24f9('0x3'),_0x4becb7=>'remove'===_0x4becb7?_0x24f9('0x5'):null),_0x1dbde8['placeholder']=_0x2c4419(_0x58cf83,_0x24f9('0xd')),_0x1dbde8[_0x24f9('0x16')]['on'](_0x24f9('0x1'),_0x4f07fc=>{_0x4f07fc['stop'](),this[_0x24f9('0x1c')](_0x2c4419(_0x58cf83,_0x24f9('0xe')),this[_0x24f9('0x21')])[_0x24f9('0x12')](()=>{this[_0x24f9('0x20')](_0x24f9('0x18'));});},{'priority':_0x24f9('0xf')}));}}_0xb1454b(ot,_0x50dc11);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bf7=['isReadOnly','ck-comment--','_attachActions','@external','getExternalCommentNote','isConfirm','mouseenter','ck-annotation__info-time','Edit','author','setTemplate','ck-annotation__info-name','bindTemplate','switchToEditMode','ck-comment--edit','time','visibleView','ck-annotation__user','authoredAt','ck-comment__info','EXTERNAL_AVATAR','render','edit','bind','set','userView','EXTERNAL_COMMENT','creator','element','showConfirm','Remove','icon','locale','ck-comment','formatDateTime','getUserViewNotificationText','label','isRemovable','Delete\x20comment?','ck-comment--remove','actionIndicator','importWord','isExternal','_createEditButton','ck-comment__external','isEditable','focus','isVisible','isEnabled','blur','ck-annotation__content-wrapper','removeButton','_model','ck-comment__main','ck-annotation__actions--hidden','execute','isEditMode','div','fire','extendTemplate','listenTo','EXTERNAL_IMPORT_WORD_COMMENT','name','source','ck-annotation__main','then','_createCommentInputView','editButton','ck-comment__info-name','ck-comment__info-time','attributes','_createRemoveButton'];(function(_0x7d9a9e,_0x4bf775){const _0x177ce8=function(_0x495a41){while(--_0x495a41){_0x7d9a9e['push'](_0x7d9a9e['shift']());}};_0x177ce8(++_0x4bf775);}(_0x4bf7,0x84));const _0x177c=function(_0x7d9a9e,_0x4bf775){_0x7d9a9e=_0x7d9a9e-0x0;let _0x177ce8=_0x4bf7[_0x7d9a9e];return _0x177ce8;};import{mix as _0x2aa32d}from'ckeditor5/src/utils';import{ButtonView as _0x33a93f}from'ckeditor5/src/ui';import{icons as _0x32b52b}from'ckeditor5/src/core';import{UserView as _0x45b92a,ConfirmMixin as _0x1962e1}from'ckeditor5-collaboration/src/collaboration-core';import _0x37fafd from'./basecommentview';import _0xecd2b8 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x13e683}from'../../../utils/common-translations';export default class W extends _0x37fafd{constructor(_0x4a3c38,_0x8e1a,_0x490cdd){super(_0x4a3c38,_0x8e1a,_0x490cdd),this[_0x177c('0x24')]('actionIndicator',null),this['set']('placeholder',_0x13e683(_0x4a3c38,'Reply...')),this[_0x177c('0x24')](_0x177c('0x1e'),null),this[_0x177c('0x23')](_0x177c('0x1e'))['to'](_0x8e1a),this['editButton']=this['_createEditButton'](),this[_0x177c('0x3f')]=this[_0x177c('0xb')](),this[_0x177c('0x25')]=new _0x45b92a(_0x4a3c38,_0x8e1a[_0x177c('0x15')],this[_0x177c('0x2f')]()),this[_0x177c('0x25')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x177c('0x1d')]}}),this[_0x177c('0x0')](_0x8e1a,'change:isRemovable',()=>this['cancelConfirm']()),this[_0x177c('0x16')](this['getTemplate']());}['getTemplate'](){const _0x120239=this[_0x177c('0x18')],_0x3aacaa=[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x1f'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x177c('0x25')][_0x177c('0x2')]}],'attributes':{'class':[_0x177c('0x8'),_0x177c('0x17')]}},{'tag':_0x177c('0x1b'),'attributes':{'datetime':_0x120239['to'](_0x177c('0x1e')),'class':[_0x177c('0x9'),_0x177c('0x13')]},'children':[{'text':_0x120239['to'](_0x177c('0x1e'),_0x2650c0=>this['_config'][_0x177c('0x2e')](_0x2650c0))}]}]},{'tag':_0x177c('0x45'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x120239['if'](_0x177c('0x44'),'ck-comment__actions--hidden'),_0x120239['if'](_0x177c('0x44'),_0x177c('0x42'))]},'children':[this[_0x177c('0x7')],this[_0x177c('0x3f')]]},{'tag':'div','attributes':{'class':[_0x177c('0x3e')]},'children':this[_0x177c('0x1c')]}];return this[_0x177c('0x40')]['isExternal']&&_0x3aacaa['push']({'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x38')]},'children':[{'text':this[_0x177c('0x10')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x120239['if'](_0x177c('0x11'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x2d'),'ck-annotation',_0x120239['if'](_0x177c('0x44'),'ck-comment--edit'),_0x120239['to'](_0x177c('0x34'),_0x571ba9=>_0x571ba9?_0x177c('0xd')+_0x571ba9:'')],'data-author-id':this[_0x177c('0x40')][_0x177c('0x15')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x177c('0x25')],{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x41'),_0x177c('0x4')]},'children':_0x3aacaa}]}]};}[_0x177c('0x37')](){const _0x163469=new _0x33a93f(this[_0x177c('0x2c')]);return _0x163469[_0x177c('0x30')]=_0x13e683(this[_0x177c('0x2c')],_0x177c('0x14')),_0x163469[_0x177c('0x2b')]=_0x32b52b['pencil'],_0x163469['extendTemplate']({'attributes':{'class':_0x177c('0x1a')}}),_0x163469['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x46940f=>!_0x46940f),_0x163469[_0x177c('0x23')](_0x177c('0x3b'))['to'](this['_model'],_0x177c('0x39')),_0x163469['on'](_0x177c('0x43'),()=>this[_0x177c('0x19')]()),_0x163469;}[_0x177c('0xb')](){const _0x5e6b9d=new _0x33a93f(this[_0x177c('0x2c')]);return _0x5e6b9d[_0x177c('0x30')]=_0x13e683(this['locale'],_0x177c('0x2a')),_0x5e6b9d['icon']=_0xecd2b8,_0x5e6b9d[_0x177c('0x47')]({'attributes':{'class':_0x177c('0x33')}}),_0x5e6b9d['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x3f06d6=>!_0x3f06d6),_0x5e6b9d[_0x177c('0x23')](_0x177c('0x3b'))['to'](this[_0x177c('0x40')],_0x177c('0x31')),_0x5e6b9d['on'](_0x177c('0x43'),()=>{this[_0x177c('0x29')](_0x13e683(this['locale'],_0x177c('0x32')),this[_0x177c('0x28')])[_0x177c('0x5')](()=>{this[_0x177c('0x46')]('removeComment',this[_0x177c('0x40')]['id']);});}),_0x5e6b9d;}['_attachActions'](_0xa4f337,_0xc13cd2){this['listenTo'](_0xa4f337,_0x177c('0x12'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3a'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,'mouseleave',()=>this[_0x177c('0x34')]=null),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3d'),()=>this[_0x177c('0x34')]=null);}[_0x177c('0x6')](){const _0x9b96d3=super[_0x177c('0x6')]();return _0x9b96d3['bind']('placeholder')['to'](this),_0x9b96d3;}[_0x177c('0x10')](){return _0x177c('0x35')===this[_0x177c('0x40')][_0x177c('0xa')][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],_0x177c('0x1')):_0x13e683(this[_0x177c('0x2c')],_0x177c('0x26'));}[_0x177c('0x2f')](){return this[_0x177c('0x40')][_0x177c('0x36')]?_0x177c('0x35')===this[_0x177c('0x40')]['attributes'][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x177c('0x40')]['creator'][_0x177c('0x2')]):_0x13e683(this['locale'],_0x177c('0x20'),this['_model'][_0x177c('0x27')][_0x177c('0x2')]):null;}[_0x177c('0x21')](){super[_0x177c('0x21')](),this[_0x177c('0xe')](this[_0x177c('0x7')][_0x177c('0x28')],_0x177c('0x22')),this[_0x177c('0xe')](this['removeButton'][_0x177c('0x28')],'remove');}}_0x2aa32d(W,_0x1962e1);
23
+ const _0x185f=['Reply...','cancelConfirm','_config','isRemovable','getExternalCommentNote','authoredAt','Delete\x20comment?','bindTemplate','change:isRemovable','_model','label','isExternal','_createCommentInputView','ck-comment__info-time','mouseleave','ck-annotation__info-name','pencil','locale','ck-comment__wrapper','importWord','attributes','edit','ck-annotation','editButton','icon','render','isEditMode','element','_createRemoveButton','removeButton','set','Remove','ck-comment__actions','extendTemplate','userView','_attachActions','ck-comment--','ck-comment--edit','switchToEditMode','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__actions--hidden','ck-comment__external','push','remove','formatDateTime','execute','source','_createEditButton','div','author','creator','EXTERNAL_COMMENT','ck-comment__user','@external','placeholder','ck-annotation__actions','EXTERNAL_IMPORT_WORD_COMMENT','ck-annotation__actions--hidden','EXTERNAL_AVATAR','ck-comment--remove','isEnabled','ck-annotation__content-wrapper','ck-annotation__info-time','bind','ck-comment','listenTo','Edit','focus','name','actionIndicator','isReadOnly','visibleView','isVisible','then','ck-comment__info-name','isEditable'];(function(_0x50701b,_0x185f24){const _0xabec8f=function(_0x2ee00b){while(--_0x2ee00b){_0x50701b['push'](_0x50701b['shift']());}};_0xabec8f(++_0x185f24);}(_0x185f,0x1b6));const _0xabec=function(_0x50701b,_0x185f24){_0x50701b=_0x50701b-0x0;let _0xabec8f=_0x185f[_0x50701b];return _0xabec8f;};import{mix as _0x592222}from'ckeditor5/src/utils';import{ButtonView as _0x5f31b0}from'ckeditor5/src/ui';import{icons as _0x19a870}from'ckeditor5/src/core';import{UserView as _0x2bb481,ConfirmMixin as _0x53bda4}from'ckeditor5-collaboration/src/collaboration-core';import _0x36bb5a from'./basecommentview';import _0x45890d from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5ad3c1}from'../../../utils/common-translations';export default class it extends _0x36bb5a{constructor(_0x1f7b10,_0x1a3886,_0x4c1a5c){super(_0x1f7b10,_0x1a3886,_0x4c1a5c),this[_0xabec('0x30')](_0xabec('0xb'),null),this['set'](_0xabec('0x48'),_0x5ad3c1(_0x1f7b10,_0xabec('0x12'))),this['set'](_0xabec('0x17'),null),this[_0xabec('0x5')]('authoredAt')['to'](_0x1a3886),this['editButton']=this[_0xabec('0x41')](),this['removeButton']=this[_0xabec('0x2e')](),this[_0xabec('0x34')]=new _0x2bb481(_0x1f7b10,_0x1a3886[_0xabec('0x43')],this['getUserViewNotificationText']()),this[_0xabec('0x34')][_0xabec('0x33')]({'attributes':{'class':[_0xabec('0x46'),'ck-annotation__user']}}),this[_0xabec('0x7')](_0x1a3886,_0xabec('0x1a'),()=>this[_0xabec('0x13')]()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x3bbd97=this[_0xabec('0x19')],_0x371980=[{'tag':_0xabec('0x42'),'attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0xabec('0x34')][_0xabec('0xa')]}],'attributes':{'class':[_0xabec('0x10'),_0xabec('0x21')]}},{'tag':'time','attributes':{'datetime':_0x3bbd97['to'](_0xabec('0x17')),'class':[_0xabec('0x1f'),_0xabec('0x4')]},'children':[{'text':_0x3bbd97['to']('authoredAt',_0x32035a=>this[_0xabec('0x14')][_0xabec('0x3e')](_0x32035a))}]}]},{'tag':'div','attributes':{'class':[_0xabec('0x32'),_0xabec('0x49'),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x3a')),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x4b'))]},'children':[this[_0xabec('0x29')],this[_0xabec('0x2f')]]},{'tag':'div','attributes':{'class':[_0xabec('0x3')]},'children':this[_0xabec('0xd')]}];return this['_model'][_0xabec('0x1d')]&&_0x371980[_0xabec('0x3c')]({'tag':_0xabec('0x42'),'attributes':{'class':[_0xabec('0x3b')]},'children':[{'text':this[_0xabec('0x16')]()}]}),{'tag':'li','attributes':{'class':[_0xabec('0x24'),_0x3bbd97['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0xabec('0x42'),'attributes':{'class':[_0xabec('0x6'),_0xabec('0x28'),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x37')),_0x3bbd97['to'](_0xabec('0xb'),_0x1d4b03=>_0x1d4b03?_0xabec('0x36')+_0x1d4b03:'')],'data-author-id':this['_model'][_0xabec('0x43')]['id'],'data-comment-id':this[_0xabec('0x1b')]['id']},'children':[this['userView'],{'tag':_0xabec('0x42'),'attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x371980}]}]};}['_createEditButton'](){const _0x5cf776=new _0x5f31b0(this['locale']);return _0x5cf776['label']=_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x8')),_0x5cf776[_0xabec('0x2a')]=_0x19a870[_0xabec('0x22')],_0x5cf776[_0xabec('0x33')]({'attributes':{'class':_0xabec('0x37')}}),_0x5cf776[_0xabec('0x5')](_0xabec('0x2'))['to'](this['_model'],_0xabec('0xc'),_0x3495e6=>!_0x3495e6),_0x5cf776[_0xabec('0x5')](_0xabec('0xe'))['to'](this[_0xabec('0x1b')],_0xabec('0x11')),_0x5cf776['on']('execute',()=>this[_0xabec('0x38')]()),_0x5cf776;}[_0xabec('0x2e')](){const _0x36fc76=new _0x5f31b0(this['locale']);return _0x36fc76[_0xabec('0x1c')]=_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x31')),_0x36fc76[_0xabec('0x2a')]=_0x45890d,_0x36fc76[_0xabec('0x33')]({'attributes':{'class':_0xabec('0x1')}}),_0x36fc76['bind']('isEnabled')['to'](this[_0xabec('0x1b')],_0xabec('0xc'),_0x3ddd4f=>!_0x3ddd4f),_0x36fc76['bind']('isVisible')['to'](this[_0xabec('0x1b')],_0xabec('0x15')),_0x36fc76['on'](_0xabec('0x3f'),()=>{this['showConfirm'](_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x18')),this['element'])[_0xabec('0xf')](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x36fc76;}[_0xabec('0x35')](_0x49ed3b,_0x108b79){this[_0xabec('0x7')](_0x49ed3b,'mouseenter',()=>this[_0xabec('0xb')]=_0x108b79),this[_0xabec('0x7')](_0x49ed3b,_0xabec('0x9'),()=>this[_0xabec('0xb')]=_0x108b79),this[_0xabec('0x7')](_0x49ed3b,_0xabec('0x20'),()=>this[_0xabec('0xb')]=null),this[_0xabec('0x7')](_0x49ed3b,'blur',()=>this[_0xabec('0xb')]=null);}[_0xabec('0x1e')](){const _0x5a3584=super[_0xabec('0x1e')]();return _0x5a3584['bind'](_0xabec('0x48'))['to'](this),_0x5a3584;}[_0xabec('0x16')](){return _0xabec('0x25')===this[_0xabec('0x1b')][_0xabec('0x26')][_0xabec('0x47')][_0xabec('0x40')]?_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x4a')):_0x5ad3c1(this['locale'],_0xabec('0x45'));}['getUserViewNotificationText'](){return this['_model'][_0xabec('0x1d')]?'importWord'===this[_0xabec('0x1b')]['attributes']['@external']['source']?_0x5ad3c1(this['locale'],_0xabec('0x39'),this[_0xabec('0x1b')][_0xabec('0x44')]['name']):_0x5ad3c1(this['locale'],_0xabec('0x0'),this[_0xabec('0x1b')][_0xabec('0x44')][_0xabec('0xa')]):null;}['render'](){super[_0xabec('0x2b')](),this[_0xabec('0x35')](this[_0xabec('0x29')][_0xabec('0x2d')],_0xabec('0x27')),this['_attachActions'](this[_0xabec('0x2f')][_0xabec('0x2d')],_0xabec('0x3d'));}}_0x592222(it,_0x53bda4);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2700=['pluginName','Comments','requires'];(function(_0x4950b5,_0x270047){var _0x127462=function(_0x5ba428){while(--_0x5ba428){_0x4950b5['push'](_0x4950b5['shift']());}};_0x127462(++_0x270047);}(_0x2700,0x198));var _0x1274=function(_0x4950b5,_0x270047){_0x4950b5=_0x4950b5-0x0;var _0x127462=_0x2700[_0x4950b5];return _0x127462;};import{Plugin as _0x55918c}from'ckeditor5/src/core';import _0x46b138 from'./comments/commentsrepository';import _0x3410c0 from'./comments/commentsediting';import _0xc53860 from'./comments/commentsui';import _0x53eaba from'./commentsonly';import _0xa5f85e from'./annotations/widesidebar';import _0x1c46bc from'./annotations/narrowsidebar';import _0x5d7a56 from'./annotations/inlineannotations';export default class c extends _0x55918c{static get[_0x1274('0x2')](){return[_0x46b138,_0x3410c0,_0xc53860,_0x53eaba,_0xa5f85e,_0x1c46bc,_0x5d7a56];}static get[_0x1274('0x0')](){return _0x1274('0x1');}}
23
+ var _0x2052=['Comments'];(function(_0x434248,_0x20526a){var _0x19d836=function(_0x395be2){while(--_0x395be2){_0x434248['push'](_0x434248['shift']());}};_0x19d836(++_0x20526a);}(_0x2052,0x17e));var _0x19d8=function(_0x434248,_0x20526a){_0x434248=_0x434248-0x0;var _0x19d836=_0x2052[_0x434248];return _0x19d836;};import{Plugin as _0x50e709}from'ckeditor5/src/core';import _0x347148 from'./comments/commentsrepository';import _0x4e613c from'./comments/commentsediting';import _0x5416be from'./comments/commentsui';import _0xa2fa80 from'./commentsonly';import _0x29746e from'./annotations/widesidebar';import _0x5abd75 from'./annotations/narrowsidebar';import _0x17a9e6 from'./annotations/inlineannotations';export default class c extends _0x50e709{static get['requires'](){return[_0x347148,_0x4e613c,_0x5416be,_0xa2fa80,_0x29746e,_0x5abd75,_0x17a9e6];}static get['pluginName'](){return _0x19d8('0x0');}}