@ckeditor/ckeditor5-comments 40.2.0 → 41.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/lang/translations/af.po +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/bs.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es-co.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/id.po +1 -1
  29. package/lang/translations/it.po +1 -1
  30. package/lang/translations/ja.po +1 -1
  31. package/lang/translations/jv.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/nl.po +1 -1
  37. package/lang/translations/no.po +1 -1
  38. package/lang/translations/pl.po +1 -1
  39. package/lang/translations/pt-br.po +1 -1
  40. package/lang/translations/pt.po +1 -1
  41. package/lang/translations/ro.po +1 -1
  42. package/lang/translations/ru.po +1 -1
  43. package/lang/translations/sk.po +1 -1
  44. package/lang/translations/sq.po +1 -1
  45. package/lang/translations/sr-latn.po +1 -1
  46. package/lang/translations/sr.po +1 -1
  47. package/lang/translations/sv.po +1 -1
  48. package/lang/translations/th.po +1 -1
  49. package/lang/translations/tk.po +1 -1
  50. package/lang/translations/tr.po +1 -1
  51. package/lang/translations/tt.po +1 -1
  52. package/lang/translations/ug.po +1 -1
  53. package/lang/translations/uk.po +1 -1
  54. package/lang/translations/ur.po +1 -1
  55. package/lang/translations/vi.po +1 -1
  56. package/lang/translations/zh-cn.po +1 -1
  57. package/lang/translations/zh.po +1 -1
  58. package/package.json +4 -3
  59. package/src/annotations/annotation.d.ts +7 -7
  60. package/src/annotations/annotation.js +2 -2
  61. package/src/annotations/annotationcollection.d.ts +4 -4
  62. package/src/annotations/annotationcollection.js +2 -2
  63. package/src/annotations/annotations.d.ts +7 -7
  64. package/src/annotations/annotations.js +2 -2
  65. package/src/annotations/annotationsuis.d.ts +6 -6
  66. package/src/annotations/annotationsuis.js +2 -2
  67. package/src/annotations/editorannotations.d.ts +5 -5
  68. package/src/annotations/editorannotations.js +2 -2
  69. package/src/annotations/inlineannotations.d.ts +7 -7
  70. package/src/annotations/inlineannotations.js +2 -2
  71. package/src/annotations/narrowsidebar.d.ts +7 -7
  72. package/src/annotations/narrowsidebar.js +2 -2
  73. package/src/annotations/sidebar.d.ts +6 -6
  74. package/src/annotations/sidebar.js +2 -2
  75. package/src/annotations/view/annotationcounterbuttonview.d.ts +3 -3
  76. package/src/annotations/view/annotationcounterbuttonview.js +2 -2
  77. package/src/annotations/view/annotationview.d.ts +3 -3
  78. package/src/annotations/view/annotationview.js +2 -2
  79. package/src/annotations/view/sidebaritemview.d.ts +3 -3
  80. package/src/annotations/view/sidebaritemview.js +2 -2
  81. package/src/annotations/view/sidebarview.d.ts +3 -3
  82. package/src/annotations/view/sidebarview.js +2 -2
  83. package/src/annotations/widesidebar.d.ts +6 -6
  84. package/src/annotations/widesidebar.js +2 -2
  85. package/src/augmentation.d.ts +2 -2
  86. package/src/augmentation.js +1 -1
  87. package/src/comments/addcommentthreadcommand.d.ts +2 -2
  88. package/src/comments/addcommentthreadcommand.js +2 -2
  89. package/src/comments/commentsarchive.d.ts +5 -5
  90. package/src/comments/commentsarchive.js +2 -2
  91. package/src/comments/commentsarchiveui.d.ts +6 -6
  92. package/src/comments/commentsarchiveui.js +2 -2
  93. package/src/comments/commentsediting.d.ts +7 -7
  94. package/src/comments/commentsediting.js +2 -2
  95. package/src/comments/commentsrepository.d.ts +12 -12
  96. package/src/comments/commentsrepository.js +2 -2
  97. package/src/comments/commentsui.d.ts +6 -6
  98. package/src/comments/commentsui.js +2 -2
  99. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +2 -2
  100. package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
  101. package/src/comments/integrations/importword.d.ts +2 -2
  102. package/src/comments/integrations/importword.js +2 -2
  103. package/src/comments/ui/commenteditor/commenteditor.d.ts +5 -5
  104. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  105. package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -4
  106. package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
  107. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +5 -5
  108. package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
  109. package/src/comments/ui/commentthreadcontroller.d.ts +5 -5
  110. package/src/comments/ui/commentthreadcontroller.js +2 -2
  111. package/src/comments/ui/view/basecommentthreadview.d.ts +9 -9
  112. package/src/comments/ui/view/basecommentthreadview.js +2 -2
  113. package/src/comments/ui/view/basecommentview.d.ts +5 -5
  114. package/src/comments/ui/view/basecommentview.js +2 -2
  115. package/src/comments/ui/view/collapsedcommentsview.d.ts +3 -3
  116. package/src/comments/ui/view/collapsedcommentsview.js +2 -2
  117. package/src/comments/ui/view/commentcontentview.d.ts +3 -3
  118. package/src/comments/ui/view/commentcontentview.js +2 -2
  119. package/src/comments/ui/view/commentinputview.d.ts +5 -5
  120. package/src/comments/ui/view/commentinputview.js +2 -2
  121. package/src/comments/ui/view/commentsarchiveview.d.ts +4 -4
  122. package/src/comments/ui/view/commentsarchiveview.js +2 -2
  123. package/src/comments/ui/view/commentslistview.d.ts +6 -6
  124. package/src/comments/ui/view/commentslistview.js +2 -2
  125. package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -4
  126. package/src/comments/ui/view/commentthreadheaderview.js +2 -2
  127. package/src/comments/ui/view/commentthreadinputview.d.ts +6 -6
  128. package/src/comments/ui/view/commentthreadinputview.js +2 -2
  129. package/src/comments/ui/view/commentthreadview.d.ts +8 -8
  130. package/src/comments/ui/view/commentthreadview.js +2 -2
  131. package/src/comments/ui/view/commentview.d.ts +9 -9
  132. package/src/comments/ui/view/commentview.js +2 -2
  133. package/src/comments.d.ts +11 -11
  134. package/src/comments.js +2 -2
  135. package/src/commentsonly.d.ts +3 -3
  136. package/src/commentsonly.js +2 -2
  137. package/src/config.d.ts +4 -4
  138. package/src/config.js +1 -1
  139. package/src/index.d.ts +21 -21
  140. package/src/index.js +2 -2
  141. package/src/utils/common-translations.d.ts +2 -2
  142. package/src/utils/common-translations.js +2 -2
  143. package/src/utils/createmutationobserver.d.ts +1 -1
  144. package/src/utils/createmutationobserver.js +2 -2
  145. package/theme/annotation-inline.css +1 -1
  146. package/theme/annotation.css +5 -1
  147. package/theme/comment.css +1 -1
  148. package/theme/commentinput.css +1 -1
  149. package/theme/commentmarker.css +1 -1
  150. package/theme/commentsarchive.css +2 -2
  151. package/theme/commentthread.css +5 -1
  152. package/theme/icons/add-comment.svg +1 -1
  153. package/theme/icons/comments-archive.svg +1 -1
  154. package/theme/icons/edit-comment.svg +1 -1
  155. package/theme/icons/remove-comment.svg +1 -1
  156. package/theme/sidebar-narrow.css +1 -1
  157. package/theme/sidebar.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b2=['hasMarkerForId','execute','length','getCommentThread','add','map','editor','CommentThreadInputView','init','from','componentFactory','change:activeAnnotations','focus','_threadToController','has','CommentsUI','bind','commands','view','editing','get','low','hasCommentThread','Comment','push','_viewToController','activeMarker','innerView','_createUIButton','getRange','pluginName','addSourceCollector','comment:','addComment','model','focusTracker','addCommentThread','plugins','getAllMarkersForId','locale','isEnabled','listenTo','removeCommentThread','requires','stop','label','icon'];(function(_0x3913c6,_0x18b2a0){const _0x4aa71e=function(_0x5941cb){while(--_0x5941cb){_0x3913c6['push'](_0x3913c6['shift']());}};_0x4aa71e(++_0x18b2a0);}(_0x18b2,0x153));const _0x4aa7=function(_0x3913c6,_0x18b2a0){_0x3913c6=_0x3913c6-0x0;let _0x4aa71e=_0x18b2[_0x3913c6];return _0x4aa71e;};import{Plugin as _0x4dfc8e}from'ckeditor5/src/core';import _0x44dec1 from'./commentsrepository';import _0x1235c7 from'./commentsediting';import _0x19f431 from'../annotations/editorannotations';import{ButtonView as _0x350bdf}from'ckeditor5/src/ui';import _0x1e1bb4 from'../../theme/icons/add-comment.svg';import _0x51cc03 from'../annotations/annotations';import _0x1ac630 from'./ui/view/commentslistview';import _0x5713e0 from'./ui/view/commentthreadinputview';import{getTranslation as _0x490581}from'../utils/common-translations';export default class e extends _0x4dfc8e{static get[_0x4aa7('0x14')](){return _0x4aa7('0x5');}static get[_0x4aa7('0x21')](){return[_0x44dec1,_0x1235c7,_0x19f431,_0x51cc03];}get['CommentsListView'](){return _0x1ac630;}get[_0x4aa7('0x2c')](){return _0x5713e0;}[_0x4aa7('0x2d')](){const _0x29f077=this[_0x4aa7('0x2b')],_0xbab109=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x44dec1),_0x946ccc=_0x29f077['plugins']['get'](_0x1235c7),_0x29023b=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x51cc03),_0x44c010=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x19f431);_0x29f077['ui'][_0x4aa7('0x0')][_0x4aa7('0x29')]('comment',()=>this[_0x4aa7('0x12')]()),_0x44c010[_0x4aa7('0x15')](()=>{const _0x680fe4=[];for(const [_0x4bba7f,_0xdb9e8a]of _0xbab109[_0x4aa7('0x3')]){const _0x4c13e6=_0x946ccc[_0x4aa7('0x1c')](_0x4bba7f['id']),_0x28900e=_0x4c13e6['map'](_0xbe504=>_0xbe504[_0x4aa7('0x13')]());_0x4c13e6[_0x4aa7('0x27')]>0x0&&_0x680fe4[_0x4aa7('0xe')]([_0xdb9e8a[_0x4aa7('0x8')],_0x28900e]);}return _0x680fe4;}),this[_0x4aa7('0x1f')](_0x29023b,_0x4aa7('0x1'),(_0x3dc788,_0x9a50f8,_0x224e23)=>{const _0x20c3ef=Array[_0x4aa7('0x2e')](_0x224e23)[_0x4aa7('0x2a')](_0x185dd2=>_0x185dd2[_0x4aa7('0x11')])['find'](_0x272b50=>_0xbab109[_0x4aa7('0xf')][_0x4aa7('0x4')](_0x272b50));if(!_0x20c3ef)return void(_0x946ccc[_0x4aa7('0x10')]=null);const _0x38c1d0=_0xbab109['_viewToController']['get'](_0x20c3ef)[_0x4aa7('0x18')]['id'],_0x50f3b8=_0x4aa7('0x16')+_0x38c1d0;_0x38c1d0&&_0x946ccc[_0x4aa7('0x25')](_0x38c1d0)?_0x946ccc[_0x4aa7('0x10')]=_0x50f3b8:_0x946ccc[_0x4aa7('0x10')]&&(_0x946ccc[_0x4aa7('0x10')]=null);}),this[_0x4aa7('0x1f')](_0xbab109,_0x4aa7('0x20'),(_0x4bf240,{threadId:_0x2b22e2,isFromAdapter:_0xfd3e2c})=>{!_0xfd3e2c&&_0x29f077['ui'][_0x4aa7('0x19')]['isFocused']&&_0x946ccc[_0x4aa7('0x25')](_0x2b22e2)&&_0x29f077[_0x4aa7('0x9')][_0x4aa7('0x8')]['focus']();},{'priority':'highest'}),this[_0x4aa7('0x1f')](_0xbab109,_0x4aa7('0x17'),(_0x12e7f7,{threadId:_0x51a37a,isFromAdapter:_0x472a19})=>{if(_0x472a19||!_0x946ccc['hasMarkerForId'](_0x51a37a)||!_0xbab109[_0x4aa7('0xc')](_0x51a37a))return;0x1===_0xbab109[_0x4aa7('0x28')](_0x51a37a)[_0x4aa7('0x27')]&&(_0x29f077['editing'][_0x4aa7('0x8')][_0x4aa7('0x2')](),_0x12e7f7[_0x4aa7('0x22')]());},{'priority':_0x4aa7('0xb')});}['_createUIButton'](){const _0x307f5b=this['editor'],_0x328d4e=new _0x350bdf(_0x307f5b[_0x4aa7('0x1d')]),_0x2ec8ba=_0x307f5b[_0x4aa7('0x7')]['get'](_0x4aa7('0x1a'));return _0x328d4e[_0x4aa7('0x23')]=_0x490581(_0x307f5b[_0x4aa7('0x1d')],'Comment'),_0x328d4e['tooltip']=_0x490581(_0x307f5b[_0x4aa7('0x1d')],_0x4aa7('0xd')),_0x328d4e[_0x4aa7('0x24')]=_0x1e1bb4,_0x328d4e[_0x4aa7('0x6')](_0x4aa7('0x1e'))['to'](_0x2ec8ba),this[_0x4aa7('0x1f')](_0x328d4e,'execute',()=>_0x2ec8ba[_0x4aa7('0x26')]()),_0x328d4e;}}
