@ckeditor/ckeditor5-comments 42.0.2 → 43.0.0-alpha.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 (309) hide show
  1. package/CHANGELOG.md +1 -256
  2. package/build/comments.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es-co.js +1 -1
  16. package/build/translations/es.js +1 -1
  17. package/build/translations/et.js +1 -1
  18. package/build/translations/fa.js +1 -1
  19. package/build/translations/fi.js +1 -1
  20. package/build/translations/fr.js +1 -1
  21. package/build/translations/gl.js +1 -1
  22. package/build/translations/he.js +1 -1
  23. package/build/translations/hi.js +1 -1
  24. package/build/translations/hr.js +1 -1
  25. package/build/translations/hu.js +1 -1
  26. package/build/translations/id.js +1 -1
  27. package/build/translations/it.js +1 -1
  28. package/build/translations/ja.js +1 -1
  29. package/build/translations/jv.js +1 -1
  30. package/build/translations/ko.js +1 -1
  31. package/build/translations/lt.js +1 -1
  32. package/build/translations/lv.js +1 -1
  33. package/build/translations/ms.js +1 -1
  34. package/build/translations/nl.js +1 -1
  35. package/build/translations/no.js +1 -1
  36. package/build/translations/pl.js +1 -1
  37. package/build/translations/pt-br.js +1 -1
  38. package/build/translations/pt.js +1 -1
  39. package/build/translations/ro.js +1 -1
  40. package/build/translations/ru.js +1 -1
  41. package/build/translations/sk.js +1 -1
  42. package/build/translations/sq.js +1 -1
  43. package/build/translations/sr-latn.js +1 -1
  44. package/build/translations/sr.js +1 -1
  45. package/build/translations/sv.js +1 -1
  46. package/build/translations/th.js +1 -1
  47. package/build/translations/ti.js +1 -1
  48. package/build/translations/tk.js +1 -1
  49. package/build/translations/tr.js +1 -1
  50. package/build/translations/tt.js +1 -1
  51. package/build/translations/ug.js +1 -1
  52. package/build/translations/uk.js +1 -1
  53. package/build/translations/ur.js +1 -1
  54. package/build/translations/vi.js +1 -1
  55. package/build/translations/zh-cn.js +1 -1
  56. package/build/translations/zh.js +1 -1
  57. package/dist/annotations/annotations.d.ts +1 -1
  58. package/dist/annotations/sidebar.d.ts +2 -2
  59. package/dist/annotations/view/annotationview.d.ts +4 -4
  60. package/dist/annotations/view/sidebaritemview.d.ts +7 -3
  61. package/dist/annotations/view/sidebarview.d.ts +25 -4
  62. package/dist/comments/commentsediting.d.ts +8 -0
  63. package/dist/comments/commentsrepository.d.ts +14 -2
  64. package/dist/comments/ui/view/basecommentthreadview.d.ts +32 -3
  65. package/dist/comments/ui/view/basecommentview.d.ts +41 -3
  66. package/dist/comments/ui/view/commentinputview.d.ts +17 -2
  67. package/dist/comments/ui/view/commentsarchiveview.d.ts +11 -3
  68. package/dist/comments/ui/view/commentslistview.d.ts +17 -5
  69. package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +25 -0
  70. package/dist/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  71. package/dist/comments/ui/view/commentthreadinputview.d.ts +13 -2
  72. package/dist/comments/ui/view/commentthreadview.d.ts +11 -6
  73. package/dist/comments/ui/view/commentview.d.ts +9 -12
  74. package/dist/index-editor.css +33 -2
  75. package/dist/index.css +95 -2
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.js +9 -9
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/bg.js +1 -1
  83. package/dist/translations/bg.umd.js +1 -1
  84. package/dist/translations/bn.js +1 -1
  85. package/dist/translations/bn.umd.js +1 -1
  86. package/dist/translations/bs.js +1 -1
  87. package/dist/translations/bs.umd.js +1 -1
  88. package/dist/translations/ca.js +1 -1
  89. package/dist/translations/ca.umd.js +1 -1
  90. package/dist/translations/cs.js +1 -1
  91. package/dist/translations/cs.umd.js +1 -1
  92. package/dist/translations/da.js +1 -1
  93. package/dist/translations/da.umd.js +1 -1
  94. package/dist/translations/de-ch.js +1 -1
  95. package/dist/translations/de-ch.umd.js +1 -1
  96. package/dist/translations/de.js +1 -1
  97. package/dist/translations/de.umd.js +1 -1
  98. package/dist/translations/el.js +1 -1
  99. package/dist/translations/el.umd.js +1 -1
  100. package/dist/translations/en-au.js +1 -1
  101. package/dist/translations/en-au.umd.js +1 -1
  102. package/dist/translations/en.js +1 -1
  103. package/dist/translations/en.umd.js +1 -1
  104. package/dist/translations/es-co.js +1 -1
  105. package/dist/translations/es-co.umd.js +1 -1
  106. package/dist/translations/es.js +1 -1
  107. package/dist/translations/es.umd.js +1 -1
  108. package/dist/translations/et.js +1 -1
  109. package/dist/translations/et.umd.js +1 -1
  110. package/dist/translations/fa.js +1 -1
  111. package/dist/translations/fa.umd.js +1 -1
  112. package/dist/translations/fi.js +1 -1
  113. package/dist/translations/fi.umd.js +1 -1
  114. package/dist/translations/fr.js +1 -1
  115. package/dist/translations/fr.umd.js +1 -1
  116. package/dist/translations/gl.js +1 -1
  117. package/dist/translations/gl.umd.js +1 -1
  118. package/dist/translations/he.js +1 -1
  119. package/dist/translations/he.umd.js +1 -1
  120. package/dist/translations/hi.js +1 -1
  121. package/dist/translations/hi.umd.js +1 -1
  122. package/dist/translations/hr.js +1 -1
  123. package/dist/translations/hr.umd.js +1 -1
  124. package/dist/translations/hu.js +1 -1
  125. package/dist/translations/hu.umd.js +1 -1
  126. package/dist/translations/id.js +1 -1
  127. package/dist/translations/id.umd.js +1 -1
  128. package/dist/translations/it.js +1 -1
  129. package/dist/translations/it.umd.js +1 -1
  130. package/dist/translations/ja.js +1 -1
  131. package/dist/translations/ja.umd.js +1 -1
  132. package/dist/translations/jv.js +1 -1
  133. package/dist/translations/jv.umd.js +1 -1
  134. package/dist/translations/ko.js +1 -1
  135. package/dist/translations/ko.umd.js +1 -1
  136. package/dist/translations/lt.js +1 -1
  137. package/dist/translations/lt.umd.js +1 -1
  138. package/dist/translations/lv.js +1 -1
  139. package/dist/translations/lv.umd.js +1 -1
  140. package/dist/translations/ms.js +1 -1
  141. package/dist/translations/ms.umd.js +1 -1
  142. package/dist/translations/nl.js +1 -1
  143. package/dist/translations/nl.umd.js +1 -1
  144. package/dist/translations/no.js +1 -1
  145. package/dist/translations/no.umd.js +1 -1
  146. package/dist/translations/pl.js +1 -1
  147. package/dist/translations/pl.umd.js +1 -1
  148. package/dist/translations/pt-br.js +1 -1
  149. package/dist/translations/pt-br.umd.js +1 -1
  150. package/dist/translations/pt.js +1 -1
  151. package/dist/translations/pt.umd.js +1 -1
  152. package/dist/translations/ro.js +1 -1
  153. package/dist/translations/ro.umd.js +1 -1
  154. package/dist/translations/ru.js +1 -1
  155. package/dist/translations/ru.umd.js +1 -1
  156. package/dist/translations/sk.js +1 -1
  157. package/dist/translations/sk.umd.js +1 -1
  158. package/dist/translations/sq.js +1 -1
  159. package/dist/translations/sq.umd.js +1 -1
  160. package/dist/translations/sr-latn.js +1 -1
  161. package/dist/translations/sr-latn.umd.js +1 -1
  162. package/dist/translations/sr.js +1 -1
  163. package/dist/translations/sr.umd.js +1 -1
  164. package/dist/translations/sv.js +1 -1
  165. package/dist/translations/sv.umd.js +1 -1
  166. package/dist/translations/th.js +1 -1
  167. package/dist/translations/th.umd.js +1 -1
  168. package/dist/translations/ti.js +1 -1
  169. package/dist/translations/ti.umd.js +1 -1
  170. package/dist/translations/tk.js +1 -1
  171. package/dist/translations/tk.umd.js +1 -1
  172. package/dist/translations/tr.js +1 -1
  173. package/dist/translations/tr.umd.js +1 -1
  174. package/dist/translations/tt.js +1 -1
  175. package/dist/translations/tt.umd.js +1 -1
  176. package/dist/translations/ug.js +1 -1
  177. package/dist/translations/ug.umd.js +1 -1
  178. package/dist/translations/uk.js +1 -1
  179. package/dist/translations/uk.umd.js +1 -1
  180. package/dist/translations/ur.js +1 -1
  181. package/dist/translations/ur.umd.js +1 -1
  182. package/dist/translations/vi.js +1 -1
  183. package/dist/translations/vi.umd.js +1 -1
  184. package/dist/translations/zh-cn.js +1 -1
  185. package/dist/translations/zh-cn.umd.js +1 -1
  186. package/dist/translations/zh.js +1 -1
  187. package/dist/translations/zh.umd.js +1 -1
  188. package/dist/utils/common-translations.d.ts +1 -1
  189. package/lang/contexts.json +15 -0
  190. package/lang/translations/af.po +62 -0
  191. package/lang/translations/ar.po +68 -2
  192. package/lang/translations/bg.po +64 -2
  193. package/lang/translations/bn.po +64 -2
  194. package/lang/translations/bs.po +63 -0
  195. package/lang/translations/ca.po +64 -2
  196. package/lang/translations/cs.po +66 -2
  197. package/lang/translations/da.po +64 -2
  198. package/lang/translations/de-ch.po +62 -0
  199. package/lang/translations/de.po +64 -2
  200. package/lang/translations/el.po +64 -2
  201. package/lang/translations/en-au.po +62 -0
  202. package/lang/translations/en.po +64 -2
  203. package/lang/translations/es-co.po +63 -0
  204. package/lang/translations/es.po +65 -2
  205. package/lang/translations/et.po +64 -2
  206. package/lang/translations/fa.po +62 -0
  207. package/lang/translations/fi.po +64 -2
  208. package/lang/translations/fr.po +65 -2
  209. package/lang/translations/gl.po +64 -2
  210. package/lang/translations/he.po +65 -2
  211. package/lang/translations/hi.po +64 -2
  212. package/lang/translations/hr.po +63 -0
  213. package/lang/translations/hu.po +64 -2
  214. package/lang/translations/id.po +63 -2
  215. package/lang/translations/it.po +65 -2
  216. package/lang/translations/ja.po +63 -2
  217. package/lang/translations/jv.po +61 -0
  218. package/lang/translations/ko.po +63 -2
  219. package/lang/translations/lt.po +66 -2
  220. package/lang/translations/lv.po +65 -2
  221. package/lang/translations/ms.po +63 -2
  222. package/lang/translations/nl.po +64 -2
  223. package/lang/translations/no.po +64 -2
  224. package/lang/translations/pl.po +66 -2
  225. package/lang/translations/pt-br.po +65 -2
  226. package/lang/translations/pt.po +65 -2
  227. package/lang/translations/ro.po +65 -2
  228. package/lang/translations/ru.po +66 -2
  229. package/lang/translations/sk.po +66 -2
  230. package/lang/translations/sq.po +62 -0
  231. package/lang/translations/sr-latn.po +65 -2
  232. package/lang/translations/sr.po +65 -2
  233. package/lang/translations/sv.po +64 -2
  234. package/lang/translations/th.po +63 -2
  235. package/lang/translations/ti.po +62 -0
  236. package/lang/translations/tk.po +62 -0
  237. package/lang/translations/tr.po +64 -2
  238. package/lang/translations/tt.po +61 -0
  239. package/lang/translations/ug.po +64 -2
  240. package/lang/translations/uk.po +66 -2
  241. package/lang/translations/ur.po +62 -0
  242. package/lang/translations/vi.po +63 -2
  243. package/lang/translations/zh-cn.po +63 -2
  244. package/lang/translations/zh.po +63 -2
  245. package/package.json +14 -13
  246. package/src/annotations/annotation.js +2 -2
  247. package/src/annotations/annotationcollection.js +1 -1
  248. package/src/annotations/annotations.d.ts +1 -1
  249. package/src/annotations/annotations.js +1 -1
  250. package/src/annotations/annotationsuis.js +1 -1
  251. package/src/annotations/editorannotations.js +1 -1
  252. package/src/annotations/inlineannotations.js +1 -1
  253. package/src/annotations/narrowsidebar.js +1 -1
  254. package/src/annotations/sidebar.d.ts +2 -2
  255. package/src/annotations/sidebar.js +1 -1
  256. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  257. package/src/annotations/view/annotationview.d.ts +4 -4
  258. package/src/annotations/view/annotationview.js +1 -1
  259. package/src/annotations/view/sidebaritemview.d.ts +7 -3
  260. package/src/annotations/view/sidebaritemview.js +1 -1
  261. package/src/annotations/view/sidebarview.d.ts +25 -4
  262. package/src/annotations/view/sidebarview.js +1 -1
  263. package/src/annotations/widesidebar.js +1 -1
  264. package/src/comments/addcommentthreadcommand.js +1 -1
  265. package/src/comments/commentsarchive.js +1 -1
  266. package/src/comments/commentsarchiveui.js +1 -1
  267. package/src/comments/commentsediting.d.ts +8 -0
  268. package/src/comments/commentsediting.js +1 -1
  269. package/src/comments/commentsrepository.d.ts +14 -2
  270. package/src/comments/commentsrepository.js +3 -3
  271. package/src/comments/commentsui.js +1 -1
  272. package/src/comments/integrations/clipboard.js +1 -1
  273. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  274. package/src/comments/integrations/importword.js +1 -1
  275. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  276. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  277. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  278. package/src/comments/ui/commentthreadcontroller.js +2 -2
  279. package/src/comments/ui/view/basecommentthreadview.d.ts +32 -3
  280. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  281. package/src/comments/ui/view/basecommentview.d.ts +41 -3
  282. package/src/comments/ui/view/basecommentview.js +1 -1
  283. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  284. package/src/comments/ui/view/commentcontentview.js +1 -1
  285. package/src/comments/ui/view/commentinputview.d.ts +17 -2
  286. package/src/comments/ui/view/commentinputview.js +1 -1
  287. package/src/comments/ui/view/commentsarchiveview.d.ts +11 -3
  288. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  289. package/src/comments/ui/view/commentslistview.d.ts +17 -5
  290. package/src/comments/ui/view/commentslistview.js +1 -1
  291. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +21 -0
  292. package/src/comments/ui/view/commentthreadheadercontextview.js +23 -0
  293. package/src/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  294. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  295. package/src/comments/ui/view/commentthreadinputview.d.ts +13 -2
  296. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  297. package/src/comments/ui/view/commentthreadview.d.ts +11 -6
  298. package/src/comments/ui/view/commentthreadview.js +2 -2
  299. package/src/comments/ui/view/commentview.d.ts +9 -12
  300. package/src/comments/ui/view/commentview.js +2 -2
  301. package/src/comments.js +1 -1
  302. package/src/commentsonly.js +1 -1
  303. package/src/index.d.ts +1 -0
  304. package/src/index.js +1 -1
  305. package/src/utils/common-translations.d.ts +1 -1
  306. package/src/utils/common-translations.js +1 -1
  307. package/src/utils/createmutationobserver.js +1 -1
  308. package/theme/comment.css +6 -0
  309. package/theme/commentthread.css +43 -2
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1239(_0x249b8c,_0x56a296){const _0x8477d9=_0x8477();return _0x1239=function(_0x123980,_0x29d317){_0x123980=_0x123980-0x1f0;let _0x4a3cee=_0x8477d9[_0x123980];return _0x4a3cee;},_0x1239(_0x249b8c,_0x56a296);}const _0x2bac6b=_0x1239;(function(_0x1193ae,_0x53b4ba){const _0x2b14af=_0x1239,_0x390922=_0x1193ae();while(!![]){try{const _0x4a5e76=parseInt(_0x2b14af(0x22f))/0x1*(-parseInt(_0x2b14af(0x239))/0x2)+parseInt(_0x2b14af(0x1ff))/0x3+-parseInt(_0x2b14af(0x1f8))/0x4+-parseInt(_0x2b14af(0x233))/0x5+-parseInt(_0x2b14af(0x204))/0x6+-parseInt(_0x2b14af(0x209))/0x7+-parseInt(_0x2b14af(0x203))/0x8*(-parseInt(_0x2b14af(0x229))/0x9);if(_0x4a5e76===_0x53b4ba)break;else _0x390922['push'](_0x390922['shift']());}catch(_0x3c147d){_0x390922['push'](_0x390922['shift']());}}}(_0x8477,0xd5def));import{ConfirmMixin as _0x4401d6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8477(){const _0x211902=['length','archivedAt','createCollection','isResolvable','Delete\x20comment\x20thread?','render','removeButton','extendTemplate','isVisible','_bindFirstCommentView','commentThreadHeaderView','866216hvVDLI','ck-reset_all-excluded','ck-thread__container','Write\x20a\x20comment...','ck-thread--active','showConfirm','containerElement','4113441FKQXnS','tooltip','fire','div','176ekwtHL','1507806WQsust','locale','add','check','commentsListView','1033858KlSoJC','setTemplate','commentViews','.ck-thread__container','bindTemplate','removeCommentThread','commentThreadInputView','_boundFirstCommentView','high','icon','unbind','Resolve','change:isReadOnly','label','commentThreadChildren','then','_cancelAllConfirms','ck-thread--','isResolved','ck-thread','addMany','ck-thread--unlinked','change:isActive','querySelector','execute','isReadOnly','stop','listenTo','actionBar','get','isSystemComment','_createResolveButton','773433gCMiPw','isEnabled','change:archivedAt','set','actionIndicator','element','1446569JhwvcO','getTemplate','isConfirm','remove','1618140pwoVri','has','resolveCommentThread','ck-thread--remove-confirmation','isActive','bind','2JrgeoR','_model','isUnlinked','placeholder','cancelConfirm','ck-comment--resolve','resolveButton'];_0x8477=function(){return _0x211902;};return _0x8477();}import{ButtonView as _0x39810f}from'ckeditor5/src/ui.js';import{icons as _0x5e2d81}from'ckeditor5/src/core.js';import _0x372436 from'./basecommentthreadview.js';import{getTranslation as _0x358544}from'../../../utils/common-translations.js';export default class yt extends/* #__PURE__ -- @preserve */
24
- _0x4401d6(_0x372436){constructor(_0x58a053,_0x54cf3f,_0x4e200c,_0x569434){const _0x2e6459=_0x1239;super(_0x58a053,_0x54cf3f,_0x4e200c,_0x569434),this[_0x2e6459(0x217)]=this[_0x2e6459(0x242)](),this[_0x2e6459(0x217)][_0x2e6459(0x21d)]([this[_0x2e6459(0x208)],this[_0x2e6459(0x20f)]]),this[_0x2e6459(0x23a)][_0x2e6459(0x241)]&&this[_0x2e6459(0x217)][_0x2e6459(0x206)](this[_0x2e6459(0x1f7)],0x0),this[_0x2e6459(0x23a)]['on'](_0x2e6459(0x22b),(_0x450723,_0x2e4ef8,_0x3498d4)=>{const _0x7a0023=_0x2e6459;_0x3498d4?this[_0x7a0023(0x217)][_0x7a0023(0x234)](this[_0x7a0023(0x1f7)])||this[_0x7a0023(0x217)][_0x7a0023(0x206)](this[_0x7a0023(0x1f7)],0x0):this[_0x7a0023(0x217)][_0x7a0023(0x232)](this[_0x7a0023(0x1f7)]);}),this[_0x2e6459(0x22c)](_0x2e6459(0x22d),null),this[_0x2e6459(0x1fe)]=null,this[_0x2e6459(0x210)]=null,this[_0x2e6459(0x205)]=_0x58a053,this[_0x2e6459(0x23f)]=this[_0x2e6459(0x228)](),this[_0x2e6459(0x20a)](this[_0x2e6459(0x230)]()),this['on'](_0x2e6459(0x21f),(_0x1fbe46,_0x3ba979,_0xb542ea)=>{const _0x36dccc=_0x2e6459;_0xb542ea||this[_0x36dccc(0x219)]();}),this[_0x2e6459(0x224)](this[_0x2e6459(0x23a)],_0x2e6459(0x215),(_0x3df535,_0xe0f0a3,_0x5a9a16)=>{const _0x54c4fc=_0x2e6459;_0x5a9a16&&this[_0x54c4fc(0x219)]();}),this[_0x2e6459(0x240)]>0x0&&this[_0x2e6459(0x1f6)](),this[_0x2e6459(0x224)](this[_0x2e6459(0x208)][_0x2e6459(0x20b)],_0x2e6459(0x206),()=>{const _0x10858e=_0x2e6459;this[_0x10858e(0x1f6)]();});}[_0x2bac6b(0x230)](){const _0x87e79=_0x2bac6b,_0x4ca961=this[_0x87e79(0x20d)];return{'tag':_0x87e79(0x202),'attributes':{'class':[_0x87e79(0x21c),_0x87e79(0x1f9),_0x4ca961['if'](_0x87e79(0x237),_0x87e79(0x1fc)),_0x4ca961['if'](_0x87e79(0x23b),_0x87e79(0x21e)),_0x4ca961['if'](_0x87e79(0x231),_0x87e79(0x236)),_0x4ca961['to'](_0x87e79(0x22d),_0x18e287=>_0x18e287?_0x87e79(0x21a)+_0x18e287:'')],'data-thread-id':this[_0x87e79(0x23a)]['id'],'tabindex':-0x1},'children':[{'tag':_0x87e79(0x202),'attributes':{'class':_0x87e79(0x1fa)},'children':this[_0x87e79(0x217)]}]};}[_0x2bac6b(0x1f2)](){const _0x391c38=_0x2bac6b;super[_0x391c38(0x1f2)](),this[_0x391c38(0x1fe)]=this[_0x391c38(0x22e)][_0x391c38(0x220)](_0x391c38(0x20c));}[_0x2bac6b(0x219)](){const _0x3f3cf4=_0x2bac6b;this[_0x3f3cf4(0x23d)]();for(const _0x48c849 of this[_0x3f3cf4(0x208)][_0x3f3cf4(0x20b)])_0x48c849[_0x3f3cf4(0x23d)]();}[_0x2bac6b(0x1f6)](){const _0x1a794b=_0x2bac6b,{locale:_0x2db7fe}=this,_0x3c3887=this[_0x1a794b(0x208)][_0x1a794b(0x20b)][_0x1a794b(0x226)](0x0);_0x3c3887===this[_0x1a794b(0x210)]||_0x3c3887[_0x1a794b(0x227)]||(this[_0x1a794b(0x210)]=_0x3c3887,this[_0x1a794b(0x213)](_0x1a794b(0x22d)),this[_0x1a794b(0x238)](_0x1a794b(0x22d))['to'](_0x3c3887,_0x1a794b(0x22d),_0x5c74d9=>_0x1a794b(0x232)===_0x5c74d9?_0x1a794b(0x232):null),_0x3c3887[_0x1a794b(0x23c)]=_0x358544(_0x2db7fe,_0x1a794b(0x1fb)),_0x3c3887[_0x1a794b(0x1f3)]['on'](_0x1a794b(0x221),_0x42e574=>{const _0x72df=_0x1a794b;_0x42e574[_0x72df(0x223)](),this[_0x72df(0x1fd)](_0x358544(_0x2db7fe,_0x72df(0x1f1)),this[_0x72df(0x1fe)])[_0x72df(0x218)](()=>{const _0x156a90=_0x72df;this[_0x156a90(0x201)](_0x156a90(0x20e));});},{'priority':_0x1a794b(0x211)}),_0x3c3887[_0x1a794b(0x225)][_0x1a794b(0x206)](this[_0x1a794b(0x23f)],0x0));}[_0x2bac6b(0x228)](){const _0x311bdc=_0x2bac6b,_0x276ea3=new _0x39810f(this[_0x311bdc(0x205)]);return _0x276ea3[_0x311bdc(0x216)]=_0x358544(this[_0x311bdc(0x205)],_0x311bdc(0x214)),_0x276ea3[_0x311bdc(0x200)]=_0x358544(this[_0x311bdc(0x205)],_0x311bdc(0x214)),_0x276ea3[_0x311bdc(0x212)]=_0x5e2d81[_0x311bdc(0x207)],_0x276ea3[_0x311bdc(0x1f4)]({'attributes':{'class':_0x311bdc(0x23e)}}),_0x276ea3[_0x311bdc(0x238)](_0x311bdc(0x22a))['to'](this[_0x311bdc(0x23a)],_0x311bdc(0x222),_0x10d2c5=>!_0x10d2c5),_0x276ea3[_0x311bdc(0x238)](_0x311bdc(0x1f5))['to'](this[_0x311bdc(0x23a)],_0x311bdc(0x1f0),this[_0x311bdc(0x23a)],_0x311bdc(0x21b),(_0x5d0f3d,_0x454c4e)=>_0x5d0f3d&&!_0x454c4e),_0x276ea3['on'](_0x311bdc(0x221),()=>{const _0x57df6d=_0x311bdc;this[_0x57df6d(0x201)](_0x57df6d(0x235),this[_0x57df6d(0x23a)]['id']);}),_0x276ea3;}}
23
+ const _0x5c1242=_0x1d45;(function(_0x47836a,_0xcf6da2){const _0x2b404b=_0x1d45,_0x1b9746=_0x47836a();while(!![]){try{const _0x5ade8b=-parseInt(_0x2b404b(0xf7))/0x1+-parseInt(_0x2b404b(0xb9))/0x2*(-parseInt(_0x2b404b(0xeb))/0x3)+-parseInt(_0x2b404b(0xec))/0x4+parseInt(_0x2b404b(0x109))/0x5+-parseInt(_0x2b404b(0xf5))/0x6+-parseInt(_0x2b404b(0xef))/0x7*(parseInt(_0x2b404b(0xde))/0x8)+parseInt(_0x2b404b(0xfe))/0x9;if(_0x5ade8b===_0xcf6da2)break;else _0x1b9746['push'](_0x1b9746['shift']());}catch(_0x4728f4){_0x1b9746['push'](_0x1b9746['shift']());}}}(_0x507a,0x1c0fd));function _0x507a(){const _0x1057a0=['commentsListView','actionIndicator','removeCommentThread','isUnlinked','Write\x20a\x20comment...','Delete\x20comment\x20thread?','825786ESxhKJ','ck-thread--remove-confirmation','then','render','isResolvable','high','Resolve','cancelConfirm','_updateArchivedThreadHeader','ariaDescriptionView','label','1068775QJuSdr','isSystemComment','add','containerElement','commentThreadInputView','_createResolveButton','ck-thread--unlinked','removeButton','archivedAt','change:isActive','8JxsuZs','.ck-thread__container','focusables','resolveButton','setTemplate','extendTemplate','_boundFirstCommentView','remove','icon','isResolved','isActive','focus','commentViews','bindTemplate','ck-thread--','showConfirm','ck-reset_all-excluded','change:isReadOnly','unbind','_model','stop','listenTo','has','_cancelAllConfirms','locale','ck-thread','execute','createCollection','bind','listitem','tooltip','isVisible','fire','ck-thread__container','getTemplate','actionBar','element','344472oaGIZk','set','commentThreadHeaderView','isReadOnly','isConfirm','get','change:archivedAt','placeholder','_bindFirstCommentView','resolveCommentThread','removeConfirm','ariaLabel','check','100764LbZdVe','717788eIhoJP','commentThreadChildren','length','7nmkCIa','ck-rounded-corners','ck-thread--active','div','querySelector','isEnabled','438084hNAeqd','ck-comment--resolve','29400sgElzz'];_0x507a=function(){return _0x1057a0;};return _0x507a();}import{ConfirmMixin as _0x44742d,LateFocusButtonView as _0x56d85f}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x43d957}from'ckeditor5/src/core.js';import _0x311610 from'./basecommentthreadview.js';import{getTranslation as _0x8fff4c}from'../../../utils/common-translations.js';function _0x1d45(_0x2f3191,_0x23547c){const _0x507a0e=_0x507a();return _0x1d45=function(_0x1d45d0,_0x362ba5){_0x1d45d0=_0x1d45d0-0xb8;let _0x40d770=_0x507a0e[_0x1d45d0];return _0x40d770;},_0x1d45(_0x2f3191,_0x23547c);}export default class At extends/* #__PURE__ -- @preserve */
24
+ _0x44742d(_0x311610){constructor(_0x383c6d,_0x22c87b,_0x2e39b6,_0x301539){const _0x283179=_0x1d45;super(_0x383c6d,_0x22c87b,_0x2e39b6,_0x301539),this[_0x283179(0xed)]=this[_0x283179(0xd4)]([this[_0x283179(0xf8)],this[_0x283179(0x10d)],this[_0x283179(0x107)]]),this[_0x283179(0xdf)](_0x283179(0xf9),null),this[_0x283179(0x10c)]=null,this[_0x283179(0xbf)]=null,this[_0x283179(0xd1)]=_0x383c6d,this[_0x283179(0xbc)]=this[_0x283179(0x10e)](),this[_0x283179(0xbd)](this[_0x283179(0xdb)]()),this['on'](_0x283179(0xb8),(_0x5a6bb3,_0xddd84,_0x28a949)=>{const _0x3bc718=_0x283179;_0x28a949||this[_0x3bc718(0xd0)]();}),this[_0x283179(0xce)](this[_0x283179(0xcc)],_0x283179(0xca),(_0x211ccb,_0x107d85,_0x4f0dd7)=>{const _0x3bfe9e=_0x283179;_0x4f0dd7&&this[_0x3bfe9e(0xd0)]();}),this[_0x283179(0xee)]>0x0&&this[_0x283179(0xe6)](),this[_0x283179(0xce)](this[_0x283179(0xf8)][_0x283179(0xc5)],_0x283179(0x10b),()=>{const _0x2af08c=_0x283179;this[_0x2af08c(0xe6)]();});}[_0x5c1242(0xdb)](){const _0x53d04d=_0x5c1242,_0x46d2fb=this[_0x53d04d(0xc6)];return{'tag':_0x53d04d(0xf2),'attributes':{'class':['ck',_0x53d04d(0xd2),_0x53d04d(0xc9),_0x53d04d(0xf0),_0x46d2fb['if'](_0x53d04d(0xc3),_0x53d04d(0xf1)),_0x46d2fb['if'](_0x53d04d(0xfb),_0x53d04d(0x10f)),_0x46d2fb['if'](_0x53d04d(0xe2),_0x53d04d(0xff)),_0x46d2fb['to'](_0x53d04d(0xf9),_0x55fce9=>_0x55fce9?_0x53d04d(0xc7)+_0x55fce9:'')],'data-thread-id':this[_0x53d04d(0xcc)]['id'],'tabindex':0x0,'role':_0x53d04d(0xd6),'aria-label':_0x46d2fb['to'](_0x53d04d(0xe9)),'aria-describedby':this[_0x53d04d(0x107)]['id']},'children':[{'tag':_0x53d04d(0xf2),'attributes':{'class':_0x53d04d(0xda)},'children':this[_0x53d04d(0xed)]}]};}[_0x5c1242(0x101)](){const _0x144561=_0x5c1242;super[_0x144561(0x101)](),this[_0x144561(0x10c)]=this[_0x144561(0xdd)][_0x144561(0xf3)](_0x144561(0xba)),this[_0x144561(0xcc)]['on'](_0x144561(0xe4),()=>{const _0x4aca35=_0x144561;this[_0x4aca35(0x106)]();}),this[_0x144561(0x106)]();}[_0x5c1242(0xd0)](){const _0x8891e8=_0x5c1242;this[_0x8891e8(0x105)]();for(const _0x38a160 of this[_0x8891e8(0xf8)][_0x8891e8(0xc5)])_0x38a160[_0x8891e8(0x105)]();}[_0x5c1242(0xe6)](){const _0x33c347=_0x5c1242,{locale:_0x23d43f}=this,_0x464053=this[_0x33c347(0xf8)][_0x33c347(0xc5)][_0x33c347(0xe3)](0x0);_0x464053===this[_0x33c347(0xbf)]||_0x464053[_0x33c347(0x10a)]||(this[_0x33c347(0xbf)]=_0x464053,this[_0x33c347(0xcb)](_0x33c347(0xf9)),this[_0x33c347(0xd5)](_0x33c347(0xf9))['to'](_0x464053,_0x33c347(0xf9),_0x57adcc=>_0x33c347(0xc0)===_0x57adcc?_0x33c347(0xc0):null),_0x464053[_0x33c347(0xe5)]=_0x8fff4c(_0x23d43f,_0x33c347(0xfc)),_0x464053[_0x33c347(0x110)]['on'](_0x33c347(0xd3),_0x2207fb=>{const _0x197adc=_0x33c347;_0x2207fb[_0x197adc(0xcd)](),this[_0x197adc(0xc8)](_0x8fff4c(_0x23d43f,_0x197adc(0xfd)),this[_0x197adc(0x10c)])[_0x197adc(0x100)](()=>{const _0x5683f7=_0x197adc;this[_0x5683f7(0xd9)](_0x5683f7(0xfa));});},{'priority':_0x33c347(0x103)}),this['on'](_0x33c347(0xe8),()=>{const _0x17cfa7=_0x33c347;_0x464053[_0x17cfa7(0xc4)]();}),_0x464053[_0x33c347(0xdc)][_0x33c347(0x10b)](this[_0x33c347(0xbc)],0x0),_0x464053[_0x33c347(0xbb)][_0x33c347(0x10b)](this[_0x33c347(0xbc)],0x0));}[_0x5c1242(0x10e)](){const _0x3913a1=_0x5c1242,_0xfb4063=new _0x56d85f(this[_0x3913a1(0xd1)]);return _0xfb4063[_0x3913a1(0x108)]=_0x8fff4c(this[_0x3913a1(0xd1)],_0x3913a1(0x104)),_0xfb4063[_0x3913a1(0xd7)]=_0x8fff4c(this[_0x3913a1(0xd1)],_0x3913a1(0x104)),_0xfb4063[_0x3913a1(0xc1)]=_0x43d957[_0x3913a1(0xea)],_0xfb4063[_0x3913a1(0xbe)]({'attributes':{'class':_0x3913a1(0xf6)}}),_0xfb4063[_0x3913a1(0xd5)](_0x3913a1(0xf4))['to'](this[_0x3913a1(0xcc)],_0x3913a1(0xe1),_0x30aaaf=>!_0x30aaaf),_0xfb4063[_0x3913a1(0xd5)](_0x3913a1(0xd8))['to'](this[_0x3913a1(0xcc)],_0x3913a1(0x102),this[_0x3913a1(0xcc)],_0x3913a1(0xc2),(_0x3aae06,_0x2da494)=>_0x3aae06&&!_0x2da494),_0xfb4063['on'](_0x3913a1(0xd3),()=>{const _0x556ead=_0x3913a1;this[_0x556ead(0xd9)](_0x556ead(0xe7),this[_0x556ead(0xcc)]['id']);}),_0xfb4063;}[_0x5c1242(0x106)](){const _0x52d455=_0x5c1242;this[_0x52d455(0xcc)][_0x52d455(0x111)]?this[_0x52d455(0xed)][_0x52d455(0xcf)](this[_0x52d455(0xe0)])||(this[_0x52d455(0xed)][_0x52d455(0x10b)](this[_0x52d455(0xe0)],0x0),this[_0x52d455(0xbb)][_0x52d455(0x10b)](this[_0x52d455(0xe0)],0x0)):this[_0x52d455(0xed)][_0x52d455(0xcf)](this[_0x52d455(0xe0)])&&(this[_0x52d455(0xed)][_0x52d455(0xc0)](this[_0x52d455(0xe0)]),this[_0x52d455(0xbb)][_0x52d455(0xc0)](this[_0x52d455(0xe0)]));}}
@@ -7,7 +7,7 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { type Locale } from 'ckeditor5/src/utils.js';
10
- import { ButtonView, type TemplateDefinition, type ViewCollection, type DropdownView } from 'ckeditor5/src/ui.js';
10
+ import { ButtonView, type TemplateDefinition, type DropdownView, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
11
11
  import { UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
12
  import BaseCommentView from './basecommentview.js';
13
13
  import type { Comment } from '../../commentsrepository.js';
@@ -58,7 +58,7 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
58
58
  * * the resolve comment thread button (only if the comment is the first comment),
59
59
  * * a dropdown with actions ({@link ~CommentView#dropdown `dropdown`}).
60
60
  */
61
- actionBar: ViewCollection;
61
+ actionBar: ViewCollection<FocusableView>;
62
62
  /**
63
63
  * View collection which holds all the comments dropdown elements.
64
64
  *
@@ -106,7 +106,10 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
106
106
  * 'ck-comment__wrapper',
107
107
  * bind.if( 'isConfirm', 'ck-comment--remove-confirmation' )
108
108
  * ],
109
- * tabindex: -1
109
+ * tabindex: -1,
110
+ * 'aria-label': bind.to( 'ariaLabel' ),
111
+ * 'aria-describedby': this.ariaDescriptionView.id,
112
+ * role: 'listitem'
110
113
  * },
111
114
  *
112
115
  * children: [
@@ -122,7 +125,8 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
122
125
  * bind.to( 'actionIndicator', value => value ? `ck-comment--${ value }` : '' )
123
126
  * ],
124
127
  * 'data-author-id': this._model.author.id,
125
- * 'data-comment-id': this._model.id
128
+ * 'data-comment-id': this._model.id,
129
+ * role: 'group'
126
130
  * },
127
131
  *
128
132
  * children: [
@@ -195,6 +199,7 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
195
199
  *
196
200
  * children: this.visibleView
197
201
  * },
202
+ * this.ariaDescriptionView,
198
203
  * {
199
204
  * tag: 'div',
200
205
  *
@@ -222,14 +227,6 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
222
227
  * @inheritDoc
223
228
  */
224
229
  protected _createCommentInputView(): CommentInputView;
225
- /**
226
- * Gets the translated note which indicates that the comment comes from an external source.
227
- */
228
- getExternalCommentNote(): string;
229
- /**
230
- * Gets the translated notification text which indicates that author name comes from an external source.
231
- */
232
- getUserViewNotificationText(): string | null;
233
230
  /**
234
231
  * @inheritDoc
235
232
  */
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x492a18=_0x3cca;(function(_0x12e784,_0xdff819){const _0x51dfa3=_0x3cca,_0x10d25e=_0x12e784();while(!![]){try{const _0x45f78e=parseInt(_0x51dfa3(0x1b6))/0x1+-parseInt(_0x51dfa3(0x17b))/0x2*(-parseInt(_0x51dfa3(0x1b8))/0x3)+-parseInt(_0x51dfa3(0x16d))/0x4*(-parseInt(_0x51dfa3(0x175))/0x5)+-parseInt(_0x51dfa3(0x19a))/0x6*(parseInt(_0x51dfa3(0x1a3))/0x7)+parseInt(_0x51dfa3(0x1b3))/0x8*(parseInt(_0x51dfa3(0x192))/0x9)+-parseInt(_0x51dfa3(0x197))/0xa*(-parseInt(_0x51dfa3(0x16b))/0xb)+-parseInt(_0x51dfa3(0x173))/0xc;if(_0x45f78e===_0xdff819)break;else _0x10d25e['push'](_0x10d25e['shift']());}catch(_0xb6162b){_0x10d25e['push'](_0x10d25e['shift']());}}}(_0x4afb,0xed984));import{ButtonView as _0x2c5616,createDropdown as _0x37e77d,ListView as _0x367c36,ListItemView as _0x1450a1}from'ckeditor5/src/ui.js';import{icons as _0x1d7a4e}from'ckeditor5/src/core.js';function _0x3cca(_0x33988a,_0x1eac3a){const _0x4afbcf=_0x4afb();return _0x3cca=function(_0x3ccaa7,_0xebe277){_0x3ccaa7=_0x3ccaa7-0x152;let _0x184f6b=_0x4afbcf[_0x3ccaa7];return _0x184f6b;},_0x3cca(_0x33988a,_0x1eac3a);}import{UserView as _0x2f4d5a,ConfirmMixin as _0x45d825}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x153f84 from'./basecommentview.js';function _0x4afb(){const _0x1ab511=['author','threeVerticalDots','ck-comment--edit','isReadOnly','actionBar','editButton','ck-comment__actions--hidden','isEditMode','dropdown','ck-comment__info','ck-comment__wrapper','_model','Reply...','158445blyXvu','items','getUserViewNotificationText','isVisible','withText','107590iLTeoQ','_createDropdown','EXTERNAL_IMPORT_WORD_COMMENT','36bzRxLY','ck-comment--remove-confirmation','ck-annotation__info-name','addMany','some','push','locale','label','ck-comment__user','2027697RFHJLV','Delete\x20comment?','actionIndicator','EXTERNAL_COMMENT','buttonView','panelPosition','then','render','creator','ck-annotation__info-time','ck-annotation__actions--hidden','showConfirm','ck-comment--','_attachActions','Remove','removeComment','464BntjMM','mouseleave','isSystemComment','829058dzdtSf','visibleView','39OMvQiP','ck-comment__external','set','userView','execute','icon','ck-comment__info-name','children','Edit','pencil','isRemovable','_createCommentInputView','source','ck-comment__main','fire','time','extendTemplate','ck-annotation__user','isExternal','blur','ck-annotation__main','getTemplate','listenTo','add','isConfirm','formatDateTime','createCollection','bind','panelView','removeButton','change:isVisible','name','ck-comment--remove','getExternalCommentNote','ck-annotation__content-wrapper','setTemplate','_config','mouseenter','bindTemplate','@external','ck-annotation__info','EXTERNAL_AVATAR','switchToEditMode','isEditable','ck-annotation__actions','ck-annotation','importWord','ck-comment__actions','element','33sTHTkp','authoredAt','32gipOFb','ck-comment','ck-comment--info','edit','focus','_createRemoveButton','11359128drOVlV','EXTERNAL_IMPORT_WORD_AVATAR','451790NbkZJb','change:isEnabled','change:isRemovable','resolvedAt','isEnabled','remove','161926jkFfNP','placeholder','Show\x20more\x20items','_createEditButton','ck-comment__info-time','cancelConfirm','span','attributes','length','div'];_0x4afb=function(){return _0x1ab511;};return _0x4afb();}import _0x1416b2 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5872fb}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
24
- _0x45d825(_0x153f84){constructor(_0x30a879,_0x552146,_0x24e1d2){const _0x413929=_0x3cca;super(_0x30a879,_0x552146,_0x24e1d2),this[_0x413929(0x1ba)](_0x413929(0x1a5),null),this[_0x413929(0x1ba)](_0x413929(0x17c),_0x5872fb(_0x30a879,_0x413929(0x191))),this[_0x413929(0x155)](_0x413929(0x16c))['to'](_0x552146),this[_0x413929(0x155)](_0x413929(0x178))['to'](_0x552146),this[_0x413929(0x189)]=this[_0x413929(0x154)](),this[_0x413929(0x1b5)]||(this[_0x413929(0x18a)]=this[_0x413929(0x17e)](),this[_0x413929(0x157)]=this[_0x413929(0x172)](),this[_0x413929(0x193)]=this[_0x413929(0x154)](),this[_0x413929(0x193)][_0x413929(0x19d)]([this[_0x413929(0x18a)],this[_0x413929(0x157)]]),this[_0x413929(0x18d)]=this[_0x413929(0x198)](),this[_0x413929(0x189)][_0x413929(0x1cf)](this[_0x413929(0x18d)])),this[_0x413929(0x1bb)]=new _0x2f4d5a(_0x30a879,_0x552146[_0x413929(0x185)],this[_0x413929(0x194)]()),this[_0x413929(0x1bb)][_0x413929(0x1c8)]({'attributes':{'class':[_0x413929(0x1a2),_0x413929(0x1c9)]}}),this[_0x413929(0x1ce)](_0x552146,_0x413929(0x177),()=>this[_0x413929(0x180)]()),this[_0x413929(0x15d)](this[_0x413929(0x1cd)]());}[_0x492a18(0x1cd)](){const _0x488fa1=_0x492a18,_0xff4581=this[_0x488fa1(0x160)],_0x8d4247=[{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x18e),_0x488fa1(0x162)]},'children':[{'tag':_0x488fa1(0x181),'children':[{'text':this[_0x488fa1(0x1bb)][_0x488fa1(0x159)]}],'attributes':{'class':[_0x488fa1(0x1be),_0x488fa1(0x19c)]}},{'tag':_0x488fa1(0x1c7),'attributes':{'datetime':_0xff4581['to'](_0x488fa1(0x16c)),'class':[_0x488fa1(0x17f),_0x488fa1(0x1ac)]},'children':[{'text':_0xff4581['to'](_0x488fa1(0x16c),_0x547197=>this[_0x488fa1(0x15e)][_0x488fa1(0x153)](_0x547197))}]}]},{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x169),_0x488fa1(0x166),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x18b)),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x1ad))]},'children':this[_0x488fa1(0x189)]},{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x15c)]},'children':this[_0x488fa1(0x1b7)]}];return this[_0x488fa1(0x190)][_0x488fa1(0x1ca)]&&_0x8d4247[_0x488fa1(0x19f)]({'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x1b9)]},'children':[{'text':this[_0x488fa1(0x15b)]()}]}),{'tag':'li','attributes':{'class':[_0x488fa1(0x18f),_0xff4581['if'](_0x488fa1(0x152),_0x488fa1(0x19b))],'tabindex':-0x1},'children':[{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x16e),_0x488fa1(0x167),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x187)),_0xff4581['if'](_0x488fa1(0x1b5),_0x488fa1(0x16f)),_0xff4581['to'](_0x488fa1(0x1a5),_0x5c22cd=>_0x5c22cd?_0x488fa1(0x1af)+_0x5c22cd:'')],'data-author-id':this[_0x488fa1(0x190)][_0x488fa1(0x185)]['id'],'data-comment-id':this[_0x488fa1(0x190)]['id']},'children':[this[_0x488fa1(0x1bb)],{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x1c5),_0x488fa1(0x1cc)]},'children':_0x8d4247}]}]};}[_0x492a18(0x17e)](){const _0x2197c8=_0x492a18,_0x810367=new _0x2c5616(this[_0x2197c8(0x1a0)]);return _0x810367[_0x2197c8(0x1a1)]=_0x5872fb(this[_0x2197c8(0x1a0)],_0x2197c8(0x1c0)),_0x810367[_0x2197c8(0x1bd)]=_0x1d7a4e[_0x2197c8(0x1c1)],_0x810367[_0x2197c8(0x196)]=!0x0,_0x810367[_0x2197c8(0x1c8)]({'attributes':{'class':_0x2197c8(0x187)}}),_0x810367[_0x2197c8(0x155)](_0x2197c8(0x179))['to'](this[_0x2197c8(0x190)],_0x2197c8(0x188),_0x42d1a8=>!_0x42d1a8),_0x810367[_0x2197c8(0x155)](_0x2197c8(0x195))['to'](this[_0x2197c8(0x190)],_0x2197c8(0x165)),_0x810367['on'](_0x2197c8(0x1bc),()=>this[_0x2197c8(0x164)]()),_0x810367;}[_0x492a18(0x172)](){const _0x26e32d=_0x492a18,_0x4cb032=new _0x2c5616(this[_0x26e32d(0x1a0)]);return _0x4cb032[_0x26e32d(0x1a1)]=_0x5872fb(this[_0x26e32d(0x1a0)],_0x26e32d(0x1b1)),_0x4cb032[_0x26e32d(0x1bd)]=_0x1416b2,_0x4cb032[_0x26e32d(0x196)]=!0x0,_0x4cb032[_0x26e32d(0x1c8)]({'attributes':{'class':_0x26e32d(0x15a)}}),_0x4cb032[_0x26e32d(0x155)](_0x26e32d(0x179))['to'](this[_0x26e32d(0x190)],_0x26e32d(0x188),_0x269598=>!_0x269598),_0x4cb032[_0x26e32d(0x155)](_0x26e32d(0x195))['to'](this[_0x26e32d(0x190)],_0x26e32d(0x1c2)),_0x4cb032['on'](_0x26e32d(0x1bc),()=>{const _0x5402dd=_0x26e32d;this[_0x5402dd(0x1ae)](_0x5872fb(this[_0x5402dd(0x1a0)],_0x5402dd(0x1a4)),this[_0x5402dd(0x16a)])[_0x5402dd(0x1a9)](()=>{const _0x193177=_0x5402dd;this[_0x193177(0x1c6)](_0x193177(0x1b2),this[_0x193177(0x190)]['id']);});}),_0x4cb032;}[_0x492a18(0x198)](){const _0x43d556=_0x492a18,_0x784c74=_0x37e77d(this[_0x43d556(0x1a0)]),_0x3a50b9=_0x784c74[_0x43d556(0x156)][_0x43d556(0x1bf)],_0x3ed9a3=new _0x367c36(this[_0x43d556(0x1a0)]),_0x5cdf61=(_0x2ebaaf,_0x3d48e=-0x1)=>{const _0x3b695f=_0x43d556,_0x170a01=new _0x1450a1(this[_0x3b695f(0x1a0)]);_0x170a01[_0x3b695f(0x1bf)][_0x3b695f(0x1cf)](_0x2ebaaf);const _0x188b28=_0x3d48e>-0x1?_0x3d48e:_0x3ed9a3[_0x3b695f(0x193)][_0x3b695f(0x183)];_0x3ed9a3[_0x3b695f(0x193)][_0x3b695f(0x1cf)](_0x170a01,_0x188b28),_0x784c74[_0x3b695f(0x1ce)](_0x2ebaaf,_0x3b695f(0x176),()=>{const _0x56bb90=_0x3b695f;_0x784c74[_0x56bb90(0x179)]=[...this[_0x56bb90(0x193)]][_0x56bb90(0x19e)](_0x2508ab=>_0x2508ab[_0x56bb90(0x179)]);}),_0x784c74[_0x3b695f(0x1ce)](_0x2ebaaf,_0x3b695f(0x158),()=>{const _0x330a9b=_0x3b695f;_0x784c74[_0x330a9b(0x1a7)][_0x330a9b(0x195)]=[...this[_0x330a9b(0x193)]][_0x330a9b(0x19e)](_0x1af580=>_0x1af580[_0x330a9b(0x195)]);});};_0x784c74[_0x43d556(0x1a8)]='sw',_0x784c74[_0x43d556(0x1a7)][_0x43d556(0x1ba)]({'label':_0x5872fb(this[_0x43d556(0x1a0)],_0x43d556(0x17d)),'icon':_0x1d7a4e[_0x43d556(0x186)]}),_0x784c74[_0x43d556(0x179)]=[...this[_0x43d556(0x193)]][_0x43d556(0x19e)](_0x49d289=>_0x49d289[_0x43d556(0x179)]),_0x784c74[_0x43d556(0x1a7)][_0x43d556(0x195)]=[...this[_0x43d556(0x193)]][_0x43d556(0x19e)](_0x5165fb=>_0x5165fb[_0x43d556(0x195)]);for(const _0x3b8afc of this[_0x43d556(0x193)])_0x5cdf61(_0x3b8afc);return _0x3a50b9[_0x43d556(0x1cf)](_0x3ed9a3),_0x784c74[_0x43d556(0x1ce)](this[_0x43d556(0x193)],_0x43d556(0x1cf),(_0x44e7a3,_0x4761c2,_0x3ba44b)=>{_0x5cdf61(_0x4761c2,_0x3ba44b);}),_0x784c74[_0x43d556(0x1ce)](this[_0x43d556(0x193)],_0x43d556(0x17a),(_0x28e2a5,_0x4e9e53,_0x54fc64)=>{const _0x2de126=_0x43d556;_0x3ed9a3[_0x2de126(0x193)][_0x2de126(0x17a)](_0x54fc64);}),_0x784c74;}[_0x492a18(0x1b0)](_0x49ab12,_0x29c76c){const _0x41c52e=_0x492a18,_0x4b15fd=_0x49ab12&&_0x49ab12[_0x41c52e(0x16a)];_0x4b15fd&&(this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x15f),()=>this[_0x41c52e(0x1a5)]=_0x29c76c),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x171),()=>this[_0x41c52e(0x1a5)]=_0x29c76c),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x1b4),()=>this[_0x41c52e(0x1a5)]=null),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x1cb),()=>this[_0x41c52e(0x1a5)]=null));}[_0x492a18(0x1c3)](){const _0x58320e=_0x492a18,_0x1fe602=super[_0x58320e(0x1c3)]();return _0x1fe602[_0x58320e(0x155)](_0x58320e(0x17c))['to'](this),_0x1fe602;}[_0x492a18(0x15b)](){const _0xcce555=_0x492a18;return _0xcce555(0x168)===this[_0xcce555(0x190)][_0xcce555(0x182)][_0xcce555(0x161)][_0xcce555(0x1c4)]?_0x5872fb(this[_0xcce555(0x1a0)],_0xcce555(0x199)):_0x5872fb(this[_0xcce555(0x1a0)],_0xcce555(0x1a6));}[_0x492a18(0x194)](){const _0x200d19=_0x492a18;return this[_0x200d19(0x190)][_0x200d19(0x1ca)]?_0x200d19(0x168)===this[_0x200d19(0x190)][_0x200d19(0x182)][_0x200d19(0x161)][_0x200d19(0x1c4)]?_0x5872fb(this[_0x200d19(0x1a0)],_0x200d19(0x174),this[_0x200d19(0x190)][_0x200d19(0x1ab)][_0x200d19(0x159)]):_0x5872fb(this[_0x200d19(0x1a0)],_0x200d19(0x163),this[_0x200d19(0x190)][_0x200d19(0x1ab)][_0x200d19(0x159)]):null;}[_0x492a18(0x1aa)](){const _0x4373a3=_0x492a18;super[_0x4373a3(0x1aa)](),this[_0x4373a3(0x1b0)](this[_0x4373a3(0x18a)],_0x4373a3(0x170)),this[_0x4373a3(0x1b0)](this[_0x4373a3(0x157)],_0x4373a3(0x17a));}}
23
+ const _0x39c402=_0x5d1b;(function(_0x490f44,_0x431065){const _0xbdf397=_0x5d1b,_0x260378=_0x490f44();while(!![]){try{const _0xe83abd=-parseInt(_0xbdf397(0x172))/0x1+parseInt(_0xbdf397(0x184))/0x2*(parseInt(_0xbdf397(0x1c6))/0x3)+parseInt(_0xbdf397(0x1b2))/0x4+-parseInt(_0xbdf397(0x197))/0x5*(parseInt(_0xbdf397(0x176))/0x6)+-parseInt(_0xbdf397(0x1b8))/0x7+parseInt(_0xbdf397(0x1ac))/0x8*(parseInt(_0xbdf397(0x1cc))/0x9)+-parseInt(_0xbdf397(0x189))/0xa*(parseInt(_0xbdf397(0x171))/0xb);if(_0xe83abd===_0x431065)break;else _0x260378['push'](_0x260378['shift']());}catch(_0xc72497){_0x260378['push'](_0x260378['shift']());}}}(_0x14fb,0xbd13e));import{ButtonView as _0x127c78,createDropdown as _0x476ccd,ListView as _0x5af652,ListItemView as _0x4e68bb,focusChildOnDropdownOpen as _0x389c05}from'ckeditor5/src/ui.js';import{icons as _0x51c594}from'ckeditor5/src/core.js';function _0x14fb(){const _0x1e3e0a=['buttonView','_model','userView','set','ck-hidden','element','27545nBRmKl','addMany','add','listenTo','render','visibleView','name','ck-comment--','switchToEditMode','ck-comment__actions','Reply...','_createEditButton','ck-comment__info-time','isEditable','ck-comment--info','removeButton','execute','isVisible','showConfirm','getExternalCommentNote','label','3211032VDkRnq','ck-comment','unbind','some','threeVerticalDots','items','6054312dgraWc','isRemovable','isSystemComment','ck-comment--edit','Remove','panelView','801871hwEdUZ','ck-annotation__user','_createCommentInputView','setTemplate','withText','ck-annotation__info-name','then','_attachActions','placeholder','div','removeComment','time','blur','length','132BgRxlP','createCollection','ck-comment__actions--hidden','getTemplate','icon','push','27MvNIQI','ck-annotation__actions--hidden','ck-comment--remove-confirmation','Show\x20more\x20items','ck-comment__info-name','Delete\x20comment?','actionBar','getUserViewNotificationText','find','ck-annotation__actions','authoredAt','pencil','_config','isEnabled','ck-comment__info','isExternal','edit','isConfirm','ariaDescriptionView','toMany','author','ck-annotation__content-wrapper','locale','ck-comment--remove','fire','panelPosition','actionIndicator','resolvedAt','ariaLabel','cancelConfirm','group','mouseenter','ck-comment__external','619509tZrVXW','1258599tQuRTP','focus','Edit','mouseleave','738meBvyg','isEditMode','_createDropdown','listitem','change:isRemovable','ck-annotation','span','editButton','dropdown','ck-annotation__info-time','ck-annotation__info','focusables','bindTemplate','formatDateTime','40726BreSGd','_createRemoveButton','children','bind','isReadOnly','140WQWGZn','ck-annotation__main','from','extendTemplate','ck-comment__main','ck-comment__user','ck-comment__wrapper','remove'];_0x14fb=function(){return _0x1e3e0a;};return _0x14fb();}import{UserView as _0x410a3e,ConfirmMixin as _0x9d6f7e,LateFocusDropdownButtonView as _0x5d5fab}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d1b(_0x2c15d8,_0x5513b0){const _0x14fb4f=_0x14fb();return _0x5d1b=function(_0x5d1bd9,_0x1c3e0c){_0x5d1bd9=_0x5d1bd9-0x163;let _0x307d12=_0x14fb4f[_0x5d1bd9];return _0x307d12;},_0x5d1b(_0x2c15d8,_0x5513b0);}import _0x33aa17 from'./basecommentview.js';import _0x2a4e0e from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5a9b2c}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
24
+ _0x9d6f7e(_0x33aa17){constructor(_0x48b49f,_0x5d455b,_0x473824){const _0x4c4526=_0x5d1b;super(_0x48b49f,_0x5d455b,_0x473824),this[_0x4c4526(0x194)](_0x4c4526(0x16a),null),this[_0x4c4526(0x194)](_0x4c4526(0x1c0),_0x5a9b2c(_0x48b49f,_0x4c4526(0x1a1))),this[_0x4c4526(0x187)](_0x4c4526(0x1d6))['to'](_0x5d455b),this[_0x4c4526(0x187)](_0x4c4526(0x16b))['to'](_0x5d455b),this[_0x4c4526(0x1d2)]=this[_0x4c4526(0x1c7)](),this[_0x4c4526(0x1b4)]||(this[_0x4c4526(0x17d)]=this[_0x4c4526(0x1a2)](),this[_0x4c4526(0x1a6)]=this[_0x4c4526(0x185)](),this[_0x4c4526(0x1b1)]=this[_0x4c4526(0x1c7)](),this[_0x4c4526(0x1b1)][_0x4c4526(0x198)]([this[_0x4c4526(0x17d)],this[_0x4c4526(0x1a6)]]),this[_0x4c4526(0x17e)]=this[_0x4c4526(0x178)](),this[_0x4c4526(0x1d2)][_0x4c4526(0x199)](this[_0x4c4526(0x17e)]),this[_0x4c4526(0x181)][_0x4c4526(0x199)](this[_0x4c4526(0x17e)])),this[_0x4c4526(0x193)]=new _0x410a3e(_0x48b49f,_0x5d455b[_0x4c4526(0x164)],this[_0x4c4526(0x1d3)]()),this[_0x4c4526(0x193)][_0x4c4526(0x18c)]({'attributes':{'class':[_0x4c4526(0x18e),_0x4c4526(0x1b9)],'aria-hidden':!0x0}}),this[_0x4c4526(0x19a)](_0x5d455b,_0x4c4526(0x17a),()=>this[_0x4c4526(0x16d)]()),this[_0x4c4526(0x1bb)](this[_0x4c4526(0x1c9)]());}[_0x39c402(0x1c9)](){const _0xe012f8=_0x39c402,_0x5c23c5=this[_0xe012f8(0x182)],_0x9a133f=[{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1da),_0xe012f8(0x180)]},'children':[{'tag':_0xe012f8(0x17c),'children':[{'text':this[_0xe012f8(0x193)][_0xe012f8(0x19d)]}],'attributes':{'class':[_0xe012f8(0x1d0),_0xe012f8(0x1bd)]}},{'tag':_0xe012f8(0x1c3),'attributes':{'datetime':_0x5c23c5['to'](_0xe012f8(0x1d6)),'class':[_0xe012f8(0x1a3),_0xe012f8(0x17f)]},'children':[{'text':_0x5c23c5['to'](_0xe012f8(0x1d6),_0x4a8e59=>this[_0xe012f8(0x1d8)][_0xe012f8(0x183)](_0x4a8e59))}]}]},{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1a0),_0xe012f8(0x1d5),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1c8)),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1cd))]},'children':this[_0xe012f8(0x1d2)]},{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x165)]},'children':this[_0xe012f8(0x19c)]},this[_0xe012f8(0x1de)]];return this[_0xe012f8(0x192)][_0xe012f8(0x1db)]&&_0x9a133f[_0xe012f8(0x1cb)]({'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x170)]},'children':[{'text':this[_0xe012f8(0x1aa)]()}]}),{'tag':'li','attributes':{'class':[_0xe012f8(0x18f),_0x5c23c5['if'](_0xe012f8(0x1dd),_0xe012f8(0x1ce))],'tabindex':-0x1,'aria-label':_0x5c23c5['to'](_0xe012f8(0x16c)),'aria-describedby':this[_0xe012f8(0x1de)]['id'],'role':_0xe012f8(0x179)},'children':[{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1ad),_0xe012f8(0x17b),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1b5)),_0x5c23c5['if'](_0xe012f8(0x1b4),_0xe012f8(0x1a5)),_0x5c23c5['to'](_0xe012f8(0x16a),_0xd060a2=>_0xd060a2?_0xe012f8(0x19e)+_0xd060a2:'')],'data-author-id':this[_0xe012f8(0x192)][_0xe012f8(0x164)]['id'],'data-comment-id':this[_0xe012f8(0x192)]['id'],'role':_0xe012f8(0x16e)},'children':[this[_0xe012f8(0x193)],{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x18d),_0xe012f8(0x18a)]},'children':_0x9a133f}]}]};}[_0x39c402(0x1a2)](){const _0x355316=_0x39c402,_0x51b847=new _0x127c78(this[_0x355316(0x166)]);return _0x51b847[_0x355316(0x1ab)]=_0x5a9b2c(this[_0x355316(0x166)],_0x355316(0x174)),_0x51b847[_0x355316(0x1ca)]=_0x51c594[_0x355316(0x1d7)],_0x51b847[_0x355316(0x1bc)]=!0x0,_0x51b847[_0x355316(0x18c)]({'attributes':{'class':_0x355316(0x1b5)}}),_0x51b847[_0x355316(0x187)](_0x355316(0x1d9))['to'](this[_0x355316(0x192)],_0x355316(0x188),_0x8be572=>!_0x8be572),_0x51b847[_0x355316(0x187)](_0x355316(0x1a8))['to'](this[_0x355316(0x192)],_0x355316(0x1a4)),_0x51b847['on'](_0x355316(0x1a7),()=>this[_0x355316(0x19f)]()),_0x51b847;}[_0x39c402(0x185)](){const _0x5c0fb6=_0x39c402,_0x406abb=new _0x127c78(this[_0x5c0fb6(0x166)]);return _0x406abb[_0x5c0fb6(0x1ab)]=_0x5a9b2c(this[_0x5c0fb6(0x166)],_0x5c0fb6(0x1b6)),_0x406abb[_0x5c0fb6(0x1ca)]=_0x2a4e0e,_0x406abb[_0x5c0fb6(0x1bc)]=!0x0,_0x406abb[_0x5c0fb6(0x18c)]({'attributes':{'class':_0x5c0fb6(0x167)}}),_0x406abb[_0x5c0fb6(0x187)](_0x5c0fb6(0x1d9))['to'](this[_0x5c0fb6(0x192)],_0x5c0fb6(0x188),_0x30f2aa=>!_0x30f2aa),_0x406abb[_0x5c0fb6(0x187)](_0x5c0fb6(0x1a8))['to'](this[_0x5c0fb6(0x192)],_0x5c0fb6(0x1b3)),_0x406abb['on'](_0x5c0fb6(0x1a7),()=>{const _0x57f7cf=_0x5c0fb6;this[_0x57f7cf(0x1a9)](_0x5a9b2c(this[_0x57f7cf(0x166)],_0x57f7cf(0x1d1)),this[_0x57f7cf(0x196)])[_0x57f7cf(0x1be)](()=>{const _0x3f0604=_0x57f7cf;this[_0x3f0604(0x168)](_0x3f0604(0x1c2),this[_0x3f0604(0x192)]['id']);});}),_0x406abb;}[_0x39c402(0x178)](){const _0x5d5fbc=_0x39c402,_0x2bdc09=_0x476ccd(this[_0x5d5fbc(0x166)],_0x5d5fab),_0x114f6f=_0x2bdc09[_0x5d5fbc(0x1b7)][_0x5d5fbc(0x186)],_0x5cb4be=new _0x5af652(this[_0x5d5fbc(0x166)]),_0x143096=_0x2bdc09[_0x5d5fbc(0x182)];_0x389c05(_0x2bdc09,()=>this[_0x5d5fbc(0x1b1)][_0x5d5fbc(0x1d4)](_0x480713=>_0x480713[_0x5d5fbc(0x1a8)])),_0x2bdc09[_0x5d5fbc(0x18c)]({'attributes':{'class':[_0x143096['if'](_0x5d5fbc(0x1a8),_0x5d5fbc(0x195),_0x3ec96d=>!_0x3ec96d)]}});const _0x350d28=(_0x3913bb,_0x3b14fe=-0x1)=>{const _0x480cab=_0x5d5fbc,_0xe95799=new _0x4e68bb(this[_0x480cab(0x166)]);_0xe95799[_0x480cab(0x186)][_0x480cab(0x199)](_0x3913bb);const _0x3460c5=_0x3b14fe>-0x1?_0x3b14fe:_0x5cb4be[_0x480cab(0x1b1)][_0x480cab(0x1c5)];_0x5cb4be[_0x480cab(0x1b1)][_0x480cab(0x199)](_0xe95799,_0x3460c5);const _0x32fa03=Array[_0x480cab(0x18b)](this[_0x480cab(0x1b1)]);_0x2bdc09[_0x480cab(0x1ae)](_0x480cab(0x1d9),_0x480cab(0x1a8)),_0x2bdc09[_0x480cab(0x187)](_0x480cab(0x1d9))[_0x480cab(0x163)](_0x32fa03,_0x480cab(0x1d9),(..._0x1ec50b)=>_0x1ec50b[_0x480cab(0x1af)](_0x3c1749=>_0x3c1749)),_0x2bdc09[_0x480cab(0x187)](_0x480cab(0x1a8))[_0x480cab(0x163)](_0x32fa03,_0x480cab(0x1a8),(..._0x3e28df)=>_0x3e28df[_0x480cab(0x1af)](_0x7ba9ca=>_0x7ba9ca));};_0x2bdc09[_0x5d5fbc(0x169)]='sw',_0x2bdc09[_0x5d5fbc(0x191)][_0x5d5fbc(0x194)]({'label':_0x5a9b2c(this[_0x5d5fbc(0x166)],_0x5d5fbc(0x1cf)),'icon':_0x51c594[_0x5d5fbc(0x1b0)]}),_0x2bdc09[_0x5d5fbc(0x1d9)]=[...this[_0x5d5fbc(0x1b1)]][_0x5d5fbc(0x1af)](_0x1a768a=>_0x1a768a[_0x5d5fbc(0x1d9)]),_0x2bdc09[_0x5d5fbc(0x191)][_0x5d5fbc(0x1a8)]=[...this[_0x5d5fbc(0x1b1)]][_0x5d5fbc(0x1af)](_0x120711=>_0x120711[_0x5d5fbc(0x1a8)]);for(const _0x1a29f8 of this[_0x5d5fbc(0x1b1)])_0x350d28(_0x1a29f8);return _0x114f6f[_0x5d5fbc(0x199)](_0x5cb4be),_0x2bdc09[_0x5d5fbc(0x19a)](this[_0x5d5fbc(0x1b1)],_0x5d5fbc(0x199),(_0x10f4e8,_0x25d25f,_0x99ece3)=>{_0x350d28(_0x25d25f,_0x99ece3);}),_0x2bdc09[_0x5d5fbc(0x19a)](this[_0x5d5fbc(0x1b1)],_0x5d5fbc(0x190),(_0x16edb8,_0x42f504,_0x488c79)=>{const _0x1663d2=_0x5d5fbc;_0x5cb4be[_0x1663d2(0x1b1)][_0x1663d2(0x190)](_0x488c79);}),_0x2bdc09;}[_0x39c402(0x1bf)](_0x3081d5,_0x2c855f){const _0x575b66=_0x39c402,_0x1beb3d=_0x3081d5&&_0x3081d5[_0x575b66(0x196)];_0x1beb3d&&(this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x16f),()=>this[_0x575b66(0x16a)]=_0x2c855f),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x173),()=>this[_0x575b66(0x16a)]=_0x2c855f),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x175),()=>this[_0x575b66(0x16a)]=null),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x1c4),()=>this[_0x575b66(0x16a)]=null));}[_0x39c402(0x1ba)](){const _0x1fa6ba=_0x39c402,_0x4775e8=super[_0x1fa6ba(0x1ba)]();return _0x4775e8[_0x1fa6ba(0x187)](_0x1fa6ba(0x1c0))['to'](this),_0x4775e8;}[_0x39c402(0x19b)](){const _0x11b3ca=_0x39c402;super[_0x11b3ca(0x19b)](),this[_0x11b3ca(0x1bf)](this[_0x11b3ca(0x17d)],_0x11b3ca(0x1dc)),this[_0x11b3ca(0x1bf)](this[_0x11b3ca(0x1a6)],_0x11b3ca(0x190));}}
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f8779=_0x1c56;(function(_0x4fd010,_0x5bf914){var _0x52393f=_0x1c56,_0x2d91f9=_0x4fd010();while(!![]){try{var _0x4786cc=-parseInt(_0x52393f(0xd9))/0x1*(-parseInt(_0x52393f(0xe1))/0x2)+-parseInt(_0x52393f(0xd7))/0x3+-parseInt(_0x52393f(0xd6))/0x4+-parseInt(_0x52393f(0xdb))/0x5*(-parseInt(_0x52393f(0xdd))/0x6)+parseInt(_0x52393f(0xe2))/0x7*(parseInt(_0x52393f(0xd5))/0x8)+parseInt(_0x52393f(0xda))/0x9*(-parseInt(_0x52393f(0xd8))/0xa)+parseInt(_0x52393f(0xd4))/0xb*(parseInt(_0x52393f(0xe0))/0xc);if(_0x4786cc===_0x5bf914)break;else _0x2d91f9['push'](_0x2d91f9['shift']());}catch(_0x4814ef){_0x2d91f9['push'](_0x2d91f9['shift']());}}}(_0x43e5,0xaf487));import{Plugin as _0x24ba46}from'ckeditor5/src/core.js';import _0x4b77b9 from'./comments/commentsrepository.js';import _0x169ce5 from'./comments/commentsediting.js';import _0x3a81ce from'./comments/commentsui.js';import _0x223187 from'./commentsonly.js';function _0x43e5(){var _0x23232b=['1161192bzrCVK','1660608upJJLe','1954704CLSnfp','4676890FTwGVt','1iAXzQA','27vxNiLM','2867835tKowwJ','requires','6JXxGyG','pluginName','Comments','22442676ZatqgO','1197614LwBEPN','7CsUZHK','11kQVcoU'];_0x43e5=function(){return _0x23232b;};return _0x43e5();}import _0x27551a from'./annotations/widesidebar.js';import _0x439c4e from'./annotations/narrowsidebar.js';import _0x270016 from'./annotations/inlineannotations.js';import _0x27e2b7 from'./comments/commentsarchiveui.js';import _0x3f49ed from'./comments/commentsarchive.js';function _0x1c56(_0x2fc774,_0x19648f){var _0x43e550=_0x43e5();return _0x1c56=function(_0x1c562b,_0xeb64d9){_0x1c562b=_0x1c562b-0xd4;var _0x1992e7=_0x43e550[_0x1c562b];return _0x1992e7;},_0x1c56(_0x2fc774,_0x19648f);}export default class f extends _0x24ba46{static get[_0x2f8779(0xdc)](){return[_0x4b77b9,_0x169ce5,_0x3a81ce,_0x3f49ed,_0x27e2b7,_0x223187,_0x27551a,_0x439c4e,_0x270016];}static get[_0x2f8779(0xde)](){var _0x1f8f40=_0x2f8779;return _0x1f8f40(0xdf);}}
23
+ function _0x1f37(){var _0x4e576b=['7441FkoPIQ','4uFVrnE','requires','270222RJgadC','Comments','1712NXvPCE','3989478xkKKjZ','3292370EtIXcy','pluginName','3976101vOWJng','5uFJFVc','157272ikhpwn','665580CakUBt'];_0x1f37=function(){return _0x4e576b;};return _0x1f37();}function _0x10b7(_0x2411d3,_0x455bcb){var _0x1f3742=_0x1f37();return _0x10b7=function(_0x10b71c,_0x42c7a6){_0x10b71c=_0x10b71c-0x84;var _0x2a1961=_0x1f3742[_0x10b71c];return _0x2a1961;},_0x10b7(_0x2411d3,_0x455bcb);}var _0x550e89=_0x10b7;(function(_0x78ff5e,_0x1a4908){var _0x2b8a2a=_0x10b7,_0x5da386=_0x78ff5e();while(!![]){try{var _0x1c7b36=parseInt(_0x2b8a2a(0x8c))/0x1+parseInt(_0x2b8a2a(0x8a))/0x2*(parseInt(_0x2b8a2a(0x87))/0x3)+parseInt(_0x2b8a2a(0x88))/0x4+parseInt(_0x2b8a2a(0x86))/0x5*(-parseInt(_0x2b8a2a(0x8f))/0x6)+-parseInt(_0x2b8a2a(0x89))/0x7*(parseInt(_0x2b8a2a(0x8e))/0x8)+parseInt(_0x2b8a2a(0x85))/0x9+parseInt(_0x2b8a2a(0x90))/0xa;if(_0x1c7b36===_0x1a4908)break;else _0x5da386['push'](_0x5da386['shift']());}catch(_0x11ea5c){_0x5da386['push'](_0x5da386['shift']());}}}(_0x1f37,0x66900));import{Plugin as _0x26722b}from'ckeditor5/src/core.js';import _0x34cb75 from'./comments/commentsrepository.js';import _0x146f65 from'./comments/commentsediting.js';import _0x3bc454 from'./comments/commentsui.js';import _0x131782 from'./commentsonly.js';import _0x155045 from'./annotations/widesidebar.js';import _0x1e2864 from'./annotations/narrowsidebar.js';import _0x5513aa from'./annotations/inlineannotations.js';import _0x586832 from'./comments/commentsarchiveui.js';import _0x37b508 from'./comments/commentsarchive.js';export default class f extends _0x26722b{static get[_0x550e89(0x8b)](){return[_0x34cb75,_0x146f65,_0x3bc454,_0x37b508,_0x586832,_0x131782,_0x155045,_0x1e2864,_0x5513aa];}static get[_0x550e89(0x84)](){var _0x533272=_0x550e89;return _0x533272(0x8d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x120f95=_0xf75e;function _0x37a0(){const _0x1e8aa6=['DragDrop','config','change:isEnabled','cut','plugins','isEnabled','editor','commands','609805wvdBVk','editing','view','_disableCommentsOnlyMode','addCommentThread','listenTo','document','get','pluginName','has','10978wewJvq','208tPPrJH','affectsData','1107bEJBbJ','commentsOnlyMode','17169800KGtRYs','delete','set','_enableCommentsOnlyMode','54ubOZYf','highest','3251059LnJeLI','clipboardInput','2045968EdeNQx','clearForceDisabled','commentsOnly','CommentsOnly','stopListening','7873536uDXSRD','requires','stop','forceDisabled','1584HrzADl','afterInit'];_0x37a0=function(){return _0x1e8aa6;};return _0x37a0();}(function(_0x1e09ca,_0x1f9c2d){const _0x19505a=_0xf75e,_0x25bdd4=_0x1e09ca();while(!![]){try{const _0x301f3e=-parseInt(_0x19505a(0x20f))/0x1*(parseInt(_0x19505a(0x210))/0x2)+parseInt(_0x19505a(0x212))/0x3*(-parseInt(_0x19505a(0x1fb))/0x4)+parseInt(_0x19505a(0x205))/0x5+parseInt(_0x19505a(0x1f7))/0x6+parseInt(_0x19505a(0x21a))/0x7+-parseInt(_0x19505a(0x1f2))/0x8*(parseInt(_0x19505a(0x218))/0x9)+parseInt(_0x19505a(0x214))/0xa;if(_0x301f3e===_0x1f9c2d)break;else _0x25bdd4['push'](_0x25bdd4['shift']());}catch(_0x539f80){_0x25bdd4['push'](_0x25bdd4['shift']());}}}(_0x37a0,0xc1aea));import{Plugin as _0x1335f6}from'ckeditor5/src/core.js';import _0x47ba8f from'./comments/commentsediting.js';function _0xf75e(_0x16cf78,_0x1aed15){const _0x37a095=_0x37a0();return _0xf75e=function(_0xf75eaf,_0xcdef16){_0xf75eaf=_0xf75eaf-0x1f2;let _0x538e1e=_0x37a095[_0xf75eaf];return _0x538e1e;},_0xf75e(_0x16cf78,_0x1aed15);}export default class e extends _0x1335f6{static get[_0x120f95(0x20d)](){const _0x26aeda=_0x120f95;return _0x26aeda(0x1f5);}static get[_0x120f95(0x1f8)](){return[_0x47ba8f];}constructor(_0x3b073d){const _0x3a06bf=_0x120f95;super(_0x3b073d),this[_0x3a06bf(0x216)](_0x3a06bf(0x202),!0x1),this['on'](_0x3a06bf(0x1ff),(_0x43d5df,_0x453866,_0x2c7432)=>{const _0x4d03cf=_0x3a06bf;_0x2c7432?this[_0x4d03cf(0x217)]():this[_0x4d03cf(0x208)]();});}[_0x120f95(0x1fc)](){const _0x340a07=_0x120f95;!this[_0x340a07(0x202)]&&this[_0x340a07(0x203)][_0x340a07(0x1fe)][_0x340a07(0x20c)](_0x340a07(0x1f4))&&(this[_0x340a07(0x202)]=!0x0);}[_0x120f95(0x217)](){const _0x21e8b0=_0x120f95;for(const [_0x28e1e5,_0x10b803]of this[_0x21e8b0(0x203)][_0x21e8b0(0x204)])_0x10b803[_0x21e8b0(0x211)]&&_0x21e8b0(0x209)!==_0x28e1e5&&_0x10b803[_0x21e8b0(0x1fa)](_0x21e8b0(0x213));this[_0x21e8b0(0x203)][_0x21e8b0(0x201)][_0x21e8b0(0x20e)](_0x21e8b0(0x1fd))&&this[_0x21e8b0(0x203)][_0x21e8b0(0x201)][_0x21e8b0(0x20c)](_0x21e8b0(0x1fd))[_0x21e8b0(0x1fa)](_0x21e8b0(0x213));const _0x3f7045=this[_0x21e8b0(0x203)][_0x21e8b0(0x206)][_0x21e8b0(0x207)][_0x21e8b0(0x20b)];this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x200),_0x43f63a=>_0x43f63a[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)}),this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x21b),_0x13838c=>_0x13838c[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)}),this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x215),_0x1872df=>_0x1872df[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)});}[_0x120f95(0x208)](){const _0x368740=_0x120f95;for(const [_0x12d06b,_0x4f5c15]of this[_0x368740(0x203)][_0x368740(0x204)])_0x4f5c15[_0x368740(0x211)]&&_0x368740(0x209)!==_0x12d06b&&_0x4f5c15[_0x368740(0x1f3)](_0x368740(0x213));this[_0x368740(0x1f6)](this[_0x368740(0x203)][_0x368740(0x206)][_0x368740(0x207)][_0x368740(0x20b)]);}}
23
+ const _0x433a4f=_0x32e5;function _0x32e5(_0x28c24b,_0x5e666c){const _0x377526=_0x3775();return _0x32e5=function(_0x32e5b1,_0x4c81cd){_0x32e5b1=_0x32e5b1-0x1bc;let _0x43908f=_0x377526[_0x32e5b1];return _0x43908f;},_0x32e5(_0x28c24b,_0x5e666c);}(function(_0x93e62c,_0x108267){const _0x575df5=_0x32e5,_0x3177e1=_0x93e62c();while(!![]){try{const _0x1ba1d6=parseInt(_0x575df5(0x1d7))/0x1*(parseInt(_0x575df5(0x1e5))/0x2)+parseInt(_0x575df5(0x1cb))/0x3+parseInt(_0x575df5(0x1d2))/0x4*(-parseInt(_0x575df5(0x1db))/0x5)+parseInt(_0x575df5(0x1bc))/0x6+-parseInt(_0x575df5(0x1bf))/0x7+-parseInt(_0x575df5(0x1c7))/0x8+parseInt(_0x575df5(0x1d6))/0x9*(parseInt(_0x575df5(0x1ca))/0xa);if(_0x1ba1d6===_0x108267)break;else _0x3177e1['push'](_0x3177e1['shift']());}catch(_0x53d8ce){_0x3177e1['push'](_0x3177e1['shift']());}}}(_0x3775,0xce8b9));import{Plugin as _0x5d7a31}from'ckeditor5/src/core.js';function _0x3775(){const _0xccb9e5=['11263oWnKZM','DragDrop','editing','document','345295HaXCUJ','change:isEnabled','get','_disableCommentsOnlyMode','highest','clearForceDisabled','addCommentThread','isEnabled','delete','affectsData','250lqmUkN','3251196OuRhpR','afterInit','config','5086417HYvAZm','forceDisabled','set','stopListening','view','commands','has','_enableCommentsOnlyMode','1905640mWtvAb','requires','clipboardInput','230120twaIgR','1655565tnwTux','editor','cut','commentsOnlyMode','commentsOnly','pluginName','stop','68zZeXJY','CommentsOnly','plugins','listenTo','189cBZzgl'];_0x3775=function(){return _0xccb9e5;};return _0x3775();}import _0x2d41fe from'./comments/commentsediting.js';export default class e extends _0x5d7a31{static get[_0x433a4f(0x1d0)](){const _0x58a188=_0x433a4f;return _0x58a188(0x1d3);}static get[_0x433a4f(0x1c8)](){return[_0x2d41fe];}constructor(_0x1b8c22){const _0xc49f63=_0x433a4f;super(_0x1b8c22),this[_0xc49f63(0x1c1)](_0xc49f63(0x1e2),!0x1),this['on'](_0xc49f63(0x1dc),(_0x18d065,_0x45d873,_0x445567)=>{const _0x36e47d=_0xc49f63;_0x445567?this[_0x36e47d(0x1c6)]():this[_0x36e47d(0x1de)]();});}[_0x433a4f(0x1bd)](){const _0xd292a=_0x433a4f;!this[_0xd292a(0x1e2)]&&this[_0xd292a(0x1cc)][_0xd292a(0x1be)][_0xd292a(0x1dd)](_0xd292a(0x1cf))&&(this[_0xd292a(0x1e2)]=!0x0);}[_0x433a4f(0x1c6)](){const _0x47f5fd=_0x433a4f;for(const [_0x127779,_0x3b3320]of this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1c4)])_0x3b3320[_0x47f5fd(0x1e4)]&&_0x47f5fd(0x1e1)!==_0x127779&&_0x3b3320[_0x47f5fd(0x1c0)](_0x47f5fd(0x1ce));this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d4)][_0x47f5fd(0x1c5)](_0x47f5fd(0x1d8))&&this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d4)][_0x47f5fd(0x1dd)](_0x47f5fd(0x1d8))[_0x47f5fd(0x1c0)](_0x47f5fd(0x1ce));const _0x3dce67=this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d9)][_0x47f5fd(0x1c3)][_0x47f5fd(0x1da)];this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1cd),_0x280daf=>_0x280daf[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)}),this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1c9),_0xb6c8ae=>_0xb6c8ae[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)}),this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1e3),_0x5bdee8=>_0x5bdee8[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)});}[_0x433a4f(0x1de)](){const _0x4da491=_0x433a4f;for(const [_0x1ab3d4,_0x39078c]of this[_0x4da491(0x1cc)][_0x4da491(0x1c4)])_0x39078c[_0x4da491(0x1e4)]&&_0x4da491(0x1e1)!==_0x1ab3d4&&_0x39078c[_0x4da491(0x1e0)](_0x4da491(0x1ce));this[_0x4da491(0x1c2)](this[_0x4da491(0x1cc)][_0x4da491(0x1d9)][_0x4da491(0x1c3)][_0x4da491(0x1da)]);}}
package/src/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export { default as BaseCommentView } from './comments/ui/view/basecommentview.j
18
18
  export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
