@ckeditor/ckeditor5-comments 39.0.1 → 39.0.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 (107) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/comments.js +1 -1
  5. package/build/translations/fa.js +1 -1
  6. package/lang/translations/af.po +1 -0
  7. package/lang/translations/ar.po +1 -0
  8. package/lang/translations/bg.po +1 -0
  9. package/lang/translations/bn.po +1 -0
  10. package/lang/translations/bs.po +1 -0
  11. package/lang/translations/ca.po +1 -0
  12. package/lang/translations/cs.po +1 -0
  13. package/lang/translations/da.po +1 -0
  14. package/lang/translations/de-ch.po +1 -0
  15. package/lang/translations/de.po +1 -0
  16. package/lang/translations/el.po +1 -0
  17. package/lang/translations/en-au.po +1 -0
  18. package/lang/translations/en.po +1 -0
  19. package/lang/translations/es-co.po +1 -0
  20. package/lang/translations/es.po +1 -0
  21. package/lang/translations/et.po +1 -0
  22. package/lang/translations/fa.po +10 -9
  23. package/lang/translations/fi.po +1 -0
  24. package/lang/translations/fr.po +1 -0
  25. package/lang/translations/gl.po +1 -0
  26. package/lang/translations/he.po +1 -0
  27. package/lang/translations/hi.po +1 -0
  28. package/lang/translations/hr.po +1 -0
  29. package/lang/translations/hu.po +1 -0
  30. package/lang/translations/id.po +1 -0
  31. package/lang/translations/it.po +1 -0
  32. package/lang/translations/ja.po +1 -0
  33. package/lang/translations/jv.po +1 -0
  34. package/lang/translations/ko.po +1 -0
  35. package/lang/translations/lt.po +1 -0
  36. package/lang/translations/lv.po +1 -0
  37. package/lang/translations/ms.po +1 -0
  38. package/lang/translations/nl.po +1 -0
  39. package/lang/translations/no.po +1 -0
  40. package/lang/translations/pl.po +1 -0
  41. package/lang/translations/pt-br.po +1 -0
  42. package/lang/translations/pt.po +1 -0
  43. package/lang/translations/ro.po +1 -0
  44. package/lang/translations/ru.po +1 -0
  45. package/lang/translations/sk.po +1 -0
  46. package/lang/translations/sq.po +1 -0
  47. package/lang/translations/sr-latn.po +1 -0
  48. package/lang/translations/sr.po +1 -0
  49. package/lang/translations/sv.po +1 -0
  50. package/lang/translations/th.po +1 -0
  51. package/lang/translations/tk.po +1 -0
  52. package/lang/translations/tr.po +1 -0
  53. package/lang/translations/tt.po +1 -0
  54. package/lang/translations/ug.po +1 -0
  55. package/lang/translations/uk.po +1 -0
  56. package/lang/translations/ur.po +1 -0
  57. package/lang/translations/vi.po +1 -0
  58. package/lang/translations/zh-cn.po +1 -0
  59. package/lang/translations/zh.po +1 -0
  60. package/package.json +3 -7
  61. package/src/annotations/annotation.js +1 -1
  62. package/src/annotations/annotationcollection.js +1 -1
  63. package/src/annotations/annotations.js +1 -1
  64. package/src/annotations/annotationsuis.js +1 -1
  65. package/src/annotations/editorannotations.js +1 -1
  66. package/src/annotations/inlineannotations.js +1 -1
  67. package/src/annotations/narrowsidebar.js +1 -1
  68. package/src/annotations/sidebar.js +1 -1
  69. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  70. package/src/annotations/view/annotationview.js +1 -1
  71. package/src/annotations/view/sidebaritemview.js +1 -1
  72. package/src/annotations/view/sidebarview.js +1 -1
  73. package/src/annotations/widesidebar.js +1 -1
  74. package/src/comments/addcommentthreadcommand.js +1 -1
  75. package/src/comments/commentsarchive.js +1 -1
  76. package/src/comments/commentsarchiveui.js +1 -1
  77. package/src/comments/commentsediting.js +1 -1
  78. package/src/comments/commentsrepository.js +1 -1
  79. package/src/comments/commentsui.js +1 -1
  80. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  81. package/src/comments/integrations/importword.js +1 -1
  82. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  83. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  84. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  85. package/src/comments/ui/commentthreadcontroller.js +1 -1
  86. package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
  87. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  88. package/src/comments/ui/view/basecommentview.js +1 -1
  89. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  90. package/src/comments/ui/view/commentcontentview.js +1 -1
  91. package/src/comments/ui/view/commentinputview.js +1 -1
  92. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  93. package/src/comments/ui/view/commentslistview.js +1 -1
  94. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  95. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  96. package/src/comments/ui/view/commentthreadview.js +1 -1
  97. package/src/comments/ui/view/commentview.js +1 -1
  98. package/src/comments.js +1 -1
  99. package/src/commentsonly.js +1 -1
  100. package/src/utils/common-translations.js +1 -1
  101. package/src/utils/createmutationobserver.js +1 -1
  102. package/theme/annotation.css +0 -2
  103. package/theme/comment.css +37 -37
  104. package/theme/commentmarker.css +5 -5
  105. package/theme/commentthread.css +56 -56
  106. package/theme/sidebar-narrow.css +2 -2
  107. package/theme/sidebar.css +11 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f6f=['addCommentThread','plugins','execute','config','map','importWord','commands','collaboration_features','_handleImportedData','collaboration.channelId','afterInit','forEach','get','editor','importWord.commentsStyles'];(function(_0x22668c,_0x1f6f17){const _0x1b7d62=function(_0x5292cb){while(--_0x5292cb){_0x22668c['push'](_0x22668c['shift']());}};_0x1b7d62(++_0x1f6f17);}(_0x1f6f,0xf4));const _0x1b7d=function(_0x22668c,_0x1f6f17){_0x22668c=_0x22668c-0x0;let _0x1b7d62=_0x1f6f[_0x22668c];return _0x1b7d62;};import{Plugin as _0x248ac5}from'ckeditor5/src/core';import{priorities as _0x43f8af}from'ckeditor5/src/utils';import{Users as _0x2a177d}from'ckeditor5-collaboration/src/collaboration-core';import _0x3a8b5b from'../commentsrepository';export default class Y extends _0x248ac5{constructor(_0x31e8ad){super(_0x31e8ad),this['editor'][_0x1b7d('0xe')]['define'](_0x1b7d('0xa'),'basic');}[_0x1b7d('0x6')](){const _0x142e28=this[_0x1b7d('0x9')],_0x591434=_0x142e28[_0x1b7d('0x2')][_0x1b7d('0x8')]('importWord'),_0x5e5ad5=_0x142e28[_0x1b7d('0xc')][_0x1b7d('0x8')](_0x2a177d);_0x591434&&(_0x591434['on'](_0x1b7d('0xd'),(_0x35632f,[,_0x5a9d8e])=>{_0x5a9d8e[_0x1b7d('0x3')]={'comments':!0x0,'user_id':_0x5e5ad5['me']['id'],'comments_styles':this[_0x1b7d('0x9')][_0x1b7d('0xe')]['get'](_0x1b7d('0xa'))};},{'priority':_0x43f8af['high']+0xa}),this['listenTo'](_0x591434,'dataInsert',this[_0x1b7d('0x4')]));}[_0x1b7d('0x4')](_0x326eb0,_0x147e06){const {comment_threads:_0x1b6f5c}=_0x147e06;_0x1b6f5c&&_0x1b6f5c[_0x1b7d('0x7')](({thread_id:_0x2e93aa,comments:_0x45b52a,is_resolved:_0x4ad6a5})=>{const _0x1476a1=new Date(),_0x4932fb=_0x45b52a[_0x1b7d('0x0')](({author:_0x209896,content:_0x38be1b,created_at:_0xd11ec4})=>({'content':_0x38be1b,'authorId':this[_0x1b7d('0x9')]['plugins'][_0x1b7d('0x8')](_0x2a177d)['me']['id'],'createdAt':_0x1476a1,'attributes':{'@external':{'authorName':_0x209896,'createdAt':_0xd11ec4?new Date(_0xd11ec4):new Date(),'source':_0x1b7d('0x1')}}})),_0x304be9=this['editor']['config'][_0x1b7d('0x8')](_0x1b7d('0x5'));this[_0x1b7d('0x9')][_0x1b7d('0xc')][_0x1b7d('0x8')](_0x3a8b5b)[_0x1b7d('0xb')]({'channelId':_0x304be9,'threadId':_0x2e93aa,'comments':_0x4932fb,'resolvedAt':_0x4ad6a5?_0x1476a1:null});});}}
