@ckeditor/ckeditor5-comments 37.1.0 → 38.0.0-rc.1

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 (156) hide show
  1. package/build/comments.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/bs.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de-ch.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es-co.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fa.js +1 -1
  18. package/build/translations/fi.js +1 -1
  19. package/build/translations/fr.js +1 -1
  20. package/build/translations/gl.js +1 -1
  21. package/build/translations/he.js +1 -1
  22. package/build/translations/hi.js +1 -1
  23. package/build/translations/hr.js +1 -1
  24. package/build/translations/hu.js +1 -1
  25. package/build/translations/id.js +1 -1
  26. package/build/translations/it.js +1 -1
  27. package/build/translations/ja.js +1 -1
  28. package/build/translations/jv.js +1 -1
  29. package/build/translations/ko.js +1 -1
  30. package/build/translations/lt.js +1 -1
  31. package/build/translations/lv.js +1 -1
  32. package/build/translations/ms.js +1 -1
  33. package/build/translations/nl.js +1 -1
  34. package/build/translations/no.js +1 -1
  35. package/build/translations/pl.js +1 -1
  36. package/build/translations/pt-br.js +1 -1
  37. package/build/translations/pt.js +1 -1
  38. package/build/translations/ro.js +1 -1
  39. package/build/translations/ru.js +1 -1
  40. package/build/translations/sk.js +1 -1
  41. package/build/translations/sr-latn.js +1 -1
  42. package/build/translations/sr.js +1 -1
  43. package/build/translations/sv.js +1 -1
  44. package/build/translations/th.js +1 -1
  45. package/build/translations/tk.js +1 -1
  46. package/build/translations/tr.js +1 -1
  47. package/build/translations/tt.js +1 -1
  48. package/build/translations/ug.js +1 -1
  49. package/build/translations/uk.js +1 -1
  50. package/build/translations/ur.js +1 -1
  51. package/build/translations/vi.js +1 -1
  52. package/build/translations/zh-cn.js +1 -1
  53. package/build/translations/zh.js +1 -1
  54. package/ckeditor5-metadata.json +5 -0
  55. package/lang/contexts.json +2 -2
  56. package/lang/translations/af.po +5 -5
  57. package/lang/translations/ar.po +5 -5
  58. package/lang/translations/bg.po +5 -5
  59. package/lang/translations/bn.po +5 -5
  60. package/lang/translations/bs.po +4 -4
  61. package/lang/translations/ca.po +5 -5
  62. package/lang/translations/cs.po +5 -5
  63. package/lang/translations/da.po +5 -5
  64. package/lang/translations/de-ch.po +5 -5
  65. package/lang/translations/de.po +5 -5
  66. package/lang/translations/el.po +5 -5
  67. package/lang/translations/en-au.po +16 -16
  68. package/lang/translations/en.po +4 -4
  69. package/lang/translations/es-co.po +5 -5
  70. package/lang/translations/es.po +5 -5
  71. package/lang/translations/et.po +5 -5
  72. package/lang/translations/fa.po +5 -5
  73. package/lang/translations/fi.po +5 -5
  74. package/lang/translations/fr.po +5 -5
  75. package/lang/translations/gl.po +5 -5
  76. package/lang/translations/he.po +5 -5
  77. package/lang/translations/hi.po +5 -5
  78. package/lang/translations/hr.po +16 -16
  79. package/lang/translations/hu.po +5 -5
  80. package/lang/translations/id.po +5 -5
  81. package/lang/translations/it.po +5 -5
  82. package/lang/translations/ja.po +5 -5
  83. package/lang/translations/jv.po +5 -5
  84. package/lang/translations/ko.po +5 -5
  85. package/lang/translations/lt.po +5 -5
  86. package/lang/translations/lv.po +5 -5
  87. package/lang/translations/ms.po +5 -5
  88. package/lang/translations/nl.po +5 -5
  89. package/lang/translations/no.po +5 -5
  90. package/lang/translations/pl.po +5 -5
  91. package/lang/translations/pt-br.po +5 -5
  92. package/lang/translations/pt.po +5 -5
  93. package/lang/translations/ro.po +5 -5
  94. package/lang/translations/ru.po +5 -5
  95. package/lang/translations/sk.po +5 -5
  96. package/lang/translations/sr-latn.po +12 -12
  97. package/lang/translations/sr.po +12 -12
  98. package/lang/translations/sv.po +5 -5
  99. package/lang/translations/th.po +5 -5
  100. package/lang/translations/tk.po +5 -5
  101. package/lang/translations/tr.po +5 -5
  102. package/lang/translations/tt.po +4 -4
  103. package/lang/translations/ug.po +5 -5
  104. package/lang/translations/uk.po +5 -5
  105. package/lang/translations/ur.po +5 -5
  106. package/lang/translations/vi.po +5 -5
  107. package/lang/translations/zh-cn.po +5 -5
  108. package/lang/translations/zh.po +5 -5
  109. package/package.json +3 -3
  110. package/src/annotations/annotation.js +1 -1
  111. package/src/annotations/annotationcollection.js +1 -1
  112. package/src/annotations/annotations.js +1 -1
  113. package/src/annotations/annotationsuis.js +1 -1
  114. package/src/annotations/editorannotations.js +1 -1
  115. package/src/annotations/inlineannotations.js +1 -1
  116. package/src/annotations/narrowsidebar.js +1 -1
  117. package/src/annotations/sidebar.js +1 -1
  118. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  119. package/src/annotations/view/annotationview.js +1 -1
  120. package/src/annotations/view/sidebaritemview.js +1 -1
  121. package/src/annotations/view/sidebarview.js +1 -1
  122. package/src/annotations/widesidebar.js +1 -1
  123. package/src/augmentation.d.ts +2 -8
  124. package/src/comments/addcommentthreadcommand.js +1 -1
  125. package/src/comments/commentsarchive.js +1 -1
  126. package/src/comments/commentsarchiveui.js +1 -1
  127. package/src/comments/commentsediting.js +1 -1
  128. package/src/comments/commentsrepository.d.ts +16 -12
  129. package/src/comments/commentsrepository.js +1 -1
  130. package/src/comments/commentsui.js +1 -1
  131. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  132. package/src/comments/integrations/importword.js +1 -1
  133. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  134. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  135. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  136. package/src/comments/ui/commentthreadcontroller.js +1 -1
  137. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  138. package/src/comments/ui/view/basecommentview.js +1 -1
  139. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  140. package/src/comments/ui/view/commentcontentview.js +1 -1
  141. package/src/comments/ui/view/commentinputview.d.ts +6 -0
  142. package/src/comments/ui/view/commentinputview.js +1 -1
  143. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  144. package/src/comments/ui/view/commentslistview.js +1 -1
  145. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  146. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  147. package/src/comments/ui/view/commentthreadview.js +1 -1
  148. package/src/comments/ui/view/commentview.d.ts +2 -2
  149. package/src/comments/ui/view/commentview.js +1 -1
  150. package/src/comments.js +1 -1
  151. package/src/commentsonly.js +1 -1
  152. package/src/utils/common-translations.js +1 -1
  153. package/src/utils/createmutationobserver.js +1 -1
  154. package/theme/comment.css +12 -3
  155. package/theme/commentinput.css +8 -6
  156. package/theme/commentsarchive.css +10 -2
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1267=['placeholderElement','get','destroy','_updatePlaceholder','fire','plugins','create','config','getRoot','init','placeholder','focus','low','document','assign','getChild','childCount','model','editing','view','then','initPlugins','set','data','ready','name','change','initialData','end','setSelection'];(function(_0x2c9332,_0x1267ef){const _0x1e2d43=function(_0x28efe8){while(--_0x28efe8){_0x2c9332['push'](_0x2c9332['shift']());}};_0x1e2d43(++_0x1267ef);}(_0x1267,0x11f));const _0x1e2d=function(_0x2c9332,_0x1267ef){_0x2c9332=_0x2c9332-0x0;let _0x1e2d43=_0x1267[_0x2c9332];return _0x1e2d43;};import{Editor as _0x1d51ab,DataApiMixin as _0x5cdd3d}from'ckeditor5/src/core';import _0x2d1b7a from'./commenteditorui';import{ObservableMixin as _0x4378cc}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3dee8b,disablePlaceholder as _0x42a5d5}from'ckeditor5/src/engine';import{Clipboard as _0x2fc753}from'ckeditor5/src/clipboard';import{Enter as _0x1545eb,ShiftEnter as _0x53d5e8}from'ckeditor5/src/enter';import{SelectAll as _0x36e9fc}from'ckeditor5/src/select-all';import{Typing as _0x350b7d}from'ckeditor5/src/typing';import{Undo as _0x1b46cb}from'ckeditor5/src/undo';import{Paragraph as _0x12ed52}from'ckeditor5/src/paragraph';const Kt=[_0x2fc753,_0x1545eb,_0x53d5e8,_0x36e9fc,_0x350b7d,_0x1b46cb,_0x12ed52];export default class Mt extends _0x4378cc(_0x5cdd3d(_0x1d51ab)){constructor(_0x22fdb9={}){(_0x22fdb9=Object[_0x1e2d('0x1b')]({},_0x22fdb9))[_0x1e2d('0x12')]||(_0x22fdb9[_0x1e2d('0x12')]=Mt['defaultPlugins']),super(_0x22fdb9),this['ui']=new _0x2d1b7a(this),this[_0x1e2d('0x5')](_0x1e2d('0x17'),''),this[_0x1e2d('0x0')][_0x1e2d('0x1a')]['on'](_0x1e2d('0x9'),()=>this['_updatePlaceholder'](),{'priority':_0x1e2d('0x19')}),this['on']('change:placeholder',()=>this[_0x1e2d('0x10')]()),this['model']['document']['createRoot']();}[_0x1e2d('0x13')](){const _0x3784c8=this[_0x1e2d('0x14')][_0x1e2d('0xe')](_0x1e2d('0xa'))||'';return this[_0x1e2d('0x4')]()[_0x1e2d('0x3')](()=>this['ui']['init']())['then'](()=>this[_0x1e2d('0x6')][_0x1e2d('0x16')](_0x3784c8))[_0x1e2d('0x3')](()=>this[_0x1e2d('0x11')](_0x1e2d('0x7')));}[_0x1e2d('0xf')](){return super[_0x1e2d('0xf')]()[_0x1e2d('0x3')](()=>this['ui'][_0x1e2d('0xf')]());}['focus'](){this['model'][_0x1e2d('0x9')](_0x5453b5=>{const _0x531ba0=this[_0x1e2d('0x0')][_0x1e2d('0x1a')][_0x1e2d('0x15')](),_0x4defa0=_0x531ba0&&_0x531ba0[_0x1e2d('0x1c')](_0x531ba0[_0x1e2d('0x1d')]-0x1);_0x5453b5[_0x1e2d('0xc')](_0x4defa0,_0x1e2d('0xb')),this[_0x1e2d('0x1')][_0x1e2d('0x2')][_0x1e2d('0x18')]();});}['_updatePlaceholder'](){const _0x3d92fd=this[_0x1e2d('0x1')][_0x1e2d('0x2')],_0x2409c2=_0x3d92fd[_0x1e2d('0x1a')][_0x1e2d('0x15')](),_0xc8e1c3=_0x2409c2['getChild'](0x0);_0x2409c2[_0x1e2d('0x1d')]>0x1||!_0xc8e1c3||'p'!=_0xc8e1c3[_0x1e2d('0x8')]?this['placeholderElement']&&(_0x42a5d5(_0x3d92fd,this[_0x1e2d('0xd')]),this['placeholderElement']=void 0x0):(_0x3dee8b({'view':_0x3d92fd,'element':_0xc8e1c3,'text':this[_0x1e2d('0x17')],'keepOnFocus':!0x0}),this[_0x1e2d('0xd')]=_0xc8e1c3);}}Mt['defaultPlugins']=Kt;
23
+ const _0x5b40=['init','defaultPlugins','model','end','placeholderElement','createRoot','setSelection','focus','plugins','placeholder','document','_updatePlaceholder','destroy','fire','set','editing','view','getChild','get','change','getRoot','initPlugins','ready','change:placeholder','name','then','assign','initialData','childCount','low'];(function(_0x2a67c1,_0x5b40f7){const _0x143526=function(_0x2f7b1c){while(--_0x2f7b1c){_0x2a67c1['push'](_0x2a67c1['shift']());}};_0x143526(++_0x5b40f7);}(_0x5b40,0x6f));const _0x1435=function(_0x2a67c1,_0x5b40f7){_0x2a67c1=_0x2a67c1-0x0;let _0x143526=_0x5b40[_0x2a67c1];return _0x143526;};import{Editor as _0x4e4ee1,DataApiMixin as _0x56a19c}from'ckeditor5/src/core';import _0x49a1b4 from'./commenteditorui';import{ObservableMixin as _0x42e257}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3cb297,disablePlaceholder as _0x40690a}from'ckeditor5/src/engine';import{Clipboard as _0x454a72}from'ckeditor5/src/clipboard';import{Enter as _0x3c270c,ShiftEnter as _0x682797}from'ckeditor5/src/enter';import{SelectAll as _0x5445af}from'ckeditor5/src/select-all';import{Typing as _0x550fe4}from'ckeditor5/src/typing';import{Undo as _0xffd983}from'ckeditor5/src/undo';import{Paragraph as _0x3cd187}from'ckeditor5/src/paragraph';const Mt=[_0x454a72,_0x3c270c,_0x682797,_0x5445af,_0x550fe4,_0xffd983,_0x3cd187];export default class Nt extends _0x42e257(_0x56a19c(_0x4e4ee1)){constructor(_0x5acf5d={}){(_0x5acf5d=Object[_0x1435('0x5')]({},_0x5acf5d))[_0x1435('0x11')]||(_0x5acf5d[_0x1435('0x11')]=Nt[_0x1435('0xa')]),super(_0x5acf5d),this['ui']=new _0x49a1b4(this),this[_0x1435('0x17')]('placeholder',''),this[_0x1435('0xb')][_0x1435('0x13')]['on']('change',()=>this[_0x1435('0x14')](),{'priority':_0x1435('0x8')}),this['on'](_0x1435('0x2'),()=>this['_updatePlaceholder']()),this[_0x1435('0xb')]['document'][_0x1435('0xe')]();}['create'](){const _0x2c2eca=this['config'][_0x1435('0x1b')](_0x1435('0x6'))||'';return this[_0x1435('0x0')]()[_0x1435('0x4')](()=>this['ui'][_0x1435('0x9')]())[_0x1435('0x4')](()=>this['data'][_0x1435('0x9')](_0x2c2eca))[_0x1435('0x4')](()=>this[_0x1435('0x16')](_0x1435('0x1')));}[_0x1435('0x15')](){return super['destroy']()[_0x1435('0x4')](()=>this['ui'][_0x1435('0x15')]());}['focus'](){this['model'][_0x1435('0x1c')](_0x24f071=>{const _0x4ce7ab=this[_0x1435('0xb')][_0x1435('0x13')][_0x1435('0x1d')](),_0x47290e=_0x4ce7ab&&_0x4ce7ab[_0x1435('0x1a')](_0x4ce7ab[_0x1435('0x7')]-0x1);_0x24f071[_0x1435('0xf')](_0x47290e,_0x1435('0xc')),this[_0x1435('0x18')][_0x1435('0x19')][_0x1435('0x10')]();});}['_updatePlaceholder'](){const _0x175b14=this[_0x1435('0x18')][_0x1435('0x19')],_0x119f57=_0x175b14[_0x1435('0x13')][_0x1435('0x1d')](),_0x2bd248=_0x119f57[_0x1435('0x1a')](0x0);_0x119f57[_0x1435('0x7')]>0x1||!_0x2bd248||'p'!=_0x2bd248[_0x1435('0x3')]?this[_0x1435('0xd')]&&(_0x40690a(_0x175b14,this[_0x1435('0xd')]),this[_0x1435('0xd')]=void 0x0):(_0x3cb297({'view':_0x175b14,'element':_0x2bd248,'text':this[_0x1435('0x12')],'keepOnFocus':!0x0}),this['placeholderElement']=_0x2bd248);}}Nt[_0x1435('0xa')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5731=['rootName','render','document','editor','attachDomRoot','destroy','element','init','getRoot','fire','name','setEditableElement','editing','view','ready','editable'];(function(_0x2eb095,_0x573135){const _0x3514f1=function(_0x55005c){while(--_0x55005c){_0x2eb095['push'](_0x2eb095['shift']());}};_0x3514f1(++_0x573135);}(_0x5731,0x128));const _0x3514=function(_0x2eb095,_0x573135){_0x2eb095=_0x2eb095-0x0;let _0x3514f1=_0x5731[_0x2eb095];return _0x3514f1;};import{EditorUI as _0x36e53e}from'ckeditor5/src/ui';import _0x4c9d52 from'./commenteditoruiview';export default class Dt extends _0x36e53e{constructor(_0x5b55bc){super(_0x5b55bc),this[_0x3514('0x5')]=new _0x4c9d52(_0x5b55bc['locale'],_0x5b55bc[_0x3514('0x4')]['view']);}get[_0x3514('0xe')](){return this['view'][_0x3514('0xe')];}[_0x3514('0xf')](){const _0x5f0048=this[_0x3514('0xb')][_0x3514('0x4')][_0x3514('0x5')],_0x306cbc=this[_0x3514('0x5')]['editable'],_0x1e0fa1=_0x5f0048[_0x3514('0xa')][_0x3514('0x0')]();_0x306cbc['name']=_0x1e0fa1[_0x3514('0x8')],this[_0x3514('0x5')][_0x3514('0x9')]();const _0x49b221=_0x306cbc[_0x3514('0xe')];this[_0x3514('0x3')](_0x306cbc[_0x3514('0x2')],_0x49b221),this['view'][_0x3514('0x7')]['bind']('isFocused')['to'](this['focusTracker']),_0x5f0048[_0x3514('0xc')](_0x49b221),this[_0x3514('0x1')](_0x3514('0x6'));}[_0x3514('0xd')](){super['destroy'](),this[_0x3514('0x5')]['destroy']();}}
23
+ const _0x3531=['name','editor','rootName','getRoot','editing','setEditableElement','view','document','element','focusTracker','attachDomRoot','fire','editable','init','locale','destroy','bind','render'];(function(_0x3cf62f,_0x353103){const _0x5870d4=function(_0x1b9223){while(--_0x1b9223){_0x3cf62f['push'](_0x3cf62f['shift']());}};_0x5870d4(++_0x353103);}(_0x3531,0x164));const _0x5870=function(_0x3cf62f,_0x353103){_0x3cf62f=_0x3cf62f-0x0;let _0x5870d4=_0x3531[_0x3cf62f];return _0x5870d4;};import{EditorUI as _0x29a5b8}from'ckeditor5/src/ui';import _0x219d1f from'./commenteditoruiview';export default class Ft extends _0x29a5b8{constructor(_0x567ef4){super(_0x567ef4),this[_0x5870('0xa')]=new _0x219d1f(_0x567ef4[_0x5870('0x0')],_0x567ef4[_0x5870('0x8')][_0x5870('0xa')]);}get[_0x5870('0xc')](){return this['view'][_0x5870('0xc')];}[_0x5870('0x11')](){const _0x2241ee=this[_0x5870('0x5')][_0x5870('0x8')][_0x5870('0xa')],_0x549a9a=this['view']['editable'],_0x2118a3=_0x2241ee[_0x5870('0xb')][_0x5870('0x7')]();_0x549a9a[_0x5870('0x4')]=_0x2118a3[_0x5870('0x6')],this[_0x5870('0xa')][_0x5870('0x3')]();const _0xb06b2e=_0x549a9a[_0x5870('0xc')];this[_0x5870('0x9')](_0x549a9a[_0x5870('0x4')],_0xb06b2e),this[_0x5870('0xa')][_0x5870('0x10')][_0x5870('0x2')]('isFocused')['to'](this[_0x5870('0xd')]),_0x2241ee[_0x5870('0xe')](_0xb06b2e),this[_0x5870('0xf')]('ready');}[_0x5870('0x1')](){super['destroy'](),this[_0x5870('0xa')][_0x5870('0x1')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d4f=['ck-editor','editable','cke-editor__aria-label_','ck-voice-label','uiLanguageDirection','presentation','add','ck-reset','div','ck-rounded-corners','ck-comment__input','ck-editor__aria-label_','_voiceLabelView','render','uiLanguage','Comment\x20editor','text','extendTemplate','ck-editor__main','comment','_createVoiceLabel','focus','main'];(function(_0x6f6f85,_0x1d4f44){const _0x4a6c86=function(_0x26b381){while(--_0x26b381){_0x6f6f85['push'](_0x6f6f85['shift']());}};_0x4a6c86(++_0x1d4f44);}(_0x1d4f,0x81));const _0x4a6c=function(_0x6f6f85,_0x1d4f44){_0x6f6f85=_0x6f6f85-0x0;let _0x4a6c86=_0x1d4f[_0x6f6f85];return _0x4a6c86;};import{InlineEditableUIView as _0x188dd5,EditorUIView as _0x1dcf3e,LabelView as _0x8b4c07}from'ckeditor5/src/ui';import{uid as _0x386845}from'ckeditor5/src/utils';import{getTranslation as _0x34f790}from'../../../utils/common-translations';export default class Qt extends _0x1dcf3e{constructor(_0x5165e1,_0x176108){super(_0x5165e1);const _0x467b97=_0x386845();this[_0x4a6c('0x8')]=this['createCollection'](),this[_0x4a6c('0xa')]=new _0x188dd5(_0x5165e1,_0x176108),this['_voiceLabelView']=this[_0x4a6c('0x6')](_0x467b97,_0x5165e1),this['setTemplate']({'tag':_0x4a6c('0x11'),'attributes':{'class':[_0x4a6c('0x10'),_0x4a6c('0x9'),_0x4a6c('0x12'),_0x4a6c('0x13')],'role':_0x4a6c('0x5'),'dir':_0x5165e1[_0x4a6c('0xd')],'lang':_0x5165e1[_0x4a6c('0x0')],'aria-labelledby':_0x4a6c('0xb')+_0x467b97},'children':[this[_0x4a6c('0x15')],{'tag':_0x4a6c('0x11'),'attributes':{'class':_0x4a6c('0x4'),'role':_0x4a6c('0xe')},'children':this[_0x4a6c('0x8')]}]});}['render'](){super[_0x4a6c('0x16')](),this[_0x4a6c('0x8')][_0x4a6c('0xf')](this[_0x4a6c('0xa')]);}[_0x4a6c('0x7')](){this[_0x4a6c('0xa')]['element'][_0x4a6c('0x7')]();}['_createVoiceLabel'](_0x1b1862,_0x45a7a4){const _0x3c1d98=new _0x8b4c07();return _0x3c1d98[_0x4a6c('0x2')]=_0x34f790(_0x45a7a4,_0x4a6c('0x1')),_0x3c1d98[_0x4a6c('0x3')]({'attributes':{'id':_0x4a6c('0x14')+_0x1b1862,'class':_0x4a6c('0xc')}}),_0x3c1d98;}}
23
+ const _0x320b=['ck-voice-label','_voiceLabelView','text','element','main','editable','createCollection','ck-editor__aria-label_','cke-editor__aria-label_','ck-editor','Comment\x20editor','render','div','uiLanguageDirection','extendTemplate','focus','setTemplate','comment','ck-rounded-corners','ck-reset','uiLanguage','ck-editor__main','add','_createVoiceLabel'];(function(_0x5e38d1,_0x320b82){const _0x558ea1=function(_0x557242){while(--_0x557242){_0x5e38d1['push'](_0x5e38d1['shift']());}};_0x558ea1(++_0x320b82);}(_0x320b,0x1f0));const _0x558e=function(_0x5e38d1,_0x320b82){_0x5e38d1=_0x5e38d1-0x0;let _0x558ea1=_0x320b[_0x5e38d1];return _0x558ea1;};import{InlineEditableUIView as _0x1d7371,EditorUIView as _0x3314d6,LabelView as _0x2888ba}from'ckeditor5/src/ui';import{uid as _0x566e30}from'ckeditor5/src/utils';import{getTranslation as _0x384272}from'../../../utils/common-translations';export default class Rt extends _0x3314d6{constructor(_0x24b69f,_0x5ac4cb){super(_0x24b69f);const _0x25ea6c=_0x566e30();this[_0x558e('0xc')]=this[_0x558e('0xe')](),this[_0x558e('0xd')]=new _0x1d7371(_0x24b69f,_0x5ac4cb),this[_0x558e('0x9')]=this[_0x558e('0x7')](_0x25ea6c,_0x24b69f),this[_0x558e('0x0')]({'tag':_0x558e('0x14'),'attributes':{'class':[_0x558e('0x3'),_0x558e('0x11'),_0x558e('0x2'),'ck-comment__input'],'role':_0x558e('0x1'),'dir':_0x24b69f[_0x558e('0x15')],'lang':_0x24b69f[_0x558e('0x4')],'aria-labelledby':_0x558e('0x10')+_0x25ea6c},'children':[this[_0x558e('0x9')],{'tag':_0x558e('0x14'),'attributes':{'class':_0x558e('0x5'),'role':'presentation'},'children':this['main']}]});}['render'](){super[_0x558e('0x13')](),this['main'][_0x558e('0x6')](this[_0x558e('0xd')]);}[_0x558e('0x17')](){this['editable'][_0x558e('0xb')][_0x558e('0x17')]();}[_0x558e('0x7')](_0x3fecdd,_0x473313){const _0x5b8c12=new _0x2888ba();return _0x5b8c12[_0x558e('0xa')]=_0x384272(_0x473313,_0x558e('0x12')),_0x5b8c12[_0x558e('0x16')]({'attributes':{'id':_0x558e('0xf')+_0x3fecdd,'class':_0x558e('0x8')}}),_0x5b8c12;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7d55=['reopen','_localUser','update','getComment','submitCommentThread','isResolved','resolve','view','listenTo','submit','_isAttached','addComment','removeComment','model','reopenCommentThread','remove','removeCommentThread','updateComment'];(function(_0xdf8ad6,_0x7d5502){var _0x2c33cf=function(_0x37ad8c){while(--_0x37ad8c){_0xdf8ad6['push'](_0xdf8ad6['shift']());}};_0x2c33cf(++_0x7d5502);}(_0x7d55,0x9e));var _0x2c33=function(_0xdf8ad6,_0x7d5502){_0xdf8ad6=_0xdf8ad6-0x0;var _0x2c33cf=_0x7d55[_0xdf8ad6];return _0x2c33cf;};import{ObservableMixin as _0x4d00eb}from'ckeditor5/src/utils';export default class at extends _0x4d00eb(){constructor(_0x591596,_0x1819fb){super(),this[_0x2c33('0x11')]=_0x591596,this[_0x2c33('0x11')][_0x2c33('0xe')]=!0x0,this['view']=_0x1819fb,this[_0x2c33('0xc')](_0x1819fb,_0x2c33('0x8'),()=>this[_0x2c33('0xd')]()),this[_0x2c33('0xc')](_0x1819fb,_0x2c33('0x2'),()=>this[_0x2c33('0x1')]()),this['listenTo'](_0x1819fb,'resolveCommentThread',()=>this[_0x2c33('0xa')]()),this[_0x2c33('0xc')](_0x1819fb,_0x2c33('0x0'),()=>this[_0x2c33('0x4')]()),this[_0x2c33('0xc')](_0x1819fb,_0x2c33('0xf'),(_0x5045b7,_0x53424f)=>this[_0x2c33('0xf')](_0x53424f)),this[_0x2c33('0xc')](_0x1819fb,_0x2c33('0x3'),(_0x2dd9ac,_0x4cd75c,_0x194023)=>this[_0x2c33('0x3')](_0x4cd75c,_0x194023)),this[_0x2c33('0xc')](_0x1819fb,'removeComment',(_0x3c5850,_0x45b65b)=>this[_0x2c33('0x10')](_0x45b65b));}[_0x2c33('0xd')](){this[_0x2c33('0x11')][_0x2c33('0xd')]();}[_0x2c33('0x1')](){this[_0x2c33('0x11')][_0x2c33('0x1')]();}[_0x2c33('0xa')](){this[_0x2c33('0x11')][_0x2c33('0x9')]||this[_0x2c33('0x11')][_0x2c33('0xa')]();}[_0x2c33('0x4')](){this[_0x2c33('0x11')]['isResolved']&&this['model'][_0x2c33('0x4')]();}['addComment'](_0x2d660c){this[_0x2c33('0x11')][_0x2c33('0xf')]({'content':_0x2d660c,'authorId':this[_0x2c33('0xb')][_0x2c33('0x5')]['id']});}['updateComment'](_0x1e9b9c,_0x23dd65){this[_0x2c33('0x11')][_0x2c33('0x7')](_0x1e9b9c)[_0x2c33('0x6')]({'content':_0x23dd65});}['removeComment'](_0x3067d5){this[_0x2c33('0x11')][_0x2c33('0x7')](_0x3067d5)[_0x2c33('0x1')]();}['destroy'](){this['stopListening'](),this[_0x2c33('0x11')][_0x2c33('0xe')]=!0x1;}}
23
+ var _0x1457=['isResolved','stopListening','resolve','removeCommentThread','submit','removeComment','submitCommentThread','getComment','addComment','remove','_isAttached','reopen','updateComment','model','view','listenTo','update'];(function(_0x2c855e,_0x1457b6){var _0x4f3796=function(_0x576885){while(--_0x576885){_0x2c855e['push'](_0x2c855e['shift']());}};_0x4f3796(++_0x1457b6);}(_0x1457,0x11f));var _0x4f37=function(_0x2c855e,_0x1457b6){_0x2c855e=_0x2c855e-0x0;var _0x4f3796=_0x1457[_0x2c855e];return _0x4f3796;};import{ObservableMixin as _0x5d27da}from'ckeditor5/src/utils';export default class J extends _0x5d27da(){constructor(_0x4ecbfd,_0x1e3f9c){super(),this['model']=_0x4ecbfd,this[_0x4f37('0xf')][_0x4f37('0xc')]=!0x0,this[_0x4f37('0x10')]=_0x1e3f9c,this['listenTo'](_0x1e3f9c,_0x4f37('0x8'),()=>this[_0x4f37('0x6')]()),this[_0x4f37('0x0')](_0x1e3f9c,_0x4f37('0x5'),()=>this['remove']()),this['listenTo'](_0x1e3f9c,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x1e3f9c,'reopenCommentThread',()=>this[_0x4f37('0xd')]()),this[_0x4f37('0x0')](_0x1e3f9c,_0x4f37('0xa'),(_0x34f493,_0x1103fd)=>this['addComment'](_0x1103fd)),this[_0x4f37('0x0')](_0x1e3f9c,'updateComment',(_0x3d5daf,_0x5e02c7,_0x292082)=>this['updateComment'](_0x5e02c7,_0x292082)),this[_0x4f37('0x0')](_0x1e3f9c,_0x4f37('0x7'),(_0x2ddcbe,_0x11fdfa)=>this[_0x4f37('0x7')](_0x11fdfa));}[_0x4f37('0x6')](){this[_0x4f37('0xf')][_0x4f37('0x6')]();}['remove'](){this[_0x4f37('0xf')][_0x4f37('0xb')]();}[_0x4f37('0x4')](){this['model'][_0x4f37('0x2')]||this[_0x4f37('0xf')]['resolve']();}['reopen'](){this['model'][_0x4f37('0x2')]&&this[_0x4f37('0xf')][_0x4f37('0xd')]();}[_0x4f37('0xa')](_0x52067c){this['model'][_0x4f37('0xa')]({'content':_0x52067c,'authorId':this[_0x4f37('0x10')]['_localUser']['id']});}[_0x4f37('0xe')](_0x4202d9,_0x3ff09c){this[_0x4f37('0xf')][_0x4f37('0x9')](_0x4202d9)[_0x4f37('0x1')]({'content':_0x3ff09c});}['removeComment'](_0x5f2095){this[_0x4f37('0xf')][_0x4f37('0x9')](_0x5f2095)[_0x4f37('0xb')]();}['destroy'](){this[_0x4f37('0x3')](),this[_0x4f37('0xf')][_0x4f37('0xc')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x110c=['assign','resolveCommentThread','isResolvable','CommentView','isReadOnly','isActive','cancel','_createCommentThreadInputView','bind','isSubmitted','submitCommentThread','reopenCommentThread','disabledSubmit','_localUser','delegate','set','isResolved','_config','element','submit','addComment','removeCommentThread','removeComment','value','isDirty','length','placeholder','commentThreadHeaderView','locale','fire','commentsListView','focus','_model','hasDirtyComment','updateComment','commentThreadInputView','destroy'];(function(_0x556043,_0x110c33){const _0x447546=function(_0x591242){while(--_0x591242){_0x556043['push'](_0x556043['shift']());}};_0x447546(++_0x110c33);}(_0x110c,0x1ca));const _0x4475=function(_0x556043,_0x110c33){_0x556043=_0x556043-0x0;let _0x447546=_0x110c[_0x556043];return _0x447546;};import{View as _0x4cbbeb}from'ckeditor5/src/ui';import _0x115010 from'./commentthreadinputview';import _0x859a73 from'./commentslistview';import _0x194832 from'./commentthreadheaderview';import{getTranslation as _0x172276}from'../../../utils/common-translations';export default class St extends _0x4cbbeb{constructor(_0x1ee3c1,_0x516067,_0x3a80b0,_0x7a948e){super(_0x1ee3c1),this[_0x4475('0x1')](_0x4475('0x1c'),!0x1),this[_0x4475('0x1')]('isDirty',!0x1),this[_0x4475('0x12')]=_0x516067,this['_localUser']=_0x3a80b0,this[_0x4475('0x3')]=_0x7a948e,this[_0x4475('0xd')]=new _0x194832(_0x1ee3c1,_0x516067),this[_0x4475('0xd')][_0x4475('0x0')](_0x4475('0x22'))['to'](this),this[_0x4475('0x10')]=new _0x859a73(_0x1ee3c1,_0x516067,Object[_0x4475('0x17')]({'CommentView':this['_config'][_0x4475('0x1a')]},_0x7a948e)),this[_0x4475('0x10')]['delegate'](_0x4475('0x8'))['to'](this),this['commentsListView'][_0x4475('0x0')](_0x4475('0x14'))['to'](this),this[_0x4475('0x10')]['delegate'](_0x4475('0x18'))['to'](this),this[_0x4475('0x10')][_0x4475('0x1f')](_0x4475('0x1c'))['to'](this),this[_0x4475('0x1')](_0x4475('0xb'),this['commentsListView']['length']),this['bind'](_0x4475('0xb'))['to'](this[_0x4475('0x10')],_0x4475('0xb')),this[_0x4475('0x15')]=this[_0x4475('0x1e')](),this['on'](_0x4475('0x8'),()=>this[_0x4475('0x11')]()),this[_0x4475('0x1f')](_0x4475('0xa'))['to'](this[_0x4475('0x10')],_0x4475('0x13'),this[_0x4475('0x15')]['commentInputView'],_0x4475('0x9'),(_0x5a3593,_0x3125e3)=>_0x5a3593||!!_0x3125e3);}[_0x4475('0x11')](){this[_0x4475('0x4')][_0x4475('0x11')]();}[_0x4475('0x16')](){this[_0x4475('0xa')]=!0x1,this[_0x4475('0x10')][_0x4475('0x16')](),this[_0x4475('0x15')][_0x4475('0x16')](),super[_0x4475('0x16')]();}[_0x4475('0x1e')](){const _0x352208=new _0x115010(this[_0x4475('0xe')],this[_0x4475('0x24')],this[_0x4475('0x3')]['editorConfig']),_0xaa80f8=_0x352208['commentInputView'];return _0x352208[_0x4475('0x1f')]('showInput')['to'](this,_0x4475('0x1c'),this[_0x4475('0x12')],_0x4475('0x1b'),this[_0x4475('0x12')],_0x4475('0x19'),_0xaa80f8,_0x4475('0x9'),(_0x19c682,_0x42e4a5,_0x11fdb3,_0x23d9a1)=>!!_0x23d9a1||_0x11fdb3||_0x19c682&&!_0x42e4a5),_0xaa80f8[_0x4475('0x1f')](_0x4475('0xc'))['to'](this,_0x4475('0xb'),this[_0x4475('0x12')],_0x4475('0x19'),this['_model'],'resolvedAt',(_0x1f0c1b,_0x10d0ac,_0x190ae9)=>{let _0xadecf9;return _0xadecf9=_0x190ae9&&_0x10d0ac?'Reply\x20to\x20reopen\x20discussion...':_0x1f0c1b?'Reply...':'Write\x20a\x20comment...',_0x172276(this[_0x4475('0xe')],_0xadecf9);}),_0xaa80f8['on'](_0x4475('0x5'),(_0xcd58cc,_0x483e21)=>{this[_0x4475('0xf')](_0x4475('0x6'),_0x483e21),this[_0x4475('0x12')][_0x4475('0x2')]&&this[_0x4475('0x12')][_0x4475('0x19')]&&this[_0x4475('0xf')](_0x4475('0x22'),this['_model']['id']),this[_0x4475('0x12')][_0x4475('0x20')]||this[_0x4475('0xf')](_0x4475('0x21'));}),_0xaa80f8['on']('cancel',()=>{this[_0x4475('0x11')]();}),_0xaa80f8[_0x4475('0x1f')](_0x4475('0x23'))['to'](this[_0x4475('0x12')],_0x4475('0x1b')),_0xaa80f8['on'](_0x4475('0x1d'),_0x26ccbf=>{0x0==this[_0x4475('0xb')]&&(this['fire'](_0x4475('0x7')),_0x26ccbf['stop']());}),this['on']('change:isActive',(_0x856c88,_0x8693d5,_0x41e625)=>{_0x41e625||this[_0x4475('0xb')]||_0xaa80f8[_0x4475('0x9')]||this[_0x4475('0xf')](_0x4475('0x7'));}),_0x352208;}}
23
+ const _0xab1f=['value','isReadOnly','editorConfig','delegate','addComment','cancel','isResolvable','_model','set','isResolved','commentsListView','resolveCommentThread','commentInputView','_createCommentThreadInputView','commentThreadInputView','disabledSubmit','submit','commentThreadHeaderView','placeholder','element','Reply...','updateComment','assign','change:isActive','fire','Reply','_localUser','destroy','removeComment','reopenCommentThread','Comment','locale','Write\x20a\x20comment...','submitLabel','submitCommentThread','isDirty','isActive','Reply\x20to\x20reopen\x20discussion...','length','showInput','isSubmitted','bind','_config','focus','stop','removeCommentThread'];(function(_0x479df3,_0xab1ff2){const _0x1c84a5=function(_0x3e80c0){while(--_0x3e80c0){_0x479df3['push'](_0x479df3['shift']());}};_0x1c84a5(++_0xab1ff2);}(_0xab1f,0x191));const _0x1c84=function(_0x479df3,_0xab1ff2){_0x479df3=_0x479df3-0x0;let _0x1c84a5=_0xab1f[_0x479df3];return _0x1c84a5;};import{View as _0x3241b8}from'ckeditor5/src/ui';import _0x188e18 from'./commentthreadinputview';import _0x5447a7 from'./commentslistview';import _0x2e148b from'./commentthreadheaderview';import{getTranslation as _0x10bb68}from'../../../utils/common-translations';export default class Wt extends _0x3241b8{constructor(_0x12f6b6,_0x13f832,_0x494006,_0x41d981){super(_0x12f6b6),this[_0x1c84('0x15')](_0x1c84('0x3'),!0x1),this[_0x1c84('0x15')]('isDirty',!0x1),this[_0x1c84('0x14')]=_0x13f832,this[_0x1c84('0x27')]=_0x494006,this['_config']=_0x41d981,this['commentThreadHeaderView']=new _0x2e148b(_0x12f6b6,_0x13f832),this[_0x1c84('0x1e')][_0x1c84('0x10')](_0x1c84('0x2a'))['to'](this),this[_0x1c84('0x17')]=new _0x5447a7(_0x12f6b6,_0x13f832,Object[_0x1c84('0x23')]({'CommentView':this[_0x1c84('0x9')]['CommentView']},_0x41d981)),this[_0x1c84('0x17')][_0x1c84('0x10')](_0x1c84('0x29'))['to'](this),this[_0x1c84('0x17')]['delegate'](_0x1c84('0x22'))['to'](this),this[_0x1c84('0x17')]['delegate'](_0x1c84('0x18'))['to'](this),this['commentsListView'][_0x1c84('0x8')](_0x1c84('0x3'))['to'](this),this[_0x1c84('0x15')]('length',this[_0x1c84('0x17')]['length']),this[_0x1c84('0x8')](_0x1c84('0x5'))['to'](this['commentsListView'],_0x1c84('0x5')),this['commentThreadInputView']=this[_0x1c84('0x1a')](),this['on'](_0x1c84('0x29'),()=>this[_0x1c84('0xa')]()),this['bind']('isDirty')['to'](this[_0x1c84('0x17')],'hasDirtyComment',this[_0x1c84('0x1b')][_0x1c84('0x19')],_0x1c84('0xd'),(_0x1f19ff,_0x1334b4)=>_0x1f19ff||!!_0x1334b4);}[_0x1c84('0xa')](){this[_0x1c84('0x20')][_0x1c84('0xa')]();}[_0x1c84('0x28')](){this[_0x1c84('0x2')]=!0x1,this[_0x1c84('0x17')][_0x1c84('0x28')](),this['commentThreadInputView'][_0x1c84('0x28')](),super[_0x1c84('0x28')]();}[_0x1c84('0x1a')](){const _0x5c2992=new _0x188e18(this[_0x1c84('0x2c')],this['_localUser'],this[_0x1c84('0x9')][_0x1c84('0xf')]),_0x36e5f7=_0x5c2992[_0x1c84('0x19')];return _0x5c2992['bind'](_0x1c84('0x6'))['to'](this,_0x1c84('0x3'),this[_0x1c84('0x14')],_0x1c84('0xe'),this['_model'],_0x1c84('0x16'),_0x36e5f7,_0x1c84('0xd'),(_0xc976d4,_0x164d49,_0x31aee1,_0x1d2f05)=>!!_0x1d2f05||_0x31aee1&&!_0x164d49||_0xc976d4&&!_0x164d49),_0x36e5f7[_0x1c84('0x8')](_0x1c84('0x1f'))['to'](this,'length',this[_0x1c84('0x14')],'isResolvable',this[_0x1c84('0x14')],_0x1c84('0x16'),(_0xfa8be8,_0x1121c0,_0x37275f)=>{let _0x1e3b8b;return _0x1e3b8b=_0x37275f&&_0x1121c0?_0x1c84('0x4'):_0xfa8be8?_0x1c84('0x21'):_0x1c84('0x2d'),_0x10bb68(this[_0x1c84('0x2c')],_0x1e3b8b);}),_0x36e5f7[_0x1c84('0x8')](_0x1c84('0x0'))['to'](this,'length',_0x1fbcee=>_0x10bb68(this[_0x1c84('0x2c')],_0x1fbcee?_0x1c84('0x26'):_0x1c84('0x2b'))),_0x36e5f7['on'](_0x1c84('0x1d'),(_0x872b1a,_0x268e72)=>{this[_0x1c84('0x25')](_0x1c84('0x11'),_0x268e72),this[_0x1c84('0x14')]['isResolved']&&this[_0x1c84('0x14')][_0x1c84('0x13')]&&this[_0x1c84('0x25')](_0x1c84('0x2a'),this[_0x1c84('0x14')]['id']),this[_0x1c84('0x14')][_0x1c84('0x7')]||this[_0x1c84('0x25')](_0x1c84('0x1'));}),_0x36e5f7['on'](_0x1c84('0x12'),()=>{this[_0x1c84('0xa')]();}),_0x36e5f7[_0x1c84('0x8')](_0x1c84('0x1c'))['to'](this[_0x1c84('0x14')],_0x1c84('0xe')),_0x36e5f7['on'](_0x1c84('0x12'),_0x3efe79=>{0x0==this[_0x1c84('0x5')]&&(this[_0x1c84('0x25')](_0x1c84('0xc')),_0x3efe79[_0x1c84('0xb')]());}),this['on'](_0x1c84('0x24'),(_0x58f8a7,_0x1f73c4,_0x486987)=>{_0x486987||this[_0x1c84('0x5')]||_0x36e5f7[_0x1c84('0xd')]||this[_0x1c84('0x25')](_0x1c84('0xc'));}),_0x5c2992;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e4e=['maxCommentCharsWhenCollapsed','value','once','_createCommentContentView','locale','set','bind','isSystemComment','editorReady','fire','submit','_config','destroy','createCollection','isCollapsed','isEditMode','focus','switchToEditMode','createEditor','switchToDisplayMode','initialData','add','visibleView','cancel','_createCommentInputView','expand','_model','content','collapse','isReadOnly','remove'];(function(_0x4ed710,_0x1e4ea8){const _0xfa642=function(_0x3cfda8){while(--_0x3cfda8){_0x4ed710['push'](_0x4ed710['shift']());}};_0xfa642(++_0x1e4ea8);}(_0x1e4e,0x1af));const _0xfa64=function(_0x4ed710,_0x1e4ea8){_0x4ed710=_0x4ed710-0x0;let _0xfa642=_0x1e4e[_0x4ed710];return _0xfa642;};import{View as _0x53edc6}from'ckeditor5/src/ui';import{trimHtml as _0x28110f}from'ckeditor5-collaboration/src/collaboration-core';import _0x36a062 from'./commentcontentview';import _0x17f671 from'./commentinputview';export default class Yt extends _0x53edc6{constructor(_0x25f100,_0x4ec6ad,_0x3a6bab){super(_0x25f100),this[_0xfa64('0x1d')]=_0x4ec6ad,this[_0xfa64('0xe')]=_0x3a6bab,this[_0xfa64('0xa')]=!!this[_0xfa64('0xe')]['isSystemComment'],this['set'](_0xfa64('0x12'),!0x1),this[_0xfa64('0x8')](_0xfa64('0x11'),!0x0),this[_0xfa64('0x19')]=this[_0xfa64('0x10')](),this[_0xfa64('0x19')][_0xfa64('0x18')](this[_0xfa64('0x6')]());}[_0xfa64('0x1c')](){this[_0xfa64('0x11')]=!0x1;}[_0xfa64('0x0')](){this[_0xfa64('0x12')]||(this['isCollapsed']=!0x0);}[_0xfa64('0x13')](){this['element'][_0xfa64('0x13')]();}async[_0xfa64('0xf')](){await this['visibleView']['get'](0x0)[_0xfa64('0xf')](),super['destroy']();}[_0xfa64('0x14')](){this[_0xfa64('0x12')]||(this[_0xfa64('0x12')]=!0x0,this[_0xfa64('0x19')][_0xfa64('0x2')](0x0)[_0xfa64('0xf')](),this['visibleView']['add'](this[_0xfa64('0x1b')]()));}[_0xfa64('0x16')](){this['isEditMode']&&(this[_0xfa64('0x12')]=!0x1,this[_0xfa64('0x19')]['remove'](0x0)[_0xfa64('0xf')](),this[_0xfa64('0x19')]['add'](this[_0xfa64('0x6')]()));}[_0xfa64('0x6')](){const _0x1ad559=new _0x36a062(this[_0xfa64('0x7')]);return _0x1ad559[_0xfa64('0x9')](_0xfa64('0x1e'))['to'](this[_0xfa64('0x1d')],_0xfa64('0x1e'),this,'isCollapsed',(_0x201e0d,_0x22d0d5)=>_0x22d0d5?_0x28110f(_0x201e0d,{'limit':this[_0xfa64('0xe')][_0xfa64('0x3')]}):_0x201e0d),_0x1ad559;}[_0xfa64('0x1b')](){this[_0xfa64('0xe')]['editorConfig']||(this[_0xfa64('0xe')]['editorConfig']={}),this[_0xfa64('0xe')]['editorConfig'][_0xfa64('0x17')]=this['_model'][_0xfa64('0x1e')];const _0x7b008c=new _0x17f671(this[_0xfa64('0x7')],this[_0xfa64('0xe')]['editorConfig']);return _0x7b008c[_0xfa64('0x4')]=this[_0xfa64('0x1d')]['content'],_0x7b008c[_0xfa64('0x9')]('disabledSubmit')['to'](this[_0xfa64('0x1d')],_0xfa64('0x1')),_0x7b008c['on'](_0xfa64('0xd'),(_0xb70bc1,_0x27e321)=>{this[_0xfa64('0xc')]('updateComment',this['_model']['id'],_0x27e321),this['switchToDisplayMode'](),this[_0xfa64('0x13')]();}),_0x7b008c['on'](_0xfa64('0x1a'),()=>{this[_0xfa64('0x16')](),this['focus']();}),_0x7b008c[_0xfa64('0x5')](_0xfa64('0xb'),()=>{_0x7b008c[_0xfa64('0x13')]();}),_0x7b008c[_0xfa64('0x15')](),_0x7b008c;}}
23
+ const _0x315b=['bind','Save','createEditor','_createCommentContentView','remove','_model','element','get','value','set','initialData','once','editorReady','disabledSubmit','collapse','content','_createCommentInputView','_config','isEditMode','switchToEditMode','switchToDisplayMode','fire','locale','visibleView','isSystemComment','submit','maxCommentCharsWhenCollapsed','editorConfig','add','focus','isCollapsed','destroy','cancel'];(function(_0x414586,_0x315bc7){const _0x200283=function(_0x524476){while(--_0x524476){_0x414586['push'](_0x414586['shift']());}};_0x200283(++_0x315bc7);}(_0x315b,0x176));const _0x2002=function(_0x414586,_0x315bc7){_0x414586=_0x414586-0x0;let _0x200283=_0x315b[_0x414586];return _0x200283;};import{View as _0x331655}from'ckeditor5/src/ui';import{trimHtml as _0x37a857}from'ckeditor5-collaboration/src/collaboration-core';import _0x62ac67 from'./commentcontentview';import _0x10e052 from'./commentinputview';import{getTranslation as _0x39083f}from'../../../utils/common-translations';export default class Zt extends _0x331655{constructor(_0x833d9d,_0x28a282,_0x550108){super(_0x833d9d),this[_0x2002('0x1b')]=_0x28a282,this[_0x2002('0x6')]=_0x550108,this[_0x2002('0xd')]=!!this[_0x2002('0x6')][_0x2002('0xd')],this[_0x2002('0x1f')](_0x2002('0x7'),!0x1),this['set'](_0x2002('0x13'),!0x0),this['visibleView']=this['createCollection'](),this[_0x2002('0xc')][_0x2002('0x11')](this['_createCommentContentView']());}['expand'](){this[_0x2002('0x13')]=!0x1;}[_0x2002('0x3')](){this[_0x2002('0x7')]||(this[_0x2002('0x13')]=!0x0);}[_0x2002('0x12')](){this[_0x2002('0x1c')][_0x2002('0x12')]();}async['destroy'](){await this[_0x2002('0xc')][_0x2002('0x1d')](0x0)['destroy'](),super['destroy']();}[_0x2002('0x8')](){this[_0x2002('0x7')]||(this[_0x2002('0x7')]=!0x0,this[_0x2002('0xc')][_0x2002('0x1a')](0x0)[_0x2002('0x14')](),this[_0x2002('0xc')]['add'](this[_0x2002('0x5')]()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x2002('0x7')]=!0x1,this[_0x2002('0xc')][_0x2002('0x1a')](0x0)[_0x2002('0x14')](),this[_0x2002('0xc')][_0x2002('0x11')](this[_0x2002('0x19')]()));}['_createCommentContentView'](){const _0x316351=new _0x62ac67(this[_0x2002('0xb')]);return _0x316351[_0x2002('0x16')](_0x2002('0x4'))['to'](this[_0x2002('0x1b')],_0x2002('0x4'),this,'isCollapsed',(_0x5a0e4e,_0x1e5fc3)=>_0x1e5fc3?_0x37a857(_0x5a0e4e,{'limit':this[_0x2002('0x6')][_0x2002('0xf')]}):_0x5a0e4e),_0x316351;}[_0x2002('0x5')](){this[_0x2002('0x6')][_0x2002('0x10')]||(this[_0x2002('0x6')][_0x2002('0x10')]={}),this['_config'][_0x2002('0x10')][_0x2002('0x20')]=this[_0x2002('0x1b')][_0x2002('0x4')];const _0x5ea46a=new _0x10e052(this[_0x2002('0xb')],this['_config'][_0x2002('0x10')]);return _0x5ea46a[_0x2002('0x1e')]=this[_0x2002('0x1b')][_0x2002('0x4')],_0x5ea46a[_0x2002('0x16')](_0x2002('0x2'))['to'](this[_0x2002('0x1b')],'isReadOnly'),_0x5ea46a['submitLabel']=_0x39083f(this['locale'],_0x2002('0x17')),_0x5ea46a['on'](_0x2002('0xe'),(_0x27ec59,_0x4282e6)=>{this[_0x2002('0xa')]('updateComment',this[_0x2002('0x1b')]['id'],_0x4282e6),this[_0x2002('0x9')](),this[_0x2002('0x12')]();}),_0x5ea46a['on'](_0x2002('0x15'),()=>{this[_0x2002('0x9')](),this[_0x2002('0x12')]();}),_0x5ea46a[_0x2002('0x0')](_0x2002('0x1'),()=>{_0x5ea46a[_0x2002('0x12')]();}),_0x5ea46a[_0x2002('0x18')](),_0x5ea46a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26ab=['set','setTemplate','count','bindTemplate'];(function(_0x1b91de,_0x26abcd){const _0x26cf54=function(_0x6178a6){while(--_0x6178a6){_0x1b91de['push'](_0x1b91de['shift']());}};_0x26cf54(++_0x26abcd);}(_0x26ab,0xd7));const _0x26cf=function(_0x1b91de,_0x26abcd){_0x1b91de=_0x1b91de-0x0;let _0x26cf54=_0x26ab[_0x1b91de];return _0x26cf54;};import{View as _0x5354a0}from'ckeditor5/src/ui';import{getTranslation as _0x10d75e}from'../../../utils/common-translations';export default class Zt extends _0x5354a0{constructor(_0x212453){super(_0x212453);const _0x2c966c=this[_0x26cf('0x0')];this[_0x26cf('0x1')](_0x26cf('0x3'),void 0x0),this[_0x26cf('0x2')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x2c966c['to'](_0x26cf('0x3'),_0x345262=>_0x10d75e(_0x212453,'NUMBER_OF_COMMENTS',_0x345262))}]});}}
23
+ const _0x27b6=['setTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS','set','bindTemplate'];(function(_0x20828f,_0x27b602){const _0x3206ff=function(_0x1ac519){while(--_0x1ac519){_0x20828f['push'](_0x20828f['shift']());}};_0x3206ff(++_0x27b602);}(_0x27b6,0xec));const _0x3206=function(_0x20828f,_0x27b602){_0x20828f=_0x20828f-0x0;let _0x3206ff=_0x27b6[_0x20828f];return _0x3206ff;};import{View as _0x330967}from'ckeditor5/src/ui';import{getTranslation as _0x170982}from'../../../utils/common-translations';export default class to extends _0x330967{constructor(_0x16b6a5){super(_0x16b6a5);const _0x50d2c4=this[_0x3206('0x3')];this[_0x3206('0x2')]('count',void 0x0),this[_0x3206('0x4')]({'tag':'li','attributes':{'class':_0x3206('0x0')},'children':[{'text':_0x50d2c4['to']('count',_0x4cb6c3=>_0x170982(_0x16b6a5,_0x3206('0x1'),_0x4cb6c3))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2003=['render','ck-comment__content','set','change:content','element','content','ck-annotation__content','div','innerHTML'];(function(_0x555aa3,_0x2003df){var _0x4ee8e3=function(_0x89764a){while(--_0x89764a){_0x555aa3['push'](_0x555aa3['shift']());}};_0x4ee8e3(++_0x2003df);}(_0x2003,0x1ca));var _0x4ee8=function(_0x555aa3,_0x2003df){_0x555aa3=_0x555aa3-0x0;var _0x4ee8e3=_0x2003[_0x555aa3];return _0x4ee8e3;};import{View as _0x1bc79e}from'ckeditor5/src/ui';export default class Wt extends _0x1bc79e{constructor(_0x4087e1){super(_0x4087e1),this[_0x4ee8('0x3')](_0x4ee8('0x6'),''),this['setTemplate']({'tag':_0x4ee8('0x8'),'attributes':{'class':[_0x4ee8('0x2'),_0x4ee8('0x7')]}});}['render'](){super[_0x4ee8('0x1')](),this['on'](_0x4ee8('0x4'),(_0x318578,_0x2ea13c,_0x443699)=>{this[_0x4ee8('0x5')][_0x4ee8('0x0')]=_0x443699;}),this[_0x4ee8('0x5')]['innerHTML']=this[_0x4ee8('0x6')];}}
23
+ var _0x6f59=['div','setTemplate','innerHTML','change:content','render','element','content'];(function(_0x16a894,_0x6f591d){var _0xdb50c5=function(_0x3e86f8){while(--_0x3e86f8){_0x16a894['push'](_0x16a894['shift']());}};_0xdb50c5(++_0x6f591d);}(_0x6f59,0xc3));var _0xdb50=function(_0x16a894,_0x6f591d){_0x16a894=_0x16a894-0x0;var _0xdb50c5=_0x6f59[_0x16a894];return _0xdb50c5;};import{View as _0x232b4e}from'ckeditor5/src/ui';export default class Xt extends _0x232b4e{constructor(_0x47abcc){super(_0x47abcc),this['set'](_0xdb50('0x0'),''),this[_0xdb50('0x2')]({'tag':_0xdb50('0x1'),'attributes':{'class':['ck-comment__content','ck-annotation__content']}});}['render'](){super[_0xdb50('0x5')](),this['on'](_0xdb50('0x4'),(_0x5a1745,_0x2426e3,_0x2f9766)=>{this[_0xdb50('0x6')][_0xdb50('0x3')]=_0x2f9766;}),this['element'][_0xdb50('0x3')]=this[_0xdb50('0x0')];}}
@@ -37,6 +37,12 @@ export default class CommentInputView extends View {
37
37
  * @observable
38
38
  */
39
39
  placeholder: string;
40
+ /**
41
+ * The submit button label.
42
+ *
43
+ * @observable
44
+ */
45
+ submitLabel: string;
40
46
  element: HTMLElement;
41
47
  /**
42
48
  * Keystroke handler for the view.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2680=['value','submit','cancel','submitButtonView','createEditor','_createCancelButton','div','then','set','_editorCreationPromise','length','_initializeFocusCycling','cancelButtonView','add','check','destroy','create','high','Reply...','icon','tab','focus','firstChild','setData','bind','getData','execute','view','render','Submit','extendTemplate','stop','change','Cancel','_isDestroyed','isEnabled','setTemplate','_editorConfig','placeholder','bindTemplate','shift\x20+\x20tab','disabledSubmit','ck-comment__input-actions--cancel','_createSubmitButton','editor','editorReady','insertBefore','TOO_LONG_COMMENT_ALERT','ck-comment__input-actions--submit','focusTracker','keystrokes','listenTo','element','fire','ck-comment__input-actions','label','low','initialData','Esc','showButtons'];(function(_0x147ece,_0x268027){const _0x552295=function(_0x5e9408){while(--_0x5e9408){_0x147ece['push'](_0x147ece['shift']());}};_0x552295(++_0x268027);}(_0x2680,0xba));const _0x5522=function(_0x147ece,_0x268027){_0x147ece=_0x147ece-0x0;let _0x552295=_0x2680[_0x147ece];return _0x552295;};import{View as _0x5b3fc6,ViewCollection as _0x516d77,FocusCycler as _0x4f4f6a,ButtonView as _0xc1542}from'ckeditor5/src/ui';import{FocusTracker as _0x1f4568,KeystrokeHandler as _0x1e6add}from'ckeditor5/src/utils';import{icons as _0x33cfa6}from'ckeditor5/src/core';import _0x861498 from'../commenteditor/commenteditor';import{getTranslation as _0x1982e6}from'../../../utils/common-translations';export default class Xt extends _0x5b3fc6{constructor(_0x509353,_0x2a7f39={}){super(_0x509353),this[_0x5522('0x26')]=null,this[_0x5522('0x1f')]=_0x2a7f39,this[_0x5522('0x2c')]=new _0x1e6add(),this['focusTracker']=new _0x1f4568(),this[_0x5522('0x2')](_0x5522('0x36'),_0x2a7f39[_0x5522('0x33')]||''),this[_0x5522('0x2')](_0x5522('0x23'),!0x1),this[_0x5522('0x2')](_0x5522('0x35'),!0x0),this[_0x5522('0x2')](_0x5522('0x20'),_0x1982e6(_0x509353,_0x5522('0xc'))),this[_0x5522('0x39')]=this[_0x5522('0x25')](),this[_0x5522('0x6')]=this[_0x5522('0x3b')](),this[_0x5522('0x1e')]({'tag':_0x5522('0x0'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x5522('0x30'),this[_0x5522('0x21')]['if'](_0x5522('0x35'),'ck-comment__input-actions--active')]},'children':[this[_0x5522('0x39')],this[_0x5522('0x6')]]}]}),this[_0x5522('0x2c')][_0x5522('0x2')](_0x5522('0x34'),(_0x6edd80,_0x4f01fa)=>{this[_0x5522('0x6')][_0x5522('0x2f')](_0x5522('0x14')),_0x4f01fa();}),this['on']('submit',(_0x49525f,_0x4b73da)=>{_0x4b73da['length']>0xfde8?(alert(_0x1982e6(_0x509353,_0x5522('0x29'),[_0x4b73da[_0x5522('0x4')],0xfde8])),_0x49525f[_0x5522('0x19')]()):this[_0x5522('0x26')][_0x5522('0x11')]('');},{'priority':_0x5522('0xb')});}[_0x5522('0x16')](){super[_0x5522('0x16')](),this['keystrokes'][_0x5522('0x2d')](this[_0x5522('0x2e')]),this['focusTracker'][_0x5522('0x7')](this[_0x5522('0x2e')]);}[_0x5522('0x3a')](){return this[_0x5522('0x26')]||(this[_0x5522('0x26')]=new _0x861498(this[_0x5522('0x1f')]),this[_0x5522('0x3')]=this[_0x5522('0x26')][_0x5522('0xa')]()[_0x5522('0x1')](()=>{if(this[_0x5522('0x1c')])return;const _0x4ace37=this[_0x5522('0x26')];this['element'][_0x5522('0x28')](_0x4ace37['ui'][_0x5522('0x2e')],this['element'][_0x5522('0x10')]),_0x4ace37['model']['document']['on'](_0x5522('0x1a'),()=>this[_0x5522('0x36')]=_0x4ace37[_0x5522('0x13')]()),_0x4ace37[_0x5522('0x12')]('placeholder')['to'](this),this[_0x5522('0x5')](this[_0x5522('0x26')]),this[_0x5522('0x2f')](_0x5522('0x27'));})),this[_0x5522('0x3')];}[_0x5522('0xf')](){this[_0x5522('0x26')]&&this[_0x5522('0x26')]['focus']();}async['destroy'](){this[_0x5522('0x1c')]||(this[_0x5522('0x1c')]=!0x0,this[_0x5522('0x26')]&&(await this[_0x5522('0x3')],await this[_0x5522('0x26')][_0x5522('0x9')]()),await super[_0x5522('0x9')]());}[_0x5522('0x25')](){const {locale:_0x544fdf}=this,_0x555f8a=new _0xc1542(_0x544fdf);return _0x555f8a[_0x5522('0x18')]({'attributes':{'class':[_0x5522('0x2a')]}}),_0x555f8a[_0x5522('0x31')]=_0x1982e6(_0x544fdf,_0x5522('0x17')),_0x555f8a['icon']=_0x33cfa6[_0x5522('0x8')],_0x555f8a['on'](_0x5522('0x14'),()=>{this['fire'](_0x5522('0x37'),this[_0x5522('0x36')]);}),_0x555f8a[_0x5522('0x12')](_0x5522('0x1d'))['to'](this,'value',this,'disabledSubmit',(_0x164b27,_0x1f3d78)=>!_0x1f3d78&&!!_0x164b27['trim']()),_0x555f8a;}['_createCancelButton'](){const {locale:_0x1be3e0}=this,_0x450607=new _0xc1542(_0x1be3e0);return _0x450607[_0x5522('0x18')]({'attributes':{'class':[_0x5522('0x24')]}}),_0x450607[_0x5522('0x31')]=_0x1982e6(_0x1be3e0,_0x5522('0x1b')),_0x450607[_0x5522('0xd')]=_0x33cfa6[_0x5522('0x38')],_0x450607['on'](_0x5522('0x14'),()=>{this[_0x5522('0x26')][_0x5522('0x11')](''),this[_0x5522('0x2f')]('cancel');}),_0x450607;}[_0x5522('0x5')](_0x4977a8){const _0x2ecf94=this[_0x5522('0x2b')],_0x5dd1d2=new _0x516d77();[_0x4977a8['ui'][_0x5522('0x15')],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x5c6c8f=>{_0x5dd1d2[_0x5522('0x7')](_0x5c6c8f),_0x2ecf94[_0x5522('0x7')](_0x5c6c8f[_0x5522('0x2e')]);});const _0x59d43a=new _0x4f4f6a({'focusables':_0x5dd1d2,'focusTracker':_0x2ecf94});this[_0x5522('0x2c')][_0x5522('0x2')](_0x5522('0xe'),(_0x548bad,_0x169465)=>{_0x59d43a['focusNext'](),_0x169465();},{'priority':_0x5522('0x32')}),this[_0x5522('0x2c')]['set'](_0x5522('0x22'),(_0x361890,_0x461c9e)=>{_0x59d43a['focusPrevious'](),_0x461c9e();},{'priority':_0x5522('0x32')});}}
23
+ const _0x2222=['_initializeFocusCycling','set','Cancel','change','ck-comment__input-actions--submit','label','destroy','focus','showButtons','forEach','_isDestroyed','extendTemplate','Reply','value','high','add','keystrokes','stop','getData','withText','Reply...','tab','_createCancelButton','_editorConfig','bind','cancelButtonView','Esc','then','submitLabel','submit','submitButtonView','length','setData','placeholder','_editorCreationPromise','createEditor','view','focusPrevious','fire','render','element','_createSubmitButton','div','editorReady','low','isEnabled','insertBefore','disabledSubmit','bindTemplate','ck-comment__input-actions--active','firstChild','listenTo','editor','setTemplate','cancel','initialData','execute','create','model','focusNext'];(function(_0x1c5b34,_0x2222f1){const _0xdf45cd=function(_0x47241a){while(--_0x47241a){_0x1c5b34['push'](_0x1c5b34['shift']());}};_0xdf45cd(++_0x2222f1);}(_0x2222,0xdb));const _0xdf45=function(_0x1c5b34,_0x2222f1){_0x1c5b34=_0x1c5b34-0x0;let _0xdf45cd=_0x2222[_0x1c5b34];return _0xdf45cd;};import{View as _0x324a9d,ViewCollection as _0x38a0c7,FocusCycler as _0x46705a,ButtonView as _0x270c7d}from'ckeditor5/src/ui';import{FocusTracker as _0x579664,KeystrokeHandler as _0x2f35fb}from'ckeditor5/src/utils';import _0x4c88dc from'../commenteditor/commenteditor';import{getTranslation as _0x151946}from'../../../utils/common-translations';export default class Yt extends _0x324a9d{constructor(_0x2a7a5e,_0x1488d0={}){super(_0x2a7a5e),this['editor']=null,this[_0xdf45('0x2c')]=_0x1488d0,this[_0xdf45('0x25')]=new _0x2f35fb(),this['focusTracker']=new _0x579664(),this[_0xdf45('0x16')](_0xdf45('0x22'),_0x1488d0[_0xdf45('0x10')]||''),this[_0xdf45('0x16')](_0xdf45('0x8'),!0x1),this[_0xdf45('0x16')](_0xdf45('0x1d'),!0x0),this[_0xdf45('0x16')](_0xdf45('0x36'),_0x151946(_0x2a7a5e,_0xdf45('0x29'))),this[_0xdf45('0x16')](_0xdf45('0x31'),_0x151946(_0x2a7a5e,_0xdf45('0x21'))),this[_0xdf45('0x33')]=this[_0xdf45('0x2')](),this['cancelButtonView']=this[_0xdf45('0x2b')](),this[_0xdf45('0xe')]({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0xdf45('0x3'),'attributes':{'class':['ck-comment__input-actions',this[_0xdf45('0x9')]['if'](_0xdf45('0x1d'),_0xdf45('0xa'))]},'children':[this[_0xdf45('0x33')],this[_0xdf45('0x2e')]]}]}),this[_0xdf45('0x25')][_0xdf45('0x16')](_0xdf45('0x2f'),(_0x1bc099,_0x394c8c)=>{this[_0xdf45('0x2e')][_0xdf45('0x3b')](_0xdf45('0x11')),_0x394c8c();}),this['on'](_0xdf45('0x32'),(_0x5e311a,_0x4b75a2)=>{_0x4b75a2[_0xdf45('0x34')]>0xfde8?(alert(_0x151946(_0x2a7a5e,'TOO_LONG_COMMENT_ALERT',[_0x4b75a2[_0xdf45('0x34')],0xfde8])),_0x5e311a[_0xdf45('0x26')]()):this[_0xdf45('0xd')][_0xdf45('0x35')]('');},{'priority':_0xdf45('0x23')});}[_0xdf45('0x0')](){super[_0xdf45('0x0')](),this[_0xdf45('0x25')][_0xdf45('0xc')](this[_0xdf45('0x1')]),this['focusTracker']['add'](this[_0xdf45('0x1')]);}[_0xdf45('0x38')](){return this[_0xdf45('0xd')]||(this[_0xdf45('0xd')]=new _0x4c88dc(this['_editorConfig']),this[_0xdf45('0x37')]=this[_0xdf45('0xd')][_0xdf45('0x12')]()[_0xdf45('0x30')](()=>{if(this[_0xdf45('0x1f')])return;const _0x5a9e4a=this[_0xdf45('0xd')];this[_0xdf45('0x1')][_0xdf45('0x7')](_0x5a9e4a['ui']['element'],this[_0xdf45('0x1')][_0xdf45('0xb')]),_0x5a9e4a[_0xdf45('0x13')]['document']['on'](_0xdf45('0x18'),()=>this[_0xdf45('0x22')]=_0x5a9e4a[_0xdf45('0x27')]()),_0x5a9e4a[_0xdf45('0x2d')]('placeholder')['to'](this),this[_0xdf45('0x15')](this[_0xdf45('0xd')]),this[_0xdf45('0x3b')](_0xdf45('0x4'));})),this[_0xdf45('0x37')];}[_0xdf45('0x1c')](){this[_0xdf45('0xd')]&&this[_0xdf45('0xd')][_0xdf45('0x1c')]();}async[_0xdf45('0x1b')](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this[_0xdf45('0xd')]&&(await this[_0xdf45('0x37')],await this[_0xdf45('0xd')][_0xdf45('0x1b')]()),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x3e92d7}=this,_0x3101aa=new _0x270c7d(_0x3e92d7);return _0x3101aa[_0xdf45('0x20')]({'attributes':{'class':[_0xdf45('0x19')]}}),_0x3101aa[_0xdf45('0x28')]=!0x0,_0x3101aa[_0xdf45('0x2d')]('label')['to'](this,'submitLabel'),_0x3101aa['on'](_0xdf45('0x11'),()=>{this[_0xdf45('0x3b')](_0xdf45('0x32'),this[_0xdf45('0x22')]);}),_0x3101aa['bind'](_0xdf45('0x6'))['to'](this,_0xdf45('0x22'),this,'disabledSubmit',(_0x371557,_0x1621c0)=>!_0x1621c0&&!!_0x371557['trim']()),_0x3101aa;}[_0xdf45('0x2b')](){const {locale:_0x4ce27c}=this,_0x2a0061=new _0x270c7d(_0x4ce27c);return _0x2a0061[_0xdf45('0x20')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x2a0061[_0xdf45('0x1a')]=_0x151946(_0x4ce27c,_0xdf45('0x17')),_0x2a0061['withText']=!0x0,_0x2a0061['on'](_0xdf45('0x11'),()=>{this['editor'][_0xdf45('0x35')](''),this['fire'](_0xdf45('0xf'));}),_0x2a0061;}['_initializeFocusCycling'](_0x3c9592){const _0x20503f=this['focusTracker'],_0x3f8d52=new _0x38a0c7();[_0x3c9592['ui'][_0xdf45('0x39')],this[_0xdf45('0x33')],this[_0xdf45('0x2e')]][_0xdf45('0x1e')](_0x5807e7=>{_0x3f8d52[_0xdf45('0x24')](_0x5807e7),_0x20503f['add'](_0x5807e7['element']);});const _0x6a79a2=new _0x46705a({'focusables':_0x3f8d52,'focusTracker':_0x20503f});this[_0xdf45('0x25')][_0xdf45('0x16')](_0xdf45('0x2a'),(_0x3fb951,_0x35644a)=>{_0x6a79a2[_0xdf45('0x14')](),_0x35644a();},{'priority':_0xdf45('0x5')}),this[_0xdf45('0x25')][_0xdf45('0x16')]('shift\x20+\x20tab',(_0xd98b53,_0x5e5217)=>{_0x6a79a2[_0xdf45('0x3a')](),_0x5e5217();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4975=['destroy','arrowdown','add','ck-comments-archive__info','tab','length','_keystrokes','ck-comments-archive','shift\x20+\x20tab','arrowup','div','ck-comments-archive__header\x20','isActive','high','listenTo','_focusTracker','setTemplate','set','element','stopPropagation','_focusCycler','render','focus','ck-comments-archive__content','isEmpty','selectstart'];(function(_0x5e6256,_0x497586){const _0x50c902=function(_0x290734){while(--_0x290734){_0x5e6256['push'](_0x5e6256['shift']());}};_0x50c902(++_0x497586);}(_0x4975,0x1f0));const _0x50c9=function(_0x5e6256,_0x497586){_0x5e6256=_0x5e6256-0x0;let _0x50c902=_0x4975[_0x5e6256];return _0x50c902;};import{View as _0x5f0ec3,FocusCycler as _0x35f8bd}from'ckeditor5/src/ui';import{FocusTracker as _0xd47ab2,KeystrokeHandler as _0x301f8c}from'ckeditor5/src/utils';import{getTranslation as _0x3daa12}from'../../../utils/common-translations';export default class K extends _0x5f0ec3{constructor(_0x47858a,_0x5af1ee){super(_0x47858a),this[_0x50c9('0xf')](_0x50c9('0x16'),!_0x5af1ee[_0x50c9('0x3')]),this[_0x50c9('0xd')]=new _0xd47ab2(),this[_0x50c9('0x4')]=new _0x301f8c(),this['_focusables']=_0x5af1ee,this[_0x50c9('0x12')]=new _0x35f8bd({'focusables':this['_focusables'],'focusTracker':this[_0x50c9('0xd')],'keystrokeHandler':this[_0x50c9('0x4')],'actions':{'focusPrevious':_0x50c9('0x6'),'focusNext':_0x50c9('0x2')}}),this['listenTo'](_0x5af1ee,_0x50c9('0x0'),()=>{this['isEmpty']=!0x1;}),this[_0x50c9('0xc')](_0x5af1ee,'remove',(_0x1c7d35,_0x597980)=>{_0x597980[_0x50c9('0xa')]&&this['focus'](),_0x5af1ee['length']||(this[_0x50c9('0x16')]=!0x0);});const _0x135a53=this['bindTemplate'];this[_0x50c9('0xe')]({'tag':_0x50c9('0x8'),'attributes':{'dir':'auto','class':['ck',_0x50c9('0x5')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x50c9('0x9')]},'children':[{'text':_0x3daa12(_0x47858a,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':[_0x50c9('0x15')]},'children':[{'tag':'div','children':_0x5af1ee},{'tag':'p','attributes':{'class':[_0x50c9('0x1'),_0x135a53['if'](_0x50c9('0x16'),'ck-hidden',_0x45bc8a=>!_0x45bc8a)]},'children':[{'text':_0x3daa12(_0x47858a,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x50c9('0x13')](){super[_0x50c9('0x13')](),this[_0x50c9('0x4')][_0x50c9('0xc')](this[_0x50c9('0x10')]);const _0x4f1e8d=_0x3191a1=>_0x3191a1[_0x50c9('0x11')]();this[_0x50c9('0x4')][_0x50c9('0xf')]('arrowright',_0x4f1e8d),this[_0x50c9('0x4')][_0x50c9('0xf')]('arrowleft',_0x4f1e8d),this[_0x50c9('0x4')][_0x50c9('0xf')](_0x50c9('0x7'),_0x4f1e8d),this['_keystrokes'][_0x50c9('0xf')](_0x50c9('0x19'),_0x4f1e8d),this[_0x50c9('0xc')](this['element'],_0x50c9('0x17'),(_0x67e6c6,_0x18c9ad)=>{_0x18c9ad[_0x50c9('0x11')]();},{'priority':_0x50c9('0xb')});}['destroy'](){super['destroy'](),this[_0x50c9('0xd')][_0x50c9('0x18')](),this[_0x50c9('0x4')][_0x50c9('0x18')]();}['focus'](){this['element'][_0x50c9('0x14')]();}}
23
+ const _0x3286=['high','destroy','auto','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__info','shift\x20+\x20tab','_focusTracker','focus','element','selectstart','setTemplate','length','render','ck-comments-archive__header\x20','isEmpty','arrowleft','ck-comments-archive','bindTemplate','set','isActive','tab','ck-hidden','stopPropagation','arrowright','listenTo','div','COMMENTS_ARCHIVE','_focusables','arrowup','ck-comments-archive__content','_keystrokes'];(function(_0x14f3c8,_0x3286bd){const _0x1702da=function(_0x5f6f4a){while(--_0x5f6f4a){_0x14f3c8['push'](_0x14f3c8['shift']());}};_0x1702da(++_0x3286bd);}(_0x3286,0xbc));const _0x1702=function(_0x14f3c8,_0x3286bd){_0x14f3c8=_0x14f3c8-0x0;let _0x1702da=_0x3286[_0x14f3c8];return _0x1702da;};import{View as _0x13ebc5,FocusCycler as _0x553639}from'ckeditor5/src/ui';import{FocusTracker as _0x3f175b,KeystrokeHandler as _0x39aa37}from'ckeditor5/src/utils';import{getTranslation as _0x28b3b5}from'../../../utils/common-translations';export default class C extends _0x13ebc5{constructor(_0x205777,_0xcaae34){super(_0x205777),this[_0x1702('0x10')]('isEmpty',!_0xcaae34[_0x1702('0x9')]),this['_focusTracker']=new _0x3f175b(),this[_0x1702('0x1c')]=new _0x39aa37(),this[_0x1702('0x19')]=_0xcaae34,this['_focusCycler']=new _0x553639({'focusables':this[_0x1702('0x19')],'focusTracker':this[_0x1702('0x4')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x1702('0x3'),'focusNext':_0x1702('0x12')}}),this[_0x1702('0x16')](_0xcaae34,'add',()=>{this[_0x1702('0xc')]=!0x1;}),this[_0x1702('0x16')](_0xcaae34,'remove',(_0x8a09a6,_0x53ad51)=>{_0x53ad51[_0x1702('0x11')]&&this['focus'](),_0xcaae34[_0x1702('0x9')]||(this[_0x1702('0xc')]=!0x0);});const _0x5a6ec6=this[_0x1702('0xf')];this[_0x1702('0x8')]({'tag':'div','attributes':{'dir':_0x1702('0x0'),'class':['ck',_0x1702('0xe')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1702('0xb')]},'children':[{'text':_0x28b3b5(_0x205777,_0x1702('0x18'))}]},{'tag':_0x1702('0x17'),'attributes':{'class':[_0x1702('0x1b')]},'children':[{'tag':_0x1702('0x17'),'children':_0xcaae34},{'tag':'p','attributes':{'class':[_0x1702('0x2'),_0x5a6ec6['if'](_0x1702('0xc'),_0x1702('0x13'),_0x1a49a6=>!_0x1a49a6)]},'children':[{'text':_0x28b3b5(_0x205777,_0x1702('0x1'))}]}]}]});}[_0x1702('0xa')](){super['render'](),this[_0x1702('0x1c')]['listenTo'](this[_0x1702('0x6')]);const _0x176148=_0x4b650f=>_0x4b650f[_0x1702('0x14')]();this[_0x1702('0x1c')]['set'](_0x1702('0x15'),_0x176148),this['_keystrokes'][_0x1702('0x10')](_0x1702('0xd'),_0x176148),this['_keystrokes']['set'](_0x1702('0x1a'),_0x176148),this['_keystrokes'][_0x1702('0x10')]('arrowdown',_0x176148),this[_0x1702('0x16')](this['element'],_0x1702('0x7'),(_0x4ceae1,_0x35ee9d)=>{_0x35ee9d['stopPropagation']();},{'priority':_0x1702('0x1d')});}[_0x1702('0x1e')](){super[_0x1702('0x1e')](),this[_0x1702('0x4')]['destroy'](),this['_keystrokes'][_0x1702('0x1e')]();}['focus'](){this[_0x1702('0x6')][_0x1702('0x5')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52a0=['resolvedBy','commentUpdated','_handleRemoveCommentModel','resolved','maxThreadTotalWeight','commentViews','_shouldCollapse','focus','insert','maxCommentsWhenCollapsed','resolvedCommentView','add','authoredAt','removeComment','_handleInfoComment','editorConfig','visibleViews','_config','refreshVisibleViews','length','_collapsedCommentsView','locale','Marked\x20as\x20resolved','ck-thread__comments','destroy','remove','hasDirtyComment','_updateHasDirtyComment','change:isActive','isResolved','listenTo','_handleNewCommentModel','CommentView','delete','weight','_findOptimalIndex','comments','change:isResolved','_model','isActive','get','createCollection','equal','isEditMode','count','from','change:hasDirtyComment','_rearrangeCollapse','collapse','_calculatePosition','stopListening','delegate','maxCommentCharsWhenCollapsed','set'];(function(_0x36047f,_0x52a069){const _0x4b2e6e=function(_0x57e9fd){while(--_0x57e9fd){_0x36047f['push'](_0x36047f['shift']());}};_0x4b2e6e(++_0x52a069);}(_0x52a0,0x147));const _0x4b2e=function(_0x36047f,_0x52a069){_0x36047f=_0x36047f-0x0;let _0x4b2e6e=_0x52a0[_0x36047f];return _0x4b2e6e;};import{View as _0x5fc3da}from'ckeditor5/src/ui';import{diff as _0x3f5fd9,Collection as _0x1df76b}from'ckeditor5/src/utils';import{getTranslation as _0xd46926}from'../../../utils/common-translations';import _0x4192ea from'./collapsedcommentsview';export default class wt extends _0x5fc3da{constructor(_0x4129d8,_0x420ba9,_0x4e9201){super(_0x4129d8),this['set'](_0x4b2e('0x17'),!0x1),this[_0x4b2e('0x32')](_0x4b2e('0x10'),_0x420ba9[_0x4b2e('0x21')][_0x4b2e('0x10')]),this[_0x4b2e('0x32')](_0x4b2e('0x24'),!0x1),this[_0x4b2e('0x23')]=_0x420ba9,this['_config']=_0x4e9201,this[_0x4b2e('0x2')]=this[_0x4b2e('0x26')](),this[_0x4b2e('0xd')]=this['createCollection'](),this[_0x4b2e('0x7')]=null,this['_collapsedCommentsView']=new _0x4192ea(_0x4129d8),this['_collapsedCommentsView']['bind'](_0x4b2e('0x29'))['to'](this,'length',_0x481519=>_0x481519-this['_config'][_0x4b2e('0x6')]);for(const _0xc70bac of _0x420ba9['comments'])this['_handleNewCommentModel'](_0xc70bac);this['_handleInfoComment'](),this[_0x4b2e('0x1b')](_0x420ba9[_0x4b2e('0x21')],_0x4b2e('0x8'),(_0x4bfa02,_0x212641)=>{const _0x2bbf15=this[_0x4b2e('0x2e')](_0x212641);this[_0x4b2e('0x10')]++,this[_0x4b2e('0x1c')](_0x212641,_0x2bbf15),this['refreshVisibleViews']();}),this[_0x4b2e('0x1b')](_0x420ba9[_0x4b2e('0x21')],_0x4b2e('0x16'),(_0x2edefa,_0x5e0be2)=>{this[_0x4b2e('0x10')]--,this[_0x4b2e('0x35')](_0x5e0be2),this[_0x4b2e('0xf')]();}),this[_0x4b2e('0x1b')](_0x420ba9,_0x4b2e('0x34'),()=>this['refreshVisibleViews']()),this[_0x4b2e('0x1b')](_0x420ba9,_0x4b2e('0x22'),()=>this[_0x4b2e('0xb')]()),this['on'](_0x4b2e('0x19'),()=>this[_0x4b2e('0xf')]()),this['on'](_0x4b2e('0x2b'),()=>this[_0x4b2e('0xf')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x4b2e('0x14')]},'children':this[_0x4b2e('0xd')]});}get[_0x4b2e('0x3')](){return this[_0x4b2e('0x23')][_0x4b2e('0x1f')]>this[_0x4b2e('0xe')][_0x4b2e('0x1')]&&!this[_0x4b2e('0x24')]&&!this[_0x4b2e('0x17')];}['render'](){super['render'](),this['refreshVisibleViews']();}['focus'](){this['element'][_0x4b2e('0x4')]();}['destroy'](){this['_collapsedCommentsView'][_0x4b2e('0x15')]();for(const _0x2ea870 of this[_0x4b2e('0x2')])_0x2ea870[_0x4b2e('0x15')]();super['destroy']();}['refreshVisibleViews'](){this[_0x4b2e('0x3')]?this['_rearrangeCollapse']():this['_rearrangeExpand']();}[_0x4b2e('0x1c')](_0xd7f182,_0x248d2b){const _0x144e90=new this[(_0x4b2e('0xe'))][(_0x4b2e('0x1d'))](this[_0x4b2e('0x12')],_0xd7f182,{'maxCommentCharsWhenCollapsed':this['_config'][_0x4b2e('0x31')],'formatDateTime':this[_0x4b2e('0xe')]['formatDateTime'],'editorConfig':this[_0x4b2e('0xe')][_0x4b2e('0xc')]});_0x144e90['viewUid']=_0xd7f182['id'],_0x144e90[_0x4b2e('0x30')](_0x4b2e('0xa'))['to'](this),_0x144e90[_0x4b2e('0x30')]('updateComment')['to'](this),_0x144e90[_0x4b2e('0x30')]('resolveCommentThread')['to'](this),this[_0x4b2e('0x1b')](_0x144e90,'change:isEditMode',()=>this[_0x4b2e('0x18')]()),this['commentViews'][_0x4b2e('0x8')](_0x144e90,_0x248d2b);}[_0x4b2e('0x2e')](_0xb52e2e){const _0x2a7172=this[_0x4b2e('0x23')][_0x4b2e('0x20')](_0xb52e2e);return this[_0x4b2e('0x7')]?this['resolvedCommentView'][_0x4b2e('0x9')]>_0xb52e2e[_0x4b2e('0x9')]?_0x2a7172-0x1:_0x2a7172:_0x2a7172-0x1;}[_0x4b2e('0xb')](){if(this[_0x4b2e('0x23')][_0x4b2e('0x1a')]){const _0x555b3a={'id':_0x4b2e('0x0'),'author':this['_model'][_0x4b2e('0x33')],'authoredAt':this['_model']['resolvedAt'],'content':_0xd46926(this[_0x4b2e('0x12')],_0x4b2e('0x13')),'attributes':{}};this[_0x4b2e('0x7')]=new this['_config'][(_0x4b2e('0x1d'))](this[_0x4b2e('0x12')],_0x555b3a,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x4b2e('0xe')]['formatDateTime'],'editorConfig':this[_0x4b2e('0xe')][_0x4b2e('0xc')],'isSystemComment':!0x0}),this['commentViews']['add'](this[_0x4b2e('0x7')],this[_0x4b2e('0x23')][_0x4b2e('0x20')](_0x555b3a));}else this['resolvedCommentView']&&(this[_0x4b2e('0x2')][_0x4b2e('0x16')](this[_0x4b2e('0x7')]),this[_0x4b2e('0x7')][_0x4b2e('0x15')](),this[_0x4b2e('0x7')]=null);this[_0x4b2e('0xf')]();}[_0x4b2e('0x35')](_0x3b2acd){const _0x1c28c2=this[_0x4b2e('0x2')][_0x4b2e('0x16')](_0x3b2acd['id']);this[_0x4b2e('0x2f')](_0x1c28c2),_0x1c28c2[_0x4b2e('0x28')]&&this[_0x4b2e('0x18')](),_0x1c28c2['destroy']();}[_0x4b2e('0x18')](){this[_0x4b2e('0x17')]=Array[_0x4b2e('0x2a')](this[_0x4b2e('0x2')])['some'](_0xa6a8b8=>_0xa6a8b8[_0x4b2e('0x28')]);}[_0x4b2e('0x2c')](){const _0x10f27a=function(_0x56e64b){const _0x56916b=new _0x1df76b();for(const _0x48f04a of _0x56e64b)_0x56916b[_0x4b2e('0x8')](_0x48f04a);return _0x56916b;}(this['commentViews']),_0x228c54=this[_0x4b2e('0x11')]['count'];for(let _0x208608=0x1;_0x208608<=_0x228c54;_0x208608++)_0x10f27a[_0x4b2e('0x16')](0x1);for(const _0x36fb0e of _0x10f27a)_0x36fb0e[_0x4b2e('0x2d')]();_0x228c54>0x0&&_0x10f27a[_0x4b2e('0x8')](this[_0x4b2e('0x11')],0x1),ss(_0x3f5fd9(Array['from'](this[_0x4b2e('0xd')]),Array['from'](_0x10f27a)),this[_0x4b2e('0xd')],_0x10f27a);}['_rearrangeExpand'](){ss(_0x3f5fd9(Array['from'](this[_0x4b2e('0xd')]),Array['from'](this['commentViews'])),this[_0x4b2e('0xd')],this[_0x4b2e('0x2')]);for(const _0x1f670b of this[_0x4b2e('0xd')])_0x1f670b['expand']();}}function ss(_0x3f901c,_0x320cdb,_0x32597f){let _0x5743e0=0x0;for(const _0x26cd88 of _0x3f901c)switch(_0x26cd88){case _0x4b2e('0x5'):_0x320cdb['add'](_0x32597f[_0x4b2e('0x25')](_0x5743e0),_0x5743e0),_0x5743e0++;break;case _0x4b2e('0x1e'):_0x320cdb[_0x4b2e('0x16')](_0x5743e0);break;case _0x4b2e('0x27'):_0x5743e0++;}}
23
+ const _0x38ff=['length','collapse','_rearrangeCollapse','expand','add','resolvedAt','change:isEditMode','element','setTemplate','refreshVisibleViews','comments','change:isResolved','_collapsedCommentsView','delegate','insert','hasDirtyComment','_model','_handleNewCommentModel','viewUid','isActive','count','visibleViews','Marked\x20as\x20resolved','focus','render','resolvedBy','updateComment','_handleInfoComment','authoredAt','destroy','maxCommentCharsWhenCollapsed','createCollection','commentViews','_config','formatDateTime','remove','resolveCommentThread','maxThreadTotalWeight','commentUpdated','isEditMode','resolvedCommentView','CommentView','_calculatePosition','_updateHasDirtyComment','weight','stopListening','_rearrangeExpand','_handleRemoveCommentModel','change:isActive','equal','set','from','delete','locale','_findOptimalIndex','listenTo'];(function(_0x8887cb,_0x38ff89){const _0x19d6dc=function(_0xb51966){while(--_0xb51966){_0x8887cb['push'](_0x8887cb['shift']());}};_0x19d6dc(++_0x38ff89);}(_0x38ff,0x87));const _0x19d6=function(_0x8887cb,_0x38ff89){_0x8887cb=_0x8887cb-0x0;let _0x19d6dc=_0x38ff[_0x8887cb];return _0x19d6dc;};import{View as _0x5069c7}from'ckeditor5/src/ui';import{diff as _0x383a87,Collection as _0x44e4c3}from'ckeditor5/src/utils';import{getTranslation as _0x11f5f9}from'../../../utils/common-translations';import _0xe2cc93 from'./collapsedcommentsview';export default class Z extends _0x5069c7{constructor(_0x3f5f18,_0x2285a8,_0x35fe9e){super(_0x3f5f18),this[_0x19d6('0x1b')](_0x19d6('0x30'),!0x1),this[_0x19d6('0x1b')](_0x19d6('0x21'),_0x2285a8[_0x19d6('0x2b')][_0x19d6('0x21')]),this[_0x19d6('0x1b')](_0x19d6('0x34'),!0x1),this[_0x19d6('0x31')]=_0x2285a8,this[_0x19d6('0xa')]=_0x35fe9e,this['commentViews']=this[_0x19d6('0x8')](),this[_0x19d6('0x36')]=this[_0x19d6('0x8')](),this[_0x19d6('0x11')]=null,this[_0x19d6('0x2d')]=new _0xe2cc93(_0x3f5f18),this[_0x19d6('0x2d')]['bind'](_0x19d6('0x35'))['to'](this,_0x19d6('0x21'),_0x54dc45=>_0x54dc45-this[_0x19d6('0xa')]['maxCommentsWhenCollapsed']);for(const _0x23419a of _0x2285a8[_0x19d6('0x2b')])this[_0x19d6('0x32')](_0x23419a);this[_0x19d6('0x4')](),this[_0x19d6('0x20')](_0x2285a8[_0x19d6('0x2b')],_0x19d6('0x25'),(_0x4f5df2,_0x372b91)=>{const _0x2e633c=this[_0x19d6('0x13')](_0x372b91);this[_0x19d6('0x21')]++,this[_0x19d6('0x32')](_0x372b91,_0x2e633c),this[_0x19d6('0x2a')]();}),this[_0x19d6('0x20')](_0x2285a8[_0x19d6('0x2b')],'remove',(_0x3586fa,_0x439fba)=>{this['length']--,this[_0x19d6('0x18')](_0x439fba),this[_0x19d6('0x2a')]();}),this[_0x19d6('0x20')](_0x2285a8,_0x19d6('0xf'),()=>this['refreshVisibleViews']()),this['listenTo'](_0x2285a8,_0x19d6('0x2c'),()=>this[_0x19d6('0x4')]()),this['on'](_0x19d6('0x19'),()=>this[_0x19d6('0x2a')]()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this[_0x19d6('0x29')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x19d6('0x36')]});}get['_shouldCollapse'](){return this['_model'][_0x19d6('0x15')]>this[_0x19d6('0xa')][_0x19d6('0xe')]&&!this[_0x19d6('0x34')]&&!this[_0x19d6('0x30')];}[_0x19d6('0x1')](){super[_0x19d6('0x1')](),this['refreshVisibleViews']();}[_0x19d6('0x0')](){this[_0x19d6('0x28')][_0x19d6('0x0')]();}[_0x19d6('0x6')](){this[_0x19d6('0x2d')]['destroy']();for(const _0x2b917a of this[_0x19d6('0x9')])_0x2b917a[_0x19d6('0x6')]();super[_0x19d6('0x6')]();}[_0x19d6('0x2a')](){this['_shouldCollapse']?this[_0x19d6('0x23')]():this[_0x19d6('0x17')]();}[_0x19d6('0x32')](_0x3f1d1c,_0x296681){const _0x5dc8a4=new this[(_0x19d6('0xa'))]['CommentView'](this['locale'],_0x3f1d1c,{'maxCommentCharsWhenCollapsed':this[_0x19d6('0xa')][_0x19d6('0x7')],'formatDateTime':this[_0x19d6('0xa')][_0x19d6('0xb')],'editorConfig':this[_0x19d6('0xa')]['editorConfig']});_0x5dc8a4[_0x19d6('0x33')]=_0x3f1d1c['id'],_0x5dc8a4['delegate']('removeComment')['to'](this),_0x5dc8a4['delegate'](_0x19d6('0x3'))['to'](this),_0x5dc8a4[_0x19d6('0x2e')](_0x19d6('0xd'))['to'](this),this[_0x19d6('0x20')](_0x5dc8a4,_0x19d6('0x27'),()=>this[_0x19d6('0x14')]()),this[_0x19d6('0x9')][_0x19d6('0x25')](_0x5dc8a4,_0x296681);}[_0x19d6('0x13')](_0x41afca){const _0x2b4506=this[_0x19d6('0x31')][_0x19d6('0x1f')](_0x41afca);return this[_0x19d6('0x11')]?this[_0x19d6('0x11')][_0x19d6('0x5')]>_0x41afca[_0x19d6('0x5')]?_0x2b4506-0x1:_0x2b4506:_0x2b4506-0x1;}[_0x19d6('0x4')](){if(this['_model'][_0x19d6('0x2')]&&this[_0x19d6('0x31')][_0x19d6('0x26')]){const _0x31d015={'id':'resolved','author':this[_0x19d6('0x31')]['resolvedBy'],'authoredAt':this['_model'][_0x19d6('0x26')],'content':_0x11f5f9(this['locale'],_0x19d6('0x37')),'attributes':{}};this['resolvedCommentView']=new this[(_0x19d6('0xa'))][(_0x19d6('0x12'))](this[_0x19d6('0x1e')],_0x31d015,{'maxCommentCharsWhenCollapsed':this[_0x19d6('0xa')][_0x19d6('0x7')],'formatDateTime':this[_0x19d6('0xa')][_0x19d6('0xb')],'editorConfig':this[_0x19d6('0xa')]['editorConfig'],'isSystemComment':!0x0}),this[_0x19d6('0x9')][_0x19d6('0x25')](this[_0x19d6('0x11')],this[_0x19d6('0x31')][_0x19d6('0x1f')](_0x31d015));}else this[_0x19d6('0x11')]&&(this[_0x19d6('0x9')]['remove'](this['resolvedCommentView']),this[_0x19d6('0x11')]['destroy'](),this[_0x19d6('0x11')]=null);this['refreshVisibleViews']();}[_0x19d6('0x18')](_0x1ce899){const _0x35e3df=this[_0x19d6('0x9')][_0x19d6('0xc')](_0x1ce899['id']);this[_0x19d6('0x16')](_0x35e3df),_0x35e3df['isEditMode']&&this[_0x19d6('0x14')](),_0x35e3df[_0x19d6('0x6')]();}[_0x19d6('0x14')](){this[_0x19d6('0x30')]=Array[_0x19d6('0x1c')](this[_0x19d6('0x9')])['some'](_0x15e3d7=>_0x15e3d7[_0x19d6('0x10')]);}['_rearrangeCollapse'](){const _0xe15bb7=function(_0x535fd9){const _0x4e71bb=new _0x44e4c3();for(const _0xe4622e of _0x535fd9)_0x4e71bb[_0x19d6('0x25')](_0xe4622e);return _0x4e71bb;}(this[_0x19d6('0x9')]),_0x409697=this[_0x19d6('0x2d')][_0x19d6('0x35')];for(let _0x1481ad=0x1;_0x1481ad<=_0x409697;_0x1481ad++)_0xe15bb7['remove'](0x1);for(const _0x1446a4 of _0xe15bb7)_0x1446a4[_0x19d6('0x22')]();_0x409697>0x0&&_0xe15bb7['add'](this[_0x19d6('0x2d')],0x1),ss(_0x383a87(Array[_0x19d6('0x1c')](this[_0x19d6('0x36')]),Array[_0x19d6('0x1c')](_0xe15bb7)),this[_0x19d6('0x36')],_0xe15bb7);}[_0x19d6('0x17')](){ss(_0x383a87(Array[_0x19d6('0x1c')](this[_0x19d6('0x36')]),Array[_0x19d6('0x1c')](this[_0x19d6('0x9')])),this[_0x19d6('0x36')],this[_0x19d6('0x9')]);for(const _0x590222 of this[_0x19d6('0x36')])_0x590222[_0x19d6('0x24')]();}}function ss(_0x21e1fc,_0x55ef8a,_0xa23f01){let _0x42e3d8=0x0;for(const _0x3590ea of _0x21e1fc)switch(_0x3590ea){case _0x19d6('0x2f'):_0x55ef8a[_0x19d6('0x25')](_0xa23f01['get'](_0x42e3d8),_0x42e3d8),_0x42e3d8++;break;case _0x19d6('0x1d'):_0x55ef8a['remove'](_0x42e3d8);break;case _0x19d6('0x1a'):_0x42e3d8++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3db9=['ck-annotation__actions','length','listenTo','querySelector','_trimContextValue','fire','element','_model','overlay','bind','hasContext','render','tooltip','classList','reopenCommentThread','value','reopenButtonView','div','_createReopenButton','span','isResolvable','_attachContextActions','mouseenter','isVisible','icon','mouseleave','remove','contextValue','context','ck-context-wrapper','ck-context--quotes','locale','lastIndexOf','execute','...','ck-thread__header','Reopen','bindTemplate','ck-context__value','label','substring'];(function(_0x4a5e27,_0x3db9fb){const _0x5d962b=function(_0x142c85){while(--_0x142c85){_0x4a5e27['push'](_0x4a5e27['shift']());}};_0x5d962b(++_0x3db9fb);}(_0x3db9,0x19c));const _0x5d96=function(_0x4a5e27,_0x3db9fb){_0x4a5e27=_0x4a5e27-0x0;let _0x5d962b=_0x3db9[_0x4a5e27];return _0x5d962b;};import{View as _0x2b74c9,ButtonView as _0x5ee784}from'ckeditor5/src/ui';import{getTranslation as _0x5dbb6c}from'../../../utils/common-translations';import _0x6f654b from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2b74c9{constructor(_0x18738d,_0x4ffed6){super(_0x18738d);const _0x1e8a72=this[_0x5d96('0x23')];this[_0x5d96('0x5')]=_0x4ffed6,this[_0x5d96('0xe')]=this['_createReopenButton'](),this[_0x5d96('0x7')](_0x5d96('0x8'))['to'](this[_0x5d96('0x5')],_0x5d96('0x1a'),_0x9674ee=>!!_0x9674ee),this['bind']('contextValue')['to'](this[_0x5d96('0x5')],_0x5d96('0x1a'),_0x571666=>_0x571666&&_0x571666[_0x5d96('0xd')]?this[_0x5d96('0x2')](_0x571666[_0x5d96('0xd')]):_0x5dbb6c(this[_0x5d96('0x1d')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5d96('0x21')]},'children':[{'tag':_0x5d96('0xf'),'attributes':{'class':[_0x5d96('0x1b')]},'children':[{'tag':_0x5d96('0xf'),'attributes':{'class':['ck-context',_0x1e8a72['if']('hasContext',_0x5d96('0x1c'))]},'children':[{'tag':_0x5d96('0x11'),'attributes':{'class':[_0x5d96('0x24')]},'children':[{'text':_0x1e8a72['to'](_0x5d96('0x19'))}]}]}]},{'tag':_0x5d96('0xf'),'attributes':{'class':[_0x5d96('0x27')]},'children':[this[_0x5d96('0xe')]]}]});}['render'](){super[_0x5d96('0x9')](),this[_0x5d96('0x13')]();}[_0x5d96('0x10')](){const _0x26d890=new _0x5ee784(this[_0x5d96('0x1d')]);return _0x26d890[_0x5d96('0x25')]=_0x5dbb6c(this[_0x5d96('0x1d')],'Reopen'),_0x26d890[_0x5d96('0xa')]=_0x5dbb6c(this['locale'],_0x5d96('0x22')),_0x26d890[_0x5d96('0x16')]=_0x6f654b,_0x26d890[_0x5d96('0x7')](_0x5d96('0x15'))['to'](this[_0x5d96('0x5')],_0x5d96('0x12')),_0x26d890['on'](_0x5d96('0x1f'),()=>{this[_0x5d96('0x3')](_0x5d96('0xc'),this[_0x5d96('0x5')]['id']);}),_0x26d890;}[_0x5d96('0x2')](_0x487fbc){if(_0x487fbc[_0x5d96('0x28')]<0x96)return _0x487fbc;const _0x3fd519=_0x487fbc[_0x5d96('0x1e')]('\x20',0x93);return _0x487fbc[_0x5d96('0x26')](0x0,_0x3fd519>-0x1?_0x3fd519:0x93)+_0x5d96('0x20');}[_0x5d96('0x13')](){const _0x5966fc=this[_0x5d96('0x4')][_0x5d96('0x1')]('.ck-context'),_0x53fb21=_0x5966fc['querySelector']('.ck-context__value');this[_0x5d96('0x0')](_0x5966fc,_0x5d96('0x14'),()=>{_0x53fb21['offsetWidth']<_0x53fb21['scrollWidth']&&_0x5966fc[_0x5d96('0xb')]['add'](_0x5d96('0x6'));}),this[_0x5d96('0x0')](_0x5966fc,_0x5d96('0x17'),()=>{_0x5966fc[_0x5d96('0xb')][_0x5d96('0x18')](_0x5d96('0x6'));});}}
23
+ const _0x22fd=['add','bindTemplate','reopenCommentThread','element','bind','label','ck-context','Comment\x20was\x20made\x20on\x20an\x20element','locale','icon','_attachContextActions','setTemplate','scrollWidth','listenTo','div','...','Reopen','_createReopenButton','overlay','render','length','_model','mouseleave','lastIndexOf','reopenButtonView','isVisible','value','querySelector','isResolvable','contextValue','.ck-context__value','ck-context--quotes','classList','_trimContextValue','ck-context-wrapper','context','.ck-context','hasContext','fire','ck-thread__header','tooltip'];(function(_0x4516ba,_0x22fda6){const _0x46a05d=function(_0x3e4311){while(--_0x3e4311){_0x4516ba['push'](_0x4516ba['shift']());}};_0x46a05d(++_0x22fda6);}(_0x22fd,0x186));const _0x46a0=function(_0x4516ba,_0x22fda6){_0x4516ba=_0x4516ba-0x0;let _0x46a05d=_0x22fd[_0x4516ba];return _0x46a05d;};import{View as _0x5be2d8,ButtonView as _0x16aa9b}from'ckeditor5/src/ui';import{getTranslation as _0x398b2a}from'../../../utils/common-translations';import _0x622cb5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x5be2d8{constructor(_0x430e64,_0x1d01c8){super(_0x430e64);const _0x1dcefb=this[_0x46a0('0x15')];this[_0x46a0('0x0')]=_0x1d01c8,this[_0x46a0('0x3')]=this[_0x46a0('0x25')](),this[_0x46a0('0x18')](_0x46a0('0x10'))['to'](this['_model'],_0x46a0('0xe'),_0x3b9a39=>!!_0x3b9a39),this[_0x46a0('0x18')](_0x46a0('0x8'))['to'](this[_0x46a0('0x0')],_0x46a0('0xe'),_0xe47a1b=>_0xe47a1b&&_0xe47a1b[_0x46a0('0x5')]?this[_0x46a0('0xc')](_0xe47a1b[_0x46a0('0x5')]):_0x398b2a(this['locale'],_0x46a0('0x1b'))),this[_0x46a0('0x1f')]({'tag':_0x46a0('0x22'),'attributes':{'class':[_0x46a0('0x12')]},'children':[{'tag':_0x46a0('0x22'),'attributes':{'class':[_0x46a0('0xd')]},'children':[{'tag':'div','attributes':{'class':[_0x46a0('0x1a'),_0x1dcefb['if']('hasContext',_0x46a0('0xa'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x1dcefb['to']('contextValue')}]}]}]},{'tag':_0x46a0('0x22'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x46a0('0x3')]]}]});}['render'](){super[_0x46a0('0x27')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2a0ac7=new _0x16aa9b(this[_0x46a0('0x1c')]);return _0x2a0ac7[_0x46a0('0x19')]=_0x398b2a(this['locale'],_0x46a0('0x24')),_0x2a0ac7[_0x46a0('0x13')]=_0x398b2a(this[_0x46a0('0x1c')],_0x46a0('0x24')),_0x2a0ac7[_0x46a0('0x1d')]=_0x622cb5,_0x2a0ac7[_0x46a0('0x18')](_0x46a0('0x4'))['to'](this['_model'],_0x46a0('0x7')),_0x2a0ac7['on']('execute',()=>{this[_0x46a0('0x11')](_0x46a0('0x16'),this[_0x46a0('0x0')]['id']);}),_0x2a0ac7;}['_trimContextValue'](_0xe9a517){if(_0xe9a517[_0x46a0('0x28')]<0x96)return _0xe9a517;const _0x24b024=_0xe9a517[_0x46a0('0x2')]('\x20',0x93);return _0xe9a517['substring'](0x0,_0x24b024>-0x1?_0x24b024:0x93)+_0x46a0('0x23');}[_0x46a0('0x1e')](){const _0x280452=this[_0x46a0('0x17')]['querySelector'](_0x46a0('0xf')),_0x479deb=_0x280452[_0x46a0('0x6')](_0x46a0('0x9'));this[_0x46a0('0x21')](_0x280452,'mouseenter',()=>{_0x479deb['offsetWidth']<_0x479deb[_0x46a0('0x20')]&&_0x280452[_0x46a0('0xb')][_0x46a0('0x14')](_0x46a0('0x26'));}),this[_0x46a0('0x21')](_0x280452,_0x46a0('0x1'),()=>{_0x280452[_0x46a0('0xb')]['remove'](_0x46a0('0x26'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2acf=['then','destroy','showButtons','ck-thread__user','setTemplate','set','userView','showInput','ck-comment__input-container','bindTemplate','extendTemplate','value','ck-thread__input','createEditor','commentInputView','editor'];(function(_0xc4fc6b,_0x2acfcf){var _0x1a9a4a=function(_0x3094ef){while(--_0x3094ef){_0xc4fc6b['push'](_0xc4fc6b['shift']());}};_0x1a9a4a(++_0x2acfcf);}(_0x2acf,0x97));var _0x1a9a=function(_0xc4fc6b,_0x2acfcf){_0xc4fc6b=_0xc4fc6b-0x0;var _0x1a9a4a=_0x2acf[_0xc4fc6b];return _0x1a9a4a;};import{View as _0x5e8955}from'ckeditor5/src/ui';import _0x49b357 from'./commentinputview';import{UserView as _0x49fe1a}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x5e8955{constructor(_0x3abbe8,_0x198d03,_0xf953a1){super(_0x3abbe8),this[_0x1a9a('0x7')]=new _0x49b357(_0x3abbe8,_0xf953a1),this['commentInputView']['bind'](_0x1a9a('0xb'))['to'](this['commentInputView']['focusTracker'],'isFocused',this[_0x1a9a('0x7')],_0x1a9a('0x4'),(_0xd9266e,_0xf9c1a0)=>_0xd9266e||!!_0xf9c1a0),this[_0x1a9a('0xe')](_0x1a9a('0x0'),!0x1),this['on']('change:showInput',()=>{this[_0x1a9a('0x0')]&&!this[_0x1a9a('0x7')][_0x1a9a('0x8')]&&this[_0x1a9a('0x7')][_0x1a9a('0x6')]();}),this[_0x1a9a('0xf')]=new _0x49fe1a(_0x3abbe8,_0x198d03),this[_0x1a9a('0xf')]['extendTemplate']({'attributes':{'class':_0x1a9a('0xc')}}),this[_0x1a9a('0x7')][_0x1a9a('0x3')]({'attributes':{'class':_0x1a9a('0x5')}}),this[_0x1a9a('0xd')]({'tag':'div','attributes':{'class':[_0x1a9a('0x1'),this[_0x1a9a('0x2')]['if']('showInput','ck-comment__input-container--active')]},'children':[this[_0x1a9a('0xf')],this['commentInputView']]});}[_0x1a9a('0xa')](){return this[_0x1a9a('0x7')][_0x1a9a('0xa')]()[_0x1a9a('0x9')](()=>super[_0x1a9a('0xa')]());}}
23
+ var _0x3631=['then','extendTemplate','userView','commentInputView','bindTemplate','setTemplate','createEditor','showInput','set','value','destroy','ck-thread__input','showButtons','isFocused','change:showInput','bind','editor','ck-comment__input-container'];(function(_0x33d888,_0x363109){var _0x308c6d=function(_0x3ed967){while(--_0x3ed967){_0x33d888['push'](_0x33d888['shift']());}};_0x308c6d(++_0x363109);}(_0x3631,0x13d));var _0x308c=function(_0x33d888,_0x363109){_0x33d888=_0x33d888-0x0;var _0x308c6d=_0x3631[_0x33d888];return _0x308c6d;};import{View as _0x167da8}from'ckeditor5/src/ui';import _0x493065 from'./commentinputview';import{UserView as _0x3c8d2e}from'ckeditor5-collaboration/src/collaboration-core';export default class tt extends _0x167da8{constructor(_0x49a647,_0x12825f,_0x5ba315){super(_0x49a647),this[_0x308c('0xa')]=new _0x493065(_0x49a647,_0x5ba315),this[_0x308c('0xa')][_0x308c('0x4')](_0x308c('0x1'))['to'](this['commentInputView']['focusTracker'],_0x308c('0x2'),this[_0x308c('0xa')],_0x308c('0x10'),(_0x488b6a,_0x387c6c)=>_0x488b6a||!!_0x387c6c),this[_0x308c('0xf')]('showInput',!0x1),this['on'](_0x308c('0x3'),()=>{this[_0x308c('0xe')]&&!this[_0x308c('0xa')][_0x308c('0x5')]&&this[_0x308c('0xa')][_0x308c('0xd')]();}),this[_0x308c('0x9')]=new _0x3c8d2e(_0x49a647,_0x12825f),this[_0x308c('0x9')][_0x308c('0x8')]({'attributes':{'class':'ck-thread__user'}}),this[_0x308c('0xa')][_0x308c('0x8')]({'attributes':{'class':_0x308c('0x0')}}),this[_0x308c('0xc')]({'tag':'div','attributes':{'class':[_0x308c('0x6'),this[_0x308c('0xb')]['if']('showInput','ck-comment__input-container--active')]},'children':[this[_0x308c('0x9')],this[_0x308c('0xa')]]});}['destroy'](){return this[_0x308c('0xa')][_0x308c('0x11')]()[_0x308c('0x7')](()=>super[_0x308c('0x11')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57ed=['Delete\x20comment\x20thread?','_createResolveButton','removeCommentThread','label','commentThreadChildren','isSystemComment','ck-thread__container','bindTemplate','execute','commentViews','commentThreadHeaderView','bind','_cancelAllConfirms','addMany','isReadOnly','check','render','removeButton','placeholder','stop','listenTo','get','then','isActive','change:isActive','fire','_bindFirstCommentView','ck-reset_all-excluded','_boundFirstCommentView','resolveButton','createCollection','isEnabled','set','cancelConfirm','actionIndicator','unbind','locale','setTemplate','ck-thread--','Write\x20a\x20comment...','ck-comment--resolve','getTemplate','remove','resolveCommentThread','ck-thread--active','.ck-thread__container','change:isResolved','isVisible','add','tooltip','length','isResolvable','commentsListView','Resolve','isResolved','isConfirm','extendTemplate','_model','containerElement'];(function(_0x13e36b,_0x57ed3e){const _0xa2722a=function(_0x31fc20){while(--_0x31fc20){_0x13e36b['push'](_0x13e36b['shift']());}};_0xa2722a(++_0x57ed3e);}(_0x57ed,0xb7));const _0xa272=function(_0x13e36b,_0x57ed3e){_0x13e36b=_0x13e36b-0x0;let _0xa2722a=_0x57ed[_0x13e36b];return _0xa2722a;};import{ConfirmMixin as _0x3a28c0}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1d648d}from'ckeditor5/src/ui';import{icons as _0xcb6c85}from'ckeditor5/src/core';import _0x75302d from'./basecommentthreadview';import{getTranslation as _0x20bc48}from'../../../utils/common-translations';export default class ct extends _0x3a28c0(_0x75302d){constructor(_0x57deff,_0x2cb262,_0x5a50b3,_0x4f903c){super(_0x57deff,_0x2cb262,_0x5a50b3,_0x4f903c),this[_0xa272('0x39')]=this[_0xa272('0x18')](),this[_0xa272('0x39')][_0xa272('0x7')]([this['commentsListView'],this['commentThreadInputView']]),this[_0xa272('0x33')]['isResolved']&&this['commentThreadChildren']['add'](this[_0xa272('0x4')],0x0),this[_0xa272('0x33')]['on'](_0xa272('0x28'),(_0x5ec7a3,_0x4663c3,_0x9b6edd)=>{_0x9b6edd?this[_0xa272('0x39')]['add'](this['commentThreadHeaderView'],0x0):this['commentThreadChildren'][_0xa272('0x24')](this['commentThreadHeaderView']);}),this[_0xa272('0x1a')](_0xa272('0x1c'),null),this[_0xa272('0x34')]=null,this[_0xa272('0x16')]=null,this[_0xa272('0x1e')]=_0x57deff,this[_0xa272('0x17')]=this['_createResolveButton'](),this[_0xa272('0x1f')](this[_0xa272('0x23')]()),this['on'](_0xa272('0x12'),(_0x33a869,_0x409c28,_0x4a9878)=>{_0x4a9878||this[_0xa272('0x6')]();}),this[_0xa272('0xe')](this[_0xa272('0x33')],'change:isReadOnly',(_0x1565ee,_0x1ca549,_0xd11317)=>{_0xd11317&&this[_0xa272('0x6')]();}),this[_0xa272('0x2c')]>0x0&&this[_0xa272('0x14')](),this[_0xa272('0xe')](this[_0xa272('0x2e')][_0xa272('0x3')],_0xa272('0x2a'),()=>{this[_0xa272('0x14')]();});}[_0xa272('0x23')](){const _0x3de17b=this[_0xa272('0x1')];return{'tag':'div','attributes':{'class':['ck-thread',_0xa272('0x15'),_0x3de17b['if'](_0xa272('0x11'),_0xa272('0x26')),_0x3de17b['if'](_0xa272('0x31'),'ck-thread--remove-confirmation'),_0x3de17b['to'](_0xa272('0x1c'),_0x14ef5f=>_0x14ef5f?_0xa272('0x20')+_0x14ef5f:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0xa272('0x0')},'children':this['commentThreadChildren']}]};}[_0xa272('0xa')](){super[_0xa272('0xa')](),this[_0xa272('0x34')]=this['element']['querySelector'](_0xa272('0x27'));}[_0xa272('0x6')](){this['cancelConfirm']();for(const _0x1f6803 of this[_0xa272('0x2e')][_0xa272('0x3')])_0x1f6803[_0xa272('0x1b')]();}[_0xa272('0x14')](){const {locale:_0x5362f1}=this,_0x528825=this['commentsListView']['commentViews'][_0xa272('0xf')](0x0);_0x528825===this[_0xa272('0x16')]||_0x528825[_0xa272('0x3a')]||(this[_0xa272('0x16')]=_0x528825,this[_0xa272('0x1d')](_0xa272('0x1c')),this['bind']('actionIndicator')['to'](_0x528825,_0xa272('0x1c'),_0x32522b=>'remove'===_0x32522b?_0xa272('0x24'):null),_0x528825[_0xa272('0xc')]=_0x20bc48(_0x5362f1,_0xa272('0x21')),_0x528825[_0xa272('0xb')]['on']('execute',_0x394279=>{_0x394279[_0xa272('0xd')](),this['showConfirm'](_0x20bc48(_0x5362f1,_0xa272('0x35')),this[_0xa272('0x34')])[_0xa272('0x10')](()=>{this[_0xa272('0x13')](_0xa272('0x37'));});},{'priority':'high'}),_0x528825['actionBar'][_0xa272('0x2a')](this[_0xa272('0x17')],0x0));}[_0xa272('0x36')](){const _0x4d0c30=new _0x1d648d(this[_0xa272('0x1e')]);return _0x4d0c30[_0xa272('0x38')]=_0x20bc48(this[_0xa272('0x1e')],_0xa272('0x2f')),_0x4d0c30[_0xa272('0x2b')]=_0x20bc48(this['locale'],_0xa272('0x2f')),_0x4d0c30['icon']=_0xcb6c85[_0xa272('0x9')],_0x4d0c30[_0xa272('0x32')]({'attributes':{'class':_0xa272('0x22')}}),_0x4d0c30[_0xa272('0x5')](_0xa272('0x19'))['to'](this[_0xa272('0x33')],_0xa272('0x8'),_0x542bd0=>!_0x542bd0),_0x4d0c30[_0xa272('0x5')](_0xa272('0x29'))['to'](this[_0xa272('0x33')],_0xa272('0x2d'),this[_0xa272('0x33')],_0xa272('0x30'),this,'isDirty',(_0xf32cbd,_0x19b740,_0x5ccb4e)=>_0xf32cbd&&!_0x19b740&&!_0x5ccb4e),_0x4d0c30['on'](_0xa272('0x2'),()=>{this[_0xa272('0x13')](_0xa272('0x25'),this['_model']['id']);}),_0x4d0c30;}}
23
+ const _0x48b8=['render','remove','fire','unbind','actionIndicator','check','containerElement','tooltip','change:isActive','isEnabled','then','Delete\x20comment\x20thread?','isSystemComment','execute','_boundFirstCommentView','commentThreadHeaderView','get','commentThreadChildren','.ck-thread__container','listenTo','_bindFirstCommentView','commentsListView','_createResolveButton','commentViews','bind','label','bindTemplate','extendTemplate','ck-thread--remove-confirmation','_cancelAllConfirms','isVisible','element','resolveButton','div','commentThreadInputView','Write\x20a\x20comment...','placeholder','setTemplate','isResolvable','removeButton','isConfirm','addMany','ck-comment--resolve','getTemplate','length','_model','showConfirm','set','isActive','locale','change:isReadOnly','ck-thread__container','removeCommentThread','querySelector','resolveCommentThread','add','isResolved','cancelConfirm','high','ck-reset_all-excluded','stop'];(function(_0x44ee5d,_0x48b83b){const _0x2a58c7=function(_0x54c134){while(--_0x54c134){_0x44ee5d['push'](_0x44ee5d['shift']());}};_0x2a58c7(++_0x48b83b);}(_0x48b8,0x185));const _0x2a58=function(_0x44ee5d,_0x48b83b){_0x44ee5d=_0x44ee5d-0x0;let _0x2a58c7=_0x48b8[_0x44ee5d];return _0x2a58c7;};import{ConfirmMixin as _0x55920d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x320074}from'ckeditor5/src/ui';import{icons as _0x333917}from'ckeditor5/src/core';import _0x1aff2e from'./basecommentthreadview';import{getTranslation as _0x5db162}from'../../../utils/common-translations';export default class j extends _0x55920d(_0x1aff2e){constructor(_0x47bbdc,_0x4d59a5,_0x3fdc4a,_0x490170){super(_0x47bbdc,_0x4d59a5,_0x3fdc4a,_0x490170),this[_0x2a58('0x37')]=this['createCollection'](),this[_0x2a58('0x37')][_0x2a58('0x12')]([this[_0x2a58('0x3b')],this[_0x2a58('0xb')]]),this[_0x2a58('0x16')]['isResolved']&&this[_0x2a58('0x37')][_0x2a58('0x20')](this[_0x2a58('0x35')],0x0),this[_0x2a58('0x16')]['on']('change:isResolved',(_0x36466e,_0x3b3d6e,_0x11c16d)=>{_0x11c16d?this['commentThreadChildren'][_0x2a58('0x20')](this[_0x2a58('0x35')],0x0):this['commentThreadChildren']['remove'](this['commentThreadHeaderView']);}),this[_0x2a58('0x18')](_0x2a58('0x2a'),null),this['containerElement']=null,this[_0x2a58('0x34')]=null,this[_0x2a58('0x1a')]=_0x47bbdc,this[_0x2a58('0x9')]=this['_createResolveButton'](),this[_0x2a58('0xe')](this[_0x2a58('0x14')]()),this['on'](_0x2a58('0x2e'),(_0xbddb90,_0x49523f,_0x27b32e)=>{_0x27b32e||this['_cancelAllConfirms']();}),this[_0x2a58('0x39')](this[_0x2a58('0x16')],_0x2a58('0x1b'),(_0x409e4f,_0x885a64,_0x41a724)=>{_0x41a724&&this['_cancelAllConfirms']();}),this[_0x2a58('0x15')]>0x0&&this[_0x2a58('0x3a')](),this[_0x2a58('0x39')](this[_0x2a58('0x3b')]['commentViews'],_0x2a58('0x20'),()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x1aea2e=this[_0x2a58('0x3')];return{'tag':_0x2a58('0xa'),'attributes':{'class':['ck-thread',_0x2a58('0x24'),_0x1aea2e['if'](_0x2a58('0x19'),'ck-thread--active'),_0x1aea2e['if'](_0x2a58('0x11'),_0x2a58('0x5')),_0x1aea2e['to'](_0x2a58('0x2a'),_0x1b6263=>_0x1b6263?'ck-thread--'+_0x1b6263:'')],'data-thread-id':this[_0x2a58('0x16')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2a58('0xa'),'attributes':{'class':_0x2a58('0x1c')},'children':this[_0x2a58('0x37')]}]};}[_0x2a58('0x26')](){super[_0x2a58('0x26')](),this['containerElement']=this[_0x2a58('0x8')][_0x2a58('0x1e')](_0x2a58('0x38'));}[_0x2a58('0x6')](){this[_0x2a58('0x22')]();for(const _0x107c9d of this[_0x2a58('0x3b')]['commentViews'])_0x107c9d[_0x2a58('0x22')]();}[_0x2a58('0x3a')](){const {locale:_0x24cfd5}=this,_0x2c0550=this[_0x2a58('0x3b')][_0x2a58('0x0')][_0x2a58('0x36')](0x0);_0x2c0550===this[_0x2a58('0x34')]||_0x2c0550[_0x2a58('0x32')]||(this['_boundFirstCommentView']=_0x2c0550,this[_0x2a58('0x29')](_0x2a58('0x2a')),this['bind'](_0x2a58('0x2a'))['to'](_0x2c0550,_0x2a58('0x2a'),_0x22f25e=>_0x2a58('0x27')===_0x22f25e?_0x2a58('0x27'):null),_0x2c0550[_0x2a58('0xd')]=_0x5db162(_0x24cfd5,_0x2a58('0xc')),_0x2c0550[_0x2a58('0x10')]['on']('execute',_0x160fee=>{_0x160fee[_0x2a58('0x25')](),this[_0x2a58('0x17')](_0x5db162(_0x24cfd5,_0x2a58('0x31')),this[_0x2a58('0x2c')])[_0x2a58('0x30')](()=>{this[_0x2a58('0x28')](_0x2a58('0x1d'));});},{'priority':_0x2a58('0x23')}),_0x2c0550['actionBar']['add'](this['resolveButton'],0x0));}[_0x2a58('0x3c')](){const _0x40deae=new _0x320074(this[_0x2a58('0x1a')]);return _0x40deae[_0x2a58('0x2')]=_0x5db162(this[_0x2a58('0x1a')],'Resolve'),_0x40deae[_0x2a58('0x2d')]=_0x5db162(this[_0x2a58('0x1a')],'Resolve'),_0x40deae['icon']=_0x333917[_0x2a58('0x2b')],_0x40deae[_0x2a58('0x4')]({'attributes':{'class':_0x2a58('0x13')}}),_0x40deae[_0x2a58('0x1')](_0x2a58('0x2f'))['to'](this[_0x2a58('0x16')],'isReadOnly',_0x5f1b8f=>!_0x5f1b8f),_0x40deae[_0x2a58('0x1')](_0x2a58('0x7'))['to'](this[_0x2a58('0x16')],_0x2a58('0xf'),this[_0x2a58('0x16')],_0x2a58('0x21'),(_0x29b916,_0x1548ea)=>_0x29b916&&!_0x1548ea),_0x40deae['on'](_0x2a58('0x33'),()=>{this[_0x2a58('0x28')](_0x2a58('0x1f'),this[_0x2a58('0x16')]['id']);}),_0x40deae;}}
@@ -51,8 +51,8 @@ export default class CommentView extends CommentView_base {
51
51
  *
52
52
  * Elements that may be found in the action bar (depending on the comment view properties):
53
53
  *
54
- * * resolve comment thread button (only if the comment is the first comment),
55
- * * dropdown with actions ({@link ~CommentView#dropdown `dropdown`}).
54
+ * * the resolve comment thread button (only if the comment is the first comment),
55
+ * * a dropdown with actions ({@link ~CommentView#dropdown `dropdown`}).
56
56
  */
57
57
  actionBar: ViewCollection;
58
58
  /**