19
19
  export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
20
20
  export { default as CommentView } from './comments/ui/view/commentview.js';
21
+ export { default as CommentThreadView } from './comments/ui/view/commentthreadview.js';
21
22
  export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
22
23
  export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig } from './config.js';
23
24
  export type { default as CommentsEditing } from './comments/commentsediting.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30455d,_0x3faa46){var _0x41a2ca=_0x15da,_0x480aa2=_0x30455d();while(!![]){try{var _0x5e6bc2=parseInt(_0x41a2ca(0x18b))/0x1+-parseInt(_0x41a2ca(0x182))/0x2*(-parseInt(_0x41a2ca(0x186))/0x3)+parseInt(_0x41a2ca(0x185))/0x4*(parseInt(_0x41a2ca(0x184))/0x5)+-parseInt(_0x41a2ca(0x189))/0x6*(parseInt(_0x41a2ca(0x187))/0x7)+parseInt(_0x41a2ca(0x188))/0x8+-parseInt(_0x41a2ca(0x181))/0x9*(parseInt(_0x41a2ca(0x183))/0xa)+parseInt(_0x41a2ca(0x18a))/0xb*(-parseInt(_0x41a2ca(0x18c))/0xc);if(_0x5e6bc2===_0x3faa46)break;else _0x480aa2['push'](_0x480aa2['shift']());}catch(_0xb6fbab){_0x480aa2['push'](_0x480aa2['shift']());}}}(_0x12ee,0xd77f4));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x15da(_0x10d567,_0x2f25e8){var _0x12ee1d=_0x12ee();return _0x15da=function(_0x15dae5,_0x3573e3){_0x15dae5=_0x15dae5-0x181;var _0x472f36=_0x12ee1d[_0x15dae5];return _0x472f36;},_0x15da(_0x10d567,_0x2f25e8);}export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';function _0x12ee(){var _0x457c3d=['1540595qprpjP','8jFiWDf','16347Yqngdn','1435LsMCVv','3670688azJKVM','8394coViQQ','11zvdOHq','1040280ZkaXwI','5231796MRIusG','12190455aPCAST','310NwFncP','10LBpish'];_0x12ee=function(){return _0x457c3d;};return _0x12ee();}export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