23
+ const _0x44de=['get','_viewToController','model','editing','add','icon','addCommentThread','addSourceCollector','pluginName','listenTo','view','execute','stop','addComment','highest','map','isFocused','getRange','_createUIButton','change:activeAnnotations','Comment','componentFactory','CommentThreadInputView','init','from','comment:','tooltip','plugins','innerView','activeMarker','label','getAllMarkersForId','bind','isEnabled','removeCommentThread','locale','commands','hasMarkerForId','length','_threadToController','focus','editor','find','comment'];(function(_0x2de574,_0x44de0d){const _0x47a34f=function(_0x387760){while(--_0x387760){_0x2de574['push'](_0x2de574['shift']());}};_0x47a34f(++_0x44de0d);}(_0x44de,0x124));const _0x47a3=function(_0x2de574,_0x44de0d){_0x2de574=_0x2de574-0x0;let _0x47a34f=_0x44de[_0x2de574];return _0x47a34f;};import{Plugin as _0x2f3550}from'ckeditor5/src/core.js';import _0x18d26d from'./commentsrepository.js';import _0x1137c0 from'./commentsediting.js';import _0x2f8b83 from'../annotations/editorannotations.js';import{ButtonView as _0x2b729b}from'ckeditor5/src/ui.js';import _0x5a8b77 from'../../theme/icons/add-comment.svg';import _0x4be674 from'../annotations/annotations.js';import _0x5cf315 from'./ui/view/commentslistview.js';import _0x304349 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x4f9711}from'../utils/common-translations.js';export default class s extends _0x2f3550{static get[_0x47a3('0x18')](){return'CommentsUI';}static get['requires'](){return[_0x18d26d,_0x1137c0,_0x2f8b83,_0x4be674];}get['CommentsListView'](){return _0x5cf315;}get[_0x47a3('0x26')](){return _0x304349;}[_0x47a3('0x27')](){const _0x196ccc=this[_0x47a3('0xd')],_0x316655=_0x196ccc[_0x47a3('0x2b')][_0x47a3('0x10')](_0x18d26d),_0x279100=_0x196ccc[_0x47a3('0x2b')][_0x47a3('0x10')](_0x1137c0),_0x10bf7b=_0x196ccc['plugins'][_0x47a3('0x10')](_0x4be674),_0x3ccca7=_0x196ccc[_0x47a3('0x2b')][_0x47a3('0x10')](_0x2f8b83);_0x196ccc['ui'][_0x47a3('0x25')][_0x47a3('0x14')](_0x47a3('0xf'),()=>this[_0x47a3('0x22')]()),_0x3ccca7[_0x47a3('0x17')](()=>{const _0x2f78fb=[];for(const [_0x5724f3,_0x570f80]of _0x316655[_0x47a3('0xb')]){const _0x18cda3=_0x279100[_0x47a3('0x3')](_0x5724f3['id']),_0x3c89e6=_0x18cda3[_0x47a3('0x1f')](_0x4b5318=>_0x4b5318[_0x47a3('0x21')]());_0x18cda3[_0x47a3('0xa')]>0x0&&_0x2f78fb['push']([_0x570f80[_0x47a3('0x1a')],_0x3c89e6]);}return _0x2f78fb;}),this[_0x47a3('0x19')](_0x10bf7b,_0x47a3('0x23'),(_0x1802b8,_0x3a5923,_0x305e87)=>{const _0xb7fe30=Array[_0x47a3('0x28')](_0x305e87)['map'](_0x18ffbe=>_0x18ffbe[_0x47a3('0x0')])[_0x47a3('0xe')](_0x3346ed=>_0x316655[_0x47a3('0x11')]['has'](_0x3346ed));if(!_0xb7fe30)return void(_0x279100[_0x47a3('0x1')]=null);const _0x3cebf8=_0x316655[_0x47a3('0x11')][_0x47a3('0x10')](_0xb7fe30)[_0x47a3('0x12')]['id'],_0x23ab94=_0x47a3('0x29')+_0x3cebf8;_0x3cebf8&&_0x279100[_0x47a3('0x9')](_0x3cebf8)?_0x279100[_0x47a3('0x1')]=_0x23ab94:_0x279100['activeMarker']&&(_0x279100[_0x47a3('0x1')]=null);}),this['listenTo'](_0x316655,_0x47a3('0x6'),(_0x1b4b8e,{threadId:_0x22b9e7,isFromAdapter:_0xa95000})=>{!_0xa95000&&_0x196ccc['ui']['focusTracker'][_0x47a3('0x20')]&&_0x279100['hasMarkerForId'](_0x22b9e7)&&_0x196ccc[_0x47a3('0x13')][_0x47a3('0x1a')]['focus']();},{'priority':_0x47a3('0x1e')}),this[_0x47a3('0x19')](_0x316655,_0x47a3('0x1d'),(_0x521c9c,{threadId:_0x2b2de4,isFromAdapter:_0x2f4902})=>{if(_0x2f4902||!_0x279100['hasMarkerForId'](_0x2b2de4)||!_0x316655['hasCommentThread'](_0x2b2de4))return;0x1===_0x316655['getCommentThread'](_0x2b2de4)[_0x47a3('0xa')]&&(_0x196ccc[_0x47a3('0x13')][_0x47a3('0x1a')][_0x47a3('0xc')](),_0x521c9c[_0x47a3('0x1c')]());},{'priority':'low'});}[_0x47a3('0x22')](){const _0x192c24=this[_0x47a3('0xd')],_0x5b4209=new _0x2b729b(_0x192c24[_0x47a3('0x7')]),_0x2f9404=_0x192c24[_0x47a3('0x8')][_0x47a3('0x10')](_0x47a3('0x16'));return _0x5b4209[_0x47a3('0x2')]=_0x4f9711(_0x192c24['locale'],_0x47a3('0x24')),_0x5b4209[_0x47a3('0x2a')]=_0x4f9711(_0x192c24[_0x47a3('0x7')],'Comment'),_0x5b4209[_0x47a3('0x15')]=_0x5a8b77,_0x5b4209[_0x47a3('0x4')](_0x47a3('0x5'))['to'](_0x2f9404),this[_0x47a3('0x19')](_0x5b4209,_0x47a3('0x1b'),()=>_0x2f9404[_0x47a3('0x1b')]()),_0x5b4209;}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/integrations/commentsrestrictededitingmode
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for restricted editing mode feature from restricted editing package.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c13=['plugins','enableCommand','get','editor','afterInit','RestrictedEditingModeEditing','has'];(function(_0x41b735,_0x4c1365){const _0x1fc13a=function(_0x1b313b){while(--_0x1b313b){_0x41b735['push'](_0x41b735['shift']());}};_0x1fc13a(++_0x4c1365);}(_0x4c13,0x178));const _0x1fc1=function(_0x41b735,_0x4c1365){_0x41b735=_0x41b735-0x0;let _0x1fc13a=_0x4c13[_0x41b735];return _0x1fc13a;};import{Plugin as _0x10eef2}from'ckeditor5/src/core';export default class Y extends _0x10eef2{[_0x1fc1('0x6')](){const _0x1d82c4=this[_0x1fc1('0x5')];if(!_0x1d82c4[_0x1fc1('0x2')][_0x1fc1('0x1')](_0x1fc1('0x0')))return;_0x1d82c4['plugins'][_0x1fc1('0x4')](_0x1fc1('0x0'))[_0x1fc1('0x3')]('addCommentThread');}}
23
+ const _0x5bd4=['editor','afterInit','has','plugins','enableCommand','addCommentThread','get'];(function(_0x349167,_0x5bd442){const _0x57fc0c=function(_0x207e5d){while(--_0x207e5d){_0x349167['push'](_0x349167['shift']());}};_0x57fc0c(++_0x5bd442);}(_0x5bd4,0x141));const _0x57fc=function(_0x349167,_0x5bd442){_0x349167=_0x349167-0x0;let _0x57fc0c=_0x5bd4[_0x349167];return _0x57fc0c;};import{Plugin as _0x4fbf3e}from'ckeditor5/src/core.js';export default class Y extends _0x4fbf3e{[_0x57fc('0x2')](){const _0x5994ae=this[_0x57fc('0x1')];if(!_0x5994ae[_0x57fc('0x4')][_0x57fc('0x3')]('RestrictedEditingModeEditing'))return;_0x5994ae[_0x57fc('0x4')][_0x57fc('0x0')]('RestrictedEditingModeEditing')[_0x57fc('0x5')](_0x57fc('0x6'));}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for the import from Word feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1407=['define','plugins','commands','dataInsert','listenTo','high','execute','basic','addCommentThread','_handleImportedData','editor','afterInit','collaboration.channelId','get','collaboration_features','importWord','config'];(function(_0x17d205,_0x1407d6){const _0x5b0ffd=function(_0x12103c){while(--_0x12103c){_0x17d205['push'](_0x17d205['shift']());}};_0x5b0ffd(++_0x1407d6);}(_0x1407,0xc8));const _0x5b0f=function(_0x17d205,_0x1407d6){_0x17d205=_0x17d205-0x0;let _0x5b0ffd=_0x1407[_0x17d205];return _0x5b0ffd;};import{Plugin as _0x56a53b}from'ckeditor5/src/core';import{priorities as _0x20abe5}from'ckeditor5/src/utils';import{Users as _0x30f305}from'ckeditor5-collaboration/src/collaboration-core';import _0xf1e050 from'../commentsrepository';export default class Z extends _0x56a53b{constructor(_0x57eeac){super(_0x57eeac),this[_0x5b0f('0xe')]['config'][_0x5b0f('0x4')]('importWord.formatting.comments',_0x5b0f('0xb'));}[_0x5b0f('0xf')](){const _0x203bbb=this['editor'],_0x3a30fc=_0x203bbb[_0x5b0f('0x6')][_0x5b0f('0x0')](_0x5b0f('0x2')),_0x1e2a6b=_0x203bbb[_0x5b0f('0x5')][_0x5b0f('0x0')](_0x30f305);_0x3a30fc&&(_0x3a30fc['on'](_0x5b0f('0xa'),(_0x408384,[,_0x77c2e9])=>{_0x77c2e9[_0x5b0f('0x1')]={'comments':!0x0,'user_id':_0x1e2a6b['me']['id']};},{'priority':_0x20abe5[_0x5b0f('0x9')]+0xa}),this[_0x5b0f('0x8')](_0x3a30fc,_0x5b0f('0x7'),this[_0x5b0f('0xd')]));}['_handleImportedData'](_0x356e02,_0x19b2dd){const {comment_threads:_0x3c8ca0}=_0x19b2dd;_0x3c8ca0&&_0x3c8ca0['forEach'](({thread_id:_0x21afdd,comments:_0x43ac47,is_resolved:_0x44c234})=>{const _0x2cac7a=new Date(),_0x2acac9=_0x43ac47['map'](({author:_0x8cb219,content:_0x326d86,created_at:_0x2a1b1c})=>({'content':_0x326d86,'authorId':this[_0x5b0f('0xe')]['plugins'][_0x5b0f('0x0')](_0x30f305)['me']['id'],'createdAt':_0x2cac7a,'attributes':{'@external':{'authorName':_0x8cb219,'createdAt':_0x2a1b1c?new Date(_0x2a1b1c):new Date(),'source':_0x5b0f('0x2')}}})),_0x2389bb=this[_0x5b0f('0xe')][_0x5b0f('0x3')][_0x5b0f('0x0')](_0x5b0f('0x10'));this[_0x5b0f('0xe')][_0x5b0f('0x5')][_0x5b0f('0x0')](_0xf1e050)[_0x5b0f('0xc')]({'channelId':_0x2389bb,'threadId':_0x21afdd,'comments':_0x2acac9,'resolvedAt':_0x44c234?_0x2cac7a:null});});}}
23
+ const _0x3b08=['collaboration_features','listenTo','config','get','importWord','importWord.formatting.comments','define','map','dataInsert','plugins','editor','addCommentThread','basic','_handleImportedData','collaboration.channelId','commands'];(function(_0x168a8f,_0x3b085){const _0x424d77=function(_0x22a8f9){while(--_0x22a8f9){_0x168a8f['push'](_0x168a8f['shift']());}};_0x424d77(++_0x3b085);}(_0x3b08,0xc2));const _0x424d=function(_0x168a8f,_0x3b085){_0x168a8f=_0x168a8f-0x0;let _0x424d77=_0x3b08[_0x168a8f];return _0x424d77;};import{Plugin as _0x2a45b4}from'ckeditor5/src/core.js';import{priorities as _0x64cc9e}from'ckeditor5/src/utils.js';import{Users as _0x1d449c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5df313 from'../commentsrepository.js';export default class Z extends _0x2a45b4{constructor(_0xf22a8b){super(_0xf22a8b),this[_0x424d('0x8')][_0x424d('0x0')][_0x424d('0x4')](_0x424d('0x3'),_0x424d('0xa'));}['afterInit'](){const _0xd3733e=this['editor'],_0x26377=_0xd3733e[_0x424d('0xd')]['get']('importWord'),_0x5785c3=_0xd3733e['plugins'][_0x424d('0x1')](_0x1d449c);_0x26377&&(_0x26377['on']('execute',(_0xdc2c66,[,_0xf5a26d])=>{_0xf5a26d[_0x424d('0xe')]={'comments':!0x0,'user_id':_0x5785c3['me']['id']};},{'priority':_0x64cc9e['high']+0xa}),this[_0x424d('0xf')](_0x26377,_0x424d('0x6'),this[_0x424d('0xb')]));}[_0x424d('0xb')](_0x55a841,_0x25130c){const {comment_threads:_0xbb73af}=_0x25130c;_0xbb73af&&_0xbb73af['forEach'](({thread_id:_0x176c71,comments:_0x100319,is_resolved:_0x7e532c})=>{const _0x3db457=new Date(),_0x539d64=_0x100319[_0x424d('0x5')](({author:_0x8960cc,content:_0x2e97fd,created_at:_0x5b03f3})=>({'content':_0x2e97fd,'authorId':this[_0x424d('0x8')][_0x424d('0x7')][_0x424d('0x1')](_0x1d449c)['me']['id'],'createdAt':_0x3db457,'attributes':{'@external':{'authorName':_0x8960cc,'createdAt':_0x5b03f3?new Date(_0x5b03f3):new Date(),'source':_0x424d('0x2')}}})),_0x47006e=this[_0x424d('0x8')][_0x424d('0x0')][_0x424d('0x1')](_0x424d('0xc'));this[_0x424d('0x8')][_0x424d('0x7')][_0x424d('0x1')](_0x5df313)[_0x424d('0x9')]({'channelId':_0x47006e,'threadId':_0x176c71,'comments':_0x539d64,'resolvedAt':_0x7e532c?_0x3db457:null});});}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditor
7
7
  */
8
- import { Editor, type EditorConfig } from 'ckeditor5/src/core';
9
- import CommentEditorUI from './commenteditorui';
10
- import { type PlaceholderableElement } from 'ckeditor5/src/engine';
11
- declare const CommentEditor_base: import("ckeditor5/src/utils").Mixed<import("ckeditor5/src/utils").Mixed<typeof Editor, import("ckeditor5/src/core").DataApi>, import("ckeditor5/src/utils").Observable>;
8
+ import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
9
+ import CommentEditorUI from './commenteditorui.js';
10
+ import { type PlaceholderableElement } from 'ckeditor5/src/engine.js';
11
+ declare const CommentEditor_base: import("ckeditor5/src/utils.js").Mixed<import("ckeditor5/src/utils.js").Mixed<typeof Editor, import("ckeditor5/src/core.js").DataApi>, import("ckeditor5/src/utils.js").Observable>;
12
12
  export default class CommentEditor extends CommentEditor_base {
13
13
  static defaultPlugins: EditorConfig['plugins'];
14
14
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d62=['destroy','placeholder','name','fire','setSelection','ready','view','initPlugins','childCount','placeholderElement','init','then','createRoot','document','_updatePlaceholder','initialData','end','defaultPlugins','change:placeholder','plugins','config','focus','low','change','model','create','getRoot','getChild'];(function(_0x208d24,_0x3d6289){const _0x36e929=function(_0x353ef4){while(--_0x353ef4){_0x208d24['push'](_0x208d24['shift']());}};_0x36e929(++_0x3d6289);}(_0x3d62,0xec));const _0x36e9=function(_0x208d24,_0x3d6289){_0x208d24=_0x208d24-0x0;let _0x36e929=_0x3d62[_0x208d24];return _0x36e929;};import{Editor as _0x2d009c,DataApiMixin as _0x21f2f9}from'ckeditor5/src/core';import _0x544577 from'./commenteditorui';import{ObservableMixin as _0x5cefd7}from'ckeditor5/src/utils';import{enablePlaceholder as _0xcc9b70,disablePlaceholder as _0x297cf5}from'ckeditor5/src/engine';import{Clipboard as _0xdb3038}from'ckeditor5/src/clipboard';import{Enter as _0x1df91d,ShiftEnter as _0xa524bb}from'ckeditor5/src/enter';import{SelectAll as _0x7f2e8f}from'ckeditor5/src/select-all';import{Typing as _0x45fdb0}from'ckeditor5/src/typing';import{Undo as _0x27058c}from'ckeditor5/src/undo';import{Paragraph as _0x854ebe}from'ckeditor5/src/paragraph';const Mt=[_0xdb3038,_0x1df91d,_0xa524bb,_0x7f2e8f,_0x45fdb0,_0x27058c,_0x854ebe];export default class Nt extends _0x5cefd7(_0x21f2f9(_0x2d009c)){constructor(_0x203787={}){(_0x203787=Object['assign']({},_0x203787))[_0x36e9('0x7')]||(_0x203787[_0x36e9('0x7')]=Nt[_0x36e9('0x5')]),super(_0x203787),this['ui']=new _0x544577(this),this['set']('placeholder',''),this['model'][_0x36e9('0x1')]['on'](_0x36e9('0xb'),()=>this['_updatePlaceholder'](),{'priority':_0x36e9('0xa')}),this['on'](_0x36e9('0x6'),()=>this['_updatePlaceholder']()),this[_0x36e9('0xc')]['document'][_0x36e9('0x0')]();}[_0x36e9('0xd')](){const _0x297741=this[_0x36e9('0x8')]['get'](_0x36e9('0x3'))||'';return this[_0x36e9('0x17')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x1a')]())[_0x36e9('0x1b')](()=>this['data']['init'](_0x297741))[_0x36e9('0x1b')](()=>this[_0x36e9('0x13')](_0x36e9('0x15')));}['destroy'](){return super[_0x36e9('0x10')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x10')]());}[_0x36e9('0x9')](){this[_0x36e9('0xc')]['change'](_0x4cc7ac=>{const _0x4457ea=this[_0x36e9('0xc')][_0x36e9('0x1')][_0x36e9('0xe')](),_0x2f3291=_0x4457ea&&_0x4457ea[_0x36e9('0xf')](_0x4457ea['childCount']-0x1);_0x4cc7ac[_0x36e9('0x14')](_0x2f3291,_0x36e9('0x4')),this['editing'][_0x36e9('0x16')][_0x36e9('0x9')]();});}[_0x36e9('0x2')](){const _0x54696b=this['editing']['view'],_0x5a5266=_0x54696b['document'][_0x36e9('0xe')](),_0x2c7e69=_0x5a5266[_0x36e9('0xf')](0x0);_0x5a5266[_0x36e9('0x18')]>0x1||!_0x2c7e69||'p'!=_0x2c7e69[_0x36e9('0x12')]?this[_0x36e9('0x19')]&&this[_0x36e9('0x19')][_0x36e9('0x11')]&&(_0x297cf5(_0x54696b,this['placeholderElement']),this[_0x36e9('0x19')]=void 0x0):(this[_0x36e9('0x11')]&&(_0x2c7e69[_0x36e9('0x11')]=this[_0x36e9('0x11')]),_0xcc9b70({'view':_0x54696b,'element':_0x2c7e69,'keepOnFocus':!0x0}),this[_0x36e9('0x19')]=_0x2c7e69);}}Nt[_0x36e9('0x5')]=Mt;
23
+ const _0x4091=['_updatePlaceholder','initPlugins','create','data','get','then','end','model','setSelection','low','config','childCount','change','name','init','placeholder','defaultPlugins','plugins','createRoot','destroy','getChild','document','ready','focus','fire','editing','assign','change:placeholder','view','initialData','getRoot','placeholderElement'];(function(_0x211ef9,_0x40919b){const _0x6b88e9=function(_0x4b763f){while(--_0x4b763f){_0x211ef9['push'](_0x211ef9['shift']());}};_0x6b88e9(++_0x40919b);}(_0x4091,0xef));const _0x6b88=function(_0x211ef9,_0x40919b){_0x211ef9=_0x211ef9-0x0;let _0x6b88e9=_0x4091[_0x211ef9];return _0x6b88e9;};import{Editor as _0x3fc9ba,DataApiMixin as _0x1e4f2d}from'ckeditor5/src/core.js';import _0x5a445c from'./commenteditorui.js';import{ObservableMixin as _0x4a9b03}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x3d70ff,disablePlaceholder as _0x3a70c4}from'ckeditor5/src/engine.js';import{Clipboard as _0xa8beb3}from'ckeditor5/src/clipboard.js';import{Enter as _0x3282e1,ShiftEnter as _0x1b2b14}from'ckeditor5/src/enter.js';import{SelectAll as _0xbc51e9}from'ckeditor5/src/select-all.js';import{Typing as _0x27efa0}from'ckeditor5/src/typing.js';import{Undo as _0x1482e1}from'ckeditor5/src/undo.js';import{Paragraph as _0x3e2575}from'ckeditor5/src/paragraph.js';const Mt=[_0xa8beb3,_0x3282e1,_0x1b2b14,_0xbc51e9,_0x27efa0,_0x1482e1,_0x3e2575];class Nt extends _0x4a9b03(_0x1e4f2d(_0x3fc9ba)){constructor(_0x1e8985={}){(_0x1e8985=Object[_0x6b88('0xb')]({},_0x1e8985))[_0x6b88('0x2')]||(_0x1e8985[_0x6b88('0x2')]=Nt[_0x6b88('0x1')]),super(_0x1e8985),this['ui']=new _0x5a445c(this),this['set'](_0x6b88('0x0'),''),this[_0x6b88('0x18')]['document']['on'](_0x6b88('0x1d'),()=>this[_0x6b88('0x11')](),{'priority':_0x6b88('0x1a')}),this['on'](_0x6b88('0xc'),()=>this[_0x6b88('0x11')]()),this['model'][_0x6b88('0x6')][_0x6b88('0x3')]();}[_0x6b88('0x13')](){const _0xf7c096=this[_0x6b88('0x1b')][_0x6b88('0x15')](_0x6b88('0xe'))||'';return this[_0x6b88('0x12')]()[_0x6b88('0x16')](()=>this['ui'][_0x6b88('0x1f')]())[_0x6b88('0x16')](()=>this[_0x6b88('0x14')][_0x6b88('0x1f')](_0xf7c096))[_0x6b88('0x16')](()=>this[_0x6b88('0x9')](_0x6b88('0x7')));}[_0x6b88('0x4')](){return super[_0x6b88('0x4')]()[_0x6b88('0x16')](()=>this['ui'][_0x6b88('0x4')]());}[_0x6b88('0x8')](){this[_0x6b88('0x18')][_0x6b88('0x1d')](_0x1c17cf=>{const _0x9ad17f=this['model'][_0x6b88('0x6')][_0x6b88('0xf')](),_0x1cd369=_0x9ad17f&&_0x9ad17f[_0x6b88('0x5')](_0x9ad17f[_0x6b88('0x1c')]-0x1);_0x1c17cf[_0x6b88('0x19')](_0x1cd369,_0x6b88('0x17')),this[_0x6b88('0xa')][_0x6b88('0xd')][_0x6b88('0x8')]();});}[_0x6b88('0x11')](){const _0x51e50c=this['editing'][_0x6b88('0xd')],_0x1bceae=_0x51e50c['document'][_0x6b88('0xf')](),_0xd5af07=_0x1bceae[_0x6b88('0x5')](0x0);_0x1bceae[_0x6b88('0x1c')]>0x1||!_0xd5af07||'p'!=_0xd5af07[_0x6b88('0x1e')]?this[_0x6b88('0x10')]&&this[_0x6b88('0x10')]['placeholder']&&(_0x3a70c4(_0x51e50c,this[_0x6b88('0x10')]),this['placeholderElement']=void 0x0):(this[_0x6b88('0x0')]&&(_0xd5af07['placeholder']=this[_0x6b88('0x0')]),_0x3d70ff({'view':_0x51e50c,'element':_0xd5af07,'keepOnFocus':!0x0}),this[_0x6b88('0x10')]=_0xd5af07);}}Nt[_0x6b88('0x1')]=Mt;export default Nt;
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditorui
7
7
  */
8
- import { EditorUI } from 'ckeditor5/src/ui';
9
- import type { Editor } from 'ckeditor5/src/core';
10
- import CommentEditorUIView from './commenteditoruiview';
8
+ import { EditorUI } from 'ckeditor5/src/ui.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import CommentEditorUIView from './commenteditoruiview.js';
11
11
  export default class CommentEditorUI extends EditorUI {
12
12
  /**
13
13
  * The main (top–most) view of the editor UI.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36f6=['view','element','editor','destroy','editing','ready','render','init','rootName','locale','editable','isFocused','focusTracker','attachDomRoot','fire','document'];(function(_0x4b0049,_0x36f672){const _0x5ab94b=function(_0x308973){while(--_0x308973){_0x4b0049['push'](_0x4b0049['shift']());}};_0x5ab94b(++_0x36f672);}(_0x36f6,0x19f));const _0x5ab9=function(_0x4b0049,_0x36f672){_0x4b0049=_0x4b0049-0x0;let _0x5ab94b=_0x36f6[_0x4b0049];return _0x5ab94b;};import{EditorUI as _0x87404b}from'ckeditor5/src/ui';import _0x384d56 from'./commenteditoruiview';export default class Ft extends _0x87404b{constructor(_0x135aaa){super(_0x135aaa),this[_0x5ab9('0x1')]=new _0x384d56(_0x135aaa[_0x5ab9('0xa')],_0x135aaa[_0x5ab9('0x5')][_0x5ab9('0x1')]);}get[_0x5ab9('0x2')](){return this[_0x5ab9('0x1')][_0x5ab9('0x2')];}[_0x5ab9('0x8')](){const _0x17f462=this[_0x5ab9('0x3')][_0x5ab9('0x5')][_0x5ab9('0x1')],_0x59fe0c=this['view'][_0x5ab9('0xb')],_0xd836b5=_0x17f462[_0x5ab9('0x0')]['getRoot']();_0x59fe0c['name']=_0xd836b5[_0x5ab9('0x9')],this[_0x5ab9('0x1')][_0x5ab9('0x7')]();const _0xbc1d97=_0x59fe0c[_0x5ab9('0x2')];this['setEditableElement'](_0x59fe0c['name'],_0xbc1d97),this[_0x5ab9('0x1')][_0x5ab9('0xb')]['bind'](_0x5ab9('0xc'))['to'](this[_0x5ab9('0xd')]),_0x17f462[_0x5ab9('0xe')](_0xbc1d97),this[_0x5ab9('0xf')](_0x5ab9('0x6'));}[_0x5ab9('0x4')](){super['destroy'](),this[_0x5ab9('0x1')]['destroy']();}}
23
+ const _0x4075=['name','editing','element','init','editor','setEditableElement','fire','getRoot','focusTracker','locale','ready','destroy','view','editable','render','bind'];(function(_0x36abfd,_0x4075ce){const _0xe451fe=function(_0x1c5fd3){while(--_0x1c5fd3){_0x36abfd['push'](_0x36abfd['shift']());}};_0xe451fe(++_0x4075ce);}(_0x4075,0x149));const _0xe451=function(_0x36abfd,_0x4075ce){_0x36abfd=_0x36abfd-0x0;let _0xe451fe=_0x4075[_0x36abfd];return _0xe451fe;};import{EditorUI as _0x4dc5f6}from'ckeditor5/src/ui.js';import _0x1004c6 from'./commenteditoruiview.js';export default class Ft extends _0x4dc5f6{constructor(_0x1a3d99){super(_0x1a3d99),this[_0xe451('0x3')]=new _0x1004c6(_0x1a3d99[_0xe451('0x0')],_0x1a3d99[_0xe451('0x8')]['view']);}get[_0xe451('0x9')](){return this[_0xe451('0x3')][_0xe451('0x9')];}[_0xe451('0xa')](){const _0x143d6c=this[_0xe451('0xb')]['editing']['view'],_0x568640=this[_0xe451('0x3')][_0xe451('0x4')],_0x2024f0=_0x143d6c['document'][_0xe451('0xe')]();_0x568640['name']=_0x2024f0['rootName'],this[_0xe451('0x3')][_0xe451('0x5')]();const _0x34d469=_0x568640[_0xe451('0x9')];this[_0xe451('0xc')](_0x568640[_0xe451('0x7')],_0x34d469),this[_0xe451('0x3')][_0xe451('0x4')][_0xe451('0x6')]('isFocused')['to'](this[_0xe451('0xf')]),_0x143d6c['attachDomRoot'](_0x34d469),this[_0xe451('0xd')](_0xe451('0x1'));}[_0xe451('0x2')](){super['destroy'](),this[_0xe451('0x3')][_0xe451('0x2')]();}}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditoruiview
7
7
  */
8
- import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type { View } from 'ckeditor5/src/engine';
8
+ import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type { EditingView } from 'ckeditor5/src/engine.js';
11
11
  export default class CommentEditorUIView extends EditorUIView {
12
12
  /**
13
13
  * Collection of the child views located in the main (`.ck-editor__main`)
@@ -24,7 +24,7 @@ export default class CommentEditorUIView extends EditorUIView {
24
24
  * @param locale The locale instance.
25
25
  * @param editingView The editing view instance this view is related to.
26
26
  */
27
- constructor(locale: Locale, editingView: View);
27
+ constructor(locale: Locale, editingView: EditingView);
28
28
  /**
29
29
  * @inheritDoc
30
30
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9261=['text','ck-editor__main','ck-editor__aria-label_','ck-reset','presentation','uiLanguageDirection','element','focus','createCollection','Comment\x20editor','_voiceLabelView','main','render','add','editable','extendTemplate','setTemplate','comment','cke-editor__aria-label_','uiLanguage','_createVoiceLabel'];(function(_0x2b126d,_0x9261b8){const _0x2b69be=function(_0x2ea335){while(--_0x2ea335){_0x2b126d['push'](_0x2b126d['shift']());}};_0x2b69be(++_0x9261b8);}(_0x9261,0x119));const _0x2b69=function(_0x2b126d,_0x9261b8){_0x2b126d=_0x2b126d-0x0;let _0x2b69be=_0x9261[_0x2b126d];return _0x2b69be;};import{InlineEditableUIView as _0x10edc4,EditorUIView as _0x25a1c0,LabelView as _0x635612}from'ckeditor5/src/ui';import{uid as _0x1141c7}from'ckeditor5/src/utils';import{getTranslation as _0x43ea79}from'../../../utils/common-translations';export default class Rt extends _0x25a1c0{constructor(_0x133ba0,_0x39f4fc){super(_0x133ba0);const _0x158e91=_0x1141c7();this[_0x2b69('0x3')]=this[_0x2b69('0x0')](),this[_0x2b69('0x6')]=new _0x10edc4(_0x133ba0,_0x39f4fc),this[_0x2b69('0x2')]=this[_0x2b69('0xc')](_0x158e91,_0x133ba0),this[_0x2b69('0x8')]({'tag':'div','attributes':{'class':[_0x2b69('0x10'),'ck-editor','ck-rounded-corners','ck-comment__input'],'role':_0x2b69('0x9'),'dir':_0x133ba0[_0x2b69('0x12')],'lang':_0x133ba0[_0x2b69('0xb')],'aria-labelledby':_0x2b69('0xa')+_0x158e91},'children':[this[_0x2b69('0x2')],{'tag':'div','attributes':{'class':_0x2b69('0xe'),'role':_0x2b69('0x11')},'children':this[_0x2b69('0x3')]}]});}[_0x2b69('0x4')](){super[_0x2b69('0x4')](),this[_0x2b69('0x3')][_0x2b69('0x5')](this[_0x2b69('0x6')]);}[_0x2b69('0x14')](){this[_0x2b69('0x6')][_0x2b69('0x13')][_0x2b69('0x14')]();}[_0x2b69('0xc')](_0x416e29,_0x531322){const _0xd389d7=new _0x635612();return _0xd389d7[_0x2b69('0xd')]=_0x43ea79(_0x531322,_0x2b69('0x1')),_0xd389d7[_0x2b69('0x7')]({'attributes':{'id':_0x2b69('0xf')+_0x416e29,'class':'ck-voice-label'}}),_0xd389d7;}}
23
+ const _0x48ec=['div','ck-editor__main','setTemplate','ck-rounded-corners','_voiceLabelView','uiLanguageDirection','createCollection','_createVoiceLabel','Comment\x20editor','focus','text','main','ck-reset','cke-editor__aria-label_','uiLanguage','ck-editor__aria-label_','add','render','editable','comment','ck-comment__input'];(function(_0x1ddc4d,_0x48ec39){const _0x5a9122=function(_0x3223d7){while(--_0x3223d7){_0x1ddc4d['push'](_0x1ddc4d['shift']());}};_0x5a9122(++_0x48ec39);}(_0x48ec,0xe1));const _0x5a91=function(_0x1ddc4d,_0x48ec39){_0x1ddc4d=_0x1ddc4d-0x0;let _0x5a9122=_0x48ec[_0x1ddc4d];return _0x5a9122;};import{InlineEditableUIView as _0xfb6670,EditorUIView as _0x1a06c8,LabelView as _0x2a063f}from'ckeditor5/src/ui.js';import{uid as _0x24eb28}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b3275}from'../../../utils/common-translations.js';export default class Rt extends _0x1a06c8{constructor(_0x12e41d,_0x1995d5){super(_0x12e41d);const _0x3ce748=_0x24eb28();this['main']=this[_0x5a91('0xc')](),this[_0x5a91('0x3')]=new _0xfb6670(_0x12e41d,_0x1995d5),this[_0x5a91('0xa')]=this['_createVoiceLabel'](_0x3ce748,_0x12e41d),this[_0x5a91('0x8')]({'tag':_0x5a91('0x6'),'attributes':{'class':[_0x5a91('0x12'),'ck-editor',_0x5a91('0x9'),_0x5a91('0x5')],'role':_0x5a91('0x4'),'dir':_0x12e41d[_0x5a91('0xb')],'lang':_0x12e41d[_0x5a91('0x14')],'aria-labelledby':_0x5a91('0x13')+_0x3ce748},'children':[this[_0x5a91('0xa')],{'tag':_0x5a91('0x6'),'attributes':{'class':_0x5a91('0x7'),'role':'presentation'},'children':this[_0x5a91('0x11')]}]});}[_0x5a91('0x2')](){super['render'](),this['main'][_0x5a91('0x1')](this[_0x5a91('0x3')]);}[_0x5a91('0xf')](){this[_0x5a91('0x3')]['element']['focus']();}[_0x5a91('0xd')](_0x539f39,_0x1f4d9a){const _0x518642=new _0x2a063f();return _0x518642[_0x5a91('0x10')]=_0x1b3275(_0x1f4d9a,_0x5a91('0xe')),_0x518642['extendTemplate']({'attributes':{'id':_0x5a91('0x0')+_0x539f39,'class':'ck-voice-label'}}),_0x518642;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { CommentThread } from '../commentsrepository';
6
- import type { default as BaseCommentThreadView } from './view/basecommentthreadview';
5
+ import type { CommentThread } from '../commentsrepository.js';
6
+ import type { default as BaseCommentThreadView } from './view/basecommentthreadview.js';
7
7
  declare const CommentThreadController_base: {
8
- new (): import("ckeditor5/src/utils").Observable;
9
- prototype: import("ckeditor5/src/utils").Observable;
8
+ new (): import("ckeditor5/src/utils.js").Observable;
9
+ prototype: import("ckeditor5/src/utils.js").Observable;
10
10
  };
11
11
  /**
12
12
  * Controller for a comment thread.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13be=['reopen','removeCommentThread','listenTo','model','reopenCommentThread','addComment','remove','updateComment','getComment','_localUser','removeComment','submit','_isAttached','update','submitCommentThread','resolve','destroy','view','isResolved','stopListening'];(function(_0x2cfb18,_0x13bea3){var _0x5d30a6=function(_0x3976f8){while(--_0x3976f8){_0x2cfb18['push'](_0x2cfb18['shift']());}};_0x5d30a6(++_0x13bea3);}(_0x13be,0x121));var _0x5d30=function(_0x2cfb18,_0x13bea3){_0x2cfb18=_0x2cfb18-0x0;var _0x5d30a6=_0x13be[_0x2cfb18];return _0x5d30a6;};import{ObservableMixin as _0x130664}from'ckeditor5/src/utils';export default class ut extends _0x130664(){constructor(_0x4801ca,_0x130731){super(),this['model']=_0x4801ca,this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x0,this[_0x5d30('0x8')]=_0x130731,this[_0x5d30('0xd')](_0x130731,_0x5d30('0x5'),()=>this[_0x5d30('0x2')]()),this[_0x5d30('0xd')](_0x130731,_0x5d30('0xc'),()=>this['remove']()),this[_0x5d30('0xd')](_0x130731,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x130731,_0x5d30('0xf'),()=>this[_0x5d30('0xb')]()),this['listenTo'](_0x130731,_0x5d30('0x10'),(_0x34dd71,_0x507817)=>this[_0x5d30('0x10')](_0x507817)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x12'),(_0x45dc33,_0x25d75b,_0x2c265c)=>this['updateComment'](_0x25d75b,_0x2c265c)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x1'),(_0x5ca739,_0x2ff5b3)=>this[_0x5d30('0x1')](_0x2ff5b3));}[_0x5d30('0x2')](){this[_0x5d30('0xe')]['submit']();}[_0x5d30('0x11')](){this[_0x5d30('0xe')][_0x5d30('0x11')]();}[_0x5d30('0x6')](){this[_0x5d30('0xe')][_0x5d30('0x9')]||this[_0x5d30('0xe')][_0x5d30('0x6')]();}[_0x5d30('0xb')](){this['model'][_0x5d30('0x9')]&&this['model'][_0x5d30('0xb')]();}['addComment'](_0x3d0ebe){this[_0x5d30('0xe')][_0x5d30('0x10')]({'content':_0x3d0ebe,'authorId':this[_0x5d30('0x8')][_0x5d30('0x0')]['id']});}['updateComment'](_0x2f28cb,_0x13d5bc){this['model']['getComment'](_0x2f28cb)[_0x5d30('0x4')]({'content':_0x13d5bc});}[_0x5d30('0x1')](_0x3205c9){this[_0x5d30('0xe')][_0x5d30('0x13')](_0x3205c9)[_0x5d30('0x11')]();}[_0x5d30('0x7')](){this[_0x5d30('0xa')](),this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x1;}}
23
+ var _0x4d0a=['updateComment','_isAttached','removeCommentThread','submitCommentThread','addComment','reopenCommentThread','resolve','listenTo','remove','submit','resolveCommentThread','isResolved','destroy','reopen','getComment','removeComment','update','view','model'];(function(_0x1d57fb,_0x4d0a24){var _0x2c0a6a=function(_0x5073d4){while(--_0x5073d4){_0x1d57fb['push'](_0x1d57fb['shift']());}};_0x2c0a6a(++_0x4d0a24);}(_0x4d0a,0xdf));var _0x2c0a=function(_0x1d57fb,_0x4d0a24){_0x1d57fb=_0x1d57fb-0x0;var _0x2c0a6a=_0x4d0a[_0x1d57fb];return _0x2c0a6a;};import{ObservableMixin as _0x42d29f}from'ckeditor5/src/utils.js';export default class ut extends _0x42d29f(){constructor(_0x492a60,_0x3b386b){super(),this[_0x2c0a('0x4')]=_0x492a60,this[_0x2c0a('0x4')][_0x2c0a('0x6')]=!0x0,this[_0x2c0a('0x3')]=_0x3b386b,this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0x8'),()=>this[_0x2c0a('0xe')]()),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0x7'),()=>this[_0x2c0a('0xd')]()),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0xf'),()=>this['resolve']()),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0xa'),()=>this[_0x2c0a('0x12')]()),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0x9'),(_0x379349,_0x4dda23)=>this[_0x2c0a('0x9')](_0x4dda23)),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0x5'),(_0x5046be,_0x371720,_0x15b094)=>this[_0x2c0a('0x5')](_0x371720,_0x15b094)),this[_0x2c0a('0xc')](_0x3b386b,_0x2c0a('0x1'),(_0x80b1b3,_0x329ccc)=>this[_0x2c0a('0x1')](_0x329ccc));}[_0x2c0a('0xe')](){this[_0x2c0a('0x4')][_0x2c0a('0xe')]();}['remove'](){this['model']['remove']();}[_0x2c0a('0xb')](){this['model'][_0x2c0a('0x10')]||this[_0x2c0a('0x4')][_0x2c0a('0xb')]();}[_0x2c0a('0x12')](){this[_0x2c0a('0x4')][_0x2c0a('0x10')]&&this[_0x2c0a('0x4')][_0x2c0a('0x12')]();}[_0x2c0a('0x9')](_0x3405f7){this[_0x2c0a('0x4')][_0x2c0a('0x9')]({'content':_0x3405f7,'authorId':this['view']['_localUser']['id']});}[_0x2c0a('0x5')](_0x3f08fb,_0x334881){this[_0x2c0a('0x4')][_0x2c0a('0x0')](_0x3f08fb)[_0x2c0a('0x2')]({'content':_0x334881});}['removeComment'](_0x5d323d){this[_0x2c0a('0x4')][_0x2c0a('0x0')](_0x5d323d)[_0x2c0a('0xd')]();}[_0x2c0a('0x11')](){this['stopListening'](),this[_0x2c0a('0x4')]['_isAttached']=!0x1;}}
@@ -1,19 +1,19 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/basecommentthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import CommentThreadInputView from './commentthreadinputview';
12
- import CommentsListView from './commentslistview';
13
- import CommentThreadHeaderView from './commentthreadheaderview';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
15
- import type { CommentThread } from '../../commentsrepository';
16
- import type { CommentThreadConfig } from '../../../config';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import CommentThreadInputView from './commentthreadinputview.js';
12
+ import CommentsListView from './commentslistview.js';
13
+ import CommentThreadHeaderView from './commentthreadheaderview.js';
14
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
+ import type { CommentThread } from '../../commentsrepository.js';
16
+ import type { CommentThreadConfig } from '../../../config.js';
17
17
  /**
18
18
  * An abstract comment thread view class that should be used as a base for comment thread view implementations.
19
19
  * It provides some behaviors, flags and building blocks to use when creating a custom comment thread view class.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e34=['bind','focus','_createCommentThreadInputView','fire','isUnlinked','locale','commentsListView','stop','listenTo','showInput','editorConfig','_model','length','editorReady','hasDirtyComment','reopenCommentThread','isActive','CommentView','resolveCommentThread','delegate','commentThreadHeaderView','set','disabledSubmit','archivedAt','addComment','value','isResolved','destroy','isResolvable','isReadOnly','Comment','removeCommentThread','isDirty','Reply...','placeholder','Reply','commentThreadInputView','submit','_localUser','commentInputView','editorDestroyed','assign','updateComment','cancel','_config','Write\x20a\x20comment...'];(function(_0x517977,_0x2e3450){const _0x47ed0a=function(_0x26a453){while(--_0x26a453){_0x517977['push'](_0x517977['shift']());}};_0x47ed0a(++_0x2e3450);}(_0x2e34,0x1ba));const _0x47ed=function(_0x517977,_0x2e3450){_0x517977=_0x517977-0x0;let _0x47ed0a=_0x2e34[_0x517977];return _0x47ed0a;};import{View as _0x4b163e}from'ckeditor5/src/ui';import _0x229683 from'./commentthreadinputview';import _0x15cf59 from'./commentslistview';import _0xa161b8 from'./commentthreadheaderview';import{getTranslation as _0x24d664}from'../../../utils/common-translations';export default class Ut extends _0x4b163e{constructor(_0x1a4c8e,_0x5ddf51,_0x4284a8,_0x24ec63){super(_0x1a4c8e),this[_0x47ed('0x27')](_0x47ed('0x22'),!0x1),this[_0x47ed('0x27')]('isDirty',!0x1),this['_model']=_0x5ddf51,this[_0x47ed('0xa')]=_0x4284a8,this[_0x47ed('0x10')]=_0x24ec63,this[_0x47ed('0x26')]=new _0xa161b8(_0x1a4c8e,_0x5ddf51),this[_0x47ed('0x26')]['delegate'](_0x47ed('0x21'))['to'](this),this[_0x47ed('0x1a')](this,'reopenCommentThread',()=>{this[_0x47ed('0x13')]();}),this[_0x47ed('0x18')]=new _0x15cf59(_0x1a4c8e,_0x5ddf51,Object[_0x47ed('0xd')]({'CommentView':this[_0x47ed('0x10')][_0x47ed('0x23')]},_0x24ec63)),this['commentsListView'][_0x47ed('0x25')]('removeComment')['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xe'))['to'](this),this[_0x47ed('0x18')]['delegate'](_0x47ed('0x24'))['to'](this),this['commentsListView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x12')](_0x47ed('0x22'))['to'](this),this[_0x47ed('0x1a')](this,_0x47ed('0x24'),()=>{this[_0x47ed('0x13')]();}),this['set'](_0x47ed('0x1e'),this[_0x47ed('0x18')][_0x47ed('0x1e')]),this[_0x47ed('0x12')](_0x47ed('0x1e'))['to'](this[_0x47ed('0x18')],'length'),this[_0x47ed('0x8')]=this[_0x47ed('0x14')](),this['commentThreadInputView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x8')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind'](_0x47ed('0x4'))['to'](this['commentsListView'],_0x47ed('0x20'),this['commentThreadInputView'][_0x47ed('0xb')],'value',(_0x5aab9d,_0x4a08ad)=>_0x5aab9d||!!_0x4a08ad),this[_0x47ed('0x12')](_0x47ed('0x16'))['to'](_0x5ddf51,'unlinkedAt',_0x212333=>!!_0x212333);}[_0x47ed('0x13')](){this['element'][_0x47ed('0x13')]();}async[_0x47ed('0x2d')](){this['isDirty']=!0x1,this[_0x47ed('0x18')]['destroy'](),await this['commentThreadInputView'][_0x47ed('0x2d')](),super[_0x47ed('0x2d')]();}['_createCommentThreadInputView'](){const _0xa15ded=new _0x229683(this[_0x47ed('0x17')],this[_0x47ed('0xa')],this[_0x47ed('0x10')][_0x47ed('0x1c')]),_0x22529c=_0xa15ded[_0x47ed('0xb')];return _0xa15ded[_0x47ed('0x12')](_0x47ed('0x1b'))['to'](this,'isActive',this[_0x47ed('0x1d')],_0x47ed('0x1'),this[_0x47ed('0x1d')],'canComment',this['_model'],_0x47ed('0x29'),_0x22529c,_0x47ed('0x2b'),(_0x538350,_0x3680e0,_0x5e6ae6,_0x1ba765,_0x38e485)=>!!_0x38e485||!!_0x1ba765&&_0x5e6ae6&&!_0x3680e0||_0x538350&&_0x5e6ae6&&!_0x3680e0),_0x22529c['bind'](_0x47ed('0x6'))['to'](this,_0x47ed('0x1e'),this[_0x47ed('0x1d')],_0x47ed('0x0'),this[_0x47ed('0x1d')],_0x47ed('0x2c'),(_0xe58787,_0x54350c,_0x3e552d)=>{let _0x4ec0ac;return _0x4ec0ac=_0x3e552d&&_0x54350c?'Reply\x20to\x20reopen\x20discussion...':_0xe58787?_0x47ed('0x5'):_0x47ed('0x11'),_0x24d664(this[_0x47ed('0x17')],_0x4ec0ac);}),_0x22529c[_0x47ed('0x12')]('submitLabel')['to'](this,_0x47ed('0x1e'),_0x5d866a=>_0x24d664(this[_0x47ed('0x17')],_0x5d866a?_0x47ed('0x7'):_0x47ed('0x2'))),_0x22529c['on'](_0x47ed('0x9'),(_0xf6c759,_0x53e23c)=>{this[_0x47ed('0x15')](_0x47ed('0x2a'),_0x53e23c),this[_0x47ed('0x1d')][_0x47ed('0x2c')]&&this[_0x47ed('0x1d')][_0x47ed('0x0')]&&this['fire'](_0x47ed('0x21'),this['_model']['id']),this['_model']['isSubmitted']||this[_0x47ed('0x15')]('submitCommentThread');}),_0x22529c['on'](_0x47ed('0xf'),()=>{this['focus']();}),_0x22529c['bind'](_0x47ed('0x28'))['to'](this[_0x47ed('0x1d')],_0x47ed('0x1')),_0x22529c['on'](_0x47ed('0xf'),_0x289768=>{0x0==this[_0x47ed('0x1e')]&&(this[_0x47ed('0x15')](_0x47ed('0x3')),_0x289768[_0x47ed('0x19')]());}),this['on']('change:isActive',(_0x54212c,_0x59396e,_0x45b580)=>{_0x45b580||this['length']||_0x22529c[_0x47ed('0x2b')]||this[_0x47ed('0x15')](_0x47ed('0x3'));}),_0xa15ded;}}
23
+ const _0x40ce=['Reply','locale','focus','assign','element','set','change:isActive','cancel','showInput','editorDestroyed','Reply...','isDirty','_model','commentThreadHeaderView','listenTo','removeCommentThread','isResolvable','bind','value','isActive','disabledSubmit','submit','removeComment','reopenCommentThread','destroy','isUnlinked','_createCommentThreadInputView','addComment','isReadOnly','_localUser','editorReady','commentThreadInputView','archivedAt','isSubmitted','isResolved','submitLabel','unlinkedAt','commentsListView','hasDirtyComment','commentInputView','fire','resolveCommentThread','_config','placeholder','delegate','Write\x20a\x20comment...','canComment','length'];(function(_0x35ea1b,_0x40ce2b){const _0x17eda5=function(_0xe97ae0){while(--_0xe97ae0){_0x35ea1b['push'](_0x35ea1b['shift']());}};_0x17eda5(++_0x40ce2b);}(_0x40ce,0x146));const _0x17ed=function(_0x35ea1b,_0x40ce2b){_0x35ea1b=_0x35ea1b-0x0;let _0x17eda5=_0x40ce[_0x35ea1b];return _0x17eda5;};import{View as _0x23ba80}from'ckeditor5/src/ui.js';import _0x4650c8 from'./commentthreadinputview.js';import _0xc3cf4d from'./commentslistview.js';import _0x25915c from'./commentthreadheaderview.js';import{getTranslation as _0x39e706}from'../../../utils/common-translations.js';export default class Ut extends _0x23ba80{constructor(_0x54d02a,_0x47c301,_0x229a71,_0x5a3bad){super(_0x54d02a),this[_0x17ed('0xf')]('isActive',!0x1),this[_0x17ed('0xf')](_0x17ed('0x15'),!0x1),this['_model']=_0x47c301,this[_0x17ed('0x27')]=_0x229a71,this[_0x17ed('0x4')]=_0x5a3bad,this[_0x17ed('0x17')]=new _0x25915c(_0x54d02a,_0x47c301),this[_0x17ed('0x17')][_0x17ed('0x6')](_0x17ed('0x21'))['to'](this),this[_0x17ed('0x18')](this,_0x17ed('0x21'),()=>{this['focus']();}),this['commentsListView']=new _0xc3cf4d(_0x54d02a,_0x47c301,Object[_0x17ed('0xd')]({'CommentView':this[_0x17ed('0x4')]['CommentView']},_0x5a3bad)),this['commentsListView'][_0x17ed('0x6')]('removeComment')['to'](this),this[_0x17ed('0x2f')][_0x17ed('0x6')]('updateComment')['to'](this),this['commentsListView'][_0x17ed('0x6')](_0x17ed('0x3'))['to'](this),this[_0x17ed('0x2f')][_0x17ed('0x6')](_0x17ed('0x28'))['to'](this),this[_0x17ed('0x2f')]['delegate']('editorDestroyed')['to'](this),this[_0x17ed('0x2f')][_0x17ed('0x1b')](_0x17ed('0x1d'))['to'](this),this[_0x17ed('0x18')](this,_0x17ed('0x3'),()=>{this[_0x17ed('0xc')]();}),this[_0x17ed('0xf')](_0x17ed('0x9'),this[_0x17ed('0x2f')][_0x17ed('0x9')]),this[_0x17ed('0x1b')](_0x17ed('0x9'))['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this[_0x17ed('0x24')](),this[_0x17ed('0x29')][_0x17ed('0x6')](_0x17ed('0x28'))['to'](this),this[_0x17ed('0x29')][_0x17ed('0x6')](_0x17ed('0x13'))['to'](this),this['on'](_0x17ed('0x20'),()=>this[_0x17ed('0xc')]()),this[_0x17ed('0x1b')](_0x17ed('0x15'))['to'](this[_0x17ed('0x2f')],_0x17ed('0x0'),this[_0x17ed('0x29')]['commentInputView'],_0x17ed('0x1c'),(_0x36df07,_0x23a57d)=>_0x36df07||!!_0x23a57d),this[_0x17ed('0x1b')](_0x17ed('0x23'))['to'](_0x47c301,_0x17ed('0x2e'),_0x3746ad=>!!_0x3746ad);}[_0x17ed('0xc')](){this[_0x17ed('0xe')][_0x17ed('0xc')]();}async[_0x17ed('0x22')](){this[_0x17ed('0x15')]=!0x1,this[_0x17ed('0x2f')][_0x17ed('0x22')](),await this[_0x17ed('0x29')][_0x17ed('0x22')](),super[_0x17ed('0x22')]();}['_createCommentThreadInputView'](){const _0x5d0ba4=new _0x4650c8(this[_0x17ed('0xb')],this[_0x17ed('0x27')],this[_0x17ed('0x4')]['editorConfig']),_0x569292=_0x5d0ba4[_0x17ed('0x1')];return _0x5d0ba4['bind'](_0x17ed('0x12'))['to'](this,_0x17ed('0x1d'),this[_0x17ed('0x16')],'isReadOnly',this[_0x17ed('0x16')],_0x17ed('0x8'),this[_0x17ed('0x16')],_0x17ed('0x2a'),_0x569292,_0x17ed('0x1c'),(_0x4420ba,_0x2e3179,_0x5eadba,_0x8562cd,_0x2aadf8)=>!!_0x2aadf8||!!_0x8562cd&&_0x5eadba&&!_0x2e3179||_0x4420ba&&_0x5eadba&&!_0x2e3179),_0x569292['bind'](_0x17ed('0x5'))['to'](this,'length',this[_0x17ed('0x16')],_0x17ed('0x1a'),this['_model'],'isResolved',(_0x114b2b,_0x186eb1,_0x4ec1b1)=>{let _0x1d03da;return _0x1d03da=_0x4ec1b1&&_0x186eb1?'Reply\x20to\x20reopen\x20discussion...':_0x114b2b?_0x17ed('0x14'):_0x17ed('0x7'),_0x39e706(this['locale'],_0x1d03da);}),_0x569292['bind'](_0x17ed('0x2d'))['to'](this,_0x17ed('0x9'),_0x5a4f35=>_0x39e706(this[_0x17ed('0xb')],_0x5a4f35?_0x17ed('0xa'):'Comment')),_0x569292['on'](_0x17ed('0x1f'),(_0x4559a7,_0x3d9b0a)=>{this[_0x17ed('0x2')](_0x17ed('0x25'),_0x3d9b0a),this[_0x17ed('0x16')][_0x17ed('0x2c')]&&this[_0x17ed('0x16')]['isResolvable']&&this[_0x17ed('0x2')]('reopenCommentThread',this[_0x17ed('0x16')]['id']),this[_0x17ed('0x16')][_0x17ed('0x2b')]||this[_0x17ed('0x2')]('submitCommentThread');}),_0x569292['on'](_0x17ed('0x11'),()=>{this['focus']();}),_0x569292[_0x17ed('0x1b')](_0x17ed('0x1e'))['to'](this[_0x17ed('0x16')],_0x17ed('0x26')),_0x569292['on'](_0x17ed('0x11'),_0x1c11de=>{0x0==this[_0x17ed('0x9')]&&(this[_0x17ed('0x2')]('removeCommentThread'),_0x1c11de['stop']());}),this['on'](_0x17ed('0x10'),(_0x3fdb2f,_0x305933,_0x5e5e16)=>{_0x5e5e16||this[_0x17ed('0x9')]||_0x569292[_0x17ed('0x1c')]||this[_0x17ed('0x2')](_0x17ed('0x19'));}),_0x5d0ba4;}}
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/basecommentview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import type { Comment } from '../../commentsrepository';
12
- import type { CommentViewConfig } from '../../../config';
9
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import type { Comment } from '../../commentsrepository.js';
12
+ import type { CommentViewConfig } from '../../../config.js';
13
13
  /**
14
14
  * An abstract comment view class that should be used as a base for comment view implementations.
15
15
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48f6=['switchToEditMode','submitLabel','destroy','submit','value','initialData','_createCommentInputView','get','element','content','isSystemComment','_createCommentContentView','isEditMode','editorConfig','editorReady','add','maxCommentCharsWhenCollapsed','createEditor','switchToDisplayMode','disabledSubmit','once','delegate','_config','visibleView','expand','locale','remove','set','createCollection','collapse','_model','isCollapsed','bind','focus'];(function(_0x1859f4,_0x48f6f4){const _0x1a6438=function(_0x4a2c2d){while(--_0x4a2c2d){_0x1859f4['push'](_0x1859f4['shift']());}};_0x1a6438(++_0x48f6f4);}(_0x48f6,0xca));const _0x1a64=function(_0x1859f4,_0x48f6f4){_0x1859f4=_0x1859f4-0x0;let _0x1a6438=_0x48f6[_0x1859f4];return _0x1a6438;};import{View as _0x1ce16b}from'ckeditor5/src/ui';import{trimHtml as _0x26c055}from'ckeditor5-collaboration/src/collaboration-core';import _0x568f99 from'./commentcontentview';import _0x52b8a5 from'./commentinputview';import{getTranslation as _0x59cbb1}from'../../../utils/common-translations';export default class ti extends _0x1ce16b{constructor(_0x3258d5,_0x1e6998,_0x4019ed){super(_0x3258d5),this[_0x1a64('0x20')]=_0x1e6998,this[_0x1a64('0x18')]=_0x4019ed,this[_0x1a64('0xc')]=!!this[_0x1a64('0x18')]['isSystemComment'],this['set'](_0x1a64('0xe'),!0x1),this[_0x1a64('0x1d')](_0x1a64('0x21'),!0x0),this[_0x1a64('0x19')]=this[_0x1a64('0x1e')](),this['visibleView'][_0x1a64('0x11')](this[_0x1a64('0xd')]());}[_0x1a64('0x1a')](){this[_0x1a64('0x21')]=!0x1;}[_0x1a64('0x1f')](){this[_0x1a64('0xe')]||(this[_0x1a64('0x21')]=!0x0);}[_0x1a64('0x1')](){this[_0x1a64('0xa')][_0x1a64('0x1')]();}async['destroy'](){await this['visibleView'][_0x1a64('0x9')](0x0)[_0x1a64('0x4')](),super[_0x1a64('0x4')]();}[_0x1a64('0x2')](){this[_0x1a64('0xe')]||(this[_0x1a64('0xe')]=!0x0,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')][_0x1a64('0x11')](this[_0x1a64('0x8')]()));}[_0x1a64('0x14')](){this[_0x1a64('0xe')]&&(this[_0x1a64('0xe')]=!0x1,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')]['add'](this[_0x1a64('0xd')]()));}[_0x1a64('0xd')](){const _0x5cc284=new _0x568f99(this[_0x1a64('0x1b')]);return _0x5cc284[_0x1a64('0x0')](_0x1a64('0xb'))['to'](this[_0x1a64('0x20')],'content',this,_0x1a64('0x21'),(_0x54925d,_0x337747)=>_0x337747?_0x26c055(_0x54925d,{'limit':this[_0x1a64('0x18')][_0x1a64('0x12')]}):_0x54925d),_0x5cc284;}[_0x1a64('0x8')](){this[_0x1a64('0x18')][_0x1a64('0xf')]||(this[_0x1a64('0x18')]['editorConfig']={}),this['_config'][_0x1a64('0xf')][_0x1a64('0x7')]=this[_0x1a64('0x20')][_0x1a64('0xb')];const _0x2f7af5=new _0x52b8a5(this[_0x1a64('0x1b')],this[_0x1a64('0x18')][_0x1a64('0xf')]);return _0x2f7af5[_0x1a64('0x6')]=this[_0x1a64('0x20')][_0x1a64('0xb')],_0x2f7af5['bind'](_0x1a64('0x15'))['to'](this['_model'],'isReadOnly'),_0x2f7af5[_0x1a64('0x3')]=_0x59cbb1(this[_0x1a64('0x1b')],'Save'),_0x2f7af5['on'](_0x1a64('0x5'),(_0x1eab50,_0x18cee3)=>{this['fire']('updateComment',this['_model']['id'],_0x18cee3),this[_0x1a64('0x14')](),this[_0x1a64('0x1')]();}),_0x2f7af5['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x16')]('editorReady',()=>{_0x2f7af5[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x13')](),_0x2f7af5[_0x1a64('0x17')](_0x1a64('0x10'))['to'](this),_0x2f7af5['delegate']('editorDestroyed')['to'](this),_0x2f7af5;}}
23
+ const _0x52d0=['editorDestroyed','remove','destroy','content','editorConfig','set','visibleView','_createCommentInputView','isEditMode','submitLabel','delegate','cancel','switchToDisplayMode','isCollapsed','updateComment','focus','collapse','_model','locale','value','isSystemComment','_createCommentContentView','_config','disabledSubmit','expand','isReadOnly','bind','editorReady','once','Save'];(function(_0x5c04a9,_0x52d063){const _0x28a590=function(_0x37c167){while(--_0x37c167){_0x5c04a9['push'](_0x5c04a9['shift']());}};_0x28a590(++_0x52d063);}(_0x52d0,0x1e6));const _0x28a5=function(_0x5c04a9,_0x52d063){_0x5c04a9=_0x5c04a9-0x0;let _0x28a590=_0x52d0[_0x5c04a9];return _0x28a590;};import{View as _0x11bb6e}from'ckeditor5/src/ui.js';import{trimHtml as _0x370637}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4e095d from'./commentcontentview.js';import _0x2bbf21 from'./commentinputview.js';import{getTranslation as _0x5b0f78}from'../../../utils/common-translations.js';export default class ti extends _0x11bb6e{constructor(_0x404c35,_0x2ee431,_0x5beae0){super(_0x404c35),this[_0x28a5('0xb')]=_0x2ee431,this['_config']=_0x5beae0,this[_0x28a5('0xe')]=!!this[_0x28a5('0x10')]['isSystemComment'],this[_0x28a5('0x1d')](_0x28a5('0x2'),!0x1),this[_0x28a5('0x1d')](_0x28a5('0x7'),!0x0),this[_0x28a5('0x0')]=this['createCollection'](),this[_0x28a5('0x0')]['add'](this[_0x28a5('0xf')]());}[_0x28a5('0x12')](){this[_0x28a5('0x7')]=!0x1;}[_0x28a5('0xa')](){this[_0x28a5('0x2')]||(this['isCollapsed']=!0x0);}[_0x28a5('0x9')](){this['element'][_0x28a5('0x9')]();}async[_0x28a5('0x1a')](){await this[_0x28a5('0x0')]['get'](0x0)[_0x28a5('0x1a')](),super[_0x28a5('0x1a')]();}['switchToEditMode'](){this[_0x28a5('0x2')]||(this[_0x28a5('0x2')]=!0x0,this[_0x28a5('0x0')][_0x28a5('0x19')](0x0)['destroy'](),this[_0x28a5('0x0')]['add'](this[_0x28a5('0x1')]()));}[_0x28a5('0x6')](){this['isEditMode']&&(this[_0x28a5('0x2')]=!0x1,this[_0x28a5('0x0')]['remove'](0x0)['destroy'](),this[_0x28a5('0x0')]['add'](this['_createCommentContentView']()));}[_0x28a5('0xf')](){const _0xba5ade=new _0x4e095d(this[_0x28a5('0xc')]);return _0xba5ade[_0x28a5('0x14')]('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x4e746c,_0x3b57bb)=>_0x3b57bb?_0x370637(_0x4e746c,{'limit':this[_0x28a5('0x10')]['maxCommentCharsWhenCollapsed']}):_0x4e746c),_0xba5ade;}[_0x28a5('0x1')](){this['_config'][_0x28a5('0x1c')]||(this[_0x28a5('0x10')][_0x28a5('0x1c')]={}),this[_0x28a5('0x10')][_0x28a5('0x1c')]['initialData']=this['_model']['content'];const _0x4c93ff=new _0x2bbf21(this[_0x28a5('0xc')],this[_0x28a5('0x10')]['editorConfig']);return _0x4c93ff[_0x28a5('0xd')]=this[_0x28a5('0xb')][_0x28a5('0x1b')],_0x4c93ff[_0x28a5('0x14')](_0x28a5('0x11'))['to'](this['_model'],_0x28a5('0x13')),_0x4c93ff[_0x28a5('0x3')]=_0x5b0f78(this[_0x28a5('0xc')],_0x28a5('0x17')),_0x4c93ff['on']('submit',(_0x5e52cb,_0x129d6f)=>{this['fire'](_0x28a5('0x8'),this[_0x28a5('0xb')]['id'],_0x129d6f),this[_0x28a5('0x6')](),this[_0x28a5('0x9')]();}),_0x4c93ff['on'](_0x28a5('0x5'),()=>{this[_0x28a5('0x6')](),this['focus']();}),_0x4c93ff[_0x28a5('0x16')](_0x28a5('0x15'),()=>{_0x4c93ff['focus']();}),_0x4c93ff['createEditor'](),_0x4c93ff['delegate'](_0x28a5('0x15'))['to'](this),_0x4c93ff[_0x28a5('0x4')](_0x28a5('0x18'))['to'](this),_0x4c93ff;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/collapsedcommentsview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CollapsedCommentsView extends View {
11
11
  count: number | undefined;
12
12
  constructor(locale: Locale);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44d2=['setTemplate','count','set','ck-thread__comment-count','bindTemplate'];(function(_0x4630ee,_0x44d296){const _0x4c8659=function(_0x29f278){while(--_0x29f278){_0x4630ee['push'](_0x4630ee['shift']());}};_0x4c8659(++_0x44d296);}(_0x44d2,0x18b));const _0x4c86=function(_0x4630ee,_0x44d296){_0x4630ee=_0x4630ee-0x0;let _0x4c8659=_0x44d2[_0x4630ee];return _0x4c8659;};import{View as _0x74ff8c}from'ckeditor5/src/ui';import{getTranslation as _0x3f5715}from'../../../utils/common-translations';export default class to extends _0x74ff8c{constructor(_0x5c538a){super(_0x5c538a);const _0x4a2e61=this[_0x4c86('0x4')];this[_0x4c86('0x2')]('count',void 0x0),this[_0x4c86('0x0')]({'tag':'li','attributes':{'class':_0x4c86('0x3')},'children':[{'text':_0x4a2e61['to'](_0x4c86('0x1'),_0x23eccc=>_0x3f5715(_0x5c538a,'NUMBER_OF_COMMENTS',_0x23eccc))}]});}}
23
+ const _0xc116=['setTemplate','count','ck-thread__comment-count','NUMBER_OF_COMMENTS'];(function(_0x11b8db,_0xc116b9){const _0x457b82=function(_0x38ebb4){while(--_0x38ebb4){_0x11b8db['push'](_0x11b8db['shift']());}};_0x457b82(++_0xc116b9);}(_0xc116,0xae));const _0x457b=function(_0x11b8db,_0xc116b9){_0x11b8db=_0x11b8db-0x0;let _0x457b82=_0xc116[_0x11b8db];return _0x457b82;};import{View as _0x565851}from'ckeditor5/src/ui.js';import{getTranslation as _0x27455a}from'../../../utils/common-translations.js';export default class ts extends _0x565851{constructor(_0x662f45){super(_0x662f45);const _0x61c4f5=this['bindTemplate'];this['set']('count',void 0x0),this[_0x457b('0x2')]({'tag':'li','attributes':{'class':_0x457b('0x0')},'children':[{'text':_0x61c4f5['to'](_0x457b('0x3'),_0x246d3e=>_0x27455a(_0x662f45,_0x457b('0x1'),_0x246d3e))}]});}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentcontentview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CommentContentView extends View {
11
11
  content: string;
12
12
  constructor(locale: Locale);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x311c=['div','element','ck-annotation__content','ck-comment__content','innerHTML','content','setTemplate','set'];(function(_0x14da9f,_0x311c17){var _0x388bb5=function(_0x2a7099){while(--_0x2a7099){_0x14da9f['push'](_0x14da9f['shift']());}};_0x388bb5(++_0x311c17);}(_0x311c,0xbb));var _0x388b=function(_0x14da9f,_0x311c17){_0x14da9f=_0x14da9f-0x0;var _0x388bb5=_0x311c[_0x14da9f];return _0x388bb5;};import{View as _0x944aed}from'ckeditor5/src/ui';export default class Yt extends _0x944aed{constructor(_0x1690d6){super(_0x1690d6),this[_0x388b('0x4')](_0x388b('0x2'),''),this[_0x388b('0x3')]({'tag':_0x388b('0x5'),'attributes':{'class':[_0x388b('0x0'),_0x388b('0x7')]}});}['render'](){super['render'](),this['on']('change:content',(_0x4dfacb,_0x5e84a5,_0x1c4205)=>{this[_0x388b('0x6')]['innerHTML']=_0x1c4205;}),this[_0x388b('0x6')][_0x388b('0x1')]=this[_0x388b('0x2')];}}
23
+ var _0x12f1=['ck-comment__content','div','render','content','ck-annotation__content','element','set','change:content','setTemplate'];(function(_0x823908,_0x12f1b1){var _0x1d407d=function(_0x5cca35){while(--_0x5cca35){_0x823908['push'](_0x823908['shift']());}};_0x1d407d(++_0x12f1b1);}(_0x12f1,0x86));var _0x1d40=function(_0x823908,_0x12f1b1){_0x823908=_0x823908-0x0;var _0x1d407d=_0x12f1[_0x823908];return _0x1d407d;};import{View as _0x2a89c4}from'ckeditor5/src/ui.js';export default class Yt extends _0x2a89c4{constructor(_0x58a044){super(_0x58a044),this[_0x1d40('0x7')](_0x1d40('0x4'),''),this[_0x1d40('0x0')]({'tag':_0x1d40('0x2'),'attributes':{'class':[_0x1d40('0x1'),_0x1d40('0x5')]}});}[_0x1d40('0x3')](){super[_0x1d40('0x3')](),this['on'](_0x1d40('0x8'),(_0x737711,_0x5b4088,_0x2cf0ec)=>{this[_0x1d40('0x6')]['innerHTML']=_0x2cf0ec;}),this[_0x1d40('0x6')]['innerHTML']=this['content'];}}