23
+ const _0x2f3b=['high','config','get','map','editor','plugins','commands','collaboration.channelId','importWord.commentsStyles','_handleImportedData','importWord','forEach','dataInsert','addCommentThread','afterInit','execute','listenTo'];(function(_0x33f18e,_0x2f3bee){const _0x48ccf2=function(_0x11d623){while(--_0x11d623){_0x33f18e['push'](_0x33f18e['shift']());}};_0x48ccf2(++_0x2f3bee);}(_0x2f3b,0x13e));const _0x48cc=function(_0x33f18e,_0x2f3bee){_0x33f18e=_0x33f18e-0x0;let _0x48ccf2=_0x2f3b[_0x33f18e];return _0x48ccf2;};import{Plugin as _0x20e03f}from'ckeditor5/src/core';import{priorities as _0x530e55}from'ckeditor5/src/utils';import{Users as _0x22da6d}from'ckeditor5-collaboration/src/collaboration-core';import _0x553806 from'../commentsrepository';export default class Y extends _0x20e03f{constructor(_0x56b55e){super(_0x56b55e),this[_0x48cc('0x9')]['config']['define']('importWord.commentsStyles','basic');}[_0x48cc('0x2')](){const _0x53059b=this[_0x48cc('0x9')],_0x377794=_0x53059b[_0x48cc('0xb')][_0x48cc('0x7')](_0x48cc('0xf')),_0x20e0e9=_0x53059b[_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d);_0x377794&&(_0x377794['on'](_0x48cc('0x3'),(_0x18e00f,[,_0x25c4a9])=>{_0x25c4a9['collaboration_features']={'comments':!0x0,'user_id':_0x20e0e9['me']['id'],'comments_styles':this['editor'][_0x48cc('0x6')]['get'](_0x48cc('0xd'))};},{'priority':_0x530e55[_0x48cc('0x5')]+0xa}),this[_0x48cc('0x4')](_0x377794,_0x48cc('0x0'),this[_0x48cc('0xe')]));}[_0x48cc('0xe')](_0x34c5c0,_0xc50ea7){const {comment_threads:_0x47ba88}=_0xc50ea7;_0x47ba88&&_0x47ba88[_0x48cc('0x10')](({thread_id:_0x5836b7,comments:_0x28686a,is_resolved:_0x126c53})=>{const _0x3bbc88=new Date(),_0x34c0af=_0x28686a[_0x48cc('0x8')](({author:_0x305901,content:_0x4be779,created_at:_0x2f7782})=>({'content':_0x4be779,'authorId':this['editor'][_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d)['me']['id'],'createdAt':_0x3bbc88,'attributes':{'@external':{'authorName':_0x305901,'createdAt':_0x2f7782?new Date(_0x2f7782):new Date(),'source':'importWord'}}})),_0x4ed32c=this[_0x48cc('0x9')][_0x48cc('0x6')]['get'](_0x48cc('0xc'));this[_0x48cc('0x9')][_0x48cc('0xa')][_0x48cc('0x7')](_0x553806)[_0x48cc('0x1')]({'channelId':_0x4ed32c,'threadId':_0x5836b7,'comments':_0x34c0af,'resolvedAt':_0x126c53?_0x3bbc88:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a0a=['name','create','model','initialData','defaultPlugins','destroy','document','set','config','childCount','end','change','placeholderElement','change:placeholder','setSelection','_updatePlaceholder','then','init','get','assign','getChild','editing','view','createRoot','focus','low','getRoot','ready','initPlugins','plugins','data','fire','placeholder'];(function(_0x429827,_0x1a0adc){const _0x433f1d=function(_0x1f89e0){while(--_0x1f89e0){_0x429827['push'](_0x429827['shift']());}};_0x433f1d(++_0x1a0adc);}(_0x1a0a,0x17c));const _0x433f=function(_0x429827,_0x1a0adc){_0x429827=_0x429827-0x0;let _0x433f1d=_0x1a0a[_0x429827];return _0x433f1d;};import{Editor as _0x69c584,DataApiMixin as _0x3a3a65}from'ckeditor5/src/core';import _0x3b82a6 from'./commenteditorui';import{ObservableMixin as _0x290df3}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4dd525,disablePlaceholder as _0xea7753}from'ckeditor5/src/engine';import{Clipboard as _0x4cf5a3}from'ckeditor5/src/clipboard';import{Enter as _0x5ada5b,ShiftEnter as _0x5d2244}from'ckeditor5/src/enter';import{SelectAll as _0x445eed}from'ckeditor5/src/select-all';import{Typing as _0x195d44}from'ckeditor5/src/typing';import{Undo as _0x14d8b2}from'ckeditor5/src/undo';import{Paragraph as _0x43b608}from'ckeditor5/src/paragraph';const Kt=[_0x4cf5a3,_0x5ada5b,_0x5d2244,_0x445eed,_0x195d44,_0x14d8b2,_0x43b608];export default class Lt extends _0x290df3(_0x3a3a65(_0x69c584)){constructor(_0x37ac08={}){(_0x37ac08=Object[_0x433f('0x2')]({},_0x37ac08))[_0x433f('0xc')]||(_0x37ac08[_0x433f('0xc')]=Lt['defaultPlugins']),super(_0x37ac08),this['ui']=new _0x3b82a6(this),this[_0x433f('0x17')](_0x433f('0xf'),''),this[_0x433f('0x12')]['document']['on']('change',()=>this[_0x433f('0x1f')](),{'priority':_0x433f('0x8')}),this['on'](_0x433f('0x1d'),()=>this[_0x433f('0x1f')]()),this['model']['document'][_0x433f('0x6')]();}[_0x433f('0x11')](){const _0x421c3a=this[_0x433f('0x18')][_0x433f('0x1')](_0x433f('0x13'))||'';return this[_0x433f('0xb')]()[_0x433f('0x20')](()=>this['ui'][_0x433f('0x0')]())['then'](()=>this[_0x433f('0xd')][_0x433f('0x0')](_0x421c3a))[_0x433f('0x20')](()=>this[_0x433f('0xe')](_0x433f('0xa')));}[_0x433f('0x15')](){return super[_0x433f('0x15')]()[_0x433f('0x20')](()=>this['ui'][_0x433f('0x15')]());}[_0x433f('0x7')](){this[_0x433f('0x12')][_0x433f('0x1b')](_0x4c8432=>{const _0x1e141d=this['model'][_0x433f('0x16')][_0x433f('0x9')](),_0x34237e=_0x1e141d&&_0x1e141d[_0x433f('0x3')](_0x1e141d[_0x433f('0x19')]-0x1);_0x4c8432[_0x433f('0x1e')](_0x34237e,_0x433f('0x1a')),this[_0x433f('0x4')][_0x433f('0x5')][_0x433f('0x7')]();});}[_0x433f('0x1f')](){const _0x4759e6=this['editing']['view'],_0x5b1011=_0x4759e6[_0x433f('0x16')][_0x433f('0x9')](),_0x2e6e3a=_0x5b1011[_0x433f('0x3')](0x0);_0x5b1011[_0x433f('0x19')]>0x1||!_0x2e6e3a||'p'!=_0x2e6e3a[_0x433f('0x10')]?this['placeholderElement']&&this['placeholderElement'][_0x433f('0xf')]&&(_0xea7753(_0x4759e6,this[_0x433f('0x1c')]),this[_0x433f('0x1c')]=void 0x0):(this[_0x433f('0xf')]&&(_0x2e6e3a[_0x433f('0xf')]=this['placeholder']),_0x4dd525({'view':_0x4759e6,'element':_0x2e6e3a,'keepOnFocus':!0x0}),this[_0x433f('0x1c')]=_0x2e6e3a);}}Lt[_0x433f('0x14')]=Kt;
23
+ const _0x1d48=['change','name','document','view','model','change:placeholder','assign','fire','destroy','setSelection','defaultPlugins','data','config','low','set','plugins','childCount','getRoot','_updatePlaceholder','focus','placeholderElement','getChild','end','editing','then','placeholder'];(function(_0x43ccaa,_0x1d4835){const _0xa4bea6=function(_0x4dd60d){while(--_0x4dd60d){_0x43ccaa['push'](_0x43ccaa['shift']());}};_0xa4bea6(++_0x1d4835);}(_0x1d48,0x181));const _0xa4be=function(_0x43ccaa,_0x1d4835){_0x43ccaa=_0x43ccaa-0x0;let _0xa4bea6=_0x1d48[_0x43ccaa];return _0xa4bea6;};import{Editor as _0x36903e,DataApiMixin as _0x5cb3be}from'ckeditor5/src/core';import _0x3934a5 from'./commenteditorui';import{ObservableMixin as _0x130836}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4e5217,disablePlaceholder as _0x40df4a}from'ckeditor5/src/engine';import{Clipboard as _0x2a1355}from'ckeditor5/src/clipboard';import{Enter as _0x51e31f,ShiftEnter as _0x614c01}from'ckeditor5/src/enter';import{SelectAll as _0x5e9e8}from'ckeditor5/src/select-all';import{Typing as _0x3bfe1d}from'ckeditor5/src/typing';import{Undo as _0x3fe9e1}from'ckeditor5/src/undo';import{Paragraph as _0x3dd01c}from'ckeditor5/src/paragraph';const Kt=[_0x2a1355,_0x51e31f,_0x614c01,_0x5e9e8,_0x3bfe1d,_0x3fe9e1,_0x3dd01c];export default class Lt extends _0x130836(_0x5cb3be(_0x36903e)){constructor(_0x2cae6a={}){(_0x2cae6a=Object[_0xa4be('0xb')]({},_0x2cae6a))[_0xa4be('0x14')]||(_0x2cae6a[_0xa4be('0x14')]=Lt[_0xa4be('0xf')]),super(_0x2cae6a),this['ui']=new _0x3934a5(this),this[_0xa4be('0x13')](_0xa4be('0x4'),''),this[_0xa4be('0x9')][_0xa4be('0x7')]['on'](_0xa4be('0x5'),()=>this[_0xa4be('0x17')](),{'priority':_0xa4be('0x12')}),this['on'](_0xa4be('0xa'),()=>this[_0xa4be('0x17')]()),this[_0xa4be('0x9')][_0xa4be('0x7')]['createRoot']();}['create'](){const _0x3fc765=this[_0xa4be('0x11')]['get']('initialData')||'';return this['initPlugins']()[_0xa4be('0x3')](()=>this['ui']['init']())[_0xa4be('0x3')](()=>this[_0xa4be('0x10')]['init'](_0x3fc765))[_0xa4be('0x3')](()=>this[_0xa4be('0xc')]('ready'));}[_0xa4be('0xd')](){return super['destroy']()[_0xa4be('0x3')](()=>this['ui']['destroy']());}[_0xa4be('0x18')](){this[_0xa4be('0x9')]['change'](_0x5ce421=>{const _0x415367=this[_0xa4be('0x9')]['document']['getRoot'](),_0x1a5c63=_0x415367&&_0x415367[_0xa4be('0x0')](_0x415367[_0xa4be('0x15')]-0x1);_0x5ce421[_0xa4be('0xe')](_0x1a5c63,_0xa4be('0x1')),this[_0xa4be('0x2')][_0xa4be('0x8')][_0xa4be('0x18')]();});}[_0xa4be('0x17')](){const _0x279c99=this[_0xa4be('0x2')][_0xa4be('0x8')],_0x59e662=_0x279c99['document'][_0xa4be('0x16')](),_0x58f93c=_0x59e662[_0xa4be('0x0')](0x0);_0x59e662[_0xa4be('0x15')]>0x1||!_0x58f93c||'p'!=_0x58f93c[_0xa4be('0x6')]?this['placeholderElement']&&this[_0xa4be('0x19')][_0xa4be('0x4')]&&(_0x40df4a(_0x279c99,this[_0xa4be('0x19')]),this[_0xa4be('0x19')]=void 0x0):(this[_0xa4be('0x4')]&&(_0x58f93c[_0xa4be('0x4')]=this['placeholder']),_0x4e5217({'view':_0x279c99,'element':_0x58f93c,'keepOnFocus':!0x0}),this[_0xa4be('0x19')]=_0x58f93c);}}Lt[_0xa4be('0xf')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d19=['destroy','view','locale','bind','name','editor','getRoot','focusTracker','render','document','fire','attachDomRoot','setEditableElement','isFocused','editable','ready','editing','element'];(function(_0x5aa63d,_0x3d19b6){const _0x2e8eed=function(_0x3cd800){while(--_0x3cd800){_0x5aa63d['push'](_0x5aa63d['shift']());}};_0x2e8eed(++_0x3d19b6);}(_0x3d19,0x1e1));const _0x2e8e=function(_0x5aa63d,_0x3d19b6){_0x5aa63d=_0x5aa63d-0x0;let _0x2e8eed=_0x3d19[_0x5aa63d];return _0x2e8eed;};import{EditorUI as _0x19b5b2}from'ckeditor5/src/ui';import _0xab86db from'./commenteditoruiview';export default class jt extends _0x19b5b2{constructor(_0x1ab263){super(_0x1ab263),this[_0x2e8e('0x6')]=new _0xab86db(_0x1ab263[_0x2e8e('0x7')],_0x1ab263[_0x2e8e('0x3')][_0x2e8e('0x6')]);}get[_0x2e8e('0x4')](){return this[_0x2e8e('0x6')]['element'];}['init'](){const _0xb08dd9=this[_0x2e8e('0xa')][_0x2e8e('0x3')][_0x2e8e('0x6')],_0xbb29bc=this[_0x2e8e('0x6')][_0x2e8e('0x1')],_0x1d250b=_0xb08dd9[_0x2e8e('0xe')][_0x2e8e('0xb')]();_0xbb29bc[_0x2e8e('0x9')]=_0x1d250b['rootName'],this[_0x2e8e('0x6')][_0x2e8e('0xd')]();const _0x357e17=_0xbb29bc[_0x2e8e('0x4')];this[_0x2e8e('0x11')](_0xbb29bc[_0x2e8e('0x9')],_0x357e17),this[_0x2e8e('0x6')][_0x2e8e('0x1')][_0x2e8e('0x8')](_0x2e8e('0x0'))['to'](this[_0x2e8e('0xc')]),_0xb08dd9[_0x2e8e('0x10')](_0x357e17),this[_0x2e8e('0xf')](_0x2e8e('0x2'));}[_0x2e8e('0x5')](){super['destroy'](),this['view'][_0x2e8e('0x5')]();}}
23
+ const _0x2630=['init','render','document','editable','editing','element','view','name','focusTracker','fire','bind','destroy','getRoot','attachDomRoot','rootName','setEditableElement','isFocused','editor','ready','locale'];(function(_0x4084cc,_0x26302a){const _0x24647a=function(_0x4c180b){while(--_0x4c180b){_0x4084cc['push'](_0x4084cc['shift']());}};_0x24647a(++_0x26302a);}(_0x2630,0x173));const _0x2464=function(_0x4084cc,_0x26302a){_0x4084cc=_0x4084cc-0x0;let _0x24647a=_0x2630[_0x4084cc];return _0x24647a;};import{EditorUI as _0x488616}from'ckeditor5/src/ui';import _0x1f642a from'./commenteditoruiview';export default class jt extends _0x488616{constructor(_0x4583ae){super(_0x4583ae),this[_0x2464('0xf')]=new _0x1f642a(_0x4583ae[_0x2464('0x8')],_0x4583ae['editing']['view']);}get[_0x2464('0xe')](){return this[_0x2464('0xf')][_0x2464('0xe')];}[_0x2464('0x9')](){const _0x3bd2b8=this[_0x2464('0x6')][_0x2464('0xd')][_0x2464('0xf')],_0x5d400f=this[_0x2464('0xf')][_0x2464('0xc')],_0x33b3a5=_0x3bd2b8[_0x2464('0xb')][_0x2464('0x1')]();_0x5d400f[_0x2464('0x10')]=_0x33b3a5[_0x2464('0x3')],this[_0x2464('0xf')][_0x2464('0xa')]();const _0x389771=_0x5d400f[_0x2464('0xe')];this[_0x2464('0x4')](_0x5d400f['name'],_0x389771),this[_0x2464('0xf')]['editable'][_0x2464('0x13')](_0x2464('0x5'))['to'](this[_0x2464('0x11')]),_0x3bd2b8[_0x2464('0x2')](_0x389771),this[_0x2464('0x12')](_0x2464('0x7'));}['destroy'](){super[_0x2464('0x0')](),this[_0x2464('0xf')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b6=['uiLanguage','add','div','editable','ck-reset','ck-comment__input','main','focus','_voiceLabelView','element','presentation','ck-editor__main','cke-editor__aria-label_','text','ck-rounded-corners','setTemplate','render'];(function(_0xf0b522,_0x26b610){const _0x1cdf41=function(_0x1c182c){while(--_0x1c182c){_0xf0b522['push'](_0xf0b522['shift']());}};_0x1cdf41(++_0x26b610);}(_0x26b6,0xa3));const _0x1cdf=function(_0xf0b522,_0x26b610){_0xf0b522=_0xf0b522-0x0;let _0x1cdf41=_0x26b6[_0xf0b522];return _0x1cdf41;};import{InlineEditableUIView as _0x2c8d9e,EditorUIView as _0x81bdf3,LabelView as _0x54527e}from'ckeditor5/src/ui';import{uid as _0x1dd437}from'ckeditor5/src/utils';import{getTranslation as _0xc37eeb}from'../../../utils/common-translations';export default class Nt extends _0x81bdf3{constructor(_0x1a9c50,_0x113df1){super(_0x1a9c50);const _0x5a4eb0=_0x1dd437();this['main']=this['createCollection'](),this[_0x1cdf('0xa')]=new _0x2c8d9e(_0x1a9c50,_0x113df1),this['_voiceLabelView']=this['_createVoiceLabel'](_0x5a4eb0,_0x1a9c50),this[_0x1cdf('0x5')]({'tag':'div','attributes':{'class':[_0x1cdf('0xb'),'ck-editor',_0x1cdf('0x4'),_0x1cdf('0xc')],'role':'comment','dir':_0x1a9c50['uiLanguageDirection'],'lang':_0x1a9c50[_0x1cdf('0x7')],'aria-labelledby':_0x1cdf('0x2')+_0x5a4eb0},'children':[this[_0x1cdf('0xf')],{'tag':_0x1cdf('0x9'),'attributes':{'class':_0x1cdf('0x1'),'role':_0x1cdf('0x0')},'children':this[_0x1cdf('0xd')]}]});}[_0x1cdf('0x6')](){super[_0x1cdf('0x6')](),this['main'][_0x1cdf('0x8')](this['editable']);}[_0x1cdf('0xe')](){this[_0x1cdf('0xa')][_0x1cdf('0x10')]['focus']();}['_createVoiceLabel'](_0x3ad84a,_0x471be1){const _0x2848ac=new _0x54527e();return _0x2848ac[_0x1cdf('0x3')]=_0xc37eeb(_0x471be1,'Comment\x20editor'),_0x2848ac['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x3ad84a,'class':'ck-voice-label'}}),_0x2848ac;}}
23
+ const _0x8ae6=['presentation','ck-rounded-corners','setTemplate','_createVoiceLabel','ck-reset','editable','_voiceLabelView','createCollection','ck-editor__aria-label_','extendTemplate','text','ck-editor__main','ck-editor','focus','comment','render','Comment\x20editor','div','ck-comment__input','element','ck-voice-label'];(function(_0x5153bc,_0x8ae62e){const _0x5730f1=function(_0x1efc98){while(--_0x1efc98){_0x5153bc['push'](_0x5153bc['shift']());}};_0x5730f1(++_0x8ae62e);}(_0x8ae6,0x1b9));const _0x5730=function(_0x5153bc,_0x8ae62e){_0x5153bc=_0x5153bc-0x0;let _0x5730f1=_0x8ae6[_0x5153bc];return _0x5730f1;};import{InlineEditableUIView as _0x3b073f,EditorUIView as _0x2697a2,LabelView as _0x312418}from'ckeditor5/src/ui';import{uid as _0x5745a5}from'ckeditor5/src/utils';import{getTranslation as _0x1952ea}from'../../../utils/common-translations';export default class Nt extends _0x2697a2{constructor(_0x291549,_0x5d320c){super(_0x291549);const _0x5dc896=_0x5745a5();this['main']=this[_0x5730('0x7')](),this[_0x5730('0x5')]=new _0x3b073f(_0x291549,_0x5d320c),this[_0x5730('0x6')]=this[_0x5730('0x3')](_0x5dc896,_0x291549),this[_0x5730('0x2')]({'tag':_0x5730('0x11'),'attributes':{'class':[_0x5730('0x4'),_0x5730('0xc'),_0x5730('0x1'),_0x5730('0x12')],'role':_0x5730('0xe'),'dir':_0x291549['uiLanguageDirection'],'lang':_0x291549['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5dc896},'children':[this[_0x5730('0x6')],{'tag':_0x5730('0x11'),'attributes':{'class':_0x5730('0xb'),'role':_0x5730('0x0')},'children':this['main']}]});}[_0x5730('0xf')](){super[_0x5730('0xf')](),this['main']['add'](this[_0x5730('0x5')]);}[_0x5730('0xd')](){this['editable'][_0x5730('0x13')][_0x5730('0xd')]();}[_0x5730('0x3')](_0x4efd31,_0x51af10){const _0x59542f=new _0x312418();return _0x59542f[_0x5730('0xa')]=_0x1952ea(_0x51af10,_0x5730('0x10')),_0x59542f[_0x5730('0x9')]({'attributes':{'id':_0x5730('0x8')+_0x4efd31,'class':_0x5730('0x14')}}),_0x59542f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1db5=['_isAttached','resolveCommentThread','_localUser','addComment','reopenCommentThread','updateComment','resolve','view','listenTo','submitCommentThread','remove','getComment','reopen','model','stopListening','removeComment','destroy','isResolved','submit'];(function(_0xcd4274,_0x1db5b6){var _0x3616d5=function(_0x3037f5){while(--_0x3037f5){_0xcd4274['push'](_0xcd4274['shift']());}};_0x3616d5(++_0x1db5b6);}(_0x1db5,0x99));var _0x3616=function(_0xcd4274,_0x1db5b6){_0xcd4274=_0xcd4274-0x0;var _0x3616d5=_0x1db5[_0xcd4274];return _0x3616d5;};import{ObservableMixin as _0x2fea9f}from'ckeditor5/src/utils';export default class ct extends _0x2fea9f(){constructor(_0x158cae,_0x477577){super(),this[_0x3616('0xc')]=_0x158cae,this[_0x3616('0xc')]['_isAttached']=!0x0,this[_0x3616('0x6')]=_0x477577,this[_0x3616('0x7')](_0x477577,_0x3616('0x8'),()=>this['submit']()),this[_0x3616('0x7')](_0x477577,'removeCommentThread',()=>this[_0x3616('0x9')]()),this[_0x3616('0x7')](_0x477577,_0x3616('0x0'),()=>this[_0x3616('0x5')]()),this[_0x3616('0x7')](_0x477577,_0x3616('0x3'),()=>this[_0x3616('0xb')]()),this[_0x3616('0x7')](_0x477577,'addComment',(_0x372337,_0x128da9)=>this[_0x3616('0x2')](_0x128da9)),this[_0x3616('0x7')](_0x477577,'updateComment',(_0x138e99,_0x8d7f32,_0x462d8e)=>this['updateComment'](_0x8d7f32,_0x462d8e)),this[_0x3616('0x7')](_0x477577,_0x3616('0xe'),(_0x308ba2,_0x57f915)=>this['removeComment'](_0x57f915));}[_0x3616('0x11')](){this[_0x3616('0xc')]['submit']();}[_0x3616('0x9')](){this[_0x3616('0xc')]['remove']();}[_0x3616('0x5')](){this['model'][_0x3616('0x10')]||this[_0x3616('0xc')]['resolve']();}['reopen'](){this[_0x3616('0xc')][_0x3616('0x10')]&&this['model'][_0x3616('0xb')]();}[_0x3616('0x2')](_0x5a28ae){this['model'][_0x3616('0x2')]({'content':_0x5a28ae,'authorId':this[_0x3616('0x6')][_0x3616('0x1')]['id']});}[_0x3616('0x4')](_0x29cf75,_0x5bf01c){this[_0x3616('0xc')][_0x3616('0xa')](_0x29cf75)['update']({'content':_0x5bf01c});}[_0x3616('0xe')](_0x886347){this['model'][_0x3616('0xa')](_0x886347)[_0x3616('0x9')]();}[_0x3616('0xf')](){this[_0x3616('0xd')](),this[_0x3616('0xc')][_0x3616('0x12')]=!0x1;}}
23
+ var _0x224c=['submit','addComment','removeComment','_localUser','view','getComment','stopListening','resolve','listenTo','model','updateComment','resolveCommentThread','submitCommentThread','remove','_isAttached','reopen','isResolved'];(function(_0x324f84,_0x224c9a){var _0x1f6630=function(_0x48af8b){while(--_0x48af8b){_0x324f84['push'](_0x324f84['shift']());}};_0x1f6630(++_0x224c9a);}(_0x224c,0x137));var _0x1f66=function(_0x324f84,_0x224c9a){_0x324f84=_0x324f84-0x0;var _0x1f6630=_0x224c[_0x324f84];return _0x1f6630;};import{ObservableMixin as _0x16572a}from'ckeditor5/src/utils';export default class ct extends _0x16572a(){constructor(_0x29b443,_0x2e02fd){super(),this['model']=_0x29b443,this[_0x1f66('0x4')][_0x1f66('0x9')]=!0x0,this[_0x1f66('0x10')]=_0x2e02fd,this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0x7'),()=>this['submit']()),this[_0x1f66('0x3')](_0x2e02fd,'removeCommentThread',()=>this[_0x1f66('0x8')]()),this['listenTo'](_0x2e02fd,_0x1f66('0x6'),()=>this[_0x1f66('0x2')]()),this[_0x1f66('0x3')](_0x2e02fd,'reopenCommentThread',()=>this[_0x1f66('0xa')]()),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xd'),(_0xbeeab5,_0x4843db)=>this['addComment'](_0x4843db)),this['listenTo'](_0x2e02fd,_0x1f66('0x5'),(_0x34df47,_0x2af737,_0xce90e9)=>this[_0x1f66('0x5')](_0x2af737,_0xce90e9)),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xe'),(_0x392df1,_0x2934f5)=>this[_0x1f66('0xe')](_0x2934f5));}[_0x1f66('0xc')](){this['model'][_0x1f66('0xc')]();}[_0x1f66('0x8')](){this[_0x1f66('0x4')][_0x1f66('0x8')]();}[_0x1f66('0x2')](){this[_0x1f66('0x4')]['isResolved']||this[_0x1f66('0x4')][_0x1f66('0x2')]();}['reopen'](){this['model'][_0x1f66('0xb')]&&this[_0x1f66('0x4')][_0x1f66('0xa')]();}[_0x1f66('0xd')](_0x18134c){this[_0x1f66('0x4')][_0x1f66('0xd')]({'content':_0x18134c,'authorId':this[_0x1f66('0x10')][_0x1f66('0xf')]['id']});}[_0x1f66('0x5')](_0x420885,_0x626383){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x420885)['update']({'content':_0x626383});}[_0x1f66('0xe')](_0x1507c6){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x1507c6)['remove']();}['destroy'](){this[_0x1f66('0x1')](),this['model']['_isAttached']=!0x1;}}
@@ -74,7 +74,7 @@ export default class BaseCommentThreadView extends View {
74
74
  /**
75
75
  * @inheritDoc
76
76
  */
77
- destroy(): void;
77
+ destroy(): Promise<void>;
78
78
  }
79
79
  /**
80
80
  * Fired when a user created a first comment in the comment thread. Then the comment thread is submitted and saved.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e95=['value','editorDestroyed','addComment','removeComment','placeholder','commentThreadHeaderView','isResolvable','submit','isSubmitted','bind','editorConfig','change:isActive','assign','showInput','locale','_model','destroy','_config','submitCommentThread','focus','canComment','updateComment','resolveCommentThread','cancel','Write\x20a\x20comment...','Reply','_localUser','disabledSubmit','commentsListView','stop','isResolved','isActive','set','commentInputView','CommentView','length','reopenCommentThread','fire','removeCommentThread','editorReady','isReadOnly','delegate','commentThreadInputView','isDirty','Comment'];(function(_0x3dc067,_0x4e95cc){const _0x9b64cb=function(_0x2b5fbd){while(--_0x2b5fbd){_0x3dc067['push'](_0x3dc067['shift']());}};_0x9b64cb(++_0x4e95cc);}(_0x4e95,0x167));const _0x9b64=function(_0x3dc067,_0x4e95cc){_0x3dc067=_0x3dc067-0x0;let _0x9b64cb=_0x4e95[_0x3dc067];return _0x9b64cb;};import{View as _0xcf3971}from'ckeditor5/src/ui';import _0x1c29da from'./commentthreadinputview';import _0x243af0 from'./commentslistview';import _0x40fd57 from'./commentthreadheaderview';import{getTranslation as _0x3b5300}from'../../../utils/common-translations';export default class Tt extends _0xcf3971{constructor(_0x238ef6,_0x1eeefa,_0x2a89ed,_0x167e9d){super(_0x238ef6),this[_0x9b64('0x21')](_0x9b64('0x20'),!0x1),this[_0x9b64('0x21')]('isDirty',!0x1),this[_0x9b64('0x10')]=_0x1eeefa,this[_0x9b64('0x1b')]=_0x2a89ed,this['_config']=_0x167e9d,this[_0x9b64('0x6')]=new _0x40fd57(_0x238ef6,_0x1eeefa),this['commentThreadHeaderView'][_0x9b64('0x2a')]('reopenCommentThread')['to'](this),this[_0x9b64('0x1d')]=new _0x243af0(_0x238ef6,_0x1eeefa,Object[_0x9b64('0xd')]({'CommentView':this['_config'][_0x9b64('0x23')]},_0x167e9d)),this[_0x9b64('0x1d')]['delegate'](_0x9b64('0x4'))['to'](this),this[_0x9b64('0x1d')][_0x9b64('0x2a')](_0x9b64('0x16'))['to'](this),this[_0x9b64('0x1d')]['delegate'](_0x9b64('0x17'))['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView'][_0x9b64('0x2a')](_0x9b64('0x2'))['to'](this),this[_0x9b64('0x1d')][_0x9b64('0xa')](_0x9b64('0x20'))['to'](this),this['set']('length',this[_0x9b64('0x1d')][_0x9b64('0x24')]),this[_0x9b64('0xa')](_0x9b64('0x24'))['to'](this[_0x9b64('0x1d')],_0x9b64('0x24')),this[_0x9b64('0x2b')]=this['_createCommentThreadInputView'](),this[_0x9b64('0x2b')][_0x9b64('0x2a')](_0x9b64('0x28'))['to'](this),this['commentThreadInputView']['delegate'](_0x9b64('0x2'))['to'](this),this['on'](_0x9b64('0x4'),()=>this[_0x9b64('0x14')]()),this[_0x9b64('0xa')](_0x9b64('0x2c'))['to'](this[_0x9b64('0x1d')],'hasDirtyComment',this['commentThreadInputView'][_0x9b64('0x22')],_0x9b64('0x1'),(_0x540c6f,_0x1cf7db)=>_0x540c6f||!!_0x1cf7db);}['focus'](){this['element'][_0x9b64('0x14')]();}[_0x9b64('0x11')](){this[_0x9b64('0x2c')]=!0x1,this[_0x9b64('0x1d')][_0x9b64('0x11')](),this[_0x9b64('0x2b')][_0x9b64('0x11')](),super[_0x9b64('0x11')]();}['_createCommentThreadInputView'](){const _0x116dfa=new _0x1c29da(this[_0x9b64('0xf')],this['_localUser'],this[_0x9b64('0x12')][_0x9b64('0xb')]),_0x5a0ea9=_0x116dfa['commentInputView'];return _0x116dfa[_0x9b64('0xa')](_0x9b64('0xe'))['to'](this,'isActive',this['_model'],_0x9b64('0x29'),this[_0x9b64('0x10')],_0x9b64('0x15'),this[_0x9b64('0x10')],_0x9b64('0x1f'),_0x5a0ea9,_0x9b64('0x1'),(_0x5e26c2,_0x5a9c16,_0x377a40,_0x2dd620,_0x5ca671)=>!!_0x5ca671||_0x2dd620&&_0x377a40&&!_0x5a9c16||_0x5e26c2&&_0x377a40&&!_0x5a9c16),_0x5a0ea9['bind'](_0x9b64('0x5'))['to'](this,_0x9b64('0x24'),this[_0x9b64('0x10')],_0x9b64('0x7'),this[_0x9b64('0x10')],_0x9b64('0x1f'),(_0x23ef0c,_0x544aa1,_0x2bc400)=>{let _0x8d0c6c;return _0x8d0c6c=_0x2bc400&&_0x544aa1?'Reply\x20to\x20reopen\x20discussion...':_0x23ef0c?'Reply...':_0x9b64('0x19'),_0x3b5300(this['locale'],_0x8d0c6c);}),_0x5a0ea9[_0x9b64('0xa')]('submitLabel')['to'](this,_0x9b64('0x24'),_0x32ecca=>_0x3b5300(this[_0x9b64('0xf')],_0x32ecca?_0x9b64('0x1a'):_0x9b64('0x0'))),_0x5a0ea9['on'](_0x9b64('0x8'),(_0xc9cfb5,_0x3481c5)=>{this['fire'](_0x9b64('0x3'),_0x3481c5),this[_0x9b64('0x10')][_0x9b64('0x1f')]&&this[_0x9b64('0x10')]['isResolvable']&&this[_0x9b64('0x26')](_0x9b64('0x25'),this['_model']['id']),this['_model'][_0x9b64('0x9')]||this[_0x9b64('0x26')](_0x9b64('0x13'));}),_0x5a0ea9['on']('cancel',()=>{this['focus']();}),_0x5a0ea9[_0x9b64('0xa')](_0x9b64('0x1c'))['to'](this['_model'],_0x9b64('0x29')),_0x5a0ea9['on'](_0x9b64('0x18'),_0x1cebce=>{0x0==this[_0x9b64('0x24')]&&(this[_0x9b64('0x26')](_0x9b64('0x27')),_0x1cebce[_0x9b64('0x1e')]());}),this['on'](_0x9b64('0xc'),(_0x4c73f4,_0x1f3261,_0x22806a)=>{_0x22806a||this[_0x9b64('0x24')]||_0x5a0ea9[_0x9b64('0x1')]||this[_0x9b64('0x26')](_0x9b64('0x27'));}),_0x116dfa;}}
23
+ const _0x24f2=['removeCommentThread','isResolved','locale','placeholder','assign','Reply...','_localUser','editorDestroyed','canComment','_config','resolveCommentThread','reopenCommentThread','delegate','stop','isSubmitted','bind','element','submitCommentThread','Reply\x20to\x20reopen\x20discussion...','editorReady','commentThreadHeaderView','value','_createCommentThreadInputView','length','addComment','isResolvable','commentThreadInputView','isActive','isDirty','editorConfig','commentsListView','commentInputView','_model','set','submitLabel','hasDirtyComment','destroy','removeComment','fire','focus','cancel','submit','Write\x20a\x20comment...'];(function(_0x5387d3,_0x24f257){const _0x4dc062=function(_0x335a25){while(--_0x335a25){_0x5387d3['push'](_0x5387d3['shift']());}};_0x4dc062(++_0x24f257);}(_0x24f2,0x79));const _0x4dc0=function(_0x5387d3,_0x24f257){_0x5387d3=_0x5387d3-0x0;let _0x4dc062=_0x24f2[_0x5387d3];return _0x4dc062;};import{View as _0x55e1be}from'ckeditor5/src/ui';import _0x3c0ec1 from'./commentthreadinputview';import _0xfd4ce7 from'./commentslistview';import _0x1f85ef from'./commentthreadheaderview';import{getTranslation as _0xf6d09c}from'../../../utils/common-translations';export default class Tt extends _0x55e1be{constructor(_0x3e4431,_0x5bec76,_0x3fe6c2,_0x2c43bc){super(_0x3e4431),this[_0x4dc0('0x29')](_0x4dc0('0x23'),!0x1),this[_0x4dc0('0x29')]('isDirty',!0x1),this[_0x4dc0('0x28')]=_0x5bec76,this[_0x4dc0('0xe')]=_0x3fe6c2,this['_config']=_0x2c43bc,this[_0x4dc0('0x1c')]=new _0x1f85ef(_0x3e4431,_0x5bec76),this['commentThreadHeaderView'][_0x4dc0('0x14')](_0x4dc0('0x13'))['to'](this),this[_0x4dc0('0x26')]=new _0xfd4ce7(_0x3e4431,_0x5bec76,Object[_0x4dc0('0xc')]({'CommentView':this[_0x4dc0('0x11')]['CommentView']},_0x2c43bc)),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('removeComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('updateComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x12'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x17')](_0x4dc0('0x23'))['to'](this),this[_0x4dc0('0x29')](_0x4dc0('0x1f'),this[_0x4dc0('0x26')][_0x4dc0('0x1f')]),this[_0x4dc0('0x17')]('length')['to'](this[_0x4dc0('0x26')],_0x4dc0('0x1f')),this[_0x4dc0('0x22')]=this['_createCommentThreadInputView'](),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this['on'](_0x4dc0('0x2'),()=>this['focus']()),this[_0x4dc0('0x17')](_0x4dc0('0x24'))['to'](this[_0x4dc0('0x26')],_0x4dc0('0x0'),this[_0x4dc0('0x22')][_0x4dc0('0x27')],'value',(_0x3aa562,_0x4a16b8)=>_0x3aa562||!!_0x4a16b8);}[_0x4dc0('0x4')](){this[_0x4dc0('0x18')][_0x4dc0('0x4')]();}async[_0x4dc0('0x1')](){this[_0x4dc0('0x24')]=!0x1,this[_0x4dc0('0x26')]['destroy'](),await this[_0x4dc0('0x22')][_0x4dc0('0x1')](),super[_0x4dc0('0x1')]();}[_0x4dc0('0x1e')](){const _0x88874e=new _0x3c0ec1(this[_0x4dc0('0xa')],this[_0x4dc0('0xe')],this[_0x4dc0('0x11')][_0x4dc0('0x25')]),_0x4ffd63=_0x88874e[_0x4dc0('0x27')];return _0x88874e[_0x4dc0('0x17')]('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this[_0x4dc0('0x28')],_0x4dc0('0x10'),this['_model'],_0x4dc0('0x9'),_0x4ffd63,_0x4dc0('0x1d'),(_0x3e2d09,_0x2f51b0,_0xf49815,_0x24238f,_0x2504e7)=>!!_0x2504e7||_0x24238f&&_0xf49815&&!_0x2f51b0||_0x3e2d09&&_0xf49815&&!_0x2f51b0),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0xb'))['to'](this,'length',this[_0x4dc0('0x28')],_0x4dc0('0x21'),this[_0x4dc0('0x28')],_0x4dc0('0x9'),(_0x433b60,_0x254297,_0x30ddf2)=>{let _0x3ff351;return _0x3ff351=_0x30ddf2&&_0x254297?_0x4dc0('0x1a'):_0x433b60?_0x4dc0('0xd'):_0x4dc0('0x7'),_0xf6d09c(this[_0x4dc0('0xa')],_0x3ff351);}),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0x2a'))['to'](this,_0x4dc0('0x1f'),_0xa7bd99=>_0xf6d09c(this[_0x4dc0('0xa')],_0xa7bd99?'Reply':'Comment')),_0x4ffd63['on'](_0x4dc0('0x6'),(_0x2b3ce7,_0x433dea)=>{this[_0x4dc0('0x3')](_0x4dc0('0x20'),_0x433dea),this['_model'][_0x4dc0('0x9')]&&this[_0x4dc0('0x28')][_0x4dc0('0x21')]&&this[_0x4dc0('0x3')](_0x4dc0('0x13'),this[_0x4dc0('0x28')]['id']),this[_0x4dc0('0x28')][_0x4dc0('0x16')]||this['fire'](_0x4dc0('0x19'));}),_0x4ffd63['on']('cancel',()=>{this[_0x4dc0('0x4')]();}),_0x4ffd63[_0x4dc0('0x17')]('disabledSubmit')['to'](this[_0x4dc0('0x28')],'isReadOnly'),_0x4ffd63['on'](_0x4dc0('0x5'),_0x3986fa=>{0x0==this['length']&&(this[_0x4dc0('0x3')](_0x4dc0('0x8')),_0x3986fa[_0x4dc0('0x15')]());}),this['on']('change:isActive',(_0x3020bf,_0x5a37ec,_0x4c697b)=>{_0x4c697b||this[_0x4dc0('0x1f')]||_0x4ffd63[_0x4dc0('0x1d')]||this[_0x4dc0('0x3')]('removeCommentThread');}),_0x88874e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf96e=['switchToDisplayMode','isCollapsed','initialData','isSystemComment','once','fire','_createCommentContentView','updateComment','delegate','set','submitLabel','focus','bind','switchToEditMode','cancel','get','content','destroy','Save','disabledSubmit','expand','isReadOnly','editorConfig','_model','maxCommentCharsWhenCollapsed','_createCommentInputView','element','isEditMode','visibleView','add','remove','createEditor','_config','locale'];(function(_0x4dee08,_0xf96e6f){const _0x29fb98=function(_0x29d430){while(--_0x29d430){_0x4dee08['push'](_0x4dee08['shift']());}};_0x29fb98(++_0xf96e6f);}(_0xf96e,0x1ab));const _0x29fb=function(_0x4dee08,_0xf96e6f){_0x4dee08=_0x4dee08-0x0;let _0x29fb98=_0xf96e[_0x4dee08];return _0x29fb98;};import{View as _0x5cf5b2}from'ckeditor5/src/ui';import{trimHtml as _0xd06ceb}from'ckeditor5-collaboration/src/collaboration-core';import _0x7fe7e3 from'./commentcontentview';import _0x1e6e6f from'./commentinputview';import{getTranslation as _0x13d270}from'../../../utils/common-translations';export default class Yt extends _0x5cf5b2{constructor(_0x27b397,_0x342271,_0x106401){super(_0x27b397),this['_model']=_0x342271,this[_0x29fb('0xd')]=_0x106401,this[_0x29fb('0x12')]=!!this[_0x29fb('0xd')]['isSystemComment'],this[_0x29fb('0x18')](_0x29fb('0x8'),!0x1),this[_0x29fb('0x18')]('isCollapsed',!0x0),this['visibleView']=this['createCollection'](),this[_0x29fb('0x9')][_0x29fb('0xa')](this['_createCommentContentView']());}[_0x29fb('0x1')](){this[_0x29fb('0x10')]=!0x1;}['collapse'](){this[_0x29fb('0x8')]||(this['isCollapsed']=!0x0);}[_0x29fb('0x1a')](){this[_0x29fb('0x7')][_0x29fb('0x1a')]();}async['destroy'](){await this[_0x29fb('0x9')][_0x29fb('0x1e')](0x0)[_0x29fb('0x20')](),super[_0x29fb('0x20')]();}[_0x29fb('0x1c')](){this[_0x29fb('0x8')]||(this[_0x29fb('0x8')]=!0x0,this[_0x29fb('0x9')][_0x29fb('0xb')](0x0)['destroy'](),this[_0x29fb('0x9')][_0x29fb('0xa')](this[_0x29fb('0x6')]()));}[_0x29fb('0xf')](){this['isEditMode']&&(this['isEditMode']=!0x1,this[_0x29fb('0x9')][_0x29fb('0xb')](0x0)[_0x29fb('0x20')](),this[_0x29fb('0x9')][_0x29fb('0xa')](this['_createCommentContentView']()));}[_0x29fb('0x15')](){const _0x5c80dd=new _0x7fe7e3(this[_0x29fb('0xe')]);return _0x5c80dd[_0x29fb('0x1b')]('content')['to'](this[_0x29fb('0x4')],_0x29fb('0x1f'),this,_0x29fb('0x10'),(_0x47a2d0,_0x4dd333)=>_0x4dd333?_0xd06ceb(_0x47a2d0,{'limit':this[_0x29fb('0xd')][_0x29fb('0x5')]}):_0x47a2d0),_0x5c80dd;}[_0x29fb('0x6')](){this[_0x29fb('0xd')][_0x29fb('0x3')]||(this[_0x29fb('0xd')][_0x29fb('0x3')]={}),this[_0x29fb('0xd')][_0x29fb('0x3')][_0x29fb('0x11')]=this[_0x29fb('0x4')][_0x29fb('0x1f')];const _0x490975=new _0x1e6e6f(this[_0x29fb('0xe')],this['_config'][_0x29fb('0x3')]);return _0x490975['value']=this[_0x29fb('0x4')]['content'],_0x490975[_0x29fb('0x1b')](_0x29fb('0x0'))['to'](this[_0x29fb('0x4')],_0x29fb('0x2')),_0x490975[_0x29fb('0x19')]=_0x13d270(this[_0x29fb('0xe')],_0x29fb('0x21')),_0x490975['on']('submit',(_0x17d2d6,_0x4ed81a)=>{this[_0x29fb('0x14')](_0x29fb('0x16'),this['_model']['id'],_0x4ed81a),this[_0x29fb('0xf')](),this[_0x29fb('0x1a')]();}),_0x490975['on'](_0x29fb('0x1d'),()=>{this[_0x29fb('0xf')](),this[_0x29fb('0x1a')]();}),_0x490975[_0x29fb('0x13')]('editorReady',()=>{_0x490975[_0x29fb('0x1a')]();}),_0x490975[_0x29fb('0xc')](),_0x490975[_0x29fb('0x17')]('editorReady')['to'](this),_0x490975[_0x29fb('0x17')]('editorDestroyed')['to'](this),_0x490975;}}
23
+ const _0x4c54=['add','submitLabel','element','Save','visibleView','value','fire','submit','expand','_createCommentInputView','bind','switchToDisplayMode','_config','isReadOnly','isCollapsed','editorConfig','switchToEditMode','get','delegate','createEditor','editorDestroyed','locale','isEditMode','set','remove','content','_createCommentContentView','focus','initialData','editorReady','_model','isSystemComment','destroy','updateComment','disabledSubmit'];(function(_0x43a87e,_0x4c5469){const _0x96eaa0=function(_0x4243d7){while(--_0x4243d7){_0x43a87e['push'](_0x43a87e['shift']());}};_0x96eaa0(++_0x4c5469);}(_0x4c54,0x180));const _0x96ea=function(_0x43a87e,_0x4c5469){_0x43a87e=_0x43a87e-0x0;let _0x96eaa0=_0x4c54[_0x43a87e];return _0x96eaa0;};import{View as _0x2c2071}from'ckeditor5/src/ui';import{trimHtml as _0x592007}from'ckeditor5-collaboration/src/collaboration-core';import _0x526c41 from'./commentcontentview';import _0x3dad19 from'./commentinputview';import{getTranslation as _0x48d5b3}from'../../../utils/common-translations';export default class Yt extends _0x2c2071{constructor(_0x3dc7ca,_0x148a2a,_0x32989f){super(_0x3dc7ca),this[_0x96ea('0x1f')]=_0x148a2a,this[_0x96ea('0xd')]=_0x32989f,this[_0x96ea('0x20')]=!!this[_0x96ea('0xd')][_0x96ea('0x20')],this[_0x96ea('0x18')](_0x96ea('0x17'),!0x1),this[_0x96ea('0x18')](_0x96ea('0xf'),!0x0),this[_0x96ea('0x5')]=this['createCollection'](),this[_0x96ea('0x5')][_0x96ea('0x1')](this[_0x96ea('0x1b')]());}[_0x96ea('0x9')](){this[_0x96ea('0xf')]=!0x1;}['collapse'](){this[_0x96ea('0x17')]||(this['isCollapsed']=!0x0);}[_0x96ea('0x1c')](){this[_0x96ea('0x3')]['focus']();}async[_0x96ea('0x21')](){await this[_0x96ea('0x5')][_0x96ea('0x12')](0x0)[_0x96ea('0x21')](),super[_0x96ea('0x21')]();}[_0x96ea('0x11')](){this[_0x96ea('0x17')]||(this['isEditMode']=!0x0,this['visibleView'][_0x96ea('0x19')](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0xa')]()));}['switchToDisplayMode'](){this[_0x96ea('0x17')]&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0x1b')]()));}[_0x96ea('0x1b')](){const _0x1216a9=new _0x526c41(this[_0x96ea('0x16')]);return _0x1216a9[_0x96ea('0xb')](_0x96ea('0x1a'))['to'](this[_0x96ea('0x1f')],_0x96ea('0x1a'),this,'isCollapsed',(_0x4219ef,_0x20c976)=>_0x20c976?_0x592007(_0x4219ef,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x4219ef),_0x1216a9;}['_createCommentInputView'](){this[_0x96ea('0xd')]['editorConfig']||(this['_config'][_0x96ea('0x10')]={}),this[_0x96ea('0xd')][_0x96ea('0x10')][_0x96ea('0x1d')]=this['_model'][_0x96ea('0x1a')];const _0x54ca0c=new _0x3dad19(this[_0x96ea('0x16')],this[_0x96ea('0xd')][_0x96ea('0x10')]);return _0x54ca0c[_0x96ea('0x6')]=this[_0x96ea('0x1f')][_0x96ea('0x1a')],_0x54ca0c[_0x96ea('0xb')](_0x96ea('0x0'))['to'](this[_0x96ea('0x1f')],_0x96ea('0xe')),_0x54ca0c[_0x96ea('0x2')]=_0x48d5b3(this[_0x96ea('0x16')],_0x96ea('0x4')),_0x54ca0c['on'](_0x96ea('0x8'),(_0x390a7c,_0x43ffbe)=>{this[_0x96ea('0x7')](_0x96ea('0x22'),this['_model']['id'],_0x43ffbe),this[_0x96ea('0xc')](),this[_0x96ea('0x1c')]();}),_0x54ca0c['on']('cancel',()=>{this[_0x96ea('0xc')](),this['focus']();}),_0x54ca0c['once'](_0x96ea('0x1e'),()=>{_0x54ca0c[_0x96ea('0x1c')]();}),_0x54ca0c[_0x96ea('0x14')](),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x1e'))['to'](this),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x15'))['to'](this),_0x54ca0c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2084=['setTemplate','NUMBER_OF_COMMENTS','set','count','bindTemplate','ck-thread__comment-count'];(function(_0x209e50,_0x20843d){const _0xd2be33=function(_0x15f9f0){while(--_0x15f9f0){_0x209e50['push'](_0x209e50['shift']());}};_0xd2be33(++_0x20843d);}(_0x2084,0xed));const _0xd2be=function(_0x209e50,_0x20843d){_0x209e50=_0x209e50-0x0;let _0xd2be33=_0x2084[_0x209e50];return _0xd2be33;};import{View as _0x4921a4}from'ckeditor5/src/ui';import{getTranslation as _0x3527a4}from'../../../utils/common-translations';export default class Zt extends _0x4921a4{constructor(_0x219528){super(_0x219528);const _0x3f0c33=this[_0xd2be('0x1')];this[_0xd2be('0x5')]('count',void 0x0),this[_0xd2be('0x3')]({'tag':'li','attributes':{'class':_0xd2be('0x2')},'children':[{'text':_0x3f0c33['to'](_0xd2be('0x0'),_0x1a0fdd=>_0x3527a4(_0x219528,_0xd2be('0x4'),_0x1a0fdd))}]});}}
23
+ const _0x46a2=['bindTemplate','setTemplate','set','ck-thread__comment-count','count','NUMBER_OF_COMMENTS'];(function(_0x1c426d,_0x46a228){const _0xd85036=function(_0x1cbb8a){while(--_0x1cbb8a){_0x1c426d['push'](_0x1c426d['shift']());}};_0xd85036(++_0x46a228);}(_0x46a2,0xda));const _0xd850=function(_0x1c426d,_0x46a228){_0x1c426d=_0x1c426d-0x0;let _0xd85036=_0x46a2[_0x1c426d];return _0xd85036;};import{View as _0x213c7c}from'ckeditor5/src/ui';import{getTranslation as _0x2d8513}from'../../../utils/common-translations';export default class Zt extends _0x213c7c{constructor(_0x506eda){super(_0x506eda);const _0x175c13=this[_0xd850('0x4')];this[_0xd850('0x0')]('count',void 0x0),this[_0xd850('0x5')]({'tag':'li','attributes':{'class':_0xd850('0x1')},'children':[{'text':_0x175c13['to'](_0xd850('0x2'),_0x58b870=>_0x2d8513(_0x506eda,_0xd850('0x3'),_0x58b870))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8e20=['ck-comment__content','ck-annotation__content','change:content','innerHTML','setTemplate','element','content'];(function(_0x119528,_0x8e206){var _0x4f3134=function(_0x28dba6){while(--_0x28dba6){_0x119528['push'](_0x119528['shift']());}};_0x4f3134(++_0x8e206);}(_0x8e20,0xad));var _0x4f31=function(_0x119528,_0x8e206){_0x119528=_0x119528-0x0;var _0x4f3134=_0x8e20[_0x119528];return _0x4f3134;};import{View as _0x577ed0}from'ckeditor5/src/ui';export default class Ut extends _0x577ed0{constructor(_0x1575ec){super(_0x1575ec),this['set']('content',''),this[_0x4f31('0x6')]({'tag':'div','attributes':{'class':[_0x4f31('0x2'),_0x4f31('0x3')]}});}['render'](){super['render'](),this['on'](_0x4f31('0x4'),(_0x4522a4,_0x3d6a10,_0x56d255)=>{this['element'][_0x4f31('0x5')]=_0x56d255;}),this[_0x4f31('0x0')][_0x4f31('0x5')]=this[_0x4f31('0x1')];}}
23
+ var _0x2ca3=['ck-comment__content','render','element','innerHTML','ck-annotation__content'];(function(_0x1f7f99,_0x2ca371){var _0x268802=function(_0x5502dc){while(--_0x5502dc){_0x1f7f99['push'](_0x1f7f99['shift']());}};_0x268802(++_0x2ca371);}(_0x2ca3,0xe8));var _0x2688=function(_0x1f7f99,_0x2ca371){_0x1f7f99=_0x1f7f99-0x0;var _0x268802=_0x2ca3[_0x1f7f99];return _0x268802;};import{View as _0x19d196}from'ckeditor5/src/ui';export default class Ut extends _0x19d196{constructor(_0x435a77){super(_0x435a77),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2688('0x3'),_0x2688('0x2')]}});}[_0x2688('0x4')](){super[_0x2688('0x4')](),this['on']('change:content',(_0x2aa6d3,_0x31986f,_0x437b31)=>{this[_0x2688('0x0')]['innerHTML']=_0x437b31;}),this[_0x2688('0x0')][_0x2688('0x1')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dfb=['then','Cancel','_editorConfig','change','label','focusPrevious','submitButtonView','submit','Esc','showButtons','bindTemplate','extendTemplate','editor','render','destroy','initialData','ck-comment__input-wrapper','focusTracker','setData','low','tab','ck-comment__input-actions--cancel','value','set','_createSubmitButton','_isDestroyed','withText','forEach','cancelButtonView','firstChild','placeholder','create','getData','submitLabel','insertBefore','length','createEditor','cancel','bind','stop','ck-comment__input-actions','Reply','fire','listenTo','high','editorReady','keystrokes','focus','_initializeFocusCycling','shift\x20+\x20tab','trim','add','editorDestroyed','execute','element','div','ck-comment__input-actions--active','setTemplate'];(function(_0xbf4e00,_0x3dfbfc){const _0x1c72b6=function(_0x1e984b){while(--_0x1e984b){_0xbf4e00['push'](_0xbf4e00['shift']());}};_0x1c72b6(++_0x3dfbfc);}(_0x3dfb,0x96));const _0x1c72=function(_0xbf4e00,_0x3dfbfc){_0xbf4e00=_0xbf4e00-0x0;let _0x1c72b6=_0x3dfb[_0xbf4e00];return _0x1c72b6;};import{View as _0x470711,ViewCollection as _0x1124a1,FocusCycler as _0x241ecb,ButtonView as _0x133d4f}from'ckeditor5/src/ui';import{FocusTracker as _0x57da46,KeystrokeHandler as _0x2e7e90}from'ckeditor5/src/utils';import _0x4ba238 from'../commenteditor/commenteditor';import{getTranslation as _0x546a41}from'../../../utils/common-translations';export default class Xt extends _0x470711{constructor(_0x10e841,_0x4722e8={}){super(_0x10e841),this[_0x1c72('0x24')]=null,this[_0x1c72('0x1a')]=_0x4722e8,this[_0x1c72('0xc')]=new _0x2e7e90(),this[_0x1c72('0x29')]=new _0x57da46(),this[_0x1c72('0x2f')](_0x1c72('0x2e'),_0x4722e8[_0x1c72('0x27')]||''),this['set']('disabledSubmit',!0x1),this[_0x1c72('0x2f')](_0x1c72('0x21'),!0x0),this[_0x1c72('0x2f')](_0x1c72('0x36'),_0x546a41(_0x10e841,'Reply...')),this[_0x1c72('0x2f')](_0x1c72('0x39'),_0x546a41(_0x10e841,_0x1c72('0x7'))),this[_0x1c72('0x1e')]=this[_0x1c72('0x30')](),this[_0x1c72('0x34')]=this['_createCancelButton'](),this[_0x1c72('0x17')]({'tag':'div','attributes':{'class':[_0x1c72('0x28')]},'children':[{'tag':_0x1c72('0x15'),'attributes':{'class':[_0x1c72('0x6'),this[_0x1c72('0x22')]['if'](_0x1c72('0x21'),_0x1c72('0x16'))]},'children':[this['submitButtonView'],this[_0x1c72('0x34')]]}]}),this[_0x1c72('0xc')][_0x1c72('0x2f')](_0x1c72('0x20'),(_0x12d4a4,_0x277460)=>{this[_0x1c72('0x34')][_0x1c72('0x8')]('execute'),_0x277460();}),this['on'](_0x1c72('0x1f'),(_0x242ea5,_0x37b7c4)=>{_0x37b7c4[_0x1c72('0x1')]>0xfde8?(alert(_0x546a41(_0x10e841,'TOO_LONG_COMMENT_ALERT',[_0x37b7c4[_0x1c72('0x1')],0xfde8])),_0x242ea5[_0x1c72('0x5')]()):this['editor'][_0x1c72('0x2a')]('');},{'priority':_0x1c72('0xa')});}[_0x1c72('0x25')](){super[_0x1c72('0x25')](),this[_0x1c72('0xc')][_0x1c72('0x9')](this[_0x1c72('0x14')]),this[_0x1c72('0x29')][_0x1c72('0x11')](this[_0x1c72('0x14')]);}[_0x1c72('0x2')](){return this[_0x1c72('0x24')]||(this[_0x1c72('0x24')]=new _0x4ba238(this['_editorConfig']),this['_editorCreationPromise']=this[_0x1c72('0x24')][_0x1c72('0x37')]()[_0x1c72('0x18')](()=>{if(this['_isDestroyed'])return;const _0x5ec3c5=this[_0x1c72('0x24')];this['element'][_0x1c72('0x0')](_0x5ec3c5['ui']['element'],this[_0x1c72('0x14')][_0x1c72('0x35')]),_0x5ec3c5['model']['document']['on'](_0x1c72('0x1b'),()=>this[_0x1c72('0x2e')]=_0x5ec3c5[_0x1c72('0x38')]()),_0x5ec3c5[_0x1c72('0x4')](_0x1c72('0x36'))['to'](this),this[_0x1c72('0xe')](this[_0x1c72('0x24')]),this['fire'](_0x1c72('0xb'),this['editor']);})),this['_editorCreationPromise'];}[_0x1c72('0xd')](){this[_0x1c72('0x24')]&&this[_0x1c72('0x24')][_0x1c72('0xd')]();}async[_0x1c72('0x26')](){this[_0x1c72('0x31')]||(this[_0x1c72('0x31')]=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor'][_0x1c72('0x26')](),this[_0x1c72('0x8')](_0x1c72('0x12'),this['editor'])),await super[_0x1c72('0x26')]());}[_0x1c72('0x30')](){const {locale:_0x551684}=this,_0x302193=new _0x133d4f(_0x551684);return _0x302193[_0x1c72('0x23')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x302193[_0x1c72('0x32')]=!0x0,_0x302193[_0x1c72('0x4')]('label')['to'](this,'submitLabel'),_0x302193['on'](_0x1c72('0x13'),()=>{this[_0x1c72('0x8')]('submit',this['value']);}),_0x302193[_0x1c72('0x4')]('isEnabled')['to'](this,_0x1c72('0x2e'),this,'disabledSubmit',(_0x366fec,_0x23c7c4)=>!_0x23c7c4&&!!_0x366fec[_0x1c72('0x10')]()),_0x302193;}['_createCancelButton'](){const {locale:_0x5becba}=this,_0x8ba88=new _0x133d4f(_0x5becba);return _0x8ba88[_0x1c72('0x23')]({'attributes':{'class':[_0x1c72('0x2d')]}}),_0x8ba88[_0x1c72('0x1c')]=_0x546a41(_0x5becba,_0x1c72('0x19')),_0x8ba88['withText']=!0x0,_0x8ba88['on'](_0x1c72('0x13'),()=>{this[_0x1c72('0x24')][_0x1c72('0x2a')](''),this[_0x1c72('0x8')](_0x1c72('0x3'));}),_0x8ba88;}[_0x1c72('0xe')](_0x410ced){const _0x2cc619=this['focusTracker'],_0x48d82f=new _0x1124a1();[_0x410ced['ui']['view'],this[_0x1c72('0x1e')],this[_0x1c72('0x34')]][_0x1c72('0x33')](_0x34524d=>{_0x48d82f[_0x1c72('0x11')](_0x34524d),_0x2cc619[_0x1c72('0x11')](_0x34524d[_0x1c72('0x14')]);});const _0x33d4d7=new _0x241ecb({'focusables':_0x48d82f,'focusTracker':_0x2cc619});this[_0x1c72('0xc')]['set'](_0x1c72('0x2c'),(_0x3aa7c7,_0x2bbc23)=>{_0x33d4d7['focusNext'](),_0x2bbc23();},{'priority':_0x1c72('0x2b')}),this[_0x1c72('0xc')]['set'](_0x1c72('0xf'),(_0x7104d6,_0x5f4425)=>{_0x33d4d7[_0x1c72('0x1d')](),_0x5f4425();},{'priority':_0x1c72('0x2b')});}}
23
+ const _0x16d5=['add','editorReady','then','destroy','submitButtonView','ck-comment__input-actions--cancel','change','Reply','editorDestroyed','length','showButtons','trim','Esc','Reply...','shift\x20+\x20tab','element','Cancel','forEach','fire','create','bind','ck-comment__input-wrapper','setTemplate','focusTracker','high','withText','initialData','_isDestroyed','listenTo','firstChild','_editorCreationPromise','submit','ck-comment__input-actions','set','cancelButtonView','value','keystrokes','ck-comment__input-actions--submit','isEnabled','submitLabel','createEditor','focusNext','tab','low','_initializeFocusCycling','disabledSubmit','focusPrevious','stop','_editorConfig','execute','cancel','_createCancelButton','document','_createSubmitButton','label','editor','insertBefore','render','ck-comment__input-actions--active','extendTemplate','setData'];(function(_0x17450e,_0x16d5f2){const _0x3729f8=function(_0x3c5616){while(--_0x3c5616){_0x17450e['push'](_0x17450e['shift']());}};_0x3729f8(++_0x16d5f2);}(_0x16d5,0xc5));const _0x3729=function(_0x17450e,_0x16d5f2){_0x17450e=_0x17450e-0x0;let _0x3729f8=_0x16d5[_0x17450e];return _0x3729f8;};import{View as _0x101260,ViewCollection as _0x3bd563,FocusCycler as _0x5cc682,ButtonView as _0x34095e}from'ckeditor5/src/ui';import{FocusTracker as _0x545a50,KeystrokeHandler as _0x3619cd}from'ckeditor5/src/utils';import _0x16d625 from'../commenteditor/commenteditor';import{getTranslation as _0x57f6e6}from'../../../utils/common-translations';export default class Xt extends _0x101260{constructor(_0x44d82a,_0x4de9a3={}){super(_0x44d82a),this[_0x3729('0x29')]=null,this[_0x3729('0x22')]=_0x4de9a3,this[_0x3729('0x16')]=new _0x3619cd(),this[_0x3729('0x9')]=new _0x545a50(),this[_0x3729('0x13')]('value',_0x4de9a3[_0x3729('0xc')]||''),this[_0x3729('0x13')]('disabledSubmit',!0x1),this['set'](_0x3729('0x39'),!0x0),this[_0x3729('0x13')]('placeholder',_0x57f6e6(_0x44d82a,_0x3729('0x3c'))),this[_0x3729('0x13')](_0x3729('0x19'),_0x57f6e6(_0x44d82a,_0x3729('0x36'))),this[_0x3729('0x33')]=this[_0x3729('0x27')](),this[_0x3729('0x14')]=this[_0x3729('0x25')](),this[_0x3729('0x8')]({'tag':'div','attributes':{'class':[_0x3729('0x7')]},'children':[{'tag':'div','attributes':{'class':[_0x3729('0x12'),this['bindTemplate']['if']('showButtons',_0x3729('0x2c'))]},'children':[this[_0x3729('0x33')],this[_0x3729('0x14')]]}]}),this[_0x3729('0x16')]['set'](_0x3729('0x3b'),(_0x496bb9,_0xebb749)=>{this['cancelButtonView'][_0x3729('0x4')](_0x3729('0x23')),_0xebb749();}),this['on'](_0x3729('0x11'),(_0x124a81,_0x1d3047)=>{_0x1d3047['length']>0xfde8?(alert(_0x57f6e6(_0x44d82a,'TOO_LONG_COMMENT_ALERT',[_0x1d3047[_0x3729('0x38')],0xfde8])),_0x124a81[_0x3729('0x21')]()):this[_0x3729('0x29')][_0x3729('0x2e')]('');},{'priority':_0x3729('0xa')});}[_0x3729('0x2b')](){super[_0x3729('0x2b')](),this['keystrokes'][_0x3729('0xe')](this[_0x3729('0x1')]),this['focusTracker'][_0x3729('0x2f')](this[_0x3729('0x1')]);}[_0x3729('0x1a')](){return this[_0x3729('0x29')]||(this[_0x3729('0x29')]=new _0x16d625(this[_0x3729('0x22')]),this[_0x3729('0x10')]=this[_0x3729('0x29')][_0x3729('0x5')]()[_0x3729('0x31')](()=>{if(this[_0x3729('0xd')])return;const _0x412113=this[_0x3729('0x29')];this[_0x3729('0x1')][_0x3729('0x2a')](_0x412113['ui'][_0x3729('0x1')],this[_0x3729('0x1')][_0x3729('0xf')]),_0x412113['model'][_0x3729('0x26')]['on'](_0x3729('0x35'),()=>this[_0x3729('0x15')]=_0x412113['getData']()),_0x412113['bind']('placeholder')['to'](this),this[_0x3729('0x1e')](this[_0x3729('0x29')]),this[_0x3729('0x4')](_0x3729('0x30'),this[_0x3729('0x29')]);})),this[_0x3729('0x10')];}['focus'](){this[_0x3729('0x29')]&&this[_0x3729('0x29')]['focus']();}async[_0x3729('0x32')](){this[_0x3729('0xd')]||(this[_0x3729('0xd')]=!0x0,this['editor']&&(await this[_0x3729('0x10')],await this[_0x3729('0x29')][_0x3729('0x32')](),this[_0x3729('0x4')](_0x3729('0x37'),this[_0x3729('0x29')])),await super[_0x3729('0x32')]());}[_0x3729('0x27')](){const {locale:_0x2cfb95}=this,_0x2396a=new _0x34095e(_0x2cfb95);return _0x2396a[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x17')]}}),_0x2396a[_0x3729('0xb')]=!0x0,_0x2396a[_0x3729('0x6')](_0x3729('0x28'))['to'](this,_0x3729('0x19')),_0x2396a['on'](_0x3729('0x23'),()=>{this[_0x3729('0x4')]('submit',this[_0x3729('0x15')]);}),_0x2396a[_0x3729('0x6')](_0x3729('0x18'))['to'](this,'value',this,_0x3729('0x1f'),(_0xbfb9d3,_0x1e1605)=>!_0x1e1605&&!!_0xbfb9d3[_0x3729('0x3a')]()),_0x2396a;}[_0x3729('0x25')](){const {locale:_0xaab655}=this,_0x27f143=new _0x34095e(_0xaab655);return _0x27f143[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x34')]}}),_0x27f143[_0x3729('0x28')]=_0x57f6e6(_0xaab655,_0x3729('0x2')),_0x27f143[_0x3729('0xb')]=!0x0,_0x27f143['on'](_0x3729('0x23'),()=>{this[_0x3729('0x29')]['setData'](''),this[_0x3729('0x4')](_0x3729('0x24'));}),_0x27f143;}[_0x3729('0x1e')](_0x29965a){const _0x183da9=this['focusTracker'],_0x48b742=new _0x3bd563();[_0x29965a['ui']['view'],this[_0x3729('0x33')],this[_0x3729('0x14')]][_0x3729('0x3')](_0x38cb11=>{_0x48b742[_0x3729('0x2f')](_0x38cb11),_0x183da9[_0x3729('0x2f')](_0x38cb11[_0x3729('0x1')]);});const _0xd0b3b6=new _0x5cc682({'focusables':_0x48b742,'focusTracker':_0x183da9});this[_0x3729('0x16')][_0x3729('0x13')](_0x3729('0x1c'),(_0x8990d5,_0x28e97f)=>{_0xd0b3b6[_0x3729('0x1b')](),_0x28e97f();},{'priority':_0x3729('0x1d')}),this[_0x3729('0x16')]['set'](_0x3729('0x0'),(_0x5f283c,_0x280526)=>{_0xd0b3b6[_0x3729('0x20')](),_0x280526();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a6a=['high','shift\x20+\x20tab','_focusables','set','add','focus','isEmpty','arrowleft','ck-hidden','stopPropagation','_keystrokes','remove','auto','render','element','EMPTY_COMMENTS_ARCHIVE','listenTo','isActive','arrowup','ck-comments-archive__header\x20','ck-comments-archive__content','div','arrowdown','selectstart','length','destroy','COMMENTS_ARCHIVE','_focusTracker'];(function(_0x407fb3,_0x2a6ad1){const _0x269a3c=function(_0x4aea2d){while(--_0x4aea2d){_0x407fb3['push'](_0x407fb3['shift']());}};_0x269a3c(++_0x2a6ad1);}(_0x2a6a,0x173));const _0x269a=function(_0x407fb3,_0x2a6ad1){_0x407fb3=_0x407fb3-0x0;let _0x269a3c=_0x2a6a[_0x407fb3];return _0x269a3c;};import{View as _0x52b47,FocusCycler as _0x4e35c6}from'ckeditor5/src/ui';import{FocusTracker as _0x7953ad,KeystrokeHandler as _0x4d3375}from'ckeditor5/src/utils';import{getTranslation as _0x39444e}from'../../../utils/common-translations';export default class K extends _0x52b47{constructor(_0x158a80,_0x22daeb){super(_0x158a80),this[_0x269a('0x18')]('isEmpty',!_0x22daeb[_0x269a('0x11')]),this[_0x269a('0x14')]=new _0x7953ad(),this[_0x269a('0x3')]=new _0x4d3375(),this[_0x269a('0x17')]=_0x22daeb,this['_focusCycler']=new _0x4e35c6({'focusables':this['_focusables'],'focusTracker':this[_0x269a('0x14')],'keystrokeHandler':this[_0x269a('0x3')],'actions':{'focusPrevious':_0x269a('0x16'),'focusNext':'tab'}}),this['listenTo'](_0x22daeb,_0x269a('0x19'),()=>{this[_0x269a('0x1b')]=!0x1;}),this[_0x269a('0x9')](_0x22daeb,_0x269a('0x4'),(_0x2da182,_0x14086e)=>{_0x14086e[_0x269a('0xa')]&&this[_0x269a('0x1a')](),_0x22daeb[_0x269a('0x11')]||(this['isEmpty']=!0x0);});const _0x29c18b=this['bindTemplate'];this['setTemplate']({'tag':_0x269a('0xe'),'attributes':{'dir':_0x269a('0x5'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x269a('0xc')]},'children':[{'text':_0x39444e(_0x158a80,_0x269a('0x13'))}]},{'tag':_0x269a('0xe'),'attributes':{'class':[_0x269a('0xd')]},'children':[{'tag':_0x269a('0xe'),'children':_0x22daeb},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x29c18b['if']('isEmpty',_0x269a('0x1'),_0x3f84a0=>!_0x3f84a0)]},'children':[{'text':_0x39444e(_0x158a80,_0x269a('0x8'))}]}]}]});}[_0x269a('0x6')](){super['render'](),this[_0x269a('0x3')][_0x269a('0x9')](this[_0x269a('0x7')]);const _0x167323=_0x3c5d47=>_0x3c5d47[_0x269a('0x2')]();this[_0x269a('0x3')][_0x269a('0x18')]('arrowright',_0x167323),this['_keystrokes'][_0x269a('0x18')](_0x269a('0x0'),_0x167323),this[_0x269a('0x3')][_0x269a('0x18')](_0x269a('0xb'),_0x167323),this[_0x269a('0x3')][_0x269a('0x18')](_0x269a('0xf'),_0x167323),this[_0x269a('0x9')](this[_0x269a('0x7')],_0x269a('0x10'),(_0x203565,_0x47c1ce)=>{_0x47c1ce[_0x269a('0x2')]();},{'priority':_0x269a('0x15')});}[_0x269a('0x12')](){super[_0x269a('0x12')](),this[_0x269a('0x14')][_0x269a('0x12')](),this[_0x269a('0x3')][_0x269a('0x12')]();}[_0x269a('0x1a')](){this[_0x269a('0x7')]['focus']();}}
23
+ const _0x2c52=['_focusables','isActive','bindTemplate','length','listenTo','isEmpty','ck-comments-archive__content','focus','remove','ck-hidden','EMPTY_COMMENTS_ARCHIVE','COMMENTS_ARCHIVE','add','ck-comments-archive','tab','div','auto','element','_keystrokes','arrowup','destroy','set','render','arrowright','selectstart','ck-comments-archive__header\x20','_focusTracker','arrowleft','stopPropagation','_focusCycler'];(function(_0x113b61,_0x2c5201){const _0x50dd66=function(_0x267c49){while(--_0x267c49){_0x113b61['push'](_0x113b61['shift']());}};_0x50dd66(++_0x2c5201);}(_0x2c52,0xac));const _0x50dd=function(_0x113b61,_0x2c5201){_0x113b61=_0x113b61-0x0;let _0x50dd66=_0x2c52[_0x113b61];return _0x50dd66;};import{View as _0x1212a9,FocusCycler as _0x1769f2}from'ckeditor5/src/ui';import{FocusTracker as _0x1edff7,KeystrokeHandler as _0x2a40e9}from'ckeditor5/src/utils';import{getTranslation as _0x182e79}from'../../../utils/common-translations';export default class K extends _0x1212a9{constructor(_0x56c3a6,_0x30ff7d){super(_0x56c3a6),this['set'](_0x50dd('0xd'),!_0x30ff7d['length']),this['_focusTracker']=new _0x1edff7(),this['_keystrokes']=new _0x2a40e9(),this[_0x50dd('0x8')]=_0x30ff7d,this[_0x50dd('0x7')]=new _0x1769f2({'focusables':this[_0x50dd('0x8')],'focusTracker':this[_0x50dd('0x4')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x50dd('0x16')}}),this['listenTo'](_0x30ff7d,_0x50dd('0x14'),()=>{this['isEmpty']=!0x1;}),this[_0x50dd('0xc')](_0x30ff7d,_0x50dd('0x10'),(_0x3c306c,_0x347e77)=>{_0x347e77[_0x50dd('0x9')]&&this[_0x50dd('0xf')](),_0x30ff7d[_0x50dd('0xb')]||(this[_0x50dd('0xd')]=!0x0);});const _0x2aab5b=this[_0x50dd('0xa')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x50dd('0x18'),'class':['ck',_0x50dd('0x15')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x50dd('0x3')]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x13'))}]},{'tag':_0x50dd('0x17'),'attributes':{'class':[_0x50dd('0xe')]},'children':[{'tag':_0x50dd('0x17'),'children':_0x30ff7d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x2aab5b['if'](_0x50dd('0xd'),_0x50dd('0x11'),_0x165b0b=>!_0x165b0b)]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x12'))}]}]}]});}[_0x50dd('0x0')](){super[_0x50dd('0x0')](),this[_0x50dd('0x1a')][_0x50dd('0xc')](this['element']);const _0x67f659=_0xc5235f=>_0xc5235f[_0x50dd('0x6')]();this[_0x50dd('0x1a')]['set'](_0x50dd('0x1'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x5'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x1b'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')]('arrowdown',_0x67f659),this[_0x50dd('0xc')](this['element'],_0x50dd('0x2'),(_0x3e7e3b,_0x23c23d)=>{_0x23c23d['stopPropagation']();},{'priority':'high'});}[_0x50dd('0x1c')](){super[_0x50dd('0x1c')](),this[_0x50dd('0x4')][_0x50dd('0x1c')](),this['_keystrokes'][_0x50dd('0x1c')]();}[_0x50dd('0xf')](){this[_0x50dd('0x19')][_0x50dd('0xf')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa192=['length','visibleViews','resolvedBy','maxCommentCharsWhenCollapsed','commentViews','change:isEditMode','_handleNewCommentModel','isActive','updateComment','change:isResolved','_findOptimalIndex','from','focus','setTemplate','resolvedAt','_collapsedCommentsView','collapse','Marked\x20as\x20resolved','equal','destroy','ck-thread__comments','_calculatePosition','createCollection','refreshVisibleViews','maxThreadTotalWeight','add','_handleInfoComment','_updateHasDirtyComment','element','hasDirtyComment','_handleRemoveCommentModel','count','_model','locale','some','remove','expand','weight','listenTo','comments','authoredAt','editorReady','_config','editorConfig','formatDateTime','delete','resolvedCommentView','_rearrangeCollapse','_shouldCollapse','_rearrangeExpand','delegate','editorDestroyed','bind','CommentView','stopListening','get','set','isEditMode'];(function(_0x5c3fe1,_0xa1923c){const _0x2e0d3c=function(_0x45922d){while(--_0x45922d){_0x5c3fe1['push'](_0x5c3fe1['shift']());}};_0x2e0d3c(++_0xa1923c);}(_0xa192,0x1e7));const _0x2e0d=function(_0x5c3fe1,_0xa1923c){_0x5c3fe1=_0x5c3fe1-0x0;let _0x2e0d3c=_0xa192[_0x5c3fe1];return _0x2e0d3c;};import{View as _0x5c5e36}from'ckeditor5/src/ui';import{diff as _0x4141e9,Collection as _0x5c43ae}from'ckeditor5/src/utils';import{getTranslation as _0x5054b5}from'../../../utils/common-translations';import _0xe4c0a9 from'./collapsedcommentsview';export default class wt extends _0x5c5e36{constructor(_0x56966c,_0x46722d,_0x45d7d0){super(_0x56966c),this['set']('hasDirtyComment',!0x1),this['set']('length',_0x46722d[_0x2e0d('0x10')]['length']),this[_0x2e0d('0x21')](_0x2e0d('0x2a'),!0x1),this['_model']=_0x46722d,this[_0x2e0d('0x13')]=_0x45d7d0,this[_0x2e0d('0x27')]=this[_0x2e0d('0x39')](),this[_0x2e0d('0x24')]=this[_0x2e0d('0x39')](),this[_0x2e0d('0x17')]=null,this[_0x2e0d('0x32')]=new _0xe4c0a9(_0x56966c),this[_0x2e0d('0x32')][_0x2e0d('0x1d')](_0x2e0d('0x8'))['to'](this,_0x2e0d('0x23'),_0x17c8fe=>_0x17c8fe-this['_config']['maxCommentsWhenCollapsed']);for(const _0x2658da of _0x46722d[_0x2e0d('0x10')])this[_0x2e0d('0x29')](_0x2658da);this['_handleInfoComment'](),this['listenTo'](_0x46722d[_0x2e0d('0x10')],_0x2e0d('0x2'),(_0xf4ecb9,_0x2d33b4)=>{const _0x41b754=this[_0x2e0d('0x38')](_0x2d33b4);this['length']++,this[_0x2e0d('0x29')](_0x2d33b4,_0x41b754),this['refreshVisibleViews']();}),this[_0x2e0d('0xf')](_0x46722d[_0x2e0d('0x10')],_0x2e0d('0xc'),(_0x3b72ec,_0x45fed9)=>{this[_0x2e0d('0x23')]--,this[_0x2e0d('0x7')](_0x45fed9),this['refreshVisibleViews']();}),this[_0x2e0d('0xf')](_0x46722d,'commentUpdated',()=>this[_0x2e0d('0x0')]()),this[_0x2e0d('0xf')](_0x46722d,_0x2e0d('0x2c'),()=>this[_0x2e0d('0x3')]()),this['on']('change:isActive',()=>this[_0x2e0d('0x0')]()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this[_0x2e0d('0x30')]({'tag':'ul','attributes':{'class':[_0x2e0d('0x37')]},'children':this[_0x2e0d('0x24')]});}get[_0x2e0d('0x19')](){return this['_model'][_0x2e0d('0xe')]>this[_0x2e0d('0x13')][_0x2e0d('0x1')]&&!this[_0x2e0d('0x2a')]&&!this['hasDirtyComment'];}['render'](){super['render'](),this[_0x2e0d('0x0')]();}[_0x2e0d('0x2f')](){this[_0x2e0d('0x5')][_0x2e0d('0x2f')]();}[_0x2e0d('0x36')](){this[_0x2e0d('0x32')][_0x2e0d('0x36')]();for(const _0x66935f of this[_0x2e0d('0x27')])_0x66935f[_0x2e0d('0x36')]();super[_0x2e0d('0x36')]();}['refreshVisibleViews'](){this[_0x2e0d('0x19')]?this['_rearrangeCollapse']():this[_0x2e0d('0x1a')]();}['_handleNewCommentModel'](_0x25d86a,_0x3c65f7){const _0x14f6e5=new this[(_0x2e0d('0x13'))][(_0x2e0d('0x1e'))](this['locale'],_0x25d86a,{'maxCommentCharsWhenCollapsed':this[_0x2e0d('0x13')][_0x2e0d('0x26')],'formatDateTime':this[_0x2e0d('0x13')][_0x2e0d('0x15')],'editorConfig':this['_config'][_0x2e0d('0x14')]});_0x14f6e5['viewUid']=_0x25d86a['id'],_0x14f6e5[_0x2e0d('0x1b')]('removeComment')['to'](this),_0x14f6e5[_0x2e0d('0x1b')](_0x2e0d('0x2b'))['to'](this),_0x14f6e5['delegate']('resolveCommentThread')['to'](this),_0x14f6e5['delegate'](_0x2e0d('0x12'))['to'](this),_0x14f6e5[_0x2e0d('0x1b')](_0x2e0d('0x1c'))['to'](this),this['listenTo'](_0x14f6e5,_0x2e0d('0x28'),()=>this[_0x2e0d('0x4')]()),this[_0x2e0d('0x27')][_0x2e0d('0x2')](_0x14f6e5,_0x3c65f7);}[_0x2e0d('0x38')](_0x3024d0){const _0x336084=this[_0x2e0d('0x9')][_0x2e0d('0x2d')](_0x3024d0);return this[_0x2e0d('0x17')]?this['resolvedCommentView'][_0x2e0d('0x11')]>_0x3024d0[_0x2e0d('0x11')]?_0x336084-0x1:_0x336084:_0x336084-0x1;}[_0x2e0d('0x3')](){if(this[_0x2e0d('0x9')][_0x2e0d('0x25')]&&this[_0x2e0d('0x9')][_0x2e0d('0x31')]){const _0xab3f2c={'id':'resolved','author':this['_model'][_0x2e0d('0x25')],'authoredAt':this[_0x2e0d('0x9')]['resolvedAt'],'content':_0x5054b5(this[_0x2e0d('0xa')],_0x2e0d('0x34')),'attributes':{}};this[_0x2e0d('0x17')]=new this['_config'][(_0x2e0d('0x1e'))](this[_0x2e0d('0xa')],_0xab3f2c,{'maxCommentCharsWhenCollapsed':this[_0x2e0d('0x13')][_0x2e0d('0x26')],'formatDateTime':this[_0x2e0d('0x13')][_0x2e0d('0x15')],'editorConfig':this['_config'][_0x2e0d('0x14')],'isSystemComment':!0x0}),this[_0x2e0d('0x27')]['add'](this[_0x2e0d('0x17')],this[_0x2e0d('0x9')][_0x2e0d('0x2d')](_0xab3f2c));}else this[_0x2e0d('0x17')]&&(this['commentViews']['remove'](this[_0x2e0d('0x17')]),this[_0x2e0d('0x17')][_0x2e0d('0x36')](),this[_0x2e0d('0x17')]=null);this[_0x2e0d('0x0')]();}['_handleRemoveCommentModel'](_0x20fa11){const _0x4c962f=this[_0x2e0d('0x27')][_0x2e0d('0xc')](_0x20fa11['id']);this[_0x2e0d('0x1f')](_0x4c962f),_0x4c962f[_0x2e0d('0x22')]&&this[_0x2e0d('0x4')](),_0x4c962f[_0x2e0d('0x36')]();}[_0x2e0d('0x4')](){this[_0x2e0d('0x6')]=Array['from'](this[_0x2e0d('0x27')])[_0x2e0d('0xb')](_0x263845=>_0x263845[_0x2e0d('0x22')]);}[_0x2e0d('0x18')](){const _0x492490=function(_0x20ba76){const _0x2628a3=new _0x5c43ae();for(const _0x35ab37 of _0x20ba76)_0x2628a3[_0x2e0d('0x2')](_0x35ab37);return _0x2628a3;}(this[_0x2e0d('0x27')]),_0x3ea828=this['_collapsedCommentsView']['count'];for(let _0x19e358=0x1;_0x19e358<=_0x3ea828;_0x19e358++)_0x492490['remove'](0x1);for(const _0x28402c of _0x492490)_0x28402c[_0x2e0d('0x33')]();_0x3ea828>0x0&&_0x492490[_0x2e0d('0x2')](this[_0x2e0d('0x32')],0x1),ss(_0x4141e9(Array[_0x2e0d('0x2e')](this['visibleViews']),Array[_0x2e0d('0x2e')](_0x492490)),this[_0x2e0d('0x24')],_0x492490);}[_0x2e0d('0x1a')](){ss(_0x4141e9(Array[_0x2e0d('0x2e')](this[_0x2e0d('0x24')]),Array[_0x2e0d('0x2e')](this['commentViews'])),this[_0x2e0d('0x24')],this[_0x2e0d('0x27')]);for(const _0x3879e0 of this[_0x2e0d('0x24')])_0x3879e0[_0x2e0d('0xd')]();}}function ss(_0x21bc31,_0xe3a488,_0x4e648a){let _0x2bf598=0x0;for(const _0x1f13dd of _0x21bc31)switch(_0x1f13dd){case'insert':_0xe3a488['add'](_0x4e648a[_0x2e0d('0x20')](_0x2bf598),_0x2bf598),_0x2bf598++;break;case _0x2e0d('0x16'):_0xe3a488[_0x2e0d('0xc')](_0x2bf598);break;case _0x2e0d('0x35'):_0x2bf598++;}}
23
+ const _0x5d63=['commentUpdated','delegate','resolveCommentThread','locale','editorDestroyed','_handleRemoveCommentModel','listenTo','resolvedAt','updateComment','add','delete','viewUid','count','_shouldCollapse','_config','render','commentViews','stopListening','change:isEditMode','refreshVisibleViews','set','maxThreadTotalWeight','ck-thread__comments','resolvedBy','_updateHasDirtyComment','element','editorReady','weight','_handleNewCommentModel','_handleInfoComment','hasDirtyComment','change:hasDirtyComment','resolvedCommentView','remove','from','visibleViews','equal','length','resolved','_collapsedCommentsView','focus','destroy','collapse','maxCommentsWhenCollapsed','_rearrangeExpand','CommentView','change:isResolved','setTemplate','isEditMode','some','_rearrangeCollapse','insert','createCollection','formatDateTime','authoredAt','comments','_model'];(function(_0x4dfcac,_0x5d6300){const _0x3b9975=function(_0x1a6006){while(--_0x1a6006){_0x4dfcac['push'](_0x4dfcac['shift']());}};_0x3b9975(++_0x5d6300);}(_0x5d63,0x1ab));const _0x3b99=function(_0x4dfcac,_0x5d6300){_0x4dfcac=_0x4dfcac-0x0;let _0x3b9975=_0x5d63[_0x4dfcac];return _0x3b9975;};import{View as _0xa37451}from'ckeditor5/src/ui';import{diff as _0x5cbd42,Collection as _0x3c3c36}from'ckeditor5/src/utils';import{getTranslation as _0x37979d}from'../../../utils/common-translations';import _0x1fc868 from'./collapsedcommentsview';export default class wt extends _0xa37451{constructor(_0x194d3f,_0x56af36,_0x20d657){super(_0x194d3f),this[_0x3b99('0x31')]('hasDirtyComment',!0x1),this[_0x3b99('0x31')](_0x3b99('0x9'),_0x56af36[_0x3b99('0x1b')][_0x3b99('0x9')]),this[_0x3b99('0x31')]('isActive',!0x1),this[_0x3b99('0x1c')]=_0x56af36,this['_config']=_0x20d657,this[_0x3b99('0x2d')]=this[_0x3b99('0x18')](),this[_0x3b99('0x7')]=this[_0x3b99('0x18')](),this[_0x3b99('0x4')]=null,this[_0x3b99('0xb')]=new _0x1fc868(_0x194d3f),this[_0x3b99('0xb')]['bind'](_0x3b99('0x29'))['to'](this,_0x3b99('0x9'),_0x4fff01=>_0x4fff01-this['_config'][_0x3b99('0xf')]);for(const _0x2d169d of _0x56af36[_0x3b99('0x1b')])this[_0x3b99('0x0')](_0x2d169d);this[_0x3b99('0x1')](),this['listenTo'](_0x56af36[_0x3b99('0x1b')],_0x3b99('0x26'),(_0x547e84,_0x40d8e5)=>{const _0x2be2f9=this['_calculatePosition'](_0x40d8e5);this[_0x3b99('0x9')]++,this[_0x3b99('0x0')](_0x40d8e5,_0x2be2f9),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36[_0x3b99('0x1b')],'remove',(_0x139020,_0x2aa7ff)=>{this[_0x3b99('0x9')]--,this[_0x3b99('0x22')](_0x2aa7ff),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x1d'),()=>this[_0x3b99('0x30')]()),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x12'),()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this[_0x3b99('0x30')]()),this['on'](_0x3b99('0x3'),()=>this['refreshVisibleViews']()),this[_0x3b99('0x13')]({'tag':'ul','attributes':{'class':[_0x3b99('0x33')]},'children':this[_0x3b99('0x7')]});}get[_0x3b99('0x2a')](){return this[_0x3b99('0x1c')][_0x3b99('0x38')]>this[_0x3b99('0x2b')][_0x3b99('0x32')]&&!this['isActive']&&!this[_0x3b99('0x2')];}[_0x3b99('0x2c')](){super[_0x3b99('0x2c')](),this[_0x3b99('0x30')]();}['focus'](){this[_0x3b99('0x36')][_0x3b99('0xc')]();}['destroy'](){this[_0x3b99('0xb')][_0x3b99('0xd')]();for(const _0x1e19f3 of this[_0x3b99('0x2d')])_0x1e19f3['destroy']();super['destroy']();}[_0x3b99('0x30')](){this[_0x3b99('0x2a')]?this['_rearrangeCollapse']():this[_0x3b99('0x10')]();}['_handleNewCommentModel'](_0x12ad72,_0x34235c){const _0x4dfd8f=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this[_0x3b99('0x20')],_0x12ad72,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x3b99('0x2b')]['editorConfig']});_0x4dfd8f[_0x3b99('0x28')]=_0x12ad72['id'],_0x4dfd8f[_0x3b99('0x1e')]('removeComment')['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x25'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x1f'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x37'))['to'](this),_0x4dfd8f['delegate'](_0x3b99('0x21'))['to'](this),this[_0x3b99('0x23')](_0x4dfd8f,_0x3b99('0x2f'),()=>this[_0x3b99('0x35')]()),this[_0x3b99('0x2d')][_0x3b99('0x26')](_0x4dfd8f,_0x34235c);}['_calculatePosition'](_0x55fb9e){const _0x1a5938=this[_0x3b99('0x1c')]['_findOptimalIndex'](_0x55fb9e);return this[_0x3b99('0x4')]?this[_0x3b99('0x4')][_0x3b99('0x1a')]>_0x55fb9e['authoredAt']?_0x1a5938-0x1:_0x1a5938:_0x1a5938-0x1;}[_0x3b99('0x1')](){if(this[_0x3b99('0x1c')][_0x3b99('0x34')]&&this[_0x3b99('0x1c')][_0x3b99('0x24')]){const _0x36f743={'id':_0x3b99('0xa'),'author':this[_0x3b99('0x1c')][_0x3b99('0x34')],'authoredAt':this[_0x3b99('0x1c')][_0x3b99('0x24')],'content':_0x37979d(this[_0x3b99('0x20')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this['locale'],_0x36f743,{'maxCommentCharsWhenCollapsed':this[_0x3b99('0x2b')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3b99('0x2b')][_0x3b99('0x19')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x3b99('0x2d')][_0x3b99('0x26')](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x36f743));}else this[_0x3b99('0x4')]&&(this['commentViews'][_0x3b99('0x5')](this['resolvedCommentView']),this[_0x3b99('0x4')]['destroy'](),this[_0x3b99('0x4')]=null);this[_0x3b99('0x30')]();}[_0x3b99('0x22')](_0x5d0a0e){const _0x475105=this['commentViews']['remove'](_0x5d0a0e['id']);this[_0x3b99('0x2e')](_0x475105),_0x475105[_0x3b99('0x14')]&&this['_updateHasDirtyComment'](),_0x475105['destroy']();}['_updateHasDirtyComment'](){this[_0x3b99('0x2')]=Array[_0x3b99('0x6')](this[_0x3b99('0x2d')])[_0x3b99('0x15')](_0x5442c9=>_0x5442c9[_0x3b99('0x14')]);}[_0x3b99('0x16')](){const _0xa4de6c=function(_0x44f1f6){const _0x476b6a=new _0x3c3c36();for(const _0x4b94aa of _0x44f1f6)_0x476b6a['add'](_0x4b94aa);return _0x476b6a;}(this['commentViews']),_0x5a4bed=this[_0x3b99('0xb')][_0x3b99('0x29')];for(let _0x9d3f8d=0x1;_0x9d3f8d<=_0x5a4bed;_0x9d3f8d++)_0xa4de6c[_0x3b99('0x5')](0x1);for(const _0x117ae7 of _0xa4de6c)_0x117ae7[_0x3b99('0xe')]();_0x5a4bed>0x0&&_0xa4de6c['add'](this['_collapsedCommentsView'],0x1),ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](_0xa4de6c)),this[_0x3b99('0x7')],_0xa4de6c);}[_0x3b99('0x10')](){ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](this['commentViews'])),this[_0x3b99('0x7')],this['commentViews']);for(const _0x4623e7 of this['visibleViews'])_0x4623e7['expand']();}}function ss(_0x27b620,_0x1768ef,_0x4049b3){let _0xbc5a7b=0x0;for(const _0x814dba of _0x27b620)switch(_0x814dba){case _0x3b99('0x17'):_0x1768ef[_0x3b99('0x26')](_0x4049b3['get'](_0xbc5a7b),_0xbc5a7b),_0xbc5a7b++;break;case _0x3b99('0x27'):_0x1768ef[_0x3b99('0x5')](_0xbc5a7b);break;case _0x3b99('0x8'):_0xbc5a7b++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2256=['ck-context--quotes','.ck-context','...','execute','offsetWidth','_attachContextActions','.ck-context__value','add','hasContext','remove','ck-context-wrapper','setTemplate','ck-context','span','scrollWidth','div','mouseleave','mouseenter','overlay','_model','_createReopenButton','substring','render','Reopen','locale','label','querySelector','contextValue','bind','context','icon','ck-annotation__actions','bindTemplate','classList','tooltip','isReadOnly','ck-context__value','value','reopenButtonView','_trimContextValue'];(function(_0x4dc6f5,_0x225684){const _0x4faac5=function(_0x2bd056){while(--_0x2bd056){_0x4dc6f5['push'](_0x4dc6f5['shift']());}};_0x4faac5(++_0x225684);}(_0x2256,0x1ab));const _0x4faa=function(_0x4dc6f5,_0x225684){_0x4dc6f5=_0x4dc6f5-0x0;let _0x4faac5=_0x2256[_0x4dc6f5];return _0x4faac5;};import{View as _0x5bfb09,ButtonView as _0x2020bb}from'ckeditor5/src/ui';import{getTranslation as _0x4ecb1d}from'../../../utils/common-translations';import _0x288207 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x5bfb09{constructor(_0x33e83c,_0x3b57e2){super(_0x33e83c);const _0x19f06e=this[_0x4faa('0x5')];this[_0x4faa('0x20')]=_0x3b57e2,this['reopenButtonView']=this[_0x4faa('0x21')](),this[_0x4faa('0x1')]('hasContext')['to'](this[_0x4faa('0x20')],_0x4faa('0x2'),_0x4f61e7=>!!_0x4f61e7),this['bind'](_0x4faa('0x0'))['to'](this[_0x4faa('0x20')],_0x4faa('0x2'),_0x34dd38=>_0x34dd38&&_0x34dd38[_0x4faa('0xa')]?this['_trimContextValue'](_0x34dd38[_0x4faa('0xa')]):_0x4ecb1d(this[_0x4faa('0x25')],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x4faa('0x18')]({'tag':_0x4faa('0x1c'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':[_0x4faa('0x17')]},'children':[{'tag':_0x4faa('0x1c'),'attributes':{'class':[_0x4faa('0x19'),_0x19f06e['if'](_0x4faa('0x15'),_0x4faa('0xd'))]},'children':[{'tag':_0x4faa('0x1a'),'attributes':{'class':[_0x4faa('0x9')]},'children':[{'text':_0x19f06e['to'](_0x4faa('0x0'))}]}]}]},{'tag':_0x4faa('0x1c'),'attributes':{'class':[_0x4faa('0x4')]},'children':[this[_0x4faa('0xb')]]}]});}[_0x4faa('0x23')](){super[_0x4faa('0x23')](),this[_0x4faa('0x12')]();}[_0x4faa('0x21')](){const _0x30402d=new _0x2020bb(this['locale']);return _0x30402d[_0x4faa('0x26')]=_0x4ecb1d(this[_0x4faa('0x25')],_0x4faa('0x24')),_0x30402d[_0x4faa('0x7')]=_0x4ecb1d(this['locale'],_0x4faa('0x24')),_0x30402d[_0x4faa('0x3')]=_0x288207,_0x30402d['bind']('isEnabled')['to'](this[_0x4faa('0x20')],_0x4faa('0x8'),_0x58792e=>!_0x58792e),_0x30402d[_0x4faa('0x1')]('isVisible')['to'](this[_0x4faa('0x20')],'isResolvable'),_0x30402d['on'](_0x4faa('0x10'),()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x30402d;}[_0x4faa('0xc')](_0x42f185){if(_0x42f185['length']<0x96)return _0x42f185;const _0x53aacb=_0x42f185['lastIndexOf']('\x20',0x93);return _0x42f185[_0x4faa('0x22')](0x0,_0x53aacb>-0x1?_0x53aacb:0x93)+_0x4faa('0xf');}['_attachContextActions'](){const _0x44d27d=this['element'][_0x4faa('0x27')](_0x4faa('0xe')),_0xe44d34=_0x44d27d[_0x4faa('0x27')](_0x4faa('0x13'));this['listenTo'](_0x44d27d,_0x4faa('0x1e'),()=>{_0xe44d34[_0x4faa('0x11')]<_0xe44d34[_0x4faa('0x1b')]&&_0x44d27d[_0x4faa('0x6')][_0x4faa('0x14')](_0x4faa('0x1f'));}),this['listenTo'](_0x44d27d,_0x4faa('0x1d'),()=>{_0x44d27d[_0x4faa('0x6')][_0x4faa('0x16')](_0x4faa('0x1f'));});}}
23
+ const _0x3d3a=['isVisible','reopenButtonView','bindTemplate','setTemplate','render','overlay','mouseenter','locale','querySelector','ck-context--quotes','context','isEnabled','length','div','scrollWidth','...','_createReopenButton','_trimContextValue','contextValue','classList','listenTo','reopenCommentThread','add','element','Reopen','isReadOnly','lastIndexOf','hasContext','ck-annotation__actions','value','_attachContextActions','bind','.ck-context','ck-context-wrapper','tooltip','fire','execute','label','span','_model','substring','offsetWidth'];(function(_0x607b9b,_0x3d3a23){const _0xa14041=function(_0x254655){while(--_0x254655){_0x607b9b['push'](_0x607b9b['shift']());}};_0xa14041(++_0x3d3a23);}(_0x3d3a,0x7d));const _0xa140=function(_0x607b9b,_0x3d3a23){_0x607b9b=_0x607b9b-0x0;let _0xa14041=_0x3d3a[_0x607b9b];return _0xa14041;};import{View as _0x569b7e,ButtonView as _0x9773d6}from'ckeditor5/src/ui';import{getTranslation as _0x2f6f8f}from'../../../utils/common-translations';import _0x1b8ee5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x569b7e{constructor(_0x49f0b5,_0x5da88f){super(_0x49f0b5);const _0xfb188=this[_0xa140('0x3')];this['_model']=_0x5da88f,this['reopenButtonView']=this[_0xa140('0x11')](),this['bind'](_0xa140('0x1c'))['to'](this[_0xa140('0x28')],_0xa140('0xb'),_0x38e191=>!!_0x38e191),this['bind']('contextValue')['to'](this['_model'],_0xa140('0xb'),_0xebe11=>_0xebe11&&_0xebe11[_0xa140('0x1e')]?this[_0xa140('0x12')](_0xebe11[_0xa140('0x1e')]):_0x2f6f8f(this[_0xa140('0x8')],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0xa140('0x4')]({'tag':_0xa140('0xe'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x22')]},'children':[{'tag':'div','attributes':{'class':['ck-context',_0xfb188['if']('hasContext',_0xa140('0xa'))]},'children':[{'tag':_0xa140('0x27'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0xfb188['to'](_0xa140('0x13'))}]}]}]},{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x1d')]},'children':[this[_0xa140('0x2')]]}]});}[_0xa140('0x5')](){super['render'](),this[_0xa140('0x1f')]();}['_createReopenButton'](){const _0x5f3451=new _0x9773d6(this[_0xa140('0x8')]);return _0x5f3451[_0xa140('0x26')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451[_0xa140('0x23')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451['icon']=_0x1b8ee5,_0x5f3451[_0xa140('0x20')](_0xa140('0xc'))['to'](this[_0xa140('0x28')],_0xa140('0x1a'),_0x4f125e=>!_0x4f125e),_0x5f3451[_0xa140('0x20')](_0xa140('0x1'))['to'](this[_0xa140('0x28')],'isResolvable'),_0x5f3451['on'](_0xa140('0x25'),()=>{this[_0xa140('0x24')](_0xa140('0x16'),this[_0xa140('0x28')]['id']);}),_0x5f3451;}[_0xa140('0x12')](_0x294ac3){if(_0x294ac3[_0xa140('0xd')]<0x96)return _0x294ac3;const _0x20b63a=_0x294ac3[_0xa140('0x1b')]('\x20',0x93);return _0x294ac3[_0xa140('0x29')](0x0,_0x20b63a>-0x1?_0x20b63a:0x93)+_0xa140('0x10');}['_attachContextActions'](){const _0x198199=this[_0xa140('0x18')][_0xa140('0x9')](_0xa140('0x21')),_0x527be1=_0x198199['querySelector']('.ck-context__value');this['listenTo'](_0x198199,_0xa140('0x7'),()=>{_0x527be1[_0xa140('0x0')]<_0x527be1[_0xa140('0xf')]&&_0x198199[_0xa140('0x14')][_0xa140('0x17')]('overlay');}),this[_0xa140('0x15')](_0x198199,'mouseleave',()=>{_0x198199[_0xa140('0x14')]['remove'](_0xa140('0x6'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x274a=['commentInputView','ck-thread__user','bindTemplate','userView','editor','editorDestroyed','change:showInput','setTemplate','isFocused','set','value','editorReady','destroy','bind','extendTemplate','then','ck-comment__input-container--active','showInput','showButtons','div'];(function(_0x43ad63,_0x274a98){var _0x2aed1f=function(_0x1c21d8){while(--_0x1c21d8){_0x43ad63['push'](_0x43ad63['shift']());}};_0x2aed1f(++_0x274a98);}(_0x274a,0x180));var _0x2aed=function(_0x43ad63,_0x274a98){_0x43ad63=_0x43ad63-0x0;var _0x2aed1f=_0x274a[_0x43ad63];return _0x2aed1f;};import{View as _0x247b85}from'ckeditor5/src/ui';import _0x573971 from'./commentinputview';import{UserView as _0x52ae5a}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x247b85{constructor(_0x152c1f,_0xf170f8,_0xb43f69){super(_0x152c1f),this[_0x2aed('0x10')]=new _0x573971(_0x152c1f,_0xb43f69),this['commentInputView'][_0x2aed('0x9')](_0x2aed('0xe'))['to'](this[_0x2aed('0x10')]['focusTracker'],_0x2aed('0x4'),this[_0x2aed('0x10')],_0x2aed('0x6'),(_0x4801a9,_0x96b8fb)=>_0x4801a9||!!_0x96b8fb),this[_0x2aed('0x5')](_0x2aed('0xd'),!0x1),this['on'](_0x2aed('0x2'),()=>{this[_0x2aed('0xd')]&&!this[_0x2aed('0x10')][_0x2aed('0x0')]&&this[_0x2aed('0x10')]['createEditor']();}),this['commentInputView']['delegate'](_0x2aed('0x7'))['to'](this),this['commentInputView']['delegate'](_0x2aed('0x1'))['to'](this),this[_0x2aed('0x13')]=new _0x52ae5a(_0x152c1f,_0xf170f8),this[_0x2aed('0x13')][_0x2aed('0xa')]({'attributes':{'class':_0x2aed('0x11')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this[_0x2aed('0x3')]({'tag':_0x2aed('0xf'),'attributes':{'class':['ck-comment__input-container',this[_0x2aed('0x12')]['if'](_0x2aed('0xd'),_0x2aed('0xc'))]},'children':[this['userView'],this[_0x2aed('0x10')]]});}['destroy'](){return this['commentInputView']['destroy']()[_0x2aed('0xb')](()=>super[_0x2aed('0x8')]());}}
23
+ var _0xbec9=['div','editorReady','then','showButtons','bind','delegate','bindTemplate','value','userView','editorDestroyed','setTemplate','destroy','ck-thread__user','extendTemplate','ck-comment__input-container','focusTracker','showInput','commentInputView'];(function(_0xf638d,_0xbec9f2){var _0x30fbca=function(_0x224190){while(--_0x224190){_0xf638d['push'](_0xf638d['shift']());}};_0x30fbca(++_0xbec9f2);}(_0xbec9,0x68));var _0x30fb=function(_0xf638d,_0xbec9f2){_0xf638d=_0xf638d-0x0;var _0x30fbca=_0xbec9[_0xf638d];return _0x30fbca;};import{View as _0x40f3d4}from'ckeditor5/src/ui';import _0xb458cf from'./commentinputview';import{UserView as _0x12880b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x40f3d4{constructor(_0x3057e2,_0xda1be2,_0x40941c){super(_0x3057e2),this[_0x30fb('0x3')]=new _0xb458cf(_0x3057e2,_0x40941c),this[_0x30fb('0x3')][_0x30fb('0x8')](_0x30fb('0x7'))['to'](this[_0x30fb('0x3')][_0x30fb('0x1')],'isFocused',this['commentInputView'],_0x30fb('0xb'),(_0xd42faa,_0x510999)=>_0xd42faa||!!_0x510999),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this[_0x30fb('0x2')]&&!this[_0x30fb('0x3')]['editor']&&this[_0x30fb('0x3')]['createEditor']();}),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0x5'))['to'](this),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0xd'))['to'](this),this[_0x30fb('0xc')]=new _0x12880b(_0x3057e2,_0xda1be2),this[_0x30fb('0xc')][_0x30fb('0x11')]({'attributes':{'class':_0x30fb('0x10')}}),this[_0x30fb('0x3')][_0x30fb('0x11')]({'attributes':{'class':'ck-thread__input'}}),this[_0x30fb('0xe')]({'tag':_0x30fb('0x4'),'attributes':{'class':[_0x30fb('0x0'),this[_0x30fb('0xa')]['if']('showInput','ck-comment__input-container--active')]},'children':[this[_0x30fb('0xc')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x30fb('0xf')]()[_0x30fb('0x6')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2215=['_cancelAllConfirms','_boundFirstCommentView','execute','_model','ck-reset_all-excluded','setTemplate','commentViews','bind','Resolve','.ck-thread__container','showConfirm','addMany','isReadOnly','div','length','commentsListView','isResolvable','ck-thread--active','getTemplate','removeButton','add','resolveCommentThread','label','high','bindTemplate','_bindFirstCommentView','icon','commentThreadHeaderView','then','stop','ck-comment--resolve','render','change:isActive','fire','_createResolveButton','containerElement','set','actionBar','element','isConfirm','ck-thread--remove-confirmation','change:isReadOnly','check','listenTo','ck-thread__container','cancelConfirm','isResolved','locale','tooltip','actionIndicator','isActive','extendTemplate','resolveButton','commentThreadChildren','ck-thread','isVisible','querySelector','commentThreadInputView','change:isResolved','unbind','remove'];(function(_0x32b1cc,_0x2215ae){const _0x494c28=function(_0x4450aa){while(--_0x4450aa){_0x32b1cc['push'](_0x32b1cc['shift']());}};_0x494c28(++_0x2215ae);}(_0x2215,0x139));const _0x494c=function(_0x32b1cc,_0x2215ae){_0x32b1cc=_0x32b1cc-0x0;let _0x494c28=_0x2215[_0x32b1cc];return _0x494c28;};import{ConfirmMixin as _0x25169b}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x5250b2}from'ckeditor5/src/ui';import{icons as _0x21c6e9}from'ckeditor5/src/core';import _0x35f071 from'./basecommentthreadview';import{getTranslation as _0x18ee0b}from'../../../utils/common-translations';export default class lt extends _0x25169b(_0x35f071){constructor(_0x1018f5,_0x53e6a7,_0x258f27,_0x638867){super(_0x1018f5,_0x53e6a7,_0x258f27,_0x638867),this['commentThreadChildren']=this['createCollection'](),this[_0x494c('0x2d')][_0x494c('0x3')]([this[_0x494c('0x7')],this[_0x494c('0x31')]]),this[_0x494c('0x38')][_0x494c('0x26')]&&this[_0x494c('0x2d')][_0x494c('0xc')](this['commentThreadHeaderView'],0x0),this[_0x494c('0x38')]['on'](_0x494c('0x32'),(_0xd144dd,_0x40fd5b,_0x224989)=>{_0x224989?this[_0x494c('0x2d')][_0x494c('0xc')](this[_0x494c('0x13')],0x0):this[_0x494c('0x2d')]['remove'](this[_0x494c('0x13')]);}),this[_0x494c('0x1c')](_0x494c('0x29'),null),this[_0x494c('0x1b')]=null,this['_boundFirstCommentView']=null,this[_0x494c('0x27')]=_0x1018f5,this[_0x494c('0x2c')]=this[_0x494c('0x1a')](),this[_0x494c('0x3a')](this['getTemplate']()),this['on'](_0x494c('0x18'),(_0x50fe60,_0x5bebbb,_0x2ac206)=>{_0x2ac206||this[_0x494c('0x35')]();}),this[_0x494c('0x23')](this[_0x494c('0x38')],_0x494c('0x21'),(_0x1f6e4c,_0x3d1620,_0x29d165)=>{_0x29d165&&this[_0x494c('0x35')]();}),this[_0x494c('0x6')]>0x0&&this[_0x494c('0x11')](),this[_0x494c('0x23')](this[_0x494c('0x7')][_0x494c('0x3b')],'add',()=>{this['_bindFirstCommentView']();});}[_0x494c('0xa')](){const _0x59c2dd=this[_0x494c('0x10')];return{'tag':_0x494c('0x5'),'attributes':{'class':[_0x494c('0x2e'),_0x494c('0x39'),_0x59c2dd['if'](_0x494c('0x2a'),_0x494c('0x9')),_0x59c2dd['if'](_0x494c('0x1f'),_0x494c('0x20')),_0x59c2dd['to'](_0x494c('0x29'),_0x55b13d=>_0x55b13d?'ck-thread--'+_0x55b13d:'')],'data-thread-id':this[_0x494c('0x38')]['id'],'tabindex':-0x1},'children':[{'tag':_0x494c('0x5'),'attributes':{'class':_0x494c('0x24')},'children':this['commentThreadChildren']}]};}['render'](){super[_0x494c('0x17')](),this[_0x494c('0x1b')]=this[_0x494c('0x1e')][_0x494c('0x30')](_0x494c('0x1'));}[_0x494c('0x35')](){this['cancelConfirm']();for(const _0x3201c4 of this[_0x494c('0x7')][_0x494c('0x3b')])_0x3201c4[_0x494c('0x25')]();}[_0x494c('0x11')](){const {locale:_0xfc086}=this,_0x2c1eb0=this[_0x494c('0x7')][_0x494c('0x3b')]['get'](0x0);_0x2c1eb0===this[_0x494c('0x36')]||_0x2c1eb0['isSystemComment']||(this['_boundFirstCommentView']=_0x2c1eb0,this[_0x494c('0x33')]('actionIndicator'),this[_0x494c('0x3c')](_0x494c('0x29'))['to'](_0x2c1eb0,_0x494c('0x29'),_0x33b8d7=>'remove'===_0x33b8d7?_0x494c('0x34'):null),_0x2c1eb0['placeholder']=_0x18ee0b(_0xfc086,'Write\x20a\x20comment...'),_0x2c1eb0[_0x494c('0xb')]['on'](_0x494c('0x37'),_0x1f3ea9=>{_0x1f3ea9[_0x494c('0x15')](),this[_0x494c('0x2')](_0x18ee0b(_0xfc086,'Delete\x20comment\x20thread?'),this[_0x494c('0x1b')])[_0x494c('0x14')](()=>{this[_0x494c('0x19')]('removeCommentThread');});},{'priority':_0x494c('0xf')}),_0x2c1eb0[_0x494c('0x1d')][_0x494c('0xc')](this[_0x494c('0x2c')],0x0));}[_0x494c('0x1a')](){const _0x1e2ffb=new _0x5250b2(this[_0x494c('0x27')]);return _0x1e2ffb[_0x494c('0xe')]=_0x18ee0b(this[_0x494c('0x27')],_0x494c('0x0')),_0x1e2ffb[_0x494c('0x28')]=_0x18ee0b(this['locale'],'Resolve'),_0x1e2ffb[_0x494c('0x12')]=_0x21c6e9[_0x494c('0x22')],_0x1e2ffb[_0x494c('0x2b')]({'attributes':{'class':_0x494c('0x16')}}),_0x1e2ffb[_0x494c('0x3c')]('isEnabled')['to'](this['_model'],_0x494c('0x4'),_0x53807f=>!_0x53807f),_0x1e2ffb[_0x494c('0x3c')](_0x494c('0x2f'))['to'](this[_0x494c('0x38')],_0x494c('0x8'),this[_0x494c('0x38')],_0x494c('0x26'),(_0x2a36de,_0x1d77d2)=>_0x2a36de&&!_0x1d77d2),_0x1e2ffb['on'](_0x494c('0x37'),()=>{this['fire'](_0x494c('0xd'),this[_0x494c('0x38')]['id']);}),_0x1e2ffb;}}
23
+ const _0x3e11=['extendTemplate','element','commentViews','then','fire','execute','add','ck-thread__container','isSystemComment','showConfirm','commentsListView','actionBar','render','bind','removeButton','div','isResolved','tooltip','addMany','.ck-thread__container','resolveButton','cancelConfirm','createCollection','remove','isActive','ck-thread--active','stop','locale','check','getTemplate','listenTo','commentThreadInputView','_cancelAllConfirms','commentThreadChildren','get','querySelector','ck-comment--resolve','isReadOnly','Delete\x20comment\x20thread?','_model','change:isResolved','ck-thread--','isConfirm','containerElement','_boundFirstCommentView','bindTemplate','set','commentThreadHeaderView','change:isActive','setTemplate','ck-reset_all-excluded','removeCommentThread','_createResolveButton','Resolve','high','actionIndicator','resolveCommentThread','unbind','change:isReadOnly','_bindFirstCommentView','isResolvable'];(function(_0x116a89,_0x3e1172){const _0x40a031=function(_0x1da24f){while(--_0x1da24f){_0x116a89['push'](_0x116a89['shift']());}};_0x40a031(++_0x3e1172);}(_0x3e11,0xad));const _0x40a0=function(_0x116a89,_0x3e1172){_0x116a89=_0x116a89-0x0;let _0x40a031=_0x3e11[_0x116a89];return _0x40a031;};import{ConfirmMixin as _0x1e808d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x74f749}from'ckeditor5/src/ui';import{icons as _0x30c860}from'ckeditor5/src/core';import _0x51a2d6 from'./basecommentthreadview';import{getTranslation as _0x32f0e1}from'../../../utils/common-translations';export default class lt extends _0x1e808d(_0x51a2d6){constructor(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6){super(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6),this[_0x40a0('0x2b')]=this[_0x40a0('0x20')](),this[_0x40a0('0x2b')][_0x40a0('0x1c')]([this[_0x40a0('0x14')],this[_0x40a0('0x29')]]),this[_0x40a0('0x31')][_0x40a0('0x1a')]&&this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0),this[_0x40a0('0x31')]['on'](_0x40a0('0x32'),(_0x34d581,_0x81fea3,_0x4bf8af)=>{_0x4bf8af?this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0):this['commentThreadChildren'][_0x40a0('0x21')](this[_0x40a0('0x39')]);}),this[_0x40a0('0x38')](_0x40a0('0x4'),null),this[_0x40a0('0x35')]=null,this[_0x40a0('0x36')]=null,this[_0x40a0('0x25')]=_0x8b37c5,this['resolveButton']=this[_0x40a0('0x1')](),this[_0x40a0('0x3b')](this[_0x40a0('0x27')]()),this['on'](_0x40a0('0x3a'),(_0x10c849,_0x38cb18,_0x40ec26)=>{_0x40ec26||this['_cancelAllConfirms']();}),this[_0x40a0('0x28')](this[_0x40a0('0x31')],_0x40a0('0x7'),(_0x3c5a81,_0x3d373f,_0x2266c2)=>{_0x2266c2&&this['_cancelAllConfirms']();}),this['length']>0x0&&this[_0x40a0('0x8')](),this[_0x40a0('0x28')](this[_0x40a0('0x14')][_0x40a0('0xc')],_0x40a0('0x10'),()=>{this[_0x40a0('0x8')]();});}['getTemplate'](){const _0x3af9dc=this[_0x40a0('0x37')];return{'tag':_0x40a0('0x19'),'attributes':{'class':['ck-thread',_0x40a0('0x3c'),_0x3af9dc['if'](_0x40a0('0x22'),_0x40a0('0x23')),_0x3af9dc['if'](_0x40a0('0x34'),'ck-thread--remove-confirmation'),_0x3af9dc['to'](_0x40a0('0x4'),_0x5b8586=>_0x5b8586?_0x40a0('0x33')+_0x5b8586:'')],'data-thread-id':this[_0x40a0('0x31')]['id'],'tabindex':-0x1},'children':[{'tag':_0x40a0('0x19'),'attributes':{'class':_0x40a0('0x11')},'children':this[_0x40a0('0x2b')]}]};}[_0x40a0('0x16')](){super[_0x40a0('0x16')](),this['containerElement']=this[_0x40a0('0xb')][_0x40a0('0x2d')](_0x40a0('0x1d'));}[_0x40a0('0x2a')](){this[_0x40a0('0x1f')]();for(const _0x1fe7c1 of this[_0x40a0('0x14')]['commentViews'])_0x1fe7c1['cancelConfirm']();}[_0x40a0('0x8')](){const {locale:_0x1b0da5}=this,_0x5b56ae=this['commentsListView']['commentViews'][_0x40a0('0x2c')](0x0);_0x5b56ae===this[_0x40a0('0x36')]||_0x5b56ae[_0x40a0('0x12')]||(this[_0x40a0('0x36')]=_0x5b56ae,this[_0x40a0('0x6')](_0x40a0('0x4')),this[_0x40a0('0x17')](_0x40a0('0x4'))['to'](_0x5b56ae,_0x40a0('0x4'),_0x2a5ae4=>'remove'===_0x2a5ae4?_0x40a0('0x21'):null),_0x5b56ae['placeholder']=_0x32f0e1(_0x1b0da5,'Write\x20a\x20comment...'),_0x5b56ae[_0x40a0('0x18')]['on'](_0x40a0('0xf'),_0x45a76f=>{_0x45a76f[_0x40a0('0x24')](),this[_0x40a0('0x13')](_0x32f0e1(_0x1b0da5,_0x40a0('0x30')),this[_0x40a0('0x35')])[_0x40a0('0xd')](()=>{this['fire'](_0x40a0('0x0'));});},{'priority':_0x40a0('0x3')}),_0x5b56ae[_0x40a0('0x15')][_0x40a0('0x10')](this[_0x40a0('0x1e')],0x0));}[_0x40a0('0x1')](){const _0x3f8a2b=new _0x74f749(this[_0x40a0('0x25')]);return _0x3f8a2b['label']=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b[_0x40a0('0x1b')]=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b['icon']=_0x30c860[_0x40a0('0x26')],_0x3f8a2b[_0x40a0('0xa')]({'attributes':{'class':_0x40a0('0x2e')}}),_0x3f8a2b[_0x40a0('0x17')]('isEnabled')['to'](this[_0x40a0('0x31')],_0x40a0('0x2f'),_0x442bd9=>!_0x442bd9),_0x3f8a2b[_0x40a0('0x17')]('isVisible')['to'](this[_0x40a0('0x31')],_0x40a0('0x9'),this['_model'],_0x40a0('0x1a'),(_0x4949d0,_0x23063a)=>_0x4949d0&&!_0x23063a),_0x3f8a2b['on']('execute',()=>{this[_0x40a0('0xe')](_0x40a0('0x5'),this[_0x40a0('0x31')]['id']);}),_0x3f8a2b;}}