23
+ (function(_0x1437cb,_0x4d672d){var _0x4d5945=_0x264f,_0x4c4479=_0x1437cb();while(!![]){try{var _0x45d6a9=-parseInt(_0x4d5945(0x10d))/0x1*(parseInt(_0x4d5945(0x10e))/0x2)+-parseInt(_0x4d5945(0x114))/0x3*(-parseInt(_0x4d5945(0x112))/0x4)+parseInt(_0x4d5945(0x10b))/0x5*(-parseInt(_0x4d5945(0x110))/0x6)+parseInt(_0x4d5945(0x113))/0x7+parseInt(_0x4d5945(0x10a))/0x8+parseInt(_0x4d5945(0x115))/0x9*(-parseInt(_0x4d5945(0x10f))/0xa)+-parseInt(_0x4d5945(0x10c))/0xb*(parseInt(_0x4d5945(0x111))/0xc);if(_0x45d6a9===_0x4d672d)break;else _0x4c4479['push'](_0x4c4479['shift']());}catch(_0x228119){_0x4c4479['push'](_0x4c4479['shift']());}}}(_0x406f,0xe851d));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';function _0x406f(){var _0x492a87=['165RrsoxP','751615gvvyTs','2PyhvIF','10510bNQsMp','11364aibpGX','1537932NMoOtf','229576szEHBa','10587500UCBRVp','75HEIQPL','1422ykbRbX','9497064VixIqM','905UGjewE'];_0x406f=function(){return _0x492a87;};return _0x406f();}export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';function _0x264f(_0x1b2ea9,_0x1d4074){var _0x406fe6=_0x406f();return _0x264f=function(_0x264fa3,_0x35f070){_0x264fa3=_0x264fa3-0x10a;var _0x3fba7c=_0x406fe6[_0x264fa3];return _0x3fba7c;},_0x264f(_0x1b2ea9,_0x1d4074);}export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
@@ -6,4 +6,4 @@
6
6
  * @module comments/utils/common-translations
7
7
  */
8
8
  import type { Locale } from 'ckeditor5/src/utils.js';
9
- export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
9
+ export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string | number> | number): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x38219e,_0x4b2b01,_0x708273){const t=_0x38219e['t'];switch(_0x4b2b01){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x708273);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x708273);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x708273);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x708273);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
23
+ export function getTranslation(_0x24bd7e,_0x2088e2,_0x568e33){const t=_0x24bd7e['t'];switch(_0x2088e2){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x568e33);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x568e33);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x568e33);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x568e33);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x568e33);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x568e33);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x568e33);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x568e33);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x347f(){const _0x11a03f=['attributes','1RIFukA','2188YfCcCH','905484FhBKSr','1045944XhQoBY','1671xnvEGj','class','238010tyJFmC','disconnect','10jqAPiv','childList','characterData','21yHneAC','4240698DBKLWV','type','observe','1633336GEXcEp','318306biejJf','attributeName','cancel'];_0x347f=function(){return _0x11a03f;};return _0x347f();}(function(_0x54e07b,_0x389056){const _0x163717=_0x3833,_0x3ea184=_0x54e07b();while(!![]){try{const _0x60f971=-parseInt(_0x163717(0x1e7))/0x1*(-parseInt(_0x163717(0x1e3))/0x2)+-parseInt(_0x163717(0x1eb))/0x3*(-parseInt(_0x163717(0x1e8))/0x4)+parseInt(_0x163717(0x1ed))/0x5+parseInt(_0x163717(0x1e9))/0x6*(parseInt(_0x163717(0x1f2))/0x7)+-parseInt(_0x163717(0x1e2))/0x8+-parseInt(_0x163717(0x1ea))/0x9+-parseInt(_0x163717(0x1ef))/0xa*(parseInt(_0x163717(0x1df))/0xb);if(_0x60f971===_0x389056)break;else _0x3ea184['push'](_0x3ea184['shift']());}catch(_0x31be64){_0x3ea184['push'](_0x3ea184['shift']());}}}(_0x347f,0x3f0e3));function _0x3833(_0x51c2c2,_0x2a6693){const _0x347fe2=_0x347f();return _0x3833=function(_0x3833ed,_0x307bb4){_0x3833ed=_0x3833ed-0x1df;let _0x117bde=_0x347fe2[_0x3833ed];return _0x117bde;},_0x3833(_0x51c2c2,_0x2a6693);}import{throttle as _0x4ac717}from'lodash-es';export default function Dt(_0x5807a3){const _0x11d387=_0x4ac717(_0x5807a3,0x1e),_0xd56c77=new MutationObserver(_0x5da369=>{const _0x32144f=_0x3833;for(const _0x2b0809 of _0x5da369)(_0x32144f(0x1e6)==_0x2b0809[_0x32144f(0x1e0)]&&_0x32144f(0x1ec)==_0x2b0809[_0x32144f(0x1e4)]||_0x32144f(0x1f0)==_0x2b0809[_0x32144f(0x1e0)]||_0x32144f(0x1f1)==_0x2b0809[_0x32144f(0x1e0)])&&_0x11d387();});return{'attach'(_0x5a081d){const _0x56b0e0=_0x3833;_0xd56c77[_0x56b0e0(0x1e1)](_0x5a081d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5cdf9e=_0x3833;_0xd56c77[_0x5cdf9e(0x1ee)](),_0x11d387[_0x5cdf9e(0x1e5)]();}};}
23
+ (function(_0x4f0aa4,_0x1f3b1b){const _0x2077cd=_0x55b1,_0x3e5c4f=_0x4f0aa4();while(!![]){try{const _0x479eb9=-parseInt(_0x2077cd(0x92))/0x1+parseInt(_0x2077cd(0x96))/0x2+parseInt(_0x2077cd(0x99))/0x3*(parseInt(_0x2077cd(0x85))/0x4)+parseInt(_0x2077cd(0x8a))/0x5*(-parseInt(_0x2077cd(0x91))/0x6)+parseInt(_0x2077cd(0x87))/0x7*(-parseInt(_0x2077cd(0x98))/0x8)+-parseInt(_0x2077cd(0x94))/0x9*(-parseInt(_0x2077cd(0x8c))/0xa)+-parseInt(_0x2077cd(0x97))/0xb*(-parseInt(_0x2077cd(0x93))/0xc);if(_0x479eb9===_0x1f3b1b)break;else _0x3e5c4f['push'](_0x3e5c4f['shift']());}catch(_0x51097f){_0x3e5c4f['push'](_0x3e5c4f['shift']());}}}(_0x18d8,0xa61eb));function _0x55b1(_0x36c5cc,_0x51c18d){const _0x18d889=_0x18d8();return _0x55b1=function(_0x55b1a3,_0x37aaef){_0x55b1a3=_0x55b1a3-0x85;let _0x40ca47=_0x18d889[_0x55b1a3];return _0x40ca47;},_0x55b1(_0x36c5cc,_0x51c18d);}import{throttle as _0x19f211}from'lodash-es';function _0x18d8(){const _0x2a73cb=['2273912WbiQKY','1606PiVRvZ','7360904TnBSdH','250353pjDfdW','4dluHWD','class','7COMFdW','characterData','attributes','2016505npcBtx','observe','20QxFJvA','type','cancel','disconnect','attributeName','6GDBHfm','340582tFLVCd','71328hjesRP','1152864SkiKyd','childList'];_0x18d8=function(){return _0x2a73cb;};return _0x18d8();}export default function Lt(_0x182709){const _0x10d629=_0x19f211(_0x182709,0x1e),_0x15a1d9=new MutationObserver(_0x474a6d=>{const _0x511b42=_0x55b1;for(const _0x1a2bb5 of _0x474a6d)(_0x511b42(0x89)==_0x1a2bb5[_0x511b42(0x8d)]&&_0x511b42(0x86)==_0x1a2bb5[_0x511b42(0x90)]||_0x511b42(0x95)==_0x1a2bb5[_0x511b42(0x8d)]||_0x511b42(0x88)==_0x1a2bb5[_0x511b42(0x8d)])&&_0x10d629();});return{'attach'(_0x54807f){const _0x216d83=_0x55b1;_0x15a1d9[_0x216d83(0x8b)](_0x54807f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2bfeeb=_0x55b1;_0x15a1d9[_0x2bfeeb(0x8f)](),_0x10d629[_0x2bfeeb(0x8e)]();}};}
package/theme/comment.css CHANGED
@@ -7,6 +7,8 @@
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
11
+
10
12
  :root {
11
13
  --ck-color-comment-background: hsl(210, 52%, 97%);
12
14
  --ck-color-comment-separator: hsl(210, 52%, 87%);
@@ -32,6 +34,10 @@
32
34
  border-top-right-radius: var(--ck-border-radius);
33
35
  border-top-left-radius: var(--ck-border-radius);
34
36
  }
37
+
38
+ &:focus {
39
+ background: var(--ck-color-button-default-hover-background);
40
+ }
35
41
  }
36
42
 
37
43
  .ck .ck-comment {
@@ -7,6 +7,10 @@
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
11
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
12
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
13
+
10
14
  :root {
11
15
  --ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
12
16
  --ck-color-comment-count: hsl(210, 52%, 57%);
@@ -19,17 +23,48 @@
19
23
  }
20
24
 
21
25
  .ck .ck-thread {
26
+ @mixin ck-rounded-corners;
27
+
22
28
  width: 100%;
23
29
  color: var(--ck-color-base-text);
24
30
  outline: 0;
25
31
  background-color: var(--ck-color-base-background);
26
32
  overflow: hidden;
27
- transition: all 300ms ease;
28
- border-radius: var(--ck-border-radius);
33
+
34
+ /*
35
+ * Beware: Using "transition: all" breaks focus management (unable to obtain focus on show)
36
+ * because the view is displayed in a dialog that gets toggled via "visibility" property.
37
+ */
38
+ transition-property: color, background-color, width, outline;
39
+ transition-duration: 300ms;
40
+ transition-timing-function: ease;
29
41
 
30
42
  @media (prefers-reduced-motion: reduce) {
31
43
  transition: none;
32
44
  }
45
+
46
+ &:focus {
47
+ /*
48
+ * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
49
+ * in non-focused state and create an odd space inside the surrounding annotation container.
50
+ */
51
+ outline: var(--ck-focus-ring);
52
+
53
+ /*
54
+ * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
55
+ * And the shadow size has to be custom because outline is rendered on top of the shadow.
56
+ */
57
+ box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
58
+ }
59
+ }
60
+
61
+ /*
62
+ * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
63
+ * otherwise get them cropped..
64
+ */
65
+ .ck-balloon-panel:has( .ck-thread:focus ) {
66
+ @mixin ck-focus-ring;
67
+ @mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
33
68
  }
34
69
 
35
70
  .ck .ck-thread__header {
@@ -75,6 +110,12 @@
75
110
  & .ck-context__value {
76
111
  overflow: hidden;
77
112
  text-overflow: ellipsis;
113
+ border: 1px solid transparent;
114
+
115
+ &:focus {
116
+ @mixin ck-focus-ring;
117
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
118
+ }
78
119
  }
79
120
 
80
121
  &.overlay {